@tet/tet-components 1.4.135-production → 1.4.135-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 (442) hide show
  1. package/dist/cjs/{http-codes-D0eSyfH-.js → http-codes-C-IXSZGG.js} +1 -1
  2. package/dist/cjs/{index-DaKfTj-9.js → index-Bo0hF6YQ.js} +1 -1
  3. package/dist/cjs/{index-CbS7RiVd.js → index-DKg1QTRW.js} +9 -1
  4. package/dist/cjs/loader.cjs.js +2 -2
  5. package/dist/cjs/{product-comparison-ed-KZo7G.js → product-comparison-f-u42TDe.js} +1 -1
  6. package/dist/cjs/{string-CL-wkThZ.js → string-D0kCSyUd.js} +4 -0
  7. package/dist/cjs/tet-accordion.cjs.entry.js +1 -1
  8. package/dist/cjs/tet-address-offers-filters-products_2.cjs.entry.js +4 -4
  9. package/dist/cjs/tet-address-offers-view.cjs.entry.js +4 -4
  10. package/dist/cjs/tet-address-offers_5.cjs.entry.js +6 -6
  11. package/dist/cjs/tet-assembler.cjs.entry.js +4 -4
  12. package/dist/cjs/tet-autocomplete-dropdown.cjs.entry.js +2 -2
  13. package/dist/cjs/tet-autocomplete_2.cjs.entry.js +3 -3
  14. package/dist/cjs/tet-b2b-check-out-form_5.cjs.entry.js +4 -4
  15. package/dist/cjs/tet-b2b-configurator.cjs.entry.js +5 -5
  16. package/dist/cjs/tet-banner-nav.cjs.entry.js +4 -4
  17. package/dist/cjs/tet-bar-graph.cjs.entry.js +1 -1
  18. package/dist/cjs/tet-border-radius.cjs.entry.js +1 -1
  19. package/dist/cjs/tet-business-card.cjs.entry.js +1 -1
  20. package/dist/cjs/tet-business-compare-card.cjs.entry.js +1 -1
  21. package/dist/cjs/tet-business-round-stepper.cjs.entry.js +1 -1
  22. package/dist/cjs/tet-button.cjs.entry.js +1 -1
  23. package/dist/cjs/tet-card-list.cjs.entry.js +1 -1
  24. package/dist/cjs/tet-carousel.cjs.entry.js +4 -4
  25. package/dist/cjs/tet-checkbox_3.cjs.entry.js +1 -1
  26. package/dist/cjs/tet-cloud-application-form-dialog.cjs.entry.js +4 -4
  27. package/dist/cjs/tet-cloud-configurator.cjs.entry.js +4 -4
  28. package/dist/cjs/tet-colors.cjs.entry.js +1 -1
  29. package/dist/cjs/tet-compare-card-v2.cjs.entry.js +3 -3
  30. package/dist/cjs/tet-compare-card-v3.cjs.entry.js +3 -3
  31. package/dist/cjs/tet-compare-cards-tab.cjs.entry.js +3 -3
  32. package/dist/cjs/tet-compare-cards_2.cjs.entry.js +3 -3
  33. package/dist/cjs/tet-components.cjs.js +2 -2
  34. package/dist/cjs/tet-container_2.cjs.entry.js +2 -2
  35. package/dist/cjs/tet-countdown.cjs.entry.js +1 -1
  36. package/dist/cjs/tet-counter.cjs.entry.js +1 -1
  37. package/dist/cjs/tet-datepicker-header_4.cjs.entry.js +387 -0
  38. package/dist/cjs/tet-datepicker.cjs.entry.js +132 -0
  39. package/dist/cjs/tet-dialog.cjs.entry.js +4 -4
  40. package/dist/cjs/tet-display.cjs.entry.js +1 -1
  41. package/dist/cjs/tet-divider.cjs.entry.js +1 -1
  42. package/dist/cjs/tet-dynamic-card.cjs.entry.js +1 -1
  43. package/dist/cjs/tet-expandable-input.cjs.entry.js +1 -1
  44. package/dist/cjs/tet-expansion-panel.cjs.entry.js +1 -1
  45. package/dist/cjs/tet-feedback-form.cjs.entry.js +4 -4
  46. package/dist/cjs/tet-filter.cjs.entry.js +1 -1
  47. package/dist/cjs/tet-floating-block.cjs.entry.js +1 -1
  48. package/dist/cjs/tet-font-weight.cjs.entry.js +1 -1
  49. package/dist/cjs/tet-fonts.cjs.entry.js +1 -1
  50. package/dist/cjs/tet-grid.cjs.entry.js +1 -1
  51. package/dist/cjs/tet-icon.cjs.entry.js +2 -2
  52. package/dist/cjs/tet-inline-message.cjs.entry.js +1 -1
  53. package/dist/cjs/tet-input.cjs.entry.js +4 -4
  54. package/dist/cjs/tet-layout.cjs.entry.js +1 -1
  55. package/dist/cjs/tet-link-card-list.cjs.entry.js +1 -1
  56. package/dist/cjs/tet-link.cjs.entry.js +1 -1
  57. package/dist/cjs/tet-menu-mobile.cjs.entry.js +1 -1
  58. package/dist/cjs/tet-menu.cjs.entry.js +1 -1
  59. package/dist/cjs/tet-mini-compare-card.cjs.entry.js +1 -1
  60. package/dist/cjs/tet-multi-step-dialog.cjs.entry.js +4 -4
  61. package/dist/cjs/tet-navigation-mobile.cjs.entry.js +4 -4
  62. package/dist/cjs/tet-news-card-list.cjs.entry.js +1 -1
  63. package/dist/cjs/tet-notification.cjs.entry.js +1 -1
  64. package/dist/cjs/tet-number-input.cjs.entry.js +1 -1
  65. package/dist/cjs/tet-placeholder.cjs.entry.js +1 -1
  66. package/dist/cjs/tet-position.cjs.entry.js +1 -1
  67. package/dist/cjs/tet-price-view.cjs.entry.js +1 -1
  68. package/dist/cjs/tet-radio-blocks.cjs.entry.js +1 -1
  69. package/dist/cjs/tet-radio_2.cjs.entry.js +1 -1
  70. package/dist/cjs/tet-range-slider.cjs.entry.js +1 -1
  71. package/dist/cjs/tet-round-stepper.cjs.entry.js +1 -1
  72. package/dist/cjs/tet-snicker-card-group.cjs.entry.js +1 -1
  73. package/dist/cjs/tet-snicker-card.cjs.entry.js +4 -4
  74. package/dist/cjs/tet-spacing.cjs.entry.js +1 -1
  75. package/dist/cjs/tet-spinner.cjs.entry.js +1 -1
  76. package/dist/cjs/tet-stepper-input.cjs.entry.js +4 -4
  77. package/dist/cjs/tet-stepper-v3.cjs.entry.js +1 -1
  78. package/dist/cjs/tet-sticky-offer.cjs.entry.js +1 -1
  79. package/dist/cjs/tet-support-search.cjs.entry.js +2 -2
  80. package/dist/cjs/tet-switch.cjs.entry.js +1 -1
  81. package/dist/cjs/tet-table.cjs.entry.js +1 -1
  82. package/dist/cjs/tet-tag_2.cjs.entry.js +4 -4
  83. package/dist/cjs/tet-text-list.cjs.entry.js +1 -1
  84. package/dist/cjs/tet-text.cjs.entry.js +1 -1
  85. package/dist/cjs/tet-textarea.cjs.entry.js +1 -1
  86. package/dist/cjs/tet-thank-you-view-v3.cjs.entry.js +4 -4
  87. package/dist/cjs/{translations-CpNdr9Fz.js → translations-f2lO6WcB.js} +2 -2
  88. package/dist/cjs/{typecheck-Do6mN8Vg.js → typecheck--Bs-bZ_K.js} +2 -0
  89. package/dist/collection/components/simple/inputs/tet-datepicker/partials/tet-datepicker-header/tet-datepicker-header.css +393 -0
  90. package/dist/collection/components/simple/inputs/tet-datepicker/partials/tet-datepicker-month-view/tet-datepicker-month-view.css +455 -0
  91. package/dist/collection/components/simple/inputs/tet-datepicker/partials/tet-datepicker-multi-year-view/tet-datepicker-multi-year-view.css +382 -0
  92. package/dist/collection/components/simple/inputs/tet-datepicker/partials/tet-datepicker-year-view/tet-datepicker-year-view.css +382 -0
  93. package/dist/collection/components/simple/inputs/tet-datepicker/tet-datepicker.css +380 -0
  94. package/dist/components/index.js +1 -1
  95. package/dist/components/{p-DmJDpBw3.js → p-0m6VLm4E.js} +1 -1
  96. package/dist/components/p-1M2reaCU.js +1 -0
  97. package/dist/components/{p-SWy-pabH.js → p-4OtGLxTM.js} +1 -1
  98. package/dist/components/{p-Uhi1kZOJ.js → p-5bU9w0Qe.js} +1 -1
  99. package/dist/components/{p-DNZTxThN.js → p-85IQWbFs.js} +1 -1
  100. package/dist/components/p-9ItXFJZ6.js +1 -0
  101. package/dist/components/{p-BqI9GOe9.js → p-B-nwyAfL.js} +1 -1
  102. package/dist/components/{p-DRl2lSRQ.js → p-B0yDw7Me.js} +1 -1
  103. package/dist/components/{p-DbFXQxtx.js → p-B4fOuNpD.js} +1 -1
  104. package/dist/components/{p-Q3HIcffg.js → p-B70tbyf1.js} +1 -1
  105. package/dist/components/{p-khIxWxRF.js → p-B8ElCfnM.js} +1 -1
  106. package/dist/components/{p-D-0UTSXy.js → p-BBMx2Nbt.js} +1 -1
  107. package/dist/components/{p-C3VQ2jnV.js → p-BW48_rii.js} +1 -1
  108. package/dist/components/{p-DKBs405f.js → p-BWmFtcLN.js} +1 -1
  109. package/dist/components/{p-l87lCPu1.js → p-BXZCgW0z.js} +1 -1
  110. package/dist/components/{p-QPymGNaM.js → p-BZ0uDmYr.js} +1 -1
  111. package/dist/components/{p-HAvODPLk.js → p-BZ9cVPPC.js} +1 -1
  112. package/dist/components/{p-CdOMJGTE.js → p-B_RQCK28.js} +1 -1
  113. package/dist/components/{p-6XFF19Nr.js → p-BwuKRxa0.js} +1 -1
  114. package/dist/components/{p-EqgDyiQ3.js → p-C6vabTqq.js} +1 -1
  115. package/dist/components/{p-Cdo2SJTt.js → p-C9c0OPW9.js} +1 -1
  116. package/dist/components/{p-Fvwr9YOw.js → p-CBm8zIRJ.js} +1 -1
  117. package/dist/components/{p-DNx5RCMF.js → p-CDTZ2TSu.js} +1 -1
  118. package/dist/components/{p-Dzsvzn-Z.js → p-CMbAQKoe.js} +1 -1
  119. package/dist/components/p-CQfy7CVi.js +1 -0
  120. package/dist/components/{p-CWllkExs.js → p-CZWykfnF.js} +1 -1
  121. package/dist/components/{p-BvtO7BDA.js → p-CbJNzsI-.js} +1 -1
  122. package/dist/components/p-Cef0hbKH.js +1 -0
  123. package/dist/components/{p-DCziOcQZ.js → p-CfIyvV8F.js} +1 -1
  124. package/dist/components/p-CoQ-OVcl.js +1 -0
  125. package/dist/components/{p-Dafhs1bg.js → p-CwXqN-k6.js} +1 -1
  126. package/dist/components/p-D0GJDW-O.js +1 -0
  127. package/dist/components/{p-BMwNC33n.js → p-D0VEBguO.js} +1 -1
  128. package/dist/components/{p-DK2JQPO5.js → p-D4mimikO.js} +1 -1
  129. package/dist/components/{p-VduP2Zh9.js → p-D56nNU-Z.js} +1 -1
  130. package/dist/components/{p-CwITlyZ1.js → p-D5plublb.js} +1 -1
  131. package/dist/components/{p-B_LwYeuy.js → p-DHOPNeBR.js} +1 -1
  132. package/dist/components/{p-BXYUK59l.js → p-DJQWSjRR.js} +1 -1
  133. package/dist/components/p-DLBQ7YzN.js +1 -0
  134. package/dist/components/{p-EJdSgDk0.js → p-DQ-DPsSd.js} +1 -1
  135. package/dist/components/{p-CxWSFzrp.js → p-DRJ0zjoF.js} +1 -1
  136. package/dist/{tet-components/p-DHhdzkdo.js → components/p-DePtMqzY.js} +1 -1
  137. package/dist/components/{p-Ck3hZxtx.js → p-Dp6LvdrN.js} +1 -1
  138. package/dist/components/{p-BeRz75BI.js → p-H56BMng-.js} +1 -1
  139. package/dist/components/{p-DrcVsjAJ.js → p-KBNSpMwX.js} +1 -1
  140. package/dist/components/{p-W3PIrJRJ.js → p-KLAzfxVo.js} +1 -1
  141. package/dist/components/p-LkN4wIlk.js +1 -0
  142. package/dist/components/{p-Bol8C7pI.js → p-gpfz6eY4.js} +1 -1
  143. package/dist/components/{p-BfSHvjkT.js → p-gxqUI4FR.js} +1 -1
  144. package/dist/components/p-j3gczqFU.js +1 -0
  145. package/dist/components/p-nb3MHK7A.js +1 -0
  146. package/dist/components/{p-DXpqN8W8.js → p-tSLI82NY.js} +1 -1
  147. package/dist/components/{p-Bxxbf-Oz.js → p-xe9nUZtg.js} +1 -1
  148. package/dist/components/{p-i2wF1G8t.js → p-zkmKLYHg.js} +1 -1
  149. package/dist/components/tet-accordion.js +1 -1
  150. package/dist/components/tet-address-offers-filters-products.js +1 -1
  151. package/dist/components/tet-address-offers-filters.js +1 -1
  152. package/dist/components/tet-address-offers-view.js +1 -1
  153. package/dist/components/tet-address-offers.js +1 -1
  154. package/dist/components/tet-address-search.js +1 -1
  155. package/dist/components/tet-assembler.js +1 -1
  156. package/dist/components/tet-asset-availability-addresses.js +1 -1
  157. package/dist/components/tet-autocomplete-dropdown.js +1 -1
  158. package/dist/components/tet-autocomplete.js +1 -1
  159. package/dist/components/tet-availability-contact-form.js +1 -1
  160. package/dist/components/tet-b2b-check-out-form.js +1 -1
  161. package/dist/components/tet-b2b-compare-card.js +1 -1
  162. package/dist/components/tet-b2b-configurator-cart.js +1 -1
  163. package/dist/components/tet-b2b-configurator.js +1 -1
  164. package/dist/components/tet-banner-nav.js +1 -1
  165. package/dist/components/tet-bar-graph.js +1 -1
  166. package/dist/components/tet-border-radius.js +1 -1
  167. package/dist/components/tet-business-card.js +1 -1
  168. package/dist/components/tet-business-compare-card.js +1 -1
  169. package/dist/components/tet-business-navigation.js +1 -1
  170. package/dist/components/tet-business-round-stepper.js +1 -1
  171. package/dist/components/tet-business-summary-card.js +1 -1
  172. package/dist/components/tet-button.js +1 -1
  173. package/dist/components/tet-card-list.js +1 -1
  174. package/dist/components/tet-carousel.js +1 -1
  175. package/dist/components/tet-checkbox.js +1 -1
  176. package/dist/components/tet-cloud-application-form-dialog.js +1 -1
  177. package/dist/components/tet-cloud-configurator.js +1 -1
  178. package/dist/components/tet-colors.js +1 -1
  179. package/dist/components/tet-compare-card-v2.js +1 -1
  180. package/dist/components/tet-compare-card-v3.js +1 -1
  181. package/dist/components/tet-compare-card.js +1 -1
  182. package/dist/components/tet-compare-cards-tab.js +1 -1
  183. package/dist/components/tet-compare-cards.js +1 -1
  184. package/dist/components/tet-container.js +1 -1
  185. package/dist/components/tet-countdown.js +1 -1
  186. package/dist/components/tet-counter.js +1 -1
  187. package/dist/components/tet-datepicker-header.d.ts +11 -0
  188. package/dist/components/tet-datepicker-header.js +1 -0
  189. package/dist/components/tet-datepicker-month-view.d.ts +11 -0
  190. package/dist/components/tet-datepicker-month-view.js +1 -0
  191. package/dist/components/tet-datepicker-multi-year-view.d.ts +11 -0
  192. package/dist/components/tet-datepicker-multi-year-view.js +1 -0
  193. package/dist/components/tet-datepicker-year-view.d.ts +11 -0
  194. package/dist/components/tet-datepicker-year-view.js +1 -0
  195. package/dist/components/tet-datepicker.d.ts +11 -0
  196. package/dist/components/tet-datepicker.js +1 -0
  197. package/dist/components/tet-dialog.js +1 -1
  198. package/dist/components/tet-display.js +1 -1
  199. package/dist/components/tet-divider.js +1 -1
  200. package/dist/components/tet-dropdown.js +1 -1
  201. package/dist/components/tet-dynamic-card.js +1 -1
  202. package/dist/components/tet-expandable-input.js +1 -1
  203. package/dist/components/tet-expansion-panel.js +1 -1
  204. package/dist/components/tet-feedback-form.js +1 -1
  205. package/dist/components/tet-filter.js +1 -1
  206. package/dist/components/tet-floating-block.js +1 -1
  207. package/dist/components/tet-font-weight.js +1 -1
  208. package/dist/components/tet-fonts.js +1 -1
  209. package/dist/components/tet-grid.js +1 -1
  210. package/dist/components/tet-icon.js +1 -1
  211. package/dist/components/tet-inline-message.js +1 -1
  212. package/dist/components/tet-input.js +1 -1
  213. package/dist/components/tet-layout.js +1 -1
  214. package/dist/components/tet-link-card-list.js +1 -1
  215. package/dist/components/tet-link.js +1 -1
  216. package/dist/components/tet-loader.js +1 -1
  217. package/dist/components/tet-menu-mobile.js +1 -1
  218. package/dist/components/tet-menu.js +1 -1
  219. package/dist/components/tet-mini-compare-card.js +1 -1
  220. package/dist/components/tet-multi-step-dialog.js +1 -1
  221. package/dist/components/tet-navigation-mobile.js +1 -1
  222. package/dist/components/tet-news-card-list.js +1 -1
  223. package/dist/components/tet-notification.js +1 -1
  224. package/dist/components/tet-number-input.js +1 -1
  225. package/dist/components/tet-placeholder.js +1 -1
  226. package/dist/components/tet-position.js +1 -1
  227. package/dist/components/tet-price-view.js +1 -1
  228. package/dist/components/tet-radio-blocks.js +1 -1
  229. package/dist/components/tet-radio.js +1 -1
  230. package/dist/components/tet-range-slider.js +1 -1
  231. package/dist/components/tet-round-stepper.js +1 -1
  232. package/dist/components/tet-selection-list.js +1 -1
  233. package/dist/components/tet-snicker-card-group.js +1 -1
  234. package/dist/components/tet-snicker-card.js +1 -1
  235. package/dist/components/tet-spacing.js +1 -1
  236. package/dist/components/tet-spinner.js +1 -1
  237. package/dist/components/tet-stepper-input.js +1 -1
  238. package/dist/components/tet-stepper-v3.js +1 -1
  239. package/dist/components/tet-sticky-offer.js +1 -1
  240. package/dist/components/tet-support-search.js +1 -1
  241. package/dist/components/tet-switch.js +1 -1
  242. package/dist/components/tet-tab-content.js +1 -1
  243. package/dist/components/tet-tab-header.js +1 -1
  244. package/dist/components/tet-table.js +1 -1
  245. package/dist/components/tet-tag-group.js +1 -1
  246. package/dist/components/tet-tag.js +1 -1
  247. package/dist/components/tet-text-list.js +1 -1
  248. package/dist/components/tet-text.js +1 -1
  249. package/dist/components/tet-textarea.js +1 -1
  250. package/dist/components/tet-thank-you-view-v3.js +1 -1
  251. package/dist/components/tet-tooltip.js +1 -1
  252. package/dist/esm/{http-codes-BIwnNday.js → http-codes-DchfPj1v.js} +1 -1
  253. package/dist/esm/{index-DRLfH-G3.js → index-ClX9TYQY.js} +9 -1
  254. package/dist/esm/{index-DFwTKM0O.js → index-DfBhGuuz.js} +1 -1
  255. package/dist/esm/loader.js +3 -3
  256. package/dist/esm/{product-comparison-BLY2XeQZ.js → product-comparison-DJko3TwF.js} +1 -1
  257. package/dist/esm/{string-C9BlrGW8.js → string-D0GJDW-O.js} +4 -1
  258. package/dist/esm/tet-accordion.entry.js +1 -1
  259. package/dist/esm/tet-address-offers-filters-products_2.entry.js +4 -4
  260. package/dist/esm/tet-address-offers-view.entry.js +4 -4
  261. package/dist/esm/tet-address-offers_5.entry.js +6 -6
  262. package/dist/esm/tet-assembler.entry.js +4 -4
  263. package/dist/esm/tet-autocomplete-dropdown.entry.js +2 -2
  264. package/dist/esm/tet-autocomplete_2.entry.js +3 -3
  265. package/dist/esm/tet-b2b-check-out-form_5.entry.js +4 -4
  266. package/dist/esm/tet-b2b-configurator.entry.js +5 -5
  267. package/dist/esm/tet-banner-nav.entry.js +4 -4
  268. package/dist/esm/tet-bar-graph.entry.js +1 -1
  269. package/dist/esm/tet-border-radius.entry.js +1 -1
  270. package/dist/esm/tet-business-card.entry.js +1 -1
  271. package/dist/esm/tet-business-compare-card.entry.js +1 -1
  272. package/dist/esm/tet-business-round-stepper.entry.js +1 -1
  273. package/dist/esm/tet-button.entry.js +1 -1
  274. package/dist/esm/tet-card-list.entry.js +1 -1
  275. package/dist/esm/tet-carousel.entry.js +4 -4
  276. package/dist/esm/tet-checkbox_3.entry.js +1 -1
  277. package/dist/esm/tet-cloud-application-form-dialog.entry.js +4 -4
  278. package/dist/esm/tet-cloud-configurator.entry.js +4 -4
  279. package/dist/esm/tet-colors.entry.js +1 -1
  280. package/dist/esm/tet-compare-card-v2.entry.js +3 -3
  281. package/dist/esm/tet-compare-card-v3.entry.js +3 -3
  282. package/dist/esm/tet-compare-cards-tab.entry.js +3 -3
  283. package/dist/esm/tet-compare-cards_2.entry.js +3 -3
  284. package/dist/esm/tet-components.js +3 -3
  285. package/dist/esm/tet-container_2.entry.js +2 -2
  286. package/dist/esm/tet-countdown.entry.js +1 -1
  287. package/dist/esm/tet-counter.entry.js +1 -1
  288. package/dist/esm/tet-datepicker-header_4.entry.js +382 -0
  289. package/dist/esm/tet-datepicker.entry.js +130 -0
  290. package/dist/esm/tet-dialog.entry.js +4 -4
  291. package/dist/esm/tet-display.entry.js +1 -1
  292. package/dist/esm/tet-divider.entry.js +1 -1
  293. package/dist/esm/tet-dynamic-card.entry.js +1 -1
  294. package/dist/esm/tet-expandable-input.entry.js +1 -1
  295. package/dist/esm/tet-expansion-panel.entry.js +1 -1
  296. package/dist/esm/tet-feedback-form.entry.js +4 -4
  297. package/dist/esm/tet-filter.entry.js +1 -1
  298. package/dist/esm/tet-floating-block.entry.js +1 -1
  299. package/dist/esm/tet-font-weight.entry.js +1 -1
  300. package/dist/esm/tet-fonts.entry.js +1 -1
  301. package/dist/esm/tet-grid.entry.js +1 -1
  302. package/dist/esm/tet-icon.entry.js +2 -2
  303. package/dist/esm/tet-inline-message.entry.js +1 -1
  304. package/dist/esm/tet-input.entry.js +4 -4
  305. package/dist/esm/tet-layout.entry.js +1 -1
  306. package/dist/esm/tet-link-card-list.entry.js +1 -1
  307. package/dist/esm/tet-link.entry.js +1 -1
  308. package/dist/esm/tet-menu-mobile.entry.js +1 -1
  309. package/dist/esm/tet-menu.entry.js +1 -1
  310. package/dist/esm/tet-mini-compare-card.entry.js +1 -1
  311. package/dist/esm/tet-multi-step-dialog.entry.js +4 -4
  312. package/dist/esm/tet-navigation-mobile.entry.js +4 -4
  313. package/dist/esm/tet-news-card-list.entry.js +1 -1
  314. package/dist/esm/tet-notification.entry.js +1 -1
  315. package/dist/esm/tet-number-input.entry.js +1 -1
  316. package/dist/esm/tet-placeholder.entry.js +1 -1
  317. package/dist/esm/tet-position.entry.js +1 -1
  318. package/dist/esm/tet-price-view.entry.js +1 -1
  319. package/dist/esm/tet-radio-blocks.entry.js +1 -1
  320. package/dist/esm/tet-radio_2.entry.js +1 -1
  321. package/dist/esm/tet-range-slider.entry.js +1 -1
  322. package/dist/esm/tet-round-stepper.entry.js +1 -1
  323. package/dist/esm/tet-snicker-card-group.entry.js +1 -1
  324. package/dist/esm/tet-snicker-card.entry.js +4 -4
  325. package/dist/esm/tet-spacing.entry.js +1 -1
  326. package/dist/esm/tet-spinner.entry.js +1 -1
  327. package/dist/esm/tet-stepper-input.entry.js +4 -4
  328. package/dist/esm/tet-stepper-v3.entry.js +1 -1
  329. package/dist/esm/tet-sticky-offer.entry.js +1 -1
  330. package/dist/esm/tet-support-search.entry.js +2 -2
  331. package/dist/esm/tet-switch.entry.js +1 -1
  332. package/dist/esm/tet-table.entry.js +1 -1
  333. package/dist/esm/tet-tag_2.entry.js +4 -4
  334. package/dist/esm/tet-text-list.entry.js +1 -1
  335. package/dist/esm/tet-text.entry.js +1 -1
  336. package/dist/esm/tet-textarea.entry.js +1 -1
  337. package/dist/esm/tet-thank-you-view-v3.entry.js +4 -4
  338. package/dist/esm/{translations-DlbHIyQg.js → translations-4zQUcigP.js} +2 -2
  339. package/dist/esm/{typecheck-CaZKtSyx.js → typecheck-Bvqcvhjw.js} +2 -1
  340. package/dist/tet-components/{p-bc5450cb.entry.js → p-10e789d9.entry.js} +1 -1
  341. package/dist/tet-components/{p-55253942.entry.js → p-139d4cad.entry.js} +1 -1
  342. package/dist/tet-components/{p-33fbdaff.entry.js → p-1556076a.entry.js} +1 -1
  343. package/dist/tet-components/{p-4b94b11b.entry.js → p-15bddc3d.entry.js} +1 -1
  344. package/dist/tet-components/{p-d527b903.entry.js → p-19343cc6.entry.js} +1 -1
  345. package/dist/tet-components/{p-1652ed96.entry.js → p-1d997c7d.entry.js} +1 -1
  346. package/dist/tet-components/{p-f34234f1.entry.js → p-1deb89e1.entry.js} +1 -1
  347. package/dist/tet-components/{p-debd1123.entry.js → p-21a59a4f.entry.js} +1 -1
  348. package/dist/tet-components/{p-72f10abe.entry.js → p-24bdeb37.entry.js} +1 -1
  349. package/dist/tet-components/{p-4cd9856e.entry.js → p-26dd3cb0.entry.js} +1 -1
  350. package/dist/tet-components/{p-570f744c.entry.js → p-29948163.entry.js} +1 -1
  351. package/dist/tet-components/{p-54baa574.entry.js → p-2bd1b7ec.entry.js} +1 -1
  352. package/dist/tet-components/{p-7fae4d11.entry.js → p-2e4e81a5.entry.js} +1 -1
  353. package/dist/tet-components/{p-5926d29a.entry.js → p-2e7cb093.entry.js} +1 -1
  354. package/dist/tet-components/{p-9491b52d.entry.js → p-306ff942.entry.js} +1 -1
  355. package/dist/tet-components/{p-cbbb2f74.entry.js → p-3242f182.entry.js} +1 -1
  356. package/dist/tet-components/{p-bb4b016d.entry.js → p-394b9c6b.entry.js} +1 -1
  357. package/dist/tet-components/{p-443b131b.entry.js → p-39be547b.entry.js} +1 -1
  358. package/dist/tet-components/{p-f359076b.entry.js → p-3ab52911.entry.js} +1 -1
  359. package/dist/tet-components/{p-38896daf.entry.js → p-3d8635c1.entry.js} +1 -1
  360. package/dist/tet-components/{p-53ddf6d9.entry.js → p-43d1f956.entry.js} +1 -1
  361. package/dist/tet-components/{p-4538e30b.entry.js → p-47484c33.entry.js} +1 -1
  362. package/dist/tet-components/{p-f1672161.entry.js → p-47b6721e.entry.js} +1 -1
  363. package/dist/tet-components/{p-6837420f.entry.js → p-499ff632.entry.js} +1 -1
  364. package/dist/tet-components/{p-644d19eb.entry.js → p-4a22c9a8.entry.js} +1 -1
  365. package/dist/tet-components/p-4aa2dbc8.entry.js +1 -0
  366. package/dist/tet-components/{p-535de739.entry.js → p-4f47079e.entry.js} +1 -1
  367. package/dist/tet-components/{p-7f0e7265.entry.js → p-517168f6.entry.js} +1 -1
  368. package/dist/tet-components/{p-5bb5e9bf.entry.js → p-53b4947e.entry.js} +1 -1
  369. package/dist/tet-components/{p-2ee60b13.entry.js → p-591a092a.entry.js} +1 -1
  370. package/dist/tet-components/{p-d9e7883d.entry.js → p-5a31f21d.entry.js} +1 -1
  371. package/dist/tet-components/{p-a5f552c8.entry.js → p-5bd0a0c8.entry.js} +1 -1
  372. package/dist/tet-components/{p-6700d26f.entry.js → p-5fcc2e1e.entry.js} +1 -1
  373. package/dist/tet-components/{p-2d821378.entry.js → p-616d3818.entry.js} +1 -1
  374. package/dist/tet-components/{p-7e55881a.entry.js → p-7105253e.entry.js} +1 -1
  375. package/dist/tet-components/{p-1a8c6e45.entry.js → p-73aca8b1.entry.js} +1 -1
  376. package/dist/tet-components/{p-6788614b.entry.js → p-77ae360e.entry.js} +1 -1
  377. package/dist/tet-components/{p-c444f4bc.entry.js → p-79e4a166.entry.js} +1 -1
  378. package/dist/tet-components/{p-19cf7e5a.entry.js → p-7fdd634a.entry.js} +1 -1
  379. package/dist/tet-components/{p-5356548e.entry.js → p-7ffa074d.entry.js} +1 -1
  380. package/dist/tet-components/{p-2c344868.entry.js → p-8091cf4b.entry.js} +1 -1
  381. package/dist/tet-components/{p-4569b8bc.entry.js → p-8436df88.entry.js} +1 -1
  382. package/dist/tet-components/{p-80eb8975.entry.js → p-87d015b3.entry.js} +1 -1
  383. package/dist/tet-components/{p-ce59d1cb.entry.js → p-8a9d5ef1.entry.js} +1 -1
  384. package/dist/tet-components/{p-f60aa760.entry.js → p-8b3ea797.entry.js} +1 -1
  385. package/dist/tet-components/{p-5e7ef84f.entry.js → p-8bdcb714.entry.js} +1 -1
  386. package/dist/tet-components/{p-ba792152.entry.js → p-92ef3a39.entry.js} +1 -1
  387. package/dist/tet-components/{p-89aa61b4.entry.js → p-98ae4292.entry.js} +1 -1
  388. package/dist/tet-components/{p-d450dfc2.entry.js → p-9ab737dd.entry.js} +1 -1
  389. package/dist/tet-components/{p-e8a03fda.entry.js → p-9b624822.entry.js} +1 -1
  390. package/dist/tet-components/{p-v8vRDDsl.js → p-B8Zjo2sa.js} +1 -1
  391. package/dist/tet-components/p-BGrvDoTj.js +1 -0
  392. package/dist/tet-components/p-Bvqcvhjw.js +1 -0
  393. package/dist/tet-components/p-ClX9TYQY.js +3 -0
  394. package/dist/tet-components/p-D0GJDW-O.js +1 -0
  395. package/dist/tet-components/{p-6370d477.entry.js → p-a0340287.entry.js} +1 -1
  396. package/dist/tet-components/{p-f519649a.entry.js → p-a410109c.entry.js} +1 -1
  397. package/dist/tet-components/{p-39118ce2.entry.js → p-b315a1c8.entry.js} +1 -1
  398. package/dist/tet-components/{p-87379696.entry.js → p-b4c45d6b.entry.js} +1 -1
  399. package/dist/tet-components/{p-931af84a.entry.js → p-b5efc6d4.entry.js} +1 -1
  400. package/dist/tet-components/p-b849774e.entry.js +1 -0
  401. package/dist/tet-components/{p-e78ed300.entry.js → p-b8c0433c.entry.js} +1 -1
  402. package/dist/tet-components/{p-1a559db5.entry.js → p-baf6ba9e.entry.js} +1 -1
  403. package/dist/tet-components/{p-0dcca890.entry.js → p-bb325aa4.entry.js} +1 -1
  404. package/dist/tet-components/{p-bf441a6f.entry.js → p-bd42d182.entry.js} +1 -1
  405. package/dist/tet-components/{p-ec9bbd9c.entry.js → p-c32edb32.entry.js} +1 -1
  406. package/dist/tet-components/{p-c21eb460.entry.js → p-c989a64d.entry.js} +1 -1
  407. package/dist/tet-components/{p-bf79a574.entry.js → p-cb1c05ab.entry.js} +1 -1
  408. package/dist/tet-components/{p-74e87653.entry.js → p-cd267067.entry.js} +1 -1
  409. package/dist/tet-components/{p-863b9c4f.entry.js → p-d2abe02d.entry.js} +1 -1
  410. package/dist/tet-components/{p-09289fa1.entry.js → p-d2db496b.entry.js} +1 -1
  411. package/dist/tet-components/{p-df12fcae.entry.js → p-d44bea09.entry.js} +1 -1
  412. package/dist/tet-components/{p-bb003b93.entry.js → p-d88d8689.entry.js} +1 -1
  413. package/dist/tet-components/{p-001782bf.entry.js → p-d89ae495.entry.js} +1 -1
  414. package/dist/tet-components/{p-c5c88bf8.entry.js → p-dca1a4c2.entry.js} +1 -1
  415. package/dist/tet-components/{p-5c4d6ad0.entry.js → p-dfdf946f.entry.js} +1 -1
  416. package/dist/tet-components/{p-23f7e7c9.entry.js → p-e13f06c4.entry.js} +1 -1
  417. package/dist/tet-components/{p-ea9668c8.entry.js → p-e5c07d62.entry.js} +1 -1
  418. package/dist/tet-components/{p-bd94906d.entry.js → p-eb3a8119.entry.js} +1 -1
  419. package/dist/tet-components/{p-0ee97792.entry.js → p-eca2fc2f.entry.js} +1 -1
  420. package/dist/tet-components/{p-0ec02698.entry.js → p-f5315eaf.entry.js} +1 -1
  421. package/dist/tet-components/{p-5ffae43b.entry.js → p-f5a86256.entry.js} +1 -1
  422. package/dist/tet-components/{p-5a31ce02.entry.js → p-f79c8697.entry.js} +1 -1
  423. package/dist/tet-components/{p-3f9f1252.entry.js → p-f7e3a24b.entry.js} +1 -1
  424. package/dist/tet-components/p-t-BNeeWq.js +1 -0
  425. package/dist/tet-components/{p-B0ZtMor0.js → p-tf8lKgfD.js} +1 -1
  426. package/dist/tet-components/tet-components.esm.js +1 -1
  427. package/dist/types/components/simple/inputs/tet-datepicker/partials/tet-datepicker-header/tet-datepicker-header.d.ts +21 -0
  428. package/dist/types/components/simple/inputs/tet-datepicker/partials/tet-datepicker-month-view/tet-datepicker-month-view.d.ts +45 -0
  429. package/dist/types/components/simple/inputs/tet-datepicker/partials/tet-datepicker-multi-year-view/tet-datepicker-multi-year-view.d.ts +20 -0
  430. package/dist/types/components/simple/inputs/tet-datepicker/partials/tet-datepicker-year-view/tet-datepicker-year-view.d.ts +20 -0
  431. package/dist/types/components/simple/inputs/tet-datepicker/tet-datepicker.d.ts +47 -0
  432. package/dist/types/components.d.ts +383 -0
  433. package/package.json +1 -1
  434. package/dist/components/p-BTndlvfE.js +0 -1
  435. package/dist/components/p-BeNFSjnX.js +0 -1
  436. package/dist/components/p-Bme7YRKY.js +0 -1
  437. package/dist/components/p-DSg1RagT.js +0 -1
  438. package/dist/components/p-_2UzwYR8.js +0 -1
  439. package/dist/tet-components/p-C9BlrGW8.js +0 -1
  440. package/dist/tet-components/p-CaZKtSyx.js +0 -1
  441. package/dist/tet-components/p-DRLfH-G3.js +0 -3
  442. package/dist/tet-components/p-a7Y8PX2f.js +0 -1
