ydb-embedded-ui 4.32.0 → 5.0.0
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +20 -4
- package/dist/components/BasicNodeViewer/BasicNodeViewer.d.ts +10 -0
- package/dist/components/BasicNodeViewer/BasicNodeViewer.js +13 -0
- package/dist/components/BasicNodeViewer/index.js +1 -0
- package/dist/components/CellWithPopover/CellWithPopover.d.ts +8 -0
- package/dist/components/CellWithPopover/CellWithPopover.js +20 -0
- package/dist/components/CellWithPopover/CellWithPopover.scss +7 -0
- package/dist/components/CircularProgressBar/CircularProgressBar.d.ts +13 -0
- package/dist/components/CircularProgressBar/CircularProgressBar.js +13 -0
- package/dist/components/ClipboardButton/ClipboardButton.d.ts +8 -0
- package/dist/components/ClipboardButton/ClipboardButton.js +32 -0
- package/dist/components/ClipboardButton/index.js +1 -0
- package/dist/components/ComponentsProvider/ComponentsProvider.d.ts +17 -0
- package/dist/components/ComponentsProvider/ComponentsProvider.js +13 -0
- package/dist/components/ComponentsProvider/componentsRegistry.d.ts +11 -0
- package/dist/components/ComponentsProvider/componentsRegistry.js +7 -0
- package/dist/components/ComponentsProvider/registry.d.ts +18 -0
- package/dist/components/ComponentsProvider/registry.js +16 -0
- package/dist/components/ContentWithPopup/ContentWithPopup.d.ts +9 -0
- package/dist/components/ContentWithPopup/ContentWithPopup.js +26 -0
- package/dist/components/CriticalActionDialog/CriticalActionDialog.d.ts +10 -0
- package/dist/components/CriticalActionDialog/CriticalActionDialog.js +20 -0
- package/dist/components/CriticalActionDialog/index.js +1 -0
- package/dist/components/DateRange/DateRange.d.ts +13 -0
- package/dist/components/DateRange/DateRange.js +33 -0
- package/dist/components/DateRange/index.js +1 -0
- package/dist/components/DiagnosticCard/DiagnosticCard.d.ts +9 -0
- package/dist/components/DiagnosticCard/DiagnosticCard.js +7 -0
- package/dist/components/Divider/Divider.d.ts +4 -0
- package/dist/components/Divider/Divider.js +8 -0
- package/dist/components/EmptyState/EmptyState.d.ts +17 -0
- package/dist/components/EmptyState/EmptyState.js +13 -0
- package/dist/components/EmptyState/index.js +1 -0
- package/dist/components/EnableFullscreenButton/EnableFullscreenButton.d.ts +6 -0
- package/dist/components/EnableFullscreenButton/EnableFullscreenButton.js +13 -0
- package/dist/components/EntitiesCount/EntitiesCount.d.ts +9 -0
- package/dist/components/EntitiesCount/EntitiesCount.js +19 -0
- package/dist/components/EntitiesCount/i18n/en.json +1 -1
- package/dist/components/EntitiesCount/i18n/index.d.ts +2 -0
- package/dist/components/EntitiesCount/i18n/index.js +7 -0
- package/dist/components/EntitiesCount/i18n/ru.json +1 -1
- package/dist/components/EntitiesCount/index.js +1 -0
- package/dist/components/EntityStatus/EntityStatus.d.ts +38 -0
- package/dist/components/EntityStatus/EntityStatus.js +45 -103
- package/dist/components/ErrorBoundary/ErrorBoundary.d.ts +9 -0
- package/dist/components/ErrorBoundary/ErrorBoundary.js +16 -0
- package/dist/components/ErrorBoundary/i18n/en.json +5 -5
- package/dist/components/ErrorBoundary/i18n/index.d.ts +2 -0
- package/dist/components/ErrorBoundary/i18n/index.js +7 -0
- package/dist/components/ErrorBoundary/i18n/ru.json +5 -5
- package/dist/components/Errors/403/AccessDenied.d.ts +7 -0
- package/dist/components/Errors/403/AccessDenied.js +19 -0
- package/dist/components/Errors/403/index.js +1 -0
- package/dist/components/Errors/ResponseError/ResponseError.d.ts +8 -0
- package/dist/components/Errors/ResponseError/ResponseError.js +5 -0
- package/dist/components/Errors/ResponseError/index.js +1 -0
- package/dist/components/Errors/i18n/en.json +3 -3
- package/dist/components/Errors/i18n/index.d.ts +2 -0
- package/dist/components/Errors/i18n/index.js +7 -0
- package/dist/components/Errors/i18n/ru.json +3 -3
- package/dist/components/ExternalLinkWithIcon/ExternalLinkWithIcon.d.ts +7 -0
- package/dist/components/ExternalLinkWithIcon/ExternalLinkWithIcon.js +9 -0
- package/dist/components/FormattedBytes/FormattedBytes.d.ts +4 -0
- package/dist/components/FormattedBytes/FormattedBytes.js +19 -0
- package/dist/components/FormattedBytes/utils.d.ts +2 -0
- package/dist/components/FormattedBytes/utils.js +8 -0
- package/dist/components/FullNodeViewer/FullNodeViewer.d.ts +8 -0
- package/dist/components/FullNodeViewer/FullNodeViewer.js +27 -0
- package/dist/components/Fullscreen/Fullscreen.d.ts +8 -0
- package/dist/components/Fullscreen/Fullscreen.js +50 -0
- package/dist/components/Icon/Icon.d.ts +14 -0
- package/dist/components/Icon/Icon.js +16 -0
- package/dist/components/Icon/index.js +1 -0
- package/dist/components/Illustration/Illustration.d.ts +6 -0
- package/dist/components/Illustration/Illustration.js +45 -0
- package/dist/components/Illustration/index.js +1 -0
- package/dist/components/InfoViewer/InfoViewer.d.ts +17 -0
- package/dist/components/InfoViewer/InfoViewer.js +11 -0
- package/dist/components/InfoViewer/formatters/cdcStream.d.ts +5 -0
- package/dist/components/InfoViewer/formatters/cdcStream.js +7 -0
- package/dist/components/InfoViewer/formatters/common.d.ts +5 -0
- package/dist/components/InfoViewer/formatters/common.js +13 -0
- package/dist/components/InfoViewer/formatters/index.js +5 -0
- package/dist/components/InfoViewer/formatters/pqGroup.d.ts +13 -0
- package/dist/components/InfoViewer/formatters/pqGroup.js +40 -0
- package/dist/components/InfoViewer/formatters/schema.d.ts +5 -0
- package/dist/components/InfoViewer/formatters/schema.js +15 -0
- package/dist/components/InfoViewer/formatters/table.d.ts +18 -0
- package/dist/components/InfoViewer/formatters/table.js +40 -0
- package/dist/components/InfoViewer/i18n/en.json +2 -2
- package/dist/components/InfoViewer/i18n/index.d.ts +2 -0
- package/dist/components/InfoViewer/i18n/index.js +7 -0
- package/dist/components/InfoViewer/i18n/ru.json +2 -2
- package/dist/components/InfoViewer/index.d.ts +4 -0
- package/dist/components/InfoViewer/index.js +3 -0
- package/dist/components/InfoViewer/schemaInfo/TableIndexInfo.d.ts +6 -0
- package/dist/components/InfoViewer/schemaInfo/TableIndexInfo.js +27 -0
- package/dist/components/InfoViewer/schemaInfo/index.js +1 -0
- package/dist/components/InfoViewer/schemaOverview/CDCStreamOverview.d.ts +6 -0
- package/dist/components/InfoViewer/schemaOverview/CDCStreamOverview.js +21 -0
- package/dist/components/InfoViewer/schemaOverview/PersQueueGroupOverview.d.ts +6 -0
- package/dist/components/InfoViewer/schemaOverview/PersQueueGroupOverview.js +16 -0
- package/dist/components/InfoViewer/schemaOverview/index.js +2 -0
- package/dist/components/InfoViewer/utils.d.ts +19 -0
- package/dist/components/InfoViewer/utils.js +23 -0
- package/dist/components/InternalLink/InternalLink.d.ts +6 -0
- package/dist/components/InternalLink/InternalLink.js +19 -0
- package/dist/components/InternalLink/index.js +1 -0
- package/dist/components/LabelWithPopover/LabelWithPopover.d.ts +9 -0
- package/dist/components/LabelWithPopover/LabelWithPopover.js +3 -0
- package/dist/components/LabelWithPopover/index.js +1 -0
- package/dist/components/LagImages/LagImages.d.ts +2 -0
- package/dist/components/LagImages/LagImages.js +14 -0
- package/dist/components/LagImages/index.js +1 -0
- package/dist/components/LagPopoverContent/LagPopoverContent.d.ts +7 -0
- package/dist/components/LagPopoverContent/LagPopoverContent.js +6 -0
- package/dist/components/LagPopoverContent/index.js +1 -0
- package/dist/components/LinkToSchemaObject/LinkToSchemaObject.d.ts +9 -0
- package/dist/components/LinkToSchemaObject/LinkToSchemaObject.js +20 -0
- package/dist/components/Loader/Loader.d.ts +8 -0
- package/dist/components/Loader/Loader.js +8 -0
- package/dist/components/Loader/index.js +1 -0
- package/dist/components/MetricChart/MetricChart.d.ts +21 -0
- package/dist/components/MetricChart/MetricChart.js +142 -0
- package/dist/components/MetricChart/convertReponse.d.ts +3 -0
- package/dist/components/MetricChart/convertReponse.js +19 -0
- package/dist/components/MetricChart/getChartData.d.ts +9 -0
- package/dist/components/MetricChart/getChartData.js +7 -0
- package/dist/components/MetricChart/getDefaultDataFormatter.d.ts +4 -0
- package/dist/components/MetricChart/getDefaultDataFormatter.js +38 -0
- package/dist/components/MetricChart/index.d.ts +2 -0
- package/dist/components/MetricChart/index.js +2 -0
- package/dist/components/MetricChart/reducer.d.ts +26 -0
- package/dist/components/MetricChart/reducer.js +58 -0
- package/dist/components/MetricChart/types.d.ts +20 -0
- package/dist/components/MetricChart/types.js +1 -0
- package/dist/components/MonitoringButton/MonitoringButton.d.ts +9 -0
- package/dist/components/MonitoringButton/MonitoringButton.js +9 -0
- package/dist/components/MonitoringButton/MonitoringButton.scss +11 -0
- package/dist/components/NodeHostWrapper/NodeHostWrapper.d.ts +9 -0
- package/dist/components/NodeHostWrapper/NodeHostWrapper.js +24 -0
- package/dist/components/PoolBar/PoolBar.d.ts +7 -0
- package/dist/components/PoolBar/PoolBar.js +23 -0
- package/dist/components/PoolUsage/PoolUsage.d.ts +7 -0
- package/dist/components/PoolUsage/PoolUsage.js +21 -0
- package/dist/components/PoolsGraph/PoolsGraph.d.ts +7 -0
- package/dist/components/PoolsGraph/PoolsGraph.js +8 -0
- package/dist/components/ProblemFilter/ProblemFilter.d.ts +8 -0
- package/dist/components/ProblemFilter/ProblemFilter.js +6 -0
- package/dist/components/ProblemFilter/index.js +1 -0
- package/dist/components/ProgressViewer/ProgressViewer.d.ts +27 -0
- package/dist/components/ProgressViewer/ProgressViewer.js +57 -0
- package/dist/components/QueryExecutionStatus/QueryExecutionStatus.d.ts +8 -0
- package/dist/components/QueryExecutionStatus/QueryExecutionStatus.js +21 -0
- package/dist/components/QueryExecutionStatus/index.js +1 -0
- package/dist/components/QueryResultTable/Cell/Cell.d.ts +7 -0
- package/dist/components/QueryResultTable/Cell/Cell.js +13 -0
- package/dist/components/QueryResultTable/Cell/index.js +1 -0
- package/dist/components/QueryResultTable/QueryResultTable.d.ts +19 -0
- package/dist/components/QueryResultTable/QueryResultTable.js +78 -0
- package/dist/components/QueryResultTable/i18n/en.json +1 -1
- package/dist/components/QueryResultTable/i18n/index.d.ts +2 -0
- package/dist/components/QueryResultTable/i18n/index.js +7 -0
- package/dist/components/QueryResultTable/i18n/ru.json +1 -1
- package/dist/components/QueryResultTable/index.js +1 -0
- package/dist/components/Search/Search.d.ts +10 -0
- package/dist/components/Search/Search.js +26 -0
- package/dist/components/Search/index.js +1 -0
- package/dist/components/ShortyString/ShortyString.d.ts +15 -0
- package/dist/components/ShortyString/ShortyString.js +22 -0
- package/dist/components/ShortyString/i18n/en.json +8 -8
- package/dist/components/ShortyString/i18n/index.d.ts +2 -0
- package/dist/components/ShortyString/i18n/index.js +7 -0
- package/dist/components/ShortyString/i18n/ru.json +8 -8
- package/dist/components/SpeedMultiMeter/SpeedMultiMeter.d.ts +10 -0
- package/dist/components/SpeedMultiMeter/SpeedMultiMeter.js +46 -0
- package/dist/components/SpeedMultiMeter/i18n/en.json +4 -4
- package/dist/components/SpeedMultiMeter/i18n/index.d.ts +2 -0
- package/dist/components/SpeedMultiMeter/i18n/index.js +7 -0
- package/dist/components/SpeedMultiMeter/i18n/ru.json +4 -4
- package/dist/components/SpeedMultiMeter/index.js +1 -0
- package/dist/components/SplitPane/SplitPane.d.ts +18 -0
- package/dist/components/SplitPane/SplitPane.js +56 -0
- package/dist/components/SplitPane/index.d.ts +2 -0
- package/dist/components/SplitPane/index.js +0 -1
- package/dist/components/Stack/Stack.d.ts +7 -0
- package/dist/components/Stack/Stack.js +14 -0
- package/dist/components/TableSkeleton/TableSkeleton.d.ts +8 -0
- package/dist/components/TableSkeleton/TableSkeleton.js +6 -0
- package/dist/components/TableWithControlsLayout/TableWithControlsLayout.d.ts +15 -0
- package/dist/components/TableWithControlsLayout/TableWithControlsLayout.js +17 -0
- package/dist/components/Tablet/Tablet.d.ts +8 -0
- package/dist/components/Tablet/Tablet.js +17 -0
- package/dist/components/TabletIcon/TabletIcon.d.ts +7 -0
- package/dist/components/TabletIcon/TabletIcon.js +7 -0
- package/dist/components/TabletsOverall/TabletsOverall.d.ts +9 -0
- package/dist/components/TabletsOverall/TabletsOverall.js +68 -0
- package/dist/components/TabletsStatistic/TabletsStatistic.d.ts +12 -0
- package/dist/components/TabletsStatistic/TabletsStatistic.js +36 -0
- package/dist/components/TabletsStatistic/index.js +1 -0
- package/dist/components/Tag/Tag.d.ts +8 -0
- package/dist/components/Tag/Tag.js +7 -0
- package/dist/components/Tag/index.js +1 -0
- package/dist/components/Tags/Tags.d.ts +9 -0
- package/dist/components/Tags/Tags.js +9 -0
- package/dist/components/Tags/index.js +1 -0
- package/dist/components/TimeFrameSelector/TimeFrameSelector.d.ts +9 -0
- package/dist/components/TimeFrameSelector/TimeFrameSelector.js +11 -0
- package/dist/components/TooltipsContent/NodeEndpointsTooltipContent/NodeEndpointsTooltipContent.d.ts +7 -0
- package/dist/components/TooltipsContent/NodeEndpointsTooltipContent/NodeEndpointsTooltipContent.js +19 -0
- package/dist/components/TooltipsContent/PoolTooltipContent/PoolTooltipContent.d.ts +7 -0
- package/dist/components/TooltipsContent/PoolTooltipContent/PoolTooltipContent.js +15 -0
- package/dist/components/TooltipsContent/TabletTooltipContent/TabletTooltipContent.d.ts +7 -0
- package/dist/components/TooltipsContent/TabletTooltipContent/TabletTooltipContent.js +24 -0
- package/dist/components/TooltipsContent/index.js +3 -0
- package/dist/components/TruncatedQuery/TruncatedQuery.d.ts +11 -0
- package/dist/components/TruncatedQuery/TruncatedQuery.js +18 -0
- package/dist/components/UptimeFIlter/UptimeFilter.d.ts +8 -0
- package/dist/components/UptimeFIlter/UptimeFilter.js +6 -0
- package/dist/components/UptimeFIlter/index.js +1 -0
- package/dist/components/UsageLabel/UsageLabel.d.ts +9 -0
- package/dist/components/UsageLabel/UsageLabel.js +20 -0
- package/dist/components/User/StaffCard.d.ts +8 -0
- package/dist/components/User/StaffCard.js +5 -0
- package/dist/components/User/User.d.ts +8 -0
- package/dist/components/User/User.js +9 -0
- package/dist/components/User/User.scss +16 -0
- package/dist/components/VirtualTable/TableChunk.d.ts +12 -0
- package/dist/components/VirtualTable/TableChunk.js +43 -0
- package/dist/components/VirtualTable/TableHead.d.ts +21 -0
- package/dist/components/VirtualTable/TableHead.js +109 -0
- package/dist/components/VirtualTable/TableRow.d.ts +22 -0
- package/dist/components/VirtualTable/TableRow.js +22 -0
- package/dist/components/VirtualTable/VirtualTable.d.ts +19 -0
- package/dist/components/VirtualTable/VirtualTable.js +157 -0
- package/dist/components/VirtualTable/VirtualTable.scss +62 -60
- package/dist/components/VirtualTable/constants.d.ts +10 -0
- package/dist/components/VirtualTable/constants.js +11 -0
- package/dist/components/VirtualTable/i18n/en.json +1 -1
- package/dist/components/VirtualTable/i18n/index.d.ts +2 -0
- package/dist/components/VirtualTable/i18n/index.js +7 -0
- package/dist/components/VirtualTable/i18n/ru.json +1 -1
- package/dist/components/VirtualTable/index.js +3 -0
- package/dist/components/VirtualTable/reducer.d.ts +44 -0
- package/dist/components/VirtualTable/reducer.js +91 -0
- package/dist/components/VirtualTable/shared.d.ts +10 -0
- package/dist/components/VirtualTable/shared.js +2 -0
- package/dist/components/VirtualTable/types.d.ts +50 -0
- package/dist/components/VirtualTable/types.js +1 -0
- package/dist/components/VirtualTable/useIntersectionObserver.d.ts +9 -0
- package/dist/components/VirtualTable/useIntersectionObserver.js +27 -0
- package/dist/components/slots/SlotMap.d.ts +8 -0
- package/dist/components/slots/SlotMap.js +36 -0
- package/dist/components/slots/createSlot.d.ts +2 -0
- package/dist/components/slots/createSlot.js +6 -0
- package/dist/components/slots/index.d.ts +2 -0
- package/dist/components/slots/index.js +2 -0
- package/dist/components/slots/types.d.ts +15 -0
- package/dist/components/slots/types.js +1 -0
- package/dist/components/slots/useSlots.d.ts +6 -0
- package/dist/components/slots/useSlots.js +9 -0
- package/dist/components/slots/utils.d.ts +4 -0
- package/dist/components/slots/utils.js +7 -0
- package/dist/containers/App/App.d.ts +15 -0
- package/dist/containers/App/App.js +13 -60
- package/dist/containers/App/Content.d.ts +15 -0
- package/dist/containers/App/Content.js +98 -98
- package/dist/containers/App/Providers.d.ts +12 -0
- package/dist/containers/App/Providers.js +17 -0
- package/dist/containers/App/appSlots.d.ts +39 -0
- package/dist/containers/App/appSlots.js +9 -0
- package/dist/containers/App/i18n/en.json +3 -0
- package/dist/containers/App/i18n/index.d.ts +2 -0
- package/dist/containers/App/i18n/index.js +7 -0
- package/dist/containers/App/i18n/ru.json +3 -0
- package/dist/containers/App/index.d.ts +2 -0
- package/dist/containers/App/index.js +2 -0
- package/dist/containers/AppIcons/AppIcons.d.ts +2 -0
- package/dist/containers/AppIcons/AppIcons.js +5 -501
- package/dist/containers/AppWithClusters/AppWithClusters.d.ts +14 -0
- package/dist/containers/AppWithClusters/AppWithClusters.js +24 -0
- package/dist/containers/AppWithClusters/ExtendedCluster/ExtendedCluster.d.ts +11 -0
- package/dist/containers/AppWithClusters/ExtendedCluster/ExtendedCluster.js +67 -0
- package/dist/containers/AppWithClusters/ExtendedCluster/ExtendedCluster.scss +14 -0
- package/dist/containers/AppWithClusters/ExtendedNode/ExtendedNode.d.ts +5 -0
- package/dist/containers/AppWithClusters/ExtendedNode/ExtendedNode.js +6 -0
- package/dist/containers/AppWithClusters/ExtendedTenant/ExtendedTenant.d.ts +8 -0
- package/dist/containers/AppWithClusters/ExtendedTenant/ExtendedTenant.js +21 -0
- package/dist/containers/AppWithClusters/i18n/en.json +4 -0
- package/dist/containers/AppWithClusters/i18n/index.d.ts +2 -0
- package/dist/containers/AppWithClusters/i18n/index.js +7 -0
- package/dist/containers/AppWithClusters/i18n/ru.json +4 -0
- package/dist/containers/AppWithClusters/useClusterData.d.ts +8 -0
- package/dist/containers/AppWithClusters/useClusterData.js +24 -0
- package/dist/containers/AsideNavigation/AsideNavigation.d.ts +10 -0
- package/dist/containers/AsideNavigation/AsideNavigation.js +71 -0
- package/dist/containers/AsideNavigation/Navigation.d.ts +8 -0
- package/dist/containers/AsideNavigation/Navigation.js +10 -0
- package/dist/containers/AsideNavigation/YdbInternalUser/YdbInternalUser.d.ts +3 -0
- package/dist/containers/AsideNavigation/YdbInternalUser/YdbInternalUser.js +25 -0
- package/dist/containers/AsideNavigation/YdbInternalUser/YdbInternalUser.scss +24 -0
- package/dist/containers/AsideNavigation/i18n/en.json +8 -11
- package/dist/containers/AsideNavigation/i18n/index.d.ts +2 -0
- package/dist/containers/AsideNavigation/i18n/index.js +7 -0
- package/dist/containers/AsideNavigation/i18n/ru.json +8 -11
- package/dist/containers/AsideNavigation/useNavigationMenuItems.d.ts +2 -0
- package/dist/containers/AsideNavigation/useNavigationMenuItems.js +55 -0
- package/dist/containers/Authentication/Authentication.d.ts +7 -0
- package/dist/containers/Authentication/Authentication.js +72 -0
- package/dist/containers/Cluster/Cluster.d.ts +11 -0
- package/dist/containers/Cluster/Cluster.js +77 -0
- package/dist/containers/Cluster/ClusterInfo/ClusterInfo.d.ts +16 -0
- package/dist/containers/Cluster/ClusterInfo/ClusterInfo.js +139 -0
- package/dist/containers/Cluster/ClusterInfo/utils.d.ts +2 -0
- package/dist/containers/Cluster/ClusterInfo/utils.js +10 -0
- package/dist/containers/Cluster/ClusterInfoSkeleton/ClusterInfoSkeleton.d.ts +7 -0
- package/dist/containers/Cluster/ClusterInfoSkeleton/ClusterInfoSkeleton.js +7 -0
- package/dist/containers/Cluster/VersionsBar/VersionsBar.d.ts +7 -0
- package/dist/containers/Cluster/VersionsBar/VersionsBar.js +8 -0
- package/dist/containers/Cluster/i18n/en.json +14 -14
- package/dist/containers/Cluster/i18n/index.d.ts +2 -0
- package/dist/containers/Cluster/i18n/index.js +7 -0
- package/dist/containers/Cluster/i18n/ru.json +14 -14
- package/dist/containers/Cluster/utils.d.ts +22 -0
- package/dist/containers/Cluster/utils.js +27 -0
- package/dist/containers/Clusters/Clusters.d.ts +3 -0
- package/dist/containers/Clusters/Clusters.js +69 -0
- package/dist/containers/Clusters/Clusters.scss +176 -0
- package/dist/containers/Clusters/ClustersStatistics.d.ts +7 -0
- package/dist/containers/Clusters/ClustersStatistics.js +9 -0
- package/dist/containers/Clusters/columns.d.ts +3 -0
- package/dist/containers/Clusters/columns.js +192 -0
- package/dist/containers/Clusters/constants.d.ts +34 -0
- package/dist/containers/Clusters/constants.js +62 -0
- package/dist/containers/Clusters/i18n/en.json +14 -0
- package/dist/containers/Clusters/i18n/index.d.ts +2 -0
- package/dist/containers/Clusters/i18n/index.js +7 -0
- package/dist/containers/Clusters/i18n/ru.json +14 -0
- package/dist/containers/Clusters/shared.d.ts +10 -0
- package/dist/containers/Clusters/shared.js +2 -0
- package/dist/containers/Clusters/useClustersList.d.ts +1 -0
- package/dist/containers/Clusters/useClustersList.js +9 -0
- package/dist/containers/Clusters/useSelectedColumns.d.ts +7 -0
- package/dist/containers/Clusters/useSelectedColumns.js +23 -0
- package/dist/containers/Header/Header.d.ts +8 -0
- package/dist/containers/Header/Header.js +65 -0
- package/dist/containers/Header/breadcrumbs.d.ts +8 -0
- package/dist/containers/Header/breadcrumbs.js +96 -0
- package/dist/containers/Heatmap/Heatmap.d.ts +6 -0
- package/dist/containers/Heatmap/Heatmap.js +91 -0
- package/dist/containers/Heatmap/HeatmapCanvas/HeatmapCanvas.d.ts +11 -0
- package/dist/containers/Heatmap/HeatmapCanvas/HeatmapCanvas.js +13 -47
- package/dist/containers/Heatmap/Histogram/Histogram.d.ts +10 -0
- package/dist/containers/Heatmap/Histogram/Histogram.js +19 -63
- package/dist/containers/Heatmap/index.js +1 -0
- package/dist/containers/Heatmap/util.d.ts +40 -0
- package/dist/containers/Heatmap/util.js +6 -23
- package/dist/containers/Node/Node.d.ts +10 -0
- package/dist/containers/Node/Node.js +101 -0
- package/dist/containers/Node/NodePages.d.ts +10 -0
- package/dist/containers/Node/NodePages.js +26 -0
- package/dist/containers/Node/NodeStructure/NodeStructure.d.ts +9 -0
- package/dist/containers/Node/NodeStructure/NodeStructure.js +86 -0
- package/dist/containers/Node/NodeStructure/PDiskTitleBadge.d.ts +8 -0
- package/dist/containers/Node/NodeStructure/PDiskTitleBadge.js +6 -0
- package/dist/containers/Node/NodeStructure/Pdisk.d.ts +11 -0
- package/dist/containers/Node/NodeStructure/Pdisk.js +169 -0
- package/dist/containers/Node/NodeStructure/Vdisk.d.ts +3 -0
- package/dist/containers/Node/NodeStructure/Vdisk.js +84 -0
- package/dist/containers/Node/i18n/en.json +2 -2
- package/dist/containers/Node/i18n/index.d.ts +2 -0
- package/dist/containers/Node/i18n/index.js +7 -0
- package/dist/containers/Node/i18n/ru.json +2 -2
- package/dist/containers/Nodes/Nodes.d.ts +8 -0
- package/dist/containers/Nodes/Nodes.js +87 -0
- package/dist/containers/Nodes/NodesWrapper.d.ts +8 -0
- package/dist/containers/Nodes/NodesWrapper.js +24 -0
- package/dist/containers/Nodes/VirtualNodes.d.ts +9 -0
- package/dist/containers/Nodes/VirtualNodes.js +66 -0
- package/dist/containers/Nodes/getNodes.d.ts +6 -0
- package/dist/containers/Nodes/getNodes.js +25 -0
- package/dist/containers/Nodes/getNodesColumns.d.ts +14 -0
- package/dist/containers/Nodes/getNodesColumns.js +203 -0
- package/dist/containers/Nodes/i18n/en.json +1 -1
- package/dist/containers/Nodes/i18n/index.d.ts +2 -0
- package/dist/containers/Nodes/i18n/index.js +7 -0
- package/dist/containers/Nodes/i18n/ru.json +1 -1
- package/dist/containers/Nodes/index.js +1 -0
- package/dist/containers/ReduxTooltip/ReduxTooltip.d.ts +22 -0
- package/dist/containers/ReduxTooltip/ReduxTooltip.js +19 -67
- package/dist/containers/Storage/DiskStateProgressBar/DiskStateProgressBar.d.ts +17 -0
- package/dist/containers/Storage/DiskStateProgressBar/DiskStateProgressBar.js +35 -0
- package/dist/containers/Storage/DiskStateProgressBar/index.js +1 -0
- package/dist/containers/Storage/EmptyFilter/EmptyFilter.d.ts +8 -0
- package/dist/containers/Storage/EmptyFilter/EmptyFilter.js +8 -0
- package/dist/containers/Storage/EmptyFilter/i18n/en.json +2 -2
- package/dist/containers/Storage/EmptyFilter/i18n/index.d.ts +2 -0
- package/dist/containers/Storage/EmptyFilter/i18n/index.js +7 -0
- package/dist/containers/Storage/EmptyFilter/i18n/ru.json +2 -2
- package/dist/containers/Storage/PDisk/PDisk.d.ts +10 -0
- package/dist/containers/Storage/PDisk/PDisk.js +88 -0
- package/dist/containers/Storage/PDisk/index.js +1 -0
- package/dist/containers/Storage/PDiskPopup/PDiskPopup.d.ts +12 -0
- package/dist/containers/Storage/PDiskPopup/PDiskPopup.js +59 -0
- package/dist/containers/Storage/PDiskPopup/index.js +1 -0
- package/dist/containers/Storage/Storage.d.ts +9 -0
- package/dist/containers/Storage/Storage.js +102 -0
- package/dist/containers/Storage/StorageControls/StorageControls.d.ts +23 -0
- package/dist/containers/Storage/StorageControls/StorageControls.js +17 -0
- package/dist/containers/Storage/StorageGroups/StorageGroups.d.ts +17 -0
- package/dist/containers/Storage/StorageGroups/StorageGroups.js +17 -0
- package/dist/containers/Storage/StorageGroups/StorageGroupsEmptyDataMessage.d.ts +7 -0
- package/dist/containers/Storage/StorageGroups/StorageGroupsEmptyDataMessage.js +17 -0
- package/dist/containers/Storage/StorageGroups/VirtualStorageGroups.d.ts +16 -0
- package/dist/containers/Storage/StorageGroups/VirtualStorageGroups.js +35 -0
- package/dist/containers/Storage/StorageGroups/getGroups.d.ts +6 -0
- package/dist/containers/Storage/StorageGroups/getGroups.js +26 -0
- package/dist/containers/Storage/StorageGroups/getStorageGroupsColumns.d.ts +57 -0
- package/dist/containers/Storage/StorageGroups/getStorageGroupsColumns.js +205 -0
- package/dist/containers/Storage/StorageGroups/i18n/en.json +5 -5
- package/dist/containers/Storage/StorageGroups/i18n/index.d.ts +2 -0
- package/dist/containers/Storage/StorageGroups/i18n/index.js +7 -0
- package/dist/containers/Storage/StorageGroups/i18n/ru.json +5 -5
- package/dist/containers/Storage/StorageNodes/StorageNodes.d.ts +19 -0
- package/dist/containers/Storage/StorageNodes/StorageNodes.js +18 -0
- package/dist/containers/Storage/StorageNodes/StorageNodesEmptyDataMessage.d.ts +9 -0
- package/dist/containers/Storage/StorageNodes/StorageNodesEmptyDataMessage.js +25 -0
- package/dist/containers/Storage/StorageNodes/VirtualStorageNodes.d.ts +17 -0
- package/dist/containers/Storage/StorageNodes/VirtualStorageNodes.js +38 -0
- package/dist/containers/Storage/StorageNodes/getNodes.d.ts +6 -0
- package/dist/containers/Storage/StorageNodes/getNodes.js +25 -0
- package/dist/containers/Storage/StorageNodes/getStorageNodesColumns.d.ts +47 -0
- package/dist/containers/Storage/StorageNodes/getStorageNodesColumns.js +92 -0
- package/dist/containers/Storage/StorageNodes/i18n/en.json +6 -6
- package/dist/containers/Storage/StorageNodes/i18n/index.d.ts +2 -0
- package/dist/containers/Storage/StorageNodes/i18n/index.js +7 -0
- package/dist/containers/Storage/StorageNodes/i18n/ru.json +6 -6
- package/dist/containers/Storage/StorageNodes/shared.d.ts +12 -0
- package/dist/containers/Storage/StorageNodes/shared.js +4 -0
- package/dist/containers/Storage/StorageTypeFilter/StorageTypeFilter.d.ts +7 -0
- package/dist/containers/Storage/StorageTypeFilter/StorageTypeFilter.js +11 -0
- package/dist/containers/Storage/StorageVisibleEntitiesFilter/StorageVisibleEntitiesFilter.d.ts +12 -0
- package/dist/containers/Storage/StorageVisibleEntitiesFilter/StorageVisibleEntitiesFilter.js +12 -0
- package/dist/containers/Storage/StorageWrapper.d.ts +9 -0
- package/dist/containers/Storage/StorageWrapper.js +24 -0
- package/dist/containers/Storage/UsageFilter/UsageFilter.d.ts +14 -0
- package/dist/containers/Storage/UsageFilter/UsageFilter.js +38 -0
- package/dist/containers/Storage/UsageFilter/i18n/en.json +3 -3
- package/dist/containers/Storage/UsageFilter/i18n/index.d.ts +2 -0
- package/dist/containers/Storage/UsageFilter/i18n/index.js +7 -0
- package/dist/containers/Storage/UsageFilter/i18n/ru.json +3 -3
- package/dist/containers/Storage/UsageFilter/index.js +1 -0
- package/dist/containers/Storage/VDisk/VDisk.d.ts +11 -0
- package/dist/containers/Storage/VDisk/VDisk.js +88 -0
- package/dist/containers/Storage/VDisk/index.js +1 -0
- package/dist/containers/Storage/VDiskPopup/VDiskPopup.d.ts +11 -0
- package/dist/containers/Storage/VDiskPopup/VDiskPopup.js +105 -0
- package/dist/containers/Storage/VDiskPopup/index.js +1 -0
- package/dist/containers/Storage/VirtualStorage.d.ts +9 -0
- package/dist/containers/Storage/VirtualStorage.js +43 -0
- package/dist/containers/Storage/i18n/en.json +4 -5
- package/dist/containers/Storage/i18n/index.d.ts +2 -0
- package/dist/containers/Storage/i18n/index.js +7 -0
- package/dist/containers/Storage/i18n/ru.json +4 -5
- package/dist/containers/Storage/shared.d.ts +10 -0
- package/dist/containers/Storage/shared.js +2 -0
- package/dist/containers/Storage/utils/constants.d.ts +2 -0
- package/dist/containers/Storage/utils/constants.js +2 -0
- package/dist/containers/Storage/utils/index.d.ts +7 -0
- package/dist/containers/Storage/utils/index.js +30 -0
- package/dist/containers/Storage/utils/types.d.ts +5 -0
- package/dist/containers/Storage/utils/types.js +1 -0
- package/dist/containers/Tablet/Tablet.d.ts +12 -0
- package/dist/containers/Tablet/Tablet.js +81 -0
- package/dist/containers/Tablet/TabletControls/TabletControls.d.ts +7 -0
- package/dist/containers/Tablet/TabletControls/TabletControls.js +70 -0
- package/dist/containers/Tablet/TabletControls/index.js +1 -0
- package/dist/containers/Tablet/TabletInfo/TabletInfo.d.ts +7 -0
- package/dist/containers/Tablet/TabletInfo/TabletInfo.js +39 -0
- package/dist/containers/Tablet/TabletInfo/index.js +1 -0
- package/dist/containers/Tablet/TabletTable/TabletTable.d.ts +6 -0
- package/dist/containers/Tablet/TabletTable/TabletTable.js +59 -0
- package/dist/containers/Tablet/TabletTable/index.js +1 -0
- package/dist/containers/Tablet/i18n/en.json +8 -8
- package/dist/containers/Tablet/i18n/index.d.ts +2 -0
- package/dist/containers/Tablet/i18n/index.js +7 -0
- package/dist/containers/Tablet/i18n/ru.json +8 -8
- package/dist/containers/Tablet/index.d.ts +1 -0
- package/dist/containers/Tablet/index.js +1 -0
- package/dist/containers/Tablets/Tablets.d.ts +8 -0
- package/dist/containers/Tablets/Tablets.js +76 -0
- package/dist/containers/Tablets/i18n/en.json +4 -4
- package/dist/containers/Tablets/i18n/index.d.ts +2 -0
- package/dist/containers/Tablets/i18n/index.js +7 -0
- package/dist/containers/Tablets/i18n/ru.json +4 -4
- package/dist/containers/Tablets/index.js +1 -0
- package/dist/containers/TabletsFilters/TabletsFilters.d.ts +62 -0
- package/dist/containers/TabletsFilters/TabletsFilters.js +108 -264
- package/dist/containers/Tenant/Acl/Acl.d.ts +2 -0
- package/dist/containers/Tenant/Acl/Acl.js +95 -0
- package/dist/containers/Tenant/Diagnostics/Consumers/Consumers.d.ts +8 -0
- package/dist/containers/Tenant/Diagnostics/Consumers/Consumers.js +56 -0
- package/dist/containers/Tenant/Diagnostics/Consumers/Headers/Headers.d.ts +2 -0
- package/dist/containers/Tenant/Diagnostics/Consumers/Headers/Headers.js +9 -0
- package/dist/containers/Tenant/Diagnostics/Consumers/TopicStats/ConsumersTopicStats.d.ts +7 -0
- package/dist/containers/Tenant/Diagnostics/Consumers/TopicStats/ConsumersTopicStats.js +24 -0
- package/dist/containers/Tenant/Diagnostics/Consumers/TopicStats/index.js +1 -0
- package/dist/containers/Tenant/Diagnostics/Consumers/columns/columns.d.ts +4 -0
- package/dist/containers/Tenant/Diagnostics/Consumers/columns/columns.js +62 -0
- package/dist/containers/Tenant/Diagnostics/Consumers/i18n/en.json +5 -5
- package/dist/containers/Tenant/Diagnostics/Consumers/i18n/index.d.ts +2 -0
- package/dist/containers/Tenant/Diagnostics/Consumers/i18n/index.js +7 -0
- package/dist/containers/Tenant/Diagnostics/Consumers/i18n/ru.json +5 -5
- package/dist/containers/Tenant/Diagnostics/Consumers/index.js +1 -0
- package/dist/containers/Tenant/Diagnostics/Consumers/utils/constants.d.ts +20 -0
- package/dist/containers/Tenant/Diagnostics/Consumers/utils/constants.js +20 -0
- package/dist/containers/Tenant/Diagnostics/Describe/Describe.d.ts +9 -0
- package/dist/containers/Tenant/Diagnostics/Describe/Describe.js +66 -0
- package/dist/containers/Tenant/Diagnostics/DetailedOverview/DetailedOverview.d.ts +13 -0
- package/dist/containers/Tenant/Diagnostics/DetailedOverview/DetailedOverview.js +17 -0
- package/dist/containers/Tenant/Diagnostics/Diagnostics.d.ts +11 -0
- package/dist/containers/Tenant/Diagnostics/Diagnostics.js +133 -0
- package/dist/containers/Tenant/Diagnostics/DiagnosticsPages.d.ts +114 -0
- package/dist/containers/Tenant/Diagnostics/DiagnosticsPages.js +83 -0
- package/dist/containers/Tenant/Diagnostics/HotKeys/HotKeys.d.ts +25 -0
- package/dist/containers/Tenant/Diagnostics/HotKeys/HotKeys.js +27 -79
- package/dist/containers/Tenant/Diagnostics/Network/Network.d.ts +72 -0
- package/dist/containers/Tenant/Diagnostics/Network/Network.js +153 -314
- package/dist/containers/Tenant/Diagnostics/Network/NodeNetwork/NodeNetwork.d.ts +27 -0
- package/dist/containers/Tenant/Diagnostics/Network/NodeNetwork/NodeNetwork.js +42 -52
- package/dist/containers/Tenant/Diagnostics/Network/utils.d.ts +2 -0
- package/dist/containers/Tenant/Diagnostics/Network/utils.js +4 -0
- package/dist/containers/Tenant/Diagnostics/Overview/ChangefeedInfo/ChangefeedInfo.d.ts +8 -0
- package/dist/containers/Tenant/Diagnostics/Overview/ChangefeedInfo/ChangefeedInfo.js +34 -0
- package/dist/containers/Tenant/Diagnostics/Overview/ChangefeedInfo/index.js +1 -0
- package/dist/containers/Tenant/Diagnostics/Overview/Overview.d.ts +8 -0
- package/dist/containers/Tenant/Diagnostics/Overview/Overview.js +90 -0
- package/dist/containers/Tenant/Diagnostics/Overview/TableInfo/TableInfo.d.ts +10 -0
- package/dist/containers/Tenant/Diagnostics/Overview/TableInfo/TableInfo.js +14 -0
- package/dist/containers/Tenant/Diagnostics/Overview/TableInfo/i18n/en.json +3 -3
- package/dist/containers/Tenant/Diagnostics/Overview/TableInfo/i18n/index.d.ts +2 -0
- package/dist/containers/Tenant/Diagnostics/Overview/TableInfo/i18n/index.js +7 -0
- package/dist/containers/Tenant/Diagnostics/Overview/TableInfo/i18n/ru.json +3 -3
- package/dist/containers/Tenant/Diagnostics/Overview/TableInfo/index.js +1 -0
- package/dist/containers/Tenant/Diagnostics/Overview/TableInfo/prepareTableInfo.d.ts +16 -0
- package/dist/containers/Tenant/Diagnostics/Overview/TableInfo/prepareTableInfo.js +166 -0
- package/dist/containers/Tenant/Diagnostics/Overview/TopicInfo/TopicInfo.d.ts +7 -0
- package/dist/containers/Tenant/Diagnostics/Overview/TopicInfo/TopicInfo.js +18 -0
- package/dist/containers/Tenant/Diagnostics/Overview/TopicInfo/index.js +1 -0
- package/dist/containers/Tenant/Diagnostics/Overview/TopicStats/TopicStats.d.ts +2 -0
- package/dist/containers/Tenant/Diagnostics/Overview/TopicStats/TopicStats.js +63 -0
- package/dist/containers/Tenant/Diagnostics/Overview/TopicStats/i18n/en.json +2 -2
- package/dist/containers/Tenant/Diagnostics/Overview/TopicStats/i18n/index.d.ts +2 -0
- package/dist/containers/Tenant/Diagnostics/Overview/TopicStats/i18n/index.js +7 -0
- package/dist/containers/Tenant/Diagnostics/Overview/TopicStats/i18n/ru.json +2 -2
- package/dist/containers/Tenant/Diagnostics/Overview/TopicStats/index.js +1 -0
- package/dist/containers/Tenant/Diagnostics/Overview/utils/index.js +1 -0
- package/dist/containers/Tenant/Diagnostics/Overview/utils/prepareTopicSchemaInfo.d.ts +3 -0
- package/dist/containers/Tenant/Diagnostics/Overview/utils/prepareTopicSchemaInfo.js +25 -0
- package/dist/containers/Tenant/Diagnostics/Partitions/Headers/Headers.d.ts +11 -0
- package/dist/containers/Tenant/Diagnostics/Partitions/Headers/Headers.js +14 -0
- package/dist/containers/Tenant/Diagnostics/Partitions/Headers/index.d.ts +1 -0
- package/dist/containers/Tenant/Diagnostics/Partitions/Headers/index.js +1 -0
- package/dist/containers/Tenant/Diagnostics/Partitions/Partitions.d.ts +16 -0
- package/dist/containers/Tenant/Diagnostics/Partitions/Partitions.js +84 -0
- package/dist/containers/Tenant/Diagnostics/Partitions/PartitionsControls/PartitionsControls.d.ts +14 -0
- package/dist/containers/Tenant/Diagnostics/Partitions/PartitionsControls/PartitionsControls.js +83 -0
- package/dist/containers/Tenant/Diagnostics/Partitions/columns/columns.d.ts +5 -0
- package/dist/containers/Tenant/Diagnostics/Partitions/columns/columns.js +147 -0
- package/dist/containers/Tenant/Diagnostics/Partitions/columns/index.d.ts +1 -0
- package/dist/containers/Tenant/Diagnostics/Partitions/columns/index.js +1 -0
- package/dist/containers/Tenant/Diagnostics/Partitions/i18n/en.json +11 -11
- package/dist/containers/Tenant/Diagnostics/Partitions/i18n/index.d.ts +2 -0
- package/dist/containers/Tenant/Diagnostics/Partitions/i18n/index.js +7 -0
- package/dist/containers/Tenant/Diagnostics/Partitions/i18n/ru.json +11 -11
- package/dist/containers/Tenant/Diagnostics/Partitions/utils/constants.d.ts +54 -0
- package/dist/containers/Tenant/Diagnostics/Partitions/utils/constants.js +64 -0
- package/dist/containers/Tenant/Diagnostics/Partitions/utils/index.d.ts +4 -0
- package/dist/containers/Tenant/Diagnostics/Partitions/utils/index.js +12 -0
- package/dist/containers/Tenant/Diagnostics/Partitions/utils/types.d.ts +5 -0
- package/dist/containers/Tenant/Diagnostics/Partitions/utils/types.js +1 -0
- package/dist/containers/Tenant/Diagnostics/Partitions/utils/useGetPartitionsColumns.d.ts +3 -0
- package/dist/containers/Tenant/Diagnostics/Partitions/utils/useGetPartitionsColumns.js +19 -0
- package/dist/containers/Tenant/Diagnostics/TenantOverview/DefaultOverviewContent/DefaultOverviewContent.d.ts +1 -0
- package/dist/containers/Tenant/Diagnostics/TenantOverview/DefaultOverviewContent/DefaultOverviewContent.js +6 -0
- package/dist/containers/Tenant/Diagnostics/TenantOverview/DefaultOverviewContent/defaultDashboardConfig.d.ts +2 -0
- package/dist/containers/Tenant/Diagnostics/TenantOverview/DefaultOverviewContent/defaultDashboardConfig.js +44 -0
- package/dist/containers/Tenant/Diagnostics/TenantOverview/Healthcheck/HealthcheckDetails.d.ts +12 -0
- package/dist/containers/Tenant/Diagnostics/TenantOverview/Healthcheck/HealthcheckDetails.js +24 -0
- package/dist/containers/Tenant/Diagnostics/TenantOverview/Healthcheck/HealthcheckPreview.d.ts +15 -0
- package/dist/containers/Tenant/Diagnostics/TenantOverview/Healthcheck/HealthcheckPreview.js +31 -0
- package/dist/containers/Tenant/Diagnostics/TenantOverview/Healthcheck/IssuesViewer/IssueTree.d.ts +7 -0
- package/dist/containers/Tenant/Diagnostics/TenantOverview/Healthcheck/IssuesViewer/IssueTree.js +42 -0
- package/dist/containers/Tenant/Diagnostics/TenantOverview/Healthcheck/IssuesViewer/IssueTreeItem/IssueTreeItem.d.ts +9 -0
- package/dist/containers/Tenant/Diagnostics/TenantOverview/Healthcheck/IssuesViewer/IssueTreeItem/IssueTreeItem.js +8 -0
- package/dist/containers/Tenant/Diagnostics/TenantOverview/Healthcheck/IssuesViewer/IssueTreeItem/index.js +1 -0
- package/dist/containers/Tenant/Diagnostics/TenantOverview/Healthcheck/i18n/en.json +6 -6
- package/dist/containers/Tenant/Diagnostics/TenantOverview/Healthcheck/i18n/index.d.ts +2 -0
- package/dist/containers/Tenant/Diagnostics/TenantOverview/Healthcheck/i18n/index.js +7 -0
- package/dist/containers/Tenant/Diagnostics/TenantOverview/Healthcheck/i18n/ru.json +6 -6
- package/dist/containers/Tenant/Diagnostics/TenantOverview/MetricsCards/MetricCard/MetricCard.d.ts +12 -0
- package/dist/containers/Tenant/Diagnostics/TenantOverview/MetricsCards/MetricCard/MetricCard.js +14 -0
- package/dist/containers/Tenant/Diagnostics/TenantOverview/MetricsCards/MetricsCards.d.ts +23 -0
- package/dist/containers/Tenant/Diagnostics/TenantOverview/MetricsCards/MetricsCards.js +42 -0
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TenantCpu.d.ts +8 -0
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TenantCpu.js +10 -0
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByCpu.d.ts +8 -0
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByCpu.js +32 -0
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByLoad.d.ts +8 -0
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByLoad.js +32 -0
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopQueries.d.ts +6 -0
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopQueries.js +42 -0
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopShards.d.ts +5 -0
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopShards.js +32 -0
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/cpuDashboardConfig.d.ts +2 -0
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/cpuDashboardConfig.js +12 -0
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantDashboard/TenantDashboard.d.ts +12 -0
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantDashboard/TenantDashboard.js +42 -0
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TenantMemory.d.ts +6 -0
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TenantMemory.js +7 -0
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TopNodesByMemory.d.ts +8 -0
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TopNodesByMemory.js +34 -0
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/memoryDashboardConfig.d.ts +2 -0
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/memoryDashboardConfig.js +15 -0
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantOverview.d.ts +10 -0
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantOverview.js +80 -0
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantOverview.scss +1 -0
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantOverviewTableLayout.d.ts +14 -0
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantOverviewTableLayout.js +30 -0
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TenantStorage.d.ts +14 -0
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TenantStorage.js +29 -0
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopGroups.d.ts +6 -0
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopGroups.js +32 -0
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopTables.d.ts +7 -0
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopTables.js +48 -0
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/storageDashboardConfig.d.ts +2 -0
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/storageDashboardConfig.js +15 -0
- package/dist/containers/Tenant/Diagnostics/TenantOverview/getSectionTitle.d.ts +8 -0
- package/dist/containers/Tenant/Diagnostics/TenantOverview/getSectionTitle.js +10 -0
- package/dist/containers/Tenant/Diagnostics/TenantOverview/i18n/en.json +24 -31
- package/dist/containers/Tenant/Diagnostics/TenantOverview/i18n/index.d.ts +2 -0
- package/dist/containers/Tenant/Diagnostics/TenantOverview/i18n/index.js +7 -0
- package/dist/containers/Tenant/Diagnostics/TenantOverview/i18n/ru.json +24 -31
- package/dist/containers/Tenant/Diagnostics/TenantOverview/useHealthcheck.d.ts +14 -0
- package/dist/containers/Tenant/Diagnostics/TenantOverview/useHealthcheck.js +27 -0
- package/dist/containers/Tenant/Diagnostics/TenantOverview/utils.d.ts +10 -0
- package/dist/containers/Tenant/Diagnostics/TenantOverview/utils.js +2 -0
- package/dist/containers/Tenant/Diagnostics/TopQueries/TopQueries.d.ts +8 -0
- package/dist/containers/Tenant/Diagnostics/TopQueries/TopQueries.js +104 -0
- package/dist/containers/Tenant/Diagnostics/TopQueries/getTopQueriesColumns.d.ts +5 -0
- package/dist/containers/Tenant/Diagnostics/TopQueries/getTopQueriesColumns.js +83 -0
- package/dist/containers/Tenant/Diagnostics/TopQueries/i18n/en.json +2 -2
- package/dist/containers/Tenant/Diagnostics/TopQueries/i18n/index.d.ts +2 -0
- package/dist/containers/Tenant/Diagnostics/TopQueries/i18n/index.js +7 -0
- package/dist/containers/Tenant/Diagnostics/TopQueries/i18n/ru.json +2 -2
- package/dist/containers/Tenant/Diagnostics/TopQueries/index.js +1 -0
- package/dist/containers/Tenant/Diagnostics/TopShards/Filters/Filters.d.ts +9 -0
- package/dist/containers/Tenant/Diagnostics/TopShards/Filters/Filters.js +23 -0
- package/dist/containers/Tenant/Diagnostics/TopShards/Filters/index.js +1 -0
- package/dist/containers/Tenant/Diagnostics/TopShards/TopShards.d.ts +18 -0
- package/dist/containers/Tenant/Diagnostics/TopShards/TopShards.js +156 -0
- package/dist/containers/Tenant/Diagnostics/TopShards/getTopShardsColumns.d.ts +5 -0
- package/dist/containers/Tenant/Diagnostics/TopShards/getTopShardsColumns.js +107 -0
- package/dist/containers/Tenant/Diagnostics/TopShards/i18n/en.json +4 -4
- package/dist/containers/Tenant/Diagnostics/TopShards/i18n/index.d.ts +2 -0
- package/dist/containers/Tenant/Diagnostics/TopShards/i18n/index.js +7 -0
- package/dist/containers/Tenant/Diagnostics/TopShards/i18n/ru.json +4 -4
- package/dist/containers/Tenant/Diagnostics/TopShards/index.js +1 -0
- package/dist/containers/Tenant/Info/ExternalDataSource/ExternalDataSource.d.ts +8 -0
- package/dist/containers/Tenant/Info/ExternalDataSource/ExternalDataSource.js +55 -0
- package/dist/containers/Tenant/Info/ExternalTable/ExternalTable.d.ts +8 -0
- package/dist/containers/Tenant/Info/ExternalTable/ExternalTable.js +60 -0
- package/dist/containers/Tenant/Info/i18n/en.json +6 -6
- package/dist/containers/Tenant/Info/i18n/index.d.ts +2 -0
- package/dist/containers/Tenant/Info/i18n/index.js +7 -0
- package/dist/containers/Tenant/Info/i18n/ru.json +6 -6
- package/dist/containers/Tenant/ObjectGeneral/ObjectGeneral.d.ts +11 -0
- package/dist/containers/Tenant/ObjectGeneral/ObjectGeneral.js +38 -0
- package/dist/containers/Tenant/ObjectSummary/ObjectSummary.d.ts +12 -0
- package/dist/containers/Tenant/ObjectSummary/ObjectSummary.js +190 -0
- package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.d.ts +13 -0
- package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.js +92 -0
- package/dist/containers/Tenant/Query/ExplainResult/ExplainResult.d.ts +1 -0
- package/dist/containers/Tenant/Query/ExplainResult/ExplainResult.js +49 -172
- package/dist/containers/Tenant/Query/ExplainResult/utils.d.ts +2 -0
- package/dist/containers/Tenant/Query/ExplainResult/utils.js +4 -0
- package/dist/containers/Tenant/Query/Issues/Issues.d.ts +12 -0
- package/dist/containers/Tenant/Query/Issues/Issues.js +75 -0
- package/dist/containers/Tenant/Query/Issues/models.d.ts +4 -0
- package/dist/containers/Tenant/Query/Issues/models.js +12 -0
- package/dist/containers/Tenant/Query/Preview/Preview.d.ts +8 -0
- package/dist/containers/Tenant/Query/Preview/Preview.js +59 -0
- package/dist/containers/Tenant/Query/QueriesHistory/QueriesHistory.d.ts +9 -0
- package/dist/containers/Tenant/Query/QueriesHistory/QueriesHistory.js +52 -0
- package/dist/containers/Tenant/Query/Query.d.ts +9 -0
- package/dist/containers/Tenant/Query/Query.js +42 -0
- package/dist/containers/Tenant/Query/QueryDuration/QueryDuration.d.ts +6 -0
- package/dist/containers/Tenant/Query/QueryDuration/QueryDuration.js +14 -0
- package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.d.ts +32 -0
- package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.js +59 -248
- package/dist/containers/Tenant/Query/QueryEditorControls/QueryEditorControls.d.ts +16 -0
- package/dist/containers/Tenant/Query/QueryEditorControls/QueryEditorControls.js +57 -0
- package/dist/containers/Tenant/Query/QueryTabs/QueryTabs.d.ts +7 -0
- package/dist/containers/Tenant/Query/QueryTabs/QueryTabs.js +29 -0
- package/dist/containers/Tenant/Query/SaveQuery/SaveQuery.d.ts +6 -0
- package/dist/containers/Tenant/Query/SaveQuery/SaveQuery.js +11 -78
- package/dist/containers/Tenant/Query/SavedQueries/SavedQueries.d.ts +11 -0
- package/dist/containers/Tenant/Query/SavedQueries/SavedQueries.js +65 -0
- package/dist/containers/Tenant/Query/i18n/en.json +19 -25
- package/dist/containers/Tenant/Query/i18n/index.d.ts +2 -0
- package/dist/containers/Tenant/Query/i18n/index.js +7 -0
- package/dist/containers/Tenant/Query/i18n/ru.json +19 -25
- package/dist/containers/Tenant/Query/utils/getPreparedResult.d.ts +2 -0
- package/dist/containers/Tenant/Query/utils/getPreparedResult.js +23 -0
- package/dist/containers/Tenant/Schema/SchemaTree/SchemaTree.d.ts +10 -0
- package/dist/containers/Tenant/Schema/SchemaTree/SchemaTree.js +56 -0
- package/dist/containers/Tenant/Schema/SchemaViewer/SchemaViewer.d.ts +9 -0
- package/dist/containers/Tenant/Schema/SchemaViewer/SchemaViewer.js +72 -0
- package/dist/containers/Tenant/Tenant.d.ts +9 -0
- package/dist/containers/Tenant/Tenant.js +66 -0
- package/dist/containers/Tenant/TenantPages.d.ts +18 -0
- package/dist/containers/Tenant/TenantPages.js +27 -0
- package/dist/containers/Tenant/i18n/en.json +19 -22
- package/dist/containers/Tenant/i18n/index.d.ts +2 -0
- package/dist/containers/Tenant/i18n/index.js +7 -0
- package/dist/containers/Tenant/i18n/ru.json +19 -22
- package/dist/containers/Tenant/utils/constants.d.ts +3 -0
- package/dist/containers/Tenant/utils/constants.js +3 -0
- package/dist/containers/Tenant/utils/index.d.ts +2 -0
- package/dist/containers/Tenant/utils/index.js +5 -0
- package/dist/containers/Tenant/utils/paneVisibilityToggleHelpers.d.ts +22 -0
- package/dist/containers/Tenant/utils/paneVisibilityToggleHelpers.js +50 -0
- package/dist/containers/Tenant/utils/queryTemplates.d.ts +9 -0
- package/dist/containers/Tenant/utils/queryTemplates.js +107 -0
- package/dist/containers/Tenant/utils/schema.d.ts +15 -0
- package/dist/containers/Tenant/utils/schema.js +171 -0
- package/dist/containers/Tenant/utils/schemaActions.d.ts +9 -0
- package/dist/containers/Tenant/utils/schemaActions.js +104 -0
- package/dist/containers/Tenant/utils/schemaControls.d.ts +7 -0
- package/dist/containers/Tenant/utils/schemaControls.js +35 -0
- package/dist/containers/Tenants/Tenants.d.ts +7 -0
- package/dist/containers/Tenants/Tenants.js +166 -0
- package/dist/containers/Tenants/Tenants.scss +1 -0
- package/dist/containers/UserSettings/Setting.d.ts +15 -0
- package/dist/containers/UserSettings/Setting.js +37 -0
- package/dist/containers/UserSettings/UserSettings.d.ts +17 -0
- package/dist/containers/UserSettings/UserSettings.js +18 -0
- package/dist/containers/UserSettings/i18n/en.json +18 -28
- package/dist/containers/UserSettings/i18n/index.d.ts +2 -0
- package/dist/containers/UserSettings/i18n/index.js +7 -0
- package/dist/containers/UserSettings/i18n/ru.json +18 -28
- package/dist/containers/UserSettings/settings.d.ts +25 -0
- package/dist/containers/UserSettings/settings.js +87 -0
- package/dist/containers/Versions/GroupedNodesTree/GroupedNodesTree.d.ts +25 -0
- package/dist/containers/Versions/GroupedNodesTree/GroupedNodesTree.js +22 -0
- package/dist/containers/Versions/NodesTable/NodesTable.d.ts +6 -0
- package/dist/containers/Versions/NodesTable/NodesTable.js +87 -0
- package/dist/containers/Versions/NodesTreeTitle/NodesTreeTitle.d.ts +13 -0
- package/dist/containers/Versions/NodesTreeTitle/NodesTreeTitle.js +21 -0
- package/dist/containers/Versions/Versions.d.ts +7 -0
- package/dist/containers/Versions/Versions.js +39 -0
- package/dist/containers/Versions/groupNodes.d.ts +6 -0
- package/dist/containers/Versions/groupNodes.js +88 -0
- package/dist/containers/Versions/types.d.ts +14 -0
- package/dist/containers/Versions/types.js +6 -0
- package/dist/index.css +1 -0
- package/dist/lib.d.ts +20 -0
- package/dist/lib.js +16 -0
- package/dist/reportWebVitals.d.ts +3 -0
- package/dist/reportWebVitals.js +12 -0
- package/dist/routes.d.ts +21 -0
- package/dist/routes.js +56 -0
- package/dist/services/api.d.ts +114 -0
- package/dist/services/api.js +278 -0
- package/dist/services/parsers/parseMetaCluster.d.ts +3 -0
- package/dist/services/parsers/parseMetaCluster.js +5 -0
- package/dist/services/parsers/parseMetaTenants.d.ts +3 -0
- package/dist/services/parsers/parseMetaTenants.js +5 -0
- package/dist/services/settings.d.ts +24 -0
- package/dist/services/settings.js +82 -0
- package/dist/store/getUrlData.d.ts +13 -0
- package/dist/store/getUrlData.js +27 -0
- package/dist/store/index.d.ts +97 -0
- package/dist/store/index.js +34 -22
- package/dist/store/reducers/authentication/authentication.d.ts +22 -0
- package/dist/store/reducers/authentication/authentication.js +50 -0
- package/dist/store/reducers/authentication/types.d.ts +9 -0
- package/dist/store/reducers/authentication/types.js +1 -0
- package/dist/store/reducers/cluster/__test__/parseGroupsStatsQueryResponse.test.d.ts +1 -0
- package/dist/store/reducers/cluster/__test__/parseGroupsStatsQueryResponse.test.js +117 -0
- package/dist/store/reducers/cluster/cluster.d.ts +10 -0
- package/dist/store/reducers/cluster/cluster.js +66 -0
- package/dist/store/reducers/cluster/types.d.ts +28 -0
- package/dist/store/reducers/cluster/types.js +1 -0
- package/dist/store/reducers/cluster/utils.d.ts +4 -0
- package/dist/store/reducers/cluster/utils.js +68 -0
- package/dist/store/reducers/clusterNodes/clusterNodes.d.ts +10 -0
- package/dist/store/reducers/clusterNodes/clusterNodes.js +37 -0
- package/dist/store/reducers/clusterNodes/types.d.ts +14 -0
- package/dist/store/reducers/clusterNodes/types.js +1 -0
- package/dist/store/reducers/clusters/clusters.d.ts +14 -0
- package/dist/store/reducers/clusters/clusters.js +45 -0
- package/dist/store/reducers/clusters/selectors.d.ts +22 -0
- package/dist/store/reducers/clusters/selectors.js +106 -0
- package/dist/store/reducers/clusters/types.d.ts +32 -0
- package/dist/store/reducers/clusters/types.js +1 -0
- package/dist/store/reducers/clusters/utils.d.ts +3 -0
- package/dist/store/reducers/clusters/utils.js +13 -0
- package/dist/store/reducers/describe.d.ts +20 -0
- package/dist/store/reducers/describe.js +97 -0
- package/dist/store/reducers/executeQuery.d.ts +51 -0
- package/dist/store/reducers/executeQuery.js +144 -0
- package/dist/store/reducers/executeTopQueries/executeTopQueries.d.ts +25 -0
- package/dist/store/reducers/executeTopQueries/executeTopQueries.js +71 -0
- package/dist/store/reducers/executeTopQueries/types.d.ts +21 -0
- package/dist/store/reducers/executeTopQueries/types.js +1 -0
- package/dist/store/reducers/executeTopQueries/utils.d.ts +2 -0
- package/dist/store/reducers/executeTopQueries/utils.js +27 -0
- package/dist/store/reducers/explainQuery.d.ts +23 -0
- package/dist/store/reducers/explainQuery.js +94 -0
- package/dist/store/reducers/fullscreen.d.ts +8 -0
- package/dist/store/reducers/fullscreen.js +24 -0
- package/dist/store/reducers/header/header.d.ts +9 -0
- package/dist/store/reducers/header/header.js +23 -0
- package/dist/store/reducers/header/types.d.ts +28 -0
- package/dist/store/reducers/header/types.js +1 -0
- package/dist/store/reducers/healthcheckInfo.d.ts +21 -0
- package/dist/store/reducers/healthcheckInfo.js +93 -0
- package/dist/store/reducers/heatmap.d.ts +27 -0
- package/dist/store/reducers/heatmap.js +70 -0
- package/dist/store/reducers/host.d.ts +10 -0
- package/dist/store/reducers/host.js +26 -0
- package/dist/store/reducers/hotKeys.d.ts +11 -0
- package/dist/store/reducers/hotKeys.js +6 -29
- package/dist/store/reducers/index.d.ts +200 -0
- package/dist/store/reducers/index.js +91 -0
- package/dist/store/reducers/network/network.d.ts +13 -0
- package/dist/store/reducers/network/network.js +37 -0
- package/dist/store/reducers/network/types.d.ts +11 -0
- package/dist/store/reducers/network/types.js +1 -0
- package/dist/store/reducers/node/node.d.ts +19 -0
- package/dist/store/reducers/node/node.js +57 -0
- package/dist/store/reducers/node/selectors.d.ts +3 -0
- package/dist/store/reducers/node/selectors.js +36 -0
- package/dist/store/reducers/node/types.d.ts +34 -0
- package/dist/store/reducers/node/types.js +1 -0
- package/dist/store/reducers/nodes/nodes.d.ts +30 -0
- package/dist/store/reducers/nodes/nodes.js +105 -0
- package/dist/store/reducers/nodes/selectors.d.ts +7 -0
- package/dist/store/reducers/nodes/selectors.js +49 -0
- package/dist/store/reducers/nodes/types.d.ts +78 -0
- package/dist/store/reducers/nodes/types.js +1 -0
- package/dist/store/reducers/nodes/utils.d.ts +7 -0
- package/dist/store/reducers/nodes/utils.js +50 -0
- package/dist/store/reducers/nodesList.d.ts +11 -0
- package/dist/store/reducers/nodesList.js +27 -0
- package/dist/store/reducers/olapStats.d.ts +15 -0
- package/dist/store/reducers/olapStats.js +48 -0
- package/dist/store/reducers/overview/overview.d.ts +24 -0
- package/dist/store/reducers/overview/overview.js +72 -0
- package/dist/store/reducers/overview/types.d.ts +17 -0
- package/dist/store/reducers/overview/types.js +1 -0
- package/dist/store/reducers/partitions/partitions.d.ts +17 -0
- package/dist/store/reducers/partitions/partitions.js +67 -0
- package/dist/store/reducers/partitions/types.d.ts +32 -0
- package/dist/store/reducers/partitions/types.js +1 -0
- package/dist/store/reducers/partitions/utils.d.ts +5 -0
- package/dist/store/reducers/partitions/utils.js +41 -0
- package/dist/store/reducers/preview.d.ts +23 -0
- package/dist/store/reducers/preview.js +40 -0
- package/dist/store/reducers/saveQuery.d.ts +12 -0
- package/dist/store/reducers/saveQuery.js +25 -0
- package/dist/store/reducers/schema/schema.d.ts +48 -0
- package/dist/store/reducers/schema/schema.js +125 -0
- package/dist/store/reducers/schema/types.d.ts +26 -0
- package/dist/store/reducers/schema/types.js +1 -0
- package/dist/store/reducers/schemaAcl/schemaAcl.d.ts +15 -0
- package/dist/store/reducers/schemaAcl/schemaAcl.js +44 -0
- package/dist/store/reducers/schemaAcl/types.d.ts +12 -0
- package/dist/store/reducers/schemaAcl/types.js +1 -0
- package/dist/store/reducers/settings/settings.d.ts +29 -0
- package/dist/store/reducers/settings/settings.js +50 -0
- package/dist/store/reducers/settings/types.d.ts +20 -0
- package/dist/store/reducers/settings/types.js +1 -0
- package/dist/store/reducers/shardsWorkload/shardsWorkload.d.ts +31 -0
- package/dist/store/reducers/shardsWorkload/shardsWorkload.js +135 -0
- package/dist/store/reducers/shardsWorkload/types.d.ts +25 -0
- package/dist/store/reducers/shardsWorkload/types.js +5 -0
- package/dist/store/reducers/singleClusterMode.d.ts +2 -0
- package/dist/store/reducers/singleClusterMode.js +4 -0
- package/dist/store/reducers/storage/constants.d.ts +9 -0
- package/dist/store/reducers/storage/constants.js +9 -0
- package/dist/store/reducers/storage/selectors.d.ts +27 -0
- package/dist/store/reducers/storage/selectors.js +105 -0
- package/dist/store/reducers/storage/storage.d.ts +47 -0
- package/dist/store/reducers/storage/storage.js +151 -0
- package/dist/store/reducers/storage/types.d.ts +81 -0
- package/dist/store/reducers/storage/types.js +1 -0
- package/dist/store/reducers/storage/utils.d.ts +6 -0
- package/dist/store/reducers/storage/utils.js +125 -0
- package/dist/store/reducers/tablet.d.ts +20 -0
- package/dist/store/reducers/tablet.js +85 -0
- package/dist/store/reducers/tablets.d.ts +22 -0
- package/dist/store/reducers/tablets.js +57 -0
- package/dist/store/reducers/tabletsFilters.d.ts +60 -0
- package/dist/store/reducers/tabletsFilters.js +28 -73
- package/dist/store/reducers/tenant/constants.d.ts +35 -0
- package/dist/store/reducers/tenant/constants.js +35 -0
- package/dist/store/reducers/tenant/tenant.d.ts +39 -0
- package/dist/store/reducers/tenant/tenant.js +104 -0
- package/dist/store/reducers/tenant/types.d.ts +23 -0
- package/dist/store/reducers/tenant/types.js +1 -0
- package/dist/store/reducers/tenantOverview/executeTopTables/executeTopTables.d.ts +13 -0
- package/dist/store/reducers/tenantOverview/executeTopTables/executeTopTables.js +61 -0
- package/dist/store/reducers/tenantOverview/executeTopTables/types.d.ts +10 -0
- package/dist/store/reducers/tenantOverview/executeTopTables/types.js +1 -0
- package/dist/store/reducers/tenantOverview/topNodesByCpu/topNodesByCpu.d.ts +14 -0
- package/dist/store/reducers/tenantOverview/topNodesByCpu/topNodesByCpu.js +57 -0
- package/dist/store/reducers/tenantOverview/topNodesByCpu/types.d.ts +19 -0
- package/dist/store/reducers/tenantOverview/topNodesByCpu/types.js +1 -0
- package/dist/store/reducers/tenantOverview/topNodesByLoad/topNodesByLoad.d.ts +14 -0
- package/dist/store/reducers/tenantOverview/topNodesByLoad/topNodesByLoad.js +57 -0
- package/dist/store/reducers/tenantOverview/topNodesByLoad/types.d.ts +19 -0
- package/dist/store/reducers/tenantOverview/topNodesByLoad/types.js +1 -0
- package/dist/store/reducers/tenantOverview/topNodesByMemory/topNodesByMemory.d.ts +14 -0
- package/dist/store/reducers/tenantOverview/topNodesByMemory/topNodesByMemory.js +57 -0
- package/dist/store/reducers/tenantOverview/topNodesByMemory/types.d.ts +19 -0
- package/dist/store/reducers/tenantOverview/topNodesByMemory/types.js +1 -0
- package/dist/store/reducers/tenantOverview/topQueries/tenantOverviewTopQueries.d.ts +12 -0
- package/dist/store/reducers/tenantOverview/topQueries/tenantOverviewTopQueries.js +55 -0
- package/dist/store/reducers/tenantOverview/topQueries/types.d.ts +10 -0
- package/dist/store/reducers/tenantOverview/topQueries/types.js +1 -0
- package/dist/store/reducers/tenantOverview/topShards/tenantOverviewTopShards.d.ts +12 -0
- package/dist/store/reducers/tenantOverview/topShards/tenantOverviewTopShards.js +64 -0
- package/dist/store/reducers/tenantOverview/topShards/types.d.ts +10 -0
- package/dist/store/reducers/tenantOverview/topShards/types.js +1 -0
- package/dist/store/reducers/tenantOverview/topShards/utils.d.ts +1 -0
- package/dist/store/reducers/tenantOverview/topShards/utils.js +2 -0
- package/dist/store/reducers/tenantOverview/topStorageGroups/topStorageGroups.d.ts +15 -0
- package/dist/store/reducers/tenantOverview/topStorageGroups/topStorageGroups.js +58 -0
- package/dist/store/reducers/tenantOverview/topStorageGroups/types.d.ts +19 -0
- package/dist/store/reducers/tenantOverview/topStorageGroups/types.js +1 -0
- package/dist/store/reducers/tenantOverview/topStorageGroups/utils.d.ts +3 -0
- package/dist/store/reducers/tenantOverview/topStorageGroups/utils.js +12 -0
- package/dist/store/reducers/tenants/contants.d.ts +6 -0
- package/dist/store/reducers/tenants/contants.js +6 -0
- package/dist/store/reducers/tenants/selectors.d.ts +6 -0
- package/dist/store/reducers/tenants/selectors.js +28 -0
- package/dist/store/reducers/tenants/tenants.d.ts +52 -0
- package/dist/store/reducers/tenants/tenants.js +43 -0
- package/dist/store/reducers/tenants/types.d.ts +28 -0
- package/dist/store/reducers/tenants/types.js +1 -0
- package/dist/store/reducers/tenants/utils.d.ts +65 -0
- package/dist/store/reducers/tenants/utils.js +136 -0
- package/dist/store/reducers/tooltip.d.ts +15 -0
- package/dist/store/reducers/tooltip.js +41 -0
- package/dist/store/reducers/topic.d.ts +20 -0
- package/dist/store/reducers/topic.js +88 -0
- package/dist/store/state-url-mapping.d.ts +4 -0
- package/dist/store/state-url-mapping.js +30 -45
- package/dist/store/utils.d.ts +24 -0
- package/dist/store/utils.js +49 -0
- package/dist/types/additionalProps.d.ts +25 -0
- package/dist/types/additionalProps.js +1 -0
- package/dist/types/api/acl.d.ts +23 -0
- package/dist/types/api/acl.js +1 -0
- package/dist/types/api/cluster.d.ts +37 -0
- package/dist/types/api/cluster.js +1 -0
- package/dist/types/api/common.js +1 -0
- package/dist/types/api/compute.d.ts +60 -0
- package/dist/types/api/compute.js +5 -0
- package/dist/types/api/consumer.d.ts +215 -0
- package/dist/types/api/consumer.js +18 -0
- package/dist/types/api/enums.d.ts +7 -0
- package/dist/types/api/enums.js +11 -0
- package/dist/types/api/error.d.ts +21 -0
- package/dist/types/api/error.js +1 -0
- package/dist/types/api/healthcheck.d.ts +76 -0
- package/dist/types/api/healthcheck.js +18 -0
- package/dist/types/api/meta.d.ts +46 -0
- package/dist/types/api/meta.js +1 -0
- package/dist/types/api/netInfo.d.ts +44 -0
- package/dist/types/api/netInfo.js +7 -0
- package/dist/types/api/nodes.d.ts +113 -0
- package/dist/types/api/nodes.js +6 -0
- package/dist/types/api/nodesList.d.ts +24 -0
- package/dist/types/api/nodesList.js +1 -0
- package/dist/types/api/pdisk.d.ts +56 -0
- package/dist/types/api/pdisk.js +22 -0
- package/dist/types/api/query.d.ts +221 -0
- package/dist/types/api/query.js +1 -0
- package/dist/types/api/render.d.ts +28 -0
- package/dist/types/api/render.js +6 -0
- package/dist/types/api/schema/cdcStream.d.ts +29 -0
- package/dist/types/api/schema/cdcStream.js +22 -0
- package/dist/types/api/schema/columnEntity.d.ts +105 -0
- package/dist/types/api/schema/columnEntity.js +11 -0
- package/dist/types/api/schema/externalDataSource.d.ts +22 -0
- package/dist/types/api/schema/externalDataSource.js +1 -0
- package/dist/types/api/schema/externalTable.d.ts +13 -0
- package/dist/types/api/schema/externalTable.js +1 -0
- package/dist/types/api/schema/index.d.ts +9 -0
- package/dist/types/api/schema/index.js +9 -0
- package/dist/types/api/schema/persQueueGroup.d.ts +154 -0
- package/dist/types/api/schema/persQueueGroup.js +5 -0
- package/dist/types/api/schema/schema.d.ts +247 -0
- package/dist/types/api/schema/schema.js +64 -0
- package/dist/types/api/schema/shared.d.ts +37 -0
- package/dist/types/api/schema/shared.js +14 -0
- package/dist/types/api/schema/table.d.ts +567 -0
- package/dist/types/api/schema/table.js +38 -0
- package/dist/types/api/schema/tableIndex.d.ts +27 -0
- package/dist/types/api/schema/tableIndex.js +14 -0
- package/dist/types/api/storage.d.ts +97 -0
- package/dist/types/api/storage.js +5 -0
- package/dist/types/api/systemState.d.ts +12 -0
- package/dist/types/api/systemState.js +1 -0
- package/dist/types/api/tablet.d.ts +112 -0
- package/dist/types/api/tablet.js +59 -0
- package/dist/types/api/tenant.d.ts +147 -0
- package/dist/types/api/tenant.js +25 -0
- package/dist/types/api/topic.d.ts +128 -0
- package/dist/types/api/topic.js +11 -0
- package/dist/types/api/vdisk.d.ts +119 -0
- package/dist/types/api/vdisk.js +9 -0
- package/dist/types/api/whoami.d.ts +18 -0
- package/dist/types/api/whoami.js +1 -0
- package/dist/types/common.d.ts +1 -0
- package/dist/types/common.js +1 -0
- package/dist/types/index.d.ts +28 -0
- package/dist/types/index.js +31 -0
- package/dist/types/store/describe.d.ts +24 -0
- package/dist/types/store/describe.js +1 -0
- package/dist/types/store/executeQuery.d.ts +28 -0
- package/dist/types/store/executeQuery.js +1 -0
- package/dist/types/store/explainQuery.d.ts +26 -0
- package/dist/types/store/explainQuery.js +1 -0
- package/dist/types/store/healthcheck.d.ts +20 -0
- package/dist/types/store/healthcheck.js +1 -0
- package/dist/types/store/heatmap.d.ts +38 -0
- package/dist/types/store/heatmap.js +1 -0
- package/dist/types/store/host.d.ts +15 -0
- package/dist/types/store/host.js +1 -0
- package/dist/types/store/nodesList.d.ts +15 -0
- package/dist/types/store/nodesList.js +1 -0
- package/dist/types/store/olapStats.d.ts +10 -0
- package/dist/types/store/olapStats.js +1 -0
- package/dist/types/store/query.d.ts +29 -0
- package/dist/types/store/query.js +1 -0
- package/dist/types/store/tablet.d.ts +35 -0
- package/dist/types/store/tablet.js +1 -0
- package/dist/types/store/tablets.d.ts +22 -0
- package/dist/types/store/tablets.js +1 -0
- package/dist/types/store/tooltip.d.ts +22 -0
- package/dist/types/store/tooltip.js +1 -0
- package/dist/types/store/topic.d.ts +28 -0
- package/dist/types/store/topic.js +1 -0
- package/dist/types/versions.d.ts +8 -0
- package/dist/types/versions.js +1 -0
- package/dist/utils/__test__/monitoring.test.d.ts +1 -0
- package/dist/utils/__test__/monitoring.test.js +37 -0
- package/dist/utils/__test__/parseBalancer.test.d.ts +1 -0
- package/dist/utils/__test__/parseBalancer.test.js +68 -0
- package/dist/utils/__test__/prepareBackend.test.d.ts +1 -0
- package/dist/utils/__test__/prepareBackend.test.js +42 -0
- package/dist/utils/additionalProps.d.ts +2 -0
- package/dist/utils/additionalProps.js +7 -0
- package/dist/utils/autofetcher.d.ts +13 -0
- package/dist/utils/autofetcher.js +50 -0
- package/dist/utils/bytesParsers/__test__/formatBytes.test.d.ts +1 -0
- package/dist/utils/bytesParsers/__test__/formatBytes.test.js +44 -0
- package/dist/utils/bytesParsers/convertBytesObjectToSpeed.d.ts +11 -0
- package/dist/utils/bytesParsers/convertBytesObjectToSpeed.js +12 -0
- package/dist/utils/bytesParsers/formatBytes.d.ts +57 -0
- package/dist/utils/bytesParsers/formatBytes.js +104 -0
- package/dist/utils/bytesParsers/i18n/en.json +6 -6
- package/dist/utils/bytesParsers/i18n/index.d.ts +2 -0
- package/dist/utils/bytesParsers/i18n/index.js +7 -0
- package/dist/utils/bytesParsers/i18n/ru.json +6 -6
- package/dist/utils/bytesParsers/index.js +2 -0
- package/dist/utils/clusterVersionColors.d.ts +11 -0
- package/dist/utils/clusterVersionColors.js +51 -0
- package/dist/utils/cn.d.ts +2 -0
- package/dist/utils/cn.js +2 -0
- package/dist/utils/constants.d.ts +86 -0
- package/dist/utils/constants.js +99 -0
- package/dist/utils/createToast.d.ts +10 -0
- package/dist/utils/createToast.js +13 -0
- package/dist/utils/dataFormatters/__test__/roundToSignificant.test.d.ts +1 -0
- package/dist/utils/dataFormatters/__test__/roundToSignificant.test.js +21 -0
- package/dist/utils/dataFormatters/dataFormatters.d.ts +21 -0
- package/dist/utils/dataFormatters/dataFormatters.js +116 -0
- package/dist/utils/dataFormatters/i18n/en.json +1 -1
- package/dist/utils/dataFormatters/i18n/index.d.ts +2 -0
- package/dist/utils/dataFormatters/i18n/index.js +7 -0
- package/dist/utils/dataFormatters/i18n/ru.json +1 -1
- package/dist/utils/developerUI/__test__/developerUI.test.d.ts +1 -0
- package/dist/utils/developerUI/__test__/developerUI.test.js +31 -0
- package/dist/utils/developerUI/developerUI.d.ts +12 -0
- package/dist/utils/developerUI/developerUI.js +20 -0
- package/dist/utils/diagnostics.d.ts +18 -0
- package/dist/utils/diagnostics.js +14 -0
- package/dist/utils/error.d.ts +2 -0
- package/dist/utils/error.js +13 -0
- package/dist/utils/filters.d.ts +3 -0
- package/dist/utils/filters.js +14 -0
- package/dist/utils/generateEvaluator.d.ts +1 -0
- package/dist/utils/generateEvaluator.js +12 -0
- package/dist/utils/generateHash.d.ts +1 -0
- package/dist/utils/generateHash.js +10 -0
- package/dist/utils/hooks/index.d.ts +8 -0
- package/dist/utils/hooks/index.js +8 -0
- package/dist/utils/hooks/useAutofetcher.d.ts +2 -0
- package/dist/utils/hooks/useAutofetcher.js +23 -0
- package/dist/utils/hooks/useNodesRequestParams.d.ts +15 -0
- package/dist/utils/hooks/useNodesRequestParams.js +23 -0
- package/dist/utils/hooks/useQueryModes.d.ts +2 -0
- package/dist/utils/hooks/useQueryModes.js +5 -0
- package/dist/utils/hooks/useSearchQuery.d.ts +1 -0
- package/dist/utils/hooks/useSearchQuery.js +6 -0
- package/dist/utils/hooks/useSetting.d.ts +1 -0
- package/dist/utils/hooks/useSetting.js +16 -0
- package/dist/utils/hooks/useStorageRequestParams.d.ts +8 -0
- package/dist/utils/hooks/useStorageRequestParams.js +20 -0
- package/dist/utils/hooks/useTableResize.d.ts +7 -0
- package/dist/utils/hooks/useTableResize.js +27 -0
- package/dist/utils/hooks/useTableSort.d.ts +8 -0
- package/dist/utils/hooks/useTableSort.js +21 -0
- package/dist/utils/hooks/useTypedSelector.d.ts +3 -0
- package/dist/utils/hooks/useTypedSelector.js +2 -0
- package/dist/utils/i18n/i18n.d.ts +9 -0
- package/dist/utils/i18n/i18n.js +17 -0
- package/dist/utils/i18n/index.js +1 -0
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.js +3 -0
- package/dist/utils/monaco.d.ts +2 -0
- package/dist/utils/monaco.js +62 -0
- package/dist/utils/monitoring.d.ts +19 -0
- package/dist/utils/monitoring.js +45 -0
- package/dist/utils/nodes.d.ts +38 -0
- package/dist/utils/nodes.js +46 -0
- package/dist/utils/numeral.d.ts +3 -0
- package/dist/utils/numeral.js +5 -0
- package/dist/utils/parseBalancer.d.ts +16 -0
- package/dist/utils/parseBalancer.js +37 -0
- package/dist/utils/pdisk.d.ts +17 -0
- package/dist/utils/pdisk.js +63 -0
- package/dist/utils/prepareBackend.d.ts +4 -0
- package/dist/utils/prepareBackend.js +33 -0
- package/dist/utils/prepareQueryExplain.d.ts +6 -0
- package/dist/utils/prepareQueryExplain.js +88 -0
- package/dist/utils/query.d.ts +28 -0
- package/dist/utils/query.js +181 -0
- package/dist/utils/query.test.d.ts +1 -0
- package/dist/utils/query.test.js +164 -0
- package/dist/utils/registerError.d.ts +1 -0
- package/dist/utils/registerError.js +17 -0
- package/dist/utils/storage.d.ts +28 -0
- package/dist/utils/storage.js +24 -0
- package/dist/utils/tablet.d.ts +5 -0
- package/dist/utils/tablet.js +41 -0
- package/dist/utils/timeParsers/__test__/formatDuration.test.d.ts +1 -0
- package/dist/utils/timeParsers/__test__/formatDuration.test.js +39 -0
- package/dist/utils/timeParsers/__test__/protobuf.test.d.ts +1 -0
- package/dist/utils/timeParsers/__test__/protobuf.test.js +63 -0
- package/dist/utils/timeParsers/formatDuration.d.ts +12 -0
- package/dist/utils/timeParsers/formatDuration.js +63 -0
- package/dist/utils/timeParsers/i18n/en.json +9 -9
- package/dist/utils/timeParsers/i18n/index.d.ts +2 -0
- package/dist/utils/timeParsers/i18n/index.js +7 -0
- package/dist/utils/timeParsers/i18n/ru.json +9 -9
- package/dist/utils/timeParsers/index.js +3 -0
- package/dist/utils/timeParsers/parsers.d.ts +4 -0
- package/dist/utils/timeParsers/parsers.js +18 -0
- package/dist/utils/timeParsers/protobufParsers.d.ts +15 -0
- package/dist/utils/timeParsers/protobufParsers.js +33 -0
- package/dist/utils/timeframes.d.ts +7 -0
- package/dist/utils/timeframes.js +7 -0
- package/dist/utils/tooltip.d.ts +10 -0
- package/dist/utils/tooltip.js +18 -104
- package/dist/utils/typecheckers.d.ts +4 -0
- package/dist/utils/typecheckers.js +4 -0
- package/dist/utils/utils.d.ts +7 -0
- package/dist/utils/utils.js +16 -16
- package/dist/utils/versions/getVersionsColors.d.ts +7 -0
- package/dist/utils/versions/getVersionsColors.js +84 -0
- package/dist/utils/versions/index.js +3 -0
- package/dist/utils/versions/parseNodesToVersionsValues.d.ts +3 -0
- package/dist/utils/versions/parseNodesToVersionsValues.js +22 -0
- package/dist/utils/versions/parseVersion.d.ts +2 -0
- package/dist/utils/versions/parseVersion.js +17 -0
- package/package.json +47 -35
- package/dist/components/BasicNodeViewer/BasicNodeViewer.tsx +0 -55
- package/dist/components/CellWithPopover/CellWithPopover.tsx +0 -26
- package/dist/components/CircularProgressBar/CircularProgressBar.tsx +0 -59
- package/dist/components/ClipboardButton/ClipboardButton.tsx +0 -52
- package/dist/components/ContentWithPopup/ContentWithPopup.tsx +0 -51
- package/dist/components/CriticalActionDialog/CriticalActionDialog.tsx +0 -61
- package/dist/components/DateRange/DateRange.tsx +0 -75
- package/dist/components/DiagnosticCard/DiagnosticCard.tsx +0 -16
- package/dist/components/Divider/Divider.tsx +0 -11
- package/dist/components/EmptyState/EmptyState.tsx +0 -55
- package/dist/components/EnableFullscreenButton/EnableFullscreenButton.tsx +0 -27
- package/dist/components/EntitiesCount/EntitiesCount.tsx +0 -34
- package/dist/components/EntitiesCount/i18n/index.ts +0 -11
- package/dist/components/ErrorBoundary/ErrorBoundary.tsx +0 -62
- package/dist/components/ErrorBoundary/i18n/index.ts +0 -11
- package/dist/components/Errors/403/AccessDenied.tsx +0 -20
- package/dist/components/Errors/ResponseError/ResponseError.tsx +0 -17
- package/dist/components/Errors/i18n/index.ts +0 -11
- package/dist/components/ExternalLinkWithIcon/ExternalLinkWithIcon.tsx +0 -24
- package/dist/components/FormattedBytes/FormattedBytes.tsx +0 -10
- package/dist/components/FormattedBytes/utils.tsx +0 -13
- package/dist/components/FullNodeViewer/FullNodeViewer.tsx +0 -82
- package/dist/components/Fullscreen/Fullscreen.tsx +0 -81
- package/dist/components/Icon/Icon.tsx +0 -35
- package/dist/components/Illustration/Illustration.tsx +0 -44
- package/dist/components/InfoViewer/InfoViewer.tsx +0 -61
- package/dist/components/InfoViewer/formatters/cdcStream.ts +0 -10
- package/dist/components/InfoViewer/formatters/common.ts +0 -17
- package/dist/components/InfoViewer/formatters/pqGroup.ts +0 -51
- package/dist/components/InfoViewer/formatters/schema.ts +0 -18
- package/dist/components/InfoViewer/formatters/table.ts +0 -52
- package/dist/components/InfoViewer/i18n/index.ts +0 -11
- package/dist/components/InfoViewer/index.ts +0 -5
- package/dist/components/InfoViewer/schemaInfo/TableIndexInfo.tsx +0 -37
- package/dist/components/InfoViewer/schemaOverview/CDCStreamOverview.tsx +0 -31
- package/dist/components/InfoViewer/schemaOverview/PersQueueGroupOverview.tsx +0 -30
- package/dist/components/InfoViewer/utils.ts +0 -57
- package/dist/components/InternalLink/InternalLink.tsx +0 -17
- package/dist/components/LabelWithPopover/LabelWithPopover.tsx +0 -23
- package/dist/components/LagImages/LagImages.tsx +0 -205
- package/dist/components/LagPopoverContent/LagPopoverContent.tsx +0 -19
- package/dist/components/LinkToSchemaObject/LinkToSchemaObject.tsx +0 -20
- package/dist/components/Loader/Loader.tsx +0 -18
- package/dist/components/MetricChart/MetricChart.tsx +0 -198
- package/dist/components/MetricChart/convertReponse.ts +0 -33
- package/dist/components/MetricChart/getChartData.ts +0 -20
- package/dist/components/MetricChart/getDefaultDataFormatter.ts +0 -45
- package/dist/components/MetricChart/index.ts +0 -2
- package/dist/components/MetricChart/reducer.ts +0 -86
- package/dist/components/MetricChart/types.ts +0 -32
- package/dist/components/NodeHostWrapper/NodeHostWrapper.tsx +0 -65
- package/dist/components/PoolBar/PoolBar.tsx +0 -39
- package/dist/components/PoolUsage/PoolUsage.tsx +0 -50
- package/dist/components/PoolsGraph/PoolsGraph.tsx +0 -23
- package/dist/components/ProblemFilter/ProblemFilter.tsx +0 -23
- package/dist/components/ProgressViewer/ProgressViewer.tsx +0 -116
- package/dist/components/QueryExecutionStatus/QueryExecutionStatus.tsx +0 -48
- package/dist/components/QueryResultTable/Cell/Cell.tsx +0 -33
- package/dist/components/QueryResultTable/QueryResultTable.tsx +0 -114
- package/dist/components/QueryResultTable/i18n/index.ts +0 -11
- package/dist/components/Search/Search.tsx +0 -58
- package/dist/components/ShortyString/ShortyString.tsx +0 -63
- package/dist/components/ShortyString/i18n/index.ts +0 -11
- package/dist/components/SpeedMultiMeter/SpeedMultiMeter.tsx +0 -119
- package/dist/components/SpeedMultiMeter/i18n/index.ts +0 -11
- package/dist/components/SplitPane/SplitPane.tsx +0 -94
- package/dist/components/Stack/Stack.tsx +0 -35
- package/dist/components/TableSkeleton/TableSkeleton.tsx +0 -29
- package/dist/components/TableWithControlsLayout/TableWithControlsLayout.tsx +0 -43
- package/dist/components/Tablet/Tablet.tsx +0 -38
- package/dist/components/TabletIcon/TabletIcon.tsx +0 -18
- package/dist/components/TabletsOverall/TabletsOverall.tsx +0 -105
- package/dist/components/TabletsStatistic/TabletsStatistic.tsx +0 -63
- package/dist/components/Tag/Tag.tsx +0 -16
- package/dist/components/Tags/Tags.tsx +0 -22
- package/dist/components/TimeFrameSelector/TimeFrameSelector.tsx +0 -33
- package/dist/components/TooltipsContent/NodeEndpointsTooltipContent/NodeEndpointsTooltipContent.tsx +0 -31
- package/dist/components/TooltipsContent/PoolTooltipContent/PoolTooltipContent.tsx +0 -24
- package/dist/components/TooltipsContent/TabletTooltipContent/TabletTooltipContent.tsx +0 -34
- package/dist/components/TruncatedQuery/TruncatedQuery.tsx +0 -42
- package/dist/components/UptimeFIlter/UptimeFilter.tsx +0 -22
- package/dist/components/UsageLabel/UsageLabel.tsx +0 -24
- package/dist/components/VirtualTable/TableChunk.tsx +0 -85
- package/dist/components/VirtualTable/TableHead.tsx +0 -139
- package/dist/components/VirtualTable/TableRow.tsx +0 -91
- package/dist/components/VirtualTable/VirtualTable.tsx +0 -287
- package/dist/components/VirtualTable/constants.ts +0 -17
- package/dist/components/VirtualTable/i18n/index.ts +0 -11
- package/dist/components/VirtualTable/reducer.ts +0 -143
- package/dist/components/VirtualTable/shared.ts +0 -3
- package/dist/components/VirtualTable/types.ts +0 -60
- package/dist/components/VirtualTable/useIntersectionObserver.ts +0 -43
- package/dist/containers/AsideNavigation/AsideNavigation.tsx +0 -271
- package/dist/containers/AsideNavigation/i18n/index.ts +0 -11
- package/dist/containers/Authentication/Authentication.tsx +0 -152
- package/dist/containers/Cluster/Cluster.tsx +0 -167
- package/dist/containers/Cluster/ClusterInfo/ClusterInfo.tsx +0 -280
- package/dist/containers/Cluster/ClusterInfo/utils.ts +0 -13
- package/dist/containers/Cluster/ClusterInfoSkeleton/ClusterInfoSkeleton.tsx +0 -34
- package/dist/containers/Cluster/VersionsBar/VersionsBar.tsx +0 -33
- package/dist/containers/Cluster/i18n/index.ts +0 -11
- package/dist/containers/Cluster/utils.tsx +0 -34
- package/dist/containers/Header/Header.tsx +0 -112
- package/dist/containers/Header/breadcrumbs.tsx +0 -174
- package/dist/containers/Heatmap/Heatmap.tsx +0 -204
- package/dist/containers/Node/Node.tsx +0 -168
- package/dist/containers/Node/NodePages.ts +0 -33
- package/dist/containers/Node/NodeStructure/NodeStructure.tsx +0 -137
- package/dist/containers/Node/NodeStructure/PDiskTitleBadge.tsx +0 -19
- package/dist/containers/Node/NodeStructure/Pdisk.tsx +0 -338
- package/dist/containers/Node/NodeStructure/Vdisk.tsx +0 -132
- package/dist/containers/Node/i18n/index.ts +0 -11
- package/dist/containers/Nodes/Nodes.tsx +0 -185
- package/dist/containers/Nodes/NodesWrapper.tsx +0 -22
- package/dist/containers/Nodes/VirtualNodes.tsx +0 -138
- package/dist/containers/Nodes/getNodes.ts +0 -26
- package/dist/containers/Nodes/getNodesColumns.tsx +0 -292
- package/dist/containers/Nodes/i18n/index.ts +0 -11
- package/dist/containers/Storage/DiskStateProgressBar/DiskStateProgressBar.tsx +0 -82
- package/dist/containers/Storage/EmptyFilter/EmptyFilter.tsx +0 -34
- package/dist/containers/Storage/EmptyFilter/i18n/index.ts +0 -11
- package/dist/containers/Storage/PDisk/PDisk.tsx +0 -176
- package/dist/containers/Storage/PDisk/__tests__/colors.tsx +0 -100
- package/dist/containers/Storage/PDiskPopup/PDiskPopup.tsx +0 -79
- package/dist/containers/Storage/Storage.tsx +0 -240
- package/dist/containers/Storage/StorageControls/StorageControls.tsx +0 -104
- package/dist/containers/Storage/StorageGroups/StorageGroups.tsx +0 -59
- package/dist/containers/Storage/StorageGroups/StorageGroupsEmptyDataMessage.tsx +0 -30
- package/dist/containers/Storage/StorageGroups/VirtualStorageGroups.tsx +0 -94
- package/dist/containers/Storage/StorageGroups/getGroups.ts +0 -21
- package/dist/containers/Storage/StorageGroups/getStorageGroupsColumns.tsx +0 -297
- package/dist/containers/Storage/StorageGroups/i18n/index.ts +0 -11
- package/dist/containers/Storage/StorageNodes/StorageNodes.tsx +0 -70
- package/dist/containers/Storage/StorageNodes/StorageNodesEmptyDataMessage.tsx +0 -44
- package/dist/containers/Storage/StorageNodes/VirtualStorageNodes.tsx +0 -105
- package/dist/containers/Storage/StorageNodes/getNodes.ts +0 -26
- package/dist/containers/Storage/StorageNodes/getStorageNodesColumns.tsx +0 -125
- package/dist/containers/Storage/StorageNodes/i18n/index.ts +0 -11
- package/dist/containers/Storage/StorageNodes/shared.ts +0 -9
- package/dist/containers/Storage/StorageTypeFilter/StorageTypeFilter.tsx +0 -29
- package/dist/containers/Storage/StorageVisibleEntitiesFilter/StorageVisibleEntitiesFilter.tsx +0 -33
- package/dist/containers/Storage/StorageWrapper.tsx +0 -23
- package/dist/containers/Storage/UsageFilter/UsageFilter.tsx +0 -99
- package/dist/containers/Storage/UsageFilter/i18n/index.ts +0 -11
- package/dist/containers/Storage/VDisk/VDisk.tsx +0 -157
- package/dist/containers/Storage/VDisk/__tests__/colors.tsx +0 -209
- package/dist/containers/Storage/VDiskPopup/VDiskPopup.tsx +0 -162
- package/dist/containers/Storage/VirtualStorage.tsx +0 -112
- package/dist/containers/Storage/i18n/index.ts +0 -11
- package/dist/containers/Storage/shared.ts +0 -3
- package/dist/containers/Storage/utils/constants.ts +0 -3
- package/dist/containers/Storage/utils/index.ts +0 -40
- package/dist/containers/Storage/utils/types.ts +0 -6
- package/dist/containers/Tablet/Tablet.tsx +0 -155
- package/dist/containers/Tablet/TabletControls/TabletControls.tsx +0 -151
- package/dist/containers/Tablet/TabletInfo/TabletInfo.tsx +0 -80
- package/dist/containers/Tablet/TabletTable/TabletTable.tsx +0 -81
- package/dist/containers/Tablet/i18n/index.ts +0 -11
- package/dist/containers/Tablets/Tablets.tsx +0 -150
- package/dist/containers/Tablets/i18n/index.ts +0 -11
- package/dist/containers/Tenant/Acl/Acl.tsx +0 -137
- package/dist/containers/Tenant/Diagnostics/Consumers/Consumers.tsx +0 -118
- package/dist/containers/Tenant/Diagnostics/Consumers/Headers/Headers.tsx +0 -20
- package/dist/containers/Tenant/Diagnostics/Consumers/TopicStats/ConsumersTopicStats.tsx +0 -43
- package/dist/containers/Tenant/Diagnostics/Consumers/columns/columns.tsx +0 -92
- package/dist/containers/Tenant/Diagnostics/Consumers/i18n/index.ts +0 -11
- package/dist/containers/Tenant/Diagnostics/Consumers/utils/constants.ts +0 -23
- package/dist/containers/Tenant/Diagnostics/Describe/Describe.tsx +0 -117
- package/dist/containers/Tenant/Diagnostics/DetailedOverview/DetailedOverview.tsx +0 -47
- package/dist/containers/Tenant/Diagnostics/Diagnostics.tsx +0 -211
- package/dist/containers/Tenant/Diagnostics/DiagnosticsPages.ts +0 -112
- package/dist/containers/Tenant/Diagnostics/Network/utils.ts +0 -6
- package/dist/containers/Tenant/Diagnostics/Overview/ChangefeedInfo/ChangefeedInfo.tsx +0 -67
- package/dist/containers/Tenant/Diagnostics/Overview/Overview.tsx +0 -152
- package/dist/containers/Tenant/Diagnostics/Overview/TableInfo/TableInfo.tsx +0 -73
- package/dist/containers/Tenant/Diagnostics/Overview/TableInfo/i18n/index.ts +0 -11
- package/dist/containers/Tenant/Diagnostics/Overview/TableInfo/prepareTableInfo.ts +0 -252
- package/dist/containers/Tenant/Diagnostics/Overview/TopicInfo/TopicInfo.tsx +0 -37
- package/dist/containers/Tenant/Diagnostics/Overview/TopicStats/TopicStats.tsx +0 -111
- package/dist/containers/Tenant/Diagnostics/Overview/TopicStats/i18n/index.ts +0 -11
- package/dist/containers/Tenant/Diagnostics/Overview/utils/prepareTopicSchemaInfo.ts +0 -41
- package/dist/containers/Tenant/Diagnostics/Partitions/Headers/Headers.tsx +0 -62
- package/dist/containers/Tenant/Diagnostics/Partitions/Partitions.tsx +0 -173
- package/dist/containers/Tenant/Diagnostics/Partitions/PartitionsControls/PartitionsControls.tsx +0 -175
- package/dist/containers/Tenant/Diagnostics/Partitions/columns/columns.tsx +0 -255
- package/dist/containers/Tenant/Diagnostics/Partitions/i18n/index.ts +0 -11
- package/dist/containers/Tenant/Diagnostics/Partitions/utils/constants.ts +0 -86
- package/dist/containers/Tenant/Diagnostics/Partitions/utils/index.ts +0 -26
- package/dist/containers/Tenant/Diagnostics/Partitions/utils/types.ts +0 -6
- package/dist/containers/Tenant/Diagnostics/Partitions/utils/useGetPartitionsColumns.ts +0 -27
- package/dist/containers/Tenant/Diagnostics/TenantOverview/DefaultDashboard.tsx +0 -50
- package/dist/containers/Tenant/Diagnostics/TenantOverview/Healthcheck/HealthcheckDetails.tsx +0 -52
- package/dist/containers/Tenant/Diagnostics/TenantOverview/Healthcheck/HealthcheckPreview.tsx +0 -93
- package/dist/containers/Tenant/Diagnostics/TenantOverview/Healthcheck/IssuesViewer/IssueTree.tsx +0 -86
- package/dist/containers/Tenant/Diagnostics/TenantOverview/Healthcheck/IssuesViewer/IssueTreeItem/IssueTreeItem.tsx +0 -25
- package/dist/containers/Tenant/Diagnostics/TenantOverview/Healthcheck/i18n/index.ts +0 -11
- package/dist/containers/Tenant/Diagnostics/TenantOverview/MetricsCards/MetricCard/MetricCard.tsx +0 -48
- package/dist/containers/Tenant/Diagnostics/TenantOverview/MetricsCards/MetricsCards.tsx +0 -145
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/CpuDashboard.tsx +0 -18
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TenantCpu.tsx +0 -23
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByCpu.tsx +0 -68
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByLoad.tsx +0 -68
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopQueries.tsx +0 -99
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopShards.tsx +0 -72
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantDashboard/TenantDashboard.tsx +0 -71
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/MemoryDashboard.tsx +0 -21
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TenantMemory.tsx +0 -15
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TopNodesByMemory.tsx +0 -70
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantOverview.tsx +0 -178
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantOverviewTableLayout.tsx +0 -54
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/StorageDashboard.tsx +0 -21
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TenantStorage.tsx +0 -72
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopGroups.tsx +0 -66
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopTables.tsx +0 -93
- package/dist/containers/Tenant/Diagnostics/TenantOverview/getSectionTitle.tsx +0 -28
- package/dist/containers/Tenant/Diagnostics/TenantOverview/i18n/index.ts +0 -11
- package/dist/containers/Tenant/Diagnostics/TenantOverview/useHealthcheck.ts +0 -53
- package/dist/containers/Tenant/Diagnostics/TopQueries/TopQueries.tsx +0 -205
- package/dist/containers/Tenant/Diagnostics/TopQueries/getTopQueriesColumns.tsx +0 -102
- package/dist/containers/Tenant/Diagnostics/TopQueries/i18n/index.ts +0 -11
- package/dist/containers/Tenant/Diagnostics/TopShards/Filters/Filters.tsx +0 -56
- package/dist/containers/Tenant/Diagnostics/TopShards/TopShards.tsx +0 -252
- package/dist/containers/Tenant/Diagnostics/TopShards/getTopShardsColumns.tsx +0 -138
- package/dist/containers/Tenant/Diagnostics/TopShards/i18n/index.ts +0 -11
- package/dist/containers/Tenant/Info/ExternalDataSource/ExternalDataSource.tsx +0 -81
- package/dist/containers/Tenant/Info/ExternalTable/ExternalTable.tsx +0 -101
- package/dist/containers/Tenant/Info/i18n/index.ts +0 -11
- package/dist/containers/Tenant/ObjectGeneral/ObjectGeneral.tsx +0 -63
- package/dist/containers/Tenant/ObjectSummary/ObjectSummary.tsx +0 -381
- package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.tsx +0 -232
- package/dist/containers/Tenant/Query/ExplainResult/utils.ts +0 -6
- package/dist/containers/Tenant/Query/Issues/Issues.tsx +0 -173
- package/dist/containers/Tenant/Query/Issues/models.ts +0 -16
- package/dist/containers/Tenant/Query/Preview/Preview.tsx +0 -121
- package/dist/containers/Tenant/Query/QueriesHistory/QueriesHistory.tsx +0 -84
- package/dist/containers/Tenant/Query/Query.tsx +0 -73
- package/dist/containers/Tenant/Query/QueryDuration/QueryDuration.tsx +0 -33
- package/dist/containers/Tenant/Query/QueryEditorControls/QueryEditorControls.tsx +0 -143
- package/dist/containers/Tenant/Query/QueryTabs/QueryTabs.tsx +0 -59
- package/dist/containers/Tenant/Query/SavedQueries/SavedQueries.tsx +0 -150
- package/dist/containers/Tenant/Query/i18n/index.ts +0 -11
- package/dist/containers/Tenant/Query/utils/getPreparedResult.ts +0 -29
- package/dist/containers/Tenant/Schema/SchemaTree/SchemaTree.tsx +0 -91
- package/dist/containers/Tenant/Schema/SchemaViewer/SchemaViewer.tsx +0 -107
- package/dist/containers/Tenant/Tenant.tsx +0 -138
- package/dist/containers/Tenant/TenantPages.tsx +0 -31
- package/dist/containers/Tenant/i18n/index.ts +0 -11
- package/dist/containers/Tenant/utils/constants.ts +0 -10
- package/dist/containers/Tenant/utils/index.ts +0 -8
- package/dist/containers/Tenant/utils/paneVisibilityToggleHelpers.tsx +0 -126
- package/dist/containers/Tenant/utils/queryTemplates.ts +0 -113
- package/dist/containers/Tenant/utils/schema.ts +0 -247
- package/dist/containers/Tenant/utils/schemaActions.ts +0 -149
- package/dist/containers/Tenant/utils/schemaControls.tsx +0 -69
- package/dist/containers/Tenants/Tenants.tsx +0 -263
- package/dist/containers/UserSettings/Setting.tsx +0 -93
- package/dist/containers/UserSettings/UserSettings.tsx +0 -40
- package/dist/containers/UserSettings/i18n/index.ts +0 -11
- package/dist/containers/UserSettings/settings.ts +0 -133
- package/dist/containers/Versions/GroupedNodesTree/GroupedNodesTree.tsx +0 -98
- package/dist/containers/Versions/NodesTable/NodesTable.tsx +0 -120
- package/dist/containers/Versions/NodesTreeTitle/NodesTreeTitle.tsx +0 -65
- package/dist/containers/Versions/Versions.tsx +0 -129
- package/dist/containers/Versions/groupNodes.ts +0 -124
- package/dist/containers/Versions/types.ts +0 -16
- package/dist/contexts/HistoryContext.ts +0 -6
- package/dist/index.tsx +0 -36
- package/dist/react-app-env.d.ts +0 -1
- package/dist/reportWebVitals.ts +0 -15
- package/dist/routes.ts +0 -77
- package/dist/services/api.ts +0 -426
- package/dist/services/settings.ts +0 -111
- package/dist/setupTests.js +0 -17
- package/dist/store/getUrlData.ts +0 -27
- package/dist/store/reducers/authentication/authentication.ts +0 -69
- package/dist/store/reducers/authentication/types.ts +0 -15
- package/dist/store/reducers/cluster/__test__/parseGroupsStatsQueryResponse.test.ts +0 -121
- package/dist/store/reducers/cluster/cluster.ts +0 -95
- package/dist/store/reducers/cluster/types.ts +0 -39
- package/dist/store/reducers/cluster/utils.ts +0 -88
- package/dist/store/reducers/clusterNodes/clusterNodes.tsx +0 -68
- package/dist/store/reducers/clusterNodes/types.ts +0 -22
- package/dist/store/reducers/describe.ts +0 -145
- package/dist/store/reducers/executeQuery.ts +0 -239
- package/dist/store/reducers/executeTopQueries/executeTopQueries.ts +0 -122
- package/dist/store/reducers/executeTopQueries/types.ts +0 -28
- package/dist/store/reducers/executeTopQueries/utils.ts +0 -36
- package/dist/store/reducers/explainQuery.ts +0 -162
- package/dist/store/reducers/fullscreen.ts +0 -31
- package/dist/store/reducers/header/header.ts +0 -31
- package/dist/store/reducers/header/types.ts +0 -54
- package/dist/store/reducers/healthcheckInfo.ts +0 -169
- package/dist/store/reducers/heatmap.ts +0 -120
- package/dist/store/reducers/host.ts +0 -48
- package/dist/store/reducers/index.ts +0 -99
- package/dist/store/reducers/network/network.ts +0 -69
- package/dist/store/reducers/network/types.ts +0 -16
- package/dist/store/reducers/node/node.ts +0 -102
- package/dist/store/reducers/node/selectors.ts +0 -59
- package/dist/store/reducers/node/types.ts +0 -46
- package/dist/store/reducers/nodes/nodes.ts +0 -150
- package/dist/store/reducers/nodes/selectors.ts +0 -74
- package/dist/store/reducers/nodes/types.ts +0 -120
- package/dist/store/reducers/nodes/utils.ts +0 -75
- package/dist/store/reducers/nodesList.ts +0 -55
- package/dist/store/reducers/olapStats.ts +0 -79
- package/dist/store/reducers/overview/overview.ts +0 -109
- package/dist/store/reducers/overview/types.ts +0 -24
- package/dist/store/reducers/partitions/partitions.ts +0 -104
- package/dist/store/reducers/partitions/types.ts +0 -47
- package/dist/store/reducers/partitions/utils.ts +0 -99
- package/dist/store/reducers/preview.ts +0 -79
- package/dist/store/reducers/saveQuery.ts +0 -35
- package/dist/store/reducers/schema/schema.ts +0 -203
- package/dist/store/reducers/schema/types.ts +0 -53
- package/dist/store/reducers/schemaAcl/schemaAcl.ts +0 -72
- package/dist/store/reducers/schemaAcl/types.ts +0 -17
- package/dist/store/reducers/settings/settings.ts +0 -95
- package/dist/store/reducers/settings/types.ts +0 -25
- package/dist/store/reducers/shardsWorkload/shardsWorkload.ts +0 -207
- package/dist/store/reducers/shardsWorkload/types.ts +0 -33
- package/dist/store/reducers/singleClusterMode.ts +0 -5
- package/dist/store/reducers/storage/constants.ts +0 -10
- package/dist/store/reducers/storage/selectors.ts +0 -159
- package/dist/store/reducers/storage/storage.ts +0 -239
- package/dist/store/reducers/storage/types.ts +0 -124
- package/dist/store/reducers/storage/utils.ts +0 -216
- package/dist/store/reducers/tablet.ts +0 -142
- package/dist/store/reducers/tablets.ts +0 -100
- package/dist/store/reducers/tenant/constants.ts +0 -40
- package/dist/store/reducers/tenant/tenant.ts +0 -172
- package/dist/store/reducers/tenant/types.ts +0 -51
- package/dist/store/reducers/tenantOverview/executeTopTables/executeTopTables.ts +0 -93
- package/dist/store/reducers/tenantOverview/executeTopTables/types.ts +0 -14
- package/dist/store/reducers/tenantOverview/topNodesByCpu/topNodesByCpu.ts +0 -87
- package/dist/store/reducers/tenantOverview/topNodesByCpu/types.ts +0 -29
- package/dist/store/reducers/tenantOverview/topNodesByLoad/topNodesByLoad.ts +0 -87
- package/dist/store/reducers/tenantOverview/topNodesByLoad/types.ts +0 -29
- package/dist/store/reducers/tenantOverview/topNodesByMemory/topNodesByMemory.ts +0 -87
- package/dist/store/reducers/tenantOverview/topNodesByMemory/types.ts +0 -29
- package/dist/store/reducers/tenantOverview/topQueries/tenantOverviewTopQueries.ts +0 -93
- package/dist/store/reducers/tenantOverview/topQueries/types.ts +0 -14
- package/dist/store/reducers/tenantOverview/topShards/tenantOverviewTopShards.ts +0 -103
- package/dist/store/reducers/tenantOverview/topShards/types.ts +0 -14
- package/dist/store/reducers/tenantOverview/topShards/utils.ts +0 -3
- package/dist/store/reducers/tenantOverview/topStorageGroups/topStorageGroups.ts +0 -98
- package/dist/store/reducers/tenantOverview/topStorageGroups/types.ts +0 -29
- package/dist/store/reducers/tenantOverview/topStorageGroups/utils.ts +0 -20
- package/dist/store/reducers/tenants/contants.ts +0 -6
- package/dist/store/reducers/tenants/selectors.ts +0 -46
- package/dist/store/reducers/tenants/tenants.ts +0 -73
- package/dist/store/reducers/tenants/types.ts +0 -36
- package/dist/store/reducers/tenants/utils.ts +0 -185
- package/dist/store/reducers/tooltip.ts +0 -81
- package/dist/store/reducers/topic.ts +0 -152
- package/dist/store/utils.ts +0 -97
- package/dist/types/additionalProps.ts +0 -33
- package/dist/types/api/acl.ts +0 -25
- package/dist/types/api/cluster.ts +0 -40
- package/dist/types/api/compute.ts +0 -67
- package/dist/types/api/consumer.ts +0 -259
- package/dist/types/api/enums.ts +0 -10
- package/dist/types/api/error.ts +0 -24
- package/dist/types/api/healthcheck.ts +0 -91
- package/dist/types/api/netInfo.ts +0 -48
- package/dist/types/api/nodes.ts +0 -127
- package/dist/types/api/nodesList.ts +0 -25
- package/dist/types/api/pdisk.ts +0 -61
- package/dist/types/api/query.ts +0 -313
- package/dist/types/api/render.ts +0 -34
- package/dist/types/api/schema/cdcStream.ts +0 -32
- package/dist/types/api/schema/columnEntity.ts +0 -138
- package/dist/types/api/schema/externalDataSource.ts +0 -24
- package/dist/types/api/schema/externalTable.ts +0 -14
- package/dist/types/api/schema/index.ts +0 -10
- package/dist/types/api/schema/persQueueGroup.ts +0 -191
- package/dist/types/api/schema/schema.ts +0 -302
- package/dist/types/api/schema/shared.ts +0 -42
- package/dist/types/api/schema/table.ts +0 -616
- package/dist/types/api/schema/tableIndex.ts +0 -33
- package/dist/types/api/storage.ts +0 -106
- package/dist/types/api/systemState.ts +0 -13
- package/dist/types/api/tablet.ts +0 -121
- package/dist/types/api/tenant.ts +0 -164
- package/dist/types/api/topic.ts +0 -158
- package/dist/types/api/vdisk.ts +0 -132
- package/dist/types/api/whoami.ts +0 -19
- package/dist/types/assets.d.ts +0 -11
- package/dist/types/common.ts +0 -1
- package/dist/types/index.ts +0 -34
- package/dist/types/react-json-inspector.d.ts +0 -21
- package/dist/types/react-list.d.ts +0 -4
- package/dist/types/store/describe.ts +0 -40
- package/dist/types/store/executeQuery.ts +0 -50
- package/dist/types/store/explainQuery.ts +0 -38
- package/dist/types/store/healthcheck.ts +0 -31
- package/dist/types/store/heatmap.ts +0 -51
- package/dist/types/store/host.ts +0 -23
- package/dist/types/store/nodesList.ts +0 -24
- package/dist/types/store/olapStats.ts +0 -14
- package/dist/types/store/query.ts +0 -43
- package/dist/types/store/tablet.ts +0 -54
- package/dist/types/store/tablets.ts +0 -42
- package/dist/types/store/tooltip.ts +0 -27
- package/dist/types/store/topic.ts +0 -39
- package/dist/types/versions.ts +0 -9
- package/dist/types/window.d.ts +0 -46
- package/dist/utils/autofetcher.ts +0 -62
- package/dist/utils/bytesParsers/__test__/formatBytes.test.ts +0 -47
- package/dist/utils/bytesParsers/convertBytesObjectToSpeed.ts +0 -24
- package/dist/utils/bytesParsers/formatBytes.ts +0 -132
- package/dist/utils/bytesParsers/i18n/index.ts +0 -11
- package/dist/utils/cn.ts +0 -3
- package/dist/utils/constants.ts +0 -131
- package/dist/utils/createToast.tsx +0 -23
- package/dist/utils/dataFormatters/__test__/roundToSignificant.test.ts +0 -22
- package/dist/utils/dataFormatters/dataFormatters.ts +0 -154
- package/dist/utils/dataFormatters/i18n/index.ts +0 -11
- package/dist/utils/developerUI/__test__/developerUI.test.ts +0 -50
- package/dist/utils/developerUI/developerUI.ts +0 -42
- package/dist/utils/diagnostics.ts +0 -24
- package/dist/utils/error.ts +0 -24
- package/dist/utils/filters.ts +0 -23
- package/dist/utils/generateEvaluator.ts +0 -21
- package/dist/utils/generateHash.ts +0 -11
- package/dist/utils/hooks/index.ts +0 -9
- package/dist/utils/hooks/useAutofetcher.ts +0 -35
- package/dist/utils/hooks/useNodesRequestParams.ts +0 -42
- package/dist/utils/hooks/useQueryModes.ts +0 -7
- package/dist/utils/hooks/useSearchQuery.ts +0 -9
- package/dist/utils/hooks/useSetting.ts +0 -24
- package/dist/utils/hooks/useStorageRequestParams.ts +0 -28
- package/dist/utils/hooks/useTableSort.ts +0 -37
- package/dist/utils/hooks/useTypedSelector.ts +0 -5
- package/dist/utils/i18n/i18n.ts +0 -22
- package/dist/utils/index.ts +0 -3
- package/dist/utils/monaco.ts +0 -69
- package/dist/utils/nodes.ts +0 -64
- package/dist/utils/numeral.ts +0 -8
- package/dist/utils/pdisk.ts +0 -74
- package/dist/utils/prepareQueryExplain.ts +0 -115
- package/dist/utils/query.test.ts +0 -182
- package/dist/utils/query.ts +0 -243
- package/dist/utils/registerError.ts +0 -18
- package/dist/utils/storage.ts +0 -40
- package/dist/utils/tablet.ts +0 -54
- package/dist/utils/tests/providers.tsx +0 -26
- package/dist/utils/timeParsers/__test__/formatDuration.test.ts +0 -50
- package/dist/utils/timeParsers/__test__/protobuf.test.ts +0 -74
- package/dist/utils/timeParsers/formatDuration.ts +0 -74
- package/dist/utils/timeParsers/i18n/index.ts +0 -11
- package/dist/utils/timeParsers/parsers.ts +0 -27
- package/dist/utils/timeParsers/protobufParsers.ts +0 -36
- package/dist/utils/timeframes.ts +0 -10
- package/dist/utils/typecheckers.ts +0 -5
- package/dist/utils/versions/getVersionsColors.ts +0 -99
- package/dist/utils/versions/parseNodesToVersionsValues.ts +0 -28
- package/dist/utils/versions/parseVersion.ts +0 -23
- /package/dist/components/BasicNodeViewer/{index.ts → index.d.ts} +0 -0
- /package/dist/components/ClipboardButton/{index.ts → index.d.ts} +0 -0
- /package/dist/components/CriticalActionDialog/{index.ts → index.d.ts} +0 -0
- /package/dist/components/DateRange/{index.ts → index.d.ts} +0 -0
- /package/dist/components/EmptyState/{index.ts → index.d.ts} +0 -0
- /package/dist/components/EntitiesCount/{index.ts → index.d.ts} +0 -0
- /package/dist/components/Errors/403/{index.ts → index.d.ts} +0 -0
- /package/dist/components/Errors/ResponseError/{index.ts → index.d.ts} +0 -0
- /package/dist/components/Icon/{index.ts → index.d.ts} +0 -0
- /package/dist/components/Illustration/{index.ts → index.d.ts} +0 -0
- /package/dist/components/InfoViewer/formatters/{index.ts → index.d.ts} +0 -0
- /package/dist/components/InfoViewer/schemaInfo/{index.ts → index.d.ts} +0 -0
- /package/dist/components/InfoViewer/schemaOverview/{index.ts → index.d.ts} +0 -0
- /package/dist/components/InternalLink/{index.ts → index.d.ts} +0 -0
- /package/dist/components/LabelWithPopover/{index.ts → index.d.ts} +0 -0
- /package/dist/components/LagImages/{index.ts → index.d.ts} +0 -0
- /package/dist/components/LagPopoverContent/{index.ts → index.d.ts} +0 -0
- /package/dist/components/Loader/{index.ts → index.d.ts} +0 -0
- /package/dist/components/ProblemFilter/{index.ts → index.d.ts} +0 -0
- /package/dist/components/QueryExecutionStatus/{index.ts → index.d.ts} +0 -0
- /package/dist/components/QueryResultTable/Cell/{index.ts → index.d.ts} +0 -0
- /package/dist/components/QueryResultTable/{index.ts → index.d.ts} +0 -0
- /package/dist/components/Search/{index.ts → index.d.ts} +0 -0
- /package/dist/components/SpeedMultiMeter/{index.ts → index.d.ts} +0 -0
- /package/dist/components/Tablet/{index.ts → index.d.ts} +0 -0
- /package/dist/{containers/Tablet/index.ts → components/Tablet/index.js} +0 -0
- /package/dist/components/TabletsStatistic/{index.ts → index.d.ts} +0 -0
- /package/dist/components/Tag/{index.ts → index.d.ts} +0 -0
- /package/dist/components/Tags/{index.ts → index.d.ts} +0 -0
- /package/dist/components/TooltipsContent/{index.ts → index.d.ts} +0 -0
- /package/dist/components/UptimeFIlter/{index.ts → index.d.ts} +0 -0
- /package/dist/components/VirtualTable/{index.ts → index.d.ts} +0 -0
- /package/dist/containers/Heatmap/{index.ts → index.d.ts} +0 -0
- /package/dist/containers/Nodes/{index.ts → index.d.ts} +0 -0
- /package/dist/containers/Storage/DiskStateProgressBar/{index.ts → index.d.ts} +0 -0
- /package/dist/containers/Storage/PDisk/{index.ts → index.d.ts} +0 -0
- /package/dist/containers/Storage/PDiskPopup/{index.ts → index.d.ts} +0 -0
- /package/dist/containers/Storage/UsageFilter/{index.ts → index.d.ts} +0 -0
- /package/dist/containers/Storage/VDisk/{index.ts → index.d.ts} +0 -0
- /package/dist/containers/Storage/VDiskPopup/{index.ts → index.d.ts} +0 -0
- /package/dist/containers/Tablet/TabletControls/{index.ts → index.d.ts} +0 -0
- /package/dist/containers/Tablet/TabletInfo/{index.ts → index.d.ts} +0 -0
- /package/dist/containers/Tablet/TabletTable/{index.ts → index.d.ts} +0 -0
- /package/dist/containers/Tablets/{index.ts → index.d.ts} +0 -0
- /package/dist/containers/Tenant/Diagnostics/Consumers/Headers/{index.ts → index.d.ts} +0 -0
- /package/dist/containers/Tenant/Diagnostics/{Partitions/Headers/index.ts → Consumers/Headers/index.js} +0 -0
- /package/dist/containers/Tenant/Diagnostics/Consumers/TopicStats/{index.ts → index.d.ts} +0 -0
- /package/dist/containers/Tenant/Diagnostics/Consumers/columns/{index.ts → index.d.ts} +0 -0
- /package/dist/containers/Tenant/Diagnostics/{Partitions/columns/index.ts → Consumers/columns/index.js} +0 -0
- /package/dist/containers/Tenant/Diagnostics/Consumers/{index.ts → index.d.ts} +0 -0
- /package/dist/containers/Tenant/Diagnostics/Overview/ChangefeedInfo/{index.ts → index.d.ts} +0 -0
- /package/dist/containers/Tenant/Diagnostics/Overview/TableInfo/{index.ts → index.d.ts} +0 -0
- /package/dist/containers/Tenant/Diagnostics/Overview/TopicInfo/{index.ts → index.d.ts} +0 -0
- /package/dist/containers/Tenant/Diagnostics/Overview/TopicStats/{index.ts → index.d.ts} +0 -0
- /package/dist/containers/Tenant/Diagnostics/Overview/utils/{index.ts → index.d.ts} +0 -0
- /package/dist/containers/Tenant/Diagnostics/TenantOverview/Healthcheck/IssuesViewer/IssueTreeItem/{index.ts → index.d.ts} +0 -0
- /package/dist/containers/Tenant/Diagnostics/TopQueries/{index.ts → index.d.ts} +0 -0
- /package/dist/containers/Tenant/Diagnostics/TopShards/Filters/{index.ts → index.d.ts} +0 -0
- /package/dist/containers/Tenant/Diagnostics/TopShards/{index.ts → index.d.ts} +0 -0
- /package/dist/types/api/{common.ts → common.d.ts} +0 -0
- /package/dist/utils/bytesParsers/{index.ts → index.d.ts} +0 -0
- /package/dist/utils/i18n/{index.ts → index.d.ts} +0 -0
- /package/dist/utils/timeParsers/{index.ts → index.d.ts} +0 -0
- /package/dist/utils/versions/{index.ts → index.d.ts} +0 -0
@@ -0,0 +1,101 @@
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
2
|
+
import { useEffect, useMemo, useRef } from 'react';
|
3
|
+
import { useLocation, useRouteMatch } from 'react-router';
|
4
|
+
import cn from 'bem-cn-lite';
|
5
|
+
import { useDispatch } from 'react-redux';
|
6
|
+
import { Tabs } from '@gravity-ui/uikit';
|
7
|
+
import { Link } from 'react-router-dom';
|
8
|
+
import { TABLETS, STORAGE, NODE_PAGES, OVERVIEW, STRUCTURE } from './NodePages';
|
9
|
+
import { Tablets } from '../Tablets';
|
10
|
+
import { StorageWrapper } from '../Storage/StorageWrapper';
|
11
|
+
import NodeStructure from './NodeStructure/NodeStructure';
|
12
|
+
import { Loader } from '../../components/Loader';
|
13
|
+
import { BasicNodeViewer } from '../../components/BasicNodeViewer';
|
14
|
+
import { FullNodeViewer } from '../../components/FullNodeViewer/FullNodeViewer';
|
15
|
+
import { getNodeInfo, resetNode } from '../../store/reducers/node/node';
|
16
|
+
import routes, { createHref, parseQuery } from '../../routes';
|
17
|
+
import { setHeaderBreadcrumbs } from '../../store/reducers/header/header';
|
18
|
+
import { AutoFetcher } from '../../utils/autofetcher';
|
19
|
+
import { useTypedSelector } from '../../utils/hooks';
|
20
|
+
import { clusterTabsIds } from '../Cluster/utils';
|
21
|
+
import './Node.scss';
|
22
|
+
const b = cn('node');
|
23
|
+
export const STORAGE_ROLE = 'Storage';
|
24
|
+
const autofetcher = new AutoFetcher();
|
25
|
+
function Node(props) {
|
26
|
+
var _a, _b;
|
27
|
+
const container = useRef(null);
|
28
|
+
const dispatch = useDispatch();
|
29
|
+
const location = useLocation();
|
30
|
+
const { loading, wasLoaded, error, data } = useTypedSelector((state) => state.node);
|
31
|
+
const node = (_a = data === null || data === void 0 ? void 0 : data.SystemStateInfo) === null || _a === void 0 ? void 0 : _a[0];
|
32
|
+
const match = (_b = useRouteMatch(routes.node)) !== null && _b !== void 0 ? _b : Object.create(null);
|
33
|
+
const { id: nodeId, activeTab } = match.params;
|
34
|
+
const { tenantName: tenantNameFromQuery } = parseQuery(location);
|
35
|
+
const { activeTabVerified, nodeTabs } = useMemo(() => {
|
36
|
+
var _a;
|
37
|
+
const hasStorage = (_a = node === null || node === void 0 ? void 0 : node.Roles) === null || _a === void 0 ? void 0 : _a.find((el) => el === STORAGE_ROLE);
|
38
|
+
let actualActiveTab = activeTab;
|
39
|
+
if (!hasStorage && activeTab === STORAGE) {
|
40
|
+
actualActiveTab = OVERVIEW;
|
41
|
+
}
|
42
|
+
const nodePages = hasStorage ? NODE_PAGES : NODE_PAGES.filter((el) => el.id !== STORAGE);
|
43
|
+
const actualNodeTabs = nodePages.map((page) => {
|
44
|
+
return Object.assign(Object.assign({}, page), { title: page.name });
|
45
|
+
});
|
46
|
+
return { activeTabVerified: actualActiveTab, nodeTabs: actualNodeTabs };
|
47
|
+
}, [activeTab, node]);
|
48
|
+
useEffect(() => {
|
49
|
+
var _a;
|
50
|
+
const tenantName = ((_a = node === null || node === void 0 ? void 0 : node.Tenants) === null || _a === void 0 ? void 0 : _a[0]) || (tenantNameFromQuery === null || tenantNameFromQuery === void 0 ? void 0 : tenantNameFromQuery.toString());
|
51
|
+
dispatch(setHeaderBreadcrumbs('node', {
|
52
|
+
clusterTab: clusterTabsIds.nodes,
|
53
|
+
tenantName,
|
54
|
+
nodeId,
|
55
|
+
}));
|
56
|
+
}, [dispatch, node, nodeId, tenantNameFromQuery]);
|
57
|
+
useEffect(() => {
|
58
|
+
const fetchData = () => dispatch(getNodeInfo(nodeId));
|
59
|
+
fetchData();
|
60
|
+
autofetcher.start();
|
61
|
+
autofetcher.fetch(() => fetchData());
|
62
|
+
return () => {
|
63
|
+
autofetcher.stop();
|
64
|
+
dispatch(resetNode());
|
65
|
+
};
|
66
|
+
}, [dispatch, nodeId]);
|
67
|
+
const renderTabs = () => {
|
68
|
+
return (_jsx("div", Object.assign({ className: b('tabs') }, { children: _jsx(Tabs, { size: "l", items: nodeTabs, activeTab: activeTabVerified, wrapTo: ({ id }, tabNode) => (_jsx(Link, Object.assign({ to: createHref(routes.node, { id: nodeId, activeTab: id }), className: b('tab') }, { children: tabNode }), id)), allowNotSelected: true }) })));
|
69
|
+
};
|
70
|
+
const renderTabContent = () => {
|
71
|
+
switch (activeTab) {
|
72
|
+
case STORAGE: {
|
73
|
+
return (_jsx("div", Object.assign({ className: b('storage') }, { children: _jsx(StorageWrapper, { nodeId: nodeId, parentContainer: container.current }) })));
|
74
|
+
}
|
75
|
+
case TABLETS: {
|
76
|
+
return _jsx(Tablets, { nodeId: nodeId, className: b('node-page-wrapper') });
|
77
|
+
}
|
78
|
+
case OVERVIEW: {
|
79
|
+
return _jsx(FullNodeViewer, { node: node, className: b('overview-wrapper') });
|
80
|
+
}
|
81
|
+
case STRUCTURE: {
|
82
|
+
return _jsx(NodeStructure, { className: b('node-page-wrapper'), nodeId: nodeId });
|
83
|
+
}
|
84
|
+
default:
|
85
|
+
return false;
|
86
|
+
}
|
87
|
+
};
|
88
|
+
if (loading && !wasLoaded) {
|
89
|
+
return _jsx(Loader, { size: "l" });
|
90
|
+
}
|
91
|
+
else if (error) {
|
92
|
+
return _jsx("div", { children: error.statusText });
|
93
|
+
}
|
94
|
+
else {
|
95
|
+
if (node) {
|
96
|
+
return (_jsxs("div", Object.assign({ className: b(null, props.className), ref: container }, { children: [_jsx(BasicNodeViewer, { node: node, additionalNodesProps: props.additionalNodesProps, className: b('header') }), renderTabs(), _jsx("div", Object.assign({ className: b('content') }, { children: renderTabContent() }))] })));
|
97
|
+
}
|
98
|
+
return _jsx("div", Object.assign({ className: "error" }, { children: "no node data" }));
|
99
|
+
}
|
100
|
+
}
|
101
|
+
export default Node;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { Query } from '../../routes';
|
2
|
+
export declare const STORAGE = "storage";
|
3
|
+
export declare const TABLETS = "tablets";
|
4
|
+
export declare const OVERVIEW = "overview";
|
5
|
+
export declare const STRUCTURE = "structure";
|
6
|
+
export declare const NODE_PAGES: {
|
7
|
+
id: string;
|
8
|
+
name: string;
|
9
|
+
}[];
|
10
|
+
export declare function getDefaultNodePath(nodeId: string | number, query?: Query): string;
|
@@ -0,0 +1,26 @@
|
|
1
|
+
import routes, { createHref } from '../../routes';
|
2
|
+
export const STORAGE = 'storage';
|
3
|
+
export const TABLETS = 'tablets';
|
4
|
+
export const OVERVIEW = 'overview';
|
5
|
+
export const STRUCTURE = 'structure';
|
6
|
+
export const NODE_PAGES = [
|
7
|
+
{
|
8
|
+
id: OVERVIEW,
|
9
|
+
name: 'Overview',
|
10
|
+
},
|
11
|
+
{
|
12
|
+
id: STORAGE,
|
13
|
+
name: 'Storage',
|
14
|
+
},
|
15
|
+
{ id: STRUCTURE, name: 'Structure' },
|
16
|
+
{
|
17
|
+
id: TABLETS,
|
18
|
+
name: 'Tablets',
|
19
|
+
},
|
20
|
+
];
|
21
|
+
export function getDefaultNodePath(nodeId, query = {}) {
|
22
|
+
return createHref(routes.node, {
|
23
|
+
id: nodeId,
|
24
|
+
activeTab: OVERVIEW,
|
25
|
+
}, query);
|
26
|
+
}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import './NodeStructure.scss';
|
3
|
+
export declare function valueIsDefined<T>(value: T | null | undefined): value is T;
|
4
|
+
interface NodeStructureProps {
|
5
|
+
nodeId: string;
|
6
|
+
className?: string;
|
7
|
+
}
|
8
|
+
declare function NodeStructure({ nodeId, className }: NodeStructureProps): JSX.Element;
|
9
|
+
export default NodeStructure;
|
@@ -0,0 +1,86 @@
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
2
|
+
import { useEffect, useRef } from 'react';
|
3
|
+
import { useDispatch } from 'react-redux';
|
4
|
+
import url from 'url';
|
5
|
+
import { isEmpty } from 'lodash/fp';
|
6
|
+
import cn from 'bem-cn-lite';
|
7
|
+
import { Loader } from '../.././../components/Loader';
|
8
|
+
import { getNodeStructure } from '../../../store/reducers/node/node';
|
9
|
+
import { selectNodeStructure } from '../../../store/reducers/node/selectors';
|
10
|
+
import { AutoFetcher } from '../../../utils/autofetcher';
|
11
|
+
import { useTypedSelector } from '../../../utils/hooks';
|
12
|
+
import { PDisk } from './Pdisk';
|
13
|
+
import './NodeStructure.scss';
|
14
|
+
const b = cn('kv-node-structure');
|
15
|
+
export function valueIsDefined(value) {
|
16
|
+
return value !== null && value !== undefined;
|
17
|
+
}
|
18
|
+
function generateId({ type, id }) {
|
19
|
+
return `${type}-${id}`;
|
20
|
+
}
|
21
|
+
const autofetcher = new AutoFetcher();
|
22
|
+
function NodeStructure({ nodeId, className }) {
|
23
|
+
const dispatch = useDispatch();
|
24
|
+
const nodeStructure = useTypedSelector(selectNodeStructure);
|
25
|
+
const { loadingStructure, wasLoadedStructure } = useTypedSelector((state) => state.node);
|
26
|
+
const { pdiskId: pdiskIdFromUrl, vdiskId: vdiskIdFromUrl } = url.parse(window.location.href, true).query;
|
27
|
+
const scrollContainerRef = useRef(null);
|
28
|
+
const isReady = useRef(false);
|
29
|
+
const scrolled = useRef(false);
|
30
|
+
useEffect(() => {
|
31
|
+
dispatch(getNodeStructure(nodeId));
|
32
|
+
autofetcher.start();
|
33
|
+
autofetcher.fetch(() => dispatch(getNodeStructure(nodeId)));
|
34
|
+
return () => {
|
35
|
+
scrolled.current = false;
|
36
|
+
isReady.current = false;
|
37
|
+
autofetcher.stop();
|
38
|
+
};
|
39
|
+
}, [nodeId, dispatch]);
|
40
|
+
useEffect(() => {
|
41
|
+
if (!isEmpty(nodeStructure) && scrollContainerRef.current) {
|
42
|
+
isReady.current = true;
|
43
|
+
}
|
44
|
+
}, [nodeStructure]);
|
45
|
+
useEffect(() => {
|
46
|
+
var _a;
|
47
|
+
if (isReady.current && !scrolled.current && scrollContainerRef.current) {
|
48
|
+
const element = document.getElementById(generateId({ type: 'pdisk', id: pdiskIdFromUrl }));
|
49
|
+
let scrollToVdisk = 0;
|
50
|
+
if (vdiskIdFromUrl) {
|
51
|
+
const vDisks = (_a = nodeStructure[pdiskIdFromUrl]) === null || _a === void 0 ? void 0 : _a.vDisks;
|
52
|
+
const vDisk = vDisks === null || vDisks === void 0 ? void 0 : vDisks.find((el) => el.id === vdiskIdFromUrl);
|
53
|
+
const dataTable = vDisk ? document.querySelector('.data-table') : undefined;
|
54
|
+
const order = (vDisk === null || vDisk === void 0 ? void 0 : vDisk.order) || 0;
|
55
|
+
if (dataTable) {
|
56
|
+
scrollToVdisk += dataTable.offsetTop + 40 * order;
|
57
|
+
}
|
58
|
+
}
|
59
|
+
if (element) {
|
60
|
+
scrollContainerRef.current.scrollTo({
|
61
|
+
behavior: 'smooth',
|
62
|
+
// should subtract 20 to avoid sticking the element to tabs
|
63
|
+
top: scrollToVdisk ? scrollToVdisk : element.offsetTop,
|
64
|
+
});
|
65
|
+
scrolled.current = true;
|
66
|
+
}
|
67
|
+
}
|
68
|
+
}, [nodeStructure, pdiskIdFromUrl, vdiskIdFromUrl]);
|
69
|
+
const renderStub = () => {
|
70
|
+
return 'There is no information about node structure.';
|
71
|
+
};
|
72
|
+
const renderStructure = () => {
|
73
|
+
const pDisksIds = Object.keys(nodeStructure);
|
74
|
+
return pDisksIds.length > 0
|
75
|
+
? pDisksIds.map((pDiskId) => (_jsx(PDisk, { data: nodeStructure[pDiskId], id: generateId({ type: 'pdisk', id: pDiskId }), unfolded: pdiskIdFromUrl === pDiskId, selectedVdiskId: vdiskIdFromUrl, nodeId: nodeId }, pDiskId)))
|
76
|
+
: renderStub();
|
77
|
+
};
|
78
|
+
const renderContent = () => {
|
79
|
+
if (loadingStructure && !wasLoadedStructure) {
|
80
|
+
return _jsx(Loader, { size: "m" });
|
81
|
+
}
|
82
|
+
return renderStructure();
|
83
|
+
};
|
84
|
+
return (_jsx("div", Object.assign({ className: b(), ref: scrollContainerRef }, { children: _jsx("div", Object.assign({ className: className }, { children: renderContent() })) })));
|
85
|
+
}
|
86
|
+
export default NodeStructure;
|
@@ -0,0 +1,6 @@
|
|
1
|
+
import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
|
2
|
+
import cn from 'bem-cn-lite';
|
3
|
+
const b = cn('kv-node-structure');
|
4
|
+
export function PDiskTitleBadge({ label, value, className }) {
|
5
|
+
return (_jsxs("span", Object.assign({ className: b('pdisk-title-item', className) }, { children: [label && _jsxs("span", Object.assign({ className: b('pdisk-title-item-label') }, { children: [label, ":"] })), _jsx("span", Object.assign({ className: b('pdisk-title-item-value') }, { children: value }))] })));
|
6
|
+
}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import type { PreparedStructurePDisk } from '../../../store/reducers/node/types';
|
3
|
+
interface PDiskProps {
|
4
|
+
data: PreparedStructurePDisk;
|
5
|
+
unfolded?: boolean;
|
6
|
+
id: string;
|
7
|
+
selectedVdiskId?: string;
|
8
|
+
nodeId: string | number;
|
9
|
+
}
|
10
|
+
export declare function PDisk({ id, data, selectedVdiskId, nodeId, unfolded: unfoldedFromProps, }: PDiskProps): JSX.Element;
|
11
|
+
export {};
|
@@ -0,0 +1,169 @@
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
2
|
+
import { useState } from 'react';
|
3
|
+
import cn from 'bem-cn-lite';
|
4
|
+
import { isEmpty } from 'lodash/fp';
|
5
|
+
import { ArrowToggle, Button, Popover } from '@gravity-ui/uikit';
|
6
|
+
import DataTable from '@gravity-ui/react-data-table';
|
7
|
+
import { EVDiskState } from '../../../types/api/vdisk';
|
8
|
+
import { bytesToGB } from '../../../utils/utils';
|
9
|
+
import { formatStorageValuesToGb } from '../../../utils/dataFormatters/dataFormatters';
|
10
|
+
import { getPDiskType } from '../../../utils/pdisk';
|
11
|
+
import { DEFAULT_TABLE_SETTINGS } from '../../../utils/constants';
|
12
|
+
import { createPDiskDeveloperUILink, createVDiskDeveloperUILink, } from '../../../utils/developerUI/developerUI';
|
13
|
+
import EntityStatus from '../../../components/EntityStatus/EntityStatus';
|
14
|
+
import InfoViewer from '../../../components/InfoViewer/InfoViewer';
|
15
|
+
import { ProgressViewer } from '../../../components/ProgressViewer/ProgressViewer';
|
16
|
+
import { Icon } from '../../../components/Icon';
|
17
|
+
import i18n from '../i18n';
|
18
|
+
import { Vdisk } from './Vdisk';
|
19
|
+
import { valueIsDefined } from './NodeStructure';
|
20
|
+
import { PDiskTitleBadge } from './PDiskTitleBadge';
|
21
|
+
const b = cn('kv-node-structure');
|
22
|
+
var VDiskTableColumnsIds;
|
23
|
+
(function (VDiskTableColumnsIds) {
|
24
|
+
VDiskTableColumnsIds["slotId"] = "VDiskSlotId";
|
25
|
+
VDiskTableColumnsIds["VDiskState"] = "VDiskState";
|
26
|
+
VDiskTableColumnsIds["Size"] = "Size";
|
27
|
+
VDiskTableColumnsIds["Info"] = "Info";
|
28
|
+
})(VDiskTableColumnsIds || (VDiskTableColumnsIds = {}));
|
29
|
+
const vDiskTableColumnsNames = {
|
30
|
+
VDiskSlotId: 'Slot id',
|
31
|
+
VDiskState: 'Status',
|
32
|
+
Size: 'Size',
|
33
|
+
Info: '',
|
34
|
+
};
|
35
|
+
function getColumns({ pDiskId, selectedVdiskId, nodeId, }) {
|
36
|
+
const columns = [
|
37
|
+
{
|
38
|
+
name: VDiskTableColumnsIds.slotId,
|
39
|
+
header: vDiskTableColumnsNames[VDiskTableColumnsIds.slotId],
|
40
|
+
width: 100,
|
41
|
+
render: ({ row }) => {
|
42
|
+
const vDiskSlotId = row.VDiskSlotId;
|
43
|
+
let vdiskInternalViewerLink = null;
|
44
|
+
if (valueIsDefined(nodeId) &&
|
45
|
+
valueIsDefined(pDiskId) &&
|
46
|
+
valueIsDefined(vDiskSlotId)) {
|
47
|
+
vdiskInternalViewerLink = createVDiskDeveloperUILink({
|
48
|
+
nodeId,
|
49
|
+
pDiskId,
|
50
|
+
vDiskSlotId,
|
51
|
+
});
|
52
|
+
}
|
53
|
+
return (_jsxs("div", Object.assign({ className: b('vdisk-id', { selected: row.id === selectedVdiskId }) }, { children: [_jsx("span", { children: vDiskSlotId }), vdiskInternalViewerLink && (_jsx(Button, Object.assign({ size: "s", className: b('external-button', { hidden: true }), href: vdiskInternalViewerLink, target: "_blank", title: i18n('vdisk.developer-ui-button-title') }, { children: _jsx(Icon, { name: "external" }) })))] })));
|
54
|
+
},
|
55
|
+
align: DataTable.LEFT,
|
56
|
+
},
|
57
|
+
{
|
58
|
+
name: VDiskTableColumnsIds.VDiskState,
|
59
|
+
header: vDiskTableColumnsNames[VDiskTableColumnsIds.VDiskState],
|
60
|
+
width: 70,
|
61
|
+
render: ({ row }) => {
|
62
|
+
return (_jsx(EntityStatus, { status: row.VDiskState === EVDiskState.OK ? 'green' : 'red' }));
|
63
|
+
},
|
64
|
+
sortAccessor: (row) => (row.VDiskState === EVDiskState.OK ? 1 : 0),
|
65
|
+
align: DataTable.CENTER,
|
66
|
+
},
|
67
|
+
{
|
68
|
+
name: VDiskTableColumnsIds.Size,
|
69
|
+
header: vDiskTableColumnsNames[VDiskTableColumnsIds.Size],
|
70
|
+
width: 100,
|
71
|
+
render: ({ row }) => {
|
72
|
+
return (_jsx(ProgressViewer, { value: row.AllocatedSize, capacity: Number(row.AllocatedSize) + Number(row.AvailableSize), formatValues: formatStorageValuesToGb, colorizeProgress: true }));
|
73
|
+
},
|
74
|
+
sortAccessor: (row) => Number(row.AllocatedSize),
|
75
|
+
align: DataTable.CENTER,
|
76
|
+
},
|
77
|
+
{
|
78
|
+
name: VDiskTableColumnsIds.Info,
|
79
|
+
header: vDiskTableColumnsNames[VDiskTableColumnsIds.Info],
|
80
|
+
width: 70,
|
81
|
+
render: ({ row }) => {
|
82
|
+
return (_jsx(Popover, Object.assign({ placement: ['right'], content: _jsx(Vdisk, Object.assign({}, row)), tooltipContentClassName: b('vdisk-details') }, { children: _jsx(Button, Object.assign({ view: "flat-secondary", className: b('vdisk-details-button', {
|
83
|
+
selected: row.id === selectedVdiskId,
|
84
|
+
}) }, { children: _jsx(Icon, { name: "information", viewBox: "0 0 512 512", height: 16, width: 16 }) })) })));
|
85
|
+
},
|
86
|
+
sortable: false,
|
87
|
+
},
|
88
|
+
];
|
89
|
+
return columns;
|
90
|
+
}
|
91
|
+
export function PDisk({ id, data, selectedVdiskId, nodeId, unfolded: unfoldedFromProps, }) {
|
92
|
+
const [unfolded, setUnfolded] = useState(unfoldedFromProps !== null && unfoldedFromProps !== void 0 ? unfoldedFromProps : false);
|
93
|
+
const { TotalSize = 0, AvailableSize = 0, Device, Guid, PDiskId, Path, Realtime, State, Category, SerialNumber, vDisks, } = data;
|
94
|
+
const total = Number(TotalSize);
|
95
|
+
const available = Number(AvailableSize);
|
96
|
+
const onOpenPDiskDetails = () => {
|
97
|
+
setUnfolded(true);
|
98
|
+
};
|
99
|
+
const onClosePDiskDetails = () => {
|
100
|
+
setUnfolded(false);
|
101
|
+
};
|
102
|
+
const renderVDisks = () => {
|
103
|
+
return (_jsx(DataTable, { theme: "yandex-cloud", data: vDisks, columns: getColumns({ nodeId, pDiskId: PDiskId, selectedVdiskId }), settings: Object.assign(Object.assign({}, DEFAULT_TABLE_SETTINGS), { dynamicRender: false }), rowClassName: (row) => {
|
104
|
+
return row.id === selectedVdiskId ? b('selected-vdisk') : '';
|
105
|
+
} }));
|
106
|
+
};
|
107
|
+
const renderPDiskDetails = () => {
|
108
|
+
if (isEmpty(data)) {
|
109
|
+
return _jsx("div", { children: "No information about PDisk" });
|
110
|
+
}
|
111
|
+
let pDiskInternalViewerLink = null;
|
112
|
+
if (valueIsDefined(PDiskId) && valueIsDefined(nodeId)) {
|
113
|
+
pDiskInternalViewerLink = createPDiskDeveloperUILink({
|
114
|
+
nodeId,
|
115
|
+
pDiskId: PDiskId,
|
116
|
+
});
|
117
|
+
}
|
118
|
+
const pdiskInfo = [
|
119
|
+
{
|
120
|
+
label: 'PDisk Id',
|
121
|
+
value: (_jsxs("div", Object.assign({ className: b('pdisk-id') }, { children: [PDiskId, pDiskInternalViewerLink && (_jsx(Button, Object.assign({ size: "s", className: b('external-button'), href: pDiskInternalViewerLink, target: "_blank", view: "flat-secondary", title: i18n('pdisk.developer-ui-button-title') }, { children: _jsx(Icon, { name: "external" }) })))] }))),
|
122
|
+
},
|
123
|
+
];
|
124
|
+
if (valueIsDefined(Path)) {
|
125
|
+
pdiskInfo.push({ label: 'Path', value: Path });
|
126
|
+
}
|
127
|
+
if (valueIsDefined(Guid)) {
|
128
|
+
pdiskInfo.push({ label: 'GUID', value: Guid });
|
129
|
+
}
|
130
|
+
if (valueIsDefined(Category)) {
|
131
|
+
pdiskInfo.push({ label: 'Category', value: Category });
|
132
|
+
pdiskInfo.push({ label: 'Type', value: getPDiskType(data) });
|
133
|
+
}
|
134
|
+
pdiskInfo.push({
|
135
|
+
label: 'Allocated Size',
|
136
|
+
value: bytesToGB(total - available),
|
137
|
+
});
|
138
|
+
pdiskInfo.push({
|
139
|
+
label: 'Available Size',
|
140
|
+
value: bytesToGB(available),
|
141
|
+
});
|
142
|
+
if (total >= 0 && available >= 0) {
|
143
|
+
pdiskInfo.push({
|
144
|
+
label: 'Size',
|
145
|
+
value: (_jsx(ProgressViewer, { value: total - available, capacity: total, formatValues: formatStorageValuesToGb, colorizeProgress: true, className: b('size') })),
|
146
|
+
});
|
147
|
+
}
|
148
|
+
if (valueIsDefined(State)) {
|
149
|
+
pdiskInfo.push({ label: 'State', value: State });
|
150
|
+
}
|
151
|
+
if (valueIsDefined(Device)) {
|
152
|
+
pdiskInfo.push({
|
153
|
+
label: 'Device',
|
154
|
+
value: _jsx(EntityStatus, { status: Device }),
|
155
|
+
});
|
156
|
+
}
|
157
|
+
if (valueIsDefined(Realtime)) {
|
158
|
+
pdiskInfo.push({
|
159
|
+
label: 'Realtime',
|
160
|
+
value: _jsx(EntityStatus, { status: Realtime }),
|
161
|
+
});
|
162
|
+
}
|
163
|
+
if (valueIsDefined(SerialNumber)) {
|
164
|
+
pdiskInfo.push({ label: 'SerialNumber', value: SerialNumber });
|
165
|
+
}
|
166
|
+
return (_jsxs("div", { children: [_jsx(InfoViewer, { className: b('pdisk-details'), info: pdiskInfo }), _jsxs("div", Object.assign({ className: b('vdisks-container') }, { children: [_jsx("div", Object.assign({ className: b('vdisks-header') }, { children: "VDisks" })), renderVDisks()] }))] }));
|
167
|
+
};
|
168
|
+
return (_jsxs("div", Object.assign({ className: b('pdisk'), id: id }, { children: [_jsxs("div", Object.assign({ className: b('pdisk-header') }, { children: [_jsxs("div", Object.assign({ className: b('pdisk-title-wrapper') }, { children: [_jsx(EntityStatus, { status: Device }), _jsx(PDiskTitleBadge, { label: "PDiskID", value: PDiskId, className: b('pdisk-title-id') }), _jsx(PDiskTitleBadge, { value: getPDiskType(data), className: b('pdisk-title-type') }), _jsx(ProgressViewer, { value: total - available, capacity: total, formatValues: formatStorageValuesToGb, colorizeProgress: true, className: b('pdisk-title-size') }), _jsx(PDiskTitleBadge, { label: "VDisks", value: vDisks.length })] })), _jsx(Button, Object.assign({ onClick: unfolded ? onClosePDiskDetails : onOpenPDiskDetails, view: "flat-secondary" }, { children: _jsx(ArrowToggle, { direction: unfolded ? 'top' : 'bottom' }) }))] })), unfolded && renderPDiskDetails()] })));
|
169
|
+
}
|
@@ -0,0 +1,3 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import type { TVDiskStateInfo } from '../../../types/api/vdisk';
|
3
|
+
export declare function Vdisk({ AllocatedSize, DiskSpace, FrontQueues, Guid, Replicated, VDiskState, VDiskId, VDiskSlotId, Kind, SatisfactionRank, AvailableSize, HasUnreadableBlobs, IncarnationGuid, InstanceGuid, StoragePoolName, ReadThroughput, WriteThroughput, }: TVDiskStateInfo): JSX.Element;
|
@@ -0,0 +1,84 @@
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
2
|
+
import React from 'react';
|
3
|
+
import cn from 'bem-cn-lite';
|
4
|
+
import { formatStorageValuesToGb, stringifyVdiskId, } from '../../../utils/dataFormatters/dataFormatters';
|
5
|
+
import { bytesToGB, bytesToSpeed } from '../../../utils/utils';
|
6
|
+
import EntityStatus from '../../../components/EntityStatus/EntityStatus';
|
7
|
+
import InfoViewer from '../../../components/InfoViewer/InfoViewer';
|
8
|
+
import { ProgressViewer } from '../../../components/ProgressViewer/ProgressViewer';
|
9
|
+
import { valueIsDefined } from './NodeStructure';
|
10
|
+
const b = cn('kv-node-structure');
|
11
|
+
export function Vdisk({ AllocatedSize, DiskSpace, FrontQueues, Guid, Replicated, VDiskState, VDiskId, VDiskSlotId, Kind, SatisfactionRank, AvailableSize, HasUnreadableBlobs, IncarnationGuid, InstanceGuid, StoragePoolName, ReadThroughput, WriteThroughput, }) {
|
12
|
+
var _a, _b, _c, _d;
|
13
|
+
const vdiskInfo = [];
|
14
|
+
if (valueIsDefined(VDiskSlotId)) {
|
15
|
+
vdiskInfo.push({ label: 'VDisk Slot Id', value: VDiskSlotId });
|
16
|
+
}
|
17
|
+
if (valueIsDefined(Guid)) {
|
18
|
+
vdiskInfo.push({ label: 'GUID', value: Guid });
|
19
|
+
}
|
20
|
+
if (valueIsDefined(Kind)) {
|
21
|
+
vdiskInfo.push({ label: 'Kind', value: Kind });
|
22
|
+
}
|
23
|
+
if (valueIsDefined(VDiskState)) {
|
24
|
+
vdiskInfo.push({
|
25
|
+
label: 'VDisk State',
|
26
|
+
value: VDiskState,
|
27
|
+
});
|
28
|
+
}
|
29
|
+
if (valueIsDefined(DiskSpace)) {
|
30
|
+
vdiskInfo.push({
|
31
|
+
label: 'Disk Space',
|
32
|
+
value: _jsx(EntityStatus, { status: DiskSpace }),
|
33
|
+
});
|
34
|
+
}
|
35
|
+
if (valueIsDefined((_a = SatisfactionRank === null || SatisfactionRank === void 0 ? void 0 : SatisfactionRank.FreshRank) === null || _a === void 0 ? void 0 : _a.Flag)) {
|
36
|
+
vdiskInfo.push({
|
37
|
+
label: 'Fresh Rank Satisfaction',
|
38
|
+
value: _jsx(EntityStatus, { status: (_b = SatisfactionRank === null || SatisfactionRank === void 0 ? void 0 : SatisfactionRank.FreshRank) === null || _b === void 0 ? void 0 : _b.Flag }),
|
39
|
+
});
|
40
|
+
}
|
41
|
+
if (valueIsDefined((_c = SatisfactionRank === null || SatisfactionRank === void 0 ? void 0 : SatisfactionRank.LevelRank) === null || _c === void 0 ? void 0 : _c.Flag)) {
|
42
|
+
vdiskInfo.push({
|
43
|
+
label: 'Level Rank Satisfaction',
|
44
|
+
value: _jsx(EntityStatus, { status: (_d = SatisfactionRank === null || SatisfactionRank === void 0 ? void 0 : SatisfactionRank.LevelRank) === null || _d === void 0 ? void 0 : _d.Flag }),
|
45
|
+
});
|
46
|
+
}
|
47
|
+
vdiskInfo.push({ label: 'Replicated', value: Replicated ? 'Yes' : 'No' });
|
48
|
+
vdiskInfo.push({ label: 'Allocated Size', value: bytesToGB(AllocatedSize) });
|
49
|
+
vdiskInfo.push({ label: 'Available Size', value: bytesToGB(AvailableSize) });
|
50
|
+
if (Number(AllocatedSize) >= 0 && Number(AvailableSize) >= 0) {
|
51
|
+
vdiskInfo.push({
|
52
|
+
label: 'Size',
|
53
|
+
value: (_jsx(ProgressViewer, { value: AllocatedSize, capacity: Number(AllocatedSize) + Number(AvailableSize), formatValues: formatStorageValuesToGb, colorizeProgress: true })),
|
54
|
+
});
|
55
|
+
}
|
56
|
+
vdiskInfo.push({
|
57
|
+
label: 'Has Unreadable Blobs',
|
58
|
+
value: HasUnreadableBlobs ? 'Yes' : 'No',
|
59
|
+
});
|
60
|
+
if (valueIsDefined(IncarnationGuid)) {
|
61
|
+
vdiskInfo.push({ label: 'Incarnation GUID', value: IncarnationGuid });
|
62
|
+
}
|
63
|
+
if (valueIsDefined(InstanceGuid)) {
|
64
|
+
vdiskInfo.push({ label: 'Instance GUID', value: InstanceGuid });
|
65
|
+
}
|
66
|
+
if (valueIsDefined(FrontQueues)) {
|
67
|
+
vdiskInfo.push({
|
68
|
+
label: 'Front Queues',
|
69
|
+
value: _jsx(EntityStatus, { status: FrontQueues }),
|
70
|
+
});
|
71
|
+
}
|
72
|
+
if (valueIsDefined(StoragePoolName)) {
|
73
|
+
vdiskInfo.push({ label: 'Storage Pool Name', value: StoragePoolName });
|
74
|
+
}
|
75
|
+
vdiskInfo.push({
|
76
|
+
label: 'Read Throughput',
|
77
|
+
value: bytesToSpeed(ReadThroughput),
|
78
|
+
});
|
79
|
+
vdiskInfo.push({
|
80
|
+
label: 'Write Throughput',
|
81
|
+
value: bytesToSpeed(WriteThroughput),
|
82
|
+
});
|
83
|
+
return (_jsxs(React.Fragment, { children: [_jsxs("div", Object.assign({ className: b('row') }, { children: [_jsx("span", Object.assign({ className: b('title') }, { children: "VDisk " })), _jsx(EntityStatus, { status: VDiskState === 'OK' ? 'green' : 'red', name: stringifyVdiskId(VDiskId) })] })), _jsx("div", Object.assign({ className: b('column') }, { children: _jsx(InfoViewer, { className: b('section'), info: vdiskInfo }) }))] }));
|
84
|
+
}
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import { i18n, Lang } from '../../../utils/i18n';
|
2
|
+
import en from './en.json';
|
3
|
+
import ru from './ru.json';
|
4
|
+
const COMPONENT = 'ydb-node-page';
|
5
|
+
i18n.registerKeyset(Lang.En, COMPONENT, en);
|
6
|
+
i18n.registerKeyset(Lang.Ru, COMPONENT, ru);
|
7
|
+
export default i18n.keyset(COMPONENT);
|
@@ -1,4 +1,4 @@
|
|
1
1
|
{
|
2
|
-
|
3
|
-
|
2
|
+
"pdisk.developer-ui-button-title": "Страница PDisk в Developer UI",
|
3
|
+
"vdisk.developer-ui-button-title": "Страница VDisk в Developer UI"
|
4
4
|
}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import type { AdditionalNodesProps } from '../../types/additionalProps';
|
2
|
+
import './Nodes.scss';
|
3
|
+
interface NodesProps {
|
4
|
+
path?: string;
|
5
|
+
additionalNodesProps?: AdditionalNodesProps;
|
6
|
+
}
|
7
|
+
export declare const Nodes: ({ path, additionalNodesProps }: NodesProps) => JSX.Element;
|
8
|
+
export {};
|
@@ -0,0 +1,87 @@
|
|
1
|
+
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
2
|
+
import { useCallback, useEffect } from 'react';
|
3
|
+
import cn from 'bem-cn-lite';
|
4
|
+
import { useDispatch } from 'react-redux';
|
5
|
+
import DataTable from '@gravity-ui/react-data-table';
|
6
|
+
import { ASCENDING } from '@gravity-ui/react-data-table/build/esm/lib/constants';
|
7
|
+
import { AccessDenied } from '../../components/Errors/403';
|
8
|
+
import { Illustration } from '../../components/Illustration';
|
9
|
+
import { Search } from '../../components/Search';
|
10
|
+
import { ProblemFilter } from '../../components/ProblemFilter';
|
11
|
+
import { UptimeFilter } from '../../components/UptimeFIlter';
|
12
|
+
import { EntitiesCount } from '../../components/EntitiesCount';
|
13
|
+
import { TableWithControlsLayout } from '../../components/TableWithControlsLayout/TableWithControlsLayout';
|
14
|
+
import { ResponseError } from '../../components/Errors/ResponseError';
|
15
|
+
import { DEFAULT_TABLE_SETTINGS, USE_NODES_ENDPOINT_IN_DIAGNOSTICS_KEY } from '../../utils/constants';
|
16
|
+
import { useAutofetcher, useSetting, useTypedSelector, useTableSort } from '../../utils/hooks';
|
17
|
+
import { isSortableNodesProperty, isUnavailableNode, NodesUptimeFilterValues, } from '../../utils/nodes';
|
18
|
+
import { getNodes, setNodesUptimeFilter, setSearchValue, resetNodesState, getComputeNodes, setDataWasNotLoaded, setSort, } from '../../store/reducers/nodes/nodes';
|
19
|
+
import { selectFilteredNodes } from '../../store/reducers/nodes/selectors';
|
20
|
+
import { changeFilter, ProblemFilterValues } from '../../store/reducers/settings/settings';
|
21
|
+
import { getNodesColumns } from './getNodesColumns';
|
22
|
+
import './Nodes.scss';
|
23
|
+
import i18n from './i18n';
|
24
|
+
const b = cn('ydb-nodes');
|
25
|
+
export const Nodes = ({ path, additionalNodesProps = {} }) => {
|
26
|
+
const dispatch = useDispatch();
|
27
|
+
const isClusterNodes = !path;
|
28
|
+
// Since Nodes component is used in several places,
|
29
|
+
// we need to reset filters, searchValue and loading state
|
30
|
+
// in nodes reducer when path changes
|
31
|
+
useEffect(() => {
|
32
|
+
dispatch(resetNodesState());
|
33
|
+
}, [dispatch, path]);
|
34
|
+
const { wasLoaded, loading, error, nodesUptimeFilter, searchValue, sortOrder = ASCENDING, sortValue = 'NodeId', totalNodes, } = useTypedSelector((state) => state.nodes);
|
35
|
+
const problemFilter = useTypedSelector((state) => state.settings.problemFilter);
|
36
|
+
const { autorefresh } = useTypedSelector((state) => state.schema);
|
37
|
+
const nodes = useTypedSelector(selectFilteredNodes);
|
38
|
+
const [useNodesEndpoint] = useSetting(USE_NODES_ENDPOINT_IN_DIAGNOSTICS_KEY);
|
39
|
+
const fetchNodes = useCallback((isBackground) => {
|
40
|
+
if (!isBackground) {
|
41
|
+
dispatch(setDataWasNotLoaded());
|
42
|
+
}
|
43
|
+
// If there is no path, it's cluster Nodes tab
|
44
|
+
if (path && !useNodesEndpoint) {
|
45
|
+
dispatch(getComputeNodes({ path }));
|
46
|
+
}
|
47
|
+
else {
|
48
|
+
dispatch(getNodes({ path }));
|
49
|
+
}
|
50
|
+
}, [dispatch, path, useNodesEndpoint]);
|
51
|
+
useAutofetcher(fetchNodes, [fetchNodes], isClusterNodes ? true : autorefresh);
|
52
|
+
const [sort, handleSort] = useTableSort({ sortValue, sortOrder }, (sortParams) => dispatch(setSort(sortParams)));
|
53
|
+
const handleSearchQueryChange = (value) => {
|
54
|
+
dispatch(setSearchValue(value));
|
55
|
+
};
|
56
|
+
const handleProblemFilterChange = (value) => {
|
57
|
+
dispatch(changeFilter(value));
|
58
|
+
};
|
59
|
+
const handleUptimeFilterChange = (value) => {
|
60
|
+
dispatch(setNodesUptimeFilter(value));
|
61
|
+
};
|
62
|
+
const renderControls = () => {
|
63
|
+
return (_jsxs(_Fragment, { children: [_jsx(Search, { onChange: handleSearchQueryChange, placeholder: "Host name", className: b('search'), value: searchValue }), _jsx(ProblemFilter, { value: problemFilter, onChange: handleProblemFilterChange }), _jsx(UptimeFilter, { value: nodesUptimeFilter, onChange: handleUptimeFilterChange }), _jsx(EntitiesCount, { total: totalNodes, current: (nodes === null || nodes === void 0 ? void 0 : nodes.length) || 0, label: 'Nodes', loading: loading && !wasLoaded })] }));
|
64
|
+
};
|
65
|
+
const renderTable = () => {
|
66
|
+
const rawColumns = getNodesColumns({
|
67
|
+
getNodeRef: additionalNodesProps.getNodeRef,
|
68
|
+
});
|
69
|
+
const columns = rawColumns.map((column) => {
|
70
|
+
return Object.assign(Object.assign({}, column), { sortable: isSortableNodesProperty(column.name) });
|
71
|
+
});
|
72
|
+
if (nodes && nodes.length === 0) {
|
73
|
+
if (problemFilter !== ProblemFilterValues.ALL ||
|
74
|
+
nodesUptimeFilter !== NodesUptimeFilterValues.All) {
|
75
|
+
return _jsx(Illustration, { name: "thumbsUp", width: "200" });
|
76
|
+
}
|
77
|
+
}
|
78
|
+
return (_jsx(DataTable, { theme: "yandex-cloud", data: nodes || [], columns: columns, settings: DEFAULT_TABLE_SETTINGS, sortOrder: sort, onSort: handleSort, emptyDataMessage: i18n('empty.default'), rowClassName: (row) => b('node', { unavailable: isUnavailableNode(row) }) }));
|
79
|
+
};
|
80
|
+
if (error) {
|
81
|
+
if (error.status === 403) {
|
82
|
+
return _jsx(AccessDenied, {});
|
83
|
+
}
|
84
|
+
return _jsx(ResponseError, { error: error });
|
85
|
+
}
|
86
|
+
return (_jsxs(TableWithControlsLayout, { children: [_jsx(TableWithControlsLayout.Controls, { children: renderControls() }), _jsx(TableWithControlsLayout.Table, Object.assign({ loading: loading && !wasLoaded, className: b('table') }, { children: renderTable() }))] }));
|
87
|
+
};
|