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
package/dist/index78.mjs
ADDED
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
const SLOTS_PALETA_GRAFICO = 5;
|
|
2
|
+
const SUPERFICIE_GRAFICO = {
|
|
3
|
+
claro: "#ffffff",
|
|
4
|
+
escuro: "#171f2e"
|
|
5
|
+
};
|
|
6
|
+
const PALETA_GRAFICO_CLARO = {
|
|
7
|
+
series: ["#3a80d0", "#b37800", "#4944b3", "#941c2a", "#43a858"],
|
|
8
|
+
outros: "#707070"
|
|
9
|
+
// $color-gray-600
|
|
10
|
+
};
|
|
11
|
+
const PALETA_GRAFICO_ESCURO = {
|
|
12
|
+
series: ["#6aa0e0", "#f5cb66", "#9f9ce8", "#e06070", "#7fcd8e"],
|
|
13
|
+
outros: "#c7c7c7"
|
|
14
|
+
// $color-gray-200
|
|
15
|
+
};
|
|
16
|
+
const PALETA_GRAFICO_CVD = {
|
|
17
|
+
// Okabe-Ito. O verde-azulado (#009e73) vem do bloco de tritanopia da lib;
|
|
18
|
+
// o âmbar é o $color-yellow-700 da tabela (o #e69f00 canônico é claro demais).
|
|
19
|
+
deuteranopia: {
|
|
20
|
+
claro: {
|
|
21
|
+
series: ["#b37800", "#0072b2", "#d55e00", "#7a52a0", "#009e73"],
|
|
22
|
+
outros: "#707070"
|
|
23
|
+
},
|
|
24
|
+
escuro: {
|
|
25
|
+
// #4fd1a5 é o verde-água claro que a lib já usa no tritanopia escuro.
|
|
26
|
+
series: ["#4fd1a5", "#b18ad4", "#f0b840", "#5fb0e8", "#f0853f"],
|
|
27
|
+
outros: "#c7c7c7"
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
// Okabe-Ito com vermelho mais alaranjado (protanopes leem vermelho puro escuro).
|
|
31
|
+
protanopia: {
|
|
32
|
+
claro: {
|
|
33
|
+
series: ["#b37800", "#0072b2", "#e8590c", "#7a52a0", "#009e73"],
|
|
34
|
+
outros: "#707070"
|
|
35
|
+
},
|
|
36
|
+
escuro: {
|
|
37
|
+
series: ["#4fd1a5", "#b18ad4", "#f5c542", "#5fb0e8", "#f5904a"],
|
|
38
|
+
outros: "#c7c7c7"
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
// Paul Tol. O laranja #ee7733 do bloco de status virou #cc6600 pelo mesmo
|
|
42
|
+
// motivo do âmbar acima (2,87:1 sobre branco, abaixo do piso).
|
|
43
|
+
tritanopia: {
|
|
44
|
+
claro: {
|
|
45
|
+
series: ["#cc6600", "#0077bb", "#cc3311", "#009e73", "#a83768"],
|
|
46
|
+
outros: "#707070"
|
|
47
|
+
},
|
|
48
|
+
escuro: {
|
|
49
|
+
// #e07aa0 é o único tom novo desta leva: o magenta #a83768 não tem versão
|
|
50
|
+
// clara em lugar nenhum da lib, e some sobre #171f2e no valor escuro.
|
|
51
|
+
series: ["#f5a05e", "#5fb4e8", "#f4795e", "#4fd1a5", "#e07aa0"],
|
|
52
|
+
outros: "#c7c7c7"
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
// Sem percepção de cor: a única pista de cor é a LUMINÂNCIA, e ela não separa
|
|
56
|
+
// 5 séries com folga dentro da faixa que ainda passa 3:1 sobre a superfície.
|
|
57
|
+
// É por isso que neste modo o componente liga HACHURA obrigatoriamente — o
|
|
58
|
+
// padrão é que distingue, o cinza só ordena. No escuro a escala INVERTE
|
|
59
|
+
// (mesma lógica que o `_themes.scss` já aplica aos status).
|
|
60
|
+
acromatopsia: {
|
|
61
|
+
claro: {
|
|
62
|
+
series: ["#1f1f1f", "#3d3d3d", "#565656", "#6b6b6b", "#808080"],
|
|
63
|
+
outros: "#949494"
|
|
64
|
+
// 3.03:1 sobre branco — no piso, mas o padrão carrega a distinção
|
|
65
|
+
},
|
|
66
|
+
escuro: {
|
|
67
|
+
series: ["#f0f0f0", "#d6d6d6", "#b8b8b8", "#9e9e9e", "#8c8c8c"],
|
|
68
|
+
outros: "#6f6f6f"
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
};
|
|
72
|
+
function corDaSerie(indice, paletaCustom) {
|
|
73
|
+
if (paletaCustom && paletaCustom.length > 0) {
|
|
74
|
+
return paletaCustom[indice % paletaCustom.length];
|
|
75
|
+
}
|
|
76
|
+
if (indice < 0 || indice >= SLOTS_PALETA_GRAFICO) return "var(--acai-chart-other)";
|
|
77
|
+
return `var(--acai-chart-${indice + 1})`;
|
|
78
|
+
}
|
|
79
|
+
export {
|
|
80
|
+
PALETA_GRAFICO_CLARO,
|
|
81
|
+
PALETA_GRAFICO_CVD,
|
|
82
|
+
PALETA_GRAFICO_ESCURO,
|
|
83
|
+
SLOTS_PALETA_GRAFICO,
|
|
84
|
+
SUPERFICIE_GRAFICO,
|
|
85
|
+
corDaSerie
|
|
86
|
+
};
|
|
87
|
+
//# sourceMappingURL=index78.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index78.mjs","sources":["../src/constants/chart-paleta.ts"],"sourcesContent":["// Paleta CATEGÓRICA de gráfico — fonte de verdade em TS.\n//\n// Os valores que o navegador usa vivem em `scss/_themes.scss` (custom properties\n// `--acai-chart-*`, que retingem sozinhas no escuro / daltônico / alto contraste).\n// Este arquivo existe por dois motivos:\n// 1. testes — medir contraste e separação sem rodar navegador;\n// 2. render HEADLESS (ex.: gerar PNG de gráfico pra dentro de um PDF), onde não\n// há CSS custom property pra resolver.\n// O spec `chart-paleta.spec.ts` garante que os dois lados não divergem: todo hex\n// daqui precisa aparecer no `_themes.scss`.\n//\n// ⚠️ Regra de cor da lib: componente NUNCA hardcoda hex daqui. Use `corDaSerie()`,\n// que devolve `var(--acai-chart-N)`. Os hexes são só pra teste e headless.\n\n/**\n * Quantidade de slots categóricos. Da 6ª categoria em diante o gráfico agrupa\n * em \"Outros\" — 5 séries já é o teto do que se distingue num gráfico, e é\n * também o limite do que a tabela de cores da lib cobre nos DOIS temas\n * (o `accent` é a única cor de marca sem rampa, então não há 6º tom claro\n * pro tema escuro). Precisando de 6, o caminho certo é criar a rampa\n * `$color-purple-*` completa — não um hex avulso.\n */\nexport const SLOTS_PALETA_GRAFICO = 5\n\n/** Modos de daltonismo que a lib suporta (espelha `usePreferencias`). */\nexport type ModoDaltonismoGrafico = 'deuteranopia' | 'protanopia' | 'tritanopia' | 'acromatopsia'\n\nexport interface PaletaGrafico {\n /** Slots categóricos, na ordem de uso. Pares ADJACENTES são os que mais precisam se distinguir. */\n readonly series: readonly string[]\n /** 6ª categoria em diante, agrupada. Neutro por definição. */\n readonly outros: string\n}\n\n/** Superfície sobre a qual a paleta é medida em cada tema (vale pro teste de contraste). */\nexport const SUPERFICIE_GRAFICO = {\n claro: '#ffffff',\n escuro: '#171f2e',\n} as const\n\n// ── Modo normal ────────────────────────────────────────────────────────────\n// 100% da tabela de cores da lib (`_variables.scss`) — nenhum hex inventado.\n// No escuro vale a convenção que o `_themes.scss` JÁ usa pros status: sobe pro\n// tom 300 da própria rampa, então a família de cor continua reconhecível.\n\n/** Claro: blue-400, yellow-700, primary-700, red-600 (=$negative), green-500. */\nexport const PALETA_GRAFICO_CLARO: PaletaGrafico = {\n series: ['#3a80d0', '#b37800', '#4944b3', '#941c2a', '#43a858'],\n outros: '#707070', // $color-gray-600\n}\n\n/**\n * Escuro: o tom 300 de cada rampa do claro.\n *\n * ⚠️ Slot 1 (#6aa0e0, azul claro) e slot 3 (#9f9ce8, violeta claro) são vizinhos\n * em matiz. Eles NÃO são adjacentes na ordem, então barra/linha (que só precisam\n * separar pares consecutivos) ficam bem. Em PIZZA, onde toda fatia encosta em\n * toda fatia, prefira no máximo 4 fatias + \"Outros\" no escuro.\n */\nexport const PALETA_GRAFICO_ESCURO: PaletaGrafico = {\n series: ['#6aa0e0', '#f5cb66', '#9f9ce8', '#e06070', '#7fcd8e'],\n outros: '#c7c7c7', // $color-gray-200\n}\n\n// ── Daltonismo ─────────────────────────────────────────────────────────────\n// Reaproveita os hexes que o `_themes.scss` JÁ escolheu e justificou pra cada\n// tipo de CVD (Okabe-Ito em deuteranopia/protanopia, Paul Tol em tritanopia,\n// luminância monotônica em acromatopsia). Duas diferenças em relação ao uso\n// como STATUS, e as duas têm motivo:\n//\n// 1. Os âmbares/laranjas foram ESCURECIDOS. Como status eles vivem sobre um\n// fundo próprio (badge, banner); como série eles PREENCHEM área sobre a\n// superfície, e a versão canônica não passa 3:1 sobre branco — o Okabe-Ito\n// #e69f00 dá 2,25:1 e o #f0b000 do protanopia dá 1,92:1.\n// 2. A ORDEM não é a mesma do modo normal. Ela foi escolhida por busca\n// exaustiva nas 120 permutações, maximizando a menor distância entre\n// pares ADJACENTES sob a própria dicromacia. Por isso o slot 1 não é\n// sempre azul: forçar isso derrubava o tritanopia escuro de 26,4 pra 6,8.\n// Precedente da lib: no deuteranopia o `positive` já é AZUL, não verde —\n// quem liga o modo aceita que a cor muda de papel.\n//\n// ⚠️ Estes números valem para pares ADJACENTES, que é o que barra e linha\n// encostam. Em PIZZA toda fatia toca todas: aí só 2 a 4 cores se separam,\n// dependendo do modo. Pizza NÃO pode depender de cor — precisa de rótulo\n// direto na fatia como canal primário.\n\nexport const PALETA_GRAFICO_CVD: Readonly<\n Record<ModoDaltonismoGrafico, { claro: PaletaGrafico; escuro: PaletaGrafico }>\n> = {\n // Okabe-Ito. O verde-azulado (#009e73) vem do bloco de tritanopia da lib;\n // o âmbar é o $color-yellow-700 da tabela (o #e69f00 canônico é claro demais).\n deuteranopia: {\n claro: {\n series: ['#b37800', '#0072b2', '#d55e00', '#7a52a0', '#009e73'],\n outros: '#707070',\n },\n escuro: {\n // #4fd1a5 é o verde-água claro que a lib já usa no tritanopia escuro.\n series: ['#4fd1a5', '#b18ad4', '#f0b840', '#5fb0e8', '#f0853f'],\n outros: '#c7c7c7',\n },\n },\n\n // Okabe-Ito com vermelho mais alaranjado (protanopes leem vermelho puro escuro).\n protanopia: {\n claro: {\n series: ['#b37800', '#0072b2', '#e8590c', '#7a52a0', '#009e73'],\n outros: '#707070',\n },\n escuro: {\n series: ['#4fd1a5', '#b18ad4', '#f5c542', '#5fb0e8', '#f5904a'],\n outros: '#c7c7c7',\n },\n },\n\n // Paul Tol. O laranja #ee7733 do bloco de status virou #cc6600 pelo mesmo\n // motivo do âmbar acima (2,87:1 sobre branco, abaixo do piso).\n tritanopia: {\n claro: {\n series: ['#cc6600', '#0077bb', '#cc3311', '#009e73', '#a83768'],\n outros: '#707070',\n },\n escuro: {\n // #e07aa0 é o único tom novo desta leva: o magenta #a83768 não tem versão\n // clara em lugar nenhum da lib, e some sobre #171f2e no valor escuro.\n series: ['#f5a05e', '#5fb4e8', '#f4795e', '#4fd1a5', '#e07aa0'],\n outros: '#c7c7c7',\n },\n },\n\n // Sem percepção de cor: a única pista de cor é a LUMINÂNCIA, e ela não separa\n // 5 séries com folga dentro da faixa que ainda passa 3:1 sobre a superfície.\n // É por isso que neste modo o componente liga HACHURA obrigatoriamente — o\n // padrão é que distingue, o cinza só ordena. No escuro a escala INVERTE\n // (mesma lógica que o `_themes.scss` já aplica aos status).\n acromatopsia: {\n claro: {\n series: ['#1f1f1f', '#3d3d3d', '#565656', '#6b6b6b', '#808080'],\n outros: '#949494', // 3.03:1 sobre branco — no piso, mas o padrão carrega a distinção\n },\n escuro: {\n series: ['#f0f0f0', '#d6d6d6', '#b8b8b8', '#9e9e9e', '#8c8c8c'],\n outros: '#6f6f6f',\n },\n },\n}\n\n/**\n * Cor do slot `indice` (0-based) como CSS custom property — é o que os\n * componentes usam, pra o valor retingir sozinho nos 3 eixos de preferência.\n * Do 6º em diante devolve o slot \"Outros\".\n *\n * @param paletaCustom sobrescreve a paleta da lib (prop `palette` do componente).\n * Aceita qualquer valor CSS; passando hex cru você PERDE o dark/daltônico.\n */\nexport function corDaSerie(indice: number, paletaCustom?: readonly string[]): string {\n if (paletaCustom && paletaCustom.length > 0) {\n return paletaCustom[indice % paletaCustom.length] as string\n }\n if (indice < 0 || indice >= SLOTS_PALETA_GRAFICO) return 'var(--acai-chart-other)'\n return `var(--acai-chart-${indice + 1})`\n}\n"],"names":[],"mappings":"AAsBO,MAAM,uBAAuB;AAa7B,MAAM,qBAAqB;AAAA,EAChC,OAAO;AAAA,EACP,QAAQ;AACV;AAQO,MAAM,uBAAsC;AAAA,EACjD,QAAQ,CAAC,WAAW,WAAW,WAAW,WAAW,SAAS;AAAA,EAC9D,QAAQ;AAAA;AACV;AAUO,MAAM,wBAAuC;AAAA,EAClD,QAAQ,CAAC,WAAW,WAAW,WAAW,WAAW,SAAS;AAAA,EAC9D,QAAQ;AAAA;AACV;AAwBO,MAAM,qBAET;AAAA;AAAA;AAAA,EAGF,cAAc;AAAA,IACZ,OAAO;AAAA,MACL,QAAQ,CAAC,WAAW,WAAW,WAAW,WAAW,SAAS;AAAA,MAC9D,QAAQ;AAAA,IAAA;AAAA,IAEV,QAAQ;AAAA;AAAA,MAEN,QAAQ,CAAC,WAAW,WAAW,WAAW,WAAW,SAAS;AAAA,MAC9D,QAAQ;AAAA,IAAA;AAAA,EACV;AAAA;AAAA,EAIF,YAAY;AAAA,IACV,OAAO;AAAA,MACL,QAAQ,CAAC,WAAW,WAAW,WAAW,WAAW,SAAS;AAAA,MAC9D,QAAQ;AAAA,IAAA;AAAA,IAEV,QAAQ;AAAA,MACN,QAAQ,CAAC,WAAW,WAAW,WAAW,WAAW,SAAS;AAAA,MAC9D,QAAQ;AAAA,IAAA;AAAA,EACV;AAAA;AAAA;AAAA,EAKF,YAAY;AAAA,IACV,OAAO;AAAA,MACL,QAAQ,CAAC,WAAW,WAAW,WAAW,WAAW,SAAS;AAAA,MAC9D,QAAQ;AAAA,IAAA;AAAA,IAEV,QAAQ;AAAA;AAAA;AAAA,MAGN,QAAQ,CAAC,WAAW,WAAW,WAAW,WAAW,SAAS;AAAA,MAC9D,QAAQ;AAAA,IAAA;AAAA,EACV;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAQF,cAAc;AAAA,IACZ,OAAO;AAAA,MACL,QAAQ,CAAC,WAAW,WAAW,WAAW,WAAW,SAAS;AAAA,MAC9D,QAAQ;AAAA;AAAA,IAAA;AAAA,IAEV,QAAQ;AAAA,MACN,QAAQ,CAAC,WAAW,WAAW,WAAW,WAAW,SAAS;AAAA,MAC9D,QAAQ;AAAA,IAAA;AAAA,EACV;AAEJ;AAUO,SAAS,WAAW,QAAgB,cAA0C;AACnF,MAAI,gBAAgB,aAAa,SAAS,GAAG;AAC3C,WAAO,aAAa,SAAS,aAAa,MAAM;AAAA,EAClD;AACA,MAAI,SAAS,KAAK,UAAU,qBAAsB,QAAO;AACzD,SAAO,oBAAoB,SAAS,CAAC;AACvC;"}
|
package/dist/index79.cjs
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const Radius = {
|
|
4
|
+
"2xs": "1px",
|
|
5
|
+
xs: "2px",
|
|
6
|
+
sm: "4px",
|
|
7
|
+
md: "6px",
|
|
8
|
+
lg: "8px",
|
|
9
|
+
xl: "12px",
|
|
10
|
+
"2xl": "16px",
|
|
11
|
+
"3xl": "24px",
|
|
12
|
+
"4xl": "32px",
|
|
13
|
+
full: "9999px"
|
|
14
|
+
};
|
|
15
|
+
exports.Radius = Radius;
|
|
16
|
+
//# sourceMappingURL=index79.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index79.cjs","sources":["../src/constants/radius.ts"],"sourcesContent":["export const Radius = {\n '2xs': '1px',\n xs: '2px',\n sm: '4px',\n md: '6px',\n lg: '8px',\n xl: '12px',\n '2xl': '16px',\n '3xl': '24px',\n '4xl': '32px',\n full: '9999px',\n} as const\n\nexport type RadiusKeys = keyof typeof Radius\nexport type RadiusValues = (typeof Radius)[RadiusKeys]\n"],"names":[],"mappings":";;AAAO,MAAM,SAAS;AAAA,EACpB,OAAO;AAAA,EACP,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AAAA,EACP,MAAM;AACR;;"}
|
package/dist/index79.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index79.mjs","sources":["../src/constants/radius.ts"],"sourcesContent":["export const Radius = {\n '2xs': '1px',\n xs: '2px',\n sm: '4px',\n md: '6px',\n lg: '8px',\n xl: '12px',\n '2xl': '16px',\n '3xl': '24px',\n '4xl': '32px',\n full: '9999px',\n} as const\n\nexport type RadiusKeys = keyof typeof Radius\nexport type RadiusValues = (typeof Radius)[RadiusKeys]\n"],"names":[],"mappings":"AAAO,MAAM,SAAS;AAAA,EACpB,OAAO;AAAA,EACP,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AAAA,EACP,MAAM;AACR;"}
|
package/dist/index8.cjs
ADDED
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const quasar = require("quasar");
|
|
3
|
+
const vue = require("vue");
|
|
4
|
+
const acaiUiIcon_vue_vue_type_script_setup_true_lang = require("./index23.cjs");
|
|
5
|
+
const acaiUiHelp_vue_vue_type_script_setup_true_lang = require("./index21.cjs");
|
|
6
|
+
;/* empty css */
|
|
7
|
+
const plugin = require("./index3.cjs");
|
|
8
|
+
const _hoisted_1 = { class: "container q-gutter-y-md" };
|
|
9
|
+
const _hoisted_2 = {
|
|
10
|
+
key: 0,
|
|
11
|
+
class: "container-trilha"
|
|
12
|
+
};
|
|
13
|
+
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
14
|
+
__name: "acai-ui-container",
|
|
15
|
+
props: {
|
|
16
|
+
title: {},
|
|
17
|
+
breadcrumbs: {},
|
|
18
|
+
hideBreadcrumbs: { type: Boolean, default: false },
|
|
19
|
+
headingLevel: { default: 1 },
|
|
20
|
+
help: {},
|
|
21
|
+
helpAutoStart: { type: Boolean, default: false },
|
|
22
|
+
helpHideAudio: { type: Boolean, default: false }
|
|
23
|
+
},
|
|
24
|
+
emits: ["help-open", "tour-start", "tour-finish", "tour-exit", "tour-step", "tour-step-skipped"],
|
|
25
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
26
|
+
var _a;
|
|
27
|
+
const props = __props;
|
|
28
|
+
const headingTag = vue.computed(() => `h${props.headingLevel ?? 1}`);
|
|
29
|
+
const emits = __emit;
|
|
30
|
+
const helpRef = vue.ref(null);
|
|
31
|
+
__expose({
|
|
32
|
+
abrirAjuda: () => {
|
|
33
|
+
var _a2;
|
|
34
|
+
return (_a2 = helpRef.value) == null ? void 0 : _a2.abrirModal();
|
|
35
|
+
},
|
|
36
|
+
iniciarTour: () => {
|
|
37
|
+
var _a2;
|
|
38
|
+
return (_a2 = helpRef.value) == null ? void 0 : _a2.iniciarTour();
|
|
39
|
+
},
|
|
40
|
+
proximo: () => {
|
|
41
|
+
var _a2;
|
|
42
|
+
return (_a2 = helpRef.value) == null ? void 0 : _a2.proximo();
|
|
43
|
+
},
|
|
44
|
+
anterior: () => {
|
|
45
|
+
var _a2;
|
|
46
|
+
return (_a2 = helpRef.value) == null ? void 0 : _a2.anterior();
|
|
47
|
+
},
|
|
48
|
+
irPara: (indice) => {
|
|
49
|
+
var _a2;
|
|
50
|
+
return (_a2 = helpRef.value) == null ? void 0 : _a2.irPara(indice);
|
|
51
|
+
},
|
|
52
|
+
sairTour: () => {
|
|
53
|
+
var _a2;
|
|
54
|
+
return (_a2 = helpRef.value) == null ? void 0 : _a2.sairTour();
|
|
55
|
+
}
|
|
56
|
+
});
|
|
57
|
+
const config = vue.inject(plugin.ACAI_UI_CONFIG, null);
|
|
58
|
+
const trilhaAutomatica = ((_a = config == null ? void 0 : config.useBreadcrumbs) == null ? void 0 : _a.call(config, props.title)) ?? null;
|
|
59
|
+
const breadcrumbsExibidos = vue.computed(() => {
|
|
60
|
+
var _a2;
|
|
61
|
+
if (props.breadcrumbs) return props.breadcrumbs;
|
|
62
|
+
const trilha = (_a2 = trilhaAutomatica == null ? void 0 : trilhaAutomatica.trilha) == null ? void 0 : _a2.value;
|
|
63
|
+
return trilha ?? [];
|
|
64
|
+
});
|
|
65
|
+
const exibirTrilha = vue.computed(
|
|
66
|
+
() => breadcrumbsExibidos.value.length > 0 && !props.hideBreadcrumbs
|
|
67
|
+
);
|
|
68
|
+
vue.onMounted(() => {
|
|
69
|
+
document.title = props.title;
|
|
70
|
+
});
|
|
71
|
+
return (_ctx, _cache) => {
|
|
72
|
+
return vue.openBlock(), vue.createBlock(quasar.QPage, { class: "container-page" }, {
|
|
73
|
+
default: vue.withCtx(() => [
|
|
74
|
+
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(headingTag.value), { class: "container-heading-sr-only" }, {
|
|
75
|
+
default: vue.withCtx(() => [
|
|
76
|
+
vue.createTextVNode(vue.toDisplayString(__props.title), 1)
|
|
77
|
+
]),
|
|
78
|
+
_: 1
|
|
79
|
+
})),
|
|
80
|
+
vue.createElementVNode("div", _hoisted_1, [
|
|
81
|
+
exibirTrilha.value || __props.help ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2, [
|
|
82
|
+
exibirTrilha.value ? (vue.openBlock(), vue.createBlock(quasar.QBreadcrumbs, {
|
|
83
|
+
key: 0,
|
|
84
|
+
class: "container-breadcrumbs",
|
|
85
|
+
"active-color": "primary",
|
|
86
|
+
gutter: "sm"
|
|
87
|
+
}, {
|
|
88
|
+
separator: vue.withCtx(() => [
|
|
89
|
+
vue.createVNode(acaiUiIcon_vue_vue_type_script_setup_true_lang, {
|
|
90
|
+
name: "arrow_forward",
|
|
91
|
+
size: "md"
|
|
92
|
+
})
|
|
93
|
+
]),
|
|
94
|
+
default: vue.withCtx(() => [
|
|
95
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(breadcrumbsExibidos.value, (item, indice) => {
|
|
96
|
+
return vue.openBlock(), vue.createBlock(quasar.QBreadcrumbsEl, {
|
|
97
|
+
key: indice,
|
|
98
|
+
label: item.label,
|
|
99
|
+
icon: item.icon,
|
|
100
|
+
to: item.to
|
|
101
|
+
}, null, 8, ["label", "icon", "to"]);
|
|
102
|
+
}), 128))
|
|
103
|
+
]),
|
|
104
|
+
_: 1
|
|
105
|
+
})) : vue.createCommentVNode("", true),
|
|
106
|
+
__props.help ? (vue.openBlock(), vue.createBlock(acaiUiHelp_vue_vue_type_script_setup_true_lang, {
|
|
107
|
+
key: 1,
|
|
108
|
+
ref_key: "helpRef",
|
|
109
|
+
ref: helpRef,
|
|
110
|
+
content: __props.help,
|
|
111
|
+
"auto-start": __props.helpAutoStart,
|
|
112
|
+
"hide-audio": __props.helpHideAudio,
|
|
113
|
+
onOpen: _cache[0] || (_cache[0] = ($event) => emits("help-open")),
|
|
114
|
+
onTourStart: _cache[1] || (_cache[1] = ($event) => emits("tour-start")),
|
|
115
|
+
onTourFinish: _cache[2] || (_cache[2] = ($event) => emits("tour-finish")),
|
|
116
|
+
onTourExit: _cache[3] || (_cache[3] = ($event) => emits("tour-exit")),
|
|
117
|
+
onTourStep: _cache[4] || (_cache[4] = (indice) => emits("tour-step", indice)),
|
|
118
|
+
onTourStepSkipped: _cache[5] || (_cache[5] = (info) => emits("tour-step-skipped", info))
|
|
119
|
+
}, null, 8, ["content", "auto-start", "hide-audio"])) : vue.createCommentVNode("", true)
|
|
120
|
+
])) : vue.createCommentVNode("", true),
|
|
121
|
+
vue.renderSlot(_ctx.$slots, "default")
|
|
122
|
+
])
|
|
123
|
+
]),
|
|
124
|
+
_: 3
|
|
125
|
+
});
|
|
126
|
+
};
|
|
127
|
+
}
|
|
128
|
+
});
|
|
129
|
+
module.exports = _sfc_main;
|
|
130
|
+
//# sourceMappingURL=index8.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index8.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/index8.mjs
ADDED
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
import { QPage, QBreadcrumbs, QBreadcrumbsEl } from "quasar";
|
|
2
|
+
import { defineComponent, computed, ref, inject, onMounted, openBlock, createBlock, withCtx, resolveDynamicComponent, createTextVNode, toDisplayString, createElementVNode, createElementBlock, Fragment, renderList, createVNode, createCommentVNode, renderSlot } from "vue";
|
|
3
|
+
import _sfc_main$1 from "./index23.mjs";
|
|
4
|
+
import _sfc_main$2 from "./index21.mjs";
|
|
5
|
+
/* empty css */
|
|
6
|
+
import { ACAI_UI_CONFIG } from "./index3.mjs";
|
|
7
|
+
const _hoisted_1 = { class: "container q-gutter-y-md" };
|
|
8
|
+
const _hoisted_2 = {
|
|
9
|
+
key: 0,
|
|
10
|
+
class: "container-trilha"
|
|
11
|
+
};
|
|
12
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
13
|
+
__name: "acai-ui-container",
|
|
14
|
+
props: {
|
|
15
|
+
title: {},
|
|
16
|
+
breadcrumbs: {},
|
|
17
|
+
hideBreadcrumbs: { type: Boolean, default: false },
|
|
18
|
+
headingLevel: { default: 1 },
|
|
19
|
+
help: {},
|
|
20
|
+
helpAutoStart: { type: Boolean, default: false },
|
|
21
|
+
helpHideAudio: { type: Boolean, default: false }
|
|
22
|
+
},
|
|
23
|
+
emits: ["help-open", "tour-start", "tour-finish", "tour-exit", "tour-step", "tour-step-skipped"],
|
|
24
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
25
|
+
var _a;
|
|
26
|
+
const props = __props;
|
|
27
|
+
const headingTag = computed(() => `h${props.headingLevel ?? 1}`);
|
|
28
|
+
const emits = __emit;
|
|
29
|
+
const helpRef = ref(null);
|
|
30
|
+
__expose({
|
|
31
|
+
abrirAjuda: () => {
|
|
32
|
+
var _a2;
|
|
33
|
+
return (_a2 = helpRef.value) == null ? void 0 : _a2.abrirModal();
|
|
34
|
+
},
|
|
35
|
+
iniciarTour: () => {
|
|
36
|
+
var _a2;
|
|
37
|
+
return (_a2 = helpRef.value) == null ? void 0 : _a2.iniciarTour();
|
|
38
|
+
},
|
|
39
|
+
proximo: () => {
|
|
40
|
+
var _a2;
|
|
41
|
+
return (_a2 = helpRef.value) == null ? void 0 : _a2.proximo();
|
|
42
|
+
},
|
|
43
|
+
anterior: () => {
|
|
44
|
+
var _a2;
|
|
45
|
+
return (_a2 = helpRef.value) == null ? void 0 : _a2.anterior();
|
|
46
|
+
},
|
|
47
|
+
irPara: (indice) => {
|
|
48
|
+
var _a2;
|
|
49
|
+
return (_a2 = helpRef.value) == null ? void 0 : _a2.irPara(indice);
|
|
50
|
+
},
|
|
51
|
+
sairTour: () => {
|
|
52
|
+
var _a2;
|
|
53
|
+
return (_a2 = helpRef.value) == null ? void 0 : _a2.sairTour();
|
|
54
|
+
}
|
|
55
|
+
});
|
|
56
|
+
const config = inject(ACAI_UI_CONFIG, null);
|
|
57
|
+
const trilhaAutomatica = ((_a = config == null ? void 0 : config.useBreadcrumbs) == null ? void 0 : _a.call(config, props.title)) ?? null;
|
|
58
|
+
const breadcrumbsExibidos = computed(() => {
|
|
59
|
+
var _a2;
|
|
60
|
+
if (props.breadcrumbs) return props.breadcrumbs;
|
|
61
|
+
const trilha = (_a2 = trilhaAutomatica == null ? void 0 : trilhaAutomatica.trilha) == null ? void 0 : _a2.value;
|
|
62
|
+
return trilha ?? [];
|
|
63
|
+
});
|
|
64
|
+
const exibirTrilha = computed(
|
|
65
|
+
() => breadcrumbsExibidos.value.length > 0 && !props.hideBreadcrumbs
|
|
66
|
+
);
|
|
67
|
+
onMounted(() => {
|
|
68
|
+
document.title = props.title;
|
|
69
|
+
});
|
|
70
|
+
return (_ctx, _cache) => {
|
|
71
|
+
return openBlock(), createBlock(QPage, { class: "container-page" }, {
|
|
72
|
+
default: withCtx(() => [
|
|
73
|
+
(openBlock(), createBlock(resolveDynamicComponent(headingTag.value), { class: "container-heading-sr-only" }, {
|
|
74
|
+
default: withCtx(() => [
|
|
75
|
+
createTextVNode(toDisplayString(__props.title), 1)
|
|
76
|
+
]),
|
|
77
|
+
_: 1
|
|
78
|
+
})),
|
|
79
|
+
createElementVNode("div", _hoisted_1, [
|
|
80
|
+
exibirTrilha.value || __props.help ? (openBlock(), createElementBlock("div", _hoisted_2, [
|
|
81
|
+
exibirTrilha.value ? (openBlock(), createBlock(QBreadcrumbs, {
|
|
82
|
+
key: 0,
|
|
83
|
+
class: "container-breadcrumbs",
|
|
84
|
+
"active-color": "primary",
|
|
85
|
+
gutter: "sm"
|
|
86
|
+
}, {
|
|
87
|
+
separator: withCtx(() => [
|
|
88
|
+
createVNode(_sfc_main$1, {
|
|
89
|
+
name: "arrow_forward",
|
|
90
|
+
size: "md"
|
|
91
|
+
})
|
|
92
|
+
]),
|
|
93
|
+
default: withCtx(() => [
|
|
94
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(breadcrumbsExibidos.value, (item, indice) => {
|
|
95
|
+
return openBlock(), createBlock(QBreadcrumbsEl, {
|
|
96
|
+
key: indice,
|
|
97
|
+
label: item.label,
|
|
98
|
+
icon: item.icon,
|
|
99
|
+
to: item.to
|
|
100
|
+
}, null, 8, ["label", "icon", "to"]);
|
|
101
|
+
}), 128))
|
|
102
|
+
]),
|
|
103
|
+
_: 1
|
|
104
|
+
})) : createCommentVNode("", true),
|
|
105
|
+
__props.help ? (openBlock(), createBlock(_sfc_main$2, {
|
|
106
|
+
key: 1,
|
|
107
|
+
ref_key: "helpRef",
|
|
108
|
+
ref: helpRef,
|
|
109
|
+
content: __props.help,
|
|
110
|
+
"auto-start": __props.helpAutoStart,
|
|
111
|
+
"hide-audio": __props.helpHideAudio,
|
|
112
|
+
onOpen: _cache[0] || (_cache[0] = ($event) => emits("help-open")),
|
|
113
|
+
onTourStart: _cache[1] || (_cache[1] = ($event) => emits("tour-start")),
|
|
114
|
+
onTourFinish: _cache[2] || (_cache[2] = ($event) => emits("tour-finish")),
|
|
115
|
+
onTourExit: _cache[3] || (_cache[3] = ($event) => emits("tour-exit")),
|
|
116
|
+
onTourStep: _cache[4] || (_cache[4] = (indice) => emits("tour-step", indice)),
|
|
117
|
+
onTourStepSkipped: _cache[5] || (_cache[5] = (info) => emits("tour-step-skipped", info))
|
|
118
|
+
}, null, 8, ["content", "auto-start", "hide-audio"])) : createCommentVNode("", true)
|
|
119
|
+
])) : createCommentVNode("", true),
|
|
120
|
+
renderSlot(_ctx.$slots, "default")
|
|
121
|
+
])
|
|
122
|
+
]),
|
|
123
|
+
_: 3
|
|
124
|
+
});
|
|
125
|
+
};
|
|
126
|
+
}
|
|
127
|
+
});
|
|
128
|
+
export {
|
|
129
|
+
_sfc_main as default
|
|
130
|
+
};
|
|
131
|
+
//# sourceMappingURL=index8.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index8.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/index80.cjs
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const vue = require("vue");
|
|
4
|
+
const acaiUiChart_vue_vue_type_script_setup_true_lang = require("./index4.cjs");
|
|
5
|
+
;/* empty css */
|
|
6
|
+
function proximoFrame() {
|
|
7
|
+
return new Promise((resolver) => {
|
|
8
|
+
if (typeof requestAnimationFrame === "undefined") {
|
|
9
|
+
setTimeout(resolver, 16);
|
|
10
|
+
return;
|
|
11
|
+
}
|
|
12
|
+
requestAnimationFrame(() => resolver());
|
|
13
|
+
});
|
|
14
|
+
}
|
|
15
|
+
async function esperarDesenho() {
|
|
16
|
+
await vue.nextTick();
|
|
17
|
+
await proximoFrame();
|
|
18
|
+
await proximoFrame();
|
|
19
|
+
await vue.nextTick();
|
|
20
|
+
}
|
|
21
|
+
async function chartParaImagem(props, opcoes = {}) {
|
|
22
|
+
if (typeof document === "undefined") {
|
|
23
|
+
throw new Error("acai-ui-chart: chartParaImagem exige navegador.");
|
|
24
|
+
}
|
|
25
|
+
const largura = Math.max(1, Math.round(opcoes.largura ?? 800));
|
|
26
|
+
const altura = Math.max(1, Math.round(opcoes.altura ?? 400));
|
|
27
|
+
const container = document.createElement("div");
|
|
28
|
+
container.setAttribute("aria-hidden", "true");
|
|
29
|
+
container.style.cssText = [
|
|
30
|
+
"position:fixed",
|
|
31
|
+
"left:-10000px",
|
|
32
|
+
"top:0",
|
|
33
|
+
`width:${largura}px`,
|
|
34
|
+
`height:${altura}px`,
|
|
35
|
+
"opacity:0",
|
|
36
|
+
"pointer-events:none",
|
|
37
|
+
"z-index:-1"
|
|
38
|
+
].join(";");
|
|
39
|
+
document.body.appendChild(container);
|
|
40
|
+
const app = vue.createApp(acaiUiChart_vue_vue_type_script_setup_true_lang, {
|
|
41
|
+
...props,
|
|
42
|
+
height: altura,
|
|
43
|
+
legendPosition: "bottom",
|
|
44
|
+
// Nada disso vai pro raster, e a tabela oculta ainda custa DOM por linha.
|
|
45
|
+
dataTable: false,
|
|
46
|
+
tableToggle: false,
|
|
47
|
+
loading: false
|
|
48
|
+
});
|
|
49
|
+
try {
|
|
50
|
+
const instancia = app.mount(container);
|
|
51
|
+
await esperarDesenho();
|
|
52
|
+
if (typeof instancia.exportarImagem !== "function") {
|
|
53
|
+
throw new Error("acai-ui-chart: instância montada sem exportarImagem.");
|
|
54
|
+
}
|
|
55
|
+
return await instancia.exportarImagem({
|
|
56
|
+
...opcoes.escala === void 0 ? {} : { escala: opcoes.escala },
|
|
57
|
+
...opcoes.fundo === void 0 ? {} : { fundo: opcoes.fundo }
|
|
58
|
+
});
|
|
59
|
+
} finally {
|
|
60
|
+
app.unmount();
|
|
61
|
+
container.remove();
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
exports.chartParaImagem = chartParaImagem;
|
|
65
|
+
//# sourceMappingURL=index80.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index80.cjs","sources":["../src/components/chart/chart-headless.ts"],"sourcesContent":["// Render fora da árvore — gráfico que NUNCA aparece na tela e ainda assim vira PNG.\n//\n// É o caso do gerador de Book/PDF: ele percorre 11 relatórios e precisa da figura\n// de cada um sem que nenhuma delas seja montada numa página. Com componente Vue a\n// única forma honesta é montar de verdade, medir, exportar e desmontar — o que\n// exige um container com LAYOUT REAL, e é aí que estão as armadilhas.\n\nimport { createApp, nextTick } from 'vue'\nimport AcaiUiChart from './acai-ui-chart.vue'\nimport type { ImagemChart, OpcoesImagemChart } from './chart-imagem'\nimport type { ChartProps } from './acai-ui-chart-interface'\n\nexport interface OpcoesImagemHeadless extends OpcoesImagemChart {\n /** Largura da figura em CSS px. Default 800. */\n largura?: number\n /** Altura da figura em CSS px. Default 400. */\n altura?: number\n}\n\n/** Espera o Vue renderizar E o gráfico se medir. */\nfunction proximoFrame(): Promise<void> {\n return new Promise((resolver) => {\n if (typeof requestAnimationFrame === 'undefined') {\n setTimeout(resolver, 16)\n return\n }\n requestAnimationFrame(() => resolver())\n })\n}\n\n/**\n * Dois frames, não um.\n *\n * O `useTamanhoElemento` mede no `onMounted` e AGENDA uma segunda medição via\n * `requestAnimationFrame` (pra pegar a fonte já diagramada). Exportar no primeiro\n * frame pegaria o gráfico no tamanho PADRÃO — 640×320 — em vez do pedido, sem\n * erro nenhum: a imagem simplesmente sairia com a proporção errada.\n */\nasync function esperarDesenho(): Promise<void> {\n await nextTick()\n await proximoFrame()\n await proximoFrame()\n await nextTick()\n}\n\ninterface InstanciaChart {\n exportarImagem?: (opcoes?: OpcoesImagemChart) => Promise<ImagemChart>\n}\n\n/**\n * Desenha um `<acai-ui-chart>` fora da tela e devolve o PNG.\n *\n * ```ts\n * const { dataUrl, proporcao } = await chartParaImagem(\n * { type: 'bar', data: municipios, title: '10 municípios com as maiores frotas' },\n * { largura: 1240, altura: 620 },\n * )\n * pdf.addImage(dataUrl, 'PNG', x, y, largura, largura / proporcao)\n * ```\n *\n * ⚠️ **A legenda não entra na imagem.** Ela é HTML ao lado do SVG, e o raster\n * captura só o SVG. Em gráfico de série múltipla, ligue `showValues` ou identifique\n * as séries no texto do relatório. Por isso a legenda é forçada pra baixo aqui: no\n * `legendPosition: 'right'` ela roubaria largura do SVG e o desenho sairia estreito\n * sem que nada aparecesse no lugar.\n */\nexport async function chartParaImagem(\n props: ChartProps,\n opcoes: OpcoesImagemHeadless = {},\n): Promise<ImagemChart> {\n if (typeof document === 'undefined') {\n throw new Error('acai-ui-chart: chartParaImagem exige navegador.')\n }\n\n const largura = Math.max(1, Math.round(opcoes.largura ?? 800))\n const altura = Math.max(1, Math.round(opcoes.altura ?? 400))\n\n const container = document.createElement('div')\n container.setAttribute('aria-hidden', 'true')\n // Fora da tela por POSIÇÃO, nunca por `display:none` nem `visibility:hidden`:\n // sem layout a caixa mede 0 e o `useTamanhoElemento` mantém o padrão de\n // propósito, então o gráfico sairia no tamanho errado. `opacity: 0` não\n // remove layout — é o que torna o truque seguro.\n container.style.cssText = [\n 'position:fixed',\n 'left:-10000px',\n 'top:0',\n `width:${largura}px`,\n `height:${altura}px`,\n 'opacity:0',\n 'pointer-events:none',\n 'z-index:-1',\n ].join(';')\n\n document.body.appendChild(container)\n\n const app = createApp(AcaiUiChart, {\n ...props,\n height: altura,\n legendPosition: 'bottom',\n // Nada disso vai pro raster, e a tabela oculta ainda custa DOM por linha.\n dataTable: false,\n tableToggle: false,\n loading: false,\n })\n\n try {\n const instancia = app.mount(container) as unknown as InstanciaChart\n await esperarDesenho()\n\n if (typeof instancia.exportarImagem !== 'function') {\n throw new Error('acai-ui-chart: instância montada sem exportarImagem.')\n }\n\n // `exactOptionalPropertyTypes`: montar o objeto com spread condicional em vez\n // de passar `undefined` explícito nas chaves opcionais.\n return await instancia.exportarImagem({\n ...(opcoes.escala === undefined ? {} : { escala: opcoes.escala }),\n ...(opcoes.fundo === undefined ? {} : { fundo: opcoes.fundo }),\n })\n } finally {\n // `finally` e não depois do return: erro no meio do caminho não pode deixar\n // um app Vue montado e um `<div>` fantasma no `<body>` a cada relatório.\n app.unmount()\n container.remove()\n }\n}\n\nexport { svgChartParaImagem, serializarSvgChart } from './chart-imagem'\nexport type { ImagemChart, OpcoesImagemChart, SvgSerializado } from './chart-imagem'\n"],"names":["nextTick","createApp","AcaiUiChart"],"mappings":";;;;;AAoBA,SAAS,eAA8B;AACrC,SAAO,IAAI,QAAQ,CAAC,aAAa;AAC/B,QAAI,OAAO,0BAA0B,aAAa;AAChD,iBAAW,UAAU,EAAE;AACvB;AAAA,IACF;AACA,0BAAsB,MAAM,UAAU;AAAA,EACxC,CAAC;AACH;AAUA,eAAe,iBAAgC;AAC7C,QAAMA,aAAA;AACN,QAAM,aAAA;AACN,QAAM,aAAA;AACN,QAAMA,aAAA;AACR;AAuBA,eAAsB,gBACpB,OACA,SAA+B,IACT;AACtB,MAAI,OAAO,aAAa,aAAa;AACnC,UAAM,IAAI,MAAM,iDAAiD;AAAA,EACnE;AAEA,QAAM,UAAU,KAAK,IAAI,GAAG,KAAK,MAAM,OAAO,WAAW,GAAG,CAAC;AAC7D,QAAM,SAAS,KAAK,IAAI,GAAG,KAAK,MAAM,OAAO,UAAU,GAAG,CAAC;AAE3D,QAAM,YAAY,SAAS,cAAc,KAAK;AAC9C,YAAU,aAAa,eAAe,MAAM;AAK5C,YAAU,MAAM,UAAU;AAAA,IACxB;AAAA,IACA;AAAA,IACA;AAAA,IACA,SAAS,OAAO;AAAA,IAChB,UAAU,MAAM;AAAA,IAChB;AAAA,IACA;AAAA,IACA;AAAA,EAAA,EACA,KAAK,GAAG;AAEV,WAAS,KAAK,YAAY,SAAS;AAEnC,QAAM,MAAMC,IAAAA,UAAUC,iDAAa;AAAA,IACjC,GAAG;AAAA,IACH,QAAQ;AAAA,IACR,gBAAgB;AAAA;AAAA,IAEhB,WAAW;AAAA,IACX,aAAa;AAAA,IACb,SAAS;AAAA,EAAA,CACV;AAED,MAAI;AACF,UAAM,YAAY,IAAI,MAAM,SAAS;AACrC,UAAM,eAAA;AAEN,QAAI,OAAO,UAAU,mBAAmB,YAAY;AAClD,YAAM,IAAI,MAAM,sDAAsD;AAAA,IACxE;AAIA,WAAO,MAAM,UAAU,eAAe;AAAA,MACpC,GAAI,OAAO,WAAW,SAAY,CAAA,IAAK,EAAE,QAAQ,OAAO,OAAA;AAAA,MACxD,GAAI,OAAO,UAAU,SAAY,CAAA,IAAK,EAAE,OAAO,OAAO,MAAA;AAAA,IAAM,CAC7D;AAAA,EACH,UAAA;AAGE,QAAI,QAAA;AACJ,cAAU,OAAA;AAAA,EACZ;AACF;;"}
|
package/dist/index80.mjs
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { createApp, nextTick } from "vue";
|
|
2
|
+
import _sfc_main from "./index4.mjs";
|
|
3
|
+
/* empty css */
|
|
4
|
+
function proximoFrame() {
|
|
5
|
+
return new Promise((resolver) => {
|
|
6
|
+
if (typeof requestAnimationFrame === "undefined") {
|
|
7
|
+
setTimeout(resolver, 16);
|
|
8
|
+
return;
|
|
9
|
+
}
|
|
10
|
+
requestAnimationFrame(() => resolver());
|
|
11
|
+
});
|
|
12
|
+
}
|
|
13
|
+
async function esperarDesenho() {
|
|
14
|
+
await nextTick();
|
|
15
|
+
await proximoFrame();
|
|
16
|
+
await proximoFrame();
|
|
17
|
+
await nextTick();
|
|
18
|
+
}
|
|
19
|
+
async function chartParaImagem(props, opcoes = {}) {
|
|
20
|
+
if (typeof document === "undefined") {
|
|
21
|
+
throw new Error("acai-ui-chart: chartParaImagem exige navegador.");
|
|
22
|
+
}
|
|
23
|
+
const largura = Math.max(1, Math.round(opcoes.largura ?? 800));
|
|
24
|
+
const altura = Math.max(1, Math.round(opcoes.altura ?? 400));
|
|
25
|
+
const container = document.createElement("div");
|
|
26
|
+
container.setAttribute("aria-hidden", "true");
|
|
27
|
+
container.style.cssText = [
|
|
28
|
+
"position:fixed",
|
|
29
|
+
"left:-10000px",
|
|
30
|
+
"top:0",
|
|
31
|
+
`width:${largura}px`,
|
|
32
|
+
`height:${altura}px`,
|
|
33
|
+
"opacity:0",
|
|
34
|
+
"pointer-events:none",
|
|
35
|
+
"z-index:-1"
|
|
36
|
+
].join(";");
|
|
37
|
+
document.body.appendChild(container);
|
|
38
|
+
const app = createApp(_sfc_main, {
|
|
39
|
+
...props,
|
|
40
|
+
height: altura,
|
|
41
|
+
legendPosition: "bottom",
|
|
42
|
+
// Nada disso vai pro raster, e a tabela oculta ainda custa DOM por linha.
|
|
43
|
+
dataTable: false,
|
|
44
|
+
tableToggle: false,
|
|
45
|
+
loading: false
|
|
46
|
+
});
|
|
47
|
+
try {
|
|
48
|
+
const instancia = app.mount(container);
|
|
49
|
+
await esperarDesenho();
|
|
50
|
+
if (typeof instancia.exportarImagem !== "function") {
|
|
51
|
+
throw new Error("acai-ui-chart: instância montada sem exportarImagem.");
|
|
52
|
+
}
|
|
53
|
+
return await instancia.exportarImagem({
|
|
54
|
+
...opcoes.escala === void 0 ? {} : { escala: opcoes.escala },
|
|
55
|
+
...opcoes.fundo === void 0 ? {} : { fundo: opcoes.fundo }
|
|
56
|
+
});
|
|
57
|
+
} finally {
|
|
58
|
+
app.unmount();
|
|
59
|
+
container.remove();
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
export {
|
|
63
|
+
chartParaImagem
|
|
64
|
+
};
|
|
65
|
+
//# sourceMappingURL=index80.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index80.mjs","sources":["../src/components/chart/chart-headless.ts"],"sourcesContent":["// Render fora da árvore — gráfico que NUNCA aparece na tela e ainda assim vira PNG.\n//\n// É o caso do gerador de Book/PDF: ele percorre 11 relatórios e precisa da figura\n// de cada um sem que nenhuma delas seja montada numa página. Com componente Vue a\n// única forma honesta é montar de verdade, medir, exportar e desmontar — o que\n// exige um container com LAYOUT REAL, e é aí que estão as armadilhas.\n\nimport { createApp, nextTick } from 'vue'\nimport AcaiUiChart from './acai-ui-chart.vue'\nimport type { ImagemChart, OpcoesImagemChart } from './chart-imagem'\nimport type { ChartProps } from './acai-ui-chart-interface'\n\nexport interface OpcoesImagemHeadless extends OpcoesImagemChart {\n /** Largura da figura em CSS px. Default 800. */\n largura?: number\n /** Altura da figura em CSS px. Default 400. */\n altura?: number\n}\n\n/** Espera o Vue renderizar E o gráfico se medir. */\nfunction proximoFrame(): Promise<void> {\n return new Promise((resolver) => {\n if (typeof requestAnimationFrame === 'undefined') {\n setTimeout(resolver, 16)\n return\n }\n requestAnimationFrame(() => resolver())\n })\n}\n\n/**\n * Dois frames, não um.\n *\n * O `useTamanhoElemento` mede no `onMounted` e AGENDA uma segunda medição via\n * `requestAnimationFrame` (pra pegar a fonte já diagramada). Exportar no primeiro\n * frame pegaria o gráfico no tamanho PADRÃO — 640×320 — em vez do pedido, sem\n * erro nenhum: a imagem simplesmente sairia com a proporção errada.\n */\nasync function esperarDesenho(): Promise<void> {\n await nextTick()\n await proximoFrame()\n await proximoFrame()\n await nextTick()\n}\n\ninterface InstanciaChart {\n exportarImagem?: (opcoes?: OpcoesImagemChart) => Promise<ImagemChart>\n}\n\n/**\n * Desenha um `<acai-ui-chart>` fora da tela e devolve o PNG.\n *\n * ```ts\n * const { dataUrl, proporcao } = await chartParaImagem(\n * { type: 'bar', data: municipios, title: '10 municípios com as maiores frotas' },\n * { largura: 1240, altura: 620 },\n * )\n * pdf.addImage(dataUrl, 'PNG', x, y, largura, largura / proporcao)\n * ```\n *\n * ⚠️ **A legenda não entra na imagem.** Ela é HTML ao lado do SVG, e o raster\n * captura só o SVG. Em gráfico de série múltipla, ligue `showValues` ou identifique\n * as séries no texto do relatório. Por isso a legenda é forçada pra baixo aqui: no\n * `legendPosition: 'right'` ela roubaria largura do SVG e o desenho sairia estreito\n * sem que nada aparecesse no lugar.\n */\nexport async function chartParaImagem(\n props: ChartProps,\n opcoes: OpcoesImagemHeadless = {},\n): Promise<ImagemChart> {\n if (typeof document === 'undefined') {\n throw new Error('acai-ui-chart: chartParaImagem exige navegador.')\n }\n\n const largura = Math.max(1, Math.round(opcoes.largura ?? 800))\n const altura = Math.max(1, Math.round(opcoes.altura ?? 400))\n\n const container = document.createElement('div')\n container.setAttribute('aria-hidden', 'true')\n // Fora da tela por POSIÇÃO, nunca por `display:none` nem `visibility:hidden`:\n // sem layout a caixa mede 0 e o `useTamanhoElemento` mantém o padrão de\n // propósito, então o gráfico sairia no tamanho errado. `opacity: 0` não\n // remove layout — é o que torna o truque seguro.\n container.style.cssText = [\n 'position:fixed',\n 'left:-10000px',\n 'top:0',\n `width:${largura}px`,\n `height:${altura}px`,\n 'opacity:0',\n 'pointer-events:none',\n 'z-index:-1',\n ].join(';')\n\n document.body.appendChild(container)\n\n const app = createApp(AcaiUiChart, {\n ...props,\n height: altura,\n legendPosition: 'bottom',\n // Nada disso vai pro raster, e a tabela oculta ainda custa DOM por linha.\n dataTable: false,\n tableToggle: false,\n loading: false,\n })\n\n try {\n const instancia = app.mount(container) as unknown as InstanciaChart\n await esperarDesenho()\n\n if (typeof instancia.exportarImagem !== 'function') {\n throw new Error('acai-ui-chart: instância montada sem exportarImagem.')\n }\n\n // `exactOptionalPropertyTypes`: montar o objeto com spread condicional em vez\n // de passar `undefined` explícito nas chaves opcionais.\n return await instancia.exportarImagem({\n ...(opcoes.escala === undefined ? {} : { escala: opcoes.escala }),\n ...(opcoes.fundo === undefined ? {} : { fundo: opcoes.fundo }),\n })\n } finally {\n // `finally` e não depois do return: erro no meio do caminho não pode deixar\n // um app Vue montado e um `<div>` fantasma no `<body>` a cada relatório.\n app.unmount()\n container.remove()\n }\n}\n\nexport { svgChartParaImagem, serializarSvgChart } from './chart-imagem'\nexport type { ImagemChart, OpcoesImagemChart, SvgSerializado } from './chart-imagem'\n"],"names":["AcaiUiChart"],"mappings":";;;AAoBA,SAAS,eAA8B;AACrC,SAAO,IAAI,QAAQ,CAAC,aAAa;AAC/B,QAAI,OAAO,0BAA0B,aAAa;AAChD,iBAAW,UAAU,EAAE;AACvB;AAAA,IACF;AACA,0BAAsB,MAAM,UAAU;AAAA,EACxC,CAAC;AACH;AAUA,eAAe,iBAAgC;AAC7C,QAAM,SAAA;AACN,QAAM,aAAA;AACN,QAAM,aAAA;AACN,QAAM,SAAA;AACR;AAuBA,eAAsB,gBACpB,OACA,SAA+B,IACT;AACtB,MAAI,OAAO,aAAa,aAAa;AACnC,UAAM,IAAI,MAAM,iDAAiD;AAAA,EACnE;AAEA,QAAM,UAAU,KAAK,IAAI,GAAG,KAAK,MAAM,OAAO,WAAW,GAAG,CAAC;AAC7D,QAAM,SAAS,KAAK,IAAI,GAAG,KAAK,MAAM,OAAO,UAAU,GAAG,CAAC;AAE3D,QAAM,YAAY,SAAS,cAAc,KAAK;AAC9C,YAAU,aAAa,eAAe,MAAM;AAK5C,YAAU,MAAM,UAAU;AAAA,IACxB;AAAA,IACA;AAAA,IACA;AAAA,IACA,SAAS,OAAO;AAAA,IAChB,UAAU,MAAM;AAAA,IAChB;AAAA,IACA;AAAA,IACA;AAAA,EAAA,EACA,KAAK,GAAG;AAEV,WAAS,KAAK,YAAY,SAAS;AAEnC,QAAM,MAAM,UAAUA,WAAa;AAAA,IACjC,GAAG;AAAA,IACH,QAAQ;AAAA,IACR,gBAAgB;AAAA;AAAA,IAEhB,WAAW;AAAA,IACX,aAAa;AAAA,IACb,SAAS;AAAA,EAAA,CACV;AAED,MAAI;AACF,UAAM,YAAY,IAAI,MAAM,SAAS;AACrC,UAAM,eAAA;AAEN,QAAI,OAAO,UAAU,mBAAmB,YAAY;AAClD,YAAM,IAAI,MAAM,sDAAsD;AAAA,IACxE;AAIA,WAAO,MAAM,UAAU,eAAe;AAAA,MACpC,GAAI,OAAO,WAAW,SAAY,CAAA,IAAK,EAAE,QAAQ,OAAO,OAAA;AAAA,MACxD,GAAI,OAAO,UAAU,SAAY,CAAA,IAAK,EAAE,OAAO,OAAO,MAAA;AAAA,IAAM,CAC7D;AAAA,EACH,UAAA;AAGE,QAAI,QAAA;AACJ,cAAU,OAAA;AAAA,EACZ;AACF;"}
|
package/dist/index81.cjs
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
function ordenarPorDocumento(elementos) {
|
|
4
|
+
return [...elementos].sort((a, b) => {
|
|
5
|
+
if (a === b) return 0;
|
|
6
|
+
const posicao = a.compareDocumentPosition(b);
|
|
7
|
+
if (posicao & Node.DOCUMENT_POSITION_FOLLOWING) return -1;
|
|
8
|
+
if (posicao & Node.DOCUMENT_POSITION_PRECEDING) return 1;
|
|
9
|
+
return 0;
|
|
10
|
+
});
|
|
11
|
+
}
|
|
12
|
+
function temCaixa(el) {
|
|
13
|
+
return el.getClientRects().length > 0;
|
|
14
|
+
}
|
|
15
|
+
function semAcento(texto) {
|
|
16
|
+
return texto.normalize("NFD").replace(new RegExp("\\p{Diacritic}", "gu"), "").toLowerCase().trim();
|
|
17
|
+
}
|
|
18
|
+
const escolhaPadrao = (elementos) => {
|
|
19
|
+
if (elementos.length <= 1) return elementos[0] ?? null;
|
|
20
|
+
return elementos.find(temCaixa) ?? elementos[0] ?? null;
|
|
21
|
+
};
|
|
22
|
+
const primeiro = (elementos) => elementos[0] ?? null;
|
|
23
|
+
const ultimo = (elementos) => elementos[elementos.length - 1] ?? null;
|
|
24
|
+
function nEsimo(indice) {
|
|
25
|
+
return (elementos) => elementos.at(indice) ?? null;
|
|
26
|
+
}
|
|
27
|
+
const visiveis = (elementos) => elementos.filter(temCaixa);
|
|
28
|
+
function queCasam(seletor) {
|
|
29
|
+
return (elementos) => {
|
|
30
|
+
try {
|
|
31
|
+
return elementos.filter((el) => el.matches(seletor));
|
|
32
|
+
} catch {
|
|
33
|
+
return [];
|
|
34
|
+
}
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
function comTexto(texto) {
|
|
38
|
+
const procurado = semAcento(texto);
|
|
39
|
+
return (elementos) => elementos.filter((el) => semAcento(el.textContent ?? "").includes(procurado));
|
|
40
|
+
}
|
|
41
|
+
function queSatisfazem(predicado) {
|
|
42
|
+
return (elementos) => elementos.filter(predicado);
|
|
43
|
+
}
|
|
44
|
+
function escolher(...passos) {
|
|
45
|
+
return (elementos) => {
|
|
46
|
+
let atuais = elementos;
|
|
47
|
+
for (const passo of passos) {
|
|
48
|
+
const saida = passo(atuais);
|
|
49
|
+
if (saida === null) return null;
|
|
50
|
+
if (Array.isArray(saida)) {
|
|
51
|
+
atuais = saida;
|
|
52
|
+
continue;
|
|
53
|
+
}
|
|
54
|
+
return saida;
|
|
55
|
+
}
|
|
56
|
+
return atuais[0] ?? null;
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
exports.comTexto = comTexto;
|
|
60
|
+
exports.escolhaPadrao = escolhaPadrao;
|
|
61
|
+
exports.escolher = escolher;
|
|
62
|
+
exports.nEsimo = nEsimo;
|
|
63
|
+
exports.ordenarPorDocumento = ordenarPorDocumento;
|
|
64
|
+
exports.primeiro = primeiro;
|
|
65
|
+
exports.queCasam = queCasam;
|
|
66
|
+
exports.queSatisfazem = queSatisfazem;
|
|
67
|
+
exports.ultimo = ultimo;
|
|
68
|
+
exports.visiveis = visiveis;
|
|
69
|
+
//# sourceMappingURL=index81.cjs.map
|