@gov-design-system-ce/components 4.1.0-rc02 → 4.1.0-rc03

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 (407) hide show
  1. package/dist/cjs/core.cjs.js +1 -1
  2. package/dist/cjs/gov-attachments_3.cjs.entry.js +3 -3
  3. package/dist/cjs/gov-attachments_3.cjs.entry.js.map +1 -1
  4. package/dist/cjs/gov-backdrop.cjs.entry.js +1 -1
  5. package/dist/cjs/gov-breadcrumbs.cjs.entry.js +1 -1
  6. package/dist/cjs/gov-button.cjs.entry.js +3 -3
  7. package/dist/cjs/gov-card.cjs.entry.js +1 -1
  8. package/dist/cjs/gov-chip.cjs.entry.js +2 -2
  9. package/dist/cjs/gov-container.cjs.entry.js +1 -1
  10. package/dist/cjs/gov-control-group.cjs.entry.js +1 -1
  11. package/dist/cjs/gov-cookiebar.cjs.entry.js +1 -1
  12. package/dist/cjs/gov-dialog.cjs.entry.js +1 -1
  13. package/dist/cjs/gov-dialog.cjs.entry.js.map +1 -1
  14. package/dist/cjs/gov-dropdown.cjs.entry.js +1 -1
  15. package/dist/cjs/gov-empty.cjs.entry.js +1 -1
  16. package/dist/cjs/gov-error-code.cjs.entry.js +1 -1
  17. package/dist/cjs/gov-form-autocomplete.cjs.entry.js +1 -1
  18. package/dist/cjs/gov-form-checkbox-group.cjs.entry.js +1 -1
  19. package/dist/cjs/gov-form-control.cjs.entry.js +1 -1
  20. package/dist/cjs/gov-form-file.cjs.entry.js +1 -1
  21. package/dist/cjs/gov-form-group.cjs.entry.js +1 -1
  22. package/dist/cjs/gov-form-input_2.cjs.entry.js +4 -4
  23. package/dist/cjs/gov-form-label.cjs.entry.js +1 -1
  24. package/dist/cjs/gov-form-multi-select.cjs.entry.js +5 -5
  25. package/dist/cjs/gov-form-multi-select.cjs.entry.js.map +1 -1
  26. package/dist/cjs/gov-form-password-power.cjs.entry.js +1 -1
  27. package/dist/cjs/gov-form-radio-group.cjs.entry.js +1 -1
  28. package/dist/cjs/gov-form-search.cjs.entry.js +1 -1
  29. package/dist/cjs/gov-form-select.cjs.entry.js +2 -2
  30. package/dist/cjs/gov-grid-item.cjs.entry.js +1 -1
  31. package/dist/cjs/gov-grid.cjs.entry.js +1 -1
  32. package/dist/cjs/gov-icon.cjs.entry.js +1 -1
  33. package/dist/cjs/gov-infobar.cjs.entry.js +2 -2
  34. package/dist/cjs/gov-infobar.cjs.entry.js.map +1 -1
  35. package/dist/cjs/gov-layout-column.cjs.entry.js +1 -1
  36. package/dist/cjs/gov-layout.cjs.entry.js +1 -1
  37. package/dist/cjs/gov-loading.cjs.entry.js +1 -1
  38. package/dist/cjs/gov-message.cjs.entry.js +1 -1
  39. package/dist/cjs/gov-pagination.cjs.entry.js +1 -1
  40. package/dist/cjs/gov-pagination.cjs.entry.js.map +1 -1
  41. package/dist/cjs/gov-spacer.cjs.entry.js +1 -1
  42. package/dist/cjs/gov-stepper-item.cjs.entry.js +1 -1
  43. package/dist/cjs/gov-stepper.cjs.entry.js +1 -1
  44. package/dist/cjs/gov-tabs-item.cjs.entry.js +1 -1
  45. package/dist/cjs/gov-tabs.cjs.entry.js +1 -1
  46. package/dist/cjs/gov-tag.cjs.entry.js +1 -1
  47. package/dist/cjs/gov-theme-switch.cjs.entry.js +73 -0
  48. package/dist/cjs/gov-theme-switch.cjs.entry.js.map +1 -0
  49. package/dist/cjs/gov-tile.cjs.entry.js +1 -1
  50. package/dist/cjs/gov-tiles.cjs.entry.js +1 -1
  51. package/dist/cjs/gov-toast.cjs.entry.js +1 -1
  52. package/dist/cjs/gov-tooltip-content.cjs.entry.js +1 -1
  53. package/dist/cjs/gov-tooltip.cjs.entry.js +2 -2
  54. package/dist/cjs/gov-wizard-item.cjs.entry.js +2 -2
  55. package/dist/cjs/gov-wizard.cjs.entry.js +1 -1
  56. package/dist/cjs/index-1af4880c.js +2 -2
  57. package/dist/cjs/loader.cjs.js +1 -1
  58. package/dist/collection/collection-manifest.json +0 -1
  59. package/dist/collection/components/gov-attachments/gov-attachments-item.js +1 -1
  60. package/dist/collection/components/gov-attachments/gov-attachments-item.js.map +1 -1
  61. package/dist/collection/components/gov-attachments/gov-attachments.js +1 -1
  62. package/dist/collection/components/gov-backdrop/gov-backdrop.js +1 -1
  63. package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.js +1 -1
  64. package/dist/collection/components/gov-button/button/gov-button.js +3 -3
  65. package/dist/collection/components/gov-button/dropdown/gov-dropdown.js +1 -1
  66. package/dist/collection/components/gov-card/gov-card.js +1 -1
  67. package/dist/collection/components/gov-chip/gov-chip.js +2 -2
  68. package/dist/collection/components/gov-container/gov-container.js +1 -1
  69. package/dist/collection/components/gov-control-group/gov-control-group.js +1 -1
  70. package/dist/collection/components/gov-cookiebar/gov-cookiebar.js +1 -1
  71. package/dist/collection/components/gov-dialog/gov-dialog.js +1 -1
  72. package/dist/collection/components/gov-dialog/gov-dialog.js.map +1 -1
  73. package/dist/collection/components/gov-empty/gov-empty.js +1 -1
  74. package/dist/collection/components/gov-error-code/gov-error-code.js +1 -1
  75. package/dist/collection/components/gov-form/autocomplete/gov-form-autocomplete.js +1 -1
  76. package/dist/collection/components/gov-form/control/gov-form-control.js +1 -1
  77. package/dist/collection/components/gov-form/file/gov-form-file.js +1 -1
  78. package/dist/collection/components/gov-form/group/gov-form-checkbox-group.js +1 -1
  79. package/dist/collection/components/gov-form/group/gov-form-group.js +1 -1
  80. package/dist/collection/components/gov-form/group/gov-form-radio-group.js +1 -1
  81. package/dist/collection/components/gov-form/input/gov-form-input.js +3 -3
  82. package/dist/collection/components/gov-form/label/gov-form-label.js +1 -1
  83. package/dist/collection/components/gov-form/message/gov-form-message.js +1 -1
  84. package/dist/collection/components/gov-form/multiselect/gov-form-multi-select.js +5 -5
  85. package/dist/collection/components/gov-form/multiselect/gov-form-multi-select.js.map +1 -1
  86. package/dist/collection/components/gov-form/password-power/gov-form-password-power.js +1 -1
  87. package/dist/collection/components/gov-form/search/gov-form-search.js +1 -1
  88. package/dist/collection/components/gov-form/select/gov-form-select.js +2 -2
  89. package/dist/collection/components/gov-grid/gov-grid-item.js +1 -1
  90. package/dist/collection/components/gov-grid/gov-grid.js +1 -1
  91. package/dist/collection/components/gov-infobar/gov-infobar.js +2 -2
  92. package/dist/collection/components/gov-infobar/gov-infobar.js.map +1 -1
  93. package/dist/collection/components/gov-layout/gov-layout-column.js +1 -1
  94. package/dist/collection/components/gov-layout/gov-layout.js +1 -1
  95. package/dist/collection/components/gov-loading/loading/gov-loading.js +1 -1
  96. package/dist/collection/components/gov-loading/skeleton/gov-skeleton.js +1 -1
  97. package/dist/collection/components/gov-message/gov-message.js +1 -1
  98. package/dist/collection/components/gov-pagination/gov-pagination.js +1 -1
  99. package/dist/collection/components/gov-pagination/gov-pagination.js.map +1 -1
  100. package/dist/collection/components/gov-spacer/gov-spacer.js +1 -1
  101. package/dist/collection/components/gov-stepper/gov-stepper-item.js +1 -1
  102. package/dist/collection/components/gov-stepper/gov-stepper.js +1 -1
  103. package/dist/collection/components/gov-tabs/gov-tabs-item.js +1 -1
  104. package/dist/collection/components/gov-tabs/gov-tabs.js +1 -1
  105. package/dist/collection/components/gov-tag/gov-tag.js +1 -1
  106. package/dist/collection/components/gov-theme-switch/gov-theme-switch.js +1 -1
  107. package/dist/collection/components/gov-tile/container/gov-tiles.js +1 -1
  108. package/dist/collection/components/gov-tile/gov-tile.js +1 -1
  109. package/dist/collection/components/gov-toast/gov-toast.js +1 -1
  110. package/dist/collection/components/gov-tooltip/gov-tooltip-content.js +1 -1
  111. package/dist/collection/components/gov-tooltip/gov-tooltip.js +2 -2
  112. package/dist/collection/components/gov-wizard/gov-wizard-item.js +2 -2
  113. package/dist/collection/components/gov-wizard/gov-wizard.js +1 -1
  114. package/dist/components/gov-accordion-item.js +1 -1
  115. package/dist/components/gov-attachments-item.js +1 -1
  116. package/dist/components/gov-attachments.js +1 -1
  117. package/dist/components/gov-backdrop.js +1 -1
  118. package/dist/components/gov-breadcrumbs.js +1 -1
  119. package/dist/components/gov-breadcrumbs.js.map +1 -1
  120. package/dist/components/gov-button.js +1 -1
  121. package/dist/components/gov-card.js +1 -1
  122. package/dist/components/gov-chip.js +1 -1
  123. package/dist/components/gov-container.js +1 -1
  124. package/dist/components/gov-control-group.js +1 -1
  125. package/dist/components/gov-cookiebar.js +1 -1
  126. package/dist/components/gov-dialog.js +1 -1
  127. package/dist/components/gov-dialog.js.map +1 -1
  128. package/dist/components/gov-dropdown.js +1 -1
  129. package/dist/components/gov-dropdown.js.map +1 -1
  130. package/dist/components/gov-empty.js +1 -1
  131. package/dist/components/gov-error-code.js +1 -1
  132. package/dist/components/gov-form-autocomplete.js +1 -1
  133. package/dist/components/gov-form-checkbox-group.js +1 -1
  134. package/dist/components/gov-form-checkbox.js +1 -1
  135. package/dist/components/gov-form-control.js +1 -1
  136. package/dist/components/gov-form-file.js +1 -1
  137. package/dist/components/gov-form-file.js.map +1 -1
  138. package/dist/components/gov-form-group.js +1 -1
  139. package/dist/components/gov-form-input.js +1 -1
  140. package/dist/components/gov-form-label.js +1 -1
  141. package/dist/components/gov-form-message.js +1 -1
  142. package/dist/components/gov-form-multi-select.js +1 -1
  143. package/dist/components/gov-form-multi-select.js.map +1 -1
  144. package/dist/components/gov-form-password-power.js +1 -1
  145. package/dist/components/gov-form-password-power.js.map +1 -1
  146. package/dist/components/gov-form-radio-group.js +1 -1
  147. package/dist/components/gov-form-search.js +1 -1
  148. package/dist/components/gov-form-select.js +1 -1
  149. package/dist/components/gov-form-switch.js +1 -1
  150. package/dist/components/gov-grid-item.js +1 -1
  151. package/dist/components/gov-grid.js +1 -1
  152. package/dist/components/gov-icon.js +1 -1
  153. package/dist/components/gov-infobar.js +1 -1
  154. package/dist/components/gov-infobar.js.map +1 -1
  155. package/dist/components/gov-layout-column.js +1 -1
  156. package/dist/components/gov-layout.js +1 -1
  157. package/dist/components/gov-loading.js +1 -1
  158. package/dist/components/gov-loading.js.map +1 -1
  159. package/dist/components/gov-message.js +1 -1
  160. package/dist/components/gov-pagination.js +1 -1
  161. package/dist/components/gov-pagination.js.map +1 -1
  162. package/dist/components/gov-skeleton.js +1 -1
  163. package/dist/components/gov-spacer.js +1 -1
  164. package/dist/components/gov-stepper-item.js +1 -1
  165. package/dist/components/gov-stepper.js +1 -1
  166. package/dist/components/gov-tabs-item.js +1 -1
  167. package/dist/components/gov-tabs.js +1 -1
  168. package/dist/components/gov-tag.js +1 -1
  169. package/dist/components/gov-theme-switch.js +1 -1
  170. package/dist/components/gov-tile.js +1 -1
  171. package/dist/components/gov-tiles.js +1 -1
  172. package/dist/components/gov-toast.js +1 -1
  173. package/dist/components/gov-tooltip-content.js +1 -1
  174. package/dist/components/gov-tooltip-content.js.map +1 -1
  175. package/dist/components/gov-tooltip.js +1 -1
  176. package/dist/components/gov-wizard-item.js +1 -1
  177. package/dist/components/gov-wizard.js +1 -1
  178. package/dist/components/{p-736e4917.js → p-1e82b99e.js} +2 -2
  179. package/dist/components/{p-c9a15c52.js → p-3dece5f7.js} +2 -2
  180. package/dist/components/p-4a92317f.js +2 -0
  181. package/dist/components/{p-e9b35956.js.map → p-4a92317f.js.map} +1 -1
  182. package/dist/components/{p-ff0cf148.js → p-4ffeb83f.js} +2 -2
  183. package/dist/components/{p-5caf1fe1.js → p-a14f8877.js} +2 -2
  184. package/dist/components/p-a5975d22.js +2 -0
  185. package/dist/components/{p-6e19816b.js → p-a99d125a.js} +2 -2
  186. package/dist/components/{p-2da35aa8.js → p-c0bb26c2.js} +2 -2
  187. package/dist/components/{p-e20bb5dc.js → p-dd8d3279.js} +2 -2
  188. package/dist/components/p-de3103e8.js +2 -0
  189. package/dist/components/{p-fe1842da.js.map → p-de3103e8.js.map} +1 -1
  190. package/dist/components/p-de8656dd.js +2 -0
  191. package/dist/core/core.esm.js +1 -1
  192. package/dist/core/core.esm.js.map +1 -1
  193. package/dist/core/{p-0a952b3c.entry.js → p-0225a96a.entry.js} +2 -2
  194. package/dist/core/p-033bbbaa.entry.js +2 -0
  195. package/dist/core/{p-f456bd71.entry.js.map → p-033bbbaa.entry.js.map} +1 -1
  196. package/dist/core/p-0d7b9167.entry.js +2 -0
  197. package/dist/core/{p-aa8adc45.entry.js.map → p-0d7b9167.entry.js.map} +1 -1
  198. package/dist/core/p-111e1a63.entry.js +2 -0
  199. package/dist/core/{p-5dcbfca3.entry.js.map → p-111e1a63.entry.js.map} +1 -1
  200. package/dist/core/p-1638b12b.entry.js +2 -0
  201. package/dist/core/{p-f1be099b.entry.js → p-1bbc10c9.entry.js} +2 -2
  202. package/dist/core/{p-fc90bf06.entry.js → p-21bdd725.entry.js} +2 -2
  203. package/dist/core/p-235869e6.entry.js +2 -0
  204. package/dist/core/p-2ee0d589.entry.js +2 -0
  205. package/dist/core/{p-2ed3afef.entry.js → p-33ecbb38.entry.js} +2 -2
  206. package/dist/core/p-378e5294.entry.js +2 -0
  207. package/dist/core/{p-dc3fab19.entry.js.map → p-378e5294.entry.js.map} +1 -1
  208. package/dist/core/p-393a281e.entry.js +2 -0
  209. package/dist/core/{p-7cf554e6.entry.js.map → p-393a281e.entry.js.map} +1 -1
  210. package/dist/core/p-39d8e408.entry.js +2 -0
  211. package/dist/core/p-3a519b02.entry.js +2 -0
  212. package/dist/core/p-3db35bee.entry.js +2 -0
  213. package/dist/core/{p-17015e36.entry.js.map → p-3db35bee.entry.js.map} +1 -1
  214. package/dist/core/p-3ddfbc05.entry.js +2 -0
  215. package/dist/core/{p-fa7caad6.entry.js → p-3e8b94c2.entry.js} +2 -2
  216. package/dist/core/p-3f5f36e4.entry.js +2 -0
  217. package/dist/core/{p-83039b10.entry.js.map → p-3f5f36e4.entry.js.map} +1 -1
  218. package/dist/core/p-4898c95f.entry.js +2 -0
  219. package/dist/core/p-4e98412a.entry.js +2 -0
  220. package/dist/core/{p-db940455.entry.js.map → p-4e98412a.entry.js.map} +1 -1
  221. package/dist/core/p-59c4574a.entry.js +2 -0
  222. package/dist/core/{p-5dc0af54.entry.js.map → p-59c4574a.entry.js.map} +1 -1
  223. package/dist/core/p-5f776da7.entry.js +2 -0
  224. package/dist/core/{p-663d3db2.entry.js.map → p-5f776da7.entry.js.map} +1 -1
  225. package/dist/core/p-74e20474.entry.js +2 -0
  226. package/dist/core/{p-b838bb27.entry.js.map → p-74e20474.entry.js.map} +1 -1
  227. package/dist/core/{p-c214c202.entry.js → p-7cd2c877.entry.js} +2 -2
  228. package/dist/core/{p-3f2b803c.entry.js → p-8321da17.entry.js} +2 -2
  229. package/dist/core/{p-81b0848c.entry.js → p-899e504a.entry.js} +2 -2
  230. package/dist/core/p-9100d24f.entry.js +2 -0
  231. package/dist/core/p-964f1729.entry.js +2 -0
  232. package/dist/core/p-97927e2a.entry.js +2 -0
  233. package/dist/core/{p-5c88f415.entry.js.map → p-97927e2a.entry.js.map} +1 -1
  234. package/dist/core/p-98091397.entry.js +2 -0
  235. package/dist/core/{p-74e9ad9d.entry.js → p-987388fd.entry.js} +2 -2
  236. package/dist/core/p-9d0c3dee.entry.js +2 -0
  237. package/dist/core/{p-a5489b0e.entry.js → p-a42514f9.entry.js} +2 -2
  238. package/dist/core/{p-ab9ae7ba.entry.js → p-a4886f2d.entry.js} +2 -2
  239. package/dist/core/p-acff78c5.entry.js +2 -0
  240. package/dist/core/{p-b55fc943.entry.js.map → p-acff78c5.entry.js.map} +1 -1
  241. package/dist/core/{p-d2351924.entry.js → p-b215f99f.entry.js} +2 -2
  242. package/dist/core/p-bdf1864e.entry.js +2 -0
  243. package/dist/core/{p-6d772ff9.entry.js.map → p-bdf1864e.entry.js.map} +1 -1
  244. package/dist/core/p-c5375a8a.entry.js +2 -0
  245. package/dist/core/p-c5375a8a.entry.js.map +1 -0
  246. package/dist/core/{p-6b42a387.entry.js → p-c6431085.entry.js} +2 -2
  247. package/dist/core/p-ca093025.entry.js +2 -0
  248. package/dist/core/p-d56632e1.entry.js +2 -0
  249. package/dist/core/{p-6ed147a6.entry.js → p-e49b1737.entry.js} +2 -2
  250. package/dist/core/{p-6ed147a6.entry.js.map → p-e49b1737.entry.js.map} +1 -1
  251. package/dist/core/p-e5b95316.entry.js +2 -0
  252. package/dist/core/p-ea6cb030.entry.js +2 -0
  253. package/dist/core/{p-eeb9cb73.entry.js.map → p-ea6cb030.entry.js.map} +1 -1
  254. package/dist/core/{p-edc05eff.entry.js → p-eb2af67a.entry.js} +2 -2
  255. package/dist/core/p-f0781e29.entry.js +2 -0
  256. package/dist/core/{p-47e364bb.entry.js.map → p-f0781e29.entry.js.map} +1 -1
  257. package/dist/core/p-f4e04e98.entry.js +2 -0
  258. package/dist/core/p-fe147dbf.entry.js +2 -0
  259. package/dist/esm/core.js +1 -1
  260. package/dist/esm/gov-attachments_3.entry.js +3 -3
  261. package/dist/esm/gov-attachments_3.entry.js.map +1 -1
  262. package/dist/esm/gov-backdrop.entry.js +1 -1
  263. package/dist/esm/gov-breadcrumbs.entry.js +1 -1
  264. package/dist/esm/gov-button.entry.js +3 -3
  265. package/dist/esm/gov-card.entry.js +1 -1
  266. package/dist/esm/gov-chip.entry.js +2 -2
  267. package/dist/esm/gov-container.entry.js +1 -1
  268. package/dist/esm/gov-control-group.entry.js +1 -1
  269. package/dist/esm/gov-cookiebar.entry.js +1 -1
  270. package/dist/esm/gov-dialog.entry.js +1 -1
  271. package/dist/esm/gov-dialog.entry.js.map +1 -1
  272. package/dist/esm/gov-dropdown.entry.js +1 -1
  273. package/dist/esm/gov-empty.entry.js +1 -1
  274. package/dist/esm/gov-error-code.entry.js +1 -1
  275. package/dist/esm/gov-form-autocomplete.entry.js +1 -1
  276. package/dist/esm/gov-form-checkbox-group.entry.js +1 -1
  277. package/dist/esm/gov-form-control.entry.js +1 -1
  278. package/dist/esm/gov-form-file.entry.js +1 -1
  279. package/dist/esm/gov-form-group.entry.js +1 -1
  280. package/dist/esm/gov-form-input_2.entry.js +4 -4
  281. package/dist/esm/gov-form-label.entry.js +1 -1
  282. package/dist/esm/gov-form-multi-select.entry.js +5 -5
  283. package/dist/esm/gov-form-multi-select.entry.js.map +1 -1
  284. package/dist/esm/gov-form-password-power.entry.js +1 -1
  285. package/dist/esm/gov-form-radio-group.entry.js +1 -1
  286. package/dist/esm/gov-form-search.entry.js +1 -1
  287. package/dist/esm/gov-form-select.entry.js +2 -2
  288. package/dist/esm/gov-grid-item.entry.js +1 -1
  289. package/dist/esm/gov-grid.entry.js +1 -1
  290. package/dist/esm/gov-icon.entry.js +1 -1
  291. package/dist/esm/gov-infobar.entry.js +2 -2
  292. package/dist/esm/gov-infobar.entry.js.map +1 -1
  293. package/dist/esm/gov-layout-column.entry.js +1 -1
  294. package/dist/esm/gov-layout.entry.js +1 -1
  295. package/dist/esm/gov-loading.entry.js +1 -1
  296. package/dist/esm/gov-message.entry.js +1 -1
  297. package/dist/esm/gov-pagination.entry.js +1 -1
  298. package/dist/esm/gov-pagination.entry.js.map +1 -1
  299. package/dist/esm/gov-spacer.entry.js +1 -1
  300. package/dist/esm/gov-stepper-item.entry.js +1 -1
  301. package/dist/esm/gov-stepper.entry.js +1 -1
  302. package/dist/esm/gov-tabs-item.entry.js +1 -1
  303. package/dist/esm/gov-tabs.entry.js +1 -1
  304. package/dist/esm/gov-tag.entry.js +1 -1
  305. package/dist/esm/gov-theme-switch.entry.js +69 -0
  306. package/dist/esm/gov-theme-switch.entry.js.map +1 -0
  307. package/dist/esm/gov-tile.entry.js +1 -1
  308. package/dist/esm/gov-tiles.entry.js +1 -1
  309. package/dist/esm/gov-toast.entry.js +1 -1
  310. package/dist/esm/gov-tooltip-content.entry.js +1 -1
  311. package/dist/esm/gov-tooltip.entry.js +2 -2
  312. package/dist/esm/gov-wizard-item.entry.js +2 -2
  313. package/dist/esm/gov-wizard.entry.js +1 -1
  314. package/dist/esm/index-d8b4eb6c.js +2 -2
  315. package/dist/esm/loader.js +1 -1
  316. package/dist/hydrate/index.js +64 -9890
  317. package/dist/hydrate/index.mjs +64 -9890
  318. package/dist/types/components.d.ts +0 -13
  319. package/package.json +1 -1
  320. package/dist/cjs/gov-app_2.cjs.entry.js +0 -9891
  321. package/dist/cjs/gov-app_2.cjs.entry.js.map +0 -1
  322. package/dist/collection/components/gov-app/gov-app.css +0 -68
  323. package/dist/collection/components/gov-app/gov-app.js +0 -93
  324. package/dist/collection/components/gov-app/gov-app.js.map +0 -1
  325. package/dist/components/gov-app.d.ts +0 -11
  326. package/dist/components/gov-app.js +0 -2
  327. package/dist/components/gov-app.js.map +0 -1
  328. package/dist/components/p-ae7e6127.js +0 -2
  329. package/dist/components/p-e183a7c7.js +0 -2
  330. package/dist/components/p-e9b35956.js +0 -2
  331. package/dist/components/p-fe1842da.js +0 -2
  332. package/dist/core/p-006e52f1.entry.js +0 -2
  333. package/dist/core/p-17015e36.entry.js +0 -2
  334. package/dist/core/p-182189d2.entry.js +0 -2
  335. package/dist/core/p-2effdd60.entry.js +0 -2
  336. package/dist/core/p-477a5027.entry.js +0 -2
  337. package/dist/core/p-477a5027.entry.js.map +0 -1
  338. package/dist/core/p-47e364bb.entry.js +0 -2
  339. package/dist/core/p-5c88f415.entry.js +0 -2
  340. package/dist/core/p-5dc0af54.entry.js +0 -2
  341. package/dist/core/p-5dcbfca3.entry.js +0 -2
  342. package/dist/core/p-663d3db2.entry.js +0 -2
  343. package/dist/core/p-6d772ff9.entry.js +0 -2
  344. package/dist/core/p-7cf554e6.entry.js +0 -2
  345. package/dist/core/p-83039b10.entry.js +0 -2
  346. package/dist/core/p-904de5e6.entry.js +0 -2
  347. package/dist/core/p-91a9cd24.entry.js +0 -2
  348. package/dist/core/p-963f9fcd.entry.js +0 -2
  349. package/dist/core/p-9dde00d8.entry.js +0 -2
  350. package/dist/core/p-9ff8f059.entry.js +0 -2
  351. package/dist/core/p-a1ebb4da.entry.js +0 -2
  352. package/dist/core/p-a53a277a.entry.js +0 -2
  353. package/dist/core/p-a54f1db9.entry.js +0 -2
  354. package/dist/core/p-aa8adc45.entry.js +0 -2
  355. package/dist/core/p-b3acb156.entry.js +0 -2
  356. package/dist/core/p-b55fc943.entry.js +0 -2
  357. package/dist/core/p-b838bb27.entry.js +0 -2
  358. package/dist/core/p-c4c7cb24.entry.js +0 -2
  359. package/dist/core/p-db940455.entry.js +0 -2
  360. package/dist/core/p-dc3fab19.entry.js +0 -2
  361. package/dist/core/p-e134b123.entry.js +0 -2
  362. package/dist/core/p-e4978aab.entry.js +0 -2
  363. package/dist/core/p-eeb9cb73.entry.js +0 -2
  364. package/dist/core/p-f141ad5e.entry.js +0 -2
  365. package/dist/core/p-f456bd71.entry.js +0 -2
  366. package/dist/esm/gov-app_2.entry.js +0 -9886
  367. package/dist/esm/gov-app_2.entry.js.map +0 -1
  368. package/dist/types/components/gov-app/gov-app.d.ts +0 -37
  369. /package/dist/components/{p-736e4917.js.map → p-1e82b99e.js.map} +0 -0
  370. /package/dist/components/{p-c9a15c52.js.map → p-3dece5f7.js.map} +0 -0
  371. /package/dist/components/{p-ff0cf148.js.map → p-4ffeb83f.js.map} +0 -0
  372. /package/dist/components/{p-5caf1fe1.js.map → p-a14f8877.js.map} +0 -0
  373. /package/dist/components/{p-ae7e6127.js.map → p-a5975d22.js.map} +0 -0
  374. /package/dist/components/{p-6e19816b.js.map → p-a99d125a.js.map} +0 -0
  375. /package/dist/components/{p-2da35aa8.js.map → p-c0bb26c2.js.map} +0 -0
  376. /package/dist/components/{p-e20bb5dc.js.map → p-dd8d3279.js.map} +0 -0
  377. /package/dist/components/{p-e183a7c7.js.map → p-de8656dd.js.map} +0 -0
  378. /package/dist/core/{p-0a952b3c.entry.js.map → p-0225a96a.entry.js.map} +0 -0
  379. /package/dist/core/{p-a54f1db9.entry.js.map → p-1638b12b.entry.js.map} +0 -0
  380. /package/dist/core/{p-f1be099b.entry.js.map → p-1bbc10c9.entry.js.map} +0 -0
  381. /package/dist/core/{p-fc90bf06.entry.js.map → p-21bdd725.entry.js.map} +0 -0
  382. /package/dist/core/{p-b3acb156.entry.js.map → p-235869e6.entry.js.map} +0 -0
  383. /package/dist/core/{p-006e52f1.entry.js.map → p-2ee0d589.entry.js.map} +0 -0
  384. /package/dist/core/{p-2ed3afef.entry.js.map → p-33ecbb38.entry.js.map} +0 -0
  385. /package/dist/core/{p-f141ad5e.entry.js.map → p-39d8e408.entry.js.map} +0 -0
  386. /package/dist/core/{p-2effdd60.entry.js.map → p-3a519b02.entry.js.map} +0 -0
  387. /package/dist/core/{p-c4c7cb24.entry.js.map → p-3ddfbc05.entry.js.map} +0 -0
  388. /package/dist/core/{p-fa7caad6.entry.js.map → p-3e8b94c2.entry.js.map} +0 -0
  389. /package/dist/core/{p-904de5e6.entry.js.map → p-4898c95f.entry.js.map} +0 -0
  390. /package/dist/core/{p-c214c202.entry.js.map → p-7cd2c877.entry.js.map} +0 -0
  391. /package/dist/core/{p-3f2b803c.entry.js.map → p-8321da17.entry.js.map} +0 -0
  392. /package/dist/core/{p-81b0848c.entry.js.map → p-899e504a.entry.js.map} +0 -0
  393. /package/dist/core/{p-a1ebb4da.entry.js.map → p-9100d24f.entry.js.map} +0 -0
  394. /package/dist/core/{p-91a9cd24.entry.js.map → p-964f1729.entry.js.map} +0 -0
  395. /package/dist/core/{p-a53a277a.entry.js.map → p-98091397.entry.js.map} +0 -0
  396. /package/dist/core/{p-74e9ad9d.entry.js.map → p-987388fd.entry.js.map} +0 -0
  397. /package/dist/core/{p-963f9fcd.entry.js.map → p-9d0c3dee.entry.js.map} +0 -0
  398. /package/dist/core/{p-a5489b0e.entry.js.map → p-a42514f9.entry.js.map} +0 -0
  399. /package/dist/core/{p-ab9ae7ba.entry.js.map → p-a4886f2d.entry.js.map} +0 -0
  400. /package/dist/core/{p-d2351924.entry.js.map → p-b215f99f.entry.js.map} +0 -0
  401. /package/dist/core/{p-6b42a387.entry.js.map → p-c6431085.entry.js.map} +0 -0
  402. /package/dist/core/{p-9dde00d8.entry.js.map → p-ca093025.entry.js.map} +0 -0
  403. /package/dist/core/{p-e134b123.entry.js.map → p-d56632e1.entry.js.map} +0 -0
  404. /package/dist/core/{p-9ff8f059.entry.js.map → p-e5b95316.entry.js.map} +0 -0
  405. /package/dist/core/{p-edc05eff.entry.js.map → p-eb2af67a.entry.js.map} +0 -0
  406. /package/dist/core/{p-182189d2.entry.js.map → p-f4e04e98.entry.js.map} +0 -0
  407. /package/dist/core/{p-e4978aab.entry.js.map → p-fe147dbf.entry.js.map} +0 -0
