@govbr-ds/webcomponents 2.1.0 → 2.1.2

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 (866) hide show
  1. package/README.md +0 -11
  2. package/cem/custom-elements.json +272 -71
  3. package/dist/cjs/app-globals-DcqHuMBv.js +9 -0
  4. package/dist/cjs/br-avatar.cjs.entry.js +248 -0
  5. package/dist/cjs/br-breadcrumb-item.cjs.entry.js +45 -0
  6. package/dist/cjs/br-breadcrumb.cjs.entry.js +443 -0
  7. package/dist/cjs/br-button_2.cjs.entry.js +280 -0
  8. package/dist/cjs/br-card.cjs.entry.js +111 -0
  9. package/dist/cjs/br-carousel-page.cjs.entry.js +80 -0
  10. package/dist/cjs/br-carousel.cjs.entry.js +565 -0
  11. package/dist/cjs/br-checkbox-group.cjs.entry.js +118 -0
  12. package/dist/cjs/br-checkbox.cjs.entry.js +288 -0
  13. package/dist/cjs/br-checkgroup.cjs.entry.js +20 -0
  14. package/dist/cjs/br-collapse_2.cjs.entry.js +683 -0
  15. package/dist/cjs/br-cookiebar-cookie.cjs.entry.js +83 -0
  16. package/dist/cjs/br-cookiebar-group.cjs.entry.js +309 -0
  17. package/dist/cjs/br-cookiebar-header.cjs.entry.js +39 -0
  18. package/dist/cjs/br-cookiebar-link.cjs.entry.js +55 -0
  19. package/dist/cjs/br-cookiebar-note-group.cjs.entry.js +70 -0
  20. package/dist/cjs/br-cookiebar-note.cjs.entry.js +25 -0
  21. package/dist/cjs/br-cookiebar.cjs.entry.js +758 -0
  22. package/dist/cjs/br-crumb.cjs.entry.js +51 -0
  23. package/dist/cjs/br-date-picker_3.cjs.entry.js +2447 -0
  24. package/dist/cjs/br-datetime-picker.cjs.entry.js +1886 -0
  25. package/dist/cjs/br-divider.cjs.entry.js +225 -0
  26. package/dist/cjs/br-dropdown_2.cjs.entry.js +2000 -0
  27. package/dist/cjs/br-footer-category.cjs.entry.js +102 -0
  28. package/dist/cjs/br-footer-item.cjs.entry.js +52 -0
  29. package/dist/cjs/br-footer-legal.cjs.entry.js +41 -0
  30. package/dist/cjs/br-footer-logo.cjs.entry.js +104 -0
  31. package/dist/cjs/br-footer-social.cjs.entry.js +71 -0
  32. package/dist/cjs/br-footer.cjs.entry.js +92 -0
  33. package/dist/cjs/br-header-function.cjs.entry.js +142 -0
  34. package/dist/cjs/br-header-link.cjs.entry.js +60 -0
  35. package/dist/cjs/br-header-list.cjs.entry.js +279 -0
  36. package/dist/cjs/br-header-logo.cjs.entry.js +178 -0
  37. package/dist/cjs/br-header.cjs.entry.js +642 -0
  38. package/dist/cjs/br-icon.cjs.entry.js +485 -0
  39. package/dist/cjs/br-input.cjs.entry.js +599 -0
  40. package/dist/cjs/br-item.cjs.entry.js +367 -0
  41. package/dist/cjs/br-link.cjs.entry.js +133 -0
  42. package/dist/cjs/br-loading.cjs.entry.js +505 -0
  43. package/dist/cjs/br-magic-button.cjs.entry.js +93 -0
  44. package/dist/cjs/br-menu-group.cjs.entry.js +23 -0
  45. package/dist/cjs/br-menu-header.cjs.entry.js +47 -0
  46. package/dist/cjs/br-menu-info.cjs.entry.js +38 -0
  47. package/dist/cjs/br-menu-item.cjs.entry.js +79 -0
  48. package/dist/cjs/br-menu-link.cjs.entry.js +56 -0
  49. package/dist/cjs/br-menu-list.cjs.entry.js +149 -0
  50. package/dist/cjs/br-menu-logo.cjs.entry.js +75 -0
  51. package/dist/cjs/br-menu-social.cjs.entry.js +65 -0
  52. package/dist/cjs/br-menu.cjs.entry.js +993 -0
  53. package/dist/cjs/br-modal.cjs.entry.js +496 -0
  54. package/dist/cjs/br-notification-body.cjs.entry.js +71 -0
  55. package/dist/cjs/br-notification-header.cjs.entry.js +48 -0
  56. package/dist/cjs/br-notification-item.cjs.entry.js +110 -0
  57. package/dist/cjs/br-notification.cjs.entry.js +334 -0
  58. package/dist/cjs/br-pagination.cjs.entry.js +884 -0
  59. package/dist/cjs/br-radio-group.cjs.entry.js +428 -0
  60. package/dist/cjs/br-radio.cjs.entry.js +357 -0
  61. package/dist/cjs/br-scrim.cjs.entry.js +1336 -0
  62. package/dist/cjs/br-select-input_3.cjs.entry.js +988 -0
  63. package/dist/cjs/br-sign-in.cjs.entry.js +126 -0
  64. package/dist/cjs/br-skip-link-item.cjs.entry.js +20 -0
  65. package/dist/cjs/br-skip-link.cjs.entry.js +362 -0
  66. package/dist/cjs/br-skiplink-item.cjs.entry.js +192 -0
  67. package/dist/cjs/br-slider.cjs.entry.js +687 -0
  68. package/dist/cjs/br-step_2.cjs.entry.js +628 -0
  69. package/dist/cjs/br-switch.cjs.entry.js +245 -0
  70. package/dist/cjs/br-tab-item.cjs.entry.js +185 -0
  71. package/dist/cjs/br-tab.cjs.entry.js +397 -0
  72. package/dist/cjs/br-table-body.cjs.entry.js +37 -0
  73. package/dist/cjs/br-table-cell.cjs.entry.js +184 -0
  74. package/dist/cjs/br-table-header-cell.cjs.entry.js +173 -0
  75. package/dist/cjs/br-table-header.cjs.entry.js +37 -0
  76. package/dist/cjs/br-table-row.cjs.entry.js +81 -0
  77. package/dist/cjs/br-table.cjs.entry.js +680 -0
  78. package/dist/cjs/br-tag.cjs.entry.js +493 -0
  79. package/dist/cjs/br-textarea.cjs.entry.js +306 -0
  80. package/dist/cjs/br-tooltip.cjs.entry.js +627 -0
  81. package/dist/cjs/br-upload.cjs.entry.js +581 -0
  82. package/dist/cjs/br-wizard-panel.cjs.entry.js +54 -0
  83. package/dist/cjs/br-wizard.cjs.entry.js +708 -0
  84. package/dist/cjs/breakpoint-observer-P8veqXg7.js +144 -0
  85. package/dist/cjs/clamp-Co_hWptd.js +25 -0
  86. package/dist/cjs/cookiebar.utils-CB1gQwZ4.js +18 -0
  87. package/dist/cjs/datetime-picker-constants-B5pWeOn1.js +3827 -0
  88. package/dist/cjs/event-CmVdNHxl.js +56 -0
  89. package/dist/cjs/floating-surface-dismiss-ccdiD0KF.js +63 -0
  90. package/dist/cjs/floating-ui-MBI1osio.js +136 -0
  91. package/dist/cjs/floating-ui.dom-BUSTaaxR.js +1715 -0
  92. package/dist/cjs/focus-DuywwJPR.js +30 -0
  93. package/dist/cjs/getNextElement-R9l3JtM9.js +31 -0
  94. package/dist/cjs/iconify-icon-DfODV9bf.js +2307 -0
  95. package/dist/cjs/id-CjRFMzf6.js +20 -0
  96. package/dist/cjs/index-C92n55ch.js +678 -0
  97. package/dist/cjs/index-CRdcutym.js +3287 -0
  98. package/dist/cjs/index.cjs.js +12 -0
  99. package/dist/cjs/isNil-DO5zWc3l.js +19 -0
  100. package/dist/cjs/isValid-Fu3kaWNn.js +3694 -0
  101. package/dist/cjs/loader.cjs.js +17 -0
  102. package/dist/cjs/native-dialog--Ewqm4w0.js +49 -0
  103. package/dist/cjs/navigation-AbzwcRCU.js +25 -0
  104. package/dist/cjs/parts-D5K3ae2C.js +19 -0
  105. package/dist/cjs/props-CScmBvKd.js +24 -0
  106. package/dist/cjs/raf-batcher-yc87a4dS.js +55 -0
  107. package/dist/cjs/slot-DAllytTj.js +48 -0
  108. package/dist/cjs/swipe-BU8_XE9f.js +345 -0
  109. package/dist/cjs/table-constants-BOPSay0B.js +183 -0
  110. package/dist/cjs/validator-CTCajtT9.js +123 -0
  111. package/dist/cjs/webcomponents.cjs.js +50 -0
  112. package/dist/collection/assets/icon-search.svg +6 -0
  113. package/dist/collection/assets/logo-negative.svg +1 -0
  114. package/dist/collection/assets/logo-positive.svg +1 -0
  115. package/dist/collection/assets/wc.svg +1 -0
  116. package/dist/collection/collection-manifest.json +113 -0
  117. package/dist/collection/components/avatar/avatar.css +1 -0
  118. package/dist/collection/components/avatar/avatar.js +589 -0
  119. package/dist/collection/components/avatar/avatar.types.js +1 -0
  120. package/dist/collection/components/breadcrumb/breadcrumb-item/breadcrumb-item.js +166 -0
  121. package/dist/collection/components/breadcrumb/breadcrumb.css +1 -0
  122. package/dist/collection/components/breadcrumb/breadcrumb.js +619 -0
  123. package/dist/collection/components/breadcrumb/breadcrumb.types.js +1 -0
  124. package/dist/collection/components/breadcrumb/crumb/crumb.js +175 -0
  125. package/dist/collection/components/button/button.css +1 -0
  126. package/dist/collection/components/button/button.js +546 -0
  127. package/dist/collection/components/button/button.types.js +1 -0
  128. package/dist/collection/components/card/card.css +1 -0
  129. package/dist/collection/components/card/card.js +225 -0
  130. package/dist/collection/components/carousel/carousel-page/carousel-page.css +1 -0
  131. package/dist/collection/components/carousel/carousel-page/carousel-page.js +195 -0
  132. package/dist/collection/components/carousel/carousel.css +1 -0
  133. package/dist/collection/components/carousel/carousel.js +1217 -0
  134. package/dist/collection/components/carousel/carousel.types.js +1 -0
  135. package/dist/collection/components/checkbox/checkbox.css +1 -0
  136. package/dist/collection/components/checkbox/checkbox.js +823 -0
  137. package/dist/collection/components/checkbox/checkbox.types.js +1 -0
  138. package/dist/collection/components/checkbox-group/checkbox-group.css +1 -0
  139. package/dist/collection/components/checkbox-group/checkbox-group.js +268 -0
  140. package/dist/collection/components/checkgroup/checkgroup.js +166 -0
  141. package/dist/collection/components/collapse/collapse.css +1 -0
  142. package/dist/collection/components/collapse/collapse.js +642 -0
  143. package/dist/collection/components/collapse/collapse.types.js +1 -0
  144. package/dist/collection/components/cookiebar/cookiebar-cookie/cookiebar-cookie.css +1 -0
  145. package/dist/collection/components/cookiebar/cookiebar-cookie/cookiebar-cookie.js +529 -0
  146. package/dist/collection/components/cookiebar/cookiebar-group/cookiebar-group.css +1 -0
  147. package/dist/collection/components/cookiebar/cookiebar-group/cookiebar-group.js +628 -0
  148. package/dist/collection/components/cookiebar/cookiebar-header/cookiebar-header.css +1 -0
  149. package/dist/collection/components/cookiebar/cookiebar-header/cookiebar-header.js +165 -0
  150. package/dist/collection/components/cookiebar/cookiebar-link/cookiebar-link.css +1 -0
  151. package/dist/collection/components/cookiebar/cookiebar-link/cookiebar-link.js +201 -0
  152. package/dist/collection/components/cookiebar/cookiebar-note/cookiebar-note.css +1 -0
  153. package/dist/collection/components/cookiebar/cookiebar-note/cookiebar-note.js +100 -0
  154. package/dist/collection/components/cookiebar/cookiebar-note-group/cookiebar-note-group.css +1 -0
  155. package/dist/collection/components/cookiebar/cookiebar-note-group/cookiebar-note-group.js +172 -0
  156. package/dist/collection/components/cookiebar/cookiebar.css +1 -0
  157. package/dist/collection/components/cookiebar/cookiebar.js +1419 -0
  158. package/dist/collection/components/cookiebar/cookiebar.types.js +1 -0
  159. package/dist/collection/components/cookiebar/cookiebar.utils.js +14 -0
  160. package/dist/collection/components/datetime-picker/date-picker/date-picker-locale.js +94 -0
  161. package/dist/collection/components/datetime-picker/date-picker/date-picker-props-validation.js +57 -0
  162. package/dist/collection/components/datetime-picker/date-picker/date-picker.css +1 -0
  163. package/dist/collection/components/datetime-picker/date-picker/date-picker.js +913 -0
  164. package/dist/collection/components/datetime-picker/datetime-input/datetime-input-props-validation.js +65 -0
  165. package/dist/collection/components/datetime-picker/datetime-input/datetime-input.css +1 -0
  166. package/dist/collection/components/datetime-picker/datetime-input/datetime-input.js +826 -0
  167. package/dist/collection/components/datetime-picker/datetime-picker-constants.js +36 -0
  168. package/dist/collection/components/datetime-picker/datetime-picker-form-associated.js +112 -0
  169. package/dist/collection/components/datetime-picker/datetime-picker-props-validation.js +202 -0
  170. package/dist/collection/components/datetime-picker/datetime-picker.css +1 -0
  171. package/dist/collection/components/datetime-picker/datetime-picker.js +1924 -0
  172. package/dist/collection/components/datetime-picker/datetime-picker.types.js +1 -0
  173. package/dist/collection/components/datetime-picker/datetime-picker.utils.js +250 -0
  174. package/dist/collection/components/datetime-picker/time-picker/time-picker-constants.js +13 -0
  175. package/dist/collection/components/datetime-picker/time-picker/time-picker.css +1 -0
  176. package/dist/collection/components/datetime-picker/time-picker/time-picker.js +456 -0
  177. package/dist/collection/components/divider/divider.css +1 -0
  178. package/dist/collection/components/divider/divider.js +537 -0
  179. package/dist/collection/components/divider/divider.types.js +1 -0
  180. package/dist/collection/components/dropdown/dropdown.css +1 -0
  181. package/dist/collection/components/dropdown/dropdown.js +939 -0
  182. package/dist/collection/components/dropdown/dropdown.types.js +1 -0
  183. package/dist/collection/components/footer/footer-category/footer-category.css +1 -0
  184. package/dist/collection/components/footer/footer-category/footer-category.js +160 -0
  185. package/dist/collection/components/footer/footer-item/footer-item.css +1 -0
  186. package/dist/collection/components/footer/footer-item/footer-item.js +154 -0
  187. package/dist/collection/components/footer/footer-legal/footer-legal.css +1 -0
  188. package/dist/collection/components/footer/footer-legal/footer-legal.js +75 -0
  189. package/dist/collection/components/footer/footer-logo/footer-logo.css +1 -0
  190. package/dist/collection/components/footer/footer-logo/footer-logo.js +342 -0
  191. package/dist/collection/components/footer/footer-logo/footer-logo.types.js +1 -0
  192. package/dist/collection/components/footer/footer-social/footer-social.css +1 -0
  193. package/dist/collection/components/footer/footer-social/footer-social.js +239 -0
  194. package/dist/collection/components/footer/footer.css +1 -0
  195. package/dist/collection/components/footer/footer.js +245 -0
  196. package/dist/collection/components/footer/footer.types.js +1 -0
  197. package/dist/collection/components/global.types.js +1 -0
  198. package/dist/collection/components/header/header-function/header-function.css +1 -0
  199. package/dist/collection/components/header/header-function/header-function.js +311 -0
  200. package/dist/collection/components/header/header-link/header-link.css +1 -0
  201. package/dist/collection/components/header/header-link/header-link.js +189 -0
  202. package/dist/collection/components/header/header-list/header-list.css +1 -0
  203. package/dist/collection/components/header/header-list/header-list.js +452 -0
  204. package/dist/collection/components/header/header-logo/header-logo.css +1 -0
  205. package/dist/collection/components/header/header-logo/header-logo.js +421 -0
  206. package/dist/collection/components/header/header.css +1 -0
  207. package/dist/collection/components/header/header.js +1131 -0
  208. package/dist/collection/components/header/header.types.js +1 -0
  209. package/dist/collection/components/icon/default-icons-cache.js +233 -0
  210. package/dist/collection/components/icon/icon.css +1 -0
  211. package/dist/collection/components/icon/icon.js +598 -0
  212. package/dist/collection/components/icon/icon.types.js +1 -0
  213. package/dist/collection/components/icon/icon.utils.js +33 -0
  214. package/dist/collection/components/input/input.css +1 -0
  215. package/dist/collection/components/input/input.js +1642 -0
  216. package/dist/collection/components/input/input.types.js +1 -0
  217. package/dist/collection/components/item/item.css +1 -0
  218. package/dist/collection/components/item/item.js +917 -0
  219. package/dist/collection/components/item/item.types.js +1 -0
  220. package/dist/collection/components/link/link.css +1 -0
  221. package/dist/collection/components/link/link.js +699 -0
  222. package/dist/collection/components/list/list.css +1 -0
  223. package/dist/collection/components/list/list.js +728 -0
  224. package/dist/collection/components/loading/loading.css +1 -0
  225. package/dist/collection/components/loading/loading.js +1169 -0
  226. package/dist/collection/components/loading/loading.types.js +1 -0
  227. package/dist/collection/components/magic-button/magic-button.css +1 -0
  228. package/dist/collection/components/magic-button/magic-button.js +238 -0
  229. package/dist/collection/components/menu/menu-group/menu-group.css +1 -0
  230. package/dist/collection/components/menu/menu-group/menu-group.js +77 -0
  231. package/dist/collection/components/menu/menu-header/menu-header.css +1 -0
  232. package/dist/collection/components/menu/menu-header/menu-header.js +161 -0
  233. package/dist/collection/components/menu/menu-info/menu-info.css +1 -0
  234. package/dist/collection/components/menu/menu-info/menu-info.js +94 -0
  235. package/dist/collection/components/menu/menu-item/menu-item.css +1 -0
  236. package/dist/collection/components/menu/menu-item/menu-item.js +306 -0
  237. package/dist/collection/components/menu/menu-item/menu-item.types.js +1 -0
  238. package/dist/collection/components/menu/menu-link/menu-link.css +1 -0
  239. package/dist/collection/components/menu/menu-link/menu-link.js +260 -0
  240. package/dist/collection/components/menu/menu-list/menu-list.css +1 -0
  241. package/dist/collection/components/menu/menu-list/menu-list.js +311 -0
  242. package/dist/collection/components/menu/menu-logo/menu-logo.css +1 -0
  243. package/dist/collection/components/menu/menu-logo/menu-logo.js +230 -0
  244. package/dist/collection/components/menu/menu-social/menu-social.css +1 -0
  245. package/dist/collection/components/menu/menu-social/menu-social.js +263 -0
  246. package/dist/collection/components/menu/menu.css +1 -0
  247. package/dist/collection/components/menu/menu.js +1372 -0
  248. package/dist/collection/components/menu/menu.types.js +1 -0
  249. package/dist/collection/components/menu/menu.utils.js +279 -0
  250. package/dist/collection/components/message/message.css +1 -0
  251. package/dist/collection/components/message/message.js +508 -0
  252. package/dist/collection/components/modal/modal.css +1 -0
  253. package/dist/collection/components/modal/modal.js +842 -0
  254. package/dist/collection/components/modal/modal.types.js +1 -0
  255. package/dist/collection/components/notification/notification-body/notification-body.css +1 -0
  256. package/dist/collection/components/notification/notification-body/notification-body.js +153 -0
  257. package/dist/collection/components/notification/notification-header/notification-header.css +1 -0
  258. package/dist/collection/components/notification/notification-header/notification-header.js +181 -0
  259. package/dist/collection/components/notification/notification-item/notification-item.css +1 -0
  260. package/dist/collection/components/notification/notification-item/notification-item.js +351 -0
  261. package/dist/collection/components/notification/notification-item/notification-item.types.js +1 -0
  262. package/dist/collection/components/notification/notification.css +1 -0
  263. package/dist/collection/components/notification/notification.js +838 -0
  264. package/dist/collection/components/notification/notification.types.js +1 -0
  265. package/dist/collection/components/pagination/pagination.css +1 -0
  266. package/dist/collection/components/pagination/pagination.js +1470 -0
  267. package/dist/collection/components/pagination/pagination.types.js +1 -0
  268. package/dist/collection/components/radio/radio.css +1 -0
  269. package/dist/collection/components/radio/radio.js +847 -0
  270. package/dist/collection/components/radio/radio.types.js +1 -0
  271. package/dist/collection/components/radio-group/radio-group.css +1 -0
  272. package/dist/collection/components/radio-group/radio-group.js +862 -0
  273. package/dist/collection/components/radio-group/radio-group.types.js +1 -0
  274. package/dist/collection/components/scrim/scrim.css +1 -0
  275. package/dist/collection/components/scrim/scrim.js +1825 -0
  276. package/dist/collection/components/scrim/scrim.types.js +1 -0
  277. package/dist/collection/components/scrim/scrim.utils.js +132 -0
  278. package/dist/collection/components/select/select-input/select-input.css +1 -0
  279. package/dist/collection/components/select/select-input/select-input.js +586 -0
  280. package/dist/collection/components/select/select-list/select-list.css +1 -0
  281. package/dist/collection/components/select/select-list/select-list.js +1159 -0
  282. package/dist/collection/components/select/select-option/select-option.css +1 -0
  283. package/dist/collection/components/select/select-option/select-option.js +564 -0
  284. package/dist/collection/components/select/select.constants.js +6 -0
  285. package/dist/collection/components/select/select.css +1 -0
  286. package/dist/collection/components/select/select.js +2692 -0
  287. package/dist/collection/components/select/select.types.js +1 -0
  288. package/dist/collection/components/select/select.utils.js +34 -0
  289. package/dist/collection/components/sign-in/sign-in.css +1 -0
  290. package/dist/collection/components/sign-in/sign-in.js +401 -0
  291. package/dist/collection/components/sign-in/sign-in.types.js +1 -0
  292. package/dist/collection/components/skip-link/skip-link-item/skip-link-item-alias.js +103 -0
  293. package/dist/collection/components/skip-link/skip-link-item/skip-link-item.css +1 -0
  294. package/dist/collection/components/skip-link/skip-link-item/skip-link-item.js +450 -0
  295. package/dist/collection/components/skip-link/skip-link.css +1 -0
  296. package/dist/collection/components/skip-link/skip-link.js +699 -0
  297. package/dist/collection/components/skip-link/skip-link.types.js +1 -0
  298. package/dist/collection/components/slider/slider.css +1 -0
  299. package/dist/collection/components/slider/slider.js +1324 -0
  300. package/dist/collection/components/slider/slider.types.js +1 -0
  301. package/dist/collection/components/step/step-item/step-item.css +1 -0
  302. package/dist/collection/components/step/step-item/step-item.js +604 -0
  303. package/dist/collection/components/step/step-item/step-item.types.js +1 -0
  304. package/dist/collection/components/step/step.css +1 -0
  305. package/dist/collection/components/step/step.js +896 -0
  306. package/dist/collection/components/step/step.types.js +1 -0
  307. package/dist/collection/components/switch/switch.css +1 -0
  308. package/dist/collection/components/switch/switch.js +715 -0
  309. package/dist/collection/components/switch/switch.types.js +1 -0
  310. package/dist/collection/components/tab/tab-item/tab-item.css +1 -0
  311. package/dist/collection/components/tab/tab-item/tab-item.js +425 -0
  312. package/dist/collection/components/tab/tab.css +1 -0
  313. package/dist/collection/components/tab/tab.js +724 -0
  314. package/dist/collection/components/tab/tab.types.js +1 -0
  315. package/dist/collection/components/table/table-body/table-body.css +1 -0
  316. package/dist/collection/components/table/table-body/table-body.js +51 -0
  317. package/dist/collection/components/table/table-cell/table-cell.css +1 -0
  318. package/dist/collection/components/table/table-cell/table-cell.js +373 -0
  319. package/dist/collection/components/table/table-constants.js +171 -0
  320. package/dist/collection/components/table/table-header/table-header.css +1 -0
  321. package/dist/collection/components/table/table-header/table-header.js +51 -0
  322. package/dist/collection/components/table/table-header-cell/table-header-cell.css +1 -0
  323. package/dist/collection/components/table/table-header-cell/table-header-cell.js +402 -0
  324. package/dist/collection/components/table/table-row/table-row.css +1 -0
  325. package/dist/collection/components/table/table-row/table-row.js +261 -0
  326. package/dist/collection/components/table/table-tokens.js +50 -0
  327. package/dist/collection/components/table/table-types.js +1 -0
  328. package/dist/collection/components/table/table-utils.js +44 -0
  329. package/dist/collection/components/table/table.css +1 -0
  330. package/dist/collection/components/table/table.js +1030 -0
  331. package/dist/collection/components/tag/tag.css +1 -0
  332. package/dist/collection/components/tag/tag.js +1152 -0
  333. package/dist/collection/components/tag/tag.types.js +1 -0
  334. package/dist/collection/components/textarea/textarea.css +1 -0
  335. package/dist/collection/components/textarea/textarea.js +985 -0
  336. package/dist/collection/components/textarea/textarea.types.js +1 -0
  337. package/dist/collection/components/tooltip/tooltip.css +1 -0
  338. package/dist/collection/components/tooltip/tooltip.js +1024 -0
  339. package/dist/collection/components/tooltip/tooltip.types.js +1 -0
  340. package/dist/collection/components/upload/upload.css +1 -0
  341. package/dist/collection/components/upload/upload.js +1314 -0
  342. package/dist/collection/components/upload/upload.types.js +1 -0
  343. package/dist/collection/components/wizard/wizard-panel/wizard-panel.css +1 -0
  344. package/dist/collection/components/wizard/wizard-panel/wizard-panel.js +167 -0
  345. package/dist/collection/components/wizard/wizard.css +1 -0
  346. package/dist/collection/components/wizard/wizard.js +1228 -0
  347. package/dist/collection/index.js +14 -0
  348. package/dist/collection/pages/components/cookiebar/index.js +26 -0
  349. package/dist/collection/pages/components/link/index.js +29 -0
  350. package/dist/collection/pages/components/pagination/index.js +12 -0
  351. package/dist/collection/pages/components/slider/index.js +18 -0
  352. package/dist/collection/pages/scripts/code-editor.js +101 -0
  353. package/dist/collection/pages/scripts/component-controls.js +600 -0
  354. package/dist/collection/pages/scripts/dev-event-console.js +47 -0
  355. package/dist/collection/pages/scripts/menu.js +192 -0
  356. package/dist/collection/pages/scripts/pageLoader.js +1422 -0
  357. package/dist/collection/shared/utils/assetsPath.js +75 -0
  358. package/dist/collection/shared/utils/breakpoint-observer.js +139 -0
  359. package/dist/collection/shared/utils/clamp.js +21 -0
  360. package/dist/collection/shared/utils/css-variables.js +12 -0
  361. package/dist/collection/shared/utils/cssVariables.js +37 -0
  362. package/dist/collection/shared/utils/date.js +405 -0
  363. package/dist/collection/shared/utils/debounce.js +39 -0
  364. package/dist/collection/shared/utils/event.js +55 -0
  365. package/dist/collection/shared/utils/floating-surface-dismiss.js +59 -0
  366. package/dist/collection/shared/utils/floating-ui.js +131 -0
  367. package/dist/collection/shared/utils/focus.js +24 -0
  368. package/dist/collection/shared/utils/form.js +82 -0
  369. package/dist/collection/shared/utils/format-bytes.js +20 -0
  370. package/dist/collection/shared/utils/getNextElement.js +30 -0
  371. package/dist/collection/shared/utils/getRandom.js +27 -0
  372. package/dist/collection/shared/utils/helpers.js +31 -0
  373. package/dist/collection/shared/utils/id.js +16 -0
  374. package/dist/collection/shared/utils/index.js +60 -0
  375. package/dist/collection/shared/utils/interfaces.js +1 -0
  376. package/dist/collection/shared/utils/isClient.js +14 -0
  377. package/dist/collection/shared/utils/isDefined.js +19 -0
  378. package/dist/collection/shared/utils/isEmpty.js +30 -0
  379. package/dist/collection/shared/utils/isHTMLElement.js +16 -0
  380. package/dist/collection/shared/utils/isNil.js +15 -0
  381. package/dist/collection/shared/utils/isString.js +20 -0
  382. package/dist/collection/shared/utils/native-dialog.js +44 -0
  383. package/dist/collection/shared/utils/navigation.js +21 -0
  384. package/dist/collection/shared/utils/parts.js +15 -0
  385. package/dist/collection/shared/utils/prop-warning.js +7 -0
  386. package/dist/collection/shared/utils/props.js +37 -0
  387. package/dist/collection/shared/utils/raf-batcher.js +51 -0
  388. package/dist/collection/shared/utils/scrollLock.js +141 -0
  389. package/dist/collection/shared/utils/setRafTimeout.js +38 -0
  390. package/dist/collection/shared/utils/slot.js +113 -0
  391. package/dist/collection/shared/utils/ssr-date.js +33 -0
  392. package/dist/collection/shared/utils/stringToArray.js +29 -0
  393. package/dist/collection/shared/utils/swipe.js +342 -0
  394. package/dist/collection/shared/utils/transition.js +127 -0
  395. package/dist/collection/shared/utils/types.js +1 -0
  396. package/dist/collection/shared/utils/validator.js +51 -0
  397. package/dist/collection/value-accessors/angular-value-accessor-config.js +41 -0
  398. package/dist/collection/value-accessors/index.js +6 -0
  399. package/dist/collection/value-accessors/vue-model-config.js +43 -0
  400. package/dist/components/br-avatar.d.ts +11 -0
  401. package/dist/components/br-avatar.js +5 -0
  402. package/dist/components/br-breadcrumb-item.d.ts +11 -0
  403. package/dist/components/br-breadcrumb-item.js +5 -0
  404. package/dist/components/br-breadcrumb.d.ts +11 -0
  405. package/dist/components/br-breadcrumb.js +5 -0
  406. package/dist/components/br-button.d.ts +11 -0
  407. package/dist/components/br-button.js +5 -0
  408. package/dist/components/br-card.d.ts +11 -0
  409. package/dist/components/br-card.js +5 -0
  410. package/dist/components/br-carousel-page.d.ts +11 -0
  411. package/dist/components/br-carousel-page.js +5 -0
  412. package/dist/components/br-carousel.d.ts +11 -0
  413. package/dist/components/br-carousel.js +5 -0
  414. package/dist/components/br-checkbox-group.d.ts +11 -0
  415. package/dist/components/br-checkbox-group.js +5 -0
  416. package/dist/components/br-checkbox.d.ts +11 -0
  417. package/dist/components/br-checkbox.js +5 -0
  418. package/dist/components/br-checkgroup.d.ts +11 -0
  419. package/dist/components/br-checkgroup.js +5 -0
  420. package/dist/components/br-collapse.d.ts +11 -0
  421. package/dist/components/br-collapse.js +5 -0
  422. package/dist/components/br-cookiebar-cookie.d.ts +11 -0
  423. package/dist/components/br-cookiebar-cookie.js +5 -0
  424. package/dist/components/br-cookiebar-group.d.ts +11 -0
  425. package/dist/components/br-cookiebar-group.js +5 -0
  426. package/dist/components/br-cookiebar-header.d.ts +11 -0
  427. package/dist/components/br-cookiebar-header.js +5 -0
  428. package/dist/components/br-cookiebar-link.d.ts +11 -0
  429. package/dist/components/br-cookiebar-link.js +5 -0
  430. package/dist/components/br-cookiebar-note-group.d.ts +11 -0
  431. package/dist/components/br-cookiebar-note-group.js +5 -0
  432. package/dist/components/br-cookiebar-note.d.ts +11 -0
  433. package/dist/components/br-cookiebar-note.js +5 -0
  434. package/dist/components/br-cookiebar.d.ts +11 -0
  435. package/dist/components/br-cookiebar.js +5 -0
  436. package/dist/components/br-crumb.d.ts +11 -0
  437. package/dist/components/br-crumb.js +5 -0
  438. package/dist/components/br-date-picker.d.ts +11 -0
  439. package/dist/components/br-date-picker.js +5 -0
  440. package/dist/components/br-datetime-input.d.ts +11 -0
  441. package/dist/components/br-datetime-input.js +5 -0
  442. package/dist/components/br-datetime-picker.d.ts +11 -0
  443. package/dist/components/br-datetime-picker.js +5 -0
  444. package/dist/components/br-divider.d.ts +11 -0
  445. package/dist/components/br-divider.js +5 -0
  446. package/dist/components/br-dropdown.d.ts +11 -0
  447. package/dist/components/br-dropdown.js +5 -0
  448. package/dist/components/br-footer-category.d.ts +11 -0
  449. package/dist/components/br-footer-category.js +5 -0
  450. package/dist/components/br-footer-item.d.ts +11 -0
  451. package/dist/components/br-footer-item.js +5 -0
  452. package/dist/components/br-footer-legal.d.ts +11 -0
  453. package/dist/components/br-footer-legal.js +5 -0
  454. package/dist/components/br-footer-logo.d.ts +11 -0
  455. package/dist/components/br-footer-logo.js +5 -0
  456. package/dist/components/br-footer-social.d.ts +11 -0
  457. package/dist/components/br-footer-social.js +5 -0
  458. package/dist/components/br-footer.d.ts +11 -0
  459. package/dist/components/br-footer.js +5 -0
  460. package/dist/components/br-header-function.d.ts +11 -0
  461. package/dist/components/br-header-function.js +5 -0
  462. package/dist/components/br-header-link.d.ts +11 -0
  463. package/dist/components/br-header-link.js +5 -0
  464. package/dist/components/br-header-list.d.ts +11 -0
  465. package/dist/components/br-header-list.js +5 -0
  466. package/dist/components/br-header-logo.d.ts +11 -0
  467. package/dist/components/br-header-logo.js +5 -0
  468. package/dist/components/br-header.d.ts +11 -0
  469. package/dist/components/br-header.js +5 -0
  470. package/dist/components/br-icon.d.ts +11 -0
  471. package/dist/components/br-icon.js +5 -0
  472. package/dist/components/br-input.d.ts +11 -0
  473. package/dist/components/br-input.js +5 -0
  474. package/dist/components/br-item.d.ts +11 -0
  475. package/dist/components/br-item.js +5 -0
  476. package/dist/components/br-link.d.ts +11 -0
  477. package/dist/components/br-link.js +5 -0
  478. package/dist/components/br-list.d.ts +11 -0
  479. package/dist/components/br-list.js +5 -0
  480. package/dist/components/br-loading.d.ts +11 -0
  481. package/dist/components/br-loading.js +5 -0
  482. package/dist/components/br-magic-button.d.ts +11 -0
  483. package/dist/components/br-magic-button.js +5 -0
  484. package/dist/components/br-menu-group.d.ts +11 -0
  485. package/dist/components/br-menu-group.js +5 -0
  486. package/dist/components/br-menu-header.d.ts +11 -0
  487. package/dist/components/br-menu-header.js +5 -0
  488. package/dist/components/br-menu-info.d.ts +11 -0
  489. package/dist/components/br-menu-info.js +5 -0
  490. package/dist/components/br-menu-item.d.ts +11 -0
  491. package/dist/components/br-menu-item.js +5 -0
  492. package/dist/components/br-menu-link.d.ts +11 -0
  493. package/dist/components/br-menu-link.js +5 -0
  494. package/dist/components/br-menu-list.d.ts +11 -0
  495. package/dist/components/br-menu-list.js +5 -0
  496. package/dist/components/br-menu-logo.d.ts +11 -0
  497. package/dist/components/br-menu-logo.js +5 -0
  498. package/dist/components/br-menu-social.d.ts +11 -0
  499. package/dist/components/br-menu-social.js +5 -0
  500. package/dist/components/br-menu.d.ts +11 -0
  501. package/dist/components/br-menu.js +5 -0
  502. package/dist/components/br-message.d.ts +11 -0
  503. package/dist/components/br-message.js +5 -0
  504. package/dist/components/br-modal.d.ts +11 -0
  505. package/dist/components/br-modal.js +5 -0
  506. package/dist/components/br-notification-body.d.ts +11 -0
  507. package/dist/components/br-notification-body.js +5 -0
  508. package/dist/components/br-notification-header.d.ts +11 -0
  509. package/dist/components/br-notification-header.js +5 -0
  510. package/dist/components/br-notification-item.d.ts +11 -0
  511. package/dist/components/br-notification-item.js +5 -0
  512. package/dist/components/br-notification.d.ts +11 -0
  513. package/dist/components/br-notification.js +5 -0
  514. package/dist/components/br-pagination.d.ts +11 -0
  515. package/dist/components/br-pagination.js +5 -0
  516. package/dist/components/br-radio-group.d.ts +11 -0
  517. package/dist/components/br-radio-group.js +5 -0
  518. package/dist/components/br-radio.d.ts +11 -0
  519. package/dist/components/br-radio.js +5 -0
  520. package/dist/components/br-scrim.d.ts +11 -0
  521. package/dist/components/br-scrim.js +5 -0
  522. package/dist/components/br-select-input.d.ts +11 -0
  523. package/dist/components/br-select-input.js +5 -0
  524. package/dist/components/br-select-list.d.ts +11 -0
  525. package/dist/components/br-select-list.js +5 -0
  526. package/dist/components/br-select-option.d.ts +11 -0
  527. package/dist/components/br-select-option.js +5 -0
  528. package/dist/components/br-select.d.ts +11 -0
  529. package/dist/components/br-select.js +5 -0
  530. package/dist/components/br-sign-in.d.ts +11 -0
  531. package/dist/components/br-sign-in.js +5 -0
  532. package/dist/components/br-skip-link-item.d.ts +11 -0
  533. package/dist/components/br-skip-link-item.js +5 -0
  534. package/dist/components/br-skip-link.d.ts +11 -0
  535. package/dist/components/br-skip-link.js +5 -0
  536. package/dist/components/br-skiplink-item.d.ts +11 -0
  537. package/dist/components/br-skiplink-item.js +5 -0
  538. package/dist/components/br-slider.d.ts +11 -0
  539. package/dist/components/br-slider.js +5 -0
  540. package/dist/components/br-step-item.d.ts +11 -0
  541. package/dist/components/br-step-item.js +5 -0
  542. package/dist/components/br-step.d.ts +11 -0
  543. package/dist/components/br-step.js +5 -0
  544. package/dist/components/br-switch.d.ts +11 -0
  545. package/dist/components/br-switch.js +5 -0
  546. package/dist/components/br-tab-item.d.ts +11 -0
  547. package/dist/components/br-tab-item.js +5 -0
  548. package/dist/components/br-tab.d.ts +11 -0
  549. package/dist/components/br-tab.js +5 -0
  550. package/dist/components/br-table-body.d.ts +11 -0
  551. package/dist/components/br-table-body.js +5 -0
  552. package/dist/components/br-table-cell.d.ts +11 -0
  553. package/dist/components/br-table-cell.js +5 -0
  554. package/dist/components/br-table-header-cell.d.ts +11 -0
  555. package/dist/components/br-table-header-cell.js +5 -0
  556. package/dist/components/br-table-header.d.ts +11 -0
  557. package/dist/components/br-table-header.js +5 -0
  558. package/dist/components/br-table-row.d.ts +11 -0
  559. package/dist/components/br-table-row.js +5 -0
  560. package/dist/components/br-table.d.ts +11 -0
  561. package/dist/components/br-table.js +5 -0
  562. package/dist/components/br-tag.d.ts +11 -0
  563. package/dist/components/br-tag.js +5 -0
  564. package/dist/components/br-textarea.d.ts +11 -0
  565. package/dist/components/br-textarea.js +5 -0
  566. package/dist/components/br-time-picker.d.ts +11 -0
  567. package/dist/components/br-time-picker.js +5 -0
  568. package/dist/components/br-tooltip.d.ts +11 -0
  569. package/dist/components/br-tooltip.js +5 -0
  570. package/dist/components/br-upload.d.ts +11 -0
  571. package/dist/components/br-upload.js +5 -0
  572. package/dist/components/br-wizard-panel.d.ts +11 -0
  573. package/dist/components/br-wizard-panel.js +5 -0
  574. package/dist/components/br-wizard.d.ts +11 -0
  575. package/dist/components/br-wizard.js +5 -0
  576. package/dist/components/index.d.ts +213 -0
  577. package/dist/components/index.js +5 -0
  578. package/dist/components/p-34Jfn-U-.js +5 -0
  579. package/dist/components/p-5z6jgH1D.js +5 -0
  580. package/dist/components/p-6OdfnwnK.js +5 -0
  581. package/dist/components/p-9S9bgUT0.js +5 -0
  582. package/dist/components/p-B-qLmYZC.js +5 -0
  583. package/dist/components/p-B55qsau4.js +5 -0
  584. package/dist/components/p-B7Amgxkp.js +5 -0
  585. package/dist/components/p-BC7f6MK8.js +5 -0
  586. package/dist/components/p-BKuMQJrQ.js +5 -0
  587. package/dist/components/p-BPJpHGOW.js +5 -0
  588. package/dist/components/p-BWXfdbQH.js +5 -0
  589. package/dist/components/p-Bb-nLtTG.js +5 -0
  590. package/dist/components/p-BeE7R9nu.js +5 -0
  591. package/dist/components/p-BkS6ujyf.js +5 -0
  592. package/dist/components/p-Bo0QYHJO.js +5 -0
  593. package/dist/components/p-C1yRmdso.js +5 -0
  594. package/dist/components/p-C2i2c_io.js +5 -0
  595. package/dist/components/p-C7v0lVlX.js +5 -0
  596. package/dist/components/p-CMBsvswx.js +5 -0
  597. package/dist/components/p-CRrimdz6.js +5 -0
  598. package/dist/components/p-CWORw84-.js +5 -0
  599. package/dist/components/p-CXMwM9m4.js +5 -0
  600. package/dist/components/p-CdDwqbBv.js +5 -0
  601. package/dist/components/p-CvUMXJCl.js +5 -0
  602. package/dist/components/p-D3usVJE2.js +16 -0
  603. package/dist/components/p-D6zroLx5.js +5 -0
  604. package/dist/components/p-DA5GS53D.js +5 -0
  605. package/dist/components/p-DBP6K_aq.js +5 -0
  606. package/dist/components/p-DBmwzG9E.js +5 -0
  607. package/dist/components/p-DCrVo-8T.js +5 -0
  608. package/dist/components/p-DFUKDNck.js +5 -0
  609. package/dist/components/p-DHicj0By.js +5 -0
  610. package/dist/components/p-DIK54tTj.js +5 -0
  611. package/dist/components/p-DQRSHR-D.js +5 -0
  612. package/dist/components/p-DRVMm1Py.js +5 -0
  613. package/dist/components/p-DWPmUV72.js +5 -0
  614. package/dist/components/p-DXjQyH6s.js +5 -0
  615. package/dist/components/p-DYA74R1r.js +5 -0
  616. package/dist/components/p-DmCxdB9P.js +5 -0
  617. package/dist/components/p-Dmfk7eEe.js +5 -0
  618. package/dist/components/p-Dp0xy_3n.js +5 -0
  619. package/dist/components/p-DxZJrIyL.js +5 -0
  620. package/dist/components/p-JAkkThgf.js +5 -0
  621. package/dist/components/p-Ud-WB0hx.js +5 -0
  622. package/dist/components/p-bhULC15U.js +5 -0
  623. package/dist/components/p-cF3ia5e9.js +5 -0
  624. package/dist/components/p-fpMNttbg.js +5 -0
  625. package/dist/components/p-gvnfuTjd.js +5 -0
  626. package/dist/components/p-qYONSNcf.js +5 -0
  627. package/dist/components/p-qhhHGJY1.js +5 -0
  628. package/dist/components/p-ttI0nvv_.js +5 -0
  629. package/dist/components/p-ukNmfGNP.js +5 -0
  630. package/dist/components/p-xa8e1kSW.js +5 -0
  631. package/dist/esm/app-globals-DVjNHTTs.js +7 -0
  632. package/dist/esm/br-avatar.entry.js +246 -0
  633. package/dist/esm/br-breadcrumb-item.entry.js +43 -0
  634. package/dist/esm/br-breadcrumb.entry.js +441 -0
  635. package/dist/esm/br-button_2.entry.js +277 -0
  636. package/dist/esm/br-card.entry.js +109 -0
  637. package/dist/esm/br-carousel-page.entry.js +78 -0
  638. package/dist/esm/br-carousel.entry.js +563 -0
  639. package/dist/esm/br-checkbox-group.entry.js +116 -0
  640. package/dist/esm/br-checkbox.entry.js +286 -0
  641. package/dist/esm/br-checkgroup.entry.js +18 -0
  642. package/dist/esm/br-collapse_2.entry.js +680 -0
  643. package/dist/esm/br-cookiebar-cookie.entry.js +81 -0
  644. package/dist/esm/br-cookiebar-group.entry.js +307 -0
  645. package/dist/esm/br-cookiebar-header.entry.js +37 -0
  646. package/dist/esm/br-cookiebar-link.entry.js +53 -0
  647. package/dist/esm/br-cookiebar-note-group.entry.js +68 -0
  648. package/dist/esm/br-cookiebar-note.entry.js +23 -0
  649. package/dist/esm/br-cookiebar.entry.js +756 -0
  650. package/dist/esm/br-crumb.entry.js +49 -0
  651. package/dist/esm/br-date-picker_3.entry.js +2443 -0
  652. package/dist/esm/br-datetime-picker.entry.js +1884 -0
  653. package/dist/esm/br-divider.entry.js +223 -0
  654. package/dist/esm/br-dropdown_2.entry.js +1997 -0
  655. package/dist/esm/br-footer-category.entry.js +100 -0
  656. package/dist/esm/br-footer-item.entry.js +50 -0
  657. package/dist/esm/br-footer-legal.entry.js +39 -0
  658. package/dist/esm/br-footer-logo.entry.js +102 -0
  659. package/dist/esm/br-footer-social.entry.js +69 -0
  660. package/dist/esm/br-footer.entry.js +90 -0
  661. package/dist/esm/br-header-function.entry.js +140 -0
  662. package/dist/esm/br-header-link.entry.js +58 -0
  663. package/dist/esm/br-header-list.entry.js +277 -0
  664. package/dist/esm/br-header-logo.entry.js +176 -0
  665. package/dist/esm/br-header.entry.js +640 -0
  666. package/dist/esm/br-icon.entry.js +483 -0
  667. package/dist/esm/br-input.entry.js +597 -0
  668. package/dist/esm/br-item.entry.js +365 -0
  669. package/dist/esm/br-link.entry.js +131 -0
  670. package/dist/esm/br-loading.entry.js +503 -0
  671. package/dist/esm/br-magic-button.entry.js +91 -0
  672. package/dist/esm/br-menu-group.entry.js +21 -0
  673. package/dist/esm/br-menu-header.entry.js +45 -0
  674. package/dist/esm/br-menu-info.entry.js +36 -0
  675. package/dist/esm/br-menu-item.entry.js +77 -0
  676. package/dist/esm/br-menu-link.entry.js +54 -0
  677. package/dist/esm/br-menu-list.entry.js +147 -0
  678. package/dist/esm/br-menu-logo.entry.js +73 -0
  679. package/dist/esm/br-menu-social.entry.js +63 -0
  680. package/dist/esm/br-menu.entry.js +991 -0
  681. package/dist/esm/br-modal.entry.js +494 -0
  682. package/dist/esm/br-notification-body.entry.js +69 -0
  683. package/dist/esm/br-notification-header.entry.js +46 -0
  684. package/dist/esm/br-notification-item.entry.js +108 -0
  685. package/dist/esm/br-notification.entry.js +332 -0
  686. package/dist/esm/br-pagination.entry.js +882 -0
  687. package/dist/esm/br-radio-group.entry.js +426 -0
  688. package/dist/esm/br-radio.entry.js +355 -0
  689. package/dist/esm/br-scrim.entry.js +1334 -0
  690. package/dist/esm/br-select-input_3.entry.js +984 -0
  691. package/dist/esm/br-sign-in.entry.js +124 -0
  692. package/dist/esm/br-skip-link-item.entry.js +18 -0
  693. package/dist/esm/br-skip-link.entry.js +360 -0
  694. package/dist/esm/br-skiplink-item.entry.js +190 -0
  695. package/dist/esm/br-slider.entry.js +685 -0
  696. package/dist/esm/br-step_2.entry.js +625 -0
  697. package/dist/esm/br-switch.entry.js +243 -0
  698. package/dist/esm/br-tab-item.entry.js +183 -0
  699. package/dist/esm/br-tab.entry.js +395 -0
  700. package/dist/esm/br-table-body.entry.js +35 -0
  701. package/dist/esm/br-table-cell.entry.js +182 -0
  702. package/dist/esm/br-table-header-cell.entry.js +171 -0
  703. package/dist/esm/br-table-header.entry.js +35 -0
  704. package/dist/esm/br-table-row.entry.js +79 -0
  705. package/dist/esm/br-table.entry.js +678 -0
  706. package/dist/esm/br-tag.entry.js +491 -0
  707. package/dist/esm/br-textarea.entry.js +304 -0
  708. package/dist/esm/br-tooltip.entry.js +625 -0
  709. package/dist/esm/br-upload.entry.js +579 -0
  710. package/dist/esm/br-wizard-panel.entry.js +52 -0
  711. package/dist/esm/br-wizard.entry.js +706 -0
  712. package/dist/esm/breakpoint-observer-DBmwzG9E.js +141 -0
  713. package/dist/esm/clamp-gvnfuTjd.js +23 -0
  714. package/dist/esm/cookiebar.utils-DYA74R1r.js +16 -0
  715. package/dist/esm/datetime-picker-constants-Bfm58jO6.js +3798 -0
  716. package/dist/esm/event-DFN_so7I.js +48 -0
  717. package/dist/esm/floating-surface-dismiss-BWXfdbQH.js +61 -0
  718. package/dist/esm/floating-ui-BavFwMnx.js +134 -0
  719. package/dist/esm/floating-ui.dom-DIK54tTj.js +1707 -0
  720. package/dist/esm/focus-DxZJrIyL.js +26 -0
  721. package/dist/esm/getNextElement-9S9bgUT0.js +28 -0
  722. package/dist/esm/iconify-icon-D3usVJE2.js +2303 -0
  723. package/dist/esm/id-BkS6ujyf.js +18 -0
  724. package/dist/esm/index-Bo-2igoO.js +671 -0
  725. package/dist/esm/index-C2RBydfd.js +3258 -0
  726. package/dist/esm/index.js +6 -0
  727. package/dist/esm/isNil-B-qLmYZC.js +17 -0
  728. package/dist/esm/isValid-DIUZX1qS.js +3684 -0
  729. package/dist/esm/loader.js +15 -0
  730. package/dist/esm/native-dialog-B55qsau4.js +46 -0
  731. package/dist/esm/navigation-bhULC15U.js +23 -0
  732. package/dist/esm/parts-Bb5vVlCC.js +17 -0
  733. package/dist/esm/props-DRVMm1Py.js +22 -0
  734. package/dist/esm/raf-batcher-cF3ia5e9.js +53 -0
  735. package/dist/esm/slot-BIG-yees.js +44 -0
  736. package/dist/esm/swipe-Dmfk7eEe.js +343 -0
  737. package/dist/esm/table-constants-CXMwM9m4.js +170 -0
  738. package/dist/esm/validator-D3tVP32U.js +113 -0
  739. package/dist/esm/webcomponents.js +46 -0
  740. package/dist/hydrate/index.d.ts +287 -0
  741. package/dist/hydrate/index.js +67516 -0
  742. package/dist/hydrate/index.mjs +67506 -0
  743. package/dist/hydrate/package.json +12 -0
  744. package/dist/index.cjs.js +1 -0
  745. package/dist/index.js +1 -0
  746. package/dist/loader/cdn.js +5 -0
  747. package/dist/loader/index.cjs.js +5 -0
  748. package/dist/loader/index.d.ts +24 -0
  749. package/dist/loader/index.es2017.js +5 -0
  750. package/dist/loader/index.js +6 -0
  751. package/dist/types/components/item/item.d.ts +1 -0
  752. package/dist/types/components/select/select-list/select-list.d.ts +1 -0
  753. package/dist/types/components/select/select-option/select-option.d.ts +1 -0
  754. package/dist/types/components/select/select.d.ts +14 -0
  755. package/dist/types/components/select/select.types.d.ts +2 -0
  756. package/dist/types/components/select/select.utils.d.ts +13 -0
  757. package/dist/webcomponents/index.esm.js +5 -0
  758. package/dist/webcomponents/p-0196804a.entry.js +5 -0
  759. package/dist/webcomponents/p-0410186a.entry.js +5 -0
  760. package/dist/webcomponents/p-0415ef22.entry.js +5 -0
  761. package/dist/webcomponents/p-0777c7b1.entry.js +5 -0
  762. package/dist/webcomponents/p-0caa4d12.entry.js +5 -0
  763. package/dist/webcomponents/p-0d4f718d.entry.js +5 -0
  764. package/dist/webcomponents/p-0e84c9e8.entry.js +5 -0
  765. package/dist/webcomponents/p-12286e73.entry.js +5 -0
  766. package/dist/webcomponents/p-147ac8d3.entry.js +5 -0
  767. package/dist/webcomponents/p-1580beee.entry.js +5 -0
  768. package/dist/webcomponents/p-18ee6175.entry.js +5 -0
  769. package/dist/webcomponents/p-1bca4499.entry.js +5 -0
  770. package/dist/webcomponents/p-1c303a4e.entry.js +5 -0
  771. package/dist/webcomponents/p-1d6b0b6f.entry.js +5 -0
  772. package/dist/webcomponents/p-1d8cb8fd.entry.js +5 -0
  773. package/dist/webcomponents/p-224daaac.entry.js +5 -0
  774. package/dist/webcomponents/p-28426d2a.entry.js +5 -0
  775. package/dist/webcomponents/p-2abd2da0.entry.js +5 -0
  776. package/dist/webcomponents/p-2fdc51ae.entry.js +5 -0
  777. package/dist/webcomponents/p-30c428b6.entry.js +5 -0
  778. package/dist/webcomponents/p-36bbea4e.entry.js +5 -0
  779. package/dist/webcomponents/p-3907ebfa.entry.js +5 -0
  780. package/dist/webcomponents/p-39a16f9d.entry.js +5 -0
  781. package/dist/webcomponents/p-3ebbd2f5.entry.js +5 -0
  782. package/dist/webcomponents/p-3ef7eac8.entry.js +5 -0
  783. package/dist/webcomponents/p-45356e9a.entry.js +5 -0
  784. package/dist/webcomponents/p-46513db4.entry.js +5 -0
  785. package/dist/webcomponents/p-4c13221a.entry.js +5 -0
  786. package/dist/webcomponents/p-51ce2c31.entry.js +5 -0
  787. package/dist/webcomponents/p-52df61cb.entry.js +5 -0
  788. package/dist/webcomponents/p-569134cf.entry.js +5 -0
  789. package/dist/webcomponents/p-5ce7db4a.entry.js +5 -0
  790. package/dist/webcomponents/p-5f373708.entry.js +5 -0
  791. package/dist/webcomponents/p-5f6afb79.entry.js +5 -0
  792. package/dist/webcomponents/p-5fc7ba4c.entry.js +5 -0
  793. package/dist/webcomponents/p-66006312.entry.js +5 -0
  794. package/dist/webcomponents/p-66b13fd9.entry.js +5 -0
  795. package/dist/webcomponents/p-6OdfnwnK.js +5 -0
  796. package/dist/webcomponents/p-750799b7.entry.js +5 -0
  797. package/dist/webcomponents/p-756ff2ad.entry.js +5 -0
  798. package/dist/webcomponents/p-765bfe27.entry.js +5 -0
  799. package/dist/webcomponents/p-7ab96c11.entry.js +5 -0
  800. package/dist/webcomponents/p-7c2ff8b4.entry.js +5 -0
  801. package/dist/webcomponents/p-7f7506f0.entry.js +5 -0
  802. package/dist/webcomponents/p-7fb03a49.entry.js +5 -0
  803. package/dist/webcomponents/p-82200563.entry.js +5 -0
  804. package/dist/webcomponents/p-83ff4579.entry.js +5 -0
  805. package/dist/webcomponents/p-85f8063b.entry.js +5 -0
  806. package/dist/webcomponents/p-8b558233.entry.js +5 -0
  807. package/dist/webcomponents/p-8e6c2767.entry.js +5 -0
  808. package/dist/webcomponents/p-8e819355.entry.js +5 -0
  809. package/dist/webcomponents/p-92a9b9c4.entry.js +5 -0
  810. package/dist/webcomponents/p-966ad32f.entry.js +5 -0
  811. package/dist/webcomponents/p-9679d230.entry.js +5 -0
  812. package/dist/webcomponents/p-96dd663b.entry.js +5 -0
  813. package/dist/webcomponents/p-98843fa3.entry.js +5 -0
  814. package/dist/webcomponents/p-9S9bgUT0.js +5 -0
  815. package/dist/webcomponents/p-9a375eff.entry.js +5 -0
  816. package/dist/webcomponents/p-9b358cff.entry.js +5 -0
  817. package/dist/webcomponents/p-9f7558c7.entry.js +5 -0
  818. package/dist/webcomponents/p-B-qLmYZC.js +5 -0
  819. package/dist/webcomponents/p-B55qsau4.js +5 -0
  820. package/dist/webcomponents/p-BIG-yees.js +5 -0
  821. package/dist/webcomponents/p-BWXfdbQH.js +5 -0
  822. package/dist/webcomponents/p-Bb5vVlCC.js +5 -0
  823. package/dist/webcomponents/p-Bfm58jO6.js +5 -0
  824. package/dist/webcomponents/p-BhMVJQ4-.js +5 -0
  825. package/dist/webcomponents/p-BkS6ujyf.js +5 -0
  826. package/dist/webcomponents/p-C2RBydfd.js +6 -0
  827. package/dist/webcomponents/p-CO5cOQQU.js +5 -0
  828. package/dist/webcomponents/p-CXMwM9m4.js +5 -0
  829. package/dist/webcomponents/p-D3tVP32U.js +5 -0
  830. package/dist/webcomponents/p-D3usVJE2.js +16 -0
  831. package/dist/webcomponents/p-DBmwzG9E.js +5 -0
  832. package/dist/webcomponents/p-DFN_so7I.js +5 -0
  833. package/dist/webcomponents/p-DIK54tTj.js +5 -0
  834. package/dist/webcomponents/p-DRVMm1Py.js +5 -0
  835. package/dist/webcomponents/p-DVjNHTTs.js +5 -0
  836. package/dist/webcomponents/p-DYA74R1r.js +5 -0
  837. package/dist/webcomponents/p-Dmfk7eEe.js +5 -0
  838. package/dist/webcomponents/p-DxZJrIyL.js +5 -0
  839. package/dist/webcomponents/p-a382e115.entry.js +5 -0
  840. package/dist/webcomponents/p-a4ae72e3.entry.js +5 -0
  841. package/dist/webcomponents/p-a994c190.entry.js +5 -0
  842. package/dist/webcomponents/p-a9ff7c25.entry.js +5 -0
  843. package/dist/webcomponents/p-bhULC15U.js +5 -0
  844. package/dist/webcomponents/p-c0b0f531.entry.js +5 -0
  845. package/dist/webcomponents/p-c211af17.entry.js +5 -0
  846. package/dist/webcomponents/p-c492d926.entry.js +5 -0
  847. package/dist/webcomponents/p-c4cfe599.entry.js +5 -0
  848. package/dist/webcomponents/p-c846e784.entry.js +5 -0
  849. package/dist/webcomponents/p-c949d993.entry.js +5 -0
  850. package/dist/webcomponents/p-cF3ia5e9.js +5 -0
  851. package/dist/webcomponents/p-d1e899cd.entry.js +5 -0
  852. package/dist/webcomponents/p-d38d82cc.entry.js +5 -0
  853. package/dist/webcomponents/p-e0ce536a.entry.js +5 -0
  854. package/dist/webcomponents/p-e1331288.entry.js +5 -0
  855. package/dist/webcomponents/p-e360a463.entry.js +5 -0
  856. package/dist/webcomponents/p-f078f972.entry.js +5 -0
  857. package/dist/webcomponents/p-f26038e2.entry.js +5 -0
  858. package/dist/webcomponents/p-f303f6b3.entry.js +5 -0
  859. package/dist/webcomponents/p-f6318e94.entry.js +5 -0
  860. package/dist/webcomponents/p-f85ee01c.entry.js +5 -0
  861. package/dist/webcomponents/p-fcd4ae48.entry.js +5 -0
  862. package/dist/webcomponents/p-ffe0241e.entry.js +5 -0
  863. package/dist/webcomponents/p-gvnfuTjd.js +5 -0
  864. package/dist/webcomponents/webcomponents.esm.js +5 -0
  865. package/package.json +3 -7
  866. package/cem/.gitkeep +0 -0
