@databiosphere/findable-ui 0.0.0
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/.eslintignore +5 -0
- package/.eslintrc.json +78 -0
- package/.github/workflows/run-checks.yml +18 -0
- package/.husky/commit-msg +18 -0
- package/.husky/pre-commit +36 -0
- package/.prettierignore +18 -0
- package/.prettierrc.json +1 -0
- package/.storybook/main.ts +46 -0
- package/.storybook/preview-head.html +4 -0
- package/.storybook/preview.js +39 -0
- package/LICENSE +201 -0
- package/README.md +31 -0
- package/commitlint.config.js +1 -0
- package/jest.config.js +5 -0
- package/lib/apis/azul/common/constants.d.ts +10 -0
- package/lib/apis/azul/common/constants.js +13 -0
- package/lib/apis/azul/common/entities.d.ts +161 -0
- package/lib/apis/azul/common/entities.js +57 -0
- package/lib/apis/azul/common/filterTransformer.d.ts +22 -0
- package/lib/apis/azul/common/filterTransformer.js +112 -0
- package/lib/apis/azul/common/utils.d.ts +7 -0
- package/lib/apis/azul/common/utils.js +21 -0
- package/lib/common/analytics/analytics.d.ts +17 -0
- package/lib/common/analytics/analytics.js +41 -0
- package/lib/common/analytics/entities.d.ts +69 -0
- package/lib/common/analytics/entities.js +47 -0
- package/lib/common/constants.d.ts +12 -0
- package/lib/common/constants.js +18 -0
- package/lib/common/entities.d.ts +90 -0
- package/lib/common/entities.js +12 -0
- package/lib/common/selectors.d.ts +2 -0
- package/lib/common/selectors.js +5 -0
- package/lib/common/utils.d.ts +18 -0
- package/lib/common/utils.js +35 -0
- package/lib/components/ComponentCreator/ComponentCreator.d.ts +16 -0
- package/lib/components/ComponentCreator/ComponentCreator.js +49 -0
- package/lib/components/ComponentCreator/components/ConditionalComponent/conditionalComponent.d.ts +9 -0
- package/lib/components/ComponentCreator/components/ConditionalComponent/conditionalComponent.js +11 -0
- package/lib/components/ComponentCreator/components/RenderComponent/renderComponent.d.ts +8 -0
- package/lib/components/ComponentCreator/components/RenderComponent/renderComponent.js +24 -0
- package/lib/components/Detail/components/AccessibilityBadge/accessibilityBadge.d.ts +8 -0
- package/lib/components/Detail/components/AccessibilityBadge/accessibilityBadge.js +18 -0
- package/lib/components/Detail/components/DetailViewTable/detailViewTable.d.ts +14 -0
- package/lib/components/Detail/components/DetailViewTable/detailViewTable.js +18 -0
- package/lib/components/Detail/components/Table/common/utils.d.ts +7 -0
- package/lib/components/Detail/components/Table/common/utils.js +15 -0
- package/lib/components/Detail/components/Table/components/TableBody/tableBody.d.ts +10 -0
- package/lib/components/Detail/components/Table/components/TableBody/tableBody.js +15 -0
- package/lib/components/Detail/components/Table/components/TableHead/tableHead.d.ts +8 -0
- package/lib/components/Detail/components/Table/components/TableHead/tableHead.js +36 -0
- package/lib/components/Detail/components/Table/components/TableRows/components/CollapsableRows/collapsableRows.d.ts +6 -0
- package/lib/components/Detail/components/Table/components/TableRows/components/CollapsableRows/collapsableRows.js +40 -0
- package/lib/components/Detail/components/Table/components/TableRows/tableRows.d.ts +8 -0
- package/lib/components/Detail/components/Table/components/TableRows/tableRows.js +41 -0
- package/lib/components/Detail/components/Table/table.d.ts +17 -0
- package/lib/components/Detail/components/Table/table.js +33 -0
- package/lib/components/Detail/detail.d.ts +9 -0
- package/lib/components/Detail/detail.js +12 -0
- package/lib/components/Detail/detail.stories.d.ts +3 -0
- package/lib/components/Detail/detail.stories.js +49 -0
- package/lib/components/Error/error.d.ts +8 -0
- package/lib/components/Error/error.js +50 -0
- package/lib/components/Error/error.stories.d.ts +7 -0
- package/lib/components/Error/error.stories.js +28 -0
- package/lib/components/Error/error.styles.d.ts +27 -0
- package/lib/components/Error/error.styles.js +44 -0
- package/lib/components/ErrorBoundary/errorBoundary.d.ts +19 -0
- package/lib/components/ErrorBoundary/errorBoundary.js +28 -0
- package/lib/components/ErrorBoundary/index.d.ts +1 -0
- package/lib/components/ErrorBoundary/index.js +5 -0
- package/lib/components/Export/common/entities.d.ts +43 -0
- package/lib/components/Export/common/entities.js +11 -0
- package/lib/components/Export/common/tracking.d.ts +7 -0
- package/lib/components/Export/common/tracking.js +28 -0
- package/lib/components/Export/common/utils.d.ts +9 -0
- package/lib/components/Export/common/utils.js +36 -0
- package/lib/components/Export/components/DownloadCurlCommand/components/DownloadCurlCommandForm/downloadCurlCommandForm.d.ts +11 -0
- package/lib/components/Export/components/DownloadCurlCommand/components/DownloadCurlCommandForm/downloadCurlCommandForm.js +36 -0
- package/lib/components/Export/components/DownloadCurlCommand/components/DownloadCurlCommandForm/downloadCurlCommandForm.styles.d.ts +4 -0
- package/lib/components/Export/components/DownloadCurlCommand/components/DownloadCurlCommandForm/downloadCurlCommandForm.styles.js +11 -0
- package/lib/components/Export/components/DownloadCurlCommand/components/DownloadCurlCommandNotStarted/downloadCurlCommandNotStarted.d.ts +14 -0
- package/lib/components/Export/components/DownloadCurlCommand/components/DownloadCurlCommandNotStarted/downloadCurlCommandNotStarted.js +22 -0
- package/lib/components/Export/components/DownloadCurlCommand/components/DownloadCurlCommandReady/downloadCurlCommandReady.d.ts +6 -0
- package/lib/components/Export/components/DownloadCurlCommand/components/DownloadCurlCommandReady/downloadCurlCommandReady.js +18 -0
- package/lib/components/Export/components/DownloadCurlCommand/downloadCurlCommand.d.ts +17 -0
- package/lib/components/Export/components/DownloadCurlCommand/downloadCurlCommand.js +76 -0
- package/lib/components/Export/components/ExportForm/common/entities.d.ts +6 -0
- package/lib/components/Export/components/ExportForm/common/entities.js +2 -0
- package/lib/components/Export/components/ExportForm/components/ExportButton/exportButton.d.ts +7 -0
- package/lib/components/Export/components/ExportForm/components/ExportButton/exportButton.js +20 -0
- package/lib/components/Export/components/ExportForm/components/ExportExecutionEnvironmentForm/exportExecutionEnvironmentForm.d.ts +7 -0
- package/lib/components/Export/components/ExportForm/components/ExportExecutionEnvironmentForm/exportExecutionEnvironmentForm.js +20 -0
- package/lib/components/Export/components/ExportForm/components/ExportFileSummaryForm/exportFileSummaryForm.d.ts +12 -0
- package/lib/components/Export/components/ExportForm/components/ExportFileSummaryForm/exportFileSummaryForm.js +80 -0
- package/lib/components/Export/components/ExportForm/components/ExportManifestDownloadFormatForm/exportManifestDownloadFormatForm.d.ts +7 -0
- package/lib/components/Export/components/ExportForm/components/ExportManifestDownloadFormatForm/exportManifestDownloadFormatForm.js +27 -0
- package/lib/components/Export/components/ExportForm/components/ExportSpeciesForm/exportSpeciesForm.d.ts +11 -0
- package/lib/components/Export/components/ExportForm/components/ExportSpeciesForm/exportSpeciesForm.js +29 -0
- package/lib/components/Export/components/ExportForm/exportForm.d.ts +17 -0
- package/lib/components/Export/components/ExportForm/exportForm.js +106 -0
- package/lib/components/Export/components/ExportForm/exportForm.styles.d.ts +45 -0
- package/lib/components/Export/components/ExportForm/exportForm.styles.js +101 -0
- package/lib/components/Export/components/ExportMethod/exportMethod.d.ts +10 -0
- package/lib/components/Export/components/ExportMethod/exportMethod.js +29 -0
- package/lib/components/Export/components/ExportMethod/exportMethod.stories.d.ts +3 -0
- package/lib/components/Export/components/ExportMethod/exportMethod.stories.js +26 -0
- package/lib/components/Export/components/ExportMethod/exportMethod.styles.d.ts +8 -0
- package/lib/components/Export/components/ExportMethod/exportMethod.styles.js +17 -0
- package/lib/components/Export/components/ExportSummary/common/utils.d.ts +20 -0
- package/lib/components/Export/components/ExportSummary/common/utils.js +53 -0
- package/lib/components/Export/components/ExportSummary/components/ExportCurrentQuery/exportCurrentQuery.d.ts +7 -0
- package/lib/components/Export/components/ExportSummary/components/ExportCurrentQuery/exportCurrentQuery.js +42 -0
- package/lib/components/Export/components/ExportSummary/components/ExportSelectedDataSummary/exportSelectedDataSummary.d.ts +8 -0
- package/lib/components/Export/components/ExportSummary/components/ExportSelectedDataSummary/exportSelectedDataSummary.js +20 -0
- package/lib/components/Export/components/ExportSummary/exportSummary.d.ts +5 -0
- package/lib/components/Export/components/ExportSummary/exportSummary.js +12 -0
- package/lib/components/Export/components/ExportSummary/exportSummary.styles.d.ts +9 -0
- package/lib/components/Export/components/ExportSummary/exportSummary.styles.js +26 -0
- package/lib/components/Export/components/ExportToTerra/components/ExportToTerraForm/exportToTerraForm.d.ts +11 -0
- package/lib/components/Export/components/ExportToTerra/components/ExportToTerraForm/exportToTerraForm.js +35 -0
- package/lib/components/Export/components/ExportToTerra/components/ExportToTerraNotStarted/exportToTerraNotStarted.d.ts +14 -0
- package/lib/components/Export/components/ExportToTerra/components/ExportToTerraNotStarted/exportToTerraNotStarted.js +21 -0
- package/lib/components/Export/components/ExportToTerra/components/ExportToTerraReady/exportToTerraReady.d.ts +6 -0
- package/lib/components/Export/components/ExportToTerra/components/ExportToTerraReady/exportToTerraReady.js +23 -0
- package/lib/components/Export/components/ExportToTerra/components/TerraSetUpForm/components/FormStep/components/AcceptTerraTOS/acceptTerraTOS.d.ts +7 -0
- package/lib/components/Export/components/ExportToTerra/components/TerraSetUpForm/components/FormStep/components/AcceptTerraTOS/acceptTerraTOS.js +34 -0
- package/lib/components/Export/components/ExportToTerra/components/TerraSetUpForm/components/FormStep/components/ConnectTerraToNIHAccount/connectTerraToNIHAccount.d.ts +7 -0
- package/lib/components/Export/components/ExportToTerra/components/TerraSetUpForm/components/FormStep/components/ConnectTerraToNIHAccount/connectTerraToNIHAccount.js +17 -0
- package/lib/components/Export/components/ExportToTerra/components/TerraSetUpForm/components/FormStep/components/CreateTerraAccount/createTerraAccount.d.ts +7 -0
- package/lib/components/Export/components/ExportToTerra/components/TerraSetUpForm/components/FormStep/components/CreateTerraAccount/createTerraAccount.js +22 -0
- package/lib/components/Export/components/ExportToTerra/components/TerraSetUpForm/components/FormStep/formStep.d.ts +10 -0
- package/lib/components/Export/components/ExportToTerra/components/TerraSetUpForm/components/FormStep/formStep.js +22 -0
- package/lib/components/Export/components/ExportToTerra/components/TerraSetUpForm/components/FormStep/formStep.styles.d.ts +7 -0
- package/lib/components/Export/components/ExportToTerra/components/TerraSetUpForm/components/FormStep/formStep.styles.js +15 -0
- package/lib/components/Export/components/ExportToTerra/components/TerraSetUpForm/components/NIHAccountExpiryWarning/nihAccountExpiryWarning.d.ts +2 -0
- package/lib/components/Export/components/ExportToTerra/components/TerraSetUpForm/components/NIHAccountExpiryWarning/nihAccountExpiryWarning.js +49 -0
- package/lib/components/Export/components/ExportToTerra/components/TerraSetUpForm/terraSetUpForm.d.ts +2 -0
- package/lib/components/Export/components/ExportToTerra/components/TerraSetUpForm/terraSetUpForm.js +51 -0
- package/lib/components/Export/components/ExportToTerra/components/TerraSetUpForm/terraSetUpForm.styles.d.ts +17 -0
- package/lib/components/Export/components/ExportToTerra/components/TerraSetUpForm/terraSetUpForm.styles.js +62 -0
- package/lib/components/Export/components/ExportToTerra/exportToTerra.d.ts +18 -0
- package/lib/components/Export/components/ExportToTerra/exportToTerra.js +20 -0
- package/lib/components/Export/components/ManifestDownload/components/ManifestDownloadEntity/components/FileManifestDownload/fileManifestDownload.d.ts +6 -0
- package/lib/components/Export/components/ManifestDownload/components/ManifestDownloadEntity/components/FileManifestDownload/fileManifestDownload.js +77 -0
- package/lib/components/Export/components/ManifestDownload/components/ManifestDownloadEntity/components/FileManifestSpreadsheet/fileManifestSpreadsheet.d.ts +6 -0
- package/lib/components/Export/components/ManifestDownload/components/ManifestDownloadEntity/components/FileManifestSpreadsheet/fileManifestSpreadsheet.js +84 -0
- package/lib/components/Export/components/ManifestDownload/components/ManifestDownloadEntity/manifestDownloadEntity.d.ts +9 -0
- package/lib/components/Export/components/ManifestDownload/components/ManifestDownloadEntity/manifestDownloadEntity.js +18 -0
- package/lib/components/Export/components/ManifestDownload/components/ManifestDownloadEntity/manifestDownloadEntity.styles.d.ts +14 -0
- package/lib/components/Export/components/ManifestDownload/components/ManifestDownloadEntity/manifestDownloadEntity.styles.js +38 -0
- package/lib/components/Export/components/ManifestDownload/components/ManifestDownloadForm/manifestDownloadForm.d.ts +9 -0
- package/lib/components/Export/components/ManifestDownload/components/ManifestDownloadForm/manifestDownloadForm.js +33 -0
- package/lib/components/Export/components/ManifestDownload/components/ManifestDownloadNotStarted/manifestDownloadNotStarted.d.ts +12 -0
- package/lib/components/Export/components/ManifestDownload/components/ManifestDownloadNotStarted/manifestDownloadNotStarted.js +21 -0
- package/lib/components/Export/components/ManifestDownload/components/ManifestDownloadReady/manifestDownloadReady.d.ts +6 -0
- package/lib/components/Export/components/ManifestDownload/components/ManifestDownloadReady/manifestDownloadReady.js +21 -0
- package/lib/components/Export/components/ManifestDownload/components/ManifestDownloadReady/manifestDownloadReady.styles.d.ts +3 -0
- package/lib/components/Export/components/ManifestDownload/components/ManifestDownloadReady/manifestDownloadReady.styles.js +16 -0
- package/lib/components/Export/components/ManifestDownload/manifestDownload.d.ts +16 -0
- package/lib/components/Export/components/ManifestDownload/manifestDownload.js +28 -0
- package/lib/components/Export/export.styles.d.ts +27 -0
- package/lib/components/Export/export.styles.js +37 -0
- package/lib/components/Filter/common/constants.d.ts +4 -0
- package/lib/components/Filter/common/constants.js +7 -0
- package/lib/components/Filter/common/entities.d.ts +36 -0
- package/lib/components/Filter/common/entities.js +2 -0
- package/lib/components/Filter/common/utils.d.ts +7 -0
- package/lib/components/Filter/common/utils.js +75 -0
- package/lib/components/Filter/components/ClearAllFilters/clearAllFilters.d.ts +2 -0
- package/lib/components/Filter/components/ClearAllFilters/clearAllFilters.js +21 -0
- package/lib/components/Filter/components/Filter/components/DrawerTransition/drawerTransition.d.ts +3 -0
- package/lib/components/Filter/components/Filter/components/DrawerTransition/drawerTransition.js +43 -0
- package/lib/components/Filter/components/Filter/filter.d.ts +14 -0
- package/lib/components/Filter/components/Filter/filter.js +84 -0
- package/lib/components/Filter/components/Filter/filter.stories.d.ts +3 -0
- package/lib/components/Filter/components/Filter/filter.stories.js +47 -0
- package/lib/components/Filter/components/Filter/filter.styles.d.ts +3 -0
- package/lib/components/Filter/components/Filter/filter.styles.js +24 -0
- package/lib/components/Filter/components/FilterLabel/filterLabel.d.ts +8 -0
- package/lib/components/Filter/components/FilterLabel/filterLabel.js +14 -0
- package/lib/components/Filter/components/FilterLabel/filterLabel.stories.d.ts +3 -0
- package/lib/components/Filter/components/FilterLabel/filterLabel.stories.js +28 -0
- package/lib/components/Filter/components/FilterLabel/filterLabel.styles.d.ts +36 -0
- package/lib/components/Filter/components/FilterLabel/filterLabel.styles.js +40 -0
- package/lib/components/Filter/components/FilterList/filterList.styles.d.ts +13 -0
- package/lib/components/Filter/components/FilterList/filterList.styles.js +44 -0
- package/lib/components/Filter/components/FilterMenu/filterMenu.d.ts +16 -0
- package/lib/components/Filter/components/FilterMenu/filterMenu.js +53 -0
- package/lib/components/Filter/components/FilterMenu/filterMenu.stories.d.ts +3 -0
- package/lib/components/Filter/components/FilterMenu/filterMenu.stories.js +122 -0
- package/lib/components/Filter/components/FilterMenu/filterMenu.styles.d.ts +50 -0
- package/lib/components/Filter/components/FilterMenu/filterMenu.styles.js +30 -0
- package/lib/components/Filter/components/FilterMenuSearch/filterMenuSearch.d.ts +7 -0
- package/lib/components/Filter/components/FilterMenuSearch/filterMenuSearch.js +13 -0
- package/lib/components/Filter/components/FilterMenuSearch/filterMenuSearch.styles.d.ts +3 -0
- package/lib/components/Filter/components/FilterMenuSearch/filterMenuSearch.styles.js +21 -0
- package/lib/components/Filter/components/FilterNoResultsFound/filterNoResultsFound.d.ts +7 -0
- package/lib/components/Filter/components/FilterNoResultsFound/filterNoResultsFound.js +36 -0
- package/lib/components/Filter/components/FilterNoResultsFound/filterNoResultsFound.styles.d.ts +5 -0
- package/lib/components/Filter/components/FilterNoResultsFound/filterNoResultsFound.styles.js +12 -0
- package/lib/components/Filter/components/FilterTag/filterTag.d.ts +7 -0
- package/lib/components/Filter/components/FilterTag/filterTag.js +56 -0
- package/lib/components/Filter/components/FilterTag/filterTag.stories.d.ts +3 -0
- package/lib/components/Filter/components/FilterTag/filterTag.stories.js +22 -0
- package/lib/components/Filter/components/FilterTag/filterTag.styles.d.ts +22 -0
- package/lib/components/Filter/components/FilterTag/filterTag.styles.js +11 -0
- package/lib/components/Filter/components/FilterTags/filterTags.d.ts +6 -0
- package/lib/components/Filter/components/FilterTags/filterTags.js +13 -0
- package/lib/components/Filter/components/FilterTags/filterTags.stories.d.ts +3 -0
- package/lib/components/Filter/components/FilterTags/filterTags.stories.js +58 -0
- package/lib/components/Filter/components/FilterTags/filterTags.styles.d.ts +5 -0
- package/lib/components/Filter/components/FilterTags/filterTags.styles.js +23 -0
- package/lib/components/Filter/components/Filters/filters.d.ts +16 -0
- package/lib/components/Filter/components/Filters/filters.js +85 -0
- package/lib/components/Filter/components/Filters/filters.stories.d.ts +6 -0
- package/lib/components/Filter/components/Filters/filters.stories.js +98 -0
- package/lib/components/Filter/components/Filters/filters.styles.d.ts +10 -0
- package/lib/components/Filter/components/Filters/filters.styles.js +33 -0
- package/lib/components/Filter/components/HighlightedLabel/highlightedLabel.d.ts +8 -0
- package/lib/components/Filter/components/HighlightedLabel/highlightedLabel.js +40 -0
- package/lib/components/Filter/components/HighlightedLabel/highlightedLabel.styles.d.ts +10 -0
- package/lib/components/Filter/components/HighlightedLabel/highlightedLabel.styles.js +25 -0
- package/lib/components/Filter/components/SearchAllFilters/common/constants.d.ts +18 -0
- package/lib/components/Filter/components/SearchAllFilters/common/constants.js +55 -0
- package/lib/components/Filter/components/SearchAllFilters/common/entites.d.ts +33 -0
- package/lib/components/Filter/components/SearchAllFilters/common/entites.js +15 -0
- package/lib/components/Filter/components/SearchAllFilters/common/utils.d.ts +6 -0
- package/lib/components/Filter/components/SearchAllFilters/common/utils.js +16 -0
- package/lib/components/Filter/components/SearchAllFilters/components/AutocompletePopper/autocompletePopper.styles.d.ts +13 -0
- package/lib/components/Filter/components/SearchAllFilters/components/AutocompletePopper/autocompletePopper.styles.js +21 -0
- package/lib/components/Filter/components/SearchAllFilters/components/VariableSizeList/VariableSizeList.d.ts +17 -0
- package/lib/components/Filter/components/SearchAllFilters/components/VariableSizeList/VariableSizeList.js +198 -0
- package/lib/components/Filter/components/SearchAllFilters/components/VariableSizeListItem/variableSizeListItem.d.ts +12 -0
- package/lib/components/Filter/components/SearchAllFilters/components/VariableSizeListItem/variableSizeListItem.js +58 -0
- package/lib/components/Filter/components/SearchAllFilters/searchAllFilters.d.ts +19 -0
- package/lib/components/Filter/components/SearchAllFilters/searchAllFilters.js +117 -0
- package/lib/components/Filter/components/SearchAllFilters/searchAllFilters.stories.d.ts +6 -0
- package/lib/components/Filter/components/SearchAllFilters/searchAllFilters.stories.js +89 -0
- package/lib/components/Filter/components/SearchAllFilters/searchAllFilters.styles.d.ts +2 -0
- package/lib/components/Filter/components/SearchAllFilters/searchAllFilters.styles.js +20 -0
- package/lib/components/Filter/components/SearchAllFiltersSearch/components/SearchCloseButton/searchCloseButton.d.ts +2 -0
- package/lib/components/Filter/components/SearchAllFiltersSearch/components/SearchCloseButton/searchCloseButton.js +44 -0
- package/lib/components/Filter/components/SearchAllFiltersSearch/searchAllFiltersSearch.d.ts +3 -0
- package/lib/components/Filter/components/SearchAllFiltersSearch/searchAllFiltersSearch.js +48 -0
- package/lib/components/Filter/components/SearchAllFiltersSearch/searchAllFiltersSearch.styles.d.ts +5 -0
- package/lib/components/Filter/components/SearchAllFiltersSearch/searchAllFiltersSearch.styles.js +41 -0
- package/lib/components/Filter/components/VariableSizeList/VariableSizeList.d.ts +18 -0
- package/lib/components/Filter/components/VariableSizeList/VariableSizeList.js +107 -0
- package/lib/components/Filter/components/VariableSizeListItem/variableSizeListItem.d.ts +14 -0
- package/lib/components/Filter/components/VariableSizeListItem/variableSizeListItem.js +48 -0
- package/lib/components/Head/head.d.ts +5 -0
- package/lib/components/Head/head.js +37 -0
- package/lib/components/Index/components/AzulFileDownload/azulFileDownload.d.ts +5 -0
- package/lib/components/Index/components/AzulFileDownload/azulFileDownload.js +97 -0
- package/lib/components/Index/components/AzulFileDownload/azulFileDownload.stories.d.ts +3 -0
- package/lib/components/Index/components/AzulFileDownload/azulFileDownload.stories.js +17 -0
- package/lib/components/Index/components/Cell/cell.d.ts +5 -0
- package/lib/components/Index/components/Cell/cell.js +14 -0
- package/lib/components/Index/components/Hero/components/ExportButton/exportButton.d.ts +2 -0
- package/lib/components/Index/components/Hero/components/ExportButton/exportButton.js +19 -0
- package/lib/components/Index/components/Hero/components/ExportButton/exportButton.styles.d.ts +4 -0
- package/lib/components/Index/components/Hero/components/ExportButton/exportButton.styles.js +19 -0
- package/lib/components/Index/components/Hero/components/Summaries/summaries.d.ts +9 -0
- package/lib/components/Index/components/Hero/components/Summaries/summaries.js +39 -0
- package/lib/components/Index/components/Hero/components/Summaries/summaries.stories.d.ts +3 -0
- package/lib/components/Index/components/Hero/components/Summaries/summaries.stories.js +24 -0
- package/lib/components/Index/components/Hero/components/Summaries/summaries.styles.d.ts +8 -0
- package/lib/components/Index/components/Hero/components/Summaries/summaries.styles.js +32 -0
- package/lib/components/Index/components/Hero/hero.d.ts +11 -0
- package/lib/components/Index/components/Hero/hero.js +19 -0
- package/lib/components/Index/components/Hero/hero.stories.d.ts +3 -0
- package/lib/components/Index/components/Hero/hero.stories.js +26 -0
- package/lib/components/Index/components/Hero/hero.styles.d.ts +17 -0
- package/lib/components/Index/components/Hero/hero.styles.js +50 -0
- package/lib/components/Index/components/NTag/components/Tooltip/tooltip.d.ts +6 -0
- package/lib/components/Index/components/NTag/components/Tooltip/tooltip.js +93 -0
- package/lib/components/Index/components/NTag/components/Tooltip/tooltip.styles.d.ts +5 -0
- package/lib/components/Index/components/NTag/components/Tooltip/tooltip.styles.js +16 -0
- package/lib/components/Index/components/NTag/nTag.d.ts +7 -0
- package/lib/components/Index/components/NTag/nTag.js +24 -0
- package/lib/components/Index/components/NTagCell/nTagCell.d.ts +7 -0
- package/lib/components/Index/components/NTagCell/nTagCell.js +52 -0
- package/lib/components/Index/components/NTagCell/nTagCell.stories.d.ts +3 -0
- package/lib/components/Index/components/NTagCell/nTagCell.stories.js +22 -0
- package/lib/components/Index/components/TitleCell/titleCell.d.ts +6 -0
- package/lib/components/Index/components/TitleCell/titleCell.js +29 -0
- package/lib/components/Index/components/TitleCell/titleCell.styles.d.ts +3 -0
- package/lib/components/Index/components/TitleCell/titleCell.styles.js +12 -0
- package/lib/components/Index/index.d.ts +12 -0
- package/lib/components/Index/index.js +21 -0
- package/lib/components/Index/index.stories.d.ts +6 -0
- package/lib/components/Index/index.stories.js +30 -0
- package/lib/components/Index/index.styles.d.ts +9 -0
- package/lib/components/Index/index.styles.js +20 -0
- package/lib/components/Layout/components/AppLayout/appLayout.styles.d.ts +5 -0
- package/lib/components/Layout/components/AppLayout/appLayout.styles.js +13 -0
- package/lib/components/Layout/components/BackPage/backPageView.d.ts +9 -0
- package/lib/components/Layout/components/BackPage/backPageView.js +48 -0
- package/lib/components/Layout/components/BackPage/backPageView.stories.d.ts +3 -0
- package/lib/components/Layout/components/BackPage/backPageView.stories.js +48 -0
- package/lib/components/Layout/components/BackPage/backPageView.styles.d.ts +47 -0
- package/lib/components/Layout/components/BackPage/backPageView.styles.js +143 -0
- package/lib/components/Layout/components/BackPage/components/BackPageHero/backPageHero.d.ts +14 -0
- package/lib/components/Layout/components/BackPage/components/BackPageHero/backPageHero.js +43 -0
- package/lib/components/Layout/components/BackPage/components/BackPageHero/backPageHero.stories.d.ts +6 -0
- package/lib/components/Layout/components/BackPage/components/BackPageHero/backPageHero.stories.js +13 -0
- package/lib/components/Layout/components/BackPage/components/BackPageHero/backPageHero.styles.d.ts +20 -0
- package/lib/components/Layout/components/BackPage/components/BackPageHero/backPageHero.styles.js +38 -0
- package/lib/components/Layout/components/BackPage/components/BackPageHero/components/SubTitle/subTitle.d.ts +5 -0
- package/lib/components/Layout/components/BackPage/components/BackPageHero/components/SubTitle/subTitle.js +25 -0
- package/lib/components/Layout/components/ContentLayout/common/constants.d.ts +5 -0
- package/lib/components/Layout/components/ContentLayout/common/constants.js +24 -0
- package/lib/components/Layout/components/ContentLayout/common/entities.d.ts +11 -0
- package/lib/components/Layout/components/ContentLayout/common/entities.js +9 -0
- package/lib/components/Layout/components/ContentLayout/components/Main/main.d.ts +6 -0
- package/lib/components/Layout/components/ContentLayout/components/Main/main.js +12 -0
- package/lib/components/Layout/components/ContentLayout/contentLayout.d.ts +10 -0
- package/lib/components/Layout/components/ContentLayout/contentLayout.js +31 -0
- package/lib/components/Layout/components/ContentLayout/contentLayout.styles.d.ts +38 -0
- package/lib/components/Layout/components/ContentLayout/contentLayout.styles.js +111 -0
- package/lib/components/Layout/components/Floating/floating.d.ts +6 -0
- package/lib/components/Layout/components/Floating/floating.js +32 -0
- package/lib/components/Layout/components/Footer/footer.d.ts +10 -0
- package/lib/components/Layout/components/Footer/footer.js +21 -0
- package/lib/components/Layout/components/Footer/footer.stories.d.ts +6 -0
- package/lib/components/Layout/components/Footer/footer.stories.js +69 -0
- package/lib/components/Layout/components/Footer/footer.styles.d.ts +12 -0
- package/lib/components/Layout/components/Footer/footer.styles.js +55 -0
- package/lib/components/Layout/components/Header/common/constants.d.ts +14 -0
- package/lib/components/Layout/components/Header/common/constants.js +17 -0
- package/lib/components/Layout/components/Header/common/entities.d.ts +6 -0
- package/lib/components/Layout/components/Header/common/entities.js +2 -0
- package/lib/components/Layout/components/Header/common/utils.d.ts +22 -0
- package/lib/components/Layout/components/Header/common/utils.js +75 -0
- package/lib/components/Layout/components/Header/components/Content/components/Actions/actions.d.ts +6 -0
- package/lib/components/Layout/components/Header/components/Content/components/Actions/actions.js +12 -0
- package/lib/components/Layout/components/Header/components/Content/components/Actions/actions.styles.d.ts +5 -0
- package/lib/components/Layout/components/Header/components/Content/components/Actions/actions.styles.js +19 -0
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Authentication/authentication.d.ts +6 -0
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Authentication/authentication.js +41 -0
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Authentication/components/AuthenticationMenu/authenticationMenu.d.ts +7 -0
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Authentication/components/AuthenticationMenu/authenticationMenu.js +57 -0
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Authentication/components/AuthenticationMenu/authenticationMenu.stories.d.ts +3 -0
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Authentication/components/AuthenticationMenu/authenticationMenu.stories.js +35 -0
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Authentication/components/AuthenticationMenu/authenticationMenu.styles.d.ts +86 -0
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Authentication/components/AuthenticationMenu/authenticationMenu.styles.js +34 -0
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Authentication/components/RequestAuthentication/requestAuthentication.d.ts +6 -0
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Authentication/components/RequestAuthentication/requestAuthentication.js +27 -0
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Authentication/components/RequestAuthentication/requestAuthentication.styles.d.ts +36 -0
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Authentication/components/RequestAuthentication/requestAuthentication.styles.js +15 -0
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Menu/components/Content/components/Navigation/navigation.styles.d.ts +7 -0
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Menu/components/Content/components/Navigation/navigation.styles.js +35 -0
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Menu/components/Content/components/Socials/socials.styles.d.ts +4 -0
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Menu/components/Content/components/Socials/socials.styles.js +12 -0
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Menu/components/Toolbar/toolbar.d.ts +11 -0
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Menu/components/Toolbar/toolbar.js +48 -0
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Menu/menu.d.ts +10 -0
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Menu/menu.js +64 -0
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Search/components/SearchBar/searchBar.d.ts +9 -0
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Search/components/SearchBar/searchBar.js +83 -0
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Search/components/SearchBar/searchBar.styles.d.ts +12 -0
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Search/components/SearchBar/searchBar.styles.js +39 -0
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Search/components/SearchButton/searchButton.d.ts +5 -0
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Search/components/SearchButton/searchButton.js +24 -0
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Search/components/SearchButton/searchButton.styles.d.ts +36 -0
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Search/components/SearchButton/searchButton.styles.js +15 -0
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Search/search.d.ts +7 -0
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Search/search.js +39 -0
- package/lib/components/Layout/components/Header/components/Content/components/Logo/logo.d.ts +13 -0
- package/lib/components/Layout/components/Header/components/Content/components/Logo/logo.js +17 -0
- package/lib/components/Layout/components/Header/components/Content/components/Navigation/components/NavigationDrawer/components/Slide/slide.d.ts +3 -0
- package/lib/components/Layout/components/Header/components/Content/components/Navigation/components/NavigationDrawer/components/Slide/slide.js +43 -0
- package/lib/components/Layout/components/Header/components/Content/components/Navigation/components/NavigationDrawer/navigationDrawer.d.ts +10 -0
- package/lib/components/Layout/components/Header/components/Content/components/Navigation/components/NavigationDrawer/navigationDrawer.js +61 -0
- package/lib/components/Layout/components/Header/components/Content/components/Navigation/components/NavigationDrawer/navigationDrawer.styles.d.ts +8 -0
- package/lib/components/Layout/components/Header/components/Content/components/Navigation/components/NavigationDrawer/navigationDrawer.styles.js +20 -0
- package/lib/components/Layout/components/Header/components/Content/components/Navigation/components/NavigationMenu/navigationMenu.d.ts +10 -0
- package/lib/components/Layout/components/Header/components/Content/components/Navigation/components/NavigationMenu/navigationMenu.js +55 -0
- package/lib/components/Layout/components/Header/components/Content/components/Navigation/components/NavigationMenu/navigationMenu.styles.d.ts +11 -0
- package/lib/components/Layout/components/Header/components/Content/components/Navigation/components/NavigationMenu/navigationMenu.styles.js +70 -0
- package/lib/components/Layout/components/Header/components/Content/components/Navigation/components/NavigationMenuItems/navigationMenuItems.d.ts +11 -0
- package/lib/components/Layout/components/Header/components/Content/components/Navigation/components/NavigationMenuItems/navigationMenuItems.js +51 -0
- package/lib/components/Layout/components/Header/components/Content/components/Navigation/navigation.d.ts +22 -0
- package/lib/components/Layout/components/Header/components/Content/components/Navigation/navigation.js +51 -0
- package/lib/components/Layout/components/Header/components/Content/components/Navigation/navigation.styles.d.ts +10 -0
- package/lib/components/Layout/components/Header/components/Content/components/Navigation/navigation.styles.js +54 -0
- package/lib/components/Layout/components/Header/components/Content/components/Slogan/slogan.d.ts +7 -0
- package/lib/components/Layout/components/Header/components/Content/components/Slogan/slogan.js +33 -0
- package/lib/components/Layout/components/Header/components/Content/components/Slogan/slogan.styles.d.ts +20 -0
- package/lib/components/Layout/components/Header/components/Content/components/Slogan/slogan.styles.js +30 -0
- package/lib/components/Layout/components/Header/components/Content/components/Socials/socials.styles.d.ts +4 -0
- package/lib/components/Layout/components/Header/components/Content/components/Socials/socials.styles.js +13 -0
- package/lib/components/Layout/components/Header/components/Content/content.styles.d.ts +5 -0
- package/lib/components/Layout/components/Header/components/Content/content.styles.js +14 -0
- package/lib/components/Layout/components/Header/header.d.ts +18 -0
- package/lib/components/Layout/components/Header/header.js +108 -0
- package/lib/components/Layout/components/Header/header.stories.d.ts +6 -0
- package/lib/components/Layout/components/Header/header.stories.js +102 -0
- package/lib/components/Layout/components/Header/header.styles.d.ts +2 -0
- package/lib/components/Layout/components/Header/header.styles.js +27 -0
- package/lib/components/Layout/components/Main/main.d.ts +6 -0
- package/lib/components/Layout/components/Main/main.js +15 -0
- package/lib/components/Layout/components/Main/main.styles.d.ts +15 -0
- package/lib/components/Layout/components/Main/main.styles.js +19 -0
- package/lib/components/Layout/components/Nav/components/NavBarHero/navBarHero.d.ts +8 -0
- package/lib/components/Layout/components/Nav/components/NavBarHero/navBarHero.js +21 -0
- package/lib/components/Layout/components/Nav/components/NavBarHero/navBarHero.styles.d.ts +13 -0
- package/lib/components/Layout/components/Nav/components/NavBarHero/navBarHero.styles.js +28 -0
- package/lib/components/Layout/components/Nav/nav.d.ts +11 -0
- package/lib/components/Layout/components/Nav/nav.js +21 -0
- package/lib/components/Layout/components/Nav/nav.stories.d.ts +6 -0
- package/lib/components/Layout/components/Nav/nav.stories.js +34 -0
- package/lib/components/Layout/components/Nav/nav.styles.d.ts +17 -0
- package/lib/components/Layout/components/Nav/nav.styles.js +55 -0
- package/lib/components/Layout/components/Outline/common/constants.d.ts +2 -0
- package/lib/components/Layout/components/Outline/common/constants.js +4 -0
- package/lib/components/Layout/components/Outline/components/ContentsTab/contentsTab.d.ts +7 -0
- package/lib/components/Layout/components/Outline/components/ContentsTab/contentsTab.js +25 -0
- package/lib/components/Layout/components/Outline/components/ContentsTab/contentsTab.styles.d.ts +33 -0
- package/lib/components/Layout/components/Outline/components/ContentsTab/contentsTab.styles.js +22 -0
- package/lib/components/Layout/components/Outline/outline.d.ts +13 -0
- package/lib/components/Layout/components/Outline/outline.js +73 -0
- package/lib/components/Layout/components/Outline/outline.styles.d.ts +111 -0
- package/lib/components/Layout/components/Outline/outline.styles.js +62 -0
- package/lib/components/Layout/components/Sidebar/components/SidebarButton/sidebarButton.d.ts +8 -0
- package/lib/components/Layout/components/Sidebar/components/SidebarButton/sidebarButton.js +28 -0
- package/lib/components/Layout/components/Sidebar/components/SidebarButton/sidebarButton.styles.d.ts +8 -0
- package/lib/components/Layout/components/Sidebar/components/SidebarButton/sidebarButton.styles.js +38 -0
- package/lib/components/Layout/components/Sidebar/components/SidebarDrawer/sidebarDrawer.d.ts +7 -0
- package/lib/components/Layout/components/Sidebar/components/SidebarDrawer/sidebarDrawer.js +22 -0
- package/lib/components/Layout/components/Sidebar/components/SidebarDrawer/sidebarDrawer.styles.d.ts +3 -0
- package/lib/components/Layout/components/Sidebar/components/SidebarDrawer/sidebarDrawer.styles.js +24 -0
- package/lib/components/Layout/components/Sidebar/components/SidebarLabel/sidebarLabel.d.ts +5 -0
- package/lib/components/Layout/components/Sidebar/components/SidebarLabel/sidebarLabel.js +13 -0
- package/lib/components/Layout/components/Sidebar/components/SidebarLabel/sidebarLabel.stories.d.ts +3 -0
- package/lib/components/Layout/components/Sidebar/components/SidebarLabel/sidebarLabel.stories.js +20 -0
- package/lib/components/Layout/components/Sidebar/components/SidebarPositioner/sidebarPositioner.d.ts +5 -0
- package/lib/components/Layout/components/Sidebar/components/SidebarPositioner/sidebarPositioner.js +15 -0
- package/lib/components/Layout/components/Sidebar/components/SidebarPositioner/sidebarPositioner.styles.d.ts +9 -0
- package/lib/components/Layout/components/Sidebar/components/SidebarPositioner/sidebarPositioner.styles.js +21 -0
- package/lib/components/Layout/components/Sidebar/components/SidebarTools/sidebarTools.styles.d.ts +5 -0
- package/lib/components/Layout/components/Sidebar/components/SidebarTools/sidebarTools.styles.js +23 -0
- package/lib/components/Layout/components/Sidebar/sidebar.d.ts +7 -0
- package/lib/components/Layout/components/Sidebar/sidebar.js +48 -0
- package/lib/components/Layout/components/Sidebar/sidebar.stories.d.ts +8 -0
- package/lib/components/Layout/components/Sidebar/sidebar.stories.js +44 -0
- package/lib/components/Layout/components/Sidebar/sidebar.styles.d.ts +5 -0
- package/lib/components/Layout/components/Sidebar/sidebar.styles.js +13 -0
- package/lib/components/Links/common/entities.d.ts +4 -0
- package/lib/components/Links/common/entities.js +8 -0
- package/lib/components/Links/common/utils.d.ts +6 -0
- package/lib/components/Links/common/utils.js +12 -0
- package/lib/components/Links/components/Link/link.d.ts +13 -0
- package/lib/components/Links/components/Link/link.js +22 -0
- package/lib/components/Links/links.d.ts +7 -0
- package/lib/components/Links/links.js +18 -0
- package/lib/components/Links/links.stories.d.ts +3 -0
- package/lib/components/Links/links.stories.js +27 -0
- package/lib/components/Loading/loading.d.ts +21 -0
- package/lib/components/Loading/loading.js +46 -0
- package/lib/components/Loading/loading.stories.d.ts +3 -0
- package/lib/components/Loading/loading.stories.js +36 -0
- package/lib/components/Loading/loading.styles.d.ts +13 -0
- package/lib/components/Loading/loading.styles.js +77 -0
- package/lib/components/Login/login.d.ts +9 -0
- package/lib/components/Login/login.js +70 -0
- package/lib/components/Login/login.stories.d.ts +6 -0
- package/lib/components/Login/login.stories.js +37 -0
- package/lib/components/Login/login.styles.d.ts +33 -0
- package/lib/components/Login/login.styles.js +52 -0
- package/lib/components/NoResults/noResults.d.ts +9 -0
- package/lib/components/NoResults/noResults.js +24 -0
- package/lib/components/NoResults/noResults.styles.d.ts +13 -0
- package/lib/components/NoResults/noResults.styles.js +16 -0
- package/lib/components/Project/common/entities.d.ts +44 -0
- package/lib/components/Project/common/entities.js +2 -0
- package/lib/components/Project/components/Citation/citation.d.ts +6 -0
- package/lib/components/Project/components/Citation/citation.js +20 -0
- package/lib/components/Project/components/Citation/citation.stories.d.ts +6 -0
- package/lib/components/Project/components/Citation/citation.stories.js +19 -0
- package/lib/components/Project/components/Citation/citation.styles.d.ts +9 -0
- package/lib/components/Project/components/Citation/citation.styles.js +26 -0
- package/lib/components/Project/components/CollaboratingOrganizations/collaboratingOrganizations.d.ts +6 -0
- package/lib/components/Project/components/CollaboratingOrganizations/collaboratingOrganizations.js +16 -0
- package/lib/components/Project/components/CollaboratingOrganizations/collaboratingOrganizations.stories.d.ts +3 -0
- package/lib/components/Project/components/CollaboratingOrganizations/collaboratingOrganizations.stories.js +33 -0
- package/lib/components/Project/components/Contacts/contacts.d.ts +6 -0
- package/lib/components/Project/components/Contacts/contacts.js +20 -0
- package/lib/components/Project/components/Contacts/contacts.stories.d.ts +3 -0
- package/lib/components/Project/components/Contacts/contacts.stories.js +31 -0
- package/lib/components/Project/components/Contributors/contributors.d.ts +6 -0
- package/lib/components/Project/components/Contributors/contributors.js +20 -0
- package/lib/components/Project/components/Contributors/contributors.stories.d.ts +3 -0
- package/lib/components/Project/components/Contributors/contributors.stories.js +38 -0
- package/lib/components/Project/components/DataCurators/dataCurators.d.ts +6 -0
- package/lib/components/Project/components/DataCurators/dataCurators.js +13 -0
- package/lib/components/Project/components/DataCurators/dataCurators.stories.d.ts +3 -0
- package/lib/components/Project/components/DataCurators/dataCurators.stories.js +20 -0
- package/lib/components/Project/components/DataReleasePolicy/dataReleasePolicy.d.ts +2 -0
- package/lib/components/Project/components/DataReleasePolicy/dataReleasePolicy.js +20 -0
- package/lib/components/Project/components/DataReleasePolicy/dataReleasePolicy.stories.d.ts +3 -0
- package/lib/components/Project/components/DataReleasePolicy/dataReleasePolicy.stories.js +14 -0
- package/lib/components/Project/components/Description/description.d.ts +6 -0
- package/lib/components/Project/components/Description/description.js +14 -0
- package/lib/components/Project/components/Description/description.stories.d.ts +3 -0
- package/lib/components/Project/components/Description/description.stories.js +17 -0
- package/lib/components/Project/components/Details/details.d.ts +7 -0
- package/lib/components/Project/components/Details/details.js +45 -0
- package/lib/components/Project/components/Details/details.stories.d.ts +3 -0
- package/lib/components/Project/components/Details/details.stories.js +29 -0
- package/lib/components/Project/components/Publications/publications.d.ts +6 -0
- package/lib/components/Project/components/Publications/publications.js +18 -0
- package/lib/components/Project/components/Publications/publications.stories.d.ts +3 -0
- package/lib/components/Project/components/Publications/publications.stories.js +28 -0
- package/lib/components/Project/components/Sup/sup.styles.d.ts +5 -0
- package/lib/components/Project/components/Sup/sup.styles.js +10 -0
- package/lib/components/Project/components/SupplementaryLinks/supplementaryLinks.d.ts +6 -0
- package/lib/components/Project/components/SupplementaryLinks/supplementaryLinks.js +45 -0
- package/lib/components/Project/components/SupplementaryLinks/supplementaryLinks.stories.d.ts +3 -0
- package/lib/components/Project/components/SupplementaryLinks/supplementaryLinks.stories.js +29 -0
- package/lib/components/Project/components/SupplementaryLinks/supplementaryLinks.styles.d.ts +13 -0
- package/lib/components/Project/components/SupplementaryLinks/supplementaryLinks.styles.js +22 -0
- package/lib/components/Redirect/redirect.d.ts +6 -0
- package/lib/components/Redirect/redirect.js +36 -0
- package/lib/components/Support/components/SupportRequest/components/Dialog/dialog.d.ts +6 -0
- package/lib/components/Support/components/SupportRequest/components/Dialog/dialog.js +53 -0
- package/lib/components/Support/components/SupportRequest/components/Dialog/dialog.styles.d.ts +40 -0
- package/lib/components/Support/components/SupportRequest/components/Dialog/dialog.styles.js +34 -0
- package/lib/components/Support/components/SupportRequest/components/Dropzone/dropzone.d.ts +7 -0
- package/lib/components/Support/components/SupportRequest/components/Dropzone/dropzone.js +34 -0
- package/lib/components/Support/components/SupportRequest/components/SupportRequestForm/common/constants.d.ts +40 -0
- package/lib/components/Support/components/SupportRequest/components/SupportRequestForm/common/constants.js +42 -0
- package/lib/components/Support/components/SupportRequest/components/SupportRequestForm/common/entities.d.ts +54 -0
- package/lib/components/Support/components/SupportRequest/components/SupportRequestForm/common/entities.js +29 -0
- package/lib/components/Support/components/SupportRequest/components/SupportRequestForm/common/utils.d.ts +23 -0
- package/lib/components/Support/components/SupportRequest/components/SupportRequestForm/common/utils.js +95 -0
- package/lib/components/Support/components/SupportRequest/components/SupportRequestForm/supportRequestForm.d.ts +7 -0
- package/lib/components/Support/components/SupportRequest/components/SupportRequestForm/supportRequestForm.js +166 -0
- package/lib/components/Support/components/SupportRequest/components/SupportRequestForm/supportRequestForm.styles.d.ts +11 -0
- package/lib/components/Support/components/SupportRequest/components/SupportRequestForm/supportRequestForm.styles.js +16 -0
- package/lib/components/Support/components/SupportRequest/components/SupportRequestSubmitted/supportRequestSubmitted.d.ts +6 -0
- package/lib/components/Support/components/SupportRequest/components/SupportRequestSubmitted/supportRequestSubmitted.js +20 -0
- package/lib/components/Support/components/SupportRequest/supportRequest.d.ts +11 -0
- package/lib/components/Support/components/SupportRequest/supportRequest.js +35 -0
- package/lib/components/Support/components/ViewSupport/viewSupport.d.ts +13 -0
- package/lib/components/Support/components/ViewSupport/viewSupport.js +15 -0
- package/lib/components/Support/components/ViewSupport/viewSupport.styles.d.ts +5 -0
- package/lib/components/Support/components/ViewSupport/viewSupport.styles.js +31 -0
- package/lib/components/Table/common/entities.d.ts +4 -0
- package/lib/components/Table/common/entities.js +8 -0
- package/lib/components/Table/common/gridTable.styles.d.ts +16 -0
- package/lib/components/Table/common/gridTable.styles.js +39 -0
- package/lib/components/Table/common/utils.d.ts +123 -0
- package/lib/components/Table/common/utils.js +399 -0
- package/lib/components/Table/components/CheckboxMenu/checkboxMenu.d.ts +17 -0
- package/lib/components/Table/components/CheckboxMenu/checkboxMenu.js +55 -0
- package/lib/components/Table/components/CheckboxMenu/checkboxMenu.stories.d.ts +3 -0
- package/lib/components/Table/components/CheckboxMenu/checkboxMenu.stories.js +52 -0
- package/lib/components/Table/components/CheckboxMenu/checkboxMenu.styles.d.ts +3 -0
- package/lib/components/Table/components/CheckboxMenu/checkboxMenu.styles.js +27 -0
- package/lib/components/Table/components/DownloadEntityResults/downloadEntityResults.d.ts +7 -0
- package/lib/components/Table/components/DownloadEntityResults/downloadEntityResults.js +24 -0
- package/lib/components/Table/components/EntityViewToggle/entityViewToggle.d.ts +2 -0
- package/lib/components/Table/components/EntityViewToggle/entityViewToggle.js +37 -0
- package/lib/components/Table/components/Pagination/pagination.d.ts +10 -0
- package/lib/components/Table/components/Pagination/pagination.js +26 -0
- package/lib/components/Table/components/Pagination/pagination.stories.d.ts +3 -0
- package/lib/components/Table/components/Pagination/pagination.stories.js +26 -0
- package/lib/components/Table/components/Pagination/pagination.styles.d.ts +5 -0
- package/lib/components/Table/components/Pagination/pagination.styles.js +21 -0
- package/lib/components/Table/components/PaginationSummary/paginationSummary.d.ts +7 -0
- package/lib/components/Table/components/PaginationSummary/paginationSummary.js +19 -0
- package/lib/components/Table/components/TableBody/tableBody.d.ts +8 -0
- package/lib/components/Table/components/TableBody/tableBody.js +64 -0
- package/lib/components/Table/components/TableCell/components/CollapsableCell/collapsableCell.d.ts +6 -0
- package/lib/components/Table/components/TableCell/components/CollapsableCell/collapsableCell.js +55 -0
- package/lib/components/Table/components/TableCell/components/CollapsableCell/collapsableCell.styles.d.ts +20 -0
- package/lib/components/Table/components/TableCell/components/CollapsableCell/collapsableCell.styles.js +63 -0
- package/lib/components/Table/components/TableHead/tableHead.d.ts +8 -0
- package/lib/components/Table/components/TableHead/tableHead.js +38 -0
- package/lib/components/Table/components/TableRows/components/CollapsableRows/collapsableRows.d.ts +8 -0
- package/lib/components/Table/components/TableRows/components/CollapsableRows/collapsableRows.js +40 -0
- package/lib/components/Table/components/TableRows/components/VirtualizedRow/virtualizedRow.d.ts +7 -0
- package/lib/components/Table/components/TableRows/components/VirtualizedRow/virtualizedRow.js +61 -0
- package/lib/components/Table/components/TableRows/tableRows.d.ts +8 -0
- package/lib/components/Table/components/TableRows/tableRows.js +41 -0
- package/lib/components/Table/components/TableToolbar/tableToolbar.d.ts +10 -0
- package/lib/components/Table/components/TableToolbar/tableToolbar.js +58 -0
- package/lib/components/Table/components/TableToolbar/tableToolbar.styles.d.ts +8 -0
- package/lib/components/Table/components/TableToolbar/tableToolbar.styles.js +20 -0
- package/lib/components/Table/table.d.ts +30 -0
- package/lib/components/Table/table.js +236 -0
- package/lib/components/Table/table.styles.d.ts +17 -0
- package/lib/components/Table/table.styles.js +21 -0
- package/lib/components/TableCreator/tableCreator.d.ts +17 -0
- package/lib/components/TableCreator/tableCreator.js +73 -0
- package/lib/components/TempError/components/errorBox.d.ts +7 -0
- package/lib/components/TempError/components/errorBox.js +13 -0
- package/lib/components/TempError/index.d.ts +1 -0
- package/lib/components/TempError/index.js +5 -0
- package/lib/components/TempError/tempError.d.ts +7 -0
- package/lib/components/TempError/tempError.js +19 -0
- package/lib/components/common/Accordion/accordion.d.ts +8 -0
- package/lib/components/common/Accordion/accordion.js +54 -0
- package/lib/components/common/Accordion/accordion.stories.d.ts +7 -0
- package/lib/components/common/Accordion/accordion.stories.js +28 -0
- package/lib/components/common/Alert/alert.d.ts +12 -0
- package/lib/components/common/Alert/alert.js +14 -0
- package/lib/components/common/Alert/alert.stories.d.ts +6 -0
- package/lib/components/common/Alert/alert.stories.js +39 -0
- package/lib/components/common/Alert/alert.styles.d.ts +13 -0
- package/lib/components/common/Alert/alert.styles.js +32 -0
- package/lib/components/common/AnchorLink/anchorLink.d.ts +7 -0
- package/lib/components/common/AnchorLink/anchorLink.js +14 -0
- package/lib/components/common/AnchorLink/anchorLink.styles.d.ts +33 -0
- package/lib/components/common/AnchorLink/anchorLink.styles.js +19 -0
- package/lib/components/common/Banner/banner.d.ts +7 -0
- package/lib/components/common/Banner/banner.js +43 -0
- package/lib/components/common/Banner/components/BannerPrimary/bannerPrimary.d.ts +7 -0
- package/lib/components/common/Banner/components/BannerPrimary/bannerPrimary.js +24 -0
- package/lib/components/common/Banner/components/BannerPrimary/bannerPrimary.styles.d.ts +3 -0
- package/lib/components/common/Banner/components/BannerPrimary/bannerPrimary.styles.js +25 -0
- package/lib/components/common/Banner/components/CookieBanner/cookieBanner.d.ts +9 -0
- package/lib/components/common/Banner/components/CookieBanner/cookieBanner.js +76 -0
- package/lib/components/common/Banner/components/CookieBanner/cookieBanner.styles.d.ts +4 -0
- package/lib/components/common/Banner/components/CookieBanner/cookieBanner.styles.js +53 -0
- package/lib/components/common/Banner/components/DismissibleBanner/dismissibleBanner.d.ts +10 -0
- package/lib/components/common/Banner/components/DismissibleBanner/dismissibleBanner.js +55 -0
- package/lib/components/common/Banner/components/SessionTimeout/sessionTimeout.d.ts +7 -0
- package/lib/components/common/Banner/components/SessionTimeout/sessionTimeout.js +46 -0
- package/lib/components/common/Banner/components/SessionTimeout/sessionTimeout.styles.d.ts +3 -0
- package/lib/components/common/Banner/components/SessionTimeout/sessionTimeout.styles.js +27 -0
- package/lib/components/common/Banner/components/SystemIndexing/systemIndexing.d.ts +8 -0
- package/lib/components/common/Banner/components/SystemIndexing/systemIndexing.js +51 -0
- package/lib/components/common/Banner/components/SystemStatus/systemStatus.d.ts +8 -0
- package/lib/components/common/Banner/components/SystemStatus/systemStatus.js +51 -0
- package/lib/components/common/Breadcrumbs/breadcrumbs.d.ts +11 -0
- package/lib/components/common/Breadcrumbs/breadcrumbs.js +15 -0
- package/lib/components/common/Breadcrumbs/breadcrumbs.stories.d.ts +5 -0
- package/lib/components/common/Breadcrumbs/breadcrumbs.stories.js +56 -0
- package/lib/components/common/Button/button.d.ts +10 -0
- package/lib/components/common/Button/button.js +43 -0
- package/lib/components/common/Button/components/ButtonOutline/buttonOutline.d.ts +3 -0
- package/lib/components/common/Button/components/ButtonOutline/buttonOutline.js +43 -0
- package/lib/components/common/Button/components/ButtonOutline/buttonOutline.styles.d.ts +4 -0
- package/lib/components/common/Button/components/ButtonOutline/buttonOutline.styles.js +23 -0
- package/lib/components/common/Button/components/ButtonPrimary/buttonPrimary.d.ts +3 -0
- package/lib/components/common/Button/components/ButtonPrimary/buttonPrimary.js +43 -0
- package/lib/components/common/Button/components/ButtonSecondary/buttonSecondary.d.ts +3 -0
- package/lib/components/common/Button/components/ButtonSecondary/buttonSecondary.js +43 -0
- package/lib/components/common/Button/components/ButtonSecondaryOutline/buttonSecondaryOutline.d.ts +3 -0
- package/lib/components/common/Button/components/ButtonSecondaryOutline/buttonSecondaryOutline.js +43 -0
- package/lib/components/common/Button/components/ButtonText/buttonText.d.ts +4 -0
- package/lib/components/common/Button/components/ButtonText/buttonText.js +24 -0
- package/lib/components/common/Button/components/ButtonText/buttonText.styles.d.ts +4 -0
- package/lib/components/common/Button/components/ButtonText/buttonText.styles.js +18 -0
- package/lib/components/common/Button/components/ButtonTextPrimary/buttonTextPrimary.d.ts +4 -0
- package/lib/components/common/Button/components/ButtonTextPrimary/buttonTextPrimary.js +24 -0
- package/lib/components/common/Button/components/ButtonTextPrimary/buttonTextPrimary.styles.d.ts +4 -0
- package/lib/components/common/Button/components/ButtonTextPrimary/buttonTextPrimary.styles.js +14 -0
- package/lib/components/common/Button/components/ButtonTextUnderline/buttonTextUnderline.d.ts +4 -0
- package/lib/components/common/Button/components/ButtonTextUnderline/buttonTextUnderline.js +24 -0
- package/lib/components/common/Button/components/ButtonTextUnderline/buttonTextUnderline.styles.d.ts +4 -0
- package/lib/components/common/Button/components/ButtonTextUnderline/buttonTextUnderline.styles.js +19 -0
- package/lib/components/common/Button/components/CallToActionButton/callToActionButton.d.ts +14 -0
- package/lib/components/common/Button/components/CallToActionButton/callToActionButton.js +18 -0
- package/lib/components/common/Button/components/CallToActionButton/callToActionButton.stories.d.ts +4 -0
- package/lib/components/common/Button/components/CallToActionButton/callToActionButton.stories.js +33 -0
- package/lib/components/common/Button/components/DropdownButton/dropdownButton.d.ts +4 -0
- package/lib/components/common/Button/components/DropdownButton/dropdownButton.js +25 -0
- package/lib/components/common/Button/components/DropdownButton/dropdownButton.styles.d.ts +4 -0
- package/lib/components/common/Button/components/DropdownButton/dropdownButton.styles.js +16 -0
- package/lib/components/common/Button/components/FileDownloadButton/fileDownloadButton.d.ts +6 -0
- package/lib/components/common/Button/components/FileDownloadButton/fileDownloadButton.js +41 -0
- package/lib/components/common/Button/components/HelpIconButton/helpIconButton.d.ts +9 -0
- package/lib/components/common/Button/components/HelpIconButton/helpIconButton.js +20 -0
- package/lib/components/common/Button/components/HelpIconButton/helpIconButton.stories.d.ts +6 -0
- package/lib/components/common/Button/components/HelpIconButton/helpIconButton.stories.js +22 -0
- package/lib/components/common/Button/components/HelpIconButton/helpIconButton.styles.d.ts +1 -0
- package/lib/components/common/Button/components/HelpIconButton/helpIconButton.styles.js +13 -0
- package/lib/components/common/Button/components/LoginButton/loginButton.d.ts +4 -0
- package/lib/components/common/Button/components/LoginButton/loginButton.js +25 -0
- package/lib/components/common/Button/components/LoginButton/loginButton.styles.d.ts +8 -0
- package/lib/components/common/Button/components/LoginButton/loginButton.styles.js +17 -0
- package/lib/components/common/Button/components/NavigationButton/navigationButton.d.ts +6 -0
- package/lib/components/common/Button/components/NavigationButton/navigationButton.js +25 -0
- package/lib/components/common/Button/components/NavigationButton/navigationButton.styles.d.ts +8 -0
- package/lib/components/common/Button/components/NavigationButton/navigationButton.styles.js +31 -0
- package/lib/components/common/ButtonGroup/buttonGroup.d.ts +17 -0
- package/lib/components/common/ButtonGroup/buttonGroup.js +44 -0
- package/lib/components/common/ButtonGroup/components/ButtonGroupButton/buttonGroupButton.d.ts +11 -0
- package/lib/components/common/ButtonGroup/components/ButtonGroupButton/buttonGroupButton.js +13 -0
- package/lib/components/common/Card/card.d.ts +15 -0
- package/lib/components/common/Card/card.js +53 -0
- package/lib/components/common/Card/card.stories.d.ts +8 -0
- package/lib/components/common/Card/card.stories.js +40 -0
- package/lib/components/common/Card/card.styles.d.ts +11 -0
- package/lib/components/common/Card/card.styles.js +19 -0
- package/lib/components/common/Card/components/CardAction/cardAction.d.ts +8 -0
- package/lib/components/common/Card/components/CardAction/cardAction.js +12 -0
- package/lib/components/common/Card/components/CardActionArea/cardActionArea.d.ts +6 -0
- package/lib/components/common/Card/components/CardActionArea/cardActionArea.js +28 -0
- package/lib/components/common/Card/components/CardActions/cardActions.d.ts +5 -0
- package/lib/components/common/Card/components/CardActions/cardActions.js +15 -0
- package/lib/components/common/Card/components/CardActions/cardActions.styles.d.ts +5 -0
- package/lib/components/common/Card/components/CardActions/cardActions.styles.js +14 -0
- package/lib/components/common/Card/components/CardMedia/cardMedia.d.ts +6 -0
- package/lib/components/common/Card/components/CardMedia/cardMedia.js +14 -0
- package/lib/components/common/Card/components/CardMedia/cardMedia.styles.d.ts +5 -0
- package/lib/components/common/Card/components/CardMedia/cardMedia.styles.js +16 -0
- package/lib/components/common/Card/components/CardSecondaryText/cardSecondaryText.d.ts +5 -0
- package/lib/components/common/Card/components/CardSecondaryText/cardSecondaryText.js +25 -0
- package/lib/components/common/Card/components/CardSecondaryTitle/cardSecondaryTitle.d.ts +5 -0
- package/lib/components/common/Card/components/CardSecondaryTitle/cardSecondaryTitle.js +25 -0
- package/lib/components/common/Card/components/CardSecondaryTitle/cardSecondaryTitle.styles.d.ts +6 -0
- package/lib/components/common/Card/components/CardSecondaryTitle/cardSecondaryTitle.styles.js +11 -0
- package/lib/components/common/Card/components/CardText/cardText.d.ts +5 -0
- package/lib/components/common/Card/components/CardText/cardText.js +25 -0
- package/lib/components/common/Card/components/CardTitle/cardTitle.d.ts +5 -0
- package/lib/components/common/Card/components/CardTitle/cardTitle.js +25 -0
- package/lib/components/common/Card/components/RoundedCard/roundedCard.d.ts +5 -0
- package/lib/components/common/Card/components/RoundedCard/roundedCard.js +13 -0
- package/lib/components/common/Code/code.d.ts +6 -0
- package/lib/components/common/Code/code.js +52 -0
- package/lib/components/common/Code/code.stories.d.ts +5 -0
- package/lib/components/common/Code/code.stories.js +14 -0
- package/lib/components/common/Code/code.styles.d.ts +9 -0
- package/lib/components/common/Code/code.styles.js +58 -0
- package/lib/components/common/CopyToClipboard/copyToClipboard.d.ts +5 -0
- package/lib/components/common/CopyToClipboard/copyToClipboard.js +57 -0
- package/lib/components/common/CopyToClipboard/copyToClipboard.stories.d.ts +6 -0
- package/lib/components/common/CopyToClipboard/copyToClipboard.stories.js +18 -0
- package/lib/components/common/CustomIcon/common/constants.d.ts +5 -0
- package/lib/components/common/CustomIcon/common/constants.js +12 -0
- package/lib/components/common/CustomIcon/common/entities.d.ts +5 -0
- package/lib/components/common/CustomIcon/common/entities.js +2 -0
- package/lib/components/common/CustomIcon/components/AddIcon/addIcon.d.ts +6 -0
- package/lib/components/common/CustomIcon/components/AddIcon/addIcon.js +28 -0
- package/lib/components/common/CustomIcon/components/AlertIcon/alertIcon.d.ts +6 -0
- package/lib/components/common/CustomIcon/components/AlertIcon/alertIcon.js +28 -0
- package/lib/components/common/CustomIcon/components/BackArrowIcon/backArrowIcon.d.ts +6 -0
- package/lib/components/common/CustomIcon/components/BackArrowIcon/backArrowIcon.js +28 -0
- package/lib/components/common/CustomIcon/components/CheckedIcon/checkedIcon.d.ts +6 -0
- package/lib/components/common/CustomIcon/components/CheckedIcon/checkedIcon.js +29 -0
- package/lib/components/common/CustomIcon/components/ContactSupportIcon/contactSupportIcon.d.ts +6 -0
- package/lib/components/common/CustomIcon/components/ContactSupportIcon/contactSupportIcon.js +28 -0
- package/lib/components/common/CustomIcon/components/ContentCopyIcon/contentCopyIcon.d.ts +6 -0
- package/lib/components/common/CustomIcon/components/ContentCopyIcon/contentCopyIcon.js +28 -0
- package/lib/components/common/CustomIcon/components/DiscourseIcon/discourseIcon.d.ts +6 -0
- package/lib/components/common/CustomIcon/components/DiscourseIcon/discourseIcon.js +28 -0
- package/lib/components/common/CustomIcon/components/DownloadIcon/downloadIcon.d.ts +6 -0
- package/lib/components/common/CustomIcon/components/DownloadIcon/downloadIcon.js +28 -0
- package/lib/components/common/CustomIcon/components/EmailReadIcon/emailReadIcon.d.ts +6 -0
- package/lib/components/common/CustomIcon/components/EmailReadIcon/emailReadIcon.js +28 -0
- package/lib/components/common/CustomIcon/components/ErrorIcon/errorIcon.d.ts +6 -0
- package/lib/components/common/CustomIcon/components/ErrorIcon/errorIcon.js +28 -0
- package/lib/components/common/CustomIcon/components/FacebookIcon/facebookIcon.d.ts +6 -0
- package/lib/components/common/CustomIcon/components/FacebookIcon/facebookIcon.js +28 -0
- package/lib/components/common/CustomIcon/components/FeedbackIcon/feedbackIcon.d.ts +6 -0
- package/lib/components/common/CustomIcon/components/FeedbackIcon/feedbackIcon.js +28 -0
- package/lib/components/common/CustomIcon/components/FormStatusCompletedIcon/formStatusCompletedIcon.d.ts +6 -0
- package/lib/components/common/CustomIcon/components/FormStatusCompletedIcon/formStatusCompletedIcon.js +29 -0
- package/lib/components/common/CustomIcon/components/FormStatusIncompleteIcon/formStatusIncompleteIcon.d.ts +6 -0
- package/lib/components/common/CustomIcon/components/FormStatusIncompleteIcon/formStatusIncompleteIcon.js +28 -0
- package/lib/components/common/CustomIcon/components/ForwardArrowIcon/forwardArrowIcon.d.ts +3 -0
- package/lib/components/common/CustomIcon/components/ForwardArrowIcon/forwardArrowIcon.js +25 -0
- package/lib/components/common/CustomIcon/components/GitHubIcon/gitHubIcon.d.ts +6 -0
- package/lib/components/common/CustomIcon/components/GitHubIcon/gitHubIcon.js +28 -0
- package/lib/components/common/CustomIcon/components/GoogleIcon/googleIcon.d.ts +6 -0
- package/lib/components/common/CustomIcon/components/GoogleIcon/googleIcon.js +31 -0
- package/lib/components/common/CustomIcon/components/HelpIcon/helpIcon.d.ts +6 -0
- package/lib/components/common/CustomIcon/components/HelpIcon/helpIcon.js +28 -0
- package/lib/components/common/CustomIcon/components/InfoIcon/infoIcon.d.ts +6 -0
- package/lib/components/common/CustomIcon/components/InfoIcon/infoIcon.js +28 -0
- package/lib/components/common/CustomIcon/components/InventoryIcon/inventoryIcon.d.ts +6 -0
- package/lib/components/common/CustomIcon/components/InventoryIcon/inventoryIcon.js +28 -0
- package/lib/components/common/CustomIcon/components/LinkedInIcon/linkedInIcon.d.ts +6 -0
- package/lib/components/common/CustomIcon/components/LinkedInIcon/linkedInIcon.js +28 -0
- package/lib/components/common/CustomIcon/components/LoadingIcon/loadingIcon.d.ts +6 -0
- package/lib/components/common/CustomIcon/components/LoadingIcon/loadingIcon.js +45 -0
- package/lib/components/common/CustomIcon/components/OpenInNewIcon/openInNewIcon.d.ts +6 -0
- package/lib/components/common/CustomIcon/components/OpenInNewIcon/openInNewIcon.js +28 -0
- package/lib/components/common/CustomIcon/components/RadioCheckedIcon/radioCheckedIcon.d.ts +6 -0
- package/lib/components/common/CustomIcon/components/RadioCheckedIcon/radioCheckedIcon.js +28 -0
- package/lib/components/common/CustomIcon/components/RadioUncheckedIcon/radioUncheckedIcon.d.ts +6 -0
- package/lib/components/common/CustomIcon/components/RadioUncheckedIcon/radioUncheckedIcon.js +28 -0
- package/lib/components/common/CustomIcon/components/RemoveIcon/removeIcon.d.ts +6 -0
- package/lib/components/common/CustomIcon/components/RemoveIcon/removeIcon.js +28 -0
- package/lib/components/common/CustomIcon/components/SearchIcon/searchIcon.d.ts +6 -0
- package/lib/components/common/CustomIcon/components/SearchIcon/searchIcon.js +28 -0
- package/lib/components/common/CustomIcon/components/SearchOffIcon/searchOffIcon.d.ts +6 -0
- package/lib/components/common/CustomIcon/components/SearchOffIcon/searchOffIcon.js +28 -0
- package/lib/components/common/CustomIcon/components/Segment/segment.d.ts +3 -0
- package/lib/components/common/CustomIcon/components/Segment/segment.js +25 -0
- package/lib/components/common/CustomIcon/components/SlackIcon/slackIcon.d.ts +6 -0
- package/lib/components/common/CustomIcon/components/SlackIcon/slackIcon.js +28 -0
- package/lib/components/common/CustomIcon/components/SouthIcon/southIcon.d.ts +6 -0
- package/lib/components/common/CustomIcon/components/SouthIcon/southIcon.js +28 -0
- package/lib/components/common/CustomIcon/components/SuccessIcon/successIcon.d.ts +6 -0
- package/lib/components/common/CustomIcon/components/SuccessIcon/successIcon.js +28 -0
- package/lib/components/common/CustomIcon/components/UncheckedErrorIcon/uncheckedErrorIcon.d.ts +6 -0
- package/lib/components/common/CustomIcon/components/UncheckedErrorIcon/uncheckedErrorIcon.js +28 -0
- package/lib/components/common/CustomIcon/components/UncheckedIcon/uncheckedIcon.d.ts +6 -0
- package/lib/components/common/CustomIcon/components/UncheckedIcon/uncheckedIcon.js +28 -0
- package/lib/components/common/CustomIcon/components/UnfoldMoreIcon/unfoldMoreIcon.d.ts +6 -0
- package/lib/components/common/CustomIcon/components/UnfoldMoreIcon/unfoldMoreIcon.js +28 -0
- package/lib/components/common/CustomIcon/components/WarningIcon/warningIcon.d.ts +6 -0
- package/lib/components/common/CustomIcon/components/WarningIcon/warningIcon.js +28 -0
- package/lib/components/common/CustomIcon/components/XIcon/xIcon.d.ts +6 -0
- package/lib/components/common/CustomIcon/components/XIcon/xIcon.js +28 -0
- package/lib/components/common/CustomIcon/components/YouTubeIcon/youTubeIcon.d.ts +6 -0
- package/lib/components/common/CustomIcon/components/YouTubeIcon/youTubeIcon.js +28 -0
- package/lib/components/common/Dialog/components/DialogTitle/dialogTitle.d.ts +7 -0
- package/lib/components/common/Dialog/components/DialogTitle/dialogTitle.js +16 -0
- package/lib/components/common/Dot/dot.d.ts +5 -0
- package/lib/components/common/Dot/dot.js +12 -0
- package/lib/components/common/Dot/dot.styles.d.ts +5 -0
- package/lib/components/common/Dot/dot.styles.js +16 -0
- package/lib/components/common/EllipsisContent/ellipsisContent.d.ts +6 -0
- package/lib/components/common/EllipsisContent/ellipsisContent.js +189 -0
- package/lib/components/common/EllipsisContent/ellipsisContent.styles.d.ts +15 -0
- package/lib/components/common/EllipsisContent/ellipsisContent.styles.js +22 -0
- package/lib/components/common/Form/components/Input/input.d.ts +11 -0
- package/lib/components/common/Form/components/Input/input.js +28 -0
- package/lib/components/common/Form/components/Input/input.styles.d.ts +24 -0
- package/lib/components/common/Form/components/Input/input.styles.js +69 -0
- package/lib/components/common/Form/components/Select/components/DropDownIcon/dropDownIcon.d.ts +4 -0
- package/lib/components/common/Form/components/Select/components/DropDownIcon/dropDownIcon.js +24 -0
- package/lib/components/common/Form/components/Select/select.d.ts +12 -0
- package/lib/components/common/Form/components/Select/select.js +28 -0
- package/lib/components/common/Form/components/Select/select.styles.d.ts +24 -0
- package/lib/components/common/Form/components/Select/select.styles.js +40 -0
- package/lib/components/common/Form/components/UploadFile/uploadFile.d.ts +16 -0
- package/lib/components/common/Form/components/UploadFile/uploadFile.js +42 -0
- package/lib/components/common/Form/components/UploadFile/uploadFile.styles.d.ts +48 -0
- package/lib/components/common/Form/components/UploadFile/uploadFile.styles.js +49 -0
- package/lib/components/common/Grid/components/GridItem/gridItem.d.ts +10 -0
- package/lib/components/common/Grid/components/GridItem/gridItem.js +27 -0
- package/lib/components/common/Grid/grid.d.ts +10 -0
- package/lib/components/common/Grid/grid.js +27 -0
- package/lib/components/common/IconBadge/iconBadge.d.ts +17 -0
- package/lib/components/common/IconBadge/iconBadge.js +20 -0
- package/lib/components/common/IconBadge/iconBadge.styles.d.ts +10 -0
- package/lib/components/common/IconBadge/iconBadge.styles.js +69 -0
- package/lib/components/common/IconButton/components/LoadingIconButton/loadingIconButton.d.ts +5 -0
- package/lib/components/common/IconButton/components/LoadingIconButton/loadingIconButton.js +17 -0
- package/lib/components/common/IconButton/components/LoadingIconButton/loadingIconButton.stories.d.ts +3 -0
- package/lib/components/common/IconButton/components/LoadingIconButton/loadingIconButton.stories.js +15 -0
- package/lib/components/common/IconButton/iconButton.d.ts +12 -0
- package/lib/components/common/IconButton/iconButton.js +25 -0
- package/lib/components/common/IconButton/iconButton.styles.d.ts +16 -0
- package/lib/components/common/IconButton/iconButton.styles.js +90 -0
- package/lib/components/common/Input/input.d.ts +14 -0
- package/lib/components/common/Input/input.js +38 -0
- package/lib/components/common/Input/input.styles.d.ts +27 -0
- package/lib/components/common/Input/input.styles.js +35 -0
- package/lib/components/common/KeyValuePairs/components/KeyElType/keyElType.d.ts +8 -0
- package/lib/components/common/KeyValuePairs/components/KeyElType/keyElType.js +24 -0
- package/lib/components/common/KeyValuePairs/components/KeyValueElType/keyValueElType.d.ts +14 -0
- package/lib/components/common/KeyValuePairs/components/KeyValueElType/keyValueElType.js +24 -0
- package/lib/components/common/KeyValuePairs/components/ValueElType/valueElType.d.ts +8 -0
- package/lib/components/common/KeyValuePairs/components/ValueElType/valueElType.js +24 -0
- package/lib/components/common/KeyValuePairs/keyValuePairs.d.ts +18 -0
- package/lib/components/common/KeyValuePairs/keyValuePairs.js +38 -0
- package/lib/components/common/MDXMarkdown/components/Section/mdxSection.styles.d.ts +5 -0
- package/lib/components/common/MDXMarkdown/components/Section/mdxSection.styles.js +32 -0
- package/lib/components/common/Markdown/markdown.d.ts +5 -0
- package/lib/components/common/Markdown/markdown.js +13 -0
- package/lib/components/common/Paper/paper.d.ts +24 -0
- package/lib/components/common/Paper/paper.js +41 -0
- package/lib/components/common/Paper/paper.styles.d.ts +30 -0
- package/lib/components/common/Paper/paper.styles.js +71 -0
- package/lib/components/common/RadioGroup/radioGroup.d.ts +17 -0
- package/lib/components/common/RadioGroup/radioGroup.js +14 -0
- package/lib/components/common/Section/components/CollapsableSection/collapsableSection.d.ts +7 -0
- package/lib/components/common/Section/components/CollapsableSection/collapsableSection.js +74 -0
- package/lib/components/common/Section/components/CollapsableSection/collapsableSection.styles.d.ts +43 -0
- package/lib/components/common/Section/components/CollapsableSection/collapsableSection.styles.js +41 -0
- package/lib/components/common/Section/components/SectionDetailsEmpty/sectionDetailsEmpty.d.ts +5 -0
- package/lib/components/common/Section/components/SectionDetailsEmpty/sectionDetailsEmpty.js +11 -0
- package/lib/components/common/Section/components/SectionTitle/sectionTitle.d.ts +6 -0
- package/lib/components/common/Section/components/SectionTitle/sectionTitle.js +12 -0
- package/lib/components/common/Section/components/SectionTitle/sectionTitle.stories.d.ts +3 -0
- package/lib/components/common/Section/components/SectionTitle/sectionTitle.stories.js +20 -0
- package/lib/components/common/Section/section.styles.d.ts +29 -0
- package/lib/components/common/Section/section.styles.js +62 -0
- package/lib/components/common/Sections/sections.d.ts +6 -0
- package/lib/components/common/Sections/sections.js +13 -0
- package/lib/components/common/Socials/socials.d.ts +15 -0
- package/lib/components/common/Socials/socials.js +34 -0
- package/lib/components/common/Socials/socials.stories.d.ts +7 -0
- package/lib/components/common/Socials/socials.stories.js +59 -0
- package/lib/components/common/Socials/socials.styles.d.ts +5 -0
- package/lib/components/common/Socials/socials.styles.js +10 -0
- package/lib/components/common/Stack/components/Divider/divider.d.ts +11 -0
- package/lib/components/common/Stack/components/Divider/divider.js +29 -0
- package/lib/components/common/Stack/components/Divider/divider.styles.d.ts +11 -0
- package/lib/components/common/Stack/components/Divider/divider.styles.js +11 -0
- package/lib/components/common/Stack/stack.d.ts +18 -0
- package/lib/components/common/Stack/stack.js +12 -0
- package/lib/components/common/StaticImage/staticImage.d.ts +14 -0
- package/lib/components/common/StaticImage/staticImage.js +19 -0
- package/lib/components/common/StaticImage/staticImage.stories.d.ts +3 -0
- package/lib/components/common/StaticImage/staticImage.stories.js +26 -0
- package/lib/components/common/StatusBadge/statusBadge.d.ts +10 -0
- package/lib/components/common/StatusBadge/statusBadge.js +53 -0
- package/lib/components/common/StatusBadge/statusBadge.stories.d.ts +7 -0
- package/lib/components/common/StatusBadge/statusBadge.stories.js +16 -0
- package/lib/components/common/StatusIcon/statusIcon.d.ts +19 -0
- package/lib/components/common/StatusIcon/statusIcon.js +23 -0
- package/lib/components/common/StatusIcon/statusIcon.stories.d.ts +3 -0
- package/lib/components/common/StatusIcon/statusIcon.stories.js +23 -0
- package/lib/components/common/StatusIcon/statusIcon.styles.d.ts +10 -0
- package/lib/components/common/StatusIcon/statusIcon.styles.js +47 -0
- package/lib/components/common/Tabs/tabs.d.ts +19 -0
- package/lib/components/common/Tabs/tabs.js +13 -0
- package/lib/components/common/Tabs/tabs.styles.d.ts +43 -0
- package/lib/components/common/Tabs/tabs.styles.js +45 -0
- package/lib/components/common/Tag/tag.d.ts +6 -0
- package/lib/components/common/Tag/tag.js +12 -0
- package/lib/components/common/Tag/tag.stories.d.ts +3 -0
- package/lib/components/common/Tag/tag.stories.js +21 -0
- package/lib/components/common/Tag/tag.styles.d.ts +6 -0
- package/lib/components/common/Tag/tag.styles.js +17 -0
- package/lib/components/common/Title/title.d.ts +7 -0
- package/lib/components/common/Title/title.js +25 -0
- package/lib/components/common/Title/title.styles.d.ts +1 -0
- package/lib/components/common/Title/title.styles.js +12 -0
- package/lib/components/common/ToggleButtonGroup/toggleButtonGroup.d.ts +17 -0
- package/lib/components/common/ToggleButtonGroup/toggleButtonGroup.js +70 -0
- package/lib/components/common/ToggleButtonGroup/toggleButtonGroup.stories.d.ts +3 -0
- package/lib/components/common/ToggleButtonGroup/toggleButtonGroup.stories.js +38 -0
- package/lib/components/common/Typography/TypographyWordBreak/TypographyWordBreak.d.ts +5 -0
- package/lib/components/common/Typography/TypographyWordBreak/TypographyWordBreak.js +24 -0
- package/lib/config/config.d.ts +11 -0
- package/lib/config/config.js +20 -0
- package/lib/config/entities.d.ts +366 -0
- package/lib/config/entities.js +10 -0
- package/lib/config/utils.d.ts +31 -0
- package/lib/config/utils.js +98 -0
- package/lib/entity/api/service.d.ts +63 -0
- package/lib/entity/api/service.js +147 -0
- package/lib/entity/apicf/service.d.ts +29 -0
- package/lib/entity/apicf/service.js +71 -0
- package/lib/entity/common/client.d.ts +12 -0
- package/lib/entity/common/client.js +65 -0
- package/lib/entity/common/service.d.ts +15 -0
- package/lib/entity/common/service.js +38 -0
- package/lib/entity/common/utils.d.ts +7 -0
- package/lib/entity/common/utils.js +14 -0
- package/lib/entity/service/factory.d.ts +7 -0
- package/lib/entity/service/factory.js +64 -0
- package/lib/entity/service/model.d.ts +27 -0
- package/lib/entity/service/model.js +12 -0
- package/lib/entity/tsv/service.d.ts +9 -0
- package/lib/entity/tsv/service.js +47 -0
- package/lib/hooks/useAsync.d.ts +25 -0
- package/lib/hooks/useAsync.js +89 -0
- package/lib/hooks/useAuthentication/common/constants.d.ts +4 -0
- package/lib/hooks/useAuthentication/common/constants.js +22 -0
- package/lib/hooks/useAuthentication/common/entities.d.ts +25 -0
- package/lib/hooks/useAuthentication/common/entities.js +14 -0
- package/lib/hooks/useAuthentication/common/utils.d.ts +15 -0
- package/lib/hooks/useAuthentication/common/utils.js +30 -0
- package/lib/hooks/useAuthentication/useAuthentication.d.ts +6 -0
- package/lib/hooks/useAuthentication/useAuthentication.js +13 -0
- package/lib/hooks/useAuthentication/useAuthenticationComplete.d.ts +6 -0
- package/lib/hooks/useAuthentication/useAuthenticationComplete.js +82 -0
- package/lib/hooks/useAuthentication/useAuthenticationForm.d.ts +20 -0
- package/lib/hooks/useAuthentication/useAuthenticationForm.js +92 -0
- package/lib/hooks/useAuthentication/useAuthenticationNIHExpiry.d.ts +18 -0
- package/lib/hooks/useAuthentication/useAuthenticationNIHExpiry.js +55 -0
- package/lib/hooks/useAuthentication/useAuthenticationStatus.d.ts +20 -0
- package/lib/hooks/useAuthentication/useAuthenticationStatus.js +37 -0
- package/lib/hooks/useAuthentication/useFetchGoogleProfile.d.ts +21 -0
- package/lib/hooks/useAuthentication/useFetchGoogleProfile.js +40 -0
- package/lib/hooks/useAuthentication/useFetchTerraNIHProfile.d.ts +18 -0
- package/lib/hooks/useAuthentication/useFetchTerraNIHProfile.js +61 -0
- package/lib/hooks/useAuthentication/useFetchTerraProfile.d.ts +24 -0
- package/lib/hooks/useAuthentication/useFetchTerraProfile.js +62 -0
- package/lib/hooks/useAuthentication/useFetchTerraTermsOfService.d.ts +15 -0
- package/lib/hooks/useAuthentication/useFetchTerraTermsOfService.js +61 -0
- package/lib/hooks/useAuthentication/useTokenClient.d.ts +11 -0
- package/lib/hooks/useAuthentication/useTokenClient.js +33 -0
- package/lib/hooks/useAuthenticationConfig.d.ts +6 -0
- package/lib/hooks/useAuthenticationConfig.js +18 -0
- package/lib/hooks/useBreakpointHelper.d.ts +14 -0
- package/lib/hooks/useBreakpointHelper.js +18 -0
- package/lib/hooks/useCatalog.d.ts +5 -0
- package/lib/hooks/useCatalog.js +18 -0
- package/lib/hooks/useCategoryConfigs.d.ts +6 -0
- package/lib/hooks/useCategoryConfigs.js +17 -0
- package/lib/hooks/useCategoryFilter.d.ts +35 -0
- package/lib/hooks/useCategoryFilter.js +158 -0
- package/lib/hooks/useConfig.d.ts +6 -0
- package/lib/hooks/useConfig.js +13 -0
- package/lib/hooks/useCurrentDetailTab.d.ts +13 -0
- package/lib/hooks/useCurrentDetailTab.js +24 -0
- package/lib/hooks/useDownloadStatus.d.ts +10 -0
- package/lib/hooks/useDownloadStatus.js +27 -0
- package/lib/hooks/useEntityHeadTitle.d.ts +7 -0
- package/lib/hooks/useEntityHeadTitle.js +54 -0
- package/lib/hooks/useEntityList.d.ts +8 -0
- package/lib/hooks/useEntityList.js +169 -0
- package/lib/hooks/useEntityListRelatedView.d.ts +15 -0
- package/lib/hooks/useEntityListRelatedView.js +62 -0
- package/lib/hooks/useEntityService.d.ts +17 -0
- package/lib/hooks/useEntityService.js +43 -0
- package/lib/hooks/useExploreMode.d.ts +14 -0
- package/lib/hooks/useExploreMode.js +24 -0
- package/lib/hooks/useExploreState.d.ts +6 -0
- package/lib/hooks/useExploreState.js +13 -0
- package/lib/hooks/useExportConfig.d.ts +6 -0
- package/lib/hooks/useExportConfig.js +16 -0
- package/lib/hooks/useExportToTerraResponseURL.d.ts +8 -0
- package/lib/hooks/useExportToTerraResponseURL.js +22 -0
- package/lib/hooks/useFeatureFlag/common/entities.d.ts +4 -0
- package/lib/hooks/useFeatureFlag/common/entities.js +8 -0
- package/lib/hooks/useFeatureFlag/common/utils.d.ts +5 -0
- package/lib/hooks/useFeatureFlag/common/utils.js +21 -0
- package/lib/hooks/useFeatureFlag/useFeatureFlag.d.ts +6 -0
- package/lib/hooks/useFeatureFlag/useFeatureFlag.js +20 -0
- package/lib/hooks/useFetchEntity.d.ts +13 -0
- package/lib/hooks/useFetchEntity.js +58 -0
- package/lib/hooks/useFetchRequestURL.d.ts +8 -0
- package/lib/hooks/useFetchRequestURL.js +18 -0
- package/lib/hooks/useFileLocation.d.ts +5 -0
- package/lib/hooks/useFileLocation.js +30 -0
- package/lib/hooks/useFileManifest/common/buildFileManifestRequestURL.d.ts +15 -0
- package/lib/hooks/useFileManifest/common/buildFileManifestRequestURL.js +31 -0
- package/lib/hooks/useFileManifest/common/entities.d.ts +55 -0
- package/lib/hooks/useFileManifest/common/entities.js +17 -0
- package/lib/hooks/useFileManifest/common/utils.d.ts +45 -0
- package/lib/hooks/useFileManifest/common/utils.js +161 -0
- package/lib/hooks/useFileManifest/useFetchFilesFacets.d.ts +12 -0
- package/lib/hooks/useFileManifest/useFetchFilesFacets.js +46 -0
- package/lib/hooks/useFileManifest/useFetchSummary.d.ts +10 -0
- package/lib/hooks/useFileManifest/useFetchSummary.js +38 -0
- package/lib/hooks/useFileManifest/useFileManifest.d.ts +7 -0
- package/lib/hooks/useFileManifest/useFileManifest.js +16 -0
- package/lib/hooks/useFileManifest/useFileManifestDownload.d.ts +14 -0
- package/lib/hooks/useFileManifest/useFileManifestDownload.js +92 -0
- package/lib/hooks/useFileManifest/useFileManifestSpreadsheet.d.ts +14 -0
- package/lib/hooks/useFileManifest/useFileManifestSpreadsheet.js +77 -0
- package/lib/hooks/useFileManifest/useFileManifestURL.d.ts +5 -0
- package/lib/hooks/useFileManifest/useFileManifestURL.js +15 -0
- package/lib/hooks/useFileManifest/useRequestFileManifest.d.ts +9 -0
- package/lib/hooks/useFileManifest/useRequestFileManifest.js +41 -0
- package/lib/hooks/useFileManifestState.d.ts +6 -0
- package/lib/hooks/useFileManifestState.js +13 -0
- package/lib/hooks/useLayoutState.d.ts +6 -0
- package/lib/hooks/useLayoutState.js +13 -0
- package/lib/hooks/useLocalStorage/common/utils.d.ts +12 -0
- package/lib/hooks/useLocalStorage/common/utils.js +27 -0
- package/lib/hooks/useLocalStorage/useLocalStorage.d.ts +6 -0
- package/lib/hooks/useLocalStorage/useLocalStorage.js +18 -0
- package/lib/hooks/useLocation.d.ts +13 -0
- package/lib/hooks/useLocation.js +22 -0
- package/lib/hooks/useRequestFileLocation.d.ts +35 -0
- package/lib/hooks/useRequestFileLocation.js +111 -0
- package/lib/hooks/useResetableState.d.ts +7 -0
- package/lib/hooks/useResetableState.js +17 -0
- package/lib/hooks/useResizeObserver.d.ts +43 -0
- package/lib/hooks/useResizeObserver.js +87 -0
- package/lib/hooks/useScroll.d.ts +10 -0
- package/lib/hooks/useScroll.js +16 -0
- package/lib/hooks/useSessionTimeout.d.ts +11 -0
- package/lib/hooks/useSessionTimeout.js +28 -0
- package/lib/hooks/useSummary.d.ts +11 -0
- package/lib/hooks/useSummary.js +37 -0
- package/lib/hooks/useSystemStatus.d.ts +6 -0
- package/lib/hooks/useSystemStatus.js +13 -0
- package/lib/hooks/useURLFilterParams.d.ts +14 -0
- package/lib/hooks/useURLFilterParams.js +39 -0
- package/lib/hooks/useUpdateURLCatalogParam.d.ts +4 -0
- package/lib/hooks/useUpdateURLCatalogParam.js +48 -0
- package/lib/hooks/useUpdateURLSearchParams.d.ts +4 -0
- package/lib/hooks/useUpdateURLSearchParams.js +21 -0
- package/lib/hooks/useWindowResize.d.ts +10 -0
- package/lib/hooks/useWindowResize.js +42 -0
- package/lib/index.d.ts +1 -0
- package/lib/index.js +2 -0
- package/lib/providers/authentication.d.ts +51 -0
- package/lib/providers/authentication.js +138 -0
- package/lib/providers/config.d.ts +15 -0
- package/lib/providers/config.js +47 -0
- package/lib/providers/exploreState/constants.d.ts +3 -0
- package/lib/providers/exploreState/constants.js +28 -0
- package/lib/providers/exploreState/payloads/entities.d.ts +46 -0
- package/lib/providers/exploreState/payloads/entities.js +2 -0
- package/lib/providers/exploreState/utils.d.ts +36 -0
- package/lib/providers/exploreState/utils.js +72 -0
- package/lib/providers/exploreState.d.ts +209 -0
- package/lib/providers/exploreState.js +209 -0
- package/lib/providers/fileManifestState.d.ts +147 -0
- package/lib/providers/fileManifestState.js +228 -0
- package/lib/providers/layoutState.d.ts +40 -0
- package/lib/providers/layoutState.js +71 -0
- package/lib/providers/systemStatus.d.ts +32 -0
- package/lib/providers/systemStatus.js +102 -0
- package/lib/shared/constants.d.ts +1 -0
- package/lib/shared/constants.js +4 -0
- package/lib/shared/utils.d.ts +21 -0
- package/lib/shared/utils.js +41 -0
- package/lib/styles/common/mixins/breakpoints.d.ts +7 -0
- package/lib/styles/common/mixins/breakpoints.js +16 -0
- package/lib/styles/common/mixins/colors.d.ts +24 -0
- package/lib/styles/common/mixins/colors.js +56 -0
- package/lib/styles/common/mixins/fonts.d.ts +16 -0
- package/lib/styles/common/mixins/fonts.js +33 -0
- package/lib/styles/common/mixins/shadows.d.ts +3 -0
- package/lib/styles/common/mixins/shadows.js +9 -0
- package/lib/theme/common/breakpoints.d.ts +29 -0
- package/lib/theme/common/breakpoints.js +40 -0
- package/lib/theme/common/components.d.ts +245 -0
- package/lib/theme/common/components.js +1417 -0
- package/lib/theme/common/palette.d.ts +178 -0
- package/lib/theme/common/palette.js +226 -0
- package/lib/theme/common/shadows.d.ts +28 -0
- package/lib/theme/common/shadows.js +35 -0
- package/lib/theme/common/typography.d.ts +66 -0
- package/lib/theme/common/typography.js +170 -0
- package/lib/theme/theme.d.ts +14 -0
- package/lib/theme/theme.js +137 -0
- package/lib/types/error.d.ts +7 -0
- package/lib/types/error.js +19 -0
- package/lib/utils/database.d.ts +19 -0
- package/lib/utils/database.js +36 -0
- package/lib/utils/fetchQueryParams.d.ts +12 -0
- package/lib/utils/fetchQueryParams.js +17 -0
- package/lib/utils/formatCountSize.d.ts +6 -0
- package/lib/utils/formatCountSize.js +28 -0
- package/lib/utils/formatFileSize.d.ts +6 -0
- package/lib/utils/formatFileSize.js +27 -0
- package/lib/utils/ssr.d.ts +5 -0
- package/lib/utils/ssr.js +9 -0
- package/lib/utils/url.d.ts +6 -0
- package/lib/utils/url.js +21 -0
- package/lib/viewModelBuilders/common/entities.d.ts +4 -0
- package/lib/viewModelBuilders/common/entities.js +2 -0
- package/lib/viewModelBuilders/common/utils.d.ts +21 -0
- package/lib/viewModelBuilders/common/utils.js +45 -0
- package/lib/views/ContentView/contentView.d.ts +9 -0
- package/lib/views/ContentView/contentView.js +12 -0
- package/lib/views/ContentView/contentView.stories.d.ts +6 -0
- package/lib/views/ContentView/contentView.stories.js +47 -0
- package/lib/views/EntityDetailView/entityDetailView.d.ts +6 -0
- package/lib/views/EntityDetailView/entityDetailView.js +85 -0
- package/lib/views/ExploreView/exploreView.d.ts +4 -0
- package/lib/views/ExploreView/exploreView.js +230 -0
- package/lib/views/ExportMethodView/exportMethodView.d.ts +2 -0
- package/lib/views/ExportMethodView/exportMethodView.js +30 -0
- package/lib/views/ExportView/exportView.d.ts +4 -0
- package/lib/views/ExportView/exportView.js +23 -0
- package/lib/views/LoginView/loginView.d.ts +2 -0
- package/lib/views/LoginView/loginView.js +14 -0
- package/package.json +87 -0
- package/src/apis/azul/common/constants.ts +12 -0
- package/src/apis/azul/common/entities.ts +184 -0
- package/src/apis/azul/common/filterTransformer.ts +149 -0
- package/src/apis/azul/common/utils.ts +19 -0
- package/src/common/analytics/analytics.ts +42 -0
- package/src/common/analytics/entities.ts +73 -0
- package/src/common/constants.ts +16 -0
- package/src/common/entities.ts +103 -0
- package/src/common/selectors.ts +3 -0
- package/src/common/utils.ts +30 -0
- package/src/components/ComponentCreator/ComponentCreator.tsx +68 -0
- package/src/components/ComponentCreator/components/ConditionalComponent/conditionalComponent.tsx +17 -0
- package/src/components/ComponentCreator/components/RenderComponent/renderComponent.tsx +17 -0
- package/src/components/Detail/components/AccessibilityBadge/accessibilityBadge.tsx +30 -0
- package/src/components/Detail/components/DetailViewTable/detailViewTable.tsx +46 -0
- package/src/components/Detail/components/Table/common/utils.ts +20 -0
- package/src/components/Detail/components/Table/components/TableBody/tableBody.tsx +29 -0
- package/src/components/Detail/components/Table/components/TableHead/tableHead.tsx +34 -0
- package/src/components/Detail/components/Table/components/TableRows/components/CollapsableRows/collapsableRows.tsx +28 -0
- package/src/components/Detail/components/Table/components/TableRows/tableRows.tsx +36 -0
- package/src/components/Detail/components/Table/table.tsx +74 -0
- package/src/components/Detail/detail.stories.tsx +62 -0
- package/src/components/Detail/detail.tsx +28 -0
- package/src/components/Error/error.stories.tsx +33 -0
- package/src/components/Error/error.styles.ts +47 -0
- package/src/components/Error/error.tsx +111 -0
- package/src/components/ErrorBoundary/errorBoundary.tsx +46 -0
- package/src/components/ErrorBoundary/index.ts +1 -0
- package/src/components/Export/common/entities.ts +53 -0
- package/src/components/Export/common/tracking.ts +30 -0
- package/src/components/Export/common/utils.ts +45 -0
- package/src/components/Export/components/DownloadCurlCommand/components/DownloadCurlCommandForm/downloadCurlCommandForm.styles.ts +6 -0
- package/src/components/Export/components/DownloadCurlCommand/components/DownloadCurlCommandForm/downloadCurlCommandForm.tsx +52 -0
- package/src/components/Export/components/DownloadCurlCommand/components/DownloadCurlCommandNotStarted/downloadCurlCommandNotStarted.tsx +62 -0
- package/src/components/Export/components/DownloadCurlCommand/components/DownloadCurlCommandReady/downloadCurlCommandReady.tsx +25 -0
- package/src/components/Export/components/DownloadCurlCommand/downloadCurlCommand.tsx +118 -0
- package/src/components/Export/components/ExportForm/common/entities.ts +13 -0
- package/src/components/Export/components/ExportForm/components/ExportButton/exportButton.tsx +36 -0
- package/src/components/Export/components/ExportForm/components/ExportExecutionEnvironmentForm/exportExecutionEnvironmentForm.tsx +59 -0
- package/src/components/Export/components/ExportForm/components/ExportFileSummaryForm/exportFileSummaryForm.tsx +129 -0
- package/src/components/Export/components/ExportForm/components/ExportManifestDownloadFormatForm/exportManifestDownloadFormatForm.tsx +51 -0
- package/src/components/Export/components/ExportForm/components/ExportSpeciesForm/exportSpeciesForm.tsx +64 -0
- package/src/components/Export/components/ExportForm/exportForm.styles.ts +106 -0
- package/src/components/Export/components/ExportForm/exportForm.tsx +139 -0
- package/src/components/Export/components/ExportMethod/exportMethod.stories.tsx +26 -0
- package/src/components/Export/components/ExportMethod/exportMethod.styles.ts +13 -0
- package/src/components/Export/components/ExportMethod/exportMethod.tsx +54 -0
- package/src/components/Export/components/ExportSummary/common/utils.ts +55 -0
- package/src/components/Export/components/ExportSummary/components/ExportCurrentQuery/exportCurrentQuery.tsx +41 -0
- package/src/components/Export/components/ExportSummary/components/ExportSelectedDataSummary/exportSelectedDataSummary.tsx +31 -0
- package/src/components/Export/components/ExportSummary/exportSummary.styles.ts +22 -0
- package/src/components/Export/components/ExportSummary/exportSummary.tsx +12 -0
- package/src/components/Export/components/ExportToTerra/components/ExportToTerraForm/exportToTerraForm.tsx +47 -0
- package/src/components/Export/components/ExportToTerra/components/ExportToTerraNotStarted/exportToTerraNotStarted.tsx +52 -0
- package/src/components/Export/components/ExportToTerra/components/ExportToTerraReady/exportToTerraReady.tsx +35 -0
- package/src/components/Export/components/ExportToTerra/components/TerraSetUpForm/components/FormStep/components/AcceptTerraTOS/acceptTerraTOS.tsx +67 -0
- package/src/components/Export/components/ExportToTerra/components/TerraSetUpForm/components/FormStep/components/ConnectTerraToNIHAccount/connectTerraToNIHAccount.tsx +41 -0
- package/src/components/Export/components/ExportToTerra/components/TerraSetUpForm/components/FormStep/components/CreateTerraAccount/createTerraAccount.tsx +42 -0
- package/src/components/Export/components/ExportToTerra/components/TerraSetUpForm/components/FormStep/formStep.styles.ts +10 -0
- package/src/components/Export/components/ExportToTerra/components/TerraSetUpForm/components/FormStep/formStep.tsx +64 -0
- package/src/components/Export/components/ExportToTerra/components/TerraSetUpForm/components/NIHAccountExpiryWarning/nihAccountExpiryWarning.tsx +62 -0
- package/src/components/Export/components/ExportToTerra/components/TerraSetUpForm/terraSetUpForm.styles.ts +65 -0
- package/src/components/Export/components/ExportToTerra/components/TerraSetUpForm/terraSetUpForm.tsx +101 -0
- package/src/components/Export/components/ExportToTerra/exportToTerra.tsx +56 -0
- package/src/components/Export/components/ManifestDownload/components/ManifestDownloadEntity/components/FileManifestDownload/fileManifestDownload.tsx +122 -0
- package/src/components/Export/components/ManifestDownload/components/ManifestDownloadEntity/components/FileManifestSpreadsheet/fileManifestSpreadsheet.tsx +129 -0
- package/src/components/Export/components/ManifestDownload/components/ManifestDownloadEntity/manifestDownloadEntity.styles.ts +34 -0
- package/src/components/Export/components/ManifestDownload/components/ManifestDownloadEntity/manifestDownloadEntity.tsx +26 -0
- package/src/components/Export/components/ManifestDownload/components/ManifestDownloadForm/manifestDownloadForm.tsx +37 -0
- package/src/components/Export/components/ManifestDownload/components/ManifestDownloadNotStarted/manifestDownloadNotStarted.tsx +47 -0
- package/src/components/Export/components/ManifestDownload/components/ManifestDownloadReady/manifestDownloadReady.styles.ts +11 -0
- package/src/components/Export/components/ManifestDownload/components/ManifestDownloadReady/manifestDownloadReady.tsx +40 -0
- package/src/components/Export/components/ManifestDownload/manifestDownload.tsx +67 -0
- package/src/components/Export/export.styles.ts +40 -0
- package/src/components/Filter/common/constants.ts +5 -0
- package/src/components/Filter/common/entities.ts +46 -0
- package/src/components/Filter/common/utils.ts +84 -0
- package/src/components/Filter/components/ClearAllFilters/clearAllFilters.tsx +19 -0
- package/src/components/Filter/components/Filter/components/DrawerTransition/drawerTransition.tsx +24 -0
- package/src/components/Filter/components/Filter/filter.stories.tsx +51 -0
- package/src/components/Filter/components/Filter/filter.styles.ts +19 -0
- package/src/components/Filter/components/Filter/filter.tsx +116 -0
- package/src/components/Filter/components/FilterLabel/filterLabel.stories.tsx +31 -0
- package/src/components/Filter/components/FilterLabel/filterLabel.styles.ts +35 -0
- package/src/components/Filter/components/FilterLabel/filterLabel.tsx +30 -0
- package/src/components/Filter/components/FilterList/filterList.styles.ts +39 -0
- package/src/components/Filter/components/FilterMenu/filterMenu.stories.tsx +125 -0
- package/src/components/Filter/components/FilterMenu/filterMenu.styles.ts +31 -0
- package/src/components/Filter/components/FilterMenu/filterMenu.tsx +82 -0
- package/src/components/Filter/components/FilterMenuSearch/filterMenuSearch.styles.ts +16 -0
- package/src/components/Filter/components/FilterMenuSearch/filterMenuSearch.tsx +23 -0
- package/src/components/Filter/components/FilterNoResultsFound/filterNoResultsFound.styles.ts +7 -0
- package/src/components/Filter/components/FilterNoResultsFound/filterNoResultsFound.tsx +40 -0
- package/src/components/Filter/components/FilterTag/filterTag.stories.tsx +22 -0
- package/src/components/Filter/components/FilterTag/filterTag.styles.ts +6 -0
- package/src/components/Filter/components/FilterTag/filterTag.tsx +59 -0
- package/src/components/Filter/components/FilterTags/filterTags.stories.tsx +62 -0
- package/src/components/Filter/components/FilterTags/filterTags.styles.ts +18 -0
- package/src/components/Filter/components/FilterTags/filterTags.tsx +23 -0
- package/src/components/Filter/components/Filters/filters.stories.tsx +101 -0
- package/src/components/Filter/components/Filters/filters.styles.ts +34 -0
- package/src/components/Filter/components/Filters/filters.tsx +118 -0
- package/src/components/Filter/components/HighlightedLabel/highlightedLabel.styles.ts +27 -0
- package/src/components/Filter/components/HighlightedLabel/highlightedLabel.tsx +44 -0
- package/src/components/Filter/components/SearchAllFilters/common/constants.ts +62 -0
- package/src/components/Filter/components/SearchAllFilters/common/entites.ts +44 -0
- package/src/components/Filter/components/SearchAllFilters/common/utils.ts +15 -0
- package/src/components/Filter/components/SearchAllFilters/components/AutocompletePopper/autocompletePopper.styles.ts +16 -0
- package/src/components/Filter/components/SearchAllFilters/components/VariableSizeList/VariableSizeList.tsx +313 -0
- package/src/components/Filter/components/SearchAllFilters/components/VariableSizeListItem/variableSizeListItem.tsx +85 -0
- package/src/components/Filter/components/SearchAllFilters/searchAllFilters.stories.tsx +92 -0
- package/src/components/Filter/components/SearchAllFilters/searchAllFilters.styles.ts +15 -0
- package/src/components/Filter/components/SearchAllFilters/searchAllFilters.tsx +185 -0
- package/src/components/Filter/components/SearchAllFiltersSearch/components/SearchCloseButton/searchCloseButton.tsx +29 -0
- package/src/components/Filter/components/SearchAllFiltersSearch/searchAllFiltersSearch.styles.ts +36 -0
- package/src/components/Filter/components/SearchAllFiltersSearch/searchAllFiltersSearch.tsx +29 -0
- package/src/components/Filter/components/VariableSizeList/VariableSizeList.tsx +178 -0
- package/src/components/Filter/components/VariableSizeListItem/variableSizeListItem.tsx +72 -0
- package/src/components/Head/head.tsx +69 -0
- package/src/components/Index/components/AzulFileDownload/azulFileDownload.stories.tsx +17 -0
- package/src/components/Index/components/AzulFileDownload/azulFileDownload.tsx +84 -0
- package/src/components/Index/components/Cell/cell.tsx +18 -0
- package/src/components/Index/components/Hero/components/ExportButton/exportButton.styles.ts +14 -0
- package/src/components/Index/components/Hero/components/ExportButton/exportButton.tsx +20 -0
- package/src/components/Index/components/Hero/components/Summaries/summaries.stories.tsx +24 -0
- package/src/components/Index/components/Hero/components/Summaries/summaries.styles.ts +31 -0
- package/src/components/Index/components/Hero/components/Summaries/summaries.tsx +35 -0
- package/src/components/Index/components/Hero/hero.stories.tsx +24 -0
- package/src/components/Index/components/Hero/hero.styles.ts +55 -0
- package/src/components/Index/components/Hero/hero.tsx +40 -0
- package/src/components/Index/components/NTag/components/Tooltip/tooltip.styles.ts +11 -0
- package/src/components/Index/components/NTag/components/Tooltip/tooltip.tsx +86 -0
- package/src/components/Index/components/NTag/nTag.tsx +21 -0
- package/src/components/Index/components/NTagCell/nTagCell.stories.tsx +22 -0
- package/src/components/Index/components/NTagCell/nTagCell.tsx +55 -0
- package/src/components/Index/components/TitleCell/titleCell.styles.ts +7 -0
- package/src/components/Index/components/TitleCell/titleCell.tsx +22 -0
- package/src/components/Index/index.stories.tsx +29 -0
- package/src/components/Index/index.styles.ts +19 -0
- package/src/components/Index/index.tsx +37 -0
- package/src/components/Layout/components/AppLayout/appLayout.styles.ts +8 -0
- package/src/components/Layout/components/BackPage/backPageView.stories.tsx +61 -0
- package/src/components/Layout/components/BackPage/backPageView.styles.ts +150 -0
- package/src/components/Layout/components/BackPage/backPageView.tsx +50 -0
- package/src/components/Layout/components/BackPage/components/BackPageHero/backPageHero.stories.tsx +16 -0
- package/src/components/Layout/components/BackPage/components/BackPageHero/backPageHero.styles.ts +35 -0
- package/src/components/Layout/components/BackPage/components/BackPageHero/backPageHero.tsx +50 -0
- package/src/components/Layout/components/BackPage/components/BackPageHero/components/SubTitle/subTitle.tsx +24 -0
- package/src/components/Layout/components/ContentLayout/common/constants.ts +25 -0
- package/src/components/Layout/components/ContentLayout/common/entities.ts +13 -0
- package/src/components/Layout/components/ContentLayout/components/Main/main.tsx +11 -0
- package/src/components/Layout/components/ContentLayout/contentLayout.styles.ts +152 -0
- package/src/components/Layout/components/ContentLayout/contentLayout.tsx +71 -0
- package/src/components/Layout/components/Floating/floating.tsx +15 -0
- package/src/components/Layout/components/Footer/footer.stories.tsx +68 -0
- package/src/components/Layout/components/Footer/footer.styles.ts +53 -0
- package/src/components/Layout/components/Footer/footer.tsx +54 -0
- package/src/components/Layout/components/Header/common/constants.ts +17 -0
- package/src/components/Layout/components/Header/common/entities.ts +7 -0
- package/src/components/Layout/components/Header/common/utils.ts +84 -0
- package/src/components/Layout/components/Header/components/Content/components/Actions/actions.styles.ts +14 -0
- package/src/components/Layout/components/Header/components/Content/components/Actions/actions.tsx +14 -0
- package/src/components/Layout/components/Header/components/Content/components/Actions/components/Authentication/authentication.tsx +35 -0
- package/src/components/Layout/components/Header/components/Content/components/Actions/components/Authentication/components/AuthenticationMenu/authenticationMenu.stories.tsx +35 -0
- package/src/components/Layout/components/Header/components/Content/components/Actions/components/Authentication/components/AuthenticationMenu/authenticationMenu.styles.ts +39 -0
- package/src/components/Layout/components/Header/components/Content/components/Actions/components/Authentication/components/AuthenticationMenu/authenticationMenu.tsx +69 -0
- package/src/components/Layout/components/Header/components/Content/components/Actions/components/Authentication/components/RequestAuthentication/requestAuthentication.styles.ts +10 -0
- package/src/components/Layout/components/Header/components/Content/components/Actions/components/Authentication/components/RequestAuthentication/requestAuthentication.tsx +47 -0
- package/src/components/Layout/components/Header/components/Content/components/Actions/components/Menu/components/Content/components/Navigation/navigation.styles.ts +34 -0
- package/src/components/Layout/components/Header/components/Content/components/Actions/components/Menu/components/Content/components/Socials/socials.styles.ts +7 -0
- package/src/components/Layout/components/Header/components/Content/components/Actions/components/Menu/components/Toolbar/toolbar.tsx +54 -0
- package/src/components/Layout/components/Header/components/Content/components/Actions/components/Menu/menu.tsx +80 -0
- package/src/components/Layout/components/Header/components/Content/components/Actions/components/Search/components/SearchBar/searchBar.styles.ts +37 -0
- package/src/components/Layout/components/Header/components/Content/components/Actions/components/Search/components/SearchBar/searchBar.tsx +116 -0
- package/src/components/Layout/components/Header/components/Content/components/Actions/components/Search/components/SearchButton/searchButton.styles.ts +10 -0
- package/src/components/Layout/components/Header/components/Content/components/Actions/components/Search/components/SearchButton/searchButton.tsx +33 -0
- package/src/components/Layout/components/Header/components/Content/components/Actions/components/Search/search.tsx +30 -0
- package/src/components/Layout/components/Header/components/Content/components/Logo/logo.tsx +48 -0
- package/src/components/Layout/components/Header/components/Content/components/Navigation/components/NavigationDrawer/components/Slide/slide.tsx +22 -0
- package/src/components/Layout/components/Header/components/Content/components/Navigation/components/NavigationDrawer/navigationDrawer.styles.ts +16 -0
- package/src/components/Layout/components/Header/components/Content/components/Navigation/components/NavigationDrawer/navigationDrawer.tsx +79 -0
- package/src/components/Layout/components/Header/components/Content/components/Navigation/components/NavigationMenu/navigationMenu.styles.ts +71 -0
- package/src/components/Layout/components/Header/components/Content/components/Navigation/components/NavigationMenu/navigationMenu.tsx +63 -0
- package/src/components/Layout/components/Header/components/Content/components/Navigation/components/NavigationMenuItems/navigationMenuItems.tsx +85 -0
- package/src/components/Layout/components/Header/components/Content/components/Navigation/navigation.styles.ts +59 -0
- package/src/components/Layout/components/Header/components/Content/components/Navigation/navigation.tsx +103 -0
- package/src/components/Layout/components/Header/components/Content/components/Slogan/slogan.styles.ts +26 -0
- package/src/components/Layout/components/Header/components/Content/components/Slogan/slogan.tsx +27 -0
- package/src/components/Layout/components/Header/components/Content/components/Socials/socials.styles.ts +8 -0
- package/src/components/Layout/components/Header/components/Content/content.styles.ts +9 -0
- package/src/components/Layout/components/Header/header.stories.tsx +102 -0
- package/src/components/Layout/components/Header/header.styles.ts +23 -0
- package/src/components/Layout/components/Header/header.tsx +178 -0
- package/src/components/Layout/components/Main/main.styles.ts +20 -0
- package/src/components/Layout/components/Main/main.tsx +18 -0
- package/src/components/Layout/components/Nav/components/NavBarHero/navBarHero.styles.ts +25 -0
- package/src/components/Layout/components/Nav/components/NavBarHero/navBarHero.tsx +43 -0
- package/src/components/Layout/components/Nav/nav.stories.tsx +36 -0
- package/src/components/Layout/components/Nav/nav.styles.ts +55 -0
- package/src/components/Layout/components/Nav/nav.tsx +36 -0
- package/src/components/Layout/components/Outline/common/constants.ts +3 -0
- package/src/components/Layout/components/Outline/components/ContentsTab/contentsTab.styles.ts +17 -0
- package/src/components/Layout/components/Outline/components/ContentsTab/contentsTab.tsx +26 -0
- package/src/components/Layout/components/Outline/outline.styles.ts +68 -0
- package/src/components/Layout/components/Outline/outline.tsx +72 -0
- package/src/components/Layout/components/Sidebar/components/SidebarButton/sidebarButton.styles.ts +40 -0
- package/src/components/Layout/components/Sidebar/components/SidebarButton/sidebarButton.tsx +26 -0
- package/src/components/Layout/components/Sidebar/components/SidebarDrawer/sidebarDrawer.styles.ts +19 -0
- package/src/components/Layout/components/Sidebar/components/SidebarDrawer/sidebarDrawer.tsx +45 -0
- package/src/components/Layout/components/Sidebar/components/SidebarLabel/sidebarLabel.stories.tsx +20 -0
- package/src/components/Layout/components/Sidebar/components/SidebarLabel/sidebarLabel.tsx +15 -0
- package/src/components/Layout/components/Sidebar/components/SidebarPositioner/sidebarPositioner.styles.ts +20 -0
- package/src/components/Layout/components/Sidebar/components/SidebarPositioner/sidebarPositioner.tsx +21 -0
- package/src/components/Layout/components/Sidebar/components/SidebarTools/sidebarTools.styles.ts +18 -0
- package/src/components/Layout/components/Sidebar/sidebar.stories.tsx +50 -0
- package/src/components/Layout/components/Sidebar/sidebar.styles.ts +8 -0
- package/src/components/Layout/components/Sidebar/sidebar.tsx +43 -0
- package/src/components/Links/common/entities.ts +4 -0
- package/src/components/Links/common/utils.ts +8 -0
- package/src/components/Links/components/Link/link.tsx +64 -0
- package/src/components/Links/links.stories.tsx +28 -0
- package/src/components/Links/links.tsx +30 -0
- package/src/components/Loading/loading.stories.tsx +41 -0
- package/src/components/Loading/loading.styles.ts +83 -0
- package/src/components/Loading/loading.tsx +73 -0
- package/src/components/Login/login.stories.tsx +43 -0
- package/src/components/Login/login.styles.ts +56 -0
- package/src/components/Login/login.tsx +89 -0
- package/src/components/NoResults/noResults.styles.ts +12 -0
- package/src/components/NoResults/noResults.tsx +43 -0
- package/src/components/Project/common/entities.ts +50 -0
- package/src/components/Project/components/Citation/citation.stories.tsx +21 -0
- package/src/components/Project/components/Citation/citation.styles.ts +22 -0
- package/src/components/Project/components/Citation/citation.tsx +37 -0
- package/src/components/Project/components/CollaboratingOrganizations/collaboratingOrganizations.stories.tsx +34 -0
- package/src/components/Project/components/CollaboratingOrganizations/collaboratingOrganizations.tsx +30 -0
- package/src/components/Project/components/Contacts/contacts.stories.tsx +31 -0
- package/src/components/Project/components/Contacts/contacts.tsx +33 -0
- package/src/components/Project/components/Contributors/contributors.stories.tsx +38 -0
- package/src/components/Project/components/Contributors/contributors.tsx +31 -0
- package/src/components/Project/components/DataCurators/dataCurators.stories.tsx +20 -0
- package/src/components/Project/components/DataCurators/dataCurators.tsx +26 -0
- package/src/components/Project/components/DataReleasePolicy/dataReleasePolicy.stories.tsx +14 -0
- package/src/components/Project/components/DataReleasePolicy/dataReleasePolicy.tsx +22 -0
- package/src/components/Project/components/Description/description.stories.tsx +18 -0
- package/src/components/Project/components/Description/description.tsx +18 -0
- package/src/components/Project/components/Details/details.stories.tsx +31 -0
- package/src/components/Project/components/Details/details.tsx +45 -0
- package/src/components/Project/components/Publications/publications.stories.tsx +30 -0
- package/src/components/Project/components/Publications/publications.tsx +43 -0
- package/src/components/Project/components/Sup/sup.styles.tsx +5 -0
- package/src/components/Project/components/SupplementaryLinks/supplementaryLinks.stories.tsx +29 -0
- package/src/components/Project/components/SupplementaryLinks/supplementaryLinks.styles.ts +19 -0
- package/src/components/Project/components/SupplementaryLinks/supplementaryLinks.tsx +54 -0
- package/src/components/Redirect/redirect.tsx +20 -0
- package/src/components/Support/components/SupportRequest/components/Dialog/dialog.styles.ts +34 -0
- package/src/components/Support/components/SupportRequest/components/Dialog/dialog.tsx +56 -0
- package/src/components/Support/components/SupportRequest/components/Dropzone/dropzone.tsx +40 -0
- package/src/components/Support/components/SupportRequest/components/SupportRequestForm/common/constants.ts +44 -0
- package/src/components/Support/components/SupportRequest/components/SupportRequestForm/common/entities.ts +65 -0
- package/src/components/Support/components/SupportRequest/components/SupportRequestForm/common/utils.ts +96 -0
- package/src/components/Support/components/SupportRequest/components/SupportRequestForm/supportRequestForm.styles.ts +12 -0
- package/src/components/Support/components/SupportRequest/components/SupportRequestForm/supportRequestForm.tsx +306 -0
- package/src/components/Support/components/SupportRequest/components/SupportRequestSubmitted/supportRequestSubmitted.tsx +37 -0
- package/src/components/Support/components/SupportRequest/supportRequest.tsx +33 -0
- package/src/components/Support/components/ViewSupport/viewSupport.styles.ts +30 -0
- package/src/components/Support/components/ViewSupport/viewSupport.tsx +29 -0
- package/src/components/Table/common/entities.ts +4 -0
- package/src/components/Table/common/gridTable.styles.ts +38 -0
- package/src/components/Table/common/utils.ts +490 -0
- package/src/components/Table/components/CheckboxMenu/checkboxMenu.stories.tsx +54 -0
- package/src/components/Table/components/CheckboxMenu/checkboxMenu.styles.ts +22 -0
- package/src/components/Table/components/CheckboxMenu/checkboxMenu.tsx +85 -0
- package/src/components/Table/components/DownloadEntityResults/downloadEntityResults.tsx +37 -0
- package/src/components/Table/components/EntityViewToggle/entityViewToggle.tsx +36 -0
- package/src/components/Table/components/Pagination/pagination.stories.tsx +26 -0
- package/src/components/Table/components/Pagination/pagination.styles.ts +16 -0
- package/src/components/Table/components/Pagination/pagination.tsx +48 -0
- package/src/components/Table/components/PaginationSummary/paginationSummary.tsx +25 -0
- package/src/components/Table/components/TableBody/tableBody.tsx +59 -0
- package/src/components/Table/components/TableCell/components/CollapsableCell/collapsableCell.styles.ts +52 -0
- package/src/components/Table/components/TableCell/components/CollapsableCell/collapsableCell.tsx +67 -0
- package/src/components/Table/components/TableHead/tableHead.tsx +42 -0
- package/src/components/Table/components/TableRows/components/CollapsableRows/collapsableRows.tsx +35 -0
- package/src/components/Table/components/TableRows/components/VirtualizedRow/virtualizedRow.tsx +61 -0
- package/src/components/Table/components/TableRows/tableRows.tsx +40 -0
- package/src/components/Table/components/TableToolbar/tableToolbar.styles.ts +16 -0
- package/src/components/Table/components/TableToolbar/tableToolbar.tsx +72 -0
- package/src/components/Table/table.styles.ts +21 -0
- package/src/components/Table/table.tsx +321 -0
- package/src/components/TableCreator/tableCreator.tsx +91 -0
- package/src/components/TempError/components/errorBox.tsx +15 -0
- package/src/components/TempError/index.ts +1 -0
- package/src/components/TempError/tempError.tsx +25 -0
- package/src/components/common/Accordion/accordion.stories.tsx +35 -0
- package/src/components/common/Accordion/accordion.tsx +41 -0
- package/src/components/common/Alert/alert.stories.tsx +41 -0
- package/src/components/common/Alert/alert.styles.ts +28 -0
- package/src/components/common/Alert/alert.tsx +39 -0
- package/src/components/common/AnchorLink/anchorLink.styles.ts +14 -0
- package/src/components/common/AnchorLink/anchorLink.tsx +19 -0
- package/src/components/common/Banner/banner.tsx +22 -0
- package/src/components/common/Banner/components/BannerPrimary/bannerPrimary.styles.ts +20 -0
- package/src/components/common/Banner/components/BannerPrimary/bannerPrimary.tsx +27 -0
- package/src/components/common/Banner/components/CookieBanner/cookieBanner.styles.ts +48 -0
- package/src/components/common/Banner/components/CookieBanner/cookieBanner.tsx +85 -0
- package/src/components/common/Banner/components/DismissibleBanner/dismissibleBanner.tsx +44 -0
- package/src/components/common/Banner/components/SessionTimeout/sessionTimeout.styles.ts +22 -0
- package/src/components/common/Banner/components/SessionTimeout/sessionTimeout.tsx +26 -0
- package/src/components/common/Banner/components/SystemIndexing/systemIndexing.tsx +33 -0
- package/src/components/common/Banner/components/SystemStatus/systemStatus.tsx +33 -0
- package/src/components/common/Breadcrumbs/breadcrumbs.stories.tsx +58 -0
- package/src/components/common/Breadcrumbs/breadcrumbs.tsx +45 -0
- package/src/components/common/Button/button.tsx +37 -0
- package/src/components/common/Button/components/ButtonOutline/buttonOutline.styles.ts +18 -0
- package/src/components/common/Button/components/ButtonOutline/buttonOutline.tsx +23 -0
- package/src/components/common/Button/components/ButtonPrimary/buttonPrimary.tsx +13 -0
- package/src/components/common/Button/components/ButtonSecondary/buttonSecondary.tsx +15 -0
- package/src/components/common/Button/components/ButtonSecondaryOutline/buttonSecondaryOutline.tsx +14 -0
- package/src/components/common/Button/components/ButtonText/buttonText.styles.ts +13 -0
- package/src/components/common/Button/components/ButtonText/buttonText.tsx +8 -0
- package/src/components/common/Button/components/ButtonTextPrimary/buttonTextPrimary.styles.ts +9 -0
- package/src/components/common/Button/components/ButtonTextPrimary/buttonTextPrimary.tsx +8 -0
- package/src/components/common/Button/components/ButtonTextUnderline/buttonTextUnderline.styles.ts +14 -0
- package/src/components/common/Button/components/ButtonTextUnderline/buttonTextUnderline.tsx +8 -0
- package/src/components/common/Button/components/CallToActionButton/callToActionButton.stories.tsx +36 -0
- package/src/components/common/Button/components/CallToActionButton/callToActionButton.tsx +51 -0
- package/src/components/common/Button/components/DropdownButton/dropdownButton.styles.ts +11 -0
- package/src/components/common/Button/components/DropdownButton/dropdownButton.tsx +18 -0
- package/src/components/common/Button/components/FileDownloadButton/fileDownloadButton.tsx +27 -0
- package/src/components/common/Button/components/HelpIconButton/helpIconButton.stories.tsx +25 -0
- package/src/components/common/Button/components/HelpIconButton/helpIconButton.styles.ts +8 -0
- package/src/components/common/Button/components/HelpIconButton/helpIconButton.tsx +40 -0
- package/src/components/common/Button/components/LoginButton/loginButton.styles.ts +13 -0
- package/src/components/common/Button/components/LoginButton/loginButton.tsx +16 -0
- package/src/components/common/Button/components/NavigationButton/navigationButton.styles.ts +31 -0
- package/src/components/common/Button/components/NavigationButton/navigationButton.tsx +26 -0
- package/src/components/common/ButtonGroup/buttonGroup.tsx +50 -0
- package/src/components/common/ButtonGroup/components/ButtonGroupButton/buttonGroupButton.tsx +32 -0
- package/src/components/common/Card/card.stories.tsx +43 -0
- package/src/components/common/Card/card.styles.ts +15 -0
- package/src/components/common/Card/card.tsx +67 -0
- package/src/components/common/Card/components/CardAction/cardAction.tsx +17 -0
- package/src/components/common/Card/components/CardActionArea/cardActionArea.tsx +35 -0
- package/src/components/common/Card/components/CardActions/cardActions.styles.ts +9 -0
- package/src/components/common/Card/components/CardActions/cardActions.tsx +16 -0
- package/src/components/common/Card/components/CardMedia/cardMedia.styles.ts +11 -0
- package/src/components/common/Card/components/CardMedia/cardMedia.tsx +23 -0
- package/src/components/common/Card/components/CardSecondaryText/cardSecondaryText.tsx +22 -0
- package/src/components/common/Card/components/CardSecondaryTitle/cardSecondaryTitle.styles.ts +6 -0
- package/src/components/common/Card/components/CardSecondaryTitle/cardSecondaryTitle.tsx +22 -0
- package/src/components/common/Card/components/CardText/cardText.tsx +18 -0
- package/src/components/common/Card/components/CardTitle/cardTitle.tsx +18 -0
- package/src/components/common/Card/components/RoundedCard/roundedCard.tsx +11 -0
- package/src/components/common/Code/code.stories.tsx +17 -0
- package/src/components/common/Code/code.styles.ts +61 -0
- package/src/components/common/Code/code.tsx +38 -0
- package/src/components/common/CopyToClipboard/copyToClipboard.stories.tsx +20 -0
- package/src/components/common/CopyToClipboard/copyToClipboard.tsx +50 -0
- package/src/components/common/CustomIcon/common/constants.ts +14 -0
- package/src/components/common/CustomIcon/common/entities.ts +6 -0
- package/src/components/common/CustomIcon/components/AddIcon/addIcon.tsx +22 -0
- package/src/components/common/CustomIcon/components/AlertIcon/alertIcon.tsx +22 -0
- package/src/components/common/CustomIcon/components/BackArrowIcon/backArrowIcon.tsx +22 -0
- package/src/components/common/CustomIcon/components/CheckedIcon/checkedIcon.tsx +26 -0
- package/src/components/common/CustomIcon/components/ContactSupportIcon/contactSupportIcon.tsx +22 -0
- package/src/components/common/CustomIcon/components/ContentCopyIcon/contentCopyIcon.tsx +22 -0
- package/src/components/common/CustomIcon/components/DiscourseIcon/discourseIcon.tsx +22 -0
- package/src/components/common/CustomIcon/components/DownloadIcon/downloadIcon.tsx +22 -0
- package/src/components/common/CustomIcon/components/EmailReadIcon/emailReadIcon.tsx +22 -0
- package/src/components/common/CustomIcon/components/ErrorIcon/errorIcon.tsx +22 -0
- package/src/components/common/CustomIcon/components/FacebookIcon/facebookIcon.tsx +22 -0
- package/src/components/common/CustomIcon/components/FeedbackIcon/feedbackIcon.tsx +22 -0
- package/src/components/common/CustomIcon/components/FormStatusCompletedIcon/formStatusCompletedIcon.tsx +23 -0
- package/src/components/common/CustomIcon/components/FormStatusIncompleteIcon/formStatusIncompleteIcon.tsx +28 -0
- package/src/components/common/CustomIcon/components/ForwardArrowIcon/forwardArrowIcon.tsx +18 -0
- package/src/components/common/CustomIcon/components/GitHubIcon/gitHubIcon.tsx +22 -0
- package/src/components/common/CustomIcon/components/GoogleIcon/googleIcon.tsx +34 -0
- package/src/components/common/CustomIcon/components/HelpIcon/helpIcon.tsx +22 -0
- package/src/components/common/CustomIcon/components/InfoIcon/infoIcon.tsx +22 -0
- package/src/components/common/CustomIcon/components/InventoryIcon/inventoryIcon.tsx +22 -0
- package/src/components/common/CustomIcon/components/LinkedInIcon/linkedInIcon.tsx +22 -0
- package/src/components/common/CustomIcon/components/LoadingIcon/loadingIcon.tsx +108 -0
- package/src/components/common/CustomIcon/components/OpenInNewIcon/openInNewIcon.tsx +22 -0
- package/src/components/common/CustomIcon/components/RadioCheckedIcon/radioCheckedIcon.tsx +24 -0
- package/src/components/common/CustomIcon/components/RadioUncheckedIcon/radioUncheckedIcon.tsx +27 -0
- package/src/components/common/CustomIcon/components/RemoveIcon/removeIcon.tsx +22 -0
- package/src/components/common/CustomIcon/components/SearchIcon/searchIcon.tsx +22 -0
- package/src/components/common/CustomIcon/components/SearchOffIcon/searchOffIcon.tsx +22 -0
- package/src/components/common/CustomIcon/components/Segment/segment.tsx +18 -0
- package/src/components/common/CustomIcon/components/SlackIcon/slackIcon.tsx +22 -0
- package/src/components/common/CustomIcon/components/SouthIcon/southIcon.tsx +22 -0
- package/src/components/common/CustomIcon/components/SuccessIcon/successIcon.tsx +22 -0
- package/src/components/common/CustomIcon/components/UncheckedErrorIcon/uncheckedErrorIcon.tsx +27 -0
- package/src/components/common/CustomIcon/components/UncheckedIcon/uncheckedIcon.tsx +27 -0
- package/src/components/common/CustomIcon/components/UnfoldMoreIcon/unfoldMoreIcon.tsx +22 -0
- package/src/components/common/CustomIcon/components/WarningIcon/warningIcon.tsx +22 -0
- package/src/components/common/CustomIcon/components/XIcon/xIcon.tsx +22 -0
- package/src/components/common/CustomIcon/components/YouTubeIcon/youTubeIcon.tsx +22 -0
- package/src/components/common/Dialog/components/DialogTitle/dialogTitle.tsx +26 -0
- package/src/components/common/Dot/dot.styles.ts +11 -0
- package/src/components/common/Dot/dot.tsx +10 -0
- package/src/components/common/EllipsisContent/ellipsisContent.styles.ts +24 -0
- package/src/components/common/EllipsisContent/ellipsisContent.tsx +204 -0
- package/src/components/common/Form/components/Input/input.styles.ts +55 -0
- package/src/components/common/Form/components/Input/input.tsx +37 -0
- package/src/components/common/Form/components/Select/components/DropDownIcon/dropDownIcon.tsx +10 -0
- package/src/components/common/Form/components/Select/select.styles.ts +26 -0
- package/src/components/common/Form/components/Select/select.tsx +37 -0
- package/src/components/common/Form/components/UploadFile/uploadFile.styles.ts +62 -0
- package/src/components/common/Form/components/UploadFile/uploadFile.tsx +88 -0
- package/src/components/common/Grid/components/GridItem/gridItem.tsx +25 -0
- package/src/components/common/Grid/grid.tsx +25 -0
- package/src/components/common/IconBadge/iconBadge.styles.ts +58 -0
- package/src/components/common/IconBadge/iconBadge.tsx +32 -0
- package/src/components/common/IconButton/components/LoadingIconButton/loadingIconButton.stories.tsx +15 -0
- package/src/components/common/IconButton/components/LoadingIconButton/loadingIconButton.tsx +15 -0
- package/src/components/common/IconButton/iconButton.styles.ts +90 -0
- package/src/components/common/IconButton/iconButton.tsx +34 -0
- package/src/components/common/Input/input.styles.ts +36 -0
- package/src/components/common/Input/input.tsx +62 -0
- package/src/components/common/KeyValuePairs/components/KeyElType/keyElType.tsx +21 -0
- package/src/components/common/KeyValuePairs/components/KeyValueElType/keyValueElType.tsx +34 -0
- package/src/components/common/KeyValuePairs/components/ValueElType/valueElType.tsx +21 -0
- package/src/components/common/KeyValuePairs/keyValuePairs.tsx +45 -0
- package/src/components/common/MDXMarkdown/components/Section/mdxSection.styles.ts +31 -0
- package/src/components/common/Markdown/markdown.tsx +13 -0
- package/src/components/common/Paper/paper.styles.ts +71 -0
- package/src/components/common/Paper/paper.tsx +38 -0
- package/src/components/common/RadioGroup/radioGroup.tsx +58 -0
- package/src/components/common/Section/components/CollapsableSection/collapsableSection.styles.ts +38 -0
- package/src/components/common/Section/components/CollapsableSection/collapsableSection.tsx +81 -0
- package/src/components/common/Section/components/SectionDetailsEmpty/sectionDetailsEmpty.tsx +11 -0
- package/src/components/common/Section/components/SectionTitle/sectionTitle.stories.tsx +20 -0
- package/src/components/common/Section/components/SectionTitle/sectionTitle.tsx +24 -0
- package/src/components/common/Section/section.styles.ts +66 -0
- package/src/components/common/Sections/sections.tsx +18 -0
- package/src/components/common/Socials/socials.stories.tsx +61 -0
- package/src/components/common/Socials/socials.styles.ts +5 -0
- package/src/components/common/Socials/socials.tsx +53 -0
- package/src/components/common/Stack/components/Divider/divider.styles.tsx +6 -0
- package/src/components/common/Stack/components/Divider/divider.tsx +25 -0
- package/src/components/common/Stack/stack.tsx +44 -0
- package/src/components/common/StaticImage/staticImage.stories.tsx +26 -0
- package/src/components/common/StaticImage/staticImage.tsx +35 -0
- package/src/components/common/StatusBadge/statusBadge.stories.tsx +18 -0
- package/src/components/common/StatusBadge/statusBadge.tsx +35 -0
- package/src/components/common/StatusIcon/statusIcon.stories.tsx +23 -0
- package/src/components/common/StatusIcon/statusIcon.styles.ts +50 -0
- package/src/components/common/StatusIcon/statusIcon.tsx +33 -0
- package/src/components/common/Tabs/tabs.styles.ts +48 -0
- package/src/components/common/Tabs/tabs.tsx +58 -0
- package/src/components/common/Tag/tag.stories.tsx +21 -0
- package/src/components/common/Tag/tag.styles.ts +13 -0
- package/src/components/common/Tag/tag.tsx +15 -0
- package/src/components/common/Title/title.styles.ts +7 -0
- package/src/components/common/Title/title.tsx +34 -0
- package/src/components/common/ToggleButtonGroup/toggleButtonGroup.stories.tsx +38 -0
- package/src/components/common/ToggleButtonGroup/toggleButtonGroup.tsx +87 -0
- package/src/components/common/Typography/TypographyWordBreak/TypographyWordBreak.tsx +22 -0
- package/src/config/config.ts +19 -0
- package/src/config/entities.ts +443 -0
- package/src/config/utils.ts +104 -0
- package/src/entity/api/service.ts +198 -0
- package/src/entity/apicf/service.ts +73 -0
- package/src/entity/common/client.ts +48 -0
- package/src/entity/common/service.ts +42 -0
- package/src/entity/common/utils.ts +14 -0
- package/src/entity/service/factory.ts +44 -0
- package/src/entity/service/model.ts +72 -0
- package/src/entity/tsv/service.ts +49 -0
- package/src/hooks/useAsync.ts +100 -0
- package/src/hooks/useAuthentication/common/constants.ts +22 -0
- package/src/hooks/useAuthentication/common/entities.ts +34 -0
- package/src/hooks/useAuthentication/common/utils.ts +31 -0
- package/src/hooks/useAuthentication/useAuthentication.tsx +10 -0
- package/src/hooks/useAuthentication/useAuthenticationComplete.ts +66 -0
- package/src/hooks/useAuthentication/useAuthenticationForm.ts +125 -0
- package/src/hooks/useAuthentication/useAuthenticationNIHExpiry.ts +62 -0
- package/src/hooks/useAuthentication/useAuthenticationStatus.ts +49 -0
- package/src/hooks/useAuthentication/useFetchGoogleProfile.ts +68 -0
- package/src/hooks/useAuthentication/useFetchTerraNIHProfile.ts +93 -0
- package/src/hooks/useAuthentication/useFetchTerraProfile.ts +100 -0
- package/src/hooks/useAuthentication/useFetchTerraTermsOfService.ts +89 -0
- package/src/hooks/useAuthentication/useTokenClient.ts +54 -0
- package/src/hooks/useAuthenticationConfig.ts +18 -0
- package/src/hooks/useBreakpointHelper.ts +24 -0
- package/src/hooks/useCatalog.ts +17 -0
- package/src/hooks/useCategoryConfigs.ts +17 -0
- package/src/hooks/useCategoryFilter.ts +266 -0
- package/src/hooks/useConfig.tsx +10 -0
- package/src/hooks/useCurrentDetailTab.ts +29 -0
- package/src/hooks/useDownloadStatus.ts +31 -0
- package/src/hooks/useEntityHeadTitle.ts +62 -0
- package/src/hooks/useEntityList.ts +212 -0
- package/src/hooks/useEntityListRelatedView.ts +78 -0
- package/src/hooks/useEntityService.ts +75 -0
- package/src/hooks/useExploreMode.ts +23 -0
- package/src/hooks/useExploreState.tsx +13 -0
- package/src/hooks/useExportConfig.ts +16 -0
- package/src/hooks/useExportToTerraResponseURL.ts +25 -0
- package/src/hooks/useFeatureFlag/common/entities.ts +4 -0
- package/src/hooks/useFeatureFlag/common/utils.ts +17 -0
- package/src/hooks/useFeatureFlag/useFeatureFlag.ts +19 -0
- package/src/hooks/useFetchEntity.tsx +81 -0
- package/src/hooks/useFetchRequestURL.ts +20 -0
- package/src/hooks/useFileLocation.ts +35 -0
- package/src/hooks/useFileManifest/common/buildFileManifestRequestURL.ts +45 -0
- package/src/hooks/useFileManifest/common/entities.ts +69 -0
- package/src/hooks/useFileManifest/common/utils.ts +218 -0
- package/src/hooks/useFileManifest/useFetchFilesFacets.ts +58 -0
- package/src/hooks/useFileManifest/useFetchSummary.ts +46 -0
- package/src/hooks/useFileManifest/useFileManifest.ts +19 -0
- package/src/hooks/useFileManifest/useFileManifestDownload.ts +120 -0
- package/src/hooks/useFileManifest/useFileManifestSpreadsheet.ts +95 -0
- package/src/hooks/useFileManifest/useFileManifestURL.ts +12 -0
- package/src/hooks/useFileManifest/useRequestFileManifest.ts +46 -0
- package/src/hooks/useFileManifestState.ts +13 -0
- package/src/hooks/useLayoutState.ts +13 -0
- package/src/hooks/useLocalStorage/common/utils.ts +19 -0
- package/src/hooks/useLocalStorage/useLocalStorage.ts +17 -0
- package/src/hooks/useLocation.ts +25 -0
- package/src/hooks/useRequestFileLocation.ts +159 -0
- package/src/hooks/useResetableState.ts +18 -0
- package/src/hooks/useResizeObserver.ts +111 -0
- package/src/hooks/useScroll.ts +21 -0
- package/src/hooks/useSessionTimeout.ts +34 -0
- package/src/hooks/useSummary.ts +47 -0
- package/src/hooks/useSystemStatus.ts +10 -0
- package/src/hooks/useURLFilterParams.ts +57 -0
- package/src/hooks/useUpdateURLCatalogParam.ts +21 -0
- package/src/hooks/useUpdateURLSearchParams.ts +19 -0
- package/src/hooks/useWindowResize.ts +47 -0
- package/src/images/logo.svg +3 -0
- package/src/index.ts +1 -0
- package/src/providers/authentication.tsx +181 -0
- package/src/providers/config.tsx +50 -0
- package/src/providers/exploreState/constants.ts +28 -0
- package/src/providers/exploreState/payloads/entities.ts +64 -0
- package/src/providers/exploreState/utils.ts +93 -0
- package/src/providers/exploreState.tsx +514 -0
- package/src/providers/fileManifestState.tsx +470 -0
- package/src/providers/layoutState.tsx +94 -0
- package/src/providers/systemStatus.tsx +112 -0
- package/src/shared/constants.ts +1 -0
- package/src/shared/utils.ts +43 -0
- package/src/styles/common/mixins/breakpoints.ts +20 -0
- package/src/styles/common/mixins/colors.ts +68 -0
- package/src/styles/common/mixins/fonts.ts +52 -0
- package/src/styles/common/mixins/shadows.ts +7 -0
- package/src/theme/common/breakpoints.ts +41 -0
- package/src/theme/common/components.ts +1563 -0
- package/src/theme/common/palette.ts +242 -0
- package/src/theme/common/shadows.ts +34 -0
- package/src/theme/common/typography.ts +200 -0
- package/src/theme/theme.ts +125 -0
- package/src/types/error.ts +21 -0
- package/src/utils/database.ts +58 -0
- package/src/utils/fetchQueryParams.ts +27 -0
- package/src/utils/formatCountSize.ts +27 -0
- package/src/utils/formatFileSize.ts +26 -0
- package/src/utils/ssr.ts +5 -0
- package/src/utils/url.ts +20 -0
- package/src/viewModelBuilders/common/entities.ts +4 -0
- package/src/viewModelBuilders/common/utils.ts +45 -0
- package/src/views/ContentView/contentView.stories.tsx +105 -0
- package/src/views/ContentView/contentView.tsx +26 -0
- package/src/views/EntityDetailView/entityDetailView.tsx +86 -0
- package/src/views/ExploreView/exploreView.tsx +337 -0
- package/src/views/ExportMethodView/exportMethodView.tsx +42 -0
- package/src/views/ExportView/exportView.tsx +32 -0
- package/src/views/LoginView/loginView.tsx +18 -0
- package/tests/authentication.test.ts +136 -0
- package/tests/filterMenu.test.ts +100 -0
- package/tests/tsconfig.json +7 -0
- package/tests/useAuthenticationStatus.test.ts +155 -0
- package/tests/viewModelBuilders_utils.test.ts +58 -0
- package/tsconfig.json +22 -0
- package/types/data-explorer-ui.d.ts +250 -0
- package/types/global.d.ts +17 -0
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { TableCell, TableHead as MTableHead, TableRow } from "@mui/material";
|
|
2
|
+
import { flexRender, Table } from "@tanstack/react-table";
|
|
3
|
+
import React, { Fragment } from "react";
|
|
4
|
+
import { ROW_DIRECTION } from "../../../../../Table/common/entities";
|
|
5
|
+
|
|
6
|
+
export interface TableBodyProps<T> {
|
|
7
|
+
rowDirection: ROW_DIRECTION;
|
|
8
|
+
tableInstance: Table<T>;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export const TableHead = <T extends object>({
|
|
12
|
+
rowDirection,
|
|
13
|
+
tableInstance,
|
|
14
|
+
}: TableBodyProps<T>): JSX.Element => {
|
|
15
|
+
return (
|
|
16
|
+
<Fragment>
|
|
17
|
+
{rowDirection === ROW_DIRECTION.DEFAULT &&
|
|
18
|
+
tableInstance.getHeaderGroups().map((headerGroup) => (
|
|
19
|
+
<MTableHead key={headerGroup.id}>
|
|
20
|
+
<TableRow>
|
|
21
|
+
{headerGroup.headers.map((header) => (
|
|
22
|
+
<TableCell key={header.id}>
|
|
23
|
+
{flexRender(
|
|
24
|
+
header.column.columnDef.header,
|
|
25
|
+
header.getContext()
|
|
26
|
+
)}
|
|
27
|
+
</TableCell>
|
|
28
|
+
))}
|
|
29
|
+
</TableRow>
|
|
30
|
+
</MTableHead>
|
|
31
|
+
))}
|
|
32
|
+
</Fragment>
|
|
33
|
+
);
|
|
34
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { TableRow } from "@mui/material";
|
|
2
|
+
import { Table } from "@tanstack/react-table";
|
|
3
|
+
import React, { Fragment } from "react";
|
|
4
|
+
import { v4 as uuid4 } from "uuid";
|
|
5
|
+
import { CollapsableCell } from "../../../../../../../Table/components/TableCell/components/CollapsableCell/collapsableCell";
|
|
6
|
+
|
|
7
|
+
export interface CollapsableRowsProps<T> {
|
|
8
|
+
tableInstance: Table<T>;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export const CollapsableRows = <T extends object>({
|
|
12
|
+
tableInstance,
|
|
13
|
+
}: CollapsableRowsProps<T>): JSX.Element => {
|
|
14
|
+
const { getRowModel } = tableInstance;
|
|
15
|
+
const { rows } = getRowModel();
|
|
16
|
+
const uuid = uuid4(); // Generate a unique ID for the collapsable rows.
|
|
17
|
+
return (
|
|
18
|
+
<Fragment>
|
|
19
|
+
{rows.map((row) => {
|
|
20
|
+
return (
|
|
21
|
+
<TableRow key={`${uuid}${row.id}`}>
|
|
22
|
+
<CollapsableCell row={row} />
|
|
23
|
+
</TableRow>
|
|
24
|
+
);
|
|
25
|
+
})}
|
|
26
|
+
</Fragment>
|
|
27
|
+
);
|
|
28
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { TableCell, TableRow as MTableRow } from "@mui/material";
|
|
2
|
+
import { flexRender, Table } from "@tanstack/react-table";
|
|
3
|
+
import React, { Fragment } from "react";
|
|
4
|
+
import { TableView } from "../../table";
|
|
5
|
+
|
|
6
|
+
export interface TableRowsProps<T> {
|
|
7
|
+
tableInstance: Table<T>;
|
|
8
|
+
tableView?: TableView;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export const TableRows = <T extends object>({
|
|
12
|
+
tableInstance,
|
|
13
|
+
tableView,
|
|
14
|
+
}: TableRowsProps<T>): JSX.Element => {
|
|
15
|
+
const { getRowModel } = tableInstance;
|
|
16
|
+
const { rows } = getRowModel();
|
|
17
|
+
const { tableCell } = tableView || {};
|
|
18
|
+
const { size: tableCellSize = "medium" } = tableCell || {};
|
|
19
|
+
return (
|
|
20
|
+
<Fragment>
|
|
21
|
+
{rows.map((row) => {
|
|
22
|
+
return (
|
|
23
|
+
<MTableRow key={row.id}>
|
|
24
|
+
{row.getVisibleCells().map((cell) => {
|
|
25
|
+
return (
|
|
26
|
+
<TableCell key={cell.id} size={tableCellSize}>
|
|
27
|
+
{flexRender(cell.column.columnDef.cell, cell.getContext())}
|
|
28
|
+
</TableCell>
|
|
29
|
+
);
|
|
30
|
+
})}
|
|
31
|
+
</MTableRow>
|
|
32
|
+
);
|
|
33
|
+
})}
|
|
34
|
+
</Fragment>
|
|
35
|
+
);
|
|
36
|
+
};
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import {
|
|
2
|
+
TableCellProps as MTableCellProps,
|
|
3
|
+
TableContainer,
|
|
4
|
+
TableContainerProps as MTableContainerProps,
|
|
5
|
+
TableProps as MTableProps,
|
|
6
|
+
} from "@mui/material";
|
|
7
|
+
import {
|
|
8
|
+
ColumnDef,
|
|
9
|
+
getCoreRowModel,
|
|
10
|
+
useReactTable,
|
|
11
|
+
} from "@tanstack/react-table";
|
|
12
|
+
import React from "react";
|
|
13
|
+
import {
|
|
14
|
+
BREAKPOINT_FN_NAME,
|
|
15
|
+
useBreakpointHelper,
|
|
16
|
+
} from "../../../../hooks/useBreakpointHelper";
|
|
17
|
+
import { TABLET } from "../../../../theme/common/breakpoints";
|
|
18
|
+
import { ROW_DIRECTION } from "../../../Table/common/entities";
|
|
19
|
+
import { GridTable } from "../../../Table/table.styles";
|
|
20
|
+
import { generateColumnDefinitions } from "./common/utils";
|
|
21
|
+
import { TableBody } from "./components/TableBody/tableBody";
|
|
22
|
+
import { TableHead } from "./components/TableHead/tableHead";
|
|
23
|
+
|
|
24
|
+
export interface TableView {
|
|
25
|
+
table?: Partial<MTableProps>;
|
|
26
|
+
tableCell?: Partial<MTableCellProps>;
|
|
27
|
+
tableContainer?: Partial<MTableContainerProps>;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export interface TableProps<T extends object> {
|
|
31
|
+
className?: string;
|
|
32
|
+
collapsable?: boolean;
|
|
33
|
+
columns: ColumnDef<T>[];
|
|
34
|
+
gridTemplateColumns: string;
|
|
35
|
+
items: T[];
|
|
36
|
+
tableView?: TableView;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export const Table = <T extends object>({
|
|
40
|
+
className,
|
|
41
|
+
collapsable = true,
|
|
42
|
+
columns,
|
|
43
|
+
gridTemplateColumns,
|
|
44
|
+
items,
|
|
45
|
+
tableView,
|
|
46
|
+
}: TableProps<T>): JSX.Element => {
|
|
47
|
+
const tabletDown = useBreakpointHelper(BREAKPOINT_FN_NAME.DOWN, TABLET);
|
|
48
|
+
const rowDirection =
|
|
49
|
+
collapsable && tabletDown ? ROW_DIRECTION.VERTICAL : ROW_DIRECTION.DEFAULT;
|
|
50
|
+
const { table, tableContainer } = tableView || {};
|
|
51
|
+
const { stickyHeader = false } = table || {};
|
|
52
|
+
const { sx: tableContainerSx } = tableContainer || {};
|
|
53
|
+
const tableInstance = useReactTable({
|
|
54
|
+
columns: generateColumnDefinitions(columns),
|
|
55
|
+
data: items,
|
|
56
|
+
getCoreRowModel: getCoreRowModel(),
|
|
57
|
+
});
|
|
58
|
+
return (
|
|
59
|
+
<TableContainer className={className} sx={tableContainerSx}>
|
|
60
|
+
<GridTable
|
|
61
|
+
collapsable={collapsable}
|
|
62
|
+
gridTemplateColumns={gridTemplateColumns}
|
|
63
|
+
stickyHeader={rowDirection === ROW_DIRECTION.DEFAULT && stickyHeader}
|
|
64
|
+
>
|
|
65
|
+
<TableHead rowDirection={rowDirection} tableInstance={tableInstance} />
|
|
66
|
+
<TableBody
|
|
67
|
+
rowDirection={rowDirection}
|
|
68
|
+
tableInstance={tableInstance}
|
|
69
|
+
tableView={tableView}
|
|
70
|
+
/>
|
|
71
|
+
</GridTable>
|
|
72
|
+
</TableContainer>
|
|
73
|
+
);
|
|
74
|
+
};
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { ComponentMeta, ComponentStory } from "@storybook/react";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { CollaboratingOrganizationsStory } from "../Project/components/CollaboratingOrganizations/collaboratingOrganizations.stories";
|
|
4
|
+
import { ContactsStory } from "../Project/components/Contacts/contacts.stories";
|
|
5
|
+
import { ContributorsStory } from "../Project/components/Contributors/contributors.stories";
|
|
6
|
+
import { DataCuratorsStory } from "../Project/components/DataCurators/dataCurators.stories";
|
|
7
|
+
import { DataReleasePolicyStory } from "../Project/components/DataReleasePolicy/dataReleasePolicy.stories";
|
|
8
|
+
import { DescriptionStory } from "../Project/components/Description/description.stories";
|
|
9
|
+
import { DetailsStory } from "../Project/components/Details/details.stories";
|
|
10
|
+
import { PublicationsStory } from "../Project/components/Publications/publications.stories";
|
|
11
|
+
import { SupplementaryLinksStory } from "../Project/components/SupplementaryLinks/supplementaryLinks.stories";
|
|
12
|
+
import { Detail } from "./detail";
|
|
13
|
+
|
|
14
|
+
export default {
|
|
15
|
+
argTypes: {
|
|
16
|
+
Tabs: { table: { disable: true } },
|
|
17
|
+
isDetailOverview: { control: "boolean" },
|
|
18
|
+
mainColumn: { table: { disable: true } },
|
|
19
|
+
sideColumn: { table: { disable: true } },
|
|
20
|
+
top: { table: { disable: true } },
|
|
21
|
+
},
|
|
22
|
+
component: Detail,
|
|
23
|
+
parameters: {
|
|
24
|
+
layout: "fullscreen",
|
|
25
|
+
},
|
|
26
|
+
title: "Views/EntityDetailView",
|
|
27
|
+
} as ComponentMeta<typeof Detail>;
|
|
28
|
+
|
|
29
|
+
const DetailTemplate: ComponentStory<typeof Detail> = (args) => (
|
|
30
|
+
<Detail {...args} />
|
|
31
|
+
);
|
|
32
|
+
|
|
33
|
+
export const DetailStory = DetailTemplate.bind({});
|
|
34
|
+
DetailStory.args = {
|
|
35
|
+
isDetailOverview: true,
|
|
36
|
+
mainColumn: (
|
|
37
|
+
<>
|
|
38
|
+
<DescriptionStory
|
|
39
|
+
projectDescription={DescriptionStory.args?.projectDescription || "None"}
|
|
40
|
+
/>
|
|
41
|
+
<ContactsStory {...ContactsStory.args} />
|
|
42
|
+
<PublicationsStory {...PublicationsStory.args} />
|
|
43
|
+
<ContributorsStory {...ContributorsStory.args} />
|
|
44
|
+
<CollaboratingOrganizationsStory
|
|
45
|
+
{...CollaboratingOrganizationsStory.args}
|
|
46
|
+
/>
|
|
47
|
+
<DataCuratorsStory {...DataCuratorsStory.args} />
|
|
48
|
+
{/*<CitationStory {...CitationStory.args} />*/}
|
|
49
|
+
<SupplementaryLinksStory {...SupplementaryLinksStory.args} />
|
|
50
|
+
<DataReleasePolicyStory />
|
|
51
|
+
</>
|
|
52
|
+
),
|
|
53
|
+
sideColumn: (
|
|
54
|
+
<>
|
|
55
|
+
<DetailsStory
|
|
56
|
+
keyValuePairs={DetailsStory.args?.keyValuePairs}
|
|
57
|
+
title={DetailsStory.args?.title ?? ""}
|
|
58
|
+
/>
|
|
59
|
+
</>
|
|
60
|
+
),
|
|
61
|
+
top: <></>,
|
|
62
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import React, { ReactNode } from "react";
|
|
2
|
+
import { BackPageView } from "../Layout/components/BackPage/backPageView";
|
|
3
|
+
|
|
4
|
+
export interface DetailProps {
|
|
5
|
+
isDetailOverview?: boolean;
|
|
6
|
+
mainColumn: ReactNode;
|
|
7
|
+
sideColumn?: ReactNode;
|
|
8
|
+
Tabs?: ReactNode;
|
|
9
|
+
top: ReactNode;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export const Detail = ({
|
|
13
|
+
isDetailOverview,
|
|
14
|
+
mainColumn,
|
|
15
|
+
sideColumn,
|
|
16
|
+
Tabs,
|
|
17
|
+
top,
|
|
18
|
+
}: DetailProps): JSX.Element => {
|
|
19
|
+
return (
|
|
20
|
+
<BackPageView
|
|
21
|
+
isDetailOverview={isDetailOverview}
|
|
22
|
+
mainColumn={mainColumn}
|
|
23
|
+
sideColumn={sideColumn}
|
|
24
|
+
Tabs={Tabs}
|
|
25
|
+
top={top}
|
|
26
|
+
/>
|
|
27
|
+
);
|
|
28
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
import { Error } from "./error";
|
|
3
|
+
|
|
4
|
+
export default {
|
|
5
|
+
argTypes: {
|
|
6
|
+
errorMessage: { control: "text" },
|
|
7
|
+
requestUrlMessage: { control: "text" },
|
|
8
|
+
rootPath: { control: "text" },
|
|
9
|
+
},
|
|
10
|
+
component: Error,
|
|
11
|
+
parameters: {
|
|
12
|
+
layout: "fullscreen",
|
|
13
|
+
},
|
|
14
|
+
title: "Components/Communication",
|
|
15
|
+
} as Meta<typeof Error>;
|
|
16
|
+
|
|
17
|
+
type Story = StoryObj<typeof Error>;
|
|
18
|
+
|
|
19
|
+
export const ClientSideErrorStory: Story = {
|
|
20
|
+
args: {
|
|
21
|
+
rootPath: "#",
|
|
22
|
+
},
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
export const ClientSideErrorWithErrorCodeStory: Story = {
|
|
26
|
+
args: {
|
|
27
|
+
errorMessage:
|
|
28
|
+
"curl --location --fail 'https://service.azul.data.humancellatlas.org/manifest/files?catalog=dcp16&format=curl&filters=%7B%22projectId%22%3A+%7B%22is%22%3A+%5B%22f86f1ab4-1fbb-4510-ae35-3ffd752d4dfc%22%5D%7D%2C+%22fileFormat%22%3A+%7B%22is%22%3A+%5B%22fastq.gz%22%5D%7D%2C+%22genusSpecies%22%3A%7B%22is%22%3A%5B%22Homo+sapiens%22%5D%7D%7D&objectKey=manifests%2Fee705e99-35d3-5ae1-9e31-89d206e4240b.e735a6e0-9914-5b40-8fa2-c4d581644f50.curlrc' | curl --config -",
|
|
29
|
+
requestUrlMessage:
|
|
30
|
+
"https://service.azul.data.humancellatlas.org/manifest/files?catalog=dcp16&format=compact&filters=%7B%22projectId%22%3A+%7B%22is%22%3A+%5B%2274b6d569-3b11-42ef-b6b1-a0454522b4a0%22%5D%7D%2C+%22genusSpecies%22%3A+%7B%22is%22%",
|
|
31
|
+
rootPath: "#",
|
|
32
|
+
},
|
|
33
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import styled from "@emotion/styled";
|
|
2
|
+
import { textBody4002Lines } from "../../styles/common/mixins/fonts";
|
|
3
|
+
import { TABLET } from "../../theme/common/breakpoints";
|
|
4
|
+
import { Section, sectionMarginXsm } from "../common/Section/section.styles";
|
|
5
|
+
|
|
6
|
+
interface Props {
|
|
7
|
+
offset: number;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export const ErrorLayout = styled("div", {
|
|
11
|
+
shouldForwardProp: (prop) => prop !== "offset",
|
|
12
|
+
})<Props>`
|
|
13
|
+
flex: 1;
|
|
14
|
+
margin-top: ${({ offset }) => offset}px;
|
|
15
|
+
`;
|
|
16
|
+
|
|
17
|
+
export const Error = styled.div`
|
|
18
|
+
margin: 0 auto;
|
|
19
|
+
max-width: 648px;
|
|
20
|
+
padding: 40px 20px;
|
|
21
|
+
width: 100%;
|
|
22
|
+
|
|
23
|
+
hr {
|
|
24
|
+
margin: 32px 0;
|
|
25
|
+
}
|
|
26
|
+
`;
|
|
27
|
+
|
|
28
|
+
export const ErrorSection = styled(Section)`
|
|
29
|
+
align-items: center;
|
|
30
|
+
padding: 0;
|
|
31
|
+
|
|
32
|
+
${({ theme }) => theme.breakpoints.up(TABLET)} {
|
|
33
|
+
padding: 0;
|
|
34
|
+
}
|
|
35
|
+
`;
|
|
36
|
+
|
|
37
|
+
export const SectionContent = styled.div`
|
|
38
|
+
text-align: center;
|
|
39
|
+
`;
|
|
40
|
+
|
|
41
|
+
export const ErrorCode = styled.div`
|
|
42
|
+
${sectionMarginXsm}
|
|
43
|
+
${textBody4002Lines}
|
|
44
|
+
font-family: "Roboto Mono", monospace;
|
|
45
|
+
font-size: 12px;
|
|
46
|
+
overflow-wrap: anywhere;
|
|
47
|
+
`;
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import { Divider, Typography } from "@mui/material";
|
|
2
|
+
import Link from "next/link";
|
|
3
|
+
import React from "react";
|
|
4
|
+
import { useExploreState } from "../../hooks/useExploreState";
|
|
5
|
+
import { useLayoutState } from "../../hooks/useLayoutState";
|
|
6
|
+
import { ExploreActionKind } from "../../providers/exploreState";
|
|
7
|
+
import { ButtonPrimary } from "../common/Button/components/ButtonPrimary/buttonPrimary";
|
|
8
|
+
import { AlertIcon } from "../common/CustomIcon/components/AlertIcon/alertIcon";
|
|
9
|
+
import { Grid } from "../common/Grid/grid";
|
|
10
|
+
import { RoundedPaper } from "../common/Paper/paper.styles";
|
|
11
|
+
import {
|
|
12
|
+
SectionActions,
|
|
13
|
+
SectionContent as Content,
|
|
14
|
+
} from "../common/Section/section.styles";
|
|
15
|
+
import { PRIORITY, StatusIcon } from "../common/StatusIcon/statusIcon";
|
|
16
|
+
import {
|
|
17
|
+
Error as CustomError,
|
|
18
|
+
ErrorCode,
|
|
19
|
+
ErrorLayout,
|
|
20
|
+
ErrorSection,
|
|
21
|
+
SectionContent,
|
|
22
|
+
} from "./error.styles";
|
|
23
|
+
|
|
24
|
+
interface ErrorDetailSectionProps {
|
|
25
|
+
detail: string;
|
|
26
|
+
title: string;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
const ErrorMessage = ({
|
|
30
|
+
detail,
|
|
31
|
+
title,
|
|
32
|
+
}: ErrorDetailSectionProps): JSX.Element => (
|
|
33
|
+
<Content>
|
|
34
|
+
<Typography component="h3" variant="text-body-large-500">
|
|
35
|
+
{title}
|
|
36
|
+
</Typography>
|
|
37
|
+
<RoundedPaper>
|
|
38
|
+
<ErrorCode>{detail}</ErrorCode>
|
|
39
|
+
</RoundedPaper>
|
|
40
|
+
</Content>
|
|
41
|
+
);
|
|
42
|
+
|
|
43
|
+
export interface ErrorProps {
|
|
44
|
+
errorMessage?: string;
|
|
45
|
+
onReset?: () => void;
|
|
46
|
+
requestUrlMessage?: string;
|
|
47
|
+
rootPath?: string;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export const Error = ({
|
|
51
|
+
errorMessage,
|
|
52
|
+
onReset,
|
|
53
|
+
requestUrlMessage,
|
|
54
|
+
rootPath,
|
|
55
|
+
}: ErrorProps): JSX.Element => {
|
|
56
|
+
const { exploreDispatch } = useExploreState();
|
|
57
|
+
const {
|
|
58
|
+
layoutState: { headerHeight },
|
|
59
|
+
} = useLayoutState();
|
|
60
|
+
|
|
61
|
+
const handleToHomePageClicked = (): void => {
|
|
62
|
+
onReset?.();
|
|
63
|
+
exploreDispatch({
|
|
64
|
+
payload: "",
|
|
65
|
+
type: ExploreActionKind.ResetState,
|
|
66
|
+
});
|
|
67
|
+
};
|
|
68
|
+
|
|
69
|
+
return (
|
|
70
|
+
<ErrorLayout offset={headerHeight}>
|
|
71
|
+
<CustomError>
|
|
72
|
+
<ErrorSection>
|
|
73
|
+
<StatusIcon priority={PRIORITY.HIGH} StatusIcon={AlertIcon} />
|
|
74
|
+
<SectionContent>
|
|
75
|
+
<Typography component="h1" variant="text-heading-xlarge">
|
|
76
|
+
Error
|
|
77
|
+
</Typography>
|
|
78
|
+
<Typography variant="text-body-large-400">
|
|
79
|
+
An error occurred processing your request
|
|
80
|
+
</Typography>
|
|
81
|
+
</SectionContent>
|
|
82
|
+
{rootPath && (
|
|
83
|
+
<SectionActions>
|
|
84
|
+
<Link href={rootPath} legacyBehavior passHref>
|
|
85
|
+
<ButtonPrimary
|
|
86
|
+
onClick={handleToHomePageClicked}
|
|
87
|
+
href="passHref"
|
|
88
|
+
>
|
|
89
|
+
To Homepage
|
|
90
|
+
</ButtonPrimary>
|
|
91
|
+
</Link>
|
|
92
|
+
</SectionActions>
|
|
93
|
+
)}
|
|
94
|
+
</ErrorSection>
|
|
95
|
+
{(requestUrlMessage || errorMessage) && (
|
|
96
|
+
<>
|
|
97
|
+
<Divider />
|
|
98
|
+
<Grid gridSx={{ gap: 6 }}>
|
|
99
|
+
{requestUrlMessage && (
|
|
100
|
+
<ErrorMessage detail={requestUrlMessage} title="Request URL" />
|
|
101
|
+
)}
|
|
102
|
+
{errorMessage && (
|
|
103
|
+
<ErrorMessage detail={errorMessage} title="Error Message" />
|
|
104
|
+
)}
|
|
105
|
+
</Grid>
|
|
106
|
+
</>
|
|
107
|
+
)}
|
|
108
|
+
</CustomError>
|
|
109
|
+
</ErrorLayout>
|
|
110
|
+
);
|
|
111
|
+
};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import React, { PropsWithChildren, PropsWithRef } from "react";
|
|
2
|
+
|
|
3
|
+
interface ErrorBoundaryState {
|
|
4
|
+
error?: Error;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
interface FallbackRenderProps {
|
|
8
|
+
error: Error;
|
|
9
|
+
reset: () => void;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
interface ErrorBoundaryProps {
|
|
13
|
+
fallbackRender: (props: FallbackRenderProps) => React.ReactNode;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
type ErrorBoundaryPropsType = PropsWithRef<
|
|
17
|
+
PropsWithChildren<ErrorBoundaryProps>
|
|
18
|
+
>;
|
|
19
|
+
|
|
20
|
+
export class ErrorBoundary extends React.Component<
|
|
21
|
+
ErrorBoundaryPropsType,
|
|
22
|
+
ErrorBoundaryState
|
|
23
|
+
> {
|
|
24
|
+
constructor(props: ErrorBoundaryPropsType) {
|
|
25
|
+
super(props);
|
|
26
|
+
this.reset = this.reset.bind(this);
|
|
27
|
+
this.state = {};
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
static getDerivedStateFromError(error: Error): ErrorBoundaryState {
|
|
31
|
+
return { error };
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
reset(): void {
|
|
35
|
+
this.setState({});
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
render(): React.ReactNode {
|
|
39
|
+
if (this.state.error) {
|
|
40
|
+
const fallbackProps = { error: this.state.error, reset: this.render };
|
|
41
|
+
return this.props.fallbackRender(fallbackProps);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
return this.props.children;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ErrorBoundary } from "./errorBoundary";
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { MANIFEST_DOWNLOAD_FORMAT } from "../../../apis/azul/common/entities";
|
|
2
|
+
import {
|
|
3
|
+
FileFacet,
|
|
4
|
+
Term,
|
|
5
|
+
} from "../../../hooks/useFileManifest/common/entities";
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Set of supported shells that bulk download curl can be executed on.
|
|
9
|
+
*/
|
|
10
|
+
export enum BULK_DOWNLOAD_EXECUTION_ENVIRONMENT {
|
|
11
|
+
"BASH" = "bash",
|
|
12
|
+
"CMD_EXE" = "cmd.exe",
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Execution environment.
|
|
17
|
+
*/
|
|
18
|
+
export type ExecutionEnvironment = BULK_DOWNLOAD_EXECUTION_ENVIRONMENT;
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Model of file summary "file type/file format" facet.
|
|
22
|
+
*/
|
|
23
|
+
export interface FileSummaryFacet extends Omit<FileFacet, "terms"> {
|
|
24
|
+
formLabel?: string;
|
|
25
|
+
terms: FileSummaryTerm[];
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Model of file summary "file type/file format" facet term.
|
|
30
|
+
*/
|
|
31
|
+
export interface FileSummaryTerm extends Term {
|
|
32
|
+
size?: number;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* Model of form related facet.
|
|
37
|
+
*/
|
|
38
|
+
export interface FormFacet {
|
|
39
|
+
fileSummaryFacet?: FileSummaryFacet;
|
|
40
|
+
speciesFacet?: FormFileFacet;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Model of form file facet.
|
|
45
|
+
*/
|
|
46
|
+
export interface FormFileFacet extends FileFacet {
|
|
47
|
+
formLabel?: string;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Manifest download format.
|
|
52
|
+
*/
|
|
53
|
+
export type ManifestDownloadFormat = MANIFEST_DOWNLOAD_FORMAT;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { track } from "../../../common/analytics/analytics";
|
|
2
|
+
import { EVENT_NAME, EVENT_PARAM } from "../../../common/analytics/entities";
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Executes event tracking for bulk download.
|
|
6
|
+
* @param index - Index.
|
|
7
|
+
* @param toolName - Tool name.
|
|
8
|
+
* @param requestParams - Request params.
|
|
9
|
+
*/
|
|
10
|
+
export function bulkDownloadTracking(
|
|
11
|
+
index: string,
|
|
12
|
+
toolName: string,
|
|
13
|
+
requestParams?: URLSearchParams
|
|
14
|
+
): void {
|
|
15
|
+
if (!requestParams) {
|
|
16
|
+
return;
|
|
17
|
+
}
|
|
18
|
+
// Grab catalog and current query from the request params.
|
|
19
|
+
const catalog = requestParams.get("catalog") as string; // Catalog will be defined.
|
|
20
|
+
const currentQuery = requestParams.get("filters") as string; // Filters will be defined.
|
|
21
|
+
|
|
22
|
+
// Track the bulk download requested event.
|
|
23
|
+
track(EVENT_NAME.BULK_DOWNLOAD_REQUESTED, {
|
|
24
|
+
[EVENT_PARAM.CATALOG]: catalog,
|
|
25
|
+
[EVENT_PARAM.CURRENT_QUERY]: currentQuery,
|
|
26
|
+
[EVENT_PARAM.ENTITY_TYPE]: "Bulk Download",
|
|
27
|
+
[EVENT_PARAM.INDEX]: index,
|
|
28
|
+
[EVENT_PARAM.TOOL_NAME]: toolName,
|
|
29
|
+
});
|
|
30
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { EXPORT_TO_TERRA_URL_PFB_FORMAT } from "../../../apis/azul/common/constants";
|
|
2
|
+
import { MANIFEST_DOWNLOAD_FORMAT } from "../../../apis/azul/common/entities";
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Build URL to open Azul-generated location in Terra. Export URL requires encoded location and Terra-specific format
|
|
6
|
+
* if PFB.
|
|
7
|
+
* @param exportToTerraUrl - Environment-specific origin used when generating links to Terra.
|
|
8
|
+
* @param requestParams - Query string params used to generate the location.
|
|
9
|
+
* @param location - The generated location returned from Azul.
|
|
10
|
+
* @returns Complete URL for exporting to Terra.
|
|
11
|
+
*/
|
|
12
|
+
export function buildExportToTerraUrl(
|
|
13
|
+
exportToTerraUrl: string,
|
|
14
|
+
requestParams: URLSearchParams,
|
|
15
|
+
location?: string
|
|
16
|
+
): string {
|
|
17
|
+
if (!location) {
|
|
18
|
+
console.error(
|
|
19
|
+
"Error attempting to build export to Terra link. No location given."
|
|
20
|
+
);
|
|
21
|
+
return "";
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
const format = requestParams.get("format"); // TODO(cc) constant
|
|
25
|
+
if (!format) {
|
|
26
|
+
console.error(
|
|
27
|
+
"Error attempting to build export to Terra link. No format found."
|
|
28
|
+
);
|
|
29
|
+
return "";
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
// Build up request params for export link: format if PFB and the encoded location.
|
|
33
|
+
const paramTokens = [];
|
|
34
|
+
if (format === MANIFEST_DOWNLOAD_FORMAT.TERRA_PFB) {
|
|
35
|
+
// Translate Azul PFB format param value to Terra PFB format value. That is, terra.pfb to PFB.
|
|
36
|
+
paramTokens.push(`format=${EXPORT_TO_TERRA_URL_PFB_FORMAT}`);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
const encodedUrl = encodeURIComponent(location);
|
|
40
|
+
paramTokens.push(`url=${encodedUrl}`);
|
|
41
|
+
const urlParams = paramTokens.join("&");
|
|
42
|
+
|
|
43
|
+
// Generate complete export URL. TODO(cc) update domain to be configurable.
|
|
44
|
+
return `${exportToTerraUrl}#import-data?${urlParams}`;
|
|
45
|
+
}
|