@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,92 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.useFileManifestDownload = void 0;
|
|
4
|
+
const react_1 = require("react");
|
|
5
|
+
const entities_1 = require("../../apis/azul/common/entities");
|
|
6
|
+
const entities_2 = require("../../components/Export/common/entities");
|
|
7
|
+
const useCatalog_1 = require("../useCatalog");
|
|
8
|
+
const buildFileManifestRequestURL_1 = require("./common/buildFileManifestRequestURL");
|
|
9
|
+
const useFileManifest_1 = require("./useFileManifest");
|
|
10
|
+
const useFileManifestURL_1 = require("./useFileManifestURL");
|
|
11
|
+
/**
|
|
12
|
+
* Returns file manifest download url and file name.
|
|
13
|
+
* @param filters - Filters.
|
|
14
|
+
* @param disabled - Disabled.
|
|
15
|
+
* @returns file manifest download url and file name.
|
|
16
|
+
*/
|
|
17
|
+
const useFileManifestDownload = (filters, disabled) => {
|
|
18
|
+
// Determine file manifest request data URL.
|
|
19
|
+
const URL = (0, useFileManifestURL_1.useFileManifestURL)();
|
|
20
|
+
// Determine catalog.
|
|
21
|
+
const catalog = (0, useCatalog_1.useCatalog)(); // catalog should be defined.
|
|
22
|
+
// Build request URL.
|
|
23
|
+
const { requestURL } = (0, buildFileManifestRequestURL_1.buildFileManifestRequestURL)(URL, filters, catalog, entities_1.MANIFEST_DOWNLOAD_FORMAT.COMPACT) || {};
|
|
24
|
+
const { data, isIdle, isLoading, run } = (0, useFileManifest_1.useFileManifest)(requestURL);
|
|
25
|
+
const manifestURL = getManifestDownloadURL(data);
|
|
26
|
+
const fileName = getManifestDownloadFileName(data);
|
|
27
|
+
// Requests file manifest.
|
|
28
|
+
(0, react_1.useEffect)(() => {
|
|
29
|
+
if (disabled)
|
|
30
|
+
return;
|
|
31
|
+
run();
|
|
32
|
+
}, [disabled, requestURL, run]);
|
|
33
|
+
return {
|
|
34
|
+
fileName,
|
|
35
|
+
isIdle,
|
|
36
|
+
isLoading,
|
|
37
|
+
manifestURL,
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
exports.useFileManifestDownload = useFileManifestDownload;
|
|
41
|
+
/**
|
|
42
|
+
* Returns the manifest download URL for the generated manifest.
|
|
43
|
+
* @param fileLocation - Request file location.
|
|
44
|
+
* @returns manifest download URL.
|
|
45
|
+
*/
|
|
46
|
+
function getManifestDownloadURL(fileLocation) {
|
|
47
|
+
const { location } = fileLocation || {};
|
|
48
|
+
return location;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Returns the manifest download file name for the generated manifest.
|
|
52
|
+
* @param fileLocation - File location.
|
|
53
|
+
* @returns manifest download file name.
|
|
54
|
+
*/
|
|
55
|
+
function getManifestDownloadFileName(fileLocation) {
|
|
56
|
+
if (!fileLocation) {
|
|
57
|
+
return;
|
|
58
|
+
}
|
|
59
|
+
const fileName = getFileNameFromLocation(fileLocation.location);
|
|
60
|
+
if (fileName) {
|
|
61
|
+
return fileName;
|
|
62
|
+
}
|
|
63
|
+
return getFileNameFromBash(fileLocation.commandLine);
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Returns the file name from the specified bash command line, if it exists.
|
|
67
|
+
* @param commandLine - Command line.
|
|
68
|
+
* @returns file name.
|
|
69
|
+
*/
|
|
70
|
+
function getFileNameFromBash(commandLine) {
|
|
71
|
+
if (!commandLine) {
|
|
72
|
+
return;
|
|
73
|
+
}
|
|
74
|
+
return commandLine[entities_2.BULK_DOWNLOAD_EXECUTION_ENVIRONMENT.BASH]
|
|
75
|
+
.split("'")
|
|
76
|
+
.filter((b) => b.includes("tsv"))
|
|
77
|
+
.shift();
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* Returns the file name from the specified file location, if it exists.
|
|
81
|
+
* @param location - File location.
|
|
82
|
+
* @returns file name.
|
|
83
|
+
*/
|
|
84
|
+
function getFileNameFromLocation(location) {
|
|
85
|
+
const searchParams = new URL(location).searchParams;
|
|
86
|
+
const paramValue = searchParams.get("response-content-disposition");
|
|
87
|
+
if (!paramValue) {
|
|
88
|
+
return;
|
|
89
|
+
}
|
|
90
|
+
const match = paramValue.match(/filename=([^&;]*)/);
|
|
91
|
+
return match === null || match === void 0 ? void 0 : match[1].replace(/"/g, "");
|
|
92
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Filters } from "../../common/entities";
|
|
2
|
+
export interface ManifestSpreadsheet {
|
|
3
|
+
exists?: boolean;
|
|
4
|
+
fileFormat?: string;
|
|
5
|
+
fileName?: string;
|
|
6
|
+
fileUrl?: string;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Returns file manifest spreadsheet.
|
|
10
|
+
* @param filters - Filters.
|
|
11
|
+
* @param disabled - Disabled.
|
|
12
|
+
* @returns file manifest spreadsheet.
|
|
13
|
+
*/
|
|
14
|
+
export declare const useFileManifestSpreadsheet: (filters: Filters, disabled: boolean) => ManifestSpreadsheet | undefined;
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.useFileManifestSpreadsheet = void 0;
|
|
4
|
+
const react_1 = require("react");
|
|
5
|
+
const entities_1 = require("../../apis/azul/common/entities");
|
|
6
|
+
const service_1 = require("../../entity/common/service");
|
|
7
|
+
const fetchQueryParams_1 = require("../../utils/fetchQueryParams");
|
|
8
|
+
const useAsync_1 = require("../useAsync");
|
|
9
|
+
const useCatalog_1 = require("../useCatalog");
|
|
10
|
+
const useFetchRequestURL_1 = require("../useFetchRequestURL");
|
|
11
|
+
/**
|
|
12
|
+
* Returns file manifest spreadsheet.
|
|
13
|
+
* @param filters - Filters.
|
|
14
|
+
* @param disabled - Disabled.
|
|
15
|
+
* @returns file manifest spreadsheet.
|
|
16
|
+
*/
|
|
17
|
+
const useFileManifestSpreadsheet = (filters, disabled) => {
|
|
18
|
+
// Determine catalog.
|
|
19
|
+
const catalog = (0, useCatalog_1.useCatalog)(); // catalog should be defined.
|
|
20
|
+
// Build request params.
|
|
21
|
+
const requestParams = (0, fetchQueryParams_1.fetchQueryParams)(filters, catalog, { size: "25" });
|
|
22
|
+
// Build request URL.
|
|
23
|
+
const requestURL = (0, useFetchRequestURL_1.useFetchRequestURL)(entities_1.APIEndpoints.FILES, requestParams);
|
|
24
|
+
// Fetch files to determine if file exists.
|
|
25
|
+
const { data, run } = (0, useAsync_1.useAsync)();
|
|
26
|
+
// Grab manifest spreadsheet.
|
|
27
|
+
const manifestSpreadsheet = (0, react_1.useMemo)(() => getManifestSpreadsheet(data === null || data === void 0 ? void 0 : data.hits), [data]);
|
|
28
|
+
// Fetch response from files endpoint.
|
|
29
|
+
(0, react_1.useEffect)(() => {
|
|
30
|
+
if (disabled)
|
|
31
|
+
return;
|
|
32
|
+
run((0, service_1.fetchEntitiesFromURL)(requestURL, undefined));
|
|
33
|
+
}, [disabled, requestURL, run]);
|
|
34
|
+
return manifestSpreadsheet;
|
|
35
|
+
};
|
|
36
|
+
exports.useFileManifestSpreadsheet = useFileManifestSpreadsheet;
|
|
37
|
+
/**
|
|
38
|
+
* Prepend "/fetch" to the path of the specified file URL, if not already included.
|
|
39
|
+
* @param fileUrl - File URL.
|
|
40
|
+
* @returns File URL with "/fetch" prepended to the path.
|
|
41
|
+
*/
|
|
42
|
+
function buildFetchFileUrl(fileUrl) {
|
|
43
|
+
if (!fileUrl) {
|
|
44
|
+
return;
|
|
45
|
+
}
|
|
46
|
+
const url = new URL(fileUrl);
|
|
47
|
+
const path = url.pathname;
|
|
48
|
+
if (path.indexOf(entities_1.APIEndpoints.FETCH) !== 0) {
|
|
49
|
+
url.pathname = `${entities_1.APIEndpoints.FETCH}${path}`;
|
|
50
|
+
}
|
|
51
|
+
return url.toString();
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Returns manifest spreadsheet.
|
|
55
|
+
* @param files - Files.
|
|
56
|
+
* @returns manifest spreadsheet.
|
|
57
|
+
*/
|
|
58
|
+
function getManifestSpreadsheet(files) {
|
|
59
|
+
var _a, _b, _c;
|
|
60
|
+
if (!files) {
|
|
61
|
+
return;
|
|
62
|
+
}
|
|
63
|
+
// Handle case where file does not exist.
|
|
64
|
+
if (files.length === 0) {
|
|
65
|
+
return {
|
|
66
|
+
exists: false,
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
// Project manifest spreadsheet exists.
|
|
70
|
+
const file = files[0];
|
|
71
|
+
return {
|
|
72
|
+
exists: true,
|
|
73
|
+
fileFormat: (_a = file.files[0]) === null || _a === void 0 ? void 0 : _a.format,
|
|
74
|
+
fileName: (_b = file.files[0]) === null || _b === void 0 ? void 0 : _b.name,
|
|
75
|
+
fileUrl: buildFetchFileUrl((_c = file.files[0]) === null || _c === void 0 ? void 0 : _c.url),
|
|
76
|
+
};
|
|
77
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.useFileManifestURL = void 0;
|
|
4
|
+
const useConfig_1 = require("../useConfig");
|
|
5
|
+
/**
|
|
6
|
+
* Returns data URL for the integrations end point.
|
|
7
|
+
* @returns data URL for the integrations end point.
|
|
8
|
+
*/
|
|
9
|
+
const useFileManifestURL = () => {
|
|
10
|
+
const { config } = (0, useConfig_1.useConfig)();
|
|
11
|
+
const { dataSource } = config;
|
|
12
|
+
const { url } = dataSource;
|
|
13
|
+
return url;
|
|
14
|
+
};
|
|
15
|
+
exports.useFileManifestURL = useFileManifestURL;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ManifestDownloadFormat } from "../../apis/azul/common/entities";
|
|
2
|
+
import { Filters } from "../../common/entities";
|
|
3
|
+
/**
|
|
4
|
+
* Initializes and fetches file manifest comprising file facets and summary for the given file manifest format.
|
|
5
|
+
* @param fileManifestFormat - File manifest format.
|
|
6
|
+
* @param initialFilters - Filters to initialize file manifest request.
|
|
7
|
+
* @param fileSummaryFacetName - File summary facet name.
|
|
8
|
+
*/
|
|
9
|
+
export declare const useRequestFileManifest: (fileManifestFormat: ManifestDownloadFormat | undefined, initialFilters?: Filters | undefined, fileSummaryFacetName?: string | undefined) => void;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.useRequestFileManifest = void 0;
|
|
4
|
+
const react_1 = require("react");
|
|
5
|
+
const fileManifestState_1 = require("../../providers/fileManifestState");
|
|
6
|
+
const useFileManifestState_1 = require("../useFileManifestState");
|
|
7
|
+
/**
|
|
8
|
+
* Initializes and fetches file manifest comprising file facets and summary for the given file manifest format.
|
|
9
|
+
* @param fileManifestFormat - File manifest format.
|
|
10
|
+
* @param initialFilters - Filters to initialize file manifest request.
|
|
11
|
+
* @param fileSummaryFacetName - File summary facet name.
|
|
12
|
+
*/
|
|
13
|
+
const useRequestFileManifest = (fileManifestFormat, initialFilters = [], fileSummaryFacetName) => {
|
|
14
|
+
// Initial file manifest filter.
|
|
15
|
+
const [initFilters] = (0, react_1.useState)(() => initialFilters);
|
|
16
|
+
// File manifest state.
|
|
17
|
+
const { fileManifestDispatch } = (0, useFileManifestState_1.useFileManifestState)();
|
|
18
|
+
// Fetches file manifest with the given file manifest filters, format.
|
|
19
|
+
(0, react_1.useEffect)(() => {
|
|
20
|
+
fileManifestDispatch({
|
|
21
|
+
payload: {
|
|
22
|
+
fileManifestFormat,
|
|
23
|
+
fileSummaryFacetName,
|
|
24
|
+
filters: initFilters,
|
|
25
|
+
},
|
|
26
|
+
type: fileManifestState_1.FileManifestActionKind.FetchFileManifest,
|
|
27
|
+
});
|
|
28
|
+
return () => {
|
|
29
|
+
fileManifestDispatch({
|
|
30
|
+
payload: undefined,
|
|
31
|
+
type: fileManifestState_1.FileManifestActionKind.ClearFileManifest,
|
|
32
|
+
});
|
|
33
|
+
};
|
|
34
|
+
}, [
|
|
35
|
+
fileManifestDispatch,
|
|
36
|
+
fileManifestFormat,
|
|
37
|
+
fileSummaryFacetName,
|
|
38
|
+
initFilters,
|
|
39
|
+
]);
|
|
40
|
+
};
|
|
41
|
+
exports.useRequestFileManifest = useRequestFileManifest;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.useFileManifestState = void 0;
|
|
4
|
+
const react_1 = require("react");
|
|
5
|
+
const fileManifestState_1 = require("../providers/fileManifestState");
|
|
6
|
+
/**
|
|
7
|
+
* Returns file manifest state context.
|
|
8
|
+
* @returns file manifest state context.
|
|
9
|
+
*/
|
|
10
|
+
const useFileManifestState = () => {
|
|
11
|
+
return (0, react_1.useContext)(fileManifestState_1.FileManifestStateContext);
|
|
12
|
+
};
|
|
13
|
+
exports.useFileManifestState = useFileManifestState;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.useLayoutState = void 0;
|
|
4
|
+
const react_1 = require("react");
|
|
5
|
+
const layoutState_1 = require("../providers/layoutState");
|
|
6
|
+
/**
|
|
7
|
+
* Returns layout state context.
|
|
8
|
+
* @returns layout state context.
|
|
9
|
+
*/
|
|
10
|
+
const useLayoutState = () => {
|
|
11
|
+
return (0, react_1.useContext)(layoutState_1.LayoutStateContext);
|
|
12
|
+
};
|
|
13
|
+
exports.useLayoutState = useLayoutState;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Return the value for the specified key.
|
|
3
|
+
* @param key - Key.
|
|
4
|
+
* @returns value.
|
|
5
|
+
*/
|
|
6
|
+
export declare function getLocalStorage(key: string): string | null;
|
|
7
|
+
/**
|
|
8
|
+
* Set the value for the specified key.
|
|
9
|
+
* @param key - Key.
|
|
10
|
+
* @param value - Value.
|
|
11
|
+
*/
|
|
12
|
+
export declare function setLocalStorage(key: string, value: string): void;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.setLocalStorage = exports.getLocalStorage = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* Return the value for the specified key.
|
|
6
|
+
* @param key - Key.
|
|
7
|
+
* @returns value.
|
|
8
|
+
*/
|
|
9
|
+
function getLocalStorage(key) {
|
|
10
|
+
var _a, _b;
|
|
11
|
+
if (typeof window === "undefined")
|
|
12
|
+
return null;
|
|
13
|
+
return (_b = (_a = window === null || window === void 0 ? void 0 : window.localStorage) === null || _a === void 0 ? void 0 : _a.getItem(key)) !== null && _b !== void 0 ? _b : null;
|
|
14
|
+
}
|
|
15
|
+
exports.getLocalStorage = getLocalStorage;
|
|
16
|
+
/**
|
|
17
|
+
* Set the value for the specified key.
|
|
18
|
+
* @param key - Key.
|
|
19
|
+
* @param value - Value.
|
|
20
|
+
*/
|
|
21
|
+
function setLocalStorage(key, value) {
|
|
22
|
+
var _a;
|
|
23
|
+
if (typeof window === "undefined")
|
|
24
|
+
return;
|
|
25
|
+
(_a = window === null || window === void 0 ? void 0 : window.localStorage) === null || _a === void 0 ? void 0 : _a.setItem(key, value);
|
|
26
|
+
}
|
|
27
|
+
exports.setLocalStorage = setLocalStorage;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.useLocalStorage = void 0;
|
|
4
|
+
const react_1 = require("react");
|
|
5
|
+
const utils_1 = require("./common/utils");
|
|
6
|
+
/**
|
|
7
|
+
* Determine local storage value.
|
|
8
|
+
* @param key - Local storage key.
|
|
9
|
+
* @returns local storage value.
|
|
10
|
+
*/
|
|
11
|
+
function useLocalStorage(key) {
|
|
12
|
+
const [value, setValue] = (0, react_1.useState)(null);
|
|
13
|
+
(0, react_1.useEffect)(() => {
|
|
14
|
+
setValue((0, utils_1.getLocalStorage)(key));
|
|
15
|
+
}, [key]);
|
|
16
|
+
return value;
|
|
17
|
+
}
|
|
18
|
+
exports.useLocalStorage = useLocalStorage;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
interface Result {
|
|
2
|
+
href: string;
|
|
3
|
+
pathname: string;
|
|
4
|
+
search: URLSearchParams;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* Hook used to get the url properties from the location object
|
|
8
|
+
* Most of the time you can get the same result with useRouter(). This hook has a single use case:
|
|
9
|
+
* - When you need to get the url properties ready on the first render, before ReactDOM.hydrate
|
|
10
|
+
* @returns an object containing url's pathname and search params
|
|
11
|
+
*/
|
|
12
|
+
export declare const useLocation: () => Result | null;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.useLocation = void 0;
|
|
4
|
+
const ssr_1 = require("../utils/ssr");
|
|
5
|
+
/**
|
|
6
|
+
* Hook used to get the url properties from the location object
|
|
7
|
+
* Most of the time you can get the same result with useRouter(). This hook has a single use case:
|
|
8
|
+
* - When you need to get the url properties ready on the first render, before ReactDOM.hydrate
|
|
9
|
+
* @returns an object containing url's pathname and search params
|
|
10
|
+
*/
|
|
11
|
+
const useLocation = () => {
|
|
12
|
+
if ((0, ssr_1.isSSR)()) {
|
|
13
|
+
return null;
|
|
14
|
+
}
|
|
15
|
+
const { href, pathname, search } = window.location;
|
|
16
|
+
return {
|
|
17
|
+
href,
|
|
18
|
+
pathname,
|
|
19
|
+
search: new URLSearchParams(search),
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
exports.useLocation = useLocation;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export interface FileLocation {
|
|
2
|
+
commandLine?: {
|
|
3
|
+
[key: string]: string;
|
|
4
|
+
};
|
|
5
|
+
location: string;
|
|
6
|
+
retryAfter?: number;
|
|
7
|
+
status: number;
|
|
8
|
+
}
|
|
9
|
+
export interface UseRequestFileLocationResult {
|
|
10
|
+
data: FileLocation | undefined;
|
|
11
|
+
isIdle: boolean;
|
|
12
|
+
isLoading: boolean;
|
|
13
|
+
isSuccess: boolean;
|
|
14
|
+
run: () => void;
|
|
15
|
+
}
|
|
16
|
+
export declare type Method = METHOD;
|
|
17
|
+
export declare enum METHOD {
|
|
18
|
+
GET = "GET",
|
|
19
|
+
PUT = "PUT"
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Function to make a get request and map the result to camelCase
|
|
23
|
+
* @param url - url for the get request
|
|
24
|
+
* @param accessToken - Access token.
|
|
25
|
+
* @param method - Method to be used by the request
|
|
26
|
+
* @returns @see FileLocation
|
|
27
|
+
*/
|
|
28
|
+
export declare const getFileLocation: (url: string, accessToken: string | undefined, method: Method) => Promise<FileLocation>;
|
|
29
|
+
/**
|
|
30
|
+
* Hook to get a file location using a retry-after approach
|
|
31
|
+
* @param url - to be used on the get request
|
|
32
|
+
* @param method - Method to be used by the request
|
|
33
|
+
* @returns data object with the file location
|
|
34
|
+
*/
|
|
35
|
+
export declare const useRequestFileLocation: (url?: string | undefined, method?: METHOD | undefined) => UseRequestFileLocationResult;
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.useRequestFileLocation = exports.getFileLocation = exports.METHOD = void 0;
|
|
13
|
+
const react_1 = require("react");
|
|
14
|
+
const constants_1 = require("../apis/azul/common/constants");
|
|
15
|
+
const useAsync_1 = require("./useAsync");
|
|
16
|
+
const useAuthentication_1 = require("./useAuthentication/useAuthentication");
|
|
17
|
+
var METHOD;
|
|
18
|
+
(function (METHOD) {
|
|
19
|
+
METHOD["GET"] = "GET";
|
|
20
|
+
METHOD["PUT"] = "PUT";
|
|
21
|
+
})(METHOD = exports.METHOD || (exports.METHOD = {}));
|
|
22
|
+
/**
|
|
23
|
+
* Returns fetch request options.
|
|
24
|
+
* @param accessToken - Access token.
|
|
25
|
+
* @param method - Method to be used by the request
|
|
26
|
+
* @returns fetch request options.
|
|
27
|
+
*/
|
|
28
|
+
function createFetchOptions(accessToken, method) {
|
|
29
|
+
return {
|
|
30
|
+
headers: accessToken ? { Authorization: "Bearer " + accessToken } : {},
|
|
31
|
+
method,
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Function to make a get request and map the result to camelCase
|
|
36
|
+
* @param url - url for the get request
|
|
37
|
+
* @param accessToken - Access token.
|
|
38
|
+
* @param method - Method to be used by the request
|
|
39
|
+
* @returns @see FileLocation
|
|
40
|
+
*/
|
|
41
|
+
const getFileLocation = (url, accessToken, method) => __awaiter(void 0, void 0, void 0, function* () {
|
|
42
|
+
const options = createFetchOptions(accessToken, method);
|
|
43
|
+
const res = yield fetch(url, options);
|
|
44
|
+
const jsonRes = yield res.json();
|
|
45
|
+
return {
|
|
46
|
+
commandLine: jsonRes.CommandLine,
|
|
47
|
+
location: jsonRes.Location,
|
|
48
|
+
retryAfter: jsonRes["Retry-After"],
|
|
49
|
+
status: jsonRes.Status,
|
|
50
|
+
};
|
|
51
|
+
});
|
|
52
|
+
exports.getFileLocation = getFileLocation;
|
|
53
|
+
/**
|
|
54
|
+
* Function that will recursively keep making requests to get the file location until gets a 302 or an error.
|
|
55
|
+
* @param url - url for the get request
|
|
56
|
+
* @param accessToken - Access token.
|
|
57
|
+
* @param resolve - function to resolve the running promise
|
|
58
|
+
* @param reject - function to reject the running promise
|
|
59
|
+
* @param active - Mutable object used to check if the page is still mounted and the requests should keep executing
|
|
60
|
+
* @param retryAfter - timeout value
|
|
61
|
+
* @param method - Method to be used by the request
|
|
62
|
+
*/
|
|
63
|
+
const scheduleFileLocation = (url, accessToken, resolve, reject, active, retryAfter = 0, method = METHOD.GET) => {
|
|
64
|
+
setTimeout(() => {
|
|
65
|
+
(0, exports.getFileLocation)(url, accessToken, method).then((result) => {
|
|
66
|
+
if (result.status === constants_1.FILE_LOCATION_PENDING) {
|
|
67
|
+
if (!active.current) {
|
|
68
|
+
reject({
|
|
69
|
+
location: "",
|
|
70
|
+
status: 499, //Client Closed Request
|
|
71
|
+
});
|
|
72
|
+
return;
|
|
73
|
+
}
|
|
74
|
+
scheduleFileLocation(result.location, accessToken, resolve, reject, active, result.retryAfter);
|
|
75
|
+
}
|
|
76
|
+
else if (result.status === constants_1.FILE_LOCATION_SUCCESSFULLY) {
|
|
77
|
+
resolve(result);
|
|
78
|
+
}
|
|
79
|
+
else {
|
|
80
|
+
reject(result);
|
|
81
|
+
}
|
|
82
|
+
});
|
|
83
|
+
}, retryAfter * 1000);
|
|
84
|
+
};
|
|
85
|
+
/**
|
|
86
|
+
* Hook to get a file location using a retry-after approach
|
|
87
|
+
* @param url - to be used on the get request
|
|
88
|
+
* @param method - Method to be used by the request
|
|
89
|
+
* @returns data object with the file location
|
|
90
|
+
*/
|
|
91
|
+
const useRequestFileLocation = (url, method) => {
|
|
92
|
+
// Grab token from authentication.
|
|
93
|
+
const { token } = (0, useAuthentication_1.useAuthentication)();
|
|
94
|
+
const { data, isIdle, isLoading, isSuccess, run: runAsync, } = (0, useAsync_1.useAsync)();
|
|
95
|
+
const active = (0, react_1.useRef)(true);
|
|
96
|
+
(0, react_1.useEffect)(() => {
|
|
97
|
+
active.current = true;
|
|
98
|
+
return () => {
|
|
99
|
+
active.current = false;
|
|
100
|
+
};
|
|
101
|
+
}, []);
|
|
102
|
+
const run = (0, react_1.useCallback)(() => {
|
|
103
|
+
if (url) {
|
|
104
|
+
runAsync(new Promise((resolve, reject) => {
|
|
105
|
+
scheduleFileLocation(url, token, resolve, reject, active, 0, method);
|
|
106
|
+
}));
|
|
107
|
+
}
|
|
108
|
+
}, [runAsync, token, url, method]);
|
|
109
|
+
return { data, isIdle, isLoading, isSuccess, run };
|
|
110
|
+
};
|
|
111
|
+
exports.useRequestFileLocation = useRequestFileLocation;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Dispatch, SetStateAction } from "react";
|
|
2
|
+
/**
|
|
3
|
+
* useState hook wrapper that will keep the state updated if the defaultValue changes
|
|
4
|
+
* @param defaultState - param that determine the default and current state
|
|
5
|
+
* @returns current state the setter function
|
|
6
|
+
*/
|
|
7
|
+
export declare const useResetableState: <T>(defaultState: T) => [T, Dispatch<SetStateAction<T>>];
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.useResetableState = void 0;
|
|
4
|
+
const react_1 = require("react");
|
|
5
|
+
/**
|
|
6
|
+
* useState hook wrapper that will keep the state updated if the defaultValue changes
|
|
7
|
+
* @param defaultState - param that determine the default and current state
|
|
8
|
+
* @returns current state the setter function
|
|
9
|
+
*/
|
|
10
|
+
const useResetableState = (defaultState) => {
|
|
11
|
+
const [state, setState] = (0, react_1.useState)(defaultState);
|
|
12
|
+
(0, react_1.useEffect)(() => {
|
|
13
|
+
setState(defaultState);
|
|
14
|
+
}, [defaultState]);
|
|
15
|
+
return [state, setState];
|
|
16
|
+
};
|
|
17
|
+
exports.useResetableState = useResetableState;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { RefObject } from "react";
|
|
2
|
+
export declare type ElementRect = {
|
|
3
|
+
bottom: number;
|
|
4
|
+
height: number;
|
|
5
|
+
left: number;
|
|
6
|
+
right: number;
|
|
7
|
+
top: number;
|
|
8
|
+
width: number;
|
|
9
|
+
x: number;
|
|
10
|
+
y: number;
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* Element resizing and repositioning observer.
|
|
14
|
+
* @param ref - element to be observed for changes to its size or position.
|
|
15
|
+
* @param onResizeFn - action to be performed when the observed element is resized or repositioned.
|
|
16
|
+
* @returns Element size and position properties for the given element.
|
|
17
|
+
*/
|
|
18
|
+
export declare function useResizeObserver(ref: RefObject<HTMLElement>, onResizeFn: (entries: ResizeObserverEntry[]) => Partial<ElementRect>): Partial<ElementRect> | undefined;
|
|
19
|
+
/**
|
|
20
|
+
* Return's the observed element's border box size.
|
|
21
|
+
* @param entries - Resize observer entries.
|
|
22
|
+
* @returns observed element's border box size.
|
|
23
|
+
*/
|
|
24
|
+
export declare function getBorderBoxSize(entries: ResizeObserverEntry[]): Partial<ElementRect>;
|
|
25
|
+
/**
|
|
26
|
+
* Return's the observed element's border box height.
|
|
27
|
+
* @param entries - Resize observer entries.
|
|
28
|
+
* @returns observed element's border box height.
|
|
29
|
+
*/
|
|
30
|
+
export declare function getBorderBoxSizeHeight(entries: ResizeObserverEntry[]): Partial<ElementRect>;
|
|
31
|
+
/**
|
|
32
|
+
* Return's the observed element's size and position properties.
|
|
33
|
+
* @param entries - Resize observer entries.
|
|
34
|
+
* @returns the observed element's size and position properties.
|
|
35
|
+
*/
|
|
36
|
+
export declare function getContentRect(entries: ResizeObserverEntry[]): ElementRect;
|
|
37
|
+
/**
|
|
38
|
+
* Return's the next observed element's size and position properties.
|
|
39
|
+
* @param elementRect - Current observed element's rect properties.
|
|
40
|
+
* @param nextElementRect - Next observed element's rect properties.
|
|
41
|
+
* @returns the next observed element's size and position properties.
|
|
42
|
+
*/
|
|
43
|
+
export declare function getNextElementRect(elementRect: Partial<ElementRect> | undefined, nextElementRect: Partial<ElementRect> | undefined): Partial<ElementRect> | undefined;
|