@govbr-ds/webcomponents 2.1.0 → 2.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (866) hide show
  1. package/README.md +0 -11
  2. package/cem/custom-elements.json +272 -71
  3. package/dist/cjs/app-globals-DcqHuMBv.js +9 -0
  4. package/dist/cjs/br-avatar.cjs.entry.js +248 -0
  5. package/dist/cjs/br-breadcrumb-item.cjs.entry.js +45 -0
  6. package/dist/cjs/br-breadcrumb.cjs.entry.js +443 -0
  7. package/dist/cjs/br-button_2.cjs.entry.js +280 -0
  8. package/dist/cjs/br-card.cjs.entry.js +111 -0
  9. package/dist/cjs/br-carousel-page.cjs.entry.js +80 -0
  10. package/dist/cjs/br-carousel.cjs.entry.js +565 -0
  11. package/dist/cjs/br-checkbox-group.cjs.entry.js +118 -0
  12. package/dist/cjs/br-checkbox.cjs.entry.js +288 -0
  13. package/dist/cjs/br-checkgroup.cjs.entry.js +20 -0
  14. package/dist/cjs/br-collapse_2.cjs.entry.js +683 -0
  15. package/dist/cjs/br-cookiebar-cookie.cjs.entry.js +83 -0
  16. package/dist/cjs/br-cookiebar-group.cjs.entry.js +309 -0
  17. package/dist/cjs/br-cookiebar-header.cjs.entry.js +39 -0
  18. package/dist/cjs/br-cookiebar-link.cjs.entry.js +55 -0
  19. package/dist/cjs/br-cookiebar-note-group.cjs.entry.js +70 -0
  20. package/dist/cjs/br-cookiebar-note.cjs.entry.js +25 -0
  21. package/dist/cjs/br-cookiebar.cjs.entry.js +758 -0
  22. package/dist/cjs/br-crumb.cjs.entry.js +51 -0
  23. package/dist/cjs/br-date-picker_3.cjs.entry.js +2447 -0
  24. package/dist/cjs/br-datetime-picker.cjs.entry.js +1886 -0
  25. package/dist/cjs/br-divider.cjs.entry.js +225 -0
  26. package/dist/cjs/br-dropdown_2.cjs.entry.js +2000 -0
  27. package/dist/cjs/br-footer-category.cjs.entry.js +102 -0
  28. package/dist/cjs/br-footer-item.cjs.entry.js +52 -0
  29. package/dist/cjs/br-footer-legal.cjs.entry.js +41 -0
  30. package/dist/cjs/br-footer-logo.cjs.entry.js +104 -0
  31. package/dist/cjs/br-footer-social.cjs.entry.js +71 -0
  32. package/dist/cjs/br-footer.cjs.entry.js +92 -0
  33. package/dist/cjs/br-header-function.cjs.entry.js +142 -0
  34. package/dist/cjs/br-header-link.cjs.entry.js +60 -0
  35. package/dist/cjs/br-header-list.cjs.entry.js +279 -0
  36. package/dist/cjs/br-header-logo.cjs.entry.js +178 -0
  37. package/dist/cjs/br-header.cjs.entry.js +642 -0
  38. package/dist/cjs/br-icon.cjs.entry.js +485 -0
  39. package/dist/cjs/br-input.cjs.entry.js +599 -0
  40. package/dist/cjs/br-item.cjs.entry.js +367 -0
  41. package/dist/cjs/br-link.cjs.entry.js +133 -0
  42. package/dist/cjs/br-loading.cjs.entry.js +505 -0
  43. package/dist/cjs/br-magic-button.cjs.entry.js +93 -0
  44. package/dist/cjs/br-menu-group.cjs.entry.js +23 -0
  45. package/dist/cjs/br-menu-header.cjs.entry.js +47 -0
  46. package/dist/cjs/br-menu-info.cjs.entry.js +38 -0
  47. package/dist/cjs/br-menu-item.cjs.entry.js +79 -0
  48. package/dist/cjs/br-menu-link.cjs.entry.js +56 -0
  49. package/dist/cjs/br-menu-list.cjs.entry.js +149 -0
  50. package/dist/cjs/br-menu-logo.cjs.entry.js +75 -0
  51. package/dist/cjs/br-menu-social.cjs.entry.js +65 -0
  52. package/dist/cjs/br-menu.cjs.entry.js +993 -0
  53. package/dist/cjs/br-modal.cjs.entry.js +496 -0
  54. package/dist/cjs/br-notification-body.cjs.entry.js +71 -0
  55. package/dist/cjs/br-notification-header.cjs.entry.js +48 -0
  56. package/dist/cjs/br-notification-item.cjs.entry.js +110 -0
  57. package/dist/cjs/br-notification.cjs.entry.js +334 -0
  58. package/dist/cjs/br-pagination.cjs.entry.js +884 -0
  59. package/dist/cjs/br-radio-group.cjs.entry.js +428 -0
  60. package/dist/cjs/br-radio.cjs.entry.js +357 -0
  61. package/dist/cjs/br-scrim.cjs.entry.js +1336 -0
  62. package/dist/cjs/br-select-input_3.cjs.entry.js +988 -0
  63. package/dist/cjs/br-sign-in.cjs.entry.js +126 -0
  64. package/dist/cjs/br-skip-link-item.cjs.entry.js +20 -0
  65. package/dist/cjs/br-skip-link.cjs.entry.js +362 -0
  66. package/dist/cjs/br-skiplink-item.cjs.entry.js +192 -0
  67. package/dist/cjs/br-slider.cjs.entry.js +687 -0
  68. package/dist/cjs/br-step_2.cjs.entry.js +628 -0
  69. package/dist/cjs/br-switch.cjs.entry.js +245 -0
  70. package/dist/cjs/br-tab-item.cjs.entry.js +185 -0
  71. package/dist/cjs/br-tab.cjs.entry.js +397 -0
  72. package/dist/cjs/br-table-body.cjs.entry.js +37 -0
  73. package/dist/cjs/br-table-cell.cjs.entry.js +184 -0
  74. package/dist/cjs/br-table-header-cell.cjs.entry.js +173 -0
  75. package/dist/cjs/br-table-header.cjs.entry.js +37 -0
  76. package/dist/cjs/br-table-row.cjs.entry.js +81 -0
  77. package/dist/cjs/br-table.cjs.entry.js +680 -0
  78. package/dist/cjs/br-tag.cjs.entry.js +493 -0
  79. package/dist/cjs/br-textarea.cjs.entry.js +306 -0
  80. package/dist/cjs/br-tooltip.cjs.entry.js +627 -0
  81. package/dist/cjs/br-upload.cjs.entry.js +581 -0
  82. package/dist/cjs/br-wizard-panel.cjs.entry.js +54 -0
  83. package/dist/cjs/br-wizard.cjs.entry.js +708 -0
  84. package/dist/cjs/breakpoint-observer-P8veqXg7.js +144 -0
  85. package/dist/cjs/clamp-Co_hWptd.js +25 -0
  86. package/dist/cjs/cookiebar.utils-CB1gQwZ4.js +18 -0
  87. package/dist/cjs/datetime-picker-constants-B5pWeOn1.js +3827 -0
  88. package/dist/cjs/event-CmVdNHxl.js +56 -0
  89. package/dist/cjs/floating-surface-dismiss-ccdiD0KF.js +63 -0
  90. package/dist/cjs/floating-ui-MBI1osio.js +136 -0
  91. package/dist/cjs/floating-ui.dom-BUSTaaxR.js +1715 -0
  92. package/dist/cjs/focus-DuywwJPR.js +30 -0
  93. package/dist/cjs/getNextElement-R9l3JtM9.js +31 -0
  94. package/dist/cjs/iconify-icon-DfODV9bf.js +2307 -0
  95. package/dist/cjs/id-CjRFMzf6.js +20 -0
  96. package/dist/cjs/index-C92n55ch.js +678 -0
  97. package/dist/cjs/index-CRdcutym.js +3287 -0
  98. package/dist/cjs/index.cjs.js +12 -0
  99. package/dist/cjs/isNil-DO5zWc3l.js +19 -0
  100. package/dist/cjs/isValid-Fu3kaWNn.js +3694 -0
  101. package/dist/cjs/loader.cjs.js +17 -0
  102. package/dist/cjs/native-dialog--Ewqm4w0.js +49 -0
  103. package/dist/cjs/navigation-AbzwcRCU.js +25 -0
  104. package/dist/cjs/parts-D5K3ae2C.js +19 -0
  105. package/dist/cjs/props-CScmBvKd.js +24 -0
  106. package/dist/cjs/raf-batcher-yc87a4dS.js +55 -0
  107. package/dist/cjs/slot-DAllytTj.js +48 -0
  108. package/dist/cjs/swipe-BU8_XE9f.js +345 -0
  109. package/dist/cjs/table-constants-BOPSay0B.js +183 -0
  110. package/dist/cjs/validator-CTCajtT9.js +123 -0
  111. package/dist/cjs/webcomponents.cjs.js +50 -0
  112. package/dist/collection/assets/icon-search.svg +6 -0
  113. package/dist/collection/assets/logo-negative.svg +1 -0
  114. package/dist/collection/assets/logo-positive.svg +1 -0
  115. package/dist/collection/assets/wc.svg +1 -0
  116. package/dist/collection/collection-manifest.json +113 -0
  117. package/dist/collection/components/avatar/avatar.css +1 -0
  118. package/dist/collection/components/avatar/avatar.js +589 -0
  119. package/dist/collection/components/avatar/avatar.types.js +1 -0
  120. package/dist/collection/components/breadcrumb/breadcrumb-item/breadcrumb-item.js +166 -0
  121. package/dist/collection/components/breadcrumb/breadcrumb.css +1 -0
  122. package/dist/collection/components/breadcrumb/breadcrumb.js +619 -0
  123. package/dist/collection/components/breadcrumb/breadcrumb.types.js +1 -0
  124. package/dist/collection/components/breadcrumb/crumb/crumb.js +175 -0
  125. package/dist/collection/components/button/button.css +1 -0
  126. package/dist/collection/components/button/button.js +546 -0
  127. package/dist/collection/components/button/button.types.js +1 -0
  128. package/dist/collection/components/card/card.css +1 -0
  129. package/dist/collection/components/card/card.js +225 -0
  130. package/dist/collection/components/carousel/carousel-page/carousel-page.css +1 -0
  131. package/dist/collection/components/carousel/carousel-page/carousel-page.js +195 -0
  132. package/dist/collection/components/carousel/carousel.css +1 -0
  133. package/dist/collection/components/carousel/carousel.js +1217 -0
  134. package/dist/collection/components/carousel/carousel.types.js +1 -0
  135. package/dist/collection/components/checkbox/checkbox.css +1 -0
  136. package/dist/collection/components/checkbox/checkbox.js +823 -0
  137. package/dist/collection/components/checkbox/checkbox.types.js +1 -0
  138. package/dist/collection/components/checkbox-group/checkbox-group.css +1 -0
  139. package/dist/collection/components/checkbox-group/checkbox-group.js +268 -0
  140. package/dist/collection/components/checkgroup/checkgroup.js +166 -0
  141. package/dist/collection/components/collapse/collapse.css +1 -0
  142. package/dist/collection/components/collapse/collapse.js +642 -0
  143. package/dist/collection/components/collapse/collapse.types.js +1 -0
  144. package/dist/collection/components/cookiebar/cookiebar-cookie/cookiebar-cookie.css +1 -0
  145. package/dist/collection/components/cookiebar/cookiebar-cookie/cookiebar-cookie.js +529 -0
  146. package/dist/collection/components/cookiebar/cookiebar-group/cookiebar-group.css +1 -0
  147. package/dist/collection/components/cookiebar/cookiebar-group/cookiebar-group.js +628 -0
  148. package/dist/collection/components/cookiebar/cookiebar-header/cookiebar-header.css +1 -0
  149. package/dist/collection/components/cookiebar/cookiebar-header/cookiebar-header.js +165 -0
  150. package/dist/collection/components/cookiebar/cookiebar-link/cookiebar-link.css +1 -0
  151. package/dist/collection/components/cookiebar/cookiebar-link/cookiebar-link.js +201 -0
  152. package/dist/collection/components/cookiebar/cookiebar-note/cookiebar-note.css +1 -0
  153. package/dist/collection/components/cookiebar/cookiebar-note/cookiebar-note.js +100 -0
  154. package/dist/collection/components/cookiebar/cookiebar-note-group/cookiebar-note-group.css +1 -0
  155. package/dist/collection/components/cookiebar/cookiebar-note-group/cookiebar-note-group.js +172 -0
  156. package/dist/collection/components/cookiebar/cookiebar.css +1 -0
  157. package/dist/collection/components/cookiebar/cookiebar.js +1419 -0
  158. package/dist/collection/components/cookiebar/cookiebar.types.js +1 -0
  159. package/dist/collection/components/cookiebar/cookiebar.utils.js +14 -0
  160. package/dist/collection/components/datetime-picker/date-picker/date-picker-locale.js +94 -0
  161. package/dist/collection/components/datetime-picker/date-picker/date-picker-props-validation.js +57 -0
  162. package/dist/collection/components/datetime-picker/date-picker/date-picker.css +1 -0
  163. package/dist/collection/components/datetime-picker/date-picker/date-picker.js +913 -0
  164. package/dist/collection/components/datetime-picker/datetime-input/datetime-input-props-validation.js +65 -0
  165. package/dist/collection/components/datetime-picker/datetime-input/datetime-input.css +1 -0
  166. package/dist/collection/components/datetime-picker/datetime-input/datetime-input.js +826 -0
  167. package/dist/collection/components/datetime-picker/datetime-picker-constants.js +36 -0
  168. package/dist/collection/components/datetime-picker/datetime-picker-form-associated.js +112 -0
  169. package/dist/collection/components/datetime-picker/datetime-picker-props-validation.js +202 -0
  170. package/dist/collection/components/datetime-picker/datetime-picker.css +1 -0
  171. package/dist/collection/components/datetime-picker/datetime-picker.js +1924 -0
  172. package/dist/collection/components/datetime-picker/datetime-picker.types.js +1 -0
  173. package/dist/collection/components/datetime-picker/datetime-picker.utils.js +250 -0
  174. package/dist/collection/components/datetime-picker/time-picker/time-picker-constants.js +13 -0
  175. package/dist/collection/components/datetime-picker/time-picker/time-picker.css +1 -0
  176. package/dist/collection/components/datetime-picker/time-picker/time-picker.js +456 -0
  177. package/dist/collection/components/divider/divider.css +1 -0
  178. package/dist/collection/components/divider/divider.js +537 -0
  179. package/dist/collection/components/divider/divider.types.js +1 -0
  180. package/dist/collection/components/dropdown/dropdown.css +1 -0
  181. package/dist/collection/components/dropdown/dropdown.js +939 -0
  182. package/dist/collection/components/dropdown/dropdown.types.js +1 -0
  183. package/dist/collection/components/footer/footer-category/footer-category.css +1 -0
  184. package/dist/collection/components/footer/footer-category/footer-category.js +160 -0
  185. package/dist/collection/components/footer/footer-item/footer-item.css +1 -0
  186. package/dist/collection/components/footer/footer-item/footer-item.js +154 -0
  187. package/dist/collection/components/footer/footer-legal/footer-legal.css +1 -0
  188. package/dist/collection/components/footer/footer-legal/footer-legal.js +75 -0
  189. package/dist/collection/components/footer/footer-logo/footer-logo.css +1 -0
  190. package/dist/collection/components/footer/footer-logo/footer-logo.js +342 -0
  191. package/dist/collection/components/footer/footer-logo/footer-logo.types.js +1 -0
  192. package/dist/collection/components/footer/footer-social/footer-social.css +1 -0
  193. package/dist/collection/components/footer/footer-social/footer-social.js +239 -0
  194. package/dist/collection/components/footer/footer.css +1 -0
  195. package/dist/collection/components/footer/footer.js +245 -0
  196. package/dist/collection/components/footer/footer.types.js +1 -0
  197. package/dist/collection/components/global.types.js +1 -0
  198. package/dist/collection/components/header/header-function/header-function.css +1 -0
  199. package/dist/collection/components/header/header-function/header-function.js +311 -0
  200. package/dist/collection/components/header/header-link/header-link.css +1 -0
  201. package/dist/collection/components/header/header-link/header-link.js +189 -0
  202. package/dist/collection/components/header/header-list/header-list.css +1 -0
  203. package/dist/collection/components/header/header-list/header-list.js +452 -0
  204. package/dist/collection/components/header/header-logo/header-logo.css +1 -0
  205. package/dist/collection/components/header/header-logo/header-logo.js +421 -0
  206. package/dist/collection/components/header/header.css +1 -0
  207. package/dist/collection/components/header/header.js +1131 -0
  208. package/dist/collection/components/header/header.types.js +1 -0
  209. package/dist/collection/components/icon/default-icons-cache.js +233 -0
  210. package/dist/collection/components/icon/icon.css +1 -0
  211. package/dist/collection/components/icon/icon.js +598 -0
  212. package/dist/collection/components/icon/icon.types.js +1 -0
  213. package/dist/collection/components/icon/icon.utils.js +33 -0
  214. package/dist/collection/components/input/input.css +1 -0
  215. package/dist/collection/components/input/input.js +1642 -0
  216. package/dist/collection/components/input/input.types.js +1 -0
  217. package/dist/collection/components/item/item.css +1 -0
  218. package/dist/collection/components/item/item.js +917 -0
  219. package/dist/collection/components/item/item.types.js +1 -0
  220. package/dist/collection/components/link/link.css +1 -0
  221. package/dist/collection/components/link/link.js +699 -0
  222. package/dist/collection/components/list/list.css +1 -0
  223. package/dist/collection/components/list/list.js +728 -0
  224. package/dist/collection/components/loading/loading.css +1 -0
  225. package/dist/collection/components/loading/loading.js +1169 -0
  226. package/dist/collection/components/loading/loading.types.js +1 -0
  227. package/dist/collection/components/magic-button/magic-button.css +1 -0
  228. package/dist/collection/components/magic-button/magic-button.js +238 -0
  229. package/dist/collection/components/menu/menu-group/menu-group.css +1 -0
  230. package/dist/collection/components/menu/menu-group/menu-group.js +77 -0
  231. package/dist/collection/components/menu/menu-header/menu-header.css +1 -0
  232. package/dist/collection/components/menu/menu-header/menu-header.js +161 -0
  233. package/dist/collection/components/menu/menu-info/menu-info.css +1 -0
  234. package/dist/collection/components/menu/menu-info/menu-info.js +94 -0
  235. package/dist/collection/components/menu/menu-item/menu-item.css +1 -0
  236. package/dist/collection/components/menu/menu-item/menu-item.js +306 -0
  237. package/dist/collection/components/menu/menu-item/menu-item.types.js +1 -0
  238. package/dist/collection/components/menu/menu-link/menu-link.css +1 -0
  239. package/dist/collection/components/menu/menu-link/menu-link.js +260 -0
  240. package/dist/collection/components/menu/menu-list/menu-list.css +1 -0
  241. package/dist/collection/components/menu/menu-list/menu-list.js +311 -0
  242. package/dist/collection/components/menu/menu-logo/menu-logo.css +1 -0
  243. package/dist/collection/components/menu/menu-logo/menu-logo.js +230 -0
  244. package/dist/collection/components/menu/menu-social/menu-social.css +1 -0
  245. package/dist/collection/components/menu/menu-social/menu-social.js +263 -0
  246. package/dist/collection/components/menu/menu.css +1 -0
  247. package/dist/collection/components/menu/menu.js +1372 -0
  248. package/dist/collection/components/menu/menu.types.js +1 -0
  249. package/dist/collection/components/menu/menu.utils.js +279 -0
  250. package/dist/collection/components/message/message.css +1 -0
  251. package/dist/collection/components/message/message.js +508 -0
  252. package/dist/collection/components/modal/modal.css +1 -0
  253. package/dist/collection/components/modal/modal.js +842 -0
  254. package/dist/collection/components/modal/modal.types.js +1 -0
  255. package/dist/collection/components/notification/notification-body/notification-body.css +1 -0
  256. package/dist/collection/components/notification/notification-body/notification-body.js +153 -0
  257. package/dist/collection/components/notification/notification-header/notification-header.css +1 -0
  258. package/dist/collection/components/notification/notification-header/notification-header.js +181 -0
  259. package/dist/collection/components/notification/notification-item/notification-item.css +1 -0
  260. package/dist/collection/components/notification/notification-item/notification-item.js +351 -0
  261. package/dist/collection/components/notification/notification-item/notification-item.types.js +1 -0
  262. package/dist/collection/components/notification/notification.css +1 -0
  263. package/dist/collection/components/notification/notification.js +838 -0
  264. package/dist/collection/components/notification/notification.types.js +1 -0
  265. package/dist/collection/components/pagination/pagination.css +1 -0
  266. package/dist/collection/components/pagination/pagination.js +1470 -0
  267. package/dist/collection/components/pagination/pagination.types.js +1 -0
  268. package/dist/collection/components/radio/radio.css +1 -0
  269. package/dist/collection/components/radio/radio.js +847 -0
  270. package/dist/collection/components/radio/radio.types.js +1 -0
  271. package/dist/collection/components/radio-group/radio-group.css +1 -0
  272. package/dist/collection/components/radio-group/radio-group.js +862 -0
  273. package/dist/collection/components/radio-group/radio-group.types.js +1 -0
  274. package/dist/collection/components/scrim/scrim.css +1 -0
  275. package/dist/collection/components/scrim/scrim.js +1825 -0
  276. package/dist/collection/components/scrim/scrim.types.js +1 -0
  277. package/dist/collection/components/scrim/scrim.utils.js +132 -0
  278. package/dist/collection/components/select/select-input/select-input.css +1 -0
  279. package/dist/collection/components/select/select-input/select-input.js +586 -0
  280. package/dist/collection/components/select/select-list/select-list.css +1 -0
  281. package/dist/collection/components/select/select-list/select-list.js +1159 -0
  282. package/dist/collection/components/select/select-option/select-option.css +1 -0
  283. package/dist/collection/components/select/select-option/select-option.js +564 -0
  284. package/dist/collection/components/select/select.constants.js +6 -0
  285. package/dist/collection/components/select/select.css +1 -0
  286. package/dist/collection/components/select/select.js +2692 -0
  287. package/dist/collection/components/select/select.types.js +1 -0
  288. package/dist/collection/components/select/select.utils.js +34 -0
  289. package/dist/collection/components/sign-in/sign-in.css +1 -0
  290. package/dist/collection/components/sign-in/sign-in.js +401 -0
  291. package/dist/collection/components/sign-in/sign-in.types.js +1 -0
  292. package/dist/collection/components/skip-link/skip-link-item/skip-link-item-alias.js +103 -0
  293. package/dist/collection/components/skip-link/skip-link-item/skip-link-item.css +1 -0
  294. package/dist/collection/components/skip-link/skip-link-item/skip-link-item.js +450 -0
  295. package/dist/collection/components/skip-link/skip-link.css +1 -0
  296. package/dist/collection/components/skip-link/skip-link.js +699 -0
  297. package/dist/collection/components/skip-link/skip-link.types.js +1 -0
  298. package/dist/collection/components/slider/slider.css +1 -0
  299. package/dist/collection/components/slider/slider.js +1324 -0
  300. package/dist/collection/components/slider/slider.types.js +1 -0
  301. package/dist/collection/components/step/step-item/step-item.css +1 -0
  302. package/dist/collection/components/step/step-item/step-item.js +604 -0
  303. package/dist/collection/components/step/step-item/step-item.types.js +1 -0
  304. package/dist/collection/components/step/step.css +1 -0
  305. package/dist/collection/components/step/step.js +896 -0
  306. package/dist/collection/components/step/step.types.js +1 -0
  307. package/dist/collection/components/switch/switch.css +1 -0
  308. package/dist/collection/components/switch/switch.js +715 -0
  309. package/dist/collection/components/switch/switch.types.js +1 -0
  310. package/dist/collection/components/tab/tab-item/tab-item.css +1 -0
  311. package/dist/collection/components/tab/tab-item/tab-item.js +425 -0
  312. package/dist/collection/components/tab/tab.css +1 -0
  313. package/dist/collection/components/tab/tab.js +724 -0
  314. package/dist/collection/components/tab/tab.types.js +1 -0
  315. package/dist/collection/components/table/table-body/table-body.css +1 -0
  316. package/dist/collection/components/table/table-body/table-body.js +51 -0
  317. package/dist/collection/components/table/table-cell/table-cell.css +1 -0
  318. package/dist/collection/components/table/table-cell/table-cell.js +373 -0
  319. package/dist/collection/components/table/table-constants.js +171 -0
  320. package/dist/collection/components/table/table-header/table-header.css +1 -0
  321. package/dist/collection/components/table/table-header/table-header.js +51 -0
  322. package/dist/collection/components/table/table-header-cell/table-header-cell.css +1 -0
  323. package/dist/collection/components/table/table-header-cell/table-header-cell.js +402 -0
  324. package/dist/collection/components/table/table-row/table-row.css +1 -0
  325. package/dist/collection/components/table/table-row/table-row.js +261 -0
  326. package/dist/collection/components/table/table-tokens.js +50 -0
  327. package/dist/collection/components/table/table-types.js +1 -0
  328. package/dist/collection/components/table/table-utils.js +44 -0
  329. package/dist/collection/components/table/table.css +1 -0
  330. package/dist/collection/components/table/table.js +1030 -0
  331. package/dist/collection/components/tag/tag.css +1 -0
  332. package/dist/collection/components/tag/tag.js +1152 -0
  333. package/dist/collection/components/tag/tag.types.js +1 -0
  334. package/dist/collection/components/textarea/textarea.css +1 -0
  335. package/dist/collection/components/textarea/textarea.js +985 -0
  336. package/dist/collection/components/textarea/textarea.types.js +1 -0
  337. package/dist/collection/components/tooltip/tooltip.css +1 -0
  338. package/dist/collection/components/tooltip/tooltip.js +1024 -0
  339. package/dist/collection/components/tooltip/tooltip.types.js +1 -0
  340. package/dist/collection/components/upload/upload.css +1 -0
  341. package/dist/collection/components/upload/upload.js +1314 -0
  342. package/dist/collection/components/upload/upload.types.js +1 -0
  343. package/dist/collection/components/wizard/wizard-panel/wizard-panel.css +1 -0
  344. package/dist/collection/components/wizard/wizard-panel/wizard-panel.js +167 -0
  345. package/dist/collection/components/wizard/wizard.css +1 -0
  346. package/dist/collection/components/wizard/wizard.js +1228 -0
  347. package/dist/collection/index.js +14 -0
  348. package/dist/collection/pages/components/cookiebar/index.js +26 -0
  349. package/dist/collection/pages/components/link/index.js +29 -0
  350. package/dist/collection/pages/components/pagination/index.js +12 -0
  351. package/dist/collection/pages/components/slider/index.js +18 -0
  352. package/dist/collection/pages/scripts/code-editor.js +101 -0
  353. package/dist/collection/pages/scripts/component-controls.js +600 -0
  354. package/dist/collection/pages/scripts/dev-event-console.js +47 -0
  355. package/dist/collection/pages/scripts/menu.js +192 -0
  356. package/dist/collection/pages/scripts/pageLoader.js +1422 -0
  357. package/dist/collection/shared/utils/assetsPath.js +75 -0
  358. package/dist/collection/shared/utils/breakpoint-observer.js +139 -0
  359. package/dist/collection/shared/utils/clamp.js +21 -0
  360. package/dist/collection/shared/utils/css-variables.js +12 -0
  361. package/dist/collection/shared/utils/cssVariables.js +37 -0
  362. package/dist/collection/shared/utils/date.js +405 -0
  363. package/dist/collection/shared/utils/debounce.js +39 -0
  364. package/dist/collection/shared/utils/event.js +55 -0
  365. package/dist/collection/shared/utils/floating-surface-dismiss.js +59 -0
  366. package/dist/collection/shared/utils/floating-ui.js +131 -0
  367. package/dist/collection/shared/utils/focus.js +24 -0
  368. package/dist/collection/shared/utils/form.js +82 -0
  369. package/dist/collection/shared/utils/format-bytes.js +20 -0
  370. package/dist/collection/shared/utils/getNextElement.js +30 -0
  371. package/dist/collection/shared/utils/getRandom.js +27 -0
  372. package/dist/collection/shared/utils/helpers.js +31 -0
  373. package/dist/collection/shared/utils/id.js +16 -0
  374. package/dist/collection/shared/utils/index.js +60 -0
  375. package/dist/collection/shared/utils/interfaces.js +1 -0
  376. package/dist/collection/shared/utils/isClient.js +14 -0
  377. package/dist/collection/shared/utils/isDefined.js +19 -0
  378. package/dist/collection/shared/utils/isEmpty.js +30 -0
  379. package/dist/collection/shared/utils/isHTMLElement.js +16 -0
  380. package/dist/collection/shared/utils/isNil.js +15 -0
  381. package/dist/collection/shared/utils/isString.js +20 -0
  382. package/dist/collection/shared/utils/native-dialog.js +44 -0
  383. package/dist/collection/shared/utils/navigation.js +21 -0
  384. package/dist/collection/shared/utils/parts.js +15 -0
  385. package/dist/collection/shared/utils/prop-warning.js +7 -0
  386. package/dist/collection/shared/utils/props.js +37 -0
  387. package/dist/collection/shared/utils/raf-batcher.js +51 -0
  388. package/dist/collection/shared/utils/scrollLock.js +141 -0
  389. package/dist/collection/shared/utils/setRafTimeout.js +38 -0
  390. package/dist/collection/shared/utils/slot.js +113 -0
  391. package/dist/collection/shared/utils/ssr-date.js +33 -0
  392. package/dist/collection/shared/utils/stringToArray.js +29 -0
  393. package/dist/collection/shared/utils/swipe.js +342 -0
  394. package/dist/collection/shared/utils/transition.js +127 -0
  395. package/dist/collection/shared/utils/types.js +1 -0
  396. package/dist/collection/shared/utils/validator.js +51 -0
  397. package/dist/collection/value-accessors/angular-value-accessor-config.js +41 -0
  398. package/dist/collection/value-accessors/index.js +6 -0
  399. package/dist/collection/value-accessors/vue-model-config.js +43 -0
  400. package/dist/components/br-avatar.d.ts +11 -0
  401. package/dist/components/br-avatar.js +5 -0
  402. package/dist/components/br-breadcrumb-item.d.ts +11 -0
  403. package/dist/components/br-breadcrumb-item.js +5 -0
  404. package/dist/components/br-breadcrumb.d.ts +11 -0
  405. package/dist/components/br-breadcrumb.js +5 -0
  406. package/dist/components/br-button.d.ts +11 -0
  407. package/dist/components/br-button.js +5 -0
  408. package/dist/components/br-card.d.ts +11 -0
  409. package/dist/components/br-card.js +5 -0
  410. package/dist/components/br-carousel-page.d.ts +11 -0
  411. package/dist/components/br-carousel-page.js +5 -0
  412. package/dist/components/br-carousel.d.ts +11 -0
  413. package/dist/components/br-carousel.js +5 -0
  414. package/dist/components/br-checkbox-group.d.ts +11 -0
  415. package/dist/components/br-checkbox-group.js +5 -0
  416. package/dist/components/br-checkbox.d.ts +11 -0
  417. package/dist/components/br-checkbox.js +5 -0
  418. package/dist/components/br-checkgroup.d.ts +11 -0
  419. package/dist/components/br-checkgroup.js +5 -0
  420. package/dist/components/br-collapse.d.ts +11 -0
  421. package/dist/components/br-collapse.js +5 -0
  422. package/dist/components/br-cookiebar-cookie.d.ts +11 -0
  423. package/dist/components/br-cookiebar-cookie.js +5 -0
  424. package/dist/components/br-cookiebar-group.d.ts +11 -0
  425. package/dist/components/br-cookiebar-group.js +5 -0
  426. package/dist/components/br-cookiebar-header.d.ts +11 -0
  427. package/dist/components/br-cookiebar-header.js +5 -0
  428. package/dist/components/br-cookiebar-link.d.ts +11 -0
  429. package/dist/components/br-cookiebar-link.js +5 -0
  430. package/dist/components/br-cookiebar-note-group.d.ts +11 -0
  431. package/dist/components/br-cookiebar-note-group.js +5 -0
  432. package/dist/components/br-cookiebar-note.d.ts +11 -0
  433. package/dist/components/br-cookiebar-note.js +5 -0
  434. package/dist/components/br-cookiebar.d.ts +11 -0
  435. package/dist/components/br-cookiebar.js +5 -0
  436. package/dist/components/br-crumb.d.ts +11 -0
  437. package/dist/components/br-crumb.js +5 -0
  438. package/dist/components/br-date-picker.d.ts +11 -0
  439. package/dist/components/br-date-picker.js +5 -0
  440. package/dist/components/br-datetime-input.d.ts +11 -0
  441. package/dist/components/br-datetime-input.js +5 -0
  442. package/dist/components/br-datetime-picker.d.ts +11 -0
  443. package/dist/components/br-datetime-picker.js +5 -0
  444. package/dist/components/br-divider.d.ts +11 -0
  445. package/dist/components/br-divider.js +5 -0
  446. package/dist/components/br-dropdown.d.ts +11 -0
  447. package/dist/components/br-dropdown.js +5 -0
  448. package/dist/components/br-footer-category.d.ts +11 -0
  449. package/dist/components/br-footer-category.js +5 -0
  450. package/dist/components/br-footer-item.d.ts +11 -0
  451. package/dist/components/br-footer-item.js +5 -0
  452. package/dist/components/br-footer-legal.d.ts +11 -0
  453. package/dist/components/br-footer-legal.js +5 -0
  454. package/dist/components/br-footer-logo.d.ts +11 -0
  455. package/dist/components/br-footer-logo.js +5 -0
  456. package/dist/components/br-footer-social.d.ts +11 -0
  457. package/dist/components/br-footer-social.js +5 -0
  458. package/dist/components/br-footer.d.ts +11 -0
  459. package/dist/components/br-footer.js +5 -0
  460. package/dist/components/br-header-function.d.ts +11 -0
  461. package/dist/components/br-header-function.js +5 -0
  462. package/dist/components/br-header-link.d.ts +11 -0
  463. package/dist/components/br-header-link.js +5 -0
  464. package/dist/components/br-header-list.d.ts +11 -0
  465. package/dist/components/br-header-list.js +5 -0
  466. package/dist/components/br-header-logo.d.ts +11 -0
  467. package/dist/components/br-header-logo.js +5 -0
  468. package/dist/components/br-header.d.ts +11 -0
  469. package/dist/components/br-header.js +5 -0
  470. package/dist/components/br-icon.d.ts +11 -0
  471. package/dist/components/br-icon.js +5 -0
  472. package/dist/components/br-input.d.ts +11 -0
  473. package/dist/components/br-input.js +5 -0
  474. package/dist/components/br-item.d.ts +11 -0
  475. package/dist/components/br-item.js +5 -0
  476. package/dist/components/br-link.d.ts +11 -0
  477. package/dist/components/br-link.js +5 -0
  478. package/dist/components/br-list.d.ts +11 -0
  479. package/dist/components/br-list.js +5 -0
  480. package/dist/components/br-loading.d.ts +11 -0
  481. package/dist/components/br-loading.js +5 -0
  482. package/dist/components/br-magic-button.d.ts +11 -0
  483. package/dist/components/br-magic-button.js +5 -0
  484. package/dist/components/br-menu-group.d.ts +11 -0
  485. package/dist/components/br-menu-group.js +5 -0
  486. package/dist/components/br-menu-header.d.ts +11 -0
  487. package/dist/components/br-menu-header.js +5 -0
  488. package/dist/components/br-menu-info.d.ts +11 -0
  489. package/dist/components/br-menu-info.js +5 -0
  490. package/dist/components/br-menu-item.d.ts +11 -0
  491. package/dist/components/br-menu-item.js +5 -0
  492. package/dist/components/br-menu-link.d.ts +11 -0
  493. package/dist/components/br-menu-link.js +5 -0
  494. package/dist/components/br-menu-list.d.ts +11 -0
  495. package/dist/components/br-menu-list.js +5 -0
  496. package/dist/components/br-menu-logo.d.ts +11 -0
  497. package/dist/components/br-menu-logo.js +5 -0
  498. package/dist/components/br-menu-social.d.ts +11 -0
  499. package/dist/components/br-menu-social.js +5 -0
  500. package/dist/components/br-menu.d.ts +11 -0
  501. package/dist/components/br-menu.js +5 -0
  502. package/dist/components/br-message.d.ts +11 -0
  503. package/dist/components/br-message.js +5 -0
  504. package/dist/components/br-modal.d.ts +11 -0
  505. package/dist/components/br-modal.js +5 -0
  506. package/dist/components/br-notification-body.d.ts +11 -0
  507. package/dist/components/br-notification-body.js +5 -0
  508. package/dist/components/br-notification-header.d.ts +11 -0
  509. package/dist/components/br-notification-header.js +5 -0
  510. package/dist/components/br-notification-item.d.ts +11 -0
  511. package/dist/components/br-notification-item.js +5 -0
  512. package/dist/components/br-notification.d.ts +11 -0
  513. package/dist/components/br-notification.js +5 -0
  514. package/dist/components/br-pagination.d.ts +11 -0
  515. package/dist/components/br-pagination.js +5 -0
  516. package/dist/components/br-radio-group.d.ts +11 -0
  517. package/dist/components/br-radio-group.js +5 -0
  518. package/dist/components/br-radio.d.ts +11 -0
  519. package/dist/components/br-radio.js +5 -0
  520. package/dist/components/br-scrim.d.ts +11 -0
  521. package/dist/components/br-scrim.js +5 -0
  522. package/dist/components/br-select-input.d.ts +11 -0
  523. package/dist/components/br-select-input.js +5 -0
  524. package/dist/components/br-select-list.d.ts +11 -0
  525. package/dist/components/br-select-list.js +5 -0
  526. package/dist/components/br-select-option.d.ts +11 -0
  527. package/dist/components/br-select-option.js +5 -0
  528. package/dist/components/br-select.d.ts +11 -0
  529. package/dist/components/br-select.js +5 -0
  530. package/dist/components/br-sign-in.d.ts +11 -0
  531. package/dist/components/br-sign-in.js +5 -0
  532. package/dist/components/br-skip-link-item.d.ts +11 -0
  533. package/dist/components/br-skip-link-item.js +5 -0
  534. package/dist/components/br-skip-link.d.ts +11 -0
  535. package/dist/components/br-skip-link.js +5 -0
  536. package/dist/components/br-skiplink-item.d.ts +11 -0
  537. package/dist/components/br-skiplink-item.js +5 -0
  538. package/dist/components/br-slider.d.ts +11 -0
  539. package/dist/components/br-slider.js +5 -0
  540. package/dist/components/br-step-item.d.ts +11 -0
  541. package/dist/components/br-step-item.js +5 -0
  542. package/dist/components/br-step.d.ts +11 -0
  543. package/dist/components/br-step.js +5 -0
  544. package/dist/components/br-switch.d.ts +11 -0
  545. package/dist/components/br-switch.js +5 -0
  546. package/dist/components/br-tab-item.d.ts +11 -0
  547. package/dist/components/br-tab-item.js +5 -0
  548. package/dist/components/br-tab.d.ts +11 -0
  549. package/dist/components/br-tab.js +5 -0
  550. package/dist/components/br-table-body.d.ts +11 -0
  551. package/dist/components/br-table-body.js +5 -0
  552. package/dist/components/br-table-cell.d.ts +11 -0
  553. package/dist/components/br-table-cell.js +5 -0
  554. package/dist/components/br-table-header-cell.d.ts +11 -0
  555. package/dist/components/br-table-header-cell.js +5 -0
  556. package/dist/components/br-table-header.d.ts +11 -0
  557. package/dist/components/br-table-header.js +5 -0
  558. package/dist/components/br-table-row.d.ts +11 -0
  559. package/dist/components/br-table-row.js +5 -0
  560. package/dist/components/br-table.d.ts +11 -0
  561. package/dist/components/br-table.js +5 -0
  562. package/dist/components/br-tag.d.ts +11 -0
  563. package/dist/components/br-tag.js +5 -0
  564. package/dist/components/br-textarea.d.ts +11 -0
  565. package/dist/components/br-textarea.js +5 -0
  566. package/dist/components/br-time-picker.d.ts +11 -0
  567. package/dist/components/br-time-picker.js +5 -0
  568. package/dist/components/br-tooltip.d.ts +11 -0
  569. package/dist/components/br-tooltip.js +5 -0
  570. package/dist/components/br-upload.d.ts +11 -0
  571. package/dist/components/br-upload.js +5 -0
  572. package/dist/components/br-wizard-panel.d.ts +11 -0
  573. package/dist/components/br-wizard-panel.js +5 -0
  574. package/dist/components/br-wizard.d.ts +11 -0
  575. package/dist/components/br-wizard.js +5 -0
  576. package/dist/components/index.d.ts +213 -0
  577. package/dist/components/index.js +5 -0
  578. package/dist/components/p-34Jfn-U-.js +5 -0
  579. package/dist/components/p-5z6jgH1D.js +5 -0
  580. package/dist/components/p-6OdfnwnK.js +5 -0
  581. package/dist/components/p-9S9bgUT0.js +5 -0
  582. package/dist/components/p-B-qLmYZC.js +5 -0
  583. package/dist/components/p-B55qsau4.js +5 -0
  584. package/dist/components/p-B7Amgxkp.js +5 -0
  585. package/dist/components/p-BC7f6MK8.js +5 -0
  586. package/dist/components/p-BKuMQJrQ.js +5 -0
  587. package/dist/components/p-BPJpHGOW.js +5 -0
  588. package/dist/components/p-BWXfdbQH.js +5 -0
  589. package/dist/components/p-Bb-nLtTG.js +5 -0
  590. package/dist/components/p-BeE7R9nu.js +5 -0
  591. package/dist/components/p-BkS6ujyf.js +5 -0
  592. package/dist/components/p-Bo0QYHJO.js +5 -0
  593. package/dist/components/p-C1yRmdso.js +5 -0
  594. package/dist/components/p-C2i2c_io.js +5 -0
  595. package/dist/components/p-C7v0lVlX.js +5 -0
  596. package/dist/components/p-CMBsvswx.js +5 -0
  597. package/dist/components/p-CRrimdz6.js +5 -0
  598. package/dist/components/p-CWORw84-.js +5 -0
  599. package/dist/components/p-CXMwM9m4.js +5 -0
  600. package/dist/components/p-CdDwqbBv.js +5 -0
  601. package/dist/components/p-CvUMXJCl.js +5 -0
  602. package/dist/components/p-D3usVJE2.js +16 -0
  603. package/dist/components/p-D6zroLx5.js +5 -0
  604. package/dist/components/p-DA5GS53D.js +5 -0
  605. package/dist/components/p-DBP6K_aq.js +5 -0
  606. package/dist/components/p-DBmwzG9E.js +5 -0
  607. package/dist/components/p-DCrVo-8T.js +5 -0
  608. package/dist/components/p-DFUKDNck.js +5 -0
  609. package/dist/components/p-DHicj0By.js +5 -0
  610. package/dist/components/p-DIK54tTj.js +5 -0
  611. package/dist/components/p-DQRSHR-D.js +5 -0
  612. package/dist/components/p-DRVMm1Py.js +5 -0
  613. package/dist/components/p-DWPmUV72.js +5 -0
  614. package/dist/components/p-DXjQyH6s.js +5 -0
  615. package/dist/components/p-DYA74R1r.js +5 -0
  616. package/dist/components/p-DmCxdB9P.js +5 -0
  617. package/dist/components/p-Dmfk7eEe.js +5 -0
  618. package/dist/components/p-Dp0xy_3n.js +5 -0
  619. package/dist/components/p-DxZJrIyL.js +5 -0
  620. package/dist/components/p-JAkkThgf.js +5 -0
  621. package/dist/components/p-Ud-WB0hx.js +5 -0
  622. package/dist/components/p-bhULC15U.js +5 -0
  623. package/dist/components/p-cF3ia5e9.js +5 -0
  624. package/dist/components/p-fpMNttbg.js +5 -0
  625. package/dist/components/p-gvnfuTjd.js +5 -0
  626. package/dist/components/p-qYONSNcf.js +5 -0
  627. package/dist/components/p-qhhHGJY1.js +5 -0
  628. package/dist/components/p-ttI0nvv_.js +5 -0
  629. package/dist/components/p-ukNmfGNP.js +5 -0
  630. package/dist/components/p-xa8e1kSW.js +5 -0
  631. package/dist/esm/app-globals-DVjNHTTs.js +7 -0
  632. package/dist/esm/br-avatar.entry.js +246 -0
  633. package/dist/esm/br-breadcrumb-item.entry.js +43 -0
  634. package/dist/esm/br-breadcrumb.entry.js +441 -0
  635. package/dist/esm/br-button_2.entry.js +277 -0
  636. package/dist/esm/br-card.entry.js +109 -0
  637. package/dist/esm/br-carousel-page.entry.js +78 -0
  638. package/dist/esm/br-carousel.entry.js +563 -0
  639. package/dist/esm/br-checkbox-group.entry.js +116 -0
  640. package/dist/esm/br-checkbox.entry.js +286 -0
  641. package/dist/esm/br-checkgroup.entry.js +18 -0
  642. package/dist/esm/br-collapse_2.entry.js +680 -0
  643. package/dist/esm/br-cookiebar-cookie.entry.js +81 -0
  644. package/dist/esm/br-cookiebar-group.entry.js +307 -0
  645. package/dist/esm/br-cookiebar-header.entry.js +37 -0
  646. package/dist/esm/br-cookiebar-link.entry.js +53 -0
  647. package/dist/esm/br-cookiebar-note-group.entry.js +68 -0
  648. package/dist/esm/br-cookiebar-note.entry.js +23 -0
  649. package/dist/esm/br-cookiebar.entry.js +756 -0
  650. package/dist/esm/br-crumb.entry.js +49 -0
  651. package/dist/esm/br-date-picker_3.entry.js +2443 -0
  652. package/dist/esm/br-datetime-picker.entry.js +1884 -0
  653. package/dist/esm/br-divider.entry.js +223 -0
  654. package/dist/esm/br-dropdown_2.entry.js +1997 -0
  655. package/dist/esm/br-footer-category.entry.js +100 -0
  656. package/dist/esm/br-footer-item.entry.js +50 -0
  657. package/dist/esm/br-footer-legal.entry.js +39 -0
  658. package/dist/esm/br-footer-logo.entry.js +102 -0
  659. package/dist/esm/br-footer-social.entry.js +69 -0
  660. package/dist/esm/br-footer.entry.js +90 -0
  661. package/dist/esm/br-header-function.entry.js +140 -0
  662. package/dist/esm/br-header-link.entry.js +58 -0
  663. package/dist/esm/br-header-list.entry.js +277 -0
  664. package/dist/esm/br-header-logo.entry.js +176 -0
  665. package/dist/esm/br-header.entry.js +640 -0
  666. package/dist/esm/br-icon.entry.js +483 -0
  667. package/dist/esm/br-input.entry.js +597 -0
  668. package/dist/esm/br-item.entry.js +365 -0
  669. package/dist/esm/br-link.entry.js +131 -0
  670. package/dist/esm/br-loading.entry.js +503 -0
  671. package/dist/esm/br-magic-button.entry.js +91 -0
  672. package/dist/esm/br-menu-group.entry.js +21 -0
  673. package/dist/esm/br-menu-header.entry.js +45 -0
  674. package/dist/esm/br-menu-info.entry.js +36 -0
  675. package/dist/esm/br-menu-item.entry.js +77 -0
  676. package/dist/esm/br-menu-link.entry.js +54 -0
  677. package/dist/esm/br-menu-list.entry.js +147 -0
  678. package/dist/esm/br-menu-logo.entry.js +73 -0
  679. package/dist/esm/br-menu-social.entry.js +63 -0
  680. package/dist/esm/br-menu.entry.js +991 -0
  681. package/dist/esm/br-modal.entry.js +494 -0
  682. package/dist/esm/br-notification-body.entry.js +69 -0
  683. package/dist/esm/br-notification-header.entry.js +46 -0
  684. package/dist/esm/br-notification-item.entry.js +108 -0
  685. package/dist/esm/br-notification.entry.js +332 -0
  686. package/dist/esm/br-pagination.entry.js +882 -0
  687. package/dist/esm/br-radio-group.entry.js +426 -0
  688. package/dist/esm/br-radio.entry.js +355 -0
  689. package/dist/esm/br-scrim.entry.js +1334 -0
  690. package/dist/esm/br-select-input_3.entry.js +984 -0
  691. package/dist/esm/br-sign-in.entry.js +124 -0
  692. package/dist/esm/br-skip-link-item.entry.js +18 -0
  693. package/dist/esm/br-skip-link.entry.js +360 -0
  694. package/dist/esm/br-skiplink-item.entry.js +190 -0
  695. package/dist/esm/br-slider.entry.js +685 -0
  696. package/dist/esm/br-step_2.entry.js +625 -0
  697. package/dist/esm/br-switch.entry.js +243 -0
  698. package/dist/esm/br-tab-item.entry.js +183 -0
  699. package/dist/esm/br-tab.entry.js +395 -0
  700. package/dist/esm/br-table-body.entry.js +35 -0
  701. package/dist/esm/br-table-cell.entry.js +182 -0
  702. package/dist/esm/br-table-header-cell.entry.js +171 -0
  703. package/dist/esm/br-table-header.entry.js +35 -0
  704. package/dist/esm/br-table-row.entry.js +79 -0
  705. package/dist/esm/br-table.entry.js +678 -0
  706. package/dist/esm/br-tag.entry.js +491 -0
  707. package/dist/esm/br-textarea.entry.js +304 -0
  708. package/dist/esm/br-tooltip.entry.js +625 -0
  709. package/dist/esm/br-upload.entry.js +579 -0
  710. package/dist/esm/br-wizard-panel.entry.js +52 -0
  711. package/dist/esm/br-wizard.entry.js +706 -0
  712. package/dist/esm/breakpoint-observer-DBmwzG9E.js +141 -0
  713. package/dist/esm/clamp-gvnfuTjd.js +23 -0
  714. package/dist/esm/cookiebar.utils-DYA74R1r.js +16 -0
  715. package/dist/esm/datetime-picker-constants-Bfm58jO6.js +3798 -0
  716. package/dist/esm/event-DFN_so7I.js +48 -0
  717. package/dist/esm/floating-surface-dismiss-BWXfdbQH.js +61 -0
  718. package/dist/esm/floating-ui-BavFwMnx.js +134 -0
  719. package/dist/esm/floating-ui.dom-DIK54tTj.js +1707 -0
  720. package/dist/esm/focus-DxZJrIyL.js +26 -0
  721. package/dist/esm/getNextElement-9S9bgUT0.js +28 -0
  722. package/dist/esm/iconify-icon-D3usVJE2.js +2303 -0
  723. package/dist/esm/id-BkS6ujyf.js +18 -0
  724. package/dist/esm/index-Bo-2igoO.js +671 -0
  725. package/dist/esm/index-C2RBydfd.js +3258 -0
  726. package/dist/esm/index.js +6 -0
  727. package/dist/esm/isNil-B-qLmYZC.js +17 -0
  728. package/dist/esm/isValid-DIUZX1qS.js +3684 -0
  729. package/dist/esm/loader.js +15 -0
  730. package/dist/esm/native-dialog-B55qsau4.js +46 -0
  731. package/dist/esm/navigation-bhULC15U.js +23 -0
  732. package/dist/esm/parts-Bb5vVlCC.js +17 -0
  733. package/dist/esm/props-DRVMm1Py.js +22 -0
  734. package/dist/esm/raf-batcher-cF3ia5e9.js +53 -0
  735. package/dist/esm/slot-BIG-yees.js +44 -0
  736. package/dist/esm/swipe-Dmfk7eEe.js +343 -0
  737. package/dist/esm/table-constants-CXMwM9m4.js +170 -0
  738. package/dist/esm/validator-D3tVP32U.js +113 -0
  739. package/dist/esm/webcomponents.js +46 -0
  740. package/dist/hydrate/index.d.ts +287 -0
  741. package/dist/hydrate/index.js +67516 -0
  742. package/dist/hydrate/index.mjs +67506 -0
  743. package/dist/hydrate/package.json +12 -0
  744. package/dist/index.cjs.js +1 -0
  745. package/dist/index.js +1 -0
  746. package/dist/loader/cdn.js +5 -0
  747. package/dist/loader/index.cjs.js +5 -0
  748. package/dist/loader/index.d.ts +24 -0
  749. package/dist/loader/index.es2017.js +5 -0
  750. package/dist/loader/index.js +6 -0
  751. package/dist/types/components/item/item.d.ts +1 -0
  752. package/dist/types/components/select/select-list/select-list.d.ts +1 -0
  753. package/dist/types/components/select/select-option/select-option.d.ts +1 -0
  754. package/dist/types/components/select/select.d.ts +14 -0
  755. package/dist/types/components/select/select.types.d.ts +2 -0
  756. package/dist/types/components/select/select.utils.d.ts +13 -0
  757. package/dist/webcomponents/index.esm.js +5 -0
  758. package/dist/webcomponents/p-0196804a.entry.js +5 -0
  759. package/dist/webcomponents/p-0410186a.entry.js +5 -0
  760. package/dist/webcomponents/p-0415ef22.entry.js +5 -0
  761. package/dist/webcomponents/p-0777c7b1.entry.js +5 -0
  762. package/dist/webcomponents/p-0caa4d12.entry.js +5 -0
  763. package/dist/webcomponents/p-0d4f718d.entry.js +5 -0
  764. package/dist/webcomponents/p-0e84c9e8.entry.js +5 -0
  765. package/dist/webcomponents/p-12286e73.entry.js +5 -0
  766. package/dist/webcomponents/p-147ac8d3.entry.js +5 -0
  767. package/dist/webcomponents/p-1580beee.entry.js +5 -0
  768. package/dist/webcomponents/p-18ee6175.entry.js +5 -0
  769. package/dist/webcomponents/p-1bca4499.entry.js +5 -0
  770. package/dist/webcomponents/p-1c303a4e.entry.js +5 -0
  771. package/dist/webcomponents/p-1d6b0b6f.entry.js +5 -0
  772. package/dist/webcomponents/p-1d8cb8fd.entry.js +5 -0
  773. package/dist/webcomponents/p-224daaac.entry.js +5 -0
  774. package/dist/webcomponents/p-28426d2a.entry.js +5 -0
  775. package/dist/webcomponents/p-2abd2da0.entry.js +5 -0
  776. package/dist/webcomponents/p-2fdc51ae.entry.js +5 -0
  777. package/dist/webcomponents/p-30c428b6.entry.js +5 -0
  778. package/dist/webcomponents/p-36bbea4e.entry.js +5 -0
  779. package/dist/webcomponents/p-3907ebfa.entry.js +5 -0
  780. package/dist/webcomponents/p-39a16f9d.entry.js +5 -0
  781. package/dist/webcomponents/p-3ebbd2f5.entry.js +5 -0
  782. package/dist/webcomponents/p-3ef7eac8.entry.js +5 -0
  783. package/dist/webcomponents/p-45356e9a.entry.js +5 -0
  784. package/dist/webcomponents/p-46513db4.entry.js +5 -0
  785. package/dist/webcomponents/p-4c13221a.entry.js +5 -0
  786. package/dist/webcomponents/p-51ce2c31.entry.js +5 -0
  787. package/dist/webcomponents/p-52df61cb.entry.js +5 -0
  788. package/dist/webcomponents/p-569134cf.entry.js +5 -0
  789. package/dist/webcomponents/p-5ce7db4a.entry.js +5 -0
  790. package/dist/webcomponents/p-5f373708.entry.js +5 -0
  791. package/dist/webcomponents/p-5f6afb79.entry.js +5 -0
  792. package/dist/webcomponents/p-5fc7ba4c.entry.js +5 -0
  793. package/dist/webcomponents/p-66006312.entry.js +5 -0
  794. package/dist/webcomponents/p-66b13fd9.entry.js +5 -0
  795. package/dist/webcomponents/p-6OdfnwnK.js +5 -0
  796. package/dist/webcomponents/p-750799b7.entry.js +5 -0
  797. package/dist/webcomponents/p-756ff2ad.entry.js +5 -0
  798. package/dist/webcomponents/p-765bfe27.entry.js +5 -0
  799. package/dist/webcomponents/p-7ab96c11.entry.js +5 -0
  800. package/dist/webcomponents/p-7c2ff8b4.entry.js +5 -0
  801. package/dist/webcomponents/p-7f7506f0.entry.js +5 -0
  802. package/dist/webcomponents/p-7fb03a49.entry.js +5 -0
  803. package/dist/webcomponents/p-82200563.entry.js +5 -0
  804. package/dist/webcomponents/p-83ff4579.entry.js +5 -0
  805. package/dist/webcomponents/p-85f8063b.entry.js +5 -0
  806. package/dist/webcomponents/p-8b558233.entry.js +5 -0
  807. package/dist/webcomponents/p-8e6c2767.entry.js +5 -0
  808. package/dist/webcomponents/p-8e819355.entry.js +5 -0
  809. package/dist/webcomponents/p-92a9b9c4.entry.js +5 -0
  810. package/dist/webcomponents/p-966ad32f.entry.js +5 -0
  811. package/dist/webcomponents/p-9679d230.entry.js +5 -0
  812. package/dist/webcomponents/p-96dd663b.entry.js +5 -0
  813. package/dist/webcomponents/p-98843fa3.entry.js +5 -0
  814. package/dist/webcomponents/p-9S9bgUT0.js +5 -0
  815. package/dist/webcomponents/p-9a375eff.entry.js +5 -0
  816. package/dist/webcomponents/p-9b358cff.entry.js +5 -0
  817. package/dist/webcomponents/p-9f7558c7.entry.js +5 -0
  818. package/dist/webcomponents/p-B-qLmYZC.js +5 -0
  819. package/dist/webcomponents/p-B55qsau4.js +5 -0
  820. package/dist/webcomponents/p-BIG-yees.js +5 -0
  821. package/dist/webcomponents/p-BWXfdbQH.js +5 -0
  822. package/dist/webcomponents/p-Bb5vVlCC.js +5 -0
  823. package/dist/webcomponents/p-Bfm58jO6.js +5 -0
  824. package/dist/webcomponents/p-BhMVJQ4-.js +5 -0
  825. package/dist/webcomponents/p-BkS6ujyf.js +5 -0
  826. package/dist/webcomponents/p-C2RBydfd.js +6 -0
  827. package/dist/webcomponents/p-CO5cOQQU.js +5 -0
  828. package/dist/webcomponents/p-CXMwM9m4.js +5 -0
  829. package/dist/webcomponents/p-D3tVP32U.js +5 -0
  830. package/dist/webcomponents/p-D3usVJE2.js +16 -0
  831. package/dist/webcomponents/p-DBmwzG9E.js +5 -0
  832. package/dist/webcomponents/p-DFN_so7I.js +5 -0
  833. package/dist/webcomponents/p-DIK54tTj.js +5 -0
  834. package/dist/webcomponents/p-DRVMm1Py.js +5 -0
  835. package/dist/webcomponents/p-DVjNHTTs.js +5 -0
  836. package/dist/webcomponents/p-DYA74R1r.js +5 -0
  837. package/dist/webcomponents/p-Dmfk7eEe.js +5 -0
  838. package/dist/webcomponents/p-DxZJrIyL.js +5 -0
  839. package/dist/webcomponents/p-a382e115.entry.js +5 -0
  840. package/dist/webcomponents/p-a4ae72e3.entry.js +5 -0
  841. package/dist/webcomponents/p-a994c190.entry.js +5 -0
  842. package/dist/webcomponents/p-a9ff7c25.entry.js +5 -0
  843. package/dist/webcomponents/p-bhULC15U.js +5 -0
  844. package/dist/webcomponents/p-c0b0f531.entry.js +5 -0
  845. package/dist/webcomponents/p-c211af17.entry.js +5 -0
  846. package/dist/webcomponents/p-c492d926.entry.js +5 -0
  847. package/dist/webcomponents/p-c4cfe599.entry.js +5 -0
  848. package/dist/webcomponents/p-c846e784.entry.js +5 -0
  849. package/dist/webcomponents/p-c949d993.entry.js +5 -0
  850. package/dist/webcomponents/p-cF3ia5e9.js +5 -0
  851. package/dist/webcomponents/p-d1e899cd.entry.js +5 -0
  852. package/dist/webcomponents/p-d38d82cc.entry.js +5 -0
  853. package/dist/webcomponents/p-e0ce536a.entry.js +5 -0
  854. package/dist/webcomponents/p-e1331288.entry.js +5 -0
  855. package/dist/webcomponents/p-e360a463.entry.js +5 -0
  856. package/dist/webcomponents/p-f078f972.entry.js +5 -0
  857. package/dist/webcomponents/p-f26038e2.entry.js +5 -0
  858. package/dist/webcomponents/p-f303f6b3.entry.js +5 -0
  859. package/dist/webcomponents/p-f6318e94.entry.js +5 -0
  860. package/dist/webcomponents/p-f85ee01c.entry.js +5 -0
  861. package/dist/webcomponents/p-fcd4ae48.entry.js +5 -0
  862. package/dist/webcomponents/p-ffe0241e.entry.js +5 -0
  863. package/dist/webcomponents/p-gvnfuTjd.js +5 -0
  864. package/dist/webcomponents/webcomponents.esm.js +5 -0
  865. package/package.json +3 -7
  866. package/cem/.gitkeep +0 -0
