@govbr-ds/webcomponents 2.1.0 → 2.1.1

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 (858) hide show
  1. package/cem/custom-elements.json +63 -63
  2. package/dist/cjs/app-globals-DcqHuMBv.js +9 -0
  3. package/dist/cjs/br-avatar.cjs.entry.js +248 -0
  4. package/dist/cjs/br-breadcrumb-item.cjs.entry.js +45 -0
  5. package/dist/cjs/br-breadcrumb.cjs.entry.js +443 -0
  6. package/dist/cjs/br-button_2.cjs.entry.js +280 -0
  7. package/dist/cjs/br-card.cjs.entry.js +111 -0
  8. package/dist/cjs/br-carousel-page.cjs.entry.js +80 -0
  9. package/dist/cjs/br-carousel.cjs.entry.js +565 -0
  10. package/dist/cjs/br-checkbox-group.cjs.entry.js +118 -0
  11. package/dist/cjs/br-checkbox.cjs.entry.js +288 -0
  12. package/dist/cjs/br-checkgroup.cjs.entry.js +20 -0
  13. package/dist/cjs/br-collapse_2.cjs.entry.js +683 -0
  14. package/dist/cjs/br-cookiebar-cookie.cjs.entry.js +83 -0
  15. package/dist/cjs/br-cookiebar-group.cjs.entry.js +309 -0
  16. package/dist/cjs/br-cookiebar-header.cjs.entry.js +39 -0
  17. package/dist/cjs/br-cookiebar-link.cjs.entry.js +54 -0
  18. package/dist/cjs/br-cookiebar-note-group.cjs.entry.js +70 -0
  19. package/dist/cjs/br-cookiebar-note.cjs.entry.js +25 -0
  20. package/dist/cjs/br-cookiebar.cjs.entry.js +758 -0
  21. package/dist/cjs/br-crumb.cjs.entry.js +51 -0
  22. package/dist/cjs/br-date-picker_3.cjs.entry.js +2446 -0
  23. package/dist/cjs/br-datetime-picker.cjs.entry.js +1887 -0
  24. package/dist/cjs/br-divider.cjs.entry.js +225 -0
  25. package/dist/cjs/br-dropdown_2.cjs.entry.js +1856 -0
  26. package/dist/cjs/br-footer-category.cjs.entry.js +102 -0
  27. package/dist/cjs/br-footer-item.cjs.entry.js +52 -0
  28. package/dist/cjs/br-footer-legal.cjs.entry.js +41 -0
  29. package/dist/cjs/br-footer-logo.cjs.entry.js +104 -0
  30. package/dist/cjs/br-footer-social.cjs.entry.js +71 -0
  31. package/dist/cjs/br-footer.cjs.entry.js +92 -0
  32. package/dist/cjs/br-header-function.cjs.entry.js +142 -0
  33. package/dist/cjs/br-header-link.cjs.entry.js +60 -0
  34. package/dist/cjs/br-header-list.cjs.entry.js +279 -0
  35. package/dist/cjs/br-header-logo.cjs.entry.js +177 -0
  36. package/dist/cjs/br-header.cjs.entry.js +642 -0
  37. package/dist/cjs/br-icon.cjs.entry.js +485 -0
  38. package/dist/cjs/br-input.cjs.entry.js +599 -0
  39. package/dist/cjs/br-item.cjs.entry.js +356 -0
  40. package/dist/cjs/br-link.cjs.entry.js +132 -0
  41. package/dist/cjs/br-loading.cjs.entry.js +505 -0
  42. package/dist/cjs/br-magic-button.cjs.entry.js +92 -0
  43. package/dist/cjs/br-menu-group.cjs.entry.js +23 -0
  44. package/dist/cjs/br-menu-header.cjs.entry.js +47 -0
  45. package/dist/cjs/br-menu-info.cjs.entry.js +38 -0
  46. package/dist/cjs/br-menu-item.cjs.entry.js +79 -0
  47. package/dist/cjs/br-menu-link.cjs.entry.js +55 -0
  48. package/dist/cjs/br-menu-list.cjs.entry.js +149 -0
  49. package/dist/cjs/br-menu-logo.cjs.entry.js +75 -0
  50. package/dist/cjs/br-menu-social.cjs.entry.js +65 -0
  51. package/dist/cjs/br-menu.cjs.entry.js +993 -0
  52. package/dist/cjs/br-modal.cjs.entry.js +496 -0
  53. package/dist/cjs/br-notification-body.cjs.entry.js +71 -0
  54. package/dist/cjs/br-notification-header.cjs.entry.js +48 -0
  55. package/dist/cjs/br-notification-item.cjs.entry.js +110 -0
  56. package/dist/cjs/br-notification.cjs.entry.js +334 -0
  57. package/dist/cjs/br-pagination.cjs.entry.js +884 -0
  58. package/dist/cjs/br-radio-group.cjs.entry.js +428 -0
  59. package/dist/cjs/br-radio.cjs.entry.js +357 -0
  60. package/dist/cjs/br-scrim.cjs.entry.js +1336 -0
  61. package/dist/cjs/br-select-input_3.cjs.entry.js +954 -0
  62. package/dist/cjs/br-sign-in.cjs.entry.js +125 -0
  63. package/dist/cjs/br-skip-link-item.cjs.entry.js +20 -0
  64. package/dist/cjs/br-skip-link.cjs.entry.js +362 -0
  65. package/dist/cjs/br-skiplink-item.cjs.entry.js +192 -0
  66. package/dist/cjs/br-slider.cjs.entry.js +688 -0
  67. package/dist/cjs/br-step_2.cjs.entry.js +628 -0
  68. package/dist/cjs/br-switch.cjs.entry.js +245 -0
  69. package/dist/cjs/br-tab-item.cjs.entry.js +185 -0
  70. package/dist/cjs/br-tab.cjs.entry.js +397 -0
  71. package/dist/cjs/br-table-body.cjs.entry.js +37 -0
  72. package/dist/cjs/br-table-cell.cjs.entry.js +184 -0
  73. package/dist/cjs/br-table-header-cell.cjs.entry.js +173 -0
  74. package/dist/cjs/br-table-header.cjs.entry.js +37 -0
  75. package/dist/cjs/br-table-row.cjs.entry.js +81 -0
  76. package/dist/cjs/br-table.cjs.entry.js +680 -0
  77. package/dist/cjs/br-tag.cjs.entry.js +494 -0
  78. package/dist/cjs/br-textarea.cjs.entry.js +306 -0
  79. package/dist/cjs/br-tooltip.cjs.entry.js +627 -0
  80. package/dist/cjs/br-upload.cjs.entry.js +582 -0
  81. package/dist/cjs/br-wizard-panel.cjs.entry.js +54 -0
  82. package/dist/cjs/br-wizard.cjs.entry.js +708 -0
  83. package/dist/cjs/breakpoint-observer-P8veqXg7.js +144 -0
  84. package/dist/cjs/clamp-Co_hWptd.js +25 -0
  85. package/dist/cjs/cookiebar.utils-CB1gQwZ4.js +18 -0
  86. package/dist/cjs/datetime-picker-constants-B5pWeOn1.js +3827 -0
  87. package/dist/cjs/event-CmVdNHxl.js +56 -0
  88. package/dist/cjs/floating-surface-dismiss-ccdiD0KF.js +63 -0
  89. package/dist/cjs/floating-ui-MBI1osio.js +136 -0
  90. package/dist/cjs/floating-ui.dom-BUSTaaxR.js +1715 -0
  91. package/dist/cjs/focus-DuywwJPR.js +30 -0
  92. package/dist/cjs/getNextElement-R9l3JtM9.js +31 -0
  93. package/dist/cjs/iconify-icon-DfODV9bf.js +2307 -0
  94. package/dist/cjs/id-CjRFMzf6.js +20 -0
  95. package/dist/cjs/index-C92n55ch.js +678 -0
  96. package/dist/cjs/index-CRdcutym.js +3287 -0
  97. package/dist/cjs/index.cjs.js +12 -0
  98. package/dist/cjs/isNil-DO5zWc3l.js +19 -0
  99. package/dist/cjs/isValid-Fu3kaWNn.js +3694 -0
  100. package/dist/cjs/loader.cjs.js +17 -0
  101. package/dist/cjs/native-dialog--Ewqm4w0.js +49 -0
  102. package/dist/cjs/navigation-AbzwcRCU.js +25 -0
  103. package/dist/cjs/parts-D5K3ae2C.js +19 -0
  104. package/dist/cjs/props-CScmBvKd.js +24 -0
  105. package/dist/cjs/raf-batcher-yc87a4dS.js +55 -0
  106. package/dist/cjs/slot-DAllytTj.js +48 -0
  107. package/dist/cjs/swipe-BU8_XE9f.js +345 -0
  108. package/dist/cjs/table-constants-BOPSay0B.js +183 -0
  109. package/dist/cjs/validator-CTCajtT9.js +123 -0
  110. package/dist/cjs/webcomponents.cjs.js +50 -0
  111. package/dist/collection/assets/icon-search.svg +6 -0
  112. package/dist/collection/assets/logo-negative.svg +1 -0
  113. package/dist/collection/assets/logo-positive.svg +1 -0
  114. package/dist/collection/assets/wc.svg +1 -0
  115. package/dist/collection/collection-manifest.json +113 -0
  116. package/dist/collection/components/avatar/avatar.css +1 -0
  117. package/dist/collection/components/avatar/avatar.js +589 -0
  118. package/dist/collection/components/avatar/avatar.types.js +1 -0
  119. package/dist/collection/components/breadcrumb/breadcrumb-item/breadcrumb-item.js +166 -0
  120. package/dist/collection/components/breadcrumb/breadcrumb.css +1 -0
  121. package/dist/collection/components/breadcrumb/breadcrumb.js +619 -0
  122. package/dist/collection/components/breadcrumb/breadcrumb.types.js +1 -0
  123. package/dist/collection/components/breadcrumb/crumb/crumb.js +175 -0
  124. package/dist/collection/components/button/button.css +1 -0
  125. package/dist/collection/components/button/button.js +546 -0
  126. package/dist/collection/components/button/button.types.js +1 -0
  127. package/dist/collection/components/card/card.css +1 -0
  128. package/dist/collection/components/card/card.js +225 -0
  129. package/dist/collection/components/carousel/carousel-page/carousel-page.css +1 -0
  130. package/dist/collection/components/carousel/carousel-page/carousel-page.js +195 -0
  131. package/dist/collection/components/carousel/carousel.css +1 -0
  132. package/dist/collection/components/carousel/carousel.js +1217 -0
  133. package/dist/collection/components/carousel/carousel.types.js +1 -0
  134. package/dist/collection/components/checkbox/checkbox.css +1 -0
  135. package/dist/collection/components/checkbox/checkbox.js +823 -0
  136. package/dist/collection/components/checkbox/checkbox.types.js +1 -0
  137. package/dist/collection/components/checkbox-group/checkbox-group.css +1 -0
  138. package/dist/collection/components/checkbox-group/checkbox-group.js +268 -0
  139. package/dist/collection/components/checkgroup/checkgroup.js +166 -0
  140. package/dist/collection/components/collapse/collapse.css +1 -0
  141. package/dist/collection/components/collapse/collapse.js +642 -0
  142. package/dist/collection/components/collapse/collapse.types.js +1 -0
  143. package/dist/collection/components/cookiebar/cookiebar-cookie/cookiebar-cookie.css +1 -0
  144. package/dist/collection/components/cookiebar/cookiebar-cookie/cookiebar-cookie.js +529 -0
  145. package/dist/collection/components/cookiebar/cookiebar-group/cookiebar-group.css +1 -0
  146. package/dist/collection/components/cookiebar/cookiebar-group/cookiebar-group.js +628 -0
  147. package/dist/collection/components/cookiebar/cookiebar-header/cookiebar-header.css +1 -0
  148. package/dist/collection/components/cookiebar/cookiebar-header/cookiebar-header.js +165 -0
  149. package/dist/collection/components/cookiebar/cookiebar-link/cookiebar-link.css +1 -0
  150. package/dist/collection/components/cookiebar/cookiebar-link/cookiebar-link.js +200 -0
  151. package/dist/collection/components/cookiebar/cookiebar-note/cookiebar-note.css +1 -0
  152. package/dist/collection/components/cookiebar/cookiebar-note/cookiebar-note.js +100 -0
  153. package/dist/collection/components/cookiebar/cookiebar-note-group/cookiebar-note-group.css +1 -0
  154. package/dist/collection/components/cookiebar/cookiebar-note-group/cookiebar-note-group.js +172 -0
  155. package/dist/collection/components/cookiebar/cookiebar.css +1 -0
  156. package/dist/collection/components/cookiebar/cookiebar.js +1419 -0
  157. package/dist/collection/components/cookiebar/cookiebar.types.js +1 -0
  158. package/dist/collection/components/cookiebar/cookiebar.utils.js +14 -0
  159. package/dist/collection/components/datetime-picker/date-picker/date-picker-locale.js +94 -0
  160. package/dist/collection/components/datetime-picker/date-picker/date-picker-props-validation.js +57 -0
  161. package/dist/collection/components/datetime-picker/date-picker/date-picker.css +1 -0
  162. package/dist/collection/components/datetime-picker/date-picker/date-picker.js +913 -0
  163. package/dist/collection/components/datetime-picker/datetime-input/datetime-input-props-validation.js +65 -0
  164. package/dist/collection/components/datetime-picker/datetime-input/datetime-input.css +1 -0
  165. package/dist/collection/components/datetime-picker/datetime-input/datetime-input.js +825 -0
  166. package/dist/collection/components/datetime-picker/datetime-picker-constants.js +36 -0
  167. package/dist/collection/components/datetime-picker/datetime-picker-form-associated.js +112 -0
  168. package/dist/collection/components/datetime-picker/datetime-picker-props-validation.js +202 -0
  169. package/dist/collection/components/datetime-picker/datetime-picker.css +1 -0
  170. package/dist/collection/components/datetime-picker/datetime-picker.js +1925 -0
  171. package/dist/collection/components/datetime-picker/datetime-picker.types.js +1 -0
  172. package/dist/collection/components/datetime-picker/datetime-picker.utils.js +250 -0
  173. package/dist/collection/components/datetime-picker/time-picker/time-picker-constants.js +13 -0
  174. package/dist/collection/components/datetime-picker/time-picker/time-picker.css +1 -0
  175. package/dist/collection/components/datetime-picker/time-picker/time-picker.js +456 -0
  176. package/dist/collection/components/divider/divider.css +1 -0
  177. package/dist/collection/components/divider/divider.js +537 -0
  178. package/dist/collection/components/divider/divider.types.js +1 -0
  179. package/dist/collection/components/dropdown/dropdown.css +1 -0
  180. package/dist/collection/components/dropdown/dropdown.js +939 -0
  181. package/dist/collection/components/dropdown/dropdown.types.js +1 -0
  182. package/dist/collection/components/footer/footer-category/footer-category.css +1 -0
  183. package/dist/collection/components/footer/footer-category/footer-category.js +160 -0
  184. package/dist/collection/components/footer/footer-item/footer-item.css +1 -0
  185. package/dist/collection/components/footer/footer-item/footer-item.js +154 -0
  186. package/dist/collection/components/footer/footer-legal/footer-legal.css +1 -0
  187. package/dist/collection/components/footer/footer-legal/footer-legal.js +75 -0
  188. package/dist/collection/components/footer/footer-logo/footer-logo.css +1 -0
  189. package/dist/collection/components/footer/footer-logo/footer-logo.js +342 -0
  190. package/dist/collection/components/footer/footer-logo/footer-logo.types.js +1 -0
  191. package/dist/collection/components/footer/footer-social/footer-social.css +1 -0
  192. package/dist/collection/components/footer/footer-social/footer-social.js +239 -0
  193. package/dist/collection/components/footer/footer.css +1 -0
  194. package/dist/collection/components/footer/footer.js +245 -0
  195. package/dist/collection/components/footer/footer.types.js +1 -0
  196. package/dist/collection/components/global.types.js +1 -0
  197. package/dist/collection/components/header/header-function/header-function.css +1 -0
  198. package/dist/collection/components/header/header-function/header-function.js +311 -0
  199. package/dist/collection/components/header/header-link/header-link.css +1 -0
  200. package/dist/collection/components/header/header-link/header-link.js +189 -0
  201. package/dist/collection/components/header/header-list/header-list.css +1 -0
  202. package/dist/collection/components/header/header-list/header-list.js +452 -0
  203. package/dist/collection/components/header/header-logo/header-logo.css +1 -0
  204. package/dist/collection/components/header/header-logo/header-logo.js +420 -0
  205. package/dist/collection/components/header/header.css +1 -0
  206. package/dist/collection/components/header/header.js +1131 -0
  207. package/dist/collection/components/header/header.types.js +1 -0
  208. package/dist/collection/components/icon/default-icons-cache.js +233 -0
  209. package/dist/collection/components/icon/icon.css +1 -0
  210. package/dist/collection/components/icon/icon.js +598 -0
  211. package/dist/collection/components/icon/icon.types.js +1 -0
  212. package/dist/collection/components/icon/icon.utils.js +33 -0
  213. package/dist/collection/components/input/input.css +1 -0
  214. package/dist/collection/components/input/input.js +1642 -0
  215. package/dist/collection/components/input/input.types.js +1 -0
  216. package/dist/collection/components/item/item.css +1 -0
  217. package/dist/collection/components/item/item.js +906 -0
  218. package/dist/collection/components/item/item.types.js +1 -0
  219. package/dist/collection/components/link/link.css +1 -0
  220. package/dist/collection/components/link/link.js +698 -0
  221. package/dist/collection/components/list/list.css +1 -0
  222. package/dist/collection/components/list/list.js +728 -0
  223. package/dist/collection/components/loading/loading.css +1 -0
  224. package/dist/collection/components/loading/loading.js +1169 -0
  225. package/dist/collection/components/loading/loading.types.js +1 -0
  226. package/dist/collection/components/magic-button/magic-button.css +1 -0
  227. package/dist/collection/components/magic-button/magic-button.js +237 -0
  228. package/dist/collection/components/menu/menu-group/menu-group.css +1 -0
  229. package/dist/collection/components/menu/menu-group/menu-group.js +77 -0
  230. package/dist/collection/components/menu/menu-header/menu-header.css +1 -0
  231. package/dist/collection/components/menu/menu-header/menu-header.js +161 -0
  232. package/dist/collection/components/menu/menu-info/menu-info.css +1 -0
  233. package/dist/collection/components/menu/menu-info/menu-info.js +94 -0
  234. package/dist/collection/components/menu/menu-item/menu-item.css +1 -0
  235. package/dist/collection/components/menu/menu-item/menu-item.js +306 -0
  236. package/dist/collection/components/menu/menu-item/menu-item.types.js +1 -0
  237. package/dist/collection/components/menu/menu-link/menu-link.css +1 -0
  238. package/dist/collection/components/menu/menu-link/menu-link.js +259 -0
  239. package/dist/collection/components/menu/menu-list/menu-list.css +1 -0
  240. package/dist/collection/components/menu/menu-list/menu-list.js +311 -0
  241. package/dist/collection/components/menu/menu-logo/menu-logo.css +1 -0
  242. package/dist/collection/components/menu/menu-logo/menu-logo.js +230 -0
  243. package/dist/collection/components/menu/menu-social/menu-social.css +1 -0
  244. package/dist/collection/components/menu/menu-social/menu-social.js +263 -0
  245. package/dist/collection/components/menu/menu.css +1 -0
  246. package/dist/collection/components/menu/menu.js +1372 -0
  247. package/dist/collection/components/menu/menu.types.js +1 -0
  248. package/dist/collection/components/menu/menu.utils.js +279 -0
  249. package/dist/collection/components/message/message.css +1 -0
  250. package/dist/collection/components/message/message.js +508 -0
  251. package/dist/collection/components/modal/modal.css +1 -0
  252. package/dist/collection/components/modal/modal.js +842 -0
  253. package/dist/collection/components/modal/modal.types.js +1 -0
  254. package/dist/collection/components/notification/notification-body/notification-body.css +1 -0
  255. package/dist/collection/components/notification/notification-body/notification-body.js +153 -0
  256. package/dist/collection/components/notification/notification-header/notification-header.css +1 -0
  257. package/dist/collection/components/notification/notification-header/notification-header.js +181 -0
  258. package/dist/collection/components/notification/notification-item/notification-item.css +1 -0
  259. package/dist/collection/components/notification/notification-item/notification-item.js +351 -0
  260. package/dist/collection/components/notification/notification-item/notification-item.types.js +1 -0
  261. package/dist/collection/components/notification/notification.css +1 -0
  262. package/dist/collection/components/notification/notification.js +838 -0
  263. package/dist/collection/components/notification/notification.types.js +1 -0
  264. package/dist/collection/components/pagination/pagination.css +1 -0
  265. package/dist/collection/components/pagination/pagination.js +1470 -0
  266. package/dist/collection/components/pagination/pagination.types.js +1 -0
  267. package/dist/collection/components/radio/radio.css +1 -0
  268. package/dist/collection/components/radio/radio.js +847 -0
  269. package/dist/collection/components/radio/radio.types.js +1 -0
  270. package/dist/collection/components/radio-group/radio-group.css +1 -0
  271. package/dist/collection/components/radio-group/radio-group.js +862 -0
  272. package/dist/collection/components/radio-group/radio-group.types.js +1 -0
  273. package/dist/collection/components/scrim/scrim.css +1 -0
  274. package/dist/collection/components/scrim/scrim.js +1825 -0
  275. package/dist/collection/components/scrim/scrim.types.js +1 -0
  276. package/dist/collection/components/scrim/scrim.utils.js +132 -0
  277. package/dist/collection/components/select/select-input/select-input.css +1 -0
  278. package/dist/collection/components/select/select-input/select-input.js +585 -0
  279. package/dist/collection/components/select/select-list/select-list.css +1 -0
  280. package/dist/collection/components/select/select-list/select-list.js +1147 -0
  281. package/dist/collection/components/select/select-option/select-option.css +1 -0
  282. package/dist/collection/components/select/select-option/select-option.js +543 -0
  283. package/dist/collection/components/select/select.constants.js +6 -0
  284. package/dist/collection/components/select/select.css +1 -0
  285. package/dist/collection/components/select/select.js +2575 -0
  286. package/dist/collection/components/select/select.types.js +1 -0
  287. package/dist/collection/components/sign-in/sign-in.css +1 -0
  288. package/dist/collection/components/sign-in/sign-in.js +400 -0
  289. package/dist/collection/components/sign-in/sign-in.types.js +1 -0
  290. package/dist/collection/components/skip-link/skip-link-item/skip-link-item-alias.js +103 -0
  291. package/dist/collection/components/skip-link/skip-link-item/skip-link-item.css +1 -0
  292. package/dist/collection/components/skip-link/skip-link-item/skip-link-item.js +450 -0
  293. package/dist/collection/components/skip-link/skip-link.css +1 -0
  294. package/dist/collection/components/skip-link/skip-link.js +699 -0
  295. package/dist/collection/components/skip-link/skip-link.types.js +1 -0
  296. package/dist/collection/components/slider/slider.css +1 -0
  297. package/dist/collection/components/slider/slider.js +1325 -0
  298. package/dist/collection/components/slider/slider.types.js +1 -0
  299. package/dist/collection/components/step/step-item/step-item.css +1 -0
  300. package/dist/collection/components/step/step-item/step-item.js +604 -0
  301. package/dist/collection/components/step/step-item/step-item.types.js +1 -0
  302. package/dist/collection/components/step/step.css +1 -0
  303. package/dist/collection/components/step/step.js +896 -0
  304. package/dist/collection/components/step/step.types.js +1 -0
  305. package/dist/collection/components/switch/switch.css +1 -0
  306. package/dist/collection/components/switch/switch.js +715 -0
  307. package/dist/collection/components/switch/switch.types.js +1 -0
  308. package/dist/collection/components/tab/tab-item/tab-item.css +1 -0
  309. package/dist/collection/components/tab/tab-item/tab-item.js +425 -0
  310. package/dist/collection/components/tab/tab.css +1 -0
  311. package/dist/collection/components/tab/tab.js +724 -0
  312. package/dist/collection/components/tab/tab.types.js +1 -0
  313. package/dist/collection/components/table/table-body/table-body.css +1 -0
  314. package/dist/collection/components/table/table-body/table-body.js +51 -0
  315. package/dist/collection/components/table/table-cell/table-cell.css +1 -0
  316. package/dist/collection/components/table/table-cell/table-cell.js +373 -0
  317. package/dist/collection/components/table/table-constants.js +171 -0
  318. package/dist/collection/components/table/table-header/table-header.css +1 -0
  319. package/dist/collection/components/table/table-header/table-header.js +51 -0
  320. package/dist/collection/components/table/table-header-cell/table-header-cell.css +1 -0
  321. package/dist/collection/components/table/table-header-cell/table-header-cell.js +402 -0
  322. package/dist/collection/components/table/table-row/table-row.css +1 -0
  323. package/dist/collection/components/table/table-row/table-row.js +261 -0
  324. package/dist/collection/components/table/table-tokens.js +50 -0
  325. package/dist/collection/components/table/table-types.js +1 -0
  326. package/dist/collection/components/table/table-utils.js +44 -0
  327. package/dist/collection/components/table/table.css +1 -0
  328. package/dist/collection/components/table/table.js +1030 -0
  329. package/dist/collection/components/tag/tag.css +1 -0
  330. package/dist/collection/components/tag/tag.js +1153 -0
  331. package/dist/collection/components/tag/tag.types.js +1 -0
  332. package/dist/collection/components/textarea/textarea.css +1 -0
  333. package/dist/collection/components/textarea/textarea.js +985 -0
  334. package/dist/collection/components/textarea/textarea.types.js +1 -0
  335. package/dist/collection/components/tooltip/tooltip.css +1 -0
  336. package/dist/collection/components/tooltip/tooltip.js +1024 -0
  337. package/dist/collection/components/tooltip/tooltip.types.js +1 -0
  338. package/dist/collection/components/upload/upload.css +1 -0
  339. package/dist/collection/components/upload/upload.js +1315 -0
  340. package/dist/collection/components/upload/upload.types.js +1 -0
  341. package/dist/collection/components/wizard/wizard-panel/wizard-panel.css +1 -0
  342. package/dist/collection/components/wizard/wizard-panel/wizard-panel.js +167 -0
  343. package/dist/collection/components/wizard/wizard.css +1 -0
  344. package/dist/collection/components/wizard/wizard.js +1228 -0
  345. package/dist/collection/index.js +14 -0
  346. package/dist/collection/pages/components/cookiebar/index.js +26 -0
  347. package/dist/collection/pages/components/link/index.js +29 -0
  348. package/dist/collection/pages/components/pagination/index.js +12 -0
  349. package/dist/collection/pages/components/slider/index.js +18 -0
  350. package/dist/collection/pages/scripts/code-editor.js +101 -0
  351. package/dist/collection/pages/scripts/component-controls.js +591 -0
  352. package/dist/collection/pages/scripts/dev-event-console.js +47 -0
  353. package/dist/collection/pages/scripts/menu.js +183 -0
  354. package/dist/collection/pages/scripts/pageLoader.js +1420 -0
  355. package/dist/collection/shared/utils/assetsPath.js +75 -0
  356. package/dist/collection/shared/utils/breakpoint-observer.js +139 -0
  357. package/dist/collection/shared/utils/clamp.js +21 -0
  358. package/dist/collection/shared/utils/css-variables.js +12 -0
  359. package/dist/collection/shared/utils/cssVariables.js +37 -0
  360. package/dist/collection/shared/utils/date.js +405 -0
  361. package/dist/collection/shared/utils/debounce.js +39 -0
  362. package/dist/collection/shared/utils/event.js +55 -0
  363. package/dist/collection/shared/utils/floating-surface-dismiss.js +59 -0
  364. package/dist/collection/shared/utils/floating-ui.js +131 -0
  365. package/dist/collection/shared/utils/focus.js +24 -0
  366. package/dist/collection/shared/utils/form.js +82 -0
  367. package/dist/collection/shared/utils/format-bytes.js +20 -0
  368. package/dist/collection/shared/utils/getNextElement.js +30 -0
  369. package/dist/collection/shared/utils/getRandom.js +27 -0
  370. package/dist/collection/shared/utils/helpers.js +31 -0
  371. package/dist/collection/shared/utils/id.js +16 -0
  372. package/dist/collection/shared/utils/index.js +60 -0
  373. package/dist/collection/shared/utils/interfaces.js +1 -0
  374. package/dist/collection/shared/utils/isClient.js +14 -0
  375. package/dist/collection/shared/utils/isDefined.js +19 -0
  376. package/dist/collection/shared/utils/isEmpty.js +30 -0
  377. package/dist/collection/shared/utils/isHTMLElement.js +16 -0
  378. package/dist/collection/shared/utils/isNil.js +15 -0
  379. package/dist/collection/shared/utils/isString.js +20 -0
  380. package/dist/collection/shared/utils/native-dialog.js +44 -0
  381. package/dist/collection/shared/utils/navigation.js +21 -0
  382. package/dist/collection/shared/utils/parts.js +15 -0
  383. package/dist/collection/shared/utils/prop-warning.js +7 -0
  384. package/dist/collection/shared/utils/props.js +37 -0
  385. package/dist/collection/shared/utils/raf-batcher.js +51 -0
  386. package/dist/collection/shared/utils/scrollLock.js +141 -0
  387. package/dist/collection/shared/utils/setRafTimeout.js +38 -0
  388. package/dist/collection/shared/utils/slot.js +113 -0
  389. package/dist/collection/shared/utils/ssr-date.js +33 -0
  390. package/dist/collection/shared/utils/stringToArray.js +29 -0
  391. package/dist/collection/shared/utils/swipe.js +342 -0
  392. package/dist/collection/shared/utils/transition.js +127 -0
  393. package/dist/collection/shared/utils/types.js +1 -0
  394. package/dist/collection/shared/utils/validator.js +51 -0
  395. package/dist/collection/value-accessors/angular-value-accessor-config.js +41 -0
  396. package/dist/collection/value-accessors/index.js +6 -0
  397. package/dist/collection/value-accessors/vue-model-config.js +43 -0
  398. package/dist/components/br-avatar.d.ts +11 -0
  399. package/dist/components/br-avatar.js +5 -0
  400. package/dist/components/br-breadcrumb-item.d.ts +11 -0
  401. package/dist/components/br-breadcrumb-item.js +5 -0
  402. package/dist/components/br-breadcrumb.d.ts +11 -0
  403. package/dist/components/br-breadcrumb.js +5 -0
  404. package/dist/components/br-button.d.ts +11 -0
  405. package/dist/components/br-button.js +5 -0
  406. package/dist/components/br-card.d.ts +11 -0
  407. package/dist/components/br-card.js +5 -0
  408. package/dist/components/br-carousel-page.d.ts +11 -0
  409. package/dist/components/br-carousel-page.js +5 -0
  410. package/dist/components/br-carousel.d.ts +11 -0
  411. package/dist/components/br-carousel.js +5 -0
  412. package/dist/components/br-checkbox-group.d.ts +11 -0
  413. package/dist/components/br-checkbox-group.js +5 -0
  414. package/dist/components/br-checkbox.d.ts +11 -0
  415. package/dist/components/br-checkbox.js +5 -0
  416. package/dist/components/br-checkgroup.d.ts +11 -0
  417. package/dist/components/br-checkgroup.js +5 -0
  418. package/dist/components/br-collapse.d.ts +11 -0
  419. package/dist/components/br-collapse.js +5 -0
  420. package/dist/components/br-cookiebar-cookie.d.ts +11 -0
  421. package/dist/components/br-cookiebar-cookie.js +5 -0
  422. package/dist/components/br-cookiebar-group.d.ts +11 -0
  423. package/dist/components/br-cookiebar-group.js +5 -0
  424. package/dist/components/br-cookiebar-header.d.ts +11 -0
  425. package/dist/components/br-cookiebar-header.js +5 -0
  426. package/dist/components/br-cookiebar-link.d.ts +11 -0
  427. package/dist/components/br-cookiebar-link.js +5 -0
  428. package/dist/components/br-cookiebar-note-group.d.ts +11 -0
  429. package/dist/components/br-cookiebar-note-group.js +5 -0
  430. package/dist/components/br-cookiebar-note.d.ts +11 -0
  431. package/dist/components/br-cookiebar-note.js +5 -0
  432. package/dist/components/br-cookiebar.d.ts +11 -0
  433. package/dist/components/br-cookiebar.js +5 -0
  434. package/dist/components/br-crumb.d.ts +11 -0
  435. package/dist/components/br-crumb.js +5 -0
  436. package/dist/components/br-date-picker.d.ts +11 -0
  437. package/dist/components/br-date-picker.js +5 -0
  438. package/dist/components/br-datetime-input.d.ts +11 -0
  439. package/dist/components/br-datetime-input.js +5 -0
  440. package/dist/components/br-datetime-picker.d.ts +11 -0
  441. package/dist/components/br-datetime-picker.js +5 -0
  442. package/dist/components/br-divider.d.ts +11 -0
  443. package/dist/components/br-divider.js +5 -0
  444. package/dist/components/br-dropdown.d.ts +11 -0
  445. package/dist/components/br-dropdown.js +5 -0
  446. package/dist/components/br-footer-category.d.ts +11 -0
  447. package/dist/components/br-footer-category.js +5 -0
  448. package/dist/components/br-footer-item.d.ts +11 -0
  449. package/dist/components/br-footer-item.js +5 -0
  450. package/dist/components/br-footer-legal.d.ts +11 -0
  451. package/dist/components/br-footer-legal.js +5 -0
  452. package/dist/components/br-footer-logo.d.ts +11 -0
  453. package/dist/components/br-footer-logo.js +5 -0
  454. package/dist/components/br-footer-social.d.ts +11 -0
  455. package/dist/components/br-footer-social.js +5 -0
  456. package/dist/components/br-footer.d.ts +11 -0
  457. package/dist/components/br-footer.js +5 -0
  458. package/dist/components/br-header-function.d.ts +11 -0
  459. package/dist/components/br-header-function.js +5 -0
  460. package/dist/components/br-header-link.d.ts +11 -0
  461. package/dist/components/br-header-link.js +5 -0
  462. package/dist/components/br-header-list.d.ts +11 -0
  463. package/dist/components/br-header-list.js +5 -0
  464. package/dist/components/br-header-logo.d.ts +11 -0
  465. package/dist/components/br-header-logo.js +5 -0
  466. package/dist/components/br-header.d.ts +11 -0
  467. package/dist/components/br-header.js +5 -0
  468. package/dist/components/br-icon.d.ts +11 -0
  469. package/dist/components/br-icon.js +5 -0
  470. package/dist/components/br-input.d.ts +11 -0
  471. package/dist/components/br-input.js +5 -0
  472. package/dist/components/br-item.d.ts +11 -0
  473. package/dist/components/br-item.js +5 -0
  474. package/dist/components/br-link.d.ts +11 -0
  475. package/dist/components/br-link.js +5 -0
  476. package/dist/components/br-list.d.ts +11 -0
  477. package/dist/components/br-list.js +5 -0
  478. package/dist/components/br-loading.d.ts +11 -0
  479. package/dist/components/br-loading.js +5 -0
  480. package/dist/components/br-magic-button.d.ts +11 -0
  481. package/dist/components/br-magic-button.js +5 -0
  482. package/dist/components/br-menu-group.d.ts +11 -0
  483. package/dist/components/br-menu-group.js +5 -0
  484. package/dist/components/br-menu-header.d.ts +11 -0
  485. package/dist/components/br-menu-header.js +5 -0
  486. package/dist/components/br-menu-info.d.ts +11 -0
  487. package/dist/components/br-menu-info.js +5 -0
  488. package/dist/components/br-menu-item.d.ts +11 -0
  489. package/dist/components/br-menu-item.js +5 -0
  490. package/dist/components/br-menu-link.d.ts +11 -0
  491. package/dist/components/br-menu-link.js +5 -0
  492. package/dist/components/br-menu-list.d.ts +11 -0
  493. package/dist/components/br-menu-list.js +5 -0
  494. package/dist/components/br-menu-logo.d.ts +11 -0
  495. package/dist/components/br-menu-logo.js +5 -0
  496. package/dist/components/br-menu-social.d.ts +11 -0
  497. package/dist/components/br-menu-social.js +5 -0
  498. package/dist/components/br-menu.d.ts +11 -0
  499. package/dist/components/br-menu.js +5 -0
  500. package/dist/components/br-message.d.ts +11 -0
  501. package/dist/components/br-message.js +5 -0
  502. package/dist/components/br-modal.d.ts +11 -0
  503. package/dist/components/br-modal.js +5 -0
  504. package/dist/components/br-notification-body.d.ts +11 -0
  505. package/dist/components/br-notification-body.js +5 -0
  506. package/dist/components/br-notification-header.d.ts +11 -0
  507. package/dist/components/br-notification-header.js +5 -0
  508. package/dist/components/br-notification-item.d.ts +11 -0
  509. package/dist/components/br-notification-item.js +5 -0
  510. package/dist/components/br-notification.d.ts +11 -0
  511. package/dist/components/br-notification.js +5 -0
  512. package/dist/components/br-pagination.d.ts +11 -0
  513. package/dist/components/br-pagination.js +5 -0
  514. package/dist/components/br-radio-group.d.ts +11 -0
  515. package/dist/components/br-radio-group.js +5 -0
  516. package/dist/components/br-radio.d.ts +11 -0
  517. package/dist/components/br-radio.js +5 -0
  518. package/dist/components/br-scrim.d.ts +11 -0
  519. package/dist/components/br-scrim.js +5 -0
  520. package/dist/components/br-select-input.d.ts +11 -0
  521. package/dist/components/br-select-input.js +5 -0
  522. package/dist/components/br-select-list.d.ts +11 -0
  523. package/dist/components/br-select-list.js +5 -0
  524. package/dist/components/br-select-option.d.ts +11 -0
  525. package/dist/components/br-select-option.js +5 -0
  526. package/dist/components/br-select.d.ts +11 -0
  527. package/dist/components/br-select.js +5 -0
  528. package/dist/components/br-sign-in.d.ts +11 -0
  529. package/dist/components/br-sign-in.js +5 -0
  530. package/dist/components/br-skip-link-item.d.ts +11 -0
  531. package/dist/components/br-skip-link-item.js +5 -0
  532. package/dist/components/br-skip-link.d.ts +11 -0
  533. package/dist/components/br-skip-link.js +5 -0
  534. package/dist/components/br-skiplink-item.d.ts +11 -0
  535. package/dist/components/br-skiplink-item.js +5 -0
  536. package/dist/components/br-slider.d.ts +11 -0
  537. package/dist/components/br-slider.js +5 -0
  538. package/dist/components/br-step-item.d.ts +11 -0
  539. package/dist/components/br-step-item.js +5 -0
  540. package/dist/components/br-step.d.ts +11 -0
  541. package/dist/components/br-step.js +5 -0
  542. package/dist/components/br-switch.d.ts +11 -0
  543. package/dist/components/br-switch.js +5 -0
  544. package/dist/components/br-tab-item.d.ts +11 -0
  545. package/dist/components/br-tab-item.js +5 -0
  546. package/dist/components/br-tab.d.ts +11 -0
  547. package/dist/components/br-tab.js +5 -0
  548. package/dist/components/br-table-body.d.ts +11 -0
  549. package/dist/components/br-table-body.js +5 -0
  550. package/dist/components/br-table-cell.d.ts +11 -0
  551. package/dist/components/br-table-cell.js +5 -0
  552. package/dist/components/br-table-header-cell.d.ts +11 -0
  553. package/dist/components/br-table-header-cell.js +5 -0
  554. package/dist/components/br-table-header.d.ts +11 -0
  555. package/dist/components/br-table-header.js +5 -0
  556. package/dist/components/br-table-row.d.ts +11 -0
  557. package/dist/components/br-table-row.js +5 -0
  558. package/dist/components/br-table.d.ts +11 -0
  559. package/dist/components/br-table.js +5 -0
  560. package/dist/components/br-tag.d.ts +11 -0
  561. package/dist/components/br-tag.js +5 -0
  562. package/dist/components/br-textarea.d.ts +11 -0
  563. package/dist/components/br-textarea.js +5 -0
  564. package/dist/components/br-time-picker.d.ts +11 -0
  565. package/dist/components/br-time-picker.js +5 -0
  566. package/dist/components/br-tooltip.d.ts +11 -0
  567. package/dist/components/br-tooltip.js +5 -0
  568. package/dist/components/br-upload.d.ts +11 -0
  569. package/dist/components/br-upload.js +5 -0
  570. package/dist/components/br-wizard-panel.d.ts +11 -0
  571. package/dist/components/br-wizard-panel.js +5 -0
  572. package/dist/components/br-wizard.d.ts +11 -0
  573. package/dist/components/br-wizard.js +5 -0
  574. package/dist/components/index.d.ts +213 -0
  575. package/dist/components/index.js +5 -0
  576. package/dist/components/p-0IYmyaTi.js +5 -0
  577. package/dist/components/p-41XwlWiS.js +5 -0
  578. package/dist/components/p-5z6jgH1D.js +5 -0
  579. package/dist/components/p-6OdfnwnK.js +5 -0
  580. package/dist/components/p-9S9bgUT0.js +5 -0
  581. package/dist/components/p-B-qLmYZC.js +5 -0
  582. package/dist/components/p-B-sbd1_h.js +5 -0
  583. package/dist/components/p-B55qsau4.js +5 -0
  584. package/dist/components/p-BC7f6MK8.js +5 -0
  585. package/dist/components/p-BPJpHGOW.js +5 -0
  586. package/dist/components/p-BW0_ORNA.js +5 -0
  587. package/dist/components/p-BWXfdbQH.js +5 -0
  588. package/dist/components/p-Bb-nLtTG.js +5 -0
  589. package/dist/components/p-BkS6ujyf.js +5 -0
  590. package/dist/components/p-Bm0ECvfB.js +5 -0
  591. package/dist/components/p-C1yRmdso.js +5 -0
  592. package/dist/components/p-C3LQSQpc.js +5 -0
  593. package/dist/components/p-C98-mHmV.js +5 -0
  594. package/dist/components/p-CDZFuUlU.js +5 -0
  595. package/dist/components/p-CRfi23Rd.js +5 -0
  596. package/dist/components/p-CUI5zWGf.js +5 -0
  597. package/dist/components/p-CXMwM9m4.js +5 -0
  598. package/dist/components/p-CdDwqbBv.js +5 -0
  599. package/dist/components/p-CxviDiCr.js +5 -0
  600. package/dist/components/p-D3usVJE2.js +16 -0
  601. package/dist/components/p-D6zroLx5.js +5 -0
  602. package/dist/components/p-D9SpD3Ay.js +5 -0
  603. package/dist/components/p-DA5GS53D.js +5 -0
  604. package/dist/components/p-DBP6K_aq.js +5 -0
  605. package/dist/components/p-DBmwzG9E.js +5 -0
  606. package/dist/components/p-DCrVo-8T.js +5 -0
  607. package/dist/components/p-DIK54tTj.js +5 -0
  608. package/dist/components/p-DQRSHR-D.js +5 -0
  609. package/dist/components/p-DRVMm1Py.js +5 -0
  610. package/dist/components/p-DWPmUV72.js +5 -0
  611. package/dist/components/p-DYA74R1r.js +5 -0
  612. package/dist/components/p-DYnkGWii.js +5 -0
  613. package/dist/components/p-D_CSvOY9.js +5 -0
  614. package/dist/components/p-DaeGwqw0.js +5 -0
  615. package/dist/components/p-Dkg2scYZ.js +5 -0
  616. package/dist/components/p-Dmfk7eEe.js +5 -0
  617. package/dist/components/p-DoXNfcTT.js +5 -0
  618. package/dist/components/p-DvrdmqoQ.js +5 -0
  619. package/dist/components/p-DxZJrIyL.js +5 -0
  620. package/dist/components/p-LmeJrLxH.js +5 -0
  621. package/dist/components/p-TFWd_UBV.js +5 -0
  622. package/dist/components/p-aF8bGN3t.js +5 -0
  623. package/dist/components/p-bhULC15U.js +5 -0
  624. package/dist/components/p-cF3ia5e9.js +5 -0
  625. package/dist/components/p-cfPt-vKA.js +5 -0
  626. package/dist/components/p-gvnfuTjd.js +5 -0
  627. package/dist/components/p-nJOJGpyl.js +5 -0
  628. package/dist/components/p-ttI0nvv_.js +5 -0
  629. package/dist/esm/app-globals-DVjNHTTs.js +7 -0
  630. package/dist/esm/br-avatar.entry.js +246 -0
  631. package/dist/esm/br-breadcrumb-item.entry.js +43 -0
  632. package/dist/esm/br-breadcrumb.entry.js +441 -0
  633. package/dist/esm/br-button_2.entry.js +277 -0
  634. package/dist/esm/br-card.entry.js +109 -0
  635. package/dist/esm/br-carousel-page.entry.js +78 -0
  636. package/dist/esm/br-carousel.entry.js +563 -0
  637. package/dist/esm/br-checkbox-group.entry.js +116 -0
  638. package/dist/esm/br-checkbox.entry.js +286 -0
  639. package/dist/esm/br-checkgroup.entry.js +18 -0
  640. package/dist/esm/br-collapse_2.entry.js +680 -0
  641. package/dist/esm/br-cookiebar-cookie.entry.js +81 -0
  642. package/dist/esm/br-cookiebar-group.entry.js +307 -0
  643. package/dist/esm/br-cookiebar-header.entry.js +37 -0
  644. package/dist/esm/br-cookiebar-link.entry.js +52 -0
  645. package/dist/esm/br-cookiebar-note-group.entry.js +68 -0
  646. package/dist/esm/br-cookiebar-note.entry.js +23 -0
  647. package/dist/esm/br-cookiebar.entry.js +756 -0
  648. package/dist/esm/br-crumb.entry.js +49 -0
  649. package/dist/esm/br-date-picker_3.entry.js +2442 -0
  650. package/dist/esm/br-datetime-picker.entry.js +1885 -0
  651. package/dist/esm/br-divider.entry.js +223 -0
  652. package/dist/esm/br-dropdown_2.entry.js +1853 -0
  653. package/dist/esm/br-footer-category.entry.js +100 -0
  654. package/dist/esm/br-footer-item.entry.js +50 -0
  655. package/dist/esm/br-footer-legal.entry.js +39 -0
  656. package/dist/esm/br-footer-logo.entry.js +102 -0
  657. package/dist/esm/br-footer-social.entry.js +69 -0
  658. package/dist/esm/br-footer.entry.js +90 -0
  659. package/dist/esm/br-header-function.entry.js +140 -0
  660. package/dist/esm/br-header-link.entry.js +58 -0
  661. package/dist/esm/br-header-list.entry.js +277 -0
  662. package/dist/esm/br-header-logo.entry.js +175 -0
  663. package/dist/esm/br-header.entry.js +640 -0
  664. package/dist/esm/br-icon.entry.js +483 -0
  665. package/dist/esm/br-input.entry.js +597 -0
  666. package/dist/esm/br-item.entry.js +354 -0
  667. package/dist/esm/br-link.entry.js +130 -0
  668. package/dist/esm/br-loading.entry.js +503 -0
  669. package/dist/esm/br-magic-button.entry.js +90 -0
  670. package/dist/esm/br-menu-group.entry.js +21 -0
  671. package/dist/esm/br-menu-header.entry.js +45 -0
  672. package/dist/esm/br-menu-info.entry.js +36 -0
  673. package/dist/esm/br-menu-item.entry.js +77 -0
  674. package/dist/esm/br-menu-link.entry.js +53 -0
  675. package/dist/esm/br-menu-list.entry.js +147 -0
  676. package/dist/esm/br-menu-logo.entry.js +73 -0
  677. package/dist/esm/br-menu-social.entry.js +63 -0
  678. package/dist/esm/br-menu.entry.js +991 -0
  679. package/dist/esm/br-modal.entry.js +494 -0
  680. package/dist/esm/br-notification-body.entry.js +69 -0
  681. package/dist/esm/br-notification-header.entry.js +46 -0
  682. package/dist/esm/br-notification-item.entry.js +108 -0
  683. package/dist/esm/br-notification.entry.js +332 -0
  684. package/dist/esm/br-pagination.entry.js +882 -0
  685. package/dist/esm/br-radio-group.entry.js +426 -0
  686. package/dist/esm/br-radio.entry.js +355 -0
  687. package/dist/esm/br-scrim.entry.js +1334 -0
  688. package/dist/esm/br-select-input_3.entry.js +950 -0
  689. package/dist/esm/br-sign-in.entry.js +123 -0
  690. package/dist/esm/br-skip-link-item.entry.js +18 -0
  691. package/dist/esm/br-skip-link.entry.js +360 -0
  692. package/dist/esm/br-skiplink-item.entry.js +190 -0
  693. package/dist/esm/br-slider.entry.js +686 -0
  694. package/dist/esm/br-step_2.entry.js +625 -0
  695. package/dist/esm/br-switch.entry.js +243 -0
  696. package/dist/esm/br-tab-item.entry.js +183 -0
  697. package/dist/esm/br-tab.entry.js +395 -0
  698. package/dist/esm/br-table-body.entry.js +35 -0
  699. package/dist/esm/br-table-cell.entry.js +182 -0
  700. package/dist/esm/br-table-header-cell.entry.js +171 -0
  701. package/dist/esm/br-table-header.entry.js +35 -0
  702. package/dist/esm/br-table-row.entry.js +79 -0
  703. package/dist/esm/br-table.entry.js +678 -0
  704. package/dist/esm/br-tag.entry.js +492 -0
  705. package/dist/esm/br-textarea.entry.js +304 -0
  706. package/dist/esm/br-tooltip.entry.js +625 -0
  707. package/dist/esm/br-upload.entry.js +580 -0
  708. package/dist/esm/br-wizard-panel.entry.js +52 -0
  709. package/dist/esm/br-wizard.entry.js +706 -0
  710. package/dist/esm/breakpoint-observer-DBmwzG9E.js +141 -0
  711. package/dist/esm/clamp-gvnfuTjd.js +23 -0
  712. package/dist/esm/cookiebar.utils-DYA74R1r.js +16 -0
  713. package/dist/esm/datetime-picker-constants-Bfm58jO6.js +3798 -0
  714. package/dist/esm/event-DFN_so7I.js +48 -0
  715. package/dist/esm/floating-surface-dismiss-BWXfdbQH.js +61 -0
  716. package/dist/esm/floating-ui-BavFwMnx.js +134 -0
  717. package/dist/esm/floating-ui.dom-DIK54tTj.js +1707 -0
  718. package/dist/esm/focus-DxZJrIyL.js +26 -0
  719. package/dist/esm/getNextElement-9S9bgUT0.js +28 -0
  720. package/dist/esm/iconify-icon-D3usVJE2.js +2303 -0
  721. package/dist/esm/id-BkS6ujyf.js +18 -0
  722. package/dist/esm/index-Bo-2igoO.js +671 -0
  723. package/dist/esm/index-C2RBydfd.js +3258 -0
  724. package/dist/esm/index.js +6 -0
  725. package/dist/esm/isNil-B-qLmYZC.js +17 -0
  726. package/dist/esm/isValid-DIUZX1qS.js +3684 -0
  727. package/dist/esm/loader.js +15 -0
  728. package/dist/esm/native-dialog-B55qsau4.js +46 -0
  729. package/dist/esm/navigation-bhULC15U.js +23 -0
  730. package/dist/esm/parts-Bb5vVlCC.js +17 -0
  731. package/dist/esm/props-DRVMm1Py.js +22 -0
  732. package/dist/esm/raf-batcher-cF3ia5e9.js +53 -0
  733. package/dist/esm/slot-BIG-yees.js +44 -0
  734. package/dist/esm/swipe-Dmfk7eEe.js +343 -0
  735. package/dist/esm/table-constants-CXMwM9m4.js +170 -0
  736. package/dist/esm/validator-D3tVP32U.js +113 -0
  737. package/dist/esm/webcomponents.js +46 -0
  738. package/dist/hydrate/index.d.ts +287 -0
  739. package/dist/hydrate/index.js +67323 -0
  740. package/dist/hydrate/index.mjs +67313 -0
  741. package/dist/hydrate/package.json +12 -0
  742. package/dist/index.cjs.js +1 -0
  743. package/dist/index.js +1 -0
  744. package/dist/loader/cdn.js +5 -0
  745. package/dist/loader/index.cjs.js +5 -0
  746. package/dist/loader/index.d.ts +24 -0
  747. package/dist/loader/index.es2017.js +5 -0
  748. package/dist/loader/index.js +6 -0
  749. package/dist/webcomponents/index.esm.js +5 -0
  750. package/dist/webcomponents/p-0196804a.entry.js +5 -0
  751. package/dist/webcomponents/p-0410186a.entry.js +5 -0
  752. package/dist/webcomponents/p-0415ef22.entry.js +5 -0
  753. package/dist/webcomponents/p-059c3d6c.entry.js +5 -0
  754. package/dist/webcomponents/p-0b8f39bc.entry.js +5 -0
  755. package/dist/webcomponents/p-0caa4d12.entry.js +5 -0
  756. package/dist/webcomponents/p-0d4f718d.entry.js +5 -0
  757. package/dist/webcomponents/p-0e84c9e8.entry.js +5 -0
  758. package/dist/webcomponents/p-12286e73.entry.js +5 -0
  759. package/dist/webcomponents/p-147ac8d3.entry.js +5 -0
  760. package/dist/webcomponents/p-1580beee.entry.js +5 -0
  761. package/dist/webcomponents/p-1b138f1c.entry.js +5 -0
  762. package/dist/webcomponents/p-1bca4499.entry.js +5 -0
  763. package/dist/webcomponents/p-1d6b0b6f.entry.js +5 -0
  764. package/dist/webcomponents/p-1d8cb8fd.entry.js +5 -0
  765. package/dist/webcomponents/p-22443c08.entry.js +5 -0
  766. package/dist/webcomponents/p-224daaac.entry.js +5 -0
  767. package/dist/webcomponents/p-28426d2a.entry.js +5 -0
  768. package/dist/webcomponents/p-2abd2da0.entry.js +5 -0
  769. package/dist/webcomponents/p-2fdc51ae.entry.js +5 -0
  770. package/dist/webcomponents/p-30c428b6.entry.js +5 -0
  771. package/dist/webcomponents/p-36bbea4e.entry.js +5 -0
  772. package/dist/webcomponents/p-3907ebfa.entry.js +5 -0
  773. package/dist/webcomponents/p-39a16f9d.entry.js +5 -0
  774. package/dist/webcomponents/p-3ebbd2f5.entry.js +5 -0
  775. package/dist/webcomponents/p-3ef7eac8.entry.js +5 -0
  776. package/dist/webcomponents/p-45356e9a.entry.js +5 -0
  777. package/dist/webcomponents/p-46513db4.entry.js +5 -0
  778. package/dist/webcomponents/p-4fe12a72.entry.js +5 -0
  779. package/dist/webcomponents/p-52df61cb.entry.js +5 -0
  780. package/dist/webcomponents/p-569134cf.entry.js +5 -0
  781. package/dist/webcomponents/p-5b257a4b.entry.js +5 -0
  782. package/dist/webcomponents/p-5ce7db4a.entry.js +5 -0
  783. package/dist/webcomponents/p-5f373708.entry.js +5 -0
  784. package/dist/webcomponents/p-5f6afb79.entry.js +5 -0
  785. package/dist/webcomponents/p-5fc7ba4c.entry.js +5 -0
  786. package/dist/webcomponents/p-60cc820c.entry.js +5 -0
  787. package/dist/webcomponents/p-66006312.entry.js +5 -0
  788. package/dist/webcomponents/p-66b13fd9.entry.js +5 -0
  789. package/dist/webcomponents/p-6OdfnwnK.js +5 -0
  790. package/dist/webcomponents/p-6c5f6cb6.entry.js +5 -0
  791. package/dist/webcomponents/p-6f1c4425.entry.js +5 -0
  792. package/dist/webcomponents/p-750799b7.entry.js +5 -0
  793. package/dist/webcomponents/p-756ff2ad.entry.js +5 -0
  794. package/dist/webcomponents/p-765bfe27.entry.js +5 -0
  795. package/dist/webcomponents/p-7ab96c11.entry.js +5 -0
  796. package/dist/webcomponents/p-7c2ff8b4.entry.js +5 -0
  797. package/dist/webcomponents/p-7cf9f4e5.entry.js +5 -0
  798. package/dist/webcomponents/p-7e1856e4.entry.js +5 -0
  799. package/dist/webcomponents/p-7f7506f0.entry.js +5 -0
  800. package/dist/webcomponents/p-7fb03a49.entry.js +5 -0
  801. package/dist/webcomponents/p-82200563.entry.js +5 -0
  802. package/dist/webcomponents/p-85f8063b.entry.js +5 -0
  803. package/dist/webcomponents/p-8b558233.entry.js +5 -0
  804. package/dist/webcomponents/p-8e6c2767.entry.js +5 -0
  805. package/dist/webcomponents/p-966ad32f.entry.js +5 -0
  806. package/dist/webcomponents/p-9679d230.entry.js +5 -0
  807. package/dist/webcomponents/p-96dd663b.entry.js +5 -0
  808. package/dist/webcomponents/p-98843fa3.entry.js +5 -0
  809. package/dist/webcomponents/p-9S9bgUT0.js +5 -0
  810. package/dist/webcomponents/p-9a375eff.entry.js +5 -0
  811. package/dist/webcomponents/p-9b358cff.entry.js +5 -0
  812. package/dist/webcomponents/p-9f7558c7.entry.js +5 -0
  813. package/dist/webcomponents/p-B-qLmYZC.js +5 -0
  814. package/dist/webcomponents/p-B55qsau4.js +5 -0
  815. package/dist/webcomponents/p-BIG-yees.js +5 -0
  816. package/dist/webcomponents/p-BWXfdbQH.js +5 -0
  817. package/dist/webcomponents/p-Bb5vVlCC.js +5 -0
  818. package/dist/webcomponents/p-Bfm58jO6.js +5 -0
  819. package/dist/webcomponents/p-BhMVJQ4-.js +5 -0
  820. package/dist/webcomponents/p-BkS6ujyf.js +5 -0
  821. package/dist/webcomponents/p-C2RBydfd.js +6 -0
  822. package/dist/webcomponents/p-CO5cOQQU.js +5 -0
  823. package/dist/webcomponents/p-CXMwM9m4.js +5 -0
  824. package/dist/webcomponents/p-D3tVP32U.js +5 -0
  825. package/dist/webcomponents/p-D3usVJE2.js +16 -0
  826. package/dist/webcomponents/p-DBmwzG9E.js +5 -0
  827. package/dist/webcomponents/p-DFN_so7I.js +5 -0
  828. package/dist/webcomponents/p-DIK54tTj.js +5 -0
  829. package/dist/webcomponents/p-DRVMm1Py.js +5 -0
  830. package/dist/webcomponents/p-DVjNHTTs.js +5 -0
  831. package/dist/webcomponents/p-DYA74R1r.js +5 -0
  832. package/dist/webcomponents/p-Dmfk7eEe.js +5 -0
  833. package/dist/webcomponents/p-DxZJrIyL.js +5 -0
  834. package/dist/webcomponents/p-a382e115.entry.js +5 -0
  835. package/dist/webcomponents/p-a9ff7c25.entry.js +5 -0
  836. package/dist/webcomponents/p-bba9fc09.entry.js +5 -0
  837. package/dist/webcomponents/p-bhULC15U.js +5 -0
  838. package/dist/webcomponents/p-c0b0f531.entry.js +5 -0
  839. package/dist/webcomponents/p-c211af17.entry.js +5 -0
  840. package/dist/webcomponents/p-c492d926.entry.js +5 -0
  841. package/dist/webcomponents/p-c4cfe599.entry.js +5 -0
  842. package/dist/webcomponents/p-c846e784.entry.js +5 -0
  843. package/dist/webcomponents/p-cF3ia5e9.js +5 -0
  844. package/dist/webcomponents/p-cedb8eea.entry.js +5 -0
  845. package/dist/webcomponents/p-d1e899cd.entry.js +5 -0
  846. package/dist/webcomponents/p-d38d82cc.entry.js +5 -0
  847. package/dist/webcomponents/p-dba376cb.entry.js +5 -0
  848. package/dist/webcomponents/p-e0ce536a.entry.js +5 -0
  849. package/dist/webcomponents/p-e1331288.entry.js +5 -0
  850. package/dist/webcomponents/p-e360a463.entry.js +5 -0
  851. package/dist/webcomponents/p-e80a1eb0.entry.js +5 -0
  852. package/dist/webcomponents/p-f078f972.entry.js +5 -0
  853. package/dist/webcomponents/p-f6318e94.entry.js +5 -0
  854. package/dist/webcomponents/p-fcd4ae48.entry.js +5 -0
  855. package/dist/webcomponents/p-gvnfuTjd.js +5 -0
  856. package/dist/webcomponents/webcomponents.esm.js +5 -0
  857. package/package.json +1 -1
  858. package/cem/.gitkeep +0 -0
