ydb-embedded-ui 6.15.1 → 6.17.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/components/ContentWithPopup/ContentWithPopup.d.ts +2 -1
- package/dist/components/ContentWithPopup/ContentWithPopup.js +9 -2
- package/dist/components/ContentWithPopup/ContentWithPopup.js.map +1 -1
- package/dist/components/ElapsedTime/ElapsedTime.js +2 -1
- package/dist/components/ElapsedTime/ElapsedTime.js.map +1 -1
- package/dist/components/EmptyState/EmptyState.d.ts +6 -0
- package/dist/components/EmptyState/EmptyState.js +6 -0
- package/dist/components/EmptyState/EmptyState.js.map +1 -1
- package/dist/components/EntitiesCount/EntitiesCount.js +3 -1
- package/dist/components/EntitiesCount/EntitiesCount.js.map +1 -1
- package/dist/components/EntityPageTitle/EntityPageTitle.d.ts +11 -0
- package/dist/components/{DiskPageTitle/DiskPageTitle.js → EntityPageTitle/EntityPageTitle.js} +5 -5
- package/dist/components/EntityPageTitle/EntityPageTitle.js.map +1 -0
- package/dist/components/{DiskPageTitle/DiskPageTitle.scss → EntityPageTitle/EntityPageTitle.scss} +1 -1
- package/dist/components/ErrorBoundary/ErrorBoundary.scss +2 -0
- package/dist/components/FullNodeViewer/FullNodeViewer.js +1 -1
- package/dist/components/FullNodeViewer/FullNodeViewer.js.map +1 -1
- package/dist/components/InfoViewer/InfoViewer.d.ts +0 -1
- package/dist/components/InfoViewer/InfoViewer.js +0 -1
- package/dist/components/InfoViewer/InfoViewer.js.map +1 -1
- package/dist/components/InfoViewer/index.d.ts +1 -1
- package/dist/components/InfoViewer/index.js +1 -1
- package/dist/components/InfoViewer/index.js.map +1 -1
- package/dist/components/InfoViewerSkeleton/InfoViewerSkeleton.d.ts +2 -1
- package/dist/components/InfoViewerSkeleton/InfoViewerSkeleton.js +10 -1
- package/dist/components/InfoViewerSkeleton/InfoViewerSkeleton.js.map +1 -1
- package/dist/components/MetricChart/reducer.d.ts +2 -2
- package/dist/components/NodeHostWrapper/NodeHostWrapper.d.ts +2 -1
- package/dist/components/NodeHostWrapper/NodeHostWrapper.js +2 -2
- package/dist/components/NodeHostWrapper/NodeHostWrapper.js.map +1 -1
- package/dist/components/NotRenderUntilFirstVisible/NotRenderUntilFirstVisible.d.ts +9 -0
- package/dist/components/NotRenderUntilFirstVisible/NotRenderUntilFirstVisible.js +9 -0
- package/dist/components/NotRenderUntilFirstVisible/NotRenderUntilFirstVisible.js.map +1 -0
- package/dist/components/NotRenderUntilFirstVisible/NotRenderUntilFirstVisible.scss +3 -0
- package/dist/components/PageMeta/PageMeta.d.ts +2 -1
- package/dist/components/PageMeta/PageMeta.js +9 -4
- package/dist/components/PageMeta/PageMeta.js.map +1 -1
- package/dist/components/PageMeta/PageMeta.scss +9 -6
- package/dist/components/PaginatedTable/PaginatedTable.d.ts +5 -4
- package/dist/components/PaginatedTable/PaginatedTable.js +24 -116
- package/dist/components/PaginatedTable/PaginatedTable.js.map +1 -1
- package/dist/components/PaginatedTable/PaginatedTable.scss +8 -0
- package/dist/components/PaginatedTable/ResizeablePaginatedTable.d.ts +2 -2
- package/dist/components/PaginatedTable/ResizeablePaginatedTable.js.map +1 -1
- package/dist/components/PaginatedTable/TableChunk.d.ts +13 -5
- package/dist/components/PaginatedTable/TableChunk.js +53 -22
- package/dist/components/PaginatedTable/TableChunk.js.map +1 -1
- package/dist/components/PaginatedTable/TableHead.js +1 -1
- package/dist/components/PaginatedTable/TableHead.js.map +1 -1
- package/dist/components/PaginatedTable/TableRow.js +1 -1
- package/dist/components/PaginatedTable/TableRow.js.map +1 -1
- package/dist/components/PaginatedTable/types.d.ts +8 -1
- package/dist/components/Skeleton/Skeleton.d.ts +6 -0
- package/dist/components/Skeleton/Skeleton.js +11 -0
- package/dist/components/Skeleton/Skeleton.js.map +1 -0
- package/dist/components/Tablet/Tablet.js +2 -2
- package/dist/components/Tablet/Tablet.js.map +1 -1
- package/dist/components/TabletState/TabletState.d.ts +6 -0
- package/dist/components/TabletState/TabletState.js +7 -0
- package/dist/components/TabletState/TabletState.js.map +1 -0
- package/dist/components/TabletsStatistic/TabletsStatistic.d.ts +2 -2
- package/dist/components/TabletsStatistic/TabletsStatistic.js +4 -6
- package/dist/components/TabletsStatistic/TabletsStatistic.js.map +1 -1
- package/dist/components/YDBDefinitionList/YDBDefinitionList.d.ts +9 -0
- package/dist/components/YDBDefinitionList/YDBDefinitionList.js +23 -0
- package/dist/components/YDBDefinitionList/YDBDefinitionList.js.map +1 -0
- package/dist/{containers/Tenant/Info/View/View.scss → components/YDBDefinitionList/YDBDefinitionList.scss} +6 -6
- package/dist/components/YDBDefinitionList/i18n/en.json +3 -0
- package/dist/components/YDBDefinitionList/i18n/index.d.ts +2 -0
- package/dist/components/YDBDefinitionList/i18n/index.js +5 -0
- package/dist/components/YDBDefinitionList/i18n/index.js.map +1 -0
- package/dist/containers/App/Content.js +1 -7
- package/dist/containers/App/Content.js.map +1 -1
- package/dist/containers/App/appSlots.d.ts +0 -6
- package/dist/containers/App/appSlots.js +0 -1
- package/dist/containers/App/appSlots.js.map +1 -1
- package/dist/containers/Cluster/Cluster.js +13 -22
- package/dist/containers/Cluster/Cluster.js.map +1 -1
- package/dist/containers/Cluster/Cluster.scss +14 -0
- package/dist/containers/Cluster/ClusterInfo/ClusterInfo.d.ts +3 -3
- package/dist/containers/Cluster/ClusterInfo/ClusterInfo.js +18 -2
- package/dist/containers/Cluster/ClusterInfo/ClusterInfo.js.map +1 -1
- package/dist/containers/Cluster/i18n/index.d.ts +1 -1
- package/dist/containers/Header/Header.js +6 -7
- package/dist/containers/Header/Header.js.map +1 -1
- package/dist/containers/Header/breadcrumbs.js +26 -30
- package/dist/containers/Header/breadcrumbs.js.map +1 -1
- package/dist/containers/Heatmap/HeatmapCanvas/HeatmapCanvas.js +2 -2
- package/dist/containers/Heatmap/HeatmapCanvas/HeatmapCanvas.js.map +1 -1
- package/dist/containers/Node/Node.js +12 -6
- package/dist/containers/Node/Node.js.map +1 -1
- package/dist/containers/Node/NodePages.d.ts +2 -1
- package/dist/containers/Node/NodePages.js +2 -2
- package/dist/containers/Node/NodePages.js.map +1 -1
- package/dist/containers/Nodes/Nodes.d.ts +2 -1
- package/dist/containers/Nodes/Nodes.js +3 -2
- package/dist/containers/Nodes/Nodes.js.map +1 -1
- package/dist/containers/Nodes/NodesWrapper.d.ts +1 -0
- package/dist/containers/Nodes/NodesWrapper.js.map +1 -1
- package/dist/containers/Nodes/PaginatedNodes.d.ts +2 -1
- package/dist/containers/Nodes/PaginatedNodes.js +7 -18
- package/dist/containers/Nodes/PaginatedNodes.js.map +1 -1
- package/dist/containers/Nodes/getNodes.d.ts +3 -6
- package/dist/containers/Nodes/getNodes.js +19 -2
- package/dist/containers/Nodes/getNodes.js.map +1 -1
- package/dist/containers/Nodes/getNodesColumns.d.ts +3 -3
- package/dist/containers/Nodes/getNodesColumns.js +9 -9
- package/dist/containers/Nodes/getNodesColumns.js.map +1 -1
- package/dist/containers/PDiskPage/PDiskGroups/PDiskGroups.js +2 -2
- package/dist/containers/PDiskPage/PDiskGroups/PDiskGroups.js.map +1 -1
- package/dist/containers/PDiskPage/PDiskPage.js +4 -5
- package/dist/containers/PDiskPage/PDiskPage.js.map +1 -1
- package/dist/containers/PDiskPage/PDiskPage.scss +0 -7
- package/dist/containers/PDiskPage/i18n/index.d.ts +1 -1
- package/dist/containers/Storage/PaginatedStorage.d.ts +2 -2
- package/dist/containers/Storage/PaginatedStorage.js +3 -3
- package/dist/containers/Storage/PaginatedStorage.js.map +1 -1
- package/dist/containers/Storage/Storage.d.ts +2 -2
- package/dist/containers/Storage/Storage.js +4 -4
- package/dist/containers/Storage/Storage.js.map +1 -1
- package/dist/containers/Storage/StorageGroups/PaginatedStorageGroups.d.ts +2 -2
- package/dist/containers/Storage/StorageGroups/PaginatedStorageGroups.js +5 -17
- package/dist/containers/Storage/StorageGroups/PaginatedStorageGroups.js.map +1 -1
- package/dist/containers/Storage/StorageGroups/getGroups.d.ts +3 -6
- package/dist/containers/Storage/StorageGroups/getGroups.js +15 -2
- package/dist/containers/Storage/StorageGroups/getGroups.js.map +1 -1
- package/dist/containers/Storage/StorageGroups/getStorageGroupsColumns.d.ts +1 -1
- package/dist/containers/Storage/StorageGroups/getStorageGroupsColumns.js +1 -1
- package/dist/containers/Storage/StorageGroups/getStorageGroupsColumns.js.map +1 -1
- package/dist/containers/Storage/StorageNodes/PaginatedStorageNodes.d.ts +2 -2
- package/dist/containers/Storage/StorageNodes/PaginatedStorageNodes.js +8 -20
- package/dist/containers/Storage/StorageNodes/PaginatedStorageNodes.js.map +1 -1
- package/dist/containers/Storage/StorageNodes/StorageNodes.d.ts +2 -1
- package/dist/containers/Storage/StorageNodes/StorageNodes.js +2 -2
- package/dist/containers/Storage/StorageNodes/StorageNodes.js.map +1 -1
- package/dist/containers/Storage/StorageNodes/getNodes.d.ts +3 -5
- package/dist/containers/Storage/StorageNodes/getNodes.js +17 -2
- package/dist/containers/Storage/StorageNodes/getNodes.js.map +1 -1
- package/dist/containers/Storage/StorageNodes/getStorageNodesColumns.d.ts +1 -1
- package/dist/containers/Storage/StorageNodes/getStorageNodesColumns.js +4 -4
- package/dist/containers/Storage/StorageNodes/getStorageNodesColumns.js.map +1 -1
- package/dist/containers/Storage/StorageWrapper.d.ts +1 -1
- package/dist/containers/Tablet/Tablet.d.ts +1 -1
- package/dist/containers/Tablet/Tablet.js +118 -54
- package/dist/containers/Tablet/Tablet.js.map +1 -1
- package/dist/containers/Tablet/Tablet.scss +4 -81
- package/dist/containers/Tablet/components/TabletControls/TabletControls.d.ts +6 -0
- package/dist/containers/Tablet/components/TabletControls/TabletControls.js +27 -0
- package/dist/containers/Tablet/components/TabletControls/TabletControls.js.map +1 -0
- package/dist/containers/Tablet/components/TabletControls/index.js.map +1 -0
- package/dist/containers/Tablet/components/TabletInfo/TabletInfo.d.ts +7 -0
- package/dist/containers/Tablet/components/TabletInfo/TabletInfo.js +59 -0
- package/dist/containers/Tablet/components/TabletInfo/TabletInfo.js.map +1 -0
- package/dist/containers/Tablet/components/TabletInfo/TabletInfo.scss +12 -0
- package/dist/containers/Tablet/components/TabletInfo/i18n/en.json +16 -0
- package/dist/containers/Tablet/components/TabletInfo/i18n/index.d.ts +1 -0
- package/dist/containers/Tablet/components/TabletInfo/i18n/index.js +5 -0
- package/dist/containers/Tablet/components/TabletInfo/i18n/index.js.map +1 -0
- package/dist/containers/Tablet/components/TabletInfo/index.js.map +1 -0
- package/dist/containers/Tablet/components/TabletStorageInfo/TabletStorageInfo.d.ts +7 -0
- package/dist/containers/Tablet/components/TabletStorageInfo/TabletStorageInfo.js +36 -0
- package/dist/containers/Tablet/components/TabletStorageInfo/TabletStorageInfo.js.map +1 -0
- package/dist/containers/Tablet/components/TabletStorageInfo/TabletStorageInfo.scss +78 -0
- package/dist/containers/Tablet/components/TabletStorageInfo/columns.d.ts +3 -0
- package/dist/containers/Tablet/components/TabletStorageInfo/columns.js +56 -0
- package/dist/containers/Tablet/components/TabletStorageInfo/columns.js.map +1 -0
- package/dist/containers/Tablet/components/TabletStorageInfo/i18n/en.json +7 -0
- package/dist/containers/Tablet/components/TabletStorageInfo/i18n/index.d.ts +1 -0
- package/dist/containers/Tablet/components/TabletStorageInfo/i18n/index.js +5 -0
- package/dist/containers/Tablet/components/TabletStorageInfo/i18n/index.js.map +1 -0
- package/dist/containers/Tablet/components/TabletStorageInfo/shared.d.ts +1 -0
- package/dist/containers/Tablet/components/TabletStorageInfo/shared.js +3 -0
- package/dist/containers/Tablet/components/TabletStorageInfo/shared.js.map +1 -0
- package/dist/containers/Tablet/components/TabletStorageInfo/types.d.ts +5 -0
- package/dist/containers/Tablet/components/TabletStorageInfo/types.js +2 -0
- package/dist/containers/Tablet/components/TabletStorageInfo/types.js.map +1 -0
- package/dist/containers/Tablet/components/TabletStorageInfo/utils.d.ts +3 -0
- package/dist/containers/Tablet/components/TabletStorageInfo/utils.js +29 -0
- package/dist/containers/Tablet/components/TabletStorageInfo/utils.js.map +1 -0
- package/dist/containers/Tablet/{TabletTable → components/TabletTable}/TabletTable.d.ts +1 -1
- package/dist/containers/Tablet/{TabletTable → components/TabletTable}/TabletTable.js +7 -6
- package/dist/containers/Tablet/components/TabletTable/TabletTable.js.map +1 -0
- package/dist/containers/Tablet/components/TabletTable/index.js.map +1 -0
- package/dist/containers/Tablet/i18n/en.json +5 -1
- package/dist/containers/Tablet/i18n/index.d.ts +1 -1
- package/dist/containers/Tablet/utils.d.ts +1 -0
- package/dist/containers/Tablet/utils.js +4 -0
- package/dist/containers/Tablet/utils.js.map +1 -0
- package/dist/containers/Tablets/Tablets.d.ts +2 -1
- package/dist/containers/Tablets/Tablets.js +100 -90
- package/dist/containers/Tablets/Tablets.js.map +1 -1
- package/dist/containers/Tablets/i18n/index.d.ts +1 -1
- package/dist/containers/Tenant/Acl/Acl.scss +2 -2
- package/dist/containers/Tenant/Diagnostics/Describe/Describe.js +10 -9
- package/dist/containers/Tenant/Diagnostics/Describe/Describe.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/Describe/Describe.scss +13 -2
- package/dist/containers/Tenant/Diagnostics/Diagnostics.js +3 -3
- package/dist/containers/Tenant/Diagnostics/Diagnostics.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/Overview/AsyncReplicationInfo/AsyncReplicationInfo.js +39 -20
- package/dist/containers/Tenant/Diagnostics/Overview/AsyncReplicationInfo/AsyncReplicationInfo.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/Overview/TableInfo/prepareTableInfo.js +21 -11
- package/dist/containers/Tenant/Diagnostics/Overview/TableInfo/prepareTableInfo.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TenantStorage.js +1 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TenantStorage.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/TopShards/getTopShardsColumns.js +2 -2
- package/dist/containers/Tenant/Diagnostics/TopShards/getTopShardsColumns.js.map +1 -1
- package/dist/containers/Tenant/Info/View/View.d.ts +0 -1
- package/dist/containers/Tenant/Info/View/View.js +3 -5
- package/dist/containers/Tenant/Info/View/View.js.map +1 -1
- package/dist/containers/Tenant/ObjectGeneral/ObjectGeneral.js +3 -8
- package/dist/containers/Tenant/ObjectGeneral/ObjectGeneral.js.map +1 -1
- package/dist/containers/Tenant/ObjectSummary/ObjectSummary.js +1 -1
- package/dist/containers/Tenant/ObjectSummary/ObjectSummary.js.map +1 -1
- package/dist/containers/Tenant/ObjectSummary/ObjectSummary.scss +3 -0
- package/dist/containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/SimplifiedPlan.js +2 -5
- package/dist/containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/SimplifiedPlan.js.map +1 -1
- package/dist/containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/utils.d.ts +0 -1
- package/dist/containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/utils.js +0 -21
- package/dist/containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/utils.js.map +1 -1
- package/dist/containers/Tenant/Query/QueriesHistory/QueriesHistory.js +19 -1
- package/dist/containers/Tenant/Query/QueriesHistory/QueriesHistory.js.map +1 -1
- package/dist/containers/Tenant/Query/Query.js +2 -14
- package/dist/containers/Tenant/Query/Query.js.map +1 -1
- package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.js +4 -4
- package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.js.map +1 -1
- package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettings.test.js +1 -1
- package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettings.test.js.map +1 -1
- package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettingsDescription.test.js +1 -1
- package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettingsDescription.test.js.map +1 -1
- package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsDialog.js +3 -3
- package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsDialog.js.map +1 -1
- package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.d.ts +8 -8
- package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.js +6 -6
- package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.js.map +1 -1
- package/dist/containers/Tenant/Query/i18n/en.json +4 -1
- package/dist/containers/Tenant/Query/i18n/index.d.ts +1 -1
- package/dist/containers/Tenant/Query/utils/useSavedQueries.js +2 -1
- package/dist/containers/Tenant/Query/utils/useSavedQueries.js.map +1 -1
- package/dist/containers/Tenant/Schema/SchemaViewer/KeysView.d.ts +8 -0
- package/dist/containers/Tenant/Schema/SchemaViewer/KeysView.js +15 -0
- package/dist/containers/Tenant/Schema/SchemaViewer/KeysView.js.map +1 -0
- package/dist/containers/Tenant/Schema/SchemaViewer/SchemaViewer.js +7 -13
- package/dist/containers/Tenant/Schema/SchemaViewer/SchemaViewer.js.map +1 -1
- package/dist/containers/Tenant/Schema/SchemaViewer/SchemaViewer.scss +62 -3
- package/dist/containers/Tenant/Schema/SchemaViewer/columns.js +3 -21
- package/dist/containers/Tenant/Schema/SchemaViewer/columns.js.map +1 -1
- package/dist/containers/Tenant/Schema/SchemaViewer/i18n/en.json +3 -2
- package/dist/containers/Tenant/Schema/SchemaViewer/i18n/index.d.ts +1 -1
- package/dist/containers/Tenant/Schema/SchemaViewer/prepareData.js +13 -23
- package/dist/containers/Tenant/Schema/SchemaViewer/prepareData.js.map +1 -1
- package/dist/containers/Tenant/Schema/SchemaViewer/types.d.ts +2 -3
- package/dist/containers/Tenant/Schema/SchemaViewer/utils.d.ts +3 -0
- package/dist/containers/Tenant/Schema/SchemaViewer/utils.js +9 -0
- package/dist/containers/Tenant/Schema/SchemaViewer/utils.js.map +1 -0
- package/dist/containers/Tenant/utils/queryTemplates.js +6 -5
- package/dist/containers/Tenant/utils/queryTemplates.js.map +1 -1
- package/dist/containers/Tenants/Tenants.js +2 -2
- package/dist/containers/Tenants/Tenants.js.map +1 -1
- package/dist/containers/UserSettings/i18n/en.json +0 -3
- package/dist/containers/UserSettings/i18n/index.d.ts +1 -1
- package/dist/containers/UserSettings/settings.d.ts +0 -1
- package/dist/containers/UserSettings/settings.js +2 -10
- package/dist/containers/UserSettings/settings.js.map +1 -1
- package/dist/containers/VDiskPage/VDiskPage.d.ts +4 -0
- package/dist/containers/VDiskPage/VDiskPage.js +17 -14
- package/dist/containers/VDiskPage/VDiskPage.js.map +1 -1
- package/dist/containers/VDiskPage/VDiskPage.scss +9 -4
- package/dist/containers/VDiskPage/i18n/index.d.ts +1 -1
- package/dist/containers/Versions/GroupedNodesTree/GroupedNodesTree.d.ts +2 -2
- package/dist/containers/Versions/GroupedNodesTree/GroupedNodesTree.js.map +1 -1
- package/dist/containers/Versions/NodesTable/NodesTable.d.ts +2 -2
- package/dist/containers/Versions/NodesTable/NodesTable.js.map +1 -1
- package/dist/containers/Versions/NodesTreeTitle/NodesTreeTitle.d.ts +2 -2
- package/dist/containers/Versions/NodesTreeTitle/NodesTreeTitle.js.map +1 -1
- package/dist/containers/Versions/Versions.js +3 -2
- package/dist/containers/Versions/Versions.js.map +1 -1
- package/dist/containers/Versions/groupNodes.d.ts +4 -4
- package/dist/containers/Versions/groupNodes.js.map +1 -1
- package/dist/containers/Versions/types.d.ts +2 -2
- package/dist/routes.d.ts +1 -0
- package/dist/routes.js +3 -0
- package/dist/routes.js.map +1 -1
- package/dist/services/api.d.ts +19 -12
- package/dist/services/api.js +45 -15
- package/dist/services/api.js.map +1 -1
- package/dist/services/settings.d.ts +1 -2
- package/dist/services/settings.js +1 -2
- package/dist/services/settings.js.map +1 -1
- package/dist/store/configureStore.d.ts +6 -10
- package/dist/store/defaultStore.d.ts +3 -5
- package/dist/store/reducers/api.d.ts +1 -1
- package/dist/store/reducers/api.js +1 -1
- package/dist/store/reducers/api.js.map +1 -1
- package/dist/store/reducers/authentication/authentication.d.ts +4 -4
- package/dist/store/reducers/cancelQuery.d.ts +2 -2
- package/dist/store/reducers/capabilities/capabilities.d.ts +6 -10
- package/dist/store/reducers/capabilities/hooks.d.ts +1 -0
- package/dist/store/reducers/capabilities/hooks.js +3 -0
- package/dist/store/reducers/capabilities/hooks.js.map +1 -1
- package/dist/store/reducers/cluster/cluster.d.ts +2 -2
- package/dist/store/reducers/clusters/clusters.d.ts +2 -2
- package/dist/store/reducers/describe.d.ts +2 -2
- package/dist/store/reducers/executeQuery.d.ts +18 -4
- package/dist/store/reducers/executeQuery.js +50 -5
- package/dist/store/reducers/executeQuery.js.map +1 -1
- package/dist/store/reducers/executeTopQueries/executeTopQueries.d.ts +2 -2
- package/dist/store/reducers/explainQuery/explainQuery.d.ts +2 -2
- package/dist/store/reducers/header/types.d.ts +7 -7
- package/dist/store/reducers/healthcheckInfo/healthcheckInfo.d.ts +58 -78
- package/dist/store/reducers/heatmap.d.ts +2 -2
- package/dist/store/reducers/heatmap.js +2 -2
- package/dist/store/reducers/heatmap.js.map +1 -1
- package/dist/store/reducers/hotKeys/hotKeys.d.ts +2 -2
- package/dist/store/reducers/index.d.ts +5 -8
- package/dist/store/reducers/index.js +0 -2
- package/dist/store/reducers/index.js.map +1 -1
- package/dist/store/reducers/network/network.d.ts +2 -2
- package/dist/store/reducers/node/node.d.ts +3 -3
- package/dist/store/reducers/node/selectors.d.ts +1 -2
- package/dist/store/reducers/nodes/nodes.d.ts +3 -3
- package/dist/store/reducers/nodes/types.d.ts +17 -1
- package/dist/store/reducers/nodes/utils.js +6 -0
- package/dist/store/reducers/nodes/utils.js.map +1 -1
- package/dist/store/reducers/nodesList.d.ts +3 -4
- package/dist/store/reducers/overview/overview.d.ts +2 -2
- package/dist/store/reducers/partitions/partitions.d.ts +2 -2
- package/dist/store/reducers/pdisk/pdisk.d.ts +3 -3
- package/dist/store/reducers/preview.d.ts +2 -2
- package/dist/store/reducers/schema/schema.d.ts +3 -3
- package/dist/store/reducers/schemaAcl/schemaAcl.d.ts +2 -2
- package/dist/store/reducers/shardsWorkload/shardsWorkload.d.ts +2 -2
- package/dist/store/reducers/storage/storage.d.ts +3 -3
- package/dist/store/reducers/storage/types.d.ts +15 -0
- package/dist/store/reducers/storage/types.js.map +1 -1
- package/dist/store/reducers/tableData.d.ts +14 -0
- package/dist/store/reducers/tableData.js +25 -0
- package/dist/store/reducers/tableData.js.map +1 -0
- package/dist/store/reducers/tablet.d.ts +20 -3
- package/dist/store/reducers/tablet.js +82 -13
- package/dist/store/reducers/tablet.js.map +1 -1
- package/dist/store/reducers/tablets.d.ts +15 -23
- package/dist/store/reducers/tablets.js +2 -20
- package/dist/store/reducers/tablets.js.map +1 -1
- package/dist/store/reducers/tenant/tenant.d.ts +2 -2
- package/dist/store/reducers/tenantOverview/executeTopTables/executeTopTables.d.ts +2 -2
- package/dist/store/reducers/tenantOverview/topNodes/topNodes.d.ts +2 -2
- package/dist/store/reducers/tenantOverview/topShards/tenantOverviewTopShards.d.ts +2 -2
- package/dist/store/reducers/tenantOverview/topStorageGroups/topStorageGroups.d.ts +2 -2
- package/dist/store/reducers/tenants/selectors.d.ts +30 -40
- package/dist/store/reducers/tenants/selectors.js +9 -8
- package/dist/store/reducers/tenants/selectors.js.map +1 -1
- package/dist/store/reducers/tenants/tenants.d.ts +2 -2
- package/dist/store/reducers/topic.d.ts +44 -59
- package/dist/store/reducers/vdisk/types.d.ts +1 -1
- package/dist/store/reducers/vdisk/vdisk.d.ts +3 -3
- package/dist/store/reducers/viewSchema/viewSchema.d.ts +2 -2
- package/dist/store/state-url-mapping.d.ts +0 -8
- package/dist/store/state-url-mapping.js +0 -8
- package/dist/store/state-url-mapping.js.map +1 -1
- package/dist/styles/mixins.scss +3 -3
- package/dist/types/api/capabilities.d.ts +1 -1
- package/dist/types/api/nodes.d.ts +5 -0
- package/dist/types/api/nodes.js.map +1 -1
- package/dist/types/api/schema/shared.d.ts +1 -3
- package/dist/types/api/schema/shared.js.map +1 -1
- package/dist/types/api/schema/table.d.ts +2 -0
- package/dist/types/api/schema/table.js.map +1 -1
- package/dist/types/api/tablet.d.ts +22 -0
- package/dist/types/store/executeQuery.d.ts +5 -2
- package/dist/types/store/heatmap.d.ts +0 -1
- package/dist/types/store/tablets.d.ts +2 -1
- package/dist/utils/constants.d.ts +2 -2
- package/dist/utils/constants.js +2 -2
- package/dist/utils/constants.js.map +1 -1
- package/dist/utils/dataFormatters/dataFormatters.d.ts +1 -0
- package/dist/utils/dataFormatters/dataFormatters.js +5 -0
- package/dist/utils/dataFormatters/dataFormatters.js.map +1 -1
- package/dist/utils/developerUI/developerUI.d.ts +1 -1
- package/dist/utils/developerUI/developerUI.js +3 -2
- package/dist/utils/developerUI/developerUI.js.map +1 -1
- package/dist/utils/hooks/useQueryExecutionSettings.js +3 -2
- package/dist/utils/hooks/useQueryExecutionSettings.js.map +1 -1
- package/dist/utils/versions/parseNodesToVersionsValues.d.ts +7 -0
- package/dist/utils/versions/parseNodesToVersionsValues.js +10 -0
- package/dist/utils/versions/parseNodesToVersionsValues.js.map +1 -1
- package/package.json +2 -1
- package/dist/components/DiskPageTitle/DiskPageTitle.d.ts +0 -10
- package/dist/components/DiskPageTitle/DiskPageTitle.js.map +0 -1
- package/dist/components/PaginatedTable/reducer.d.ts +0 -43
- package/dist/components/PaginatedTable/reducer.js +0 -104
- package/dist/components/PaginatedTable/reducer.js.map +0 -1
- package/dist/containers/Tablet/TabletControls/TabletControls.d.ts +0 -7
- package/dist/containers/Tablet/TabletControls/TabletControls.js +0 -29
- package/dist/containers/Tablet/TabletControls/TabletControls.js.map +0 -1
- package/dist/containers/Tablet/TabletControls/index.js.map +0 -1
- package/dist/containers/Tablet/TabletInfo/TabletInfo.d.ts +0 -7
- package/dist/containers/Tablet/TabletInfo/TabletInfo.js +0 -40
- package/dist/containers/Tablet/TabletInfo/TabletInfo.js.map +0 -1
- package/dist/containers/Tablet/TabletInfo/index.js.map +0 -1
- package/dist/containers/Tablet/TabletTable/TabletTable.js.map +0 -1
- package/dist/containers/Tablet/TabletTable/index.js.map +0 -1
- package/dist/containers/TabletsFilters/TabletsFilters.d.ts +0 -2
- package/dist/containers/TabletsFilters/TabletsFilters.js +0 -91
- package/dist/containers/TabletsFilters/TabletsFilters.js.map +0 -1
- package/dist/containers/TabletsFilters/TabletsFilters.scss +0 -80
- package/dist/containers/TabletsFilters/i18n/en.json +0 -3
- package/dist/containers/TabletsFilters/i18n/index.d.ts +0 -2
- package/dist/containers/TabletsFilters/i18n/index.js +0 -6
- package/dist/containers/TabletsFilters/i18n/index.js.map +0 -1
- package/dist/containers/TabletsFilters/i18n/ru.json +0 -3
- package/dist/store/reducers/clusterNodes/clusterNodes.d.ts +0 -5
- package/dist/store/reducers/clusterNodes/clusterNodes.js +0 -22
- package/dist/store/reducers/clusterNodes/clusterNodes.js.map +0 -1
- package/dist/store/reducers/tabletsFilters.d.ts +0 -45
- package/dist/store/reducers/tabletsFilters.js +0 -20
- package/dist/store/reducers/tabletsFilters.js.map +0 -1
- /package/dist/containers/Tablet/{TabletControls → components/TabletControls}/index.d.ts +0 -0
- /package/dist/containers/Tablet/{TabletControls → components/TabletControls}/index.js +0 -0
- /package/dist/containers/Tablet/{TabletInfo → components/TabletInfo}/index.d.ts +0 -0
- /package/dist/containers/Tablet/{TabletInfo → components/TabletInfo}/index.js +0 -0
- /package/dist/containers/Tablet/{TabletTable → components/TabletTable}/index.d.ts +0 -0
- /package/dist/containers/Tablet/{TabletTable → components/TabletTable}/index.js +0 -0
package/dist/utils/constants.js
CHANGED
@@ -98,7 +98,7 @@ export const TENANT_OVERVIEW_TABLES_SETTINGS = {
|
|
98
98
|
dynamicRender: false,
|
99
99
|
};
|
100
100
|
export const DEFAULT_QUERY_SETTINGS = {
|
101
|
-
queryMode: QUERY_MODES.
|
101
|
+
queryMode: QUERY_MODES.query,
|
102
102
|
isolationLevel: ISOLATION_LEVELS.serializable,
|
103
103
|
timeout: '60',
|
104
104
|
statisticsMode: STATISTICS_MODES.none,
|
@@ -122,5 +122,5 @@ export const USE_CLUSTER_BALANCER_AS_BACKEND_KEY = 'useClusterBalancerAsBacked';
|
|
122
122
|
export const ENABLE_AUTOCOMPLETE = 'enableAutocomplete';
|
123
123
|
export const AUTOCOMPLETE_ON_ENTER = 'autocompleteOnEnter';
|
124
124
|
export const IS_HOTKEYS_HELP_HIDDEN_KEY = 'isHotKeysHelpHidden';
|
125
|
-
export const
|
125
|
+
export const DEV_ENABLE_TRACING_FOR_ALL_REQUESTS = 'enable_tracing_for_all_requests';
|
126
126
|
//# sourceMappingURL=constants.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/utils/constants.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,8BAA8B,CAAC;AAGrD,OAAO,EAAC,KAAK,EAAC,MAAM,qBAAqB,CAAC;AAG1C,OAAO,EAAC,gBAAgB,EAAE,WAAW,EAAE,gBAAgB,EAAE,cAAc,EAAC,MAAM,SAAS,CAAC;AAExF,MAAM,MAAM,GAAG,IAAI,CAAC;AAEpB,MAAM,CAAC,MAAM,oBAAoB,GAAG,EAAE,GAAG,MAAM,CAAC;AAChD,MAAM,CAAC,MAAM,wBAAwB,GAAG,EAAE,GAAG,MAAM,CAAC;AACpD,yDAAyD;AACzD,6DAA6D;AAC7D,8DAA8D;AAC9D,MAAM,CAAC,MAAM,QAAQ,GAAG,IAAK,CAAC;AAC9B,MAAM,CAAC,MAAM,QAAQ,GAAG,OAAS,CAAC;AAClC,MAAM,CAAC,MAAM,QAAQ,GAAG,UAAa,CAAC;AACtC,MAAM,CAAC,MAAM,QAAQ,GAAG,aAAiB,CAAC;AAE1C,MAAM,CAAC,MAAM,YAAY,GAAG,IAAI,CAAC;AACjC,MAAM,CAAC,MAAM,iBAAiB,GAAG,EAAE,CAAC;AACpC,MAAM,CAAC,MAAM,eAAe,GAAG,EAAE,GAAG,iBAAiB,CAAC;AACtD,MAAM,CAAC,MAAM,cAAc,GAAG,EAAE,GAAG,eAAe,CAAC;AACnD,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,GAAG,cAAc,CAAC;AAElD,MAAM,CAAC,MAAM,iBAAiB,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AC,MAAM,sBAAsB,GAAG;IAClC,SAAS,EAAE,WAAW,CAAC,KAAK;IAC5B,cAAc,EAAE,gBAAgB,CAAC,YAAY;IAC7C,OAAO,EAAE,IAAI;IACb,cAAc,EAAE,gBAAgB,CAAC,IAAI;IACrC,YAAY,EAAE,cAAc,CAAC,QAAQ;CAChB,CAAC;AAE1B,MAAM,CAAC,MAAM,4BAA4B,GAAG,wBAAwB,CAAC;AACrE,MAAM,CAAC,MAAM,iCAAiC,GAAG,+BAA+B,CAAC;AACjF,MAAM,CAAC,MAAM,qCAAqC,GAAG,+BAA+B,CAAC;AAErF,MAAM,CAAC,MAAM,0BAA0B,GAAG,wBAAwB,CAAC;AAEnE,MAAM,CAAC,MAAM,6BAA6B,GAAG,yBAAyB,CAAC;AAEvE,sDAAsD;AACtD,MAAM,CAAC,MAAM,uBAAuB,GAAG,0BAA0B,CAAC;AAElE,kCAAkC;AAClC,2CAA2C;AAC3C,MAAM,CAAC,MAAM,wBAAwB,GAAG,2BAA2B,CAAC;AAEpE,0CAA0C;AAC1C,MAAM,CAAC,MAAM,wBAAwB,GAAG,oBAAoB,CAAC;AAE7D,kDAAkD;AAClD,MAAM,CAAC,MAAM,0BAA0B,GAAG,qBAAqB,CAAC;AAEhE,MAAM,CAAC,MAAM,mCAAmC,GAAG,4BAA4B,CAAC;AAEhF,MAAM,CAAC,MAAM,mBAAmB,GAAG,oBAAoB,CAAC;AAExD,MAAM,CAAC,MAAM,qBAAqB,GAAG,qBAAqB,CAAC;AAE3D,MAAM,CAAC,MAAM,0BAA0B,GAAG,qBAAqB,CAAC;AAEhE,MAAM,CAAC,MAAM,mCAAmC,GAAG,iCAAiC,CAAC"}
|
@@ -14,6 +14,7 @@ export declare const roundToPrecision: (value: number | string, precision?: numb
|
|
14
14
|
export declare const formatCPU: (value?: number | string) => string | undefined;
|
15
15
|
export declare const formatCPUWithLabel: (value?: number) => string | undefined;
|
16
16
|
export declare const formatDateTime: (value?: number | string, defaultValue?: string) => string;
|
17
|
+
export declare const formatTimestamp: (value?: string | number, defaultValue?: string) => string;
|
17
18
|
export declare const calcUptimeInSeconds: (milliseconds: number | string) => number;
|
18
19
|
export declare const calcUptime: (milliseconds?: number | string) => string;
|
19
20
|
export declare function getStringifiedData(value: unknown): string;
|
@@ -102,6 +102,11 @@ export const formatDateTime = (value, defaultValue = '') => {
|
|
102
102
|
const formattedData = (_a = dateTimeParse(Number(value))) === null || _a === void 0 ? void 0 : _a.format('YYYY-MM-DD HH:mm');
|
103
103
|
return formattedData !== null && formattedData !== void 0 ? formattedData : defaultValue;
|
104
104
|
};
|
105
|
+
export const formatTimestamp = (value, defaultValue = '') => {
|
106
|
+
var _a;
|
107
|
+
const formattedData = (_a = dateTimeParse(value)) === null || _a === void 0 ? void 0 : _a.format('YYYY-MM-DD HH:mm:ss.SSS');
|
108
|
+
return formattedData !== null && formattedData !== void 0 ? formattedData : defaultValue;
|
109
|
+
};
|
105
110
|
export const calcUptimeInSeconds = (milliseconds) => {
|
106
111
|
const currentDate = new Date();
|
107
112
|
const diff = currentDate.getTime() - Number(milliseconds);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"dataFormatters.js","sourceRoot":"","sources":["../../../src/utils/dataFormatters/dataFormatters.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,aAAa,EAAC,MAAM,wBAAwB,CAAC;AAGrD,OAAO,EACH,WAAW,IAAI,iBAAiB,EAChC,4BAA4B,GAC/B,MAAM,6BAA6B,CAAC;AAErC,OAAO,EAAC,cAAc,EAAE,eAAe,EAAC,MAAM,cAAc,CAAC;AAC7D,OAAO,EAAC,iBAAiB,EAAC,MAAM,YAAY,CAAC;AAC7C,OAAO,EAAC,SAAS,EAAC,MAAM,UAAU,CAAC;AAEnC,OAAO,IAAI,MAAM,QAAQ,CAAC;AAE1B,sDAAsD;AACtD,gEAAgE;AAChE,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,KAAuB,EAAE,EAAE;IACnD,IAAI,CAAC,SAAS,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K,SAAS,EAAE,CAAC;QACtB,OAAO,EAAE,CAAC;IACd,CAAC;IACD,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE,CAAC;QAC5B,OAAO,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;IACjC,CAAC;SAAM,CAAC;QACJ,OAAO,KAAK,CAAC,QAAQ,EAAE,CAAC;IAC5B,CAAC;AACL,CAAC"}
|
@@ -9,5 +9,5 @@ interface VDiskDeveloperUILinkParams extends PDiskDeveloperUILinkParams {
|
|
9
9
|
vDiskSlotId: number | string;
|
10
10
|
}
|
11
11
|
export declare const createVDiskDeveloperUILink: ({ nodeId, pDiskId, vDiskSlotId, host, }: VDiskDeveloperUILinkParams) => string;
|
12
|
-
export declare function createTabletDeveloperUIHref(tabletId: number | string, host?: string | undefined): string;
|
12
|
+
export declare function createTabletDeveloperUIHref(tabletId: number | string, tabletPage?: string, searchParam?: string, host?: string | undefined): string;
|
13
13
|
export {};
|
@@ -18,7 +18,8 @@ export const createVDiskDeveloperUILink = ({ nodeId, pDiskId, vDiskSlotId, host,
|
|
18
18
|
const vdiskPath = 'actors/vdisks/vdisk' + pad9(pDiskId) + '_' + pad9(vDiskSlotId);
|
19
19
|
return createDeveloperUILinkWithNodeId(nodeId, host) + vdiskPath;
|
20
20
|
};
|
21
|
-
export function createTabletDeveloperUIHref(tabletId, host = backend) {
|
22
|
-
|
21
|
+
export function createTabletDeveloperUIHref(tabletId, tabletPage, searchParam = 'TabletID', host = backend) {
|
22
|
+
const subPage = tabletPage ? `/${tabletPage}` : '';
|
23
|
+
return `${host}/tablets${subPage}?${searchParam}=${tabletId}`;
|
23
24
|
}
|
24
25
|
//# sourceMappingURL=developerUI.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"developerUI.js","sourceRoot":"","sources":["../../../src/utils/developerUI/developerUI.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,EAAC,MAAM,aAAa,CAAC;AACpC,OAAO,EAAC,IAAI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C,CAAC,EAAE,CAAC;IACnD,OAAO,GAAG,IAAI,WAAW,OAAO,IAAI,WAAW,IAAI,QAAQ,EAAE,CAAC;AAClE,CAAC"}
|
@@ -1,7 +1,8 @@
|
|
1
|
-
import {
|
1
|
+
import { useTracingLevelOptionAvailable } from '../../store/reducers/capabilities/hooks';
|
2
|
+
import { DEFAULT_QUERY_SETTINGS, QUERY_EXECUTION_SETTINGS_KEY } from '../constants';
|
2
3
|
import { useSetting } from './useSetting';
|
3
4
|
export const useQueryExecutionSettings = () => {
|
4
|
-
const
|
5
|
+
const enableTracingLevel = useTracingLevelOptionAvailable();
|
5
6
|
const [setting, setSetting] = useSetting(QUERY_EXECUTION_SETTINGS_KEY);
|
6
7
|
return [
|
7
8
|
{
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"useQueryExecutionSettings.js","sourceRoot":"","sources":["../../../src/utils/hooks/useQueryExecutionSettings.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"useQueryExecutionSettings.js","sourceRoot":"","sources":["../../../src/utils/hooks/useQueryExecutionSettings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,8BAA8B,EAAC,MAAM,yCAAyC,CAAC;AAEvF,OAAO,EAAC,sBAAsB,EAAE,4BAA4B,EAAC,MAAM,cAAc,CAAC;AAElF,OAAO,EAAC,UAAU,EAAC,MAAM,cAAc,CAAC;AAExC,MAAM,CAAC,MAAM,yBAAyB,GAAG,GAAG,EAAE;IAC1C,MAAM,kBAAkB,GAAG,8BAA8B,EAAE,CAAC;IAC5D,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,UAAU,CAAgB,4BAA4B,CAAC,CAAC;IAEtF,OAAO;QACH;YACI,GAAG,OAAO;YACV,YAAY,EAAE,kBAAkB;gBAC5B,CAAC,CAAC,OAAO,CAAC,YAAY;gBACtB,CAAC,CAAC,sBAAsB,CAAC,YAAY;SAC5C;QACD,UAAU;KACJ,CAAC;AACf,CAAC,CAAC"}
|
@@ -1,3 +1,10 @@
|
|
1
|
+
import type { NodesGroup } from '../../store/reducers/nodes/types';
|
1
2
|
import type { TSystemStateInfo } from '../../types/api/nodes';
|
2
3
|
import type { VersionToColorMap, VersionValue } from '../../types/versions';
|
3
4
|
export declare const parseNodesToVersionsValues: (nodes?: TSystemStateInfo[], versionsToColor?: VersionToColorMap) => VersionValue[];
|
5
|
+
export declare function parseNodeGroupsToVersionsValues(groups: NodesGroup[], versionsToColor?: VersionToColorMap): {
|
6
|
+
title: string;
|
7
|
+
version: string;
|
8
|
+
color: string | undefined;
|
9
|
+
value: number;
|
10
|
+
}[];
|
@@ -20,4 +20,14 @@ export const parseNodesToVersionsValues = (nodes = [], versionsToColor) => {
|
|
20
20
|
};
|
21
21
|
});
|
22
22
|
};
|
23
|
+
export function parseNodeGroupsToVersionsValues(groups, versionsToColor) {
|
24
|
+
return groups.map((group) => {
|
25
|
+
return {
|
26
|
+
title: group.name,
|
27
|
+
version: group.name,
|
28
|
+
color: versionsToColor === null || versionsToColor === void 0 ? void 0 : versionsToColor.get(group.name),
|
29
|
+
value: group.count,
|
30
|
+
};
|
31
|
+
});
|
32
|
+
}
|
23
33
|
//# sourceMappingURL=parseNodesToVersionsValues.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"parseNodesToVersionsValues.js","sourceRoot":"","sources":["../../../src/utils/versions/parseNodesToVersionsValues.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"parseNodesToVersionsValues.js","sourceRoot":"","sources":["../../../src/utils/versions/parseNodesToVersionsValues.ts"],"names":[],"mappings":"AAIA,OAAO,EAAC,eAAe,EAAC,MAAM,gBAAgB,CAAC;AAE/C,MAAM,CAAC,MAAM,0BAA0B,GAAG,CACtC,QAA4B,EAAE,EAC9B,eAAmC,EACrB,EAAE;IAChB,MAAM,aAAa,GAAG,KAAK,CAAC,MAAM,CAAyB,CAAC,GAAG,EAAE,IAAI,EAAE,EAAE;QACrE,IAAI,IAAI,CAAC,OAAO,E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
|
"files": [
|
5
5
|
"dist"
|
6
6
|
],
|
@@ -38,6 +38,7 @@
|
|
38
38
|
"path-to-regexp": "^3.0.0",
|
39
39
|
"qs": "^6.12.0",
|
40
40
|
"react-error-boundary": "^4.0.13",
|
41
|
+
"react-freeze": "^1.0.4",
|
41
42
|
"react-helmet-async": "^2.0.5",
|
42
43
|
"react-hook-form": "^7.52.1",
|
43
44
|
"react-json-inspector": "^7.1.1",
|
@@ -1,10 +0,0 @@
|
|
1
|
-
import type { EFlag } from '../../types/api/enums';
|
2
|
-
import './DiskPageTitle.scss';
|
3
|
-
interface DiskPageTitleProps {
|
4
|
-
entityName: React.ReactNode;
|
5
|
-
status: EFlag;
|
6
|
-
id: React.ReactNode;
|
7
|
-
className?: string;
|
8
|
-
}
|
9
|
-
export declare function DiskPageTitle({ entityName, status, id, className }: DiskPageTitleProps): import("react/jsx-runtime").JSX.Element;
|
10
|
-
export {};
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"DiskPageTitle.js","sourceRoot":"","sources":["../../../src/components/DiskPageTitle/DiskPageTitle.tsx"],"names":[],"mappings":";AACA,OAAO,EAAC,EAAE,EAAC,MAAM,gBAAgB,CAAC;AAClC,OAAO,EAAC,UAAU,EAAC,MAAM,0BAA0B,CAAC;AAEpD,OAAO,sBAAsB,CAAC;AAE9B,MAAM,CAAC,GAAG,EAAE,CAAC,qBAAqB,CAAC,CAAC;AASpC,MAAM,UAAU,aAAa,CAAC,EAAC,UAAU,EAAE,MAAM,EAAE,EAAE,EAAE,SAAS,EAAqB;IACjF,OAAO,CACH,eAAK,SAAS,EAAE,CAAC,CAAC,IAAI,EAAE,SAAS,CAAC,aAC9B,eAAM,SAAS,EAAE,CAAC,CAAC,QAAQ,CAAC,YAAG,UAAU,GAAQ,EACjD,KAAC,UAAU,IAAC,SAAS,EAAE,CAAC,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAC,GAAG,GAAG,EAC5D,EAAE,IACD,CACT,CAAC;AACN,CAAC"}
|
@@ -1,43 +0,0 @@
|
|
1
|
-
import type { IResponseError } from '../../types/api/error';
|
2
|
-
import type { Chunk } from './types';
|
3
|
-
declare const SET_CHUNK_DATA = "infiniteTable/SET_CHUNK_DATA";
|
4
|
-
type PaginatedTableState<T> = Record<string, Chunk<T> | undefined>;
|
5
|
-
interface SetChunkDataAction<T> {
|
6
|
-
type: typeof SET_CHUNK_DATA;
|
7
|
-
data: {
|
8
|
-
id: string;
|
9
|
-
data: T[];
|
10
|
-
};
|
11
|
-
}
|
12
|
-
export declare const setChunkData: <T>(id: string, data: T[]) => SetChunkDataAction<T>;
|
13
|
-
export declare const setChunkError: (id: string, error: IResponseError) => {
|
14
|
-
readonly type: "infiniteTable/SET_CHUNK_ERROR";
|
15
|
-
readonly data: {
|
16
|
-
readonly id: string;
|
17
|
-
readonly error: IResponseError<unknown>;
|
18
|
-
};
|
19
|
-
};
|
20
|
-
export declare const initChunk: (id: string) => {
|
21
|
-
readonly type: "infiniteTable/INIT_CHUNK";
|
22
|
-
readonly data: {
|
23
|
-
readonly id: string;
|
24
|
-
};
|
25
|
-
};
|
26
|
-
export declare const setChunkLoading: (id: string) => {
|
27
|
-
readonly type: "infiniteTable/SET_CHUNK_LOADING";
|
28
|
-
readonly data: {
|
29
|
-
readonly id: string;
|
30
|
-
};
|
31
|
-
};
|
32
|
-
export declare const removeChunk: (id: string) => {
|
33
|
-
readonly type: "infiniteTable/REMOVE_CHUNK";
|
34
|
-
readonly data: {
|
35
|
-
readonly id: string;
|
36
|
-
};
|
37
|
-
};
|
38
|
-
export declare const resetChunks: () => {
|
39
|
-
readonly type: "infiniteTable/RESET_CHUNKS";
|
40
|
-
};
|
41
|
-
type PaginatedTableAction<T> = SetChunkDataAction<T> | ReturnType<typeof setChunkError> | ReturnType<typeof initChunk> | ReturnType<typeof setChunkLoading> | ReturnType<typeof removeChunk> | ReturnType<typeof resetChunks>;
|
42
|
-
export declare const createPaginatedTableReducer: <T>() => React.Reducer<PaginatedTableState<T>, PaginatedTableAction<T>>;
|
43
|
-
export {};
|
@@ -1,104 +0,0 @@
|
|
1
|
-
const INIT_CHUNK = 'infiniteTable/INIT_CHUNK';
|
2
|
-
const REMOVE_CHUNK = 'infiniteTable/REMOVE_CHUNK';
|
3
|
-
const SET_CHUNK_LOADING = 'infiniteTable/SET_CHUNK_LOADING';
|
4
|
-
const SET_CHUNK_DATA = 'infiniteTable/SET_CHUNK_DATA';
|
5
|
-
const SET_CHUNK_ERROR = 'infiniteTable/SET_CHUNK_ERROR';
|
6
|
-
const RESET_CHUNKS = 'infiniteTable/RESET_CHUNKS';
|
7
|
-
export const setChunkData = (id, data) => {
|
8
|
-
return {
|
9
|
-
type: SET_CHUNK_DATA,
|
10
|
-
data: { id, data },
|
11
|
-
};
|
12
|
-
};
|
13
|
-
export const setChunkError = (id, error) => {
|
14
|
-
return {
|
15
|
-
type: SET_CHUNK_ERROR,
|
16
|
-
data: { id, error },
|
17
|
-
};
|
18
|
-
};
|
19
|
-
export const initChunk = (id) => {
|
20
|
-
return {
|
21
|
-
type: INIT_CHUNK,
|
22
|
-
data: { id },
|
23
|
-
};
|
24
|
-
};
|
25
|
-
export const setChunkLoading = (id) => {
|
26
|
-
return {
|
27
|
-
type: SET_CHUNK_LOADING,
|
28
|
-
data: { id },
|
29
|
-
};
|
30
|
-
};
|
31
|
-
export const removeChunk = (id) => {
|
32
|
-
return {
|
33
|
-
type: REMOVE_CHUNK,
|
34
|
-
data: { id },
|
35
|
-
};
|
36
|
-
};
|
37
|
-
export const resetChunks = () => {
|
38
|
-
return {
|
39
|
-
type: RESET_CHUNKS,
|
40
|
-
};
|
41
|
-
};
|
42
|
-
// Reducer wrapped in additional function to pass generic type
|
43
|
-
export const createPaginatedTableReducer = () => (state, action) => {
|
44
|
-
switch (action.type) {
|
45
|
-
case SET_CHUNK_DATA: {
|
46
|
-
const { id, data } = action.data;
|
47
|
-
return {
|
48
|
-
...state,
|
49
|
-
[id]: {
|
50
|
-
loading: false,
|
51
|
-
wasLoaded: true,
|
52
|
-
active: true,
|
53
|
-
data,
|
54
|
-
},
|
55
|
-
};
|
56
|
-
}
|
57
|
-
case SET_CHUNK_ERROR: {
|
58
|
-
const { id, error } = action.data;
|
59
|
-
return {
|
60
|
-
...state,
|
61
|
-
[id]: {
|
62
|
-
loading: false,
|
63
|
-
wasLoaded: true,
|
64
|
-
active: true,
|
65
|
-
error,
|
66
|
-
},
|
67
|
-
};
|
68
|
-
}
|
69
|
-
case INIT_CHUNK: {
|
70
|
-
const { id } = action.data;
|
71
|
-
return {
|
72
|
-
...state,
|
73
|
-
[id]: {
|
74
|
-
loading: false,
|
75
|
-
wasLoaded: false,
|
76
|
-
active: true,
|
77
|
-
},
|
78
|
-
};
|
79
|
-
}
|
80
|
-
case SET_CHUNK_LOADING: {
|
81
|
-
const { id } = action.data;
|
82
|
-
return {
|
83
|
-
...state,
|
84
|
-
[id]: {
|
85
|
-
loading: true,
|
86
|
-
wasLoaded: false,
|
87
|
-
active: true,
|
88
|
-
},
|
89
|
-
};
|
90
|
-
}
|
91
|
-
case REMOVE_CHUNK: {
|
92
|
-
const { id } = action.data;
|
93
|
-
const newState = { ...state };
|
94
|
-
delete newState[id];
|
95
|
-
return newState;
|
96
|
-
}
|
97
|
-
case RESET_CHUNKS: {
|
98
|
-
return {};
|
99
|
-
}
|
100
|
-
default:
|
101
|
-
return state;
|
102
|
-
}
|
103
|
-
};
|
104
|
-
//# sourceMappingURL=reducer.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"reducer.js","sourceRoot":"","sources":["../../../src/components/PaginatedTable/reducer.ts"],"names":[],"mappings":"AAIA,MAAM,UAAU,GAAG,0BAA0B,CAAC;AAC9C,MAAM,YAAY,GAAG,4BAA4B,CAAC;AAClD,MAAM,iBAAiB,GAAG,iCAAiC,CAAC;AAC5D,MAAM,cAAc,GAAG,8BAA8B,CAAC;AACtD,MAAM,eAAe,GAAG,+BAA+B,CAAC;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;QACpB,CAAC;QACD,KAAK,YAAY,CAAC,CAAC,CAAC;YAChB,OAAO,EAAE,CAAC;QACd,CAAC;QACD;YACI,OAAO,KAAK,CAAC;IACrB,CAAC;AACL,CAAC,CAAC"}
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import type { TTabletStateInfo } from '../../../types/api/tablet';
|
2
|
-
interface TabletControlsProps {
|
3
|
-
tablet: TTabletStateInfo;
|
4
|
-
fetchData: () => Promise<unknown>;
|
5
|
-
}
|
6
|
-
export declare const TabletControls: ({ tablet, fetchData }: TabletControlsProps) => import("react/jsx-runtime").JSX.Element;
|
7
|
-
export {};
|
@@ -1,29 +0,0 @@
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
2
|
-
import React from 'react';
|
3
|
-
import { ButtonWithConfirmDialog } from '../../../components/ButtonWithConfirmDialog/ButtonWithConfirmDialog';
|
4
|
-
import { selectIsUserAllowedToMakeChanges } from '../../../store/reducers/authentication/authentication';
|
5
|
-
import { ETabletState } from '../../../types/api/tablet';
|
6
|
-
import { useTypedSelector } from '../../../utils/hooks';
|
7
|
-
import { b } from '../Tablet';
|
8
|
-
import i18n from '../i18n';
|
9
|
-
export const TabletControls = ({ tablet, fetchData }) => {
|
10
|
-
const { TabletId, HiveId } = tablet;
|
11
|
-
const isUserAllowedToMakeChanges = useTypedSelector(selectIsUserAllowedToMakeChanges);
|
12
|
-
const _onKillClick = () => {
|
13
|
-
return window.api.killTablet(TabletId);
|
14
|
-
};
|
15
|
-
const _onStopClick = () => {
|
16
|
-
return window.api.stopTablet(TabletId, HiveId);
|
17
|
-
};
|
18
|
-
const _onResumeClick = () => {
|
19
|
-
return window.api.resumeTablet(TabletId, HiveId);
|
20
|
-
};
|
21
|
-
const hasHiveId = () => {
|
22
|
-
return HiveId && HiveId !== '0';
|
23
|
-
};
|
24
|
-
const isDisabledRestart = tablet.State === ETabletState.Stopped;
|
25
|
-
const isDisabledResume = tablet.State !== ETabletState.Stopped && tablet.State !== ETabletState.Dead;
|
26
|
-
const isDisabledStop = tablet.State === ETabletState.Stopped || tablet.State === ETabletState.Deleted;
|
27
|
-
return (_jsxs("div", { className: b('controls'), children: [_jsx(ButtonWithConfirmDialog, { dialogContent: i18n('dialog.kill'), onConfirmAction: _onKillClick, onConfirmActionSuccess: fetchData, buttonClassName: b('control'), buttonDisabled: isDisabledRestart || !isUserAllowedToMakeChanges, withPopover: true, popoverContent: i18n('controls.kill-not-allowed'), popoverPlacement: 'bottom', popoverDisabled: isUserAllowedToMakeChanges, children: i18n('controls.kill') }), hasHiveId() ? (_jsxs(React.Fragment, { children: [_jsx(ButtonWithConfirmDialog, { dialogContent: i18n('dialog.stop'), onConfirmAction: _onStopClick, onConfirmActionSuccess: fetchData, buttonClassName: b('control'), buttonDisabled: isDisabledStop || !isUserAllowedToMakeChanges, withPopover: true, popoverContent: i18n('controls.stop-not-allowed'), popoverPlacement: 'bottom', popoverDisabled: isUserAllowedToMakeChanges, children: i18n('controls.stop') }), _jsx(ButtonWithConfirmDialog, { dialogContent: i18n('dialog.resume'), onConfirmAction: _onResumeClick, onConfirmActionSuccess: fetchData, buttonClassName: b('control'), buttonDisabled: isDisabledResume || !isUserAllowedToMakeChanges, withPopover: true, popoverContent: i18n('controls.resume-not-allowed'), popoverPlacement: 'bottom', popoverDisabled: isUserAllowedToMakeChanges, children: i18n('controls.resume') })] })) : null] }));
|
28
|
-
};
|
29
|
-
//# sourceMappingURL=TabletControls.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"TabletControls.js","sourceRoot":"","sources":["../../../../src/containers/Tablet/TabletControls/TabletControls.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,uBAAuB,EAAC,MAAM,qEAAqE,CAAC;AAC5G,OAAO,EAAC,gCAAgC,EAAC,MAAM,uDAAuD,CAAC;AACvG,OAAO,EAAC,YAAY,EAAC,MAAM,2BAA2B,CAAC;AAE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":"","sources":["../../../../src/containers/Tablet/TabletControls/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC"}
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import type { TTabletStateInfo } from '../../../types/api/tablet';
|
2
|
-
interface TabletInfoProps {
|
3
|
-
tablet: TTabletStateInfo;
|
4
|
-
tenantPath?: string;
|
5
|
-
}
|
6
|
-
export declare const TabletInfo: ({ tablet, tenantPath }: TabletInfoProps) => import("react/jsx-runtime").JSX.Element;
|
7
|
-
export {};
|
@@ -1,40 +0,0 @@
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
2
|
-
import { Link as UIKitLink } from '@gravity-ui/uikit';
|
3
|
-
import { Link } from 'react-router-dom';
|
4
|
-
import { InfoViewer } from '../../../components/InfoViewer';
|
5
|
-
import routes, { createHref } from '../../../routes';
|
6
|
-
import { ETabletState } from '../../../types/api/tablet';
|
7
|
-
import { calcUptime } from '../../../utils/dataFormatters/dataFormatters';
|
8
|
-
import { getDefaultNodePath } from '../../Node/NodePages';
|
9
|
-
import { b } from '../Tablet';
|
10
|
-
export const TabletInfo = ({ tablet, tenantPath }) => {
|
11
|
-
const { ChangeTime, Generation, FollowerId, NodeId, HiveId, State, Type, TenantId: { SchemeShard } = {}, } = tablet;
|
12
|
-
const hasHiveId = HiveId && HiveId !== '0';
|
13
|
-
const hasUptime = State === ETabletState.Active;
|
14
|
-
const tabletInfo = [{ label: 'Database', value: tenantPath || '-' }];
|
15
|
-
if (hasHiveId) {
|
16
|
-
tabletInfo.push({
|
17
|
-
label: 'HiveId',
|
18
|
-
value: (_jsx(UIKitLink, { href: createHref(routes.tablet, { id: HiveId }), target: "_blank", children: HiveId })),
|
19
|
-
});
|
20
|
-
}
|
21
|
-
if (SchemeShard) {
|
22
|
-
tabletInfo.push({
|
23
|
-
label: 'SchemeShard',
|
24
|
-
value: (_jsx(UIKitLink, { href: createHref(routes.tablet, { id: SchemeShard }), target: "_blank", children: SchemeShard })),
|
25
|
-
});
|
26
|
-
}
|
27
|
-
tabletInfo.push({ label: 'Type', value: Type }, { label: 'State', value: State });
|
28
|
-
if (hasUptime) {
|
29
|
-
tabletInfo.push({ label: 'Uptime', value: calcUptime(ChangeTime) });
|
30
|
-
}
|
31
|
-
tabletInfo.push({ label: 'Generation', value: Generation }, {
|
32
|
-
label: 'Node',
|
33
|
-
value: (_jsx(Link, { className: b('link'), to: getDefaultNodePath(String(NodeId)), children: NodeId })),
|
34
|
-
});
|
35
|
-
if (FollowerId) {
|
36
|
-
tabletInfo.push({ label: 'Follower', value: FollowerId });
|
37
|
-
}
|
38
|
-
return _jsx(InfoViewer, { info: tabletInfo });
|
39
|
-
};
|
40
|
-
//# sourceMappingURL=TabletInfo.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"TabletInfo.js","sourceRoot":"","sources":["../../../../src/containers/Tablet/TabletInfo/TabletInfo.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,IAAI,IAAI,SAAS,EAAC,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAC,IAAI,EAAC,MAAM,kBAAkB,CAAC;AAGtC,OAAO,EAAC,UAAU,EAAC,MAAM,gCAAgC,CAAC;AAC1D,OAAO,MAAM,EAAE,EAAC,UAAU,EAAC,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAC,YAAY,EAAC,MAAM,2BAA2B,CAAC;AAEvD,OAAO,EAAC,UAAU,EAAC,MAAM,8CAA8C,CAAC;AACxE,OAAO,EAAC,kBAAkB,EAAC,MAAM,sBAAsB,CAAC;AACxD,OAAO,EAAC,CAAC,EAAC,MAAM,WAAW,CAAC;AAO5B,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,EAAC,MAAM,EAAE,UAAU,EAAkB,EAAE,EAAE;IAChE,MAAM,EACF,UAAU,EACV,UAAU,EACV,UAAU,EACV,MAAM,EACN,MAAM,EACN,KAAK,EACL,IAAI,EACJ,QAAQ,EAAE,EAAC,WAAW,EAAC,GAAG,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C;QACI,KAAK,EAAE,MAAM;QACb,KAAK,EAAE,CACH,KAAC,IAAI,IAAC,SAAS,EAAE,CAAC,CAAC,MAAM,CAAC,EAAE,EAAE,EAAE,kBAAkB,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,YAC7D,MAAM,GACJ,CACV;KACJ,CACJ,CAAC;IAEF,IAAI,UAAU,EAAE,CAAC;QACb,UAAU,CAAC,IAAI,CAAC,EAAC,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,UAAU,EAAC,CAAC,CAAC;IAC5D,CAAC;IAED,OAAO,KAAC,UAAU,IAAC,IAAI,EAAE,UAAU,GAAI,CAAC;AAC5C,CAAC,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/containers/Tablet/TabletInfo/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"TabletTable.js","sourceRoot":"","sources":["../../../../src/containers/Tablet/TabletTable/TabletTable.tsx"],"names":[],"mappings":";AACA,OAAO,SAAS,MAAM,8BAA8B,CAAC;AAErD,OAAO,EAAC,YAAY,EAAC,MAAM,+CAA+C,CAAC;AAC3E,OAAO,EAAC,YAAY,EAAC,MAAM,+CAA+C,CAAC;AAC3E,OAAO,EAAC,mBAAmB,EAAC,MAAM,6DAA6D,CAAC;AAEhG,OAAO,EAAC,UAAU,EAAC,MAAM,8CAA8C,CAAC;AACxE,OAAO,EAAC,kBAAkB,EAAC,MAAM,sBAAsB,CAAC;AAExD,MAAM,2BAA2B,GAAG,yBAAyB,CAAC;AAE9D,MAAM,OAAO,GAAyC;IAClD;QACI,IAAI,EAAE,YAAY;QAClB,KAAK,EAAE,SAAS,CAAC,KAAK;QACtB,MAAM,EAAE,CAAC,EAAC,GAAG,EAAC,EAAE,EAAE,CAAC,GAAG,CAAC,UAAU;KACpC;IACD;QACI,IAAI,EAAE,aAAa;QACnB,KAA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AG,CAAC,EAAC,OAAO,EAAmB,EAAE,EAAE;IACvD,OAAO,CACH,KAAC,mBAAmB,IAChB,iBAAiB,EAAE,2BAA2B,EAC9C,IAAI,EAAE,OAAO,EACb,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,cAAc,EACxB,gBAAgB,EAAE;YACd,QAAQ,EAAE,YAAY;YACtB,KAAK,EAAE,SAAS,CAAC,UAAU;SAC9B,GACH,CACL,CAAC;AACN,CAAC,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/containers/Tablet/TabletTable/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC"}
|
@@ -1,91 +0,0 @@
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
2
|
-
import React from 'react';
|
3
|
-
import { Loader, Select } from '@gravity-ui/uikit';
|
4
|
-
import map from 'lodash/map';
|
5
|
-
import { Helmet } from 'react-helmet-async';
|
6
|
-
import ReactList from 'react-list';
|
7
|
-
import { ArrayParam, StringParam, useQueryParams } from 'use-query-params';
|
8
|
-
import { z } from 'zod';
|
9
|
-
import { AccessDenied } from '../../components/Errors/403';
|
10
|
-
import { ResponseError } from '../../components/Errors/ResponseError';
|
11
|
-
import { Tablet } from '../../components/Tablet';
|
12
|
-
import { setHeaderBreadcrumbs } from '../../store/reducers/header/header';
|
13
|
-
import { nodesListApi } from '../../store/reducers/nodesList';
|
14
|
-
import { tabletsApi } from '../../store/reducers/tablets';
|
15
|
-
import { getFilteredTablets } from '../../store/reducers/tabletsFilters';
|
16
|
-
import { cn } from '../../utils/cn';
|
17
|
-
import { AUTO_RELOAD_INTERVAL, CLUSTER_DEFAULT_TITLE } from '../../utils/constants';
|
18
|
-
import { useTypedDispatch, useTypedSelector } from '../../utils/hooks';
|
19
|
-
import { tabletColorToTabletState, tabletStates } from '../../utils/tablet';
|
20
|
-
import i18n from './i18n';
|
21
|
-
import './TabletsFilters.scss';
|
22
|
-
const b = cn('tablets-filters');
|
23
|
-
const stringArrayParam = z.preprocess((arg) => {
|
24
|
-
if (Array.isArray(arg)) {
|
25
|
-
return arg.filter(Boolean).sort();
|
26
|
-
}
|
27
|
-
return [];
|
28
|
-
}, z.string().array());
|
29
|
-
const stateArrayParam = z.preprocess((arg) => {
|
30
|
-
if (Array.isArray(arg)) {
|
31
|
-
return arg
|
32
|
-
.flatMap((item) => tabletColorToTabletState[item] || item)
|
33
|
-
.filter(Boolean);
|
34
|
-
}
|
35
|
-
return [];
|
36
|
-
}, z.string().array());
|
37
|
-
const CONTROL_WIDTH = 220;
|
38
|
-
const POPUP_WIDTH = 300;
|
39
|
-
export function TabletsFilters() {
|
40
|
-
var _a;
|
41
|
-
const [params, setParams] = useQueryParams({
|
42
|
-
nodeIds: ArrayParam,
|
43
|
-
type: ArrayParam,
|
44
|
-
state: ArrayParam,
|
45
|
-
path: StringParam,
|
46
|
-
clusterName: StringParam,
|
47
|
-
});
|
48
|
-
const path = (_a = params.path) !== null && _a !== void 0 ? _a : undefined;
|
49
|
-
const dispatch = useTypedDispatch();
|
50
|
-
React.useEffect(() => {
|
51
|
-
dispatch(setHeaderBreadcrumbs('tablets', {
|
52
|
-
tenantName: path,
|
53
|
-
}));
|
54
|
-
}, [dispatch, path]);
|
55
|
-
const nodeIds = stringArrayParam.parse(params.nodeIds);
|
56
|
-
const { currentData, isFetching, error } = tabletsApi.useGetTabletsInfoQuery({ nodes: nodeIds, path }, {
|
57
|
-
pollingInterval: AUTO_RELOAD_INTERVAL,
|
58
|
-
});
|
59
|
-
const { data: nodes } = nodesListApi.useGetNodesListQuery({}, { pollingInterval: AUTO_RELOAD_INTERVAL });
|
60
|
-
const loading = isFetching && currentData === undefined;
|
61
|
-
const stateFilter = stateArrayParam.parse(params.state);
|
62
|
-
const states = tabletStates.map((item) => ({ value: item, content: item }));
|
63
|
-
const typeFilter = stringArrayParam.parse(params.type);
|
64
|
-
const types = Array.from(new Set(...[map(currentData === null || currentData === void 0 ? void 0 : currentData.TabletStateInfo, (tblt) => tblt.Type)])).map((item) => ({
|
65
|
-
value: String(item),
|
66
|
-
content: item,
|
67
|
-
}));
|
68
|
-
const filteredTablets = useTypedSelector((state) => getFilteredTablets(state, { nodes: nodeIds, path }, stateFilter, typeFilter));
|
69
|
-
const renderTablet = (index, key) => (_jsx(Tablet, { tablet: filteredTablets[index], tenantName: path }, key));
|
70
|
-
const nodesForSelect = map(nodes, (node) => ({
|
71
|
-
content: node.Id,
|
72
|
-
value: String(node.Id),
|
73
|
-
data: node.Host,
|
74
|
-
}));
|
75
|
-
const renderView = () => {
|
76
|
-
if (loading) {
|
77
|
-
return (_jsx("div", { className: 'loader', children: _jsx(Loader, { size: "l" }) }));
|
78
|
-
}
|
79
|
-
if (error && typeof error === 'object' && 'status' in error && error.status === 403) {
|
80
|
-
return _jsx(AccessDenied, {});
|
81
|
-
}
|
82
|
-
return (_jsxs("div", { className: b(), children: [path ? (_jsxs("div", { className: b('tenant'), children: [_jsx("span", { className: b('label'), children: "Database: " }), " ", path] })) : null, _jsx(Filters, { nodesForSelect: nodesForSelect, nodeFilter: nodeIds, onChangeNodes: (n) => setParams({ nodeIds: n }), states: states, stateFilter: stateFilter, onChangeStates: (s) => setParams({ state: s }), types: types, typeFilter: typeFilter, onChangeTypes: (t) => setParams({ type: t }) }), error ? _jsx(ResponseError, { error: error }) : null, filteredTablets.length > 0 ? (_jsx("div", { className: b('items'), children: _jsx(ReactList, { itemRenderer: renderTablet, length: filteredTablets.length, type: "uniform" }) })) : (!error && _jsx("div", { className: b('empty-message'), children: "no tablets" }))] }));
|
83
|
-
};
|
84
|
-
return (_jsxs(React.Fragment, { children: [_jsx(Helmet, { children: _jsx("title", { children: `${i18n('page.title')} — ${path || params.clusterName || CLUSTER_DEFAULT_TITLE}` }) }), renderView()] }));
|
85
|
-
}
|
86
|
-
function Filters({ nodesForSelect, nodeFilter, onChangeNodes, states, stateFilter, onChangeStates, types, typeFilter, onChangeTypes, }) {
|
87
|
-
return (_jsxs("div", { className: b('filters'), children: [_jsx("div", { className: b('filter-wrapper'), children: _jsx(Select, { multiple: true, label: "Node ID", width: CONTROL_WIDTH, popupWidth: POPUP_WIDTH, placeholder: "All", options: nodesForSelect, value: nodeFilter, onUpdate: onChangeNodes, renderOption: (option) => {
|
88
|
-
return (_jsxs("div", { className: b('node'), children: [_jsx("div", { children: option.content }), _jsx("div", { className: b('node-meta'), title: option.data, children: option.data })] }));
|
89
|
-
}, getOptionHeight: () => 40 }) }), _jsx("div", { className: b('filter-wrapper'), children: _jsx(Select, { multiple: true, label: "multiple", width: CONTROL_WIDTH, placeholder: "All", options: states, value: stateFilter, onUpdate: onChangeStates }) }), _jsx("div", { className: b('filter-wrapper'), children: _jsx(Select, { multiple: true, label: "Types", width: CONTROL_WIDTH, placeholder: "All", options: types, value: typeFilter, onUpdate: onChangeTypes }) })] }));
|
90
|
-
}
|
91
|
-
//# sourceMappingURL=TabletsFilters.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"TabletsFilters.js","sourceRoot":"","sources":["../../../src/containers/TabletsFilters/TabletsFilters.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAC,MAAM,EAAE,MAAM,EAAC,MAAM,mBAAmB,CAAC;AACjD,OAAO,GAAG,MAAM,YAAY,CAAC;AAC7B,OAAO,EAAC,MAAM,EAAC,MAAM,oBAAoB,CAAC;AAC1C,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,EAAC,UAAU,EAAE,WAAW,EAAE,cAAc,EAAC,MAAM,kBAAkB,CAAC;AACzE,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AAEtB,OAAO,EAAC,YAAY,EAAC,MAAM,6BAA6B,CAAC;AACzD,OAAO,EAAC,aAAa,EAAC,MAAM,uCAAuC,CAAC;AACpE,OAAO,EAAC,MAAM,EAAC,MAAM,yBAAyB,CAAC;AAC/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