@govbr-ds/webcomponents 2.1.1 → 2.1.3

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 (546) hide show
  1. package/README.md +0 -11
  2. package/cem/custom-elements.json +219 -11
  3. package/cem/webcomponents.html-custom-data.json +1 -1
  4. package/dist/cjs/br-avatar.cjs.entry.js +1 -1
  5. package/dist/cjs/br-breadcrumb.cjs.entry.js +1 -1
  6. package/dist/cjs/br-button_2.cjs.entry.js +2 -2
  7. package/dist/cjs/br-card.cjs.entry.js +1 -1
  8. package/dist/cjs/br-carousel-page.cjs.entry.js +1 -1
  9. package/dist/cjs/br-carousel.cjs.entry.js +1 -1
  10. package/dist/cjs/br-checkbox-group.cjs.entry.js +1 -1
  11. package/dist/cjs/br-checkbox.cjs.entry.js +1 -1
  12. package/dist/cjs/br-collapse_2.cjs.entry.js +2 -2
  13. package/dist/cjs/br-cookiebar-cookie.cjs.entry.js +1 -1
  14. package/dist/cjs/br-cookiebar-group.cjs.entry.js +1 -1
  15. package/dist/cjs/br-cookiebar-header.cjs.entry.js +1 -1
  16. package/dist/cjs/br-cookiebar-link.cjs.entry.js +3 -2
  17. package/dist/cjs/br-cookiebar-note-group.cjs.entry.js +1 -1
  18. package/dist/cjs/br-cookiebar-note.cjs.entry.js +1 -1
  19. package/dist/cjs/br-cookiebar.cjs.entry.js +1 -1
  20. package/dist/cjs/br-date-picker_3.cjs.entry.js +5 -4
  21. package/dist/cjs/br-datetime-picker.cjs.entry.js +2 -3
  22. package/dist/cjs/br-divider.cjs.entry.js +1 -1
  23. package/dist/cjs/br-dropdown_2.cjs.entry.js +263 -110
  24. package/dist/cjs/br-footer-category.cjs.entry.js +1 -1
  25. package/dist/cjs/br-footer-item.cjs.entry.js +1 -1
  26. package/dist/cjs/br-footer-legal.cjs.entry.js +1 -1
  27. package/dist/cjs/br-footer-logo.cjs.entry.js +1 -1
  28. package/dist/cjs/br-footer-social.cjs.entry.js +1 -1
  29. package/dist/cjs/br-footer.cjs.entry.js +1 -1
  30. package/dist/cjs/br-header-function.cjs.entry.js +1 -1
  31. package/dist/cjs/br-header-link.cjs.entry.js +1 -1
  32. package/dist/cjs/br-header-list.cjs.entry.js +1 -1
  33. package/dist/cjs/br-header-logo.cjs.entry.js +3 -2
  34. package/dist/cjs/br-header.cjs.entry.js +1 -1
  35. package/dist/cjs/br-icon.cjs.entry.js +2 -2
  36. package/dist/cjs/br-input.cjs.entry.js +1 -1
  37. package/dist/cjs/br-item.cjs.entry.js +26 -15
  38. package/dist/cjs/br-link.cjs.entry.js +3 -2
  39. package/dist/cjs/br-loading.cjs.entry.js +1 -1
  40. package/dist/cjs/br-magic-button.cjs.entry.js +3 -2
  41. package/dist/cjs/br-menu-group.cjs.entry.js +1 -1
  42. package/dist/cjs/br-menu-header.cjs.entry.js +1 -1
  43. package/dist/cjs/br-menu-info.cjs.entry.js +1 -1
  44. package/dist/cjs/br-menu-item.cjs.entry.js +1 -1
  45. package/dist/cjs/br-menu-link.cjs.entry.js +3 -2
  46. package/dist/cjs/br-menu-list.cjs.entry.js +1 -1
  47. package/dist/cjs/br-menu-logo.cjs.entry.js +1 -1
  48. package/dist/cjs/br-menu-social.cjs.entry.js +1 -1
  49. package/dist/cjs/br-menu.cjs.entry.js +7 -11
  50. package/dist/cjs/br-modal.cjs.entry.js +1 -1
  51. package/dist/cjs/br-notification-body.cjs.entry.js +1 -1
  52. package/dist/cjs/br-notification-header.cjs.entry.js +1 -1
  53. package/dist/cjs/br-notification-item.cjs.entry.js +1 -1
  54. package/dist/cjs/br-notification.cjs.entry.js +1 -1
  55. package/dist/cjs/br-pagination.cjs.entry.js +1 -1
  56. package/dist/cjs/br-radio-group.cjs.entry.js +2 -2
  57. package/dist/cjs/br-radio.cjs.entry.js +1 -1
  58. package/dist/cjs/br-scrim.cjs.entry.js +1 -1
  59. package/dist/cjs/br-select-input_3.cjs.entry.js +48 -14
  60. package/dist/cjs/br-sign-in.cjs.entry.js +3 -2
  61. package/dist/cjs/br-skip-link.cjs.entry.js +1 -1
  62. package/dist/cjs/br-skiplink-item.cjs.entry.js +1 -1
  63. package/dist/cjs/br-slider.cjs.entry.js +2 -3
  64. package/dist/cjs/br-step_2.cjs.entry.js +2 -2
  65. package/dist/cjs/br-switch.cjs.entry.js +1 -1
  66. package/dist/cjs/br-tab-item.cjs.entry.js +1 -1
  67. package/dist/cjs/br-tab.cjs.entry.js +1 -1
  68. package/dist/cjs/br-table-body.cjs.entry.js +1 -1
  69. package/dist/cjs/br-table-cell.cjs.entry.js +1 -1
  70. package/dist/cjs/br-table-header-cell.cjs.entry.js +1 -1
  71. package/dist/cjs/br-table-header.cjs.entry.js +1 -1
  72. package/dist/cjs/br-table-row.cjs.entry.js +1 -1
  73. package/dist/cjs/br-table.cjs.entry.js +1 -1
  74. package/dist/cjs/br-tag.cjs.entry.js +3 -4
  75. package/dist/cjs/br-textarea.cjs.entry.js +1 -1
  76. package/dist/cjs/br-tooltip.cjs.entry.js +1 -1
  77. package/dist/cjs/br-upload.cjs.entry.js +3 -4
  78. package/dist/cjs/br-wizard-panel.cjs.entry.js +1 -1
  79. package/dist/cjs/br-wizard.cjs.entry.js +1 -1
  80. package/dist/cjs/index-CRdcutym.js +4 -4
  81. package/dist/cjs/loader.cjs.js +1 -1
  82. package/dist/cjs/webcomponents.cjs.js +1 -1
  83. package/dist/collection/components/avatar/avatar.css +1 -1
  84. package/dist/collection/components/breadcrumb/breadcrumb.css +1 -1
  85. package/dist/collection/components/button/button.css +1 -1
  86. package/dist/collection/components/card/card.css +1 -1
  87. package/dist/collection/components/carousel/carousel-page/carousel-page.css +1 -1
  88. package/dist/collection/components/carousel/carousel.css +1 -1
  89. package/dist/collection/components/checkbox/checkbox.css +1 -1
  90. package/dist/collection/components/checkbox-group/checkbox-group.css +1 -1
  91. package/dist/collection/components/collapse/collapse.css +1 -1
  92. package/dist/collection/components/cookiebar/cookiebar-cookie/cookiebar-cookie.css +1 -1
  93. package/dist/collection/components/cookiebar/cookiebar-group/cookiebar-group.css +1 -1
  94. package/dist/collection/components/cookiebar/cookiebar-header/cookiebar-header.css +1 -1
  95. package/dist/collection/components/cookiebar/cookiebar-link/cookiebar-link.css +1 -1
  96. package/dist/collection/components/cookiebar/cookiebar-link/cookiebar-link.js +2 -1
  97. package/dist/collection/components/cookiebar/cookiebar-note/cookiebar-note.css +1 -1
  98. package/dist/collection/components/cookiebar/cookiebar-note-group/cookiebar-note-group.css +1 -1
  99. package/dist/collection/components/cookiebar/cookiebar.css +1 -1
  100. package/dist/collection/components/datetime-picker/date-picker/date-picker.css +1 -1
  101. package/dist/collection/components/datetime-picker/datetime-input/datetime-input.css +1 -1
  102. package/dist/collection/components/datetime-picker/datetime-input/datetime-input.js +2 -1
  103. package/dist/collection/components/datetime-picker/datetime-picker.css +1 -1
  104. package/dist/collection/components/datetime-picker/datetime-picker.js +1 -2
  105. package/dist/collection/components/datetime-picker/time-picker/time-picker.css +1 -1
  106. package/dist/collection/components/divider/divider.css +1 -1
  107. package/dist/collection/components/dropdown/dropdown.css +1 -1
  108. package/dist/collection/components/footer/footer-category/footer-category.css +1 -1
  109. package/dist/collection/components/footer/footer-item/footer-item.css +1 -1
  110. package/dist/collection/components/footer/footer-legal/footer-legal.css +1 -1
  111. package/dist/collection/components/footer/footer-logo/footer-logo.css +1 -1
  112. package/dist/collection/components/footer/footer-social/footer-social.css +1 -1
  113. package/dist/collection/components/footer/footer.css +1 -1
  114. package/dist/collection/components/header/header-function/header-function.css +1 -1
  115. package/dist/collection/components/header/header-link/header-link.css +1 -1
  116. package/dist/collection/components/header/header-list/header-list.css +1 -1
  117. package/dist/collection/components/header/header-logo/header-logo.css +1 -1
  118. package/dist/collection/components/header/header-logo/header-logo.js +2 -1
  119. package/dist/collection/components/header/header.css +1 -1
  120. package/dist/collection/components/icon/icon.css +1 -1
  121. package/dist/collection/components/icon/icon.js +1 -1
  122. package/dist/collection/components/input/input.css +1 -1
  123. package/dist/collection/components/item/item.css +1 -1
  124. package/dist/collection/components/item/item.js +25 -14
  125. package/dist/collection/components/link/link.css +1 -1
  126. package/dist/collection/components/link/link.js +2 -1
  127. package/dist/collection/components/list/list.css +1 -1
  128. package/dist/collection/components/loading/loading.css +1 -1
  129. package/dist/collection/components/magic-button/magic-button.css +1 -1
  130. package/dist/collection/components/magic-button/magic-button.js +2 -1
  131. package/dist/collection/components/menu/menu-group/menu-group.css +1 -1
  132. package/dist/collection/components/menu/menu-header/menu-header.css +1 -1
  133. package/dist/collection/components/menu/menu-info/menu-info.css +1 -1
  134. package/dist/collection/components/menu/menu-item/menu-item.css +1 -1
  135. package/dist/collection/components/menu/menu-link/menu-link.css +1 -1
  136. package/dist/collection/components/menu/menu-link/menu-link.js +2 -1
  137. package/dist/collection/components/menu/menu-list/menu-list.css +1 -1
  138. package/dist/collection/components/menu/menu-logo/menu-logo.css +1 -1
  139. package/dist/collection/components/menu/menu-social/menu-social.css +1 -1
  140. package/dist/collection/components/menu/menu.css +1 -1
  141. package/dist/collection/components/menu/menu.js +7 -11
  142. package/dist/collection/components/message/message.css +1 -1
  143. package/dist/collection/components/modal/modal.css +1 -1
  144. package/dist/collection/components/notification/notification-body/notification-body.css +1 -1
  145. package/dist/collection/components/notification/notification-header/notification-header.css +1 -1
  146. package/dist/collection/components/notification/notification-item/notification-item.css +1 -1
  147. package/dist/collection/components/notification/notification.css +1 -1
  148. package/dist/collection/components/pagination/pagination.css +1 -1
  149. package/dist/collection/components/radio/radio.css +1 -1
  150. package/dist/collection/components/radio-group/radio-group.css +1 -1
  151. package/dist/collection/components/radio-group/radio-group.js +2 -2
  152. package/dist/collection/components/scrim/scrim.css +1 -1
  153. package/dist/collection/components/select/select-input/select-input.css +1 -1
  154. package/dist/collection/components/select/select-input/select-input.js +2 -1
  155. package/dist/collection/components/select/select-list/select-list.css +1 -1
  156. package/dist/collection/components/select/select-list/select-list.js +17 -5
  157. package/dist/collection/components/select/select-option/select-option.css +1 -1
  158. package/dist/collection/components/select/select-option/select-option.js +28 -7
  159. package/dist/collection/components/select/select.css +1 -1
  160. package/dist/collection/components/select/select.js +235 -109
  161. package/dist/collection/components/select/select.utils.js +34 -0
  162. package/dist/collection/components/sign-in/sign-in.css +1 -1
  163. package/dist/collection/components/sign-in/sign-in.js +2 -1
  164. package/dist/collection/components/skip-link/skip-link-item/skip-link-item.css +1 -1
  165. package/dist/collection/components/skip-link/skip-link.css +1 -1
  166. package/dist/collection/components/slider/slider.css +1 -1
  167. package/dist/collection/components/slider/slider.js +1 -2
  168. package/dist/collection/components/step/step-item/step-item.css +1 -1
  169. package/dist/collection/components/step/step.css +1 -1
  170. package/dist/collection/components/switch/switch.css +1 -1
  171. package/dist/collection/components/tab/tab-item/tab-item.css +1 -1
  172. package/dist/collection/components/tab/tab.css +1 -1
  173. package/dist/collection/components/table/table-body/table-body.css +1 -1
  174. package/dist/collection/components/table/table-cell/table-cell.css +1 -1
  175. package/dist/collection/components/table/table-header/table-header.css +1 -1
  176. package/dist/collection/components/table/table-header-cell/table-header-cell.css +1 -1
  177. package/dist/collection/components/table/table-row/table-row.css +1 -1
  178. package/dist/collection/components/table/table.css +1 -1
  179. package/dist/collection/components/tag/tag.css +1 -1
  180. package/dist/collection/components/tag/tag.js +2 -3
  181. package/dist/collection/components/textarea/textarea.css +1 -1
  182. package/dist/collection/components/tooltip/tooltip.css +1 -1
  183. package/dist/collection/components/upload/upload.css +1 -1
  184. package/dist/collection/components/upload/upload.js +2 -3
  185. package/dist/collection/components/wizard/wizard-panel/wizard-panel.css +1 -1
  186. package/dist/collection/components/wizard/wizard.css +1 -1
  187. package/dist/collection/pages/scripts/component-controls.js +34 -4
  188. package/dist/collection/pages/scripts/menu.js +11 -2
  189. package/dist/collection/pages/scripts/pageLoader.js +20 -4
  190. package/dist/components/br-avatar.js +1 -1
  191. package/dist/components/br-breadcrumb.js +1 -1
  192. package/dist/components/br-button.js +1 -1
  193. package/dist/components/br-card.js +1 -1
  194. package/dist/components/br-carousel-page.js +1 -1
  195. package/dist/components/br-carousel.js +1 -1
  196. package/dist/components/br-checkbox-group.js +1 -1
  197. package/dist/components/br-checkbox.js +1 -1
  198. package/dist/components/br-checkgroup.js +1 -1
  199. package/dist/components/br-collapse.js +1 -1
  200. package/dist/components/br-cookiebar-cookie.js +1 -1
  201. package/dist/components/br-cookiebar-group.js +1 -1
  202. package/dist/components/br-cookiebar-header.js +1 -1
  203. package/dist/components/br-cookiebar-link.js +1 -1
  204. package/dist/components/br-cookiebar-note-group.js +1 -1
  205. package/dist/components/br-cookiebar-note.js +1 -1
  206. package/dist/components/br-cookiebar.js +1 -1
  207. package/dist/components/br-date-picker.js +1 -1
  208. package/dist/components/br-datetime-input.js +1 -1
  209. package/dist/components/br-datetime-picker.js +1 -1
  210. package/dist/components/br-divider.js +1 -1
  211. package/dist/components/br-dropdown.js +1 -1
  212. package/dist/components/br-footer-category.js +1 -1
  213. package/dist/components/br-footer-item.js +1 -1
  214. package/dist/components/br-footer-legal.js +1 -1
  215. package/dist/components/br-footer-logo.js +1 -1
  216. package/dist/components/br-footer-social.js +1 -1
  217. package/dist/components/br-footer.js +1 -1
  218. package/dist/components/br-header-function.js +1 -1
  219. package/dist/components/br-header-link.js +1 -1
  220. package/dist/components/br-header-list.js +1 -1
  221. package/dist/components/br-header-logo.js +1 -1
  222. package/dist/components/br-header.js +1 -1
  223. package/dist/components/br-icon.js +1 -1
  224. package/dist/components/br-input.js +1 -1
  225. package/dist/components/br-item.js +1 -1
  226. package/dist/components/br-link.js +1 -1
  227. package/dist/components/br-list.js +1 -1
  228. package/dist/components/br-loading.js +1 -1
  229. package/dist/components/br-magic-button.js +1 -1
  230. package/dist/components/br-menu-group.js +1 -1
  231. package/dist/components/br-menu-header.js +1 -1
  232. package/dist/components/br-menu-info.js +1 -1
  233. package/dist/components/br-menu-item.js +1 -1
  234. package/dist/components/br-menu-link.js +1 -1
  235. package/dist/components/br-menu-list.js +1 -1
  236. package/dist/components/br-menu-logo.js +1 -1
  237. package/dist/components/br-menu-social.js +1 -1
  238. package/dist/components/br-menu.js +1 -1
  239. package/dist/components/br-message.js +1 -1
  240. package/dist/components/br-modal.js +1 -1
  241. package/dist/components/br-notification-body.js +1 -1
  242. package/dist/components/br-notification-header.js +1 -1
  243. package/dist/components/br-notification-item.js +1 -1
  244. package/dist/components/br-notification.js +1 -1
  245. package/dist/components/br-pagination.js +1 -1
  246. package/dist/components/br-radio-group.js +1 -1
  247. package/dist/components/br-radio.js +1 -1
  248. package/dist/components/br-scrim.js +1 -1
  249. package/dist/components/br-select-input.js +1 -1
  250. package/dist/components/br-select-list.js +1 -1
  251. package/dist/components/br-select-option.js +1 -1
  252. package/dist/components/br-select.js +1 -1
  253. package/dist/components/br-sign-in.js +1 -1
  254. package/dist/components/br-skip-link-item.js +1 -1
  255. package/dist/components/br-skip-link.js +1 -1
  256. package/dist/components/br-skiplink-item.js +1 -1
  257. package/dist/components/br-slider.js +1 -1
  258. package/dist/components/br-step-item.js +1 -1
  259. package/dist/components/br-step.js +1 -1
  260. package/dist/components/br-switch.js +1 -1
  261. package/dist/components/br-tab-item.js +1 -1
  262. package/dist/components/br-tab.js +1 -1
  263. package/dist/components/br-table-body.js +1 -1
  264. package/dist/components/br-table-cell.js +1 -1
  265. package/dist/components/br-table-header-cell.js +1 -1
  266. package/dist/components/br-table-header.js +1 -1
  267. package/dist/components/br-table-row.js +1 -1
  268. package/dist/components/br-table.js +1 -1
  269. package/dist/components/br-tag.js +1 -1
  270. package/dist/components/br-textarea.js +1 -1
  271. package/dist/components/br-time-picker.js +1 -1
  272. package/dist/components/br-tooltip.js +1 -1
  273. package/dist/components/br-upload.js +1 -1
  274. package/dist/components/br-wizard-panel.js +1 -1
  275. package/dist/components/br-wizard.js +1 -1
  276. package/dist/components/index.js +1 -1
  277. package/dist/components/p-AmOh1cks.js +5 -0
  278. package/dist/components/p-B4ylcipx.js +5 -0
  279. package/dist/components/p-BCv4PCOx.js +5 -0
  280. package/dist/components/p-BLOyd_iF.js +5 -0
  281. package/dist/components/p-BODem6tr.js +5 -0
  282. package/dist/components/p-BeFK-82z.js +5 -0
  283. package/dist/components/p-BloE-KAN.js +5 -0
  284. package/dist/components/{p-DBP6K_aq.js → p-BoSc_kmY.js} +1 -1
  285. package/dist/components/p-BrH3r7eL.js +5 -0
  286. package/dist/components/{p-ttI0nvv_.js → p-BsZ0Ny88.js} +1 -1
  287. package/dist/components/{p-DoXNfcTT.js → p-ByHVf7zy.js} +1 -1
  288. package/dist/components/p-CdF-gmk1.js +5 -0
  289. package/dist/components/p-CfyjGPGI.js +5 -0
  290. package/dist/components/{p-D9SpD3Ay.js → p-CjF7pBVQ.js} +1 -1
  291. package/dist/components/p-ClqtllDH.js +5 -0
  292. package/dist/components/p-CqW2Yh34.js +5 -0
  293. package/dist/components/{p-C98-mHmV.js → p-DLE5ioJN.js} +1 -1
  294. package/dist/components/p-DRnCpVrL.js +5 -0
  295. package/dist/components/p-DVdlaP7z.js +5 -0
  296. package/dist/components/{p-41XwlWiS.js → p-DeeF6ok0.js} +1 -1
  297. package/dist/components/p-Dim2PnUm.js +5 -0
  298. package/dist/components/p-Dk8rfQjL.js +5 -0
  299. package/dist/components/{p-LmeJrLxH.js → p-DkmEpoef.js} +1 -1
  300. package/dist/components/p-DwfAYaEv.js +5 -0
  301. package/dist/components/p-P2Z_MmH6.js +5 -0
  302. package/dist/components/p-Xa0Mj4pP.js +5 -0
  303. package/dist/components/p-_vsQvdxD.js +5 -0
  304. package/dist/components/p-aNjo4Alx.js +5 -0
  305. package/dist/components/{p-DYnkGWii.js → p-rB-s1M3Q.js} +1 -1
  306. package/dist/esm/br-avatar.entry.js +1 -1
  307. package/dist/esm/br-breadcrumb.entry.js +1 -1
  308. package/dist/esm/br-button_2.entry.js +2 -2
  309. package/dist/esm/br-card.entry.js +1 -1
  310. package/dist/esm/br-carousel-page.entry.js +1 -1
  311. package/dist/esm/br-carousel.entry.js +1 -1
  312. package/dist/esm/br-checkbox-group.entry.js +1 -1
  313. package/dist/esm/br-checkbox.entry.js +1 -1
  314. package/dist/esm/br-collapse_2.entry.js +2 -2
  315. package/dist/esm/br-cookiebar-cookie.entry.js +1 -1
  316. package/dist/esm/br-cookiebar-group.entry.js +1 -1
  317. package/dist/esm/br-cookiebar-header.entry.js +1 -1
  318. package/dist/esm/br-cookiebar-link.entry.js +3 -2
  319. package/dist/esm/br-cookiebar-note-group.entry.js +1 -1
  320. package/dist/esm/br-cookiebar-note.entry.js +1 -1
  321. package/dist/esm/br-cookiebar.entry.js +1 -1
  322. package/dist/esm/br-date-picker_3.entry.js +5 -4
  323. package/dist/esm/br-datetime-picker.entry.js +2 -3
  324. package/dist/esm/br-divider.entry.js +1 -1
  325. package/dist/esm/br-dropdown_2.entry.js +263 -110
  326. package/dist/esm/br-footer-category.entry.js +1 -1
  327. package/dist/esm/br-footer-item.entry.js +1 -1
  328. package/dist/esm/br-footer-legal.entry.js +1 -1
  329. package/dist/esm/br-footer-logo.entry.js +1 -1
  330. package/dist/esm/br-footer-social.entry.js +1 -1
  331. package/dist/esm/br-footer.entry.js +1 -1
  332. package/dist/esm/br-header-function.entry.js +1 -1
  333. package/dist/esm/br-header-link.entry.js +1 -1
  334. package/dist/esm/br-header-list.entry.js +1 -1
  335. package/dist/esm/br-header-logo.entry.js +3 -2
  336. package/dist/esm/br-header.entry.js +1 -1
  337. package/dist/esm/br-icon.entry.js +2 -2
  338. package/dist/esm/br-input.entry.js +1 -1
  339. package/dist/esm/br-item.entry.js +26 -15
  340. package/dist/esm/br-link.entry.js +3 -2
  341. package/dist/esm/br-loading.entry.js +1 -1
  342. package/dist/esm/br-magic-button.entry.js +3 -2
  343. package/dist/esm/br-menu-group.entry.js +1 -1
  344. package/dist/esm/br-menu-header.entry.js +1 -1
  345. package/dist/esm/br-menu-info.entry.js +1 -1
  346. package/dist/esm/br-menu-item.entry.js +1 -1
  347. package/dist/esm/br-menu-link.entry.js +3 -2
  348. package/dist/esm/br-menu-list.entry.js +1 -1
  349. package/dist/esm/br-menu-logo.entry.js +1 -1
  350. package/dist/esm/br-menu-social.entry.js +1 -1
  351. package/dist/esm/br-menu.entry.js +7 -11
  352. package/dist/esm/br-modal.entry.js +1 -1
  353. package/dist/esm/br-notification-body.entry.js +1 -1
  354. package/dist/esm/br-notification-header.entry.js +1 -1
  355. package/dist/esm/br-notification-item.entry.js +1 -1
  356. package/dist/esm/br-notification.entry.js +1 -1
  357. package/dist/esm/br-pagination.entry.js +1 -1
  358. package/dist/esm/br-radio-group.entry.js +2 -2
  359. package/dist/esm/br-radio.entry.js +1 -1
  360. package/dist/esm/br-scrim.entry.js +1 -1
  361. package/dist/esm/br-select-input_3.entry.js +48 -14
  362. package/dist/esm/br-sign-in.entry.js +3 -2
  363. package/dist/esm/br-skip-link.entry.js +1 -1
  364. package/dist/esm/br-skiplink-item.entry.js +1 -1
  365. package/dist/esm/br-slider.entry.js +2 -3
  366. package/dist/esm/br-step_2.entry.js +2 -2
  367. package/dist/esm/br-switch.entry.js +1 -1
  368. package/dist/esm/br-tab-item.entry.js +1 -1
  369. package/dist/esm/br-tab.entry.js +1 -1
  370. package/dist/esm/br-table-body.entry.js +1 -1
  371. package/dist/esm/br-table-cell.entry.js +1 -1
  372. package/dist/esm/br-table-header-cell.entry.js +1 -1
  373. package/dist/esm/br-table-header.entry.js +1 -1
  374. package/dist/esm/br-table-row.entry.js +1 -1
  375. package/dist/esm/br-table.entry.js +1 -1
  376. package/dist/esm/br-tag.entry.js +3 -4
  377. package/dist/esm/br-textarea.entry.js +1 -1
  378. package/dist/esm/br-tooltip.entry.js +1 -1
  379. package/dist/esm/br-upload.entry.js +3 -4
  380. package/dist/esm/br-wizard-panel.entry.js +1 -1
  381. package/dist/esm/br-wizard.entry.js +1 -1
  382. package/dist/esm/index-C2RBydfd.js +4 -4
  383. package/dist/esm/loader.js +1 -1
  384. package/dist/esm/webcomponents.js +1 -1
  385. package/dist/hydrate/index.js +457 -259
  386. package/dist/hydrate/index.mjs +457 -259
  387. package/dist/types/components/item/item.d.ts +1 -0
  388. package/dist/types/components/menu/menu.d.ts +3 -3
  389. package/dist/types/components/radio-group/radio-group.d.ts +1 -1
  390. package/dist/types/components/select/select-list/select-list.d.ts +1 -0
  391. package/dist/types/components/select/select-option/select-option.d.ts +1 -0
  392. package/dist/types/components/select/select.d.ts +14 -0
  393. package/dist/types/components/select/select.types.d.ts +2 -0
  394. package/dist/types/components/select/select.utils.d.ts +13 -0
  395. package/dist/types/components.d.ts +6 -6
  396. package/dist/webcomponents/p-00cc31f9.entry.js +5 -0
  397. package/dist/webcomponents/p-026475bd.entry.js +5 -0
  398. package/dist/webcomponents/p-0291ab28.entry.js +5 -0
  399. package/dist/webcomponents/p-03e5a7dc.entry.js +5 -0
  400. package/dist/webcomponents/{p-966ad32f.entry.js → p-060df8ee.entry.js} +1 -1
  401. package/dist/webcomponents/{p-f078f972.entry.js → p-09fce2a5.entry.js} +1 -1
  402. package/dist/webcomponents/p-1002bbff.entry.js +5 -0
  403. package/dist/webcomponents/{p-45356e9a.entry.js → p-1124de33.entry.js} +1 -1
  404. package/dist/webcomponents/p-12e97d80.entry.js +5 -0
  405. package/dist/webcomponents/p-1b19b191.entry.js +5 -0
  406. package/dist/webcomponents/p-2baf353b.entry.js +5 -0
  407. package/dist/webcomponents/{p-c846e784.entry.js → p-2eb9a42c.entry.js} +1 -1
  408. package/dist/webcomponents/{p-a382e115.entry.js → p-30c82805.entry.js} +1 -1
  409. package/dist/webcomponents/p-31bd1c74.entry.js +5 -0
  410. package/dist/webcomponents/{p-224daaac.entry.js → p-31db2313.entry.js} +1 -1
  411. package/dist/webcomponents/{p-d38d82cc.entry.js → p-33a3dc63.entry.js} +1 -1
  412. package/dist/webcomponents/{p-c211af17.entry.js → p-3889c51f.entry.js} +1 -1
  413. package/dist/webcomponents/{p-5ce7db4a.entry.js → p-3f2c179a.entry.js} +1 -1
  414. package/dist/webcomponents/{p-82200563.entry.js → p-470eb770.entry.js} +1 -1
  415. package/dist/webcomponents/p-4ae387ae.entry.js +5 -0
  416. package/dist/webcomponents/p-4e65df84.entry.js +5 -0
  417. package/dist/webcomponents/p-51a62876.entry.js +5 -0
  418. package/dist/webcomponents/p-5860b96b.entry.js +5 -0
  419. package/dist/webcomponents/p-5b9c01e9.entry.js +5 -0
  420. package/dist/webcomponents/{p-0caa4d12.entry.js → p-5df2f1dd.entry.js} +1 -1
  421. package/dist/webcomponents/p-5f3f7b3f.entry.js +5 -0
  422. package/dist/webcomponents/{p-1d6b0b6f.entry.js → p-5f9c28a7.entry.js} +1 -1
  423. package/dist/webcomponents/p-62511921.entry.js +5 -0
  424. package/dist/webcomponents/p-63b52947.entry.js +5 -0
  425. package/dist/webcomponents/p-67a8e0b7.entry.js +5 -0
  426. package/dist/webcomponents/p-7b2a5fec.entry.js +5 -0
  427. package/dist/webcomponents/p-7f95e2f5.entry.js +5 -0
  428. package/dist/webcomponents/p-8128833c.entry.js +5 -0
  429. package/dist/webcomponents/p-8200ccb1.entry.js +5 -0
  430. package/dist/webcomponents/{p-5b257a4b.entry.js → p-82b100fd.entry.js} +1 -1
  431. package/dist/webcomponents/p-8806df15.entry.js +5 -0
  432. package/dist/webcomponents/p-881eb81a.entry.js +5 -0
  433. package/dist/webcomponents/{p-0d4f718d.entry.js → p-8bd3d541.entry.js} +1 -1
  434. package/dist/webcomponents/p-90648343.entry.js +5 -0
  435. package/dist/webcomponents/p-9100a5f7.entry.js +5 -0
  436. package/dist/webcomponents/p-91313d77.entry.js +5 -0
  437. package/dist/webcomponents/{p-0196804a.entry.js → p-946b2ac0.entry.js} +1 -1
  438. package/dist/webcomponents/{p-569134cf.entry.js → p-98e7ccb9.entry.js} +1 -1
  439. package/dist/webcomponents/{p-9679d230.entry.js → p-99f2bddb.entry.js} +1 -1
  440. package/dist/webcomponents/p-9adbdb0a.entry.js +5 -0
  441. package/dist/webcomponents/p-9c260049.entry.js +5 -0
  442. package/dist/webcomponents/p-9ed51017.entry.js +5 -0
  443. package/dist/webcomponents/p-a0b299dd.entry.js +5 -0
  444. package/dist/webcomponents/p-a2c5fad0.entry.js +5 -0
  445. package/dist/webcomponents/p-a3e044d7.entry.js +5 -0
  446. package/dist/webcomponents/p-a9f23aa7.entry.js +5 -0
  447. package/dist/webcomponents/p-a9f2fcbc.entry.js +5 -0
  448. package/dist/webcomponents/p-b6c68136.entry.js +5 -0
  449. package/dist/webcomponents/{p-52df61cb.entry.js → p-b6e9b8d1.entry.js} +1 -1
  450. package/dist/webcomponents/p-c333eac6.entry.js +5 -0
  451. package/dist/webcomponents/p-c3732fd6.entry.js +5 -0
  452. package/dist/webcomponents/p-c458ed0e.entry.js +5 -0
  453. package/dist/webcomponents/{p-60cc820c.entry.js → p-c91000ff.entry.js} +1 -1
  454. package/dist/webcomponents/p-c9c6ab2d.entry.js +5 -0
  455. package/dist/webcomponents/p-cd2550d6.entry.js +5 -0
  456. package/dist/webcomponents/p-cf42613f.entry.js +5 -0
  457. package/dist/webcomponents/{p-a9ff7c25.entry.js → p-d0b0b420.entry.js} +1 -1
  458. package/dist/webcomponents/p-d1b32ee8.entry.js +5 -0
  459. package/dist/webcomponents/{p-66b13fd9.entry.js → p-db65b083.entry.js} +1 -1
  460. package/dist/webcomponents/p-de7c101d.entry.js +5 -0
  461. package/dist/webcomponents/p-dfb77dd0.entry.js +5 -0
  462. package/dist/webcomponents/{p-d1e899cd.entry.js → p-e258da78.entry.js} +1 -1
  463. package/dist/webcomponents/p-e31ddd42.entry.js +5 -0
  464. package/dist/webcomponents/p-e8d82227.entry.js +5 -0
  465. package/dist/webcomponents/p-e988cf1d.entry.js +5 -0
  466. package/dist/webcomponents/p-ed9122a1.entry.js +5 -0
  467. package/dist/webcomponents/p-ee347d2e.entry.js +5 -0
  468. package/dist/webcomponents/{p-2abd2da0.entry.js → p-f1c01d52.entry.js} +1 -1
  469. package/dist/webcomponents/p-f5baf8be.entry.js +5 -0
  470. package/dist/webcomponents/{p-96dd663b.entry.js → p-fb593739.entry.js} +1 -1
  471. package/dist/webcomponents/p-fff9acd4.entry.js +5 -0
  472. package/dist/webcomponents/webcomponents.esm.js +1 -1
  473. package/package.json +3 -7
  474. package/dist/components/p-0IYmyaTi.js +0 -5
  475. package/dist/components/p-B-sbd1_h.js +0 -5
  476. package/dist/components/p-BPJpHGOW.js +0 -5
  477. package/dist/components/p-BW0_ORNA.js +0 -5
  478. package/dist/components/p-Bm0ECvfB.js +0 -5
  479. package/dist/components/p-C3LQSQpc.js +0 -5
  480. package/dist/components/p-CDZFuUlU.js +0 -5
  481. package/dist/components/p-CRfi23Rd.js +0 -5
  482. package/dist/components/p-CUI5zWGf.js +0 -5
  483. package/dist/components/p-CxviDiCr.js +0 -5
  484. package/dist/components/p-D6zroLx5.js +0 -5
  485. package/dist/components/p-DCrVo-8T.js +0 -5
  486. package/dist/components/p-DWPmUV72.js +0 -5
  487. package/dist/components/p-D_CSvOY9.js +0 -5
  488. package/dist/components/p-DaeGwqw0.js +0 -5
  489. package/dist/components/p-Dkg2scYZ.js +0 -5
  490. package/dist/components/p-DvrdmqoQ.js +0 -5
  491. package/dist/components/p-TFWd_UBV.js +0 -5
  492. package/dist/components/p-aF8bGN3t.js +0 -5
  493. package/dist/components/p-cfPt-vKA.js +0 -5
  494. package/dist/components/p-nJOJGpyl.js +0 -5
  495. package/dist/webcomponents/p-0410186a.entry.js +0 -5
  496. package/dist/webcomponents/p-0415ef22.entry.js +0 -5
  497. package/dist/webcomponents/p-059c3d6c.entry.js +0 -5
  498. package/dist/webcomponents/p-0b8f39bc.entry.js +0 -5
  499. package/dist/webcomponents/p-0e84c9e8.entry.js +0 -5
  500. package/dist/webcomponents/p-147ac8d3.entry.js +0 -5
  501. package/dist/webcomponents/p-1b138f1c.entry.js +0 -5
  502. package/dist/webcomponents/p-1bca4499.entry.js +0 -5
  503. package/dist/webcomponents/p-1d8cb8fd.entry.js +0 -5
  504. package/dist/webcomponents/p-22443c08.entry.js +0 -5
  505. package/dist/webcomponents/p-28426d2a.entry.js +0 -5
  506. package/dist/webcomponents/p-2fdc51ae.entry.js +0 -5
  507. package/dist/webcomponents/p-30c428b6.entry.js +0 -5
  508. package/dist/webcomponents/p-36bbea4e.entry.js +0 -5
  509. package/dist/webcomponents/p-3907ebfa.entry.js +0 -5
  510. package/dist/webcomponents/p-39a16f9d.entry.js +0 -5
  511. package/dist/webcomponents/p-3ebbd2f5.entry.js +0 -5
  512. package/dist/webcomponents/p-3ef7eac8.entry.js +0 -5
  513. package/dist/webcomponents/p-46513db4.entry.js +0 -5
  514. package/dist/webcomponents/p-4fe12a72.entry.js +0 -5
  515. package/dist/webcomponents/p-5f373708.entry.js +0 -5
  516. package/dist/webcomponents/p-5fc7ba4c.entry.js +0 -5
  517. package/dist/webcomponents/p-66006312.entry.js +0 -5
  518. package/dist/webcomponents/p-6c5f6cb6.entry.js +0 -5
  519. package/dist/webcomponents/p-6f1c4425.entry.js +0 -5
  520. package/dist/webcomponents/p-750799b7.entry.js +0 -5
  521. package/dist/webcomponents/p-756ff2ad.entry.js +0 -5
  522. package/dist/webcomponents/p-765bfe27.entry.js +0 -5
  523. package/dist/webcomponents/p-7ab96c11.entry.js +0 -5
  524. package/dist/webcomponents/p-7c2ff8b4.entry.js +0 -5
  525. package/dist/webcomponents/p-7cf9f4e5.entry.js +0 -5
  526. package/dist/webcomponents/p-7e1856e4.entry.js +0 -5
  527. package/dist/webcomponents/p-7fb03a49.entry.js +0 -5
  528. package/dist/webcomponents/p-85f8063b.entry.js +0 -5
  529. package/dist/webcomponents/p-8b558233.entry.js +0 -5
  530. package/dist/webcomponents/p-8e6c2767.entry.js +0 -5
  531. package/dist/webcomponents/p-98843fa3.entry.js +0 -5
  532. package/dist/webcomponents/p-9a375eff.entry.js +0 -5
  533. package/dist/webcomponents/p-9b358cff.entry.js +0 -5
  534. package/dist/webcomponents/p-9f7558c7.entry.js +0 -5
  535. package/dist/webcomponents/p-bba9fc09.entry.js +0 -5
  536. package/dist/webcomponents/p-c0b0f531.entry.js +0 -5
  537. package/dist/webcomponents/p-c492d926.entry.js +0 -5
  538. package/dist/webcomponents/p-c4cfe599.entry.js +0 -5
  539. package/dist/webcomponents/p-cedb8eea.entry.js +0 -5
  540. package/dist/webcomponents/p-dba376cb.entry.js +0 -5
  541. package/dist/webcomponents/p-e0ce536a.entry.js +0 -5
  542. package/dist/webcomponents/p-e1331288.entry.js +0 -5
  543. package/dist/webcomponents/p-e360a463.entry.js +0 -5
  544. package/dist/webcomponents/p-e80a1eb0.entry.js +0 -5
  545. package/dist/webcomponents/p-f6318e94.entry.js +0 -5
  546. package/dist/webcomponents/p-fcd4ae48.entry.js +0 -5