@@ -0,0 +1,625 @@
1
+ /*!
2
+ * Construído por SERPRO
3
+ * © https://serpro.gov.br/ - MIT License.
4
+ */
5
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-C2RBydfd.js';
6
+
7
+ const stepCss = () => `*,*::before,*::after{box-sizing:border-box}:host{line-height:var(--font-line-height-medium);-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%}main{display:block}hr{box-sizing:content-box;height:0;overflow:visible}a{background-color:rgba(0,0,0,0)}b,strong{font-weight:bolder}code{font-family:monospace;font-size:1em}small{font-size:80%}img{border-style:none}button,input,select,textarea{font-family:inherit;font-size:100%;line-height:var(--font-line-height-medium);margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{appearance:none}::-webkit-file-upload-button{appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}.d-none{display:none !important}@media (min-width: 576px){.d-sm-block{display:block !important}.d-sm-flex{display:flex !important}}[data-toggle=dropdown]+*{position:absolute}.dropdown{position:relative}.dropdown [data-toggle=dropdown]+*{box-shadow:var(--surface-shadow-sm);left:0;position:absolute;top:100%}.dropdown>.br-notification{left:auto;right:0}.dropdown .br-item{--color:var(--color-light);--color-rgb:var(--color-light-rgb);--text-color:var(--color-light);--interactive:var(--interactive-light);--interactive-rgb:var(--color-rgb);--visited:var(--visited-light);--hover:var(--hover-light);--pressed:var(--pressed-light);--focus-color:var(--focus-color-light);--focus:var(--focus-color-light);--item-padding-y:var(--spacing-scale-2x);background-color:var(--background-light);color:var(--color)}.dropdown .br-item:not(:last-child){border-bottom:1px solid var(--border-color)}.dropdown .br-item.selected{--color:var(--color-dark);--color-rgb:var(--color-dark-rgb);--text-color:var(--color-dark);--interactive:var(--interactive-dark);--interactive-rgb:var(--interactive-dark-rgb);--visited:var(--visited-dark);--hover:var(--hover-dark);--pressed:var(--pressed-dark);--focus-color:var(--focus-color-dark);--focus:var(--focus-color-dark)}.justify-content-start{justify-content:flex-start !important}.justify-content-end{justify-content:flex-end !important}.justify-content-center{justify-content:center !important}.align-items-center{align-items:center !important}.col,[class*=col-]{padding-left:calc(var(--grid-gutter)*.5);padding-right:calc(var(--grid-gutter)*.5);width:100%}.col{flex:1 0 0%;min-width:8.3333333333%}.col-auto{flex:0 0 auto;width:auto}.col-2{flex-basis:16.6666666667%;max-width:16.6666666667%}.container,.container-fluid,.container-lg{--grid-margin:var(--grid-portrait-margin);--grid-maxwidth:var(--grid-portrait-maxwidth);margin-left:auto;margin-right:auto;max-width:var(--grid-maxwidth);padding-left:var(--grid-margin);padding-right:var(--grid-margin);width:100%}.row{--grid-gutter:var(--grid-portrait-gutter);display:flex;flex-wrap:wrap;margin-left:calc(var(--grid-gutter)*-0.5);margin-right:calc(var(--grid-gutter)*-0.5)}@media (min-width: 576px){.container,.container-lg,.container-fluid{--grid-margin:var(--grid-tablet-margin)}.row{--grid-gutter:var(--grid-tablet-gutter)}.container{--grid-maxwidth:calc(var(--grid-breakpoint-sm) - var(--grid-tablet-margin))}}@media (min-width: 992px){.container,.container-lg,.container-fluid{--grid-margin:var(--grid-tablet-margin)}.row{--grid-gutter:var(--grid-tablet-gutter)}.container{--grid-maxwidth:calc(var(--grid-breakpoint-md) - var(--grid-tablet-margin))}}@media (min-width: 1280px){.container,.container-lg,.container-fluid{--grid-margin:var(--grid-desktop-margin)}.row{--grid-gutter:var(--grid-desktop-gutter)}.container,.container-lg{--grid-maxwidth:calc(var(--grid-breakpoint-lg) - var(--grid-desktop-margin))}}@media (min-width: 1600px){.container,.container-lg,.container-fluid{--grid-margin:var(--grid-tv-margin)}.row{--grid-gutter:var(--grid-tv-gutter)}.container,.container-lg{--grid-maxwidth:calc(var(--grid-breakpoint-xl) - var(--grid-tv-margin))}}.ease{animation-timing-function:cubic-bezier(0.25, 0.1, 0.25, 1)}.ease-in-out{animation-timing-function:cubic-bezier(0.42, 0, 0.58, 1)}.mt-1{margin-top:var(--spacing-scale-half) !important}.mr-1{margin-right:var(--spacing-scale-half) !important}.mb-1{margin-bottom:var(--spacing-scale-half) !important}.ml-1{margin-left:var(--spacing-scale-half) !important}.mx-3{margin-left:var(--spacing-scale-2x) !important;margin-right:var(--spacing-scale-2x) !important}.mb-4{margin-bottom:var(--spacing-scale-3x) !important}.ml-auto{margin-left:auto !important}.pt-half{padding-top:var(--spacing-scale-half) !important}@media (min-width: 576px){.ml-sm-0{margin-left:var(--spacing-scale-default) !important}}.highlight{background:var(--status-highlight-background) linear-gradient(var(--status-highlight-overlay), var(--status-highlight-overlay));color:var(--status-highlight-text);padding:0 var(--spacing-scale-half)}[disabled],.disabled{cursor:not-allowed;opacity:var(--disabled)}[disabled] *,.disabled *{pointer-events:none}.text-center{text-align:center !important}.text-right{text-align:right !important}.text-nowrap{white-space:nowrap !important}.text-uppercase{text-transform:uppercase !important}.text-bold{font-weight:700 !important}.text-base{font-size:var(--font-size-scale-base) !important}.text-down-01{font-size:var(--font-size-scale-down-01) !important}@media (min-width: 576px){.text-sm-center{text-align:center !important}.text-sm-left{text-align:left !important}.text-sm-right{text-align:right !important}}p{color:var(--color);font-size:var(--font-size-scale-base);font-weight:var(--font-weight-regular);line-height:var(--font-line-height-medium);margin-bottom:var(--spacing-scale-2x);margin-top:0}p a{text-decoration:underline}@media (min-width: 576px){p{font-size:var(--font-size-scale-up-01)}}a{--focus-offset:var(--spacing-scale-half)}a:focus{outline:none}a.focus-visible,a:focus-visible{outline-color:var(--focus);outline-offset:var(--focus-offset);outline-style:var(--focus-style);outline-width:var(--focus-width)}a:not(:disabled):hover{background-image:linear-gradient(rgba(var(--interactive-rgb), var(--hover)), rgba(var(--interactive-rgb), var(--hover)))}a:not(:disabled):active{background-image:linear-gradient(rgba(var(--interactive-rgb), var(--pressed)), rgba(var(--interactive-rgb), var(--pressed)))}a{color:var(--interactive);text-decoration:none}.main-content a{text-decoration:underline}button{cursor:pointer}img{max-width:100%;vertical-align:middle}h2,.h2{color:var(--color);font-size:var(--font-size-scale-up-03);font-weight:var(--font-weight-semi-bold);line-height:var(--font-line-height-low);margin-bottom:var(--spacing-scale-2xh);margin-top:var(--spacing-scale-3xh);padding-bottom:var(--spacing-scale-2xh)}@media (min-width: 576px){.h2,h2{font-size:var(--font-size-scale-up-05);font-weight:var(--font-weight-regular)}}ul,ol{margin-bottom:var(--spacing-scale-2x);margin-top:0;padding:0 0 0 var(--spacing-scale-5x)}table{--table-background:var(--background);--table-color:var(--color);--table-border-color:var(--gray-20);--table-border-style:solid;--table-border-width:1px;--table-hover:var(--color-rgb);--table-padding:var(--spacing-scale-3x);--table-font-weight:var(--font-weight-medium);--table-th-background:var(--background-alternative);--table-th-font-weight:var(--font-weight-semi-bold);--table-row-size:var(--spacing-scale-2x);border-collapse:collapse;width:100%}tr.selected,tr.is-selected{--color:var(--color-dark);--color-rgb:var(--color-dark-rgb);--text-color:var(--color-dark);--interactive:var(--interactive-dark);--interactive-rgb:var(--interactive-dark-rgb);--visited:var(--visited-dark);--hover:var(--hover-dark);--pressed:var(--pressed-dark);--focus-color:var(--focus-color-dark);--focus:var(--focus-color-dark)}label,.label{color:var(--color);font-size:var(--font-size-scale-base);font-weight:var(--font-weight-semi-bold);line-height:var(--font-line-height-medium);margin-bottom:var(--spacing-scale-half)}fieldset,.fieldset{border:var(--surface-width-none);margin-bottom:var(--spacing-scale-5x);margin-top:0;padding:0}legend,.legend{color:var(--color);font-size:var(--font-size-scale-up-01);font-weight:var(--font-weight-semi-bold);line-height:var(--font-line-height-low);margin-bottom:var(--spacing-scale-2x);margin-top:var(--spacing-scale-2x)}::placeholder,.placeholder{color:var(--color-light);font-size:var(--font-size-scale-base);font-style:italic;font-weight:var(--font-weight-regular);line-height:var(--font-line-height-medium);margin-bottom:var(--spacing-scale-half);margin-top:var(--spacing-scale-half);opacity:1}input,textarea,.input{color:var(--color-light);font-size:var(--font-size-scale-up-01);font-weight:var(--font-weight-medium);line-height:var(--font-line-height-low);margin-bottom:var(--spacing-scale-half)}.help{font-size:var(--font-size-scale-base)}code,.code{background:var(--gray-5);border-radius:4px;color:var(--gray-80);display:inline-block;font-family:monospace;font-size:var(--font-size-scale-base);font-weight:var(--font-weight-medium);line-height:var(--font-line-height-low);padding:var(--spacing-scale-half)}*[data-toggle=collapse]:not(:disabled):hover{background-image:linear-gradient(rgba(var(--interactive-rgb), var(--hover)), rgba(var(--interactive-rgb), var(--hover)))}*[data-toggle=collapse]:focus{outline:none}*[data-toggle=collapse].focus-visible,*[data-toggle=collapse]:focus-visible{outline-color:var(--focus);outline-offset:var(--focus-offset);outline-style:var(--focus-style);outline-width:var(--focus-width)}.br-step{--step-empty:16px;--step-empty-border:4px;--step-line:1px;--step-size:var(--step-medium);--step-small:32px;--step-medium:40px;--step-large:48px;--step-simple-size:var(--step-simple-medium);--step-simple-medium:8px;--step-simple-large:12px;--step-alert-success-icon:"\\f00c";--step-alert-warning-icon:"\\f071";--step-alert-info-icon:"\\f12a";--step-alert-danger-icon:"\\f00d";display:flex;padding:var(--spacing-scale-base)}.br-step .step-progress{display:flex;flex-grow:1}.br-step.vertical{flex-direction:column}.br-step.vertical .step-progress{flex-direction:column}.br-step .step-progress-btn{align-items:center;background-color:rgba(0,0,0,0);border:0;display:flex;flex-grow:1;justify-content:center;min-height:var(--step-size);padding:0;position:relative}.br-step[data-label=left] .step-progress-btn{justify-content:end}.br-step[data-label=right] .step-progress-btn{justify-content:start}.br-step.vertical .step-progress-btn{justify-content:start}.br-step.vertical[data-label=left] .step-progress-btn{justify-content:end}.br-step.vertical[data-label=right] .step-progress-btn{justify-content:start}.br-step .step-progress-btn::before{align-items:center;background-color:var(--background);border:var(--step-line) solid var(--interactive);border-radius:50%;color:var(--interactive);content:attr(step-num);display:inline-flex;font-size:var(--font-size-scale-up-03);font-weight:var(--font-weight-medium);height:var(--step-size);justify-content:center;left:0;margin:auto;position:absolute;right:0;width:var(--step-size);z-index:2}.br-step .step-icon{align-items:center;color:var(--interactive);display:inline-flex;height:var(--step-size);justify-content:center;position:absolute;width:var(--step-size);z-index:4}.br-step .step-alert{align-items:center;border-radius:50%;color:var(--color-dark);display:flex;height:var(--font-size-scale-up-04);justify-content:center;position:absolute;width:var(--font-size-scale-up-04);z-index:4}.br-step .step-alert::after{display:flex;font-family:"Font Awesome 5 Free";font-size:var(--font-size-scale-up-01);font-weight:900}.br-step[data-label=bottom] .step-progress-btn::before{top:0}.br-step[data-label=bottom] .step-icon{top:0}.br-step[data-label=bottom] .step-alert{transform:translate(calc(var(--step-size) * 0.5), calc(var(--step-size) * -0.75))}.br-step[data-label=top] .step-progress-btn::before{bottom:0}.br-step[data-label=top] .step-icon{bottom:0}.br-step[data-label=top] .step-alert{transform:translate(calc(var(--step-size) * 0.5), calc(var(--step-size) * 0.25))}.br-step[data-label=left] .step-progress-btn::before{left:auto;right:0}.br-step[data-label=left] .step-alert{transform:translate(calc(var(--step-size) * 0.4), calc(var(--step-size) * -0.25))}.br-step[data-label=right] .step-progress-btn::before{left:0;right:auto}.br-step[data-label=right] .step-alert{transform:translate(calc(var(--step-size) * 0.65), calc(var(--step-size) * -0.25))}.br-step.vertical .step-progress-btn::before{bottom:0;left:auto;right:auto;top:0}.br-step.vertical[data-label=left] .step-progress-btn::before{right:0}.br-step.vertical[data-label=right] .step-progress-btn::before{left:0}.br-step .step-progress-btn::after{background-color:var(--interactive);content:"";display:block;height:var(--step-line);left:0;position:absolute;right:0;z-index:1}.br-step .step-progress-btn:first-child::after{left:50%}.br-step .step-progress-btn:last-child::after{right:50%}.br-step[data-label=bottom] .step-progress-btn::after{top:calc(var(--step-size)*.5)}.br-step[data-label=top] .step-progress-btn::after{bottom:calc(var(--step-size)*.5)}.br-step[data-label=left] .step-progress-btn::after{left:0}.br-step[data-label=left] .step-progress-btn:first-child::after{left:100%}.br-step[data-label=left] .step-progress-btn:last-child::after{right:0}.br-step[data-label=right] .step-progress-btn::after{right:0}.br-step[data-label=right] .step-progress-btn:first-child::after{left:0}.br-step[data-label=right] .step-progress-btn:last-child::after{right:100%}.br-step.vertical .step-progress-btn::after{bottom:0;height:auto;left:auto;right:auto;top:0;width:var(--step-line)}.br-step.vertical .step-progress-btn:first-child::after{left:auto;top:50%}.br-step.vertical .step-progress-btn:last-child::after{bottom:50%;right:auto}.br-step.vertical[data-label=left] .step-progress-btn::after{right:calc(var(--step-size)*.5)}.br-step.vertical[data-label=right] .step-progress-btn::after{left:calc(var(--step-size)*.5)}.br-step .step-info{color:var(--interactive);display:inline-block;font-size:var(--font-size-scale-up-01);font-weight:var(--font-weight-medium)}.br-step[data-label=bottom] .step-info{margin-top:var(--step-size);padding-top:var(--spacing-scale-2x)}.br-step[data-label=top] .step-info{margin-bottom:var(--step-size);padding-bottom:var(--spacing-scale-2x)}.br-step[data-label=left] .step-info{display:none}@media (min-width: 576px){.br-step[data-label=left] .step-info{background-color:var(--background);display:inline-block;margin-right:var(--step-size);padding:var(--spacing-scale-2x);position:relative;z-index:3}}.br-step[data-label=right] .step-info{display:none}@media (min-width: 576px){.br-step[data-label=right] .step-info{background-color:var(--background);display:inline-block;margin-left:var(--step-size);padding:var(--spacing-scale-2x);position:relative;z-index:3}}.br-step.vertical[data-label=left] .step-info{display:inline-block;margin-left:0;margin-right:var(--step-size);padding:var(--spacing-scale-2x)}.br-step.vertical[data-label=right] .step-info{display:inline-block;margin-left:var(--step-size);margin-right:0;padding:var(--spacing-scale-2x)}.br-step[data-type=void] .step-progress-btn::before{content:"";height:var(--step-empty);width:var(--step-empty)}.br-step[data-type=void] .step-info{height:0;overflow:hidden;position:absolute;width:0}.br-step[data-type=simple]{align-items:center;display:flex;justify-content:center}.br-step[data-type=simple] .step-progress{align-items:center;display:flex;justify-content:center}.br-step[data-type=simple] .step-progress-btn{flex-grow:0;width:24px}.br-step[data-type=simple] .step-progress-btn::before{background-color:var(--gray-20);border-color:var(--gray-20);content:"";height:var(--step-simple-size);width:var(--step-simple-size)}.br-step[data-type=simple] .step-progress-btn::after{content:none}.br-step[data-type=simple] .step-info{height:0;overflow:hidden;position:absolute;width:0}.br-step[data-type=text]{align-items:center;display:flex;justify-content:center}.br-step[data-type=text] .step-progress{align-items:center;display:flex;justify-content:center}.br-step[data-type=text] .step-progress-btn{height:0;min-height:var(--font-size-scale-base);overflow:hidden;position:absolute;width:0}.br-step[data-type=text] .step-progress-btn::before{background-color:rgba(0,0,0,0);border:0;color:var(--color);font-size:var(--font-size-scale-base);font-weight:var(--font-weight-regular);width:auto}.br-step[data-type=text] .step-progress-btn::after{content:none}.br-step[data-type=text] .step-info{height:0;overflow:hidden;position:absolute;width:0}.br-step[scroll]{overflow-x:auto;overflow-y:hidden}.br-step[scroll]::-webkit-scrollbar{height:var(--spacing-scale-base);width:var(--spacing-scale-base)}.br-step[scroll]::-webkit-scrollbar-track{background:var(--gray-10)}.br-step[scroll]::-webkit-scrollbar-thumb{background:var(--gray-30)}.br-step[scroll]:hover::-webkit-scrollbar-thumb{background:var(--gray-40)}.br-step[scroll] .step-progress-btn{min-width:200px}.br-step[scroll].vertical{overflow-x:hidden;overflow-y:auto}.br-step[scroll].vertical .step-progress-btn{min-height:100px;min-width:auto}.br-step .step-progress-btn[data-alert=success]{color:var(--success)}.br-step .step-progress-btn[data-alert=success] .step-info{color:var(--success)}.br-step .step-progress-btn[data-alert=success] .step-alert{background-color:var(--success)}.br-step .step-progress-btn[data-alert=success] .step-alert::after{content:var(--step-alert-success-icon)}.br-step .step-progress-btn[data-alert=info]{color:var(--info)}.br-step .step-progress-btn[data-alert=info] .step-info{color:var(--info)}.br-step .step-progress-btn[data-alert=info] .step-alert{background-color:var(--info)}.br-step .step-progress-btn[data-alert=info] .step-alert::after{content:var(--step-alert-info-icon)}.br-step .step-progress-btn[data-alert=warning]{color:var(--color-light)}.br-step .step-progress-btn[data-alert=warning] .step-info{color:var(--color)}.br-step .step-progress-btn[data-alert=warning] .step-alert{background-color:var(--warning)}.br-step .step-progress-btn[data-alert=warning] .step-alert::after{content:var(--step-alert-warning-icon);color:var(--color-light)}.br-step .step-progress-btn[data-alert=danger]{color:var(--danger)}.br-step .step-progress-btn[data-alert=danger] .step-info{color:var(--danger)}.br-step .step-progress-btn[data-alert=danger] .step-alert{background-color:var(--danger)}.br-step .step-progress-btn[data-alert=danger] .step-alert::after{content:var(--step-alert-danger-icon)}.br-step .step-progress-btn.active::before,.br-step .step-progress-btn[active]::before{background-color:var(--active);border-color:var(--active);color:var(--background)}.br-step .step-progress-btn.active .step-icon,.br-step .step-progress-btn[active] .step-icon{color:var(--background)}.br-step .step-progress-btn:focus{outline:none}.br-step .step-progress-btn.focus-visible::before,.br-step .step-progress-btn:focus-visible::before{outline-color:var(--focus);outline-offset:var(--focus-offset);outline-style:var(--focus-style);outline-width:var(--focus-width);z-index:4}.br-step .step-progress-btn:hover:not(:disabled)::before{background-image:linear-gradient(rgba(var(--interactive-rgb), var(--hover)), rgba(var(--interactive-rgb), var(--hover)))}.br-step .step-progress-btn:disabled{opacity:1}.br-step .step-progress-btn:disabled::before{border-color:rgba(var(--interactive-rgb), var(--disabled))}.br-step .step-progress-btn:disabled .step-icon{color:rgba(var(--interactive-rgb), var(--disabled))}.br-step[data-type=void] .step-progress-btn.active .step-alert,.br-step[data-type=void] .step-progress-btn[active] .step-alert{border:var(--step-empty-border) solid var(--active);height:calc(var(--font-size-scale-up-04) + var(--step-empty-border));width:calc(var(--font-size-scale-up-04) + var(--step-empty-border))}.br-step[data-type=void] .step-progress-btn[data-alert].focus-visible::before,.br-step[data-type=void] .step-progress-btn[data-alert]:focus-visible::before{outline:none}.br-step[data-type=void] .step-progress-btn[data-alert].focus-visible .step-alert,.br-step[data-type=void] .step-progress-btn[data-alert]:focus-visible .step-alert{outline-color:var(--focus);outline-offset:var(--focus-offset);outline-style:var(--focus-style);outline-width:var(--focus-width);z-index:4}.br-step[data-type=text] .step-progress-btn{cursor:default}.br-step[data-type=text] .step-progress-btn.active,.br-step[data-type=text] .step-progress-btn[active]{height:auto;position:static;width:auto}.br-step[data-type=text] .step-progress-btn.active::before,.br-step[data-type=text] .step-progress-btn[active]::before{background-color:rgba(0,0,0,0);border:0;color:var(--color);position:static}.br-step[data-type=text] .step-progress-btn:focus::before,.br-step[data-type=text] .step-progress-btn.focus-visible::before,.br-step[data-type=text] .step-progress-btn:focus-visible::before{outline:none}.br-step[data-type=text] .step-progress-btn:hover::before{background-image:none}.br-step.inverted,.br-step.dark-mode{--color:var(--color-dark);--color-rgb:var(--color-dark-rgb);--text-color:var(--color-dark);--interactive:var(--interactive-dark);--interactive-rgb:var(--interactive-dark-rgb);--visited:var(--visited-dark);--hover:var(--hover-dark);--pressed:var(--pressed-dark);--focus-color:var(--focus-color-dark);--focus:var(--focus-color-dark)}.br-step.inverted .step-progress-btn[data-alert=success],.br-step.dark-mode .step-progress-btn[data-alert=success]{color:var(--success-alternative)}.br-step.inverted .step-progress-btn[data-alert=success] .step-info,.br-step.dark-mode .step-progress-btn[data-alert=success] .step-info{color:var(--success-alternative)}.br-step.inverted .step-progress-btn[data-alert=success] .step-alert::after,.br-step.dark-mode .step-progress-btn[data-alert=success] .step-alert::after{content:var(--step-alert-success-icon)}.br-step.inverted .step-progress-btn[data-alert=info],.br-step.dark-mode .step-progress-btn[data-alert=info]{color:var(--info-alternative)}.br-step.inverted .step-progress-btn[data-alert=info] .step-info,.br-step.dark-mode .step-progress-btn[data-alert=info] .step-info{color:var(--info-alternative)}.br-step.inverted .step-progress-btn[data-alert=info] .step-alert::after,.br-step.dark-mode .step-progress-btn[data-alert=info] .step-alert::after{content:var(--step-alert-info-icon)}.br-step.inverted .step-progress-btn[data-alert=warning] .step-alert::after,.br-step.dark-mode .step-progress-btn[data-alert=warning] .step-alert::after{content:var(--step-alert-warning-icon)}.br-step.inverted .step-progress-btn[data-alert=danger],.br-step.dark-mode .step-progress-btn[data-alert=danger]{color:var(--danger-alternative)}.br-step.inverted .step-progress-btn[data-alert=danger] .step-info,.br-step.dark-mode .step-progress-btn[data-alert=danger] .step-info{color:var(--danger-alternative)}.br-step.inverted .step-progress-btn[data-alert=danger] .step-alert::after,.br-step.dark-mode .step-progress-btn[data-alert=danger] .step-alert::after{content:var(--step-alert-danger-icon)}.br-step.inverted .step-progress-btn.active,.br-step.inverted .step-progress-btn[active],.br-step.dark-mode .step-progress-btn.active,.br-step.dark-mode .step-progress-btn[active]{color:var(--color-dark)}.br-step.inverted .step-progress-btn.active::before,.br-step.inverted .step-progress-btn[active]::before,.br-step.dark-mode .step-progress-btn.active::before,.br-step.dark-mode .step-progress-btn[active]::before{background-color:var(--background-light);border-color:var(--background-light);color:var(--active)}.br-step.inverted .step-progress-btn.active .step-icon,.br-step.inverted .step-progress-btn[active] .step-icon,.br-step.dark-mode .step-progress-btn.active .step-icon,.br-step.dark-mode .step-progress-btn[active] .step-icon{color:var(--active)}.br-step.inverted[data-type=void] .step-progress-btn.active .step-alert,.br-step.inverted[data-type=void] .step-progress-btn[active] .step-alert,.br-step.dark-mode[data-type=void] .step-progress-btn.active .step-alert,.br-step.dark-mode[data-type=void] .step-progress-btn[active] .step-alert{border-color:var(--color-dark)}.br-step.inverted[data-type=text] .step-progress-btn::before,.br-step.dark-mode[data-type=text] .step-progress-btn::before{background-color:rgba(0,0,0,0);color:var(--color)}:host .br-step{display:flex;width:100%}:host .br-step.vertical{flex-direction:column;align-items:flex-start}:host .br-step.horizontal{flex-direction:row;justify-content:center}:host .br-step:focus,:host .br-step:focus-visible{outline:none}:host .br-step.vertical.content-side{align-items:flex-start}:host .br-step.vertical.content-side[data-label=bottom]{align-items:stretch}:host .br-step.vertical.content-between[data-label=top],:host .br-step.vertical.content-between[data-label=bottom]{align-items:stretch}::slotted([disabled]){opacity:1 !important}`;
8
+
9
+ const Step = class {
10
+ constructor(hostRef) {
11
+ registerInstance(this, hostRef);
12
+ this.brStepChange = createEvent(this, "brStepChange", 7);
13
+ this.activeStep = 0;
14
+ /**
15
+ * `true` quando o componente está renderizado dentro de um `br-carousel`.
16
+ * Detectado automaticamente em `componentDidLoad` via `closest('br-carousel')`.
17
+ * Quando ativo, o container assume `role="tablist"` e cada item assume
18
+ * `role="tab"` com roving tabindex — padrão W3C APG para carrossel com indicadores tipo abas.
19
+ */
20
+ this.isTablist = false;
21
+ this.stepItems = [];
22
+ /**
23
+ * propriedade responsável por definir a orientação do componente Step
24
+ * @deprecated Use `orientation`.
25
+ */
26
+ this.layout = 'horizontal';
27
+ /**
28
+ *
29
+ * define o passo que começará destacado
30
+ * @deprecated Use `initialIndex`.
31
+ */
32
+ this.initialStep = '0';
33
+ /**
34
+ *
35
+ * Propriedade que define a posição onde o texto de destaque,label, ficará localizado no stepItem
36
+ */
37
+ this.labelPosition = 'bottom';
38
+ /**
39
+ *
40
+ * Propriedade que define o tipo de conteúdo a ser exibido dentro do componente step e stepItem
41
+ */
42
+ this.contentType = 'default';
43
+ /**
44
+ *
45
+ * Propriedade que define o tipo de comportamento que o componente Step deverá seguir
46
+ */
47
+ this.mode = 'step';
48
+ /**
49
+ *
50
+ * Propriedade que define o tipo de progressão de etapas que o step vai executar
51
+ */
52
+ this.progressionType = 'nonlinear';
53
+ /**
54
+ * Define a posição do conteúdo de cada etapa no layout vertical.
55
+ * - `between`: conteúdo abaixo do indicador/rótulo, entre as etapas.
56
+ * - `side`: conteúdo em coluna lateral à linha de indicadores.
57
+ */
58
+ this.verticalContentPlacement = 'between';
59
+ this.ariaObjectContent = {
60
+ step: 'Modo etapas ',
61
+ controller: 'Modo controle ',
62
+ default: 'passos com conteúdo numérico ',
63
+ 'br-icon': 'passos com conteúdo que possuem icones ',
64
+ slotted: 'passos com conteúdo customizados ',
65
+ 'no-content': 'passos que apresentam conteúdo por meio de tooltip ',
66
+ linear: 'progressão linear ',
67
+ nonlinear: 'progressão não linear ',
68
+ vertical: 'com layout vertical ',
69
+ horizontal: 'com layout horizontal ',
70
+ };
71
+ }
72
+ /**
73
+ * Observa mudanças na etapa ativa e sincroniza os itens filhos.
74
+ */
75
+ activeStepChanged(newValue, oldValue) {
76
+ if (oldValue === newValue || !this.isValidStepIndex(newValue))
77
+ return;
78
+ this.updateStepItemsActiveState(oldValue);
79
+ if (this.progressionType === 'linear') {
80
+ this.configureLinearProgression();
81
+ }
82
+ this.brStepChange.emit({ activeStep: newValue });
83
+ }
84
+ /**
85
+ * Observa mudanças no passo inicial e atualiza a etapa ativa.
86
+ */
87
+ initialStepChanged(newValue, oldValue) {
88
+ if (newValue === oldValue)
89
+ return;
90
+ const num = Number(newValue);
91
+ if (!Number.isNaN(num)) {
92
+ this.setActiveStep(num);
93
+ }
94
+ }
95
+ /**
96
+ * Observa mudanças na posição do label e propaga aos itens.
97
+ */
98
+ labelPositionChanged() {
99
+ this.setStepItemsLabelPosition();
100
+ }
101
+ /**
102
+ * Observa mudanças no tipo de conteúdo e propaga aos itens.
103
+ */
104
+ contentTypeChanged() {
105
+ void this.setStepItemsContentType();
106
+ }
107
+ /**
108
+ * Observa mudanças no modo e propaga aos itens.
109
+ */
110
+ modeChanged(newValue) {
111
+ this.setStepItemsMode(newValue);
112
+ this.configureStepItems();
113
+ }
114
+ /**
115
+ * Observa mudanças no layout e atualiza a linha do tempo dos itens.
116
+ */
117
+ layoutChanged() {
118
+ this.configureStepItems();
119
+ }
120
+ /**
121
+ * Observa mudanças no tipo de progressão e atualiza itens desabilitados.
122
+ */
123
+ progressionTypeChanged() {
124
+ this.configureStepItems();
125
+ }
126
+ /**
127
+ * Observa mudanças na posição do conteúdo vertical e propaga aos itens.
128
+ */
129
+ verticalContentPlacementChanged() {
130
+ this.setStepItemsVerticalContentPlacement();
131
+ }
132
+ componentWillLoad() {
133
+ this.activeStep = this.initialIndex ?? Number(this.initialStep);
134
+ this.getStepItemsElements();
135
+ const root = this.el.getRootNode();
136
+ this.isTablist = root instanceof ShadowRoot && root.host?.tagName?.toLowerCase() === 'br-carousel';
137
+ }
138
+ componentDidLoad() {
139
+ this.setStepItemsLabelPosition();
140
+ this.setStepItemsContentType();
141
+ this.setStepItemsDefaultContent();
142
+ this.setStepItemsMode(this.mode);
143
+ this.setStepItemsVerticalContentPlacement();
144
+ this.configureStepItems();
145
+ if (this.isValidStepIndex(this.activeStep)) {
146
+ this.stepItems[this.activeStep].setAttribute('active', 'true');
147
+ }
148
+ else {
149
+ console.warn('br-step initial-step attribute has value more than number of step-items provided');
150
+ }
151
+ }
152
+ /**
153
+ * listener para ouvir o evento de click no componente step
154
+ * Através desse listener o componente define qual será o proximo passo do step que terá o estado ativo
155
+ */
156
+ handleClick(event) {
157
+ const targetElement = event.target;
158
+ const targetStepItem = targetElement.closest('br-step-item');
159
+ if (targetStepItem === null)
160
+ return;
161
+ this.setActiveStep(this.stepItems.indexOf(targetStepItem));
162
+ }
163
+ /**
164
+ *
165
+ * Método disponibilizado via API do elemento que controla o componente Step, responsável por avançar para o próximo passo e atualizar o valor do estado activeStep
166
+ * @deprecated Use `next`.
167
+ */
168
+ // biome-ignore lint/style/useNamingConvention: API pública legada exposta para consumidores externos.
169
+ async ProceedToNextStep() {
170
+ this.getStepItemsElements();
171
+ if (this.activeStep + 1 < this.stepItems.length) {
172
+ this.setActiveStep(this.activeStep + 1);
173
+ if (this.progressionType === 'linear') {
174
+ this.configureLinearProgression();
175
+ }
176
+ }
177
+ }
178
+ /** Avança para o próximo passo. */
179
+ async next() {
180
+ await this.ProceedToNextStep();
181
+ }
182
+ /**
183
+ *
184
+ * Método disponibilizado via API do elemento que controla o componente Step, responsável por retornar ao passo anterior e atualizar o valor do estado activeStep
185
+ * @deprecated Use `previous`.
186
+ */
187
+ // biome-ignore lint/style/useNamingConvention: API pública legada exposta para consumidores externos.
188
+ async BackToPreviousStep() {
189
+ if (this.activeStep - 1 >= 0) {
190
+ this.setActiveStep(this.activeStep - 1);
191
+ }
192
+ }
193
+ /** Retorna ao passo anterior. */
194
+ async previous() {
195
+ await this.BackToPreviousStep();
196
+ }
197
+ /**
198
+ *
199
+ * Método disponibilizado via API do elemento que integra um componente externo ao componente Step, permitindo sinalizar validações ou destacar a etapa com estado ativo.
200
+ * @deprecated Use `setCurrentValidation`.
201
+ */
202
+ // biome-ignore lint/style/useNamingConvention: API pública legada exposta para consumidores externos.
203
+ async StepValidation(validationStatus) {
204
+ this.stepItems[this.activeStep].setAttribute('highlight', validationStatus);
205
+ }
206
+ /** Define o estado de validação do passo ativo. */
207
+ async setCurrentValidation(validationStatus) {
208
+ await this.StepValidation(validationStatus);
209
+ }
210
+ /**
211
+ *
212
+ * Método disponibilizado via API do elemento que permite a um componente externo obter a etapa com o estado ativo do componente Step.
213
+ */
214
+ // biome-ignore lint/style/useNamingConvention: API pública legada exposta para consumidores externos.
215
+ async GetActiveStep() {
216
+ return this.activeStep;
217
+ }
218
+ get effectiveOrientation() {
219
+ return this.orientation ?? this.layout;
220
+ }
221
+ /**
222
+ * Atualiza os atributos 'active' dos step-items de forma segura
223
+ * Chamado via requestAnimationFrame para garantir que o DOM é atualizado após batched state changes
224
+ */
225
+ updateStepItemsActiveState(previousActiveStep) {
226
+ if (this.isValidStepIndex(previousActiveStep)) {
227
+ this.stepItems[previousActiveStep].removeAttribute('active');
228
+ }
229
+ this.stepItems[this.activeStep].setAttribute('active', 'true');
230
+ }
231
+ getStepItemsElements() {
232
+ const rawChildren = Array.from(this.el.children).filter((child) => child.tagName.toLowerCase() !== 'style' && child.tagName.toLowerCase() !== 'script');
233
+ if (rawChildren.length === 0) {
234
+ this.stepItems = [];
235
+ return;
236
+ }
237
+ const childrenHaveConsistentTagName = rawChildren.every((item) => item.tagName.toLowerCase() === 'br-step-item');
238
+ if (!childrenHaveConsistentTagName) {
239
+ throw new Error('br-step component must have as child elements only br-step-items components');
240
+ }
241
+ const slotItems = rawChildren;
242
+ const firstChildrenContentTypeValue = slotItems[0].getAttribute('content-type');
243
+ const childrenHaveConsistentContentType = slotItems.every((item) => item.getAttribute('content-type') === firstChildrenContentTypeValue);
244
+ if (!childrenHaveConsistentContentType) {
245
+ throw new Error('br-step must have all child elements with same content type attribute value');
246
+ }
247
+ this.stepItems = slotItems;
248
+ }
249
+ getStepItems() {
250
+ this.getStepItemsElements();
251
+ if (this.stepItems.length > 0) {
252
+ return this.stepItems;
253
+ }
254
+ return Array.from(this.el.children).filter((child) => child.tagName.toLowerCase() === 'br-step-item');
255
+ }
256
+ setStepItemsLabelPosition() {
257
+ const slotItems = this.getStepItems();
258
+ slotItems.forEach((elements) => {
259
+ if (this.labelPosition !== undefined) {
260
+ elements.setLabelPosition(this.labelPosition);
261
+ }
262
+ });
263
+ }
264
+ setStepItemsDefaultContent() {
265
+ const slotItems = this.getStepItems();
266
+ slotItems.forEach((elements, index) => {
267
+ const indicatorContent = index + 1;
268
+ elements.setContent(indicatorContent.toString());
269
+ });
270
+ }
271
+ async setStepItemsContentType() {
272
+ const slotItems = this.getStepItems();
273
+ await Promise.all(slotItems.map((element) => element.setContentType(this.contentType)));
274
+ slotItems.forEach((elements, index) => {
275
+ elements.setAttribute('aria-posinset', `${index + 1}`);
276
+ elements.setAttribute('aria-setsize', `${slotItems.length}`);
277
+ });
278
+ }
279
+ setStepItemsMode(mode) {
280
+ const slotItems = this.getStepItems();
281
+ slotItems.forEach((elements) => {
282
+ elements.setMode(mode);
283
+ if (mode === 'controller') {
284
+ elements.setContentType('no-content');
285
+ elements.removeAttribute('label');
286
+ }
287
+ });
288
+ if (mode === 'controller' && this.effectiveOrientation !== 'horizontal') {
289
+ if (this.orientation !== undefined)
290
+ this.orientation = 'horizontal';
291
+ else
292
+ this.layout = 'horizontal';
293
+ }
294
+ }
295
+ setStepItemsVerticalContentPlacement() {
296
+ const slotItems = this.getStepItems();
297
+ slotItems.forEach((element) => {
298
+ element.setVerticalContentPlacement(this.verticalContentPlacement);
299
+ });
300
+ }
301
+ setActiveStep(value) {
302
+ if (!this.isValidStepIndex(value))
303
+ return;
304
+ if (this.progressionType !== 'linear' && this.stepItems[value]?.hasAttribute('disabled'))
305
+ return;
306
+ this.activeStep = value;
307
+ }
308
+ isValidStepIndex(value) {
309
+ return Number.isInteger(value) && value >= 0 && value < this.stepItems.length;
310
+ }
311
+ configureStepItems() {
312
+ if (this.isTablist) {
313
+ this.configureTablistMode();
314
+ return;
315
+ }
316
+ if (this.mode === 'step') {
317
+ this.configureTimeLine();
318
+ }
319
+ if (this.progressionType === 'linear') {
320
+ this.configureLinearProgression();
321
+ }
322
+ else {
323
+ this.clearLinearProgression();
324
+ }
325
+ }
326
+ /**
327
+ * Configura os step-items para o comportamento de tablist (carrossel).
328
+ * Sobrescreve contentType e mode dos itens para que assumam
329
+ * `role="tab"` com semântica W3C APG para carrossel com indicadores tipo abas.
330
+ */
331
+ configureTablistMode() {
332
+ if (this.effectiveOrientation !== 'horizontal') {
333
+ if (this.orientation !== undefined)
334
+ this.orientation = 'horizontal';
335
+ else
336
+ this.layout = 'horizontal';
337
+ }
338
+ const slotItems = Array.from(this.el.getElementsByTagName('br-step-item'));
339
+ slotItems.forEach((item) => {
340
+ item.setItemRole('tab');
341
+ item.setContentType('no-content');
342
+ item.removeAttribute('label');
343
+ });
344
+ }
345
+ getStepItemPosition(stepItemsElements, index) {
346
+ if (index === 0) {
347
+ return 'first';
348
+ }
349
+ if (index > 0 && index < stepItemsElements.length - 1) {
350
+ return 'middle';
351
+ }
352
+ return 'last';
353
+ }
354
+ configureTimeLine() {
355
+ const slotItems = this.getStepItems();
356
+ slotItems.forEach((elements, index) => {
357
+ const elementPosition = this.getStepItemPosition(slotItems, index);
358
+ elements.setStepItemPositionStatus(elementPosition);
359
+ elements.handleShowTimeLine(true, this.effectiveOrientation);
360
+ });
361
+ }
362
+ configureLinearProgression() {
363
+ const slotItems = this.getStepItems();
364
+ slotItems.forEach((element, index) => {
365
+ const isDisabled = index > this.activeStep;
366
+ element.disabled = isDisabled;
367
+ if (isDisabled) {
368
+ element.setAttribute('disabled', 'true');
369
+ }
370
+ else {
371
+ element.removeAttribute('disabled');
372
+ }
373
+ });
374
+ }
375
+ clearLinearProgression() {
376
+ const slotItems = this.getStepItems();
377
+ slotItems.forEach((elements) => {
378
+ elements.removeAttribute('disabled');
379
+ });
380
+ }
381
+ getCssClassMap() {
382
+ return {
383
+ 'br-step': true,
384
+ horizontal: this.effectiveOrientation === 'horizontal',
385
+ vertical: this.effectiveOrientation === 'vertical',
386
+ };
387
+ }
388
+ getAreaLabel() {
389
+ if (this.isTablist) {
390
+ return 'Slides';
391
+ }
392
+ let ariaLabel = ' Lista de Opções ';
393
+ if (this.mode !== 'controller') {
394
+ ariaLabel +=
395
+ this.ariaObjectContent[this.mode] +
396
+ this.ariaObjectContent[this.contentType] +
397
+ this.ariaObjectContent[this.progressionType] +
398
+ this.ariaObjectContent[this.effectiveOrientation];
399
+ }
400
+ else {
401
+ ariaLabel += this.ariaObjectContent[this.mode];
402
+ }
403
+ return ariaLabel;
404
+ }
405
+ render() {
406
+ const isTablist = this.isTablist;
407
+ return (h(Host, { key: 'afbe0f698f9c2e98309cc4ebcd920eade167209f' }, this.stepItems.length > 0 &&
408
+ (isTablist ? (h("div", { part: "container", role: "tablist", "aria-orientation": this.effectiveOrientation, "aria-label": this.getAreaLabel(), class: this.getCssClassMap(), "data-label": this.labelPosition }, h("div", { class: "step-progress" }, h("slot", { onSlotchange: () => this.handleSlotChange() })))) : (h("div", { part: "container", role: "group", "aria-label": this.getAreaLabel(), class: this.getCssClassMap(), "data-label": this.labelPosition }, h("div", { class: "step-progress" }, h("slot", { onSlotchange: () => this.handleSlotChange() })))))));
409
+ }
410
+ handleSlotChange() {
411
+ this.getStepItemsElements();
412
+ this.setStepItemsLabelPosition();
413
+ void this.setStepItemsContentType();
414
+ this.setStepItemsDefaultContent();
415
+ this.setStepItemsMode(this.mode);
416
+ this.setStepItemsVerticalContentPlacement();
417
+ this.configureStepItems();
418
+ }
419
+ get el() { return getElement(this); }
420
+ static get watchers() { return {
421
+ "activeStep": [{
422
+ "activeStepChanged": 0
423
+ }],
424
+ "initialStep": [{
425
+ "initialStepChanged": 0
426
+ }],
427
+ "labelPosition": [{
428
+ "labelPositionChanged": 0
429
+ }],
430
+ "contentType": [{
431
+ "contentTypeChanged": 0
432
+ }],
433
+ "mode": [{
434
+ "modeChanged": 0
435
+ }],
436
+ "layout": [{
437
+ "layoutChanged": 0
438
+ }],
439
+ "progressionType": [{
440
+ "progressionTypeChanged": 0
441
+ }],
442
+ "verticalContentPlacement": [{
443
+ "verticalContentPlacementChanged": 0
444
+ }]
445
+ }; }
446
+ };
447
+ Step.style = stepCss();
448
+
449
+ const stepItemCss = () => `*,*::before,*::after{box-sizing:border-box}:host{line-height:var(--font-line-height-medium);-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%}main{display:block}hr{box-sizing:content-box;height:0;overflow:visible}a{background-color:rgba(0,0,0,0)}b,strong{font-weight:bolder}code{font-family:monospace;font-size:1em}small{font-size:80%}img{border-style:none}button,input,select,textarea{font-family:inherit;font-size:100%;line-height:var(--font-line-height-medium);margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{appearance:none}::-webkit-file-upload-button{appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}.d-none{display:none !important}@media (min-width: 576px){.d-sm-block{display:block !important}.d-sm-flex{display:flex !important}}[data-toggle=dropdown]+*{position:absolute}.dropdown{position:relative}.dropdown [data-toggle=dropdown]+*{box-shadow:var(--surface-shadow-sm);left:0;position:absolute;top:100%}.dropdown>.br-notification{left:auto;right:0}.dropdown .br-item{--color:var(--color-light);--color-rgb:var(--color-light-rgb);--text-color:var(--color-light);--interactive:var(--interactive-light);--interactive-rgb:var(--color-rgb);--visited:var(--visited-light);--hover:var(--hover-light);--pressed:var(--pressed-light);--focus-color:var(--focus-color-light);--focus:var(--focus-color-light);--item-padding-y:var(--spacing-scale-2x);background-color:var(--background-light);color:var(--color)}.dropdown .br-item:not(:last-child){border-bottom:1px solid var(--border-color)}.dropdown .br-item.selected{--color:var(--color-dark);--color-rgb:var(--color-dark-rgb);--text-color:var(--color-dark);--interactive:var(--interactive-dark);--interactive-rgb:var(--interactive-dark-rgb);--visited:var(--visited-dark);--hover:var(--hover-dark);--pressed:var(--pressed-dark);--focus-color:var(--focus-color-dark);--focus:var(--focus-color-dark)}.justify-content-start{justify-content:flex-start !important}.justify-content-end{justify-content:flex-end !important}.justify-content-center{justify-content:center !important}.align-items-center{align-items:center !important}.col,[class*=col-]{padding-left:calc(var(--grid-gutter)*.5);padding-right:calc(var(--grid-gutter)*.5);width:100%}.col{flex:1 0 0%;min-width:8.3333333333%}.col-auto{flex:0 0 auto;width:auto}.col-2{flex-basis:16.6666666667%;max-width:16.6666666667%}.container,.container-fluid,.container-lg{--grid-margin:var(--grid-portrait-margin);--grid-maxwidth:var(--grid-portrait-maxwidth);margin-left:auto;margin-right:auto;max-width:var(--grid-maxwidth);padding-left:var(--grid-margin);padding-right:var(--grid-margin);width:100%}.row{--grid-gutter:var(--grid-portrait-gutter);display:flex;flex-wrap:wrap;margin-left:calc(var(--grid-gutter)*-0.5);margin-right:calc(var(--grid-gutter)*-0.5)}@media (min-width: 576px){.container,.container-lg,.container-fluid{--grid-margin:var(--grid-tablet-margin)}.row{--grid-gutter:var(--grid-tablet-gutter)}.container{--grid-maxwidth:calc(var(--grid-breakpoint-sm) - var(--grid-tablet-margin))}}@media (min-width: 992px){.container,.container-lg,.container-fluid{--grid-margin:var(--grid-tablet-margin)}.row{--grid-gutter:var(--grid-tablet-gutter)}.container{--grid-maxwidth:calc(var(--grid-breakpoint-md) - var(--grid-tablet-margin))}}@media (min-width: 1280px){.container,.container-lg,.container-fluid{--grid-margin:var(--grid-desktop-margin)}.row{--grid-gutter:var(--grid-desktop-gutter)}.container,.container-lg{--grid-maxwidth:calc(var(--grid-breakpoint-lg) - var(--grid-desktop-margin))}}@media (min-width: 1600px){.container,.container-lg,.container-fluid{--grid-margin:var(--grid-tv-margin)}.row{--grid-gutter:var(--grid-tv-gutter)}.container,.container-lg{--grid-maxwidth:calc(var(--grid-breakpoint-xl) - var(--grid-tv-margin))}}.ease{animation-timing-function:cubic-bezier(0.25, 0.1, 0.25, 1)}.ease-in-out{animation-timing-function:cubic-bezier(0.42, 0, 0.58, 1)}.mt-1{margin-top:var(--spacing-scale-half) !important}.mr-1{margin-right:var(--spacing-scale-half) !important}.mb-1{margin-bottom:var(--spacing-scale-half) !important}.ml-1{margin-left:var(--spacing-scale-half) !important}.mx-3{margin-left:var(--spacing-scale-2x) !important;margin-right:var(--spacing-scale-2x) !important}.mb-4{margin-bottom:var(--spacing-scale-3x) !important}.ml-auto{margin-left:auto !important}.pt-half{padding-top:var(--spacing-scale-half) !important}@media (min-width: 576px){.ml-sm-0{margin-left:var(--spacing-scale-default) !important}}.highlight{background:var(--status-highlight-background) linear-gradient(var(--status-highlight-overlay), var(--status-highlight-overlay));color:var(--status-highlight-text);padding:0 var(--spacing-scale-half)}[disabled],.disabled{cursor:not-allowed;opacity:var(--disabled)}[disabled] *,.disabled *{pointer-events:none}.text-center{text-align:center !important}.text-right{text-align:right !important}.text-nowrap{white-space:nowrap !important}.text-uppercase{text-transform:uppercase !important}.text-bold{font-weight:700 !important}.text-base{font-size:var(--font-size-scale-base) !important}.text-down-01{font-size:var(--font-size-scale-down-01) !important}@media (min-width: 576px){.text-sm-center{text-align:center !important}.text-sm-left{text-align:left !important}.text-sm-right{text-align:right !important}}p{color:var(--color);font-size:var(--font-size-scale-base);font-weight:var(--font-weight-regular);line-height:var(--font-line-height-medium);margin-bottom:var(--spacing-scale-2x);margin-top:0}p a{text-decoration:underline}@media (min-width: 576px){p{font-size:var(--font-size-scale-up-01)}}a{--focus-offset:var(--spacing-scale-half)}a:focus{outline:none}a.focus-visible,a:focus-visible{outline-color:var(--focus);outline-offset:var(--focus-offset);outline-style:var(--focus-style);outline-width:var(--focus-width)}a:not(:disabled):hover{background-image:linear-gradient(rgba(var(--interactive-rgb), var(--hover)), rgba(var(--interactive-rgb), var(--hover)))}a:not(:disabled):active{background-image:linear-gradient(rgba(var(--interactive-rgb), var(--pressed)), rgba(var(--interactive-rgb), var(--pressed)))}a{color:var(--interactive);text-decoration:none}.main-content a{text-decoration:underline}button{cursor:pointer}img{max-width:100%;vertical-align:middle}h2,.h2{color:var(--color);font-size:var(--font-size-scale-up-03);font-weight:var(--font-weight-semi-bold);line-height:var(--font-line-height-low);margin-bottom:var(--spacing-scale-2xh);margin-top:var(--spacing-scale-3xh);padding-bottom:var(--spacing-scale-2xh)}@media (min-width: 576px){.h2,h2{font-size:var(--font-size-scale-up-05);font-weight:var(--font-weight-regular)}}ul,ol{margin-bottom:var(--spacing-scale-2x);margin-top:0;padding:0 0 0 var(--spacing-scale-5x)}table{--table-background:var(--background);--table-color:var(--color);--table-border-color:var(--gray-20);--table-border-style:solid;--table-border-width:1px;--table-hover:var(--color-rgb);--table-padding:var(--spacing-scale-3x);--table-font-weight:var(--font-weight-medium);--table-th-background:var(--background-alternative);--table-th-font-weight:var(--font-weight-semi-bold);--table-row-size:var(--spacing-scale-2x);border-collapse:collapse;width:100%}tr.selected,tr.is-selected{--color:var(--color-dark);--color-rgb:var(--color-dark-rgb);--text-color:var(--color-dark);--interactive:var(--interactive-dark);--interactive-rgb:var(--interactive-dark-rgb);--visited:var(--visited-dark);--hover:var(--hover-dark);--pressed:var(--pressed-dark);--focus-color:var(--focus-color-dark);--focus:var(--focus-color-dark)}label,.label{color:var(--color);font-size:var(--font-size-scale-base);font-weight:var(--font-weight-semi-bold);line-height:var(--font-line-height-medium);margin-bottom:var(--spacing-scale-half)}fieldset,.fieldset{border:var(--surface-width-none);margin-bottom:var(--spacing-scale-5x);margin-top:0;padding:0}legend,.legend{color:var(--color);font-size:var(--font-size-scale-up-01);font-weight:var(--font-weight-semi-bold);line-height:var(--font-line-height-low);margin-bottom:var(--spacing-scale-2x);margin-top:var(--spacing-scale-2x)}::placeholder,.placeholder{color:var(--color-light);font-size:var(--font-size-scale-base);font-style:italic;font-weight:var(--font-weight-regular);line-height:var(--font-line-height-medium);margin-bottom:var(--spacing-scale-half);margin-top:var(--spacing-scale-half);opacity:1}input,textarea,.input{color:var(--color-light);font-size:var(--font-size-scale-up-01);font-weight:var(--font-weight-medium);line-height:var(--font-line-height-low);margin-bottom:var(--spacing-scale-half)}.help{font-size:var(--font-size-scale-base)}code,.code{background:var(--gray-5);border-radius:4px;color:var(--gray-80);display:inline-block;font-family:monospace;font-size:var(--font-size-scale-base);font-weight:var(--font-weight-medium);line-height:var(--font-line-height-low);padding:var(--spacing-scale-half)}*[data-toggle=collapse]:not(:disabled):hover{background-image:linear-gradient(rgba(var(--interactive-rgb), var(--hover)), rgba(var(--interactive-rgb), var(--hover)))}*[data-toggle=collapse]:focus{outline:none}*[data-toggle=collapse].focus-visible,*[data-toggle=collapse]:focus-visible{outline-color:var(--focus);outline-offset:var(--focus-offset);outline-style:var(--focus-style);outline-width:var(--focus-width)}:host{--step-empty:16px;--step-empty-border:4px;align-items:center;background-color:rgba(0,0,0,0);border:0;display:flex;flex-grow:1;justify-content:center;min-height:var(--step-size);padding:0;position:relative}:host.vertical{justify-content:start}:host.vertical[data-label=left]{justify-content:end}:host.vertical[data-label=right]{justify-content:start}:host[data-label=left]:not(.vertical){justify-content:end}:host[data-label=right]:not(.vertical){justify-content:start}:host.mode-controller{min-width:20px;min-height:20px}:host.role-tab{outline:none}:host.disabled-host{cursor:not-allowed}.step-progress-btn{align-items:center;background-color:rgba(0,0,0,0);border:0;cursor:pointer;display:flex;flex-grow:1;justify-content:center;min-height:var(--step-size);padding:0;position:relative}.step-progress-btn::before{align-items:center;background-color:var(--background);border:var(--step-line) solid var(--interactive);border-radius:50%;color:var(--interactive);content:attr(step-num);display:inline-flex;font-size:var(--font-size-scale-up-03);font-weight:var(--font-weight-medium);height:var(--step-size);justify-content:center;left:0;margin:auto;position:absolute;right:0;width:var(--step-size);z-index:2}.step-progress-btn::after{background-color:var(--interactive);content:"";display:block;height:var(--step-line);left:0;position:absolute;right:0;z-index:1}:host([data-label=left]) .step-progress-btn{justify-content:end}:host([data-label=right]) .step-progress-btn{justify-content:start}:host(.vertical[data-label=top]),:host(.vertical[data-label=bottom]){width:100%}:host(.vertical) .step-progress-btn{justify-content:start}:host(.vertical[data-label=left]) .step-progress-btn{justify-content:end}:host(.vertical[data-label=right]) .step-progress-btn{justify-content:start}.step-icon{align-items:center;color:var(--interactive);display:inline-flex;height:var(--step-size);justify-content:center;position:absolute;width:var(--step-size);z-index:4}.step-alert{align-items:center;border-radius:50%;color:var(--color-dark);display:flex;height:var(--font-size-scale-up-04);justify-content:center;position:absolute;width:var(--font-size-scale-up-04);z-index:4}.step-alert.no-content{width:calc(var(--font-size-scale-up-04) + var(--step-empty-border));height:calc(var(--font-size-scale-up-04) + var(--step-empty-border))}:host([data-label=bottom]) .step-progress-btn::before{top:0}:host([data-label=top]) .step-progress-btn::before{bottom:0}:host([data-label=left]) .step-progress-btn::before{left:auto;right:0}:host([data-label=right]) .step-progress-btn::before{left:0;right:auto}:host(.vertical) .step-progress-btn::before{inset:0 auto 0 50%;margin:auto;transform:translateX(-50%)}:host(.vertical[data-label=left]) .step-progress-btn::before{left:auto;right:0;transform:none}:host(.vertical[data-label=right]) .step-progress-btn::before{left:0;right:auto;transform:none}:host(.mode-controller) .step-progress-btn::before{inset:0;margin:auto}:host(.role-tab) .step-progress-btn{outline:none}.step-content-area{display:none}:host(.vertical[data-vertical-content-placement=between]){flex-direction:column;align-items:stretch;flex-grow:0}:host(.vertical[data-vertical-content-placement=between]) .step-progress-btn{flex-grow:0;align-self:stretch}:host(.vertical[data-vertical-content-placement=between]) .step-content-area{display:none;position:relative;padding-left:calc(var(--step-size) + var(--spacing-scale-2x, 16px))}:host(.vertical[data-vertical-content-placement=between][active]) .step-content-area,:host(.vertical[data-vertical-content-placement=between][active=true]) .step-content-area{display:block}:host(.vertical[data-vertical-content-placement=between][data-label=top]),:host(.vertical[data-vertical-content-placement=between][data-label=bottom]){display:grid;grid-template-columns:1fr 1fr;flex-grow:0}:host(.vertical[data-vertical-content-placement=between][data-label=top]) .step-progress-btn,:host(.vertical[data-vertical-content-placement=between][data-label=bottom]) .step-progress-btn{grid-column:1/-1;grid-row:1;flex-grow:0;align-self:stretch}:host(.vertical[data-vertical-content-placement=between][data-label=top]) .step-content-area,:host(.vertical[data-vertical-content-placement=between][data-label=bottom]) .step-content-area{grid-column:2;grid-row:2;padding-left:var(--spacing-scale-2x, 16px)}:host(.vertical[data-vertical-content-placement=between][data-label=left]) .step-content-area{padding-left:0;padding-right:calc(var(--step-size) + var(--spacing-scale-2x, 16px))}:host(.timeline.vertical[data-vertical-content-placement=between][data-label=right]) .step-content-area::before{content:"";position:absolute;background-color:var(--interactive);width:var(--step-line);top:0;bottom:0;left:calc(var(--step-size)*.5);transform:translateX(-50%);z-index:1}:host(.timeline.vertical[data-vertical-content-placement=between][data-label=left]) .step-content-area::before{content:"";position:absolute;background-color:var(--interactive);width:var(--step-line);top:0;bottom:0;right:calc(var(--step-size)*.5);left:auto;transform:translateX(-50%);z-index:1}:host(.timeline.vertical[data-vertical-content-placement=between][data-label=top]) .step-content-area::before,:host(.timeline.vertical[data-vertical-content-placement=between][data-label=bottom]) .step-content-area::before{content:"";position:absolute;background-color:var(--interactive);width:var(--step-line);top:0;bottom:0;left:0;transform:translateX(-50%);z-index:1}:host(.timeline.vertical:last-of-type[data-vertical-content-placement=between]) .step-content-area::before{display:none}:host(.vertical[data-vertical-content-placement=side]){display:grid;grid-template-columns:auto 1fr;column-gap:var(--spacing-scale-2x, 16px);align-items:start}:host(.vertical[data-vertical-content-placement=side]) .step-progress-btn{grid-column:1;grid-row:1;flex-grow:0;align-items:flex-start;align-self:stretch}:host(.vertical[data-vertical-content-placement=side]) .step-content-area{grid-column:2;grid-row:1;display:none;align-self:start}:host(.vertical[data-vertical-content-placement=side]) .step-progress-btn::before{top:0;bottom:auto;margin:0}:host(.vertical[data-vertical-content-placement=side][data-label=left]) .step-info,:host(.vertical[data-vertical-content-placement=side][data-label=right]) .step-info{padding-top:calc(var(--step-size)/2 - .75em)}:host(.vertical[data-vertical-content-placement=side]) .step-progress-btn::after{top:calc(var(--step-size)*.5);bottom:0;left:50%;right:auto;transform:translateX(-50%)}:host(.vertical[data-vertical-content-placement=side][data-label=bottom]) .step-content-area ::slotted([slot=step-content]){padding-top:calc(var(--font-size-scale-up-01) + var(--spacing-scale-2x))}:host(.vertical[data-vertical-content-placement=side][data-label=bottom]) .step-info{padding-top:0;margin-bottom:var(--spacing-scale-2x)}:host(.vertical:first-of-type[data-vertical-content-placement=side][data-label=bottom]) .step-progress-btn::after{top:calc(var(--font-size-scale-up-01, 14px) + var(--spacing-scale-2x, 16px) + var(--step-size)*.75)}:host(.vertical[data-vertical-content-placement=side][data-label=bottom]) .step-progress-btn::after{top:calc(var(--font-size-scale-up-01, 14px) + var(--spacing-scale-2x, 16px) + var(--step-size)*.75);bottom:0}:host(.vertical[data-vertical-content-placement=side][data-label=top]) .step-progress-btn::before{bottom:auto;left:50%;right:auto;transform:translateX(-50%);margin:0}:host(.vertical[data-vertical-content-placement=side][data-label=top]) .step-progress-btn::before{margin-top:calc(var(--step-size)/2)}:host(.vertical[data-vertical-content-placement=side][data-label=right]) .step-progress-btn::after{left:calc(var(--step-size)*.5);transform:translateX(-50%)}:host(.vertical[data-vertical-content-placement=side][data-label=left]){grid-template-columns:minmax(0, 1fr) max-content}:host(.vertical[data-vertical-content-placement=side][data-label=left]) .step-content-area{justify-self:end}:host(.vertical[data-vertical-content-placement=side][data-label=left]) .step-progress-btn{grid-column:2}:host(.vertical[data-vertical-content-placement=side][data-label=left]) .step-content-area{grid-column:1;padding-right:0}:host(.vertical:first-of-type[data-vertical-content-placement=side]) .step-progress-btn::after{top:calc(var(--step-size)*.5)}:host(.vertical:last-of-type[data-vertical-content-placement=side]) .step-progress-btn::after{bottom:calc(100% - var(--step-size)*.5)}:host(.vertical[data-vertical-content-placement=side][data-label=top]) .step-info{margin-bottom:var(--step-size);margin-top:0}:host(.vertical[data-vertical-content-placement=side][active]) .step-content-area,:host(.vertical[data-vertical-content-placement=side][active=true]) .step-content-area{display:block}:host(.role-tab:focus){outline:none}:host(.role-tab:focus-visible) .step-progress-btn::before{outline:var(--focus) var(--focus-style) var(--focus-width);outline-offset:var(--focus-offset);z-index:4}:host([data-label=bottom]) .step-icon{top:0}:host([data-label=top]) .step-icon{bottom:0}:host([data-label=bottom].vertical) .step-icon,:host([data-label=top].vertical) .step-icon{top:0;bottom:0;left:50%;margin:auto;transform:translateX(-50%)}:host([data-label=bottom]) .step-alert{transform:translate(calc(var(--step-size) * 0.5), calc(var(--step-size) * -0.75))}:host([data-label=top]) .step-alert{transform:translate(calc(var(--step-size) * 0.5), calc(var(--step-size) * 0.25))}:host([data-label=left]) .step-alert{transform:translate(calc(var(--step-size) * 0.4), calc(var(--step-size) * -0.25))}:host([data-label=right]) .step-alert{transform:translate(calc(var(--step-size) * 0.65), calc(var(--step-size) * -0.25))}:host(:first-of-type:not(.vertical)) .step-progress-btn::after{left:50%}:host(:last-of-type:not(.vertical)) .step-progress-btn::after{right:50%}:host([data-label=bottom]:not(.vertical)) .step-progress-btn::after{top:calc(var(--step-size)*.5)}:host([data-label=top]:not(.vertical)) .step-progress-btn::after{bottom:calc(var(--step-size)*.5)}:host([data-label=left]:not(.vertical)) .step-progress-btn::after{left:0}:host([data-label=left]:not(.vertical):first-of-type) .step-progress-btn::after{left:100%}:host([data-label=left]:not(.vertical):last-of-type) .step-progress-btn::after{right:0}:host([data-label=right]:not(.vertical)) .step-progress-btn::after{right:0}:host([data-label=right]:not(.vertical):first-of-type) .step-progress-btn::after{left:0}:host([data-label=right]:not(.vertical):last-of-type) .step-progress-btn::after{right:100%}:host(.vertical) .step-progress-btn::after{inset:0 auto 0 50%;height:auto;width:var(--step-line);margin:0;transform:translateX(-50%)}:host(.vertical[data-label=top]) .step-progress-btn::after{top:50%}:host(.vertical[data-label=bottom]) .step-progress-btn::after{bottom:50%}:host(.vertical:first-of-type) .step-progress-btn::after{top:50%}:host(.vertical:last-of-type) .step-progress-btn::after{bottom:50%}:host(.vertical[data-label=left]) .step-progress-btn::after{left:auto;right:calc(var(--step-size)*.5);margin:0}:host(.vertical[data-label=right]) .step-progress-btn::after{left:calc(var(--step-size)*.5);right:auto;margin:0}.step-info{color:var(--interactive);display:inline-block;font-size:var(--font-size-scale-up-01);font-weight:var(--font-weight-medium)}:host([data-label=bottom]) .step-info{margin-top:var(--step-size);padding-top:var(--spacing-scale-2x)}:host([data-label=top]) .step-info{margin-bottom:var(--step-size);padding-bottom:var(--spacing-scale-2x)}:host(.vertical[data-label=top]) .step-info,:host(.vertical[data-label=bottom]) .step-info{display:block;text-align:center;width:100%}:host([data-label=left]:not(.vertical)) .step-info{display:none}@media (min-width: 576px){:host([data-label=left]:not(.vertical)) .step-info{background-color:var(--background);display:inline-block;margin-right:var(--step-size);padding:var(--spacing-scale-2x);position:relative;z-index:3}}:host([data-label=right]:not(.vertical)) .step-info{display:none}@media (min-width: 576px){:host([data-label=right]:not(.vertical)) .step-info{background-color:var(--background);display:inline-block;margin-left:var(--step-size);padding:var(--spacing-scale-2x);position:relative;z-index:3}}:host(.vertical[data-label=left]) .step-info,:host(.vertical[data-label=right]) .step-info{background-color:var(--background);display:inline-block;padding:var(--spacing-scale-2x);position:relative;z-index:3}:host(.vertical[data-label=left]) .step-info{margin-right:var(--step-size);margin-left:0}:host(.vertical[data-label=right]) .step-info{margin-left:var(--step-size);margin-right:0}:host .step-progress-btn[data-alert=success]{color:var(--success)}:host .step-progress-btn[data-alert=success] .step-info{color:var(--success)}:host .step-progress-btn[data-alert=success] .step-alert{background-color:var(--success)}:host .step-progress-btn[data-alert=info]{color:var(--info)}:host .step-progress-btn[data-alert=info] .step-info{color:var(--info)}:host .step-progress-btn[data-alert=info] .step-alert{background-color:var(--info)}:host .step-progress-btn[data-alert=warning]{color:var(--color-light)}:host .step-progress-btn[data-alert=warning] .step-info{color:var(--color)}:host .step-progress-btn[data-alert=warning] .step-alert{background-color:var(--warning)}:host .step-progress-btn[data-alert=danger]{color:var(--danger)}:host .step-progress-btn[data-alert=danger] .step-info{color:var(--danger)}:host .step-progress-btn[data-alert=danger] .step-alert{background-color:var(--danger)}:host .step-progress-btn.active::before{background-color:var(--active);border-color:var(--active);color:var(--background)}:host .step-progress-btn.active .step-icon{color:var(--background)}:host .step-progress-btn:focus{outline:none}:host .step-progress-btn:focus-visible::before{outline:var(--focus) var(--focus-style) var(--focus-width);outline-offset:var(--focus-offset);z-index:4}:host .step-progress-btn:hover:not(:disabled)::before{background-image:linear-gradient(rgb(var(--interactive-rgb), var(--hover)), rgb(var(--interactive-rgb), var(--hover)))}:host .step-progress-btn:disabled{opacity:1;cursor:not-allowed}:host .step-progress-btn:disabled::before{background-color:var(--background);border-color:rgb(var(--interactive-rgb), var(--disabled));color:rgb(var(--interactive-rgb), var(--disabled))}:host .step-progress-btn:disabled .step-icon{opacity:var(--disabled)}:host .step-progress-btn:disabled .step-info{color:rgb(var(--interactive-rgb), var(--disabled))}:host([data-type=void]) .step-progress-btn.active .step-alert{border:var(--step-empty-border) solid var(--active);height:calc(var(--font-size-scale-up-04) + var(--step-empty-border));width:calc(var(--font-size-scale-up-04) + var(--step-empty-border))}:host([data-type=void]) .step-progress-btn .step-alert{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:4}:host([data-type=void]) .step-progress-btn::before{content:"";height:var(--step-empty);width:var(--step-empty);left:50%;right:auto;margin:0;transform:translate(-50%, -50%);top:50%}:host([data-type=void]) .step-info{height:0;overflow:hidden;position:absolute;width:0}.content-type-br-icon{color:var(--interactive);font-size:var(--font-size-scale-up-01);font-weight:var(--font-weight-bold)}.step-progress-btn.active .content-type-br-icon{color:var(--background)}:host(.vertical[data-label=top]) .step-alert,:host(.vertical[data-label=bottom]) .step-alert{top:50%;left:50%;transform:translate(25%, -75%)}:host([data-type=void]) .step-progress-btn[data-alert].focus-visible::before,:host([data-type=void]) .step-progress-btn[data-alert]:focus-visible::before{outline:none}:host([data-type=void]) .step-progress-btn[data-alert].focus-visible .step-alert,:host([data-type=void]) .step-progress-btn[data-alert]:focus-visible .step-alert{outline:var(--focus) var(--focus-style) var(--focus-width);outline-offset:var(--focus-offset);z-index:4}`;
450
+
451
+ const StepItem = class {
452
+ constructor(hostRef) {
453
+ registerInstance(this, hostRef);
454
+ this.ariaLabelContent = '';
455
+ this.content = '';
456
+ this.contentType = 'default';
457
+ /**
458
+ * Role ARIA do botão interno do item.
459
+ * - `option`: padrão — filho de `listbox`, usado no modo step/controller.
460
+ * - `tab`: filho de `tablist`, ativa roving tabindex e `aria-controls`.
461
+ * Definido externamente via `setItemRole()` pelo componente pai que conhece
462
+ * o contexto semântico (ex.: br-step dentro de br-carousel).
463
+ */
464
+ this.itemRole = 'option';
465
+ this.labelPosition = 'bottom';
466
+ this.mode = 'step';
467
+ this.showTimeLine = false;
468
+ this.stepItemPositionStatus = 'first';
469
+ this.stepLayout = 'horizontal';
470
+ this.verticalContentPlacement = 'between';
471
+ /**
472
+ * Propriedade que define o conteúdo do texto auxiliar de realce do item de Step.
473
+ */
474
+ this.label = '';
475
+ /**
476
+ * Propriedade que define se o item Step está com estado ativo.
477
+ */
478
+ this.active = false;
479
+ /**
480
+ * Propriedade que define se o item Step está com estado desativado.
481
+ */
482
+ this.disabled = false;
483
+ /**
484
+ * Rótulo acessível explicitamente definido para o botão interno do item.
485
+ * Quando preenchido, substitui o texto gerado automaticamente pelo componente
486
+ * ("passo X ...") em qualquer modo, seguindo o comportamento padrão do
487
+ * atributo HTML `aria-label`.
488
+ */
489
+ this.ariaLabel = '';
490
+ /**
491
+ * ID do elemento controlado por este item, atribuído como `aria-controls`
492
+ * no botão interno. Vincula semanticamente o controle ao painel ou região
493
+ * que ele gerencia — podendo ser usado em qualquer contexto que exija essa ligação
494
+ */
495
+ this.controlsId = '';
496
+ /**
497
+ * Nome Iconify do ícone exibido como conteúdo do step item quando `contentType` é `br-icon`.
498
+ * @deprecated Prefira `contentType="slotted"` com um SVG, asset ou elemento de ícone controlado pela aplicação.
499
+ */
500
+ this.brIconName = '';
501
+ /**
502
+ * Propriedade Define o nome do ícone o texto de acessibilidade apresentando quando o tipo de conteúdo for o br-icon
503
+ */
504
+ this.brIconAria = '';
505
+ this.highlightAriaLabel = {
506
+ success: 'passo completo',
507
+ info: 'passo com item informativo',
508
+ warning: 'passo com alerta',
509
+ danger: 'passo com erro',
510
+ };
511
+ this.iconNames = {
512
+ success: 'fa-check',
513
+ info: 'fa-info-circle',
514
+ warning: 'fa-exclamation-triangle',
515
+ danger: 'fa-times',
516
+ };
517
+ }
518
+ componentWillRender() {
519
+ this.ariaLabelContent = this.ariaLabel !== '' ? this.ariaLabel : this.getGeneratedAriaLabel();
520
+ }
521
+ /**
522
+ *
523
+ * Método disponibilizado via api do elemento que indica a posição do step item, ele serve para setar o state stepItemPositionStatus do componente
524
+ */
525
+ async setStepItemPositionStatus(value) {
526
+ this.stepItemPositionStatus = value;
527
+ }
528
+ /**
529
+ * Método que define a orientação do stepItem e controla a exibição da linha do tempo após o componente.
530
+ */
531
+ async handleShowTimeLine(value, layout) {
532
+ this.showTimeLine = value;
533
+ this.stepLayout = layout;
534
+ }
535
+ /**
536
+ *
537
+ * Método disponibilizado via api do elemento que atribui o valor ao estado que define onde o label, o texto de destaque, irá ficar localizado
538
+ */
539
+ async setLabelPosition(value) {
540
+ this.labelPosition = value;
541
+ }
542
+ /**
543
+ *
544
+ * Método disponibilizado via api do elemento que atribui o valor que irá definir o tipo de conteúdo apresentado dentro do componente stepItem
545
+ */
546
+ async setContentType(value) {
547
+ this.contentType = value;
548
+ }
549
+ /**
550
+ *
551
+ * Método disponibilizado via api do elemento que atribui o valor que irá definir o modo como o componente irá se comportar e exibir seu estilo.
552
+ */
553
+ async setMode(value) {
554
+ this.mode = value;
555
+ }
556
+ /**
557
+ * Define o role ARIA do botão interno.
558
+ * Chamado pelo componente pai quando o contexto semântico exige um role
559
+ * diferente do padrão `option` (ex.: `tab` em contexto de tablist).
560
+ */
561
+ async setItemRole(value) {
562
+ this.itemRole = value;
563
+ }
564
+ /**
565
+ *
566
+ * Método disponibilizado via api do elemento que atribui o valor que irá ser exibido dentro do componente stepItem
567
+ */
568
+ async setContent(value) {
569
+ this.content = value;
570
+ }
571
+ getGeneratedAriaLabel() {
572
+ const highlightAriaLabel = this.highlight !== undefined ? this.highlightAriaLabel[this.highlight] : '';
573
+ const content = this.contentType === 'slotted' ? this.getSlottedAriaContent() : this.getDefaultAriaContent();
574
+ const labelParts = ['passo', this.content, content, this.label, highlightAriaLabel].filter(Boolean);
575
+ const accessibilityContent = labelParts.join(' ');
576
+ return this.active ? `${accessibilityContent} selecionado` : accessibilityContent;
577
+ }
578
+ getDefaultAriaContent() {
579
+ return this.contentType === 'br-icon' ? this.brIconAria : '';
580
+ }
581
+ getSlottedAriaContent() {
582
+ return this.el.querySelector('[slot="content-area"]')?.textContent?.trim() ?? '';
583
+ }
584
+ /**
585
+ * Método que define a posição do conteúdo no layout vertical.
586
+ */
587
+ async setVerticalContentPlacement(value) {
588
+ this.verticalContentPlacement = value;
589
+ }
590
+ getAlertClass() {
591
+ return {
592
+ 'step-alert': true,
593
+ 'no-content': this.contentType === 'no-content',
594
+ };
595
+ }
596
+ /**
597
+ * Retorna `true` quando este `br-step-item` está hospedado dentro de um shadow root
598
+ * (ex.: filho do `br-step` que está no shadow DOM do `br-carousel`).
599
+ *
600
+ * Usado para suprimir `aria-controls` no botão interno: referências de ID não cruzam shadow
601
+ * boundaries, então referenciar um `id` que existe em outra árvore DOM tornaria
602
+ * o valor inválido para validators ARIA e tecnologias assistivas.
603
+ */
604
+ isInShadowRoot() {
605
+ return this.el.getRootNode() instanceof ShadowRoot;
606
+ }
607
+ // biome-ignore lint/complexity/noExcessiveCognitiveComplexity: render cobre múltiplos modos de conteúdo, acessibilidade e variações de destaque.
608
+ render() {
609
+ const isTab = this.itemRole === 'tab';
610
+ return (h(Host, { key: 'ba135aca15c3acde99ec86cc43016f73b1be7475', "data-label": this.labelPosition, "data-type": this.contentType === 'no-content' ? 'void' : undefined, "data-vertical-content-placement": this.stepLayout === 'vertical' ? this.verticalContentPlacement : undefined, role: isTab ? 'tab' : undefined, "aria-label": isTab ? this.ariaLabelContent : undefined, "aria-selected": isTab ? String(this.active) : undefined, "aria-controls": isTab && this.controlsId !== '' && !this.isInShadowRoot() ? this.controlsId : undefined, tabIndex: isTab ? (this.active ? 0 : -1) : undefined, class: {
611
+ [this.stepLayout]: true,
612
+ 'mode-controller': this.mode === 'controller' || isTab,
613
+ 'role-tab': isTab,
614
+ 'disabled-host': this.disabled,
615
+ timeline: this.showTimeLine,
616
+ } }, h("button", { key: '3cc758c792f418bd46bedc11368410e7850fcb4c', class: {
617
+ 'step-progress-btn': true,
618
+ active: this.active,
619
+ }, type: "button", inert: isTab || undefined, "aria-label": !isTab ? this.ariaLabelContent : undefined, "aria-controls": !isTab && this.controlsId !== '' && !this.isInShadowRoot() ? this.controlsId : undefined, disabled: this.disabled, "step-num": this.contentType === 'default' ? this.content : undefined, "data-alert": this.highlight || undefined }, this.label && (h("span", { key: 'c519b156fccb45b4f028b7b475f0bb07a9cbdfab', class: "step-info", part: "label" }, this.label)), this.contentType === 'br-icon' && (h("span", { key: '35a750e54add47fc9d4717a086c35420de938c25', class: "step-icon" }, h("br-icon", { key: 'f7fed3390d48387910afa772bc93fd63ff1270fa', iconName: this.brIconName ?? '', width: "16", height: "16", "aria-hidden": "true" }))), this.contentType === 'slotted' && (h("span", { key: '69413d60d067e9dbb72bea47f2aac2beeca2b50a', class: "step-icon" }, h("slot", { key: '1c78a7aa3ee10a5aee792be7621ec2268d2e1e00', name: "content-area" }))), this.mode === 'step' && this.highlight && (h("div", { key: 'c9b1665fe7f050a7adc84b4adce50eecabe8efdb', class: this.getAlertClass() }, h("br-icon", { key: '0f2320a09f6a422de20c104d5ea5fc20273dc984', iconName: this.iconNames[this.highlight], width: "16", height: "16", class: this.highlight === 'warning' ? 'warning-color' : '' })))), h("div", { key: 'b7db51a476bed66fa74b1a1ff72ce047877dea06', class: "step-content-area" }, h("slot", { key: 'ec738dcb3c8c5601a3a2c2016a5315fa2d2db777', name: "step-content" }))));
620
+ }
621
+ get el() { return getElement(this); }
622
+ };
623
+ StepItem.style = stepItemCss();
624
+
625
+ export { Step as br_step, StepItem as br_step_item };