@gov-design-system-ce/components 0.0.13 → 0.0.15

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 (1374) hide show
  1. package/LICENSE +21 -0
  2. package/package.json +1 -1
  3. package/readme.md +86 -0
  4. package/dist/cjs/Fragment-52846f79.js +0 -7
  5. package/dist/cjs/Fragment-52846f79.js.map +0 -1
  6. package/dist/cjs/constants-0488d137.js +0 -22
  7. package/dist/cjs/constants-0488d137.js.map +0 -1
  8. package/dist/cjs/constants-0883e74c.js +0 -30
  9. package/dist/cjs/constants-0883e74c.js.map +0 -1
  10. package/dist/cjs/constants-0c6c8e11.js +0 -30
  11. package/dist/cjs/constants-0c6c8e11.js.map +0 -1
  12. package/dist/cjs/constants-1490a5eb.js +0 -25
  13. package/dist/cjs/constants-1490a5eb.js.map +0 -1
  14. package/dist/cjs/constants-20b3f7ee.js +0 -28
  15. package/dist/cjs/constants-20b3f7ee.js.map +0 -1
  16. package/dist/cjs/constants-21559414.js +0 -29
  17. package/dist/cjs/constants-21559414.js.map +0 -1
  18. package/dist/cjs/constants-23b7a283.js +0 -33
  19. package/dist/cjs/constants-23b7a283.js.map +0 -1
  20. package/dist/cjs/constants-245999e7.js +0 -37
  21. package/dist/cjs/constants-245999e7.js.map +0 -1
  22. package/dist/cjs/constants-2b1c31b8.js +0 -15
  23. package/dist/cjs/constants-2b1c31b8.js.map +0 -1
  24. package/dist/cjs/constants-61f8be34.js +0 -26
  25. package/dist/cjs/constants-61f8be34.js.map +0 -1
  26. package/dist/cjs/constants-86fb4eb4.js +0 -19
  27. package/dist/cjs/constants-86fb4eb4.js.map +0 -1
  28. package/dist/cjs/constants-97eea364.js +0 -14
  29. package/dist/cjs/constants-97eea364.js.map +0 -1
  30. package/dist/cjs/constants-caad94b4.js +0 -16
  31. package/dist/cjs/constants-caad94b4.js.map +0 -1
  32. package/dist/cjs/constants-ded92f8a.js +0 -13
  33. package/dist/cjs/constants-ded92f8a.js.map +0 -1
  34. package/dist/cjs/constants-e47694c4.js +0 -19
  35. package/dist/cjs/constants-e47694c4.js.map +0 -1
  36. package/dist/cjs/constants-e8760a84.js +0 -20
  37. package/dist/cjs/constants-e8760a84.js.map +0 -1
  38. package/dist/cjs/core.cjs.js +0 -21
  39. package/dist/cjs/core.cjs.js.map +0 -1
  40. package/dist/cjs/form-9b8b1740.js +0 -150
  41. package/dist/cjs/form-9b8b1740.js.map +0 -1
  42. package/dist/cjs/gov-accordion-item.cjs.entry.js +0 -113
  43. package/dist/cjs/gov-accordion-item.cjs.entry.js.map +0 -1
  44. package/dist/cjs/gov-accordion.cjs.entry.js +0 -75
  45. package/dist/cjs/gov-accordion.cjs.entry.js.map +0 -1
  46. package/dist/cjs/gov-alert.cjs.entry.js +0 -58
  47. package/dist/cjs/gov-alert.cjs.entry.js.map +0 -1
  48. package/dist/cjs/gov-app.cjs.entry.js +0 -8304
  49. package/dist/cjs/gov-app.cjs.entry.js.map +0 -1
  50. package/dist/cjs/gov-attachments_3.cjs.entry.js +0 -120
  51. package/dist/cjs/gov-attachments_3.cjs.entry.js.map +0 -1
  52. package/dist/cjs/gov-backdrop.cjs.entry.js +0 -54
  53. package/dist/cjs/gov-backdrop.cjs.entry.js.map +0 -1
  54. package/dist/cjs/gov-badge.cjs.entry.js +0 -84
  55. package/dist/cjs/gov-badge.cjs.entry.js.map +0 -1
  56. package/dist/cjs/gov-breadcrumbs.cjs.entry.js +0 -50
  57. package/dist/cjs/gov-breadcrumbs.cjs.entry.js.map +0 -1
  58. package/dist/cjs/gov-button.cjs.entry.js +0 -155
  59. package/dist/cjs/gov-button.cjs.entry.js.map +0 -1
  60. package/dist/cjs/gov-card.cjs.entry.js +0 -112
  61. package/dist/cjs/gov-card.cjs.entry.js.map +0 -1
  62. package/dist/cjs/gov-container.cjs.entry.js +0 -36
  63. package/dist/cjs/gov-container.cjs.entry.js.map +0 -1
  64. package/dist/cjs/gov-cookiebar.cjs.entry.js +0 -33
  65. package/dist/cjs/gov-cookiebar.cjs.entry.js.map +0 -1
  66. package/dist/cjs/gov-empty.cjs.entry.js +0 -31
  67. package/dist/cjs/gov-empty.cjs.entry.js.map +0 -1
  68. package/dist/cjs/gov-error-code.cjs.entry.js +0 -31
  69. package/dist/cjs/gov-error-code.cjs.entry.js.map +0 -1
  70. package/dist/cjs/gov-form-autocomplete.cjs.entry.js +0 -177
  71. package/dist/cjs/gov-form-autocomplete.cjs.entry.js.map +0 -1
  72. package/dist/cjs/gov-form-checkbox.cjs.entry.js +0 -115
  73. package/dist/cjs/gov-form-checkbox.cjs.entry.js.map +0 -1
  74. package/dist/cjs/gov-form-control.cjs.entry.js +0 -100
  75. package/dist/cjs/gov-form-control.cjs.entry.js.map +0 -1
  76. package/dist/cjs/gov-form-file.cjs.entry.js +0 -187
  77. package/dist/cjs/gov-form-file.cjs.entry.js.map +0 -1
  78. package/dist/cjs/gov-form-group.cjs.entry.js +0 -43
  79. package/dist/cjs/gov-form-group.cjs.entry.js.map +0 -1
  80. package/dist/cjs/gov-form-input.cjs.entry.js +0 -151
  81. package/dist/cjs/gov-form-input.cjs.entry.js.map +0 -1
  82. package/dist/cjs/gov-form-label.cjs.entry.js +0 -30
  83. package/dist/cjs/gov-form-label.cjs.entry.js.map +0 -1
  84. package/dist/cjs/gov-form-multi-select.cjs.entry.js +0 -193
  85. package/dist/cjs/gov-form-multi-select.cjs.entry.js.map +0 -1
  86. package/dist/cjs/gov-form-password-power.cjs.entry.js +0 -28
  87. package/dist/cjs/gov-form-password-power.cjs.entry.js.map +0 -1
  88. package/dist/cjs/gov-form-radio.cjs.entry.js +0 -115
  89. package/dist/cjs/gov-form-radio.cjs.entry.js.map +0 -1
  90. package/dist/cjs/gov-form-search.cjs.entry.js +0 -28
  91. package/dist/cjs/gov-form-search.cjs.entry.js.map +0 -1
  92. package/dist/cjs/gov-form-select.cjs.entry.js +0 -124
  93. package/dist/cjs/gov-form-select.cjs.entry.js.map +0 -1
  94. package/dist/cjs/gov-form-switch.cjs.entry.js +0 -115
  95. package/dist/cjs/gov-form-switch.cjs.entry.js.map +0 -1
  96. package/dist/cjs/gov-grid-item.cjs.entry.js +0 -30
  97. package/dist/cjs/gov-grid-item.cjs.entry.js.map +0 -1
  98. package/dist/cjs/gov-grid.cjs.entry.js +0 -28
  99. package/dist/cjs/gov-grid.cjs.entry.js.map +0 -1
  100. package/dist/cjs/gov-icon.cjs.entry.js +0 -126
  101. package/dist/cjs/gov-icon.cjs.entry.js.map +0 -1
  102. package/dist/cjs/gov-layout-column.cjs.entry.js +0 -25
  103. package/dist/cjs/gov-layout-column.cjs.entry.js.map +0 -1
  104. package/dist/cjs/gov-layout.cjs.entry.js +0 -34
  105. package/dist/cjs/gov-layout.cjs.entry.js.map +0 -1
  106. package/dist/cjs/gov-loading.cjs.entry.js +0 -31
  107. package/dist/cjs/gov-loading.cjs.entry.js.map +0 -1
  108. package/dist/cjs/gov-message.cjs.entry.js +0 -43
  109. package/dist/cjs/gov-message.cjs.entry.js.map +0 -1
  110. package/dist/cjs/gov-modal.cjs.entry.js +0 -105
  111. package/dist/cjs/gov-modal.cjs.entry.js.map +0 -1
  112. package/dist/cjs/gov-nav-item.cjs.entry.js +0 -37
  113. package/dist/cjs/gov-nav-item.cjs.entry.js.map +0 -1
  114. package/dist/cjs/gov-nav.cjs.entry.js +0 -42
  115. package/dist/cjs/gov-nav.cjs.entry.js.map +0 -1
  116. package/dist/cjs/gov-pagination.cjs.entry.js +0 -209
  117. package/dist/cjs/gov-pagination.cjs.entry.js.map +0 -1
  118. package/dist/cjs/gov-prompt.cjs.entry.js +0 -105
  119. package/dist/cjs/gov-prompt.cjs.entry.js.map +0 -1
  120. package/dist/cjs/gov-side-nav-item.cjs.entry.js +0 -85
  121. package/dist/cjs/gov-side-nav-item.cjs.entry.js.map +0 -1
  122. package/dist/cjs/gov-side-nav.cjs.entry.js +0 -56
  123. package/dist/cjs/gov-side-nav.cjs.entry.js.map +0 -1
  124. package/dist/cjs/gov-spacer.cjs.entry.js +0 -57
  125. package/dist/cjs/gov-spacer.cjs.entry.js.map +0 -1
  126. package/dist/cjs/gov-statsbar-item.cjs.entry.js +0 -39
  127. package/dist/cjs/gov-statsbar-item.cjs.entry.js.map +0 -1
  128. package/dist/cjs/gov-statsbar.cjs.entry.js +0 -52
  129. package/dist/cjs/gov-statsbar.cjs.entry.js.map +0 -1
  130. package/dist/cjs/gov-stepper-item.cjs.entry.js +0 -77
  131. package/dist/cjs/gov-stepper-item.cjs.entry.js.map +0 -1
  132. package/dist/cjs/gov-stepper.cjs.entry.js +0 -50
  133. package/dist/cjs/gov-stepper.cjs.entry.js.map +0 -1
  134. package/dist/cjs/gov-tabs-item.cjs.entry.js +0 -53
  135. package/dist/cjs/gov-tabs-item.cjs.entry.js.map +0 -1
  136. package/dist/cjs/gov-tabs.cjs.entry.js +0 -189
  137. package/dist/cjs/gov-tabs.cjs.entry.js.map +0 -1
  138. package/dist/cjs/gov-tile.cjs.entry.js +0 -50
  139. package/dist/cjs/gov-tile.cjs.entry.js.map +0 -1
  140. package/dist/cjs/gov-tiles.cjs.entry.js +0 -33
  141. package/dist/cjs/gov-tiles.cjs.entry.js.map +0 -1
  142. package/dist/cjs/gov-toast.cjs.entry.js +0 -103
  143. package/dist/cjs/gov-toast.cjs.entry.js.map +0 -1
  144. package/dist/cjs/gov-tooltip-content.cjs.entry.js +0 -42
  145. package/dist/cjs/gov-tooltip-content.cjs.entry.js.map +0 -1
  146. package/dist/cjs/gov-tooltip.cjs.entry.js +0 -158
  147. package/dist/cjs/gov-tooltip.cjs.entry.js.map +0 -1
  148. package/dist/cjs/gov-wizzard-item.cjs.entry.js +0 -110
  149. package/dist/cjs/gov-wizzard-item.cjs.entry.js.map +0 -1
  150. package/dist/cjs/gov-wizzard.cjs.entry.js +0 -67
  151. package/dist/cjs/gov-wizzard.cjs.entry.js.map +0 -1
  152. package/dist/cjs/gov.log-0c9dca27.js +0 -20
  153. package/dist/cjs/gov.log-0c9dca27.js.map +0 -1
  154. package/dist/cjs/index-356717ae.js +0 -2263
  155. package/dist/cjs/index-356717ae.js.map +0 -1
  156. package/dist/cjs/index.cjs.js +0 -4
  157. package/dist/cjs/index.cjs.js.map +0 -1
  158. package/dist/cjs/loader.cjs.js +0 -23
  159. package/dist/cjs/loader.cjs.js.map +0 -1
  160. package/dist/cjs/props-5f82e4c0.js +0 -16
  161. package/dist/cjs/props-5f82e4c0.js.map +0 -1
  162. package/dist/cjs/sizes-79872c2a.js +0 -18
  163. package/dist/cjs/sizes-79872c2a.js.map +0 -1
  164. package/dist/cjs/string.utils-0f08c48c.js +0 -24
  165. package/dist/cjs/string.utils-0f08c48c.js.map +0 -1
  166. package/dist/cjs/template-e1c4ff78.js +0 -121
  167. package/dist/cjs/template-e1c4ff78.js.map +0 -1
  168. package/dist/cjs/utils-c9b1bba3.js +0 -41
  169. package/dist/cjs/utils-c9b1bba3.js.map +0 -1
  170. package/dist/cjs/variants-f5ffeef3.js +0 -18
  171. package/dist/cjs/variants-f5ffeef3.js.map +0 -1
  172. package/dist/cjs/wcag-6efc0ab7.js +0 -67
  173. package/dist/cjs/wcag-6efc0ab7.js.map +0 -1
  174. package/dist/cjs/win-84bda0aa.js +0 -26
  175. package/dist/cjs/win-84bda0aa.js.map +0 -1
  176. package/dist/collection/collection-manifest.json +0 -68
  177. package/dist/collection/components/gov-accordion/constants.js +0 -21
  178. package/dist/collection/components/gov-accordion/constants.js.map +0 -1
  179. package/dist/collection/components/gov-accordion/gov-accordion-item.css +0 -465
  180. package/dist/collection/components/gov-accordion/gov-accordion-item.d.js +0 -2
  181. package/dist/collection/components/gov-accordion/gov-accordion-item.d.js.map +0 -1
  182. package/dist/collection/components/gov-accordion/gov-accordion-item.js +0 -386
  183. package/dist/collection/components/gov-accordion/gov-accordion-item.js.map +0 -1
  184. package/dist/collection/components/gov-accordion/gov-accordion.css +0 -212
  185. package/dist/collection/components/gov-accordion/gov-accordion.js +0 -220
  186. package/dist/collection/components/gov-accordion/gov-accordion.js.map +0 -1
  187. package/dist/collection/components/gov-alert/constants.js +0 -11
  188. package/dist/collection/components/gov-alert/constants.js.map +0 -1
  189. package/dist/collection/components/gov-alert/gov-alert.css +0 -360
  190. package/dist/collection/components/gov-alert/gov-alert.js +0 -150
  191. package/dist/collection/components/gov-alert/gov-alert.js.map +0 -1
  192. package/dist/collection/components/gov-app/gov-app.css +0 -221
  193. package/dist/collection/components/gov-app/gov-app.js +0 -95
  194. package/dist/collection/components/gov-app/gov-app.js.map +0 -1
  195. package/dist/collection/components/gov-attachments/constants.js +0 -12
  196. package/dist/collection/components/gov-attachments/constants.js.map +0 -1
  197. package/dist/collection/components/gov-attachments/gov-attachments-item.css +0 -233
  198. package/dist/collection/components/gov-attachments/gov-attachments-item.d.js +0 -2
  199. package/dist/collection/components/gov-attachments/gov-attachments-item.d.js.map +0 -1
  200. package/dist/collection/components/gov-attachments/gov-attachments-item.js +0 -121
  201. package/dist/collection/components/gov-attachments/gov-attachments-item.js.map +0 -1
  202. package/dist/collection/components/gov-attachments/gov-attachments.css +0 -219
  203. package/dist/collection/components/gov-attachments/gov-attachments.js +0 -99
  204. package/dist/collection/components/gov-attachments/gov-attachments.js.map +0 -1
  205. package/dist/collection/components/gov-backdrop/constants.js +0 -5
  206. package/dist/collection/components/gov-backdrop/constants.js.map +0 -1
  207. package/dist/collection/components/gov-backdrop/gov-backdrop.css +0 -218
  208. package/dist/collection/components/gov-backdrop/gov-backdrop.js +0 -162
  209. package/dist/collection/components/gov-backdrop/gov-backdrop.js.map +0 -1
  210. package/dist/collection/components/gov-badge/constants.js +0 -13
  211. package/dist/collection/components/gov-badge/constants.js.map +0 -1
  212. package/dist/collection/components/gov-badge/gov-badge.css +0 -1184
  213. package/dist/collection/components/gov-badge/gov-badge.js +0 -284
  214. package/dist/collection/components/gov-badge/gov-badge.js.map +0 -1
  215. package/dist/collection/components/gov-breadcrumbs/constants.js +0 -4
  216. package/dist/collection/components/gov-breadcrumbs/constants.js.map +0 -1
  217. package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.css +0 -251
  218. package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.d.js +0 -2
  219. package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.d.js.map +0 -1
  220. package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.js +0 -160
  221. package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.js.map +0 -1
  222. package/dist/collection/components/gov-button/constants.js +0 -29
  223. package/dist/collection/components/gov-button/constants.js.map +0 -1
  224. package/dist/collection/components/gov-button/gov-button.css +0 -1117
  225. package/dist/collection/components/gov-button/gov-button.js +0 -794
  226. package/dist/collection/components/gov-button/gov-button.js.map +0 -1
  227. package/dist/collection/components/gov-card/constants.js +0 -14
  228. package/dist/collection/components/gov-card/constants.js.map +0 -1
  229. package/dist/collection/components/gov-card/gov-card.css +0 -349
  230. package/dist/collection/components/gov-card/gov-card.js +0 -307
  231. package/dist/collection/components/gov-card/gov-card.js.map +0 -1
  232. package/dist/collection/components/gov-card/interfaces.js +0 -2
  233. package/dist/collection/components/gov-card/interfaces.js.map +0 -1
  234. package/dist/collection/components/gov-container/constants.js +0 -4
  235. package/dist/collection/components/gov-container/constants.js.map +0 -1
  236. package/dist/collection/components/gov-container/gov-container.css +0 -219
  237. package/dist/collection/components/gov-container/gov-container.js +0 -58
  238. package/dist/collection/components/gov-container/gov-container.js.map +0 -1
  239. package/dist/collection/components/gov-cookiebar/constants.js +0 -9
  240. package/dist/collection/components/gov-cookiebar/constants.js.map +0 -1
  241. package/dist/collection/components/gov-cookiebar/gov-cookiebar.css +0 -261
  242. package/dist/collection/components/gov-cookiebar/gov-cookiebar.js +0 -24
  243. package/dist/collection/components/gov-cookiebar/gov-cookiebar.js.map +0 -1
  244. package/dist/collection/components/gov-empty/constants.js +0 -7
  245. package/dist/collection/components/gov-empty/constants.js.map +0 -1
  246. package/dist/collection/components/gov-empty/gov-empty.css +0 -227
  247. package/dist/collection/components/gov-empty/gov-empty.js +0 -24
  248. package/dist/collection/components/gov-empty/gov-empty.js.map +0 -1
  249. package/dist/collection/components/gov-error-code/constants.js +0 -7
  250. package/dist/collection/components/gov-error-code/constants.js.map +0 -1
  251. package/dist/collection/components/gov-error-code/gov-error-code.css +0 -242
  252. package/dist/collection/components/gov-error-code/gov-error-code.js +0 -24
  253. package/dist/collection/components/gov-error-code/gov-error-code.js.map +0 -1
  254. package/dist/collection/components/gov-form/autocomplete/constants.js +0 -11
  255. package/dist/collection/components/gov-form/autocomplete/constants.js.map +0 -1
  256. package/dist/collection/components/gov-form/autocomplete/gov-form-autocomplete.css +0 -254
  257. package/dist/collection/components/gov-form/autocomplete/gov-form-autocomplete.js +0 -660
  258. package/dist/collection/components/gov-form/autocomplete/gov-form-autocomplete.js.map +0 -1
  259. package/dist/collection/components/gov-form/autocomplete/gov-form-autocomplete.types.js +0 -2
  260. package/dist/collection/components/gov-form/autocomplete/gov-form-autocomplete.types.js.map +0 -1
  261. package/dist/collection/components/gov-form/checkbox/constants.js +0 -8
  262. package/dist/collection/components/gov-form/checkbox/constants.js.map +0 -1
  263. package/dist/collection/components/gov-form/checkbox/gov-form-checkbox.css +0 -369
  264. package/dist/collection/components/gov-form/checkbox/gov-form-checkbox.js +0 -397
  265. package/dist/collection/components/gov-form/checkbox/gov-form-checkbox.js.map +0 -1
  266. package/dist/collection/components/gov-form/checkbox/interfaces.js +0 -2
  267. package/dist/collection/components/gov-form/checkbox/interfaces.js.map +0 -1
  268. package/dist/collection/components/gov-form/control/constants.js +0 -9
  269. package/dist/collection/components/gov-form/control/constants.js.map +0 -1
  270. package/dist/collection/components/gov-form/control/gov-form-control.css +0 -263
  271. package/dist/collection/components/gov-form/control/gov-form-control.js +0 -234
  272. package/dist/collection/components/gov-form/control/gov-form-control.js.map +0 -1
  273. package/dist/collection/components/gov-form/file/constants.js +0 -10
  274. package/dist/collection/components/gov-form/file/constants.js.map +0 -1
  275. package/dist/collection/components/gov-form/file/gov-form-file.css +0 -266
  276. package/dist/collection/components/gov-form/file/gov-form-file.js +0 -555
  277. package/dist/collection/components/gov-form/file/gov-form-file.js.map +0 -1
  278. package/dist/collection/components/gov-form/file/gov-form-file.types.js +0 -2
  279. package/dist/collection/components/gov-form/file/gov-form-file.types.js.map +0 -1
  280. package/dist/collection/components/gov-form/group/constants.js +0 -7
  281. package/dist/collection/components/gov-form/group/constants.js.map +0 -1
  282. package/dist/collection/components/gov-form/group/gov-form-group.css +0 -223
  283. package/dist/collection/components/gov-form/group/gov-form-group.js +0 -65
  284. package/dist/collection/components/gov-form/group/gov-form-group.js.map +0 -1
  285. package/dist/collection/components/gov-form/input/constants.js +0 -29
  286. package/dist/collection/components/gov-form/input/constants.js.map +0 -1
  287. package/dist/collection/components/gov-form/input/gov-form-input.css +0 -434
  288. package/dist/collection/components/gov-form/input/gov-form-input.js +0 -801
  289. package/dist/collection/components/gov-form/input/gov-form-input.js.map +0 -1
  290. package/dist/collection/components/gov-form/label/constants.js +0 -8
  291. package/dist/collection/components/gov-form/label/constants.js.map +0 -1
  292. package/dist/collection/components/gov-form/label/gov-form-label.css +0 -250
  293. package/dist/collection/components/gov-form/label/gov-form-label.js +0 -128
  294. package/dist/collection/components/gov-form/label/gov-form-label.js.map +0 -1
  295. package/dist/collection/components/gov-form/message/constants.js +0 -9
  296. package/dist/collection/components/gov-form/message/constants.js.map +0 -1
  297. package/dist/collection/components/gov-form/message/gov-form-message.css +0 -234
  298. package/dist/collection/components/gov-form/message/gov-form-message.js +0 -93
  299. package/dist/collection/components/gov-form/message/gov-form-message.js.map +0 -1
  300. package/dist/collection/components/gov-form/multiselect/constants.js +0 -12
  301. package/dist/collection/components/gov-form/multiselect/constants.js.map +0 -1
  302. package/dist/collection/components/gov-form/multiselect/gov-form-multi-select.css +0 -494
  303. package/dist/collection/components/gov-form/multiselect/gov-form-multi-select.js +0 -544
  304. package/dist/collection/components/gov-form/multiselect/gov-form-multi-select.js.map +0 -1
  305. package/dist/collection/components/gov-form/multiselect/interfaces.js +0 -2
  306. package/dist/collection/components/gov-form/multiselect/interfaces.js.map +0 -1
  307. package/dist/collection/components/gov-form/password-power/constants.js +0 -6
  308. package/dist/collection/components/gov-form/password-power/constants.js.map +0 -1
  309. package/dist/collection/components/gov-form/password-power/gov-form-password-power.css +0 -246
  310. package/dist/collection/components/gov-form/password-power/gov-form-password-power.js +0 -43
  311. package/dist/collection/components/gov-form/password-power/gov-form-password-power.js.map +0 -1
  312. package/dist/collection/components/gov-form/radio/constants.js +0 -10
  313. package/dist/collection/components/gov-form/radio/constants.js.map +0 -1
  314. package/dist/collection/components/gov-form/radio/gov-form-radio.css +0 -368
  315. package/dist/collection/components/gov-form/radio/gov-form-radio.js +0 -397
  316. package/dist/collection/components/gov-form/radio/gov-form-radio.js.map +0 -1
  317. package/dist/collection/components/gov-form/radio/interfaces.js +0 -2
  318. package/dist/collection/components/gov-form/radio/interfaces.js.map +0 -1
  319. package/dist/collection/components/gov-form/search/constants.js +0 -6
  320. package/dist/collection/components/gov-form/search/constants.js.map +0 -1
  321. package/dist/collection/components/gov-form/search/gov-form-search.css +0 -241
  322. package/dist/collection/components/gov-form/search/gov-form-search.js +0 -20
  323. package/dist/collection/components/gov-form/search/gov-form-search.js.map +0 -1
  324. package/dist/collection/components/gov-form/select/constants.js +0 -10
  325. package/dist/collection/components/gov-form/select/constants.js.map +0 -1
  326. package/dist/collection/components/gov-form/select/gov-form-select.css +0 -453
  327. package/dist/collection/components/gov-form/select/gov-form-select.js +0 -497
  328. package/dist/collection/components/gov-form/select/gov-form-select.js.map +0 -1
  329. package/dist/collection/components/gov-form/switch/constants.js +0 -10
  330. package/dist/collection/components/gov-form/switch/constants.js.map +0 -1
  331. package/dist/collection/components/gov-form/switch/gov-form-switch.css +0 -384
  332. package/dist/collection/components/gov-form/switch/gov-form-switch.js +0 -397
  333. package/dist/collection/components/gov-form/switch/gov-form-switch.js.map +0 -1
  334. package/dist/collection/components/gov-form/switch/interfaces.js +0 -2
  335. package/dist/collection/components/gov-form/switch/interfaces.js.map +0 -1
  336. package/dist/collection/components/gov-grid/constants.js +0 -7
  337. package/dist/collection/components/gov-grid/constants.js.map +0 -1
  338. package/dist/collection/components/gov-grid/gov-grid-item.css +0 -453
  339. package/dist/collection/components/gov-grid/gov-grid-item.js +0 -119
  340. package/dist/collection/components/gov-grid/gov-grid-item.js.map +0 -1
  341. package/dist/collection/components/gov-grid/gov-grid.css +0 -228
  342. package/dist/collection/components/gov-grid/gov-grid.js +0 -65
  343. package/dist/collection/components/gov-grid/gov-grid.js.map +0 -1
  344. package/dist/collection/components/gov-icon/constants.js +0 -11
  345. package/dist/collection/components/gov-icon/constants.js.map +0 -1
  346. package/dist/collection/components/gov-icon/gov-icon.css +0 -213
  347. package/dist/collection/components/gov-icon/gov-icon.js +0 -135
  348. package/dist/collection/components/gov-icon/gov-icon.js.map +0 -1
  349. package/dist/collection/components/gov-icon/list.js +0 -238
  350. package/dist/collection/components/gov-icon/list.js.map +0 -1
  351. package/dist/collection/components/gov-layout/constants.js +0 -19
  352. package/dist/collection/components/gov-layout/constants.js.map +0 -1
  353. package/dist/collection/components/gov-layout/gov-layout-column.css +0 -208
  354. package/dist/collection/components/gov-layout/gov-layout-column.js +0 -24
  355. package/dist/collection/components/gov-layout/gov-layout-column.js.map +0 -1
  356. package/dist/collection/components/gov-layout/gov-layout.css +0 -254
  357. package/dist/collection/components/gov-layout/gov-layout.js +0 -100
  358. package/dist/collection/components/gov-layout/gov-layout.js.map +0 -1
  359. package/dist/collection/components/gov-loading/constants.js +0 -6
  360. package/dist/collection/components/gov-loading/constants.js.map +0 -1
  361. package/dist/collection/components/gov-loading/gov-loading.css +0 -232
  362. package/dist/collection/components/gov-loading/gov-loading.js +0 -47
  363. package/dist/collection/components/gov-loading/gov-loading.js.map +0 -1
  364. package/dist/collection/components/gov-message/constants.js +0 -10
  365. package/dist/collection/components/gov-message/constants.js.map +0 -1
  366. package/dist/collection/components/gov-message/gov-message.css +0 -291
  367. package/dist/collection/components/gov-message/gov-message.js +0 -63
  368. package/dist/collection/components/gov-message/gov-message.js.map +0 -1
  369. package/dist/collection/components/gov-modal/constants.js +0 -14
  370. package/dist/collection/components/gov-modal/constants.js.map +0 -1
  371. package/dist/collection/components/gov-modal/gov-modal.css +0 -316
  372. package/dist/collection/components/gov-modal/gov-modal.js +0 -331
  373. package/dist/collection/components/gov-modal/gov-modal.js.map +0 -1
  374. package/dist/collection/components/gov-nav/constants.js +0 -9
  375. package/dist/collection/components/gov-nav/constants.js.map +0 -1
  376. package/dist/collection/components/gov-nav/gov-nav-item.css +0 -260
  377. package/dist/collection/components/gov-nav/gov-nav-item.js +0 -68
  378. package/dist/collection/components/gov-nav/gov-nav-item.js.map +0 -1
  379. package/dist/collection/components/gov-nav/gov-nav.css +0 -226
  380. package/dist/collection/components/gov-nav/gov-nav.js +0 -97
  381. package/dist/collection/components/gov-nav/gov-nav.js.map +0 -1
  382. package/dist/collection/components/gov-pagination/constants.js +0 -21
  383. package/dist/collection/components/gov-pagination/constants.js.map +0 -1
  384. package/dist/collection/components/gov-pagination/gov-pagination.css +0 -366
  385. package/dist/collection/components/gov-pagination/gov-pagination.js +0 -436
  386. package/dist/collection/components/gov-pagination/gov-pagination.js.map +0 -1
  387. package/dist/collection/components/gov-pagination/pagination.js +0 -55
  388. package/dist/collection/components/gov-pagination/pagination.js.map +0 -1
  389. package/dist/collection/components/gov-promp/constants.js +0 -13
  390. package/dist/collection/components/gov-promp/constants.js.map +0 -1
  391. package/dist/collection/components/gov-promp/gov-prompt.css +0 -319
  392. package/dist/collection/components/gov-promp/gov-prompt.js +0 -331
  393. package/dist/collection/components/gov-promp/gov-prompt.js.map +0 -1
  394. package/dist/collection/components/gov-side-nav/constants.js +0 -16
  395. package/dist/collection/components/gov-side-nav/constants.js.map +0 -1
  396. package/dist/collection/components/gov-side-nav/gov-side-nav-item.css +0 -356
  397. package/dist/collection/components/gov-side-nav/gov-side-nav-item.d.js +0 -2
  398. package/dist/collection/components/gov-side-nav/gov-side-nav-item.d.js.map +0 -1
  399. package/dist/collection/components/gov-side-nav/gov-side-nav-item.js +0 -331
  400. package/dist/collection/components/gov-side-nav/gov-side-nav-item.js.map +0 -1
  401. package/dist/collection/components/gov-side-nav/gov-side-nav.css +0 -209
  402. package/dist/collection/components/gov-side-nav/gov-side-nav.js +0 -169
  403. package/dist/collection/components/gov-side-nav/gov-side-nav.js.map +0 -1
  404. package/dist/collection/components/gov-spacer/constants.js +0 -15
  405. package/dist/collection/components/gov-spacer/constants.js.map +0 -1
  406. package/dist/collection/components/gov-spacer/gov-spacer.css +0 -274
  407. package/dist/collection/components/gov-spacer/gov-spacer.js +0 -95
  408. package/dist/collection/components/gov-spacer/gov-spacer.js.map +0 -1
  409. package/dist/collection/components/gov-statsbar/constants.js +0 -18
  410. package/dist/collection/components/gov-statsbar/constants.js.map +0 -1
  411. package/dist/collection/components/gov-statsbar/gov-statsbar-item.css +0 -268
  412. package/dist/collection/components/gov-statsbar/gov-statsbar-item.js +0 -65
  413. package/dist/collection/components/gov-statsbar/gov-statsbar-item.js.map +0 -1
  414. package/dist/collection/components/gov-statsbar/gov-statsbar.css +0 -253
  415. package/dist/collection/components/gov-statsbar/gov-statsbar.js +0 -102
  416. package/dist/collection/components/gov-statsbar/gov-statsbar.js.map +0 -1
  417. package/dist/collection/components/gov-stepper/constants.js +0 -21
  418. package/dist/collection/components/gov-stepper/constants.js.map +0 -1
  419. package/dist/collection/components/gov-stepper/gov-stepper-item.css +0 -431
  420. package/dist/collection/components/gov-stepper/gov-stepper-item.d.js +0 -2
  421. package/dist/collection/components/gov-stepper/gov-stepper-item.d.js.map +0 -1
  422. package/dist/collection/components/gov-stepper/gov-stepper-item.js +0 -246
  423. package/dist/collection/components/gov-stepper/gov-stepper-item.js.map +0 -1
  424. package/dist/collection/components/gov-stepper/gov-stepper.css +0 -209
  425. package/dist/collection/components/gov-stepper/gov-stepper.js +0 -97
  426. package/dist/collection/components/gov-stepper/gov-stepper.js.map +0 -1
  427. package/dist/collection/components/gov-tabs/constants.js +0 -25
  428. package/dist/collection/components/gov-tabs/constants.js.map +0 -1
  429. package/dist/collection/components/gov-tabs/gov-tabs-item.css +0 -210
  430. package/dist/collection/components/gov-tabs/gov-tabs-item.js +0 -183
  431. package/dist/collection/components/gov-tabs/gov-tabs-item.js.map +0 -1
  432. package/dist/collection/components/gov-tabs/gov-tabs.css +0 -362
  433. package/dist/collection/components/gov-tabs/gov-tabs.js +0 -422
  434. package/dist/collection/components/gov-tabs/gov-tabs.js.map +0 -1
  435. package/dist/collection/components/gov-tabs/gov-tabs.types.js +0 -2
  436. package/dist/collection/components/gov-tabs/gov-tabs.types.js.map +0 -1
  437. package/dist/collection/components/gov-tile/constants.js +0 -10
  438. package/dist/collection/components/gov-tile/constants.js.map +0 -1
  439. package/dist/collection/components/gov-tile/container/constants.js +0 -4
  440. package/dist/collection/components/gov-tile/container/constants.js.map +0 -1
  441. package/dist/collection/components/gov-tile/container/gov-tiles.css +0 -291
  442. package/dist/collection/components/gov-tile/container/gov-tiles.js +0 -70
  443. package/dist/collection/components/gov-tile/container/gov-tiles.js.map +0 -1
  444. package/dist/collection/components/gov-tile/gov-tile.css +0 -307
  445. package/dist/collection/components/gov-tile/gov-tile.js +0 -99
  446. package/dist/collection/components/gov-tile/gov-tile.js.map +0 -1
  447. package/dist/collection/components/gov-toast/constants.js +0 -13
  448. package/dist/collection/components/gov-toast/constants.js.map +0 -1
  449. package/dist/collection/components/gov-toast/gov-toast.css +0 -375
  450. package/dist/collection/components/gov-toast/gov-toast.js +0 -267
  451. package/dist/collection/components/gov-toast/gov-toast.js.map +0 -1
  452. package/dist/collection/components/gov-tooltip/constants.js +0 -19
  453. package/dist/collection/components/gov-tooltip/constants.js.map +0 -1
  454. package/dist/collection/components/gov-tooltip/gov-tooltip-content.css +0 -305
  455. package/dist/collection/components/gov-tooltip/gov-tooltip-content.js +0 -63
  456. package/dist/collection/components/gov-tooltip/gov-tooltip-content.js.map +0 -1
  457. package/dist/collection/components/gov-tooltip/gov-tooltip.css +0 -234
  458. package/dist/collection/components/gov-tooltip/gov-tooltip.js +0 -322
  459. package/dist/collection/components/gov-tooltip/gov-tooltip.js.map +0 -1
  460. package/dist/collection/components/gov-wizzard/constants.js +0 -20
  461. package/dist/collection/components/gov-wizzard/constants.js.map +0 -1
  462. package/dist/collection/components/gov-wizzard/gov-wizzard-item.css +0 -422
  463. package/dist/collection/components/gov-wizzard/gov-wizzard-item.d.js +0 -2
  464. package/dist/collection/components/gov-wizzard/gov-wizzard-item.d.js.map +0 -1
  465. package/dist/collection/components/gov-wizzard/gov-wizzard-item.js +0 -381
  466. package/dist/collection/components/gov-wizzard/gov-wizzard-item.js.map +0 -1
  467. package/dist/collection/components/gov-wizzard/gov-wizzard.css +0 -212
  468. package/dist/collection/components/gov-wizzard/gov-wizzard.js +0 -168
  469. package/dist/collection/components/gov-wizzard/gov-wizzard.js.map +0 -1
  470. package/dist/collection/core/constants/sizes.js +0 -15
  471. package/dist/collection/core/constants/sizes.js.map +0 -1
  472. package/dist/collection/core/constants/tags.js +0 -14
  473. package/dist/collection/core/constants/tags.js.map +0 -1
  474. package/dist/collection/core/constants/variants.js +0 -15
  475. package/dist/collection/core/constants/variants.js.map +0 -1
  476. package/dist/collection/helpers/Dom/form.js +0 -72
  477. package/dist/collection/helpers/Dom/form.js.map +0 -1
  478. package/dist/collection/helpers/Dom/form.types.js +0 -2
  479. package/dist/collection/helpers/Dom/form.types.js.map +0 -1
  480. package/dist/collection/helpers/Dom/template.js +0 -110
  481. package/dist/collection/helpers/Dom/template.js.map +0 -1
  482. package/dist/collection/helpers/Dom/template.types.js +0 -2
  483. package/dist/collection/helpers/Dom/template.types.js.map +0 -1
  484. package/dist/collection/helpers/Dom/win.js +0 -18
  485. package/dist/collection/helpers/Dom/win.js.map +0 -1
  486. package/dist/collection/helpers/Fragment.js +0 -2
  487. package/dist/collection/helpers/Fragment.js.map +0 -1
  488. package/dist/collection/helpers/Log/gov.log.js +0 -14
  489. package/dist/collection/helpers/Log/gov.log.js.map +0 -1
  490. package/dist/collection/helpers/StorybookDocsTemplate.js +0 -9
  491. package/dist/collection/helpers/StorybookDocsTemplate.js.map +0 -1
  492. package/dist/collection/helpers/Validate/props.js +0 -10
  493. package/dist/collection/helpers/Validate/props.js.map +0 -1
  494. package/dist/collection/helpers/Validate/wcag.js +0 -58
  495. package/dist/collection/helpers/Validate/wcag.js.map +0 -1
  496. package/dist/collection/index.js +0 -2
  497. package/dist/collection/index.js.map +0 -1
  498. package/dist/collection/pages/Accordion.js +0 -349
  499. package/dist/collection/pages/Accordion.js.map +0 -1
  500. package/dist/collection/pages/Alert.js +0 -83
  501. package/dist/collection/pages/Alert.js.map +0 -1
  502. package/dist/collection/pages/Badge.js +0 -321
  503. package/dist/collection/pages/Badge.js.map +0 -1
  504. package/dist/collection/pages/Breadcrumbs.js +0 -36
  505. package/dist/collection/pages/Breadcrumbs.js.map +0 -1
  506. package/dist/collection/pages/Button.js +0 -1277
  507. package/dist/collection/pages/Button.js.map +0 -1
  508. package/dist/collection/pages/Card.js +0 -102
  509. package/dist/collection/pages/Card.js.map +0 -1
  510. package/dist/collection/pages/Container.js +0 -15
  511. package/dist/collection/pages/Container.js.map +0 -1
  512. package/dist/collection/pages/Cookiebar.js +0 -29
  513. package/dist/collection/pages/Cookiebar.js.map +0 -1
  514. package/dist/collection/pages/Empty.js +0 -43
  515. package/dist/collection/pages/Empty.js.map +0 -1
  516. package/dist/collection/pages/Error.js +0 -16
  517. package/dist/collection/pages/Error.js.map +0 -1
  518. package/dist/collection/pages/FormLabel.js +0 -13
  519. package/dist/collection/pages/FormLabel.js.map +0 -1
  520. package/dist/collection/pages/FormMessage.js +0 -82
  521. package/dist/collection/pages/FormMessage.js.map +0 -1
  522. package/dist/collection/pages/Forms.js +0 -1205
  523. package/dist/collection/pages/Forms.js.map +0 -1
  524. package/dist/collection/pages/FormsRestructure.js +0 -13
  525. package/dist/collection/pages/FormsRestructure.js.map +0 -1
  526. package/dist/collection/pages/Grid.js +0 -92
  527. package/dist/collection/pages/Grid.js.map +0 -1
  528. package/dist/collection/pages/Home.js +0 -9
  529. package/dist/collection/pages/Home.js.map +0 -1
  530. package/dist/collection/pages/Layout.js +0 -97
  531. package/dist/collection/pages/Layout.js.map +0 -1
  532. package/dist/collection/pages/Loading.js +0 -43
  533. package/dist/collection/pages/Loading.js.map +0 -1
  534. package/dist/collection/pages/Message.js +0 -94
  535. package/dist/collection/pages/Message.js.map +0 -1
  536. package/dist/collection/pages/Modal.js +0 -57
  537. package/dist/collection/pages/Modal.js.map +0 -1
  538. package/dist/collection/pages/Nav.js +0 -30
  539. package/dist/collection/pages/Nav.js.map +0 -1
  540. package/dist/collection/pages/Pagination.js +0 -38
  541. package/dist/collection/pages/Pagination.js.map +0 -1
  542. package/dist/collection/pages/Prompt.js +0 -48
  543. package/dist/collection/pages/Prompt.js.map +0 -1
  544. package/dist/collection/pages/SideNav.js +0 -117
  545. package/dist/collection/pages/SideNav.js.map +0 -1
  546. package/dist/collection/pages/Spacer.js +0 -19
  547. package/dist/collection/pages/Spacer.js.map +0 -1
  548. package/dist/collection/pages/Statsbar.js +0 -202
  549. package/dist/collection/pages/Statsbar.js.map +0 -1
  550. package/dist/collection/pages/Stepper.js +0 -85
  551. package/dist/collection/pages/Stepper.js.map +0 -1
  552. package/dist/collection/pages/Tabs.js +0 -323
  553. package/dist/collection/pages/Tabs.js.map +0 -1
  554. package/dist/collection/pages/Tiles.js +0 -119
  555. package/dist/collection/pages/Tiles.js.map +0 -1
  556. package/dist/collection/pages/ToastMessage.js +0 -47
  557. package/dist/collection/pages/ToastMessage.js.map +0 -1
  558. package/dist/collection/pages/ToastMessageCountdown.js +0 -47
  559. package/dist/collection/pages/ToastMessageCountdown.js.map +0 -1
  560. package/dist/collection/pages/Tooltip.js +0 -137
  561. package/dist/collection/pages/Tooltip.js.map +0 -1
  562. package/dist/collection/pages/Typography.js +0 -75
  563. package/dist/collection/pages/Typography.js.map +0 -1
  564. package/dist/collection/pages/Wizzard.js +0 -88
  565. package/dist/collection/pages/Wizzard.js.map +0 -1
  566. package/dist/collection/types/interfaces.js +0 -2
  567. package/dist/collection/types/interfaces.js.map +0 -1
  568. package/dist/collection/utils/array.utils.js +0 -2
  569. package/dist/collection/utils/array.utils.js.map +0 -1
  570. package/dist/collection/utils/bool.utils.js +0 -15
  571. package/dist/collection/utils/bool.utils.js.map +0 -1
  572. package/dist/collection/utils/ds.utils.js +0 -5
  573. package/dist/collection/utils/ds.utils.js.map +0 -1
  574. package/dist/collection/utils/file.utils.js +0 -26
  575. package/dist/collection/utils/file.utils.js.map +0 -1
  576. package/dist/collection/utils/icon.utils.js +0 -31
  577. package/dist/collection/utils/icon.utils.js.map +0 -1
  578. package/dist/collection/utils/number.utils.js +0 -4
  579. package/dist/collection/utils/number.utils.js.map +0 -1
  580. package/dist/collection/utils/string.utils.js +0 -17
  581. package/dist/collection/utils/string.utils.js.map +0 -1
  582. package/dist/collection/utils/utils.js +0 -35
  583. package/dist/collection/utils/utils.js.map +0 -1
  584. package/dist/components/Fragment.js +0 -5
  585. package/dist/components/Fragment.js.map +0 -1
  586. package/dist/components/constants.js +0 -25
  587. package/dist/components/constants.js.map +0 -1
  588. package/dist/components/constants10.js +0 -19
  589. package/dist/components/constants10.js.map +0 -1
  590. package/dist/components/constants11.js +0 -22
  591. package/dist/components/constants11.js.map +0 -1
  592. package/dist/components/constants12.js +0 -25
  593. package/dist/components/constants12.js.map +0 -1
  594. package/dist/components/constants13.js +0 -29
  595. package/dist/components/constants13.js.map +0 -1
  596. package/dist/components/constants14.js +0 -23
  597. package/dist/components/constants14.js.map +0 -1
  598. package/dist/components/constants15.js +0 -24
  599. package/dist/components/constants15.js.map +0 -1
  600. package/dist/components/constants2.js +0 -15
  601. package/dist/components/constants2.js.map +0 -1
  602. package/dist/components/constants3.js +0 -33
  603. package/dist/components/constants3.js.map +0 -1
  604. package/dist/components/constants4.js +0 -12
  605. package/dist/components/constants4.js.map +0 -1
  606. package/dist/components/constants5.js +0 -13
  607. package/dist/components/constants5.js.map +0 -1
  608. package/dist/components/constants6.js +0 -10
  609. package/dist/components/constants6.js.map +0 -1
  610. package/dist/components/constants7.js +0 -22
  611. package/dist/components/constants7.js.map +0 -1
  612. package/dist/components/constants8.js +0 -17
  613. package/dist/components/constants8.js.map +0 -1
  614. package/dist/components/constants9.js +0 -12
  615. package/dist/components/constants9.js.map +0 -1
  616. package/dist/components/form.js +0 -150
  617. package/dist/components/form.js.map +0 -1
  618. package/dist/components/gov-accordion-item.d.ts +0 -11
  619. package/dist/components/gov-accordion-item.js +0 -145
  620. package/dist/components/gov-accordion-item.js.map +0 -1
  621. package/dist/components/gov-accordion.d.ts +0 -11
  622. package/dist/components/gov-accordion.js +0 -93
  623. package/dist/components/gov-accordion.js.map +0 -1
  624. package/dist/components/gov-alert.d.ts +0 -11
  625. package/dist/components/gov-alert.js +0 -88
  626. package/dist/components/gov-alert.js.map +0 -1
  627. package/dist/components/gov-app.d.ts +0 -11
  628. package/dist/components/gov-app.js +0 -8318
  629. package/dist/components/gov-app.js.map +0 -1
  630. package/dist/components/gov-attachments-item.d.ts +0 -11
  631. package/dist/components/gov-attachments-item.js +0 -8
  632. package/dist/components/gov-attachments-item.js.map +0 -1
  633. package/dist/components/gov-attachments-item2.js +0 -70
  634. package/dist/components/gov-attachments-item2.js.map +0 -1
  635. package/dist/components/gov-attachments.d.ts +0 -11
  636. package/dist/components/gov-attachments.js +0 -8
  637. package/dist/components/gov-attachments.js.map +0 -1
  638. package/dist/components/gov-attachments2.js +0 -57
  639. package/dist/components/gov-attachments2.js.map +0 -1
  640. package/dist/components/gov-backdrop.d.ts +0 -11
  641. package/dist/components/gov-backdrop.js +0 -8
  642. package/dist/components/gov-backdrop.js.map +0 -1
  643. package/dist/components/gov-backdrop2.js +0 -69
  644. package/dist/components/gov-backdrop2.js.map +0 -1
  645. package/dist/components/gov-badge.d.ts +0 -11
  646. package/dist/components/gov-badge.js +0 -8
  647. package/dist/components/gov-badge.js.map +0 -1
  648. package/dist/components/gov-badge2.js +0 -101
  649. package/dist/components/gov-badge2.js.map +0 -1
  650. package/dist/components/gov-breadcrumbs.d.ts +0 -11
  651. package/dist/components/gov-breadcrumbs.js +0 -68
  652. package/dist/components/gov-breadcrumbs.js.map +0 -1
  653. package/dist/components/gov-button.d.ts +0 -11
  654. package/dist/components/gov-button.js +0 -8
  655. package/dist/components/gov-button.js.map +0 -1
  656. package/dist/components/gov-button2.js +0 -202
  657. package/dist/components/gov-button2.js.map +0 -1
  658. package/dist/components/gov-card.d.ts +0 -11
  659. package/dist/components/gov-card.js +0 -144
  660. package/dist/components/gov-card.js.map +0 -1
  661. package/dist/components/gov-container.d.ts +0 -11
  662. package/dist/components/gov-container.js +0 -52
  663. package/dist/components/gov-container.js.map +0 -1
  664. package/dist/components/gov-cookiebar.d.ts +0 -11
  665. package/dist/components/gov-cookiebar.js +0 -47
  666. package/dist/components/gov-cookiebar.js.map +0 -1
  667. package/dist/components/gov-empty.d.ts +0 -11
  668. package/dist/components/gov-empty.js +0 -45
  669. package/dist/components/gov-empty.js.map +0 -1
  670. package/dist/components/gov-error-code.d.ts +0 -11
  671. package/dist/components/gov-error-code.js +0 -45
  672. package/dist/components/gov-error-code.js.map +0 -1
  673. package/dist/components/gov-form-autocomplete.d.ts +0 -11
  674. package/dist/components/gov-form-autocomplete.js +0 -8
  675. package/dist/components/gov-form-autocomplete.js.map +0 -1
  676. package/dist/components/gov-form-autocomplete2.js +0 -223
  677. package/dist/components/gov-form-autocomplete2.js.map +0 -1
  678. package/dist/components/gov-form-checkbox.d.ts +0 -11
  679. package/dist/components/gov-form-checkbox.js +0 -142
  680. package/dist/components/gov-form-checkbox.js.map +0 -1
  681. package/dist/components/gov-form-control.d.ts +0 -11
  682. package/dist/components/gov-form-control.js +0 -115
  683. package/dist/components/gov-form-control.js.map +0 -1
  684. package/dist/components/gov-form-file.d.ts +0 -11
  685. package/dist/components/gov-form-file.js +0 -243
  686. package/dist/components/gov-form-file.js.map +0 -1
  687. package/dist/components/gov-form-group.d.ts +0 -11
  688. package/dist/components/gov-form-group.js +0 -58
  689. package/dist/components/gov-form-group.js.map +0 -1
  690. package/dist/components/gov-form-input.d.ts +0 -11
  691. package/dist/components/gov-form-input.js +0 -8
  692. package/dist/components/gov-form-input.js.map +0 -1
  693. package/dist/components/gov-form-input2.js +0 -194
  694. package/dist/components/gov-form-input2.js.map +0 -1
  695. package/dist/components/gov-form-label.d.ts +0 -11
  696. package/dist/components/gov-form-label.js +0 -47
  697. package/dist/components/gov-form-label.js.map +0 -1
  698. package/dist/components/gov-form-message.d.ts +0 -11
  699. package/dist/components/gov-form-message.js +0 -8
  700. package/dist/components/gov-form-message.js.map +0 -1
  701. package/dist/components/gov-form-message2.js +0 -58
  702. package/dist/components/gov-form-message2.js.map +0 -1
  703. package/dist/components/gov-form-multi-select.d.ts +0 -11
  704. package/dist/components/gov-form-multi-select.js +0 -247
  705. package/dist/components/gov-form-multi-select.js.map +0 -1
  706. package/dist/components/gov-form-password-power.d.ts +0 -11
  707. package/dist/components/gov-form-password-power.js +0 -44
  708. package/dist/components/gov-form-password-power.js.map +0 -1
  709. package/dist/components/gov-form-radio.d.ts +0 -11
  710. package/dist/components/gov-form-radio.js +0 -136
  711. package/dist/components/gov-form-radio.js.map +0 -1
  712. package/dist/components/gov-form-search.d.ts +0 -11
  713. package/dist/components/gov-form-search.js +0 -42
  714. package/dist/components/gov-form-search.js.map +0 -1
  715. package/dist/components/gov-form-select.d.ts +0 -11
  716. package/dist/components/gov-form-select.js +0 -8
  717. package/dist/components/gov-form-select.js.map +0 -1
  718. package/dist/components/gov-form-select2.js +0 -153
  719. package/dist/components/gov-form-select2.js.map +0 -1
  720. package/dist/components/gov-form-switch.d.ts +0 -11
  721. package/dist/components/gov-form-switch.js +0 -136
  722. package/dist/components/gov-form-switch.js.map +0 -1
  723. package/dist/components/gov-grid-item.d.ts +0 -11
  724. package/dist/components/gov-grid-item.js +0 -50
  725. package/dist/components/gov-grid-item.js.map +0 -1
  726. package/dist/components/gov-grid.d.ts +0 -11
  727. package/dist/components/gov-grid.js +0 -45
  728. package/dist/components/gov-grid.js.map +0 -1
  729. package/dist/components/gov-icon.d.ts +0 -11
  730. package/dist/components/gov-icon.js +0 -8
  731. package/dist/components/gov-icon.js.map +0 -1
  732. package/dist/components/gov-icon2.js +0 -142
  733. package/dist/components/gov-icon2.js.map +0 -1
  734. package/dist/components/gov-layout-column.d.ts +0 -11
  735. package/dist/components/gov-layout-column.js +0 -39
  736. package/dist/components/gov-layout-column.js.map +0 -1
  737. package/dist/components/gov-layout.d.ts +0 -11
  738. package/dist/components/gov-layout.js +0 -52
  739. package/dist/components/gov-layout.js.map +0 -1
  740. package/dist/components/gov-loading.d.ts +0 -11
  741. package/dist/components/gov-loading.js +0 -59
  742. package/dist/components/gov-loading.js.map +0 -1
  743. package/dist/components/gov-message.d.ts +0 -11
  744. package/dist/components/gov-message.js +0 -58
  745. package/dist/components/gov-message.js.map +0 -1
  746. package/dist/components/gov-modal.d.ts +0 -11
  747. package/dist/components/gov-modal.js +0 -150
  748. package/dist/components/gov-modal.js.map +0 -1
  749. package/dist/components/gov-nav-item.d.ts +0 -11
  750. package/dist/components/gov-nav-item.js +0 -54
  751. package/dist/components/gov-nav-item.js.map +0 -1
  752. package/dist/components/gov-nav.d.ts +0 -11
  753. package/dist/components/gov-nav.js +0 -58
  754. package/dist/components/gov-nav.js.map +0 -1
  755. package/dist/components/gov-pagination.d.ts +0 -11
  756. package/dist/components/gov-pagination.js +0 -256
  757. package/dist/components/gov-pagination.js.map +0 -1
  758. package/dist/components/gov-prompt.d.ts +0 -11
  759. package/dist/components/gov-prompt.js +0 -150
  760. package/dist/components/gov-prompt.js.map +0 -1
  761. package/dist/components/gov-side-nav-item.d.ts +0 -11
  762. package/dist/components/gov-side-nav-item.js +0 -125
  763. package/dist/components/gov-side-nav-item.js.map +0 -1
  764. package/dist/components/gov-side-nav.d.ts +0 -11
  765. package/dist/components/gov-side-nav.js +0 -74
  766. package/dist/components/gov-side-nav.js.map +0 -1
  767. package/dist/components/gov-spacer.d.ts +0 -11
  768. package/dist/components/gov-spacer.js +0 -73
  769. package/dist/components/gov-spacer.js.map +0 -1
  770. package/dist/components/gov-statsbar-item.d.ts +0 -11
  771. package/dist/components/gov-statsbar-item.js +0 -52
  772. package/dist/components/gov-statsbar-item.js.map +0 -1
  773. package/dist/components/gov-statsbar.d.ts +0 -11
  774. package/dist/components/gov-statsbar.js +0 -66
  775. package/dist/components/gov-statsbar.js.map +0 -1
  776. package/dist/components/gov-stepper-item.d.ts +0 -11
  777. package/dist/components/gov-stepper-item.js +0 -97
  778. package/dist/components/gov-stepper-item.js.map +0 -1
  779. package/dist/components/gov-stepper.d.ts +0 -11
  780. package/dist/components/gov-stepper.js +0 -62
  781. package/dist/components/gov-stepper.js.map +0 -1
  782. package/dist/components/gov-tabs-item.d.ts +0 -11
  783. package/dist/components/gov-tabs-item.js +0 -74
  784. package/dist/components/gov-tabs-item.js.map +0 -1
  785. package/dist/components/gov-tabs.d.ts +0 -11
  786. package/dist/components/gov-tabs.js +0 -233
  787. package/dist/components/gov-tabs.js.map +0 -1
  788. package/dist/components/gov-tile.d.ts +0 -11
  789. package/dist/components/gov-tile.js +0 -74
  790. package/dist/components/gov-tile.js.map +0 -1
  791. package/dist/components/gov-tiles.d.ts +0 -11
  792. package/dist/components/gov-tiles.js +0 -50
  793. package/dist/components/gov-tiles.js.map +0 -1
  794. package/dist/components/gov-toast.d.ts +0 -11
  795. package/dist/components/gov-toast.js +0 -137
  796. package/dist/components/gov-toast.js.map +0 -1
  797. package/dist/components/gov-tooltip-content.d.ts +0 -11
  798. package/dist/components/gov-tooltip-content.js +0 -55
  799. package/dist/components/gov-tooltip-content.js.map +0 -1
  800. package/dist/components/gov-tooltip.d.ts +0 -11
  801. package/dist/components/gov-tooltip.js +0 -177
  802. package/dist/components/gov-tooltip.js.map +0 -1
  803. package/dist/components/gov-wizzard-item.d.ts +0 -11
  804. package/dist/components/gov-wizzard-item.js +0 -142
  805. package/dist/components/gov-wizzard-item.js.map +0 -1
  806. package/dist/components/gov-wizzard.d.ts +0 -11
  807. package/dist/components/gov-wizzard.js +0 -82
  808. package/dist/components/gov-wizzard.js.map +0 -1
  809. package/dist/components/gov.log.js +0 -17
  810. package/dist/components/gov.log.js.map +0 -1
  811. package/dist/components/index.d.ts +0 -78
  812. package/dist/components/index.js +0 -60
  813. package/dist/components/index.js.map +0 -1
  814. package/dist/components/props.js +0 -14
  815. package/dist/components/props.js.map +0 -1
  816. package/dist/components/sizes.js +0 -18
  817. package/dist/components/sizes.js.map +0 -1
  818. package/dist/components/string.utils.js +0 -20
  819. package/dist/components/string.utils.js.map +0 -1
  820. package/dist/components/template.js +0 -113
  821. package/dist/components/template.js.map +0 -1
  822. package/dist/components/utils.js +0 -35
  823. package/dist/components/utils.js.map +0 -1
  824. package/dist/components/variants.js +0 -18
  825. package/dist/components/variants.js.map +0 -1
  826. package/dist/components/wcag.js +0 -62
  827. package/dist/components/wcag.js.map +0 -1
  828. package/dist/components/win.js +0 -22
  829. package/dist/components/win.js.map +0 -1
  830. package/dist/core/core.css +0 -1
  831. package/dist/core/core.esm.js +0 -2
  832. package/dist/core/core.esm.js.map +0 -1
  833. package/dist/core/index.esm.js +0 -2
  834. package/dist/core/index.esm.js.map +0 -1
  835. package/dist/core/p-00e1e600.entry.js +0 -2
  836. package/dist/core/p-00e1e600.entry.js.map +0 -1
  837. package/dist/core/p-01bdd4a4.entry.js +0 -2
  838. package/dist/core/p-01bdd4a4.entry.js.map +0 -1
  839. package/dist/core/p-03990da5.js +0 -2
  840. package/dist/core/p-03990da5.js.map +0 -1
  841. package/dist/core/p-1020a160.js +0 -2
  842. package/dist/core/p-1020a160.js.map +0 -1
  843. package/dist/core/p-16608a87.entry.js +0 -2
  844. package/dist/core/p-16608a87.entry.js.map +0 -1
  845. package/dist/core/p-1bb5184f.entry.js +0 -2
  846. package/dist/core/p-1bb5184f.entry.js.map +0 -1
  847. package/dist/core/p-1c1d0bbe.js +0 -2
  848. package/dist/core/p-1c1d0bbe.js.map +0 -1
  849. package/dist/core/p-24636c53.js +0 -2
  850. package/dist/core/p-24636c53.js.map +0 -1
  851. package/dist/core/p-24cde59e.entry.js +0 -2
  852. package/dist/core/p-24cde59e.entry.js.map +0 -1
  853. package/dist/core/p-25380da6.entry.js +0 -2
  854. package/dist/core/p-25380da6.entry.js.map +0 -1
  855. package/dist/core/p-26acf964.js +0 -2
  856. package/dist/core/p-26acf964.js.map +0 -1
  857. package/dist/core/p-3464136c.js +0 -2
  858. package/dist/core/p-3464136c.js.map +0 -1
  859. package/dist/core/p-364b4792.js +0 -2
  860. package/dist/core/p-364b4792.js.map +0 -1
  861. package/dist/core/p-36be8f6e.js +0 -2
  862. package/dist/core/p-36be8f6e.js.map +0 -1
  863. package/dist/core/p-3e9ba1c1.entry.js +0 -2
  864. package/dist/core/p-3e9ba1c1.entry.js.map +0 -1
  865. package/dist/core/p-3f37ddb6.js +0 -2
  866. package/dist/core/p-3f37ddb6.js.map +0 -1
  867. package/dist/core/p-404f469e.js +0 -2
  868. package/dist/core/p-404f469e.js.map +0 -1
  869. package/dist/core/p-45485d1c.js +0 -2
  870. package/dist/core/p-45485d1c.js.map +0 -1
  871. package/dist/core/p-49853c5a.entry.js +0 -2
  872. package/dist/core/p-49853c5a.entry.js.map +0 -1
  873. package/dist/core/p-4b375a4d.entry.js +0 -2
  874. package/dist/core/p-4b375a4d.entry.js.map +0 -1
  875. package/dist/core/p-4d73d70e.entry.js +0 -2
  876. package/dist/core/p-4d73d70e.entry.js.map +0 -1
  877. package/dist/core/p-4e12d6e3.entry.js +0 -2
  878. package/dist/core/p-4e12d6e3.entry.js.map +0 -1
  879. package/dist/core/p-533bd158.entry.js +0 -2
  880. package/dist/core/p-533bd158.entry.js.map +0 -1
  881. package/dist/core/p-55500e5a.js +0 -2
  882. package/dist/core/p-55500e5a.js.map +0 -1
  883. package/dist/core/p-561fa17b.js +0 -2
  884. package/dist/core/p-561fa17b.js.map +0 -1
  885. package/dist/core/p-595a2301.entry.js +0 -2
  886. package/dist/core/p-595a2301.entry.js.map +0 -1
  887. package/dist/core/p-5b2e8e04.entry.js +0 -2
  888. package/dist/core/p-5b2e8e04.entry.js.map +0 -1
  889. package/dist/core/p-5b4e3bdf.entry.js +0 -2
  890. package/dist/core/p-5b4e3bdf.entry.js.map +0 -1
  891. package/dist/core/p-5defdc5e.js +0 -2
  892. package/dist/core/p-5defdc5e.js.map +0 -1
  893. package/dist/core/p-6278531b.js +0 -2
  894. package/dist/core/p-6278531b.js.map +0 -1
  895. package/dist/core/p-63d2e8ec.entry.js +0 -2
  896. package/dist/core/p-63d2e8ec.entry.js.map +0 -1
  897. package/dist/core/p-64ced668.js +0 -2
  898. package/dist/core/p-64ced668.js.map +0 -1
  899. package/dist/core/p-682c7cc6.js +0 -3
  900. package/dist/core/p-682c7cc6.js.map +0 -1
  901. package/dist/core/p-68d968ac.entry.js +0 -2
  902. package/dist/core/p-68d968ac.entry.js.map +0 -1
  903. package/dist/core/p-71e57780.entry.js +0 -2
  904. package/dist/core/p-71e57780.entry.js.map +0 -1
  905. package/dist/core/p-72f16a95.entry.js +0 -2
  906. package/dist/core/p-72f16a95.entry.js.map +0 -1
  907. package/dist/core/p-733bd593.entry.js +0 -2
  908. package/dist/core/p-733bd593.entry.js.map +0 -1
  909. package/dist/core/p-7670f834.entry.js +0 -2
  910. package/dist/core/p-7670f834.entry.js.map +0 -1
  911. package/dist/core/p-7684f6d0.entry.js +0 -2
  912. package/dist/core/p-7684f6d0.entry.js.map +0 -1
  913. package/dist/core/p-7be3abb5.entry.js +0 -2
  914. package/dist/core/p-7be3abb5.entry.js.map +0 -1
  915. package/dist/core/p-80e30702.js +0 -2
  916. package/dist/core/p-80e30702.js.map +0 -1
  917. package/dist/core/p-833ab414.entry.js +0 -2
  918. package/dist/core/p-833ab414.entry.js.map +0 -1
  919. package/dist/core/p-84fda9dd.entry.js +0 -2
  920. package/dist/core/p-84fda9dd.entry.js.map +0 -1
  921. package/dist/core/p-8a8d846c.entry.js +0 -2
  922. package/dist/core/p-8a8d846c.entry.js.map +0 -1
  923. package/dist/core/p-8d5c9030.entry.js +0 -2
  924. package/dist/core/p-8d5c9030.entry.js.map +0 -1
  925. package/dist/core/p-8dacc8dc.entry.js +0 -2
  926. package/dist/core/p-8dacc8dc.entry.js.map +0 -1
  927. package/dist/core/p-9144dde1.js +0 -2
  928. package/dist/core/p-9144dde1.js.map +0 -1
  929. package/dist/core/p-9658b6ef.entry.js +0 -2
  930. package/dist/core/p-9658b6ef.entry.js.map +0 -1
  931. package/dist/core/p-99155ec0.entry.js +0 -2
  932. package/dist/core/p-99155ec0.entry.js.map +0 -1
  933. package/dist/core/p-9ba104c3.entry.js +0 -2
  934. package/dist/core/p-9ba104c3.entry.js.map +0 -1
  935. package/dist/core/p-9ca0a11c.entry.js +0 -2
  936. package/dist/core/p-9ca0a11c.entry.js.map +0 -1
  937. package/dist/core/p-9cd80b05.js +0 -2
  938. package/dist/core/p-9cd80b05.js.map +0 -1
  939. package/dist/core/p-9d30e79e.entry.js +0 -2
  940. package/dist/core/p-9d30e79e.entry.js.map +0 -1
  941. package/dist/core/p-9d51ea56.entry.js +0 -2
  942. package/dist/core/p-9d51ea56.entry.js.map +0 -1
  943. package/dist/core/p-9dd1bbdd.entry.js +0 -2
  944. package/dist/core/p-9dd1bbdd.entry.js.map +0 -1
  945. package/dist/core/p-a5d69694.js +0 -2
  946. package/dist/core/p-a5d69694.js.map +0 -1
  947. package/dist/core/p-a5e34e93.entry.js +0 -2
  948. package/dist/core/p-a5e34e93.entry.js.map +0 -1
  949. package/dist/core/p-a6c8d474.entry.js +0 -2
  950. package/dist/core/p-a6c8d474.entry.js.map +0 -1
  951. package/dist/core/p-a6d14a47.js +0 -2
  952. package/dist/core/p-a6d14a47.js.map +0 -1
  953. package/dist/core/p-ac33c5ef.entry.js +0 -2
  954. package/dist/core/p-ac33c5ef.entry.js.map +0 -1
  955. package/dist/core/p-ae3e2d60.entry.js +0 -2
  956. package/dist/core/p-ae3e2d60.entry.js.map +0 -1
  957. package/dist/core/p-b308500e.entry.js +0 -2
  958. package/dist/core/p-b308500e.entry.js.map +0 -1
  959. package/dist/core/p-b37ca132.entry.js +0 -2
  960. package/dist/core/p-b37ca132.entry.js.map +0 -1
  961. package/dist/core/p-b5284ce3.entry.js +0 -2
  962. package/dist/core/p-b5284ce3.entry.js.map +0 -1
  963. package/dist/core/p-b966062a.entry.js +0 -2
  964. package/dist/core/p-b966062a.entry.js.map +0 -1
  965. package/dist/core/p-c0d3d3e0.entry.js +0 -2
  966. package/dist/core/p-c0d3d3e0.entry.js.map +0 -1
  967. package/dist/core/p-c20102ff.js +0 -2
  968. package/dist/core/p-c20102ff.js.map +0 -1
  969. package/dist/core/p-c9948e57.entry.js +0 -2
  970. package/dist/core/p-c9948e57.entry.js.map +0 -1
  971. package/dist/core/p-cd869237.js +0 -2
  972. package/dist/core/p-cd869237.js.map +0 -1
  973. package/dist/core/p-cf6576fd.entry.js +0 -2
  974. package/dist/core/p-cf6576fd.entry.js.map +0 -1
  975. package/dist/core/p-d2d8998d.entry.js +0 -2
  976. package/dist/core/p-d2d8998d.entry.js.map +0 -1
  977. package/dist/core/p-e57d250f.entry.js +0 -2
  978. package/dist/core/p-e57d250f.entry.js.map +0 -1
  979. package/dist/core/p-e86bffd0.entry.js +0 -2
  980. package/dist/core/p-e86bffd0.entry.js.map +0 -1
  981. package/dist/core/p-ef095a1f.entry.js +0 -2
  982. package/dist/core/p-ef095a1f.entry.js.map +0 -1
  983. package/dist/core/p-ef79904e.js +0 -2
  984. package/dist/core/p-ef79904e.js.map +0 -1
  985. package/dist/core/p-f1fe9358.entry.js +0 -2
  986. package/dist/core/p-f1fe9358.entry.js.map +0 -1
  987. package/dist/core/p-f48fd266.entry.js +0 -2
  988. package/dist/core/p-f48fd266.entry.js.map +0 -1
  989. package/dist/core/p-f531f5c4.entry.js +0 -2
  990. package/dist/core/p-f531f5c4.entry.js.map +0 -1
  991. package/dist/core/p-f687452c.js +0 -2
  992. package/dist/core/p-f687452c.js.map +0 -1
  993. package/dist/core/p-fac1c202.entry.js +0 -2
  994. package/dist/core/p-fac1c202.entry.js.map +0 -1
  995. package/dist/core/p-fc9d66ae.entry.js +0 -2
  996. package/dist/core/p-fc9d66ae.entry.js.map +0 -1
  997. package/dist/core/p-ff7365ae.js +0 -2
  998. package/dist/core/p-ff7365ae.js.map +0 -1
  999. package/dist/core/p-ffb7495c.js +0 -2
  1000. package/dist/core/p-ffb7495c.js.map +0 -1
  1001. package/dist/custom-elements/index.d.ts +0 -381
  1002. package/dist/custom-elements/index.js +0 -2
  1003. package/dist/custom-elements/index.js.map +0 -1
  1004. package/dist/esm/Fragment-8d8d54fb.js +0 -5
  1005. package/dist/esm/Fragment-8d8d54fb.js.map +0 -1
  1006. package/dist/esm/constants-037c35bc.js +0 -22
  1007. package/dist/esm/constants-037c35bc.js.map +0 -1
  1008. package/dist/esm/constants-136d4cd3.js +0 -16
  1009. package/dist/esm/constants-136d4cd3.js.map +0 -1
  1010. package/dist/esm/constants-24dad929.js +0 -29
  1011. package/dist/esm/constants-24dad929.js.map +0 -1
  1012. package/dist/esm/constants-2b14bb01.js +0 -10
  1013. package/dist/esm/constants-2b14bb01.js.map +0 -1
  1014. package/dist/esm/constants-2e8258cf.js +0 -15
  1015. package/dist/esm/constants-2e8258cf.js.map +0 -1
  1016. package/dist/esm/constants-3786b01b.js +0 -22
  1017. package/dist/esm/constants-3786b01b.js.map +0 -1
  1018. package/dist/esm/constants-3df712e2.js +0 -13
  1019. package/dist/esm/constants-3df712e2.js.map +0 -1
  1020. package/dist/esm/constants-45f6db4c.js +0 -33
  1021. package/dist/esm/constants-45f6db4c.js.map +0 -1
  1022. package/dist/esm/constants-78474786.js +0 -25
  1023. package/dist/esm/constants-78474786.js.map +0 -1
  1024. package/dist/esm/constants-ab132d9c.js +0 -25
  1025. package/dist/esm/constants-ab132d9c.js.map +0 -1
  1026. package/dist/esm/constants-ba13b28f.js +0 -17
  1027. package/dist/esm/constants-ba13b28f.js.map +0 -1
  1028. package/dist/esm/constants-bf5a583f.js +0 -24
  1029. package/dist/esm/constants-bf5a583f.js.map +0 -1
  1030. package/dist/esm/constants-d71c09e0.js +0 -12
  1031. package/dist/esm/constants-d71c09e0.js.map +0 -1
  1032. package/dist/esm/constants-ebec7de8.js +0 -12
  1033. package/dist/esm/constants-ebec7de8.js.map +0 -1
  1034. package/dist/esm/constants-f5c21493.js +0 -19
  1035. package/dist/esm/constants-f5c21493.js.map +0 -1
  1036. package/dist/esm/constants-f7b618c2.js +0 -23
  1037. package/dist/esm/constants-f7b618c2.js.map +0 -1
  1038. package/dist/esm/core.js +0 -19
  1039. package/dist/esm/core.js.map +0 -1
  1040. package/dist/esm/form-669a7180.js +0 -135
  1041. package/dist/esm/form-669a7180.js.map +0 -1
  1042. package/dist/esm/gov-accordion-item.entry.js +0 -109
  1043. package/dist/esm/gov-accordion-item.entry.js.map +0 -1
  1044. package/dist/esm/gov-accordion.entry.js +0 -71
  1045. package/dist/esm/gov-accordion.entry.js.map +0 -1
  1046. package/dist/esm/gov-alert.entry.js +0 -54
  1047. package/dist/esm/gov-alert.entry.js.map +0 -1
  1048. package/dist/esm/gov-app.entry.js +0 -8300
  1049. package/dist/esm/gov-app.entry.js.map +0 -1
  1050. package/dist/esm/gov-attachments_3.entry.js +0 -114
  1051. package/dist/esm/gov-attachments_3.entry.js.map +0 -1
  1052. package/dist/esm/gov-backdrop.entry.js +0 -50
  1053. package/dist/esm/gov-backdrop.entry.js.map +0 -1
  1054. package/dist/esm/gov-badge.entry.js +0 -80
  1055. package/dist/esm/gov-badge.entry.js.map +0 -1
  1056. package/dist/esm/gov-breadcrumbs.entry.js +0 -46
  1057. package/dist/esm/gov-breadcrumbs.entry.js.map +0 -1
  1058. package/dist/esm/gov-button.entry.js +0 -151
  1059. package/dist/esm/gov-button.entry.js.map +0 -1
  1060. package/dist/esm/gov-card.entry.js +0 -108
  1061. package/dist/esm/gov-card.entry.js.map +0 -1
  1062. package/dist/esm/gov-container.entry.js +0 -32
  1063. package/dist/esm/gov-container.entry.js.map +0 -1
  1064. package/dist/esm/gov-cookiebar.entry.js +0 -29
  1065. package/dist/esm/gov-cookiebar.entry.js.map +0 -1
  1066. package/dist/esm/gov-empty.entry.js +0 -27
  1067. package/dist/esm/gov-empty.entry.js.map +0 -1
  1068. package/dist/esm/gov-error-code.entry.js +0 -27
  1069. package/dist/esm/gov-error-code.entry.js.map +0 -1
  1070. package/dist/esm/gov-form-autocomplete.entry.js +0 -173
  1071. package/dist/esm/gov-form-autocomplete.entry.js.map +0 -1
  1072. package/dist/esm/gov-form-checkbox.entry.js +0 -111
  1073. package/dist/esm/gov-form-checkbox.entry.js.map +0 -1
  1074. package/dist/esm/gov-form-control.entry.js +0 -96
  1075. package/dist/esm/gov-form-control.entry.js.map +0 -1
  1076. package/dist/esm/gov-form-file.entry.js +0 -183
  1077. package/dist/esm/gov-form-file.entry.js.map +0 -1
  1078. package/dist/esm/gov-form-group.entry.js +0 -39
  1079. package/dist/esm/gov-form-group.entry.js.map +0 -1
  1080. package/dist/esm/gov-form-input.entry.js +0 -147
  1081. package/dist/esm/gov-form-input.entry.js.map +0 -1
  1082. package/dist/esm/gov-form-label.entry.js +0 -26
  1083. package/dist/esm/gov-form-label.entry.js.map +0 -1
  1084. package/dist/esm/gov-form-multi-select.entry.js +0 -189
  1085. package/dist/esm/gov-form-multi-select.entry.js.map +0 -1
  1086. package/dist/esm/gov-form-password-power.entry.js +0 -24
  1087. package/dist/esm/gov-form-password-power.entry.js.map +0 -1
  1088. package/dist/esm/gov-form-radio.entry.js +0 -111
  1089. package/dist/esm/gov-form-radio.entry.js.map +0 -1
  1090. package/dist/esm/gov-form-search.entry.js +0 -24
  1091. package/dist/esm/gov-form-search.entry.js.map +0 -1
  1092. package/dist/esm/gov-form-select.entry.js +0 -120
  1093. package/dist/esm/gov-form-select.entry.js.map +0 -1
  1094. package/dist/esm/gov-form-switch.entry.js +0 -111
  1095. package/dist/esm/gov-form-switch.entry.js.map +0 -1
  1096. package/dist/esm/gov-grid-item.entry.js +0 -26
  1097. package/dist/esm/gov-grid-item.entry.js.map +0 -1
  1098. package/dist/esm/gov-grid.entry.js +0 -24
  1099. package/dist/esm/gov-grid.entry.js.map +0 -1
  1100. package/dist/esm/gov-icon.entry.js +0 -122
  1101. package/dist/esm/gov-icon.entry.js.map +0 -1
  1102. package/dist/esm/gov-layout-column.entry.js +0 -21
  1103. package/dist/esm/gov-layout-column.entry.js.map +0 -1
  1104. package/dist/esm/gov-layout.entry.js +0 -30
  1105. package/dist/esm/gov-layout.entry.js.map +0 -1
  1106. package/dist/esm/gov-loading.entry.js +0 -27
  1107. package/dist/esm/gov-loading.entry.js.map +0 -1
  1108. package/dist/esm/gov-message.entry.js +0 -39
  1109. package/dist/esm/gov-message.entry.js.map +0 -1
  1110. package/dist/esm/gov-modal.entry.js +0 -101
  1111. package/dist/esm/gov-modal.entry.js.map +0 -1
  1112. package/dist/esm/gov-nav-item.entry.js +0 -33
  1113. package/dist/esm/gov-nav-item.entry.js.map +0 -1
  1114. package/dist/esm/gov-nav.entry.js +0 -38
  1115. package/dist/esm/gov-nav.entry.js.map +0 -1
  1116. package/dist/esm/gov-pagination.entry.js +0 -205
  1117. package/dist/esm/gov-pagination.entry.js.map +0 -1
  1118. package/dist/esm/gov-prompt.entry.js +0 -101
  1119. package/dist/esm/gov-prompt.entry.js.map +0 -1
  1120. package/dist/esm/gov-side-nav-item.entry.js +0 -81
  1121. package/dist/esm/gov-side-nav-item.entry.js.map +0 -1
  1122. package/dist/esm/gov-side-nav.entry.js +0 -52
  1123. package/dist/esm/gov-side-nav.entry.js.map +0 -1
  1124. package/dist/esm/gov-spacer.entry.js +0 -53
  1125. package/dist/esm/gov-spacer.entry.js.map +0 -1
  1126. package/dist/esm/gov-statsbar-item.entry.js +0 -35
  1127. package/dist/esm/gov-statsbar-item.entry.js.map +0 -1
  1128. package/dist/esm/gov-statsbar.entry.js +0 -48
  1129. package/dist/esm/gov-statsbar.entry.js.map +0 -1
  1130. package/dist/esm/gov-stepper-item.entry.js +0 -73
  1131. package/dist/esm/gov-stepper-item.entry.js.map +0 -1
  1132. package/dist/esm/gov-stepper.entry.js +0 -46
  1133. package/dist/esm/gov-stepper.entry.js.map +0 -1
  1134. package/dist/esm/gov-tabs-item.entry.js +0 -49
  1135. package/dist/esm/gov-tabs-item.entry.js.map +0 -1
  1136. package/dist/esm/gov-tabs.entry.js +0 -185
  1137. package/dist/esm/gov-tabs.entry.js.map +0 -1
  1138. package/dist/esm/gov-tile.entry.js +0 -46
  1139. package/dist/esm/gov-tile.entry.js.map +0 -1
  1140. package/dist/esm/gov-tiles.entry.js +0 -29
  1141. package/dist/esm/gov-tiles.entry.js.map +0 -1
  1142. package/dist/esm/gov-toast.entry.js +0 -99
  1143. package/dist/esm/gov-toast.entry.js.map +0 -1
  1144. package/dist/esm/gov-tooltip-content.entry.js +0 -38
  1145. package/dist/esm/gov-tooltip-content.entry.js.map +0 -1
  1146. package/dist/esm/gov-tooltip.entry.js +0 -154
  1147. package/dist/esm/gov-tooltip.entry.js.map +0 -1
  1148. package/dist/esm/gov-wizzard-item.entry.js +0 -106
  1149. package/dist/esm/gov-wizzard-item.entry.js.map +0 -1
  1150. package/dist/esm/gov-wizzard.entry.js +0 -63
  1151. package/dist/esm/gov-wizzard.entry.js.map +0 -1
  1152. package/dist/esm/gov.log-af905420.js +0 -17
  1153. package/dist/esm/gov.log-af905420.js.map +0 -1
  1154. package/dist/esm/index-00e9a0d5.js +0 -2234
  1155. package/dist/esm/index-00e9a0d5.js.map +0 -1
  1156. package/dist/esm/index.js +0 -3
  1157. package/dist/esm/index.js.map +0 -1
  1158. package/dist/esm/loader.js +0 -19
  1159. package/dist/esm/loader.js.map +0 -1
  1160. package/dist/esm/polyfills/core-js.js +0 -11
  1161. package/dist/esm/polyfills/css-shim.js +0 -1
  1162. package/dist/esm/polyfills/dom.js +0 -79
  1163. package/dist/esm/polyfills/es5-html-element.js +0 -1
  1164. package/dist/esm/polyfills/index.js +0 -34
  1165. package/dist/esm/polyfills/system.js +0 -6
  1166. package/dist/esm/props-789f7529.js +0 -14
  1167. package/dist/esm/props-789f7529.js.map +0 -1
  1168. package/dist/esm/sizes-6c5943b4.js +0 -18
  1169. package/dist/esm/sizes-6c5943b4.js.map +0 -1
  1170. package/dist/esm/string.utils-f268fc6b.js +0 -20
  1171. package/dist/esm/string.utils-f268fc6b.js.map +0 -1
  1172. package/dist/esm/template-10332292.js +0 -113
  1173. package/dist/esm/template-10332292.js.map +0 -1
  1174. package/dist/esm/utils-c057a3fa.js +0 -35
  1175. package/dist/esm/utils-c057a3fa.js.map +0 -1
  1176. package/dist/esm/variants-2b936d58.js +0 -18
  1177. package/dist/esm/variants-2b936d58.js.map +0 -1
  1178. package/dist/esm/wcag-3792d4bb.js +0 -62
  1179. package/dist/esm/wcag-3792d4bb.js.map +0 -1
  1180. package/dist/esm/win-9c8460bb.js +0 -22
  1181. package/dist/esm/win-9c8460bb.js.map +0 -1
  1182. package/dist/globals.d.ts +0 -2
  1183. package/dist/hydrate/index.d.ts +0 -217
  1184. package/dist/hydrate/index.js +0 -19935
  1185. package/dist/hydrate/package.json +0 -6
  1186. package/dist/index.cjs.js +0 -1
  1187. package/dist/index.js +0 -1
  1188. package/dist/stencil.config.js +0 -68
  1189. package/dist/stencil.config.js.map +0 -1
  1190. package/dist/types/Users/iwory/iWork/asseco/mv/gov-design-system-ce/packages/core/.stencil/packages/core/stencil.config.d.ts +0 -2
  1191. package/dist/types/components/gov-accordion/constants.d.ts +0 -22
  1192. package/dist/types/components/gov-accordion/gov-accordion-item.d.d.ts +0 -4
  1193. package/dist/types/components/gov-accordion/gov-accordion-item.d.ts +0 -75
  1194. package/dist/types/components/gov-accordion/gov-accordion.d.ts +0 -42
  1195. package/dist/types/components/gov-alert/constants.d.ts +0 -11
  1196. package/dist/types/components/gov-alert/gov-alert.d.ts +0 -30
  1197. package/dist/types/components/gov-app/gov-app.d.ts +0 -38
  1198. package/dist/types/components/gov-attachments/constants.d.ts +0 -11
  1199. package/dist/types/components/gov-attachments/gov-attachments-item.d.d.ts +0 -4
  1200. package/dist/types/components/gov-attachments/gov-attachments-item.d.ts +0 -24
  1201. package/dist/types/components/gov-attachments/gov-attachments.d.ts +0 -19
  1202. package/dist/types/components/gov-backdrop/constants.d.ts +0 -4
  1203. package/dist/types/components/gov-backdrop/gov-backdrop.d.ts +0 -32
  1204. package/dist/types/components/gov-badge/constants.d.ts +0 -13
  1205. package/dist/types/components/gov-badge/gov-badge.d.ts +0 -58
  1206. package/dist/types/components/gov-breadcrumbs/constants.d.ts +0 -3
  1207. package/dist/types/components/gov-breadcrumbs/gov-breadcrumbs.d.d.ts +0 -4
  1208. package/dist/types/components/gov-breadcrumbs/gov-breadcrumbs.d.ts +0 -33
  1209. package/dist/types/components/gov-button/constants.d.ts +0 -30
  1210. package/dist/types/components/gov-button/gov-button.d.ts +0 -167
  1211. package/dist/types/components/gov-card/constants.d.ts +0 -13
  1212. package/dist/types/components/gov-card/gov-card.d.ts +0 -60
  1213. package/dist/types/components/gov-card/interfaces.d.ts +0 -4
  1214. package/dist/types/components/gov-container/constants.d.ts +0 -3
  1215. package/dist/types/components/gov-container/gov-container.d.ts +0 -12
  1216. package/dist/types/components/gov-cookiebar/constants.d.ts +0 -8
  1217. package/dist/types/components/gov-cookiebar/gov-cookiebar.d.ts +0 -7
  1218. package/dist/types/components/gov-empty/constants.d.ts +0 -6
  1219. package/dist/types/components/gov-empty/gov-empty.d.ts +0 -6
  1220. package/dist/types/components/gov-error-code/constants.d.ts +0 -6
  1221. package/dist/types/components/gov-error-code/gov-error-code.d.ts +0 -6
  1222. package/dist/types/components/gov-form/autocomplete/constants.d.ts +0 -12
  1223. package/dist/types/components/gov-form/autocomplete/gov-form-autocomplete.d.ts +0 -132
  1224. package/dist/types/components/gov-form/autocomplete/gov-form-autocomplete.types.d.ts +0 -3
  1225. package/dist/types/components/gov-form/checkbox/constants.d.ts +0 -8
  1226. package/dist/types/components/gov-form/checkbox/gov-form-checkbox.d.ts +0 -82
  1227. package/dist/types/components/gov-form/checkbox/interfaces.d.ts +0 -4
  1228. package/dist/types/components/gov-form/control/constants.d.ts +0 -9
  1229. package/dist/types/components/gov-form/control/gov-form-control.d.ts +0 -47
  1230. package/dist/types/components/gov-form/file/constants.d.ts +0 -9
  1231. package/dist/types/components/gov-form/file/gov-form-file.d.ts +0 -114
  1232. package/dist/types/components/gov-form/file/gov-form-file.types.d.ts +0 -6
  1233. package/dist/types/components/gov-form/group/constants.d.ts +0 -7
  1234. package/dist/types/components/gov-form/group/gov-form-group.d.ts +0 -13
  1235. package/dist/types/components/gov-form/input/constants.d.ts +0 -30
  1236. package/dist/types/components/gov-form/input/gov-form-input.d.ts +0 -165
  1237. package/dist/types/components/gov-form/label/constants.d.ts +0 -8
  1238. package/dist/types/components/gov-form/label/gov-form-label.d.ts +0 -26
  1239. package/dist/types/components/gov-form/message/constants.d.ts +0 -9
  1240. package/dist/types/components/gov-form/message/gov-form-message.d.ts +0 -19
  1241. package/dist/types/components/gov-form/multiselect/constants.d.ts +0 -13
  1242. package/dist/types/components/gov-form/multiselect/gov-form-multi-select.d.ts +0 -105
  1243. package/dist/types/components/gov-form/multiselect/interfaces.d.ts +0 -4
  1244. package/dist/types/components/gov-form/password-power/constants.d.ts +0 -5
  1245. package/dist/types/components/gov-form/password-power/gov-form-password-power.d.ts +0 -7
  1246. package/dist/types/components/gov-form/radio/constants.d.ts +0 -10
  1247. package/dist/types/components/gov-form/radio/gov-form-radio.d.ts +0 -82
  1248. package/dist/types/components/gov-form/radio/interfaces.d.ts +0 -4
  1249. package/dist/types/components/gov-form/search/constants.d.ts +0 -5
  1250. package/dist/types/components/gov-form/search/gov-form-search.d.ts +0 -4
  1251. package/dist/types/components/gov-form/select/constants.d.ts +0 -11
  1252. package/dist/types/components/gov-form/select/gov-form-select.d.ts +0 -101
  1253. package/dist/types/components/gov-form/switch/constants.d.ts +0 -10
  1254. package/dist/types/components/gov-form/switch/gov-form-switch.d.ts +0 -82
  1255. package/dist/types/components/gov-form/switch/interfaces.d.ts +0 -4
  1256. package/dist/types/components/gov-grid/constants.d.ts +0 -6
  1257. package/dist/types/components/gov-grid/gov-grid-item.d.ts +0 -26
  1258. package/dist/types/components/gov-grid/gov-grid.d.ts +0 -14
  1259. package/dist/types/components/gov-icon/constants.d.ts +0 -12
  1260. package/dist/types/components/gov-icon/gov-icon.d.ts +0 -24
  1261. package/dist/types/components/gov-icon/list.d.ts +0 -3
  1262. package/dist/types/components/gov-layout/constants.d.ts +0 -20
  1263. package/dist/types/components/gov-layout/gov-layout-column.d.ts +0 -6
  1264. package/dist/types/components/gov-layout/gov-layout.d.ts +0 -20
  1265. package/dist/types/components/gov-loading/constants.d.ts +0 -5
  1266. package/dist/types/components/gov-loading/gov-loading.d.ts +0 -10
  1267. package/dist/types/components/gov-message/constants.d.ts +0 -10
  1268. package/dist/types/components/gov-message/gov-message.d.ts +0 -12
  1269. package/dist/types/components/gov-modal/constants.d.ts +0 -13
  1270. package/dist/types/components/gov-modal/gov-modal.d.ts +0 -65
  1271. package/dist/types/components/gov-nav/constants.d.ts +0 -8
  1272. package/dist/types/components/gov-nav/gov-nav-item.d.ts +0 -12
  1273. package/dist/types/components/gov-nav/gov-nav.d.ts +0 -17
  1274. package/dist/types/components/gov-pagination/constants.d.ts +0 -22
  1275. package/dist/types/components/gov-pagination/gov-pagination.d.ts +0 -85
  1276. package/dist/types/components/gov-pagination/pagination.d.ts +0 -12
  1277. package/dist/types/components/gov-promp/constants.d.ts +0 -12
  1278. package/dist/types/components/gov-promp/gov-prompt.d.ts +0 -65
  1279. package/dist/types/components/gov-side-nav/constants.d.ts +0 -15
  1280. package/dist/types/components/gov-side-nav/gov-side-nav-item.d.d.ts +0 -4
  1281. package/dist/types/components/gov-side-nav/gov-side-nav-item.d.ts +0 -67
  1282. package/dist/types/components/gov-side-nav/gov-side-nav.d.ts +0 -32
  1283. package/dist/types/components/gov-spacer/constants.d.ts +0 -15
  1284. package/dist/types/components/gov-spacer/gov-spacer.d.ts +0 -18
  1285. package/dist/types/components/gov-statsbar/constants.d.ts +0 -18
  1286. package/dist/types/components/gov-statsbar/gov-statsbar-item.d.ts +0 -14
  1287. package/dist/types/components/gov-statsbar/gov-statsbar.d.ts +0 -19
  1288. package/dist/types/components/gov-stepper/constants.d.ts +0 -22
  1289. package/dist/types/components/gov-stepper/gov-stepper-item.d.d.ts +0 -4
  1290. package/dist/types/components/gov-stepper/gov-stepper-item.d.ts +0 -48
  1291. package/dist/types/components/gov-stepper/gov-stepper.d.ts +0 -20
  1292. package/dist/types/components/gov-tabs/constants.d.ts +0 -25
  1293. package/dist/types/components/gov-tabs/gov-tabs-item.d.ts +0 -37
  1294. package/dist/types/components/gov-tabs/gov-tabs.d.ts +0 -73
  1295. package/dist/types/components/gov-tabs/gov-tabs.types.d.ts +0 -8
  1296. package/dist/types/components/gov-tile/constants.d.ts +0 -9
  1297. package/dist/types/components/gov-tile/container/constants.d.ts +0 -3
  1298. package/dist/types/components/gov-tile/container/gov-tiles.d.ts +0 -15
  1299. package/dist/types/components/gov-tile/gov-tile.d.ts +0 -20
  1300. package/dist/types/components/gov-toast/constants.d.ts +0 -14
  1301. package/dist/types/components/gov-toast/gov-toast.d.ts +0 -55
  1302. package/dist/types/components/gov-tooltip/constants.d.ts +0 -20
  1303. package/dist/types/components/gov-tooltip/gov-tooltip-content.d.ts +0 -10
  1304. package/dist/types/components/gov-tooltip/gov-tooltip.d.ts +0 -50
  1305. package/dist/types/components/gov-wizzard/constants.d.ts +0 -21
  1306. package/dist/types/components/gov-wizzard/gov-wizzard-item.d.d.ts +0 -4
  1307. package/dist/types/components/gov-wizzard/gov-wizzard-item.d.ts +0 -73
  1308. package/dist/types/components/gov-wizzard/gov-wizzard.d.ts +0 -33
  1309. package/dist/types/components.d.ts +0 -3947
  1310. package/dist/types/core/constants/sizes.d.ts +0 -13
  1311. package/dist/types/core/constants/tags.d.ts +0 -12
  1312. package/dist/types/core/constants/variants.d.ts +0 -12
  1313. package/dist/types/helpers/Dom/form.d.ts +0 -3
  1314. package/dist/types/helpers/Dom/form.types.d.ts +0 -11
  1315. package/dist/types/helpers/Dom/template.d.ts +0 -10
  1316. package/dist/types/helpers/Dom/template.types.d.ts +0 -12
  1317. package/dist/types/helpers/Dom/win.d.ts +0 -9
  1318. package/dist/types/helpers/Fragment.d.ts +0 -2
  1319. package/dist/types/helpers/Log/gov.log.d.ts +0 -8
  1320. package/dist/types/helpers/StorybookDocsTemplate.d.ts +0 -3
  1321. package/dist/types/helpers/Validate/props.d.ts +0 -1
  1322. package/dist/types/helpers/Validate/wcag.d.ts +0 -4
  1323. package/dist/types/index.d.ts +0 -1
  1324. package/dist/types/pages/Accordion.d.ts +0 -3
  1325. package/dist/types/pages/Alert.d.ts +0 -3
  1326. package/dist/types/pages/Badge.d.ts +0 -3
  1327. package/dist/types/pages/Breadcrumbs.d.ts +0 -3
  1328. package/dist/types/pages/Button.d.ts +0 -3
  1329. package/dist/types/pages/Card.d.ts +0 -3
  1330. package/dist/types/pages/Container.d.ts +0 -3
  1331. package/dist/types/pages/Cookiebar.d.ts +0 -3
  1332. package/dist/types/pages/Empty.d.ts +0 -3
  1333. package/dist/types/pages/Error.d.ts +0 -3
  1334. package/dist/types/pages/FormLabel.d.ts +0 -3
  1335. package/dist/types/pages/FormMessage.d.ts +0 -3
  1336. package/dist/types/pages/Forms.d.ts +0 -8
  1337. package/dist/types/pages/FormsRestructure.d.ts +0 -3
  1338. package/dist/types/pages/Grid.d.ts +0 -3
  1339. package/dist/types/pages/Home.d.ts +0 -3
  1340. package/dist/types/pages/Layout.d.ts +0 -3
  1341. package/dist/types/pages/Loading.d.ts +0 -3
  1342. package/dist/types/pages/Message.d.ts +0 -3
  1343. package/dist/types/pages/Modal.d.ts +0 -3
  1344. package/dist/types/pages/Nav.d.ts +0 -3
  1345. package/dist/types/pages/Pagination.d.ts +0 -3
  1346. package/dist/types/pages/Prompt.d.ts +0 -3
  1347. package/dist/types/pages/SideNav.d.ts +0 -3
  1348. package/dist/types/pages/Spacer.d.ts +0 -3
  1349. package/dist/types/pages/Statsbar.d.ts +0 -3
  1350. package/dist/types/pages/Stepper.d.ts +0 -3
  1351. package/dist/types/pages/Tabs.d.ts +0 -3
  1352. package/dist/types/pages/Tiles.d.ts +0 -3
  1353. package/dist/types/pages/ToastMessage.d.ts +0 -3
  1354. package/dist/types/pages/ToastMessageCountdown.d.ts +0 -3
  1355. package/dist/types/pages/Tooltip.d.ts +0 -3
  1356. package/dist/types/pages/Typography.d.ts +0 -3
  1357. package/dist/types/pages/Wizzard.d.ts +0 -3
  1358. package/dist/types/stencil-public-runtime.d.ts +0 -1581
  1359. package/dist/types/types/interfaces.d.ts +0 -2
  1360. package/dist/types/types/typings.d.ts +0 -6
  1361. package/dist/types/utils/array.utils.d.ts +0 -1
  1362. package/dist/types/utils/bool.utils.d.ts +0 -1
  1363. package/dist/types/utils/ds.utils.d.ts +0 -1
  1364. package/dist/types/utils/file.utils.d.ts +0 -3
  1365. package/dist/types/utils/icon.utils.d.ts +0 -4
  1366. package/dist/types/utils/number.utils.d.ts +0 -1
  1367. package/dist/types/utils/string.utils.d.ts +0 -3
  1368. package/dist/types/utils/utils.d.ts +0 -20
  1369. package/loader/cdn.js +0 -3
  1370. package/loader/index.cjs.js +0 -3
  1371. package/loader/index.d.ts +0 -12
  1372. package/loader/index.es2017.js +0 -3
  1373. package/loader/index.js +0 -4
  1374. package/loader/package.json +0 -11