@@ -37,6 +37,7 @@ import { TabListCompareCardsInterface } from "./components/advanced/cards/tet-co
37
37
  import { CompareCardsLayout as CompareCardsLayout1 } from "./components/advanced/cards/tet-compare-cards/tet-compare-cards";
38
38
  import { ContainerTheme } from "./components/basic/container/tet-container/tet-container";
39
39
  import { EasingConfig, EasingMode, StepValues } from "./components/basic/misc/tet-counter/tet-counter";
40
+ import { DatepickerRangeDates, DatepickerRangeSetData, DatepickerView } from "./components/simple/inputs/tet-datepicker/index";
40
41
  import { TetDialogFooterDisplay, TetDialogTheme } from "./components/simple/text-blocks/tet-dialog/tet-dialog";
41
42
  import { DropdownOptionInterface, SelectedOptionInterface } from "./components/simple/inputs/tet-dropdown/tet-dropdown";
42
43
  import { CardSize, pictureLayoutShiftPositionType, PriceTagOptions, SizeChangeBreakpointType, TagType } from "./components/advanced/cards/tet-dynamic-card/tet-dynamic-card";
@@ -101,6 +102,7 @@ export { TabListCompareCardsInterface } from "./components/advanced/cards/tet-co
101
102
  export { CompareCardsLayout as CompareCardsLayout1 } from "./components/advanced/cards/tet-compare-cards/tet-compare-cards";
