@gov-design-system-ce/components 4.6.0 → 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 (1274) hide show
  1. package/dist/cjs/Fragment-D4qSkFah.js.map +1 -1
  2. package/dist/cjs/accessibility-BQJmIVWV.js.map +1 -1
  3. package/dist/cjs/app-globals-V2Kpy_OQ.js.map +1 -1
  4. package/dist/cjs/array.utils-DOh1gCQS.js.map +1 -1
  5. package/dist/cjs/attribute-CH1-zDDl.js.map +1 -1
  6. package/dist/cjs/colors-DgrrxjsX.js.map +1 -1
  7. package/dist/cjs/constants-357ehBFU.js.map +1 -1
  8. package/dist/cjs/constants-CFAhiwqu.js.map +1 -1
  9. package/dist/cjs/constants-CYm8AK_D.js.map +1 -1
  10. package/dist/cjs/constants-CbBhWRUQ.js.map +1 -1
  11. package/dist/cjs/constants-ChDSk4SZ.js.map +1 -1
  12. package/dist/cjs/constants-D6LZ31rS.js.map +1 -1
  13. package/dist/cjs/constants-DcKnOyW4.js.map +1 -1
  14. package/dist/cjs/constants-Dmmp9FHy.js.map +1 -1
  15. package/dist/cjs/constants-WvkMgj1j.js.map +1 -1
  16. package/dist/cjs/constants-ymB2dvwV.js.map +1 -1
  17. package/dist/cjs/constants-z2ZSS2je.js.map +1 -1
  18. package/dist/cjs/form-GgXzZZ-E.js.map +1 -1
  19. package/dist/cjs/gov-accordion-item.cjs.entry.js +3 -3
  20. package/dist/cjs/gov-accordion-item.cjs.entry.js.map +1 -1
  21. package/dist/cjs/gov-accordion-item.entry.cjs.js.map +1 -1
  22. package/dist/cjs/gov-accordion.cjs.entry.js +1 -1
  23. package/dist/cjs/gov-accordion.cjs.entry.js.map +1 -1
  24. package/dist/cjs/gov-accordion.entry.cjs.js.map +1 -1
  25. package/dist/cjs/gov-attachments.gov-attachments-item.gov-form-message.entry.cjs.js.map +1 -1
  26. package/dist/cjs/gov-attachments_3.cjs.entry.js +3 -3
  27. package/dist/cjs/gov-attachments_3.cjs.entry.js.map +1 -1
  28. package/dist/cjs/gov-backdrop.cjs.entry.js +1 -1
  29. package/dist/cjs/gov-backdrop.cjs.entry.js.map +1 -1
  30. package/dist/cjs/gov-backdrop.entry.cjs.js.map +1 -1
  31. package/dist/cjs/gov-banner.cjs.entry.js +2 -2
  32. package/dist/cjs/gov-banner.cjs.entry.js.map +1 -1
  33. package/dist/cjs/gov-banner.entry.cjs.js.map +1 -1
  34. package/dist/cjs/gov-blockquote.cjs.entry.js +1 -1
  35. package/dist/cjs/gov-blockquote.cjs.entry.js.map +1 -1
  36. package/dist/cjs/gov-blockquote.entry.cjs.js.map +1 -1
  37. package/dist/cjs/gov-breadcrumbs.cjs.entry.js +1 -1
  38. package/dist/cjs/gov-breadcrumbs.cjs.entry.js.map +1 -1
  39. package/dist/cjs/gov-breadcrumbs.entry.cjs.js.map +1 -1
  40. package/dist/cjs/gov-button.cjs.entry.js +3 -3
  41. package/dist/cjs/gov-button.cjs.entry.js.map +1 -1
  42. package/dist/cjs/gov-button.entry.cjs.js.map +1 -1
  43. package/dist/cjs/gov-card.cjs.entry.js +1 -1
  44. package/dist/cjs/gov-card.cjs.entry.js.map +1 -1
  45. package/dist/cjs/gov-card.entry.cjs.js.map +1 -1
  46. package/dist/cjs/gov-chip.cjs.entry.js +2 -2
  47. package/dist/cjs/gov-chip.cjs.entry.js.map +1 -1
  48. package/dist/cjs/gov-chip.entry.cjs.js.map +1 -1
  49. package/dist/cjs/gov-collapsible.cjs.entry.js +2 -2
  50. package/dist/cjs/gov-collapsible.cjs.entry.js.map +1 -1
  51. package/dist/cjs/gov-collapsible.entry.cjs.js.map +1 -1
  52. package/dist/cjs/gov-container.cjs.entry.js +1 -1
  53. package/dist/cjs/gov-container.cjs.entry.js.map +1 -1
  54. package/dist/cjs/gov-container.entry.cjs.js.map +1 -1
  55. package/dist/cjs/gov-control-group.cjs.entry.js +1 -1
  56. package/dist/cjs/gov-control-group.cjs.entry.js.map +1 -1
  57. package/dist/cjs/gov-control-group.entry.cjs.js.map +1 -1
  58. package/dist/cjs/gov-cookiebar.cjs.entry.js +1 -1
  59. package/dist/cjs/gov-cookiebar.cjs.entry.js.map +1 -1
  60. package/dist/cjs/gov-cookiebar.entry.cjs.js.map +1 -1
  61. package/dist/cjs/gov-dialog.cjs.entry.js +1 -1
  62. package/dist/cjs/gov-dialog.cjs.entry.js.map +1 -1
  63. package/dist/cjs/gov-dialog.entry.cjs.js.map +1 -1
  64. package/dist/cjs/gov-dropdown.cjs.entry.js +1 -1
  65. package/dist/cjs/gov-dropdown.cjs.entry.js.map +1 -1
  66. package/dist/cjs/gov-dropdown.entry.cjs.js.map +1 -1
  67. package/dist/cjs/gov-empty.cjs.entry.js +1 -1
  68. package/dist/cjs/gov-empty.cjs.entry.js.map +1 -1
  69. package/dist/cjs/gov-empty.entry.cjs.js.map +1 -1
  70. package/dist/cjs/gov-error-code.cjs.entry.js +1 -1
  71. package/dist/cjs/gov-error-code.cjs.entry.js.map +1 -1
  72. package/dist/cjs/gov-error-code.entry.cjs.js.map +1 -1
  73. package/dist/cjs/gov-flex.gov-icon.gov-theme-switch.entry.cjs.js.map +1 -1
  74. package/dist/cjs/gov-flex_3.cjs.entry.js +3 -3
  75. package/dist/cjs/gov-flex_3.cjs.entry.js.map +1 -1
  76. package/dist/cjs/gov-form-autocomplete.cjs.entry.js +1 -1
  77. package/dist/cjs/gov-form-autocomplete.cjs.entry.js.map +1 -1
  78. package/dist/cjs/gov-form-autocomplete.entry.cjs.js.map +1 -1
  79. package/dist/cjs/gov-form-checkbox-group.cjs.entry.js +1 -1
  80. package/dist/cjs/gov-form-checkbox-group.cjs.entry.js.map +1 -1
  81. package/dist/cjs/gov-form-checkbox-group.entry.cjs.js.map +1 -1
  82. package/dist/cjs/gov-form-checkbox.cjs.entry.js.map +1 -1
  83. package/dist/cjs/gov-form-checkbox.entry.cjs.js.map +1 -1
  84. package/dist/cjs/gov-form-control.cjs.entry.js +1 -1
  85. package/dist/cjs/gov-form-control.cjs.entry.js.map +1 -1
  86. package/dist/cjs/gov-form-control.entry.cjs.js.map +1 -1
  87. package/dist/cjs/gov-form-file.cjs.entry.js +1 -1
  88. package/dist/cjs/gov-form-file.cjs.entry.js.map +1 -1
  89. package/dist/cjs/gov-form-file.entry.cjs.js.map +1 -1
  90. package/dist/cjs/gov-form-group.cjs.entry.js +1 -1
  91. package/dist/cjs/gov-form-group.cjs.entry.js.map +1 -1
  92. package/dist/cjs/gov-form-group.entry.cjs.js.map +1 -1
  93. package/dist/cjs/gov-form-input.gov-skeleton.entry.cjs.js.map +1 -1
  94. package/dist/cjs/gov-form-input_2.cjs.entry.js +6 -6
  95. package/dist/cjs/gov-form-input_2.cjs.entry.js.map +1 -1
  96. package/dist/cjs/gov-form-label.cjs.entry.js +1 -1
  97. package/dist/cjs/gov-form-label.cjs.entry.js.map +1 -1
  98. package/dist/cjs/gov-form-label.entry.cjs.js.map +1 -1
  99. package/dist/cjs/gov-form-multi-select.cjs.entry.js +2 -2
  100. package/dist/cjs/gov-form-multi-select.cjs.entry.js.map +1 -1
  101. package/dist/cjs/gov-form-multi-select.entry.cjs.js.map +1 -1
  102. package/dist/cjs/gov-form-password-power.cjs.entry.js +1 -1
  103. package/dist/cjs/gov-form-password-power.cjs.entry.js.map +1 -1
  104. package/dist/cjs/gov-form-password-power.entry.cjs.js.map +1 -1
  105. package/dist/cjs/gov-form-radio-group.cjs.entry.js +1 -1
  106. package/dist/cjs/gov-form-radio-group.cjs.entry.js.map +1 -1
  107. package/dist/cjs/gov-form-radio-group.entry.cjs.js.map +1 -1
  108. package/dist/cjs/gov-form-radio.cjs.entry.js.map +1 -1
  109. package/dist/cjs/gov-form-radio.entry.cjs.js.map +1 -1
  110. package/dist/cjs/gov-form-range.cjs.entry.js +2 -2
  111. package/dist/cjs/gov-form-range.cjs.entry.js.map +1 -1
  112. package/dist/cjs/gov-form-range.entry.cjs.js.map +1 -1
  113. package/dist/cjs/gov-form-search.cjs.entry.js +1 -1
  114. package/dist/cjs/gov-form-search.cjs.entry.js.map +1 -1
  115. package/dist/cjs/gov-form-search.entry.cjs.js.map +1 -1
  116. package/dist/cjs/gov-form-select.cjs.entry.js +2 -2
  117. package/dist/cjs/gov-form-select.cjs.entry.js.map +1 -1
  118. package/dist/cjs/gov-form-select.entry.cjs.js.map +1 -1
  119. package/dist/cjs/gov-form-switch.cjs.entry.js.map +1 -1
  120. package/dist/cjs/gov-form-switch.entry.cjs.js.map +1 -1
  121. package/dist/cjs/gov-grid-item.cjs.entry.js +1 -1
  122. package/dist/cjs/gov-grid-item.cjs.entry.js.map +1 -1
  123. package/dist/cjs/gov-grid-item.entry.cjs.js.map +1 -1
  124. package/dist/cjs/gov-grid.cjs.entry.js +1 -1
  125. package/dist/cjs/gov-grid.cjs.entry.js.map +1 -1
  126. package/dist/cjs/gov-grid.entry.cjs.js.map +1 -1
  127. package/dist/cjs/gov-infobar.cjs.entry.js +2 -2
  128. package/dist/cjs/gov-infobar.cjs.entry.js.map +1 -1
  129. package/dist/cjs/gov-infobar.entry.cjs.js.map +1 -1
  130. package/dist/cjs/gov-layout-column.cjs.entry.js +1 -1
  131. package/dist/cjs/gov-layout-column.cjs.entry.js.map +1 -1
  132. package/dist/cjs/gov-layout-column.entry.cjs.js.map +1 -1
  133. package/dist/cjs/gov-layout.cjs.entry.js +1 -1
  134. package/dist/cjs/gov-layout.cjs.entry.js.map +1 -1
  135. package/dist/cjs/gov-layout.entry.cjs.js.map +1 -1
  136. package/dist/cjs/gov-lifecycle.cjs.entry.js +1 -1
  137. package/dist/cjs/gov-lifecycle.cjs.entry.js.map +1 -1
  138. package/dist/cjs/gov-lifecycle.entry.cjs.js.map +1 -1
  139. package/dist/cjs/gov-link.cjs.entry.js +1 -1
  140. package/dist/cjs/gov-link.cjs.entry.js.map +1 -1
  141. package/dist/cjs/gov-link.entry.cjs.js.map +1 -1
  142. package/dist/cjs/gov-loading.cjs.entry.js +1 -1
  143. package/dist/cjs/gov-loading.cjs.entry.js.map +1 -1
  144. package/dist/cjs/gov-loading.entry.cjs.js.map +1 -1
  145. package/dist/cjs/gov-message.cjs.entry.js +1 -1
  146. package/dist/cjs/gov-message.cjs.entry.js.map +1 -1
  147. package/dist/cjs/gov-message.entry.cjs.js.map +1 -1
  148. package/dist/cjs/gov-pagination.cjs.entry.js.map +1 -1
  149. package/dist/cjs/gov-pagination.entry.cjs.js.map +1 -1
  150. package/dist/cjs/gov-spacer.cjs.entry.js +1 -1
  151. package/dist/cjs/gov-spacer.cjs.entry.js.map +1 -1
  152. package/dist/cjs/gov-spacer.entry.cjs.js.map +1 -1
  153. package/dist/cjs/gov-stepper-item.cjs.entry.js +1 -1
  154. package/dist/cjs/gov-stepper-item.cjs.entry.js.map +1 -1
  155. package/dist/cjs/gov-stepper-item.entry.cjs.js.map +1 -1
  156. package/dist/cjs/gov-stepper.cjs.entry.js +1 -1
  157. package/dist/cjs/gov-stepper.cjs.entry.js.map +1 -1
  158. package/dist/cjs/gov-stepper.entry.cjs.js.map +1 -1
  159. package/dist/cjs/gov-tabs-item.cjs.entry.js +1 -1
  160. package/dist/cjs/gov-tabs-item.cjs.entry.js.map +1 -1
  161. package/dist/cjs/gov-tabs-item.entry.cjs.js.map +1 -1
  162. package/dist/cjs/gov-tabs.cjs.entry.js +1 -1
  163. package/dist/cjs/gov-tabs.cjs.entry.js.map +1 -1
  164. package/dist/cjs/gov-tabs.entry.cjs.js.map +1 -1
  165. package/dist/cjs/gov-tag.cjs.entry.js +1 -1
  166. package/dist/cjs/gov-tag.cjs.entry.js.map +1 -1
  167. package/dist/cjs/gov-tag.entry.cjs.js.map +1 -1
  168. package/dist/cjs/gov-tile.cjs.entry.js +1 -1
  169. package/dist/cjs/gov-tile.cjs.entry.js.map +1 -1
  170. package/dist/cjs/gov-tile.entry.cjs.js.map +1 -1
  171. package/dist/cjs/gov-toast.cjs.entry.js +1 -1
  172. package/dist/cjs/gov-toast.cjs.entry.js.map +1 -1
  173. package/dist/cjs/gov-toast.entry.cjs.js.map +1 -1
  174. package/dist/cjs/gov-tooltip.gov-tooltip-content.entry.cjs.js.map +1 -1
  175. package/dist/cjs/gov-tooltip_2.cjs.entry.js +3 -3
  176. package/dist/cjs/gov-tooltip_2.cjs.entry.js.map +1 -1
  177. package/dist/cjs/gov-wizard-item.cjs.entry.js +2 -2
  178. package/dist/cjs/gov-wizard-item.cjs.entry.js.map +1 -1
  179. package/dist/cjs/gov-wizard-item.entry.cjs.js.map +1 -1
  180. package/dist/cjs/gov-wizard.cjs.entry.js +1 -1
  181. package/dist/cjs/gov-wizard.cjs.entry.js.map +1 -1
  182. package/dist/cjs/gov-wizard.entry.cjs.js.map +1 -1
  183. package/dist/cjs/gov.log-C5EH15b_.js.map +1 -1
  184. package/dist/cjs/helpers-DmI-ZOAH.js.map +1 -1
  185. package/dist/cjs/helpers.types-vap8QfRH.js.map +1 -1
  186. package/dist/cjs/props-CPENhBnM.js.map +1 -1
  187. package/dist/cjs/sizes-D5zsw2g5.js.map +1 -1
  188. package/dist/cjs/stencil.utils-8sCYbm34.js.map +1 -1
  189. package/dist/cjs/string.utils-BG4pUfEi.js.map +1 -1
  190. package/dist/cjs/template-Cj6PcLmR.js.map +1 -1
  191. package/dist/cjs/utils-NnC78QR3.js.map +1 -1
  192. package/dist/cjs/wcag-Bvzxnp5D.js.map +1 -1
  193. package/dist/collection/components/gov-accordion/constants.js.map +1 -1
  194. package/dist/collection/components/gov-accordion/gov-accordion-item.js +3 -3
  195. package/dist/collection/components/gov-accordion/gov-accordion-item.js.map +1 -1
  196. package/dist/collection/components/gov-accordion/gov-accordion.js +1 -1
  197. package/dist/collection/components/gov-accordion/gov-accordion.js.map +1 -1
  198. package/dist/collection/components/gov-accordion/gov-accordion.types.js.map +1 -1
  199. package/dist/collection/components/gov-attachments/constants.js.map +1 -1
  200. package/dist/collection/components/gov-attachments/gov-attachments-item.d.js.map +1 -1
  201. package/dist/collection/components/gov-attachments/gov-attachments-item.js +1 -1
  202. package/dist/collection/components/gov-attachments/gov-attachments-item.js.map +1 -1
  203. package/dist/collection/components/gov-attachments/gov-attachments.js +1 -1
  204. package/dist/collection/components/gov-attachments/gov-attachments.js.map +1 -1
  205. package/dist/collection/components/gov-backdrop/constants.js.map +1 -1
  206. package/dist/collection/components/gov-backdrop/gov-backdrop.js +1 -1
  207. package/dist/collection/components/gov-backdrop/gov-backdrop.js.map +1 -1
  208. package/dist/collection/components/gov-banner/constants.js.map +1 -1
  209. package/dist/collection/components/gov-banner/gov-banner.js +2 -2
  210. package/dist/collection/components/gov-banner/gov-banner.js.map +1 -1
  211. package/dist/collection/components/gov-blockquote/constants.js.map +1 -1
  212. package/dist/collection/components/gov-blockquote/gov-blockquote.js +1 -1
  213. package/dist/collection/components/gov-blockquote/gov-blockquote.js.map +1 -1
  214. package/dist/collection/components/gov-breadcrumbs/constants.js.map +1 -1
  215. package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.d.js.map +1 -1
  216. package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.js +1 -1
  217. package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.js.map +1 -1
  218. package/dist/collection/components/gov-button/button/constants.js.map +1 -1
  219. package/dist/collection/components/gov-button/button/gov-button.js +5 -5
  220. package/dist/collection/components/gov-button/button/gov-button.js.map +1 -1
  221. package/dist/collection/components/gov-button/button/gov-button.types.js.map +1 -1
  222. package/dist/collection/components/gov-button/dropdown/constants.js.map +1 -1
  223. package/dist/collection/components/gov-button/dropdown/gov-dropdown.js +1 -1
  224. package/dist/collection/components/gov-button/dropdown/gov-dropdown.js.map +1 -1
  225. package/dist/collection/components/gov-button/dropdown/gov-dropdown.types.js.map +1 -1
  226. package/dist/collection/components/gov-card/constants.js.map +1 -1
  227. package/dist/collection/components/gov-card/gov-card.js +1 -1
  228. package/dist/collection/components/gov-card/gov-card.js.map +1 -1
  229. package/dist/collection/components/gov-card/interfaces.js.map +1 -1
  230. package/dist/collection/components/gov-chip/constants.js.map +1 -1
  231. package/dist/collection/components/gov-chip/gov-chip.js +2 -2
  232. package/dist/collection/components/gov-chip/gov-chip.js.map +1 -1
  233. package/dist/collection/components/gov-collapsible/constants.js.map +1 -1
  234. package/dist/collection/components/gov-collapsible/gov-collapsible.js +2 -2
  235. package/dist/collection/components/gov-collapsible/gov-collapsible.js.map +1 -1
  236. package/dist/collection/components/gov-container/constants.js.map +1 -1
  237. package/dist/collection/components/gov-container/gov-container.js +1 -1
  238. package/dist/collection/components/gov-container/gov-container.js.map +1 -1
  239. package/dist/collection/components/gov-control-group/constants.js.map +1 -1
  240. package/dist/collection/components/gov-control-group/gov-control-group.js +1 -1
  241. package/dist/collection/components/gov-control-group/gov-control-group.js.map +1 -1
  242. package/dist/collection/components/gov-cookiebar/constants.js.map +1 -1
  243. package/dist/collection/components/gov-cookiebar/gov-cookiebar.js +1 -1
  244. package/dist/collection/components/gov-cookiebar/gov-cookiebar.js.map +1 -1
  245. package/dist/collection/components/gov-dialog/constants.js.map +1 -1
  246. package/dist/collection/components/gov-dialog/gov-dialog.js +1 -1
  247. package/dist/collection/components/gov-dialog/gov-dialog.js.map +1 -1
  248. package/dist/collection/components/gov-empty/constants.js.map +1 -1
  249. package/dist/collection/components/gov-empty/gov-empty.js +1 -1
  250. package/dist/collection/components/gov-empty/gov-empty.js.map +1 -1
  251. package/dist/collection/components/gov-error-code/constants.js.map +1 -1
  252. package/dist/collection/components/gov-error-code/gov-error-code.js +1 -1
  253. package/dist/collection/components/gov-error-code/gov-error-code.js.map +1 -1
  254. package/dist/collection/components/gov-flex/constants.js.map +1 -1
  255. package/dist/collection/components/gov-flex/gov-flex.js +1 -1
  256. package/dist/collection/components/gov-flex/gov-flex.js.map +1 -1
  257. package/dist/collection/components/gov-form/autocomplete/constants.js.map +1 -1
  258. package/dist/collection/components/gov-form/autocomplete/gov-form-autocomplete.js +3 -3
  259. package/dist/collection/components/gov-form/autocomplete/gov-form-autocomplete.js.map +1 -1
  260. package/dist/collection/components/gov-form/autocomplete/gov-form-autocomplete.types.js.map +1 -1
  261. package/dist/collection/components/gov-form/checkbox/constants.js.map +1 -1
  262. package/dist/collection/components/gov-form/checkbox/gov-form-checkbox.js +1 -1
  263. package/dist/collection/components/gov-form/checkbox/gov-form-checkbox.js.map +1 -1
  264. package/dist/collection/components/gov-form/checkbox/gov-form-checkbox.types.js.map +1 -1
  265. package/dist/collection/components/gov-form/control/constants.js.map +1 -1
  266. package/dist/collection/components/gov-form/control/gov-form-control.js +4 -4
  267. package/dist/collection/components/gov-form/control/gov-form-control.js.map +1 -1
  268. package/dist/collection/components/gov-form/file/constants.js.map +1 -1
  269. package/dist/collection/components/gov-form/file/gov-form-file.js +4 -4
  270. package/dist/collection/components/gov-form/file/gov-form-file.js.map +1 -1
  271. package/dist/collection/components/gov-form/file/gov-form-file.types.js.map +1 -1
  272. package/dist/collection/components/gov-form/group/constants.js.map +1 -1
  273. package/dist/collection/components/gov-form/group/gov-form-checkbox-group.js +1 -1
  274. package/dist/collection/components/gov-form/group/gov-form-checkbox-group.js.map +1 -1
  275. package/dist/collection/components/gov-form/group/gov-form-group.js +1 -1
  276. package/dist/collection/components/gov-form/group/gov-form-group.js.map +1 -1
  277. package/dist/collection/components/gov-form/group/gov-form-group.types.js.map +1 -1
  278. package/dist/collection/components/gov-form/group/gov-form-radio-group.js +1 -1
  279. package/dist/collection/components/gov-form/group/gov-form-radio-group.js.map +1 -1
  280. package/dist/collection/components/gov-form/input/constants.js.map +1 -1
  281. package/dist/collection/components/gov-form/input/gov-form-input.js +6 -6
  282. package/dist/collection/components/gov-form/input/gov-form-input.js.map +1 -1
  283. package/dist/collection/components/gov-form/input/gov-form-input.types.js.map +1 -1
  284. package/dist/collection/components/gov-form/label/constants.js.map +1 -1
  285. package/dist/collection/components/gov-form/label/gov-form-label.js +2 -2
  286. package/dist/collection/components/gov-form/label/gov-form-label.js.map +1 -1
  287. package/dist/collection/components/gov-form/message/constants.js.map +1 -1
  288. package/dist/collection/components/gov-form/message/gov-form-message.js +1 -1
  289. package/dist/collection/components/gov-form/message/gov-form-message.js.map +1 -1
  290. package/dist/collection/components/gov-form/multiselect/constants.js.map +1 -1
  291. package/dist/collection/components/gov-form/multiselect/gov-form-multi-select.js +4 -4
  292. package/dist/collection/components/gov-form/multiselect/gov-form-multi-select.js.map +1 -1
  293. package/dist/collection/components/gov-form/multiselect/gov-form-multi-select.types.js.map +1 -1
  294. package/dist/collection/components/gov-form/password-power/constants.js.map +1 -1
  295. package/dist/collection/components/gov-form/password-power/gov-form-password-power.js +1 -1
  296. package/dist/collection/components/gov-form/password-power/gov-form-password-power.js.map +1 -1
  297. package/dist/collection/components/gov-form/radio/constants.js.map +1 -1
  298. package/dist/collection/components/gov-form/radio/gov-form-radio.js +2 -2
  299. package/dist/collection/components/gov-form/radio/gov-form-radio.js.map +1 -1
  300. package/dist/collection/components/gov-form/radio/gov-form-radio.types.js.map +1 -1
  301. package/dist/collection/components/gov-form/range/constants.js.map +1 -1
  302. package/dist/collection/components/gov-form/range/gov-form-range.js +2 -2
  303. package/dist/collection/components/gov-form/range/gov-form-range.js.map +1 -1
  304. package/dist/collection/components/gov-form/search/constants.js.map +1 -1
  305. package/dist/collection/components/gov-form/search/gov-form-search.js +1 -1
  306. package/dist/collection/components/gov-form/search/gov-form-search.js.map +1 -1
  307. package/dist/collection/components/gov-form/select/constants.js.map +1 -1
  308. package/dist/collection/components/gov-form/select/gov-form-select.js +4 -4
  309. package/dist/collection/components/gov-form/select/gov-form-select.js.map +1 -1
  310. package/dist/collection/components/gov-form/select/gov-form-select.types.js.map +1 -1
  311. package/dist/collection/components/gov-form/switch/constants.js.map +1 -1
  312. package/dist/collection/components/gov-form/switch/gov-form-switch.js.map +1 -1
  313. package/dist/collection/components/gov-form/switch/gov-form-switch.types.js.map +1 -1
  314. package/dist/collection/components/gov-grid/constants.js.map +1 -1
  315. package/dist/collection/components/gov-grid/gov-grid-item.js +1 -1
  316. package/dist/collection/components/gov-grid/gov-grid-item.js.map +1 -1
  317. package/dist/collection/components/gov-grid/gov-grid.js +1 -1
  318. package/dist/collection/components/gov-grid/gov-grid.js.map +1 -1
  319. package/dist/collection/components/gov-icon/constants.js.map +1 -1
  320. package/dist/collection/components/gov-icon/gov-icon.js.map +1 -1
  321. package/dist/collection/components/gov-icon/helpers.js.map +1 -1
  322. package/dist/collection/components/gov-icon/list.js.map +1 -1
  323. package/dist/collection/components/gov-infobar/constants.js.map +1 -1
  324. package/dist/collection/components/gov-infobar/gov-infobar.js +2 -2
  325. package/dist/collection/components/gov-infobar/gov-infobar.js.map +1 -1
  326. package/dist/collection/components/gov-infobar/gov-infobar.types.js.map +1 -1
  327. package/dist/collection/components/gov-layout/constants.js.map +1 -1
  328. package/dist/collection/components/gov-layout/gov-layout-column.js +1 -1
  329. package/dist/collection/components/gov-layout/gov-layout-column.js.map +1 -1
  330. package/dist/collection/components/gov-layout/gov-layout.js +1 -1
  331. package/dist/collection/components/gov-layout/gov-layout.js.map +1 -1
  332. package/dist/collection/components/gov-lifecycle-tester/gov-lifecycle-tester.js +1 -1
  333. package/dist/collection/components/gov-lifecycle-tester/gov-lifecycle-tester.js.map +1 -1
  334. package/dist/collection/components/gov-link/constants.js.map +1 -1
  335. package/dist/collection/components/gov-link/gov-link.js +1 -1
  336. package/dist/collection/components/gov-link/gov-link.js.map +1 -1
  337. package/dist/collection/components/gov-loading/loading/constants.js.map +1 -1
  338. package/dist/collection/components/gov-loading/loading/gov-loading.js +1 -1
  339. package/dist/collection/components/gov-loading/loading/gov-loading.js.map +1 -1
  340. package/dist/collection/components/gov-loading/skeleton/constants.js.map +1 -1
  341. package/dist/collection/components/gov-loading/skeleton/gov-skeleton.js +1 -1
  342. package/dist/collection/components/gov-loading/skeleton/gov-skeleton.js.map +1 -1
  343. package/dist/collection/components/gov-message/constants.js.map +1 -1
  344. package/dist/collection/components/gov-message/gov-message.js +1 -1
  345. package/dist/collection/components/gov-message/gov-message.js.map +1 -1
  346. package/dist/collection/components/gov-pagination/constants.js.map +1 -1
  347. package/dist/collection/components/gov-pagination/gov-pagination.js +1 -1
  348. package/dist/collection/components/gov-pagination/gov-pagination.js.map +1 -1
  349. package/dist/collection/components/gov-pagination/gov-pagination.types.js.map +1 -1
  350. package/dist/collection/components/gov-pagination/pagination.js.map +1 -1
  351. package/dist/collection/components/gov-spacer/constants.js.map +1 -1
  352. package/dist/collection/components/gov-spacer/gov-spacer.js +1 -1
  353. package/dist/collection/components/gov-spacer/gov-spacer.js.map +1 -1
  354. package/dist/collection/components/gov-stepper/stepper/constants.js.map +1 -1
  355. package/dist/collection/components/gov-stepper/stepper/gov-stepper-item.d.js.map +1 -1
  356. package/dist/collection/components/gov-stepper/stepper/gov-stepper-item.js +1 -1
  357. package/dist/collection/components/gov-stepper/stepper/gov-stepper-item.js.map +1 -1
  358. package/dist/collection/components/gov-stepper/stepper/gov-stepper.js +1 -1
  359. package/dist/collection/components/gov-stepper/stepper/gov-stepper.js.map +1 -1
  360. package/dist/collection/components/gov-tabs/constants.js.map +1 -1
  361. package/dist/collection/components/gov-tabs/gov-tabs-item.js +1 -1
  362. package/dist/collection/components/gov-tabs/gov-tabs-item.js.map +1 -1
  363. package/dist/collection/components/gov-tabs/gov-tabs.js +1 -1
  364. package/dist/collection/components/gov-tabs/gov-tabs.js.map +1 -1
  365. package/dist/collection/components/gov-tabs/gov-tabs.types.js.map +1 -1
  366. package/dist/collection/components/gov-tag/constants.js.map +1 -1
  367. package/dist/collection/components/gov-tag/gov-tag.js +1 -1
  368. package/dist/collection/components/gov-tag/gov-tag.js.map +1 -1
  369. package/dist/collection/components/gov-theme-switch/constants.js.map +1 -1
  370. package/dist/collection/components/gov-theme-switch/gov-theme-switch.js +1 -1
  371. package/dist/collection/components/gov-theme-switch/gov-theme-switch.js.map +1 -1
  372. package/dist/collection/components/gov-theme-switch/gov-theme-switch.types.js.map +1 -1
  373. package/dist/collection/components/gov-tile/constants.js.map +1 -1
  374. package/dist/collection/components/gov-tile/gov-tile.js +1 -1
  375. package/dist/collection/components/gov-tile/gov-tile.js.map +1 -1
  376. package/dist/collection/components/gov-toast/constants.js.map +1 -1
  377. package/dist/collection/components/gov-toast/gov-toast.js +1 -1
  378. package/dist/collection/components/gov-toast/gov-toast.js.map +1 -1
  379. package/dist/collection/components/gov-tooltip/constants.js.map +1 -1
  380. package/dist/collection/components/gov-tooltip/gov-tooltip-content.js +1 -1
  381. package/dist/collection/components/gov-tooltip/gov-tooltip-content.js.map +1 -1
  382. package/dist/collection/components/gov-tooltip/gov-tooltip.js +2 -2
  383. package/dist/collection/components/gov-tooltip/gov-tooltip.js.map +1 -1
  384. package/dist/collection/components/gov-wizard/constants.js.map +1 -1
  385. package/dist/collection/components/gov-wizard/gov-wizard-item.d.js.map +1 -1
  386. package/dist/collection/components/gov-wizard/gov-wizard-item.js +2 -2
  387. package/dist/collection/components/gov-wizard/gov-wizard-item.js.map +1 -1
  388. package/dist/collection/components/gov-wizard/gov-wizard-item.types.js.map +1 -1
  389. package/dist/collection/components/gov-wizard/gov-wizard.js +1 -1
  390. package/dist/collection/components/gov-wizard/gov-wizard.js.map +1 -1
  391. package/dist/collection/core/constants/colors.js.map +1 -1
  392. package/dist/collection/core/constants/sizes.js.map +1 -1
  393. package/dist/collection/core/constants/tags.js.map +1 -1
  394. package/dist/collection/core/constants/tokens.js.map +1 -1
  395. package/dist/collection/data/color-definitions.js +500 -494
  396. package/dist/collection/data/font-definitions.js +132 -132
  397. package/dist/collection/helpers/Accessibility/accessibility.js.map +1 -1
  398. package/dist/collection/helpers/Accessibility/attributes.js.map +1 -1
  399. package/dist/collection/helpers/Dom/attribute.js.map +1 -1
  400. package/dist/collection/helpers/Dom/document.js.map +1 -1
  401. package/dist/collection/helpers/Dom/form.js.map +1 -1
  402. package/dist/collection/helpers/Dom/form.types.js.map +1 -1
  403. package/dist/collection/helpers/Dom/template.js.map +1 -1
  404. package/dist/collection/helpers/Dom/template.types.js.map +1 -1
  405. package/dist/collection/helpers/Dom/win.js.map +1 -1
  406. package/dist/collection/helpers/Fragment.js.map +1 -1
  407. package/dist/collection/helpers/Log/gov.log.js.map +1 -1
  408. package/dist/collection/helpers/Validate/props.js.map +1 -1
  409. package/dist/collection/helpers/Validate/wcag.js.map +1 -1
  410. package/dist/collection/index.js.map +1 -1
  411. package/dist/collection/types/event.types.js.map +1 -1
  412. package/dist/collection/types/interfaces.js.map +1 -1
  413. package/dist/collection/utils/array.utils.js.map +1 -1
  414. package/dist/collection/utils/bool.utils.js.map +1 -1
  415. package/dist/collection/utils/dom.utils.js.map +1 -1
  416. package/dist/collection/utils/ds.utils.js.map +1 -1
  417. package/dist/collection/utils/file.utils.js.map +1 -1
  418. package/dist/collection/utils/helpers.types.js.map +1 -1
  419. package/dist/collection/utils/icon.utils.js.map +1 -1
  420. package/dist/collection/utils/number.utils.js.map +1 -1
  421. package/dist/collection/utils/object.utils.js.map +1 -1
  422. package/dist/collection/utils/stencil.utils.js.map +1 -1
  423. package/dist/collection/utils/string.utils.js.map +1 -1
  424. package/dist/collection/utils/utils.js.map +1 -1
  425. package/dist/components/gov-accordion-item.js +1 -1
  426. package/dist/components/gov-accordion-item.js.map +1 -1
  427. package/dist/components/gov-accordion.js +1 -1
  428. package/dist/components/gov-accordion.js.map +1 -1
  429. package/dist/components/gov-attachments-item.js +1 -1
  430. package/dist/components/gov-attachments.js +1 -1
  431. package/dist/components/gov-backdrop.js +1 -1
  432. package/dist/components/gov-banner.js +1 -1
  433. package/dist/components/gov-banner.js.map +1 -1
  434. package/dist/components/gov-blockquote.js +1 -1
  435. package/dist/components/gov-blockquote.js.map +1 -1
  436. package/dist/components/gov-breadcrumbs.js +1 -1
  437. package/dist/components/gov-breadcrumbs.js.map +1 -1
  438. package/dist/components/gov-button.js +1 -1
  439. package/dist/components/gov-card.js +1 -1
  440. package/dist/components/gov-card.js.map +1 -1
  441. package/dist/components/gov-chip.js +1 -1
  442. package/dist/components/gov-collapsible.js +1 -1
  443. package/dist/components/gov-collapsible.js.map +1 -1
  444. package/dist/components/gov-container.js +1 -1
  445. package/dist/components/gov-container.js.map +1 -1
  446. package/dist/components/gov-control-group.js +1 -1
  447. package/dist/components/gov-control-group.js.map +1 -1
  448. package/dist/components/gov-cookiebar.js +1 -1
  449. package/dist/components/gov-cookiebar.js.map +1 -1
  450. package/dist/components/gov-dialog.js +1 -1
  451. package/dist/components/gov-dialog.js.map +1 -1
  452. package/dist/components/gov-dropdown.js +1 -1
  453. package/dist/components/gov-dropdown.js.map +1 -1
  454. package/dist/components/gov-empty.js +1 -1
  455. package/dist/components/gov-empty.js.map +1 -1
  456. package/dist/components/gov-error-code.js +1 -1
  457. package/dist/components/gov-error-code.js.map +1 -1
  458. package/dist/components/gov-flex.js +1 -1
  459. package/dist/components/gov-flex.js.map +1 -1
  460. package/dist/components/gov-form-autocomplete.js +1 -1
  461. package/dist/components/gov-form-checkbox-group.js +1 -1
  462. package/dist/components/gov-form-checkbox-group.js.map +1 -1
  463. package/dist/components/gov-form-checkbox.js +1 -1
  464. package/dist/components/gov-form-checkbox.js.map +1 -1
  465. package/dist/components/gov-form-control.js +1 -1
  466. package/dist/components/gov-form-control.js.map +1 -1
  467. package/dist/components/gov-form-file.js +1 -1
  468. package/dist/components/gov-form-file.js.map +1 -1
  469. package/dist/components/gov-form-group.js +1 -1
  470. package/dist/components/gov-form-group.js.map +1 -1
  471. package/dist/components/gov-form-input.js +1 -1
  472. package/dist/components/gov-form-label.js +1 -1
  473. package/dist/components/gov-form-label.js.map +1 -1
  474. package/dist/components/gov-form-message.js +1 -1
  475. package/dist/components/gov-form-multi-select.js +1 -1
  476. package/dist/components/gov-form-multi-select.js.map +1 -1
  477. package/dist/components/gov-form-password-power.js +1 -1
  478. package/dist/components/gov-form-password-power.js.map +1 -1
  479. package/dist/components/gov-form-radio-group.js +1 -1
  480. package/dist/components/gov-form-radio-group.js.map +1 -1
  481. package/dist/components/gov-form-radio.js.map +1 -1
  482. package/dist/components/gov-form-range.js +1 -1
  483. package/dist/components/gov-form-range.js.map +1 -1
  484. package/dist/components/gov-form-search.js +1 -1
  485. package/dist/components/gov-form-search.js.map +1 -1
  486. package/dist/components/gov-form-select.js +1 -1
  487. package/dist/components/gov-form-switch.js +1 -1
  488. package/dist/components/gov-form-switch.js.map +1 -1
  489. package/dist/components/gov-grid-item.js +1 -1
  490. package/dist/components/gov-grid-item.js.map +1 -1
  491. package/dist/components/gov-grid.js +1 -1
  492. package/dist/components/gov-grid.js.map +1 -1
  493. package/dist/components/gov-icon.js +1 -1
  494. package/dist/components/gov-infobar.js +1 -1
  495. package/dist/components/gov-infobar.js.map +1 -1
  496. package/dist/components/gov-layout-column.js +1 -1
  497. package/dist/components/gov-layout-column.js.map +1 -1
  498. package/dist/components/gov-layout.js +1 -1
  499. package/dist/components/gov-layout.js.map +1 -1
  500. package/dist/components/gov-lifecycle.js +1 -1
  501. package/dist/components/gov-lifecycle.js.map +1 -1
  502. package/dist/components/gov-link.js +1 -1
  503. package/dist/components/gov-link.js.map +1 -1
  504. package/dist/components/gov-loading.js +1 -1
  505. package/dist/components/gov-loading.js.map +1 -1
  506. package/dist/components/gov-message.js +1 -1
  507. package/dist/components/gov-message.js.map +1 -1
  508. package/dist/components/gov-pagination.js +1 -1
  509. package/dist/components/gov-pagination.js.map +1 -1
  510. package/dist/components/gov-skeleton.js +1 -1
  511. package/dist/components/gov-spacer.js +1 -1
  512. package/dist/components/gov-spacer.js.map +1 -1
  513. package/dist/components/gov-stepper-item.js +1 -1
  514. package/dist/components/gov-stepper-item.js.map +1 -1
  515. package/dist/components/gov-stepper.js +1 -1
  516. package/dist/components/gov-stepper.js.map +1 -1
  517. package/dist/components/gov-tabs-item.js +1 -1
  518. package/dist/components/gov-tabs-item.js.map +1 -1
  519. package/dist/components/gov-tabs.js +1 -1
  520. package/dist/components/gov-tabs.js.map +1 -1
  521. package/dist/components/gov-tag.js +1 -1
  522. package/dist/components/gov-tag.js.map +1 -1
  523. package/dist/components/gov-theme-switch.js +1 -1
  524. package/dist/components/gov-theme-switch.js.map +1 -1
  525. package/dist/components/gov-tile.js +1 -1
  526. package/dist/components/gov-tile.js.map +1 -1
  527. package/dist/components/gov-toast.js +1 -1
  528. package/dist/components/gov-toast.js.map +1 -1
  529. package/dist/components/gov-tooltip-content.js +1 -1
  530. package/dist/components/gov-tooltip.js +1 -1
  531. package/dist/components/gov-wizard-item.js +1 -1
  532. package/dist/components/gov-wizard-item.js.map +1 -1
  533. package/dist/components/gov-wizard.js +1 -1
  534. package/dist/components/gov-wizard.js.map +1 -1
  535. package/dist/components/p-4i8qDRtu.js.map +1 -1
  536. package/dist/components/p-5itQzbON.js.map +1 -1
  537. package/dist/components/p-9imLQpxb.js.map +1 -1
  538. package/dist/components/p-B0KFtEn3.js +2 -0
  539. package/dist/components/p-B0KFtEn3.js.map +1 -0
  540. package/dist/components/p-B0hcuYXk.js.map +1 -1
  541. package/dist/components/p-B3tdsiZv.js.map +1 -1
  542. package/dist/components/p-BKP-F1qP.js.map +1 -1
  543. package/dist/components/{p-D8QfVS4O.js → p-BNnuBQvo.js} +2 -2
  544. package/dist/components/p-BNnuBQvo.js.map +1 -0
  545. package/dist/components/p-BTwdrNoS.js.map +1 -1
  546. package/dist/components/p-BUmDydor.js.map +1 -1
  547. package/dist/components/{p-DW1DKFMF.js → p-BZTY3MxF.js} +2 -2
  548. package/dist/components/p-BZTY3MxF.js.map +1 -0
  549. package/dist/components/p-BcQO4NH2.js.map +1 -1
  550. package/dist/components/{p-BJnSrRNH.js → p-BrdXh0mI.js} +2 -2
  551. package/dist/components/p-BrdXh0mI.js.map +1 -0
  552. package/dist/components/{p-_FzmpyXv.js → p-Bv5L0j6n.js} +2 -2
  553. package/dist/components/p-Bv5L0j6n.js.map +1 -0
  554. package/dist/components/p-C6JN9gdb.js.map +1 -1
  555. package/dist/components/p-CNqoJU2V.js.map +1 -1
  556. package/dist/components/p-CQvUntGY.js.map +1 -1
  557. package/dist/components/p-CUVZZBqo.js.map +1 -1
  558. package/dist/components/p-CXgom82_.js.map +1 -1
  559. package/dist/components/p-CZr7GBEo.js.map +1 -1
  560. package/dist/components/p-CfaJM4SA.js +2 -0
  561. package/dist/components/p-CfaJM4SA.js.map +1 -0
  562. package/dist/components/p-Cjg0wpDG.js.map +1 -1
  563. package/dist/components/p-ClYmjarv.js.map +1 -1
  564. package/dist/components/p-DBXGhafv.js.map +1 -1
  565. package/dist/components/{p-Ba8Z-AIX.js → p-DFu5UVoP.js} +2 -2
  566. package/dist/components/p-DFu5UVoP.js.map +1 -0
  567. package/dist/components/p-DKo9A5gq.js.map +1 -1
  568. package/dist/components/{p-9VlKyZSl.js → p-DMVQRz4f.js} +2 -2
  569. package/dist/components/p-DMVQRz4f.js.map +1 -0
  570. package/dist/components/{p-2_-up8FX.js → p-DesycS6d.js} +2 -2
  571. package/dist/components/p-DesycS6d.js.map +1 -0
  572. package/dist/components/p-DfI_0WW6.js.map +1 -1
  573. package/dist/components/p-DrPpH_9c.js.map +1 -1
  574. package/dist/components/p-EeKNA85D.js.map +1 -1
  575. package/dist/components/p-GYov8gU1.js.map +1 -1
  576. package/dist/components/p-Nvj7WFs_.js.map +1 -1
  577. package/dist/components/p-Q99QrOoi.js.map +1 -1
  578. package/dist/components/p-U40vKHrs.js.map +1 -1
  579. package/dist/components/{p-DZJk8GrA.js → p-UDT3DloZ.js} +2 -2
  580. package/dist/components/p-UDT3DloZ.js.map +1 -0
  581. package/dist/components/{p-CWqMiVYH.js → p-djqfSbq-.js} +2 -2
  582. package/dist/components/p-djqfSbq-.js.map +1 -0
  583. package/dist/components/p-vN03FcXN.js.map +1 -1
  584. package/dist/components/{p-DhGb8cBK.js → p-x3w8Mun_.js} +2 -2
  585. package/dist/components/p-x3w8Mun_.js.map +1 -0
  586. package/dist/components/p-yqJEurSE.js +2 -0
  587. package/dist/components/p-yqJEurSE.js.map +1 -0
  588. package/dist/core/core.css +38 -38
  589. package/dist/core/core.esm.js +1 -1
  590. package/dist/core/gov-accordion-item.entry.esm.js.map +1 -1
  591. package/dist/core/gov-accordion.entry.esm.js.map +1 -1
  592. package/dist/core/gov-attachments.gov-attachments-item.gov-form-message.entry.esm.js.map +1 -1
  593. package/dist/core/gov-backdrop.entry.esm.js.map +1 -1
  594. package/dist/core/gov-banner.entry.esm.js.map +1 -1
  595. package/dist/core/gov-blockquote.entry.esm.js.map +1 -1
  596. package/dist/core/gov-breadcrumbs.entry.esm.js.map +1 -1
  597. package/dist/core/gov-button.entry.esm.js.map +1 -1
  598. package/dist/core/gov-card.entry.esm.js.map +1 -1
  599. package/dist/core/gov-chip.entry.esm.js.map +1 -1
  600. package/dist/core/gov-collapsible.entry.esm.js.map +1 -1
  601. package/dist/core/gov-container.entry.esm.js.map +1 -1
  602. package/dist/core/gov-control-group.entry.esm.js.map +1 -1
  603. package/dist/core/gov-cookiebar.entry.esm.js.map +1 -1
  604. package/dist/core/gov-dialog.entry.esm.js.map +1 -1
  605. package/dist/core/gov-dropdown.entry.esm.js.map +1 -1
  606. package/dist/core/gov-empty.entry.esm.js.map +1 -1
  607. package/dist/core/gov-error-code.entry.esm.js.map +1 -1
  608. package/dist/core/gov-flex.gov-icon.gov-theme-switch.entry.esm.js.map +1 -1
  609. package/dist/core/gov-form-autocomplete.entry.esm.js.map +1 -1
  610. package/dist/core/gov-form-checkbox-group.entry.esm.js.map +1 -1
  611. package/dist/core/gov-form-checkbox.entry.esm.js.map +1 -1
  612. package/dist/core/gov-form-control.entry.esm.js.map +1 -1
  613. package/dist/core/gov-form-file.entry.esm.js.map +1 -1
  614. package/dist/core/gov-form-group.entry.esm.js.map +1 -1
  615. package/dist/core/gov-form-input.gov-skeleton.entry.esm.js.map +1 -1
  616. package/dist/core/gov-form-label.entry.esm.js.map +1 -1
  617. package/dist/core/gov-form-multi-select.entry.esm.js.map +1 -1
  618. package/dist/core/gov-form-password-power.entry.esm.js.map +1 -1
  619. package/dist/core/gov-form-radio-group.entry.esm.js.map +1 -1
  620. package/dist/core/gov-form-radio.entry.esm.js.map +1 -1
  621. package/dist/core/gov-form-range.entry.esm.js.map +1 -1
  622. package/dist/core/gov-form-search.entry.esm.js.map +1 -1
  623. package/dist/core/gov-form-select.entry.esm.js.map +1 -1
  624. package/dist/core/gov-form-switch.entry.esm.js.map +1 -1
  625. package/dist/core/gov-grid-item.entry.esm.js.map +1 -1
  626. package/dist/core/gov-grid.entry.esm.js.map +1 -1
  627. package/dist/core/gov-infobar.entry.esm.js.map +1 -1
  628. package/dist/core/gov-layout-column.entry.esm.js.map +1 -1
  629. package/dist/core/gov-layout.entry.esm.js.map +1 -1
  630. package/dist/core/gov-lifecycle.entry.esm.js.map +1 -1
  631. package/dist/core/gov-link.entry.esm.js.map +1 -1
  632. package/dist/core/gov-loading.entry.esm.js.map +1 -1
  633. package/dist/core/gov-message.entry.esm.js.map +1 -1
  634. package/dist/core/gov-pagination.entry.esm.js.map +1 -1
  635. package/dist/core/gov-spacer.entry.esm.js.map +1 -1
  636. package/dist/core/gov-stepper-item.entry.esm.js.map +1 -1
  637. package/dist/core/gov-stepper.entry.esm.js.map +1 -1
  638. package/dist/core/gov-tabs-item.entry.esm.js.map +1 -1
  639. package/dist/core/gov-tabs.entry.esm.js.map +1 -1
  640. package/dist/core/gov-tag.entry.esm.js.map +1 -1
  641. package/dist/core/gov-tile.entry.esm.js.map +1 -1
  642. package/dist/core/gov-toast.entry.esm.js.map +1 -1
  643. package/dist/core/gov-tooltip.gov-tooltip-content.entry.esm.js.map +1 -1
  644. package/dist/core/gov-wizard-item.entry.esm.js.map +1 -1
  645. package/dist/core/gov-wizard.entry.esm.js.map +1 -1
  646. package/dist/core/{p-37f6095e.entry.js → p-04ec45ab.entry.js} +2 -2
  647. package/dist/core/p-04ec45ab.entry.js.map +1 -0
  648. package/dist/core/p-0af96cc0.entry.js +2 -0
  649. package/dist/core/p-0af96cc0.entry.js.map +1 -0
  650. package/dist/core/{p-b93548cc.entry.js → p-11fc3899.entry.js} +2 -2
  651. package/dist/core/p-11fc3899.entry.js.map +1 -0
  652. package/dist/core/{p-67d1e6e2.entry.js → p-157a1636.entry.js} +2 -2
  653. package/dist/core/p-157a1636.entry.js.map +1 -0
  654. package/dist/core/p-1626cc67.entry.js +2 -0
  655. package/dist/core/p-1626cc67.entry.js.map +1 -0
  656. package/dist/core/{p-46effc25.entry.js → p-187c0eda.entry.js} +2 -2
  657. package/dist/core/p-187c0eda.entry.js.map +1 -0
  658. package/dist/core/p-3314505d.entry.js +2 -0
  659. package/dist/core/p-3314505d.entry.js.map +1 -0
  660. package/dist/core/p-33209782.entry.js +2 -0
  661. package/dist/core/p-33209782.entry.js.map +1 -0
  662. package/dist/core/{p-715c0e2e.entry.js → p-33b462c9.entry.js} +2 -2
  663. package/dist/core/p-33b462c9.entry.js.map +1 -0
  664. package/dist/core/{p-f067af74.entry.js → p-3e07bf07.entry.js} +2 -2
  665. package/dist/core/p-3e07bf07.entry.js.map +1 -0
  666. package/dist/core/p-3e5ae012.entry.js +2 -0
  667. package/dist/core/p-3e5ae012.entry.js.map +1 -0
  668. package/dist/core/p-46824842.entry.js.map +1 -1
  669. package/dist/core/{p-1375d52d.entry.js → p-469f14db.entry.js} +2 -2
  670. package/dist/core/p-469f14db.entry.js.map +1 -0
  671. package/dist/core/p-4c02094d.entry.js +2 -0
  672. package/dist/core/p-4c02094d.entry.js.map +1 -0
  673. package/dist/core/{p-6f173022.entry.js → p-4d365881.entry.js} +2 -2
  674. package/dist/core/p-4d365881.entry.js.map +1 -0
  675. package/dist/core/p-4d36cd18.entry.js +2 -0
  676. package/dist/core/p-4d36cd18.entry.js.map +1 -0
  677. package/dist/core/p-4d902f20.entry.js +2 -0
  678. package/dist/core/p-4d902f20.entry.js.map +1 -0
  679. package/dist/core/p-4da8ac1d.entry.js +2 -0
  680. package/dist/core/p-4da8ac1d.entry.js.map +1 -0
  681. package/dist/core/p-511eed88.entry.js +2 -0
  682. package/dist/core/p-511eed88.entry.js.map +1 -0
  683. package/dist/core/{p-8655fd24.entry.js → p-5305e82e.entry.js} +2 -2
  684. package/dist/core/p-5305e82e.entry.js.map +1 -0
  685. package/dist/core/p-558e75a6.entry.js +2 -0
  686. package/dist/core/p-558e75a6.entry.js.map +1 -0
  687. package/dist/core/p-5721cf9b.entry.js.map +1 -1
  688. package/dist/core/p-57ca8ac7.entry.js +2 -0
  689. package/dist/core/p-57ca8ac7.entry.js.map +1 -0
  690. package/dist/core/{p-8161e1fe.entry.js → p-5c872d64.entry.js} +2 -2
  691. package/dist/core/p-5c872d64.entry.js.map +1 -0
  692. package/dist/core/p-5itQzbON.js.map +1 -1
  693. package/dist/core/p-65a09763.entry.js +2 -0
  694. package/dist/core/p-65a09763.entry.js.map +1 -0
  695. package/dist/core/{p-e7f889c7.entry.js → p-6b44890d.entry.js} +2 -2
  696. package/dist/core/p-6b44890d.entry.js.map +1 -0
  697. package/dist/core/p-6d2ce4c7.entry.js +2 -0
  698. package/dist/core/p-6d2ce4c7.entry.js.map +1 -0
  699. package/dist/core/{p-b3b517f0.entry.js → p-70b5555f.entry.js} +2 -2
  700. package/dist/core/p-70b5555f.entry.js.map +1 -0
  701. package/dist/core/p-73bd93f9.entry.js +2 -0
  702. package/dist/core/p-73bd93f9.entry.js.map +1 -0
  703. package/dist/core/p-852310d9.entry.js +2 -0
  704. package/dist/core/p-852310d9.entry.js.map +1 -0
  705. package/dist/core/p-90ab65b4.entry.js +2 -0
  706. package/dist/core/p-90ab65b4.entry.js.map +1 -0
  707. package/dist/core/{p-2cfa670d.entry.js → p-91cbee1b.entry.js} +2 -2
  708. package/dist/core/p-91cbee1b.entry.js.map +1 -0
  709. package/dist/core/p-9d9e9401.entry.js +2 -0
  710. package/dist/core/p-9d9e9401.entry.js.map +1 -0
  711. package/dist/core/p-B6CqPcY_.js.map +1 -1
  712. package/dist/core/p-BUmDydor.js.map +1 -1
  713. package/dist/core/p-BcQO4NH2.js.map +1 -1
  714. package/dist/core/p-BjcqOprh.js.map +1 -1
  715. package/dist/core/p-Bo1ROm5Q.js.map +1 -1
  716. package/dist/core/p-Bz_RzYFb.js.map +1 -1
  717. package/dist/core/p-C3R1T_pg.js.map +1 -1
  718. package/dist/core/p-C6JN9gdb.js.map +1 -1
  719. package/dist/core/p-CDIRBJsi.js.map +1 -1
  720. package/dist/core/p-CQvUntGY.js.map +1 -1
  721. package/dist/core/p-Ccwpa1ck.js.map +1 -1
  722. package/dist/core/p-CgDnDrq5.js.map +1 -1
  723. package/dist/core/p-Cjg0wpDG.js.map +1 -1
  724. package/dist/core/p-CoD1xawt.js.map +1 -1
  725. package/dist/core/p-Cx3bEC5v.js.map +1 -1
  726. package/dist/core/p-CzXeijOj.js.map +1 -1
  727. package/dist/core/p-D4TGB274.js.map +1 -1
  728. package/dist/core/p-DBXGhafv.js.map +1 -1
  729. package/dist/core/p-DNztiAH0.js.map +1 -1
  730. package/dist/core/p-DQuL1Twl.js.map +1 -1
  731. package/dist/core/p-DYcNEwSZ.js.map +1 -1
  732. package/dist/core/p-EeKNA85D.js.map +1 -1
  733. package/dist/core/p-GYov8gU1.js.map +1 -1
  734. package/dist/core/p-NOJjz9dT.js.map +1 -1
  735. package/dist/core/p-Q99QrOoi.js.map +1 -1
  736. package/dist/core/p-U40vKHrs.js.map +1 -1
  737. package/dist/core/p-a2c61d50.entry.js +2 -0
  738. package/dist/core/p-a2c61d50.entry.js.map +1 -0
  739. package/dist/core/p-abb7780e.entry.js +2 -0
  740. package/dist/core/p-abb7780e.entry.js.map +1 -0
  741. package/dist/core/p-bd2df430.entry.js +2 -0
  742. package/dist/core/p-bd2df430.entry.js.map +1 -0
  743. package/dist/core/p-bd389bfd.entry.js +2 -0
  744. package/dist/core/p-bd389bfd.entry.js.map +1 -0
  745. package/dist/core/{p-7387370c.entry.js → p-be9af807.entry.js} +2 -2
  746. package/dist/core/p-be9af807.entry.js.map +1 -0
  747. package/dist/core/p-bf573a56.entry.js +2 -0
  748. package/dist/core/p-bf573a56.entry.js.map +1 -0
  749. package/dist/core/p-c1b9f1ab.entry.js +2 -0
  750. package/dist/core/p-c1b9f1ab.entry.js.map +1 -0
  751. package/dist/core/{p-01bc645f.entry.js → p-c21bc8f9.entry.js} +2 -2
  752. package/dist/core/p-c21bc8f9.entry.js.map +1 -0
  753. package/dist/core/{p-dec65494.entry.js → p-c4734357.entry.js} +2 -2
  754. package/dist/core/p-c4734357.entry.js.map +1 -0
  755. package/dist/core/p-c6b55c0a.entry.js.map +1 -1
  756. package/dist/core/p-cd163299.entry.js +2 -0
  757. package/dist/core/p-cd163299.entry.js.map +1 -0
  758. package/dist/core/p-d43959a0.entry.js +2 -0
  759. package/dist/core/p-d43959a0.entry.js.map +1 -0
  760. package/dist/core/p-d9c574f0.entry.js +2 -0
  761. package/dist/core/p-d9c574f0.entry.js.map +1 -0
  762. package/dist/core/p-da997fb3.entry.js +2 -0
  763. package/dist/core/p-da997fb3.entry.js.map +1 -0
  764. package/dist/core/{p-017d6340.entry.js → p-db860031.entry.js} +2 -2
  765. package/dist/core/p-db860031.entry.js.map +1 -0
  766. package/dist/core/p-def34832.entry.js +2 -0
  767. package/dist/core/p-def34832.entry.js.map +1 -0
  768. package/dist/core/p-e30968b3.entry.js +2 -0
  769. package/dist/core/p-e30968b3.entry.js.map +1 -0
  770. package/dist/core/{p-e1b2af6b.entry.js → p-e39e5dc7.entry.js} +2 -2
  771. package/dist/core/p-e39e5dc7.entry.js.map +1 -0
  772. package/dist/core/p-eb3f6808.entry.js +2 -0
  773. package/dist/core/p-eb3f6808.entry.js.map +1 -0
  774. package/dist/core/{p-f58a20af.entry.js → p-eb766437.entry.js} +2 -2
  775. package/dist/core/p-eb766437.entry.js.map +1 -0
  776. package/dist/core/{p-495e25d8.entry.js → p-f3887d6d.entry.js} +2 -2
  777. package/dist/core/p-f3887d6d.entry.js.map +1 -0
  778. package/dist/core/p-f7bdb44a.entry.js.map +1 -1
  779. package/dist/core/p-fca7a0d6.entry.js +2 -0
  780. package/dist/core/p-fca7a0d6.entry.js.map +1 -0
  781. package/dist/core/p-vN03FcXN.js.map +1 -1
  782. package/dist/esm/Fragment-5itQzbON.js.map +1 -1
  783. package/dist/esm/accessibility-wqNV8djF.js.map +1 -1
  784. package/dist/esm/app-globals-DQuL1Twl.js.map +1 -1
  785. package/dist/esm/array.utils-CJ0U_ONv.js.map +1 -1
  786. package/dist/esm/attribute-Bz_RzYFb.js.map +1 -1
  787. package/dist/esm/colors-U40vKHrs.js.map +1 -1
  788. package/dist/esm/constants-BNBB_29K.js.map +1 -1
  789. package/dist/esm/constants-BegH8u6i.js.map +1 -1
  790. package/dist/esm/constants-BiWo5BNa.js.map +1 -1
  791. package/dist/esm/constants-CysDgoMA.js.map +1 -1
  792. package/dist/esm/constants-DHvN41Ek.js.map +1 -1
  793. package/dist/esm/constants-DbTQsVRc.js.map +1 -1
  794. package/dist/esm/constants-Du0ZtfYe.js.map +1 -1
  795. package/dist/esm/constants-Q99QrOoi.js.map +1 -1
  796. package/dist/esm/constants-YOtDGTm5.js.map +1 -1
  797. package/dist/esm/constants-aqe7GX2n.js.map +1 -1
  798. package/dist/esm/constants-oYp2tkdN.js.map +1 -1
  799. package/dist/esm/form-DvhJiKwA.js.map +1 -1
  800. package/dist/esm/gov-accordion-item.entry.js +3 -3
  801. package/dist/esm/gov-accordion-item.entry.js.map +1 -1
  802. package/dist/esm/gov-accordion.entry.js +1 -1
  803. package/dist/esm/gov-accordion.entry.js.map +1 -1
  804. package/dist/esm/gov-attachments.gov-attachments-item.gov-form-message.entry.js.map +1 -1
  805. package/dist/esm/gov-attachments_3.entry.js +3 -3
  806. package/dist/esm/gov-attachments_3.entry.js.map +1 -1
  807. package/dist/esm/gov-backdrop.entry.js +1 -1
  808. package/dist/esm/gov-backdrop.entry.js.map +1 -1
  809. package/dist/esm/gov-banner.entry.js +2 -2
  810. package/dist/esm/gov-banner.entry.js.map +1 -1
  811. package/dist/esm/gov-blockquote.entry.js +1 -1
  812. package/dist/esm/gov-blockquote.entry.js.map +1 -1
  813. package/dist/esm/gov-breadcrumbs.entry.js +1 -1
  814. package/dist/esm/gov-breadcrumbs.entry.js.map +1 -1
  815. package/dist/esm/gov-button.entry.js +3 -3
  816. package/dist/esm/gov-button.entry.js.map +1 -1
  817. package/dist/esm/gov-card.entry.js +1 -1
  818. package/dist/esm/gov-card.entry.js.map +1 -1
  819. package/dist/esm/gov-chip.entry.js +2 -2
  820. package/dist/esm/gov-chip.entry.js.map +1 -1
  821. package/dist/esm/gov-collapsible.entry.js +2 -2
  822. package/dist/esm/gov-collapsible.entry.js.map +1 -1
  823. package/dist/esm/gov-container.entry.js +1 -1
  824. package/dist/esm/gov-container.entry.js.map +1 -1
  825. package/dist/esm/gov-control-group.entry.js +1 -1
  826. package/dist/esm/gov-control-group.entry.js.map +1 -1
  827. package/dist/esm/gov-cookiebar.entry.js +1 -1
  828. package/dist/esm/gov-cookiebar.entry.js.map +1 -1
  829. package/dist/esm/gov-dialog.entry.js +1 -1
  830. package/dist/esm/gov-dialog.entry.js.map +1 -1
  831. package/dist/esm/gov-dropdown.entry.js +1 -1
  832. package/dist/esm/gov-dropdown.entry.js.map +1 -1
  833. package/dist/esm/gov-empty.entry.js +1 -1
  834. package/dist/esm/gov-empty.entry.js.map +1 -1
  835. package/dist/esm/gov-error-code.entry.js +1 -1
  836. package/dist/esm/gov-error-code.entry.js.map +1 -1
  837. package/dist/esm/gov-flex.gov-icon.gov-theme-switch.entry.js.map +1 -1
  838. package/dist/esm/gov-flex_3.entry.js +3 -3
  839. package/dist/esm/gov-flex_3.entry.js.map +1 -1
  840. package/dist/esm/gov-form-autocomplete.entry.js +1 -1
  841. package/dist/esm/gov-form-autocomplete.entry.js.map +1 -1
  842. package/dist/esm/gov-form-checkbox-group.entry.js +1 -1
  843. package/dist/esm/gov-form-checkbox-group.entry.js.map +1 -1
  844. package/dist/esm/gov-form-checkbox.entry.js.map +1 -1
  845. package/dist/esm/gov-form-control.entry.js +1 -1
  846. package/dist/esm/gov-form-control.entry.js.map +1 -1
  847. package/dist/esm/gov-form-file.entry.js +1 -1
  848. package/dist/esm/gov-form-file.entry.js.map +1 -1
  849. package/dist/esm/gov-form-group.entry.js +1 -1
  850. package/dist/esm/gov-form-group.entry.js.map +1 -1
  851. package/dist/esm/gov-form-input.gov-skeleton.entry.js.map +1 -1
  852. package/dist/esm/gov-form-input_2.entry.js +6 -6
  853. package/dist/esm/gov-form-input_2.entry.js.map +1 -1
  854. package/dist/esm/gov-form-label.entry.js +1 -1
  855. package/dist/esm/gov-form-label.entry.js.map +1 -1
  856. package/dist/esm/gov-form-multi-select.entry.js +2 -2
  857. package/dist/esm/gov-form-multi-select.entry.js.map +1 -1
  858. package/dist/esm/gov-form-password-power.entry.js +1 -1
  859. package/dist/esm/gov-form-password-power.entry.js.map +1 -1
  860. package/dist/esm/gov-form-radio-group.entry.js +1 -1
  861. package/dist/esm/gov-form-radio-group.entry.js.map +1 -1
  862. package/dist/esm/gov-form-radio.entry.js.map +1 -1
  863. package/dist/esm/gov-form-range.entry.js +2 -2
  864. package/dist/esm/gov-form-range.entry.js.map +1 -1
  865. package/dist/esm/gov-form-search.entry.js +1 -1
  866. package/dist/esm/gov-form-search.entry.js.map +1 -1
  867. package/dist/esm/gov-form-select.entry.js +2 -2
  868. package/dist/esm/gov-form-select.entry.js.map +1 -1
  869. package/dist/esm/gov-form-switch.entry.js.map +1 -1
  870. package/dist/esm/gov-grid-item.entry.js +1 -1
  871. package/dist/esm/gov-grid-item.entry.js.map +1 -1
  872. package/dist/esm/gov-grid.entry.js +1 -1
  873. package/dist/esm/gov-grid.entry.js.map +1 -1
  874. package/dist/esm/gov-infobar.entry.js +2 -2
  875. package/dist/esm/gov-infobar.entry.js.map +1 -1
  876. package/dist/esm/gov-layout-column.entry.js +1 -1
  877. package/dist/esm/gov-layout-column.entry.js.map +1 -1
  878. package/dist/esm/gov-layout.entry.js +1 -1
  879. package/dist/esm/gov-layout.entry.js.map +1 -1
  880. package/dist/esm/gov-lifecycle.entry.js +1 -1
  881. package/dist/esm/gov-lifecycle.entry.js.map +1 -1
  882. package/dist/esm/gov-link.entry.js +1 -1
  883. package/dist/esm/gov-link.entry.js.map +1 -1
  884. package/dist/esm/gov-loading.entry.js +1 -1
  885. package/dist/esm/gov-loading.entry.js.map +1 -1
  886. package/dist/esm/gov-message.entry.js +1 -1
  887. package/dist/esm/gov-message.entry.js.map +1 -1
  888. package/dist/esm/gov-pagination.entry.js.map +1 -1
  889. package/dist/esm/gov-spacer.entry.js +1 -1
  890. package/dist/esm/gov-spacer.entry.js.map +1 -1
  891. package/dist/esm/gov-stepper-item.entry.js +1 -1
  892. package/dist/esm/gov-stepper-item.entry.js.map +1 -1
  893. package/dist/esm/gov-stepper.entry.js +1 -1
  894. package/dist/esm/gov-stepper.entry.js.map +1 -1
  895. package/dist/esm/gov-tabs-item.entry.js +1 -1
  896. package/dist/esm/gov-tabs-item.entry.js.map +1 -1
  897. package/dist/esm/gov-tabs.entry.js +1 -1
  898. package/dist/esm/gov-tabs.entry.js.map +1 -1
  899. package/dist/esm/gov-tag.entry.js +1 -1
  900. package/dist/esm/gov-tag.entry.js.map +1 -1
  901. package/dist/esm/gov-tile.entry.js +1 -1
  902. package/dist/esm/gov-tile.entry.js.map +1 -1
  903. package/dist/esm/gov-toast.entry.js +1 -1
  904. package/dist/esm/gov-toast.entry.js.map +1 -1
  905. package/dist/esm/gov-tooltip.gov-tooltip-content.entry.js.map +1 -1
  906. package/dist/esm/gov-tooltip_2.entry.js +3 -3
  907. package/dist/esm/gov-tooltip_2.entry.js.map +1 -1
  908. package/dist/esm/gov-wizard-item.entry.js +2 -2
  909. package/dist/esm/gov-wizard-item.entry.js.map +1 -1
  910. package/dist/esm/gov-wizard.entry.js +1 -1
  911. package/dist/esm/gov-wizard.entry.js.map +1 -1
  912. package/dist/esm/gov.log-BtqD9K8d.js.map +1 -1
  913. package/dist/esm/helpers-GYov8gU1.js.map +1 -1
  914. package/dist/esm/helpers.types-DNztiAH0.js.map +1 -1
  915. package/dist/esm/props-CJZgTDla.js.map +1 -1
  916. package/dist/esm/sizes-BcQO4NH2.js.map +1 -1
  917. package/dist/esm/stencil.utils-Cjg0wpDG.js.map +1 -1
  918. package/dist/esm/string.utils-vN03FcXN.js.map +1 -1
  919. package/dist/esm/template-CoD1xawt.js.map +1 -1
  920. package/dist/esm/utils-CQvUntGY.js.map +1 -1
  921. package/dist/esm/wcag-CD6_13JO.js.map +1 -1
  922. package/dist/globals.d.ts +2 -2
  923. package/dist/hydrate/index.js +75 -75
  924. package/dist/hydrate/index.mjs +75 -75
  925. package/dist/stencil.config.js.map +1 -1
  926. package/dist/types/interfaces.d.ts +1 -1
  927. package/dist/types/types/typings.d.ts +6 -6
  928. package/dist/types/work/packages/core/.stencil/packages/core/stencil.config.d.ts +2 -0
  929. package/package.json +29 -29
  930. package/dist/components/p-2_-up8FX.js.map +0 -1
  931. package/dist/components/p-9VlKyZSl.js.map +0 -1
  932. package/dist/components/p-BJnSrRNH.js.map +0 -1
  933. package/dist/components/p-Ba8Z-AIX.js.map +0 -1
  934. package/dist/components/p-BnxqJyb_.js +0 -2
  935. package/dist/components/p-BnxqJyb_.js.map +0 -1
  936. package/dist/components/p-CJnwyVlG.js +0 -2
  937. package/dist/components/p-CJnwyVlG.js.map +0 -1
  938. package/dist/components/p-CWqMiVYH.js.map +0 -1
  939. package/dist/components/p-CgXcNDpE.js +0 -2
  940. package/dist/components/p-CgXcNDpE.js.map +0 -1
  941. package/dist/components/p-D8QfVS4O.js.map +0 -1
  942. package/dist/components/p-DW1DKFMF.js.map +0 -1
  943. package/dist/components/p-DZJk8GrA.js.map +0 -1
  944. package/dist/components/p-DhGb8cBK.js.map +0 -1
  945. package/dist/components/p-_FzmpyXv.js.map +0 -1
  946. package/dist/core/p-017d6340.entry.js.map +0 -1
  947. package/dist/core/p-01bc645f.entry.js.map +0 -1
  948. package/dist/core/p-0e06af2b.entry.js +0 -2
  949. package/dist/core/p-0e06af2b.entry.js.map +0 -1
  950. package/dist/core/p-1375d52d.entry.js.map +0 -1
  951. package/dist/core/p-264cbd4e.entry.js +0 -2
  952. package/dist/core/p-264cbd4e.entry.js.map +0 -1
  953. package/dist/core/p-2cfa670d.entry.js.map +0 -1
  954. package/dist/core/p-33a62c22.entry.js +0 -2
  955. package/dist/core/p-33a62c22.entry.js.map +0 -1
  956. package/dist/core/p-37f6095e.entry.js.map +0 -1
  957. package/dist/core/p-3cf20b56.entry.js +0 -2
  958. package/dist/core/p-3cf20b56.entry.js.map +0 -1
  959. package/dist/core/p-46effc25.entry.js.map +0 -1
  960. package/dist/core/p-495e25d8.entry.js.map +0 -1
  961. package/dist/core/p-4aea131f.entry.js +0 -2
  962. package/dist/core/p-4aea131f.entry.js.map +0 -1
  963. package/dist/core/p-4ce8e721.entry.js +0 -2
  964. package/dist/core/p-4ce8e721.entry.js.map +0 -1
  965. package/dist/core/p-5283672a.entry.js +0 -2
  966. package/dist/core/p-5283672a.entry.js.map +0 -1
  967. package/dist/core/p-54209c57.entry.js +0 -2
  968. package/dist/core/p-54209c57.entry.js.map +0 -1
  969. package/dist/core/p-56dc11ba.entry.js +0 -2
  970. package/dist/core/p-56dc11ba.entry.js.map +0 -1
  971. package/dist/core/p-58911028.entry.js +0 -2
  972. package/dist/core/p-58911028.entry.js.map +0 -1
  973. package/dist/core/p-617b0dbe.entry.js +0 -2
  974. package/dist/core/p-617b0dbe.entry.js.map +0 -1
  975. package/dist/core/p-6781bfc0.entry.js +0 -2
  976. package/dist/core/p-6781bfc0.entry.js.map +0 -1
  977. package/dist/core/p-67d1e6e2.entry.js.map +0 -1
  978. package/dist/core/p-6e42a12a.entry.js +0 -2
  979. package/dist/core/p-6e42a12a.entry.js.map +0 -1
  980. package/dist/core/p-6f173022.entry.js.map +0 -1
  981. package/dist/core/p-7099beb0.entry.js +0 -2
  982. package/dist/core/p-7099beb0.entry.js.map +0 -1
  983. package/dist/core/p-715c0e2e.entry.js.map +0 -1
  984. package/dist/core/p-7387370c.entry.js.map +0 -1
  985. package/dist/core/p-768fe015.entry.js +0 -2
  986. package/dist/core/p-768fe015.entry.js.map +0 -1
  987. package/dist/core/p-7a3d4b6b.entry.js +0 -2
  988. package/dist/core/p-7a3d4b6b.entry.js.map +0 -1
  989. package/dist/core/p-7f4cf2f9.entry.js +0 -2
  990. package/dist/core/p-7f4cf2f9.entry.js.map +0 -1
  991. package/dist/core/p-8161e1fe.entry.js.map +0 -1
  992. package/dist/core/p-820eb0fb.entry.js +0 -2
  993. package/dist/core/p-820eb0fb.entry.js.map +0 -1
  994. package/dist/core/p-8655fd24.entry.js.map +0 -1
  995. package/dist/core/p-8f6172d4.entry.js +0 -2
  996. package/dist/core/p-8f6172d4.entry.js.map +0 -1
  997. package/dist/core/p-90cd5ffe.entry.js +0 -2
  998. package/dist/core/p-90cd5ffe.entry.js.map +0 -1
  999. package/dist/core/p-98314c19.entry.js +0 -2
  1000. package/dist/core/p-98314c19.entry.js.map +0 -1
  1001. package/dist/core/p-ac962619.entry.js +0 -2
  1002. package/dist/core/p-ac962619.entry.js.map +0 -1
  1003. package/dist/core/p-ae6d0bcd.entry.js +0 -2
  1004. package/dist/core/p-ae6d0bcd.entry.js.map +0 -1
  1005. package/dist/core/p-b3b517f0.entry.js.map +0 -1
  1006. package/dist/core/p-b7306a6f.entry.js +0 -2
  1007. package/dist/core/p-b7306a6f.entry.js.map +0 -1
  1008. package/dist/core/p-b93548cc.entry.js.map +0 -1
  1009. package/dist/core/p-be3bbe06.entry.js +0 -2
  1010. package/dist/core/p-be3bbe06.entry.js.map +0 -1
  1011. package/dist/core/p-cf06a38b.entry.js +0 -2
  1012. package/dist/core/p-cf06a38b.entry.js.map +0 -1
  1013. package/dist/core/p-dec65494.entry.js.map +0 -1
  1014. package/dist/core/p-df09f0be.entry.js +0 -2
  1015. package/dist/core/p-df09f0be.entry.js.map +0 -1
  1016. package/dist/core/p-e0634fae.entry.js +0 -2
  1017. package/dist/core/p-e0634fae.entry.js.map +0 -1
  1018. package/dist/core/p-e1b2af6b.entry.js.map +0 -1
  1019. package/dist/core/p-e29cd545.entry.js +0 -2
  1020. package/dist/core/p-e29cd545.entry.js.map +0 -1
  1021. package/dist/core/p-e5e7abe0.entry.js +0 -2
  1022. package/dist/core/p-e5e7abe0.entry.js.map +0 -1
  1023. package/dist/core/p-e7f889c7.entry.js.map +0 -1
  1024. package/dist/core/p-ebd3d25f.entry.js +0 -2
  1025. package/dist/core/p-ebd3d25f.entry.js.map +0 -1
  1026. package/dist/core/p-f067af74.entry.js.map +0 -1
  1027. package/dist/core/p-f58a20af.entry.js.map +0 -1
  1028. package/dist/core/p-fe3bd57c.entry.js +0 -2
  1029. package/dist/core/p-fe3bd57c.entry.js.map +0 -1
  1030. package/dist/dist/components/gov-accordion-item.d.ts +0 -11
  1031. package/dist/dist/components/gov-accordion.d.ts +0 -11
  1032. package/dist/dist/components/gov-app.d.ts +0 -11
  1033. package/dist/dist/components/gov-attachments-item.d.ts +0 -11
  1034. package/dist/dist/components/gov-attachments.d.ts +0 -11
  1035. package/dist/dist/components/gov-backdrop.d.ts +0 -11
  1036. package/dist/dist/components/gov-banner.d.ts +0 -11
  1037. package/dist/dist/components/gov-blockquote.d.ts +0 -11
  1038. package/dist/dist/components/gov-breadcrumbs.d.ts +0 -11
  1039. package/dist/dist/components/gov-button.d.ts +0 -11
  1040. package/dist/dist/components/gov-card.d.ts +0 -11
  1041. package/dist/dist/components/gov-chip.d.ts +0 -11
  1042. package/dist/dist/components/gov-collapsible.d.ts +0 -11
  1043. package/dist/dist/components/gov-container.d.ts +0 -11
  1044. package/dist/dist/components/gov-control-group.d.ts +0 -11
  1045. package/dist/dist/components/gov-cookiebar.d.ts +0 -11
  1046. package/dist/dist/components/gov-dialog.d.ts +0 -11
  1047. package/dist/dist/components/gov-dropdown.d.ts +0 -11
  1048. package/dist/dist/components/gov-empty.d.ts +0 -11
  1049. package/dist/dist/components/gov-error-code.d.ts +0 -11
  1050. package/dist/dist/components/gov-flex.d.ts +0 -11
  1051. package/dist/dist/components/gov-form-autocomplete.d.ts +0 -11
  1052. package/dist/dist/components/gov-form-checkbox-group.d.ts +0 -11
  1053. package/dist/dist/components/gov-form-checkbox.d.ts +0 -11
  1054. package/dist/dist/components/gov-form-control.d.ts +0 -11
  1055. package/dist/dist/components/gov-form-file.d.ts +0 -11
  1056. package/dist/dist/components/gov-form-group.d.ts +0 -11
  1057. package/dist/dist/components/gov-form-input.d.ts +0 -11
  1058. package/dist/dist/components/gov-form-label.d.ts +0 -11
  1059. package/dist/dist/components/gov-form-message.d.ts +0 -11
  1060. package/dist/dist/components/gov-form-multi-select.d.ts +0 -11
  1061. package/dist/dist/components/gov-form-password-power.d.ts +0 -11
  1062. package/dist/dist/components/gov-form-radio-group.d.ts +0 -11
  1063. package/dist/dist/components/gov-form-radio.d.ts +0 -11
  1064. package/dist/dist/components/gov-form-range.d.ts +0 -11
  1065. package/dist/dist/components/gov-form-search.d.ts +0 -11
  1066. package/dist/dist/components/gov-form-select.d.ts +0 -11
  1067. package/dist/dist/components/gov-form-switch.d.ts +0 -11
  1068. package/dist/dist/components/gov-grid-item.d.ts +0 -11
  1069. package/dist/dist/components/gov-grid.d.ts +0 -11
  1070. package/dist/dist/components/gov-icon.d.ts +0 -11
  1071. package/dist/dist/components/gov-infobar.d.ts +0 -11
  1072. package/dist/dist/components/gov-layout-column.d.ts +0 -11
  1073. package/dist/dist/components/gov-layout.d.ts +0 -11
  1074. package/dist/dist/components/gov-lifecycle.d.ts +0 -11
  1075. package/dist/dist/components/gov-link.d.ts +0 -11
  1076. package/dist/dist/components/gov-loading.d.ts +0 -11
  1077. package/dist/dist/components/gov-message.d.ts +0 -11
  1078. package/dist/dist/components/gov-pagination.d.ts +0 -11
  1079. package/dist/dist/components/gov-skeleton.d.ts +0 -11
  1080. package/dist/dist/components/gov-spacer.d.ts +0 -11
  1081. package/dist/dist/components/gov-stepper-item.d.ts +0 -11
  1082. package/dist/dist/components/gov-stepper.d.ts +0 -11
  1083. package/dist/dist/components/gov-tabs-item.d.ts +0 -11
  1084. package/dist/dist/components/gov-tabs.d.ts +0 -11
  1085. package/dist/dist/components/gov-tag.d.ts +0 -11
  1086. package/dist/dist/components/gov-theme-switch.d.ts +0 -11
  1087. package/dist/dist/components/gov-tile.d.ts +0 -11
  1088. package/dist/dist/components/gov-toast.d.ts +0 -11
  1089. package/dist/dist/components/gov-tooltip-content.d.ts +0 -11
  1090. package/dist/dist/components/gov-tooltip.d.ts +0 -11
  1091. package/dist/dist/components/gov-wizard-item.d.ts +0 -11
  1092. package/dist/dist/components/gov-wizard.d.ts +0 -11
  1093. package/dist/dist/components/index.d.ts +0 -33
  1094. package/dist/dist/dist/components/index.d.ts +0 -33
  1095. package/dist/dist/dist/globals.d.ts +0 -2
  1096. package/dist/dist/dist/hydrate/index.d.ts +0 -273
  1097. package/dist/dist/dist/types/interfaces.d.ts +0 -1
  1098. package/dist/dist/dist/types/stencil-public-runtime.d.ts +0 -1702
  1099. package/dist/dist/globals.d.ts +0 -2
  1100. package/dist/dist/hydrate/index.d.ts +0 -273
  1101. package/dist/dist/types/components/gov-accordion/constants.d.ts +0 -19
  1102. package/dist/dist/types/components/gov-accordion/gov-accordion-item.d.ts +0 -43
  1103. package/dist/dist/types/components/gov-accordion/gov-accordion.d.ts +0 -26
  1104. package/dist/dist/types/components/gov-accordion/gov-accordion.types.d.ts +0 -9
  1105. package/dist/dist/types/components/gov-attachments/constants.d.ts +0 -11
  1106. package/dist/dist/types/components/gov-attachments/gov-attachments-item.d.d.ts +0 -4
  1107. package/dist/dist/types/components/gov-attachments/gov-attachments-item.d.ts +0 -24
  1108. package/dist/dist/types/components/gov-attachments/gov-attachments.d.ts +0 -19
  1109. package/dist/dist/types/components/gov-backdrop/constants.d.ts +0 -4
  1110. package/dist/dist/types/components/gov-backdrop/gov-backdrop.d.ts +0 -32
  1111. package/dist/dist/types/components/gov-banner/constants.d.ts +0 -26
  1112. package/dist/dist/types/components/gov-banner/gov-banner.d.ts +0 -28
  1113. package/dist/dist/types/components/gov-blockquote/constants.d.ts +0 -10
  1114. package/dist/dist/types/components/gov-blockquote/gov-blockquote.d.ts +0 -15
  1115. package/dist/dist/types/components/gov-breadcrumbs/constants.d.ts +0 -3
  1116. package/dist/dist/types/components/gov-breadcrumbs/gov-breadcrumbs.d.d.ts +0 -4
  1117. package/dist/dist/types/components/gov-breadcrumbs/gov-breadcrumbs.d.ts +0 -42
  1118. package/dist/dist/types/components/gov-button/button/constants.d.ts +0 -29
  1119. package/dist/dist/types/components/gov-button/button/gov-button.d.ts +0 -133
  1120. package/dist/dist/types/components/gov-button/button/gov-button.types.d.ts +0 -4
  1121. package/dist/dist/types/components/gov-button/dropdown/constants.d.ts +0 -10
  1122. package/dist/dist/types/components/gov-button/dropdown/gov-dropdown.d.ts +0 -40
  1123. package/dist/dist/types/components/gov-button/dropdown/gov-dropdown.types.d.ts +0 -4
  1124. package/dist/dist/types/components/gov-card/constants.d.ts +0 -16
  1125. package/dist/dist/types/components/gov-card/gov-card.d.ts +0 -57
  1126. package/dist/dist/types/components/gov-card/interfaces.d.ts +0 -4
  1127. package/dist/dist/types/components/gov-chip/constants.d.ts +0 -21
  1128. package/dist/dist/types/components/gov-chip/gov-chip.d.ts +0 -82
  1129. package/dist/dist/types/components/gov-collapsible/constants.d.ts +0 -18
  1130. package/dist/dist/types/components/gov-collapsible/gov-collapsible.d.ts +0 -36
  1131. package/dist/dist/types/components/gov-container/constants.d.ts +0 -3
  1132. package/dist/dist/types/components/gov-container/gov-container.d.ts +0 -6
  1133. package/dist/dist/types/components/gov-control-group/constants.d.ts +0 -7
  1134. package/dist/dist/types/components/gov-control-group/gov-control-group.d.ts +0 -24
  1135. package/dist/dist/types/components/gov-cookiebar/constants.d.ts +0 -7
  1136. package/dist/dist/types/components/gov-cookiebar/gov-cookiebar.d.ts +0 -7
  1137. package/dist/dist/types/components/gov-dialog/constants.d.ts +0 -11
  1138. package/dist/dist/types/components/gov-dialog/gov-dialog.d.ts +0 -70
  1139. package/dist/dist/types/components/gov-empty/constants.d.ts +0 -19
  1140. package/dist/dist/types/components/gov-empty/gov-empty.d.ts +0 -21
  1141. package/dist/dist/types/components/gov-error-code/constants.d.ts +0 -4
  1142. package/dist/dist/types/components/gov-error-code/gov-error-code.d.ts +0 -6
  1143. package/dist/dist/types/components/gov-flex/constants.d.ts +0 -7
  1144. package/dist/dist/types/components/gov-flex/gov-flex.d.ts +0 -39
  1145. package/dist/dist/types/components/gov-form/autocomplete/constants.d.ts +0 -11
  1146. package/dist/dist/types/components/gov-form/autocomplete/gov-form-autocomplete.d.ts +0 -149
  1147. package/dist/dist/types/components/gov-form/autocomplete/gov-form-autocomplete.types.d.ts +0 -9
  1148. package/dist/dist/types/components/gov-form/checkbox/constants.d.ts +0 -10
  1149. package/dist/dist/types/components/gov-form/checkbox/gov-form-checkbox.d.ts +0 -86
  1150. package/dist/dist/types/components/gov-form/checkbox/gov-form-checkbox.types.d.ts +0 -5
  1151. package/dist/dist/types/components/gov-form/control/constants.d.ts +0 -9
  1152. package/dist/dist/types/components/gov-form/control/gov-form-control.d.ts +0 -40
  1153. package/dist/dist/types/components/gov-form/file/constants.d.ts +0 -7
  1154. package/dist/dist/types/components/gov-form/file/gov-form-file.d.ts +0 -129
  1155. package/dist/dist/types/components/gov-form/file/gov-form-file.types.d.ts +0 -11
  1156. package/dist/dist/types/components/gov-form/group/constants.d.ts +0 -18
  1157. package/dist/dist/types/components/gov-form/group/gov-form-checkbox-group.d.ts +0 -32
  1158. package/dist/dist/types/components/gov-form/group/gov-form-group.d.ts +0 -18
  1159. package/dist/dist/types/components/gov-form/group/gov-form-group.types.d.ts +0 -7
  1160. package/dist/dist/types/components/gov-form/group/gov-form-radio-group.d.ts +0 -32
  1161. package/dist/dist/types/components/gov-form/input/constants.d.ts +0 -28
  1162. package/dist/dist/types/components/gov-form/input/gov-form-input.d.ts +0 -178
  1163. package/dist/dist/types/components/gov-form/input/gov-form-input.types.d.ts +0 -4
  1164. package/dist/dist/types/components/gov-form/label/constants.d.ts +0 -8
  1165. package/dist/dist/types/components/gov-form/label/gov-form-label.d.ts +0 -26
  1166. package/dist/dist/types/components/gov-form/message/constants.d.ts +0 -11
  1167. package/dist/dist/types/components/gov-form/message/gov-form-message.d.ts +0 -23
  1168. package/dist/dist/types/components/gov-form/multiselect/constants.d.ts +0 -10
  1169. package/dist/dist/types/components/gov-form/multiselect/gov-form-multi-select.d.ts +0 -127
  1170. package/dist/dist/types/components/gov-form/multiselect/gov-form-multi-select.types.d.ts +0 -10
  1171. package/dist/dist/types/components/gov-form/password-power/constants.d.ts +0 -5
  1172. package/dist/dist/types/components/gov-form/password-power/gov-form-password-power.d.ts +0 -7
  1173. package/dist/dist/types/components/gov-form/radio/constants.d.ts +0 -10
  1174. package/dist/dist/types/components/gov-form/radio/gov-form-radio.d.ts +0 -83
  1175. package/dist/dist/types/components/gov-form/radio/gov-form-radio.types.d.ts +0 -5
  1176. package/dist/dist/types/components/gov-form/range/constants.d.ts +0 -9
  1177. package/dist/dist/types/components/gov-form/range/gov-form-range.d.ts +0 -116
  1178. package/dist/dist/types/components/gov-form/search/constants.d.ts +0 -10
  1179. package/dist/dist/types/components/gov-form/search/gov-form-search.d.ts +0 -13
  1180. package/dist/dist/types/components/gov-form/select/constants.d.ts +0 -8
  1181. package/dist/dist/types/components/gov-form/select/gov-form-select.d.ts +0 -89
  1182. package/dist/dist/types/components/gov-form/select/gov-form-select.types.d.ts +0 -9
  1183. package/dist/dist/types/components/gov-form/switch/constants.d.ts +0 -12
  1184. package/dist/dist/types/components/gov-form/switch/gov-form-switch.d.ts +0 -81
  1185. package/dist/dist/types/components/gov-form/switch/gov-form-switch.types.d.ts +0 -5
  1186. package/dist/dist/types/components/gov-grid/constants.d.ts +0 -10
  1187. package/dist/dist/types/components/gov-grid/gov-grid-item.d.ts +0 -46
  1188. package/dist/dist/types/components/gov-grid/gov-grid.d.ts +0 -19
  1189. package/dist/dist/types/components/gov-icon/constants.d.ts +0 -18
  1190. package/dist/dist/types/components/gov-icon/gov-icon.d.ts +0 -34
  1191. package/dist/dist/types/components/gov-icon/helpers.d.ts +0 -6
  1192. package/dist/dist/types/components/gov-icon/list.d.ts +0 -3
  1193. package/dist/dist/types/components/gov-infobar/constants.d.ts +0 -16
  1194. package/dist/dist/types/components/gov-infobar/gov-infobar.d.ts +0 -51
  1195. package/dist/dist/types/components/gov-infobar/gov-infobar.types.d.ts +0 -4
  1196. package/dist/dist/types/components/gov-layout/constants.d.ts +0 -20
  1197. package/dist/dist/types/components/gov-layout/gov-layout-column.d.ts +0 -6
  1198. package/dist/dist/types/components/gov-layout/gov-layout.d.ts +0 -20
  1199. package/dist/dist/types/components/gov-lifecycle-tester/gov-lifecycle-tester.d.ts +0 -14
  1200. package/dist/dist/types/components/gov-link/constants.d.ts +0 -8
  1201. package/dist/dist/types/components/gov-link/gov-link.d.ts +0 -34
  1202. package/dist/dist/types/components/gov-loading/loading/constants.d.ts +0 -9
  1203. package/dist/dist/types/components/gov-loading/loading/gov-loading.d.ts +0 -13
  1204. package/dist/dist/types/components/gov-loading/skeleton/constants.d.ts +0 -21
  1205. package/dist/dist/types/components/gov-loading/skeleton/gov-skeleton.d.ts +0 -46
  1206. package/dist/dist/types/components/gov-message/constants.d.ts +0 -13
  1207. package/dist/dist/types/components/gov-message/gov-message.d.ts +0 -16
  1208. package/dist/dist/types/components/gov-pagination/constants.d.ts +0 -22
  1209. package/dist/dist/types/components/gov-pagination/gov-pagination.d.ts +0 -97
  1210. package/dist/dist/types/components/gov-pagination/gov-pagination.types.d.ts +0 -5
  1211. package/dist/dist/types/components/gov-pagination/pagination.d.ts +0 -12
  1212. package/dist/dist/types/components/gov-spacer/constants.d.ts +0 -15
  1213. package/dist/dist/types/components/gov-spacer/gov-spacer.d.ts +0 -18
  1214. package/dist/dist/types/components/gov-stepper/stepper/constants.d.ts +0 -21
  1215. package/dist/dist/types/components/gov-stepper/stepper/gov-stepper-item.d.d.ts +0 -4
  1216. package/dist/dist/types/components/gov-stepper/stepper/gov-stepper-item.d.ts +0 -31
  1217. package/dist/dist/types/components/gov-stepper/stepper/gov-stepper.d.ts +0 -22
  1218. package/dist/dist/types/components/gov-tabs/constants.d.ts +0 -28
  1219. package/dist/dist/types/components/gov-tabs/gov-tabs-item.d.ts +0 -54
  1220. package/dist/dist/types/components/gov-tabs/gov-tabs.d.ts +0 -70
  1221. package/dist/dist/types/components/gov-tabs/gov-tabs.types.d.ts +0 -14
  1222. package/dist/dist/types/components/gov-tag/constants.d.ts +0 -12
  1223. package/dist/dist/types/components/gov-tag/gov-tag.d.ts +0 -35
  1224. package/dist/dist/types/components/gov-theme-switch/constants.d.ts +0 -12
  1225. package/dist/dist/types/components/gov-theme-switch/gov-theme-switch.d.ts +0 -46
  1226. package/dist/dist/types/components/gov-theme-switch/gov-theme-switch.types.d.ts +0 -10
  1227. package/dist/dist/types/components/gov-tile/constants.d.ts +0 -13
  1228. package/dist/dist/types/components/gov-tile/gov-tile.d.ts +0 -34
  1229. package/dist/dist/types/components/gov-toast/constants.d.ts +0 -17
  1230. package/dist/dist/types/components/gov-toast/gov-toast.d.ts +0 -58
  1231. package/dist/dist/types/components/gov-tooltip/constants.d.ts +0 -20
  1232. package/dist/dist/types/components/gov-tooltip/gov-tooltip-content.d.ts +0 -28
  1233. package/dist/dist/types/components/gov-tooltip/gov-tooltip.d.ts +0 -58
  1234. package/dist/dist/types/components/gov-wizard/constants.d.ts +0 -19
  1235. package/dist/dist/types/components/gov-wizard/gov-wizard-item.d.d.ts +0 -4
  1236. package/dist/dist/types/components/gov-wizard/gov-wizard-item.d.ts +0 -60
  1237. package/dist/dist/types/components/gov-wizard/gov-wizard-item.types.d.ts +0 -4
  1238. package/dist/dist/types/components/gov-wizard/gov-wizard.d.ts +0 -35
  1239. package/dist/dist/types/core/constants/colors.d.ts +0 -13
  1240. package/dist/dist/types/core/constants/sizes.d.ts +0 -13
  1241. package/dist/dist/types/core/constants/tags.d.ts +0 -12
  1242. package/dist/dist/types/core/constants/tokens.d.ts +0 -1
  1243. package/dist/dist/types/helpers/Accessibility/accessibility.d.ts +0 -1
  1244. package/dist/dist/types/helpers/Accessibility/attributes.d.ts +0 -1
  1245. package/dist/dist/types/helpers/Dom/attribute.d.ts +0 -13
  1246. package/dist/dist/types/helpers/Dom/document.d.ts +0 -4
  1247. package/dist/dist/types/helpers/Dom/form.d.ts +0 -3
  1248. package/dist/dist/types/helpers/Dom/form.types.d.ts +0 -11
  1249. package/dist/dist/types/helpers/Dom/template.d.ts +0 -10
  1250. package/dist/dist/types/helpers/Dom/template.types.d.ts +0 -14
  1251. package/dist/dist/types/helpers/Dom/win.d.ts +0 -18
  1252. package/dist/dist/types/helpers/Fragment.d.ts +0 -2
  1253. package/dist/dist/types/helpers/Log/gov.log.d.ts +0 -8
  1254. package/dist/dist/types/helpers/Validate/props.d.ts +0 -1
  1255. package/dist/dist/types/helpers/Validate/wcag.d.ts +0 -4
  1256. package/dist/dist/types/index.d.ts +0 -0
  1257. package/dist/dist/types/interfaces.d.ts +0 -1
  1258. package/dist/dist/types/stencil-public-runtime.d.ts +0 -1702
  1259. package/dist/dist/types/types/event.types.d.ts +0 -4
  1260. package/dist/dist/types/types/interfaces.d.ts +0 -2
  1261. package/dist/dist/types/types/typings.d.ts +0 -6
  1262. package/dist/dist/types/utils/array.utils.d.ts +0 -2
  1263. package/dist/dist/types/utils/bool.utils.d.ts +0 -1
  1264. package/dist/dist/types/utils/dom.utils.d.ts +0 -1
  1265. package/dist/dist/types/utils/ds.utils.d.ts +0 -1
  1266. package/dist/dist/types/utils/file.utils.d.ts +0 -3
  1267. package/dist/dist/types/utils/helpers.types.d.ts +0 -49
  1268. package/dist/dist/types/utils/icon.utils.d.ts +0 -4
  1269. package/dist/dist/types/utils/number.utils.d.ts +0 -1
  1270. package/dist/dist/types/utils/object.utils.d.ts +0 -2
  1271. package/dist/dist/types/utils/stencil.utils.d.ts +0 -1
  1272. package/dist/dist/types/utils/string.utils.d.ts +0 -4
  1273. package/dist/dist/types/utils/utils.d.ts +0 -20
  1274. package/dist/types/Users/KameraT/Desktop/Projects/DIA/Sarka/designSystemFinal/gov-design-system/packages/core/.stencil/packages/core/stencil.config.d.ts +0 -2
