@gov-design-system-ce/components 4.6.2 → 4.6.3

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 (1450) hide show
  1. package/dist/cjs/Fragment-D4qSkFah.js +8 -0
  2. package/dist/cjs/Fragment-D4qSkFah.js.map +1 -0
  3. package/dist/cjs/accessibility-BQJmIVWV.js +13 -0
  4. package/dist/cjs/accessibility-BQJmIVWV.js.map +1 -0
  5. package/dist/cjs/app-globals-V2Kpy_OQ.js +8 -0
  6. package/dist/cjs/app-globals-V2Kpy_OQ.js.map +1 -0
  7. package/dist/cjs/array.utils-DOh1gCQS.js +45 -0
  8. package/dist/cjs/array.utils-DOh1gCQS.js.map +1 -0
  9. package/dist/cjs/attribute-CH1-zDDl.js +103 -0
  10. package/dist/cjs/attribute-CH1-zDDl.js.map +1 -0
  11. package/dist/cjs/colors-DgrrxjsX.js +19 -0
  12. package/dist/cjs/colors-DgrrxjsX.js.map +1 -0
  13. package/dist/cjs/constants-357ehBFU.js +15 -0
  14. package/dist/cjs/constants-357ehBFU.js.map +1 -0
  15. package/dist/cjs/constants-CFAhiwqu.js +19 -0
  16. package/dist/cjs/constants-CFAhiwqu.js.map +1 -0
  17. package/dist/cjs/constants-CYm8AK_D.js +27 -0
  18. package/dist/cjs/constants-CYm8AK_D.js.map +1 -0
  19. package/dist/cjs/constants-CbBhWRUQ.js +26 -0
  20. package/dist/cjs/constants-CbBhWRUQ.js.map +1 -0
  21. package/dist/cjs/constants-ChDSk4SZ.js +16 -0
  22. package/dist/cjs/constants-ChDSk4SZ.js.map +1 -0
  23. package/dist/cjs/constants-D6LZ31rS.js +28 -0
  24. package/dist/cjs/constants-D6LZ31rS.js.map +1 -0
  25. package/dist/cjs/constants-DcKnOyW4.js +18 -0
  26. package/dist/cjs/constants-DcKnOyW4.js.map +1 -0
  27. package/dist/cjs/constants-Dmmp9FHy.js +37 -0
  28. package/dist/cjs/constants-Dmmp9FHy.js.map +1 -0
  29. package/dist/cjs/constants-WvkMgj1j.js +27 -0
  30. package/dist/cjs/constants-WvkMgj1j.js.map +1 -0
  31. package/dist/cjs/constants-ymB2dvwV.js +28 -0
  32. package/dist/cjs/constants-ymB2dvwV.js.map +1 -0
  33. package/dist/cjs/constants-z2ZSS2je.js +37 -0
  34. package/dist/cjs/constants-z2ZSS2je.js.map +1 -0
  35. package/dist/cjs/core.cjs.js +49 -0
  36. package/dist/cjs/core.cjs.js.map +1 -0
  37. package/dist/cjs/form-GgXzZZ-E.js +156 -0
  38. package/dist/cjs/form-GgXzZZ-E.js.map +1 -0
  39. package/dist/cjs/gov-accordion-item.cjs.entry.js +80 -0
  40. package/dist/cjs/gov-accordion-item.cjs.entry.js.map +1 -0
  41. package/dist/cjs/gov-accordion-item.entry.cjs.js.map +1 -0
  42. package/dist/cjs/gov-accordion.cjs.entry.js +59 -0
  43. package/dist/cjs/gov-accordion.cjs.entry.js.map +1 -0
  44. package/dist/cjs/gov-accordion.entry.cjs.js.map +1 -0
  45. package/dist/cjs/gov-attachments.gov-attachments-item.gov-form-message.entry.cjs.js.map +1 -0
  46. package/dist/cjs/gov-attachments_3.cjs.entry.js +121 -0
  47. package/dist/cjs/gov-attachments_3.cjs.entry.js.map +1 -0
  48. package/dist/cjs/gov-backdrop.cjs.entry.js +55 -0
  49. package/dist/cjs/gov-backdrop.cjs.entry.js.map +1 -0
  50. package/dist/cjs/gov-backdrop.entry.cjs.js.map +1 -0
  51. package/dist/cjs/gov-banner.cjs.entry.js +91 -0
  52. package/dist/cjs/gov-banner.cjs.entry.js.map +1 -0
  53. package/dist/cjs/gov-banner.entry.cjs.js.map +1 -0
  54. package/dist/cjs/gov-blockquote.cjs.entry.js +34 -0
  55. package/dist/cjs/gov-blockquote.cjs.entry.js.map +1 -0
  56. package/dist/cjs/gov-blockquote.entry.cjs.js.map +1 -0
  57. package/dist/cjs/gov-breadcrumbs.cjs.entry.js +76 -0
  58. package/dist/cjs/gov-breadcrumbs.cjs.entry.js.map +1 -0
  59. package/dist/cjs/gov-breadcrumbs.entry.cjs.js.map +1 -0
  60. package/dist/cjs/gov-button.cjs.entry.js +186 -0
  61. package/dist/cjs/gov-button.cjs.entry.js.map +1 -0
  62. package/dist/cjs/gov-button.entry.cjs.js.map +1 -0
  63. package/dist/cjs/gov-card.cjs.entry.js +91 -0
  64. package/dist/cjs/gov-card.cjs.entry.js.map +1 -0
  65. package/dist/cjs/gov-card.entry.cjs.js.map +1 -0
  66. package/dist/cjs/gov-chip.cjs.entry.js +131 -0
  67. package/dist/cjs/gov-chip.cjs.entry.js.map +1 -0
  68. package/dist/cjs/gov-chip.entry.cjs.js.map +1 -0
  69. package/dist/cjs/gov-collapsible.cjs.entry.js +86 -0
  70. package/dist/cjs/gov-collapsible.cjs.entry.js.map +1 -0
  71. package/dist/cjs/gov-collapsible.entry.cjs.js.map +1 -0
  72. package/dist/cjs/gov-container.cjs.entry.js +24 -0
  73. package/dist/cjs/gov-container.cjs.entry.js.map +1 -0
  74. package/dist/cjs/gov-container.entry.cjs.js.map +1 -0
  75. package/dist/cjs/gov-control-group.cjs.entry.js +51 -0
  76. package/dist/cjs/gov-control-group.cjs.entry.js.map +1 -0
  77. package/dist/cjs/gov-control-group.entry.cjs.js.map +1 -0
  78. package/dist/cjs/gov-cookiebar.cjs.entry.js +28 -0
  79. package/dist/cjs/gov-cookiebar.cjs.entry.js.map +1 -0
  80. package/dist/cjs/gov-cookiebar.entry.cjs.js.map +1 -0
  81. package/dist/cjs/gov-dialog.cjs.entry.js +169 -0
  82. package/dist/cjs/gov-dialog.cjs.entry.js.map +1 -0
  83. package/dist/cjs/gov-dialog.entry.cjs.js.map +1 -0
  84. package/dist/cjs/gov-dropdown.cjs.entry.js +146 -0
  85. package/dist/cjs/gov-dropdown.cjs.entry.js.map +1 -0
  86. package/dist/cjs/gov-dropdown.entry.cjs.js.map +1 -0
  87. package/dist/cjs/gov-empty.cjs.entry.js +63 -0
  88. package/dist/cjs/gov-empty.cjs.entry.js.map +1 -0
  89. package/dist/cjs/gov-empty.entry.cjs.js.map +1 -0
  90. package/dist/cjs/gov-error-code.cjs.entry.js +25 -0
  91. package/dist/cjs/gov-error-code.cjs.entry.js.map +1 -0
  92. package/dist/cjs/gov-error-code.entry.cjs.js.map +1 -0
  93. package/dist/cjs/gov-flex.gov-icon.gov-theme-switch.entry.cjs.js.map +1 -0
  94. package/dist/cjs/gov-flex_3.cjs.entry.js +338 -0
  95. package/dist/cjs/gov-flex_3.cjs.entry.js.map +1 -0
  96. package/dist/cjs/gov-form-autocomplete.cjs.entry.js +284 -0
  97. package/dist/cjs/gov-form-autocomplete.cjs.entry.js.map +1 -0
  98. package/dist/cjs/gov-form-autocomplete.entry.cjs.js.map +1 -0
  99. package/dist/cjs/gov-form-checkbox-group.cjs.entry.js +92 -0
  100. package/dist/cjs/gov-form-checkbox-group.cjs.entry.js.map +1 -0
  101. package/dist/cjs/gov-form-checkbox-group.entry.cjs.js.map +1 -0
  102. package/dist/cjs/gov-form-checkbox.cjs.entry.js +151 -0
  103. package/dist/cjs/gov-form-checkbox.cjs.entry.js.map +1 -0
  104. package/dist/cjs/gov-form-checkbox.entry.cjs.js.map +1 -0
  105. package/dist/cjs/gov-form-control.cjs.entry.js +85 -0
  106. package/dist/cjs/gov-form-control.cjs.entry.js.map +1 -0
  107. package/dist/cjs/gov-form-control.entry.cjs.js.map +1 -0
  108. package/dist/cjs/gov-form-file.cjs.entry.js +283 -0
  109. package/dist/cjs/gov-form-file.cjs.entry.js.map +1 -0
  110. package/dist/cjs/gov-form-file.entry.cjs.js.map +1 -0
  111. package/dist/cjs/gov-form-group.cjs.entry.js +51 -0
  112. package/dist/cjs/gov-form-group.cjs.entry.js.map +1 -0
  113. package/dist/cjs/gov-form-group.entry.cjs.js.map +1 -0
  114. package/dist/cjs/gov-form-input.gov-skeleton.entry.cjs.js.map +1 -0
  115. package/dist/cjs/gov-form-input_2.cjs.entry.js +290 -0
  116. package/dist/cjs/gov-form-input_2.cjs.entry.js.map +1 -0
  117. package/dist/cjs/gov-form-label.cjs.entry.js +35 -0
  118. package/dist/cjs/gov-form-label.cjs.entry.js.map +1 -0
  119. package/dist/cjs/gov-form-label.entry.cjs.js.map +1 -0
  120. package/dist/cjs/gov-form-multi-select.cjs.entry.js +270 -0
  121. package/dist/cjs/gov-form-multi-select.cjs.entry.js.map +1 -0
  122. package/dist/cjs/gov-form-multi-select.entry.cjs.js.map +1 -0
  123. package/dist/cjs/gov-form-password-power.cjs.entry.js +23 -0
  124. package/dist/cjs/gov-form-password-power.cjs.entry.js.map +1 -0
  125. package/dist/cjs/gov-form-password-power.entry.cjs.js.map +1 -0
  126. package/dist/cjs/gov-form-radio-group.cjs.entry.js +80 -0
  127. package/dist/cjs/gov-form-radio-group.cjs.entry.js.map +1 -0
  128. package/dist/cjs/gov-form-radio-group.entry.cjs.js.map +1 -0
  129. package/dist/cjs/gov-form-radio.cjs.entry.js +147 -0
  130. package/dist/cjs/gov-form-radio.cjs.entry.js.map +1 -0
  131. package/dist/cjs/gov-form-radio.entry.cjs.js.map +1 -0
  132. package/dist/cjs/gov-form-range.cjs.entry.js +212 -0
  133. package/dist/cjs/gov-form-range.cjs.entry.js.map +1 -0
  134. package/dist/cjs/gov-form-range.entry.cjs.js.map +1 -0
  135. package/dist/cjs/gov-form-search.cjs.entry.js +35 -0
  136. package/dist/cjs/gov-form-search.cjs.entry.js.map +1 -0
  137. package/dist/cjs/gov-form-search.entry.cjs.js.map +1 -0
  138. package/dist/cjs/gov-form-select.cjs.entry.js +158 -0
  139. package/dist/cjs/gov-form-select.cjs.entry.js.map +1 -0
  140. package/dist/cjs/gov-form-select.entry.cjs.js.map +1 -0
  141. package/dist/cjs/gov-form-switch.cjs.entry.js +148 -0
  142. package/dist/cjs/gov-form-switch.cjs.entry.js.map +1 -0
  143. package/dist/cjs/gov-form-switch.entry.cjs.js.map +1 -0
  144. package/dist/cjs/gov-grid-item.cjs.entry.js +30 -0
  145. package/dist/cjs/gov-grid-item.cjs.entry.js.map +1 -0
  146. package/dist/cjs/gov-grid-item.entry.cjs.js.map +1 -0
  147. package/dist/cjs/gov-grid.cjs.entry.js +22 -0
  148. package/dist/cjs/gov-grid.cjs.entry.js.map +1 -0
  149. package/dist/cjs/gov-grid.entry.cjs.js.map +1 -0
  150. package/dist/cjs/gov-infobar.cjs.entry.js +107 -0
  151. package/dist/cjs/gov-infobar.cjs.entry.js.map +1 -0
  152. package/dist/cjs/gov-infobar.entry.cjs.js.map +1 -0
  153. package/dist/cjs/gov-layout-column.cjs.entry.js +21 -0
  154. package/dist/cjs/gov-layout-column.cjs.entry.js.map +1 -0
  155. package/dist/cjs/gov-layout-column.entry.cjs.js.map +1 -0
  156. package/dist/cjs/gov-layout.cjs.entry.js +35 -0
  157. package/dist/cjs/gov-layout.cjs.entry.js.map +1 -0
  158. package/dist/cjs/gov-layout.entry.cjs.js.map +1 -0
  159. package/dist/cjs/gov-lifecycle.cjs.entry.js +46 -0
  160. package/dist/cjs/gov-lifecycle.cjs.entry.js.map +1 -0
  161. package/dist/cjs/gov-lifecycle.entry.cjs.js.map +1 -0
  162. package/dist/cjs/gov-link.cjs.entry.js +59 -0
  163. package/dist/cjs/gov-link.cjs.entry.js.map +1 -0
  164. package/dist/cjs/gov-link.entry.cjs.js.map +1 -0
  165. package/dist/cjs/gov-loading.cjs.entry.js +44 -0
  166. package/dist/cjs/gov-loading.cjs.entry.js.map +1 -0
  167. package/dist/cjs/gov-loading.entry.cjs.js.map +1 -0
  168. package/dist/cjs/gov-message.cjs.entry.js +49 -0
  169. package/dist/cjs/gov-message.cjs.entry.js.map +1 -0
  170. package/dist/cjs/gov-message.entry.cjs.js.map +1 -0
  171. package/dist/cjs/gov-pagination.cjs.entry.js +257 -0
  172. package/dist/cjs/gov-pagination.cjs.entry.js.map +1 -0
  173. package/dist/cjs/gov-pagination.entry.cjs.js.map +1 -0
  174. package/dist/cjs/gov-spacer.cjs.entry.js +55 -0
  175. package/dist/cjs/gov-spacer.cjs.entry.js.map +1 -0
  176. package/dist/cjs/gov-spacer.entry.cjs.js.map +1 -0
  177. package/dist/cjs/gov-stepper-item.cjs.entry.js +53 -0
  178. package/dist/cjs/gov-stepper-item.cjs.entry.js.map +1 -0
  179. package/dist/cjs/gov-stepper-item.entry.cjs.js.map +1 -0
  180. package/dist/cjs/gov-stepper.cjs.entry.js +53 -0
  181. package/dist/cjs/gov-stepper.cjs.entry.js.map +1 -0
  182. package/dist/cjs/gov-stepper.entry.cjs.js.map +1 -0
  183. package/dist/cjs/gov-tabs-item.cjs.entry.js +70 -0
  184. package/dist/cjs/gov-tabs-item.cjs.entry.js.map +1 -0
  185. package/dist/cjs/gov-tabs-item.entry.cjs.js.map +1 -0
  186. package/dist/cjs/gov-tabs.cjs.entry.js +232 -0
  187. package/dist/cjs/gov-tabs.cjs.entry.js.map +1 -0
  188. package/dist/cjs/gov-tabs.entry.cjs.js.map +1 -0
  189. package/dist/cjs/gov-tag.cjs.entry.js +65 -0
  190. package/dist/cjs/gov-tag.cjs.entry.js.map +1 -0
  191. package/dist/cjs/gov-tag.entry.cjs.js.map +1 -0
  192. package/dist/cjs/gov-tile.cjs.entry.js +47 -0
  193. package/dist/cjs/gov-tile.cjs.entry.js.map +1 -0
  194. package/dist/cjs/gov-tile.entry.cjs.js.map +1 -0
  195. package/dist/cjs/gov-toast.cjs.entry.js +125 -0
  196. package/dist/cjs/gov-toast.cjs.entry.js.map +1 -0
  197. package/dist/cjs/gov-toast.entry.cjs.js.map +1 -0
  198. package/dist/cjs/gov-tooltip.gov-tooltip-content.entry.cjs.js.map +1 -0
  199. package/dist/cjs/gov-tooltip_2.cjs.entry.js +319 -0
  200. package/dist/cjs/gov-tooltip_2.cjs.entry.js.map +1 -0
  201. package/dist/cjs/gov-wizard-item.cjs.entry.js +105 -0
  202. package/dist/cjs/gov-wizard-item.cjs.entry.js.map +1 -0
  203. package/dist/cjs/gov-wizard-item.entry.cjs.js.map +1 -0
  204. package/dist/cjs/gov-wizard.cjs.entry.js +70 -0
  205. package/dist/cjs/gov-wizard.cjs.entry.js.map +1 -0
  206. package/dist/cjs/gov-wizard.entry.cjs.js.map +1 -0
  207. package/dist/cjs/gov.log-C5EH15b_.js +53 -0
  208. package/dist/cjs/gov.log-C5EH15b_.js.map +1 -0
  209. package/dist/cjs/helpers-DmI-ZOAH.js +20 -0
  210. package/dist/cjs/helpers-DmI-ZOAH.js.map +1 -0
  211. package/dist/cjs/helpers.types-vap8QfRH.js +17 -0
  212. package/dist/cjs/helpers.types-vap8QfRH.js.map +1 -0
  213. package/dist/cjs/index-BEF5cZxd.js +2743 -0
  214. package/dist/cjs/index-BEF5cZxd.js.map +1 -0
  215. package/dist/cjs/index.cjs.js +5 -0
  216. package/dist/cjs/index.cjs.js.map +1 -0
  217. package/dist/cjs/loader.cjs.js +16 -0
  218. package/dist/cjs/loader.cjs.js.map +1 -0
  219. package/dist/cjs/props-CPENhBnM.js +17 -0
  220. package/dist/cjs/props-CPENhBnM.js.map +1 -0
  221. package/dist/cjs/sizes-D5zsw2g5.js +19 -0
  222. package/dist/cjs/sizes-D5zsw2g5.js.map +1 -0
  223. package/dist/cjs/stencil.utils-8sCYbm34.js +12 -0
  224. package/dist/cjs/stencil.utils-8sCYbm34.js.map +1 -0
  225. package/dist/cjs/string.utils-BG4pUfEi.js +26 -0
  226. package/dist/cjs/string.utils-BG4pUfEi.js.map +1 -0
  227. package/dist/cjs/template-Cj6PcLmR.js +119 -0
  228. package/dist/cjs/template-Cj6PcLmR.js.map +1 -0
  229. package/dist/cjs/utils-NnC78QR3.js +42 -0
  230. package/dist/cjs/utils-NnC78QR3.js.map +1 -0
  231. package/dist/cjs/wcag-Bvzxnp5D.js +56 -0
  232. package/dist/cjs/wcag-Bvzxnp5D.js.map +1 -0
  233. package/dist/collection/collection-manifest.json +73 -0
  234. package/dist/collection/components/gov-accordion/constants.js +19 -0
  235. package/dist/collection/components/gov-accordion/constants.js.map +1 -0
  236. package/dist/collection/components/gov-accordion/gov-accordion-item.js +226 -0
  237. package/dist/collection/components/gov-accordion/gov-accordion-item.js.map +1 -0
  238. package/dist/collection/components/gov-accordion/gov-accordion.js +125 -0
  239. package/dist/collection/components/gov-accordion/gov-accordion.js.map +1 -0
  240. package/dist/collection/components/gov-accordion/gov-accordion.types.js +2 -0
  241. package/dist/collection/components/gov-accordion/gov-accordion.types.js.map +1 -0
  242. package/dist/collection/components/gov-attachments/constants.js +12 -0
  243. package/dist/collection/components/gov-attachments/constants.js.map +1 -0
  244. package/dist/collection/components/gov-attachments/gov-attachments-item.css +52 -0
  245. package/dist/collection/components/gov-attachments/gov-attachments-item.d.js +2 -0
  246. package/dist/collection/components/gov-attachments/gov-attachments-item.d.js.map +1 -0
  247. package/dist/collection/components/gov-attachments/gov-attachments-item.js +131 -0
  248. package/dist/collection/components/gov-attachments/gov-attachments-item.js.map +1 -0
  249. package/dist/collection/components/gov-attachments/gov-attachments.js +92 -0
  250. package/dist/collection/components/gov-attachments/gov-attachments.js.map +1 -0
  251. package/dist/collection/components/gov-backdrop/constants.js +5 -0
  252. package/dist/collection/components/gov-backdrop/constants.js.map +1 -0
  253. package/dist/collection/components/gov-backdrop/gov-backdrop.js +166 -0
  254. package/dist/collection/components/gov-backdrop/gov-backdrop.js.map +1 -0
  255. package/dist/collection/components/gov-banner/constants.js +26 -0
  256. package/dist/collection/components/gov-banner/constants.js.map +1 -0
  257. package/dist/collection/components/gov-banner/gov-banner.js +175 -0
  258. package/dist/collection/components/gov-banner/gov-banner.js.map +1 -0
  259. package/dist/collection/components/gov-blockquote/constants.js +10 -0
  260. package/dist/collection/components/gov-blockquote/constants.js.map +1 -0
  261. package/dist/collection/components/gov-blockquote/gov-blockquote.js +67 -0
  262. package/dist/collection/components/gov-blockquote/gov-blockquote.js.map +1 -0
  263. package/dist/collection/components/gov-breadcrumbs/constants.js +4 -0
  264. package/dist/collection/components/gov-breadcrumbs/constants.js.map +1 -0
  265. package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.d.js +2 -0
  266. package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.d.js.map +1 -0
  267. package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.js +215 -0
  268. package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.js.map +1 -0
  269. package/dist/collection/components/gov-button/button/constants.js +28 -0
  270. package/dist/collection/components/gov-button/button/constants.js.map +1 -0
  271. package/dist/collection/components/gov-button/button/gov-button.js +710 -0
  272. package/dist/collection/components/gov-button/button/gov-button.js.map +1 -0
  273. package/dist/collection/components/gov-button/button/gov-button.types.js +2 -0
  274. package/dist/collection/components/gov-button/button/gov-button.types.js.map +1 -0
  275. package/dist/collection/components/gov-button/dropdown/constants.js +10 -0
  276. package/dist/collection/components/gov-button/dropdown/constants.js.map +1 -0
  277. package/dist/collection/components/gov-button/dropdown/gov-dropdown.js +205 -0
  278. package/dist/collection/components/gov-button/dropdown/gov-dropdown.js.map +1 -0
  279. package/dist/collection/components/gov-button/dropdown/gov-dropdown.types.js +2 -0
  280. package/dist/collection/components/gov-button/dropdown/gov-dropdown.types.js.map +1 -0
  281. package/dist/collection/components/gov-card/constants.js +16 -0
  282. package/dist/collection/components/gov-card/constants.js.map +1 -0
  283. package/dist/collection/components/gov-card/gov-card.js +287 -0
  284. package/dist/collection/components/gov-card/gov-card.js.map +1 -0
  285. package/dist/collection/components/gov-card/interfaces.js +2 -0
  286. package/dist/collection/components/gov-card/interfaces.js.map +1 -0
  287. package/dist/collection/components/gov-chip/constants.js +21 -0
  288. package/dist/collection/components/gov-chip/constants.js.map +1 -0
  289. package/dist/collection/components/gov-chip/gov-chip.js +437 -0
  290. package/dist/collection/components/gov-chip/gov-chip.js.map +1 -0
  291. package/dist/collection/components/gov-collapsible/constants.js +18 -0
  292. package/dist/collection/components/gov-collapsible/constants.js.map +1 -0
  293. package/dist/collection/components/gov-collapsible/gov-collapsible.js +182 -0
  294. package/dist/collection/components/gov-collapsible/gov-collapsible.js.map +1 -0
  295. package/dist/collection/components/gov-container/constants.js +4 -0
  296. package/dist/collection/components/gov-container/constants.js.map +1 -0
  297. package/dist/collection/components/gov-container/gov-container.js +14 -0
  298. package/dist/collection/components/gov-container/gov-container.js.map +1 -0
  299. package/dist/collection/components/gov-control-group/constants.js +7 -0
  300. package/dist/collection/components/gov-control-group/constants.js.map +1 -0
  301. package/dist/collection/components/gov-control-group/gov-control-group.js +131 -0
  302. package/dist/collection/components/gov-control-group/gov-control-group.js.map +1 -0
  303. package/dist/collection/components/gov-cookiebar/constants.js +8 -0
  304. package/dist/collection/components/gov-cookiebar/constants.js.map +1 -0
  305. package/dist/collection/components/gov-cookiebar/gov-cookiebar.js +14 -0
  306. package/dist/collection/components/gov-cookiebar/gov-cookiebar.js.map +1 -0
  307. package/dist/collection/components/gov-dialog/constants.js +12 -0
  308. package/dist/collection/components/gov-dialog/constants.js.map +1 -0
  309. package/dist/collection/components/gov-dialog/gov-dialog.js +394 -0
  310. package/dist/collection/components/gov-dialog/gov-dialog.js.map +1 -0
  311. package/dist/collection/components/gov-empty/constants.js +19 -0
  312. package/dist/collection/components/gov-empty/constants.js.map +1 -0
  313. package/dist/collection/components/gov-empty/gov-empty.js +122 -0
  314. package/dist/collection/components/gov-empty/gov-empty.js.map +1 -0
  315. package/dist/collection/components/gov-error-code/constants.js +5 -0
  316. package/dist/collection/components/gov-error-code/constants.js.map +1 -0
  317. package/dist/collection/components/gov-error-code/gov-error-code.js +14 -0
  318. package/dist/collection/components/gov-error-code/gov-error-code.js.map +1 -0
  319. package/dist/collection/components/gov-flex/constants.js +6 -0
  320. package/dist/collection/components/gov-flex/constants.js.map +1 -0
  321. package/dist/collection/components/gov-flex/gov-flex.js +186 -0
  322. package/dist/collection/components/gov-flex/gov-flex.js.map +1 -0
  323. package/dist/collection/components/gov-form/autocomplete/constants.js +11 -0
  324. package/dist/collection/components/gov-form/autocomplete/constants.js.map +1 -0
  325. package/dist/collection/components/gov-form/autocomplete/gov-form-autocomplete.js +860 -0
  326. package/dist/collection/components/gov-form/autocomplete/gov-form-autocomplete.js.map +1 -0
  327. package/dist/collection/components/gov-form/autocomplete/gov-form-autocomplete.types.js +2 -0
  328. package/dist/collection/components/gov-form/autocomplete/gov-form-autocomplete.types.js.map +1 -0
  329. package/dist/collection/components/gov-form/checkbox/constants.js +10 -0
  330. package/dist/collection/components/gov-form/checkbox/constants.js.map +1 -0
  331. package/dist/collection/components/gov-form/checkbox/gov-form-checkbox.js +448 -0
  332. package/dist/collection/components/gov-form/checkbox/gov-form-checkbox.js.map +1 -0
  333. package/dist/collection/components/gov-form/checkbox/gov-form-checkbox.types.js +2 -0
  334. package/dist/collection/components/gov-form/checkbox/gov-form-checkbox.types.js.map +1 -0
  335. package/dist/collection/components/gov-form/control/constants.js +9 -0
  336. package/dist/collection/components/gov-form/control/constants.js.map +1 -0
  337. package/dist/collection/components/gov-form/control/gov-form-control.js +202 -0
  338. package/dist/collection/components/gov-form/control/gov-form-control.js.map +1 -0
  339. package/dist/collection/components/gov-form/file/constants.js +8 -0
  340. package/dist/collection/components/gov-form/file/constants.js.map +1 -0
  341. package/dist/collection/components/gov-form/file/gov-form-file.js +722 -0
  342. package/dist/collection/components/gov-form/file/gov-form-file.js.map +1 -0
  343. package/dist/collection/components/gov-form/file/gov-form-file.types.js +2 -0
  344. package/dist/collection/components/gov-form/file/gov-form-file.types.js.map +1 -0
  345. package/dist/collection/components/gov-form/group/constants.js +18 -0
  346. package/dist/collection/components/gov-form/group/constants.js.map +1 -0
  347. package/dist/collection/components/gov-form/group/gov-form-checkbox-group.js +192 -0
  348. package/dist/collection/components/gov-form/group/gov-form-checkbox-group.js.map +1 -0
  349. package/dist/collection/components/gov-form/group/gov-form-group.css +67 -0
  350. package/dist/collection/components/gov-form/group/gov-form-group.js +102 -0
  351. package/dist/collection/components/gov-form/group/gov-form-group.js.map +1 -0
  352. package/dist/collection/components/gov-form/group/gov-form-group.types.js +2 -0
  353. package/dist/collection/components/gov-form/group/gov-form-group.types.js.map +1 -0
  354. package/dist/collection/components/gov-form/group/gov-form-radio-group.js +181 -0
  355. package/dist/collection/components/gov-form/group/gov-form-radio-group.js.map +1 -0
  356. package/dist/collection/components/gov-form/input/constants.js +28 -0
  357. package/dist/collection/components/gov-form/input/constants.js.map +1 -0
  358. package/dist/collection/components/gov-form/input/gov-form-input.js +934 -0
  359. package/dist/collection/components/gov-form/input/gov-form-input.js.map +1 -0
  360. package/dist/collection/components/gov-form/input/gov-form-input.types.js +2 -0
  361. package/dist/collection/components/gov-form/input/gov-form-input.types.js.map +1 -0
  362. package/dist/collection/components/gov-form/label/constants.js +8 -0
  363. package/dist/collection/components/gov-form/label/constants.js.map +1 -0
  364. package/dist/collection/components/gov-form/label/gov-form-label.js +137 -0
  365. package/dist/collection/components/gov-form/label/gov-form-label.js.map +1 -0
  366. package/dist/collection/components/gov-form/message/constants.js +10 -0
  367. package/dist/collection/components/gov-form/message/constants.js.map +1 -0
  368. package/dist/collection/components/gov-form/message/gov-form-message.js +120 -0
  369. package/dist/collection/components/gov-form/message/gov-form-message.js.map +1 -0
  370. package/dist/collection/components/gov-form/multiselect/constants.js +10 -0
  371. package/dist/collection/components/gov-form/multiselect/constants.js.map +1 -0
  372. package/dist/collection/components/gov-form/multiselect/gov-form-multi-select.js +722 -0
  373. package/dist/collection/components/gov-form/multiselect/gov-form-multi-select.js.map +1 -0
  374. package/dist/collection/components/gov-form/multiselect/gov-form-multi-select.types.js +2 -0
  375. package/dist/collection/components/gov-form/multiselect/gov-form-multi-select.types.js.map +1 -0
  376. package/dist/collection/components/gov-form/password-power/constants.js +6 -0
  377. package/dist/collection/components/gov-form/password-power/constants.js.map +1 -0
  378. package/dist/collection/components/gov-form/password-power/gov-form-password-power.js +32 -0
  379. package/dist/collection/components/gov-form/password-power/gov-form-password-power.js.map +1 -0
  380. package/dist/collection/components/gov-form/radio/constants.js +10 -0
  381. package/dist/collection/components/gov-form/radio/constants.js.map +1 -0
  382. package/dist/collection/components/gov-form/radio/gov-form-radio.js +424 -0
  383. package/dist/collection/components/gov-form/radio/gov-form-radio.js.map +1 -0
  384. package/dist/collection/components/gov-form/radio/gov-form-radio.types.js +2 -0
  385. package/dist/collection/components/gov-form/radio/gov-form-radio.types.js.map +1 -0
  386. package/dist/collection/components/gov-form/range/constants.js +9 -0
  387. package/dist/collection/components/gov-form/range/constants.js.map +1 -0
  388. package/dist/collection/components/gov-form/range/gov-form-range.js +644 -0
  389. package/dist/collection/components/gov-form/range/gov-form-range.js.map +1 -0
  390. package/dist/collection/components/gov-form/search/constants.js +9 -0
  391. package/dist/collection/components/gov-form/search/constants.js.map +1 -0
  392. package/dist/collection/components/gov-form/search/gov-form-search.js +76 -0
  393. package/dist/collection/components/gov-form/search/gov-form-search.js.map +1 -0
  394. package/dist/collection/components/gov-form/select/constants.js +8 -0
  395. package/dist/collection/components/gov-form/select/constants.js.map +1 -0
  396. package/dist/collection/components/gov-form/select/gov-form-select.js +471 -0
  397. package/dist/collection/components/gov-form/select/gov-form-select.js.map +1 -0
  398. package/dist/collection/components/gov-form/select/gov-form-select.types.js +2 -0
  399. package/dist/collection/components/gov-form/select/gov-form-select.types.js.map +1 -0
  400. package/dist/collection/components/gov-form/switch/constants.js +12 -0
  401. package/dist/collection/components/gov-form/switch/constants.js.map +1 -0
  402. package/dist/collection/components/gov-form/switch/gov-form-switch.js +425 -0
  403. package/dist/collection/components/gov-form/switch/gov-form-switch.js.map +1 -0
  404. package/dist/collection/components/gov-form/switch/gov-form-switch.types.js +2 -0
  405. package/dist/collection/components/gov-form/switch/gov-form-switch.types.js.map +1 -0
  406. package/dist/collection/components/gov-grid/constants.js +9 -0
  407. package/dist/collection/components/gov-grid/constants.js.map +1 -0
  408. package/dist/collection/components/gov-grid/gov-grid-item.js +218 -0
  409. package/dist/collection/components/gov-grid/gov-grid-item.js.map +1 -0
  410. package/dist/collection/components/gov-grid/gov-grid.js +81 -0
  411. package/dist/collection/components/gov-grid/gov-grid.js.map +1 -0
  412. package/dist/collection/components/gov-icon/constants.js +27 -0
  413. package/dist/collection/components/gov-icon/constants.js.map +1 -0
  414. package/dist/collection/components/gov-icon/gov-icon.js +211 -0
  415. package/dist/collection/components/gov-icon/gov-icon.js.map +1 -0
  416. package/dist/collection/components/gov-icon/helpers.js +14 -0
  417. package/dist/collection/components/gov-icon/helpers.js.map +1 -0
  418. package/dist/collection/components/gov-icon/list.js +174 -0
  419. package/dist/collection/components/gov-icon/list.js.map +1 -0
  420. package/dist/collection/components/gov-infobar/constants.js +16 -0
  421. package/dist/collection/components/gov-infobar/constants.js.map +1 -0
  422. package/dist/collection/components/gov-infobar/gov-infobar.js +258 -0
  423. package/dist/collection/components/gov-infobar/gov-infobar.js.map +1 -0
  424. package/dist/collection/components/gov-infobar/gov-infobar.types.js +2 -0
  425. package/dist/collection/components/gov-infobar/gov-infobar.types.js.map +1 -0
  426. package/dist/collection/components/gov-layout/constants.js +19 -0
  427. package/dist/collection/components/gov-layout/constants.js.map +1 -0
  428. package/dist/collection/components/gov-layout/gov-layout-column.js +14 -0
  429. package/dist/collection/components/gov-layout/gov-layout-column.js.map +1 -0
  430. package/dist/collection/components/gov-layout/gov-layout.js +103 -0
  431. package/dist/collection/components/gov-layout/gov-layout.js.map +1 -0
  432. package/dist/collection/components/gov-lifecycle-tester/gov-lifecycle-tester.js +39 -0
  433. package/dist/collection/components/gov-lifecycle-tester/gov-lifecycle-tester.js.map +1 -0
  434. package/dist/collection/components/gov-link/constants.js +8 -0
  435. package/dist/collection/components/gov-link/constants.js.map +1 -0
  436. package/dist/collection/components/gov-link/gov-link.js +165 -0
  437. package/dist/collection/components/gov-link/gov-link.js.map +1 -0
  438. package/dist/collection/components/gov-loading/loading/constants.js +9 -0
  439. package/dist/collection/components/gov-loading/loading/constants.js.map +1 -0
  440. package/dist/collection/components/gov-loading/loading/gov-loading.js +61 -0
  441. package/dist/collection/components/gov-loading/loading/gov-loading.js.map +1 -0
  442. package/dist/collection/components/gov-loading/skeleton/constants.js +20 -0
  443. package/dist/collection/components/gov-loading/skeleton/constants.js.map +1 -0
  444. package/dist/collection/components/gov-loading/skeleton/gov-skeleton.js +251 -0
  445. package/dist/collection/components/gov-loading/skeleton/gov-skeleton.js.map +1 -0
  446. package/dist/collection/components/gov-message/constants.js +13 -0
  447. package/dist/collection/components/gov-message/constants.js.map +1 -0
  448. package/dist/collection/components/gov-message/gov-message.js +89 -0
  449. package/dist/collection/components/gov-message/gov-message.js.map +1 -0
  450. package/dist/collection/components/gov-pagination/constants.js +21 -0
  451. package/dist/collection/components/gov-pagination/constants.js.map +1 -0
  452. package/dist/collection/components/gov-pagination/gov-pagination.js +539 -0
  453. package/dist/collection/components/gov-pagination/gov-pagination.js.map +1 -0
  454. package/dist/collection/components/gov-pagination/gov-pagination.types.js +2 -0
  455. package/dist/collection/components/gov-pagination/gov-pagination.types.js.map +1 -0
  456. package/dist/collection/components/gov-pagination/pagination.js +55 -0
  457. package/dist/collection/components/gov-pagination/pagination.js.map +1 -0
  458. package/dist/collection/components/gov-spacer/constants.js +15 -0
  459. package/dist/collection/components/gov-spacer/constants.js.map +1 -0
  460. package/dist/collection/components/gov-spacer/gov-spacer.js +93 -0
  461. package/dist/collection/components/gov-spacer/gov-spacer.js.map +1 -0
  462. package/dist/collection/components/gov-stepper/stepper/constants.js +20 -0
  463. package/dist/collection/components/gov-stepper/stepper/constants.js.map +1 -0
  464. package/dist/collection/components/gov-stepper/stepper/gov-stepper-item.d.js +2 -0
  465. package/dist/collection/components/gov-stepper/stepper/gov-stepper-item.d.js.map +1 -0
  466. package/dist/collection/components/gov-stepper/stepper/gov-stepper-item.js +143 -0
  467. package/dist/collection/components/gov-stepper/stepper/gov-stepper-item.js.map +1 -0
  468. package/dist/collection/components/gov-stepper/stepper/gov-stepper.js +98 -0
  469. package/dist/collection/components/gov-stepper/stepper/gov-stepper.js.map +1 -0
  470. package/dist/collection/components/gov-tabs/constants.js +27 -0
  471. package/dist/collection/components/gov-tabs/constants.js.map +1 -0
  472. package/dist/collection/components/gov-tabs/gov-tabs-item.js +285 -0
  473. package/dist/collection/components/gov-tabs/gov-tabs-item.js.map +1 -0
  474. package/dist/collection/components/gov-tabs/gov-tabs.js +471 -0
  475. package/dist/collection/components/gov-tabs/gov-tabs.js.map +1 -0
  476. package/dist/collection/components/gov-tabs/gov-tabs.types.js +2 -0
  477. package/dist/collection/components/gov-tabs/gov-tabs.types.js.map +1 -0
  478. package/dist/collection/components/gov-tag/constants.js +12 -0
  479. package/dist/collection/components/gov-tag/constants.js.map +1 -0
  480. package/dist/collection/components/gov-tag/gov-tag.js +189 -0
  481. package/dist/collection/components/gov-tag/gov-tag.js.map +1 -0
  482. package/dist/collection/components/gov-theme-switch/constants.js +12 -0
  483. package/dist/collection/components/gov-theme-switch/constants.js.map +1 -0
  484. package/dist/collection/components/gov-theme-switch/gov-theme-switch.js +259 -0
  485. package/dist/collection/components/gov-theme-switch/gov-theme-switch.js.map +1 -0
  486. package/dist/collection/components/gov-theme-switch/gov-theme-switch.types.js +7 -0
  487. package/dist/collection/components/gov-theme-switch/gov-theme-switch.types.js.map +1 -0
  488. package/dist/collection/components/gov-tile/constants.js +13 -0
  489. package/dist/collection/components/gov-tile/constants.js.map +1 -0
  490. package/dist/collection/components/gov-tile/gov-tile.js +173 -0
  491. package/dist/collection/components/gov-tile/gov-tile.js.map +1 -0
  492. package/dist/collection/components/gov-toast/constants.js +17 -0
  493. package/dist/collection/components/gov-toast/constants.js.map +1 -0
  494. package/dist/collection/components/gov-toast/gov-toast.js +302 -0
  495. package/dist/collection/components/gov-toast/gov-toast.js.map +1 -0
  496. package/dist/collection/components/gov-tooltip/constants.js +19 -0
  497. package/dist/collection/components/gov-tooltip/constants.js.map +1 -0
  498. package/dist/collection/components/gov-tooltip/gov-tooltip-content.js +174 -0
  499. package/dist/collection/components/gov-tooltip/gov-tooltip-content.js.map +1 -0
  500. package/dist/collection/components/gov-tooltip/gov-tooltip.js +434 -0
  501. package/dist/collection/components/gov-tooltip/gov-tooltip.js.map +1 -0
  502. package/dist/collection/components/gov-wizard/constants.js +18 -0
  503. package/dist/collection/components/gov-wizard/constants.js.map +1 -0
  504. package/dist/collection/components/gov-wizard/gov-wizard-item.d.js +2 -0
  505. package/dist/collection/components/gov-wizard/gov-wizard-item.d.js.map +1 -0
  506. package/dist/collection/components/gov-wizard/gov-wizard-item.js +327 -0
  507. package/dist/collection/components/gov-wizard/gov-wizard-item.js.map +1 -0
  508. package/dist/collection/components/gov-wizard/gov-wizard-item.types.js +2 -0
  509. package/dist/collection/components/gov-wizard/gov-wizard-item.types.js.map +1 -0
  510. package/dist/collection/components/gov-wizard/gov-wizard.js +174 -0
  511. package/dist/collection/components/gov-wizard/gov-wizard.js.map +1 -0
  512. package/dist/collection/core/constants/colors.js +15 -0
  513. package/dist/collection/core/constants/colors.js.map +1 -0
  514. package/dist/collection/core/constants/sizes.js +15 -0
  515. package/dist/collection/core/constants/sizes.js.map +1 -0
  516. package/dist/collection/core/constants/tags.js +14 -0
  517. package/dist/collection/core/constants/tags.js.map +1 -0
  518. package/dist/collection/core/constants/tokens.js +19 -0
  519. package/dist/collection/core/constants/tokens.js.map +1 -0
  520. package/dist/collection/data/color-definitions.js +500 -0
  521. package/dist/collection/data/font-definitions.js +132 -0
  522. package/dist/collection/helpers/Accessibility/accessibility.js +10 -0
  523. package/dist/collection/helpers/Accessibility/accessibility.js.map +1 -0
  524. package/dist/collection/helpers/Accessibility/attributes.js +54 -0
  525. package/dist/collection/helpers/Accessibility/attributes.js.map +1 -0
  526. package/dist/collection/helpers/Dom/attribute.js +41 -0
  527. package/dist/collection/helpers/Dom/attribute.js.map +1 -0
  528. package/dist/collection/helpers/Dom/document.js +46 -0
  529. package/dist/collection/helpers/Dom/document.js.map +1 -0
  530. package/dist/collection/helpers/Dom/form.js +72 -0
  531. package/dist/collection/helpers/Dom/form.js.map +1 -0
  532. package/dist/collection/helpers/Dom/form.types.js +2 -0
  533. package/dist/collection/helpers/Dom/form.types.js.map +1 -0
  534. package/dist/collection/helpers/Dom/template.js +107 -0
  535. package/dist/collection/helpers/Dom/template.js.map +1 -0
  536. package/dist/collection/helpers/Dom/template.types.js +2 -0
  537. package/dist/collection/helpers/Dom/template.types.js.map +1 -0
  538. package/dist/collection/helpers/Dom/win.js +27 -0
  539. package/dist/collection/helpers/Dom/win.js.map +1 -0
  540. package/dist/collection/helpers/Fragment.js +2 -0
  541. package/dist/collection/helpers/Fragment.js.map +1 -0
  542. package/dist/collection/helpers/Log/gov.log.js +21 -0
  543. package/dist/collection/helpers/Log/gov.log.js.map +1 -0
  544. package/dist/collection/helpers/Validate/props.js +10 -0
  545. package/dist/collection/helpers/Validate/props.js.map +1 -0
  546. package/dist/collection/helpers/Validate/wcag.js +59 -0
  547. package/dist/collection/helpers/Validate/wcag.js.map +1 -0
  548. package/dist/collection/index.js +3 -0
  549. package/dist/collection/index.js.map +1 -0
  550. package/dist/collection/types/event.types.js +2 -0
  551. package/dist/collection/types/event.types.js.map +1 -0
  552. package/dist/collection/types/interfaces.js +2 -0
  553. package/dist/collection/types/interfaces.js.map +1 -0
  554. package/dist/collection/utils/array.utils.js +21 -0
  555. package/dist/collection/utils/array.utils.js.map +1 -0
  556. package/dist/collection/utils/bool.utils.js +15 -0
  557. package/dist/collection/utils/bool.utils.js.map +1 -0
  558. package/dist/collection/utils/dom.utils.js +6 -0
  559. package/dist/collection/utils/dom.utils.js.map +1 -0
  560. package/dist/collection/utils/ds.utils.js +5 -0
  561. package/dist/collection/utils/ds.utils.js.map +1 -0
  562. package/dist/collection/utils/file.utils.js +26 -0
  563. package/dist/collection/utils/file.utils.js.map +1 -0
  564. package/dist/collection/utils/helpers.types.js +54 -0
  565. package/dist/collection/utils/helpers.types.js.map +1 -0
  566. package/dist/collection/utils/icon.utils.js +31 -0
  567. package/dist/collection/utils/icon.utils.js.map +1 -0
  568. package/dist/collection/utils/number.utils.js +4 -0
  569. package/dist/collection/utils/number.utils.js.map +1 -0
  570. package/dist/collection/utils/object.utils.js +30 -0
  571. package/dist/collection/utils/object.utils.js.map +1 -0
  572. package/dist/collection/utils/stencil.utils.js +6 -0
  573. package/dist/collection/utils/stencil.utils.js.map +1 -0
  574. package/dist/collection/utils/string.utils.js +17 -0
  575. package/dist/collection/utils/string.utils.js.map +1 -0
  576. package/dist/collection/utils/utils.js +35 -0
  577. package/dist/collection/utils/utils.js.map +1 -0
  578. package/dist/components/gov-accordion-item.d.ts +11 -0
  579. package/dist/components/gov-accordion-item.js +2 -0
  580. package/dist/components/gov-accordion-item.js.map +1 -0
  581. package/dist/components/gov-accordion.d.ts +11 -0
  582. package/dist/components/gov-accordion.js +2 -0
  583. package/dist/components/gov-accordion.js.map +1 -0
  584. package/dist/components/gov-attachments-item.d.ts +11 -0
  585. package/dist/components/gov-attachments-item.js +2 -0
  586. package/dist/components/gov-attachments-item.js.map +1 -0
  587. package/dist/components/gov-attachments.d.ts +11 -0
  588. package/dist/components/gov-attachments.js +2 -0
  589. package/dist/components/gov-attachments.js.map +1 -0
  590. package/dist/components/gov-backdrop.d.ts +11 -0
  591. package/dist/components/gov-backdrop.js +2 -0
  592. package/dist/components/gov-backdrop.js.map +1 -0
  593. package/dist/components/gov-banner.d.ts +11 -0
  594. package/dist/components/gov-banner.js +2 -0
  595. package/dist/components/gov-banner.js.map +1 -0
  596. package/dist/components/gov-blockquote.d.ts +11 -0
  597. package/dist/components/gov-blockquote.js +2 -0
  598. package/dist/components/gov-blockquote.js.map +1 -0
  599. package/dist/components/gov-breadcrumbs.d.ts +11 -0
  600. package/dist/components/gov-breadcrumbs.js +2 -0
  601. package/dist/components/gov-breadcrumbs.js.map +1 -0
  602. package/dist/components/gov-button.d.ts +11 -0
  603. package/dist/components/gov-button.js +2 -0
  604. package/dist/components/gov-button.js.map +1 -0
  605. package/dist/components/gov-card.d.ts +11 -0
  606. package/dist/components/gov-card.js +2 -0
  607. package/dist/components/gov-card.js.map +1 -0
  608. package/dist/components/gov-chip.d.ts +11 -0
  609. package/dist/components/gov-chip.js +2 -0
  610. package/dist/components/gov-chip.js.map +1 -0
  611. package/dist/components/gov-collapsible.d.ts +11 -0
  612. package/dist/components/gov-collapsible.js +2 -0
  613. package/dist/components/gov-collapsible.js.map +1 -0
  614. package/dist/components/gov-container.d.ts +11 -0
  615. package/dist/components/gov-container.js +2 -0
  616. package/dist/components/gov-container.js.map +1 -0
  617. package/dist/components/gov-control-group.d.ts +11 -0
  618. package/dist/components/gov-control-group.js +2 -0
  619. package/dist/components/gov-control-group.js.map +1 -0
  620. package/dist/components/gov-cookiebar.d.ts +11 -0
  621. package/dist/components/gov-cookiebar.js +2 -0
  622. package/dist/components/gov-cookiebar.js.map +1 -0
  623. package/dist/components/gov-dialog.d.ts +11 -0
  624. package/dist/components/gov-dialog.js +2 -0
  625. package/dist/components/gov-dialog.js.map +1 -0
  626. package/dist/components/gov-dropdown.d.ts +11 -0
  627. package/dist/components/gov-dropdown.js +2 -0
  628. package/dist/components/gov-dropdown.js.map +1 -0
  629. package/dist/components/gov-empty.d.ts +11 -0
  630. package/dist/components/gov-empty.js +2 -0
  631. package/dist/components/gov-empty.js.map +1 -0
  632. package/dist/components/gov-error-code.d.ts +11 -0
  633. package/dist/components/gov-error-code.js +2 -0
  634. package/dist/components/gov-error-code.js.map +1 -0
  635. package/dist/components/gov-flex.d.ts +11 -0
  636. package/dist/components/gov-flex.js +2 -0
  637. package/dist/components/gov-flex.js.map +1 -0
  638. package/dist/components/gov-form-autocomplete.d.ts +11 -0
  639. package/dist/components/gov-form-autocomplete.js +2 -0
  640. package/dist/components/gov-form-autocomplete.js.map +1 -0
  641. package/dist/components/gov-form-checkbox-group.d.ts +11 -0
  642. package/dist/components/gov-form-checkbox-group.js +2 -0
  643. package/dist/components/gov-form-checkbox-group.js.map +1 -0
  644. package/dist/components/gov-form-checkbox.d.ts +11 -0
  645. package/dist/components/gov-form-checkbox.js +2 -0
  646. package/dist/components/gov-form-checkbox.js.map +1 -0
  647. package/dist/components/gov-form-control.d.ts +11 -0
  648. package/dist/components/gov-form-control.js +2 -0
  649. package/dist/components/gov-form-control.js.map +1 -0
  650. package/dist/components/gov-form-file.d.ts +11 -0
  651. package/dist/components/gov-form-file.js +2 -0
  652. package/dist/components/gov-form-file.js.map +1 -0
  653. package/dist/components/gov-form-group.d.ts +11 -0
  654. package/dist/components/gov-form-group.js +2 -0
  655. package/dist/components/gov-form-group.js.map +1 -0
  656. package/dist/components/gov-form-input.d.ts +11 -0
  657. package/dist/components/gov-form-input.js +2 -0
  658. package/dist/components/gov-form-input.js.map +1 -0
  659. package/dist/components/gov-form-label.d.ts +11 -0
  660. package/dist/components/gov-form-label.js +2 -0
  661. package/dist/components/gov-form-label.js.map +1 -0
  662. package/dist/components/gov-form-message.d.ts +11 -0
  663. package/dist/components/gov-form-message.js +2 -0
  664. package/dist/components/gov-form-message.js.map +1 -0
  665. package/dist/components/gov-form-multi-select.d.ts +11 -0
  666. package/dist/components/gov-form-multi-select.js +2 -0
  667. package/dist/components/gov-form-multi-select.js.map +1 -0
  668. package/dist/components/gov-form-password-power.d.ts +11 -0
  669. package/dist/components/gov-form-password-power.js +2 -0
  670. package/dist/components/gov-form-password-power.js.map +1 -0
  671. package/dist/components/gov-form-radio-group.d.ts +11 -0
  672. package/dist/components/gov-form-radio-group.js +2 -0
  673. package/dist/components/gov-form-radio-group.js.map +1 -0
  674. package/dist/components/gov-form-radio.d.ts +11 -0
  675. package/dist/components/gov-form-radio.js +2 -0
  676. package/dist/components/gov-form-radio.js.map +1 -0
  677. package/dist/components/gov-form-range.d.ts +11 -0
  678. package/dist/components/gov-form-range.js +2 -0
  679. package/dist/components/gov-form-range.js.map +1 -0
  680. package/dist/components/gov-form-search.d.ts +11 -0
  681. package/dist/components/gov-form-search.js +2 -0
  682. package/dist/components/gov-form-search.js.map +1 -0
  683. package/dist/components/gov-form-select.d.ts +11 -0
  684. package/dist/components/gov-form-select.js +2 -0
  685. package/dist/components/gov-form-select.js.map +1 -0
  686. package/dist/components/gov-form-switch.d.ts +11 -0
  687. package/dist/components/gov-form-switch.js +2 -0
  688. package/dist/components/gov-form-switch.js.map +1 -0
  689. package/dist/components/gov-grid-item.d.ts +11 -0
  690. package/dist/components/gov-grid-item.js +2 -0
  691. package/dist/components/gov-grid-item.js.map +1 -0
  692. package/dist/components/gov-grid.d.ts +11 -0
  693. package/dist/components/gov-grid.js +2 -0
  694. package/dist/components/gov-grid.js.map +1 -0
  695. package/dist/components/gov-icon.d.ts +11 -0
  696. package/dist/components/gov-icon.js +2 -0
  697. package/dist/components/gov-icon.js.map +1 -0
  698. package/dist/components/gov-infobar.d.ts +11 -0
  699. package/dist/components/gov-infobar.js +2 -0
  700. package/dist/components/gov-infobar.js.map +1 -0
  701. package/dist/components/gov-layout-column.d.ts +11 -0
  702. package/dist/components/gov-layout-column.js +2 -0
  703. package/dist/components/gov-layout-column.js.map +1 -0
  704. package/dist/components/gov-layout.d.ts +11 -0
  705. package/dist/components/gov-layout.js +2 -0
  706. package/dist/components/gov-layout.js.map +1 -0
  707. package/dist/components/gov-lifecycle.d.ts +11 -0
  708. package/dist/components/gov-lifecycle.js +2 -0
  709. package/dist/components/gov-lifecycle.js.map +1 -0
  710. package/dist/components/gov-link.d.ts +11 -0
  711. package/dist/components/gov-link.js +2 -0
  712. package/dist/components/gov-link.js.map +1 -0
  713. package/dist/components/gov-loading.d.ts +11 -0
  714. package/dist/components/gov-loading.js +2 -0
  715. package/dist/components/gov-loading.js.map +1 -0
  716. package/dist/components/gov-message.d.ts +11 -0
  717. package/dist/components/gov-message.js +2 -0
  718. package/dist/components/gov-message.js.map +1 -0
  719. package/dist/components/gov-pagination.d.ts +11 -0
  720. package/dist/components/gov-pagination.js +2 -0
  721. package/dist/components/gov-pagination.js.map +1 -0
  722. package/dist/components/gov-skeleton.d.ts +11 -0
  723. package/dist/components/gov-skeleton.js +2 -0
  724. package/dist/components/gov-skeleton.js.map +1 -0
  725. package/dist/components/gov-spacer.d.ts +11 -0
  726. package/dist/components/gov-spacer.js +2 -0
  727. package/dist/components/gov-spacer.js.map +1 -0
  728. package/dist/components/gov-stepper-item.d.ts +11 -0
  729. package/dist/components/gov-stepper-item.js +2 -0
  730. package/dist/components/gov-stepper-item.js.map +1 -0
  731. package/dist/components/gov-stepper.d.ts +11 -0
  732. package/dist/components/gov-stepper.js +2 -0
  733. package/dist/components/gov-stepper.js.map +1 -0
  734. package/dist/components/gov-tabs-item.d.ts +11 -0
  735. package/dist/components/gov-tabs-item.js +2 -0
  736. package/dist/components/gov-tabs-item.js.map +1 -0
  737. package/dist/components/gov-tabs.d.ts +11 -0
  738. package/dist/components/gov-tabs.js +2 -0
  739. package/dist/components/gov-tabs.js.map +1 -0
  740. package/dist/components/gov-tag.d.ts +11 -0
  741. package/dist/components/gov-tag.js +2 -0
  742. package/dist/components/gov-tag.js.map +1 -0
  743. package/dist/components/gov-theme-switch.d.ts +11 -0
  744. package/dist/components/gov-theme-switch.js +2 -0
  745. package/dist/components/gov-theme-switch.js.map +1 -0
  746. package/dist/components/gov-tile.d.ts +11 -0
  747. package/dist/components/gov-tile.js +2 -0
  748. package/dist/components/gov-tile.js.map +1 -0
  749. package/dist/components/gov-toast.d.ts +11 -0
  750. package/dist/components/gov-toast.js +2 -0
  751. package/dist/components/gov-toast.js.map +1 -0
  752. package/dist/components/gov-tooltip-content.d.ts +11 -0
  753. package/dist/components/gov-tooltip-content.js +2 -0
  754. package/dist/components/gov-tooltip-content.js.map +1 -0
  755. package/dist/components/gov-tooltip.d.ts +11 -0
  756. package/dist/components/gov-tooltip.js +2 -0
  757. package/dist/components/gov-tooltip.js.map +1 -0
  758. package/dist/components/gov-wizard-item.d.ts +11 -0
  759. package/dist/components/gov-wizard-item.js +2 -0
  760. package/dist/components/gov-wizard-item.js.map +1 -0
  761. package/dist/components/gov-wizard.d.ts +11 -0
  762. package/dist/components/gov-wizard.js +2 -0
  763. package/dist/components/gov-wizard.js.map +1 -0
  764. package/dist/components/index.d.ts +33 -0
  765. package/dist/components/index.js +2 -0
  766. package/dist/components/index.js.map +1 -0
  767. package/dist/components/p-4i8qDRtu.js +2 -0
  768. package/dist/components/p-4i8qDRtu.js.map +1 -0
  769. package/dist/components/p-5itQzbON.js +2 -0
  770. package/dist/components/p-5itQzbON.js.map +1 -0
  771. package/dist/components/p-9imLQpxb.js +2 -0
  772. package/dist/components/p-9imLQpxb.js.map +1 -0
  773. package/dist/components/p-B0KFtEn3.js +2 -0
  774. package/dist/components/p-B0KFtEn3.js.map +1 -0
  775. package/dist/components/p-B0hcuYXk.js +2 -0
  776. package/dist/components/p-B0hcuYXk.js.map +1 -0
  777. package/dist/components/p-B3tdsiZv.js +2 -0
  778. package/dist/components/p-B3tdsiZv.js.map +1 -0
  779. package/dist/components/p-BKP-F1qP.js +2 -0
  780. package/dist/components/p-BKP-F1qP.js.map +1 -0
  781. package/dist/components/p-BNnuBQvo.js +2 -0
  782. package/dist/components/p-BNnuBQvo.js.map +1 -0
  783. package/dist/components/p-BTwdrNoS.js +2 -0
  784. package/dist/components/p-BTwdrNoS.js.map +1 -0
  785. package/dist/components/p-BUmDydor.js +2 -0
  786. package/dist/components/p-BUmDydor.js.map +1 -0
  787. package/dist/components/p-BZTY3MxF.js +2 -0
  788. package/dist/components/p-BZTY3MxF.js.map +1 -0
  789. package/dist/components/p-BcQO4NH2.js +2 -0
  790. package/dist/components/p-BcQO4NH2.js.map +1 -0
  791. package/dist/components/p-BrdXh0mI.js +2 -0
  792. package/dist/components/p-BrdXh0mI.js.map +1 -0
  793. package/dist/components/p-Bv5L0j6n.js +2 -0
  794. package/dist/components/p-Bv5L0j6n.js.map +1 -0
  795. package/dist/components/p-C6JN9gdb.js +2 -0
  796. package/dist/components/p-C6JN9gdb.js.map +1 -0
  797. package/dist/components/p-CNqoJU2V.js +2 -0
  798. package/dist/components/p-CNqoJU2V.js.map +1 -0
  799. package/dist/components/p-CQvUntGY.js +2 -0
  800. package/dist/components/p-CQvUntGY.js.map +1 -0
  801. package/dist/components/p-CUVZZBqo.js +2 -0
  802. package/dist/components/p-CUVZZBqo.js.map +1 -0
  803. package/dist/components/p-CXgom82_.js +2 -0
  804. package/dist/components/p-CXgom82_.js.map +1 -0
  805. package/dist/components/p-CZr7GBEo.js +2 -0
  806. package/dist/components/p-CZr7GBEo.js.map +1 -0
  807. package/dist/components/p-CfaJM4SA.js +2 -0
  808. package/dist/components/p-CfaJM4SA.js.map +1 -0
  809. package/dist/components/p-Cjg0wpDG.js +2 -0
  810. package/dist/components/p-Cjg0wpDG.js.map +1 -0
  811. package/dist/components/p-ClYmjarv.js +2 -0
  812. package/dist/components/p-ClYmjarv.js.map +1 -0
  813. package/dist/components/p-DBXGhafv.js +2 -0
  814. package/dist/components/p-DBXGhafv.js.map +1 -0
  815. package/dist/components/p-DFu5UVoP.js +2 -0
  816. package/dist/components/p-DFu5UVoP.js.map +1 -0
  817. package/dist/components/p-DKo9A5gq.js +2 -0
  818. package/dist/components/p-DKo9A5gq.js.map +1 -0
  819. package/dist/components/p-DMVQRz4f.js +2 -0
  820. package/dist/components/p-DMVQRz4f.js.map +1 -0
  821. package/dist/components/p-DesycS6d.js +2 -0
  822. package/dist/components/p-DesycS6d.js.map +1 -0
  823. package/dist/components/p-DfI_0WW6.js +2 -0
  824. package/dist/components/p-DfI_0WW6.js.map +1 -0
  825. package/dist/components/p-DrPpH_9c.js +2 -0
  826. package/dist/components/p-DrPpH_9c.js.map +1 -0
  827. package/dist/components/p-EeKNA85D.js +2 -0
  828. package/dist/components/p-EeKNA85D.js.map +1 -0
  829. package/dist/components/p-GYov8gU1.js +2 -0
  830. package/dist/components/p-GYov8gU1.js.map +1 -0
  831. package/dist/components/p-Nvj7WFs_.js +2 -0
  832. package/dist/components/p-Nvj7WFs_.js.map +1 -0
  833. package/dist/components/p-Q99QrOoi.js +2 -0
  834. package/dist/components/p-Q99QrOoi.js.map +1 -0
  835. package/dist/components/p-U40vKHrs.js +2 -0
  836. package/dist/components/p-U40vKHrs.js.map +1 -0
  837. package/dist/components/p-UDT3DloZ.js +2 -0
  838. package/dist/components/p-UDT3DloZ.js.map +1 -0
  839. package/dist/components/p-djqfSbq-.js +2 -0
  840. package/dist/components/p-djqfSbq-.js.map +1 -0
  841. package/dist/components/p-vN03FcXN.js +2 -0
  842. package/dist/components/p-vN03FcXN.js.map +1 -0
  843. package/dist/components/p-x3w8Mun_.js +2 -0
  844. package/dist/components/p-x3w8Mun_.js.map +1 -0
  845. package/dist/components/p-yqJEurSE.js +2 -0
  846. package/dist/components/p-yqJEurSE.js.map +1 -0
  847. package/dist/core/core.css +14776 -0
  848. package/dist/core/core.esm.js +2 -0
  849. package/dist/core/core.esm.js.map +1 -0
  850. package/dist/core/gov-accordion-item.entry.esm.js.map +1 -0
  851. package/dist/core/gov-accordion.entry.esm.js.map +1 -0
  852. package/dist/core/gov-attachments.gov-attachments-item.gov-form-message.entry.esm.js.map +1 -0
  853. package/dist/core/gov-backdrop.entry.esm.js.map +1 -0
  854. package/dist/core/gov-banner.entry.esm.js.map +1 -0
  855. package/dist/core/gov-blockquote.entry.esm.js.map +1 -0
  856. package/dist/core/gov-breadcrumbs.entry.esm.js.map +1 -0
  857. package/dist/core/gov-button.entry.esm.js.map +1 -0
  858. package/dist/core/gov-card.entry.esm.js.map +1 -0
  859. package/dist/core/gov-chip.entry.esm.js.map +1 -0
  860. package/dist/core/gov-collapsible.entry.esm.js.map +1 -0
  861. package/dist/core/gov-container.entry.esm.js.map +1 -0
  862. package/dist/core/gov-control-group.entry.esm.js.map +1 -0
  863. package/dist/core/gov-cookiebar.entry.esm.js.map +1 -0
  864. package/dist/core/gov-dialog.entry.esm.js.map +1 -0
  865. package/dist/core/gov-dropdown.entry.esm.js.map +1 -0
  866. package/dist/core/gov-empty.entry.esm.js.map +1 -0
  867. package/dist/core/gov-error-code.entry.esm.js.map +1 -0
  868. package/dist/core/gov-flex.gov-icon.gov-theme-switch.entry.esm.js.map +1 -0
  869. package/dist/core/gov-form-autocomplete.entry.esm.js.map +1 -0
  870. package/dist/core/gov-form-checkbox-group.entry.esm.js.map +1 -0
  871. package/dist/core/gov-form-checkbox.entry.esm.js.map +1 -0
  872. package/dist/core/gov-form-control.entry.esm.js.map +1 -0
  873. package/dist/core/gov-form-file.entry.esm.js.map +1 -0
  874. package/dist/core/gov-form-group.entry.esm.js.map +1 -0
  875. package/dist/core/gov-form-input.gov-skeleton.entry.esm.js.map +1 -0
  876. package/dist/core/gov-form-label.entry.esm.js.map +1 -0
  877. package/dist/core/gov-form-multi-select.entry.esm.js.map +1 -0
  878. package/dist/core/gov-form-password-power.entry.esm.js.map +1 -0
  879. package/dist/core/gov-form-radio-group.entry.esm.js.map +1 -0
  880. package/dist/core/gov-form-radio.entry.esm.js.map +1 -0
  881. package/dist/core/gov-form-range.entry.esm.js.map +1 -0
  882. package/dist/core/gov-form-search.entry.esm.js.map +1 -0
  883. package/dist/core/gov-form-select.entry.esm.js.map +1 -0
  884. package/dist/core/gov-form-switch.entry.esm.js.map +1 -0
  885. package/dist/core/gov-grid-item.entry.esm.js.map +1 -0
  886. package/dist/core/gov-grid.entry.esm.js.map +1 -0
  887. package/dist/core/gov-infobar.entry.esm.js.map +1 -0
  888. package/dist/core/gov-layout-column.entry.esm.js.map +1 -0
  889. package/dist/core/gov-layout.entry.esm.js.map +1 -0
  890. package/dist/core/gov-lifecycle.entry.esm.js.map +1 -0
  891. package/dist/core/gov-link.entry.esm.js.map +1 -0
  892. package/dist/core/gov-loading.entry.esm.js.map +1 -0
  893. package/dist/core/gov-message.entry.esm.js.map +1 -0
  894. package/dist/core/gov-pagination.entry.esm.js.map +1 -0
  895. package/dist/core/gov-spacer.entry.esm.js.map +1 -0
  896. package/dist/core/gov-stepper-item.entry.esm.js.map +1 -0
  897. package/dist/core/gov-stepper.entry.esm.js.map +1 -0
  898. package/dist/core/gov-tabs-item.entry.esm.js.map +1 -0
  899. package/dist/core/gov-tabs.entry.esm.js.map +1 -0
  900. package/dist/core/gov-tag.entry.esm.js.map +1 -0
  901. package/dist/core/gov-tile.entry.esm.js.map +1 -0
  902. package/dist/core/gov-toast.entry.esm.js.map +1 -0
  903. package/dist/core/gov-tooltip.gov-tooltip-content.entry.esm.js.map +1 -0
  904. package/dist/core/gov-wizard-item.entry.esm.js.map +1 -0
  905. package/dist/core/gov-wizard.entry.esm.js.map +1 -0
  906. package/dist/core/index.esm.js +2 -0
  907. package/dist/core/index.esm.js.map +1 -0
  908. package/dist/core/loader.esm.js.map +1 -0
  909. package/dist/core/p-04ec45ab.entry.js +2 -0
  910. package/dist/core/p-04ec45ab.entry.js.map +1 -0
  911. package/dist/core/p-0af96cc0.entry.js +2 -0
  912. package/dist/core/p-0af96cc0.entry.js.map +1 -0
  913. package/dist/core/p-11fc3899.entry.js +2 -0
  914. package/dist/core/p-11fc3899.entry.js.map +1 -0
  915. package/dist/core/p-157a1636.entry.js +2 -0
  916. package/dist/core/p-157a1636.entry.js.map +1 -0
  917. package/dist/core/p-1626cc67.entry.js +2 -0
  918. package/dist/core/p-1626cc67.entry.js.map +1 -0
  919. package/dist/core/p-187c0eda.entry.js +2 -0
  920. package/dist/core/p-187c0eda.entry.js.map +1 -0
  921. package/dist/core/p-3314505d.entry.js +2 -0
  922. package/dist/core/p-3314505d.entry.js.map +1 -0
  923. package/dist/core/p-33209782.entry.js +2 -0
  924. package/dist/core/p-33209782.entry.js.map +1 -0
  925. package/dist/core/p-33b462c9.entry.js +2 -0
  926. package/dist/core/p-33b462c9.entry.js.map +1 -0
  927. package/dist/core/p-3e07bf07.entry.js +2 -0
  928. package/dist/core/p-3e07bf07.entry.js.map +1 -0
  929. package/dist/core/p-3e5ae012.entry.js +2 -0
  930. package/dist/core/p-3e5ae012.entry.js.map +1 -0
  931. package/dist/core/p-46824842.entry.js +2 -0
  932. package/dist/core/p-46824842.entry.js.map +1 -0
  933. package/dist/core/p-469f14db.entry.js +2 -0
  934. package/dist/core/p-469f14db.entry.js.map +1 -0
  935. package/dist/core/p-4c02094d.entry.js +2 -0
  936. package/dist/core/p-4c02094d.entry.js.map +1 -0
  937. package/dist/core/p-4d365881.entry.js +2 -0
  938. package/dist/core/p-4d365881.entry.js.map +1 -0
  939. package/dist/core/p-4d36cd18.entry.js +2 -0
  940. package/dist/core/p-4d36cd18.entry.js.map +1 -0
  941. package/dist/core/p-4d902f20.entry.js +2 -0
  942. package/dist/core/p-4d902f20.entry.js.map +1 -0
  943. package/dist/core/p-4da8ac1d.entry.js +2 -0
  944. package/dist/core/p-4da8ac1d.entry.js.map +1 -0
  945. package/dist/core/p-511eed88.entry.js +2 -0
  946. package/dist/core/p-511eed88.entry.js.map +1 -0
  947. package/dist/core/p-5305e82e.entry.js +2 -0
  948. package/dist/core/p-5305e82e.entry.js.map +1 -0
  949. package/dist/core/p-558e75a6.entry.js +2 -0
  950. package/dist/core/p-558e75a6.entry.js.map +1 -0
  951. package/dist/core/p-5721cf9b.entry.js +2 -0
  952. package/dist/core/p-5721cf9b.entry.js.map +1 -0
  953. package/dist/core/p-57ca8ac7.entry.js +2 -0
  954. package/dist/core/p-57ca8ac7.entry.js.map +1 -0
  955. package/dist/core/p-5c872d64.entry.js +2 -0
  956. package/dist/core/p-5c872d64.entry.js.map +1 -0
  957. package/dist/core/p-5itQzbON.js +2 -0
  958. package/dist/core/p-5itQzbON.js.map +1 -0
  959. package/dist/core/p-65a09763.entry.js +2 -0
  960. package/dist/core/p-65a09763.entry.js.map +1 -0
  961. package/dist/core/p-6b44890d.entry.js +2 -0
  962. package/dist/core/p-6b44890d.entry.js.map +1 -0
  963. package/dist/core/p-6d2ce4c7.entry.js +2 -0
  964. package/dist/core/p-6d2ce4c7.entry.js.map +1 -0
  965. package/dist/core/p-70b5555f.entry.js +2 -0
  966. package/dist/core/p-70b5555f.entry.js.map +1 -0
  967. package/dist/core/p-73bd93f9.entry.js +2 -0
  968. package/dist/core/p-73bd93f9.entry.js.map +1 -0
  969. package/dist/core/p-852310d9.entry.js +2 -0
  970. package/dist/core/p-852310d9.entry.js.map +1 -0
  971. package/dist/core/p-90ab65b4.entry.js +2 -0
  972. package/dist/core/p-90ab65b4.entry.js.map +1 -0
  973. package/dist/core/p-91cbee1b.entry.js +2 -0
  974. package/dist/core/p-91cbee1b.entry.js.map +1 -0
  975. package/dist/core/p-9d9e9401.entry.js +2 -0
  976. package/dist/core/p-9d9e9401.entry.js.map +1 -0
  977. package/dist/core/p-B6CqPcY_.js +2 -0
  978. package/dist/core/p-B6CqPcY_.js.map +1 -0
  979. package/dist/core/p-BUmDydor.js +2 -0
  980. package/dist/core/p-BUmDydor.js.map +1 -0
  981. package/dist/core/p-BcQO4NH2.js +2 -0
  982. package/dist/core/p-BcQO4NH2.js.map +1 -0
  983. package/dist/core/p-BjcqOprh.js +2 -0
  984. package/dist/core/p-BjcqOprh.js.map +1 -0
  985. package/dist/core/p-Bo1ROm5Q.js +2 -0
  986. package/dist/core/p-Bo1ROm5Q.js.map +1 -0
  987. package/dist/core/p-Bz_RzYFb.js +2 -0
  988. package/dist/core/p-Bz_RzYFb.js.map +1 -0
  989. package/dist/core/p-C3R1T_pg.js +2 -0
  990. package/dist/core/p-C3R1T_pg.js.map +1 -0
  991. package/dist/core/p-C6JN9gdb.js +2 -0
  992. package/dist/core/p-C6JN9gdb.js.map +1 -0
  993. package/dist/core/p-CDIRBJsi.js +2 -0
  994. package/dist/core/p-CDIRBJsi.js.map +1 -0
  995. package/dist/core/p-CQvUntGY.js +2 -0
  996. package/dist/core/p-CQvUntGY.js.map +1 -0
  997. package/dist/core/p-Ccwpa1ck.js +2 -0
  998. package/dist/core/p-Ccwpa1ck.js.map +1 -0
  999. package/dist/core/p-CgDnDrq5.js +2 -0
  1000. package/dist/core/p-CgDnDrq5.js.map +1 -0
  1001. package/dist/core/p-Cjg0wpDG.js +2 -0
  1002. package/dist/core/p-Cjg0wpDG.js.map +1 -0
  1003. package/dist/core/p-ClISz4NF.js +3 -0
  1004. package/dist/core/p-ClISz4NF.js.map +1 -0
  1005. package/dist/core/p-CoD1xawt.js +2 -0
  1006. package/dist/core/p-CoD1xawt.js.map +1 -0
  1007. package/dist/core/p-Cx3bEC5v.js +2 -0
  1008. package/dist/core/p-Cx3bEC5v.js.map +1 -0
  1009. package/dist/core/p-CzXeijOj.js +2 -0
  1010. package/dist/core/p-CzXeijOj.js.map +1 -0
  1011. package/dist/core/p-D4TGB274.js +2 -0
  1012. package/dist/core/p-D4TGB274.js.map +1 -0
  1013. package/dist/core/p-DBXGhafv.js +2 -0
  1014. package/dist/core/p-DBXGhafv.js.map +1 -0
  1015. package/dist/core/p-DNztiAH0.js +2 -0
  1016. package/dist/core/p-DNztiAH0.js.map +1 -0
  1017. package/dist/core/p-DQuL1Twl.js +2 -0
  1018. package/dist/core/p-DQuL1Twl.js.map +1 -0
  1019. package/dist/core/p-DYcNEwSZ.js +2 -0
  1020. package/dist/core/p-DYcNEwSZ.js.map +1 -0
  1021. package/dist/core/p-EeKNA85D.js +2 -0
  1022. package/dist/core/p-EeKNA85D.js.map +1 -0
  1023. package/dist/core/p-GYov8gU1.js +2 -0
  1024. package/dist/core/p-GYov8gU1.js.map +1 -0
  1025. package/dist/core/p-NOJjz9dT.js +2 -0
  1026. package/dist/core/p-NOJjz9dT.js.map +1 -0
  1027. package/dist/core/p-Q99QrOoi.js +2 -0
  1028. package/dist/core/p-Q99QrOoi.js.map +1 -0
  1029. package/dist/core/p-U40vKHrs.js +2 -0
  1030. package/dist/core/p-U40vKHrs.js.map +1 -0
  1031. package/dist/core/p-a2c61d50.entry.js +2 -0
  1032. package/dist/core/p-a2c61d50.entry.js.map +1 -0
  1033. package/dist/core/p-abb7780e.entry.js +2 -0
  1034. package/dist/core/p-abb7780e.entry.js.map +1 -0
  1035. package/dist/core/p-bd2df430.entry.js +2 -0
  1036. package/dist/core/p-bd2df430.entry.js.map +1 -0
  1037. package/dist/core/p-bd389bfd.entry.js +2 -0
  1038. package/dist/core/p-bd389bfd.entry.js.map +1 -0
  1039. package/dist/core/p-be9af807.entry.js +2 -0
  1040. package/dist/core/p-be9af807.entry.js.map +1 -0
  1041. package/dist/core/p-bf573a56.entry.js +2 -0
  1042. package/dist/core/p-bf573a56.entry.js.map +1 -0
  1043. package/dist/core/p-c1b9f1ab.entry.js +2 -0
  1044. package/dist/core/p-c1b9f1ab.entry.js.map +1 -0
  1045. package/dist/core/p-c21bc8f9.entry.js +2 -0
  1046. package/dist/core/p-c21bc8f9.entry.js.map +1 -0
  1047. package/dist/core/p-c4734357.entry.js +2 -0
  1048. package/dist/core/p-c4734357.entry.js.map +1 -0
  1049. package/dist/core/p-c6b55c0a.entry.js +2 -0
  1050. package/dist/core/p-c6b55c0a.entry.js.map +1 -0
  1051. package/dist/core/p-cd163299.entry.js +2 -0
  1052. package/dist/core/p-cd163299.entry.js.map +1 -0
  1053. package/dist/core/p-d43959a0.entry.js +2 -0
  1054. package/dist/core/p-d43959a0.entry.js.map +1 -0
  1055. package/dist/core/p-d9c574f0.entry.js +2 -0
  1056. package/dist/core/p-d9c574f0.entry.js.map +1 -0
  1057. package/dist/core/p-da997fb3.entry.js +2 -0
  1058. package/dist/core/p-da997fb3.entry.js.map +1 -0
  1059. package/dist/core/p-db860031.entry.js +2 -0
  1060. package/dist/core/p-db860031.entry.js.map +1 -0
  1061. package/dist/core/p-def34832.entry.js +2 -0
  1062. package/dist/core/p-def34832.entry.js.map +1 -0
  1063. package/dist/core/p-e30968b3.entry.js +2 -0
  1064. package/dist/core/p-e30968b3.entry.js.map +1 -0
  1065. package/dist/core/p-e39e5dc7.entry.js +2 -0
  1066. package/dist/core/p-e39e5dc7.entry.js.map +1 -0
  1067. package/dist/core/p-eb3f6808.entry.js +2 -0
  1068. package/dist/core/p-eb3f6808.entry.js.map +1 -0
  1069. package/dist/core/p-eb766437.entry.js +2 -0
  1070. package/dist/core/p-eb766437.entry.js.map +1 -0
  1071. package/dist/core/p-f3887d6d.entry.js +2 -0
  1072. package/dist/core/p-f3887d6d.entry.js.map +1 -0
  1073. package/dist/core/p-f7bdb44a.entry.js +2 -0
  1074. package/dist/core/p-f7bdb44a.entry.js.map +1 -0
  1075. package/dist/core/p-fca7a0d6.entry.js +2 -0
  1076. package/dist/core/p-fca7a0d6.entry.js.map +1 -0
  1077. package/dist/core/p-vN03FcXN.js +2 -0
  1078. package/dist/core/p-vN03FcXN.js.map +1 -0
  1079. package/dist/esm/Fragment-5itQzbON.js +6 -0
  1080. package/dist/esm/Fragment-5itQzbON.js.map +1 -0
  1081. package/dist/esm/accessibility-wqNV8djF.js +11 -0
  1082. package/dist/esm/accessibility-wqNV8djF.js.map +1 -0
  1083. package/dist/esm/app-globals-DQuL1Twl.js +6 -0
  1084. package/dist/esm/app-globals-DQuL1Twl.js.map +1 -0
  1085. package/dist/esm/array.utils-CJ0U_ONv.js +42 -0
  1086. package/dist/esm/array.utils-CJ0U_ONv.js.map +1 -0
  1087. package/dist/esm/attribute-Bz_RzYFb.js +99 -0
  1088. package/dist/esm/attribute-Bz_RzYFb.js.map +1 -0
  1089. package/dist/esm/colors-U40vKHrs.js +19 -0
  1090. package/dist/esm/colors-U40vKHrs.js.map +1 -0
  1091. package/dist/esm/constants-BNBB_29K.js +33 -0
  1092. package/dist/esm/constants-BNBB_29K.js.map +1 -0
  1093. package/dist/esm/constants-BegH8u6i.js +15 -0
  1094. package/dist/esm/constants-BegH8u6i.js.map +1 -0
  1095. package/dist/esm/constants-BiWo5BNa.js +13 -0
  1096. package/dist/esm/constants-BiWo5BNa.js.map +1 -0
  1097. package/dist/esm/constants-CysDgoMA.js +13 -0
  1098. package/dist/esm/constants-CysDgoMA.js.map +1 -0
  1099. package/dist/esm/constants-DHvN41Ek.js +32 -0
  1100. package/dist/esm/constants-DHvN41Ek.js.map +1 -0
  1101. package/dist/esm/constants-DbTQsVRc.js +23 -0
  1102. package/dist/esm/constants-DbTQsVRc.js.map +1 -0
  1103. package/dist/esm/constants-Du0ZtfYe.js +23 -0
  1104. package/dist/esm/constants-Du0ZtfYe.js.map +1 -0
  1105. package/dist/esm/constants-Q99QrOoi.js +23 -0
  1106. package/dist/esm/constants-Q99QrOoi.js.map +1 -0
  1107. package/dist/esm/constants-YOtDGTm5.js +23 -0
  1108. package/dist/esm/constants-YOtDGTm5.js.map +1 -0
  1109. package/dist/esm/constants-aqe7GX2n.js +16 -0
  1110. package/dist/esm/constants-aqe7GX2n.js.map +1 -0
  1111. package/dist/esm/constants-oYp2tkdN.js +22 -0
  1112. package/dist/esm/constants-oYp2tkdN.js.map +1 -0
  1113. package/dist/esm/core.js +45 -0
  1114. package/dist/esm/core.js.map +1 -0
  1115. package/dist/esm/form-DvhJiKwA.js +141 -0
  1116. package/dist/esm/form-DvhJiKwA.js.map +1 -0
  1117. package/dist/esm/gov-accordion-item.entry.js +78 -0
  1118. package/dist/esm/gov-accordion-item.entry.js.map +1 -0
  1119. package/dist/esm/gov-accordion.entry.js +57 -0
  1120. package/dist/esm/gov-accordion.entry.js.map +1 -0
  1121. package/dist/esm/gov-attachments.gov-attachments-item.gov-form-message.entry.js.map +1 -0
  1122. package/dist/esm/gov-attachments_3.entry.js +117 -0
  1123. package/dist/esm/gov-attachments_3.entry.js.map +1 -0
  1124. package/dist/esm/gov-backdrop.entry.js +53 -0
  1125. package/dist/esm/gov-backdrop.entry.js.map +1 -0
  1126. package/dist/esm/gov-banner.entry.js +89 -0
  1127. package/dist/esm/gov-banner.entry.js.map +1 -0
  1128. package/dist/esm/gov-blockquote.entry.js +32 -0
  1129. package/dist/esm/gov-blockquote.entry.js.map +1 -0
  1130. package/dist/esm/gov-breadcrumbs.entry.js +74 -0
  1131. package/dist/esm/gov-breadcrumbs.entry.js.map +1 -0
  1132. package/dist/esm/gov-button.entry.js +184 -0
  1133. package/dist/esm/gov-button.entry.js.map +1 -0
  1134. package/dist/esm/gov-card.entry.js +89 -0
  1135. package/dist/esm/gov-card.entry.js.map +1 -0
  1136. package/dist/esm/gov-chip.entry.js +129 -0
  1137. package/dist/esm/gov-chip.entry.js.map +1 -0
  1138. package/dist/esm/gov-collapsible.entry.js +84 -0
  1139. package/dist/esm/gov-collapsible.entry.js.map +1 -0
  1140. package/dist/esm/gov-container.entry.js +22 -0
  1141. package/dist/esm/gov-container.entry.js.map +1 -0
  1142. package/dist/esm/gov-control-group.entry.js +49 -0
  1143. package/dist/esm/gov-control-group.entry.js.map +1 -0
  1144. package/dist/esm/gov-cookiebar.entry.js +26 -0
  1145. package/dist/esm/gov-cookiebar.entry.js.map +1 -0
  1146. package/dist/esm/gov-dialog.entry.js +167 -0
  1147. package/dist/esm/gov-dialog.entry.js.map +1 -0
  1148. package/dist/esm/gov-dropdown.entry.js +144 -0
  1149. package/dist/esm/gov-dropdown.entry.js.map +1 -0
  1150. package/dist/esm/gov-empty.entry.js +61 -0
  1151. package/dist/esm/gov-empty.entry.js.map +1 -0
  1152. package/dist/esm/gov-error-code.entry.js +23 -0
  1153. package/dist/esm/gov-error-code.entry.js.map +1 -0
  1154. package/dist/esm/gov-flex.gov-icon.gov-theme-switch.entry.js.map +1 -0
  1155. package/dist/esm/gov-flex_3.entry.js +334 -0
  1156. package/dist/esm/gov-flex_3.entry.js.map +1 -0
  1157. package/dist/esm/gov-form-autocomplete.entry.js +282 -0
  1158. package/dist/esm/gov-form-autocomplete.entry.js.map +1 -0
  1159. package/dist/esm/gov-form-checkbox-group.entry.js +90 -0
  1160. package/dist/esm/gov-form-checkbox-group.entry.js.map +1 -0
  1161. package/dist/esm/gov-form-checkbox.entry.js +149 -0
  1162. package/dist/esm/gov-form-checkbox.entry.js.map +1 -0
  1163. package/dist/esm/gov-form-control.entry.js +83 -0
  1164. package/dist/esm/gov-form-control.entry.js.map +1 -0
  1165. package/dist/esm/gov-form-file.entry.js +281 -0
  1166. package/dist/esm/gov-form-file.entry.js.map +1 -0
  1167. package/dist/esm/gov-form-group.entry.js +49 -0
  1168. package/dist/esm/gov-form-group.entry.js.map +1 -0
  1169. package/dist/esm/gov-form-input.gov-skeleton.entry.js.map +1 -0
  1170. package/dist/esm/gov-form-input_2.entry.js +287 -0
  1171. package/dist/esm/gov-form-input_2.entry.js.map +1 -0
  1172. package/dist/esm/gov-form-label.entry.js +33 -0
  1173. package/dist/esm/gov-form-label.entry.js.map +1 -0
  1174. package/dist/esm/gov-form-multi-select.entry.js +268 -0
  1175. package/dist/esm/gov-form-multi-select.entry.js.map +1 -0
  1176. package/dist/esm/gov-form-password-power.entry.js +21 -0
  1177. package/dist/esm/gov-form-password-power.entry.js.map +1 -0
  1178. package/dist/esm/gov-form-radio-group.entry.js +78 -0
  1179. package/dist/esm/gov-form-radio-group.entry.js.map +1 -0
  1180. package/dist/esm/gov-form-radio.entry.js +145 -0
  1181. package/dist/esm/gov-form-radio.entry.js.map +1 -0
  1182. package/dist/esm/gov-form-range.entry.js +210 -0
  1183. package/dist/esm/gov-form-range.entry.js.map +1 -0
  1184. package/dist/esm/gov-form-search.entry.js +33 -0
  1185. package/dist/esm/gov-form-search.entry.js.map +1 -0
  1186. package/dist/esm/gov-form-select.entry.js +156 -0
  1187. package/dist/esm/gov-form-select.entry.js.map +1 -0
  1188. package/dist/esm/gov-form-switch.entry.js +146 -0
  1189. package/dist/esm/gov-form-switch.entry.js.map +1 -0
  1190. package/dist/esm/gov-grid-item.entry.js +28 -0
  1191. package/dist/esm/gov-grid-item.entry.js.map +1 -0
  1192. package/dist/esm/gov-grid.entry.js +20 -0
  1193. package/dist/esm/gov-grid.entry.js.map +1 -0
  1194. package/dist/esm/gov-infobar.entry.js +105 -0
  1195. package/dist/esm/gov-infobar.entry.js.map +1 -0
  1196. package/dist/esm/gov-layout-column.entry.js +19 -0
  1197. package/dist/esm/gov-layout-column.entry.js.map +1 -0
  1198. package/dist/esm/gov-layout.entry.js +33 -0
  1199. package/dist/esm/gov-layout.entry.js.map +1 -0
  1200. package/dist/esm/gov-lifecycle.entry.js +44 -0
  1201. package/dist/esm/gov-lifecycle.entry.js.map +1 -0
  1202. package/dist/esm/gov-link.entry.js +57 -0
  1203. package/dist/esm/gov-link.entry.js.map +1 -0
  1204. package/dist/esm/gov-loading.entry.js +42 -0
  1205. package/dist/esm/gov-loading.entry.js.map +1 -0
  1206. package/dist/esm/gov-message.entry.js +47 -0
  1207. package/dist/esm/gov-message.entry.js.map +1 -0
  1208. package/dist/esm/gov-pagination.entry.js +255 -0
  1209. package/dist/esm/gov-pagination.entry.js.map +1 -0
  1210. package/dist/esm/gov-spacer.entry.js +53 -0
  1211. package/dist/esm/gov-spacer.entry.js.map +1 -0
  1212. package/dist/esm/gov-stepper-item.entry.js +51 -0
  1213. package/dist/esm/gov-stepper-item.entry.js.map +1 -0
  1214. package/dist/esm/gov-stepper.entry.js +51 -0
  1215. package/dist/esm/gov-stepper.entry.js.map +1 -0
  1216. package/dist/esm/gov-tabs-item.entry.js +68 -0
  1217. package/dist/esm/gov-tabs-item.entry.js.map +1 -0
  1218. package/dist/esm/gov-tabs.entry.js +230 -0
  1219. package/dist/esm/gov-tabs.entry.js.map +1 -0
  1220. package/dist/esm/gov-tag.entry.js +63 -0
  1221. package/dist/esm/gov-tag.entry.js.map +1 -0
  1222. package/dist/esm/gov-tile.entry.js +45 -0
  1223. package/dist/esm/gov-tile.entry.js.map +1 -0
  1224. package/dist/esm/gov-toast.entry.js +123 -0
  1225. package/dist/esm/gov-toast.entry.js.map +1 -0
  1226. package/dist/esm/gov-tooltip.gov-tooltip-content.entry.js.map +1 -0
  1227. package/dist/esm/gov-tooltip_2.entry.js +316 -0
  1228. package/dist/esm/gov-tooltip_2.entry.js.map +1 -0
  1229. package/dist/esm/gov-wizard-item.entry.js +103 -0
  1230. package/dist/esm/gov-wizard-item.entry.js.map +1 -0
  1231. package/dist/esm/gov-wizard.entry.js +68 -0
  1232. package/dist/esm/gov-wizard.entry.js.map +1 -0
  1233. package/dist/esm/gov.log-BtqD9K8d.js +46 -0
  1234. package/dist/esm/gov.log-BtqD9K8d.js.map +1 -0
  1235. package/dist/esm/helpers-GYov8gU1.js +18 -0
  1236. package/dist/esm/helpers-GYov8gU1.js.map +1 -0
  1237. package/dist/esm/helpers.types-DNztiAH0.js +12 -0
  1238. package/dist/esm/helpers.types-DNztiAH0.js.map +1 -0
  1239. package/dist/esm/index-ClISz4NF.js +2714 -0
  1240. package/dist/esm/index-ClISz4NF.js.map +1 -0
  1241. package/dist/esm/index.js +4 -0
  1242. package/dist/esm/index.js.map +1 -0
  1243. package/dist/esm/loader.js +14 -0
  1244. package/dist/esm/loader.js.map +1 -0
  1245. package/dist/esm/props-CJZgTDla.js +15 -0
  1246. package/dist/esm/props-CJZgTDla.js.map +1 -0
  1247. package/dist/esm/sizes-BcQO4NH2.js +19 -0
  1248. package/dist/esm/sizes-BcQO4NH2.js.map +1 -0
  1249. package/dist/esm/stencil.utils-Cjg0wpDG.js +10 -0
  1250. package/dist/esm/stencil.utils-Cjg0wpDG.js.map +1 -0
  1251. package/dist/esm/string.utils-vN03FcXN.js +21 -0
  1252. package/dist/esm/string.utils-vN03FcXN.js.map +1 -0
  1253. package/dist/esm/template-CoD1xawt.js +111 -0
  1254. package/dist/esm/template-CoD1xawt.js.map +1 -0
  1255. package/dist/esm/utils-CQvUntGY.js +36 -0
  1256. package/dist/esm/utils-CQvUntGY.js.map +1 -0
  1257. package/dist/esm/wcag-CD6_13JO.js +52 -0
  1258. package/dist/esm/wcag-CD6_13JO.js.map +1 -0
  1259. package/dist/globals.d.ts +2 -0
  1260. package/dist/hydrate/index.d.ts +273 -0
  1261. package/dist/hydrate/index.js +25828 -0
  1262. package/dist/hydrate/index.mjs +25820 -0
  1263. package/dist/hydrate/package.json +12 -0
  1264. package/dist/index.cjs.js +1 -0
  1265. package/dist/index.js +1 -0
  1266. package/dist/stencil.config.js +91 -0
  1267. package/dist/stencil.config.js.map +1 -0
  1268. package/dist/types/components/gov-accordion/constants.d.ts +19 -0
  1269. package/dist/types/components/gov-accordion/gov-accordion-item.d.ts +43 -0
  1270. package/dist/types/components/gov-accordion/gov-accordion.d.ts +26 -0
  1271. package/dist/types/components/gov-accordion/gov-accordion.types.d.ts +9 -0
  1272. package/dist/types/components/gov-attachments/constants.d.ts +11 -0
  1273. package/dist/types/components/gov-attachments/gov-attachments-item.d.d.ts +4 -0
  1274. package/dist/types/components/gov-attachments/gov-attachments-item.d.ts +24 -0
  1275. package/dist/types/components/gov-attachments/gov-attachments.d.ts +19 -0
  1276. package/dist/types/components/gov-backdrop/constants.d.ts +4 -0
  1277. package/dist/types/components/gov-backdrop/gov-backdrop.d.ts +32 -0
  1278. package/dist/types/components/gov-banner/constants.d.ts +26 -0
  1279. package/dist/types/components/gov-banner/gov-banner.d.ts +28 -0
  1280. package/dist/types/components/gov-blockquote/constants.d.ts +10 -0
  1281. package/dist/types/components/gov-blockquote/gov-blockquote.d.ts +15 -0
  1282. package/dist/types/components/gov-breadcrumbs/constants.d.ts +3 -0
  1283. package/dist/types/components/gov-breadcrumbs/gov-breadcrumbs.d.d.ts +4 -0
  1284. package/dist/types/components/gov-breadcrumbs/gov-breadcrumbs.d.ts +42 -0
  1285. package/dist/types/components/gov-button/button/constants.d.ts +29 -0
  1286. package/dist/types/components/gov-button/button/gov-button.d.ts +133 -0
  1287. package/dist/types/components/gov-button/button/gov-button.types.d.ts +4 -0
  1288. package/dist/types/components/gov-button/dropdown/constants.d.ts +10 -0
  1289. package/dist/types/components/gov-button/dropdown/gov-dropdown.d.ts +40 -0
  1290. package/dist/types/components/gov-button/dropdown/gov-dropdown.types.d.ts +4 -0
  1291. package/dist/types/components/gov-card/constants.d.ts +16 -0
  1292. package/dist/types/components/gov-card/gov-card.d.ts +57 -0
  1293. package/dist/types/components/gov-card/interfaces.d.ts +4 -0
  1294. package/dist/types/components/gov-chip/constants.d.ts +21 -0
  1295. package/dist/types/components/gov-chip/gov-chip.d.ts +82 -0
  1296. package/dist/types/components/gov-collapsible/constants.d.ts +18 -0
  1297. package/dist/types/components/gov-collapsible/gov-collapsible.d.ts +36 -0
  1298. package/dist/types/components/gov-container/constants.d.ts +3 -0
  1299. package/dist/types/components/gov-container/gov-container.d.ts +6 -0
  1300. package/dist/types/components/gov-control-group/constants.d.ts +7 -0
  1301. package/dist/types/components/gov-control-group/gov-control-group.d.ts +24 -0
  1302. package/dist/types/components/gov-cookiebar/constants.d.ts +7 -0
  1303. package/dist/types/components/gov-cookiebar/gov-cookiebar.d.ts +7 -0
  1304. package/dist/types/components/gov-dialog/constants.d.ts +11 -0
  1305. package/dist/types/components/gov-dialog/gov-dialog.d.ts +70 -0
  1306. package/dist/types/components/gov-empty/constants.d.ts +19 -0
  1307. package/dist/types/components/gov-empty/gov-empty.d.ts +21 -0
  1308. package/dist/types/components/gov-error-code/constants.d.ts +4 -0
  1309. package/dist/types/components/gov-error-code/gov-error-code.d.ts +6 -0
  1310. package/dist/types/components/gov-flex/constants.d.ts +7 -0
  1311. package/dist/types/components/gov-flex/gov-flex.d.ts +39 -0
  1312. package/dist/types/components/gov-form/autocomplete/constants.d.ts +11 -0
  1313. package/dist/types/components/gov-form/autocomplete/gov-form-autocomplete.d.ts +149 -0
  1314. package/dist/types/components/gov-form/autocomplete/gov-form-autocomplete.types.d.ts +9 -0
  1315. package/dist/types/components/gov-form/checkbox/constants.d.ts +10 -0
  1316. package/dist/types/components/gov-form/checkbox/gov-form-checkbox.d.ts +86 -0
  1317. package/dist/types/components/gov-form/checkbox/gov-form-checkbox.types.d.ts +5 -0
  1318. package/dist/types/components/gov-form/control/constants.d.ts +9 -0
  1319. package/dist/types/components/gov-form/control/gov-form-control.d.ts +40 -0
  1320. package/dist/types/components/gov-form/file/constants.d.ts +7 -0
  1321. package/dist/types/components/gov-form/file/gov-form-file.d.ts +129 -0
  1322. package/dist/types/components/gov-form/file/gov-form-file.types.d.ts +11 -0
  1323. package/dist/types/components/gov-form/group/constants.d.ts +18 -0
  1324. package/dist/types/components/gov-form/group/gov-form-checkbox-group.d.ts +32 -0
  1325. package/dist/types/components/gov-form/group/gov-form-group.d.ts +18 -0
  1326. package/dist/types/components/gov-form/group/gov-form-group.types.d.ts +7 -0
  1327. package/dist/types/components/gov-form/group/gov-form-radio-group.d.ts +32 -0
  1328. package/dist/types/components/gov-form/input/constants.d.ts +28 -0
  1329. package/dist/types/components/gov-form/input/gov-form-input.d.ts +178 -0
  1330. package/dist/types/components/gov-form/input/gov-form-input.types.d.ts +4 -0
  1331. package/dist/types/components/gov-form/label/constants.d.ts +8 -0
  1332. package/dist/types/components/gov-form/label/gov-form-label.d.ts +26 -0
  1333. package/dist/types/components/gov-form/message/constants.d.ts +11 -0
  1334. package/dist/types/components/gov-form/message/gov-form-message.d.ts +23 -0
  1335. package/dist/types/components/gov-form/multiselect/constants.d.ts +10 -0
  1336. package/dist/types/components/gov-form/multiselect/gov-form-multi-select.d.ts +127 -0
  1337. package/dist/types/components/gov-form/multiselect/gov-form-multi-select.types.d.ts +10 -0
  1338. package/dist/types/components/gov-form/password-power/constants.d.ts +5 -0
  1339. package/dist/types/components/gov-form/password-power/gov-form-password-power.d.ts +7 -0
  1340. package/dist/types/components/gov-form/radio/constants.d.ts +10 -0
  1341. package/dist/types/components/gov-form/radio/gov-form-radio.d.ts +83 -0
  1342. package/dist/types/components/gov-form/radio/gov-form-radio.types.d.ts +5 -0
  1343. package/dist/types/components/gov-form/range/constants.d.ts +9 -0
  1344. package/dist/types/components/gov-form/range/gov-form-range.d.ts +116 -0
  1345. package/dist/types/components/gov-form/search/constants.d.ts +10 -0
  1346. package/dist/types/components/gov-form/search/gov-form-search.d.ts +13 -0
  1347. package/dist/types/components/gov-form/select/constants.d.ts +8 -0
  1348. package/dist/types/components/gov-form/select/gov-form-select.d.ts +89 -0
  1349. package/dist/types/components/gov-form/select/gov-form-select.types.d.ts +9 -0
  1350. package/dist/types/components/gov-form/switch/constants.d.ts +12 -0
  1351. package/dist/types/components/gov-form/switch/gov-form-switch.d.ts +81 -0
  1352. package/dist/types/components/gov-form/switch/gov-form-switch.types.d.ts +5 -0
  1353. package/dist/types/components/gov-grid/constants.d.ts +10 -0
  1354. package/dist/types/components/gov-grid/gov-grid-item.d.ts +46 -0
  1355. package/dist/types/components/gov-grid/gov-grid.d.ts +19 -0
  1356. package/dist/types/components/gov-icon/constants.d.ts +18 -0
  1357. package/dist/types/components/gov-icon/gov-icon.d.ts +34 -0
  1358. package/dist/types/components/gov-icon/helpers.d.ts +6 -0
  1359. package/dist/types/components/gov-icon/list.d.ts +3 -0
  1360. package/dist/types/components/gov-infobar/constants.d.ts +16 -0
  1361. package/dist/types/components/gov-infobar/gov-infobar.d.ts +51 -0
  1362. package/dist/types/components/gov-infobar/gov-infobar.types.d.ts +4 -0
  1363. package/dist/types/components/gov-layout/constants.d.ts +20 -0
  1364. package/dist/types/components/gov-layout/gov-layout-column.d.ts +6 -0
  1365. package/dist/types/components/gov-layout/gov-layout.d.ts +20 -0
  1366. package/dist/types/components/gov-lifecycle-tester/gov-lifecycle-tester.d.ts +14 -0
  1367. package/dist/types/components/gov-link/constants.d.ts +8 -0
  1368. package/dist/types/components/gov-link/gov-link.d.ts +34 -0
  1369. package/dist/types/components/gov-loading/loading/constants.d.ts +9 -0
  1370. package/dist/types/components/gov-loading/loading/gov-loading.d.ts +13 -0
  1371. package/dist/types/components/gov-loading/skeleton/constants.d.ts +21 -0
  1372. package/dist/types/components/gov-loading/skeleton/gov-skeleton.d.ts +46 -0
  1373. package/dist/types/components/gov-message/constants.d.ts +13 -0
  1374. package/dist/types/components/gov-message/gov-message.d.ts +16 -0
  1375. package/dist/types/components/gov-pagination/constants.d.ts +22 -0
  1376. package/dist/types/components/gov-pagination/gov-pagination.d.ts +97 -0
  1377. package/dist/types/components/gov-pagination/gov-pagination.types.d.ts +5 -0
  1378. package/dist/types/components/gov-pagination/pagination.d.ts +12 -0
  1379. package/dist/types/components/gov-spacer/constants.d.ts +15 -0
  1380. package/dist/types/components/gov-spacer/gov-spacer.d.ts +18 -0
  1381. package/dist/types/components/gov-stepper/stepper/constants.d.ts +21 -0
  1382. package/dist/types/components/gov-stepper/stepper/gov-stepper-item.d.d.ts +4 -0
  1383. package/dist/types/components/gov-stepper/stepper/gov-stepper-item.d.ts +31 -0
  1384. package/dist/types/components/gov-stepper/stepper/gov-stepper.d.ts +22 -0
  1385. package/dist/types/components/gov-tabs/constants.d.ts +28 -0
  1386. package/dist/types/components/gov-tabs/gov-tabs-item.d.ts +54 -0
  1387. package/dist/types/components/gov-tabs/gov-tabs.d.ts +70 -0
  1388. package/dist/types/components/gov-tabs/gov-tabs.types.d.ts +14 -0
  1389. package/dist/types/components/gov-tag/constants.d.ts +12 -0
  1390. package/dist/types/components/gov-tag/gov-tag.d.ts +35 -0
  1391. package/dist/types/components/gov-theme-switch/constants.d.ts +12 -0
  1392. package/dist/types/components/gov-theme-switch/gov-theme-switch.d.ts +46 -0
  1393. package/dist/types/components/gov-theme-switch/gov-theme-switch.types.d.ts +10 -0
  1394. package/dist/types/components/gov-tile/constants.d.ts +13 -0
  1395. package/dist/types/components/gov-tile/gov-tile.d.ts +34 -0
  1396. package/dist/types/components/gov-toast/constants.d.ts +17 -0
  1397. package/dist/types/components/gov-toast/gov-toast.d.ts +58 -0
  1398. package/dist/types/components/gov-tooltip/constants.d.ts +20 -0
  1399. package/dist/types/components/gov-tooltip/gov-tooltip-content.d.ts +28 -0
  1400. package/dist/types/components/gov-tooltip/gov-tooltip.d.ts +58 -0
  1401. package/dist/types/components/gov-wizard/constants.d.ts +19 -0
  1402. package/dist/types/components/gov-wizard/gov-wizard-item.d.d.ts +4 -0
  1403. package/dist/types/components/gov-wizard/gov-wizard-item.d.ts +60 -0
  1404. package/dist/types/components/gov-wizard/gov-wizard-item.types.d.ts +4 -0
  1405. package/dist/types/components/gov-wizard/gov-wizard.d.ts +35 -0
  1406. package/dist/types/components.d.ts +5210 -0
  1407. package/dist/types/core/constants/colors.d.ts +13 -0
  1408. package/dist/types/core/constants/sizes.d.ts +13 -0
  1409. package/dist/types/core/constants/tags.d.ts +12 -0
  1410. package/dist/types/core/constants/tokens.d.ts +1 -0
  1411. package/dist/types/helpers/Accessibility/accessibility.d.ts +1 -0
  1412. package/dist/types/helpers/Accessibility/attributes.d.ts +1 -0
  1413. package/dist/types/helpers/Dom/attribute.d.ts +13 -0
  1414. package/dist/types/helpers/Dom/document.d.ts +4 -0
  1415. package/dist/types/helpers/Dom/form.d.ts +3 -0
  1416. package/dist/types/helpers/Dom/form.types.d.ts +11 -0
  1417. package/dist/types/helpers/Dom/template.d.ts +10 -0
  1418. package/dist/types/helpers/Dom/template.types.d.ts +14 -0
  1419. package/dist/types/helpers/Dom/win.d.ts +18 -0
  1420. package/dist/types/helpers/Fragment.d.ts +2 -0
  1421. package/dist/types/helpers/Log/gov.log.d.ts +8 -0
  1422. package/dist/types/helpers/Validate/props.d.ts +1 -0
  1423. package/dist/types/helpers/Validate/wcag.d.ts +4 -0
  1424. package/dist/types/index.d.ts +0 -0
  1425. package/dist/types/interfaces.d.ts +1 -0
  1426. package/dist/types/stencil-public-runtime.d.ts +1702 -0
  1427. package/dist/types/types/event.types.d.ts +4 -0
  1428. package/dist/types/types/interfaces.d.ts +2 -0
  1429. package/dist/types/types/typings.d.ts +6 -0
  1430. package/dist/types/utils/array.utils.d.ts +2 -0
  1431. package/dist/types/utils/bool.utils.d.ts +1 -0
  1432. package/dist/types/utils/dom.utils.d.ts +1 -0
  1433. package/dist/types/utils/ds.utils.d.ts +1 -0
  1434. package/dist/types/utils/file.utils.d.ts +3 -0
  1435. package/dist/types/utils/helpers.types.d.ts +49 -0
  1436. package/dist/types/utils/icon.utils.d.ts +4 -0
  1437. package/dist/types/utils/number.utils.d.ts +1 -0
  1438. package/dist/types/utils/object.utils.d.ts +2 -0
  1439. package/dist/types/utils/stencil.utils.d.ts +1 -0
  1440. package/dist/types/utils/string.utils.d.ts +4 -0
  1441. package/dist/types/utils/utils.d.ts +20 -0
  1442. package/dist/types/work/packages/core/.stencil/packages/core/stencil.config.d.ts +2 -0
  1443. package/loader/cdn.js +1 -0
  1444. package/loader/index.cjs.js +1 -0
  1445. package/loader/index.d.ts +24 -0
  1446. package/loader/index.es2017.js +1 -0
  1447. package/loader/index.js +2 -0
  1448. package/package.json +4 -4
  1449. package/LICENSE +0 -21
  1450. package/readme.md +0 -15
