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,409 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="acai-ui-async-select">
|
|
3
|
+
<acai-ui-input
|
|
4
|
+
ref="inputRef"
|
|
5
|
+
v-model="texto"
|
|
6
|
+
v-bind="inputProps"
|
|
7
|
+
:loading="carregando || Boolean(loading)"
|
|
8
|
+
:error="Boolean(erroExibido)"
|
|
9
|
+
:error-message="erroExibido || ''"
|
|
10
|
+
@clear="aoLimpar"
|
|
11
|
+
>
|
|
12
|
+
<!-- Lupa CLICÁVEL no #append do próprio AcaiUiInput (mesmo lugar do
|
|
13
|
+
`icon-right`, então o campo fica idêntico ao input padrão). Clicar dispara
|
|
14
|
+
a busca imediatamente (útil se o auto-search por digitação falhar). -->
|
|
15
|
+
<template #append>
|
|
16
|
+
<acai-ui-icon
|
|
17
|
+
:name="iconeBusca"
|
|
18
|
+
class="acai-ui-async-select__lupa"
|
|
19
|
+
role="button"
|
|
20
|
+
tabindex="0"
|
|
21
|
+
aria-label="Buscar"
|
|
22
|
+
@click="pesquisarAgora"
|
|
23
|
+
@keydown="onLupaKeydown"
|
|
24
|
+
/>
|
|
25
|
+
</template>
|
|
26
|
+
</acai-ui-input>
|
|
27
|
+
|
|
28
|
+
<q-menu
|
|
29
|
+
v-if="menuTarget"
|
|
30
|
+
v-model="menuAberto"
|
|
31
|
+
:target="menuTarget"
|
|
32
|
+
:class="[classeMenu, 'acai-ui-async-select-popup']"
|
|
33
|
+
anchor="bottom left"
|
|
34
|
+
self="top left"
|
|
35
|
+
fit
|
|
36
|
+
no-parent-event
|
|
37
|
+
no-focus
|
|
38
|
+
@show="aoMostrarMenu"
|
|
39
|
+
@hide="aoEsconderMenu"
|
|
40
|
+
>
|
|
41
|
+
<q-list
|
|
42
|
+
separator
|
|
43
|
+
class="acai-ui-async-select-lista"
|
|
44
|
+
:style="{ maxHeight: popupMaxHeight, overflowY: 'auto' }"
|
|
45
|
+
>
|
|
46
|
+
<template v-if="resultados.length === 0">
|
|
47
|
+
<!-- Estado vazio: slot pra ação (ex.: "Cadastrar"); fallback = texto simples. -->
|
|
48
|
+
<slot name="empty" :term="texto.trim()">
|
|
49
|
+
<q-item dense>
|
|
50
|
+
<q-item-section class="acai-ui-async-select__empty">
|
|
51
|
+
{{ emptyLabel }}
|
|
52
|
+
</q-item-section>
|
|
53
|
+
</q-item>
|
|
54
|
+
</slot>
|
|
55
|
+
</template>
|
|
56
|
+
|
|
57
|
+
<q-item
|
|
58
|
+
v-for="(item, index) in resultados"
|
|
59
|
+
:key="chaveItem(item, index)"
|
|
60
|
+
clickable
|
|
61
|
+
@click="selecionar(item)"
|
|
62
|
+
>
|
|
63
|
+
<q-item-section>
|
|
64
|
+
<!-- Render de cada item: slot #item; fallback = optionLabel + optionCaption. -->
|
|
65
|
+
<slot name="item" :item="item" :index="index">
|
|
66
|
+
<q-item-label class="acai-ui-async-select__label">{{ rotulo(item) }}</q-item-label>
|
|
67
|
+
<q-item-label v-if="optionCaption" caption>{{ legenda(item) }}</q-item-label>
|
|
68
|
+
</slot>
|
|
69
|
+
</q-item-section>
|
|
70
|
+
</q-item>
|
|
71
|
+
</q-list>
|
|
72
|
+
</q-menu>
|
|
73
|
+
</div>
|
|
74
|
+
</template>
|
|
75
|
+
|
|
76
|
+
<script setup lang="ts" generic="T extends Record<string, unknown> = Record<string, unknown>">
|
|
77
|
+
import { computed, getCurrentInstance, nextTick, onBeforeUnmount, ref, useSlots, watch } from 'vue'
|
|
78
|
+
import type { Ref } from 'vue'
|
|
79
|
+
import type { MaterialIconValues } from '../../constants/lista-icons'
|
|
80
|
+
import type { AsyncSelectProps, OptionAccessor } from './acai-ui-async-select-interface'
|
|
81
|
+
import AcaiUiInput from '../input/acai-ui-input.vue'
|
|
82
|
+
// Import EXPLÍCITO (todos os componentes da lib fazem assim): sem ele o
|
|
83
|
+
// `<acai-ui-icon>` do template só resolve para quem registrou tudo globalmente
|
|
84
|
+
// via `app.use(AcaiUI)`. Quem importa componente a componente — caminho oficial
|
|
85
|
+
// para projeto existente — ficava sem a lupa e com warning no console.
|
|
86
|
+
import AcaiUiIcon from '../icon/acai-ui-icon.vue'
|
|
87
|
+
|
|
88
|
+
const props = withDefaults(defineProps<AsyncSelectProps<T>>(), {
|
|
89
|
+
iconRight: 'search',
|
|
90
|
+
debounce: 500,
|
|
91
|
+
minChars: 1,
|
|
92
|
+
autoSelectSingle: false,
|
|
93
|
+
emptyLabel: 'Nenhum resultado',
|
|
94
|
+
popupMaxHeight: '260px',
|
|
95
|
+
// Espelha o default do AcaiUiInput (`filled: true`). SEM isto, o boolean-casting do
|
|
96
|
+
// Vue faz a prop ausente virar `false`, e passaríamos `filled: false` pro input —
|
|
97
|
+
// ele ficava borderless em vez de idêntico ao input padrão (filled). As demais
|
|
98
|
+
// booleanas (disable/readonly/dense/clearable/required) têm default `false` no input,
|
|
99
|
+
// então o `false` do casting é inócuo.
|
|
100
|
+
filled: true,
|
|
101
|
+
outlined: false,
|
|
102
|
+
})
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* Ícone da lupa. O `?? 'search'` NÃO é redundante com o `withDefaults` acima:
|
|
106
|
+
* em componente GENÉRICO (`AsyncSelectProps<T>`) o TS não estreita o tipo pelos
|
|
107
|
+
* defaults, e `props.iconRight` continua `MaterialIconValues | undefined` mesmo
|
|
108
|
+
* com o default definido. Em runtime já chega 'search'; isto satisfaz o tipo.
|
|
109
|
+
*/
|
|
110
|
+
const iconeBusca = computed<MaterialIconValues>(() => props.iconRight ?? 'search')
|
|
111
|
+
|
|
112
|
+
/** v-model = o OBJETO INTEIRO do item selecionado (não só um id). */
|
|
113
|
+
const model = defineModel<T | null>({ default: null })
|
|
114
|
+
|
|
115
|
+
const emit = defineEmits<{
|
|
116
|
+
select: [item: T]
|
|
117
|
+
error: [erro: unknown]
|
|
118
|
+
}>()
|
|
119
|
+
|
|
120
|
+
const slots = useSlots()
|
|
121
|
+
|
|
122
|
+
const texto = ref('')
|
|
123
|
+
const resultados = ref<T[]>([]) as Ref<T[]>
|
|
124
|
+
const menuAberto = ref(false)
|
|
125
|
+
const carregando = ref(false)
|
|
126
|
+
const erroInterno = ref<string | null>(null)
|
|
127
|
+
// Trava o watcher de digitação enquanto aplicamos o rótulo programaticamente
|
|
128
|
+
// (seleção / valor inicial) — senão dispararia uma busca desnecessária.
|
|
129
|
+
const bloqueiaPesquisa = ref(false)
|
|
130
|
+
const inputRef = ref<InstanceType<typeof AcaiUiInput> | null>(null)
|
|
131
|
+
|
|
132
|
+
// Classe única por instância: o `class` do q-menu cai no elemento PORTALIZADO
|
|
133
|
+
// (`.q-menu`, fora da árvore do componente). Precisamos de um seletor determinístico
|
|
134
|
+
// pra pinar a largura.
|
|
135
|
+
const classeMenu = `acai-ui-async-select-menu--${getCurrentInstance()?.uid ?? 0}`
|
|
136
|
+
|
|
137
|
+
const erroExibido = computed(() => props.errorMessage || erroInterno.value || null)
|
|
138
|
+
|
|
139
|
+
// Passthrough pro AcaiUiInput via spread CONDICIONAL: com `exactOptionalPropertyTypes`
|
|
140
|
+
// não se pode passar `undefined` explícito numa prop opcional (só omitir). Cada chave
|
|
141
|
+
// só entra no objeto quando definida.
|
|
142
|
+
const inputProps = computed(() => ({
|
|
143
|
+
// iconRight NÃO entra aqui: a lupa é renderizada via slot #append (clicável).
|
|
144
|
+
...(props.label !== undefined && { label: props.label }),
|
|
145
|
+
...(props.placeholder !== undefined && { placeholder: props.placeholder }),
|
|
146
|
+
...(props.hint !== undefined && { hint: props.hint }),
|
|
147
|
+
...(props.disable !== undefined && { disable: props.disable }),
|
|
148
|
+
...(props.readonly !== undefined && { readonly: props.readonly }),
|
|
149
|
+
...(props.dense !== undefined && { dense: props.dense }),
|
|
150
|
+
...(props.outlined !== undefined && { outlined: props.outlined }),
|
|
151
|
+
...(props.filled !== undefined && { filled: props.filled }),
|
|
152
|
+
...(props.clearable !== undefined && { clearable: props.clearable }),
|
|
153
|
+
...(props.required !== undefined && { required: props.required }),
|
|
154
|
+
}))
|
|
155
|
+
|
|
156
|
+
// ---- Acessores (chave do objeto ou função) ----
|
|
157
|
+
function aplicarAcessor(item: T, acessor: OptionAccessor<T> | undefined): string {
|
|
158
|
+
if (acessor == null) return ''
|
|
159
|
+
if (typeof acessor === 'function') return acessor(item)
|
|
160
|
+
const valor = item[acessor]
|
|
161
|
+
return valor == null ? '' : String(valor)
|
|
162
|
+
}
|
|
163
|
+
function rotulo(item: T): string {
|
|
164
|
+
return aplicarAcessor(item, props.optionLabel)
|
|
165
|
+
}
|
|
166
|
+
function legenda(item: T): string {
|
|
167
|
+
return aplicarAcessor(item, props.optionCaption)
|
|
168
|
+
}
|
|
169
|
+
function chaveItem(item: T, index: number): string | number {
|
|
170
|
+
if (props.optionKey) return aplicarAcessor(item, props.optionKey) || index
|
|
171
|
+
const id = (item as Record<string, unknown>).id
|
|
172
|
+
return typeof id === 'string' || typeof id === 'number' ? id : index
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
// ---- Popup: âncora, largura, scroll ----
|
|
176
|
+
// Âncora = `.q-field__control` (a CAIXA do input), NÃO o `$el` do acai-ui-input — que
|
|
177
|
+
// é o `.q-field` inteiro e inclui o `.q-field__bottom` (hint/erro). Ancorando no `$el`,
|
|
178
|
+
// o popup nascia abaixo do HINT, "descolado" do campo.
|
|
179
|
+
const menuTarget = computed<HTMLElement | null>(() => {
|
|
180
|
+
const raiz = (inputRef.value?.$el ?? null) as HTMLElement | null
|
|
181
|
+
if (!raiz) return null
|
|
182
|
+
return raiz.querySelector<HTMLElement>('.q-field__control') ?? raiz
|
|
183
|
+
})
|
|
184
|
+
|
|
185
|
+
// O `fit` do q-menu só garante MIN-width — o position-engine do Quasar alarga o popup
|
|
186
|
+
// conforme o conteúdo. Pinamos width/min/max na abertura pra casar EXATO com o campo.
|
|
187
|
+
function pinarLarguraMenu(): void {
|
|
188
|
+
void nextTick(() => {
|
|
189
|
+
const alvo = menuTarget.value
|
|
190
|
+
const menu = document.querySelector<HTMLElement>(`.${classeMenu}`)
|
|
191
|
+
if (!alvo || !menu) return
|
|
192
|
+
const largura = `${alvo.getBoundingClientRect().width}px`
|
|
193
|
+
menu.style.width = largura
|
|
194
|
+
menu.style.minWidth = largura
|
|
195
|
+
menu.style.maxWidth = largura
|
|
196
|
+
})
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
function fecharMenu(e?: Event): void {
|
|
200
|
+
// Não fecha se o scroll veio de DENTRO do popup (rolar a própria lista de
|
|
201
|
+
// resultados). Só fecha no scroll de um ANCESTRAL do campo (página / corpo do
|
|
202
|
+
// modal) — que é quando o q-menu "descolaria".
|
|
203
|
+
const alvo = e?.target
|
|
204
|
+
if (alvo instanceof Node) {
|
|
205
|
+
const menu = document.querySelector(`.${classeMenu}`)
|
|
206
|
+
if (menu?.contains(alvo)) return
|
|
207
|
+
}
|
|
208
|
+
menuAberto.value = false
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
// No scroll o q-menu REPOSICIONA (é o que faz ele "descolar" do campo). Em vez disso,
|
|
212
|
+
// fechamos. `capture: true` porque o scroll NÃO borbulha — mas é capturável, então
|
|
213
|
+
// pegamos o scroll de QUALQUER ancestral (ex.: o corpo de um modal).
|
|
214
|
+
function aoMostrarMenu(): void {
|
|
215
|
+
pinarLarguraMenu()
|
|
216
|
+
window.addEventListener('scroll', fecharMenu, { capture: true, passive: true })
|
|
217
|
+
}
|
|
218
|
+
function aoEsconderMenu(): void {
|
|
219
|
+
window.removeEventListener('scroll', fecharMenu, { capture: true })
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
// ---- Debounce ----
|
|
223
|
+
let timer: ReturnType<typeof setTimeout> | null = null
|
|
224
|
+
function cancelarAgendada(): void {
|
|
225
|
+
if (timer !== null) {
|
|
226
|
+
clearTimeout(timer)
|
|
227
|
+
timer = null
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
function agendarPesquisa(): void {
|
|
231
|
+
cancelarAgendada()
|
|
232
|
+
timer = setTimeout(() => {
|
|
233
|
+
timer = null
|
|
234
|
+
void pesquisar()
|
|
235
|
+
}, props.debounce)
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
// Busca IMEDIATA (clique/enter na lupa) — ignora o debounce. Segunda forma de
|
|
239
|
+
// disparar, além do auto-search por digitação.
|
|
240
|
+
function pesquisarAgora(): void {
|
|
241
|
+
cancelarAgendada()
|
|
242
|
+
void pesquisar()
|
|
243
|
+
}
|
|
244
|
+
function onLupaKeydown(e: KeyboardEvent): void {
|
|
245
|
+
if (e.key === 'Enter' || e.key === ' ') {
|
|
246
|
+
e.preventDefault()
|
|
247
|
+
pesquisarAgora()
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
onBeforeUnmount(() => {
|
|
252
|
+
cancelarAgendada()
|
|
253
|
+
window.removeEventListener('scroll', fecharMenu, { capture: true })
|
|
254
|
+
})
|
|
255
|
+
|
|
256
|
+
// ---- Busca ----
|
|
257
|
+
async function pesquisar(): Promise<void> {
|
|
258
|
+
const termo = texto.value.trim()
|
|
259
|
+
if (termo.length < props.minChars) {
|
|
260
|
+
resultados.value = []
|
|
261
|
+
menuAberto.value = false
|
|
262
|
+
return
|
|
263
|
+
}
|
|
264
|
+
erroInterno.value = null
|
|
265
|
+
carregando.value = true
|
|
266
|
+
try {
|
|
267
|
+
const lista = await props.search(termo)
|
|
268
|
+
resultados.value = Array.isArray(lista) ? lista : []
|
|
269
|
+
if (props.autoSelectSingle && resultados.value.length === 1 && resultados.value[0]) {
|
|
270
|
+
selecionar(resultados.value[0])
|
|
271
|
+
return
|
|
272
|
+
}
|
|
273
|
+
// Abre sempre (mostra resultados OU o estado vazio / slot de ação).
|
|
274
|
+
menuAberto.value = true
|
|
275
|
+
} catch (e) {
|
|
276
|
+
resultados.value = []
|
|
277
|
+
menuAberto.value = Boolean(slots.empty)
|
|
278
|
+
erroInterno.value = 'Erro ao buscar. Tente novamente.'
|
|
279
|
+
emit('error', e)
|
|
280
|
+
} finally {
|
|
281
|
+
carregando.value = false
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
// ---- Seleção / limpeza ----
|
|
286
|
+
function selecionar(item: T): void {
|
|
287
|
+
cancelarAgendada()
|
|
288
|
+
bloqueiaPesquisa.value = true
|
|
289
|
+
model.value = item
|
|
290
|
+
texto.value = rotulo(item)
|
|
291
|
+
menuAberto.value = false
|
|
292
|
+
emit('select', item)
|
|
293
|
+
void nextTick(() => {
|
|
294
|
+
bloqueiaPesquisa.value = false
|
|
295
|
+
})
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
function aoLimpar(): void {
|
|
299
|
+
model.value = null
|
|
300
|
+
resultados.value = []
|
|
301
|
+
menuAberto.value = false
|
|
302
|
+
erroInterno.value = null
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
// ---- Watchers ----
|
|
306
|
+
// Digitação → agenda busca (com debounce). Vazio → limpa seleção.
|
|
307
|
+
watch(texto, (valor) => {
|
|
308
|
+
if (bloqueiaPesquisa.value) return
|
|
309
|
+
cancelarAgendada()
|
|
310
|
+
if (!valor || !valor.trim()) {
|
|
311
|
+
model.value = null
|
|
312
|
+
resultados.value = []
|
|
313
|
+
menuAberto.value = false
|
|
314
|
+
erroInterno.value = null
|
|
315
|
+
return
|
|
316
|
+
}
|
|
317
|
+
// Texto ainda casa com o item já selecionado → não re-busca.
|
|
318
|
+
if (model.value && rotulo(model.value) === valor) return
|
|
319
|
+
agendarPesquisa()
|
|
320
|
+
})
|
|
321
|
+
|
|
322
|
+
// Valor inicial / externo (v-model setado de fora) → exibe o rótulo SEM buscar.
|
|
323
|
+
watch(
|
|
324
|
+
model,
|
|
325
|
+
(item) => {
|
|
326
|
+
if (!item) return
|
|
327
|
+
const label = rotulo(item)
|
|
328
|
+
if (label && label !== texto.value) {
|
|
329
|
+
bloqueiaPesquisa.value = true
|
|
330
|
+
texto.value = label
|
|
331
|
+
void nextTick(() => {
|
|
332
|
+
bloqueiaPesquisa.value = false
|
|
333
|
+
})
|
|
334
|
+
}
|
|
335
|
+
},
|
|
336
|
+
{ immediate: true },
|
|
337
|
+
)
|
|
338
|
+
</script>
|
|
339
|
+
|
|
340
|
+
<style lang="scss" scoped>
|
|
341
|
+
.acai-ui-async-select {
|
|
342
|
+
width: 100%;
|
|
343
|
+
|
|
344
|
+
// Lupa clicável: mesmo visual do ícone padrão do input, mas com affordance de
|
|
345
|
+
// clique. `var()` com fallback hex literal (sem SCSS var) pra compilar também via
|
|
346
|
+
// condition `vue` (consumidor sem o additionalData da lib).
|
|
347
|
+
.acai-ui-async-select__lupa {
|
|
348
|
+
cursor: pointer;
|
|
349
|
+
|
|
350
|
+
&:hover {
|
|
351
|
+
color: var(--acai-control-on, #0e2a50);
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
&:focus-visible {
|
|
355
|
+
outline: 2px solid var(--acai-control-on, #0e2a50);
|
|
356
|
+
outline-offset: 2px;
|
|
357
|
+
border-radius: 4px;
|
|
358
|
+
}
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
</style>
|
|
362
|
+
|
|
363
|
+
<!--
|
|
364
|
+
NÃO-scoped de propósito: o q-menu é PORTALIZADO pro <body>, fora da árvore (e do
|
|
365
|
+
`data-v`) deste componente — estilo scoped não o alcança. A LARGURA é pinada em JS
|
|
366
|
+
(o position-engine do Quasar sobrescreve estilo declarativo).
|
|
367
|
+
-->
|
|
368
|
+
<style lang="scss">
|
|
369
|
+
.acai-ui-async-select-popup.q-menu {
|
|
370
|
+
// Dark-aware via tokens: o q-menu portalizado fica sob `body.body--dark`, então os
|
|
371
|
+
// `--acai-*` resolvem pros valores de dark. Sem isto, o menu do Quasar nasce BRANCO
|
|
372
|
+
// no escuro (o `$q.dark` não ativa — o dark vem do `.body--dark`).
|
|
373
|
+
background: var(--acai-surface, #fff);
|
|
374
|
+
color: var(--acai-text, #1f1f1f);
|
|
375
|
+
border: 1px solid var(--acai-border, #e0e0e0);
|
|
376
|
+
box-shadow: var(--acai-elevation, 0 6px 24px rgba(14, 42, 80, 0.12));
|
|
377
|
+
|
|
378
|
+
.acai-ui-async-select-lista {
|
|
379
|
+
padding: 4px 0;
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
.q-item {
|
|
383
|
+
color: var(--acai-text, #1f1f1f);
|
|
384
|
+
min-height: 44px; // alvo de clique confortável (eMAG 2.1)
|
|
385
|
+
|
|
386
|
+
.q-item__label--caption {
|
|
387
|
+
color: var(--acai-text-muted, #707070);
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
&:hover {
|
|
391
|
+
background: var(--acai-surface-hover, #f2f2f2);
|
|
392
|
+
}
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
// Separador entre itens do q-list (herda a borda-sutil do tema)
|
|
396
|
+
.q-separator {
|
|
397
|
+
background: var(--acai-border-subtle, #e4e8f1);
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
.acai-ui-async-select__empty {
|
|
401
|
+
color: var(--acai-text-muted, #707070);
|
|
402
|
+
font-size: 0.85rem;
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
.acai-ui-async-select__label {
|
|
406
|
+
font-weight: 500;
|
|
407
|
+
}
|
|
408
|
+
}
|
|
409
|
+
</style>
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export interface BadgeProps {
|
|
2
|
+
/** Texto do badge. Se omitido e `status` presente, usa o rótulo do mapa de status. */
|
|
3
|
+
label?: string
|
|
4
|
+
/**
|
|
5
|
+
* Cor Quasar (ex.: `'positive'`, `'negative'`, `'warning'`, `'info'`, `'primary'`,
|
|
6
|
+
* `'orange-10'`, `'grey'`). Sobrescreve a cor derivada do `status`.
|
|
7
|
+
*/
|
|
8
|
+
color?: string
|
|
9
|
+
/**
|
|
10
|
+
* Valor de status resolvido pelo mapa padrão COMPARTILHADO com o atalho `.badge` do
|
|
11
|
+
* AcaiUiTable (`statusBadge`): define cor + rótulo. Aceita string (UPPER_SNAKE do
|
|
12
|
+
* backend), boolean (ATIVO/DESATIVADO) ou null (—).
|
|
13
|
+
*/
|
|
14
|
+
status?: string | boolean | null
|
|
15
|
+
/** Contorno em vez de preenchido. */
|
|
16
|
+
outline?: boolean
|
|
17
|
+
/** Texto em maiúsculas. Default: `true`. */
|
|
18
|
+
uppercase?: boolean
|
|
19
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<q-badge
|
|
3
|
+
class="acai-ui-badge"
|
|
4
|
+
:class="{ 'text-uppercase': uppercase }"
|
|
5
|
+
:color="corResolvida"
|
|
6
|
+
:label="rotuloResolvido"
|
|
7
|
+
:outline="outline"
|
|
8
|
+
/>
|
|
9
|
+
</template>
|
|
10
|
+
|
|
11
|
+
<script setup lang="ts">
|
|
12
|
+
import { computed } from 'vue'
|
|
13
|
+
import type { BadgeProps } from './acai-ui-badge-interface'
|
|
14
|
+
import { statusBadge } from '../../constants/status-badge'
|
|
15
|
+
|
|
16
|
+
const props = withDefaults(defineProps<BadgeProps>(), {
|
|
17
|
+
uppercase: true,
|
|
18
|
+
outline: false,
|
|
19
|
+
})
|
|
20
|
+
|
|
21
|
+
// Modo status: resolve cor + rótulo pelo mapa compartilhado (mesmo do `.badge` do
|
|
22
|
+
// table). `color`/`label` explícitos sempre têm prioridade sobre o derivado.
|
|
23
|
+
const resolvido = computed(() =>
|
|
24
|
+
props.status !== undefined ? statusBadge(props.status) : null,
|
|
25
|
+
)
|
|
26
|
+
const corResolvida = computed(() => props.color ?? resolvido.value?.color ?? 'primary')
|
|
27
|
+
const rotuloResolvido = computed(() => props.label ?? resolvido.value?.label ?? '')
|
|
28
|
+
</script>
|
|
29
|
+
|
|
30
|
+
<style lang="scss" scoped>
|
|
31
|
+
.acai-ui-badge {
|
|
32
|
+
// Mesmo visual do atalho `.badge` do table, mas SELF-CONTAINED (não depende do
|
|
33
|
+
// `.badge` global, que só existe pra quem importa `scss/tokens`). Assim o badge
|
|
34
|
+
// chega estilizado no dist pra qualquer consumidor. A cor (`bg-*`) vem do q-badge
|
|
35
|
+
// via `color=`, então recolore no daltônico junto com chips/botões.
|
|
36
|
+
font-size: 0.875rem;
|
|
37
|
+
font-weight: bold;
|
|
38
|
+
padding: 0.5rem;
|
|
39
|
+
}
|
|
40
|
+
</style>
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { MaterialIconValues } from '../../constants/lista-icons'
|
|
2
|
+
|
|
3
|
+
/** Variantes visuais do banner. Cada uma define cor de fundo/texto e ícone default. */
|
|
4
|
+
export type BannerType = 'info' | 'warning' | 'error' | 'success'
|
|
5
|
+
|
|
6
|
+
export interface BannerProps {
|
|
7
|
+
/** Variante visual (define cores + ícone default). Default: 'info'. */
|
|
8
|
+
type?: BannerType
|
|
9
|
+
/** Título em negrito acima do conteúdo (opcional). */
|
|
10
|
+
title?: string
|
|
11
|
+
/** Sobrescreve o ícone default da variante (lista curada da lib). */
|
|
12
|
+
icon?: MaterialIconValues
|
|
13
|
+
/** Esconde o ícone à esquerda. */
|
|
14
|
+
hideIcon?: boolean
|
|
15
|
+
/** Exibe um "X" que fecha o banner (emite `dismiss`). */
|
|
16
|
+
dismissible?: boolean
|
|
17
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
.acai-ui-banner {
|
|
2
|
+
border-radius: $radius-md;
|
|
3
|
+
font-size: 0.875rem;
|
|
4
|
+
line-height: 1.5;
|
|
5
|
+
|
|
6
|
+
.acai-ui-banner__title {
|
|
7
|
+
font-weight: 700;
|
|
8
|
+
margin-bottom: 2px;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.acai-ui-banner__fechar {
|
|
12
|
+
color: inherit;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
// O slot #avatar do q-banner vem com a classe `self-start` (align-self:flex-start),
|
|
16
|
+
// colando o ícone no topo — fica torto em banner de 1 linha. Centraliza junto ao
|
|
17
|
+
// texto. O pai `.q-banner` já é `items-center`, então em banner multi-linha o ícone
|
|
18
|
+
// fica centrado no bloco (comportamento esperado da maioria dos design systems).
|
|
19
|
+
// `!important` porque o `.self-start` do Quasar também usa `!important`.
|
|
20
|
+
:deep(.q-banner__avatar) {
|
|
21
|
+
align-self: center !important;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
// Cores de status via vars da camada de tema (_themes.scss): o par fundo/texto
|
|
25
|
+
// muda sozinho conforme tema escuro e modo daltônico (paleta CVD-safe), cobrindo
|
|
26
|
+
// as combinações. Fallback = par fundo-50 / texto-900 (contraste ≥ 4.5:1, eMAG 4.1).
|
|
27
|
+
// Ícone + texto garantem que a info não depende só da cor (eMAG 4.2).
|
|
28
|
+
&--info {
|
|
29
|
+
background: var(--acai-status-info-bg, #{$color-blue-50});
|
|
30
|
+
color: var(--acai-status-info-fg, #{$color-blue-900});
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
&--warning {
|
|
34
|
+
background: var(--acai-status-warning-bg, #{$color-yellow-50});
|
|
35
|
+
color: var(--acai-status-warning-fg, #{$color-yellow-900});
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
&--error {
|
|
39
|
+
background: var(--acai-status-error-bg, #{$color-red-50});
|
|
40
|
+
color: var(--acai-status-error-fg, #{$color-red-900});
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
&--success {
|
|
44
|
+
background: var(--acai-status-success-bg, #{$color-green-50});
|
|
45
|
+
color: var(--acai-status-success-fg, #{$color-green-900});
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<q-banner
|
|
3
|
+
v-if="visivel"
|
|
4
|
+
:class="['acai-ui-banner', `acai-ui-banner--${type}`]"
|
|
5
|
+
:inline-actions="dismissible"
|
|
6
|
+
:role="role"
|
|
7
|
+
rounded
|
|
8
|
+
>
|
|
9
|
+
<template v-if="!hideIcon" #avatar>
|
|
10
|
+
<acai-ui-icon :name="iconeExibido" size="md" />
|
|
11
|
+
</template>
|
|
12
|
+
|
|
13
|
+
<div v-if="title" class="acai-ui-banner__title">{{ title }}</div>
|
|
14
|
+
<slot />
|
|
15
|
+
|
|
16
|
+
<template v-if="dismissible" #action>
|
|
17
|
+
<q-btn
|
|
18
|
+
aria-label="Fechar aviso"
|
|
19
|
+
class="acai-ui-banner__fechar"
|
|
20
|
+
dense
|
|
21
|
+
flat
|
|
22
|
+
round
|
|
23
|
+
@click="fechar"
|
|
24
|
+
>
|
|
25
|
+
<acai-ui-icon name="close" size="sm" />
|
|
26
|
+
</q-btn>
|
|
27
|
+
</template>
|
|
28
|
+
</q-banner>
|
|
29
|
+
</template>
|
|
30
|
+
|
|
31
|
+
<script setup lang="ts">
|
|
32
|
+
import { computed, ref } from 'vue'
|
|
33
|
+
import type { MaterialIconValues } from '../../constants/lista-icons'
|
|
34
|
+
import type { BannerType } from './acai-ui-banner-interface'
|
|
35
|
+
import AcaiUiIcon from '../icon/acai-ui-icon.vue'
|
|
36
|
+
|
|
37
|
+
// Props definidas INLINE (mesmo quirk do AcaiUiCard): o compilador do Vue não
|
|
38
|
+
// resolve defaults quando a interface importada usa outro alias importado.
|
|
39
|
+
const props = withDefaults(
|
|
40
|
+
defineProps<{
|
|
41
|
+
/** Variante visual (define cores + ícone default). */
|
|
42
|
+
type?: BannerType
|
|
43
|
+
/** Título em negrito acima do conteúdo. */
|
|
44
|
+
title?: string
|
|
45
|
+
/** Sobrescreve o ícone default da variante. */
|
|
46
|
+
icon?: MaterialIconValues
|
|
47
|
+
/** Esconde o ícone à esquerda. */
|
|
48
|
+
hideIcon?: boolean
|
|
49
|
+
/** Exibe um "X" que fecha o banner (emite `dismiss`). */
|
|
50
|
+
dismissible?: boolean
|
|
51
|
+
}>(),
|
|
52
|
+
{
|
|
53
|
+
type: 'info',
|
|
54
|
+
hideIcon: false,
|
|
55
|
+
dismissible: false,
|
|
56
|
+
},
|
|
57
|
+
)
|
|
58
|
+
|
|
59
|
+
const emit = defineEmits<{
|
|
60
|
+
dismiss: []
|
|
61
|
+
}>()
|
|
62
|
+
|
|
63
|
+
const visivel = ref(true)
|
|
64
|
+
|
|
65
|
+
const ICONE_POR_TIPO: Record<BannerType, MaterialIconValues> = {
|
|
66
|
+
info: 'info',
|
|
67
|
+
warning: 'warning_amber',
|
|
68
|
+
error: 'error',
|
|
69
|
+
success: 'check_circle',
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
const iconeExibido = computed<MaterialIconValues>(() => props.icon ?? ICONE_POR_TIPO[props.type])
|
|
73
|
+
|
|
74
|
+
// Leitores de tela: avisos urgentes interrompem (alert), informativos não (status).
|
|
75
|
+
const role = computed(() => (props.type === 'warning' || props.type === 'error' ? 'alert' : 'status'))
|
|
76
|
+
|
|
77
|
+
function fechar(): void {
|
|
78
|
+
visivel.value = false
|
|
79
|
+
emit('dismiss')
|
|
80
|
+
}
|
|
81
|
+
</script>
|
|
82
|
+
|
|
83
|
+
<style lang="scss" scoped>
|
|
84
|
+
@import './acai-ui-banner-styles.scss';
|
|
85
|
+
</style>
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { QBtnProps } from 'quasar'
|
|
2
|
+
import type { MaterialIconValues } from '../../constants/lista-icons'
|
|
3
|
+
import type { MedidasKeys } from '../../constants/medidas-espacos'
|
|
4
|
+
import type { TooltipPosition } from '../tooltip/acai-ui-tooltip-interface'
|
|
5
|
+
|
|
6
|
+
export interface ButtonProps extends Omit<QBtnProps, 'icon' | 'iconRight' | 'size'> {
|
|
7
|
+
icon?: MaterialIconValues
|
|
8
|
+
iconRight?: MaterialIconValues
|
|
9
|
+
size?: MedidasKeys
|
|
10
|
+
fullWidth?: boolean
|
|
11
|
+
/** Rótulo acessível. Obrigatório em botões icon-only (eMAG 4.2). */
|
|
12
|
+
ariaLabel?: string
|
|
13
|
+
/**
|
|
14
|
+
* Texto do tooltip. Quando informado, renderiza um `AcaiUiTooltip` ancorado
|
|
15
|
+
* no botão. Se o botão for icon-only (sem `label`) e não houver `ariaLabel`,
|
|
16
|
+
* o texto do tooltip também vira o nome acessível (eMAG 4.2).
|
|
17
|
+
*/
|
|
18
|
+
tooltip?: string
|
|
19
|
+
/** Posição do tooltip. @default 'top' */
|
|
20
|
+
tooltipPosition?: TooltipPosition
|
|
21
|
+
}
|