102
103
  export { ContainerTheme } from "./components/basic/container/tet-container/tet-container";
103
104
  export { EasingConfig, EasingMode, StepValues } from "./components/basic/misc/tet-counter/tet-counter";
105
+ export { DatepickerRangeDates, DatepickerRangeSetData, DatepickerView } from "./components/simple/inputs/tet-datepicker/index";
104
106
  export { TetDialogFooterDisplay, TetDialogTheme } from "./components/simple/text-blocks/tet-dialog/tet-dialog";
105
107
  export { DropdownOptionInterface, SelectedOptionInterface } from "./components/simple/inputs/tet-dropdown/tet-dropdown";
106
108
  export { CardSize, pictureLayoutShiftPositionType, PriceTagOptions, SizeChangeBreakpointType, TagType } from "./components/advanced/cards/tet-dynamic-card/tet-dynamic-card";
@@ -2102,6 +2104,101 @@ export namespace Components {
2102
2104
  */
2103
2105
  "valueSteps": number;
2104
2106
  }
2107
+ /**
2108
+ * A simple datepicker component.
2109
+ */
2110
+ interface TetDatepicker {
2111
+ /**
2112
+ * The currently selected date. Initially, can be passed as a default date.
2113
+ */
2114
+ "date": Date;
2115
+ /**
2116
+ * Current datepicker view.
2117
+ * @default 'month'
2118
+ */
2119
+ "datepickerView": DatepickerView;
2120
+ /**
2121
+ * Determines if the datepicker is open.
2122
+ * @default false
2123
+ */
2124
+ "isOpen": boolean;
2125
+ /**
2126
+ * The locale that is being used in to format the control button text.
2127
+ * @default 'lv-LV'
2128
+ */
2129
+ "locale": string;
2130
+ /**
2131
+ * Determines whether to display modal like overlay for the datepicker.
2132
+ * @default false
2133
+ */
2134
+ "overlayEffect": boolean;
2135
+ /**
2136
+ * Determines whether the current datepicker logic is set up for range picking.
2137
+ * @default false
2138
+ */
2139
+ "rangePickerMode": boolean;
2140
+ /**
2141
+ * Toggles the datepicker `isOpen` attribute.
2142
+ */
2143
+ "toggleIsOpen": () => Promise<void>;
2144
+ }
2145
+ interface TetDatepickerHeader {
2146
+ /**
2147
+ * Current datepicker view
2148
+ */
2149
+ "datepickerView": DatepickerView;
2150
+ /**
2151
+ * Separate internal date to handle date browsing.
2152
+ */
2153
+ "internalDate": Date;
2154
+ /**
2155
+ * The selected locale.
2156
+ */
2157
+ "locale": string;
2158
+ /**
2159
+ * The selected date.
2160
+ */
2161
+ "selectedDate": Date;
2162
+ }
2163
+ interface TetDatepickerMonthView {
2164
+ /**
2165
+ * Separate internal date to handle date browsing.
2166
+ */
2167
+ "internalDate": Date;
2168
+ /**
2169
+ * The range dates that are being used for range picking mode.
2170
+ */
2171
+ "rangeDates": DatepickerRangeDates;
2172
+ /**
2173
+ * Determines whether the current datepicker logic is set up for range picking.
2174
+ * @default false
2175
+ */
2176
+ "rangePickerMode": boolean;
2177
+ /**
2178
+ * The currently selected date.
2179
+ */
2180
+ "selectedDate": Date;
2181
+ }
2182
+ interface TetDatepickerMultiYearView {
2183
+ /**
2184
+ * Internal Date.
2185
+ */
2186
+ "internalDate": Date;
2187
+ /**
2188
+ * Selected Date.
2189
+ */
2190
+ "selectedDate": Date;
2191
+ }
2192
+ interface TetDatepickerYearView {
2193
+ /**
2194
+ * Separate internal date to handle date browsing.
2195
+ */
2196
+ "internalDate": Date;
2197
+ /**
2198
+ * The selected date.
2199
+ */
2200
+ "selectedDate": Date;
2201
+ }
2105
2202
  /**
2106
2203
  * A simple modal dialog component.
2107
2204
  */
@@ -4531,6 +4628,26 @@ export interface TetCounterCustomEvent<T> extends CustomEvent<T> {
4531
4628
  detail: T;
4532
4629
  target: HTMLTetCounterElement;
4533
4630
  }