@@ -0,0 +1 @@
1
+ {"version":3,"names":["GovTabsItem","__stencil_proxyCustomElement","HTMLElement","constructor","this","disabled","default","isActive","h","govHost","host","contentId","createID","triggerId","rerenderParent","element","getParent","TabsClass","root","rerender","catch","render","Host","key","class","classes","TabsItemClass","inner","role","id","identifier","hidden","triggerIdentifier","toBoolAttrIfDefined","getIdentifier","getTriggerIdentifier","getDisableState","setActiveStatus","status"],"sources":["../../../packages/core/src/components/gov-tabs/gov-tabs-item.tsx"],"sourcesContent":["import {Component, Element, h, Host, Method, Prop, State, Watch} from '@stencil/core'\nimport {createID} from '../../utils/string.utils'\nimport {govHost, toBoolAttrIfDefined} from '../../helpers/Dom/template'\nimport {GovHost} from '../../helpers/Dom/template.types'\nimport {TabsClass, TabsItemClass} from './constants'\n\n@Component({\n\ttag: 'gov-tabs-item',\n})\nexport class GovTabsItem {\n\tprivate h: GovHost\n\tprivate readonly contentId: string\n\tprivate readonly triggerId: string\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t\tthis.contentId = createID('GovTabContent')\n\t\tthis.triggerId = createID('GovTabTrigger')\n\t}\n\n\t@Element() host: HTMLGovTabsItemElement\n\t/**\n\t * Custom tab item identifier. Otherwise, it will be generated\n\t */\n\t@Prop() readonly identifier: string\n\t/**\n\t * Custom tab trigger item identifier. Otherwise, it will be generated\n\t */\n\t@Prop() readonly triggerIdentifier: string\n\t/**\n\t * Item name of the tab\n\t */\n\t@Prop({reflect: true}) readonly label: string\n\t/**\n\t * Item disable state\n\t */\n\t@Prop({reflect: true}) readonly disabled: boolean = false\n\t/**\n\t * Icon definition at the stat. Use the type/name notation\n\t */\n\t@Prop({reflect: true, attribute: 'icon-start'}) readonly iconStart: string\n\t/**\n\t * Icon definition at the end. Use the type/name notation\n\t */\n\t@Prop({reflect: true, attribute: 'icon-end'}) readonly iconEnd: string\n\t/**\n\t * Default selected tab\n\t */\n\t@Prop() readonly default: boolean = false\n\t@State() isActive = false\n\n\t@Watch('label')\n\t@Watch('disabled')\n\trerenderParent() {\n\t\tconst element = this.h.getParent(TabsClass.root) as HTMLGovTabsElement;\n\t\tif (element) {\n\t\t\telement.rerender().catch()\n\t\t}\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={this.h.classes(TabsItemClass.root)} default={this.default}>\n\t\t\t\t<div\n\t\t\t\t\tclass={TabsItemClass.inner}\n\t\t\t\t\trole=\"tabpanel\"\n\t\t\t\t\tid={this.identifier || this.contentId}\n\t\t\t\t\thidden={!this.isActive}\n\t\t\t\t\taria-labelledby={this.triggerIdentifier || this.triggerId}\n\t\t\t\t\taria-hidden={toBoolAttrIfDefined(!this.isActive)}\n\t\t\t\t>\n\t\t\t\t\t<slot></slot>\n\t\t\t\t</div>\n\t\t\t</Host>\n\t\t)\n\t}\n\n\t/**\n\t * Returns a unique tab content identifier\n\t */\n\t@Method()\n\tasync getIdentifier(): Promise<string> {\n\t\treturn this.identifier || this.contentId\n\t}\n\n\t/**\n\t * Returns a unique tab trigger identifier\n\t */\n\t@Method()\n\tasync getTriggerIdentifier(): Promise<string> {\n\t\treturn this.triggerIdentifier || this.triggerId\n\t}\n\n\t/**\n\t * Returns a unique tab trigger identifier\n\t */\n\t@Method()\n\tasync getDisableState(): Promise<boolean> {\n\t\treturn this.disabled\n\t}\n\n\t/**\n\t * Set status of tab-item\n\t */\n\t@Method()\n\tasync setActiveStatus(status: boolean): Promise<void> {\n\t\tthis.isActive = status\n\t}\n}\n"],"mappings":"oLASaA,EAAWC,EAAA,MAAAD,UAAAE,EAKvB,WAAAC,G,8BAsBgCC,KAAQC,SAAY,MAYnCD,KAAOE,QAAY,MAC3BF,KAAQG,SAAG,MAlCnBH,KAAKI,EAAIC,EAAQL,KAAKM,MACtBN,KAAKO,UAAYC,EAAS,iBAC1BR,KAAKS,UAAYD,EAAS,gBAC1B,CAmCD,cAAAE,GACC,MAAMC,EAAUX,KAAKI,EAAEQ,UAAUC,EAAUC,MAC3C,GAAIH,EAAS,CACZA,EAAQI,WAAWC,O,EAIrB,MAAAC,GACC,OACCb,EAACc,EAAI,CAAAC,IAAA,2CAACC,MAAOpB,KAAKI,EAAEiB,QAAQC,EAAcR,MAAOZ,QAASF,KAAKE,SAC9DE,EAAA,OAAAe,IAAA,2CACCC,MAAOE,EAAcC,MACrBC,KAAK,WACLC,GAAIzB,KAAK0B,YAAc1B,KAAKO,UAC5BoB,QAAS3B,KAAKG,SACG,kBAAAH,KAAK4B,mBAAqB5B,KAAKS,UAAS,cAC5CoB,GAAqB7B,KAAKG,WAEvCC,EAAa,QAAAe,IAAA,8C,CAUjB,mBAAMW,GACL,OAAO9B,KAAK0B,YAAc1B,KAAKO,S,CAOhC,0BAAMwB,GACL,OAAO/B,KAAK4B,mBAAqB5B,KAAKS,S,CAOvC,qBAAMuB,GACL,OAAOhC,KAAKC,Q,CAOb,qBAAMgC,CAAgBC,GACrBlC,KAAKG,SAAW+B,C","ignoreList":[]}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface GovTabs extends Components.GovTabs, HTMLElement {}
4
+ export const GovTabs: {
5
+ prototype: GovTabs;
6
+ new (): GovTabs;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1,2 @@
1
+ import{p as t,H as s,c as i,h as e,a as o}from"./index.js";import{v as a}from"./p-BKP-F1qP.js";import{T as r,a as n,b as h,c,d as l}from"./p-BTwdrNoS.js";import{g as d,t as f,b as p}from"./p-DKo9A5gq.js";import{h as u}from"./p-B3tdsiZv.js";import{p as b}from"./p-GYov8gU1.js";import{A as m,a as v,i as g}from"./p-CXgom82_.js";import{d as y}from"./p-BZTY3MxF.js";import{d as j}from"./p-BrdXh0mI.js";const T=t(class t extends s{constructor(){super();this.__registerHost();this.govChange=i(this,"gov-change");this.triggerRefs={};this.type="text";this.size="m";this.color="primary";this.orientation="horizontal";this.direction="row";this.controllers=[];this.focusIndex=0;this.inheritedAttributes={};this.h=d(this.host)}validateType(t){a(n,t,r.root)}validateColor(t){a(h,t,r.root)}validateSize(t){a(c,t,r.root)}componentDidLoad(){this.attributeObserver=new m(this.host,((t,s)=>{this.onAriaAttributeChange(t,s)}));this.attributeObserver.startObserving(v)}componentWillLoad(){this.prepareControllers();this.validateSize(this.size);this.inheritedAttributes=g(this.host)}disconnectedCallback(){var t;(t=this.attributeObserver)===null||t===void 0?void 0:t.stopObserving()}onAriaAttributeChange(t,s){this.host.removeAttribute(t);this.inheritedAttributes=Object.assign(Object.assign({},this.inheritedAttributes),{[t]:s})}prepareControllers(t=false){this.controllers=[];const s=[];this.host.querySelectorAll(":scope > "+l.root).forEach((t=>{const i=Promise.all([t.getIdentifier(),t.getTriggerIdentifier(),t.getDisableState()]).then((([s,i,e])=>{const o=typeof t.getAttribute("default")==="string";const a=b(t.getAttribute("icon-start"));const r=b(t.getAttribute("icon-end"));return{label:t.getAttribute("label"),direction:t.getAttribute("direction"),contentIdentifier:s,disabled:e,triggerIdentifier:i,element:t,active:false,default:o,iconStart:a,iconEnd:r}}));s.push(i)}));Promise.all(s).then((s=>{if(t===false){let t=s.findIndex((t=>t.default));if(t===-1)t=0;this.focusIndex=t;s[t].active=true}else if(this.focusIndex>-1&&u(s,this.focusIndex)){s[this.focusIndex].active=true}const i=s.findIndex((t=>t.active&&t.disabled));if(i>-1){s[i].active=false;const t=s.findIndex((t=>!t.disabled));if(t>-1){s[t].active=true;this.focusIndex=t}}this.controllers=[...s];this.reRender()}))}setActiveByIdentifier(t){const s=[];this.controllers.map((i=>{i.active=t===i.triggerIdentifier||t===i.contentIdentifier;s.push(i)}));this.controllers=[...s]}reRender(){this.controllers.map((t=>{t.element.setActiveStatus(t.active).catch()}))}render(){return e(o,{key:"5dfd9d6ca4a17c425a96a1f766d599de80db6028",class:this.h.classes(r.root),size:this.size,color:this.color,type:this.type,direction:this.direction,onKeyDown:this.onKeydownHandler.bind(this)},e("div",Object.assign({key:"a195131ab673e7b9906777757f5c7e8c8421ddad",class:r.tabs,role:"tablist"},this.inheritedAttributes),e("ul",{key:"3dd46399f5054881f71242b2f184ebfb11fac51e",class:r.list},this.controllers.map((t=>e("li",{class:r.item},this.type=="text"?e("button",{class:r.btn,id:t.triggerIdentifier,role:"tab",type:"button",onClick:()=>this.onSelectHandler(t),disabled:t.disabled,"aria-disabled":f(t.disabled),"aria-selected":f(t.active),"aria-controls":t.contentIdentifier,tabindex:t.active&&!t.disabled?0:-1,ref:s=>this.triggerRefs[t.triggerIdentifier]=s},t.iconStart?e("gov-icon",{name:t.iconStart.name,type:t.iconStart.type}):null,t.label,t.iconEnd?e("gov-icon",{name:t.iconEnd.name,type:t.iconEnd.type}):null):e("gov-chip",{role:"tab",tag:"button",identifier:t.triggerIdentifier,"aria-selected":p(t.active),"aria-controls":t.contentIdentifier,focusable:t.active,disabled:t.disabled,color:this.color,size:this.size==="xs"?"xs":this.size==="s"?"s":"m",type:t.active?"solid":"outlined",ref:s=>this.triggerRefs[t.triggerIdentifier]=s,"on-gov-click":()=>this.onSelectHandler(t)},t.iconStart?e("gov-icon",{name:t.iconStart.name,type:t.iconStart.type,slot:"icon-start"}):null,t.label,t.iconEnd?e("gov-icon",{name:t.iconEnd.name,type:t.iconEnd.type,slot:"icon-end"}):null)))))),e("slot",{key:"5fc402a27b6236ca10c8f3370f946b7ceadb5342"}))}getCurrentTab(){return this.controllers.find((t=>t.active))||null}onSelectHandler(t){const s=this.controllers.findIndex((s=>s.triggerIdentifier===t.triggerIdentifier));this.focusIndex=s;this.setActiveByIdentifier(t.triggerIdentifier);this.reRender();this.govChange.emit(this.getCurrentTab().element)}onKeydownHandler(t){const s=t.keyCode;t.stopPropagation();this.goToPrevNext(s)}goToPrevNext(t){if([37,38,39,40].includes(t)){if(false===(this.focusIndex>=0&&this.focusIndex<=this.controllers.length-1)){return}this.controllers[this.focusIndex].active=false;if(t===39||t===40){this.focusIndex++;if(this.focusIndex>=this.controllers.length){this.focusIndex=0}if(this.controllers[this.focusIndex].disabled){this.goToPrevNext(40)}}else if(t===37||t===38){this.focusIndex--;if(this.focusIndex<0){this.focusIndex=this.controllers.length-1}if(this.controllers[this.focusIndex].disabled){this.goToPrevNext(38)}}if(this.focusIndex>=0&&this.focusIndex<=this.controllers.length-1){const t=this.controllers[this.focusIndex];t.active=true;const s=this.triggerRefs[t.triggerIdentifier];if(s.nodeName.toLowerCase()==="gov-chip"){this.triggerRefs[t.triggerIdentifier].setFocus()}else{this.triggerRefs[t.triggerIdentifier].focus()}this.controllers=[...this.controllers];this.reRender();this.govChange.emit(this.getCurrentTab().element)}}}async refresh(){this.prepareControllers()}async currentTab(){return this.getCurrentTab().element||null}async setActiveTab(t){this.setActiveByIdentifier(t);this.reRender()}async rerender(){this.prepareControllers(true)}get host(){return this}static get watchers(){return{type:["validateType"],color:["validateColor"],size:["validateSize"]}}},[4,"gov-tabs",{type:[1],size:[1],color:[1],orientation:[1],direction:[513],controllers:[32],focusIndex:[32],inheritedAttributes:[32],refresh:[64],currentTab:[64],setActiveTab:[64],rerender:[64]},undefined,{type:["validateType"],color:["validateColor"],size:["validateSize"]}]);function x(){if(typeof customElements==="undefined"){return}const t=["gov-tabs","gov-chip","gov-icon"];t.forEach((t=>{switch(t){case"gov-tabs":if(!customElements.get(t)){customElements.define(t,T)}break;case"gov-chip":if(!customElements.get(t)){y()}break;case"gov-icon":if(!customElements.get(t)){j()}break}}))}x();const k=T;const z=x;export{k as GovTabs,z as defineCustomElement};
2
+ //# sourceMappingURL=gov-tabs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["GovTabs","__stencil_proxyCustomElement","HTMLElement","constructor","this","triggerRefs","type","size","color","orientation","direction","controllers","focusIndex","inheritedAttributes","h","govHost","host","validateType","newValue","validateProp","TabTypes","TabsClass","root","validateColor","TabColors","validateSize","TabSizes","componentDidLoad","attributeObserver","AttributeObserver","attributeName","onAriaAttributeChange","startObserving","ariaAttributes","componentWillLoad","prepareControllers","inheritAriaAttributes","disconnectedCallback","_a","stopObserving","removeAttribute","Object","assign","skipDefault","promises","querySelectorAll","TabsItemClass","forEach","tab","controlItem","Promise","all","getIdentifier","getTriggerIdentifier","getDisableState","then","identifier","triggerIdentifier","disabled","isDefault","getAttribute","iconStart","prepareIconFormat","iconEnd","label","contentIdentifier","element","active","default","push","defaultTabIndex","findIndex","controller","hasOwnProperty","isWrongCombination","firstGoodTab","reRender","setActiveByIdentifier","temp","map","item","control","setActiveStatus","catch","render","Host","key","class","classes","onKeyDown","onKeydownHandler","bind","tabs","role","list","btn","id","onClick","onSelectHandler","toBoolAttr","tabindex","ref","el","name","tag","booleanString","focusable","slot","getCurrentTab","find","index","t","govChange","emit","e","keyCode","stopPropagation","goToPrevNext","includes","length","current","trigger","nodeName","toLowerCase","setFocus","focus","refresh","currentTab","setActiveTab","rerender"],"sources":["../../../packages/core/src/components/gov-tabs/gov-tabs.tsx"],"sourcesContent":["import {Component, Element, Event, EventEmitter, h, Host, Method, Prop, State, Watch} from \"@stencil/core\"\nimport {validateProp} from \"../../helpers/Validate/props\"\nimport {\n\tColorType,\n\tTabColors,\n\tTabOrientationType,\n\tTabsClass,\n\tTabsItemClass,\n\tTabSizes,\n\tTabSizeType,\n\tTabType,\n\tTabTypes\n} from \"./constants\"\nimport {GovTabControllerItem} from \"./gov-tabs.types\"\nimport {booleanString, govHost, toBoolAttr} from \"../../helpers/Dom/template\"\nimport {Nullable} from \"../../types/interfaces\"\nimport {GovHost} from \"../../helpers/Dom/template.types\"\nimport {hasOwnProperty} from \"../../utils/helpers.types\";\nimport {prepareIconFormat} from \"../gov-icon/helpers\";\nimport {AttributeObserver, Attributes} from \"../../helpers/Dom/attribute\";\nimport {ariaAttributes} from \"../../helpers/Accessibility/attributes\";\nimport {inheritAriaAttributes} from \"../../helpers/Accessibility/accessibility\";\n\n\n@Component({\n\ttag: \"gov-tabs\",\n})\nexport class GovTabs {\n\tprivate h: GovHost\n\tprivate triggerRefs: Record<string, HTMLButtonElement | HTMLGovChipElement> = {}\n\tprivate attributeObserver: AttributeObserver\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() host: HTMLGovTabsElement\n\t/**\n\t * Tabs type\n\t */\n\t@Prop() readonly type: TabType = \"text\"\n\t/**\n\t * Tabs size.\n\t */\n\t@Prop() readonly size?: TabSizeType = 'm'\n\t/**\n\t * Style variation of the tab chips.\n\t */\n\t@Prop() readonly color?: ColorType = \"primary\"\n\t/**\n\t * Tabs orientation\n\t */\n\t@Prop() readonly orientation: TabOrientationType = \"horizontal\"\n\t/**\n\t * Icon and description display direction\n\t */\n\t@Prop({reflect: true}) readonly direction: 'row' | 'column' = 'row'\n\t/**\n\t * Emitted when the tab is changed.\n\t */\n\t@Event({eventName: \"gov-change\"}) govChange: EventEmitter<HTMLGovTabsItemElement>\n\n\t@Watch(\"type\")\n\tvalidateType(newValue: string): void {\n\t\tvalidateProp(TabTypes, newValue, TabsClass.root)\n\t}\n\n\t@Watch(\"color\")\n\tvalidateColor(newValue: string): void {\n\t\tvalidateProp(TabColors, newValue, TabsClass.root)\n\t}\n\n\t@Watch('size')\n\tvalidateSize(newValue: string): void {\n\t\tvalidateProp(TabSizes, newValue, TabsClass.root)\n\t}\n\n\t@State() controllers: GovTabControllerItem[] = []\n\t@State() focusIndex = 0\n\t@State() inheritedAttributes: Attributes = {}\n\n\tcomponentDidLoad() {\n\t\tthis.attributeObserver = new AttributeObserver(this.host, (attributeName, newValue) => {\n\t\t\tthis.onAriaAttributeChange(attributeName, newValue);\n\t\t});\n\n\t\tthis.attributeObserver.startObserving(ariaAttributes);\n\t}\n\n\tcomponentWillLoad() {\n\t\tthis.prepareControllers()\n\t\tthis.validateSize(this.size)\n\t\tthis.inheritedAttributes = inheritAriaAttributes(this.host);\n\t}\n\n\tdisconnectedCallback() {\n\t\tthis.attributeObserver?.stopObserving();\n\t}\n\n\tonAriaAttributeChange(attributeName: string, newValue: string) {\n\t\tthis.host.removeAttribute(attributeName)\n\t\tthis.inheritedAttributes = {...this.inheritedAttributes, [attributeName]: newValue};\n\t}\n\n\tprivate prepareControllers(skipDefault = false): void {\n\t\tthis.controllers = []\n\t\tconst promises: Promise<GovTabControllerItem>[] = []\n\t\tthis.host.querySelectorAll(':scope > ' + TabsItemClass.root).forEach((tab: HTMLGovTabsItemElement) => {\n\t\t\tconst controlItem = Promise.all([\n\t\t\t\ttab.getIdentifier(),\n\t\t\t\ttab.getTriggerIdentifier(),\n\t\t\t\ttab.getDisableState()\n\t\t\t]).then(([identifier, triggerIdentifier, disabled]) => {\n\t\t\t\tconst isDefault = typeof tab.getAttribute(\"default\") === \"string\"\n\t\t\t\tconst iconStart = prepareIconFormat(tab.getAttribute('icon-start'))\n\t\t\t\tconst iconEnd = prepareIconFormat(tab.getAttribute('icon-end'))\n\t\t\t\treturn {\n\t\t\t\t\tlabel: tab.getAttribute(\"label\"),\n\t\t\t\t\tdirection: tab.getAttribute(\"direction\"),\n\t\t\t\t\tcontentIdentifier: identifier,\n\t\t\t\t\tdisabled: disabled,\n\t\t\t\t\ttriggerIdentifier: triggerIdentifier,\n\t\t\t\t\telement: tab,\n\t\t\t\t\tactive: false,\n\t\t\t\t\tdefault: isDefault,\n\t\t\t\t\ticonStart,\n\t\t\t\t\ticonEnd\n\t\t\t\t}\n\t\t\t})\n\t\t\tpromises.push(controlItem)\n\t\t});\n\t\tPromise.all(promises).then(controllers => {\n\t\t\tif (skipDefault === false) {\n\t\t\t\tlet defaultTabIndex = controllers.findIndex(controller => controller.default)\n\t\t\t\tif (defaultTabIndex === -1) defaultTabIndex = 0\n\t\t\t\tthis.focusIndex = defaultTabIndex\n\t\t\t\tcontrollers[defaultTabIndex].active = true\n\t\t\t} else if (this.focusIndex > -1 && hasOwnProperty(controllers, this.focusIndex)) {\n\t\t\t\tcontrollers[this.focusIndex].active = true\n\t\t\t}\n\t\t\tconst isWrongCombination = controllers.findIndex((controller) => controller.active && controller.disabled)\n\t\t\tif (isWrongCombination > -1) {\n\t\t\t\tcontrollers[isWrongCombination].active = false;\n\t\t\t\tconst firstGoodTab = controllers.findIndex((controller) => !controller.disabled)\n\t\t\t\tif (firstGoodTab > -1) {\n\t\t\t\t\tcontrollers[firstGoodTab].active = true\n\t\t\t\t\tthis.focusIndex = firstGoodTab;\n\t\t\t\t}\n\t\t\t}\n\t\t\tthis.controllers = [...controllers]\n\t\t\tthis.reRender()\n\t\t})\n\t}\n\n\tprivate setActiveByIdentifier(identifier: string) {\n\t\tconst temp = []\n\t\tthis.controllers.map(item => {\n\t\t\titem.active = identifier === item.triggerIdentifier || identifier === item.contentIdentifier\n\t\t\ttemp.push(item)\n\t\t})\n\t\tthis.controllers = [...temp]\n\t}\n\n\tprivate reRender() {\n\t\tthis.controllers.map(control => {\n\t\t\tcontrol.element.setActiveStatus(control.active).catch()\n\t\t})\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host\n\t\t\t\tclass={this.h.classes(TabsClass.root)}\n\t\t\t\tsize={this.size}\n\t\t\t\tcolor={this.color}\n\t\t\t\ttype={this.type}\n\t\t\t\tdirection={this.direction}\n\t\t\t\tonKeyDown={this.onKeydownHandler.bind(this)}\n\t\t\t>\n\t\t\t\t<div class={TabsClass.tabs}\n\t\t\t\t\t role=\"tablist\"\n\t\t\t\t\t {...this.inheritedAttributes}>\n\t\t\t\t\t<ul class={TabsClass.list}>\n\t\t\t\t\t\t{this.controllers.map(control => (\n\t\t\t\t\t\t\t<li class={TabsClass.item}>\n\t\t\t\t\t\t\t\t{this.type == \"text\" ? (\n\t\t\t\t\t\t\t\t\t<button\n\t\t\t\t\t\t\t\t\t\tclass={TabsClass.btn}\n\t\t\t\t\t\t\t\t\t\tid={control.triggerIdentifier}\n\t\t\t\t\t\t\t\t\t\trole=\"tab\"\n\t\t\t\t\t\t\t\t\t\ttype=\"button\"\n\t\t\t\t\t\t\t\t\t\tonClick={() => this.onSelectHandler(control)}\n\t\t\t\t\t\t\t\t\t\tdisabled={control.disabled}\n\t\t\t\t\t\t\t\t\t\taria-disabled={toBoolAttr(control.disabled)}\n\t\t\t\t\t\t\t\t\t\taria-selected={toBoolAttr(control.active)}\n\t\t\t\t\t\t\t\t\t\taria-controls={control.contentIdentifier}\n\t\t\t\t\t\t\t\t\t\ttabindex={control.active && !control.disabled ? 0 : -1}\n\t\t\t\t\t\t\t\t\t\tref={el => (this.triggerRefs[control.triggerIdentifier] = el as HTMLButtonElement)}\n\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t{control.iconStart ? (<gov-icon\n\t\t\t\t\t\t\t\t\t\t\tname={control.iconStart.name}\n\t\t\t\t\t\t\t\t\t\t\ttype={control.iconStart.type}></gov-icon>) : null}\n\t\t\t\t\t\t\t\t\t\t{control.label}\n\t\t\t\t\t\t\t\t\t\t{control.iconEnd ? (<gov-icon\n\t\t\t\t\t\t\t\t\t\t\tname={control.iconEnd.name}\n\t\t\t\t\t\t\t\t\t\t\ttype={control.iconEnd.type}></gov-icon>) : null}\n\t\t\t\t\t\t\t\t\t</button>\n\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t<gov-chip\n\t\t\t\t\t\t\t\t\t\trole=\"tab\"\n\t\t\t\t\t\t\t\t\t\ttag={'button'}\n\t\t\t\t\t\t\t\t\t\tidentifier={control.triggerIdentifier}\n\t\t\t\t\t\t\t\t\t\taria-selected={booleanString(control.active)}\n\t\t\t\t\t\t\t\t\t\taria-controls={control.contentIdentifier}\n\t\t\t\t\t\t\t\t\t\tfocusable={control.active}\n\t\t\t\t\t\t\t\t\t\tdisabled={control.disabled}\n\t\t\t\t\t\t\t\t\t\tcolor={this.color}\n\t\t\t\t\t\t\t\t\t\tsize={this.size === \"xs\" ? \"xs\" : (this.size === \"s\" ? \"s\" : \"m\")}\n\t\t\t\t\t\t\t\t\t\ttype={control.active ? \"solid\" : \"outlined\"}\n\t\t\t\t\t\t\t\t\t\tref={el => (this.triggerRefs[control.triggerIdentifier] = el as HTMLGovChipElement)}\n\t\t\t\t\t\t\t\t\t\ton-gov-click={() => this.onSelectHandler(control)}\n\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t{control.iconStart ? (<gov-icon\n\t\t\t\t\t\t\t\t\t\t\tname={control.iconStart.name}\n\t\t\t\t\t\t\t\t\t\t\ttype={control.iconStart.type}\n\t\t\t\t\t\t\t\t\t\t\tslot=\"icon-start\"></gov-icon>) : null}\n\t\t\t\t\t\t\t\t\t\t{control.label}\n\t\t\t\t\t\t\t\t\t\t{control.iconEnd ? (<gov-icon\n\t\t\t\t\t\t\t\t\t\t\tname={control.iconEnd.name}\n\t\t\t\t\t\t\t\t\t\t\ttype={control.iconEnd.type}\n\t\t\t\t\t\t\t\t\t\t\tslot=\"icon-end\"></gov-icon>) : null}\n\t\t\t\t\t\t\t\t\t</gov-chip>\n\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t))}\n\t\t\t\t\t</ul>\n\t\t\t\t</div>\n\t\t\t\t<slot></slot>\n\t\t\t</Host>\n\t\t)\n\t}\n\n\tprivate getCurrentTab(): GovTabControllerItem | null {\n\t\treturn this.controllers.find(control => control.active) || null\n\t}\n\n\tprivate onSelectHandler(control: GovTabControllerItem) {\n\t\tconst index = this.controllers.findIndex(t => t.triggerIdentifier === control.triggerIdentifier);\n\t\tthis.focusIndex = index\n\t\tthis.setActiveByIdentifier(control.triggerIdentifier)\n\t\tthis.reRender()\n\t\tthis.govChange.emit(this.getCurrentTab().element)\n\t}\n\n\tprivate onKeydownHandler(e: KeyboardEvent) {\n\t\tconst keyCode = e.keyCode\n\n\t\te.stopPropagation()\n\t\tthis.goToPrevNext(keyCode)\n\t}\n\n\tprivate goToPrevNext(keyCode: number) {\n\t\tif ([37, 38, 39, 40].includes(keyCode)) {\n\t\t\tif (false === (this.focusIndex >= 0 && this.focusIndex <= this.controllers.length - 1)) {\n\t\t\t\treturn\n\t\t\t}\n\n\t\t\tthis.controllers[this.focusIndex].active = false\n\n\t\t\tif (keyCode === 39 || keyCode === 40) {\n\t\t\t\tthis.focusIndex++\n\t\t\t\tif (this.focusIndex >= this.controllers.length) {\n\t\t\t\t\tthis.focusIndex = 0\n\t\t\t\t}\n\t\t\t\tif (this.controllers[this.focusIndex].disabled) {\n\t\t\t\t\tthis.goToPrevNext(40)\n\t\t\t\t}\n\t\t\t} else if (keyCode === 37 || keyCode === 38) {\n\t\t\t\tthis.focusIndex--\n\t\t\t\tif (this.focusIndex < 0) {\n\t\t\t\t\tthis.focusIndex = this.controllers.length - 1\n\t\t\t\t}\n\t\t\t\tif (this.controllers[this.focusIndex].disabled) {\n\t\t\t\t\tthis.goToPrevNext(38)\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (this.focusIndex >= 0 && this.focusIndex <= this.controllers.length - 1) {\n\t\t\t\tconst current = this.controllers[this.focusIndex]\n\t\t\t\tcurrent.active = true\n\t\t\t\tconst trigger = this.triggerRefs[current.triggerIdentifier]\n\t\t\t\tif (trigger.nodeName.toLowerCase() === 'gov-chip') {\n\t\t\t\t\t(this.triggerRefs[current.triggerIdentifier] as HTMLGovChipElement).setFocus()\n\t\t\t\t} else {\n\t\t\t\t\tthis.triggerRefs[current.triggerIdentifier].focus()\n\t\t\t\t}\n\n\t\t\t\tthis.controllers = [...this.controllers]\n\t\t\t\tthis.reRender()\n\t\t\t\tthis.govChange.emit(this.getCurrentTab().element)\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * Regenerate tabs controllers\n\t */\n\t@Method()\n\tasync refresh(): Promise<void> {\n\t\tthis.prepareControllers()\n\t}\n\n\t/**\n\t * Returns the currently selected tabs-item\n\t */\n\t@Method()\n\tasync currentTab(): Promise<Nullable<HTMLGovTabsItemElement>> {\n\t\treturn this.getCurrentTab().element || null\n\t}\n\n\t/**\n\t * Regenerate tabs controllers\n\t */\n\t@Method()\n\tasync setActiveTab(identifier: string): Promise<void> {\n\t\tthis.setActiveByIdentifier(identifier)\n\t\tthis.reRender()\n\t}\n\n\t/**\n\t * Regenerate tabs controllers\n\t */\n\t@Method()\n\tasync rerender(): Promise<void> {\n\t\tthis.prepareControllers(true);\n\t}\n}\n"],"mappings":"oZA2BaA,EAAOC,EAAA,MAAAD,UAAAE,EAKnB,WAAAC,G,kEAHQC,KAAWC,YAA2D,GAW7DD,KAAIE,KAAY,OAIhBF,KAAIG,KAAiB,IAIrBH,KAAKI,MAAe,UAIpBJ,KAAWK,YAAuB,aAInBL,KAASM,UAAqB,MAqBrDN,KAAWO,YAA2B,GACtCP,KAAUQ,WAAG,EACbR,KAAmBS,oBAAe,GA9C1CT,KAAKU,EAAIC,EAAQX,KAAKY,KACtB,CA6BD,YAAAC,CAAaC,GACZC,EAAaC,EAAUF,EAAUG,EAAUC,K,CAI5C,aAAAC,CAAcL,GACbC,EAAaK,EAAWN,EAAUG,EAAUC,K,CAI7C,YAAAG,CAAaP,GACZC,EAAaO,EAAUR,EAAUG,EAAUC,K,CAO5C,gBAAAK,GACCvB,KAAKwB,kBAAoB,IAAIC,EAAkBzB,KAAKY,MAAM,CAACc,EAAeZ,KACzEd,KAAK2B,sBAAsBD,EAAeZ,EAAS,IAGpDd,KAAKwB,kBAAkBI,eAAeC,E,CAGvC,iBAAAC,GACC9B,KAAK+B,qBACL/B,KAAKqB,aAAarB,KAAKG,MACvBH,KAAKS,oBAAsBuB,EAAsBhC,KAAKY,K,CAGvD,oBAAAqB,G,OACCC,EAAAlC,KAAKwB,qBAAmB,MAAAU,SAAA,SAAAA,EAAAC,e,CAGzB,qBAAAR,CAAsBD,EAAuBZ,GAC5Cd,KAAKY,KAAKwB,gBAAgBV,GAC1B1B,KAAKS,oBAA0B4B,OAAAC,OAAAD,OAAAC,OAAA,GAAAtC,KAAKS,qBAAqB,CAAAiB,CAACA,GAAgBZ,G,CAGnE,kBAAAiB,CAAmBQ,EAAc,OACxCvC,KAAKO,YAAc,GACnB,MAAMiC,EAA4C,GAClDxC,KAAKY,KAAK6B,iBAAiB,YAAcC,EAAcxB,MAAMyB,SAASC,IACrE,MAAMC,EAAcC,QAAQC,IAAI,CAC/BH,EAAII,gBACJJ,EAAIK,uBACJL,EAAIM,oBACFC,MAAK,EAAEC,EAAYC,EAAmBC,MACxC,MAAMC,SAAmBX,EAAIY,aAAa,aAAe,SACzD,MAAMC,EAAYC,EAAkBd,EAAIY,aAAa,eACrD,MAAMG,EAAUD,EAAkBd,EAAIY,aAAa,aACnD,MAAO,CACNI,MAAOhB,EAAIY,aAAa,SACxBlD,UAAWsC,EAAIY,aAAa,aAC5BK,kBAAmBT,EACnBE,SAAUA,EACVD,kBAAmBA,EACnBS,QAASlB,EACTmB,OAAQ,MACRC,QAAST,EACTE,YACAE,UACA,IAEFnB,EAASyB,KAAKpB,EAAY,IAE3BC,QAAQC,IAAIP,GAAUW,MAAK5C,IAC1B,GAAIgC,IAAgB,MAAO,CAC1B,IAAI2B,EAAkB3D,EAAY4D,WAAUC,GAAcA,EAAWJ,UACrE,GAAIE,KAAoB,EAAIA,EAAkB,EAC9ClE,KAAKQ,WAAa0D,EAClB3D,EAAY2D,GAAiBH,OAAS,I,MAChC,GAAI/D,KAAKQ,YAAa,GAAM6D,EAAe9D,EAAaP,KAAKQ,YAAa,CAChFD,EAAYP,KAAKQ,YAAYuD,OAAS,I,CAEvC,MAAMO,EAAqB/D,EAAY4D,WAAWC,GAAeA,EAAWL,QAAUK,EAAWd,WACjG,GAAIgB,GAAqB,EAAI,CAC5B/D,EAAY+D,GAAoBP,OAAS,MACzC,MAAMQ,EAAehE,EAAY4D,WAAWC,IAAgBA,EAAWd,WACvE,GAAIiB,GAAe,EAAI,CACtBhE,EAAYgE,GAAcR,OAAS,KACnC/D,KAAKQ,WAAa+D,C,EAGpBvE,KAAKO,YAAc,IAAIA,GACvBP,KAAKwE,UAAU,G,CAIT,qBAAAC,CAAsBrB,GAC7B,MAAMsB,EAAO,GACb1E,KAAKO,YAAYoE,KAAIC,IACpBA,EAAKb,OAASX,IAAewB,EAAKvB,mBAAqBD,IAAewB,EAAKf,kBAC3Ea,EAAKT,KAAKW,EAAK,IAEhB5E,KAAKO,YAAc,IAAImE,E,CAGhB,QAAAF,GACPxE,KAAKO,YAAYoE,KAAIE,IACpBA,EAAQf,QAAQgB,gBAAgBD,EAAQd,QAAQgB,OAAO,G,CAIzD,MAAAC,GACC,OACCtE,EAACuE,EAAI,CAAAC,IAAA,2CACJC,MAAOnF,KAAKU,EAAE0E,QAAQnE,EAAUC,MAChCf,KAAMH,KAAKG,KACXC,MAAOJ,KAAKI,MACZF,KAAMF,KAAKE,KACXI,UAAWN,KAAKM,UAChB+E,UAAWrF,KAAKsF,iBAAiBC,KAAKvF,OAEtCU,EAAA,MAAA2B,OAAAC,OAAA,CAAA4C,IAAA,2CAAKC,MAAOlE,EAAUuE,KACpBC,KAAK,WACDzF,KAAKS,qBACVC,EAAA,MAAAwE,IAAA,2CAAIC,MAAOlE,EAAUyE,MACnB1F,KAAKO,YAAYoE,KAAIE,GACrBnE,EAAA,MAAIyE,MAAOlE,EAAU2D,MACnB5E,KAAKE,MAAQ,OACbQ,EAAA,UACCyE,MAAOlE,EAAU0E,IACjBC,GAAIf,EAAQxB,kBACZoC,KAAK,MACLvF,KAAK,SACL2F,QAAS,IAAM7F,KAAK8F,gBAAgBjB,GACpCvB,SAAUuB,EAAQvB,SACH,gBAAAyC,EAAWlB,EAAQvB,UAAS,gBAC5ByC,EAAWlB,EAAQd,QACnB,gBAAAc,EAAQhB,kBACvBmC,SAAUnB,EAAQd,SAAWc,EAAQvB,SAAW,GAAI,EACpD2C,IAAKC,GAAOlG,KAAKC,YAAY4E,EAAQxB,mBAAqB6C,GAEzDrB,EAAQpB,UAAa/C,EAAA,YACrByF,KAAMtB,EAAQpB,UAAU0C,KACxBjG,KAAM2E,EAAQpB,UAAUvD,OAAqB,KAC7C2E,EAAQjB,MACRiB,EAAQlB,QAAWjD,EAAA,YACnByF,KAAMtB,EAAQlB,QAAQwC,KACtBjG,KAAM2E,EAAQlB,QAAQzD,OAAqB,MAG7CQ,EACC,YAAA+E,KAAK,MACLW,IAAK,SACLhD,WAAYyB,EAAQxB,kBACL,gBAAAgD,EAAcxB,EAAQd,QACtB,gBAAAc,EAAQhB,kBACvByC,UAAWzB,EAAQd,OACnBT,SAAUuB,EAAQvB,SAClBlD,MAAOJ,KAAKI,MACZD,KAAMH,KAAKG,OAAS,KAAO,KAAQH,KAAKG,OAAS,IAAM,IAAM,IAC7DD,KAAM2E,EAAQd,OAAS,QAAU,WACjCkC,IAAKC,GAAOlG,KAAKC,YAAY4E,EAAQxB,mBAAqB6C,EAAyB,eACrE,IAAMlG,KAAK8F,gBAAgBjB,IAExCA,EAAQpB,UAAa/C,EACrB,YAAAyF,KAAMtB,EAAQpB,UAAU0C,KACxBjG,KAAM2E,EAAQpB,UAAUvD,KACxBqG,KAAK,eAA4B,KACjC1B,EAAQjB,MACRiB,EAAQlB,QAAWjD,EACnB,YAAAyF,KAAMtB,EAAQlB,QAAQwC,KACtBjG,KAAM2E,EAAQlB,QAAQzD,KACtBqG,KAAK,aAA0B,WAOtC7F,EAAa,QAAAwE,IAAA,6C,CAKR,aAAAsB,GACP,OAAOxG,KAAKO,YAAYkG,MAAK5B,GAAWA,EAAQd,UAAW,I,CAGpD,eAAA+B,CAAgBjB,GACvB,MAAM6B,EAAQ1G,KAAKO,YAAY4D,WAAUwC,GAAKA,EAAEtD,oBAAsBwB,EAAQxB,oBAC9ErD,KAAKQ,WAAakG,EAClB1G,KAAKyE,sBAAsBI,EAAQxB,mBACnCrD,KAAKwE,WACLxE,KAAK4G,UAAUC,KAAK7G,KAAKwG,gBAAgB1C,Q,CAGlC,gBAAAwB,CAAiBwB,GACxB,MAAMC,EAAUD,EAAEC,QAElBD,EAAEE,kBACFhH,KAAKiH,aAAaF,E,CAGX,YAAAE,CAAaF,GACpB,GAAI,CAAC,GAAI,GAAI,GAAI,IAAIG,SAASH,GAAU,CACvC,GAAI,SAAW/G,KAAKQ,YAAc,GAAKR,KAAKQ,YAAcR,KAAKO,YAAY4G,OAAS,GAAI,CACvF,M,CAGDnH,KAAKO,YAAYP,KAAKQ,YAAYuD,OAAS,MAE3C,GAAIgD,IAAY,IAAMA,IAAY,GAAI,CACrC/G,KAAKQ,aACL,GAAIR,KAAKQ,YAAcR,KAAKO,YAAY4G,OAAQ,CAC/CnH,KAAKQ,WAAa,C,CAEnB,GAAIR,KAAKO,YAAYP,KAAKQ,YAAY8C,SAAU,CAC/CtD,KAAKiH,aAAa,G,OAEb,GAAIF,IAAY,IAAMA,IAAY,GAAI,CAC5C/G,KAAKQ,aACL,GAAIR,KAAKQ,WAAa,EAAG,CACxBR,KAAKQ,WAAaR,KAAKO,YAAY4G,OAAS,C,CAE7C,GAAInH,KAAKO,YAAYP,KAAKQ,YAAY8C,SAAU,CAC/CtD,KAAKiH,aAAa,G,EAIpB,GAAIjH,KAAKQ,YAAc,GAAKR,KAAKQ,YAAcR,KAAKO,YAAY4G,OAAS,EAAG,CAC3E,MAAMC,EAAUpH,KAAKO,YAAYP,KAAKQ,YACtC4G,EAAQrD,OAAS,KACjB,MAAMsD,EAAUrH,KAAKC,YAAYmH,EAAQ/D,mBACzC,GAAIgE,EAAQC,SAASC,gBAAkB,WAAY,CACjDvH,KAAKC,YAAYmH,EAAQ/D,mBAA0CmE,U,KAC9D,CACNxH,KAAKC,YAAYmH,EAAQ/D,mBAAmBoE,O,CAG7CzH,KAAKO,YAAc,IAAIP,KAAKO,aAC5BP,KAAKwE,WACLxE,KAAK4G,UAAUC,KAAK7G,KAAKwG,gBAAgB1C,Q,GAS5C,aAAM4D,GACL1H,KAAK+B,oB,CAON,gBAAM4F,GACL,OAAO3H,KAAKwG,gBAAgB1C,SAAW,I,CAOxC,kBAAM8D,CAAaxE,GAClBpD,KAAKyE,sBAAsBrB,GAC3BpD,KAAKwE,U,CAON,cAAMqD,GACL7H,KAAK+B,mBAAmB,K","ignoreList":[]}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface GovTag extends Components.GovTag, HTMLElement {}
4
+ export const GovTag: {
5
+ prototype: GovTag;
6
+ new (): GovTag;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1,2 @@
1
+ import{p as t,H as e,h as o,a as s}from"./index.js";import{g as a}from"./p-DKo9A5gq.js";import{v as i}from"./p-BKP-F1qP.js";import{a as c,c as n}from"./p-CNqoJU2V.js";import{p as r}from"./p-CQvUntGY.js";import{S as d}from"./p-BcQO4NH2.js";import{p as f}from"./p-GYov8gU1.js";import{d as m}from"./p-BrdXh0mI.js";const l=r(d,["_XS","_S","_M"]);var p;(function(t){t["BOLD"]="bold";t["SUBTLE"]="subtle"})(p||(p={}));const h={root:"gov-tag"};const b=t(class t extends e{constructor(){super();this.__registerHost();this.size=l._S;this.color=c.PRIMARY;this.expanded=false;this.h=a(this.host)}validateColor(t){i(c,t,h.root)}validateSize(t){i(n,t,h.root)}componentWillLoad(){this.validateColor(this.color);this.validateSize(this.size)}render(){const t=f(this.iconStart);const e=f(this.iconEnd);return o(s,{key:"9ed31c6f9d34001618223db4d842ee55611f8896",class:this.h.classes(h.root),color:this.color,size:this.size,type:this.type},o("span",{key:"617d6cf19dc34385815916b6656f48c14428bff6",class:"element"},o("slot",{key:"d95d40e8a9de633865f174821050ab57174b435f",name:"icon-start"},t&&o("gov-icon",{key:"95a813406d45b8a69f4d4804f4063a7fa88d1038",type:t.type,name:t.name})),o("slot",{key:"4e4ad28e073bc933e3a193283e46d50f413bcf62"}),o("slot",{key:"0642ab987098007d4335d8aed281f4cd431bfe10",name:"icon-end"},e&&o("gov-icon",{key:"00ea783ae37eb0a4461cb97e15cdc9efc332bb27",type:e.type,name:e.name}))))}get host(){return this}static get watchers(){return{color:["validateColor"],size:["validateSize"]}}},[4,"gov-tag",{iconStart:[1,"icon-start"],iconEnd:[1,"icon-end"],size:[513],color:[513],type:[513],expanded:[516]},undefined,{color:["validateColor"],size:["validateSize"]}]);function v(){if(typeof customElements==="undefined"){return}const t=["gov-tag","gov-icon"];t.forEach((t=>{switch(t){case"gov-tag":if(!customElements.get(t)){customElements.define(t,b)}break;case"gov-icon":if(!customElements.get(t)){m()}break}}))}v();const g=b;const u=v;export{g as GovTag,u as defineCustomElement};
2
+ //# sourceMappingURL=gov-tag.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["TagSizes","pick","Sizes","TagType","TagClass","root","GovTag","__stencil_proxyCustomElement","HTMLElement","constructor","this","size","_S","color","ButtonColors","PRIMARY","expanded","h","govHost","host","validateColor","newValue","validateProp","validateSize","ButtonSizes","componentWillLoad","render","iconStart","prepareIconFormat","iconEnd","Host","key","class","classes","type","name"],"sources":["../../../packages/core/src/components/gov-tag/constants.ts","../../../packages/core/src/components/gov-tag/gov-tag.tsx"],"sourcesContent":["import {pick} from \"../../utils/utils\";\nimport {Sizes} from \"../../core/constants/sizes\";\nimport {ValueOf} from \"../../types/interfaces\";\n\nexport const TagSizes = pick(Sizes, ['_XS', '_S', '_M'])\nexport type TagSizesType = `${ValueOf<typeof TagSizes>}`\n\nexport enum TagType {\n\tBOLD = 'bold',\n\tSUBTLE = 'subtle',\n}\nexport type TagTypesType = `${ValueOf<typeof TagType>}`\n\nexport const TagClass = {\n\troot: 'gov-tag',\n}\n","import {Component, Element, h, Host, Prop, Watch} from '@stencil/core'\nimport {govHost} from '../../helpers/Dom/template'\nimport {GovHost} from '../../helpers/Dom/template.types'\nimport {validateProp} from '../../helpers/Validate/props'\nimport {ButtonSizes, ButtonColors, ButtonColorType} from '../gov-button/button/constants'\nimport {TagClass, TagSizes, TagSizesType, TagTypesType} from './constants'\nimport {prepareIconFormat} from \"../gov-icon/helpers\";\n\n@Component({\n\ttag: 'gov-tag',\n})\nexport class GovTag {\n\tprivate h: GovHost\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() host: HTMLGovTagElement\n\n\t/**\n\t * Definition of the button icon on the left. The icon must be defined in the form \"type/name\".\n\t */\n\t@Prop({attribute: \"icon-start\"}) readonly iconStart?: string\n\t/**\n\t * Definition of the button icon on the left. The icon must be defined in the form \"type/name\".\n\t */\n\t@Prop({attribute: \"icon-end\"}) readonly iconEnd?: string\n\t/**\n\t * Tag’s size.\n\t */\n\t@Prop({reflect: true}) readonly size: TagSizesType = TagSizes._S\n\t/**\n\t * Style variation of the tag.\n\t */\n\t@Prop({reflect: true}) readonly color: ButtonColorType = ButtonColors.PRIMARY\n\t/**\n\t * Tag’s type\n\t */\n\t@Prop({reflect: true}) readonly type: TagTypesType\n\t/**\n\t * Expands the tag to fill 100% of the container width\n\t */\n\t@Prop({reflect: true}) readonly expanded: boolean = false\n\n\t@Watch('color')\n\tvalidateColor(newValue: string): void {\n\t\tvalidateProp(ButtonColors, newValue, TagClass.root)\n\t}\n\n\t@Watch('size')\n\tvalidateSize(newValue: string): void {\n\t\tvalidateProp(ButtonSizes, newValue, TagClass.root)\n\t}\n\n\tcomponentWillLoad(): void {\n\t\tthis.validateColor(this.color)\n\t\tthis.validateSize(this.size)\n\t}\n\n\trender() {\n\t\tconst iconStart = prepareIconFormat(this.iconStart)\n\t\tconst iconEnd = prepareIconFormat(this.iconEnd)\n\t\treturn (\n\t\t\t<Host class={this.h.classes(TagClass.root)}\n\t\t\t\tcolor={this.color}\n\t\t\t\tsize={this.size}\n\t\t\t\ttype={this.type}\n\t\t\t>\n\t\t\t\t<span class=\"element\">\n\t\t\t\t\t<slot name=\"icon-start\">\n\t\t\t\t\t\t{iconStart && <gov-icon type={iconStart.type} name={iconStart.name}></gov-icon>}\n\t\t\t\t\t</slot>\n\t\t\t\t\t<slot/>\n\t\t\t\t\t<slot name=\"icon-end\">\n\t\t\t\t\t\t{iconEnd && <gov-icon type={iconEnd.type} name={iconEnd.name}></gov-icon>}\n\t\t\t\t\t</slot>\n\t\t\t\t</span>\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"],"mappings":"uTAIO,MAAMA,EAAWC,EAAKC,EAAO,CAAC,MAAO,KAAM,OAGlD,IAAYC,GAAZ,SAAYA,GACXA,EAAA,eACAA,EAAA,kBACA,EAHD,CAAYA,MAGX,KAGM,MAAMC,EAAW,CACvBC,KAAM,W,MCHMC,EAAMC,EAAA,MAAAD,UAAAE,EAGlB,WAAAC,G,8BAiBgCC,KAAAC,KAAqBX,EAASY,GAI9BF,KAAAG,MAAyBC,EAAaC,QAQtCL,KAAQM,SAAY,MA5BnDN,KAAKO,EAAIC,EAAQR,KAAKS,KACtB,CA8BD,aAAAC,CAAcC,GACbC,EAAaR,EAAcO,EAAUjB,EAASC,K,CAI/C,YAAAkB,CAAaF,GACZC,EAAaE,EAAaH,EAAUjB,EAASC,K,CAG9C,iBAAAoB,GACCf,KAAKU,cAAcV,KAAKG,OACxBH,KAAKa,aAAab,KAAKC,K,CAGxB,MAAAe,GACC,MAAMC,EAAYC,EAAkBlB,KAAKiB,WACzC,MAAME,EAAUD,EAAkBlB,KAAKmB,SACvC,OACCZ,EAACa,EAAI,CAAAC,IAAA,2CAACC,MAAOtB,KAAKO,EAAEgB,QAAQ7B,EAASC,MACpCQ,MAAOH,KAAKG,MACZF,KAAMD,KAAKC,KACXuB,KAAMxB,KAAKwB,MAEXjB,EAAM,QAAAc,IAAA,2CAAAC,MAAM,WACXf,EAAA,QAAAc,IAAA,2CAAMI,KAAK,cACTR,GAAaV,EAAA,YAAAc,IAAA,2CAAUG,KAAMP,EAAUO,KAAMC,KAAMR,EAAUQ,QAE/DlB,EAAO,QAAAc,IAAA,6CACPd,EAAM,QAAAc,IAAA,2CAAAI,KAAK,YACTN,GAAWZ,EAAA,YAAAc,IAAA,2CAAUG,KAAML,EAAQK,KAAMC,KAAMN,EAAQM,S","ignoreList":[]}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface GovThemeSwitch extends Components.GovThemeSwitch, HTMLElement {}
4
+ export const GovThemeSwitch: {
5
+ prototype: GovThemeSwitch;
6
+ new (): GovThemeSwitch;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1,2 @@
1
+ import{p as t,H as e,c as s,h as i,a}from"./index.js";import{g as o}from"./p-DKo9A5gq.js";import{p as h}from"./p-CQvUntGY.js";import{S as c}from"./p-BcQO4NH2.js";import{i as n}from"./p-DrPpH_9c.js";import{v as r}from"./p-BKP-F1qP.js";import{d as l,s as m,g as d}from"./p-BrdXh0mI.js";const f=h(c,["_XS","_S","_M","_L","_XL"]);const p={root:"gov-theme-switch",indicator:"gov-theme-switch__indicator",label:"gov-theme-switch__label",iconLight:"gov-theme-switch__icon-light",iconDark:"gov-theme-switch__icon-dark"};const b="data-theme";var g;(function(t){t["auto"]="auto";t["light"]="light";t["dark"]="dark"})(g||(g={}));const u=t(class t extends e{constructor(){super();this.__registerHost();this.govChange=s(this,"gov-change");this.size="m";this.displayLabel=false;this.ariaLabelLight="Přepnout na tmavý mód";this.ariaLabelDark="Přepnout na světlý mód";this.labelLight="Světlý mód";this.labelDark="Tmavý mód";this.theme=g.auto;this.setThemeState=t=>{this.theme=t;this.govChange.emit({component:p.root,state:this.theme,ref:this.host})};this.h=o(this.host)}validateSize(t){r(f,t,p.root)}watchTheme(t){this.htmlElement.setAttribute(b,t);this.htmlElement.classList.remove(...Object.keys(g));this.htmlElement.classList.add(t);m(b,t)}get storageValue(){return d(b)}get htmlElement(){return document.documentElement}get isSystemPrefersColorDark(){return n&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches}componentWillLoad(){this.initDefaultState();this.validateSize(this.size)}initDefaultState(){const t=Object.keys(g);let e=this.storageValue;const s=this.htmlElement.getAttribute(b);if(e&&t.includes(e)){this.theme=e}else if(s&&t.includes(s)){this.theme=s}else{this.theme=g.auto}}render(){let t=this.theme===g.dark;if(this.theme===g.auto){t=this.isSystemPrefersColorDark}return i(a,{key:"3015dd1049b1c9a2b5902d1d56c8b3872a275c10",class:this.h.classes(p.root),theme:t?g.dark:g.light,size:this.size},i("button",{key:"ca4b331189fca45f66c4eef138db66482add2834",onClick:()=>this.setThemeState(t?g.light:g.dark),"aria-current":this.theme,"aria-label":t?this.ariaLabelDark:this.ariaLabelLight},i("span",{key:"ed2a779f1e9fe1a0e722439598c9a413e9b39071"},i("span",{key:"f58e164a6b1b389ecfe93f7d2673ea5749a8fd96",class:p.indicator},g.light&&i("gov-icon",{key:"24663f2d33ea2bead59df37fef9932e549070ce4",name:"sun",class:p.iconLight,type:"components"}),g.dark&&i("gov-icon",{key:"a4482c64c35b9c70122a687aca4bb90bfa1000f3",name:"moon",class:p.iconDark,type:"components"})),this.displayLabel?i("span",{class:p.label},t?this.labelDark:this.labelLight):null)))}get host(){return this}static get watchers(){return{size:["validateSize"],theme:["watchTheme"]}}},[0,"gov-theme-switch",{size:[1],displayLabel:[4,"display-label"],ariaLabelLight:[1,"aria-label-light"],ariaLabelDark:[1,"aria-label-dark"],labelLight:[1,"label-light"],labelDark:[1,"label-dark"],theme:[32]},undefined,{size:["validateSize"],theme:["watchTheme"]}]);function v(){if(typeof customElements==="undefined"){return}const t=["gov-theme-switch","gov-icon"];t.forEach((t=>{switch(t){case"gov-theme-switch":if(!customElements.get(t)){customElements.define(t,u)}break;case"gov-icon":if(!customElements.get(t)){l()}break}}))}v();const k=u;const w=v;export{k as GovThemeSwitch,w as defineCustomElement};
2
+ //# sourceMappingURL=gov-theme-switch.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["ThemeSwitchSizes","pick","Sizes","ThemeSwitchClass","root","indicator","label","iconLight","iconDark","ATTRIBUTE_THEME_NAME","ThemeList","GovThemeSwitch","__stencil_proxyCustomElement","HTMLElement","constructor","this","size","displayLabel","ariaLabelLight","ariaLabelDark","labelLight","labelDark","theme","auto","setThemeState","state","govChange","emit","component","ref","host","h","govHost","validateSize","newValue","validateProp","watchTheme","htmlElement","setAttribute","classList","remove","Object","keys","add","setCookie","storageValue","getCookie","document","documentElement","isSystemPrefersColorDark","isWindow","window","matchMedia","matches","componentWillLoad","initDefaultState","options","currentState","htmlState","getAttribute","includes","render","isDark","dark","Host","key","class","classes","light","onClick","name","type"],"sources":["../../../packages/core/src/components/gov-theme-switch/constants.ts","../../../packages/core/src/components/gov-theme-switch/gov-theme-switch.types.ts","../../../packages/core/src/components/gov-theme-switch/gov-theme-switch.tsx"],"sourcesContent":["import {pick} from \"../../utils/utils\";\nimport {Sizes} from \"../../core/constants/sizes\";\nimport {ValueOf} from \"../../types/interfaces\";\n\nexport const ThemeSwitchSizes = pick(Sizes, ['_XS', '_S', '_M', '_L', '_XL'])\nexport type ThemeSwitchSizesType = `${ValueOf<typeof ThemeSwitchSizes>}`\n\nexport const ThemeSwitchClass = {\n\troot: 'gov-theme-switch',\n\tindicator: 'gov-theme-switch__indicator',\n\tlabel: 'gov-theme-switch__label',\n\ticonLight: 'gov-theme-switch__icon-light',\n\ticonDark: 'gov-theme-switch__icon-dark',\n}\n\nexport const ATTRIBUTE_THEME_NAME = 'data-theme'\n","import {GovBaseEvent} from \"../../types/event.types\";\n\nexport enum ThemeList {\n\tauto = 'auto',\n\tlight = 'light',\n\tdark = 'dark'\n}\n\nexport interface ThemeSwitchEvent extends GovBaseEvent {\n\tref: HTMLGovThemeSwitchElement;\n\tstate: ThemeList\n}\n\n","import {Component, Element, Event, EventEmitter, h, Host, Prop, State, Watch} from \"@stencil/core\"\nimport {GovHost} from \"../../helpers/Dom/template.types\";\nimport {govHost} from \"../../helpers/Dom/template\";\nimport {ATTRIBUTE_THEME_NAME, ThemeSwitchClass, ThemeSwitchSizes, ThemeSwitchSizesType} from \"./constants\";\nimport {isWindow} from \"../../helpers/Dom/win\";\nimport {ThemeList, ThemeSwitchEvent} from \"./gov-theme-switch.types\";\nimport {validateProp} from \"../../helpers/Validate/props\";\nimport {getCookie, setCookie} from \"../../helpers/Dom/document\";\n\n@Component({\n\ttag: \"gov-theme-switch\",\n})\nexport class GovThemeSwitch {\n\tprivate h: GovHost\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() host: HTMLGovThemeSwitchElement\n\n\t/**\n\t * Switch's size.\n\t */\n\t@Prop() readonly size?: ThemeSwitchSizesType = \"m\"\n\t/**\n\t * Display switch label\n\t */\n\t@Prop({attribute: \"display-label\"}) readonly displayLabel? = false\n\t/**\n\t * Label in light mode\n\t */\n\t@Prop({attribute: \"aria-label-light\"}) readonly ariaLabelLight? = \"Přepnout na tmavý mód\"\n\t/**\n\t * Label in dark mode\n\t */\n\t@Prop({attribute: \"aria-label-dark\"}) readonly ariaLabelDark? = \"Přepnout na světlý mód\"\n\t/**\n\t * Label in light mode\n\t */\n\t@Prop({attribute: \"label-light\"}) readonly labelLight? = \"Světlý mód\"\n\t/**\n\t * Label in dark mode\n\t */\n\t@Prop({attribute: \"label-dark\"}) readonly labelDark? = \"Tmavý mód\"\n\t/**\n\t * Called when the theme is changed by the user\n\t */\n\t@Event({eventName: \"gov-change\"}) govChange: EventEmitter<ThemeSwitchEvent>\n\n\t@Watch(\"size\")\n\tvalidateSize(newValue: string): void {\n\t\tvalidateProp(ThemeSwitchSizes, newValue, ThemeSwitchClass.root)\n\t}\n\n\t@Watch(\"theme\")\n\twatchTheme(newValue: ThemeList): void {\n\t\tthis.htmlElement.setAttribute(ATTRIBUTE_THEME_NAME, newValue);\n\t\tthis.htmlElement.classList.remove(...Object.keys(ThemeList));\n\t\tthis.htmlElement.classList.add(newValue);\n\t\tsetCookie(ATTRIBUTE_THEME_NAME, newValue);\n\t}\n\n\t@State() theme: ThemeList = ThemeList.auto\n\n\tprivate get storageValue() {\n\t\treturn getCookie(ATTRIBUTE_THEME_NAME)\n\t}\n\n\tprivate get htmlElement(): HTMLElement {\n\t\treturn document.documentElement\n\t}\n\n\tprivate get isSystemPrefersColorDark(): boolean {\n\t\treturn isWindow && window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches;\n\t}\n\n\tcomponentWillLoad() {\n\t\tthis.initDefaultState()\n\t\tthis.validateSize(this.size)\n\t}\n\n\tprivate initDefaultState() {\n\t\tconst options = Object.keys(ThemeList);\n\t\tlet currentState = this.storageValue;\n\t\tconst htmlState = this.htmlElement.getAttribute(ATTRIBUTE_THEME_NAME)\n\n\t\tif (currentState && options.includes(currentState)) {\n\t\t\tthis.theme = currentState as ThemeList;\n\t\t} else if (htmlState && options.includes(htmlState)) {\n\t\t\tthis.theme = htmlState as ThemeList;\n\t\t} else {\n\t\t\tthis.theme = ThemeList.auto;\n\t\t}\n\t}\n\n\tprivate setThemeState = (state: ThemeList) => {\n\t\tthis.theme = state;\n\n\t\tthis.govChange.emit({\n\t\t\tcomponent: ThemeSwitchClass.root,\n\t\t\tstate: this.theme,\n\t\t\tref: this.host\n\t\t})\n\t}\n\n\trender() {\n\t\tlet isDark = this.theme === ThemeList.dark;\n\t\tif (this.theme === ThemeList.auto) {\n\t\t\tisDark = this.isSystemPrefersColorDark;\n\t\t}\n\t\treturn (\n\t\t\t<Host class={this.h.classes(ThemeSwitchClass.root)}\n\t\t\t\t theme={isDark ? ThemeList.dark : ThemeList.light}\n\t\t\t\t size={this.size}>\n\t\t\t\t<button onClick={() => this.setThemeState(isDark ? ThemeList.light : ThemeList.dark)}\n\t\t\t\t\t\taria-current={this.theme}\n\t\t\t\t\t\taria-label={isDark ? this.ariaLabelDark : this.ariaLabelLight}>\n\t\t\t\t\t<span>\n\t\t\t\t\t\t<span class={ThemeSwitchClass.indicator}>\n\t\t\t\t\t\t\t{ThemeList.light && <gov-icon name=\"sun\" class={ThemeSwitchClass.iconLight} type=\"components\"></gov-icon>}\n\t\t\t\t\t\t\t{ThemeList.dark && <gov-icon name=\"moon\" class={ThemeSwitchClass.iconDark} type=\"components\"></gov-icon>}\n\t\t\t\t\t\t</span>\n\t\t\t\t\t\t{this.displayLabel ? (\n\t\t\t\t\t\t\t<span class={ThemeSwitchClass.label}>\n\t\t\t\t\t\t\t\t{isDark ? this.labelDark : this.labelLight}\n\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t) : null\n\t\t\t\t\t\t}\n\t\t\t\t\t</span>\n\t\t\t\t</button>\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"],"mappings":"4RAIO,MAAMA,EAAmBC,EAAKC,EAAO,CAAC,MAAO,KAAM,KAAM,KAAM,QAG/D,MAAMC,EAAmB,CAC/BC,KAAM,mBACNC,UAAW,8BACXC,MAAO,0BACPC,UAAW,+BACXC,SAAU,+BAGJ,MAAMC,EAAuB,aCbpC,IAAYC,GAAZ,SAAYA,GACXA,EAAA,eACAA,EAAA,iBACAA,EAAA,cACA,EAJD,CAAYA,MAIX,K,MCMYC,EAAcC,EAAA,MAAAD,UAAAE,EAG1B,WAAAC,G,kEASiBC,KAAIC,KAA0B,IAIFD,KAAYE,aAAI,MAIbF,KAAcG,eAAI,wBAInBH,KAAaI,cAAI,yBAIrBJ,KAAUK,WAAK,aAIhBL,KAASM,UAAI,YAmB9CN,KAAAO,MAAmBZ,EAAUa,KAiC9BR,KAAAS,cAAiBC,IACxBV,KAAKO,MAAQG,EAEbV,KAAKW,UAAUC,KAAK,CACnBC,UAAWzB,EAAiBC,KAC5BqB,MAAOV,KAAKO,MACZO,IAAKd,KAAKe,MACT,EAvFFf,KAAKgB,EAAIC,EAAQjB,KAAKe,KACtB,CAkCD,YAAAG,CAAaC,GACZC,EAAanC,EAAkBkC,EAAU/B,EAAiBC,K,CAI3D,UAAAgC,CAAWF,GACVnB,KAAKsB,YAAYC,aAAa7B,EAAsByB,GACpDnB,KAAKsB,YAAYE,UAAUC,UAAUC,OAAOC,KAAKhC,IACjDK,KAAKsB,YAAYE,UAAUI,IAAIT,GAC/BU,EAAUnC,EAAsByB,E,CAKjC,gBAAYW,GACX,OAAOC,EAAUrC,E,CAGlB,eAAY4B,GACX,OAAOU,SAASC,e,CAGjB,4BAAYC,GACX,OAAOC,GAAYC,OAAOC,YAAcD,OAAOC,WAAW,gCAAgCC,O,CAG3F,iBAAAC,GACCvC,KAAKwC,mBACLxC,KAAKkB,aAAalB,KAAKC,K,CAGhB,gBAAAuC,GACP,MAAMC,EAAUf,OAAOC,KAAKhC,GAC5B,IAAI+C,EAAe1C,KAAK8B,aACxB,MAAMa,EAAY3C,KAAKsB,YAAYsB,aAAalD,GAEhD,GAAIgD,GAAgBD,EAAQI,SAASH,GAAe,CACnD1C,KAAKO,MAAQmC,C,MACP,GAAIC,GAAaF,EAAQI,SAASF,GAAY,CACpD3C,KAAKO,MAAQoC,C,KACP,CACN3C,KAAKO,MAAQZ,EAAUa,I,EAczB,MAAAsC,GACC,IAAIC,EAAS/C,KAAKO,QAAUZ,EAAUqD,KACtC,GAAIhD,KAAKO,QAAUZ,EAAUa,KAAM,CAClCuC,EAAS/C,KAAKkC,wB,CAEf,OACClB,EAACiC,EAAK,CAAAC,IAAA,2CAAAC,MAAOnD,KAAKgB,EAAEoC,QAAQhE,EAAiBC,MAC1CkB,MAAOwC,EAASpD,EAAUqD,KAAOrD,EAAU0D,MAC3CpD,KAAMD,KAAKC,MACbe,EAAA,UAAAkC,IAAA,2CAAQI,QAAS,IAAMtD,KAAKS,cAAcsC,EAASpD,EAAU0D,MAAQ1D,EAAUqD,MAC/D,eAAAhD,KAAKO,MAAK,aACZwC,EAAS/C,KAAKI,cAAgBJ,KAAKG,gBAChDa,EAAA,QAAAkC,IAAA,4CACClC,EAAA,QAAAkC,IAAA,2CAAMC,MAAO/D,EAAiBE,WAC5BK,EAAU0D,OAASrC,EAAU,YAAAkC,IAAA,2CAAAK,KAAK,MAAMJ,MAAO/D,EAAiBI,UAAWgE,KAAK,eAChF7D,EAAUqD,MAAQhC,EAAA,YAAAkC,IAAA,2CAAUK,KAAK,OAAOJ,MAAO/D,EAAiBK,SAAU+D,KAAK,gBAEhFxD,KAAKE,aACLc,EAAM,QAAAmC,MAAO/D,EAAiBG,OAC5BwD,EAAS/C,KAAKM,UAAYN,KAAKK,YAE7B,O","ignoreList":[]}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface GovTile extends Components.GovTile, HTMLElement {}
4
+ export const GovTile: {
5
+ prototype: GovTile;
6
+ new (): GovTile;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1,2 @@
1
+ import{p as e,H as t,h as s,F as o,a as i}from"./index.js";import{p as n}from"./p-CQvUntGY.js";import{S as a}from"./p-BcQO4NH2.js";import{g as c}from"./p-DKo9A5gq.js";import{d as r}from"./p-BrdXh0mI.js";n(a,["_S","_M","_L"]);const f={root:"gov-tile",link:"gov-tile__link",content:"gov-tile__content",text:"gov-tile__text",title:"gov-tile__title",icon:"gov-tile__icon",annotation:"gov-tile__annotation"};const l=e(class e extends t{constructor(){super();this.__registerHost();this.size="m";this.noBorder=false;this.h=c(this.host)}render(){return s(i,{key:"675f324a6b643d22ae4b737f2049f0f1a51e4972",class:this.h.classes(f.root),size:this.size,orientation:this.orientation,clickable:this.href?true:null},s("slot",{key:"4dc974090359d27cd89e7b7af38f56fd016608d5",name:"icon"}),s("div",{key:"9d3c42f854fe4178886d6218cc99de44c6a27335",class:f.content},s("div",{key:"97891e205f08b2b4c81110bcb7bb3c4ed48362ed",class:f.text},s("div",{key:"6446384bd51f13aff4b9ff0144a4240fe1465b8d",class:f.title},this.href?s(o,null,s("a",{href:this.href,target:this.target,class:f.link,ref:e=>this.triggerRef=e},s("slot",{name:"title"})),s("span",{class:f.icon},s("gov-icon",{name:"chevron-right",type:"components"}))):s("slot",{name:"title"})),s("div",{key:"e25fe83f7f147582005341bb951ac2221bebbfbf",class:`${f.annotation} ${this.href?`${f.annotation}--padding`:""}`},s("slot",{key:"5c87e54b826d3e4fbb8231c19e66db7961e63a60"}))),s("slot",{key:"ab53f48d63dbc279788e4f83d77beb7eaabc1425",name:"button"})))}async getTriggerRef(){return this.triggerRef}get host(){return this}},[4,"gov-tile",{size:[513],orientation:[1],noBorder:[4,"no-border"],href:[513],target:[1],getTriggerRef:[64]}]);function d(){if(typeof customElements==="undefined"){return}const e=["gov-tile","gov-icon"];e.forEach((e=>{switch(e){case"gov-tile":if(!customElements.get(e)){customElements.define(e,l)}break;case"gov-icon":if(!customElements.get(e)){r()}break}}))}d();const b=l;const g=d;export{b as GovTile,g as defineCustomElement};
2
+ //# sourceMappingURL=gov-tile.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["pick","Sizes","TileClass","root","link","content","text","title","icon","annotation","GovTile","__stencil_proxyCustomElement","HTMLElement","constructor","this","size","noBorder","h","govHost","host","render","Host","key","class","classes","orientation","clickable","href","name","Fragment","target","ref","el","triggerRef","type","getTriggerRef"],"sources":["../../../packages/core/src/components/gov-tile/constants.ts","../../../packages/core/src/components/gov-tile/gov-tile.tsx"],"sourcesContent":["import {pick} from \"../../utils/utils\";\nimport {Sizes} from \"../../core/constants/sizes\";\nimport {ValueOf} from \"../../types/interfaces\";\n\nexport const TileSizes = pick(Sizes, ['_S', '_M', '_L'])\nexport type TileSizesType = `${ValueOf<typeof TileSizes>}`\n\nexport const TileClass = {\n\troot: 'gov-tile',\n\tlink: 'gov-tile__link',\n\tcontent: 'gov-tile__content',\n\ttext: 'gov-tile__text',\n\ttitle: 'gov-tile__title',\n\ticon: 'gov-tile__icon',\n\tannotation: 'gov-tile__annotation',\n}\n","import {Component, Element, Fragment, h, Host, Method, Prop} from \"@stencil/core\"\nimport {TileClass, TileSizesType} from \"./constants\"\nimport {govHost} from \"../../helpers/Dom/template\"\nimport {GovHost} from \"../../helpers/Dom/template.types\"\nimport {ButtonTargetType} from \"../gov-button/button/constants\"\n\n@Component({\n\ttag: \"gov-tile\",\n})\nexport class GovTile {\n\t@Element() host: HTMLGovTileElement\n\t/**\n\t * Tile’s size\n\t */\n\t@Prop({reflect: true}) readonly size?: TileSizesType = \"m\"\n\t/**\n\t * Style variation of the tile.\n\t */\n\t@Prop() readonly orientation: \"vertical\" | \"horizontal\"\n\t/**\n\t * Tiles border\n\t */\n\t@Prop({ attribute: 'no-border' }) readonly noBorder: boolean = false\n\t/**\n\t * Link on whole tile\n\t */\n\t@Prop({reflect: true}) readonly href: string\n\t/**\n\t * Same as original parameter\n\t * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-target\n\t */\n\t@Prop() readonly target?: ButtonTargetType\n\tprivate triggerRef?: HTMLLinkElement | HTMLSpanElement\n\tprivate h: GovHost\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={this.h.classes(TileClass.root)}\n\t\t\t\t size={this.size}\n\t\t\t\t orientation={this.orientation}\n\t\t\t\t clickable={this.href ? true : null}\n\t\t\t>\n\t\t\t\t<slot name=\"icon\"/>\n\t\t\t\t<div class={TileClass.content}>\n\t\t\t\t\t<div class={TileClass.text}>\n\t\t\t\t\t\t<div class={TileClass.title}>\n\t\t\t\t\t\t\t{this.href ? (\n\t\t\t\t\t\t\t\t<Fragment>\n\t\t\t\t\t\t\t\t\t<a\n\t\t\t\t\t\t\t\t\t\thref={this.href}\n\t\t\t\t\t\t\t\t\t\ttarget={this.target}\n\t\t\t\t\t\t\t\t\t\tclass={TileClass.link}\n\t\t\t\t\t\t\t\t\t\tref={el => (this.triggerRef = el as HTMLLinkElement | HTMLSpanElement)}>\n\t\t\t\t\t\t\t\t\t\t<slot name=\"title\"/>\n\t\t\t\t\t\t\t\t\t</a>\n\t\t\t\t\t\t\t\t\t<span class={TileClass.icon}>\n\t\t\t\t\t\t\t\t\t\t<gov-icon name=\"chevron-right\" type=\"components\"></gov-icon>\n\t\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t\t</Fragment>\n\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t<slot name=\"title\"/>\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div class={`${TileClass.annotation} ${this.href ? `${TileClass.annotation}--padding` : ''}`}>\n\t\t\t\t\t\t\t<slot/>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t\t<slot name=\"button\"/>\n\t\t\t\t</div>\n\t\t\t</Host>\n\t\t)\n\t}\n\n\t/**\n\t * Returns a clickable element instance\n\t */\n\t@Method()\n\tasync getTriggerRef() {\n\t\treturn this.triggerRef\n\t}\n}\n"],"mappings":"2MAIyBA,EAAKC,EAAO,CAAC,KAAM,KAAM,OAG3C,MAAMC,EAAY,CACxBC,KAAM,WACNC,KAAM,iBACNC,QAAS,oBACTC,KAAM,iBACNC,MAAO,kBACPC,KAAM,iBACNC,WAAY,wB,MCLAC,EAAOC,EAAA,MAAAD,UAAAE,EA0BnB,WAAAC,G,8BArBgCC,KAAIC,KAAmB,IAQZD,KAAQE,SAAY,MAc9DF,KAAKG,EAAIC,EAAQJ,KAAKK,KACtB,CAED,MAAAC,GACC,OACCH,EAACI,EAAI,CAAAC,IAAA,2CAACC,MAAOT,KAAKG,EAAEO,QAAQtB,EAAUC,MACnCY,KAAMD,KAAKC,KACXU,YAAaX,KAAKW,YAClBC,UAAWZ,KAAKa,KAAO,KAAO,MAEhCV,EAAM,QAAAK,IAAA,2CAAAM,KAAK,SACXX,EAAA,OAAAK,IAAA,2CAAKC,MAAOrB,EAAUG,SACrBY,EAAA,OAAAK,IAAA,2CAAKC,MAAOrB,EAAUI,MACrBW,EAAA,OAAAK,IAAA,2CAAKC,MAAOrB,EAAUK,OACpBO,KAAKa,KACLV,EAACY,EAAQ,KACRZ,EAAA,KACCU,KAAMb,KAAKa,KACXG,OAAQhB,KAAKgB,OACbP,MAAOrB,EAAUE,KACjB2B,IAAKC,GAAOlB,KAAKmB,WAAaD,GAC9Bf,EAAA,QAAMW,KAAK,WAEZX,EAAA,QAAMM,MAAOrB,EAAUM,MACtBS,EAAU,YAAAW,KAAK,gBAAgBM,KAAK,iBAItCjB,EAAA,QAAMW,KAAK,WAGbX,EAAK,OAAAK,IAAA,2CAAAC,MAAO,GAAGrB,EAAUO,cAAcK,KAAKa,KAAO,GAAGzB,EAAUO,sBAAwB,MACvFQ,EAAA,QAAAK,IAAA,+CAGFL,EAAA,QAAAK,IAAA,2CAAMM,KAAK,Y,CAUf,mBAAMO,GACL,OAAOrB,KAAKmB,U","ignoreList":[]}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface GovToast extends Components.GovToast, HTMLElement {}
4
+ export const GovToast: {
5
+ prototype: GovToast;
6
+ new (): GovToast;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1,2 @@
1
+ import{p as t,H as s,c as o,h as i,a as e}from"./index.js";import{v as a}from"./p-BKP-F1qP.js";import{C as c}from"./p-U40vKHrs.js";import{p as r}from"./p-CQvUntGY.js";import{g as n}from"./p-DKo9A5gq.js";import{c as h}from"./p-vN03FcXN.js";import{A as d,a as l,i as b}from"./p-CXgom82_.js";import{d as m}from"./p-djqfSbq-.js";import{d as f}from"./p-BrdXh0mI.js";const p=r(c,["PRIMARY","NEUTRAL","ERROR","SUCCESS","WARNING"]);var u;(function(t){t["BOLD"]="bold";t["SUBTLE"]="subtle"})(u||(u={}));const v={root:"gov-toast",hidden:"gov-toast--hidden",content:"gov-toast__content",icon:"gov-toast__icon",close:"gov-toast__close",timer:"gov-toast__timer"};const g=t(class t extends s{constructor(){super();this.__registerHost();this.govClose=o(this,"gov-close");this.color="primary";this.gravity="top";this.position="right";this.type="bold";this.time=0;this.inheritedAttributes={};this.h=n(this.host);this.toastId=h("GovToast")}validateColor(t){a(p,t,v.root)}componentDidLoad(){this.attributeObserver=new d(this.host,((t,s)=>{this.onAriaAttributeChange(t,s)}));this.attributeObserver.startObserving(l)}componentWillLoad(){this.validateColor(this.color);this.runTimer();this.inheritedAttributes=b(this.host)}disconnectedCallback(){var t;clearTimeout(this.timeout);(t=this.attributeObserver)===null||t===void 0?void 0:t.stopObserving()}onAriaAttributeChange(t,s){this.host.removeAttribute(t);this.inheritedAttributes=Object.assign(Object.assign({},this.inheritedAttributes),{[t]:s})}runTimer(){if(this.isTimer){this.timeout=setTimeout((()=>{this.host.classList.add(v.hidden);setTimeout((()=>{this.destroy().catch();this.govClose.emit(this.toastId)}),600)}),this.time)}}render(){return i(e,{key:"987e5c487dd42f713414dcb0db4c5324db61bc46",class:this.h.classes(v.root),"data-toast-id":this.toastId,gravity:this.gravity,position:this.position,color:this.color,type:this.type,style:{"--toast-duration":this.time+"ms"}},this.h.hasSlot("icon")&&i("span",{key:"1ebdf5e3b7a44dfa2c5489a3d23f5b7aff2368b4",class:v.icon},i("slot",{key:"be28a32d3ff38e6c9adcaee780cfab4b814c4291",name:"icon"})),i("div",Object.assign({key:"c8a8040d1b724d0e59d10a7dfde32870912c5bed",class:v.content},this.inheritedAttributes,{"aria-live":"polite",role:"status"}),i("slot",{key:"021b0fede68c4f897c28b1f6ef7b088d71740ec3"})),i("gov-button",{key:"1792f238afbba0ad073cd5513044b15d43cbe07b",size:"s","aria-label":this.accessibleCloseLabel,color:this.isBold?this.color:"neutral",type:"base","on-gov-click":this.onCloseHandler.bind(this),class:v.close},this.closeLabel?this.closeLabel:i("gov-icon",{name:"x-lg",type:"components"})),i("div",{key:"b467970959f395a2c14182d98a06b17e471611b4",class:v.timer}))}onCloseHandler(){this.govClose.emit(this.toastId);this.destroy().catch()}get isBold(){return this.type==="bold"}get isTimer(){return Number.isInteger(this.time)&&this.time>0}async destroy(){clearTimeout(this.timeout);const t=document.querySelector(`[data-toast-id="${this.toastId}"]`);if(t){t.classList.add(v.hidden);if(typeof t.remove==="function"){t.remove()}}}get host(){return this}static get watchers(){return{color:["validateColor"]}}},[4,"gov-toast",{color:[1],gravity:[1],position:[1],type:[1],time:[2],closeLabel:[1,"close-label"],accessibleCloseLabel:[1,"accessible-close-label"],inheritedAttributes:[32],destroy:[64]},undefined,{color:["validateColor"]}]);function y(){if(typeof customElements==="undefined"){return}const t=["gov-toast","gov-button","gov-icon"];t.forEach((t=>{switch(t){case"gov-toast":if(!customElements.get(t)){customElements.define(t,g)}break;case"gov-button":if(!customElements.get(t)){m()}break;case"gov-icon":if(!customElements.get(t)){f()}break}}))}y();const j=g;const k=y;export{j as GovToast,k as defineCustomElement};
2
+ //# sourceMappingURL=gov-toast.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["ToastColors","pick","Colors","ToastType","ToastClass","root","hidden","content","icon","close","timer","GovToast","__stencil_proxyCustomElement","HTMLElement","constructor","this","color","gravity","position","type","time","inheritedAttributes","h","govHost","host","toastId","createID","validateColor","newValue","validateProp","componentDidLoad","attributeObserver","AttributeObserver","attributeName","onAriaAttributeChange","startObserving","ariaAttributes","componentWillLoad","runTimer","inheritAriaAttributes","disconnectedCallback","clearTimeout","timeout","_a","stopObserving","removeAttribute","Object","assign","isTimer","setTimeout","classList","add","destroy","catch","govClose","emit","render","Host","key","class","classes","style","hasSlot","name","role","size","accessibleCloseLabel","isBold","onCloseHandler","bind","closeLabel","Number","isInteger","toast","document","querySelector","remove"],"sources":["../../../packages/core/src/components/gov-toast/constants.ts","../../../packages/core/src/components/gov-toast/gov-toast.tsx"],"sourcesContent":["import { Colors } from '../../core/constants/colors'\nimport { pick } from '../../utils/utils'\nimport { ValueOf } from '../../types/interfaces'\n\nexport const ToastColors = pick(Colors, ['PRIMARY', 'NEUTRAL', 'ERROR', 'SUCCESS', 'WARNING'])\nexport type ToastColorType = `${ValueOf<typeof ToastColors>}`\n\nexport enum ToastType {\n\tBOLD = 'bold',\n\tSUBTLE = 'subtle',\n}\nexport type ToastTypesType = `${ValueOf<typeof ToastType>}`\n\nexport const ToastClass = {\n\troot: 'gov-toast',\n\thidden: 'gov-toast--hidden',\n\tcontent: 'gov-toast__content',\n\ticon: 'gov-toast__icon',\n\tclose: 'gov-toast__close',\n\ttimer: 'gov-toast__timer',\n}\n","import {Component, Element, Event, EventEmitter, h, Host, Method, Prop, State, Watch} from \"@stencil/core\"\nimport {validateProp} from \"../../helpers/Validate/props\"\nimport {ToastClass, ToastColors, ToastColorType, ToastTypesType} from \"./constants\"\nimport {govHost} from \"../../helpers/Dom/template\"\nimport {GovHost} from \"../../helpers/Dom/template.types\"\nimport {createID} from \"../../utils/string.utils\"\nimport {AttributeObserver, Attributes} from \"../../helpers/Dom/attribute\";\nimport {ariaAttributes} from \"../../helpers/Accessibility/attributes\";\nimport {inheritAriaAttributes} from \"../../helpers/Accessibility/accessibility\";\n\n@Component({\n\ttag: \"gov-toast\",\n})\nexport class GovToast {\n\tprivate h: GovHost\n\tprivate timeout\n\tprivate readonly toastId: string\n\tprivate attributeObserver: AttributeObserver\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t\tthis.toastId = createID(\"GovToast\")\n\t}\n\n\t@Element() host: HTMLGovToastElement\n\t/**\n\t * Style variation of the toast message.\n\t */\n\t@Prop() readonly color?: ToastColorType = \"primary\"\n\n\t/**\n\t * Toast’s gravity\n\t */\n\t@Prop() readonly gravity: \"top\" | \"bottom\" = \"top\"\n\t/**\n\t * Toast’s position\n\t */\n\t@Prop() readonly position: \"left\" | \"center\" | \"right\" = \"right\"\n\t/**\n\t * Toast type\n\t */\n\t@Prop() readonly type?: ToastTypesType = \"bold\"\n\t/**\n\t * Number of milliseconds to wait before Toast disappear\n\t */\n\t@Prop() readonly time: number = 0\n\t/**\n\t * Closing button texting instead of icons\n\t */\n\t@Prop({attribute: \"close-label\"}) readonly closeLabel: string\n\t/**\n\t * Aria label for the closing button. It is mandatory if the alert is closable\n\t */\n\t@Prop({attribute: \"accessible-close-label\"}) readonly accessibleCloseLabel: string\n\t/**\n\t * Called when the close button is clicked\n\t */\n\t@Event({eventName: \"gov-close\"}) govClose: EventEmitter<string>\n\n\t@Watch(\"color\")\n\tvalidateColor(newValue: string): void {\n\t\tvalidateProp(ToastColors, newValue, ToastClass.root)\n\t}\n\n\t@State() inheritedAttributes: Attributes = {}\n\n\tcomponentDidLoad() {\n\t\tthis.attributeObserver = new AttributeObserver(this.host, (attributeName, newValue) => {\n\t\t\tthis.onAriaAttributeChange(attributeName, newValue);\n\t\t});\n\n\t\tthis.attributeObserver.startObserving(ariaAttributes);\n\t}\n\n\tcomponentWillLoad(): void {\n\t\tthis.validateColor(this.color)\n\t\tthis.runTimer()\n\t\tthis.inheritedAttributes = inheritAriaAttributes(this.host);\n\t}\n\n\n\tdisconnectedCallback() {\n\t\tclearTimeout(this.timeout)\n\t\tthis.attributeObserver?.stopObserving();\n\t}\n\n\tonAriaAttributeChange(attributeName: string, newValue: string) {\n\t\tthis.host.removeAttribute(attributeName)\n\t\tthis.inheritedAttributes = {...this.inheritedAttributes, [attributeName]: newValue};\n\t}\n\n\tprivate runTimer() {\n\t\tif (this.isTimer) {\n\t\t\tthis.timeout = setTimeout(() => {\n\t\t\t\tthis.host.classList.add(ToastClass.hidden)\n\t\t\t\tsetTimeout(() => {\n\t\t\t\t\tthis.destroy().catch()\n\t\t\t\t\tthis.govClose.emit(this.toastId)\n\t\t\t\t}, 600)\n\t\t\t}, this.time)\n\t\t}\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host\n\t\t\t\tclass={this.h.classes(ToastClass.root)}\n\t\t\t\tdata-toast-id={this.toastId}\n\t\t\t\tgravity={this.gravity}\n\t\t\t\tposition={this.position}\n\t\t\t\tcolor={this.color}\n\t\t\t\ttype={this.type}\n\t\t\t\tstyle={{\"--toast-duration\": this.time + \"ms\"}}\n\t\t\t>\n\t\t\t\t{this.h.hasSlot(\"icon\") && (\n\t\t\t\t\t<span class={ToastClass.icon}>\n\t\t\t\t\t\t<slot name=\"icon\"/>\n\t\t\t\t\t</span>\n\t\t\t\t)}\n\n\t\t\t\t<div class={ToastClass.content} {...this.inheritedAttributes} aria-live=\"polite\" role=\"status\">\n\t\t\t\t\t<slot/>\n\t\t\t\t</div>\n\n\t\t\t\t<gov-button\n\t\t\t\t\tsize=\"s\"\n\t\t\t\t\taria-label={this.accessibleCloseLabel}\n\t\t\t\t\tcolor={this.isBold ? this.color : \"neutral\"}\n\t\t\t\t\ttype=\"base\"\n\t\t\t\t\ton-gov-click={this.onCloseHandler.bind(this)}\n\t\t\t\t\tclass={ToastClass.close}\n\t\t\t\t>\n\t\t\t\t\t{this.closeLabel ? this.closeLabel : <gov-icon name=\"x-lg\" type=\"components\"></gov-icon>}\n\t\t\t\t</gov-button>\n\n\t\t\t\t<div class={ToastClass.timer}></div>\n\t\t\t</Host>\n\t\t)\n\t}\n\n\tprivate onCloseHandler(): void {\n\t\tthis.govClose.emit(this.toastId)\n\t\tthis.destroy().catch()\n\t}\n\n\tget isBold(): boolean {\n\t\treturn this.type === \"bold\"\n\t}\n\n\tget isTimer(): boolean {\n\t\treturn Number.isInteger(this.time) && this.time > 0\n\t}\n\n\t/**\n\t * Remove toast from dom\n\t */\n\t@Method()\n\tasync destroy(): Promise<void> {\n\t\tclearTimeout(this.timeout)\n\t\tconst toast = document.querySelector(`[data-toast-id=\"${this.toastId}\"]`)\n\t\tif (toast) {\n\t\t\ttoast.classList.add(ToastClass.hidden)\n\t\t\tif (typeof toast.remove === \"function\") {\n\t\t\t\ttoast.remove()\n\t\t\t}\n\t\t}\n\t}\n}\n"],"mappings":"yWAIO,MAAMA,EAAcC,EAAKC,EAAQ,CAAC,UAAW,UAAW,QAAS,UAAW,YAGnF,IAAYC,GAAZ,SAAYA,GACXA,EAAA,eACAA,EAAA,kBACA,EAHD,CAAYA,MAGX,KAGM,MAAMC,EAAa,CACzBC,KAAM,YACNC,OAAQ,oBACRC,QAAS,qBACTC,KAAM,kBACNC,MAAO,mBACPC,MAAO,oB,MCNKC,EAAQC,EAAA,MAAAD,UAAAE,EAMpB,WAAAC,G,gEASiBC,KAAKC,MAAoB,UAKzBD,KAAOE,QAAqB,MAI5BF,KAAQG,SAAgC,QAIxCH,KAAII,KAAoB,OAIxBJ,KAAIK,KAAW,EAmBvBL,KAAmBM,oBAAe,GA5C1CN,KAAKO,EAAIC,EAAQR,KAAKS,MACtBT,KAAKU,QAAUC,EAAS,WACxB,CAsCD,aAAAC,CAAcC,GACbC,EAAa7B,EAAa4B,EAAUxB,EAAWC,K,CAKhD,gBAAAyB,GACCf,KAAKgB,kBAAoB,IAAIC,EAAkBjB,KAAKS,MAAM,CAACS,EAAeL,KACzEb,KAAKmB,sBAAsBD,EAAeL,EAAS,IAGpDb,KAAKgB,kBAAkBI,eAAeC,E,CAGvC,iBAAAC,GACCtB,KAAKY,cAAcZ,KAAKC,OACxBD,KAAKuB,WACLvB,KAAKM,oBAAsBkB,EAAsBxB,KAAKS,K,CAIvD,oBAAAgB,G,MACCC,aAAa1B,KAAK2B,UAClBC,EAAA5B,KAAKgB,qBAAmB,MAAAY,SAAA,SAAAA,EAAAC,e,CAGzB,qBAAAV,CAAsBD,EAAuBL,GAC5Cb,KAAKS,KAAKqB,gBAAgBZ,GAC1BlB,KAAKM,oBAA0ByB,OAAAC,OAAAD,OAAAC,OAAA,GAAAhC,KAAKM,qBAAqB,CAAAY,CAACA,GAAgBL,G,CAGnE,QAAAU,GACP,GAAIvB,KAAKiC,QAAS,CACjBjC,KAAK2B,QAAUO,YAAW,KACzBlC,KAAKS,KAAK0B,UAAUC,IAAI/C,EAAWE,QACnC2C,YAAW,KACVlC,KAAKqC,UAAUC,QACftC,KAAKuC,SAASC,KAAKxC,KAAKU,QAAQ,GAC9B,IAAI,GACLV,KAAKK,K,EAIV,MAAAoC,GACC,OACClC,EAACmC,EACA,CAAAC,IAAA,2CAAAC,MAAO5C,KAAKO,EAAEsC,QAAQxD,EAAWC,MAAK,gBACvBU,KAAKU,QACpBR,QAASF,KAAKE,QACdC,SAAUH,KAAKG,SACfF,MAAOD,KAAKC,MACZG,KAAMJ,KAAKI,KACX0C,MAAO,CAAC,mBAAoB9C,KAAKK,KAAO,OAEvCL,KAAKO,EAAEwC,QAAQ,SACfxC,EAAM,QAAAoC,IAAA,2CAAAC,MAAOvD,EAAWI,MACvBc,EAAA,QAAAoC,IAAA,2CAAMK,KAAK,UAIbzC,EAAA,MAAAwB,OAAAC,OAAA,CAAAW,IAAA,2CAAKC,MAAOvD,EAAWG,SAAaQ,KAAKM,oBAA+B,sBAAS2C,KAAK,WACrF1C,EAAA,QAAAoC,IAAA,8CAGDpC,EAAA,cAAAoC,IAAA,2CACCO,KAAK,IAAG,aACIlD,KAAKmD,qBACjBlD,MAAOD,KAAKoD,OAASpD,KAAKC,MAAQ,UAClCG,KAAK,OACS,eAAAJ,KAAKqD,eAAeC,KAAKtD,MACvC4C,MAAOvD,EAAWK,OAEjBM,KAAKuD,WAAavD,KAAKuD,WAAahD,EAAU,YAAAyC,KAAK,OAAO5C,KAAK,gBAGjEG,EAAK,OAAAoC,IAAA,2CAAAC,MAAOvD,EAAWM,Q,CAKlB,cAAA0D,GACPrD,KAAKuC,SAASC,KAAKxC,KAAKU,SACxBV,KAAKqC,UAAUC,O,CAGhB,UAAIc,GACH,OAAOpD,KAAKI,OAAS,M,CAGtB,WAAI6B,GACH,OAAOuB,OAAOC,UAAUzD,KAAKK,OAASL,KAAKK,KAAO,C,CAOnD,aAAMgC,GACLX,aAAa1B,KAAK2B,SAClB,MAAM+B,EAAQC,SAASC,cAAc,mBAAmB5D,KAAKU,aAC7D,GAAIgD,EAAO,CACVA,EAAMvB,UAAUC,IAAI/C,EAAWE,QAC/B,UAAWmE,EAAMG,SAAW,WAAY,CACvCH,EAAMG,Q","ignoreList":[]}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface GovTooltipContent extends Components.GovTooltipContent, HTMLElement {}
4
+ export const GovTooltipContent: {
5
+ prototype: GovTooltipContent;
6
+ new (): GovTooltipContent;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1,2 @@
1
+ import{G as o,d as s}from"./p-UDT3DloZ.js";const t=o;const p=s;export{t as GovTooltipContent,p as defineCustomElement};
2
+ //# sourceMappingURL=gov-tooltip-content.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sources":[],"mappings":"","ignoreList":[]}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface GovTooltip extends Components.GovTooltip, HTMLElement {}
4
+ export const GovTooltip: {
5
+ prototype: GovTooltip;
6
+ new (): GovTooltip;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1,2 @@
1
+ import{G as o,d as s}from"./p-DMVQRz4f.js";const t=o;const p=s;export{t as GovTooltip,p as defineCustomElement};
2
+ //# sourceMappingURL=gov-tooltip.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sources":[],"mappings":"","ignoreList":[]}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface GovWizardItem extends Components.GovWizardItem, HTMLElement {}
4
+ export const GovWizardItem: {
5
+ prototype: GovWizardItem;
6
+ new (): GovWizardItem;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1,2 @@
1
+ import{p as s,H as t,c as i,h as e,a}from"./index.js";import{v as o}from"./p-BKP-F1qP.js";import{b as n,c}from"./p-CZr7GBEo.js";import{c as h}from"./p-vN03FcXN.js";import{g as l,b as r,c as d}from"./p-DKo9A5gq.js";import{d as m}from"./p-BrdXh0mI.js";var p;(function(s){s["DIV"]="div";s["BUTTON"]="button"})(p||(p={}));const f=s(class s extends t{constructor(){super();this.__registerHost();this.govChange=i(this,"gov-change");this.hydrated=false;this.color="primary";this.size="m";this.collapsible=false;this.disabled=false;this.isExpanded=false;this.h=l(this.host);this.triggerId=h("GovWizardItem");this.contentId=h("GovWizardContent")}validateColor(s){o(c,s,n.root)}emmitChange(){this.govChange.emit({expanded:this.isExpanded,component:n.root})}componentWillLoad(){this.validateColor(this.color)}connectedCallback(){this.hydrated=true}render(){const s=this.identifier||this.triggerId;const t=this.collapsible?p.BUTTON:p.DIV;const i=this.h.hasSlot("prefix")&&e("span",{key:"10144e93de98bf60873fa6c244c4129b040b8bae",class:n.prefix},e("slot",{key:"a946028d94e0c159cf4c91fa1773467c8203a5f2",name:"prefix"}));return e(a,{key:"f33ced4d5d8f57bec50cc8ebce6f12cf2145833d",class:this.h.classes(n.root),"is-expanded":this.isExpanded,color:this.color,size:this.size,role:"listitem",collapsible:this.collapsible,hydrated:this.hydrated},e("div",{key:"872e3e164b4cca4955c2ba4cf0a2d88563f50fc5",class:n.header},i,this.collapsible?e(t,{id:s,class:this.h.classes(n.label),"aria-expanded":r(this.isExpanded),"aria-controls":this.contentId,disabled:this.disabled,"aria-disabled":d(this.disabled),onClick:s=>{s.preventDefault();s.stopPropagation();this.toggle()}},e("span",{class:n.headline},e("slot",{name:"headline"}),this.collapsible&&e("gov-icon",{class:n.chevron,name:"chevron-down",type:"components"})),e("slot",{name:"annotation"})):e(t,{class:this.h.classes(n.label)},e("span",{class:n.headline},e("slot",{name:"headline"}),this.collapsible&&e("gov-icon",{class:n.chevron,name:"chevron-down",type:"components"})),e("slot",{name:"annotation"}))),this.collapsible?e("div",{class:n.content,id:this.contentId,"aria-hidden":r(!this.isExpanded),hidden:!this.isExpanded,"aria-labelledby":s},e("slot",null)):e("div",{class:n.content,"aria-hidden":r(!this.isExpanded),hidden:!this.isExpanded},e("slot",null)))}async open(){this.isExpanded=true;this.emmitChange()}async close(){this.isExpanded=false;this.emmitChange()}async toggle(){this.isExpanded=!this.isExpanded;this.emmitChange()}async currentState(){return this.isExpanded}get host(){return this}static get watchers(){return{color:["validateColor"]}}},[4,"gov-wizard-item",{color:[1],size:[1],identifier:[1],collapsible:[4],disabled:[4],isExpanded:[1028,"is-expanded"],open:[64],close:[64],toggle:[64],currentState:[64]},undefined,{color:["validateColor"]}]);function u(){if(typeof customElements==="undefined"){return}const s=["gov-wizard-item","gov-icon"];s.forEach((s=>{switch(s){case"gov-wizard-item":if(!customElements.get(s)){customElements.define(s,f)}break;case"gov-icon":if(!customElements.get(s)){m()}break}}))}u();const v=f;const b=u;export{v as GovWizardItem,b as defineCustomElement};
2
+ //# sourceMappingURL=gov-wizard-item.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["Tags","GovWizardItem","__stencil_proxyCustomElement","HTMLElement","constructor","this","hydrated","color","size","collapsible","disabled","isExpanded","h","govHost","host","triggerId","createID","contentId","validateColor","newValue","validateProp","WizardColors","WizardItemClass","root","emmitChange","govChange","emit","expanded","component","componentWillLoad","connectedCallback","render","identifier","Tag","BUTTON","DIV","prefixSlot","hasSlot","key","class","prefix","name","Host","classes","role","header","id","label","booleanString","toBoolAttrIfDefined","onClick","e","preventDefault","stopPropagation","toggle","headline","chevron","type","content","hidden","open","close","currentState"],"sources":["../../../packages/core/src/components/gov-wizard/gov-wizard-item.tsx"],"sourcesContent":["import { Component, Element, Event, EventEmitter, h, Host, Method, Prop, Watch } from \"@stencil/core\"\nimport { validateProp } from \"../../helpers/Validate/props\"\nimport { WizardSizesType, WizardColors, WizardColorType, WizardItemClass } from \"./constants\"\nimport { createID } from \"../../utils/string.utils\"\nimport { booleanString, govHost, toBoolAttrIfDefined } from \"../../helpers/Dom/template\"\nimport { GovHost } from \"../../helpers/Dom/template.types\"\nimport { WizardItemEvent } from \"./gov-wizard-item.types\"\n\nenum Tags {\n\tDIV = \"div\",\n\tBUTTON = \"button\",\n}\n\n@Component({\n\ttag: \"gov-wizard-item\",\n})\nexport class GovWizardItem {\n\tprivate h: GovHost\n\tprivate readonly triggerId: string\n\tprivate readonly contentId: string\n\tprivate hydrated = false\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t\tthis.triggerId = createID(\"GovWizardItem\")\n\t\tthis.contentId = createID(\"GovWizardContent\")\n\t}\n\n\t@Element() readonly host: HTMLGovWizardItemElement\n\t/**\n\t * Style variation of the button.\n\t */\n\t@Prop() readonly color?: WizardColorType = \"primary\"\n\t/**\n\t * Size of wizard\n\t */\n\t@Prop() readonly size?: WizardSizesType = \"m\"\n\t/**\n\t * Custom wizard item identifier. Otherwise, it will be generated\n\t */\n\t@Prop() readonly identifier: string\n\t/**\n\t * Defines weather the wizard item can be collapsible\n\t */\n\t@Prop() readonly collapsible: boolean = false\n\t/**\n\t * Makes the wizard component disabled.\n\t */\n\t@Prop() readonly disabled: boolean = false\n\t/**\n\t * Defines whether the accordion is open or closed by button\n\t */\n\t@Prop({ attribute: \"is-expanded\", mutable: true }) isExpanded = false\n\t/**\n\t * Called when the accordion state changes\n\t */\n\t@Event({ eventName: \"gov-change\" }) govChange: EventEmitter<WizardItemEvent>\n\n\t@Watch(\"color\")\n\tprivate validateColor(newValue: string): void {\n\t\tvalidateProp(WizardColors, newValue, WizardItemClass.root)\n\t}\n\n\tprivate emmitChange(): void {\n\t\tthis.govChange.emit({ expanded: this.isExpanded, component: WizardItemClass.root })\n\t}\n\n\tcomponentWillLoad(): void {\n\t\tthis.validateColor(this.color)\n\t}\n\n\tconnectedCallback() {\n\t\tthis.hydrated = true\n\t}\n\n\trender() {\n\t\tconst triggerId = this.identifier || this.triggerId\n\t\tconst Tag = this.collapsible ? Tags.BUTTON : Tags.DIV\n\t\tconst prefixSlot = this.h.hasSlot(\"prefix\") && (<span class={WizardItemClass.prefix}><slot name=\"prefix\" /></span>)\n\n\t\treturn (\n\t\t\t<Host class={this.h.classes(WizardItemClass.root)}\n\t\t\t\t is-expanded={this.isExpanded}\n\t\t\t\t color={this.color}\n\t\t\t\t size={this.size}\n\t\t\t\t role=\"listitem\"\n\t\t\t\t collapsible={this.collapsible}\n\t\t\t\t hydrated={this.hydrated}>\n\t\t\t\t<div class={WizardItemClass.header}>\n\t\t\t\t\t{prefixSlot}\n\t\t\t\t\t{this.collapsible ? (\n\t\t\t\t\t\t<Tag\n\t\t\t\t\t\t\tid={triggerId}\n\t\t\t\t\t\t\tclass={this.h.classes(WizardItemClass.label)}\n\t\t\t\t\t\t\taria-expanded={booleanString(this.isExpanded)}\n\t\t\t\t\t\t\taria-controls={this.contentId}\n\t\t\t\t\t\t\tdisabled={this.disabled}\n\t\t\t\t\t\t\taria-disabled={toBoolAttrIfDefined(this.disabled)}\n\t\t\t\t\t\t\tonClick={(e) => {\n\t\t\t\t\t\t\t\te.preventDefault()\n\t\t\t\t\t\t\t\te.stopPropagation()\n\t\t\t\t\t\t\t\tthis.toggle()\n\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t<span class={WizardItemClass.headline}>\n\t\t\t\t\t\t\t\t<slot name=\"headline\" />\n\t\t\t\t\t\t\t\t{this.collapsible && <gov-icon class={WizardItemClass.chevron} name=\"chevron-down\" type=\"components\"></gov-icon>}\n\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t<slot name=\"annotation\"/>\n\t\t\t\t\t\t</Tag>\n\t\t\t\t\t) : (\n\t\t\t\t\t\t<Tag class={this.h.classes(WizardItemClass.label)}>\n\t\t\t\t\t\t\t<span class={WizardItemClass.headline}>\n\t\t\t\t\t\t\t\t<slot name=\"headline\" />\n\t\t\t\t\t\t\t\t{this.collapsible && <gov-icon class={WizardItemClass.chevron} name=\"chevron-down\" type=\"components\"></gov-icon>}\n\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t<slot name=\"annotation\"/>\n\t\t\t\t\t\t</Tag>\n\t\t\t\t\t)}\n\t\t\t\t</div>\n\t\t\t\t{this.collapsible ? (\n\t\t\t\t\t<div\n\t\t\t\t\t\tclass={WizardItemClass.content}\n\t\t\t\t\t\tid={this.contentId}\n\t\t\t\t\t\taria-hidden={booleanString(!this.isExpanded)}\n\t\t\t\t\t\thidden={!this.isExpanded}\n\t\t\t\t\t\taria-labelledby={triggerId}\n\t\t\t\t\t>\n\t\t\t\t\t\t<slot />\n\t\t\t\t\t</div>\n\t\t\t\t) : (\n\t\t\t\t\t<div class={WizardItemClass.content}\n\t\t\t\t\t\t aria-hidden={booleanString(!this.isExpanded)}\n\t\t\t\t\t\t hidden={!this.isExpanded}\n\t\t\t\t\t>\n\t\t\t\t\t\t<slot />\n\t\t\t\t\t</div>\n\t\t\t\t)}\n\t\t\t</Host>\n\t\t)\n\t}\n\n\t/**\n\t * Opening the Wizard\n\t */\n\t@Method()\n\tasync open(): Promise<void> {\n\t\tthis.isExpanded = true\n\t\tthis.emmitChange()\n\t}\n\n\t/**\n\t * Closing the Wizard\n\t */\n\t@Method()\n\tpublic async close(): Promise<void> {\n\t\tthis.isExpanded = false\n\t\tthis.emmitChange()\n\t}\n\n\t/**\n\t * Wizard switch\n\t */\n\t@Method()\n\tpublic async toggle(): Promise<void> {\n\t\tthis.isExpanded = !this.isExpanded\n\t\tthis.emmitChange()\n\t}\n\n\t/**\n\t * Returns the current state of the component\n\t */\n\t@Method()\n\tpublic async currentState(): Promise<boolean> {\n\t\treturn this.isExpanded\n\t}\n}\n"],"mappings":"0PAQA,IAAKA,GAAL,SAAKA,GACJA,EAAA,aACAA,EAAA,kBACA,EAHD,CAAKA,MAGJ,K,MAKYC,EAAaC,EAAA,MAAAD,UAAAE,EAMzB,WAAAC,G,kEAFQC,KAAQC,SAAG,MAYFD,KAAKE,MAAqB,UAI1BF,KAAIG,KAAqB,IAQzBH,KAAWI,YAAY,MAIvBJ,KAAQK,SAAY,MAIcL,KAAUM,WAAG,MA7B/DN,KAAKO,EAAIC,EAAQR,KAAKS,MACtBT,KAAKU,UAAYC,EAAS,iBAC1BX,KAAKY,UAAYD,EAAS,mBAC1B,CAiCO,aAAAE,CAAcC,GACrBC,EAAaC,EAAcF,EAAUG,EAAgBC,K,CAG9C,WAAAC,GACPnB,KAAKoB,UAAUC,KAAK,CAAEC,SAAUtB,KAAKM,WAAYiB,UAAWN,EAAgBC,M,CAG7E,iBAAAM,GACCxB,KAAKa,cAAcb,KAAKE,M,CAGzB,iBAAAuB,GACCzB,KAAKC,SAAW,I,CAGjB,MAAAyB,GACC,MAAMhB,EAAYV,KAAK2B,YAAc3B,KAAKU,UAC1C,MAAMkB,EAAM5B,KAAKI,YAAcT,EAAKkC,OAASlC,EAAKmC,IAClD,MAAMC,EAAa/B,KAAKO,EAAEyB,QAAQ,WAAczB,EAAA,QAAA0B,IAAA,2CAAMC,MAAOjB,EAAgBkB,QAAQ5B,EAAA,QAAA0B,IAAA,2CAAMG,KAAK,YAEhG,OACC7B,EAAC8B,EAAI,CAAAJ,IAAA,2CAACC,MAAOlC,KAAKO,EAAE+B,QAAQrB,EAAgBC,MAAK,cACjClB,KAAKM,WAClBJ,MAAOF,KAAKE,MACZC,KAAMH,KAAKG,KACXoC,KAAK,WACLnC,YAAaJ,KAAKI,YAClBH,SAAUD,KAAKC,UACjBM,EAAA,OAAA0B,IAAA,2CAAKC,MAAOjB,EAAgBuB,QAC1BT,EACA/B,KAAKI,YACLG,EAACqB,EACA,CAAAa,GAAI/B,EACJwB,MAAOlC,KAAKO,EAAE+B,QAAQrB,EAAgByB,OACvB,gBAAAC,EAAc3C,KAAKM,YACnB,gBAAAN,KAAKY,UACpBP,SAAUL,KAAKK,SAAQ,gBACRuC,EAAoB5C,KAAKK,UACxCwC,QAAUC,IACTA,EAAEC,iBACFD,EAAEE,kBACFhD,KAAKiD,QAAQ,GAGd1C,EAAA,QAAM2B,MAAOjB,EAAgBiC,UAC5B3C,EAAM,QAAA6B,KAAK,aACVpC,KAAKI,aAAeG,EAAA,YAAU2B,MAAOjB,EAAgBkC,QAASf,KAAK,eAAegB,KAAK,gBAEzF7C,EAAM,QAAA6B,KAAK,gBAGZ7B,EAACqB,EAAG,CAACM,MAAOlC,KAAKO,EAAE+B,QAAQrB,EAAgByB,QAC1CnC,EAAA,QAAM2B,MAAOjB,EAAgBiC,UAC5B3C,EAAM,QAAA6B,KAAK,aACVpC,KAAKI,aAAeG,EAAA,YAAU2B,MAAOjB,EAAgBkC,QAASf,KAAK,eAAegB,KAAK,gBAEzF7C,EAAA,QAAM6B,KAAK,iBAIbpC,KAAKI,YACLG,EAAA,OACC2B,MAAOjB,EAAgBoC,QACvBZ,GAAIzC,KAAKY,UAAS,cACL+B,GAAe3C,KAAKM,YACjCgD,QAAStD,KAAKM,WAAU,kBACPI,GAEjBH,EAAQ,cAGTA,EAAA,OAAK2B,MAAOjB,EAAgBoC,QAAO,cACpBV,GAAe3C,KAAKM,YACjCgD,QAAStD,KAAKM,YAEfC,EAAA,c,CAWL,UAAMgD,GACLvD,KAAKM,WAAa,KAClBN,KAAKmB,a,CAOC,WAAMqC,GACZxD,KAAKM,WAAa,MAClBN,KAAKmB,a,CAOC,YAAM8B,GACZjD,KAAKM,YAAcN,KAAKM,WACxBN,KAAKmB,a,CAOC,kBAAMsC,GACZ,OAAOzD,KAAKM,U","ignoreList":[]}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface GovWizard extends Components.GovWizard, HTMLElement {}
4
+ export const GovWizard: {
5
+ prototype: GovWizard;
6
+ new (): GovWizard;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1,2 @@
1
+ import{p as s,H as t,c as e,h as a,a as i}from"./index.js";import{v as o}from"./p-BKP-F1qP.js";import{W as c,a as r,b as d}from"./p-CZr7GBEo.js";import{g as n}from"./p-DKo9A5gq.js";import{a as l}from"./p-Nvj7WFs_.js";import{c as h}from"./p-DrPpH_9c.js";import{d as m}from"./p-CQvUntGY.js";const p=s(class s extends t{constructor(){super();this.__registerHost();this.govChange=e(this,"gov-change");this.hydrated=false;this.size="m";this.h=n(this.host)}validateSize(s){o(r,s,c.root)}componentWillLoad(){this.validateSize(this.size)}componentDidLoad(){this.host.querySelectorAll(d.root).forEach((s=>{s.setAttribute("size",this.size)}))}async componentDidRender(){if(h()){await m(500);await this.validateWcag()}}connectedCallback(){this.hydrated=true}render(){return a(i,{key:"5d1d08b27c5a8b266d209841d4cfda654081124c",class:this.h.classes(c.root),role:"list",size:this.size,hydrated:this.hydrated},a("slot",{key:"c17071c8a7bed0dee95deec69c0ce1c668160209"}))}async validateWcag(){l(this.wcagLabel,this.wcagLabelledBy,c.root)}get host(){return this}static get watchers(){return{size:["validateSize"]}}},[4,"gov-wizard",{size:[1],wcagLabel:[1,"wcag-label"],wcagLabelledBy:[1,"wcag-labelled-by"],validateWcag:[64]},undefined,{size:["validateSize"]}]);function f(){if(typeof customElements==="undefined"){return}const s=["gov-wizard"];s.forEach((s=>{switch(s){case"gov-wizard":if(!customElements.get(s)){customElements.define(s,p)}break}}))}f();const g=p;const u=f;export{g as GovWizard,u as defineCustomElement};
2
+ //# sourceMappingURL=gov-wizard.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["GovWizard","__stencil_proxyCustomElement","HTMLElement","constructor","this","hydrated","size","h","govHost","host","validateSize","newValue","validateProp","WizardSizes","WizardClass","root","componentWillLoad","componentDidLoad","querySelectorAll","WizardItemClass","forEach","child","setAttribute","componentDidRender","canValidateWcagOnRender","delay","validateWcag","connectedCallback","render","Host","key","class","classes","role","validateAccessibleLabel","wcagLabel","wcagLabelledBy"],"sources":["../../../packages/core/src/components/gov-wizard/gov-wizard.tsx"],"sourcesContent":["import { Component, Element, Event, EventEmitter, h, Host, Method, Prop, Watch } from \"@stencil/core\"\nimport { validateProp } from \"../../helpers/Validate/props\"\nimport { WizardSizes, WizardSizesType, WizardClass, WizardItemClass } from \"./constants\"\nimport { GovWizardItemChangeEvent } from \"./gov-wizard-item.d\"\nimport { govHost } from \"../../helpers/Dom/template\"\nimport { GovHost } from \"../../helpers/Dom/template.types\"\nimport { validateAccessibleLabel } from \"../../helpers/Validate/wcag\"\nimport { canValidateWcagOnRender } from \"../../helpers/Dom/win\"\nimport { delay } from \"../../utils/utils\"\n\n@Component({\n\ttag: \"gov-wizard\",\n})\nexport class GovWizard {\n\tprivate h: GovHost\n\tprivate hydrated = false\n\n\t@Element() readonly host: HTMLGovWizardElement\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t/**\n\t * Size of wizard\n\t */\n\t@Prop() readonly size?: WizardSizesType = \"m\"\n\t/**\n\t * Adds accessible label for the wizard that is only shown for screen readers.\n\t */\n\t@Prop({ attribute: \"wcag-label\" }) readonly wcagLabel: string\n\t/**\n\t * String of id's that indicate alternative labels elements\n\t */\n\t@Prop({ attribute: \"wcag-labelled-by\" }) readonly wcagLabelledBy: string\n\t/**\n\t * Called when the wizard children state changes\n\t */\n\t@Event({ eventName: \"gov-change\" }) govChange: EventEmitter<GovWizardItemChangeEvent>\n\n\t@Watch(\"size\")\n\tprivate validateSize(newValue: string): void {\n\t\tvalidateProp(WizardSizes, newValue, WizardClass.root)\n\t}\n\n\tcomponentWillLoad(): void {\n\t\tthis.validateSize(this.size)\n\t}\n\n\tcomponentDidLoad() {\n\t\tthis.host.querySelectorAll(WizardItemClass.root).forEach((child: HTMLGovWizardItemElement) => {\n\t\t\tchild.setAttribute(\"size\", this.size)\n\t\t\t/*\n\t\t\tchild.addEventListener('gov-change', (e: GovWizardItemCustomEvent<GovWizardItemChangeEvent>) => {\n\t\t\t\te.stopPropagation()\n\t\t\t\tthis.govChange.emit(e.detail)\n\t\t\t})\n\t\t\t*/\n\t\t})\n\t}\n\n\tasync componentDidRender() {\n\t\tif (canValidateWcagOnRender()) {\n\t\t\tawait delay(500)\n\t\t\tawait this.validateWcag()\n\t\t}\n\t}\n\n\tconnectedCallback() {\n\t\tthis.hydrated = true\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={this.h.classes(WizardClass.root)} role=\"list\" size={this.size} hydrated={this.hydrated}>\n\t\t\t\t<slot />\n\t\t\t</Host>\n\t\t)\n\t}\n\n\t/**\n\t * Validate the WCAG attributes of the component\n\t */\n\t@Method()\n\tpublic async validateWcag(): Promise<void> {\n\t\tvalidateAccessibleLabel(this.wcagLabel, this.wcagLabelledBy, WizardClass.root)\n\t}\n}\n"],"mappings":"uSAaaA,EAASC,EAAA,MAAAD,UAAAE,EAMrB,WAAAC,G,kEAJQC,KAAQC,SAAG,MAWFD,KAAIE,KAAqB,IANzCF,KAAKG,EAAIC,EAAQJ,KAAKK,KACtB,CAoBO,YAAAC,CAAaC,GACpBC,EAAaC,EAAaF,EAAUG,EAAYC,K,CAGjD,iBAAAC,GACCZ,KAAKM,aAAaN,KAAKE,K,CAGxB,gBAAAW,GACCb,KAAKK,KAAKS,iBAAiBC,EAAgBJ,MAAMK,SAASC,IACzDA,EAAMC,aAAa,OAAQlB,KAAKE,KAAK,G,CAUvC,wBAAMiB,GACL,GAAIC,IAA2B,OACxBC,EAAM,WACNrB,KAAKsB,c,EAIb,iBAAAC,GACCvB,KAAKC,SAAW,I,CAGjB,MAAAuB,GACC,OACCrB,EAACsB,EAAI,CAAAC,IAAA,2CAACC,MAAO3B,KAAKG,EAAEyB,QAAQlB,EAAYC,MAAOkB,KAAK,OAAO3B,KAAMF,KAAKE,KAAMD,SAAUD,KAAKC,UAC1FE,EAAQ,QAAAuB,IAAA,6C,CASJ,kBAAMJ,GACZQ,EAAwB9B,KAAK+B,UAAW/B,KAAKgC,eAAgBtB,EAAYC,K","ignoreList":[]}
@@ -0,0 +1,33 @@
1
+ /**
2
+ * Get the base path to where the assets can be found. Use "setAssetPath(path)"
3
+ * if the path needs to be customized.
4
+ */
5
+ export declare const getAssetPath: (path: string) => string;
6
+
7
+ /**
8
+ * Used to manually set the base path where assets can be found.
9
+ * If the script is used as "module", it's recommended to use "import.meta.url",
10
+ * such as "setAssetPath(import.meta.url)". Other options include
11
+ * "setAssetPath(document.currentScript.src)", or using a bundler's replace plugin to
12
+ * dynamically set the path at build time, such as "setAssetPath(process.env.ASSET_PATH)".
13
+ * But do note that this configuration depends on how your script is bundled, or lack of
14
+ * bundling, and where your assets can be loaded from. Additionally custom bundling
15
+ * will have to ensure the static assets are copied to its build directory.
16
+ */
17
+ export declare const setAssetPath: (path: string) => void;
18
+
19
+ /**
20
+ * Used to specify a nonce value that corresponds with an application's CSP.
21
+ * When set, the nonce will be added to all dynamically created script and style tags at runtime.
22
+ * Alternatively, the nonce value can be set on a meta tag in the DOM head
23
+ * (<meta name="csp-nonce" content="{ nonce value here }" />) which
24
+ * will result in the same behavior.
25
+ */
26
+ export declare const setNonce: (nonce: string) => void
27
+
28
+ export interface SetPlatformOptions {
29
+ raf?: (c: FrameRequestCallback) => number;
30
+ ael?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
31
+ rel?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
32
+ }
33
+ export declare const setPlatformOptions: (opts: SetPlatformOptions) => void;
@@ -0,0 +1,2 @@
1
+ const e="core";const t={experimentalSlotFixes:true,hydratedSelectorName:"hydrated",lazyLoad:false,shadowDom:false,slotRelocation:true,updatable:true};var n=Object.defineProperty;var r=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:true})};var l=(e=>{e["Undefined"]="undefined";e["Null"]="null";e["String"]="string";e["Number"]="number";e["SpecialNumber"]="number";e["Boolean"]="boolean";e["BigInt"]="bigint";return e})(l||{});var i=(e=>{e["Array"]="array";e["Date"]="date";e["Map"]="map";e["Object"]="object";e["RegularExpression"]="regexp";e["Set"]="set";e["Channel"]="channel";e["Symbol"]="symbol";return e})(i||{});var o="type";var s="value";var f="serialized:";var a=e=>{if(e.__stencil__getHostRef){return e.__stencil__getHostRef()}return void 0};var c=(e,t)=>{const n={t:0,$hostElement$:e,l:t,i:new Map};{n.o=new Promise((e=>n.u=e));e["s-p"]=[];e["s-rc"]=[]}const r=n;e.__stencil__getHostRef=()=>r;return r};var u=(e,t)=>t in e;var v=(e,t)=>(0,console.error)(e,t);var d=new Map;var h="r";var p="o";var $="s";var b="t";var m="c";var y="s-id";var g="sty-id";var w="c-id";var S="slot-fb{display:contents}slot-fb[hidden]{display:none}";var j="http://www.w3.org/1999/xlink";var O=typeof window!=="undefined"?window:{};var N=O.HTMLElement||class{};var x={t:0,v:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,r)=>e.addEventListener(t,n,r),rel:(e,t,n,r)=>e.removeEventListener(t,n,r),ce:(e,t)=>new CustomEvent(e,t)};var E=t.shadowDom;var k=e=>Promise.resolve(e);var C=(()=>{try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(e){}return false})();var I=false;var _=[];var L=[];var M=(e,t)=>n=>{e.push(n);if(!I){I=true;if(t&&x.t&4){F(A)}else{x.raf(A)}}};var R=e=>{for(let t=0;t<e.length;t++){try{e[t](performance.now())}catch(e){v(e)}}e.length=0};var A=()=>{R(_);{R(L);if(I=_.length>0){x.raf(A)}}};var F=e=>k().then(e);var U=M(L,true);var D=e=>{const t=new URL(e,x.v);return t.origin!==O.location.origin?t.href:t.pathname};var P=e=>x.v=e;var T=e=>{e=typeof e;return e==="object"||e==="function"};function W(e){var t,n,r;return(r=(n=(t=e.head)==null?void 0:t.querySelector('meta[name="csp-nonce"]'))==null?void 0:n.getAttribute("content"))!=null?r:void 0}var V=e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");var B=class e{static fromLocalValue(t){const n=t[o];const r=s in t?t[s]:void 0;switch(n){case"string":return r;case"boolean":return r;case"bigint":return BigInt(r);case"undefined":return void 0;case"null":return null;case"number":if(r==="NaN")return NaN;if(r==="-0")return-0;if(r==="Infinity")return Infinity;if(r==="-Infinity")return-Infinity;return r;case"array":return r.map((t=>e.fromLocalValue(t)));case"date":return new Date(r);case"map":const t=new Map;for(const[n,l]of r){const r=typeof n==="object"&&n!==null?e.fromLocalValue(n):n;const i=e.fromLocalValue(l);t.set(r,i)}return t;case"object":const l={};for(const[t,n]of r){l[t]=e.fromLocalValue(n)}return l;case"regexp":const{pattern:i,flags:o}=r;return new RegExp(i,o);case"set":const s=new Set;for(const t of r){s.add(e.fromLocalValue(t))}return s;case"symbol":return Symbol(r);default:throw new Error(`Unsupported type: ${n}`)}}static fromLocalValueArray(t){return t.map((t=>e.fromLocalValue(t)))}static isLocalValueObject(e){if(typeof e!=="object"||e===null){return false}if(!e.hasOwnProperty(o)){return false}const t=e[o];const n=Object.values({...l,...i}).includes(t);if(!n){return false}if(t!=="null"&&t!=="undefined"){return e.hasOwnProperty(s)}return true}};var z={};r(z,{err:()=>J,map:()=>Y,ok:()=>H,unwrap:()=>q,unwrapErr:()=>G});var H=e=>({isOk:true,isErr:false,value:e});var J=e=>({isOk:false,isErr:true,value:e});function Y(e,t){if(e.isOk){const n=t(e.value);if(n instanceof Promise){return n.then((e=>H(e)))}else{return H(n)}}if(e.isErr){const t=e.value;return J(t)}throw"should never get here"}var q=e=>{if(e.isOk){return e.value}else{throw e.value}};var G=e=>{if(e.isErr){return e.value}else{throw e.value}};function K(e){if(typeof e!=="string"||!e.startsWith(f)){return e}return B.fromLocalValue(JSON.parse(atob(e.slice(f.length))))}var Q=e=>{const t=$e(e,"childNodes");if(e.tagName&&e.tagName.includes("-")&&e["s-cr"]&&e.tagName!=="SLOT-FB"){Z(t,e.tagName).forEach((e=>{if(e.nodeType===1&&e.tagName==="SLOT-FB"){if(ee(e,re(e),false).length){e.hidden=true}else{e.hidden=false}}}))}let n=0;for(n=0;n<t.length;n++){const e=t[n];if(e.nodeType===1&&$e(e,"childNodes").length){Q(e)}}};var X=e=>{const t=[];for(let n=0;n<e.length;n++){const r=e[n]["s-nr"]||void 0;if(r&&r.isConnected){t.push(r)}}return t};function Z(e,t,n){let r=0;let l=[];let i;for(;r<e.length;r++){i=e[r];if(i["s-sr"]&&(!t||i["s-hn"]===t)&&(n===void 0||re(i)===n)){l.push(i);if(typeof n!=="undefined")return l}l=[...l,...Z(i.childNodes,t,n)]}return l}var ee=(e,t,n=true)=>{const r=[];if(n&&e["s-sr"]||!e["s-sr"])r.push(e);let l=e;while(l=l.nextSibling){if(re(l)===t&&(n||!l["s-sr"]))r.push(l)}return r};var te=(e,t)=>{if(e.nodeType===1){if(e.getAttribute("slot")===null&&t===""){return true}if(e.getAttribute("slot")===t){return true}return false}if(e["s-sn"]===t){return true}return t===""};var ne=(e,t,n,r)=>{if(e["s-ol"]&&e["s-ol"].isConnected){return}const l=document.createTextNode("");l["s-nr"]=e;if(!t["s-cr"]||!t["s-cr"].parentNode)return;const i=t["s-cr"].parentNode;const o=$e(i,"appendChild");if(typeof r!=="undefined"){l["s-oo"]=r;const e=$e(i,"childNodes");const t=[l];e.forEach((e=>{if(e["s-nr"])t.push(e)}));t.sort(((e,t)=>{if(!e["s-oo"]||e["s-oo"]<(t["s-oo"]||0))return-1;else if(!t["s-oo"]||t["s-oo"]<e["s-oo"])return 1;return 0}));t.forEach((e=>o.call(i,e)))}else{o.call(i,l)}e["s-ol"]=l;e["s-sh"]=t["s-hn"]};var re=e=>typeof e["s-sn"]==="string"?e["s-sn"]:e.nodeType===1&&e.getAttribute("slot")||void 0;function le(e){if(e.assignedElements||e.assignedNodes||!e["s-sr"])return;const t=t=>function(e){const n=[];const r=this["s-sn"];if(e==null?void 0:e.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;const i=l.__childNodes?l.childNodes:X(l.childNodes);i.forEach((e=>{if(r===re(e)){n.push(e)}}));if(t){return n.filter((e=>e.nodeType===1))}return n}.bind(e);e.assignedElements=t(true);e.assignedNodes=t(false)}function ie(e){e.dispatchEvent(new CustomEvent("slotchange",{bubbles:false,cancelable:false,composed:false}))}function oe(e,t){var n;t=t||((n=e["s-ol"])==null?void 0:n.parentElement);if(!t)return{slotNode:null,slotName:""};const r=e["s-sn"]=re(e)||"";const l=$e(t,"childNodes");const i=Z(l,t.tagName,r)[0];return{slotNode:i,slotName:r}}var se=e=>{if(!e||e.__nextSibling!==void 0||!globalThis.Node)return;fe(e);ce(e);ve(e);if(e.nodeType===Node.ELEMENT_NODE){ae(e);ue(e)}};var fe=e=>{if(!e||e.__nextSibling)return;pe("nextSibling",e);Object.defineProperty(e,"nextSibling",{get:function(){var e;const t=(e=this["s-ol"])==null?void 0:e.parentNode.childNodes;const n=t==null?void 0:t.indexOf(this);if(t&&n>-1){return t[n+1]}return this.__nextSibling}})};var ae=e=>{if(!e||e.__nextElementSibling)return;pe("nextElementSibling",e);Object.defineProperty(e,"nextElementSibling",{get:function(){var e;const t=(e=this["s-ol"])==null?void 0:e.parentNode.children;const n=t==null?void 0:t.indexOf(this);if(t&&n>-1){return t[n+1]}return this.__nextElementSibling}})};var ce=e=>{if(!e||e.__previousSibling)return;pe("previousSibling",e);Object.defineProperty(e,"previousSibling",{get:function(){var e;const t=(e=this["s-ol"])==null?void 0:e.parentNode.childNodes;const n=t==null?void 0:t.indexOf(this);if(t&&n>-1){return t[n-1]}return this.__previousSibling}})};var ue=e=>{if(!e||e.__previousElementSibling)return;pe("previousElementSibling",e);Object.defineProperty(e,"previousElementSibling",{get:function(){var e;const t=(e=this["s-ol"])==null?void 0:e.parentNode.children;const n=t==null?void 0:t.indexOf(this);if(t&&n>-1){return t[n-1]}return this.__previousElementSibling}})};var ve=e=>{if(!e||e.__parentNode)return;pe("parentNode",e);Object.defineProperty(e,"parentNode",{get:function(){var e;return((e=this["s-ol"])==null?void 0:e.parentNode)||this.__parentNode},set:function(e){this.__parentNode=e}})};var de=["children","nextElementSibling","previousElementSibling"];var he=["childNodes","firstChild","lastChild","nextSibling","previousSibling","textContent","parentNode"];function pe(e,t){let n;if(de.includes(e)){n=Object.getOwnPropertyDescriptor(Element.prototype,e)}else if(he.includes(e)){n=Object.getOwnPropertyDescriptor(Node.prototype,e)}if(!n){n=Object.getOwnPropertyDescriptor(t,e)}if(n)Object.defineProperty(t,"__"+e,n)}function $e(e,t){if("__"+t in e){const n=e["__"+t];if(typeof n!=="function")return n;return n.bind(e)}else{if(typeof e[t]!=="function")return e[t];return e[t].bind(e)}}var be=(e,t="")=>{{return()=>{}}};var me=(e,t,...n)=>{let r=null;let l=null;let i=null;let o=false;let s=false;const f=[];const a=t=>{for(let n=0;n<t.length;n++){r=t[n];if(Array.isArray(r)){a(r)}else if(r!=null&&typeof r!=="boolean"){if(o=typeof e!=="function"&&!T(r)){r=String(r)}if(o&&s){f[f.length-1].h+=r}else{f.push(o?ye(null,r):r)}s=o}}};a(n);if(t){if(t.key){l=t.key}if(t.name){i=t.name}{const e=t.className||t.class;if(e){t.class=typeof e!=="object"?e:Object.keys(e).filter((t=>e[t])).join(" ")}}}if(typeof e==="function"){return e(t===null?{}:t,f,Se)}const c=ye(e,null);c.p=t;if(f.length>0){c.$=f}{c.m=l}{c.S=i}return c};var ye=(e,t)=>{const n={t:0,j:e,h:t,O:null,$:null};{n.p=null}{n.m=null}{n.S=null}return n};var ge={};var we=e=>e&&e.j===ge;var Se={forEach:(e,t)=>e.map(je).forEach(t),map:(e,t)=>e.map(je).map(t).map(Oe)};var je=e=>({vattrs:e.p,vchildren:e.$,vkey:e.m,vname:e.S,vtag:e.j,vtext:e.h});var Oe=e=>{if(typeof e.vtag==="function"){const t={...e.vattrs};if(e.vkey){t.key=e.vkey}if(e.vname){t.name=e.vname}return me(e.vtag,t,...e.vchildren||[])}const t=ye(e.vtag,e.vtext);t.p=e.vattrs;t.$=e.vchildren;t.m=e.vkey;t.S=e.vname;return t};var Ne=(e,t,n,r)=>{var l;const i=be("hydrateClient",t);const o=e.shadowRoot;const s=[];const f=[];const a=[];const c=null;const u=ye(t,null);u.O=e;const v=Object.entries(((l=r.l)==null?void 0:l.N)||{});v.forEach((([t,[n,l]])=>{var i;if(!(n&31)){return}const o=l||t;const s=e.getAttribute(o);if(s!==null){const e=Me(s,n);(i=r==null?void 0:r.i)==null?void 0:i.set(t,e)}}));if(O.document&&(!x.k||!x.k.size)){Ee(O.document.body,x.k=new Map)}e[y]=n;e.removeAttribute(y);r.C=xe(u,s,f,c,e,e,n,a);let d=0;const h=s.length;let p;for(d;d<h;d++){p=s[d];const n=p.I+"."+p._;const r=x.k.get(n);const l=p.O;if(!o){l["s-hn"]=t.toUpperCase();if(p.j==="slot"){l["s-cr"]=e["s-cr"]}}if(p.j==="slot"){p.S=p.O["s-sn"]||p.O["name"]||null;if(p.$){p.t|=2;if(!p.O.childNodes.length){p.$.forEach((e=>{p.O.appendChild(e.O)}))}}else{p.t|=1}}if(r&&r.isConnected){if(o&&r["s-en"]===""){r.parentNode.insertBefore(l,r.nextSibling)}r.parentNode.removeChild(r);if(!o){l["s-oo"]=parseInt(p._)}}x.k.delete(n)}const $=[];const b=a.length;let m=0;let g;let w;let S;let j;for(m;m<b;m++){g=a[m];if(!g||!g.length)continue;S=g.length;w=0;for(w;w<S;w++){j=g[w];if(!$[j.hostId]){$[j.hostId]=x.k.get(j.hostId)}if(!$[j.hostId])continue;const e=$[j.hostId];if(!e.shadowRoot||!o){j.slot["s-cr"]=e["s-cr"];if(!j.slot["s-cr"]&&e.shadowRoot){j.slot["s-cr"]=e}else{j.slot["s-cr"]=(e.__childNodes||e.childNodes)[0]}ne(j.node,j.slot,false,j.node["s-oo"]);{se(j.node)}}if(e.shadowRoot&&j.node.parentElement!==e){e.appendChild(j.node)}}}x.k.delete(e["s-id"]);r.$hostElement$=e;i()};var xe=(e,t,n,r,l,i,o,s=[])=>{let f;let a;let c;let u;if(i.nodeType===1){f=i.getAttribute(w);if(f){a=f.split(".");if(a[0]===o||a[0]==="0"){c=ke({t:0,I:a[0],_:a[1],L:a[2],M:a[3],j:i.tagName.toLowerCase(),O:i,p:{class:i.className||""}});t.push(c);i.removeAttribute(w);if(!e.$){e.$=[]}const l=c.O.getAttribute("s-sn");if(typeof l==="string"){if(c.j==="slot-fb"){Ce(l,a[2],c,i,e,t,n,r,s)}c.O["s-sn"]=l;c.O.removeAttribute("s-sn")}if(c.M!==void 0){e.$[c.M]=c}e=c}}if(i.shadowRoot){for(u=i.shadowRoot.childNodes.length-1;u>=0;u--){xe(e,t,n,r,l,i.shadowRoot.childNodes[u],o,s)}}const v=i.__childNodes||i.childNodes;for(u=v.length-1;u>=0;u--){xe(e,t,n,r,l,v[u],o,s)}}else if(i.nodeType===8){a=i.nodeValue.split(".");if(a[1]===o||a[1]==="0"){f=a[0];c=ke({I:a[1],_:a[2],L:a[3],M:a[4]||"0",O:i,p:null,$:null,m:null,S:null,j:null,h:null});if(f===b){c.O=_e(i,3);if(c.O&&c.O.nodeType===3){c.h=c.O.textContent;t.push(c);i.remove();if(o===c.I){if(!e.$){e.$=[]}e.$[c.M]=c}}}else if(f===m){c.O=_e(i,8);if(c.O&&c.O.nodeType===8){t.push(c);i.remove()}}else if(c.I===o){if(f===$){const l=i["s-sn"]=a[5]||"";Ce(l,a[2],c,i,e,t,n,r,s)}else if(f===h){{l["s-cr"]=i;i["s-cn"]=true}}}}}else if(e&&e.j==="style"){const t=ye(null,i.textContent);t.O=i;t.M="0";e.$=[t]}else{if(i.nodeType===3&&!i.wholeText.trim()){i.remove()}}return e};var Ee=(e,t)=>{if(e.nodeType===1){const n=e[y]||e.getAttribute(y);if(n){t.set(n,e)}let r=0;if(e.shadowRoot){for(;r<e.shadowRoot.childNodes.length;r++){Ee(e.shadowRoot.childNodes[r],t)}}const l=e.__childNodes||e.childNodes;for(r=0;r<l.length;r++){Ee(l[r],t)}}else if(e.nodeType===8){const n=e.nodeValue.split(".");if(n[0]===p){t.set(n[1]+"."+n[2],e);e.nodeValue="";e["s-en"]=n[3]}}};var ke=e=>{const t={t:0,I:null,_:null,L:null,M:"0",O:null,p:null,$:null,m:null,S:null,j:null,h:null};return{...t,...e}};function Ce(e,t,n,r,l,i,o,s,f){r["s-sr"]=true;n.S=e||null;n.j="slot";const a=(l==null?void 0:l.O)?l.O["s-id"]||l.O.getAttribute("s-id"):"";{const o=n.O;const s=a&&a!==n.I&&l.O.shadowRoot;Ie(f,t,e,r,s?a:n.I);le(r);if(s){l.O.insertBefore(o,l.O.children[0])}i.push(n)}o.push(n);if(!l.$){l.$=[]}l.$[n.M]=n}var Ie=(e,t,n,r,l)=>{let i=r.nextSibling;e[t]=e[t]||[];while(i&&((i["getAttribute"]&&i.getAttribute("slot")||i["s-sn"])===n||n===""&&!i["s-sn"]&&(i.nodeType===8&&i.nodeValue.indexOf(".")!==1||i.nodeType===3))){i["s-sn"]=n;e[t].push({slot:r,node:i,hostId:l});i=i.nextSibling}};var _e=(e,t)=>{let n=e;do{n=n.nextSibling}while(n&&(n.nodeType!==t||!n.nodeValue));return n};var Le=e=>{const t=V(e);return new RegExp(`(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?${t}))(${t}\\b)`,"g")};Le("::slotted");Le(":host");Le(":host-context");var Me=(e,t)=>{if(typeof e==="string"&&(e.startsWith("{")&&e.endsWith("}")||e.startsWith("[")&&e.endsWith("]"))){try{e=JSON.parse(e);return e}catch(e){}}if(typeof e==="string"&&e.startsWith(f)){e=K(e);return e}if(e!=null&&!T(e)){if(t&4){return e==="false"?false:e===""||!!e}if(t&2){return typeof e==="string"?parseFloat(e):typeof e==="number"?e:NaN}if(t&1){return String(e)}return e}return e};var Re=e=>e;var Ae=(e,t,n)=>{const r=Re(e);return{emit:e=>Fe(r,t,{bubbles:true,composed:true,cancelable:true,detail:e})}};var Fe=(e,t,n)=>{const r=x.ce(t,n);e.dispatchEvent(r);return r};var Ue=new WeakMap;var De=(e,t,n)=>{let r=d.get(e);if(C&&n){r=r||new CSSStyleSheet;if(typeof r==="string"){r=t}else{r.replaceSync(t)}}else{r=t}d.set(e,r)};var Pe=(e,t,n)=>{var r;const l=We(t);const i=d.get(l);if(!O.document){return l}e=e.nodeType===11?e:O.document;if(i){if(typeof i==="string"){e=e.head||e;let n=Ue.get(e);let o;if(!n){Ue.set(e,n=new Set)}if(!n.has(l)){if(e.host&&(o=e.querySelector(`[${g}="${l}"]`))){o.innerHTML=i}else{o=document.querySelector(`[${g}="${l}"]`)||O.document.createElement("style");o.innerHTML=i;const n=(r=x.R)!=null?r:W(O.document);if(n!=null){o.setAttribute("nonce",n)}if(!(t.t&1)){if(e.nodeName==="HEAD"){const t=e.querySelectorAll("link[rel=preconnect]");const n=t.length>0?t[t.length-1].nextSibling:e.querySelector("style");e.insertBefore(o,(n==null?void 0:n.parentNode)===e?n:null)}else if("host"in e){if(C){const t=new CSSStyleSheet;t.replaceSync(i);e.adoptedStyleSheets=[t,...e.adoptedStyleSheets]}else{const t=e.querySelector("style");if(t){t.innerHTML=i+t.innerHTML}else{e.prepend(o)}}}else{e.append(o)}}if(t.t&1){e.insertBefore(o,null)}}if(t.t&4){o.innerHTML+=S}if(n){n.add(l)}}}else if(!e.adoptedStyleSheets.includes(i)){e.adoptedStyleSheets=[...e.adoptedStyleSheets,i]}}return l};var Te=e=>{const t=e.l;const n=e.$hostElement$;const r=be("attachStyles",t.A);Pe(n.getRootNode(),t);r()};var We=(e,t)=>"sc-"+e.A;var Ve=(e,t,n,r,l,i,o)=>{if(n===r){return}let s=u(e,t);let f=t.toLowerCase();if(t==="class"){const t=e.classList;const l=ze(n);let i=ze(r);if(e["s-si"]&&o){i.push(e["s-si"]);l.forEach((t=>{if(t.startsWith(e["s-si"]))i.push(t)}));i=[...new Set(i)];t.add(...i)}else{t.remove(...l.filter((e=>e&&!i.includes(e))));t.add(...i.filter((e=>e&&!l.includes(e))))}}else if(t==="style"){{for(const t in n){if(!r||r[t]==null){if(t.includes("-")){e.style.removeProperty(t)}else{e.style[t]=""}}}}for(const t in r){if(!n||r[t]!==n[t]){if(t.includes("-")){e.style.setProperty(t,r[t])}else{e.style[t]=r[t]}}}}else if(t==="key");else if(t==="ref"){if(r){r(e)}}else if(!e.__lookupSetter__(t)&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"){t=t.slice(3)}else if(u(O,f)){t=f.slice(2)}else{t=f[2]+t.slice(3)}if(n||r){const l=t.endsWith(He);t=t.replace(Je,"");if(n){x.rel(e,t,n,l)}if(r){x.ael(e,t,r,l)}}}else{const o=T(r);if((s||o&&r!==null)&&true){try{if(!e.tagName.includes("-")){const l=r==null?"":r;if(t==="list"){s=false}else if(n==null||e[t]!=l){if(typeof e.__lookupSetter__(t)==="function"){e[t]=l}else{e.setAttribute(t,l)}}}else if(e[t]!==r){e[t]=r}}catch(e){}}let a=false;{if(f!==(f=f.replace(/^xlink\:?/,""))){t=f;a=true}}if(r==null||r===false){if(r!==false||e.getAttribute(t)===""){if(a){e.removeAttributeNS(j,t)}else{e.removeAttribute(t)}}}else if((!s||i&4||l)&&!o&&e.nodeType===1){r=r===true?"":r;if(a){e.setAttributeNS(j,t,r)}else{e.setAttribute(t,r)}}}};var Be=/\s/;var ze=e=>{if(typeof e==="object"&&e&&"baseVal"in e){e=e.baseVal}if(!e||typeof e!=="string"){return[]}return e.split(Be)};var He="Capture";var Je=new RegExp(He+"$");var Ye=(e,t,n,r)=>{const l=t.O.nodeType===11&&t.O.host?t.O.host:t.O;const i=e&&e.p||{};const o=t.p||{};{for(const e of qe(Object.keys(i))){if(!(e in o)){Ve(l,e,i[e],void 0,n,t.t,r)}}}for(const e of qe(Object.keys(o))){Ve(l,e,i[e],o[e],n,t.t,r)}};function qe(e){return e.includes("ref")?[...e.filter((e=>e!=="ref")),"ref"]:e}var Ge;var Ke;var Qe=false;var Xe=false;var Ze=false;var et=false;var tt=(e,n,r)=>{var l;const i=n.$[r];let o=0;let s;let f;let a;if(!Qe){Ze=true;if(i.j==="slot"){i.t|=i.$?2:1}}if(i.h!==null){s=i.O=O.document.createTextNode(i.h)}else if(i.t&1){s=i.O=O.document.createTextNode("");{Ye(null,i,et)}}else{if(!O.document){throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM. Make sure to populate the [`window`](https://developer.mozilla.org/en-US/docs/Web/API/Window/window) object before rendering a component.")}s=i.O=O.document.createElement(!Qe&&t.slotRelocation&&i.t&2?"slot-fb":i.j);{Ye(null,i,et)}if(i.$){for(o=0;o<i.$.length;++o){f=tt(e,i,o);if(f){s.appendChild(f)}}}}s["s-hn"]=Ke;{if(i.t&(2|1)){s["s-sr"]=true;s["s-cr"]=Ge;s["s-sn"]=i.S||"";s["s-rf"]=(l=i.p)==null?void 0:l.ref;le(s);a=e&&e.$&&e.$[r];if(a&&a.j===i.j&&e.O){{nt(e.O)}}}}return s};var nt=e=>{x.t|=1;const t=e.closest(Ke.toLowerCase());if(t!=null){const n=Array.from(t.__childNodes||t.childNodes).find((e=>e["s-cr"]));const r=Array.from(e.__childNodes||e.childNodes);for(const e of n?r.reverse():r){if(e["s-sh"]!=null){dt(t,e,n!=null?n:null);e["s-sh"]=void 0;Ze=true}}}x.t&=-2};var rt=(e,n)=>{x.t|=1;const r=Array.from(e.__childNodes||e.childNodes);if(e["s-sr"]&&t.experimentalSlotFixes){let t=e;while(t=t.nextSibling){if(t&&t["s-sn"]===e["s-sn"]&&t["s-sh"]===Ke){r.push(t)}}}for(let e=r.length-1;e>=0;e--){const t=r[e];if(t["s-hn"]!==Ke&&t["s-ol"]){dt(ft(t).parentNode,t,ft(t));t["s-ol"].remove();t["s-ol"]=void 0;t["s-sh"]=void 0;Ze=true}if(n){rt(t,n)}}x.t&=-2};var lt=(e,t,n,r,l,i)=>{let o=e["s-cr"]&&e["s-cr"].parentNode||e;let s;for(;l<=i;++l){if(r[l]){s=tt(null,n,l);if(s){r[l].O=s;dt(o,s,ft(t))}}}};var it=(e,t,n)=>{for(let r=t;r<=n;++r){const t=e[r];if(t){const e=t.O;vt(t);if(e){{Xe=true;if(e["s-ol"]){e["s-ol"].remove()}else{rt(e,true)}}e.remove()}}}};var ot=(e,t,n,r,l=false)=>{let i=0;let o=0;let s=0;let f=0;let a=t.length-1;let c=t[0];let u=t[a];let v=r.length-1;let d=r[0];let h=r[v];let p;let $;while(i<=a&&o<=v){if(c==null){c=t[++i]}else if(u==null){u=t[--a]}else if(d==null){d=r[++o]}else if(h==null){h=r[--v]}else if(st(c,d,l)){at(c,d,l);c=t[++i];d=r[++o]}else if(st(u,h,l)){at(u,h,l);u=t[--a];h=r[--v]}else if(st(c,h,l)){if(c.j==="slot"||h.j==="slot"){rt(c.O.parentNode,false)}at(c,h,l);dt(e,c.O,u.O.nextSibling);c=t[++i];h=r[--v]}else if(st(u,d,l)){if(c.j==="slot"||h.j==="slot"){rt(u.O.parentNode,false)}at(u,d,l);dt(e,u.O,c.O);u=t[--a];d=r[++o]}else{s=-1;{for(f=i;f<=a;++f){if(t[f]&&t[f].m!==null&&t[f].m===d.m){s=f;break}}}if(s>=0){$=t[s];if($.j!==d.j){p=tt(t&&t[o],n,s)}else{at($,d,l);t[s]=void 0;p=$.O}d=r[++o]}else{p=tt(t&&t[o],n,o);d=r[++o]}if(p){{dt(ft(c.O).parentNode,p,ft(c.O))}}}}if(i>a){lt(e,r[v+1]==null?null:r[v+1].O,n,r,o,v)}else if(o>v){it(t,i,a)}};var st=(e,t,n=false)=>{if(e.j===t.j){if(e.j==="slot"){return e.S===t.S}if(!n){return e.m===t.m}if(n&&!e.m&&t.m){e.m=t.m}return true}return false};var ft=e=>e&&e["s-ol"]||e;var at=(e,n,r=false)=>{const l=n.O=e.O;const i=e.$;const o=n.$;const s=n.j;const f=n.h;let a;if(f===null){{if(s==="slot"&&!Qe){if(e.S!==n.S){n.O["s-sn"]=n.S||"";nt(n.O.parentElement)}}Ye(e,n,et,r)}if(i!==null&&o!==null){ot(l,i,n,o,r)}else if(o!==null){if(e.h!==null){l.textContent=""}lt(l,null,n,o,0,o.length-1)}else if(!r&&t.updatable&&i!==null){it(i,0,i.length-1)}}else if(a=l["s-cr"]){a.parentNode.textContent=f}else if(e.h!==f){l.data=f}};var ct=[];var ut=e=>{let t;let n;let r;const l=e.__childNodes||e.childNodes;for(const e of l){if(e["s-sr"]&&(t=e["s-cr"])&&t.parentNode){n=t.parentNode.__childNodes||t.parentNode.childNodes;const l=e["s-sn"];for(r=n.length-1;r>=0;r--){t=n[r];if(!t["s-cn"]&&!t["s-nr"]&&t["s-hn"]!==e["s-hn"]&&(!t["s-sh"]||t["s-sh"]!==e["s-hn"])){if(te(t,l)){let n=ct.find((e=>e.F===t));Xe=true;t["s-sn"]=t["s-sn"]||l;if(n){n.F["s-sh"]=e["s-hn"];n.U=e}else{t["s-sh"]=e["s-hn"];ct.push({U:e,F:t})}if(t["s-sr"]){ct.map((e=>{if(te(e.F,t["s-sn"])){n=ct.find((e=>e.F===t));if(n&&!e.U){e.U=n.U}}}))}}else if(!ct.some((e=>e.F===t))){ct.push({F:t})}}}}if(e.nodeType===1){ut(e)}}};var vt=e=>{{e.p&&e.p.ref&&e.p.ref(null);e.$&&e.$.map(vt)}};var dt=(e,t,n)=>{if(typeof t["s-sn"]==="string"){if(e.getRootNode().nodeType!==11){ve(t)}e.insertBefore(t,n);const{slotNode:r}=oe(t);if(r)ie(r);return t}if(e.__insertBefore){return e.__insertBefore(t,n)}else{return e==null?void 0:e.insertBefore(t,n)}};var ht=(e,t,n=false)=>{var r,l,i,o,s;const f=e.$hostElement$;const a=e.l;const c=e.C||ye(null,null);const u=we(t);const v=u?t:me(null,null,t);Ke=f.tagName;if(a.D){v.p=v.p||{};a.D.map((([e,t])=>v.p[t]=f[e]))}if(n&&v.p){for(const e of Object.keys(v.p)){if(f.hasAttribute(e)&&!["key","ref","style","class"].includes(e)){v.p[e]=f[e]}}}v.j=null;v.t|=4;e.C=v;v.O=c.O=f;Qe=E;{Ge=f["s-cr"];Xe=false}at(c,v,n);{x.t|=1;if(Ze){ut(v.O);for(const e of ct){const t=e.F;if(!t["s-ol"]&&O.document){const e=O.document.createTextNode("");e["s-nr"]=t;dt(t.parentNode,t["s-ol"]=e,t)}}for(const e of ct){const t=e.F;const s=e.U;if(s){const e=s.parentNode;let n=s.nextSibling;if(n&&n.nodeType===1){let i=(r=t["s-ol"])==null?void 0:r.previousSibling;while(i){let r=(l=i["s-nr"])!=null?l:null;if(r&&r["s-sn"]===t["s-sn"]&&e===(r.__parentNode||r.parentNode)){r=r.nextSibling;while(r===t||(r==null?void 0:r["s-sr"])){r=r==null?void 0:r.nextSibling}if(!r||!r["s-nr"]){n=r;break}}i=i.previousSibling}}const o=t.__parentNode||t.parentNode;const f=t.__nextSibling||t.nextSibling;if(!n&&e!==o||f!==n){if(t!==n){dt(e,t,n);if(t.nodeType===1&&t.tagName!=="SLOT-FB"){t.hidden=(i=t["s-ih"])!=null?i:false}}}t&&typeof s["s-rf"]==="function"&&s["s-rf"](s)}else{if(t.nodeType===1){if(n){t["s-ih"]=(o=t.hidden)!=null?o:false}t.hidden=true}}}}if(Xe){Q(v.O)}x.t&=-2;ct.length=0}if(a.t&2){const e=v.O.__childNodes||v.O.childNodes;for(const t of e){if(t["s-hn"]!==Ke&&!t["s-sh"]){if(n&&t["s-ih"]==null){t["s-ih"]=(s=t.hidden)!=null?s:false}t.hidden=true}}}Ge=void 0};var pt=(e,t)=>{if(t&&!e.P&&t["s-p"]){const n=t["s-p"].push(new Promise((r=>e.P=()=>{t["s-p"].splice(n-1,1);r()})))}};var $t=(e,t)=>{{e.t|=16}if(e.t&4){e.t|=512;return}pt(e,e.T);const n=()=>bt(e,t);return U(n)};var bt=(e,t)=>{const n=e.$hostElement$;const r=be("scheduleUpdate",e.l.A);const l=n;if(!l){throw new Error(`Can't render component <${n.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 i;if(t){i=Ot(l,"componentWillLoad",void 0,n)}else{i=Ot(l,"componentWillUpdate",void 0,n)}i=mt(i,(()=>Ot(l,"componentWillRender",void 0,n)));r();return mt(i,(()=>gt(e,l,t)))};var mt=(e,t)=>yt(e)?e.then(t).catch((e=>{console.error(e);t()})):t();var yt=e=>e instanceof Promise||e&&e.then&&typeof e.then==="function";var gt=async(e,t,n)=>{var r;const l=e.$hostElement$;const i=be("update",e.l.A);const o=l["s-rc"];if(n){Te(e)}const s=be("render",e.l.A);{wt(e,t,l,n)}if(o){o.map((e=>e()));l["s-rc"]=void 0}s();i();{const t=(r=l["s-p"])!=null?r:[];const n=()=>St(e);if(t.length===0){n()}else{Promise.all(t).then(n);e.t|=4;t.length=0}}};var wt=(e,t,n,r)=>{try{t=t.render();{e.t&=-17}{e.t|=2}{{{ht(e,t,r)}}}}catch(t){v(t,e.$hostElement$)}return null};var St=e=>{const t=e.l.A;const n=e.$hostElement$;const r=be("postUpdate",t);const l=n;const i=e.T;Ot(l,"componentDidRender",void 0,n);if(!(e.t&64)){e.t|=64;{Nt(n)}Ot(l,"componentDidLoad",void 0,n);r();{e.u(n);if(!i){jt()}}}else{Ot(l,"componentDidUpdate",void 0,n);r()}{if(e.P){e.P();e.P=void 0}if(e.t&512){F((()=>$t(e,false)))}e.t&=-517}};var jt=t=>{F((()=>Fe(O,"appload",{detail:{namespace:e}})))};var Ot=(e,t,n,r)=>{if(e&&e[t]){try{return e[t](n)}catch(e){v(e,r)}}return void 0};var Nt=e=>{var n;return e.classList.add((n=t.hydratedSelectorName)!=null?n:"hydrated")};var xt=(e,t)=>a(e).i.get(t);var Et=(e,t,n,r)=>{const l=a(e);const i=e;const o=l.i.get(t);const s=l.t;const f=i;n=Me(n,r.N[t][0]);const c=Number.isNaN(o)&&Number.isNaN(n);const u=n!==o&&!c;if(u){l.i.set(t,n);{if(r.W&&s&128){const e=r.W[t];if(e){e.map((e=>{try{f[e](n,o,t)}catch(e){v(e,i)}}))}}if((s&(2|16))===2){if(f.componentShouldUpdate){if(f.componentShouldUpdate(n,o,t)===false){return}}$t(l,false)}}}};var kt=(e,n,r)=>{var l,i;const o=e.prototype;if(n.N||(n.W||e.watchers)){if(e.watchers&&!n.W){n.W=e.watchers}const r=Object.entries((l=n.N)!=null?l:{});r.map((([e,[t]])=>{if(t&31||t&32){const{get:r,set:l}=Object.getOwnPropertyDescriptor(o,e)||{};if(r)n.N[e][0]|=2048;if(l)n.N[e][0]|=4096;{Object.defineProperty(o,e,{get(){{return r?r.apply(this):xt(this,e)}},configurable:true,enumerable:true})}Object.defineProperty(o,e,{set(r){const i=a(this);if(l){const o=t&32?this[e]:i.$hostElement$[e];if(typeof o==="undefined"&&i.i.get(e)){r=i.i.get(e)}else if(!i.i.get(e)&&o){i.i.set(e,o)}l.apply(this,[Me(r,t)]);r=t&32?this[e]:i.$hostElement$[e];Et(this,e,r,n);return}{Et(this,e,r,n);return}}})}}));{const l=new Map;o.attributeChangedCallback=function(e,r,i){x.jmp((()=>{var s;const f=l.get(e);if(this.hasOwnProperty(f)&&t.lazyLoad);else if(o.hasOwnProperty(f)&&typeof this[f]==="number"&&this[f]==i){return}else if(f==null){const t=a(this);const l=t==null?void 0:t.t;if(l&&!(l&8)&&l&128&&i!==r){const t=this;const l=t;const o=(s=n.W)==null?void 0:s[e];o==null?void 0:o.forEach((t=>{if(l[t]!=null){l[t].call(l,i,r,e)}}))}return}const c=Object.getOwnPropertyDescriptor(o,f);i=i===null&&typeof this[f]==="boolean"?false:i;if(i!==this[f]&&(!c.get||!!c.set)){this[f]=i}}))};e.observedAttributes=Array.from(new Set([...Object.keys((i=n.W)!=null?i:{}),...r.filter((([e,t])=>t[0]&15)).map((([e,t])=>{var r;const i=t[1]||e;l.set(i,e);if(t[0]&512){(r=n.D)==null?void 0:r.push([e,i])}return i}))]))}}return e};var Ct=async(e,t,n,r)=>{let l;if((t.t&32)===0){t.t|=32;{l=e.constructor;const n=e.localName;customElements.whenDefined(n).then((()=>t.t|=128))}if(l&&l.style){let e;if(typeof l.style==="string"){e=l.style}const t=We(n);if(!d.has(t)){const r=be("registerStyles",n.A);De(t,e,!!(n.t&1));r()}}}const i=t.T;const o=()=>$t(t,true);if(i&&i["s-rc"]){i["s-rc"].push(o)}else{o()}};var It=(e,t)=>{};var _t=e=>{if((x.t&1)===0){const n=a(e);const r=n.l;const l=be("connectedCallback",r.A);if(!(n.t&1)){n.t|=1;let l;{l=e.getAttribute(y);if(l){Ne(e,r.A,l,n)}}if(!l){if(r.t&(4|8)){Lt(e)}}{let t=e;while(t=t.parentNode||t.host){if(t.nodeType===1&&t.hasAttribute("s-id")&&t["s-p"]||t["s-p"]){pt(n,n.T=t);break}}}if(r.N){Object.entries(r.N).map((([t,[n]])=>{if(n&31&&e.hasOwnProperty(t)){const n=e[t];delete e[t];e[t]=n}}))}if(t.initializeNextTick){F((()=>Ct(e,n,r)))}else{Ct(e,n,r)}}else{if(n==null?void 0:n.V);else if(n==null?void 0:n.o){n.o.then((()=>It()))}}l()}};var Lt=e=>{if(!O.document){return}const t=e["s-cr"]=O.document.createComment("");t["s-cn"]=true;dt(e,t,e.firstChild)};var Mt=async e=>{if((x.t&1)===0){a(e)}if(Ue.has(e)){Ue.delete(e)}if(e.shadowRoot&&Ue.has(e.shadowRoot)){Ue.delete(e.shadowRoot)}};var Rt=(e,t)=>{const n={t:t[0],A:t[1]};{n.N=t[2]}{n.W=e.W}{n.D=[]}const r=e.prototype.connectedCallback;const l=e.prototype.disconnectedCallback;Object.assign(e.prototype,{__hasHostListenerAttached:false,__registerHost(){c(this,n)},connectedCallback(){if(!this.__hasHostListenerAttached){a(this);this.__hasHostListenerAttached=true}_t(this);if(r){r.call(this)}},disconnectedCallback(){Mt(this);if(l){l.call(this)}},__attachShadow(){{this.shadowRoot=this}}});e.is=n.A;return kt(e,n)};var At=(e,t)=>t;var Ft=e=>x.R=e;var Ut=e=>Object.assign(x,e);function Dt(e,t){const n={t:0,A:t.tagName};const r={l:n,$hostElement$:t};ht(r,e)}export{At as F,N as H,ge as a,Ae as c,D as getAssetPath,me as h,Rt as p,Dt as render,P as setAssetPath,Ft as setNonce,Ut as setPlatformOptions};
2
+ //# sourceMappingURL=index.js.map