@@ -0,0 +1,1642 @@
1
+ /*!
2
+ * Construído por SERPRO
3
+ * © https://serpro.gov.br/ - MIT License.
4
+ */
5
+ import { Host, h, } from "@stencil/core";
6
+ import { redispatchNativeFormEvent } from "../../shared/utils/event";
7
+ import { getFormValidationState, isFormControlDisabled, safeSetFormValue, syncNativeFormValidity, } from "../../shared/utils/form";
8
+ import { setPartAttributes } from "../../shared/utils/parts";
9
+ import { normalizePropValue } from "../../shared/utils/props";
10
+ import { hasAssignedSlotContent, hasNamedLightDomSlot } from "../../shared/utils/slot";
11
+ import { resolveFormValidator } from "../../shared/utils/validator";
12
+ const INPUT_STATES = ['info', 'warning', 'danger', 'success'];
13
+ /**
14
+ * ## Design System
15
+ *
16
+ * Para a documentação completa de design, incluindo diretrizes de uso, acessibilidade e exemplos visuais, consulte o [Design System do GovBR](https://www.gov.br/ds/components/input?tab=designer).
17
+ *
18
+ * ### Validação e Acessibilidade
19
+ * - **Validação:** Utilize a propriedade `state="danger"` para indicar um campo inválido e forneça o motivo no slot `feedback` utilizando o `<br-message>`. O gerenciamento da regra de validação é de responsabilidade da aplicação ou framework consumidor.
20
+ * - **Acessibilidade:** Este componente respeita a navegação por teclado e automaticamente sinaliza erros para leitores de tela quando `state="danger"` é ativado. Se o campo não possuir rótulo visual (label), use a propriedade `aria-label`.
21
+ *
22
+ * @category Formulários
23
+ * @status stable
24
+ * @slot action - Botão à direita do input.
25
+ * @slot icon - Ícone à esquerda do input.
26
+ * @slot help-text - Personalização do texto de ajuda.
27
+ * @slot feedback - Mensagem de feedback como resposta específica a uma interação do usuário com o input. Pode ser feedback de erro, aviso, sucesso ou informação.
28
+ * @slot validation-loading - Indicador exibido enquanto o validator assíncrono está pendente.
29
+ *
30
+ * @part container - Contêiner visual principal do input.
31
+ * @part label - Rótulo do input.
32
+ * @part input - Elemento input nativo.
33
+ * @part group - Grupo que contém ícone, input, botão e ajuda.
34
+ * @part icon - Contêiner do slot de ícone.
35
+ * @part action - Botão de ação lateral.
36
+ * @part action-button - Botão interno reexportado do br-button da ação.
37
+ * @part help-text - Texto de ajuda ou slot de ajuda.
38
+ * @part feedback - Slot de feedback.
39
+ */
40
+ export class Input {
41
+ constructor() {
42
+ this.formDisabled = false;
43
+ this.hasActionSlot = false;
44
+ this.hasFeedbackSlot = false;
45
+ this.hasValidationLoadingSlot = false;
46
+ this.hasIconSlot = false;
47
+ this.isValidating = false;
48
+ this.validatorMessage = null;
49
+ this.isPasswordVisible = false;
50
+ /**
51
+ * Especifica o tipo de entrada do campo.
52
+ */
53
+ this.type = 'text';
54
+ /**
55
+ * Ajusta a densidade, alterando o espaçamento interno para um visual mais compacto ou mais expandido.
56
+ */
57
+ this.density = 'medium';
58
+ /**
59
+ * Desativa o input, tornando-o não interativo.
60
+ */
61
+ this.disabled = false;
62
+ /**
63
+ * Se verdadeiro, o rótulo e o input estarão na mesma linha (layout inline).
64
+ * @deprecated Use `inline`.
65
+ */
66
+ this.isInline = false;
67
+ /**
68
+ * Se verdadeiro, o input terá destaque visual.
69
+ * @deprecated Use `highlight`.
70
+ */
71
+ this.isHighlight = false;
72
+ /** Nome acessível usado quando não há um rótulo visual. */
73
+ this.ariaLabel = null;
74
+ /**
75
+ * Identificador único.
76
+ * Caso não seja fornecido, um ID gerado automaticamente será usado.
77
+ */
78
+ this.customId = `br-input-${inputId++}`;
79
+ /**
80
+ * Se verdadeiro, o valor do input é exibido, mas não pode ser editado pelo usuário.
81
+ */
82
+ this.readonly = false;
83
+ /**
84
+ * Se verdadeiro, o input é obrigatório e deve ser preenchido antes que o formulário possa ser enviado.
85
+ */
86
+ this.required = false;
87
+ /**
88
+ * Valor exibido no input.
89
+ * Pode ser alterado pelo usuário se a propriedade `readonly` não estiver ativa.
90
+ */
91
+ this.value = '';
92
+ /**
93
+ * Remove a borda do input quando não está em foco.
94
+ * Útil para composições contextuais (ex.: paginação).
95
+ */
96
+ this.borderless = false;
97
+ /**
98
+ * Controla a correção automática do texto.
99
+ */
100
+ this.autocorrect = 'off';
101
+ /**
102
+ * Se verdadeiro, permite a entrada de múltiplos e-mails (quando type="email").
103
+ */
104
+ this.multiple = false;
105
+ this.initialValue = '';
106
+ this.manualValidationMessage = '';
107
+ this.validationRunId = 0;
108
+ /**
109
+ * Manipula o evento de input, aplicando máscara se necessário e emitindo o valor atualizado.
110
+ * @param event Evento de input do elemento HTMLInputElement
111
+ */
112
+ this.handleInput = (event) => {
113
+ const inputElement = event.target;
114
+ let nextValue = inputElement.value ?? '';
115
+ if (this.hasMaskConfigured()) {
116
+ const maskedValue = this.applyMask(nextValue);
117
+ if (maskedValue !== nextValue) {
118
+ inputElement.value = maskedValue;
119
+ }
120
+ nextValue = maskedValue;
121
+ }
122
+ this.nativeValueUpdate = true;
123
+ try {
124
+ this.value = nextValue;
125
+ }
126
+ finally {
127
+ this.nativeValueUpdate = false;
128
+ }
129
+ this.valueChange.emit(this.value);
130
+ redispatchNativeFormEvent(this.el, event, 'input');
131
+ };
132
+ this.handleChange = (event) => {
133
+ redispatchNativeFormEvent(this.el, event, 'change');
134
+ void this.validate();
135
+ };
136
+ /**
137
+ * Renderiza o rótulo do input, considerando se está em modo inline ou não.
138
+ * @returns JSX.Element representando o rótulo do input.
139
+ */
140
+ this.renderLabel = () => {
141
+ if (typeof this.label === 'string' && this.label.length > 0) {
142
+ if (this.inline ?? this.isInline) {
143
+ return (h("div", { class: "input-label" }, h("label", { part: "label", class: "text-nowrap", htmlFor: this.customId }, this.label)));
144
+ }
145
+ else {
146
+ return (h("label", { part: "label", htmlFor: this.customId }, this.label));
147
+ }
148
+ }
149
+ };
150
+ this.validityPending = false;
151
+ this.nativeValueUpdate = false;
152
+ this.renderInput = () => {
153
+ return (h("input", { part: "input", "aria-label": this.ariaLabel || null, "aria-describedby": [
154
+ this.helpText ? `${this.customId}-help` : '',
155
+ this.hasFeedbackSlot || this.validatorMessage ? `${this.customId}-feedback` : '',
156
+ ]
157
+ .filter(Boolean)
158
+ .join(' ') || null, "aria-errormessage": (this.hasFeedbackSlot || this.validatorMessage) && this.internalState === 'danger'
159
+ ? `${this.customId}-feedback`
160
+ : null, "aria-busy": this.isValidating ? 'true' : null, ref: (el) => (this.nativeInput = el), class: (this.highlight ?? this.isHighlight) ? 'input-highlight' : null, id: this.customId, style: this.controlWidth != null ? { width: this.controlWidth } : undefined, autocomplete: this.autocomplete, disabled: this.isDisabled(), autoCorrect: this.autocorrect, min: this.min, max: this.max, minLength: this.minlength, maxLength: this.maxlength, multiple: this.multiple, name: this.name, pattern: this.pattern, step: this.step, onInput: this.handleInput, onChange: this.handleChange, placeholder: this.placeholder, readonly: this.readonly, required: this.required, title: this.el.title, type: this.type, value: this.value }));
161
+ };
162
+ /**
163
+ * Renderiza o texto de ajuda do input, considerando se está definido como string ou slot.
164
+ * @returns JSX.Element representando o texto de ajuda.
165
+ */
166
+ this.renderHelpText = () => {
167
+ return typeof this.helpText === 'string' && this.helpText.length > 0 ? (h("p", { id: `${this.customId}-help`, part: "help-text" }, this.helpText)) : (h("span", { part: "help-text" }, h("slot", { name: "help-text" })));
168
+ };
169
+ /**
170
+ * Renderiza o ícone de visibilidade da senha, alternando entre mostrar e esconder.
171
+ * @returns JSX.Element representando o ícone de visibilidade da senha.
172
+ */
173
+ this.renderIconPassword = () => {
174
+ const iconName = this.isPasswordVisible ? 'fa-solid:eye-slash' : 'fa-solid:eye';
175
+ return h("br-icon", { iconName: iconName, width: "16", height: "16" });
176
+ };
177
+ /**
178
+ * Alterna a visibilidade da senha, mudando o tipo do input entre 'text' e 'password'.
179
+ * @returns void
180
+ */
181
+ this.togglePasswordVisibility = () => {
182
+ const input = this.el.shadowRoot?.querySelector('input');
183
+ if (input === null || input === undefined) {
184
+ return;
185
+ }
186
+ this.isPasswordVisible = !this.isPasswordVisible;
187
+ input.type = this.isPasswordVisible ? 'text' : 'password';
188
+ };
189
+ /**
190
+ * Renderiza o conteúdo do input quando está em linha, considerando se há ícone ou não.
191
+ * @returns JSX.Element representando o conteúdo do input em linha.
192
+ */
193
+ this.renderInlineInputContent = () => {
194
+ if (this.hasIconSlot) {
195
+ return h("div", { class: "input-content" }, this.renderInputWithIcon());
196
+ }
197
+ else {
198
+ return h("div", { class: "input-content" }, this.renderInputWithoutIcon());
199
+ }
200
+ };
201
+ /**
202
+ * Renderiza o conteúdo do input, considerando se há ícone ou não.
203
+ * @returns JSX.Element representando o conteúdo do input.
204
+ */
205
+ this.renderInputContent = () => {
206
+ return this.hasIconSlot ? this.renderInputWithIcon() : this.renderInputWithoutIcon();
207
+ };
208
+ /**
209
+ * Renderiza o conteúdo do input com ícone, organizando os elementos em um grupo e aplicando estilos de largura quando necessário.
210
+ */
211
+ this.renderInputWithIcon = () => {
212
+ return (h("div", { class: "input-group", part: "group", style: this.controlWidth !== undefined && this.controlWidth !== null ? { width: this.controlWidth } : undefined }, this.renderIconSlot(), this.renderInput(), this.renderButton(), this.renderHelpText()));
213
+ };
214
+ /**
215
+ * Renderiza o conteúdo do input sem ícone, organizando os elementos em um grupo.
216
+ * @returns JSX.Element representando o conteúdo do input sem ícone.
217
+ */
218
+ this.renderInputWithoutIcon = () => {
219
+ return [this.renderInput(), this.renderButton(), this.renderHelpText()];
220
+ };
221
+ }
222
+ formDisabledCallback(disabled) {
223
+ this.formDisabled = disabled;
224
+ }
225
+ formResetCallback() {
226
+ this.validationRunId++;
227
+ this.validatorMessage = null;
228
+ this.isValidating = false;
229
+ this.manualValidationMessage = '';
230
+ this.value = this.initialValue;
231
+ if (this.nativeInput) {
232
+ this.nativeInput.value = this.initialValue;
233
+ this.nativeInput.setCustomValidity('');
234
+ }
235
+ this.syncFormState(this.initialValue);
236
+ }
237
+ formStateRestoreCallback(state) {
238
+ const restoredValue = typeof state === 'string' ? state : '';
239
+ this.value = restoredValue;
240
+ if (this.nativeInput) {
241
+ this.nativeInput.value = restoredValue;
242
+ }
243
+ this.syncFormState(restoredValue);
244
+ }
245
+ handleValueChange(newValue) {
246
+ this.validityPending = true;
247
+ this.validationRunId++;
248
+ this.validatorMessage = null;
249
+ if (this.state === undefined && this.feedbackState === undefined)
250
+ this.internalState = undefined;
251
+ this.syncFormState(newValue ?? '');
252
+ if (this.nativeValueUpdate) {
253
+ this.validityPending = false;
254
+ this.updateValidity();
255
+ }
256
+ if (!this.hasMaskConfigured()) {
257
+ return;
258
+ }
259
+ const maskedValue = this.applyMask(newValue ?? '');
260
+ if (maskedValue !== newValue) {
261
+ this.value = maskedValue;
262
+ }
263
+ }
264
+ handleMaskChange() {
265
+ this.applyMaskToValue();
266
+ }
267
+ handleStateChange(newState) {
268
+ if (this.feedbackState === undefined)
269
+ this.updateInternalState(newState);
270
+ }
271
+ handleFeedbackStateChange(newState) {
272
+ this.updateInternalState(newState ?? this.state);
273
+ }
274
+ updateInternalState(newState) {
275
+ this.internalState = this.normalizeState(newState);
276
+ // 🔥 novo comportamento centralizado
277
+ this.propagateStateToFeedback();
278
+ }
279
+ componentWillLoad() {
280
+ this.hasIconSlot = this.hasSlotContent('icon');
281
+ this.hasActionSlot = this.hasSlotContent('action');
282
+ this.hasFeedbackSlot = this.hasSlotContent('feedback');
283
+ this.hasValidationLoadingSlot = this.hasSlotContent('validation-loading');
284
+ this.initialValue = this.value ?? '';
285
+ this.internalState = this.normalizeState(this.feedbackState ?? this.state);
286
+ this.applyMaskToValue();
287
+ this.syncFormState();
288
+ }
289
+ componentDidLoad() {
290
+ this.updateValidity();
291
+ if (this.el.hasAttribute('autofocus'))
292
+ this.el.focus();
293
+ if (this.hasFeedbackSlot) {
294
+ const slot = this.el.shadowRoot?.querySelector('slot[name="feedback"]');
295
+ if (slot !== null && slot !== undefined) {
296
+ slot.addEventListener('slotchange', () => {
297
+ this.propagateStateToFeedback();
298
+ });
299
+ }
300
+ this.propagateStateToFeedback();
301
+ }
302
+ }
303
+ componentDidUpdate() {
304
+ if (!this.validityPending)
305
+ return;
306
+ this.validityPending = false;
307
+ this.updateValidity();
308
+ }
309
+ componentShouldUpdate(_newValue, _oldValue, propName) {
310
+ return propName !== 'value' || !this.nativeValueUpdate;
311
+ }
312
+ componentDidRender() {
313
+ this.syncCssPartAttributes();
314
+ }
315
+ /**
316
+ * Retorna `true` se o valor do input for válido, caso contrário `false`.
317
+ * Se o input for inválido, exibe uma mensagem de erro padrão do navegador.
318
+ */
319
+ async reportValidity() {
320
+ return this.elementInternals?.reportValidity?.() ?? true;
321
+ }
322
+ /**
323
+ * Define uma mensagem de validação customizada para o input.
324
+ * Se a mensagem for uma string vazia, o erro customizado é limpo.
325
+ *
326
+ * @param message - Mensagem de erro customizada ou string vazia para limpar
327
+ * @example
328
+ * ```typescript
329
+ * const input = document.querySelector('br-input');
330
+ *
331
+ * // Define erro customizado
332
+ * await input.setCustomValidity('CPF inválido');
333
+ *
334
+ * // Limpa o erro
335
+ * await input.setCustomValidity('');
336
+ * ```
337
+ */
338
+ async setCustomValidity(message) {
339
+ this.manualValidationMessage = message;
340
+ this.updateValidity();
341
+ }
342
+ resolveValidator() {
343
+ return resolveFormValidator(this.validator);
344
+ }
345
+ async runValidator(validatorFn) {
346
+ try {
347
+ return (await validatorFn(this.value ?? '')) || null;
348
+ }
349
+ catch {
350
+ return 'Não foi possível validar o campo.';
351
+ }
352
+ }
353
+ /**
354
+ * Executa a regra customizada e retorna se o campo está válido.
355
+ * Se o validator for assíncrono, aguarda a resposta e ignora resultados
356
+ * antigos quando uma execução posterior já começou.
357
+ */
358
+ async validate() {
359
+ const validatorFn = this.resolveValidator();
360
+ if (validatorFn == null || this.isDisabled())
361
+ return this.checkValidity();
362
+ const runId = ++this.validationRunId;
363
+ this.isValidating = true;
364
+ this.validatorMessage = null;
365
+ if (this.state === undefined && this.feedbackState === undefined)
366
+ this.internalState = undefined;
367
+ this.updateValidity();
368
+ this.brInputValidationChange.emit({ validating: true, valid: null, message: null });
369
+ await Promise.resolve();
370
+ const message = await this.runValidator(validatorFn);
371
+ if (runId !== this.validationRunId)
372
+ return false;
373
+ this.validatorMessage = message;
374
+ this.isValidating = false;
375
+ if (this.state === undefined && this.feedbackState === undefined) {
376
+ this.internalState = message ? 'danger' : undefined;
377
+ }
378
+ if (message) {
379
+ const feedbackMessage = this.el.shadowRoot?.querySelector('br-message');
380
+ if (feedbackMessage)
381
+ feedbackMessage.message = message;
382
+ }
383
+ this.updateValidity();
384
+ const valid = message === null && (await this.checkValidity());
385
+ this.brInputValidationChange.emit({ validating: false, valid, message });
386
+ return valid;
387
+ }
388
+ /**
389
+ * Retorna `true` se o valor do input for válido, caso contrário `false`.
390
+ * Se o input for inválido, dispara um evento 'invalid'.
391
+ */
392
+ async checkValidity() {
393
+ return this.elementInternals?.checkValidity?.() ?? true;
394
+ }
395
+ /** Retorna um snapshot serializável da Constraint Validation API. */
396
+ async getValidationState() {
397
+ return getFormValidationState(this.elementInternals);
398
+ }
399
+ /** Seleciona todo o texto do controle nativo, conforme HTMLInputElement.select(). */
400
+ async select() {
401
+ this.nativeInput?.select();
402
+ }
403
+ /** Substitui um intervalo de texto usando a API nativa do input. */
404
+ async setRangeText(replacement, start, end, selectionMode) {
405
+ if (!this.nativeInput)
406
+ return;
407
+ if (start === undefined || end === undefined) {
408
+ this.nativeInput.setRangeText(replacement);
409
+ this.syncProgrammaticValue();
410
+ return;
411
+ }
412
+ this.nativeInput.setRangeText(replacement, start, end, selectionMode);
413
+ this.syncProgrammaticValue();
414
+ }
415
+ /** Define o intervalo selecionado no controle nativo. */
416
+ async setSelectionRange(start, end, direction) {
417
+ this.nativeInput?.setSelectionRange(start, end, direction);
418
+ }
419
+ /** Incrementa o valor numérico pelo step nativo. */
420
+ async stepUp(n) {
421
+ this.nativeInput?.stepUp(n);
422
+ this.syncProgrammaticValue();
423
+ }
424
+ /** Decrementa o valor numérico pelo step nativo. */
425
+ async stepDown(n) {
426
+ this.nativeInput?.stepDown(n);
427
+ this.syncProgrammaticValue();
428
+ }
429
+ /** Abre o picker nativo quando o navegador e o tipo do input oferecem essa API. */
430
+ async showPicker() {
431
+ this.nativeInput?.showPicker?.();
432
+ }
433
+ syncProgrammaticValue() {
434
+ if (!this.nativeInput || this.value === this.nativeInput.value)
435
+ return;
436
+ this.value = this.nativeInput.value;
437
+ this.syncFormState(this.value);
438
+ this.updateValidity();
439
+ }
440
+ updateValidity() {
441
+ if (this.nativeInput) {
442
+ this.nativeInput.setCustomValidity(this.manualValidationMessage || this.validatorMessage || '');
443
+ }
444
+ syncNativeFormValidity(this.elementInternals, this.nativeInput);
445
+ }
446
+ normalizeState(value) {
447
+ return normalizePropValue(value, INPUT_STATES, undefined);
448
+ }
449
+ syncCssPartAttributes() {
450
+ if (!this.hasActionSlot)
451
+ return;
452
+ this.el.shadowRoot?.querySelectorAll('br-button.button-transform').forEach((button) => {
453
+ setPartAttributes(button, 'action', 'button: action-button');
454
+ });
455
+ }
456
+ propagateStateToFeedback() {
457
+ const messageElements = this.el.querySelectorAll('br-message');
458
+ messageElements.forEach((message) => {
459
+ const messageState = this.normalizeState(message.getAttribute('state'));
460
+ if (this.internalState !== undefined && messageState === this.internalState) {
461
+ message.removeAttribute('hidden');
462
+ }
463
+ else {
464
+ message.setAttribute('hidden', 'true');
465
+ }
466
+ });
467
+ }
468
+ /**
469
+ * Retorna um mapa de classes CSS para o input, baseado no estado interno e nas propriedades do componente.
470
+ * @returns Um objeto representando as classes CSS a serem aplicadas ao input.
471
+ */
472
+ getInputCssClassMap() {
473
+ return {
474
+ 'br-input': true,
475
+ 'input-button': this.hasActionSlot,
476
+ small: this.density === 'small',
477
+ large: this.density === 'large',
478
+ medium: this.density === 'medium',
479
+ 'input-inline': this.inline ?? this.isInline,
480
+ 'input-highlight': this.highlight ?? this.isHighlight,
481
+ success: this.internalState === 'success',
482
+ danger: this.internalState === 'danger',
483
+ info: this.internalState === 'info',
484
+ warning: this.internalState === 'warning',
485
+ };
486
+ }
487
+ isDisabled() {
488
+ return isFormControlDisabled(this.disabled, this.formDisabled);
489
+ }
490
+ /**
491
+ * Verifica se um slot específico possui conteúdo.
492
+ * @param slotName Nome do slot a ser verificado
493
+ * @returns true se o slot possui conteúdo, false caso contrário
494
+ */
495
+ hasSlotContent(slotName) {
496
+ return hasNamedLightDomSlot(this.el, slotName);
497
+ }
498
+ syncFormState(value = this.value ?? '') {
499
+ safeSetFormValue(this.elementInternals, value);
500
+ }
501
+ /**
502
+ * Renderiza o slot de ícone, caso exista.
503
+ * @returns JSX.Element representando o slot de ícone.
504
+ */
505
+ renderIconSlot() {
506
+ if (this.hasSlotContent('icon')) {
507
+ return (h("div", { class: "input-icon", part: "icon" }, h("slot", { name: "icon" })));
508
+ }
509
+ }
510
+ /**
511
+ * Renderiza o botão de ação do input, considerando o tipo de input e slots disponíveis.
512
+ * @returns JSX.Element representando o botão de ação.
513
+ */
514
+ renderButton() {
515
+ if (this.type === 'password') {
516
+ return (h("br-button", { class: "button-transform", shape: "circle", density: "small", "aria-label": this.isPasswordVisible ? 'Esconder senha' : 'Mostrar senha', onClick: this.togglePasswordVisibility, part: "action" }, this.renderIconPassword()));
517
+ }
518
+ else if (this.hasSlotContent('action')) {
519
+ return (h("br-button", { class: "button-transform", shape: "circle", density: "small", "aria-label": this.actionLabel, customTabIndex: this.actionTabIndex, part: "action" }, h("slot", { name: "action" })));
520
+ }
521
+ return null;
522
+ }
523
+ /**
524
+ * Renderiza o slot de feedback, caso exista, permitindo que mensagens de feedback sejam exibidas em resposta a interações do usuário com o input.
525
+ * @returns JSX.Element representando o slot de feedback.
526
+ */
527
+ renderFeedback() {
528
+ return (h("span", { id: `${this.customId}-feedback`, part: "feedback", hidden: this.internalState === undefined && !this.validatorMessage && !this.hasFeedbackSlot }, h("slot", { name: "feedback", onSlotchange: (event) => (this.hasFeedbackSlot = hasAssignedSlotContent(event.currentTarget)) }), !this.hasFeedbackSlot && this.validatorMessage ? (h("br-message", { state: "danger", message: this.validatorMessage })) : null));
529
+ }
530
+ renderValidationLoading() {
531
+ if (!this.isValidating)
532
+ return null;
533
+ return this.hasValidationLoadingSlot ? (h("span", { class: "validation-loading", "aria-live": "polite" }, h("slot", { name: "validation-loading" }))) : (h("span", { class: "validation-loading", "aria-live": "polite" }, h("br-loading", { size: "small", label: "Validando" })));
534
+ }
535
+ /**
536
+ * Aplica a máscara configurada ao valor do input, se houver.
537
+ * @returns void
538
+ */
539
+ applyMaskToValue() {
540
+ if (!this.hasMaskConfigured() || this.value == null) {
541
+ return;
542
+ }
543
+ const maskedValue = this.applyMask(this.value);
544
+ if (this.value !== maskedValue) {
545
+ this.value = maskedValue;
546
+ }
547
+ }
548
+ /**
549
+ * Aplica a máscara configurada a um valor específico.
550
+ * @param value O valor a ser mascarado.
551
+ * @returns O valor mascarado.
552
+ */
553
+ applyMask(value) {
554
+ if (!this.hasMaskConfigured()) {
555
+ return value ?? '';
556
+ }
557
+ const mask = this.mask || '';
558
+ const digits = (value ?? '').replace(/\D/g, '');
559
+ if (digits.length === 0) {
560
+ return '';
561
+ }
562
+ let maskedValue = '';
563
+ let digitIndex = 0;
564
+ for (let i = 0; i < mask.length && digitIndex < digits.length; i++) {
565
+ const maskChar = mask[i];
566
+ if (maskChar === '#') {
567
+ maskedValue += digits[digitIndex];
568
+ digitIndex++;
569
+ }
570
+ else {
571
+ maskedValue += maskChar;
572
+ }
573
+ }
574
+ return maskedValue;
575
+ }
576
+ /**
577
+ * Verifica se uma máscara está configurada.
578
+ * @returns boolean indicando se uma máscara está configurada.
579
+ */
580
+ hasMaskConfigured() {
581
+ return typeof this.mask === 'string' && this.mask.length > 0;
582
+ }
583
+ /**
584
+ * Renderiza o componente de input.
585
+ * @returns JSX.Element representando o componente de input.
586
+ */
587
+ render() {
588
+ return (h(Host, { key: '423f7616bc181604f6b824b6a3b0a3b27e1f279a' }, h("div", { key: '716e7c445a7b33a229b3a7b44eefd9bf3709fa12', class: this.getInputCssClassMap(), part: "container" }, this.renderLabel(), (this.inline ?? this.isInline) ? this.renderInlineInputContent() : this.renderInputContent(), this.renderFeedback(), this.renderValidationLoading())));
589
+ }
590
+ static get is() { return "br-input"; }
591
+ static get encapsulation() { return "shadow"; }
592
+ static get delegatesFocus() { return true; }
593
+ static get formAssociated() { return true; }
594
+ static get originalStyleUrls() {
595
+ return {
596
+ "$": ["input.scss"]
597
+ };
598
+ }
599
+ static get styleUrls() {
600
+ return {
601
+ "$": ["input.css"]
602
+ };
603
+ }
604
+ static get properties() {
605
+ return {
606
+ "type": {
607
+ "type": "string",
608
+ "mutable": false,
609
+ "complexType": {
610
+ "original": "InputType",
611
+ "resolved": "\"color\" | \"email\" | \"hidden\" | \"number\" | \"password\" | \"range\" | \"search\" | \"tel\" | \"text\" | \"url\"",
612
+ "references": {
613
+ "InputType": {
614
+ "location": "import",
615
+ "path": "./input.types",
616
+ "id": "src/components/input/input.types.ts::InputType",
617
+ "referenceLocation": "InputType"
618
+ }
619
+ }
620
+ },
621
+ "required": false,
622
+ "optional": false,
623
+ "docs": {
624
+ "tags": [],
625
+ "text": "Especifica o tipo de entrada do campo."
626
+ },
627
+ "getter": false,
628
+ "setter": false,
629
+ "reflect": true,
630
+ "attribute": "type",
631
+ "defaultValue": "'text'"
632
+ },
633
+ "autocomplete": {
634
+ "type": "string",
635
+ "mutable": false,
636
+ "complexType": {
637
+ "original": "InputToggle",
638
+ "resolved": "\"off\" | \"on\"",
639
+ "references": {
640
+ "InputToggle": {
641
+ "location": "import",
642
+ "path": "./input.types",
643
+ "id": "src/components/input/input.types.ts::InputToggle",
644
+ "referenceLocation": "InputToggle"
645
+ }
646
+ }
647
+ },
648
+ "required": false,
649
+ "optional": true,
650
+ "docs": {
651
+ "tags": [],
652
+ "text": "Controla o comportamento de preenchimento autom\u00E1tico do navegador para o input."
653
+ },
654
+ "getter": false,
655
+ "setter": false,
656
+ "reflect": true,
657
+ "attribute": "autocomplete"
658
+ },
659
+ "density": {
660
+ "type": "string",
661
+ "mutable": false,
662
+ "complexType": {
663
+ "original": "InputDensity",
664
+ "resolved": "\"large\" | \"medium\" | \"small\"",
665
+ "references": {
666
+ "InputDensity": {
667
+ "location": "import",
668
+ "path": "./input.types",
669
+ "id": "src/components/input/input.types.ts::InputDensity",
670
+ "referenceLocation": "InputDensity"
671
+ }
672
+ }
673
+ },
674
+ "required": false,
675
+ "optional": false,
676
+ "docs": {
677
+ "tags": [],
678
+ "text": "Ajusta a densidade, alterando o espa\u00E7amento interno para um visual mais compacto ou mais expandido."
679
+ },
680
+ "getter": false,
681
+ "setter": false,
682
+ "reflect": true,
683
+ "attribute": "density",
684
+ "defaultValue": "'medium'"
685
+ },
686
+ "disabled": {
687
+ "type": "boolean",
688
+ "mutable": false,
689
+ "complexType": {
690
+ "original": "boolean",
691
+ "resolved": "boolean",
692
+ "references": {}
693
+ },
694
+ "required": false,
695
+ "optional": false,
696
+ "docs": {
697
+ "tags": [],
698
+ "text": "Desativa o input, tornando-o n\u00E3o interativo."
699
+ },
700
+ "getter": false,
701
+ "setter": false,
702
+ "reflect": true,
703
+ "attribute": "disabled",
704
+ "defaultValue": "false"
705
+ },
706
+ "isInline": {
707
+ "type": "boolean",
708
+ "mutable": false,
709
+ "complexType": {
710
+ "original": "boolean",
711
+ "resolved": "boolean",
712
+ "references": {}
713
+ },
714
+ "required": false,
715
+ "optional": false,
716
+ "docs": {
717
+ "tags": [{
718
+ "name": "deprecated",
719
+ "text": "Use `inline`."
720
+ }],
721
+ "text": "Se verdadeiro, o r\u00F3tulo e o input estar\u00E3o na mesma linha (layout inline)."
722
+ },
723
+ "getter": false,
724
+ "setter": false,
725
+ "reflect": true,
726
+ "attribute": "is-inline",
727
+ "defaultValue": "false"
728
+ },
729
+ "inline": {
730
+ "type": "boolean",
731
+ "mutable": false,
732
+ "complexType": {
733
+ "original": "boolean",
734
+ "resolved": "boolean",
735
+ "references": {}
736
+ },
737
+ "required": false,
738
+ "optional": true,
739
+ "docs": {
740
+ "tags": [],
741
+ "text": "Exibe r\u00F3tulo e controle em linha. Quando informada, tem preced\u00EAncia sobre `isInline`."
742
+ },
743
+ "getter": false,
744
+ "setter": false,
745
+ "reflect": true,
746
+ "attribute": "inline"
747
+ },
748
+ "isHighlight": {
749
+ "type": "boolean",
750
+ "mutable": false,
751
+ "complexType": {
752
+ "original": "boolean",
753
+ "resolved": "boolean",
754
+ "references": {}
755
+ },
756
+ "required": false,
757
+ "optional": false,
758
+ "docs": {
759
+ "tags": [{
760
+ "name": "deprecated",
761
+ "text": "Use `highlight`."
762
+ }],
763
+ "text": "Se verdadeiro, o input ter\u00E1 destaque visual."
764
+ },
765
+ "getter": false,
766
+ "setter": false,
767
+ "reflect": true,
768
+ "attribute": "is-highlight",
769
+ "defaultValue": "false"
770
+ },
771
+ "highlight": {
772
+ "type": "boolean",
773
+ "mutable": false,
774
+ "complexType": {
775
+ "original": "boolean",
776
+ "resolved": "boolean",
777
+ "references": {}
778
+ },
779
+ "required": false,
780
+ "optional": true,
781
+ "docs": {
782
+ "tags": [],
783
+ "text": "Habilita destaque visual. Quando informada, tem preced\u00EAncia sobre `isHighlight`."
784
+ },
785
+ "getter": false,
786
+ "setter": false,
787
+ "reflect": true,
788
+ "attribute": "highlight"
789
+ },
790
+ "state": {
791
+ "type": "string",
792
+ "mutable": false,
793
+ "complexType": {
794
+ "original": "InputState",
795
+ "resolved": "\"danger\" | \"info\" | \"success\" | \"warning\"",
796
+ "references": {
797
+ "InputState": {
798
+ "location": "import",
799
+ "path": "./input.types",
800
+ "id": "src/components/input/input.types.ts::InputState",
801
+ "referenceLocation": "InputState"
802
+ }
803
+ }
804
+ },
805
+ "required": false,
806
+ "optional": true,
807
+ "docs": {
808
+ "tags": [{
809
+ "name": "remarks",
810
+ "text": "O estado \u00E9 propagado para o slot de feedback, mas tamb\u00E9m pode ser controlado diretamente pelo conte\u00FAdo do slot."
811
+ }],
812
+ "text": "Define o estado do input"
813
+ },
814
+ "getter": false,
815
+ "setter": false,
816
+ "reflect": true,
817
+ "attribute": "state"
818
+ },
819
+ "feedbackState": {
820
+ "type": "string",
821
+ "mutable": false,
822
+ "complexType": {
823
+ "original": "InputState",
824
+ "resolved": "\"danger\" | \"info\" | \"success\" | \"warning\"",
825
+ "references": {
826
+ "InputState": {
827
+ "location": "import",
828
+ "path": "./input.types",
829
+ "id": "src/components/input/input.types.ts::InputState",
830
+ "referenceLocation": "InputState"
831
+ }
832
+ }
833
+ },
834
+ "required": false,
835
+ "optional": true,
836
+ "docs": {
837
+ "tags": [],
838
+ "text": "Estado de feedback can\u00F4nico. Quando informado, tem preced\u00EAncia sobre `state`."
839
+ },
840
+ "getter": false,
841
+ "setter": false,
842
+ "reflect": true,
843
+ "attribute": "feedback-state"
844
+ },
845
+ "label": {
846
+ "type": "string",
847
+ "mutable": false,
848
+ "complexType": {
849
+ "original": "string",
850
+ "resolved": "string",
851
+ "references": {}
852
+ },
853
+ "required": false,
854
+ "optional": true,
855
+ "docs": {
856
+ "tags": [],
857
+ "text": "Texto exibido como r\u00F3tulo do input."
858
+ },
859
+ "getter": false,
860
+ "setter": false,
861
+ "reflect": true,
862
+ "attribute": "label"
863
+ },
864
+ "ariaLabel": {
865
+ "type": "string",
866
+ "mutable": false,
867
+ "complexType": {
868
+ "original": "string | null",
869
+ "resolved": "string",
870
+ "references": {}
871
+ },
872
+ "required": false,
873
+ "optional": false,
874
+ "docs": {
875
+ "tags": [],
876
+ "text": "Nome acess\u00EDvel usado quando n\u00E3o h\u00E1 um r\u00F3tulo visual."
877
+ },
878
+ "getter": false,
879
+ "setter": false,
880
+ "reflect": true,
881
+ "attribute": "aria-label",
882
+ "defaultValue": "null"
883
+ },
884
+ "customId": {
885
+ "type": "string",
886
+ "mutable": false,
887
+ "complexType": {
888
+ "original": "string",
889
+ "resolved": "string",
890
+ "references": {}
891
+ },
892
+ "required": false,
893
+ "optional": false,
894
+ "docs": {
895
+ "tags": [],
896
+ "text": "Identificador \u00FAnico.\nCaso n\u00E3o seja fornecido, um ID gerado automaticamente ser\u00E1 usado."
897
+ },
898
+ "getter": false,
899
+ "setter": false,
900
+ "reflect": true,
901
+ "attribute": "custom-id",
902
+ "defaultValue": "`br-input-${inputId++}`"
903
+ },
904
+ "name": {
905
+ "type": "string",
906
+ "mutable": false,
907
+ "complexType": {
908
+ "original": "string",
909
+ "resolved": "string",
910
+ "references": {}
911
+ },
912
+ "required": false,
913
+ "optional": true,
914
+ "docs": {
915
+ "tags": [],
916
+ "text": "Nome do input, utilizado para identifica\u00E7\u00E3o em formul\u00E1rios."
917
+ },
918
+ "getter": false,
919
+ "setter": false,
920
+ "reflect": true,
921
+ "attribute": "name"
922
+ },
923
+ "placeholder": {
924
+ "type": "string",
925
+ "mutable": false,
926
+ "complexType": {
927
+ "original": "string",
928
+ "resolved": "string",
929
+ "references": {}
930
+ },
931
+ "required": false,
932
+ "optional": true,
933
+ "docs": {
934
+ "tags": [],
935
+ "text": "Texto exibido dentro do input quando est\u00E1 vazio, fornecendo uma dica ou sugest\u00E3o ao usu\u00E1rio."
936
+ },
937
+ "getter": false,
938
+ "setter": false,
939
+ "reflect": true,
940
+ "attribute": "placeholder"
941
+ },
942
+ "readonly": {
943
+ "type": "boolean",
944
+ "mutable": false,
945
+ "complexType": {
946
+ "original": "boolean",
947
+ "resolved": "boolean",
948
+ "references": {}
949
+ },
950
+ "required": false,
951
+ "optional": false,
952
+ "docs": {
953
+ "tags": [],
954
+ "text": "Se verdadeiro, o valor do input \u00E9 exibido, mas n\u00E3o pode ser editado pelo usu\u00E1rio."
955
+ },
956
+ "getter": false,
957
+ "setter": false,
958
+ "reflect": true,
959
+ "attribute": "readonly",
960
+ "defaultValue": "false"
961
+ },
962
+ "required": {
963
+ "type": "boolean",
964
+ "mutable": false,
965
+ "complexType": {
966
+ "original": "boolean",
967
+ "resolved": "boolean",
968
+ "references": {}
969
+ },
970
+ "required": false,
971
+ "optional": false,
972
+ "docs": {
973
+ "tags": [],
974
+ "text": "Se verdadeiro, o input \u00E9 obrigat\u00F3rio e deve ser preenchido antes que o formul\u00E1rio possa ser enviado."
975
+ },
976
+ "getter": false,
977
+ "setter": false,
978
+ "reflect": true,
979
+ "attribute": "required",
980
+ "defaultValue": "false"
981
+ },
982
+ "value": {
983
+ "type": "string",
984
+ "mutable": true,
985
+ "complexType": {
986
+ "original": "string",
987
+ "resolved": "string",
988
+ "references": {}
989
+ },
990
+ "required": false,
991
+ "optional": true,
992
+ "docs": {
993
+ "tags": [],
994
+ "text": "Valor exibido no input.\nPode ser alterado pelo usu\u00E1rio se a propriedade `readonly` n\u00E3o estiver ativa."
995
+ },
996
+ "getter": false,
997
+ "setter": false,
998
+ "reflect": true,
999
+ "attribute": "value",
1000
+ "defaultValue": "''"
1001
+ },
1002
+ "controlWidth": {
1003
+ "type": "string",
1004
+ "mutable": false,
1005
+ "complexType": {
1006
+ "original": "string",
1007
+ "resolved": "string",
1008
+ "references": {}
1009
+ },
1010
+ "required": false,
1011
+ "optional": true,
1012
+ "docs": {
1013
+ "tags": [],
1014
+ "text": "Largura do campo de entrada (por exemplo, '88px').\nQuando definido, sobrescreve a largura padr\u00E3o de 100%."
1015
+ },
1016
+ "getter": false,
1017
+ "setter": false,
1018
+ "reflect": true,
1019
+ "attribute": "control-width"
1020
+ },
1021
+ "borderless": {
1022
+ "type": "boolean",
1023
+ "mutable": false,
1024
+ "complexType": {
1025
+ "original": "boolean",
1026
+ "resolved": "boolean",
1027
+ "references": {}
1028
+ },
1029
+ "required": false,
1030
+ "optional": false,
1031
+ "docs": {
1032
+ "tags": [],
1033
+ "text": "Remove a borda do input quando n\u00E3o est\u00E1 em foco.\n\u00DAtil para composi\u00E7\u00F5es contextuais (ex.: pagina\u00E7\u00E3o)."
1034
+ },
1035
+ "getter": false,
1036
+ "setter": false,
1037
+ "reflect": true,
1038
+ "attribute": "borderless",
1039
+ "defaultValue": "false"
1040
+ },
1041
+ "helpText": {
1042
+ "type": "string",
1043
+ "mutable": false,
1044
+ "complexType": {
1045
+ "original": "string",
1046
+ "resolved": "string",
1047
+ "references": {}
1048
+ },
1049
+ "required": false,
1050
+ "optional": true,
1051
+ "docs": {
1052
+ "tags": [],
1053
+ "text": "Texto adicional que fornece ajuda ou informa\u00E7\u00F5es sobre o input."
1054
+ },
1055
+ "getter": false,
1056
+ "setter": false,
1057
+ "reflect": true,
1058
+ "attribute": "help-text"
1059
+ },
1060
+ "autocorrect": {
1061
+ "type": "string",
1062
+ "mutable": false,
1063
+ "complexType": {
1064
+ "original": "string",
1065
+ "resolved": "string",
1066
+ "references": {}
1067
+ },
1068
+ "required": false,
1069
+ "optional": false,
1070
+ "docs": {
1071
+ "tags": [],
1072
+ "text": "Controla a corre\u00E7\u00E3o autom\u00E1tica do texto."
1073
+ },
1074
+ "getter": false,
1075
+ "setter": false,
1076
+ "reflect": true,
1077
+ "attribute": "autocorrect",
1078
+ "defaultValue": "'off'"
1079
+ },
1080
+ "min": {
1081
+ "type": "number",
1082
+ "mutable": false,
1083
+ "complexType": {
1084
+ "original": "number",
1085
+ "resolved": "number",
1086
+ "references": {}
1087
+ },
1088
+ "required": false,
1089
+ "optional": true,
1090
+ "docs": {
1091
+ "tags": [],
1092
+ "text": "Define o valor m\u00EDnimo para campos de entrada num\u00E9ricos."
1093
+ },
1094
+ "getter": false,
1095
+ "setter": false,
1096
+ "reflect": true,
1097
+ "attribute": "min"
1098
+ },
1099
+ "max": {
1100
+ "type": "number",
1101
+ "mutable": false,
1102
+ "complexType": {
1103
+ "original": "number",
1104
+ "resolved": "number",
1105
+ "references": {}
1106
+ },
1107
+ "required": false,
1108
+ "optional": true,
1109
+ "docs": {
1110
+ "tags": [],
1111
+ "text": "Define o valor m\u00E1ximo para campos de entrada num\u00E9ricos."
1112
+ },
1113
+ "getter": false,
1114
+ "setter": false,
1115
+ "reflect": true,
1116
+ "attribute": "max"
1117
+ },
1118
+ "minlength": {
1119
+ "type": "number",
1120
+ "mutable": false,
1121
+ "complexType": {
1122
+ "original": "number",
1123
+ "resolved": "number",
1124
+ "references": {}
1125
+ },
1126
+ "required": false,
1127
+ "optional": true,
1128
+ "docs": {
1129
+ "tags": [],
1130
+ "text": "Define o comprimento m\u00EDnimo do valor do campo de entrada."
1131
+ },
1132
+ "getter": false,
1133
+ "setter": false,
1134
+ "reflect": true,
1135
+ "attribute": "minlength"
1136
+ },
1137
+ "maxlength": {
1138
+ "type": "number",
1139
+ "mutable": false,
1140
+ "complexType": {
1141
+ "original": "number",
1142
+ "resolved": "number",
1143
+ "references": {}
1144
+ },
1145
+ "required": false,
1146
+ "optional": true,
1147
+ "docs": {
1148
+ "tags": [],
1149
+ "text": "Define o comprimento m\u00E1ximo do valor do campo de entrada."
1150
+ },
1151
+ "getter": false,
1152
+ "setter": false,
1153
+ "reflect": true,
1154
+ "attribute": "maxlength"
1155
+ },
1156
+ "multiple": {
1157
+ "type": "boolean",
1158
+ "mutable": false,
1159
+ "complexType": {
1160
+ "original": "boolean",
1161
+ "resolved": "boolean",
1162
+ "references": {}
1163
+ },
1164
+ "required": false,
1165
+ "optional": false,
1166
+ "docs": {
1167
+ "tags": [],
1168
+ "text": "Se verdadeiro, permite a entrada de m\u00FAltiplos e-mails (quando type=\"email\")."
1169
+ },
1170
+ "getter": false,
1171
+ "setter": false,
1172
+ "reflect": true,
1173
+ "attribute": "multiple",
1174
+ "defaultValue": "false"
1175
+ },
1176
+ "pattern": {
1177
+ "type": "string",
1178
+ "mutable": false,
1179
+ "complexType": {
1180
+ "original": "string",
1181
+ "resolved": "string",
1182
+ "references": {}
1183
+ },
1184
+ "required": false,
1185
+ "optional": true,
1186
+ "docs": {
1187
+ "tags": [],
1188
+ "text": "Define o padr\u00E3o de entrada para valida\u00E7\u00E3o."
1189
+ },
1190
+ "getter": false,
1191
+ "setter": false,
1192
+ "reflect": true,
1193
+ "attribute": "pattern"
1194
+ },
1195
+ "mask": {
1196
+ "type": "string",
1197
+ "mutable": false,
1198
+ "complexType": {
1199
+ "original": "string",
1200
+ "resolved": "string",
1201
+ "references": {}
1202
+ },
1203
+ "required": false,
1204
+ "optional": true,
1205
+ "docs": {
1206
+ "tags": [],
1207
+ "text": "M\u00E1scara aplicada ao valor digitado (use `#` para marcar posi\u00E7\u00F5es num\u00E9ricas)."
1208
+ },
1209
+ "getter": false,
1210
+ "setter": false,
1211
+ "reflect": true,
1212
+ "attribute": "mask"
1213
+ },
1214
+ "validator": {
1215
+ "type": "string",
1216
+ "mutable": true,
1217
+ "complexType": {
1218
+ "original": "InputValidator | string",
1219
+ "resolved": "((value: string) => string | Promise<string>) | string",
1220
+ "references": {
1221
+ "InputValidator": {
1222
+ "location": "import",
1223
+ "path": "./input.types",
1224
+ "id": "src/components/input/input.types.ts::InputValidator",
1225
+ "referenceLocation": "InputValidator"
1226
+ }
1227
+ }
1228
+ },
1229
+ "required": false,
1230
+ "optional": true,
1231
+ "docs": {
1232
+ "tags": [{
1233
+ "name": "example",
1234
+ "text": "```ts\ninput.validator = async (value) => {\n if (!value) return 'Campo obrigat\u00F3rio';\n const disponivel = await checarDisponibilidade(value);\n return disponivel ? null : 'Este valor j\u00E1 est\u00E1 em uso';\n};\n```"
1235
+ }],
1236
+ "text": "Fun\u00E7\u00E3o ou regra de valida\u00E7\u00E3o customizada para o campo.\n\nA fun\u00E7\u00E3o pode ser s\u00EDncrona ou ass\u00EDncrona. Retorne uma mensagem para invalidar o\ncampo e `null` ou `''` para valid\u00E1-lo. A regra \u00E9 executada no `change` ou pelo\nm\u00E9todo `validate()`, nunca a cada tecla.\n\nEm frameworks, passe a fun\u00E7\u00E3o como property binding, por exemplo:\n`validator={validate}` no React, `[validator]=\"validate\"` no Angular ou\n`:validator=\"validate\"` no Vue.\n\nComo alternativa para HTML sem binding de propriedades, uma string pode\nreferenciar uma fun\u00E7\u00E3o global em `window`. A forma inline legada aceita apenas\ncompara\u00E7\u00E3o simples; JavaScript arbitr\u00E1rio \u00E9 rejeitado para manter CSP segura.\nPrefira sempre a fun\u00E7\u00E3o por binding.\n\nDurante valida\u00E7\u00F5es ass\u00EDncronas, o campo sinaliza `aria-busy=\"true\"`, exibe o\nindicador de carregamento e emite `brInputValidationChange`."
1237
+ },
1238
+ "getter": false,
1239
+ "setter": false,
1240
+ "reflect": false,
1241
+ "attribute": "validator"
1242
+ },
1243
+ "step": {
1244
+ "type": "number",
1245
+ "mutable": false,
1246
+ "complexType": {
1247
+ "original": "number",
1248
+ "resolved": "number",
1249
+ "references": {}
1250
+ },
1251
+ "required": false,
1252
+ "optional": true,
1253
+ "docs": {
1254
+ "tags": [],
1255
+ "text": "Define o valor do passo para campos de entrada num\u00E9ricos."
1256
+ },
1257
+ "getter": false,
1258
+ "setter": false,
1259
+ "reflect": true,
1260
+ "attribute": "step"
1261
+ },
1262
+ "actionLabel": {
1263
+ "type": "string",
1264
+ "mutable": false,
1265
+ "complexType": {
1266
+ "original": "string",
1267
+ "resolved": "string",
1268
+ "references": {}
1269
+ },
1270
+ "required": false,
1271
+ "optional": true,
1272
+ "docs": {
1273
+ "tags": [],
1274
+ "text": "Texto exibido no bot\u00E3o de a\u00E7\u00E3o \u00E0 direita do input."
1275
+ },
1276
+ "getter": false,
1277
+ "setter": false,
1278
+ "reflect": true,
1279
+ "attribute": "action-label"
1280
+ },
1281
+ "actionTabIndex": {
1282
+ "type": "number",
1283
+ "mutable": false,
1284
+ "complexType": {
1285
+ "original": "number",
1286
+ "resolved": "number",
1287
+ "references": {}
1288
+ },
1289
+ "required": false,
1290
+ "optional": true,
1291
+ "docs": {
1292
+ "tags": [],
1293
+ "text": "Define o tabindex do bot\u00E3o de a\u00E7\u00E3o.\n\u00DAtil para remover o bot\u00E3o da sequ\u00EAncia de tabula\u00E7\u00E3o quando o foco \u00E9 gerenciado externamente (ex.: br-select)."
1294
+ },
1295
+ "getter": false,
1296
+ "setter": false,
1297
+ "reflect": true,
1298
+ "attribute": "action-tab-index"
1299
+ }
1300
+ };
1301
+ }
1302
+ static get states() {
1303
+ return {
1304
+ "formDisabled": {},
1305
+ "hasActionSlot": {},
1306
+ "hasFeedbackSlot": {},
1307
+ "hasValidationLoadingSlot": {},
1308
+ "hasIconSlot": {},
1309
+ "internalState": {},
1310
+ "isValidating": {},
1311
+ "validatorMessage": {},
1312
+ "isPasswordVisible": {}
1313
+ };
1314
+ }
1315
+ static get events() {
1316
+ return [{
1317
+ "method": "valueChange",
1318
+ "name": "valueChange",
1319
+ "bubbles": true,
1320
+ "cancelable": true,
1321
+ "composed": true,
1322
+ "docs": {
1323
+ "tags": [{
1324
+ "name": "deprecated",
1325
+ "text": "Use o evento nativo `input` e leia `event.target.value`."
1326
+ }],
1327
+ "text": "Valor atualizado do input"
1328
+ },
1329
+ "complexType": {
1330
+ "original": "string",
1331
+ "resolved": "string",
1332
+ "references": {}
1333
+ }
1334
+ }, {
1335
+ "method": "brClear",
1336
+ "name": "brClear",
1337
+ "bubbles": true,
1338
+ "cancelable": true,
1339
+ "composed": true,
1340
+ "docs": {
1341
+ "tags": [],
1342
+ "text": "Emitted when the input clear button action is triggered."
1343
+ },
1344
+ "complexType": {
1345
+ "original": "void",
1346
+ "resolved": "void",
1347
+ "references": {}
1348
+ }
1349
+ }, {
1350
+ "method": "brInputValidationChange",
1351
+ "name": "brInputValidationChange",
1352
+ "bubbles": true,
1353
+ "cancelable": true,
1354
+ "composed": true,
1355
+ "docs": {
1356
+ "tags": [],
1357
+ "text": "Informa o in\u00EDcio e o resultado do validator, inclusive quando ele consulta\num servi\u00E7o remoto. O `detail` cont\u00E9m `validating`, `valid` e `message`;\nescrita program\u00E1tica e reset n\u00E3o representam intera\u00E7\u00E3o do usu\u00E1rio."
1358
+ },
1359
+ "complexType": {
1360
+ "original": "InputValidationChangeDetail",
1361
+ "resolved": "InputValidationChangeDetail",
1362
+ "references": {
1363
+ "InputValidationChangeDetail": {
1364
+ "location": "import",
1365
+ "path": "./input.types",
1366
+ "id": "src/components/input/input.types.ts::InputValidationChangeDetail",
1367
+ "referenceLocation": "InputValidationChangeDetail"
1368
+ }
1369
+ }
1370
+ }
1371
+ }];
1372
+ }
1373
+ static get methods() {
1374
+ return {
1375
+ "reportValidity": {
1376
+ "complexType": {
1377
+ "signature": "() => Promise<boolean>",
1378
+ "parameters": [],
1379
+ "references": {
1380
+ "Promise": {
1381
+ "location": "global",
1382
+ "id": "global::Promise"
1383
+ }
1384
+ },
1385
+ "return": "Promise<boolean>"
1386
+ },
1387
+ "docs": {
1388
+ "text": "Retorna `true` se o valor do input for v\u00E1lido, caso contr\u00E1rio `false`.\nSe o input for inv\u00E1lido, exibe uma mensagem de erro padr\u00E3o do navegador.",
1389
+ "tags": []
1390
+ }
1391
+ },
1392
+ "setCustomValidity": {
1393
+ "complexType": {
1394
+ "signature": "(message: string) => Promise<void>",
1395
+ "parameters": [{
1396
+ "name": "message",
1397
+ "type": "string",
1398
+ "docs": "- Mensagem de erro customizada ou string vazia para limpar"
1399
+ }],
1400
+ "references": {
1401
+ "Promise": {
1402
+ "location": "global",
1403
+ "id": "global::Promise"
1404
+ }
1405
+ },
1406
+ "return": "Promise<void>"
1407
+ },
1408
+ "docs": {
1409
+ "text": "Define uma mensagem de valida\u00E7\u00E3o customizada para o input.\nSe a mensagem for uma string vazia, o erro customizado \u00E9 limpo.",
1410
+ "tags": [{
1411
+ "name": "param",
1412
+ "text": "message - Mensagem de erro customizada ou string vazia para limpar"
1413
+ }, {
1414
+ "name": "example",
1415
+ "text": "```typescript\nconst input = document.querySelector('br-input');\n\n// Define erro customizado\nawait input.setCustomValidity('CPF inv\u00E1lido');\n\n// Limpa o erro\nawait input.setCustomValidity('');\n```"
1416
+ }]
1417
+ }
1418
+ },
1419
+ "validate": {
1420
+ "complexType": {
1421
+ "signature": "() => Promise<boolean>",
1422
+ "parameters": [],
1423
+ "references": {
1424
+ "Promise": {
1425
+ "location": "global",
1426
+ "id": "global::Promise"
1427
+ },
1428
+ "HTMLBrMessageElement": {
1429
+ "location": "global",
1430
+ "id": "global::HTMLBrMessageElement"
1431
+ }
1432
+ },
1433
+ "return": "Promise<boolean>"
1434
+ },
1435
+ "docs": {
1436
+ "text": "Executa a regra customizada e retorna se o campo est\u00E1 v\u00E1lido.\nSe o validator for ass\u00EDncrono, aguarda a resposta e ignora resultados\nantigos quando uma execu\u00E7\u00E3o posterior j\u00E1 come\u00E7ou.",
1437
+ "tags": []
1438
+ }
1439
+ },
1440
+ "checkValidity": {
1441
+ "complexType": {
1442
+ "signature": "() => Promise<boolean>",
1443
+ "parameters": [],
1444
+ "references": {
1445
+ "Promise": {
1446
+ "location": "global",
1447
+ "id": "global::Promise"
1448
+ }
1449
+ },
1450
+ "return": "Promise<boolean>"
1451
+ },
1452
+ "docs": {
1453
+ "text": "Retorna `true` se o valor do input for v\u00E1lido, caso contr\u00E1rio `false`.\nSe o input for inv\u00E1lido, dispara um evento 'invalid'.",
1454
+ "tags": []
1455
+ }
1456
+ },
1457
+ "getValidationState": {
1458
+ "complexType": {
1459
+ "signature": "() => Promise<FormValidationState>",
1460
+ "parameters": [],
1461
+ "references": {
1462
+ "Promise": {
1463
+ "location": "global",
1464
+ "id": "global::Promise"
1465
+ },
1466
+ "FormValidationState": {
1467
+ "location": "import",
1468
+ "path": "../../shared/utils/form",
1469
+ "id": "src/shared/utils/form.ts::FormValidationState",
1470
+ "referenceLocation": "FormValidationState"
1471
+ }
1472
+ },
1473
+ "return": "Promise<FormValidationState>"
1474
+ },
1475
+ "docs": {
1476
+ "text": "Retorna um snapshot serializ\u00E1vel da Constraint Validation API.",
1477
+ "tags": []
1478
+ }
1479
+ },
1480
+ "select": {
1481
+ "complexType": {
1482
+ "signature": "() => Promise<void>",
1483
+ "parameters": [],
1484
+ "references": {
1485
+ "Promise": {
1486
+ "location": "global",
1487
+ "id": "global::Promise"
1488
+ }
1489
+ },
1490
+ "return": "Promise<void>"
1491
+ },
1492
+ "docs": {
1493
+ "text": "Seleciona todo o texto do controle nativo, conforme HTMLInputElement.select().",
1494
+ "tags": []
1495
+ }
1496
+ },
1497
+ "setRangeText": {
1498
+ "complexType": {
1499
+ "signature": "(replacement: string, start?: number, end?: number, selectionMode?: SelectionMode) => Promise<void>",
1500
+ "parameters": [{
1501
+ "name": "replacement",
1502
+ "type": "string",
1503
+ "docs": ""
1504
+ }, {
1505
+ "name": "start",
1506
+ "type": "number",
1507
+ "docs": ""
1508
+ }, {
1509
+ "name": "end",
1510
+ "type": "number",
1511
+ "docs": ""
1512
+ }, {
1513
+ "name": "selectionMode",
1514
+ "type": "\"start\" | \"end\" | \"select\" | \"preserve\"",
1515
+ "docs": ""
1516
+ }],
1517
+ "references": {
1518
+ "Promise": {
1519
+ "location": "global",
1520
+ "id": "global::Promise"
1521
+ },
1522
+ "SelectionMode": {
1523
+ "location": "global",
1524
+ "id": "global::SelectionMode"
1525
+ }
1526
+ },
1527
+ "return": "Promise<void>"
1528
+ },
1529
+ "docs": {
1530
+ "text": "Substitui um intervalo de texto usando a API nativa do input.",
1531
+ "tags": []
1532
+ }
1533
+ },
1534
+ "setSelectionRange": {
1535
+ "complexType": {
1536
+ "signature": "(start: number, end: number, direction?: \"forward\" | \"backward\" | \"none\") => Promise<void>",
1537
+ "parameters": [{
1538
+ "name": "start",
1539
+ "type": "number",
1540
+ "docs": ""
1541
+ }, {
1542
+ "name": "end",
1543
+ "type": "number",
1544
+ "docs": ""
1545
+ }, {
1546
+ "name": "direction",
1547
+ "type": "\"none\" | \"forward\" | \"backward\"",
1548
+ "docs": ""
1549
+ }],
1550
+ "references": {
1551
+ "Promise": {
1552
+ "location": "global",
1553
+ "id": "global::Promise"
1554
+ }
1555
+ },
1556
+ "return": "Promise<void>"
1557
+ },
1558
+ "docs": {
1559
+ "text": "Define o intervalo selecionado no controle nativo.",
1560
+ "tags": []
1561
+ }
1562
+ },
1563
+ "stepUp": {
1564
+ "complexType": {
1565
+ "signature": "(n?: number) => Promise<void>",
1566
+ "parameters": [{
1567
+ "name": "n",
1568
+ "type": "number",
1569
+ "docs": ""
1570
+ }],
1571
+ "references": {
1572
+ "Promise": {
1573
+ "location": "global",
1574
+ "id": "global::Promise"
1575
+ }
1576
+ },
1577
+ "return": "Promise<void>"
1578
+ },
1579
+ "docs": {
1580
+ "text": "Incrementa o valor num\u00E9rico pelo step nativo.",
1581
+ "tags": []
1582
+ }
1583
+ },
1584
+ "stepDown": {
1585
+ "complexType": {
1586
+ "signature": "(n?: number) => Promise<void>",
1587
+ "parameters": [{
1588
+ "name": "n",
1589
+ "type": "number",
1590
+ "docs": ""
1591
+ }],
1592
+ "references": {
1593
+ "Promise": {
1594
+ "location": "global",
1595
+ "id": "global::Promise"
1596
+ }
1597
+ },
1598
+ "return": "Promise<void>"
1599
+ },
1600
+ "docs": {
1601
+ "text": "Decrementa o valor num\u00E9rico pelo step nativo.",
1602
+ "tags": []
1603
+ }
1604
+ },
1605
+ "showPicker": {
1606
+ "complexType": {
1607
+ "signature": "() => Promise<void>",
1608
+ "parameters": [],
1609
+ "references": {
1610
+ "Promise": {
1611
+ "location": "global",
1612
+ "id": "global::Promise"
1613
+ }
1614
+ },
1615
+ "return": "Promise<void>"
1616
+ },
1617
+ "docs": {
1618
+ "text": "Abre o picker nativo quando o navegador e o tipo do input oferecem essa API.",
1619
+ "tags": []
1620
+ }
1621
+ }
1622
+ };
1623
+ }
1624
+ static get elementRef() { return "el"; }
1625
+ static get watchers() {
1626
+ return [{
1627
+ "propName": "value",
1628
+ "methodName": "handleValueChange"
1629
+ }, {
1630
+ "propName": "mask",
1631
+ "methodName": "handleMaskChange"
1632
+ }, {
1633
+ "propName": "state",
1634
+ "methodName": "handleStateChange"
1635
+ }, {
1636
+ "propName": "feedbackState",
1637
+ "methodName": "handleFeedbackStateChange"
1638
+ }];
1639
+ }
1640
+ static get attachInternalsMemberName() { return "elementInternals"; }
1641
+ }
1642
+ let inputId = 0;