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.
- package/CHANGELOG.md +795 -0
- package/README.md +64 -0
- package/dist/acai-ui.css +14627 -0
- package/dist/components/actions/acai-ui-actions.d.ts +3 -0
- package/dist/components/async-select/acai-ui-async-select-interface.d.ts +48 -0
- package/dist/components/async-select/acai-ui-async-select-interface.d.ts.map +1 -0
- package/dist/components/async-select/acai-ui-async-select.d.ts +3 -0
- package/dist/components/badge/acai-ui-badge-interface.d.ts +20 -0
- package/dist/components/badge/acai-ui-badge-interface.d.ts.map +1 -0
- package/dist/components/badge/acai-ui-badge.d.ts +3 -0
- package/dist/components/banner/acai-ui-banner-interface.d.ts +16 -0
- package/dist/components/banner/acai-ui-banner-interface.d.ts.map +1 -0
- package/dist/components/banner/acai-ui-banner.d.ts +3 -0
- package/dist/components/button/acai-ui-button-interface.d.ts +21 -0
- package/dist/components/button/acai-ui-button-interface.d.ts.map +1 -0
- package/dist/components/button/acai-ui-button.d.ts +3 -0
- package/dist/components/card/acai-ui-card-interface.d.ts +14 -0
- package/dist/components/card/acai-ui-card-interface.d.ts.map +1 -0
- package/dist/components/card/acai-ui-card.d.ts +3 -0
- package/dist/components/chart/acai-ui-chart-interface.d.ts +190 -0
- package/dist/components/chart/acai-ui-chart-interface.d.ts.map +1 -0
- package/dist/components/chart/acai-ui-chart.d.ts +3 -0
- package/dist/components/chart/chart-a11y.d.ts +40 -0
- package/dist/components/chart/chart-a11y.d.ts.map +1 -0
- package/dist/components/chart/chart-caminhos.d.ts +91 -0
- package/dist/components/chart/chart-caminhos.d.ts.map +1 -0
- package/dist/components/chart/chart-cartesiano.d.ts +3 -0
- package/dist/components/chart/chart-dados.d.ts +74 -0
- package/dist/components/chart/chart-dados.d.ts.map +1 -0
- package/dist/components/chart/chart-escalas.d.ts +45 -0
- package/dist/components/chart/chart-escalas.d.ts.map +1 -0
- package/dist/components/chart/chart-formatar.d.ts +21 -0
- package/dist/components/chart/chart-formatar.d.ts.map +1 -0
- package/dist/components/chart/chart-gauge.d.ts +3 -0
- package/dist/components/chart/chart-headless.d.ts +29 -0
- package/dist/components/chart/chart-headless.d.ts.map +1 -0
- package/dist/components/chart/chart-imagem.d.ts +51 -0
- package/dist/components/chart/chart-imagem.d.ts.map +1 -0
- package/dist/components/chart/chart-layout.d.ts +59 -0
- package/dist/components/chart/chart-layout.d.ts.map +1 -0
- package/dist/components/chart/chart-legenda.d.ts +3 -0
- package/dist/components/chart/chart-pizza.d.ts +3 -0
- package/dist/components/chart/chart-plano.d.ts +201 -0
- package/dist/components/chart/chart-plano.d.ts.map +1 -0
- package/dist/components/chart/chart-rotulos.d.ts +10 -0
- package/dist/components/chart/chart-rotulos.d.ts.map +1 -0
- package/dist/components/chart/chart-tabela.d.ts +3 -0
- package/dist/components/chart/chart-ticks.d.ts +35 -0
- package/dist/components/chart/chart-ticks.d.ts.map +1 -0
- package/dist/components/checkbox/acai-ui-checkbox-interface.d.ts +16 -0
- package/dist/components/checkbox/acai-ui-checkbox-interface.d.ts.map +1 -0
- package/dist/components/checkbox/acai-ui-checkbox.d.ts +3 -0
- package/dist/components/chip/acai-ui-chip-interface.d.ts +17 -0
- package/dist/components/chip/acai-ui-chip-interface.d.ts.map +1 -0
- package/dist/components/chip/acai-ui-chip.d.ts +3 -0
- package/dist/components/code/acai-ui-code-interface.d.ts +44 -0
- package/dist/components/code/acai-ui-code-interface.d.ts.map +1 -0
- package/dist/components/code/acai-ui-code.d.ts +3 -0
- package/dist/components/code/dobras-json.d.ts +14 -0
- package/dist/components/code/dobras-json.d.ts.map +1 -0
- package/dist/components/confirm/acai-ui-confirm.d.ts +3 -0
- package/dist/components/container/acai-ui-container-interface.d.ts +29 -0
- package/dist/components/container/acai-ui-container-interface.d.ts.map +1 -0
- package/dist/components/container/acai-ui-container.d.ts +3 -0
- package/dist/components/date/acai-ui-date-interface.d.ts +19 -0
- package/dist/components/date/acai-ui-date-interface.d.ts.map +1 -0
- package/dist/components/date/acai-ui-date.d.ts +3 -0
- package/dist/components/date-range/acai-ui-date-range-interface.d.ts +27 -0
- package/dist/components/date-range/acai-ui-date-range-interface.d.ts.map +1 -0
- package/dist/components/date-range/acai-ui-date-range.d.ts +3 -0
- package/dist/components/datetime/acai-ui-datetime-interface.d.ts +10 -0
- package/dist/components/datetime/acai-ui-datetime-interface.d.ts.map +1 -0
- package/dist/components/datetime/acai-ui-datetime.d.ts +3 -0
- package/dist/components/dialog/acai-ui-dialog-interface.d.ts +17 -0
- package/dist/components/dialog/acai-ui-dialog-interface.d.ts.map +1 -0
- package/dist/components/dialog/acai-ui-dialog.d.ts +3 -0
- package/dist/components/divider/acai-ui-divider-interface.d.ts +5 -0
- package/dist/components/divider/acai-ui-divider-interface.d.ts.map +1 -0
- package/dist/components/divider/acai-ui-divider.d.ts +3 -0
- package/dist/components/drawer/acai-ui-drawer-interface.d.ts +97 -0
- package/dist/components/drawer/acai-ui-drawer-interface.d.ts.map +1 -0
- package/dist/components/drawer/acai-ui-drawer.d.ts +3 -0
- package/dist/components/drawer/drawer-sidebar-helper.d.ts +4 -0
- package/dist/components/drawer/drawer-sidebar-helper.d.ts.map +1 -0
- package/dist/components/dropdown/acai-ui-dropdown-interface.d.ts +35 -0
- package/dist/components/dropdown/acai-ui-dropdown-interface.d.ts.map +1 -0
- package/dist/components/dropdown/acai-ui-dropdown-item.d.ts +3 -0
- package/dist/components/dropdown/acai-ui-dropdown.d.ts +3 -0
- package/dist/components/error-log/acai-ui-error-log-interface.d.ts +59 -0
- package/dist/components/error-log/acai-ui-error-log-interface.d.ts.map +1 -0
- package/dist/components/error-log/acai-ui-error-log-json-tree.d.ts +3 -0
- package/dist/components/error-log/acai-ui-error-log-redigir.d.ts +28 -0
- package/dist/components/error-log/acai-ui-error-log-redigir.d.ts.map +1 -0
- package/dist/components/error-log/acai-ui-error-log.d.ts +3 -0
- package/dist/components/file/acai-ui-file-interface.d.ts +13 -0
- package/dist/components/file/acai-ui-file-interface.d.ts.map +1 -0
- package/dist/components/file/acai-ui-file.d.ts +3 -0
- package/dist/components/form/acai-ui-form-interface.d.ts +37 -0
- package/dist/components/form/acai-ui-form-interface.d.ts.map +1 -0
- package/dist/components/form/acai-ui-form.d.ts +3 -0
- package/dist/components/help/acai-ui-help-interface.d.ts +184 -0
- package/dist/components/help/acai-ui-help-interface.d.ts.map +1 -0
- package/dist/components/help/acai-ui-help.d.ts +3 -0
- package/dist/components/help/acai-ui-tour.d.ts +3 -0
- package/dist/components/help/tour-escolha.d.ts +62 -0
- package/dist/components/help/tour-escolha.d.ts.map +1 -0
- package/dist/components/help/tour-posicionar.d.ts +39 -0
- package/dist/components/help/tour-posicionar.d.ts.map +1 -0
- package/dist/components/help/tour-registry.d.ts +54 -0
- package/dist/components/help/tour-registry.d.ts.map +1 -0
- package/dist/components/help/use-tour-visto.d.ts +11 -0
- package/dist/components/help/use-tour-visto.d.ts.map +1 -0
- package/dist/components/icon/acai-ui-icon-interface.d.ts +12 -0
- package/dist/components/icon/acai-ui-icon-interface.d.ts.map +1 -0
- package/dist/components/icon/acai-ui-icon.d.ts +3 -0
- package/dist/components/index.d.ts +89 -0
- package/dist/components/index.d.ts.map +1 -0
- package/dist/components/input/acai-ui-input-interface.d.ts +20 -0
- package/dist/components/input/acai-ui-input-interface.d.ts.map +1 -0
- package/dist/components/input/acai-ui-input.d.ts +3 -0
- package/dist/components/modal/acai-ui-modal-interface.d.ts +16 -0
- package/dist/components/modal/acai-ui-modal-interface.d.ts.map +1 -0
- package/dist/components/modal/acai-ui-modal.d.ts +3 -0
- package/dist/components/pagination/acai-ui-pagination-interface.d.ts +9 -0
- package/dist/components/pagination/acai-ui-pagination-interface.d.ts.map +1 -0
- package/dist/components/pagination/acai-ui-pagination.d.ts +3 -0
- package/dist/components/preferences/acai-ui-preferences-interface.d.ts +5 -0
- package/dist/components/preferences/acai-ui-preferences-interface.d.ts.map +1 -0
- package/dist/components/preferences/acai-ui-preferences.d.ts +3 -0
- package/dist/components/progress/acai-ui-progress-interface.d.ts +18 -0
- package/dist/components/progress/acai-ui-progress-interface.d.ts.map +1 -0
- package/dist/components/progress/acai-ui-progress.d.ts +3 -0
- package/dist/components/radio/acai-ui-radio-interface.d.ts +13 -0
- package/dist/components/radio/acai-ui-radio-interface.d.ts.map +1 -0
- package/dist/components/radio/acai-ui-radio.d.ts +3 -0
- package/dist/components/section/acai-ui-section.d.ts +3 -0
- package/dist/components/select/acai-ui-select-interface.d.ts +18 -0
- package/dist/components/select/acai-ui-select-interface.d.ts.map +1 -0
- package/dist/components/select/acai-ui-select.d.ts +3 -0
- package/dist/components/session-clock/acai-ui-session-clock.d.ts +3 -0
- package/dist/components/stepper/acai-ui-step-interface.d.ts +18 -0
- package/dist/components/stepper/acai-ui-step-interface.d.ts.map +1 -0
- package/dist/components/stepper/acai-ui-step.d.ts +3 -0
- package/dist/components/stepper/acai-ui-stepper-interface.d.ts +53 -0
- package/dist/components/stepper/acai-ui-stepper-interface.d.ts.map +1 -0
- package/dist/components/stepper/acai-ui-stepper.d.ts +3 -0
- package/dist/components/swagger/acai-ui-swagger-interface.d.ts +53 -0
- package/dist/components/swagger/acai-ui-swagger-interface.d.ts.map +1 -0
- package/dist/components/swagger/acai-ui-swagger-operacao.d.ts +3 -0
- package/dist/components/swagger/acai-ui-swagger-requisicao.d.ts +76 -0
- package/dist/components/swagger/acai-ui-swagger-requisicao.d.ts.map +1 -0
- package/dist/components/swagger/acai-ui-swagger-schema.d.ts +3 -0
- package/dist/components/swagger/acai-ui-swagger.d.ts +3 -0
- package/dist/components/swagger/openapi-normalizar.d.ts +51 -0
- package/dist/components/swagger/openapi-normalizar.d.ts.map +1 -0
- package/dist/components/swagger/openapi-tipos.d.ts +167 -0
- package/dist/components/swagger/openapi-tipos.d.ts.map +1 -0
- package/dist/components/table/acai-ui-table-interface.d.ts +47 -0
- package/dist/components/table/acai-ui-table-interface.d.ts.map +1 -0
- package/dist/components/table/acai-ui-table-justificativa.d.ts +3 -0
- package/dist/components/table/acai-ui-table.d.ts +3 -0
- package/dist/components/tabs/acai-ui-tab.d.ts +3 -0
- package/dist/components/tabs/acai-ui-tabs-interface.d.ts +32 -0
- package/dist/components/tabs/acai-ui-tabs-interface.d.ts.map +1 -0
- package/dist/components/tabs/acai-ui-tabs.d.ts +3 -0
- package/dist/components/time/acai-ui-time-interface.d.ts +15 -0
- package/dist/components/time/acai-ui-time-interface.d.ts.map +1 -0
- package/dist/components/time/acai-ui-time.d.ts +3 -0
- package/dist/components/toggle/acai-ui-toggle-interface.d.ts +12 -0
- package/dist/components/toggle/acai-ui-toggle-interface.d.ts.map +1 -0
- package/dist/components/toggle/acai-ui-toggle.d.ts +3 -0
- package/dist/components/tooltip/acai-ui-tooltip-interface.d.ts +9 -0
- package/dist/components/tooltip/acai-ui-tooltip-interface.d.ts.map +1 -0
- package/dist/components/tooltip/acai-ui-tooltip.d.ts +3 -0
- package/dist/components/user-menu/acai-ui-user-menu-interface.d.ts +14 -0
- package/dist/components/user-menu/acai-ui-user-menu-interface.d.ts.map +1 -0
- package/dist/components/user-menu/acai-ui-user-menu.d.ts +3 -0
- package/dist/components/validation/acai-ui-validation.d.ts +3 -0
- package/dist/constants/chart-paleta.d.ts +47 -0
- package/dist/constants/chart-paleta.d.ts.map +1 -0
- package/dist/constants/efeitos.d.ts +22 -0
- package/dist/constants/efeitos.d.ts.map +1 -0
- package/dist/constants/index.d.ts +13 -0
- package/dist/constants/index.d.ts.map +1 -0
- package/dist/constants/lista-icons.d.ts +156 -0
- package/dist/constants/lista-icons.d.ts.map +1 -0
- package/dist/constants/medidas-espacos.d.ts +15 -0
- package/dist/constants/medidas-espacos.d.ts.map +1 -0
- package/dist/constants/radius.d.ts +15 -0
- package/dist/constants/radius.d.ts.map +1 -0
- package/dist/constants/status-badge.d.ts +17 -0
- package/dist/constants/status-badge.d.ts.map +1 -0
- package/dist/hooks/filtros-url-internos.d.ts +121 -0
- package/dist/hooks/filtros-url-internos.d.ts.map +1 -0
- package/dist/hooks/index.d.ts +18 -0
- package/dist/hooks/index.d.ts.map +1 -0
- package/dist/hooks/notify.d.ts +8 -0
- package/dist/hooks/notify.d.ts.map +1 -0
- package/dist/hooks/use-contador-sessao.d.ts +22 -0
- package/dist/hooks/use-contador-sessao.d.ts.map +1 -0
- package/dist/hooks/use-filtros-na-url.d.ts +110 -0
- package/dist/hooks/use-filtros-na-url.d.ts.map +1 -0
- package/dist/hooks/use-leitura-voz.d.ts +60 -0
- package/dist/hooks/use-leitura-voz.d.ts.map +1 -0
- package/dist/hooks/use-listagem-na-url.d.ts +185 -0
- package/dist/hooks/use-listagem-na-url.d.ts.map +1 -0
- package/dist/hooks/use-preferencias.d.ts +60 -0
- package/dist/hooks/use-preferencias.d.ts.map +1 -0
- package/dist/hooks/use-repasse-quasar.d.ts +42 -0
- package/dist/hooks/use-repasse-quasar.d.ts.map +1 -0
- package/dist/hooks/use-tamanho-elemento.d.ts +26 -0
- package/dist/hooks/use-tamanho-elemento.d.ts.map +1 -0
- package/dist/hooks/use-tela.d.ts +84 -0
- package/dist/hooks/use-tela.d.ts.map +1 -0
- package/dist/hooks/use-validacao-visual.d.ts +40 -0
- package/dist/hooks/use-validacao-visual.d.ts.map +1 -0
- package/dist/index.cjs +249 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.mjs +249 -0
- package/dist/index.mjs.map +1 -0
- package/dist/index10.cjs +24 -0
- package/dist/index10.cjs.map +1 -0
- package/dist/index10.mjs +25 -0
- package/dist/index10.mjs.map +1 -0
- package/dist/index100.cjs +51 -0
- package/dist/index100.cjs.map +1 -0
- package/dist/index100.mjs +51 -0
- package/dist/index100.mjs.map +1 -0
- package/dist/index101.cjs +143 -0
- package/dist/index101.cjs.map +1 -0
- package/dist/index101.mjs +143 -0
- package/dist/index101.mjs.map +1 -0
- package/dist/index102.cjs +137 -0
- package/dist/index102.cjs.map +1 -0
- package/dist/index102.mjs +138 -0
- package/dist/index102.mjs.map +1 -0
- package/dist/index104.cjs +10 -0
- package/dist/index104.cjs.map +1 -0
- package/dist/index104.mjs +11 -0
- package/dist/index104.mjs.map +1 -0
- package/dist/index105.cjs +5 -0
- package/dist/index105.cjs.map +1 -0
- package/dist/index105.mjs +6 -0
- package/dist/index105.mjs.map +1 -0
- package/dist/index106.cjs +5 -0
- package/dist/index106.cjs.map +1 -0
- package/dist/index106.mjs +6 -0
- package/dist/index106.mjs.map +1 -0
- package/dist/index107.cjs +86 -0
- package/dist/index107.cjs.map +1 -0
- package/dist/index107.mjs +87 -0
- package/dist/index107.mjs.map +1 -0
- package/dist/index109.cjs +123 -0
- package/dist/index109.cjs.map +1 -0
- package/dist/index109.mjs +124 -0
- package/dist/index109.mjs.map +1 -0
- package/dist/index111.cjs +121 -0
- package/dist/index111.cjs.map +1 -0
- package/dist/index111.mjs +122 -0
- package/dist/index111.mjs.map +1 -0
- package/dist/index113.cjs +72 -0
- package/dist/index113.cjs.map +1 -0
- package/dist/index113.mjs +73 -0
- package/dist/index113.mjs.map +1 -0
- package/dist/index115.cjs +5 -0
- package/dist/index115.cjs.map +1 -0
- package/dist/index115.mjs +6 -0
- package/dist/index115.mjs.map +1 -0
- package/dist/index116.cjs +56 -0
- package/dist/index116.cjs.map +1 -0
- package/dist/index116.mjs +57 -0
- package/dist/index116.mjs.map +1 -0
- package/dist/index118.cjs +5 -0
- package/dist/index118.cjs.map +1 -0
- package/dist/index118.mjs +6 -0
- package/dist/index118.mjs.map +1 -0
- package/dist/index119.cjs +210 -0
- package/dist/index119.cjs.map +1 -0
- package/dist/index119.mjs +211 -0
- package/dist/index119.mjs.map +1 -0
- package/dist/index12.cjs +606 -0
- package/dist/index12.cjs.map +1 -0
- package/dist/index12.mjs +607 -0
- package/dist/index12.mjs.map +1 -0
- package/dist/index121.cjs +170 -0
- package/dist/index121.cjs.map +1 -0
- package/dist/index121.mjs +171 -0
- package/dist/index121.mjs.map +1 -0
- package/dist/index123.cjs +109 -0
- package/dist/index123.cjs.map +1 -0
- package/dist/index123.mjs +110 -0
- package/dist/index123.mjs.map +1 -0
- package/dist/index125.cjs +5 -0
- package/dist/index125.cjs.map +1 -0
- package/dist/index125.mjs +6 -0
- package/dist/index125.mjs.map +1 -0
- package/dist/index126.cjs +4 -0
- package/dist/index126.cjs.map +1 -0
- package/dist/index126.mjs +5 -0
- package/dist/index126.mjs.map +1 -0
- package/dist/index127.cjs +300 -0
- package/dist/index127.cjs.map +1 -0
- package/dist/index127.mjs +301 -0
- package/dist/index127.mjs.map +1 -0
- package/dist/index130.cjs +5 -0
- package/dist/index130.cjs.map +1 -0
- package/dist/index130.mjs +6 -0
- package/dist/index130.mjs.map +1 -0
- package/dist/index131.cjs +5 -0
- package/dist/index131.cjs.map +1 -0
- package/dist/index131.mjs +6 -0
- package/dist/index131.mjs.map +1 -0
- package/dist/index132.cjs +128 -0
- package/dist/index132.cjs.map +1 -0
- package/dist/index132.mjs +129 -0
- package/dist/index132.mjs.map +1 -0
- package/dist/index134.cjs +4 -0
- package/dist/index134.cjs.map +1 -0
- package/dist/index134.mjs +5 -0
- package/dist/index134.mjs.map +1 -0
- package/dist/index135.cjs +180 -0
- package/dist/index135.cjs.map +1 -0
- package/dist/index135.mjs +181 -0
- package/dist/index135.mjs.map +1 -0
- package/dist/index137.cjs +83 -0
- package/dist/index137.cjs.map +1 -0
- package/dist/index137.mjs +84 -0
- package/dist/index137.mjs.map +1 -0
- package/dist/index139.cjs +284 -0
- package/dist/index139.cjs.map +1 -0
- package/dist/index139.mjs +285 -0
- package/dist/index139.mjs.map +1 -0
- package/dist/index14.cjs +124 -0
- package/dist/index14.cjs.map +1 -0
- package/dist/index14.mjs +125 -0
- package/dist/index14.mjs.map +1 -0
- package/dist/index141.cjs +58 -0
- package/dist/index141.cjs.map +1 -0
- package/dist/index141.mjs +59 -0
- package/dist/index141.mjs.map +1 -0
- package/dist/index143.cjs +5 -0
- package/dist/index143.cjs.map +1 -0
- package/dist/index143.mjs +6 -0
- package/dist/index143.mjs.map +1 -0
- package/dist/index144.cjs +399 -0
- package/dist/index144.cjs.map +1 -0
- package/dist/index144.mjs +400 -0
- package/dist/index144.mjs.map +1 -0
- package/dist/index146.cjs +305 -0
- package/dist/index146.cjs.map +1 -0
- package/dist/index146.mjs +306 -0
- package/dist/index146.mjs.map +1 -0
- package/dist/index149.cjs +109 -0
- package/dist/index149.cjs.map +1 -0
- package/dist/index149.mjs +110 -0
- package/dist/index149.mjs.map +1 -0
- package/dist/index152.cjs +5 -0
- package/dist/index152.cjs.map +1 -0
- package/dist/index152.mjs +6 -0
- package/dist/index152.mjs.map +1 -0
- package/dist/index153.cjs +5 -0
- package/dist/index153.cjs.map +1 -0
- package/dist/index153.mjs +6 -0
- package/dist/index153.mjs.map +1 -0
- package/dist/index154.cjs +4 -0
- package/dist/index154.cjs.map +1 -0
- package/dist/index154.mjs +5 -0
- package/dist/index154.mjs.map +1 -0
- package/dist/index155.cjs +5 -0
- package/dist/index155.cjs.map +1 -0
- package/dist/index155.mjs +6 -0
- package/dist/index155.mjs.map +1 -0
- package/dist/index156.cjs +5 -0
- package/dist/index156.cjs.map +1 -0
- package/dist/index156.mjs +6 -0
- package/dist/index156.mjs.map +1 -0
- package/dist/index157.cjs +5 -0
- package/dist/index157.cjs.map +1 -0
- package/dist/index157.mjs +6 -0
- package/dist/index157.mjs.map +1 -0
- package/dist/index158.cjs +4 -0
- package/dist/index158.cjs.map +1 -0
- package/dist/index158.mjs +5 -0
- package/dist/index158.mjs.map +1 -0
- package/dist/index159.cjs +59 -0
- package/dist/index159.cjs.map +1 -0
- package/dist/index159.mjs +60 -0
- package/dist/index159.mjs.map +1 -0
- package/dist/index16.cjs +89 -0
- package/dist/index16.cjs.map +1 -0
- package/dist/index16.mjs +90 -0
- package/dist/index16.mjs.map +1 -0
- package/dist/index161.cjs +5 -0
- package/dist/index161.cjs.map +1 -0
- package/dist/index161.mjs +6 -0
- package/dist/index161.mjs.map +1 -0
- package/dist/index162.cjs +119 -0
- package/dist/index162.cjs.map +1 -0
- package/dist/index162.mjs +120 -0
- package/dist/index162.mjs.map +1 -0
- package/dist/index164.cjs +33 -0
- package/dist/index164.cjs.map +1 -0
- package/dist/index164.mjs +34 -0
- package/dist/index164.mjs.map +1 -0
- package/dist/index166.cjs +5 -0
- package/dist/index166.cjs.map +1 -0
- package/dist/index166.mjs +6 -0
- package/dist/index166.mjs.map +1 -0
- package/dist/index167.cjs +324 -0
- package/dist/index167.cjs.map +1 -0
- package/dist/index167.mjs +325 -0
- package/dist/index167.mjs.map +1 -0
- package/dist/index17.cjs +419 -0
- package/dist/index17.cjs.map +1 -0
- package/dist/index17.mjs +420 -0
- package/dist/index17.mjs.map +1 -0
- package/dist/index170.cjs +38 -0
- package/dist/index170.cjs.map +1 -0
- package/dist/index170.mjs +39 -0
- package/dist/index170.mjs.map +1 -0
- package/dist/index172.cjs +5 -0
- package/dist/index172.cjs.map +1 -0
- package/dist/index172.mjs +6 -0
- package/dist/index172.mjs.map +1 -0
- package/dist/index173.cjs +202 -0
- package/dist/index173.cjs.map +1 -0
- package/dist/index173.mjs +203 -0
- package/dist/index173.mjs.map +1 -0
- package/dist/index175.cjs +5 -0
- package/dist/index175.cjs.map +1 -0
- package/dist/index175.mjs +6 -0
- package/dist/index175.mjs.map +1 -0
- package/dist/index176.cjs +53 -0
- package/dist/index176.cjs.map +1 -0
- package/dist/index176.mjs +54 -0
- package/dist/index176.mjs.map +1 -0
- package/dist/index178.cjs +13 -0
- package/dist/index178.cjs.map +1 -0
- package/dist/index178.mjs +13 -0
- package/dist/index178.mjs.map +1 -0
- package/dist/index179.cjs +18 -0
- package/dist/index179.cjs.map +1 -0
- package/dist/index179.mjs +18 -0
- package/dist/index179.mjs.map +1 -0
- package/dist/index180.cjs +262 -0
- package/dist/index180.cjs.map +1 -0
- package/dist/index180.mjs +262 -0
- package/dist/index180.mjs.map +1 -0
- package/dist/index181.cjs +108 -0
- package/dist/index181.cjs.map +1 -0
- package/dist/index181.mjs +109 -0
- package/dist/index181.mjs.map +1 -0
- package/dist/index182.cjs +73 -0
- package/dist/index182.cjs.map +1 -0
- package/dist/index182.mjs +73 -0
- package/dist/index182.mjs.map +1 -0
- package/dist/index183.cjs +37 -0
- package/dist/index183.cjs.map +1 -0
- package/dist/index183.mjs +37 -0
- package/dist/index183.mjs.map +1 -0
- package/dist/index184.cjs +16 -0
- package/dist/index184.cjs.map +1 -0
- package/dist/index184.mjs +16 -0
- package/dist/index184.mjs.map +1 -0
- package/dist/index185.cjs +31 -0
- package/dist/index185.cjs.map +1 -0
- package/dist/index185.mjs +31 -0
- package/dist/index185.mjs.map +1 -0
- package/dist/index186.cjs +460 -0
- package/dist/index186.cjs.map +1 -0
- package/dist/index186.mjs +461 -0
- package/dist/index186.mjs.map +1 -0
- package/dist/index187.cjs +154 -0
- package/dist/index187.cjs.map +1 -0
- package/dist/index187.mjs +154 -0
- package/dist/index187.mjs.map +1 -0
- package/dist/index188.cjs +40 -0
- package/dist/index188.cjs.map +1 -0
- package/dist/index188.mjs +40 -0
- package/dist/index188.mjs.map +1 -0
- package/dist/index189.cjs +66 -0
- package/dist/index189.cjs.map +1 -0
- package/dist/index189.mjs +66 -0
- package/dist/index189.mjs.map +1 -0
- package/dist/index19.cjs +135 -0
- package/dist/index19.cjs.map +1 -0
- package/dist/index19.mjs +136 -0
- package/dist/index19.mjs.map +1 -0
- package/dist/index190.cjs +142 -0
- package/dist/index190.cjs.map +1 -0
- package/dist/index190.mjs +143 -0
- package/dist/index190.mjs.map +1 -0
- package/dist/index191.cjs +7 -0
- package/dist/index191.cjs.map +1 -0
- package/dist/index191.mjs +8 -0
- package/dist/index191.mjs.map +1 -0
- package/dist/index192.cjs +7 -0
- package/dist/index192.cjs.map +1 -0
- package/dist/index192.mjs +8 -0
- package/dist/index192.mjs.map +1 -0
- package/dist/index193.cjs +7 -0
- package/dist/index193.cjs.map +1 -0
- package/dist/index193.mjs +8 -0
- package/dist/index193.mjs.map +1 -0
- package/dist/index194.cjs +7 -0
- package/dist/index194.cjs.map +1 -0
- package/dist/index194.mjs +8 -0
- package/dist/index194.mjs.map +1 -0
- package/dist/index195.cjs +7 -0
- package/dist/index195.cjs.map +1 -0
- package/dist/index195.mjs +8 -0
- package/dist/index195.mjs.map +1 -0
- package/dist/index196.cjs +100 -0
- package/dist/index196.cjs.map +1 -0
- package/dist/index196.mjs +100 -0
- package/dist/index196.mjs.map +1 -0
- package/dist/index197.cjs +226 -0
- package/dist/index197.cjs.map +1 -0
- package/dist/index197.mjs +226 -0
- package/dist/index197.mjs.map +1 -0
- package/dist/index198.cjs +66 -0
- package/dist/index198.cjs.map +1 -0
- package/dist/index198.mjs +66 -0
- package/dist/index198.mjs.map +1 -0
- package/dist/index199.cjs +399 -0
- package/dist/index199.cjs.map +1 -0
- package/dist/index199.mjs +399 -0
- package/dist/index199.mjs.map +1 -0
- package/dist/index200.cjs +83 -0
- package/dist/index200.cjs.map +1 -0
- package/dist/index200.mjs +83 -0
- package/dist/index200.mjs.map +1 -0
- package/dist/index201.cjs +4 -0
- package/dist/index201.cjs.map +1 -0
- package/dist/index201.mjs +5 -0
- package/dist/index201.mjs.map +1 -0
- package/dist/index202.cjs +5 -0
- package/dist/index202.cjs.map +1 -0
- package/dist/index202.mjs +6 -0
- package/dist/index202.mjs.map +1 -0
- package/dist/index203.cjs +216 -0
- package/dist/index203.cjs.map +1 -0
- package/dist/index203.mjs +217 -0
- package/dist/index203.mjs.map +1 -0
- package/dist/index205.cjs +112 -0
- package/dist/index205.cjs.map +1 -0
- package/dist/index205.mjs +113 -0
- package/dist/index205.mjs.map +1 -0
- package/dist/index207.cjs +112 -0
- package/dist/index207.cjs.map +1 -0
- package/dist/index207.mjs +113 -0
- package/dist/index207.mjs.map +1 -0
- package/dist/index209.cjs +64 -0
- package/dist/index209.cjs.map +1 -0
- package/dist/index209.mjs +65 -0
- package/dist/index209.mjs.map +1 -0
- package/dist/index21.cjs +268 -0
- package/dist/index21.cjs.map +1 -0
- package/dist/index21.mjs +269 -0
- package/dist/index21.mjs.map +1 -0
- package/dist/index211.cjs +45 -0
- package/dist/index211.cjs.map +1 -0
- package/dist/index211.mjs +46 -0
- package/dist/index211.mjs.map +1 -0
- package/dist/index213.cjs +241 -0
- package/dist/index213.cjs.map +1 -0
- package/dist/index213.mjs +241 -0
- package/dist/index213.mjs.map +1 -0
- package/dist/index214.cjs +63 -0
- package/dist/index214.cjs.map +1 -0
- package/dist/index214.mjs +63 -0
- package/dist/index214.mjs.map +1 -0
- package/dist/index215.cjs +53 -0
- package/dist/index215.cjs.map +1 -0
- package/dist/index215.mjs +53 -0
- package/dist/index215.mjs.map +1 -0
- package/dist/index216.cjs +53 -0
- package/dist/index216.cjs.map +1 -0
- package/dist/index216.mjs +53 -0
- package/dist/index216.mjs.map +1 -0
- package/dist/index217.cjs +4 -0
- package/dist/index217.cjs.map +1 -0
- package/dist/index217.mjs +5 -0
- package/dist/index217.mjs.map +1 -0
- package/dist/index218.cjs +29 -0
- package/dist/index218.cjs.map +1 -0
- package/dist/index218.mjs +30 -0
- package/dist/index218.mjs.map +1 -0
- package/dist/index219.cjs +4 -0
- package/dist/index219.cjs.map +1 -0
- package/dist/index219.mjs +5 -0
- package/dist/index219.mjs.map +1 -0
- package/dist/index23.cjs +41 -0
- package/dist/index23.cjs.map +1 -0
- package/dist/index23.mjs +42 -0
- package/dist/index23.mjs.map +1 -0
- package/dist/index24.cjs +117 -0
- package/dist/index24.cjs.map +1 -0
- package/dist/index24.mjs +118 -0
- package/dist/index24.mjs.map +1 -0
- package/dist/index26.cjs +127 -0
- package/dist/index26.cjs.map +1 -0
- package/dist/index26.mjs +128 -0
- package/dist/index26.mjs.map +1 -0
- package/dist/index28.cjs +39 -0
- package/dist/index28.cjs.map +1 -0
- package/dist/index28.mjs +40 -0
- package/dist/index28.mjs.map +1 -0
- package/dist/index29.cjs +176 -0
- package/dist/index29.cjs.map +1 -0
- package/dist/index29.mjs +177 -0
- package/dist/index29.mjs.map +1 -0
- package/dist/index3.cjs +110 -0
- package/dist/index3.cjs.map +1 -0
- package/dist/index3.mjs +110 -0
- package/dist/index3.mjs.map +1 -0
- package/dist/index31.cjs +361 -0
- package/dist/index31.cjs.map +1 -0
- package/dist/index31.mjs +362 -0
- package/dist/index31.mjs.map +1 -0
- package/dist/index33.cjs +20 -0
- package/dist/index33.cjs.map +1 -0
- package/dist/index33.mjs +21 -0
- package/dist/index33.mjs.map +1 -0
- package/dist/index34.cjs +311 -0
- package/dist/index34.cjs.map +1 -0
- package/dist/index34.mjs +312 -0
- package/dist/index34.mjs.map +1 -0
- package/dist/index36.cjs +132 -0
- package/dist/index36.cjs.map +1 -0
- package/dist/index36.mjs +133 -0
- package/dist/index36.mjs.map +1 -0
- package/dist/index38.cjs +80 -0
- package/dist/index38.cjs.map +1 -0
- package/dist/index38.mjs +81 -0
- package/dist/index38.mjs.map +1 -0
- package/dist/index4.cjs +612 -0
- package/dist/index4.cjs.map +1 -0
- package/dist/index4.mjs +613 -0
- package/dist/index4.mjs.map +1 -0
- package/dist/index40.cjs +600 -0
- package/dist/index40.cjs.map +1 -0
- package/dist/index40.mjs +601 -0
- package/dist/index40.mjs.map +1 -0
- package/dist/index42.cjs +160 -0
- package/dist/index42.cjs.map +1 -0
- package/dist/index42.mjs +160 -0
- package/dist/index42.mjs.map +1 -0
- package/dist/index43.cjs +26 -0
- package/dist/index43.cjs.map +1 -0
- package/dist/index43.mjs +27 -0
- package/dist/index43.mjs.map +1 -0
- package/dist/index44.cjs +20 -0
- package/dist/index44.cjs.map +1 -0
- package/dist/index44.mjs +21 -0
- package/dist/index44.mjs.map +1 -0
- package/dist/index45.cjs +104 -0
- package/dist/index45.cjs.map +1 -0
- package/dist/index45.mjs +104 -0
- package/dist/index45.mjs.map +1 -0
- package/dist/index46.cjs +8 -0
- package/dist/index46.cjs.map +1 -0
- package/dist/index46.mjs +9 -0
- package/dist/index46.mjs.map +1 -0
- package/dist/index47.cjs +7 -0
- package/dist/index47.cjs.map +1 -0
- package/dist/index47.mjs +8 -0
- package/dist/index47.mjs.map +1 -0
- package/dist/index48.cjs +7 -0
- package/dist/index48.cjs.map +1 -0
- package/dist/index48.mjs +8 -0
- package/dist/index48.mjs.map +1 -0
- package/dist/index49.cjs +7 -0
- package/dist/index49.cjs.map +1 -0
- package/dist/index49.mjs +8 -0
- package/dist/index49.mjs.map +1 -0
- package/dist/index50.cjs +7 -0
- package/dist/index50.cjs.map +1 -0
- package/dist/index50.mjs +8 -0
- package/dist/index50.mjs.map +1 -0
- package/dist/index51.cjs +7 -0
- package/dist/index51.cjs.map +1 -0
- package/dist/index51.mjs +8 -0
- package/dist/index51.mjs.map +1 -0
- package/dist/index52.cjs +7 -0
- package/dist/index52.cjs.map +1 -0
- package/dist/index52.mjs +8 -0
- package/dist/index52.mjs.map +1 -0
- package/dist/index53.cjs +7 -0
- package/dist/index53.cjs.map +1 -0
- package/dist/index53.mjs +8 -0
- package/dist/index53.mjs.map +1 -0
- package/dist/index54.cjs +7 -0
- package/dist/index54.cjs.map +1 -0
- package/dist/index54.mjs +8 -0
- package/dist/index54.mjs.map +1 -0
- package/dist/index55.cjs +7 -0
- package/dist/index55.cjs.map +1 -0
- package/dist/index55.mjs +8 -0
- package/dist/index55.mjs.map +1 -0
- package/dist/index56.cjs +7 -0
- package/dist/index56.cjs.map +1 -0
- package/dist/index56.mjs +8 -0
- package/dist/index56.mjs.map +1 -0
- package/dist/index57.cjs +7 -0
- package/dist/index57.cjs.map +1 -0
- package/dist/index57.mjs +8 -0
- package/dist/index57.mjs.map +1 -0
- package/dist/index58.cjs +7 -0
- package/dist/index58.cjs.map +1 -0
- package/dist/index58.mjs +8 -0
- package/dist/index58.mjs.map +1 -0
- package/dist/index59.cjs +8 -0
- package/dist/index59.cjs.map +1 -0
- package/dist/index59.mjs +9 -0
- package/dist/index59.mjs.map +1 -0
- package/dist/index6.cjs +578 -0
- package/dist/index6.cjs.map +1 -0
- package/dist/index6.mjs +579 -0
- package/dist/index6.mjs.map +1 -0
- package/dist/index60.cjs +7 -0
- package/dist/index60.cjs.map +1 -0
- package/dist/index60.mjs +8 -0
- package/dist/index60.mjs.map +1 -0
- package/dist/index61.cjs +7 -0
- package/dist/index61.cjs.map +1 -0
- package/dist/index61.mjs +8 -0
- package/dist/index61.mjs.map +1 -0
- package/dist/index62.cjs +7 -0
- package/dist/index62.cjs.map +1 -0
- package/dist/index62.mjs +8 -0
- package/dist/index62.mjs.map +1 -0
- package/dist/index63.cjs +7 -0
- package/dist/index63.cjs.map +1 -0
- package/dist/index63.mjs +8 -0
- package/dist/index63.mjs.map +1 -0
- package/dist/index64.cjs +7 -0
- package/dist/index64.cjs.map +1 -0
- package/dist/index64.mjs +8 -0
- package/dist/index64.mjs.map +1 -0
- package/dist/index65.cjs +8 -0
- package/dist/index65.cjs.map +1 -0
- package/dist/index65.mjs +9 -0
- package/dist/index65.mjs.map +1 -0
- package/dist/index66.cjs +7 -0
- package/dist/index66.cjs.map +1 -0
- package/dist/index66.mjs +8 -0
- package/dist/index66.mjs.map +1 -0
- package/dist/index67.cjs +7 -0
- package/dist/index67.cjs.map +1 -0
- package/dist/index67.mjs +8 -0
- package/dist/index67.mjs.map +1 -0
- package/dist/index68.cjs +7 -0
- package/dist/index68.cjs.map +1 -0
- package/dist/index68.mjs +8 -0
- package/dist/index68.mjs.map +1 -0
- package/dist/index69.cjs +8 -0
- package/dist/index69.cjs.map +1 -0
- package/dist/index69.mjs +9 -0
- package/dist/index69.mjs.map +1 -0
- package/dist/index70.cjs +7 -0
- package/dist/index70.cjs.map +1 -0
- package/dist/index70.mjs +8 -0
- package/dist/index70.mjs.map +1 -0
- package/dist/index71.cjs +38 -0
- package/dist/index71.cjs.map +1 -0
- package/dist/index71.mjs +38 -0
- package/dist/index71.mjs.map +1 -0
- package/dist/index72.cjs +22 -0
- package/dist/index72.cjs.map +1 -0
- package/dist/index72.mjs +22 -0
- package/dist/index72.mjs.map +1 -0
- package/dist/index73.cjs +40 -0
- package/dist/index73.cjs.map +1 -0
- package/dist/index73.mjs +40 -0
- package/dist/index73.mjs.map +1 -0
- package/dist/index74.cjs +80 -0
- package/dist/index74.cjs.map +1 -0
- package/dist/index74.mjs +80 -0
- package/dist/index74.mjs.map +1 -0
- package/dist/index75.cjs +29 -0
- package/dist/index75.cjs.map +1 -0
- package/dist/index75.mjs +29 -0
- package/dist/index75.mjs.map +1 -0
- package/dist/index76.cjs +157 -0
- package/dist/index76.cjs.map +1 -0
- package/dist/index76.mjs +157 -0
- package/dist/index76.mjs.map +1 -0
- package/dist/index77.cjs +16 -0
- package/dist/index77.cjs.map +1 -0
- package/dist/index77.mjs +16 -0
- package/dist/index77.mjs.map +1 -0
- package/dist/index78.cjs +87 -0
- package/dist/index78.cjs.map +1 -0
- package/dist/index78.mjs +87 -0
- package/dist/index78.mjs.map +1 -0
- package/dist/index79.cjs +16 -0
- package/dist/index79.cjs.map +1 -0
- package/dist/index79.mjs +16 -0
- package/dist/index79.mjs.map +1 -0
- package/dist/index8.cjs +130 -0
- package/dist/index8.cjs.map +1 -0
- package/dist/index8.mjs +131 -0
- package/dist/index8.mjs.map +1 -0
- package/dist/index80.cjs +65 -0
- package/dist/index80.cjs.map +1 -0
- package/dist/index80.mjs +65 -0
- package/dist/index80.mjs.map +1 -0
- package/dist/index81.cjs +69 -0
- package/dist/index81.cjs.map +1 -0
- package/dist/index81.mjs +69 -0
- package/dist/index81.mjs.map +1 -0
- package/dist/index82.cjs +30 -0
- package/dist/index82.cjs.map +1 -0
- package/dist/index82.mjs +30 -0
- package/dist/index82.mjs.map +1 -0
- package/dist/index83.cjs +86 -0
- package/dist/index83.cjs.map +1 -0
- package/dist/index83.mjs +86 -0
- package/dist/index83.mjs.map +1 -0
- package/dist/index84.cjs +102 -0
- package/dist/index84.cjs.map +1 -0
- package/dist/index84.mjs +102 -0
- package/dist/index84.mjs.map +1 -0
- package/dist/index85.cjs +20 -0
- package/dist/index85.cjs.map +1 -0
- package/dist/index85.mjs +20 -0
- package/dist/index85.mjs.map +1 -0
- package/dist/index86.cjs +21 -0
- package/dist/index86.cjs.map +1 -0
- package/dist/index86.mjs +21 -0
- package/dist/index86.mjs.map +1 -0
- package/dist/index87.cjs +191 -0
- package/dist/index87.cjs.map +1 -0
- package/dist/index87.mjs +191 -0
- package/dist/index87.mjs.map +1 -0
- package/dist/index88.cjs +67 -0
- package/dist/index88.cjs.map +1 -0
- package/dist/index88.mjs +67 -0
- package/dist/index88.mjs.map +1 -0
- package/dist/index89.cjs +312 -0
- package/dist/index89.cjs.map +1 -0
- package/dist/index89.mjs +312 -0
- package/dist/index89.mjs.map +1 -0
- package/dist/index90.cjs +10 -0
- package/dist/index90.cjs.map +1 -0
- package/dist/index90.mjs +10 -0
- package/dist/index90.mjs.map +1 -0
- package/dist/index91.cjs +15 -0
- package/dist/index91.cjs.map +1 -0
- package/dist/index91.mjs +15 -0
- package/dist/index91.mjs.map +1 -0
- package/dist/index92.cjs +8 -0
- package/dist/index92.cjs.map +1 -0
- package/dist/index92.mjs +8 -0
- package/dist/index92.mjs.map +1 -0
- package/dist/index93.cjs +81 -0
- package/dist/index93.cjs.map +1 -0
- package/dist/index93.mjs +81 -0
- package/dist/index93.mjs.map +1 -0
- package/dist/index94.cjs +124 -0
- package/dist/index94.cjs.map +1 -0
- package/dist/index94.mjs +124 -0
- package/dist/index94.mjs.map +1 -0
- package/dist/index95.cjs +68 -0
- package/dist/index95.cjs.map +1 -0
- package/dist/index95.mjs +68 -0
- package/dist/index95.mjs.map +1 -0
- package/dist/index96.cjs +29 -0
- package/dist/index96.cjs.map +1 -0
- package/dist/index96.mjs +29 -0
- package/dist/index96.mjs.map +1 -0
- package/dist/index97.cjs +184 -0
- package/dist/index97.cjs.map +1 -0
- package/dist/index97.mjs +184 -0
- package/dist/index97.mjs.map +1 -0
- package/dist/index98.cjs +78 -0
- package/dist/index98.cjs.map +1 -0
- package/dist/index98.mjs +78 -0
- package/dist/index98.mjs.map +1 -0
- package/dist/index99.cjs +55 -0
- package/dist/index99.cjs.map +1 -0
- package/dist/index99.mjs +55 -0
- package/dist/index99.mjs.map +1 -0
- package/dist/plugin.d.ts +37 -0
- package/dist/plugin.d.ts.map +1 -0
- package/dist/scss/_badge.scss +12 -0
- package/dist/scss/_breakpoints.scss +102 -0
- package/dist/scss/_color-utilities.scss +105 -0
- package/dist/scss/_controls.scss +135 -0
- package/dist/scss/_ds-input-base.scss +302 -0
- package/dist/scss/_ds-picker-m3.scss +179 -0
- package/dist/scss/_effects.scss +42 -0
- package/dist/scss/_overlays.scss +13 -0
- package/dist/scss/_radius.scss +24 -0
- package/dist/scss/_reset.scss +60 -0
- package/dist/scss/_scrollbar.scss +78 -0
- package/dist/scss/_spacing.scss +15 -0
- package/dist/scss/_themes.scss +493 -0
- package/dist/scss/_typography.scss +50 -0
- package/dist/scss/_utilities.scss +75 -0
- package/dist/scss/_variables.scss +143 -0
- package/dist/scss/api.scss +77 -0
- package/dist/scss/tokens.scss +13 -0
- package/dist/utils/date-utils.d.ts +48 -0
- package/dist/utils/date-utils.d.ts.map +1 -0
- package/dist/utils/dialog-utils.d.ts +17 -0
- package/dist/utils/dialog-utils.d.ts.map +1 -0
- package/dist/utils/file-utils.d.ts +20 -0
- package/dist/utils/file-utils.d.ts.map +1 -0
- package/dist/utils/filtro-input.d.ts +19 -0
- package/dist/utils/filtro-input.d.ts.map +1 -0
- package/dist/utils/form-rules.d.ts +74 -0
- package/dist/utils/form-rules.d.ts.map +1 -0
- package/dist/utils/formatadores.d.ts +15 -0
- package/dist/utils/formatadores.d.ts.map +1 -0
- package/dist/utils/gerador-id.d.ts +3 -0
- package/dist/utils/gerador-id.d.ts.map +1 -0
- package/dist/utils/hint-mensagem.d.ts +11 -0
- package/dist/utils/hint-mensagem.d.ts.map +1 -0
- package/dist/utils/index.d.ts +15 -0
- package/dist/utils/index.d.ts.map +1 -0
- package/dist/utils/limpar-campos.d.ts +6 -0
- package/dist/utils/limpar-campos.d.ts.map +1 -0
- package/dist/utils/masks.d.ts +16 -0
- package/dist/utils/masks.d.ts.map +1 -0
- package/dist/utils/medidas-util.d.ts +3 -0
- package/dist/utils/medidas-util.d.ts.map +1 -0
- package/dist/utils/normalizar-label.d.ts +2 -0
- package/dist/utils/normalizar-label.d.ts.map +1 -0
- package/dist/utils/scroll-elemento.d.ts +16 -0
- package/dist/utils/scroll-elemento.d.ts.map +1 -0
- package/dist/utils/validar-campo.d.ts +7 -0
- package/dist/utils/validar-campo.d.ts.map +1 -0
- package/dist/utils/validar-documentos.d.ts +12 -0
- package/dist/utils/validar-documentos.d.ts.map +1 -0
- package/dist/utils/vnode-slot.d.ts +43 -0
- package/dist/utils/vnode-slot.d.ts.map +1 -0
- package/package.json +100 -0
- package/src/components/actions/acai-ui-actions.vue +225 -0
- package/src/components/async-select/acai-ui-async-select-interface.ts +49 -0
- package/src/components/async-select/acai-ui-async-select.vue +409 -0
- package/src/components/badge/acai-ui-badge-interface.ts +19 -0
- package/src/components/badge/acai-ui-badge.vue +40 -0
- package/src/components/banner/acai-ui-banner-interface.ts +17 -0
- package/src/components/banner/acai-ui-banner-styles.scss +47 -0
- package/src/components/banner/acai-ui-banner.vue +85 -0
- package/src/components/button/acai-ui-button-interface.ts +21 -0
- package/src/components/button/acai-ui-button.vue +378 -0
- package/src/components/card/acai-ui-card-interface.ts +14 -0
- package/src/components/card/acai-ui-card-styles.scss +94 -0
- package/src/components/card/acai-ui-card.vue +148 -0
- package/src/components/chart/acai-ui-chart-interface.ts +226 -0
- package/src/components/chart/acai-ui-chart-styles.scss +141 -0
- package/src/components/chart/acai-ui-chart.vue +679 -0
- package/src/components/chart/chart-a11y.ts +184 -0
- package/src/components/chart/chart-caminhos.ts +466 -0
- package/src/components/chart/chart-cartesiano.vue +247 -0
- package/src/components/chart/chart-dados.ts +381 -0
- package/src/components/chart/chart-escalas.ts +141 -0
- package/src/components/chart/chart-formatar.ts +98 -0
- package/src/components/chart/chart-gauge.vue +152 -0
- package/src/components/chart/chart-headless.ts +130 -0
- package/src/components/chart/chart-imagem.ts +247 -0
- package/src/components/chart/chart-layout.ts +184 -0
- package/src/components/chart/chart-legenda.vue +103 -0
- package/src/components/chart/chart-pizza.vue +134 -0
- package/src/components/chart/chart-plano.ts +818 -0
- package/src/components/chart/chart-rotulos.ts +75 -0
- package/src/components/chart/chart-tabela.vue +116 -0
- package/src/components/chart/chart-ticks.ts +116 -0
- package/src/components/checkbox/acai-ui-checkbox-interface.ts +17 -0
- package/src/components/checkbox/acai-ui-checkbox.vue +114 -0
- package/src/components/chip/acai-ui-chip-interface.ts +19 -0
- package/src/components/chip/acai-ui-chip.vue +61 -0
- package/src/components/code/acai-ui-code-interface.ts +43 -0
- package/src/components/code/acai-ui-code-styles.scss +407 -0
- package/src/components/code/acai-ui-code.vue +595 -0
- package/src/components/code/dobras-json.ts +52 -0
- package/src/components/confirm/acai-ui-confirm.vue +230 -0
- package/src/components/container/acai-ui-container-interface.ts +34 -0
- package/src/components/container/acai-ui-container-styles.scss +122 -0
- package/src/components/container/acai-ui-container.vue +140 -0
- package/src/components/date/acai-ui-date-interface.ts +18 -0
- package/src/components/date/acai-ui-date.vue +191 -0
- package/src/components/date-range/acai-ui-date-range-interface.ts +27 -0
- package/src/components/date-range/acai-ui-date-range.vue +300 -0
- package/src/components/datetime/acai-ui-datetime-interface.ts +10 -0
- package/src/components/datetime/acai-ui-datetime.vue +203 -0
- package/src/components/datetime/data-hora-styles.scss +18 -0
- package/src/components/dialog/acai-ui-dialog-interface.ts +18 -0
- package/src/components/dialog/acai-ui-dialog.vue +168 -0
- package/src/components/divider/acai-ui-divider-interface.ts +4 -0
- package/src/components/divider/acai-ui-divider-styles.scss +42 -0
- package/src/components/divider/acai-ui-divider.vue +20 -0
- package/src/components/drawer/acai-ui-drawer-interface.ts +99 -0
- package/src/components/drawer/acai-ui-drawer-styles.scss +586 -0
- package/src/components/drawer/acai-ui-drawer.vue +802 -0
- package/src/components/drawer/drawer-sidebar-helper.ts +117 -0
- package/src/components/dropdown/acai-ui-dropdown-interface.ts +41 -0
- package/src/components/dropdown/acai-ui-dropdown-item.vue +36 -0
- package/src/components/dropdown/acai-ui-dropdown-styles.scss +90 -0
- package/src/components/dropdown/acai-ui-dropdown.vue +77 -0
- package/src/components/error-log/acai-ui-error-log-interface.ts +59 -0
- package/src/components/error-log/acai-ui-error-log-json-tree.vue +426 -0
- package/src/components/error-log/acai-ui-error-log-redigir.ts +74 -0
- package/src/components/error-log/acai-ui-error-log-styles.scss +137 -0
- package/src/components/error-log/acai-ui-error-log.vue +318 -0
- package/src/components/file/acai-ui-file-interface.ts +28 -0
- package/src/components/file/acai-ui-file.vue +85 -0
- package/src/components/file/arquivo-styles.scss +109 -0
- package/src/components/form/acai-ui-form-grid.scss +145 -0
- package/src/components/form/acai-ui-form-interface.ts +37 -0
- package/src/components/form/acai-ui-form-styles.scss +159 -0
- package/src/components/form/acai-ui-form-validation-modal.vue +216 -0
- package/src/components/form/acai-ui-form.vue +410 -0
- package/src/components/help/acai-ui-help-interface.ts +200 -0
- package/src/components/help/acai-ui-help-styles.scss +209 -0
- package/src/components/help/acai-ui-help.vue +259 -0
- package/src/components/help/acai-ui-tour-styles.scss +292 -0
- package/src/components/help/acai-ui-tour.vue +766 -0
- package/src/components/help/tour-escolha.ts +139 -0
- package/src/components/help/tour-posicionar.ts +148 -0
- package/src/components/help/tour-registry.ts +177 -0
- package/src/components/help/use-tour-visto.ts +81 -0
- package/src/components/icon/acai-ui-icon-interface.ts +12 -0
- package/src/components/icon/acai-ui-icon.vue +33 -0
- package/src/components/index.ts +149 -0
- package/src/components/input/acai-ui-input-interface.ts +20 -0
- package/src/components/input/acai-ui-input.vue +146 -0
- package/src/components/modal/acai-ui-modal-interface.ts +19 -0
- package/src/components/modal/acai-ui-modal-styles.scss +131 -0
- package/src/components/modal/acai-ui-modal.vue +83 -0
- package/src/components/pagination/acai-ui-pagination-interface.ts +8 -0
- package/src/components/pagination/acai-ui-pagination.vue +36 -0
- package/src/components/preferences/acai-ui-preferences-interface.ts +4 -0
- package/src/components/preferences/acai-ui-preferences-styles.scss +387 -0
- package/src/components/preferences/acai-ui-preferences.vue +349 -0
- package/src/components/progress/acai-ui-progress-interface.ts +20 -0
- package/src/components/progress/acai-ui-progress.vue +124 -0
- package/src/components/radio/acai-ui-radio-interface.ts +14 -0
- package/src/components/radio/acai-ui-radio.vue +78 -0
- package/src/components/section/acai-ui-section-styles.scss +93 -0
- package/src/components/section/acai-ui-section.vue +134 -0
- package/src/components/select/acai-ui-select-interface.ts +18 -0
- package/src/components/select/acai-ui-select.vue +322 -0
- package/src/components/session-clock/acai-ui-session-clock.vue +111 -0
- package/src/components/stepper/acai-ui-step-interface.ts +18 -0
- package/src/components/stepper/acai-ui-step.vue +37 -0
- package/src/components/stepper/acai-ui-stepper-interface.ts +56 -0
- package/src/components/stepper/acai-ui-stepper-styles.scss +222 -0
- package/src/components/stepper/acai-ui-stepper.vue +231 -0
- package/src/components/swagger/acai-ui-swagger-interface.ts +54 -0
- package/src/components/swagger/acai-ui-swagger-operacao.vue +372 -0
- package/src/components/swagger/acai-ui-swagger-requisicao.ts +272 -0
- package/src/components/swagger/acai-ui-swagger-schema.vue +36 -0
- package/src/components/swagger/acai-ui-swagger-styles.scss +883 -0
- package/src/components/swagger/acai-ui-swagger.vue +349 -0
- package/src/components/swagger/openapi-normalizar.ts +514 -0
- package/src/components/swagger/openapi-tipos.ts +198 -0
- package/src/components/table/acai-ui-table-interface.ts +60 -0
- package/src/components/table/acai-ui-table-justificativa.vue +135 -0
- package/src/components/table/acai-ui-table-styles.scss +293 -0
- package/src/components/table/acai-ui-table.vue +340 -0
- package/src/components/tabs/acai-ui-tab.vue +10 -0
- package/src/components/tabs/acai-ui-tabs-interface.ts +48 -0
- package/src/components/tabs/acai-ui-tabs-styles.scss +78 -0
- package/src/components/tabs/acai-ui-tabs.vue +137 -0
- package/src/components/time/acai-ui-time-interface.ts +14 -0
- package/src/components/time/acai-ui-time.vue +86 -0
- package/src/components/toggle/acai-ui-toggle-interface.ts +13 -0
- package/src/components/toggle/acai-ui-toggle.vue +162 -0
- package/src/components/tooltip/acai-ui-tooltip-interface.ts +11 -0
- package/src/components/tooltip/acai-ui-tooltip-styles.scss +104 -0
- package/src/components/tooltip/acai-ui-tooltip.vue +90 -0
- package/src/components/user-menu/acai-ui-user-menu-interface.ts +13 -0
- package/src/components/user-menu/acai-ui-user-menu-styles.scss +125 -0
- package/src/components/user-menu/acai-ui-user-menu.vue +139 -0
- package/src/components/validation/acai-ui-validation.vue +236 -0
- package/src/constants/chart-paleta.ts +162 -0
- package/src/constants/efeitos.ts +24 -0
- package/src/constants/index.ts +24 -0
- package/src/constants/lista-icons.ts +156 -0
- package/src/constants/medidas-espacos.ts +15 -0
- package/src/constants/radius.ts +15 -0
- package/src/constants/status-badge.ts +44 -0
- package/src/env.d.ts +7 -0
- package/src/hooks/filtros-url-internos.ts +497 -0
- package/src/hooks/index.ts +22 -0
- package/src/hooks/notify.ts +18 -0
- package/src/hooks/use-contador-sessao.ts +95 -0
- package/src/hooks/use-filtros-na-url.ts +174 -0
- package/src/hooks/use-leitura-voz.ts +346 -0
- package/src/hooks/use-listagem-na-url.ts +614 -0
- package/src/hooks/use-preferencias.ts +152 -0
- package/src/hooks/use-repasse-quasar.ts +63 -0
- package/src/hooks/use-tamanho-elemento.ts +107 -0
- package/src/hooks/use-tela.ts +114 -0
- package/src/hooks/use-validacao-visual.ts +189 -0
- package/src/index.ts +30 -0
- package/src/plugin.ts +134 -0
- package/src/scss/_badge.scss +12 -0
- package/src/scss/_breakpoints.scss +102 -0
- package/src/scss/_color-utilities.scss +105 -0
- package/src/scss/_controls.scss +135 -0
- package/src/scss/_ds-input-base.scss +302 -0
- package/src/scss/_ds-picker-m3.scss +179 -0
- package/src/scss/_effects.scss +42 -0
- package/src/scss/_overlays.scss +13 -0
- package/src/scss/_radius.scss +24 -0
- package/src/scss/_reset.scss +60 -0
- package/src/scss/_scrollbar.scss +78 -0
- package/src/scss/_spacing.scss +15 -0
- package/src/scss/_themes.scss +493 -0
- package/src/scss/_typography.scss +50 -0
- package/src/scss/_utilities.scss +75 -0
- package/src/scss/_variables.scss +143 -0
- package/src/scss/api.scss +77 -0
- package/src/scss/tokens.scss +13 -0
- package/src/styles-global.scss +30 -0
- package/src/utils/date-utils.ts +128 -0
- package/src/utils/dialog-utils.ts +59 -0
- package/src/utils/file-utils.ts +85 -0
- package/src/utils/filtro-input.ts +41 -0
- package/src/utils/form-rules.ts +202 -0
- package/src/utils/formatadores.ts +97 -0
- package/src/utils/gerador-id.ts +29 -0
- package/src/utils/hint-mensagem.ts +25 -0
- package/src/utils/index.ts +32 -0
- package/src/utils/limpar-campos.ts +94 -0
- package/src/utils/masks.ts +19 -0
- package/src/utils/medidas-util.ts +5 -0
- package/src/utils/normalizar-label.ts +9 -0
- package/src/utils/scroll-elemento.ts +34 -0
- package/src/utils/validar-campo.ts +27 -0
- package/src/utils/validar-documentos.ts +86 -0
- package/src/utils/vnode-slot.ts +74 -0
|
@@ -0,0 +1,410 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<q-form
|
|
3
|
+
class="acai-ui-form"
|
|
4
|
+
@submit.prevent="onFormSubmit"
|
|
5
|
+
@validation-error="onValidationError"
|
|
6
|
+
@reset="onReset"
|
|
7
|
+
ref="formRef"
|
|
8
|
+
greedy
|
|
9
|
+
>
|
|
10
|
+
<header v-if="title">
|
|
11
|
+
<h2>{{ title }}</h2>
|
|
12
|
+
</header>
|
|
13
|
+
|
|
14
|
+
<slot />
|
|
15
|
+
|
|
16
|
+
<!-- A linha de ações aparece se houver slot #actions OU se os botões não
|
|
17
|
+
estão ocultos. `hideButtons` esconde só os botões submit/reset — NÃO o
|
|
18
|
+
slot #actions (senão consumidores com hide-buttons perdem as próprias
|
|
19
|
+
ações, ex: dropdown "Ações"). -->
|
|
20
|
+
<div v-if="!hideButtons || $slots.actions" class="acai-ui-form__actions">
|
|
21
|
+
<!--
|
|
22
|
+
AÇÕES EXTRAS DO CONSUMIDOR
|
|
23
|
+
|
|
24
|
+
No desktop ficam soltas à esquerda, como sempre.
|
|
25
|
+
|
|
26
|
+
No celular (≤600px) elas COLAPSAM num dropdown de uma linha só. O motivo
|
|
27
|
+
é aritmético: um formulário de busca costuma ter "Exportar", "Imprimir",
|
|
28
|
+
"Nova cobrança"… e cada rótulo desses come 90–120px. Somados aos dois
|
|
29
|
+
botões fixos, não cabem em 360px — a linha quebrava em três e empurrava o
|
|
30
|
+
formulário pra baixo. Recolhidas, sobra a tela inteira pra ação
|
|
31
|
+
principal, que é o que a pessoa veio fazer.
|
|
32
|
+
-->
|
|
33
|
+
<div v-if="$slots.actions" class="acai-ui-form__actions-extra">
|
|
34
|
+
<acai-ui-actions
|
|
35
|
+
:label="actionsLabel"
|
|
36
|
+
:collapse="collapseActions"
|
|
37
|
+
button-class="acai-ui-form__actions-menu"
|
|
38
|
+
>
|
|
39
|
+
<slot name="actions" />
|
|
40
|
+
</acai-ui-actions>
|
|
41
|
+
</div>
|
|
42
|
+
|
|
43
|
+
<div v-if="!hideButtons" class="acai-ui-form__actions-buttons">
|
|
44
|
+
<acai-ui-button
|
|
45
|
+
v-if="!hideSubmit"
|
|
46
|
+
outline
|
|
47
|
+
type="submit"
|
|
48
|
+
class="acai-ui-form__submit"
|
|
49
|
+
:label="submitLabel"
|
|
50
|
+
v-bind="iconRightSubmit ? { iconRight: iconRightSubmit } : {}"
|
|
51
|
+
/>
|
|
52
|
+
<acai-ui-button
|
|
53
|
+
v-if="!hideReset"
|
|
54
|
+
type="reset"
|
|
55
|
+
class="acai-ui-form__reset"
|
|
56
|
+
icon="delete_outline"
|
|
57
|
+
color="negative"
|
|
58
|
+
/>
|
|
59
|
+
</div>
|
|
60
|
+
</div>
|
|
61
|
+
|
|
62
|
+
<acai-ui-validation
|
|
63
|
+
v-if="!hideValidationModal"
|
|
64
|
+
v-model="modalValidacaoAberto"
|
|
65
|
+
:campos="errosParaModal"
|
|
66
|
+
@navegar="onNavegarModal"
|
|
67
|
+
/>
|
|
68
|
+
</q-form>
|
|
69
|
+
</template>
|
|
70
|
+
|
|
71
|
+
<script setup lang="ts">
|
|
72
|
+
import { ref, nextTick, computed } from 'vue'
|
|
73
|
+
import type { QForm } from 'quasar'
|
|
74
|
+
import type { FormProps, FormError } from './acai-ui-form-interface'
|
|
75
|
+
import type { MaterialIconValues } from '../../constants/lista-icons'
|
|
76
|
+
import AcaiUiActions from '../actions/acai-ui-actions.vue'
|
|
77
|
+
import AcaiUiButton from '../button/acai-ui-button.vue'
|
|
78
|
+
import AcaiUiValidation from '../validation/acai-ui-validation.vue'
|
|
79
|
+
import type { ErroValidacao } from '../../hooks/use-validacao-visual'
|
|
80
|
+
|
|
81
|
+
const props = withDefaults(defineProps<FormProps>(), {
|
|
82
|
+
submitLabel: 'Pesquisar',
|
|
83
|
+
actionsLabel: 'Ações',
|
|
84
|
+
iconSubmit: 'search',
|
|
85
|
+
hideReset: false,
|
|
86
|
+
hideSubmit: false,
|
|
87
|
+
hideButtons: false,
|
|
88
|
+
hideValidationModal: false,
|
|
89
|
+
collapseActions: true,
|
|
90
|
+
})
|
|
91
|
+
|
|
92
|
+
// O recolhimento das ações no celular mora no <acai-ui-actions>, compartilhado
|
|
93
|
+
// com card e section — assim a regra existe uma vez só.
|
|
94
|
+
|
|
95
|
+
// iconSubmit é `string | boolean` (para o Vue inferir o runtime type correto e
|
|
96
|
+
// não warnar o default 'search'). Aqui reduzimos ao tipo de ícone: string vira o
|
|
97
|
+
// nome do ícone; boolean (ou vazio) = sem ícone à direita.
|
|
98
|
+
const iconRightSubmit = computed<MaterialIconValues | undefined>(() =>
|
|
99
|
+
typeof props.iconSubmit === 'string' ? (props.iconSubmit as MaterialIconValues) : undefined,
|
|
100
|
+
)
|
|
101
|
+
|
|
102
|
+
const emit = defineEmits<{
|
|
103
|
+
submit: []
|
|
104
|
+
reset: []
|
|
105
|
+
'validation-errors': [errors: FormError[]]
|
|
106
|
+
}>()
|
|
107
|
+
|
|
108
|
+
const formRef = ref<QForm | null>(null)
|
|
109
|
+
const modalValidacaoAberto = ref(false)
|
|
110
|
+
const errosColetados = ref<FormError[]>([])
|
|
111
|
+
|
|
112
|
+
// Converte FormError[] para ErroValidacao[] (formato do modal).
|
|
113
|
+
// O `group` vem de detectarGrupo() já no formato "Aba — Seção" quando
|
|
114
|
+
// há hierarquia. Split em ' — ' separa em aba (1ª parte) e seção (2ª).
|
|
115
|
+
const errosParaModal = computed<ErroValidacao[]>(() => {
|
|
116
|
+
return errosColetados.value.map((erro) => {
|
|
117
|
+
const grupo = erro.group ?? ''
|
|
118
|
+
const partes = grupo.includes(' — ') ? grupo.split(' — ') : []
|
|
119
|
+
const aba = partes[0] ?? (grupo || 'Geral')
|
|
120
|
+
const secao = partes[1] ?? (partes[0] ? grupo : grupo || 'Geral')
|
|
121
|
+
return {
|
|
122
|
+
label: erro.label,
|
|
123
|
+
aba: partes.length > 1 ? aba : 'Geral',
|
|
124
|
+
secao: partes.length > 1 ? secao : (grupo || 'Geral'),
|
|
125
|
+
}
|
|
126
|
+
})
|
|
127
|
+
})
|
|
128
|
+
|
|
129
|
+
// Mapa de elemento por label para navegação
|
|
130
|
+
const mapaElementos = computed<Map<string, FormError>>(() => {
|
|
131
|
+
const mapa = new Map<string, FormError>()
|
|
132
|
+
for (const erro of errosColetados.value) {
|
|
133
|
+
mapa.set(`${erro.group || 'Geral'}-${erro.label}`, erro)
|
|
134
|
+
}
|
|
135
|
+
return mapa
|
|
136
|
+
})
|
|
137
|
+
|
|
138
|
+
function coletarErros(): FormError[] {
|
|
139
|
+
const el = formRef.value?.$el as HTMLElement | undefined
|
|
140
|
+
if (!el) return []
|
|
141
|
+
|
|
142
|
+
const camposComErro = el.querySelectorAll('.q-field--error')
|
|
143
|
+
const erros: FormError[] = []
|
|
144
|
+
|
|
145
|
+
camposComErro.forEach((campo) => {
|
|
146
|
+
const htmlCampo = campo as HTMLElement
|
|
147
|
+
|
|
148
|
+
const labelEl = campo.querySelector('.q-field__label')
|
|
149
|
+
let label = labelEl?.textContent?.trim()?.replace(/\s*\*\s*$/, '').trim() || ''
|
|
150
|
+
if (!label) {
|
|
151
|
+
const placeholder = campo.querySelector('input')?.getAttribute('placeholder')
|
|
152
|
+
label = placeholder || 'Campo sem label'
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
const msgEl = campo.querySelector('.q-field__messages > div')
|
|
156
|
+
const message = msgEl?.textContent?.trim() || 'Campo inválido'
|
|
157
|
+
|
|
158
|
+
const group = detectarGrupo(htmlCampo)
|
|
159
|
+
|
|
160
|
+
erros.push({ label, message, element: htmlCampo, ...(group ? { group } : {}) })
|
|
161
|
+
})
|
|
162
|
+
|
|
163
|
+
return erros
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
* Detecta o "caminho" do campo no formulário, combinando ancestrais
|
|
168
|
+
* conhecidos em hierarquia (Tab → Section). Isso permite distinguir,
|
|
169
|
+
* por exemplo, "Dados básicos" da aba Pessoal e "Dados básicos" da
|
|
170
|
+
* aba Profissional — que sem hierarquia colidiriam.
|
|
171
|
+
*
|
|
172
|
+
* Ordem de busca:
|
|
173
|
+
* 1. Tab (AcaiUiTabs ou q-tab-panel nativo) — nível superior
|
|
174
|
+
* 2. Stepper step — nível superior alternativo
|
|
175
|
+
* 3. Section (AcaiUiSection / secao-ficha) — sub-grupo
|
|
176
|
+
* 4. Card — fallback quando nada acima existe
|
|
177
|
+
*
|
|
178
|
+
* Retorna "Tab — Section", "Tab", "Section" ou "Card" conforme
|
|
179
|
+
* o que estiver disponível.
|
|
180
|
+
*/
|
|
181
|
+
function detectarGrupo(campo: HTMLElement): string | undefined {
|
|
182
|
+
const partes: string[] = []
|
|
183
|
+
|
|
184
|
+
// === Nível superior: Tab ou Step ===
|
|
185
|
+
const dsTabPanel = campo.closest('.ds-tabs__panel') as HTMLElement | null
|
|
186
|
+
if (dsTabPanel) {
|
|
187
|
+
const panels = dsTabPanel.parentElement?.querySelectorAll('.ds-tabs__panel')
|
|
188
|
+
if (panels) {
|
|
189
|
+
const index = Array.from(panels).indexOf(dsTabPanel)
|
|
190
|
+
const tabsContainer = dsTabPanel.parentElement?.previousElementSibling
|
|
191
|
+
const tabs = tabsContainer?.querySelectorAll('.q-tab')
|
|
192
|
+
if (tabs && tabs[index]) {
|
|
193
|
+
const tabLabel = tabs[index]
|
|
194
|
+
.querySelector('.ds-tabs__tab-content span')
|
|
195
|
+
?.textContent?.trim()
|
|
196
|
+
if (tabLabel) partes.push(tabLabel)
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
} else {
|
|
200
|
+
const tabPanel = campo.closest('.q-tab-panel')
|
|
201
|
+
if (tabPanel) {
|
|
202
|
+
const panelName =
|
|
203
|
+
tabPanel.getAttribute('name') || tabPanel.getAttribute('data-name')
|
|
204
|
+
if (panelName) partes.push(panelName)
|
|
205
|
+
} else {
|
|
206
|
+
const stepPanel = campo.closest('.q-stepper__step-content')
|
|
207
|
+
if (stepPanel) {
|
|
208
|
+
const stepInner = stepPanel.closest('.q-stepper__step')
|
|
209
|
+
const stepHeader = stepInner?.querySelector('.q-stepper__title')
|
|
210
|
+
const stepTitle = stepHeader?.textContent?.trim()
|
|
211
|
+
if (stepTitle) partes.push(stepTitle)
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
// === Sub-grupo: Section (AcaiUiSection / secao-ficha) ===
|
|
217
|
+
const secaoFicha = campo.closest('.secao-ficha')
|
|
218
|
+
if (secaoFicha) {
|
|
219
|
+
const title = secaoFicha
|
|
220
|
+
.querySelector('.secao-ficha__titulo')
|
|
221
|
+
?.textContent?.trim()
|
|
222
|
+
if (title) partes.push(title)
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
if (partes.length > 0) {
|
|
226
|
+
return partes.join(' — ')
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
// === Fallback: Card ===
|
|
230
|
+
const card = campo.closest('.q-card')
|
|
231
|
+
if (card) {
|
|
232
|
+
const cardTitle = card.querySelector(
|
|
233
|
+
'.card-container-header h2, .card-container-header span',
|
|
234
|
+
)
|
|
235
|
+
const titulo = cardTitle?.textContent?.trim()
|
|
236
|
+
if (titulo) return titulo
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
return undefined
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
function ativarAbaDoErro(erro: FormError): void {
|
|
243
|
+
const dsTabPanel = erro.element.closest('.ds-tabs__panel') as HTMLElement | null
|
|
244
|
+
if (dsTabPanel) {
|
|
245
|
+
const panels = dsTabPanel.parentElement?.querySelectorAll('.ds-tabs__panel')
|
|
246
|
+
if (panels) {
|
|
247
|
+
const index = Array.from(panels).indexOf(dsTabPanel)
|
|
248
|
+
const tabsContainer = dsTabPanel.parentElement?.previousElementSibling
|
|
249
|
+
const tabEls = tabsContainer?.querySelectorAll('.q-tab') as NodeListOf<HTMLElement> | undefined
|
|
250
|
+
if (tabEls && tabEls[index]) {
|
|
251
|
+
tabEls[index].click()
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
function onNavegarModal(erroValidacao: ErroValidacao): void {
|
|
258
|
+
// O `errosParaModal` separa o group em aba + secao. Aqui reconstruímos
|
|
259
|
+
// o `group` original ("Aba — Seção" ou só "Seção") para bater com a
|
|
260
|
+
// chave registrada em `mapaElementos`.
|
|
261
|
+
const group =
|
|
262
|
+
erroValidacao.aba && erroValidacao.aba !== 'Geral'
|
|
263
|
+
? `${erroValidacao.aba} — ${erroValidacao.secao}`
|
|
264
|
+
: erroValidacao.secao
|
|
265
|
+
const key = `${group}-${erroValidacao.label}`
|
|
266
|
+
const erroOriginal = mapaElementos.value.get(key)
|
|
267
|
+
if (!erroOriginal) return
|
|
268
|
+
|
|
269
|
+
ativarAbaDoErro(erroOriginal)
|
|
270
|
+
|
|
271
|
+
// 300ms: dá tempo da aba/painel do erro ficar visível (quando há tabs).
|
|
272
|
+
setTimeout(() => {
|
|
273
|
+
const el = erroOriginal.element
|
|
274
|
+
focarCampoErro(el)
|
|
275
|
+
rolarEDestacar(el)
|
|
276
|
+
}, 300)
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
/**
|
|
280
|
+
* Rola até o campo e só então aplica o pulso. O destaque PRECISA esperar a
|
|
281
|
+
* rolagem suave assentar: se aplicado junto com o `scrollIntoView`, a animação
|
|
282
|
+
* (curta) roda fora da viewport e o campo "não pisca" — sintoma típico do 2º
|
|
283
|
+
* erro em diante, que costuma estar mais abaixo e exige uma rolagem maior.
|
|
284
|
+
*/
|
|
285
|
+
function rolarEDestacar(el: HTMLElement): void {
|
|
286
|
+
el.scrollIntoView({ behavior: 'smooth', block: 'center' })
|
|
287
|
+
|
|
288
|
+
let feito = false
|
|
289
|
+
const aplicar = (): void => {
|
|
290
|
+
if (feito) return
|
|
291
|
+
feito = true
|
|
292
|
+
window.removeEventListener('scrollend', aplicar)
|
|
293
|
+
destacarCampo(el)
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
// `scrollend` cobre a rolagem da viewport; o timeout é fallback pra rolagem
|
|
297
|
+
// em container interno (scrollend não chega à window) e pro caso sem rolagem.
|
|
298
|
+
window.addEventListener('scrollend', aplicar, { once: true })
|
|
299
|
+
setTimeout(aplicar, 600)
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
/**
|
|
303
|
+
* Aplica o pulso de destaque forçando o restart da animação CSS (remove →
|
|
304
|
+
* reflow → add). Sem o reflow, navegar duas vezes pro MESMO campo não
|
|
305
|
+
* reinicia a animação.
|
|
306
|
+
*/
|
|
307
|
+
function destacarCampo(el: HTMLElement): void {
|
|
308
|
+
el.classList.remove('fvm-highlight')
|
|
309
|
+
void el.offsetWidth // força reflow → reinicia a animação
|
|
310
|
+
el.classList.add('fvm-highlight')
|
|
311
|
+
setTimeout(() => el.classList.remove('fvm-highlight'), 2000)
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
/**
|
|
315
|
+
* eMAG 6.7: ao avisar erro, foco do teclado deve voltar ao campo problemático.
|
|
316
|
+
* Procura o primeiro elemento focável dentro do wrapper `.q-field` cobrindo
|
|
317
|
+
* todos os tipos suportados (input/select/textarea + componentes ARIA do
|
|
318
|
+
* Quasar como checkbox/radio/toggle).
|
|
319
|
+
*/
|
|
320
|
+
function focarCampoErro(wrapper: HTMLElement): void {
|
|
321
|
+
const seletoresFocaveis = [
|
|
322
|
+
'input:not([type="hidden"]):not(.hidden)',
|
|
323
|
+
'select',
|
|
324
|
+
'textarea',
|
|
325
|
+
'[role="combobox"]',
|
|
326
|
+
'[role="checkbox"]',
|
|
327
|
+
'[role="radio"]',
|
|
328
|
+
'[role="switch"]',
|
|
329
|
+
].join(',')
|
|
330
|
+
const focavel = wrapper.querySelector<HTMLElement>(seletoresFocaveis)
|
|
331
|
+
focavel?.focus({ preventScroll: true })
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
/** Chamado pelo q-form quando validação PASSA */
|
|
335
|
+
function onFormSubmit(): void {
|
|
336
|
+
emit('submit')
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
/** Chamado pelo q-form quando validação FALHA */
|
|
340
|
+
async function onValidationError(): Promise<void> {
|
|
341
|
+
if (props.hideValidationModal) return
|
|
342
|
+
|
|
343
|
+
await nextTick()
|
|
344
|
+
await new Promise((r) => setTimeout(r, 100))
|
|
345
|
+
|
|
346
|
+
errosColetados.value = coletarErros()
|
|
347
|
+
emit('validation-errors', errosColetados.value)
|
|
348
|
+
|
|
349
|
+
if (errosColetados.value.length > 0) {
|
|
350
|
+
modalValidacaoAberto.value = true
|
|
351
|
+
} else {
|
|
352
|
+
scrollParaPrimeiroErro()
|
|
353
|
+
}
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
const scrollParaPrimeiroErro = async (): Promise<void> => {
|
|
357
|
+
await nextTick()
|
|
358
|
+
const primeiroErro = formRef.value?.$el?.querySelector('.q-field--error') as HTMLElement | null
|
|
359
|
+
if (primeiroErro) {
|
|
360
|
+
primeiroErro.scrollIntoView({ behavior: 'smooth', block: 'center' })
|
|
361
|
+
}
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
const onReset = (): void => {
|
|
365
|
+
errosColetados.value = []
|
|
366
|
+
emit('reset')
|
|
367
|
+
resetValidation()
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
const validate = async (): Promise<boolean> => {
|
|
371
|
+
return (await formRef.value?.validate()) ?? false
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
const reset = (): void => {
|
|
375
|
+
formRef.value?.reset()
|
|
376
|
+
formRef.value?.resetValidation()
|
|
377
|
+
errosColetados.value = []
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
const resetValidation = (): void => {
|
|
381
|
+
formRef.value?.resetValidation()
|
|
382
|
+
errosColetados.value = []
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
defineExpose({
|
|
386
|
+
validate,
|
|
387
|
+
reset,
|
|
388
|
+
resetValidation,
|
|
389
|
+
formRef,
|
|
390
|
+
coletarErros,
|
|
391
|
+
})
|
|
392
|
+
</script>
|
|
393
|
+
|
|
394
|
+
<style lang="scss" scoped>
|
|
395
|
+
@import './acai-ui-form-styles.scss';
|
|
396
|
+
</style>
|
|
397
|
+
|
|
398
|
+
<style lang="scss">
|
|
399
|
+
@import './acai-ui-form-grid.scss';
|
|
400
|
+
|
|
401
|
+
@keyframes fvm-pulse {
|
|
402
|
+
0%, 100% { box-shadow: none; }
|
|
403
|
+
50% { box-shadow: 0 0 0 3px rgba($warning, 0.4); }
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
.fvm-highlight {
|
|
407
|
+
animation: fvm-pulse 0.6s ease 2;
|
|
408
|
+
border-radius: 8px;
|
|
409
|
+
}
|
|
410
|
+
</style>
|
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
import type { MaterialIconValues } from '../../constants/lista-icons'
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* O `| undefined` explícito em cada opcional é por causa do
|
|
5
|
+
* `exactOptionalPropertyTypes`: sem ele o consumidor não consegue escrever
|
|
6
|
+
* `:auto-start="algo || undefined"` — padrão comum quando o valor vem de estado.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
/** Um tópico de dúvida listado no modal "Ajuda". */
|
|
10
|
+
export interface HelpTopic {
|
|
11
|
+
title: string
|
|
12
|
+
text: string
|
|
13
|
+
/** Ícone à esquerda do título. Só a lista curada (`MaterialIconsEnum`). */
|
|
14
|
+
icon?: MaterialIconValues | undefined
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
/** Lado preferido do balão em relação ao elemento iluminado. */
|
|
18
|
+
export type TourPlacement = 'auto' | 'top' | 'bottom' | 'left' | 'right'
|
|
19
|
+
|
|
20
|
+
/** Afunila os candidatos a alvo. Puro: recebe a lista, devolve outra. */
|
|
21
|
+
export type TourFilter = (elementos: HTMLElement[]) => HTMLElement[]
|
|
22
|
+
|
|
23
|
+
/** Fecha a escolha: recebe os candidatos, devolve o eleito (ou `null`). */
|
|
24
|
+
export type TourPick = (elementos: HTMLElement[]) => HTMLElement | null
|
|
25
|
+
|
|
26
|
+
/** Como achar um elemento na tela. Compartilhado pelo passo e pela ativação. */
|
|
27
|
+
export interface TourAnchor {
|
|
28
|
+
/**
|
|
29
|
+
* Nome registrado no elemento via `v-acai-tour="'cpf'"`. É a forma preferida:
|
|
30
|
+
* sobrevive a refatoração de classe/id e funciona em qualquer componente.
|
|
31
|
+
*/
|
|
32
|
+
target?: string | undefined
|
|
33
|
+
/**
|
|
34
|
+
* Alternativa por seletor CSS, para quando não dá pra pôr a diretiva — caso
|
|
35
|
+
* típico: DOM interna de um componente da lib ou do Quasar.
|
|
36
|
+
* Usado só quando `target` não resolve.
|
|
37
|
+
*/
|
|
38
|
+
selector?: string | undefined
|
|
39
|
+
/**
|
|
40
|
+
* Quanto esperar (ms) o elemento aparecer no DOM antes de desistir.
|
|
41
|
+
* Cobre elemento que só existe depois de carregar dados. Default 1500.
|
|
42
|
+
*/
|
|
43
|
+
waitFor?: number | undefined
|
|
44
|
+
/**
|
|
45
|
+
* Qual, quando o nome existe mais de uma vez na tela — linha de `v-for`,
|
|
46
|
+
* bloco duplicado por perfil, aba montada escondida. Monte com os
|
|
47
|
+
* combinadores: `escolher(visiveis, primeiro)`, `escolher(comTexto('Situação'))`,
|
|
48
|
+
* `escolher(dentroDe('filtros'), nEsimo(1))`.
|
|
49
|
+
*
|
|
50
|
+
* Sem `pick`, vale o padrão de sempre: o primeiro do documento que está à
|
|
51
|
+
* vista. Também filtra o resultado de `selector`, não só o de `target`.
|
|
52
|
+
*/
|
|
53
|
+
pick?: TourPick | undefined
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* O que o tour ACIONA antes do passo, pra abrir sozinho o que vai explicar
|
|
58
|
+
* (trocar de aba, expandir um painel, abrir um menu). Sem isto, um tour que
|
|
59
|
+
* atravessa abas vira uma sequência de cliques obrigatórios no meio do
|
|
60
|
+
* caminho — e cada clique não dado apaga o bloco inteiro de passos que
|
|
61
|
+
* dependia dele.
|
|
62
|
+
*/
|
|
63
|
+
export interface TourActivate extends TourAnchor {
|
|
64
|
+
/**
|
|
65
|
+
* Aciona mesmo quando o alvo do passo já está à vista. Default `false`:
|
|
66
|
+
* o acionamento costuma ser um toggle (aba, expansion), e repetí-lo ao
|
|
67
|
+
* voltar pro passo fecharia justamente o que ele abriu.
|
|
68
|
+
*/
|
|
69
|
+
always?: boolean | undefined
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* Quando um passo `interactive` avança sozinho.
|
|
74
|
+
* - `'click'` (default do passo interativo) — assim que o usuário aciona o
|
|
75
|
+
* elemento iluminado. É o que a instrução "clique em Pesquisar" promete.
|
|
76
|
+
* - `'manual'` — só pelo botão "Próximo". Use quando a ação pedida é digitar
|
|
77
|
+
* ou quando o clique não é o fim do passo.
|
|
78
|
+
*/
|
|
79
|
+
export type TourAdvanceOn = 'click' | 'manual'
|
|
80
|
+
|
|
81
|
+
/** Um passo do tour: o que iluminar e o que explicar. */
|
|
82
|
+
export interface TourStep extends TourAnchor {
|
|
83
|
+
title?: string | undefined
|
|
84
|
+
text: string
|
|
85
|
+
/** Default 'auto': tenta bottom → top → right → left e cai no que couber. */
|
|
86
|
+
placement?: TourPlacement | undefined
|
|
87
|
+
/**
|
|
88
|
+
* Deixa o clique CHEGAR no elemento iluminado (ex.: "agora clique em
|
|
89
|
+
* Pesquisar"). Default `false` — o tour bloqueia a tela inteira e o usuário
|
|
90
|
+
* avança só pelos botões do balão.
|
|
91
|
+
*/
|
|
92
|
+
interactive?: boolean | undefined
|
|
93
|
+
/** Só faz sentido com `interactive`. Default `'click'`. */
|
|
94
|
+
advanceOn?: TourAdvanceOn | undefined
|
|
95
|
+
/**
|
|
96
|
+
* Clique que o TOUR dá antes do passo, pra deixar o alvo à vista.
|
|
97
|
+
* Preferir a `activate` sobre pedir o clique ao usuário: um passo
|
|
98
|
+
* `interactive` no meio da trilha é um ponto onde o tour se desfaz se a
|
|
99
|
+
* pessoa não obedecer.
|
|
100
|
+
*/
|
|
101
|
+
activate?: TourActivate | undefined
|
|
102
|
+
/**
|
|
103
|
+
* Escape hatch pro que `activate` não cobre (abrir por store, carregar
|
|
104
|
+
* dados). Roda antes de `activate` e antes de procurar o alvo; se devolver
|
|
105
|
+
* Promise, o tour espera.
|
|
106
|
+
*/
|
|
107
|
+
before?: (() => void | Promise<void>) | undefined
|
|
108
|
+
/** Folga entre o elemento e a borda do recorte, em px. Default 8. */
|
|
109
|
+
padding?: number | undefined
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
/** Por que um passo não foi mostrado. */
|
|
113
|
+
export type TourSkipReason =
|
|
114
|
+
/** O alvo do passo não apareceu dentro do `waitFor`. */
|
|
115
|
+
| 'target-not-found'
|
|
116
|
+
/** O elemento da `activate` não apareceu — o passo nem teve como abrir. */
|
|
117
|
+
| 'activate-not-found'
|
|
118
|
+
/** O usuário desistiu da espera pelo botão "Pular". */
|
|
119
|
+
| 'cancelled'
|
|
120
|
+
|
|
121
|
+
/** Payload de `@step-skipped` — emitido SEMPRE, inclusive em produção. */
|
|
122
|
+
export interface TourSkip {
|
|
123
|
+
/** Índice 0-based do passo pulado, na lista original. */
|
|
124
|
+
index: number
|
|
125
|
+
step: TourStep
|
|
126
|
+
reason: TourSkipReason
|
|
127
|
+
/** `target` ou `selector` procurado, já resolvido pra log/telemetria. */
|
|
128
|
+
reference: string
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
/** A sequência guiada — o "Aprenda a usar". */
|
|
132
|
+
export interface TourContent {
|
|
133
|
+
/**
|
|
134
|
+
* Identificador estável do tour. É a chave da persistência "já viu este
|
|
135
|
+
* tour" — mudar o id faz o tour ser oferecido de novo a todo mundo.
|
|
136
|
+
*/
|
|
137
|
+
id: string
|
|
138
|
+
/** Título mostrado no botão e no cabeçalho do balão. Default "Aprenda a usar". */
|
|
139
|
+
title?: string | undefined
|
|
140
|
+
steps: TourStep[]
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
/** Conteúdo completo da ajuda de uma tela. */
|
|
144
|
+
export interface HelpContent {
|
|
145
|
+
/** Título do modal. Default "Ajuda". */
|
|
146
|
+
title?: string | undefined
|
|
147
|
+
topics?: HelpTopic[] | undefined
|
|
148
|
+
tour?: TourContent | undefined
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
export interface HelpProps {
|
|
152
|
+
content: HelpContent
|
|
153
|
+
/** Ícone do botão gatilho. Default 'help'. */
|
|
154
|
+
icon?: MaterialIconValues | undefined
|
|
155
|
+
/** Rótulo acessível do gatilho. Default "Ajuda". */
|
|
156
|
+
ariaLabel?: string | undefined
|
|
157
|
+
/**
|
|
158
|
+
* Abre o tour sozinho na primeira visita do usuário a esta tela (usa a
|
|
159
|
+
* persistência por `tour.id`). Default false.
|
|
160
|
+
*/
|
|
161
|
+
autoStart?: boolean | undefined
|
|
162
|
+
/** Esconde o ponto "novo" no gatilho enquanto o tour nunca foi concluído. */
|
|
163
|
+
hideNewBadge?: boolean | undefined
|
|
164
|
+
/**
|
|
165
|
+
* Esconde os botões de ouvir (leitura em voz alta) dos tópicos e do tour.
|
|
166
|
+
*
|
|
167
|
+
* Eles só aparecem quando o navegador tem síntese de voz E a preferência
|
|
168
|
+
* "Leitura em voz alta" está ligada; esta prop é o desligamento por tela,
|
|
169
|
+
* para quem não quer o recurso em nenhuma condição. Default false.
|
|
170
|
+
*/
|
|
171
|
+
hideAudio?: boolean | undefined
|
|
172
|
+
/** Idioma da fala (BCP-47). Default 'pt-BR'. */
|
|
173
|
+
audioLang?: string | undefined
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
export interface TourProps {
|
|
177
|
+
tour: TourContent
|
|
178
|
+
/** Passo inicial (0-based). Default 0. */
|
|
179
|
+
startAt?: number | undefined
|
|
180
|
+
/** Esconde o botão de ouvir no balão. Default false. */
|
|
181
|
+
hideAudio?: boolean | undefined
|
|
182
|
+
/** Idioma da fala (BCP-47). Default 'pt-BR'. */
|
|
183
|
+
audioLang?: string | undefined
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
/** Retângulo do recorte, em coordenadas de viewport. */
|
|
187
|
+
export interface SpotlightRect {
|
|
188
|
+
top: number
|
|
189
|
+
left: number
|
|
190
|
+
width: number
|
|
191
|
+
height: number
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
/** Onde o balão foi parar, já resolvido. */
|
|
195
|
+
export interface BalloonPosition {
|
|
196
|
+
top: number
|
|
197
|
+
left: number
|
|
198
|
+
/** Lado efetivamente usado — o balão desenha a setinha a partir disto. */
|
|
199
|
+
side: Exclude<TourPlacement, 'auto'>
|
|
200
|
+
}
|