package/dist/esm/core.js CHANGED
@@ -37,7 +37,7 @@ var patchCloneNodeFix = (HTMLElementPrototype) => {
37
37
 
38
38
  patchBrowser().then(async (options) => {
39
39
  await globalScripts();
40
- return bootstrapLazy(JSON.parse("[[\"gov-form-file\",[[4,\"gov-form-file\",{\"expanded\":[4],\"required\":[4],\"disabled\":[4],\"resetAfterPick\":[4,\"reset-after-pick\"],\"ignoreFileDuplicationCheck\":[4,\"ignore-file-duplication-check\"],\"displayAttachments\":[4,\"display-attachments\"],\"name\":[1],\"accept\":[1],\"multiple\":[4],\"maxFileSize\":[2,\"max-file-size\"],\"identifier\":[1],\"invalid\":[4],\"errorSize\":[1,\"error-size\"],\"errorAccept\":[1,\"error-accept\"],\"attachmentsLabel\":[1,\"attachments-label\"],\"accessibleRemoveLabel\":[1,\"accessible-remove-label\"],\"accessibleAttachmentsLabel\":[1,\"accessible-attachments-label\"],\"files\":[32],\"inheritedAttributes\":[32],\"getRef\":[64],\"getAreaRef\":[64],\"reset\":[64]},null,{\"disabled\":[\"watchControlAttrs\"],\"invalid\":[\"watchControlAttrs\"]}]]],[\"gov-form-multi-select\",[[4,\"gov-form-multi-select\",{\"value\":[1537],\"options\":[1537],\"identifier\":[1],\"placeholder\":[1],\"size\":[1],\"name\":[1],\"hideSelectedList\":[4,\"hide-selected-list\"],\"required\":[4],\"disabled\":[4],\"invalid\":[4],\"success\":[4],\"messageEmpty\":[1,\"message-empty\"],\"messageLoading\":[1,\"message-loading\"],\"focused\":[32],\"valueState\":[32],\"selectedOptionsState\":[32],\"optionsState\":[32],\"inheritedAttributes\":[32],\"setFocus\":[64],\"setValue\":[64],\"getRef\":[64]},null,{\"size\":[\"validateSize\",\"watchControlAttrs\"],\"options\":[\"watchOptions\"],\"value\":[\"watchValue\"],\"disabled\":[\"watchControlAttrs\"],\"invalid\":[\"watchControlAttrs\"],\"success\":[\"watchControlAttrs\"]}]]],[\"gov-dialog\",[[4,\"gov-dialog\",{\"open\":[1540],\"blockClose\":[4,\"block-close\"],\"blockBackdropClose\":[4,\"block-backdrop-close\"],\"role\":[1],\"labelTag\":[1,\"label-tag\"],\"accessibleLabelledBy\":[1,\"accessible-labelled-by\"],\"accessibleDescribedBy\":[1,\"accessible-described-by\"],\"accessibleCloseLabel\":[1,\"accessible-close-label\"],\"accessibleCloseLabelledBy\":[1,\"accessible-close-labelled-by\"],\"setFocus\":[64],\"validateAccessibility\":[64]},null,{\"open\":[\"watchOpen\"]}]]],[\"gov-pagination\",[[0,\"gov-pagination\",{\"type\":[1],\"current\":[2],\"total\":[2],\"selectIdentifier\":[1,\"select-identifier\"],\"size\":[1],\"color\":[1],\"pageSize\":[2,\"page-size\"],\"maxPages\":[2,\"max-pages\"],\"link\":[1],\"accessibleSelectLabel\":[1,\"accessible-select-label\"],\"accessiblePageLabel\":[1,\"accessible-page-label\"],\"labelPrev\":[1,\"label-prev\"],\"labelStart\":[1,\"label-start\"],\"labelNext\":[1,\"label-next\"],\"labelEnd\":[1,\"label-end\"],\"pagination\":[32],\"inheritedAttributes\":[32]},null,{\"type\":[\"validateType\"],\"size\":[\"validateSize\"],\"color\":[\"validateColor\"],\"current\":[\"recalculate\"],\"total\":[\"recalculate\"],\"pageSize\":[\"recalculate\"],\"maxPages\":[\"recalculate\"]}]]],[\"gov-breadcrumbs\",[[4,\"gov-breadcrumbs\",{\"collapsible\":[4],\"isExpanded\":[4,\"is-expanded\"],\"accessibleLabel\":[1,\"accessible-label\"],\"accessibleLabelledBy\":[1,\"accessible-labelledby\"],\"accessibleToggleLabel\":[1,\"accessible-toggle-label\"],\"expanded\":[32],\"toggleOption\":[32],\"validateAccessibility\":[64]}]]],[\"gov-infobar\",[[4,\"gov-infobar\",{\"color\":[1],\"type\":[1],\"role\":[1],\"accessibleCloseLabel\":[1,\"accessible-close-label\"],\"accessibleToggleLabel\":[1,\"accessible-toggle-label\"],\"closable\":[4],\"toggleContent\":[32],\"inheritedAttributes\":[32]},null,{\"color\":[\"validateColor\"]}]]],[\"gov-loading\",[[4,\"gov-loading\",{\"size\":[1]},null,{\"size\":[\"validateSize\"]}]]],[\"gov-tabs\",[[4,\"gov-tabs\",{\"type\":[1],\"size\":[1],\"color\":[1],\"orientation\":[1],\"direction\":[513],\"controllers\":[32],\"focusIndex\":[32],\"inheritedAttributes\":[32],\"refresh\":[64],\"currentTab\":[64],\"setActiveTab\":[64],\"rerender\":[64]},null,{\"type\":[\"validateType\"],\"color\":[\"validateColor\"],\"size\":[\"validateSize\"]}]]],[\"gov-toast\",[[4,\"gov-toast\",{\"color\":[1],\"gravity\":[1],\"position\":[1],\"type\":[1],\"time\":[2],\"closeLabel\":[1,\"close-label\"],\"accessibleCloseLabel\":[1,\"accessible-close-label\"],\"inheritedAttributes\":[32],\"destroy\":[64]},null,{\"color\":[\"validateColor\"]}]]],[\"gov-tooltip-content\",[[4,\"gov-tooltip-content\",{\"color\":[1],\"size\":[1],\"persist\":[4],\"isVisible\":[1028,\"is-visible\"],\"parentId\":[1,\"parent-id\"]},null,{\"isVisible\":[\"visibleContent\"]}]]],[\"gov-accordion-item\",[[4,\"gov-accordion-item\",{\"identifier\":[1],\"size\":[1],\"disabled\":[4],\"open\":[1028],\"openState\":[32],\"toggle\":[64],\"currentState\":[64]},null,{\"size\":[\"validateSize\"]}]]],[\"gov-card\",[[4,\"gov-card\",{\"promotion\":[4],\"collapsible\":[4],\"open\":[1540],\"accessibleTriggerLabel\":[1,\"accessible-label\"],\"accessibleTriggerLabelledBy\":[1,\"accessible-labelledby\"],\"validateAccessibility\":[64]}]]],[\"gov-form-checkbox\",[[4,\"gov-form-checkbox\",{\"value\":[1],\"checked\":[1540],\"required\":[4],\"disabled\":[4],\"indeterminate\":[516],\"name\":[1],\"size\":[1],\"identifier\":[1],\"noLabel\":[4,\"no-label\"],\"invalid\":[4],\"inheritedAttributes\":[32],\"getRef\":[64]},null,{\"size\":[\"validateSize\",\"watchControlAttrs\"],\"disabled\":[\"watchControlAttrs\"],\"invalid\":[\"watchControlAttrs\"]}]]],[\"gov-form-switch\",[[4,\"gov-form-switch\",{\"value\":[1],\"noLabel\":[4,\"no-label\"],\"checked\":[1540],\"required\":[4],\"disabled\":[4],\"name\":[1],\"size\":[1],\"identifier\":[1],\"invalid\":[4],\"inheritedAttributes\":[32],\"getRef\":[64]},null,{\"size\":[\"validateSize\",\"watchDisabled\"],\"disabled\":[\"watchDisabled\"],\"invalid\":[\"watchDisabled\"]}]]],[\"gov-tag\",[[4,\"gov-tag\",{\"iconLeft\":[1,\"icon-left\"],\"iconRight\":[1,\"icon-right\"],\"size\":[513],\"color\":[513],\"type\":[513]},null,{\"color\":[\"validateColor\"],\"size\":[\"validateSize\"]}]]],[\"gov-tile\",[[4,\"gov-tile\",{\"size\":[513],\"orientation\":[1],\"noBorder\":[4,\"no-border\"],\"href\":[513],\"target\":[1],\"getTriggerRef\":[64]}]]],[\"gov-wizard-item\",[[4,\"gov-wizard-item\",{\"color\":[1],\"size\":[1],\"identifier\":[1],\"collapsible\":[4],\"disabled\":[4],\"isExpanded\":[1028,\"is-expanded\"],\"open\":[64],\"close\":[64],\"toggle\":[64],\"currentState\":[64]},null,{\"color\":[\"validateColor\"]}]]],[\"gov-app_2\",[[0,\"gov-app\"],[0,\"gov-theme-switch\",{\"theme\":[32]}]]],[\"gov-accordion\",[[4,\"gov-accordion\",{\"size\":[1],\"noBorder\":[4,\"no-border\"]},null,{\"size\":[\"validateSize\"]}]]],[\"gov-container\",[[4,\"gov-container\",{\"slottedChildren\":[64]}]]],[\"gov-control-group\",[[4,\"gov-control-group\",{\"color\":[1],\"noBorder\":[4,\"no-border\"],\"fitContent\":[4,\"fit-content\"]},null,{\"color\":[\"validateColor\"]}]]],[\"gov-cookiebar\",[[4,\"gov-cookiebar\"]]],[\"gov-dropdown\",[[4,\"gov-dropdown\",{\"identifier\":[1],\"open\":[1028],\"position\":[1],\"getState\":[64],\"toggle\":[64]},null,{\"open\":[\"watchOpen\"]}]]],[\"gov-empty\",[[4,\"gov-empty\",{\"size\":[1]},null,{\"size\":[\"validateSize\"]}]]],[\"gov-error-code\",[[4,\"gov-error-code\"]]],[\"gov-form-checkbox-group\",[[4,\"gov-form-checkbox-group\",{\"gap\":[1],\"orientation\":[1],\"value\":[1025]},null,{\"gap\":[\"validateGap\"],\"orientation\":[\"validateOrientation\"]}]]],[\"gov-form-control\",[[4,\"gov-form-control\",{\"identifier\":[1],\"invalid\":[516],\"disabled\":[516],\"success\":[516],\"fieldset\":[4],\"size\":[1]}]]],[\"gov-form-group\",[[4,\"gov-form-group\",{\"gap\":[1],\"orientation\":[1]},null,{\"gap\":[\"validateGap\"],\"orientation\":[\"validateOrientation\"]}]]],[\"gov-form-label\",[[4,\"gov-form-label\",{\"identifier\":[1],\"size\":[1],\"required\":[4],\"legend\":[4]}]]],[\"gov-form-password-power\",[[4,\"gov-form-password-power\",{\"power\":[514]}]]],[\"gov-form-radio\",[[4,\"gov-form-radio\",{\"value\":[1],\"noLabel\":[4,\"no-label\"],\"checked\":[1540],\"required\":[4],\"disabled\":[4],\"name\":[1],\"size\":[1],\"identifier\":[1],\"invalid\":[4],\"inheritedAttributes\":[32],\"getRef\":[64]},null,{\"size\":[\"validateSize\",\"watchControlAttrs\"],\"disabled\":[\"watchControlAttrs\"],\"invalid\":[\"watchControlAttrs\"]}]]],[\"gov-form-radio-group\",[[4,\"gov-form-radio-group\",{\"gap\":[1],\"orientation\":[1],\"value\":[1025]},null,{\"gap\":[\"validateGap\"],\"orientation\":[\"validateOrientation\"]}]]],[\"gov-form-search\",[[4,\"gov-form-search\",{\"size\":[1],\"color\":[513]}]]],[\"gov-grid\",[[4,\"gov-grid\",{\"alignX\":[1,\"align-x\"],\"alignY\":[1,\"align-y\"]}]]],[\"gov-grid-item\",[[4,\"gov-grid-item\",{\"size\":[1],\"sizeSm\":[1,\"size-sm\"],\"sizeMd\":[1,\"size-md\"],\"sizeLg\":[1,\"size-lg\"],\"sizeXl\":[1,\"size-xl\"]}]]],[\"gov-layout\",[[4,\"gov-layout\",{\"type\":[1],\"variant\":[1],\"inverse\":[4]}]]],[\"gov-layout-column\",[[4,\"gov-layout-column\"]]],[\"gov-message\",[[4,\"gov-message\",{\"color\":[1],\"type\":[1]},null,{\"color\":[\"validateColor\"]}]]],[\"gov-spacer\",[[0,\"gov-spacer\",{\"size\":[1],\"breakpoint\":[1]},null,{\"size\":[\"validateSize\"],\"breakpoint\":[\"validateBreakpoint\"]}]]],[\"gov-stepper\",[[4,\"gov-stepper\",{\"size\":[1]},null,{\"size\":[\"validateSize\"]}]]],[\"gov-stepper-item\",[[4,\"gov-stepper-item\",{\"color\":[1],\"size\":[1],\"identifier\":[1]},null,{\"color\":[\"validateColor\"]}]]],[\"gov-tabs-item\",[[4,\"gov-tabs-item\",{\"identifier\":[1],\"triggerIdentifier\":[1,\"trigger-identifier\"],\"label\":[513],\"disabled\":[516],\"iconStart\":[513,\"icon-start\"],\"iconEnd\":[513,\"icon-end\"],\"default\":[4],\"isActive\":[32],\"getIdentifier\":[64],\"getTriggerIdentifier\":[64],\"getDisableState\":[64],\"setActiveStatus\":[64]},null,{\"label\":[\"rerenderParent\"],\"disabled\":[\"rerenderParent\"]}]]],[\"gov-tiles\",[[4,\"gov-tiles\",{\"columns\":[514]}]]],[\"gov-tooltip\",[[4,\"gov-tooltip\",{\"color\":[1],\"size\":[1],\"position\":[1025],\"message\":[1],\"identifier\":[1],\"icon\":[516],\"persist\":[32],\"show\":[64],\"hide\":[64]},null,{\"color\":[\"validateColor\"],\"size\":[\"validateSize\"],\"position\":[\"validatePosition\"],\"message\":[\"rerenderMessage\"]}]]],[\"gov-wizard\",[[4,\"gov-wizard\",{\"size\":[1],\"wcagLabel\":[1,\"wcag-label\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"validateWcag\":[64]},null,{\"size\":[\"validateSize\"]}]]],[\"gov-icon\",[[0,\"gov-icon\",{\"color\":[513],\"name\":[513],\"type\":[513],\"visible\":[32],\"error\":[32]},null,{\"color\":[\"validateColor\"],\"name\":[\"loadIconPathData\"]}]]],[\"gov-button\",[[4,\"gov-button\",{\"color\":[513],\"size\":[513],\"type\":[513],\"expanded\":[516],\"name\":[1],\"disabled\":[516],\"nativeType\":[1,\"native-type\"],\"href\":[1],\"target\":[1],\"download\":[4],\"hreflang\":[1],\"referrerpolicy\":[1],\"rel\":[1],\"loading\":[1],\"focusable\":[4],\"identifier\":[1],\"inheritedAttributes\":[32],\"setFocus\":[64],\"getRef\":[64],\"validateAccessibility\":[64]},null,{\"color\":[\"validateColor\"],\"type\":[\"validateType\"],\"size\":[\"validateSize\"],\"nativeType\":[\"validateNativeType\"]}]]],[\"gov-form-autocomplete\",[[4,\"gov-form-autocomplete\",{\"value\":[1537],\"options\":[1537],\"identifier\":[1],\"success\":[4],\"size\":[1],\"nameKey\":[1,\"name-key\"],\"name\":[1],\"required\":[4],\"disabled\":[4],\"placeholder\":[1],\"readonly\":[4],\"invalid\":[4],\"minlength\":[2],\"maxlength\":[2],\"throttleTime\":[2,\"throttle-time\"],\"messageEmpty\":[1,\"message-empty\"],\"messageLoading\":[1,\"message-loading\"],\"focused\":[32],\"processing\":[32],\"arrowCounter\":[32],\"list\":[32],\"inheritedAttributes\":[32],\"setFocus\":[64],\"setBlur\":[64],\"setOptions\":[64],\"clearValue\":[64],\"setProcessing\":[64],\"setSearchCallback\":[64],\"setTemplateResolver\":[64]},null,{\"size\":[\"validateSize\"],\"options\":[\"watchOptions\"]}]]],[\"gov-chip\",[[4,\"gov-chip\",{\"disabled\":[516],\"href\":[1],\"target\":[1],\"iconLeft\":[1,\"icon-left\"],\"iconRight\":[1,\"icon-right\"],\"size\":[1],\"tag\":[1],\"color\":[1],\"type\":[513],\"focusable\":[4],\"identifier\":[1],\"inheritedAttributes\":[32],\"geRef\":[64],\"setFocus\":[64]},null,{\"color\":[\"validateColor\"],\"size\":[\"validateSize\"]}]]],[\"gov-form-select\",[[4,\"gov-form-select\",{\"value\":[1537],\"options\":[1537],\"identifier\":[1],\"size\":[1],\"name\":[1],\"required\":[4],\"success\":[4],\"disabled\":[4],\"invalid\":[4],\"focused\":[32],\"optionsState\":[32],\"inheritedAttributes\":[32],\"setFocus\":[64],\"getRef\":[64]},null,{\"size\":[\"validateSize\",\"watchControlAttrs\"],\"options\":[\"watchOptions\"],\"disabled\":[\"watchControlAttrs\"],\"invalid\":[\"watchControlAttrs\"],\"success\":[\"watchControlAttrs\"],\"value\":[\"watchValue\"]}]]],[\"gov-backdrop\",[[0,\"gov-backdrop\",{\"inverse\":[4],\"disabled\":[1540],\"accessibleLabel\":[1,\"accessible-label\"],\"accessibleLabelledBy\":[1,\"accessible-labelledby\"],\"validateAccessibility\":[64]}]]],[\"gov-attachments_3\",[[4,\"gov-attachments-item\",{\"accessibleRemoveLabel\":[1,\"accessible-remove-label\"],\"accessibleRemoveLabelledBy\":[1,\"accessible-remove-labelledby\"],\"validateAccessibility\":[64]}],[4,\"gov-attachments\",{\"label\":[1],\"wcagLabel\":[1,\"wcag-label\"],\"validateWcag\":[64]}],[4,\"gov-form-message\",{\"color\":[1],\"size\":[1],\"identifier\":[64]},null,{\"color\":[\"validateColor\"]}]]],[\"gov-form-input_2\",[[4,\"gov-form-input\",{\"value\":[1537],\"identifier\":[1],\"success\":[516],\"size\":[1],\"name\":[1],\"multiline\":[4],\"rows\":[2],\"cols\":[2],\"required\":[516],\"disabled\":[516],\"placeholder\":[1],\"readonly\":[4],\"minlength\":[2],\"maxlength\":[2],\"min\":[8],\"max\":[8],\"autocomplete\":[4],\"autocorrect\":[4],\"spellcheck\":[4],\"inputLang\":[1,\"input-lang\"],\"type\":[1],\"inputType\":[1,\"input-type\"],\"role\":[1],\"invalid\":[516],\"accessibleShowPasswordLabel\":[1,\"accessible-show-password-label\"],\"accessibleHidePasswordLabel\":[1,\"accessible-hide-password-label\"],\"focused\":[32],\"showPassword\":[32],\"inheritedAttributes\":[32],\"setFocus\":[64],\"setValue\":[64],\"clearValue\":[64],\"getRef\":[64]},null,{\"size\":[\"validateSize\",\"watchControlAttrs\"],\"disabled\":[\"watchControlAttrs\"],\"invalid\":[\"watchControlAttrs\"],\"success\":[\"watchControlAttrs\"]}],[0,\"gov-skeleton\",{\"size\":[1],\"color\":[1],\"shape\":[1],\"width\":[1],\"height\":[1],\"animation\":[1],\"inheritedAttributes\":[32]},null,{\"size\":[\"validateSize\"],\"shape\":[\"validateShape\"],\"animation\":[\"validateAnimation\"]}]]]]"), options);
40
+ return bootstrapLazy(JSON.parse("[[\"gov-form-file\",[[4,\"gov-form-file\",{\"expanded\":[4],\"required\":[4],\"disabled\":[4],\"resetAfterPick\":[4,\"reset-after-pick\"],\"ignoreFileDuplicationCheck\":[4,\"ignore-file-duplication-check\"],\"displayAttachments\":[4,\"display-attachments\"],\"name\":[1],\"accept\":[1],\"multiple\":[4],\"maxFileSize\":[2,\"max-file-size\"],\"identifier\":[1],\"invalid\":[4],\"errorSize\":[1,\"error-size\"],\"errorAccept\":[1,\"error-accept\"],\"attachmentsLabel\":[1,\"attachments-label\"],\"accessibleRemoveLabel\":[1,\"accessible-remove-label\"],\"accessibleAttachmentsLabel\":[1,\"accessible-attachments-label\"],\"files\":[32],\"inheritedAttributes\":[32],\"getRef\":[64],\"getAreaRef\":[64],\"reset\":[64]},null,{\"disabled\":[\"watchControlAttrs\"],\"invalid\":[\"watchControlAttrs\"]}]]],[\"gov-form-multi-select\",[[4,\"gov-form-multi-select\",{\"value\":[1537],\"options\":[1537],\"identifier\":[1],\"placeholder\":[1],\"size\":[1],\"name\":[1],\"hideSelectedList\":[4,\"hide-selected-list\"],\"required\":[4],\"disabled\":[4],\"invalid\":[4],\"success\":[4],\"messageEmpty\":[1,\"message-empty\"],\"messageLoading\":[1,\"message-loading\"],\"focused\":[32],\"valueState\":[32],\"selectedOptionsState\":[32],\"optionsState\":[32],\"inheritedAttributes\":[32],\"setFocus\":[64],\"setValue\":[64],\"getRef\":[64]},null,{\"size\":[\"validateSize\",\"watchControlAttrs\"],\"options\":[\"watchOptions\"],\"value\":[\"watchValue\"],\"disabled\":[\"watchControlAttrs\"],\"invalid\":[\"watchControlAttrs\"],\"success\":[\"watchControlAttrs\"]}]]],[\"gov-dialog\",[[4,\"gov-dialog\",{\"open\":[1540],\"blockClose\":[4,\"block-close\"],\"blockBackdropClose\":[4,\"block-backdrop-close\"],\"role\":[1],\"labelTag\":[1,\"label-tag\"],\"accessibleLabelledBy\":[1,\"accessible-labelled-by\"],\"accessibleDescribedBy\":[1,\"accessible-described-by\"],\"accessibleCloseLabel\":[1,\"accessible-close-label\"],\"accessibleCloseLabelledBy\":[1,\"accessible-close-labelled-by\"],\"setFocus\":[64],\"validateAccessibility\":[64]},null,{\"open\":[\"watchOpen\"]}]]],[\"gov-pagination\",[[0,\"gov-pagination\",{\"type\":[1],\"current\":[2],\"total\":[2],\"selectIdentifier\":[1,\"select-identifier\"],\"size\":[1],\"color\":[1],\"pageSize\":[2,\"page-size\"],\"maxPages\":[2,\"max-pages\"],\"link\":[1],\"accessibleSelectLabel\":[1,\"accessible-select-label\"],\"accessiblePageLabel\":[1,\"accessible-page-label\"],\"labelPrev\":[1,\"label-prev\"],\"labelStart\":[1,\"label-start\"],\"labelNext\":[1,\"label-next\"],\"labelEnd\":[1,\"label-end\"],\"pagination\":[32],\"inheritedAttributes\":[32]},null,{\"type\":[\"validateType\"],\"size\":[\"validateSize\"],\"color\":[\"validateColor\"],\"current\":[\"recalculate\"],\"total\":[\"recalculate\"],\"pageSize\":[\"recalculate\"],\"maxPages\":[\"recalculate\"]}]]],[\"gov-breadcrumbs\",[[4,\"gov-breadcrumbs\",{\"collapsible\":[4],\"isExpanded\":[4,\"is-expanded\"],\"accessibleLabel\":[1,\"accessible-label\"],\"accessibleLabelledBy\":[1,\"accessible-labelledby\"],\"accessibleToggleLabel\":[1,\"accessible-toggle-label\"],\"expanded\":[32],\"toggleOption\":[32],\"validateAccessibility\":[64]}]]],[\"gov-infobar\",[[4,\"gov-infobar\",{\"color\":[1],\"type\":[1],\"role\":[1],\"accessibleCloseLabel\":[1,\"accessible-close-label\"],\"accessibleToggleLabel\":[1,\"accessible-toggle-label\"],\"closable\":[4],\"toggleContent\":[32],\"inheritedAttributes\":[32]},null,{\"color\":[\"validateColor\"]}]]],[\"gov-loading\",[[4,\"gov-loading\",{\"size\":[1]},null,{\"size\":[\"validateSize\"]}]]],[\"gov-tabs\",[[4,\"gov-tabs\",{\"type\":[1],\"size\":[1],\"color\":[1],\"orientation\":[1],\"direction\":[513],\"controllers\":[32],\"focusIndex\":[32],\"inheritedAttributes\":[32],\"refresh\":[64],\"currentTab\":[64],\"setActiveTab\":[64],\"rerender\":[64]},null,{\"type\":[\"validateType\"],\"color\":[\"validateColor\"],\"size\":[\"validateSize\"]}]]],[\"gov-toast\",[[4,\"gov-toast\",{\"color\":[1],\"gravity\":[1],\"position\":[1],\"type\":[1],\"time\":[2],\"closeLabel\":[1,\"close-label\"],\"accessibleCloseLabel\":[1,\"accessible-close-label\"],\"inheritedAttributes\":[32],\"destroy\":[64]},null,{\"color\":[\"validateColor\"]}]]],[\"gov-tooltip-content\",[[4,\"gov-tooltip-content\",{\"color\":[1],\"size\":[1],\"persist\":[4],\"isVisible\":[1028,\"is-visible\"],\"parentId\":[1,\"parent-id\"]},null,{\"isVisible\":[\"visibleContent\"]}]]],[\"gov-accordion-item\",[[4,\"gov-accordion-item\",{\"identifier\":[1],\"size\":[1],\"disabled\":[4],\"open\":[1028],\"openState\":[32],\"toggle\":[64],\"currentState\":[64]},null,{\"size\":[\"validateSize\"]}]]],[\"gov-card\",[[4,\"gov-card\",{\"promotion\":[4],\"collapsible\":[4],\"open\":[1540],\"accessibleTriggerLabel\":[1,\"accessible-label\"],\"accessibleTriggerLabelledBy\":[1,\"accessible-labelledby\"],\"validateAccessibility\":[64]}]]],[\"gov-form-checkbox\",[[4,\"gov-form-checkbox\",{\"value\":[1],\"checked\":[1540],\"required\":[4],\"disabled\":[4],\"indeterminate\":[516],\"name\":[1],\"size\":[1],\"identifier\":[1],\"noLabel\":[4,\"no-label\"],\"invalid\":[4],\"inheritedAttributes\":[32],\"getRef\":[64]},null,{\"size\":[\"validateSize\",\"watchControlAttrs\"],\"disabled\":[\"watchControlAttrs\"],\"invalid\":[\"watchControlAttrs\"]}]]],[\"gov-form-switch\",[[4,\"gov-form-switch\",{\"value\":[1],\"noLabel\":[4,\"no-label\"],\"checked\":[1540],\"required\":[4],\"disabled\":[4],\"name\":[1],\"size\":[1],\"identifier\":[1],\"invalid\":[4],\"inheritedAttributes\":[32],\"getRef\":[64]},null,{\"size\":[\"validateSize\",\"watchDisabled\"],\"disabled\":[\"watchDisabled\"],\"invalid\":[\"watchDisabled\"]}]]],[\"gov-tag\",[[4,\"gov-tag\",{\"iconLeft\":[1,\"icon-left\"],\"iconRight\":[1,\"icon-right\"],\"size\":[513],\"color\":[513],\"type\":[513]},null,{\"color\":[\"validateColor\"],\"size\":[\"validateSize\"]}]]],[\"gov-tile\",[[4,\"gov-tile\",{\"size\":[513],\"orientation\":[1],\"noBorder\":[4,\"no-border\"],\"href\":[513],\"target\":[1],\"getTriggerRef\":[64]}]]],[\"gov-wizard-item\",[[4,\"gov-wizard-item\",{\"color\":[1],\"size\":[1],\"identifier\":[1],\"collapsible\":[4],\"disabled\":[4],\"isExpanded\":[1028,\"is-expanded\"],\"open\":[64],\"close\":[64],\"toggle\":[64],\"currentState\":[64]},null,{\"color\":[\"validateColor\"]}]]],[\"gov-accordion\",[[4,\"gov-accordion\",{\"size\":[1],\"noBorder\":[4,\"no-border\"]},null,{\"size\":[\"validateSize\"]}]]],[\"gov-container\",[[4,\"gov-container\",{\"slottedChildren\":[64]}]]],[\"gov-control-group\",[[4,\"gov-control-group\",{\"color\":[1],\"noBorder\":[4,\"no-border\"],\"fitContent\":[4,\"fit-content\"]},null,{\"color\":[\"validateColor\"]}]]],[\"gov-cookiebar\",[[4,\"gov-cookiebar\"]]],[\"gov-dropdown\",[[4,\"gov-dropdown\",{\"identifier\":[1],\"open\":[1028],\"position\":[1],\"getState\":[64],\"toggle\":[64]},null,{\"open\":[\"watchOpen\"]}]]],[\"gov-empty\",[[4,\"gov-empty\",{\"size\":[1]},null,{\"size\":[\"validateSize\"]}]]],[\"gov-error-code\",[[4,\"gov-error-code\"]]],[\"gov-form-checkbox-group\",[[4,\"gov-form-checkbox-group\",{\"gap\":[1],\"orientation\":[1],\"value\":[1025]},null,{\"gap\":[\"validateGap\"],\"orientation\":[\"validateOrientation\"]}]]],[\"gov-form-control\",[[4,\"gov-form-control\",{\"identifier\":[1],\"invalid\":[516],\"disabled\":[516],\"success\":[516],\"fieldset\":[4],\"size\":[1]}]]],[\"gov-form-group\",[[4,\"gov-form-group\",{\"gap\":[1],\"orientation\":[1]},null,{\"gap\":[\"validateGap\"],\"orientation\":[\"validateOrientation\"]}]]],[\"gov-form-label\",[[4,\"gov-form-label\",{\"identifier\":[1],\"size\":[1],\"required\":[4],\"legend\":[4]}]]],[\"gov-form-password-power\",[[4,\"gov-form-password-power\",{\"power\":[514]}]]],[\"gov-form-radio\",[[4,\"gov-form-radio\",{\"value\":[1],\"noLabel\":[4,\"no-label\"],\"checked\":[1540],\"required\":[4],\"disabled\":[4],\"name\":[1],\"size\":[1],\"identifier\":[1],\"invalid\":[4],\"inheritedAttributes\":[32],\"getRef\":[64]},null,{\"size\":[\"validateSize\",\"watchControlAttrs\"],\"disabled\":[\"watchControlAttrs\"],\"invalid\":[\"watchControlAttrs\"]}]]],[\"gov-form-radio-group\",[[4,\"gov-form-radio-group\",{\"gap\":[1],\"orientation\":[1],\"value\":[1025]},null,{\"gap\":[\"validateGap\"],\"orientation\":[\"validateOrientation\"]}]]],[\"gov-form-search\",[[4,\"gov-form-search\",{\"size\":[1],\"color\":[513]}]]],[\"gov-grid\",[[4,\"gov-grid\",{\"alignX\":[1,\"align-x\"],\"alignY\":[1,\"align-y\"]}]]],[\"gov-grid-item\",[[4,\"gov-grid-item\",{\"size\":[1],\"sizeSm\":[1,\"size-sm\"],\"sizeMd\":[1,\"size-md\"],\"sizeLg\":[1,\"size-lg\"],\"sizeXl\":[1,\"size-xl\"]}]]],[\"gov-layout\",[[4,\"gov-layout\",{\"type\":[1],\"variant\":[1],\"inverse\":[4]}]]],[\"gov-layout-column\",[[4,\"gov-layout-column\"]]],[\"gov-message\",[[4,\"gov-message\",{\"color\":[1],\"type\":[1]},null,{\"color\":[\"validateColor\"]}]]],[\"gov-spacer\",[[0,\"gov-spacer\",{\"size\":[1],\"breakpoint\":[1]},null,{\"size\":[\"validateSize\"],\"breakpoint\":[\"validateBreakpoint\"]}]]],[\"gov-stepper\",[[4,\"gov-stepper\",{\"size\":[1]},null,{\"size\":[\"validateSize\"]}]]],[\"gov-stepper-item\",[[4,\"gov-stepper-item\",{\"color\":[1],\"size\":[1],\"identifier\":[1]},null,{\"color\":[\"validateColor\"]}]]],[\"gov-tabs-item\",[[4,\"gov-tabs-item\",{\"identifier\":[1],\"triggerIdentifier\":[1,\"trigger-identifier\"],\"label\":[513],\"disabled\":[516],\"iconStart\":[513,\"icon-start\"],\"iconEnd\":[513,\"icon-end\"],\"default\":[4],\"isActive\":[32],\"getIdentifier\":[64],\"getTriggerIdentifier\":[64],\"getDisableState\":[64],\"setActiveStatus\":[64]},null,{\"label\":[\"rerenderParent\"],\"disabled\":[\"rerenderParent\"]}]]],[\"gov-theme-switch\",[[0,\"gov-theme-switch\",{\"theme\":[32]}]]],[\"gov-tiles\",[[4,\"gov-tiles\",{\"columns\":[514]}]]],[\"gov-tooltip\",[[4,\"gov-tooltip\",{\"color\":[1],\"size\":[1],\"position\":[1025],\"message\":[1],\"identifier\":[1],\"icon\":[516],\"persist\":[32],\"show\":[64],\"hide\":[64]},null,{\"color\":[\"validateColor\"],\"size\":[\"validateSize\"],\"position\":[\"validatePosition\"],\"message\":[\"rerenderMessage\"]}]]],[\"gov-wizard\",[[4,\"gov-wizard\",{\"size\":[1],\"wcagLabel\":[1,\"wcag-label\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"validateWcag\":[64]},null,{\"size\":[\"validateSize\"]}]]],[\"gov-icon\",[[0,\"gov-icon\",{\"color\":[513],\"name\":[513],\"type\":[513],\"visible\":[32],\"error\":[32]},null,{\"color\":[\"validateColor\"],\"name\":[\"loadIconPathData\"]}]]],[\"gov-button\",[[4,\"gov-button\",{\"color\":[513],\"size\":[513],\"type\":[513],\"expanded\":[516],\"name\":[1],\"disabled\":[516],\"nativeType\":[1,\"native-type\"],\"href\":[1],\"target\":[1],\"download\":[4],\"hreflang\":[1],\"referrerpolicy\":[1],\"rel\":[1],\"loading\":[1],\"focusable\":[4],\"identifier\":[1],\"inheritedAttributes\":[32],\"setFocus\":[64],\"getRef\":[64],\"validateAccessibility\":[64]},null,{\"color\":[\"validateColor\"],\"type\":[\"validateType\"],\"size\":[\"validateSize\"],\"nativeType\":[\"validateNativeType\"]}]]],[\"gov-form-autocomplete\",[[4,\"gov-form-autocomplete\",{\"value\":[1537],\"options\":[1537],\"identifier\":[1],\"success\":[4],\"size\":[1],\"nameKey\":[1,\"name-key\"],\"name\":[1],\"required\":[4],\"disabled\":[4],\"placeholder\":[1],\"readonly\":[4],\"invalid\":[4],\"minlength\":[2],\"maxlength\":[2],\"throttleTime\":[2,\"throttle-time\"],\"messageEmpty\":[1,\"message-empty\"],\"messageLoading\":[1,\"message-loading\"],\"focused\":[32],\"processing\":[32],\"arrowCounter\":[32],\"list\":[32],\"inheritedAttributes\":[32],\"setFocus\":[64],\"setBlur\":[64],\"setOptions\":[64],\"clearValue\":[64],\"setProcessing\":[64],\"setSearchCallback\":[64],\"setTemplateResolver\":[64]},null,{\"size\":[\"validateSize\"],\"options\":[\"watchOptions\"]}]]],[\"gov-chip\",[[4,\"gov-chip\",{\"disabled\":[516],\"href\":[1],\"target\":[1],\"iconLeft\":[1,\"icon-left\"],\"iconRight\":[1,\"icon-right\"],\"size\":[1],\"tag\":[1],\"color\":[1],\"type\":[513],\"focusable\":[4],\"identifier\":[1],\"inheritedAttributes\":[32],\"geRef\":[64],\"setFocus\":[64]},null,{\"color\":[\"validateColor\"],\"size\":[\"validateSize\"]}]]],[\"gov-form-select\",[[4,\"gov-form-select\",{\"value\":[1537],\"options\":[1537],\"identifier\":[1],\"size\":[1],\"name\":[1],\"required\":[4],\"success\":[4],\"disabled\":[4],\"invalid\":[4],\"focused\":[32],\"optionsState\":[32],\"inheritedAttributes\":[32],\"setFocus\":[64],\"getRef\":[64]},null,{\"size\":[\"validateSize\",\"watchControlAttrs\"],\"options\":[\"watchOptions\"],\"disabled\":[\"watchControlAttrs\"],\"invalid\":[\"watchControlAttrs\"],\"success\":[\"watchControlAttrs\"],\"value\":[\"watchValue\"]}]]],[\"gov-backdrop\",[[0,\"gov-backdrop\",{\"inverse\":[4],\"disabled\":[1540],\"accessibleLabel\":[1,\"accessible-label\"],\"accessibleLabelledBy\":[1,\"accessible-labelledby\"],\"validateAccessibility\":[64]}]]],[\"gov-attachments_3\",[[4,\"gov-attachments-item\",{\"accessibleRemoveLabel\":[1,\"accessible-remove-label\"],\"accessibleRemoveLabelledBy\":[1,\"accessible-remove-labelledby\"],\"validateAccessibility\":[64]}],[4,\"gov-attachments\",{\"label\":[1],\"wcagLabel\":[1,\"wcag-label\"],\"validateWcag\":[64]}],[4,\"gov-form-message\",{\"color\":[1],\"size\":[1],\"identifier\":[64]},null,{\"color\":[\"validateColor\"]}]]],[\"gov-form-input_2\",[[4,\"gov-form-input\",{\"value\":[1537],\"identifier\":[1],\"success\":[516],\"size\":[1],\"name\":[1],\"multiline\":[4],\"rows\":[2],\"cols\":[2],\"required\":[516],\"disabled\":[516],\"placeholder\":[1],\"readonly\":[4],\"minlength\":[2],\"maxlength\":[2],\"min\":[8],\"max\":[8],\"autocomplete\":[4],\"autocorrect\":[4],\"spellcheck\":[4],\"inputLang\":[1,\"input-lang\"],\"type\":[1],\"inputType\":[1,\"input-type\"],\"role\":[1],\"invalid\":[516],\"accessibleShowPasswordLabel\":[1,\"accessible-show-password-label\"],\"accessibleHidePasswordLabel\":[1,\"accessible-hide-password-label\"],\"focused\":[32],\"showPassword\":[32],\"inheritedAttributes\":[32],\"setFocus\":[64],\"setValue\":[64],\"clearValue\":[64],\"getRef\":[64]},null,{\"size\":[\"validateSize\",\"watchControlAttrs\"],\"disabled\":[\"watchControlAttrs\"],\"invalid\":[\"watchControlAttrs\"],\"success\":[\"watchControlAttrs\"]}],[0,\"gov-skeleton\",{\"size\":[1],\"color\":[1],\"shape\":[1],\"width\":[1],\"height\":[1],\"animation\":[1],\"inheritedAttributes\":[32]},null,{\"size\":[\"validateSize\"],\"shape\":[\"validateShape\"],\"animation\":[\"validateAnimation\"]}]]]]"), options);
41
41
  });
42
42
 
43
43
  //# sourceMappingURL=core.js.map
@@ -37,7 +37,7 @@ const GovAttachments = class {
37
37
  }
38
38
  }
