ydb-embedded-ui 6.20.0 → 6.22.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/components/AutoRefreshControl/i18n/index.d.ts +1 -1
- package/dist/components/DiskStateProgressBar/DiskStateProgressBar.d.ts +2 -1
- package/dist/components/DiskStateProgressBar/DiskStateProgressBar.js +2 -2
- package/dist/components/DiskStateProgressBar/DiskStateProgressBar.js.map +1 -1
- package/dist/components/DiskStateProgressBar/DiskStateProgressBar.scss +4 -0
- package/dist/components/GroupInfo/i18n/index.d.ts +1 -1
- package/dist/components/PDiskInfo/PDiskInfo.js +3 -4
- package/dist/components/PDiskInfo/PDiskInfo.js.map +1 -1
- package/dist/components/PDiskInfo/PDiskInfo.scss +0 -14
- package/dist/components/PDiskInfo/i18n/index.d.ts +1 -1
- package/dist/components/QueryResultTable/Cell/Cell.js +1 -4
- package/dist/components/QueryResultTable/Cell/Cell.js.map +1 -1
- package/dist/components/StorageGroupInfo/StorageGroupInfo.d.ts +8 -0
- package/dist/components/StorageGroupInfo/StorageGroupInfo.js +123 -0
- package/dist/components/StorageGroupInfo/StorageGroupInfo.js.map +1 -0
- package/dist/components/StorageGroupInfo/i18n/en.json +22 -0
- package/dist/components/StorageGroupInfo/i18n/index.d.ts +1 -0
- package/dist/components/StorageGroupInfo/i18n/index.js +5 -0
- package/dist/components/StorageGroupInfo/i18n/index.js.map +1 -0
- package/dist/components/VDisk/VDisk.d.ts +2 -1
- package/dist/components/VDisk/VDisk.js +2 -2
- package/dist/components/VDisk/VDisk.js.map +1 -1
- package/dist/components/VDiskInfo/VDiskInfo.js +1 -3
- package/dist/components/VDiskInfo/VDiskInfo.js.map +1 -1
- package/dist/components/VDiskInfo/i18n/index.d.ts +1 -1
- package/dist/containers/App/App.scss +1 -1
- package/dist/containers/App/Content.js +7 -1
- package/dist/containers/App/Content.js.map +1 -1
- package/dist/containers/App/appSlots.d.ts +6 -0
- package/dist/containers/App/appSlots.js +1 -0
- package/dist/containers/App/appSlots.js.map +1 -1
- package/dist/containers/Cluster/Cluster.js +1 -1
- package/dist/containers/Cluster/Cluster.js.map +1 -1
- package/dist/containers/Cluster/i18n/index.d.ts +1 -1
- package/dist/containers/Clusters/Clusters.js +3 -3
- package/dist/containers/Clusters/Clusters.js.map +1 -1
- package/dist/containers/Clusters/columns.js +2 -2
- package/dist/containers/Clusters/columns.js.map +1 -1
- package/dist/containers/Clusters/constants.d.ts +4 -4
- package/dist/containers/Clusters/constants.js +3 -3
- package/dist/containers/Clusters/constants.js.map +1 -1
- package/dist/containers/Header/breadcrumbs.js +14 -0
- package/dist/containers/Header/breadcrumbs.js.map +1 -1
- package/dist/containers/Header/i18n/en.json +2 -1
- package/dist/containers/Header/i18n/index.d.ts +1 -1
- package/dist/containers/Node/Node.js +14 -4
- package/dist/containers/Node/Node.js.map +1 -1
- package/dist/containers/Node/NodePages.js +4 -5
- package/dist/containers/Node/NodePages.js.map +1 -1
- package/dist/containers/Nodes/Nodes.js +10 -11
- package/dist/containers/Nodes/Nodes.js.map +1 -1
- package/dist/containers/Nodes/PaginatedNodes.js +10 -11
- package/dist/containers/Nodes/PaginatedNodes.js.map +1 -1
- package/dist/containers/Nodes/{getNodesColumns.d.ts → columns/columns.d.ts} +3 -10
- package/dist/containers/Nodes/{getNodesColumns.js → columns/columns.js} +29 -39
- package/dist/containers/Nodes/columns/columns.js.map +1 -0
- package/dist/containers/Nodes/columns/constants.d.ts +39 -0
- package/dist/containers/Nodes/columns/constants.js +79 -0
- package/dist/containers/Nodes/columns/constants.js.map +1 -0
- package/dist/containers/Nodes/columns/hooks.d.ts +6 -0
- package/dist/containers/Nodes/columns/hooks.js +11 -0
- package/dist/containers/Nodes/columns/hooks.js.map +1 -0
- package/dist/containers/Nodes/columns/i18n/en.json +16 -0
- package/dist/containers/Nodes/columns/i18n/index.d.ts +2 -0
- package/dist/containers/Nodes/columns/i18n/index.js +5 -0
- package/dist/containers/Nodes/columns/i18n/index.js.map +1 -0
- package/dist/containers/Nodes/columns/types.d.ts +9 -0
- package/dist/containers/Nodes/columns/types.js +2 -0
- package/dist/containers/Nodes/columns/types.js.map +1 -0
- package/dist/containers/Nodes/getNodes.d.ts +3 -2
- package/dist/containers/Nodes/getNodes.js +6 -3
- package/dist/containers/Nodes/getNodes.js.map +1 -1
- package/dist/containers/PDiskPage/PDiskPage.js +11 -9
- package/dist/containers/PDiskPage/PDiskPage.js.map +1 -1
- package/dist/containers/PDiskPage/PDiskPage.scss +15 -4
- package/dist/containers/PDiskPage/i18n/en.json +1 -1
- package/dist/containers/PDiskPage/i18n/index.d.ts +1 -1
- package/dist/containers/ReduxTooltip/ReduxTooltip.js +7 -7
- package/dist/containers/ReduxTooltip/ReduxTooltip.js.map +1 -1
- package/dist/containers/Storage/PDisk/PDisk.d.ts +4 -4
- package/dist/containers/Storage/PDisk/PDisk.js +2 -2
- package/dist/containers/Storage/PDisk/PDisk.js.map +1 -1
- package/dist/containers/Storage/PaginatedStorage.d.ts +2 -3
- package/dist/containers/Storage/PaginatedStorage.js +27 -6
- package/dist/containers/Storage/PaginatedStorage.js.map +1 -1
- package/dist/containers/Storage/Storage.d.ts +4 -4
- package/dist/containers/Storage/Storage.js +45 -11
- package/dist/containers/Storage/Storage.js.map +1 -1
- package/dist/containers/Storage/StorageControls/StorageControls.d.ts +4 -1
- package/dist/containers/Storage/StorageControls/StorageControls.js +4 -2
- package/dist/containers/Storage/StorageControls/StorageControls.js.map +1 -1
- package/dist/containers/Storage/StorageGroups/PaginatedStorageGroups.d.ts +3 -1
- package/dist/containers/Storage/StorageGroups/PaginatedStorageGroups.js +2 -4
- package/dist/containers/Storage/StorageGroups/PaginatedStorageGroups.js.map +1 -1
- package/dist/containers/Storage/StorageGroups/StorageGroups.d.ts +3 -1
- package/dist/containers/Storage/StorageGroups/StorageGroups.js +2 -4
- package/dist/containers/Storage/StorageGroups/StorageGroups.js.map +1 -1
- package/dist/containers/Storage/StorageGroups/columns/columns.d.ts +4 -0
- package/dist/containers/Storage/StorageGroups/columns/{getStorageGroupsColumns.js → columns.js} +36 -82
- package/dist/containers/Storage/StorageGroups/columns/columns.js.map +1 -0
- package/dist/containers/Storage/StorageGroups/columns/constants.d.ts +37 -0
- package/dist/containers/Storage/StorageGroups/columns/constants.js +75 -0
- package/dist/containers/Storage/StorageGroups/columns/constants.js.map +1 -0
- package/dist/containers/Storage/StorageGroups/columns/hooks.d.ts +6 -2
- package/dist/containers/Storage/StorageGroups/columns/hooks.js +22 -14
- package/dist/containers/Storage/StorageGroups/columns/hooks.js.map +1 -1
- package/dist/containers/Storage/StorageGroups/columns/i18n/en.json +15 -0
- package/dist/containers/Storage/StorageGroups/columns/i18n/index.d.ts +2 -0
- package/dist/containers/Storage/StorageGroups/columns/i18n/index.js +5 -0
- package/dist/containers/Storage/StorageGroups/columns/i18n/index.js.map +1 -0
- package/dist/containers/Storage/StorageGroups/columns/types.d.ts +2 -6
- package/dist/containers/Storage/StorageGroups/getGroups.js +4 -1
- package/dist/containers/Storage/StorageGroups/getGroups.js.map +1 -1
- package/dist/containers/Storage/StorageNodes/PaginatedStorageNodes.d.ts +3 -3
- package/dist/containers/Storage/StorageNodes/PaginatedStorageNodes.js +2 -5
- package/dist/containers/Storage/StorageNodes/PaginatedStorageNodes.js.map +1 -1
- package/dist/containers/Storage/StorageNodes/StorageNodes.d.ts +4 -6
- package/dist/containers/Storage/StorageNodes/StorageNodes.js +2 -4
- package/dist/containers/Storage/StorageNodes/StorageNodes.js.map +1 -1
- package/dist/containers/Storage/StorageNodes/StorageNodes.scss +1 -27
- package/dist/containers/Storage/StorageNodes/columns/StorageNodesColumns.scss +23 -0
- package/dist/containers/Storage/StorageNodes/columns/columns.d.ts +39 -0
- package/dist/containers/Storage/StorageNodes/{getStorageNodesColumns.js → columns/columns.js} +21 -31
- package/dist/containers/Storage/StorageNodes/columns/columns.js.map +1 -0
- package/dist/containers/Storage/StorageNodes/columns/constants.d.ts +25 -0
- package/dist/containers/Storage/StorageNodes/columns/constants.js +47 -0
- package/dist/containers/Storage/StorageNodes/columns/constants.js.map +1 -0
- package/dist/containers/Storage/StorageNodes/columns/hooks.d.ts +43 -0
- package/dist/containers/Storage/StorageNodes/columns/hooks.js +18 -0
- package/dist/containers/Storage/StorageNodes/columns/hooks.js.map +1 -0
- package/dist/containers/Storage/StorageNodes/columns/i18n/en.json +9 -0
- package/dist/containers/Storage/StorageNodes/columns/i18n/index.d.ts +2 -0
- package/dist/containers/Storage/StorageNodes/columns/i18n/index.js +5 -0
- package/dist/containers/Storage/StorageNodes/columns/i18n/index.js.map +1 -0
- package/dist/containers/Storage/StorageNodes/columns/types.d.ts +11 -0
- package/dist/containers/Storage/StorageNodes/columns/types.js +2 -0
- package/dist/containers/Storage/StorageNodes/columns/types.js.map +1 -0
- package/dist/containers/Storage/StorageNodes/getNodes.d.ts +2 -2
- package/dist/containers/Storage/StorageNodes/getNodes.js +7 -4
- package/dist/containers/Storage/StorageNodes/getNodes.js.map +1 -1
- package/dist/containers/Storage/StorageNodes/shared.js +1 -1
- package/dist/containers/Storage/StorageNodes/shared.js.map +1 -1
- package/dist/containers/Storage/StorageWrapper.d.ts +0 -2
- package/dist/containers/Storage/StorageWrapper.js.map +1 -1
- package/dist/containers/Storage/utils/index.js +6 -5
- package/dist/containers/Storage/utils/index.js.map +1 -1
- package/dist/containers/StorageGroupPage/StorageGroupPage.d.ts +2 -0
- package/dist/containers/StorageGroupPage/StorageGroupPage.js +74 -0
- package/dist/containers/StorageGroupPage/StorageGroupPage.js.map +1 -0
- package/dist/containers/StorageGroupPage/StorageGroupPage.scss +37 -0
- package/dist/containers/StorageGroupPage/i18n/en.json +5 -0
- package/dist/containers/StorageGroupPage/i18n/index.d.ts +1 -0
- package/dist/containers/StorageGroupPage/i18n/index.js +5 -0
- package/dist/containers/StorageGroupPage/i18n/index.js.map +1 -0
- package/dist/containers/Tablets/i18n/index.d.ts +1 -1
- package/dist/containers/Tenant/Diagnostics/Diagnostics.js +4 -2
- package/dist/containers/Tenant/Diagnostics/Diagnostics.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/DiagnosticsPages.d.ts +36 -0
- package/dist/containers/Tenant/Diagnostics/DiagnosticsPages.js +7 -2
- package/dist/containers/Tenant/Diagnostics/DiagnosticsPages.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByCpu.js +12 -5
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByCpu.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByLoad.js +12 -5
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByLoad.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TopNodesByMemory.js +13 -5
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TopNodesByMemory.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopGroups.js +2 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopGroups.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/i18n/index.d.ts +1 -1
- package/dist/containers/Tenant/ObjectSummary/ObjectSummary.js +46 -55
- package/dist/containers/Tenant/ObjectSummary/ObjectSummary.js.map +1 -1
- package/dist/containers/Tenant/ObjectSummary/ObjectSummary.scss +6 -7
- package/dist/containers/Tenant/ObjectSummary/ObjectTree.d.ts +6 -0
- package/dist/containers/Tenant/ObjectSummary/ObjectTree.js +25 -0
- package/dist/containers/Tenant/ObjectSummary/ObjectTree.js.map +1 -0
- package/dist/containers/Tenant/ObjectSummary/SchemaActions.d.ts +1 -0
- package/dist/containers/Tenant/ObjectSummary/SchemaActions.js +18 -0
- package/dist/containers/Tenant/ObjectSummary/SchemaActions.js.map +1 -0
- package/dist/containers/Tenant/ObjectSummary/i18n/en.json +21 -0
- package/dist/containers/Tenant/ObjectSummary/i18n/index.d.ts +2 -0
- package/dist/containers/Tenant/ObjectSummary/i18n/index.js +5 -0
- package/dist/containers/Tenant/ObjectSummary/i18n/index.js.map +1 -0
- package/dist/containers/Tenant/ObjectSummary/shared.d.ts +1 -0
- package/dist/containers/Tenant/ObjectSummary/shared.js +3 -0
- package/dist/containers/Tenant/ObjectSummary/shared.js.map +1 -0
- package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.js +12 -12
- package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.js.map +1 -1
- package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.scss +8 -0
- package/dist/containers/Tenant/Query/ExecuteResult/i18n/en.json +2 -1
- package/dist/containers/Tenant/Query/ExecuteResult/i18n/index.d.ts +1 -1
- package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettings.js +3 -1
- package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettings.js.map +1 -1
- package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettings.test.js +5 -10
- package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettings.test.js.map +1 -1
- package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettingsDescription.js +5 -3
- package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettingsDescription.js.map +1 -1
- package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettingsDescription.test.js +6 -10
- package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettingsDescription.test.js.map +1 -1
- package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsDialog.js +11 -2
- package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsDialog.js.map +1 -1
- package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsDialog.scss +1 -0
- package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsSelect.d.ts +1 -0
- package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsSelect.js +1 -1
- package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsSelect.js.map +1 -1
- package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.d.ts +3 -0
- package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.js +3 -0
- package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.js.map +1 -1
- package/dist/containers/Tenant/Query/QuerySettingsDialog/i18n/en.json +3 -0
- package/dist/containers/Tenant/Query/QuerySettingsDialog/i18n/index.d.ts +1 -1
- package/dist/containers/Tenant/Query/QuerySettingsDialog/i18n/ru.json +3 -0
- package/dist/containers/Tenant/utils/schema.js +1 -0
- package/dist/containers/Tenant/utils/schema.js.map +1 -1
- package/dist/containers/UserSettings/i18n/en.json +0 -2
- 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 -7
- package/dist/containers/UserSettings/settings.js.map +1 -1
- package/dist/containers/VDiskPage/VDiskPage.d.ts +0 -3
- package/dist/containers/VDiskPage/VDiskPage.js +9 -33
- package/dist/containers/VDiskPage/VDiskPage.js.map +1 -1
- package/dist/containers/VDiskPage/VDiskPage.scss +10 -19
- package/dist/containers/VDiskPage/i18n/en.json +1 -1
- package/dist/containers/VDiskPage/i18n/index.d.ts +1 -1
- package/dist/routes.d.ts +3 -0
- package/dist/routes.js +5 -0
- package/dist/routes.js.map +1 -1
- package/dist/services/api.d.ts +16 -5
- package/dist/services/api.js +51 -12
- package/dist/services/api.js.map +1 -1
- package/dist/services/settings.d.ts +2 -2
- package/dist/services/settings.js +2 -3
- package/dist/services/settings.js.map +1 -1
- package/dist/store/configureStore.d.ts +2 -2
- package/dist/store/defaultStore.d.ts +1 -1
- package/dist/store/reducers/capabilities/capabilities.d.ts +8 -1
- package/dist/store/reducers/capabilities/capabilities.js +6 -1
- package/dist/store/reducers/capabilities/capabilities.js.map +1 -1
- 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/executeQuery.js +3 -0
- package/dist/store/reducers/executeQuery.js.map +1 -1
- package/dist/store/reducers/header/types.d.ts +5 -2
- package/dist/store/reducers/index.d.ts +2 -2
- package/dist/store/reducers/nodes/nodes.d.ts +2 -2
- package/dist/store/reducers/nodes/nodes.js.map +1 -1
- package/dist/store/reducers/nodes/types.d.ts +2 -23
- package/dist/store/reducers/pdisk/pdisk.js +29 -2
- package/dist/store/reducers/pdisk/pdisk.js.map +1 -1
- package/dist/store/reducers/pdisk/utils.js +1 -1
- package/dist/store/reducers/pdisk/utils.js.map +1 -1
- package/dist/store/reducers/storage/storage.d.ts +2 -2
- package/dist/store/reducers/storage/storage.js.map +1 -1
- package/dist/store/reducers/storage/types.d.ts +19 -0
- package/dist/store/reducers/storage/utils.js +7 -2
- package/dist/store/reducers/storage/utils.js.map +1 -1
- package/dist/store/reducers/tooltip.d.ts +1 -1
- package/dist/styles/mixins.scss +3 -3
- package/dist/types/api/capabilities.d.ts +1 -1
- package/dist/types/api/common.d.ts +1 -0
- package/dist/types/api/meta.d.ts +3 -0
- package/dist/types/api/nodes.d.ts +33 -0
- package/dist/types/api/nodes.js.map +1 -1
- package/dist/types/api/query.d.ts +1 -0
- package/dist/types/api/storage.d.ts +8 -5
- package/dist/types/store/query.d.ts +5 -8
- package/dist/utils/constants.d.ts +0 -8
- package/dist/utils/constants.js +0 -9
- package/dist/utils/constants.js.map +1 -1
- package/dist/utils/filters.d.ts +2 -1
- package/dist/utils/filters.js +1 -4
- package/dist/utils/filters.js.map +1 -1
- package/dist/utils/hooks/useChangedQuerySettings.d.ts +2 -2
- package/dist/utils/hooks/useChangedQuerySettings.js +2 -1
- package/dist/utils/hooks/useChangedQuerySettings.js.map +1 -1
- package/dist/utils/hooks/useLastQueryExecutionSettings.d.ts +15 -2
- package/dist/utils/hooks/useLastQueryExecutionSettings.js +8 -9
- package/dist/utils/hooks/useLastQueryExecutionSettings.js.map +1 -1
- package/dist/utils/hooks/useQueryExecutionSettings.d.ts +15 -2
- package/dist/utils/hooks/useQueryExecutionSettings.js +5 -7
- package/dist/utils/hooks/useQueryExecutionSettings.js.map +1 -1
- package/dist/utils/hooks/useSelectedColumns.d.ts +8 -0
- package/dist/utils/hooks/useSelectedColumns.js +35 -0
- package/dist/utils/hooks/useSelectedColumns.js.map +1 -0
- package/dist/utils/nodes.d.ts +3 -22
- package/dist/utils/nodes.js +16 -19
- package/dist/utils/nodes.js.map +1 -1
- package/dist/utils/query.d.ts +129 -0
- package/dist/utils/query.js +33 -1
- package/dist/utils/query.js.map +1 -1
- package/dist/utils/storage.d.ts +1 -1
- package/dist/utils/storage.js.map +1 -1
- package/package.json +2 -1
- package/dist/containers/Clusters/useSelectedColumns.d.ts +0 -7
- package/dist/containers/Clusters/useSelectedColumns.js +0 -26
- package/dist/containers/Clusters/useSelectedColumns.js.map +0 -1
- package/dist/containers/Nodes/getNodesColumns.js.map +0 -1
- package/dist/containers/PDiskPage/PDiskGroups/PDiskGroups.d.ts +0 -6
- package/dist/containers/PDiskPage/PDiskGroups/PDiskGroups.js +0 -30
- package/dist/containers/PDiskPage/PDiskGroups/PDiskGroups.js.map +0 -1
- package/dist/containers/PDiskPage/PDiskGroups/utils.d.ts +0 -2
- package/dist/containers/PDiskPage/PDiskGroups/utils.js +0 -14
- package/dist/containers/PDiskPage/PDiskGroups/utils.js.map +0 -1
- package/dist/containers/Storage/StorageGroups/columns/getStorageGroupsColumns.d.ts +0 -21
- package/dist/containers/Storage/StorageGroups/columns/getStorageGroupsColumns.js.map +0 -1
- package/dist/containers/Storage/StorageNodes/getStorageNodesColumns.d.ts +0 -50
- package/dist/containers/Storage/StorageNodes/getStorageNodesColumns.js.map +0 -1
- package/dist/containers/VDiskPage/utils.d.ts +0 -2
- package/dist/containers/VDiskPage/utils.js +0 -7
- package/dist/containers/VDiskPage/utils.js.map +0 -1
- package/dist/store/reducers/tenantOverview/topNodes/topNodes.d.ts +0 -4
- package/dist/store/reducers/tenantOverview/topNodes/topNodes.js +0 -27
- package/dist/store/reducers/tenantOverview/topNodes/topNodes.js.map +0 -1
@@ -1,2 +1,2 @@
|
|
1
|
-
declare const _default: (key: "
|
1
|
+
declare const _default: (key: "1 min" | "5 min" | "None" | "15 sec" | "2 min" | "Refresh", params?: import("@gravity-ui/i18n").Params) => string;
|
2
2
|
export default _default;
|
@@ -5,9 +5,10 @@ interface DiskStateProgressBarProps {
|
|
5
5
|
severity?: number;
|
6
6
|
compact?: boolean;
|
7
7
|
faded?: boolean;
|
8
|
+
inactive?: boolean;
|
8
9
|
empty?: boolean;
|
9
10
|
content?: React.ReactNode;
|
10
11
|
className?: string;
|
11
12
|
}
|
12
|
-
export declare function DiskStateProgressBar({ diskAllocatedPercent, severity, compact, faded, empty, content, className, }: DiskStateProgressBarProps): import("react/jsx-runtime").JSX.Element;
|
13
|
+
export declare function DiskStateProgressBar({ diskAllocatedPercent, severity, compact, faded, inactive, empty, content, className, }: DiskStateProgressBarProps): import("react/jsx-runtime").JSX.Element;
|
13
14
|
export {};
|
@@ -5,9 +5,9 @@ import { getSeverityColor } from '../../utils/disks/helpers';
|
|
5
5
|
import { useSetting } from '../../utils/hooks';
|
6
6
|
import './DiskStateProgressBar.scss';
|
7
7
|
const b = cn('storage-disk-progress-bar');
|
8
|
-
export function DiskStateProgressBar({ diskAllocatedPercent = -1, severity, compact, faded, empty, content, className, }) {
|
8
|
+
export function DiskStateProgressBar({ diskAllocatedPercent = -1, severity, compact, faded, inactive, empty, content, className, }) {
|
9
9
|
const [inverted] = useSetting(INVERTED_DISKS_KEY);
|
10
|
-
const mods = { inverted, compact, faded, empty };
|
10
|
+
const mods = { inverted, compact, faded, empty, inactive };
|
11
11
|
const color = severity !== undefined && getSeverityColor(severity);
|
12
12
|
if (color) {
|
13
13
|
mods[color.toLocaleLowerCase()] = true;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DiskStateProgressBar.js","sourceRoot":"","sources":["../../../src/components/DiskStateProgressBar/DiskStateProgressBar.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAC,EAAE,EAAC,MAAM,gBAAgB,CAAC;AAClC,OAAO,EAAC,kBAAkB,EAAC,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAC,gBAAgB,EAAC,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EAAC,UAAU,EAAC,MAAM,mBAAmB,CAAC;AAE7C,OAAO,6BAA6B,CAAC;AAErC,MAAM,CAAC,GAAG,EAAE,CAAC,2BAA2B,CAAC,CAAC;
|
1
|
+
{"version":3,"file":"DiskStateProgressBar.js","sourceRoot":"","sources":["../../../src/components/DiskStateProgressBar/DiskStateProgressBar.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAC,EAAE,EAAC,MAAM,gBAAgB,CAAC;AAClC,OAAO,EAAC,kBAAkB,EAAC,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAC,gBAAgB,EAAC,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EAAC,UAAU,EAAC,MAAM,mBAAmB,CAAC;AAE7C,OAAO,6BAA6B,CAAC;AAErC,MAAM,CAAC,GAAG,EAAE,CAAC,2BAA2B,CAAC,CAAC;AAa1C,MAAM,UAAU,oBAAoB,CAAC,EACjC,oBAAoB,GAAG,CAAC,CAAC,EACzB,QAAQ,EACR,OAAO,EACP,KAAK,EACL,QAAQ,EACR,KAAK,EACL,OAAO,EACP,SAAS,GACe;IACxB,MAAM,CAAC,QAAQ,CAAC,GAAG,UAAU,CAAsB,kBAAkB,CAAC,CAAC;IAEvE,MAAM,IAAI,GAAwC,EAAC,QAAQ,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAC,CAAC;IAE9F,MAAM,KAAK,GAAG,QAAQ,KAAK,SAAS,IAAI,gBAAgB,CAAC,QAAQ,CAAC,CAAC;IACnE,IAAI,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,KAAK,CAAC,iBAAiB,EAAE,CA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" | "erasure" | "group-id", params?: import("@gravity-ui/i18n").Params) => string;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
2
|
+
import { Flex } from '@gravity-ui/uikit';
|
2
3
|
import { getPDiskPagePath } from '../../routes';
|
3
4
|
import { selectIsUserAllowedToMakeChanges } from '../../store/reducers/authentication/authentication';
|
4
|
-
import { useDiskPagesAvailable } from '../../store/reducers/capabilities/hooks';
|
5
5
|
import { valueIsDefined } from '../../utils';
|
6
6
|
import { formatBytes } from '../../utils/bytesParsers';
|
7
7
|
import { cn } from '../../utils/cn';
|
@@ -102,13 +102,12 @@ function getPDiskInfo({ pDisk, nodeId, withPDiskPageLink, isUserAllowedToMakeCha
|
|
102
102
|
}
|
103
103
|
export function PDiskInfo({ pDisk, nodeId, withPDiskPageLink, className, }) {
|
104
104
|
const isUserAllowedToMakeChanges = useTypedSelector(selectIsUserAllowedToMakeChanges);
|
105
|
-
const diskPagesAvailable = useDiskPagesAvailable();
|
106
105
|
const [generalInfo, statusInfo, spaceInfo, additionalInfo] = getPDiskInfo({
|
107
106
|
pDisk,
|
108
107
|
nodeId,
|
109
|
-
withPDiskPageLink
|
108
|
+
withPDiskPageLink,
|
110
109
|
isUserAllowedToMakeChanges,
|
111
110
|
});
|
112
|
-
return (_jsxs(
|
111
|
+
return (_jsxs(Flex, { className: className, gap: 2, direction: "row", wrap: true, children: [_jsxs(Flex, { direction: "column", gap: 2, width: 500, children: [_jsx(InfoViewer, { info: generalInfo, renderEmptyState: () => null }), _jsx(InfoViewer, { info: spaceInfo, renderEmptyState: () => null })] }), _jsxs(Flex, { direction: "column", gap: 2, width: 500, children: [_jsx(InfoViewer, { info: statusInfo, renderEmptyState: () => null }), _jsx(InfoViewer, { info: additionalInfo, renderEmptyState: () => null })] })] }));
|
113
112
|
}
|
114
113
|
//# sourceMappingURL=PDiskInfo.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"PDiskInfo.js","sourceRoot":"","sources":["../../../src/components/PDiskInfo/PDiskInfo.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,
|
1
|
+
{"version":3,"file":"PDiskInfo.js","sourceRoot":"","sources":["../../../src/components/PDiskInfo/PDiskInfo.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,IAAI,EAAC,MAAM,mBAAmB,CAAC;AAEvC,OAAO,EAAC,gBAAgB,EAAC,MAAM,cAAc,CAAC;AAC9C,OAAO,EAAC,gCAAgC,EAAC,MAAM,oDAAoD,CAAC;AACpG,OAAO,EAAC,cAAc,EAAC,MAAM,aAAa,CAAC;AAC3C,OAAO,EAAC,WAAW,EAAC,MAAM,0BAA0B,CAAC;AACrD,OAAO,EAAC,EAAE,EAAC,MAAM,gBAAgB,CAAC;AAClC,OAAO,EAAC,uBAAuB,EAAC,MAAM,2CAA2C,CAAC;AAClF,OAAO,EAAC,0BAA0B,EAAC,MAAM,qCAAqC,CAAC;AAE/E,OAAO,EAAC,gBAAgB,EAAC,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAC,YAAY,EAAC,MAAM,8BAA8B,CAAC;AAE1D,OAAO,EAAC,UAAU,EAAC,MAAM,0BAA0B,CAAC;AACpD,OAAO,EAAC,YAAY,EAAC,MAAM,8BAA8B,CAAC;AAC1D,OAAO,EAAC,cAAc,EAAC,MAAM,kCAAkC,CAAC;AAEhE,OAAO,EAAC,eAAe,EAAC,MAAM,QAAQ,CAAC;AAEvC,OAAO,kBAAkB,CAAC;AAE1B,MAAM,CAAC,GAAG,EAAE,CAAC,gBAAgB,CAAC,CAAC;AAS/B,sCAAsC;AACtC,SAAS,YAAY,CAA0B,EAC3C,KAAK,EACL,MAAM,EACN,iBAAiB,EACjB,0BAA0B,GACL;IACrB,MAAM,EACF,OAAO,EACP,IAAI,EACJ,IAAI,EACJ,QAAQ,EACR,IAAI,EACJ,MAAM,EACN,QAAQ,EACR,KAAK,EACL,YAAY,EACZ,SAAS,EACT,aAAa,EAC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CAAC;IAED,OAAO,CAAC,WAAW,EAAE,UAAU,EAAE,SAAS,EAAE,cAAc,CAAC,CAAC;AAChE,CAAC;AAMD,MAAM,UAAU,SAAS,CAA0B,EAC/C,KAAK,EACL,MAAM,EACN,iBAAiB,EACjB,SAAS,GACO;IAChB,MAAM,0BAA0B,GAAG,gBAAgB,CAAC,gCAAgC,CAAC,CAAC;IAEtF,MAAM,CAAC,WAAW,EAAE,UAAU,EAAE,SAAS,EAAE,cAAc,CAAC,GAAG,YAAY,CAAC;QACtE,KAAK;QACL,MAAM;QACN,iBAAiB;QACjB,0BAA0B;KAC7B,CAAC,CAAC;IAEH,OAAO,CACH,MAAC,IAAI,IAAC,SAAS,EAAE,SAAS,EAAE,GAAG,EAAE,CAAC,EAAE,SAAS,EAAC,KAAK,EAAC,IAAI,mBACpD,MAAC,IAAI,IAAC,SAAS,EAAC,QAAQ,EAAC,GAAG,EAAE,CAAC,EAAE,KAAK,EAAE,GAAG,aACvC,KAAC,UAAU,IAAC,IAAI,EAAE,WAAW,EAAE,gBAAgB,EAAE,GAAG,EAAE,CAAC,IAAI,GAAI,EAC/D,KAAC,UAAU,IAAC,IAAI,EAAE,SAAS,EAAE,gBAAgB,EAAE,GAAG,EAAE,CAAC,IAAI,GAAI,IAC1D,EACP,MAAC,IAAI,IAAC,SAAS,EAAC,QAAQ,EAAC,GAAG,EAAE,CAAC,EAAE,KAAK,EAAE,GAAG,aACvC,KAAC,UAAU,IAAC,IAAI,EAAE,UAAU,EAAE,gBAAgB,EAAE,GAAG,EAAE,CAAC,IAAI,GAAI,EAC9D,KAAC,UAAU,IAAC,IAAI,EAAE,cAAc,EAAE,gBAAgB,EAAE,GAAG,EAAE,CAAC,IAAI,GAAI,IAC/D,IACJ,CACV,CAAC;AACN,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
export declare const pDiskInfoKeyset: (key: "path" | "
|
1
|
+
export declare const pDiskInfoKeyset: (key: "path" | "type" | "space" | "state" | "yes" | "links" | "guid" | "serial-number" | "shared-with-os" | "drive-status" | "device" | "realtime" | "slots" | "log-size" | "system-size" | "developer-ui" | "pdisk-page", params?: import("@gravity-ui/i18n").Params) => string;
|
@@ -1,14 +1,11 @@
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
2
2
|
import React from 'react';
|
3
|
-
import {
|
3
|
+
import { showTooltip } from '../../../store/reducers/tooltip';
|
4
4
|
import { useTypedDispatch } from '../../../utils/hooks';
|
5
5
|
import { b } from '../QueryResultTable';
|
6
6
|
export const Cell = React.memo(function Cell(props) {
|
7
7
|
const { className, value } = props;
|
8
8
|
const dispatch = useTypedDispatch();
|
9
|
-
React.useEffect(() => () => {
|
10
|
-
dispatch(hideTooltip());
|
11
|
-
}, [dispatch]);
|
12
9
|
return (_jsx("span", { className: b('cell', className), onClick: (e) => dispatch(showTooltip(e.target, value, 'cell')), children: value }));
|
13
10
|
});
|
14
11
|
//# sourceMappingURL=Cell.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Cell.js","sourceRoot":"","sources":["../../../../src/components/QueryResultTable/Cell/Cell.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,WAAW,
|
1
|
+
{"version":3,"file":"Cell.js","sourceRoot":"","sources":["../../../../src/components/QueryResultTable/Cell/Cell.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,WAAW,EAAC,MAAM,iCAAiC,CAAC;AAC5D,OAAO,EAAC,gBAAgB,EAAC,MAAM,sBAAsB,CAAC;AACtD,OAAO,EAAC,CAAC,EAAC,MAAM,qBAAqB,CAAC;AAOtC,MAAM,CAAC,MAAM,IAAI,GAAG,KAAK,CAAC,IAAI,CAAC,SAAS,IAAI,CAAC,KAAgB;IACzD,MAAM,EAAC,SAAS,EAAE,KAAK,EAAC,GAAG,KAAK,CAAC;IAEjC,MAAM,QAAQ,GAAG,gBAAgB,EAAE,CAAC;IAEpC,OAAO,CACH,eACI,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,SAAS,CAAC,EAC/B,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAC,CAAC,MAAM,EAAE,KAAK,EAAE,MAAM,CAAC,CAAC,YAE7D,KAAK,GACH,CACV,CAAC;AACN,CAAC,CAAC,CAAC"}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import type { PreparedStorageGroup } from '../../store/reducers/storage/types';
|
2
|
+
import type { InfoViewerProps } from '../InfoViewer/InfoViewer';
|
3
|
+
interface StorageGroupInfoProps extends Omit<InfoViewerProps, 'info'> {
|
4
|
+
data?: PreparedStorageGroup;
|
5
|
+
className?: string;
|
6
|
+
}
|
7
|
+
export declare function StorageGroupInfo({ data, className, ...infoViewerProps }: StorageGroupInfoProps): import("react/jsx-runtime").JSX.Element;
|
8
|
+
export {};
|
@@ -0,0 +1,123 @@
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
2
|
+
import { Flex } from '@gravity-ui/uikit';
|
3
|
+
import { valueIsDefined } from '../../utils';
|
4
|
+
import { formatStorageValuesToGb } from '../../utils/dataFormatters/dataFormatters';
|
5
|
+
import { formatToMs } from '../../utils/timeParsers';
|
6
|
+
import { bytesToSpeed } from '../../utils/utils';
|
7
|
+
import { EntityStatus } from '../EntityStatus/EntityStatus';
|
8
|
+
import { InfoViewer } from '../InfoViewer';
|
9
|
+
import { ProgressViewer } from '../ProgressViewer/ProgressViewer';
|
10
|
+
import { storageGroupInfoKeyset } from './i18n';
|
11
|
+
// eslint-disable-next-line complexity
|
12
|
+
export function StorageGroupInfo({ data, className, ...infoViewerProps }) {
|
13
|
+
const { Encryption, Overall, DiskSpace, MediaType, ErasureSpecies, Used, Limit, Usage, Read, Write, GroupGeneration, Latency, AllocationUnits, State, MissingDisks, Available, LatencyPutTabletLog, LatencyPutUserData, LatencyGetFast, } = data || {};
|
14
|
+
const storageGroupInfoFirstColumn = [];
|
15
|
+
if (valueIsDefined(GroupGeneration)) {
|
16
|
+
storageGroupInfoFirstColumn.push({
|
17
|
+
label: storageGroupInfoKeyset('group-generation'),
|
18
|
+
value: GroupGeneration,
|
19
|
+
});
|
20
|
+
}
|
21
|
+
if (valueIsDefined(ErasureSpecies)) {
|
22
|
+
storageGroupInfoFirstColumn.push({
|
23
|
+
label: storageGroupInfoKeyset('erasure-species'),
|
24
|
+
value: ErasureSpecies,
|
25
|
+
});
|
26
|
+
}
|
27
|
+
if (valueIsDefined(MediaType)) {
|
28
|
+
storageGroupInfoFirstColumn.push({
|
29
|
+
label: storageGroupInfoKeyset('media-type'),
|
30
|
+
value: MediaType,
|
31
|
+
});
|
32
|
+
}
|
33
|
+
if (valueIsDefined(Encryption)) {
|
34
|
+
storageGroupInfoFirstColumn.push({
|
35
|
+
label: storageGroupInfoKeyset('encryption'),
|
36
|
+
value: Encryption ? storageGroupInfoKeyset('yes') : storageGroupInfoKeyset('no'),
|
37
|
+
});
|
38
|
+
}
|
39
|
+
if (valueIsDefined(Overall)) {
|
40
|
+
storageGroupInfoFirstColumn.push({
|
41
|
+
label: storageGroupInfoKeyset('overall'),
|
42
|
+
value: _jsx(EntityStatus, { status: Overall }),
|
43
|
+
});
|
44
|
+
}
|
45
|
+
if (valueIsDefined(State)) {
|
46
|
+
storageGroupInfoFirstColumn.push({ label: storageGroupInfoKeyset('state'), value: State });
|
47
|
+
}
|
48
|
+
if (valueIsDefined(MissingDisks)) {
|
49
|
+
storageGroupInfoFirstColumn.push({
|
50
|
+
label: storageGroupInfoKeyset('missing-disks'),
|
51
|
+
value: MissingDisks,
|
52
|
+
});
|
53
|
+
}
|
54
|
+
const storageGroupInfoSecondColumn = [];
|
55
|
+
if (valueIsDefined(Used) && valueIsDefined(Limit)) {
|
56
|
+
storageGroupInfoSecondColumn.push({
|
57
|
+
label: storageGroupInfoKeyset('used-space'),
|
58
|
+
value: (_jsx(ProgressViewer, { value: Number(Used), capacity: Number(Limit), formatValues: formatStorageValuesToGb, colorizeProgress: true })),
|
59
|
+
});
|
60
|
+
}
|
61
|
+
if (valueIsDefined(Available)) {
|
62
|
+
storageGroupInfoSecondColumn.push({
|
63
|
+
label: storageGroupInfoKeyset('available'),
|
64
|
+
value: formatStorageValuesToGb(Number(Available)),
|
65
|
+
});
|
66
|
+
}
|
67
|
+
if (valueIsDefined(Usage)) {
|
68
|
+
storageGroupInfoSecondColumn.push({
|
69
|
+
label: storageGroupInfoKeyset('usage'),
|
70
|
+
value: `${Usage.toFixed(2)}%`,
|
71
|
+
});
|
72
|
+
}
|
73
|
+
if (valueIsDefined(DiskSpace)) {
|
74
|
+
storageGroupInfoSecondColumn.push({
|
75
|
+
label: storageGroupInfoKeyset('disk-space'),
|
76
|
+
value: _jsx(EntityStatus, { status: DiskSpace }),
|
77
|
+
});
|
78
|
+
}
|
79
|
+
if (valueIsDefined(Latency)) {
|
80
|
+
storageGroupInfoSecondColumn.push({
|
81
|
+
label: storageGroupInfoKeyset('latency'),
|
82
|
+
value: _jsx(EntityStatus, { status: Latency }),
|
83
|
+
});
|
84
|
+
}
|
85
|
+
if (valueIsDefined(LatencyPutTabletLog)) {
|
86
|
+
storageGroupInfoSecondColumn.push({
|
87
|
+
label: storageGroupInfoKeyset('latency-put-tablet-log'),
|
88
|
+
value: formatToMs(LatencyPutTabletLog),
|
89
|
+
});
|
90
|
+
}
|
91
|
+
if (valueIsDefined(LatencyPutUserData)) {
|
92
|
+
storageGroupInfoSecondColumn.push({
|
93
|
+
label: storageGroupInfoKeyset('latency-put-user-data'),
|
94
|
+
value: formatToMs(LatencyPutUserData),
|
95
|
+
});
|
96
|
+
}
|
97
|
+
if (valueIsDefined(LatencyGetFast)) {
|
98
|
+
storageGroupInfoSecondColumn.push({
|
99
|
+
label: storageGroupInfoKeyset('latency-get-fast'),
|
100
|
+
value: formatToMs(LatencyGetFast),
|
101
|
+
});
|
102
|
+
}
|
103
|
+
if (valueIsDefined(AllocationUnits)) {
|
104
|
+
storageGroupInfoSecondColumn.push({
|
105
|
+
label: storageGroupInfoKeyset('allocation-units'),
|
106
|
+
value: AllocationUnits,
|
107
|
+
});
|
108
|
+
}
|
109
|
+
if (valueIsDefined(Read)) {
|
110
|
+
storageGroupInfoSecondColumn.push({
|
111
|
+
label: storageGroupInfoKeyset('read-throughput'),
|
112
|
+
value: bytesToSpeed(Number(Read)),
|
113
|
+
});
|
114
|
+
}
|
115
|
+
if (valueIsDefined(Write)) {
|
116
|
+
storageGroupInfoSecondColumn.push({
|
117
|
+
label: storageGroupInfoKeyset('write-throughput'),
|
118
|
+
value: bytesToSpeed(Number(Write)),
|
119
|
+
});
|
120
|
+
}
|
121
|
+
return (_jsxs(Flex, { className: className, gap: 2, direction: "row", wrap: true, children: [_jsx(InfoViewer, { info: storageGroupInfoFirstColumn, ...infoViewerProps }), _jsx(InfoViewer, { info: storageGroupInfoSecondColumn, ...infoViewerProps })] }));
|
122
|
+
}
|
123
|
+
//# sourceMappingURL=StorageGroupInfo.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"StorageGroupInfo.js","sourceRoot":"","sources":["../../../src/components/StorageGroupInfo/StorageGroupInfo.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,IAAI,EAAC,MAAM,mBAAmB,CAAC;AAGvC,OAAO,EAAC,cAAc,EAAC,MAAM,aAAa,CAAC;AAC3C,OAAO,EAAC,uBAAuB,EAAC,MAAM,2CAA2C,CAAC;AAClF,OAAO,EAAC,UAAU,EAAC,MAAM,yBAAyB,CAAC;AACnD,OAAO,EAAC,YAAY,EAAC,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAC,YAAY,EAAC,MAAM,8BAA8B,CAAC;AAC1D,OAAO,EAAC,UAAU,EAAC,MAAM,eAAe,CAAC;AAEzC,OAAO,EAAC,cAAc,EAAC,MAAM,kCAAkC,CAAC;AAEhE,OAAO,EAAC,sBAAsB,EAAC,MAAM,QAAQ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Ac,CAAC,eAAe,CAAC,EAAE,CAAC;QAClC,4BAA4B,CAAC,IAAI,CAAC;YAC9B,KAAK,EAAE,sBAAsB,CAAC,kBAAkB,CAAC;YACjD,KAAK,EAAE,eAAe;SACzB,CAAC,CAAC;IACP,CAAC;IACD,IAAI,cAAc,CAAC,IAAI,CAAC,EAAE,CAAC;QACvB,4BAA4B,CAAC,IAAI,CAAC;YAC9B,KAAK,EAAE,sBAAsB,CAAC,iBAAiB,CAAC;YAChD,KAAK,EAAE,YAAY,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;SACpC,CAAC,CAAC;IACP,CAAC;IACD,IAAI,cAAc,CAAC,KAAK,CAAC,EAAE,CAAC;QACxB,4BAA4B,CAAC,IAAI,CAAC;YAC9B,KAAK,EAAE,sBAAsB,CAAC,kBAAkB,CAAC;YACjD,KAAK,EAAE,YAAY,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;SACrC,CAAC,CAAC;IACP,CAAC;IAED,OAAO,CACH,MAAC,IAAI,IAAC,SAAS,EAAE,SAAS,EAAE,GAAG,EAAE,CAAC,EAAE,SAAS,EAAC,KAAK,EAAC,IAAI,mBACpD,KAAC,UAAU,IAAC,IAAI,EAAE,2BAA2B,KAAM,eAAe,GAAI,EACtE,KAAC,UAAU,IAAC,IAAI,EAAE,4BAA4B,KAAM,eAAe,GAAI,IACpE,CACV,CAAC;AACN,CAAC"}
|
@@ -0,0 +1,22 @@
|
|
1
|
+
{
|
2
|
+
"encryption": "Encryption",
|
3
|
+
"overall": "Overall",
|
4
|
+
"disk-space": "Disk Space",
|
5
|
+
"media-type": "Media Type",
|
6
|
+
"erasure-species": "Erasure Species",
|
7
|
+
"used-space": "Used Space",
|
8
|
+
"usage": "Usage",
|
9
|
+
"read-throughput": "Read Throughput",
|
10
|
+
"write-throughput": "Write Throughput",
|
11
|
+
"yes": "Yes",
|
12
|
+
"no": "No",
|
13
|
+
"group-generation": "Group Generation",
|
14
|
+
"latency": "Latency",
|
15
|
+
"allocation-units": "Units",
|
16
|
+
"state": "State",
|
17
|
+
"missing-disks": "Missing Disks",
|
18
|
+
"available": "Available Space",
|
19
|
+
"latency-put-tablet-log": "Latency (Put Tablet Log)",
|
20
|
+
"latency-put-user-data": "Latency (Put User Data)",
|
21
|
+
"latency-get-fast": "Latency (Get Fast)"
|
22
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare const storageGroupInfoKeyset: (key: "state" | "yes" | "no" | "usage" | "media-type" | "available" | "read-throughput" | "write-throughput" | "encryption" | "overall" | "disk-space" | "erasure-species" | "used-space" | "group-generation" | "latency" | "allocation-units" | "missing-disks" | "latency-put-tablet-log" | "latency-put-user-data" | "latency-get-fast", params?: import("@gravity-ui/i18n").Params) => string;
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/StorageGroupInfo/i18n/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,qBAAqB,CAAC;AAEpD,OAAO,EAAE,MAAM,WAAW,CAAC;AAE3B,MAAM,SAAS,GAAG,oBAAoB,CAAC;AAEvC,MAAM,CAAC,MAAM,sBAAsB,GAAG,eAAe,CAAC,SAAS,EAAE,EAAC,EAAE,EAAC,CAAC,CAAC"}
|
@@ -5,9 +5,10 @@ export interface VDiskProps {
|
|
5
5
|
data?: PreparedVDisk;
|
6
6
|
nodes?: NodesMap;
|
7
7
|
compact?: boolean;
|
8
|
+
inactive?: boolean;
|
8
9
|
showPopup?: boolean;
|
9
10
|
onShowPopup?: VoidFunction;
|
10
11
|
onHidePopup?: VoidFunction;
|
11
12
|
progressBarClassName?: string;
|
12
13
|
}
|
13
|
-
export declare const VDisk: ({ data, nodes, compact, showPopup, onShowPopup, onHidePopup, progressBarClassName, }: VDiskProps) => import("react/jsx-runtime").JSX.Element;
|
14
|
+
export declare const VDisk: ({ data, nodes, compact, inactive, showPopup, onShowPopup, onHidePopup, progressBarClassName, }: VDiskProps) => import("react/jsx-runtime").JSX.Element;
|
@@ -12,7 +12,7 @@ import { InternalLink } from '../InternalLink';
|
|
12
12
|
import { VDiskPopup } from '../VDiskPopup/VDiskPopup';
|
13
13
|
import './VDisk.scss';
|
14
14
|
const b = cn('ydb-vdisk-component');
|
15
|
-
export const VDisk = ({ data = {}, nodes, compact, showPopup, onShowPopup, onHidePopup, progressBarClassName, }) => {
|
15
|
+
export const VDisk = ({ data = {}, nodes, compact, inactive, showPopup, onShowPopup, onHidePopup, progressBarClassName, }) => {
|
16
16
|
const isFullData = isFullVDiskData(data);
|
17
17
|
const diskPagesAvailable = useDiskPagesAvailable();
|
18
18
|
const [isPopupVisible, setIsPopupVisible] = React.useState(false);
|
@@ -38,6 +38,6 @@ export const VDisk = ({ data = {}, nodes, compact, showPopup, onShowPopup, onHid
|
|
38
38
|
vdiskId: stringifyVdiskId(data.VDiskId),
|
39
39
|
});
|
40
40
|
}
|
41
|
-
return (_jsxs(React.Fragment, { children: [_jsx("div", { className: b(), ref: anchor, onMouseEnter: handleShowPopup, onMouseLeave: handleHidePopup, children: _jsx(InternalLink, { to: vDiskPath, className: b('content'), children: _jsx(DiskStateProgressBar, { diskAllocatedPercent: data.AllocatedPercent, severity: data.Severity, compact: compact, className: progressBarClassName }) }) }), _jsx(VDiskPopup, { data: data, nodes: nodes, anchorRef: anchor, open: isPopupVisible || showPopup })] }));
|
41
|
+
return (_jsxs(React.Fragment, { children: [_jsx("div", { className: b(), ref: anchor, onMouseEnter: handleShowPopup, onMouseLeave: handleHidePopup, children: _jsx(InternalLink, { to: vDiskPath, className: b('content'), children: _jsx(DiskStateProgressBar, { diskAllocatedPercent: data.AllocatedPercent, severity: data.Severity, compact: compact, inactive: inactive, className: progressBarClassName }) }) }), _jsx(VDiskPopup, { data: data, nodes: nodes, anchorRef: anchor, open: isPopupVisible || showPopup })] }));
|
42
42
|
};
|
43
43
|
//# sourceMappingURL=VDisk.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"VDisk.js","sourceRoot":"","sources":["../../../src/components/VDisk/VDisk.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,SAAS,EAAC,MAAM,iCAAiC,CAAC;AAC1D,OAAO,MAAM,EAAE,EAAC,UAAU,EAAE,gBAAgB,EAAC,MAAM,cAAc,CAAC;AAClE,OAAO,EAAC,qBAAqB,EAAC,MAAM,yCAAyC,CAAC;AAE9E,OAAO,EAAC,cAAc,EAAC,MAAM,aAAa,CAAC;AAC3C,OAAO,EAAC,EAAE,EAAC,MAAM,gBAAgB,CAAC;AAClC,OAAO,EAAC,gBAAgB,EAAC,MAAM,2CAA2C,CAAC;AAC3E,OAAO,EAAC,eAAe,EAAC,MAAM,2BAA2B,CAAC;AAE1D,OAAO,EAAC,oBAAoB,EAAC,MAAM,8CAA8C,CAAC;AAClF,OAAO,EAAC,YAAY,EAAC,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAC,UAAU,EAAC,MAAM,0BAA0B,CAAC;AAEpD,OAAO,cAAc,CAAC;AAEtB,MAAM,CAAC,GAAG,EAAE,CAAC,qBAAqB,CAAC,CAAC;
|
1
|
+
{"version":3,"file":"VDisk.js","sourceRoot":"","sources":["../../../src/components/VDisk/VDisk.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,SAAS,EAAC,MAAM,iCAAiC,CAAC;AAC1D,OAAO,MAAM,EAAE,EAAC,UAAU,EAAE,gBAAgB,EAAC,MAAM,cAAc,CAAC;AAClE,OAAO,EAAC,qBAAqB,EAAC,MAAM,yCAAyC,CAAC;AAE9E,OAAO,EAAC,cAAc,EAAC,MAAM,aAAa,CAAC;AAC3C,OAAO,EAAC,EAAE,EAAC,MAAM,gBAAgB,CAAC;AAClC,OAAO,EAAC,gBAAgB,EAAC,MAAM,2CAA2C,CAAC;AAC3E,OAAO,EAAC,eAAe,EAAC,MAAM,2BAA2B,CAAC;A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AC,CAAC;IAC9E,CAAC;SAAM,IAAI,cAAc,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,UAAU,EAAE,CAAC;QACnD,SAAS,GAAG,UAAU,CAClB,MAAM,CAAC,IAAI,EACX,EAAC,EAAE,EAAE,IAAI,CAAC,MAAM,EAAE,SAAS,EAAE,SAAS,EAAC,EACvC;YACI,OAAO,EAAE,IAAI,CAAC,OAAO;YACrB,OAAO,EAAE,gBAAgB,CAAC,IAAI,CAAC,OAAO,CAAC;SAC1C,CACJ,CAAC;IACN,CAAC;IAED,OAAO,CACH,MAAC,KAAK,CAAC,QAAQ,eACX,cACI,SAAS,EAAE,CAAC,EAAE,EACd,GAAG,EAAE,MAAM,EACX,YAAY,EAAE,eAAe,EAC7B,YAAY,EAAE,eAAe,YAE7B,KAAC,YAAY,IAAC,EAAE,EAAE,SAAS,EAAE,SAAS,EAAE,CAAC,CAAC,SAAS,CAAC,YAChD,KAAC,oBAAoB,IACjB,oBAAoB,EAAE,IAAI,CAAC,gBAAgB,EAC3C,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,QAAQ,EAClB,SAAS,EAAE,oBAAoB,GACjC,GACS,GACb,EACN,KAAC,UAAU,IACP,IAAI,EAAE,IAAI,EACV,KAAK,EAAE,KAAK,EACZ,SAAS,EAAE,MAAM,EACjB,IAAI,EAAE,cAAc,IAAI,SAAS,GACnC,IACW,CACpB,CAAC;AACN,CAAC,CAAC"}
|
@@ -1,7 +1,6 @@
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
2
2
|
import { getVDiskPagePath } from '../../routes';
|
3
3
|
import { selectIsUserAllowedToMakeChanges } from '../../store/reducers/authentication/authentication';
|
4
|
-
import { useDiskPagesAvailable } from '../../store/reducers/capabilities/hooks';
|
5
4
|
import { valueIsDefined } from '../../utils';
|
6
5
|
import { cn } from '../../utils/cn';
|
7
6
|
import { formatStorageValuesToGb, stringifyVdiskId } from '../../utils/dataFormatters/dataFormatters';
|
@@ -19,7 +18,6 @@ const b = cn('ydb-vdisk-info');
|
|
19
18
|
// eslint-disable-next-line complexity
|
20
19
|
export function VDiskInfo({ data, withVDiskPageLink, withTitle, ...infoViewerProps }) {
|
21
20
|
var _a, _b, _c, _d;
|
22
|
-
const diskPagesAvailable = useDiskPagesAvailable();
|
23
21
|
const isUserAllowedToMakeChanges = useTypedSelector(selectIsUserAllowedToMakeChanges);
|
24
22
|
const { AllocatedSize, DiskSpace, FrontQueues, Guid, Replicated, VDiskState, VDiskSlotId, Kind, SatisfactionRank, AvailableSize, HasUnreadableBlobs, IncarnationGuid, InstanceGuid, StoragePoolName, ReadThroughput, WriteThroughput, PDiskId, NodeId, } = data || {};
|
25
23
|
const vdiskInfo = [];
|
@@ -104,7 +102,7 @@ export function VDiskInfo({ data, withVDiskPageLink, withTitle, ...infoViewerPro
|
|
104
102
|
const diskParamsDefined = valueIsDefined(PDiskId) && valueIsDefined(NodeId) && valueIsDefined(VDiskSlotId);
|
105
103
|
if (diskParamsDefined) {
|
106
104
|
const links = [];
|
107
|
-
if (withVDiskPageLink
|
105
|
+
if (withVDiskPageLink) {
|
108
106
|
const vDiskPagePath = getVDiskPagePath(VDiskSlotId, PDiskId, NodeId);
|
109
107
|
links.push(_jsx(LinkWithIcon, { title: vDiskInfoKeyset('vdisk-page'), url: vDiskPagePath, external: false }, vDiskPagePath));
|
110
108
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"VDiskInfo.js","sourceRoot":"","sources":["../../../src/components/VDiskInfo/VDiskInfo.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAC,gBAAgB,EAAC,MAAM,cAAc,CAAC;AAC9C,OAAO,EAAC,gCAAgC,EAAC,MAAM,oDAAoD,CAAC;AACpG,OAAO,EAAC,
|
1
|
+
{"version":3,"file":"VDiskInfo.js","sourceRoot":"","sources":["../../../src/components/VDiskInfo/VDiskInfo.tsx"],"names":[],"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GAAI,CAAC;AAC9E,CAAC;AAMD,SAAS,UAAU,CAA0B,EAAC,IAAI,EAAqB;IACnE,OAAO,CACH,eAAK,SAAS,EAAE,CAAC,CAAC,OAAO,CAAC,aACrB,eAAe,CAAC,aAAa,CAAC,EAC/B,KAAC,YAAY,IACT,MAAM,EAAE,gBAAgB,CAAC,IAAI,CAAC,QAAQ,CAAC,EACvC,IAAI,EAAE,gBAAgB,CAAC,IAAI,CAAC,OAAO,CAAC,GACtC,IACA,CACT,CAAC;AACN,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
export declare const vDiskInfoKeyset: (key: "size" | "
|
1
|
+
export declare const vDiskInfoKeyset: (key: "size" | "yes" | "no" | "links" | "kind" | "pool-name" | "guid" | "developer-ui" | "slot-id" | "incarnation-guid" | "instance-guid" | "replication-status" | "state-status" | "space-status" | "fresh-rank-satisfaction" | "level-rank-satisfaction" | "front-queues" | "has-unreadable-blobs" | "read-throughput" | "write-throughput" | "vdisk-page" | "vdiks-title", params?: import("@gravity-ui/i18n").Params) => string;
|
@@ -42,7 +42,7 @@ body,
|
|
42
42
|
--ydb-color-status-grey: var(--g-color-base-neutral-heavy);
|
43
43
|
--ydb-color-status-green: var(--g-color-base-positive-heavy);
|
44
44
|
--ydb-color-status-yellow: var(--g-color-base-warning-heavy);
|
45
|
-
--ydb-color-status-orange:
|
45
|
+
--ydb-color-status-orange: var(--g-color-private-orange-500-solid);
|
46
46
|
--ydb-color-status-red: var(--g-color-base-danger-heavy);
|
47
47
|
--ydb-color-status-blue: var(--g-color-base-info-heavy);
|
48
48
|
--ydb-color-status-black: var(--g-color-base-misc-heavy);
|
@@ -14,7 +14,7 @@ import { lazyComponent } from '../../utils/lazyComponent';
|
|
14
14
|
import Authentication from '../Authentication/Authentication';
|
15
15
|
import { getClusterPath } from '../Cluster/utils';
|
16
16
|
import Header from '../Header/Header';
|
17
|
-
import { ClusterSlot, ClustersSlot, NodeSlot, PDiskPageSlot, RedirectSlot, RoutesSlot, TabletSlot, TenantSlot, VDiskPageSlot, } from './appSlots';
|
17
|
+
import { ClusterSlot, ClustersSlot, NodeSlot, PDiskPageSlot, RedirectSlot, RoutesSlot, StorageGroupSlot, TabletSlot, TenantSlot, VDiskPageSlot, } from './appSlots';
|
18
18
|
import i18n from './i18n';
|
19
19
|
import './App.scss';
|
20
20
|
const b = cn('app');
|
@@ -49,6 +49,12 @@ const routesSlots = [
|
|
49
49
|
component: lazyComponent(() => import('../VDiskPage/VDiskPage'), 'VDiskPage'),
|
50
50
|
wrapper: DataWrapper,
|
51
51
|
},
|
52
|
+
{
|
53
|
+
path: routes.storageGroup,
|
54
|
+
slot: StorageGroupSlot,
|
55
|
+
component: lazyComponent(() => import('../StorageGroupPage/StorageGroupPage'), 'StorageGroupPage'),
|
56
|
+
wrapper: DataWrapper,
|
57
|
+
},
|
52
58
|
{
|
53
59
|
path: routes.tablet,
|
54
60
|
slot: TabletSlot,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Content.js","sourceRoot":"","sources":["../../../src/containers/App/Content.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,OAAO,EAAC,MAAM,aAAa,CAAC;AAEpC,OAAO,EAAC,QAAQ,EAAE,KAAK,EAAE,MAAM,EAAC,MAAM,kBAAkB,CAAC;AAEzD,OAAO,EAAC,SAAS,EAAC,MAAM,6CAA6C,CAAC;AACtE,OAAO,EAAC,aAAa,EAAC,MAAM,8CAA8C,CAAC;AAC3E,OAAO,EAAC,QAAQ,EAAC,MAAM,wBAAwB,CAAC;AAGhD,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,OAAO,EAAC,iBAAiB,EAAC,MAAM,oDAAoD,CAAC;AACrF,OAAO,EAAC,eAAe,EAAC,MAAM,gDAAgD,CAAC;AAC/E,OAAO,EAAC,YAAY,EAAC,MAAM,gCAAgC,CAAC;AAC5D,OAAO,EAAC,EAAE,EAAC,MAAM,gBAAgB,CAAC;A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AC,oBAAoB,CAAC,SAAS,CAAC,CAAC;IAC7C,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAS,eAAe;IACpB,eAAe,CAAC,8BAA8B,CAAC,SAAS,CAAC,CAAC;IAC1D,OAAO,IAAI,CAAC;AAChB,CAAC;AAQD,SAAS,cAAc,CAAC,KAA0B;IAC9C,MAAM,EAAC,iBAAiB,EAAE,eAAe,EAAC,GAAG,KAAK,CAAC;IAEnD,OAAO,CACH,MAAC,MAAM,eACH,KAAC,KAAK,IAAC,IAAI,EAAE,MAAM,CAAC,IAAI,YACpB,KAAC,cAAc,IAAC,QAAQ,SAAG,GACvB,EACR,KAAC,KAAK,cACF,cAAK,SAAS,EAAE,CAAC,CAAC,EAAC,QAAQ,EAAE,iBAAiB,EAAC,CAAC,YAC3C,eAAe,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAC,cAAc,KAAG,GACpD,GACF,IACH,CACZ,CAAC;AACN,CAAC;AAED,SAAS,eAAe,CAAC,KAAgB;IACrC,OAAO;QACH,eAAe,EAAE,KAAK,CAAC,cAAc,CAAC,eAAe;QACrD,iBAAiB,EAAE,KAAK,CAAC,iBAAiB;KAC7C,CAAC;AACN,CAAC;AAED,eAAe,OAAO,CAAC,eAAe,CAAC,CAAC,cAAc,CAAC,CAAC"}
|
@@ -3,6 +3,7 @@ import type { Cluster } from '../Cluster/Cluster';
|
|
3
3
|
import type { Clusters } from '../Clusters/Clusters';
|
4
4
|
import type { Node } from '../Node/Node';
|
5
5
|
import type { PDiskPage } from '../PDiskPage/PDiskPage';
|
6
|
+
import type { StorageGroupPage } from '../StorageGroupPage/StorageGroupPage';
|
6
7
|
import type { Tablet } from '../Tablet';
|
7
8
|
import type { Tenant } from '../Tenant/Tenant';
|
8
9
|
import type { VDiskPage } from '../VDiskPage/VDiskPage';
|
@@ -36,6 +37,11 @@ export declare const VDiskPageSlot: import("../../components/slots/types").SlotC
|
|
36
37
|
component: typeof VDiskPage;
|
37
38
|
} & RouteComponentProps) => React.ReactNode);
|
38
39
|
}, never>;
|
40
|
+
export declare const StorageGroupSlot: import("../../components/slots/types").SlotComponent<{
|
41
|
+
children: React.ReactNode | ((props: {
|
42
|
+
component: typeof StorageGroupPage;
|
43
|
+
} & RouteComponentProps) => React.ReactNode);
|
44
|
+
}, never>;
|
39
45
|
export declare const TabletSlot: import("../../components/slots/types").SlotComponent<{
|
40
46
|
children: React.ReactNode | ((props: {
|
41
47
|
component: typeof Tablet;
|
@@ -5,6 +5,7 @@ export const TenantSlot = createSlot('tenant');
|
|
5
5
|
export const NodeSlot = createSlot('node');
|
6
6
|
export const PDiskPageSlot = createSlot('pDisk');
|
7
7
|
export const VDiskPageSlot = createSlot('vDisk');
|
8
|
+
export const StorageGroupSlot = createSlot('storageGroup');
|
8
9
|
export const TabletSlot = createSlot('tablet');
|
9
10
|
export const RoutesSlot = createSlot('routes');
|
10
11
|
export const RedirectSlot = createSlot('redirect');
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"appSlots.js","sourceRoot":"","sources":["../../../src/containers/App/appSlots.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAC,UAAU,EAAC,MAAM,wBAAwB,CAAC;
|
1
|
+
{"version":3,"file":"appSlots.js","sourceRoot":"","sources":["../../../src/containers/App/appSlots.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAC,UAAU,EAAC,MAAM,wBAAwB,CAAC;AAUlD,MAAM,CAAC,MAAM,YAAY,GAAG,UAAU,CAInC,UAAU,CAAC,CAAC;AACf,MAAM,CAAC,MAAM,WAAW,GAAG,UAAU,CAIlC,SAAS,CAAC,CAAC;AACd,MAAM,CAAC,MAAM,UAAU,GAAG,UAAU,CAIjC,QAAQ,CAAC,CAAC;AACb,MAAM,CAAC,MAAM,QAAQ,GAAG,UAAU,CAI/B,MAAM,CAAC,CAAC;AACX,MAAM,CAAC,MAAM,aAAa,GAAG,UAAU,CAIpC,OAAO,CAAC,CAAC;AACZ,MAAM,CAAC,MAAM,aAAa,GAAG,UAAU,CAIpC,OAAO,CAAC,CAAC;AACZ,MAAM,CAAC,MAAM,gBAAgB,GAAG,UAAU,CAIvC,cAAc,CAAC,CAAC;AACnB,MAAM,CAAC,MAAM,UAAU,GAAG,UAAU,CAIjC,QAAQ,CAAC,CAAC;AAEb,MAAM,CAAC,MAAM,UAAU,GAAG,UAAU,CAA8B,QAAQ,CAAC,CAAC;AAC5E,MAAM,CAAC,MAAM,YAAY,GAAG,UAAU,CAAgB,UAAU,CAAC,CAAC"}
|
@@ -53,7 +53,7 @@ export function Cluster({ additionalClusterProps, additionalTenantsProps, additi
|
|
53
53
|
return (_jsx(InternalLink, { to: path, onClick: () => {
|
54
54
|
dispatch(updateDefaultClusterTab(id));
|
55
55
|
}, children: node }, id));
|
56
|
-
} }) }), _jsx("div", { className: b('sticky-wrapper'), children: _jsx(AutoRefreshControl, { className: b('auto-refresh-control') }) }), _jsxs(Switch, { children: [_jsx(Route, { path: getLocationObjectFromHref(getClusterPath(clusterTabsIds.overview)).pathname, children: _jsx(ClusterInfo, { cluster: cluster, groupsStats: groupsStats, versionToColor: versionToColor, loading: infoLoading, error: clusterError, additionalClusterProps: additionalClusterProps }) }), _jsx(Route, { path: getLocationObjectFromHref(getClusterPath(clusterTabsIds.tenants)).pathname, children: _jsx(Tenants, { additionalTenantsProps: additionalTenantsProps }) }), _jsx(Route, { path: getLocationObjectFromHref(getClusterPath(clusterTabsIds.nodes)).pathname, children: _jsx(NodesWrapper, { parentContainer: container.current, additionalNodesProps: additionalNodesProps }) }), _jsx(Route, { path: getLocationObjectFromHref(getClusterPath(clusterTabsIds.storage)).pathname, children: _jsx(StorageWrapper, { parentContainer: container.current
|
56
|
+
} }) }), _jsx("div", { className: b('sticky-wrapper'), children: _jsx(AutoRefreshControl, { className: b('auto-refresh-control') }) }), _jsxs(Switch, { children: [_jsx(Route, { path: getLocationObjectFromHref(getClusterPath(clusterTabsIds.overview)).pathname, children: _jsx(ClusterInfo, { cluster: cluster, groupsStats: groupsStats, versionToColor: versionToColor, loading: infoLoading, error: clusterError, additionalClusterProps: additionalClusterProps }) }), _jsx(Route, { path: getLocationObjectFromHref(getClusterPath(clusterTabsIds.tenants)).pathname, children: _jsx(Tenants, { additionalTenantsProps: additionalTenantsProps }) }), _jsx(Route, { path: getLocationObjectFromHref(getClusterPath(clusterTabsIds.nodes)).pathname, children: _jsx(NodesWrapper, { parentContainer: container.current, additionalNodesProps: additionalNodesProps }) }), _jsx(Route, { path: getLocationObjectFromHref(getClusterPath(clusterTabsIds.storage)).pathname, children: _jsx(StorageWrapper, { parentContainer: container.current }) }), _jsx(Route, { path: getLocationObjectFromHref(getClusterPath(clusterTabsIds.versions)).pathname, children: _jsx(Versions, { versionToColor: versionToColor }) }), _jsx(Route, { render: () => (_jsx(Redirect, { to: getLocationObjectFromHref(getClusterPath(activeTabId)) })) })] })] }));
|
57
57
|
}
|
58
58
|
function useClusterTab() {
|
59
59
|
const dispatch = useTypedDispatch();
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Cluster.js","sourceRoot":"","sources":["../../../src/containers/Cluster/Cluster.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,QAAQ,EAAE,IAAI,EAAC,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAC,MAAM,EAAC,MAAM,oBAAoB,CAAC;AAC1C,OAAO,EAAC,QAAQ,EAAE,KAAK,EAAE,MAAM,EAAE,aAAa,EAAC,MAAM,kBAAkB,CAAC;AACxE,OAAO,EAAC,WAAW,EAAE,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAE7D,OAAO,EAAC,kBAAkB,EAAC,MAAM,wDAAwD,CAAC;AAC1F,OAAO,EAAC,YAAY,EAAC,MAAM,4CAA4C,CAAC;AACxE,OAAO,EAAC,YAAY,EAAC,MAAM,+BAA+B,CAAC;AAC3D,OAAO,MAAM,EAAE,EAAC,yBAAyB,EAAC,MAA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AAM,EAAE,GAAG,EAAE,CAAC,CACV,KAAC,QAAQ,IAAC,EAAE,EAAE,yBAAyB,CAAC,cAAc,CAAC,WAAW,CAAC,CAAC,GAAI,CAC3E,GACH,IACG,IACP,CACT,CAAC;AACN,CAAC;AAED,SAAS,aAAa;IAClB,MAAM,QAAQ,GAAG,gBAAgB,EAAE,CAAC;IAEpC,MAAM,UAAU,GAAG,gBAAgB,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,iBAAiB,CAAC,CAAC;IAEhF,MAAM,KAAK,GAAG,aAAa,CAAsB,MAAM,CAAC,OAAO,CAAC,CAAC;IAEjE,MAAM,EAAC,SAAS,EAAE,mBAAmB,EAAC,GAAG,CAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,MAAM,KAAI,EAAE,CAAC;IAC7D,IAAI,SAAqB,CAAC;IAC1B,IAAI,YAAY,CAAC,mBAAmB,CAAC,EAAE,CAAC;QACpC,SAAS,GAAG,mBAAmB,CAAC;IACpC,CAAC;SAAM,CAAC;QACJ,SAAS,GAAG,UAAU,CAAC;IAC3B,CAAC;IAED,KAAK,CAAC,SAAS,CAAC,GAAG,EAAE;QACjB,IAAI,SAAS,KAAK,UAAU,EAAE,CAAC;YAC3B,QAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC,CAAC;QACjD,CAAC;IACL,CAAC,EAAE,CAAC,SAAS,EAAE,UAAU,EAAE,QAAQ,CAAC,CAAC,CAAC;IAEtC,OAAO,SAAS,CAAC;AACrB,CAAC"}
|
@@ -1,2 +1,2 @@
|
|
1
|
-
declare const _default: (key: "
|
1
|
+
declare const _default: (key: "versions" | "nodes" | "tablets" | "load" | "dc" | "links" | "erasure" | "usage" | "storage-groups" | "disk-type" | "allocated" | "available" | "databases" | "nodes-state" | "storage-size" | "quantity", params?: import("@gravity-ui/i18n").Params) => string;
|
2
2
|
export default _default;
|