@gov-design-system-ce/components 4.0.8-rc23 → 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 (1503) hide show
  1. package/dist/cjs/accessibility-c475826b.js +15 -0
  2. package/dist/cjs/accessibility-c475826b.js.map +1 -0
  3. package/dist/cjs/attribute-06dc5228.js +102 -0
  4. package/dist/cjs/attribute-06dc5228.js.map +1 -0
  5. package/dist/cjs/colors-976f6dff.js +20 -0
  6. package/dist/cjs/colors-976f6dff.js.map +1 -0
  7. package/dist/cjs/constants-43c0c51b.js +27 -0
  8. package/dist/cjs/constants-43c0c51b.js.map +1 -0
  9. package/dist/cjs/constants-441d1af4.js +27 -0
  10. package/dist/cjs/constants-441d1af4.js.map +1 -0
  11. package/dist/cjs/constants-47ba678b.js +18 -0
  12. package/dist/cjs/constants-47ba678b.js.map +1 -0
  13. package/dist/cjs/constants-5037cdc9.js +28 -0
  14. package/dist/cjs/constants-5037cdc9.js.map +1 -0
  15. package/dist/cjs/constants-861428a4.js +36 -0
  16. package/dist/cjs/constants-861428a4.js.map +1 -0
  17. package/dist/cjs/constants-bd0d66ac.js +17 -0
  18. package/dist/cjs/constants-bd0d66ac.js.map +1 -0
  19. package/dist/cjs/constants-e1bbb053.js +27 -0
  20. package/dist/cjs/constants-e1bbb053.js.map +1 -0
  21. package/dist/cjs/constants-e2807da6.js +36 -0
  22. package/dist/cjs/constants-e2807da6.js.map +1 -0
  23. package/dist/cjs/core.cjs.js +2 -2
  24. package/dist/cjs/form-c1aec07a.js +157 -0
  25. package/dist/cjs/form-c1aec07a.js.map +1 -0
  26. package/dist/cjs/gov-accordion-item.cjs.entry.js +26 -53
  27. package/dist/cjs/gov-accordion-item.cjs.entry.js.map +1 -1
  28. package/dist/cjs/gov-accordion.cjs.entry.js +12 -35
  29. package/dist/cjs/gov-accordion.cjs.entry.js.map +1 -1
  30. package/dist/cjs/gov-attachments_3.cjs.entry.js +28 -33
  31. package/dist/cjs/gov-attachments_3.cjs.entry.js.map +1 -1
  32. package/dist/cjs/gov-backdrop.cjs.entry.js +22 -20
  33. package/dist/cjs/gov-backdrop.cjs.entry.js.map +1 -1
  34. package/dist/cjs/gov-breadcrumbs.cjs.entry.js +19 -22
  35. package/dist/cjs/gov-breadcrumbs.cjs.entry.js.map +1 -1
  36. package/dist/cjs/gov-button.cjs.entry.js +41 -54
  37. package/dist/cjs/gov-button.cjs.entry.js.map +1 -1
  38. package/dist/cjs/gov-card.cjs.entry.js +20 -60
  39. package/dist/cjs/gov-card.cjs.entry.js.map +1 -1
  40. package/dist/cjs/gov-chip.cjs.entry.js +47 -33
  41. package/dist/cjs/gov-chip.cjs.entry.js.map +1 -1
  42. package/dist/cjs/gov-container.cjs.entry.js +3 -7
  43. package/dist/cjs/gov-container.cjs.entry.js.map +1 -1
  44. package/dist/cjs/gov-control-group.cjs.entry.js +13 -17
  45. package/dist/cjs/gov-control-group.cjs.entry.js.map +1 -1
  46. package/dist/cjs/gov-cookiebar.cjs.entry.js +6 -11
  47. package/dist/cjs/gov-cookiebar.cjs.entry.js.map +1 -1
  48. package/dist/cjs/gov-dialog.cjs.entry.js +108 -0
  49. package/dist/cjs/gov-dialog.cjs.entry.js.map +1 -0
  50. package/dist/cjs/gov-dropdown.cjs.entry.js +33 -29
  51. package/dist/cjs/gov-dropdown.cjs.entry.js.map +1 -1
  52. package/dist/cjs/gov-empty.cjs.entry.js +20 -9
  53. package/dist/cjs/gov-empty.cjs.entry.js.map +1 -1
  54. package/dist/cjs/gov-error-code.cjs.entry.js +3 -9
  55. package/dist/cjs/gov-error-code.cjs.entry.js.map +1 -1
  56. package/dist/cjs/gov-form-autocomplete.cjs.entry.js +26 -23
  57. package/dist/cjs/gov-form-autocomplete.cjs.entry.js.map +1 -1
  58. package/dist/cjs/gov-form-checkbox-group.cjs.entry.js +8 -8
  59. package/dist/cjs/gov-form-checkbox-group.cjs.entry.js.map +1 -1
  60. package/dist/cjs/gov-form-checkbox.cjs.entry.js +33 -31
  61. package/dist/cjs/gov-form-checkbox.cjs.entry.js.map +1 -1
  62. package/dist/cjs/gov-form-control.cjs.entry.js +11 -15
  63. package/dist/cjs/gov-form-control.cjs.entry.js.map +1 -1
  64. package/dist/cjs/gov-form-file.cjs.entry.js +32 -37
  65. package/dist/cjs/gov-form-file.cjs.entry.js.map +1 -1
  66. package/dist/cjs/gov-form-group.cjs.entry.js +6 -10
  67. package/dist/cjs/gov-form-group.cjs.entry.js.map +1 -1
  68. package/dist/cjs/gov-form-input_2.cjs.entry.js +284 -0
  69. package/dist/cjs/gov-form-input_2.cjs.entry.js.map +1 -0
  70. package/dist/cjs/gov-form-label.cjs.entry.js +2 -6
  71. package/dist/cjs/gov-form-label.cjs.entry.js.map +1 -1
  72. package/dist/cjs/gov-form-multi-select.cjs.entry.js +38 -46
  73. package/dist/cjs/gov-form-multi-select.cjs.entry.js.map +1 -1
  74. package/dist/cjs/gov-form-password-power.cjs.entry.js +2 -6
  75. package/dist/cjs/gov-form-password-power.cjs.entry.js.map +1 -1
  76. package/dist/cjs/gov-form-radio-group.cjs.entry.js +8 -8
  77. package/dist/cjs/gov-form-radio-group.cjs.entry.js.map +1 -1
  78. package/dist/cjs/gov-form-radio.cjs.entry.js +32 -32
  79. package/dist/cjs/gov-form-radio.cjs.entry.js.map +1 -1
  80. package/dist/cjs/gov-form-search.cjs.entry.js +8 -11
  81. package/dist/cjs/gov-form-search.cjs.entry.js.map +1 -1
  82. package/dist/cjs/gov-form-select.cjs.entry.js +31 -44
  83. package/dist/cjs/gov-form-select.cjs.entry.js.map +1 -1
  84. package/dist/cjs/gov-form-switch.cjs.entry.js +33 -32
  85. package/dist/cjs/gov-form-switch.cjs.entry.js.map +1 -1
  86. package/dist/cjs/gov-grid-item.cjs.entry.js +3 -7
  87. package/dist/cjs/gov-grid-item.cjs.entry.js.map +1 -1
  88. package/dist/cjs/gov-grid.cjs.entry.js +3 -7
  89. package/dist/cjs/gov-grid.cjs.entry.js.map +1 -1
  90. package/dist/cjs/gov-icon.cjs.entry.js +43 -18
  91. package/dist/cjs/gov-icon.cjs.entry.js.map +1 -1
  92. package/dist/cjs/gov-infobar.cjs.entry.js +40 -47
  93. package/dist/cjs/gov-infobar.cjs.entry.js.map +1 -1
  94. package/dist/cjs/gov-layout-column.cjs.entry.js +3 -7
  95. package/dist/cjs/gov-layout-column.cjs.entry.js.map +1 -1
  96. package/dist/cjs/gov-layout.cjs.entry.js +3 -7
  97. package/dist/cjs/gov-layout.cjs.entry.js.map +1 -1
  98. package/dist/cjs/gov-loading.cjs.entry.js +19 -7
  99. package/dist/cjs/gov-loading.cjs.entry.js.map +1 -1
  100. package/dist/cjs/gov-message.cjs.entry.js +18 -18
  101. package/dist/cjs/gov-message.cjs.entry.js.map +1 -1
  102. package/dist/cjs/gov-pagination.cjs.entry.js +33 -37
  103. package/dist/cjs/gov-pagination.cjs.entry.js.map +1 -1
  104. package/dist/cjs/gov-spacer.cjs.entry.js +6 -10
  105. package/dist/cjs/gov-spacer.cjs.entry.js.map +1 -1
  106. package/dist/cjs/gov-stepper-item.cjs.entry.js +18 -47
  107. package/dist/cjs/gov-stepper-item.cjs.entry.js.map +1 -1
  108. package/dist/cjs/gov-stepper.cjs.entry.js +12 -12
  109. package/dist/cjs/gov-stepper.cjs.entry.js.map +1 -1
  110. package/dist/cjs/gov-tabs-item.cjs.entry.js +9 -10
  111. package/dist/cjs/gov-tabs-item.cjs.entry.js.map +1 -1
  112. package/dist/cjs/gov-tabs.cjs.entry.js +45 -45
  113. package/dist/cjs/gov-tabs.cjs.entry.js.map +1 -1
  114. package/dist/cjs/gov-tag.cjs.entry.js +23 -21
  115. package/dist/cjs/gov-tag.cjs.entry.js.map +1 -1
  116. package/dist/cjs/gov-theme-switch.cjs.entry.js +73 -0
  117. package/dist/cjs/gov-theme-switch.cjs.entry.js.map +1 -0
  118. package/dist/cjs/gov-tile.cjs.entry.js +13 -11
  119. package/dist/cjs/gov-tile.cjs.entry.js.map +1 -1
  120. package/dist/cjs/gov-tiles.cjs.entry.js +4 -12
  121. package/dist/cjs/gov-tiles.cjs.entry.js.map +1 -1
  122. package/dist/cjs/gov-toast.cjs.entry.js +38 -27
  123. package/dist/cjs/gov-toast.cjs.entry.js.map +1 -1
  124. package/dist/cjs/gov-tooltip-content.cjs.entry.js +6 -10
  125. package/dist/cjs/gov-tooltip-content.cjs.entry.js.map +1 -1
  126. package/dist/cjs/gov-tooltip.cjs.entry.js +17 -21
  127. package/dist/cjs/gov-tooltip.cjs.entry.js.map +1 -1
  128. package/dist/cjs/gov-wizard-item.cjs.entry.js +21 -44
  129. package/dist/cjs/gov-wizard-item.cjs.entry.js.map +1 -1
  130. package/dist/cjs/gov-wizard.cjs.entry.js +16 -15
  131. package/dist/cjs/gov-wizard.cjs.entry.js.map +1 -1
  132. package/dist/cjs/gov.log-1e8bab6e.js +21 -0
  133. package/dist/cjs/gov.log-1e8bab6e.js.map +1 -0
  134. package/dist/cjs/helpers-2ee3c9e6.js.map +1 -1
  135. package/dist/cjs/index-1af4880c.js +2029 -0
  136. package/dist/cjs/index-1af4880c.js.map +1 -0
  137. package/dist/cjs/loader.cjs.js +2 -2
  138. package/dist/cjs/props-b8a955b2.js +16 -0
  139. package/dist/cjs/props-b8a955b2.js.map +1 -0
  140. package/dist/cjs/stencil.utils-182382ee.js +11 -0
  141. package/dist/cjs/stencil.utils-182382ee.js.map +1 -0
  142. package/dist/cjs/string.utils-2335838f.js +24 -0
  143. package/dist/cjs/string.utils-2335838f.js.map +1 -0
  144. package/dist/cjs/template-b070338f.js +133 -0
  145. package/dist/cjs/template-b070338f.js.map +1 -0
  146. package/dist/cjs/wcag-31089f70.js +56 -0
  147. package/dist/cjs/wcag-31089f70.js.map +1 -0
  148. package/dist/cjs/win-587f4614.js +40 -0
  149. package/dist/cjs/win-587f4614.js.map +1 -0
  150. package/dist/collection/collection-manifest.json +2 -9
  151. package/dist/collection/components/gov-accordion/constants.js +4 -6
  152. package/dist/collection/components/gov-accordion/constants.js.map +1 -1
  153. package/dist/collection/components/gov-accordion/gov-accordion-item.js +25 -117
  154. package/dist/collection/components/gov-accordion/gov-accordion-item.js.map +1 -1
  155. package/dist/collection/components/gov-accordion/gov-accordion.js +6 -117
  156. package/dist/collection/components/gov-accordion/gov-accordion.js.map +1 -1
  157. package/dist/collection/components/gov-attachments/gov-attachments-item.css +19 -202
  158. package/dist/collection/components/gov-attachments/gov-attachments-item.js +14 -14
  159. package/dist/collection/components/gov-attachments/gov-attachments-item.js.map +1 -1
  160. package/dist/collection/components/gov-attachments/gov-attachments.js +1 -11
  161. package/dist/collection/components/gov-attachments/gov-attachments.js.map +1 -1
  162. package/dist/collection/components/gov-backdrop/constants.js +1 -1
  163. package/dist/collection/components/gov-backdrop/constants.js.map +1 -1
  164. package/dist/collection/components/gov-backdrop/gov-backdrop.js +38 -26
  165. package/dist/collection/components/gov-backdrop/gov-backdrop.js.map +1 -1
  166. package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.js +20 -31
  167. package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.js.map +1 -1
  168. package/dist/collection/components/gov-button/button/constants.js +9 -10
  169. package/dist/collection/components/gov-button/button/constants.js.map +1 -1
  170. package/dist/collection/components/gov-button/button/gov-button.js +53 -323
  171. package/dist/collection/components/gov-button/button/gov-button.js.map +1 -1
  172. package/dist/collection/components/gov-button/dropdown/gov-dropdown.js +36 -39
  173. package/dist/collection/components/gov-button/dropdown/gov-dropdown.js.map +1 -1
  174. package/dist/collection/components/gov-card/constants.js +0 -1
  175. package/dist/collection/components/gov-card/constants.js.map +1 -1
  176. package/dist/collection/components/gov-card/gov-card.js +28 -152
  177. package/dist/collection/components/gov-card/gov-card.js.map +1 -1
  178. package/dist/collection/components/gov-chip/constants.js +8 -0
  179. package/dist/collection/components/gov-chip/constants.js.map +1 -1
  180. package/dist/collection/components/gov-chip/gov-chip.js +80 -138
  181. package/dist/collection/components/gov-chip/gov-chip.js.map +1 -1
  182. package/dist/collection/components/gov-container/gov-container.js +1 -11
  183. package/dist/collection/components/gov-container/gov-container.js.map +1 -1
  184. package/dist/collection/components/gov-control-group/constants.js +2 -2
  185. package/dist/collection/components/gov-control-group/constants.js.map +1 -1
  186. package/dist/collection/components/gov-control-group/gov-control-group.js +33 -25
  187. package/dist/collection/components/gov-control-group/gov-control-group.js.map +1 -1
  188. package/dist/collection/components/gov-cookiebar/constants.js +3 -4
  189. package/dist/collection/components/gov-cookiebar/constants.js.map +1 -1
  190. package/dist/collection/components/gov-cookiebar/gov-cookiebar.js +2 -12
  191. package/dist/collection/components/gov-cookiebar/gov-cookiebar.js.map +1 -1
  192. package/dist/collection/components/gov-dialog/constants.js +12 -0
  193. package/dist/collection/components/gov-dialog/constants.js.map +1 -0
  194. package/dist/collection/components/gov-dialog/gov-dialog.js +318 -0
  195. package/dist/collection/components/gov-dialog/gov-dialog.js.map +1 -0
  196. package/dist/collection/components/gov-empty/constants.js +3 -2
  197. package/dist/collection/components/gov-empty/constants.js.map +1 -1
  198. package/dist/collection/components/gov-empty/gov-empty.js +41 -8
  199. package/dist/collection/components/gov-empty/gov-empty.js.map +1 -1
  200. package/dist/collection/components/gov-error-code/constants.js +0 -2
  201. package/dist/collection/components/gov-error-code/constants.js.map +1 -1
  202. package/dist/collection/components/gov-error-code/gov-error-code.js +1 -11
  203. package/dist/collection/components/gov-error-code/gov-error-code.js.map +1 -1
  204. package/dist/collection/components/gov-form/autocomplete/constants.js +1 -3
  205. package/dist/collection/components/gov-form/autocomplete/constants.js.map +1 -1
  206. package/dist/collection/components/gov-form/autocomplete/gov-form-autocomplete.js +25 -101
  207. package/dist/collection/components/gov-form/autocomplete/gov-form-autocomplete.js.map +1 -1
  208. package/dist/collection/components/gov-form/checkbox/constants.js +2 -1
  209. package/dist/collection/components/gov-form/checkbox/constants.js.map +1 -1
  210. package/dist/collection/components/gov-form/checkbox/gov-form-checkbox.js +48 -81
  211. package/dist/collection/components/gov-form/checkbox/gov-form-checkbox.js.map +1 -1
  212. package/dist/collection/components/gov-form/control/gov-form-control.js +4 -14
  213. package/dist/collection/components/gov-form/control/gov-form-control.js.map +1 -1
  214. package/dist/collection/components/gov-form/file/constants.js +0 -3
  215. package/dist/collection/components/gov-form/file/constants.js.map +1 -1
  216. package/dist/collection/components/gov-form/file/gov-form-file.js +32 -89
  217. package/dist/collection/components/gov-form/file/gov-form-file.js.map +1 -1
  218. package/dist/collection/components/gov-form/group/gov-form-checkbox-group.js +1 -1
  219. package/dist/collection/components/gov-form/group/gov-form-group.css +38 -197
  220. package/dist/collection/components/gov-form/group/gov-form-group.js +1 -11
  221. package/dist/collection/components/gov-form/group/gov-form-group.js.map +1 -1
  222. package/dist/collection/components/gov-form/group/gov-form-radio-group.js +1 -1
  223. package/dist/collection/components/gov-form/input/constants.js +1 -3
  224. package/dist/collection/components/gov-form/input/constants.js.map +1 -1
  225. package/dist/collection/components/gov-form/input/gov-form-input.js +45 -153
  226. package/dist/collection/components/gov-form/input/gov-form-input.js.map +1 -1
  227. package/dist/collection/components/gov-form/label/gov-form-label.js +1 -11
  228. package/dist/collection/components/gov-form/label/gov-form-label.js.map +1 -1
  229. package/dist/collection/components/gov-form/message/constants.js +4 -3
  230. package/dist/collection/components/gov-form/message/constants.js.map +1 -1
  231. package/dist/collection/components/gov-form/message/gov-form-message.js +42 -27
  232. package/dist/collection/components/gov-form/message/gov-form-message.js.map +1 -1
  233. package/dist/collection/components/gov-form/multiselect/constants.js +1 -3
  234. package/dist/collection/components/gov-form/multiselect/constants.js.map +1 -1
  235. package/dist/collection/components/gov-form/multiselect/gov-form-multi-select.js +31 -138
  236. package/dist/collection/components/gov-form/multiselect/gov-form-multi-select.js.map +1 -1
  237. package/dist/collection/components/gov-form/password-power/gov-form-password-power.js +1 -11
  238. package/dist/collection/components/gov-form/password-power/gov-form-password-power.js.map +1 -1
  239. package/dist/collection/components/gov-form/radio/constants.js +1 -2
  240. package/dist/collection/components/gov-form/radio/constants.js.map +1 -1
  241. package/dist/collection/components/gov-form/radio/gov-form-radio.js +28 -81
  242. package/dist/collection/components/gov-form/radio/gov-form-radio.js.map +1 -1
  243. package/dist/collection/components/gov-form/search/constants.js +4 -4
  244. package/dist/collection/components/gov-form/search/constants.js.map +1 -1
  245. package/dist/collection/components/gov-form/search/gov-form-search.js +34 -19
  246. package/dist/collection/components/gov-form/search/gov-form-search.js.map +1 -1
  247. package/dist/collection/components/gov-form/select/constants.js +1 -3
  248. package/dist/collection/components/gov-form/select/constants.js.map +1 -1
  249. package/dist/collection/components/gov-form/select/gov-form-select.js +24 -171
  250. package/dist/collection/components/gov-form/select/gov-form-select.js.map +1 -1
  251. package/dist/collection/components/gov-form/switch/constants.js +1 -0
  252. package/dist/collection/components/gov-form/switch/constants.js.map +1 -1
  253. package/dist/collection/components/gov-form/switch/gov-form-switch.js +30 -82
  254. package/dist/collection/components/gov-form/switch/gov-form-switch.js.map +1 -1
  255. package/dist/collection/components/gov-grid/gov-grid-item.js +1 -11
  256. package/dist/collection/components/gov-grid/gov-grid-item.js.map +1 -1
  257. package/dist/collection/components/gov-grid/gov-grid.js +1 -11
  258. package/dist/collection/components/gov-grid/gov-grid.js.map +1 -1
  259. package/dist/collection/components/gov-icon/constants.js +15 -0
  260. package/dist/collection/components/gov-icon/constants.js.map +1 -1
  261. package/dist/collection/components/gov-icon/gov-icon.js +52 -23
  262. package/dist/collection/components/gov-icon/gov-icon.js.map +1 -1
  263. package/dist/collection/components/gov-icon/helpers.js.map +1 -1
  264. package/dist/collection/components/gov-infobar/constants.js +7 -4
  265. package/dist/collection/components/gov-infobar/constants.js.map +1 -1
  266. package/dist/collection/components/gov-infobar/gov-infobar.js +59 -106
  267. package/dist/collection/components/gov-infobar/gov-infobar.js.map +1 -1
  268. package/dist/collection/components/gov-layout/gov-layout-column.js +1 -11
  269. package/dist/collection/components/gov-layout/gov-layout-column.js.map +1 -1
  270. package/dist/collection/components/gov-layout/gov-layout.js +1 -11
  271. package/dist/collection/components/gov-layout/gov-layout.js.map +1 -1
  272. package/dist/collection/components/gov-loading/loading/constants.js +3 -0
  273. package/dist/collection/components/gov-loading/loading/constants.js.map +1 -1
  274. package/dist/collection/components/gov-loading/loading/gov-loading.js +41 -9
  275. package/dist/collection/components/gov-loading/loading/gov-loading.js.map +1 -1
  276. package/dist/collection/components/gov-loading/skeleton/constants.js +5 -5
  277. package/dist/collection/components/gov-loading/skeleton/constants.js.map +1 -1
  278. package/dist/collection/components/gov-loading/skeleton/gov-skeleton.js +61 -99
  279. package/dist/collection/components/gov-loading/skeleton/gov-skeleton.js.map +1 -1
  280. package/dist/collection/components/gov-message/constants.js +7 -4
  281. package/dist/collection/components/gov-message/constants.js.map +1 -1
  282. package/dist/collection/components/gov-message/gov-message.js +39 -24
  283. package/dist/collection/components/gov-message/gov-message.js.map +1 -1
  284. package/dist/collection/components/gov-pagination/constants.js +2 -2
  285. package/dist/collection/components/gov-pagination/constants.js.map +1 -1
  286. package/dist/collection/components/gov-pagination/gov-pagination.js +40 -122
  287. package/dist/collection/components/gov-pagination/gov-pagination.js.map +1 -1
  288. package/dist/collection/components/gov-spacer/gov-spacer.js +1 -11
  289. package/dist/collection/components/gov-spacer/gov-spacer.js.map +1 -1
  290. package/dist/collection/components/gov-stepper/constants.js +5 -8
  291. package/dist/collection/components/gov-stepper/constants.js.map +1 -1
  292. package/dist/collection/components/gov-stepper/gov-stepper-item.js +20 -138
  293. package/dist/collection/components/gov-stepper/gov-stepper-item.js.map +1 -1
  294. package/dist/collection/components/gov-stepper/gov-stepper.js +6 -12
  295. package/dist/collection/components/gov-stepper/gov-stepper.js.map +1 -1
  296. package/dist/collection/components/gov-tabs/constants.js +4 -2
  297. package/dist/collection/components/gov-tabs/constants.js.map +1 -1
  298. package/dist/collection/components/gov-tabs/gov-tabs-item.js +38 -12
  299. package/dist/collection/components/gov-tabs/gov-tabs-item.js.map +1 -1
  300. package/dist/collection/components/gov-tabs/gov-tabs.js +80 -112
  301. package/dist/collection/components/gov-tabs/gov-tabs.js.map +1 -1
  302. package/dist/collection/components/gov-tabs/gov-tabs.types.js.map +1 -1
  303. package/dist/collection/components/gov-tag/constants.js +8 -0
  304. package/dist/collection/components/gov-tag/constants.js.map +1 -1
  305. package/dist/collection/components/gov-tag/gov-tag.js +47 -52
  306. package/dist/collection/components/gov-tag/gov-tag.js.map +1 -1
  307. package/dist/collection/components/gov-theme-switch/constants.js +5 -0
  308. package/dist/collection/components/gov-theme-switch/constants.js.map +1 -0
  309. package/dist/collection/components/gov-theme-switch/gov-theme-switch.js +82 -0
  310. package/dist/collection/components/gov-theme-switch/gov-theme-switch.js.map +1 -0
  311. package/dist/collection/components/gov-theme-switch/gov-theme-switch.types.js +7 -0
  312. package/dist/collection/components/gov-theme-switch/gov-theme-switch.types.js.map +1 -0
  313. package/dist/collection/components/gov-tile/constants.js +7 -4
  314. package/dist/collection/components/gov-tile/constants.js.map +1 -1
  315. package/dist/collection/components/gov-tile/container/gov-tiles.js +5 -38
  316. package/dist/collection/components/gov-tile/container/gov-tiles.js.map +1 -1
  317. package/dist/collection/components/gov-tile/gov-tile.js +64 -12
  318. package/dist/collection/components/gov-tile/gov-tile.js.map +1 -1
  319. package/dist/collection/components/gov-toast/constants.js +7 -4
  320. package/dist/collection/components/gov-toast/constants.js.map +1 -1
  321. package/dist/collection/components/gov-toast/gov-toast.js +43 -35
  322. package/dist/collection/components/gov-toast/gov-toast.js.map +1 -1
  323. package/dist/collection/components/gov-tooltip/constants.js +2 -2
  324. package/dist/collection/components/gov-tooltip/constants.js.map +1 -1
  325. package/dist/collection/components/gov-tooltip/gov-tooltip-content.js +10 -20
  326. package/dist/collection/components/gov-tooltip/gov-tooltip-content.js.map +1 -1
  327. package/dist/collection/components/gov-tooltip/gov-tooltip.js +17 -27
  328. package/dist/collection/components/gov-tooltip/gov-tooltip.js.map +1 -1
  329. package/dist/collection/components/gov-wizard/constants.js +6 -8
  330. package/dist/collection/components/gov-wizard/constants.js.map +1 -1
  331. package/dist/collection/components/gov-wizard/gov-wizard-item.js +22 -108
  332. package/dist/collection/components/gov-wizard/gov-wizard-item.js.map +1 -1
  333. package/dist/collection/components/gov-wizard/gov-wizard.js +8 -14
  334. package/dist/collection/components/gov-wizard/gov-wizard.js.map +1 -1
  335. package/dist/collection/core/constants/colors.js +17 -0
  336. package/dist/collection/core/constants/colors.js.map +1 -0
  337. package/dist/collection/core/constants/tokens.js +15 -13
  338. package/dist/collection/core/constants/tokens.js.map +1 -1
  339. package/dist/collection/helpers/Accessibility/accessibility.js +10 -0
  340. package/dist/collection/helpers/Accessibility/accessibility.js.map +1 -0
  341. package/dist/collection/helpers/Accessibility/attributes.js +54 -0
  342. package/dist/collection/helpers/Accessibility/attributes.js.map +1 -0
  343. package/dist/collection/helpers/Dom/attribute.js +41 -0
  344. package/dist/collection/helpers/Dom/attribute.js.map +1 -0
  345. package/dist/collection/helpers/Dom/template.js +2 -1
  346. package/dist/collection/helpers/Dom/template.js.map +1 -1
  347. package/dist/collection/helpers/Log/gov.log.js +6 -6
  348. package/dist/collection/helpers/Log/gov.log.js.map +1 -1
  349. package/dist/collection/helpers/Validate/wcag.js +4 -3
  350. package/dist/collection/helpers/Validate/wcag.js.map +1 -1
  351. package/dist/collection/pages/Accordion.js +111 -50
  352. package/dist/collection/pages/Accordion.js.map +1 -1
  353. package/dist/collection/pages/Breadcrumbs.js +27 -2
  354. package/dist/collection/pages/Breadcrumbs.js.map +1 -1
  355. package/dist/collection/pages/Button.js +616 -530
  356. package/dist/collection/pages/Button.js.map +1 -1
  357. package/dist/collection/pages/Card.js +39 -66
  358. package/dist/collection/pages/Card.js.map +1 -1
  359. package/dist/collection/pages/Chip.js +134 -253
  360. package/dist/collection/pages/Chip.js.map +1 -1
  361. package/dist/collection/pages/Container.js +6 -0
  362. package/dist/collection/pages/Container.js.map +1 -1
  363. package/dist/collection/pages/ControlGroup.js +53 -218
  364. package/dist/collection/pages/ControlGroup.js.map +1 -1
  365. package/dist/collection/pages/CookieConsent.js +29 -0
  366. package/dist/collection/pages/CookieConsent.js.map +1 -0
  367. package/dist/collection/pages/Dialog.js +56 -0
  368. package/dist/collection/pages/Dialog.js.map +1 -0
  369. package/dist/collection/pages/Empty.js +26 -31
  370. package/dist/collection/pages/Empty.js.map +1 -1
  371. package/dist/collection/pages/Error.js +7 -5
  372. package/dist/collection/pages/Error.js.map +1 -1
  373. package/dist/collection/pages/FormMessage.js +10 -10
  374. package/dist/collection/pages/FormMessage.js.map +1 -1
  375. package/dist/collection/pages/Forms.js +1953 -1527
  376. package/dist/collection/pages/Forms.js.map +1 -1
  377. package/dist/collection/pages/Home.js +40 -65
  378. package/dist/collection/pages/Home.js.map +1 -1
  379. package/dist/collection/pages/Icon.js +22 -0
  380. package/dist/collection/pages/Icon.js.map +1 -0
  381. package/dist/collection/pages/Infobar.js +83 -83
  382. package/dist/collection/pages/Infobar.js.map +1 -1
  383. package/dist/collection/pages/Layout.js +16 -16
  384. package/dist/collection/pages/Layout.js.map +1 -1
  385. package/dist/collection/pages/Loading.js +70 -80
  386. package/dist/collection/pages/Loading.js.map +1 -1
  387. package/dist/collection/pages/Message.js +43 -55
  388. package/dist/collection/pages/Message.js.map +1 -1
  389. package/dist/collection/pages/Pagination.js +6 -6
  390. package/dist/collection/pages/Pagination.js.map +1 -1
  391. package/dist/collection/pages/Stepper.js +45 -30
  392. package/dist/collection/pages/Stepper.js.map +1 -1
  393. package/dist/collection/pages/Tabs.js +261 -19
  394. package/dist/collection/pages/Tabs.js.map +1 -1
  395. package/dist/collection/pages/Tag.js +47 -127
  396. package/dist/collection/pages/Tag.js.map +1 -1
  397. package/dist/collection/pages/Tiles.js +319 -110
  398. package/dist/collection/pages/Tiles.js.map +1 -1
  399. package/dist/collection/pages/ToastMessage.js +5 -5
  400. package/dist/collection/pages/ToastMessage.js.map +1 -1
  401. package/dist/collection/pages/ToastMessageCountdown.js +5 -5
  402. package/dist/collection/pages/ToastMessageCountdown.js.map +1 -1
  403. package/dist/collection/pages/Tooltip.js +8 -8
  404. package/dist/collection/pages/Tooltip.js.map +1 -1
  405. package/dist/collection/pages/Wizard.js +38 -20
  406. package/dist/collection/pages/Wizard.js.map +1 -1
  407. package/dist/collection/utils/stencil.utils.js +2 -2
  408. package/dist/collection/utils/stencil.utils.js.map +1 -1
  409. package/dist/collection/utils/string.utils.js +1 -1
  410. package/dist/collection/utils/string.utils.js.map +1 -1
  411. package/dist/components/gov-accordion-item.js +1 -1
  412. package/dist/components/gov-accordion-item.js.map +1 -1
  413. package/dist/components/gov-accordion.js +1 -1
  414. package/dist/components/gov-accordion.js.map +1 -1
  415. package/dist/components/gov-attachments-item.js +1 -1
  416. package/dist/components/gov-attachments.js +1 -1
  417. package/dist/components/gov-backdrop.js +1 -1
  418. package/dist/components/gov-breadcrumbs.js +1 -1
  419. package/dist/components/gov-breadcrumbs.js.map +1 -1
  420. package/dist/components/gov-button.js +1 -1
  421. package/dist/components/gov-card.js +1 -1
  422. package/dist/components/gov-card.js.map +1 -1
  423. package/dist/components/gov-chip.js +1 -1
  424. package/dist/components/gov-container.js +1 -1
  425. package/dist/components/gov-container.js.map +1 -1
  426. package/dist/components/gov-control-group.js +1 -1
  427. package/dist/components/gov-control-group.js.map +1 -1
  428. package/dist/components/gov-cookiebar.js +1 -1
  429. package/dist/components/gov-cookiebar.js.map +1 -1
  430. package/dist/components/gov-dialog.d.ts +11 -0
  431. package/dist/components/gov-dialog.js +2 -0
  432. package/dist/components/gov-dialog.js.map +1 -0
  433. package/dist/components/gov-dropdown.js +1 -1
  434. package/dist/components/gov-dropdown.js.map +1 -1
  435. package/dist/components/gov-empty.js +1 -1
  436. package/dist/components/gov-empty.js.map +1 -1
  437. package/dist/components/gov-error-code.js +1 -1
  438. package/dist/components/gov-error-code.js.map +1 -1
  439. package/dist/components/gov-form-autocomplete.js +1 -1
  440. package/dist/components/gov-form-checkbox-group.js +1 -1
  441. package/dist/components/gov-form-checkbox-group.js.map +1 -1
  442. package/dist/components/gov-form-checkbox.js +1 -1
  443. package/dist/components/gov-form-checkbox.js.map +1 -1
  444. package/dist/components/gov-form-control.js +1 -1
  445. package/dist/components/gov-form-control.js.map +1 -1
  446. package/dist/components/gov-form-file.js +1 -1
  447. package/dist/components/gov-form-file.js.map +1 -1
  448. package/dist/components/gov-form-group.js +1 -1
  449. package/dist/components/gov-form-group.js.map +1 -1
  450. package/dist/components/gov-form-input.js +1 -1
  451. package/dist/components/gov-form-label.js +1 -1
  452. package/dist/components/gov-form-label.js.map +1 -1
  453. package/dist/components/gov-form-message.js +1 -1
  454. package/dist/components/gov-form-multi-select.js +1 -1
  455. package/dist/components/gov-form-multi-select.js.map +1 -1
  456. package/dist/components/gov-form-password-power.js +1 -1
  457. package/dist/components/gov-form-password-power.js.map +1 -1
  458. package/dist/components/gov-form-radio-group.js +1 -1
  459. package/dist/components/gov-form-radio-group.js.map +1 -1
  460. package/dist/components/gov-form-radio.js +1 -1
  461. package/dist/components/gov-form-radio.js.map +1 -1
  462. package/dist/components/gov-form-search.js +1 -1
  463. package/dist/components/gov-form-search.js.map +1 -1
  464. package/dist/components/gov-form-select.js +1 -1
  465. package/dist/components/gov-form-switch.js +1 -1
  466. package/dist/components/gov-form-switch.js.map +1 -1
  467. package/dist/components/gov-grid-item.js +1 -1
  468. package/dist/components/gov-grid-item.js.map +1 -1
  469. package/dist/components/gov-grid.js +1 -1
  470. package/dist/components/gov-grid.js.map +1 -1
  471. package/dist/components/gov-icon.js +1 -1
  472. package/dist/components/gov-infobar.js +1 -1
  473. package/dist/components/gov-infobar.js.map +1 -1
  474. package/dist/components/gov-layout-column.js +1 -1
  475. package/dist/components/gov-layout-column.js.map +1 -1
  476. package/dist/components/gov-layout.js +1 -1
  477. package/dist/components/gov-layout.js.map +1 -1
  478. package/dist/components/gov-loading.js +1 -1
  479. package/dist/components/gov-loading.js.map +1 -1
  480. package/dist/components/gov-message.js +1 -1
  481. package/dist/components/gov-message.js.map +1 -1
  482. package/dist/components/gov-pagination.js +1 -1
  483. package/dist/components/gov-pagination.js.map +1 -1
  484. package/dist/components/gov-skeleton.js +1 -1
  485. package/dist/components/gov-skeleton.js.map +1 -1
  486. package/dist/components/gov-spacer.js +1 -1
  487. package/dist/components/gov-spacer.js.map +1 -1
  488. package/dist/components/gov-stepper-item.js +1 -1
  489. package/dist/components/gov-stepper-item.js.map +1 -1
  490. package/dist/components/gov-stepper.js +1 -1
  491. package/dist/components/gov-stepper.js.map +1 -1
  492. package/dist/components/gov-tabs-item.js +1 -1
  493. package/dist/components/gov-tabs-item.js.map +1 -1
  494. package/dist/components/gov-tabs.js +1 -1
  495. package/dist/components/gov-tabs.js.map +1 -1
  496. package/dist/components/gov-tag.js +1 -1
  497. package/dist/components/gov-tag.js.map +1 -1
  498. package/dist/components/gov-theme-switch.d.ts +11 -0
  499. package/dist/components/gov-theme-switch.js +2 -0
  500. package/dist/components/gov-theme-switch.js.map +1 -0
  501. package/dist/components/gov-tile.js +1 -1
  502. package/dist/components/gov-tile.js.map +1 -1
  503. package/dist/components/gov-tiles.js +1 -1
  504. package/dist/components/gov-tiles.js.map +1 -1
  505. package/dist/components/gov-toast.js +1 -1
  506. package/dist/components/gov-toast.js.map +1 -1
  507. package/dist/components/gov-tooltip-content.js +1 -1
  508. package/dist/components/gov-tooltip-content.js.map +1 -1
  509. package/dist/components/gov-tooltip.js +1 -1
  510. package/dist/components/gov-tooltip.js.map +1 -1
  511. package/dist/components/gov-wizard-item.js +1 -1
  512. package/dist/components/gov-wizard-item.js.map +1 -1
  513. package/dist/components/gov-wizard.js +1 -1
  514. package/dist/components/gov-wizard.js.map +1 -1
  515. package/dist/components/index.js +1 -1
  516. package/dist/components/p-0075138f.js +2 -0
  517. package/dist/components/p-0075138f.js.map +1 -0
  518. package/dist/components/p-016bbea6.js.map +1 -1
  519. package/dist/components/p-08621bdf.js +2 -0
  520. package/dist/components/p-08621bdf.js.map +1 -0
  521. package/dist/components/p-0c93dd39.js +2 -0
  522. package/dist/components/p-0c93dd39.js.map +1 -0
  523. package/dist/components/p-19c681a3.js +2 -0
  524. package/dist/components/p-1a0b3b4f.js +2 -0
  525. package/dist/components/p-1a0b3b4f.js.map +1 -0
  526. package/dist/components/p-1e82b99e.js +2 -0
  527. package/dist/components/p-1e82b99e.js.map +1 -0
  528. package/dist/components/p-255d0471.js +2 -0
  529. package/dist/components/p-255d0471.js.map +1 -0
  530. package/dist/components/p-26618322.js +2 -0
  531. package/dist/components/p-26618322.js.map +1 -0
  532. package/dist/components/p-2aedc81e.js +2 -0
  533. package/dist/components/p-2aedc81e.js.map +1 -0
  534. package/dist/components/p-33d5d1ed.js +2 -0
  535. package/dist/components/p-33d5d1ed.js.map +1 -0
  536. package/dist/components/p-3dece5f7.js +2 -0
  537. package/dist/components/p-3dece5f7.js.map +1 -0
  538. package/dist/components/p-4a92317f.js +2 -0
  539. package/dist/components/p-4a92317f.js.map +1 -0
  540. package/dist/components/p-4ffeb83f.js +2 -0
  541. package/dist/components/p-4ffeb83f.js.map +1 -0
  542. package/dist/components/p-565120d5.js +2 -0
  543. package/dist/components/p-565120d5.js.map +1 -0
  544. package/dist/components/p-59737af9.js +2 -0
  545. package/dist/components/p-59737af9.js.map +1 -0
  546. package/dist/components/p-7501abe8.js +2 -0
  547. package/dist/components/p-7501abe8.js.map +1 -0
  548. package/dist/components/p-7f8a24a7.js +2 -0
  549. package/dist/components/p-7f8a24a7.js.map +1 -0
  550. package/dist/components/p-95d41a3b.js +2 -0
  551. package/dist/components/p-95d41a3b.js.map +1 -0
  552. package/dist/components/p-9a93146e.js +2 -0
  553. package/dist/components/p-9a93146e.js.map +1 -0
  554. package/dist/components/p-a14f8877.js +2 -0
  555. package/dist/components/p-a14f8877.js.map +1 -0
  556. package/dist/components/p-a5975d22.js +2 -0
  557. package/dist/components/p-a5975d22.js.map +1 -0
  558. package/dist/components/p-a99d125a.js +2 -0
  559. package/dist/components/p-a99d125a.js.map +1 -0
  560. package/dist/components/p-ae3dada7.js +3 -0
  561. package/dist/components/p-ae3dada7.js.map +1 -0
  562. package/dist/components/p-c0bb26c2.js +2 -0
  563. package/dist/components/p-c0bb26c2.js.map +1 -0
  564. package/dist/components/p-d4509899.js +2 -0
  565. package/dist/components/p-d4509899.js.map +1 -0
  566. package/dist/components/p-dd8d3279.js +2 -0
  567. package/dist/components/p-dd8d3279.js.map +1 -0
  568. package/dist/components/p-de3103e8.js +2 -0
  569. package/dist/components/p-de3103e8.js.map +1 -0
  570. package/dist/components/p-de8656dd.js +2 -0
  571. package/dist/components/p-de8656dd.js.map +1 -0
  572. package/dist/components/p-ded281e6.js +2 -0
  573. package/dist/components/p-ded281e6.js.map +1 -0
  574. package/dist/components/p-e3aeaca0.js +2 -0
  575. package/dist/components/p-e3aeaca0.js.map +1 -0
  576. package/dist/components/p-edd1417b.js +2 -0
  577. package/dist/components/p-edd1417b.js.map +1 -0
  578. package/dist/core/core.css +11473 -1
  579. package/dist/core/core.esm.js +1 -1
  580. package/dist/core/core.esm.js.map +1 -1
  581. package/dist/core/p-0075138f.js +2 -0
  582. package/dist/core/p-0075138f.js.map +1 -0
  583. package/dist/core/p-016bbea6.js.map +1 -1
  584. package/dist/core/p-0225a96a.entry.js +2 -0
  585. package/dist/core/p-0225a96a.entry.js.map +1 -0
  586. package/dist/core/p-023787b3.entry.js +2 -0
  587. package/dist/core/p-023787b3.entry.js.map +1 -0
  588. package/dist/core/p-033bbbaa.entry.js +2 -0
  589. package/dist/core/p-033bbbaa.entry.js.map +1 -0
  590. package/dist/core/p-052cc573.js +2 -0
  591. package/dist/core/p-0d7b9167.entry.js +2 -0
  592. package/dist/core/p-0d7b9167.entry.js.map +1 -0
  593. package/dist/core/p-0ebc8365.entry.js +2 -0
  594. package/dist/core/p-0ebc8365.entry.js.map +1 -0
  595. package/dist/core/p-111e1a63.entry.js +2 -0
  596. package/dist/core/p-111e1a63.entry.js.map +1 -0
  597. package/dist/core/p-1638b12b.entry.js +2 -0
  598. package/dist/core/p-1638b12b.entry.js.map +1 -0
  599. package/dist/core/p-169b67af.js +2 -0
  600. package/dist/core/p-1bbc10c9.entry.js +2 -0
  601. package/dist/core/p-1bbc10c9.entry.js.map +1 -0
  602. package/dist/core/p-21bdd725.entry.js +2 -0
  603. package/dist/core/p-21bdd725.entry.js.map +1 -0
  604. package/dist/core/p-235869e6.entry.js +2 -0
  605. package/dist/core/p-235869e6.entry.js.map +1 -0
  606. package/dist/core/p-2614044c.js +2 -0
  607. package/dist/core/p-26618322.js +2 -0
  608. package/dist/core/p-26618322.js.map +1 -0
  609. package/dist/core/p-28a7d3f7.js +2 -0
  610. package/dist/core/p-28a7d3f7.js.map +1 -0
  611. package/dist/core/p-2ee0d589.entry.js +2 -0
  612. package/dist/core/p-2ee0d589.entry.js.map +1 -0
  613. package/dist/core/p-33ecbb38.entry.js +2 -0
  614. package/dist/core/p-33ecbb38.entry.js.map +1 -0
  615. package/dist/core/p-35e66bef.entry.js +2 -0
  616. package/dist/core/p-35e66bef.entry.js.map +1 -0
  617. package/dist/core/p-378e5294.entry.js +2 -0
  618. package/dist/core/p-378e5294.entry.js.map +1 -0
  619. package/dist/core/p-393a281e.entry.js +2 -0
  620. package/dist/core/p-393a281e.entry.js.map +1 -0
  621. package/dist/core/p-39d8e408.entry.js +2 -0
  622. package/dist/core/p-39d8e408.entry.js.map +1 -0
  623. package/dist/core/p-3a519b02.entry.js +2 -0
  624. package/dist/core/p-3a519b02.entry.js.map +1 -0
  625. package/dist/core/p-3db35bee.entry.js +2 -0
  626. package/dist/core/p-3db35bee.entry.js.map +1 -0
  627. package/dist/core/p-3ddfbc05.entry.js +2 -0
  628. package/dist/core/p-3ddfbc05.entry.js.map +1 -0
  629. package/dist/core/p-3e8b94c2.entry.js +2 -0
  630. package/dist/core/p-3e8b94c2.entry.js.map +1 -0
  631. package/dist/core/p-3f5f36e4.entry.js +2 -0
  632. package/dist/core/p-3f5f36e4.entry.js.map +1 -0
  633. package/dist/core/p-42d9924c.js +2 -0
  634. package/dist/core/p-42d9924c.js.map +1 -0
  635. package/dist/core/p-45a30859.js +2 -0
  636. package/dist/core/p-4898c95f.entry.js +2 -0
  637. package/dist/core/p-4898c95f.entry.js.map +1 -0
  638. package/dist/core/p-4bce896c.js +2 -0
  639. package/dist/core/p-4bce896c.js.map +1 -0
  640. package/dist/core/p-4e98412a.entry.js +2 -0
  641. package/dist/core/p-4e98412a.entry.js.map +1 -0
  642. package/dist/core/p-59c4574a.entry.js +2 -0
  643. package/dist/core/p-59c4574a.entry.js.map +1 -0
  644. package/dist/core/p-5f776da7.entry.js +2 -0
  645. package/dist/core/p-5f776da7.entry.js.map +1 -0
  646. package/dist/core/p-60658ae9.js +2 -0
  647. package/dist/core/p-60658ae9.js.map +1 -0
  648. package/dist/core/p-69d56f17.js +2 -0
  649. package/dist/core/p-69d56f17.js.map +1 -0
  650. package/dist/core/p-6aa40794.js +2 -0
  651. package/dist/core/p-6aa40794.js.map +1 -0
  652. package/dist/core/p-74e20474.entry.js +2 -0
  653. package/dist/core/p-74e20474.entry.js.map +1 -0
  654. package/dist/core/p-7cd2c877.entry.js +2 -0
  655. package/dist/core/p-7cd2c877.entry.js.map +1 -0
  656. package/dist/core/p-8321da17.entry.js +2 -0
  657. package/dist/core/p-8321da17.entry.js.map +1 -0
  658. package/dist/core/p-899e504a.entry.js +2 -0
  659. package/dist/core/p-899e504a.entry.js.map +1 -0
  660. package/dist/core/p-9100d24f.entry.js +2 -0
  661. package/dist/core/p-9100d24f.entry.js.map +1 -0
  662. package/dist/core/p-95d41a3b.js +2 -0
  663. package/dist/core/p-95d41a3b.js.map +1 -0
  664. package/dist/core/p-964f1729.entry.js +2 -0
  665. package/dist/core/p-964f1729.entry.js.map +1 -0
  666. package/dist/core/p-97927e2a.entry.js +2 -0
  667. package/dist/core/p-97927e2a.entry.js.map +1 -0
  668. package/dist/core/p-98091397.entry.js +2 -0
  669. package/dist/core/p-98091397.entry.js.map +1 -0
  670. package/dist/core/p-987388fd.entry.js +2 -0
  671. package/dist/core/p-987388fd.entry.js.map +1 -0
  672. package/dist/core/p-9ac55bd1.js +2 -0
  673. package/dist/core/p-9ac55bd1.js.map +1 -0
  674. package/dist/core/p-9b41ac88.entry.js +2 -0
  675. package/dist/core/p-9b41ac88.entry.js.map +1 -0
  676. package/dist/core/p-9d0c3dee.entry.js +2 -0
  677. package/dist/core/p-9d0c3dee.entry.js.map +1 -0
  678. package/dist/core/p-9d0f20ec.entry.js +2 -0
  679. package/dist/core/p-9d0f20ec.entry.js.map +1 -0
  680. package/dist/core/p-a1e95a5f.js +3 -0
  681. package/dist/core/p-a1e95a5f.js.map +1 -0
  682. package/dist/core/p-a21dc94f.js +2 -0
  683. package/dist/core/p-a21dc94f.js.map +1 -0
  684. package/dist/core/p-a42514f9.entry.js +2 -0
  685. package/dist/core/p-a42514f9.entry.js.map +1 -0
  686. package/dist/core/p-a4886f2d.entry.js +2 -0
  687. package/dist/core/p-a4886f2d.entry.js.map +1 -0
  688. package/dist/core/p-a693ffbf.js +2 -0
  689. package/dist/core/p-a693ffbf.js.map +1 -0
  690. package/dist/core/p-acff78c5.entry.js +2 -0
  691. package/dist/core/p-acff78c5.entry.js.map +1 -0
  692. package/dist/core/p-b215f99f.entry.js +2 -0
  693. package/dist/core/p-b215f99f.entry.js.map +1 -0
  694. package/dist/core/p-b48a4aa0.js +2 -0
  695. package/dist/core/p-b48a4aa0.js.map +1 -0
  696. package/dist/core/p-bdf1864e.entry.js +2 -0
  697. package/dist/core/p-bdf1864e.entry.js.map +1 -0
  698. package/dist/core/p-c5375a8a.entry.js +2 -0
  699. package/dist/core/p-c5375a8a.entry.js.map +1 -0
  700. package/dist/core/p-c6431085.entry.js +2 -0
  701. package/dist/core/p-c6431085.entry.js.map +1 -0
  702. package/dist/core/p-c990d746.js +2 -0
  703. package/dist/core/p-c990d746.js.map +1 -0
  704. package/dist/core/p-ca093025.entry.js +2 -0
  705. package/dist/core/p-ca093025.entry.js.map +1 -0
  706. package/dist/core/p-d56632e1.entry.js +2 -0
  707. package/dist/core/p-d56632e1.entry.js.map +1 -0
  708. package/dist/core/p-d9a299a4.js +2 -0
  709. package/dist/core/p-d9a299a4.js.map +1 -0
  710. package/dist/core/p-e0d428c9.js +2 -0
  711. package/dist/core/p-e0d428c9.js.map +1 -0
  712. package/dist/core/p-e3aeaca0.js +2 -0
  713. package/dist/core/p-e3aeaca0.js.map +1 -0
  714. package/dist/core/p-e49b1737.entry.js +2 -0
  715. package/dist/core/p-e49b1737.entry.js.map +1 -0
  716. package/dist/core/p-e5b95316.entry.js +2 -0
  717. package/dist/core/p-e5b95316.entry.js.map +1 -0
  718. package/dist/core/p-e9a6cd71.js +2 -0
  719. package/dist/core/p-e9a6cd71.js.map +1 -0
  720. package/dist/core/p-ea6cb030.entry.js +2 -0
  721. package/dist/core/p-ea6cb030.entry.js.map +1 -0
  722. package/dist/core/p-eb2af67a.entry.js +2 -0
  723. package/dist/core/p-eb2af67a.entry.js.map +1 -0
  724. package/dist/core/p-f0781e29.entry.js +2 -0
  725. package/dist/core/p-f0781e29.entry.js.map +1 -0
  726. package/dist/core/p-f4e04e98.entry.js +2 -0
  727. package/dist/core/p-f4e04e98.entry.js.map +1 -0
  728. package/dist/core/p-fe147dbf.entry.js +2 -0
  729. package/dist/core/p-fe147dbf.entry.js.map +1 -0
  730. package/dist/esm/accessibility-f83c991a.js +13 -0
  731. package/dist/esm/accessibility-f83c991a.js.map +1 -0
  732. package/dist/esm/attribute-5561aca4.js +98 -0
  733. package/dist/esm/attribute-5561aca4.js.map +1 -0
  734. package/dist/esm/colors-02c1ea96.js +20 -0
  735. package/dist/esm/colors-02c1ea96.js.map +1 -0
  736. package/dist/esm/constants-47e20524.js +31 -0
  737. package/dist/esm/constants-47e20524.js.map +1 -0
  738. package/dist/esm/constants-48177684.js +23 -0
  739. package/dist/esm/constants-48177684.js.map +1 -0
  740. package/dist/esm/constants-501eb756.js +22 -0
  741. package/dist/esm/constants-501eb756.js.map +1 -0
  742. package/dist/esm/constants-6d727976.js +15 -0
  743. package/dist/esm/constants-6d727976.js.map +1 -0
  744. package/dist/esm/constants-7307438d.js +14 -0
  745. package/dist/esm/constants-7307438d.js.map +1 -0
  746. package/dist/esm/constants-990365f1.js +22 -0
  747. package/dist/esm/constants-990365f1.js.map +1 -0
  748. package/dist/esm/constants-c716fa44.js +32 -0
  749. package/dist/esm/constants-c716fa44.js.map +1 -0
  750. package/dist/esm/constants-d42abf99.js +12 -0
  751. package/dist/esm/constants-d42abf99.js.map +1 -0
  752. package/dist/esm/constants-d6418889.js +23 -0
  753. package/dist/esm/constants-d6418889.js.map +1 -0
  754. package/dist/esm/constants-f4e4ede6.js +22 -0
  755. package/dist/esm/constants-f4e4ede6.js.map +1 -0
  756. package/dist/esm/core.js +3 -3
  757. package/dist/esm/form-472e078d.js +142 -0
  758. package/dist/esm/form-472e078d.js.map +1 -0
  759. package/dist/esm/gov-accordion-item.entry.js +27 -54
  760. package/dist/esm/gov-accordion-item.entry.js.map +1 -1
  761. package/dist/esm/gov-accordion.entry.js +12 -35
  762. package/dist/esm/gov-accordion.entry.js.map +1 -1
  763. package/dist/esm/gov-attachments_3.entry.js +29 -34
  764. package/dist/esm/gov-attachments_3.entry.js.map +1 -1
  765. package/dist/esm/gov-backdrop.entry.js +22 -20
  766. package/dist/esm/gov-backdrop.entry.js.map +1 -1
  767. package/dist/esm/gov-breadcrumbs.entry.js +19 -22
  768. package/dist/esm/gov-breadcrumbs.entry.js.map +1 -1
  769. package/dist/esm/gov-button.entry.js +42 -55
  770. package/dist/esm/gov-button.entry.js.map +1 -1
  771. package/dist/esm/gov-card.entry.js +21 -61
  772. package/dist/esm/gov-card.entry.js.map +1 -1
  773. package/dist/esm/gov-chip.entry.js +47 -33
  774. package/dist/esm/gov-chip.entry.js.map +1 -1
  775. package/dist/esm/gov-container.entry.js +3 -7
  776. package/dist/esm/gov-container.entry.js.map +1 -1
  777. package/dist/esm/gov-control-group.entry.js +14 -18
  778. package/dist/esm/gov-control-group.entry.js.map +1 -1
  779. package/dist/esm/gov-cookiebar.entry.js +6 -11
  780. package/dist/esm/gov-cookiebar.entry.js.map +1 -1
  781. package/dist/esm/gov-dialog.entry.js +104 -0
  782. package/dist/esm/gov-dialog.entry.js.map +1 -0
  783. package/dist/esm/gov-dropdown.entry.js +34 -30
  784. package/dist/esm/gov-dropdown.entry.js.map +1 -1
  785. package/dist/esm/gov-empty.entry.js +20 -9
  786. package/dist/esm/gov-empty.entry.js.map +1 -1
  787. package/dist/esm/gov-error-code.entry.js +3 -9
  788. package/dist/esm/gov-error-code.entry.js.map +1 -1
  789. package/dist/esm/gov-form-autocomplete.entry.js +27 -24
  790. package/dist/esm/gov-form-autocomplete.entry.js.map +1 -1
  791. package/dist/esm/gov-form-checkbox-group.entry.js +10 -10
  792. package/dist/esm/gov-form-checkbox-group.entry.js.map +1 -1
  793. package/dist/esm/gov-form-checkbox.entry.js +34 -32
  794. package/dist/esm/gov-form-checkbox.entry.js.map +1 -1
  795. package/dist/esm/gov-form-control.entry.js +13 -17
  796. package/dist/esm/gov-form-control.entry.js.map +1 -1
  797. package/dist/esm/gov-form-file.entry.js +33 -38
  798. package/dist/esm/gov-form-file.entry.js.map +1 -1
  799. package/dist/esm/gov-form-group.entry.js +8 -12
  800. package/dist/esm/gov-form-group.entry.js.map +1 -1
  801. package/dist/esm/gov-form-input_2.entry.js +279 -0
  802. package/dist/esm/gov-form-input_2.entry.js.map +1 -0
  803. package/dist/esm/gov-form-label.entry.js +4 -8
  804. package/dist/esm/gov-form-label.entry.js.map +1 -1
  805. package/dist/esm/gov-form-multi-select.entry.js +39 -47
  806. package/dist/esm/gov-form-multi-select.entry.js.map +1 -1
  807. package/dist/esm/gov-form-password-power.entry.js +2 -6
  808. package/dist/esm/gov-form-password-power.entry.js.map +1 -1
  809. package/dist/esm/gov-form-radio-group.entry.js +10 -10
  810. package/dist/esm/gov-form-radio-group.entry.js.map +1 -1
  811. package/dist/esm/gov-form-radio.entry.js +33 -33
  812. package/dist/esm/gov-form-radio.entry.js.map +1 -1
  813. package/dist/esm/gov-form-search.entry.js +9 -12
  814. package/dist/esm/gov-form-search.entry.js.map +1 -1
  815. package/dist/esm/gov-form-select.entry.js +32 -45
  816. package/dist/esm/gov-form-select.entry.js.map +1 -1
  817. package/dist/esm/gov-form-switch.entry.js +34 -33
  818. package/dist/esm/gov-form-switch.entry.js.map +1 -1
  819. package/dist/esm/gov-grid-item.entry.js +3 -7
  820. package/dist/esm/gov-grid-item.entry.js.map +1 -1
  821. package/dist/esm/gov-grid.entry.js +3 -7
  822. package/dist/esm/gov-grid.entry.js.map +1 -1
  823. package/dist/esm/gov-icon.entry.js +43 -18
  824. package/dist/esm/gov-icon.entry.js.map +1 -1
  825. package/dist/esm/gov-infobar.entry.js +41 -48
  826. package/dist/esm/gov-infobar.entry.js.map +1 -1
  827. package/dist/esm/gov-layout-column.entry.js +3 -7
  828. package/dist/esm/gov-layout-column.entry.js.map +1 -1
  829. package/dist/esm/gov-layout.entry.js +3 -7
  830. package/dist/esm/gov-layout.entry.js.map +1 -1
  831. package/dist/esm/gov-loading.entry.js +19 -7
  832. package/dist/esm/gov-loading.entry.js.map +1 -1
  833. package/dist/esm/gov-message.entry.js +19 -19
  834. package/dist/esm/gov-message.entry.js.map +1 -1
  835. package/dist/esm/gov-pagination.entry.js +34 -38
  836. package/dist/esm/gov-pagination.entry.js.map +1 -1
  837. package/dist/esm/gov-spacer.entry.js +7 -11
  838. package/dist/esm/gov-spacer.entry.js.map +1 -1
  839. package/dist/esm/gov-stepper-item.entry.js +19 -48
  840. package/dist/esm/gov-stepper-item.entry.js.map +1 -1
  841. package/dist/esm/gov-stepper.entry.js +13 -13
  842. package/dist/esm/gov-stepper.entry.js.map +1 -1
  843. package/dist/esm/gov-tabs-item.entry.js +10 -11
  844. package/dist/esm/gov-tabs-item.entry.js.map +1 -1
  845. package/dist/esm/gov-tabs.entry.js +45 -45
  846. package/dist/esm/gov-tabs.entry.js.map +1 -1
  847. package/dist/esm/gov-tag.entry.js +23 -21
  848. package/dist/esm/gov-tag.entry.js.map +1 -1
  849. package/dist/esm/gov-theme-switch.entry.js +69 -0
  850. package/dist/esm/gov-theme-switch.entry.js.map +1 -0
  851. package/dist/esm/gov-tile.entry.js +13 -11
  852. package/dist/esm/gov-tile.entry.js.map +1 -1
  853. package/dist/esm/gov-tiles.entry.js +4 -12
  854. package/dist/esm/gov-tiles.entry.js.map +1 -1
  855. package/dist/esm/gov-toast.entry.js +39 -28
  856. package/dist/esm/gov-toast.entry.js.map +1 -1
  857. package/dist/esm/gov-tooltip-content.entry.js +7 -11
  858. package/dist/esm/gov-tooltip-content.entry.js.map +1 -1
  859. package/dist/esm/gov-tooltip.entry.js +18 -22
  860. package/dist/esm/gov-tooltip.entry.js.map +1 -1
  861. package/dist/esm/gov-wizard-item.entry.js +22 -45
  862. package/dist/esm/gov-wizard-item.entry.js.map +1 -1
  863. package/dist/esm/gov-wizard.entry.js +17 -16
  864. package/dist/esm/gov-wizard.entry.js.map +1 -1
  865. package/dist/esm/gov.log-6e9faad2.js +19 -0
  866. package/dist/esm/gov.log-6e9faad2.js.map +1 -0
  867. package/dist/esm/helpers-5d179d4b.js.map +1 -1
  868. package/dist/esm/index-d8b4eb6c.js +1997 -0
  869. package/dist/esm/index-d8b4eb6c.js.map +1 -0
  870. package/dist/esm/loader.js +3 -3
  871. package/dist/esm/props-c82e1abf.js +14 -0
  872. package/dist/esm/props-c82e1abf.js.map +1 -0
  873. package/dist/esm/stencil.utils-f3c6c68d.js +9 -0
  874. package/dist/esm/stencil.utils-f3c6c68d.js.map +1 -0
  875. package/dist/esm/string.utils-5ce3f551.js +20 -0
  876. package/dist/esm/string.utils-5ce3f551.js.map +1 -0
  877. package/dist/esm/template-3d84d705.js +124 -0
  878. package/dist/esm/template-3d84d705.js.map +1 -0
  879. package/dist/esm/utils-2b4ef320.js +35 -0
  880. package/dist/esm/utils-2b4ef320.js.map +1 -0
  881. package/dist/esm/wcag-fa5ce56c.js +52 -0
  882. package/dist/esm/wcag-fa5ce56c.js.map +1 -0
  883. package/dist/esm/win-cec370ad.js +31 -0
  884. package/dist/esm/win-cec370ad.js.map +1 -0
  885. package/dist/hydrate/index.js +1276 -1903
  886. package/dist/hydrate/index.mjs +1276 -1903
  887. package/dist/stencil.config.js +4 -2
  888. package/dist/stencil.config.js.map +1 -1
  889. package/dist/types/components/gov-accordion/constants.d.ts +4 -7
  890. package/dist/types/components/gov-accordion/gov-accordion-item.d.ts +6 -22
  891. package/dist/types/components/gov-accordion/gov-accordion.d.ts +3 -19
  892. package/dist/types/components/gov-attachments/gov-attachments-item.d.ts +4 -4
  893. package/dist/types/components/gov-backdrop/gov-backdrop.d.ts +8 -4
  894. package/dist/types/components/gov-breadcrumbs/gov-breadcrumbs.d.ts +5 -5
  895. package/dist/types/components/gov-button/button/constants.d.ts +5 -6
  896. package/dist/types/components/gov-button/button/gov-button.d.ts +13 -70
  897. package/dist/types/components/gov-button/dropdown/gov-dropdown.d.ts +5 -4
  898. package/dist/types/components/gov-card/constants.d.ts +0 -1
  899. package/dist/types/components/gov-card/gov-card.d.ts +9 -27
  900. package/dist/types/components/gov-chip/constants.d.ts +8 -0
  901. package/dist/types/components/gov-chip/gov-chip.d.ts +18 -29
  902. package/dist/types/components/gov-control-group/constants.d.ts +3 -3
  903. package/dist/types/components/gov-control-group/gov-control-group.d.ts +7 -3
  904. package/dist/types/components/gov-cookiebar/constants.d.ts +1 -2
  905. package/dist/types/components/gov-dialog/constants.d.ts +11 -0
  906. package/dist/types/components/gov-dialog/gov-dialog.d.ts +67 -0
  907. package/dist/types/components/gov-empty/constants.d.ts +4 -2
  908. package/dist/types/components/gov-empty/gov-empty.d.ts +7 -0
  909. package/dist/types/components/gov-error-code/constants.d.ts +0 -2
  910. package/dist/types/components/gov-form/autocomplete/constants.d.ts +1 -4
  911. package/dist/types/components/gov-form/autocomplete/gov-form-autocomplete.d.ts +7 -19
  912. package/dist/types/components/gov-form/checkbox/constants.d.ts +2 -1
  913. package/dist/types/components/gov-form/checkbox/gov-form-checkbox.d.ts +11 -13
  914. package/dist/types/components/gov-form/file/constants.d.ts +0 -3
  915. package/dist/types/components/gov-form/file/gov-form-file.d.ts +10 -15
  916. package/dist/types/components/gov-form/input/constants.d.ts +1 -4
  917. package/dist/types/components/gov-form/input/gov-form-input.d.ts +13 -29
  918. package/dist/types/components/gov-form/message/constants.d.ts +6 -4
  919. package/dist/types/components/gov-form/message/gov-form-message.d.ts +8 -4
  920. package/dist/types/components/gov-form/multiselect/constants.d.ts +1 -4
  921. package/dist/types/components/gov-form/multiselect/gov-form-multi-select.d.ts +7 -23
  922. package/dist/types/components/gov-form/radio/constants.d.ts +1 -2
  923. package/dist/types/components/gov-form/radio/gov-form-radio.d.ts +7 -12
  924. package/dist/types/components/gov-form/search/constants.d.ts +6 -5
  925. package/dist/types/components/gov-form/search/gov-form-search.d.ts +6 -2
  926. package/dist/types/components/gov-form/select/constants.d.ts +1 -4
  927. package/dist/types/components/gov-form/select/gov-form-select.d.ts +7 -30
  928. package/dist/types/components/gov-form/switch/constants.d.ts +1 -0
  929. package/dist/types/components/gov-form/switch/gov-form-switch.d.ts +7 -14
  930. package/dist/types/components/gov-icon/constants.d.ts +3 -0
  931. package/dist/types/components/gov-icon/gov-icon.d.ts +9 -3
  932. package/dist/types/components/gov-icon/helpers.d.ts +3 -2
  933. package/dist/types/components/gov-infobar/constants.d.ts +8 -5
  934. package/dist/types/components/gov-infobar/gov-infobar.d.ts +14 -16
  935. package/dist/types/components/gov-loading/loading/constants.d.ts +4 -0
  936. package/dist/types/components/gov-loading/loading/gov-loading.d.ts +7 -0
  937. package/dist/types/components/gov-loading/skeleton/constants.d.ts +7 -6
  938. package/dist/types/components/gov-loading/skeleton/gov-skeleton.d.ts +13 -15
  939. package/dist/types/components/gov-message/constants.d.ts +8 -5
  940. package/dist/types/components/gov-message/gov-message.d.ts +7 -3
  941. package/dist/types/components/gov-pagination/constants.d.ts +3 -3
  942. package/dist/types/components/gov-pagination/gov-pagination.d.ts +11 -22
  943. package/dist/types/components/gov-spacer/constants.d.ts +1 -1
  944. package/dist/types/components/gov-stepper/constants.d.ts +6 -9
  945. package/dist/types/components/gov-stepper/gov-stepper-item.d.ts +5 -22
  946. package/dist/types/components/gov-stepper/gov-stepper.d.ts +2 -0
  947. package/dist/types/components/gov-tabs/constants.d.ts +6 -3
  948. package/dist/types/components/gov-tabs/gov-tabs-item.d.ts +8 -0
  949. package/dist/types/components/gov-tabs/gov-tabs.d.ts +19 -24
  950. package/dist/types/components/gov-tabs/gov-tabs.types.d.ts +5 -0
  951. package/dist/types/components/gov-tag/constants.d.ts +9 -0
  952. package/dist/types/components/gov-tag/gov-tag.d.ts +9 -8
  953. package/dist/types/components/gov-theme-switch/constants.d.ts +4 -0
  954. package/dist/types/components/gov-theme-switch/gov-theme-switch.d.ts +18 -0
  955. package/dist/types/components/gov-theme-switch/gov-theme-switch.types.d.ts +10 -0
  956. package/dist/types/components/gov-tile/constants.d.ts +8 -4
  957. package/dist/types/components/gov-tile/container/gov-tiles.d.ts +1 -6
  958. package/dist/types/components/gov-tile/gov-tile.d.ts +13 -0
  959. package/dist/types/components/gov-toast/constants.d.ts +8 -6
  960. package/dist/types/components/gov-toast/gov-toast.d.ts +10 -5
  961. package/dist/types/components/gov-tooltip/constants.d.ts +3 -3
  962. package/dist/types/components/gov-tooltip/gov-tooltip-content.d.ts +2 -2
  963. package/dist/types/components/gov-tooltip/gov-tooltip.d.ts +3 -3
  964. package/dist/types/components/gov-wizard/constants.d.ts +7 -9
  965. package/dist/types/components/gov-wizard/gov-wizard-item.d.ts +5 -17
  966. package/dist/types/components/gov-wizard/gov-wizard.d.ts +2 -0
  967. package/dist/types/components.d.ts +650 -1505
  968. package/dist/types/core/constants/colors.d.ts +15 -0
  969. package/dist/types/helpers/Accessibility/accessibility.d.ts +1 -0
  970. package/dist/types/helpers/Accessibility/attributes.d.ts +1 -0
  971. package/dist/types/helpers/Dom/attribute.d.ts +13 -0
  972. package/dist/types/helpers/Log/gov.log.d.ts +3 -3
  973. package/dist/types/helpers/Validate/wcag.d.ts +1 -1
  974. package/dist/types/pages/CookieConsent.d.ts +3 -0
  975. package/dist/types/pages/Dialog.d.ts +3 -0
  976. package/dist/types/pages/Icon.d.ts +3 -0
  977. package/dist/types/utils/string.utils.d.ts +0 -1
  978. package/package.json +2 -2
  979. package/dist/cjs/constants-11f3de8f.js +0 -28
  980. package/dist/cjs/constants-11f3de8f.js.map +0 -1
  981. package/dist/cjs/constants-1b3eeb21.js +0 -20
  982. package/dist/cjs/constants-1b3eeb21.js.map +0 -1
  983. package/dist/cjs/constants-29b9825f.js +0 -33
  984. package/dist/cjs/constants-29b9825f.js.map +0 -1
  985. package/dist/cjs/constants-2f0a11e5.js +0 -30
  986. package/dist/cjs/constants-2f0a11e5.js.map +0 -1
  987. package/dist/cjs/constants-4fefc173.js +0 -37
  988. package/dist/cjs/constants-4fefc173.js.map +0 -1
  989. package/dist/cjs/constants-7a5540d0.js +0 -26
  990. package/dist/cjs/constants-7a5540d0.js.map +0 -1
  991. package/dist/cjs/constants-8f194b53.js +0 -30
  992. package/dist/cjs/constants-8f194b53.js.map +0 -1
  993. package/dist/cjs/constants-b7813ab1.js +0 -16
  994. package/dist/cjs/constants-b7813ab1.js.map +0 -1
  995. package/dist/cjs/constants-b8a9f758.js +0 -22
  996. package/dist/cjs/constants-b8a9f758.js.map +0 -1
  997. package/dist/cjs/constants-d5fe1cee.js +0 -29
  998. package/dist/cjs/constants-d5fe1cee.js.map +0 -1
  999. package/dist/cjs/constants-fb915aae.js +0 -21
  1000. package/dist/cjs/constants-fb915aae.js.map +0 -1
  1001. package/dist/cjs/constants-fdc5268a.js +0 -15
  1002. package/dist/cjs/constants-fdc5268a.js.map +0 -1
  1003. package/dist/cjs/form-f93c3a0a.js +0 -163
  1004. package/dist/cjs/form-f93c3a0a.js.map +0 -1
  1005. package/dist/cjs/gov-form-input.cjs.entry.js +0 -199
  1006. package/dist/cjs/gov-form-input.cjs.entry.js.map +0 -1
  1007. package/dist/cjs/gov-lifecycle.cjs.entry.js +0 -47
  1008. package/dist/cjs/gov-lifecycle.cjs.entry.js.map +0 -1
  1009. package/dist/cjs/gov-modal.cjs.entry.js +0 -112
  1010. package/dist/cjs/gov-modal.cjs.entry.js.map +0 -1
  1011. package/dist/cjs/gov-nav-item.cjs.entry.js +0 -40
  1012. package/dist/cjs/gov-nav-item.cjs.entry.js.map +0 -1
  1013. package/dist/cjs/gov-nav.cjs.entry.js +0 -43
  1014. package/dist/cjs/gov-nav.cjs.entry.js.map +0 -1
  1015. package/dist/cjs/gov-prompt.cjs.entry.js +0 -107
  1016. package/dist/cjs/gov-prompt.cjs.entry.js.map +0 -1
  1017. package/dist/cjs/gov-side-nav-item.cjs.entry.js +0 -88
  1018. package/dist/cjs/gov-side-nav-item.cjs.entry.js.map +0 -1
  1019. package/dist/cjs/gov-side-nav.cjs.entry.js +0 -57
  1020. package/dist/cjs/gov-side-nav.cjs.entry.js.map +0 -1
  1021. package/dist/cjs/gov-skeleton.cjs.entry.js +0 -118
  1022. package/dist/cjs/gov-skeleton.cjs.entry.js.map +0 -1
  1023. package/dist/cjs/gov-statsbar-item.cjs.entry.js +0 -41
  1024. package/dist/cjs/gov-statsbar-item.cjs.entry.js.map +0 -1
  1025. package/dist/cjs/gov-statsbar.cjs.entry.js +0 -54
  1026. package/dist/cjs/gov-statsbar.cjs.entry.js.map +0 -1
  1027. package/dist/cjs/gov.log-8887c6bc.js +0 -28
  1028. package/dist/cjs/gov.log-8887c6bc.js.map +0 -1
  1029. package/dist/cjs/index-f53beed1.js +0 -2053
  1030. package/dist/cjs/index-f53beed1.js.map +0 -1
  1031. package/dist/cjs/props-edd0d46f.js +0 -16
  1032. package/dist/cjs/props-edd0d46f.js.map +0 -1
  1033. package/dist/cjs/stencil.utils-07182a8a.js +0 -11
  1034. package/dist/cjs/stencil.utils-07182a8a.js.map +0 -1
  1035. package/dist/cjs/string.utils-b84c81cf.js +0 -25
  1036. package/dist/cjs/string.utils-b84c81cf.js.map +0 -1
  1037. package/dist/cjs/template-431f0737.js +0 -132
  1038. package/dist/cjs/template-431f0737.js.map +0 -1
  1039. package/dist/cjs/variants-85b514ea.js +0 -18
  1040. package/dist/cjs/variants-85b514ea.js.map +0 -1
  1041. package/dist/cjs/wcag-0dfd29b6.js +0 -67
  1042. package/dist/cjs/wcag-0dfd29b6.js.map +0 -1
  1043. package/dist/cjs/win-03714165.js +0 -39
  1044. package/dist/cjs/win-03714165.js.map +0 -1
  1045. package/dist/collection/components/gov-accordion/gov-accordion-item.css +0 -524
  1046. package/dist/collection/components/gov-accordion/gov-accordion.css +0 -240
  1047. package/dist/collection/components/gov-attachments/gov-attachments.css +0 -247
  1048. package/dist/collection/components/gov-backdrop/gov-backdrop.css +0 -246
  1049. package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.css +0 -321
  1050. package/dist/collection/components/gov-button/button/gov-button.css +0 -1154
  1051. package/dist/collection/components/gov-button/dropdown/gov-dropdown.css +0 -264
  1052. package/dist/collection/components/gov-card/gov-card.css +0 -377
  1053. package/dist/collection/components/gov-chip/gov-chip.css +0 -1251
  1054. package/dist/collection/components/gov-container/gov-container.css +0 -247
  1055. package/dist/collection/components/gov-control-group/gov-control-group.css +0 -280
  1056. package/dist/collection/components/gov-cookiebar/gov-cookiebar.css +0 -289
  1057. package/dist/collection/components/gov-empty/gov-empty.css +0 -255
  1058. package/dist/collection/components/gov-error-code/gov-error-code.css +0 -270
  1059. package/dist/collection/components/gov-form/autocomplete/gov-form-autocomplete.css +0 -290
  1060. package/dist/collection/components/gov-form/checkbox/gov-form-checkbox.css +0 -402
  1061. package/dist/collection/components/gov-form/control/gov-form-control.css +0 -291
  1062. package/dist/collection/components/gov-form/file/gov-form-file.css +0 -301
  1063. package/dist/collection/components/gov-form/input/gov-form-input.css +0 -523
  1064. package/dist/collection/components/gov-form/label/gov-form-label.css +0 -252
  1065. package/dist/collection/components/gov-form/message/gov-form-message.css +0 -262
  1066. package/dist/collection/components/gov-form/multiselect/gov-form-multi-select.css +0 -640
  1067. package/dist/collection/components/gov-form/password-power/gov-form-password-power.css +0 -275
  1068. package/dist/collection/components/gov-form/radio/gov-form-radio.css +0 -401
  1069. package/dist/collection/components/gov-form/search/gov-form-search.css +0 -274
  1070. package/dist/collection/components/gov-form/select/gov-form-select.css +0 -598
  1071. package/dist/collection/components/gov-form/switch/gov-form-switch.css +0 -440
  1072. package/dist/collection/components/gov-grid/gov-grid-item.css +0 -437
  1073. package/dist/collection/components/gov-grid/gov-grid.css +0 -256
  1074. package/dist/collection/components/gov-icon/gov-icon.css +0 -250
  1075. package/dist/collection/components/gov-infobar/gov-infobar.css +0 -388
  1076. package/dist/collection/components/gov-layout/gov-layout-column.css +0 -237
  1077. package/dist/collection/components/gov-layout/gov-layout.css +0 -282
  1078. package/dist/collection/components/gov-lifecycle-tester/gov-lifecycle-tester.js +0 -39
  1079. package/dist/collection/components/gov-lifecycle-tester/gov-lifecycle-tester.js.map +0 -1
  1080. package/dist/collection/components/gov-loading/loading/gov-loading.css +0 -261
  1081. package/dist/collection/components/gov-loading/skeleton/gov-skeleton.css +0 -300
  1082. package/dist/collection/components/gov-message/gov-message.css +0 -319
  1083. package/dist/collection/components/gov-modal/constants.js +0 -15
  1084. package/dist/collection/components/gov-modal/constants.js.map +0 -1
  1085. package/dist/collection/components/gov-modal/gov-modal.css +0 -345
  1086. package/dist/collection/components/gov-modal/gov-modal.js +0 -396
  1087. package/dist/collection/components/gov-modal/gov-modal.js.map +0 -1
  1088. package/dist/collection/components/gov-nav/constants.js +0 -9
  1089. package/dist/collection/components/gov-nav/constants.js.map +0 -1
  1090. package/dist/collection/components/gov-nav/gov-nav-item.css +0 -288
  1091. package/dist/collection/components/gov-nav/gov-nav-item.js +0 -68
  1092. package/dist/collection/components/gov-nav/gov-nav-item.js.map +0 -1
  1093. package/dist/collection/components/gov-nav/gov-nav.css +0 -254
  1094. package/dist/collection/components/gov-nav/gov-nav.js +0 -98
  1095. package/dist/collection/components/gov-nav/gov-nav.js.map +0 -1
  1096. package/dist/collection/components/gov-pagination/gov-pagination.css +0 -394
  1097. package/dist/collection/components/gov-promp/constants.js +0 -13
  1098. package/dist/collection/components/gov-promp/constants.js.map +0 -1
  1099. package/dist/collection/components/gov-promp/gov-prompt.css +0 -348
  1100. package/dist/collection/components/gov-promp/gov-prompt.js +0 -337
  1101. package/dist/collection/components/gov-promp/gov-prompt.js.map +0 -1
  1102. package/dist/collection/components/gov-side-nav/constants.js +0 -16
  1103. package/dist/collection/components/gov-side-nav/constants.js.map +0 -1
  1104. package/dist/collection/components/gov-side-nav/gov-side-nav-item.css +0 -384
  1105. package/dist/collection/components/gov-side-nav/gov-side-nav-item.d.js +0 -2
  1106. package/dist/collection/components/gov-side-nav/gov-side-nav-item.d.js.map +0 -1
  1107. package/dist/collection/components/gov-side-nav/gov-side-nav-item.js +0 -336
  1108. package/dist/collection/components/gov-side-nav/gov-side-nav-item.js.map +0 -1
  1109. package/dist/collection/components/gov-side-nav/gov-side-nav.css +0 -237
  1110. package/dist/collection/components/gov-side-nav/gov-side-nav.js +0 -171
  1111. package/dist/collection/components/gov-side-nav/gov-side-nav.js.map +0 -1
  1112. package/dist/collection/components/gov-spacer/gov-spacer.css +0 -302
  1113. package/dist/collection/components/gov-statsbar/constants.js +0 -18
  1114. package/dist/collection/components/gov-statsbar/constants.js.map +0 -1
  1115. package/dist/collection/components/gov-statsbar/gov-statsbar-item.css +0 -296
  1116. package/dist/collection/components/gov-statsbar/gov-statsbar-item.js +0 -66
  1117. package/dist/collection/components/gov-statsbar/gov-statsbar-item.js.map +0 -1
  1118. package/dist/collection/components/gov-statsbar/gov-statsbar.css +0 -281
  1119. package/dist/collection/components/gov-statsbar/gov-statsbar.js +0 -104
  1120. package/dist/collection/components/gov-statsbar/gov-statsbar.js.map +0 -1
  1121. package/dist/collection/components/gov-stepper/gov-stepper-item.css +0 -467
  1122. package/dist/collection/components/gov-stepper/gov-stepper.css +0 -237
  1123. package/dist/collection/components/gov-tabs/gov-tabs-item.css +0 -238
  1124. package/dist/collection/components/gov-tabs/gov-tabs.css +0 -392
  1125. package/dist/collection/components/gov-tag/gov-tag.css +0 -1164
  1126. package/dist/collection/components/gov-tile/container/gov-tiles.css +0 -319
  1127. package/dist/collection/components/gov-tile/gov-tile.css +0 -314
  1128. package/dist/collection/components/gov-toast/gov-toast.css +0 -403
  1129. package/dist/collection/components/gov-tooltip/gov-tooltip-content.css +0 -348
  1130. package/dist/collection/components/gov-tooltip/gov-tooltip.css +0 -241
  1131. package/dist/collection/components/gov-wizard/gov-wizard-item.css +0 -474
  1132. package/dist/collection/components/gov-wizard/gov-wizard.css +0 -240
  1133. package/dist/collection/core/constants/variants.js +0 -15
  1134. package/dist/collection/core/constants/variants.js.map +0 -1
  1135. package/dist/collection/pages/Cookiebar.js +0 -29
  1136. package/dist/collection/pages/Cookiebar.js.map +0 -1
  1137. package/dist/collection/pages/Modal.js +0 -57
  1138. package/dist/collection/pages/Modal.js.map +0 -1
  1139. package/dist/collection/pages/Nav.js +0 -30
  1140. package/dist/collection/pages/Nav.js.map +0 -1
  1141. package/dist/collection/pages/Prompt.js +0 -48
  1142. package/dist/collection/pages/Prompt.js.map +0 -1
  1143. package/dist/collection/pages/SideNav.js +0 -117
  1144. package/dist/collection/pages/SideNav.js.map +0 -1
  1145. package/dist/collection/pages/Statsbar.js +0 -202
  1146. package/dist/collection/pages/Statsbar.js.map +0 -1
  1147. package/dist/components/gov-lifecycle.d.ts +0 -11
  1148. package/dist/components/gov-lifecycle.js +0 -2
  1149. package/dist/components/gov-lifecycle.js.map +0 -1
  1150. package/dist/components/gov-modal.d.ts +0 -11
  1151. package/dist/components/gov-modal.js +0 -2
  1152. package/dist/components/gov-modal.js.map +0 -1
  1153. package/dist/components/gov-nav-item.d.ts +0 -11
  1154. package/dist/components/gov-nav-item.js +0 -2
  1155. package/dist/components/gov-nav-item.js.map +0 -1
  1156. package/dist/components/gov-nav.d.ts +0 -11
  1157. package/dist/components/gov-nav.js +0 -2
  1158. package/dist/components/gov-nav.js.map +0 -1
  1159. package/dist/components/gov-prompt.d.ts +0 -11
  1160. package/dist/components/gov-prompt.js +0 -2
  1161. package/dist/components/gov-prompt.js.map +0 -1
  1162. package/dist/components/gov-side-nav-item.d.ts +0 -11
  1163. package/dist/components/gov-side-nav-item.js +0 -2
  1164. package/dist/components/gov-side-nav-item.js.map +0 -1
  1165. package/dist/components/gov-side-nav.d.ts +0 -11
  1166. package/dist/components/gov-side-nav.js +0 -2
  1167. package/dist/components/gov-side-nav.js.map +0 -1
  1168. package/dist/components/gov-statsbar-item.d.ts +0 -11
  1169. package/dist/components/gov-statsbar-item.js +0 -2
  1170. package/dist/components/gov-statsbar-item.js.map +0 -1
  1171. package/dist/components/gov-statsbar.d.ts +0 -11
  1172. package/dist/components/gov-statsbar.js +0 -2
  1173. package/dist/components/gov-statsbar.js.map +0 -1
  1174. package/dist/components/p-0134b442.js +0 -2
  1175. package/dist/components/p-0134b442.js.map +0 -1
  1176. package/dist/components/p-016118d2.js +0 -2
  1177. package/dist/components/p-016118d2.js.map +0 -1
  1178. package/dist/components/p-03dbb8b1.js +0 -2
  1179. package/dist/components/p-03dbb8b1.js.map +0 -1
  1180. package/dist/components/p-11418445.js +0 -2
  1181. package/dist/components/p-11418445.js.map +0 -1
  1182. package/dist/components/p-145d1fa3.js +0 -2
  1183. package/dist/components/p-145d1fa3.js.map +0 -1
  1184. package/dist/components/p-20fd8011.js +0 -2
  1185. package/dist/components/p-20fd8011.js.map +0 -1
  1186. package/dist/components/p-240c302e.js +0 -2
  1187. package/dist/components/p-240c302e.js.map +0 -1
  1188. package/dist/components/p-2594e525.js +0 -2
  1189. package/dist/components/p-2594e525.js.map +0 -1
  1190. package/dist/components/p-2f537b87.js +0 -2
  1191. package/dist/components/p-2f537b87.js.map +0 -1
  1192. package/dist/components/p-344c72d7.js +0 -2
  1193. package/dist/components/p-3983d290.js +0 -2
  1194. package/dist/components/p-3983d290.js.map +0 -1
  1195. package/dist/components/p-3f704a40.js +0 -2
  1196. package/dist/components/p-3f704a40.js.map +0 -1
  1197. package/dist/components/p-4faa3ba6.js +0 -2
  1198. package/dist/components/p-4faa3ba6.js.map +0 -1
  1199. package/dist/components/p-5262b9ce.js +0 -3
  1200. package/dist/components/p-5262b9ce.js.map +0 -1
  1201. package/dist/components/p-71cec4ef.js +0 -2
  1202. package/dist/components/p-71cec4ef.js.map +0 -1
  1203. package/dist/components/p-74915621.js +0 -2
  1204. package/dist/components/p-74915621.js.map +0 -1
  1205. package/dist/components/p-77a6e3be.js +0 -2
  1206. package/dist/components/p-77a6e3be.js.map +0 -1
  1207. package/dist/components/p-77cdc056.js +0 -2
  1208. package/dist/components/p-77cdc056.js.map +0 -1
  1209. package/dist/components/p-8cf6d23c.js +0 -2
  1210. package/dist/components/p-8cf6d23c.js.map +0 -1
  1211. package/dist/components/p-8dfac7d7.js +0 -2
  1212. package/dist/components/p-8dfac7d7.js.map +0 -1
  1213. package/dist/components/p-9370b15f.js +0 -2
  1214. package/dist/components/p-9370b15f.js.map +0 -1
  1215. package/dist/components/p-94dd1649.js +0 -2
  1216. package/dist/components/p-94dd1649.js.map +0 -1
  1217. package/dist/components/p-9d5a8ed9.js +0 -2
  1218. package/dist/components/p-9d5a8ed9.js.map +0 -1
  1219. package/dist/components/p-b6dd95ba.js +0 -2
  1220. package/dist/components/p-b6dd95ba.js.map +0 -1
  1221. package/dist/components/p-cd6c2938.js +0 -2
  1222. package/dist/components/p-cd6c2938.js.map +0 -1
  1223. package/dist/components/p-ce45c786.js +0 -2
  1224. package/dist/components/p-ce45c786.js.map +0 -1
  1225. package/dist/components/p-d0288df5.js +0 -2
  1226. package/dist/components/p-d0288df5.js.map +0 -1
  1227. package/dist/components/p-d0fe3cd8.js +0 -2
  1228. package/dist/components/p-d0fe3cd8.js.map +0 -1
  1229. package/dist/components/p-d687df8f.js +0 -2
  1230. package/dist/components/p-d687df8f.js.map +0 -1
  1231. package/dist/components/p-e296ca83.js +0 -2
  1232. package/dist/components/p-e296ca83.js.map +0 -1
  1233. package/dist/components/p-e618f1cb.js +0 -2
  1234. package/dist/components/p-e618f1cb.js.map +0 -1
  1235. package/dist/components/p-f0d542f2.js +0 -2
  1236. package/dist/components/p-f0d542f2.js.map +0 -1
  1237. package/dist/core/p-0134b442.js +0 -2
  1238. package/dist/core/p-0134b442.js.map +0 -1
  1239. package/dist/core/p-03dbb8b1.js +0 -2
  1240. package/dist/core/p-03dbb8b1.js.map +0 -1
  1241. package/dist/core/p-06e9e93b.entry.js +0 -2
  1242. package/dist/core/p-06e9e93b.entry.js.map +0 -1
  1243. package/dist/core/p-092b0437.entry.js +0 -2
  1244. package/dist/core/p-092b0437.entry.js.map +0 -1
  1245. package/dist/core/p-1011ca26.entry.js +0 -2
  1246. package/dist/core/p-1011ca26.entry.js.map +0 -1
  1247. package/dist/core/p-107a6a5c.entry.js +0 -2
  1248. package/dist/core/p-107a6a5c.entry.js.map +0 -1
  1249. package/dist/core/p-114a4d0b.entry.js +0 -2
  1250. package/dist/core/p-114a4d0b.entry.js.map +0 -1
  1251. package/dist/core/p-13520b30.entry.js +0 -2
  1252. package/dist/core/p-13520b30.entry.js.map +0 -1
  1253. package/dist/core/p-13ced376.entry.js +0 -2
  1254. package/dist/core/p-13ced376.entry.js.map +0 -1
  1255. package/dist/core/p-1b3143a8.entry.js +0 -2
  1256. package/dist/core/p-1b3143a8.entry.js.map +0 -1
  1257. package/dist/core/p-1bdc04bb.entry.js +0 -2
  1258. package/dist/core/p-1bdc04bb.entry.js.map +0 -1
  1259. package/dist/core/p-208c99c8.entry.js +0 -2
  1260. package/dist/core/p-208c99c8.entry.js.map +0 -1
  1261. package/dist/core/p-20ae3168.entry.js +0 -2
  1262. package/dist/core/p-20ae3168.entry.js.map +0 -1
  1263. package/dist/core/p-20fd8011.js +0 -2
  1264. package/dist/core/p-20fd8011.js.map +0 -1
  1265. package/dist/core/p-2186fcd5.entry.js +0 -2
  1266. package/dist/core/p-2186fcd5.entry.js.map +0 -1
  1267. package/dist/core/p-240659bb.js +0 -3
  1268. package/dist/core/p-240659bb.js.map +0 -1
  1269. package/dist/core/p-240c302e.js +0 -2
  1270. package/dist/core/p-240c302e.js.map +0 -1
  1271. package/dist/core/p-2c3697cf.entry.js +0 -2
  1272. package/dist/core/p-2c3697cf.entry.js.map +0 -1
  1273. package/dist/core/p-2e881577.entry.js +0 -2
  1274. package/dist/core/p-2e881577.entry.js.map +0 -1
  1275. package/dist/core/p-3309aed9.entry.js +0 -2
  1276. package/dist/core/p-3309aed9.entry.js.map +0 -1
  1277. package/dist/core/p-344c72d7.js +0 -2
  1278. package/dist/core/p-348165e2.entry.js +0 -2
  1279. package/dist/core/p-348165e2.entry.js.map +0 -1
  1280. package/dist/core/p-34d7c203.entry.js +0 -2
  1281. package/dist/core/p-34d7c203.entry.js.map +0 -1
  1282. package/dist/core/p-3832de64.entry.js +0 -2
  1283. package/dist/core/p-3832de64.entry.js.map +0 -1
  1284. package/dist/core/p-3983d290.js +0 -2
  1285. package/dist/core/p-3983d290.js.map +0 -1
  1286. package/dist/core/p-3b8fb675.entry.js +0 -2
  1287. package/dist/core/p-3b8fb675.entry.js.map +0 -1
  1288. package/dist/core/p-3ccab2ba.entry.js +0 -2
  1289. package/dist/core/p-3ccab2ba.entry.js.map +0 -1
  1290. package/dist/core/p-3e041d63.entry.js +0 -2
  1291. package/dist/core/p-3e041d63.entry.js.map +0 -1
  1292. package/dist/core/p-3f0dd8fa.js +0 -2
  1293. package/dist/core/p-3f0dd8fa.js.map +0 -1
  1294. package/dist/core/p-4191acf2.js +0 -2
  1295. package/dist/core/p-4191acf2.js.map +0 -1
  1296. package/dist/core/p-45b869ae.js +0 -2
  1297. package/dist/core/p-45b869ae.js.map +0 -1
  1298. package/dist/core/p-4694b4b6.entry.js +0 -2
  1299. package/dist/core/p-4694b4b6.entry.js.map +0 -1
  1300. package/dist/core/p-4700508c.entry.js +0 -2
  1301. package/dist/core/p-4700508c.entry.js.map +0 -1
  1302. package/dist/core/p-489f5c82.entry.js +0 -2
  1303. package/dist/core/p-489f5c82.entry.js.map +0 -1
  1304. package/dist/core/p-4ed064db.entry.js +0 -2
  1305. package/dist/core/p-4ed064db.entry.js.map +0 -1
  1306. package/dist/core/p-4f77a766.entry.js +0 -2
  1307. package/dist/core/p-4f77a766.entry.js.map +0 -1
  1308. package/dist/core/p-4faa3ba6.js +0 -2
  1309. package/dist/core/p-4faa3ba6.js.map +0 -1
  1310. package/dist/core/p-551c9f44.entry.js +0 -2
  1311. package/dist/core/p-551c9f44.entry.js.map +0 -1
  1312. package/dist/core/p-55abc7bc.entry.js +0 -2
  1313. package/dist/core/p-55abc7bc.entry.js.map +0 -1
  1314. package/dist/core/p-55cd3fee.entry.js +0 -2
  1315. package/dist/core/p-55cd3fee.entry.js.map +0 -1
  1316. package/dist/core/p-5c3a0b02.entry.js +0 -2
  1317. package/dist/core/p-5c3a0b02.entry.js.map +0 -1
  1318. package/dist/core/p-64353313.entry.js +0 -2
  1319. package/dist/core/p-64353313.entry.js.map +0 -1
  1320. package/dist/core/p-6789b9d0.entry.js +0 -2
  1321. package/dist/core/p-6789b9d0.entry.js.map +0 -1
  1322. package/dist/core/p-6a82c6a1.entry.js +0 -2
  1323. package/dist/core/p-6a82c6a1.entry.js.map +0 -1
  1324. package/dist/core/p-6c33492a.entry.js +0 -2
  1325. package/dist/core/p-6c33492a.entry.js.map +0 -1
  1326. package/dist/core/p-6d894ec7.entry.js +0 -2
  1327. package/dist/core/p-6d894ec7.entry.js.map +0 -1
  1328. package/dist/core/p-6dfde487.entry.js +0 -2
  1329. package/dist/core/p-6dfde487.entry.js.map +0 -1
  1330. package/dist/core/p-74233183.entry.js +0 -2
  1331. package/dist/core/p-74233183.entry.js.map +0 -1
  1332. package/dist/core/p-77892071.entry.js +0 -2
  1333. package/dist/core/p-77892071.entry.js.map +0 -1
  1334. package/dist/core/p-7a896683.entry.js +0 -2
  1335. package/dist/core/p-7a896683.entry.js.map +0 -1
  1336. package/dist/core/p-7ba4ae8d.entry.js +0 -2
  1337. package/dist/core/p-7ba4ae8d.entry.js.map +0 -1
  1338. package/dist/core/p-7ba4daf4.js +0 -2
  1339. package/dist/core/p-7d011c4b.entry.js +0 -2
  1340. package/dist/core/p-7d011c4b.entry.js.map +0 -1
  1341. package/dist/core/p-7e43f440.entry.js +0 -2
  1342. package/dist/core/p-7e43f440.entry.js.map +0 -1
  1343. package/dist/core/p-802909c5.entry.js +0 -2
  1344. package/dist/core/p-802909c5.entry.js.map +0 -1
  1345. package/dist/core/p-810f0d0c.entry.js +0 -2
  1346. package/dist/core/p-810f0d0c.entry.js.map +0 -1
  1347. package/dist/core/p-828e8bce.entry.js +0 -2
  1348. package/dist/core/p-828e8bce.entry.js.map +0 -1
  1349. package/dist/core/p-87b7b469.entry.js +0 -2
  1350. package/dist/core/p-87b7b469.entry.js.map +0 -1
  1351. package/dist/core/p-8dfac7d7.js +0 -2
  1352. package/dist/core/p-8dfac7d7.js.map +0 -1
  1353. package/dist/core/p-8fb45e7c.entry.js +0 -2
  1354. package/dist/core/p-8fb45e7c.entry.js.map +0 -1
  1355. package/dist/core/p-94dd1649.js +0 -2
  1356. package/dist/core/p-94dd1649.js.map +0 -1
  1357. package/dist/core/p-a3cff495.entry.js +0 -2
  1358. package/dist/core/p-a3cff495.entry.js.map +0 -1
  1359. package/dist/core/p-ab9aff3c.js +0 -2
  1360. package/dist/core/p-ab9aff3c.js.map +0 -1
  1361. package/dist/core/p-ae4321ea.entry.js +0 -2
  1362. package/dist/core/p-ae4321ea.entry.js.map +0 -1
  1363. package/dist/core/p-b2b254b6.entry.js +0 -2
  1364. package/dist/core/p-b2b254b6.entry.js.map +0 -1
  1365. package/dist/core/p-bcdf6cfc.entry.js +0 -2
  1366. package/dist/core/p-bcdf6cfc.entry.js.map +0 -1
  1367. package/dist/core/p-c98fe646.js +0 -2
  1368. package/dist/core/p-c98fe646.js.map +0 -1
  1369. package/dist/core/p-cc83b8cb.entry.js +0 -2
  1370. package/dist/core/p-cc83b8cb.entry.js.map +0 -1
  1371. package/dist/core/p-cd6c2938.js +0 -2
  1372. package/dist/core/p-cd6c2938.js.map +0 -1
  1373. package/dist/core/p-cdaeb7d8.entry.js +0 -2
  1374. package/dist/core/p-cdaeb7d8.entry.js.map +0 -1
  1375. package/dist/core/p-ce45c786.js +0 -2
  1376. package/dist/core/p-ce45c786.js.map +0 -1
  1377. package/dist/core/p-d0288df5.js +0 -2
  1378. package/dist/core/p-d0288df5.js.map +0 -1
  1379. package/dist/core/p-d4b50bcd.entry.js +0 -2
  1380. package/dist/core/p-d4b50bcd.entry.js.map +0 -1
  1381. package/dist/core/p-d4f2d6f9.entry.js +0 -2
  1382. package/dist/core/p-d4f2d6f9.entry.js.map +0 -1
  1383. package/dist/core/p-e0e2e9c1.js +0 -2
  1384. package/dist/core/p-e296ca83.js +0 -2
  1385. package/dist/core/p-e296ca83.js.map +0 -1
  1386. package/dist/core/p-e44a0fee.js +0 -2
  1387. package/dist/core/p-e618f1cb.js +0 -2
  1388. package/dist/core/p-e618f1cb.js.map +0 -1
  1389. package/dist/core/p-e9bcadf1.entry.js +0 -2
  1390. package/dist/core/p-e9bcadf1.entry.js.map +0 -1
  1391. package/dist/core/p-f0d542f2.js +0 -2
  1392. package/dist/core/p-f0d542f2.js.map +0 -1
  1393. package/dist/core/p-f16f9116.entry.js +0 -2
  1394. package/dist/core/p-f16f9116.entry.js.map +0 -1
  1395. package/dist/core/p-f2edcca7.entry.js +0 -2
  1396. package/dist/core/p-f2edcca7.entry.js.map +0 -1
  1397. package/dist/core/p-f6a98765.entry.js +0 -2
  1398. package/dist/core/p-f6a98765.entry.js.map +0 -1
  1399. package/dist/core/p-f9de3c09.entry.js +0 -2
  1400. package/dist/core/p-f9de3c09.entry.js.map +0 -1
  1401. package/dist/core/p-fdead70e.js +0 -2
  1402. package/dist/core/p-fdead70e.js.map +0 -1
  1403. package/dist/core/p-fe8bd4cf.entry.js +0 -2
  1404. package/dist/core/p-fe8bd4cf.entry.js.map +0 -1
  1405. package/dist/esm/constants-0014bc7f.js +0 -24
  1406. package/dist/esm/constants-0014bc7f.js.map +0 -1
  1407. package/dist/esm/constants-122ac484.js +0 -25
  1408. package/dist/esm/constants-122ac484.js.map +0 -1
  1409. package/dist/esm/constants-14f351fd.js +0 -23
  1410. package/dist/esm/constants-14f351fd.js.map +0 -1
  1411. package/dist/esm/constants-1998bac1.js +0 -19
  1412. package/dist/esm/constants-1998bac1.js.map +0 -1
  1413. package/dist/esm/constants-43f10674.js +0 -12
  1414. package/dist/esm/constants-43f10674.js.map +0 -1
  1415. package/dist/esm/constants-4da2b3c0.js +0 -22
  1416. package/dist/esm/constants-4da2b3c0.js.map +0 -1
  1417. package/dist/esm/constants-66db9786.js +0 -25
  1418. package/dist/esm/constants-66db9786.js.map +0 -1
  1419. package/dist/esm/constants-78d0d7ff.js +0 -13
  1420. package/dist/esm/constants-78d0d7ff.js.map +0 -1
  1421. package/dist/esm/constants-a2828485.js +0 -12
  1422. package/dist/esm/constants-a2828485.js.map +0 -1
  1423. package/dist/esm/constants-a5fadb10.js +0 -29
  1424. package/dist/esm/constants-a5fadb10.js.map +0 -1
  1425. package/dist/esm/constants-f63d2d63.js +0 -18
  1426. package/dist/esm/constants-f63d2d63.js.map +0 -1
  1427. package/dist/esm/constants-f6ecfd4e.js +0 -33
  1428. package/dist/esm/constants-f6ecfd4e.js.map +0 -1
  1429. package/dist/esm/constants-f98e7750.js +0 -22
  1430. package/dist/esm/constants-f98e7750.js.map +0 -1
  1431. package/dist/esm/constants-ff234810.js +0 -17
  1432. package/dist/esm/constants-ff234810.js.map +0 -1
  1433. package/dist/esm/form-738c5b12.js +0 -145
  1434. package/dist/esm/form-738c5b12.js.map +0 -1
  1435. package/dist/esm/gov-form-input.entry.js +0 -195
  1436. package/dist/esm/gov-form-input.entry.js.map +0 -1
  1437. package/dist/esm/gov-lifecycle.entry.js +0 -43
  1438. package/dist/esm/gov-lifecycle.entry.js.map +0 -1
  1439. package/dist/esm/gov-modal.entry.js +0 -108
  1440. package/dist/esm/gov-modal.entry.js.map +0 -1
  1441. package/dist/esm/gov-nav-item.entry.js +0 -36
  1442. package/dist/esm/gov-nav-item.entry.js.map +0 -1
  1443. package/dist/esm/gov-nav.entry.js +0 -39
  1444. package/dist/esm/gov-nav.entry.js.map +0 -1
  1445. package/dist/esm/gov-prompt.entry.js +0 -103
  1446. package/dist/esm/gov-prompt.entry.js.map +0 -1
  1447. package/dist/esm/gov-side-nav-item.entry.js +0 -84
  1448. package/dist/esm/gov-side-nav-item.entry.js.map +0 -1
  1449. package/dist/esm/gov-side-nav.entry.js +0 -53
  1450. package/dist/esm/gov-side-nav.entry.js.map +0 -1
  1451. package/dist/esm/gov-skeleton.entry.js +0 -114
  1452. package/dist/esm/gov-skeleton.entry.js.map +0 -1
  1453. package/dist/esm/gov-statsbar-item.entry.js +0 -37
  1454. package/dist/esm/gov-statsbar-item.entry.js.map +0 -1
  1455. package/dist/esm/gov-statsbar.entry.js +0 -50
  1456. package/dist/esm/gov-statsbar.entry.js.map +0 -1
  1457. package/dist/esm/gov.log-431da6b2.js +0 -25
  1458. package/dist/esm/gov.log-431da6b2.js.map +0 -1
  1459. package/dist/esm/index-c5251f2b.js +0 -2022
  1460. package/dist/esm/index-c5251f2b.js.map +0 -1
  1461. package/dist/esm/props-ec3beb91.js +0 -14
  1462. package/dist/esm/props-ec3beb91.js.map +0 -1
  1463. package/dist/esm/stencil.utils-5d8e3d11.js +0 -9
  1464. package/dist/esm/stencil.utils-5d8e3d11.js.map +0 -1
  1465. package/dist/esm/string.utils-1da8f8fb.js +0 -20
  1466. package/dist/esm/string.utils-1da8f8fb.js.map +0 -1
  1467. package/dist/esm/template-94812ab3.js +0 -123
  1468. package/dist/esm/template-94812ab3.js.map +0 -1
  1469. package/dist/esm/utils-e10e994d.js +0 -35
  1470. package/dist/esm/utils-e10e994d.js.map +0 -1
  1471. package/dist/esm/variants-69f013c1.js +0 -18
  1472. package/dist/esm/variants-69f013c1.js.map +0 -1
  1473. package/dist/esm/wcag-169f758a.js +0 -62
  1474. package/dist/esm/wcag-169f758a.js.map +0 -1
  1475. package/dist/esm/win-b64cd8a6.js +0 -31
  1476. package/dist/esm/win-b64cd8a6.js.map +0 -1
  1477. package/dist/types/components/gov-lifecycle-tester/gov-lifecycle-tester.d.ts +0 -14
  1478. package/dist/types/components/gov-modal/constants.d.ts +0 -14
  1479. package/dist/types/components/gov-modal/gov-modal.d.ts +0 -78
  1480. package/dist/types/components/gov-nav/constants.d.ts +0 -8
  1481. package/dist/types/components/gov-nav/gov-nav-item.d.ts +0 -12
  1482. package/dist/types/components/gov-nav/gov-nav.d.ts +0 -17
  1483. package/dist/types/components/gov-promp/constants.d.ts +0 -12
  1484. package/dist/types/components/gov-promp/gov-prompt.d.ts +0 -66
  1485. package/dist/types/components/gov-side-nav/constants.d.ts +0 -15
  1486. package/dist/types/components/gov-side-nav/gov-side-nav-item.d.d.ts +0 -4
  1487. package/dist/types/components/gov-side-nav/gov-side-nav-item.d.ts +0 -67
  1488. package/dist/types/components/gov-side-nav/gov-side-nav.d.ts +0 -32
  1489. package/dist/types/components/gov-statsbar/constants.d.ts +0 -18
  1490. package/dist/types/components/gov-statsbar/gov-statsbar-item.d.ts +0 -14
  1491. package/dist/types/components/gov-statsbar/gov-statsbar.d.ts +0 -19
  1492. package/dist/types/core/constants/variants.d.ts +0 -12
  1493. package/dist/types/pages/Cookiebar.d.ts +0 -3
  1494. package/dist/types/pages/Modal.d.ts +0 -3
  1495. package/dist/types/pages/Nav.d.ts +0 -3
  1496. package/dist/types/pages/Prompt.d.ts +0 -3
  1497. package/dist/types/pages/SideNav.d.ts +0 -3
  1498. package/dist/types/pages/Statsbar.d.ts +0 -3
  1499. /package/dist/components/{p-344c72d7.js.map → p-19c681a3.js.map} +0 -0
  1500. /package/dist/core/{p-e44a0fee.js.map → p-052cc573.js.map} +0 -0
  1501. /package/dist/core/{p-344c72d7.js.map → p-169b67af.js.map} +0 -0
  1502. /package/dist/core/{p-7ba4daf4.js.map → p-2614044c.js.map} +0 -0
  1503. /package/dist/core/{p-e0e2e9c1.js.map → p-45a30859.js.map} +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"names":["ToastColors","pick","Colors","ToastType","ToastClass","root","hidden","content","close","timer","GovToast","constructor","hostRef","this","h","govHost","host","toastId","createID","validateColor","newValue","validateProp","componentDidLoad","attributeObserver","AttributeObserver","attributeName","onAriaAttributeChange","startObserving","ariaAttributes","componentWillLoad","color","runTimer","inheritedAttributes","inheritAriaAttributes","disconnectedCallback","clearTimeout","timeout","stopObserving","removeAttribute","Object","assign","isTimer","setTimeout","classList","add","destroy","catch","govClose","emit","time","render","Host","key","class","classes","gravity","position","type","style","hasSlot","name","role","size","accessibleCloseLabel","isBold","onCloseHandler","bind","closeLabel","then","Number","isInteger","toast","document","querySelector","remove"],"sources":["../../../packages/core/src/components/gov-toast/constants.ts","../../../packages/core/src/components/gov-toast/gov-toast.tsx"],"sourcesContent":["import { Colors } from '../../core/constants/colors'\nimport { pick } from '../../utils/utils'\nimport { ValueOf } from '../../types/interfaces'\n\nexport const ToastColors = pick(Colors, ['PRIMARY', 'NEUTRAL', 'ERROR', 'SUCCESS', 'WARNING'])\nexport type ToastColorType = `${ValueOf<typeof ToastColors>}`\n\nexport enum ToastType {\n\tBOLD = 'bold',\n\tSUBTLE = 'subtle',\n}\nexport type ToastTypesType = `${ValueOf<typeof ToastType>}`\n\nexport const ToastClass = {\n\troot: 'gov-toast',\n\thidden: 'gov-toast--hidden',\n\tcontent: 'gov-toast__content',\n\tclose: 'gov-toast__close',\n\ttimer: 'gov-toast__timer',\n}\n","import {Component, Element, Event, EventEmitter, h, Host, Method, Prop, State, Watch} from \"@stencil/core\"\nimport {validateProp} from \"../../helpers/Validate/props\"\nimport {ToastClass, ToastColors, ToastColorType, ToastTypesType} from \"./constants\"\nimport {govHost} from \"../../helpers/Dom/template\"\nimport {GovHost} from \"../../helpers/Dom/template.types\"\nimport {createID} from \"../../utils/string.utils\"\nimport {AttributeObserver, Attributes} from \"../../helpers/Dom/attribute\";\nimport {ariaAttributes} from \"../../helpers/Accessibility/attributes\";\nimport {inheritAriaAttributes} from \"../../helpers/Accessibility/accessibility\";\n\n@Component({\n\ttag: \"gov-toast\",\n})\nexport class GovToast {\n\tprivate h: GovHost\n\tprivate timeout\n\tprivate readonly toastId: string\n\tprivate attributeObserver: AttributeObserver\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t\tthis.toastId = createID(\"GovToast\")\n\t}\n\n\t@Element() host: HTMLGovToastElement\n\t/**\n\t * Style variation of the toast message.\n\t */\n\t@Prop() readonly color?: ToastColorType = \"primary\"\n\n\t/**\n\t * Toast’s gravity\n\t */\n\t@Prop() readonly gravity: \"top\" | \"bottom\" = \"top\"\n\t/**\n\t * Toast’s position\n\t */\n\t@Prop() readonly position: \"left\" | \"center\" | \"right\" = \"right\"\n\t/**\n\t * Toast type\n\t */\n\t@Prop() readonly type?: ToastTypesType = \"bold\"\n\t/**\n\t * Number of milliseconds to wait before Toast disappear\n\t */\n\t@Prop() readonly time: number = 0\n\t/**\n\t * Closing button texting instead of icons\n\t */\n\t@Prop({attribute: \"close-label\"}) readonly closeLabel: string\n\t/**\n\t * Aria label for the closing button. It is mandatory if the alert is closable\n\t */\n\t@Prop({attribute: \"accessible-close-label\"}) readonly accessibleCloseLabel: string\n\t/**\n\t * Called when the close button is clicked\n\t */\n\t@Event({eventName: \"gov-close\"}) govClose: EventEmitter<string>\n\n\t@Watch(\"color\")\n\tvalidateColor(newValue: string): void {\n\t\tvalidateProp(ToastColors, newValue, ToastClass.root)\n\t}\n\n\t@State() inheritedAttributes: Attributes = {}\n\n\tcomponentDidLoad() {\n\t\tthis.attributeObserver = new AttributeObserver(this.host, (attributeName, newValue) => {\n\t\t\tthis.onAriaAttributeChange(attributeName, newValue);\n\t\t});\n\n\t\tthis.attributeObserver.startObserving(ariaAttributes);\n\t}\n\n\tcomponentWillLoad(): void {\n\t\tthis.validateColor(this.color)\n\t\tthis.runTimer()\n\t\tthis.inheritedAttributes = inheritAriaAttributes(this.host);\n\t}\n\n\n\tdisconnectedCallback() {\n\t\tclearTimeout(this.timeout)\n\t\tthis.attributeObserver.stopObserving();\n\t}\n\n\tonAriaAttributeChange(attributeName: string, newValue: string) {\n\t\tthis.host.removeAttribute(attributeName)\n\t\tthis.inheritedAttributes = {...this.inheritedAttributes, [attributeName]: newValue};\n\t}\n\n\tprivate runTimer() {\n\t\tif (this.isTimer) {\n\t\t\tthis.timeout = setTimeout(() => {\n\t\t\t\tthis.host.classList.add(ToastClass.hidden)\n\t\t\t\tsetTimeout(() => {\n\t\t\t\t\tthis.destroy().catch()\n\t\t\t\t\tthis.govClose.emit(this.toastId)\n\t\t\t\t}, 600)\n\t\t\t}, this.time)\n\t\t}\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host\n\t\t\t\tclass={this.h.classes(ToastClass.root)}\n\t\t\t\tdata-toast-id={this.toastId}\n\t\t\t\tgravity={this.gravity}\n\t\t\t\tposition={this.position}\n\t\t\t\tcolor={this.color}\n\t\t\t\ttype={this.type}\n\t\t\t\tstyle={{\"--toast-duration\": this.time + \"ms\"}}\n\t\t\t>\n\t\t\t\t{this.h.hasSlot(\"icon\") && (\n\t\t\t\t\t<slot name=\"icon\"/>\n\t\t\t\t)}\n\n\t\t\t\t<div class={ToastClass.content} {...this.inheritedAttributes} aria-live=\"polite\" role=\"status\">\n\t\t\t\t\t<slot/>\n\t\t\t\t</div>\n\n\t\t\t\t<gov-button\n\t\t\t\t\tsize=\"s\"\n\t\t\t\t\taria-label={this.accessibleCloseLabel}\n\t\t\t\t\tcolor={this.isBold ? this.color : \"neutral\"}\n\t\t\t\t\ttype=\"base\"\n\t\t\t\t\ton-gov-click={this.onCloseHandler.bind(this)}\n\t\t\t\t\tclass={ToastClass.close}\n\t\t\t\t>\n\t\t\t\t\t{this.closeLabel ? this.closeLabel : <gov-icon name=\"x-lg\"></gov-icon>}\n\t\t\t\t</gov-button>\n\n\t\t\t\t<div class={ToastClass.timer}></div>\n\t\t\t</Host>\n\t\t)\n\t}\n\n\tprivate onCloseHandler(): void {\n\t\tthis.destroy()\n\t\t\t.then(() => this.govClose.emit(this.toastId))\n\t\t\t.catch()\n\t}\n\n\tget isBold(): boolean {\n\t\treturn this.type === \"bold\"\n\t}\n\n\tget isTimer(): boolean {\n\t\treturn Number.isInteger(this.time) && this.time > 0\n\t}\n\n\t/**\n\t * Remove toast from dom\n\t */\n\t@Method()\n\tasync destroy(): Promise<void> {\n\t\tclearTimeout(this.timeout)\n\t\tconst toast = document.querySelector(`[data-toast-id=\"${this.toastId}\"]`)\n\t\tif (toast) {\n\t\t\ttoast.classList.add(ToastClass.hidden)\n\t\t\tif (typeof toast.remove === \"function\") {\n\t\t\t\ttoast.remove()\n\t\t\t}\n\t\t}\n\t}\n}\n"],"mappings":"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","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ import{r as t,h as e,a as s,g as i}from"./p-a1e95a5f.js";import{c as a}from"./p-95d41a3b.js";import{g as r,t as n}from"./p-0075138f.js";import{a as d,T as h}from"./p-e9a6cd71.js";import"./p-45a30859.js";import"./p-92f420cb.js";import"./p-e3aeaca0.js";const f=class{constructor(e){t(this,e);this.identifier=undefined;this.triggerIdentifier=undefined;this.label=undefined;this.disabled=false;this.iconStart=undefined;this.iconEnd=undefined;this.default=false;this.isActive=false;this.h=r(this.host);this.contentId=a("GovTabContent");this.triggerId=a("GovTabTrigger")}rerenderParent(){const t=this.h.getParent(d.root);if(t){t.rerender().catch()}}render(){return e(s,{key:"344cb35a06343ed15258f5f0f499382090b80a74",class:this.h.classes(h.root),default:this.default},e("div",{key:"e35a63aefab82f073a7fd93b5e2947d9f39c0a5b",class:h.inner,role:"tabpanel",id:this.identifier||this.contentId,hidden:!this.isActive,"aria-labelledby":this.triggerIdentifier||this.triggerId,"aria-hidden":n(!this.isActive)},e("slot",{key:"b2e81509d48e7407add8d96c848008664dcc796f"})))}async getIdentifier(){return this.identifier||this.contentId}async getTriggerIdentifier(){return this.triggerIdentifier||this.triggerId}async getDisableState(){return this.disabled}async setActiveStatus(t){this.isActive=t}get host(){return i(this)}static get watchers(){return{label:["rerenderParent"],disabled:["rerenderParent"]}}};export{f as gov_tabs_item};
