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
@@ -0,0 +1,78 @@
|
|
1
|
+
@import '../../../../styles/mixins.scss';
|
2
|
+
|
3
|
+
.ydb-tablet-storage-info {
|
4
|
+
$block: &;
|
5
|
+
&__table {
|
6
|
+
table-layout: fixed;
|
7
|
+
border-spacing: 0px;
|
8
|
+
border-collapse: collapse;
|
9
|
+
tr {
|
10
|
+
&:hover {
|
11
|
+
background-color: var(--g-color-base-generic-hover) !important;
|
12
|
+
}
|
13
|
+
}
|
14
|
+
tr:nth-of-type(2n + 1) {
|
15
|
+
background-color: var(--g-color-base-generic-ultralight);
|
16
|
+
}
|
17
|
+
:is(#{$block}__table-header-cell) {
|
18
|
+
height: 40px;
|
19
|
+
padding: 0;
|
20
|
+
|
21
|
+
text-align: left;
|
22
|
+
|
23
|
+
background-color: var(--g-color-base-background);
|
24
|
+
@include text-subheader-2();
|
25
|
+
}
|
26
|
+
:is(#{$block}__table-cell) {
|
27
|
+
height: 40px;
|
28
|
+
padding: 0;
|
29
|
+
@include text-body-2();
|
30
|
+
}
|
31
|
+
}
|
32
|
+
|
33
|
+
&__table-header-cell {
|
34
|
+
&_align_right {
|
35
|
+
#{$block}__table-header-content {
|
36
|
+
justify-content: flex-end;
|
37
|
+
|
38
|
+
text-align: right;
|
39
|
+
}
|
40
|
+
}
|
41
|
+
}
|
42
|
+
|
43
|
+
&__table-header-content {
|
44
|
+
display: flex;
|
45
|
+
align-items: center;
|
46
|
+
|
47
|
+
height: 100%;
|
48
|
+
padding: var(--g-spacing-1) var(--g-spacing-2);
|
49
|
+
|
50
|
+
vertical-align: middle;
|
51
|
+
|
52
|
+
border-bottom: 1px solid var(--g-color-line-generic);
|
53
|
+
}
|
54
|
+
:is(#{$block}__table-cell) {
|
55
|
+
height: 40px;
|
56
|
+
padding: 0;
|
57
|
+
@include text-body-2();
|
58
|
+
}
|
59
|
+
&__table-cell {
|
60
|
+
&_align_right {
|
61
|
+
text-align: right;
|
62
|
+
}
|
63
|
+
}
|
64
|
+
&__metrics-cell {
|
65
|
+
padding: var(--g-spacing-1) var(--g-spacing-2);
|
66
|
+
|
67
|
+
white-space: nowrap;
|
68
|
+
}
|
69
|
+
&__name-wrapper {
|
70
|
+
padding: var(--g-spacing-1) var(--g-spacing-2);
|
71
|
+
}
|
72
|
+
&__with-padding {
|
73
|
+
padding-left: calc(var(--g-spacing-2) + var(--g-spacing-6));
|
74
|
+
}
|
75
|
+
&__name-content_no-control {
|
76
|
+
padding-left: var(--g-spacing-6);
|
77
|
+
}
|
78
|
+
}
|
@@ -0,0 +1,56 @@
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
2
|
+
import { ArrowToggle, Button, Flex } from '@gravity-ui/uikit';
|
3
|
+
import { formatTimestamp } from '../../../../utils/dataFormatters/dataFormatters';
|
4
|
+
import { tabletInfoKeyset } from './i18n';
|
5
|
+
import { b } from './shared';
|
6
|
+
function ColumnHeader({ name, className }) {
|
7
|
+
return _jsx("div", { className: b('table-header-content', className), children: name });
|
8
|
+
}
|
9
|
+
function metricsCell(info, formatter) {
|
10
|
+
const value = info.getValue();
|
11
|
+
const formattedValue = typeof formatter === 'function' ? formatter(value) : value;
|
12
|
+
return _jsx("div", { className: b('metrics-cell'), children: formattedValue });
|
13
|
+
}
|
14
|
+
function GroupIdCell({ row, name, hasExpand }) {
|
15
|
+
const isExpandable = row.getCanExpand();
|
16
|
+
return (_jsxs(Flex, { gap: 1, alignItems: "flex-start", className: b('name-wrapper'), children: [isExpandable && (_jsx(Button, { view: "flat", size: "xs", onClick: row.getToggleExpandedHandler(), children: _jsx(Button.Icon, { children: _jsx(ArrowToggle, { direction: row.getIsExpanded() ? 'bottom' : 'right', size: 14 }) }) })), _jsx("div", { className: b('name-content', { 'no-control': hasExpand && !isExpandable }), children: name })] }));
|
17
|
+
}
|
18
|
+
export function getColumns(hasExpand) {
|
19
|
+
const columns = [
|
20
|
+
{
|
21
|
+
accessorKey: 'channelIndex',
|
22
|
+
header: () => _jsx(ColumnHeader, { name: tabletInfoKeyset('label_channel-index') }),
|
23
|
+
size: 50,
|
24
|
+
cell: metricsCell,
|
25
|
+
meta: { align: 'right' },
|
26
|
+
},
|
27
|
+
{
|
28
|
+
accessorKey: 'storagePoolName',
|
29
|
+
header: () => _jsx(ColumnHeader, { name: tabletInfoKeyset('label_storage-pool') }),
|
30
|
+
size: 200,
|
31
|
+
cell: metricsCell,
|
32
|
+
},
|
33
|
+
{
|
34
|
+
accessorKey: 'GroupID',
|
35
|
+
header: () => (_jsx(ColumnHeader, { name: tabletInfoKeyset('label_group-id'), className: hasExpand ? b('with-padding') : undefined })),
|
36
|
+
size: 100,
|
37
|
+
cell: (info) => (_jsx(GroupIdCell, { row: info.row, name: info.getValue(), hasExpand: hasExpand })),
|
38
|
+
},
|
39
|
+
{
|
40
|
+
accessorKey: 'FromGeneration',
|
41
|
+
header: () => _jsx(ColumnHeader, { name: tabletInfoKeyset('label_generation') }),
|
42
|
+
size: 100,
|
43
|
+
cell: metricsCell,
|
44
|
+
meta: { align: 'right' },
|
45
|
+
},
|
46
|
+
{
|
47
|
+
accessorKey: 'Timestamp',
|
48
|
+
header: () => _jsx(ColumnHeader, { name: tabletInfoKeyset('label_timestamp') }),
|
49
|
+
size: 200,
|
50
|
+
cell: (info) => metricsCell(info, formatTimestamp),
|
51
|
+
meta: { align: 'right' },
|
52
|
+
},
|
53
|
+
];
|
54
|
+
return columns;
|
55
|
+
}
|
56
|
+
//# sourceMappingURL=columns.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"columns.js","sourceRoot":"","sources":["../../../../../src/containers/Tablet/components/TabletStorageInfo/columns.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,WAAW,EAAE,MAAM,EAAE,IAAI,EAAC,MAAM,mBAAmB,CAAC;AAG5D,OAAO,EAAC,eAAe,EAAC,MAAM,iDAAiD,CAAC;AAEhF,OAAO,EAAC,gBAAgB,EAAC,MAAM,QAAQ,CAAC;AACxC,OAAO,EAAC,CAAC,EAAC,MAAM,UAAU,CAAC;AAQ3B,SAAS,YAAY,CAAC,EAAC,IAAI,EAAE,SAAS,EAAoB;IACtD,OAAO,cAAK,SAAS,EAAE,CAAC,CAAC,sBAAsB,EAAE,SAAS,CAAC,YAAG,IAAI,GAAO,CAAC;AAC9E,CAAC;AAED,SAAS,WAAW,CAChB,IAA6C,EAC7C,SAAuD;IAEvD,MAAM,KAAK,GAAG,IAAI,CAAC,QAAQ,EAAmB,CAAC;IAC/C,MAAM,cAAc,GAAG,OAAO,SAAS,KAAK,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC;IAElF,OAAO,cAAK,S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I,EAAE,WAAW;SACpB;QACD;YACI,WAAW,EAAE,SAAS;YACtB,MAAM,EAAE,GAAG,EAAE,CAAC,CACV,KAAC,YAAY,IACT,IAAI,EAAE,gBAAgB,CAAC,gBAAgB,CAAC,EACxC,SAAS,EAAE,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,SAAS,GACtD,CACL;YACD,IAAI,EAAE,GAAG;YACT,IAAI,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,CACZ,KAAC,WAAW,IAAC,GAAG,EAAE,IAAI,CAAC,GAAG,EAAE,IAAI,EAAE,IAAI,CAAC,QAAQ,EAAU,EAAE,SAAS,EAAE,SAAS,GAAI,CACtF;SACJ;QACD;YACI,WAAW,EAAE,gBAAgB;YAC7B,MAAM,EAAE,GAAG,EAAE,CAAC,KAAC,YAAY,IAAC,IAAI,EAAE,gBAAgB,CAAC,kBAAkB,CAAC,GAAI;YAC1E,IAAI,EAAE,GAAG;YACT,IAAI,EAAE,WAAW;YACjB,IAAI,EAAE,EAAC,KAAK,EAAE,OAAO,EAAC;SACzB;QACD;YACI,WAAW,EAAE,WAAW;YACxB,MAAM,EAAE,GAAG,EAAE,CAAC,KAAC,YAAY,IAAC,IAAI,EAAE,gBAAgB,CAAC,iBAAiB,CAAC,GAAI;YACzE,IAAI,EAAE,GAAG;YACT,IAAI,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,WAAW,CAAC,IAAI,EAAE,eAAe,CAAC;YAClD,IAAI,EAAE,EAAC,KAAK,EAAE,OAAO,EAAC;SACzB;KACJ,CAAC;IACF,OAAO,OAAO,CAAC;AACnB,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare const tabletInfoKeyset: (key: "label_channel-index" | "label_storage-pool" | "label_group-id" | "label_generation" | "label_timestamp", params?: import("@gravity-ui/i18n").Params) => string;
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/containers/Tablet/components/TabletStorageInfo/i18n/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,2BAA2B,CAAC;AAE1D,OAAO,EAAE,MAAM,WAAW,CAAC;AAE3B,MAAM,SAAS,GAAG,yBAAyB,CAAC;AAE5C,MAAM,CAAC,MAAM,gBAAgB,GAAG,eAAe,CAAC,SAAS,EAAE,EAAC,EAAE,EAAC,CAAC,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare const b: import("@bem-react/classname").ClassNameFormatter;
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"shared.js","sourceRoot":"","sources":["../../../../../src/containers/Tablet/components/TabletStorageInfo/shared.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,EAAE,EAAC,MAAM,sBAAsB,CAAC;AAExC,MAAM,CAAC,MAAM,CAAC,GAAG,EAAE,CAAC,yBAAyB,CAAC,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../../src/containers/Tablet/components/TabletStorageInfo/types.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,29 @@
|
|
1
|
+
export function prepareData(data) {
|
2
|
+
var _a, _b;
|
3
|
+
if (!data) {
|
4
|
+
return [];
|
5
|
+
}
|
6
|
+
const { BoundChannels, TabletStorageInfo = {} } = data;
|
7
|
+
const Channels = (_a = TabletStorageInfo.Channels) !== null && _a !== void 0 ? _a : [];
|
8
|
+
const result = [];
|
9
|
+
for (const channel of Channels) {
|
10
|
+
const channelIndex = channel.Channel;
|
11
|
+
const channelHistory = channel.History;
|
12
|
+
if (!channelIndex || !channelHistory || !channelHistory.length) {
|
13
|
+
continue;
|
14
|
+
}
|
15
|
+
const copiedChannelHistory = [...channelHistory];
|
16
|
+
copiedChannelHistory.reverse();
|
17
|
+
const [latest, ...rest] = copiedChannelHistory;
|
18
|
+
const storagePoolName = (_b = BoundChannels === null || BoundChannels === void 0 ? void 0 : BoundChannels[channelIndex]) === null || _b === void 0 ? void 0 : _b.StoragePoolName;
|
19
|
+
const params = {
|
20
|
+
...latest,
|
21
|
+
storagePoolName,
|
22
|
+
channelIndex,
|
23
|
+
children: rest,
|
24
|
+
};
|
25
|
+
result.push(params);
|
26
|
+
}
|
27
|
+
return result;
|
28
|
+
}
|
29
|
+
//# sourceMappingURL=utils.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../../../src/containers/Tablet/components/TabletStorageInfo/utils.ts"],"names":[],"mappings":"AAIA,MAAM,UAAU,WAAW,CAAC,IAAiC;;IACzD,IAAI,CAAC,IAAI,EAAE,CAAC;QACR,OAAO,EAAE,CAAC;IACd,CAAC;IACD,MAAM,EAAC,aAAa,EAAE,iBAAiB,GAAG,EAAE,EAAC,GAAG,IAAI,CAAC;IAErD,MAAM,QAAQ,GAAG,MAAA,iBAAiB,CAAC,QAAQ,mCAAI,EAAE,CAAC;IAElD,MAAM,MAAM,GAAG,EAAE,CAAC;IAElB,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;QAC7B,MAAM,YAAY,GAAG,OAAO,CAAC,OAAO,CAAC;QACrC,MAAM,cAAc,GAAG,OAAO,CAAC,OAAO,CAAC;QACvC,IAAI,CAAC,YAAY,IAAI,CAAC,cAAc,IAAI,CAAC,cAAc,CAAC,MAAM,EAAE,CAAC;YAC7D,SAAS;QACb,CAAC;QACD,MAAM,oBAAoB,GAAG,CAAC,GAAG,cAAc,CAAC,CAAC;QAEjD,oBAAoB,CAAC,OAAO,EAAE,CAAC;QAC/B,MAAM,CAAC,MAAM,EAAE,GAAG,IAAI,CAAC,GAAG,oBAAoB,CAAC;QAC/C,MAAM,eAAe,GAAG,MAAA,aAAa,aAAb,aAAa,uBAAb,aAAa,CAAG,YAAY,CAAC,0CAAE,eAAe,CAAC;QAEvE,MAAM,MAAM,GAAG;YACX,GAAG,MAAM;YACT,eAAe;YACf,YAAY;YACZ,QAAQ,EAAE,IAAI;SACjB,CAAC;QACF,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IACxB,CAAC;IACD,OAAO,MAAM,CAAC;AAClB,CAAC"}
|
@@ -1,10 +1,11 @@
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
2
2
|
import DataTable from '@gravity-ui/react-data-table';
|
3
|
-
import { EntityStatus } from '
|
4
|
-
import { InternalLink } from '
|
5
|
-
import { ResizeableDataTable } from '
|
6
|
-
import {
|
7
|
-
import {
|
3
|
+
import { EntityStatus } from '../../../../components/EntityStatus/EntityStatus';
|
4
|
+
import { InternalLink } from '../../../../components/InternalLink/InternalLink';
|
5
|
+
import { ResizeableDataTable } from '../../../../components/ResizeableDataTable/ResizeableDataTable';
|
6
|
+
import { TabletState } from '../../../../components/TabletState/TabletState';
|
7
|
+
import { calcUptime } from '../../../../utils/dataFormatters/dataFormatters';
|
8
|
+
import { getDefaultNodePath } from '../../../Node/NodePages';
|
8
9
|
const TABLET_COLUMNS_WIDTH_LS_KEY = 'tabletTableColumnsWidth';
|
9
10
|
const columns = [
|
10
11
|
{
|
@@ -21,7 +22,7 @@ const columns = [
|
|
21
22
|
{
|
22
23
|
name: 'State',
|
23
24
|
sortable: false,
|
24
|
-
render: ({ row }) => row.state,
|
25
|
+
render: ({ row }) => _jsx(TabletState, { state: row.state }),
|
25
26
|
},
|
26
27
|
{
|
27
28
|
name: 'Follower ID',
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"TabletTable.js","sourceRoot":"","sources":["../../../../../src/containers/Tablet/components/TabletTable/TabletTable.tsx"],"names":[],"mappings":";AACA,OAAO,SAAS,MAAM,8BAA8B,CAAC;AAErD,OAAO,EAAC,YAAY,EAAC,MAAM,kDAAkD,CAAC;AAC9E,OAAO,EAAC,YAAY,EAAC,MAAM,kDAAkD,CAAC;AAC9E,OAAO,EAAC,mBAAmB,EAAC,MAAM,gEAAgE,CAAC;AACnG,OAAO,EAAC,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E,WAAW;QACjB,QAAQ,EAAE,KAAK;QACf,KAAK,EAAE,GAAG;QACV,MAAM,EAAE,CAAC,EAAC,GAAG,EAAC,EAAE,EAAE;YACd,IAAI,CAAC,GAAG,CAAC,IAAI,EAAE,CAAC;gBACZ,OAAO,oCAAc,CAAC;YAC1B,CAAC;YACD,OAAO,KAAC,YAAY,IAAC,IAAI,EAAE,GAAG,CAAC,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,kBAAkB,SAAG,CAAC;QAClF,CAAC;KACJ;CACJ,CAAC;AAEF,MAAM,cAAc,GAAG;IACnB,cAAc,EAAE,KAAK;CACxB,CAAC;AAMF,MAAM,CAAC,MAAM,WAAW,GAAG,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"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/containers/Tablet/components/TabletTable/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC"}
|
@@ -1,5 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"tablet.header": "Tablet",
|
3
|
+
"tablet.meta-database": "Database",
|
4
|
+
"tablet.meta-follower": "Follower",
|
3
5
|
"controls.kill": "Restart",
|
4
6
|
"controls.stop": "Stop",
|
5
7
|
"controls.resume": "Resume",
|
@@ -9,5 +11,7 @@
|
|
9
11
|
"dialog.kill": "The tablet will be restarted. Do you want to proceed?",
|
10
12
|
"dialog.stop": "The tablet will be stopped. Do you want to proceed?",
|
11
13
|
"dialog.resume": "The tablet will be resumed. Do you want to proceed?",
|
12
|
-
"emptyState": "The tablet was not found"
|
14
|
+
"emptyState": "The tablet was not found",
|
15
|
+
"label_tablet-history": "Tablets",
|
16
|
+
"label_tablet-channels": "Storage"
|
13
17
|
}
|
@@ -1,2 +1,2 @@
|
|
1
|
-
declare const _default: (key: "dialog.kill" | "controls.kill-not-allowed" | "tablet.header" | "controls.kill" | "controls.stop" | "controls.resume" | "controls.stop-not-allowed" | "controls.resume-not-allowed" | "dialog.stop" | "dialog.resume" | "emptyState", params?: import("@gravity-ui/i18n").Params) => string;
|
1
|
+
declare const _default: (key: "dialog.kill" | "controls.kill-not-allowed" | "tablet.header" | "tablet.meta-database" | "tablet.meta-follower" | "controls.kill" | "controls.stop" | "controls.resume" | "controls.stop-not-allowed" | "controls.resume-not-allowed" | "dialog.stop" | "dialog.resume" | "emptyState" | "label_tablet-history" | "label_tablet-channels", params?: import("@gravity-ui/i18n").Params) => string;
|
2
2
|
export default _default;
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare function hasHive(id?: string): id is string;
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../src/containers/Tablet/utils.ts"],"names":[],"mappings":"AAAA,MAAM,UAAU,OAAO,CAAC,EAAW;IAC/B,OAAO,OAAO,CAAC,EAAE,IAAI,EAAE,KAAK,GAAG,CAAC,CAAC;AACrC,CAAC"}
|
@@ -1,7 +1,8 @@
|
|
1
1
|
interface TabletsProps {
|
2
2
|
path?: string;
|
3
|
+
database?: string;
|
3
4
|
nodeId?: string | number;
|
4
5
|
className?: string;
|
5
6
|
}
|
6
|
-
export declare function Tablets({ nodeId, path, className }: TabletsProps): import("react/jsx-runtime").JSX.Element;
|
7
|
+
export declare function Tablets({ nodeId, path, database, className }: TabletsProps): import("react/jsx-runtime").JSX.Element;
|
7
8
|
export {};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
2
2
|
import { ArrowsRotateRight } from '@gravity-ui/icons';
|
3
|
-
import { Icon,
|
3
|
+
import { Icon, Text } from '@gravity-ui/uikit';
|
4
4
|
import { skipToken } from '@reduxjs/toolkit/query';
|
5
5
|
import { ButtonWithConfirmDialog } from '../../components/ButtonWithConfirmDialog/ButtonWithConfirmDialog';
|
6
6
|
import { DeveloperUILinkButton } from '../../components/DeveloperUILinkButton/DeveloperUILinkButton';
|
@@ -9,124 +9,134 @@ import { ResponseError } from '../../components/Errors/ResponseError';
|
|
9
9
|
import { InternalLink } from '../../components/InternalLink';
|
10
10
|
import { ResizeableDataTable } from '../../components/ResizeableDataTable/ResizeableDataTable';
|
11
11
|
import { TableSkeleton } from '../../components/TableSkeleton/TableSkeleton';
|
12
|
-
import
|
12
|
+
import { TabletState } from '../../components/TabletState/TabletState';
|
13
|
+
import { getTabletPagePath } from '../../routes';
|
13
14
|
import { selectIsUserAllowedToMakeChanges } from '../../store/reducers/authentication/authentication';
|
15
|
+
import { tabletApi } from '../../store/reducers/tablet';
|
14
16
|
import { selectTabletsWithFqdn, tabletsApi } from '../../store/reducers/tablets';
|
15
17
|
import { ETabletState } from '../../types/api/tablet';
|
16
18
|
import { cn } from '../../utils/cn';
|
17
19
|
import { DEFAULT_TABLE_SETTINGS, EMPTY_DATA_PLACEHOLDER } from '../../utils/constants';
|
18
20
|
import { calcUptime } from '../../utils/dataFormatters/dataFormatters';
|
19
21
|
import { createTabletDeveloperUIHref } from '../../utils/developerUI/developerUI';
|
20
|
-
import { useAutoRefreshInterval,
|
21
|
-
import { mapTabletStateToLabelTheme } from '../../utils/tablet';
|
22
|
+
import { useAutoRefreshInterval, useTypedSelector } from '../../utils/hooks';
|
22
23
|
import { getDefaultNodePath } from '../Node/NodePages';
|
23
24
|
import i18n from './i18n';
|
24
25
|
const b = cn('tablets');
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
26
|
+
function getColumns({ database }) {
|
27
|
+
const columns = [
|
28
|
+
{
|
29
|
+
name: 'Type',
|
30
|
+
get header() {
|
31
|
+
return i18n('Type');
|
32
|
+
},
|
33
|
+
render: ({ row }) => {
|
34
|
+
const isFollower = row.Leader === false;
|
35
|
+
return (_jsxs("span", { children: [row.Type, " ", isFollower ? _jsx(Text, { color: "secondary", children: "follower" }) : ''] }));
|
36
|
+
},
|
30
37
|
},
|
31
|
-
|
32
|
-
|
33
|
-
|
38
|
+
{
|
39
|
+
name: 'TabletId',
|
40
|
+
width: 220,
|
41
|
+
get header() {
|
42
|
+
return i18n('Tablet');
|
43
|
+
},
|
44
|
+
render: ({ row }) => {
|
45
|
+
var _a;
|
46
|
+
if (!row.TabletId) {
|
47
|
+
return EMPTY_DATA_PLACEHOLDER;
|
48
|
+
}
|
49
|
+
const tabletPath = getTabletPagePath(row.TabletId, {
|
50
|
+
nodeId: row.NodeId,
|
51
|
+
type: row.Type,
|
52
|
+
tenantName: database,
|
53
|
+
});
|
54
|
+
return (_jsx(EntityStatus, { name: (_a = row.TabletId) === null || _a === void 0 ? void 0 : _a.toString(), path: tabletPath, hasClipboardButton: true, showStatus: false, additionalControls: _jsx(DeveloperUILinkButton, { href: createTabletDeveloperUIHref(row.TabletId) }) }));
|
55
|
+
},
|
34
56
|
},
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
57
|
+
{
|
58
|
+
name: 'State',
|
59
|
+
get header() {
|
60
|
+
return i18n('State');
|
61
|
+
},
|
62
|
+
render: ({ row }) => {
|
63
|
+
return _jsx(TabletState, { state: row.State });
|
64
|
+
},
|
41
65
|
},
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
return
|
46
|
-
}
|
47
|
-
|
48
|
-
|
66
|
+
{
|
67
|
+
name: 'NodeId',
|
68
|
+
get header() {
|
69
|
+
return i18n('Node ID');
|
70
|
+
},
|
71
|
+
render: ({ row }) => {
|
72
|
+
const nodePath = row.NodeId === undefined ? undefined : getDefaultNodePath(row.NodeId);
|
73
|
+
return _jsx(InternalLink, { to: nodePath, children: row.NodeId });
|
74
|
+
},
|
75
|
+
align: 'right',
|
49
76
|
},
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
77
|
+
{
|
78
|
+
name: 'fqdn',
|
79
|
+
get header() {
|
80
|
+
return i18n('Node FQDN');
|
81
|
+
},
|
82
|
+
render: ({ row }) => {
|
83
|
+
if (!row.fqdn) {
|
84
|
+
return _jsx("span", { children: "\u2014" });
|
85
|
+
}
|
86
|
+
return _jsx(EntityStatus, { name: row.fqdn, showStatus: false, hasClipboardButton: true });
|
87
|
+
},
|
55
88
|
},
|
56
|
-
|
57
|
-
|
89
|
+
{
|
90
|
+
name: 'Generation',
|
91
|
+
get header() {
|
92
|
+
return i18n('Generation');
|
93
|
+
},
|
94
|
+
align: 'right',
|
58
95
|
},
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
96
|
+
{
|
97
|
+
name: 'Uptime',
|
98
|
+
get header() {
|
99
|
+
return i18n('Uptime');
|
100
|
+
},
|
101
|
+
render: ({ row }) => {
|
102
|
+
return calcUptime(row.ChangeTime);
|
103
|
+
},
|
104
|
+
sortAccessor: (row) => -Number(row.ChangeTime),
|
105
|
+
align: 'right',
|
64
106
|
},
|
65
|
-
|
66
|
-
|
67
|
-
|
107
|
+
{
|
108
|
+
name: 'Actions',
|
109
|
+
sortable: false,
|
110
|
+
resizeable: false,
|
111
|
+
header: '',
|
112
|
+
render: ({ row }) => {
|
113
|
+
return _jsx(TabletActions, { ...row });
|
114
|
+
},
|
68
115
|
},
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
name: 'fqdn',
|
73
|
-
get header() {
|
74
|
-
return i18n('Node FQDN');
|
75
|
-
},
|
76
|
-
render: ({ row }) => {
|
77
|
-
if (!row.fqdn) {
|
78
|
-
return _jsx("span", { children: "\u2014" });
|
79
|
-
}
|
80
|
-
return _jsx(EntityStatus, { name: row.fqdn, showStatus: false, hasClipboardButton: true });
|
81
|
-
},
|
82
|
-
},
|
83
|
-
{
|
84
|
-
name: 'Generation',
|
85
|
-
get header() {
|
86
|
-
return i18n('Generation');
|
87
|
-
},
|
88
|
-
align: 'right',
|
89
|
-
},
|
90
|
-
{
|
91
|
-
name: 'Uptime',
|
92
|
-
get header() {
|
93
|
-
return i18n('Uptime');
|
94
|
-
},
|
95
|
-
render: ({ row }) => {
|
96
|
-
return calcUptime(row.ChangeTime);
|
97
|
-
},
|
98
|
-
sortAccessor: (row) => -Number(row.ChangeTime),
|
99
|
-
align: 'right',
|
100
|
-
},
|
101
|
-
{
|
102
|
-
name: 'Actions',
|
103
|
-
sortable: false,
|
104
|
-
resizeable: false,
|
105
|
-
header: '',
|
106
|
-
render: ({ row }) => {
|
107
|
-
return _jsx(TabletActions, { ...row });
|
108
|
-
},
|
109
|
-
},
|
110
|
-
];
|
116
|
+
];
|
117
|
+
return columns;
|
118
|
+
}
|
111
119
|
function TabletActions(tablet) {
|
112
120
|
const isDisabledRestart = tablet.State === ETabletState.Stopped;
|
113
|
-
const dispatch = useTypedDispatch();
|
114
121
|
const isUserAllowedToMakeChanges = useTypedSelector(selectIsUserAllowedToMakeChanges);
|
122
|
+
const [killTablet] = tabletApi.useKillTabletMutation();
|
123
|
+
const id = tablet.TabletId;
|
124
|
+
if (!id) {
|
125
|
+
return null;
|
126
|
+
}
|
115
127
|
return (_jsx(ButtonWithConfirmDialog, { buttonView: "outlined", dialogContent: i18n('dialog.kill'), onConfirmAction: () => {
|
116
|
-
return
|
117
|
-
}, onConfirmActionSuccess: () => {
|
118
|
-
dispatch(tabletsApi.util.invalidateTags(['All']));
|
128
|
+
return killTablet({ id }).unwrap();
|
119
129
|
}, buttonDisabled: isDisabledRestart || !isUserAllowedToMakeChanges, withPopover: true, popoverContent: i18n('controls.kill-not-allowed'), popoverDisabled: isUserAllowedToMakeChanges, children: _jsx(Icon, { data: ArrowsRotateRight }) }));
|
120
130
|
}
|
121
|
-
export function Tablets({ nodeId, path, className }) {
|
131
|
+
export function Tablets({ nodeId, path, database, className }) {
|
122
132
|
const [autoRefreshInterval] = useAutoRefreshInterval();
|
123
133
|
let params = {};
|
124
134
|
const node = nodeId === undefined ? undefined : String(nodeId);
|
125
135
|
if (node !== undefined) {
|
126
|
-
params = {
|
136
|
+
params = { nodeId: node, database };
|
127
137
|
}
|
128
138
|
else if (path) {
|
129
|
-
params = { path };
|
139
|
+
params = { path, database };
|
130
140
|
}
|
131
141
|
const { currentData, isFetching, error } = tabletsApi.useGetTabletsInfoQuery(Object.keys(params).length === 0 ? skipToken : params, {
|
132
142
|
pollingInterval: autoRefreshInterval,
|
@@ -136,6 +146,6 @@ export function Tablets({ nodeId, path, className }) {
|
|
136
146
|
if (loading) {
|
137
147
|
return _jsx(TableSkeleton, {});
|
138
148
|
}
|
139
|
-
return (_jsxs("div", { className: b(null, className), children: [error ? _jsx(ResponseError, { error: error }) : null, currentData ? (_jsx(ResizeableDataTable, { columns:
|
149
|
+
return (_jsxs("div", { className: b(null, className), children: [error ? _jsx(ResponseError, { error: error }) : null, currentData ? (_jsx(ResizeableDataTable, { columns: getColumns({ database }), data: tablets, settings: DEFAULT_TABLE_SETTINGS, emptyDataMessage: i18n('noTabletsData') })) : null] }));
|
140
150
|
}
|
141
151
|
//# sourceMappingURL=Tablets.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Tablets.js","sourceRoot":"","sources":["../../../src/containers/Tablets/Tablets.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,iBAAiB,EAAC,MAAM,mBAAmB,CAAC;AAEpD,OAAO,EAAC,IAAI,EAAE,
|
1
|
+
{"version":3,"file":"Tablets.js","sourceRoot":"","sources":["../../../src/containers/Tablets/Tablets.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,iBAAiB,EAAC,MAAM,mBAAmB,CAAC;AAEpD,OAAO,EAAC,IAAI,EAAE,IAAI,EAAC,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAC,SAAS,EAAC,MAAM,wBAAwB,CAAC;AAEjD,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EAC/B,IAAI,EAAE,OAAO,EACb,QAAQ,EAAE,sBAAsB,EAChC,gBAAgB,EAAE,IAAI,CAAC,eAAe,CAAC,GACzC,CACL,CAAC,CAAC,CAAC,IAAI,IACN,CACT,CAAC;AACN,CAAC"}
|
@@ -1,2 +1,2 @@
|
|
1
|
-
declare const _default: (key: "
|
1
|
+
declare const _default: (key: "Tablet" | "Uptime" | "Type" | "State" | "Generation" | "Node ID" | "Node FQDN" | "noTabletsData" | "dialog.kill" | "controls.kill-not-allowed", params?: import("@gravity-ui/i18n").Params) => string;
|
2
2
|
export default _default;
|