@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,206 +0,0 @@
|
|
|
1
|
-
import { useEffect } from "react";
|
|
2
|
-
import {
|
|
3
|
-
AzulEntitiesResponse,
|
|
4
|
-
AzulEntitiesStaticResponse,
|
|
5
|
-
AzulListParams,
|
|
6
|
-
} from "../apis/azul/common/entities";
|
|
7
|
-
import {
|
|
8
|
-
transformAzulPagination,
|
|
9
|
-
transformFilters,
|
|
10
|
-
transformTermFacets,
|
|
11
|
-
} from "../apis/azul/common/filterTransformer";
|
|
12
|
-
import { EntityMapper } from "../config/entities";
|
|
13
|
-
import { getEntityConfig } from "../config/utils";
|
|
14
|
-
import { ExploreActionKind } from "../providers/exploreState";
|
|
15
|
-
import { DEFAULT_PAGINATION_STATE } from "../providers/exploreState/initializer/constants";
|
|
16
|
-
import { useToken } from "./authentication/token/useToken";
|
|
17
|
-
import { useAsync } from "./useAsync";
|
|
18
|
-
import { useConfig } from "./useConfig";
|
|
19
|
-
import { useEntityService } from "./useEntityService";
|
|
20
|
-
import { EXPLORE_MODE, ExploreMode } from "./useExploreMode/types";
|
|
21
|
-
import { useExploreMode } from "./useExploreMode/useExploreMode";
|
|
22
|
-
import { useExploreState } from "./useExploreState";
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* Hook handling the load and transformation of the values used by index pages. If the current entity loaded statically,
|
|
26
|
-
* this hook will return the already loaded data. Otherwise, it will make a request for the entity's pathUrl.
|
|
27
|
-
* @param staticResponse - Statically loaded data, if any.
|
|
28
|
-
* @returns Model of the entities list including pagination, sort, filter and loading indicator.
|
|
29
|
-
*/
|
|
30
|
-
export const useEntityList = (
|
|
31
|
-
staticResponse: AzulEntitiesStaticResponse,
|
|
32
|
-
): void => {
|
|
33
|
-
const { data: staticData, entityListType } = staticResponse;
|
|
34
|
-
const { token } = useToken();
|
|
35
|
-
const { config } = useConfig();
|
|
36
|
-
const { apiPath } = getEntityConfig(config.entities, entityListType);
|
|
37
|
-
const exploreMode = useExploreMode();
|
|
38
|
-
const {
|
|
39
|
-
catalog,
|
|
40
|
-
entityMapper,
|
|
41
|
-
fetchAllEntities,
|
|
42
|
-
fetchEntitiesFromQuery,
|
|
43
|
-
path,
|
|
44
|
-
} = useEntityService();
|
|
45
|
-
const { exploreDispatch, exploreState } = useExploreState();
|
|
46
|
-
const { data, isIdle, isLoading, run } = useAsync<AzulEntitiesResponse>();
|
|
47
|
-
const { entityPageState, filterState, tabValue } = exploreState;
|
|
48
|
-
const { pagination, termFacets } = data || {};
|
|
49
|
-
const { sorting } = entityPageState[tabValue];
|
|
50
|
-
const entities = getEntities(staticData, data);
|
|
51
|
-
const shouldDispatchResponse = isDispatchable(
|
|
52
|
-
exploreMode,
|
|
53
|
-
data?.apiPath === apiPath,
|
|
54
|
-
entityListType === tabValue,
|
|
55
|
-
);
|
|
56
|
-
const isFetching = isIdle || isLoading;
|
|
57
|
-
|
|
58
|
-
// Fetch entities - on change of filter state - server-side fetching and server-side filtering.
|
|
59
|
-
useEffect(() => {
|
|
60
|
-
if (exploreMode === EXPLORE_MODE.SS_FETCH_SS_FILTERING) {
|
|
61
|
-
// Build basic list params
|
|
62
|
-
const [sort] = sorting;
|
|
63
|
-
const listParams: AzulListParams = sort
|
|
64
|
-
? { order: sort.desc ? "desc" : "asc", sort: sort.id }
|
|
65
|
-
: {};
|
|
66
|
-
|
|
67
|
-
// Build filter query params, if any
|
|
68
|
-
const filtersParam = transformFilters(filterState);
|
|
69
|
-
if (filtersParam) {
|
|
70
|
-
listParams.filters = filtersParam;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
if (
|
|
74
|
-
exploreState.paginationState?.index?.type &&
|
|
75
|
-
exploreState.paginationState.index.value
|
|
76
|
-
) {
|
|
77
|
-
listParams[exploreState.paginationState.index.type] =
|
|
78
|
-
exploreState.paginationState.index.value;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
// Execute the fetch.
|
|
82
|
-
run(fetchEntitiesFromQuery(path, listParams, catalog, token));
|
|
83
|
-
}
|
|
84
|
-
}, [
|
|
85
|
-
catalog,
|
|
86
|
-
exploreMode,
|
|
87
|
-
exploreState.paginationState.index,
|
|
88
|
-
fetchEntitiesFromQuery,
|
|
89
|
-
filterState,
|
|
90
|
-
path,
|
|
91
|
-
run,
|
|
92
|
-
sorting,
|
|
93
|
-
token,
|
|
94
|
-
]);
|
|
95
|
-
|
|
96
|
-
// Process explore response - on change of filter state - server-side fetching and server-side filtering.
|
|
97
|
-
useEffect(() => {
|
|
98
|
-
if (!termFacets) return;
|
|
99
|
-
if (!shouldDispatchResponse) return;
|
|
100
|
-
if (exploreMode === EXPLORE_MODE.SS_FETCH_SS_FILTERING) {
|
|
101
|
-
exploreDispatch({
|
|
102
|
-
payload: {
|
|
103
|
-
listItems: entities,
|
|
104
|
-
loading: isFetching,
|
|
105
|
-
paginationResponse: transformAzulPagination(pagination),
|
|
106
|
-
selectCategories: transformTermFacets(termFacets, filterState),
|
|
107
|
-
},
|
|
108
|
-
type: ExploreActionKind.ProcessExploreResponse,
|
|
109
|
-
});
|
|
110
|
-
}
|
|
111
|
-
}, [
|
|
112
|
-
entities,
|
|
113
|
-
exploreDispatch,
|
|
114
|
-
exploreMode,
|
|
115
|
-
filterState,
|
|
116
|
-
isFetching,
|
|
117
|
-
pagination,
|
|
118
|
-
shouldDispatchResponse,
|
|
119
|
-
termFacets,
|
|
120
|
-
]);
|
|
121
|
-
|
|
122
|
-
// Fetch entities - server-side fetching and client-side filtering.
|
|
123
|
-
useEffect(() => {
|
|
124
|
-
if (exploreMode === EXPLORE_MODE.SS_FETCH_CS_FILTERING) {
|
|
125
|
-
run(fetchAllEntities(path, token));
|
|
126
|
-
}
|
|
127
|
-
}, [exploreMode, fetchAllEntities, path, run, token]);
|
|
128
|
-
|
|
129
|
-
// Process explore response - server-side or client-side fetching and client-side filtering.
|
|
130
|
-
useEffect(() => {
|
|
131
|
-
if (!entities) return;
|
|
132
|
-
if (!shouldDispatchResponse) return;
|
|
133
|
-
if (
|
|
134
|
-
exploreMode === EXPLORE_MODE.SS_FETCH_CS_FILTERING ||
|
|
135
|
-
exploreMode === EXPLORE_MODE.CS_FETCH_CS_FILTERING
|
|
136
|
-
) {
|
|
137
|
-
exploreDispatch({
|
|
138
|
-
payload: {
|
|
139
|
-
listItems: mapEntities(entities, entityMapper),
|
|
140
|
-
loading: false,
|
|
141
|
-
paginationResponse: {
|
|
142
|
-
...DEFAULT_PAGINATION_STATE,
|
|
143
|
-
pageSize: entities.length,
|
|
144
|
-
rows: entities.length,
|
|
145
|
-
},
|
|
146
|
-
},
|
|
147
|
-
type: ExploreActionKind.ProcessExploreResponse,
|
|
148
|
-
});
|
|
149
|
-
}
|
|
150
|
-
}, [
|
|
151
|
-
entities,
|
|
152
|
-
entityMapper,
|
|
153
|
-
exploreDispatch,
|
|
154
|
-
exploreMode,
|
|
155
|
-
shouldDispatchResponse,
|
|
156
|
-
]);
|
|
157
|
-
};
|
|
158
|
-
|
|
159
|
-
/**
|
|
160
|
-
* Returns the entities from the static data if present, otherwise returns the entities from the server data.
|
|
161
|
-
* @param staticData - Static data.
|
|
162
|
-
* @param serverData - Server data.
|
|
163
|
-
* @returns entities.
|
|
164
|
-
*/
|
|
165
|
-
function getEntities<T>(
|
|
166
|
-
staticData?: AzulEntitiesResponse<T>,
|
|
167
|
-
serverData?: AzulEntitiesResponse<T>,
|
|
168
|
-
): AzulEntitiesResponse<T>["hits"] | undefined {
|
|
169
|
-
if (staticData && staticData.hits.length > 0) {
|
|
170
|
-
return staticData.hits;
|
|
171
|
-
}
|
|
172
|
-
return serverData?.hits;
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
/**
|
|
176
|
-
* Returns true if the response should be dispatched for the given explore mode.
|
|
177
|
-
* @param exploreMode - Explore mode.
|
|
178
|
-
* @param shouldDispatchServerResponse - Boolean indicating whether the server response should be dispatched.
|
|
179
|
-
* @param shouldDispatchStaticResponse - Boolean indicating whether the static response should be dispatched.
|
|
180
|
-
* @returns true if the response should be dispatched.
|
|
181
|
-
*/
|
|
182
|
-
function isDispatchable(
|
|
183
|
-
exploreMode: ExploreMode,
|
|
184
|
-
shouldDispatchServerResponse: boolean,
|
|
185
|
-
shouldDispatchStaticResponse: boolean,
|
|
186
|
-
): boolean {
|
|
187
|
-
return exploreMode === EXPLORE_MODE.CS_FETCH_CS_FILTERING
|
|
188
|
-
? shouldDispatchStaticResponse
|
|
189
|
-
: shouldDispatchServerResponse;
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
/**
|
|
193
|
-
* Maps the entities using the given entity mapper.
|
|
194
|
-
* @param entities - Entities.
|
|
195
|
-
* @param entityMapper - Entity mapper.
|
|
196
|
-
* @returns entities mapped using the given entity mapper.
|
|
197
|
-
*/
|
|
198
|
-
function mapEntities<T, I>(
|
|
199
|
-
entities: (T | I)[],
|
|
200
|
-
entityMapper?: EntityMapper<T, I>,
|
|
201
|
-
): T[] {
|
|
202
|
-
if (entityMapper) {
|
|
203
|
-
return (entities as I[]).map(entityMapper);
|
|
204
|
-
}
|
|
205
|
-
return entities as T[];
|
|
206
|
-
}
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import { EntityConfig, EntityMapper } from "../config/entities";
|
|
2
|
-
import { getEntityConfig } from "../config/utils";
|
|
3
|
-
import { createEntityService } from "../entity/service/factory";
|
|
4
|
-
import { ENTITY_SERVICE_TYPE, EntityService } from "../entity/service/model";
|
|
5
|
-
import { useCatalog } from "./useCatalog";
|
|
6
|
-
import { useConfig } from "./useConfig";
|
|
7
|
-
import { EXPLORE_MODE } from "./useExploreMode/types";
|
|
8
|
-
import { useExploreState } from "./useExploreState";
|
|
9
|
-
|
|
10
|
-
interface FetcherResponse<T, I> extends EntityService {
|
|
11
|
-
catalog: string | undefined;
|
|
12
|
-
detailStaticLoad: boolean;
|
|
13
|
-
entityMapper?: EntityMapper<T, I>;
|
|
14
|
-
path: string;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
export const getEntityService = <T, I>(
|
|
18
|
-
entityConfig: EntityConfig,
|
|
19
|
-
catalog: string | undefined,
|
|
20
|
-
): FetcherResponse<T, I> => {
|
|
21
|
-
if (entityConfig.apiPath) {
|
|
22
|
-
// Server-side fetch and filtering.
|
|
23
|
-
if (entityConfig.exploreMode === EXPLORE_MODE.SS_FETCH_SS_FILTERING) {
|
|
24
|
-
return {
|
|
25
|
-
...createEntityService(ENTITY_SERVICE_TYPE.API),
|
|
26
|
-
catalog,
|
|
27
|
-
detailStaticLoad: entityConfig.detail.staticLoad,
|
|
28
|
-
entityMapper: entityConfig.entityMapper,
|
|
29
|
-
path: entityConfig.apiPath,
|
|
30
|
-
};
|
|
31
|
-
}
|
|
32
|
-
// Server-side fetch, client-side filtering.
|
|
33
|
-
if (entityConfig.exploreMode === EXPLORE_MODE.SS_FETCH_CS_FILTERING) {
|
|
34
|
-
return {
|
|
35
|
-
...createEntityService(ENTITY_SERVICE_TYPE.API_CF),
|
|
36
|
-
catalog,
|
|
37
|
-
detailStaticLoad: entityConfig.detail.staticLoad,
|
|
38
|
-
entityMapper: entityConfig.entityMapper,
|
|
39
|
-
path: entityConfig.apiPath,
|
|
40
|
-
};
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
// Client-side API and filtering.
|
|
44
|
-
if (entityConfig.exploreMode === EXPLORE_MODE.CS_FETCH_CS_FILTERING) {
|
|
45
|
-
return {
|
|
46
|
-
...createEntityService(ENTITY_SERVICE_TYPE.TSV),
|
|
47
|
-
catalog: undefined,
|
|
48
|
-
detailStaticLoad: true,
|
|
49
|
-
entityMapper: entityConfig.entityMapper,
|
|
50
|
-
path: entityConfig.route, //the entity list type
|
|
51
|
-
};
|
|
52
|
-
}
|
|
53
|
-
throw Error(
|
|
54
|
-
`There's no data path for the entity ${entityConfig.label}. Define a tsvPath or an apiPath`,
|
|
55
|
-
);
|
|
56
|
-
};
|
|
57
|
-
|
|
58
|
-
/**
|
|
59
|
-
* Hook to determine how the data should be loaded.
|
|
60
|
-
* From API or from a TSV file.
|
|
61
|
-
* @param entityListType - Entity list type (optional).
|
|
62
|
-
* @returns @see FetcherResponse
|
|
63
|
-
*/
|
|
64
|
-
export const useEntityService = <T, I>(
|
|
65
|
-
entityListType?: string,
|
|
66
|
-
): FetcherResponse<T, I> => {
|
|
67
|
-
const { config } = useConfig();
|
|
68
|
-
const catalog = useCatalog();
|
|
69
|
-
const { exploreState } = useExploreState();
|
|
70
|
-
const entityConfig = getEntityConfig(
|
|
71
|
-
config.entities,
|
|
72
|
-
entityListType || exploreState.tabValue, // if entity list type is undefined, use the current state's tab value.
|
|
73
|
-
);
|
|
74
|
-
return getEntityService(entityConfig, catalog);
|
|
75
|
-
};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { useMemo } from "react";
|
|
2
|
-
import { useConfig } from "../useConfig";
|
|
3
|
-
import { ExploreMode } from "./types";
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* Returns configured explore mode:
|
|
7
|
-
* - Client-side fetch, client-side filtering.
|
|
8
|
-
* - Server-side fetch, client-side filtering.
|
|
9
|
-
* - Server-side fetch, server-side filtering.
|
|
10
|
-
* @returns explore mode.
|
|
11
|
-
*/
|
|
12
|
-
export const useExploreMode = (): ExploreMode => {
|
|
13
|
-
const { entityConfig } = useConfig();
|
|
14
|
-
const { exploreMode } = entityConfig;
|
|
15
|
-
return useMemo(() => exploreMode, [exploreMode]);
|
|
16
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { useContext } from "react";
|
|
2
|
-
import {
|
|
3
|
-
ExploreStateContext,
|
|
4
|
-
ExploreStateContextProps,
|
|
5
|
-
} from "../providers/exploreState";
|
|
6
|
-
|
|
7
|
-
/**
|
|
8
|
-
* Returns explore state context.
|
|
9
|
-
* @returns explore state context.
|
|
10
|
-
*/
|
|
11
|
-
export const useExploreState = (): ExploreStateContextProps => {
|
|
12
|
-
return useContext(ExploreStateContext);
|
|
13
|
-
};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { ExportConfig } from "../config/entities";
|
|
2
|
-
import { useConfig } from "./useConfig";
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* Returns the export configuration for the given site.
|
|
6
|
-
* @returns export configuration.
|
|
7
|
-
*/
|
|
8
|
-
export const useExportConfig = (): ExportConfig => {
|
|
9
|
-
const { config } = useConfig();
|
|
10
|
-
|
|
11
|
-
if (!config.export) {
|
|
12
|
-
throw new Error(`This config does not have an export field set`);
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
return config.export;
|
|
16
|
-
};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { buildExportToTerraUrl } from "../components/Export/common/utils";
|
|
2
|
-
import { useConfig } from "./useConfig";
|
|
3
|
-
import { FileLocation } from "./useRequestFileLocation";
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* Returns the export to Terra response URL for the given request file location.
|
|
7
|
-
* @param requestParams - Export to terra request params.
|
|
8
|
-
* @param fileLocation - Request file location.
|
|
9
|
-
* @returns export to Terra request and response URLs.
|
|
10
|
-
*/
|
|
11
|
-
export const useExportToTerraResponseURL = (
|
|
12
|
-
requestParams?: URLSearchParams,
|
|
13
|
-
fileLocation?: FileLocation,
|
|
14
|
-
): string | undefined => {
|
|
15
|
-
const { config } = useConfig();
|
|
16
|
-
const { exportToTerraUrl } = config;
|
|
17
|
-
const { location } = fileLocation || {};
|
|
18
|
-
|
|
19
|
-
if (!exportToTerraUrl || !location || !requestParams) {
|
|
20
|
-
return;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
// Build export to terra response URL
|
|
24
|
-
return buildExportToTerraUrl(exportToTerraUrl, requestParams, location);
|
|
25
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { setLocalStorage } from "../../useLocalStorage/common/utils";
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Set feature flags from URL.
|
|
5
|
-
* @param features - List of feature flags.
|
|
6
|
-
*/
|
|
7
|
-
export function setFeatureFlags(features: string[]): void {
|
|
8
|
-
const setOfFeatureFlags = new Set(features);
|
|
9
|
-
if (typeof window === "undefined") return;
|
|
10
|
-
// Grab the search params from the URL.
|
|
11
|
-
const params = new URLSearchParams(window.location.search);
|
|
12
|
-
for (const [key, value] of params) {
|
|
13
|
-
if (setOfFeatureFlags.has(key)) {
|
|
14
|
-
setLocalStorage(key, value);
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { useEffect, useState } from "react";
|
|
2
|
-
import { getLocalStorage } from "../useLocalStorage/common/utils";
|
|
3
|
-
import { FLAG } from "./common/entities";
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* Determine if feature is available to user.
|
|
7
|
-
* @param featureFlag - Name of feature.
|
|
8
|
-
* @returns true if feature is available to user.
|
|
9
|
-
*/
|
|
10
|
-
export function useFeatureFlag(featureFlag: string): boolean {
|
|
11
|
-
const [isEnabled, setIsEnabled] = useState<boolean>(false);
|
|
12
|
-
|
|
13
|
-
// Sets state of enabled flag.
|
|
14
|
-
useEffect(() => {
|
|
15
|
-
setIsEnabled(getLocalStorage(featureFlag) === FLAG.TRUE);
|
|
16
|
-
}, [featureFlag]);
|
|
17
|
-
|
|
18
|
-
return isEnabled;
|
|
19
|
-
}
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
import { useRouter } from "next/router";
|
|
2
|
-
import { useEffect, useMemo } from "react";
|
|
3
|
-
import { PARAMS_INDEX_UUID } from "../common/constants";
|
|
4
|
-
import { EntityDetailViewProps } from "../views/EntityDetailView/entityDetailView";
|
|
5
|
-
import { useToken } from "./authentication/token/useToken";
|
|
6
|
-
import { useAsync } from "./useAsync";
|
|
7
|
-
import { useEntityService } from "./useEntityService";
|
|
8
|
-
import { EXPLORE_MODE } from "./useExploreMode/types";
|
|
9
|
-
import { useExploreMode } from "./useExploreMode/useExploreMode";
|
|
10
|
-
import { useExploreState } from "./useExploreState";
|
|
11
|
-
|
|
12
|
-
interface UseEntityDetailResponse<T> {
|
|
13
|
-
isLoading: boolean;
|
|
14
|
-
response?: T;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* Hook handling the load and transformation of the values used by detail pages. If the current entity loaded statically,
|
|
19
|
-
* this hook will return the already loaded data. Otherwise, it will make a request for the entity's pathUrl
|
|
20
|
-
* @param detailViewProps - Statically loaded data, if any.
|
|
21
|
-
* @returns Object with the loaded data and a flag indicating is the data is loading.
|
|
22
|
-
*/
|
|
23
|
-
export const useFetchEntity = <T,>(
|
|
24
|
-
detailViewProps?: EntityDetailViewProps,
|
|
25
|
-
): UseEntityDetailResponse<T> => {
|
|
26
|
-
const { data: staticData, entityListType } = detailViewProps || {};
|
|
27
|
-
const { token } = useToken();
|
|
28
|
-
const exploreMode = useExploreMode();
|
|
29
|
-
const { exploreState } = useExploreState();
|
|
30
|
-
const { catalogState } = exploreState;
|
|
31
|
-
const { catalog, fetchEntityDetail, path } = useEntityService(entityListType);
|
|
32
|
-
const { query } = useRouter();
|
|
33
|
-
const { params } = query;
|
|
34
|
-
const uuid = params?.[PARAMS_INDEX_UUID] as string;
|
|
35
|
-
const { data: response, isIdle, isLoading, run } = useAsync<T>();
|
|
36
|
-
const entityResponse = response || staticData;
|
|
37
|
-
const shouldFetchEntity = useMemo(
|
|
38
|
-
() =>
|
|
39
|
-
isFetchRequired(
|
|
40
|
-
exploreMode !== EXPLORE_MODE.CS_FETCH_CS_FILTERING,
|
|
41
|
-
Boolean(token), // TODO(cc), note a fetch is required if the token is true, but is unable to re-fetch on logout when token is undefined! Page is required to reload!
|
|
42
|
-
Boolean(catalogState),
|
|
43
|
-
Boolean(entityResponse),
|
|
44
|
-
),
|
|
45
|
-
[catalogState, entityResponse, exploreMode, token],
|
|
46
|
-
);
|
|
47
|
-
const isResponseLoading = shouldFetchEntity ? isIdle || isLoading : false;
|
|
48
|
-
|
|
49
|
-
useEffect(() => {
|
|
50
|
-
// Fetch entity if entity data originates from a request, and has not yet been requested.
|
|
51
|
-
if (shouldFetchEntity && uuid) {
|
|
52
|
-
run(fetchEntityDetail(uuid, path, catalog, token, undefined));
|
|
53
|
-
}
|
|
54
|
-
}, [catalog, fetchEntityDetail, path, run, shouldFetchEntity, token, uuid]);
|
|
55
|
-
|
|
56
|
-
return {
|
|
57
|
-
isLoading: isResponseLoading,
|
|
58
|
-
response: entityResponse
|
|
59
|
-
? { ...entityResponse, isLoading: isResponseLoading }
|
|
60
|
-
: undefined,
|
|
61
|
-
};
|
|
62
|
-
};
|
|
63
|
-
|
|
64
|
-
/**
|
|
65
|
-
* Returns true if fetching the entity is necessary.
|
|
66
|
-
* @param isServerSideFetch - Data is fetched on the server side.
|
|
67
|
-
* @param isAuthenticated - User is authenticated.
|
|
68
|
-
* @param isCatalogState - Catalog state is defined.
|
|
69
|
-
* @param hasEntityReponse - Entity response is defined.
|
|
70
|
-
* @returns true if a fetch is necessary.
|
|
71
|
-
*/
|
|
72
|
-
function isFetchRequired(
|
|
73
|
-
isServerSideFetch: boolean,
|
|
74
|
-
isAuthenticated: boolean,
|
|
75
|
-
isCatalogState: boolean,
|
|
76
|
-
hasEntityReponse: boolean,
|
|
77
|
-
): boolean {
|
|
78
|
-
if (isServerSideFetch) {
|
|
79
|
-
return isAuthenticated || isCatalogState || !hasEntityReponse;
|
|
80
|
-
}
|
|
81
|
-
return false;
|
|
82
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { APIEndpoints } from "../apis/azul/common/entities";
|
|
2
|
-
import { useConfig } from "./useConfig";
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* Returns request URL for the given endpoint and request params.
|
|
6
|
-
* @param endpoint - Endpoint.
|
|
7
|
-
* @param requestParams - Request params.
|
|
8
|
-
* @returns request URL.
|
|
9
|
-
*/
|
|
10
|
-
export const useFetchRequestURL = (
|
|
11
|
-
endpoint: APIEndpoints,
|
|
12
|
-
requestParams: URLSearchParams,
|
|
13
|
-
): string => {
|
|
14
|
-
const { config } = useConfig();
|
|
15
|
-
const { dataSource } = config;
|
|
16
|
-
const { url } = dataSource;
|
|
17
|
-
|
|
18
|
-
// Returns request URL.
|
|
19
|
-
return `${url}index${endpoint}?${requestParams.toString()}`;
|
|
20
|
-
};
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
useRequestFileLocation,
|
|
3
|
-
UseRequestFileLocationResult,
|
|
4
|
-
} from "./useRequestFileLocation";
|
|
5
|
-
|
|
6
|
-
const NOT_PREPENDED_WITH_FETCH_REGEX = /^(\/(?!fetch))/;
|
|
7
|
-
|
|
8
|
-
export interface UseFileLocation extends UseRequestFileLocationResult {
|
|
9
|
-
fileUrl?: string;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
export const useFileLocation = (fileUrl?: string): UseFileLocation => {
|
|
13
|
-
const url = buildFetchFileUrl(fileUrl);
|
|
14
|
-
const fileLocation = useRequestFileLocation(url);
|
|
15
|
-
return { ...fileLocation, fileUrl: fileLocation.data?.location };
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* Prepends "/fetch" to the path of the specified file URL, if not already included.
|
|
20
|
-
* @param url - URL.
|
|
21
|
-
* @returns file URL with path prepended with "/fetch".
|
|
22
|
-
*/
|
|
23
|
-
export function buildFetchFileUrl(url?: string): string | undefined {
|
|
24
|
-
if (!url) {
|
|
25
|
-
return;
|
|
26
|
-
}
|
|
27
|
-
try {
|
|
28
|
-
const urlObj = new URL(url);
|
|
29
|
-
urlObj.pathname = urlObj.pathname.replace(
|
|
30
|
-
NOT_PREPENDED_WITH_FETCH_REGEX,
|
|
31
|
-
"/fetch/",
|
|
32
|
-
);
|
|
33
|
-
return urlObj.href;
|
|
34
|
-
} catch {
|
|
35
|
-
throw new Error(`Invalid file URL: ${url}`);
|
|
36
|
-
}
|
|
37
|
-
}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { AzulSummaryResponse } from "../../../apis/azul/common/entities";
|
|
2
|
-
import { CategoryKey, CategoryValueKey } from "../../../common/entities";
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* Model of data returned from entity end points, including:
|
|
6
|
-
* - the current set of selected facets, as well as facet terms and their corresponding counts.
|
|
7
|
-
*/
|
|
8
|
-
export interface EntitySearchResults {
|
|
9
|
-
facets: FileFacet[];
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
export interface FetchFilesFacets {
|
|
13
|
-
filesFacets: FileFacet[];
|
|
14
|
-
isLoading: boolean;
|
|
15
|
-
isSuccess: boolean;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
export interface FetchFileSummary {
|
|
19
|
-
isLoading: boolean;
|
|
20
|
-
summary?: AzulSummaryResponse;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* Model of a facet that contains a list of terms values.
|
|
25
|
-
*/
|
|
26
|
-
export interface FileFacet {
|
|
27
|
-
name: string;
|
|
28
|
-
selected: boolean; // true if any terms are selected
|
|
29
|
-
selectedTermCount: number; // number of selected terms
|
|
30
|
-
selectedTerms: Term[];
|
|
31
|
-
termCount: number; // number of terms available
|
|
32
|
-
terms: Term[];
|
|
33
|
-
termsByName: TermsByName;
|
|
34
|
-
total: number;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
export type SelectedSearchTermsBySearchKey = Map<
|
|
38
|
-
CategoryKey,
|
|
39
|
-
Set<CategoryValueKey>
|
|
40
|
-
>;
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
* Model of an individual facet value. For example, the term "Homo Sapiens" contained in the facet "Species".
|
|
44
|
-
*/
|
|
45
|
-
export interface Term {
|
|
46
|
-
count: number;
|
|
47
|
-
name: string;
|
|
48
|
-
selected: boolean;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
export type TermsByName = Map<string, Term>;
|