@@ -14,7 +14,7 @@ var validator = require('./validator-CTCajtT9.js');
14
14
  var slot = require('./slot-DAllytTj.js');
15
15
  require('./floating-ui.dom-BUSTaaxR.js');
16
16
 
17
- const dropdownCss = () => `*,*::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{display:inline-block;position:relative}:host #trigger{display:inline-flex;align-items:center;cursor:pointer;outline:none}:host [part=trigger-arrow]{margin-left:var(--spacing-scale-half)}:host #trigger::slotted([slot=trigger]):focus:focus{outline:none}:host #trigger::slotted([slot=trigger]):focus.focus-visible,:host #trigger::slotted([slot=trigger]):focus:focus-visible{outline-color:var(--focus);outline-offset:var(--focus-offset);outline-style:var(--focus-style);outline-width:var(--focus-width)}:host ::slotted([slot=target] *:focus):focus{outline:none}:host ::slotted([slot=target] *:focus).focus-visible,:host ::slotted([slot=target] *:focus):focus-visible{outline-color:var(--focus);outline-offset:var(--focus-offset);outline-style:var(--focus-style);outline-width:var(--focus-width)}:host #target{display:none;position:absolute;z-index:var(--z-index-layer-1);box-shadow:var(--surface-shadow-sm);border-radius:0}:host #target:focus:focus{outline:none}:host #target:focus.focus-visible,:host #target:focus:focus-visible{outline-color:var(--focus);outline-offset:var(--focus-offset);outline-style:var(--focus-style);outline-width:var(--focus-width)}:host([arrow-position=left]) [part=trigger-arrow]{margin-left:0;margin-right:var(--spacing-scale-half)}:host([is-open]) #target{display:block;width:max-content}@media (max-width: 575px){:host([is-open]) #target{width:100vw !important;max-width:100vw !important}}`;
17
+ const dropdownCss = () => `*,*::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))}.col-sm-4{flex-basis:33.3333333333%;max-width:33.3333333333%}}@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))}.col-lg-3{flex-basis:25%;max-width:25%}}@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{display:inline-block;position:relative}:host #trigger{display:inline-flex;align-items:center;cursor:pointer;outline:none}:host [part=trigger-arrow]{margin-left:var(--spacing-scale-half)}:host #trigger::slotted([slot=trigger]):focus:focus{outline:none}:host #trigger::slotted([slot=trigger]):focus.focus-visible,:host #trigger::slotted([slot=trigger]):focus:focus-visible{outline-color:var(--focus);outline-offset:var(--focus-offset);outline-style:var(--focus-style);outline-width:var(--focus-width)}:host ::slotted([slot=target] *:focus):focus{outline:none}:host ::slotted([slot=target] *:focus).focus-visible,:host ::slotted([slot=target] *:focus):focus-visible{outline-color:var(--focus);outline-offset:var(--focus-offset);outline-style:var(--focus-style);outline-width:var(--focus-width)}:host #target{display:none;position:absolute;z-index:var(--z-index-layer-1);box-shadow:var(--surface-shadow-sm);border-radius:0}:host #target:focus:focus{outline:none}:host #target:focus.focus-visible,:host #target:focus:focus-visible{outline-color:var(--focus);outline-offset:var(--focus-offset);outline-style:var(--focus-style);outline-width:var(--focus-width)}:host([arrow-position=left]) [part=trigger-arrow]{margin-left:0;margin-right:var(--spacing-scale-half)}:host([is-open]) #target{display:block;width:max-content}@media (max-width: 575px){:host([is-open]) #target{width:100vw !important;max-width:100vw !important}}`;
18
18
 
