acai-ui 1.65.5

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 (1139) hide show
  1. package/CHANGELOG.md +795 -0
  2. package/README.md +64 -0
  3. package/dist/acai-ui.css +14627 -0
  4. package/dist/components/actions/acai-ui-actions.d.ts +3 -0
  5. package/dist/components/async-select/acai-ui-async-select-interface.d.ts +48 -0
  6. package/dist/components/async-select/acai-ui-async-select-interface.d.ts.map +1 -0
  7. package/dist/components/async-select/acai-ui-async-select.d.ts +3 -0
  8. package/dist/components/badge/acai-ui-badge-interface.d.ts +20 -0
  9. package/dist/components/badge/acai-ui-badge-interface.d.ts.map +1 -0
  10. package/dist/components/badge/acai-ui-badge.d.ts +3 -0
  11. package/dist/components/banner/acai-ui-banner-interface.d.ts +16 -0
  12. package/dist/components/banner/acai-ui-banner-interface.d.ts.map +1 -0
  13. package/dist/components/banner/acai-ui-banner.d.ts +3 -0
  14. package/dist/components/button/acai-ui-button-interface.d.ts +21 -0
  15. package/dist/components/button/acai-ui-button-interface.d.ts.map +1 -0
  16. package/dist/components/button/acai-ui-button.d.ts +3 -0
  17. package/dist/components/card/acai-ui-card-interface.d.ts +14 -0
  18. package/dist/components/card/acai-ui-card-interface.d.ts.map +1 -0
  19. package/dist/components/card/acai-ui-card.d.ts +3 -0
  20. package/dist/components/chart/acai-ui-chart-interface.d.ts +190 -0
  21. package/dist/components/chart/acai-ui-chart-interface.d.ts.map +1 -0
  22. package/dist/components/chart/acai-ui-chart.d.ts +3 -0
  23. package/dist/components/chart/chart-a11y.d.ts +40 -0
  24. package/dist/components/chart/chart-a11y.d.ts.map +1 -0
  25. package/dist/components/chart/chart-caminhos.d.ts +91 -0
  26. package/dist/components/chart/chart-caminhos.d.ts.map +1 -0
  27. package/dist/components/chart/chart-cartesiano.d.ts +3 -0
  28. package/dist/components/chart/chart-dados.d.ts +74 -0
  29. package/dist/components/chart/chart-dados.d.ts.map +1 -0
  30. package/dist/components/chart/chart-escalas.d.ts +45 -0
  31. package/dist/components/chart/chart-escalas.d.ts.map +1 -0
  32. package/dist/components/chart/chart-formatar.d.ts +21 -0
  33. package/dist/components/chart/chart-formatar.d.ts.map +1 -0
  34. package/dist/components/chart/chart-gauge.d.ts +3 -0
  35. package/dist/components/chart/chart-headless.d.ts +29 -0
  36. package/dist/components/chart/chart-headless.d.ts.map +1 -0
  37. package/dist/components/chart/chart-imagem.d.ts +51 -0
  38. package/dist/components/chart/chart-imagem.d.ts.map +1 -0
  39. package/dist/components/chart/chart-layout.d.ts +59 -0
  40. package/dist/components/chart/chart-layout.d.ts.map +1 -0
  41. package/dist/components/chart/chart-legenda.d.ts +3 -0
  42. package/dist/components/chart/chart-pizza.d.ts +3 -0
  43. package/dist/components/chart/chart-plano.d.ts +201 -0
  44. package/dist/components/chart/chart-plano.d.ts.map +1 -0
  45. package/dist/components/chart/chart-rotulos.d.ts +10 -0
  46. package/dist/components/chart/chart-rotulos.d.ts.map +1 -0
  47. package/dist/components/chart/chart-tabela.d.ts +3 -0
  48. package/dist/components/chart/chart-ticks.d.ts +35 -0
  49. package/dist/components/chart/chart-ticks.d.ts.map +1 -0
  50. package/dist/components/checkbox/acai-ui-checkbox-interface.d.ts +16 -0
  51. package/dist/components/checkbox/acai-ui-checkbox-interface.d.ts.map +1 -0
  52. package/dist/components/checkbox/acai-ui-checkbox.d.ts +3 -0
  53. package/dist/components/chip/acai-ui-chip-interface.d.ts +17 -0
  54. package/dist/components/chip/acai-ui-chip-interface.d.ts.map +1 -0
  55. package/dist/components/chip/acai-ui-chip.d.ts +3 -0
  56. package/dist/components/code/acai-ui-code-interface.d.ts +44 -0
  57. package/dist/components/code/acai-ui-code-interface.d.ts.map +1 -0
  58. package/dist/components/code/acai-ui-code.d.ts +3 -0
  59. package/dist/components/code/dobras-json.d.ts +14 -0
  60. package/dist/components/code/dobras-json.d.ts.map +1 -0
  61. package/dist/components/confirm/acai-ui-confirm.d.ts +3 -0
  62. package/dist/components/container/acai-ui-container-interface.d.ts +29 -0
  63. package/dist/components/container/acai-ui-container-interface.d.ts.map +1 -0
  64. package/dist/components/container/acai-ui-container.d.ts +3 -0
  65. package/dist/components/date/acai-ui-date-interface.d.ts +19 -0
  66. package/dist/components/date/acai-ui-date-interface.d.ts.map +1 -0
  67. package/dist/components/date/acai-ui-date.d.ts +3 -0
  68. package/dist/components/date-range/acai-ui-date-range-interface.d.ts +27 -0
  69. package/dist/components/date-range/acai-ui-date-range-interface.d.ts.map +1 -0
  70. package/dist/components/date-range/acai-ui-date-range.d.ts +3 -0
  71. package/dist/components/datetime/acai-ui-datetime-interface.d.ts +10 -0
  72. package/dist/components/datetime/acai-ui-datetime-interface.d.ts.map +1 -0
  73. package/dist/components/datetime/acai-ui-datetime.d.ts +3 -0
  74. package/dist/components/dialog/acai-ui-dialog-interface.d.ts +17 -0
  75. package/dist/components/dialog/acai-ui-dialog-interface.d.ts.map +1 -0
  76. package/dist/components/dialog/acai-ui-dialog.d.ts +3 -0
  77. package/dist/components/divider/acai-ui-divider-interface.d.ts +5 -0
  78. package/dist/components/divider/acai-ui-divider-interface.d.ts.map +1 -0
  79. package/dist/components/divider/acai-ui-divider.d.ts +3 -0
  80. package/dist/components/drawer/acai-ui-drawer-interface.d.ts +97 -0
  81. package/dist/components/drawer/acai-ui-drawer-interface.d.ts.map +1 -0
  82. package/dist/components/drawer/acai-ui-drawer.d.ts +3 -0
  83. package/dist/components/drawer/drawer-sidebar-helper.d.ts +4 -0
  84. package/dist/components/drawer/drawer-sidebar-helper.d.ts.map +1 -0
  85. package/dist/components/dropdown/acai-ui-dropdown-interface.d.ts +35 -0
  86. package/dist/components/dropdown/acai-ui-dropdown-interface.d.ts.map +1 -0
  87. package/dist/components/dropdown/acai-ui-dropdown-item.d.ts +3 -0
  88. package/dist/components/dropdown/acai-ui-dropdown.d.ts +3 -0
  89. package/dist/components/error-log/acai-ui-error-log-interface.d.ts +59 -0
  90. package/dist/components/error-log/acai-ui-error-log-interface.d.ts.map +1 -0
  91. package/dist/components/error-log/acai-ui-error-log-json-tree.d.ts +3 -0
  92. package/dist/components/error-log/acai-ui-error-log-redigir.d.ts +28 -0
  93. package/dist/components/error-log/acai-ui-error-log-redigir.d.ts.map +1 -0
  94. package/dist/components/error-log/acai-ui-error-log.d.ts +3 -0
  95. package/dist/components/file/acai-ui-file-interface.d.ts +13 -0
  96. package/dist/components/file/acai-ui-file-interface.d.ts.map +1 -0
  97. package/dist/components/file/acai-ui-file.d.ts +3 -0
  98. package/dist/components/form/acai-ui-form-interface.d.ts +37 -0
  99. package/dist/components/form/acai-ui-form-interface.d.ts.map +1 -0
  100. package/dist/components/form/acai-ui-form.d.ts +3 -0
  101. package/dist/components/help/acai-ui-help-interface.d.ts +184 -0
  102. package/dist/components/help/acai-ui-help-interface.d.ts.map +1 -0
  103. package/dist/components/help/acai-ui-help.d.ts +3 -0
  104. package/dist/components/help/acai-ui-tour.d.ts +3 -0
  105. package/dist/components/help/tour-escolha.d.ts +62 -0
  106. package/dist/components/help/tour-escolha.d.ts.map +1 -0
  107. package/dist/components/help/tour-posicionar.d.ts +39 -0
  108. package/dist/components/help/tour-posicionar.d.ts.map +1 -0
  109. package/dist/components/help/tour-registry.d.ts +54 -0
  110. package/dist/components/help/tour-registry.d.ts.map +1 -0
  111. package/dist/components/help/use-tour-visto.d.ts +11 -0
  112. package/dist/components/help/use-tour-visto.d.ts.map +1 -0
  113. package/dist/components/icon/acai-ui-icon-interface.d.ts +12 -0
  114. package/dist/components/icon/acai-ui-icon-interface.d.ts.map +1 -0
  115. package/dist/components/icon/acai-ui-icon.d.ts +3 -0
  116. package/dist/components/index.d.ts +89 -0
  117. package/dist/components/index.d.ts.map +1 -0
  118. package/dist/components/input/acai-ui-input-interface.d.ts +20 -0
  119. package/dist/components/input/acai-ui-input-interface.d.ts.map +1 -0
  120. package/dist/components/input/acai-ui-input.d.ts +3 -0
  121. package/dist/components/modal/acai-ui-modal-interface.d.ts +16 -0
  122. package/dist/components/modal/acai-ui-modal-interface.d.ts.map +1 -0
  123. package/dist/components/modal/acai-ui-modal.d.ts +3 -0
  124. package/dist/components/pagination/acai-ui-pagination-interface.d.ts +9 -0
  125. package/dist/components/pagination/acai-ui-pagination-interface.d.ts.map +1 -0
  126. package/dist/components/pagination/acai-ui-pagination.d.ts +3 -0
  127. package/dist/components/preferences/acai-ui-preferences-interface.d.ts +5 -0
  128. package/dist/components/preferences/acai-ui-preferences-interface.d.ts.map +1 -0
  129. package/dist/components/preferences/acai-ui-preferences.d.ts +3 -0
  130. package/dist/components/progress/acai-ui-progress-interface.d.ts +18 -0
  131. package/dist/components/progress/acai-ui-progress-interface.d.ts.map +1 -0
  132. package/dist/components/progress/acai-ui-progress.d.ts +3 -0
  133. package/dist/components/radio/acai-ui-radio-interface.d.ts +13 -0
  134. package/dist/components/radio/acai-ui-radio-interface.d.ts.map +1 -0
  135. package/dist/components/radio/acai-ui-radio.d.ts +3 -0
  136. package/dist/components/section/acai-ui-section.d.ts +3 -0
  137. package/dist/components/select/acai-ui-select-interface.d.ts +18 -0
  138. package/dist/components/select/acai-ui-select-interface.d.ts.map +1 -0
  139. package/dist/components/select/acai-ui-select.d.ts +3 -0
  140. package/dist/components/session-clock/acai-ui-session-clock.d.ts +3 -0
  141. package/dist/components/stepper/acai-ui-step-interface.d.ts +18 -0
  142. package/dist/components/stepper/acai-ui-step-interface.d.ts.map +1 -0
  143. package/dist/components/stepper/acai-ui-step.d.ts +3 -0
  144. package/dist/components/stepper/acai-ui-stepper-interface.d.ts +53 -0
  145. package/dist/components/stepper/acai-ui-stepper-interface.d.ts.map +1 -0
  146. package/dist/components/stepper/acai-ui-stepper.d.ts +3 -0
  147. package/dist/components/swagger/acai-ui-swagger-interface.d.ts +53 -0
  148. package/dist/components/swagger/acai-ui-swagger-interface.d.ts.map +1 -0
  149. package/dist/components/swagger/acai-ui-swagger-operacao.d.ts +3 -0
  150. package/dist/components/swagger/acai-ui-swagger-requisicao.d.ts +76 -0
  151. package/dist/components/swagger/acai-ui-swagger-requisicao.d.ts.map +1 -0
  152. package/dist/components/swagger/acai-ui-swagger-schema.d.ts +3 -0
  153. package/dist/components/swagger/acai-ui-swagger.d.ts +3 -0
  154. package/dist/components/swagger/openapi-normalizar.d.ts +51 -0
  155. package/dist/components/swagger/openapi-normalizar.d.ts.map +1 -0
  156. package/dist/components/swagger/openapi-tipos.d.ts +167 -0
  157. package/dist/components/swagger/openapi-tipos.d.ts.map +1 -0
  158. package/dist/components/table/acai-ui-table-interface.d.ts +47 -0
  159. package/dist/components/table/acai-ui-table-interface.d.ts.map +1 -0
  160. package/dist/components/table/acai-ui-table-justificativa.d.ts +3 -0
  161. package/dist/components/table/acai-ui-table.d.ts +3 -0
  162. package/dist/components/tabs/acai-ui-tab.d.ts +3 -0
  163. package/dist/components/tabs/acai-ui-tabs-interface.d.ts +32 -0
  164. package/dist/components/tabs/acai-ui-tabs-interface.d.ts.map +1 -0
  165. package/dist/components/tabs/acai-ui-tabs.d.ts +3 -0
  166. package/dist/components/time/acai-ui-time-interface.d.ts +15 -0
  167. package/dist/components/time/acai-ui-time-interface.d.ts.map +1 -0
  168. package/dist/components/time/acai-ui-time.d.ts +3 -0
  169. package/dist/components/toggle/acai-ui-toggle-interface.d.ts +12 -0
  170. package/dist/components/toggle/acai-ui-toggle-interface.d.ts.map +1 -0
  171. package/dist/components/toggle/acai-ui-toggle.d.ts +3 -0
  172. package/dist/components/tooltip/acai-ui-tooltip-interface.d.ts +9 -0
  173. package/dist/components/tooltip/acai-ui-tooltip-interface.d.ts.map +1 -0
  174. package/dist/components/tooltip/acai-ui-tooltip.d.ts +3 -0
  175. package/dist/components/user-menu/acai-ui-user-menu-interface.d.ts +14 -0
  176. package/dist/components/user-menu/acai-ui-user-menu-interface.d.ts.map +1 -0
  177. package/dist/components/user-menu/acai-ui-user-menu.d.ts +3 -0
  178. package/dist/components/validation/acai-ui-validation.d.ts +3 -0
  179. package/dist/constants/chart-paleta.d.ts +47 -0
  180. package/dist/constants/chart-paleta.d.ts.map +1 -0
  181. package/dist/constants/efeitos.d.ts +22 -0
  182. package/dist/constants/efeitos.d.ts.map +1 -0
  183. package/dist/constants/index.d.ts +13 -0
  184. package/dist/constants/index.d.ts.map +1 -0
  185. package/dist/constants/lista-icons.d.ts +156 -0
  186. package/dist/constants/lista-icons.d.ts.map +1 -0
  187. package/dist/constants/medidas-espacos.d.ts +15 -0
  188. package/dist/constants/medidas-espacos.d.ts.map +1 -0
  189. package/dist/constants/radius.d.ts +15 -0
  190. package/dist/constants/radius.d.ts.map +1 -0
  191. package/dist/constants/status-badge.d.ts +17 -0
  192. package/dist/constants/status-badge.d.ts.map +1 -0
  193. package/dist/hooks/filtros-url-internos.d.ts +121 -0
  194. package/dist/hooks/filtros-url-internos.d.ts.map +1 -0
  195. package/dist/hooks/index.d.ts +18 -0
  196. package/dist/hooks/index.d.ts.map +1 -0
  197. package/dist/hooks/notify.d.ts +8 -0
  198. package/dist/hooks/notify.d.ts.map +1 -0
  199. package/dist/hooks/use-contador-sessao.d.ts +22 -0
  200. package/dist/hooks/use-contador-sessao.d.ts.map +1 -0
  201. package/dist/hooks/use-filtros-na-url.d.ts +110 -0
  202. package/dist/hooks/use-filtros-na-url.d.ts.map +1 -0
  203. package/dist/hooks/use-leitura-voz.d.ts +60 -0
  204. package/dist/hooks/use-leitura-voz.d.ts.map +1 -0
  205. package/dist/hooks/use-listagem-na-url.d.ts +185 -0
  206. package/dist/hooks/use-listagem-na-url.d.ts.map +1 -0
  207. package/dist/hooks/use-preferencias.d.ts +60 -0
  208. package/dist/hooks/use-preferencias.d.ts.map +1 -0
  209. package/dist/hooks/use-repasse-quasar.d.ts +42 -0
  210. package/dist/hooks/use-repasse-quasar.d.ts.map +1 -0
  211. package/dist/hooks/use-tamanho-elemento.d.ts +26 -0
  212. package/dist/hooks/use-tamanho-elemento.d.ts.map +1 -0
  213. package/dist/hooks/use-tela.d.ts +84 -0
  214. package/dist/hooks/use-tela.d.ts.map +1 -0
  215. package/dist/hooks/use-validacao-visual.d.ts +40 -0
  216. package/dist/hooks/use-validacao-visual.d.ts.map +1 -0
  217. package/dist/index.cjs +249 -0
  218. package/dist/index.cjs.map +1 -0
  219. package/dist/index.d.ts +8 -0
  220. package/dist/index.d.ts.map +1 -0
  221. package/dist/index.mjs +249 -0
  222. package/dist/index.mjs.map +1 -0
  223. package/dist/index10.cjs +24 -0
  224. package/dist/index10.cjs.map +1 -0
  225. package/dist/index10.mjs +25 -0
  226. package/dist/index10.mjs.map +1 -0
  227. package/dist/index100.cjs +51 -0
  228. package/dist/index100.cjs.map +1 -0
  229. package/dist/index100.mjs +51 -0
  230. package/dist/index100.mjs.map +1 -0
  231. package/dist/index101.cjs +143 -0
  232. package/dist/index101.cjs.map +1 -0
  233. package/dist/index101.mjs +143 -0
  234. package/dist/index101.mjs.map +1 -0
  235. package/dist/index102.cjs +137 -0
  236. package/dist/index102.cjs.map +1 -0
  237. package/dist/index102.mjs +138 -0
  238. package/dist/index102.mjs.map +1 -0
  239. package/dist/index104.cjs +10 -0
  240. package/dist/index104.cjs.map +1 -0
  241. package/dist/index104.mjs +11 -0
  242. package/dist/index104.mjs.map +1 -0
  243. package/dist/index105.cjs +5 -0
  244. package/dist/index105.cjs.map +1 -0
  245. package/dist/index105.mjs +6 -0
  246. package/dist/index105.mjs.map +1 -0
  247. package/dist/index106.cjs +5 -0
  248. package/dist/index106.cjs.map +1 -0
  249. package/dist/index106.mjs +6 -0
  250. package/dist/index106.mjs.map +1 -0
  251. package/dist/index107.cjs +86 -0
  252. package/dist/index107.cjs.map +1 -0
  253. package/dist/index107.mjs +87 -0
  254. package/dist/index107.mjs.map +1 -0
  255. package/dist/index109.cjs +123 -0
  256. package/dist/index109.cjs.map +1 -0
  257. package/dist/index109.mjs +124 -0
  258. package/dist/index109.mjs.map +1 -0
  259. package/dist/index111.cjs +121 -0
  260. package/dist/index111.cjs.map +1 -0
  261. package/dist/index111.mjs +122 -0
  262. package/dist/index111.mjs.map +1 -0
  263. package/dist/index113.cjs +72 -0
  264. package/dist/index113.cjs.map +1 -0
  265. package/dist/index113.mjs +73 -0
  266. package/dist/index113.mjs.map +1 -0
  267. package/dist/index115.cjs +5 -0
  268. package/dist/index115.cjs.map +1 -0
  269. package/dist/index115.mjs +6 -0
  270. package/dist/index115.mjs.map +1 -0
  271. package/dist/index116.cjs +56 -0
  272. package/dist/index116.cjs.map +1 -0
  273. package/dist/index116.mjs +57 -0
  274. package/dist/index116.mjs.map +1 -0
  275. package/dist/index118.cjs +5 -0
  276. package/dist/index118.cjs.map +1 -0
  277. package/dist/index118.mjs +6 -0
  278. package/dist/index118.mjs.map +1 -0
  279. package/dist/index119.cjs +210 -0
  280. package/dist/index119.cjs.map +1 -0
  281. package/dist/index119.mjs +211 -0
  282. package/dist/index119.mjs.map +1 -0
  283. package/dist/index12.cjs +606 -0
  284. package/dist/index12.cjs.map +1 -0
  285. package/dist/index12.mjs +607 -0
  286. package/dist/index12.mjs.map +1 -0
  287. package/dist/index121.cjs +170 -0
  288. package/dist/index121.cjs.map +1 -0
  289. package/dist/index121.mjs +171 -0
  290. package/dist/index121.mjs.map +1 -0
  291. package/dist/index123.cjs +109 -0
  292. package/dist/index123.cjs.map +1 -0
  293. package/dist/index123.mjs +110 -0
  294. package/dist/index123.mjs.map +1 -0
  295. package/dist/index125.cjs +5 -0
  296. package/dist/index125.cjs.map +1 -0
  297. package/dist/index125.mjs +6 -0
  298. package/dist/index125.mjs.map +1 -0
  299. package/dist/index126.cjs +4 -0
  300. package/dist/index126.cjs.map +1 -0
  301. package/dist/index126.mjs +5 -0
  302. package/dist/index126.mjs.map +1 -0
  303. package/dist/index127.cjs +300 -0
  304. package/dist/index127.cjs.map +1 -0
  305. package/dist/index127.mjs +301 -0
  306. package/dist/index127.mjs.map +1 -0
  307. package/dist/index130.cjs +5 -0
  308. package/dist/index130.cjs.map +1 -0
  309. package/dist/index130.mjs +6 -0
  310. package/dist/index130.mjs.map +1 -0
  311. package/dist/index131.cjs +5 -0
  312. package/dist/index131.cjs.map +1 -0
  313. package/dist/index131.mjs +6 -0
  314. package/dist/index131.mjs.map +1 -0
  315. package/dist/index132.cjs +128 -0
  316. package/dist/index132.cjs.map +1 -0
  317. package/dist/index132.mjs +129 -0
  318. package/dist/index132.mjs.map +1 -0
  319. package/dist/index134.cjs +4 -0
  320. package/dist/index134.cjs.map +1 -0
  321. package/dist/index134.mjs +5 -0
  322. package/dist/index134.mjs.map +1 -0
  323. package/dist/index135.cjs +180 -0
  324. package/dist/index135.cjs.map +1 -0
  325. package/dist/index135.mjs +181 -0
  326. package/dist/index135.mjs.map +1 -0
  327. package/dist/index137.cjs +83 -0
  328. package/dist/index137.cjs.map +1 -0
  329. package/dist/index137.mjs +84 -0
  330. package/dist/index137.mjs.map +1 -0
  331. package/dist/index139.cjs +284 -0
  332. package/dist/index139.cjs.map +1 -0
  333. package/dist/index139.mjs +285 -0
  334. package/dist/index139.mjs.map +1 -0
  335. package/dist/index14.cjs +124 -0
  336. package/dist/index14.cjs.map +1 -0
  337. package/dist/index14.mjs +125 -0
  338. package/dist/index14.mjs.map +1 -0
  339. package/dist/index141.cjs +58 -0
  340. package/dist/index141.cjs.map +1 -0
  341. package/dist/index141.mjs +59 -0
  342. package/dist/index141.mjs.map +1 -0
  343. package/dist/index143.cjs +5 -0
  344. package/dist/index143.cjs.map +1 -0
  345. package/dist/index143.mjs +6 -0
  346. package/dist/index143.mjs.map +1 -0
  347. package/dist/index144.cjs +399 -0
  348. package/dist/index144.cjs.map +1 -0
  349. package/dist/index144.mjs +400 -0
  350. package/dist/index144.mjs.map +1 -0
  351. package/dist/index146.cjs +305 -0
  352. package/dist/index146.cjs.map +1 -0
  353. package/dist/index146.mjs +306 -0
  354. package/dist/index146.mjs.map +1 -0
  355. package/dist/index149.cjs +109 -0
  356. package/dist/index149.cjs.map +1 -0
  357. package/dist/index149.mjs +110 -0
  358. package/dist/index149.mjs.map +1 -0
  359. package/dist/index152.cjs +5 -0
  360. package/dist/index152.cjs.map +1 -0
  361. package/dist/index152.mjs +6 -0
  362. package/dist/index152.mjs.map +1 -0
  363. package/dist/index153.cjs +5 -0
  364. package/dist/index153.cjs.map +1 -0
  365. package/dist/index153.mjs +6 -0
  366. package/dist/index153.mjs.map +1 -0
  367. package/dist/index154.cjs +4 -0
  368. package/dist/index154.cjs.map +1 -0
  369. package/dist/index154.mjs +5 -0
  370. package/dist/index154.mjs.map +1 -0
  371. package/dist/index155.cjs +5 -0
  372. package/dist/index155.cjs.map +1 -0
  373. package/dist/index155.mjs +6 -0
  374. package/dist/index155.mjs.map +1 -0
  375. package/dist/index156.cjs +5 -0
  376. package/dist/index156.cjs.map +1 -0
  377. package/dist/index156.mjs +6 -0
  378. package/dist/index156.mjs.map +1 -0
  379. package/dist/index157.cjs +5 -0
  380. package/dist/index157.cjs.map +1 -0
  381. package/dist/index157.mjs +6 -0
  382. package/dist/index157.mjs.map +1 -0
  383. package/dist/index158.cjs +4 -0
  384. package/dist/index158.cjs.map +1 -0
  385. package/dist/index158.mjs +5 -0
  386. package/dist/index158.mjs.map +1 -0
  387. package/dist/index159.cjs +59 -0
  388. package/dist/index159.cjs.map +1 -0
  389. package/dist/index159.mjs +60 -0
  390. package/dist/index159.mjs.map +1 -0
  391. package/dist/index16.cjs +89 -0
  392. package/dist/index16.cjs.map +1 -0
  393. package/dist/index16.mjs +90 -0
  394. package/dist/index16.mjs.map +1 -0
  395. package/dist/index161.cjs +5 -0
  396. package/dist/index161.cjs.map +1 -0
  397. package/dist/index161.mjs +6 -0
  398. package/dist/index161.mjs.map +1 -0
  399. package/dist/index162.cjs +119 -0
  400. package/dist/index162.cjs.map +1 -0
  401. package/dist/index162.mjs +120 -0
  402. package/dist/index162.mjs.map +1 -0
  403. package/dist/index164.cjs +33 -0
  404. package/dist/index164.cjs.map +1 -0
  405. package/dist/index164.mjs +34 -0
  406. package/dist/index164.mjs.map +1 -0
  407. package/dist/index166.cjs +5 -0
  408. package/dist/index166.cjs.map +1 -0
  409. package/dist/index166.mjs +6 -0
  410. package/dist/index166.mjs.map +1 -0
  411. package/dist/index167.cjs +324 -0
  412. package/dist/index167.cjs.map +1 -0
  413. package/dist/index167.mjs +325 -0
  414. package/dist/index167.mjs.map +1 -0
  415. package/dist/index17.cjs +419 -0
  416. package/dist/index17.cjs.map +1 -0
  417. package/dist/index17.mjs +420 -0
  418. package/dist/index17.mjs.map +1 -0
  419. package/dist/index170.cjs +38 -0
  420. package/dist/index170.cjs.map +1 -0
  421. package/dist/index170.mjs +39 -0
  422. package/dist/index170.mjs.map +1 -0
  423. package/dist/index172.cjs +5 -0
  424. package/dist/index172.cjs.map +1 -0
  425. package/dist/index172.mjs +6 -0
  426. package/dist/index172.mjs.map +1 -0
  427. package/dist/index173.cjs +202 -0
  428. package/dist/index173.cjs.map +1 -0
  429. package/dist/index173.mjs +203 -0
  430. package/dist/index173.mjs.map +1 -0
  431. package/dist/index175.cjs +5 -0
  432. package/dist/index175.cjs.map +1 -0
  433. package/dist/index175.mjs +6 -0
  434. package/dist/index175.mjs.map +1 -0
  435. package/dist/index176.cjs +53 -0
  436. package/dist/index176.cjs.map +1 -0
  437. package/dist/index176.mjs +54 -0
  438. package/dist/index176.mjs.map +1 -0
  439. package/dist/index178.cjs +13 -0
  440. package/dist/index178.cjs.map +1 -0
  441. package/dist/index178.mjs +13 -0
  442. package/dist/index178.mjs.map +1 -0
  443. package/dist/index179.cjs +18 -0
  444. package/dist/index179.cjs.map +1 -0
  445. package/dist/index179.mjs +18 -0
  446. package/dist/index179.mjs.map +1 -0
  447. package/dist/index180.cjs +262 -0
  448. package/dist/index180.cjs.map +1 -0
  449. package/dist/index180.mjs +262 -0
  450. package/dist/index180.mjs.map +1 -0
  451. package/dist/index181.cjs +108 -0
  452. package/dist/index181.cjs.map +1 -0
  453. package/dist/index181.mjs +109 -0
  454. package/dist/index181.mjs.map +1 -0
  455. package/dist/index182.cjs +73 -0
  456. package/dist/index182.cjs.map +1 -0
  457. package/dist/index182.mjs +73 -0
  458. package/dist/index182.mjs.map +1 -0
  459. package/dist/index183.cjs +37 -0
  460. package/dist/index183.cjs.map +1 -0
  461. package/dist/index183.mjs +37 -0
  462. package/dist/index183.mjs.map +1 -0
  463. package/dist/index184.cjs +16 -0
  464. package/dist/index184.cjs.map +1 -0
  465. package/dist/index184.mjs +16 -0
  466. package/dist/index184.mjs.map +1 -0
  467. package/dist/index185.cjs +31 -0
  468. package/dist/index185.cjs.map +1 -0
  469. package/dist/index185.mjs +31 -0
  470. package/dist/index185.mjs.map +1 -0
  471. package/dist/index186.cjs +460 -0
  472. package/dist/index186.cjs.map +1 -0
  473. package/dist/index186.mjs +461 -0
  474. package/dist/index186.mjs.map +1 -0
  475. package/dist/index187.cjs +154 -0
  476. package/dist/index187.cjs.map +1 -0
  477. package/dist/index187.mjs +154 -0
  478. package/dist/index187.mjs.map +1 -0
  479. package/dist/index188.cjs +40 -0
  480. package/dist/index188.cjs.map +1 -0
  481. package/dist/index188.mjs +40 -0
  482. package/dist/index188.mjs.map +1 -0
  483. package/dist/index189.cjs +66 -0
  484. package/dist/index189.cjs.map +1 -0
  485. package/dist/index189.mjs +66 -0
  486. package/dist/index189.mjs.map +1 -0
  487. package/dist/index19.cjs +135 -0
  488. package/dist/index19.cjs.map +1 -0
  489. package/dist/index19.mjs +136 -0
  490. package/dist/index19.mjs.map +1 -0
  491. package/dist/index190.cjs +142 -0
  492. package/dist/index190.cjs.map +1 -0
  493. package/dist/index190.mjs +143 -0
  494. package/dist/index190.mjs.map +1 -0
  495. package/dist/index191.cjs +7 -0
  496. package/dist/index191.cjs.map +1 -0
  497. package/dist/index191.mjs +8 -0
  498. package/dist/index191.mjs.map +1 -0
  499. package/dist/index192.cjs +7 -0
  500. package/dist/index192.cjs.map +1 -0
  501. package/dist/index192.mjs +8 -0
  502. package/dist/index192.mjs.map +1 -0
  503. package/dist/index193.cjs +7 -0
  504. package/dist/index193.cjs.map +1 -0
  505. package/dist/index193.mjs +8 -0
  506. package/dist/index193.mjs.map +1 -0
  507. package/dist/index194.cjs +7 -0
  508. package/dist/index194.cjs.map +1 -0
  509. package/dist/index194.mjs +8 -0
  510. package/dist/index194.mjs.map +1 -0
  511. package/dist/index195.cjs +7 -0
  512. package/dist/index195.cjs.map +1 -0
  513. package/dist/index195.mjs +8 -0
  514. package/dist/index195.mjs.map +1 -0
  515. package/dist/index196.cjs +100 -0
  516. package/dist/index196.cjs.map +1 -0
  517. package/dist/index196.mjs +100 -0
  518. package/dist/index196.mjs.map +1 -0
  519. package/dist/index197.cjs +226 -0
  520. package/dist/index197.cjs.map +1 -0
  521. package/dist/index197.mjs +226 -0
  522. package/dist/index197.mjs.map +1 -0
  523. package/dist/index198.cjs +66 -0
  524. package/dist/index198.cjs.map +1 -0
  525. package/dist/index198.mjs +66 -0
  526. package/dist/index198.mjs.map +1 -0
  527. package/dist/index199.cjs +399 -0
  528. package/dist/index199.cjs.map +1 -0
  529. package/dist/index199.mjs +399 -0
  530. package/dist/index199.mjs.map +1 -0
  531. package/dist/index200.cjs +83 -0
  532. package/dist/index200.cjs.map +1 -0
  533. package/dist/index200.mjs +83 -0
  534. package/dist/index200.mjs.map +1 -0
  535. package/dist/index201.cjs +4 -0
  536. package/dist/index201.cjs.map +1 -0
  537. package/dist/index201.mjs +5 -0
  538. package/dist/index201.mjs.map +1 -0
  539. package/dist/index202.cjs +5 -0
  540. package/dist/index202.cjs.map +1 -0
  541. package/dist/index202.mjs +6 -0
  542. package/dist/index202.mjs.map +1 -0
  543. package/dist/index203.cjs +216 -0
  544. package/dist/index203.cjs.map +1 -0
  545. package/dist/index203.mjs +217 -0
  546. package/dist/index203.mjs.map +1 -0
  547. package/dist/index205.cjs +112 -0
  548. package/dist/index205.cjs.map +1 -0
  549. package/dist/index205.mjs +113 -0
  550. package/dist/index205.mjs.map +1 -0
  551. package/dist/index207.cjs +112 -0
  552. package/dist/index207.cjs.map +1 -0
  553. package/dist/index207.mjs +113 -0
  554. package/dist/index207.mjs.map +1 -0
  555. package/dist/index209.cjs +64 -0
  556. package/dist/index209.cjs.map +1 -0
  557. package/dist/index209.mjs +65 -0
  558. package/dist/index209.mjs.map +1 -0
  559. package/dist/index21.cjs +268 -0
  560. package/dist/index21.cjs.map +1 -0
  561. package/dist/index21.mjs +269 -0
  562. package/dist/index21.mjs.map +1 -0
  563. package/dist/index211.cjs +45 -0
  564. package/dist/index211.cjs.map +1 -0
  565. package/dist/index211.mjs +46 -0
  566. package/dist/index211.mjs.map +1 -0
  567. package/dist/index213.cjs +241 -0
  568. package/dist/index213.cjs.map +1 -0
  569. package/dist/index213.mjs +241 -0
  570. package/dist/index213.mjs.map +1 -0
  571. package/dist/index214.cjs +63 -0
  572. package/dist/index214.cjs.map +1 -0
  573. package/dist/index214.mjs +63 -0
  574. package/dist/index214.mjs.map +1 -0
  575. package/dist/index215.cjs +53 -0
  576. package/dist/index215.cjs.map +1 -0
  577. package/dist/index215.mjs +53 -0
  578. package/dist/index215.mjs.map +1 -0
  579. package/dist/index216.cjs +53 -0
  580. package/dist/index216.cjs.map +1 -0
  581. package/dist/index216.mjs +53 -0
  582. package/dist/index216.mjs.map +1 -0
  583. package/dist/index217.cjs +4 -0
  584. package/dist/index217.cjs.map +1 -0
  585. package/dist/index217.mjs +5 -0
  586. package/dist/index217.mjs.map +1 -0
  587. package/dist/index218.cjs +29 -0
  588. package/dist/index218.cjs.map +1 -0
  589. package/dist/index218.mjs +30 -0
  590. package/dist/index218.mjs.map +1 -0
  591. package/dist/index219.cjs +4 -0
  592. package/dist/index219.cjs.map +1 -0
  593. package/dist/index219.mjs +5 -0
  594. package/dist/index219.mjs.map +1 -0
  595. package/dist/index23.cjs +41 -0
  596. package/dist/index23.cjs.map +1 -0
  597. package/dist/index23.mjs +42 -0
  598. package/dist/index23.mjs.map +1 -0
  599. package/dist/index24.cjs +117 -0
  600. package/dist/index24.cjs.map +1 -0
  601. package/dist/index24.mjs +118 -0
  602. package/dist/index24.mjs.map +1 -0
  603. package/dist/index26.cjs +127 -0
  604. package/dist/index26.cjs.map +1 -0
  605. package/dist/index26.mjs +128 -0
  606. package/dist/index26.mjs.map +1 -0
  607. package/dist/index28.cjs +39 -0
  608. package/dist/index28.cjs.map +1 -0
  609. package/dist/index28.mjs +40 -0
  610. package/dist/index28.mjs.map +1 -0
  611. package/dist/index29.cjs +176 -0
  612. package/dist/index29.cjs.map +1 -0
  613. package/dist/index29.mjs +177 -0
  614. package/dist/index29.mjs.map +1 -0
  615. package/dist/index3.cjs +110 -0
  616. package/dist/index3.cjs.map +1 -0
  617. package/dist/index3.mjs +110 -0
  618. package/dist/index3.mjs.map +1 -0
  619. package/dist/index31.cjs +361 -0
  620. package/dist/index31.cjs.map +1 -0
  621. package/dist/index31.mjs +362 -0
  622. package/dist/index31.mjs.map +1 -0
  623. package/dist/index33.cjs +20 -0
  624. package/dist/index33.cjs.map +1 -0
  625. package/dist/index33.mjs +21 -0
  626. package/dist/index33.mjs.map +1 -0
  627. package/dist/index34.cjs +311 -0
  628. package/dist/index34.cjs.map +1 -0
  629. package/dist/index34.mjs +312 -0
  630. package/dist/index34.mjs.map +1 -0
  631. package/dist/index36.cjs +132 -0
  632. package/dist/index36.cjs.map +1 -0
  633. package/dist/index36.mjs +133 -0
  634. package/dist/index36.mjs.map +1 -0
  635. package/dist/index38.cjs +80 -0
  636. package/dist/index38.cjs.map +1 -0
  637. package/dist/index38.mjs +81 -0
  638. package/dist/index38.mjs.map +1 -0
  639. package/dist/index4.cjs +612 -0
  640. package/dist/index4.cjs.map +1 -0
  641. package/dist/index4.mjs +613 -0
  642. package/dist/index4.mjs.map +1 -0
  643. package/dist/index40.cjs +600 -0
  644. package/dist/index40.cjs.map +1 -0
  645. package/dist/index40.mjs +601 -0
  646. package/dist/index40.mjs.map +1 -0
  647. package/dist/index42.cjs +160 -0
  648. package/dist/index42.cjs.map +1 -0
  649. package/dist/index42.mjs +160 -0
  650. package/dist/index42.mjs.map +1 -0
  651. package/dist/index43.cjs +26 -0
  652. package/dist/index43.cjs.map +1 -0
  653. package/dist/index43.mjs +27 -0
  654. package/dist/index43.mjs.map +1 -0
  655. package/dist/index44.cjs +20 -0
  656. package/dist/index44.cjs.map +1 -0
  657. package/dist/index44.mjs +21 -0
  658. package/dist/index44.mjs.map +1 -0
  659. package/dist/index45.cjs +104 -0
  660. package/dist/index45.cjs.map +1 -0
  661. package/dist/index45.mjs +104 -0
  662. package/dist/index45.mjs.map +1 -0
  663. package/dist/index46.cjs +8 -0
  664. package/dist/index46.cjs.map +1 -0
  665. package/dist/index46.mjs +9 -0
  666. package/dist/index46.mjs.map +1 -0
  667. package/dist/index47.cjs +7 -0
  668. package/dist/index47.cjs.map +1 -0
  669. package/dist/index47.mjs +8 -0
  670. package/dist/index47.mjs.map +1 -0
  671. package/dist/index48.cjs +7 -0
  672. package/dist/index48.cjs.map +1 -0
  673. package/dist/index48.mjs +8 -0
  674. package/dist/index48.mjs.map +1 -0
  675. package/dist/index49.cjs +7 -0
  676. package/dist/index49.cjs.map +1 -0
  677. package/dist/index49.mjs +8 -0
  678. package/dist/index49.mjs.map +1 -0
  679. package/dist/index50.cjs +7 -0
  680. package/dist/index50.cjs.map +1 -0
  681. package/dist/index50.mjs +8 -0
  682. package/dist/index50.mjs.map +1 -0
  683. package/dist/index51.cjs +7 -0
  684. package/dist/index51.cjs.map +1 -0
  685. package/dist/index51.mjs +8 -0
  686. package/dist/index51.mjs.map +1 -0
  687. package/dist/index52.cjs +7 -0
  688. package/dist/index52.cjs.map +1 -0
  689. package/dist/index52.mjs +8 -0
  690. package/dist/index52.mjs.map +1 -0
  691. package/dist/index53.cjs +7 -0
  692. package/dist/index53.cjs.map +1 -0
  693. package/dist/index53.mjs +8 -0
  694. package/dist/index53.mjs.map +1 -0
  695. package/dist/index54.cjs +7 -0
  696. package/dist/index54.cjs.map +1 -0
  697. package/dist/index54.mjs +8 -0
  698. package/dist/index54.mjs.map +1 -0
  699. package/dist/index55.cjs +7 -0
  700. package/dist/index55.cjs.map +1 -0
  701. package/dist/index55.mjs +8 -0
  702. package/dist/index55.mjs.map +1 -0
  703. package/dist/index56.cjs +7 -0
  704. package/dist/index56.cjs.map +1 -0
  705. package/dist/index56.mjs +8 -0
  706. package/dist/index56.mjs.map +1 -0
  707. package/dist/index57.cjs +7 -0
  708. package/dist/index57.cjs.map +1 -0
  709. package/dist/index57.mjs +8 -0
  710. package/dist/index57.mjs.map +1 -0
  711. package/dist/index58.cjs +7 -0
  712. package/dist/index58.cjs.map +1 -0
  713. package/dist/index58.mjs +8 -0
  714. package/dist/index58.mjs.map +1 -0
  715. package/dist/index59.cjs +8 -0
  716. package/dist/index59.cjs.map +1 -0
  717. package/dist/index59.mjs +9 -0
  718. package/dist/index59.mjs.map +1 -0
  719. package/dist/index6.cjs +578 -0
  720. package/dist/index6.cjs.map +1 -0
  721. package/dist/index6.mjs +579 -0
  722. package/dist/index6.mjs.map +1 -0
  723. package/dist/index60.cjs +7 -0
  724. package/dist/index60.cjs.map +1 -0
  725. package/dist/index60.mjs +8 -0
  726. package/dist/index60.mjs.map +1 -0
  727. package/dist/index61.cjs +7 -0
  728. package/dist/index61.cjs.map +1 -0
  729. package/dist/index61.mjs +8 -0
  730. package/dist/index61.mjs.map +1 -0
  731. package/dist/index62.cjs +7 -0
  732. package/dist/index62.cjs.map +1 -0
  733. package/dist/index62.mjs +8 -0
  734. package/dist/index62.mjs.map +1 -0
  735. package/dist/index63.cjs +7 -0
  736. package/dist/index63.cjs.map +1 -0
  737. package/dist/index63.mjs +8 -0
  738. package/dist/index63.mjs.map +1 -0
  739. package/dist/index64.cjs +7 -0
  740. package/dist/index64.cjs.map +1 -0
  741. package/dist/index64.mjs +8 -0
  742. package/dist/index64.mjs.map +1 -0
  743. package/dist/index65.cjs +8 -0
  744. package/dist/index65.cjs.map +1 -0
  745. package/dist/index65.mjs +9 -0
  746. package/dist/index65.mjs.map +1 -0
  747. package/dist/index66.cjs +7 -0
  748. package/dist/index66.cjs.map +1 -0
  749. package/dist/index66.mjs +8 -0
  750. package/dist/index66.mjs.map +1 -0
  751. package/dist/index67.cjs +7 -0
  752. package/dist/index67.cjs.map +1 -0
  753. package/dist/index67.mjs +8 -0
  754. package/dist/index67.mjs.map +1 -0
  755. package/dist/index68.cjs +7 -0
  756. package/dist/index68.cjs.map +1 -0
  757. package/dist/index68.mjs +8 -0
  758. package/dist/index68.mjs.map +1 -0
  759. package/dist/index69.cjs +8 -0
  760. package/dist/index69.cjs.map +1 -0
  761. package/dist/index69.mjs +9 -0
  762. package/dist/index69.mjs.map +1 -0
  763. package/dist/index70.cjs +7 -0
  764. package/dist/index70.cjs.map +1 -0
  765. package/dist/index70.mjs +8 -0
  766. package/dist/index70.mjs.map +1 -0
  767. package/dist/index71.cjs +38 -0
  768. package/dist/index71.cjs.map +1 -0
  769. package/dist/index71.mjs +38 -0
  770. package/dist/index71.mjs.map +1 -0
  771. package/dist/index72.cjs +22 -0
  772. package/dist/index72.cjs.map +1 -0
  773. package/dist/index72.mjs +22 -0
  774. package/dist/index72.mjs.map +1 -0
  775. package/dist/index73.cjs +40 -0
  776. package/dist/index73.cjs.map +1 -0
  777. package/dist/index73.mjs +40 -0
  778. package/dist/index73.mjs.map +1 -0
  779. package/dist/index74.cjs +80 -0
  780. package/dist/index74.cjs.map +1 -0
  781. package/dist/index74.mjs +80 -0
  782. package/dist/index74.mjs.map +1 -0
  783. package/dist/index75.cjs +29 -0
  784. package/dist/index75.cjs.map +1 -0
  785. package/dist/index75.mjs +29 -0
  786. package/dist/index75.mjs.map +1 -0
  787. package/dist/index76.cjs +157 -0
  788. package/dist/index76.cjs.map +1 -0
  789. package/dist/index76.mjs +157 -0
  790. package/dist/index76.mjs.map +1 -0
  791. package/dist/index77.cjs +16 -0
  792. package/dist/index77.cjs.map +1 -0
  793. package/dist/index77.mjs +16 -0
  794. package/dist/index77.mjs.map +1 -0
  795. package/dist/index78.cjs +87 -0
  796. package/dist/index78.cjs.map +1 -0
  797. package/dist/index78.mjs +87 -0
  798. package/dist/index78.mjs.map +1 -0
  799. package/dist/index79.cjs +16 -0
  800. package/dist/index79.cjs.map +1 -0
  801. package/dist/index79.mjs +16 -0
  802. package/dist/index79.mjs.map +1 -0
  803. package/dist/index8.cjs +130 -0
  804. package/dist/index8.cjs.map +1 -0
  805. package/dist/index8.mjs +131 -0
  806. package/dist/index8.mjs.map +1 -0
  807. package/dist/index80.cjs +65 -0
  808. package/dist/index80.cjs.map +1 -0
  809. package/dist/index80.mjs +65 -0
  810. package/dist/index80.mjs.map +1 -0
  811. package/dist/index81.cjs +69 -0
  812. package/dist/index81.cjs.map +1 -0
  813. package/dist/index81.mjs +69 -0
  814. package/dist/index81.mjs.map +1 -0
  815. package/dist/index82.cjs +30 -0
  816. package/dist/index82.cjs.map +1 -0
  817. package/dist/index82.mjs +30 -0
  818. package/dist/index82.mjs.map +1 -0
  819. package/dist/index83.cjs +86 -0
  820. package/dist/index83.cjs.map +1 -0
  821. package/dist/index83.mjs +86 -0
  822. package/dist/index83.mjs.map +1 -0
  823. package/dist/index84.cjs +102 -0
  824. package/dist/index84.cjs.map +1 -0
  825. package/dist/index84.mjs +102 -0
  826. package/dist/index84.mjs.map +1 -0
  827. package/dist/index85.cjs +20 -0
  828. package/dist/index85.cjs.map +1 -0
  829. package/dist/index85.mjs +20 -0
  830. package/dist/index85.mjs.map +1 -0
  831. package/dist/index86.cjs +21 -0
  832. package/dist/index86.cjs.map +1 -0
  833. package/dist/index86.mjs +21 -0
  834. package/dist/index86.mjs.map +1 -0
  835. package/dist/index87.cjs +191 -0
  836. package/dist/index87.cjs.map +1 -0
  837. package/dist/index87.mjs +191 -0
  838. package/dist/index87.mjs.map +1 -0
  839. package/dist/index88.cjs +67 -0
  840. package/dist/index88.cjs.map +1 -0
  841. package/dist/index88.mjs +67 -0
  842. package/dist/index88.mjs.map +1 -0
  843. package/dist/index89.cjs +312 -0
  844. package/dist/index89.cjs.map +1 -0
  845. package/dist/index89.mjs +312 -0
  846. package/dist/index89.mjs.map +1 -0
  847. package/dist/index90.cjs +10 -0
  848. package/dist/index90.cjs.map +1 -0
  849. package/dist/index90.mjs +10 -0
  850. package/dist/index90.mjs.map +1 -0
  851. package/dist/index91.cjs +15 -0
  852. package/dist/index91.cjs.map +1 -0
  853. package/dist/index91.mjs +15 -0
  854. package/dist/index91.mjs.map +1 -0
  855. package/dist/index92.cjs +8 -0
  856. package/dist/index92.cjs.map +1 -0
  857. package/dist/index92.mjs +8 -0
  858. package/dist/index92.mjs.map +1 -0
  859. package/dist/index93.cjs +81 -0
  860. package/dist/index93.cjs.map +1 -0
  861. package/dist/index93.mjs +81 -0
  862. package/dist/index93.mjs.map +1 -0
  863. package/dist/index94.cjs +124 -0
  864. package/dist/index94.cjs.map +1 -0
  865. package/dist/index94.mjs +124 -0
  866. package/dist/index94.mjs.map +1 -0
  867. package/dist/index95.cjs +68 -0
  868. package/dist/index95.cjs.map +1 -0
  869. package/dist/index95.mjs +68 -0
  870. package/dist/index95.mjs.map +1 -0
  871. package/dist/index96.cjs +29 -0
  872. package/dist/index96.cjs.map +1 -0
  873. package/dist/index96.mjs +29 -0
  874. package/dist/index96.mjs.map +1 -0
  875. package/dist/index97.cjs +184 -0
  876. package/dist/index97.cjs.map +1 -0
  877. package/dist/index97.mjs +184 -0
  878. package/dist/index97.mjs.map +1 -0
  879. package/dist/index98.cjs +78 -0
  880. package/dist/index98.cjs.map +1 -0
  881. package/dist/index98.mjs +78 -0
  882. package/dist/index98.mjs.map +1 -0
  883. package/dist/index99.cjs +55 -0
  884. package/dist/index99.cjs.map +1 -0
  885. package/dist/index99.mjs +55 -0
  886. package/dist/index99.mjs.map +1 -0
  887. package/dist/plugin.d.ts +37 -0
  888. package/dist/plugin.d.ts.map +1 -0
  889. package/dist/scss/_badge.scss +12 -0
  890. package/dist/scss/_breakpoints.scss +102 -0
  891. package/dist/scss/_color-utilities.scss +105 -0
  892. package/dist/scss/_controls.scss +135 -0
  893. package/dist/scss/_ds-input-base.scss +302 -0
  894. package/dist/scss/_ds-picker-m3.scss +179 -0
  895. package/dist/scss/_effects.scss +42 -0
  896. package/dist/scss/_overlays.scss +13 -0
  897. package/dist/scss/_radius.scss +24 -0
  898. package/dist/scss/_reset.scss +60 -0
  899. package/dist/scss/_scrollbar.scss +78 -0
  900. package/dist/scss/_spacing.scss +15 -0
  901. package/dist/scss/_themes.scss +493 -0
  902. package/dist/scss/_typography.scss +50 -0
  903. package/dist/scss/_utilities.scss +75 -0
  904. package/dist/scss/_variables.scss +143 -0
  905. package/dist/scss/api.scss +77 -0
  906. package/dist/scss/tokens.scss +13 -0
  907. package/dist/utils/date-utils.d.ts +48 -0
  908. package/dist/utils/date-utils.d.ts.map +1 -0
  909. package/dist/utils/dialog-utils.d.ts +17 -0
  910. package/dist/utils/dialog-utils.d.ts.map +1 -0
  911. package/dist/utils/file-utils.d.ts +20 -0
  912. package/dist/utils/file-utils.d.ts.map +1 -0
  913. package/dist/utils/filtro-input.d.ts +19 -0
  914. package/dist/utils/filtro-input.d.ts.map +1 -0
  915. package/dist/utils/form-rules.d.ts +74 -0
  916. package/dist/utils/form-rules.d.ts.map +1 -0
  917. package/dist/utils/formatadores.d.ts +15 -0
  918. package/dist/utils/formatadores.d.ts.map +1 -0
  919. package/dist/utils/gerador-id.d.ts +3 -0
  920. package/dist/utils/gerador-id.d.ts.map +1 -0
  921. package/dist/utils/hint-mensagem.d.ts +11 -0
  922. package/dist/utils/hint-mensagem.d.ts.map +1 -0
  923. package/dist/utils/index.d.ts +15 -0
  924. package/dist/utils/index.d.ts.map +1 -0
  925. package/dist/utils/limpar-campos.d.ts +6 -0
  926. package/dist/utils/limpar-campos.d.ts.map +1 -0
  927. package/dist/utils/masks.d.ts +16 -0
  928. package/dist/utils/masks.d.ts.map +1 -0
  929. package/dist/utils/medidas-util.d.ts +3 -0
  930. package/dist/utils/medidas-util.d.ts.map +1 -0
  931. package/dist/utils/normalizar-label.d.ts +2 -0
  932. package/dist/utils/normalizar-label.d.ts.map +1 -0
  933. package/dist/utils/scroll-elemento.d.ts +16 -0
  934. package/dist/utils/scroll-elemento.d.ts.map +1 -0
  935. package/dist/utils/validar-campo.d.ts +7 -0
  936. package/dist/utils/validar-campo.d.ts.map +1 -0
  937. package/dist/utils/validar-documentos.d.ts +12 -0
  938. package/dist/utils/validar-documentos.d.ts.map +1 -0
  939. package/dist/utils/vnode-slot.d.ts +43 -0
  940. package/dist/utils/vnode-slot.d.ts.map +1 -0
  941. package/package.json +100 -0
  942. package/src/components/actions/acai-ui-actions.vue +225 -0
  943. package/src/components/async-select/acai-ui-async-select-interface.ts +49 -0
  944. package/src/components/async-select/acai-ui-async-select.vue +409 -0
  945. package/src/components/badge/acai-ui-badge-interface.ts +19 -0
  946. package/src/components/badge/acai-ui-badge.vue +40 -0
  947. package/src/components/banner/acai-ui-banner-interface.ts +17 -0
  948. package/src/components/banner/acai-ui-banner-styles.scss +47 -0
  949. package/src/components/banner/acai-ui-banner.vue +85 -0
  950. package/src/components/button/acai-ui-button-interface.ts +21 -0
  951. package/src/components/button/acai-ui-button.vue +378 -0
  952. package/src/components/card/acai-ui-card-interface.ts +14 -0
  953. package/src/components/card/acai-ui-card-styles.scss +94 -0
  954. package/src/components/card/acai-ui-card.vue +148 -0
  955. package/src/components/chart/acai-ui-chart-interface.ts +226 -0
  956. package/src/components/chart/acai-ui-chart-styles.scss +141 -0
  957. package/src/components/chart/acai-ui-chart.vue +679 -0
  958. package/src/components/chart/chart-a11y.ts +184 -0
  959. package/src/components/chart/chart-caminhos.ts +466 -0
  960. package/src/components/chart/chart-cartesiano.vue +247 -0
  961. package/src/components/chart/chart-dados.ts +381 -0
  962. package/src/components/chart/chart-escalas.ts +141 -0
  963. package/src/components/chart/chart-formatar.ts +98 -0
  964. package/src/components/chart/chart-gauge.vue +152 -0
  965. package/src/components/chart/chart-headless.ts +130 -0
  966. package/src/components/chart/chart-imagem.ts +247 -0
  967. package/src/components/chart/chart-layout.ts +184 -0
  968. package/src/components/chart/chart-legenda.vue +103 -0
  969. package/src/components/chart/chart-pizza.vue +134 -0
  970. package/src/components/chart/chart-plano.ts +818 -0
  971. package/src/components/chart/chart-rotulos.ts +75 -0
  972. package/src/components/chart/chart-tabela.vue +116 -0
  973. package/src/components/chart/chart-ticks.ts +116 -0
  974. package/src/components/checkbox/acai-ui-checkbox-interface.ts +17 -0
  975. package/src/components/checkbox/acai-ui-checkbox.vue +114 -0
  976. package/src/components/chip/acai-ui-chip-interface.ts +19 -0
  977. package/src/components/chip/acai-ui-chip.vue +61 -0
  978. package/src/components/code/acai-ui-code-interface.ts +43 -0
  979. package/src/components/code/acai-ui-code-styles.scss +407 -0
  980. package/src/components/code/acai-ui-code.vue +595 -0
  981. package/src/components/code/dobras-json.ts +52 -0
  982. package/src/components/confirm/acai-ui-confirm.vue +230 -0
  983. package/src/components/container/acai-ui-container-interface.ts +34 -0
  984. package/src/components/container/acai-ui-container-styles.scss +122 -0
  985. package/src/components/container/acai-ui-container.vue +140 -0
  986. package/src/components/date/acai-ui-date-interface.ts +18 -0
  987. package/src/components/date/acai-ui-date.vue +191 -0
  988. package/src/components/date-range/acai-ui-date-range-interface.ts +27 -0
  989. package/src/components/date-range/acai-ui-date-range.vue +300 -0
  990. package/src/components/datetime/acai-ui-datetime-interface.ts +10 -0
  991. package/src/components/datetime/acai-ui-datetime.vue +203 -0
  992. package/src/components/datetime/data-hora-styles.scss +18 -0
  993. package/src/components/dialog/acai-ui-dialog-interface.ts +18 -0
  994. package/src/components/dialog/acai-ui-dialog.vue +168 -0
  995. package/src/components/divider/acai-ui-divider-interface.ts +4 -0
  996. package/src/components/divider/acai-ui-divider-styles.scss +42 -0
  997. package/src/components/divider/acai-ui-divider.vue +20 -0
  998. package/src/components/drawer/acai-ui-drawer-interface.ts +99 -0
  999. package/src/components/drawer/acai-ui-drawer-styles.scss +586 -0
  1000. package/src/components/drawer/acai-ui-drawer.vue +802 -0
  1001. package/src/components/drawer/drawer-sidebar-helper.ts +117 -0
  1002. package/src/components/dropdown/acai-ui-dropdown-interface.ts +41 -0
  1003. package/src/components/dropdown/acai-ui-dropdown-item.vue +36 -0
  1004. package/src/components/dropdown/acai-ui-dropdown-styles.scss +90 -0
  1005. package/src/components/dropdown/acai-ui-dropdown.vue +77 -0
  1006. package/src/components/error-log/acai-ui-error-log-interface.ts +59 -0
  1007. package/src/components/error-log/acai-ui-error-log-json-tree.vue +426 -0
  1008. package/src/components/error-log/acai-ui-error-log-redigir.ts +74 -0
  1009. package/src/components/error-log/acai-ui-error-log-styles.scss +137 -0
  1010. package/src/components/error-log/acai-ui-error-log.vue +318 -0
  1011. package/src/components/file/acai-ui-file-interface.ts +28 -0
  1012. package/src/components/file/acai-ui-file.vue +85 -0
  1013. package/src/components/file/arquivo-styles.scss +109 -0
  1014. package/src/components/form/acai-ui-form-grid.scss +145 -0
  1015. package/src/components/form/acai-ui-form-interface.ts +37 -0
  1016. package/src/components/form/acai-ui-form-styles.scss +159 -0
  1017. package/src/components/form/acai-ui-form-validation-modal.vue +216 -0
  1018. package/src/components/form/acai-ui-form.vue +410 -0
  1019. package/src/components/help/acai-ui-help-interface.ts +200 -0
  1020. package/src/components/help/acai-ui-help-styles.scss +209 -0
  1021. package/src/components/help/acai-ui-help.vue +259 -0
  1022. package/src/components/help/acai-ui-tour-styles.scss +292 -0
  1023. package/src/components/help/acai-ui-tour.vue +766 -0
  1024. package/src/components/help/tour-escolha.ts +139 -0
  1025. package/src/components/help/tour-posicionar.ts +148 -0
  1026. package/src/components/help/tour-registry.ts +177 -0
  1027. package/src/components/help/use-tour-visto.ts +81 -0
  1028. package/src/components/icon/acai-ui-icon-interface.ts +12 -0
  1029. package/src/components/icon/acai-ui-icon.vue +33 -0
  1030. package/src/components/index.ts +149 -0
  1031. package/src/components/input/acai-ui-input-interface.ts +20 -0
  1032. package/src/components/input/acai-ui-input.vue +146 -0
  1033. package/src/components/modal/acai-ui-modal-interface.ts +19 -0
  1034. package/src/components/modal/acai-ui-modal-styles.scss +131 -0
  1035. package/src/components/modal/acai-ui-modal.vue +83 -0
  1036. package/src/components/pagination/acai-ui-pagination-interface.ts +8 -0
  1037. package/src/components/pagination/acai-ui-pagination.vue +36 -0
  1038. package/src/components/preferences/acai-ui-preferences-interface.ts +4 -0
  1039. package/src/components/preferences/acai-ui-preferences-styles.scss +387 -0
  1040. package/src/components/preferences/acai-ui-preferences.vue +349 -0
  1041. package/src/components/progress/acai-ui-progress-interface.ts +20 -0
  1042. package/src/components/progress/acai-ui-progress.vue +124 -0
  1043. package/src/components/radio/acai-ui-radio-interface.ts +14 -0
  1044. package/src/components/radio/acai-ui-radio.vue +78 -0
  1045. package/src/components/section/acai-ui-section-styles.scss +93 -0
  1046. package/src/components/section/acai-ui-section.vue +134 -0
  1047. package/src/components/select/acai-ui-select-interface.ts +18 -0
  1048. package/src/components/select/acai-ui-select.vue +322 -0
  1049. package/src/components/session-clock/acai-ui-session-clock.vue +111 -0
  1050. package/src/components/stepper/acai-ui-step-interface.ts +18 -0
  1051. package/src/components/stepper/acai-ui-step.vue +37 -0
  1052. package/src/components/stepper/acai-ui-stepper-interface.ts +56 -0
  1053. package/src/components/stepper/acai-ui-stepper-styles.scss +222 -0
  1054. package/src/components/stepper/acai-ui-stepper.vue +231 -0
  1055. package/src/components/swagger/acai-ui-swagger-interface.ts +54 -0
  1056. package/src/components/swagger/acai-ui-swagger-operacao.vue +372 -0
  1057. package/src/components/swagger/acai-ui-swagger-requisicao.ts +272 -0
  1058. package/src/components/swagger/acai-ui-swagger-schema.vue +36 -0
  1059. package/src/components/swagger/acai-ui-swagger-styles.scss +883 -0
  1060. package/src/components/swagger/acai-ui-swagger.vue +349 -0
  1061. package/src/components/swagger/openapi-normalizar.ts +514 -0
  1062. package/src/components/swagger/openapi-tipos.ts +198 -0
  1063. package/src/components/table/acai-ui-table-interface.ts +60 -0
  1064. package/src/components/table/acai-ui-table-justificativa.vue +135 -0
  1065. package/src/components/table/acai-ui-table-styles.scss +293 -0
  1066. package/src/components/table/acai-ui-table.vue +340 -0
  1067. package/src/components/tabs/acai-ui-tab.vue +10 -0
  1068. package/src/components/tabs/acai-ui-tabs-interface.ts +48 -0
  1069. package/src/components/tabs/acai-ui-tabs-styles.scss +78 -0
  1070. package/src/components/tabs/acai-ui-tabs.vue +137 -0
  1071. package/src/components/time/acai-ui-time-interface.ts +14 -0
  1072. package/src/components/time/acai-ui-time.vue +86 -0
  1073. package/src/components/toggle/acai-ui-toggle-interface.ts +13 -0
  1074. package/src/components/toggle/acai-ui-toggle.vue +162 -0
  1075. package/src/components/tooltip/acai-ui-tooltip-interface.ts +11 -0
  1076. package/src/components/tooltip/acai-ui-tooltip-styles.scss +104 -0
  1077. package/src/components/tooltip/acai-ui-tooltip.vue +90 -0
  1078. package/src/components/user-menu/acai-ui-user-menu-interface.ts +13 -0
  1079. package/src/components/user-menu/acai-ui-user-menu-styles.scss +125 -0
  1080. package/src/components/user-menu/acai-ui-user-menu.vue +139 -0
  1081. package/src/components/validation/acai-ui-validation.vue +236 -0
  1082. package/src/constants/chart-paleta.ts +162 -0
  1083. package/src/constants/efeitos.ts +24 -0
  1084. package/src/constants/index.ts +24 -0
  1085. package/src/constants/lista-icons.ts +156 -0
  1086. package/src/constants/medidas-espacos.ts +15 -0
  1087. package/src/constants/radius.ts +15 -0
  1088. package/src/constants/status-badge.ts +44 -0
  1089. package/src/env.d.ts +7 -0
  1090. package/src/hooks/filtros-url-internos.ts +497 -0
  1091. package/src/hooks/index.ts +22 -0
  1092. package/src/hooks/notify.ts +18 -0
  1093. package/src/hooks/use-contador-sessao.ts +95 -0
  1094. package/src/hooks/use-filtros-na-url.ts +174 -0
  1095. package/src/hooks/use-leitura-voz.ts +346 -0
  1096. package/src/hooks/use-listagem-na-url.ts +614 -0
  1097. package/src/hooks/use-preferencias.ts +152 -0
  1098. package/src/hooks/use-repasse-quasar.ts +63 -0
  1099. package/src/hooks/use-tamanho-elemento.ts +107 -0
  1100. package/src/hooks/use-tela.ts +114 -0
  1101. package/src/hooks/use-validacao-visual.ts +189 -0
  1102. package/src/index.ts +30 -0
  1103. package/src/plugin.ts +134 -0
  1104. package/src/scss/_badge.scss +12 -0
  1105. package/src/scss/_breakpoints.scss +102 -0
  1106. package/src/scss/_color-utilities.scss +105 -0
  1107. package/src/scss/_controls.scss +135 -0
  1108. package/src/scss/_ds-input-base.scss +302 -0
  1109. package/src/scss/_ds-picker-m3.scss +179 -0
  1110. package/src/scss/_effects.scss +42 -0
  1111. package/src/scss/_overlays.scss +13 -0
  1112. package/src/scss/_radius.scss +24 -0
  1113. package/src/scss/_reset.scss +60 -0
  1114. package/src/scss/_scrollbar.scss +78 -0
  1115. package/src/scss/_spacing.scss +15 -0
  1116. package/src/scss/_themes.scss +493 -0
  1117. package/src/scss/_typography.scss +50 -0
  1118. package/src/scss/_utilities.scss +75 -0
  1119. package/src/scss/_variables.scss +143 -0
  1120. package/src/scss/api.scss +77 -0
  1121. package/src/scss/tokens.scss +13 -0
  1122. package/src/styles-global.scss +30 -0
  1123. package/src/utils/date-utils.ts +128 -0
  1124. package/src/utils/dialog-utils.ts +59 -0
  1125. package/src/utils/file-utils.ts +85 -0
  1126. package/src/utils/filtro-input.ts +41 -0
  1127. package/src/utils/form-rules.ts +202 -0
  1128. package/src/utils/formatadores.ts +97 -0
  1129. package/src/utils/gerador-id.ts +29 -0
  1130. package/src/utils/hint-mensagem.ts +25 -0
  1131. package/src/utils/index.ts +32 -0
  1132. package/src/utils/limpar-campos.ts +94 -0
  1133. package/src/utils/masks.ts +19 -0
  1134. package/src/utils/medidas-util.ts +5 -0
  1135. package/src/utils/normalizar-label.ts +9 -0
  1136. package/src/utils/scroll-elemento.ts +34 -0
  1137. package/src/utils/validar-campo.ts +27 -0
  1138. package/src/utils/validar-documentos.ts +86 -0
  1139. package/src/utils/vnode-slot.ts +74 -0