4631
+ export interface TetDatepickerCustomEvent<T> extends CustomEvent<T> {
4632
+ detail: T;
4633
+ target: HTMLTetDatepickerElement;
4634
+ }
4635
+ export interface TetDatepickerHeaderCustomEvent<T> extends CustomEvent<T> {
4636
+ detail: T;
4637
+ target: HTMLTetDatepickerHeaderElement;
4638
+ }
4639
+ export interface TetDatepickerMonthViewCustomEvent<T> extends CustomEvent<T> {
4640
+ detail: T;
4641
+ target: HTMLTetDatepickerMonthViewElement;
4642
+ }
4643
+ export interface TetDatepickerMultiYearViewCustomEvent<T> extends CustomEvent<T> {
4644
+ detail: T;
4645
+ target: HTMLTetDatepickerMultiYearViewElement;
4646
+ }
4647
+ export interface TetDatepickerYearViewCustomEvent<T> extends CustomEvent<T> {
4648
+ detail: T;
4649
+ target: HTMLTetDatepickerYearViewElement;
4650
+ }
4534
4651
  export interface TetDialogCustomEvent<T> extends CustomEvent<T> {
4535
4652
  detail: T;
4536
4653
  target: HTMLTetDialogElement;
@@ -5243,6 +5360,101 @@ declare global {
5243
5360
  prototype: HTMLTetCounterElement;
5244
5361
  new (): HTMLTetCounterElement;
5245
5362
  };
5363
+ interface HTMLTetDatepickerElementEventMap {
5364
+ "dateChanged": Date;
5365
+ "rangeDatesChanged": Date[];
5366
+ }
5367
+ /**
5368
+ * A simple datepicker component.
5369
+ */
5370
+ interface HTMLTetDatepickerElement extends Components.TetDatepicker, HTMLStencilElement {
5371
+ addEventListener<K extends keyof HTMLTetDatepickerElementEventMap>(type: K, listener: (this: HTMLTetDatepickerElement, ev: TetDatepickerCustomEvent<HTMLTetDatepickerElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5372
+ addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5373
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5374
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5375
+ removeEventListener<K extends keyof HTMLTetDatepickerElementEventMap>(type: K, listener: (this: HTMLTetDatepickerElement, ev: TetDatepickerCustomEvent<HTMLTetDatepickerElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5376
+ removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5377
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5378
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5379
+ }
5380
+ var HTMLTetDatepickerElement: {
5381
+ prototype: HTMLTetDatepickerElement;
5382
+ new (): HTMLTetDatepickerElement;
5383
+ };
5384
+ interface HTMLTetDatepickerHeaderElementEventMap {
5385
+ "internalDateChanged": Date;
5386
+ "datepickerViewChanged": DatepickerView;
5387
+ }
5388
+ interface HTMLTetDatepickerHeaderElement extends Components.TetDatepickerHeader, HTMLStencilElement {
5389
+ addEventListener<K extends keyof HTMLTetDatepickerHeaderElementEventMap>(type: K, listener: (this: HTMLTetDatepickerHeaderElement, ev: TetDatepickerHeaderCustomEvent<HTMLTetDatepickerHeaderElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5390
+ addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5391
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5392
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5393
+ removeEventListener<K extends keyof HTMLTetDatepickerHeaderElementEventMap>(type: K, listener: (this: HTMLTetDatepickerHeaderElement, ev: TetDatepickerHeaderCustomEvent<HTMLTetDatepickerHeaderElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5394
+ removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5395
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5396
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5397
+ }
5398
+ var HTMLTetDatepickerHeaderElement: {
5399
+ prototype: HTMLTetDatepickerHeaderElement;
5400
+ new (): HTMLTetDatepickerHeaderElement;
5401
+ };
5402
+ interface HTMLTetDatepickerMonthViewElementEventMap {
5403
+ "internalDateChanged": Date;
5404
+ "dateChanged": Date;
5405
+ "datepickerClosed": boolean;
5406
+ "rangeDateSet": DatepickerRangeSetData;
5407
+ }
5408
+ interface HTMLTetDatepickerMonthViewElement extends Components.TetDatepickerMonthView, HTMLStencilElement {
5409
+ addEventListener<K extends keyof HTMLTetDatepickerMonthViewElementEventMap>(type: K, listener: (this: HTMLTetDatepickerMonthViewElement, ev: TetDatepickerMonthViewCustomEvent<HTMLTetDatepickerMonthViewElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5410
+ addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5411
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5412
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5413
+ removeEventListener<K extends keyof HTMLTetDatepickerMonthViewElementEventMap>(type: K, listener: (this: HTMLTetDatepickerMonthViewElement, ev: TetDatepickerMonthViewCustomEvent<HTMLTetDatepickerMonthViewElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5414
+ removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5415
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5416
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5417
+ }
5418
+ var HTMLTetDatepickerMonthViewElement: {
5419
+ prototype: HTMLTetDatepickerMonthViewElement;
5420
+ new (): HTMLTetDatepickerMonthViewElement;
5421
+ };
5422
+ interface HTMLTetDatepickerMultiYearViewElementEventMap {
5423
+ "internalDateChanged": Date;
5424
+ "datepickerViewChanged": DatepickerView;
5425
+ }
5426
+ interface HTMLTetDatepickerMultiYearViewElement extends Components.TetDatepickerMultiYearView, HTMLStencilElement {
5427
+ addEventListener<K extends keyof HTMLTetDatepickerMultiYearViewElementEventMap>(type: K, listener: (this: HTMLTetDatepickerMultiYearViewElement, ev: TetDatepickerMultiYearViewCustomEvent<HTMLTetDatepickerMultiYearViewElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5428
+ addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5429
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5430
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5431
+ removeEventListener<K extends keyof HTMLTetDatepickerMultiYearViewElementEventMap>(type: K, listener: (this: HTMLTetDatepickerMultiYearViewElement, ev: TetDatepickerMultiYearViewCustomEvent<HTMLTetDatepickerMultiYearViewElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5432
+ removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5433
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5434
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5435
+ }
5436
+ var HTMLTetDatepickerMultiYearViewElement: {
5437
+ prototype: HTMLTetDatepickerMultiYearViewElement;
5438
+ new (): HTMLTetDatepickerMultiYearViewElement;
5439
+ };
5440
+ interface HTMLTetDatepickerYearViewElementEventMap {
5441
+ "internalDateChanged": Date;
5442
+ "datepickerViewChanged": DatepickerView;
5443
+ }
5444
+ interface HTMLTetDatepickerYearViewElement extends Components.TetDatepickerYearView, HTMLStencilElement {
5445
+ addEventListener<K extends keyof HTMLTetDatepickerYearViewElementEventMap>(type: K, listener: (this: HTMLTetDatepickerYearViewElement, ev: TetDatepickerYearViewCustomEvent<HTMLTetDatepickerYearViewElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5446
+ addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5447
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5448
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5449
+ removeEventListener<K extends keyof HTMLTetDatepickerYearViewElementEventMap>(type: K, listener: (this: HTMLTetDatepickerYearViewElement, ev: TetDatepickerYearViewCustomEvent<HTMLTetDatepickerYearViewElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5450
+ removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5451
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5452
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5453
+ }
5454
+ var HTMLTetDatepickerYearViewElement: {
5455
+ prototype: HTMLTetDatepickerYearViewElement;
5456
+ new (): HTMLTetDatepickerYearViewElement;
5457
+ };
5246
5458
  interface HTMLTetDialogElementEventMap {
5247
5459
  "closeDialog": any;
5248
5460
  "openDialog": { eventType: string };
@@ -6041,6 +6253,11 @@ declare global {
6041
6253
  "tet-container": HTMLTetContainerElement;
6042
6254
  "tet-countdown": HTMLTetCountdownElement;
6043
6255
  "tet-counter": HTMLTetCounterElement;
6256
+ "tet-datepicker": HTMLTetDatepickerElement;
6257
+ "tet-datepicker-header": HTMLTetDatepickerHeaderElement;
6258
+ "tet-datepicker-month-view": HTMLTetDatepickerMonthViewElement;
6259
+ "tet-datepicker-multi-year-view": HTMLTetDatepickerMultiYearViewElement;
6260
+ "tet-datepicker-year-view": HTMLTetDatepickerYearViewElement;
6044
6261
  "tet-dialog": HTMLTetDialogElement;
6045
6262
  "tet-display": HTMLTetDisplayElement;
6046
6263
  "tet-divider": HTMLTetDividerElement;
@@ -8136,6 +8353,145 @@ declare namespace LocalJSX {
8136
8353
  */
8137
8354
  "valueSteps"?: number;
8138
8355
  }
8356
+ /**
8357
+ * A simple datepicker component.
8358
+ */
8359
+ interface TetDatepicker {
8360
+ /**
8361
+ * The currently selected date. Initially, can be passed as a default date.
8362
+ */
8363
+ "date"?: Date;
8364
+ /**
8365
+ * Current datepicker view.
8366
+ * @default 'month'
8367
+ */
8368
+ "datepickerView"?: DatepickerView;
8369
+ /**
8370
+ * Determines if the datepicker is open.
8371
+ * @default false
8372
+ */
8373
+ "isOpen"?: boolean;
8374
+ /**
8375
+ * The locale that is being used in to format the control button text.
8376
+ * @default 'lv-LV'
8377
+ */
8378
+ "locale"?: string;
8379
+ /**
8380
+ * Event that will be emitted when date will change.
8381
+ */
8382
+ "onDateChanged"?: (event: TetDatepickerCustomEvent<Date>) => void;
8383
+ /**
8384
+ * Event that will be emitted when at least one of the range dates will change.
8385
+ */
8386
+ "onRangeDatesChanged"?: (event: TetDatepickerCustomEvent<Date[]>) => void;
8387
+ /**
8388
+ * Determines whether to display modal like overlay for the datepicker.
8389
+ * @default false
8390
+ */
8391
+ "overlayEffect"?: boolean;
8392
+ /**
8393
+ * Determines whether the current datepicker logic is set up for range picking.
8394
+ * @default false
8395
+ */
8396
+ "rangePickerMode"?: boolean;
8397
+ }
8398
+ interface TetDatepickerHeader {
8399
+ /**
8400
+ * Current datepicker view
8401
+ */
8402
+ "datepickerView"?: DatepickerView;
8403
+ /**
8404
+ * Separate internal date to handle date browsing.
8405
+ */
8406
+ "internalDate"?: Date;
8407
+ /**
8408
+ * The selected locale.
8409
+ */
8410
+ "locale"?: string;
8411
+ /**
8412
+ * Event that will be emitted when the datepicker view will change.
8413
+ */
8414
+ "onDatepickerViewChanged"?: (event: TetDatepickerHeaderCustomEvent<DatepickerView>) => void;
8415
+ /**
8416
+ * Event that will be emitted when the internal date will change.
8417
+ */
8418
+ "onInternalDateChanged"?: (event: TetDatepickerHeaderCustomEvent<Date>) => void;
8419
+ /**
8420
+ * The selected date.
8421
+ */
8422
+ "selectedDate"?: Date;
8423
+ }
8424
+ interface TetDatepickerMonthView {
8425
+ /**
8426
+ * Separate internal date to handle date browsing.
8427
+ */
8428
+ "internalDate"?: Date;
8429
+ /**
8430
+ * Event that will be emitted when date will change.
8431
+ */
8432
+ "onDateChanged"?: (event: TetDatepickerMonthViewCustomEvent<Date>) => void;
8433
+ /**
8434
+ * Event that will be emitted when the datepicker will be closed.
8435
+ */
8436
+ "onDatepickerClosed"?: (event: TetDatepickerMonthViewCustomEvent<boolean>) => void;
8437
+ /**
8438
+ * Event that will be emitted when the internal date will change.
8439
+ */
8440
+ "onInternalDateChanged"?: (event: TetDatepickerMonthViewCustomEvent<Date>) => void;
8441
+ /**
8442
+ * Event that will be emitted when one of the range dates will be set.
8443
+ */
8444
+ "onRangeDateSet"?: (event: TetDatepickerMonthViewCustomEvent<DatepickerRangeSetData>) => void;
8445
+ /**
8446
+ * The range dates that are being used for range picking mode.
8447
+ */
8448
+ "rangeDates"?: DatepickerRangeDates;
8449
+ /**
8450
+ * Determines whether the current datepicker logic is set up for range picking.
8451
+ * @default false
8452
+ */
8453
+ "rangePickerMode"?: boolean;
8454
+ /**
8455
+ * The currently selected date.
8456
+ */
8457
+ "selectedDate"?: Date;
8458
+ }
8459
+ interface TetDatepickerMultiYearView {
8460
+ /**
8461
+ * Internal Date.
8462
+ */
8463
+ "internalDate"?: Date;
8464
+ /**
8465
+ * Datepicker view changed event.
8466
+ */
8467
+ "onDatepickerViewChanged"?: (event: TetDatepickerMultiYearViewCustomEvent<DatepickerView>) => void;
8468
+ /**
8469
+ * Internal date changed event.
8470
+ */
8471
+ "onInternalDateChanged"?: (event: TetDatepickerMultiYearViewCustomEvent<Date>) => void;
8472
+ /**
8473
+ * Selected Date.
8474
+ */
8475
+ "selectedDate"?: Date;
8476
+ }
8477
+ interface TetDatepickerYearView {
8478
+ /**
8479
+ * Separate internal date to handle date browsing.
8480
+ */
8481
+ "internalDate"?: Date;
8482
+ /**
8483
+ * Event that will be emitted when the datepicker view will change.
8484
+ */
8485
+ "onDatepickerViewChanged"?: (event: TetDatepickerYearViewCustomEvent<DatepickerView>) => void;
8486
+ /**
8487
+ * Event that will be emitted when the internal date will change.
8488
+ */
8489
+ "onInternalDateChanged"?: (event: TetDatepickerYearViewCustomEvent<Date>) => void;
8490
+ /**
8491
+ * The selected date.
8492
+ */
8493
+ "selectedDate"?: Date;
8494
+ }
8139
8495
  /**
8140
8496
  * A simple modal dialog component.
8141
8497
  */
@@ -10818,6 +11174,20 @@ declare namespace LocalJSX {
10818
11174
  "thousandSeparator": boolean;
10819
11175
  "startOnViewport": boolean;
10820
11176
  }
11177
+ interface TetDatepickerAttributes {
11178
+ "locale": string;
11179
+ "overlayEffect": boolean;
11180
+ "rangePickerMode": boolean;
11181
+ "isOpen": boolean;
11182
+ "datepickerView": DatepickerView;
11183
+ }
11184
+ interface TetDatepickerHeaderAttributes {
11185
+ "locale": string;
11186
+ "datepickerView": DatepickerView;
11187
+ }
11188
+ interface TetDatepickerMonthViewAttributes {
11189
+ "rangePickerMode": boolean;
11190
+ }
10821
11191
  interface TetDialogAttributes {
10822
11192
  "headerTitle": string;
10823
11193
  "isOpen": boolean;
@@ -11305,6 +11675,11 @@ declare namespace LocalJSX {
11305
11675
  "tet-container": Omit<TetContainer, keyof TetContainerAttributes> & { [K in keyof TetContainer & keyof TetContainerAttributes]?: TetContainer[K] } & { [K in keyof TetContainer & keyof TetContainerAttributes as `attr:${K}`]?: TetContainerAttributes[K] } & { [K in keyof TetContainer & keyof TetContainerAttributes as `prop:${K}`]?: TetContainer[K] };
11306
11676
  "tet-countdown": Omit<TetCountdown, keyof TetCountdownAttributes> & { [K in keyof TetCountdown & keyof TetCountdownAttributes]?: TetCountdown[K] } & { [K in keyof TetCountdown & keyof TetCountdownAttributes as `attr:${K}`]?: TetCountdownAttributes[K] } & { [K in keyof TetCountdown & keyof TetCountdownAttributes as `prop:${K}`]?: TetCountdown[K] };
11307
11677
  "tet-counter": Omit<TetCounter, keyof TetCounterAttributes> & { [K in keyof TetCounter & keyof TetCounterAttributes]?: TetCounter[K] } & { [K in keyof TetCounter & keyof TetCounterAttributes as `attr:${K}`]?: TetCounterAttributes[K] } & { [K in keyof TetCounter & keyof TetCounterAttributes as `prop:${K}`]?: TetCounter[K] };
11678
+ "tet-datepicker": Omit<TetDatepicker, keyof TetDatepickerAttributes> & { [K in keyof TetDatepicker & keyof TetDatepickerAttributes]?: TetDatepicker[K] } & { [K in keyof TetDatepicker & keyof TetDatepickerAttributes as `attr:${K}`]?: TetDatepickerAttributes[K] } & { [K in keyof TetDatepicker & keyof TetDatepickerAttributes as `prop:${K}`]?: TetDatepicker[K] };
11679
+ "tet-datepicker-header": Omit<TetDatepickerHeader, keyof TetDatepickerHeaderAttributes> & { [K in keyof TetDatepickerHeader & keyof TetDatepickerHeaderAttributes]?: TetDatepickerHeader[K] } & { [K in keyof TetDatepickerHeader & keyof TetDatepickerHeaderAttributes as `attr:${K}`]?: TetDatepickerHeaderAttributes[K] } & { [K in keyof TetDatepickerHeader & keyof TetDatepickerHeaderAttributes as `prop:${K}`]?: TetDatepickerHeader[K] };
11680
+ "tet-datepicker-month-view": Omit<TetDatepickerMonthView, keyof TetDatepickerMonthViewAttributes> & { [K in keyof TetDatepickerMonthView & keyof TetDatepickerMonthViewAttributes]?: TetDatepickerMonthView[K] } & { [K in keyof TetDatepickerMonthView & keyof TetDatepickerMonthViewAttributes as `attr:${K}`]?: TetDatepickerMonthViewAttributes[K] } & { [K in keyof TetDatepickerMonthView & keyof TetDatepickerMonthViewAttributes as `prop:${K}`]?: TetDatepickerMonthView[K] };
11681
+ "tet-datepicker-multi-year-view": TetDatepickerMultiYearView;
11682
+ "tet-datepicker-year-view": TetDatepickerYearView;
11308
11683
  "tet-dialog": Omit<TetDialog, keyof TetDialogAttributes> & { [K in keyof TetDialog & keyof TetDialogAttributes]?: TetDialog[K] } & { [K in keyof TetDialog & keyof TetDialogAttributes as `attr:${K}`]?: TetDialogAttributes[K] } & { [K in keyof TetDialog & keyof TetDialogAttributes as `prop:${K}`]?: TetDialog[K] };
11309
11684
  "tet-display": TetDisplay;
11310
11685
  "tet-divider": TetDivider;
@@ -11485,6 +11860,14 @@ declare module "@stencil/core" {
11485
11860
  "tet-container": LocalJSX.IntrinsicElements["tet-container"] & JSXBase.HTMLAttributes<HTMLTetContainerElement>;
11486
11861
  "tet-countdown": LocalJSX.IntrinsicElements["tet-countdown"] & JSXBase.HTMLAttributes<HTMLTetCountdownElement>;
11487
11862
  "tet-counter": LocalJSX.IntrinsicElements["tet-counter"] & JSXBase.HTMLAttributes<HTMLTetCounterElement>;
11863
+ /**
11864
+ * A simple datepicker component.
11865
+ */
11866
+ "tet-datepicker": LocalJSX.IntrinsicElements["tet-datepicker"] & JSXBase.HTMLAttributes<HTMLTetDatepickerElement>;
11867
+ "tet-datepicker-header": LocalJSX.IntrinsicElements["tet-datepicker-header"] & JSXBase.HTMLAttributes<HTMLTetDatepickerHeaderElement>;
11868
+ "tet-datepicker-month-view": LocalJSX.IntrinsicElements["tet-datepicker-month-view"] & JSXBase.HTMLAttributes<HTMLTetDatepickerMonthViewElement>;
11869
+ "tet-datepicker-multi-year-view": LocalJSX.IntrinsicElements["tet-datepicker-multi-year-view"] & JSXBase.HTMLAttributes<HTMLTetDatepickerMultiYearViewElement>;
11870
+ "tet-datepicker-year-view": LocalJSX.IntrinsicElements["tet-datepicker-year-view"] & JSXBase.HTMLAttributes<HTMLTetDatepickerYearViewElement>;
11488
11871
  /**
11489
11872
  * A simple modal dialog component.
11490
11873
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tet/tet-components",
3
- "version": "v1.4.135-production",
3
+ "version": "v1.4.135-testing",
4
4
  "description": "A Stencil-based Web Components library for reusable UI elements.",
5
5
  "homepage": "https://tet.lv",
6
6
  "main": "dist/index.cjs.js",
@@ -1 +0,0 @@
1
- const t={environment:"production"};function n(t,n,e){const o="undefined"!=typeof HTMLElement?HTMLElement.prototype:null;for(;t&&t!==o;){const o=Object.getOwnPropertyDescriptor(t,n);if(o&&(!e||o.get))return o;t=Object.getPrototypeOf(t)}}var e,o=(t,e)=>{var o;Object.entries(null!=(o=e.o.t)?o:{}).map((([o,[l]])=>{if(31&l||32&l){const l=t[o],s=n(Object.getPrototypeOf(t),o,!0)||Object.getOwnPropertyDescriptor(t,o);s&&Object.defineProperty(t,o,{get(){return s.get.call(this)},set(t){s.set.call(this,t)},configurable:!0,enumerable:!0}),e.l.has(o)?t[o]=e.l.get(o):void 0!==l&&(t[o]=l)}}))},l=t=>{if(t.__stencil__getHostRef)return t.__stencil__getHostRef()},s=(t,n)=>n in t,i=(t,n)=>(0,console.error)(t,n),r=new Map,c="http://www.w3.org/1999/xlink",f="undefined"!=typeof window?window:{},u=f.HTMLElement||class{},a={i:0,u:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,n,e,o)=>t.addEventListener(n,e,o),rel:(t,n,e,o)=>t.removeEventListener(n,e,o),ce:(t,n)=>new CustomEvent(t,n)},d=(()=>{var t;let n=!1;try{null==(t=f.document)||t.addEventListener("e",null,Object.defineProperty({},"passive",{get(){n=!0}}))}catch(t){}return n})(),p=(()=>{try{return!!f.document.adoptedStyleSheets&&(new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync)}catch(t){}return!1})(),v=!!p&&(()=>!!f.document&&Object.getOwnPropertyDescriptor(f.document.adoptedStyleSheets,"length").writable)(),h=!1,b=[],m=[],y=()=>{var t;return(null==(t=f.document)?void 0:t.hidden)?j(w):a.raf(w)},$=(t,n)=>e=>{t.push(e),h||(h=!0,n&&4&a.i?j(w):y())},g=t=>{for(let n=0;n<t.length;n++)try{t[n](performance.now())}catch(t){i(t)}t.length=0},w=()=>{g(b),g(m),(h=b.length>0)&&y()},j=t=>Promise.resolve(undefined).then(t),O=$(m,!0),S=t=>{const n=new URL(t,a.u);return n.origin!==f.location.origin?n.href:n.pathname},k=t=>a.u=t;function N(t){const n={mode:"open"};n.delegatesFocus=!!(16&t.i);const o=this.attachShadow(n);void 0===e&&(e=null),e&&(v?o.adoptedStyleSheets.push(e):o.adoptedStyleSheets=[...o.adoptedStyleSheets,e])}var E=t=>{const n=C(t,"childNodes");t.tagName&&t.tagName.includes("-")&&t["s-cr"]&&"SLOT-FB"!==t.tagName&&M(n,t.tagName).forEach((t=>{1===t.nodeType&&"SLOT-FB"===t.tagName&&(t.hidden=!!x(t,A(t),!1).length)}));let e=0;for(e=0;e<n.length;e++){const t=n[e];1===t.nodeType&&C(t,"childNodes").length&&E(t)}};function M(t,n,e){let o,l=0,s=[];for(;l<t.length;l++){if(o=t[l],o["s-sr"]&&(!n||o["s-hn"]===n)&&(void 0===e||A(o)===e)&&(s.push(o),void 0!==e))return s;s=[...s,...M(C(o,"childNodes"),n,e)]}return s}var x=(t,n,e=!0)=>{const o=[];(e&&t["s-sr"]||!t["s-sr"])&&o.push(t);let l=t;for(;l=l.nextSibling;)A(l)!==n||!e&&l["s-sr"]||o.push(l);return o},_=(t,n)=>1===t.nodeType?null===t.getAttribute("slot")&&""===n||t.getAttribute("slot")===n:t["s-sn"]===n||""===n,A=t=>"string"==typeof t["s-sn"]?t["s-sn"]:1===t.nodeType&&t.getAttribute("slot")||void 0;function C(t,n){if("__"+n in t){const e=t["__"+n];return"function"!=typeof e?e:e.bind(t)}return"function"!=typeof t[n]?t[n]:t[n].bind(t)}var L,F,R,T=new WeakMap,D=t=>"sc-"+t.p,H=t=>"object"==(t=typeof t)||"function"===t,P=(t,n,...e)=>{let o=null,l=null,s=null,r=!1,c=!1;const f=[],u=n=>{for(let e=0;e<n.length;e++)if(o=n[e],Array.isArray(o))u(o);else if(null!=o&&"boolean"!=typeof o){if(r="function"!=typeof t&&!H(o))o=String(o);else if("function"!=typeof t&&void 0===o.i){i("Invalid vNode child");continue}r&&c?f[f.length-1].v+=o:f.push(r?U(null,o):o),c=r}};if(u(e),n){n.key&&(l=n.key),n.name&&(s=n.name);{const t=n.className||n.class;t&&(n.class="object"!=typeof t?t:Object.keys(t).filter((n=>t[n])).join(" "))}}if("function"==typeof t)return t(null===n?{}:n,f,B);const a=U(t,null);return a.h=n,f.length>0&&(a.m=f),a.$=l,a.j=s,a},U=(t,n)=>({i:0,O:t,v:null!=n?n:null,S:null,m:null,h:null,$:null,j:null}),W={},B={forEach:(t,n)=>t.map(V).forEach(n),map:(t,n)=>t.map(V).map(n).map(q)},V=t=>({vattrs:t.h,vchildren:t.m,vkey:t.$,vname:t.j,vtag:t.O,vtext:t.v}),q=t=>{if("function"==typeof t.vtag){const n={...t.vattrs};return t.vkey&&(n.key=t.vkey),t.vname&&(n.name=t.vname),P(t.vtag,n,...t.vchildren||[])}const n=U(t.vtag,t.vtext);return n.h=t.vattrs,n.m=t.vchildren,n.$=t.vkey,n.j=t.vname,n},z=t=>{if(!t)return;const n=Object.keys(t);if(0===n.length)return;let e=!1;for(const o of n){if(e)break;for(const n of t[o])if("string"==typeof n){e=!0;break}}if(!e)return t;const o={};for(const e of n)o[e]=t[e].map((t=>"string"==typeof t?{[t]:0}:t));return o},I=(t,n)=>null==t||H(t)?t:4&n?"false"!==t&&(""===t||!!t):2&n?"string"==typeof t?parseFloat(t):"number"==typeof t?t:NaN:1&n?String(t):t,Y=(t,n)=>{const e=t;return{emit:t=>Z(e,n,{bubbles:!0,composed:!0,cancelable:!0,detail:t})}},Z=(t,n,e)=>{const o=a.ce(n,e);return t.dispatchEvent(o),o},G=(t,n,e,o,i,r)=>{if(e===o)return;let u=s(t,n),d=n.toLowerCase();if("class"===n){const n=t.classList,l=X(e);let s=X(o);n.remove(...l.filter((t=>t&&!s.includes(t)))),n.add(...s.filter((t=>t&&!l.includes(t))))}else if("style"===n){for(const n in e)o&&null!=o[n]||(n.includes("-")?t.style.removeProperty(n):t.style[n]="");for(const n in o)e&&o[n]===e[n]||(n.includes("-")?t.style.setProperty(n,o[n]):t.style[n]=o[n])}else if("key"===n);else if("ref"===n)o&&wt(o,t);else if(t.__lookupSetter__(n)||"o"!==n[0]||"n"!==n[1]){if("a"===n[0]&&n.startsWith("attr:")){const e=n.slice(5);let s;{const n=l(t);if(n&&n.o&&n.o.t){const t=n.o.t[e];t&&t[1]&&(s=t[1])}}return s||(s=e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(null==o||!1===o?!1===o&&""!==t.getAttribute(s)||t.removeAttribute(s):t.setAttribute(s,!0===o?"":o))}if("p"===n[0]&&n.startsWith("prop:")){const e=n.slice(5);try{t[e]=o}catch(t){}return}{const l=H(o);if((u||l&&null!==o)&&!i)try{if(t.tagName.includes("-"))t[n]!==o&&(t[n]=o);else{const l=null==o?"":o;"list"===n?u=!1:null!=e&&t[n]===l||("function"==typeof t.__lookupSetter__(n)?t[n]=l:t.setAttribute(n,l))}}catch(t){}let s=!1;d!==(d=d.replace(/^xlink\:?/,""))&&(n=d,s=!0),null==o||!1===o?(!1!==o||""===t.getAttribute(n)||4&r&&!K(n))&&(s?t.removeAttributeNS(c,n):t.removeAttribute(n)):(!u||4&r||i)&&!l&&1===t.nodeType&&(o=!0===o?"":o,s?t.setAttributeNS(c,n,o):t.setAttribute(n,o))}}else if(n="-"===n[2]?n.slice(3):s(f,d)?d.slice(2):d[2]+n.slice(3),e||o){const l=n.endsWith(tt);n=n.replace(nt,""),e&&a.rel(t,n,e,l),o&&a.ael(t,n,o,l)}},J=new Set(["draggable","contenteditable","spellcheck"]),K=t=>J.has(t)||t.startsWith("aria-"),Q=/\s/,X=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(Q):[]),tt="Capture",nt=new RegExp(tt+"$"),et=(t,n,e)=>{const o=11===n.S.nodeType&&n.S.host?n.S.host:n.S,l=t&&t.h||{},s=n.h||{};for(const t of ot(Object.keys(l)))t in s||G(o,t,l[t],void 0,e,n.i);for(const t of ot(Object.keys(s)))G(o,t,l[t],s[t],e,n.i)};function ot(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var lt=!1,st=!1,it=!1,rt=!1,ct=[],ft=[],ut=(t,n,e)=>{var o;const l=n.m[e];let s,i,r,c=0;if(lt||(it=!0,"slot"===l.O&&(l.i|=l.m?2:1)),null!=l.v)s=l.S=f.document.createTextNode(l.v);else if(1&l.i)s=l.S=f.document.createTextNode(""),et(null,l,rt);else{if(rt||(rt="svg"===l.O),!f.document)throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(s=l.S=f.document.createElementNS(rt?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!lt&&2&l.i?"slot-fb":l.O),rt&&"foreignObject"===l.O&&(rt=!1),et(null,l,rt),null!=(u=L)&&void 0!==u&&s["s-si"]!==L&&s.classList.add(s["s-si"]=L),l.m){const n="template"===l.O?s.content:s;for(c=0;c<l.m.length;++c)i=ut(t,l,c),i&&n.appendChild(i)}"svg"===l.O?rt=!1:"foreignObject"===s.tagName&&(rt=!0)}var u;return s["s-hn"]=R,3&l.i&&(s["s-sr"]=!0,s["s-cr"]=F,s["s-sn"]=l.j||"",s["s-rf"]=null==(o=l.h)?void 0:o.ref,function(t){if(t.assignedElements||t.assignedNodes||!t["s-sr"])return;const n=n=>function(t){const e=[],o=this["s-sn"];(null==t?void 0:t.flatten)&&console.error("\n Flattening is not supported for Stencil non-shadow slots.\n You can use `.childNodes` to nested slot fallback content.\n If you have a particular use case, please open an issue on the Stencil repo.\n ");const l=this["s-cr"].parentElement;return(l.__childNodes?l.childNodes:(t=>{const n=[];for(let e=0;e<t.length;e++){const o=t[e]["s-nr"]||void 0;o&&o.isConnected&&n.push(o)}return n})(l.childNodes)).forEach((t=>{o===A(t)&&e.push(t)})),n?e.filter((t=>1===t.nodeType)):e}.bind(t);t.assignedElements=n(!0),t.assignedNodes=n(!1)}(s),r=t&&t.m&&t.m[e],r&&r.O===l.O&&t.S&&at(t.S),Ot(F,s,n.S,null==t?void 0:t.S)),s},at=t=>{a.i|=1;const n=t.closest(R.toLowerCase());if(null!=n){const e=Array.from(n.__childNodes||n.childNodes).find((t=>t["s-cr"])),o=Array.from(t.__childNodes||t.childNodes);for(const t of e?o.reverse():o)null!=t["s-sh"]&&(jt(n,t,null!=e?e:null),t["s-sh"]=void 0,it=!0)}a.i&=-2},dt=(t,n)=>{a.i|=1;const e=Array.from(t.__childNodes||t.childNodes);if(t["s-sr"]){let n=t;for(;n=n.nextSibling;)n&&n["s-sn"]===t["s-sn"]&&n["s-sh"]===R&&e.push(n)}for(let t=e.length-1;t>=0;t--){const o=e[t];o["s-hn"]!==R&&o["s-ol"]&&(jt(bt(o).parentNode,o,bt(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,it=!0),n&&dt(o,n)}a.i&=-2},pt=(t,n,e,o,l,s)=>{let i,r=t["s-cr"]&&t["s-cr"].parentNode||t;for(r.shadowRoot&&r.tagName===R&&(r=r.shadowRoot),"template"===e.O&&(r=r.content);l<=s;++l)o[l]&&(i=ut(null,e,l),i&&(o[l].S=i,jt(r,i,bt(n))))},vt=(t,n,e)=>{for(let o=n;o<=e;++o){const n=t[o];if(n){const t=n.S;gt(n),t&&(st=!0,t["s-ol"]?t["s-ol"].remove():dt(t,!0),t.remove())}}},ht=(t,n,e=!1)=>t.O===n.O&&("slot"===t.O?t.j===n.j:e?(e&&!t.$&&n.$&&(t.$=n.$),!0):t.$===n.$),bt=t=>t&&t["s-ol"]||t,mt=(t,n,e=!1)=>{const o=n.S=t.S,l=t.m,s=n.m,i=n.O,r=n.v;let c;null==r?(rt="svg"===i||"foreignObject"!==i&&rt,"slot"!==i||lt||t.j!==n.j&&(n.S["s-sn"]=n.j||"",at(n.S.parentElement)),et(t,n,rt),null!==l&&null!==s?((t,n,e,o,l=!1)=>{let s,i,r=0,c=0,f=0,u=0,a=n.length-1,d=n[0],p=n[a],v=o.length-1,h=o[0],b=o[v];const m="template"===e.O?t.content:t;for(;r<=a&&c<=v;)if(null==d)d=n[++r];else if(null==p)p=n[--a];else if(null==h)h=o[++c];else if(null==b)b=o[--v];else if(ht(d,h,l))mt(d,h,l),d=n[++r],h=o[++c];else if(ht(p,b,l))mt(p,b,l),p=n[--a],b=o[--v];else if(ht(d,b,l))"slot"!==d.O&&"slot"!==b.O||dt(d.S.parentNode,!1),mt(d,b,l),jt(m,d.S,p.S.nextSibling),d=n[++r],b=o[--v];else if(ht(p,h,l))"slot"!==d.O&&"slot"!==b.O||dt(p.S.parentNode,!1),mt(p,h,l),jt(m,p.S,d.S),p=n[--a],h=o[++c];else{for(f=-1,u=r;u<=a;++u)if(n[u]&&null!==n[u].$&&n[u].$===h.$){f=u;break}f>=0?(i=n[f],i.O!==h.O?s=ut(n&&n[c],e,c):(mt(i,h,l),n[f]=void 0,s=i.S),h=o[++c]):(s=ut(n&&n[c],e,c),h=o[++c]),s&&jt(bt(d.S).parentNode,s,bt(d.S))}r>a?pt(t,null==o[v+1]?null:o[v+1].S,e,o,c,v):c>v&&vt(n,r,a)})(o,l,n,s,e):null!==s?(null!==t.v&&(o.textContent=""),pt(o,null,n,s,0,s.length-1)):!e&&null!==l&&vt(l,0,l.length-1),rt&&"svg"===i&&(rt=!1)):(c=o["s-cr"])?c.parentNode.textContent=r:t.v!==r&&(o.data=r)},yt=[],$t=t=>{let n,e,o;const l=t.__childNodes||t.childNodes;for(const t of l){if(t["s-sr"]&&(n=t["s-cr"])&&n.parentNode){e=n.parentNode.__childNodes||n.parentNode.childNodes;const l=t["s-sn"];for(o=e.length-1;o>=0;o--)if(n=e[o],!n["s-cn"]&&!n["s-nr"]&&n["s-hn"]!==t["s-hn"]&&(!n["s-sh"]||n["s-sh"]!==t["s-hn"]||""!==l&&A(n)===l))if(_(n,l)){let e=yt.find((t=>t.k===n));st=!0,n["s-sn"]=n["s-sn"]||l,e?(e.k["s-sh"]=t["s-hn"],e.N=t):(n["s-sh"]=t["s-hn"],yt.push({N:t,k:n})),n["s-sr"]&&yt.map((t=>{_(t.k,n["s-sn"])&&(e=yt.find((t=>t.k===n)),e&&!t.N&&(t.N=e.N))}))}else yt.some((t=>t.k===n))||yt.push({k:n})}1===t.nodeType&&$t(t)}},gt=t=>{t.h&&t.h.ref&&ct.push((()=>t.h.ref(null))),t.m&&t.m.map(gt)},wt=(t,n)=>{ft.push((()=>t(n)))},jt=(t,n,e,o)=>{if("string"==typeof n["s-sn"]&&n["s-sr"]&&n["s-cr"])Ot(n["s-cr"],n,t,n.parentElement);else if("string"==typeof n["s-sn"]){t.insertBefore(n,e);const{slotNode:l}=function(t,n){var e;if(!(n=n||(null==(e=t["s-ol"])?void 0:e.parentElement)))return{slotNode:null,slotName:""};const o=t["s-sn"]=A(t)||"";return{slotNode:M(C(n,"childNodes"),n.tagName,o)[0],slotName:o}}(n);return l&&!o&&l.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),n}return(null==t?void 0:t.__insertBefore)?t.__insertBefore(n,e):null==t?void 0:t.insertBefore(n,e)};function Ot(t,n,e,o){var l,s;let i;if(t&&"string"==typeof n["s-sn"]&&n["s-sr"]&&t.parentNode&&t.parentNode["s-sc"]&&(i=n["s-si"]||t.parentNode["s-sc"])){const t=n["s-sn"],r=n["s-hn"];if(null==(l=e.classList)||l.add(i+"-s"),o&&(null==(s=o.classList)?void 0:s.contains(i+"-s"))){let n=(o.__childNodes||o.childNodes)[0],e=!1;for(;n;){if(n["s-sn"]!==t&&n["s-hn"]===r&&n["s-sr"]){e=!0;break}n=n.nextSibling}e||o.classList.remove(i+"-s")}}}var St=(t,n,e=!1)=>{var o,l,s,i,r;const c=t.$hostElement$,u=t.o,d=t.M||U(null,null);var p;const v=(p=n)&&p.O===W?n:P(null,null,n);if(R=c.tagName,u._&&(v.h=v.h||{},u._.forEach((([t,n])=>{v.h[n]=c[t]}))),e&&v.h)for(const t of Object.keys(v.h))c.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(v.h[t]=c[t]);if(v.O=null,v.i|=4,t.M=v,v.S=d.S=c.shadowRoot||c,L=c["s-sc"],lt=!(!(1&u.i)||128&u.i),F=c["s-cr"],st=!1,mt(d,v,e),a.i|=1,it){$t(v.S);for(const t of yt){const n=t.k;if(!n["s-ol"]&&f.document){const t=f.document.createTextNode("");t["s-nr"]=n,jt(n.parentNode,n["s-ol"]=t,n,e)}}for(const t of yt){const n=t.k,r=t.N;if(1===n.nodeType&&e&&(n["s-ih"]=null!=(o=n.hidden)&&o),r){const t=r.parentNode;let o=r.nextSibling;if(o&&1===o.nodeType){let e=null==(l=n["s-ol"])?void 0:l.previousSibling;for(;e;){let l=null!=(s=e["s-nr"])?s:null;if(l&&l["s-sn"]===n["s-sn"]&&t===(l.__parentNode||l.parentNode)){for(l=l.nextSibling;l===n||(null==l?void 0:l["s-sr"]);)l=null==l?void 0:l.nextSibling;if(!l||!l["s-nr"]){o=l;break}}e=e.previousSibling}}if((!o&&t!==(n.__parentNode||n.parentNode)||(n.__nextSibling||n.nextSibling)!==o)&&n!==o){if(jt(t,n,o,e),8===n.nodeType&&n.nodeValue.startsWith("s-nt-")){const t=f.document.createTextNode(n.nodeValue.replace(/^s-nt-/,""));t["s-hn"]=n["s-hn"],t["s-sn"]=n["s-sn"],t["s-sh"]=n["s-sh"],t["s-sr"]=n["s-sr"],t["s-ol"]=n["s-ol"],t["s-ol"]["s-nr"]=t,jt(n.parentNode,t,n,e),n.parentNode.removeChild(n)}1===n.nodeType&&"SLOT-FB"!==n.tagName&&(n.hidden=null!=(i=n["s-ih"])&&i)}n&&"function"==typeof r["s-rf"]&&r["s-rf"](r)}else 1===n.nodeType&&(n.hidden=!0)}}if(st&&E(v.S),a.i&=-2,yt.length=0,!lt&&!(1&u.i)&&c["s-cr"]){const t=v.S.__childNodes||v.S.childNodes;for(const n of t)if(n["s-hn"]!==R&&!n["s-sh"])if(e&&null==n["s-ih"]&&(n["s-ih"]=null!=(r=n.hidden)&&r),1===n.nodeType)n.hidden=!0;else if(3===n.nodeType&&n.nodeValue.trim()){const t=f.document.createComment("s-nt-"+n.nodeValue);t["s-sn"]=n["s-sn"],jt(n.parentNode,t,n,e),n.parentNode.removeChild(n)}}F=void 0,ct.forEach((t=>t())),ct.length=0,ft.forEach((t=>t())),ft.length=0},kt=(t,n)=>{if(n&&!t.A&&n["s-p"]){const e=n["s-p"].push(new Promise((o=>t.A=()=>{n["s-p"].splice(e-1,1),o()})))}},Nt=(t,n)=>{if(t.i|=16,4&t.i)return void(t.i|=512);kt(t,t.C);const e=()=>Et(t,n);if(!n)return O(e);queueMicrotask((()=>{e()}))},Et=(t,n)=>{const e=t.$hostElement$,o=e;if(!o)throw new Error(`Can't render component <${e.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let l;return l=Dt(o,n?"componentWillLoad":"componentWillUpdate",void 0,e),l=Mt(l,(()=>Dt(o,"componentWillRender",void 0,e))),Mt(l,(()=>_t(t,o,n)))},Mt=(t,n)=>xt(t)?t.then(n).catch((t=>{console.error(t),n()})):n(),xt=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,_t=async(t,n,e)=>{var o;const l=t.$hostElement$,s=l["s-rc"];e&&(t=>{const n=t.o,e=t.$hostElement$,o=n.i,l=((t,n)=>{var e,o,l;const s=D(n),i=r.get(s);if(!f.document)return s;if(t=11===t.nodeType?t:f.document,i)if("string"==typeof i){let l,r=T.get(t=t.head||t);if(r||T.set(t,r=new Set),!r.has(s)){l=f.document.createElement("style"),l.textContent=i;const c=null!=(e=a.L)?e:function(){var t,n,e;return null!=(e=null==(n=null==(t=f.document.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?e:void 0}();if(null!=c&&l.setAttribute("nonce",c),!(1&n.i))if("HEAD"===t.nodeName){const n=t.querySelectorAll("link[rel=preconnect]"),e=n.length>0?n[n.length-1].nextSibling:t.querySelector("style");t.insertBefore(l,(null==e?void 0:e.parentNode)===t?e:null)}else if("host"in t)if(p){const n=new(null!=(o=t.defaultView)?o:t.ownerDocument.defaultView).CSSStyleSheet;n.replaceSync(i),v?t.adoptedStyleSheets.unshift(n):t.adoptedStyleSheets=[n,...t.adoptedStyleSheets]}else{const n=t.querySelector("style");n?n.textContent=i+n.textContent:t.prepend(l)}else t.append(l);1&n.i&&t.insertBefore(l,null),4&n.i&&(l.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),r&&r.add(s)}}else{let n=T.get(t);if(n||T.set(t,n=new Set),!n.has(s)){const e=null!=(l=t.defaultView)?l:t.ownerDocument.defaultView;let o;if(i.constructor===e.CSSStyleSheet)o=i;else{o=new e.CSSStyleSheet;for(let t=0;t<i.cssRules.length;t++)o.insertRule(i.cssRules[t].cssText,t)}v?t.adoptedStyleSheets.push(o):t.adoptedStyleSheets=[...t.adoptedStyleSheets,o],n.add(s)}}return s})(e.shadowRoot?e.shadowRoot:e.getRootNode(),n);10&o&&(e["s-sc"]=l,e.classList.add(l+"-h"))})(t);Ct(t,n,l,e),s&&(s.map((t=>t())),l["s-rc"]=void 0);{const n=null!=(o=l["s-p"])?o:[],e=()=>Ft(t);0===n.length?e():(Promise.all(n).then(e).catch(e),t.i|=4,n.length=0)}},At=null,Ct=(t,n,e,o)=>{try{At=n,n=n.render(),t.i&=-17,t.i|=2,St(t,n,o)}catch(n){i(n,t.$hostElement$)}return At=null,null},Lt=()=>At,Ft=t=>{const n=t.$hostElement$,e=n,o=t.C;Dt(e,"componentDidRender",void 0,n),64&t.i?Dt(e,"componentDidUpdate",void 0,n):(t.i|=64,Ht(n),Dt(e,"componentDidLoad",void 0,n),t.F(n),o||Tt()),t.A&&(t.A(),t.A=void 0),512&t.i&&j((()=>Nt(t,!1))),t.i&=-517},Rt=t=>{var n;{const e=l(t),o=null==(n=null==e?void 0:e.$hostElement$)?void 0:n.isConnected;return o&&2==(18&e.i)&&Nt(e,!1),o}},Tt=()=>{j((()=>Z(f,"appload",{detail:{namespace:"tet-components"}})))},Dt=(t,n,e,o)=>{if(t&&t[n])try{return t[n](e)}catch(t){i(t,o)}},Ht=t=>t.classList.add("hydrated"),Pt=(t,n,e,o)=>{const s=l(t);if(!s)return;const r=t,c=s.l.get(n),f=s.i,u=r;e=I(e,o.t[n][0]);const a=Number.isNaN(c)&&Number.isNaN(e);if(e!==c&&!a){if(s.l.set(n,e),o.R){const t=o.R[n];t&&t.map((t=>{try{const[[o,l]]=Object.entries(t);(128&f||1&l)&&(u?u[o](e,c,n):s.T.push((()=>{s.D[o](e,c,n)})))}catch(t){i(t,r)}}))}if(2&f){if(u.componentShouldUpdate&&!1===u.componentShouldUpdate(e,c,n)&&!(16&f))return;16&f||Nt(s,!1)}}},Ut=(t,e)=>{var o,s;const i=t.prototype;{t.watchers&&!e.R&&(e.R=z(t.watchers)),t.deserializers&&!e.H&&(e.H=t.deserializers),t.serializers&&!e.P&&(e.P=t.serializers);const r=Object.entries(null!=(o=e.t)?o:{});r.map((([t,[o]])=>{if(31&o||32&o){const{get:s,set:r}=n(i,t)||{};s&&(e.t[t][0]|=2048),r&&(e.t[t][0]|=4096),Object.defineProperty(i,t,{get(){return s?s.apply(this):(n=t,l(this).l.get(n));var n},configurable:!0,enumerable:!0}),Object.defineProperty(i,t,{set(n){const s=l(this);if(s){if(r)return void 0===(32&o?this[t]:s.$hostElement$[t])&&s.l.get(t)&&(n=s.l.get(t)),r.apply(this,[I(n,o)]),void Pt(this,t,n=32&o?this[t]:s.$hostElement$[t],e);Pt(this,t,n,e)}}})}}));{const n=new Map;i.attributeChangedCallback=function(t,o,s){a.jmp((()=>{var c;const f=n.get(t),u=l(this);if(this.hasOwnProperty(f),i.hasOwnProperty(f)&&"number"==typeof this[f]&&this[f]==s)return;if(null==f){const n=null==u?void 0:u.i;if(u&&n&&!(8&n)&&s!==o){const l=this,i=null==(c=e.R)?void 0:c[t];null==i||i.forEach((e=>{const[[i,r]]=Object.entries(e);null!=l[i]&&(128&n||1&r)&&l[i].call(l,s,o,t)}))}return}const a=r.find((([t])=>t===f)),d=a?a[1][0]:0,p=4&d;if(512&d&&8&d&&!H(this[f])&&(null==(v=this[f])||!1===v?null:!0===v?"":String(v))===s)return;var v;const h=p&&null===s&&void 0===this[f];p&&(s=null!==s&&"false"!==s);const b=this[f],m=Object.getOwnPropertyDescriptor(i,f);h||s==b||m.get&&!m.set||(this[f]=s)}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(s=e.R)?s:{}),...r.filter((([t,n])=>31&n[0])).map((([t,o])=>{var l;const s=o[1]||t;return n.set(s,t),512&o[0]&&(null==(l=e._)||l.push([t,s])),s}))]))}}return t},Wt=async(t,n,e)=>{let o;try{if(!(32&n.i)&&(n.i|=32,n.i&=-1025,o=t.constructor,customElements.whenDefined(t.localName).then((()=>n.i|=128)),o&&o.style)){let t;"string"==typeof o.style&&(t=o.style);const n=D(e);if(!r.has(n)){const o=()=>{};((t,n,e)=>{let o=r.get(t);p&&e?(o=o||new CSSStyleSheet,"string"==typeof o?o=n:o.replaceSync(n)):o=n,r.set(t,o)})(n,t,!!(1&e.i)),o()}}const l=n.C,s=()=>Nt(n,!0);l&&l["s-rc"]?l["s-rc"].push(s):s()}catch(e){i(e,t),n.A&&(n.A(),n.A=void 0),!n.F||1024&n.i||n.F(t)}},Bt=(t,n)=>{const e={i:n[0],p:n[1]};try{e.t=n[2],e.U=n[3],e.R=z(t.R),e.H=t.H,e.P=t.P,e._=[];const s=t.prototype.connectedCallback,i=t.prototype.disconnectedCallback;return Object.assign(t.prototype,{__hasHostListenerAttached:!1,__registerHost(){((t,n)=>{const e={i:0,$hostElement$:t,o:n,l:new Map,W:new Map};e.B=new Promise((t=>e.F=t)),t["s-p"]=[],t["s-rc"]=[];const l=e;t.__stencil__getHostRef=()=>l,512&n.i&&o(t,e)})(this,e)},connectedCallback(){if(!this.__hasHostListenerAttached){const t=l(this);if(!t)return;qt(this,t,e.U),this.__hasHostListenerAttached=!0}(t=>{if(!(1&a.i)){const n=l(t);if(!n)return;const e=n.o,o=()=>{};if(1&n.i)qt(t,n,e.U),(null==n?void 0:n.D)||(1024&n.i?setTimeout((()=>Wt(t,n,e)),1e3):(null==n?void 0:n.B)&&n.B.then((()=>{})));else{n.i|=1,12&e.i&&(t=>{if(!f.document)return;const n=t["s-cr"]=f.document.createComment("");n["s-cn"]=!0,jt(t,n,t.firstChild)})(t);{let e=t;for(;e=e.parentNode||e.host;)if(e["s-p"]){kt(n,n.C=e);break}}e.t&&Object.entries(e.t).map((([n,[e]])=>{if(31&e&&Object.prototype.hasOwnProperty.call(t,n)){const e=t[n];delete t[n],t[n]=e}})),Wt(t,n,e)}o()}})(this),s&&s.call(this)},disconnectedCallback(){(async t=>{if(!(1&a.i)){const n=l(t);(null==n?void 0:n.V)&&(n.V.map((t=>t())),n.V=void 0)}T.has(t)&&T.delete(t),t.shadowRoot&&T.has(t.shadowRoot)&&T.delete(t.shadowRoot)})(this),i&&i.call(this)},__attachShadow(){if(this.shadowRoot){if("open"!==this.shadowRoot.mode)throw new Error(`Unable to re-use existing shadow root for ${e.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else N.call(this,e)}}),Object.defineProperty(t,"is",{value:e.p,configurable:!0}),Ut(t,e)}catch(n){return i(n),t}},Vt=(t,n)=>n,qt=(t,n,e)=>{e&&f.document&&e.map((([e,o,l])=>{const s=It(f.document,t,e),i=zt(n,l),r=Yt(e);a.ael(s,o,i,r),(n.V=n.V||[]).push((()=>a.rel(s,o,i,r)))}))},zt=(t,n)=>e=>{try{t.$hostElement$[n](e)}catch(n){i(n,t.$hostElement$)}},It=(t,n,e)=>4&e?t:8&e?f:16&e?t.body:n,Yt=t=>d?{passive:!!(1&t),capture:!!(2&t)}:!!(2&t),Zt=t=>a.L=t,Gt=t=>Object.assign(a,t),Jt=new WeakMap;function Kt(t,n){let e=Jt.get(n);e||(e={i:0,o:{i:0,p:n.tagName},$hostElement$:n},Jt.set(n,e)),St(e,t)}function Qt(t){return t}export{t as E,Vt as F,u as H,Zt as a,Gt as b,W as c,Y as d,Lt as e,Rt as f,S as g,P as h,Bt as p,Kt as r,k as s,Qt as t}
@@ -1 +0,0 @@
1
- import{p as t,H as o,d as e,h as i,c as n,t as r}from"./p-BTndlvfE.js";import{a}from"./p-BVdI6xyV.js";import{i as s,a as l,b as c}from"./p-_2UzwYR8.js";import{r as f}from"./p-DEnDpXiZ.js";import{d as p}from"./p-DNZTxThN.js";import{d as m}from"./p-DKBs405f.js";const d=t=>t.toLowerCase().trim();function h(t){return!!t&&(!("string"!=typeof t.h||!["a","button","input","select","textarea"].includes(t.h.toLowerCase()))||"object"==typeof t.o&&null!==t.o&&void 0!==t.o.tabindex&&-1!==t.o.tabindex||!!Array.isArray(t.i)&&t.i.some((t=>h(t))))}const u=t(class extends o{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.optionSelected=e(this,"optionSelected"),this.activeComponentStateChanged=e(this,"activeComponentStateChanged"),this.searchTextSubmitted=e(this,"searchTextSubmitted")}get rootElement(){return this}internalUniqueId;inputElement;optionsContainer;activeOptionElement;noOptionsElement;skipNextFilterValueChange=!1;lastFilteredValue="";typingDebounceTime=250;showOptionsOnEscapeClear=!1;defaultOptions=[];optionsFilterAction=()=>[];noOptionsMessage;noOptionsRenderFunction=()=>null;customOptionRenderFunction;clearCallback;finishedLoading;newStyle=!1;highlightOptionsKeyword=!1;darkTheme=!1;optionsIcon="";redesignedStyle=!1;filteredOptions=[];activeOption;showOptions=!1;showLoader=!1;isKeyboardFocus=!0;optionSelected;activeComponentStateChanged;searchTextSubmitted;componentDidLoad(){this.internalUniqueId=f(12);const t=this.rootElement?.querySelector(".autocomplete-input");var o;null!==t&&(this.inputElement=(o={value:t=>{this.skipNextFilterValueChange||this.debouncedUpdateFilteredOptions(t),this.skipNextFilterValueChange=!1}},new Proxy(t,{set:(t,e,i)=>(e in o&&o[e](i),t[e]=i,!0),get:(t,o)=>"origin"===o?t:t[o]}))),this.inputElement?.origin.addEventListener("input",this.onInputChange),this.inputElement?.origin.addEventListener("focus",this.tryToDisplayOptions)}disconnectedCallback(){this.inputElement?.origin.removeEventListener("input",this.onInputChange),this.inputElement?.origin.removeEventListener("focus",this.tryToDisplayOptions),this.debouncedUpdateFilteredOptions.cancel()}onPointerUp(t){t.stopPropagation()}onWindowPointerUp(t){"mouse"!==t.pointerType&&this.activeComponentStateChanged.emit(null)}onMouseDown(){this.isKeyboardFocus=!1}onComponentActiveStateChange({detail:t}){t===this.internalUniqueId&&null!==t||!this.showOptions||(this.showOptions=!1)}async handleKeyDown(t){switch(t.key){case"Escape":await this.clear(this.showOptionsOnEscapeClear);break;case"ArrowDown":if(this.optionsContainer&&this.filteredOptions.length){this.isKeyboardFocus=!0,this.handleInputFocusOutline();const t=-1,o=this.filteredOptions.length-1,e=this.filteredOptions.indexOf(this.activeOption),[i]=this.filteredOptions;if(e===t||e===o)return this.optionsContainer.scrollTop=0,void(this.activeOption=i);this.activeOption=this.filteredOptions[e+1];const n=this.activeOptionElement.nextSibling;this.optionsContainer.scrollTop=n.offsetTop-n.offsetHeight}break;case"ArrowUp":if(this.optionsContainer&&this.filteredOptions.length&&this.activeOption){this.isKeyboardFocus=!0,this.handleInputFocusOutline();const t=this.filteredOptions.length-1,o=this.filteredOptions.indexOf(this.activeOption);if(0===o)return this.optionsContainer.scrollTop=this.optionsContainer.scrollHeight,void(this.activeOption=this.filteredOptions[t]);this.activeOption=this.filteredOptions[o-1];const e=this.activeOptionElement.previousSibling;this.optionsContainer.scrollTop=e.offsetTop-2*e.offsetHeight}break;case"Enter":this.activeOption?(this.getOptionSelectAction(this.activeOption)(t),this.handleInputFocusOutline(!1)):this.searchTextSubmitted.emit();break;default:if(this.showOptions||"Tab"===t.key)return;this.showOptions=!0}}handleNoOptionsFocusOut=t=>{const e=t.relatedTarget;e&&e instanceof o&&e.classList.contains("icon-right")||(this.noOptionsElement?.removeEventListener("focusout",this.handleNoOptionsFocusOut),this.showOptions=!1)};handleFocusOut(t){const e=t.relatedTarget;return s(this.noOptionsRenderFunction)&&null!==this.noOptionsRenderFunction()&&!this.filteredOptions.length&&e&&this.rootElement.contains(e)&&h(this.noOptionsRenderFunction())?(this.noOptionsElement?.removeEventListener("focusout",this.handleNoOptionsFocusOut),void this.noOptionsElement?.addEventListener("focusout",this.handleNoOptionsFocusOut)):e&&e instanceof o&&e.classList.contains("icon-right")?(this.showOptions=!1,void(this.activeOption=null)):void(this.showOptions&&(e&&this.rootElement.contains(e)||(this.showOptions=!1)))}async clear(t=!1){this.inputElement&&(this.inputElement.value="",this.showOptions=(!this.showOptions||!t)&&t,this.handleInputFocusOutline(!1),this.clearCallback&&this.clearCallback())}async focusOnNativeInput(){this.inputElement&&(this.inputElement.origin.focus(),this.showOptions=!0)}async selectOption(t){this.optionSelected.emit(t),this.showOptions=!1,this.activeOption=null,this.inputElement&&(this.skipNextFilterValueChange=!0,this.inputElement.value=t.label)}handleInputFocusOutline=(t=!0)=>{const o=this.rootElement?.querySelector("input");o instanceof HTMLInputElement&&this.isKeyboardFocus&&(t?(o.focus(),requestAnimationFrame((()=>o.classList.remove("keyboard-focus")))):o.classList.add("keyboard-focus"))};tryToExecuteFinishedLoading=()=>{this.finishedLoading instanceof Function&&this.finishedLoading()};tryToDisplayOptions=()=>{this.showOptions=!0,this.activeComponentStateChanged.emit(this.internalUniqueId),this.inputElement&&this.updateFilteredOptions(this.inputElement?.value)};onInputChange=t=>{this.debouncedUpdateFilteredOptions(t.target.value)};updateFilteredOptions=t=>{this.activeOption=null;const o=d(t??"");if(this.defaultOptions.length&&!o)return this.filteredOptions=this.defaultOptions,this.tryToExecuteFinishedLoading();if(!o||this.lastFilteredValue===o)return this.filteredOptions.length&&!o&&(this.filteredOptions=[]),this.lastFilteredValue=o,this.tryToExecuteFinishedLoading();const e=this.optionsFilterAction(o);if(l(e))return this.showLoader=!0,this.filteredOptions=[],void e.then((t=>{this.filteredOptions=t,this.lastFilteredValue=o})).finally((()=>{this.showLoader=!1,requestAnimationFrame((()=>this.tryToExecuteFinishedLoading()))}));this.filteredOptions=e,this.lastFilteredValue=o,this.tryToExecuteFinishedLoading()};debouncedUpdateFilteredOptions=a((t=>{this.updateFilteredOptions(t)}),this.typingDebounceTime);onOptionSelect=async(t,o)=>{await this.selectOption({...o,userInteraction:!0,_originalEvent:t}),t.stopPropagation()};getOptionSelectAction=t=>s(t?.clickCallback)?o=>t.clickCallback(o,t):o=>this.onOptionSelect(o,t);getNoOptionsContent=()=>s(this.noOptionsRenderFunction)&&this.noOptionsRenderFunction()||this.noOptionsMessage;renderOptionsLoader=()=>{if(this.showLoader&&!this.newStyle&&!this.redesignedStyle)return i("ul",{class:"autocomplete-options"},i("li",{class:{"autocomplete-options-loader":!0,dark:this.darkTheme}},i("tet-loader",null)))};renderNoOptionsMessage=()=>{const t=this.getNoOptionsContent(),o={};return c(t)||(o.innerHTML=t),i("li",{class:{"autocomplete-options-none-message":!0,dark:this.darkTheme},...o,"aria-live":"polite",ref:t=>this.noOptionsElement=t},c(t)?t:null)};renderOption=(t,o)=>{const{label:e,ignoreHighlighting:n,cssPart:r}=t,a=this.getOptionSelectAction(t);let s=t;if(this.highlightOptionsKeyword&&!n){const o=t=>t.replaceAll(/[.*+?^${}()|[\]\\]/g,String.raw`\$&`),i=this.lastFilteredValue.trim().split(/\s+/).filter(Boolean).map((t=>new RegExp(String.raw`(<strong\b[^>]*>[\s\S]*?<\/strong\s*>|&[^;]+;)|(${o(t)})`,"ig")));let n=e;i.forEach((t=>{n=n.replace(t,((t,o,e)=>e?`<strong>${e}</strong>`:t))})),s={...t,label:n}}return i("li",{class:{"autocomplete-options-item":!0,active:t===this.activeOption,dark:this.darkTheme,"focus-visible":t===this.activeOption&&this.isKeyboardFocus},part:r,onClick:a,onKeyDown:o=>{"Enter"===o.key&&a(t)},ref:o=>t===this.activeOption&&(this.activeOptionElement=o),id:`${this.internalUniqueId}-${o}`,role:"option"},this.renderOptionByType(s))};renderOptionByType(t){switch(!0){case"manual-input"===t.value:return i("span",{class:{"tet-link":!0,dark:this.darkTheme,"manual-input":!0,"option-cta":!0},innerHTML:t.label});case"more-results"===t.value:return i("span",{class:{"tet-link":!0,dark:this.darkTheme,"more-results":!0,"option-cta":!0},innerHTML:t.label});case s(this.customOptionRenderFunction):return this.customOptionRenderFunction(t);default:return[this.optionsIcon&&(this.newStyle||this.redesignedStyle)&&i("tet-icon",{class:"icon",name:this.optionsIcon}),i("span",{innerHTML:t.label})]}}renderOptions=t=>{if(!this.showOptions)return;const o=!t.length&&!this.showLoader&&this.inputElement?.value&&!!this.getNoOptionsContent();return o||t.length?i("div",{class:{"autocomplete-options-container":!0,dark:this.darkTheme,"new-style":this.newStyle||this.redesignedStyle,"redesigned-style":this.redesignedStyle},part:"autocomplete-options-container",role:"combobox","aria-expanded":this.showOptions,"aria-activedescendant":this.activeOption?`${this.internalUniqueId}-${this.filteredOptions.indexOf(this.activeOption)}`:void 0},i("ul",{class:"autocomplete-options",ref:t=>this.optionsContainer=t,role:"listbox",tabindex:"-1"},o&&this.renderNoOptionsMessage(),t.map(this.renderOption))):void 0};render(){return i(n,{key:"4013761b4efc432227e013802f867f637b075f25",class:{autocomplete:!0,dark:this.darkTheme}},i("slot",{key:"c8ca2da46f114e9d6257d53c44b3739e8f0a87cf"}),this.renderOptionsLoader(),this.renderOptions(this.filteredOptions))}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)}:root{--tet-link-color:var(--tc-text-primary);--tet-link-color-hover:var(--tc-text-secondary);--tet-link-color-active:var(--tc-text-tertiary);--tet-link-color-focus:var(--tc-blue-40);--tet-link-color-disabled:var(--tc-button-text-inverse-disabled);--tet-link-secondary-color:var(--tc-text-secondary);--tet-link-secondary-color-hover:var(--tc-text-primary)}.tet-link,.tet-link__arrow{text-decoration-line:underline;text-decoration-style:solid;text-decoration-skip-ink:none;text-decoration-thickness:auto;text-underline-offset:auto;text-underline-position:from-font;color:var(--tet-link-color);position:relative;line-height:1.5rem;cursor:pointer}.tet-link.dark,.tet-link__arrow.dark{--tet-link-color:var(--tc-text-primary-dark);--tet-link-color-hover:var(--tc-text-secondary-dark);--tet-link-color-active:var(--tc-text-tertiary-dark);--tet-link-color-focus:var(--tc-blue-40-dark);--tet-link-color-disabled:var(--tc-button-text-inverse-disabled-dark);--tet-link-secondary-color:var(--tc-text-secondary-dark);--tet-link-secondary-color-hover:var(--tc-text-primary-dark)}.tet-link.tet-link--secondary,.tet-link__arrow.tet-link--secondary{--tet-link-color:var(--tet-link-secondary-color);--tet-link-color-hover:var(--tet-link-secondary-color-hover)}.tet-link tet-icon,.tet-link__arrow tet-icon{--icon-color:var(--tet-link-color)}.tet-link:hover,.tet-link__arrow:hover{color:var(--tet-link-color-hover)}.tet-link:hover tet-icon,.tet-link__arrow:hover tet-icon{--icon-color:var(--tet-link-color-hover)}.tet-link:active,.tet-link__arrow:active{color:var(--tet-link-color-active)}.tet-link:active tet-icon,.tet-link__arrow:active tet-icon{--icon-color:var(--tet-link-color-active)}.tet-link:focus-visible,.tet-link__arrow:focus-visible{outline:0.125rem solid var(--tc-blue-40);outline-offset:0.125rem;transition:outline 0s;outline-color:var(--tet-link-color-focus);border-radius:0.125rem}.tet-link.disabled,.tet-link__arrow.disabled{color:var(--tet-link-color-disabled);pointer-events:none;cursor:auto}.tet-link.disabled tet-icon,.tet-link__arrow.disabled tet-icon{--icon-color:var(--tet-link-color-disabled)}.tet-link.disabled:focus-visible,.tet-link__arrow.disabled:focus-visible{outline:none}.tet-link tet-icon,.tet-link__arrow tet-icon{padding-left:0.25rem;padding-right:0.25rem;--icon-container-display:inline-block}.tet-link__arrow{padding-right:1.5rem}.tet-link__arrow::after{content:"--\x3e";position:absolute;white-space:nowrap;display:inline-block;text-decoration:none;padding-left:0.25rem;letter-spacing:initial;transition:all 0.15s ease-in}.tet-link__arrow:hover::after{padding-left:0.375rem}:host{--option-padding:0.5rem 1rem;--options-max-height:15.625rem;--options-max-height-new-style:12.25rem;--option-background-color:var(--tc-layer-secondary);--option-hover-background-color:var(--tc-menu-item-hover);--option-pressed-background-color:var(--tc-menu-item-pressed);--option-item-icon-color:var(--tc-icon-secondary);--option-item-icon-hover-color:var(--tc-icon-primary);--option-text-color:var(--tc-text-primary);--option-container-border-color:var(--tc-border-secondary);--option-text-highlight-color:var(--tc-yellow-20);display:block;position:relative}::slotted(.autocomplete-input){width:100%}.autocomplete-options{overflow-y:auto;list-style:none;max-height:var(--options-max-height);--item-icon-color:var(--option-item-icon-color)}.autocomplete-options-container{position:absolute;z-index:20;width:100%;background-color:var(--option-background-color);margin:0;padding:0;border-radius:0.1875rem;box-shadow:0 0 0 0.0625rem rgba(5, 29, 89, 0.16), 0 0.25rem 0.5rem rgba(5, 29, 89, 0.25);font-family:var(--text-font);animation:slideDown 0.125s ease-out 1;animation-fill-mode:forwards}.autocomplete-options-container .autocomplete-options{padding:0.375rem 0}.autocomplete-options-container .autocomplete-options:has(.autocomplete-options-item .manual-input),.autocomplete-options-container .autocomplete-options:has(.autocomplete-options-item .more-results){padding-bottom:0;margin-bottom:0.375rem}.autocomplete-options-container.redesigned-style .autocomplete-options{margin-right:0.25rem}.autocomplete-options-container.redesigned-style .autocomplete-options::-webkit-scrollbar{width:0.5rem;height:0.5rem}.autocomplete-options-container.redesigned-style .autocomplete-options::-webkit-scrollbar-thumb{background:var(--tc-border-quaternary);border-radius:0.5rem}.autocomplete-options-container.redesigned-style .autocomplete-options::-webkit-scrollbar-track{background:var(--tc-layer-primary)}.autocomplete-options-container.redesigned-style.dark .autocomplete-options{margin-right:0.25rem}.autocomplete-options-container.redesigned-style.dark .autocomplete-options::-webkit-scrollbar{width:0.5rem;height:0.5rem}.autocomplete-options-container.redesigned-style.dark .autocomplete-options::-webkit-scrollbar-thumb{background:var(--tc-border-quaternary-dark);border-radius:0.5rem}.autocomplete-options-container.redesigned-style.dark .autocomplete-options::-webkit-scrollbar-track{background:var(--tc-layer-primary-dark)}.autocomplete-options-container .autocomplete-options-item{margin:0 0.375rem}.autocomplete-options-container .autocomplete-options-item .manual-input,.autocomplete-options-container .autocomplete-options-item .more-results{outline-offset:0.125rem !important;margin:0 0.375rem}.autocomplete-options-container.dark{--option-background-color:var(--tc-layer-secondary-dark);--option-hover-background-color:var(--tc-menu-item-hover-dark);--option-pressed-background-color:var(--tc-menu-item-pressed-dark);--option-item-icon-color:var(--tc-icon-secondary-dark);--option-item-icon-hover-color:var(--tc-icon-primary-dark);--option-text-color:var(--tc-text-primary-dark);--option-container-border-color:var(--tc-border-secondary-dark);--option-text-highlight-color:var(--tc-grey-30-dark)}.autocomplete-options-container.new-style{--options-max-height:var(--options-max-height-new-style);--option-padding:0.5rem 1rem 0.5rem 0.5rem;background:var(--option-background-color);font-family:"Inter", var(--font-family-fallback);box-shadow:none;border:0.03125rem solid var(--option-container-border-color);margin-top:0.375rem;border-radius:0.625rem;overflow:hidden}.autocomplete-options-container.new-style .autocomplete-options{padding:0.5rem 0}.autocomplete-options-container.new-style .autocomplete-options:has(.autocomplete-options-item .manual-input){margin-bottom:0.5rem}.autocomplete-options-container.new-style .autocomplete-options-item{display:flex;position:relative;min-height:2.25rem;color:var(--option-text-color);border-radius:0.625rem;gap:0.5rem;margin:0 0.5rem;font:400 0.875rem/1.25rem "Inter", "Gilroy, Arial, sans-serif"}.autocomplete-options-container.new-style .autocomplete-options-item .manual-input,.autocomplete-options-container.new-style .autocomplete-options-item .more-results{margin:0 0.5rem}.autocomplete-options-container.new-style .autocomplete-options-item .more-results{text-decoration:none}.autocomplete-options-container.new-style .autocomplete-options-item .highlight{background-color:var(--option-text-highlight-color)}.autocomplete-options-container.new-style .autocomplete-options-none-message{font-size:0.875rem;color:var(--option-text-color);text-align:left;padding:0.5rem 1rem;font:400 0.875rem/1.25rem "Inter", "Gilroy, Arial, sans-serif"}.autocomplete-options-item{display:flex;align-items:center;padding:var(--option-padding);color:var(--option-text-color);background:var(--option-background-color);cursor:pointer}.autocomplete-options-item:has(.more-results){--option-padding:0.75rem 0.5rem 0.5rem}.autocomplete-options-item .icon{--icon-color:var(--option-item-icon-color);--icon-size:1.25rem}.autocomplete-options-item:hover,.autocomplete-options-item.active{background:var(--option-hover-background-color);--option-item-icon-color:var(--option-item-icon-hover-color)}.autocomplete-options-item:hover.focus-visible:not(:has(.option-cta)),.autocomplete-options-item:hover.focus-visible .option-cta,.autocomplete-options-item.active.focus-visible:not(:has(.option-cta)),.autocomplete-options-item.active.focus-visible .option-cta{outline:0.125rem solid var(--tc-blue-40);outline-offset:0rem;transition:outline 0s;--option-item-icon-color:var(--tc-icon-secondary);background:var(--option-background-color);border-radius:0.125rem;z-index:2}.autocomplete-options-item:hover.focus-visible:not(:has(.option-cta)).dark,.autocomplete-options-item:hover.focus-visible .option-cta.dark,.autocomplete-options-item.active.focus-visible:not(:has(.option-cta)).dark,.autocomplete-options-item.active.focus-visible .option-cta.dark{outline:0.125rem solid var(--tc-blue-40);outline:0.125rem solid var(--tc-blue-40-dark);outline-offset:0rem;transition:outline 0s;--option-item-icon-color:var(--tc-icon-secondary-dark)}.autocomplete-options-item:active{background:var(--option-pressed-background-color)}.autocomplete-options-loader{display:flex;align-items:center;justify-content:center;background:var(--tc-layer-primary);position:absolute;height:11.625rem;width:100%;z-index:100}.autocomplete-options-loader.dark{background:var(--tc-layer-primary-dark)}.autocomplete-options-none-message{padding:var(--option-padding);color:var(--option-text-color);background:var(--option-background-color);text-align:center}@keyframes slideDown{0%{opacity:0;transform:translateY(-25%)}50%{opacity:0.1}100%{opacity:1;transform:translateY(0)}}'}},[769,"tet-autocomplete",{showOptionsOnEscapeClear:[4,"show-options-on-escape-clear"],defaultOptions:[16],optionsFilterAction:[16],noOptionsMessage:[1,"no-options-message"],noOptionsRenderFunction:[16],customOptionRenderFunction:[16],clearCallback:[16],finishedLoading:[16],newStyle:[4,"new-style"],highlightOptionsKeyword:[4,"highlight-options-keyword"],darkTheme:[4,"dark-theme"],optionsIcon:[1,"options-icon"],redesignedStyle:[4,"redesigned-style"],filteredOptions:[32],activeOption:[32],showOptions:[32],showLoader:[32],isKeyboardFocus:[32],clear:[64],focusOnNativeInput:[64],selectOption:[64]},[[1,"pointerup","onPointerUp"],[9,"pointerup","onWindowPointerUp"],[9,"mousedown","onMouseDown"],[8,"activeComponentStateChanged","onComponentActiveStateChange"],[0,"keydown","handleKeyDown"],[0,"focusout","handleFocusOut"]]]);function g(){"undefined"!=typeof customElements&&["tet-autocomplete","tet-icon","tet-loader"].forEach((t=>{switch(t){case"tet-autocomplete":customElements.get(r(t))||customElements.define(r(t),u);break;case"tet-icon":customElements.get(r(t))||p();break;case"tet-loader":customElements.get(r(t))||m()}}))}export{u as T,g as d,d as n}
@@ -1 +0,0 @@
1
- import{e as t,A as s}from"./p-DrcVsjAJ.js";import{b as r}from"./p-_2UzwYR8.js";const a=t=>!!t&&"object"==typeof t&&!Array.isArray(t)&&Object.keys(t).length>0&&Object.values(t).every((t=>"string"==typeof t)),e="lv";class n{static instance;storageKey="translations";eTagsStorageKey="translation-etags";supportedLanguages=["lv","ru","en"];translations={};eTags={};mergedTranslations={};inFlightTranslations=new Map;constructor(){this.translations=this.getCachedTranslations(),this.eTags=this.getCachedEtags()}static getInstance(){return n.instance||(n.instance=new n),n.instance}getTranslations(){return this.mergedTranslations}updateTranslations=async(t,s)=>{const r=[this.loadTranslations(t,s)];s!==e&&r.push(this.loadTranslations(t,e)),await Promise.allSettled(r),this.mergedTranslations=this.mergeTranslations(s)};loadTranslations=(r,e)=>{if(!r||!e)return Promise.reject(`Missing translation parameters - group (${r}), language (${e}).`);if(!this.supportedLanguages.includes(e))return Promise.reject(`Translations language "${e}" is not supported.`);const n=`${r}:${e}`,i=this.inFlightTranslations.get(n);if(void 0!==i)return i;const o=(async(r,e,n)=>{let i;try{i=new URL(`${e}/${r}`,t.translations).href}catch(t){throw console.error(t),new Error("Translations endpoint URL generation failed.")}const o=(new s).setUrl(i).setOptions({method:"GET",cache:"no-cache",headers:n?{"If-None-Match":n}:void 0}),c=await o.execute(!0);if(304===c.status)return{notModified:!0};if(!c.ok)throw new Error(`Translations request failed with status ${c.status}.`);const h=(await c.json())?.data;if(!a(h))throw new Error("Translations response contains an invalid dictionary.");return{translations:h,eTag:c.headers.get("ETag")??void 0,notModified:!1}})(r,e,this.eTags[r]?.[e]).then((t=>{if(t.notModified){if(!this.translationsExist(r,e))throw new Error(`Translations response was not modified without cached data for group (${r}) and language (${e}).`)}else{if(!a(t.translations))throw new Error(`Invalid translations for group (${r}) and language (${e}).`);this.translations[r]||(this.translations[r]={}),this.translations[r][e]=t.translations,this.setETag(r,e,t.eTag),this.cacheTranslations()}})).finally((()=>this.inFlightTranslations.delete(n)));return this.inFlightTranslations.set(n,o),o};mergeTranslations=t=>{const s=this.getMergedTranslations(e);return t===e?s:{...s,...this.getMergedTranslations(t)}};getMergedTranslations=t=>{const s={};for(const r of Object.values(this.translations))Object.assign(s,r[t]??{});return s};translationsExist=(t,s)=>a(this.translations[t]?.[s]);getCachedTranslations=()=>{try{const t=JSON.parse(sessionStorage.getItem(this.storageKey)??"null");return this.isValidTranslationsCache(t)?t:{}}catch{return{}}};getCachedEtags=()=>{try{const t=JSON.parse(sessionStorage.getItem(this.eTagsStorageKey)??"null");return this.isValidETagsCache(t)?t:{}}catch{return{}}};setETag=(t,s,r)=>{this.eTags[t]||(this.eTags[t]={}),void 0!==r?this.eTags[t][s]=r:delete this.eTags[t][s]};cacheTranslations=()=>{try{sessionStorage.setItem(this.storageKey,JSON.stringify(this.translations))}catch{return}try{sessionStorage.setItem(this.eTagsStorageKey,JSON.stringify(this.eTags))}catch{}};isValidTranslationsCache=t=>!(!t||"object"!=typeof t||Array.isArray(t))&&Object.values(t).every((t=>!(!t||"object"!=typeof t||Array.isArray(t))&&Object.values(t).every((t=>a(t)))));isValidETagsCache=t=>!(!t||"object"!=typeof t||Array.isArray(t))&&Object.values(t).every((t=>!!t&&"object"==typeof t&&!Array.isArray(t)&&Object.values(t).every((t=>"string"==typeof t))))}const i=n.getInstance(),o=async(t,s)=>{await i.updateTranslations(t,s)},c=(t,s)=>{let a=i.getTranslations()[t.trim()]??t;return r(s)&&(a=h(a,s)),a},h=(t,s)=>{for(const[r,a]of Object.entries(s))t=t.replace(new RegExp(`{${r}}`,"g"),a);return t};export{o as p,c as t}