19
19
  const Dropdown = class {
20
20
  constructor(hostRef) {
@@ -577,7 +577,38 @@ const Dropdown = class {
577
577
  };
578
578
  Dropdown.style = dropdownCss();
579
579
 
580
- const selectCss = () => `*,*::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-select{--select-divider:1px solid var(--color-secondary-04);--select-shadow:var(--surface-shadow-md)}.br-select .br-input input{padding-right:29px;text-overflow:ellipsis}.br-select .br-input input::after{bottom:0;padding:0 5px;position:absolute;right:0}.br-select{max-width:400px;min-width:100px;position:relative}.br-select .br-list{background:var(--bg-color);box-shadow:var(--select-shadow);display:none;margin-top:-2px;max-height:404px;overflow:auto;position:absolute;resize:none;width:100%;z-index:1}.br-select .br-list::-webkit-scrollbar{height:var(--spacing-scale-base);width:var(--spacing-scale-base)}.br-select .br-list::-webkit-scrollbar-track{background:var(--gray-10)}.br-select .br-list::-webkit-scrollbar-thumb{background:var(--gray-30)}.br-select .br-list:hover::-webkit-scrollbar-thumb{background:var(--gray-40)}.br-select .br-list:focus,.br-select .br-list:active{color:var(--color-secondary-09);outline:none}.br-select .br-list:hover::-webkit-scrollbar-thumb{background:var(--color-secondary-07)}.br-select .br-list[expanded]{display:block}.br-select .br-item{--color:var(--color-light);--color-rgb:var(--color-light-rgb);--text-color:var(--color-light);--interactive:var(--interactive-light);--interactive-rgb:var(--interactive-light-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)}.br-select .br-item .content{padding:0}.br-select .br-item .br-checkbox,.br-select .br-item .br-radio{--item-padding-x:var(--spacing-scale-2x);--item-padding-y:var(--spacing-scale-2x)}.br-select .br-item .br-checkbox input:hover:not(:disabled)+label::before,.br-select .br-item .br-radio input:hover:not(:disabled)+label::before{background-image:none}.br-select .br-item .br-checkbox input+label,.br-select .br-item .br-radio input+label{padding-left:calc(var(--checkbox-padding) + var(--checkbox-size) + var(--item-padding-x))}.br-select .br-item .br-radio input+label{color:var(--text-color);display:block;height:auto;min-height:0;padding:var(--item-padding)}.br-select .br-item .br-radio input+label::before,.br-select .br-item .br-radio input+label::after{content:none}.br-select .br-item:not(:last-child){border-bottom:var(--select-divider)}.br-select .br-item:not([disabled]){--focus-offset:calc(var(--spacing-scale-half) * -1)}.br-select .br-item:not([disabled]):focus{outline:none}.br-select .br-item:not([disabled]).focus-visible,.br-select .br-item:not([disabled]):focus-visible{outline-color:var(--focus);outline-offset:var(--focus-offset);outline-style:var(--focus-style);outline-width:var(--focus-width)}.br-select .br-item:not([disabled]):not(:disabled):hover{background-image:linear-gradient(rgba(var(--color-rgb), var(--hover)), rgba(var(--color-rgb), var(--hover)))}.br-select .br-item.selected,.br-select .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)}.br-select .br-item.selected:focus,.br-select .br-item[selected]:focus{outline:none}.br-select .br-item.selected.focus-visible,.br-select .br-item.selected:focus-visible,.br-select .br-item[selected].focus-visible,.br-select .br-item[selected]:focus-visible{outline-color:var(--focus);outline-offset:var(--focus-offset);outline-style:var(--focus-style);outline-width:var(--focus-width)}.br-select .br-item.selected:not(:disabled):hover,.br-select .br-item[selected]:not(:disabled):hover{background-image:linear-gradient(rgba(var(--color-rgb), var(--hover)), rgba(var(--color-rgb), var(--hover)))}.br-select .br-item.disabled{line-height:calc(var(--font-line-height-high)*2);padding-left:calc(var(--item-padding) + var(--spacing-scale-base))}.br-select.inverted .br-input,.br-select.inverted .br-input label,.br-select.dark-mode .br-input,.br-select.dark-mode .br-input label{--color:var(--color-dark);--focus-color:var(--focus-color-dark)}:host{display:inline-block}.br-select{min-width:100px;max-width:400px;position:relative}:host([multiple]) .br-select{min-width:200px}`;
580
+ function transitionSelection({ currentValues, multiple, value, selected, selectableValues = [], }) {
581
+ const current = [...new Set(currentValues)];
582
+ if (!multiple) {
583
+ const values = selected && value ? [value] : [];
584
+ return { values, changed: values.length !== current.length || values[0] !== current[0] };
585
+ }
586
+ if (!value && selectableValues.length > 0) {
587
+ const values = selected ? [...new Set(selectableValues)] : [];
588
+ return {
589
+ values,
590
+ changed: values.length !== current.length || values.some((item, index) => item !== current[index]),
591
+ };
592
+ }
593
+ const next = new Set(current);
594
+ if (selected)
595
+ next.add(value);
596
+ else
597
+ next.delete(value);
598
+ const values = [...next];
599
+ return { values, changed: values.length !== current.length || values.some((item, index) => item !== current[index]) };
600
+ }
601
+ function transitionAllSelection(currentValues, selected, selectableValues) {
602
+ return transitionSelection({
603
+ currentValues,
604
+ multiple: true,
605
+ value: '',
606
+ selected,
607
+ selectableValues,
608
+ });
609
+ }
610
+
611
+ const selectCss = () => `*,*::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))}.col-sm-4{flex-basis:33.3333333333%;max-width:33.3333333333%}}@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))}.col-lg-3{flex-basis:25%;max-width:25%}}@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-select{--select-divider:1px solid var(--color-secondary-04);--select-shadow:var(--surface-shadow-md)}.br-select .br-input input{padding-right:29px;text-overflow:ellipsis}.br-select .br-input input::after{bottom:0;padding:0 5px;position:absolute;right:0}.br-select{max-width:400px;min-width:100px;position:relative}.br-select .br-list{background:var(--bg-color);box-shadow:var(--select-shadow);display:none;margin-top:-2px;max-height:404px;overflow:auto;position:absolute;resize:none;width:100%;z-index:1}.br-select .br-list::-webkit-scrollbar{height:var(--spacing-scale-base);width:var(--spacing-scale-base)}.br-select .br-list::-webkit-scrollbar-track{background:var(--gray-10)}.br-select .br-list::-webkit-scrollbar-thumb{background:var(--gray-30)}.br-select .br-list:hover::-webkit-scrollbar-thumb{background:var(--gray-40)}.br-select .br-list:focus,.br-select .br-list:active{color:var(--color-secondary-09);outline:none}.br-select .br-list:hover::-webkit-scrollbar-thumb{background:var(--color-secondary-07)}.br-select .br-list[expanded]{display:block}.br-select .br-item{--color:var(--color-light);--color-rgb:var(--color-light-rgb);--text-color:var(--color-light);--interactive:var(--interactive-light);--interactive-rgb:var(--interactive-light-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)}.br-select .br-item .content{padding:0}.br-select .br-item .br-checkbox,.br-select .br-item .br-radio{--item-padding-x:var(--spacing-scale-2x);--item-padding-y:var(--spacing-scale-2x)}.br-select .br-item .br-checkbox input:hover:not(:disabled)+label::before,.br-select .br-item .br-radio input:hover:not(:disabled)+label::before{background-image:none}.br-select .br-item .br-checkbox input+label,.br-select .br-item .br-radio input+label{padding-left:calc(var(--checkbox-padding) + var(--checkbox-size) + var(--item-padding-x))}.br-select .br-item .br-radio input+label{color:var(--text-color);display:block;height:auto;min-height:0;padding:var(--item-padding)}.br-select .br-item .br-radio input+label::before,.br-select .br-item .br-radio input+label::after{content:none}.br-select .br-item:not(:last-child){border-bottom:var(--select-divider)}.br-select .br-item:not([disabled]){--focus-offset:calc(var(--spacing-scale-half) * -1)}.br-select .br-item:not([disabled]):focus{outline:none}.br-select .br-item:not([disabled]).focus-visible,.br-select .br-item:not([disabled]):focus-visible{outline-color:var(--focus);outline-offset:var(--focus-offset);outline-style:var(--focus-style);outline-width:var(--focus-width)}.br-select .br-item:not([disabled]):not(:disabled):hover{background-image:linear-gradient(rgba(var(--color-rgb), var(--hover)), rgba(var(--color-rgb), var(--hover)))}.br-select .br-item.selected,.br-select .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)}.br-select .br-item.selected:focus,.br-select .br-item[selected]:focus{outline:none}.br-select .br-item.selected.focus-visible,.br-select .br-item.selected:focus-visible,.br-select .br-item[selected].focus-visible,.br-select .br-item[selected]:focus-visible{outline-color:var(--focus);outline-offset:var(--focus-offset);outline-style:var(--focus-style);outline-width:var(--focus-width)}.br-select .br-item.selected:not(:disabled):hover,.br-select .br-item[selected]:not(:disabled):hover{background-image:linear-gradient(rgba(var(--color-rgb), var(--hover)), rgba(var(--color-rgb), var(--hover)))}.br-select .br-item.disabled{line-height:calc(var(--font-line-height-high)*2);padding-left:calc(var(--item-padding) + var(--spacing-scale-base))}.br-select.inverted .br-input,.br-select.inverted .br-input label,.br-select.dark-mode .br-input,.br-select.dark-mode .br-input label{--color:var(--color-dark);--focus-color:var(--focus-color-dark)}:host{display:inline-block}.br-select{min-width:100px;max-width:400px;position:relative}:host([multiple]) .br-select{min-width:200px}`;
581
612
 
582
613
  let selectId = 0;
583
614
  const Select = class {
@@ -747,6 +778,7 @@ const Select = class {
747
778
  this.validatorMessage = null;
748
779
  this.hasFeedbackSlot = false;
749
780
  this.hasValidationLoadingSlot = false;
781
+ this.selectedValuesState = [];
750
782
  this.customValidationMessage = '';
751
783
  this.validationRunId = 0;
752
784
  this.lastAnnouncedOpen = false;
@@ -754,6 +786,9 @@ const Select = class {
754
786
  this.suppressValueChange = false;
755
787
  this.hasImperativeOptions = false;
756
788
  this.remoteSelectedOptions = new Map();
789
+ this.selectionInitialized = false;
790
+ this.selectedValues = [];
791
+ this.suppressFocusOpen = false;
757
792
  /**
758
793
  * Sincroniza as opções declaradas no slot com a lista interna renderizada.
759
794
  *
@@ -764,10 +799,11 @@ const Select = class {
764
799
  this.syncOptionsFromSlot = (updateDisplayValue = true) => {
765
800
  if (this.hasImperativeOptions)
766
801
  return;
767
- const nodes = this.slotElement?.assignedNodes({ flatten: true }) ?? [];
802
+ const nodes = this.slotElement?.assignedNodes({ flatten: true }) ?? Array.from(this.el.childNodes);
768
803
  const options = nodes.map((n) => this.nodeToOption(n)).filter((o) => Boolean(o));
769
804
  // Envia opções para o br-select-list
770
- this.selectListElement?.setOptions(options);
805
+ if (this.selectListElement)
806
+ this.selectListElement.options = this.getListOptions(options);
771
807
  if (updateDisplayValue)
772
808
  this.syncDisplayValue(options);
773
809
  };
@@ -797,6 +833,10 @@ const Select = class {
797
833
  this.setSelectionMode(this.effectiveMultiple);
798
834
  const initialOptions = this.getHostOptions();
799
835
  const propOptions = this.getOptionsProp();
836
+ const sourceOptions = initialOptions.length === 0 && propOptions.length > 0 ? propOptions : initialOptions;
837
+ this.setSelectedValues(this.valueFromPublicValue(this.value) ??
838
+ sourceOptions.filter((option) => option.selected).map((option) => option.value));
839
+ this.selectionInitialized = true;
800
840
  if (initialOptions.length === 0 && propOptions.length > 0) {
801
841
  this.pendingOptions = propOptions;
802
842
  this.syncDisplayValue(propOptions);
@@ -818,7 +858,7 @@ const Select = class {
818
858
  this.slotElement.addEventListener('slotchange', this.handleSlotChange);
819
859
  }
820
860
  if (this.pendingOptions && this.selectListElement) {
821
- this.selectListElement.setOptions(this.pendingOptions);
861
+ this.selectListElement.options = this.getListOptions(this.pendingOptions);
822
862
  this.pendingOptions = null;
823
863
  }
824
864
  this.isValueChangeReady = true;
@@ -827,6 +867,10 @@ const Select = class {
827
867
  this.attachBlockingSurfaceListener();
828
868
  this.updateValidity();
829
869
  }
870
+ componentDidRender() {
871
+ this.syncNativeSelectSelection();
872
+ this.updateValidity();
873
+ }
830
874
  disconnectedCallback() {
831
875
  if (this.slotElement) {
832
876
  this.slotElement.removeEventListener('slotchange', this.handleSlotChange);
@@ -843,6 +887,47 @@ const Select = class {
843
887
  get effectiveOpen() {
844
888
  return this.open ?? this.isOpen;
845
889
  }
890
+ valueFromPublicValue(value) {
891
+ if (this.effectiveMultiple)
892
+ return Array.isArray(value) ? [...new Set(value.filter(Boolean))] : null;
893
+ return typeof value === 'string' && value ? [value] : null;
894
+ }
895
+ setSelectedValues(values) {
896
+ const next = [...new Set(values.filter(Boolean))];
897
+ if (!this.effectiveMultiple && next.length > 1)
898
+ next.splice(1);
899
+ if (this.selectedValues.length === next.length &&
900
+ this.selectedValues.every((value, index) => value === next[index]))
901
+ return;
902
+ this.selectedValues = next;
903
+ this.selectedValuesState = next;
904
+ }
905
+ get canonicalSelectedValues() {
906
+ return this.selectedValues;
907
+ }
908
+ applyCanonicalSelection(options, values = this.canonicalSelectedValues) {
909
+ if (!this.selectionInitialized)
910
+ return options.map((option) => ({ ...option }));
911
+ const selected = new Set(values);
912
+ return options.map((option) => ({ ...option, selected: selected.has(option.value) }));
913
+ }
914
+ getListOptions(options) {
915
+ const normalized = this.applyCanonicalSelection(options).filter((option) => option.value !== '__select_all__');
916
+ if (!this.effectiveMultiple)
917
+ return normalized;
918
+ const selectable = normalized.filter((option) => !this.isSelectAllLabel(this.getOptionLabel(option)));
919
+ const allSelected = selectable.length > 0 && selectable.every((option) => Boolean(option.selected));
920
+ const anySelected = selectable.some((option) => Boolean(option.selected));
921
+ return [
922
+ {
923
+ value: '__select_all__',
924
+ label: allSelected ? this.unselectAllLabel : this.selectAllLabel,
925
+ selected: allSelected,
926
+ indeterminate: anySelected && !allSelected,
927
+ },
928
+ ...selectable,
929
+ ];
930
+ }
846
931
  isDisabled() {
847
932
  return validator.isFormControlDisabled(this.disabled, this.formDisabled);
848
933
  }
@@ -915,6 +1000,8 @@ const Select = class {
915
1000
  }
916
1001
  handleSelectInputFocus() {
917
1002
  this.activeOptionIndex = -1;
1003
+ if (this.suppressFocusOpen)
1004
+ return;
918
1005
  if (this.filterable && !this.effectiveOpen) {
919
1006
  this.clearSearch();
920
1007
  void this.show();
@@ -951,16 +1038,50 @@ const Select = class {
951
1038
  this.toggleOpenFromPointer();
952
1039
  }
953
1040
  handleSelectOptionStateChange(event$1) {
954
- this.syncSlottedOptionSelection(event$1.detail);
955
- this.rememberRemoteSelections(this.getCurrentOptions());
956
- this.syncDisplayValue();
957
- this.syncActiveOptionIndex(event$1.detail);
958
1041
  event$1.stopPropagation();
959
- const detail = { selected: event$1.detail.selected, value: event$1.detail.value };
1042
+ const detail = event$1.detail;
1043
+ // Use a lista interna para preservar rótulos e opções remotas enquanto as
1044
+ // props projetadas aguardam a próxima renderização.
1045
+ const listOptions = this.getSelectListController()?.options;
1046
+ const sourceOptions = Array.isArray(listOptions) && listOptions.length > 0
1047
+ ? listOptions.map((option) => ({ ...option }))
1048
+ : this.getCurrentOptions();
1049
+ // No modo simples, o evento é a decisão final da interação. A lista
1050
+ // virtualizada e as opções projetadas podem ainda conter o snapshot da
1051
+ // interação anterior durante cliques consecutivos; derivar a coleção a
1052
+ // partir do valor do evento evita que esse snapshot reapareça no valor
1053
+ // público ou no formulário.
1054
+ const selectableValues = sourceOptions
1055
+ .filter((option) => !this.isSelectAllLabel(this.getOptionLabel(option)))
1056
+ .map((option) => option.value);
1057
+ const transition = this.isSelectAllLabel(detail.label ?? detail.value)
1058
+ ? transitionAllSelection(this.selectedValues, Boolean(detail.selected), selectableValues)
1059
+ : transitionSelection({
1060
+ currentValues: this.selectedValues,
1061
+ multiple: this.effectiveMultiple,
1062
+ value: detail.value,
1063
+ selected: Boolean(detail.selected),
1064
+ });
1065
+ this.setSelectedValues(transition.values);
1066
+ const options = this.applyCanonicalSelection(sourceOptions, transition.values);
1067
+ if (this.selectListElement)
1068
+ this.selectListElement.options = this.getListOptions(options);
1069
+ this.reflectRenderedListSelection(transition.values, options);
1070
+ this.syncSlottedOptionSelection(transition.values);
1071
+ this.rememberRemoteSelections(options);
1072
+ this.syncDisplayValue(options);
1073
+ this.syncActiveOptionIndex(event$1.detail);
960
1074
  this.emitStateChange(detail);
961
1075
  this.updateValidity();
962
- if (!this.keepOpenOnSelect && !this.effectiveMultiple)
963
- void this.close();
1076
+ if (!transition.changed)
1077
+ return;
1078
+ if (!this.effectiveMultiple) {
1079
+ this.suppressFocusOpen = true;
1080
+ void this.selectInputElement?.setFocus?.();
1081
+ void this.close().finally(() => {
1082
+ this.suppressFocusOpen = false;
1083
+ });
1084
+ }
964
1085
  event.dispatchNativeFormEvent(this.el, 'input');
965
1086
  event.dispatchNativeFormEvent(this.el, 'change');
966
1087
  }
@@ -1177,7 +1298,7 @@ const Select = class {
1177
1298
  this.suppressValueChange = true;
1178
1299
  try {
1179
1300
  if (this.selectListElement) {
1180
- await this.selectListElement.setOptions(nextOptions);
1301
+ this.selectListElement.options = this.getListOptions(nextOptions);
1181
1302
  }
1182
1303
  else {
1183
1304
  this.pendingOptions = nextOptions;
@@ -1196,20 +1317,20 @@ const Select = class {
1196
1317
  */
1197
1318
  async setOption(option) {
1198
1319
  this.hasImperativeOptions = true;
1320
+ const currentOptions = this.getCurrentOptions();
1321
+ const index = currentOptions.findIndex((currentOption) => currentOption.value === option.value);
1322
+ const nextOptions = [...currentOptions];
1323
+ if (index === -1)
1324
+ nextOptions.push(option);
1325
+ else
1326
+ nextOptions[index] = option;
1199
1327
  if (this.selectListElement) {
1200
- await this.selectListElement.setOption(option);
1201
- }
1202
- else if (this.pendingOptions) {
1203
- const index = this.pendingOptions.findIndex((currentOption) => currentOption.value === option.value);
1204
- if (index !== -1)
1205
- this.pendingOptions[index] = option;
1206
- else
1207
- this.pendingOptions.push(option);
1328
+ this.selectListElement.options = this.getListOptions(nextOptions);
1208
1329
  }
1209
1330
  else {
1210
- this.pendingOptions = [option];
1331
+ this.pendingOptions = nextOptions;
1211
1332
  }
1212
- this.syncDisplayValue();
1333
+ this.syncDisplayValue(nextOptions);
1213
1334
  }
1214
1335
  getHostOptions() {
1215
1336
  return Array.from(this.el.childNodes)
@@ -1238,15 +1359,16 @@ const Select = class {
1238
1359
  const rawLabel = el.getAttribute('label') ?? el.label ?? '';
1239
1360
  let value = String(rawValue || '').trim();
1240
1361
  let label = String(rawLabel || '').trim();
1362
+ const inner = this.extractInnerTextFromOption(el);
1363
+ const content = (el.innerHTML || '').trim();
1241
1364
  const selected = el.hasAttribute('selected') || Boolean(el.selected);
1242
1365
  if (!value) {
1243
- const inner = this.extractInnerTextFromOption(el);
1244
1366
  if (inner)
1245
1367
  value = inner.trim();
1246
1368
  }
1247
1369
  if (!label)
1248
- label = value;
1249
- return { value: value || '', label: label || undefined, selected };
1370
+ label = inner?.trim() || value;
1371
+ return { value: value || '', label: label || undefined, selected, content: content || undefined };
1250
1372
  }
1251
1373
  extractInnerTextFromOption(el) {
1252
1374
  const fromSlot = this.getAssignedSlotText(el);
@@ -1299,6 +1421,9 @@ const Select = class {
1299
1421
  this.syncValue(resolvedOptions);
1300
1422
  }
1301
1423
  syncValue(options) {
1424
+ this.setSelectedValues(options
1425
+ .filter((option) => option.selected && !this.isSelectAllLabel(this.getOptionLabel(option)))
1426
+ .map((option) => option.value));
1302
1427
  const nextValue = this.getSerializedValue(options);
1303
1428
  this.syncFormState(options);
1304
1429
  if (this.value === nextValue)
@@ -1338,15 +1463,18 @@ const Select = class {
1338
1463
  }
1339
1464
  applySelectedValue(value) {
1340
1465
  const currentOptions = this.getCurrentOptions();
1466
+ const requestedValues = this.valueFromPublicValue(value) ?? [];
1467
+ this.setSelectedValues(requestedValues);
1341
1468
  const options = currentOptions.map((option) => ({
1342
1469
  ...option,
1343
- selected: this.effectiveMultiple ? Array.isArray(value) && value.includes(option.value) : value === option.value,
1470
+ selected: requestedValues.includes(option.value),
1344
1471
  }));
1345
1472
  this.isApplyingExternalValue = true;
1346
1473
  if (this.selectListElement)
1347
- void this.selectListElement.setOptions(options);
1474
+ this.selectListElement.options = this.getListOptions(options);
1348
1475
  else
1349
1476
  this.pendingOptions = options;
1477
+ this.reflectRenderedListSelection(requestedValues, options);
1350
1478
  this.value = value;
1351
1479
  this.isApplyingExternalValue = false;
1352
1480
  this.remoteSelectedOptions.clear();
@@ -1369,7 +1497,7 @@ const Select = class {
1369
1497
  }
1370
1498
  applyRemoteSelection(options) {
1371
1499
  this.rememberRemoteSelections(this.getCurrentOptions());
1372
- const selectedValues = new Set(Array.isArray(this.value) ? this.value : [this.value ?? '']);
1500
+ const selectedValues = new Set(this.selectedValues);
1373
1501
  const nextOptions = options.map((option) => ({
1374
1502
  ...option,
1375
1503
  selected: selectedValues.has(option.value) || Boolean(option.selected),
@@ -1404,38 +1532,36 @@ const Select = class {
1404
1532
  const selectedValues = selected.map((option) => option.value);
1405
1533
  const formValue = this.effectiveMultiple ? JSON.stringify(selectedValues) : (selectedValues[0] ?? null);
1406
1534
  validator.safeSetFormValue(this.elementInternals, formValue);
1407
- if (this.nativeSelect) {
1408
- this.nativeSelect.value = selectedValues[0] ?? '';
1409
- const selectedSet = new Set(selectedValues);
1410
- const optionNodes = Array.from(this.nativeSelect.options);
1411
- selectedSet.forEach((value) => {
1412
- if (optionNodes.some((option) => option.value === value))
1413
- return;
1414
- const option = document.createElement('option');
1415
- option.value = value;
1416
- this.nativeSelect?.append(option);
1417
- });
1418
- optionNodes.forEach((option) => {
1419
- if (option.value !== '' && !selectedSet.has(option.value))
1420
- option.remove();
1421
- else
1422
- option.selected = selectedSet.has(option.value);
1423
- });
1424
- this.nativeSelect.value = selectedValues[0] ?? '';
1425
- }
1426
- this.updateValidity();
1535
+ this.syncNativeSelectSelection(selectedValues);
1536
+ this.updateValidity(selectedValues.length);
1427
1537
  }
1428
- updateValidity() {
1429
- if (!this.nativeSelect)
1538
+ syncNativeSelectSelection(values = this.getSelectedValues()) {
1539
+ const nativeSelect = this.getNativeSelect();
1540
+ if (!nativeSelect)
1541
+ return;
1542
+ const selectedValues = new Set(values);
1543
+ Array.from(nativeSelect.options).forEach((option) => {
1544
+ option.selected = option.value === '' ? selectedValues.size === 0 : selectedValues.has(option.value);
1545
+ });
1546
+ }
1547
+ getSelectedValues() {
1548
+ return [...this.selectedValues];
1549
+ }
1550
+ updateValidity(selectedCount = this.getSelectedValues().length) {
1551
+ const nativeSelect = this.getNativeSelect();
1552
+ if (!nativeSelect)
1430
1553
  return;
1431
- const selectedCount = this.getFormOptions(this.getCurrentOptions()).filter((option) => option.selected).length;
1432
1554
  const selectionMessage = this.effectiveMultiple && this.minSelections > 0 && selectedCount < this.minSelections
1433
1555
  ? `Selecione pelo menos ${this.minSelections} opções.`
1434
1556
  : this.effectiveMultiple && this.maxSelections > 0 && selectedCount > this.maxSelections
1435
1557
  ? `Selecione no máximo ${this.maxSelections} opções.`
1436
1558
  : '';
1437
- this.nativeSelect.setCustomValidity(this.customValidationMessage || this.validatorMessage || selectionMessage);
1438
- validator.syncNativeFormValidity(this.elementInternals, this.nativeSelect);
1559
+ nativeSelect.setCustomValidity(this.customValidationMessage || this.validatorMessage || selectionMessage);
1560
+ validator.syncNativeFormValidity(this.elementInternals, nativeSelect);
1561
+ }
1562
+ getNativeSelect() {
1563
+ return (this.el.shadowRoot?.querySelector('select[part="hidden-select"]') ??
1564
+ this.nativeSelect);
1439
1565
  }
1440
1566
  resolveValidator() {
1441
1567
  return validator.resolveFormValidator(this.validator);
@@ -1546,6 +1672,17 @@ const Select = class {
1546
1672
  const index = this.getCurrentActiveIndex();
1547
1673
  const option = options[index];
1548
1674
  const nextSelected = this.effectiveMultiple ? !option?.selected : true;
1675
+ if (this.effectiveMultiple && index === 0 && option && !this.isSelectAllLabel(this.getOptionLabel(option))) {
1676
+ this.handleSelectOptionStateChange(new CustomEvent('brSelectOptionStateChange', {
1677
+ detail: {
1678
+ value: '__select_all__',
1679
+ label: this.selectAllLabel,
1680
+ selected: true,
1681
+ disabled: false,
1682
+ },
1683
+ }));
1684
+ return;
1685
+ }
1549
1686
  const didSelect = await this.getSelectListController()?.setOptionSelected?.(index, nextSelected);
1550
1687
  if (didSelect) {
1551
1688
  this.activeOptionIndex = index;
@@ -1566,55 +1703,19 @@ const Select = class {
1566
1703
  * Essa sincronização mantém as props/atributos das opções declaradas pelo consumidor em
1567
1704
  * conformidade com o estado calculado internamente, inclusive no caso do "selecionar todos".
1568
1705
  */
1569
- syncSlottedOptionSelection(detail) {
1570
- if (!this.slotElement || !detail?.value)
1571
- return;
1572
- const slottedOptions = this.slotElement
1573
- .assignedElements({ flatten: true })
1574
- .filter((el) => el.tagName.toLowerCase() === 'br-select-option');
1706
+ syncSlottedOptionSelection(values = this.selectedValues) {
1707
+ const slottedOptions = Array.from(this.el.children).filter((el) => el.tagName.toLowerCase() === 'br-select-option');
1575
1708
  if (slottedOptions.length === 0)
1576
1709
  return;
1577
- const detailLabel = (detail.label ?? detail.value).trim();
1578
- const isSelectAll = this.isSelectAllLabel(detailLabel);
1579
- if (this.effectiveMultiple && isSelectAll) {
1580
- slottedOptions.forEach((option) => {
1581
- const optionLabel = (option.label ?? option.value).trim();
1582
- const isSelectAllOption = this.isSelectAllLabel(optionLabel);
1583
- if (isSelectAllOption) {
1584
- option.indeterminate = false;
1585
- option.selected = Boolean(detail.selected);
1586
- this.normalizeSelectAllState(option);
1587
- if (option.selected)
1588
- option.setAttribute('selected', '');
1589
- else
1590
- option.removeAttribute('selected');
1591
- return;
1592
- }
1593
- option.selected = Boolean(detail.selected);
1594
- if (option.selected)
1595
- option.setAttribute('selected', '');
1596
- else
1597
- option.removeAttribute('selected');
1598
- });
1599
- return;
1600
- }
1710
+ const selectedValues = new Set(values);
1601
1711
  slottedOptions.forEach((option) => {
1602
- const isTarget = option.value === detail.value;
1603
- const nextSelected = this.effectiveMultiple ? (isTarget ? Boolean(detail.selected) : option.selected) : isTarget;
1604
- if (isTarget) {
1605
- option.indeterminate = false;
1606
- }
1607
- option.selected = nextSelected;
1608
- if (nextSelected) {
1712
+ const resolved = this.optionElementToData(option).value;
1713
+ option.selected = selectedValues.has(resolved);
1714
+ option.indeterminate = false;
1715
+ if (option.selected)
1609
1716
  option.setAttribute('selected', '');
1610
- }
1611
- else {
1612
- option.removeAttribute('selected');
1613
- }
1614
- if (!this.effectiveMultiple && !isTarget) {
1615
- option.selected = false;
1717
+ else
1616
1718
  option.removeAttribute('selected');
1617
- }
1618
1719
  });
1619
1720
  if (!this.effectiveMultiple)
1620
1721
  return;
@@ -1637,6 +1738,26 @@ const Select = class {
1637
1738
  option.removeAttribute('selected');
1638
1739
  });
1639
1740
  }
1741
+ reflectRenderedListSelection(values, sourceOptions) {
1742
+ const renderedOptions = this.selectListElement?.shadowRoot?.querySelectorAll('br-select-option');
1743
+ if (!renderedOptions)
1744
+ return;
1745
+ const selectedValues = new Set(values);
1746
+ const selectableOptions = (sourceOptions?.length
1747
+ ? sourceOptions
1748
+ : Array.from(renderedOptions).map((option) => ({ label: option.label, value: option.value }))).filter((option) => !this.isSelectAllLabel(this.getOptionLabel(option)));
1749
+ const allSelected = selectableOptions.length > 0 && selectableOptions.every((option) => selectedValues.has(option.value));
1750
+ const anySelected = selectableOptions.some((option) => selectedValues.has(option.value));
1751
+ renderedOptions.forEach((option) => {
1752
+ if (this.isSelectAllLabel(option.label ?? option.value)) {
1753
+ option.indeterminate = anySelected && !allSelected;
1754
+ option.selected = allSelected;
1755
+ option.label = this.getSelectAllLabel(allSelected, option.indeterminate);
1756
+ return;
1757
+ }
1758
+ option.selected = selectedValues.has(option.value);
1759
+ });
1760
+ }
1640
1761
  isSelectAllLabel(label) {
1641
1762
  return label === this.selectAllLabel || label === this.unselectAllLabel;
1642
1763
  }
@@ -1717,6 +1838,7 @@ const Select = class {
1717
1838
  * A precedência é: lista interna, opções pendentes, conteúdo do slot e, por último,
1718
1839
  * os filhos atuais do host.
1719
1840
  */
1841
+ // biome-ignore lint/complexity/noExcessiveCognitiveComplexity: prioriza a precedência entre slot, lista e opções remotas.
1720
1842
  getCurrentOptions() {
1721
1843
  // As opções projetadas são a fonte canônica quando não há coleção
1722
1844
  // imperativa: a lista virtualizada pode manter um snapshot enquanto o
@@ -1726,21 +1848,53 @@ const Select = class {
1726
1848
  const slotOptions = nodes
1727
1849
  .map((node) => this.nodeToOption(node))
1728
1850
  .filter((option) => Boolean(option));
1729
- if (slotOptions.length > 0)
1730
- return slotOptions;
1851
+ if (slotOptions.length > 0) {
1852
+ const normalizedSlotOptions = this.applyCanonicalSelection(slotOptions);
1853
+ if (this.effectiveMultiple &&
1854
+ !normalizedSlotOptions.some((option) => this.isSelectAllLabel(this.getOptionLabel(option)))) {
1855
+ normalizedSlotOptions.unshift({
1856
+ value: '__select_all__',
1857
+ label: this.selectAllLabel,
1858
+ selected: false,
1859
+ indeterminate: false,
1860
+ });
1861
+ }
1862
+ return normalizedSlotOptions;
1863
+ }
1731
1864
  }
1732
1865
  const listOptions = this.getSelectListController()?.options;
1733
1866
  if (Array.isArray(listOptions) && listOptions.length > 0) {
1734
1867
  const normalizedListOptions = listOptions.map((option) => ({ ...option }));
1735
1868
  const hasRealOptions = normalizedListOptions.some((option) => !this.isSelectAllLabel(this.getOptionLabel(option)));
1736
1869
  if (hasRealOptions) {
1737
- return normalizedListOptions;
1870
+ if (this.effectiveMultiple &&
1871
+ !normalizedListOptions.some((option) => this.isSelectAllLabel(this.getOptionLabel(option)))) {
1872
+ normalizedListOptions.unshift({
1873
+ value: '__select_all__',
1874
+ label: this.selectAllLabel,
1875
+ selected: false,
1876
+ indeterminate: false,
1877
+ });
1878
+ }
1879
+ return this.applyCanonicalSelection(normalizedListOptions);
1738
1880
  }
1739
1881
  }
1740
1882
  if (this.pendingOptions) {
1741
- return this.pendingOptions.map((option) => ({ ...option }));
1742
- }
1743
- return this.getHostOptions();
1883
+ return this.applyCanonicalSelection(this.pendingOptions);
1884
+ }
1885
+ const hostOptions = this.applyCanonicalSelection(this.getHostOptions());
1886
+ if (this.effectiveMultiple && hostOptions.length > 0) {
1887
+ return [
1888
+ {
1889
+ value: '__select_all__',
1890
+ label: this.selectAllLabel,
1891
+ selected: false,
1892
+ indeterminate: false,
1893
+ },
1894
+ ...hostOptions,
1895
+ ];
1896
+ }
1897
+ return hostOptions;
1744
1898
  }
1745
1899
  normalizeSearchText(value) {
1746
1900
  return value
@@ -1790,7 +1944,7 @@ const Select = class {
1790
1944
  return (index.h("br-select-input", { part: "input", exportparts: "container:input-container, input:input-field, label:input-label, group:input-group, icon:input-icon, action:input-action, action-button:input-action-button", ref: (el) => (this.selectInputElement = el), "aria-activedescendant": this.getActiveDescendant(), "aria-controls": this.listboxId, "aria-disabled": String(this.isDisabled()), "aria-expanded": String(this.effectiveOpen), "aria-haspopup": "listbox", "aria-label": this.getAccessibleLabel(), "aria-required": String(this.required), borderless: this.borderless, "is-inline": this.effectiveInline, "is-open": this.effectiveOpen, label: this.label, name: this.name, placeholder: this.placeholder, required: this.required, disabled: this.isDisabled(), filterable: this.filterable, showSearchIcon: this.showSearchIcon, autocomplete: this.autocomplete, "input-width": this.inputWidth, role: "combobox", value: this.filterable && this.effectiveOpen ? this.searchTerm : this.getRenderedDisplayValue() }));
1791
1945
  }
1792
1946
  renderSelectList() {
1793
- return (index.h("br-select-list", { part: "list", exportparts: "list, option, checkbox, select-all, empty-option, option-checkbox, option-radio", "active-option-index": this.activeOptionIndex, "aria-label": this.getAccessibleLabel(), "aria-multiselectable": this.effectiveMultiple ? 'true' : 'false', id: this.listboxId, "visible-items": this.visibleItems, "item-height": this.itemHeight, overscan: this.overscan, "search-term": this.filterable && this.searchMode === 'local' ? this.searchTerm : '', role: "listbox", "select-all-label": this.selectAllLabel, "unselect-all-label": this.unselectAllLabel, ref: (el) => {
1947
+ return (index.h("br-select-list", { part: "list", options: this.getCurrentOptions(), exportparts: "list, option, checkbox, select-all, empty-option, option-checkbox, option-radio", "active-option-index": this.activeOptionIndex, "aria-label": this.getAccessibleLabel(), "aria-multiselectable": this.effectiveMultiple ? 'true' : 'false', id: this.listboxId, "visible-items": this.visibleItems, "item-height": this.itemHeight, overscan: this.overscan, "search-term": this.filterable && this.searchMode === 'local' ? this.searchTerm : '', role: "listbox", "select-all-label": this.selectAllLabel, "unselect-all-label": this.unselectAllLabel, ref: (el) => {
1794
1948
  this.selectListElement = el;
1795
1949
  this.selectListElement.loading = this.loading;
1796
1950
  this.setSelectionMode(this.effectiveMultiple);
@@ -1798,9 +1952,8 @@ const Select = class {
1798
1952
  } }, index.h("slot", null), index.h("slot", { name: "loading", slot: "loading" })));
1799
1953
  }
1800
1954
  renderHiddenSelect() {
1801
- const selectedOptions = this.getFormOptions(this.getCurrentOptions())
1802
- .filter((option) => !this.isSelectAllLabel(this.getOptionLabel(option)))
1803
- .filter((option) => option.selected);
1955
+ const options = this.getFormOptions(this.getCurrentOptions()).filter((option) => !this.isSelectAllLabel(this.getOptionLabel(option)));
1956
+ const hasSelection = options.some((option) => option.selected);
1804
1957
  return (index.h("select", { ref: (el) => (this.nativeSelect = el), part: "hidden-select", name: this.name, autocomplete: this.autocomplete, multiple: this.effectiveMultiple, required: this.required, disabled: this.isDisabled(), tabIndex: -1, "aria-hidden": "true", style: {
1805
1958
  position: 'absolute',
1806
1959
  width: '1px',
@@ -1811,10 +1964,10 @@ const Select = class {
1811
1964
  clip: 'rect(0, 0, 0, 0)',
1812
1965
  whiteSpace: 'nowrap',
1813
1966
  border: '0',
1814
- }, onChange: (event) => event.preventDefault() }, index.h("option", { value: "", selected: selectedOptions.length === 0 }), selectedOptions.map((option) => (index.h("option", { key: option.value, value: option.value, selected: option.selected, disabled: option.disabled })))));
1967
+ }, onChange: (event) => event.preventDefault() }, index.h("option", { value: "", selected: !hasSelection }), options.map((option) => (index.h("option", { key: option.value, value: option.value, selected: option.selected, disabled: option.disabled })))));
1815
1968
  }
1816
1969
  render() {
1817
- return (index.h(index.Host, { key: 'acca9307d38da5b977fa8eac160bdd2b74eb573c', "aria-busy": this.isValidating || this.loading ? 'true' : null }, index.h("div", { key: 'b6a55059b9948c89c40415297315af9fa40939de', class: this.getCssClassMap(), part: "container" }, this.renderSelectInput(), this.renderSelectList(), index.h("div", { key: '789c2752631fed675dfe4f24e703a04a6012681f', part: "feedback", hidden: !this.hasFeedbackSlot && !this.validatorMessage }, index.h("slot", { key: '13f7245f98ee7c5529881b12d400180316e439f0', name: "feedback", onSlotchange: (event) => (this.hasFeedbackSlot = slot.hasAssignedSlotContent(event.currentTarget)) }, this.validatorMessage)), index.h("div", { key: '3e2076875f4a9d7fd717151b918011b6ea89455e', part: "validation-loading", hidden: !this.hasValidationLoadingSlot || !this.isValidating }, index.h("slot", { key: 'cb51e859372eb703c4eed65e157bbefe7ab9e844', name: "validation-loading" })), this.renderHiddenSelect())));
1970
+ return (index.h(index.Host, { key: '81db917bc8a39989db84e7e0c9f4aa1272d52af0', "aria-busy": this.isValidating || this.loading ? 'true' : null }, index.h("div", { key: '150cc02f7a66f90546741550586ba254b9b6728a', class: this.getCssClassMap(), part: "container" }, this.renderSelectInput(), this.renderSelectList(), index.h("div", { key: 'd3a981fd4da448b3e2355b78bab07fb7245624d8', part: "feedback", hidden: !this.hasFeedbackSlot && !this.validatorMessage }, index.h("slot", { key: '9f40bb218c36ab6b19579ceac0a849e40ec00ad4', name: "feedback", onSlotchange: (event) => (this.hasFeedbackSlot = slot.hasAssignedSlotContent(event.currentTarget)) }, this.validatorMessage)), index.h("div", { key: 'd33a5d0ebd54ebeda226e06de1a60b0f75e5b94c', part: "validation-loading", hidden: !this.hasValidationLoadingSlot || !this.isValidating }, index.h("slot", { key: '8b098ffce8ca2ed341f5a06252bf662574343717', name: "validation-loading" })), this.renderHiddenSelect())));
1818
1971
  }
1819
1972
  static get formAssociated() { return true; }
1820
1973
  get el() { return index.getElement(this); }