@@ -0,0 +1,75 @@
1
+ // Açaí UI — Utilitárias dark-aware para CONSUMIDORES (templates)
2
+ //
3
+ // Classes prontas que usam os tokens `--acai-*` → retingem sozinhas no escuro /
4
+ // daltônico / alto contraste. Emitidas UMA vez no bundle (via `styles-global.scss`
5
+ // → `dist/acai-ui.css`), então chegam pra qualquer consumidor de `.../styles`.
6
+ //
7
+ // <div class="bg-acai border-acai">
8
+ // <h3 class="text-acai-heading">Título</h3>
9
+ // <p class="text-acai-muted">Descrição</p>
10
+ // </div>
11
+ //
12
+ // `!important` como as utilitárias do Quasar (`.text-*`/`.bg-*`), pra vencer o
13
+ // default do componente de forma previsível. Namespace `acai` não colide com o
14
+ // Quasar (que usa nomes de cor).
15
+
16
+ // — Texto —
17
+ .text-acai {
18
+ color: var(--acai-text) !important;
19
+ }
20
+ .text-acai-muted {
21
+ color: var(--acai-text-muted) !important;
22
+ }
23
+ .text-acai-heading {
24
+ color: var(--acai-heading) !important;
25
+ }
26
+ .text-acai-primary {
27
+ color: var(--acai-primary) !important;
28
+ }
29
+ .text-acai-on {
30
+ color: var(--acai-control-on) !important;
31
+ }
32
+
33
+ // — Status como tinta (dark-aware). Para FUNDO sólido use `bg-negative` etc. —
34
+ .text-acai-negative {
35
+ color: var(--acai-negative) !important;
36
+ }
37
+ .text-acai-positive {
38
+ color: var(--acai-positive) !important;
39
+ }
40
+ .text-acai-info {
41
+ color: var(--acai-info) !important;
42
+ }
43
+ .text-acai-warning {
44
+ color: var(--acai-warning) !important;
45
+ }
46
+
47
+ // — Fundo —
48
+ .bg-acai {
49
+ background-color: var(--acai-surface) !important;
50
+ }
51
+ .bg-acai-2 {
52
+ background-color: var(--acai-surface-2) !important;
53
+ }
54
+ .bg-acai-page {
55
+ background-color: var(--acai-page-bg) !important;
56
+ }
57
+ .bg-acai-elevated {
58
+ background-color: var(--acai-elevated) !important;
59
+ }
60
+ .bg-acai-hover {
61
+ background-color: var(--acai-surface-hover) !important;
62
+ }
63
+
64
+ // — Borda —
65
+ .border-acai {
66
+ border: 1px solid var(--acai-border) !important;
67
+ }
68
+ .border-acai-subtle {
69
+ border: 1px solid var(--acai-border-subtle) !important;
70
+ }
71
+
72
+ // — Elevação (sombra por tema) —
73
+ .shadow-acai {
74
+ box-shadow: var(--acai-elevation) !important;
75
+ }
@@ -0,0 +1,143 @@
1
+ // Açaí UI — Color Tokens
2
+
3
+ $primary: #0e2a50;
4
+
5
+ // — Açaí (superfície do menu) —
6
+ //
7
+ // 🔴 NÃO SÃO DEFAULT DA LIB. São a identidade da DOCUMENTAÇÃO, e ficam aqui só
8
+ // como registro do tom canônico.
9
+ //
10
+ // Chegaram a ser promovidos a default de `--acai-drawer-bg` (1.59.0), com a
11
+ // intenção de acabar com o desencontro de o fundo do menu sair do navy
12
+ // (`$primary`) enquanto texto e hover saem da rampa `$color-primary-*`, que é
13
+ // roxa. Só que o default da lib chega em TODO app consumidor, e o menu desses
14
+ // apps é navy — eles ganharam um menu roxo sem pedir. Revertido: na lib o
15
+ // drawer é `$primary`, e a documentação veste o roxo no próprio `app.scss`
16
+ // (`packages/docs/src/css/app.scss`), que é pra isso que a var existe.
17
+ //
18
+ // Se um dia o desencontro navy×rampa-roxa for reatacado, a saída é a RAMPA
19
+ // virar navy — não o menu virar roxo.
20
+ //
21
+ // ⚠️ NÃO trocar por um tom mais claro sem refazer a conta: o texto do menu é
22
+ // `$color-primary-50` (#f5f4ff) e o eMAG 4.1 pede 4.5:1. Aqui sobra folga —
23
+ // 16.22:1 no claro e 17.23:1 no escuro.
24
+ $acai-menu: #2d033b;
25
+ $acai-menu-dark: #1b0a26;
26
+ // Cabeçalho do grupo que contém o item ativo — um degrau acima do fundo.
27
+ // `//` e não `/** */`: em SCSS o bloco `/* */` é PRESERVADO e vaza pro CSS
28
+ // final (este comentário estava saindo no meio do dist/acai-ui.css).
29
+ $acai-menu-grupo-ativo: #3d0a50;
30
+ $secondary: #26a69a;
31
+ $accent: #9c27b0;
32
+ $shadow-primary: #0000004a;
33
+ $dark: #1d1d1d;
34
+ $dark-page: #121212;
35
+
36
+ // Fundo da área de conteúdo (atrás dos cards) — cinza frio com viés navy.
37
+ $bg-conteudo: #eef1f7;
38
+
39
+ // Cores alinhadas com a paleta DETRAN (gestao-pessoas-web) — decisão consciente
40
+ // do user em 2026-05-28, priorizando consistência visual entre sistemas.
41
+ // Trade-off: $positive (3.99:1) e $warning (2.33:1) NÃO atingem contraste WCAG AA
42
+ // mínimo (4.5:1) com texto branco. Botões/badges dessas cores não atendem eMAG 4.1.
43
+ // Ver AUDIT_EMAG.md item #9.
44
+ // $info NÃO está mais nessa lista (medido em 2026-07-17): o 1.91:1 anotado aqui era do
45
+ // ciano antigo (#31ccec); com o #0a76a0 escuro dá 5.11:1 e PASSA AA com texto branco.
46
+ $positive: #38904c;
47
+ $negative: #941c2a;
48
+ $info: #0a76a0; // mantido escuro (user só pediu positive/warning/negative) — 5.11:1 c/ branco
49
+
50
+ $warning: #e19c2d; // âmbar DETRAN (alinhado ao gestao-pessoas-web por pref. do user 2026-07-10)
51
+
52
+ // variacoes primary
53
+ $color-primary-900: #1e385a;
54
+ $color-primary-800: #2a3f6e;
55
+ $color-primary-700: #4944b3;
56
+ $color-primary-600: #5a55c4;
57
+ $color-primary-500: #6b66d5;
58
+ $color-primary-400: #7a76de;
59
+ $color-primary-300: #9f9ce8;
60
+ $color-primary-200: #c4c2f1;
61
+ $color-primary-100: #e1deff;
62
+ $color-primary-50: #f5f4ff;
63
+ $color-primary-25: #fdfdff;
64
+
65
+ // variacoes gray
66
+ $color-gray-900: #131313;
67
+ $color-gray-800: #1f1f1f;
68
+ $color-gray-700: #3d3d3d;
69
+ $color-gray-600: #707070;
70
+ $color-gray-500: #eeeeee;
71
+ $color-gray-400: #f9f9f9;
72
+ $color-gray-300: #e0e0e0;
73
+ $color-gray-200: #c7c7c7;
74
+ $color-gray-disabled-700: #d9d9d9;
75
+ $color-gray-100: #f3f3f3;
76
+ $color-gray-50: #f2f2f2;
77
+ $color-gray-10: #fafafa;
78
+ $color-gray-5: #fcfcfc;
79
+ $color-white-100: #ffffff;
80
+
81
+ // variacoes red
82
+ $color-red-900: #5c0f1a;
83
+ $color-red-800: #731320;
84
+ $color-red-700: #8a1725;
85
+ $color-red-600: #941c2a;
86
+ $color-red-500: #b52232;
87
+ $color-red-400: #d4394a;
88
+ $color-red-300: #e06070;
89
+ $color-red-200: #ec9da6;
90
+ $color-red-100: #f5c8cd;
91
+ $color-red-50: #fdeaec;
92
+
93
+ // variacoes yellow
94
+ $color-yellow-900: #7a5200;
95
+ $color-yellow-800: #946300;
96
+ $color-yellow-700: #b37800;
97
+ $color-yellow-600: #cc8a00;
98
+ $color-yellow-500: #e19c2d;
99
+ $color-yellow-400: #f0b840;
100
+ $color-yellow-300: #f5cb66;
101
+ $color-yellow-200: #f9dd99;
102
+ $color-yellow-100: #fceecc;
103
+ $color-yellow-50: #fef8e8;
104
+
105
+ // variacoes green
106
+ $color-green-900: #1b4726;
107
+ $color-green-800: #225a30;
108
+ $color-green-700: #2b6e3b;
109
+ $color-green-600: #38904c;
110
+ $color-green-500: #43a858;
111
+ $color-green-400: #5cbb6f;
112
+ $color-green-300: #7fcd8e;
113
+ $color-green-200: #a8deb3;
114
+ $color-green-100: #d0eed6;
115
+ $color-green-50: #edf8ef;
116
+
117
+ // hover/active (pré-calculados para evitar @use sass:color)
118
+ $primary-hover: #0b2242;
119
+ $primary-active: #081a33;
120
+ $negative-hover: #7d1723;
121
+ $negative-active: #5f111a;
122
+ // Hover/active de positive proporcionais ao $positive #38904c (paleta DETRAN).
123
+ $positive-hover: #2f7a40;
124
+ $positive-active: #256434;
125
+ $accent-hover: #8420a0;
126
+ $accent-active: #6c1a83;
127
+ // Hover/active de info — mantidos derivados do $info escuro (não foi pedido reverter).
128
+ $info-hover: #08607f;
129
+ $info-active: #054b62;
130
+ // Warning sem hover/active próprios — Quasar usa default (paleta original DETRAN
131
+ // também não tinha — gestao-pessoas-web define só $warning base).
132
+
133
+ // variacoes blue
134
+ $color-blue-900: #0a1e3d;
135
+ $color-blue-800: #0e2a50;
136
+ $color-blue-700: #143a6e;
137
+ $color-blue-600: #1a4a8c;
138
+ $color-blue-500: #2060b0;
139
+ $color-blue-400: #3a80d0;
140
+ $color-blue-300: #6aa0e0;
141
+ $color-blue-200: #9cc0ee;
142
+ $color-blue-100: #c8dff5;
143
+ $color-blue-50: #e8f0fb;
@@ -0,0 +1,77 @@
1
+ // Açaí UI — API de tokens semânticos para CONSUMIDORES (SCSS)
2
+ //
3
+ // Use estes `$acai-*` no SEU SCSS em vez do primitivo `var(--acai-*)`. Cada um é um
4
+ // alias para `var(--acai-*)`, então o valor RETINGE sozinho no escuro / daltônico /
5
+ // alto contraste — você escreve uma vez e os 3 eixos das Preferências funcionam.
6
+ //
7
+ // @import '@para-springboot/acai-ui/scss/api';
8
+ //
9
+ // .meu-card {
10
+ // background: $acai-surface;
11
+ // color: $acai-text;
12
+ // border: 1px solid $acai-border;
13
+ // box-shadow: $acai-elevation;
14
+ // }
15
+ //
16
+ // (Sem esta camada, o dev usaria `var(--acai-surface)` cru e teria que lembrar os
17
+ // nomes; ou pior, hardcodaria um hex e quebraria o dark.)
18
+
19
+ // — Texto —
20
+ $acai-text: var(--acai-text);
21
+ $acai-text-muted: var(--acai-text-muted);
22
+ $acai-heading: var(--acai-heading);
23
+
24
+ // — Superfícies —
25
+ $acai-page-bg: var(--acai-page-bg);
26
+ $acai-surface: var(--acai-surface);
27
+ $acai-surface-2: var(--acai-surface-2);
28
+ $acai-surface-hover: var(--acai-surface-hover);
29
+ $acai-elevated: var(--acai-elevated);
30
+
31
+ // — Bordas —
32
+ $acai-border: var(--acai-border);
33
+ $acai-border-subtle: var(--acai-border-subtle);
34
+
35
+ // — Marca / interativo —
36
+ // `$acai-primary` = navy da marca (só interativo recolore no daltônico).
37
+ // `$acai-control-on` = cor de destaque interativa (navy no claro, azul no escuro,
38
+ // cor CVD no daltônico) — use em foco, switch ligado, item ativo.
39
+ $acai-primary: var(--acai-primary);
40
+ $acai-control-on: var(--acai-control-on);
41
+
42
+ // — Status como TINTA (texto, ícone, borda, mensagem) —
43
+ // Clareiam sozinhos no escuro e recolorem no daltônico. Use em vez de
44
+ // `$negative`/`$positive`/`$info`/`$warning`, que são hex fixo e ficam
45
+ // ilegíveis sobre a superfície escura.
46
+ // Para FUNDO sólido continue usando `bg-negative` / `color="negative"` etc.: o
47
+ // par fundo-sólido + texto branco já é legível, e clarear o fundo obrigaria a
48
+ // inverter o texto para escuro.
49
+ $acai-negative: var(--acai-negative);
50
+ $acai-positive: var(--acai-positive);
51
+ $acai-info: var(--acai-info);
52
+ $acai-warning: var(--acai-warning);
53
+
54
+ // — Elevação (sombra pronta, por tema) —
55
+ $acai-elevation: var(--acai-elevation);
56
+
57
+ // — Gráfico: séries categóricas —
58
+ // Use na ORDEM (1 → 5): pares adjacentes são os que mais se distinguem. Da 6ª
59
+ // categoria em diante use `$acai-chart-other` — a lib agrupa nele de propósito
60
+ // (5 séries é o teto do que se lê num gráfico).
61
+ // Cada um retinge sozinho no escuro e nos 4 modos de daltonismo.
62
+ $acai-chart-1: var(--acai-chart-1);
63
+ $acai-chart-2: var(--acai-chart-2);
64
+ $acai-chart-3: var(--acai-chart-3);
65
+ $acai-chart-4: var(--acai-chart-4);
66
+ $acai-chart-5: var(--acai-chart-5);
67
+ $acai-chart-other: var(--acai-chart-other);
68
+
69
+ // — Gráfico: chrome —
70
+ // São alias de `$acai-border-subtle` / `$acai-border` / `$acai-text*` /
71
+ // `$acai-surface*`, então já vêm reforçados no alto contraste.
72
+ $acai-chart-surface: var(--acai-chart-surface);
73
+ $acai-chart-grid: var(--acai-chart-grid);
74
+ $acai-chart-axis: var(--acai-chart-axis);
75
+ $acai-chart-ink: var(--acai-chart-ink);
76
+ $acai-chart-ink-muted: var(--acai-chart-ink-muted);
77
+ $acai-chart-track: var(--acai-chart-track);
@@ -0,0 +1,13 @@
1
+ // Açaí UI — All Tokens (barrel import)
2
+ @import './variables';
3
+ @import './spacing';
4
+ @import './breakpoints';
5
+ @import './typography';
6
+ @import './radius';
7
+ @import './effects';
8
+ @import './controls';
9
+ @import './badge';
10
+ @import './color-utilities';
11
+ @import './reset';
12
+ @import './overlays';
13
+ @import './themes';
@@ -0,0 +1,30 @@
1
+ // Açaí UI — Camada de tema GLOBAL do bundle.
2
+ //
3
+ // Importada pelo entry (`src/index.ts`) pra que o `dist/acai-ui.css` (o export
4
+ // `@para-springboot/acai-ui/styles`) seja SELF-CONTAINED: passe a conter as
5
+ // definições globais `:root { --acai-* }` / `.body--dark { --acai-* }` /
6
+ // `html[data-acai-daltonismo]` / `html[data-acai-contraste]` que vivem em
7
+ // `_themes.scss`.
8
+ //
9
+ // Sem isto, quem importa só `.../styles` recebe os componentes usando
10
+ // `var(--acai-*)` SEM as custom properties definidas em lugar nenhum → dark,
11
+ // daltônico e alto contraste caem no fallback claro silenciosamente (footgun).
12
+ //
13
+ // `@import` explícito de `variables` porque `_themes.scss` consome `$primary`,
14
+ // `$warning`, `$bg-conteudo`, `$color-*` etc. — e consumidores via condition
15
+ // `vue` (source: docs/sandboxes) compilam este arquivo pelo próprio Vite, SEM o
16
+ // `additionalData` da lib. NÃO importar o `tokens.scss` inteiro aqui: arrastaria
17
+ // reset/controls/badge/overlays pro bundle (só queremos a camada de tema).
18
+ @import './scss/variables';
19
+ @import './scss/themes';
20
+
21
+ // Utilitárias dark-aware dev-facing (`.text-acai-*`/`.bg-acai-*`/`.border-acai`).
22
+ // Só usa `var(--acai-*)`, então é emitida uma vez aqui e chega no dist pra qualquer
23
+ // consumidor de `.../styles`.
24
+ @import './scss/utilities';
25
+
26
+ // Barra de rolagem no desenho do drawer, valendo pra aplicação inteira. Entra
27
+ // aqui (e não no `tokens.scss`) porque é regra GLOBAL sem seletor de
28
+ // componente: precisa ser emitida uma vez só, no bundle que todo consumidor
29
+ // importa. Só usa `var(--acai-scroll-*)`, definidos logo acima em `_themes`.
30
+ @import './scss/scrollbar';
@@ -0,0 +1,128 @@
1
+ /** Faixa aceita pelos parsers/validadores de data da lib. */
2
+ export const ANO_MIN = 1900
3
+ export const ANO_MAX = 2100
4
+
5
+ /**
6
+ * Parse ESTRITO de DD/MM/YYYY — retorna `null` se a data não existir no calendário.
7
+ *
8
+ * `new Date(2026, 1, 31)` não falha: o JS "rola" para 03/03. Por isso o round-trip
9
+ * abaixo é obrigatório — sem ele, 31/02/2026 passa como válida e ainda faz as
10
+ * comparações de minDate/maxDate rodarem contra o dia errado.
11
+ *
12
+ * Hora zerada, para comparação segura com outras datas normalizadas.
13
+ * @example
14
+ * parseDataIndian('28/02/2026') // Date
15
+ * parseDataIndian('31/02/2026') // null (fevereiro não tem 31)
16
+ * parseDataIndian('21/32/3213') // null (mês 32, ano fora da faixa)
17
+ */
18
+ export function parseDataIndian(date: unknown): Date | null {
19
+ if (typeof date !== 'string') return null
20
+ const m = /^(\d{2})\/(\d{2})\/(\d{4})$/.exec(date.trim())
21
+ if (!m) return null
22
+ const dia = Number(m[1])
23
+ const mes = Number(m[2])
24
+ const ano = Number(m[3])
25
+ if (ano < ANO_MIN || ano > ANO_MAX) return null
26
+ const data = new Date(ano, mes - 1, dia)
27
+ if (data.getFullYear() !== ano || data.getMonth() !== mes - 1 || data.getDate() !== dia) {
28
+ return null
29
+ }
30
+ data.setHours(0, 0, 0, 0)
31
+ return data
32
+ }
33
+
34
+ /**
35
+ * `true` se for HH:mm válida em 24h (00–23 : 00–59).
36
+ * @example
37
+ * horaValida('23:59') // true
38
+ * horaValida('88:77') // false
39
+ */
40
+ export function horaValida(hora: unknown): boolean {
41
+ if (typeof hora !== 'string') return false
42
+ const m = /^(\d{2}):(\d{2})$/.exec(hora.trim())
43
+ if (!m) return false
44
+ return Number(m[1]) <= 23 && Number(m[2]) <= 59
45
+ }
46
+
47
+ /** DD/MM/YYYY → YYYY-MM-DD */
48
+ export function dateIndianToISO(date: string): string {
49
+ const m = /^(\d{2})\/(\d{2})\/(\d{4})$/.exec(date)
50
+ if (!m) return date
51
+ return `${m[3]}-${m[2]}-${m[1]}`
52
+ }
53
+
54
+ /** YYYY-MM-DD → DD/MM/YYYY */
55
+ export function dateISOToIndian(date: string): string {
56
+ const m = /^(\d{4})-(\d{2})-(\d{2})/.exec(date)
57
+ if (!m) return date
58
+ return `${m[3]}/${m[2]}/${m[1]}`
59
+ }
60
+
61
+ const LOCALE_BR = 'pt-BR'
62
+
63
+ /** Data por extenso: "segunda-feira, 5 de junho de 2026". Default = hoje. */
64
+ export function formatarDataPorExtenso(date: Date = new Date()): string {
65
+ return new Intl.DateTimeFormat(LOCALE_BR, {
66
+ weekday: 'long',
67
+ day: 'numeric',
68
+ month: 'long',
69
+ year: 'numeric',
70
+ }).format(date)
71
+ }
72
+
73
+ /** ISO/Date string → "dd/mm/yyyy HH:mm" (timezone America/Sao_Paulo por padrão). */
74
+ export function formatarDataHora(dataISO: string, timeZone = 'America/Sao_Paulo'): string {
75
+ const data = new Date(dataISO)
76
+ if (Number.isNaN(data.getTime())) return ''
77
+ const partes = new Intl.DateTimeFormat(LOCALE_BR, {
78
+ timeZone,
79
+ day: '2-digit',
80
+ month: '2-digit',
81
+ year: 'numeric',
82
+ hour: '2-digit',
83
+ minute: '2-digit',
84
+ hour12: false,
85
+ }).formatToParts(data)
86
+ const pegar = (tipo: Intl.DateTimeFormatPartTypes): string =>
87
+ partes.find((p) => p.type === tipo)?.value ?? ''
88
+ return `${pegar('day')}/${pegar('month')}/${pegar('year')} ${pegar('hour')}:${pegar('minute')}`
89
+ }
90
+
91
+ /** Data de hoje em dd/mm/yyyy (pt-BR). */
92
+ export function obterDataAtual(): string {
93
+ return new Date().toLocaleDateString(LOCALE_BR)
94
+ }
95
+
96
+ /** "ontem - hoje" em dd/mm/yyyy — útil como range default de filtro. */
97
+ export function obterDataAtualEAnterior(): string {
98
+ const hoje = new Date()
99
+ const ontem = new Date()
100
+ ontem.setDate(hoje.getDate() - 1)
101
+ return `${ontem.toLocaleDateString(LOCALE_BR)} - ${hoje.toLocaleDateString(LOCALE_BR)}`
102
+ }
103
+
104
+ /** Ano (4 dígitos) de uma data — default hoje. */
105
+ export function anoAtual(date: Date = new Date()): number {
106
+ return date.getFullYear()
107
+ }
108
+
109
+ /** Mês atual (1–12). */
110
+ export function mesAtual(): number {
111
+ return new Date().getMonth() + 1
112
+ }
113
+
114
+ /** Meses pra selects: `[{ label: 'Janeiro', value: 1 }, ...]`. */
115
+ export function getMeses(): { label: string; value: number }[] {
116
+ return Array.from({ length: 12 }, (_v, i) => {
117
+ const nome = new Intl.DateTimeFormat(LOCALE_BR, { month: 'long' }).format(new Date(0, i))
118
+ return { label: nome.charAt(0).toUpperCase() + nome.slice(1), value: i + 1 }
119
+ })
120
+ }
121
+
122
+ /** Anos do atual até `anoInicial` (decrescente). Default `anoInicial = 2021`. */
123
+ export function getAnos(anoInicial = 2021): number[] {
124
+ const atual = new Date().getFullYear()
125
+ const anos: number[] = []
126
+ for (let ano = atual; ano >= anoInicial; ano--) anos.push(ano)
127
+ return anos
128
+ }
@@ -0,0 +1,59 @@
1
+ import { Dialog } from 'quasar'
2
+ import AcaiUiConfirm, { type AlertColor } from '../components/confirm/acai-ui-confirm.vue'
3
+ import type { MaterialIconValues } from '../constants/lista-icons'
4
+
5
+ export interface ConfirmarOpcoes {
6
+ title?: string
7
+ message?: string
8
+ htmlContent?: string
9
+ icon?: MaterialIconValues
10
+ color?: AlertColor
11
+ confirmLabel?: string
12
+ cancelLabel?: string
13
+ maxWidth?: string
14
+ }
15
+
16
+ export const DialogUtils = {
17
+ confirmar(
18
+ title = 'Confirmação',
19
+ message = 'Tem certeza?',
20
+ confirmLabel = 'Confirmar',
21
+ cancelLabel = 'Cancelar',
22
+ ): Promise<boolean> {
23
+ return new Promise<boolean>((resolve) => {
24
+ Dialog.create({
25
+ component: AcaiUiConfirm,
26
+ componentProps: {
27
+ title,
28
+ message,
29
+ confirmLabel,
30
+ cancelLabel,
31
+ persistent: true,
32
+ },
33
+ })
34
+ .onOk(() => resolve(true))
35
+ .onCancel(() => resolve(false))
36
+ })
37
+ },
38
+
39
+ alertar(opcoes: ConfirmarOpcoes): Promise<boolean> {
40
+ return new Promise<boolean>((resolve) => {
41
+ Dialog.create({
42
+ component: AcaiUiConfirm,
43
+ componentProps: {
44
+ title: opcoes.title ?? 'Atenção',
45
+ message: opcoes.message ?? '',
46
+ htmlContent: opcoes.htmlContent,
47
+ icon: opcoes.icon,
48
+ color: opcoes.color,
49
+ confirmLabel: opcoes.confirmLabel ?? 'OK',
50
+ cancelLabel: opcoes.cancelLabel ?? 'Cancelar',
51
+ maxWidth: opcoes.maxWidth,
52
+ persistent: true,
53
+ },
54
+ })
55
+ .onOk(() => resolve(true))
56
+ .onCancel(() => resolve(false))
57
+ })
58
+ },
59
+ }
@@ -0,0 +1,85 @@
1
+ export const FileUtils = {
2
+ /** Lê um File e retorna a Data URL completa (`data:...;base64,...`). */
3
+ toBase64(file: File): Promise<string> {
4
+ return new Promise((resolve, reject) => {
5
+ const reader = new FileReader()
6
+ reader.onload = () => resolve(reader.result as string)
7
+ reader.onerror = (error) => reject(error)
8
+ reader.readAsDataURL(file)
9
+ })
10
+ },
11
+
12
+ /** Como `toBase64`, mas remove o prefixo `data:...;base64,` — útil quando o
13
+ * backend espera só o conteúdo base64. */
14
+ toBase64SemPrefixo(file: File): Promise<string> {
15
+ return new Promise((resolve, reject) => {
16
+ const reader = new FileReader()
17
+ reader.onload = () =>
18
+ resolve((reader.result as string).replace(/^data:.*;base64,/, ''))
19
+ reader.onerror = (error) => reject(error)
20
+ reader.readAsDataURL(file)
21
+ })
22
+ },
23
+
24
+ /** Converte uma lista de arquivos (aceita `null`) em base64 SEM prefixo,
25
+ * preservando as posições (`null` → `null`). */
26
+ arquivosParaBase64(arquivos: (File | null)[]): Promise<(string | null)[]> {
27
+ const ler = (arquivo: File | null): Promise<string | null> =>
28
+ arquivo ? FileUtils.toBase64SemPrefixo(arquivo) : Promise.resolve(null)
29
+ return Promise.all(arquivos.map(ler))
30
+ },
31
+
32
+ /** Reconstrói um `File` a partir de uma string base64 (sem prefixo). */
33
+ base64ParaFile(base64: string, nomeArquivo: string, tipo: string): File {
34
+ const byteString = atob(base64)
35
+ const intArray = new Uint8Array(byteString.length)
36
+ for (let i = 0; i < byteString.length; i++) {
37
+ intArray[i] = byteString.charCodeAt(i)
38
+ }
39
+ const blob = new Blob([intArray], { type: tipo })
40
+ return new File([blob], nomeArquivo, { type: tipo })
41
+ },
42
+
43
+ fromBase64ToDataUrl(base64: string): string | null {
44
+ if (!base64) return null
45
+ const trimmed = base64.trim()
46
+ if (!trimmed) return null
47
+ if (trimmed.startsWith('data:image/')) return trimmed
48
+
49
+ const header = trimmed.replace(/^data:[^;]+;base64,/, '').slice(0, 10)
50
+ let mime = 'image/jpeg'
51
+ if (header.startsWith('iVBOR')) mime = 'image/png'
52
+ if (header.startsWith('R0lGOD')) mime = 'image/gif'
53
+ if (header.startsWith('UklGR')) mime = 'image/webp'
54
+ return `data:${mime};base64,${trimmed}`
55
+ },
56
+
57
+ /** Dispara o download de um Blob/File no navegador (cria `<a>`, clica e
58
+ * revoga a URL). Substitui o `downloadBlob`/`exportarArquivoBlob` que era
59
+ * copiado em todos os apps. */
60
+ baixarBlob(conteudo: Blob | File, nomeArquivo: string): void {
61
+ const url = window.URL.createObjectURL(conteudo)
62
+ const link = document.createElement('a')
63
+ link.href = url
64
+ link.download = nomeArquivo
65
+ document.body.appendChild(link)
66
+ link.click()
67
+ document.body.removeChild(link)
68
+ window.URL.revokeObjectURL(url)
69
+ },
70
+
71
+ /** Formata bytes em string legível: `1536` → `1.50 KB`. */
72
+ formatarTamanhoArquivo(tamanhoEmBytes: number): string {
73
+ const unidades = ['Bytes', 'KB', 'MB', 'GB', 'TB', 'PB']
74
+ if (!Number.isFinite(tamanhoEmBytes) || tamanhoEmBytes < 1) {
75
+ return `${Math.max(0, tamanhoEmBytes || 0).toFixed(2)} Bytes`
76
+ }
77
+ let tamanho = tamanhoEmBytes
78
+ let indice = 0
79
+ while (tamanho >= 1024 && indice < unidades.length - 1) {
80
+ tamanho /= 1024
81
+ indice++
82
+ }
83
+ return `${tamanho.toFixed(2)} ${unidades[indice]}`
84
+ },
85
+ }
@@ -0,0 +1,41 @@
1
+ /**
2
+ * Cria listeners de teclado que bloqueiam caracteres não permitidos.
3
+ * Uso no template: `v-on="filtro"`
4
+ */
5
+ export function criarFiltroTeclado(permitidos: RegExp) {
6
+ return {
7
+ keydown(e: KeyboardEvent) {
8
+ // `e.key` pode vir undefined em eventos sintéticos / autofill — guardar antes
9
+ // de ler `.length` (senão "Cannot read properties of undefined (reading 'length')"
10
+ // derruba o handler em todo campo com `v-on="filtroNome"`).
11
+ if (e.ctrlKey || e.metaKey || e.altKey || !e.key || e.key.length > 1) return
12
+ if (!permitidos.test(e.key)) {
13
+ e.preventDefault()
14
+ }
15
+ },
16
+ }
17
+ }
18
+
19
+ /**
20
+ * Cria uma regra de validação que rejeita caracteres fora do permitido.
21
+ * Uso: `:rules="[criarRegraCaracteres(/regex/, 'message')]"`
22
+ */
23
+ export function criarRegraCaracteres(invalidos: RegExp, message: string) {
24
+ return (valor: string) => {
25
+ if (!valor) return true
26
+ if (invalidos.test(valor)) return message
27
+ return true
28
+ }
29
+ }
30
+
31
+ // Preset: NOME (letras com acento, espaço e hífen)
32
+ const PERMITIDO_NOME = /^[a-zA-ZÀ-ÿ\s-]$/
33
+
34
+ /** Eventos de teclado para campos de nome. Uso: `v-on="filtroNome"` */
35
+ export const filtroNome = criarFiltroTeclado(PERMITIDO_NOME)
36
+
37
+ /** Regra de validação para campos de nome. Uso: `:rules="[regraNome]"` */
38
+ export const regraNome = criarRegraCaracteres(
39
+ /[^a-zA-ZÀ-ÿ\s-]|[ ]{2}/,
40
+ 'Apenas letras, espaços e hífen. Sem espaços duplos.',
41
+ )