@nextelco/common-ui 2.1.98 → 2.1.100
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/dist/esm/index.js +222 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/legacy/assets/svgs/proef-footer-logo.svg.js +5 -0
- package/dist/esm/legacy/assets/svgs/proef-footer-logo.svg.js.map +1 -0
- package/dist/esm/legacy/components/atoms/Acronym/Acronym.css +43 -0
- package/dist/esm/legacy/components/atoms/Acronym/Acronym.js +31 -0
- package/dist/esm/legacy/components/atoms/Acronym/Acronym.js.map +1 -0
- package/dist/esm/legacy/components/atoms/BreadCrumb/BreadCrumb.css +36 -0
- package/dist/esm/legacy/components/atoms/BreadCrumb/BreadCrumb.js +57 -0
- package/dist/esm/legacy/components/atoms/BreadCrumb/BreadCrumb.js.map +1 -0
- package/dist/esm/legacy/components/atoms/Button/variants/ActionButton.css +218 -0
- package/dist/esm/legacy/components/atoms/Button/variants/ActionButton.js +50 -0
- package/dist/esm/legacy/components/atoms/Button/variants/ActionButton.js.map +1 -0
- package/dist/esm/legacy/components/atoms/Button/variants/FilterButton.css +56 -0
- package/dist/esm/legacy/components/atoms/Button/variants/FilterButton.js +34 -0
- package/dist/esm/legacy/components/atoms/Button/variants/FilterButton.js.map +1 -0
- package/dist/esm/legacy/components/atoms/Button/variants/IconButton.css +74 -0
- package/dist/esm/legacy/components/atoms/Button/variants/IconButton.js +29 -0
- package/dist/esm/legacy/components/atoms/Button/variants/IconButton.js.map +1 -0
- package/dist/esm/legacy/components/atoms/Button/variants/MainButton.css +99 -0
- package/dist/esm/legacy/components/atoms/Button/variants/MainButton.js +36 -0
- package/dist/esm/legacy/components/atoms/Button/variants/MainButton.js.map +1 -0
- package/dist/esm/legacy/components/atoms/Button/variants/TabButton.css +63 -0
- package/dist/esm/legacy/components/atoms/Button/variants/TabButton.js +21 -0
- package/dist/esm/legacy/components/atoms/Button/variants/TabButton.js.map +1 -0
- package/dist/esm/legacy/components/atoms/Field/Field.css +171 -0
- package/dist/esm/legacy/components/atoms/Field/Field.js +70 -0
- package/dist/esm/legacy/components/atoms/Field/Field.js.map +1 -0
- package/dist/esm/legacy/components/atoms/IconText/IconText.css +10 -0
- package/dist/esm/legacy/components/atoms/IconText/IconText.js +25 -0
- package/dist/esm/legacy/components/atoms/IconText/IconText.js.map +1 -0
- package/dist/esm/legacy/components/atoms/Icone/Icone.js +24 -0
- package/dist/esm/legacy/components/atoms/Icone/Icone.js.map +1 -0
- package/dist/esm/legacy/components/atoms/Input/Input.css +12 -0
- package/dist/esm/legacy/components/atoms/Input/Input.js +28 -0
- package/dist/esm/legacy/components/atoms/Input/Input.js.map +1 -0
- package/dist/esm/legacy/components/atoms/InputData/InputData.js +36 -0
- package/dist/esm/legacy/components/atoms/InputData/InputData.js.map +1 -0
- package/dist/esm/legacy/components/atoms/Label/Label.css +192 -0
- package/dist/esm/legacy/components/atoms/Label/Label.js +13 -0
- package/dist/esm/legacy/components/atoms/Label/Label.js.map +1 -0
- package/dist/esm/legacy/components/atoms/MultiTagPickerTag/MultiTagPickerTag.css +40 -0
- package/dist/esm/legacy/components/atoms/MultiTagPickerTag/MultiTagPickerTag.js +21 -0
- package/dist/esm/legacy/components/atoms/MultiTagPickerTag/MultiTagPickerTag.js.map +1 -0
- package/dist/esm/legacy/components/atoms/Select/Select.css +16 -0
- package/dist/esm/legacy/components/atoms/Select/Select.js +27 -0
- package/dist/esm/legacy/components/atoms/Select/Select.js.map +1 -0
- package/dist/esm/legacy/components/atoms/Stack/Stack.js +20 -0
- package/dist/esm/legacy/components/atoms/Stack/Stack.js.map +1 -0
- package/dist/esm/legacy/components/atoms/Switch/CustomSwitch.css +36 -0
- package/dist/esm/legacy/components/atoms/Switch/CustomSwitch.js +29 -0
- package/dist/esm/legacy/components/atoms/Switch/CustomSwitch.js.map +1 -0
- package/dist/esm/legacy/components/atoms/Tooltip/Tooltip.css +17 -0
- package/dist/esm/legacy/components/atoms/Tooltip/Tooltip.js +41 -0
- package/dist/esm/legacy/components/atoms/Tooltip/Tooltip.js.map +1 -0
- package/dist/esm/legacy/components/charts/Charts.js +259 -0
- package/dist/esm/legacy/components/charts/Charts.js.map +1 -0
- package/dist/esm/legacy/components/layout/AppLauncher/AppLauncher.js +100 -0
- package/dist/esm/legacy/components/layout/AppLauncher/AppLauncher.js.map +1 -0
- package/dist/esm/legacy/components/layout/Error/Error.css +20 -0
- package/dist/esm/legacy/components/layout/Error/Error.js +12 -0
- package/dist/esm/legacy/components/layout/Error/Error.js.map +1 -0
- package/dist/esm/legacy/components/layout/Footer/Footer.css +42 -0
- package/dist/esm/legacy/components/layout/Footer/Footer.js +23 -0
- package/dist/esm/legacy/components/layout/Footer/Footer.js.map +1 -0
- package/dist/esm/legacy/components/layout/Header/Header.css +66 -0
- package/dist/esm/legacy/components/layout/Header/Header.js +37 -0
- package/dist/esm/legacy/components/layout/Header/Header.js.map +1 -0
- package/dist/esm/legacy/components/layout/Layout/Layout.js +92 -0
- package/dist/esm/legacy/components/layout/Layout/Layout.js.map +1 -0
- package/dist/esm/legacy/components/layout/Sidebar/Sidebar.js +227 -0
- package/dist/esm/legacy/components/layout/Sidebar/Sidebar.js.map +1 -0
- package/dist/esm/legacy/components/layout/Spinner/Spinner.css +10 -0
- package/dist/esm/legacy/components/layout/Spinner/Spinner.js +19 -0
- package/dist/esm/legacy/components/layout/Spinner/Spinner.js.map +1 -0
- package/dist/esm/legacy/components/layout/TopBar/TopBar.js +34 -0
- package/dist/esm/legacy/components/layout/TopBar/TopBar.js.map +1 -0
- package/dist/esm/legacy/components/layout/TopNavLayout/TopNavLayout.js +82 -0
- package/dist/esm/legacy/components/layout/TopNavLayout/TopNavLayout.js.map +1 -0
- package/dist/esm/legacy/components/molecules/BarraValor/BarraValor.js +25 -0
- package/dist/esm/legacy/components/molecules/BarraValor/BarraValor.js.map +1 -0
- package/dist/esm/legacy/components/molecules/ColumnPicker/ColumnPicker.js +179 -0
- package/dist/esm/legacy/components/molecules/ColumnPicker/ColumnPicker.js.map +1 -0
- package/dist/esm/legacy/components/molecules/ConfirmModal/ConfirmModal.css +3 -0
- package/dist/esm/legacy/components/molecules/ConfirmModal/ConfirmModal.js +33 -0
- package/dist/esm/legacy/components/molecules/ConfirmModal/ConfirmModal.js.map +1 -0
- package/dist/esm/legacy/components/molecules/DataTable/DataTable.js +1145 -0
- package/dist/esm/legacy/components/molecules/DataTable/DataTable.js.map +1 -0
- package/dist/esm/legacy/components/molecules/FileDropzone/FileDropzone.js +68 -0
- package/dist/esm/legacy/components/molecules/FileDropzone/FileDropzone.js.map +1 -0
- package/dist/esm/legacy/components/molecules/LanguageSwitcher/LanguageSwitcher.js +96 -0
- package/dist/esm/legacy/components/molecules/LanguageSwitcher/LanguageSwitcher.js.map +1 -0
- package/dist/esm/legacy/components/molecules/Modal/Modal.css +54 -0
- package/dist/esm/legacy/components/molecules/Modal/Modal.js +64 -0
- package/dist/esm/legacy/components/molecules/Modal/Modal.js.map +1 -0
- package/dist/esm/legacy/components/molecules/MultiTagPicker/MultiTagPicker.css +97 -0
- package/dist/esm/legacy/components/molecules/MultiTagPicker/MultiTagPicker.js +113 -0
- package/dist/esm/legacy/components/molecules/MultiTagPicker/MultiTagPicker.js.map +1 -0
- package/dist/esm/legacy/components/molecules/PhotoAvatar/PhotoAvatar.js +107 -0
- package/dist/esm/legacy/components/molecules/PhotoAvatar/PhotoAvatar.js.map +1 -0
- package/dist/esm/legacy/components/molecules/Search/Search.css +18 -0
- package/dist/esm/legacy/components/molecules/Search/Search.js +30 -0
- package/dist/esm/legacy/components/molecules/Search/Search.js.map +1 -0
- package/dist/esm/legacy/components/molecules/SeletorPesquisa/SeletorPesquisa.js +116 -0
- package/dist/esm/legacy/components/molecules/SeletorPesquisa/SeletorPesquisa.js.map +1 -0
- package/dist/esm/legacy/components/molecules/Sidebar/Sidebar.css +69 -0
- package/dist/esm/legacy/components/molecules/Sidebar/Sidebar.js +62 -0
- package/dist/esm/legacy/components/molecules/Sidebar/Sidebar.js.map +1 -0
- package/dist/esm/legacy/components/molecules/UserAvatar/UserAvatar.js +105 -0
- package/dist/esm/legacy/components/molecules/UserAvatar/UserAvatar.js.map +1 -0
- package/dist/esm/legacy/components/organisms/GanttChart/GanttChart.js +162 -0
- package/dist/esm/legacy/components/organisms/GanttChart/GanttChart.js.map +1 -0
- package/dist/esm/legacy/components/organisms/Kanban/Kanban.js +88 -0
- package/dist/esm/legacy/components/organisms/Kanban/Kanban.js.map +1 -0
- package/dist/esm/legacy/components/organisms/LazyLoader/LazyLoader.js +87 -0
- package/dist/esm/legacy/components/organisms/LazyLoader/LazyLoader.js.map +1 -0
- package/dist/esm/legacy/components/organisms/MapaPontos/MapaPontos.js +427 -0
- package/dist/esm/legacy/components/organisms/MapaPontos/MapaPontos.js.map +1 -0
- package/dist/esm/legacy/components/organisms/PainelFiltros/PainelFiltros.js +206 -0
- package/dist/esm/legacy/components/organisms/PainelFiltros/PainelFiltros.js.map +1 -0
- package/dist/esm/legacy/components/organisms/PesquisaRapida/PesquisaRapida.js +147 -0
- package/dist/esm/legacy/components/organisms/PesquisaRapida/PesquisaRapida.js.map +1 -0
- package/dist/esm/legacy/components/organisms/Profile/Profile.css +26 -0
- package/dist/esm/legacy/components/organisms/Profile/Profile.js +26 -0
- package/dist/esm/legacy/components/organisms/Profile/Profile.js.map +1 -0
- package/dist/esm/legacy/components/organisms/RoleGuard/RoleGuard.js +68 -0
- package/dist/esm/legacy/components/organisms/RoleGuard/RoleGuard.js.map +1 -0
- package/dist/esm/legacy/components/organisms/Selector/Selector.css +87 -0
- package/dist/esm/legacy/components/organisms/Selector/Selector.js +181 -0
- package/dist/esm/legacy/components/organisms/Selector/Selector.js.map +1 -0
- package/dist/esm/legacy/components/organisms/StatusMatrix/StatusMatrix.js +115 -0
- package/dist/esm/legacy/components/organisms/StatusMatrix/StatusMatrix.js.map +1 -0
- package/dist/esm/legacy/components/ui/Avisos.js +86 -0
- package/dist/esm/legacy/components/ui/Avisos.js.map +1 -0
- package/dist/esm/legacy/components/ui/BarraAcoes.js +19 -0
- package/dist/esm/legacy/components/ui/BarraAcoes.js.map +1 -0
- package/dist/esm/legacy/components/ui/CabecalhoPagina.js +32 -0
- package/dist/esm/legacy/components/ui/CabecalhoPagina.js.map +1 -0
- package/dist/esm/legacy/components/ui/CaixaPesquisa.js +57 -0
- package/dist/esm/legacy/components/ui/CaixaPesquisa.js.map +1 -0
- package/dist/esm/legacy/components/ui/Confirmacao.js +52 -0
- package/dist/esm/legacy/components/ui/Confirmacao.js.map +1 -0
- package/dist/esm/legacy/components/ui/Escolha.js +157 -0
- package/dist/esm/legacy/components/ui/Escolha.js.map +1 -0
- package/dist/esm/legacy/components/ui/FaixaAviso.js +17 -0
- package/dist/esm/legacy/components/ui/FaixaAviso.js.map +1 -0
- package/dist/esm/legacy/components/ui/MenuAcoes.js +116 -0
- package/dist/esm/legacy/components/ui/MenuAcoes.js.map +1 -0
- package/dist/esm/legacy/components/ui/Passos.js +32 -0
- package/dist/esm/legacy/components/ui/Passos.js.map +1 -0
- package/dist/esm/legacy/components/ui/Separadores.js +52 -0
- package/dist/esm/legacy/components/ui/Separadores.js.map +1 -0
- package/dist/esm/legacy/components/ui/TextoAuto.js +33 -0
- package/dist/esm/legacy/components/ui/TextoAuto.js.map +1 -0
- package/dist/esm/legacy/components/ui/Ui.js +360 -0
- package/dist/esm/legacy/components/ui/Ui.js.map +1 -0
- package/dist/esm/legacy/components/ui/painelFlutuante.js +52 -0
- package/dist/esm/legacy/components/ui/painelFlutuante.js.map +1 -0
- package/dist/esm/legacy/constants/Colors.js +33 -0
- package/dist/esm/legacy/constants/Colors.js.map +1 -0
- package/dist/esm/legacy/constants/FontWeight.js +35 -0
- package/dist/esm/legacy/constants/FontWeight.js.map +1 -0
- package/dist/esm/legacy/contexts/apiContext.js +25 -0
- package/dist/esm/legacy/contexts/apiContext.js.map +1 -0
- package/dist/esm/legacy/contexts/authContext.js +85 -0
- package/dist/esm/legacy/contexts/authContext.js.map +1 -0
- package/dist/esm/legacy/contexts/socketContext.js +34 -0
- package/dist/esm/legacy/contexts/socketContext.js.map +1 -0
- package/dist/esm/legacy/hooks/useApi.js +62 -0
- package/dist/esm/legacy/hooks/useApi.js.map +1 -0
- package/dist/esm/legacy/hooks/useTheme.js +39 -0
- package/dist/esm/legacy/hooks/useTheme.js.map +1 -0
- package/dist/esm/legacy/pages/Error/ErrorPage.css +18 -0
- package/dist/esm/legacy/pages/Error/ErrorPage.js +50 -0
- package/dist/esm/legacy/pages/Error/ErrorPage.js.map +1 -0
- package/dist/esm/legacy/pages/Loading/Loading.css +46 -0
- package/dist/esm/legacy/pages/Loading/Loading.js +9 -0
- package/dist/esm/legacy/pages/Loading/Loading.js.map +1 -0
- package/dist/esm/legacy/pages/Login/LoginScreen.js +46 -0
- package/dist/esm/legacy/pages/Login/LoginScreen.js.map +1 -0
- package/dist/esm/legacy/pages/NotFound/NotFound.css +21 -0
- package/dist/esm/legacy/pages/NotFound/NotFound.js +24 -0
- package/dist/esm/legacy/pages/NotFound/NotFound.js.map +1 -0
- package/dist/esm/legacy/styles/themes/ButtonThemes.js +28 -0
- package/dist/esm/legacy/styles/themes/ButtonThemes.js.map +1 -0
- package/dist/esm/legacy/styles/utils/utils.js +7 -0
- package/dist/esm/legacy/styles/utils/utils.js.map +1 -0
- package/dist/esm/legacy/utils/stringUtils.js +35 -0
- package/dist/esm/legacy/utils/stringUtils.js.map +1 -0
- package/dist/esm/v1/capabilities/documents/QRScanning/scanQRCodes.js +157 -0
- package/dist/esm/v1/capabilities/documents/QRScanning/scanQRCodes.js.map +1 -0
- package/dist/esm/v1/components/documents/DocumentDropzone/DocumentDropzone.js +307 -0
- package/dist/esm/v1/components/documents/DocumentDropzone/DocumentDropzone.js.map +1 -0
- package/dist/esm/v1/components/forms/FormField/FormField.js +59 -0
- package/dist/esm/v1/components/forms/FormField/FormField.js.map +1 -0
- package/dist/esm/v1/components/forms/FormGrid/FormGrid.js +20 -0
- package/dist/esm/v1/components/forms/FormGrid/FormGrid.js.map +1 -0
- package/dist/esm/v1/components/overlays/Dialog/Dialog.js +87 -0
- package/dist/esm/v1/components/overlays/Dialog/Dialog.js.map +1 -0
- package/dist/esm/v1/foundations/icons/icons.js +76 -0
- package/dist/esm/v1/foundations/icons/icons.js.map +1 -0
- package/dist/esm/v1/primitives/buttons/Button/Button.js +27 -0
- package/dist/esm/v1/primitives/buttons/Button/Button.js.map +1 -0
- package/dist/esm/v1/primitives/documents/PdfPreview/PdfPreview.js +137 -0
- package/dist/esm/v1/primitives/documents/PdfPreview/PdfPreview.js.map +1 -0
- package/dist/esm/v1/primitives/documents/PdfPreview/pdfjs.js +26 -0
- package/dist/esm/v1/primitives/documents/PdfPreview/pdfjs.js.map +1 -0
- package/dist/esm/v1/primitives/forms/LookupInput/LookupInput.js +37 -0
- package/dist/esm/v1/primitives/forms/LookupInput/LookupInput.js.map +1 -0
- package/dist/esm/v1/primitives/forms/SelectInput/SelectInput.js +29 -0
- package/dist/esm/v1/primitives/forms/SelectInput/SelectInput.js.map +1 -0
- package/dist/esm/v1/primitives/forms/TextArea/TextArea.js +75 -0
- package/dist/esm/v1/primitives/forms/TextArea/TextArea.js.map +1 -0
- package/dist/esm/v1/primitives/forms/TextInput/TextInput.js +21 -0
- package/dist/esm/v1/primitives/forms/TextInput/TextInput.js.map +1 -0
- package/dist/esm/v1/primitives/forms/field.js +12 -0
- package/dist/esm/v1/primitives/forms/field.js.map +1 -0
- package/dist/style.css +1 -1
- package/dist/style.layered.css +1 -1
- package/dist/types/index.d.ts +14 -13
- package/dist/types/{components → legacy/components}/atoms/Acronym/Acronym.d.ts +1 -0
- package/dist/types/{components → legacy/components}/atoms/BreadCrumb/BreadCrumb.d.ts +1 -0
- package/dist/types/{components → legacy/components}/atoms/Button/variants/ActionButton.d.ts +1 -0
- package/dist/types/{components → legacy/components}/atoms/Button/variants/FilterButton.d.ts +1 -0
- package/dist/types/{components → legacy/components}/atoms/Button/variants/IconButton.d.ts +1 -0
- package/dist/types/{components → legacy/components}/atoms/Button/variants/MainButton.d.ts +1 -0
- package/dist/types/{components → legacy/components}/atoms/Button/variants/TabButton.d.ts +1 -0
- package/dist/types/{components → legacy/components}/atoms/Field/Field.d.ts +1 -0
- package/dist/types/{components → legacy/components}/atoms/IconText/IconText.d.ts +1 -0
- package/dist/types/{components → legacy/components}/atoms/Icone/Icone.d.ts +2 -0
- package/dist/types/{components → legacy/components}/atoms/Input/Input.d.ts +1 -0
- package/dist/types/{components → legacy/components}/atoms/InputData/InputData.d.ts +4 -0
- package/dist/types/{components → legacy/components}/atoms/Label/Label.d.ts +1 -0
- package/dist/types/{components → legacy/components}/atoms/Select/Select.d.ts +1 -0
- package/dist/types/{components → legacy/components}/atoms/Stack/Stack.d.ts +1 -0
- package/dist/types/{components → legacy/components}/atoms/Switch/CustomSwitch.d.ts +1 -0
- package/dist/types/{components → legacy/components}/atoms/Tooltip/Tooltip.d.ts +1 -0
- package/dist/types/{components → legacy/components}/charts/Charts.d.ts +29 -6
- package/dist/types/{components → legacy/components}/layout/AppLauncher/AppLauncher.d.ts +3 -0
- package/dist/types/{components → legacy/components}/layout/Error/Error.d.ts +1 -0
- package/dist/types/{components → legacy/components}/layout/Footer/Footer.d.ts +1 -0
- package/dist/types/{components → legacy/components}/layout/Header/Header.d.ts +1 -0
- package/dist/types/{components → legacy/components}/layout/Layout/Layout.d.ts +2 -0
- package/dist/types/{components → legacy/components}/layout/Sidebar/Sidebar.d.ts +5 -0
- package/dist/types/{components → legacy/components}/layout/Spinner/Spinner.d.ts +1 -0
- package/dist/types/{components → legacy/components}/layout/TopBar/TopBar.d.ts +2 -0
- package/dist/types/{components → legacy/components}/layout/TopNavLayout/TopNavLayout.d.ts +3 -0
- package/dist/types/{components → legacy/components}/molecules/BarraValor/BarraValor.d.ts +3 -0
- package/dist/types/{components → legacy/components}/molecules/ColumnPicker/ColumnPicker.d.ts +8 -1
- package/dist/types/{components → legacy/components}/molecules/ConfirmModal/ConfirmModal.d.ts +2 -0
- package/dist/types/{components → legacy/components}/molecules/DataTable/DataTable.d.ts +6 -0
- package/dist/types/{components → legacy/components}/molecules/FileDropzone/FileDropzone.d.ts +3 -0
- package/dist/types/{components → legacy/components}/molecules/LanguageSwitcher/LanguageSwitcher.d.ts +3 -0
- package/dist/types/{components → legacy/components}/molecules/Modal/Modal.d.ts +2 -0
- package/dist/types/{components → legacy/components}/molecules/MultiTagPicker/MultiTagPicker.d.ts +2 -0
- package/dist/types/{components → legacy/components}/molecules/PhotoAvatar/PhotoAvatar.d.ts +1 -0
- package/dist/types/{components → legacy/components}/molecules/SeletorPesquisa/SeletorPesquisa.d.ts +3 -0
- package/dist/types/{components → legacy/components}/molecules/Sidebar/Sidebar.d.ts +1 -0
- package/dist/types/{components → legacy/components}/molecules/UserAvatar/UserAvatar.d.ts +1 -0
- package/dist/types/{components → legacy/components}/organisms/GanttChart/GanttChart.d.ts +8 -1
- package/dist/types/{components → legacy/components}/organisms/Kanban/Kanban.d.ts +3 -0
- package/dist/types/{components → legacy/components}/organisms/LazyLoader/LazyLoader.d.ts +1 -0
- package/dist/types/{components → legacy/components}/organisms/MapaPontos/MapaPontos.d.ts +12 -2
- package/dist/types/{components → legacy/components}/organisms/PainelFiltros/PainelFiltros.d.ts +7 -0
- package/dist/types/{components → legacy/components}/organisms/PesquisaRapida/PesquisaRapida.d.ts +5 -0
- package/dist/types/{components → legacy/components}/organisms/Profile/Profile.d.ts +1 -0
- package/dist/types/{components → legacy/components}/organisms/RoleGuard/RoleGuard.d.ts +6 -1
- package/dist/types/{components → legacy/components}/organisms/Selector/Selector.d.ts +1 -0
- package/dist/types/{components → legacy/components}/organisms/StatusMatrix/StatusMatrix.d.ts +6 -0
- package/dist/types/{components → legacy/components}/ui/Avisos.d.ts +9 -1
- package/dist/types/{components → legacy/components}/ui/BarraAcoes.d.ts +2 -0
- package/dist/types/{components → legacy/components}/ui/CabecalhoPagina.d.ts +6 -1
- package/dist/types/{components → legacy/components}/ui/Confirmacao.d.ts +2 -0
- package/dist/types/{components → legacy/components}/ui/FaixaAviso.d.ts +3 -0
- package/dist/types/{components → legacy/components}/ui/Passos.d.ts +3 -0
- package/dist/types/{components → legacy/components}/ui/Separadores.d.ts +3 -0
- package/dist/types/{components → legacy/components}/ui/TextoAuto.d.ts +2 -0
- package/dist/types/{components → legacy/components}/ui/Ui.d.ts +41 -7
- package/dist/types/{constants → legacy/constants}/FontWeight.d.ts +1 -0
- package/dist/types/{contexts → legacy/contexts}/apiContext.d.ts +1 -0
- package/dist/types/{contexts → legacy/contexts}/authContext.d.ts +2 -0
- package/dist/types/{contexts → legacy/contexts}/socketContext.d.ts +2 -0
- package/dist/types/{exports → legacy/exports}/hooks.d.ts +1 -1
- package/dist/types/{exports → legacy/exports}/molecules.d.ts +2 -1
- package/dist/types/legacy/exports/types.d.ts +7 -0
- package/dist/types/{hooks → legacy/hooks}/useApi.d.ts +2 -0
- package/dist/types/{hooks → legacy/hooks}/useTheme.d.ts +2 -0
- package/dist/types/{pages → legacy/pages}/Error/ErrorPage.d.ts +1 -0
- package/dist/types/{pages → legacy/pages}/Loading/Loading.d.ts +1 -0
- package/dist/types/{pages → legacy/pages}/Login/LoginScreen.d.ts +2 -0
- package/dist/types/{pages → legacy/pages}/NotFound/NotFound.d.ts +1 -0
- package/dist/types/legacy/styles/utils/utils.d.ts +2 -0
- package/dist/types/{types → legacy/types}/Fetcher.d.ts +1 -0
- package/dist/types/{types → legacy/types}/LoggedUser.d.ts +1 -0
- package/dist/types/{types → legacy/types}/SidebarMenu.d.ts +2 -0
- package/dist/types/legacy/types/themes/AcronymThemes.d.ts +4 -0
- package/dist/types/{types → legacy/types}/themes/ButtonThemes.d.ts +3 -0
- package/dist/types/legacy/types/themes/CustomSwitchThemes.d.ts +4 -0
- package/dist/types/{types → legacy/types}/themes/IconTextThemes.d.ts +1 -0
- package/dist/types/legacy/utils/stringUtils.d.ts +6 -0
- package/dist/types/v1/capabilities/documents/QRScanning/scanQRCodes.d.ts +25 -0
- package/dist/types/v1/components/documents/DocumentDropzone/DocumentDropzone.d.ts +60 -0
- package/dist/types/v1/components/forms/FormField/FormField.d.ts +44 -0
- package/dist/types/v1/components/forms/FormGrid/FormGrid.d.ts +21 -0
- package/dist/types/v1/components/overlays/Dialog/Dialog.d.ts +55 -0
- package/dist/types/v1/foundations/icons/icons.d.ts +24 -0
- package/dist/types/v1/index.d.ts +25 -0
- package/dist/types/v1/primitives/buttons/Button/Button.d.ts +18 -0
- package/dist/types/v1/primitives/documents/PdfPreview/PdfPreview.d.ts +17 -0
- package/dist/types/v1/primitives/documents/PdfPreview/pdfjs.d.ts +11 -0
- package/dist/types/v1/primitives/forms/LookupInput/LookupInput.d.ts +25 -0
- package/dist/types/v1/primitives/forms/SelectInput/SelectInput.d.ts +19 -0
- package/dist/types/v1/primitives/forms/TextArea/TextArea.d.ts +37 -0
- package/dist/types/v1/primitives/forms/TextInput/TextInput.d.ts +16 -0
- package/dist/types/v1/primitives/forms/field.d.ts +20 -0
- package/package.json +38 -33
- package/dist/bundle.js +0 -2
- package/dist/bundle.js.LICENSE.txt +0 -80
- package/dist/types/components/atoms/Icone/Icone.test.d.ts +0 -1
- package/dist/types/components/layout/Sidebar/Sidebar.test.d.ts +0 -1
- package/dist/types/components/molecules/BarraValor/BarraValor.test.d.ts +0 -1
- package/dist/types/components/molecules/DataTable/DataTable.test.d.ts +0 -1
- package/dist/types/components/molecules/SeletorPesquisa/SeletorPesquisa.test.d.ts +0 -1
- package/dist/types/components/organisms/Kanban/Kanban.test.d.ts +0 -1
- package/dist/types/components/organisms/RoleGuard/RoleGuard.test.d.ts +0 -1
- package/dist/types/components/ui/CaixaPesquisa.test.d.ts +0 -1
- package/dist/types/components/ui/Escolha.test.d.ts +0 -1
- package/dist/types/components/ui/Paginas.test.d.ts +0 -1
- package/dist/types/exports/types.d.ts +0 -7
- package/dist/types/styles/utils/utils.d.ts +0 -1
- package/dist/types/test/setup.d.ts +0 -1
- package/dist/types/types/themes/AcronymThemes.d.ts +0 -3
- package/dist/types/types/themes/CustomSwitchThemes.d.ts +0 -3
- package/dist/types/utils/stringUtils.d.ts +0 -3
- /package/dist/types/{components → legacy/components}/atoms/MultiTagPickerTag/MultiTagPickerTag.d.ts +0 -0
- /package/dist/types/{components → legacy/components}/atoms/SearchSelect/SearchSelect.d.ts +0 -0
- /package/dist/types/{components → legacy/components}/molecules/Search/Search.d.ts +0 -0
- /package/dist/types/{components → legacy/components}/ui/CaixaPesquisa.d.ts +0 -0
- /package/dist/types/{components → legacy/components}/ui/Escolha.d.ts +0 -0
- /package/dist/types/{components → legacy/components}/ui/MenuAcoes.d.ts +0 -0
- /package/dist/types/{components → legacy/components}/ui/painelFlutuante.d.ts +0 -0
- /package/dist/types/{constants → legacy/constants}/Colors.d.ts +0 -0
- /package/dist/types/{exports → legacy/exports}/assets.d.ts +0 -0
- /package/dist/types/{exports → legacy/exports}/atoms.d.ts +0 -0
- /package/dist/types/{exports → legacy/exports}/charts.d.ts +0 -0
- /package/dist/types/{exports → legacy/exports}/constants.d.ts +0 -0
- /package/dist/types/{exports → legacy/exports}/contexts.d.ts +0 -0
- /package/dist/types/{exports → legacy/exports}/layout.d.ts +0 -0
- /package/dist/types/{exports → legacy/exports}/organisms.d.ts +0 -0
- /package/dist/types/{exports → legacy/exports}/pages.d.ts +0 -0
- /package/dist/types/{exports → legacy/exports}/styles.d.ts +0 -0
- /package/dist/types/{exports → legacy/exports}/ui.d.ts +0 -0
- /package/dist/types/{exports → legacy/exports}/utils.d.ts +0 -0
- /package/dist/types/{styles → legacy/styles}/themes/ButtonThemes.d.ts +0 -0
- /package/dist/types/{types → legacy/types}/SelectableElement.d.ts +0 -0
- /package/dist/types/{utils → legacy/utils}/keycloak.d.ts +0 -0
|
@@ -0,0 +1,222 @@
|
|
|
1
|
+
import { default as default2 } from "./legacy/components/layout/Sidebar/Sidebar.js";
|
|
2
|
+
import { default as default3 } from "./legacy/components/atoms/Acronym/Acronym.js";
|
|
3
|
+
import { default as default4 } from "./legacy/components/atoms/Button/variants/ActionButton.js";
|
|
4
|
+
import { default as default5 } from "./legacy/components/layout/AppLauncher/AppLauncher.js";
|
|
5
|
+
import { default as default6 } from "./legacy/components/ui/BarraAcoes.js";
|
|
6
|
+
import { default as default7 } from "./legacy/components/molecules/BarraValor/BarraValor.js";
|
|
7
|
+
import { default as default8 } from "./legacy/components/atoms/BreadCrumb/BreadCrumb.js";
|
|
8
|
+
import { default as default9 } from "./v1/primitives/buttons/Button/Button.js";
|
|
9
|
+
import { default as default10 } from "./legacy/components/ui/CabecalhoPagina.js";
|
|
10
|
+
import { default as default11 } from "./legacy/components/ui/CaixaPesquisa.js";
|
|
11
|
+
import { default as default12, applyColumnLayout, orderColumns } from "./legacy/components/molecules/ColumnPicker/ColumnPicker.js";
|
|
12
|
+
import { default as default13 } from "./legacy/components/molecules/ConfirmModal/ConfirmModal.js";
|
|
13
|
+
import { default as default14 } from "./legacy/components/ui/Confirmacao.js";
|
|
14
|
+
import { default as default15 } from "./legacy/components/atoms/Switch/CustomSwitch.js";
|
|
15
|
+
import { default as default16, timestampDeData } from "./legacy/components/molecules/DataTable/DataTable.js";
|
|
16
|
+
import { default as default17, useDialogContainer } from "./v1/components/overlays/Dialog/Dialog.js";
|
|
17
|
+
import { default as default18, accepts } from "./v1/components/documents/DocumentDropzone/DocumentDropzone.js";
|
|
18
|
+
import { default as default19 } from "./legacy/components/layout/Error/Error.js";
|
|
19
|
+
import { default as default20 } from "./legacy/pages/Error/ErrorPage.js";
|
|
20
|
+
import { default as default21 } from "./legacy/components/ui/Escolha.js";
|
|
21
|
+
import { default as default22 } from "./legacy/components/ui/FaixaAviso.js";
|
|
22
|
+
import { default as default23 } from "./legacy/components/atoms/Field/Field.js";
|
|
23
|
+
import { default as default24 } from "./legacy/components/molecules/FileDropzone/FileDropzone.js";
|
|
24
|
+
import { default as default25 } from "./legacy/components/atoms/Button/variants/FilterButton.js";
|
|
25
|
+
import { default as default26 } from "./legacy/components/layout/Footer/Footer.js";
|
|
26
|
+
import { FieldMark, default as default27 } from "./v1/components/forms/FormField/FormField.js";
|
|
27
|
+
import { FormDivider, default as default28 } from "./v1/components/forms/FormGrid/FormGrid.js";
|
|
28
|
+
import { default as default29, ganttDiaIso } from "./legacy/components/organisms/GanttChart/GanttChart.js";
|
|
29
|
+
import { default as default30 } from "./legacy/components/layout/Header/Header.js";
|
|
30
|
+
import { default as default31 } from "./legacy/components/atoms/Button/variants/IconButton.js";
|
|
31
|
+
import { default as default32 } from "./legacy/components/atoms/IconText/IconText.js";
|
|
32
|
+
import { default as default33 } from "./legacy/components/atoms/Icone/Icone.js";
|
|
33
|
+
import { default as default34 } from "./legacy/components/atoms/Input/Input.js";
|
|
34
|
+
import { default as default35 } from "./legacy/components/organisms/Kanban/Kanban.js";
|
|
35
|
+
import { default as default36 } from "./legacy/components/atoms/Label/Label.js";
|
|
36
|
+
import { default as default37 } from "./legacy/components/molecules/LanguageSwitcher/LanguageSwitcher.js";
|
|
37
|
+
import { default as default38 } from "./legacy/components/layout/Layout/Layout.js";
|
|
38
|
+
import { default as default39 } from "./legacy/pages/Loading/Loading.js";
|
|
39
|
+
import { default as default40 } from "./legacy/pages/Login/LoginScreen.js";
|
|
40
|
+
import { default as default41 } from "./v1/primitives/forms/LookupInput/LookupInput.js";
|
|
41
|
+
import { default as default42 } from "./legacy/components/atoms/Button/variants/MainButton.js";
|
|
42
|
+
import { default as default43 } from "./legacy/components/organisms/MapaPontos/MapaPontos.js";
|
|
43
|
+
import { default as default44 } from "./legacy/components/ui/MenuAcoes.js";
|
|
44
|
+
import { default as default45 } from "./legacy/components/molecules/Modal/Modal.js";
|
|
45
|
+
import { default as default46 } from "./legacy/components/molecules/MultiTagPicker/MultiTagPicker.js";
|
|
46
|
+
import { default as default47 } from "./legacy/pages/NotFound/NotFound.js";
|
|
47
|
+
import { default as default48 } from "./legacy/components/organisms/PainelFiltros/PainelFiltros.js";
|
|
48
|
+
import { default as default49 } from "./legacy/components/ui/Passos.js";
|
|
49
|
+
import { default as default50 } from "./v1/primitives/documents/PdfPreview/PdfPreview.js";
|
|
50
|
+
import { default as default51, usarAtalhoPesquisa } from "./legacy/components/organisms/PesquisaRapida/PesquisaRapida.js";
|
|
51
|
+
import { default as default52 } from "./legacy/components/molecules/PhotoAvatar/PhotoAvatar.js";
|
|
52
|
+
import { default as default53 } from "./legacy/components/organisms/Profile/Profile.js";
|
|
53
|
+
import { default as default54, lerRolesDoToken } from "./legacy/components/organisms/RoleGuard/RoleGuard.js";
|
|
54
|
+
import { default as default55 } from "./legacy/components/atoms/Select/Select.js";
|
|
55
|
+
import { default as default56 } from "./v1/primitives/forms/SelectInput/SelectInput.js";
|
|
56
|
+
import { default as default57 } from "./legacy/components/molecules/SeletorPesquisa/SeletorPesquisa.js";
|
|
57
|
+
import { default as default58 } from "./legacy/components/ui/Separadores.js";
|
|
58
|
+
import { default as default59 } from "./legacy/components/molecules/Sidebar/Sidebar.js";
|
|
59
|
+
import { default as default60 } from "./legacy/components/layout/Spinner/Spinner.js";
|
|
60
|
+
import { default as default61 } from "./legacy/components/atoms/Stack/Stack.js";
|
|
61
|
+
import { default as default62 } from "./legacy/components/organisms/StatusMatrix/StatusMatrix.js";
|
|
62
|
+
import { default as default63 } from "./legacy/components/atoms/Button/variants/TabButton.js";
|
|
63
|
+
import { default as default64 } from "./v1/primitives/forms/TextArea/TextArea.js";
|
|
64
|
+
import { default as default65 } from "./v1/primitives/forms/TextInput/TextInput.js";
|
|
65
|
+
import { default as default66 } from "./legacy/components/ui/TextoAuto.js";
|
|
66
|
+
import { default as default67 } from "./legacy/components/atoms/Tooltip/Tooltip.js";
|
|
67
|
+
import { default as default68 } from "./legacy/components/layout/TopBar/TopBar.js";
|
|
68
|
+
import { default as default69 } from "./legacy/components/layout/TopNavLayout/TopNavLayout.js";
|
|
69
|
+
import { default as default70 } from "./legacy/components/molecules/UserAvatar/UserAvatar.js";
|
|
70
|
+
import { Anel, BarrasEmpilhadas, BarrasHorizontais, Bolhas, Linha, Linhas, PALETA, cor } from "./legacy/components/charts/Charts.js";
|
|
71
|
+
import { ApiProvider } from "./legacy/contexts/apiContext.js";
|
|
72
|
+
import { AuthProvider, useAuth } from "./legacy/contexts/authContext.js";
|
|
73
|
+
import { AvisosProvider, useAvisos } from "./legacy/components/ui/Avisos.js";
|
|
74
|
+
import { Badge, BadgeSla, BarraFiltros, Btn, BtnGroup, Campo, CampoInterruptor, CampoPesquisa, CampoSelect, Card, ChipEstadoInterno, Estado, Kpi, LinhaAlerta, ListaCampos, Modal, SectionGroup } from "./legacy/components/ui/Ui.js";
|
|
75
|
+
import { CheckIcon, ChevronDownIcon, InfoIcon, LockIcon, PrefilledIcon, QrCodeIcon, SearchIcon, SparklesIcon } from "./v1/foundations/icons/icons.js";
|
|
76
|
+
import { FontWeight } from "./legacy/constants/FontWeight.js";
|
|
77
|
+
import { InputData, InputHora } from "./legacy/components/atoms/InputData/InputData.js";
|
|
78
|
+
import { LazyLoader } from "./legacy/components/organisms/LazyLoader/LazyLoader.js";
|
|
79
|
+
import { Selector } from "./legacy/components/organisms/Selector/Selector.js";
|
|
80
|
+
import { SocketProvider, useSocket } from "./legacy/contexts/socketContext.js";
|
|
81
|
+
import { configurePdfWorker } from "./v1/primitives/documents/PdfPreview/pdfjs.js";
|
|
82
|
+
import { configureQRScanner, scanQRCodes } from "./v1/capabilities/documents/QRScanning/scanQRCodes.js";
|
|
83
|
+
import { getAcronym, getFirstAndLastName, partialMatchWithUsername } from "./legacy/utils/stringUtils.js";
|
|
84
|
+
import { getCSSVariable } from "./legacy/styles/utils/utils.js";
|
|
85
|
+
import { useApi } from "./legacy/hooks/useApi.js";
|
|
86
|
+
import { useTheme } from "./legacy/hooks/useTheme.js";
|
|
87
|
+
export {
|
|
88
|
+
default3 as Acronym,
|
|
89
|
+
default4 as ActionButton,
|
|
90
|
+
Anel,
|
|
91
|
+
ApiProvider,
|
|
92
|
+
default5 as AppLauncher,
|
|
93
|
+
AuthProvider,
|
|
94
|
+
AvisosProvider,
|
|
95
|
+
Badge,
|
|
96
|
+
BadgeSla,
|
|
97
|
+
default6 as BarraAcoes,
|
|
98
|
+
BarraFiltros,
|
|
99
|
+
default7 as BarraValor,
|
|
100
|
+
BarrasEmpilhadas,
|
|
101
|
+
BarrasHorizontais,
|
|
102
|
+
Bolhas,
|
|
103
|
+
default8 as BreadCrumb,
|
|
104
|
+
Btn,
|
|
105
|
+
BtnGroup,
|
|
106
|
+
default9 as Button,
|
|
107
|
+
default10 as CabecalhoPagina,
|
|
108
|
+
default11 as CaixaPesquisa,
|
|
109
|
+
Campo,
|
|
110
|
+
CampoInterruptor,
|
|
111
|
+
CampoPesquisa,
|
|
112
|
+
CampoSelect,
|
|
113
|
+
Card,
|
|
114
|
+
CheckIcon,
|
|
115
|
+
ChevronDownIcon,
|
|
116
|
+
ChipEstadoInterno,
|
|
117
|
+
default12 as ColumnPicker,
|
|
118
|
+
default13 as ConfirmModal,
|
|
119
|
+
default14 as Confirmacao,
|
|
120
|
+
default15 as CustomSwitch,
|
|
121
|
+
default16 as DataTable,
|
|
122
|
+
default17 as Dialog,
|
|
123
|
+
default18 as DocumentDropzone,
|
|
124
|
+
default19 as Error,
|
|
125
|
+
default20 as ErrorPage,
|
|
126
|
+
default21 as Escolha,
|
|
127
|
+
Estado,
|
|
128
|
+
default22 as FaixaAviso,
|
|
129
|
+
default23 as Field,
|
|
130
|
+
FieldMark,
|
|
131
|
+
default24 as FileDropzone,
|
|
132
|
+
default25 as FilterButton,
|
|
133
|
+
FontWeight,
|
|
134
|
+
default26 as Footer,
|
|
135
|
+
FormDivider,
|
|
136
|
+
default27 as FormField,
|
|
137
|
+
default28 as FormGrid,
|
|
138
|
+
default29 as GanttChart,
|
|
139
|
+
default30 as Header,
|
|
140
|
+
default31 as IconButton,
|
|
141
|
+
default32 as IconText,
|
|
142
|
+
default33 as Icone,
|
|
143
|
+
InfoIcon,
|
|
144
|
+
default34 as Input,
|
|
145
|
+
InputData,
|
|
146
|
+
InputHora,
|
|
147
|
+
default35 as Kanban,
|
|
148
|
+
Kpi,
|
|
149
|
+
default36 as Label,
|
|
150
|
+
default37 as LanguageSwitcher,
|
|
151
|
+
default38 as Layout,
|
|
152
|
+
LazyLoader,
|
|
153
|
+
Linha,
|
|
154
|
+
LinhaAlerta,
|
|
155
|
+
Linhas,
|
|
156
|
+
ListaCampos,
|
|
157
|
+
default39 as LoadingPage,
|
|
158
|
+
LockIcon,
|
|
159
|
+
default40 as LoginScreen,
|
|
160
|
+
default41 as LookupInput,
|
|
161
|
+
default42 as MainButton,
|
|
162
|
+
default43 as MapaPontos,
|
|
163
|
+
default44 as MenuAcoes,
|
|
164
|
+
default45 as Modal,
|
|
165
|
+
default46 as MultiTagPicker,
|
|
166
|
+
default47 as NotFoundPage,
|
|
167
|
+
PALETA,
|
|
168
|
+
default48 as PainelFiltros,
|
|
169
|
+
default49 as Passos,
|
|
170
|
+
default50 as PdfPreview,
|
|
171
|
+
default51 as PesquisaRapida,
|
|
172
|
+
default52 as PhotoAvatar,
|
|
173
|
+
PrefilledIcon,
|
|
174
|
+
Modal as ProefModal,
|
|
175
|
+
default53 as Profile,
|
|
176
|
+
QrCodeIcon,
|
|
177
|
+
default54 as RoleGuard,
|
|
178
|
+
SearchIcon,
|
|
179
|
+
SectionGroup,
|
|
180
|
+
default55 as Select,
|
|
181
|
+
default56 as SelectInput,
|
|
182
|
+
Selector,
|
|
183
|
+
default57 as SeletorPesquisa,
|
|
184
|
+
default58 as Separadores,
|
|
185
|
+
default2 as Sidebar,
|
|
186
|
+
default59 as SidebarDrawer,
|
|
187
|
+
SocketProvider,
|
|
188
|
+
SparklesIcon,
|
|
189
|
+
default60 as Spinner,
|
|
190
|
+
default61 as Stack,
|
|
191
|
+
default62 as StatusMatrix,
|
|
192
|
+
default63 as TabButton,
|
|
193
|
+
default64 as TextArea,
|
|
194
|
+
default65 as TextInput,
|
|
195
|
+
default66 as TextoAuto,
|
|
196
|
+
default67 as Tooltip,
|
|
197
|
+
default68 as TopBar,
|
|
198
|
+
default69 as TopNavLayout,
|
|
199
|
+
default70 as UserAvatar,
|
|
200
|
+
applyColumnLayout,
|
|
201
|
+
configurePdfWorker,
|
|
202
|
+
configureQRScanner,
|
|
203
|
+
cor,
|
|
204
|
+
accepts as documentDropzoneAccepts,
|
|
205
|
+
ganttDiaIso,
|
|
206
|
+
getAcronym,
|
|
207
|
+
getCSSVariable,
|
|
208
|
+
getFirstAndLastName,
|
|
209
|
+
lerRolesDoToken,
|
|
210
|
+
orderColumns,
|
|
211
|
+
partialMatchWithUsername,
|
|
212
|
+
scanQRCodes,
|
|
213
|
+
timestampDeData,
|
|
214
|
+
usarAtalhoPesquisa,
|
|
215
|
+
useApi,
|
|
216
|
+
useAuth,
|
|
217
|
+
useAvisos,
|
|
218
|
+
useDialogContainer,
|
|
219
|
+
useSocket,
|
|
220
|
+
useTheme
|
|
221
|
+
};
|
|
222
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
const logoIcon = "data:image/svg+xml,%3csvg%20width='33'%20height='13'%20viewBox='0%200%2033%2013'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M30.4778%207.89087H28.7568V9.86569H30.4778V7.89087Z'%20fill='%23C2C2C2'/%3e%3cpath%20d='M33.0004%201.75803V0.079834H30.4778L28.7568%201.75803V6.70976H30.4778V4.87925H33.0004V3.19839H30.4778V1.75803H33.0004Z'%20fill='%23C2C2C2'/%3e%3cpath%20d='M2.80322%203.19849H1.72095L0.0400842%204.87935H2.80322C3.82938%204.87935%204.6177%205.63828%204.6177%206.72055C4.6177%207.80283%203.83205%208.56175%202.80322%208.56175H1.71828V6.07921H0V12.9202H1.72095V10.2426H2.8059C4.76735%2010.2426%206.33865%208.70873%206.33865%206.72322C6.33865%204.73505%204.76468%203.20383%202.8059%203.20383L2.80322%203.19849Z'%20fill='%23C2C2C2'/%3e%3cpath%20d='M7.51465%204.91944V6.73659H9.2356V4.91944H11.7155V3.19849H9.2356L7.51465%204.91944Z'%20fill='%23C2C2C2'/%3e%3cpath%20d='M9.2356%207.91748H7.51465V9.86825H9.2356V7.91748Z'%20fill='%23C2C2C2'/%3e%3cpath%20d='M24.0612%203.18506C21.9448%203.18506%2020.5098%204.72429%2020.5098%206.71781C20.5098%208.47885%2021.6081%209.88447%2023.3718%2010.1891V8.69263C22.8587%208.50023%2022.4632%208.08602%2022.3055%207.42864H27.3321C27.3855%207.2015%2027.3989%206.97435%2027.3989%206.72049C27.3989%204.75369%2026.0307%203.18773%2024.0612%203.18773V3.18506ZM22.2922%206.07379C22.506%205.23203%2023.1233%204.73498%2024.0479%204.73498C24.7721%204.73498%2025.4695%205.1091%2025.6699%206.07379H22.2922Z'%20fill='%23C2C2C2'/%3e%3cpath%20d='M24.5371%208.77012V10.2265C25.3735%2010.1383%2026.087%209.79894%2026.5867%209.23776L25.4965%208.15015C25.3228%208.43608%2024.9673%208.67391%2024.5371%208.77279V8.77012Z'%20fill='%23C2C2C2'/%3e%3cpath%20d='M15.9647%203.19849V4.87935C16.9909%204.87935%2017.7792%205.63828%2017.7792%206.72055C17.7792%207.80283%2016.9935%208.56175%2015.9647%208.56175C14.9359%208.56175%2014.1636%207.80283%2014.1636%206.72055C14.1636%206.19144%2014.3533%205.73983%2014.666%205.41648L13.8055%203.92535C12.9744%204.56135%2012.4453%205.56613%2012.4453%206.72323C12.4453%208.7114%2014.0059%2010.2426%2015.9647%2010.2426C17.9235%2010.2426%2019.4975%208.70873%2019.4975%206.72323C19.4975%204.73772%2017.9235%203.20383%2015.9647%203.20383V3.19849Z'%20fill='%23C2C2C2'/%3e%3c/svg%3e";
|
|
2
|
+
export {
|
|
3
|
+
logoIcon as default
|
|
4
|
+
};
|
|
5
|
+
//# sourceMappingURL=proef-footer-logo.svg.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"proef-footer-logo.svg.js","sources":["../../../../../src/legacy/assets/svgs/proef-footer-logo.svg"],"sourcesContent":["export default \"data:image/svg+xml,%3csvg%20width='33'%20height='13'%20viewBox='0%200%2033%2013'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M30.4778%207.89087H28.7568V9.86569H30.4778V7.89087Z'%20fill='%23C2C2C2'/%3e%3cpath%20d='M33.0004%201.75803V0.079834H30.4778L28.7568%201.75803V6.70976H30.4778V4.87925H33.0004V3.19839H30.4778V1.75803H33.0004Z'%20fill='%23C2C2C2'/%3e%3cpath%20d='M2.80322%203.19849H1.72095L0.0400842%204.87935H2.80322C3.82938%204.87935%204.6177%205.63828%204.6177%206.72055C4.6177%207.80283%203.83205%208.56175%202.80322%208.56175H1.71828V6.07921H0V12.9202H1.72095V10.2426H2.8059C4.76735%2010.2426%206.33865%208.70873%206.33865%206.72322C6.33865%204.73505%204.76468%203.20383%202.8059%203.20383L2.80322%203.19849Z'%20fill='%23C2C2C2'/%3e%3cpath%20d='M7.51465%204.91944V6.73659H9.2356V4.91944H11.7155V3.19849H9.2356L7.51465%204.91944Z'%20fill='%23C2C2C2'/%3e%3cpath%20d='M9.2356%207.91748H7.51465V9.86825H9.2356V7.91748Z'%20fill='%23C2C2C2'/%3e%3cpath%20d='M24.0612%203.18506C21.9448%203.18506%2020.5098%204.72429%2020.5098%206.71781C20.5098%208.47885%2021.6081%209.88447%2023.3718%2010.1891V8.69263C22.8587%208.50023%2022.4632%208.08602%2022.3055%207.42864H27.3321C27.3855%207.2015%2027.3989%206.97435%2027.3989%206.72049C27.3989%204.75369%2026.0307%203.18773%2024.0612%203.18773V3.18506ZM22.2922%206.07379C22.506%205.23203%2023.1233%204.73498%2024.0479%204.73498C24.7721%204.73498%2025.4695%205.1091%2025.6699%206.07379H22.2922Z'%20fill='%23C2C2C2'/%3e%3cpath%20d='M24.5371%208.77012V10.2265C25.3735%2010.1383%2026.087%209.79894%2026.5867%209.23776L25.4965%208.15015C25.3228%208.43608%2024.9673%208.67391%2024.5371%208.77279V8.77012Z'%20fill='%23C2C2C2'/%3e%3cpath%20d='M15.9647%203.19849V4.87935C16.9909%204.87935%2017.7792%205.63828%2017.7792%206.72055C17.7792%207.80283%2016.9935%208.56175%2015.9647%208.56175C14.9359%208.56175%2014.1636%207.80283%2014.1636%206.72055C14.1636%206.19144%2014.3533%205.73983%2014.666%205.41648L13.8055%203.92535C12.9744%204.56135%2012.4453%205.56613%2012.4453%206.72323C12.4453%208.7114%2014.0059%2010.2426%2015.9647%2010.2426C17.9235%2010.2426%2019.4975%208.70873%2019.4975%206.72323C19.4975%204.73772%2017.9235%203.20383%2015.9647%203.20383V3.19849Z'%20fill='%23C2C2C2'/%3e%3c/svg%3e\""],"names":[],"mappings":"AAAA,MAAA,WAAe;"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
@charset "UTF-8";
|
|
2
|
+
/* Intencionalmente VAZIO.
|
|
3
|
+
*
|
|
4
|
+
* As atoms antigas faziam `@import url('.../styles/index.scss')`, e este ficheiro
|
|
5
|
+
* injetava no CONSUMIDOR (via style-loader do bundle) um reset global agressivo
|
|
6
|
+
* (`* { margin:0; padding:0 }`), `@font-face` Urbanist (.ttf → 404 sob subpaths),
|
|
7
|
+
* `canvas { height:auto }` (partia o sizing dos charts) e `body { font-family;
|
|
8
|
+
* background }`. Uma LIB não pode impor nada disto — nukeava o spacing/fonte/fundo
|
|
9
|
+
* de qualquer app que importasse o common-ui (visível sobretudo em apps com
|
|
10
|
+
* utilities layered, que perdem ao `*` injetado).
|
|
11
|
+
*
|
|
12
|
+
* Cada app define o seu próprio reset/fonte/fundo. Mantido como no-op p/ os
|
|
13
|
+
* imports existentes não partirem. */
|
|
14
|
+
.cui-acronym {
|
|
15
|
+
display: flex;
|
|
16
|
+
align-items: center;
|
|
17
|
+
font-weight: 500;
|
|
18
|
+
}
|
|
19
|
+
.cui-acronym.dark-bg {
|
|
20
|
+
color: var(--almost-white);
|
|
21
|
+
}
|
|
22
|
+
.cui-acronym.dark-bg .cui-initials {
|
|
23
|
+
border: 0.12rem solid var(--bright-blue);
|
|
24
|
+
}
|
|
25
|
+
.cui-acronym.light-bg {
|
|
26
|
+
color: var(--dark-blue);
|
|
27
|
+
}
|
|
28
|
+
.cui-acronym.light-bg .cui-initials {
|
|
29
|
+
border: 0.12rem solid var(--bright-blue);
|
|
30
|
+
}
|
|
31
|
+
.cui-acronym .cui-initials {
|
|
32
|
+
display: flex;
|
|
33
|
+
align-items: center;
|
|
34
|
+
justify-content: center;
|
|
35
|
+
width: 2rem;
|
|
36
|
+
height: 2rem;
|
|
37
|
+
font-size: 1rem;
|
|
38
|
+
border-radius: 50%;
|
|
39
|
+
flex-shrink: 0;
|
|
40
|
+
}
|
|
41
|
+
.cui-acronym .cui-full {
|
|
42
|
+
margin-left: 0.5rem;
|
|
43
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
+
import { useState, useEffect } from "react";
|
|
3
|
+
import './Acronym.css';/* empty css */
|
|
4
|
+
const Acronym = ({ name, acronymOnly, theme }) => {
|
|
5
|
+
const [initials, setInitials] = useState("");
|
|
6
|
+
const [displayName, setDisplayName] = useState("");
|
|
7
|
+
const { mode } = theme;
|
|
8
|
+
useEffect(() => {
|
|
9
|
+
const trimmedName = name.trim();
|
|
10
|
+
if (trimmedName) {
|
|
11
|
+
const words = trimmedName.split(/\s+/);
|
|
12
|
+
const first = words[0];
|
|
13
|
+
const last = words[words.length - 1];
|
|
14
|
+
setInitials(
|
|
15
|
+
(first[0]?.toUpperCase() || "") + (last[0]?.toUpperCase() || "")
|
|
16
|
+
);
|
|
17
|
+
setDisplayName(`${first} ${last}`);
|
|
18
|
+
} else {
|
|
19
|
+
setInitials("");
|
|
20
|
+
setDisplayName("");
|
|
21
|
+
}
|
|
22
|
+
}, [name]);
|
|
23
|
+
return /* @__PURE__ */ jsxs("div", { className: `cui-acronym ${mode === "dark" ? "dark-bg" : "light-bg"}`, children: [
|
|
24
|
+
/* @__PURE__ */ jsx("div", { className: "cui-initials", title: name, children: initials }),
|
|
25
|
+
!acronymOnly && /* @__PURE__ */ jsx("div", { className: "cui-full", children: displayName })
|
|
26
|
+
] });
|
|
27
|
+
};
|
|
28
|
+
export {
|
|
29
|
+
Acronym as default
|
|
30
|
+
};
|
|
31
|
+
//# sourceMappingURL=Acronym.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Acronym.js","sources":["../../../../../../src/legacy/components/atoms/Acronym/Acronym.tsx"],"sourcesContent":["import React, { useEffect, useState, useRef } from 'react'\r\nimport { AcronymTheme } from '../../../types/themes/AcronymThemes'\r\n\r\nimport './Acronym.scss'\r\n\r\ntype Props = {\r\n name: string\r\n acronymOnly?: boolean\r\n theme: AcronymTheme\r\n}\r\n\r\n/** @deprecated Legacy — não usar em código novo. Ver Storybook › Legacy. */\r\nconst Acronym = ({ name, acronymOnly, theme }: Props) => {\r\n const [initials, setInitials] = useState('')\r\n const [displayName, setDisplayName] = useState('')\r\n const { mode } = theme\r\n\r\n useEffect(() => {\r\n const trimmedName = name.trim()\r\n if (trimmedName) {\r\n const words = trimmedName.split(/\\s+/)\r\n const first = words[0]\r\n const last = words[words.length - 1]\r\n setInitials(\r\n (first[0]?.toUpperCase() || '') + (last[0]?.toUpperCase() || '')\r\n )\r\n setDisplayName(`${first} ${last}`)\r\n } else {\r\n setInitials('')\r\n setDisplayName('')\r\n }\r\n }, [name])\r\n\r\n return (\r\n <div className={`cui-acronym ${mode === 'dark' ? 'dark-bg' : 'light-bg'}`}>\r\n <div className=\"cui-initials\" title={name}>\r\n {initials}\r\n </div>\r\n {!acronymOnly && <div className=\"cui-full\">{displayName}</div>}\r\n </div>\r\n )\r\n}\r\n\r\nexport default Acronym\r\n"],"names":[],"mappings":";;;AAYA,MAAM,UAAU,CAAC,EAAE,MAAM,aAAa,YAAmB;AACvD,QAAM,CAAC,UAAU,WAAW,IAAI,SAAS,EAAE;AAC3C,QAAM,CAAC,aAAa,cAAc,IAAI,SAAS,EAAE;AACjD,QAAM,EAAE,SAAS;AAEjB,YAAU,MAAM;AACd,UAAM,cAAc,KAAK,KAAA;AACzB,QAAI,aAAa;AACf,YAAM,QAAQ,YAAY,MAAM,KAAK;AACrC,YAAM,QAAQ,MAAM,CAAC;AACrB,YAAM,OAAO,MAAM,MAAM,SAAS,CAAC;AACnC;AAAA,SACG,MAAM,CAAC,GAAG,YAAA,KAAiB,OAAO,KAAK,CAAC,GAAG,YAAA,KAAiB;AAAA,MAAA;AAE/D,qBAAe,GAAG,KAAK,IAAI,IAAI,EAAE;AAAA,IACnC,OAAO;AACL,kBAAY,EAAE;AACd,qBAAe,EAAE;AAAA,IACnB;AAAA,EACF,GAAG,CAAC,IAAI,CAAC;AAET,SACE,qBAAC,SAAI,WAAW,eAAe,SAAS,SAAS,YAAY,UAAU,IACrE,UAAA;AAAA,IAAA,oBAAC,OAAA,EAAI,WAAU,gBAAe,OAAO,MAClC,UAAA,UACH;AAAA,IACC,CAAC,eAAe,oBAAC,OAAA,EAAI,WAAU,YAAY,UAAA,YAAA,CAAY;AAAA,EAAA,GAC1D;AAEJ;"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
@charset "UTF-8";
|
|
2
|
+
/* Intencionalmente VAZIO.
|
|
3
|
+
*
|
|
4
|
+
* As atoms antigas faziam `@import url('.../styles/index.scss')`, e este ficheiro
|
|
5
|
+
* injetava no CONSUMIDOR (via style-loader do bundle) um reset global agressivo
|
|
6
|
+
* (`* { margin:0; padding:0 }`), `@font-face` Urbanist (.ttf → 404 sob subpaths),
|
|
7
|
+
* `canvas { height:auto }` (partia o sizing dos charts) e `body { font-family;
|
|
8
|
+
* background }`. Uma LIB não pode impor nada disto — nukeava o spacing/fonte/fundo
|
|
9
|
+
* de qualquer app que importasse o common-ui (visível sobretudo em apps com
|
|
10
|
+
* utilities layered, que perdem ao `*` injetado).
|
|
11
|
+
*
|
|
12
|
+
* Cada app define o seu próprio reset/fonte/fundo. Mantido como no-op p/ os
|
|
13
|
+
* imports existentes não partirem. */
|
|
14
|
+
.cui-breadcrumb {
|
|
15
|
+
display: flex;
|
|
16
|
+
align-items: center;
|
|
17
|
+
font-size: 1.3rem;
|
|
18
|
+
}
|
|
19
|
+
.cui-breadcrumb .cui-breadcrumb-link {
|
|
20
|
+
background: none;
|
|
21
|
+
border: none;
|
|
22
|
+
padding: 0;
|
|
23
|
+
text-decoration: none;
|
|
24
|
+
color: var(--dark-blue);
|
|
25
|
+
cursor: pointer;
|
|
26
|
+
}
|
|
27
|
+
.cui-breadcrumb .cui-breadcrumb-link:hover {
|
|
28
|
+
text-decoration: underline;
|
|
29
|
+
}
|
|
30
|
+
.cui-breadcrumb .cui-breadcrumb-last {
|
|
31
|
+
color: var(--bright-blue);
|
|
32
|
+
}
|
|
33
|
+
.cui-breadcrumb .cui-breadcrumb-icon {
|
|
34
|
+
margin: 0 0.7rem;
|
|
35
|
+
color: var(--dark-blue);
|
|
36
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import './BreadCrumb.css';/* empty css */
|
|
4
|
+
import { faArrowRight } from "@fortawesome/free-solid-svg-icons";
|
|
5
|
+
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
|
|
6
|
+
const BreadCrumb = ({ location, onNavigate }) => {
|
|
7
|
+
const generateBreadcrumbs = () => {
|
|
8
|
+
const paths = location.split("/").filter(Boolean);
|
|
9
|
+
if (paths.length === 0) {
|
|
10
|
+
return [];
|
|
11
|
+
}
|
|
12
|
+
const breadcrumbs2 = [{ label: "Home", path: "/" }];
|
|
13
|
+
paths.forEach((path, index) => {
|
|
14
|
+
const previousPath = index === 0 ? "/" : breadcrumbs2[index].path;
|
|
15
|
+
const newPath = `${previousPath}${path}/`;
|
|
16
|
+
breadcrumbs2.push({
|
|
17
|
+
label: capitalize(path),
|
|
18
|
+
path: newPath
|
|
19
|
+
});
|
|
20
|
+
});
|
|
21
|
+
breadcrumbs2[breadcrumbs2.length - 1].isLast = true;
|
|
22
|
+
return breadcrumbs2;
|
|
23
|
+
};
|
|
24
|
+
const capitalize = (str) => {
|
|
25
|
+
if (!str) return "";
|
|
26
|
+
return str.charAt(0).toUpperCase() + str.slice(1);
|
|
27
|
+
};
|
|
28
|
+
const handleClick = (path, isLast) => {
|
|
29
|
+
if (!isLast && onNavigate) {
|
|
30
|
+
onNavigate(path);
|
|
31
|
+
}
|
|
32
|
+
};
|
|
33
|
+
const breadcrumbs = generateBreadcrumbs();
|
|
34
|
+
return /* @__PURE__ */ jsx("div", { className: "cui-breadcrumb", children: /* @__PURE__ */ jsx("nav", { "aria-label": "breadcrumb", children: breadcrumbs.map((item, index) => /* @__PURE__ */ jsxs(React.Fragment, { children: [
|
|
35
|
+
item.isLast ? /* @__PURE__ */ jsx("span", { className: "cui-breadcrumb-last", "aria-current": "page", children: item.label }) : /* @__PURE__ */ jsx(
|
|
36
|
+
"button",
|
|
37
|
+
{
|
|
38
|
+
className: "cui-breadcrumb-link",
|
|
39
|
+
onClick: () => handleClick(item.path, item.isLast),
|
|
40
|
+
type: "button",
|
|
41
|
+
children: item.label
|
|
42
|
+
}
|
|
43
|
+
),
|
|
44
|
+
index < breadcrumbs.length - 1 && /* @__PURE__ */ jsx("span", { className: "cui-breadcrumb-separator", children: /* @__PURE__ */ jsx(
|
|
45
|
+
FontAwesomeIcon,
|
|
46
|
+
{
|
|
47
|
+
icon: faArrowRight,
|
|
48
|
+
className: "cui-breadcrumb-icon",
|
|
49
|
+
size: "xs"
|
|
50
|
+
}
|
|
51
|
+
) })
|
|
52
|
+
] }, item.path)) }) });
|
|
53
|
+
};
|
|
54
|
+
export {
|
|
55
|
+
BreadCrumb as default
|
|
56
|
+
};
|
|
57
|
+
//# sourceMappingURL=BreadCrumb.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BreadCrumb.js","sources":["../../../../../../src/legacy/components/atoms/BreadCrumb/BreadCrumb.tsx"],"sourcesContent":["import React from 'react'\r\nimport './BreadCrumb.scss'\r\nimport { faArrowRight } from '@fortawesome/free-solid-svg-icons'\r\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome'\r\n\r\ninterface BreadcrumbItem {\r\n label: string\r\n path: string\r\n isLast?: boolean\r\n}\r\n\r\ninterface BreadCrumbProps {\r\n location: string\r\n onNavigate?: (path: string) => void\r\n}\r\n\r\n/** @deprecated Legacy — não usar em código novo. Ver Storybook › Legacy. */\r\nconst BreadCrumb: React.FC<BreadCrumbProps> = ({ location, onNavigate }) => {\r\n const generateBreadcrumbs = (): BreadcrumbItem[] => {\r\n const paths = location.split('/').filter(Boolean)\r\n\r\n if (paths.length === 0) {\r\n return []\r\n }\r\n\r\n const breadcrumbs: BreadcrumbItem[] = [{ label: 'Home', path: '/' }]\r\n\r\n paths.forEach((path, index) => {\r\n const previousPath = index === 0 ? '/' : breadcrumbs[index].path\r\n const newPath = `${previousPath}${path}/`\r\n\r\n breadcrumbs.push({\r\n label: capitalize(path),\r\n path: newPath,\r\n })\r\n })\r\n\r\n breadcrumbs[breadcrumbs.length - 1].isLast = true\r\n\r\n return breadcrumbs\r\n }\r\n\r\n const capitalize = (str: string): string => {\r\n if (!str) return ''\r\n return str.charAt(0).toUpperCase() + str.slice(1)\r\n }\r\n\r\n const handleClick = (path: string, isLast: boolean | undefined) => {\r\n if (!isLast && onNavigate) {\r\n onNavigate(path)\r\n }\r\n }\r\n\r\n const breadcrumbs = generateBreadcrumbs()\r\n\r\n return (\r\n <div className={'cui-breadcrumb'}>\r\n <nav aria-label=\"breadcrumb\">\r\n {breadcrumbs.map((item, index) => (\r\n <React.Fragment key={item.path}>\r\n {item.isLast ? (\r\n <span className=\"cui-breadcrumb-last\" aria-current=\"page\">\r\n {item.label}\r\n </span>\r\n ) : (\r\n <button\r\n className=\"cui-breadcrumb-link\"\r\n onClick={() => handleClick(item.path, item.isLast)}\r\n type=\"button\"\r\n >\r\n {item.label}\r\n </button>\r\n )}\r\n {index < breadcrumbs.length - 1 && (\r\n <span className=\"cui-breadcrumb-separator\">\r\n <FontAwesomeIcon\r\n icon={faArrowRight}\r\n className=\"cui-breadcrumb-icon\"\r\n size=\"xs\"\r\n />\r\n </span>\r\n )}\r\n </React.Fragment>\r\n ))}\r\n </nav>\r\n </div>\r\n )\r\n}\r\n\r\nexport default BreadCrumb\r\n"],"names":["breadcrumbs"],"mappings":";;;;;AAiBA,MAAM,aAAwC,CAAC,EAAE,UAAU,iBAAiB;AAC1E,QAAM,sBAAsB,MAAwB;AAClD,UAAM,QAAQ,SAAS,MAAM,GAAG,EAAE,OAAO,OAAO;AAEhD,QAAI,MAAM,WAAW,GAAG;AACtB,aAAO,CAAA;AAAA,IACT;AAEA,UAAMA,eAAgC,CAAC,EAAE,OAAO,QAAQ,MAAM,KAAK;AAEnE,UAAM,QAAQ,CAAC,MAAM,UAAU;AAC7B,YAAM,eAAe,UAAU,IAAI,MAAMA,aAAY,KAAK,EAAE;AAC5D,YAAM,UAAU,GAAG,YAAY,GAAG,IAAI;AAEtCA,mBAAY,KAAK;AAAA,QACf,OAAO,WAAW,IAAI;AAAA,QACtB,MAAM;AAAA,MAAA,CACP;AAAA,IACH,CAAC;AAEDA,iBAAYA,aAAY,SAAS,CAAC,EAAE,SAAS;AAE7C,WAAOA;AAAAA,EACT;AAEA,QAAM,aAAa,CAAC,QAAwB;AAC1C,QAAI,CAAC,IAAK,QAAO;AACjB,WAAO,IAAI,OAAO,CAAC,EAAE,gBAAgB,IAAI,MAAM,CAAC;AAAA,EAClD;AAEA,QAAM,cAAc,CAAC,MAAc,WAAgC;AACjE,QAAI,CAAC,UAAU,YAAY;AACzB,iBAAW,IAAI;AAAA,IACjB;AAAA,EACF;AAEA,QAAM,cAAc,oBAAA;AAEpB,6BACG,OAAA,EAAI,WAAW,kBACd,UAAA,oBAAC,SAAI,cAAW,cACb,UAAA,YAAY,IAAI,CAAC,MAAM,UACtB,qBAAC,MAAM,UAAN,EACE,UAAA;AAAA,IAAA,KAAK,6BACH,QAAA,EAAK,WAAU,uBAAsB,gBAAa,QAChD,UAAA,KAAK,MAAA,CACR,IAEA;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,WAAU;AAAA,QACV,SAAS,MAAM,YAAY,KAAK,MAAM,KAAK,MAAM;AAAA,QACjD,MAAK;AAAA,QAEJ,UAAA,KAAK;AAAA,MAAA;AAAA,IAAA;AAAA,IAGT,QAAQ,YAAY,SAAS,KAC5B,oBAAC,QAAA,EAAK,WAAU,4BACd,UAAA;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,MAAM;AAAA,QACN,WAAU;AAAA,QACV,MAAK;AAAA,MAAA;AAAA,IAAA,EACP,CACF;AAAA,EAAA,EAAA,GArBiB,KAAK,IAuB1B,CACD,EAAA,CACH,EAAA,CACF;AAEJ;"}
|
|
@@ -0,0 +1,218 @@
|
|
|
1
|
+
@charset "UTF-8";
|
|
2
|
+
/* Intencionalmente VAZIO.
|
|
3
|
+
*
|
|
4
|
+
* As atoms antigas faziam `@import url('.../styles/index.scss')`, e este ficheiro
|
|
5
|
+
* injetava no CONSUMIDOR (via style-loader do bundle) um reset global agressivo
|
|
6
|
+
* (`* { margin:0; padding:0 }`), `@font-face` Urbanist (.ttf → 404 sob subpaths),
|
|
7
|
+
* `canvas { height:auto }` (partia o sizing dos charts) e `body { font-family;
|
|
8
|
+
* background }`. Uma LIB não pode impor nada disto — nukeava o spacing/fonte/fundo
|
|
9
|
+
* de qualquer app que importasse o common-ui (visível sobretudo em apps com
|
|
10
|
+
* utilities layered, que perdem ao `*` injetado).
|
|
11
|
+
*
|
|
12
|
+
* Cada app define o seu próprio reset/fonte/fundo. Mantido como no-op p/ os
|
|
13
|
+
* imports existentes não partirem. */
|
|
14
|
+
.cui-button {
|
|
15
|
+
border: none;
|
|
16
|
+
cursor: pointer;
|
|
17
|
+
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
|
|
18
|
+
transition: all 0.3s ease-out;
|
|
19
|
+
}
|
|
20
|
+
.cui-button:hover {
|
|
21
|
+
box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
|
|
22
|
+
transform: translateY(-2px);
|
|
23
|
+
}
|
|
24
|
+
.cui-button:active {
|
|
25
|
+
transform: scale(0.95);
|
|
26
|
+
}
|
|
27
|
+
.cui-button:disabled {
|
|
28
|
+
opacity: 0.6;
|
|
29
|
+
cursor: not-allowed;
|
|
30
|
+
box-shadow: none;
|
|
31
|
+
transform: none !important;
|
|
32
|
+
}
|
|
33
|
+
.cui-action-button {
|
|
34
|
+
display: flex;
|
|
35
|
+
align-items: center;
|
|
36
|
+
justify-content: center;
|
|
37
|
+
line-height: 0.9rem;
|
|
38
|
+
white-space: nowrap;
|
|
39
|
+
}
|
|
40
|
+
.cui-action-button:hover {
|
|
41
|
+
opacity: 0.9;
|
|
42
|
+
background-color: var(--hover-bg-color) !important;
|
|
43
|
+
}
|
|
44
|
+
.cui-action-button .cui-icon {
|
|
45
|
+
display: flex;
|
|
46
|
+
justify-content: center;
|
|
47
|
+
align-items: center;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
/* 🟢 Mobile-first base (e.g. < 480px) */
|
|
51
|
+
.cui-action-button-size-compact {
|
|
52
|
+
padding: 0.4rem 0.8rem;
|
|
53
|
+
font-size: 0.7rem;
|
|
54
|
+
border-radius: 0.9rem;
|
|
55
|
+
}
|
|
56
|
+
.cui-action-button-size-compact .cui-icon {
|
|
57
|
+
width: 0.8rem;
|
|
58
|
+
height: 0.8rem;
|
|
59
|
+
margin-right: 0.3rem;
|
|
60
|
+
}
|
|
61
|
+
.cui-action-button-size-compact .cui-icon-only {
|
|
62
|
+
margin-right: 0;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.cui-action-button-size-default {
|
|
66
|
+
padding: 0.5rem 1.2rem;
|
|
67
|
+
font-size: 0.9rem;
|
|
68
|
+
border-radius: 1.2rem;
|
|
69
|
+
}
|
|
70
|
+
.cui-action-button-size-default .cui-icon {
|
|
71
|
+
width: 1rem;
|
|
72
|
+
height: 1rem;
|
|
73
|
+
margin-right: 0.4rem;
|
|
74
|
+
}
|
|
75
|
+
.cui-action-button-size-default .cui-icon-only {
|
|
76
|
+
margin-right: 0;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.cui-action-button-size-large {
|
|
80
|
+
padding: 0.6rem 1.6rem;
|
|
81
|
+
font-size: 1.1rem;
|
|
82
|
+
border-radius: 1.5rem;
|
|
83
|
+
}
|
|
84
|
+
.cui-action-button-size-large .cui-icon {
|
|
85
|
+
width: 1.2rem;
|
|
86
|
+
height: 1.2rem;
|
|
87
|
+
margin-right: 0.5rem;
|
|
88
|
+
}
|
|
89
|
+
.cui-action-button-size-large .cui-icon-only {
|
|
90
|
+
margin-right: 0;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
/* 🟡 480px and up (small tablets / phones in landscape) */
|
|
94
|
+
@media (min-width: 480px) and (max-width: 1023px) {
|
|
95
|
+
.cui-action-button-size-compact {
|
|
96
|
+
padding: 0.5rem 1rem;
|
|
97
|
+
font-size: 0.8rem;
|
|
98
|
+
border-radius: 1rem;
|
|
99
|
+
}
|
|
100
|
+
.cui-action-button-size-compact .cui-icon {
|
|
101
|
+
width: 0.9rem;
|
|
102
|
+
height: 0.9rem;
|
|
103
|
+
margin-right: 0.35rem;
|
|
104
|
+
}
|
|
105
|
+
.cui-action-button-size-compact .cui-icon-only {
|
|
106
|
+
margin-right: 0;
|
|
107
|
+
}
|
|
108
|
+
.cui-action-button-size-default {
|
|
109
|
+
padding: 0.6rem 1.4rem;
|
|
110
|
+
font-size: 1rem;
|
|
111
|
+
border-radius: 1.3rem;
|
|
112
|
+
}
|
|
113
|
+
.cui-action-button-size-default .cui-icon {
|
|
114
|
+
width: 1.1rem;
|
|
115
|
+
height: 1.1rem;
|
|
116
|
+
margin-right: 0.45rem;
|
|
117
|
+
}
|
|
118
|
+
.cui-action-button-size-default .cui-icon-only {
|
|
119
|
+
margin-right: 0;
|
|
120
|
+
}
|
|
121
|
+
.cui-action-button-size-large {
|
|
122
|
+
padding: 0.7rem 1.8rem;
|
|
123
|
+
font-size: 1.2rem;
|
|
124
|
+
border-radius: 1.6rem;
|
|
125
|
+
}
|
|
126
|
+
.cui-action-button-size-large .cui-icon {
|
|
127
|
+
width: 1.3rem;
|
|
128
|
+
height: 1.3rem;
|
|
129
|
+
margin-right: 0.55rem;
|
|
130
|
+
}
|
|
131
|
+
.cui-action-button-size-large .cui-icon-only {
|
|
132
|
+
margin-right: 0;
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
/* 🔵 Mid-large screens (desktop/tablet, 1024px–2560px) */
|
|
136
|
+
@media (min-width: 1024px) {
|
|
137
|
+
.cui-action-button-size-compact {
|
|
138
|
+
padding: 0.6rem 1.2rem;
|
|
139
|
+
font-size: 0.9rem;
|
|
140
|
+
border-radius: 1.2rem;
|
|
141
|
+
}
|
|
142
|
+
.cui-action-button-size-compact .cui-icon {
|
|
143
|
+
width: 1rem;
|
|
144
|
+
height: 1rem;
|
|
145
|
+
margin-right: 0.4rem;
|
|
146
|
+
}
|
|
147
|
+
.cui-action-button-size-compact .cui-icon-only {
|
|
148
|
+
margin-right: 0;
|
|
149
|
+
}
|
|
150
|
+
.cui-action-button-size-default {
|
|
151
|
+
padding: 0.7rem 1.6rem;
|
|
152
|
+
font-size: 1.1rem;
|
|
153
|
+
border-radius: 1.5rem;
|
|
154
|
+
}
|
|
155
|
+
.cui-action-button-size-default .cui-icon {
|
|
156
|
+
width: 1.2rem;
|
|
157
|
+
height: 1.2rem;
|
|
158
|
+
margin-right: 0.5rem;
|
|
159
|
+
}
|
|
160
|
+
.cui-action-button-size-default .cui-icon-only {
|
|
161
|
+
margin-right: 0;
|
|
162
|
+
}
|
|
163
|
+
.cui-action-button-size-large {
|
|
164
|
+
padding: 0.8rem 2rem;
|
|
165
|
+
font-size: 1.3rem;
|
|
166
|
+
border-radius: 1.8rem;
|
|
167
|
+
}
|
|
168
|
+
.cui-action-button-size-large .cui-icon {
|
|
169
|
+
width: 1.4rem;
|
|
170
|
+
height: 1.4rem;
|
|
171
|
+
margin-right: 0.6rem;
|
|
172
|
+
}
|
|
173
|
+
.cui-action-button-size-large .cui-icon-only {
|
|
174
|
+
margin-right: 0;
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
/* 🟣 4K+ screens */
|
|
178
|
+
@media (min-width: 2560px) {
|
|
179
|
+
.cui-action-button-size-compact {
|
|
180
|
+
padding: 0.8rem 1.6rem;
|
|
181
|
+
font-size: 1.1rem;
|
|
182
|
+
border-radius: 1.6rem;
|
|
183
|
+
}
|
|
184
|
+
.cui-action-button-size-compact .cui-icon {
|
|
185
|
+
width: 1.4rem;
|
|
186
|
+
height: 1.4rem;
|
|
187
|
+
margin-right: 0.6rem;
|
|
188
|
+
}
|
|
189
|
+
.cui-action-button-size-compact .cui-icon-only {
|
|
190
|
+
margin-right: 0;
|
|
191
|
+
}
|
|
192
|
+
.cui-action-button-size-default {
|
|
193
|
+
padding: 1rem 2rem;
|
|
194
|
+
font-size: 1.4rem;
|
|
195
|
+
border-radius: 2rem;
|
|
196
|
+
}
|
|
197
|
+
.cui-action-button-size-default .cui-icon {
|
|
198
|
+
width: 1.6rem;
|
|
199
|
+
height: 1.6rem;
|
|
200
|
+
margin-right: 0.7rem;
|
|
201
|
+
}
|
|
202
|
+
.cui-action-button-size-default .cui-icon-only {
|
|
203
|
+
margin-right: 0;
|
|
204
|
+
}
|
|
205
|
+
.cui-action-button-size-large {
|
|
206
|
+
padding: 1.2rem 2.4rem;
|
|
207
|
+
font-size: 1.7rem;
|
|
208
|
+
border-radius: 2.4rem;
|
|
209
|
+
}
|
|
210
|
+
.cui-action-button-size-large .cui-icon {
|
|
211
|
+
width: 1.8rem;
|
|
212
|
+
height: 1.8rem;
|
|
213
|
+
margin-right: 0.8rem;
|
|
214
|
+
}
|
|
215
|
+
.cui-action-button-size-large .cui-icon-only {
|
|
216
|
+
margin-right: 0;
|
|
217
|
+
}
|
|
218
|
+
}
|