@databiosphere/findable-ui 50.6.1 → 50.7.1
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/README.md +32 -19
- package/package.json +1 -2
- package/types/data-explorer-ui.d.ts +6 -7
- package/src/apis/azul/common/constants.ts +0 -7
- package/src/apis/azul/common/entities.ts +0 -185
- package/src/apis/azul/common/filterTransformer.ts +0 -149
- package/src/apis/azul/common/utils.ts +0 -21
- package/src/common/ai/config/types.ts +0 -25
- package/src/common/ai/constants.ts +0 -3
- package/src/common/analytics/analytics.ts +0 -50
- package/src/common/analytics/entities.ts +0 -85
- package/src/common/analytics/readme-analytics.md +0 -27
- package/src/common/categories/config/range/typeGuards.ts +0 -14
- package/src/common/categories/config/types.ts +0 -41
- package/src/common/categories/config/utils.ts +0 -50
- package/src/common/categories/models/range/typeGuards.ts +0 -24
- package/src/common/categories/models/range/types.ts +0 -17
- package/src/common/categories/models/range/utils.ts +0 -51
- package/src/common/categories/models/select/utils.ts +0 -23
- package/src/common/categories/models/types.ts +0 -7
- package/src/common/categories/views/common/types.ts +0 -11
- package/src/common/categories/views/range/typeGuards.ts +0 -13
- package/src/common/categories/views/range/types.ts +0 -21
- package/src/common/categories/views/range/utils.ts +0 -35
- package/src/common/categories/views/select/typeGuards.ts +0 -13
- package/src/common/categories/views/select/types.ts +0 -8
- package/src/common/categories/views/types.ts +0 -15
- package/src/common/chart/sort/constants.ts +0 -13
- package/src/common/chart/sort/types.ts +0 -22
- package/src/common/chart/sort/utils.ts +0 -22
- package/src/common/chart/types.ts +0 -6
- package/src/common/constants.ts +0 -18
- package/src/common/entities.ts +0 -174
- package/src/common/filters/sort/config/types.ts +0 -14
- package/src/common/filters/sort/config/utils.ts +0 -11
- package/src/common/filters/sort/models/utils.ts +0 -57
- package/src/common/selectors.ts +0 -6
- package/src/common/utils.ts +0 -30
- package/src/components/Authentication/components/SessionController/components/GoogleSessionController/SessionController.tsx +0 -38
- package/src/components/Authentication/components/SessionController/components/GoogleSessionController/types.ts +0 -7
- package/src/components/Authentication/components/SessionController/components/NextSessionController/SessionController.tsx +0 -23
- package/src/components/Authentication/components/SessionController/components/NextSessionController/constants.ts +0 -21
- package/src/components/Authentication/components/SessionController/components/NextSessionController/types.ts +0 -5
- package/src/components/Authentication/components/SessionController/components/NextSessionController/utils.ts +0 -74
- package/src/components/ComponentCreator/ComponentCreator.tsx +0 -72
- package/src/components/ComponentCreator/components/ConditionalComponent/conditionalComponent.tsx +0 -17
- package/src/components/ComponentCreator/components/RenderComponent/renderComponent.tsx +0 -17
- package/src/components/DataDictionary/common/utils.ts +0 -164
- package/src/components/DataDictionary/components/Description/description.styles.ts +0 -50
- package/src/components/DataDictionary/components/Description/description.tsx +0 -14
- package/src/components/DataDictionary/components/Description/types.ts +0 -3
- package/src/components/DataDictionary/components/Entities/constants.ts +0 -16
- package/src/components/DataDictionary/components/Entities/entities.styles.ts +0 -6
- package/src/components/DataDictionary/components/Entities/entities.tsx +0 -26
- package/src/components/DataDictionary/components/Entities/types.ts +0 -6
- package/src/components/DataDictionary/components/Entity/constants.ts +0 -7
- package/src/components/DataDictionary/components/Entity/entity.styles.ts +0 -13
- package/src/components/DataDictionary/components/Entity/entity.tsx +0 -51
- package/src/components/DataDictionary/components/Entity/types.ts +0 -7
- package/src/components/DataDictionary/components/Entity/utils.ts +0 -25
- package/src/components/DataDictionary/components/Filters/components/ColumnFilterTags/columnFilterTags.styles.ts +0 -8
- package/src/components/DataDictionary/components/Filters/components/ColumnFilterTags/columnFilterTags.tsx +0 -36
- package/src/components/DataDictionary/components/Filters/components/ColumnFilterTags/constants.ts +0 -8
- package/src/components/DataDictionary/components/Filters/components/ColumnFilterTags/types.ts +0 -9
- package/src/components/DataDictionary/components/Filters/components/ColumnFilters/columnFilters.tsx +0 -47
- package/src/components/DataDictionary/components/Filters/components/ColumnFilters/types.ts +0 -6
- package/src/components/DataDictionary/components/Filters/filters.styles.ts +0 -9
- package/src/components/DataDictionary/components/Filters/filters.tsx +0 -18
- package/src/components/DataDictionary/components/Filters/stories/constants.ts +0 -51
- package/src/components/DataDictionary/components/Filters/stories/filters.stories.tsx +0 -62
- package/src/components/DataDictionary/components/Filters/stories/hook.ts +0 -17
- package/src/components/DataDictionary/components/Filters/stories/types.ts +0 -3
- package/src/components/DataDictionary/components/Filters/stories/utils.ts +0 -15
- package/src/components/DataDictionary/components/Filters/types.ts +0 -6
- package/src/components/DataDictionary/components/Layout/components/EntitiesLayout/entitiesLayout.styles.ts +0 -23
- package/src/components/DataDictionary/components/Layout/components/EntitiesLayout/entitiesLayout.tsx +0 -16
- package/src/components/DataDictionary/components/Layout/components/EntitiesLayout/types.ts +0 -8
- package/src/components/DataDictionary/components/Layout/components/FiltersLayout/filtersLayout.styles.ts +0 -37
- package/src/components/DataDictionary/components/Layout/components/FiltersLayout/filtersLayout.tsx +0 -16
- package/src/components/DataDictionary/components/Layout/components/FiltersLayout/types.ts +0 -6
- package/src/components/DataDictionary/components/Layout/components/OutlineLayout/outlineLayout.styles.ts +0 -31
- package/src/components/DataDictionary/components/Layout/components/OutlineLayout/outlineLayout.tsx +0 -14
- package/src/components/DataDictionary/components/Layout/components/OutlineLayout/types.ts +0 -6
- package/src/components/DataDictionary/components/Layout/components/TitleLayout/titleLayout.styles.ts +0 -26
- package/src/components/DataDictionary/components/Layout/components/TitleLayout/titleLayout.tsx +0 -10
- package/src/components/DataDictionary/components/Layout/components/TitleLayout/types.ts +0 -6
- package/src/components/DataDictionary/components/Layout/constants.ts +0 -9
- package/src/components/DataDictionary/components/Outline/components/ContentsTab/constants.ts +0 -7
- package/src/components/DataDictionary/components/Outline/components/ContentsTab/contentsTab.styles.ts +0 -8
- package/src/components/DataDictionary/components/Outline/components/ContentsTab/contentsTab.tsx +0 -7
- package/src/components/DataDictionary/components/Outline/outline.styles.ts +0 -20
- package/src/components/DataDictionary/components/Outline/outline.tsx +0 -11
- package/src/components/DataDictionary/components/Outline/types.ts +0 -6
- package/src/components/DataDictionary/components/Outline/utils.ts +0 -43
- package/src/components/DataDictionary/components/Table/components/BasicCell/basicCell.tsx +0 -20
- package/src/components/DataDictionary/components/Table/components/BasicCell/utils.ts +0 -13
- package/src/components/DataDictionary/components/Table/hook.ts +0 -40
- package/src/components/DataDictionary/components/Table/options/columnFilters/constants.ts +0 -17
- package/src/components/DataDictionary/components/Table/options/columnFilters/hook.ts +0 -33
- package/src/components/DataDictionary/components/Table/options/core/constants.ts +0 -12
- package/src/components/DataDictionary/components/Table/options/expanded/constants.ts +0 -14
- package/src/components/DataDictionary/components/Table/options/faceted/constants.ts +0 -14
- package/src/components/DataDictionary/components/Table/options/globalFilter/constants.ts +0 -14
- package/src/components/DataDictionary/components/Table/options/globalFilter/hook.ts +0 -28
- package/src/components/DataDictionary/components/Table/options/grouping/constants.ts +0 -9
- package/src/components/DataDictionary/components/Table/options/hook.ts +0 -37
- package/src/components/DataDictionary/components/Table/options/pagination/constants.ts +0 -6
- package/src/components/DataDictionary/components/Table/options/sorting/constants.ts +0 -5
- package/src/components/DataDictionary/components/Table/options/visibility/constants.ts +0 -5
- package/src/components/DataDictionary/components/Table/table.styles.ts +0 -9
- package/src/components/DataDictionary/components/Table/table.tsx +0 -38
- package/src/components/DataDictionary/components/Table/types.ts +0 -12
- package/src/components/DataDictionary/components/Table/utils.ts +0 -40
- package/src/components/DataDictionary/components/Title/title.styles.ts +0 -18
- package/src/components/DataDictionary/components/Title/title.tsx +0 -10
- package/src/components/DataDictionary/components/Tooltip/components/Title/constants.ts +0 -6
- package/src/components/DataDictionary/components/Tooltip/components/Title/title.tsx +0 -23
- package/src/components/DataDictionary/components/Tooltip/components/Title/types.ts +0 -6
- package/src/components/DataDictionary/components/Tooltip/constants.ts +0 -27
- package/src/components/DataDictionary/components/Tooltip/tooltip.tsx +0 -26
- package/src/components/DataDictionary/components/Tooltip/types.ts +0 -10
- package/src/components/DataDictionary/dataDictionary.styles.ts +0 -20
- package/src/components/DataDictionary/dataDictionary.tsx +0 -81
- package/src/components/DataDictionary/hooks/UseDataDictionaryConfig/hook.ts +0 -39
- package/src/components/DataDictionary/hooks/UseDataDictionaryConfig/types.ts +0 -9
- package/src/components/DataDictionary/hooks/UseDataDictionaryConfig/utils.ts +0 -8
- package/src/components/DataDictionary/hooks/UseMeasureFilters/hook.ts +0 -27
- package/src/components/DataDictionary/hooks/UseMeasureFilters/types.ts +0 -6
- package/src/components/DataDictionary/types.ts +0 -12
- package/src/components/Detail/components/AccessibilityBadge/accessibilityBadge.tsx +0 -30
- package/src/components/Detail/components/DetailViewTable/detailViewTable.tsx +0 -48
- package/src/components/Detail/components/Table/common/utils.ts +0 -20
- package/src/components/Detail/components/Table/components/TableBody/tableBody.tsx +0 -40
- package/src/components/Detail/components/Table/components/TableRows/components/CollapsableRows/collapsableRows.tsx +0 -45
- package/src/components/Detail/components/Table/components/TableRows/tableRows.tsx +0 -66
- package/src/components/Detail/components/Table/stories/args.ts +0 -104
- package/src/components/Detail/components/Table/stories/constants.ts +0 -15
- package/src/components/Detail/components/Table/stories/filter/args.ts +0 -54
- package/src/components/Detail/components/Table/stories/filter/filter.stories.tsx +0 -90
- package/src/components/Detail/components/Table/stories/table.stories.tsx +0 -32
- package/src/components/Detail/components/Table/table.tsx +0 -97
- package/src/components/Detail/detail.stories.tsx +0 -66
- package/src/components/Detail/detail.tsx +0 -28
- package/src/components/Error/error.stories.tsx +0 -33
- package/src/components/Error/error.styles.ts +0 -47
- package/src/components/Error/error.tsx +0 -115
- package/src/components/ErrorBoundary/errorBoundary.tsx +0 -46
- package/src/components/ErrorBoundary/index.ts +0 -1
- package/src/components/Export/common/entities.ts +0 -53
- package/src/components/Export/common/tracking.ts +0 -73
- package/src/components/Export/common/utils.ts +0 -50
- package/src/components/Export/components/DownloadCurlCommand/components/DownloadCurlCommandForm/downloadCurlCommandForm.styles.ts +0 -6
- package/src/components/Export/components/DownloadCurlCommand/components/DownloadCurlCommandForm/downloadCurlCommandForm.tsx +0 -52
- package/src/components/Export/components/DownloadCurlCommand/components/DownloadCurlCommandNotStarted/downloadCurlCommandNotStarted.tsx +0 -62
- package/src/components/Export/components/DownloadCurlCommand/components/DownloadCurlCommandReady/downloadCurlCommandReady.tsx +0 -25
- package/src/components/Export/components/DownloadCurlCommand/downloadCurlCommand.tsx +0 -101
- package/src/components/Export/components/ExportForm/common/entities.ts +0 -13
- package/src/components/Export/components/ExportForm/components/ExportButton/exportButton.tsx +0 -43
- package/src/components/Export/components/ExportForm/components/ExportExecutionEnvironmentForm/exportExecutionEnvironmentForm.tsx +0 -59
- package/src/components/Export/components/ExportForm/components/ExportFileSummaryForm/exportFileSummaryForm.tsx +0 -125
- package/src/components/Export/components/ExportForm/components/ExportManifestDownloadFormatForm/exportManifestDownloadFormatForm.tsx +0 -42
- package/src/components/Export/components/ExportForm/components/ExportSpeciesForm/exportSpeciesForm.tsx +0 -64
- package/src/components/Export/components/ExportForm/exportForm.styles.ts +0 -100
- package/src/components/Export/components/ExportForm/exportForm.tsx +0 -139
- package/src/components/Export/components/ExportMethod/constants.ts +0 -8
- package/src/components/Export/components/ExportMethod/exportMethod.styles.ts +0 -42
- package/src/components/Export/components/ExportMethod/exportMethod.tsx +0 -95
- package/src/components/Export/components/ExportMethod/stories/exportMethod.stories.tsx +0 -30
- package/src/components/Export/components/ExportSummary/common/utils.ts +0 -55
- package/src/components/Export/components/ExportSummary/components/ExportCurrentQuery/exportCurrentQuery.tsx +0 -41
- package/src/components/Export/components/ExportSummary/components/ExportSelectedDataSummary/exportSelectedDataSummary.tsx +0 -32
- package/src/components/Export/components/ExportSummary/exportSummary.styles.ts +0 -23
- package/src/components/Export/components/ExportSummary/exportSummary.tsx +0 -12
- package/src/components/Export/components/ExportToTerra/components/ExportToTerraForm/exportToTerraForm.tsx +0 -51
- package/src/components/Export/components/ExportToTerra/components/ExportToTerraNotStarted/exportToTerraNotStarted.tsx +0 -55
- package/src/components/Export/components/ExportToTerra/components/ExportToTerraReady/exportToTerraReady.tsx +0 -45
- package/src/components/Export/components/ExportToTerra/components/TerraSetUpForm/components/FormStep/components/AcceptTerraTOS/acceptTerraTOS.tsx +0 -74
- package/src/components/Export/components/ExportToTerra/components/TerraSetUpForm/components/FormStep/components/ConnectTerraToNIHAccount/connectTerraToNIHAccount.tsx +0 -44
- package/src/components/Export/components/ExportToTerra/components/TerraSetUpForm/components/FormStep/components/CreateTerraAccount/createTerraAccount.tsx +0 -49
- package/src/components/Export/components/ExportToTerra/components/TerraSetUpForm/components/FormStep/formStep.styles.ts +0 -10
- package/src/components/Export/components/ExportToTerra/components/TerraSetUpForm/components/FormStep/formStep.tsx +0 -65
- package/src/components/Export/components/ExportToTerra/components/TerraSetUpForm/components/NIHAccountExpiryWarning/nihAccountExpiryWarning.tsx +0 -66
- package/src/components/Export/components/ExportToTerra/components/TerraSetUpForm/terraSetUpForm.styles.ts +0 -60
- package/src/components/Export/components/ExportToTerra/components/TerraSetUpForm/terraSetUpForm.tsx +0 -107
- package/src/components/Export/components/ExportToTerra/exportToTerra.tsx +0 -87
- package/src/components/Export/components/ManifestDownload/components/ManifestDownloadEntity/components/FileManifestDownload/fileManifestDownload.tsx +0 -108
- package/src/components/Export/components/ManifestDownload/components/ManifestDownloadEntity/components/FileManifestSpreadsheet/fileManifestSpreadsheet.tsx +0 -107
- package/src/components/Export/components/ManifestDownload/components/ManifestDownloadEntity/constants.ts +0 -24
- package/src/components/Export/components/ManifestDownload/components/ManifestDownloadEntity/manifestDownloadEntity.styles.ts +0 -34
- package/src/components/Export/components/ManifestDownload/components/ManifestDownloadEntity/manifestDownloadEntity.tsx +0 -25
- package/src/components/Export/components/ManifestDownload/components/ManifestDownloadForm/manifestDownloadForm.tsx +0 -37
- package/src/components/Export/components/ManifestDownload/components/ManifestDownloadNotStarted/manifestDownloadNotStarted.tsx +0 -47
- package/src/components/Export/components/ManifestDownload/components/ManifestDownloadReady/manifestDownloadReady.styles.ts +0 -11
- package/src/components/Export/components/ManifestDownload/components/ManifestDownloadReady/manifestDownloadReady.tsx +0 -40
- package/src/components/Export/components/ManifestDownload/manifestDownload.tsx +0 -85
- package/src/components/Export/export.styles.ts +0 -40
- package/src/components/Filter/common/constants.ts +0 -5
- package/src/components/Filter/common/entities.ts +0 -46
- package/src/components/Filter/common/utils.ts +0 -84
- package/src/components/Filter/components/ClearAllFilters/clearAllFilters.styles.ts +0 -6
- package/src/components/Filter/components/ClearAllFilters/clearAllFilters.tsx +0 -28
- package/src/components/Filter/components/Filter/components/DrawerTransition/drawerTransition.tsx +0 -24
- package/src/components/Filter/components/Filter/filter.styles.ts +0 -26
- package/src/components/Filter/components/Filter/filter.tsx +0 -142
- package/src/components/Filter/components/Filter/stories/args.ts +0 -25
- package/src/components/Filter/components/Filter/stories/filter.stories.tsx +0 -32
- package/src/components/Filter/components/FilterCountChip/filterCountChip.styles.ts +0 -19
- package/src/components/Filter/components/FilterCountChip/filterCountChip.tsx +0 -22
- package/src/components/Filter/components/FilterCountChip/stories/filterCountChip.stories.tsx +0 -12
- package/src/components/Filter/components/FilterCountChip/types.ts +0 -6
- package/src/components/Filter/components/FilterLabel/filterLabel.stories.tsx +0 -43
- package/src/components/Filter/components/FilterLabel/filterLabel.styles.ts +0 -54
- package/src/components/Filter/components/FilterLabel/filterLabel.tsx +0 -48
- package/src/components/Filter/components/FilterList/filterList.styles.ts +0 -58
- package/src/components/Filter/components/FilterMenu/filterMenu.stories.tsx +0 -129
- package/src/components/Filter/components/FilterMenu/filterMenu.styles.ts +0 -22
- package/src/components/Filter/components/FilterMenu/filterMenu.tsx +0 -82
- package/src/components/Filter/components/FilterMenuSearch/filterMenuSearch.styles.ts +0 -22
- package/src/components/Filter/components/FilterMenuSearch/filterMenuSearch.tsx +0 -27
- package/src/components/Filter/components/FilterNoResultsFound/filterNoResultsFound.styles.ts +0 -7
- package/src/components/Filter/components/FilterNoResultsFound/filterNoResultsFound.tsx +0 -41
- package/src/components/Filter/components/FilterRange/constants.ts +0 -34
- package/src/components/Filter/components/FilterRange/filterRange.styles.ts +0 -122
- package/src/components/Filter/components/FilterRange/filterRange.tsx +0 -139
- package/src/components/Filter/components/FilterRange/hooks/UseFilterRange/constants.ts +0 -5
- package/src/components/Filter/components/FilterRange/hooks/UseFilterRange/hook.ts +0 -61
- package/src/components/Filter/components/FilterRange/hooks/UseFilterRange/schema.ts +0 -60
- package/src/components/Filter/components/FilterRange/hooks/UseFilterRange/types.ts +0 -40
- package/src/components/Filter/components/FilterRange/hooks/UseFilterRange/utils.ts +0 -32
- package/src/components/Filter/components/FilterRange/stories/args.ts +0 -17
- package/src/components/Filter/components/FilterRange/stories/filterRange.stories.tsx +0 -15
- package/src/components/Filter/components/FilterRange/types.ts +0 -15
- package/src/components/Filter/components/FilterRange/utils.ts +0 -16
- package/src/components/Filter/components/FilterTag/filterTag.styles.ts +0 -7
- package/src/components/Filter/components/FilterTag/filterTag.tsx +0 -59
- package/src/components/Filter/components/FilterTag/stories/args.ts +0 -22
- package/src/components/Filter/components/FilterTag/stories/filterTag.stories.tsx +0 -32
- package/src/components/Filter/components/FilterTag/utils.ts +0 -57
- package/src/components/Filter/components/FilterTags/filterTags.stories.tsx +0 -63
- package/src/components/Filter/components/FilterTags/filterTags.styles.ts +0 -13
- package/src/components/Filter/components/FilterTags/filterTags.tsx +0 -23
- package/src/components/Filter/components/Filters/filters.styles.ts +0 -45
- package/src/components/Filter/components/Filters/filters.tsx +0 -141
- package/src/components/Filter/components/Filters/stories/args.ts +0 -24
- package/src/components/Filter/components/Filters/stories/constants.ts +0 -175
- package/src/components/Filter/components/Filters/stories/filters.stories.tsx +0 -24
- package/src/components/Filter/components/HighlightedLabel/highlightedLabel.styles.ts +0 -28
- package/src/components/Filter/components/HighlightedLabel/highlightedLabel.tsx +0 -46
- package/src/components/Filter/components/SearchAllFilters/common/constants.ts +0 -49
- package/src/components/Filter/components/SearchAllFilters/common/entites.ts +0 -44
- package/src/components/Filter/components/SearchAllFilters/common/utils.ts +0 -15
- package/src/components/Filter/components/SearchAllFilters/components/OutlinedInput/constants.ts +0 -9
- package/src/components/Filter/components/SearchAllFilters/components/OutlinedInput/outlinedInput.tsx +0 -31
- package/src/components/Filter/components/SearchAllFilters/components/OutlinedInput/utils.ts +0 -22
- package/src/components/Filter/components/SearchAllFilters/components/VariableSizeList/VariableSizeList.tsx +0 -312
- package/src/components/Filter/components/SearchAllFilters/components/VariableSizeListItem/variableSizeListItem.tsx +0 -105
- package/src/components/Filter/components/SearchAllFilters/context/context.ts +0 -12
- package/src/components/Filter/components/SearchAllFilters/context/hook.ts +0 -11
- package/src/components/Filter/components/SearchAllFilters/context/types.ts +0 -12
- package/src/components/Filter/components/SearchAllFilters/searchAllFilters.styles.ts +0 -16
- package/src/components/Filter/components/SearchAllFilters/searchAllFilters.tsx +0 -129
- package/src/components/Filter/components/SearchAllFilters/stories/args.ts +0 -15
- package/src/components/Filter/components/SearchAllFilters/stories/searchAllFilters.stories.tsx +0 -29
- package/src/components/Filter/components/SearchAllFilters/types.ts +0 -17
- package/src/components/Filter/components/VariableSizeList/VariableSizeList.tsx +0 -179
- package/src/components/Filter/components/VariableSizeListItem/variableSizeListItem.tsx +0 -88
- package/src/components/Filter/components/adapters/tanstack/ColumnFiltersAdapter/columnFiltersAdapter.tsx +0 -65
- package/src/components/Filter/components/adapters/tanstack/ColumnFiltersAdapter/hooks/UseUpdateFilterSort/hook.ts +0 -22
- package/src/components/Filter/components/adapters/tanstack/ColumnFiltersAdapter/hooks/UseUpdateFilterSort/types.ts +0 -7
- package/src/components/Filter/components/adapters/tanstack/ColumnFiltersAdapter/hooks/UseUpdateFilterSort/utils.ts +0 -33
- package/src/components/Filter/components/adapters/tanstack/ColumnFiltersAdapter/types.ts +0 -20
- package/src/components/Filter/components/adapters/tanstack/ColumnFiltersAdapter/utils.ts +0 -264
- package/src/components/Filter/components/controls/Controls/components/FilterSort/constants.ts +0 -22
- package/src/components/Filter/components/controls/Controls/components/FilterSort/filterSort.styles.ts +0 -34
- package/src/components/Filter/components/controls/Controls/components/FilterSort/filterSort.tsx +0 -73
- package/src/components/Filter/components/controls/Controls/components/FilterSort/stories/filterSort.stories.tsx +0 -15
- package/src/components/Filter/components/controls/Controls/components/FilterSort/types.ts +0 -7
- package/src/components/Filter/components/controls/Controls/controls.styles.ts +0 -11
- package/src/components/Filter/components/controls/Controls/controls.tsx +0 -39
- package/src/components/Filter/components/controls/Controls/types.ts +0 -11
- package/src/components/Filter/components/surfaces/drawer/Drawer/constants.ts +0 -7
- package/src/components/Filter/components/surfaces/drawer/Drawer/drawer.styles.ts +0 -20
- package/src/components/Filter/components/surfaces/drawer/Drawer/drawer.tsx +0 -46
- package/src/components/Filter/components/surfaces/drawer/Drawer/types.ts +0 -9
- package/src/components/Filter/components/surfaces/drawer/components/Button/button.tsx +0 -40
- package/src/components/Filter/components/surfaces/drawer/components/ButtonBase/buttonBase.styles.ts +0 -13
- package/src/components/Filter/components/surfaces/drawer/components/ButtonBase/buttonBase.tsx +0 -25
- package/src/components/Filter/components/surfaces/drawer/components/IconButton/constants.ts +0 -12
- package/src/components/Filter/components/surfaces/drawer/components/IconButton/iconButton.styles.ts +0 -10
- package/src/components/Filter/components/surfaces/drawer/components/IconButton/iconButton.tsx +0 -28
- package/src/components/Filter/components/surfaces/popper/Popper/popper.styles.ts +0 -20
- package/src/components/Filter/components/surfaces/types.ts +0 -17
- package/src/components/Filter/components/views/select/SelectListItem/selectListItem.tsx +0 -19
- package/src/components/Filter/components/views/select/SelectListItem/types.ts +0 -14
- package/src/components/Filter/components/views/select/components/Checkbox/checkbox.tsx +0 -19
- package/src/components/Filter/components/views/select/components/ListItemButton/listItemButton.styles.ts +0 -12
- package/src/components/Filter/components/views/select/components/ListItemButton/listItemButton.tsx +0 -25
- package/src/components/Filter/components/views/select/components/ListItemText/components/Count/count.tsx +0 -20
- package/src/components/Filter/components/views/select/components/ListItemText/components/Term/term.tsx +0 -19
- package/src/components/Filter/components/views/select/components/ListItemText/listItemText.styles.ts +0 -13
- package/src/components/Filter/components/views/select/components/ListItemText/listItemText.tsx +0 -48
- package/src/components/Head/head.tsx +0 -69
- package/src/components/Index/components/AzulFileDownload/azulFileDownload.stories.tsx +0 -20
- package/src/components/Index/components/AzulFileDownload/azulFileDownload.styles.ts +0 -6
- package/src/components/Index/components/AzulFileDownload/azulFileDownload.tsx +0 -81
- package/src/components/Index/components/AzulFileDownload/common/constants.ts +0 -4
- package/src/components/Index/components/EntityView/components/controls/ActionButton/actionButton.tsx +0 -12
- package/src/components/Index/components/EntityView/components/controls/ExportButton/exportButton.styles.ts +0 -9
- package/src/components/Index/components/EntityView/components/controls/ExportButton/exportButton.tsx +0 -39
- package/src/components/Index/components/EntityView/components/controls/FilterButton/filterButton.styles.ts +0 -9
- package/src/components/Index/components/EntityView/components/controls/FilterButton/filterButton.tsx +0 -39
- package/src/components/Index/components/EntityView/components/controls/ViewToggle/hooks/UseViewToggle/hook.ts +0 -15
- package/src/components/Index/components/EntityView/components/controls/ViewToggle/hooks/UseViewToggle/types.ts +0 -16
- package/src/components/Index/components/EntityView/components/controls/ViewToggle/stories/viewToggle.stories.tsx +0 -12
- package/src/components/Index/components/EntityView/components/controls/ViewToggle/viewToggle.styles.ts +0 -9
- package/src/components/Index/components/EntityView/components/controls/ViewToggle/viewToggle.tsx +0 -24
- package/src/components/Index/components/EntityView/components/layout/Summary/constants.ts +0 -7
- package/src/components/Index/components/EntityView/components/layout/Summary/summary.styles.ts +0 -20
- package/src/components/Index/components/EntityView/components/layout/Summary/summary.tsx +0 -41
- package/src/components/Index/components/EntityView/components/layout/Title/title.tsx +0 -16
- package/src/components/Index/components/EntityView/components/navigation/Tabs/common/utils.ts +0 -25
- package/src/components/Index/components/EntityView/components/navigation/Tabs/tabs.styles.ts +0 -20
- package/src/components/Index/components/EntityView/components/navigation/Tabs/tabs.tsx +0 -28
- package/src/components/Index/components/EntityView/components/slots/EntityListSlot/entityListSlot.tsx +0 -14
- package/src/components/Index/components/EntityView/components/slots/EntityViewSlot/entityViewSlot.styles.ts +0 -17
- package/src/components/Index/components/EntityView/components/slots/EntityViewSlot/entityViewSlot.tsx +0 -19
- package/src/components/Index/components/EntityView/components/views/ChartView/chartView.styles.ts +0 -15
- package/src/components/Index/components/EntityView/components/views/ChartView/chartView.tsx +0 -53
- package/src/components/Index/components/EntityView/components/views/ChartView/components/Chart/barX/constants.ts +0 -15
- package/src/components/Index/components/EntityView/components/views/ChartView/components/Chart/barX/plot.ts +0 -110
- package/src/components/Index/components/EntityView/components/views/ChartView/components/Chart/barX/utils.ts +0 -278
- package/src/components/Index/components/EntityView/components/views/ChartView/components/Chart/chart.styles.ts +0 -36
- package/src/components/Index/components/EntityView/components/views/ChartView/components/Chart/chart.tsx +0 -39
- package/src/components/Index/components/EntityView/components/views/ChartView/components/Chart/constants.ts +0 -1
- package/src/components/Index/components/EntityView/components/views/ChartView/components/Chart/hooks/UseBarCount/constants.ts +0 -1
- package/src/components/Index/components/EntityView/components/views/ChartView/components/Chart/hooks/UseBarCount/hook.ts +0 -18
- package/src/components/Index/components/EntityView/components/views/ChartView/components/Chart/hooks/UseBarCount/types.ts +0 -4
- package/src/components/Index/components/EntityView/components/views/ChartView/components/Chart/hooks/UseBarCount/utils.ts +0 -38
- package/src/components/Index/components/EntityView/components/views/ChartView/components/Chart/hooks/UsePlotOptions/hook.ts +0 -27
- package/src/components/Index/components/EntityView/components/views/ChartView/components/Chart/hooks/UsePlotOptions/types.ts +0 -5
- package/src/components/Index/components/EntityView/components/views/ChartView/components/Chart/stories/args.ts +0 -74
- package/src/components/Index/components/EntityView/components/views/ChartView/components/Chart/stories/chart.stories.tsx +0 -28
- package/src/components/Index/components/EntityView/components/views/ChartView/components/Chart/types.ts +0 -8
- package/src/components/Index/components/EntityView/components/views/ChartView/components/Chart/utils.ts +0 -20
- package/src/components/Index/components/EntityView/components/views/ChartView/constants.ts +0 -1
- package/src/components/Index/components/EntityView/components/views/ChartView/hooks/UseChartView/types.ts +0 -8
- package/src/components/Index/components/EntityView/components/views/ChartView/hooks/UseChartView/useChartView.ts +0 -29
- package/src/components/Index/components/EntityView/components/views/ChartView/stories/args.ts +0 -100
- package/src/components/Index/components/EntityView/components/views/ChartView/stories/chartView.stories.tsx +0 -24
- package/src/components/Index/components/EntityView/components/views/ChartView/types.ts +0 -9
- package/src/components/Index/components/EntityView/components/views/ChartView/utils.ts +0 -28
- package/src/components/Index/components/EntityView/components/views/TableView/tableView.tsx +0 -22
- package/src/components/Index/components/EntityView/components/views/TableView/types.ts +0 -7
- package/src/components/Index/components/EntityView/context/context.ts +0 -9
- package/src/components/Index/components/EntityView/context/hook.ts +0 -11
- package/src/components/Index/components/EntityView/context/types.ts +0 -11
- package/src/components/Index/index.styles.ts +0 -69
- package/src/components/Index/index.tsx +0 -78
- package/src/components/Index/table/coreOptions/columns/cellFactory.tsx +0 -22
- package/src/components/Index/table/hook.ts +0 -252
- package/src/components/Index/table/types.ts +0 -9
- package/src/components/Index/types.ts +0 -10
- package/src/components/Layout/components/AppLayout/appLayout.styles.ts +0 -8
- package/src/components/Layout/components/BackPage/backPageView.stories.tsx +0 -66
- package/src/components/Layout/components/BackPage/backPageView.styles.ts +0 -151
- package/src/components/Layout/components/BackPage/backPageView.tsx +0 -50
- package/src/components/Layout/components/BackPage/components/BackPageHero/backPageHero.styles.ts +0 -35
- package/src/components/Layout/components/BackPage/components/BackPageHero/backPageHero.tsx +0 -59
- package/src/components/Layout/components/BackPage/components/BackPageHero/components/Actions/actions.styles.ts +0 -14
- package/src/components/Layout/components/BackPage/components/BackPageHero/components/Actions/actions.tsx +0 -13
- package/src/components/Layout/components/BackPage/components/BackPageHero/components/SubTitle/subTitle.tsx +0 -28
- package/src/components/Layout/components/BackPage/components/BackPageHero/stories/backPageHero.stories.tsx +0 -24
- package/src/components/Layout/components/ContentLayout/common/constants.ts +0 -31
- package/src/components/Layout/components/ContentLayout/common/entities.ts +0 -13
- package/src/components/Layout/components/ContentLayout/components/Main/main.tsx +0 -11
- package/src/components/Layout/components/ContentLayout/contentLayout.styles.ts +0 -149
- package/src/components/Layout/components/ContentLayout/contentLayout.tsx +0 -78
- package/src/components/Layout/components/Floating/floating.tsx +0 -15
- package/src/components/Layout/components/Footer/components/PoweredByCleverCanary/poweredByCleverCanary.tsx +0 -31
- package/src/components/Layout/components/Footer/components/PoweredByCleverCanary/types.ts +0 -8
- package/src/components/Layout/components/Footer/components/VersionInfo/components/Tooltip/components/Title/constants.ts +0 -5
- package/src/components/Layout/components/Footer/components/VersionInfo/components/Tooltip/components/Title/title.tsx +0 -56
- package/src/components/Layout/components/Footer/components/VersionInfo/components/Tooltip/components/Title/utils.ts +0 -31
- package/src/components/Layout/components/Footer/components/VersionInfo/constants.ts +0 -37
- package/src/components/Layout/components/Footer/components/VersionInfo/types.ts +0 -14
- package/src/components/Layout/components/Footer/components/VersionInfo/utils.ts +0 -32
- package/src/components/Layout/components/Footer/components/VersionInfo/versionInfo.styles.ts +0 -11
- package/src/components/Layout/components/Footer/components/VersionInfo/versionInfo.tsx +0 -32
- package/src/components/Layout/components/Footer/footer.styles.ts +0 -59
- package/src/components/Layout/components/Footer/footer.tsx +0 -62
- package/src/components/Layout/components/Footer/stories/footer.stories.tsx +0 -63
- package/src/components/Layout/components/Header/common/constants.ts +0 -21
- package/src/components/Layout/components/Header/common/entities.ts +0 -23
- package/src/components/Layout/components/Header/common/utils.ts +0 -222
- package/src/components/Layout/components/Header/components/Announcements/announcements.tsx +0 -14
- package/src/components/Layout/components/Header/components/Content/components/Actions/actions.styles.ts +0 -9
- package/src/components/Layout/components/Header/components/Content/components/Actions/actions.tsx +0 -10
- package/src/components/Layout/components/Header/components/Content/components/Actions/components/Authentication/authentication.tsx +0 -75
- package/src/components/Layout/components/Header/components/Content/components/Actions/components/Authentication/components/AuthenticationMenu/authenticationMenu.styles.ts +0 -40
- package/src/components/Layout/components/Header/components/Content/components/Actions/components/Authentication/components/AuthenticationMenu/authenticationMenu.tsx +0 -45
- package/src/components/Layout/components/Header/components/Content/components/Actions/components/Authentication/components/AuthenticationMenu/constants.ts +0 -19
- package/src/components/Layout/components/Header/components/Content/components/Actions/components/Authentication/components/Button/button.styles.ts +0 -9
- package/src/components/Layout/components/Header/components/Content/components/Actions/components/Menu/common/constants.ts +0 -9
- package/src/components/Layout/components/Header/components/Content/components/Actions/components/Menu/components/Content/components/Navigation/navigation.styles.ts +0 -33
- package/src/components/Layout/components/Header/components/Content/components/Actions/components/Menu/components/Content/components/Socials/socials.styles.ts +0 -7
- package/src/components/Layout/components/Header/components/Content/components/Actions/components/Menu/components/Toolbar/toolbar.tsx +0 -67
- package/src/components/Layout/components/Header/components/Content/components/Actions/components/Menu/menu.tsx +0 -79
- package/src/components/Layout/components/Header/components/Content/components/Actions/components/Search/components/Button/button.styles.ts +0 -8
- package/src/components/Layout/components/Header/components/Content/components/Actions/components/Search/components/SearchBar/common/constants.ts +0 -4
- package/src/components/Layout/components/Header/components/Content/components/Actions/components/Search/components/SearchBar/common/utils.ts +0 -29
- package/src/components/Layout/components/Header/components/Content/components/Actions/components/Search/components/SearchBar/searchBar.styles.ts +0 -43
- package/src/components/Layout/components/Header/components/Content/components/Actions/components/Search/components/SearchBar/searchBar.tsx +0 -145
- package/src/components/Layout/components/Header/components/Content/components/Actions/components/Search/search.tsx +0 -65
- package/src/components/Layout/components/Header/components/Content/components/Logo/logo.styles.ts +0 -11
- package/src/components/Layout/components/Header/components/Content/components/Logo/logo.tsx +0 -37
- package/src/components/Layout/components/Header/components/Content/components/Navigation/common/utils.ts +0 -19
- package/src/components/Layout/components/Header/components/Content/components/Navigation/components/NavigationButtonLabel/navigationButtonLabel.tsx +0 -22
- package/src/components/Layout/components/Header/components/Content/components/Navigation/components/NavigationDrawer/common/constants.ts +0 -9
- package/src/components/Layout/components/Header/components/Content/components/Navigation/components/NavigationDrawer/components/Slide/slide.tsx +0 -22
- package/src/components/Layout/components/Header/components/Content/components/Navigation/components/NavigationDrawer/navigationDrawer.styles.ts +0 -39
- package/src/components/Layout/components/Header/components/Content/components/Navigation/components/NavigationDrawer/navigationDrawer.tsx +0 -81
- package/src/components/Layout/components/Header/components/Content/components/Navigation/components/NavigationMenu/common/constants.ts +0 -15
- package/src/components/Layout/components/Header/components/Content/components/Navigation/components/NavigationMenu/navigationMenu.styles.ts +0 -95
- package/src/components/Layout/components/Header/components/Content/components/Navigation/components/NavigationMenu/navigationMenu.tsx +0 -98
- package/src/components/Layout/components/Header/components/Content/components/Navigation/components/NavigationMenuItems/common/constants.ts +0 -5
- package/src/components/Layout/components/Header/components/Content/components/Navigation/components/NavigationMenuItems/navigationMenuItems.tsx +0 -103
- package/src/components/Layout/components/Header/components/Content/components/Navigation/constants.ts +0 -1
- package/src/components/Layout/components/Header/components/Content/components/Navigation/navigation.styles.ts +0 -37
- package/src/components/Layout/components/Header/components/Content/components/Navigation/navigation.tsx +0 -135
- package/src/components/Layout/components/Header/components/Content/components/Slogan/slogan.styles.ts +0 -28
- package/src/components/Layout/components/Header/components/Content/components/Slogan/slogan.tsx +0 -30
- package/src/components/Layout/components/Header/components/Content/components/Socials/socials.styles.ts +0 -8
- package/src/components/Layout/components/Header/components/Content/content.styles.ts +0 -9
- package/src/components/Layout/components/Header/header.stories.tsx +0 -97
- package/src/components/Layout/components/Header/header.styles.ts +0 -59
- package/src/components/Layout/components/Header/header.tsx +0 -165
- package/src/components/Layout/components/Header/hooks/useHeaderNavigation.ts +0 -19
- package/src/components/Layout/components/Header/hooks/useHeaderVisibility.ts +0 -81
- package/src/components/Layout/components/Header/hooks/useMenu.ts +0 -27
- package/src/components/Layout/components/Main/main.styles.ts +0 -20
- package/src/components/Layout/components/Main/main.tsx +0 -17
- package/src/components/Layout/components/Nav/components/NavBarHero/navBarHero.styles.ts +0 -26
- package/src/components/Layout/components/Nav/components/NavBarHero/navBarHero.tsx +0 -43
- package/src/components/Layout/components/Nav/nav.stories.tsx +0 -36
- package/src/components/Layout/components/Nav/nav.styles.ts +0 -59
- package/src/components/Layout/components/Nav/nav.tsx +0 -39
- package/src/components/Layout/components/Outline/components/ContentsTab/contentsTab.styles.ts +0 -18
- package/src/components/Layout/components/Outline/components/ContentsTab/contentsTab.tsx +0 -23
- package/src/components/Layout/components/Outline/components/ContentsTab/types.ts +0 -7
- package/src/components/Layout/components/Outline/hooks/UseHash/hook.ts +0 -17
- package/src/components/Layout/components/Outline/hooks/UseHash/types.ts +0 -3
- package/src/components/Layout/components/Outline/hooks/UseTabs/constants.ts +0 -3
- package/src/components/Layout/components/Outline/hooks/UseTabs/hook.ts +0 -32
- package/src/components/Layout/components/Outline/hooks/UseTabs/utils.ts +0 -18
- package/src/components/Layout/components/Outline/outline.styles.ts +0 -64
- package/src/components/Layout/components/Outline/outline.tsx +0 -40
- package/src/components/Layout/components/Outline/types.ts +0 -16
- package/src/components/Layout/components/Sidebar/components/SidebarButton/sidebarButton.styles.ts +0 -37
- package/src/components/Layout/components/Sidebar/components/SidebarButton/sidebarButton.tsx +0 -26
- package/src/components/Layout/components/Sidebar/components/SidebarDrawer/sidebarDrawer.styles.ts +0 -27
- package/src/components/Layout/components/Sidebar/components/SidebarDrawer/sidebarDrawer.tsx +0 -42
- package/src/components/Layout/components/Sidebar/components/SidebarLabel/sidebarLabel.stories.tsx +0 -20
- package/src/components/Layout/components/Sidebar/components/SidebarLabel/sidebarLabel.tsx +0 -18
- package/src/components/Layout/components/Sidebar/components/SidebarPositioner/sidebarPositioner.styles.ts +0 -21
- package/src/components/Layout/components/Sidebar/components/SidebarPositioner/sidebarPositioner.tsx +0 -22
- package/src/components/Layout/components/Sidebar/components/SidebarTools/sidebarTools.styles.ts +0 -22
- package/src/components/Layout/components/Sidebar/sidebar.stories.tsx +0 -48
- package/src/components/Layout/components/Sidebar/sidebar.styles.ts +0 -9
- package/src/components/Layout/components/Sidebar/sidebar.tsx +0 -34
- package/src/components/Links/common/constants.ts +0 -1
- package/src/components/Links/common/entities.ts +0 -20
- package/src/components/Links/common/utils.ts +0 -36
- package/src/components/Links/components/Link/components/ExploreViewLink/exploreViewLink.tsx +0 -208
- package/src/components/Links/components/Link/link.tsx +0 -107
- package/src/components/Links/links.stories.tsx +0 -28
- package/src/components/Links/links.tsx +0 -30
- package/src/components/Loading/loading.stories.tsx +0 -43
- package/src/components/Loading/loading.styles.ts +0 -84
- package/src/components/Loading/loading.tsx +0 -89
- package/src/components/Login/components/Button/button.styles.ts +0 -12
- package/src/components/Login/components/Button/button.tsx +0 -8
- package/src/components/Login/components/Button/constants.ts +0 -7
- package/src/components/Login/components/Button/types.ts +0 -4
- package/src/components/Login/components/Buttons/buttons.tsx +0 -22
- package/src/components/Login/components/Buttons/types.ts +0 -9
- package/src/components/Login/components/Section/components/Consent/consent.styles.ts +0 -15
- package/src/components/Login/components/Section/components/Consent/consent.tsx +0 -32
- package/src/components/Login/components/Section/components/Consent/types.ts +0 -11
- package/src/components/Login/components/Section/components/Warning/warning.tsx +0 -23
- package/src/components/Login/hooks/useUserConsent/types.ts +0 -11
- package/src/components/Login/hooks/useUserConsent/useUserConsent.ts +0 -32
- package/src/components/Login/hooks/useUserLogin/types.ts +0 -10
- package/src/components/Login/hooks/useUserLogin/useUserLogin.ts +0 -29
- package/src/components/Login/login.styles.ts +0 -42
- package/src/components/Login/login.tsx +0 -112
- package/src/components/Login/types.ts +0 -11
- package/src/components/MarkdownRenderer/components/Anchor/anchor.tsx +0 -39
- package/src/components/MarkdownRenderer/components/Table/table.styles.ts +0 -41
- package/src/components/MarkdownRenderer/components/Table/table.tsx +0 -13
- package/src/components/MarkdownRenderer/constants.ts +0 -8
- package/src/components/MarkdownRenderer/markdownRenderer.styles.ts +0 -19
- package/src/components/MarkdownRenderer/markdownRenderer.tsx +0 -80
- package/src/components/MarkdownRenderer/rehypeHighlight.ts +0 -54
- package/src/components/MarkdownRenderer/stories/args.ts +0 -8
- package/src/components/MarkdownRenderer/stories/markdownRenderer.stories.tsx +0 -33
- package/src/components/MarkdownRenderer/types.ts +0 -8
- package/src/components/NoResults/noResults.styles.ts +0 -14
- package/src/components/NoResults/noResults.tsx +0 -37
- package/src/components/NoResults/types.ts +0 -13
- package/src/components/Plot/components/BarX/barX.tsx +0 -20
- package/src/components/Plot/components/BarX/types.ts +0 -6
- package/src/components/Project/common/entities.ts +0 -50
- package/src/components/Project/components/Citation/citation.stories.tsx +0 -21
- package/src/components/Project/components/Citation/citation.styles.ts +0 -22
- package/src/components/Project/components/Citation/citation.tsx +0 -37
- package/src/components/Project/components/CollaboratingOrganizations/collaboratingOrganizations.stories.tsx +0 -33
- package/src/components/Project/components/CollaboratingOrganizations/collaboratingOrganizations.tsx +0 -30
- package/src/components/Project/components/Contacts/contacts.stories.tsx +0 -31
- package/src/components/Project/components/Contacts/contacts.tsx +0 -34
- package/src/components/Project/components/Contributors/contributors.stories.tsx +0 -38
- package/src/components/Project/components/Contributors/contributors.tsx +0 -31
- package/src/components/Project/components/DataCurators/dataCurators.stories.tsx +0 -20
- package/src/components/Project/components/DataCurators/dataCurators.tsx +0 -26
- package/src/components/Project/components/DataReleasePolicy/dataReleasePolicy.stories.tsx +0 -13
- package/src/components/Project/components/DataReleasePolicy/dataReleasePolicy.tsx +0 -22
- package/src/components/Project/components/Description/description.stories.tsx +0 -18
- package/src/components/Project/components/Description/description.tsx +0 -18
- package/src/components/Project/components/Details/details.stories.tsx +0 -31
- package/src/components/Project/components/Details/details.tsx +0 -50
- package/src/components/Project/components/Publications/publications.stories.tsx +0 -30
- package/src/components/Project/components/Publications/publications.tsx +0 -43
- package/src/components/Project/components/Sup/sup.styles.tsx +0 -5
- package/src/components/Project/components/SupplementaryLinks/supplementaryLinks.stories.tsx +0 -29
- package/src/components/Project/components/SupplementaryLinks/supplementaryLinks.styles.ts +0 -20
- package/src/components/Project/components/SupplementaryLinks/supplementaryLinks.tsx +0 -54
- package/src/components/Redirect/redirect.tsx +0 -24
- package/src/components/Stepper/components/Step/components/StepContent/stepContent.styles.ts +0 -18
- package/src/components/Stepper/components/Step/components/StepContent/stepContent.tsx +0 -16
- package/src/components/Stepper/components/Step/components/StepIcon/components/CompletedIcon/completedIcon.styles.ts +0 -16
- package/src/components/Stepper/components/Step/components/StepIcon/components/CompletedIcon/completedIcon.tsx +0 -20
- package/src/components/Stepper/components/Step/components/StepIcon/components/CompletedIcon/contants.ts +0 -6
- package/src/components/Stepper/components/Step/components/StepIcon/constants.ts +0 -1
- package/src/components/Stepper/components/Step/components/StepIcon/stepIcon.styles.ts +0 -28
- package/src/components/Stepper/components/Step/components/StepIcon/stepIcon.tsx +0 -21
- package/src/components/Stepper/components/Step/components/StepIcon/stories/stepIcon.stories.tsx +0 -52
- package/src/components/Stepper/components/Step/components/StepLabel/components/Label/components/Icon/constants.ts +0 -14
- package/src/components/Stepper/components/Step/components/StepLabel/components/Label/components/Icon/icon.tsx +0 -13
- package/src/components/Stepper/components/Step/components/StepLabel/components/Label/components/Icon/stories/contants.ts +0 -6
- package/src/components/Stepper/components/Step/components/StepLabel/components/Label/components/Icon/stories/icon.stories.tsx +0 -30
- package/src/components/Stepper/components/Step/components/StepLabel/components/Label/components/Icon/types.ts +0 -8
- package/src/components/Stepper/components/Step/components/StepLabel/components/Label/constants.ts +0 -8
- package/src/components/Stepper/components/Step/components/StepLabel/components/Label/label.styles.ts +0 -8
- package/src/components/Stepper/components/Step/components/StepLabel/components/Label/label.tsx +0 -10
- package/src/components/Stepper/components/Step/components/StepLabel/components/Label/stories/label.stories.tsx +0 -34
- package/src/components/Stepper/components/Step/components/StepLabel/components/Optional/constants.ts +0 -7
- package/src/components/Stepper/components/Step/components/StepLabel/components/Optional/optional.tsx +0 -9
- package/src/components/Stepper/components/Step/components/StepLabel/constants.ts +0 -10
- package/src/components/Stepper/components/Step/components/StepLabel/stepLabel.styles.ts +0 -13
- package/src/components/Stepper/components/Step/components/StepLabel/stepLabel.tsx +0 -10
- package/src/components/Stepper/components/Step/components/StepLabel/stories/contants.ts +0 -19
- package/src/components/Stepper/components/Step/components/StepLabel/stories/stepLabel.stories.tsx +0 -52
- package/src/components/Stepper/components/Step/constants.ts +0 -6
- package/src/components/Stepper/components/Step/step.styles.ts +0 -33
- package/src/components/Stepper/components/Step/step.tsx +0 -12
- package/src/components/Stepper/components/Step/stories/contants.ts +0 -18
- package/src/components/Stepper/components/Step/stories/step.stories.tsx +0 -91
- package/src/components/Support/components/SupportRequest/components/Dialog/dialog.styles.ts +0 -38
- package/src/components/Support/components/SupportRequest/components/Dialog/dialog.tsx +0 -57
- package/src/components/Support/components/SupportRequest/components/Dropzone/dropzone.tsx +0 -40
- package/src/components/Support/components/SupportRequest/components/SupportRequestForm/common/constants.ts +0 -45
- package/src/components/Support/components/SupportRequest/components/SupportRequestForm/common/entities.ts +0 -65
- package/src/components/Support/components/SupportRequest/components/SupportRequestForm/common/utils.ts +0 -96
- package/src/components/Support/components/SupportRequest/components/SupportRequestForm/supportRequestForm.styles.ts +0 -6
- package/src/components/Support/components/SupportRequest/components/SupportRequestForm/supportRequestForm.tsx +0 -344
- package/src/components/Support/components/SupportRequest/components/SupportRequestSubmitted/supportRequestSubmitted.tsx +0 -39
- package/src/components/Support/components/SupportRequest/supportRequest.tsx +0 -33
- package/src/components/Support/components/ViewSupport/types.ts +0 -8
- package/src/components/Support/components/ViewSupport/viewSupport.styles.ts +0 -31
- package/src/components/Support/components/ViewSupport/viewSupport.tsx +0 -25
- package/src/components/Table/columnDef/accessorFn/typeGuards.ts +0 -15
- package/src/components/Table/columnDef/columnFilters/filterFn.ts +0 -27
- package/src/components/Table/columnDef/globalFilter/constants.ts +0 -5
- package/src/components/Table/columnDef/globalFilter/filterFn.ts +0 -34
- package/src/components/Table/columnDef/globalFilter/types.ts +0 -5
- package/src/components/Table/columnDef/globalFilter/utils.ts +0 -74
- package/src/components/Table/common/columnDef.ts +0 -40
- package/src/components/Table/common/columnIdentifier.ts +0 -4
- package/src/components/Table/common/entities.ts +0 -4
- package/src/components/Table/common/gridTable.styles.ts +0 -54
- package/src/components/Table/common/typeGuards.ts +0 -12
- package/src/components/Table/common/utils.ts +0 -316
- package/src/components/Table/components/PaginationSummary/paginationSummary.tsx +0 -33
- package/src/components/Table/components/TableBody/tableBody.tsx +0 -38
- package/src/components/Table/components/TableCell/common/utils.ts +0 -33
- package/src/components/Table/components/TableCell/components/BasicCell/basicCell.tsx +0 -60
- package/src/components/Table/components/TableCell/components/ChipCell/chipCell.tsx +0 -16
- package/src/components/Table/components/TableCell/components/CodeCell/codeCell.styles.ts +0 -16
- package/src/components/Table/components/TableCell/components/CodeCell/codeCell.tsx +0 -24
- package/src/components/Table/components/TableCell/components/CollapsableCell/collapsableCell.styles.ts +0 -56
- package/src/components/Table/components/TableCell/components/CollapsableCell/collapsableCell.tsx +0 -79
- package/src/components/Table/components/TableCell/components/LinkCell/linkCell.tsx +0 -69
- package/src/components/Table/components/TableCell/components/LinkCell/stories/args.ts +0 -35
- package/src/components/Table/components/TableCell/components/LinkCell/stories/linkCell.stories.tsx +0 -32
- package/src/components/Table/components/TableCell/components/LinkCell/stories/types.ts +0 -4
- package/src/components/Table/components/TableCell/components/LinkCell/utils.ts +0 -59
- package/src/components/Table/components/TableCell/components/MarkdownCell/markdownCell.styles.ts +0 -33
- package/src/components/Table/components/TableCell/components/MarkdownCell/markdownCell.tsx +0 -39
- package/src/components/Table/components/TableCell/components/MarkdownCell/stories/args.ts +0 -18
- package/src/components/Table/components/TableCell/components/MarkdownCell/stories/constants.ts +0 -11
- package/src/components/Table/components/TableCell/components/MarkdownCell/stories/markdownCell.stories.tsx +0 -37
- package/src/components/Table/components/TableCell/components/NTagCell/components/NTag/components/Tooltip/tooltip.styles.ts +0 -11
- package/src/components/Table/components/TableCell/components/NTagCell/components/NTag/components/Tooltip/tooltip.tsx +0 -86
- package/src/components/Table/components/TableCell/components/NTagCell/components/NTag/nTag.tsx +0 -21
- package/src/components/Table/components/TableCell/components/NTagCell/nTagCell.tsx +0 -73
- package/src/components/Table/components/TableCell/components/RankedCell/rankedCell.tsx +0 -67
- package/src/components/Table/components/TableCell/components/RankedCell/utils.ts +0 -48
- package/src/components/Table/components/TableCell/components/RowPositionCell/constants.ts +0 -7
- package/src/components/Table/components/TableCell/components/RowPositionCell/rowPositionCell.tsx +0 -16
- package/src/components/Table/components/TableCell/components/RowSelectionCell/constants.ts +0 -15
- package/src/components/Table/components/TableCell/components/RowSelectionCell/rowSelectionCell.tsx +0 -36
- package/src/components/Table/components/TableFeatures/ColumnFilter/columnFilter.styles.ts +0 -48
- package/src/components/Table/components/TableFeatures/ColumnFilter/columnFilter.tsx +0 -105
- package/src/components/Table/components/TableFeatures/ColumnFilter/components/ColumnFilterTag/columnFilterTag.styles.ts +0 -25
- package/src/components/Table/components/TableFeatures/ColumnFilter/components/ColumnFilterTag/columnFilterTag.tsx +0 -31
- package/src/components/Table/components/TableFeatures/ColumnFilter/components/ColumnFilterTag/constants.ts +0 -13
- package/src/components/Table/components/TableFeatures/ColumnFilter/components/ColumnFilterTag/stories/columFilterTag.stories.tsx +0 -27
- package/src/components/Table/components/TableFeatures/ColumnFilter/components/ColumnFilterTag/types.ts +0 -8
- package/src/components/Table/components/TableFeatures/ColumnFilter/constants.ts +0 -28
- package/src/components/Table/components/TableFeatures/ColumnFilter/types.ts +0 -10
- package/src/components/Table/components/TableFeatures/ColumnFilter/utils.ts +0 -27
- package/src/components/Table/components/TableFeatures/ColumnGrouping/utils.ts +0 -70
- package/src/components/Table/components/TableFeatures/ColumnVisibility/utils.ts +0 -33
- package/src/components/Table/components/TableFeatures/GlobalFilter/constants.ts +0 -8
- package/src/components/Table/components/TableFeatures/GlobalFilter/globalFilter.tsx +0 -37
- package/src/components/Table/components/TableFeatures/GlobalFilter/types.ts +0 -8
- package/src/components/Table/components/TableFeatures/RowExpanding/utils.ts +0 -25
- package/src/components/Table/components/TableFeatures/RowSorting/utils.ts +0 -87
- package/src/components/Table/components/TableFeatures/TableDownload/tableDownload.styles.ts +0 -9
- package/src/components/Table/components/TableFeatures/TableDownload/tableDownload.tsx +0 -23
- package/src/components/Table/components/TableFeatures/TableDownload/types.ts +0 -8
- package/src/components/Table/components/TableHead/components/HeadSelectionCell/headSelectionCell.tsx +0 -26
- package/src/components/Table/components/TableHead/tableHead.tsx +0 -64
- package/src/components/Table/components/TableHead/types.ts +0 -5
- package/src/components/Table/components/TableHead/utils.ts +0 -42
- package/src/components/Table/components/TablePagination/stories/args.ts +0 -12
- package/src/components/Table/components/TablePagination/stories/tablePagination.stories.tsx +0 -15
- package/src/components/Table/components/TablePagination/tablePagination.styles.ts +0 -11
- package/src/components/Table/components/TablePagination/tablePagination.tsx +0 -47
- package/src/components/Table/components/TablePagination/types.ts +0 -8
- package/src/components/Table/components/TableRow/tableRow.styles.ts +0 -76
- package/src/components/Table/components/TableRows/components/CollapsableRows/collapsableRows.styles.ts +0 -6
- package/src/components/Table/components/TableRows/components/CollapsableRows/collapsableRows.tsx +0 -47
- package/src/components/Table/components/TableRows/components/CollapsableRows/hook.ts +0 -20
- package/src/components/Table/components/TableRows/components/VirtualizedRow/virtualizedRow.tsx +0 -61
- package/src/components/Table/components/TableRows/tableRows.tsx +0 -65
- package/src/components/Table/components/TableToolbar/components/ColumnGrouping/columnGrouping.tsx +0 -36
- package/src/components/Table/components/TableToolbar/components/ColumnGrouping/components/MenuItems/constants.ts +0 -13
- package/src/components/Table/components/TableToolbar/components/ColumnGrouping/components/MenuItems/menuItems.styles.ts +0 -17
- package/src/components/Table/components/TableToolbar/components/ColumnGrouping/components/MenuItems/menuItems.tsx +0 -55
- package/src/components/Table/components/TableToolbar/components/ColumnGrouping/components/MenuItems/types.ts +0 -7
- package/src/components/Table/components/TableToolbar/components/ColumnGrouping/components/MenuItems/utils.ts +0 -58
- package/src/components/Table/components/TableToolbar/components/ColumnGrouping/constants.ts +0 -5
- package/src/components/Table/components/TableToolbar/components/ColumnGrouping/types.ts +0 -5
- package/src/components/Table/components/TableToolbar/components/ColumnGrouping/utils.ts +0 -38
- package/src/components/Table/components/TableToolbar/components/ColumnVisibility/columnVisibility.styles.ts +0 -12
- package/src/components/Table/components/TableToolbar/components/ColumnVisibility/columnVisibility.tsx +0 -28
- package/src/components/Table/components/TableToolbar/components/ColumnVisibility/components/MenuItems/constants.ts +0 -9
- package/src/components/Table/components/TableToolbar/components/ColumnVisibility/components/MenuItems/menuItems.styles.ts +0 -17
- package/src/components/Table/components/TableToolbar/components/ColumnVisibility/components/MenuItems/menuItems.tsx +0 -53
- package/src/components/Table/components/TableToolbar/components/ColumnVisibility/components/MenuItems/types.ts +0 -5
- package/src/components/Table/components/TableToolbar/components/ColumnVisibility/components/MenuItems/utils.ts +0 -44
- package/src/components/Table/components/TableToolbar/components/ColumnVisibility/constants.ts +0 -5
- package/src/components/Table/components/TableToolbar/components/ColumnVisibility/types.ts +0 -5
- package/src/components/Table/components/TableToolbar/components/RowPreview/components/RowDrawer/common/constants.ts +0 -12
- package/src/components/Table/components/TableToolbar/components/RowPreview/components/RowDrawer/rowDrawer.styles.ts +0 -33
- package/src/components/Table/components/TableToolbar/components/RowPreview/components/RowDrawer/rowDrawer.tsx +0 -59
- package/src/components/Table/components/TableToolbar/components/RowPreview/components/Section/components/RowDetail/rowDetail.styles.ts +0 -48
- package/src/components/Table/components/TableToolbar/components/RowPreview/components/Section/components/RowDetail/rowDetail.tsx +0 -51
- package/src/components/Table/components/TableToolbar/components/RowPreview/components/Section/section.styles.ts +0 -12
- package/src/components/Table/components/TableToolbar/components/RowPreview/components/Section/section.tsx +0 -28
- package/src/components/Table/components/TableToolbar/components/RowPreview/rowPreview.tsx +0 -26
- package/src/components/Table/components/TableToolbar/components/RowSelection/components/DropdownMenu/dropdownMenu.styles.ts +0 -8
- package/src/components/Table/components/TableToolbar/components/RowSelection/components/DropdownMenu/dropdownMenu.tsx +0 -37
- package/src/components/Table/components/TableToolbar/components/RowSelection/rowSelection.styles.ts +0 -8
- package/src/components/Table/components/TableToolbar/components/RowSelection/rowSelection.tsx +0 -30
- package/src/components/Table/components/TableToolbar/constants.ts +0 -8
- package/src/components/Table/components/TableToolbar/tableToolbar.styles.ts +0 -19
- package/src/components/Table/components/TableToolbar/tableToolbar.tsx +0 -61
- package/src/components/Table/components/TableToolbar2/tableToolbar2.styles.ts +0 -18
- package/src/components/Table/components/TableToolbar2/tableToolbar2.tsx +0 -17
- package/src/components/Table/components/TableToolbar2/types.ts +0 -5
- package/src/components/Table/coreOptions/state/pagination/constants.ts +0 -8
- package/src/components/Table/coreOptions/state/pagination/utils.ts +0 -21
- package/src/components/Table/featureOptions/facetedColumn/getFacetedMinMaxValues.ts +0 -64
- package/src/components/Table/featureOptions/facetedColumn/utils.ts +0 -14
- package/src/components/Table/featureOptions/tableDownload/constants.ts +0 -9
- package/src/components/Table/features/RowPosition/constants.ts +0 -37
- package/src/components/Table/features/RowPosition/types.ts +0 -7
- package/src/components/Table/features/RowPosition/utils.ts +0 -56
- package/src/components/Table/features/RowPreview/constants.ts +0 -65
- package/src/components/Table/features/RowPreview/entities.ts +0 -25
- package/src/components/Table/features/RowPreview/utils.ts +0 -93
- package/src/components/Table/features/RowSelectionValidation/constants.ts +0 -24
- package/src/components/Table/features/RowSelectionValidation/types.ts +0 -10
- package/src/components/Table/features/RowSelectionValidation/utils.ts +0 -15
- package/src/components/Table/features/TableDownload/constants.ts +0 -24
- package/src/components/Table/features/TableDownload/onDownload/utils.ts +0 -76
- package/src/components/Table/features/TableDownload/types.ts +0 -19
- package/src/components/Table/features/TableDownload/utils.ts +0 -60
- package/src/components/Table/features/entities.ts +0 -36
- package/src/components/Table/hooks/UseVirtualization/hook.ts +0 -31
- package/src/components/Table/hooks/UseVirtualization/types.ts +0 -9
- package/src/components/Table/hooks/UseVirtualization/utils.ts +0 -27
- package/src/components/Table/options/updater.ts +0 -29
- package/src/components/Table/table.styles.ts +0 -55
- package/src/components/Table/table.tsx +0 -145
- package/src/components/TableCreator/common/utils.ts +0 -37
- package/src/components/TableCreator/options/columnTrackSizing/typeGuards.ts +0 -12
- package/src/components/TableCreator/options/columnTrackSizing/utils.ts +0 -99
- package/src/components/TableCreator/options/expanded/constants.ts +0 -14
- package/src/components/TableCreator/options/expanded/hook.ts +0 -6
- package/src/components/TableCreator/options/grouping/constants.ts +0 -6
- package/src/components/TableCreator/options/grouping/hook.ts +0 -17
- package/src/components/TableCreator/options/hook.ts +0 -25
- package/src/components/TableCreator/options/initialState/columnVisibility.ts +0 -22
- package/src/components/TableCreator/options/initialState/hook.ts +0 -24
- package/src/components/TableCreator/options/rowSelection/constants.ts +0 -10
- package/src/components/TableCreator/options/rowSelection/hook.ts +0 -8
- package/src/components/TableCreator/options/sorting/constants.ts +0 -10
- package/src/components/TableCreator/options/sorting/hook.ts +0 -6
- package/src/components/TableCreator/options/visibility/constants.ts +0 -5
- package/src/components/TableCreator/options/visibility/hook.ts +0 -22
- package/src/components/TableCreator/tableCreator.tsx +0 -18
- package/src/components/TempError/components/errorBox.tsx +0 -15
- package/src/components/TempError/index.ts +0 -1
- package/src/components/TempError/tempError.tsx +0 -26
- package/src/components/common/Accordion/accordion.stories.tsx +0 -36
- package/src/components/common/Accordion/accordion.tsx +0 -43
- package/src/components/common/Alert/alert.styles.ts +0 -22
- package/src/components/common/Alert/alert.tsx +0 -18
- package/src/components/common/Alert/constants.ts +0 -29
- package/src/components/common/Alert/hooks/useTransition/types.ts +0 -5
- package/src/components/common/Alert/hooks/useTransition/useTransition.ts +0 -25
- package/src/components/common/AnchorLink/anchorLink.styles.ts +0 -15
- package/src/components/common/AnchorLink/anchorLink.tsx +0 -35
- package/src/components/common/Banner/banner.styles.ts +0 -29
- package/src/components/common/Banner/banner.tsx +0 -15
- package/src/components/common/Banner/components/CookieBanner/constants.ts +0 -9
- package/src/components/common/Banner/components/CookieBanner/cookieBanner.styles.ts +0 -34
- package/src/components/common/Banner/components/CookieBanner/cookieBanner.tsx +0 -56
- package/src/components/common/Banner/components/SessionTimeout/sessionTimeout.tsx +0 -21
- package/src/components/common/Banner/components/SystemIndexing/systemIndexing.tsx +0 -22
- package/src/components/common/Banner/components/SystemStatus/systemStatus.tsx +0 -22
- package/src/components/common/Banner/constants.ts +0 -11
- package/src/components/common/Breadcrumbs/breadcrumbs.stories.tsx +0 -57
- package/src/components/common/Breadcrumbs/breadcrumbs.tsx +0 -42
- package/src/components/common/Breadcrumbs/constants.ts +0 -6
- package/src/components/common/Breadcrumbs/typeGuard.ts +0 -24
- package/src/components/common/Button/button.tsx +0 -36
- package/src/components/common/Button/components/ButtonOutline/buttonOutline.styles.ts +0 -18
- package/src/components/common/Button/components/ButtonOutline/buttonOutline.tsx +0 -23
- package/src/components/common/Button/components/ButtonPrimary/buttonPrimary.tsx +0 -13
- package/src/components/common/Button/components/ButtonSecondary/buttonSecondary.tsx +0 -15
- package/src/components/common/Button/components/ButtonSecondaryOutline/buttonSecondaryOutline.tsx +0 -14
- package/src/components/common/Button/components/ButtonText/buttonText.styles.ts +0 -13
- package/src/components/common/Button/components/ButtonText/buttonText.tsx +0 -8
- package/src/components/common/Button/components/ButtonTextPrimary/buttonTextPrimary.styles.ts +0 -9
- package/src/components/common/Button/components/ButtonTextPrimary/buttonTextPrimary.tsx +0 -8
- package/src/components/common/Button/components/ButtonTextUnderline/buttonTextUnderline.styles.ts +0 -14
- package/src/components/common/Button/components/ButtonTextUnderline/buttonTextUnderline.tsx +0 -8
- package/src/components/common/Button/components/CallToActionButton/callToActionButton.stories.tsx +0 -33
- package/src/components/common/Button/components/CallToActionButton/callToActionButton.tsx +0 -58
- package/src/components/common/Button/components/DropdownButton/dropdownButton.styles.ts +0 -25
- package/src/components/common/Button/components/DropdownButton/dropdownButton.tsx +0 -22
- package/src/components/common/Button/components/DropdownButton/types.ts +0 -5
- package/src/components/common/Button/components/FileDownloadButton/fileDownloadButton.tsx +0 -27
- package/src/components/common/Button/components/HelpIconButton/helpIconButton.stories.tsx +0 -25
- package/src/components/common/Button/components/HelpIconButton/helpIconButton.styles.ts +0 -9
- package/src/components/common/Button/components/HelpIconButton/helpIconButton.tsx +0 -42
- package/src/components/common/Button/components/NavigationButton/navigationButton.styles.ts +0 -32
- package/src/components/common/Button/components/NavigationButton/navigationButton.tsx +0 -28
- package/src/components/common/Button/constants.ts +0 -37
- package/src/components/common/ButtonGroup/buttonGroup.tsx +0 -50
- package/src/components/common/ButtonGroup/components/ButtonGroupButton/buttonGroupButton.tsx +0 -32
- package/src/components/common/ButtonGroup/constants.ts +0 -13
- package/src/components/common/Card/card.stories.tsx +0 -45
- package/src/components/common/Card/card.styles.ts +0 -15
- package/src/components/common/Card/card.tsx +0 -67
- package/src/components/common/Card/components/CardAction/cardAction.tsx +0 -17
- package/src/components/common/Card/components/CardActionArea/cardActionArea.tsx +0 -42
- package/src/components/common/Card/components/CardActions/cardActions.styles.ts +0 -9
- package/src/components/common/Card/components/CardActions/cardActions.tsx +0 -16
- package/src/components/common/Card/components/CardMedia/cardMedia.styles.ts +0 -11
- package/src/components/common/Card/components/CardMedia/cardMedia.tsx +0 -23
- package/src/components/common/Card/components/CardSecondaryText/cardSecondaryText.tsx +0 -13
- package/src/components/common/Card/components/CardSecondaryTitle/cardSecondaryTitle.styles.ts +0 -6
- package/src/components/common/Card/components/CardSecondaryTitle/cardSecondaryTitle.tsx +0 -14
- package/src/components/common/Card/components/CardText/cardText.tsx +0 -12
- package/src/components/common/Card/components/CardTitle/cardTitle.tsx +0 -13
- package/src/components/common/Card/components/RoundedCard/roundedCard.tsx +0 -11
- package/src/components/common/Chip/components/Beta/beta.styles.ts +0 -15
- package/src/components/common/Chip/components/Beta/beta.tsx +0 -25
- package/src/components/common/Chip/components/Beta/stories/beta.stories.tsx +0 -12
- package/src/components/common/Code/code.stories.tsx +0 -17
- package/src/components/common/Code/code.styles.ts +0 -62
- package/src/components/common/Code/code.tsx +0 -38
- package/src/components/common/CopyToClipboard/copyToClipboard.stories.tsx +0 -22
- package/src/components/common/CopyToClipboard/copyToClipboard.tsx +0 -50
- package/src/components/common/CustomIcon/common/constants.ts +0 -14
- package/src/components/common/CustomIcon/common/entities.ts +0 -3
- package/src/components/common/CustomIcon/components/AddIcon/addIcon.tsx +0 -22
- package/src/components/common/CustomIcon/components/AddLinkIcon/addLinkIcon.tsx +0 -18
- package/src/components/common/CustomIcon/components/AlertIcon/alertIcon.tsx +0 -22
- package/src/components/common/CustomIcon/components/BackArrowIcon/backArrowIcon.tsx +0 -22
- package/src/components/common/CustomIcon/components/CheckedIcon/checkedIcon.tsx +0 -26
- package/src/components/common/CustomIcon/components/CloseIcon/closeIcon.tsx +0 -17
- package/src/components/common/CustomIcon/components/ContactSupportIcon/contactSupportIcon.tsx +0 -22
- package/src/components/common/CustomIcon/components/ContentCopyIcon/contentCopyIcon.tsx +0 -22
- package/src/components/common/CustomIcon/components/DiscourseIcon/discourseIcon.tsx +0 -22
- package/src/components/common/CustomIcon/components/DownloadIcon/downloadIcon.tsx +0 -22
- package/src/components/common/CustomIcon/components/EmailReadIcon/emailReadIcon.tsx +0 -22
- package/src/components/common/CustomIcon/components/ErrorIcon/errorIcon.tsx +0 -22
- package/src/components/common/CustomIcon/components/FacebookIcon/facebookIcon.tsx +0 -22
- package/src/components/common/CustomIcon/components/FeedbackIcon/feedbackIcon.tsx +0 -22
- package/src/components/common/CustomIcon/components/FormStatusCompletedIcon/formStatusCompletedIcon.tsx +0 -23
- package/src/components/common/CustomIcon/components/FormStatusIncompleteIcon/formStatusIncompleteIcon.tsx +0 -28
- package/src/components/common/CustomIcon/components/ForwardArrowIcon/forwardArrowIcon.tsx +0 -18
- package/src/components/common/CustomIcon/components/GitHubIcon/gitHubIcon.tsx +0 -22
- package/src/components/common/CustomIcon/components/GoogleIcon/googleIcon.tsx +0 -33
- package/src/components/common/CustomIcon/components/HelpIcon/helpIcon.tsx +0 -22
- package/src/components/common/CustomIcon/components/InProgressIcon/inProgressIcon.tsx +0 -22
- package/src/components/common/CustomIcon/components/IndeterminateIcon/indeterminateIcon.tsx +0 -23
- package/src/components/common/CustomIcon/components/InfoIcon/infoIcon.tsx +0 -22
- package/src/components/common/CustomIcon/components/InventoryIcon/inventoryIcon.tsx +0 -22
- package/src/components/common/CustomIcon/components/LinkedInIcon/linkedInIcon.tsx +0 -22
- package/src/components/common/CustomIcon/components/LoadingIcon/loadingIcon.tsx +0 -108
- package/src/components/common/CustomIcon/components/OpenInNewIcon/openInNewIcon.tsx +0 -22
- package/src/components/common/CustomIcon/components/RadioCheckedIcon/radioCheckedIcon.tsx +0 -24
- package/src/components/common/CustomIcon/components/RadioUncheckedIcon/radioUncheckedIcon.tsx +0 -27
- package/src/components/common/CustomIcon/components/RemoveIcon/removeIcon.tsx +0 -22
- package/src/components/common/CustomIcon/components/SearchIcon/searchIcon.tsx +0 -21
- package/src/components/common/CustomIcon/components/SearchOffIcon/searchOffIcon.tsx +0 -22
- package/src/components/common/CustomIcon/components/Segment/segment.tsx +0 -18
- package/src/components/common/CustomIcon/components/SlackIcon/slackIcon.tsx +0 -22
- package/src/components/common/CustomIcon/components/SouthIcon/southIcon.tsx +0 -22
- package/src/components/common/CustomIcon/components/SuccessIcon/successIcon.tsx +0 -22
- package/src/components/common/CustomIcon/components/UnLinkIcon/unLinkIcon.tsx +0 -18
- package/src/components/common/CustomIcon/components/UncheckedDisabledIcon/uncheckedDisabledIcon.tsx +0 -27
- package/src/components/common/CustomIcon/components/UncheckedErrorIcon/uncheckedErrorIcon.tsx +0 -27
- package/src/components/common/CustomIcon/components/UncheckedIcon/uncheckedIcon.tsx +0 -27
- package/src/components/common/CustomIcon/components/UnfoldMoreIcon/unfoldMoreIcon.tsx +0 -22
- package/src/components/common/CustomIcon/components/UpArrowIcon/upArrowIcon.tsx +0 -21
- package/src/components/common/CustomIcon/components/WarningIcon/warningIcon.tsx +0 -22
- package/src/components/common/CustomIcon/components/XIcon/xIcon.tsx +0 -22
- package/src/components/common/CustomIcon/components/YouTubeIcon/youTubeIcon.tsx +0 -22
- package/src/components/common/Dialog/components/DialogTitle/dialogTitle.tsx +0 -26
- package/src/components/common/Dialog/dialog.tsx +0 -21
- package/src/components/common/Dialog/hooks/useDialog.ts +0 -28
- package/src/components/common/Dot/dot.styles.ts +0 -12
- package/src/components/common/Dot/dot.tsx +0 -7
- package/src/components/common/Drawer/components/DrawerTitle/drawerTitle.styles.ts +0 -12
- package/src/components/common/Drawer/components/DrawerTitle/drawerTitle.tsx +0 -27
- package/src/components/common/Drawer/components/drawer.styles.ts +0 -6
- package/src/components/common/Drawer/drawer.tsx +0 -21
- package/src/components/common/Drawer/provider/context.ts +0 -8
- package/src/components/common/Drawer/provider/hook.ts +0 -11
- package/src/components/common/Drawer/provider/provider.tsx +0 -19
- package/src/components/common/Drawer/provider/types.ts +0 -12
- package/src/components/common/DropdownMenu/common/constants.ts +0 -7
- package/src/components/common/DropdownMenu/common/entities.ts +0 -11
- package/src/components/common/DropdownMenu/components/MenuItem/menuItem.tsx +0 -24
- package/src/components/common/DropdownMenu/dropdownMenu.styles.ts +0 -8
- package/src/components/common/DropdownMenu/dropdownMenu.tsx +0 -52
- package/src/components/common/EllipsisContent/ellipsisContent.styles.ts +0 -24
- package/src/components/common/EllipsisContent/ellipsisContent.tsx +0 -204
- package/src/components/common/Form/components/Input/input.styles.ts +0 -55
- package/src/components/common/Form/components/Input/input.tsx +0 -41
- package/src/components/common/Form/components/Select/components/DropDownIcon/dropDownIcon.tsx +0 -9
- package/src/components/common/Form/components/Select/select.styles.ts +0 -26
- package/src/components/common/Form/components/Select/select.tsx +0 -41
- package/src/components/common/Form/components/UploadFile/uploadFile.styles.ts +0 -55
- package/src/components/common/Form/components/UploadFile/uploadFile.tsx +0 -92
- package/src/components/common/Grid/components/GridItem/gridItem.tsx +0 -25
- package/src/components/common/Grid/grid.tsx +0 -23
- package/src/components/common/IconBadge/iconBadge.styles.ts +0 -49
- package/src/components/common/IconBadge/iconBadge.tsx +0 -32
- package/src/components/common/IconButton/iconButton.styles.ts +0 -20
- package/src/components/common/IconButton/iconButton.tsx +0 -33
- package/src/components/common/Input/input.styles.ts +0 -37
- package/src/components/common/Input/input.tsx +0 -66
- package/src/components/common/KeyValuePairs/components/KeyElType/keyElType.tsx +0 -26
- package/src/components/common/KeyValuePairs/components/KeyValueElType/keyValueElType.tsx +0 -34
- package/src/components/common/KeyValuePairs/components/ValueElType/valueElType.tsx +0 -20
- package/src/components/common/KeyValuePairs/keyValuePairs.tsx +0 -45
- package/src/components/common/Link/typeGuards.ts +0 -35
- package/src/components/common/LoginDialog/constants.ts +0 -33
- package/src/components/common/LoginDialog/loginDialog.styles.ts +0 -50
- package/src/components/common/LoginDialog/loginDialog.tsx +0 -56
- package/src/components/common/LoginDialog/types.ts +0 -4
- package/src/components/common/MDXMarkdown/components/Section/mdxSection.styles.ts +0 -27
- package/src/components/common/Markdown/markdown.tsx +0 -19
- package/src/components/common/Menu/hooks/useMenu.ts +0 -62
- package/src/components/common/OutlinedInput/components/InputAdornment/components/ClearInputAdornment/clearInputAdornment.styles.ts +0 -12
- package/src/components/common/OutlinedInput/components/InputAdornment/components/ClearInputAdornment/clearInputAdornment.tsx +0 -21
- package/src/components/common/OutlinedInput/components/InputAdornment/components/ClearInputAdornment/constants.ts +0 -13
- package/src/components/common/OutlinedInput/components/InputAdornment/components/ClearInputAdornment/types.ts +0 -4
- package/src/components/common/OutlinedInput/components/InputAdornment/components/SearchInputAdornment/constants.ts +0 -7
- package/src/components/common/OutlinedInput/components/InputAdornment/components/SearchInputAdornment/searchInputAdornment.tsx +0 -13
- package/src/components/common/OutlinedInput/components/InputAdornment/components/constants.ts +0 -7
- package/src/components/common/OutlinedInput/components/InputAdornment/inputAdornment.styles.ts +0 -6
- package/src/components/common/OutlinedInput/outlinedInput.styles.ts +0 -24
- package/src/components/common/Paper/components/FlatPaper/flatPaper.styles.ts +0 -9
- package/src/components/common/Paper/components/FlatPaper/flatPaper.tsx +0 -10
- package/src/components/common/Paper/components/FluidPaper/fluidPaper.styles.ts +0 -11
- package/src/components/common/Paper/components/FluidPaper/fluidPaper.tsx +0 -10
- package/src/components/common/Paper/components/RoundedPaper/roundedPaper.styles.ts +0 -10
- package/src/components/common/Paper/components/RoundedPaper/roundedPaper.tsx +0 -10
- package/src/components/common/Paper/paper.styles.ts +0 -77
- package/src/components/common/Paper/paper.tsx +0 -44
- package/src/components/common/Progress/components/CircularProgress/circularProgress.styles.ts +0 -6
- package/src/components/common/Progress/components/CircularProgress/circularProgress.tsx +0 -26
- package/src/components/common/Progress/components/CircularProgress/components/CircularProgressTrack/circularProgressTrack.styles.ts +0 -27
- package/src/components/common/Progress/components/CircularProgress/components/CircularProgressTrack/circularProgressTrack.tsx +0 -23
- package/src/components/common/RadioGroup/radioGroup.tsx +0 -58
- package/src/components/common/Section/components/CollapsableSection/collapsableSection.styles.ts +0 -39
- package/src/components/common/Section/components/CollapsableSection/collapsableSection.tsx +0 -82
- package/src/components/common/Section/components/SectionDetailsEmpty/sectionDetailsEmpty.tsx +0 -11
- package/src/components/common/Section/components/SectionTitle/sectionTitle.stories.tsx +0 -20
- package/src/components/common/Section/components/SectionTitle/sectionTitle.tsx +0 -25
- package/src/components/common/Section/section.styles.ts +0 -66
- package/src/components/common/Sections/sections.tsx +0 -18
- package/src/components/common/Socials/socials.stories.tsx +0 -63
- package/src/components/common/Socials/socials.styles.ts +0 -15
- package/src/components/common/Socials/socials.tsx +0 -50
- package/src/components/common/Stack/components/Divider/divider.styles.tsx +0 -6
- package/src/components/common/Stack/components/Divider/divider.tsx +0 -25
- package/src/components/common/Stack/stack.tsx +0 -44
- package/src/components/common/StaticImage/staticImage.stories.tsx +0 -26
- package/src/components/common/StaticImage/staticImage.tsx +0 -35
- package/src/components/common/StatusBadge/statusBadge.stories.tsx +0 -18
- package/src/components/common/StatusBadge/statusBadge.tsx +0 -35
- package/src/components/common/StatusIcon/statusIcon.stories.tsx +0 -23
- package/src/components/common/StatusIcon/statusIcon.styles.ts +0 -51
- package/src/components/common/StatusIcon/statusIcon.tsx +0 -33
- package/src/components/common/Tabs/tabs.styles.ts +0 -48
- package/src/components/common/Tabs/tabs.tsx +0 -92
- package/src/components/common/Tag/tag.stories.tsx +0 -22
- package/src/components/common/Tag/tag.styles.ts +0 -14
- package/src/components/common/Tag/tag.tsx +0 -18
- package/src/components/common/Title/title.styles.ts +0 -9
- package/src/components/common/Title/title.tsx +0 -26
- package/src/components/common/ToggleButtonGroup/hooks/UseToggleButtonGroup/hook.ts +0 -17
- package/src/components/common/ToggleButtonGroup/provider/context.ts +0 -9
- package/src/components/common/ToggleButtonGroup/provider/hook.ts +0 -16
- package/src/components/common/ToggleButtonGroup/provider/provider.tsx +0 -37
- package/src/components/common/ToggleButtonGroup/provider/types.ts +0 -17
- package/src/components/common/ToggleButtonGroup/toggleButtonGroup.stories.tsx +0 -38
- package/src/components/common/ToggleButtonGroup/toggleButtonGroup.tsx +0 -87
- package/src/components/common/Typography/TypographyWordBreak/TypographyWordBreak.tsx +0 -23
- package/src/components/common/Typography/common/entities.ts +0 -5
- package/src/components/types.ts +0 -21
- package/src/components/utils.ts +0 -10
- package/src/config/config.ts +0 -19
- package/src/config/entities.ts +0 -456
- package/src/config/utils.ts +0 -89
- package/src/entity/api/service.ts +0 -195
- package/src/entity/apicf/service.ts +0 -73
- package/src/entity/common/client.ts +0 -30
- package/src/entity/common/service.ts +0 -40
- package/src/entity/common/utils.ts +0 -12
- package/src/entity/service/factory.ts +0 -44
- package/src/entity/service/model.ts +0 -72
- package/src/entity/tsv/service.ts +0 -49
- package/src/hooks/UseLayoutSpacing/hook.ts +0 -12
- package/src/hooks/UseLayoutSpacing/types.ts +0 -8
- package/src/hooks/ai/useAiRoutes/hook.ts +0 -22
- package/src/hooks/authentication/auth/useAuthReducer.ts +0 -16
- package/src/hooks/authentication/authentication/useAuthenticationReducer.ts +0 -16
- package/src/hooks/authentication/config/useAuthenticationConfig.ts +0 -13
- package/src/hooks/authentication/credentials/useCredentialsReducer.ts +0 -13
- package/src/hooks/authentication/profile/types.ts +0 -9
- package/src/hooks/authentication/profile/useProfile.ts +0 -21
- package/src/hooks/authentication/providers/types.ts +0 -7
- package/src/hooks/authentication/providers/useProviders.ts +0 -23
- package/src/hooks/authentication/session/useSessionActive.ts +0 -51
- package/src/hooks/authentication/session/useSessionCallbackUrl.ts +0 -25
- package/src/hooks/authentication/session/useSessionIdleTimer.ts +0 -9
- package/src/hooks/authentication/session/useSessionTimeout.ts +0 -40
- package/src/hooks/authentication/terra/useAuthenticationForm.ts +0 -120
- package/src/hooks/authentication/terra/useAuthenticationNIHExpiry.ts +0 -63
- package/src/hooks/authentication/token/types.ts +0 -5
- package/src/hooks/authentication/token/useToken.ts +0 -9
- package/src/hooks/authentication/token/useTokenReducer.ts +0 -19
- package/src/hooks/stateSyncManager/hook.ts +0 -47
- package/src/hooks/stateSyncManager/hooks/UseBeforePopState/hook.ts +0 -30
- package/src/hooks/stateSyncManager/hooks/UseMetaCommands/hook.ts +0 -30
- package/src/hooks/stateSyncManager/hooks/UseMetaCommands/types.ts +0 -4
- package/src/hooks/stateSyncManager/hooks/UseStateSync/hook.ts +0 -52
- package/src/hooks/stateSyncManager/hooks/UseStateSync/utils.ts +0 -58
- package/src/hooks/stateSyncManager/types.ts +0 -34
- package/src/hooks/types.ts +0 -4
- package/src/hooks/useAsync.ts +0 -100
- package/src/hooks/useBreakpoint.ts +0 -55
- package/src/hooks/useBreakpointHelper.ts +0 -24
- package/src/hooks/useCatalog.ts +0 -17
- package/src/hooks/useCategoryFilter.ts +0 -289
- package/src/hooks/useConfig.tsx +0 -10
- package/src/hooks/useCurrentBreakpoint.ts +0 -23
- package/src/hooks/useCurrentDetailTab.ts +0 -29
- package/src/hooks/useDownloadStatus.ts +0 -31
- package/src/hooks/useEntityExportConfig.ts +0 -16
- package/src/hooks/useEntityHeadTitle.ts +0 -62
- package/src/hooks/useEntityList.ts +0 -206
- package/src/hooks/useEntityService.ts +0 -75
- package/src/hooks/useExploreMode/types.ts +0 -7
- package/src/hooks/useExploreMode/useExploreMode.ts +0 -16
- package/src/hooks/useExploreState.tsx +0 -13
- package/src/hooks/useExportConfig.ts +0 -16
- package/src/hooks/useExportToTerraResponseURL.ts +0 -25
- package/src/hooks/useFeatureFlag/common/entities.ts +0 -4
- package/src/hooks/useFeatureFlag/common/utils.ts +0 -17
- package/src/hooks/useFeatureFlag/useFeatureFlag.ts +0 -19
- package/src/hooks/useFetchEntity.tsx +0 -82
- package/src/hooks/useFetchRequestURL.ts +0 -20
- package/src/hooks/useFileLocation.ts +0 -37
- package/src/hooks/useFileManifest/common/entities.ts +0 -51
- package/src/hooks/useFileManifest/common/utils.ts +0 -218
- package/src/hooks/useFileManifest/useFetchFilesFacets.ts +0 -57
- package/src/hooks/useFileManifest/useFetchSummary.ts +0 -45
- package/src/hooks/useFileManifest/useFileManifest.ts +0 -40
- package/src/hooks/useFileManifest/useFileManifestDownload.ts +0 -118
- package/src/hooks/useFileManifest/useFileManifestFileCount.ts +0 -65
- package/src/hooks/useFileManifest/useFileManifestFormat.ts +0 -23
- package/src/hooks/useFileManifest/useFileManifestSpreadsheet.ts +0 -110
- package/src/hooks/useFileManifestState.ts +0 -13
- package/src/hooks/useHtmlStyle/constants.ts +0 -5
- package/src/hooks/useHtmlStyle/hook.ts +0 -23
- package/src/hooks/useHtmlStyle/types.ts +0 -3
- package/src/hooks/useLocalStorage/common/utils.ts +0 -19
- package/src/hooks/useLocalStorage/useLocalStorage.ts +0 -17
- package/src/hooks/useLocation.ts +0 -25
- package/src/hooks/useRequestFileLocation.ts +0 -154
- package/src/hooks/useRequestManifest/constants.ts +0 -6
- package/src/hooks/useRequestManifest/types.ts +0 -7
- package/src/hooks/useRequestManifest/useRequestManifest.ts +0 -49
- package/src/hooks/useRequestManifest/utils.ts +0 -166
- package/src/hooks/useResetableState.ts +0 -18
- package/src/hooks/useResizeObserver.ts +0 -114
- package/src/hooks/useRouteHistory.ts +0 -65
- package/src/hooks/useRouteRoot.ts +0 -11
- package/src/hooks/useSummary.ts +0 -40
- package/src/hooks/useSystemStatus.ts +0 -10
- package/src/hooks/useURLFilterParams.ts +0 -68
- package/src/hooks/useUpdateURLCatalogParam.ts +0 -21
- package/src/hooks/useUpdateURLSearchParams.ts +0 -20
- package/src/hooks/useWindowResize.ts +0 -52
- package/src/images/cc.svg +0 -18
- package/src/images/logo.svg +0 -3
- package/src/index.ts +0 -1
- package/src/mocks/useRequestFileManifest.mocks.ts +0 -123
- package/src/providers/authentication/auth/actions.ts +0 -17
- package/src/providers/authentication/auth/constants.ts +0 -6
- package/src/providers/authentication/auth/context.ts +0 -9
- package/src/providers/authentication/auth/dispatch.ts +0 -58
- package/src/providers/authentication/auth/hook.ts +0 -11
- package/src/providers/authentication/auth/reducer.ts +0 -25
- package/src/providers/authentication/auth/types.ts +0 -63
- package/src/providers/authentication/authentication/actions.ts +0 -17
- package/src/providers/authentication/authentication/constants.ts +0 -6
- package/src/providers/authentication/authentication/context.ts +0 -8
- package/src/providers/authentication/authentication/dispatch.ts +0 -55
- package/src/providers/authentication/authentication/hook.ts +0 -11
- package/src/providers/authentication/authentication/reducer.ts +0 -34
- package/src/providers/authentication/authentication/types.ts +0 -64
- package/src/providers/authentication/authentication/utils.ts +0 -25
- package/src/providers/authentication/common/types.ts +0 -1
- package/src/providers/authentication/common/utils.ts +0 -11
- package/src/providers/authentication/credentials/actions.ts +0 -17
- package/src/providers/authentication/credentials/constants.ts +0 -5
- package/src/providers/authentication/credentials/context.ts +0 -8
- package/src/providers/authentication/credentials/dispatch.ts +0 -31
- package/src/providers/authentication/credentials/hook.ts +0 -11
- package/src/providers/authentication/credentials/reducer.ts +0 -30
- package/src/providers/authentication/credentials/types.ts +0 -33
- package/src/providers/authentication/terra/context.ts +0 -16
- package/src/providers/authentication/terra/hook.ts +0 -11
- package/src/providers/authentication/terra/hooks/common/constants.ts +0 -31
- package/src/providers/authentication/terra/hooks/common/entities.ts +0 -28
- package/src/providers/authentication/terra/hooks/common/utils.ts +0 -31
- package/src/providers/authentication/terra/hooks/useFetchProfiles.ts +0 -61
- package/src/providers/authentication/terra/hooks/useFetchTerraNIHProfile.ts +0 -96
- package/src/providers/authentication/terra/hooks/useFetchTerraProfile.ts +0 -111
- package/src/providers/authentication/terra/hooks/useFetchTerraTermsOfService.ts +0 -100
- package/src/providers/authentication/terra/hooks/utils.ts +0 -29
- package/src/providers/authentication/terra/provider.tsx +0 -60
- package/src/providers/authentication/terra/types.ts +0 -23
- package/src/providers/authentication/terra/utils.ts +0 -49
- package/src/providers/authentication/token/constants.ts +0 -6
- package/src/providers/authentication/token/dispatch.ts +0 -29
- package/src/providers/authentication/token/reducer.ts +0 -26
- package/src/providers/authentication/token/types.ts +0 -36
- package/src/providers/config.tsx +0 -58
- package/src/providers/dataDictionary/context.ts +0 -6
- package/src/providers/dataDictionary/hook.ts +0 -11
- package/src/providers/dataDictionary/types.ts +0 -6
- package/src/providers/dataDictionaryState/actions/clearMeta/action.ts +0 -18
- package/src/providers/dataDictionaryState/actions/clearMeta/dispatch.ts +0 -13
- package/src/providers/dataDictionaryState/actions/clearMeta/types.ts +0 -8
- package/src/providers/dataDictionaryState/actions/stateToUrl/action.ts +0 -20
- package/src/providers/dataDictionaryState/actions/stateToUrl/dispatch.ts +0 -14
- package/src/providers/dataDictionaryState/actions/stateToUrl/types.ts +0 -15
- package/src/providers/dataDictionaryState/actions/types.ts +0 -20
- package/src/providers/dataDictionaryState/actions/updateColumnFilters/action.ts +0 -24
- package/src/providers/dataDictionaryState/actions/updateColumnFilters/dispatch.ts +0 -16
- package/src/providers/dataDictionaryState/actions/updateColumnFilters/types.ts +0 -12
- package/src/providers/dataDictionaryState/actions/updateColumnFilters/utils.ts +0 -41
- package/src/providers/dataDictionaryState/actions/updateGlobalFilter/action.ts +0 -25
- package/src/providers/dataDictionaryState/actions/updateGlobalFilter/dispatch.ts +0 -16
- package/src/providers/dataDictionaryState/actions/updateGlobalFilter/types.ts +0 -12
- package/src/providers/dataDictionaryState/actions/updateGlobalFilter/utils.ts +0 -50
- package/src/providers/dataDictionaryState/actions/urlToState/action.ts +0 -28
- package/src/providers/dataDictionaryState/actions/urlToState/dispatch.ts +0 -14
- package/src/providers/dataDictionaryState/actions/urlToState/types.ts +0 -11
- package/src/providers/dataDictionaryState/context.ts +0 -9
- package/src/providers/dataDictionaryState/dictionaries/constants.ts +0 -4
- package/src/providers/dataDictionaryState/dictionaries/state.ts +0 -45
- package/src/providers/dataDictionaryState/dictionaries/types.ts +0 -11
- package/src/providers/dataDictionaryState/dictionaries/utils.ts +0 -25
- package/src/providers/dataDictionaryState/hooks/UseDataDictionaryInitialArgs/hook.ts +0 -14
- package/src/providers/dataDictionaryState/hooks/UseDataDictionaryInitialArgs/types.ts +0 -5
- package/src/providers/dataDictionaryState/hooks/UseDataDictionaryReducer/hook.ts +0 -17
- package/src/providers/dataDictionaryState/hooks/UseDataDictionaryState/hook.ts +0 -11
- package/src/providers/dataDictionaryState/initializer/constants.ts +0 -6
- package/src/providers/dataDictionaryState/initializer/initializer.ts +0 -22
- package/src/providers/dataDictionaryState/initializer/utils.ts +0 -39
- package/src/providers/dataDictionaryState/provider.tsx +0 -16
- package/src/providers/dataDictionaryState/reducer.ts +0 -42
- package/src/providers/dataDictionaryState/types.ts +0 -18
- package/src/providers/exploreState/actions/clearMeta/action.ts +0 -18
- package/src/providers/exploreState/actions/clearMeta/dispatch.ts +0 -13
- package/src/providers/exploreState/actions/clearMeta/types.ts +0 -8
- package/src/providers/exploreState/actions/stateToUrl/action.ts +0 -20
- package/src/providers/exploreState/actions/stateToUrl/dispatch.ts +0 -14
- package/src/providers/exploreState/actions/stateToUrl/types.ts +0 -15
- package/src/providers/exploreState/actions/updateFilterSort/action.ts +0 -30
- package/src/providers/exploreState/actions/updateFilterSort/dispatch.ts +0 -16
- package/src/providers/exploreState/actions/updateFilterSort/types.ts +0 -9
- package/src/providers/exploreState/actions/updateFilterSort/utils.ts +0 -30
- package/src/providers/exploreState/actions/updateGrouping/action.ts +0 -26
- package/src/providers/exploreState/actions/updateGrouping/dispatch.ts +0 -16
- package/src/providers/exploreState/actions/updateGrouping/types.ts +0 -11
- package/src/providers/exploreState/actions/updateGrouping/utils.ts +0 -33
- package/src/providers/exploreState/actions/updateVisibility/action.ts +0 -29
- package/src/providers/exploreState/actions/updateVisibility/dispatch.ts +0 -19
- package/src/providers/exploreState/actions/updateVisibility/types.ts +0 -11
- package/src/providers/exploreState/actions/updateVisibility/utils.ts +0 -28
- package/src/providers/exploreState/actions/urlToState/action.ts +0 -74
- package/src/providers/exploreState/actions/urlToState/dispatch.ts +0 -14
- package/src/providers/exploreState/actions/urlToState/types.ts +0 -11
- package/src/providers/exploreState/actions/urlToState/utils.ts +0 -18
- package/src/providers/exploreState/constants.ts +0 -9
- package/src/providers/exploreState/entities/query/buildQuery.ts +0 -66
- package/src/providers/exploreState/entities/state.ts +0 -53
- package/src/providers/exploreState/entities/types.ts +0 -19
- package/src/providers/exploreState/entities.ts +0 -66
- package/src/providers/exploreState/initializer/constants.ts +0 -46
- package/src/providers/exploreState/initializer/utils.ts +0 -339
- package/src/providers/exploreState/payloads/entities.ts +0 -95
- package/src/providers/exploreState/utils.ts +0 -295
- package/src/providers/exploreState.tsx +0 -783
- package/src/providers/fileManifestState/constants.ts +0 -17
- package/src/providers/fileManifestState.tsx +0 -392
- package/src/providers/googleSignInAuthentication/common/types.ts +0 -28
- package/src/providers/googleSignInAuthentication/constants.ts +0 -17
- package/src/providers/googleSignInAuthentication/hooks/useGoogleSignInService.ts +0 -53
- package/src/providers/googleSignInAuthentication/profile/types.ts +0 -15
- package/src/providers/googleSignInAuthentication/profile/utils.ts +0 -29
- package/src/providers/googleSignInAuthentication/provider.tsx +0 -53
- package/src/providers/googleSignInAuthentication/service/constants.ts +0 -16
- package/src/providers/googleSignInAuthentication/service/service.ts +0 -68
- package/src/providers/googleSignInAuthentication/types.ts +0 -7
- package/src/providers/layoutDimensions/constants.ts +0 -6
- package/src/providers/layoutDimensions/context.tsx +0 -10
- package/src/providers/layoutDimensions/hook.ts +0 -7
- package/src/providers/layoutDimensions/provider.tsx +0 -29
- package/src/providers/layoutDimensions/types.ts +0 -17
- package/src/providers/loginGuard/common/types.ts +0 -21
- package/src/providers/loginGuard/context.ts +0 -12
- package/src/providers/loginGuard/hook.ts +0 -14
- package/src/providers/loginGuard/provider.tsx +0 -76
- package/src/providers/nextAuthAuthentication/hooks/useNextAuthService.ts +0 -26
- package/src/providers/nextAuthAuthentication/provider.tsx +0 -42
- package/src/providers/nextAuthAuthentication/service/service.ts +0 -14
- package/src/providers/nextAuthAuthentication/types.ts +0 -9
- package/src/providers/services/provider.tsx +0 -25
- package/src/providers/services/wasPop/context.ts +0 -7
- package/src/providers/services/wasPop/hook.ts +0 -7
- package/src/providers/services/wasPop/provider.tsx +0 -45
- package/src/providers/services/wasPop/types.ts +0 -7
- package/src/providers/systemStatus.tsx +0 -112
- package/src/routes/constants.ts +0 -4
- package/src/services/beforePopState/popStateBus.ts +0 -64
- package/src/services/beforePopState/types.ts +0 -15
- package/src/services/beforePopState/useOnPopState.ts +0 -15
- package/src/services/beforePopState/usePopStateBus.ts +0 -14
- package/src/shared/constants.ts +0 -1
- package/src/shared/utils.ts +0 -34
- package/src/storybook/controls/constants.ts +0 -12
- package/src/storybook/controls/types.ts +0 -4
- package/src/storybook/controls/utils.ts +0 -18
- package/src/storybook/decorators.tsx +0 -17
- package/src/storybook/loremIpsum.ts +0 -5
- package/src/storybook/parameters.ts +0 -14
- package/src/styles/common/constants/app.ts +0 -3
- package/src/styles/common/constants/colorMixes.ts +0 -23
- package/src/styles/common/constants/font.ts +0 -18
- package/src/styles/common/constants/palette.ts +0 -47
- package/src/styles/common/constants/shadows.ts +0 -5
- package/src/styles/common/constants/size.ts +0 -5
- package/src/styles/common/mixins/breakpoints.ts +0 -31
- package/src/styles/common/mixins/typography.ts +0 -15
- package/src/styles/common/mui/alert.ts +0 -24
- package/src/styles/common/mui/button.ts +0 -38
- package/src/styles/common/mui/buttonGroup.ts +0 -46
- package/src/styles/common/mui/chip.ts +0 -36
- package/src/styles/common/mui/drawer.ts +0 -24
- package/src/styles/common/mui/icon.ts +0 -8
- package/src/styles/common/mui/iconButton.ts +0 -40
- package/src/styles/common/mui/inputAdornment.ts +0 -22
- package/src/styles/common/mui/inputBase.ts +0 -38
- package/src/styles/common/mui/link.ts +0 -15
- package/src/styles/common/mui/outlinedInput.ts +0 -14
- package/src/styles/common/mui/paper.ts +0 -10
- package/src/styles/common/mui/popover.ts +0 -19
- package/src/styles/common/mui/stack.ts +0 -33
- package/src/styles/common/mui/stepper.ts +0 -14
- package/src/styles/common/mui/svgIcon.ts +0 -35
- package/src/styles/common/mui/tab.ts +0 -16
- package/src/styles/common/mui/tableCell.ts +0 -40
- package/src/styles/common/mui/tabs.ts +0 -20
- package/src/styles/common/mui/textField.ts +0 -33
- package/src/styles/common/mui/toggleButton.ts +0 -27
- package/src/styles/common/mui/typography.ts +0 -45
- package/src/tests/mui/constants.ts +0 -6
- package/src/tests/testIds.ts +0 -26
- package/src/tests/utils.ts +0 -53
- package/src/theme/common/breakpoints.ts +0 -19
- package/src/theme/common/components.ts +0 -1439
- package/src/theme/common/fontStyles.ts +0 -17
- package/src/theme/common/palette.ts +0 -137
- package/src/theme/common/shadows.ts +0 -29
- package/src/theme/common/typography.ts +0 -154
- package/src/theme/components/index.ts +0 -4
- package/src/theme/components/muiAlert.ts +0 -122
- package/src/theme/components/muiAlertTitle.ts +0 -14
- package/src/theme/components/muiButtonGroup.ts +0 -83
- package/src/theme/components/muiTableCell.ts +0 -53
- package/src/theme/theme.ts +0 -45
- package/src/theme/types.ts +0 -5
- package/src/types/error.ts +0 -21
- package/src/utils/database.ts +0 -58
- package/src/utils/fetchQueryParams.ts +0 -27
- package/src/utils/formatCountSize.ts +0 -27
- package/src/utils/formatFileSize.ts +0 -26
- package/src/utils/mdx/files/mapMDXSlugByFilePaths.ts +0 -48
- package/src/utils/mdx/files/resolveRelativeDirs.ts +0 -10
- package/src/utils/mdx/frontmatter/getMatter.ts +0 -13
- package/src/utils/mdx/frontmatter/types.ts +0 -7
- package/src/utils/mdx/frontmatter/validateMatter.ts +0 -20
- package/src/utils/mdx/plugins/rehypeSlug.ts +0 -64
- package/src/utils/mdx/plugins/remarkHeadings.ts +0 -66
- package/src/utils/mdx/plugins/types.ts +0 -4
- package/src/utils/mdx/plugins/utils.ts +0 -39
- package/src/utils/mdx/staticGeneration/staticPaths.ts +0 -18
- package/src/utils/mdx/staticGeneration/staticProps.ts +0 -61
- package/src/utils/mdx/staticGeneration/types.ts +0 -16
- package/src/utils/mdx/staticGeneration/utils.ts +0 -32
- package/src/utils/parseJsonQueryParam.ts +0 -27
- package/src/utils/replaceParameters.ts +0 -23
- package/src/utils/ssr.ts +0 -5
- package/src/utils/stateToUrlQuery.ts +0 -40
- package/src/utils/tests.ts +0 -39
- package/src/utils/typeGuards.ts +0 -8
- package/src/utils/url.ts +0 -20
- package/src/viewModelBuilders/common/entities.ts +0 -4
- package/src/viewModelBuilders/common/utils.ts +0 -45
- package/src/views/ContentView/contentView.stories.tsx +0 -105
- package/src/views/ContentView/contentView.tsx +0 -29
- package/src/views/DataDictionaryView/dataDictionaryView.tsx +0 -35
- package/src/views/DataDictionaryView/types.ts +0 -5
- package/src/views/DataDictionaryView/utils.ts +0 -23
- package/src/views/EntityDetailView/entityDetailView.tsx +0 -90
- package/src/views/EntityExportMethodView/entityExportMethodView.tsx +0 -67
- package/src/views/EntityExportView/entityExportView.tsx +0 -39
- package/src/views/ExploreView/entityList/filters/components/ToggleButtonGroup/toggleButtonGroup.styles.ts +0 -25
- package/src/views/ExploreView/entityList/filters/components/ToggleButtonGroup/toggleButtonGroup.tsx +0 -35
- package/src/views/ExploreView/entityList/filters/filters.styles.ts +0 -19
- package/src/views/ExploreView/exploreView.tsx +0 -208
- package/src/views/ExploreView/hooks/UseUpdateFilterSort/hook.ts +0 -20
- package/src/views/ExploreView/hooks/UseUpdateFilterSort/types.ts +0 -7
- package/src/views/ExploreView/utils.ts +0 -25
- package/src/views/ExportMethodView/exportMethodView.tsx +0 -42
- package/src/views/ExportView/exportView.tsx +0 -32
- package/src/views/LoginView/loginView.tsx +0 -24
- package/src/views/ResearchView/assistant/assistant.tsx +0 -28
- package/src/views/ResearchView/assistant/components/Drawer/drawer.styles.ts +0 -24
- package/src/views/ResearchView/assistant/components/Drawer/drawer.tsx +0 -26
- package/src/views/ResearchView/assistant/components/Drawer/types.ts +0 -5
- package/src/views/ResearchView/assistant/components/Form/constants.ts +0 -3
- package/src/views/ResearchView/assistant/components/Form/form.styles.ts +0 -8
- package/src/views/ResearchView/assistant/components/Form/form.tsx +0 -33
- package/src/views/ResearchView/assistant/components/Form/types.ts +0 -9
- package/src/views/ResearchView/assistant/components/Form/utils.ts +0 -51
- package/src/views/ResearchView/assistant/components/Input/constants.ts +0 -16
- package/src/views/ResearchView/assistant/components/Input/hooks/UseControlledInput/hook.ts +0 -33
- package/src/views/ResearchView/assistant/components/Input/hooks/UseControlledInput/types.ts +0 -12
- package/src/views/ResearchView/assistant/components/Input/hooks/UseKeyShortCuts/constants.ts +0 -7
- package/src/views/ResearchView/assistant/components/Input/hooks/UseKeyShortCuts/hook.ts +0 -47
- package/src/views/ResearchView/assistant/components/Input/hooks/UseKeyShortCuts/types.ts +0 -13
- package/src/views/ResearchView/assistant/components/Input/hooks/UseKeyShortCuts/utils.ts +0 -95
- package/src/views/ResearchView/assistant/components/Input/input.styles.ts +0 -21
- package/src/views/ResearchView/assistant/components/Input/input.tsx +0 -46
- package/src/views/ResearchView/assistant/components/Input/stories/input.stories.tsx +0 -21
- package/src/views/ResearchView/assistant/components/Input/types.ts +0 -4
- package/src/views/ResearchView/assistant/components/Input/utils.ts +0 -34
- package/src/views/ResearchView/assistant/components/Messages/components/AssistantMessage/assistantMessage.tsx +0 -21
- package/src/views/ResearchView/assistant/components/Messages/components/AssistantMessage/types.ts +0 -5
- package/src/views/ResearchView/assistant/components/Messages/components/ErrorMessage/errorMessage.tsx +0 -21
- package/src/views/ResearchView/assistant/components/Messages/components/ErrorMessage/types.ts +0 -5
- package/src/views/ResearchView/assistant/components/Messages/components/PromptMessage/components/Chips/chips.styles.ts +0 -27
- package/src/views/ResearchView/assistant/components/Messages/components/PromptMessage/components/Chips/chips.tsx +0 -31
- package/src/views/ResearchView/assistant/components/Messages/components/PromptMessage/components/Chips/types.ts +0 -6
- package/src/views/ResearchView/assistant/components/Messages/components/PromptMessage/promptMessage.tsx +0 -26
- package/src/views/ResearchView/assistant/components/Messages/components/PromptMessage/types.ts +0 -6
- package/src/views/ResearchView/assistant/components/Messages/components/UserMessage/types.ts +0 -5
- package/src/views/ResearchView/assistant/components/Messages/components/UserMessage/useMessage.styles.ts +0 -11
- package/src/views/ResearchView/assistant/components/Messages/components/UserMessage/userMessage.tsx +0 -21
- package/src/views/ResearchView/assistant/components/Messages/hooks/UseScroll/hook.ts +0 -25
- package/src/views/ResearchView/assistant/components/Messages/messages.styles.ts +0 -10
- package/src/views/ResearchView/assistant/components/Messages/messages.tsx +0 -29
- package/src/views/ResearchView/assistant/components/Messages/selector/messageSelector.tsx +0 -37
- package/src/views/ResearchView/assistant/components/Messages/selector/types.ts +0 -6
- package/src/views/ResearchView/assistant/components/Messages/stories/args.ts +0 -115
- package/src/views/ResearchView/assistant/components/Messages/stories/messages.stories.tsx +0 -24
- package/src/views/ResearchView/assistant/components/Messages/types.ts +0 -5
- package/src/views/ResearchView/assistant/components/ToggleButtonGroup/stories/toggleButtonGroup.stories.tsx +0 -22
- package/src/views/ResearchView/assistant/components/ToggleButtonGroup/toggleButtonGroup.styles.ts +0 -22
- package/src/views/ResearchView/assistant/components/ToggleButtonGroup/toggleButtonGroup.tsx +0 -34
- package/src/views/ResearchView/assistant/stories/args.ts +0 -36
- package/src/views/ResearchView/assistant/stories/assistant.stories.tsx +0 -39
- package/src/views/ResearchView/query/constants.ts +0 -5
- package/src/views/ResearchView/query/fetch.ts +0 -58
- package/src/views/ResearchView/researchView.tsx +0 -19
- package/src/views/ResearchView/state/actions/setError/action.ts +0 -22
- package/src/views/ResearchView/state/actions/setError/dispatch.ts +0 -14
- package/src/views/ResearchView/state/actions/setError/types.ts +0 -16
- package/src/views/ResearchView/state/actions/setMessage/action.ts +0 -26
- package/src/views/ResearchView/state/actions/setMessage/dispatch.ts +0 -14
- package/src/views/ResearchView/state/actions/setMessage/types.ts +0 -19
- package/src/views/ResearchView/state/actions/setQuery/action.ts +0 -22
- package/src/views/ResearchView/state/actions/setQuery/dispatch.ts +0 -14
- package/src/views/ResearchView/state/actions/setQuery/types.ts +0 -16
- package/src/views/ResearchView/state/actions/setStatus/action.ts +0 -19
- package/src/views/ResearchView/state/actions/setStatus/dispatch.ts +0 -14
- package/src/views/ResearchView/state/actions/setStatus/types.ts +0 -16
- package/src/views/ResearchView/state/actions/types.ts +0 -23
- package/src/views/ResearchView/state/constants.ts +0 -9
- package/src/views/ResearchView/state/context.ts +0 -11
- package/src/views/ResearchView/state/guards/guards.ts +0 -58
- package/src/views/ResearchView/state/hooks/UseChatDispatch/hook.ts +0 -46
- package/src/views/ResearchView/state/hooks/UseChatDispatch/types.ts +0 -11
- package/src/views/ResearchView/state/hooks/UseChatReducer/hook.ts +0 -15
- package/src/views/ResearchView/state/hooks/UseChatState/hook.ts +0 -14
- package/src/views/ResearchView/state/initializer/initializer.ts +0 -23
- package/src/views/ResearchView/state/initializer/types.ts +0 -3
- package/src/views/ResearchView/state/provider.tsx +0 -34
- package/src/views/ResearchView/state/query/context.ts +0 -9
- package/src/views/ResearchView/state/query/hooks/UseQuery/hook.ts +0 -11
- package/src/views/ResearchView/state/query/hooks/UseSubmit/hook.ts +0 -71
- package/src/views/ResearchView/state/query/provider.tsx +0 -27
- package/src/views/ResearchView/state/query/types.ts +0 -31
- package/src/views/ResearchView/state/reducer.ts +0 -34
- package/src/views/ResearchView/state/types.ts +0 -149
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { FileManifestState } from "../fileManifestState";
|
|
2
|
-
|
|
3
|
-
export const FILE_MANIFEST_STATE: FileManifestState = {
|
|
4
|
-
fileCount: undefined,
|
|
5
|
-
fileSummary: undefined,
|
|
6
|
-
fileSummaryFacetName: undefined,
|
|
7
|
-
fileSummaryFilters: [],
|
|
8
|
-
filesFacets: [],
|
|
9
|
-
filters: [],
|
|
10
|
-
isEnabled: false,
|
|
11
|
-
isFacetsLoading: false,
|
|
12
|
-
isFacetsSuccess: false,
|
|
13
|
-
isFileSummaryLoading: false,
|
|
14
|
-
isLoading: false,
|
|
15
|
-
isSummaryLoading: false,
|
|
16
|
-
summary: undefined,
|
|
17
|
-
};
|
|
@@ -1,392 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
createContext,
|
|
3
|
-
Dispatch,
|
|
4
|
-
JSX,
|
|
5
|
-
ReactNode,
|
|
6
|
-
useEffect,
|
|
7
|
-
useReducer,
|
|
8
|
-
} from "react";
|
|
9
|
-
import { AzulSummaryResponse } from "../apis/azul/common/entities";
|
|
10
|
-
import { getFilterParameterValue } from "../apis/azul/common/utils";
|
|
11
|
-
import {
|
|
12
|
-
CategoryKey,
|
|
13
|
-
CategoryValueKey,
|
|
14
|
-
Filters,
|
|
15
|
-
SelectedFilterValue,
|
|
16
|
-
} from "../common/entities";
|
|
17
|
-
import { useCatalog } from "../hooks/useCatalog";
|
|
18
|
-
import { buildNextFilterState } from "../hooks/useCategoryFilter";
|
|
19
|
-
import { FileFacet } from "../hooks/useFileManifest/common/entities";
|
|
20
|
-
import { useFetchFilesFacets } from "../hooks/useFileManifest/useFetchFilesFacets";
|
|
21
|
-
import { useFetchSummary } from "../hooks/useFileManifest/useFetchSummary";
|
|
22
|
-
import { FILE_MANIFEST_STATE } from "./fileManifestState/constants";
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* File manifest state.
|
|
26
|
-
*/
|
|
27
|
-
export type FileManifestState = {
|
|
28
|
-
fileCount: number | undefined;
|
|
29
|
-
filesFacets: FileFacet[];
|
|
30
|
-
fileSummary?: AzulSummaryResponse;
|
|
31
|
-
fileSummaryFacetName?: string;
|
|
32
|
-
fileSummaryFilters: Filters;
|
|
33
|
-
filters: Filters;
|
|
34
|
-
isEnabled: boolean;
|
|
35
|
-
isFacetsLoading: boolean;
|
|
36
|
-
isFacetsSuccess: boolean;
|
|
37
|
-
isFileSummaryLoading: boolean;
|
|
38
|
-
isLoading: boolean;
|
|
39
|
-
isSummaryLoading: boolean;
|
|
40
|
-
summary?: AzulSummaryResponse;
|
|
41
|
-
};
|
|
42
|
-
|
|
43
|
-
/**
|
|
44
|
-
* Model of file manifest state context.
|
|
45
|
-
*/
|
|
46
|
-
export type FileManifestStateContextProps = {
|
|
47
|
-
fileManifestDispatch: Dispatch<FileManifestAction>;
|
|
48
|
-
fileManifestState: FileManifestState;
|
|
49
|
-
};
|
|
50
|
-
|
|
51
|
-
export const FileManifestStateContext =
|
|
52
|
-
createContext<FileManifestStateContextProps>({
|
|
53
|
-
// eslint-disable-next-line @typescript-eslint/no-empty-function -- allow dummy function for default state.
|
|
54
|
-
fileManifestDispatch: () => {},
|
|
55
|
-
fileManifestState: FILE_MANIFEST_STATE,
|
|
56
|
-
});
|
|
57
|
-
|
|
58
|
-
export interface FileManifestStateProps {
|
|
59
|
-
children: ReactNode | ReactNode[];
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
export function FileManifestStateProvider({
|
|
63
|
-
children,
|
|
64
|
-
}: FileManifestStateProps): JSX.Element {
|
|
65
|
-
// Determine catalog.
|
|
66
|
-
const catalog = useCatalog() as string; // catalog should be defined.
|
|
67
|
-
|
|
68
|
-
// File manifest state.
|
|
69
|
-
const [fileManifestState, fileManifestDispatch] = useReducer(
|
|
70
|
-
(s: FileManifestState, a: FileManifestAction) => fileManifestReducer(s, a),
|
|
71
|
-
FILE_MANIFEST_STATE,
|
|
72
|
-
);
|
|
73
|
-
|
|
74
|
-
const { fileSummaryFacetName, fileSummaryFilters, filters, isEnabled } =
|
|
75
|
-
fileManifestState;
|
|
76
|
-
|
|
77
|
-
// Fetch files facets.
|
|
78
|
-
const {
|
|
79
|
-
filesFacets,
|
|
80
|
-
isLoading: isFacetsLoading,
|
|
81
|
-
isSuccess: isFacetsSuccess,
|
|
82
|
-
} = useFetchFilesFacets(filters, catalog, { size: "25" }, isEnabled);
|
|
83
|
-
|
|
84
|
-
// Fetch summary.
|
|
85
|
-
const { isLoading: isSummaryLoading, summary } = useFetchSummary(
|
|
86
|
-
filters,
|
|
87
|
-
catalog,
|
|
88
|
-
isEnabled,
|
|
89
|
-
);
|
|
90
|
-
|
|
91
|
-
// Fetch file summary.
|
|
92
|
-
const { isLoading: isFileSummaryLoading, summary: fileSummary } =
|
|
93
|
-
useFetchSummary(fileSummaryFilters, catalog, Boolean(fileSummaryFacetName));
|
|
94
|
-
|
|
95
|
-
// Update file manifest state.
|
|
96
|
-
useEffect(() => {
|
|
97
|
-
fileManifestDispatch({
|
|
98
|
-
payload: {
|
|
99
|
-
fileSummary,
|
|
100
|
-
filesFacets,
|
|
101
|
-
isFacetsLoading,
|
|
102
|
-
isFacetsSuccess,
|
|
103
|
-
isFileSummaryLoading,
|
|
104
|
-
isLoading: isFacetsLoading || isFileSummaryLoading || isSummaryLoading,
|
|
105
|
-
isSummaryLoading,
|
|
106
|
-
summary,
|
|
107
|
-
},
|
|
108
|
-
type: FileManifestActionKind.UpdateFileManifest,
|
|
109
|
-
});
|
|
110
|
-
}, [
|
|
111
|
-
filesFacets,
|
|
112
|
-
fileSummary,
|
|
113
|
-
isFacetsLoading,
|
|
114
|
-
isFacetsSuccess,
|
|
115
|
-
isFileSummaryLoading,
|
|
116
|
-
isSummaryLoading,
|
|
117
|
-
summary,
|
|
118
|
-
]);
|
|
119
|
-
|
|
120
|
-
return (
|
|
121
|
-
<FileManifestStateContext.Provider
|
|
122
|
-
value={{
|
|
123
|
-
fileManifestDispatch,
|
|
124
|
-
fileManifestState,
|
|
125
|
-
}}
|
|
126
|
-
>
|
|
127
|
-
{children}
|
|
128
|
-
</FileManifestStateContext.Provider>
|
|
129
|
-
);
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
/**
|
|
133
|
-
* File manifest action kind.
|
|
134
|
-
*/
|
|
135
|
-
export enum FileManifestActionKind {
|
|
136
|
-
ClearFileManifest = "CLEAR_FILE_MANIFEST",
|
|
137
|
-
FetchFileManifest = "FETCH_FILE_MANIFEST",
|
|
138
|
-
UpdateFileCount = "UPDATE_FILE_COUNT",
|
|
139
|
-
UpdateFileManifest = "UPDATE_FILE_MANIFEST",
|
|
140
|
-
UpdateFilter = "UPDATE_FILTER",
|
|
141
|
-
UpdateFiltersCategory = "UPDATE_FILTERS_CATEGORY",
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
/**
|
|
145
|
-
* File manifest action.
|
|
146
|
-
*/
|
|
147
|
-
export type FileManifestAction =
|
|
148
|
-
| ClearFileManifestAction
|
|
149
|
-
| FetchFileManifestAction
|
|
150
|
-
| UpdateFileCountAction
|
|
151
|
-
| UpdateFileManifestAction
|
|
152
|
-
| UpdateFilterAction
|
|
153
|
-
| UpdateFiltersCategoryAction;
|
|
154
|
-
|
|
155
|
-
/**
|
|
156
|
-
* Resets file manifest state.
|
|
157
|
-
*/
|
|
158
|
-
type ClearFileManifestAction = {
|
|
159
|
-
payload: undefined;
|
|
160
|
-
type: FileManifestActionKind.ClearFileManifest;
|
|
161
|
-
};
|
|
162
|
-
|
|
163
|
-
/**
|
|
164
|
-
* Fetch file manifest action.
|
|
165
|
-
*/
|
|
166
|
-
type FetchFileManifestAction = {
|
|
167
|
-
payload: FetchFileManifestPayload;
|
|
168
|
-
type: FileManifestActionKind.FetchFileManifest;
|
|
169
|
-
};
|
|
170
|
-
|
|
171
|
-
/**
|
|
172
|
-
* Update file manifest action.
|
|
173
|
-
*/
|
|
174
|
-
type UpdateFileManifestAction = {
|
|
175
|
-
payload: UpdateFileManifestPayload;
|
|
176
|
-
type: FileManifestActionKind.UpdateFileManifest;
|
|
177
|
-
};
|
|
178
|
-
|
|
179
|
-
/**
|
|
180
|
-
* Update file count action.
|
|
181
|
-
*/
|
|
182
|
-
type UpdateFileCountAction = {
|
|
183
|
-
payload: UpdateFileCountPayload;
|
|
184
|
-
type: FileManifestActionKind.UpdateFileCount;
|
|
185
|
-
};
|
|
186
|
-
|
|
187
|
-
/**
|
|
188
|
-
* Update filter action.
|
|
189
|
-
*/
|
|
190
|
-
type UpdateFilterAction = {
|
|
191
|
-
payload: UpdateFilterPayload;
|
|
192
|
-
type: FileManifestActionKind.UpdateFilter;
|
|
193
|
-
};
|
|
194
|
-
|
|
195
|
-
/**
|
|
196
|
-
* Update filters by category action.
|
|
197
|
-
*/
|
|
198
|
-
type UpdateFiltersCategoryAction = {
|
|
199
|
-
payload: CategoryKey;
|
|
200
|
-
type: FileManifestActionKind.UpdateFiltersCategory;
|
|
201
|
-
};
|
|
202
|
-
|
|
203
|
-
/**
|
|
204
|
-
* Initialize file manifest payload.
|
|
205
|
-
*/
|
|
206
|
-
type FetchFileManifestPayload = {
|
|
207
|
-
fileSummaryFacetName?: string;
|
|
208
|
-
filters: Filters;
|
|
209
|
-
};
|
|
210
|
-
|
|
211
|
-
/**
|
|
212
|
-
* Update file count payload.
|
|
213
|
-
*/
|
|
214
|
-
export type UpdateFileCountPayload = {
|
|
215
|
-
fileCount: number | undefined;
|
|
216
|
-
};
|
|
217
|
-
|
|
218
|
-
/**
|
|
219
|
-
* Update file manifest payload.
|
|
220
|
-
*/
|
|
221
|
-
export type UpdateFileManifestPayload = {
|
|
222
|
-
filesFacets: FileFacet[];
|
|
223
|
-
fileSummary?: AzulSummaryResponse;
|
|
224
|
-
isFacetsLoading: boolean;
|
|
225
|
-
isFacetsSuccess: boolean;
|
|
226
|
-
isFileSummaryLoading: boolean;
|
|
227
|
-
isLoading: boolean;
|
|
228
|
-
isSummaryLoading: boolean;
|
|
229
|
-
summary?: AzulSummaryResponse;
|
|
230
|
-
};
|
|
231
|
-
|
|
232
|
-
/**
|
|
233
|
-
* Update filter payload.
|
|
234
|
-
*/
|
|
235
|
-
export type UpdateFilterPayload = {
|
|
236
|
-
categoryKey: CategoryKey;
|
|
237
|
-
selected: boolean;
|
|
238
|
-
selectedValue: CategoryValueKey;
|
|
239
|
-
};
|
|
240
|
-
|
|
241
|
-
/**
|
|
242
|
-
* File manifest reducer.
|
|
243
|
-
* @param state - File manifest state.
|
|
244
|
-
* @param action - File manifest action.
|
|
245
|
-
* @returns file manifest state.
|
|
246
|
-
*/
|
|
247
|
-
function fileManifestReducer(
|
|
248
|
-
state: FileManifestState,
|
|
249
|
-
action: FileManifestAction,
|
|
250
|
-
): FileManifestState {
|
|
251
|
-
const { payload, type } = action;
|
|
252
|
-
switch (type) {
|
|
253
|
-
// Resets file manifest.
|
|
254
|
-
case FileManifestActionKind.ClearFileManifest: {
|
|
255
|
-
return {
|
|
256
|
-
...state,
|
|
257
|
-
fileCount: undefined,
|
|
258
|
-
isEnabled: false,
|
|
259
|
-
};
|
|
260
|
-
}
|
|
261
|
-
// Fetches file manifest.
|
|
262
|
-
case FileManifestActionKind.FetchFileManifest: {
|
|
263
|
-
// Get file summary filters.
|
|
264
|
-
const fileSummaryFilters = buildNextFileSummaryFilterState(
|
|
265
|
-
payload.filters,
|
|
266
|
-
payload.fileSummaryFacetName,
|
|
267
|
-
);
|
|
268
|
-
return {
|
|
269
|
-
...state,
|
|
270
|
-
...payload,
|
|
271
|
-
fileSummaryFilters,
|
|
272
|
-
isEnabled: true,
|
|
273
|
-
};
|
|
274
|
-
}
|
|
275
|
-
// Updates file count.
|
|
276
|
-
case FileManifestActionKind.UpdateFileCount: {
|
|
277
|
-
return { ...state, ...payload };
|
|
278
|
-
}
|
|
279
|
-
// Updates file manifest.
|
|
280
|
-
case FileManifestActionKind.UpdateFileManifest: {
|
|
281
|
-
return { ...state, ...payload };
|
|
282
|
-
}
|
|
283
|
-
// Updates selected file manifest filters with given selected category value.
|
|
284
|
-
case FileManifestActionKind.UpdateFilter: {
|
|
285
|
-
// Build next filter state.
|
|
286
|
-
const filters = buildNextFilterState(
|
|
287
|
-
state.filters,
|
|
288
|
-
payload.categoryKey,
|
|
289
|
-
getFilterParameterValue(payload.selectedValue),
|
|
290
|
-
payload.selected,
|
|
291
|
-
);
|
|
292
|
-
// Get file summary filters.
|
|
293
|
-
const fileSummaryFilters = buildNextFileSummaryFilterState(
|
|
294
|
-
filters,
|
|
295
|
-
state.fileSummaryFacetName,
|
|
296
|
-
);
|
|
297
|
-
return {
|
|
298
|
-
...state,
|
|
299
|
-
fileSummaryFilters,
|
|
300
|
-
filters,
|
|
301
|
-
};
|
|
302
|
-
}
|
|
303
|
-
// Updates selected file manifest filters by category.
|
|
304
|
-
case FileManifestActionKind.UpdateFiltersCategory: {
|
|
305
|
-
// Build next filter state.
|
|
306
|
-
const filters = updateCategoryFilterState(
|
|
307
|
-
state.filters,
|
|
308
|
-
payload,
|
|
309
|
-
state.filesFacets,
|
|
310
|
-
);
|
|
311
|
-
// Get file summary filters.
|
|
312
|
-
const fileSummaryFilters = buildNextFileSummaryFilterState(
|
|
313
|
-
filters,
|
|
314
|
-
state.fileSummaryFacetName,
|
|
315
|
-
);
|
|
316
|
-
return {
|
|
317
|
-
...state,
|
|
318
|
-
fileSummaryFilters,
|
|
319
|
-
filters,
|
|
320
|
-
};
|
|
321
|
-
}
|
|
322
|
-
default:
|
|
323
|
-
return state;
|
|
324
|
-
}
|
|
325
|
-
}
|
|
326
|
-
|
|
327
|
-
/**
|
|
328
|
-
* Returns the file summary filters; comprising selected facets except any of the given facet name.
|
|
329
|
-
* @param filters - Current set of selected category and category values.
|
|
330
|
-
* @param facetName - Name of facet to exclude from file summary filters.
|
|
331
|
-
* @returns file summary filters.
|
|
332
|
-
*/
|
|
333
|
-
function buildNextFileSummaryFilterState(
|
|
334
|
-
filters: Filters,
|
|
335
|
-
facetName?: string,
|
|
336
|
-
): Filters {
|
|
337
|
-
if (!facetName) {
|
|
338
|
-
return [];
|
|
339
|
-
}
|
|
340
|
-
return filters.filter(({ categoryKey }) => categoryKey !== facetName);
|
|
341
|
-
}
|
|
342
|
-
|
|
343
|
-
/**
|
|
344
|
-
* Returns all terms for the given category.
|
|
345
|
-
* @param fileFacet - File facet.
|
|
346
|
-
* @returns all terms for the given category.
|
|
347
|
-
*/
|
|
348
|
-
function getFileFacetTerms(fileFacet: FileFacet): SelectedFilterValue {
|
|
349
|
-
return fileFacet.terms.map((term) => getFilterParameterValue(term.name));
|
|
350
|
-
}
|
|
351
|
-
|
|
352
|
-
/**
|
|
353
|
-
* Build new set of selected filters on de/select of filter category.
|
|
354
|
-
* @param filters - Current set of selected category and category values.
|
|
355
|
-
* @param categoryKey - Key of category that has been de/selected.
|
|
356
|
-
* @param filesFacets - File facets.
|
|
357
|
-
* @returns New filter state generated from the current set of selected values and the newly selected category.
|
|
358
|
-
*/
|
|
359
|
-
function updateCategoryFilterState(
|
|
360
|
-
filters: Filters,
|
|
361
|
-
categoryKey: CategoryKey,
|
|
362
|
-
filesFacets: FileFacet[],
|
|
363
|
-
): Filters {
|
|
364
|
-
// Find the selected category facet.
|
|
365
|
-
const categoryFacet = filesFacets.find(({ name }) => name === categoryKey);
|
|
366
|
-
|
|
367
|
-
if (!categoryFacet) {
|
|
368
|
-
return filters;
|
|
369
|
-
}
|
|
370
|
-
|
|
371
|
-
const { selectedTermCount, termCount } = categoryFacet;
|
|
372
|
-
|
|
373
|
-
// Create a copy of the current filter state. Remove the selected filter for the selected category, if any.
|
|
374
|
-
const nextFilterState = filters.filter(
|
|
375
|
-
({ categoryKey: key }) => key !== categoryKey,
|
|
376
|
-
);
|
|
377
|
-
|
|
378
|
-
// If the selected category already has all selected values, return the next filter state with removed selected category.
|
|
379
|
-
if (selectedTermCount === termCount) {
|
|
380
|
-
return nextFilterState;
|
|
381
|
-
}
|
|
382
|
-
|
|
383
|
-
// Create new selected filter for this category.
|
|
384
|
-
const nextCategorySelectedFilter = {
|
|
385
|
-
categoryKey,
|
|
386
|
-
value: getFileFacetTerms(categoryFacet),
|
|
387
|
-
};
|
|
388
|
-
|
|
389
|
-
nextFilterState.push(nextCategorySelectedFilter);
|
|
390
|
-
|
|
391
|
-
return nextFilterState;
|
|
392
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { Dispatch } from "react";
|
|
2
|
-
import { AuthAction, AuthContextProps } from "../../authentication/auth/types";
|
|
3
|
-
import {
|
|
4
|
-
AuthenticationAction,
|
|
5
|
-
AuthenticationContextProps,
|
|
6
|
-
} from "../../authentication/authentication/types";
|
|
7
|
-
import {
|
|
8
|
-
CredentialsAction,
|
|
9
|
-
CredentialsContextProps,
|
|
10
|
-
} from "../../authentication/credentials/types";
|
|
11
|
-
import {
|
|
12
|
-
TokenAction,
|
|
13
|
-
TokenContextProps,
|
|
14
|
-
} from "../../authentication/token/types";
|
|
15
|
-
|
|
16
|
-
export interface SessionReducer {
|
|
17
|
-
authenticationReducer: AuthenticationContextProps;
|
|
18
|
-
authReducer: Omit<AuthContextProps, "service">;
|
|
19
|
-
credentialsReducer: CredentialsContextProps;
|
|
20
|
-
tokenReducer: TokenContextProps;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
export interface SessionDispatch {
|
|
24
|
-
authDispatch: Dispatch<AuthAction> | null;
|
|
25
|
-
authenticationDispatch: Dispatch<AuthenticationAction> | null;
|
|
26
|
-
credentialsDispatch: Dispatch<CredentialsAction> | null;
|
|
27
|
-
tokenDispatch: Dispatch<TokenAction> | null;
|
|
28
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { DEFAULT_AUTH_STATE } from "../authentication/auth/constants";
|
|
2
|
-
import { AUTH_STATUS, AuthState } from "../authentication/auth/types";
|
|
3
|
-
import { DEFAULT_AUTHENTICATION_STATE } from "../authentication/authentication/constants";
|
|
4
|
-
import {
|
|
5
|
-
AUTHENTICATION_STATUS,
|
|
6
|
-
AuthenticationState,
|
|
7
|
-
} from "../authentication/authentication/types";
|
|
8
|
-
|
|
9
|
-
export const AUTH_STATE: AuthState = {
|
|
10
|
-
...DEFAULT_AUTH_STATE,
|
|
11
|
-
status: AUTH_STATUS.SETTLED,
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
export const AUTHENTICATION_STATE: AuthenticationState = {
|
|
15
|
-
...DEFAULT_AUTHENTICATION_STATE,
|
|
16
|
-
status: AUTHENTICATION_STATUS.SETTLED,
|
|
17
|
-
};
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { useRouter } from "next/router";
|
|
2
|
-
import { useCallback } from "react";
|
|
3
|
-
import { useProviders } from "../../../hooks/authentication/providers/useProviders";
|
|
4
|
-
import { Service } from "../../authentication/auth/types";
|
|
5
|
-
import { ProviderId } from "../../authentication/common/types";
|
|
6
|
-
import { SessionReducer } from "../common/types";
|
|
7
|
-
import { service } from "../service/service";
|
|
8
|
-
|
|
9
|
-
export const useGoogleSignInService = (reducer: SessionReducer): Service => {
|
|
10
|
-
const { findProvider } = useProviders();
|
|
11
|
-
const { basePath } = useRouter();
|
|
12
|
-
const {
|
|
13
|
-
authenticationReducer: { authenticationDispatch },
|
|
14
|
-
authReducer: { authDispatch },
|
|
15
|
-
credentialsReducer: { credentialsDispatch },
|
|
16
|
-
tokenReducer: { tokenDispatch },
|
|
17
|
-
} = reducer;
|
|
18
|
-
|
|
19
|
-
const onLogin = useCallback(
|
|
20
|
-
(providerId: ProviderId) => {
|
|
21
|
-
const provider = findProvider(providerId);
|
|
22
|
-
if (!provider) return;
|
|
23
|
-
service.login(provider, {
|
|
24
|
-
authDispatch,
|
|
25
|
-
authenticationDispatch,
|
|
26
|
-
tokenDispatch,
|
|
27
|
-
});
|
|
28
|
-
},
|
|
29
|
-
[authDispatch, authenticationDispatch, findProvider, tokenDispatch],
|
|
30
|
-
);
|
|
31
|
-
|
|
32
|
-
const onLogout = useCallback(
|
|
33
|
-
(options?: { callbackUrl?: string }) => {
|
|
34
|
-
service.logout({
|
|
35
|
-
authDispatch,
|
|
36
|
-
authenticationDispatch,
|
|
37
|
-
credentialsDispatch,
|
|
38
|
-
tokenDispatch,
|
|
39
|
-
});
|
|
40
|
-
// Request page reload, ensuring that the entity detail page is re-initialized with the correct state and associated data.
|
|
41
|
-
location.href = options?.callbackUrl || basePath;
|
|
42
|
-
},
|
|
43
|
-
[
|
|
44
|
-
authDispatch,
|
|
45
|
-
authenticationDispatch,
|
|
46
|
-
basePath,
|
|
47
|
-
credentialsDispatch,
|
|
48
|
-
tokenDispatch,
|
|
49
|
-
],
|
|
50
|
-
);
|
|
51
|
-
|
|
52
|
-
return { requestLogin: onLogin, requestLogout: onLogout };
|
|
53
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export interface GoogleProfile {
|
|
2
|
-
email: string;
|
|
3
|
-
email_verified: boolean;
|
|
4
|
-
family_name: string;
|
|
5
|
-
given_name: string;
|
|
6
|
-
hd: string;
|
|
7
|
-
locale: string;
|
|
8
|
-
name: string;
|
|
9
|
-
picture: string;
|
|
10
|
-
sub: string;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export interface TokenSetParameters {
|
|
14
|
-
access_token: string;
|
|
15
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { UserProfile } from "../../authentication/authentication/types";
|
|
2
|
-
import { GOOGLE_SIGN_IN_PROVIDER_ID } from "../service/constants";
|
|
3
|
-
import { GoogleProfile } from "./types";
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* Returns full name, from given and family name.
|
|
7
|
-
* @param profile - Google response.
|
|
8
|
-
* @returns full name.
|
|
9
|
-
*/
|
|
10
|
-
function getFullName(profile: GoogleProfile): string {
|
|
11
|
-
const { family_name: lastName = "", given_name: firstName = "" } = profile;
|
|
12
|
-
return `${firstName} ${lastName}`.trim();
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
* Returns user profile from google response.
|
|
17
|
-
* @param profile - Google response.
|
|
18
|
-
* @returns user profile.
|
|
19
|
-
*/
|
|
20
|
-
export function mapProfile(profile: GoogleProfile): UserProfile {
|
|
21
|
-
const { email, picture: image } = profile;
|
|
22
|
-
const name = getFullName(profile);
|
|
23
|
-
return {
|
|
24
|
-
email,
|
|
25
|
-
id: GOOGLE_SIGN_IN_PROVIDER_ID,
|
|
26
|
-
image,
|
|
27
|
-
name,
|
|
28
|
-
};
|
|
29
|
-
}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { JSX } from "react";
|
|
2
|
-
import { SessionController as DefaultSessionController } from "../../components/Authentication/components/SessionController/components/GoogleSessionController/SessionController";
|
|
3
|
-
import { useAuthReducer } from "../../hooks/authentication/auth/useAuthReducer";
|
|
4
|
-
import { useAuthenticationReducer } from "../../hooks/authentication/authentication/useAuthenticationReducer";
|
|
5
|
-
import { useCredentialsReducer } from "../../hooks/authentication/credentials/useCredentialsReducer";
|
|
6
|
-
import { useSessionActive } from "../../hooks/authentication/session/useSessionActive";
|
|
7
|
-
import { useSessionCallbackUrl } from "../../hooks/authentication/session/useSessionCallbackUrl";
|
|
8
|
-
import { useSessionIdleTimer } from "../../hooks/authentication/session/useSessionIdleTimer";
|
|
9
|
-
import { useTokenReducer } from "../../hooks/authentication/token/useTokenReducer";
|
|
10
|
-
import { AuthContext } from "../authentication/auth/context";
|
|
11
|
-
import { AuthenticationContext } from "../authentication/authentication/context";
|
|
12
|
-
import { CredentialsContext } from "../authentication/credentials/context";
|
|
13
|
-
import { AUTH_STATE, AUTHENTICATION_STATE } from "./constants";
|
|
14
|
-
import { useGoogleSignInService } from "./hooks/useGoogleSignInService";
|
|
15
|
-
import { GoogleSignInAuthenticationProviderProps } from "./types";
|
|
16
|
-
|
|
17
|
-
export function GoogleSignInAuthenticationProvider({
|
|
18
|
-
children,
|
|
19
|
-
SessionController = DefaultSessionController,
|
|
20
|
-
timeout,
|
|
21
|
-
}: GoogleSignInAuthenticationProviderProps): JSX.Element {
|
|
22
|
-
const authReducer = useAuthReducer(AUTH_STATE);
|
|
23
|
-
const authenticationReducer = useAuthenticationReducer(AUTHENTICATION_STATE);
|
|
24
|
-
const credentialsReducer = useCredentialsReducer();
|
|
25
|
-
const tokenReducer = useTokenReducer(); // Reducer, local to Google Sign-In process only.
|
|
26
|
-
const service = useGoogleSignInService({
|
|
27
|
-
authReducer,
|
|
28
|
-
authenticationReducer,
|
|
29
|
-
credentialsReducer,
|
|
30
|
-
tokenReducer,
|
|
31
|
-
});
|
|
32
|
-
const { callbackUrl } = useSessionCallbackUrl();
|
|
33
|
-
const { authDispatch, authState } = authReducer;
|
|
34
|
-
const { isAuthenticated } = authState;
|
|
35
|
-
const { authenticationState } = authenticationReducer;
|
|
36
|
-
useSessionActive(authState, authenticationState);
|
|
37
|
-
useSessionIdleTimer({
|
|
38
|
-
disabled: !isAuthenticated,
|
|
39
|
-
onIdle: () => service.requestLogout({ callbackUrl }),
|
|
40
|
-
timeout,
|
|
41
|
-
});
|
|
42
|
-
return (
|
|
43
|
-
<CredentialsContext.Provider value={credentialsReducer}>
|
|
44
|
-
<AuthenticationContext.Provider value={authenticationReducer}>
|
|
45
|
-
<AuthContext.Provider value={{ authDispatch, authState, service }}>
|
|
46
|
-
<SessionController token={tokenReducer.tokenState.token}>
|
|
47
|
-
{children}
|
|
48
|
-
</SessionController>
|
|
49
|
-
</AuthContext.Provider>
|
|
50
|
-
</AuthenticationContext.Provider>
|
|
51
|
-
</CredentialsContext.Provider>
|
|
52
|
-
);
|
|
53
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { GoogleIcon } from "../../../components/common/CustomIcon/components/GoogleIcon/googleIcon";
|
|
2
|
-
import { OAuthProvider } from "../../../config/entities";
|
|
3
|
-
import { GoogleProfile } from "../profile/types";
|
|
4
|
-
import { mapProfile } from "../profile/utils";
|
|
5
|
-
|
|
6
|
-
export const GOOGLE_SIGN_IN_PROVIDER_ID = "google";
|
|
7
|
-
|
|
8
|
-
export const GOOGLE_SIGN_IN_PROVIDER: Pick<
|
|
9
|
-
OAuthProvider<GoogleProfile>,
|
|
10
|
-
"icon" | "id" | "name" | "profile"
|
|
11
|
-
> = {
|
|
12
|
-
icon: GoogleIcon({}),
|
|
13
|
-
id: GOOGLE_SIGN_IN_PROVIDER_ID,
|
|
14
|
-
name: "Google",
|
|
15
|
-
profile: mapProfile,
|
|
16
|
-
};
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
import { OAuthProvider } from "../../../config/entities";
|
|
2
|
-
import { requestAuth, resetState } from "../../authentication/auth/dispatch";
|
|
3
|
-
import {
|
|
4
|
-
requestAuthentication,
|
|
5
|
-
resetState as resetAuthenticationState,
|
|
6
|
-
updateAuthentication,
|
|
7
|
-
} from "../../authentication/authentication/dispatch";
|
|
8
|
-
import { AUTHENTICATION_STATUS } from "../../authentication/authentication/types";
|
|
9
|
-
import { fetchProfile } from "../../authentication/authentication/utils";
|
|
10
|
-
import { resetState as resetCredentialsState } from "../../authentication/credentials/dispatch";
|
|
11
|
-
import { getAuthenticationRequestOptions } from "../../authentication/terra/hooks/common/utils";
|
|
12
|
-
import {
|
|
13
|
-
resetState as resetTokenState,
|
|
14
|
-
updateToken,
|
|
15
|
-
} from "../../authentication/token/dispatch";
|
|
16
|
-
import { SessionDispatch } from "../common/types";
|
|
17
|
-
import { GoogleProfile, TokenSetParameters } from "../profile/types";
|
|
18
|
-
|
|
19
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any -- TODO see https://github.com/clevercanary/data-browser/issues/544.
|
|
20
|
-
declare const google: any;
|
|
21
|
-
|
|
22
|
-
export const service = {
|
|
23
|
-
login: (
|
|
24
|
-
provider: OAuthProvider,
|
|
25
|
-
dispatch: Pick<
|
|
26
|
-
SessionDispatch,
|
|
27
|
-
"authDispatch" | "authenticationDispatch" | "tokenDispatch"
|
|
28
|
-
>,
|
|
29
|
-
): void => {
|
|
30
|
-
const client = google.accounts.oauth2.initTokenClient({
|
|
31
|
-
callback: (response: TokenSetParameters) => {
|
|
32
|
-
const { id, profile, userinfo } = provider;
|
|
33
|
-
const { access_token: token } = response;
|
|
34
|
-
dispatch.authDispatch?.(requestAuth());
|
|
35
|
-
dispatch.authenticationDispatch?.(requestAuthentication());
|
|
36
|
-
dispatch.tokenDispatch?.(updateToken({ providerId: id, token }));
|
|
37
|
-
fetchProfile(userinfo, getAuthenticationRequestOptions(token), {
|
|
38
|
-
onError: () => {
|
|
39
|
-
dispatch.authDispatch?.(resetState());
|
|
40
|
-
dispatch.authenticationDispatch?.(
|
|
41
|
-
updateAuthentication({
|
|
42
|
-
profile: undefined,
|
|
43
|
-
status: AUTHENTICATION_STATUS.SETTLED,
|
|
44
|
-
}),
|
|
45
|
-
);
|
|
46
|
-
dispatch.tokenDispatch?.(resetTokenState());
|
|
47
|
-
},
|
|
48
|
-
onSuccess: (r: GoogleProfile) =>
|
|
49
|
-
dispatch.authenticationDispatch?.(
|
|
50
|
-
updateAuthentication({
|
|
51
|
-
profile: profile(r),
|
|
52
|
-
status: AUTHENTICATION_STATUS.PENDING, // Authentication is pending until session controller is resolved.
|
|
53
|
-
}),
|
|
54
|
-
),
|
|
55
|
-
});
|
|
56
|
-
},
|
|
57
|
-
client_id: provider.clientId,
|
|
58
|
-
scope: provider.authorization.params.scope,
|
|
59
|
-
});
|
|
60
|
-
client.requestAccessToken();
|
|
61
|
-
},
|
|
62
|
-
logout: (dispatch: SessionDispatch): void => {
|
|
63
|
-
dispatch.authDispatch?.(resetState());
|
|
64
|
-
dispatch.authenticationDispatch?.(resetAuthenticationState());
|
|
65
|
-
dispatch.credentialsDispatch?.(resetCredentialsState());
|
|
66
|
-
dispatch.tokenDispatch?.(resetTokenState());
|
|
67
|
-
},
|
|
68
|
-
};
|