@@ -1,2263 +0,0 @@
1
- 'use strict';
2
-
3
- function _interopNamespace(e) {
4
- if (e && e.__esModule) return e;
5
- var n = Object.create(null);
6
- if (e) {
7
- Object.keys(e).forEach(function (k) {
8
- if (k !== 'default') {
9
- var d = Object.getOwnPropertyDescriptor(e, k);
10
- Object.defineProperty(n, k, d.get ? d : {
11
- enumerable: true,
12
- get: function () {
13
- return e[k];
14
- }
15
- });
16
- }
17
- });
18
- }
19
- n['default'] = e;
20
- return Object.freeze(n);
21
- }
22
-
23
- const NAMESPACE = 'core';
24
-
25
- /**
26
- * Virtual DOM patching algorithm based on Snabbdom by
27
- * Simon Friis Vindum (@paldepind)
28
- * Licensed under the MIT License
29
- * https://github.com/snabbdom/snabbdom/blob/master/LICENSE
30
- *
31
- * Modified for Stencil's renderer and slot projection
32
- */
33
- let contentRef;
34
- let hostTagName;
35
- let useNativeShadowDom = false;
36
- let checkSlotFallbackVisibility = false;
37
- let checkSlotRelocate = false;
38
- let isSvgMode = false;
39
- let queuePending = false;
40
- const getAssetPath = (path) => {
41
- const assetUrl = new URL(path, plt.$resourcesUrl$);
42
- return assetUrl.origin !== win.location.origin ? assetUrl.href : assetUrl.pathname;
43
- };
44
- const createTime = (fnName, tagName = '') => {
45
- {
46
- return () => {
47
- return;
48
- };
49
- }
50
- };
51
- const uniqueTime = (key, measureText) => {
52
- {
53
- return () => {
54
- return;
55
- };
56
- }
57
- };
58
- const CONTENT_REF_ID = 'r';
59
- const ORG_LOCATION_ID = 'o';
60
- const SLOT_NODE_ID = 's';
61
- const TEXT_NODE_ID = 't';
62
- const HYDRATE_ID = 's-id';
63
- const HYDRATED_STYLE_ID = 'sty-id';
64
- const HYDRATE_CHILD_ID = 'c-id';
65
- const HYDRATED_CSS = '{visibility:hidden}.hydrated{visibility:inherit}';
66
- /**
67
- * Default style mode id
68
- */
69
- /**
70
- * Reusable empty obj/array
71
- * Don't add values to these!!
72
- */
73
- const EMPTY_OBJ = {};
74
- const isComplexType = (o) => {
75
- // https://jsperf.com/typeof-fn-object/5
76
- o = typeof o;
77
- return o === 'object' || o === 'function';
78
- };
79
- /**
80
- * Production h() function based on Preact by
81
- * Jason Miller (@developit)
82
- * Licensed under the MIT License
83
- * https://github.com/developit/preact/blob/master/LICENSE
84
- *
85
- * Modified for Stencil's compiler and vdom
86
- */
87
- // const stack: any[] = [];
88
- // export function h(nodeName: string | d.FunctionalComponent, vnodeData: d.PropsType, child?: d.ChildType): d.VNode;
89
- // export function h(nodeName: string | d.FunctionalComponent, vnodeData: d.PropsType, ...children: d.ChildType[]): d.VNode;
90
- const h = (nodeName, vnodeData, ...children) => {
91
- let child = null;
92
- let slotName = null;
93
- let simple = false;
94
- let lastSimple = false;
95
- const vNodeChildren = [];
96
- const walk = (c) => {
97
- for (let i = 0; i < c.length; i++) {
98
- child = c[i];
99
- if (Array.isArray(child)) {
100
- walk(child);
101
- }
102
- else if (child != null && typeof child !== 'boolean') {
103
- if ((simple = typeof nodeName !== 'function' && !isComplexType(child))) {
104
- child = String(child);
105
- }
106
- if (simple && lastSimple) {
107
- // If the previous child was simple (string), we merge both
108
- vNodeChildren[vNodeChildren.length - 1].$text$ += child;
109
- }
110
- else {
111
- // Append a new vNode, if it's text, we create a text vNode
112
- vNodeChildren.push(simple ? newVNode(null, child) : child);
113
- }
114
- lastSimple = simple;
115
- }
116
- }
117
- };
118
- walk(children);
119
- if (vnodeData) {
120
- if (vnodeData.name) {
121
- slotName = vnodeData.name;
122
- }
123
- {
124
- const classData = vnodeData.className || vnodeData.class;
125
- if (classData) {
126
- vnodeData.class =
127
- typeof classData !== 'object'
128
- ? classData
129
- : Object.keys(classData)
130
- .filter((k) => classData[k])
131
- .join(' ');
132
- }
133
- }
134
- }
135
- if (typeof nodeName === 'function') {
136
- // nodeName is a functional component
137
- return nodeName(vnodeData === null ? {} : vnodeData, vNodeChildren, vdomFnUtils);
138
- }
139
- const vnode = newVNode(nodeName, null);
140
- vnode.$attrs$ = vnodeData;
141
- if (vNodeChildren.length > 0) {
142
- vnode.$children$ = vNodeChildren;
143
- }
144
- {
145
- vnode.$name$ = slotName;
146
- }
147
- return vnode;
148
- };
149
- const newVNode = (tag, text) => {
150
- const vnode = {
151
- $flags$: 0,
152
- $tag$: tag,
153
- $text$: text,
154
- $elm$: null,
155
- $children$: null,
156
- };
157
- {
158
- vnode.$attrs$ = null;
159
- }
160
- {
161
- vnode.$name$ = null;
162
- }
163
- return vnode;
164
- };
165
- const Host = {};
166
- const isHost = (node) => node && node.$tag$ === Host;
167
- const vdomFnUtils = {
168
- forEach: (children, cb) => children.map(convertToPublic).forEach(cb),
169
- map: (children, cb) => children.map(convertToPublic).map(cb).map(convertToPrivate),
170
- };
171
- const convertToPublic = (node) => ({
172
- vattrs: node.$attrs$,
173
- vchildren: node.$children$,
174
- vkey: node.$key$,
175
- vname: node.$name$,
176
- vtag: node.$tag$,
177
- vtext: node.$text$,
178
- });
179
- const convertToPrivate = (node) => {
180
- if (typeof node.vtag === 'function') {
181
- const vnodeData = Object.assign({}, node.vattrs);
182
- if (node.vkey) {
183
- vnodeData.key = node.vkey;
184
- }
185
- if (node.vname) {
186
- vnodeData.name = node.vname;
187
- }
188
- return h(node.vtag, vnodeData, ...(node.vchildren || []));
189
- }
190
- const vnode = newVNode(node.vtag, node.vtext);
191
- vnode.$attrs$ = node.vattrs;
192
- vnode.$children$ = node.vchildren;
193
- vnode.$key$ = node.vkey;
194
- vnode.$name$ = node.vname;
195
- return vnode;
196
- };
197
- const initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
198
- const endHydrate = createTime('hydrateClient', tagName);
199
- const shadowRoot = hostElm.shadowRoot;
200
- const childRenderNodes = [];
201
- const slotNodes = [];
202
- const shadowRootNodes = null;
203
- const vnode = (hostRef.$vnode$ = newVNode(tagName, null));
204
- if (!plt.$orgLocNodes$) {
205
- initializeDocumentHydrate(doc.body, (plt.$orgLocNodes$ = new Map()));
206
- }
207
- hostElm[HYDRATE_ID] = hostId;
208
- hostElm.removeAttribute(HYDRATE_ID);
209
- clientHydrate(vnode, childRenderNodes, slotNodes, shadowRootNodes, hostElm, hostElm, hostId);
210
- childRenderNodes.map((c) => {
211
- const orgLocationId = c.$hostId$ + '.' + c.$nodeId$;
212
- const orgLocationNode = plt.$orgLocNodes$.get(orgLocationId);
213
- const node = c.$elm$;
214
- if (orgLocationNode && supportsShadow && orgLocationNode['s-en'] === '') {
215
- orgLocationNode.parentNode.insertBefore(node, orgLocationNode.nextSibling);
216
- }
217
- if (!shadowRoot) {
218
- node['s-hn'] = tagName;
219
- if (orgLocationNode) {
220
- node['s-ol'] = orgLocationNode;
221
- node['s-ol']['s-nr'] = node;
222
- }
223
- }
224
- plt.$orgLocNodes$.delete(orgLocationId);
225
- });
226
- endHydrate();
227
- };
228
- const clientHydrate = (parentVNode, childRenderNodes, slotNodes, shadowRootNodes, hostElm, node, hostId) => {
229
- let childNodeType;
230
- let childIdSplt;
231
- let childVNode;
232
- let i;
233
- if (node.nodeType === 1 /* NODE_TYPE.ElementNode */) {
234
- childNodeType = node.getAttribute(HYDRATE_CHILD_ID);
235
- if (childNodeType) {
236
- // got the node data from the element's attribute
237
- // `${hostId}.${nodeId}.${depth}.${index}`
238
- childIdSplt = childNodeType.split('.');
239
- if (childIdSplt[0] === hostId || childIdSplt[0] === '0') {
240
- childVNode = {
241
- $flags$: 0,
242
- $hostId$: childIdSplt[0],
243
- $nodeId$: childIdSplt[1],
244
- $depth$: childIdSplt[2],
245
- $index$: childIdSplt[3],
246
- $tag$: node.tagName.toLowerCase(),
247
- $elm$: node,
248
- $attrs$: null,
249
- $children$: null,
250
- $key$: null,
251
- $name$: null,
252
- $text$: null,
253
- };
254
- childRenderNodes.push(childVNode);
255
- node.removeAttribute(HYDRATE_CHILD_ID);
256
- // this is a new child vnode
257
- // so ensure its parent vnode has the vchildren array
258
- if (!parentVNode.$children$) {
259
- parentVNode.$children$ = [];
260
- }
261
- // add our child vnode to a specific index of the vnode's children
262
- parentVNode.$children$[childVNode.$index$] = childVNode;
263
- // this is now the new parent vnode for all the next child checks
264
- parentVNode = childVNode;
265
- if (shadowRootNodes && childVNode.$depth$ === '0') {
266
- shadowRootNodes[childVNode.$index$] = childVNode.$elm$;
267
- }
268
- }
269
- }
270
- // recursively drill down, end to start so we can remove nodes
271
- for (i = node.childNodes.length - 1; i >= 0; i--) {
272
- clientHydrate(parentVNode, childRenderNodes, slotNodes, shadowRootNodes, hostElm, node.childNodes[i], hostId);
273
- }
274
- if (node.shadowRoot) {
275
- // keep drilling down through the shadow root nodes
276
- for (i = node.shadowRoot.childNodes.length - 1; i >= 0; i--) {
277
- clientHydrate(parentVNode, childRenderNodes, slotNodes, shadowRootNodes, hostElm, node.shadowRoot.childNodes[i], hostId);
278
- }
279
- }
280
- }
281
- else if (node.nodeType === 8 /* NODE_TYPE.CommentNode */) {
282
- // `${COMMENT_TYPE}.${hostId}.${nodeId}.${depth}.${index}`
283
- childIdSplt = node.nodeValue.split('.');
284
- if (childIdSplt[1] === hostId || childIdSplt[1] === '0') {
285
- // comment node for either the host id or a 0 host id
286
- childNodeType = childIdSplt[0];
287
- childVNode = {
288
- $flags$: 0,
289
- $hostId$: childIdSplt[1],
290
- $nodeId$: childIdSplt[2],
291
- $depth$: childIdSplt[3],
292
- $index$: childIdSplt[4],
293
- $elm$: node,
294
- $attrs$: null,
295
- $children$: null,
296
- $key$: null,
297
- $name$: null,
298
- $tag$: null,
299
- $text$: null,
300
- };
301
- if (childNodeType === TEXT_NODE_ID) {
302
- childVNode.$elm$ = node.nextSibling;
303
- if (childVNode.$elm$ && childVNode.$elm$.nodeType === 3 /* NODE_TYPE.TextNode */) {
304
- childVNode.$text$ = childVNode.$elm$.textContent;
305
- childRenderNodes.push(childVNode);
306
- // remove the text comment since it's no longer needed
307
- node.remove();
308
- if (!parentVNode.$children$) {
309
- parentVNode.$children$ = [];
310
- }
311
- parentVNode.$children$[childVNode.$index$] = childVNode;
312
- if (shadowRootNodes && childVNode.$depth$ === '0') {
313
- shadowRootNodes[childVNode.$index$] = childVNode.$elm$;
314
- }
315
- }
316
- }
317
- else if (childVNode.$hostId$ === hostId) {
318
- // this comment node is specifcally for this host id
319
- if (childNodeType === SLOT_NODE_ID) {
320
- // `${SLOT_NODE_ID}.${hostId}.${nodeId}.${depth}.${index}.${slotName}`;
321
- childVNode.$tag$ = 'slot';
322
- if (childIdSplt[5]) {
323
- node['s-sn'] = childVNode.$name$ = childIdSplt[5];
324
- }
325
- else {
326
- node['s-sn'] = '';
327
- }
328
- node['s-sr'] = true;
329
- slotNodes.push(childVNode);
330
- if (!parentVNode.$children$) {
331
- parentVNode.$children$ = [];
332
- }
333
- parentVNode.$children$[childVNode.$index$] = childVNode;
334
- }
335
- else if (childNodeType === CONTENT_REF_ID) {
336
- // `${CONTENT_REF_ID}.${hostId}`;
337
- {
338
- hostElm['s-cr'] = node;
339
- node['s-cn'] = true;
340
- }
341
- }
342
- }
343
- }
344
- }
345
- else if (parentVNode && parentVNode.$tag$ === 'style') {
346
- const vnode = newVNode(null, node.textContent);
347
- vnode.$elm$ = node;
348
- vnode.$index$ = '0';
349
- parentVNode.$children$ = [vnode];
350
- }
351
- };
352
- const initializeDocumentHydrate = (node, orgLocNodes) => {
353
- if (node.nodeType === 1 /* NODE_TYPE.ElementNode */) {
354
- let i = 0;
355
- for (; i < node.childNodes.length; i++) {
356
- initializeDocumentHydrate(node.childNodes[i], orgLocNodes);
357
- }
358
- if (node.shadowRoot) {
359
- for (i = 0; i < node.shadowRoot.childNodes.length; i++) {
360
- initializeDocumentHydrate(node.shadowRoot.childNodes[i], orgLocNodes);
361
- }
362
- }
363
- }
364
- else if (node.nodeType === 8 /* NODE_TYPE.CommentNode */) {
365
- const childIdSplt = node.nodeValue.split('.');
366
- if (childIdSplt[0] === ORG_LOCATION_ID) {
367
- orgLocNodes.set(childIdSplt[1] + '.' + childIdSplt[2], node);
368
- node.nodeValue = '';
369
- // useful to know if the original location is
370
- // the root light-dom of a shadow dom component
371
- node['s-en'] = childIdSplt[3];
372
- }
373
- }
374
- };
375
- /**
376
- * Parse a new property value for a given property type.
377
- *
378
- * While the prop value can reasonably be expected to be of `any` type as far as TypeScript's type checker is concerned,
379
- * it is not safe to assume that the string returned by evaluating `typeof propValue` matches:
380
- * 1. `any`, the type given to `propValue` in the function signature
381
- * 2. the type stored from `propType`.
382
- *
383
- * This function provides the capability to parse/coerce a property's value to potentially any other JavaScript type.
384
- *
385
- * Property values represented in TSX preserve their type information. In the example below, the number 0 is passed to
386
- * a component. This `propValue` will preserve its type information (`typeof propValue === 'number'`). Note that is
387
- * based on the type of the value being passed in, not the type declared of the class member decorated with `@Prop`.
388
- * ```tsx
389
- * <my-cmp prop-val={0}></my-cmp>
390
- * ```
391
- *
392
- * HTML prop values on the other hand, will always a string
393
- *
394
- * @param propValue the new value to coerce to some type
395
- * @param propType the type of the prop, expressed as a binary number
396
- * @returns the parsed/coerced value
397
- */
398
- const parsePropertyValue = (propValue, propType) => {
399
- // ensure this value is of the correct prop type
400
- if (propValue != null && !isComplexType(propValue)) {
401
- if (propType & 4 /* MEMBER_FLAGS.Boolean */) {
402
- // per the HTML spec, any string value means it is a boolean true value
403
- // but we'll cheat here and say that the string "false" is the boolean false
404
- return propValue === 'false' ? false : propValue === '' || !!propValue;
405
- }
406
- if (propType & 2 /* MEMBER_FLAGS.Number */) {
407
- // force it to be a number
408
- return parseFloat(propValue);
409
- }
410
- if (propType & 1 /* MEMBER_FLAGS.String */) {
411
- // could have been passed as a number or boolean
412
- // but we still want it as a string
413
- return String(propValue);
414
- }
415
- // redundant return here for better minification
416
- return propValue;
417
- }
418
- // not sure exactly what type we want
419
- // so no need to change to a different type
420
- return propValue;
421
- };
422
- const getElement = (ref) => (getHostRef(ref).$hostElement$ );
423
- const createEvent = (ref, name, flags) => {
424
- const elm = getElement(ref);
425
- return {
426
- emit: (detail) => {
427
- return emitEvent(elm, name, {
428
- bubbles: !!(flags & 4 /* EVENT_FLAGS.Bubbles */),
429
- composed: !!(flags & 2 /* EVENT_FLAGS.Composed */),
430
- cancelable: !!(flags & 1 /* EVENT_FLAGS.Cancellable */),
431
- detail,
432
- });
433
- },
434
- };
435
- };
436
- /**
437
- * Helper function to create & dispatch a custom Event on a provided target
438
- * @param elm the target of the Event
439
- * @param name the name to give the custom Event
440
- * @param opts options for configuring a custom Event
441
- * @returns the custom Event
442
- */
443
- const emitEvent = (elm, name, opts) => {
444
- const ev = plt.ce(name, opts);
445
- elm.dispatchEvent(ev);
446
- return ev;
447
- };
448
- const rootAppliedStyles = /*@__PURE__*/ new WeakMap();
449
- const registerStyle = (scopeId, cssText, allowCS) => {
450
- let style = styles.get(scopeId);
451
- if (supportsConstructableStylesheets && allowCS) {
452
- style = (style || new CSSStyleSheet());
453
- if (typeof style === 'string') {
454
- style = cssText;
455
- }
456
- else {
457
- style.replaceSync(cssText);
458
- }
459
- }
460
- else {
461
- style = cssText;
462
- }
463
- styles.set(scopeId, style);
464
- };
465
- const addStyle = (styleContainerNode, cmpMeta, mode, hostElm) => {
466
- let scopeId = getScopeId(cmpMeta);
467
- const style = styles.get(scopeId);
468
- // if an element is NOT connected then getRootNode() will return the wrong root node
469
- // so the fallback is to always use the document for the root node in those cases
470
- styleContainerNode = styleContainerNode.nodeType === 11 /* NODE_TYPE.DocumentFragment */ ? styleContainerNode : doc;
471
- if (style) {
472
- if (typeof style === 'string') {
473
- styleContainerNode = styleContainerNode.head || styleContainerNode;
474
- let appliedStyles = rootAppliedStyles.get(styleContainerNode);
475
- let styleElm;
476
- if (!appliedStyles) {
477
- rootAppliedStyles.set(styleContainerNode, (appliedStyles = new Set()));
478
- }
479
- if (!appliedStyles.has(scopeId)) {
480
- if (styleContainerNode.host &&
481
- (styleElm = styleContainerNode.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId}"]`))) {
482
- // This is only happening on native shadow-dom, do not needs CSS var shim
483
- styleElm.innerHTML = style;
484
- }
485
- else {
486
- {
487
- styleElm = doc.createElement('style');
488
- styleElm.innerHTML = style;
489
- }
490
- styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector('link'));
491
- }
492
- if (appliedStyles) {
493
- appliedStyles.add(scopeId);
494
- }
495
- }
496
- }
497
- else if (!styleContainerNode.adoptedStyleSheets.includes(style)) {
498
- styleContainerNode.adoptedStyleSheets = [...styleContainerNode.adoptedStyleSheets, style];
499
- }
500
- }
501
- return scopeId;
502
- };
503
- const attachStyles = (hostRef) => {
504
- const cmpMeta = hostRef.$cmpMeta$;
505
- const elm = hostRef.$hostElement$;
506
- const endAttachStyles = createTime('attachStyles', cmpMeta.$tagName$);
507
- addStyle(elm.getRootNode(), cmpMeta);
508
- endAttachStyles();
509
- };
510
- const getScopeId = (cmp, mode) => 'sc-' + (cmp.$tagName$);
511
- /**
512
- * Production setAccessor() function based on Preact by
513
- * Jason Miller (@developit)
514
- * Licensed under the MIT License
515
- * https://github.com/developit/preact/blob/master/LICENSE
516
- *
517
- * Modified for Stencil's compiler and vdom
518
- */
519
- const setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
520
- if (oldValue !== newValue) {
521
- let isProp = isMemberInElement(elm, memberName);
522
- let ln = memberName.toLowerCase();
523
- if (memberName === 'class') {
524
- const classList = elm.classList;
525
- const oldClasses = parseClassList(oldValue);
526
- const newClasses = parseClassList(newValue);
527
- classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
528
- classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
529
- }
530
- else if (memberName === 'style') {
531
- // update style attribute, css properties and values
532
- {
533
- for (const prop in oldValue) {
534
- if (!newValue || newValue[prop] == null) {
535
- if (prop.includes('-')) {
536
- elm.style.removeProperty(prop);
537
- }
538
- else {
539
- elm.style[prop] = '';
540
- }
541
- }
542
- }
543
- }
544
- for (const prop in newValue) {
545
- if (!oldValue || newValue[prop] !== oldValue[prop]) {
546
- if (prop.includes('-')) {
547
- elm.style.setProperty(prop, newValue[prop]);
548
- }
549
- else {
550
- elm.style[prop] = newValue[prop];
551
- }
552
- }
553
- }
554
- }
555
- else if (memberName === 'ref') {
556
- // minifier will clean this up
557
- if (newValue) {
558
- newValue(elm);
559
- }
560
- }
561
- else if ((!isProp ) &&
562
- memberName[0] === 'o' &&
563
- memberName[1] === 'n') {
564
- // Event Handlers
565
- // so if the member name starts with "on" and the 3rd characters is
566
- // a capital letter, and it's not already a member on the element,
567
- // then we're assuming it's an event listener
568
- if (memberName[2] === '-') {
569
- // on- prefixed events
570
- // allows to be explicit about the dom event to listen without any magic
571
- // under the hood:
572
- // <my-cmp on-click> // listens for "click"
573
- // <my-cmp on-Click> // listens for "Click"
574
- // <my-cmp on-ionChange> // listens for "ionChange"
575
- // <my-cmp on-EVENTS> // listens for "EVENTS"
576
- memberName = memberName.slice(3);
577
- }
578
- else if (isMemberInElement(win, ln)) {
579
- // standard event
580
- // the JSX attribute could have been "onMouseOver" and the
581
- // member name "onmouseover" is on the window's prototype
582
- // so let's add the listener "mouseover", which is all lowercased
583
- memberName = ln.slice(2);
584
- }
585
- else {
586
- // custom event
587
- // the JSX attribute could have been "onMyCustomEvent"
588
- // so let's trim off the "on" prefix and lowercase the first character
589
- // and add the listener "myCustomEvent"
590
- // except for the first character, we keep the event name case
591
- memberName = ln[2] + memberName.slice(3);
592
- }
593
- if (oldValue) {
594
- plt.rel(elm, memberName, oldValue, false);
595
- }
596
- if (newValue) {
597
- plt.ael(elm, memberName, newValue, false);
598
- }
599
- }
600
- else {
601
- // Set property if it exists and it's not a SVG
602
- const isComplex = isComplexType(newValue);
603
- if ((isProp || (isComplex && newValue !== null)) && !isSvg) {
604
- try {
605
- if (!elm.tagName.includes('-')) {
606
- const n = newValue == null ? '' : newValue;
607
- // Workaround for Safari, moving the <input> caret when re-assigning the same valued
608
- if (memberName === 'list') {
609
- isProp = false;
610
- }
611
- else if (oldValue == null || elm[memberName] != n) {
612
- elm[memberName] = n;
613
- }
614
- }
615
- else {
616
- elm[memberName] = newValue;
617
- }
618
- }
619
- catch (e) { }
620
- }
621
- if (newValue == null || newValue === false) {
622
- if (newValue !== false || elm.getAttribute(memberName) === '') {
623
- {
624
- elm.removeAttribute(memberName);
625
- }
626
- }
627
- }
628
- else if ((!isProp || flags & 4 /* VNODE_FLAGS.isHost */ || isSvg) && !isComplex) {
629
- newValue = newValue === true ? '' : newValue;
630
- {
631
- elm.setAttribute(memberName, newValue);
632
- }
633
- }
634
- }
635
- }
636
- };
637
- const parseClassListRegex = /\s/;
638
- const parseClassList = (value) => (!value ? [] : value.split(parseClassListRegex));
639
- const updateElement = (oldVnode, newVnode, isSvgMode, memberName) => {
640
- // if the element passed in is a shadow root, which is a document fragment
641
- // then we want to be adding attrs/props to the shadow root's "host" element
642
- // if it's not a shadow root, then we add attrs/props to the same element
643
- const elm = newVnode.$elm$.nodeType === 11 /* NODE_TYPE.DocumentFragment */ && newVnode.$elm$.host
644
- ? newVnode.$elm$.host
645
- : newVnode.$elm$;
646
- const oldVnodeAttrs = (oldVnode && oldVnode.$attrs$) || EMPTY_OBJ;
647
- const newVnodeAttrs = newVnode.$attrs$ || EMPTY_OBJ;
648
- {
649
- // remove attributes no longer present on the vnode by setting them to undefined
650
- for (memberName in oldVnodeAttrs) {
651
- if (!(memberName in newVnodeAttrs)) {
652
- setAccessor(elm, memberName, oldVnodeAttrs[memberName], undefined, isSvgMode, newVnode.$flags$);
653
- }
654
- }
655
- }
656
- // add new & update changed attributes
657
- for (memberName in newVnodeAttrs) {
658
- setAccessor(elm, memberName, oldVnodeAttrs[memberName], newVnodeAttrs[memberName], isSvgMode, newVnode.$flags$);
659
- }
660
- };
661
- /**
662
- * Create a DOM Node corresponding to one of the children of a given VNode.
663
- *
664
- * @param oldParentVNode the parent VNode from the previous render
665
- * @param newParentVNode the parent VNode from the current render
666
- * @param childIndex the index of the VNode, in the _new_ parent node's
667
- * children, for which we will create a new DOM node
668
- * @param parentElm the parent DOM node which our new node will be a child of
669
- * @returns the newly created node
670
- */
671
- const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
672
- // tslint:disable-next-line: prefer-const
673
- const newVNode = newParentVNode.$children$[childIndex];
674
- let i = 0;
675
- let elm;
676
- let childNode;
677
- let oldVNode;
678
- if (!useNativeShadowDom) {
679
- // remember for later we need to check to relocate nodes
680
- checkSlotRelocate = true;
681
- if (newVNode.$tag$ === 'slot') {
682
- newVNode.$flags$ |= newVNode.$children$
683
- ? // slot element has fallback content
684
- 2 /* VNODE_FLAGS.isSlotFallback */
685
- : // slot element does not have fallback content
686
- 1 /* VNODE_FLAGS.isSlotReference */;
687
- }
688
- }
689
- if (newVNode.$text$ !== null) {
690
- // create text node
691
- elm = newVNode.$elm$ = doc.createTextNode(newVNode.$text$);
692
- }
693
- else if (newVNode.$flags$ & 1 /* VNODE_FLAGS.isSlotReference */) {
694
- // create a slot reference node
695
- elm = newVNode.$elm$ =
696
- doc.createTextNode('');
697
- }
698
- else {
699
- // create element
700
- elm = newVNode.$elm$ = (doc.createElement(newVNode.$flags$ & 2 /* VNODE_FLAGS.isSlotFallback */
701
- ? 'slot-fb'
702
- : newVNode.$tag$));
703
- // add css classes, attrs, props, listeners, etc.
704
- {
705
- updateElement(null, newVNode, isSvgMode);
706
- }
707
- if (newVNode.$children$) {
708
- for (i = 0; i < newVNode.$children$.length; ++i) {
709
- // create the node
710
- childNode = createElm(oldParentVNode, newVNode, i);
711
- // return node could have been null
712
- if (childNode) {
713
- // append our new node
714
- elm.appendChild(childNode);
715
- }
716
- }
717
- }
718
- }
719
- {
720
- elm['s-hn'] = hostTagName;
721
- if (newVNode.$flags$ & (2 /* VNODE_FLAGS.isSlotFallback */ | 1 /* VNODE_FLAGS.isSlotReference */)) {
722
- // remember the content reference comment
723
- elm['s-sr'] = true;
724
- // remember the content reference comment
725
- elm['s-cr'] = contentRef;
726
- // remember the slot name, or empty string for default slot
727
- elm['s-sn'] = newVNode.$name$ || '';
728
- // check if we've got an old vnode for this slot
729
- oldVNode = oldParentVNode && oldParentVNode.$children$ && oldParentVNode.$children$[childIndex];
730
- if (oldVNode && oldVNode.$tag$ === newVNode.$tag$ && oldParentVNode.$elm$) {
731
- // we've got an old slot vnode and the wrapper is being replaced
732
- // so let's move the old slot content back to it's original location
733
- putBackInOriginalLocation(oldParentVNode.$elm$, false);
734
- }
735
- }
736
- }
737
- return elm;
738
- };
739
- const putBackInOriginalLocation = (parentElm, recursive) => {
740
- plt.$flags$ |= 1 /* PLATFORM_FLAGS.isTmpDisconnected */;
741
- const oldSlotChildNodes = parentElm.childNodes;
742
- for (let i = oldSlotChildNodes.length - 1; i >= 0; i--) {
743
- const childNode = oldSlotChildNodes[i];
744
- if (childNode['s-hn'] !== hostTagName && childNode['s-ol']) {
745
- // // this child node in the old element is from another component
746
- // // remove this node from the old slot's parent
747
- // childNode.remove();
748
- // and relocate it back to it's original location
749
- parentReferenceNode(childNode).insertBefore(childNode, referenceNode(childNode));
750
- // remove the old original location comment entirely
751
- // later on the patch function will know what to do
752
- // and move this to the correct spot in need be
753
- childNode['s-ol'].remove();
754
- childNode['s-ol'] = undefined;
755
- checkSlotRelocate = true;
756
- }
757
- if (recursive) {
758
- putBackInOriginalLocation(childNode, recursive);
759
- }
760
- }
761
- plt.$flags$ &= ~1 /* PLATFORM_FLAGS.isTmpDisconnected */;
762
- };
763
- const addVnodes = (parentElm, before, parentVNode, vnodes, startIdx, endIdx) => {
764
- let containerElm = ((parentElm['s-cr'] && parentElm['s-cr'].parentNode) || parentElm);
765
- let childNode;
766
- for (; startIdx <= endIdx; ++startIdx) {
767
- if (vnodes[startIdx]) {
768
- childNode = createElm(null, parentVNode, startIdx);
769
- if (childNode) {
770
- vnodes[startIdx].$elm$ = childNode;
771
- containerElm.insertBefore(childNode, referenceNode(before) );
772
- }
773
- }
774
- }
775
- };
776
- const removeVnodes = (vnodes, startIdx, endIdx, vnode, elm) => {
777
- for (; startIdx <= endIdx; ++startIdx) {
778
- if ((vnode = vnodes[startIdx])) {
779
- elm = vnode.$elm$;
780
- callNodeRefs(vnode);
781
- {
782
- // we're removing this element
783
- // so it's possible we need to show slot fallback content now
784
- checkSlotFallbackVisibility = true;
785
- if (elm['s-ol']) {
786
- // remove the original location comment
787
- elm['s-ol'].remove();
788
- }
789
- else {
790
- // it's possible that child nodes of the node
791
- // that's being removed are slot nodes
792
- putBackInOriginalLocation(elm, true);
793
- }
794
- }
795
- // remove the vnode's element from the dom
796
- elm.remove();
797
- }
798
- }
799
- };
800
- /**
801
- * Reconcile the children of a new VNode with the children of an old VNode by
802
- * traversing the two collections of children, identifying nodes that are
803
- * conserved or changed, calling out to `patch` to make any necessary
804
- * updates to the DOM, and rearranging DOM nodes as needed.
805
- *
806
- * The algorithm for reconciling children works by analyzing two 'windows' onto
807
- * the two arrays of children (`oldCh` and `newCh`). We keep track of the
808
- * 'windows' by storing start and end indices and references to the
809
- * corresponding array entries. Initially the two 'windows' are basically equal
810
- * to the entire array, but we progressively narrow the windows until there are
811
- * no children left to update by doing the following:
812
- *
813
- * 1. Skip any `null` entries at the beginning or end of the two arrays, so
814
- * that if we have an initial array like the following we'll end up dealing
815
- * only with a window bounded by the highlighted elements:
816
- *
817
- * [null, null, VNode1 , ... , VNode2, null, null]
818
- * ^^^^^^ ^^^^^^
819
- *
820
- * 2. Check to see if the elements at the head and tail positions are equal
821
- * across the windows. This will basically detect elements which haven't
822
- * been added, removed, or changed position, i.e. if you had the following
823
- * VNode elements (represented as HTML):
824
- *
825
- * oldVNode: `<div><p><span>HEY</span></p></div>`
826
- * newVNode: `<div><p><span>THERE</span></p></div>`
827
- *
828
- * Then when comparing the children of the `<div>` tag we check the equality
829
- * of the VNodes corresponding to the `<p>` tags and, since they are the
830
- * same tag in the same position, we'd be able to avoid completely
831
- * re-rendering the subtree under them with a new DOM element and would just
832
- * call out to `patch` to handle reconciling their children and so on.
833
- *
834
- * 3. Check, for both windows, to see if the element at the beginning of the
835
- * window corresponds to the element at the end of the other window. This is
836
- * a heuristic which will let us identify _some_ situations in which
837
- * elements have changed position, for instance it _should_ detect that the
838
- * children nodes themselves have not changed but merely moved in the
839
- * following example:
840
- *
841
- * oldVNode: `<div><element-one /><element-two /></div>`
842
- * newVNode: `<div><element-two /><element-one /></div>`
843
- *
844
- * If we find cases like this then we also need to move the concrete DOM
845
- * elements corresponding to the moved children to write the re-order to the
846
- * DOM.
847
- *
848
- * 4. Finally, if VNodes have the `key` attribute set on them we check for any
849
- * nodes in the old children which have the same key as the first element in
850
- * our window on the new children. If we find such a node we handle calling
851
- * out to `patch`, moving relevant DOM nodes, and so on, in accordance with
852
- * what we find.
853
- *
854
- * Finally, once we've narrowed our 'windows' to the point that either of them
855
- * collapse (i.e. they have length 0) we then handle any remaining VNode
856
- * insertion or deletion that needs to happen to get a DOM state that correctly
857
- * reflects the new child VNodes. If, for instance, after our window on the old
858
- * children has collapsed we still have more nodes on the new children that
859
- * we haven't dealt with yet then we need to add them, or if the new children
860
- * collapse but we still have unhandled _old_ children then we need to make
861
- * sure the corresponding DOM nodes are removed.
862
- *
863
- * @param parentElm the node into which the parent VNode is rendered
864
- * @param oldCh the old children of the parent node
865
- * @param newVNode the new VNode which will replace the parent
866
- * @param newCh the new children of the parent node
867
- */
868
- const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
869
- let oldStartIdx = 0;
870
- let newStartIdx = 0;
871
- let oldEndIdx = oldCh.length - 1;
872
- let oldStartVnode = oldCh[0];
873
- let oldEndVnode = oldCh[oldEndIdx];
874
- let newEndIdx = newCh.length - 1;
875
- let newStartVnode = newCh[0];
876
- let newEndVnode = newCh[newEndIdx];
877
- let node;
878
- while (oldStartIdx <= oldEndIdx && newStartIdx <= newEndIdx) {
879
- if (oldStartVnode == null) {
880
- // VNode might have been moved left
881
- oldStartVnode = oldCh[++oldStartIdx];
882
- }
883
- else if (oldEndVnode == null) {
884
- oldEndVnode = oldCh[--oldEndIdx];
885
- }
886
- else if (newStartVnode == null) {
887
- newStartVnode = newCh[++newStartIdx];
888
- }
889
- else if (newEndVnode == null) {
890
- newEndVnode = newCh[--newEndIdx];
891
- }
892
- else if (isSameVnode(oldStartVnode, newStartVnode)) {
893
- // if the start nodes are the same then we should patch the new VNode
894
- // onto the old one, and increment our `newStartIdx` and `oldStartIdx`
895
- // indices to reflect that. We don't need to move any DOM Nodes around
896
- // since things are matched up in order.
897
- patch(oldStartVnode, newStartVnode);
898
- oldStartVnode = oldCh[++oldStartIdx];
899
- newStartVnode = newCh[++newStartIdx];
900
- }
901
- else if (isSameVnode(oldEndVnode, newEndVnode)) {
902
- // likewise, if the end nodes are the same we patch new onto old and
903
- // decrement our end indices, and also likewise in this case we don't
904
- // need to move any DOM Nodes.
905
- patch(oldEndVnode, newEndVnode);
906
- oldEndVnode = oldCh[--oldEndIdx];
907
- newEndVnode = newCh[--newEndIdx];
908
- }
909
- else if (isSameVnode(oldStartVnode, newEndVnode)) {
910
- // case: "Vnode moved right"
911
- //
912
- // We've found that the last node in our window on the new children is
913
- // the same VNode as the _first_ node in our window on the old children
914
- // we're dealing with now. Visually, this is the layout of these two
915
- // nodes:
916
- //
917
- // newCh: [..., newStartVnode , ... , newEndVnode , ...]
918
- // ^^^^^^^^^^^
919
- // oldCh: [..., oldStartVnode , ... , oldEndVnode , ...]
920
- // ^^^^^^^^^^^^^
921
- //
922
- // In this situation we need to patch `newEndVnode` onto `oldStartVnode`
923
- // and move the DOM element for `oldStartVnode`.
924
- if ((oldStartVnode.$tag$ === 'slot' || newEndVnode.$tag$ === 'slot')) {
925
- putBackInOriginalLocation(oldStartVnode.$elm$.parentNode, false);
926
- }
927
- patch(oldStartVnode, newEndVnode);
928
- // We need to move the element for `oldStartVnode` into a position which
929
- // will be appropriate for `newEndVnode`. For this we can use
930
- // `.insertBefore` and `oldEndVnode.$elm$.nextSibling`. If there is a
931
- // sibling for `oldEndVnode.$elm$` then we want to move the DOM node for
932
- // `oldStartVnode` between `oldEndVnode` and it's sibling, like so:
933
- //
934
- // <old-start-node />
935
- // <some-intervening-node />
936
- // <old-end-node />
937
- // <!-- -> <-- `oldStartVnode.$elm$` should be inserted here
938
- // <next-sibling />
939
- //
940
- // If instead `oldEndVnode.$elm$` has no sibling then we just want to put
941
- // the node for `oldStartVnode` at the end of the children of
942
- // `parentElm`. Luckily, `Node.nextSibling` will return `null` if there
943
- // aren't any siblings, and passing `null` to `Node.insertBefore` will
944
- // append it to the children of the parent element.
945
- parentElm.insertBefore(oldStartVnode.$elm$, oldEndVnode.$elm$.nextSibling);
946
- oldStartVnode = oldCh[++oldStartIdx];
947
- newEndVnode = newCh[--newEndIdx];
948
- }
949
- else if (isSameVnode(oldEndVnode, newStartVnode)) {
950
- // case: "Vnode moved left"
951
- //
952
- // We've found that the first node in our window on the new children is
953
- // the same VNode as the _last_ node in our window on the old children.
954
- // Visually, this is the layout of these two nodes:
955
- //
956
- // newCh: [..., newStartVnode , ... , newEndVnode , ...]
957
- // ^^^^^^^^^^^^^
958
- // oldCh: [..., oldStartVnode , ... , oldEndVnode , ...]
959
- // ^^^^^^^^^^^
960
- //
961
- // In this situation we need to patch `newStartVnode` onto `oldEndVnode`
962
- // (which will handle updating any changed attributes, reconciling their
963
- // children etc) but we also need to move the DOM node to which
964
- // `oldEndVnode` corresponds.
965
- if ((oldStartVnode.$tag$ === 'slot' || newEndVnode.$tag$ === 'slot')) {
966
- putBackInOriginalLocation(oldEndVnode.$elm$.parentNode, false);
967
- }
968
- patch(oldEndVnode, newStartVnode);
969
- // We've already checked above if `oldStartVnode` and `newStartVnode` are
970
- // the same node, so since we're here we know that they are not. Thus we
971
- // can move the element for `oldEndVnode` _before_ the element for
972
- // `oldStartVnode`, leaving `oldStartVnode` to be reconciled in the
973
- // future.
974
- parentElm.insertBefore(oldEndVnode.$elm$, oldStartVnode.$elm$);
975
- oldEndVnode = oldCh[--oldEndIdx];
976
- newStartVnode = newCh[++newStartIdx];
977
- }
978
- else {
979
- {
980
- // We either didn't find an element in the old children that matches
981
- // the key of the first new child OR the build is not using `key`
982
- // attributes at all. In either case we need to create a new element
983
- // for the new node.
984
- node = createElm(oldCh && oldCh[newStartIdx], newVNode, newStartIdx);
985
- newStartVnode = newCh[++newStartIdx];
986
- }
987
- if (node) {
988
- // if we created a new node then handle inserting it to the DOM
989
- {
990
- parentReferenceNode(oldStartVnode.$elm$).insertBefore(node, referenceNode(oldStartVnode.$elm$));
991
- }
992
- }
993
- }
994
- }
995
- if (oldStartIdx > oldEndIdx) {
996
- // we have some more new nodes to add which don't match up with old nodes
997
- addVnodes(parentElm, newCh[newEndIdx + 1] == null ? null : newCh[newEndIdx + 1].$elm$, newVNode, newCh, newStartIdx, newEndIdx);
998
- }
999
- else if (newStartIdx > newEndIdx) {
1000
- // there are nodes in the `oldCh` array which no longer correspond to nodes
1001
- // in the new array, so lets remove them (which entails cleaning up the
1002
- // relevant DOM nodes)
1003
- removeVnodes(oldCh, oldStartIdx, oldEndIdx);
1004
- }
1005
- };
1006
- /**
1007
- * Compare two VNodes to determine if they are the same
1008
- *
1009
- * **NB**: This function is an equality _heuristic_ based on the available
1010
- * information set on the two VNodes and can be misleading under certain
1011
- * circumstances. In particular, if the two nodes do not have `key` attrs
1012
- * (available under `$key$` on VNodes) then the function falls back on merely
1013
- * checking that they have the same tag.
1014
- *
1015
- * So, in other words, if `key` attrs are not set on VNodes which may be
1016
- * changing order within a `children` array or something along those lines then
1017
- * we could obtain a false positive and then have to do needless re-rendering.
1018
- *
1019
- * @param leftVNode the first VNode to check
1020
- * @param rightVNode the second VNode to check
1021
- * @returns whether they're equal or not
1022
- */
1023
- const isSameVnode = (leftVNode, rightVNode) => {
1024
- // compare if two vnode to see if they're "technically" the same
1025
- // need to have the same element tag, and same key to be the same
1026
- if (leftVNode.$tag$ === rightVNode.$tag$) {
1027
- if (leftVNode.$tag$ === 'slot') {
1028
- return leftVNode.$name$ === rightVNode.$name$;
1029
- }
1030
- return true;
1031
- }
1032
- return false;
1033
- };
1034
- const referenceNode = (node) => {
1035
- // this node was relocated to a new location in the dom
1036
- // because of some other component's slot
1037
- // but we still have an html comment in place of where
1038
- // it's original location was according to it's original vdom
1039
- return (node && node['s-ol']) || node;
1040
- };
1041
- const parentReferenceNode = (node) => (node['s-ol'] ? node['s-ol'] : node).parentNode;
1042
- /**
1043
- * Handle reconciling an outdated VNode with a new one which corresponds to
1044
- * it. This function handles flushing updates to the DOM and reconciling the
1045
- * children of the two nodes (if any).
1046
- *
1047
- * @param oldVNode an old VNode whose DOM element and children we want to update
1048
- * @param newVNode a new VNode representing an updated version of the old one
1049
- */
1050
- const patch = (oldVNode, newVNode) => {
1051
- const elm = (newVNode.$elm$ = oldVNode.$elm$);
1052
- const oldChildren = oldVNode.$children$;
1053
- const newChildren = newVNode.$children$;
1054
- const tag = newVNode.$tag$;
1055
- const text = newVNode.$text$;
1056
- let defaultHolder;
1057
- if (text === null) {
1058
- {
1059
- if (tag === 'slot')
1060
- ;
1061
- else {
1062
- // either this is the first render of an element OR it's an update
1063
- // AND we already know it's possible it could have changed
1064
- // this updates the element's css classes, attrs, props, listeners, etc.
1065
- updateElement(oldVNode, newVNode, isSvgMode);
1066
- }
1067
- }
1068
- if (oldChildren !== null && newChildren !== null) {
1069
- // looks like there's child vnodes for both the old and new vnodes
1070
- // so we need to call `updateChildren` to reconcile them
1071
- updateChildren(elm, oldChildren, newVNode, newChildren);
1072
- }
1073
- else if (newChildren !== null) {
1074
- // no old child vnodes, but there are new child vnodes to add
1075
- if (oldVNode.$text$ !== null) {
1076
- // the old vnode was text, so be sure to clear it out
1077
- elm.textContent = '';
1078
- }
1079
- // add the new vnode children
1080
- addVnodes(elm, null, newVNode, newChildren, 0, newChildren.length - 1);
1081
- }
1082
- else if (oldChildren !== null) {
1083
- // no new child vnodes, but there are old child vnodes to remove
1084
- removeVnodes(oldChildren, 0, oldChildren.length - 1);
1085
- }
1086
- }
1087
- else if ((defaultHolder = elm['s-cr'])) {
1088
- // this element has slotted content
1089
- defaultHolder.parentNode.textContent = text;
1090
- }
1091
- else if (oldVNode.$text$ !== text) {
1092
- // update the text content for the text only vnode
1093
- // and also only if the text is different than before
1094
- elm.data = text;
1095
- }
1096
- };
1097
- const updateFallbackSlotVisibility = (elm) => {
1098
- // tslint:disable-next-line: prefer-const
1099
- const childNodes = elm.childNodes;
1100
- let childNode;
1101
- let i;
1102
- let ilen;
1103
- let j;
1104
- let slotNameAttr;
1105
- let nodeType;
1106
- for (i = 0, ilen = childNodes.length; i < ilen; i++) {
1107
- childNode = childNodes[i];
1108
- if (childNode.nodeType === 1 /* NODE_TYPE.ElementNode */) {
1109
- if (childNode['s-sr']) {
1110
- // this is a slot fallback node
1111
- // get the slot name for this slot reference node
1112
- slotNameAttr = childNode['s-sn'];
1113
- // by default always show a fallback slot node
1114
- // then hide it if there are other slots in the light dom
1115
- childNode.hidden = false;
1116
- for (j = 0; j < ilen; j++) {
1117
- nodeType = childNodes[j].nodeType;
1118
- if (childNodes[j]['s-hn'] !== childNode['s-hn'] || slotNameAttr !== '') {
1119
- // this sibling node is from a different component OR is a named fallback slot node
1120
- if (nodeType === 1 /* NODE_TYPE.ElementNode */ && slotNameAttr === childNodes[j].getAttribute('slot')) {
1121
- childNode.hidden = true;
1122
- break;
1123
- }
1124
- }
1125
- else {
1126
- // this is a default fallback slot node
1127
- // any element or text node (with content)
1128
- // should hide the default fallback slot node
1129
- if (nodeType === 1 /* NODE_TYPE.ElementNode */ ||
1130
- (nodeType === 3 /* NODE_TYPE.TextNode */ && childNodes[j].textContent.trim() !== '')) {
1131
- childNode.hidden = true;
1132
- break;
1133
- }
1134
- }
1135
- }
1136
- }
1137
- // keep drilling down
1138
- updateFallbackSlotVisibility(childNode);
1139
- }
1140
- }
1141
- };
1142
- const relocateNodes = [];
1143
- const relocateSlotContent = (elm) => {
1144
- // tslint:disable-next-line: prefer-const
1145
- let childNode;
1146
- let node;
1147
- let hostContentNodes;
1148
- let slotNameAttr;
1149
- let relocateNodeData;
1150
- let j;
1151
- let i = 0;
1152
- const childNodes = elm.childNodes;
1153
- const ilen = childNodes.length;
1154
- for (; i < ilen; i++) {
1155
- childNode = childNodes[i];
1156
- if (childNode['s-sr'] && (node = childNode['s-cr']) && node.parentNode) {
1157
- // first got the content reference comment node
1158
- // then we got it's parent, which is where all the host content is in now
1159
- hostContentNodes = node.parentNode.childNodes;
1160
- slotNameAttr = childNode['s-sn'];
1161
- for (j = hostContentNodes.length - 1; j >= 0; j--) {
1162
- node = hostContentNodes[j];
1163
- if (!node['s-cn'] && !node['s-nr'] && node['s-hn'] !== childNode['s-hn']) {
1164
- // let's do some relocating to its new home
1165
- // but never relocate a content reference node
1166
- // that is suppose to always represent the original content location
1167
- if (isNodeLocatedInSlot(node, slotNameAttr)) {
1168
- // it's possible we've already decided to relocate this node
1169
- relocateNodeData = relocateNodes.find((r) => r.$nodeToRelocate$ === node);
1170
- // made some changes to slots
1171
- // let's make sure we also double check
1172
- // fallbacks are correctly hidden or shown
1173
- checkSlotFallbackVisibility = true;
1174
- node['s-sn'] = node['s-sn'] || slotNameAttr;
1175
- if (relocateNodeData) {
1176
- // previously we never found a slot home for this node
1177
- // but turns out we did, so let's remember it now
1178
- relocateNodeData.$slotRefNode$ = childNode;
1179
- }
1180
- else {
1181
- // add to our list of nodes to relocate
1182
- relocateNodes.push({
1183
- $slotRefNode$: childNode,
1184
- $nodeToRelocate$: node,
1185
- });
1186
- }
1187
- if (node['s-sr']) {
1188
- relocateNodes.map((relocateNode) => {
1189
- if (isNodeLocatedInSlot(relocateNode.$nodeToRelocate$, node['s-sn'])) {
1190
- relocateNodeData = relocateNodes.find((r) => r.$nodeToRelocate$ === node);
1191
- if (relocateNodeData && !relocateNode.$slotRefNode$) {
1192
- relocateNode.$slotRefNode$ = relocateNodeData.$slotRefNode$;
1193
- }
1194
- }
1195
- });
1196
- }
1197
- }
1198
- else if (!relocateNodes.some((r) => r.$nodeToRelocate$ === node)) {
1199
- // so far this element does not have a slot home, not setting slotRefNode on purpose
1200
- // if we never find a home for this element then we'll need to hide it
1201
- relocateNodes.push({
1202
- $nodeToRelocate$: node,
1203
- });
1204
- }
1205
- }
1206
- }
1207
- }
1208
- if (childNode.nodeType === 1 /* NODE_TYPE.ElementNode */) {
1209
- relocateSlotContent(childNode);
1210
- }
1211
- }
1212
- };
1213
- const isNodeLocatedInSlot = (nodeToRelocate, slotNameAttr) => {
1214
- if (nodeToRelocate.nodeType === 1 /* NODE_TYPE.ElementNode */) {
1215
- if (nodeToRelocate.getAttribute('slot') === null && slotNameAttr === '') {
1216
- return true;
1217
- }
1218
- if (nodeToRelocate.getAttribute('slot') === slotNameAttr) {
1219
- return true;
1220
- }
1221
- return false;
1222
- }
1223
- if (nodeToRelocate['s-sn'] === slotNameAttr) {
1224
- return true;
1225
- }
1226
- return slotNameAttr === '';
1227
- };
1228
- const callNodeRefs = (vNode) => {
1229
- {
1230
- vNode.$attrs$ && vNode.$attrs$.ref && vNode.$attrs$.ref(null);
1231
- vNode.$children$ && vNode.$children$.map(callNodeRefs);
1232
- }
1233
- };
1234
- const renderVdom = (hostRef, renderFnResults) => {
1235
- const hostElm = hostRef.$hostElement$;
1236
- const cmpMeta = hostRef.$cmpMeta$;
1237
- const oldVNode = hostRef.$vnode$ || newVNode(null, null);
1238
- const rootVnode = isHost(renderFnResults) ? renderFnResults : h(null, null, renderFnResults);
1239
- hostTagName = hostElm.tagName;
1240
- if (cmpMeta.$attrsToReflect$) {
1241
- rootVnode.$attrs$ = rootVnode.$attrs$ || {};
1242
- cmpMeta.$attrsToReflect$.map(([propName, attribute]) => (rootVnode.$attrs$[attribute] = hostElm[propName]));
1243
- }
1244
- rootVnode.$tag$ = null;
1245
- rootVnode.$flags$ |= 4 /* VNODE_FLAGS.isHost */;
1246
- hostRef.$vnode$ = rootVnode;
1247
- rootVnode.$elm$ = oldVNode.$elm$ = (hostElm);
1248
- {
1249
- contentRef = hostElm['s-cr'];
1250
- useNativeShadowDom = (cmpMeta.$flags$ & 1 /* CMP_FLAGS.shadowDomEncapsulation */) !== 0;
1251
- // always reset
1252
- checkSlotFallbackVisibility = false;
1253
- }
1254
- // synchronous patch
1255
- patch(oldVNode, rootVnode);
1256
- {
1257
- // while we're moving nodes around existing nodes, temporarily disable
1258
- // the disconnectCallback from working
1259
- plt.$flags$ |= 1 /* PLATFORM_FLAGS.isTmpDisconnected */;
1260
- if (checkSlotRelocate) {
1261
- relocateSlotContent(rootVnode.$elm$);
1262
- let relocateData;
1263
- let nodeToRelocate;
1264
- let orgLocationNode;
1265
- let parentNodeRef;
1266
- let insertBeforeNode;
1267
- let refNode;
1268
- let i = 0;
1269
- for (; i < relocateNodes.length; i++) {
1270
- relocateData = relocateNodes[i];
1271
- nodeToRelocate = relocateData.$nodeToRelocate$;
1272
- if (!nodeToRelocate['s-ol']) {
1273
- // add a reference node marking this node's original location
1274
- // keep a reference to this node for later lookups
1275
- orgLocationNode =
1276
- doc.createTextNode('');
1277
- orgLocationNode['s-nr'] = nodeToRelocate;
1278
- nodeToRelocate.parentNode.insertBefore((nodeToRelocate['s-ol'] = orgLocationNode), nodeToRelocate);
1279
- }
1280
- }
1281
- for (i = 0; i < relocateNodes.length; i++) {
1282
- relocateData = relocateNodes[i];
1283
- nodeToRelocate = relocateData.$nodeToRelocate$;
1284
- if (relocateData.$slotRefNode$) {
1285
- // by default we're just going to insert it directly
1286
- // after the slot reference node
1287
- parentNodeRef = relocateData.$slotRefNode$.parentNode;
1288
- insertBeforeNode = relocateData.$slotRefNode$.nextSibling;
1289
- orgLocationNode = nodeToRelocate['s-ol'];
1290
- while ((orgLocationNode = orgLocationNode.previousSibling)) {
1291
- refNode = orgLocationNode['s-nr'];
1292
- if (refNode && refNode['s-sn'] === nodeToRelocate['s-sn'] && parentNodeRef === refNode.parentNode) {
1293
- refNode = refNode.nextSibling;
1294
- if (!refNode || !refNode['s-nr']) {
1295
- insertBeforeNode = refNode;
1296
- break;
1297
- }
1298
- }
1299
- }
1300
- if ((!insertBeforeNode && parentNodeRef !== nodeToRelocate.parentNode) ||
1301
- nodeToRelocate.nextSibling !== insertBeforeNode) {
1302
- // we've checked that it's worth while to relocate
1303
- // since that the node to relocate
1304
- // has a different next sibling or parent relocated
1305
- if (nodeToRelocate !== insertBeforeNode) {
1306
- if (!nodeToRelocate['s-hn'] && nodeToRelocate['s-ol']) {
1307
- // probably a component in the index.html that doesn't have it's hostname set
1308
- nodeToRelocate['s-hn'] = nodeToRelocate['s-ol'].parentNode.nodeName;
1309
- }
1310
- // add it back to the dom but in its new home
1311
- parentNodeRef.insertBefore(nodeToRelocate, insertBeforeNode);
1312
- }
1313
- }
1314
- }
1315
- else {
1316
- // this node doesn't have a slot home to go to, so let's hide it
1317
- if (nodeToRelocate.nodeType === 1 /* NODE_TYPE.ElementNode */) {
1318
- nodeToRelocate.hidden = true;
1319
- }
1320
- }
1321
- }
1322
- }
1323
- if (checkSlotFallbackVisibility) {
1324
- updateFallbackSlotVisibility(rootVnode.$elm$);
1325
- }
1326
- // done moving nodes around
1327
- // allow the disconnect callback to work again
1328
- plt.$flags$ &= ~1 /* PLATFORM_FLAGS.isTmpDisconnected */;
1329
- // always reset
1330
- relocateNodes.length = 0;
1331
- }
1332
- };
1333
- const attachToAncestor = (hostRef, ancestorComponent) => {
1334
- if (ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent['s-p']) {
1335
- ancestorComponent['s-p'].push(new Promise((r) => (hostRef.$onRenderResolve$ = r)));
1336
- }
1337
- };
1338
- const scheduleUpdate = (hostRef, isInitialLoad) => {
1339
- {
1340
- hostRef.$flags$ |= 16 /* HOST_FLAGS.isQueuedForUpdate */;
1341
- }
1342
- if (hostRef.$flags$ & 4 /* HOST_FLAGS.isWaitingForChildren */) {
1343
- hostRef.$flags$ |= 512 /* HOST_FLAGS.needsRerender */;
1344
- return;
1345
- }
1346
- attachToAncestor(hostRef, hostRef.$ancestorComponent$);
1347
- // there is no ancestor component or the ancestor component
1348
- // has already fired off its lifecycle update then
1349
- // fire off the initial update
1350
- const dispatch = () => dispatchHooks(hostRef, isInitialLoad);
1351
- return writeTask(dispatch) ;
1352
- };
1353
- const dispatchHooks = (hostRef, isInitialLoad) => {
1354
- const endSchedule = createTime('scheduleUpdate', hostRef.$cmpMeta$.$tagName$);
1355
- const instance = hostRef.$lazyInstance$ ;
1356
- let promise;
1357
- if (isInitialLoad) {
1358
- {
1359
- promise = safeCall(instance, 'componentWillLoad');
1360
- }
1361
- }
1362
- {
1363
- promise = then(promise, () => safeCall(instance, 'componentWillRender'));
1364
- }
1365
- endSchedule();
1366
- return then(promise, () => updateComponent(hostRef, instance, isInitialLoad));
1367
- };
1368
- const updateComponent = async (hostRef, instance, isInitialLoad) => {
1369
- // updateComponent
1370
- const elm = hostRef.$hostElement$;
1371
- const endUpdate = createTime('update', hostRef.$cmpMeta$.$tagName$);
1372
- const rc = elm['s-rc'];
1373
- if (isInitialLoad) {
1374
- // DOM WRITE!
1375
- attachStyles(hostRef);
1376
- }
1377
- const endRender = createTime('render', hostRef.$cmpMeta$.$tagName$);
1378
- {
1379
- callRender(hostRef, instance);
1380
- }
1381
- if (rc) {
1382
- // ok, so turns out there are some child host elements
1383
- // waiting on this parent element to load
1384
- // let's fire off all update callbacks waiting
1385
- rc.map((cb) => cb());
1386
- elm['s-rc'] = undefined;
1387
- }
1388
- endRender();
1389
- endUpdate();
1390
- {
1391
- const childrenPromises = elm['s-p'];
1392
- const postUpdate = () => postUpdateComponent(hostRef);
1393
- if (childrenPromises.length === 0) {
1394
- postUpdate();
1395
- }
1396
- else {
1397
- Promise.all(childrenPromises).then(postUpdate);
1398
- hostRef.$flags$ |= 4 /* HOST_FLAGS.isWaitingForChildren */;
1399
- childrenPromises.length = 0;
1400
- }
1401
- }
1402
- };
1403
- const callRender = (hostRef, instance, elm) => {
1404
- try {
1405
- instance = instance.render() ;
1406
- {
1407
- hostRef.$flags$ &= ~16 /* HOST_FLAGS.isQueuedForUpdate */;
1408
- }
1409
- {
1410
- hostRef.$flags$ |= 2 /* HOST_FLAGS.hasRendered */;
1411
- }
1412
- {
1413
- {
1414
- // looks like we've got child nodes to render into this host element
1415
- // or we need to update the css class/attrs on the host element
1416
- // DOM WRITE!
1417
- {
1418
- renderVdom(hostRef, instance);
1419
- }
1420
- }
1421
- }
1422
- }
1423
- catch (e) {
1424
- consoleError(e, hostRef.$hostElement$);
1425
- }
1426
- return null;
1427
- };
1428
- const postUpdateComponent = (hostRef) => {
1429
- const tagName = hostRef.$cmpMeta$.$tagName$;
1430
- const elm = hostRef.$hostElement$;
1431
- const endPostUpdate = createTime('postUpdate', tagName);
1432
- const instance = hostRef.$lazyInstance$ ;
1433
- const ancestorComponent = hostRef.$ancestorComponent$;
1434
- {
1435
- safeCall(instance, 'componentDidRender');
1436
- }
1437
- if (!(hostRef.$flags$ & 64 /* HOST_FLAGS.hasLoadedComponent */)) {
1438
- hostRef.$flags$ |= 64 /* HOST_FLAGS.hasLoadedComponent */;
1439
- {
1440
- // DOM WRITE!
1441
- addHydratedFlag(elm);
1442
- }
1443
- {
1444
- safeCall(instance, 'componentDidLoad');
1445
- }
1446
- endPostUpdate();
1447
- {
1448
- hostRef.$onReadyResolve$(elm);
1449
- if (!ancestorComponent) {
1450
- appDidLoad();
1451
- }
1452
- }
1453
- }
1454
- else {
1455
- endPostUpdate();
1456
- }
1457
- {
1458
- hostRef.$onInstanceResolve$(elm);
1459
- }
1460
- // load events fire from bottom to top
1461
- // the deepest elements load first then bubbles up
1462
- {
1463
- if (hostRef.$onRenderResolve$) {
1464
- hostRef.$onRenderResolve$();
1465
- hostRef.$onRenderResolve$ = undefined;
1466
- }
1467
- if (hostRef.$flags$ & 512 /* HOST_FLAGS.needsRerender */) {
1468
- nextTick(() => scheduleUpdate(hostRef, false));
1469
- }
1470
- hostRef.$flags$ &= ~(4 /* HOST_FLAGS.isWaitingForChildren */ | 512 /* HOST_FLAGS.needsRerender */);
1471
- }
1472
- // ( •_•)
1473
- // ( •_•)>⌐■-■
1474
- // (⌐■_■)
1475
- };
1476
- const appDidLoad = (who) => {
1477
- // on appload
1478
- // we have finish the first big initial render
1479
- {
1480
- addHydratedFlag(doc.documentElement);
1481
- }
1482
- nextTick(() => emitEvent(win, 'appload', { detail: { namespace: NAMESPACE } }));
1483
- };
1484
- const safeCall = (instance, method, arg) => {
1485
- if (instance && instance[method]) {
1486
- try {
1487
- return instance[method](arg);
1488
- }
1489
- catch (e) {
1490
- consoleError(e);
1491
- }
1492
- }
1493
- return undefined;
1494
- };
1495
- const then = (promise, thenFn) => {
1496
- return promise && promise.then ? promise.then(thenFn) : thenFn();
1497
- };
1498
- const addHydratedFlag = (elm) => elm.classList.add('hydrated')
1499
- ;
1500
- const getValue = (ref, propName) => getHostRef(ref).$instanceValues$.get(propName);
1501
- const setValue = (ref, propName, newVal, cmpMeta) => {
1502
- // check our new property value against our internal value
1503
- const hostRef = getHostRef(ref);
1504
- const elm = hostRef.$hostElement$ ;
1505
- const oldVal = hostRef.$instanceValues$.get(propName);
1506
- const flags = hostRef.$flags$;
1507
- const instance = hostRef.$lazyInstance$ ;
1508
- newVal = parsePropertyValue(newVal, cmpMeta.$members$[propName][0]);
1509
- // explicitly check for NaN on both sides, as `NaN === NaN` is always false
1510
- const areBothNaN = Number.isNaN(oldVal) && Number.isNaN(newVal);
1511
- const didValueChange = newVal !== oldVal && !areBothNaN;
1512
- if ((!(flags & 8 /* HOST_FLAGS.isConstructingInstance */) || oldVal === undefined) && didValueChange) {
1513
- // gadzooks! the property's value has changed!!
1514
- // set our new value!
1515
- hostRef.$instanceValues$.set(propName, newVal);
1516
- if (instance) {
1517
- // get an array of method names of watch functions to call
1518
- if (cmpMeta.$watchers$ && flags & 128 /* HOST_FLAGS.isWatchReady */) {
1519
- const watchMethods = cmpMeta.$watchers$[propName];
1520
- if (watchMethods) {
1521
- // this instance is watching for when this property changed
1522
- watchMethods.map((watchMethodName) => {
1523
- try {
1524
- // fire off each of the watch methods that are watching this property
1525
- instance[watchMethodName](newVal, oldVal, propName);
1526
- }
1527
- catch (e) {
1528
- consoleError(e, elm);
1529
- }
1530
- });
1531
- }
1532
- }
1533
- if ((flags & (2 /* HOST_FLAGS.hasRendered */ | 16 /* HOST_FLAGS.isQueuedForUpdate */)) === 2 /* HOST_FLAGS.hasRendered */) {
1534
- // looks like this value actually changed, so we've got work to do!
1535
- // but only if we've already rendered, otherwise just chill out
1536
- // queue that we need to do an update, but don't worry about queuing
1537
- // up millions cuz this function ensures it only runs once
1538
- scheduleUpdate(hostRef, false);
1539
- }
1540
- }
1541
- }
1542
- };
1543
- /**
1544
- * Attach a series of runtime constructs to a compiled Stencil component
1545
- * constructor, including getters and setters for the `@Prop` and `@State`
1546
- * decorators, callbacks for when attributes change, and so on.
1547
- *
1548
- * @param Cstr the constructor for a component that we need to process
1549
- * @param cmpMeta metadata collected previously about the component
1550
- * @param flags a number used to store a series of bit flags
1551
- * @returns a reference to the same constructor passed in (but now mutated)
1552
- */
1553
- const proxyComponent = (Cstr, cmpMeta, flags) => {
1554
- if (cmpMeta.$members$) {
1555
- if (Cstr.watchers) {
1556
- cmpMeta.$watchers$ = Cstr.watchers;
1557
- }
1558
- // It's better to have a const than two Object.entries()
1559
- const members = Object.entries(cmpMeta.$members$);
1560
- const prototype = Cstr.prototype;
1561
- members.map(([memberName, [memberFlags]]) => {
1562
- if ((memberFlags & 31 /* MEMBER_FLAGS.Prop */ ||
1563
- ((flags & 2 /* PROXY_FLAGS.proxyState */) && memberFlags & 32 /* MEMBER_FLAGS.State */))) {
1564
- // proxyComponent - prop
1565
- Object.defineProperty(prototype, memberName, {
1566
- get() {
1567
- // proxyComponent, get value
1568
- return getValue(this, memberName);
1569
- },
1570
- set(newValue) {
1571
- // proxyComponent, set value
1572
- setValue(this, memberName, newValue, cmpMeta);
1573
- },
1574
- configurable: true,
1575
- enumerable: true,
1576
- });
1577
- }
1578
- else if (flags & 1 /* PROXY_FLAGS.isElementConstructor */ &&
1579
- memberFlags & 64 /* MEMBER_FLAGS.Method */) {
1580
- // proxyComponent - method
1581
- Object.defineProperty(prototype, memberName, {
1582
- value(...args) {
1583
- const ref = getHostRef(this);
1584
- return ref.$onInstancePromise$.then(() => ref.$lazyInstance$[memberName](...args));
1585
- },
1586
- });
1587
- }
1588
- });
1589
- if ((flags & 1 /* PROXY_FLAGS.isElementConstructor */)) {
1590
- const attrNameToPropName = new Map();
1591
- prototype.attributeChangedCallback = function (attrName, _oldValue, newValue) {
1592
- plt.jmp(() => {
1593
- const propName = attrNameToPropName.get(attrName);
1594
- // In a web component lifecycle the attributeChangedCallback runs prior to connectedCallback
1595
- // in the case where an attribute was set inline.
1596
- // ```html
1597
- // <my-component some-attribute="some-value"></my-component>
1598
- // ```
1599
- //
1600
- // There is an edge case where a developer sets the attribute inline on a custom element and then
1601
- // programmatically changes it before it has been upgraded as shown below:
1602
- //
1603
- // ```html
1604
- // <!-- this component has _not_ been upgraded yet -->
1605
- // <my-component id="test" some-attribute="some-value"></my-component>
1606
- // <script>
1607
- // // grab non-upgraded component
1608
- // el = document.querySelector("#test");
1609
- // el.someAttribute = "another-value";
1610
- // // upgrade component
1611
- // customElements.define('my-component', MyComponent);
1612
- // </script>
1613
- // ```
1614
- // In this case if we do not unshadow here and use the value of the shadowing property, attributeChangedCallback
1615
- // will be called with `newValue = "some-value"` and will set the shadowed property (this.someAttribute = "another-value")
1616
- // to the value that was set inline i.e. "some-value" from above example. When
1617
- // the connectedCallback attempts to unshadow it will use "some-value" as the initial value rather than "another-value"
1618
- //
1619
- // The case where the attribute was NOT set inline but was not set programmatically shall be handled/unshadowed
1620
- // by connectedCallback as this attributeChangedCallback will not fire.
1621
- //
1622
- // https://developers.google.com/web/fundamentals/web-components/best-practices#lazy-properties
1623
- //
1624
- // TODO(STENCIL-16) we should think about whether or not we actually want to be reflecting the attributes to
1625
- // properties here given that this goes against best practices outlined here
1626
- // https://developers.google.com/web/fundamentals/web-components/best-practices#avoid-reentrancy
1627
- if (this.hasOwnProperty(propName)) {
1628
- newValue = this[propName];
1629
- delete this[propName];
1630
- }
1631
- else if (prototype.hasOwnProperty(propName) &&
1632
- typeof this[propName] === 'number' &&
1633
- this[propName] == newValue) {
1634
- // if the propName exists on the prototype of `Cstr`, this update may be a result of Stencil using native
1635
- // APIs to reflect props as attributes. Calls to `setAttribute(someElement, propName)` will result in
1636
- // `propName` to be converted to a `DOMString`, which may not be what we want for other primitive props.
1637
- return;
1638
- }
1639
- this[propName] = newValue === null && typeof this[propName] === 'boolean' ? false : newValue;
1640
- });
1641
- };
1642
- // create an array of attributes to observe
1643
- // and also create a map of html attribute name to js property name
1644
- Cstr.observedAttributes = members
1645
- .filter(([_, m]) => m[0] & 15 /* MEMBER_FLAGS.HasAttribute */) // filter to only keep props that should match attributes
1646
- .map(([propName, m]) => {
1647
- const attrName = m[1] || propName;
1648
- attrNameToPropName.set(attrName, propName);
1649
- if (m[0] & 512 /* MEMBER_FLAGS.ReflectAttr */) {
1650
- cmpMeta.$attrsToReflect$.push([propName, attrName]);
1651
- }
1652
- return attrName;
1653
- });
1654
- }
1655
- }
1656
- return Cstr;
1657
- };
1658
- const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) => {
1659
- // initializeComponent
1660
- if ((hostRef.$flags$ & 32 /* HOST_FLAGS.hasInitializedComponent */) === 0) {
1661
- {
1662
- // we haven't initialized this element yet
1663
- hostRef.$flags$ |= 32 /* HOST_FLAGS.hasInitializedComponent */;
1664
- // lazy loaded components
1665
- // request the component's implementation to be
1666
- // wired up with the host element
1667
- Cstr = loadModule(cmpMeta);
1668
- if (Cstr.then) {
1669
- // Await creates a micro-task avoid if possible
1670
- const endLoad = uniqueTime();
1671
- Cstr = await Cstr;
1672
- endLoad();
1673
- }
1674
- if (!Cstr.isProxied) {
1675
- // we've never proxied this Constructor before
1676
- // let's add the getters/setters to its prototype before
1677
- // the first time we create an instance of the implementation
1678
- {
1679
- cmpMeta.$watchers$ = Cstr.watchers;
1680
- }
1681
- proxyComponent(Cstr, cmpMeta, 2 /* PROXY_FLAGS.proxyState */);
1682
- Cstr.isProxied = true;
1683
- }
1684
- const endNewInstance = createTime('createInstance', cmpMeta.$tagName$);
1685
- // ok, time to construct the instance
1686
- // but let's keep track of when we start and stop
1687
- // so that the getters/setters don't incorrectly step on data
1688
- {
1689
- hostRef.$flags$ |= 8 /* HOST_FLAGS.isConstructingInstance */;
1690
- }
1691
- // construct the lazy-loaded component implementation
1692
- // passing the hostRef is very important during
1693
- // construction in order to directly wire together the
1694
- // host element and the lazy-loaded instance
1695
- try {
1696
- new Cstr(hostRef);
1697
- }
1698
- catch (e) {
1699
- consoleError(e);
1700
- }
1701
- {
1702
- hostRef.$flags$ &= ~8 /* HOST_FLAGS.isConstructingInstance */;
1703
- }
1704
- {
1705
- hostRef.$flags$ |= 128 /* HOST_FLAGS.isWatchReady */;
1706
- }
1707
- endNewInstance();
1708
- fireConnectedCallback(hostRef.$lazyInstance$);
1709
- }
1710
- if (Cstr.style) {
1711
- // this component has styles but we haven't registered them yet
1712
- let style = Cstr.style;
1713
- const scopeId = getScopeId(cmpMeta);
1714
- if (!styles.has(scopeId)) {
1715
- const endRegisterStyles = createTime('registerStyles', cmpMeta.$tagName$);
1716
- registerStyle(scopeId, style, !!(cmpMeta.$flags$ & 1 /* CMP_FLAGS.shadowDomEncapsulation */));
1717
- endRegisterStyles();
1718
- }
1719
- }
1720
- }
1721
- // we've successfully created a lazy instance
1722
- const ancestorComponent = hostRef.$ancestorComponent$;
1723
- const schedule = () => scheduleUpdate(hostRef, true);
1724
- if (ancestorComponent && ancestorComponent['s-rc']) {
1725
- // this is the initial load and this component it has an ancestor component
1726
- // but the ancestor component has NOT fired its will update lifecycle yet
1727
- // so let's just cool our jets and wait for the ancestor to continue first
1728
- // this will get fired off when the ancestor component
1729
- // finally gets around to rendering its lazy self
1730
- // fire off the initial update
1731
- ancestorComponent['s-rc'].push(schedule);
1732
- }
1733
- else {
1734
- schedule();
1735
- }
1736
- };
1737
- const fireConnectedCallback = (instance) => {
1738
- {
1739
- safeCall(instance, 'connectedCallback');
1740
- }
1741
- };
1742
- const connectedCallback = (elm) => {
1743
- if ((plt.$flags$ & 1 /* PLATFORM_FLAGS.isTmpDisconnected */) === 0) {
1744
- const hostRef = getHostRef(elm);
1745
- const cmpMeta = hostRef.$cmpMeta$;
1746
- const endConnected = createTime('connectedCallback', cmpMeta.$tagName$);
1747
- if (!(hostRef.$flags$ & 1 /* HOST_FLAGS.hasConnected */)) {
1748
- // first time this component has connected
1749
- hostRef.$flags$ |= 1 /* HOST_FLAGS.hasConnected */;
1750
- let hostId;
1751
- {
1752
- hostId = elm.getAttribute(HYDRATE_ID);
1753
- if (hostId) {
1754
- initializeClientHydrate(elm, cmpMeta.$tagName$, hostId, hostRef);
1755
- }
1756
- }
1757
- if (!hostId) {
1758
- // initUpdate
1759
- // if the slot polyfill is required we'll need to put some nodes
1760
- // in here to act as original content anchors as we move nodes around
1761
- // host element has been connected to the DOM
1762
- if ((cmpMeta.$flags$ & (4 /* CMP_FLAGS.hasSlotRelocation */ | 8 /* CMP_FLAGS.needsShadowDomShim */))) {
1763
- setContentReference(elm);
1764
- }
1765
- }
1766
- {
1767
- // find the first ancestor component (if there is one) and register
1768
- // this component as one of the actively loading child components for its ancestor
1769
- let ancestorComponent = elm;
1770
- while ((ancestorComponent = ancestorComponent.parentNode || ancestorComponent.host)) {
1771
- // climb up the ancestors looking for the first
1772
- // component that hasn't finished its lifecycle update yet
1773
- if ((ancestorComponent.nodeType === 1 /* NODE_TYPE.ElementNode */ &&
1774
- ancestorComponent.hasAttribute('s-id') &&
1775
- ancestorComponent['s-p']) ||
1776
- ancestorComponent['s-p']) {
1777
- // we found this components first ancestor component
1778
- // keep a reference to this component's ancestor component
1779
- attachToAncestor(hostRef, (hostRef.$ancestorComponent$ = ancestorComponent));
1780
- break;
1781
- }
1782
- }
1783
- }
1784
- // Lazy properties
1785
- // https://developers.google.com/web/fundamentals/web-components/best-practices#lazy-properties
1786
- if (cmpMeta.$members$) {
1787
- Object.entries(cmpMeta.$members$).map(([memberName, [memberFlags]]) => {
1788
- if (memberFlags & 31 /* MEMBER_FLAGS.Prop */ && elm.hasOwnProperty(memberName)) {
1789
- const value = elm[memberName];
1790
- delete elm[memberName];
1791
- elm[memberName] = value;
1792
- }
1793
- });
1794
- }
1795
- {
1796
- initializeComponent(elm, hostRef, cmpMeta);
1797
- }
1798
- }
1799
- else {
1800
- // fire off connectedCallback() on component instance
1801
- fireConnectedCallback(hostRef.$lazyInstance$);
1802
- }
1803
- endConnected();
1804
- }
1805
- };
1806
- const setContentReference = (elm) => {
1807
- // only required when we're NOT using native shadow dom (slot)
1808
- // or this browser doesn't support native shadow dom
1809
- // and this host element was NOT created with SSR
1810
- // let's pick out the inner content for slot projection
1811
- // create a node to represent where the original
1812
- // content was first placed, which is useful later on
1813
- const contentRefElm = (elm['s-cr'] = doc.createComment(''));
1814
- contentRefElm['s-cn'] = true;
1815
- elm.insertBefore(contentRefElm, elm.firstChild);
1816
- };
1817
- const disconnectedCallback = (elm) => {
1818
- if ((plt.$flags$ & 1 /* PLATFORM_FLAGS.isTmpDisconnected */) === 0) {
1819
- const hostRef = getHostRef(elm);
1820
- const instance = hostRef.$lazyInstance$ ;
1821
- {
1822
- safeCall(instance, 'disconnectedCallback');
1823
- }
1824
- }
1825
- };
1826
- const bootstrapLazy = (lazyBundles, options = {}) => {
1827
- const endBootstrap = createTime();
1828
- const cmpTags = [];
1829
- const exclude = options.exclude || [];
1830
- const customElements = win.customElements;
1831
- const head = doc.head;
1832
- const metaCharset = /*@__PURE__*/ head.querySelector('meta[charset]');
1833
- const visibilityStyle = /*@__PURE__*/ doc.createElement('style');
1834
- const deferredConnectedCallbacks = [];
1835
- let appLoadFallback;
1836
- let isBootstrapping = true;
1837
- Object.assign(plt, options);
1838
- plt.$resourcesUrl$ = new URL(options.resourcesUrl || './', doc.baseURI).href;
1839
- {
1840
- // If the app is already hydrated there is not point to disable the
1841
- // async queue. This will improve the first input delay
1842
- plt.$flags$ |= 2 /* PLATFORM_FLAGS.appLoaded */;
1843
- }
1844
- lazyBundles.map((lazyBundle) => {
1845
- lazyBundle[1].map((compactMeta) => {
1846
- const cmpMeta = {
1847
- $flags$: compactMeta[0],
1848
- $tagName$: compactMeta[1],
1849
- $members$: compactMeta[2],
1850
- $listeners$: compactMeta[3],
1851
- };
1852
- {
1853
- cmpMeta.$members$ = compactMeta[2];
1854
- }
1855
- {
1856
- cmpMeta.$attrsToReflect$ = [];
1857
- }
1858
- {
1859
- cmpMeta.$watchers$ = {};
1860
- }
1861
- const tagName = cmpMeta.$tagName$;
1862
- const HostElement = class extends HTMLElement {
1863
- // StencilLazyHost
1864
- constructor(self) {
1865
- // @ts-ignore
1866
- super(self);
1867
- self = this;
1868
- registerHost(self, cmpMeta);
1869
- }
1870
- connectedCallback() {
1871
- if (appLoadFallback) {
1872
- clearTimeout(appLoadFallback);
1873
- appLoadFallback = null;
1874
- }
1875
- if (isBootstrapping) {
1876
- // connectedCallback will be processed once all components have been registered
1877
- deferredConnectedCallbacks.push(this);
1878
- }
1879
- else {
1880
- plt.jmp(() => connectedCallback(this));
1881
- }
1882
- }
1883
- disconnectedCallback() {
1884
- plt.jmp(() => disconnectedCallback(this));
1885
- }
1886
- componentOnReady() {
1887
- return getHostRef(this).$onReadyPromise$;
1888
- }
1889
- };
1890
- cmpMeta.$lazyBundleId$ = lazyBundle[0];
1891
- if (!exclude.includes(tagName) && !customElements.get(tagName)) {
1892
- cmpTags.push(tagName);
1893
- customElements.define(tagName, proxyComponent(HostElement, cmpMeta, 1 /* PROXY_FLAGS.isElementConstructor */));
1894
- }
1895
- });
1896
- });
1897
- {
1898
- visibilityStyle.innerHTML = cmpTags + HYDRATED_CSS;
1899
- visibilityStyle.setAttribute('data-styles', '');
1900
- head.insertBefore(visibilityStyle, metaCharset ? metaCharset.nextSibling : head.firstChild);
1901
- }
1902
- // Process deferred connectedCallbacks now all components have been registered
1903
- isBootstrapping = false;
1904
- if (deferredConnectedCallbacks.length) {
1905
- deferredConnectedCallbacks.map((host) => host.connectedCallback());
1906
- }
1907
- else {
1908
- {
1909
- plt.jmp(() => (appLoadFallback = setTimeout(appDidLoad, 30)));
1910
- }
1911
- }
1912
- // Fallback appLoad event
1913
- endBootstrap();
1914
- };
1915
- const hostRefs = /*@__PURE__*/ new WeakMap();
1916
- const getHostRef = (ref) => hostRefs.get(ref);
1917
- const registerInstance = (lazyInstance, hostRef) => hostRefs.set((hostRef.$lazyInstance$ = lazyInstance), hostRef);
1918
- const registerHost = (elm, cmpMeta) => {
1919
- const hostRef = {
1920
- $flags$: 0,
1921
- $hostElement$: elm,
1922
- $cmpMeta$: cmpMeta,
1923
- $instanceValues$: new Map(),
1924
- };
1925
- {
1926
- hostRef.$onInstancePromise$ = new Promise((r) => (hostRef.$onInstanceResolve$ = r));
1927
- }
1928
- {
1929
- hostRef.$onReadyPromise$ = new Promise((r) => (hostRef.$onReadyResolve$ = r));
1930
- elm['s-p'] = [];
1931
- elm['s-rc'] = [];
1932
- }
1933
- return hostRefs.set(elm, hostRef);
1934
- };
1935
- const isMemberInElement = (elm, memberName) => memberName in elm;
1936
- const consoleError = (e, el) => (0, console.error)(e, el);
1937
- const cmpModules = /*@__PURE__*/ new Map();
1938
- const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
1939
- // loadModuleImport
1940
- const exportName = cmpMeta.$tagName$.replace(/-/g, '_');
1941
- const bundleId = cmpMeta.$lazyBundleId$;
1942
- const module = cmpModules.get(bundleId) ;
1943
- if (module) {
1944
- return module[exportName];
1945
- }
1946
-
1947
- if (!hmrVersionId || !BUILD.hotModuleReplacement) {
1948
- const processMod = importedModule => {
1949
- cmpModules.set(bundleId, importedModule);
1950
- return importedModule[exportName];
1951
- }
1952
- switch(bundleId) {
1953
-
1954
- case 'gov-app.cjs':
1955
- return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
1956
- /* webpackMode: "lazy" */
1957
- './gov-app.cjs.entry.js')); }).then(processMod, consoleError);
1958
- case 'gov-accordion.cjs':
1959
- return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
1960
- /* webpackMode: "lazy" */
1961
- './gov-accordion.cjs.entry.js')); }).then(processMod, consoleError);
1962
- case 'gov-accordion-item.cjs':
1963
- return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
1964
- /* webpackMode: "lazy" */
1965
- './gov-accordion-item.cjs.entry.js')); }).then(processMod, consoleError);
1966
- case 'gov-alert.cjs':
1967
- return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
1968
- /* webpackMode: "lazy" */
1969
- './gov-alert.cjs.entry.js')); }).then(processMod, consoleError);
1970
- case 'gov-breadcrumbs.cjs':
1971
- return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
1972
- /* webpackMode: "lazy" */
1973
- './gov-breadcrumbs.cjs.entry.js')); }).then(processMod, consoleError);
1974
- case 'gov-card.cjs':
1975
- return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
1976
- /* webpackMode: "lazy" */
1977
- './gov-card.cjs.entry.js')); }).then(processMod, consoleError);
1978
- case 'gov-container.cjs':
1979
- return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
1980
- /* webpackMode: "lazy" */
1981
- './gov-container.cjs.entry.js')); }).then(processMod, consoleError);
1982
- case 'gov-cookiebar.cjs':
1983
- return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
1984
- /* webpackMode: "lazy" */
1985
- './gov-cookiebar.cjs.entry.js')); }).then(processMod, consoleError);
1986
- case 'gov-empty.cjs':
1987
- return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
1988
- /* webpackMode: "lazy" */
1989
- './gov-empty.cjs.entry.js')); }).then(processMod, consoleError);
1990
- case 'gov-error-code.cjs':
1991
- return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
1992
- /* webpackMode: "lazy" */
1993
- './gov-error-code.cjs.entry.js')); }).then(processMod, consoleError);
1994
- case 'gov-form-checkbox.cjs':
1995
- return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
1996
- /* webpackMode: "lazy" */
1997
- './gov-form-checkbox.cjs.entry.js')); }).then(processMod, consoleError);
1998
- case 'gov-form-control.cjs':
1999
- return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2000
- /* webpackMode: "lazy" */
2001
- './gov-form-control.cjs.entry.js')); }).then(processMod, consoleError);
2002
- case 'gov-form-file.cjs':
2003
- return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2004
- /* webpackMode: "lazy" */
2005
- './gov-form-file.cjs.entry.js')); }).then(processMod, consoleError);
2006
- case 'gov-form-group.cjs':
2007
- return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2008
- /* webpackMode: "lazy" */
2009
- './gov-form-group.cjs.entry.js')); }).then(processMod, consoleError);
2010
- case 'gov-form-label.cjs':
2011
- return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2012
- /* webpackMode: "lazy" */
2013
- './gov-form-label.cjs.entry.js')); }).then(processMod, consoleError);
2014
- case 'gov-form-multi-select.cjs':
2015
- return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2016
- /* webpackMode: "lazy" */
2017
- './gov-form-multi-select.cjs.entry.js')); }).then(processMod, consoleError);
2018
- case 'gov-form-password-power.cjs':
2019
- return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2020
- /* webpackMode: "lazy" */
2021
- './gov-form-password-power.cjs.entry.js')); }).then(processMod, consoleError);
2022
- case 'gov-form-radio.cjs':
2023
- return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2024
- /* webpackMode: "lazy" */
2025
- './gov-form-radio.cjs.entry.js')); }).then(processMod, consoleError);
2026
- case 'gov-form-search.cjs':
2027
- return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2028
- /* webpackMode: "lazy" */
2029
- './gov-form-search.cjs.entry.js')); }).then(processMod, consoleError);
2030
- case 'gov-form-switch.cjs':
2031
- return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2032
- /* webpackMode: "lazy" */
2033
- './gov-form-switch.cjs.entry.js')); }).then(processMod, consoleError);
2034
- case 'gov-grid.cjs':
2035
- return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2036
- /* webpackMode: "lazy" */
2037
- './gov-grid.cjs.entry.js')); }).then(processMod, consoleError);
2038
- case 'gov-grid-item.cjs':
2039
- return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2040
- /* webpackMode: "lazy" */
2041
- './gov-grid-item.cjs.entry.js')); }).then(processMod, consoleError);
2042
- case 'gov-layout.cjs':
2043
- return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2044
- /* webpackMode: "lazy" */
2045
- './gov-layout.cjs.entry.js')); }).then(processMod, consoleError);
2046
- case 'gov-layout-column.cjs':
2047
- return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2048
- /* webpackMode: "lazy" */
2049
- './gov-layout-column.cjs.entry.js')); }).then(processMod, consoleError);
2050
- case 'gov-loading.cjs':
2051
- return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2052
- /* webpackMode: "lazy" */
2053
- './gov-loading.cjs.entry.js')); }).then(processMod, consoleError);
2054
- case 'gov-message.cjs':
2055
- return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2056
- /* webpackMode: "lazy" */
2057
- './gov-message.cjs.entry.js')); }).then(processMod, consoleError);
2058
- case 'gov-modal.cjs':
2059
- return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2060
- /* webpackMode: "lazy" */
2061
- './gov-modal.cjs.entry.js')); }).then(processMod, consoleError);
2062
- case 'gov-nav.cjs':
2063
- return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2064
- /* webpackMode: "lazy" */
2065
- './gov-nav.cjs.entry.js')); }).then(processMod, consoleError);
2066
- case 'gov-nav-item.cjs':
2067
- return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2068
- /* webpackMode: "lazy" */
2069
- './gov-nav-item.cjs.entry.js')); }).then(processMod, consoleError);
2070
- case 'gov-pagination.cjs':
2071
- return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2072
- /* webpackMode: "lazy" */
2073
- './gov-pagination.cjs.entry.js')); }).then(processMod, consoleError);
2074
- case 'gov-prompt.cjs':
2075
- return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2076
- /* webpackMode: "lazy" */
2077
- './gov-prompt.cjs.entry.js')); }).then(processMod, consoleError);
2078
- case 'gov-side-nav.cjs':
2079
- return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2080
- /* webpackMode: "lazy" */
2081
- './gov-side-nav.cjs.entry.js')); }).then(processMod, consoleError);
2082
- case 'gov-side-nav-item.cjs':
2083
- return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2084
- /* webpackMode: "lazy" */
2085
- './gov-side-nav-item.cjs.entry.js')); }).then(processMod, consoleError);
2086
- case 'gov-spacer.cjs':
2087
- return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2088
- /* webpackMode: "lazy" */
2089
- './gov-spacer.cjs.entry.js')); }).then(processMod, consoleError);
2090
- case 'gov-statsbar.cjs':
2091
- return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2092
- /* webpackMode: "lazy" */
2093
- './gov-statsbar.cjs.entry.js')); }).then(processMod, consoleError);
2094
- case 'gov-statsbar-item.cjs':
2095
- return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2096
- /* webpackMode: "lazy" */
2097
- './gov-statsbar-item.cjs.entry.js')); }).then(processMod, consoleError);
2098
- case 'gov-stepper.cjs':
2099
- return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2100
- /* webpackMode: "lazy" */
2101
- './gov-stepper.cjs.entry.js')); }).then(processMod, consoleError);
2102
- case 'gov-stepper-item.cjs':
2103
- return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2104
- /* webpackMode: "lazy" */
2105
- './gov-stepper-item.cjs.entry.js')); }).then(processMod, consoleError);
2106
- case 'gov-tabs.cjs':
2107
- return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2108
- /* webpackMode: "lazy" */
2109
- './gov-tabs.cjs.entry.js')); }).then(processMod, consoleError);
2110
- case 'gov-tabs-item.cjs':
2111
- return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2112
- /* webpackMode: "lazy" */
2113
- './gov-tabs-item.cjs.entry.js')); }).then(processMod, consoleError);
2114
- case 'gov-tile.cjs':
2115
- return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2116
- /* webpackMode: "lazy" */
2117
- './gov-tile.cjs.entry.js')); }).then(processMod, consoleError);
2118
- case 'gov-tiles.cjs':
2119
- return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2120
- /* webpackMode: "lazy" */
2121
- './gov-tiles.cjs.entry.js')); }).then(processMod, consoleError);
2122
- case 'gov-toast.cjs':
2123
- return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2124
- /* webpackMode: "lazy" */
2125
- './gov-toast.cjs.entry.js')); }).then(processMod, consoleError);
2126
- case 'gov-tooltip.cjs':
2127
- return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2128
- /* webpackMode: "lazy" */
2129
- './gov-tooltip.cjs.entry.js')); }).then(processMod, consoleError);
2130
- case 'gov-tooltip-content.cjs':
2131
- return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2132
- /* webpackMode: "lazy" */
2133
- './gov-tooltip-content.cjs.entry.js')); }).then(processMod, consoleError);
2134
- case 'gov-wizzard.cjs':
2135
- return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2136
- /* webpackMode: "lazy" */
2137
- './gov-wizzard.cjs.entry.js')); }).then(processMod, consoleError);
2138
- case 'gov-wizzard-item.cjs':
2139
- return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2140
- /* webpackMode: "lazy" */
2141
- './gov-wizzard-item.cjs.entry.js')); }).then(processMod, consoleError);
2142
- case 'gov-attachments_3.cjs':
2143
- return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2144
- /* webpackMode: "lazy" */
2145
- './gov-attachments_3.cjs.entry.js')); }).then(processMod, consoleError);
2146
- case 'gov-form-autocomplete.cjs':
2147
- return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2148
- /* webpackMode: "lazy" */
2149
- './gov-form-autocomplete.cjs.entry.js')); }).then(processMod, consoleError);
2150
- case 'gov-badge.cjs':
2151
- return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2152
- /* webpackMode: "lazy" */
2153
- './gov-badge.cjs.entry.js')); }).then(processMod, consoleError);
2154
- case 'gov-form-input.cjs':
2155
- return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2156
- /* webpackMode: "lazy" */
2157
- './gov-form-input.cjs.entry.js')); }).then(processMod, consoleError);
2158
- case 'gov-form-select.cjs':
2159
- return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2160
- /* webpackMode: "lazy" */
2161
- './gov-form-select.cjs.entry.js')); }).then(processMod, consoleError);
2162
- case 'gov-backdrop.cjs':
2163
- return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2164
- /* webpackMode: "lazy" */
2165
- './gov-backdrop.cjs.entry.js')); }).then(processMod, consoleError);
2166
- case 'gov-button.cjs':
2167
- return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2168
- /* webpackMode: "lazy" */
2169
- './gov-button.cjs.entry.js')); }).then(processMod, consoleError);
2170
- case 'gov-icon.cjs':
2171
- return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2172
- /* webpackMode: "lazy" */
2173
- './gov-icon.cjs.entry.js')); }).then(processMod, consoleError);
2174
- }
2175
- }
2176
- return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2177
- /* @vite-ignore */
2178
- /* webpackInclude: /\.entry\.js$/ */
2179
- /* webpackExclude: /\.system\.entry\.js$/ */
2180
- /* webpackMode: "lazy" */
2181
- `./${bundleId}.entry.js${''}`)); }).then((importedModule) => {
2182
- {
2183
- cmpModules.set(bundleId, importedModule);
2184
- }
2185
- return importedModule[exportName];
2186
- }, consoleError);
2187
- };
2188
- const styles = /*@__PURE__*/ new Map();
2189
- const win = typeof window !== 'undefined' ? window : {};
2190
- const doc = win.document || { head: {} };
2191
- const plt = {
2192
- $flags$: 0,
2193
- $resourcesUrl$: '',
2194
- jmp: (h) => h(),
2195
- raf: (h) => requestAnimationFrame(h),
2196
- ael: (el, eventName, listener, opts) => el.addEventListener(eventName, listener, opts),
2197
- rel: (el, eventName, listener, opts) => el.removeEventListener(eventName, listener, opts),
2198
- ce: (eventName, opts) => new CustomEvent(eventName, opts),
2199
- };
2200
- const supportsShadow = true;
2201
- const promiseResolve = (v) => Promise.resolve(v);
2202
- const supportsConstructableStylesheets = /*@__PURE__*/ (() => {
2203
- try {
2204
- new CSSStyleSheet();
2205
- return typeof new CSSStyleSheet().replaceSync === 'function';
2206
- }
2207
- catch (e) { }
2208
- return false;
2209
- })()
2210
- ;
2211
- const queueDomReads = [];
2212
- const queueDomWrites = [];
2213
- const queueTask = (queue, write) => (cb) => {
2214
- queue.push(cb);
2215
- if (!queuePending) {
2216
- queuePending = true;
2217
- if (write && plt.$flags$ & 4 /* PLATFORM_FLAGS.queueSync */) {
2218
- nextTick(flush);
2219
- }
2220
- else {
2221
- plt.raf(flush);
2222
- }
2223
- }
2224
- };
2225
- const consume = (queue) => {
2226
- for (let i = 0; i < queue.length; i++) {
2227
- try {
2228
- queue[i](performance.now());
2229
- }
2230
- catch (e) {
2231
- consoleError(e);
2232
- }
2233
- }
2234
- queue.length = 0;
2235
- };
2236
- const flush = () => {
2237
- // always force a bunch of medium callbacks to run, but still have
2238
- // a throttle on how many can run in a certain time
2239
- // DOM READS!!!
2240
- consume(queueDomReads);
2241
- // DOM WRITES!!!
2242
- {
2243
- consume(queueDomWrites);
2244
- if ((queuePending = queueDomReads.length > 0)) {
2245
- // still more to do yet, but we've run out of time
2246
- // let's let this thing cool off and try again in the next tick
2247
- plt.raf(flush);
2248
- }
2249
- }
2250
- };
2251
- const nextTick = /*@__PURE__*/ (cb) => promiseResolve().then(cb);
2252
- const writeTask = /*@__PURE__*/ queueTask(queueDomWrites, true);
2253
-
2254
- exports.Host = Host;
2255
- exports.bootstrapLazy = bootstrapLazy;
2256
- exports.createEvent = createEvent;
2257
- exports.getAssetPath = getAssetPath;
2258
- exports.getElement = getElement;
2259
- exports.h = h;
2260
- exports.promiseResolve = promiseResolve;
2261
- exports.registerInstance = registerInstance;
2262
-
2263
- //# sourceMappingURL=index-356717ae.js.map