@@ -0,0 +1 @@
1
+ {"version":3,"names":["Tags","GovFormInput","constructor","hostRef","this","size","required","disabled","inputType","accessibleShowPasswordLabel","accessibleHidePasswordLabel","showPassword","inheritedAttributes","h","govHost","host","inputId","createID","f","govForm","validateSize","newValue","validateProp","FormInputSizes","FormInputClass","root","watchControlAttrs","passControlAttrs","passAttrToControl","toBoolAttr","success","invalid","multiline","TEXTAREA","INPUT","componentDidLoad","attributeObserver","AttributeObserver","attributeName","onAriaAttributeChange","startObserving","ariaAttributes","govHydrated","emit","componentWillLoad","inheritAriaAttributes","componentDidRender","passAttrToLabel","String","removeAttribute","Object","assign","disconnectedCallback","_a","stopObserving","render","Tag","Host","key","class","type","hasSlot","name","icons","onClick","inputRef","focus","id","identifier","onFocus","onFocusHandler","bind","onInput","onInputHandler","onBlur","onBlurHandler","onKeyUp","onKeyUpHandler","onKeyDown","onKeyDownHandler","ref","el","placeholder","spellcheck","toBoolAttrIfDefined","lang","inputLang","readonly","autocomplete","toOnOffAttrIfDefined","autocorrect","minlength","maxlength","min","max","rows","cols","role","value","color","slot","e","stopPropagation","focused","govFocus","component","originalEvent","govBlur","govKeyUp","govKeyDown","target","govInput","setFocus","options","setValue","clearValue","getRef","SkeletonSizes","pick","Sizes","Colors","SkeletonShapes","SkeletonAnimation","SkeletonClass","GovSkeleton","shape","width","height","animation","items","validateShape","validateAnimation","init","componentWillUpdate","fill","circle","line","progress","pulse","tabindex","style"],"sources":["../../../packages/core/src/components/gov-form/input/gov-form-input.tsx","../../../packages/core/src/components/gov-loading/skeleton/constants.ts","../../../packages/core/src/components/gov-loading/skeleton/gov-skeleton.tsx"],"sourcesContent":["import {Component, Element, Event, EventEmitter, h, Host, Method, Prop, State, Watch} from \"@stencil/core\"\nimport {govForm} from \"../../../helpers/Dom/form\"\nimport {GovForm} from \"../../../helpers/Dom/form.types\"\nimport {govHost, toBoolAttr, toBoolAttrIfDefined, toOnOffAttrIfDefined} from \"../../../helpers/Dom/template\"\nimport {GovHost} from \"../../../helpers/Dom/template.types\"\nimport {validateProp} from \"../../../helpers/Validate/props\"\nimport {createID} from \"../../../utils/string.utils\"\nimport {FormInputClass, FormInputSizes, FormInputSizesType, InputType, Type,} from \"./constants\"\nimport {FormInputEvent} from \"./gov-form-input.types\"\nimport {Nullable} from \"../../../types/interfaces\"\nimport {AttributeObserver, Attributes} from \"../../../helpers/Dom/attribute\";\nimport {ariaAttributes} from \"../../../helpers/Accessibility/attributes\";\nimport {inheritAriaAttributes} from \"../../../helpers/Accessibility/accessibility\";\n\nenum Tags {\n\tINPUT = \"input\",\n\tTEXTAREA = \"textarea\",\n}\n\n@Component({\n\ttag: \"gov-form-input\",\n})\nexport class GovFormInput {\n\tprivate f: GovForm\n\tprivate readonly h: GovHost\n\tprivate inputRef?: HTMLInputElement\n\tprivate readonly inputId: string\n\tprivate attributeObserver: AttributeObserver\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t\tthis.inputId = createID(\"GovInput\")\n\t\tthis.f = govForm(this.h)\n\t}\n\n\t@Element() host: HTMLGovFormInputElement\n\t/**\n\t * Value of input\n\t */\n\t@Prop({reflect: true, mutable: true}) value: string\n\t/**\n\t * Custom input identifier.\n\t */\n\t@Prop({attribute: \"identifier\"}) readonly identifier: string\n\t/**\n\t * Indicates the entered value of child form element does conform to the format expected by the application.\n\t */\n\t@Prop({reflect:true}) readonly success: boolean\n\t/**\n\t * Input’s size.\n\t */\n\t@Prop() readonly size?: FormInputSizesType = \"m\"\n\t/**\n\t * Name of the input.\n\t */\n\t@Prop() readonly name: string\n\t/**\n\t * Generates a texarea for the possibility of multiple lines\n\t */\n\t@Prop() readonly multiline: boolean\n\t/**\n\t * Same as original parameter https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea#attr-rows\n\t */\n\t@Prop() readonly rows: number\n\t/**\n\t * Same as original parameter https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea#attr-cols\n\t */\n\t@Prop() readonly cols: number\n\t/**\n\t * Set whether the input is required or not. Please note that this is necessary for accessible inputs when the user is required to fill them.\n\t * When using this property you need to also set “novalidate” attribute to your form element to prevent browser from displaying its own validation errors.\n\t */\n\t@Prop({reflect:true}) readonly required: boolean = false\n\t/**\n\t * Makes the input component disabled.\n\t */\n\t@Prop({reflect:true}) readonly disabled: boolean = false\n\t/**\n\t * Text that appears in the form control when it has no value set\n\t */\n\t@Prop() readonly placeholder: string\n\t/**\n\t * The value is not editable\n\t */\n\t@Prop() readonly readonly: boolean\n\t/**\n\t * Minimum length (number of characters) of value\n\t */\n\t@Prop() readonly minlength: number\n\t/**\n\t * Maximum length (number of characters) of value\n\t */\n\t@Prop() readonly maxlength: number\n\t/**\n\t * Minimum value that is acceptable and valid for the input containing the attribute\n\t */\n\t@Prop() readonly min?: string | number\n\t/**\n\t * Maximum value that is acceptable and valid for the input containing the attribute\n\t */\n\t@Prop() readonly max?: string | number\n\t/**\n\t * Same as original parameter https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea#attr-autocomplete\n\t */\n\t@Prop() readonly autocomplete: boolean\n\t/**\n\t * Same as original parameter https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea#attr-autocorrect\n\t */\n\t@Prop() readonly autocorrect: boolean\n\t/**\n\t * Same as original parameter https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/spellcheck\n\t */\n\t@Prop() readonly spellcheck: boolean\n\t/**\n\t * Same as original parameter https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/lang\n\t */\n\t@Prop({attribute: \"input-lang\"}) readonly inputLang: string\n\t/**\n\t * Defined the visual style of input\n\t */\n\t@Prop() readonly type?: Type\n\t/**\n\t * Same as original parameter\n\t * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#input_types\n\t */\n\t@Prop({attribute: \"input-type\"}) readonly inputType: InputType = \"text\"\n\t/**\n\t * Same as original parameter\n\t * @link https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/input_role\n\t */\n\t@Prop() readonly role: Nullable<string>\n\t/**\n\t * Indicates the entered value does not conform to the format expected by the application.\n\t */\n\t@Prop({reflect:true}) readonly invalid: boolean\n\t/**\n\t * Accessible text for password display\n\t */\n\t@Prop({attribute: \"accessible-show-password-label\"}) readonly accessibleShowPasswordLabel = 'Zobrazit heslo'\n\t/**\n\t * Accessible text to hide the password\n\t */\n\t@Prop({attribute: \"accessible-hide-password-label\"}) readonly accessibleHidePasswordLabel = 'Skrýt heslo'\n\t/**\n\t * Emitted when the input has focus.\n\t */\n\t@Event({eventName: \"gov-focus\"}) govFocus: EventEmitter<FormInputEvent>\n\t/**\n\t * Emitted when the input loses focus.\n\t */\n\t@Event({eventName: \"gov-blur\"}) govBlur: EventEmitter<FormInputEvent>\n\t/**\n\t * Emitted when the input change value.\n\t */\n\t@Event({eventName: \"gov-input\"}) govInput: EventEmitter<FormInputEvent>\n\t/**\n\t * Emitted when the input change value.\n\t */\n\t@Event({eventName: \"gov-keyup\"}) govKeyUp: EventEmitter<FormInputEvent>\n\t/**\n\t * Emitted when the input change value.\n\t */\n\t@Event({eventName: \"gov-hydrated\"}) govHydrated: EventEmitter<void>\n\t/**\n\t * Emitted when the input change value.\n\t */\n\t@Event({eventName: \"gov-keydown\"}) govKeyDown: EventEmitter<FormInputEvent>\n\t@State() focused: boolean\n\t@State() showPassword: boolean = false\n\n\t@Watch(\"size\")\n\tvalidateSize(newValue: string): void {\n\t\tvalidateProp(FormInputSizes, newValue, FormInputClass.root)\n\t}\n\n\t@Watch(\"disabled\")\n\t@Watch(\"invalid\")\n\t@Watch(\"success\")\n\t@Watch(\"size\")\n\twatchControlAttrs(): void {\n\t\tthis.passControlAttrs()\n\t}\n\n\t@State() inheritedAttributes: Attributes = {}\n\n\tprivate passControlAttrs() {\n\t\tthis.f.passAttrToControl(\"size\", this.size)\n\t\tthis.f.passAttrToControl(\"success\", toBoolAttr(this.success))\n\t\tthis.f.passAttrToControl(\"disabled\", toBoolAttr(this.disabled))\n\t\tthis.f.passAttrToControl(\"invalid\", toBoolAttr(this.invalid))\n\t\tthis.f.passAttrToControl(\"type\", this.multiline ? Tags.TEXTAREA : Tags.INPUT)\n\t}\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\tthis.govHydrated.emit();\n\t}\n\n\tcomponentWillLoad() {\n\t\tthis.validateSize(this.size)\n\n\t\tthis.inheritedAttributes = inheritAriaAttributes(this.host);\n\t}\n\n\tcomponentDidRender() {\n\t\tthis.passControlAttrs()\n\t\tthis.f.passAttrToLabel(\"required\", String(this.required))\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\tdisconnectedCallback() {\n\t\tthis.attributeObserver?.stopObserving();\n\t}\n\n\trender() {\n\t\tconst Tag = this.multiline ? Tags.TEXTAREA : Tags.INPUT\n\n\t\treturn (\n\t\t\t<Host class={FormInputClass.root} size={this.size} type={this.type}>\n\t\t\t\t{this.h.hasSlot(\"prefix\") && <slot name=\"prefix\"></slot>}\n\t\t\t\t<span class=\"element\">\n\t\t\t\t\t{(this.h.hasSlot(\"icon-start\") && !this.multiline) &&\n\t\t\t\t\t\t<div class={FormInputClass.icons} onClick={() => this.inputRef.focus()}>\n\t\t\t\t\t\t\t<slot name=\"icon-start\" />\n\t\t\t\t\t\t</div>\n\t\t\t\t\t}\n\t\t\t\t\t<Tag\n\t\t\t\t\t\ttype={this.inputType === 'password' && this.showPassword ? 'text' : this.inputType}\n\t\t\t\t\t\tdisabled={this.disabled}\n\t\t\t\t\t\tid={this.identifier || this.inputId}\n\t\t\t\t\t\tname={this.name}\n\t\t\t\t\t\tonFocus={this.onFocusHandler.bind(this)}\n\t\t\t\t\t\tonInput={this.onInputHandler.bind(this)}\n\t\t\t\t\t\tonBlur={this.onBlurHandler.bind(this)}\n\t\t\t\t\t\tonKeyUp={this.onKeyUpHandler.bind(this)}\n\t\t\t\t\t\tonKeyDown={this.onKeyDownHandler.bind(this)}\n\t\t\t\t\t\tref={el => (this.inputRef = el as HTMLInputElement)}\n\t\t\t\t\t\tplaceholder={this.placeholder}\n\t\t\t\t\t\tspellcheck={toBoolAttrIfDefined(this.spellcheck)}\n\t\t\t\t\t\tlang={this.inputLang}\n\t\t\t\t\t\treadonly={toBoolAttrIfDefined(this.readonly)}\n\t\t\t\t\t\tautocomplete={toOnOffAttrIfDefined(this.autocomplete)}\n\t\t\t\t\t\tautocorrect={toOnOffAttrIfDefined(this.autocorrect)}\n\t\t\t\t\t\tminlength={this.minlength}\n\t\t\t\t\t\tmaxlength={this.maxlength}\n\t\t\t\t\t\tmin={this.min}\n\t\t\t\t\t\tmax={this.max}\n\t\t\t\t\t\trequired={this.required}\n\t\t\t\t\t\trows={this.rows}\n\t\t\t\t\t\tcols={this.cols}\n\t\t\t\t\t\trole={this.role}\n\t\t\t\t\t\tvalue={this.value}\n\t\t\t\t\t\t{...this.inheritedAttributes}\n\t\t\t\t\t\taria-required={toBoolAttrIfDefined(this.required)}\n\t\t\t\t\t\taria-invalid={toBoolAttrIfDefined(this.invalid)}\n\t\t\t\t\t\taria-disabled={toBoolAttrIfDefined(this.disabled)}\n\t\t\t\t\t/>\n\t\t\t\t\t{((this.success || this.invalid || this.h.hasSlot(\"icon-end\") || this.inputType === 'password') && !this.multiline) &&\n\t\t\t\t\t\t<div class={FormInputClass.icons} onClick={() => this.inputRef.focus()}>\n\t\t\t\t\t\t\t{this.success && !this.multiline &&\n\t\t\t\t\t\t\t\t<gov-icon class=\"validation-icon\" name=\"check-lg\" type=\"components\"></gov-icon>}\n\t\t\t\t\t\t\t{this.invalid && !this.multiline &&\n\t\t\t\t\t\t\t\t<gov-icon class=\"validation-icon\" name=\"exclamation-lg\" type=\"components\"></gov-icon>}\n\t\t\t\t\t\t\t{this.h.hasSlot(\"icon-end\") && this.inputType !== 'password' && <slot name=\"icon-end\"/>}\n\t\t\t\t\t\t\t{this.inputType === 'password' ? (\n\t\t\t\t\t\t\t\t<gov-button color={'primary'}\n\t\t\t\t\t\t\t\t\t\t\ttype={'base'}\n\t\t\t\t\t\t\t\t\t\t\tsize={this.size}\n\t\t\t\t\t\t\t\t\t\t\taria-label={this.showPassword ? this.accessibleHidePasswordLabel : this.accessibleShowPasswordLabel}\n\t\t\t\t\t\t\t\t\t\t\ton-gov-click={() => this.showPassword = !this.showPassword}>\n\t\t\t\t\t\t\t\t\t<gov-icon slot=\"icon-start\" name=\"eye\" type=\"components\"></gov-icon>\n\t\t\t\t\t\t\t\t</gov-button>) : null}\n\t\t\t\t\t\t</div>\n\t\t\t\t\t}\n\t\t\t\t</span>\n\t\t\t\t{this.h.hasSlot(\"sufix\") && <slot name=\"sufix\"></slot>}\n\t\t\t</Host>\n\t\t)\n\t}\n\n\tprivate onFocusHandler(e: FocusEvent) {\n\t\te.stopPropagation()\n\t\tthis.focused = true\n\t\tthis.govFocus.emit({\n\t\t\tcomponent: FormInputClass.root,\n\t\t\tvalue: this.value,\n\t\t\toriginalEvent: e,\n\t\t})\n\t}\n\n\tprivate onBlurHandler(e: FocusEvent) {\n\t\te.stopPropagation()\n\t\tthis.focused = false\n\t\tthis.govBlur.emit({\n\t\t\tcomponent: FormInputClass.root,\n\t\t\tvalue: this.value,\n\t\t\toriginalEvent: e,\n\t\t})\n\t}\n\n\tprivate onKeyUpHandler(e: KeyboardEvent) {\n\t\te.stopPropagation()\n\t\tthis.govKeyUp.emit({\n\t\t\tcomponent: FormInputClass.root,\n\t\t\tvalue: this.value,\n\t\t\toriginalEvent: e,\n\t\t})\n\t}\n\n\tprivate onKeyDownHandler(e: KeyboardEvent) {\n\t\te.stopPropagation()\n\t\tthis.govKeyDown.emit({\n\t\t\tcomponent: FormInputClass.root,\n\t\t\tvalue: this.value,\n\t\t\toriginalEvent: e,\n\t\t})\n\t}\n\n\tprivate onInputHandler(e: InputEvent) {\n\t\tthis.value = (e.target as HTMLInputElement).value\n\t\te.stopPropagation()\n\t\tthis.govInput.emit({\n\t\t\tcomponent: FormInputClass.root,\n\t\t\tvalue: this.value,\n\t\t\toriginalEvent: e,\n\t\t})\n\t}\n\n\t/**\n\t * Returns the current state of the component\n\t */\n\t@Method()\n\tasync setFocus(options?: FocusOptions): Promise<void> {\n\t\treturn this.inputRef.focus(options)\n\t}\n\n\t/**\n\t * Sets the ordered value of the element\n\t */\n\t@Method()\n\tasync setValue(value: string): Promise<void> {\n\t\tthis.value = value\n\t}\n\n\t/**\n\t * Clears input value\n\t */\n\t@Method()\n\tasync clearValue(): Promise<void> {\n\t\tthis.value = \"\"\n\t\tthis.inputRef.value = \"\"\n\t}\n\n\t/**\n\t * Returns an instance of the native html input element\n\t */\n\t@Method()\n\tasync getRef(): Promise<HTMLInputElement> {\n\t\treturn this.inputRef\n\t}\n}\n","import { pick } from \"../../../utils/utils\"\nimport { ValueOf } from \"../../../types/interfaces\"\nimport {Sizes} from \"../../../core/constants/sizes\";\nimport {Colors} from \"../../../core/constants/colors\";\n\nexport const SkeletonSizes = pick(Sizes, ['_XS', '_S', '_M', '_L', '_XL'])\nexport type SkeletonSizesType = `${ValueOf<typeof SkeletonSizes>}`\n\nexport const SkeletonColors = pick(Colors, [\"PRIMARY\", \"NEUTRAL\"])\nexport type SkeletonColorType = `${ValueOf<typeof SkeletonColors>}`\n\nexport enum SkeletonShapes {\n\tCIRCLE = 'circle',\n\tLINE = 'line'\n}\nexport type SkeletonShapesType = `${ValueOf<typeof SkeletonShapes>}`\n\nexport enum SkeletonAnimation {\n\tPULSE = 'pulse',\n\tPROGRESS = 'progress',\n\tFALSE = 'false'\n}\nexport type SkeletonAnimationType = `${ValueOf<typeof SkeletonAnimation>}`\n\nexport const SkeletonClass = {\n\troot: 'gov-skeleton',\n}\n","import {Component, Element, h, Host, Prop, State, Watch} from \"@stencil/core\"\nimport {\n\tSkeletonAnimation,\n\tSkeletonAnimationType,\n\tSkeletonClass,\n\tSkeletonColorType,\n\tSkeletonShapes,\n\tSkeletonShapesType,\n\tSkeletonSizes,\n} from \"./constants\"\nimport {GovHost} from \"../../../helpers/Dom/template.types\"\nimport {govHost} from \"../../../helpers/Dom/template\"\nimport {validateProp} from \"../../../helpers/Validate/props\"\nimport {FormInputSizesType} from \"../../gov-form/input/constants\";\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-skeleton\",\n})\nexport class GovSkeleton {\n\th: GovHost\n\tprivate attributeObserver: AttributeObserver\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() host: HTMLGovSkeletonElement\n\t/**\n\t * Input’s size.\n\t */\n\t@Prop({reflect: true}) readonly size?: FormInputSizesType = \"m\"\n\t/**\n\t * Style variation of the skeleton.\n\t */\n\t@Prop() readonly color?: SkeletonColorType = \"neutral\"\n\t/**\n\t * Shape of the skeleton\n\t */\n\t@Prop() shape?: SkeletonShapesType = \"line\"\n\t/**\n\t * Width of the skeleton ex. 100px, 100%, auto etc.\n\t */\n\t@Prop({reflect: true}) width?: string = null\n\t/**\n\t * Height of the skeleton ex. 100px, 100%, auto etc.\n\t */\n\t@Prop({reflect: true}) height?: string = null\n\t/**\n\t * Animation type\n\t */\n\t@Prop() animation?: SkeletonAnimationType = \"progress\"\n\n\titems: number[] = []\n\n\t@Watch(\"size\")\n\tvalidateSize(newValue: string): void {\n\t\tvalidateProp(SkeletonSizes, newValue, SkeletonClass.root)\n\t}\n\n\t@Watch('shape')\n\tvalidateShape(newValue: string): void {\n\t\tvalidateProp(SkeletonShapes, newValue, SkeletonClass.root)\n\t}\n\n\t@Watch('animation')\n\tvalidateAnimation(newValue: string): void {\n\t\tvalidateProp(SkeletonAnimation, newValue, SkeletonClass.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() {\n\t\tthis.validateSize(this.size)\n\t\tthis.validateShape(this.shape)\n\t\tthis.validateAnimation(this.animation)\n\t\tthis.init()\n\t\tthis.inheritedAttributes = inheritAriaAttributes(this.host);\n\t}\n\n\tcomponentWillUpdate() {\n\t\tthis.init()\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\tinit() {\n\t\tthis.items.fill(1)\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host size={this.size}\n\t\t\t\t color={this.color}\n\t\t\t\t class={{\n\t\t\t\t\t [SkeletonClass.root]: true,\n\t\t\t\t\t circle: this.shape === \"circle\",\n\t\t\t\t\t line: this.shape === \"line\",\n\t\t\t\t\t progress: this.animation === \"progress\",\n\t\t\t\t\t pulse: this.animation === \"pulse\",\n\t\t\t\t }}\n\t\t\t\t {...this.inheritedAttributes}\n\t\t\t\t aria-busy=\"true\"\n\t\t\t\t aria-valuemin=\"0\"\n\t\t\t\t aria-valuemax=\"100\"\n\t\t\t\t role=\"progressbar\"\n\t\t\t\t tabindex=\"0\"\n\t\t\t\t style={{width: this.width, height: this.height}}>\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"],"mappings":"8gBAcA,IAAKA,GAAL,SAAKA,GACJA,EAAA,iBACAA,EAAA,sBACA,EAHD,CAAKA,MAGJ,K,MAKYC,EAAY,MAOxB,WAAAC,CAAAC,G,8NAsBiBC,KAAIC,KAAwB,IAqBdD,KAAQE,SAAY,MA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QAAU,SACvBW,KAAMpI,KAAKyH,QAAU,OACrBY,SAAUrI,KAAK4H,YAAc,WAC7BU,MAAOtI,KAAK4H,YAAc,UAEvB5H,KAAKQ,oBAAmB,aAClB,OACI,oBACA,sBACdqF,KAAK,cACL0C,SAAS,IACTC,MAAO,CAACd,MAAO1H,KAAK0H,MAAOC,OAAQ3H,KAAK2H,U","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ import{r as e,h as o,H as t,g as c}from"./p-ClISz4NF.js";import{g as s}from"./p-CoD1xawt.js";const r={root:"gov-error-code",content:"gov-error-code__content"};const a=class{constructor(o){e(this,o);this.h=s(this.host)}render(){return o(t,{key:"91bd2740e23ac3070885a2f081d04fe55fe35afa",class:this.h.classes(r.root),align:"center"},this.h.hasSlot("icon")&&o("slot",{key:"c8bf87c915ffa7438de195790b19746946839759",name:"icon"}),o("div",{key:"7d68735d01b63f086fdc5d9fadcd3749828f875a",class:r.content},o("slot",{key:"41fb86768c5d44a485c1547eb576bf5339d66dfb",name:"headline"}),o("slot",{key:"4fd846e34ac29cdb5622a36917380cb4d07f62fc"})))}get host(){return c(this)}};export{a as gov_error_code};
2
+ //# sourceMappingURL=p-6d2ce4c7.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["ErrorCodeClass","root","content","GovErrorCode","constructor","hostRef","this","h","govHost","host","render","Host","key","class","classes","align","hasSlot","name"],"sources":["../../../packages/core/src/components/gov-error-code/constants.ts","../../../packages/core/src/components/gov-error-code/gov-error-code.tsx"],"sourcesContent":["export const ErrorCodeClass = {\n\troot: 'gov-error-code',\n\tcontent: 'gov-error-code__content',\n}\n","import { Component, Element, h, Host } from '@stencil/core'\nimport { ErrorCodeClass } from './constants'\nimport { govHost } from '../../helpers/Dom/template'\nimport { GovHost } from '../../helpers/Dom/template.types'\n\n@Component({\n\ttag: 'gov-error-code',\n})\nexport class GovErrorCode {\n\tprivate h: GovHost\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() host: HTMLGovErrorCodeElement\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={this.h.classes(ErrorCodeClass.root)} align=\"center\">\n\t\t\t\t\t{this.h.hasSlot('icon') && (\n\t\t\t\t\t\t<slot name=\"icon\" />\n\t\t\t\t\t)}\n\t\t\t\t\t<div class={ErrorCodeClass.content}>\n\t\t\t\t\t\t<slot name=\"headline\" />\n\t\t\t\t\t\t<slot />\n\t\t\t\t\t</div>\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"],"mappings":"6FAAO,MAAMA,EAAiB,CAC7BC,KAAM,iBACNC,QAAS,2B,MCMGC,EAAY,MAGxB,WAAAC,CAAAC,G,UACCC,KAAKC,EAAIC,EAAQF,KAAKG,KACtB,CAID,MAAAC,GACC,OACCH,EAACI,EAAI,CAAAC,IAAA,2CAACC,MAAOP,KAAKC,EAAEO,QAAQd,EAAeC,MAAOc,MAAM,UACrDT,KAAKC,EAAES,QAAQ,SACfT,EAAM,QAAAK,IAAA,2CAAAK,KAAK,SAEZV,EAAA,OAAAK,IAAA,2CAAKC,MAAOb,EAAeE,SAC1BK,EAAM,QAAAK,IAAA,2CAAAK,KAAK,aACXV,EAAQ,QAAAK,IAAA,8C","ignoreList":[]}
@@ -1,2 +1,2 @@
1
- import{r as s,h as t,H as e,g as i}from"./p-ClISz4NF.js";import{g as o,b as r}from"./p-B6CqPcY_.js";import{g as a}from"./p-CoD1xawt.js";import{s as f}from"./p-vN03FcXN.js";import{i as c}from"./p-DNztiAH0.js";import"./p-BcQO4NH2.js";import"./p-CQvUntGY.js";import"./p-EeKNA85D.js";import"./p-U40vKHrs.js";import"./p-DYcNEwSZ.js";import"./p-DBXGhafv.js";const b=class{constructor(t){s(this,t);this.invalid=false;this.disabled=false;this.success=false;this.fieldset=false;this.size="m";this.h=a(this.host);this.f=o(this.h)}componentDidRender(){this.syncControlMessages();this.formElementDescriptionControl()}disconnectedCallback(){var s;(s=this.observer)===null||s===void 0?void 0:s.disconnect()}formElementDescriptionControl(){const s=this.host.querySelector("."+r.bottom);if(!s)return;this.observer=new MutationObserver(function(){this.syncControlMessages()}.bind(this));this.observer.observe(s,{childList:true})}syncControlMessages(){Promise.all(this.f.messageElements.map((s=>s.identifier()))).then((s=>{this.f.mainElementsInControl.forEach((t=>{const e=f(t.getAttribute("aria-describedby"));t.removeAttribute("aria-describedby");if(Array.isArray(e)){e.forEach((t=>c(t)&&t.indexOf("GovFormMessage")===-1?s.push(t):null))}if(s.length){t.setAttribute("aria-describedby",s.join(" "))}}))}))}render(){const s=this.fieldset?"fieldset":"div";return t(e,{key:"04e4ab3533f5d22939573fa20a354a0b76319986",size:this.size,class:this.h.classes(r.root)},t(s,{key:"9851627baf138775fe24a673d6a095fc8980b6e9",class:r.holder},this.h.hasSlot("top")&&t("slot",{key:"beffe147db943648861b9775dee76ef6b20dffa3",name:"top"}),t("slot",{key:"6667b41d2720045a93b10a92ef300e2842ff57b4"}),this.h.hasSlot("bottom")&&t("div",{key:"fe117fdc7d64b3c2b4e18e95d1f213c8a8fe3766",class:r.bottom},t("slot",{key:"07eabb48c2849d624bed7f59ba14811ed35732fb",name:"bottom"}))))}get host(){return i(this)}};export{b as gov_form_control};
2
- //# sourceMappingURL=p-b3b517f0.entry.js.map
1
+ import{r as s,h as t,H as e,g as i}from"./p-ClISz4NF.js";import{g as a,b as o}from"./p-B6CqPcY_.js";import{g as r}from"./p-CoD1xawt.js";import{s as f}from"./p-vN03FcXN.js";import{i as c}from"./p-DNztiAH0.js";import"./p-BcQO4NH2.js";import"./p-CQvUntGY.js";import"./p-EeKNA85D.js";import"./p-U40vKHrs.js";import"./p-DYcNEwSZ.js";import"./p-DBXGhafv.js";const d=class{constructor(t){s(this,t);this.invalid=false;this.disabled=false;this.success=false;this.fieldset=false;this.size="m";this.h=r(this.host);this.f=a(this.h)}componentDidRender(){this.syncControlMessages();this.formElementDescriptionControl()}disconnectedCallback(){var s;(s=this.observer)===null||s===void 0?void 0:s.disconnect()}formElementDescriptionControl(){const s=this.host.querySelector("."+o.bottom);if(!s)return;this.observer=new MutationObserver(function(){this.syncControlMessages()}.bind(this));this.observer.observe(s,{childList:true})}syncControlMessages(){Promise.all(this.f.messageElements.map((s=>s.identifier()))).then((s=>{this.f.mainElementsInControl.forEach((t=>{const e=f(t.getAttribute("aria-describedby"));t.removeAttribute("aria-describedby");if(Array.isArray(e)){e.forEach((t=>c(t)&&t.indexOf("GovFormMessage")===-1?s.push(t):null))}if(s.length){t.setAttribute("aria-describedby",s.join(" "))}}))}))}render(){const s=this.fieldset?"fieldset":"div";return t(e,{key:"e7965663e6f825f35efa30a5fd8fe3fa7a313ac6",size:this.size,class:this.h.classes(o.root)},t(s,{key:"bb8b452fcab1ae0d49f8d0ed01f0091f97e9c988",class:o.holder},this.h.hasSlot("top")&&t("slot",{key:"4afca4fcee621842c0955287fd9a5488170da0d2",name:"top"}),t("slot",{key:"1e5026d8b37aad78c420ee2f8a69f42e0cb03e8e"}),this.h.hasSlot("bottom")&&t("div",{key:"177ebe3ade712277ea79c7d1a39a3bd9344627fd",class:o.bottom},t("slot",{key:"79ffada9cff037c407aa925e35b3382fba85ae25",name:"bottom"}))))}get host(){return i(this)}};export{d as gov_form_control};
2
+ //# sourceMappingURL=p-70b5555f.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["GovFormControl","constructor","hostRef","this","invalid","disabled","success","fieldset","size","h","govHost","host","f","govForm","componentDidRender","syncControlMessages","formElementDescriptionControl","disconnectedCallback","_a","observer","disconnect","bottomSlot","querySelector","FormControlClass","bottom","MutationObserver","bind","observe","childList","Promise","all","messageElements","map","message","identifier","then","ids","mainElementsInControl","forEach","element","currentValue","splitByWhitespace","getAttribute","removeAttribute","Array","isArray","id","isString","indexOf","push","length","setAttribute","join","render","Tag","Host","key","class","classes","root","holder","hasSlot","name"],"sources":["../../../packages/core/src/components/gov-form/control/gov-form-control.tsx"],"sourcesContent":["import {Component, Element, h, Host, Prop} from \"@stencil/core\"\nimport {govForm} from \"../../../helpers/Dom/form\"\nimport {GovForm} from \"../../../helpers/Dom/form.types\"\nimport {govHost} from \"../../../helpers/Dom/template\"\nimport {GovHost} from \"../../../helpers/Dom/template.types\"\nimport {splitByWhitespace} from \"../../../utils/string.utils\"\nimport {FormControlClass, FormControlSizesType} from \"./constants\"\nimport {isString} from \"../../../utils/helpers.types\";\n\n@Component({\n\ttag: \"gov-form-control\",\n})\nexport class GovFormControl {\n\tprivate readonly h: GovHost\n\tprivate f: GovForm\n\tprivate observer: MutationObserver\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t\tthis.f = govForm(this.h)\n\t}\n\n\t@Element() host: HTMLGovFormControlElement\n\t/**\n\t * Custom form element identifier\n\t */\n\t@Prop({attribute: \"identifier\"}) readonly identifier: string\n\t/**\n\t * Indicates the entered value of a child form element does not conform to the format expected by the application.\n\t */\n\t@Prop({reflect: true}) readonly invalid: boolean = false\n\t/**\n\t/**\n\t* Indicates the form control is disabled\n\t */\n\t@Prop({reflect: true}) readonly disabled: boolean = false\n\t/**\n\t/**\n\t* Indicates the entered value of a child form element does conform to the format expected by the application.\n\t */\n\t@Prop({reflect: true}) readonly success: boolean = false\n\t/**\n\t * Use control as a fieldset for better accessibility.\n\t * Note: Remember to set the legend attribute of the gov-form-label component\n\t */\n\t@Prop() readonly fieldset: boolean = false\n\t/**\n\t * Form element size.\n\t */\n\t@Prop() readonly size?: FormControlSizesType = \"m\"\n\n\tcomponentDidRender() {\n\t\tthis.syncControlMessages()\n\t\tthis.formElementDescriptionControl()\n\t}\n\n\tdisconnectedCallback(): void {\n\t\tthis.observer?.disconnect()\n\t}\n\n\tprivate formElementDescriptionControl() {\n\t\tconst bottomSlot = this.host.querySelector(\".\" + FormControlClass.bottom)\n\t\tif (!bottomSlot) return\n\t\tthis.observer = new MutationObserver(\n\t\t\tfunction () {\n\t\t\t\tthis.syncControlMessages()\n\t\t\t}.bind(this),\n\t\t)\n\n\t\tthis.observer.observe(bottomSlot, {childList: true})\n\t}\n\n\tprivate syncControlMessages() {\n\t\tPromise.all(this.f.messageElements.map((message: HTMLGovFormMessageElement) => message.identifier())).then((ids: string[]) => {\n\t\t\tthis.f.mainElementsInControl.forEach((element: Element) => {\n\t\t\t\tconst currentValue = splitByWhitespace(element.getAttribute(\"aria-describedby\"))\n\t\t\t\telement.removeAttribute(\"aria-describedby\")\n\t\t\t\tif (Array.isArray(currentValue)) {\n\t\t\t\t\tcurrentValue.forEach(id => (isString(id) && id.indexOf(\"GovFormMessage\") === -1 ? ids.push(id) : null))\n\t\t\t\t}\n\t\t\t\tif (ids.length) {\n\t\t\t\t\telement.setAttribute(\"aria-describedby\", ids.join(\" \"))\n\t\t\t\t}\n\t\t\t})\n\t\t})\n\t}\n\n\trender() {\n\t\tconst Tag = this.fieldset ? \"fieldset\" : \"div\"\n\t\treturn (\n\t\t\t<Host size={this.size} class={this.h.classes(FormControlClass.root)}>\n\t\t\t\t<Tag class={FormControlClass.holder}>\n\t\t\t\t\t{this.h.hasSlot(\"top\") && <slot name=\"top\"></slot>}\n\t\t\t\t\t<slot></slot>\n\t\t\t\t\t{this.h.hasSlot(\"bottom\") && (\n\t\t\t\t\t\t<div class={FormControlClass.bottom}>\n\t\t\t\t\t\t\t<slot name=\"bottom\"/>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t)}\n\t\t\t\t</Tag>\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"],"mappings":"sWAYaA,EAAc,MAK1B,WAAAC,CAAAC,G,UAagCC,KAAOC,QAAY,MAKnBD,KAAQE,SAAY,MAKpBF,KAAOG,QAAY,MAKlCH,KAAQI,SAAY,MAIpBJ,KAAIK,KAA0B,IA/B9CL,KAAKM,EAAIC,EAAQP,KAAKQ,MACtBR,KAAKS,EAAIC,EAAQV,KAAKM,EACtB,CA+BD,kBAAAK,GACCX,KAAKY,sBACLZ,KAAKa,+B,CAGN,oBAAAC,G,OACCC,EAAAf,KAAKgB,YAAU,MAAAD,SAAA,SAAAA,EAAAE,Y,CAGR,6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.js";import{d as m}from"./p-CQvUntGY.js";import{g as r}from"./p-CoD1xawt.js";import{i as l}from"./p-DNztiAH0.js";import{F as f,a as h}from"./p-EeKNA85D.js";import{v as g}from"./p-NOJjz9dT.js";import{c as v}from"./p-vN03FcXN.js";import"./p-U40vKHrs.js";import"./p-BcQO4NH2.js";const d={root:"gov-attachments",label:"gov-attachments__label",list:"gov-attachments__list"};const p={root:"gov-attachments-item",name:"gov-attachments-item__name",file:"gov-attachments-item__file",messages:"gov-attachments-item__messages"};const b=class{constructor(a){t(this,a);this.h=r(this.host)}async componentDidRender(){if(n()){await m(500);await this.validateWcag()}}render(){return a(e,{key:"ca3b05be8b09114d7871a82c9ec138c4fa8fc24d",class:this.h.classes(d.root)},this.label?a("p",{class:d.label},this.label):null,a("div",{key:"e47a84d37b86e08171f8002702c4cfe28b09f1fa",class:d.list,role:"list","aria-label":this.wcagLabel},a("slot",{key:"fcf62fd6cfcab1999e381775584755a62ef3415f"})))}async validateWcag(){o(this.wcagLabel,"wcag-label",d.root)}get host(){return s(this)}};const _="gov-attachments-item,.gov-attachments-item{display:flex;flex-direction:column}gov-attachments-item__messages>*:last-child,.gov-attachments-item__messages>*:last-child{margin-bottom:0}gov-attachments-item__messages>*,.gov-attachments-item__messages>*{position:relative;top:calc(-1 * var(--spacing-xs))}gov-attachments-item__file,.gov-attachments-item__file{display:flex;gap:var(--spacing-s);max-width:100%}gov-attachments-item__name,.gov-attachments-item__name{display:flex;-moz-column-gap:var(--spacing-s);column-gap:var(--spacing-s);align-items:center;max-width:calc(100% - var(--spacing-s) - var(--icon-size-s) - (var(--spacing-s-nudge) + var(--border-width, 0.0625rem)) * 2);margin:0}gov-attachments-item__name>gov-tooltip,gov-attachments-item__name .gov-tooltip,.gov-attachments-item__name>gov-tooltip,.gov-attachments-item__name .gov-tooltip{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%;color:var(--name-color, var(--text-primary))}gov-attachments-item__name span[slot=info],.gov-attachments-item__name span[slot=info]{font-size:var(--font-size-body-xs);line-height:150%;font-weight:400;color:var(--decor-color, var(--text-secondary));white-space:nowrap}";const y=class{constructor(a){t(this,a);this.govRemove=i(this,"gov-remove");this.accessibleRemoveLabel="Odebrat soubor {FILE_NAME}";this.h=r(this.host)}async componentDidRender(){if(n()){await m(500);await this.validateAccessibility()}}render(){return a(e,{key:"7a7acaf1946577d29894242aa9606768afc96f77",class:this.h.classes(p.root),role:"listitem"},a("div",{key:"5cc40f9f91438105713d5c6a70686c5c12208b66",class:p.file},a("div",{key:"77e578b8c71cfc1bba2e89eacaa12e582692ff30",class:p.name},a("gov-tooltip",{key:"bf9a97f411e3877fdb1278b064910a64184662cd",position:"top",icon:true},a("slot",{key:"0eba40236e53407fa5fc380ebd552d339cff0054"}),a("gov-tooltip-content",{key:"624f6e919d73eae63db9cb667b5243997541a6c6"},this.h.getSlotContent(`name`))),a("slot",{key:"524f5a4397490a1371bd476361d1fc0e2308745c",name:"info"})),a("gov-button",{key:"0f0f046e9ab994201088ab802c9fb9bc4ff0f04c",color:"primary",type:"base",size:"s","aria-label":l(this.accessibleRemoveLabel)?this.accessibleRemoveLabel.replace("{FILE_NAME}",this.h.getSlotContent(`name`)||"").trim():null,"aria-labelledby":this.accessibleRemoveLabelledBy,"on-gov-click":this.govRemove.emit},a("gov-icon",{key:"16fc279022a36799b03ec2af3a5f2e2b8f70755f",slot:"icon-start",name:"x-lg",type:"components"}))),this.h.hasSlot("message")&&a("div",{key:"554ff1ff7dce9b034db47c13a66ac17f29ad38f4",class:p.messages},a("slot",{key:"09a9a492fb503a8c285cb21e10ec9d26c8cc71f5",name:"message"})))}async validateAccessibility(){c(this.accessibleRemoveLabel,this.accessibleRemoveLabelledBy,p.root,this.host)}get host(){return s(this)}};y.style=_;const u=class{constructor(a){t(this,a);this.color="neutral";this.size="m";this.h=r(this.host);this.messageId=v("GovFormMessage")}validateColor(t){g(h,t,f.root)}componentWillLoad(){this.validateColor(this.color)}render(){return a(e,{key:"f48872860c7611775b2f42ce5048dbcdbd706acb",class:this.h.classes(f.root),color:this.color,size:this.size},this.h.hasSlot("icon")&&a("slot",{key:"c1c37489c1cfece39a720394a116775db12aa23c",name:"icon"}),a("span",{key:"0b74cac8580a66b5a60177aef9da4e9f14e68c32",id:this.messageId,class:f.content},a("slot",{key:"b153676b22738e66348b49822ab111bfd8fd56f0"})))}async identifier(){return this.messageId}get host(){return s(this)}static get watchers(){return{color:["validateColor"]}}};export{b as gov_attachments,y as gov_attachments_item,u as gov_form_message};
2
+ //# sourceMappingURL=p-73bd93f9.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["AttachmentsClass","root","label","list","AttachmentsItemClass","name","file","messages","GovAttachments","constructor","hostRef","this","h","govHost","host","componentDidRender","canValidateWcagOnRender","delay","validateWcag","render","Host","key","class","classes","role","wcagLabel","validateWcagProp","govAttachmentsItemCss","GovAttachmentsItem","accessibleRemoveLabel","validateAccessibility","position","icon","getSlotContent","color","type","size","isString","replace","trim","accessibleRemoveLabelledBy","govRemove","emit","slot","hasSlot","validateAccessibleLabel","GovFormMessage","messageId","createID","validateColor","newValue","validateProp","FormMessageColors","FormMessageClass","componentWillLoad","id","content","identifier"],"sources":["../../../packages/core/src/components/gov-attachments/constants.ts","../../../packages/core/src/components/gov-attachments/gov-attachments.tsx","../../../packages/core/src/components/gov-attachments/gov-attachments-item.scss?tag=gov-attachments-item","../../../packages/core/src/components/gov-attachments/gov-attachments-item.tsx","../../../packages/core/src/components/gov-form/message/gov-form-message.tsx"],"sourcesContent":["export const AttachmentsClass = {\n\troot: 'gov-attachments',\n\tlabel: 'gov-attachments__label',\n\tlist: 'gov-attachments__list',\n}\n\nexport const AttachmentsItemClass = {\n\troot: 'gov-attachments-item',\n\tname: 'gov-attachments-item__name',\n\tfile: 'gov-attachments-item__file',\n\tmessages: 'gov-attachments-item__messages',\n}\n","import { Component, Element, h, Host, Method, Prop } from '@stencil/core'\nimport { AttachmentsClass } from './constants'\nimport { validateWcagProp } from '../../helpers/Validate/wcag'\nimport { canValidateWcagOnRender } from '../../helpers/Dom/win'\nimport { delay } from '../../utils/utils'\nimport { govHost } from '../../helpers/Dom/template'\nimport { GovHost } from '../../helpers/Dom/template.types'\n\n@Component({\n\ttag: 'gov-attachments',\n})\nexport class GovAttachments {\n\tprivate h: GovHost\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() readonly host: HTMLGovAttachmentsElement\n\t/**\n\t * Label of attachments section\n\t */\n\t@Prop() readonly label: string\n\t/**\n\t * Adds accessible label for the attachment section that is only shown for screen readers.\n\t */\n\t@Prop({ attribute: 'wcag-label' }) readonly wcagLabel: string\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\trender() {\n\t\treturn (\n\t\t\t<Host class={this.h.classes(AttachmentsClass.root)}>\n\t\t\t\t{this.label ? <p class={AttachmentsClass.label}>{this.label}</p> : null}\n\t\t\t\t<div class={AttachmentsClass.list} role=\"list\" aria-label={this.wcagLabel}>\n\t\t\t\t\t<slot />\n\t\t\t\t</div>\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\tasync validateWcag(): Promise<void> {\n\t\tvalidateWcagProp(this.wcagLabel, 'wcag-label', AttachmentsClass.root)\n\t}\n}\n","/* Attachments - Item */\n\n@use \"../../sass/mixins\" as mixin;\n@use \"../../sass/variables/general\" as general;\n@use \"gov-attachments-variables\" as variable;\n\n\ngov-attachments-item, .gov-attachments-item {\n\tdisplay: flex;\n\tflex-direction: column;\n\t&__messages {\n\t\t@include mixin.reset-last-margin();\n\t\t> * {\n\t\t\tposition: relative;\n\t\t\ttop: calc(-1 * var(--spacing-xs));\n\t\t}\n\t}\n\t&__file {\n\t\tdisplay: flex;\n\t\tgap: var(--spacing-s);\n\t\tmax-width: 100%;\n\t}\n\t&__name {\n\t\tdisplay: flex;\n\t\tcolumn-gap: var(--spacing-s);\n\t\talign-items: center;\n\t\tmax-width: calc(100% - var(--spacing-s) - var(--icon-size-s) - ((var(--spacing-s-nudge) + #{general.$border-width}) * 2));\n\t\tmargin: 0;\n\t\t> gov-tooltip, .gov-tooltip {\n\t\t\toverflow: hidden;\n\t\t\ttext-overflow: ellipsis;\n\t\t\twhite-space: nowrap;\n\t\t\tmax-width: 100%;\n\t\t\tcolor: variable.$name-color;\n\t\t}\n\t\tspan[slot=\"info\"] {\n\t\t\t@include mixin.typography(\"body-xs\");\n\t\t\tcolor: variable.$decor-color;\n\t\t\twhite-space: nowrap;\n\t\t}\n\t}\n}\n","import {Component, Element, Event, EventEmitter, h, Host, Method, Prop} from '@stencil/core'\nimport {AttachmentsItemClass} from './constants'\nimport {validateAccessibleLabel} from '../../helpers/Validate/wcag'\nimport {canValidateWcagOnRender} from '../../helpers/Dom/win'\nimport {delay} from '../../utils/utils'\nimport {govHost} from '../../helpers/Dom/template'\nimport {GovHost} from '../../helpers/Dom/template.types'\nimport {isString} from \"../../utils/helpers.types\";\n\n@Component({\n\ttag: 'gov-attachments-item',\n\tstyleUrl: 'gov-attachments-item.scss',\n})\nexport class GovAttachmentsItem {\n\tprivate h: GovHost\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() readonly host: HTMLGovAttachmentsItemElement\n\n\t/**\n\t * Adds accessible label for the remove button that is only shown for screen readers.\n\t */\n\t@Prop({attribute: 'accessible-remove-label'}) readonly accessibleRemoveLabel: string = \"Odebrat soubor {FILE_NAME}\"\n\t/**\n\t * Indicates the id of a component that labels the remove button.\n\t */\n\t@Prop({attribute: 'accessible-remove-labelledby'}) readonly accessibleRemoveLabelledBy: string\n\t/**\n\t * Emitted when the file is removed\n\t */\n\t@Event({eventName: 'gov-remove'}) govRemove: EventEmitter<PointerEvent>\n\n\tasync componentDidRender() {\n\t\tif (canValidateWcagOnRender()) {\n\t\t\tawait delay(500)\n\t\t\tawait this.validateAccessibility()\n\t\t}\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={this.h.classes(AttachmentsItemClass.root)} role=\"listitem\">\n\t\t\t\t<div class={AttachmentsItemClass.file}>\n\t\t\t\t\t<div class={AttachmentsItemClass.name}>\n\t\t\t\t\t\t<gov-tooltip position=\"top\" icon>\n\t\t\t\t\t\t\t<slot/>\n\t\t\t\t\t\t\t<gov-tooltip-content>\n\t\t\t\t\t\t\t\t{this.h.getSlotContent(`name`)}\n\t\t\t\t\t\t\t</gov-tooltip-content>\n\t\t\t\t\t\t</gov-tooltip>\n\t\t\t\t\t\t<slot name=\"info\"/>\n\t\t\t\t\t</div>\n\t\t\t\t\t<gov-button\n\t\t\t\t\t\tcolor=\"primary\"\n\t\t\t\t\t\ttype=\"base\"\n\t\t\t\t\t\tsize=\"s\"\n\t\t\t\t\t\taria-label={isString(this.accessibleRemoveLabel) ? this.accessibleRemoveLabel.replace('{FILE_NAME}', this.h.getSlotContent(`name`) || '').trim() : null}\n\t\t\t\t\t\taria-labelledby={this.accessibleRemoveLabelledBy}\n\t\t\t\t\t\ton-gov-click={this.govRemove.emit}\n\t\t\t\t\t>\n\t\t\t\t\t\t<gov-icon slot=\"icon-start\" name=\"x-lg\" type=\"components\"></gov-icon>\n\t\t\t\t\t</gov-button>\n\t\t\t\t</div>\n\n\t\t\t\t{this.h.hasSlot('message') && (\n\t\t\t\t\t<div class={AttachmentsItemClass.messages}>\n\t\t\t\t\t\t<slot name=\"message\"/>\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 * Validate the accessible attributes of the component\n\t */\n\t@Method()\n\tasync validateAccessibility(): Promise<void> {\n\t\tvalidateAccessibleLabel(this.accessibleRemoveLabel, this.accessibleRemoveLabelledBy, AttachmentsItemClass.root, this.host)\n\t}\n}\n","import { Component, Element, h, Host, Method, Prop, Watch } from '@stencil/core'\nimport {FormMessageClass, FormMessageSizesTypes, FormMessageColors, FormMessageColorType} from './constants'\nimport { govHost } from '../../../helpers/Dom/template'\nimport { GovHost } from '../../../helpers/Dom/template.types'\nimport { validateProp } from '../../../helpers/Validate/props'\nimport { createID } from '../../../utils/string.utils'\n\n@Component({\n\ttag: 'gov-form-message',\n})\nexport class GovFormMessage {\n\th: GovHost\n\tprivate readonly messageId: string\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t\tthis.messageId = createID('GovFormMessage')\n\t}\n\n\t@Element() host: HTMLGovFormMessageElement\n\t/**\n\t * Style variation of the message.\n\t */\n\t@Prop({ attribute: 'color' }) readonly color?: FormMessageColorType = 'neutral'\n\t/**\n\t * Message's size.\n\t */\n\t@Prop() readonly size?: FormMessageSizesTypes = 'm'\n\n\t@Watch('color')\n\tvalidateColor(newValue: string): void {\n\t\tvalidateProp(FormMessageColors, newValue, FormMessageClass.root)\n\t}\n\n\tcomponentWillLoad(): void {\n\t\tthis.validateColor(this.color)\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={this.h.classes(FormMessageClass.root)} color={this.color} size={this.size}>\n\t\t\t\t{this.h.hasSlot('icon') && (\n\t\t\t\t\t<slot name=\"icon\" />\n\t\t\t\t)}\n\t\t\t\t<span id={this.messageId} class={FormMessageClass.content}>\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\t/**\n\t * Returns unique identifier of message\n\t */\n\t@Method()\n\tasync identifier(): Promise<string> {\n\t\treturn this.messageId\n\t}\n}\n"],"mappings":"8ZAAO,MAAMA,EAAmB,CAC/BC,KAAM,kBACNC,MAAO,yBACPC,KAAM,yBAGA,MAAMC,EAAuB,CACnCH,KAAM,uBACNI,KAAM,6BACNC,KAAM,6BACNC,SAAU,kC,MCCEC,EAAc,MAG1B,WAAAC,CAAAC,G,UACCC,KAAKC,EAAIC,EAAQF,KAAKG,KACtB,CAYD,wBAAMC,GACL,GAAIC,IAA2B,OACxBC,EAAM,WACNN,KAAKO,c,EA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,aAAatC,KAAK,OAAO8B,KAAK,iBAI9CxB,KAAKC,EAAEgC,QAAQ,YACfhC,EAAK,OAAAS,IAAA,2CAAAC,MAAOlB,EAAqBG,UAChCK,EAAM,QAAAS,IAAA,2CAAAhB,KAAK,a,CAWhB,2BAAMyB,GACLe,EAAwBlC,KAAKkB,sBAAuBlB,KAAK6B,2BAA4BpC,EAAqBH,KAAMU,KAAKG,K,6CCvE1GgC,EAAc,MAI1B,WAAArC,CAAAC,G,UASuCC,KAAKuB,MAA0B,UAIrDvB,KAAIyB,KAA2B,IAZ/CzB,KAAKC,EAAIC,EAAQF,KAAKG,MACtBH,KAAKoC,UAAYC,EAAS,iBAC1B,CAaD,aAAAC,CAAcC,GACbC,EAAaC,EAAmBF,EAAUG,EAAiBpD,K,CAG5D,iBAAAqD,GACC3C,KAAKsC,cAActC,KAAKuB,M,CAGzB,MAAAf,GACC,OACCP,EAACQ,EAAK,CAAAC,IAAA,2CAAAC,MAAOX,KAAKC,EAAEW,QAAQ8B,EAAiBpD,MAAOiC,MAAOvB,KAAKuB,MAAOE,KAAMzB,KAAKyB,MAChFzB,KAAKC,EAAEgC,QAAQ,SACfhC,EAAM,QAAAS,IAAA,2CAAAhB,KAAK,SAEZO,EAAM,QAAAS,IAAA,2CAAAkC,GAAI5C,KAAKoC,UAAWzB,MAAO+B,EAAiBG,SACjD5C,EAAQ,QAAAS,IAAA,8C,CAUZ,gBAAMoC,GACL,OAAO9C,KAAKoC,S","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ import{r as s,h as t,H as r,g as e}from"./p-ClISz4NF.js";import{G as o}from"./p-C6JN9gdb.js";import{g as c}from"./p-CoD1xawt.js";import"./p-BcQO4NH2.js";const a=class{constructor(t){s(this,t);this.h=c(this.host)}render(){return t(r,{key:"709f373fe63ba089e6c37ed7c61359e7b07a67e2",class:this.h.classes(o.root),role:"list"},t("slot",{key:"acb0cc5b4279d57c375c7cee80ebf305809dfd4d"}))}get host(){return e(this)}};export{a as gov_grid};
2
+ //# sourceMappingURL=p-852310d9.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["GovGrid","constructor","hostRef","this","h","govHost","host","render","Host","key","class","classes","GridClass","root","role"],"sources":["../../../packages/core/src/components/gov-grid/gov-grid.tsx"],"sourcesContent":["import { Component, Element, h, Host, Prop } from '@stencil/core'\nimport { GridClass, GridSizesType } from './constants'\nimport { govHost } from '../../helpers/Dom/template'\nimport { GovHost } from '../../helpers/Dom/template.types'\n\n@Component({\n\ttag: 'gov-grid',\n})\nexport class GovGrid {\n\tprivate h: GovHost\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() host: HTMLGovGridElement\n\n\t/**\n\t * Horizontal align of cells\n\t */\n\t@Prop({ attribute: 'align-items', reflect: true }) alignItems?: 'start' | 'center' | 'end' | 'stretch';\n\n\t/**\n\t * Vertical align of cells\n\t */\n\t@Prop({ attribute: 'justify-items', reflect: true }) justifyItems?: 'start' | 'center' | 'end' | 'stretch';\n\n\t/**\n\t * The gap property creates consistent spacing between flex items in the container.\n\t */\n\t@Prop({ attribute: 'gap', reflect: true }) gap?: GridSizesType;\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={this.h.classes(GridClass.root)} role=\"list\">\n\t\t\t\t<slot></slot>\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"],"mappings":"+JAQaA,EAAO,MAGnB,WAAAC,CAAAC,G,UACCC,KAAKC,EAAIC,EAAQF,KAAKG,KACtB,CAmBD,MAAAC,GACC,OACCH,EAACI,EAAI,CAAAC,IAAA,2CAACC,MAAOP,KAAKC,EAAEO,QAAQC,EAAUC,MAAOC,KAAK,QACjDV,EAAa,QAAAK,IAAA,6C","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ import{r as o,c as r,h as g,H as a,g as p}from"./p-ClISz4NF.js";import{c as i,F as t,a as e,b as m}from"./p-BUmDydor.js";import{g as l}from"./p-CoD1xawt.js";import{v}from"./p-NOJjz9dT.js";import{t as f}from"./p-Cjg0wpDG.js";import{p as s}from"./p-Ccwpa1ck.js";import"./p-CQvUntGY.js";import"./p-BcQO4NH2.js";import"./p-CgDnDrq5.js";import"./p-DNztiAH0.js";const n="gov-form-group,.gov-form-group,gov-form-radio-group,.gov-form-radio-group,gov-form-checkbox-group,.gov-form-checkbox-group{margin-top:0;margin-bottom:0;position:relative;display:flex;width:100%;flex-direction:column;align-items:flex-start}gov-form-group .gov-form-label__label,.gov-form-group .gov-form-label__label,gov-form-radio-group .gov-form-label__label,.gov-form-radio-group .gov-form-label__label,gov-form-checkbox-group .gov-form-label__label,.gov-form-checkbox-group .gov-form-label__label{margin:0}gov-form-group[orientation=horizontal],.gov-form-group[orientation=horizontal],gov-form-radio-group[orientation=horizontal],.gov-form-radio-group[orientation=horizontal],gov-form-checkbox-group[orientation=horizontal],.gov-form-checkbox-group[orientation=horizontal]{flex-direction:row;flex-wrap:wrap}gov-form-group[orientation=horizontal] .gov-form-label__label,.gov-form-group[orientation=horizontal] .gov-form-label__label,gov-form-radio-group[orientation=horizontal] .gov-form-label__label,.gov-form-radio-group[orientation=horizontal] .gov-form-label__label,gov-form-checkbox-group[orientation=horizontal] .gov-form-label__label,.gov-form-checkbox-group[orientation=horizontal] .gov-form-label__label{white-space:nowrap}gov-form-group[gap=xs],.gov-form-group[gap=xs],gov-form-radio-group[gap=xs],.gov-form-radio-group[gap=xs],gov-form-checkbox-group[gap=xs],.gov-form-checkbox-group[gap=xs]{gap:var(--gap, var(--spacing-xs-nudge))}gov-form-group[gap=s],.gov-form-group[gap=s],gov-form-radio-group[gap=s],.gov-form-radio-group[gap=s],gov-form-checkbox-group[gap=s],.gov-form-checkbox-group[gap=s]{gap:var(--gap, var(--spacing-s))}gov-form-group[gap=m],.gov-form-group[gap=m],gov-form-radio-group[gap=m],.gov-form-radio-group[gap=m],gov-form-checkbox-group[gap=m],.gov-form-checkbox-group[gap=m]{gap:var(--gap, var(--spacing-m))}gov-form-group[gap=l],.gov-form-group[gap=l],gov-form-radio-group[gap=l],.gov-form-radio-group[gap=l],gov-form-checkbox-group[gap=l],.gov-form-checkbox-group[gap=l]{gap:var(--gap, var(--spacing-l))}gov-form-group[gap=xl],.gov-form-group[gap=xl],gov-form-radio-group[gap=xl],.gov-form-radio-group[gap=xl],gov-form-checkbox-group[gap=xl],.gov-form-checkbox-group[gap=xl]{gap:var(--gap, var(--spacing-xl))}";const c=class{constructor(g){o(this,g);this.govChange=r(this,"gov-change");this.gap=undefined;this.orientation="vertical";this.value=undefined;this.handleChange=o=>{var r;o.stopPropagation();const g=s(this.value);if(!Array.isArray(g))return;if(o.detail.checked){this.value=[...g,o.detail.value]}else{this.value=(r=g.filter((r=>r!==o.detail.value)))!==null&&r!==void 0?r:[]}this.govChange.emit({value:this.value,component:i.root})};this.h=l(this.host)}validateGap(o){if(o){v(e,o,t.root)}}validateOrientation(o){if(o){v(m,o,t.root)}}componentWillLoad(){this.validateGap(this.gap);this.validateOrientation(this.orientation);this.value=s(this.value)}componentDidRender(){f((()=>this.rerenderComponent()))}rerenderComponent(){this.host.querySelectorAll("gov-form-checkbox").forEach((o=>{if(!o.hasAttribute("listener-attached")){o.addEventListener("gov-change",this.handleChange)}o.setAttribute("listener-attached","true");o.checked=this.value.includes(o.value)}))}render(){return g(a,{key:"05922c255d84c7e5d454096842080afb3baf7e35",gap:this.gap,class:this.h.classes(t.root),value:this.value},g("slot",{key:"b770a32c6c932f71c041bb2996c675b84ee594f0"}))}get host(){return p(this)}static get watchers(){return{gap:["validateGap"],orientation:["validateOrientation"]}}};c.style=n;export{c as gov_form_checkbox_group};
2
+ //# sourceMappingURL=p-90ab65b4.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["govFormGroupCss","GovFormCheckboxGroup","constructor","hostRef","this","gap","undefined","orientation","value","handleChange","event","stopPropagation","propsValueToArray","Array","isArray","detail","checked","_a","filter","val","govChange","emit","component","FormCheckboxGroupClass","root","h","govHost","host","validateGap","newValue","validateProp","FormGroupSizes","FormGroupClass","validateOrientation","FormGroupOrientation","componentWillLoad","componentDidRender","tick","rerenderComponent","querySelectorAll","forEach","element","hasAttribute","addEventListener","setAttribute","includes","render","Host","key","class","classes"],"sources":["../../../packages/core/src/components/gov-form/group/gov-form-group.scss?tag=gov-form-checkbox-group","../../../packages/core/src/components/gov-form/group/gov-form-checkbox-group.tsx"],"sourcesContent":["/* Form Group */\n\n@use \"sass:map\";\n@use \"../../../sass/mixins\" as mixin;\n@use \"./gov-form-group-variables\" as variable;\n\n\ngov-form-group, .gov-form-group,\ngov-form-radio-group, .gov-form-radio-group,\ngov-form-checkbox-group, .gov-form-checkbox-group {\n\t@include mixin.reset-margin();\n\t@include mixin.base(flex);\n\tflex-direction: column;\n\talign-items: flex-start;\n\t.gov-form-label__label {\n\t\tmargin: 0;\n\t}\n\n\t&[orientation=\"horizontal\"] {\n\t\tflex-direction: row;\n\t\tflex-wrap: wrap;\n\t\t.gov-form-label__label {\n\t\t\twhite-space: nowrap;\n\t\t}\n\t}\n\n\t// SIZES\n\t@each $size, $definitions in variable.$gaps {\n\t\t&[gap=\"#{$size}\"] {\n\t\t\tgap: map.get($definitions, \"gap\");\n\t\t}\n\t}\n}\n","import {Component, Element, Event, EventEmitter, h, Host, Prop, Watch} from \"@stencil/core\"\nimport {\n\tFormCheckboxGroupClass,\n\tFormGroupClass,\n\tFormGroupOrientation,\n\tFormGroupOrientationType,\n\tFormGroupSizes,\n\tFormGroupSizesType\n} from \"./constants\"\nimport {GovHost} from \"../../../helpers/Dom/template.types\"\nimport {govHost} from \"../../../helpers/Dom/template\"\nimport {validateProp} from \"../../../helpers/Validate/props\"\nimport {FormCheckboxEvent} from \"../checkbox/gov-form-checkbox.types\"\nimport {FormCheckboxGroupEvent} from \"./gov-form-group.types\"\nimport {tick} from \"../../../utils/stencil.utils\"\nimport {propsValueToArray} from \"../../../utils/array.utils\"\n\n@Component({\n\ttag: \"gov-form-checkbox-group\",\n\tstyleUrl: \"gov-form-group.scss\",\n})\nexport class GovFormCheckboxGroup {\n\tprivate readonly h: GovHost\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() host: HTMLGovFormGroupElement\n\t/**\n\t * Gap's size.\n\t */\n\t@Prop() readonly gap?: FormGroupSizesType = undefined\n\t/**\n\t * Elements orientation\n\t */\n\t@Prop() readonly orientation?: FormGroupOrientationType = 'vertical'\n\t/**\n\t * Group's value\n\t */\n\t@Prop({attribute: \"value\", mutable: true}) value?: string | string[] = undefined\n\t/**\n /* Emitted when the checkbox change value.\n\t */\n\t@Event({eventName: \"gov-change\"}) govChange: EventEmitter<FormCheckboxGroupEvent>\n\n\t@Watch(\"gap\")\n\tvalidateGap(newValue: string): void {\n\t\tif (newValue) {\n\t\t\tvalidateProp(FormGroupSizes, newValue, FormGroupClass.root)\n\t\t}\n\t}\n\n\t@Watch(\"orientation\")\n\tvalidateOrientation(newValue: string): void {\n\t\tif (newValue) {\n\t\t\tvalidateProp(FormGroupOrientation, newValue, FormGroupClass.root)\n\t\t}\n\t}\n\n\thandleChange = (event: CustomEvent<FormCheckboxEvent>) => {\n\t\tevent.stopPropagation()\n\t\tconst value = propsValueToArray<string[]>(this.value);\n\t\tif (!Array.isArray(value)) return;\n\t\tif (event.detail.checked) {\n\t\t\tthis.value = [...value, event.detail.value]\n\t\t} else {\n\t\t\tthis.value = value.filter((val) => val !== event.detail.value) ?? []\n\t\t}\n\t\tthis.govChange.emit({\n\t\t\tvalue: this.value,\n\t\t\tcomponent: FormCheckboxGroupClass.root,\n\t\t})\n\t}\n\n\tcomponentWillLoad(): void {\n\t\tthis.validateGap(this.gap)\n\t\tthis.validateOrientation(this.orientation)\n\t\tthis.value = propsValueToArray(this.value)\n\t}\n\n\tcomponentDidRender(): void {\n\t\ttick(() => this.rerenderComponent())\n\t}\n\n\trerenderComponent(): void {\n\t\tthis.host.querySelectorAll('gov-form-checkbox').forEach((element) => {\n\t\t\tif (!element.hasAttribute('listener-attached')) {\n\t\t\t\telement.addEventListener('gov-change', this.handleChange)\n\t\t\t}\n\t\t\telement.setAttribute('listener-attached', 'true')\n\t\t\telement.checked = this.value.includes(element.value);\n\t\t})\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host gap={this.gap} class={this.h.classes(FormGroupClass.root)} value={this.value}>\n\t\t\t\t<slot></slot>\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"],"mappings":"oWAAA,MAAMA,EAAkB,usE,MCqBXC,EAAoB,MAGhC,WAAAC,CAAAC,G,8CAQiBC,KAAGC,IAAwBC,UAI3BF,KAAWG,YAA8B,WAIfH,KAAKI,MAAuBF,UAoBvEF,KAAAK,aAAgBC,I,MACfA,EAAMC,kBACN,MAAMH,EAAQI,EAA4BR,KAAKI,OAC/C,IAAKK,MAAMC,QAAQN,GAAQ,OAC3B,GAAIE,EAAMK,OAAOC,QAAS,CACzBZ,KAAKI,MAAQ,IAAIA,EAAOE,EAAMK,OAAOP,M,KAC/B,CACNJ,KAAKI,OAAQS,EAAAT,EAAMU,QAAQC,GAAQA,IAAQT,EAAMK,OAAOP,WAAU,MAAAS,SAAA,EAAAA,EAAA,E,CAEnEb,KAAKgB,UAAUC,KAAK,CACnBb,MAAOJ,KAAKI,MACZc,UAAWC,EAAuBC,MACjC,EA/CFpB,KAAKqB,EAAIC,EAAQtB,KAAKuB,KACtB,CAqBD,WAAAC,CAAYC,GACX,GAAIA,EAAU,CACbC,EAAaC,EAAgBF,EAAUG,EAAeR,K,EAKxD,mBAAAS,CAAoBJ,GACnB,GAAIA,EAAU,CACbC,EAAaI,EAAsBL,EAAUG,EAAeR,K,EAmB9D,iBAAAW,GACC/B,KAAKwB,YAAYxB,KAAKC,KACtBD,KAAK6B,oBAAoB7B,KAAKG,aAC9BH,KAAKI,MAAQI,EAAkBR,KAAKI,M,CAGrC,kBAAA4B,GACCC,GAAK,IAAMjC,KAAKkC,qB,CAGjB,iBAAAA,GACClC,KAAKuB,KAAKY,iBAAiB,qBAAqBC,SAASC,IACxD,IAAKA,EAAQC,aAAa,qBAAsB,CAC/CD,EAAQE,iBAAiB,aAAcvC,KAAKK,a,CAE7CgC,EAAQG,aAAa,oBAAqB,QAC1CH,EAAQzB,QAAUZ,KAAKI,MAAMqC,SAASJ,EAAQjC,MAAM,G,CAItD,MAAAsC,GACC,OACCrB,EAACsB,EAAK,CAAAC,IAAA,2CAAA3C,IAAKD,KAAKC,IAAK4C,MAAO7C,KAAKqB,EAAEyB,QAAQlB,EAAeR,MAAOhB,MAAOJ,KAAKI,OAC5EiB,EAAa,QAAAuB,IAAA,6C","ignoreList":[]}
@@ -1,2 +1,2 @@
1
- import{r as t,c as s,h as i,H as e,g as h}from"./p-ClISz4NF.js";import{p as o}from"./p-CQvUntGY.js";import{S as a}from"./p-BcQO4NH2.js";import{g as n,a as r,t as c}from"./p-CoD1xawt.js";import{v as l}from"./p-NOJjz9dT.js";import{A as f,a as p}from"./p-Bz_RzYFb.js";import{g as u}from"./p-B6CqPcY_.js";import{t as d}from"./p-Cjg0wpDG.js";import{a as m}from"./p-DNztiAH0.js";import{c as b}from"./p-vN03FcXN.js";import{i as v}from"./p-CzXeijOj.js";import"./p-CgDnDrq5.js";import"./p-EeKNA85D.js";import"./p-U40vKHrs.js";import"./p-DYcNEwSZ.js";import"./p-DBXGhafv.js";const g=o(a,["_S","_M","_L"]);const j={root:"gov-form-range",fill:"gov-form-range--fill",input:"gov-form-range--input"};const C=class{constructor(i){t(this,i);this.govFocus=s(this,"gov-focus");this.govBlur=s(this,"gov-blur");this.govInput=s(this,"gov-input");this.size="m";this.tooltip=false;this.input=false;this.required=false;this.disabled=false;this.inheritedAttributes={};this.h=n(this.host);this.f=u(this.h);this.inputId=b("GovInput")}validateSize(t){l(g,t,j.root)}watchValue(){this.controlOutputPosition()}watchControlAttrs(){this.passControlAttrs()}passControlAttrs(){this.f.passAttrToControl("size",this.size);this.f.passAttrToControl("success",r(this.success));this.f.passAttrToControl("disabled",r(this.disabled));this.f.passAttrToControl("invalid",r(this.invalid))}get getThumbWidth(){const t=window.getComputedStyle(this.inputRef);return parseFloat(t.getPropertyValue("--thumb-size"))||1}controlOutputPosition(){const t=+this.value;const s=+this.inputRef.min;const i=+this.inputRef.max;const e=this.getThumbWidth*16;const h=this.inputRef.offsetWidth;const o=(t-s)/(i-s)*100;let a=o/100*(h-e)+e/2;if(this.outputRef){this.outputRef.textContent=this.value;const t=this.outputRef.offsetWidth/2;this.outputRef.style.left=`${a-t}px`}if(this.fillRef){this.fillRef.style.width=`${a}px`}}componentDidLoad(){this.attributeObserver=new f(this.host,((t,s)=>{this.onAriaAttributeChange(t,s)}));this.attributeObserver.startObserving(p)}componentWillLoad(){this.validateSize(this.size);this.inheritedAttributes=v(this.host)}componentDidRender(){this.passControlAttrs();this.f.passAttrToLabel("required",String(this.required));d(this.controlOutputPosition.bind(this))}onAriaAttributeChange(t,s){this.host.removeAttribute(t);this.inheritedAttributes=Object.assign(Object.assign({},this.inheritedAttributes),{[t]:s})}disconnectedCallback(){var t;(t=this.attributeObserver)===null||t===void 0?void 0:t.stopObserving()}render(){return i(e,{key:"52936cc832e35b7f79520c2f89b2a119e769b994",class:j.root,size:this.size},this.h.hasSlot("prefix")&&i("slot",{key:"1f5d3e1d537be5f431cbf4ba366627d82c2daa01",name:"prefix"}),i("span",{key:"cbabb9ff252fbabdd8b2f813de71b31c1a1444e6",class:"element"},i("input",Object.assign({key:"02dd3f62cb518c965c0f5529ae3b213a9c6fd649",type:"range",ref:t=>this.inputRef=t,onInput:this.onInputHandler.bind(this),onFocus:this.onFocusHandler.bind(this),onBlur:this.onBlurHandler.bind(this),id:this.identifier||this.inputId,name:this.name,min:this.min,max:this.max,step:this.step,list:this.listIdentifier,value:this.value,required:this.required,disabled:this.disabled},this.inheritedAttributes,{"aria-required":c(this.required),"aria-invalid":c(this.invalid),"aria-disabled":c(this.disabled)})),i("div",{key:"fff23dd770c71878eae67df3f96b514c3f55ea2e",class:j.fill,ref:t=>this.fillRef=t}),this.tooltip?i("output",{htmlFor:this.name,ref:t=>this.outputRef=t},this.value):null,i("slot",{key:"32a7919602b2527a97bf019ec74744bedd0ef51f",name:"datalist"})),this.h.hasSlot("sufix")&&i("slot",{key:"e9efd215bb9895a6c11666eb694b6c47f8132f12",name:"sufix"}),this.input?i("gov-form-input",Object.assign({"on-gov-input":this.onCustomInputHandler.bind(this),class:j.input,size:this.size,value:this.value,disabled:this.disabled},this.inheritedAttributes)):null)}onCustomInputHandler(t){const s=t.target.value;if(this.step&&m(+this.step)){const i=+s;const e=+this.min;const h=+this.max;const o=+this.step;if(isNaN(i)){return false}if(i<e||i>h){return false}const a=i-e;if(a%o!==0){return false}this.value=s;this.govInput.emit({component:j.root,value:this.value,originalEvent:t})}}onInputHandler(t){this.value=t.target.value;t.stopPropagation();this.govInput.emit({component:j.root,value:this.value,originalEvent:t})}onFocusHandler(t){t.stopPropagation();this.govFocus.emit({component:j.root,value:this.value,originalEvent:t})}onBlurHandler(t){t.stopPropagation();this.govBlur.emit({component:j.root,value:this.value,originalEvent:t})}async setFocus(t){return this.inputRef.focus(t)}async setValue(t){this.value=t}async clearValue(){this.value="";this.inputRef.value=""}async getRef(){return this.inputRef}get host(){return h(this)}static get watchers(){return{size:["validateSize","watchControlAttrs"],value:["watchValue"],disabled:["watchControlAttrs"],invalid:["watchControlAttrs"],success:["watchControlAttrs"]}}};export{C as gov_form_range};
2
- //# sourceMappingURL=p-2cfa670d.entry.js.map
1
+ import{r as t,c as s,h as i,H as e,g as h}from"./p-ClISz4NF.js";import{p as a}from"./p-CQvUntGY.js";import{S as o}from"./p-BcQO4NH2.js";import{g as n,a as r,t as c}from"./p-CoD1xawt.js";import{v as l}from"./p-NOJjz9dT.js";import{A as p,a as u}from"./p-Bz_RzYFb.js";import{g as d}from"./p-B6CqPcY_.js";import{t as f}from"./p-Cjg0wpDG.js";import{a as m}from"./p-DNztiAH0.js";import{c as v}from"./p-vN03FcXN.js";import{i as b}from"./p-CzXeijOj.js";import"./p-CgDnDrq5.js";import"./p-EeKNA85D.js";import"./p-U40vKHrs.js";import"./p-DYcNEwSZ.js";import"./p-DBXGhafv.js";const g=a(o,["_S","_M","_L"]);const j={root:"gov-form-range",fill:"gov-form-range--fill",input:"gov-form-range--input"};const C=class{constructor(i){t(this,i);this.govFocus=s(this,"gov-focus");this.govBlur=s(this,"gov-blur");this.govInput=s(this,"gov-input");this.size="m";this.tooltip=false;this.input=false;this.required=false;this.disabled=false;this.inheritedAttributes={};this.h=n(this.host);this.f=d(this.h);this.inputId=v("GovInput")}validateSize(t){l(g,t,j.root)}watchValue(){this.controlOutputPosition()}watchControlAttrs(){this.passControlAttrs()}passControlAttrs(){this.f.passAttrToControl("size",this.size);this.f.passAttrToControl("success",r(this.success));this.f.passAttrToControl("disabled",r(this.disabled));this.f.passAttrToControl("invalid",r(this.invalid))}get getThumbWidth(){const t=window.getComputedStyle(this.inputRef);return parseFloat(t.getPropertyValue("--thumb-size"))||1}controlOutputPosition(){const t=+this.value;const s=+this.inputRef.min;const i=+this.inputRef.max;const e=this.getThumbWidth*16;const h=this.inputRef.offsetWidth;const a=(t-s)/(i-s)*100;let o=a/100*(h-e)+e/2;if(this.outputRef){this.outputRef.textContent=this.value;const t=this.outputRef.offsetWidth/2;this.outputRef.style.left=`${o-t}px`}if(this.fillRef){this.fillRef.style.width=`${o}px`}}componentDidLoad(){this.attributeObserver=new p(this.host,((t,s)=>{this.onAriaAttributeChange(t,s)}));this.attributeObserver.startObserving(u)}componentWillLoad(){this.validateSize(this.size);this.inheritedAttributes=b(this.host)}componentDidRender(){this.passControlAttrs();this.f.passAttrToLabel("required",String(this.required));f(this.controlOutputPosition.bind(this))}onAriaAttributeChange(t,s){this.host.removeAttribute(t);this.inheritedAttributes=Object.assign(Object.assign({},this.inheritedAttributes),{[t]:s})}disconnectedCallback(){var t;(t=this.attributeObserver)===null||t===void 0?void 0:t.stopObserving()}render(){return i(e,{key:"28444cac3f85772d0efb301cb43219c184f8f2fe",class:j.root,size:this.size},this.h.hasSlot("prefix")&&i("slot",{key:"3ec11551a934f90dd8ee821b11e626a07b865ed0",name:"prefix"}),i("span",{key:"63ac5b2b977124208fe55f237d378cbb7d20e72f",class:"element"},i("input",Object.assign({key:"802a3145c61e9074733e80ae5a66094ae0b9657d",type:"range",ref:t=>this.inputRef=t,onInput:this.onInputHandler.bind(this),onFocus:this.onFocusHandler.bind(this),onBlur:this.onBlurHandler.bind(this),id:this.identifier||this.inputId,name:this.name,min:this.min,max:this.max,step:this.step,list:this.listIdentifier,value:this.value,required:this.required,disabled:this.disabled},this.inheritedAttributes,{"aria-required":c(this.required),"aria-invalid":c(this.invalid),"aria-disabled":c(this.disabled)})),i("div",{key:"3aa0f6ab956c1d3f58d256b137dc4bde129d2eba",class:j.fill,ref:t=>this.fillRef=t}),this.tooltip?i("output",{htmlFor:this.name,ref:t=>this.outputRef=t},this.value):null,i("slot",{key:"b71ca566187911623048a030870330d0b42ae1fd",name:"datalist"})),this.h.hasSlot("sufix")&&i("slot",{key:"18e53573e7b90cba853deead846b30325727e3d1",name:"sufix"}),this.input?i("gov-form-input",Object.assign({"on-gov-input":this.onCustomInputHandler.bind(this),class:j.input,size:this.size,value:this.value,disabled:this.disabled},this.inheritedAttributes)):null)}onCustomInputHandler(t){const s=t.target.value;if(this.step&&m(+this.step)){const i=+s;const e=+this.min;const h=+this.max;const a=+this.step;if(isNaN(i)){return false}if(i<e||i>h){return false}const o=i-e;if(o%a!==0){return false}this.value=s;this.govInput.emit({component:j.root,value:this.value,originalEvent:t})}}onInputHandler(t){this.value=t.target.value;t.stopPropagation();this.govInput.emit({component:j.root,value:this.value,originalEvent:t})}onFocusHandler(t){t.stopPropagation();this.govFocus.emit({component:j.root,value:this.value,originalEvent:t})}onBlurHandler(t){t.stopPropagation();this.govBlur.emit({component:j.root,value:this.value,originalEvent:t})}async setFocus(t){return this.inputRef.focus(t)}async setValue(t){this.value=t}async clearValue(){this.value="";this.inputRef.value=""}async getRef(){return this.inputRef}get host(){return h(this)}static get watchers(){return{size:["validateSize","watchControlAttrs"],value:["watchValue"],disabled:["watchControlAttrs"],invalid:["watchControlAttrs"],success:["watchControlAttrs"]}}};export{C as gov_form_range};
2
+ //# sourceMappingURL=p-91cbee1b.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["FormRangeSizes","pick","Sizes","FormRangeClass","root","fill","input","GovFormRange","constructor","hostRef","this","size","tooltip","required","disabled","inheritedAttributes","h","govHost","host","f","govForm","inputId","createID","validateSize","newValue","validateProp","watchValue","controlOutputPosition","watchControlAttrs","passControlAttrs","passAttrToControl","toBoolAttr","success","invalid","getThumbWidth","styles","window","getComputedStyle","inputRef","parseFloat","getPropertyValue","valueInt","value","min","max","thumbWidth","rangeWidth","offsetWidth","percentage","tooltipOffset","outputRef","textContent","outputWidth","style","left","fillRef","width","componentDidLoad","attributeObserver","AttributeObserver","attributeName","onAriaAttributeChange","startObserving","ariaAttributes","componentWillLoad","inheritAriaAttributes","componentDidRender","passAttrToLabel","String","tick","bind","removeAttribute","Object","assign","disconnectedCallback","_a","stopObserving","render","Host","key","class","hasSlot","name","type","ref","el","onInput","onInputHandler","onFocus","onFocusHandler","onBlur","onBlurHandler","id","identifier","step","list","listIdentifier","toBoolAttrIfDefined","htmlFor","onCustomInputHandler","e","target","isNumber","numValue","numMin","numMax","numStep","isNaN","diff","govInput","emit","component","originalEvent","stopPropagation","govFocus","govBlur","setFocus","options","focus","setValue","clearValue","getRef"],"sources":["../../../packages/core/src/components/gov-form/range/constants.ts","../../../packages/core/src/components/gov-form/range/gov-form-range.tsx"],"sourcesContent":["import {pick} from \"../../../utils/utils\";\nimport {Sizes} from \"../../../core/constants/sizes\";\nimport {ValueOf} from \"../../../types/interfaces\";\n\nexport const FormRangeSizes = pick(Sizes, ['_S', '_M', '_L'])\nexport type FormRangeSizesType = `${ValueOf<typeof FormRangeSizes>}`\n\nexport const FormRangeClass = {\n\troot: 'gov-form-range',\n\tfill: 'gov-form-range--fill',\n\tinput: 'gov-form-range--input',\n}\n","import {Component, Element, Event, EventEmitter, h, Host, Method, Prop, State, Watch} from '@stencil/core'\nimport {FormRangeClass, FormRangeSizes, FormRangeSizesType} from './constants'\nimport {GovHost} from \"../../../helpers/Dom/template.types\";\nimport {govHost, toBoolAttr, toBoolAttrIfDefined} from \"../../../helpers/Dom/template\";\nimport {validateProp} from \"../../../helpers/Validate/props\";\nimport {AttributeObserver, Attributes} from \"../../../helpers/Dom/attribute\";\nimport {GovForm} from \"../../../helpers/Dom/form.types\";\nimport {govForm} from \"../../../helpers/Dom/form\";\nimport {tick} from \"../../../utils/stencil.utils\";\nimport {isNumber} from \"../../../utils/helpers.types\";\nimport {createID} from \"../../../utils/string.utils\";\nimport {FormInputEvent} from \"../input/gov-form-input.types\";\nimport {ariaAttributes} from \"../../../helpers/Accessibility/attributes\";\nimport {inheritAriaAttributes} from \"../../../helpers/Accessibility/accessibility\";\n\n\n@Component({\n\ttag: 'gov-form-range',\n})\nexport class GovFormRange {\n\tprivate inputRef?: HTMLInputElement\n\tprivate outputRef?: HTMLOutputElement\n\tprivate fillRef?: HTMLDivElement\n\tprivate f: GovForm\n\tprivate readonly h: GovHost\n\tprivate readonly inputId: string\n\tprivate attributeObserver: AttributeObserver\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t\tthis.f = govForm(this.h)\n\t\tthis.inputId = createID(\"GovInput\")\n\t}\n\n\t@Element() host: HTMLGovFormRangeElement\n\t/**\n\t * Range’s size\n\t */\n\t@Prop() readonly size?: FormRangeSizesType = \"m\"\n\t/**\n\t * Value of range\n\t */\n\t@Prop({reflect: true, mutable: true}) value: string\n\t/**\n\t * Custom range identifier\n\t */\n\t@Prop({attribute: \"identifier\"}) readonly identifier: string\n\t/**\n\t * Name of the range\n\t */\n\t@Prop() readonly name: string\n\t/**\n\t * Minimum value that is acceptable\n\t */\n\t@Prop() readonly min?: string | number\n\t/**\n\t * Maximum value that is acceptable\n\t */\n\t@Prop() readonly max?: string | number\n\t/**\n\t * Defines size of each step\n\t */\n\t@Prop() readonly step?: string | number\n\t/**\n\t * Show tooltip with current value\n\t */\n\t@Prop() readonly tooltip?: boolean = false\n\t/**\n\t * Show input with current value\n\t */\n\t@Prop() readonly input?: boolean = false\n\t/**\n\t * Links a <datalist/> element to a <input type=\"range\">, providing value markers as guidance for the user\n\t */\n\t@Prop() readonly listIdentifier?: string\n\t/**\n\t * Set whether the range is required or not\n\t */\n\t@Prop({reflect: true}) readonly required: boolean = false\n\t/**\n\t * Indicates the entered value of child form element does conform to the format expected by the application\n\t */\n\t@Prop({reflect: true}) readonly success: boolean\n\t/**\n\t * Indicates the entered value does not conform to the format expected by the application\n\t */\n\t@Prop({reflect: true}) readonly invalid: boolean\n\t/**\n\t * Makes the range component disabled\n\t */\n\t@Prop({reflect: true}) readonly disabled: boolean = false\n\t/**\n\t * Emitted when the input has focus.\n\t */\n\t@Event({eventName: \"gov-focus\"}) govFocus: EventEmitter<FormInputEvent>\n\t/**\n\t * Emitted when the input loses focus.\n\t */\n\t@Event({eventName: \"gov-blur\"}) govBlur: EventEmitter<FormInputEvent>\n\t/**\n\t * Emitted when the input change value.\n\t */\n\t@Event({eventName: \"gov-input\"}) govInput: EventEmitter<FormInputEvent>\n\n\n\t@Watch(\"size\")\n\tvalidateSize(newValue: string): void {\n\t\tvalidateProp(FormRangeSizes, newValue, FormRangeClass.root)\n\t}\n\n\t@Watch(\"value\")\n\twatchValue(): void {\n\t\tthis.controlOutputPosition();\n\t}\n\n\t@Watch(\"disabled\")\n\t@Watch(\"invalid\")\n\t@Watch(\"success\")\n\t@Watch(\"size\")\n\twatchControlAttrs(): void {\n\t\tthis.passControlAttrs()\n\t}\n\n\t@State() inheritedAttributes: Attributes = {}\n\n\tprivate passControlAttrs() {\n\t\tthis.f.passAttrToControl(\"size\", this.size)\n\t\tthis.f.passAttrToControl(\"success\", toBoolAttr(this.success))\n\t\tthis.f.passAttrToControl(\"disabled\", toBoolAttr(this.disabled))\n\t\tthis.f.passAttrToControl(\"invalid\", toBoolAttr(this.invalid))\n\t}\n\n\tprivate get getThumbWidth() {\n\t\tconst styles = window.getComputedStyle(this.inputRef);\n\t\treturn parseFloat(styles.getPropertyValue('--thumb-size')) || 1;\n\t}\n\n\tprivate controlOutputPosition() {\n\t\tconst valueInt = +this.value;\n\t\tconst min = +this.inputRef.min;\n\t\tconst max = +this.inputRef.max;\n\n\t\tconst thumbWidth = (this.getThumbWidth * 16);\n\t\tconst rangeWidth = this.inputRef.offsetWidth;\n\t\tconst percentage = ((valueInt - min) / (max - min)) * 100;\n\n\t\tlet tooltipOffset = ((percentage / 100) * (rangeWidth - thumbWidth)) + (thumbWidth / 2);\n\n\t\tif (this.outputRef) {\n\t\t\tthis.outputRef.textContent = this.value;\n\t\t\tconst outputWidth = this.outputRef.offsetWidth / 2;\n\t\t\tthis.outputRef.style.left = `${tooltipOffset - outputWidth}px`;\n\t\t}\n\t\tif (this.fillRef) {\n\t\t\tthis.fillRef.style.width = `${tooltipOffset}px`\n\t\t}\n\t}\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.validateSize(this.size)\n\n\t\tthis.inheritedAttributes = inheritAriaAttributes(this.host);\n\t}\n\n\tcomponentDidRender() {\n\t\tthis.passControlAttrs()\n\t\tthis.f.passAttrToLabel(\"required\", String(this.required))\n\t\ttick(this.controlOutputPosition.bind(this))\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\tdisconnectedCallback() {\n\t\tthis.attributeObserver?.stopObserving();\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={FormRangeClass.root} size={this.size}>\n\t\t\t\t{this.h.hasSlot(\"prefix\") && <slot name=\"prefix\"></slot>}\n\t\t\t\t<span class=\"element\">\n\t\t\t\t\t<input type=\"range\"\n\t\t\t\t\t\t ref={el => (this.inputRef = el)}\n\t\t\t\t\t\t onInput={this.onInputHandler.bind(this)}\n\t\t\t\t\t\t onFocus={this.onFocusHandler.bind(this)}\n\t\t\t\t\t\t onBlur={this.onBlurHandler.bind(this)}\n\t\t\t\t\t\t id={this.identifier || this.inputId}\n\t\t\t\t\t\t name={this.name}\n\t\t\t\t\t\t min={this.min}\n\t\t\t\t\t\t max={this.max}\n\t\t\t\t\t\t step={this.step}\n\t\t\t\t\t\t list={this.listIdentifier}\n\t\t\t\t\t\t value={this.value}\n\t\t\t\t\t\t required={this.required}\n\t\t\t\t\t\t disabled={this.disabled}\n\t\t\t\t\t\t {...this.inheritedAttributes}\n\t\t\t\t\t\t aria-required={toBoolAttrIfDefined(this.required)}\n\t\t\t\t\t\t aria-invalid={toBoolAttrIfDefined(this.invalid)}\n\t\t\t\t\t\t aria-disabled={toBoolAttrIfDefined(this.disabled)}\n\t\t\t\t\t/>\n\t\t\t\t\t<div class={FormRangeClass.fill} ref={el => (this.fillRef = el)}></div>\n\t\t\t\t\t{this.tooltip ?\n\t\t\t\t\t\t<output htmlFor={this.name} ref={el => (this.outputRef = el)}>\n\t\t\t\t\t\t\t{this.value}\n\t\t\t\t\t\t</output>\n\t\t\t\t\t\t: null}\n\t\t\t\t\t<slot name=\"datalist\"></slot>\n\t\t\t\t</span>\n\t\t\t\t{this.h.hasSlot(\"sufix\") && <slot name=\"sufix\"></slot>}\n\t\t\t\t{this.input ?\n\t\t\t\t\t<gov-form-input\n\t\t\t\t\t\ton-gov-input={this.onCustomInputHandler.bind(this)}\n\t\t\t\t\t\tclass={FormRangeClass.input}\n\t\t\t\t\t\tsize={this.size}\n\t\t\t\t\t\tvalue={this.value}\n\t\t\t\t\t\tdisabled={this.disabled}\n\t\t\t\t\t\t{...this.inheritedAttributes}>\n\t\t\t\t\t</gov-form-input>\n\t\t\t\t\t: null}\n\t\t\t</Host>\n\t\t)\n\t}\n\n\tonCustomInputHandler(e: InputEvent) {\n\t\tconst value = (e.target as HTMLInputElement).value;\n\t\tif (this.step && isNumber(+this.step)) {\n\t\t\tconst numValue = +value;\n\t\t\tconst numMin = +this.min;\n\t\t\tconst numMax = +this.max;\n\t\t\tconst numStep = +this.step;\n\n\t\t\tif (isNaN(numValue)) {\n\t\t\t\treturn false;\n\t\t\t}\n\n\t\t\tif (numValue < numMin || numValue > numMax) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\tconst diff = numValue - numMin;\n\t\t\tif (diff % numStep !== 0) {\n\t\t\t\treturn false;\n\t\t\t}\n\n\t\t\tthis.value = value;\n\t\t\tthis.govInput.emit({\n\t\t\t\tcomponent: FormRangeClass.root,\n\t\t\t\tvalue: this.value,\n\t\t\t\toriginalEvent: e,\n\t\t\t})\n\t\t}\n\t}\n\n\tprivate onInputHandler(e: InputEvent) {\n\t\tthis.value = (e.target as HTMLInputElement).value;\n\t\te.stopPropagation()\n\t\tthis.govInput.emit({\n\t\t\tcomponent: FormRangeClass.root,\n\t\t\tvalue: this.value,\n\t\t\toriginalEvent: e,\n\t\t})\n\t}\n\n\tprivate onFocusHandler(e: FocusEvent) {\n\t\te.stopPropagation()\n\t\tthis.govFocus.emit({\n\t\t\tcomponent: FormRangeClass.root,\n\t\t\tvalue: this.value,\n\t\t\toriginalEvent: e,\n\t\t})\n\t}\n\n\tprivate onBlurHandler(e: FocusEvent) {\n\t\te.stopPropagation()\n\t\tthis.govBlur.emit({\n\t\t\tcomponent: FormRangeClass.root,\n\t\t\tvalue: this.value,\n\t\t\toriginalEvent: e,\n\t\t})\n\t}\n\n\t/**\n\t * Returns the current state of the component\n\t */\n\t@Method()\n\tasync setFocus(options?: FocusOptions): Promise<void> {\n\t\treturn this.inputRef.focus(options)\n\t}\n\n\t/**\n\t * Sets the ordered value of the element\n\t */\n\t@Method()\n\tasync setValue(value: string): Promise<void> {\n\t\tthis.value = value\n\t}\n\n\t/**\n\t * Clears input value\n\t */\n\t@Method()\n\tasync clearValue(): Promise<void> {\n\t\tthis.value = \"\"\n\t\tthis.inputRef.value = \"\"\n\t}\n\n\t/**\n\t * Returns an instance of the native html input element\n\t */\n\t@Method()\n\tasync getRef(): Promise<HTMLInputElement> {\n\t\treturn this.inputRef\n\t}\n}\n"],"mappings":"qjBAIO,MAAMA,EAAiBC,EAAKC,EAAO,CAAC,KAAM,KAAM,OAGhD,MAAMC,EAAiB,CAC7BC,KAAM,iBACNC,KAAM,uBACNC,MAAO,yB,MCSKC,EAAY,MASxB,WAAAC,CAAAC,G,8GAUiBC,KAAIC,KAAwB,IA4B5BD,KAAOE,QAAa,MAIpBF,KAAKJ,MAAa,MAQHI,KAAQG,SAAY,MAYpBH,KAAQI,SAAY,MAiC3CJ,KAAmBK,oBAAe,GA9F1CL,KAAKM,EAAIC,EAAQP,KAAKQ,MACtBR,KAAKS,EAAIC,EAAQV,KAAKM,GACtBN,KAAKW,QAAUC,EAAS,WACxB,CA0ED,YAAAC,CAAaC,GACZC,EAAazB,EAAgBwB,EAAUrB,EAAeC,K,CAIvD,UAAAsB,GACChB,KAAKiB,uB,CAON,iBAAAC,GACClB,KAAKmB,kB,CAKE,gBAAAA,GACPnB,KAAKS,EAAEW,kBAAkB,OAAQpB,KAAKC,MACtCD,KAAKS,EAAEW,kBAAkB,UAAWC,EAAWrB,KAAKsB,UACpDtB,KAAKS,EAAEW,kBAAkB,WAAYC,EAAWrB,KAAKI,WACrDJ,KAAKS,EAAEW,kBAAkB,UAAWC,EAAWrB,KAAKuB,S,CAGrD,iBAAYC,GACX,MAAMC,EAASC,OAAOC,iBAAiB3B,KAAK4B,UAC5C,OAAOC,WAAWJ,EAAOK,iBAAiB,kBAAoB,C,CAGvD,qBAAAb,GACP,MAAMc,GAAY/B,KAAKgC,MACvB,MAAMC,GAAOjC,KAAK4B,SAASK,IAC3B,MAAMC,GAAOlC,KAAK4B,SAASM,IAE3B,MAAMC,EAAcnC,K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F,KAAKoF,MAAO,CACtC,MAAMS,GAAY7D,EAClB,MAAM8D,GAAU9F,KAAKiC,IACrB,MAAM8D,GAAU/F,KAAKkC,IACrB,MAAM8D,GAAWhG,KAAKoF,KAEtB,GAAIa,MAAMJ,GAAW,CACpB,OAAO,K,CAGR,GAAIA,EAAWC,GAAUD,EAAWE,EAAQ,CAC3C,OAAO,K,CAER,MAAMG,EAAOL,EAAWC,EACxB,GAAII,EAAOF,IAAY,EAAG,CACzB,OAAO,K,CAGRhG,KAAKgC,MAAQA,EACbhC,KAAKmG,SAASC,KAAK,CAClBC,UAAW5G,EAAeC,KAC1BsC,MAAOhC,KAAKgC,MACZsE,cAAeZ,G,EAKV,cAAAb,CAAea,GACtB1F,KAAKgC,MAAS0D,EAAEC,OAA4B3D,MAC5C0D,EAAEa,kBACFvG,KAAKmG,SAASC,KAAK,CAClBC,UAAW5G,EAAeC,KAC1BsC,MAAOhC,KAAKgC,MACZsE,cAAeZ,G,CAIT,cAAAX,CAAeW,GACtBA,EAAEa,kBACFvG,KAAKwG,SAASJ,KAAK,CAClBC,UAAW5G,EAAeC,KAC1BsC,MAAOhC,KAAKgC,MACZsE,cAAeZ,G,CAIT,aAAAT,CAAcS,GACrBA,EAAEa,kBACFvG,KAAKyG,QAAQL,KAAK,CACjBC,UAAW5G,EAAeC,KAC1BsC,MAAOhC,KAAKgC,MACZsE,cAAeZ,G,CAQjB,cAAMgB,CAASC,GACd,OAAO3G,KAAK4B,SAASgF,MAAMD,E,CAO5B,cAAME,CAAS7E,GACdhC,KAAKgC,MAAQA,C,CAOd,gBAAM8E,GACL9G,KAAKgC,MAAQ,GACbhC,KAAK4B,SAASI,MAAQ,E,CAOvB,YAAM+E,GACL,OAAO/G,KAAK4B,Q","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ import{r as s,h as t,H as o,g as r}from"./p-ClISz4NF.js";import{a}from"./p-Q99QrOoi.js";import{g as c}from"./p-CoD1xawt.js";const e=class{constructor(t){s(this,t);this.h=c(this.host)}render(){return t(o,{key:"9e86314a6f4fb229ce1b0b3ac63cfbb2c88d2e28",class:this.h.classes(a.root)},t("slot",{key:"8d2a31c1bd14511f80536b82b62c5c8a72ddf2ce"}))}get host(){return r(this)}};export{e as gov_layout_column};
2
+ //# sourceMappingURL=p-9d9e9401.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["GovLayoutColumn","constructor","hostRef","this","h","govHost","host","render","Host","key","class","classes","LayoutColumnClass","root"],"sources":["../../../packages/core/src/components/gov-layout/gov-layout-column.tsx"],"sourcesContent":["import { Component, Element, h, Host } from '@stencil/core'\nimport { LayoutColumnClass } from './constants'\nimport { govHost } from '../../helpers/Dom/template'\nimport { GovHost } from '../../helpers/Dom/template.types'\n\n@Component({\n\ttag: 'gov-layout-column',\n})\nexport class GovLayoutColumn {\n\tprivate h: GovHost\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() readonly host: HTMLGovLayoutColumnElement\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={this.h.classes(LayoutColumnClass.root)}>\n\t\t\t\t<slot />\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"],"mappings":"kIAQaA,EAAe,MAG3B,WAAAC,CAAAC,G,UACCC,KAAKC,EAAIC,EAAQF,KAAKG,KACtB,CAID,MAAAC,GACC,OACCH,EAACI,EAAI,CAAAC,IAAA,2CAACC,MAAOP,KAAKC,EAAEO,QAAQC,EAAkBC,OAC7CT,EAAQ,QAAAK,IAAA,6C","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"file":"p-B6CqPcY_.js","sources":["../../../packages/core/src/components/gov-form/checkbox/constants.ts","../../../packages/core/src/components/gov-form/control/constants.ts","../../../packages/core/src/components/gov-form/input/constants.ts","../../../packages/core/src/components/gov-form/select/constants.ts","../../../packages/core/src/components/gov-form/multiselect/constants.ts","../../../packages/core/src/components/gov-form/switch/constants.ts","../../../packages/core/src/components/gov-form/radio/constants.ts","../../../packages/core/src/helpers/Dom/form.ts"],"sourcesContent":["import { Sizes } from '../../../core/constants/sizes'\r\nimport { pick } from '../../../utils/utils'\r\nimport { ValueOf } from '../../../types/interfaces'\r\n\r\nexport const FormCheckboxSizes = pick(Sizes, ['_XS', '_S', '_M', '_L', '_XL'])\r\nexport type FormCheckboxSizesType = `${ValueOf<typeof FormCheckboxSizes>}`\r\n\r\nexport const FormCheckboxClass = {\r\n\troot: 'gov-form-checkbox',\r\n\tcheck: 'gov-form-checkbox__check',\r\n\tindeterminate: 'gov-form-checkbox__indeterminate',\r\n\tlabel: 'gov-form-checkbox__label',\r\n}\r\n","import { Sizes } from '../../../core/constants/sizes'\r\nimport { pick } from '../../../utils/utils'\r\nimport { ValueOf } from '../../../types/interfaces'\r\n\r\nexport const FormControlSizes = pick(Sizes, ['_M', '_L', '_XL'])\r\nexport type FormControlSizesType = `${ValueOf<typeof FormControlSizes>}`\r\n\r\nexport const FormControlClass = {\r\n\troot: 'gov-form-control',\r\n\tholder: 'gov-form-control__holder',\r\n\tbottom: 'gov-form-control__bottom',\r\n}\r\n","import { Sizes } from '../../../core/constants/sizes'\r\nimport { ValueOf } from '../../../types/interfaces'\r\nimport { pick } from '../../../utils/utils'\r\n\r\nexport const FormInputSizes = pick(Sizes, ['_XS', '_S', '_M', '_L', '_XL'])\r\nexport type FormInputSizesType = `${ValueOf<typeof FormInputSizes>}`\r\n\r\nexport enum InputTypes {\r\n\tCOLOR = 'color',\r\n\tDATE = 'date',\r\n\tDATETIME_LOCAL = 'datetime-local',\r\n\tEMAIL = 'email',\r\n\tMONTH = 'month',\r\n\tNUMBER = 'number',\r\n\tPASSWORD = 'password',\r\n\tSEARCH = 'search',\r\n\tTEL = 'tel',\r\n\tTEXT = 'text',\r\n\tTIME = 'time',\r\n\tURL = 'url',\r\n\tWEEK = 'week',\r\n}\r\nexport type InputType = `${ValueOf<typeof InputTypes>}`\r\n\r\nexport enum Type {\r\n\tRESET = 'reset',\r\n}\r\nexport type TypesType = `${ValueOf<typeof Type>}`\r\n\r\nexport const FormInputClass = {\r\n\troot: 'gov-form-input',\r\n\ticons: 'gov-form-input__icons',\r\n}\r\n","import { Sizes } from '../../../core/constants/sizes'\r\nimport { pick } from '../../../utils/utils'\r\nimport { ValueOf } from '../../../types/interfaces'\r\n\r\nexport const FormSelectSizes = pick(Sizes, ['_XS', '_S', '_M', '_L', '_XL'])\r\nexport type FormSelectSizesType = `${ValueOf<typeof FormSelectSizes>}`\r\n\r\nexport const FormSelectClass = {\r\n\troot: 'gov-form-select',\r\n\ticon: 'gov-form-select__icon',\r\n}\r\n","import { Sizes } from '../../../core/constants/sizes'\r\nimport { pick } from '../../../utils/utils'\r\nimport { ValueOf } from '../../../types/interfaces'\r\n\r\nexport const FormMultiselectSizes = pick(Sizes, ['_XS', '_S', '_M', '_L', '_XL'])\r\nexport type FormMultiselectSizesType = `${ValueOf<typeof FormMultiselectSizes>}`\r\n\r\nexport const FormMultiSelectClass = {\r\n\troot: 'gov-form-multi-select',\r\n\twrap: 'gov-form-multi-select__wrap',\r\n\tlist: 'gov-form-multi-select__list',\r\n\titem: 'gov-form-multi-select__item',\r\n}\r\n","import { Sizes } from '../../../core/constants/sizes'\r\nimport { ValueOf } from '../../../types/interfaces'\r\nimport { pick } from '../../../utils/utils'\r\n\r\nexport const FormSwitchSizes = pick(Sizes, ['_XS', '_S', '_M', '_L', '_XL'])\r\nexport type FormSwitchSizesType = `${ValueOf<typeof FormSwitchSizes>}`\r\n\r\nexport const FormSwitchClass = {\r\n\troot: 'gov-form-switch',\r\n\tholder: 'gov-form-switch__holder',\r\n\tinput: 'gov-form-switch__input',\r\n\tindicator: 'gov-form-switch__indicator',\r\n\tlabel: 'gov-form-switch__label',\r\n\tnoLabel: 'gov-form-switch__no-label',\r\n}\r\n","import { Sizes } from '../../../core/constants/sizes'\r\nimport { pick } from '../../../utils/utils'\r\nimport { ValueOf } from '../../../types/interfaces'\r\n\r\nexport const FormRadioSizes = pick(Sizes, ['_XS', '_S', '_M', '_L', '_XL'])\r\nexport type FormRadioSizesType = `${ValueOf<typeof FormRadioSizes>}`\r\n\r\nexport const FormRadioClass = {\r\n\troot: 'gov-form-radio',\r\n\tinput: 'gov-form-radio__input',\r\n\tindicator: 'gov-form-radio__indicator',\r\n\tlabel: 'gov-form-radio__label',\r\n}\r\n","import { GovHost } from './template.types'\r\nimport { GovForm } from './form.types'\r\nimport { FormControlClass } from '../../components/gov-form/control/constants'\r\nimport { FormInputClass } from '../../components/gov-form/input/constants'\r\nimport { FormSelectClass } from '../../components/gov-form/select/constants'\r\nimport { FormMultiSelectClass } from '../../components/gov-form/multiselect/constants'\r\nimport { FormSwitchClass } from '../../components/gov-form/switch/constants'\r\nimport { FormCheckboxClass } from '../../components/gov-form/checkbox/constants'\r\nimport { FormRadioClass } from '../../components/gov-form/radio/constants'\r\nimport { FormMessageClass } from '../../components/gov-form/message/constants'\r\nimport { FormAutocompleteClass } from '../../components/gov-form/autocomplete/constants'\r\nimport { Nullable } from '../../types/interfaces'\r\nimport { FormLabelClass } from \"../../components/gov-form/label/constants\"\r\n\r\nexport const govForm = (govHost: GovHost): GovForm => {\r\n\treturn {\r\n\t\tget govHost(): GovHost {\r\n\t\t\treturn govHost\r\n\t\t},\r\n\t\tpassAttrToControl(name: string, value: string): void {\r\n\t\t\tif (this.control) {\r\n\t\t\t\tthis.control.setAttribute(name, value)\r\n\t\t\t}\r\n\t\t},\r\n\t\tpassAttrToLabel(name: string, value: string): void {\r\n\t\t\tif (this.label) {\r\n\t\t\t\tthis.label.setAttribute(name, value)\r\n\t\t\t}\r\n\t\t},\r\n\t\tget hasGroupChildren(): boolean {\r\n\t\t\tif (this.control) {\r\n\t\t\t\treturn this.control.querySelectorAll('gov-form-group > *, gov-form-radio-group > *, gov-form-checkbox-group > *').length > 1\r\n\t\t\t}\r\n\t\t\treturn false\r\n\t\t},\r\n\t\tget control(): Nullable<HTMLGovFormControlElement> {\r\n\t\t\tif (this.govHost.name === FormControlClass.root) {\r\n\t\t\t\treturn this.govHost.hostElement\r\n\t\t\t}\r\n\t\t\treturn this.govHost.getParent(FormControlClass.root)\r\n\t\t},\r\n\t\tget label(): Nullable<HTMLGovFormLabelElement> {\r\n\t\t\tconst innerLabel = this.govHost.hostElement.querySelector(`.${FormLabelClass.root}`)\r\n\t\t\tif(innerLabel) {\r\n\t\t\t\treturn innerLabel\r\n\t\t\t}\r\n\t\t\tif (this.control) {\r\n\t\t\t\treturn this.control.querySelector(`.${FormLabelClass.root}`)\r\n\t\t\t}\r\n\t\t\treturn null\r\n\t\t},\r\n\t\tget mainElementsInControl(): Element[] {\r\n\t\t\tconst formElements = [\r\n\t\t\t\tFormSelectClass.root,\r\n\t\t\t\tFormInputClass.root,\r\n\t\t\t\tFormSwitchClass.root,\r\n\t\t\t\tFormCheckboxClass.root,\r\n\t\t\t\tFormRadioClass.root,\r\n\t\t\t\tFormMultiSelectClass.root,\r\n\t\t\t\tFormAutocompleteClass.root,\r\n\t\t\t]\r\n\t\t\tif (this.control) {\r\n\t\t\t\tconst elements = formElements.map(el => `${el}:first-of-type`).join(', ')\r\n\t\t\t\treturn Array.from(this.control.querySelectorAll(elements))\r\n\t\t\t}\r\n\t\t\treturn []\r\n\t\t},\r\n\t\tget messageElements(): HTMLGovFormMessageElement[] {\r\n\t\t\tif (this.control) {\r\n\t\t\t\treturn Array.from(this.control.querySelectorAll(FormMessageClass.root))\r\n\t\t\t}\r\n\t\t\treturn []\r\n\t\t},\r\n\t}\r\n}\r\n"],"names":[],"mappings":";;;;;;MAIa,iBAAiB,GAAG,IAAI,CAAC,KAAK,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,CAAC;AAGhE,MAAA,iBAAiB,GAAG;AAChC,IAAA,IAAI,EAAE,mBAAmB;AACzB,IAAA,KAAK,EAAE,0BAA0B;AACjC,IAAA,aAAa,EAAE,kCAAkC;AACjD,IAAA,KAAK,EAAE,0BAA0B;;;ACPF,IAAI,CAAC,KAAK,EAAE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AC,IAAI;AACnB,gBAAA,oBAAoB,CAAC,IAAI;AACzB,gBAAA,qBAAqB,CAAC,IAAI;aAC1B;AACD,YAAA,IAAI,IAAI,CAAC,OAAO,EAAE;AACjB,gBAAA,MAAM,QAAQ,GAAG,YAAY,CAAC,GAAG,CAAC,EAAE,IAAI,CAAG,EAAA,EAAE,gBAAgB,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC;AACzE,gBAAA,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,gBAAgB,CAAC,QAAQ,CAAC,CAAC;;AAE3D,YAAA,OAAO,EAAE;SACT;AACD,QAAA,IAAI,eAAe,GAAA;AAClB,YAAA,IAAI,IAAI,CAAC,OAAO,EAAE;AACjB,gBAAA,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,gBAAgB,CAAC,gBAAgB,CAAC,IAAI,CAAC,CAAC;;AAExE,YAAA,OAAO,EAAE;SACT;KACD;AACF;;;;"}
1
+ {"version":3,"file":"p-B6CqPcY_.js","sources":["../../../packages/core/src/components/gov-form/checkbox/constants.ts","../../../packages/core/src/components/gov-form/control/constants.ts","../../../packages/core/src/components/gov-form/input/constants.ts","../../../packages/core/src/components/gov-form/select/constants.ts","../../../packages/core/src/components/gov-form/multiselect/constants.ts","../../../packages/core/src/components/gov-form/switch/constants.ts","../../../packages/core/src/components/gov-form/radio/constants.ts","../../../packages/core/src/helpers/Dom/form.ts"],"sourcesContent":["import { Sizes } from '../../../core/constants/sizes'\nimport { pick } from '../../../utils/utils'\nimport { ValueOf } from '../../../types/interfaces'\n\nexport const FormCheckboxSizes = pick(Sizes, ['_XS', '_S', '_M', '_L', '_XL'])\nexport type FormCheckboxSizesType = `${ValueOf<typeof FormCheckboxSizes>}`\n\nexport const FormCheckboxClass = {\n\troot: 'gov-form-checkbox',\n\tcheck: 'gov-form-checkbox__check',\n\tindeterminate: 'gov-form-checkbox__indeterminate',\n\tlabel: 'gov-form-checkbox__label',\n}\n","import { Sizes } from '../../../core/constants/sizes'\nimport { pick } from '../../../utils/utils'\nimport { ValueOf } from '../../../types/interfaces'\n\nexport const FormControlSizes = pick(Sizes, ['_M', '_L', '_XL'])\nexport type FormControlSizesType = `${ValueOf<typeof FormControlSizes>}`\n\nexport const FormControlClass = {\n\troot: 'gov-form-control',\n\tholder: 'gov-form-control__holder',\n\tbottom: 'gov-form-control__bottom',\n}\n","import { Sizes } from '../../../core/constants/sizes'\nimport { ValueOf } from '../../../types/interfaces'\nimport { pick } from '../../../utils/utils'\n\nexport const FormInputSizes = pick(Sizes, ['_XS', '_S', '_M', '_L', '_XL'])\nexport type FormInputSizesType = `${ValueOf<typeof FormInputSizes>}`\n\nexport enum InputTypes {\n\tCOLOR = 'color',\n\tDATE = 'date',\n\tDATETIME_LOCAL = 'datetime-local',\n\tEMAIL = 'email',\n\tMONTH = 'month',\n\tNUMBER = 'number',\n\tPASSWORD = 'password',\n\tSEARCH = 'search',\n\tTEL = 'tel',\n\tTEXT = 'text',\n\tTIME = 'time',\n\tURL = 'url',\n\tWEEK = 'week',\n}\nexport type InputType = `${ValueOf<typeof InputTypes>}`\n\nexport enum Type {\n\tRESET = 'reset',\n}\nexport type TypesType = `${ValueOf<typeof Type>}`\n\nexport const FormInputClass = {\n\troot: 'gov-form-input',\n\ticons: 'gov-form-input__icons',\n}\n","import { Sizes } from '../../../core/constants/sizes'\nimport { pick } from '../../../utils/utils'\nimport { ValueOf } from '../../../types/interfaces'\n\nexport const FormSelectSizes = pick(Sizes, ['_XS', '_S', '_M', '_L', '_XL'])\nexport type FormSelectSizesType = `${ValueOf<typeof FormSelectSizes>}`\n\nexport const FormSelectClass = {\n\troot: 'gov-form-select',\n\ticon: 'gov-form-select__icon',\n}\n","import { Sizes } from '../../../core/constants/sizes'\nimport { pick } from '../../../utils/utils'\nimport { ValueOf } from '../../../types/interfaces'\n\nexport const FormMultiselectSizes = pick(Sizes, ['_XS', '_S', '_M', '_L', '_XL'])\nexport type FormMultiselectSizesType = `${ValueOf<typeof FormMultiselectSizes>}`\n\nexport const FormMultiSelectClass = {\n\troot: 'gov-form-multi-select',\n\twrap: 'gov-form-multi-select__wrap',\n\tlist: 'gov-form-multi-select__list',\n\titem: 'gov-form-multi-select__item',\n}\n","import { Sizes } from '../../../core/constants/sizes'\nimport { ValueOf } from '../../../types/interfaces'\nimport { pick } from '../../../utils/utils'\n\nexport const FormSwitchSizes = pick(Sizes, ['_XS', '_S', '_M', '_L', '_XL'])\nexport type FormSwitchSizesType = `${ValueOf<typeof FormSwitchSizes>}`\n\nexport const FormSwitchClass = {\n\troot: 'gov-form-switch',\n\tholder: 'gov-form-switch__holder',\n\tinput: 'gov-form-switch__input',\n\tindicator: 'gov-form-switch__indicator',\n\tlabel: 'gov-form-switch__label',\n\tnoLabel: 'gov-form-switch__no-label',\n}\n","import { Sizes } from '../../../core/constants/sizes'\nimport { pick } from '../../../utils/utils'\nimport { ValueOf } from '../../../types/interfaces'\n\nexport const FormRadioSizes = pick(Sizes, ['_XS', '_S', '_M', '_L', '_XL'])\nexport type FormRadioSizesType = `${ValueOf<typeof FormRadioSizes>}`\n\nexport const FormRadioClass = {\n\troot: 'gov-form-radio',\n\tinput: 'gov-form-radio__input',\n\tindicator: 'gov-form-radio__indicator',\n\tlabel: 'gov-form-radio__label',\n}\n","import { GovHost } from './template.types'\nimport { GovForm } from './form.types'\nimport { FormControlClass } from '../../components/gov-form/control/constants'\nimport { FormInputClass } from '../../components/gov-form/input/constants'\nimport { FormSelectClass } from '../../components/gov-form/select/constants'\nimport { FormMultiSelectClass } from '../../components/gov-form/multiselect/constants'\nimport { FormSwitchClass } from '../../components/gov-form/switch/constants'\nimport { FormCheckboxClass } from '../../components/gov-form/checkbox/constants'\nimport { FormRadioClass } from '../../components/gov-form/radio/constants'\nimport { FormMessageClass } from '../../components/gov-form/message/constants'\nimport { FormAutocompleteClass } from '../../components/gov-form/autocomplete/constants'\nimport { Nullable } from '../../types/interfaces'\nimport { FormLabelClass } from \"../../components/gov-form/label/constants\"\n\nexport const govForm = (govHost: GovHost): GovForm => {\n\treturn {\n\t\tget govHost(): GovHost {\n\t\t\treturn govHost\n\t\t},\n\t\tpassAttrToControl(name: string, value: string): void {\n\t\t\tif (this.control) {\n\t\t\t\tthis.control.setAttribute(name, value)\n\t\t\t}\n\t\t},\n\t\tpassAttrToLabel(name: string, value: string): void {\n\t\t\tif (this.label) {\n\t\t\t\tthis.label.setAttribute(name, value)\n\t\t\t}\n\t\t},\n\t\tget hasGroupChildren(): boolean {\n\t\t\tif (this.control) {\n\t\t\t\treturn this.control.querySelectorAll('gov-form-group > *, gov-form-radio-group > *, gov-form-checkbox-group > *').length > 1\n\t\t\t}\n\t\t\treturn false\n\t\t},\n\t\tget control(): Nullable<HTMLGovFormControlElement> {\n\t\t\tif (this.govHost.name === FormControlClass.root) {\n\t\t\t\treturn this.govHost.hostElement\n\t\t\t}\n\t\t\treturn this.govHost.getParent(FormControlClass.root)\n\t\t},\n\t\tget label(): Nullable<HTMLGovFormLabelElement> {\n\t\t\tconst innerLabel = this.govHost.hostElement.querySelector(`.${FormLabelClass.root}`)\n\t\t\tif(innerLabel) {\n\t\t\t\treturn innerLabel\n\t\t\t}\n\t\t\tif (this.control) {\n\t\t\t\treturn this.control.querySelector(`.${FormLabelClass.root}`)\n\t\t\t}\n\t\t\treturn null\n\t\t},\n\t\tget mainElementsInControl(): Element[] {\n\t\t\tconst formElements = [\n\t\t\t\tFormSelectClass.root,\n\t\t\t\tFormInputClass.root,\n\t\t\t\tFormSwitchClass.root,\n\t\t\t\tFormCheckboxClass.root,\n\t\t\t\tFormRadioClass.root,\n\t\t\t\tFormMultiSelectClass.root,\n\t\t\t\tFormAutocompleteClass.root,\n\t\t\t]\n\t\t\tif (this.control) {\n\t\t\t\tconst elements = formElements.map(el => `${el}:first-of-type`).join(', ')\n\t\t\t\treturn Array.from(this.control.querySelectorAll(elements))\n\t\t\t}\n\t\t\treturn []\n\t\t},\n\t\tget messageElements(): HTMLGovFormMessageElement[] {\n\t\t\tif (this.control) {\n\t\t\t\treturn Array.from(this.control.querySelectorAll(FormMessageClass.root))\n\t\t\t}\n\t\t\treturn []\n\t\t},\n\t}\n}\n"],"names":[],"mappings":";;;;;;MAIa,iBAAiB,GAAG,IAAI,CAAC,KAAK,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,CAAC;AAGhE,MAAA,iBAAiB,GAAG;AAChC,IAAA,IAAI,EAAE,mBAAmB;AACzB,IAAA,KAAK,EAAE,0BAA0B;AACjC,IAAA,aAAa,EAAE,kCAAkC;AACjD,IAAA,KAAK,EAAE,0BAA0B;;;ACPF,IAAI,CAAC,KAAK,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,KAAK,CAAC;AAGlD,MAAA,gBAAgB,GAAG;AAC/B,IAAA,IAAI,EAAE,kBAAkB;AACxB,IAAA,MAAM,EAAE,0BAA0B;AAClC,IAAA,MAAM,EAAE,0BAA0B;;;MCNtB,cAAc,GAAG,IAAI,CAAC,KAAK,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,CAAC;AAG1E,IAAY,UAcX;AAdD,CAAA,UAAY,UAAU,EAAA;AACrB,IAAA,UAAA,CAAA,OAAA,CAAA,GAAA,OAAe;AACf,IAAA,UAAA,CAAA,MAAA,CAAA,GAAA,MAAa;AACb,IAAA,UAAA,CAAA,gBAAA,CAAA,GAAA,gBAAiC;AACjC,IAAA,UAAA,CAAA,OAAA,CAAA,GAAA,OAAe;AACf,IAAA,UAAA,CAAA,OAAA,CAAA,GAAA,OAAe;AACf,IAAA,UAAA,CAAA,QAAA,CAAA,GAAA,QAAiB;AACjB,IAAA,UAAA,CAAA,UAAA,CAAA,GAAA,UAAqB;AACrB,IAAA,UAAA,CAAA,QAAA,CAAA,GAAA,QAAiB;AACjB,IAAA,UAAA,CAAA,KAAA,CAAA,GAAA,KAAW;AACX,IAAA,UAAA,C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AAC;YACpF,IAAG,UAAU,EAAE;AACd,gBAAA,OAAO,UAAU;;AAElB,YAAA,IAAI,IAAI,CAAC,OAAO,EAAE;AACjB,gBAAA,OAAO,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,CAAI,CAAA,EAAA,cAAc,CAAC,IAAI,CAAE,CAAA,CAAC;;AAE7D,YAAA,OAAO,IAAI;SACX;AACD,QAAA,IAAI,qBAAqB,GAAA;AACxB,YAAA,MAAM,YAAY,GAAG;AACpB,gBAAA,eAAe,CAAC,IAAI;AACpB,gBAAA,cAAc,CAAC,IAAI;AACnB,gBAAA,eAAe,CAAC,IAAI;AACpB,gBAAA,iBAAiB,CAAC,IAAI;AACtB,gBAAA,cAAc,CAAC,IAAI;AACnB,gBAAA,oBAAoB,CAAC,IAAI;AACzB,gBAAA,qBAAqB,CAAC,IAAI;aAC1B;AACD,YAAA,IAAI,IAAI,CAAC,OAAO,EAAE;AACjB,gBAAA,MAAM,QAAQ,GAAG,YAAY,CAAC,GAAG,CAAC,EAAE,IAAI,CAAG,EAAA,EAAE,gBAAgB,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC;AACzE,gBAAA,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,gBAAgB,CAAC,QAAQ,CAAC,CAAC;;AAE3D,YAAA,OAAO,EAAE;SACT;AACD,QAAA,IAAI,eAAe,GAAA;AAClB,YAAA,IAAI,IAAI,CAAC,OAAO,EAAE;AACjB,gBAAA,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,gBAAgB,CAAC,gBAAgB,CAAC,IAAI,CAAC,CAAC;;AAExE,YAAA,OAAO,EAAE;SACT;KACD;AACF;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"p-BUmDydor.js","sources":["../../../packages/core/src/components/gov-form/group/constants.ts"],"sourcesContent":["import { pick } from \"../../../utils/utils\"\r\nimport { Sizes } from \"../../../core/constants/sizes\"\r\nimport { ValueOf } from \"../../../types/interfaces\"\r\n\r\nexport const FormGroupSizes = pick(Sizes, ['_XS', '_S', '_M', '_L', '_2XL'])\r\nexport type FormGroupSizesType = `${ValueOf<typeof FormGroupSizes>}`\r\n\r\nexport enum FormGroupOrientation {\r\n\tHORIZONTAL = 'horizontal',\r\n\tVERTICAL = 'vertical',\r\n}\r\nexport type FormGroupOrientationType = `${ValueOf<typeof FormGroupOrientation>}`\r\n\r\nexport const FormGroupClass = {\r\n\troot: 'gov-form-group',\r\n}\r\n\r\nexport const FormRadioGroupClass = {\r\n\troot: 'gov-form-radio-group',\r\n}\r\n\r\nexport const FormCheckboxGroupClass = {\r\n\troot: 'gov-form-checkbox-group',\r\n}\r\n"],"names":[],"mappings":";;;MAIa,cAAc,GAAG,IAAI,CAAC,KAAK,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,CAAC;IAG/D;AAAZ,CAAA,UAAY,oBAAoB,EAAA;AAC/B,IAAA,oBAAA,CAAA,YAAA,CAAA,GAAA,YAAyB;AACzB,IAAA,oBAAA,CAAA,UAAA,CAAA,GAAA,UAAqB;AACtB,CAAC,EAHW,oBAAoB,KAApB,oBAAoB,GAG/B,EAAA,CAAA,CAAA;AAGY,MAAA,cAAc,GAAG;AAC7B,IAAA,IAAI,EAAE,gBAAgB;;AAGV,MAAA,mBAAmB,GAAG;AAClC,IAAA,IAAI,EAAE,sBAAsB;;AAGhB,MAAA,sBAAsB,GAAG;AACrC,IAAA,IAAI,EAAE,yBAAyB;;;;;"}
1
+ {"version":3,"file":"p-BUmDydor.js","sources":["../../../packages/core/src/components/gov-form/group/constants.ts"],"sourcesContent":["import { pick } from \"../../../utils/utils\"\nimport { Sizes } from \"../../../core/constants/sizes\"\nimport { ValueOf } from \"../../../types/interfaces\"\n\nexport const FormGroupSizes = pick(Sizes, ['_XS', '_S', '_M', '_L', '_2XL'])\nexport type FormGroupSizesType = `${ValueOf<typeof FormGroupSizes>}`\n\nexport enum FormGroupOrientation {\n\tHORIZONTAL = 'horizontal',\n\tVERTICAL = 'vertical',\n}\nexport type FormGroupOrientationType = `${ValueOf<typeof FormGroupOrientation>}`\n\nexport const FormGroupClass = {\n\troot: 'gov-form-group',\n}\n\nexport const FormRadioGroupClass = {\n\troot: 'gov-form-radio-group',\n}\n\nexport const FormCheckboxGroupClass = {\n\troot: 'gov-form-checkbox-group',\n}\n"],"names":[],"mappings":";;;MAIa,cAAc,GAAG,IAAI,CAAC,KAAK,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,CAAC;IAG/D;AAAZ,CAAA,UAAY,oBAAoB,EAAA;AAC/B,IAAA,oBAAA,CAAA,YAAA,CAAA,GAAA,YAAyB;AACzB,IAAA,oBAAA,CAAA,UAAA,CAAA,GAAA,UAAqB;AACtB,CAAC,EAHW,oBAAoB,KAApB,oBAAoB,GAG/B,EAAA,CAAA,CAAA;AAGY,MAAA,cAAc,GAAG;AAC7B,IAAA,IAAI,EAAE,gBAAgB;;AAGV,MAAA,mBAAmB,GAAG;AAClC,IAAA,IAAI,EAAE,sBAAsB;;AAGhB,MAAA,sBAAsB,GAAG;AACrC,IAAA,IAAI,EAAE,yBAAyB;;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"p-BcQO4NH2.js","sources":["../../../packages/core/src/core/constants/sizes.ts"],"sourcesContent":["export enum Sizes {\r\n\t_2XS = '2xs',\r\n\t_XS = 'xs',\r\n\t_S = 's',\r\n\t_M = 'm',\r\n\t_L = 'l',\r\n\t_XL = 'xl',\r\n\t_2XL = '2xl',\r\n\t_3XL = '3xl',\r\n\t_4XL = '4xl',\r\n\t_5XL = '5xl',\r\n\t_6XL = '6xl',\r\n}\r\n"],"names":[],"mappings":"IAAY;AAAZ,CAAA,UAAY,KAAK,EAAA;AAChB,IAAA,KAAA,CAAA,MAAA,CAAA,GAAA,KAAY;AACZ,IAAA,KAAA,CAAA,KAAA,CAAA,GAAA,IAAU;AACV,IAAA,KAAA,CAAA,IAAA,CAAA,GAAA,GAAQ;AACR,IAAA,KAAA,CAAA,IAAA,CAAA,GAAA,GAAQ;AACR,IAAA,KAAA,CAAA,IAAA,CAAA,GAAA,GAAQ;AACR,IAAA,KAAA,CAAA,KAAA,CAAA,GAAA,IAAU;AACV,IAAA,KAAA,CAAA,MAAA,CAAA,GAAA,KAAY;AACZ,IAAA,KAAA,CAAA,MAAA,CAAA,GAAA,KAAY;AACZ,IAAA,KAAA,CAAA,MAAA,CAAA,GAAA,KAAY;AACZ,IAAA,KAAA,CAAA,MAAA,CAAA,GAAA,KAAY;AACZ,IAAA,KAAA,CAAA,MAAA,CAAA,GAAA,KAAY;AACb,CAAC,EAZW,KAAK,KAAL,KAAK,GAYhB,EAAA,CAAA,CAAA;;;;"}
1
+ {"version":3,"file":"p-BcQO4NH2.js","sources":["../../../packages/core/src/core/constants/sizes.ts"],"sourcesContent":["export enum Sizes {\n\t_2XS = '2xs',\n\t_XS = 'xs',\n\t_S = 's',\n\t_M = 'm',\n\t_L = 'l',\n\t_XL = 'xl',\n\t_2XL = '2xl',\n\t_3XL = '3xl',\n\t_4XL = '4xl',\n\t_5XL = '5xl',\n\t_6XL = '6xl',\n}\n"],"names":[],"mappings":"IAAY;AAAZ,CAAA,UAAY,KAAK,EAAA;AAChB,IAAA,KAAA,CAAA,MAAA,CAAA,GAAA,KAAY;AACZ,IAAA,KAAA,CAAA,KAAA,CAAA,GAAA,IAAU;AACV,IAAA,KAAA,CAAA,IAAA,CAAA,GAAA,GAAQ;AACR,IAAA,KAAA,CAAA,IAAA,CAAA,GAAA,GAAQ;AACR,IAAA,KAAA,CAAA,IAAA,CAAA,GAAA,GAAQ;AACR,IAAA,KAAA,CAAA,KAAA,CAAA,GAAA,IAAU;AACV,IAAA,KAAA,CAAA,MAAA,CAAA,GAAA,KAAY;AACZ,IAAA,KAAA,CAAA,MAAA,CAAA,GAAA,KAAY;AACZ,IAAA,KAAA,CAAA,MAAA,CAAA,GAAA,KAAY;AACZ,IAAA,KAAA,CAAA,MAAA,CAAA,GAAA,KAAY;AACZ,IAAA,KAAA,CAAA,MAAA,CAAA,GAAA,KAAY;AACb,CAAC,EAZW,KAAK,KAAL,KAAK,GAYhB,EAAA,CAAA,CAAA;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"p-BjcqOprh.js","sources":["../../../packages/core/src/components/gov-wizard/constants.ts"],"sourcesContent":["import { Colors } from '../../core/constants/colors'\r\nimport { Sizes } from '../../core/constants/sizes'\r\nimport { pick } from '../../utils/utils'\r\nimport { ValueOf } from '../../types/interfaces'\r\n\r\nexport const WizardColors = pick(Colors, ['PRIMARY', 'NEUTRAL', 'WARNING', 'ERROR', 'SUCCESS'])\r\nexport type WizardColorType = `${ValueOf<typeof WizardColors>}`\r\n\r\nexport const WizardSizes = pick(Sizes, ['_S', '_M', '_L'])\r\nexport type WizardSizesType = `${ValueOf<typeof WizardSizes>}`\r\n\r\nexport const WizardClass = {\r\n\troot: 'gov-wizard',\r\n}\r\n\r\nexport const WizardItemClass = {\r\n\troot: 'gov-wizard-item',\r\n\theader: 'gov-wizard-item__header',\r\n\tprefix: 'gov-wizard-item__prefix',\r\n\tlabel: 'gov-wizard-item__label',\r\n\theadline: 'gov-wizard-item__headline',\r\n\tchevron: 'gov-wizard-item__chevron',\r\n\tcontent: 'gov-wizard-item__content',\r\n}\r\n"],"names":[],"mappings":";;;;MAKa,YAAY,GAAG,IAAI,CAAC,MAAM,EAAE,CAAC,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,OAAO,EAAE,SAAS,CAAC;AAGjF,MAAA,WAAW,GAAG,IAAI,CAAC,KAAK,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC;AAG5C,MAAA,WAAW,GAAG;AAC1B,IAAA,IAAI,EAAE,YAAY;;AAGN,MAAA,eAAe,GAAG;AAC9B,IAAA,IAAI,EAAE,iBAAiB;AACvB,IAAA,MAAM,EAAE,yBAAyB;AACjC,IAAA,MAAM,EAAE,yBAAyB;AACjC,IAAA,KAAK,EAAE,wBAAwB;AAC/B,IAAA,QAAQ,EAAE,2BAA2B;AACrC,IAAA,OAAO,EAAE,0BAA0B;AACnC,IAAA,OAAO,EAAE,0BAA0B;;;;;"}
1
+ {"version":3,"file":"p-BjcqOprh.js","sources":["../../../packages/core/src/components/gov-wizard/constants.ts"],"sourcesContent":["import { Colors } from '../../core/constants/colors'\nimport { Sizes } from '../../core/constants/sizes'\nimport { pick } from '../../utils/utils'\nimport { ValueOf } from '../../types/interfaces'\n\nexport const WizardColors = pick(Colors, ['PRIMARY', 'NEUTRAL', 'WARNING', 'ERROR', 'SUCCESS'])\nexport type WizardColorType = `${ValueOf<typeof WizardColors>}`\n\nexport const WizardSizes = pick(Sizes, ['_S', '_M', '_L'])\nexport type WizardSizesType = `${ValueOf<typeof WizardSizes>}`\n\nexport const WizardClass = {\n\troot: 'gov-wizard',\n}\n\nexport const WizardItemClass = {\n\troot: 'gov-wizard-item',\n\theader: 'gov-wizard-item__header',\n\tprefix: 'gov-wizard-item__prefix',\n\tlabel: 'gov-wizard-item__label',\n\theadline: 'gov-wizard-item__headline',\n\tchevron: 'gov-wizard-item__chevron',\n\tcontent: 'gov-wizard-item__content',\n}\n"],"names":[],"mappings":";;;;MAKa,YAAY,GAAG,IAAI,CAAC,MAAM,EAAE,CAAC,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,OAAO,EAAE,SAAS,CAAC;AAGjF,MAAA,WAAW,GAAG,IAAI,CAAC,KAAK,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC;AAG5C,MAAA,WAAW,GAAG;AAC1B,IAAA,IAAI,EAAE,YAAY;;AAGN,MAAA,eAAe,GAAG;AAC9B,IAAA,IAAI,EAAE,iBAAiB;AACvB,IAAA,MAAM,EAAE,yBAAyB;AACjC,IAAA,MAAM,EAAE,yBAAyB;AACjC,IAAA,KAAK,EAAE,wBAAwB;AAC/B,IAAA,QAAQ,EAAE,2BAA2B;AACrC,IAAA,OAAO,EAAE,0BAA0B;AACnC,IAAA,OAAO,EAAE,0BAA0B;;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"p-Bo1ROm5Q.js","sources":["../../../packages/core/src/components/gov-button/button/constants.ts"],"sourcesContent":["import { Sizes } from '../../../core/constants/sizes'\r\nimport { Colors } from '../../../core/constants/colors'\r\nimport { ValueOf } from '../../../types/interfaces'\r\nimport { pick } from '../../../utils/utils'\r\n\r\nexport const ButtonSizes = pick(Sizes, ['_XS', '_S', '_M', '_L', '_XL'])\r\nexport type ButtonSizesType = `${ValueOf<typeof ButtonSizes>}`\r\n\r\nexport const ButtonColors = pick(Colors, ['PRIMARY', 'SECONDARY', 'NEUTRAL', 'SUCCESS', 'ERROR', 'WARNING'])\r\nexport type ButtonColorType = `${ValueOf<typeof ButtonColors>}`\r\n\r\nexport enum ButtonType {\r\n\tSOLID = 'solid',\r\n\tOUTLINED = 'outlined',\r\n\tBASE = 'base',\r\n\tLINK = 'link',\r\n}\r\nexport type ButtonTypesType = `${ValueOf<typeof ButtonType>}`\r\n\r\nexport enum NativeType {\r\n\tSUBMIT = 'submit',\r\n\tBUTTON = 'button',\r\n\tRESET = 'reset',\r\n}\r\nexport type NativeTypesType = `${ValueOf<typeof NativeType>}`\r\n\r\nexport enum ButtonTarget {\r\n\tBLANK = '_blank',\r\n\tSELF = '_self',\r\n\tNEW = '_new',\r\n}\r\nexport type ButtonTargetType = `${ValueOf<typeof ButtonTarget>}`\r\n\r\nexport const ButtonClass = {\r\n\troot: 'gov-button',\r\n}\r\n"],"names":[],"mappings":";;;;MAKa,WAAW,GAAG,IAAI,CAAC,KAAK,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,CAAC;MAG1D,YAAY,GAAG,IAAI,CAAC,MAAM,EAAE,CAAC,SAAS,EAAE,WAAW,EAAE,SAAS,EAAE,SAAS,EAAE,OAAO,EAAE,SAAS,CAAC;IAG/F;AAAZ,CAAA,UAAY,UAAU,EAAA;AACrB,IAAA,UAAA,CAAA,OAAA,CAAA,GAAA,OAAe;AACf,IAAA,UAAA,CAAA,UAAA,CAAA,GAAA,UAAqB;AACrB,IAAA,UAAA,CAAA,MAAA,CAAA,GAAA,MAAa;AACb,IAAA,UAAA,CAAA,MAAA,CAAA,GAAA,MAAa;AACd,CAAC,EALW,UAAU,KAAV,UAAU,GAKrB,EAAA,CAAA,CAAA;IAGW;AAAZ,CAAA,UAAY,UAAU,EAAA;AACrB,IAAA,UAAA,CAAA,QAAA,CAAA,GAAA,QAAiB;AACjB,IAAA,UAAA,CAAA,QAAA,CAAA,GAAA,QAAiB;AACjB,IAAA,UAAA,CAAA,OAAA,CAAA,GAAA,OAAe;AAChB,CAAC,EAJW,UAAU,KAAV,UAAU,GAIrB,EAAA,CAAA,CAAA;AAGD,IAAY,YAIX;AAJD,CAAA,UAAY,YAAY,EAAA;AACvB,IAAA,YAAA,CAAA,OAAA,CAAA,GAAA,QAAgB;AAChB,IAAA,YAAA,CAAA,MAAA,CAAA,GAAA,OAAc;AACd,IAAA,YAAA,CAAA,KAAA,CAAA,GAAA,MAAY;AACb,CAAC,EAJW,YAAY,KAAZ,YAAY,GAIvB,EAAA,CAAA,CAAA;AAGY,MAAA,WAAW,GAAG;AAC1B,IAAA,IAAI,EAAE,YAAY;;;;;"}
1
+ {"version":3,"file":"p-Bo1ROm5Q.js","sources":["../../../packages/core/src/components/gov-button/button/constants.ts"],"sourcesContent":["import { Sizes } from '../../../core/constants/sizes'\nimport { Colors } from '../../../core/constants/colors'\nimport { ValueOf } from '../../../types/interfaces'\nimport { pick } from '../../../utils/utils'\n\nexport const ButtonSizes = pick(Sizes, ['_XS', '_S', '_M', '_L', '_XL'])\nexport type ButtonSizesType = `${ValueOf<typeof ButtonSizes>}`\n\nexport const ButtonColors = pick(Colors, ['PRIMARY', 'SECONDARY', 'NEUTRAL', 'SUCCESS', 'ERROR', 'WARNING'])\nexport type ButtonColorType = `${ValueOf<typeof ButtonColors>}`\n\nexport enum ButtonType {\n\tSOLID = 'solid',\n\tOUTLINED = 'outlined',\n\tBASE = 'base',\n\tLINK = 'link',\n}\nexport type ButtonTypesType = `${ValueOf<typeof ButtonType>}`\n\nexport enum NativeType {\n\tSUBMIT = 'submit',\n\tBUTTON = 'button',\n\tRESET = 'reset',\n}\nexport type NativeTypesType = `${ValueOf<typeof NativeType>}`\n\nexport enum ButtonTarget {\n\tBLANK = '_blank',\n\tSELF = '_self',\n\tNEW = '_new',\n}\nexport type ButtonTargetType = `${ValueOf<typeof ButtonTarget>}`\n\nexport const ButtonClass = {\n\troot: 'gov-button',\n}\n"],"names":[],"mappings":";;;;MAKa,WAAW,GAAG,IAAI,CAAC,KAAK,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,CAAC;MAG1D,YAAY,GAAG,IAAI,CAAC,MAAM,EAAE,CAAC,SAAS,EAAE,WAAW,EAAE,SAAS,EAAE,SAAS,EAAE,OAAO,EAAE,SAAS,CAAC;IAG/F;AAAZ,CAAA,UAAY,UAAU,EAAA;AACrB,IAAA,UAAA,CAAA,OAAA,CAAA,GAAA,OAAe;AACf,IAAA,UAAA,CAAA,UAAA,CAAA,GAAA,UAAqB;AACrB,IAAA,UAAA,CAAA,MAAA,CAAA,GAAA,MAAa;AACb,IAAA,UAAA,CAAA,MAAA,CAAA,GAAA,MAAa;AACd,CAAC,EALW,UAAU,KAAV,UAAU,GAKrB,EAAA,CAAA,CAAA;IAGW;AAAZ,CAAA,UAAY,UAAU,EAAA;AACrB,IAAA,UAAA,CAAA,QAAA,CAAA,GAAA,QAAiB;AACjB,IAAA,UAAA,CAAA,QAAA,CAAA,GAAA,QAAiB;AACjB,IAAA,UAAA,CAAA,OAAA,CAAA,GAAA,OAAe;AAChB,CAAC,EAJW,UAAU,KAAV,UAAU,GAIrB,EAAA,CAAA,CAAA;AAGD,IAAY,YAIX;AAJD,CAAA,UAAY,YAAY,EAAA;AACvB,IAAA,YAAA,CAAA,OAAA,CAAA,GAAA,QAAgB;AAChB,IAAA,YAAA,CAAA,MAAA,CAAA,GAAA,OAAc;AACd,IAAA,YAAA,CAAA,KAAA,CAAA,GAAA,MAAY;AACb,CAAC,EAJW,YAAY,KAAZ,YAAY,GAIvB,EAAA,CAAA,CAAA;AAGY,MAAA,WAAW,GAAG;AAC1B,IAAA,IAAI,EAAE,YAAY;;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"p-Bz_RzYFb.js","sources":["../../../packages/core/src/helpers/Accessibility/attributes.ts","../../../packages/core/src/helpers/Dom/attribute.ts"],"sourcesContent":["export const ariaAttributes = [\r\n\t'role',\r\n\t'aria-activedescendant',\r\n\t'aria-atomic',\r\n\t'aria-autocomplete',\r\n\t'aria-braillelabel',\r\n\t'aria-brailleroledescription',\r\n\t'aria-busy',\r\n\t'aria-checked',\r\n\t'aria-colcount',\r\n\t'aria-colindex',\r\n\t'aria-colindextext',\r\n\t'aria-colspan',\r\n\t'aria-controls',\r\n\t'aria-current',\r\n\t'aria-describedby',\r\n\t'aria-description',\r\n\t'aria-details',\r\n\t'aria-disabled',\r\n\t'aria-errormessage',\r\n\t'aria-expanded',\r\n\t'aria-flowto',\r\n\t'aria-haspopup',\r\n\t'aria-hidden',\r\n\t'aria-invalid',\r\n\t'aria-keyshortcuts',\r\n\t'aria-label',\r\n\t'aria-labelledby',\r\n\t'aria-level',\r\n\t'aria-live',\r\n\t'aria-multiline',\r\n\t'aria-multiselectable',\r\n\t'aria-orientation',\r\n\t'aria-owns',\r\n\t'aria-placeholder',\r\n\t'aria-posinset',\r\n\t'aria-pressed',\r\n\t'aria-readonly',\r\n\t'aria-relevant',\r\n\t'aria-required',\r\n\t'aria-roledescription',\r\n\t'aria-rowcount',\r\n\t'aria-rowindex',\r\n\t'aria-rowindextext',\r\n\t'aria-rowspan',\r\n\t'aria-selected',\r\n\t'aria-setsize',\r\n\t'aria-sort',\r\n\t'aria-valuemax',\r\n\t'aria-valuemin',\r\n\t'aria-valuenow',\r\n\t'aria-valuetext',\r\n];\r\n","export type Attribute = unknown;\r\nexport type Attributes = Record<string, Attribute>;\r\n\r\nexport const inheritAttributes = (el: HTMLElement, attributes: string[] = []) => {\r\n\tconst attributeObject: Attributes = {};\r\n\tattributes.forEach((attr) => {\r\n\t\tif (el.hasAttribute(attr)) {\r\n\t\t\tconst value = el.getAttribute(attr);\r\n\t\t\tif (value !== null) {\r\n\t\t\t\tattributeObject[attr] = el.getAttribute(attr);\r\n\t\t\t}\r\n\t\t\tel.removeAttribute(attr);\r\n\t\t}\r\n\t});\r\n\r\n\treturn attributeObject;\r\n};\r\n\r\ntype Callback = (attributeName: string, newValue: string) => void;\r\n\r\nexport class AttributeObserver {\r\n\tprivate mutationObserver: MutationObserver;\r\n\r\n\tconstructor(private element: HTMLElement, private callback: Callback) {\r\n\t}\r\n\r\n\tstartObserving(attributes: string[]) {\r\n\t\tthis.mutationObserver = new MutationObserver((mutationsList) => {\r\n\t\t\tfor (const mutation of mutationsList) {\r\n\t\t\t\tif (mutation.type === 'attributes' && mutation.attributeName) {\r\n\t\t\t\t\tconst newValue = this.element.getAttribute(mutation.attributeName);\r\n\t\t\t\t\tif (newValue !== null) {\r\n\t\t\t\t\t\tthis.callback(mutation.attributeName, newValue);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\tthis.mutationObserver.observe(this.element, {\r\n\t\t\tattributes: true,\r\n\t\t\tattributeFilter: attributes,\r\n\t\t});\r\n\t}\r\n\r\n\tstopObserving() {\r\n\t\tif (this.mutationObserver) {\r\n\t\t\tthis.mutationObserver.disconnect();\r\n\t\t}\r\n\t}\r\n}\r\n"],"names":[],"mappings":"AAAa,MAAA,cAAc,GAAG;IAC7B,MAAM;IACN,uBAAuB;IACvB,aAAa;IACb,mBAAmB;IACnB,mBAAmB;IACnB,6BAA6B;IAC7B,WAAW;IACX,cAAc;IACd,eAAe;IACf,eAA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AC,aAAa,KAAI;AAC9D,YAAA,KAAK,MAAM,QAAQ,IAAI,aAAa,EAAE;gBACrC,IAAI,QAAQ,CAAC,IAAI,KAAK,YAAY,IAAI,QAAQ,CAAC,aAAa,EAAE;AAC7D,oBAAA,MAAM,QAAQ,GAAG,IAAI,CAAC,OAAO,CAAC,YAAY,CAAC,QAAQ,CAAC,aAAa,CAAC;AAClE,oBAAA,IAAI,QAAQ,KAAK,IAAI,EAAE;wBACtB,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,aAAa,EAAE,QAAQ,CAAC;;;;AAInD,SAAC,CAAC;QAEF,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,EAAE;AAC3C,YAAA,UAAU,EAAE,IAAI;AAChB,YAAA,eAAe,EAAE,UAAU;AAC3B,SAAA,CAAC;;IAGH,aAAa,GAAA;AACZ,QAAA,IAAI,IAAI,CAAC,gBAAgB,EAAE;AAC1B,YAAA,IAAI,CAAC,gBAAgB,CAAC,UAAU,EAAE;;;AAGpC;;;;"}
1
+ {"version":3,"file":"p-Bz_RzYFb.js","sources":["../../../packages/core/src/helpers/Accessibility/attributes.ts","../../../packages/core/src/helpers/Dom/attribute.ts"],"sourcesContent":["export const ariaAttributes = [\n\t'role',\n\t'aria-activedescendant',\n\t'aria-atomic',\n\t'aria-autocomplete',\n\t'aria-braillelabel',\n\t'aria-brailleroledescription',\n\t'aria-busy',\n\t'aria-checked',\n\t'aria-colcount',\n\t'aria-colindex',\n\t'aria-colindextext',\n\t'aria-colspan',\n\t'aria-controls',\n\t'aria-current',\n\t'aria-describedby',\n\t'aria-description',\n\t'aria-details',\n\t'aria-disabled',\n\t'aria-errormessage',\n\t'aria-expanded',\n\t'aria-flowto',\n\t'aria-haspopup',\n\t'aria-hidden',\n\t'aria-invalid',\n\t'aria-keyshortcuts',\n\t'aria-label',\n\t'aria-labelledby',\n\t'aria-level',\n\t'aria-live',\n\t'aria-multiline',\n\t'aria-multiselectable',\n\t'aria-orientation',\n\t'aria-owns',\n\t'aria-placeholder',\n\t'aria-posinset',\n\t'aria-pressed',\n\t'aria-readonly',\n\t'aria-relevant',\n\t'aria-required',\n\t'aria-roledescription',\n\t'aria-rowcount',\n\t'aria-rowindex',\n\t'aria-rowindextext',\n\t'aria-rowspan',\n\t'aria-selected',\n\t'aria-setsize',\n\t'aria-sort',\n\t'aria-valuemax',\n\t'aria-valuemin',\n\t'aria-valuenow',\n\t'aria-valuetext',\n];\n","export type Attribute = unknown;\nexport type Attributes = Record<string, Attribute>;\n\nexport const inheritAttributes = (el: HTMLElement, attributes: string[] = []) => {\n\tconst attributeObject: Attributes = {};\n\tattributes.forEach((attr) => {\n\t\tif (el.hasAttribute(attr)) {\n\t\t\tconst value = el.getAttribute(attr);\n\t\t\tif (value !== null) {\n\t\t\t\tattributeObject[attr] = el.getAttribute(attr);\n\t\t\t}\n\t\t\tel.removeAttribute(attr);\n\t\t}\n\t});\n\n\treturn attributeObject;\n};\n\ntype Callback = (attributeName: string, newValue: string) => void;\n\nexport class AttributeObserver {\n\tprivate mutationObserver: MutationObserver;\n\n\tconstructor(private element: HTMLElement, private callback: Callback) {\n\t}\n\n\tstartObserving(attributes: string[]) {\n\t\tthis.mutationObserver = new MutationObserver((mutationsList) => {\n\t\t\tfor (const mutation of mutationsList) {\n\t\t\t\tif (mutation.type === 'attributes' && mutation.attributeName) {\n\t\t\t\t\tconst newValue = this.element.getAttribute(mutation.attributeName);\n\t\t\t\t\tif (newValue !== null) {\n\t\t\t\t\t\tthis.callback(mutation.attributeName, newValue);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\n\t\tthis.mutationObserver.observe(this.element, {\n\t\t\tattributes: true,\n\t\t\tattributeFilter: attributes,\n\t\t});\n\t}\n\n\tstopObserving() {\n\t\tif (this.mutationObserver) {\n\t\t\tthis.mutationObserver.disconnect();\n\t\t}\n\t}\n}\n"],"names":[],"mappings":"AAAa,MAAA,cAAc,GAAG;IAC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CAAA,QAAA,GAAR,QAAQ;;AAG1D,IAAA,cAAc,CAAC,UAAoB,EAAA;QAClC,IAAI,CAAC,gBAAgB,GAAG,IAAI,gBAAgB,CAAC,CAAC,aAAa,KAAI;AAC9D,YAAA,KAAK,MAAM,QAAQ,IAAI,aAAa,EAAE;gBACrC,IAAI,QAAQ,CAAC,IAAI,KAAK,YAAY,IAAI,QAAQ,CAAC,aAAa,EAAE;AAC7D,oBAAA,MAAM,QAAQ,GAAG,IAAI,CAAC,OAAO,CAAC,YAAY,CAAC,QAAQ,CAAC,aAAa,CAAC;AAClE,oBAAA,IAAI,QAAQ,KAAK,IAAI,EAAE;wBACtB,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,aAAa,EAAE,QAAQ,CAAC;;;;AAInD,SAAC,CAAC;QAEF,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,EAAE;AAC3C,YAAA,UAAU,EAAE,IAAI;AAChB,YAAA,eAAe,EAAE,UAAU;AAC3B,SAAA,CAAC;;IAGH,aAAa,GAAA;AACZ,QAAA,IAAI,IAAI,CAAC,gBAAgB,EAAE;AAC1B,YAAA,IAAI,CAAC,gBAAgB,CAAC,UAAU,EAAE;;;AAGpC;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"p-C3R1T_pg.js","sources":["../../../packages/core/src/components/gov-stepper/stepper/constants.ts"],"sourcesContent":["import { Colors } from '../../../core/constants/colors'\r\nimport { Sizes } from '../../../core/constants/sizes'\r\nimport { pick } from '../../../utils/utils'\r\nimport { ValueOf } from '../../../types/interfaces'\r\n\r\nexport const StepperColors = pick(Colors, ['PRIMARY', 'NEUTRAL', 'ERROR', 'SUCCESS', 'WARNING'])\r\nexport type StepperColorType = `${ValueOf<typeof StepperColors>}`\r\n\r\nexport const StepperSizes = pick(Sizes, ['_S', '_M', '_L'])\r\nexport type StepperSizesType = `${ValueOf<typeof StepperSizes>}`\r\n\r\nexport const StepperClass = {\r\n\troot: 'gov-stepper',\r\n}\r\n\r\nexport const StepperItemClass = {\r\n\troot: 'gov-stepper-item',\r\n\theader: 'gov-stepper-item__header',\r\n\tlabel: 'gov-stepper-item__label',\r\n\tsteps: 'gov-stepper-item__steps',\r\n\tprefix: 'gov-stepper-item__prefix',\r\n\tmain: 'gov-stepper-item__main',\r\n\theadline: 'gov-stepper-item__headline',\r\n\tannotation: 'gov-stepper-item__annotation',\r\n\tcontent: 'gov-stepper-item__content',\r\n}\r\n"],"names":[],"mappings":";;;;MAKa,aAAa,GAAG,IAAI,CAAC,MAAM,EAAE,CAAC,SAAS,EAAE,SAAS,EAAE,OAAO,EAAE,SAAS,EAAE,SAAS,CAAC;AAGlF,MAAA,YAAY,GAAG,IAAI,CAAC,KAAK,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC;AAG7C,MAAA,YAAY,GAAG;AAC3B,IAAA,IAAI,EAAE,aAAa;;AAGP,MAAA,gBAAgB,GAAG;AAC/B,IAAA,IAAI,EAAE,kBAAkB;AACxB,IAEA,KAAK,EAAE,yBAAyB;AAChC,IAAA,MAAM,EAAE,0BAA0B;AAClC,IAAA,IAAI,EAAE,wBAAwB;AAC9B,IAAA,QAAQ,EAAE,4BAA4B;AACtC,IACA,OAAO,EAAE,2BAA2B;;;;;"}
1
+ {"version":3,"file":"p-C3R1T_pg.js","sources":["../../../packages/core/src/components/gov-stepper/stepper/constants.ts"],"sourcesContent":["import { Colors } from '../../../core/constants/colors'\nimport { Sizes } from '../../../core/constants/sizes'\nimport { pick } from '../../../utils/utils'\nimport { ValueOf } from '../../../types/interfaces'\n\nexport const StepperColors = pick(Colors, ['PRIMARY', 'NEUTRAL', 'ERROR', 'SUCCESS', 'WARNING'])\nexport type StepperColorType = `${ValueOf<typeof StepperColors>}`\n\nexport const StepperSizes = pick(Sizes, ['_S', '_M', '_L'])\nexport type StepperSizesType = `${ValueOf<typeof StepperSizes>}`\n\nexport const StepperClass = {\n\troot: 'gov-stepper',\n}\n\nexport const StepperItemClass = {\n\troot: 'gov-stepper-item',\n\theader: 'gov-stepper-item__header',\n\tlabel: 'gov-stepper-item__label',\n\tsteps: 'gov-stepper-item__steps',\n\tprefix: 'gov-stepper-item__prefix',\n\tmain: 'gov-stepper-item__main',\n\theadline: 'gov-stepper-item__headline',\n\tannotation: 'gov-stepper-item__annotation',\n\tcontent: 'gov-stepper-item__content',\n}\n"],"names":[],"mappings":";;;;MAKa,aAAa,GAAG,IAAI,CAAC,MAAM,EAAE,CAAC,SAAS,EAAE,SAAS,EAAE,OAAO,EAAE,SAAS,EAAE,SAAS,CAAC;AAGlF,MAAA,YAAY,GAAG,IAAI,CAAC,KAAK,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC;AAG7C,MAAA,YAAY,GAAG;AAC3B,IAAA,IAAI,EAAE,aAAa;;AAGP,MAAA,gBAAgB,GAAG;AAC/B,IAAA,IAAI,EAAE,kBAAkB;AACxB,IAEA,KAAK,EAAE,yBAAyB;AAChC,IAAA,MAAM,EAAE,0BAA0B;AAClC,IAAA,IAAI,EAAE,wBAAwB;AAC9B,IAAA,QAAQ,EAAE,4BAA4B;AACtC,IACA,OAAO,EAAE,2BAA2B;;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"p-C6JN9gdb.js","sources":["../../../packages/core/src/components/gov-grid/constants.ts"],"sourcesContent":["import {Sizes} from \"../../core/constants/sizes\";\r\nimport {ValueOf} from \"../../types/interfaces\";\r\n\r\nexport const GridSizes = Sizes\r\nexport type GridSizesType = `${ValueOf<typeof GridSizes>}`\r\n\r\nexport const GridClass = {\r\n\troot: 'gov-grid',\r\n}\r\n\r\nexport const GridItemClass = {\r\n\troot: 'gov-grid-item',\r\n}\r\n"],"names":[],"mappings":";;AAMa,MAAA,SAAS,GAAG;AACxB,IAAA,IAAI,EAAE,UAAU;;AAGJ,MAAA,aAAa,GAAG;AAC5B,IAAA,IAAI,EAAE,eAAe;;;;;"}
1
+ {"version":3,"file":"p-C6JN9gdb.js","sources":["../../../packages/core/src/components/gov-grid/constants.ts"],"sourcesContent":["import {Sizes} from \"../../core/constants/sizes\";\nimport {ValueOf} from \"../../types/interfaces\";\n\nexport const GridSizes = Sizes\nexport type GridSizesType = `${ValueOf<typeof GridSizes>}`\n\nexport const GridClass = {\n\troot: 'gov-grid',\n}\n\nexport const GridItemClass = {\n\troot: 'gov-grid-item',\n}\n"],"names":[],"mappings":";;AAMa,MAAA,SAAS,GAAG;AACxB,IAAA,IAAI,EAAE,UAAU;;AAGJ,MAAA,aAAa,GAAG;AAC5B,IAAA,IAAI,EAAE,eAAe;;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"p-CDIRBJsi.js","sources":["../../../packages/core/src/helpers/Validate/wcag.ts"],"sourcesContent":["import {govWarningLog} from '../Log/gov.log'\r\nimport {splitByWhitespace} from '../../utils/string.utils'\r\nimport {documentNode} from '../Dom/win'\r\nimport {isString} from \"../../utils/helpers.types\";\r\n\r\nexport const validateWcagProp = (value: string | undefined, propName: string, component: string): void => {\r\n\tif (value === undefined || String(value).length === 0) {\r\n\t\tgovWarningLog(`[${component}]: The (${propName}) attribute is important for correct accessibility.`)\r\n\t}\r\n}\r\n\r\nexport const validateWcagRef = (referenceId: string, name: string, component: string): boolean => {\r\n\tif (typeof referenceId === 'undefined' || referenceId === undefined) {\r\n\t\treturn true\r\n\t}\r\n\tif (String(referenceId).length === 0) {\r\n\t\tgovWarningLog(`[${component}]: Attribute (${name}) is defined with an empty value.`)\r\n\t\treturn false\r\n\t}\r\n\tlet strings = []\r\n\tconst referenceIds = splitByWhitespace(referenceId)\r\n\tif (Array.isArray(referenceIds)) {\r\n\t\tstrings = referenceIds.filter(function (e) {\r\n\t\t\treturn isString(e) ? e.trim().length > 0 : false\r\n\t\t})\r\n\t}\r\n\r\n\treturn !!strings.filter(referenceId => {\r\n\t\tif (documentNode().getElementById(referenceId) === null) {\r\n\t\t\t//govWarningLog(`[${component}][${name}]: Reference to element with id (${referenceId}) does not exist.`)\r\n\t\t\treturn false\r\n\t\t} else {\r\n\t\t\treturn true\r\n\t\t}\r\n\t}).length\r\n}\r\n\r\nexport const validateWcagLabelFor = (inputId: string, labelledBy: string | undefined, component: string): boolean => {\r\n\tconst labelEl = documentNode().querySelector(`[for=${inputId}]`)\r\n\tif (labelEl === null) {\r\n\t\tconst labelledByEl = documentNode().getElementById(labelledBy)\r\n\t\tif (labelledByEl === null) {\r\n\t\t\tgovWarningLog(`[${component}]: The form element has no defined wcag-label or wcag-labelled-by attribute.`)\r\n\t\t\treturn false\r\n\t\t}\r\n\t}\r\n\treturn true\r\n}\r\n\r\nexport const validateAccessibleLabel = (label: string | undefined, labelledBy: string | undefined, component: string, el: HTMLElement = undefined): boolean => {\r\n\tif (isString(label) && label.length > 0) {\r\n\t\treturn true\r\n\t}\r\n\tif (typeof labelledBy === 'string' && labelledBy.length > 0) {\r\n\t\tconst labelledByEl = documentNode().getElementById(labelledBy)\r\n\t\tif (labelledByEl) {\r\n\t\t\treturn true\r\n\t\t}\r\n\t}\r\n\tgovWarningLog(`[${component}]: The element has no defined aria-label or aria-labelledby attribute.`, el)\r\n\treturn false\r\n}\r\n"],"names":[],"mappings":";;;;AAKa,MAAA,gBAAgB,GAAG,CAAC,KAAyB,EAAE,QAAgB,EAAE,SAAiB,KAAU;AACxG,IAAA,IAAI,KAAK,KAAK,SAAS,IAAI,MAAM,CAAC,KAAK,CAAC,CAAC,MAAM,KAAK,CAAC,EAAE;AACtD,QAAA,aAAa,CAAC,CAAI,CAAA,EAAA,SAAS,WAAW,QAAQ,CAAA,mDAAA,CAAqD,CAAC;;AAEtG;AAEa,MAAA,eAAe,GAAG,CAAC,WAAmB,EAAE,IAAY,EAAE,SAAiB,KAAa;IAChG,IAAI,OAAO,WAAW,KAAK,WAAW,IAAI,WAAW,KAAK,SAAS,EAAE;AACpE,QAAA,OAAO,IAAI;;IAEZ,IAAI,MAAM,CAAC,WAAW,CAAC,CAAC,MAAM,KAAK,CAAC,EAAE;AACrC,QAAA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validate/wcag.ts"],"sourcesContent":["import {govWarningLog} from '../Log/gov.log'\nimport {splitByWhitespace} from '../../utils/string.utils'\nimport {documentNode} from '../Dom/win'\nimport {isString} from \"../../utils/helpers.types\";\n\nexport const validateWcagProp = (value: string | undefined, propName: string, component: string): void => {\n\tif (value === undefined || String(value).length === 0) {\n\t\tgovWarningLog(`[${component}]: The (${propName}) attribute is important for correct accessibility.`)\n\t}\n}\n\nexport const validateWcagRef = (referenceId: string, name: string, component: string): boolean => {\n\tif (typeof referenceId === 'undefined' || referenceId === undefined) {\n\t\treturn true\n\t}\n\tif (String(referenceId).length === 0) {\n\t\tgovWarningLog(`[${component}]: Attribute (${name}) is defined with an empty value.`)\n\t\treturn false\n\t}\n\tlet strings = []\n\tconst referenceIds = splitByWhitespace(referenceId)\n\tif (Array.isArray(referenceIds)) {\n\t\tstrings = referenceIds.filter(function (e) {\n\t\t\treturn isString(e) ? e.trim().length > 0 : false\n\t\t})\n\t}\n\n\treturn !!strings.filter(referenceId => {\n\t\tif (documentNode().getElementById(referenceId) === null) {\n\t\t\t//govWarningLog(`[${component}][${name}]: Reference to element with id (${referenceId}) does not exist.`)\n\t\t\treturn false\n\t\t} else {\n\t\t\treturn true\n\t\t}\n\t}).length\n}\n\nexport const validateWcagLabelFor = (inputId: string, labelledBy: string | undefined, component: string): boolean => {\n\tconst labelEl = documentNode().querySelector(`[for=${inputId}]`)\n\tif (labelEl === null) {\n\t\tconst labelledByEl = documentNode().getElementById(labelledBy)\n\t\tif (labelledByEl === null) {\n\t\t\tgovWarningLog(`[${component}]: The form element has no defined wcag-label or wcag-labelled-by attribute.`)\n\t\t\treturn false\n\t\t}\n\t}\n\treturn true\n}\n\nexport const validateAccessibleLabel = (label: string | undefined, labelledBy: string | undefined, component: string, el: HTMLElement = undefined): boolean => {\n\tif (isString(label) && label.length > 0) {\n\t\treturn true\n\t}\n\tif (typeof labelledBy === 'string' && labelledBy.length > 0) {\n\t\tconst labelledByEl = documentNode().getElementById(labelledBy)\n\t\tif (labelledByEl) {\n\t\t\treturn true\n\t\t}\n\t}\n\tgovWarningLog(`[${component}]: The element has no defined aria-label or aria-labelledby attribute.`, el)\n\treturn false\n}\n"],"names":[],"mappings":";;;;AAKa,MAAA,gBAAgB,GAAG,CAAC,KAAyB,EAAE,QAAgB,EAAE,SAAiB,KAAU;AACxG,IAAA,IAAI,KAAK,KAAK,SAAS,IAAI,MAAM,CAAC,KAAK,CAAC,CAAC,MAAM,KAAK,CAAC,EAAE;AACtD,QAAA,aAAa,CAAC,CAAI,CAAA,EAAA,SAAS,WAAW,QAAQ,CAAA,mDAAA,CAAqD,CAAC;;AAEtG;AAEa,MAAA,eAAe,GAAG,CAAC,WAAmB,EAAE,IAAY,EAAE,SAAiB,KAAa;IAChG,IAAI,OAAO,WAAW,KAAK,WAAW,IAAI,WAAW,KAAK,SAAS,EAAE;AACpE,QAAA,OAAO,IAAI;;IAEZ,IAAI,MAAM,CAAC,WAAW,CAAC,CAAC,MAAM,KAAK,CAAC,EAAE;AACrC,QAAA,aAAa,CAAC,CAAI,CAAA,EAAA,SAAS,iBAAiB,IAAI,CAAA,iCAAA,CAAmC,CAAC;AACpF,QAAA,OAAO,KAAK;;IAEb,IAAI,OAAO,GAAG,EAAE;AAChB,IAAA,MAAM,YAAY,GAAG,iBAAiB,CAAC,WAAW,CAAC;AACnD,IAAA,IAAI,KAAK,CAAC,OAAO,CAAC,YAAY,CAAC,EAAE;AAChC,QAAA,OAAO,GAAG,YAAY,CAAC,MAAM,CAAC,UAAU,CAAC,EAAA;AACxC,YAAA,OAAO,QAAQ,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,MAAM,GAAG,CAAC,GAAG,KAAK;AACjD,SAAC,CAAC;;IAGH,OAAO,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC,WAAW,IAAG;QACrC,IAAI,YAAY,EAAE,CAAC,cAAc,CAAC,WAAW,CAAC,KAAK,IAAI,EAAE;;AAExD,YAAA,OAAO,KAAK;;aACN;AACN,YAAA,OAAO,IAAI;;KAEZ,CAAC,CAAC,MAAM;AACV;AAcO,MAAM,uBAAuB,GAAG,CAAC,KAAyB,EAAE,UAA8B,EAAE,SAAiB,EAAE,EAAkB,GAAA,SAAS,KAAa;IAC7J,IAAI,QAAQ,CAAC,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE;AACxC,QAAA,OAAO,IAAI;;IAEZ,IAAI,OAAO,UAAU,KAAK,QAAQ,IAAI,UAAU,CAAC,MAAM,GAAG,CAAC,EAAE;QAC5D,MAAM,YAAY,GAAG,YAAY,EAAE,CAAC,cAAc,CAAC,UAAU,CAAC;QAC9D,IAAI,YAAY,EAAE;AACjB,YAAA,OAAO,IAAI;;;AAGb,IAAA,aAAa,CAAC,CAAI,CAAA,EAAA,SAAS,wEAAwE,EAAE,EAAE,CAAC;AACxG,IAAA,OAAO,KAAK;AACb;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"p-CQvUntGY.js","sources":["../../../packages/core/src/utils/utils.ts"],"sourcesContent":["export function format(first: string, middle: string, last: string): string {\r\n\treturn (first || '') + (middle ? ` ${middle}` : '') + (last ? ` ${last}` : '')\r\n}\r\n\r\nexport async function delay(miliseconds: number): Promise<void> {\r\n\treturn new Promise(resolve => setTimeout(resolve, miliseconds))\r\n}\r\n\r\nexport function throttle(f: (entries) => void, delay: number) {\r\n\tlet timer: any = 0\r\n\treturn function (...args) {\r\n\t\tclearTimeout(timer)\r\n\t\ttimer = setTimeout(() => f.apply(this, args), delay)\r\n\t}\r\n}\r\n\r\n/**\r\n * Checks if object has that property\r\n *\r\n * @param {K} prop\r\n * @param {T} obj\r\n * @return {obj is T & Record<K, V>}\r\n */\r\nexport const has = <T extends object, K extends PropertyKey, V>(prop: K, obj: T): obj is T & Record<K, V> => {\r\n\treturn Object.prototype.hasOwnProperty.call(obj, prop)\r\n}\r\n\r\n/**\r\n * Returns property of given Object\r\n *\r\n * @param {K} name\r\n * @param {T} object\r\n * @return {(T & Record<K, unknown>)[K]}\r\n */\r\nexport const property = <T extends object, K extends keyof T>(name: K, object: T) => {\r\n\treturn has(name, object) ? object[name] : undefined\r\n}\r\n\r\nexport const pick = <T extends Record<string, unknown>, K extends keyof T>(obj: T, keys: readonly K[]): Pick<T, K> =>\r\n\tObject.fromEntries(Object.entries(obj).filter(([key]) => (keys as readonly string[]).includes(key))) as Pick<T, K>\r\n"],"names":[],"mappings":"AAIO,eAAe,KAAK,CAAC,WAAmB,EAAA;AAC9C,IAAA,OAAO,IAAI,OAAO,CAAC,OAAO,IAAI,UAAU,CAAC,OAAO,EAAE,WAAW,CAAC,CAAC;AAChE;AAEgB,SAAA,QAAQ,CAAC,CAAoB,EAAE,KAAa,EAAA;IAC3D,IAAI,KAAK,GAAQ,CAAC;IAClB,OAAO,UAAU,GAAG,IAAI,EAAA;QACvB,YAAY,CAAC,KAAK,CAAC;AACnB,QAAA,KAAK,GAAG,UAAU,CAAC,MAAM,CAAC,CAAC,KAAK,CAAC,IAAI,EAAE,IAAI,CAAC,EAAE,KAAK,CAAC;AACrD,KAAC;AACF;AAEA;;;;;;AAMG;MACU,GAAG,GAAG,CAA6C,IAAO,EAAE,GAAM,KAA6B;AAC3G,IAAA,OAAO,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,GAAG,EAAE,IAAI,CAAC;AACvD;AAEA;;;;;;AAMG;MACU,QAAQ,GAAG,CAAsC,IAAO,EAAE,MAAS,KAAI;AACnF,IAAA,OAAO,GAAG,CAAC,IAAI,EAAE,MAAM,CAAC,GAAG,MAAM,CAAC,IAAI,CAAC,GAAG,SAAS;AACpD;AAEa,MAAA,IAAI,GAAG,CAAuD,GAAM,EAAE,IAAkB,KACpG,MAAM,CAAC,WAAW,CAAC,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,CAAC,KAAM,IAA0B,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC;;;;"}
1
+ {"version":3,"file":"p-CQvUntGY.js","sources":["../../../packages/core/src/utils/utils.ts"],"sourcesContent":["export function format(first: string, middle: string, last: string): string {\n\treturn (first || '') + (middle ? ` ${middle}` : '') + (last ? ` ${last}` : '')\n}\n\nexport async function delay(miliseconds: number): Promise<void> {\n\treturn new Promise(resolve => setTimeout(resolve, miliseconds))\n}\n\nexport function throttle(f: (entries) => void, delay: number) {\n\tlet timer: any = 0\n\treturn function (...args) {\n\t\tclearTimeout(timer)\n\t\ttimer = setTimeout(() => f.apply(this, args), delay)\n\t}\n}\n\n/**\n * Checks if object has that property\n *\n * @param {K} prop\n * @param {T} obj\n * @return {obj is T & Record<K, V>}\n */\nexport const has = <T extends object, K extends PropertyKey, V>(prop: K, obj: T): obj is T & Record<K, V> => {\n\treturn Object.prototype.hasOwnProperty.call(obj, prop)\n}\n\n/**\n * Returns property of given Object\n *\n * @param {K} name\n * @param {T} object\n * @return {(T & Record<K, unknown>)[K]}\n */\nexport const property = <T extends object, K extends keyof T>(name: K, object: T) => {\n\treturn has(name, object) ? object[name] : undefined\n}\n\nexport const pick = <T extends Record<string, unknown>, K extends keyof T>(obj: T, keys: readonly K[]): Pick<T, K> =>\n\tObject.fromEntries(Object.entries(obj).filter(([key]) => (keys as readonly string[]).includes(key))) as Pick<T, K>\n"],"names":[],"mappings":"AAIO,eAAe,KAAK,CAAC,WAAmB,EAAA;AAC9C,IAAA,OAAO,IAAI,OAAO,CAAC,OAAO,IAAI,UAAU,CAAC,OAAO,EAAE,WAAW,CAAC,CAAC;AAChE;AAEgB,SAAA,QAAQ,CAAC,CAAoB,EAAE,KAAa,EAAA;IAC3D,IAAI,KAAK,GAAQ,CAAC;IAClB,OAAO,UAAU,GAAG,IAAI,EAAA;QACvB,YAAY,CAAC,KAAK,CAAC;AACnB,QAAA,KAAK,GAAG,UAAU,CAAC,MAAM,CAAC,CAAC,KAAK,CAAC,IAAI,EAAE,IAAI,CAAC,EAAE,KAAK,CAAC;AACrD,KAAC;AACF;AAEA;;;;;;AAMG;MACU,GAAG,GAAG,CAA6C,IAAO,EAAE,GAAM,KAA6B;AAC3G,IAAA,OAAO,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,GAAG,EAAE,IAAI,CAAC;AACvD;AAEA;;;;;;AAMG;MACU,QAAQ,GAAG,CAAsC,IAAO,EAAE,MAAS,KAAI;AACnF,IAAA,OAAO,GAAG,CAAC,IAAI,EAAE,MAAM,CAAC,GAAG,MAAM,CAAC,IAAI,CAAC,GAAG,SAAS;AACpD;AAEa,MAAA,IAAI,GAAG,CAAuD,GAAM,EAAE,IAAkB,KACpG,MAAM,CAAC,WAAW,CAAC,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,CAAC,KAAM,IAA0B,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"p-Ccwpa1ck.js","sources":["../../../packages/core/src/utils/object.utils.ts","../../../packages/core/src/utils/array.utils.ts"],"sourcesContent":["import {isObject, isString} from \"./helpers.types\";\r\n\r\nexport const parseJSONString = (value: unknown): object | [] | null => {\r\n\tif (isString(value) && value.length) {\r\n\t\ttry {\r\n\t\t\tconsole.log(value);\r\n\t\t\tconst parsed = JSON.parse(value);\r\n\t\t\tif (Array.isArray(parsed) || isObject(parsed)) {\r\n\t\t\t\treturn parsed;\r\n\t\t\t}\r\n\t\t} catch (e) {\r\n\t\t\tconsole.log(e);\r\n\t\t\treturn null\r\n\t\t}\r\n\t}\r\n\treturn null\r\n}\r\n\r\nexport const propsValueToObject = <T>(value: unknown): T => {\r\n\tif (isString(value)) {\r\n\t\tconst parsed = parseJSONString(value)\r\n\t\tif (parsed && isObject(parsed)) {\r\n\t\t\treturn parsed as T;\r\n\t\t}\r\n\t} else if (isObject(value) && Object.keys(value).length) {\r\n\t\treturn value as T;\r\n\t}\r\n\treturn null;\r\n}\r\n","import {parseJSONString} from \"./object.utils\";\r\nimport {isString} from \"./helpers.types\";\r\n\r\nexport const createArrayRange = (from: number, to: number): number[] => {\r\n\tif (Number.isInteger(from) && Number.isInteger(to)) {\r\n\t\treturn [...Array(to + 1).keys()].slice(from)\r\n\t}\r\n\treturn []\r\n}\r\n\r\nexport const propsValueToArray = <T>(value: unknown): T => {\r\n\tif (Array.isArray(value)) {\r\n\t\treturn value as T;\r\n\t} else if (isString(value)) {\r\n\t\tconst parsed = parseJSONString(value)\r\n\t\tif (Array.isArray(parsed)) {\r\n\t\t\treturn parsed as T;\r\n\t\t}\r\n\t}\r\n\treturn [] as T;\r\n}\r\n"],"names":[],"mappings":";;AAEO,MAAM,eAAe,GAAG,CAAC,KAAc,KAAwB;IACrE,IAAI,QAAQ,CAAC,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,EAAE;AACpC,QAAA,IAAI;AACH,YAAA,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC;YAClB,MAAM,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC;AAChC,YAAA,IAAI,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,QAAQ,CAAC,MAAM,CAAC,EAAE;AAC9C,gBAAA,OAAO,MAAM;;;QAEb,OAAO,CAAC,EAAE;AACX,YAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC;AACd,YAAA,OAAO,IAAI;;;AAGb,IAAA,OAAO,IAAI;AACZ,CAAC;;MCbY,gBAAgB,GAAG,CAAC,IAAY,EAAE,EAAU,KAAc;AACtE,IAAA,IAAI,MAAM,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,MAAM,CAAC,SAAS,CAAC,EAAE,CAAC,EAAE;AACnD,QAAA,OAAO,CAAC,GAAG,KAAK,CAAC,EAAE,GAAG,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC;;AAE7C,IAAA,OAAO,EAAE;AACV;AAEa,MAAA,iBAAiB,GAAG,CAAI,KAAc,KAAO;AACzD,IAAA,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE;AACzB,QAAA,OAAO,KAAU;;AACX,SAAA,IAAI,QAAQ,CAAC,KAAK,CAAC,EAAE;AAC3B,QAAA,MAAM,MAAM,GAAG,eAAe,CAAC,KAAK,CAAC;AACrC,QAAA,IAAI,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE;AAC1B,YAAA,OAAO,MAAW;;;AAGpB,IAAA,OAAO,EAAO;AACf;;;;"}
1
+ {"version":3,"file":"p-Ccwpa1ck.js","sources":["../../../packages/core/src/utils/object.utils.ts","../../../packages/core/src/utils/array.utils.ts"],"sourcesContent":["import {isObject, isString} from \"./helpers.types\";\n\nexport const parseJSONString = (value: unknown): object | [] | null => {\n\tif (isString(value) && value.length) {\n\t\ttry {\n\t\t\tconsole.log(value);\n\t\t\tconst parsed = JSON.parse(value);\n\t\t\tif (Array.isArray(parsed) || isObject(parsed)) {\n\t\t\t\treturn parsed;\n\t\t\t}\n\t\t} catch (e) {\n\t\t\tconsole.log(e);\n\t\t\treturn null\n\t\t}\n\t}\n\treturn null\n}\n\nexport const propsValueToObject = <T>(value: unknown): T => {\n\tif (isString(value)) {\n\t\tconst parsed = parseJSONString(value)\n\t\tif (parsed && isObject(parsed)) {\n\t\t\treturn parsed as T;\n\t\t}\n\t} else if (isObject(value) && Object.keys(value).length) {\n\t\treturn value as T;\n\t}\n\treturn null;\n}\n","import {parseJSONString} from \"./object.utils\";\nimport {isString} from \"./helpers.types\";\n\nexport const createArrayRange = (from: number, to: number): number[] => {\n\tif (Number.isInteger(from) && Number.isInteger(to)) {\n\t\treturn [...Array(to + 1).keys()].slice(from)\n\t}\n\treturn []\n}\n\nexport const propsValueToArray = <T>(value: unknown): T => {\n\tif (Array.isArray(value)) {\n\t\treturn value as T;\n\t} else if (isString(value)) {\n\t\tconst parsed = parseJSONString(value)\n\t\tif (Array.isArray(parsed)) {\n\t\t\treturn pars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,"file":"p-CgDnDrq5.js","sources":["../../../packages/core/src/helpers/Dom/win.ts","../../../packages/core/src/helpers/Log/gov.log.ts"],"sourcesContent":["import { property } from '../../utils/utils'\r\n\r\ninterface IConfig {\r\n\tcanValidateWcagOnRender: boolean\r\n\twarningLog: boolean\r\n\terrorLog: boolean\r\n\tlog: boolean\r\n\ticonsPath: string\r\n\ticonsLazyLoad: boolean\r\n\tdocumentNode: Document\r\n}\r\n\r\nexport const isWindow = typeof window !== \"undefined\"\r\n\r\nconst getWindowProperty = <T>(name: string): Partial<T> | undefined => isWindow && window && property(name as keyof typeof window, window)\r\n\r\nconst config = (): IConfig => {\r\n\tconst defaultConfig: IConfig = {\r\n\t\tcanValidateWcagOnRender: false,\r\n\t\twarningLog: false,\r\n\t\terrorLog: false,\r\n\t\tlog: false,\r\n\t\ticonsPath: '/assets/icons',\r\n\t\ticonsLazyLoad: true,\r\n\t\tdocumentNode: document ? document : null,\r\n\t}\r\n\r\n\tconst windowProperty = getWindowProperty<IConfig>('GOV_DS_CONFIG')\r\n\tif (windowProperty) {\r\n\t\treturn { ...defaultConfig, ...windowProperty }\r\n\t}\r\n\r\n\treturn defaultConfig\r\n}\r\n\r\nexport const canValidateWcagOnRender = (): IConfig['canValidateWcagOnRender'] => config().canValidateWcagOnRender\r\nexport const useWarningLog = (): IConfig['warningLog'] => config().warningLog\r\nexport const useErrorLog = (): IConfig['errorLog'] => config().errorLog\r\nexport const useLog = (): IConfig['log'] => config().log\r\nexport const iconsPath = (): IConfig['iconsPath'] => config().iconsPath\r\nexport const iconsLazyLoad = (): IConfig['iconsLazyLoad'] => config().iconsLazyLoad\r\nexport const documentNode = (): IConfig['documentNode'] => config().documentNode\r\n","import {useErrorLog, useLog, useWarningLog} from \"../Dom/win\";\r\n\r\ninterface ColorConfig {\r\n\tbg: string\r\n\ttext: string\r\n}\r\n\r\nconst WARNING_COLORS: ColorConfig = {bg: '#ecae1a', text: '#3b3b3b'}\r\nconst INFO_COLORS: ColorConfig = {bg: '#2362a2', text: '#fff'}\r\nconst ERROR_COLORS: ColorConfig = {bg: '#c52a3a', text: '#fff'}\r\n\r\nexport const govLog = (message: string, colors: ColorConfig = INFO_COLORS, args?: unknown): void => {\r\n\tconst styles = ['color: ' + colors.text, 'background: ' + colors.bg, 'font-size: 11px', 'padding: 2px 4px', 'border-radius: 3px', 'font-weight: 600'].join(\r\n\t\t';'\r\n\t)\r\n\r\n\tif(useLog() || useWarningLog() || useErrorLog()) {\r\n\t\tconsole.log('%cgov', styles, message, args)\r\n\t}\r\n}\r\n\r\nexport const govWarningLog = (message: string, args?: unknown): void => {\r\n\tif (useWarningLog()) {\r\n\t\tgovLog(message, WARNING_COLORS, args)\r\n\t}\r\n}\r\n\r\nexport const govErrorLog = (message: string, args?: unknown): void => {\r\n\tif (useErrorLog()) {\r\n\t\tgovLog(message, ERROR_COLORS, args)\r\n\t}\r\n}\r\n"],"names":[],"mappings":";;MAYa,QAAQ,GAAG,OAAO,MAAM,KAAK;AAE1C,MAAM,iBAAiB,GAAG,CAAI,IAAY,KAA6B,QAAQ,IAAI,MAAM,IAAI,QAAQ,CAAC,IAA2B,EAAE,MAAM,CAAC;AAE1I,MAAM,MAAM,GAAG,MAAc;AAC5B,IAAA,MAAM,aAAa,GAAY;AAC9B,QAAA,uBAAuB,EAAE,KAAK;AAC9B,QAAA,UAAU,EAAE,KAAK;AACjB,QAAA,QAAQ,EAAE,KAAK;AACf,QAAA,GAAG,EAAE,KAAK;AACV,QAAA,SAAS,EAAE,eAAe;AAC1B,QAAA,aAAa,EAAE,IAAI;QACnB,YAAY,EAAE,QAAQ,GAAG,QAAQ,GAAG,IAAI;KACxC;AAED,IAAA,MAAM,cAAc,GAAG,iBAAiB,CAAU,eAAe,CAAC;IAClE,IAAI,cAAc,EAAE;QACnB,OAAY,MAAA,CAAA,MAAA,CAAA,MAAA,CAAA,MAAA,CAAA,EAAA,EAAA,aAAa,CAAK,EAAA,cAAc,CAAE;;AAG/C,IAAA,OAAO,aAA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cesContent":["import { property } from '../../utils/utils'\n\ninterface IConfig {\n\tcanValidateWcagOnRender: boolean\n\twarningLog: boolean\n\terrorLog: boolean\n\tlog: boolean\n\ticonsPath: string\n\ticonsLazyLoad: boolean\n\tdocumentNode: Document\n}\n\nexport const isWindow = typeof window !== \"undefined\"\n\nconst getWindowProperty = <T>(name: string): Partial<T> | undefined => isWindow && window && property(name as keyof typeof window, window)\n\nconst config = (): IConfig => {\n\tconst defaultConfig: IConfig = {\n\t\tcanValidateWcagOnRender: false,\n\t\twarningLog: false,\n\t\terrorLog: false,\n\t\tlog: false,\n\t\ticonsPath: '/assets/icons',\n\t\ticonsLazyLoad: true,\n\t\tdocumentNode: document ? document : null,\n\t}\n\n\tconst windowProperty = getWindowProperty<IConfig>('GOV_DS_CONFIG')\n\tif (windowProperty) {\n\t\treturn { ...defaultConfig, ...windowProperty }\n\t}\n\n\treturn defaultConfig\n}\n\nexport const canValidateWcagOnRender = (): IConfig['canValidateWcagOnRender'] => config().canValidateWcagOnRender\nexport const useWarningLog = (): IConfig['warningLog'] => config().warningLog\nexport const useErrorLog = (): IConfig['errorLog'] => config().errorLog\nexport const useLog = (): IConfig['log'] => config().log\nexport const iconsPath = (): IConfig['iconsPath'] => config().iconsPath\nexport const iconsLazyLoad = (): IConfig['iconsLazyLoad'] => config().iconsLazyLoad\nexport const documentNode = (): IConfig['documentNode'] => config().documentNode\n","import {useErrorLog, useLog, useWarningLog} from \"../Dom/win\";\n\ninterface ColorConfig {\n\tbg: string\n\ttext: string\n}\n\nconst WARNING_COLORS: ColorConfig = {bg: '#ecae1a', text: '#3b3b3b'}\nconst INFO_COLORS: ColorConfig = {bg: '#2362a2', text: '#fff'}\nconst ERROR_COLORS: ColorConfig = {bg: '#c52a3a', text: '#fff'}\n\nexport const govLog = (message: string, colors: ColorConfig = INFO_COLORS, args?: unknown): void => {\n\tconst styles = ['color: ' + colors.text, 'background: ' + colors.bg, 'font-size: 11px', 'padding: 2px 4px', 'border-radius: 3px', 'font-weight: 600'].join(\n\t\t';'\n\t)\n\n\tif(useLog() || useWarningLog() || useErrorLog()) {\n\t\tconsole.log('%cgov', styles, message, args)\n\t}\n}\n\nexport const govWarningLog = (message: string, args?: unknown): void => {\n\tif (useWarningLog()) {\n\t\tgovLog(message, WARNING_COLORS, args)\n\t}\n}\n\nexport const govErrorLog = (message: string, args?: unknown): void => {\n\tif (useErrorLog()) {\n\t\tgovLog(message, ERROR_COLORS, args)\n\t}\n}\n"],"names":[],"mappings":";;MAYa,QAAQ,GAAG,OAAO,MAAM,KAAK;AAE1C,MAAM,iBAAiB,GAAG,CAAI,IAAY,KAA6B,QAAQ,IAAI,MAAM,IAAI,QAAQ,CAAC,IAA2B,EAAE,MAAM,CAAC;AAE1I,MAAM,MAAM,GAAG,MAAc;AAC5B,IAAA,MAAM,aAAa,GAAY;AAC9B,QAAA,uBAAuB,EAAE,KAAK;AAC9B,QAAA,UAAU,EAAE,KAAK;AACjB,QAAA,QAAQ,EAAE,KAAK;AACf,QAAA,GAAG,EAAE,KAAK;AACV,QAAA,SAAS,EAAE,eAAe;AAC1B,QAAA,aAAa,EAAE,IAAI;QACnB,YAAY,EAAE,QAAQ,GAAG,QAAQ,GAAG,IAAI;KACxC;AAED,IAAA,MAAM,cAAc,GAAG,iBAAiB,CAAU,eAAe,CAAC;IAClE,IAAI,cAAc,EAAE;QACnB,OAAY,MAAA,CAAA,MAAA,CAAA,MAAA,CAAA,MAAA,CAAA,EAAA,EAAA,aAAa,CAAK,EAAA,cAAc,CAAE;;AAG/C,IAAA,OAAO,aAAa;AACrB,CAAC;AAEY,MAAA,uBAAuB,GAAG,MAA0C,MAAM,EAAE,CAAC;AACnF,MAAM,aAAa,GAAG,MAA6B,MAAM,EAAE,CAAC,UAAU;AACtE,MAAM,WAAW,GAAG,MAA2B,MAAM,EAAE,CAAC,QAAQ;AAChE,MAAM,MAAM,GAAG,MAAsB,MAAM,EAAE,CAAC,GAAG;AAC3C,MAAA,SAAS,GAAG,MAA4B,MAAM,EAAE,CAAC;AACjD,MAAA,aAAa,GAAG,MAAgC,MAAM,EAAE,CAAC;AACzD,MAAA,YAAY,GAAG,MAA+B,MAAM,EAAE,CAAC;;AClCpE,MAAM,cAAc,GAAgB,EAAC,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,SAAS,EAAC;AACpE,MAAM,WAAW,GAAgB,EAAC,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,EAAC;AAGvD,MAAM,MAAM,GAAG,CAAC,OAAe,EAAE,MAAA,GAAsB,WAAW,EAAE,IAAc,KAAU;AAClG,IAAA,MAAM,MAAM,GAAG,CAAC,SAAS,GAAG,MAAM,CAAC,IAAI,EAAE,cAAc,GAAG,MAAM,CAAC,EAAE,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,kBAAkB,CAAC,CAAC,IAAI,CACzJ,GAAG,CACH;IAED,IAAG,MAAM,EAAE,IAAI,aAAa,EAAE,IAAI,WAAW,EAAE,EAAE;QAChD,OAAO,CAAC,GAAG,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,CAAC;;AAE7C,CAAC;MAEY,aAAa,GAAG,CAAC,OAAe,EAAE,IAAc,KAAU;IACtE,IAAI,aAAa,EAAE,EAAE;AACpB,QAAA,MAAM,CAAC,OAAO,EAAE,cAAc,EAAE,IAAI,CAAC;;AAEvC;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"p-Cjg0wpDG.js","sources":["../../../packages/core/src/utils/stencil.utils.ts"],"sourcesContent":["export const tick = (callback: () => void) => {\r\n\trequestAnimationFrame(() => {\r\n\t\tcallback();\r\n\t});\r\n}\r\n"],"names":[],"mappings":"AAAa,MAAA,IAAI,GAAG,CAAC,QAAoB,KAAI;IAC5C,qBAAqB,CAAC,MAAK;AAC1B,QAAA,QAAQ,EAAE;AACX,KAAC,CAAC;AACH;;;;"}
1
+ {"version":3,"file":"p-Cjg0wpDG.js","sources":["../../../packages/core/src/utils/stencil.utils.ts"],"sourcesContent":["export const tick = (callback: () => void) => {\n\trequestAnimationFrame(() => {\n\t\tcallback();\n\t});\n}\n"],"names":[],"mappings":"AAAa,MAAA,IAAI,GAAG,CAAC,QAAoB,KAAI;IAC5C,qBAAqB,CAAC,MAAK;AAC1B,QAAA,QAAQ,EAAE;AACX,KAAC,CAAC;AACH;;;;"}