39
39
  render() {
40
- return (h(Host, { key: 'd2b3c1f40f3c5eab7b179c68985d23ed776e9337', class: this.h.classes(AttachmentsClass.root) }, this.label ? h("p", { class: AttachmentsClass.label }, this.label) : null, h("div", { key: 'bbceab5ca1b5443eb7aa8074c2f788fe0e3e7090', class: AttachmentsClass.list, role: "list", "aria-label": this.wcagLabel }, h("slot", { key: '6d1a9999824cdc35e28543d80518855057cf99ce' }))));
40
+ return (h(Host, { key: '01d6046e8da3b76924fa9c3124cec31e5b81d4c5', class: this.h.classes(AttachmentsClass.root) }, this.label ? h("p", { class: AttachmentsClass.label }, this.label) : null, h("div", { key: '88936d984563a5815b90cba8b1b5ee0f71ee3460', class: AttachmentsClass.list, role: "list", "aria-label": this.wcagLabel }, h("slot", { key: '99c6427772c71388f027595a1fdf13ed4956a474' }))));
41
41
  }
42
42
  /**
43
43
  * Validate the WCAG attributes of the component
@@ -66,7 +66,7 @@ const GovAttachmentsItem = class {
66
66
  }
67
67
  }
68
68
  render() {
69
- return (h(Host, { key: 'f7878b14f668e2a1b23368dfcdea2e65e5de13b6', class: this.h.classes(AttachmentsItemClass.root), role: "listitem" }, h("div", { key: '4aaa01614a40507bc74d524756be66aac0632a4f', class: AttachmentsItemClass.file }, h("p", { key: '26eb87dd09942ee1d9bbf4bb13a76b4cb0240902', class: AttachmentsItemClass.name }, h("slot", { key: '5d4b3f690907e557526c9c22c88705a7e9ee3ef7' }), h("slot", { key: '1eff0d73e720ce22936a0004c476c3e01cbd88e1', name: "info" })), h("gov-button", { key: 'e2395e9c5139093e01bd48b14221643394a22c6c', color: "primary", type: "base", size: "s", "accessible-label": this.accessibleRemoveLabel, "accessible-labelledby": this.accessibleRemoveLabelledBy, "on-gov-click": this.govRemove.emit }, h("gov-icon", { key: 'c592f72a09dfce70c0cd2563ec0d781cc65ad77c', slot: "left-icon", name: "x-lg" }))), this.h.hasSlot('message') && (h("div", { key: '0bffbbe4622f291fd269637a4b4ff8c624fb04f7', class: AttachmentsItemClass.messages }, h("slot", { key: '2e6ad7d812e9b68f5c0e88ca734bf0bba78924a2', name: "message" })))));
69
+ return (h(Host, { key: 'a8fffc03fb890c1aaae5a1d63240747f5fcb013e', class: this.h.classes(AttachmentsItemClass.root), role: "listitem" }, h("div", { key: '0aa555d1c5b3bdf089cf020db1271e40389522f9', class: AttachmentsItemClass.file }, h("p", { key: '46014b9e9d9a46fea6f813ef271815be6ab6dfc4', class: AttachmentsItemClass.name }, h("slot", { key: '806f9dc2b2ee44248f7fe613e8362d92ed938ba8' }), h("slot", { key: '97d69e72afd5063f41ea7b41e50012893ee5027c', name: "info" })), h("gov-button", { key: '6c40ff9ae6be99cde30fde276db287a3d14dccd1', color: "primary", type: "base", size: "s", "aria-label": this.accessibleRemoveLabel, "aria-labelledby": this.accessibleRemoveLabelledBy, "on-gov-click": this.govRemove.emit }, h("gov-icon", { key: '5a5107c516953ff7f7b6989aaee0679b3867c663', slot: "left-icon", name: "x-lg" }))), this.h.hasSlot('message') && (h("div", { key: '81a17d690a175affeec4207443c7bb64d1a19606', class: AttachmentsItemClass.messages }, h("slot", { key: '72d39130e0e6bc60079b480f4e1c94e8bc7d6ab7', name: "message" })))));
70
70
  }
71
71
  /**
72
72
  * Validate the accessible attributes of the component
@@ -93,7 +93,7 @@ const GovFormMessage = class {
93
93
  this.validateColor(this.color);
94
94
  }
95
95
  render() {
96
- return (h(Host, { key: 'ac4af62e187d42b15193c89ba91298612282ee3a', class: this.h.classes(FormMessageClass.root), color: this.color, size: this.size }, this.h.hasSlot('icon') && (h("slot", { key: 'baff038a9608571e038cd332d3d3b2fcaef649e9', name: "icon" })), h("span", { key: '15ec497fae5179dd5bce22c4a675d10936bdaffe', id: this.messageId, class: FormMessageClass.content }, h("slot", { key: '17f605a52a170e8202e07e0089a70e86a8e47b7b' }))));
96
+ return (h(Host, { key: '09135220d0b8614009924a806e57d20637f286e7', class: this.h.classes(FormMessageClass.root), color: this.color, size: this.size }, this.h.hasSlot('icon') && (h("slot", { key: '9c456f49339b85a7939fcb87343d4eea8a66a1ef', name: "icon" })), h("span", { key: 'a9071b74d822ca3494a07c02dfab658169f1e3ff', id: this.messageId, class: FormMessageClass.content }, h("slot", { key: '63856a5af98a48e332ae8d0ba16ce3ccf933da54' }))));
97
97
  }
98
98
  /**
99
99
  * Returns unique identifier of message
@@ -1 +1 @@
1
- {"file":"gov-attachments.gov-attachments-item.gov-form-message.entry.js","mappings":";;;;;;;;;;;;;AAAO,MAAM,gBAAgB,GAAG;IAC/B,IAAI,EAAE,iBAAiB;IACvB,KAAK,EAAE,wBAAwB;IAC/B,IAAI,EAAE,uBAAuB;CAC7B,CAAA;AAEM,MAAM,oBAAoB,GAAG;IACnC,IAAI,EAAE,sBAAsB;IAC5B,IAAI,EAAE,4BAA4B;IAClC,IAAI,EAAE,4BAA4B;IAClC,QAAQ,EAAE,gCAAgC;CAC1C;;MCAY,cAAc;IAG1B;;;;QACC,IAAI,CAAC,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,IAA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AAM,IAAI,EAAC,MAAM,GAAG,CACpB,EACD,6DAAM,EAAE,EAAE,IAAI,CAAC,SAAS,EAAE,KAAK,EAAE,gBAAgB,CAAC,OAAO,IACxD,8DAAQ,CACF,CACD,EACP;KACD;;;;IAMD,MAAM,UAAU;QACf,OAAO,IAAI,CAAC,SAAS,CAAA;KACrB;;;;;;;;;","names":[],"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\ngov-attachments-item, .gov-attachments-item {\n\t// VARIABLES\n\t@import \"gov-attachments-variables\";\n\n\t@include base($display: flex);\n\tgap: var(--spacing-s);\n\t&__messages {\n\t\t@include reset-last-margin();\n\t}\n\t&__file {\n\t\tdisplay: flex;\n\t\tgap: var(--spacing-s);\n\t}\n\t&__name {\n\t\tdisplay: flex;\n\t\tgap: var(--spacing-s);\n\t\tflex-wrap: wrap;\n\t\talign-items: center;\n\t\tmargin: 0;\n\t\tcolor: $attachments-name-color;\n\t\tspan {\n\t\t\t@include typography(\"xs\");\n\t\t\tcolor: $attachments-decor-color;\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'\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\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<p class={AttachmentsItemClass.name}>\n\t\t\t\t\t\t<slot/>\n\t\t\t\t\t\t<slot name=\"info\"/>\n\t\t\t\t\t</p>\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\taccessible-label={this.accessibleRemoveLabel}\n\t\t\t\t\t\taccessible-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=\"left-icon\" name=\"x-lg\"></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"],"version":3}
1
+ {"file":"gov-attachments.gov-attachments-item.gov-form-message.entry.js","mappings":";;;;;;;;;;;;;AAAO,MAAM,gBAAgB,GAAG;IAC/B,IAAI,EAAE,iBAAiB;IACvB,KAAK,EAAE,wBAAwB;IAC/B,IAAI,EAAE,uBAAuB;CAC7B,CAAA;AAEM,MAAM,oBAAoB,GAAG;IACnC,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AAC,CAAC,CAAC,OAAO,CAAC,gBAAgB,CAAC,IAAI,CAAC,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,IACpF,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC,KACtB,6DAAM,IAAI,EAAC,MAAM,GAAG,CACpB,EACD,6DAAM,EAAE,EAAE,IAAI,CAAC,SAAS,EAAE,KAAK,EAAE,gBAAgB,CAAC,OAAO,IACxD,8DAAQ,CACF,CACD,EACP;KACD;;;;IAMD,MAAM,UAAU;QACf,OAAO,IAAI,CAAC,SAAS,CAAA;KACrB;;;;;;;;;","names":[],"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\ngov-attachments-item, .gov-attachments-item {\n\t// VARIABLES\n\t@import \"gov-attachments-variables\";\n\n\t@include base($display: flex);\n\tgap: var(--spacing-s);\n\t&__messages {\n\t\t@include reset-last-margin();\n\t}\n\t&__file {\n\t\tdisplay: flex;\n\t\tgap: var(--spacing-s);\n\t}\n\t&__name {\n\t\tdisplay: flex;\n\t\tgap: var(--spacing-s);\n\t\tflex-wrap: wrap;\n\t\talign-items: center;\n\t\tmargin: 0;\n\t\tcolor: $attachments-name-color;\n\t\tspan {\n\t\t\t@include typography(\"xs\");\n\t\t\tcolor: $attachments-decor-color;\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'\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\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<p class={AttachmentsItemClass.name}>\n\t\t\t\t\t\t<slot/>\n\t\t\t\t\t\t<slot name=\"info\"/>\n\t\t\t\t\t</p>\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={this.accessibleRemoveLabel}\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=\"left-icon\" name=\"x-lg\"></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"],"version":3}
@@ -29,7 +29,7 @@ const GovBackdrop = class {
29
29
  }
30
30
  }
31
31
  render() {
32
- return (h(Host, { key: 'c3a04193bcb6bf07904885794068d15723012177', class: this.h.classes(BackdropClass.root), inverse: this.inverse }, h("div", { key: '722ab2c0f3b9e64e5790f51540f44252a1b3e4e4', role: 'button', "aria-disabled": this.disabled, "aria-label": this.accessibleLabel, "aria-labelledby": this.accessibleLabelledBy, onClick: e => {
32
+ return (h(Host, { key: 'ee25a6a3443604253f1fa10676007aad3838f4d9', class: this.h.classes(BackdropClass.root), inverse: this.inverse }, h("div", { key: 'fd733ec0c2f6599ce7fe360092990f4c7f0973a1', role: 'button', "aria-disabled": this.disabled, "aria-label": this.accessibleLabel, "aria-labelledby": this.accessibleLabelledBy, onClick: e => {
33
33
  if (!this.disabled) {
34
34
  this.govClick.emit(e);
35
35
  }
@@ -50,7 +50,7 @@ const GovBreadcrumbs = class {
50
50
  this.toggleOption = sumOfWidths > hostWidth;
51
51
  }
52
52
  render() {
53
- return (h(Host, { key: '645442a9bf54f216c22b40eab292987d7a5c4229', class: this.h.classes(BreadcrumbsClass.root), expanded: this.expanded }, h("nav", { key: '3404e135545ad9ab7895522f0db318fff722ff33', "aria-label": this.accessibleLabel, "aria-labelledby": this.accessibleLabelledBy }, h("slot", { key: 'b9b33750baeece46453a810cb60c3f267029ea30' })), this.toggleOption ? (h("gov-button", { size: 'xs', color: 'primary', type: 'base', "aria-label": this.accessibleToggleLabel, "aria-pressed": this.expanded, "aria-expanded": this.expanded, "on-gov-click": () => this.expanded = !this.expanded }, h("gov-icon", { name: this.expanded ? 'chevron-up' : 'chevron-down' }))) : null));
53
+ return (h(Host, { key: '81d7a8e273e1ce4740ee35ebe4a570ee8c5e73a4', class: this.h.classes(BreadcrumbsClass.root), expanded: this.expanded }, h("nav", { key: 'dc37fa314f5d84c6c517f64229ef601b256f3ad5', "aria-label": this.accessibleLabel, "aria-labelledby": this.accessibleLabelledBy }, h("slot", { key: '4ead548352e642c0994360d74a98123782790a04' })), this.toggleOption ? (h("gov-button", { size: 'xs', color: 'primary', type: 'base', "aria-label": this.accessibleToggleLabel, "aria-pressed": this.expanded, "aria-expanded": this.expanded, "on-gov-click": () => this.expanded = !this.expanded }, h("gov-icon", { name: this.expanded ? 'chevron-up' : 'chevron-down' }))) : null));
54
54
  }
55
55
  /**
56
56
  * Validate the WCAG attributes of the component
@@ -103,9 +103,9 @@ const GovButton = class {
103
103
  render() {
104
104
  const Tag = this.href ? Tags.A : Tags.BUTTON;
105
105
  const nativeType = Tag === Tags.A ? undefined : this.nativeType;
106
- return (h(Host, { key: '2bb50646642155813d3b424d93abe66e402980fc', size: this.size, hydrated: this.hydrated, color: this.color, class: this.h.classes(ButtonClass.root), type: this.type }, h(Tag, Object.assign({ key: '9eb0aef9aad90c4d8b36c98713f8b4368ec3ea60', class: "element", ref: el => (this.triggerRef = el), onClick: this.onClickHandler.bind(this), onFocus: this.onFocusHandler.bind(this), onBlur: this.onBlurHandler.bind(this), disabled: this.disabled, id: this.identifier, href: this.href, target: this.target, download: this.download, hreflang: this.hreflang, rel: this.rel, name: this.name, type: nativeType, tabindex: this.disabled ? "-1" : "0" }, this.inheritedAttributes, { "aria-disabled": toBoolAttrIfDefined(this.disabled) }), toBool(this.loading) && !this.h.hasSlot("right-icon") &&
107
- h("gov-icon", { key: '32e8ad524e440068871b84a7cfe0a297d729cdb1', name: "loader", class: "gov-spin-animation" }), this.h.hasSlot("left-icon") && h("slot", { key: '9cb9034730ff04ec4ecb17c7ab75618368074b5c', name: "left-icon" }), h("slot", { key: 'ba5a094a07caa393510f956f5797b73f4811d0a9' }), this.h.hasSlot("right-icon") && h("slot", { key: '4b62acb8f9c327c21ccd500688a1e0effa7bbfa8', name: "right-icon" }), toBool(this.loading) && this.h.hasSlot("right-icon") &&
108
- h("gov-icon", { key: '25f567c70ee5e4a89c37747fa17df87d9a4e6fb2', name: "loader", class: "gov-spin-animation" }))));
106
+ return (h(Host, { key: '4e5ef3fbf897b81b07452a9383985353d673fdd6', size: this.size, hydrated: this.hydrated, color: this.color, class: this.h.classes(ButtonClass.root), type: this.type }, h(Tag, Object.assign({ key: 'd0689b6c773257059fa9334d4bb1d003a0ec58c3', class: "element", ref: el => (this.triggerRef = el), onClick: this.onClickHandler.bind(this), onFocus: this.onFocusHandler.bind(this), onBlur: this.onBlurHandler.bind(this), disabled: this.disabled, id: this.identifier, href: this.href, target: this.target, download: this.download, hreflang: this.hreflang, rel: this.rel, name: this.name, type: nativeType, tabindex: this.disabled ? "-1" : "0" }, this.inheritedAttributes, { "aria-disabled": toBoolAttrIfDefined(this.disabled) }), toBool(this.loading) && !this.h.hasSlot("right-icon") &&
107
+ h("gov-icon", { key: 'be89312696bdc6842d2717df100d5b790e20694f', name: "loader", class: "gov-spin-animation" }), this.h.hasSlot("left-icon") && h("slot", { key: '6ccce190fa47027c603e008e37717c927dabd0b6', name: "left-icon" }), h("slot", { key: 'd6eb7343fc7ad6f389743d7bbae3b0ab8d2f8e93' }), this.h.hasSlot("right-icon") && h("slot", { key: '74736acdc5bec2f315c9cea45009b1d1b6ab6c8b', name: "right-icon" }), toBool(this.loading) && this.h.hasSlot("right-icon") &&
108
+ h("gov-icon", { key: '885f29b2d141823731e56ca50c6c89661c014322', name: "loader", class: "gov-spin-animation" }))));
109
109
  }
110
110
  onClickHandler(e) {
111
111
  e.stopPropagation();
@@ -44,7 +44,7 @@ const GovCard = class {
44
44
  this.hydrated = true;
45
45
  }
46
46
  render() {
47
- return (h(Host, { key: '7ae6cc86b82b3f87aff07e5d9e950b2e53151a18', class: this.h.classes(CardClass.root), open: this.open, collapsible: booleanString(this.collapsible), promotion: this.promotion, hydrated: this.hydrated }, this.collapsible ? (h("button", { id: this.headlineId, class: CardClass.header, "aria-label": this.accessibleTriggerLabel, "aria-labelledby": this.accessibleTriggerLabelledBy, "aria-expanded": booleanString(this.open), "aria-controls": this.contentId, onClick: this.onClickHandler.bind(this) }, h("slot", { name: "headline" }), h("gov-icon", { class: CardClass.arrow, name: "chevron-down" }))) : this.h.hasSlot("headline") ? (h("div", { class: CardClass.header }, h("slot", { name: "headline" }))) : null, h("div", { key: 'ddb3e93eeb27258896a44ba3bbef6d8d03a10a2f', class: CardClass.inner, id: this.contentId, "aria-hidden": this.collapsible ? booleanString(!this.open) : undefined, hidden: this.collapsible ? !this.open : undefined, "aria-labelledby": this.collapsible ? this.headlineId : undefined }, this.h.hasSlot('img') && (h("p", { key: 'ec427ac10e1a8810a10fda0e7b0cfd479ccc7446', class: CardClass.img }, h("slot", { key: '70f4afe1cc9189987af1e213b83bfd3358da2e69', name: "img" }))), h("div", { key: '52b0c40a1fd194b0f4fe097deeabf4f66621bc7b', class: CardClass.main }, this.h.hasSlot('icon') && this.promotion && (h("div", { key: '665e99d2773408b2b99503aee1df61851ca6ef79', class: CardClass.icon }, h("slot", { key: '3d9ab0e47f8bd219fbe697182788dbc9f86755f4', name: "icon" }))), h("slot", { key: 'e7cb0ac6a735e53d183f0f376afc420cec0ecbd9' }), this.h.hasSlot('btn') && this.promotion && (h("div", { key: '30f0d797b741e1304d7500f89da4d86b13d8470d', class: CardClass.btns }, h("slot", { key: 'b8f6a9296c8c88922d31e80552d4eaf29cda4ad7', name: "btn" })))), this.h.hasSlot('footer') && (h("div", { key: 'd2eeed664123d020bacb1bfba680940d349f9ab8', class: CardClass.footer }, h("slot", { key: 'f4207f3e99a4230858177d97ec0880b9bba62145', name: "footer" }))))));
47
+ return (h(Host, { key: 'c7dd00e1eee01b7005b98b39ddfccf784dc2808e', class: this.h.classes(CardClass.root), open: this.open, collapsible: booleanString(this.collapsible), promotion: this.promotion, hydrated: this.hydrated }, this.collapsible ? (h("button", { id: this.headlineId, class: CardClass.header, "aria-label": this.accessibleTriggerLabel, "aria-labelledby": this.accessibleTriggerLabelledBy, "aria-expanded": booleanString(this.open), "aria-controls": this.contentId, onClick: this.onClickHandler.bind(this) }, h("slot", { name: "headline" }), h("gov-icon", { class: CardClass.arrow, name: "chevron-down" }))) : this.h.hasSlot("headline") ? (h("div", { class: CardClass.header }, h("slot", { name: "headline" }))) : null, h("div", { key: 'dae87fe02926ed1772c4164c19e7e6f540510bec', class: CardClass.inner, id: this.contentId, "aria-hidden": this.collapsible ? booleanString(!this.open) : undefined, hidden: this.collapsible ? !this.open : undefined, "aria-labelledby": this.collapsible ? this.headlineId : undefined }, this.h.hasSlot('img') && (h("p", { key: '7ef4bcc939fa3d84fb1a6dedc0e62c0d2612f8ec', class: CardClass.img }, h("slot", { key: '4f05366b5bc0c2e6117ed8cfcb17cf107fec6499', name: "img" }))), h("div", { key: '4a25ad0d3002079fa4a35b5f7af10a05e3f5b45f', class: CardClass.main }, this.h.hasSlot('icon') && this.promotion && (h("div", { key: '6b16961ed892fed347a69d18d5482bccf0247f12', class: CardClass.icon }, h("slot", { key: '5720427d2bbea01f6d24911d4d208e743ec453ce', name: "icon" }))), h("slot", { key: '6f2efa36533f9d06365ad828766cb7956daf7e90' }), this.h.hasSlot('btn') && this.promotion && (h("div", { key: '5b79f8832d6cc39f709fb0d656eec383261971ce', class: CardClass.btns }, h("slot", { key: '93486120fcc840a0812325c881538d4174bedd84', name: "btn" })))), this.h.hasSlot('footer') && (h("div", { key: 'efaa342aa2d43418b33492296c8b6c2928004af9', class: CardClass.footer }, h("slot", { key: '502c7c7609d28290e601ef6c71eb050f12380f8b', name: "footer" }))))));
48
48
  }
49
49
  onClickHandler(e) {
50
50
  e.stopPropagation();
@@ -83,11 +83,11 @@ const GovChip = class {
83
83
  const nativeType = Tag == NativeType.BUTTON ? NativeType.BUTTON : undefined;
84
84
  const iconLeft = prepareIconFormat(this.iconLeft);
85
85
  const iconRight = prepareIconFormat(this.iconRight);
86
- return (h(Host, { key: '7273e571a906515a35208303f36eb3d2bac4b663', class: this.h.classes([
86
+ return (h(Host, { key: '6d7c550b0c74460712d632060727626489abe3c0', class: this.h.classes([
87
87
  ChipClass.root,
88
88
  this.h.hasSlot("right") ? ChipClass.hasRight : undefined,
89
89
  this.h.hasSlot("left") ? ChipClass.hasLeft : undefined,
90
- ]), disabled: this.disabled, href: this.href, color: this.color, type: this.type, size: this.size, hoverable: Tag == NativeType.A || Tag == NativeType.BUTTON, hydrated: this.hydrated }, h(Tag, Object.assign({ key: '8c32f17c36a757d8be7ae813ca113aa505375159', class: "element", href: this.href, target: this.target, ref: el => (this.triggerRef = el), onClick: this.onClickHandler.bind(this), tabindex: (this.h.hasSlot("left") || this.h.hasSlot("right") || this.disabled) && !this.focusable ? "-1" : "0", id: this.identifier || this.chipId, type: nativeType }, this.inheritedAttributes, { "aria-disabled": this.disabled }), h("slot", { key: 'e9fec4f49fbb1b43f73face265bc3c8dfcebc4fe', name: "left" }), h("slot", { key: '7fd9b938c44c55e66041d9298e285f34c80a0722', name: "left-icon" }, iconLeft && h("gov-icon", { key: '5f1a73b93fdbecfc0fe30ad45d0a86444e1b4703', type: iconLeft.type, name: iconLeft.name })), h("slot", { key: 'e63ae004f3c4b5e164e326ca7cff300b68ba02ee' }), h("slot", { key: '39da8e323a6623cfb0eb6f6807931f496cfeb867', name: "right-icon" }, iconRight && h("gov-icon", { key: '1518485f6d60b515a138dedc142ca7a013dd67bb', type: iconRight.type, name: iconRight.name })), h("slot", { key: '20059af90e74b6f8bb68673c56b387fd558eee29', name: "right" }))));
90
+ ]), disabled: this.disabled, href: this.href, color: this.color, type: this.type, size: this.size, hoverable: Tag == NativeType.A || Tag == NativeType.BUTTON, hydrated: this.hydrated }, h(Tag, Object.assign({ key: '9dc30627e2111c76067c6f2da2427e81c05413e3', class: "element", href: this.href, target: this.target, ref: el => (this.triggerRef = el), onClick: this.onClickHandler.bind(this), tabindex: (this.h.hasSlot("left") || this.h.hasSlot("right") || this.disabled) && !this.focusable ? "-1" : "0", id: this.identifier || this.chipId, type: nativeType }, this.inheritedAttributes, { "aria-disabled": this.disabled }), h("slot", { key: '67cc0b4cfaf3b45e8fb333231681f9b5cfa90996', name: "left" }), h("slot", { key: '83eeb5cb5194903b8139ff8443bf5d024b1cb00d', name: "left-icon" }, iconLeft && h("gov-icon", { key: '7f90ee50fc4fce6375dc77a01980116cfd6136d0', type: iconLeft.type, name: iconLeft.name })), h("slot", { key: '4a089b176703b5c600d2a519f90be655397d5f27' }), h("slot", { key: 'ace71d5eae682f25c3ce4fd9dd825ae919286b35', name: "right-icon" }, iconRight && h("gov-icon", { key: '5baaf84b70cb4bbb8e70ef35aa81d893ca7cc143', type: iconRight.type, name: iconRight.name })), h("slot", { key: '7c51003d4890f14c0af817614fcbbb24446f4ef5', name: "right" }))));
91
91
  }
92
92
  onClickHandler(e) {
93
93
  e.stopPropagation();
@@ -11,7 +11,7 @@ const GovContainer = class {
11
11
  this.h = govHost(this.host);
12
12
  }
13
13
  render() {
14
- return (h(Host, { key: 'f1a8dda159411bb7eed4db33d408ddd70a2327be', class: this.h.classes(ContainerClass.root) }, h("slot", { key: 'afe117ecdcb7bb6225e4612400e1627dcc80bff9' })));
14
+ return (h(Host, { key: '0c61adb532c5810dedd0b43f21b5843bfc3d9c53', class: this.h.classes(ContainerClass.root) }, h("slot", { key: 'df9ee5f718d72be4a2e1bbc4dd8ae6e9883c922f' })));
15
15
  }
16
16
  /**
17
17
  * Returns slotted children
@@ -23,7 +23,7 @@ const GovControlGroup = class {
23
23
  validateProp(Colors, newValue, ControlGroupClass.root);
24
24
  }
25
25
  render() {
26
- return (h(Host, { key: '41426d0763507d60dcf24a6f0fe3d69b54d5131f', class: this.h.classes(ControlGroupClass.root), color: this.color }, h("slot", { key: '0c67c4137be61b821e008779210543af73d7984c' })));
26
+ return (h(Host, { key: 'e2a56a633370dd4172c9d0895b51b7138d0a19a0', class: this.h.classes(ControlGroupClass.root), color: this.color }, h("slot", { key: '76d02cd85f4207a4e2f5a198e36d6ff53ee77e28' })));
27
27
  }
28
28
  get host() { return getElement(this); }
29
29
  static get watchers() { return {
@@ -15,7 +15,7 @@ const GovCookiebar = class {
15
15
  this.h = govHost(this.host);
16
16
  }
17
17
  render() {
18
- return (h(Host, { key: 'ac6045b566122680c12a0cdf5068d81d53f4f4a9', class: this.h.classes(CookieConsentClass.root) }, h("div", { key: 'f03a1401b65a6a90430dcad642bbceb8e843143b', class: CookieConsentClass.content }, h("slot", { key: 'a373d6a55d299c240cc5aa596090dccb2a071e64', name: "headline" }), h("slot", { key: 'c5e9b1c6a1ec0daf9959fae074983fd2d5131320' })), (this.h.hasSlot('actions-primary') || this.h.hasSlot('actions-secondary')) && (h("div", { key: '21d6131b451e16abff7270a521b7aa18b8e8c340', class: CookieConsentClass.actions }, this.h.hasSlot('actions-primary') && (h("div", { key: '8b3d07e54492d9374f1398b4c48afa9df5bf9052', class: CookieConsentClass.actionsPrimary }, h("slot", { key: '15d29f653408e2910c64f11847307ab9e8394951', name: "actions-primary" }))), this.h.hasSlot('actions-secondary') && (h("div", { key: 'ef629c9a63af59cb5cf127127c2b04d8524091a1', class: CookieConsentClass.actionsSecondary }, h("slot", { key: 'e9b571f11d5b5077d3862376e5588db2e4e37f66', name: "actions-secondary" })))))));
18
+ return (h(Host, { key: '1955ae868b0e5255aea8ebc8e26146c4d973a75b', class: this.h.classes(CookieConsentClass.root) }, h("div", { key: 'cec7976304269a18f2fd71ffb0e398c60e17c4d5', class: CookieConsentClass.content }, h("slot", { key: 'f311694262ff0297c86ae435874f2108621bb7dc', name: "headline" }), h("slot", { key: '7ea9f4b7e848bf3afa2039f5ec4ab14ce2573243' })), (this.h.hasSlot('actions-primary') || this.h.hasSlot('actions-secondary')) && (h("div", { key: '9230c752f5fa798d7784406dc6d114c159c8aa6e', class: CookieConsentClass.actions }, this.h.hasSlot('actions-primary') && (h("div", { key: '324e807bcc4e867f6561723edbe4028bb484297f', class: CookieConsentClass.actionsPrimary }, h("slot", { key: 'bf945e0d01c7497cd8575b01fd9be172968179cd', name: "actions-primary" }))), this.h.hasSlot('actions-secondary') && (h("div", { key: '8d836b11f057ec6840aa7ba62900dde267e9bdad', class: CookieConsentClass.actionsSecondary }, h("slot", { key: '8b9144381a5e6b54017bd6fb6ffc9c56437b62d0', name: "actions-secondary" })))))));
19
19
  }
20
20
  get host() { return getElement(this); }
21
21
  };
@@ -68,7 +68,7 @@ const GovDialog = class {
68
68
  document.body.classList.remove(DialogClass.bodyFix);
69
69
  }
70
70
  render() {
71
- return (h(Host, { key: 'c9c05262cbe6a644f4e89fea848dccc9dea0fe21', class: this.h.classes(DialogClass.root), open: this.open, hydrated: this.hydrated }, h("dialog", { key: 'fc6a9ca72044ef912c324cb037e954e7ae8b7caf', class: DialogClass.dialog, hidden: !this.open, tabindex: boolToFocusValue(this.open), open: this.open, "aria-modal": "true", "aria-hidden": toBoolAttr(!this.open), "aria-labelledby": this.accessibleLabelledBy || this.labelId, "aria-describedby": this.accessibleDescribedBy || this.contentId, role: this.role }, h("div", { key: '228a0abc31b73533418dcce1224dd9b42fd1e6cc', class: DialogClass.inner }, h("div", { key: '1e9b3d475ff385b25c46540ddfd2217cba174b3a', class: DialogClass.header }, h("slot", { key: 'e300fed969e9156d856f9f0b1b8caf6e5dc2d6af', name: "icon" }), this.h.hasSlot('title') && (h("span", { key: 'e156b2daa9c47ca45a5cc8437850d1b7ae9b4dfe', class: DialogClass.title, id: this.labelId }, h("slot", { key: 'afcf49f1829ded6b4d2ad99b0ee4256d3d5ed85c', name: "title" }))), h("gov-button", { key: '1b07b5ba700ae96704bf16ba620e88cf8a87b4b0', ref: el => (this.closeCtaRef = el), disabled: this.blockClose, class: DialogClass.close, color: "primary", "accessible-label": this.accessibleCloseLabel, "accessible-labelledby": this.accessibleCloseLabelledBy, type: "base", "on-gov-click": this.onCloseHandler.bind(this) }, h("gov-icon", { key: 'cf7ee3fa0123ddd188d82640f3964d35b47ae9c7', slot: "left-icon", name: "x-lg" }))), h("div", { key: '1487b7df9acf942fa351fb236d29e0208416387a', class: DialogClass.content, id: this.contentId }, h("slot", { key: '8b811c1cab346ae2a482e5297b53f5ffaeb9e92a' })), this.h.hasSlot('footer') && (h("div", { key: 'e958768f856cec2de8a2e6c1fe1aab0c4694f0cd', class: DialogClass.footer }, h("slot", { key: 'bc9da8073722bb9c94a7ec295cc354b46ee09685', name: "footer" }))))), this.open ? (h("gov-backdrop", { disabled: this.blockBackdropClose, "accessible-label": this.accessibleCloseLabel, "accessible-labelled-by": this.accessibleCloseLabelledBy, "on-gov-click": this.onCloseHandler.bind(this) })) : null));
71
+ return (h(Host, { key: 'fe34cd83c969ab539a47c4f851231085f34b21f6', class: this.h.classes(DialogClass.root), open: this.open, hydrated: this.hydrated }, h("dialog", { key: 'd013f87f499635ed0d0f1cc016cc1e84410154b4', class: DialogClass.dialog, hidden: !this.open, tabindex: boolToFocusValue(this.open), open: this.open, "aria-modal": "true", "aria-hidden": toBoolAttr(!this.open), "aria-labelledby": this.accessibleLabelledBy || this.labelId, "aria-describedby": this.accessibleDescribedBy || this.contentId, role: this.role }, h("div", { key: '6018f61d5a335583dc05a0f8cdef6c4562977558', class: DialogClass.inner }, h("div", { key: '9ab56eb94d92f67291b783ec8310fec2c3da9d33', class: DialogClass.header }, h("slot", { key: 'b2248113ca181acbd9e0c960c4e7b13c3e114ae3', name: "icon" }), this.h.hasSlot('title') && (h("span", { key: 'fce7d93f476553e3cc53c8dc987d65cb64538552', class: DialogClass.title, id: this.labelId }, h("slot", { key: 'b151367fda2f5f87d6de3cabbf46cacc9d427f0f', name: "title" }))), h("gov-button", { key: 'e3622dc8601452c2d52a5d17a611d27cd0d17e97', ref: el => (this.closeCtaRef = el), disabled: this.blockClose, class: DialogClass.close, color: "primary", "aria-label": this.accessibleCloseLabel, "aria-labelledby": this.accessibleCloseLabelledBy, type: "base", "on-gov-click": this.onCloseHandler.bind(this) }, h("gov-icon", { key: '0e69007580b5780ccd5a85984149a21218845ef1', slot: "left-icon", name: "x-lg" }))), h("div", { key: '7183e62b1d751e8aa8101c8665470ae4677d16f9', class: DialogClass.content, id: this.contentId }, h("slot", { key: '9adebaeb5be26f67d1d8078636a5bfc7d29ba4db' })), this.h.hasSlot('footer') && (h("div", { key: '37332d00f9951e5f14dad617e49167d5429d9572', class: DialogClass.footer }, h("slot", { key: 'd56ee64f624b01e30345c44f0bbe932fb59624f6', name: "footer" }))))), this.open ? (h("gov-backdrop", { disabled: this.blockBackdropClose, "aria-label": this.accessibleCloseLabel, "aria-labelled-by": this.accessibleCloseLabelledBy, "on-gov-click": this.onCloseHandler.bind(this) })) : null));
72
72
  }
73
73
  onCloseHandler(e) {
74
74
  e.stopPropagation();
@@ -1 +1 @@
1
- {"file":"gov-dialog.entry.js","mappings":";;;;;;;;;;AAAO,MAAM,WAAW,GAAG;IAC1B,IAAI,EAAE,YAAY;IAClB,MAAM,EAAE,oBAAoB;IAC5B,KAAK,EAAE,mBAAmB;IAC1B,MAAM,EAAE,oBAAoB;IAC5B,KAAK,EAAE,mBAAmB;IAC1B,OAAO,EAAE,qBAAqB;IAC9B,KAAK,EAAE,mBAAmB;IAC1B,MAAM,EAAE,oBAAoB;IAC5B,OAAO,EAAE,YAAY;CACrB;;MCGY,SAAS;IAOrB;;;QAHQ,aAAQ,GAAG,KAAK,CAAC;oBAcoB,KAAK;0BAIH,KAAK;kCAIY,KAAK;oBAIjB,QAAQ;wBAIA,IAAI;;;oCAYqB,aAAa;;QAtCjG,IAAI,CAAC,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;QAC3B,IAAI,CAAC,OAAO,GAAG,QAAQ,CAAC,gBAAgB,CAAC,CAAA;QACzC,IAAI,CAAC,SAAS,GAAG,QAAQ,CAAC,kBAAkB,CAAC,CAAA;KAC7C;IA8CD,SAAS,CAAC,QAAiB;QAC1B,IAAI,CAAC,IAAI,GAAG,QAAQ,CAAA;QACpB,IAAI,CAAC,QAAQ,EAAE,CAAC,OAAO,EAAE,CAAA;KACzB;IAEO,UAAU;QACjB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAA;QAChB,QAAQ,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,WAAW,CAAC,OAAO,CAAC,CAAA;KAChD;IAEO,UAAU;QACjB,IAAI,CAAC,IAAI,GAAG,KAAK,CAAA;QACjB,QAAQ,C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;IAMD,MAAM,QAAQ;QACb,IAAI,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,WAAW,EAAE;YAClC,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE,CAAA;SACnC;KACD;;;;IAOD,MAAM,qBAAqB;QAC1B,eAAe,CAAC,IAAI,CAAC,oBAAoB,EAAE,wBAAwB,EAAE,WAAW,CAAC,IAAI,CAAC,CAAA;QACtF,eAAe,CAAC,IAAI,CAAC,qBAAqB,EAAE,yBAAyB,EAAE,WAAW,CAAC,IAAI,CAAC,CAAA;KACxF;;;;;;;;;","names":[],"sources":["../../../packages/core/src/components/gov-dialog/constants.ts","../../../packages/core/src/components/gov-dialog/gov-dialog.tsx"],"sourcesContent":["export const DialogClass = {\n\troot: 'gov-dialog',\n\tdialog: 'gov-dialog__dialog',\n\tinner: 'gov-dialog__inner',\n\theader: 'gov-dialog__header',\n\ttitle: 'gov-dialog__title',\n\tcontent: 'gov-dialog__content',\n\tclose: 'gov-dialog__close',\n\tfooter: 'gov-dialog__footer',\n\tbodyFix: 'body-fixed',\n}\n","import {Component, Element, Event, EventEmitter, h, Host, Method, Prop, Watch} from '@stencil/core'\nimport {boolToFocusValue, govHost, toBoolAttr} from '../../helpers/Dom/template'\nimport {GovHost} from '../../helpers/Dom/template.types'\nimport {canValidateWcagOnRender} from '../../helpers/Dom/win'\nimport {validateWcagRef} from '../../helpers/Validate/wcag'\nimport {Nullable} from '../../types/interfaces'\nimport {createID} from '../../utils/string.utils'\nimport {DialogClass} from './constants'\nimport {tick} from \"../../utils/stencil.utils\";\n\n@Component({\n\ttag: 'gov-dialog',\n})\nexport class GovDialog {\n\tprivate h: GovHost\n\tprivate readonly labelId: string\n\tprivate readonly contentId: string\n\tprivate hydrated = false;\n\tprivate closeCtaRef?: HTMLGovButtonElement\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t\tthis.labelId = createID('GovDialogLabel')\n\t\tthis.contentId = createID('GovDialogContent')\n\t}\n\n\t@Element() host: HTMLGovDialogElement\n\n\t/**\n\t * Attribute for dialog window display\n\t */\n\t@Prop({mutable: true, reflect: true}) open = false\n\t/**\n\t * Attribute allowing blocking the dialog closing\n\t */\n\t@Prop({attribute: 'block-close'}) blockClose = false\n\t/**\n\t * Attribute allowing blocking the backdrop dialog closing\n\t */\n\t@Prop({attribute: 'block-backdrop-close'}) blockBackdropClose = false\n\t/**\n\t * Role of dialog\n\t */\n\t@Prop({attribute: 'role'}) role: Nullable<string> = 'dialog'\n\t/**\n\t * Used to change the HTML tag in the dialog label for correct semantic structure\n\t */\n\t@Prop({attribute: 'label-tag'}) readonly labelTag: string = 'h2'\n\t/**\n\t * String of id's that indicate alternative labels elements\n\t */\n\t@Prop({attribute: 'accessible-labelled-by'}) accessibleLabelledBy: string\n\t/**\n\t * Indicates the id of a component that describes the dialog.\n\t */\n\t@Prop({attribute: 'accessible-described-by'}) accessibleDescribedBy: string\n\t/**\n\t * Adds accessible label for the dialog close button that is only shown for screen readers.\n\t */\n\t@Prop({attribute: 'accessible-close-label'}) readonly accessibleCloseLabel: string = 'Zavřít okno'\n\t/**\n\t * A string of identifiers that indicate alternative label elements for closing the dialog window\n\t */\n\t@Prop({attribute: 'accessible-close-labelled-by'}) accessibleCloseLabelledBy: string\n\t/**\n\t * Emitted when dialog window closes.\n\t */\n\t@Event({eventName: 'gov-close'}) govClose: EventEmitter<PointerEvent>\n\n\t@Watch('open')\n\twatchOpen(newValue: boolean): void {\n\t\tthis.open = newValue\n\t\tthis.setFocus().finally()\n\t}\n\n\tprivate showDialog() {\n\t\tthis.open = true\n\t\tdocument.body.classList.add(DialogClass.bodyFix)\n\t}\n\n\tprivate hideDialog() {\n\t\tthis.open = false\n\t\tdocument.body.classList.remove(DialogClass.bodyFix)\n\t}\n\n\tasync componentDidRender() {\n\t\tif (canValidateWcagOnRender()) {\n\t\t\ttick(() => this.validateAccessibility())\n\t\t}\n\n\t\tif (this.open) {\n\t\t\tthis.showDialog()\n\t\t} else {\n\t\t\tthis.hideDialog()\n\t\t}\n\t}\n\n\tconnectedCallback() {\n\t\tthis.hydrated = true\n\t}\n\n\tdisconnectedCallback(): void {\n\t\tdocument.body.classList.remove(DialogClass.bodyFix)\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={this.h.classes(DialogClass.root)} open={this.open} hydrated={this.hydrated}>\n\t\t\t\t<dialog\n\t\t\t\t\tclass={DialogClass.dialog}\n\t\t\t\t\thidden={!this.open}\n\t\t\t\t\ttabindex={boolToFocusValue(this.open)}\n\t\t\t\t\topen={this.open}\n\t\t\t\t\taria-modal=\"true\"\n\t\t\t\t\taria-hidden={toBoolAttr(!this.open)}\n\t\t\t\t\taria-labelledby={this.accessibleLabelledBy || this.labelId}\n\t\t\t\t\taria-describedby={this.accessibleDescribedBy || this.contentId}\n\t\t\t\t\trole={this.role}\n\t\t\t\t>\n\t\t\t\t\t<div class={DialogClass.inner}>\n\t\t\t\t\t\t<div class={DialogClass.header}>\n\t\t\t\t\t\t\t<slot name=\"icon\"/>\n\t\t\t\t\t\t\t{this.h.hasSlot('title') && (\n\t\t\t\t\t\t\t\t<span class={DialogClass.title} id={this.labelId}>\n\t\t\t\t\t\t\t\t\t<slot name=\"title\"/>\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t<gov-button\n\t\t\t\t\t\t\t\tref={el => (this.closeCtaRef = el)}\n\t\t\t\t\t\t\t\tdisabled={this.blockClose}\n\t\t\t\t\t\t\t\tclass={DialogClass.close}\n\t\t\t\t\t\t\t\tcolor=\"primary\"\n\t\t\t\t\t\t\t\taccessible-label={this.accessibleCloseLabel}\n\t\t\t\t\t\t\t\taccessible-labelledby={this.accessibleCloseLabelledBy}\n\t\t\t\t\t\t\t\ttype=\"base\"\n\t\t\t\t\t\t\t\ton-gov-click={this.onCloseHandler.bind(this)}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"x-lg\"/>\n\t\t\t\t\t\t\t</gov-button>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div class={DialogClass.content} id={this.contentId}>\n\t\t\t\t\t\t\t<slot/>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t{this.h.hasSlot('footer') && (\n\t\t\t\t\t\t\t<div class={DialogClass.footer}>\n\t\t\t\t\t\t\t\t<slot name=\"footer\"/>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t)}\n\t\t\t\t\t</div>\n\t\t\t\t</dialog>\n\n\t\t\t\t{this.open ? (\n\t\t\t\t\t<gov-backdrop\n\t\t\t\t\t\tdisabled={this.blockBackdropClose}\n\t\t\t\t\t\taccessible-label={this.accessibleCloseLabel}\n\t\t\t\t\t\taccessible-labelled-by={this.accessibleCloseLabelledBy}\n\t\t\t\t\t\ton-gov-click={this.onCloseHandler.bind(this)}\n\t\t\t\t\t/>\n\t\t\t\t) : null}\n\t\t\t</Host>\n\t\t)\n\t}\n\n\tprivate onCloseHandler(e: PointerEvent) {\n\t\te.stopPropagation()\n\t\te.preventDefault()\n\t\tif (this.blockClose === false) {\n\t\t\tthis.hideDialog()\n\t\t\tthis.govClose.emit(e)\n\t\t}\n\t}\n\n\t/**\n\t * Sets the close button to focus\n\t */\n\t@Method()\n\tasync setFocus(): Promise<void> {\n\t\tif (this.open && this.closeCtaRef) {\n\t\t\tthis.closeCtaRef.setFocus().catch()\n\t\t}\n\t}\n\n\n\t/**\n\t * Validate the WCAG attributes of the component\n\t */\n\t@Method()\n\tasync validateAccessibility(): Promise<void> {\n\t\tvalidateWcagRef(this.accessibleLabelledBy, 'accessible-labelled-by', DialogClass.root)\n\t\tvalidateWcagRef(this.accessibleDescribedBy, 'accessible-described-by', DialogClass.root)\n\t}\n}\n"],"version":3}
1
+ {"file":"gov-dialog.entry.js","mappings":";;;;;;;;;;AAAO,MAAM,WAAW,GAAG;IAC1B,IAAI,EAAE,YAAY;IAClB,MAAM,EAAE,oBAAoB;IAC5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CAAC,IAAI,CAAC,CAAA;KACxF;;;;;;;;;","names":[],"sources":["../../../packages/core/src/components/gov-dialog/constants.ts","../../../packages/core/src/components/gov-dialog/gov-dialog.tsx"],"sourcesContent":["export const DialogClass = {\n\troot: 'gov-dialog',\n\tdialog: 'gov-dialog__dialog',\n\tinner: 'gov-dialog__inner',\n\theader: 'gov-dialog__header',\n\ttitle: 'gov-dialog__title',\n\tcontent: 'gov-dialog__content',\n\tclose: 'gov-dialog__close',\n\tfooter: 'gov-dialog__footer',\n\tbodyFix: 'body-fixed',\n}\n","import {Component, Element, Event, EventEmitter, h, Host, Method, Prop, Watch} from '@stencil/core'\nimport {boolToFocusValue, govHost, toBoolAttr} from '../../helpers/Dom/template'\nimport {GovHost} from '../../helpers/Dom/template.types'\nimport {canValidateWcagOnRender} from '../../helpers/Dom/win'\nimport {validateWcagRef} from '../../helpers/Validate/wcag'\nimport {Nullable} from '../../types/interfaces'\nimport {createID} from '../../utils/string.utils'\nimport {DialogClass} from './constants'\nimport {tick} from \"../../utils/stencil.utils\";\n\n@Component({\n\ttag: 'gov-dialog',\n})\nexport class GovDialog {\n\tprivate h: GovHost\n\tprivate readonly labelId: string\n\tprivate readonly contentId: string\n\tprivate hydrated = false;\n\tprivate closeCtaRef?: HTMLGovButtonElement\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t\tthis.labelId = createID('GovDialogLabel')\n\t\tthis.contentId = createID('GovDialogContent')\n\t}\n\n\t@Element() host: HTMLGovDialogElement\n\n\t/**\n\t * Attribute for dialog window display\n\t */\n\t@Prop({mutable: true, reflect: true}) open = false\n\t/**\n\t * Attribute allowing blocking the dialog closing\n\t */\n\t@Prop({attribute: 'block-close'}) blockClose = false\n\t/**\n\t * Attribute allowing blocking the backdrop dialog closing\n\t */\n\t@Prop({attribute: 'block-backdrop-close'}) blockBackdropClose = false\n\t/**\n\t * Role of dialog\n\t */\n\t@Prop({attribute: 'role'}) role: Nullable<string> = 'dialog'\n\t/**\n\t * Used to change the HTML tag in the dialog label for correct semantic structure\n\t */\n\t@Prop({attribute: 'label-tag'}) readonly labelTag: string = 'h2'\n\t/**\n\t * String of id's that indicate alternative labels elements\n\t */\n\t@Prop({attribute: 'accessible-labelled-by'}) accessibleLabelledBy: string\n\t/**\n\t * Indicates the id of a component that describes the dialog.\n\t */\n\t@Prop({attribute: 'accessible-described-by'}) accessibleDescribedBy: string\n\t/**\n\t * Adds accessible label for the dialog close button that is only shown for screen readers.\n\t */\n\t@Prop({attribute: 'accessible-close-label'}) readonly accessibleCloseLabel: string = 'Zavřít okno'\n\t/**\n\t * A string of identifiers that indicate alternative label elements for closing the dialog window\n\t */\n\t@Prop({attribute: 'accessible-close-labelled-by'}) accessibleCloseLabelledBy: string\n\t/**\n\t * Emitted when dialog window closes.\n\t */\n\t@Event({eventName: 'gov-close'}) govClose: EventEmitter<PointerEvent>\n\n\t@Watch('open')\n\twatchOpen(newValue: boolean): void {\n\t\tthis.open = newValue\n\t\tthis.setFocus().finally()\n\t}\n\n\tprivate showDialog() {\n\t\tthis.open = true\n\t\tdocument.body.classList.add(DialogClass.bodyFix)\n\t}\n\n\tprivate hideDialog() {\n\t\tthis.open = false\n\t\tdocument.body.classList.remove(DialogClass.bodyFix)\n\t}\n\n\tasync componentDidRender() {\n\t\tif (canValidateWcagOnRender()) {\n\t\t\ttick(() => this.validateAccessibility())\n\t\t}\n\n\t\tif (this.open) {\n\t\t\tthis.showDialog()\n\t\t} else {\n\t\t\tthis.hideDialog()\n\t\t}\n\t}\n\n\tconnectedCallback() {\n\t\tthis.hydrated = true\n\t}\n\n\tdisconnectedCallback(): void {\n\t\tdocument.body.classList.remove(DialogClass.bodyFix)\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={this.h.classes(DialogClass.root)} open={this.open} hydrated={this.hydrated}>\n\t\t\t\t<dialog\n\t\t\t\t\tclass={DialogClass.dialog}\n\t\t\t\t\thidden={!this.open}\n\t\t\t\t\ttabindex={boolToFocusValue(this.open)}\n\t\t\t\t\topen={this.open}\n\t\t\t\t\taria-modal=\"true\"\n\t\t\t\t\taria-hidden={toBoolAttr(!this.open)}\n\t\t\t\t\taria-labelledby={this.accessibleLabelledBy || this.labelId}\n\t\t\t\t\taria-describedby={this.accessibleDescribedBy || this.contentId}\n\t\t\t\t\trole={this.role}\n\t\t\t\t>\n\t\t\t\t\t<div class={DialogClass.inner}>\n\t\t\t\t\t\t<div class={DialogClass.header}>\n\t\t\t\t\t\t\t<slot name=\"icon\"/>\n\t\t\t\t\t\t\t{this.h.hasSlot('title') && (\n\t\t\t\t\t\t\t\t<span class={DialogClass.title} id={this.labelId}>\n\t\t\t\t\t\t\t\t\t<slot name=\"title\"/>\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t<gov-button\n\t\t\t\t\t\t\t\tref={el => (this.closeCtaRef = el)}\n\t\t\t\t\t\t\t\tdisabled={this.blockClose}\n\t\t\t\t\t\t\t\tclass={DialogClass.close}\n\t\t\t\t\t\t\t\tcolor=\"primary\"\n\t\t\t\t\t\t\t\taria-label={this.accessibleCloseLabel}\n\t\t\t\t\t\t\t\taria-labelledby={this.accessibleCloseLabelledBy}\n\t\t\t\t\t\t\t\ttype=\"base\"\n\t\t\t\t\t\t\t\ton-gov-click={this.onCloseHandler.bind(this)}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"x-lg\"/>\n\t\t\t\t\t\t\t</gov-button>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div class={DialogClass.content} id={this.contentId}>\n\t\t\t\t\t\t\t<slot/>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t{this.h.hasSlot('footer') && (\n\t\t\t\t\t\t\t<div class={DialogClass.footer}>\n\t\t\t\t\t\t\t\t<slot name=\"footer\"/>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t)}\n\t\t\t\t\t</div>\n\t\t\t\t</dialog>\n\n\t\t\t\t{this.open ? (\n\t\t\t\t\t<gov-backdrop\n\t\t\t\t\t\tdisabled={this.blockBackdropClose}\n\t\t\t\t\t\taria-label={this.accessibleCloseLabel}\n\t\t\t\t\t\taria-labelled-by={this.accessibleCloseLabelledBy}\n\t\t\t\t\t\ton-gov-click={this.onCloseHandler.bind(this)}\n\t\t\t\t\t/>\n\t\t\t\t) : null}\n\t\t\t</Host>\n\t\t)\n\t}\n\n\tprivate onCloseHandler(e: PointerEvent) {\n\t\te.stopPropagation()\n\t\te.preventDefault()\n\t\tif (this.blockClose === false) {\n\t\t\tthis.hideDialog()\n\t\t\tthis.govClose.emit(e)\n\t\t}\n\t}\n\n\t/**\n\t * Sets the close button to focus\n\t */\n\t@Method()\n\tasync setFocus(): Promise<void> {\n\t\tif (this.open && this.closeCtaRef) {\n\t\t\tthis.closeCtaRef.setFocus().catch()\n\t\t}\n\t}\n\n\n\t/**\n\t * Validate the WCAG attributes of the component\n\t */\n\t@Method()\n\tasync validateAccessibility(): Promise<void> {\n\t\tvalidateWcagRef(this.accessibleLabelledBy, 'accessible-labelled-by', DialogClass.root)\n\t\tvalidateWcagRef(this.accessibleDescribedBy, 'accessible-described-by', DialogClass.root)\n\t}\n}\n"],"version":3}
@@ -113,7 +113,7 @@ const GovDropdown = class {
113
113
  });