2
+ //# sourceMappingURL=p-8321da17.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["GovTabsItem","constructor","hostRef","this","h","govHost","host","contentId","createID","triggerId","rerenderParent","element","getParent","TabsClass","root","rerender","catch","render","Host","key","class","classes","TabsItemClass","default","inner","role","id","identifier","hidden","isActive","triggerIdentifier","toBoolAttrIfDefined","getIdentifier","getTriggerIdentifier","getDisableState","disabled","setActiveStatus","status"],"sources":["../../../packages/core/src/components/gov-tabs/gov-tabs-item.tsx"],"sourcesContent":["import {Component, Element, h, Host, Method, Prop, State, Watch} from '@stencil/core'\nimport {createID} from '../../utils/string.utils'\nimport {govHost, toBoolAttrIfDefined} from '../../helpers/Dom/template'\nimport {GovHost} from '../../helpers/Dom/template.types'\nimport {TabsClass, TabsItemClass} from './constants'\n\n@Component({\n\ttag: 'gov-tabs-item',\n})\nexport class GovTabsItem {\n\tprivate h: GovHost\n\tprivate readonly contentId: string\n\tprivate readonly triggerId: string\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t\tthis.contentId = createID('GovTabContent')\n\t\tthis.triggerId = createID('GovTabTrigger')\n\t}\n\n\t@Element() host: HTMLGovTabsItemElement\n\t/**\n\t * Custom tab item identifier. Otherwise, it will be generated\n\t */\n\t@Prop() readonly identifier: string\n\t/**\n\t * Custom tab trigger item identifier. Otherwise, it will be generated\n\t */\n\t@Prop() readonly triggerIdentifier: string\n\t/**\n\t * Item name of the tab\n\t */\n\t@Prop({reflect: true}) readonly label: string\n\t/**\n\t * Item disable state\n\t */\n\t@Prop({reflect: true}) readonly disabled: boolean = false\n\t/**\n\t * Icon definition at the stat. Use the type/name notation\n\t */\n\t@Prop({reflect: true, attribute: 'icon-start'}) readonly iconStart: string\n\t/**\n\t * Icon definition at the end. Use the type/name notation\n\t */\n\t@Prop({reflect: true, attribute: 'icon-end'}) readonly iconEnd: string\n\t/**\n\t * Default selected tab\n\t */\n\t@Prop() readonly default: boolean = false\n\t@State() isActive = false\n\n\t@Watch('label')\n\t@Watch('disabled')\n\trerenderParent() {\n\t\tconst element = this.h.getParent(TabsClass.root) as HTMLGovTabsElement;\n\t\tif (element) {\n\t\t\telement.rerender().catch()\n\t\t}\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={this.h.classes(TabsItemClass.root)} default={this.default}>\n\t\t\t\t<div\n\t\t\t\t\tclass={TabsItemClass.inner}\n\t\t\t\t\trole=\"tabpanel\"\n\t\t\t\t\tid={this.identifier || this.contentId}\n\t\t\t\t\thidden={!this.isActive}\n\t\t\t\t\taria-labelledby={this.triggerIdentifier || this.triggerId}\n\t\t\t\t\taria-hidden={toBoolAttrIfDefined(!this.isActive)}\n\t\t\t\t>\n\t\t\t\t\t<slot></slot>\n\t\t\t\t</div>\n\t\t\t</Host>\n\t\t)\n\t}\n\n\t/**\n\t * Returns a unique tab content identifier\n\t */\n\t@Method()\n\tasync getIdentifier(): Promise<string> {\n\t\treturn this.identifier || this.contentId\n\t}\n\n\t/**\n\t * Returns a unique tab trigger identifier\n\t */\n\t@Method()\n\tasync getTriggerIdentifier(): Promise<string> {\n\t\treturn this.triggerIdentifier || this.triggerId\n\t}\n\n\t/**\n\t * Returns a unique tab trigger identifier\n\t */\n\t@Method()\n\tasync getDisableState(): Promise<boolean> {\n\t\treturn this.disabled\n\t}\n\n\t/**\n\t * Set status of tab-item\n\t */\n\t@Method()\n\tasync setActiveStatus(status: boolean): Promise<void> {\n\t\tthis.isActive = status\n\t}\n}\n"],"mappings":"iQASaA,EAAW,MAKvB,WAAAC,CAAAC,G,wGAsBoD,M,6DAYhB,M,cAChB,MAlCnBC,KAAKC,EAAIC,EAAQF,KAAKG,MACtBH,KAAKI,UAAYC,EAAS,iBAC1BL,KAAKM,UAAYD,EAAS,gB,CAoC3B,cAAAE,GACC,MAAMC,EAAUR,KAAKC,EAAEQ,UAAUC,EAAUC,MAC3C,GAAIH,EAAS,CACZA,EAAQI,WAAWC,O,EAIrB,MAAAC,GACC,OACCb,EAACc,EAAI,CAAAC,IAAA,2CAACC,MAAOjB,KAAKC,EAAEiB,QAAQC,EAAcR,MAAOS,QAASpB,KAAKoB,SAC9DnB,EAAA,OAAAe,IAAA,2CACCC,MAAOE,EAAcE,MACrBC,KAAK,WACLC,GAAIvB,KAAKwB,YAAcxB,KAAKI,UAC5BqB,QAASzB,KAAK0B,SAAQ,kBACL1B,KAAK2B,mBAAqB3B,KAAKM,UAAS,cAC5CsB,GAAqB5B,KAAK0B,WAEvCzB,EAAA,QAAAe,IAAA,8C,CAUJ,mBAAMa,GACL,OAAO7B,KAAKwB,YAAcxB,KAAKI,S,CAOhC,0BAAM0B,GACL,OAAO9B,KAAK2B,mBAAqB3B,KAAKM,S,CAOvC,qBAAMyB,GACL,OAAO/B,KAAKgC,Q,CAOb,qBAAMC,CAAgBC,GACrBlC,KAAK0B,SAAWQ,C","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ import{r as t,c as s,h as i,a as e,g as a}from"./p-a1e95a5f.js";import{v as h}from"./p-169b67af.js";import{g as o}from"./p-0075138f.js";import{a as c}from"./p-45a30859.js";import{S as n}from"./p-92f420cb.js";import{a as f,b as r}from"./p-69d56f17.js";import{c as d}from"./p-95d41a3b.js";import{p as b}from"./p-016bbea6.js";import{i as p}from"./p-d9a299a4.js";import{A as l,a as m}from"./p-9ac55bd1.js";import"./p-b48a4aa0.js";import"./p-e0d428c9.js";import"./p-e3aeaca0.js";const u=c(n,["_XS","_S","_M"]);var g;(function(t){t["SOLID"]="solid";t["OUTLINED"]="outlined"})(g||(g={}));var v;(function(t){t["A"]="a";t["SPAN"]="span";t["BUTTON"]="button"})(v||(v={}));const j={root:"gov-chip",inner:"gov-chip__inner",hasRight:"gov-chip--has-right",hasLeft:"gov-chip--has-left"};const y=class{constructor(i){t(this,i);this.govClick=s(this,"gov-click",7);this.hydrated=false;this.disabled=false;this.href=undefined;this.target=undefined;this.iconLeft=undefined;this.iconRight=undefined;this.size=u._M;this.tag="span";this.color=f.PRIMARY;this.type=undefined;this.focusable=true;this.identifier=undefined;this.inheritedAttributes={};this.h=o(this.host);this.chipId=d("GovChip")}validateColor(t){h(f,t,j.root)}validateSize(t){h(r,t,j.root)}componentWillLoad(){this.validateColor(this.color);this.validateSize(this.size);this.inheritedAttributes=p(this.host)}componentDidLoad(){this.attributeObserver=new l(this.host,((t,s)=>{this.onAriaAttributeChange(t,s)}));this.attributeObserver.startObserving(m)}disconnectedCallback(){this.attributeObserver.stopObserving()}connectedCallback(){this.hydrated=true}onAriaAttributeChange(t,s){this.host.removeAttribute(t);this.inheritedAttributes=Object.assign(Object.assign({},this.inheritedAttributes),{[t]:s})}render(){const t=this.href?v.A:this.tag;const s=t==v.BUTTON?v.BUTTON:undefined;const a=b(this.iconLeft);const h=b(this.iconRight);return i(e,{key:"6d7c550b0c74460712d632060727626489abe3c0",class:this.h.classes([j.root,this.h.hasSlot("right")?j.hasRight:undefined,this.h.hasSlot("left")?j.hasLeft:undefined]),disabled:this.disabled,href:this.href,color:this.color,type:this.type,size:this.size,hoverable:t==v.A||t==v.BUTTON,hydrated:this.hydrated},i(t,Object.assign({key:"9dc30627e2111c76067c6f2da2427e81c05413e3",class:"element",href:this.href,target:this.target,ref:t=>this.triggerRef=t,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:s},this.inheritedAttributes,{"aria-disabled":this.disabled}),i("slot",{key:"67cc0b4cfaf3b45e8fb333231681f9b5cfa90996",name:"left"}),i("slot",{key:"83eeb5cb5194903b8139ff8443bf5d024b1cb00d",name:"left-icon"},a&&i("gov-icon",{key:"7f90ee50fc4fce6375dc77a01980116cfd6136d0",type:a.type,name:a.name})),i("slot",{key:"4a089b176703b5c600d2a519f90be655397d5f27"}),i("slot",{key:"ace71d5eae682f25c3ce4fd9dd825ae919286b35",name:"right-icon"},h&&i("gov-icon",{key:"5baaf84b70cb4bbb8e70ef35aa81d893ca7cc143",type:h.type,name:h.name})),i("slot",{key:"7c51003d4890f14c0af817614fcbbb24446f4ef5",name:"right"})))}onClickHandler(t){t.stopPropagation();if(this.disabled===false&&this.tag===v.BUTTON){this.govClick.emit(t)}}async geRef(){return this.triggerRef}async setFocus(){this.triggerRef.focus()}get host(){return a(this)}static get watchers(){return{color:["validateColor"],size:["validateSize"]}}};export{y as gov_chip};
2
+ //# sourceMappingURL=p-899e504a.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["ChipSizes","pick","Sizes","ChipType","NativeType","ChipClass","root","inner","hasRight","hasLeft","GovChip","constructor","hostRef","this","hydrated","_M","ButtonColors","PRIMARY","h","govHost","host","chipId","createID","validateColor","newValue","validateProp","validateSize","ButtonSizes","componentWillLoad","color","size","inheritedAttributes","inheritAriaAttributes","componentDidLoad","attributeObserver","AttributeObserver","attributeName","onAriaAttributeChange","startObserving","ariaAttributes","disconnectedCallback","stopObserving","connectedCallback","removeAttribute","Object","assign","render","Tag","href","A","tag","nativeType","BUTTON","undefined","iconLeft","prepareIconFormat","iconRight","Host","key","class","classes","hasSlot","disabled","type","hoverable","target","ref","el","triggerRef","onClick","onClickHandler","bind","tabindex","focusable","id","identifier","name","e","stopPropagation","govClick","emit","geRef","setFocus","focus"],"sources":["../../../packages/core/src/components/gov-chip/constants.ts","../../../packages/core/src/components/gov-chip/gov-chip.tsx"],"sourcesContent":["import { ValueOf } from '../../types/interfaces'\nimport {pick} from \"../../utils/utils\";\nimport {Sizes} from \"../../core/constants/sizes\";\n\nexport const ChipSizes = pick(Sizes, ['_XS', '_S', '_M'])\nexport type ChipSizesType = `${ValueOf<typeof ChipSizes>}`\n\nexport enum ChipType {\n\tSOLID = 'solid',\n\tOUTLINED = 'outlined',\n}\nexport type ChipTypesType = `${ValueOf<typeof ChipType>}`\n\nexport enum NativeType {\n\tA = 'a',\n\tSPAN = 'span',\n\tBUTTON = 'button',\n}\nexport type NativeTypesType = `${ValueOf<typeof NativeType>}`\n\nexport const ChipClass = {\n\troot: 'gov-chip',\n\tinner: 'gov-chip__inner',\n\thasRight: 'gov-chip--has-right',\n\thasLeft: 'gov-chip--has-left',\n}\n","import {Component, Element, Event, EventEmitter, h, Host, Method, Prop, State, Watch} from \"@stencil/core\"\nimport {GovHost} from \"../../helpers/Dom/template.types\"\nimport {validateProp} from \"../../helpers/Validate/props\"\nimport {govHost} from \"../../helpers/Dom/template\"\nimport {ChipClass, ChipSizes, ChipSizesType, ChipTypesType, NativeType, NativeTypesType} from \"./constants\"\nimport {ButtonColors, ButtonColorType, ButtonSizes} from \"../gov-button/button/constants\"\nimport {createID} from \"../../utils/string.utils\"\nimport {prepareIconFormat} from \"../gov-icon/helpers\";\nimport {inheritAriaAttributes} from \"../../helpers/Accessibility/accessibility\";\nimport {ariaAttributes} from \"../../helpers/Accessibility/attributes\";\nimport {AttributeObserver, Attributes} from \"../../helpers/Dom/attribute\";\n\n@Component({\n\ttag: \"gov-chip\",\n})\nexport class GovChip {\n\tprivate triggerRef?: HTMLButtonElement | HTMLLinkElement | HTMLSpanElement\n\tprivate h: GovHost\n\tprivate readonly chipId: string\n\tprivate hydrated = false\n\tprivate attributeObserver: AttributeObserver\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t\tthis.chipId = createID('GovChip')\n\t}\n\n\t@Element() host: HTMLGovChipElement\n\n\t/**\n\t * Makes the chip component disabled.\n\t */\n\t@Prop({reflect: true}) readonly disabled: boolean = false\n\t/**\n\t * Same as original parameter\n\t * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-href\n\t */\n\t@Prop() readonly href: string\n\t/**\n\t * Same as original parameter\n\t * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-target\n\t */\n\t@Prop() readonly target: string\n\t/**\n\t * Definition of the button icon on the left. The icon must be defined in the form \"type/name\".\n\t */\n\t@Prop({attribute: \"icon-left\"}) readonly iconLeft?: string\n\t/**\n\t * Definition of the button icon on the left. The icon must be defined in the form \"type/name\".\n\t */\n\t@Prop({attribute: \"icon-right\"}) readonly iconRight?: string\n\t/**\n\t * Chip’s size.\n\t */\n\t@Prop() readonly size: ChipSizesType = ChipSizes._M\n\t/**\n\t * Used to change the HTML tag in the chip\n\t */\n\t@Prop() readonly tag: NativeTypesType = \"span\"\n\t/**\n\t * Style variation of the chip.\n\t */\n\t@Prop() readonly color: ButtonColorType = ButtonColors.PRIMARY\n\t/**\n\t * Chip’s type\n\t */\n\t@Prop({reflect: true}) readonly type: ChipTypesType\n\t/**\n\t * Same as original parameter\n\t * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/focusable\n\t */\n\t@Prop() readonly focusable: boolean = true\n\t/**\n\t * Custom chip identifier. Otherwise, it will be generated\n\t */\n\t@Prop() readonly identifier: string\n\t/**\n\t * Emitted when the button click.\n\t */\n\t@Event({eventName: \"gov-click\"}) govClick: EventEmitter<PointerEvent>\n\n\t@Watch(\"color\")\n\tvalidateColor(newValue: string): void {\n\t\tvalidateProp(ButtonColors, newValue, ChipClass.root)\n\t}\n\n\t@Watch(\"size\")\n\tvalidateSize(newValue: string): void {\n\t\tvalidateProp(ButtonSizes, newValue, ChipClass.root)\n\t}\n\n\t@State() inheritedAttributes: Attributes = {}\n\n\tcomponentWillLoad(): void {\n\t\tthis.validateColor(this.color)\n\t\tthis.validateSize(this.size)\n\t\tthis.inheritedAttributes = inheritAriaAttributes(this.host)\n\t}\n\n\tcomponentDidLoad() {\n\t\tthis.attributeObserver = new AttributeObserver(this.host, (attributeName, newValue) => {\n\t\t\tthis.onAriaAttributeChange(attributeName, newValue);\n\t\t});\n\n\t\tthis.attributeObserver.startObserving(ariaAttributes);\n\t}\n\n\tdisconnectedCallback() {\n\t\tthis.attributeObserver.stopObserving();\n\t}\n\n\tconnectedCallback() {\n\t\tthis.hydrated = true\n\t}\n\n\tonAriaAttributeChange(attributeName: string, newValue: string) {\n\t\tthis.host.removeAttribute(attributeName)\n\t\tthis.inheritedAttributes = {...this.inheritedAttributes, [attributeName]: newValue};\n\t}\n\n\trender() {\n\t\tconst Tag = this.href ? NativeType.A : this.tag\n\t\tconst nativeType = Tag == NativeType.BUTTON ? NativeType.BUTTON : undefined\n\n\t\tconst iconLeft = prepareIconFormat(this.iconLeft)\n\t\tconst iconRight = prepareIconFormat(this.iconRight)\n\n\t\treturn (\n\t\t\t<Host\n\t\t\t\tclass={this.h.classes([\n\t\t\t\t\tChipClass.root,\n\t\t\t\t\tthis.h.hasSlot(\"right\") ? ChipClass.hasRight : undefined,\n\t\t\t\t\tthis.h.hasSlot(\"left\") ? ChipClass.hasLeft : undefined,\n\t\t\t\t])}\n\t\t\t\tdisabled={this.disabled}\n\t\t\t\thref={this.href}\n\t\t\t\tcolor={this.color}\n\t\t\t\ttype={this.type}\n\t\t\t\tsize={this.size}\n\t\t\t\thoverable={Tag == NativeType.A || Tag == NativeType.BUTTON}\n\t\t\t\thydrated={this.hydrated}\n\t\t\t>\n\t\t\t\t<Tag\n\t\t\t\t\tclass=\"element\"\n\t\t\t\t\thref={this.href}\n\t\t\t\t\ttarget={this.target}\n\t\t\t\t\tref={el => (this.triggerRef = el as HTMLLinkElement | HTMLButtonElement | HTMLSpanElement)}\n\t\t\t\t\tonClick={this.onClickHandler.bind(this)}\n\t\t\t\t\ttabindex={(this.h.hasSlot(\"left\") || this.h.hasSlot(\"right\") || this.disabled) && !this.focusable ? \"-1\" : \"0\"}\n\t\t\t\t\tid={this.identifier || this.chipId}\n\t\t\t\t\ttype={nativeType}\n\t\t\t\t\t{...this.inheritedAttributes}\n\t\t\t\t\taria-disabled={this.disabled}>\n\t\t\t\t\t<slot name=\"left\"></slot>\n\t\t\t\t\t<slot name=\"left-icon\">\n\t\t\t\t\t\t{iconLeft && <gov-icon type={iconLeft.type} name={iconLeft.name}></gov-icon>}\n\t\t\t\t\t</slot>\n\t\t\t\t\t<slot/>\n\t\t\t\t\t<slot name=\"right-icon\">\n\t\t\t\t\t\t{iconRight && <gov-icon type={iconRight.type} name={iconRight.name}></gov-icon>}\n\t\t\t\t\t</slot>\n\t\t\t\t\t<slot name=\"right\"></slot>\n\t\t\t\t</Tag>\n\t\t\t</Host>\n\t\t)\n\t}\n\n\tprivate onClickHandler(e: PointerEvent): void {\n\t\te.stopPropagation()\n\t\tif (this.disabled === false && this.tag === NativeType.BUTTON) {\n\t\t\tthis.govClick.emit(e)\n\t\t}\n\t}\n\n\t/**\n\t * Returns a clickable element instance\n\t */\n\t@Method()\n\tasync geRef() {\n\t\treturn this.triggerRef\n\t}\n\n\t/**\n\t * Focus button element\n\t */\n\t@Method()\n\tasync setFocus(): Promise<void> {\n\t\tthis.triggerRef.focus()\n\t}\n}\n"],"mappings":"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","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ import{r as a,h as s,a as o,g as t}from"./p-a1e95a5f.js";import{a as e}from"./p-45a30859.js";import{S as i}from"./p-92f420cb.js";import{g as c,p as r}from"./p-0075138f.js";import{v as d}from"./p-169b67af.js";import"./p-b48a4aa0.js";import"./p-e0d428c9.js";const n=e(i,["_S","_M","_L"]);const f={root:"gov-loading",content:"gov-loading__content",icon:"gov-loading__icon"};const p=class{constructor(s){a(this,s);this.size="m";this.h=c(this.host)}validateSize(a){d(n,a,f.root)}componentWillLoad(){this.validateSize(this.size)}render(){return s(o,{key:"05dcda2f79ed33c3546c05a75a61a0493d65ab0b",class:this.h.classes(f.root),size:this.size},s("div",{key:"33a2d2d734fa647f046f5cfc240cb10af6e18af6",class:f.content},s("gov-icon",{key:"f26ab2bf66aeb4d5bb412cd676f75233dae2baaa",class:r([f.icon,"gov-spin-animation"]),name:"loader"}),s("slot",{key:"bcfaa3a5d1e9a77aef7492cd5b168747267b2619"})),s("gov-backdrop",{key:"7df1c7910cdd5ed999906497eece3a35fde4dcc8",inverse:true}))}get host(){return t(this)}static get watchers(){return{size:["validateSize"]}}};export{p as gov_loading};
2
+ //# sourceMappingURL=p-9100d24f.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["LoadingSizes","pick","Sizes","LoadingClass","root","content","icon","GovLoading","constructor","hostRef","this","h","govHost","host","validateSize","newValue","validateProp","componentWillLoad","size","render","Host","key","class","classes","prepareClasses","name","inverse"],"sources":["../../../packages/core/src/components/gov-loading/loading/constants.ts","../../../packages/core/src/components/gov-loading/loading/gov-loading.tsx"],"sourcesContent":["import {pick} from \"../../../utils/utils\";\nimport {Sizes} from \"../../../core/constants/sizes\";\nimport {ValueOf} from \"../../../types/interfaces\";\n\nexport const LoadingSizes = pick(Sizes, ['_S', '_M', '_L'])\nexport type LoadingSizesType = `${ValueOf<typeof LoadingSizes>}`\n\nexport const LoadingClass = {\n\troot: 'gov-loading',\n\tcontent: 'gov-loading__content',\n\ticon: 'gov-loading__icon',\n}\n","import {Component, Element, h, Host, Prop, Watch} from \"@stencil/core\"\nimport {LoadingClass, LoadingSizes, LoadingSizesType} from \"./constants\"\nimport { govHost, prepareClasses } from \"../../../helpers/Dom/template\"\nimport { GovHost } from \"../../../helpers/Dom/template.types\"\nimport {validateProp} from \"../../../helpers/Validate/props\";\n\n@Component({\n\ttag: \"gov-loading\",\n})\nexport class GovLoading {\n\tprivate h: GovHost\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() host: HTMLGovLoadingElement\n\t/**\n\t * Loading size\n\t */\n\t@Prop() readonly size?: LoadingSizesType = 'm'\n\n\t@Watch(\"size\")\n\tvalidateSize(newValue: string): void {\n\t\tvalidateProp(LoadingSizes, newValue, LoadingClass.root)\n\t}\n\n\tcomponentWillLoad(): void {\n\t\tthis.validateSize(this.size)\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={this.h.classes(LoadingClass.root)} size={this.size}>\n\t\t\t\t<div class={LoadingClass.content}>\n\t\t\t\t\t<gov-icon\n\t\t\t\t\t\tclass={prepareClasses([LoadingClass.icon, \"gov-spin-animation\"])}\n\t\t\t\t\t\tname=\"loader\"\n\t\t\t\t\t/>\n\t\t\t\t\t<slot />\n\t\t\t\t</div>\n\t\t\t\t<gov-backdrop inverse={true} />\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"],"mappings":"gQAIO,MAAMA,EAAeC,EAAKC,EAAO,CAAC,KAAM,KAAM,OAG9C,MAAMC,EAAe,CAC3BC,KAAM,cACNC,QAAS,uBACTC,KAAM,qB,MCDMC,EAAU,MAGtB,WAAAC,CAAAC,G,oBAQ2C,IAP1CC,KAAKC,EAAIC,EAAQF,KAAKG,K,CAUvB,YAAAC,CAAaC,GACZC,EAAahB,EAAce,EAAUZ,EAAaC,K,CAGnD,iBAAAa,GACCP,KAAKI,aAAaJ,KAAKQ,K,CAGxB,MAAAC,GACC,OACCR,EAACS,EAAI,CAAAC,IAAA,2CAACC,MAAOZ,KAAKC,EAAEY,QAAQpB,EAAaC,MAAOc,KAAMR,KAAKQ,MAC1DP,EAAA,OAAAU,IAAA,2CAAKC,MAAOnB,EAAaE,SACxBM,EAAA,YAAAU,IAAA,2CACCC,MAAOE,EAAe,CAACrB,EAAaG,KAAM,uBAC1CmB,KAAK,WAENd,EAAA,QAAAU,IAAA,8CAEDV,EAAA,gBAAAU,IAAA,2CAAcK,QAAS,O","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ function n(){return Math.random().toString(16).slice(-4)}function r(r){return`${r}-${n()}${n()}-${n()}-${n()}-${n()}-${n()}${n()}${n()}`}function t(n){if(typeof n!=="string")return n;return n.normalize("NFD").replace(/[\u0300-\u036f]/g,"")}function u(n){if(typeof n!=="string")return n;return n.split(/(\s+)/)}export{r as c,t as r,u as s};
2
+ //# sourceMappingURL=p-95d41a3b.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["chr4","Math","random","toString","slice","createID","prefix","removeDiacritics","string","normalize","replace","splitByWhitespace","split"],"sources":["../../../packages/core/src/utils/string.utils.ts"],"sourcesContent":["function chr4(): string {\n\treturn Math.random().toString(16).slice(-4)\n}\n\nexport function createID(prefix: string): string {\n\treturn `${prefix}-${chr4()}${chr4()}-${chr4()}-${chr4()}-${chr4()}-${chr4()}${chr4()}${chr4()}`\n}\n\nexport function removeDiacritics(string: any): string | any {\n\tif (typeof string !== 'string') return string\n\treturn string.normalize('NFD').replace(/[\\u0300-\\u036f]/g, '')\n}\n\nexport function splitByWhitespace(string: any): string | any {\n\tif (typeof string !== 'string') return string\n\treturn string.split(/(\\s+)/)\n}\n"],"mappings":"AAAA,SAASA,IACR,OAAOC,KAAKC,SAASC,SAAS,IAAIC,OAAO,EAC1C,C,SAEgBC,EAASC,GACxB,MAAO,GAAGA,KAAUN,MAASA,OAAUA,OAAUA,OAAUA,OAAUA,MAASA,MAASA,KACxF,C,SAEgBO,EAAiBC,GAChC,UAAWA,IAAW,SAAU,OAAOA,EACvC,OAAOA,EAAOC,UAAU,OAAOC,QAAQ,mBAAoB,GAC5D,C,SAEgBC,EAAkBH,GACjC,UAAWA,IAAW,SAAU,OAAOA,EACvC,OAAOA,EAAOI,MAAM,QACrB,Q","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ import{r as e,h as a,a as c,g as o}from"./p-a1e95a5f.js";import{g as s}from"./p-0075138f.js";const t={root:"gov-error-code",content:"gov-error-code__content"};const r=class{constructor(a){e(this,a);this.h=s(this.host)}render(){return a(c,{key:"90ebeeb8f2e7ed539e7069a876aa1fe3027873fc",class:this.h.classes(t.root),align:"center"},this.h.hasSlot("icon")&&a("slot",{key:"a31a15dd5276be32288c691d5bb7b8cf9d6615ab",name:"icon"}),a("div",{key:"0dfc7905d1e515a7ecc1eba1dd3912cd32774ca3",class:t.content},a("slot",{key:"238e3ab94cf05880567e2ac2c54c9f9c572ff014",name:"headline"}),a("slot",{key:"56519d70f3ab7b162e9e9a78bf7bfabef89a9b2d"})))}get host(){return o(this)}};export{r as gov_error_code};
2
+ //# sourceMappingURL=p-964f1729.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["ErrorCodeClass","root","content","GovErrorCode","constructor","hostRef","this","h","govHost","host","render","Host","key","class","classes","align","hasSlot","name"],"sources":["../../../packages/core/src/components/gov-error-code/constants.ts","../../../packages/core/src/components/gov-error-code/gov-error-code.tsx"],"sourcesContent":["export const ErrorCodeClass = {\n\troot: 'gov-error-code',\n\tcontent: 'gov-error-code__content',\n}\n","import { Component, Element, h, Host } from '@stencil/core'\nimport { ErrorCodeClass } from './constants'\nimport { govHost } from '../../helpers/Dom/template'\nimport { GovHost } from '../../helpers/Dom/template.types'\n\n@Component({\n\ttag: 'gov-error-code',\n})\nexport class GovErrorCode {\n\tprivate h: GovHost\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() host: HTMLGovErrorCodeElement\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={this.h.classes(ErrorCodeClass.root)} align=\"center\">\n\t\t\t\t\t{this.h.hasSlot('icon') && (\n\t\t\t\t\t\t<slot name=\"icon\" />\n\t\t\t\t\t)}\n\t\t\t\t\t<div class={ErrorCodeClass.content}>\n\t\t\t\t\t\t<slot name=\"headline\" />\n\t\t\t\t\t\t<slot />\n\t\t\t\t\t</div>\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"],"mappings":"6FAAO,MAAMA,EAAiB,CAC7BC,KAAM,iBACNC,QAAS,2B,MCMGC,EAAY,MAGxB,WAAAC,CAAAC,G,UACCC,KAAKC,EAAIC,EAAQF,KAAKG,K,CAKvB,MAAAC,GACC,OACCH,EAACI,EAAI,CAAAC,IAAA,2CAACC,MAAOP,KAAKC,EAAEO,QAAQd,EAAeC,MAAOc,MAAM,UACrDT,KAAKC,EAAES,QAAQ,SACfT,EAAA,QAAAK,IAAA,2CAAMK,KAAK,SAEZV,EAAA,OAAAK,IAAA,2CAAKC,MAAOb,EAAeE,SAC1BK,EAAA,QAAAK,IAAA,2CAAMK,KAAK,aACXV,EAAA,QAAAK,IAAA,8C","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ import{r as t,c as i,h as s,a as e,g as h}from"./p-a1e95a5f.js";import{g as a,l as n,m as o}from"./p-a693ffbf.js";import{g as r,c as d,t as c,d as l}from"./p-0075138f.js";import{v as f}from"./p-169b67af.js";import{c as u}from"./p-95d41a3b.js";import{A as p,a as m}from"./p-9ac55bd1.js";import{i as b}from"./p-d9a299a4.js";import{a as v}from"./p-45a30859.js";import{S as g}from"./p-92f420cb.js";import{C as y}from"./p-e3aeaca0.js";import"./p-6aa40794.js";import"./p-42d9924c.js";import"./p-2614044c.js";import"./p-b48a4aa0.js";import"./p-e0d428c9.js";var j;(function(t){t["INPUT"]="input";t["TEXTAREA"]="textarea"})(j||(j={}));const k=class{constructor(s){t(this,s);this.govFocus=i(this,"gov-focus",7);this.govBlur=i(this,"gov-blur",7);this.govInput=i(this,"gov-input",7);this.govKeyUp=i(this,"gov-keyup",7);this.govHydrated=i(this,"gov-hydrated",7);this.govKeyDown=i(this,"gov-keydown",7);this.value=undefined;this.identifier=undefined;this.success=undefined;this.size="m";this.name=undefined;this.multiline=undefined;this.rows=undefined;this.cols=undefined;this.required=false;this.disabled=false;this.placeholder=undefined;this.readonly=undefined;this.minlength=undefined;this.maxlength=undefined;this.min=undefined;this.max=undefined;this.autocomplete=undefined;this.autocorrect=undefined;this.spellcheck=undefined;this.inputLang=undefined;this.type=undefined;this.inputType="text";this.role=undefined;this.invalid=undefined;this.accessibleShowPasswordLabel="Zobrazit heslo";this.accessibleHidePasswordLabel="Skrýt heslo";this.focused=undefined;this.showPassword=false;this.inheritedAttributes={};this.h=r(this.host);this.inputId=u("GovInput");this.f=a(this.h)}validateSize(t){f(o,t,n.root)}watchControlAttrs(){this.passControlAttrs()}passControlAttrs(){this.f.passAttrToControl("size",this.size);this.f.passAttrToControl("success",d(this.success));this.f.passAttrToControl("disabled",d(this.disabled));this.f.passAttrToControl("invalid",d(this.invalid));this.f.passAttrToControl("type",this.multiline?j.TEXTAREA:j.INPUT)}componentDidLoad(){this.attributeObserver=new p(this.host,((t,i)=>{this.onAriaAttributeChange(t,i)}));this.attributeObserver.startObserving(m);this.govHydrated.emit()}componentWillLoad(){this.validateSize(this.size);this.inheritedAttributes=b(this.host)}componentDidRender(){this.passControlAttrs();this.f.passAttrToLabel("required",String(this.required))}onAriaAttributeChange(t,i){this.host.removeAttribute(t);this.inheritedAttributes=Object.assign(Object.assign({},this.inheritedAttributes),{[t]:i})}disconnectedCallback(){this.attributeObserver.stopObserving()}render(){const t=this.multiline?j.TEXTAREA:j.INPUT;return s(e,{key:"8845cf9f05528f9f0d6406c57951a946bf0948e8",class:n.root,size:this.size,type:this.type},this.h.hasSlot("prefix")&&s("slot",{key:"653ffd0d75243222bccdba1f16b9a35141cde25d",name:"prefix"}),s("span",{key:"fee0c7cf371089fb4cb982c0cd4c4e255fab709c",class:"element"},this.h.hasSlot("left-icon")&&s("slot",{key:"4213ffac868698f292dde44c586a6575d66089a8",name:"left-icon"}),this.h.hasSlot("right-icon")&&this.inputType!=="password"&&s("slot",{key:"f75114749a810b0998c3a7b35edbda66b4de29f8",name:"right-icon"}),this.success&&!this.multiline&&s("gov-icon",{key:"6cd13a7efd2df0c09a5a60960038f2f1dc392e35",slot:"validation-icon",class:"icon-validation",name:"check-lg"}),this.invalid&&!this.multiline&&s("gov-icon",{key:"b37db5aac85ded3bc53a185898d46235b675dd95",slot:"validation-icon",class:"icon-validation",name:"exclamation-lg"}),s(t,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:t=>this.inputRef=t,placeholder:this.placeholder,spellcheck:c(this.spellcheck),lang:this.inputLang,readonly:c(this.readonly),autocomplete:l(this.autocomplete),autocorrect:l(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":c(this.required),"aria-invalid":c(this.invalid),"aria-disabled":c(this.disabled)})),this.inputType==="password"?s("gov-button",{color:"primary",type:"base",size:this.size,"aria-label":this.showPassword?this.accessibleHidePasswordLabel:this.accessibleShowPasswordLabel,"on-gov-click":()=>this.showPassword=!this.showPassword},s("gov-icon",{slot:"left-icon",name:"eye",type:"basic"})):null),this.h.hasSlot("sufix")&&s("slot",{key:"140b086664605e4b6ba88252a07681d7a89dbb95",name:"sufix"}))}onFocusHandler(t){t.stopPropagation();this.focused=true;this.govFocus.emit({component:n.root,value:this.value,originalEvent:t})}onBlurHandler(t){t.stopPropagation();this.focused=false;this.govBlur.emit({component:n.root,value:this.value,originalEvent:t})}onKeyUpHandler(t){t.stopPropagation();this.govKeyUp.emit({component:n.root,value:this.value,originalEvent:t})}onKeyDownHandler(t){t.stopPropagation();this.govKeyDown.emit({component:n.root,value:this.value,originalEvent:t})}onInputHandler(t){this.value=t.target.value;t.stopPropagation();this.govInput.emit({component:n.root,value:this.value,originalEvent:t})}async setFocus(t){return this.inputRef.focus(t)}async setValue(t){this.value=t}async clearValue(){this.value="";this.inputRef.value=""}async getRef(){return this.inputRef}get host(){return h(this)}static get watchers(){return{size:["validateSize","watchControlAttrs"],disabled:["watchControlAttrs"],invalid:["watchControlAttrs"],success:["watchControlAttrs"]}}};const w=v(g,["_XS","_S","_M","_L","_XL"]);v(y,["PRIMARY","NEUTRAL"]);var A;(function(t){t["CIRCLE"]="circle";t["LINE"]="line"})(A||(A={}));var x;(function(t){t["PULSE"]="pulse";t["PROGRESS"]="progress";t["FALSE"]="false"})(x||(x={}));const z={root:"gov-skeleton"};const C=class{constructor(i){t(this,i);this.items=[];this.size="m";this.color="neutral";this.shape="line";this.width=null;this.height=null;this.animation="progress";this.inheritedAttributes={};this.h=r(this.host)}validateSize(t){f(w,t,z.root)}validateShape(t){f(A,t,z.root)}validateAnimation(t){f(x,t,z.root)}componentDidLoad(){this.attributeObserver=new p(this.host,((t,i)=>{this.onAriaAttributeChange(t,i)}));this.attributeObserver.startObserving(m)}componentWillLoad(){this.validateSize(this.size);this.validateShape(this.shape);this.validateAnimation(this.animation);this.init();this.inheritedAttributes=b(this.host)}componentWillUpdate(){this.init()}disconnectedCallback(){this.attributeObserver.stopObserving()}onAriaAttributeChange(t,i){this.host.removeAttribute(t);this.inheritedAttributes=Object.assign(Object.assign({},this.inheritedAttributes),{[t]:i})}init(){this.items.fill(1)}get style(){const t={width:null,height:null};if(this.width){t.width=this.width}if(this.height){t.height=this.height}return Object.assign({},t)}render(){return s(e,Object.assign({key:"4f5137faaa31d438e266648728a8c2050b3ab293",size:this.size,color:this.color,class:{[z.root]:true,circle:this.shape==="circle",line:this.shape==="line",progress:this.animation==="progress",pulse:this.animation==="pulse"}},this.inheritedAttributes,{"aria-busy":"true","aria-valuemin":"0","aria-valuemax":"100",role:"progressbar",tabindex:"0",style:this.style}))}get host(){return h(this)}static get watchers(){return{size:["validateSize"],shape:["validateShape"],animation:["validateAnimation"]}}};export{k as gov_form_input,C as gov_skeleton};
2
+ //# sourceMappingURL=p-97927e2a.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["Tags","GovFormInput","constructor","hostRef","this","h","govHost","host","inputId","createID","f","govForm","validateSize","newValue","validateProp","FormInputSizes","FormInputClass","root","watchControlAttrs","passControlAttrs","passAttrToControl","size","toBoolAttr","success","disabled","invalid","multiline","TEXTAREA","INPUT","componentDidLoad","attributeObserver","AttributeObserver","attributeName","onAriaAttributeChange","startObserving","ariaAttributes","govHydrated","emit","componentWillLoad","inheritedAttributes","inheritAriaAttributes","componentDidRender","passAttrToLabel","String","required","removeAttribute","Object","assign","disconnectedCallback","stopObserving","render","Tag","Host","key","class","type","hasSlot","name","inputType","slot","showPassword","id","identifier","onFocus","onFocusHandler","bind","onInput","onInputHandler","onBlur","onBlurHandler","onKeyUp","onKeyUpHandler","onKeyDown","onKeyDownHandler","ref","el","inputRef","placeholder","spellcheck","toBoolAttrIfDefined","lang","inputLang","readonly","autocomplete","toOnOffAttrIfDefined","autocorrect","minlength","maxlength","min","max","rows","cols","role","value","color","accessibleHidePasswordLabel","accessibleShowPasswordLabel","e","stopPropagation","focused","govFocus","component","originalEvent","govBlur","govKeyUp","govKeyDown","target","govInput","setFocus","options","focus","setValue","clearValue","getRef","SkeletonSizes","pick","Sizes","Colors","SkeletonShapes","SkeletonAnimation","SkeletonClass","GovSkeleton","items","validateShape","validateAnimation","shape","animation","init","componentWillUpdate","fill","style","dimenssionsStyles","width","height","circle","line","progress","pulse","tabindex"],"sources":["../../../packages/core/src/components/gov-form/input/gov-form-input.tsx","../../../packages/core/src/components/gov-loading/skeleton/constants.ts","../../../packages/core/src/components/gov-loading/skeleton/gov-skeleton.tsx"],"sourcesContent":["import {Component, Element, Event, EventEmitter, h, Host, Method, Prop, State, Watch} from \"@stencil/core\"\nimport {govForm} from \"../../../helpers/Dom/form\"\nimport {GovForm} from \"../../../helpers/Dom/form.types\"\nimport {govHost, toBoolAttr, toBoolAttrIfDefined, toOnOffAttrIfDefined} from \"../../../helpers/Dom/template\"\nimport {GovHost} from \"../../../helpers/Dom/template.types\"\nimport {validateProp} from \"../../../helpers/Validate/props\"\nimport {createID} from \"../../../utils/string.utils\"\nimport {FormInputClass, FormInputSizes, FormInputSizesType, InputType, Type,} from \"./constants\"\nimport {FormInputEvent} from \"./gov-form-input.types\"\nimport {Nullable} from \"../../../types/interfaces\"\nimport {AttributeObserver, Attributes} from \"../../../helpers/Dom/attribute\";\nimport {ariaAttributes} from \"../../../helpers/Accessibility/attributes\";\nimport {inheritAriaAttributes} from \"../../../helpers/Accessibility/accessibility\";\n\nenum Tags {\n\tINPUT = \"input\",\n\tTEXTAREA = \"textarea\",\n}\n\n@Component({\n\ttag: \"gov-form-input\",\n})\nexport class GovFormInput {\n\tprivate f: GovForm\n\tprivate readonly h: GovHost\n\tprivate inputRef?: HTMLInputElement\n\tprivate readonly inputId: string\n\tprivate attributeObserver: AttributeObserver\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t\tthis.inputId = createID(\"GovInput\")\n\t\tthis.f = govForm(this.h)\n\t}\n\n\t@Element() host: HTMLGovFormInputElement\n\t/**\n\t * Value of input\n\t */\n\t@Prop({reflect: true, mutable: true}) value: string\n\t/**\n\t * Custom input identifier.\n\t */\n\t@Prop({attribute: \"identifier\"}) readonly identifier: string\n\t/**\n\t * Indicates the entered value of child form element does conform to the format expected by the application.\n\t */\n\t@Prop({reflect:true}) readonly success: boolean\n\t/**\n\t * Input’s size.\n\t */\n\t@Prop() readonly size?: FormInputSizesType = \"m\"\n\t/**\n\t * Name of the input.\n\t */\n\t@Prop() readonly name: string\n\t/**\n\t * Generates a texarea for the possibility of multiple lines\n\t */\n\t@Prop() readonly multiline: boolean\n\t/**\n\t * Same as original parameter https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea#attr-rows\n\t */\n\t@Prop() readonly rows: number\n\t/**\n\t * Same as original parameter https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea#attr-cols\n\t */\n\t@Prop() readonly cols: number\n\t/**\n\t * Set whether the input is required or not. Please note that this is necessary for accessible inputs when the user is required to fill them.\n\t * When using this property you need to also set “novalidate” attribute to your form element to prevent browser from displaying its own validation errors.\n\t */\n\t@Prop({reflect:true}) readonly required: boolean = false\n\t/**\n\t * Makes the input component disabled.\n\t */\n\t@Prop({reflect:true}) readonly disabled: boolean = false\n\t/**\n\t * Text that appears in the form control when it has no value set\n\t */\n\t@Prop() readonly placeholder: string\n\t/**\n\t * The value is not editable\n\t */\n\t@Prop() readonly readonly: boolean\n\t/**\n\t * Minimum length (number of characters) of value\n\t */\n\t@Prop() readonly minlength: number\n\t/**\n\t * Maximum length (number of characters) of value\n\t */\n\t@Prop() readonly maxlength: number\n\t/**\n\t * Minimum value that is acceptable and valid for the input containing the attribute\n\t */\n\t@Prop() readonly min?: string | number\n\t/**\n\t * Maximum value that is acceptable and valid for the input containing the attribute\n\t */\n\t@Prop() readonly max?: string | number\n\t/**\n\t * Same as original parameter https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea#attr-autocomplete\n\t */\n\t@Prop() readonly autocomplete: boolean\n\t/**\n\t * Same as original parameter https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea#attr-autocorrect\n\t */\n\t@Prop() readonly autocorrect: boolean\n\t/**\n\t * Same as original parameter https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/spellcheck\n\t */\n\t@Prop() readonly spellcheck: boolean\n\t/**\n\t * Same as original parameter https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/lang\n\t */\n\t@Prop({attribute: \"input-lang\"}) readonly inputLang: string\n\t/**\n\t * Defined the visual style of input\n\t */\n\t@Prop() readonly type?: Type\n\t/**\n\t * Same as original parameter\n\t * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#input_types\n\t */\n\t@Prop({attribute: \"input-type\"}) readonly inputType: InputType = \"text\"\n\t/**\n\t * Same as original parameter\n\t * @link https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/input_role\n\t */\n\t@Prop() readonly role: Nullable<string>\n\t/**\n\t * Indicates the entered value does not conform to the format expected by the application.\n\t */\n\t@Prop({reflect:true}) readonly invalid: boolean\n\t/**\n\t * Accessible text for password display\n\t */\n\t@Prop({attribute: \"accessible-show-password-label\"}) readonly accessibleShowPasswordLabel = 'Zobrazit heslo'\n\t/**\n\t * Accessible text to hide the password\n\t */\n\t@Prop({attribute: \"accessible-hide-password-label\"}) readonly accessibleHidePasswordLabel = 'Skrýt heslo'\n\t/**\n\t * Emitted when the input has focus.\n\t */\n\t@Event({eventName: \"gov-focus\"}) govFocus: EventEmitter<FormInputEvent>\n\t/**\n\t * Emitted when the input loses focus.\n\t */\n\t@Event({eventName: \"gov-blur\"}) govBlur: EventEmitter<FormInputEvent>\n\t/**\n\t * Emitted when the input change value.\n\t */\n\t@Event({eventName: \"gov-input\"}) govInput: EventEmitter<FormInputEvent>\n\t/**\n\t * Emitted when the input change value.\n\t */\n\t@Event({eventName: \"gov-keyup\"}) govKeyUp: EventEmitter<FormInputEvent>\n\t/**\n\t * Emitted when the input change value.\n\t */\n\t@Event({eventName: \"gov-hydrated\"}) govHydrated: EventEmitter<void>\n\t/**\n\t * Emitted when the input change value.\n\t */\n\t@Event({eventName: \"gov-keydown\"}) govKeyDown: EventEmitter<FormInputEvent>\n\t@State() focused: boolean\n\t@State() showPassword: boolean = false\n\n\t@Watch(\"size\")\n\tvalidateSize(newValue: string): void {\n\t\tvalidateProp(FormInputSizes, newValue, FormInputClass.root)\n\t}\n\n\t@Watch(\"disabled\")\n\t@Watch(\"invalid\")\n\t@Watch(\"success\")\n\t@Watch(\"size\")\n\twatchControlAttrs(): void {\n\t\tthis.passControlAttrs()\n\t}\n\n\t@State() inheritedAttributes: Attributes = {}\n\n\tprivate passControlAttrs() {\n\t\tthis.f.passAttrToControl(\"size\", this.size)\n\t\tthis.f.passAttrToControl(\"success\", toBoolAttr(this.success))\n\t\tthis.f.passAttrToControl(\"disabled\", toBoolAttr(this.disabled))\n\t\tthis.f.passAttrToControl(\"invalid\", toBoolAttr(this.invalid))\n\t\tthis.f.passAttrToControl(\"type\", this.multiline ? Tags.TEXTAREA : Tags.INPUT)\n\t}\n\n\tcomponentDidLoad() {\n\t\tthis.attributeObserver = new AttributeObserver(this.host, (attributeName, newValue) => {\n\t\t\tthis.onAriaAttributeChange(attributeName, newValue);\n\t\t});\n\n\t\tthis.attributeObserver.startObserving(ariaAttributes);\n\t\tthis.govHydrated.emit();\n\t}\n\n\tcomponentWillLoad() {\n\t\tthis.validateSize(this.size)\n\n\t\tthis.inheritedAttributes = inheritAriaAttributes(this.host);\n\t}\n\n\tcomponentDidRender() {\n\t\tthis.passControlAttrs()\n\t\tthis.f.passAttrToLabel(\"required\", String(this.required))\n\t}\n\n\tonAriaAttributeChange(attributeName: string, newValue: string) {\n\t\tthis.host.removeAttribute(attributeName)\n\t\tthis.inheritedAttributes = {...this.inheritedAttributes, [attributeName]: newValue};\n\t}\n\n\tdisconnectedCallback() {\n\t\tthis.attributeObserver.stopObserving();\n\t}\n\n\trender() {\n\t\tconst Tag = this.multiline ? Tags.TEXTAREA : Tags.INPUT\n\n\t\treturn (\n\t\t\t<Host class={FormInputClass.root} size={this.size} type={this.type}>\n\t\t\t\t{this.h.hasSlot(\"prefix\") && <slot name=\"prefix\"></slot>}\n\t\t\t\t<span class=\"element\">\n\t\t\t\t\t{this.h.hasSlot(\"left-icon\") && <slot name=\"left-icon\"/>}\n\n\t\t\t\t\t{this.h.hasSlot(\"right-icon\") && this.inputType !== 'password' && <slot name=\"right-icon\"/>}\n\n\t\t\t\t\t{this.success && !this.multiline &&\n\t\t\t\t\t\t<gov-icon slot=\"validation-icon\" class=\"icon-validation\" name=\"check-lg\"></gov-icon>}\n\t\t\t\t\t{this.invalid && !this.multiline &&\n\t\t\t\t\t\t<gov-icon slot=\"validation-icon\" class=\"icon-validation\" name=\"exclamation-lg\"></gov-icon>}\n\t\t\t\t\t<Tag\n\t\t\t\t\t\ttype={this.inputType === 'password' && this.showPassword ? 'text' : this.inputType}\n\t\t\t\t\t\tdisabled={this.disabled}\n\t\t\t\t\t\tid={this.identifier || this.inputId}\n\t\t\t\t\t\tname={this.name}\n\t\t\t\t\t\tonFocus={this.onFocusHandler.bind(this)}\n\t\t\t\t\t\tonInput={this.onInputHandler.bind(this)}\n\t\t\t\t\t\tonBlur={this.onBlurHandler.bind(this)}\n\t\t\t\t\t\tonKeyUp={this.onKeyUpHandler.bind(this)}\n\t\t\t\t\t\tonKeyDown={this.onKeyDownHandler.bind(this)}\n\t\t\t\t\t\tref={el => (this.inputRef = el as HTMLInputElement)}\n\t\t\t\t\t\tplaceholder={this.placeholder}\n\t\t\t\t\t\tspellcheck={toBoolAttrIfDefined(this.spellcheck)}\n\t\t\t\t\t\tlang={this.inputLang}\n\t\t\t\t\t\treadonly={toBoolAttrIfDefined(this.readonly)}\n\t\t\t\t\t\tautocomplete={toOnOffAttrIfDefined(this.autocomplete)}\n\t\t\t\t\t\tautocorrect={toOnOffAttrIfDefined(this.autocorrect)}\n\t\t\t\t\t\tminlength={this.minlength}\n\t\t\t\t\t\tmaxlength={this.maxlength}\n\t\t\t\t\t\tmin={this.min}\n\t\t\t\t\t\tmax={this.max}\n\t\t\t\t\t\trequired={this.required}\n\t\t\t\t\t\trows={this.rows}\n\t\t\t\t\t\tcols={this.cols}\n\t\t\t\t\t\trole={this.role}\n\t\t\t\t\t\tvalue={this.value}\n\t\t\t\t\t\t{...this.inheritedAttributes}\n\t\t\t\t\t\taria-required={toBoolAttrIfDefined(this.required)}\n\t\t\t\t\t\taria-invalid={toBoolAttrIfDefined(this.invalid)}\n\t\t\t\t\t\taria-disabled={toBoolAttrIfDefined(this.disabled)}\n\t\t\t\t\t/>\n\t\t\t\t\t{this.inputType === 'password' ? (\n\t\t\t\t\t\t<gov-button color={'primary'}\n\t\t\t\t\t\t\t\t\ttype={'base'}\n\t\t\t\t\t\t\t\t\tsize={this.size}\n\t\t\t\t\t\t\t\t\taria-label={this.showPassword ? this.accessibleHidePasswordLabel : this.accessibleShowPasswordLabel}\n\t\t\t\t\t\t\t\t\ton-gov-click={() => this.showPassword = !this.showPassword}>\n\t\t\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"eye\" type=\"basic\"></gov-icon>\n\t\t\t\t\t\t</gov-button>) : null}\n\t\t\t\t</span>\n\t\t\t\t{this.h.hasSlot(\"sufix\") && <slot name=\"sufix\"></slot>}\n\t\t\t</Host>\n\t\t)\n\t}\n\n\tprivate onFocusHandler(e: FocusEvent) {\n\t\te.stopPropagation()\n\t\tthis.focused = true\n\t\tthis.govFocus.emit({\n\t\t\tcomponent: FormInputClass.root,\n\t\t\tvalue: this.value,\n\t\t\toriginalEvent: e,\n\t\t})\n\t}\n\n\tprivate onBlurHandler(e: FocusEvent) {\n\t\te.stopPropagation()\n\t\tthis.focused = false\n\t\tthis.govBlur.emit({\n\t\t\tcomponent: FormInputClass.root,\n\t\t\tvalue: this.value,\n\t\t\toriginalEvent: e,\n\t\t})\n\t}\n\n\tprivate onKeyUpHandler(e: KeyboardEvent) {\n\t\te.stopPropagation()\n\t\tthis.govKeyUp.emit({\n\t\t\tcomponent: FormInputClass.root,\n\t\t\tvalue: this.value,\n\t\t\toriginalEvent: e,\n\t\t})\n\t}\n\n\tprivate onKeyDownHandler(e: KeyboardEvent) {\n\t\te.stopPropagation()\n\t\tthis.govKeyDown.emit({\n\t\t\tcomponent: FormInputClass.root,\n\t\t\tvalue: this.value,\n\t\t\toriginalEvent: e,\n\t\t})\n\t}\n\n\tprivate onInputHandler(e: InputEvent) {\n\t\tthis.value = (e.target as HTMLInputElement).value\n\t\te.stopPropagation()\n\t\tthis.govInput.emit({\n\t\t\tcomponent: FormInputClass.root,\n\t\t\tvalue: this.value,\n\t\t\toriginalEvent: e,\n\t\t})\n\t}\n\n\t/**\n\t * Returns the current state of the component\n\t */\n\t@Method()\n\tasync setFocus(options?: FocusOptions): Promise<void> {\n\t\treturn this.inputRef.focus(options)\n\t}\n\n\t/**\n\t * Sets the ordered value of the element\n\t */\n\t@Method()\n\tasync setValue(value: string): Promise<void> {\n\t\tthis.value = value\n\t}\n\n\t/**\n\t * Clears input value\n\t */\n\t@Method()\n\tasync clearValue(): Promise<void> {\n\t\tthis.value = \"\"\n\t\tthis.inputRef.value = \"\"\n\t}\n\n\t/**\n\t * Returns an instance of the native html input element\n\t */\n\t@Method()\n\tasync getRef(): Promise<HTMLInputElement> {\n\t\treturn this.inputRef\n\t}\n}\n","import { pick } from \"../../../utils/utils\"\nimport { ValueOf } from \"../../../types/interfaces\"\nimport {Sizes} from \"../../../core/constants/sizes\";\nimport {Colors} from \"../../../core/constants/colors\";\n\nexport const SkeletonSizes = pick(Sizes, ['_XS', '_S', '_M', '_L', '_XL'])\nexport type SkeletonSizesType = `${ValueOf<typeof SkeletonSizes>}`\n\nexport const SkeletonColors = pick(Colors, [\"PRIMARY\", \"NEUTRAL\"])\nexport type SkeletonColorType = `${ValueOf<typeof SkeletonColors>}`\n\nexport enum SkeletonShapes {\n\tCIRCLE = 'circle',\n\tLINE = 'line'\n}\nexport type SkeletonShapesType = `${ValueOf<typeof SkeletonShapes>}`\n\nexport enum SkeletonAnimation {\n\tPULSE = 'pulse',\n\tPROGRESS = 'progress',\n\tFALSE = 'false'\n}\nexport type SkeletonAnimationType = `${ValueOf<typeof SkeletonAnimation>}`\n\nexport const SkeletonClass = {\n\troot: 'gov-skeleton',\n}\n","import {Component, Element, h, Host, Prop, State, Watch} from \"@stencil/core\"\nimport {\n\tSkeletonAnimation,\n\tSkeletonAnimationType,\n\tSkeletonClass,\n\tSkeletonColorType,\n\tSkeletonShapes,\n\tSkeletonShapesType,\n\tSkeletonSizes,\n} from \"./constants\"\nimport {GovHost} from \"../../../helpers/Dom/template.types\"\nimport {govHost} from \"../../../helpers/Dom/template\"\nimport {validateProp} from \"../../../helpers/Validate/props\"\nimport {FormInputSizesType} from \"../../gov-form/input/constants\";\nimport {AttributeObserver, Attributes} from \"../../../helpers/Dom/attribute\";\nimport {ariaAttributes} from \"../../../helpers/Accessibility/attributes\";\nimport {inheritAriaAttributes} from \"../../../helpers/Accessibility/accessibility\";\n\n@Component({\n\ttag: \"gov-skeleton\",\n})\nexport class GovSkeleton {\n\th: GovHost\n\tprivate attributeObserver: AttributeObserver\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() host: HTMLGovSkeletonElement\n\t/**\n\t * Input’s size.\n\t */\n\t@Prop() readonly size?: FormInputSizesType = \"m\"\n\t/**\n\t * Style variation of the skeleton.\n\t */\n\t@Prop() readonly color?: SkeletonColorType = \"neutral\"\n\t/**\n\t * Shape of the skeleton\n\t */\n\t@Prop() shape?: SkeletonShapesType = \"line\"\n\t/**\n\t * Width of the skeleton ex. 100px, 100%, auto etc.\n\t */\n\t@Prop() width: string = null\n\t/**\n\t * Height of the skeleton ex. 100px, 100%, auto etc.\n\t */\n\t@Prop() height: string = null\n\t/**\n\t * Animation type\n\t */\n\t@Prop() animation?: SkeletonAnimationType = \"progress\"\n\n\titems: number[] = []\n\n\t@Watch(\"size\")\n\tvalidateSize(newValue: string): void {\n\t\tvalidateProp(SkeletonSizes, newValue, SkeletonClass.root)\n\t}\n\n\t@Watch('shape')\n\tvalidateShape(newValue: string): void {\n\t\tvalidateProp(SkeletonShapes, newValue, SkeletonClass.root)\n\t}\n\n\t@Watch('animation')\n\tvalidateAnimation(newValue: string): void {\n\t\tvalidateProp(SkeletonAnimation, newValue, SkeletonClass.root)\n\t}\n\n\t@State() inheritedAttributes: Attributes = {}\n\n\tcomponentDidLoad() {\n\t\tthis.attributeObserver = new AttributeObserver(this.host, (attributeName, newValue) => {\n\t\t\tthis.onAriaAttributeChange(attributeName, newValue);\n\t\t});\n\n\t\tthis.attributeObserver.startObserving(ariaAttributes);\n\t}\n\n\tcomponentWillLoad() {\n\t\tthis.validateSize(this.size)\n\t\tthis.validateShape(this.shape)\n\t\tthis.validateAnimation(this.animation)\n\t\tthis.init()\n\t\tthis.inheritedAttributes = inheritAriaAttributes(this.host);\n\t}\n\n\tcomponentWillUpdate() {\n\t\tthis.init()\n\t}\n\n\tdisconnectedCallback() {\n\t\tthis.attributeObserver.stopObserving();\n\t}\n\n\tonAriaAttributeChange(attributeName: string, newValue: string) {\n\t\tthis.host.removeAttribute(attributeName)\n\t\tthis.inheritedAttributes = {...this.inheritedAttributes, [attributeName]: newValue};\n\t}\n\n\tinit() {\n\t\tthis.items.fill(1)\n\t}\n\n\tget style() {\n\t\tconst dimenssionsStyles: {\n\t\t\twidth?: string,\n\t\t\theight?: string,\n\t\t} = {\n\t\t\twidth: null,\n\t\t\theight: null,\n\t\t}\n\t\tif (this.width) {\n\t\t\tdimenssionsStyles.width = this.width\n\t\t}\n\n\t\tif (this.height) {\n\t\t\tdimenssionsStyles.height = this.height\n\t\t}\n\n\t\treturn {...dimenssionsStyles}\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host size={this.size}\n\t\t\t\t color={this.color}\n\t\t\t\t class={{\n\t\t\t\t\t [SkeletonClass.root]: true,\n\t\t\t\t\t circle: this.shape === \"circle\",\n\t\t\t\t\t line: this.shape === \"line\",\n\t\t\t\t\t progress: this.animation === \"progress\",\n\t\t\t\t\t pulse: this.animation === \"pulse\",\n\t\t\t\t }}\n\t\t\t\t {...this.inheritedAttributes}\n\t\t\t\t aria-busy=\"true\"\n\t\t\t\t aria-valuemin=\"0\"\n\t\t\t\t aria-valuemax=\"100\"\n\t\t\t\t role=\"progressbar\"\n\t\t\t\t tabindex=\"0\"\n\t\t\t\t style={this.style}>\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"],"mappings":"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","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ import{r as s,h as t,a as e,g as a}from"./p-a1e95a5f.js";import{L as r}from"./p-13ebd887.js";import{g as i}from"./p-0075138f.js";const o=class{constructor(t){s(this,t);this.type="stretch";this.variant=undefined;this.inverse=false;this.h=i(this.host)}typeClass(s,t,e,a){const r=t?"-"+t:"";const i=e?"-"+e:"";const o=a?"-inverse":"";return s+" "+s+r+i+o}render(){return t(e,{key:"8fb6469e60ee22db59a32f94911e5bd559284438",type:this.type,class:this.h.classes(r.root)},t("section",{key:"ef0b2eb7cf294ad4c54585ce329283f34b88c371",class:this.typeClass(r.section,this.type,this.variant,this.inverse)},t("slot",{key:"9dd0552d1146df7a89aeae135979f572dfc09204"})))}get host(){return a(this)}};export{o as gov_layout};
2
+ //# sourceMappingURL=p-98091397.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["GovLayout","constructor","hostRef","this","h","govHost","host","typeClass","originalClass","type","variant","inverse","isType","isVariant","isInverse","render","Host","key","class","classes","LayoutClass","root","section"],"sources":["../../../packages/core/src/components/gov-layout/gov-layout.tsx"],"sourcesContent":["import { Component, Element, h, Host, Prop } from '@stencil/core'\nimport { LayoutClass, LayoutType, LayoutVariantType } from './constants'\nimport { GovHost } from '../../helpers/Dom/template.types'\nimport { govHost } from '../../helpers/Dom/template'\n\n@Component({\n\ttag: 'gov-layout',\n})\nexport class GovLayout {\n\tprivate h: GovHost\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() host: HTMLGovLayoutElement\n\t/**\n\t * Layout type\n\t */\n\t@Prop() readonly type?: LayoutType = 'stretch'\n\t/**\n\t * Layout align\n\t */\n\t@Prop() readonly variant?: LayoutVariantType\n\t/**\n\t * Determine if component should have inverse column order\n\t */\n\t@Prop() readonly inverse: boolean = false\n\n\tprivate typeClass(originalClass: string, type: string, variant: string, inverse: boolean) {\n\t\tconst isType = type ? '-' + type : ''\n\t\tconst isVariant = variant ? '-' + variant : ''\n\t\tconst isInverse = inverse ? '-inverse' : ''\n\t\treturn originalClass + ' ' + originalClass + isType + isVariant + isInverse\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host type={this.type} class={this.h.classes(LayoutClass.root)}>\n\t\t\t\t<section class={this.typeClass(LayoutClass.section, this.type, this.variant, this.inverse)}>\n\t\t\t\t\t<slot />\n\t\t\t\t</section>\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"],"mappings":"uIAQaA,EAAS,MAGrB,WAAAC,CAAAC,G,oBAQqC,U,oCAQD,MAfnCC,KAAKC,EAAIC,EAAQF,KAAKG,K,CAiBf,SAAAC,CAAUC,EAAuBC,EAAcC,EAAiBC,GACvE,MAAMC,EAASH,EAAO,IAAMA,EAAO,GACnC,MAAMI,EAAYH,EAAU,IAAMA,EAAU,GAC5C,MAAMI,EAAYH,EAAU,WAAa,GACzC,OAAOH,EAAgB,IAAMA,EAAgBI,EAASC,EAAYC,C,CAGnE,MAAAC,GACC,OACCX,EAACY,EAAI,CAAAC,IAAA,2CAACR,KAAMN,KAAKM,KAAMS,MAAOf,KAAKC,EAAEe,QAAQC,EAAYC,OACxDjB,EAAA,WAAAa,IAAA,2CAASC,MAAOf,KAAKI,UAAUa,EAAYE,QAASnB,KAAKM,KAAMN,KAAKO,QAASP,KAAKQ,UACjFP,EAAA,QAAAa,IAAA,8C","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ import{d as t,r as s,h as i,a as o,g as a}from"./p-a1e95a5f.js";import{a as n}from"./p-45a30859.js";import{C as e}from"./p-e3aeaca0.js";import{e as r,f as c}from"./p-e0d428c9.js";import{g as h}from"./p-0075138f.js";import{i as l}from"./p-2aedc81e.js";import{v as f}from"./p-169b67af.js";import"./p-b48a4aa0.js";const p=n(e,["DEFAULT","DISABLED","ERROR","NEUTRAL","SECONDARY","SUCCESS","WARNING","ON_BOLD_WHITE","ON_BOLD_BLACK","ON_SUBTLE","WHITE_FIXED"]);var u;(function(t){t["BASIC"]="basic";t["COMPLEX"]="complex";t["COLORED"]="colored"})(u||(u={}));const d={root:"gov-icon",holder:"gov-icon__holder"};const m="4.1.0-rc03";const v=()=>m;const w={};const g={};const E=t=>t.startsWith("http://")||t.startsWith("https://");const y=(s,i,o)=>{if(E(s)){return`${s}/${o}/${i}.svg?v=${v()}`}return t(`${s}/${o}/${i}.svg`)+`?v=${v()}`};async function D({name:t,type:s}){const i=s+"-"+t;if(w[i]){return w[i]}if(!g[i]){g[i]=fetch(y(r(),t,s)).then((t=>{if(t.status===200){return t.text()}else{throw new Error("Gov Icon doesn't exists")}}))}const o=await g[i];w[i]=o;return o}const I=class{constructor(t){s(this,t);this.color=undefined;this.name=null;this.type="basic";this.visible=false;this.error=false;this.h=h(this.host)}validateColor(t){f(p,t,d.root)}async loadIconPathData(){const{name:t,visible:s}=this;if(!t||!s){return}await this.loadIcon()}connectedCallback(){if(c()){this.visible=true;this.loadIconPathData().finally()}else{this.waitUntilVisible((async()=>{this.visible=true;await this.loadIconPathData()}))}}disconnectedCallback(){if(this.intersectionObserver){this.intersectionObserver.disconnect();this.intersectionObserver=null}}async componentWillLoad(){this.validateColor(this.color);await this.loadIconPathData()}waitUntilVisible(t){if(typeof window==="undefined"||!window.IntersectionObserver){t();return}this.intersectionObserver=new IntersectionObserver((s=>{s.forEach((s=>{if(s.isIntersecting){if(this.intersectionObserver){this.intersectionObserver.disconnect();this.intersectionObserver=null}t()}}))}),{rootMargin:"50px"});this.intersectionObserver.observe(this.host)}async loadIcon(){try{const{name:t,type:s}=this;const i=await D({name:t,type:s});const o=l(i)&&i.indexOf("svg")>-1;this.host.innerHTML=o?i:null}catch(t){this.host.innerHTML="";this.error=true}}render(){if(this.error){return null}return i(o,{class:this.h.classes(d.root),color:this.color})}static get assetsDirs(){return["assets"]}get host(){return a(this)}static get watchers(){return{color:["validateColor"],name:["loadIconPathData"]}}};export{I as gov_icon};
2
+ //# sourceMappingURL=p-987388fd.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["IconColors","pick","Colors","Types","IconClass","root","holder","dsVersion","version","iconCache","requestCache","isExternalUrl","path","startsWith","iconUrl","name","type","getAssetPath","async","fetchIcon","cacheKey","fetch","iconsPath","then","resp","status","text","Error","GovIcon","constructor","hostRef","this","h","govHost","host","validateColor","newValue","validateProp","loadIconPathData","visible","loadIcon","connectedCallback","iconsLazyLoad","finally","waitUntilVisible","disconnectedCallback","intersectionObserver","disconnect","componentWillLoad","color","callback","window","IntersectionObserver","entries","forEach","entry","isIntersecting","rootMargin","observe","data","isValid","isString","indexOf","innerHTML","e","error","render","Host","class","classes"],"sources":["../../../packages/core/src/components/gov-icon/constants.ts","../../../packages/core/src/utils/ds.utils.ts","../../../packages/core/src/utils/icon.utils.ts","../../../packages/core/src/components/gov-icon/gov-icon.tsx"],"sourcesContent":["import { ValueOf } from '../../types/interfaces'\nimport { pick } from '../../utils/utils';\nimport { Colors } from '../../core/constants/colors';\n\nexport const IconColors = pick(Colors, [\n\t'DEFAULT',\n\t'DISABLED',\n\t'ERROR',\n\t'NEUTRAL',\n\t'SECONDARY',\n\t'SUCCESS',\n\t'WARNING',\n\t'ON_BOLD_WHITE',\n\t'ON_BOLD_BLACK',\n\t'ON_SUBTLE',\n\t'WHITE_FIXED'\n])\nexport type IconColorType = `${ValueOf<typeof IconColors>}`\n\nenum Types {\n\tBASIC = 'basic',\n\tCOMPLEX = 'complex',\n\tCOLORED = 'colored',\n}\nexport type Type = `${ValueOf<typeof Types>}`\n\nexport const IconClass = {\n\troot: 'gov-icon',\n\tholder: 'gov-icon__holder',\n}\n","import { version } from '../../package.json'\n\nexport const dsVersion = (): string => {\n\treturn version\n}\n","import { getAssetPath } from \"@stencil/core\"\nimport { dsVersion } from \"./ds.utils\"\nimport { iconsPath } from \"../helpers/Dom/win\"\n\nconst iconCache: { [key: string]: string } = {}\nconst requestCache: { [key: string]: Promise<string> } = {}\n\nconst isExternalUrl = (path: string) => path.startsWith(\"http://\") || path.startsWith(\"https://\")\nconst iconUrl = (path: string, name: string, type: string) => {\n\tif (isExternalUrl(path)) {\n\t\treturn `${path}/${type}/${name}.svg?v=${dsVersion()}`\n\t}\n\treturn getAssetPath(`${path}/${type}/${name}.svg`) + `?v=${dsVersion()}`\n}\n\nexport async function fetchIcon({ name, type }: { name: string; type: string }): Promise<string> {\n\tconst cacheKey = type + \"-\" + name\n\tif (iconCache[cacheKey]) {\n\t\treturn iconCache[cacheKey]\n\t}\n\tif (!requestCache[cacheKey]) {\n\t\trequestCache[cacheKey] = fetch(iconUrl(iconsPath(), name, type)).then(resp => {\n\t\t\tif (resp.status === 200) {\n\t\t\t\treturn resp.text()\n\t\t\t} else {\n\t\t\t\tthrow new Error(\"Gov Icon doesn't exists\")\n\t\t\t}\n\t\t})\n\t}\n\tconst path = await requestCache[cacheKey]\n\ticonCache[cacheKey] = path\n\treturn path\n}\n","import {Build, Component, Element, h, Host, Prop, State, Watch} from \"@stencil/core\"\nimport {IconClass} from \"./constants\"\nimport {fetchIcon} from \"../../utils/icon.utils\"\nimport {govHost} from \"../../helpers/Dom/template\"\nimport {GovHost} from \"../../helpers/Dom/template.types\"\nimport {iconsLazyLoad} from \"../../helpers/Dom/win\"\nimport {isString} from \"../../utils/helpers.types\";\nimport { type IconColorType, IconColors } from \"./constants\";\nimport { validateProp } from \"../../helpers/Validate/props\";\n\n@Component({\n\tassetsDirs: [\"assets\"],\n\ttag: \"gov-icon\",\n})\nexport class GovIcon {\n\tprivate h: GovHost\n\tprivate intersectionObserver: IntersectionObserver\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() host: HTMLGovIconElement\n\t/**\n\t * Style variation of the button\n\t */\n\t@Prop({reflect: true}) readonly color: IconColorType\n\t/**\n\t * Name of icon in folder\n\t */\n\t@Prop({reflect: true}) name: string = null\n\t/**\n\t * Type (folder) of icon\n\t */\n\t@Prop({reflect: true}) type = \"basic\"\n\n\t@State() private visible = false\n\t@State() private error = false\n\n\t@Watch(\"color\")\n\tvalidateColor(newValue: string): void {\n\t\tvalidateProp(IconColors, newValue, IconClass.root)\n\t}\n\n\t@Watch(\"name\")\n\tprivate async loadIconPathData(): Promise<void> {\n\t\tconst {name, visible} = this\n\t\tif (!Build.isBrowser || !name || !visible) {\n\t\t\treturn\n\t\t}\n\t\tawait this.loadIcon()\n\t}\n\n\tconnectedCallback(): void {\n\t\tif (iconsLazyLoad()) {\n\t\t\tthis.visible = true\n\t\t\tthis.loadIconPathData().finally()\n\t\t} else {\n\t\t\tthis.waitUntilVisible(async () => {\n\t\t\t\tthis.visible = true\n\t\t\t\tawait this.loadIconPathData()\n\t\t\t})\n\t\t}\n\t}\n\n\tdisconnectedCallback(): void {\n\t\tif (this.intersectionObserver) {\n\t\t\tthis.intersectionObserver.disconnect()\n\t\t\tthis.intersectionObserver = null\n\t\t}\n\t}\n\n\tasync componentWillLoad(): Promise<void> {\n\t\tthis.validateColor(this.color)\n\t\tawait this.loadIconPathData()\n\t}\n\n\tprivate waitUntilVisible(callback: () => void): void {\n\t\tif (!Build.isBrowser || typeof window === \"undefined\" || !(window as any).IntersectionObserver) {\n\t\t\tcallback()\n\t\t\treturn\n\t\t}\n\t\tthis.intersectionObserver = new IntersectionObserver(\n\t\t\tentries => {\n\t\t\t\tentries.forEach(entry => {\n\t\t\t\t\tif (entry.isIntersecting) {\n\t\t\t\t\t\tif (this.intersectionObserver) {\n\t\t\t\t\t\t\tthis.intersectionObserver.disconnect()\n\t\t\t\t\t\t\tthis.intersectionObserver = null\n\t\t\t\t\t\t}\n\t\t\t\t\t\tcallback()\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t},\n\t\t\t{rootMargin: \"50px\"},\n\t\t)\n\t\tthis.intersectionObserver.observe(this.host)\n\t}\n\n\tprivate async loadIcon() {\n\t\ttry {\n\t\t\tconst {name, type} = this\n\t\t\tconst data = await fetchIcon({name, type})\n\t\t\tconst isValid = isString(data) && data.indexOf('svg') > -1\n\t\t\tthis.host.innerHTML = isValid ? data : null;\n\t\t} catch (e) {\n\t\t\tthis.host.innerHTML = ''\n\t\t\tthis.error = true\n\t\t}\n\t}\n\n\trender() {\n\t\tif (this.error) {\n\t\t\treturn null\n\t\t}\n\t\treturn (\n\t\t\t<Host class={this.h.classes(IconClass.root)} color={this.color}/>\n\t\t)\n\t}\n}\n"],"mappings":"uTAIO,MAAMA,EAAaC,EAAKC,EAAQ,CACtC,UACA,WACA,QACA,UACA,YACA,UACA,UACA,gBACA,gBACA,YACA,gBAID,IAAKC,GAAL,SAAKA,GACJA,EAAA,iBACAA,EAAA,qBACAA,EAAA,oBACA,EAJD,CAAKA,MAAK,KAOH,MAAMC,EAAY,CACxBC,KAAM,WACNC,OAAQ,oB,qBC1BF,MAAMC,EAAY,IACjBC,ECCR,MAAMC,EAAuC,GAC7C,MAAMC,EAAmD,GAEzD,MAAMC,EAAiBC,GAAiBA,EAAKC,WAAW,YAAcD,EAAKC,WAAW,YACtF,MAAMC,EAAU,CAACF,EAAcG,EAAcC,KAC5C,GAAIL,EAAcC,GAAO,CACxB,MAAO,GAAGA,KAAQI,KAAQD,WAAcR,K,CAEzC,OAAOU,EAAa,GAAGL,KAAQI,KAAQD,SAAc,MAAMR,KAAa,EAGlEW,eAAeC,GAAUJ,KAAEA,EAAIC,KAAEA,IACvC,MAAMI,EAAWJ,EAAO,IAAMD,EAC9B,GAAIN,EAAUW,GAAW,CACxB,OAAOX,EAAUW,E,CAElB,IAAKV,EAAaU,GAAW,CAC5BV,EAAaU,GAAYC,MAAMP,EAAQQ,IAAaP,EAAMC,IAAOO,MAAKC,IACrE,GAAIA,EAAKC,SAAW,IAAK,CACxB,OAAOD,EAAKE,M,KACN,CACN,MAAM,IAAIC,MAAM,0B,KAInB,MAAMf,QAAaF,EAAaU,GAChCX,EAAUW,GAAYR,EACtB,OAAOA,CACR,C,MClBagB,EAAO,MAInB,WAAAC,CAAAC,G,yCAYsC,K,UAIR,Q,aAEH,M,WACF,MAlBxBC,KAAKC,EAAIC,EAAQF,KAAKG,K,CAqBvB,aAAAC,CAAcC,GACbC,EAAarC,EAAYoC,EAAUhC,EAAUC,K,CAItC,sBAAMiC,GACb,MAAMvB,KAACA,EAAIwB,QAAEA,GAAWR,KACxB,IAAyBhB,IAASwB,EAAS,CAC1C,M,OAEKR,KAAKS,U,CAGZ,iBAAAC,GACC,GAAIC,IAAiB,CACpBX,KAAKQ,QAAU,KACfR,KAAKO,mBAAmBK,S,KAClB,CACNZ,KAAKa,kBAAiB1B,UACrBa,KAAKQ,QAAU,WACTR,KAAKO,kBAAkB,G,EAKhC,oBAAAO,GACC,GAAId,KAAKe,qBAAsB,CAC9Bf,KAAKe,qBAAqBC,aAC1BhB,KAAKe,qBAAuB,I,EAI9B,uBAAME,GACLjB,KAAKI,cAAcJ,KAAKkB,aAClBlB,KAAKO,kB,CAGJ,gBAAAM,CAAiBM,GACxB,UAA+BC,SAAW,cAAiBA,OAAeC,qBAAsB,CAC/FF,IACA,M,CAEDnB,KAAKe,qBAAuB,IAAIM,sBAC/BC,IACCA,EAAQC,SAAQC,IACf,GAAIA,EAAMC,eAAgB,CACzB,GAAIzB,KAAKe,qBAAsB,CAC9Bf,KAAKe,qBAAqBC,aAC1BhB,KAAKe,qBAAuB,I,CAE7BI,G,IAEA,GAEH,CAACO,WAAY,SAEd1B,KAAKe,qBAAqBY,QAAQ3B,KAAKG,K,CAGhC,cAAMM,GACb,IACC,MAAMzB,KAACA,EAAIC,KAAEA,GAAQe,KACrB,MAAM4B,QAAaxC,EAAU,CAACJ,OAAMC,SACpC,MAAM4C,EAAUC,EAASF,IAASA,EAAKG,QAAQ,QAAU,EACzD/B,KAAKG,KAAK6B,UAAYH,EAAUD,EAAO,I,CACtC,MAAOK,GACRjC,KAAKG,KAAK6B,UAAY,GACtBhC,KAAKkC,MAAQ,I,EAIf,MAAAC,GACC,GAAInC,KAAKkC,MAAO,CACf,OAAO,I,CAER,OACCjC,EAACmC,EAAI,CAACC,MAAOrC,KAAKC,EAAEqC,QAAQjE,EAAUC,MAAO4C,MAAOlB,KAAKkB,O","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ const a=["role","aria-activedescendant","aria-atomic","aria-autocomplete","aria-braillelabel","aria-brailleroledescription","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colindextext","aria-colspan","aria-controls","aria-current","aria-describedby","aria-description","aria-details","aria-disabled","aria-errormessage","aria-expanded","aria-flowto","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-level","aria-live","aria-multiline","aria-multiselectable","aria-orientation","aria-owns","aria-placeholder","aria-posinset","aria-pressed","aria-readonly","aria-relevant","aria-required","aria-roledescription","aria-rowcount","aria-rowindex","aria-rowindextext","aria-rowspan","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext"];const i=(a,i=[])=>{const r={};i.forEach((i=>{if(a.hasAttribute(i)){const e=a.getAttribute(i);if(e!==null){r[i]=a.getAttribute(i)}a.removeAttribute(i)}}));return r};class r{constructor(a,i){this.element=a;this.callback=i}startObserving(a){this.mutationObserver=new MutationObserver((a=>{for(const i of a){if(i.type==="attributes"&&i.attributeName){const a=this.element.getAttribute(i.attributeName);if(a!==null){this.callback(i.attributeName,a)}}}}));this.mutationObserver.observe(this.element,{attributes:true,attributeFilter:a})}stopObserving(){if(this.mutationObserver){this.mutationObserver.disconnect()}}}export{r as A,a,i};
2
+ //# sourceMappingURL=p-9ac55bd1.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["ariaAttributes","inheritAttributes","el","attributes","attributeObject","forEach","attr","hasAttribute","value","getAttribute","removeAttribute","AttributeObserver","constructor","element","callback","this","startObserving","mutationObserver","MutationObserver","mutationsList","mutation","type","attributeName","newValue","observe","attributeFilter","stopObserving","disconnect"],"sources":["../../../packages/core/src/helpers/Accessibility/attributes.ts","../../../packages/core/src/helpers/Dom/attribute.ts"],"sourcesContent":["export const ariaAttributes = [\n\t'role',\n\t'aria-activedescendant',\n\t'aria-atomic',\n\t'aria-autocomplete',\n\t'aria-braillelabel',\n\t'aria-brailleroledescription',\n\t'aria-busy',\n\t'aria-checked',\n\t'aria-colcount',\n\t'aria-colindex',\n\t'aria-colindextext',\n\t'aria-colspan',\n\t'aria-controls',\n\t'aria-current',\n\t'aria-describedby',\n\t'aria-description',\n\t'aria-details',\n\t'aria-disabled',\n\t'aria-errormessage',\n\t'aria-expanded',\n\t'aria-flowto',\n\t'aria-haspopup',\n\t'aria-hidden',\n\t'aria-invalid',\n\t'aria-keyshortcuts',\n\t'aria-label',\n\t'aria-labelledby',\n\t'aria-level',\n\t'aria-live',\n\t'aria-multiline',\n\t'aria-multiselectable',\n\t'aria-orientation',\n\t'aria-owns',\n\t'aria-placeholder',\n\t'aria-posinset',\n\t'aria-pressed',\n\t'aria-readonly',\n\t'aria-relevant',\n\t'aria-required',\n\t'aria-roledescription',\n\t'aria-rowcount',\n\t'aria-rowindex',\n\t'aria-rowindextext',\n\t'aria-rowspan',\n\t'aria-selected',\n\t'aria-setsize',\n\t'aria-sort',\n\t'aria-valuemax',\n\t'aria-valuemin',\n\t'aria-valuenow',\n\t'aria-valuetext',\n];\n","export type Attribute = unknown;\nexport type Attributes = Record<string, Attribute>;\n\nexport const inheritAttributes = (el: HTMLElement, attributes: string[] = []) => {\n\tconst attributeObject: Attributes = {};\n\tattributes.forEach((attr) => {\n\t\tif (el.hasAttribute(attr)) {\n\t\t\tconst value = el.getAttribute(attr);\n\t\t\tif (value !== null) {\n\t\t\t\tattributeObject[attr] = el.getAttribute(attr);\n\t\t\t}\n\t\t\tel.removeAttribute(attr);\n\t\t}\n\t});\n\n\treturn attributeObject;\n};\n\ntype Callback = (attributeName: string, newValue: string) => void;\n\nexport class AttributeObserver {\n\tprivate mutationObserver: MutationObserver;\n\n\tconstructor(private element: HTMLElement, private callback: Callback) {\n\t}\n\n\tstartObserving(attributes: string[]) {\n\t\tthis.mutationObserver = new MutationObserver((mutationsList) => {\n\t\t\tfor (const mutation of mutationsList) {\n\t\t\t\tif (mutation.type === 'attributes' && mutation.attributeName) {\n\t\t\t\t\tconst newValue = this.element.getAttribute(mutation.attributeName);\n\t\t\t\t\tif (newValue !== null) {\n\t\t\t\t\t\tthis.callback(mutation.attributeName, newValue);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\n\t\tthis.mutationObserver.observe(this.element, {\n\t\t\tattributes: true,\n\t\t\tattributeFilter: attributes,\n\t\t});\n\t}\n\n\tstopObserving() {\n\t\tif (this.mutationObserver) {\n\t\t\tthis.mutationObserver.disconnect();\n\t\t}\n\t}\n}\n"],"mappings":"MAAaA,EAAiB,CAC7B,OACA,wBACA,cACA,oBACA,oBACA,8BACA,YACA,eACA,gBACA,gBACA,oBACA,eACA,gBACA,eACA,mBACA,mBACA,eACA,gBACA,oBACA,gBACA,cACA,gBACA,cACA,eACA,oBACA,aACA,kBACA,aACA,YACA,iBACA,uBACA,mBACA,YACA,mBACA,gBACA,eACA,gBACA,gBACA,gBACA,uBACA,gBACA,gBACA,oBACA,eACA,gBACA,eACA,YACA,gBACA,gBACA,gBACA,kB,MChDYC,EAAoB,CAACC,EAAiBC,EAAuB,MACzE,MAAMC,EAA8B,GACpCD,EAAWE,SAASC,IACnB,GAAIJ,EAAGK,aAAaD,GAAO,CAC1B,MAAME,EAAQN,EAAGO,aAAaH,GAC9B,GAAIE,IAAU,KAAM,CACnBJ,EAAgBE,GAAQJ,EAAGO,aAAaH,E,CAEzCJ,EAAGQ,gBAAgBJ,E,KAIrB,OAAOF,CAAe,E,MAKVO,EAGZ,WAAAC,CAAoBC,EAA8BC,GAA9BC,KAAAF,UAA8BE,KAAAD,U,CAGlD,cAAAE,CAAeb,GACdY,KAAKE,iBAAmB,IAAIC,kBAAkBC,IAC7C,IAAK,MAAMC,KAAYD,EAAe,CACrC,GAAIC,EAASC,OAAS,cAAgBD,EAASE,cAAe,CAC7D,MAAMC,EAAWR,KAAKF,QAAQJ,aAAaW,EAASE,eACpD,GAAIC,IAAa,KAAM,CACtBR,KAAKD,SAASM,EAASE,cAAeC,E,OAM1CR,KAAKE,iBAAiBO,QAAQT,KAAKF,QAAS,CAC3CV,WAAY,KACZsB,gBAAiBtB,G,CAInB,aAAAuB,GACC,GAAIX,KAAKE,iBAAkB,CAC1BF,KAAKE,iBAAiBU,Y","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ import{r as s,c as t,h as a,a as e,g as i}from"./p-a1e95a5f.js";import{v as o}from"./p-169b67af.js";import{A as r,a as c,b as h}from"./p-60658ae9.js";import{g as p}from"./p-0075138f.js";import"./p-b48a4aa0.js";import"./p-e0d428c9.js";import"./p-45a30859.js";import"./p-92f420cb.js";const n=class{constructor(a){s(this,a);this.govChange=t(this,"gov-change",7);this.hydrated=false;this.size="m";this.noBorder=false;this.h=p(this.host)}validateSize(s){o(h,s,c.root)}componentWillLoad(){this.validateSize(this.size)}componentDidLoad(){this.host.querySelectorAll(r.root).forEach((s=>{s.addEventListener("gov-change",(s=>{s.stopPropagation();this.govChange.emit({component:c.root,open:s.detail.open,ref:s.detail.ref})}))}))}connectedCallback(){this.hydrated=true}render(){return a(e,{key:"98666441f80fcb633f05142c4a695e2478af5383",hydrated:this.hydrated,class:this.h.classes(c.root),size:this.size,role:"list"},a("slot",{key:"db7aa61e809f901019dcb301aa529cdc9bc7530e"}))}get host(){return i(this)}static get watchers(){return{size:["validateSize"]}}};export{n as gov_accordion};
2
+ //# sourceMappingURL=p-9b41ac88.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["GovAccordion","constructor","hostRef","this","hydrated","h","govHost","host","validateSize","newValue","validateProp","AccordionSizes","AccordionClass","root","componentWillLoad","size","componentDidLoad","querySelectorAll","AccordionItemClass","forEach","child","addEventListener","e","stopPropagation","govChange","emit","component","open","detail","ref","connectedCallback","render","Host","key","class","classes","role"],"sources":["../../../packages/core/src/components/gov-accordion/gov-accordion.tsx"],"sourcesContent":["import {Component, Element, Event, EventEmitter, h, Host, Prop, Watch} from '@stencil/core'\nimport {validateProp} from '../../helpers/Validate/props'\nimport {AccordionClass, AccordionItemClass, AccordionSizes, AccordionSizeType} from './constants'\nimport {govHost} from '../../helpers/Dom/template'\nimport {GovHost} from '../../helpers/Dom/template.types'\nimport {AccordionEvent, AccordionItemEvent} from \"./gov-accordion.types\"\n\n@Component({\n\ttag: 'gov-accordion',\n})\nexport class GovAccordion {\n\tprivate h: GovHost\n\tprivate hydrated = false\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() readonly host: HTMLGovAccordionElement\n\t/**\n\t * Accordion’s size.\n\t */\n\t@Prop() readonly size?: AccordionSizeType = 'm'\n\t/**\n\t * Accordion item underline\n\t */\n\t@Prop({attribute: 'no-border'}) readonly noBorder: boolean = false\n\t/**\n\t * Called when the accordion state changes\n\t */\n\t@Event({eventName: 'gov-change'}) govChange: EventEmitter<AccordionEvent>\n\n\t@Watch('size')\n\tvalidateSize(newValue: string): void {\n\t\tvalidateProp(AccordionSizes, newValue, AccordionClass.root)\n\t}\n\n\tcomponentWillLoad(): void {\n\t\tthis.validateSize(this.size)\n\t}\n\n\tcomponentDidLoad() {\n\t\tthis.host.querySelectorAll(AccordionItemClass.root).forEach((child: HTMLGovAccordionItemElement) => {\n\t\t\tchild.addEventListener('gov-change', (e: CustomEvent<AccordionItemEvent>) => {\n\t\t\t\te.stopPropagation()\n\t\t\t\tthis.govChange.emit({\n\t\t\t\t\tcomponent: AccordionClass.root,\n\t\t\t\t\topen: e.detail.open,\n\t\t\t\t\tref: e.detail.ref\n\t\t\t\t})\n\t\t\t})\n\t\t})\n\t}\n\n\tconnectedCallback() {\n\t\tthis.hydrated = true\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host\n\t\t\t\thydrated={this.hydrated}\n\t\t\t\tclass={this.h.classes(AccordionClass.root)}\n\t\t\t\tsize={this.size}\n\t\t\t\trole={'list'}>\n\t\t\t\t<slot/>\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"],"mappings":"gSAUaA,EAAY,MAIxB,WAAAC,CAAAC,G,gDAFQC,KAAAC,SAAW,M,UAUyB,I,cAIiB,MAX5DD,KAAKE,EAAIC,EAAQH,KAAKI,K,CAkBvB,YAAAC,CAAaC,GACZC,EAAaC,EAAgBF,EAAUG,EAAeC,K,CAGvD,iBAAAC,GACCX,KAAKK,aAAaL,KAAKY,K,CAGxB,gBAAAC,GACCb,KAAKI,KAAKU,iBAAiBC,EAAmBL,MAAMM,SAASC,IAC5DA,EAAMC,iBAAiB,cAAeC,IACrCA,EAAEC,kBACFpB,KAAKqB,UAAUC,KAAK,CACnBC,UAAWd,EAAeC,KAC1Bc,KAAML,EAAEM,OAAOD,KACfE,IAAKP,EAAEM,OAAOC,KACb,GACD,G,CAIJ,iBAAAC,GACC3B,KAAKC,SAAW,I,CAGjB,MAAA2B,GACC,OACC1B,EAAC2B,EAAI,CAAAC,IAAA,2CACJ7B,SAAUD,KAAKC,SACf8B,MAAO/B,KAAKE,EAAE8B,QAAQvB,EAAeC,MACrCE,KAAMZ,KAAKY,KACXqB,KAAM,QACN/B,EAAA,QAAA4B,IAAA,6C","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ import{r as s,c as a,h as t,a as i,g as e}from"./p-a1e95a5f.js";import{v as o}from"./p-169b67af.js";import{W as r,a as c,b as p}from"./p-c990d746.js";import{g as d}from"./p-0075138f.js";import{v as h}from"./p-28a7d3f7.js";import{c as m}from"./p-e0d428c9.js";import{d as f}from"./p-45a30859.js";import"./p-b48a4aa0.js";import"./p-e3aeaca0.js";import"./p-92f420cb.js";import"./p-95d41a3b.js";import"./p-2aedc81e.js";const n=class{constructor(t){s(this,t);this.govChange=a(this,"gov-change",7);this.hydrated=false;this.size="m";this.wcagLabel=undefined;this.wcagLabelledBy=undefined;this.h=d(this.host)}validateSize(s){o(p,s,c.root)}componentWillLoad(){this.validateSize(this.size)}componentDidLoad(){this.host.querySelectorAll(r.root).forEach((s=>{s.setAttribute("size",this.size)}))}async componentDidRender(){if(m()){await f(500);await this.validateWcag()}}connectedCallback(){this.hydrated=true}render(){return t(i,{key:"561329ca0aab784816ee33a24f323b931b4ef730",class:this.h.classes(c.root),role:"list",size:this.size,hydrated:this.hydrated},t("slot",{key:"362c9affa822094d8b2d56185ccfb7d63f69cb1e"}))}async validateWcag(){h(this.wcagLabel,this.wcagLabelledBy,c.root)}get host(){return e(this)}static get watchers(){return{size:["validateSize"]}}};export{n as gov_wizard};
2
+ //# sourceMappingURL=p-9d0c3dee.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["GovWizard","constructor","hostRef","this","hydrated","h","govHost","host","validateSize","newValue","validateProp","WizardSizes","WizardClass","root","componentWillLoad","size","componentDidLoad","querySelectorAll","WizardItemClass","forEach","child","setAttribute","componentDidRender","canValidateWcagOnRender","delay","validateWcag","connectedCallback","render","Host","key","class","classes","role","validateAccessibleLabel","wcagLabel","wcagLabelledBy"],"sources":["../../../packages/core/src/components/gov-wizard/gov-wizard.tsx"],"sourcesContent":["import { Component, Element, Event, EventEmitter, h, Host, Method, Prop, Watch } from \"@stencil/core\"\nimport { validateProp } from \"../../helpers/Validate/props\"\nimport { WizardSizes, WizardSizesType, WizardClass, WizardItemClass } from \"./constants\"\nimport { GovWizardItemChangeEvent } from \"./gov-wizard-item.d\"\nimport { govHost } from \"../../helpers/Dom/template\"\nimport { GovHost } from \"../../helpers/Dom/template.types\"\nimport { validateAccessibleLabel } from \"../../helpers/Validate/wcag\"\nimport { canValidateWcagOnRender } from \"../../helpers/Dom/win\"\nimport { delay } from \"../../utils/utils\"\n\n@Component({\n\ttag: \"gov-wizard\",\n})\nexport class GovWizard {\n\tprivate h: GovHost\n\tprivate hydrated = false\n\n\t@Element() readonly host: HTMLGovWizardElement\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t/**\n\t * Size of wizard\n\t */\n\t@Prop() readonly size?: WizardSizesType = \"m\"\n\t/**\n\t * Adds accessible label for the wizard that is only shown for screen readers.\n\t */\n\t@Prop({ attribute: \"wcag-label\" }) readonly wcagLabel: string\n\t/**\n\t * String of id's that indicate alternative labels elements\n\t */\n\t@Prop({ attribute: \"wcag-labelled-by\" }) readonly wcagLabelledBy: string\n\t/**\n\t * Called when the wizard children state changes\n\t */\n\t@Event({ eventName: \"gov-change\" }) govChange: EventEmitter<GovWizardItemChangeEvent>\n\n\t@Watch(\"size\")\n\tprivate validateSize(newValue: string): void {\n\t\tvalidateProp(WizardSizes, newValue, WizardClass.root)\n\t}\n\n\tcomponentWillLoad(): void {\n\t\tthis.validateSize(this.size)\n\t}\n\n\tcomponentDidLoad() {\n\t\tthis.host.querySelectorAll(WizardItemClass.root).forEach((child: HTMLGovWizardItemElement) => {\n\t\t\tchild.setAttribute(\"size\", this.size)\n\t\t\t/*\n\t\t\tchild.addEventListener('gov-change', (e: GovWizardItemCustomEvent<GovWizardItemChangeEvent>) => {\n\t\t\t\te.stopPropagation()\n\t\t\t\tthis.govChange.emit(e.detail)\n\t\t\t})\n\t\t\t*/\n\t\t})\n\t}\n\n\tasync componentDidRender() {\n\t\tif (canValidateWcagOnRender()) {\n\t\t\tawait delay(500)\n\t\t\tawait this.validateWcag()\n\t\t}\n\t}\n\n\tconnectedCallback() {\n\t\tthis.hydrated = true\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={this.h.classes(WizardClass.root)} role=\"list\" size={this.size} hydrated={this.hydrated}>\n\t\t\t\t<slot />\n\t\t\t</Host>\n\t\t)\n\t}\n\n\t/**\n\t * Validate the WCAG attributes of the component\n\t */\n\t@Method()\n\tpublic async validateWcag(): Promise<void> {\n\t\tvalidateAccessibleLabel(this.wcagLabel, this.wcagLabelledBy, WizardClass.root)\n\t}\n}\n"],"mappings":"oaAaaA,EAAS,MAMrB,WAAAC,CAAAC,G,gDAJQC,KAAAC,SAAW,M,UAWuB,I,uDANzCD,KAAKE,EAAIC,EAAQH,KAAKI,K,CAqBf,YAAAC,CAAaC,GACpBC,EAAaC,EAAaF,EAAUG,EAAYC,K,CAGjD,iBAAAC,GACCX,KAAKK,aAAaL,KAAKY,K,CAGxB,gBAAAC,GACCb,KAAKI,KAAKU,iBAAiBC,EAAgBL,MAAMM,SAASC,IACzDA,EAAMC,aAAa,OAAQlB,KAAKY,KAAK,G,CAUvC,wBAAMO,GACL,GAAIC,IAA2B,OACxBC,EAAM,WACNrB,KAAKsB,c,EAIb,iBAAAC,GACCvB,KAAKC,SAAW,I,CAGjB,MAAAuB,GACC,OACCtB,EAACuB,EAAI,CAAAC,IAAA,2CAACC,MAAO3B,KAAKE,EAAE0B,QAAQnB,EAAYC,MAAOmB,KAAK,OAAOjB,KAAMZ,KAAKY,KAAMX,SAAUD,KAAKC,UAC1FC,EAAA,QAAAwB,IAAA,6C,CASI,kBAAMJ,GACZQ,EAAwB9B,KAAK+B,UAAW/B,KAAKgC,eAAgBvB,EAAYC,K","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ import{r as t,c as s,h as i,a,g as e}from"./p-a1e95a5f.js";import{c as h}from"./p-95d41a3b.js";import{v as r}from"./p-169b67af.js";import{g as o,e as n,f as c}from"./p-a693ffbf.js";import{g as d,c as l,t as p}from"./p-0075138f.js";import{F as m}from"./p-1c1d0bbe.js";import{A as f,a as u}from"./p-9ac55bd1.js";import{i as b}from"./p-d9a299a4.js";import"./p-b48a4aa0.js";import"./p-e0d428c9.js";import"./p-45a30859.js";import"./p-92f420cb.js";import"./p-6aa40794.js";import"./p-e3aeaca0.js";import"./p-42d9924c.js";import"./p-2614044c.js";const j=class{constructor(i){t(this,i);this.govFocus=s(this,"gov-focus",7);this.govBlur=s(this,"gov-blur",7);this.govChange=s(this,"gov-change",7);this.hydrated=false;this.value=undefined;this.noLabel=false;this.checked=false;this.required=false;this.disabled=false;this.name=undefined;this.size="m";this.identifier=undefined;this.invalid=undefined;this.inheritedAttributes={};this.radioId=h("GovRadio");this.h=d(this.host);this.f=o(this.h)}validateSize(t){r(c,t,n.root)}watchControlAttrs(){this.passControlAttrs()}passControlAttrs(){this.f.passAttrToControl("size",this.size);this.f.passAttrToControl("invalid",l(this.invalid));this.f.passAttrToControl("disabled",l(this.disabled));this.f.passAttrToControl("type","radio")}componentWillLoad(){this.inheritedAttributes=b(this.host)}componentDidLoad(){this.attributeObserver=new f(this.host,((t,s)=>{this.onAriaAttributeChange(t,s)}));this.attributeObserver.startObserving(u)}async componentDidRender(){this.f.passAttrToLabel("identifier",this.identifier||this.radioId);this.f.passAttrToLabel("required",String(this.required));this.passControlAttrs()}connectedCallback(){this.hydrated=true}disconnectedCallback(){this.attributeObserver.stopObserving()}onAriaAttributeChange(t,s){this.host.removeAttribute(t);this.inheritedAttributes=Object.assign(Object.assign({},this.inheritedAttributes),{[t]:s})}render(){const t=t=>{if(this.noLabel){return i("label",{class:n.label},t)}return t};return i(a,{class:n.root,hydrated:this.hydrated,checked:this.checked,size:this.size,invalid:p(this.invalid)},t(i(m,null,i("input",Object.assign({class:n.input,id:this.identifier||this.radioId,type:"radio",value:this.value,name:this.name,checked:this.checked,disabled:this.disabled,onClick:this.onClickHandler.bind(this),onChange:this.onChangeHandler.bind(this),onFocus:this.onFocusHandler.bind(this),onBlur:this.onBlurHandler.bind(this),ref:t=>this.inputRef=t,required:this.required},this.inheritedAttributes,{"aria-checked":this.checked,"aria-required":p(this.required),"aria-invalid":p(this.invalid),"aria-disabled":p(this.disabled)})),i("span",null,i("slot",{name:"label"})))))}onClickHandler(t){t.stopPropagation()}onFocusHandler(t){t.stopPropagation();this.govFocus.emit({component:n.root,value:this.value,checked:this.checked,originalEvent:t})}onBlurHandler(t){t.stopPropagation();this.govBlur.emit({component:n.root,value:this.value,checked:this.checked,originalEvent:t})}onChangeHandler(t){this.checked=t.target.checked;t.stopPropagation();this.govChange.emit({component:n.root,value:this.value,checked:this.checked,originalEvent:t})}async getRef(){return this.inputRef}get host(){return e(this)}static get watchers(){return{size:["validateSize","watchControlAttrs"],disabled:["watchControlAttrs"],invalid:["watchControlAttrs"]}}};export{j as gov_form_radio};
2
+ //# sourceMappingURL=p-9d0f20ec.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["GovFormRadio","constructor","hostRef","this","hydrated","radioId","createID","h","govHost","host","f","govForm","validateSize","newValue","validateProp","FormRadioSizes","FormRadioClass","root","watchControlAttrs","passControlAttrs","passAttrToControl","size","toBoolAttr","invalid","disabled","componentWillLoad","inheritedAttributes","inheritAriaAttributes","componentDidLoad","attributeObserver","AttributeObserver","attributeName","onAriaAttributeChange","startObserving","ariaAttributes","componentDidRender","passAttrToLabel","identifier","String","required","connectedCallback","disconnectedCallback","stopObserving","removeAttribute","Object","assign","render","wrapRadio","children","noLabel","class","label","Host","checked","toBoolAttrIfDefined","Fragment","input","id","type","value","name","onClick","onClickHandler","bind","onChange","onChangeHandler","onFocus","onFocusHandler","onBlur","onBlurHandler","ref","el","inputRef","e","stopPropagation","govFocus","emit","component","originalEvent","govBlur","target","govChange","getRef"],"sources":["../../../packages/core/src/components/gov-form/radio/gov-form-radio.tsx"],"sourcesContent":["import {Component, Element, Event, EventEmitter, h, Host, Method, Prop, State, Watch} from \"@stencil/core\"\nimport {createID} from \"../../../utils/string.utils\"\nimport {validateProp} from \"../../../helpers/Validate/props\"\nimport {FormRadioClass, FormRadioSizes, FormRadioSizesType} from \"./constants\"\nimport {govHost, toBoolAttr, toBoolAttrIfDefined} from \"../../../helpers/Dom/template\"\nimport {GovForm} from \"../../../helpers/Dom/form.types\"\nimport {GovHost} from \"../../../helpers/Dom/template.types\"\nimport {govForm} from \"../../../helpers/Dom/form\"\nimport Fragment from \"../../../helpers/Fragment\"\nimport {FormRadioEvent} from \"./gov-form-radio.types\"\nimport {AttributeObserver, Attributes} from \"../../../helpers/Dom/attribute\";\nimport {inheritAriaAttributes} from \"../../../helpers/Accessibility/accessibility\";\nimport {ariaAttributes} from \"../../../helpers/Accessibility/attributes\";\n\n@Component({\n\ttag: \"gov-form-radio\",\n})\nexport class GovFormRadio {\n\tprivate readonly h: GovHost\n\tprivate f: GovForm\n\tprivate inputRef?: HTMLInputElement\n\tprivate attributeObserver: AttributeObserver\n\n\tprivate readonly radioId: string\n\tprivate hydrated = false\n\n\tconstructor() {\n\t\tthis.radioId = createID(\"GovRadio\")\n\n\t\tthis.h = govHost(this.host)\n\t\tthis.f = govForm(this.h)\n\t}\n\n\t@Element() host: HTMLGovFormRadioElement\n\t/**\n\t * Value of radio\n\t */\n\t@Prop() readonly value: string\n\t/**\n\t * When you can't use the form label.\n\t */\n\t@Prop({attribute: \"no-label\"}) readonly noLabel: boolean = false\n\t/**\n\t * Radio button state\n\t */\n\t@Prop({reflect: true, mutable: true}) checked = false\n\t/**\n\t * Set whether the input is required or not. Please note that this is necessary for accessible inputs when the user is required to fill them.\n\t * When using this property you need to also set “novalidate” attribute to your form element to prevent browser from displaying its own validation errors.\n\t */\n\t@Prop() readonly required: boolean = false\n\t/**\n\t * Makes the radio component disabled.\n\t * This prevents users from being able to interact with the radio, and conveys its inactive state to assistive technologies.\n\t */\n\t@Prop() readonly disabled: boolean = false\n\t/**\n\t * Name of the radio.\n\t */\n\t@Prop() readonly name: string\n\t/**\n\t * Radio's size.\n\t */\n\t@Prop() readonly size?: FormRadioSizesType = \"m\"\n\t/**\n\t * Custom radio identifier.\n\t */\n\t@Prop({attribute: \"identifier\"}) readonly identifier: string\n\t/**\n\t * Indicates the entered value does not conform to the format expected by the application.\n\t */\n\t@Prop() readonly invalid: boolean\n\t/**\n\t * Emitted when the radio has focus.\n\t */\n\t@Event({eventName: \"gov-focus\"}) govFocus: EventEmitter<FormRadioEvent>\n\t/**\n\t * Emitted when the radio loses focus.\n\t */\n\t@Event({eventName: \"gov-blur\"}) govBlur: EventEmitter<FormRadioEvent>\n\t/**\n\t * Emitted when the radio change value.\n\t */\n\t@Event({eventName: \"gov-change\"}) govChange: EventEmitter<FormRadioEvent>\n\n\t@Watch(\"size\")\n\tvalidateSize(newValue: string): void {\n\t\tvalidateProp(FormRadioSizes, newValue, FormRadioClass.root)\n\t}\n\n\t@Watch(\"disabled\")\n\t@Watch(\"invalid\")\n\t@Watch(\"size\")\n\twatchControlAttrs(): void {\n\t\tthis.passControlAttrs()\n\t}\n\n\t@State() inheritedAttributes: Attributes = {}\n\n\tprivate passControlAttrs() {\n\t\tthis.f.passAttrToControl(\"size\", this.size)\n\t\tthis.f.passAttrToControl(\"invalid\", toBoolAttr(this.invalid))\n\t\tthis.f.passAttrToControl(\"disabled\", toBoolAttr(this.disabled))\n\t\tthis.f.passAttrToControl(\"type\", \"radio\")\n\t}\n\n\n\tcomponentWillLoad() {\n\t\tthis.inheritedAttributes = inheritAriaAttributes(this.host);\n\t}\n\n\tcomponentDidLoad() {\n\t\tthis.attributeObserver = new AttributeObserver(this.host, (attributeName, newValue) => {\n\t\t\tthis.onAriaAttributeChange(attributeName, newValue);\n\t\t});\n\n\t\tthis.attributeObserver.startObserving(ariaAttributes);\n\t}\n\n\tasync componentDidRender() {\n\t\tthis.f.passAttrToLabel(\"identifier\", this.identifier || this.radioId)\n\t\tthis.f.passAttrToLabel(\"required\", String(this.required))\n\t\tthis.passControlAttrs()\n\t}\n\n\tconnectedCallback() {\n\t\tthis.hydrated = true\n\t}\n\n\tdisconnectedCallback() {\n\t\tthis.attributeObserver.stopObserving();\n\t}\n\n\tonAriaAttributeChange(attributeName: string, newValue: string) {\n\t\tthis.host.removeAttribute(attributeName)\n\t\tthis.inheritedAttributes = {...this.inheritedAttributes, [attributeName]: newValue};\n\t}\n\n\trender() {\n\t\tconst wrapRadio = (children) => {\n\t\t\tif (this.noLabel) {\n\t\t\t\treturn <label class={FormRadioClass.label}>{children}</label>\n\t\t\t}\n\t\t\treturn children\n\t\t}\n\n\t\treturn (\n\t\t\t<Host class={FormRadioClass.root} hydrated={this.hydrated} checked={this.checked} size={this.size}\n\t\t\t\t invalid={toBoolAttrIfDefined(this.invalid)}>\n\t\t\t\t{wrapRadio(\n\t\t\t\t\t<Fragment>\n\t\t\t\t\t\t<input\n\t\t\t\t\t\t\tclass={FormRadioClass.input}\n\t\t\t\t\t\t\tid={this.identifier || this.radioId}\n\t\t\t\t\t\t\ttype=\"radio\"\n\t\t\t\t\t\t\tvalue={this.value}\n\t\t\t\t\t\t\tname={this.name}\n\t\t\t\t\t\t\tchecked={this.checked}\n\t\t\t\t\t\t\tdisabled={this.disabled}\n\t\t\t\t\t\t\tonClick={this.onClickHandler.bind(this)}\n\t\t\t\t\t\t\tonChange={this.onChangeHandler.bind(this)}\n\t\t\t\t\t\t\tonFocus={this.onFocusHandler.bind(this)}\n\t\t\t\t\t\t\tonBlur={this.onBlurHandler.bind(this)}\n\t\t\t\t\t\t\tref={el => (this.inputRef = el as HTMLInputElement)}\n\t\t\t\t\t\t\trequired={this.required}\n\t\t\t\t\t\t\t{...this.inheritedAttributes}\n\t\t\t\t\t\t\taria-checked={this.checked}\n\t\t\t\t\t\t\taria-required={toBoolAttrIfDefined(this.required)}\n\t\t\t\t\t\t\taria-invalid={toBoolAttrIfDefined(this.invalid)}\n\t\t\t\t\t\t\taria-disabled={toBoolAttrIfDefined(this.disabled)}\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<span>\n\t\t\t\t\t\t\t<slot name=\"label\"/>\n\t\t\t\t\t\t</span>\n\t\t\t\t\t</Fragment>,\n\t\t\t\t)}\n\t\t\t</Host>\n\t\t)\n\t}\n\n\tprivate onClickHandler(e: PointerEvent) {\n\t\te.stopPropagation()\n\t}\n\n\tprivate onFocusHandler(e: FocusEvent) {\n\t\te.stopPropagation()\n\t\tthis.govFocus.emit({\n\t\t\tcomponent: FormRadioClass.root,\n\t\t\tvalue: this.value,\n\t\t\tchecked: this.checked,\n\t\t\toriginalEvent: e,\n\t\t})\n\t}\n\n\tprivate onBlurHandler(e: FocusEvent) {\n\t\te.stopPropagation()\n\t\tthis.govBlur.emit({\n\t\t\tcomponent: FormRadioClass.root,\n\t\t\tvalue: this.value,\n\t\t\tchecked: this.checked,\n\t\t\toriginalEvent: e,\n\t\t})\n\t}\n\n\tprivate onChangeHandler(e: Event) {\n\t\tthis.checked = (e.target as HTMLInputElement).checked\n\t\te.stopPropagation()\n\t\tthis.govChange.emit({\n\t\t\tcomponent: FormRadioClass.root,\n\t\t\tvalue: this.value,\n\t\t\tchecked: this.checked,\n\t\t\toriginalEvent: e,\n\t\t})\n\t}\n\n\t/**\n\t * Returns the reference of the native element\n\t */\n\t@Method()\n\tasync getRef(): Promise<HTMLInputElement> {\n\t\treturn this.inputRef\n\t}\n}\n"],"mappings":"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","ignoreList":[]}
@@ -0,0 +1,3 @@
1
+ const e="core";const t={allRenderFn:true,appendChildSlotFix:true,asyncLoading:true,asyncQueue:false,attachStyles:true,cloneNodeFix:true,cmpDidLoad:true,cmpDidRender:true,cmpDidUnload:false,cmpDidUpdate:true,cmpShouldUpdate:false,cmpWillLoad:true,cmpWillRender:false,cmpWillUpdate:true,connectedCallback:true,constructableCSS:true,cssAnnotations:true,devTools:false,disconnectedCallback:true,element:false,event:true,experimentalScopedSlotChanges:false,experimentalSlotFixes:true,formAssociated:false,hasRenderFn:true,hostListener:false,hostListenerTarget:false,hostListenerTargetBody:false,hostListenerTargetDocument:false,hostListenerTargetParent:false,hostListenerTargetWindow:false,hotModuleReplacement:false,hydrateClientSide:true,hydrateServerSide:false,hydratedAttribute:false,hydratedClass:true,hydratedSelectorName:"hydrated",initializeNextTick:false,invisiblePrehydration:false,isDebug:false,isDev:false,isTesting:false,lazyLoad:true,lifecycle:true,lifecycleDOMEvents:false,member:true,method:true,mode:false,observeAttribute:true,profile:false,prop:true,propBoolean:true,propMutable:true,propNumber:true,propString:true,reflect:true,scoped:false,scopedSlotTextContentFix:true,scriptDataOpts:false,shadowDelegatesFocus:false,shadowDom:false,slot:true,slotChildNodesFix:true,slotRelocation:true,state:true,style:true,svg:false,taskQueue:true,transformTagName:false,updatable:true,vdomAttribute:true,vdomClass:true,vdomFunctional:true,vdomKey:true,vdomListener:true,vdomPropOrAttr:true,vdomRef:true,vdomRender:true,vdomStyle:true,vdomText:true,vdomXlink:true,watchCallback:true};var l=Object.defineProperty;var n=(e,t)=>{for(var n in t)l(e,n,{get:t[n],enumerable:true})};var r=new WeakMap;var s=e=>r.get(e);var i=(e,t)=>r.set(t.t=e,t);var o=(e,t)=>{const l={l:0,$hostElement$:e,i:t,o:new Map};{l.u=new Promise((e=>l.v=e))}{l.p=new Promise((e=>l.h=e));e["s-p"]=[];e["s-rc"]=[]}return r.set(e,l)};var a=(e,t)=>t in e;var f=(e,t)=>(0,console.error)(e,t);var c=new Map;var u=(e,t,l)=>{const n=e.m.replace(/-/g,"_");const r=e.$;if(!r){return void 0}const s=c.get(r);if(s){return s[n]}
2
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/return import(`./${r}.entry.js${""}`).then((e=>{{c.set(r,e)}return e[n]}),f)};var v=new Map;var d="r";var p="o";var h="s";var m="t";var $="s-id";var y="sty-id";var b="c-id";var w="slot-fb{display:contents}slot-fb[hidden]{display:none}";var g="http://www.w3.org/1999/xlink";var S=typeof window!=="undefined"?window:{};var k=S.document||{head:{}};var C=S.HTMLElement||class{};var x={l:0,S:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,l,n)=>e.addEventListener(t,l,n),rel:(e,t,l,n)=>e.removeEventListener(t,l,n),ce:(e,t)=>new CustomEvent(e,t)};var j=t.shadowDom;var O=e=>Promise.resolve(e);var R=(()=>{try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(e){}return false})();var T=false;var D=[];var L=[];var E=(e,t)=>l=>{e.push(l);if(!T){T=true;if(t&&x.l&4){M(F)}else{x.raf(F)}}};var A=e=>{for(let t=0;t<e.length;t++){try{e[t](performance.now())}catch(e){f(e)}}e.length=0};var F=()=>{A(D);{A(L);if(T=D.length>0){x.raf(F)}}};var M=e=>O().then(e);var P=E(L,true);var U=e=>{const t=new URL(e,x.S);return t.origin!==S.location.origin?t.href:t.pathname};var N={};var W=e=>e!=null;var I=e=>{e=typeof e;return e==="object"||e==="function"};function H(e){var t,l,n;return(n=(l=(t=e.head)==null?void 0:t.querySelector('meta[name="csp-nonce"]'))==null?void 0:l.getAttribute("content"))!=null?n:void 0}var z={};n(z,{err:()=>Q,map:()=>q,ok:()=>B,unwrap:()=>G,unwrapErr:()=>K});var B=e=>({isOk:true,isErr:false,value:e});var Q=e=>({isOk:false,isErr:true,value:e});function q(e,t){if(e.isOk){const l=t(e.value);if(l instanceof Promise){return l.then((e=>B(e)))}else{return B(l)}}if(e.isErr){const t=e.value;return Q(t)}throw"should never get here"}var G=e=>{if(e.isOk){return e.value}else{throw e.value}};var K=e=>{if(e.isErr){return e.value}else{throw e.value}};var V=(e,t="")=>{{return()=>{}}};var X=(e,t)=>{{return()=>{}}};var _=(e,t,...l)=>{let n=null;let r=null;let s=null;let i=false;let o=false;const a=[];const f=t=>{for(let l=0;l<t.length;l++){n=t[l];if(Array.isArray(n)){f(n)}else if(n!=null&&typeof n!=="boolean"){if(i=typeof e!=="function"&&!I(n)){n=String(n)}if(i&&o){a[a.length-1].k+=n}else{a.push(i?J(null,n):n)}o=i}}};f(l);if(t){if(t.key){r=t.key}if(t.name){s=t.name}{const e=t.className||t.class;if(e){t.class=typeof e!=="object"?e:Object.keys(e).filter((t=>e[t])).join(" ")}}}if(typeof e==="function"){return e(t===null?{}:t,a,ee)}const c=J(e,null);c.C=t;if(a.length>0){c.j=a}{c.O=r}{c.R=s}return c};var J=(e,t)=>{const l={l:0,T:e,k:t,D:null,j:null};{l.C=null}{l.O=null}{l.R=null}return l};var Y={};var Z=e=>e&&e.T===Y;var ee={forEach:(e,t)=>e.map(te).forEach(t),map:(e,t)=>e.map(te).map(t).map(le)};var te=e=>({vattrs:e.C,vchildren:e.j,vkey:e.O,vname:e.R,vtag:e.T,vtext:e.k});var le=e=>{if(typeof e.vtag==="function"){const t={...e.vattrs};if(e.vkey){t.key=e.vkey}if(e.vname){t.name=e.vname}return _(e.vtag,t,...e.vchildren||[])}const t=J(e.vtag,e.vtext);t.C=e.vattrs;t.j=e.vchildren;t.O=e.vkey;t.R=e.vname;return t};var ne=(e,t,l,n)=>{const r=V("hydrateClient",t);const s=e.shadowRoot;const i=[];const o=[];const a=null;const f=n.L=J(t,null);if(!x.A){se(k.body,x.A=new Map)}e[$]=l;e.removeAttribute($);re(f,i,o,a,e,e,l);i.map((e=>{const l=e.F+"."+e.M;const n=x.A.get(l);const r=e.D;if(n&&j&&n["s-en"]===""){n.parentNode.insertBefore(r,n.nextSibling)}if(!s){r["s-hn"]=t;if(n){r["s-ol"]=n;r["s-ol"]["s-nr"]=r}}x.A.delete(l)}));r()};var re=(e,t,l,n,r,s,i)=>{let o;let a;let f;let c;if(s.nodeType===1){o=s.getAttribute(b);if(o){a=o.split(".");if(a[0]===i||a[0]==="0"){f={l:0,F:a[0],M:a[1],P:a[2],U:a[3],T:s.tagName.toLowerCase(),D:s,C:null,j:null,O:null,R:null,k:null};t.push(f);s.removeAttribute(b);if(!e.j){e.j=[]}e.j[f.U]=f;e=f;if(n&&f.P==="0"){n[f.U]=f.D}}}if(s.shadowRoot){for(c=s.shadowRoot.childNodes.length-1;c>=0;c--){re(e,t,l,n,r,s.shadowRoot.childNodes[c],i)}}for(c=s.childNodes.length-1;c>=0;c--){re(e,t,l,n,r,s.childNodes[c],i)}}else if(s.nodeType===8){a=s.nodeValue.split(".");if(a[1]===i||a[1]==="0"){o=a[0];f={l:0,F:a[1],M:a[2],P:a[3],U:a[4],D:s,C:null,j:null,O:null,R:null,T:null,k:null};if(o===m){f.D=s.nextSibling;if(f.D&&f.D.nodeType===3){f.k=f.D.textContent;t.push(f);s.remove();if(!e.j){e.j=[]}e.j[f.U]=f;if(n&&f.P==="0"){n[f.U]=f.D}}}else if(f.F===i){if(o===h){f.T="slot";if(a[5]){s["s-sn"]=f.R=a[5]}else{s["s-sn"]=""}s["s-sr"]=true;l.push(f);if(!e.j){e.j=[]}e.j[f.U]=f}else if(o===d){{r["s-cr"]=s;s["s-cn"]=true}}}}}else if(e&&e.T==="style"){const t=J(null,s.textContent);t.D=s;t.U="0";e.j=[t]}};var se=(e,t)=>{if(e.nodeType===1){let l=0;if(e.shadowRoot){for(;l<e.shadowRoot.childNodes.length;l++){se(e.shadowRoot.childNodes[l],t)}}for(l=0;l<e.childNodes.length;l++){se(e.childNodes[l],t)}}else if(e.nodeType===8){const l=e.nodeValue.split(".");if(l[0]===p){t.set(l[1]+"."+l[2],e);e.nodeValue="";e["s-en"]=l[3]}}};var ie=(e,t)=>{if(e!=null&&!I(e)){if(t&4){return e==="false"?false:e===""||!!e}if(t&2){return parseFloat(e)}if(t&1){return String(e)}return e}return e};var oe=e=>s(e).$hostElement$;var ae=(e,t,l)=>{const n=oe(e);return{emit:e=>fe(n,t,{bubbles:!!(l&4),composed:!!(l&2),cancelable:!!(l&1),detail:e})}};var fe=(e,t,l)=>{const n=x.ce(t,l);e.dispatchEvent(n);return n};var ce=new WeakMap;var ue=(e,t,l)=>{let n=v.get(e);if(R&&l){n=n||new CSSStyleSheet;if(typeof n==="string"){n=t}else{n.replaceSync(t)}}else{n=t}v.set(e,n)};var ve=(e,t,l)=>{var n;const r=pe(t);const s=v.get(r);e=e.nodeType===11?e:k;if(s){if(typeof s==="string"){e=e.head||e;let l=ce.get(e);let i;if(!l){ce.set(e,l=new Set)}if(!l.has(r)){if(e.host&&(i=e.querySelector(`[${y}="${r}"]`))){i.innerHTML=s}else{i=k.createElement("style");i.innerHTML=s;const l=(n=x.N)!=null?n:H(k);if(l!=null){i.setAttribute("nonce",l)}const r=!(t.l&1)||t.l&1&&e.nodeName!=="HEAD";if(r){e.insertBefore(i,e.querySelector("link"))}}if(t.l&4){i.innerHTML+=w}if(l){l.add(r)}}}else if(!e.adoptedStyleSheets.includes(s)){e.adoptedStyleSheets=[...e.adoptedStyleSheets,s]}}return r};var de=e=>{const t=e.i;const l=e.$hostElement$;const n=V("attachStyles",t.m);ve(l.getRootNode(),t);n()};var pe=(e,t)=>"sc-"+e.m;var he=(e,t,l,n,r,s)=>{if(l!==n){let i=a(e,t);let o=t.toLowerCase();if(t==="class"){const t=e.classList;const r=$e(l);const s=$e(n);t.remove(...r.filter((e=>e&&!s.includes(e))));t.add(...s.filter((e=>e&&!r.includes(e))))}else if(t==="style"){{for(const t in l){if(!n||n[t]==null){if(t.includes("-")){e.style.removeProperty(t)}else{e.style[t]=""}}}}for(const t in n){if(!l||n[t]!==l[t]){if(t.includes("-")){e.style.setProperty(t,n[t])}else{e.style[t]=n[t]}}}}else if(t==="key");else if(t==="ref"){if(n){n(e)}}else if(!i&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"){t=t.slice(3)}else if(a(S,o)){t=o.slice(2)}else{t=o[2]+t.slice(3)}if(l||n){const r=t.endsWith(ye);t=t.replace(be,"");if(l){x.rel(e,t,l,r)}if(n){x.ael(e,t,n,r)}}}else{const a=I(n);if((i||a&&n!==null)&&!r){try{if(!e.tagName.includes("-")){const r=n==null?"":n;if(t==="list"){i=false}else if(l==null||e[t]!=r){e[t]=r}}else{e[t]=n}}catch(e){}}let f=false;{if(o!==(o=o.replace(/^xlink\:?/,""))){t=o;f=true}}if(n==null||n===false){if(n!==false||e.getAttribute(t)===""){if(f){e.removeAttributeNS(g,t)}else{e.removeAttribute(t)}}}else if((!i||s&4||r)&&!a){n=n===true?"":n;if(f){e.setAttributeNS(g,t,n)}else{e.setAttribute(t,n)}}}}};var me=/\s/;var $e=e=>!e?[]:e.split(me);var ye="Capture";var be=new RegExp(ye+"$");var we=(e,t,l)=>{const n=t.D.nodeType===11&&t.D.host?t.D.host:t.D;const r=e&&e.C||N;const s=t.C||N;{for(const e of ge(Object.keys(r))){if(!(e in s)){he(n,e,r[e],void 0,l,t.l)}}}for(const e of ge(Object.keys(s))){he(n,e,r[e],s[e],l,t.l)}};function ge(e){return e.includes("ref")?[...e.filter((e=>e!=="ref")),"ref"]:e}var Se;var ke;var Ce;var xe=false;var je=false;var Oe=false;var Re=false;var Te=(e,l,n,r)=>{var s;const i=l.j[n];let o=0;let a;let f;let c;if(!xe){Oe=true;if(i.T==="slot"){i.l|=i.j?2:1}}if(i.k!==null){a=i.D=k.createTextNode(i.k)}else if(i.l&1){a=i.D=k.createTextNode("")}else{a=i.D=k.createElement(!xe&&t.slotRelocation&&i.l&2?"slot-fb":i.T);{we(null,i,Re)}const l=a.getRootNode();const n=!l.querySelector("body");if(!n&&t.scoped&&W(Se)&&a["s-si"]!==Se){a.classList.add(a["s-si"]=Se)}if(i.j){for(o=0;o<i.j.length;++o){f=Te(e,i,o);if(f){a.appendChild(f)}}}}a["s-hn"]=Ce;{if(i.l&(2|1)){a["s-sr"]=true;a["s-cr"]=ke;a["s-sn"]=i.R||"";a["s-rf"]=(s=i.C)==null?void 0:s.ref;c=e&&e.j&&e.j[n];if(c&&c.T===i.T&&e.D){{De(e.D)}}}}return a};var De=e=>{x.l|=1;const t=e.closest(Ce.toLowerCase());if(t!=null){const l=Array.from(t.childNodes).find((e=>e["s-cr"]));const n=Array.from(e.childNodes);for(const e of l?n.reverse():n){if(e["s-sh"]!=null){Qe(t,e,l!=null?l:null);e["s-sh"]=void 0;Oe=true}}}x.l&=~1};var Le=(e,l)=>{x.l|=1;const n=Array.from(e.childNodes);if(e["s-sr"]&&t.experimentalSlotFixes){let t=e;while(t=t.nextSibling){if(t&&t["s-sn"]===e["s-sn"]&&t["s-sh"]===Ce){n.push(t)}}}for(let e=n.length-1;e>=0;e--){const t=n[e];if(t["s-hn"]!==Ce&&t["s-ol"]){Qe(Ue(t),t,Pe(t));t["s-ol"].remove();t["s-ol"]=void 0;t["s-sh"]=void 0;Oe=true}if(l){Le(t,l)}}x.l&=~1};var Ee=(e,t,l,n,r,s)=>{let i=e["s-cr"]&&e["s-cr"].parentNode||e;let o;for(;r<=s;++r){if(n[r]){o=Te(null,l,r);if(o){n[r].D=o;Qe(i,o,Pe(t))}}}};var Ae=(e,t,l)=>{for(let n=t;n<=l;++n){const t=e[n];if(t){const e=t.D;Be(t);if(e){{je=true;if(e["s-ol"]){e["s-ol"].remove()}else{Le(e,true)}}e.remove()}}}};var Fe=(e,t,l,n,r=false)=>{let s=0;let i=0;let o=0;let a=0;let f=t.length-1;let c=t[0];let u=t[f];let v=n.length-1;let d=n[0];let p=n[v];let h;let m;while(s<=f&&i<=v){if(c==null){c=t[++s]}else if(u==null){u=t[--f]}else if(d==null){d=n[++i]}else if(p==null){p=n[--v]}else if(Me(c,d,r)){Ne(c,d,r);c=t[++s];d=n[++i]}else if(Me(u,p,r)){Ne(u,p,r);u=t[--f];p=n[--v]}else if(Me(c,p,r)){if(c.T==="slot"||p.T==="slot"){Le(c.D.parentNode,false)}Ne(c,p,r);Qe(e,c.D,u.D.nextSibling);c=t[++s];p=n[--v]}else if(Me(u,d,r)){if(c.T==="slot"||p.T==="slot"){Le(u.D.parentNode,false)}Ne(u,d,r);Qe(e,u.D,c.D);u=t[--f];d=n[++i]}else{o=-1;{for(a=s;a<=f;++a){if(t[a]&&t[a].O!==null&&t[a].O===d.O){o=a;break}}}if(o>=0){m=t[o];if(m.T!==d.T){h=Te(t&&t[i],l,o)}else{Ne(m,d,r);t[o]=void 0;h=m.D}d=n[++i]}else{h=Te(t&&t[i],l,i);d=n[++i]}if(h){{Qe(Ue(c.D),h,Pe(c.D))}}}}if(s>f){Ee(e,n[v+1]==null?null:n[v+1].D,l,n,i,v)}else if(i>v){Ae(t,s,f)}};var Me=(e,t,l=false)=>{if(e.T===t.T){if(e.T==="slot"){if("M"in e&&l&&e.D.nodeType!==8){return false}return e.R===t.R}if(!l){return e.O===t.O}return true}return false};var Pe=e=>e&&e["s-ol"]||e;var Ue=e=>(e["s-ol"]?e["s-ol"]:e).parentNode;var Ne=(e,l,n=false)=>{const r=l.D=e.D;const s=e.j;const i=l.j;const o=l.T;const a=l.k;let f;if(a===null){{if(o==="slot"&&!xe){if(e.R!==l.R){l.D["s-sn"]=l.R||"";De(l.D.parentElement)}}else{we(e,l,Re)}}if(s!==null&&i!==null){Fe(r,s,l,i,n)}else if(i!==null){if(e.k!==null){r.textContent=""}Ee(r,null,l,i,0,i.length-1)}else if(!n&&t.updatable&&s!==null){Ae(s,0,s.length-1)}}else if(f=r["s-cr"]){f.parentNode.textContent=a}else if(e.k!==a){r.data=a}};var We=e=>{const t=e.childNodes;for(const e of t){if(e.nodeType===1){if(e["s-sr"]){const l=e["s-sn"];e.hidden=false;for(const n of t){if(n!==e){if(n["s-hn"]!==e["s-hn"]||l!==""){if(n.nodeType===1&&(l===n.getAttribute("slot")||l===n["s-sn"])||n.nodeType===3&&l===n["s-sn"]){e.hidden=true;break}}else{if(n.nodeType===1||n.nodeType===3&&n.textContent.trim()!==""){e.hidden=true;break}}}}}We(e)}}};var Ie=[];var He=e=>{let t;let l;let n;for(const r of e.childNodes){if(r["s-sr"]&&(t=r["s-cr"])&&t.parentNode){l=t.parentNode.childNodes;const e=r["s-sn"];for(n=l.length-1;n>=0;n--){t=l[n];if(!t["s-cn"]&&!t["s-nr"]&&t["s-hn"]!==r["s-hn"]&&(!t["s-sh"]||t["s-sh"]!==r["s-hn"])){if(ze(t,e)){let l=Ie.find((e=>e.W===t));je=true;t["s-sn"]=t["s-sn"]||e;if(l){l.W["s-sh"]=r["s-hn"];l.I=r}else{t["s-sh"]=r["s-hn"];Ie.push({I:r,W:t})}if(t["s-sr"]){Ie.map((e=>{if(ze(e.W,t["s-sn"])){l=Ie.find((e=>e.W===t));if(l&&!e.I){e.I=l.I}}}))}}else if(!Ie.some((e=>e.W===t))){Ie.push({W:t})}}}}if(r.nodeType===1){He(r)}}};var ze=(e,t)=>{if(e.nodeType===1){if(e.getAttribute("slot")===null&&t===""){return true}if(e.getAttribute("slot")===t){return true}return false}if(e["s-sn"]===t){return true}return t===""};var Be=e=>{{e.C&&e.C.ref&&e.C.ref(null);e.j&&e.j.map(Be)}};var Qe=(e,t,l)=>{const n=e==null?void 0:e.insertBefore(t,l);return n};var qe=(e,t,l=false)=>{var n,r,s,i;const o=e.$hostElement$;const a=e.i;const f=e.L||J(null,null);const c=Z(t)?t:_(null,null,t);Ce=o.tagName;if(a.H){c.C=c.C||{};a.H.map((([e,t])=>c.C[t]=o[e]))}if(l&&c.C){for(const e of Object.keys(c.C)){if(o.hasAttribute(e)&&!["key","ref","style","class"].includes(e)){c.C[e]=o[e]}}}c.T=null;c.l|=4;e.L=c;c.D=f.D=o;xe=j;{ke=o["s-cr"];je=false}Ne(f,c,l);{x.l|=1;if(Oe){He(c.D);for(const e of Ie){const t=e.W;if(!t["s-ol"]){const e=k.createTextNode("");e["s-nr"]=t;Qe(t.parentNode,t["s-ol"]=e,t)}}for(const e of Ie){const t=e.W;const o=e.I;if(o){const e=o.parentNode;let l=o.nextSibling;if(l&&l.nodeType===1){let s=(n=t["s-ol"])==null?void 0:n.previousSibling;while(s){let n=(r=s["s-nr"])!=null?r:null;if(n&&n["s-sn"]===t["s-sn"]&&e===n.parentNode){n=n.nextSibling;while(n===t||(n==null?void 0:n["s-sr"])){n=n==null?void 0:n.nextSibling}if(!n||!n["s-nr"]){l=n;break}}s=s.previousSibling}}if(!l&&e!==t.parentNode||t.nextSibling!==l){if(t!==l){Qe(e,t,l);if(t.nodeType===1){t.hidden=(s=t["s-ih"])!=null?s:false}}}t&&typeof o["s-rf"]==="function"&&o["s-rf"](t)}else{if(t.nodeType===1){if(l){t["s-ih"]=(i=t.hidden)!=null?i:false}t.hidden=true}}}}if(je){We(c.D)}x.l&=~1;Ie.length=0}ke=void 0};var Ge=(e,t)=>{if(t&&!e.B&&t["s-p"]){t["s-p"].push(new Promise((t=>e.B=t)))}};var Ke=(e,t)=>{{e.l|=16}if(e.l&4){e.l|=512;return}Ge(e,e.q);const l=()=>Ve(e,t);return P(l)};var Ve=(e,t)=>{const l=e.$hostElement$;const n=V("scheduleUpdate",e.i.m);const r=e.t;if(!r){throw new Error(`Can't render component <${l.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`)}let s;if(t){{s=tt(r,"componentWillLoad")}}else{{s=tt(r,"componentWillUpdate")}}n();return Xe(s,(()=>Je(e,r,t)))};var Xe=(e,t)=>_e(e)?e.then(t).catch((e=>{console.error(e);t()})):t();var _e=e=>e instanceof Promise||e&&e.then&&typeof e.then==="function";var Je=async(e,t,l)=>{var n;const r=e.$hostElement$;const s=V("update",e.i.m);const i=r["s-rc"];if(l){de(e)}const o=V("render",e.i.m);{Ye(e,t,r,l)}if(i){i.map((e=>e()));r["s-rc"]=void 0}o();s();{const t=(n=r["s-p"])!=null?n:[];const l=()=>Ze(e);if(t.length===0){l()}else{Promise.all(t).then(l);e.l|=4;t.length=0}}};var Ye=(e,t,l,n)=>{try{t=t.render();{e.l&=~16}{e.l|=2}{{{qe(e,t,n)}}}}catch(t){f(t,e.$hostElement$)}return null};var Ze=e=>{const t=e.i.m;const l=e.$hostElement$;const n=V("postUpdate",t);const r=e.t;const s=e.q;{tt(r,"componentDidRender")}if(!(e.l&64)){e.l|=64;{lt(l)}{tt(r,"componentDidLoad")}n();{e.h(l);if(!s){et()}}}else{{tt(r,"componentDidUpdate")}n()}{e.v(l)}{if(e.B){e.B();e.B=void 0}if(e.l&512){M((()=>Ke(e,false)))}e.l&=~(4|512)}};var et=t=>{{lt(k.documentElement)}M((()=>fe(S,"appload",{detail:{namespace:e}})))};var tt=(e,t,l)=>{if(e&&e[t]){try{return e[t](l)}catch(e){f(e)}}return void 0};var lt=e=>{var l;return e.classList.add((l=t.hydratedSelectorName)!=null?l:"hydrated")};var nt=(e,t)=>s(e).o.get(t);var rt=(e,t,l,n)=>{const r=s(e);if(!r){throw new Error(`Couldn't find host element for "${n.m}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`)}const i=r.$hostElement$;const o=r.o.get(t);const a=r.l;const c=r.t;l=ie(l,n.G[t][0]);const u=Number.isNaN(o)&&Number.isNaN(l);const v=l!==o&&!u;if((!(a&8)||o===void 0)&&v){r.o.set(t,l);if(c){if(n.K&&a&128){const e=n.K[t];if(e){e.map((e=>{try{c[e](l,o,t)}catch(e){f(e,i)}}))}}if((a&(2|16))===2){Ke(r,false)}}}};var st=(e,t,l)=>{var n,r;const i=e.prototype;if(t.G||(t.K||e.watchers)){if(e.watchers&&!t.K){t.K=e.watchers}const o=Object.entries((n=t.G)!=null?n:{});o.map((([e,[n]])=>{if(n&31||l&2&&n&32){Object.defineProperty(i,e,{get(){return nt(this,e)},set(l){rt(this,e,l,t)},configurable:true,enumerable:true})}else if(l&1&&n&64){Object.defineProperty(i,e,{value(...t){var l;const n=s(this);return(l=n==null?void 0:n.u)==null?void 0:l.then((()=>{var l;return(l=n.t)==null?void 0:l[e](...t)}))}})}}));if(l&1){const l=new Map;i.attributeChangedCallback=function(e,n,r){x.jmp((()=>{var o;const a=l.get(e);if(this.hasOwnProperty(a)){r=this[a];delete this[a]}else if(i.hasOwnProperty(a)&&typeof this[a]==="number"&&this[a]==r){return}else if(a==null){const l=s(this);const i=l==null?void 0:l.l;if(i&&!(i&8)&&i&128&&r!==n){const s=l.t;const i=(o=t.K)==null?void 0:o[e];i==null?void 0:i.forEach((t=>{if(s[t]!=null){s[t].call(s,r,n,e)}}))}return}this[a]=r===null&&typeof this[a]==="boolean"?false:r}))};e.observedAttributes=Array.from(new Set([...Object.keys((r=t.K)!=null?r:{}),...o.filter((([e,t])=>t[0]&15)).map((([e,n])=>{var r;const s=n[1]||e;l.set(s,e);if(n[0]&512){(r=t.H)==null?void 0:r.push([e,s])}return s}))]))}}return e};var it=async(e,t,l,n)=>{let r;if((t.l&32)===0){t.l|=32;const n=l.$;if(n){const e=u(l);if(e&&"then"in e){const t=X();r=await e;t()}else{r=e}if(!r){throw new Error(`Constructor for "${l.m}#${t.V}" was not found`)}if(!r.isProxied){{l.K=r.watchers}st(r,l,2);r.isProxied=true}const n=V("createInstance",l.m);{t.l|=8}try{new r(t)}catch(e){f(e)}{t.l&=~8}{t.l|=128}n();ot(t.t)}else{r=e.constructor;const l=e.localName;customElements.whenDefined(l).then((()=>t.l|=128))}if(r&&r.style){let e;if(typeof r.style==="string"){e=r.style}const t=pe(l);if(!v.has(t)){const n=V("registerStyles",l.m);ue(t,e,!!(l.l&1));n()}}}const s=t.q;const i=()=>Ke(t,true);if(s&&s["s-rc"]){s["s-rc"].push(i)}else{i()}};var ot=e=>{{tt(e,"connectedCallback")}};var at=e=>{if((x.l&1)===0){const t=s(e);const l=t.i;const n=V("connectedCallback",l.m);if(!(t.l&1)){t.l|=1;let n;{n=e.getAttribute($);if(n){ne(e,l.m,n,t)}}if(!n){if(l.l&(4|8)){ft(e)}}{let l=e;while(l=l.parentNode||l.host){if(l.nodeType===1&&l.hasAttribute("s-id")&&l["s-p"]||l["s-p"]){Ge(t,t.q=l);break}}}if(l.G){Object.entries(l.G).map((([t,[l]])=>{if(l&31&&e.hasOwnProperty(t)){const l=e[t];delete e[t];e[t]=l}}))}{it(e,t,l)}}else{if(t==null?void 0:t.t){ot(t.t)}else if(t==null?void 0:t.p){t.p.then((()=>ot(t.t)))}}n()}};var ft=e=>{const t=e["s-cr"]=k.createComment("");t["s-cn"]=true;Qe(e,t,e.firstChild)};var ct=e=>{{tt(e,"disconnectedCallback")}};var ut=async e=>{if((x.l&1)===0){const t=s(e);if(t==null?void 0:t.t){ct(t.t)}else if(t==null?void 0:t.p){t.p.then((()=>ct(t.t)))}}};var vt=(e,t={})=>{var l;const n=V();const r=[];const i=t.exclude||[];const a=S.customElements;const f=k.head;const c=f.querySelector("meta[charset]");const u=k.createElement("style");const v=[];let d;let p=true;Object.assign(x,t);x.S=new URL(t.resourcesUrl||"./",k.baseURI).href;{x.l|=2}let h=false;e.map((e=>{e[1].map((t=>{var l;const n={l:t[0],m:t[1],G:t[2],X:t[3]};if(n.l&4){h=true}{n.G=t[2]}{n.H=[]}{n.K=(l=t[4])!=null?l:{}}const f=n.m;const c=class extends HTMLElement{constructor(e){super(e);this.hasRegisteredEventListeners=false;e=this;o(e,n)}connectedCallback(){s(this);if(!this.hasRegisteredEventListeners){this.hasRegisteredEventListeners=true}if(d){clearTimeout(d);d=null}if(p){v.push(this)}else{x.jmp((()=>at(this)))}}disconnectedCallback(){x.jmp((()=>ut(this)))}componentOnReady(){return s(this).p}};n.$=e[0];if(!i.includes(f)&&!a.get(f)){r.push(f);a.define(f,st(c,n,1))}}))}));if(r.length>0){if(h){u.textContent+=w}if(u.innerHTML.length){u.setAttribute("data-styles","");const e=(l=x.N)!=null?l:H(k);if(e!=null){u.setAttribute("nonce",e)}f.insertBefore(u,c?c.nextSibling:f.firstChild)}}p=false;if(v.length){v.map((e=>e.connectedCallback()))}else{{x.jmp((()=>d=setTimeout(et,30)))}}n()};var dt=(e,t)=>t;var pt=e=>x.N=e;export{dt as F,C as H,Y as a,vt as b,ae as c,U as d,oe as g,_ as h,O as p,i as r,pt as s};
3
+ //# sourceMappingURL=p-a1e95a5f.js.map