@@ -0,0 +1,862 @@
1
+ /*!
2
+ * Construído por SERPRO
3
+ * © https://serpro.gov.br/ - MIT License.
4
+ */
5
+ import { Host, h, } from "@stencil/core";
6
+ import { dispatchNativeFormEvent } from "../../shared/utils/event";
7
+ import { getFormValidationState, safeSetFormValue, setFormValidity, } from "../../shared/utils/form";
8
+ import { generateUniqueId } from "../../shared/utils/id";
9
+ import { hasAssignedSlotContent, hasNamedLightDomSlot } from "../../shared/utils/slot";
10
+ import { resolveFormValidator, runFormValidator } from "../../shared/utils/validator";
11
+ /**
12
+ * ## Design System
13
+ *
14
+ * Grupo semântico de radios que representa um único campo de formulário. Consulte também as
15
+ * [diretrizes do Radio no Design System GovBR](https://www.gov.br/ds/components/radio?tab=designer).
16
+ *
17
+ * @category Formulários
18
+ * @status stable
19
+ * @slot default - Radios pertencentes ao grupo.
20
+ * @slot label - Legenda do grupo, como alternativa à propriedade `label`.
21
+ * @slot description - Texto auxiliar do grupo.
22
+ * @slot feedback - Mensagem de validação do grupo.
23
+ * @slot validation-loading - Indicador exibido durante validação assíncrona.
24
+ * @part group - Fieldset semântico do grupo.
25
+ * @part legend - Legenda e nome acessível do grupo.
26
+ * @part options - Contêiner das opções.
27
+ * @part description - Área de texto auxiliar.
28
+ * @part feedback - Área de mensagem de validação.
29
+ * @part validation-loading - Área do indicador de validação assíncrona.
30
+ */
31
+ export class RadioGroup {
32
+ constructor() {
33
+ this.formDisabled = false;
34
+ this.customValidationMessage = '';
35
+ this.validatorMessage = null;
36
+ this.isValidating = false;
37
+ this.hasFeedbackSlot = false;
38
+ this.hasInteracted = false;
39
+ this.hasDescriptionSlot = false;
40
+ this.hasLabelSlot = false;
41
+ this.hasValidationLoadingSlot = false;
42
+ /** Valor atualmente selecionado; `null` representa nenhuma seleção. */
43
+ this.value = null;
44
+ /** Exige uma opção habilitada selecionada. */
45
+ this.required = false;
46
+ /** Desabilita o grupo e seus radios. */
47
+ this.disabled = false;
48
+ /** Orientação visual das opções. */
49
+ this.orientation = 'vertical';
50
+ /** Nome acessível usado quando não há uma legenda visível. */
51
+ this.ariaLabel = null;
52
+ /** Identificador usado nas relações acessíveis internas. */
53
+ this.customId = generateUniqueId();
54
+ this.initialValue = null;
55
+ this.validationRunId = 0;
56
+ this.syncingChildren = false;
57
+ this.ready = false;
58
+ this.originalNames = new Map();
59
+ this.handleSlotChange = () => this.reconcileChildren();
60
+ }
61
+ formDisabledCallback(disabled) {
62
+ this.formDisabled = disabled;
63
+ if (disabled)
64
+ this.cancelValidation();
65
+ this.applyValueToChildren();
66
+ this.syncFormState();
67
+ }
68
+ formResetCallback() {
69
+ this.validationRunId++;
70
+ this.customValidationMessage = '';
71
+ this.validatorMessage = null;
72
+ this.isValidating = false;
73
+ this.hasInteracted = false;
74
+ this.value = this.initialValue;
75
+ this.applyValueToChildren();
76
+ this.syncFormState();
77
+ }
78
+ formStateRestoreCallback(state) {
79
+ this.value = typeof state === 'string' ? state : null;
80
+ this.applyValueToChildren();
81
+ this.syncFormState();
82
+ }
83
+ componentWillLoad() {
84
+ const checked = this.getChildren()
85
+ .filter((radio) => radio.checked && !radio.disabled)
86
+ .at(-1);
87
+ this.initialValue = this.defaultValue ?? this.value ?? checked?.value ?? null;
88
+ if (this.value === null)
89
+ this.value = this.initialValue;
90
+ this.applyValueToChildren();
91
+ this.syncFormState();
92
+ }
93
+ componentDidLoad() {
94
+ this.syncNamedSlots();
95
+ const slot = this.el.shadowRoot?.querySelector('slot:not([name])');
96
+ slot?.addEventListener('slotchange', this.handleSlotChange);
97
+ this.observer = new MutationObserver((records) => {
98
+ this.reconcileChildren(records);
99
+ queueMicrotask(() => this.reconcileChildren());
100
+ });
101
+ this.observeChildren();
102
+ this.reconcileChildren();
103
+ this.ready = true;
104
+ }
105
+ connectedCallback() {
106
+ if (!this.observer)
107
+ return;
108
+ this.observeChildren();
109
+ this.el.shadowRoot?.querySelector('slot:not([name])')?.addEventListener('slotchange', this.handleSlotChange);
110
+ this.reconcileChildren();
111
+ }
112
+ disconnectedCallback() {
113
+ this.observer?.disconnect();
114
+ const slot = this.el.shadowRoot?.querySelector('slot:not([name])');
115
+ slot?.removeEventListener('slotchange', this.handleSlotChange);
116
+ for (const radio of this.originalNames.keys())
117
+ this.releaseRadio(radio);
118
+ this.originalNames.clear();
119
+ }
120
+ handleValueChange() {
121
+ this.cancelValidation();
122
+ this.applyValueToChildren();
123
+ this.syncFormState();
124
+ }
125
+ handleNameChange() {
126
+ this.applyValueToChildren();
127
+ this.syncFormState();
128
+ }
129
+ handleDisabledChange(disabled) {
130
+ if (disabled)
131
+ this.cancelValidation();
132
+ this.applyValueToChildren();
133
+ this.syncFormState();
134
+ }
135
+ handleValidatorChange() {
136
+ this.cancelValidation();
137
+ this.syncFormState();
138
+ }
139
+ handleDefaultValueChange(value) {
140
+ this.initialValue = value ?? null;
141
+ }
142
+ handleRequiredChange() {
143
+ this.syncFormState();
144
+ }
145
+ handleCustomValidityChange() {
146
+ this.syncFormState();
147
+ }
148
+ handleChildInput(event) {
149
+ this.handleChildFormEvent(event, 'input');
150
+ }
151
+ handleChildChange(event) {
152
+ this.handleChildFormEvent(event, 'change');
153
+ }
154
+ handleChildChecked(event) {
155
+ const radio = event.target;
156
+ if (this.syncingChildren || !this.getChildren().includes(radio) || !radio.checked || this.isDisabled())
157
+ return;
158
+ this.value = radio.value ?? null;
159
+ }
160
+ handleKeyDown(event) {
161
+ const target = event.composedPath().find((node) => node.tagName?.toLowerCase() === 'br-radio');
162
+ if (!target ||
163
+ this.isDisabled() ||
164
+ !['ArrowRight', 'ArrowDown', 'ArrowLeft', 'ArrowUp', 'Home', 'End'].includes(event.key))
165
+ return;
166
+ const radios = this.getChildren().filter((radio) => !radio.disabled);
167
+ const index = radios.indexOf(target);
168
+ if (index < 0 || radios.length === 0)
169
+ return;
170
+ event.preventDefault();
171
+ event.stopPropagation();
172
+ const nextIndex = event.key === 'Home'
173
+ ? 0
174
+ : event.key === 'End'
175
+ ? radios.length - 1
176
+ : ['ArrowRight', 'ArrowDown'].includes(event.key)
177
+ ? (index + 1) % radios.length
178
+ : (index - 1 + radios.length) % radios.length;
179
+ const next = radios[nextIndex];
180
+ if (!next)
181
+ return;
182
+ next.checked = true;
183
+ this.value = next.value ?? null;
184
+ void next.setFocus();
185
+ dispatchNativeFormEvent(this.el, 'input');
186
+ dispatchNativeFormEvent(this.el, 'change');
187
+ void this.validate();
188
+ }
189
+ /** Verifica a validade do grupo. */
190
+ async checkValidity() {
191
+ return this.elementInternals.checkValidity();
192
+ }
193
+ /** Verifica a validade e apresenta a mensagem do grupo. */
194
+ async reportValidity() {
195
+ this.hasInteracted = true;
196
+ this.syncFormState();
197
+ const valid = this.elementInternals.reportValidity();
198
+ if (!valid)
199
+ await this.setFocus();
200
+ return valid;
201
+ }
202
+ /** Define a mensagem de validade customizada do grupo. */
203
+ async setCustomValidity(message) {
204
+ this.customValidationMessage = message;
205
+ this.syncFormState();
206
+ }
207
+ /** Executa o validator do grupo. */
208
+ async validate() {
209
+ const validator = resolveFormValidator(this.validator);
210
+ if (!validator || this.isDisabled())
211
+ return this.checkValidity();
212
+ const runId = ++this.validationRunId;
213
+ this.isValidating = true;
214
+ this.validatorMessage = null;
215
+ this.syncFormState();
216
+ this.brRadioGroupValidationChange.emit({ validating: true, valid: null, message: null });
217
+ const message = await runFormValidator(validator, this.value);
218
+ if (runId !== this.validationRunId)
219
+ return false;
220
+ this.validatorMessage = message;
221
+ this.isValidating = false;
222
+ this.syncFormState();
223
+ const valid = message === null && (await this.checkValidity());
224
+ this.brRadioGroupValidationChange.emit({ validating: false, valid, message });
225
+ return valid;
226
+ }
227
+ /** Retorna o snapshot de validade do grupo. */
228
+ async getValidationState() {
229
+ return getFormValidationState(this.elementInternals);
230
+ }
231
+ /** Move o foco para o radio marcado ou para o primeiro radio habilitado. */
232
+ async setFocus() {
233
+ const radio = this.getChildren().find((item) => item.checked && !item.disabled) ??
234
+ this.getChildren().find((item) => !item.disabled);
235
+ await radio?.setFocus?.();
236
+ }
237
+ getChildren() {
238
+ return Array.from(this.el.children).filter((element) => element.tagName.toLowerCase() === 'br-radio');
239
+ }
240
+ isDisabled() {
241
+ return this.disabled || this.formDisabled;
242
+ }
243
+ handleChildFormEvent(event, type) {
244
+ const radio = event.composedPath().find((node) => node.tagName?.toLowerCase() === 'br-radio');
245
+ if (!radio || this.isDisabled())
246
+ return;
247
+ if (this.ready && event.isTrusted)
248
+ this.hasInteracted = true;
249
+ event.stopImmediatePropagation();
250
+ this.value = radio.checked ? (radio.value ?? null) : null;
251
+ dispatchNativeFormEvent(this.el, type);
252
+ if (type === 'change')
253
+ void this.validate();
254
+ }
255
+ syncManagedState(children) {
256
+ const enabled = children.filter((radio) => !radio.disabled);
257
+ const selected = enabled.find((radio) => radio.checked);
258
+ if (this.syncingChildren)
259
+ return;
260
+ this.syncingChildren = true;
261
+ children.forEach((radio) => {
262
+ this.manageRadio(radio, selected, enabled[0]);
263
+ });
264
+ for (const radio of this.originalNames.keys()) {
265
+ if (!children.includes(radio)) {
266
+ this.releaseRadio(radio);
267
+ this.originalNames.delete(radio);
268
+ }
269
+ }
270
+ this.syncingChildren = false;
271
+ }
272
+ manageRadio(radio, selected, firstEnabled) {
273
+ if (!this.originalNames.has(radio))
274
+ this.originalNames.set(radio, radio.name);
275
+ radio.name = this.name;
276
+ const tabIndex = this.isDisabled() || radio.disabled
277
+ ? -1
278
+ : selected
279
+ ? radio === selected
280
+ ? 0
281
+ : -1
282
+ : radio === firstEnabled
283
+ ? 0
284
+ : -1;
285
+ radio.dispatchEvent(new CustomEvent('brRadioGroupState', {
286
+ detail: { managed: true, disabled: this.isDisabled(), tabIndex },
287
+ }));
288
+ }
289
+ releaseRadio(radio) {
290
+ const originalName = this.originalNames.get(radio);
291
+ if (originalName === undefined)
292
+ radio.removeAttribute('name');
293
+ else
294
+ radio.name = originalName;
295
+ radio.dispatchEvent(new CustomEvent('brRadioGroupState', {
296
+ detail: { managed: false, disabled: false, tabIndex: 0 },
297
+ }));
298
+ }
299
+ observeChildren() {
300
+ this.observer?.observe(this.el, {
301
+ childList: true,
302
+ attributes: true,
303
+ subtree: true,
304
+ attributeFilter: ['checked', 'disabled', 'slot', 'value'],
305
+ });
306
+ }
307
+ syncNamedSlots() {
308
+ this.hasFeedbackSlot = hasNamedLightDomSlot(this.el, 'feedback');
309
+ this.hasDescriptionSlot = hasNamedLightDomSlot(this.el, 'description');
310
+ this.hasLabelSlot = hasNamedLightDomSlot(this.el, 'label');
311
+ this.hasValidationLoadingSlot = hasNamedLightDomSlot(this.el, 'validation-loading');
312
+ }
313
+ applyValueToChildren() {
314
+ if (this.syncingChildren)
315
+ return;
316
+ const children = this.getChildren();
317
+ const selected = this.value === null ? undefined : children.find((radio) => radio.value === this.value && !radio.disabled);
318
+ this.syncingChildren = true;
319
+ children.forEach((radio) => {
320
+ radio.checked = radio === selected;
321
+ });
322
+ this.syncingChildren = false;
323
+ if (this.value !== null && !selected) {
324
+ this.value = null;
325
+ return;
326
+ }
327
+ this.syncManagedState(children);
328
+ }
329
+ reconcileChildren(records = []) {
330
+ if (this.syncingChildren)
331
+ return;
332
+ this.syncNamedSlots();
333
+ const children = this.getChildren();
334
+ const checked = children.filter((radio) => radio.checked && !radio.disabled);
335
+ const selected = this.value === null ? undefined : children.find((radio) => radio.value === this.value && !radio.disabled);
336
+ const stateMatchesValue = this.value === null ? checked.length === 0 : Boolean(selected) && checked.length === 1 && checked[0] === selected;
337
+ if (!stateMatchesValue) {
338
+ const addedChecked = records
339
+ .filter((record) => record.type === 'childList')
340
+ .flatMap((record) => Array.from(record.addedNodes))
341
+ .filter((node) => node.tagName?.toLowerCase() === 'br-radio' &&
342
+ node.checked &&
343
+ !node.disabled)
344
+ .at(-1);
345
+ const changedChecked = records
346
+ .filter((record) => record.type === 'attributes' && record.attributeName === 'checked')
347
+ .map((record) => record.target)
348
+ .filter((radio) => radio.checked && !radio.disabled)
349
+ .at(-1);
350
+ this.value = (changedChecked ?? addedChecked ?? checked.at(-1))?.value ?? null;
351
+ return;
352
+ }
353
+ this.syncManagedState(children);
354
+ this.syncFormState();
355
+ }
356
+ getValidityMessage() {
357
+ return (this.customValidationMessage ||
358
+ this.validatorMessage ||
359
+ ((this.hasInteracted || this.elementInternals.validity.valueMissing) && this.required && this.value === null
360
+ ? 'Selecione uma opção.'
361
+ : ''));
362
+ }
363
+ cancelValidation() {
364
+ this.validationRunId++;
365
+ this.isValidating = false;
366
+ this.validatorMessage = null;
367
+ }
368
+ getCssClassMap() {
369
+ const disabled = this.isDisabled();
370
+ const invalid = !disabled && (this.feedbackState === 'invalid' || this.getValidityMessage() !== '');
371
+ return {
372
+ 'br-radio-group': true,
373
+ disabled,
374
+ horizontal: this.orientation === 'horizontal',
375
+ vertical: this.orientation === 'vertical',
376
+ valid: !disabled && this.feedbackState === 'valid' && !invalid,
377
+ invalid,
378
+ };
379
+ }
380
+ syncFormState() {
381
+ const disabled = this.isDisabled();
382
+ const valueMissing = !disabled && this.required && this.value === null;
383
+ const customError = !disabled && Boolean(this.customValidationMessage || this.validatorMessage);
384
+ setFormValidity(this.elementInternals, { customError, valueMissing }, this.getValidityMessage(), this.getChildren().find((radio) => radio.checked && !radio.disabled) ??
385
+ this.getChildren().find((radio) => !radio.disabled));
386
+ if (disabled || this.value === null)
387
+ safeSetFormValue(this.elementInternals, null);
388
+ else
389
+ safeSetFormValue(this.elementInternals, this.value, this.value);
390
+ }
391
+ renderDefaultFeedback(hasError, message) {
392
+ if (this.hasFeedbackSlot || !hasError)
393
+ return null;
394
+ return h("br-message", { state: "danger", message: message });
395
+ }
396
+ render() {
397
+ const feedbackId = `${this.customId}-feedback`;
398
+ const descriptionId = `${this.customId}-description`;
399
+ const legendId = `${this.customId}-legend`;
400
+ const validationMessage = this.getValidityMessage();
401
+ const hasError = !this.isDisabled() && validationMessage !== '';
402
+ const isAriaInvalid = !this.isDisabled() && (hasError || this.feedbackState === 'invalid');
403
+ const hasErrorMessage = hasError || this.hasFeedbackSlot;
404
+ const hasVisibleLegend = Boolean(this.label || this.hasLabelSlot);
405
+ return (h(Host, { key: 'ae3ac4cc6cf4a4bff1af2d395d97d5a4fa79c92a', class: this.getCssClassMap(), "aria-busy": this.isValidating ? 'true' : null, "aria-disabled": this.isDisabled() ? 'true' : null, "aria-invalid": isAriaInvalid ? 'true' : null }, h("fieldset", { key: 'b61641320a175a98a0f981f98754ecbab291c779', part: "group", disabled: this.isDisabled(), "aria-label": !hasVisibleLegend ? this.ariaLabel : null, "aria-labelledby": hasVisibleLegend ? legendId : null, "aria-describedby": this.hasDescriptionSlot ? descriptionId : null, "aria-errormessage": hasErrorMessage ? feedbackId : null, "aria-invalid": isAriaInvalid ? 'true' : null }, h("legend", { key: '2fa589ca43588c7f5edca7e7fc8670f9c0eb02aa', id: legendId, part: "legend", hidden: !hasVisibleLegend }, h("slot", { key: '6cd271f83276a81fd679f06ab1f978f9fd2746ee', name: "label", onSlotchange: (event) => (this.hasLabelSlot = hasAssignedSlotContent(event.currentTarget)) }, this.label)), h("div", { key: 'ca4d582ef84b1ae8ff4db643896a0a1fb8ae1b2a', class: "radio-group-options", part: "options" }, h("slot", { key: '57263290203fd43b0dcc6d10ebbc15dc6b027a6a' })), h("div", { key: 'b049ee5c24aafda47bd716e942b08dd8d25f279c', id: descriptionId, class: "radio-group-description", part: "description", hidden: !this.hasDescriptionSlot }, h("slot", { key: '594c48868c942c101fdb402422464c25c5b13030', name: "description", onSlotchange: (event) => (this.hasDescriptionSlot = hasAssignedSlotContent(event.currentTarget)) })), h("div", { key: '7988046b5aa8912e3b0d76ba7e81654f6b29bec0', id: feedbackId, class: "radio-group-feedback", part: "feedback", hidden: !hasError && !this.hasFeedbackSlot }, h("slot", { key: '13bda2bf78bfcceb3012ec20362d8f3499113aa2', name: "feedback", onSlotchange: (event) => (this.hasFeedbackSlot = hasAssignedSlotContent(event.currentTarget)) }), this.renderDefaultFeedback(hasError, validationMessage)), h("div", { key: 'a7839cd4d68536a5f280044c6582e7ae3ce89fd0', part: "validation-loading", hidden: !this.hasValidationLoadingSlot || !this.isValidating }, h("slot", { key: 'f9cd0a4aa045f9c679c34d5551435287ca37bc75', name: "validation-loading" })))));
406
+ }
407
+ static get is() { return "br-radio-group"; }
408
+ static get encapsulation() { return "shadow"; }
409
+ static get formAssociated() { return true; }
410
+ static get originalStyleUrls() {
411
+ return {
412
+ "$": ["radio-group.scss"]
413
+ };
414
+ }
415
+ static get styleUrls() {
416
+ return {
417
+ "$": ["radio-group.css"]
418
+ };
419
+ }
420
+ static get properties() {
421
+ return {
422
+ "name": {
423
+ "type": "string",
424
+ "mutable": false,
425
+ "complexType": {
426
+ "original": "string",
427
+ "resolved": "string",
428
+ "references": {}
429
+ },
430
+ "required": true,
431
+ "optional": false,
432
+ "docs": {
433
+ "tags": [],
434
+ "text": "Nome do campo enviado pelo formul\u00E1rio."
435
+ },
436
+ "getter": false,
437
+ "setter": false,
438
+ "reflect": true,
439
+ "attribute": "name"
440
+ },
441
+ "value": {
442
+ "type": "string",
443
+ "mutable": true,
444
+ "complexType": {
445
+ "original": "string | null",
446
+ "resolved": "string",
447
+ "references": {}
448
+ },
449
+ "required": false,
450
+ "optional": false,
451
+ "docs": {
452
+ "tags": [],
453
+ "text": "Valor atualmente selecionado; `null` representa nenhuma sele\u00E7\u00E3o."
454
+ },
455
+ "getter": false,
456
+ "setter": false,
457
+ "reflect": true,
458
+ "attribute": "value",
459
+ "defaultValue": "null"
460
+ },
461
+ "defaultValue": {
462
+ "type": "string",
463
+ "mutable": false,
464
+ "complexType": {
465
+ "original": "string",
466
+ "resolved": "string",
467
+ "references": {}
468
+ },
469
+ "required": false,
470
+ "optional": true,
471
+ "docs": {
472
+ "tags": [],
473
+ "text": "Valor restaurado por `form.reset()` e usado como sele\u00E7\u00E3o inicial."
474
+ },
475
+ "getter": false,
476
+ "setter": false,
477
+ "reflect": true,
478
+ "attribute": "default-value"
479
+ },
480
+ "required": {
481
+ "type": "boolean",
482
+ "mutable": false,
483
+ "complexType": {
484
+ "original": "boolean",
485
+ "resolved": "boolean",
486
+ "references": {}
487
+ },
488
+ "required": false,
489
+ "optional": false,
490
+ "docs": {
491
+ "tags": [],
492
+ "text": "Exige uma op\u00E7\u00E3o habilitada selecionada."
493
+ },
494
+ "getter": false,
495
+ "setter": false,
496
+ "reflect": true,
497
+ "attribute": "required",
498
+ "defaultValue": "false"
499
+ },
500
+ "disabled": {
501
+ "type": "boolean",
502
+ "mutable": false,
503
+ "complexType": {
504
+ "original": "boolean",
505
+ "resolved": "boolean",
506
+ "references": {}
507
+ },
508
+ "required": false,
509
+ "optional": false,
510
+ "docs": {
511
+ "tags": [],
512
+ "text": "Desabilita o grupo e seus radios."
513
+ },
514
+ "getter": false,
515
+ "setter": false,
516
+ "reflect": true,
517
+ "attribute": "disabled",
518
+ "defaultValue": "false"
519
+ },
520
+ "orientation": {
521
+ "type": "string",
522
+ "mutable": false,
523
+ "complexType": {
524
+ "original": "RadioGroupOrientation",
525
+ "resolved": "\"horizontal\" | \"vertical\"",
526
+ "references": {
527
+ "RadioGroupOrientation": {
528
+ "location": "import",
529
+ "path": "./radio-group.types",
530
+ "id": "src/components/radio-group/radio-group.types.ts::RadioGroupOrientation",
531
+ "referenceLocation": "RadioGroupOrientation"
532
+ }
533
+ }
534
+ },
535
+ "required": false,
536
+ "optional": false,
537
+ "docs": {
538
+ "tags": [],
539
+ "text": "Orienta\u00E7\u00E3o visual das op\u00E7\u00F5es."
540
+ },
541
+ "getter": false,
542
+ "setter": false,
543
+ "reflect": true,
544
+ "attribute": "orientation",
545
+ "defaultValue": "'vertical'"
546
+ },
547
+ "label": {
548
+ "type": "string",
549
+ "mutable": false,
550
+ "complexType": {
551
+ "original": "string",
552
+ "resolved": "string",
553
+ "references": {}
554
+ },
555
+ "required": false,
556
+ "optional": true,
557
+ "docs": {
558
+ "tags": [],
559
+ "text": "Texto vis\u00EDvel usado como legenda do grupo."
560
+ },
561
+ "getter": false,
562
+ "setter": false,
563
+ "reflect": true,
564
+ "attribute": "label"
565
+ },
566
+ "ariaLabel": {
567
+ "type": "string",
568
+ "mutable": false,
569
+ "complexType": {
570
+ "original": "string | null",
571
+ "resolved": "string",
572
+ "references": {}
573
+ },
574
+ "required": false,
575
+ "optional": false,
576
+ "docs": {
577
+ "tags": [],
578
+ "text": "Nome acess\u00EDvel usado quando n\u00E3o h\u00E1 uma legenda vis\u00EDvel."
579
+ },
580
+ "getter": false,
581
+ "setter": false,
582
+ "reflect": true,
583
+ "attribute": "aria-label",
584
+ "defaultValue": "null"
585
+ },
586
+ "feedbackState": {
587
+ "type": "string",
588
+ "mutable": false,
589
+ "complexType": {
590
+ "original": "'valid' | 'invalid'",
591
+ "resolved": "\"invalid\" | \"valid\"",
592
+ "references": {}
593
+ },
594
+ "required": false,
595
+ "optional": true,
596
+ "docs": {
597
+ "tags": [],
598
+ "text": "Estado visual opcional do feedback. A validade real vem de ElementInternals."
599
+ },
600
+ "getter": false,
601
+ "setter": false,
602
+ "reflect": true,
603
+ "attribute": "feedback-state"
604
+ },
605
+ "validator": {
606
+ "type": "unknown",
607
+ "mutable": false,
608
+ "complexType": {
609
+ "original": "RadioGroupValidator",
610
+ "resolved": "(value: string) => string | Promise<string>",
611
+ "references": {
612
+ "RadioGroupValidator": {
613
+ "location": "import",
614
+ "path": "./radio-group.types",
615
+ "id": "src/components/radio-group/radio-group.types.ts::RadioGroupValidator",
616
+ "referenceLocation": "RadioGroupValidator"
617
+ }
618
+ }
619
+ },
620
+ "required": false,
621
+ "optional": true,
622
+ "docs": {
623
+ "tags": [],
624
+ "text": "Regra s\u00EDncrona ou ass\u00EDncrona aplicada ao valor do grupo."
625
+ },
626
+ "getter": false,
627
+ "setter": false
628
+ },
629
+ "customId": {
630
+ "type": "string",
631
+ "mutable": false,
632
+ "complexType": {
633
+ "original": "string",
634
+ "resolved": "string",
635
+ "references": {}
636
+ },
637
+ "required": false,
638
+ "optional": false,
639
+ "docs": {
640
+ "tags": [],
641
+ "text": "Identificador usado nas rela\u00E7\u00F5es acess\u00EDveis internas."
642
+ },
643
+ "getter": false,
644
+ "setter": false,
645
+ "reflect": true,
646
+ "attribute": "custom-id",
647
+ "defaultValue": "generateUniqueId()"
648
+ }
649
+ };
650
+ }
651
+ static get states() {
652
+ return {
653
+ "formDisabled": {},
654
+ "customValidationMessage": {},
655
+ "validatorMessage": {},
656
+ "isValidating": {},
657
+ "hasFeedbackSlot": {},
658
+ "hasInteracted": {},
659
+ "hasDescriptionSlot": {},
660
+ "hasLabelSlot": {},
661
+ "hasValidationLoadingSlot": {}
662
+ };
663
+ }
664
+ static get events() {
665
+ return [{
666
+ "method": "brRadioGroupValidationChange",
667
+ "name": "brRadioGroupValidationChange",
668
+ "bubbles": true,
669
+ "cancelable": false,
670
+ "composed": true,
671
+ "docs": {
672
+ "tags": [],
673
+ "text": "Emitido ao iniciar e concluir uma valida\u00E7\u00E3o customizada."
674
+ },
675
+ "complexType": {
676
+ "original": "FormValidationChangeDetail",
677
+ "resolved": "FormValidationChangeDetail",
678
+ "references": {
679
+ "FormValidationChangeDetail": {
680
+ "location": "import",
681
+ "path": "../../shared/utils/validator",
682
+ "id": "src/shared/utils/validator.ts::FormValidationChangeDetail",
683
+ "referenceLocation": "FormValidationChangeDetail"
684
+ }
685
+ }
686
+ }
687
+ }];
688
+ }
689
+ static get methods() {
690
+ return {
691
+ "checkValidity": {
692
+ "complexType": {
693
+ "signature": "() => Promise<boolean>",
694
+ "parameters": [],
695
+ "references": {
696
+ "Promise": {
697
+ "location": "global",
698
+ "id": "global::Promise"
699
+ }
700
+ },
701
+ "return": "Promise<boolean>"
702
+ },
703
+ "docs": {
704
+ "text": "Verifica a validade do grupo.",
705
+ "tags": []
706
+ }
707
+ },
708
+ "reportValidity": {
709
+ "complexType": {
710
+ "signature": "() => Promise<boolean>",
711
+ "parameters": [],
712
+ "references": {
713
+ "Promise": {
714
+ "location": "global",
715
+ "id": "global::Promise"
716
+ }
717
+ },
718
+ "return": "Promise<boolean>"
719
+ },
720
+ "docs": {
721
+ "text": "Verifica a validade e apresenta a mensagem do grupo.",
722
+ "tags": []
723
+ }
724
+ },
725
+ "setCustomValidity": {
726
+ "complexType": {
727
+ "signature": "(message: string) => Promise<void>",
728
+ "parameters": [{
729
+ "name": "message",
730
+ "type": "string",
731
+ "docs": ""
732
+ }],
733
+ "references": {
734
+ "Promise": {
735
+ "location": "global",
736
+ "id": "global::Promise"
737
+ }
738
+ },
739
+ "return": "Promise<void>"
740
+ },
741
+ "docs": {
742
+ "text": "Define a mensagem de validade customizada do grupo.",
743
+ "tags": []
744
+ }
745
+ },
746
+ "validate": {
747
+ "complexType": {
748
+ "signature": "() => Promise<boolean>",
749
+ "parameters": [],
750
+ "references": {
751
+ "Promise": {
752
+ "location": "global",
753
+ "id": "global::Promise"
754
+ }
755
+ },
756
+ "return": "Promise<boolean>"
757
+ },
758
+ "docs": {
759
+ "text": "Executa o validator do grupo.",
760
+ "tags": []
761
+ }
762
+ },
763
+ "getValidationState": {
764
+ "complexType": {
765
+ "signature": "() => Promise<FormValidationState>",
766
+ "parameters": [],
767
+ "references": {
768
+ "Promise": {
769
+ "location": "global",
770
+ "id": "global::Promise"
771
+ },
772
+ "FormValidationState": {
773
+ "location": "import",
774
+ "path": "../../shared/utils/form",
775
+ "id": "src/shared/utils/form.ts::FormValidationState",
776
+ "referenceLocation": "FormValidationState"
777
+ }
778
+ },
779
+ "return": "Promise<FormValidationState>"
780
+ },
781
+ "docs": {
782
+ "text": "Retorna o snapshot de validade do grupo.",
783
+ "tags": []
784
+ }
785
+ },
786
+ "setFocus": {
787
+ "complexType": {
788
+ "signature": "() => Promise<void>",
789
+ "parameters": [],
790
+ "references": {
791
+ "Promise": {
792
+ "location": "global",
793
+ "id": "global::Promise"
794
+ },
795
+ "HTMLBrRadioElement": {
796
+ "location": "global",
797
+ "id": "global::HTMLBrRadioElement"
798
+ }
799
+ },
800
+ "return": "Promise<void>"
801
+ },
802
+ "docs": {
803
+ "text": "Move o foco para o radio marcado ou para o primeiro radio habilitado.",
804
+ "tags": []
805
+ }
806
+ }
807
+ };
808
+ }
809
+ static get elementRef() { return "el"; }
810
+ static get watchers() {
811
+ return [{
812
+ "propName": "value",
813
+ "methodName": "handleValueChange"
814
+ }, {
815
+ "propName": "name",
816
+ "methodName": "handleNameChange"
817
+ }, {
818
+ "propName": "disabled",
819
+ "methodName": "handleDisabledChange"
820
+ }, {
821
+ "propName": "validator",
822
+ "methodName": "handleValidatorChange"
823
+ }, {
824
+ "propName": "defaultValue",
825
+ "methodName": "handleDefaultValueChange"
826
+ }, {
827
+ "propName": "required",
828
+ "methodName": "handleRequiredChange"
829
+ }, {
830
+ "propName": "customValidationMessage",
831
+ "methodName": "handleCustomValidityChange"
832
+ }];
833
+ }
834
+ static get listeners() {
835
+ return [{
836
+ "name": "input",
837
+ "method": "handleChildInput",
838
+ "target": undefined,
839
+ "capture": false,
840
+ "passive": false
841
+ }, {
842
+ "name": "change",
843
+ "method": "handleChildChange",
844
+ "target": undefined,
845
+ "capture": false,
846
+ "passive": false
847
+ }, {
848
+ "name": "brInternalRadioChecked",
849
+ "method": "handleChildChecked",
850
+ "target": undefined,
851
+ "capture": false,
852
+ "passive": false
853
+ }, {
854
+ "name": "keydown",
855
+ "method": "handleKeyDown",
856
+ "target": undefined,
857
+ "capture": false,
858
+ "passive": false
859
+ }];
860
+ }
861
+ static get attachInternalsMemberName() { return "elementInternals"; }
862
+ }