114
114
  }
115
115
  render() {
116
- return (h(Host, { key: 'ee6eaf511c26f189e161ac9d13c26e8dbc5a3ac7', class: this.h.classes([DropdownClass.root]), open: this.open, position: this.position }, h("slot", { key: '964f39a16b89cebb8fdaab7025ff63a0298f1a8c' }), h("div", { key: '344a7f2b55a7e4fa9ee92777276e65057bcf025d', ref: el => registerClickOutside(this, el, () => this.open = false), class: DropdownClass.list, id: this.listId, "aria-labelledby": this.controlId, "aria-hidden": toBoolAttr(!this.open), hidden: !this.open }, h("slot", { key: '54ee18b9f2ec257708d21fe7fa1c3b2ff1827824', name: "list" }))));
116
+ return (h(Host, { key: '43c2a03dcb27ebe54f8dd00ca1120b848cac957c', class: this.h.classes([DropdownClass.root]), open: this.open, position: this.position }, h("slot", { key: '732c956fe37283578a95c843cf94ad590cd16402' }), h("div", { key: 'c3934a0f7c8303950a5c7898574fcea2e14e1890', ref: el => registerClickOutside(this, el, () => this.open = false), class: DropdownClass.list, id: this.listId, "aria-labelledby": this.controlId, "aria-hidden": toBoolAttr(!this.open), hidden: !this.open }, h("slot", { key: 'cb685039c57f9d32ae7c238fcb7457fe72b4c9c4', name: "list" }))));
117
117
  }
