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,65 @@
|
|
|
1
|
+
import { defineComponent, openBlock, createElementBlock, normalizeClass, Fragment, renderList, createElementVNode, toDisplayString } from "vue";
|
|
2
|
+
import { caminhoMarcador } from "./index213.mjs";
|
|
3
|
+
const _hoisted_1 = ["aria-pressed", "onClick"];
|
|
4
|
+
const _hoisted_2 = {
|
|
5
|
+
class: "acai-chart-legenda__marca",
|
|
6
|
+
viewBox: "0 0 14 14",
|
|
7
|
+
"aria-hidden": "true",
|
|
8
|
+
focusable: "false"
|
|
9
|
+
};
|
|
10
|
+
const _hoisted_3 = ["d", "fill"];
|
|
11
|
+
const _hoisted_4 = ["fill"];
|
|
12
|
+
const _hoisted_5 = { class: "acai-chart-legenda__texto" };
|
|
13
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
14
|
+
__name: "chart-legenda",
|
|
15
|
+
props: {
|
|
16
|
+
series: {},
|
|
17
|
+
posicao: { default: "bottom" }
|
|
18
|
+
},
|
|
19
|
+
emits: ["toggle"],
|
|
20
|
+
setup(__props, { emit: __emit }) {
|
|
21
|
+
const emit = __emit;
|
|
22
|
+
function marcaLinha(serie) {
|
|
23
|
+
return caminhoMarcador(serie.marcador, 7, 7, 9);
|
|
24
|
+
}
|
|
25
|
+
return (_ctx, _cache) => {
|
|
26
|
+
return openBlock(), createElementBlock("ul", {
|
|
27
|
+
class: normalizeClass(["acai-chart-legenda", `acai-chart-legenda--${__props.posicao}`])
|
|
28
|
+
}, [
|
|
29
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.series, (serie) => {
|
|
30
|
+
return openBlock(), createElementBlock("li", {
|
|
31
|
+
key: serie.indice
|
|
32
|
+
}, [
|
|
33
|
+
createElementVNode("button", {
|
|
34
|
+
type: "button",
|
|
35
|
+
class: normalizeClass(["acai-chart-legenda__item", { "acai-chart-legenda__item--oculta": serie.oculta }]),
|
|
36
|
+
"aria-pressed": !serie.oculta,
|
|
37
|
+
onClick: ($event) => emit("toggle", serie.indice)
|
|
38
|
+
}, [
|
|
39
|
+
(openBlock(), createElementBlock("svg", _hoisted_2, [
|
|
40
|
+
serie.tipo !== "bar" ? (openBlock(), createElementBlock("path", {
|
|
41
|
+
key: 0,
|
|
42
|
+
d: marcaLinha(serie),
|
|
43
|
+
fill: serie.cor
|
|
44
|
+
}, null, 8, _hoisted_3)) : (openBlock(), createElementBlock("rect", {
|
|
45
|
+
key: 1,
|
|
46
|
+
x: "1",
|
|
47
|
+
y: "3.5",
|
|
48
|
+
width: "12",
|
|
49
|
+
height: "7",
|
|
50
|
+
rx: "1.5",
|
|
51
|
+
fill: serie.cor
|
|
52
|
+
}, null, 8, _hoisted_4))
|
|
53
|
+
])),
|
|
54
|
+
createElementVNode("span", _hoisted_5, toDisplayString(serie.nome), 1)
|
|
55
|
+
], 10, _hoisted_1)
|
|
56
|
+
]);
|
|
57
|
+
}), 128))
|
|
58
|
+
], 2);
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
});
|
|
62
|
+
export {
|
|
63
|
+
_sfc_main as default
|
|
64
|
+
};
|
|
65
|
+
//# sourceMappingURL=index209.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index209.mjs","sources":["../src/components/chart/chart-legenda.vue"],"sourcesContent":["<template>\n <ul class=\"acai-chart-legenda\" :class=\"`acai-chart-legenda--${posicao}`\">\n <li v-for=\"serie in series\" :key=\"serie.indice\">\n <!--\n Botão de verdade, não div com @click: precisa de foco, Enter/Espaço e\n anúncio de estado de graça. `aria-pressed` é o que diz ao leitor de tela\n que a série está ligada ou desligada.\n -->\n <button\n type=\"button\"\n class=\"acai-chart-legenda__item\"\n :class=\"{ 'acai-chart-legenda__item--oculta': serie.oculta }\"\n :aria-pressed=\"!serie.oculta\"\n @click=\"emit('toggle', serie.indice)\"\n >\n <svg class=\"acai-chart-legenda__marca\" viewBox=\"0 0 14 14\" aria-hidden=\"true\" focusable=\"false\">\n <!--\n A MESMA forma do gráfico, não um quadradinho genérico: é o que liga\n a legenda à linha desenhada quando a cor não basta (eMAG 4.2).\n -->\n <path v-if=\"serie.tipo !== 'bar'\" :d=\"marcaLinha(serie)\" :fill=\"serie.cor\" />\n <rect v-else x=\"1\" y=\"3.5\" width=\"12\" height=\"7\" rx=\"1.5\" :fill=\"serie.cor\" />\n </svg>\n <span class=\"acai-chart-legenda__texto\">{{ serie.nome }}</span>\n </button>\n </li>\n </ul>\n</template>\n\n<script setup lang=\"ts\">\nimport { caminhoMarcador } from './chart-caminhos'\nimport type { SerieNormalizada } from './acai-ui-chart-interface'\n\nwithDefaults(\n defineProps<{\n series: SerieNormalizada[]\n posicao?: 'bottom' | 'right'\n }>(),\n { posicao: 'bottom' },\n)\n\nconst emit = defineEmits<{ toggle: [indiceSerie: number] }>()\n\nfunction marcaLinha(serie: SerieNormalizada): string {\n return caminhoMarcador(serie.marcador, 7, 7, 9)\n}\n</script>\n\n<style lang=\"scss\" scoped>\n.acai-chart-legenda {\n display: flex;\n flex-wrap: wrap;\n gap: 4px 16px;\n margin: 0;\n padding: 0;\n list-style: none;\n\n &--right {\n flex-direction: column;\n flex-wrap: nowrap;\n }\n\n &__item {\n display: inline-flex;\n align-items: center;\n gap: 6px;\n padding: 2px 4px;\n border: 0;\n border-radius: 4px;\n background: none;\n color: var(--acai-chart-ink-muted);\n font: inherit;\n font-size: 0.75rem;\n line-height: 1.4;\n cursor: pointer;\n\n &:hover {\n background: var(--acai-surface-hover);\n }\n\n // Não remover: foco visível é requisito (eMAG 4.3).\n &:focus-visible {\n outline: 2px solid var(--acai-control-on);\n outline-offset: 2px;\n }\n\n // Série desligada continua legível — some a cor, não o texto.\n &--oculta {\n opacity: 0.45;\n\n .acai-chart-legenda__texto {\n text-decoration: line-through;\n }\n }\n }\n\n &__marca {\n flex: 0 0 14px;\n width: 14px;\n height: 14px;\n }\n}\n</style>\n"],"names":["_createElementBlock","_normalizeClass","_Fragment","_renderList","_createElementVNode","_openBlock","_toDisplayString"],"mappings":";;;;;;;;;;;;;;;;;;;;AAyCA,UAAM,OAAO;AAEb,aAAS,WAAW,OAAiC;AACnD,aAAO,gBAAgB,MAAM,UAAU,GAAG,GAAG,CAAC;AAAA,IAChD;;0BA5CEA,mBAyBK,MAAA;AAAA,QAzBD,OAAKC,eAAA,CAAC,sBAAoB,uBAAgC,QAAA,OAAO,EAAA,CAAA;AAAA,MAAA;0BACnED,mBAuBKE,UAAA,MAAAC,WAvBe,QAAA,QAAM,CAAf,UAAK;8BAAhBH,mBAuBK,MAAA;AAAA,YAvBwB,KAAK,MAAM;AAAA,UAAA;YAMtCI,mBAgBS,UAAA;AAAA,cAfP,MAAK;AAAA,cACL,OAAKH,eAAA,CAAC,4BAA0B,EAAA,oCACc,MAAM,OAAA,CAAM,CAAA;AAAA,cACzD,gBAAY,CAAG,MAAM;AAAA,cACrB,SAAK,CAAA,WAAE,KAAI,UAAW,MAAM,MAAM;AAAA,YAAA;eAEnCI,aAAAL,mBAOM,OAPN,YAOM;AAAA,gBAFQ,MAAM,SAAI,sBAAtBA,mBAA6E,QAAA;AAAA;kBAA1C,GAAG,WAAW,KAAK;AAAA,kBAAI,MAAM,MAAM;AAAA,gBAAA,yCACtEA,mBAA8E,QAAA;AAAA;kBAAjE,GAAE;AAAA,kBAAI,GAAE;AAAA,kBAAM,OAAM;AAAA,kBAAK,QAAO;AAAA,kBAAI,IAAG;AAAA,kBAAO,MAAM,MAAM;AAAA,gBAAA;;cAEzEI,mBAA+D,QAA/D,YAA+DE,gBAApB,MAAM,IAAI,GAAA,CAAA;AAAA,YAAA;;;;;;;"}
|
package/dist/index21.cjs
ADDED
|
@@ -0,0 +1,268 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const vue = require("vue");
|
|
3
|
+
const acaiUiIcon_vue_vue_type_script_setup_true_lang = require("./index23.cjs");
|
|
4
|
+
const acaiUiModal_vue_vue_type_script_setup_true_lang = require("./index24.cjs");
|
|
5
|
+
;/* empty css */
|
|
6
|
+
const acaiUiTour_vue_vue_type_script_setup_true_lang = require("./index40.cjs");
|
|
7
|
+
;/* empty css */
|
|
8
|
+
const useTourVisto = require("./index100.cjs");
|
|
9
|
+
const useLeituraVoz = require("./index97.cjs");
|
|
10
|
+
const usePreferencias = require("./index98.cjs");
|
|
11
|
+
const geradorId = require("./index86.cjs");
|
|
12
|
+
const _hoisted_1 = ["aria-label", "title"];
|
|
13
|
+
const _hoisted_2 = {
|
|
14
|
+
key: 0,
|
|
15
|
+
class: "acaihelp__novo",
|
|
16
|
+
"aria-hidden": "true"
|
|
17
|
+
};
|
|
18
|
+
const _hoisted_3 = {
|
|
19
|
+
key: 0,
|
|
20
|
+
class: "acaihelp__vazio"
|
|
21
|
+
};
|
|
22
|
+
const _hoisted_4 = { class: "acaihelp__tour-icone" };
|
|
23
|
+
const _hoisted_5 = { class: "acaihelp__tour-texto" };
|
|
24
|
+
const _hoisted_6 = {
|
|
25
|
+
key: 2,
|
|
26
|
+
class: "acaihelp__topicos"
|
|
27
|
+
};
|
|
28
|
+
const _hoisted_7 = { class: "acaihelp__topico-titulo" };
|
|
29
|
+
const _hoisted_8 = {
|
|
30
|
+
key: 0,
|
|
31
|
+
class: "acaihelp__topico-icone"
|
|
32
|
+
};
|
|
33
|
+
const _hoisted_9 = { class: "acaihelp__topico-corpo" };
|
|
34
|
+
const _hoisted_10 = { class: "acaihelp__topico-texto" };
|
|
35
|
+
const _hoisted_11 = ["aria-pressed", "aria-label", "onClick"];
|
|
36
|
+
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
37
|
+
__name: "acai-ui-help",
|
|
38
|
+
props: {
|
|
39
|
+
content: {},
|
|
40
|
+
icon: { default: "help" },
|
|
41
|
+
ariaLabel: { default: "Ajuda" },
|
|
42
|
+
autoStart: { type: Boolean, default: false },
|
|
43
|
+
hideNewBadge: { type: Boolean, default: false },
|
|
44
|
+
hideAudio: { type: Boolean },
|
|
45
|
+
audioLang: {}
|
|
46
|
+
},
|
|
47
|
+
emits: ["open", "tour-start", "tour-finish", "tour-exit", "tour-step", "tour-step-skipped"],
|
|
48
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
49
|
+
const props = __props;
|
|
50
|
+
const emits = __emit;
|
|
51
|
+
const { jaViu, marcarVisto } = useTourVisto.useTourVisto();
|
|
52
|
+
const modalAberto = vue.ref(false);
|
|
53
|
+
const tourAtivo = vue.ref(false);
|
|
54
|
+
const gatilhoRef = vue.ref(null);
|
|
55
|
+
const tourRef = vue.ref(null);
|
|
56
|
+
const iconeGatilho = vue.computed(() => props.icon ?? "help");
|
|
57
|
+
const tituloModal = vue.computed(() => props.content.title || "Ajuda");
|
|
58
|
+
const tituloTour = vue.computed(() => {
|
|
59
|
+
var _a;
|
|
60
|
+
return ((_a = props.content.tour) == null ? void 0 : _a.title) || "Aprenda a usar";
|
|
61
|
+
});
|
|
62
|
+
const rotuloGatilho = vue.computed(() => props.ariaLabel || "Ajuda");
|
|
63
|
+
const temTopicos = vue.computed(() => {
|
|
64
|
+
var _a;
|
|
65
|
+
return (((_a = props.content.topics) == null ? void 0 : _a.length) ?? 0) > 0;
|
|
66
|
+
});
|
|
67
|
+
const temTour = vue.computed(() => {
|
|
68
|
+
var _a;
|
|
69
|
+
return (((_a = props.content.tour) == null ? void 0 : _a.steps.length) ?? 0) > 0;
|
|
70
|
+
});
|
|
71
|
+
const totalPassos = vue.computed(() => {
|
|
72
|
+
var _a;
|
|
73
|
+
return ((_a = props.content.tour) == null ? void 0 : _a.steps.length) ?? 0;
|
|
74
|
+
});
|
|
75
|
+
const { preferencias } = usePreferencias.usePreferencias();
|
|
76
|
+
const {
|
|
77
|
+
suportado: vozSuportada,
|
|
78
|
+
temVozPara,
|
|
79
|
+
vozes,
|
|
80
|
+
idLendo,
|
|
81
|
+
alternar: alternarFala,
|
|
82
|
+
parar: pararFala
|
|
83
|
+
} = useLeituraVoz.useLeituraVoz();
|
|
84
|
+
const idiomaFala = vue.computed(() => props.audioLang || "pt-BR");
|
|
85
|
+
const mostrarAudio = vue.computed(() => {
|
|
86
|
+
void vozes.value;
|
|
87
|
+
return vozSuportada.value && !props.hideAudio && preferencias.leituraVoz && temVozPara(idiomaFala.value);
|
|
88
|
+
});
|
|
89
|
+
const idBase = geradorId.gerarId("acai-voz", "help");
|
|
90
|
+
const idDoTopico = (indice) => `${idBase}:topico:${indice}`;
|
|
91
|
+
const lendoTopico = (indice) => idLendo.value === idDoTopico(indice);
|
|
92
|
+
function alternarTopico(indice, topico) {
|
|
93
|
+
alternarFala(`${topico.title}. ${topico.text}`, {
|
|
94
|
+
id: idDoTopico(indice),
|
|
95
|
+
lang: idiomaFala.value,
|
|
96
|
+
voz: preferencias.vozNome,
|
|
97
|
+
rate: preferencias.vozVelocidade
|
|
98
|
+
});
|
|
99
|
+
}
|
|
100
|
+
vue.watch(modalAberto, (aberto) => {
|
|
101
|
+
if (!aberto) pararFala();
|
|
102
|
+
});
|
|
103
|
+
vue.onBeforeUnmount(pararFala);
|
|
104
|
+
const mostrarPontoNovo = vue.computed(() => {
|
|
105
|
+
if (props.hideNewBadge || !temTour.value) return false;
|
|
106
|
+
return !jaViu(props.content.tour.id);
|
|
107
|
+
});
|
|
108
|
+
function abrirModal() {
|
|
109
|
+
modalAberto.value = true;
|
|
110
|
+
emits("open");
|
|
111
|
+
}
|
|
112
|
+
function iniciarTour() {
|
|
113
|
+
pararFala();
|
|
114
|
+
modalAberto.value = false;
|
|
115
|
+
void vue.nextTick(() => {
|
|
116
|
+
window.setTimeout(() => {
|
|
117
|
+
var _a;
|
|
118
|
+
(_a = gatilhoRef.value) == null ? void 0 : _a.focus({ preventScroll: true });
|
|
119
|
+
tourAtivo.value = true;
|
|
120
|
+
emits("tour-start");
|
|
121
|
+
}, 180);
|
|
122
|
+
});
|
|
123
|
+
}
|
|
124
|
+
function aoConcluirTour() {
|
|
125
|
+
marcarVisto(props.content.tour.id);
|
|
126
|
+
emits("tour-finish");
|
|
127
|
+
}
|
|
128
|
+
vue.onMounted(() => {
|
|
129
|
+
if (!props.autoStart || !temTour.value) return;
|
|
130
|
+
if (jaViu(props.content.tour.id)) return;
|
|
131
|
+
void vue.nextTick(() => {
|
|
132
|
+
tourAtivo.value = true;
|
|
133
|
+
emits("tour-start");
|
|
134
|
+
});
|
|
135
|
+
});
|
|
136
|
+
__expose({
|
|
137
|
+
abrirModal,
|
|
138
|
+
iniciarTour,
|
|
139
|
+
/** Fecha modal e tour de uma vez — útil ao trocar de rota. */
|
|
140
|
+
fechar: () => {
|
|
141
|
+
modalAberto.value = false;
|
|
142
|
+
tourAtivo.value = false;
|
|
143
|
+
},
|
|
144
|
+
proximo: () => {
|
|
145
|
+
var _a;
|
|
146
|
+
return (_a = tourRef.value) == null ? void 0 : _a.proximo();
|
|
147
|
+
},
|
|
148
|
+
anterior: () => {
|
|
149
|
+
var _a;
|
|
150
|
+
return (_a = tourRef.value) == null ? void 0 : _a.anterior();
|
|
151
|
+
},
|
|
152
|
+
irPara: (indice) => {
|
|
153
|
+
var _a;
|
|
154
|
+
return void ((_a = tourRef.value) == null ? void 0 : _a.irPara(indice));
|
|
155
|
+
},
|
|
156
|
+
sairTour: () => {
|
|
157
|
+
var _a;
|
|
158
|
+
return (_a = tourRef.value) == null ? void 0 : _a.sair();
|
|
159
|
+
}
|
|
160
|
+
});
|
|
161
|
+
return (_ctx, _cache) => {
|
|
162
|
+
return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
|
|
163
|
+
vue.createElementVNode("button", {
|
|
164
|
+
ref_key: "gatilhoRef",
|
|
165
|
+
ref: gatilhoRef,
|
|
166
|
+
type: "button",
|
|
167
|
+
class: vue.normalizeClass(["acaihelp__gatilho", { "acaihelp__gatilho--novo": mostrarPontoNovo.value }]),
|
|
168
|
+
"aria-label": rotuloGatilho.value,
|
|
169
|
+
title: rotuloGatilho.value,
|
|
170
|
+
onClick: abrirModal
|
|
171
|
+
}, [
|
|
172
|
+
vue.createVNode(acaiUiIcon_vue_vue_type_script_setup_true_lang, {
|
|
173
|
+
name: iconeGatilho.value,
|
|
174
|
+
size: "md"
|
|
175
|
+
}, null, 8, ["name"]),
|
|
176
|
+
mostrarPontoNovo.value ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2)) : vue.createCommentVNode("", true)
|
|
177
|
+
], 10, _hoisted_1),
|
|
178
|
+
vue.createVNode(acaiUiModal_vue_vue_type_script_setup_true_lang, {
|
|
179
|
+
modelValue: modalAberto.value,
|
|
180
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => modalAberto.value = $event),
|
|
181
|
+
title: tituloModal.value,
|
|
182
|
+
"hide-actions": "",
|
|
183
|
+
"modal-class": "acaihelp__modal"
|
|
184
|
+
}, {
|
|
185
|
+
default: vue.withCtx(() => [
|
|
186
|
+
!temTopicos.value && !temTour.value ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_3, " Ainda não há conteúdo de ajuda para esta tela. ")) : vue.createCommentVNode("", true),
|
|
187
|
+
temTour.value ? (vue.openBlock(), vue.createElementBlock("button", {
|
|
188
|
+
key: 1,
|
|
189
|
+
type: "button",
|
|
190
|
+
class: "acaihelp__tour",
|
|
191
|
+
onClick: iniciarTour
|
|
192
|
+
}, [
|
|
193
|
+
vue.createElementVNode("span", _hoisted_4, [
|
|
194
|
+
vue.createVNode(acaiUiIcon_vue_vue_type_script_setup_true_lang, {
|
|
195
|
+
name: "auto_stories",
|
|
196
|
+
size: "md"
|
|
197
|
+
})
|
|
198
|
+
]),
|
|
199
|
+
vue.createElementVNode("span", _hoisted_5, [
|
|
200
|
+
vue.createElementVNode("strong", null, vue.toDisplayString(tituloTour.value), 1),
|
|
201
|
+
vue.createElementVNode("small", null, " Passo a passo guiado pela tela — " + vue.toDisplayString(totalPassos.value) + " " + vue.toDisplayString(totalPassos.value === 1 ? "passo" : "passos") + ". ", 1)
|
|
202
|
+
]),
|
|
203
|
+
vue.createVNode(acaiUiIcon_vue_vue_type_script_setup_true_lang, {
|
|
204
|
+
name: "arrow_forward",
|
|
205
|
+
size: "md"
|
|
206
|
+
})
|
|
207
|
+
])) : vue.createCommentVNode("", true),
|
|
208
|
+
temTopicos.value ? (vue.openBlock(), vue.createElementBlock("ul", _hoisted_6, [
|
|
209
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(__props.content.topics, (topico, indice) => {
|
|
210
|
+
return vue.openBlock(), vue.createElementBlock("li", {
|
|
211
|
+
key: indice,
|
|
212
|
+
class: "acaihelp__topico"
|
|
213
|
+
}, [
|
|
214
|
+
vue.createElementVNode("details", null, [
|
|
215
|
+
vue.createElementVNode("summary", _hoisted_7, [
|
|
216
|
+
topico.icon ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_8, [
|
|
217
|
+
vue.createVNode(acaiUiIcon_vue_vue_type_script_setup_true_lang, {
|
|
218
|
+
name: topico.icon,
|
|
219
|
+
size: "md",
|
|
220
|
+
decorative: ""
|
|
221
|
+
}, null, 8, ["name"])
|
|
222
|
+
])) : vue.createCommentVNode("", true),
|
|
223
|
+
vue.createElementVNode("span", null, vue.toDisplayString(topico.title), 1)
|
|
224
|
+
]),
|
|
225
|
+
vue.createElementVNode("div", _hoisted_9, [
|
|
226
|
+
vue.createElementVNode("p", _hoisted_10, vue.toDisplayString(topico.text), 1),
|
|
227
|
+
mostrarAudio.value ? (vue.openBlock(), vue.createElementBlock("button", {
|
|
228
|
+
key: 0,
|
|
229
|
+
type: "button",
|
|
230
|
+
class: "acaihelp__ouvir",
|
|
231
|
+
"aria-pressed": lendoTopico(indice),
|
|
232
|
+
"aria-label": `Ouvir: ${topico.title}`,
|
|
233
|
+
onClick: ($event) => alternarTopico(indice, topico)
|
|
234
|
+
}, [
|
|
235
|
+
vue.createVNode(acaiUiIcon_vue_vue_type_script_setup_true_lang, {
|
|
236
|
+
name: lendoTopico(indice) ? "stop" : "volume_up",
|
|
237
|
+
size: "16px",
|
|
238
|
+
decorative: ""
|
|
239
|
+
}, null, 8, ["name"])
|
|
240
|
+
], 8, _hoisted_11)) : vue.createCommentVNode("", true)
|
|
241
|
+
])
|
|
242
|
+
])
|
|
243
|
+
]);
|
|
244
|
+
}), 128))
|
|
245
|
+
])) : vue.createCommentVNode("", true)
|
|
246
|
+
]),
|
|
247
|
+
_: 1
|
|
248
|
+
}, 8, ["modelValue", "title"]),
|
|
249
|
+
temTour.value && tourAtivo.value ? (vue.openBlock(), vue.createBlock(acaiUiTour_vue_vue_type_script_setup_true_lang, {
|
|
250
|
+
key: 0,
|
|
251
|
+
ref_key: "tourRef",
|
|
252
|
+
ref: tourRef,
|
|
253
|
+
modelValue: tourAtivo.value,
|
|
254
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => tourAtivo.value = $event),
|
|
255
|
+
tour: __props.content.tour,
|
|
256
|
+
"hide-audio": __props.hideAudio,
|
|
257
|
+
"audio-lang": __props.audioLang,
|
|
258
|
+
onFinish: aoConcluirTour,
|
|
259
|
+
onExit: _cache[2] || (_cache[2] = ($event) => emits("tour-exit")),
|
|
260
|
+
onStep: _cache[3] || (_cache[3] = (indice) => emits("tour-step", indice)),
|
|
261
|
+
onStepSkipped: _cache[4] || (_cache[4] = (info) => emits("tour-step-skipped", info))
|
|
262
|
+
}, null, 8, ["modelValue", "tour", "hide-audio", "audio-lang"])) : vue.createCommentVNode("", true)
|
|
263
|
+
], 64);
|
|
264
|
+
};
|
|
265
|
+
}
|
|
266
|
+
});
|
|
267
|
+
module.exports = _sfc_main;
|
|
268
|
+
//# sourceMappingURL=index21.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index21.cjs","sources":["../src/components/help/acai-ui-help.vue"],"sourcesContent":["<template>\n <button\n ref=\"gatilhoRef\"\n type=\"button\"\n class=\"acaihelp__gatilho\"\n :class=\"{ 'acaihelp__gatilho--novo': mostrarPontoNovo }\"\n :aria-label=\"rotuloGatilho\"\n :title=\"rotuloGatilho\"\n @click=\"abrirModal\"\n >\n <acai-ui-icon :name=\"iconeGatilho\" size=\"md\" />\n <span v-if=\"mostrarPontoNovo\" class=\"acaihelp__novo\" aria-hidden=\"true\" />\n </button>\n\n <acai-ui-modal\n v-model=\"modalAberto\"\n :title=\"tituloModal\"\n hide-actions\n modal-class=\"acaihelp__modal\"\n >\n <p v-if=\"!temTopicos && !temTour\" class=\"acaihelp__vazio\">\n Ainda não há conteúdo de ajuda para esta tela.\n </p>\n\n <!-- O tour vem PRIMEIRO: é a ação mais útil pra quem chegou perdido. -->\n <!-- Tamanhos: `size` do AcaiUiIcon usa a escala de ESPAÇOS (MedidasKeys),\n não camiseta — sm=8px some ao lado de texto; md=16px é o ponto certo. -->\n <button v-if=\"temTour\" type=\"button\" class=\"acaihelp__tour\" @click=\"iniciarTour\">\n <span class=\"acaihelp__tour-icone\">\n <acai-ui-icon name=\"auto_stories\" size=\"md\" />\n </span>\n <span class=\"acaihelp__tour-texto\">\n <strong>{{ tituloTour }}</strong>\n <small>\n Passo a passo guiado pela tela — {{ totalPassos }}\n {{ totalPassos === 1 ? 'passo' : 'passos' }}.\n </small>\n </span>\n <acai-ui-icon name=\"arrow_forward\" size=\"md\" />\n </button>\n\n <ul v-if=\"temTopicos\" class=\"acaihelp__topicos\">\n <li v-for=\"(topico, indice) in content.topics\" :key=\"indice\" class=\"acaihelp__topico\">\n <details>\n <summary class=\"acaihelp__topico-titulo\">\n <span v-if=\"topico.icon\" class=\"acaihelp__topico-icone\">\n <acai-ui-icon :name=\"topico.icon\" size=\"md\" decorative />\n </span>\n <span>{{ topico.title }}</span>\n </summary>\n <!-- O botão fica no CORPO, nunca no <summary>: clique lá dentro\n alterna o <details>, e o Space ficaria ambíguo entre abrir o\n tópico e acionar o botão. -->\n <div class=\"acaihelp__topico-corpo\">\n <p class=\"acaihelp__topico-texto\">{{ topico.text }}</p>\n <button\n v-if=\"mostrarAudio\"\n type=\"button\"\n class=\"acaihelp__ouvir\"\n :aria-pressed=\"lendoTopico(indice)\"\n :aria-label=\"`Ouvir: ${topico.title}`\"\n @click=\"alternarTopico(indice, topico)\"\n >\n <acai-ui-icon\n :name=\"lendoTopico(indice) ? 'stop' : 'volume_up'\"\n size=\"16px\"\n decorative\n />\n </button>\n </div>\n </details>\n </li>\n </ul>\n </acai-ui-modal>\n\n <acai-ui-tour\n v-if=\"temTour && tourAtivo\"\n ref=\"tourRef\"\n v-model=\"tourAtivo\"\n :tour=\"content.tour!\"\n :hide-audio=\"hideAudio\"\n :audio-lang=\"audioLang\"\n @finish=\"aoConcluirTour\"\n @exit=\"emits('tour-exit')\"\n @step=\"indice => emits('tour-step', indice)\"\n @step-skipped=\"info => emits('tour-step-skipped', info)\"\n />\n</template>\n\n<script setup lang=\"ts\">\nimport { computed, nextTick, onBeforeUnmount, onMounted, ref, watch } from 'vue'\nimport AcaiUiIcon from '../icon/acai-ui-icon.vue'\nimport AcaiUiModal from '../modal/acai-ui-modal.vue'\nimport AcaiUiTour from './acai-ui-tour.vue'\nimport { useTourVisto } from './use-tour-visto'\nimport { useLeituraVoz } from '../../hooks/use-leitura-voz'\nimport { usePreferencias } from '../../hooks/use-preferencias'\nimport { gerarId } from '../../utils/gerador-id'\nimport type { MaterialIconValues } from '../../constants/lista-icons'\nimport type { HelpProps, HelpTopic, TourSkip } from './acai-ui-help-interface'\n\nconst props = withDefaults(defineProps<HelpProps>(), {\n icon: 'help',\n ariaLabel: 'Ajuda',\n autoStart: false,\n hideNewBadge: false,\n})\n\nconst emits = defineEmits<{\n (e: 'open'): void\n (e: 'tour-start'): void\n (e: 'tour-finish'): void\n /** Saiu antes do fim (Esc ou X). */\n (e: 'tour-exit'): void\n /** Trocou de passo — índice 0-based. */\n (e: 'tour-step', indice: number): void\n /** Um passo não pôde ser mostrado. Repassa o `step-skipped` do tour. */\n (e: 'tour-step-skipped', info: TourSkip): void\n}>()\n\nconst { jaViu, marcarVisto } = useTourVisto()\n\nconst modalAberto = ref(false)\nconst tourAtivo = ref(false)\nconst gatilhoRef = ref<HTMLElement | null>(null)\nconst tourRef = ref<InstanceType<typeof AcaiUiTour> | null>(null)\n\n// O `?? ` em vez de confiar só no withDefaults: o tipo da prop declara\n// `| undefined` explícito (exigência do exactOptionalPropertyTypes) e o\n// default não apaga esse `undefined` aos olhos do compilador.\nconst iconeGatilho = computed<MaterialIconValues>(() => props.icon ?? 'help')\n\nconst tituloModal = computed(() => props.content.title || 'Ajuda')\nconst tituloTour = computed(() => props.content.tour?.title || 'Aprenda a usar')\nconst rotuloGatilho = computed(() => props.ariaLabel || 'Ajuda')\n\nconst temTopicos = computed(() => (props.content.topics?.length ?? 0) > 0)\nconst temTour = computed(() => (props.content.tour?.steps.length ?? 0) > 0)\nconst totalPassos = computed(() => props.content.tour?.steps.length ?? 0)\n\n// ===================== Leitura em voz alta =====================\nconst { preferencias } = usePreferencias()\nconst {\n suportado: vozSuportada,\n temVozPara,\n vozes,\n idLendo,\n alternar: alternarFala,\n parar: pararFala,\n} = useLeituraVoz()\n\nconst idiomaFala = computed(() => props.audioLang || 'pt-BR')\n\n/**\n * Precedência: prop da tela > preferência do usuário > suporte do navegador >\n * existir voz do idioma. Sem voz do idioma, o motor leria português com fonemas\n * de outra língua — pior que não oferecer.\n */\nconst mostrarAudio = computed(() => {\n void vozes.value // recalcula quando a lista de vozes chega\n return (\n vozSuportada.value &&\n !props.hideAudio &&\n preferencias.leituraVoz &&\n temVozPara(idiomaFala.value)\n )\n})\n\n// Id por INSTÂNCIA: duas ajudas na mesma tela não podem disputar o \"quem está\n// lendo\" só porque os dois têm um tópico 0.\nconst idBase = gerarId('acai-voz', 'help')\n\nconst idDoTopico = (indice: number): string => `${idBase}:topico:${indice}`\n\nconst lendoTopico = (indice: number): boolean => idLendo.value === idDoTopico(indice)\n\nfunction alternarTopico(indice: number, topico: HelpTopic): void {\n // Título junto do texto: ouvindo sem olhar, a pergunta dá o contexto da resposta.\n // Voz e velocidade vêm das preferências — a escolha é do usuário, não da tela.\n alternarFala(`${topico.title}. ${topico.text}`, {\n id: idDoTopico(indice),\n lang: idiomaFala.value,\n voz: preferencias.vozNome,\n rate: preferencias.vozVelocidade,\n })\n}\n\n// Fechou o modal ou saiu do componente, a voz para: continuar falando um texto\n// que não está mais na tela é desorientador.\nwatch(modalAberto, (aberto) => {\n if (!aberto) pararFala()\n})\n\nonBeforeUnmount(pararFala)\n\n/** Ponto discreto no \"?\" enquanto o usuário nunca concluiu o tour desta tela. */\nconst mostrarPontoNovo = computed(() => {\n if (props.hideNewBadge || !temTour.value) return false\n return !jaViu(props.content.tour!.id)\n})\n\nfunction abrirModal(): void {\n modalAberto.value = true\n emits('open')\n}\n\nfunction iniciarTour(): void {\n // O tour tem o botão de ouvir dele; a fala do tópico não pode atravessar.\n pararFala()\n modalAberto.value = false\n // Espera o q-dialog fechar: com o modal ainda montado, o backdrop dele fica\n // por cima do recorte e o primeiro passo aparece apagado.\n void nextTick(() => {\n window.setTimeout(() => {\n // Foco explícito no \"?\" antes de abrir: é dele que o tour tira o\n // `focoAnterior` pra devolver no fim (eMAG 4.3). Deixar por conta do\n // q-dialog daria `<body>` conforme o timing.\n gatilhoRef.value?.focus({ preventScroll: true })\n tourAtivo.value = true\n emits('tour-start')\n }, 180)\n })\n}\n\nfunction aoConcluirTour(): void {\n marcarVisto(props.content.tour!.id)\n emits('tour-finish')\n}\n\nonMounted(() => {\n if (!props.autoStart || !temTour.value) return\n if (jaViu(props.content.tour!.id)) return\n // Só depois da tela pintar — senão os alvos ainda não estão no DOM.\n void nextTick(() => {\n tourAtivo.value = true\n emits('tour-start')\n })\n})\n\n// O controle do tour é repassado aqui porque é o `<acai-ui-help>` (e o `help`\n// do `<acai-ui-container>`) que instancia o `<acai-ui-tour>` — sem isto o\n// consumidor não tem como dirigir o tour que ele mesmo mandou abrir.\n// Todos são no-op quando não há tour em andamento.\ndefineExpose({\n abrirModal,\n iniciarTour,\n /** Fecha modal e tour de uma vez — útil ao trocar de rota. */\n fechar: (): void => {\n modalAberto.value = false\n tourAtivo.value = false\n },\n proximo: (): void => tourRef.value?.proximo(),\n anterior: (): void => tourRef.value?.anterior(),\n irPara: (indice: number): void => void tourRef.value?.irPara(indice),\n sairTour: (): void => tourRef.value?.sair(),\n})\n</script>\n\n<style lang=\"scss\" src=\"./acai-ui-help-styles.scss\" />\n"],"names":["useTourVisto","ref","computed","usePreferencias","useLeituraVoz","gerarId","watch","onBeforeUnmount","nextTick","onMounted","_createElementVNode","_normalizeClass","_createVNode","AcaiUiIcon","_openBlock","_createElementBlock","AcaiUiModal","_toDisplayString","_Fragment","_createBlock","AcaiUiTour"],"mappings":"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"}
|
package/dist/index21.mjs
ADDED
|
@@ -0,0 +1,269 @@
|
|
|
1
|
+
import { defineComponent, ref, computed, watch, onBeforeUnmount, onMounted, nextTick, openBlock, createElementBlock, Fragment, createElementVNode, normalizeClass, createVNode, createCommentVNode, withCtx, toDisplayString, renderList, createBlock } from "vue";
|
|
2
|
+
import _sfc_main$1 from "./index23.mjs";
|
|
3
|
+
import _sfc_main$2 from "./index24.mjs";
|
|
4
|
+
/* empty css */
|
|
5
|
+
import _sfc_main$3 from "./index40.mjs";
|
|
6
|
+
/* empty css */
|
|
7
|
+
import { useTourVisto } from "./index100.mjs";
|
|
8
|
+
import { useLeituraVoz } from "./index97.mjs";
|
|
9
|
+
import { usePreferencias } from "./index98.mjs";
|
|
10
|
+
import { gerarId } from "./index86.mjs";
|
|
11
|
+
const _hoisted_1 = ["aria-label", "title"];
|
|
12
|
+
const _hoisted_2 = {
|
|
13
|
+
key: 0,
|
|
14
|
+
class: "acaihelp__novo",
|
|
15
|
+
"aria-hidden": "true"
|
|
16
|
+
};
|
|
17
|
+
const _hoisted_3 = {
|
|
18
|
+
key: 0,
|
|
19
|
+
class: "acaihelp__vazio"
|
|
20
|
+
};
|
|
21
|
+
const _hoisted_4 = { class: "acaihelp__tour-icone" };
|
|
22
|
+
const _hoisted_5 = { class: "acaihelp__tour-texto" };
|
|
23
|
+
const _hoisted_6 = {
|
|
24
|
+
key: 2,
|
|
25
|
+
class: "acaihelp__topicos"
|
|
26
|
+
};
|
|
27
|
+
const _hoisted_7 = { class: "acaihelp__topico-titulo" };
|
|
28
|
+
const _hoisted_8 = {
|
|
29
|
+
key: 0,
|
|
30
|
+
class: "acaihelp__topico-icone"
|
|
31
|
+
};
|
|
32
|
+
const _hoisted_9 = { class: "acaihelp__topico-corpo" };
|
|
33
|
+
const _hoisted_10 = { class: "acaihelp__topico-texto" };
|
|
34
|
+
const _hoisted_11 = ["aria-pressed", "aria-label", "onClick"];
|
|
35
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
36
|
+
__name: "acai-ui-help",
|
|
37
|
+
props: {
|
|
38
|
+
content: {},
|
|
39
|
+
icon: { default: "help" },
|
|
40
|
+
ariaLabel: { default: "Ajuda" },
|
|
41
|
+
autoStart: { type: Boolean, default: false },
|
|
42
|
+
hideNewBadge: { type: Boolean, default: false },
|
|
43
|
+
hideAudio: { type: Boolean },
|
|
44
|
+
audioLang: {}
|
|
45
|
+
},
|
|
46
|
+
emits: ["open", "tour-start", "tour-finish", "tour-exit", "tour-step", "tour-step-skipped"],
|
|
47
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
48
|
+
const props = __props;
|
|
49
|
+
const emits = __emit;
|
|
50
|
+
const { jaViu, marcarVisto } = useTourVisto();
|
|
51
|
+
const modalAberto = ref(false);
|
|
52
|
+
const tourAtivo = ref(false);
|
|
53
|
+
const gatilhoRef = ref(null);
|
|
54
|
+
const tourRef = ref(null);
|
|
55
|
+
const iconeGatilho = computed(() => props.icon ?? "help");
|
|
56
|
+
const tituloModal = computed(() => props.content.title || "Ajuda");
|
|
57
|
+
const tituloTour = computed(() => {
|
|
58
|
+
var _a;
|
|
59
|
+
return ((_a = props.content.tour) == null ? void 0 : _a.title) || "Aprenda a usar";
|
|
60
|
+
});
|
|
61
|
+
const rotuloGatilho = computed(() => props.ariaLabel || "Ajuda");
|
|
62
|
+
const temTopicos = computed(() => {
|
|
63
|
+
var _a;
|
|
64
|
+
return (((_a = props.content.topics) == null ? void 0 : _a.length) ?? 0) > 0;
|
|
65
|
+
});
|
|
66
|
+
const temTour = computed(() => {
|
|
67
|
+
var _a;
|
|
68
|
+
return (((_a = props.content.tour) == null ? void 0 : _a.steps.length) ?? 0) > 0;
|
|
69
|
+
});
|
|
70
|
+
const totalPassos = computed(() => {
|
|
71
|
+
var _a;
|
|
72
|
+
return ((_a = props.content.tour) == null ? void 0 : _a.steps.length) ?? 0;
|
|
73
|
+
});
|
|
74
|
+
const { preferencias } = usePreferencias();
|
|
75
|
+
const {
|
|
76
|
+
suportado: vozSuportada,
|
|
77
|
+
temVozPara,
|
|
78
|
+
vozes,
|
|
79
|
+
idLendo,
|
|
80
|
+
alternar: alternarFala,
|
|
81
|
+
parar: pararFala
|
|
82
|
+
} = useLeituraVoz();
|
|
83
|
+
const idiomaFala = computed(() => props.audioLang || "pt-BR");
|
|
84
|
+
const mostrarAudio = computed(() => {
|
|
85
|
+
void vozes.value;
|
|
86
|
+
return vozSuportada.value && !props.hideAudio && preferencias.leituraVoz && temVozPara(idiomaFala.value);
|
|
87
|
+
});
|
|
88
|
+
const idBase = gerarId("acai-voz", "help");
|
|
89
|
+
const idDoTopico = (indice) => `${idBase}:topico:${indice}`;
|
|
90
|
+
const lendoTopico = (indice) => idLendo.value === idDoTopico(indice);
|
|
91
|
+
function alternarTopico(indice, topico) {
|
|
92
|
+
alternarFala(`${topico.title}. ${topico.text}`, {
|
|
93
|
+
id: idDoTopico(indice),
|
|
94
|
+
lang: idiomaFala.value,
|
|
95
|
+
voz: preferencias.vozNome,
|
|
96
|
+
rate: preferencias.vozVelocidade
|
|
97
|
+
});
|
|
98
|
+
}
|
|
99
|
+
watch(modalAberto, (aberto) => {
|
|
100
|
+
if (!aberto) pararFala();
|
|
101
|
+
});
|
|
102
|
+
onBeforeUnmount(pararFala);
|
|
103
|
+
const mostrarPontoNovo = computed(() => {
|
|
104
|
+
if (props.hideNewBadge || !temTour.value) return false;
|
|
105
|
+
return !jaViu(props.content.tour.id);
|
|
106
|
+
});
|
|
107
|
+
function abrirModal() {
|
|
108
|
+
modalAberto.value = true;
|
|
109
|
+
emits("open");
|
|
110
|
+
}
|
|
111
|
+
function iniciarTour() {
|
|
112
|
+
pararFala();
|
|
113
|
+
modalAberto.value = false;
|
|
114
|
+
void nextTick(() => {
|
|
115
|
+
window.setTimeout(() => {
|
|
116
|
+
var _a;
|
|
117
|
+
(_a = gatilhoRef.value) == null ? void 0 : _a.focus({ preventScroll: true });
|
|
118
|
+
tourAtivo.value = true;
|
|
119
|
+
emits("tour-start");
|
|
120
|
+
}, 180);
|
|
121
|
+
});
|
|
122
|
+
}
|
|
123
|
+
function aoConcluirTour() {
|
|
124
|
+
marcarVisto(props.content.tour.id);
|
|
125
|
+
emits("tour-finish");
|
|
126
|
+
}
|
|
127
|
+
onMounted(() => {
|
|
128
|
+
if (!props.autoStart || !temTour.value) return;
|
|
129
|
+
if (jaViu(props.content.tour.id)) return;
|
|
130
|
+
void nextTick(() => {
|
|
131
|
+
tourAtivo.value = true;
|
|
132
|
+
emits("tour-start");
|
|
133
|
+
});
|
|
134
|
+
});
|
|
135
|
+
__expose({
|
|
136
|
+
abrirModal,
|
|
137
|
+
iniciarTour,
|
|
138
|
+
/** Fecha modal e tour de uma vez — útil ao trocar de rota. */
|
|
139
|
+
fechar: () => {
|
|
140
|
+
modalAberto.value = false;
|
|
141
|
+
tourAtivo.value = false;
|
|
142
|
+
},
|
|
143
|
+
proximo: () => {
|
|
144
|
+
var _a;
|
|
145
|
+
return (_a = tourRef.value) == null ? void 0 : _a.proximo();
|
|
146
|
+
},
|
|
147
|
+
anterior: () => {
|
|
148
|
+
var _a;
|
|
149
|
+
return (_a = tourRef.value) == null ? void 0 : _a.anterior();
|
|
150
|
+
},
|
|
151
|
+
irPara: (indice) => {
|
|
152
|
+
var _a;
|
|
153
|
+
return void ((_a = tourRef.value) == null ? void 0 : _a.irPara(indice));
|
|
154
|
+
},
|
|
155
|
+
sairTour: () => {
|
|
156
|
+
var _a;
|
|
157
|
+
return (_a = tourRef.value) == null ? void 0 : _a.sair();
|
|
158
|
+
}
|
|
159
|
+
});
|
|
160
|
+
return (_ctx, _cache) => {
|
|
161
|
+
return openBlock(), createElementBlock(Fragment, null, [
|
|
162
|
+
createElementVNode("button", {
|
|
163
|
+
ref_key: "gatilhoRef",
|
|
164
|
+
ref: gatilhoRef,
|
|
165
|
+
type: "button",
|
|
166
|
+
class: normalizeClass(["acaihelp__gatilho", { "acaihelp__gatilho--novo": mostrarPontoNovo.value }]),
|
|
167
|
+
"aria-label": rotuloGatilho.value,
|
|
168
|
+
title: rotuloGatilho.value,
|
|
169
|
+
onClick: abrirModal
|
|
170
|
+
}, [
|
|
171
|
+
createVNode(_sfc_main$1, {
|
|
172
|
+
name: iconeGatilho.value,
|
|
173
|
+
size: "md"
|
|
174
|
+
}, null, 8, ["name"]),
|
|
175
|
+
mostrarPontoNovo.value ? (openBlock(), createElementBlock("span", _hoisted_2)) : createCommentVNode("", true)
|
|
176
|
+
], 10, _hoisted_1),
|
|
177
|
+
createVNode(_sfc_main$2, {
|
|
178
|
+
modelValue: modalAberto.value,
|
|
179
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => modalAberto.value = $event),
|
|
180
|
+
title: tituloModal.value,
|
|
181
|
+
"hide-actions": "",
|
|
182
|
+
"modal-class": "acaihelp__modal"
|
|
183
|
+
}, {
|
|
184
|
+
default: withCtx(() => [
|
|
185
|
+
!temTopicos.value && !temTour.value ? (openBlock(), createElementBlock("p", _hoisted_3, " Ainda não há conteúdo de ajuda para esta tela. ")) : createCommentVNode("", true),
|
|
186
|
+
temTour.value ? (openBlock(), createElementBlock("button", {
|
|
187
|
+
key: 1,
|
|
188
|
+
type: "button",
|
|
189
|
+
class: "acaihelp__tour",
|
|
190
|
+
onClick: iniciarTour
|
|
191
|
+
}, [
|
|
192
|
+
createElementVNode("span", _hoisted_4, [
|
|
193
|
+
createVNode(_sfc_main$1, {
|
|
194
|
+
name: "auto_stories",
|
|
195
|
+
size: "md"
|
|
196
|
+
})
|
|
197
|
+
]),
|
|
198
|
+
createElementVNode("span", _hoisted_5, [
|
|
199
|
+
createElementVNode("strong", null, toDisplayString(tituloTour.value), 1),
|
|
200
|
+
createElementVNode("small", null, " Passo a passo guiado pela tela — " + toDisplayString(totalPassos.value) + " " + toDisplayString(totalPassos.value === 1 ? "passo" : "passos") + ". ", 1)
|
|
201
|
+
]),
|
|
202
|
+
createVNode(_sfc_main$1, {
|
|
203
|
+
name: "arrow_forward",
|
|
204
|
+
size: "md"
|
|
205
|
+
})
|
|
206
|
+
])) : createCommentVNode("", true),
|
|
207
|
+
temTopicos.value ? (openBlock(), createElementBlock("ul", _hoisted_6, [
|
|
208
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.content.topics, (topico, indice) => {
|
|
209
|
+
return openBlock(), createElementBlock("li", {
|
|
210
|
+
key: indice,
|
|
211
|
+
class: "acaihelp__topico"
|
|
212
|
+
}, [
|
|
213
|
+
createElementVNode("details", null, [
|
|
214
|
+
createElementVNode("summary", _hoisted_7, [
|
|
215
|
+
topico.icon ? (openBlock(), createElementBlock("span", _hoisted_8, [
|
|
216
|
+
createVNode(_sfc_main$1, {
|
|
217
|
+
name: topico.icon,
|
|
218
|
+
size: "md",
|
|
219
|
+
decorative: ""
|
|
220
|
+
}, null, 8, ["name"])
|
|
221
|
+
])) : createCommentVNode("", true),
|
|
222
|
+
createElementVNode("span", null, toDisplayString(topico.title), 1)
|
|
223
|
+
]),
|
|
224
|
+
createElementVNode("div", _hoisted_9, [
|
|
225
|
+
createElementVNode("p", _hoisted_10, toDisplayString(topico.text), 1),
|
|
226
|
+
mostrarAudio.value ? (openBlock(), createElementBlock("button", {
|
|
227
|
+
key: 0,
|
|
228
|
+
type: "button",
|
|
229
|
+
class: "acaihelp__ouvir",
|
|
230
|
+
"aria-pressed": lendoTopico(indice),
|
|
231
|
+
"aria-label": `Ouvir: ${topico.title}`,
|
|
232
|
+
onClick: ($event) => alternarTopico(indice, topico)
|
|
233
|
+
}, [
|
|
234
|
+
createVNode(_sfc_main$1, {
|
|
235
|
+
name: lendoTopico(indice) ? "stop" : "volume_up",
|
|
236
|
+
size: "16px",
|
|
237
|
+
decorative: ""
|
|
238
|
+
}, null, 8, ["name"])
|
|
239
|
+
], 8, _hoisted_11)) : createCommentVNode("", true)
|
|
240
|
+
])
|
|
241
|
+
])
|
|
242
|
+
]);
|
|
243
|
+
}), 128))
|
|
244
|
+
])) : createCommentVNode("", true)
|
|
245
|
+
]),
|
|
246
|
+
_: 1
|
|
247
|
+
}, 8, ["modelValue", "title"]),
|
|
248
|
+
temTour.value && tourAtivo.value ? (openBlock(), createBlock(_sfc_main$3, {
|
|
249
|
+
key: 0,
|
|
250
|
+
ref_key: "tourRef",
|
|
251
|
+
ref: tourRef,
|
|
252
|
+
modelValue: tourAtivo.value,
|
|
253
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => tourAtivo.value = $event),
|
|
254
|
+
tour: __props.content.tour,
|
|
255
|
+
"hide-audio": __props.hideAudio,
|
|
256
|
+
"audio-lang": __props.audioLang,
|
|
257
|
+
onFinish: aoConcluirTour,
|
|
258
|
+
onExit: _cache[2] || (_cache[2] = ($event) => emits("tour-exit")),
|
|
259
|
+
onStep: _cache[3] || (_cache[3] = (indice) => emits("tour-step", indice)),
|
|
260
|
+
onStepSkipped: _cache[4] || (_cache[4] = (info) => emits("tour-step-skipped", info))
|
|
261
|
+
}, null, 8, ["modelValue", "tour", "hide-audio", "audio-lang"])) : createCommentVNode("", true)
|
|
262
|
+
], 64);
|
|
263
|
+
};
|
|
264
|
+
}
|
|
265
|
+
});
|
|
266
|
+
export {
|
|
267
|
+
_sfc_main as default
|
|
268
|
+
};
|
|
269
|
+
//# sourceMappingURL=index21.mjs.map
|