118
118
  /**
119
119
  * Returns the current state of the dropdown
@@ -26,7 +26,7 @@ const GovEmpty = class {
26
26
  this.validateSize(this.size);
27
27
  }
28
28
  render() {
29
- return (h(Host, { key: 'd69440398b476c59b60240f687d7f00dacfe4f0d', class: this.h.classes(EmptyClass.root), size: this.size }, this.h.hasSlot('icon') && (h("slot", { key: '7832fc85c0ccbb79a2832cf2bc9bee560790a10e', name: "icon" })), h("div", { key: '0cc061e85c0817f996ffc18601b3ac6dcf2b52b5', class: EmptyClass.content }, h("slot", { key: 'fbe776f189de07ba54ca1c600e9979d6af7667b9', name: "headline" }), h("slot", { key: 'e28fb1ef408ae3daa1b642ff3b15e87457553b6b' }))));
29
+ return (h(Host, { key: '25d3813acc796b96c6e51aec4a55fc2efa725aa6', class: this.h.classes(EmptyClass.root), size: this.size }, this.h.hasSlot('icon') && (h("slot", { key: '7fccad0fe25b57219f06cfbcf18a2f2bff19c905', name: "icon" })), h("div", { key: 'a4cffd5e7175ba9273a5ea74ba622e2a577ba0fe', class: EmptyClass.content }, h("slot", { key: '53fd435d43baa4841ecb5e3d5817efcb57433eab', name: "headline" }), h("slot", { key: '314e7a0fd7a381dbc4a85da4df2082ce4946b7b5' }))));
30
30
  }
31
31
  get host() { return getElement(this); }
32
32
  static get watchers() { return {
@@ -12,7 +12,7 @@ const GovErrorCode = class {
12
12
  this.h = govHost(this.host);
13
13
  }
14
14
  render() {
15
- return (h(Host, { key: '8c7ac0985621c075b94e1bad82a913c9454b10cf', class: this.h.classes(ErrorCodeClass.root), align: "center" }, this.h.hasSlot('icon') && (h("slot", { key: '498d60a762977d1dfd24750a2c0afd2ce21f1c68', name: "icon" })), h("div", { key: 'bdd3a7505c44660e772bd55f80519fc0f4026a4a', class: ErrorCodeClass.content }, h("slot", { key: 'f9c789de200eb94d4844c633c771339be14f416e', name: "headline" }), h("slot", { key: '475487ef2fb1bb63eea1ca35a81024b734c402be' }))));
15
+ return (h(Host, { key: '90ebeeb8f2e7ed539e7069a876aa1fe3027873fc', class: this.h.classes(ErrorCodeClass.root), align: "center" }, this.h.hasSlot('icon') && (h("slot", { key: 'a31a15dd5276be32288c691d5bb7b8cf9d6615ab', name: "icon" })), h("div", { key: '0dfc7905d1e515a7ecc1eba1dd3912cd32774ca3', class: ErrorCodeClass.content }, h("slot", { key: '238e3ab94cf05880567e2ac2c54c9f9c572ff014', name: "headline" }), h("slot", { key: '56519d70f3ab7b162e9e9a78bf7bfabef89a9b2d' }))));
16
16
  }
17
17
  get host() { return getElement(this); }
18
18
  };
@@ -121,7 +121,7 @@ const GovFormAutocomplete = class {
121
121
  this.inheritedAttributes = Object.assign(Object.assign({}, this.inheritedAttributes), { [attributeName]: newValue });
122
122
  }
123
123
  render() {
124
- return (h(Host, { key: 'ea390b2ba5832f3269f5bc27732b212f2c893ace', class: FormAutocompleteClass.root, size: this.size }, h("gov-form-input", Object.assign({ key: 'd76f02655c5e640062c413e8ac8e40266a74fa1e', placeholder: this.placeholder, name: this.name, disabled: this.disabled, readonly: this.readonly, autocomplete: false, size: this.size, required: this.required, invalid: this.invalid, success: this.success, role: 'searchbox', value: this.value, minlength: this.minlength, maxlength: this.maxlength, "on-gov-input": throttle(this.onInputHandler.bind(this), this.throttleTime), "on-gov-keyup": this.onKeyUpHandler.bind(this), "on-gov-keydown": this.onKeyDownHandler.bind(this), "on-gov-focus": this.onFocusHandler.bind(this), "on-gov-blur": this.onBlurHandler.bind(this) }, this.inheritedAttributes, { "aria-autocomplete": 'list', "aria-owns": [this.listBoxId, this.inheritedAttributes['aria-owns']].join(' '), "aria-expanded": booleanString(this.list.length && this.focused ? true : false), ref: el => (this.inputRef = el) }), h("slot", { key: 'd5a3373d4b1aa5883c67a79dee06124d794a4956', name: "right-icon" })), h("ul", { key: '26bb0a0e05692a25e8ceda76ce7439c43d49325a', class: FormAutocompleteClass.list, role: 'listbox', "aria-hidden": toBoolAttr(!this.focused), hidden: !this.focused, id: this.listBoxId, ref: el => (this.listRef = el) }, this.focused && this.list.length === 0 && this.processing === false && this.isValueAccepted && this.messageEmpty ? (h("li", { class: FormAutocompleteClass.empty }, this.messageEmpty)) : null, this.focused && this.processing === true && this.isValueAccepted ? (h("li", { class: FormAutocompleteClass.loading }, h("gov-skeleton", { size: "m" }))) : null, this.focused ? this.list.map((item, index) => {
124
+ return (h(Host, { key: '7a1445c057c48c73274a21cb55f4de4556ec4948', class: FormAutocompleteClass.root, size: this.size }, h("gov-form-input", Object.assign({ key: '09729a9e3a45f021180797254f7c757d77c4a087', placeholder: this.placeholder, name: this.name, disabled: this.disabled, readonly: this.readonly, autocomplete: false, size: this.size, required: this.required, invalid: this.invalid, success: this.success, role: 'searchbox', value: this.value, minlength: this.minlength, maxlength: this.maxlength, "on-gov-input": throttle(this.onInputHandler.bind(this), this.throttleTime), "on-gov-keyup": this.onKeyUpHandler.bind(this), "on-gov-keydown": this.onKeyDownHandler.bind(this), "on-gov-focus": this.onFocusHandler.bind(this), "on-gov-blur": this.onBlurHandler.bind(this) }, this.inheritedAttributes, { "aria-autocomplete": 'list', "aria-owns": [this.listBoxId, this.inheritedAttributes['aria-owns']].join(' '), "aria-expanded": booleanString(this.list.length && this.focused ? true : false), ref: el => (this.inputRef = el) }), h("slot", { key: 'fb75b138fe88646cacdb24fb9f5ee40ea5300509', name: "right-icon" })), h("ul", { key: '289a100a63718cd59ecd28ed8ed395de56b0475e', class: FormAutocompleteClass.list, role: 'listbox', "aria-hidden": toBoolAttr(!this.focused), hidden: !this.focused, id: this.listBoxId, ref: el => (this.listRef = el) }, this.focused && this.list.length === 0 && this.processing === false && this.isValueAccepted && this.messageEmpty ? (h("li", { class: FormAutocompleteClass.empty }, this.messageEmpty)) : null, this.focused && this.processing === true && this.isValueAccepted ? (h("li", { class: FormAutocompleteClass.loading }, h("gov-skeleton", { size: "m" }))) : null, this.focused ? this.list.map((item, index) => {
125
125
  const isSelected = this.arrowCounter === index;
126
126
  return (h("li", { class: FormAutocompleteClass.item, innerHTML: this.templateResolver(item, isSelected), role: 'option', "aria-posinset": index, tabindex: isSelected ? 0 : -1, "aria-setsize": this.list.length, onTouchStart: (e) => this.onSelectHandler(e, index), onMouseDown: (e) => this.onSelectHandler(e, index), "aria-selected": toBoolAttr(isSelected) }, h("slot", { name: "list-item-left" }), h("slot", { name: "list-item-right" })));
127
127
  }) : null)));
@@ -67,7 +67,7 @@ const GovFormCheckboxGroup = class {
67
67
  });
68
68
  }
69
69
  render() {
70
- return (h(Host, { key: '7f71876a9b72b688bb354a1477153bd8d1b5ad05', gap: this.gap, class: this.h.classes(FormGroupClass.root), value: this.value }, h("slot", { key: '2b3ce2b04ab3a2e55128a6d8c00a1d41217061f6' })));
70
+ return (h(Host, { key: 'bd69f3bc458ab723d5de635bf593aa842eaa5dff', gap: this.gap, class: this.h.classes(FormGroupClass.root), value: this.value }, h("slot", { key: 'adaf1968dc50ebaed444552f498af1bd584ddea6' })));
71
71
  }
72
72
  get host() { return getElement(this); }
73
73
  static get watchers() { return {
@@ -54,7 +54,7 @@ const GovFormControl = class {
54
54
  }
55
55
  render() {
56
56
  const Tag = this.fieldset ? "fieldset" : "div";
57
- return (h(Host, { key: 'ca3d81a16858cbe4b2c06580cb2e9523a77191be', size: this.size, class: this.h.classes(FormControlClass.root) }, h(Tag, { key: '4b2bdfbc3c227b910660596d5815c70ef8fa22dd', class: FormControlClass.holder }, this.h.hasSlot("top") && h("slot", { key: '21e1b5d8e989e6e4ecf9795a2d9d3ccd6dc29543', name: "top" }), h("slot", { key: 'd2acefce44c05404f9d1ce224f7f259361423d82' }), this.h.hasSlot("bottom") && (h("div", { key: 'e5c095ee40f41623e9f6a871e29724be42a8be8f', class: FormControlClass.bottom }, h("slot", { key: '941873ca1268fca177d3ff92b10a205dea0faad3', name: "bottom" }))))));
57
+ return (h(Host, { key: '2037f2c033d26035fc576af50163d72ddf33c8b6', size: this.size, class: this.h.classes(FormControlClass.root) }, h(Tag, { key: '8f913f3d0cecc153db7e217770c3e13ff3ff10a9', class: FormControlClass.holder }, this.h.hasSlot("top") && h("slot", { key: '70ca0a5f95e40d3c88f34ba1521b40a561ae510a', name: "top" }), h("slot", { key: '9043f4197b78a1678fda7643879c61cbb3d09302' }), this.h.hasSlot("bottom") && (h("div", { key: 'a67a85b8edec4a262e3e8291e7b939d8a8f8c10d', class: FormControlClass.bottom }, h("slot", { key: '94958915a9be8406e6f81ce2603e0b8bf3c3d0dd', name: "bottom" }))))));
58
58
  }
59
59
  get host() { return getElement(this); }
60
60
  };
@@ -176,7 +176,7 @@ const GovFormFile = class {
176
176
  this.inheritedAttributes = Object.assign(Object.assign({}, this.inheritedAttributes), { [attributeName]: newValue });
177
177
  }
178
178
  render() {
179
- return (h(Host, { key: '42f26e67f508d85b5db8cbc970cc569ed5b748cc', class: this.h.classes([FormFileClass.root]), invalid: toBoolAttrIfDefined(this.invalid), expanded: toBoolAttrIfDefined(this.expanded) }, h("div", { key: 'b070c1245b8af9c57a629bef4e0e451cb641e087', class: FormFileClass.area, ref: el => (this.areaRef = el) }, h("slot", { key: 'f74be405c9855462a2caa9beca649d78a6ab3fc0' }), h("input", Object.assign({ key: 'ac277c3c42b72dcc24678c756a89991b6fe6e681', class: FormFileClass.input, ref: el => (this.inputRef = el), id: this.identifier || this.fileId, type: "file", name: this.name, accept: this.accept, multiple: this.multiple, onChange: this.onChangeHandler.bind(this), onFocus: this.onFocusHandler.bind(this), onBlur: this.onBlurHandler.bind(this), required: this.required, disabled: this.disabled }, this.inheritedAttributes, { "aria-required": toBoolAttrIfDefined(this.required), "aria-invalid": toBoolAttrIfDefined(this.invalid), "aria-disabled": toBoolAttrIfDefined(this.disabled) }))), this.h.hasSlot("attachments") ? (h("div", { class: FormFileClass.attachments }, h("slot", { name: "attachments" }))) : null, this.files.length && this.displayAttachments ? (h("div", { class: FormFileClass.attachments }, h("gov-attachments", { label: this.accessibleAttachmentsLabel, "accessible-label": this.accessibleAttachmentsLabel }, this.files.map(item => (h("gov-attachments-item", { "accessible-remove-labelledby": item.id, "on-gov-remove": () => this.onRemoveFileHandler(item) }, h("span", { class: "sr-only", id: item.id }, this.accessibleRemoveLabel.replace("{FILE_NAME}", item.file.name)), item.file.name, item.acceptValid === false ? (h("gov-form-message", { slot: "message", color: "error" }, h("gov-icon", { slot: "icon", name: "exclamation-triangle-fill" }), item.acceptValid === false ? this.errorAccept : null)) : null, item.sizeValid === false ? (h("gov-form-message", { slot: "message", color: "error" }, h("gov-icon", { slot: "icon", name: "exclamation-triangle-fill" }), this.errorSize.replace("{FILE_SIZE}", formatBytes(this.maxFileSize)))) : null, h("span", { slot: "info" }, "(", formatBytes(item.file.size), ")"))))))) : null));
179
+ return (h(Host, { key: '2df963d49d08bbb6f0ca9041537476932f4d6f60', class: this.h.classes([FormFileClass.root]), invalid: toBoolAttrIfDefined(this.invalid), expanded: toBoolAttrIfDefined(this.expanded) }, h("div", { key: 'a717c9e31dd719ed2c30c5ea169045df4867bddb', class: FormFileClass.area, ref: el => (this.areaRef = el) }, h("slot", { key: '9abd5561667dac90bd8554403250685b1ed54b65' }), h("input", Object.assign({ key: '2494399376b69a75eb136cad01568de49b8819a8', class: FormFileClass.input, ref: el => (this.inputRef = el), id: this.identifier || this.fileId, type: "file", name: this.name, accept: this.accept, multiple: this.multiple, onChange: this.onChangeHandler.bind(this), onFocus: this.onFocusHandler.bind(this), onBlur: this.onBlurHandler.bind(this), required: this.required, disabled: this.disabled }, this.inheritedAttributes, { "aria-required": toBoolAttrIfDefined(this.required), "aria-invalid": toBoolAttrIfDefined(this.invalid), "aria-disabled": toBoolAttrIfDefined(this.disabled) }))), this.h.hasSlot("attachments") ? (h("div", { class: FormFileClass.attachments }, h("slot", { name: "attachments" }))) : null, this.files.length && this.displayAttachments ? (h("div", { class: FormFileClass.attachments }, h("gov-attachments", { label: this.accessibleAttachmentsLabel, "accessible-label": this.accessibleAttachmentsLabel }, this.files.map(item => (h("gov-attachments-item", { "accessible-remove-labelledby": item.id, "on-gov-remove": () => this.onRemoveFileHandler(item) }, h("span", { class: "sr-only", id: item.id }, this.accessibleRemoveLabel.replace("{FILE_NAME}", item.file.name)), item.file.name, item.acceptValid === false ? (h("gov-form-message", { slot: "message", color: "error" }, h("gov-icon", { slot: "icon", name: "exclamation-triangle-fill" }), item.acceptValid === false ? this.errorAccept : null)) : null, item.sizeValid === false ? (h("gov-form-message", { slot: "message", color: "error" }, h("gov-icon", { slot: "icon", name: "exclamation-triangle-fill" }), this.errorSize.replace("{FILE_SIZE}", formatBytes(this.maxFileSize)))) : null, h("span", { slot: "info" }, "(", formatBytes(item.file.size), ")"))))))) : null));
180
180
  }
181
181
  onRemoveFileHandler(file) {
182
182
  const index = this.files.findIndex(item => item.id === file.id);
@@ -29,7 +29,7 @@ const GovFormGroup = class {
29
29
  this.validateOrientation(this.orientation);
30
30
  }
31
31
  render() {
32
- return (h(Host, { key: 'b7a379997ac1f4080471c42c23cad6f0ed055fd7', gap: this.gap, class: this.h.classes(FormGroupClass.root) }, h("slot", { key: 'a36809822e81913ec6c8cabdee9eaf64c9f9f471' })));
32
+ return (h(Host, { key: 'ffaed68014e833458faab71b22f44cea5b0e62b0', gap: this.gap, class: this.h.classes(FormGroupClass.root) }, h("slot", { key: '445fb49f6d1d4982fbf37d44fc6b66b030d5de6a' })));
33
33
  }
34
34
  get host() { return getElement(this); }
35
35
  static get watchers() { return {
@@ -98,9 +98,9 @@ const GovFormInput = class {
98
98
  }
99
99
  render() {
100
100
  const Tag = this.multiline ? Tags.TEXTAREA : Tags.INPUT;
101
- return (h(Host, { key: '8b60864f0792fe1946d4b7cb6489cff0ffc767e1', class: FormInputClass.root, size: this.size, type: this.type }, this.h.hasSlot("prefix") && h("slot", { key: '4d5d0bb755acbb42033f572633e4969c8e6e8b36', name: "prefix" }), h("span", { key: 'eaac4a690052077ca631ae1e9c69a65518a1902f', class: "element" }, this.h.hasSlot("left-icon") && h("slot", { key: '75c58db96fdda7395ee77c9a71b5b01f2fe92503', name: "left-icon" }), this.h.hasSlot("right-icon") && this.inputType !== 'password' && h("slot", { key: 'a3fb32c7d9103fed20f769c5220ebe8d0254efac', name: "right-icon" }), this.success && !this.multiline &&
102
- h("gov-icon", { key: 'ef85a7526e0542007cf6978e1dd9f9f872a529f7', slot: "validation-icon", class: "icon-validation", name: "check-lg" }), this.invalid && !this.multiline &&
103
- h("gov-icon", { key: '0869b21bce101fde9b5beb169e042ca72f2d2c52', slot: "validation-icon", class: "icon-validation", name: "exclamation-lg" }), h(Tag, Object.assign({ key: '51a15f6e77ab64f16b168d392fbe9d68b77c5821', type: this.inputType === 'password' && this.showPassword ? 'text' : this.inputType, disabled: this.disabled, id: this.identifier || this.inputId, name: this.name, onFocus: this.onFocusHandler.bind(this), onInput: this.onInputHandler.bind(this), onBlur: this.onBlurHandler.bind(this), onKeyUp: this.onKeyUpHandler.bind(this), onKeyDown: this.onKeyDownHandler.bind(this), ref: el => (this.inputRef = el), placeholder: this.placeholder, spellcheck: toBoolAttrIfDefined(this.spellcheck), lang: this.inputLang, readonly: toBoolAttrIfDefined(this.readonly), autocomplete: toOnOffAttrIfDefined(this.autocomplete), autocorrect: toOnOffAttrIfDefined(this.autocorrect), minlength: this.minlength, maxlength: this.maxlength, min: this.min, max: this.max, required: this.required, rows: this.rows, cols: this.cols, role: this.role, value: this.value }, this.inheritedAttributes, { "aria-required": toBoolAttrIfDefined(this.required), "aria-invalid": toBoolAttrIfDefined(this.invalid), "aria-disabled": toBoolAttrIfDefined(this.disabled) })), this.inputType === 'password' ? (h("gov-button", { color: 'primary', type: 'base', size: this.size, "aria-label": this.showPassword ? this.accessibleHidePasswordLabel : this.accessibleShowPasswordLabel, "on-gov-click": () => this.showPassword = !this.showPassword }, h("gov-icon", { slot: "left-icon", name: "eye", type: "basic" }))) : null), this.h.hasSlot("sufix") && h("slot", { key: '2cec0cab2e419776e89506a47f93936249b47fe9', name: "sufix" })));
101
+ return (h(Host, { key: '8845cf9f05528f9f0d6406c57951a946bf0948e8', class: FormInputClass.root, size: this.size, type: this.type }, this.h.hasSlot("prefix") && h("slot", { key: '653ffd0d75243222bccdba1f16b9a35141cde25d', name: "prefix" }), h("span", { key: 'fee0c7cf371089fb4cb982c0cd4c4e255fab709c', class: "element" }, this.h.hasSlot("left-icon") && h("slot", { key: '4213ffac868698f292dde44c586a6575d66089a8', name: "left-icon" }), this.h.hasSlot("right-icon") && this.inputType !== 'password' && h("slot", { key: 'f75114749a810b0998c3a7b35edbda66b4de29f8', name: "right-icon" }), this.success && !this.multiline &&
102
+ h("gov-icon", { key: '6cd13a7efd2df0c09a5a60960038f2f1dc392e35', slot: "validation-icon", class: "icon-validation", name: "check-lg" }), this.invalid && !this.multiline &&
103
+ h("gov-icon", { key: 'b37db5aac85ded3bc53a185898d46235b675dd95', slot: "validation-icon", class: "icon-validation", name: "exclamation-lg" }), h(Tag, Object.assign({ key: '3ef5352821ef36d25146b43cec9b3f826088d0f1', type: this.inputType === 'password' && this.showPassword ? 'text' : this.inputType, disabled: this.disabled, id: this.identifier || this.inputId, name: this.name, onFocus: this.onFocusHandler.bind(this), onInput: this.onInputHandler.bind(this), onBlur: this.onBlurHandler.bind(this), onKeyUp: this.onKeyUpHandler.bind(this), onKeyDown: this.onKeyDownHandler.bind(this), ref: el => (this.inputRef = el), placeholder: this.placeholder, spellcheck: toBoolAttrIfDefined(this.spellcheck), lang: this.inputLang, readonly: toBoolAttrIfDefined(this.readonly), autocomplete: toOnOffAttrIfDefined(this.autocomplete), autocorrect: toOnOffAttrIfDefined(this.autocorrect), minlength: this.minlength, maxlength: this.maxlength, min: this.min, max: this.max, required: this.required, rows: this.rows, cols: this.cols, role: this.role, value: this.value }, this.inheritedAttributes, { "aria-required": toBoolAttrIfDefined(this.required), "aria-invalid": toBoolAttrIfDefined(this.invalid), "aria-disabled": toBoolAttrIfDefined(this.disabled) })), this.inputType === 'password' ? (h("gov-button", { color: 'primary', type: 'base', size: this.size, "aria-label": this.showPassword ? this.accessibleHidePasswordLabel : this.accessibleShowPasswordLabel, "on-gov-click": () => this.showPassword = !this.showPassword }, h("gov-icon", { slot: "left-icon", name: "eye", type: "basic" }))) : null), this.h.hasSlot("sufix") && h("slot", { key: '140b086664605e4b6ba88252a07681d7a89dbb95', name: "sufix" })));
104
104
  }
105
105
  onFocusHandler(e) {
106
106
  e.stopPropagation();
@@ -258,7 +258,7 @@ const GovSkeleton = class {
258
258
  return Object.assign({}, dimenssionsStyles);
259
259
  }
260
260
  render() {
261
- return (h(Host, Object.assign({ key: '053d9b648feb39168da5063d1ce8329489172b46', size: this.size, color: this.color, class: {
261
+ return (h(Host, Object.assign({ key: '4f5137faaa31d438e266648728a8c2050b3ab293', size: this.size, color: this.color, class: {
262
262
  [SkeletonClass.root]: true,
263
263
  circle: this.shape === "circle",
264
264
  line: this.shape === "line",
@@ -14,7 +14,7 @@ const GovFormLabel = class {
14
14
  }
15
15
  render() {
16
16
  const Tag = this.legend ? 'legend' : 'label';
17
- return (h(Host, { key: '9f1487b736715086b83a452d499bf9742cf24672', class: FormLabelClass.root, size: this.size }, h(Tag, { key: '61802424b0836bd8baed52f7972dcee2921b15fd', class: FormLabelClass.label, htmlFor: this.identifier, onClick: () => this.govClick.emit() }, h("slot", { key: 'b0dc6eda00c0d76bc5c6f1455bb250224e76365d' }), this.required ? h("span", { class: "gov-color--error-500" }, "\u00A0*") : null)));
17
+ return (h(Host, { key: '682f49b6cf73faa43772639cb7af8081f1309325', class: FormLabelClass.root, size: this.size }, h(Tag, { key: '568cec8ecbd6608debbb9ccaae2ae2de09f38fb1', class: FormLabelClass.label, htmlFor: this.identifier, onClick: () => this.govClick.emit() }, h("slot", { key: 'a976e327c5d0f3ff0aa1e81ba34a708ef0bc6773' }), this.required ? h("span", { class: "gov-color--error-500" }, "\u00A0*") : null)));
18
18
  }
19
19
  };
20
20