ydb-embedded-ui 6.22.0 → 6.23.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/components/PDiskPopup/PDiskPopup.d.ts +2 -4
- package/dist/components/PDiskPopup/PDiskPopup.js +10 -5
- package/dist/components/PDiskPopup/PDiskPopup.js.map +1 -1
- package/dist/components/PaginatedTable/PaginatedTable.d.ts +2 -1
- package/dist/components/PaginatedTable/PaginatedTable.js +9 -7
- package/dist/components/PaginatedTable/PaginatedTable.js.map +1 -1
- package/dist/components/PaginatedTable/TableChunk.d.ts +2 -1
- package/dist/components/PaginatedTable/TableChunk.js +5 -2
- package/dist/components/PaginatedTable/TableChunk.js.map +1 -1
- package/dist/components/QueryResultTable/QueryResultTable.js +11 -16
- package/dist/components/QueryResultTable/QueryResultTable.js.map +1 -1
- package/dist/components/QueryResultTable/utils/getColumnWidth.d.ts +7 -0
- package/dist/components/QueryResultTable/utils/getColumnWidth.js +16 -0
- package/dist/components/QueryResultTable/utils/getColumnWidth.js.map +1 -0
- package/dist/components/QueryResultTable/utils/getColumnWidth.test.d.ts +1 -0
- package/dist/components/QueryResultTable/utils/getColumnWidth.test.js +32 -0
- package/dist/components/QueryResultTable/utils/getColumnWidth.test.js.map +1 -0
- package/dist/components/StorageGroupInfo/StorageGroupInfo.js +7 -7
- package/dist/components/StorageGroupInfo/StorageGroupInfo.js.map +1 -1
- package/dist/components/StorageGroupInfo/i18n/index.d.ts +1 -1
- package/dist/components/TableSkeleton/TableSkeleton.d.ts +2 -1
- package/dist/components/TableSkeleton/TableSkeleton.js +5 -1
- package/dist/components/TableSkeleton/TableSkeleton.js.map +1 -1
- package/dist/components/TableSkeleton/TableSkeleton.scss +7 -1
- package/dist/components/VDisk/VDisk.d.ts +1 -3
- package/dist/components/VDisk/VDisk.js +2 -2
- package/dist/components/VDisk/VDisk.js.map +1 -1
- package/dist/components/VDiskPopup/VDiskPopup.d.ts +1 -3
- package/dist/components/VDiskPopup/VDiskPopup.js +7 -2
- package/dist/components/VDiskPopup/VDiskPopup.js.map +1 -1
- package/dist/containers/Cluster/Cluster.scss +2 -3
- package/dist/containers/Header/breadcrumbs.js +2 -3
- package/dist/containers/Header/breadcrumbs.js.map +1 -1
- package/dist/containers/Nodes/columns/columns.js +8 -0
- package/dist/containers/Nodes/columns/columns.js.map +1 -1
- package/dist/containers/Nodes/columns/constants.d.ts +2 -0
- package/dist/containers/Nodes/columns/constants.js +4 -0
- package/dist/containers/Nodes/columns/constants.js.map +1 -1
- package/dist/containers/Nodes/columns/i18n/en.json +1 -0
- package/dist/containers/Nodes/columns/i18n/index.d.ts +1 -1
- package/dist/containers/Storage/Disks/Disks.d.ts +3 -3
- package/dist/containers/Storage/Disks/Disks.js +6 -7
- package/dist/containers/Storage/Disks/Disks.js.map +1 -1
- package/dist/containers/Storage/PDisk/PDisk.d.ts +3 -2
- package/dist/containers/Storage/PDisk/PDisk.js +3 -2
- package/dist/containers/Storage/PDisk/PDisk.js.map +1 -1
- package/dist/containers/Storage/PDisk/PDisk.scss +1 -1
- package/dist/containers/Storage/PaginatedStorage.d.ts +5 -5
- package/dist/containers/Storage/PaginatedStorage.js +7 -73
- package/dist/containers/Storage/PaginatedStorage.js.map +1 -1
- package/dist/containers/Storage/PaginatedStorageGroups.d.ts +3 -0
- package/dist/containers/Storage/PaginatedStorageGroups.js +84 -0
- package/dist/containers/Storage/PaginatedStorageGroups.js.map +1 -0
- package/dist/containers/Storage/PaginatedStorageNodes.d.ts +3 -0
- package/dist/containers/Storage/PaginatedStorageNodes.js +98 -0
- package/dist/containers/Storage/PaginatedStorageNodes.js.map +1 -0
- package/dist/containers/Storage/Storage.js +15 -70
- package/dist/containers/Storage/Storage.js.map +1 -1
- package/dist/containers/Storage/Storage.scss +4 -0
- package/dist/containers/Storage/StorageControls/StorageControls.d.ts +3 -16
- package/dist/containers/Storage/StorageControls/StorageControls.js +18 -11
- package/dist/containers/Storage/StorageControls/StorageControls.js.map +1 -1
- package/dist/containers/Storage/StorageGroups/PaginatedStorageGroupsTable.d.ts +22 -0
- package/dist/containers/Storage/StorageGroups/{PaginatedStorageGroups.js → PaginatedStorageGroupsTable.js} +23 -5
- package/dist/containers/Storage/StorageGroups/PaginatedStorageGroupsTable.js.map +1 -0
- package/dist/containers/Storage/StorageGroups/{StorageGroups.d.ts → StorageGroupsTable.d.ts} +3 -4
- package/dist/containers/Storage/StorageGroups/{StorageGroups.js → StorageGroupsTable.js} +4 -3
- package/dist/containers/Storage/StorageGroups/StorageGroupsTable.js.map +1 -0
- package/dist/containers/Storage/StorageGroups/columns/columns.js +35 -10
- package/dist/containers/Storage/StorageGroups/columns/columns.js.map +1 -1
- package/dist/containers/Storage/StorageGroups/columns/constants.d.ts +17 -0
- package/dist/containers/Storage/StorageGroups/columns/constants.js +46 -1
- package/dist/containers/Storage/StorageGroups/columns/constants.js.map +1 -1
- package/dist/containers/Storage/StorageGroups/columns/hooks.d.ts +3 -3
- package/dist/containers/Storage/StorageGroups/columns/hooks.js +5 -8
- package/dist/containers/Storage/StorageGroups/columns/hooks.js.map +1 -1
- package/dist/containers/Storage/StorageGroups/columns/i18n/en.json +6 -0
- package/dist/containers/Storage/StorageGroups/columns/i18n/index.d.ts +1 -1
- package/dist/containers/Storage/StorageGroups/columns/types.d.ts +7 -5
- package/dist/containers/Storage/StorageGroups/getGroups.js +6 -5
- package/dist/containers/Storage/StorageGroups/getGroups.js.map +1 -1
- package/dist/containers/Storage/StorageNodes/PaginatedStorageNodesTable.d.ts +23 -0
- package/dist/containers/Storage/StorageNodes/{PaginatedStorageNodes.js → PaginatedStorageNodesTable.js} +23 -5
- package/dist/containers/Storage/StorageNodes/PaginatedStorageNodesTable.js.map +1 -0
- package/dist/containers/Storage/StorageNodes/{StorageNodes.d.ts → StorageNodesTable.d.ts} +3 -4
- package/dist/containers/Storage/StorageNodes/{StorageNodes.js → StorageNodesTable.js} +8 -6
- package/dist/containers/Storage/StorageNodes/StorageNodesTable.js.map +1 -0
- package/dist/containers/Storage/StorageNodes/columns/StorageNodesColumns.scss +1 -0
- package/dist/containers/Storage/StorageNodes/columns/columns.d.ts +1 -1
- package/dist/containers/Storage/StorageNodes/columns/columns.js +4 -5
- package/dist/containers/Storage/StorageNodes/columns/columns.js.map +1 -1
- package/dist/containers/Storage/StorageNodes/columns/constants.d.ts +9 -0
- package/dist/containers/Storage/StorageNodes/columns/constants.js +27 -0
- package/dist/containers/Storage/StorageNodes/columns/constants.js.map +1 -1
- package/dist/containers/Storage/StorageNodes/columns/i18n/en.json +2 -0
- package/dist/containers/Storage/StorageNodes/columns/i18n/index.d.ts +1 -1
- package/dist/containers/Storage/StorageNodes/getNodes.js +6 -5
- package/dist/containers/Storage/StorageNodes/getNodes.js.map +1 -1
- package/dist/containers/Storage/TableGroup/TableGroup.d.ts +12 -0
- package/dist/containers/Storage/TableGroup/TableGroup.js +21 -0
- package/dist/containers/Storage/TableGroup/TableGroup.js.map +1 -0
- package/dist/containers/Storage/TableGroup/TableGroup.scss +49 -0
- package/dist/containers/Storage/TableGroup/useExpandedTableGroups.d.ts +5 -0
- package/dist/containers/Storage/TableGroup/useExpandedTableGroups.js +28 -0
- package/dist/containers/Storage/TableGroup/useExpandedTableGroups.js.map +1 -0
- package/dist/containers/Storage/i18n/en.json +4 -1
- package/dist/containers/Storage/i18n/index.d.ts +1 -1
- package/dist/containers/Storage/i18n/index.js +1 -2
- package/dist/containers/Storage/i18n/index.js.map +1 -1
- package/dist/containers/Storage/shared.d.ts +2 -0
- package/dist/containers/Storage/shared.js +9 -0
- package/dist/containers/Storage/shared.js.map +1 -1
- package/dist/containers/Storage/useStorageQueryParams.d.ts +18 -0
- package/dist/containers/Storage/useStorageQueryParams.js +64 -0
- package/dist/containers/Storage/useStorageQueryParams.js.map +1 -0
- package/dist/containers/Storage/utils/index.d.ts +6 -2
- package/dist/containers/Storage/utils/index.js +11 -6
- package/dist/containers/Storage/utils/index.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/Describe/Describe.js +17 -3
- package/dist/containers/Tenant/Diagnostics/Describe/Describe.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/Diagnostics.js +1 -1
- package/dist/containers/Tenant/Diagnostics/Diagnostics.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/DiagnosticsPages.d.ts +0 -3
- package/dist/containers/Tenant/Diagnostics/DiagnosticsPages.js +2 -2
- package/dist/containers/Tenant/Diagnostics/DiagnosticsPages.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/HotKeys/HotKeys.js +10 -3
- package/dist/containers/Tenant/Diagnostics/HotKeys/HotKeys.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/Overview/Overview.js +2 -3
- package/dist/containers/Tenant/Diagnostics/Overview/Overview.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/Partitions/Partitions.js +4 -4
- package/dist/containers/Tenant/Diagnostics/Partitions/Partitions.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/Partitions/utils/index.d.ts +2 -2
- package/dist/containers/Tenant/Diagnostics/Partitions/utils/index.js +5 -5
- package/dist/containers/Tenant/Diagnostics/Partitions/utils/index.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantOverview.js +8 -2
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantOverview.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/TopQueries/RunningQueriesData.d.ts +5 -0
- package/dist/containers/Tenant/Diagnostics/TopQueries/RunningQueriesData.js +21 -0
- package/dist/containers/Tenant/Diagnostics/TopQueries/RunningQueriesData.js.map +1 -0
- package/dist/containers/Tenant/Diagnostics/TopQueries/TopQueries.d.ts +1 -3
- package/dist/containers/Tenant/Diagnostics/TopQueries/TopQueries.js +32 -37
- package/dist/containers/Tenant/Diagnostics/TopQueries/TopQueries.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/TopQueries/TopQueriesData.d.ts +6 -0
- package/dist/containers/Tenant/Diagnostics/TopQueries/TopQueriesData.js +33 -0
- package/dist/containers/Tenant/Diagnostics/TopQueries/TopQueriesData.js.map +1 -0
- package/dist/containers/Tenant/Diagnostics/TopQueries/getTopQueriesColumns.d.ts +2 -0
- package/dist/containers/Tenant/Diagnostics/TopQueries/getTopQueriesColumns.js +26 -0
- package/dist/containers/Tenant/Diagnostics/TopQueries/getTopQueriesColumns.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/TopQueries/i18n/en.json +7 -1
- package/dist/containers/Tenant/Diagnostics/TopQueries/i18n/index.d.ts +1 -1
- package/dist/containers/Tenant/Diagnostics/TopQueries/i18n/index.js +1 -2
- package/dist/containers/Tenant/Diagnostics/TopQueries/i18n/index.js.map +1 -1
- package/dist/containers/Tenant/ObjectSummary/ObjectSummary.js +27 -9
- package/dist/containers/Tenant/ObjectSummary/ObjectSummary.js.map +1 -1
- package/dist/containers/Tenant/ObjectSummary/__test__/transformPath.test.js +27 -3
- package/dist/containers/Tenant/ObjectSummary/__test__/transformPath.test.js.map +1 -1
- package/dist/containers/Tenant/ObjectSummary/transformPath.d.ts +2 -0
- package/dist/containers/Tenant/ObjectSummary/transformPath.js +10 -0
- package/dist/containers/Tenant/ObjectSummary/transformPath.js.map +1 -1
- package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.js +3 -1
- package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.js.map +1 -1
- 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/NewSQL/NewSQL.d.ts +1 -0
- package/dist/containers/Tenant/Query/NewSQL/NewSQL.js +135 -0
- package/dist/containers/Tenant/Query/NewSQL/NewSQL.js.map +1 -0
- package/dist/containers/Tenant/Query/NewSQL/i18n/en.json +32 -0
- package/dist/containers/Tenant/Query/NewSQL/i18n/index.d.ts +2 -0
- package/dist/containers/Tenant/Query/NewSQL/i18n/index.js +5 -0
- package/dist/containers/Tenant/Query/NewSQL/i18n/index.js.map +1 -0
- package/dist/containers/Tenant/Query/QueryEditorControls/QueryEditorControls.js +2 -1
- package/dist/containers/Tenant/Query/QueryEditorControls/QueryEditorControls.js.map +1 -1
- package/dist/containers/Tenant/Query/QueryEditorControls/QueryEditorControls.scss +1 -0
- package/dist/containers/Tenant/Schema/SchemaTree/SchemaTree.js +1 -1
- package/dist/containers/Tenant/Schema/SchemaTree/SchemaTree.js.map +1 -1
- package/dist/containers/Tenant/Schema/SchemaViewer/SchemaViewer.js +10 -2
- package/dist/containers/Tenant/Schema/SchemaViewer/SchemaViewer.js.map +1 -1
- package/dist/containers/Tenant/Schema/SchemaViewer/prepareData.d.ts +2 -1
- package/dist/containers/Tenant/Schema/SchemaViewer/prepareData.js.map +1 -1
- package/dist/containers/Tenant/Tenant.js +7 -3
- package/dist/containers/Tenant/Tenant.js.map +1 -1
- package/dist/containers/Tenant/utils/newSQLQueryActions.d.ts +27 -0
- package/dist/containers/Tenant/utils/newSQLQueryActions.js +35 -0
- package/dist/containers/Tenant/utils/newSQLQueryActions.js.map +1 -0
- package/dist/containers/Tenant/utils/newSQLQueryTemplates.d.ts +24 -0
- package/dist/containers/Tenant/utils/newSQLQueryTemplates.js +228 -0
- package/dist/containers/Tenant/utils/newSQLQueryTemplates.js.map +1 -0
- package/dist/containers/Tenant/utils/schemaActions.d.ts +1 -1
- package/dist/containers/Tenant/utils/schemaActions.js +8 -6
- package/dist/containers/Tenant/utils/schemaActions.js.map +1 -1
- package/dist/containers/Tenant/utils/{queryTemplates.js → schemaQueryTemplates.js} +1 -1
- package/dist/containers/Tenant/utils/schemaQueryTemplates.js.map +1 -0
- package/dist/services/api.js +3 -3
- package/dist/services/api.js.map +1 -1
- package/dist/store/reducers/capabilities/hooks.d.ts +2 -0
- package/dist/store/reducers/capabilities/hooks.js +6 -0
- package/dist/store/reducers/capabilities/hooks.js.map +1 -1
- package/dist/store/reducers/executeTopQueries/executeTopQueries.d.ts +4 -0
- package/dist/store/reducers/executeTopQueries/executeTopQueries.js +27 -1
- package/dist/store/reducers/executeTopQueries/executeTopQueries.js.map +1 -1
- package/dist/store/reducers/nodes/types.d.ts +1 -0
- package/dist/store/reducers/nodesList.d.ts +5 -5
- package/dist/store/reducers/nodesList.js +2 -2
- package/dist/store/reducers/nodesList.js.map +1 -1
- package/dist/store/reducers/overview/overview.js +5 -1
- package/dist/store/reducers/overview/overview.js.map +1 -1
- package/dist/store/reducers/storage/requestStorageData.d.ts +3 -3
- package/dist/store/reducers/storage/requestStorageData.js.map +1 -1
- package/dist/store/reducers/storage/selectors.d.ts +2 -3
- package/dist/store/reducers/storage/selectors.js +1 -27
- package/dist/store/reducers/storage/selectors.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 -10
- package/dist/store/reducers/storage/utils.js +27 -3
- package/dist/store/reducers/storage/utils.js.map +1 -1
- package/dist/store/reducers/tablet.js +5 -3
- package/dist/store/reducers/tablet.js.map +1 -1
- package/dist/store/reducers/tablets.d.ts +3 -3
- package/dist/store/reducers/tablets.js +4 -4
- package/dist/store/reducers/tablets.js.map +1 -1
- package/dist/types/api/capabilities.d.ts +1 -1
- package/dist/types/api/nodes.d.ts +3 -2
- package/dist/types/api/nodes.js.map +1 -1
- package/dist/types/api/storage.d.ts +22 -4
- package/dist/types/store/nodesList.d.ts +1 -1
- package/dist/utils/hooks/useSelectedColumns.js +7 -2
- package/dist/utils/hooks/useSelectedColumns.js.map +1 -1
- package/dist/utils/nodes.d.ts +2 -2
- package/dist/utils/nodes.js +4 -4
- package/dist/utils/nodes.js.map +1 -1
- package/dist/utils/storage.js +2 -0
- package/dist/utils/storage.js.map +1 -1
- package/dist/utils/utils.js +2 -1
- package/dist/utils/utils.js.map +1 -1
- package/package.json +1 -1
- package/dist/containers/Storage/StorageGroups/PaginatedStorageGroups.d.ts +0 -16
- package/dist/containers/Storage/StorageGroups/PaginatedStorageGroups.js.map +0 -1
- package/dist/containers/Storage/StorageGroups/StorageGroups.js.map +0 -1
- package/dist/containers/Storage/StorageNodes/PaginatedStorageNodes.d.ts +0 -17
- package/dist/containers/Storage/StorageNodes/PaginatedStorageNodes.js.map +0 -1
- package/dist/containers/Storage/StorageNodes/StorageNodes.js.map +0 -1
- package/dist/containers/Storage/UsageFilter/UsageFilter.d.ts +0 -14
- package/dist/containers/Storage/UsageFilter/UsageFilter.js +0 -39
- package/dist/containers/Storage/UsageFilter/UsageFilter.js.map +0 -1
- package/dist/containers/Storage/UsageFilter/UsageFilter.scss +0 -38
- package/dist/containers/Storage/UsageFilter/i18n/en.json +0 -5
- package/dist/containers/Storage/UsageFilter/i18n/index.d.ts +0 -2
- package/dist/containers/Storage/UsageFilter/i18n/index.js +0 -6
- package/dist/containers/Storage/UsageFilter/i18n/index.js.map +0 -1
- package/dist/containers/Storage/UsageFilter/i18n/ru.json +0 -5
- package/dist/containers/Storage/UsageFilter/index.d.ts +0 -1
- package/dist/containers/Storage/UsageFilter/index.js +0 -2
- package/dist/containers/Storage/UsageFilter/index.js.map +0 -1
- package/dist/containers/Storage/i18n/ru.json +0 -6
- package/dist/containers/Tenant/Diagnostics/TopQueries/i18n/ru.json +0 -4
- package/dist/containers/Tenant/utils/queryTemplates.js.map +0 -1
- package/dist/store/reducers/describe.d.ts +0 -7
- package/dist/store/reducers/describe.js +0 -25
- package/dist/store/reducers/describe.js.map +0 -1
- /package/dist/containers/Tenant/utils/{queryTemplates.d.ts → schemaQueryTemplates.d.ts} +0 -0
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"VDiskPopup.js","sourceRoot":"","sources":["../../../src/components/VDiskPopup/VDiskPopup.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAC,KAAK,EAAE,KAAK,EAAC,MAAM,mBAAmB,CAAC;AAE/C,OAAO,EAAC,KAAK,EAAC,MAAM,uBAAuB,CAAC;
|
1
|
+
{"version":3,"file":"VDiskPopup.js","sourceRoot":"","sources":["../../../src/components/VDiskP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I,CAAC,KAAK,IAAI,gBAAgB,CAAC,IAAI,CAAC,KAAK,EAAE,QAAQ,CAAC,EACxE,CAAC,IAAI,EAAE,QAAQ,EAAE,UAAU,CAAC,CAC/B,CAAC;IAEF,OAAO,CACH,MAAC,KAAK,IACF,gBAAgB,EAAE,CAAC,EAAE,EACrB,SAAS,EAAE,CAAC,KAAK,EAAE,QAAQ,CAAC,EAC5B,QAAQ;QACR,wDAAwD;QACxD,2EAA2E;QAC3E,MAAM,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,KACX,KAAK,aAER,IAAI,CAAC,SAAS,IAAI,KAAC,KAAK,IAAC,SAAS,EAAE,CAAC,CAAC,aAAa,CAAC,sBAAe,EACpE,KAAC,UAAU,IAAC,KAAK,EAAC,OAAO,EAAC,IAAI,EAAE,SAAS,EAAE,IAAI,EAAC,GAAG,GAAG,EACrD,SAAS,IAAI,KAAC,UAAU,IAAC,KAAK,EAAC,OAAO,EAAC,IAAI,EAAE,SAAS,EAAE,IAAI,EAAC,GAAG,GAAG,IAChE,CACX,CAAC;AACN,CAAC,CAAC"}
|
@@ -65,11 +65,10 @@ function getNodeIcon(nodeRole) {
|
|
65
65
|
}
|
66
66
|
}
|
67
67
|
const getPDiskBreadcrumbs = (options, query = {}) => {
|
68
|
-
const { nodeId, pDiskId, nodeRole
|
68
|
+
const { nodeId, pDiskId, nodeRole } = options;
|
69
69
|
const breadcrumbs = getNodeBreadcrumbs({
|
70
|
-
|
70
|
+
...options,
|
71
71
|
nodeRole: nodeRole !== null && nodeRole !== void 0 ? nodeRole : 'Storage',
|
72
|
-
nodeActiveTab,
|
73
72
|
});
|
74
73
|
let text = headerKeyset('breadcrumbs.pDisk');
|
75
74
|
if (pDiskId) {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"breadcrumbs.js","sourceRoot":"","sources":["../../../src/containers/Header/breadcrumbs.tsx"],"names":[],"mappings":";AAAA,OAAO,EACH,UAAU,IAAI,WAAW,EACzB,GAAG,IAA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AU,IAAC,IAAI,EAAE,cAAc,CAAC,UAAU,CAAC,GAAI;KACzD,CAAC;IAEF,WAAW,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;IAE3B,OAAO,WAAW,CAAC;AACvB,CAAC,CAAC;AAEF,MAAM,eAAe,GAAG;IACpB,OAAO,EAAE,qBAAqB;IAC9B,IAAI,EAAE,kBAAkB;IACxB,KAAK,EAAE,mBAAmB;IAC1B,MAAM,EAAE,oBAAoB;IAC5B,MAAM,EAAE,oBAAoB;IAC5B,KAAK,EAAE,mBAAmB;IAC1B,YAAY,EAAE,0BAA0B;CAClC,CAAC;AAEX,MAAM,CAAC,MAAM,cAAc,GAAG,CAC1B,IAAU,EACV,OAA2B,EAC3B,iBAAsC,EAAE,EACxC,KAAK,GAAG,EAAE,EACZ,EAAE;IACA,IAAI,CAAC,IAAI,EAAE,CAAC;QACR,OAAO,cAAc,CAAC;IAC1B,CAAC;IAED,MAAM,MAAM,GAAG,eAAe,CAAC,IAAI,CAAC,CAAC;IAErC,MAAM,eAAe,GAAG,MAAM,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;IAE/C,OAAO,CAAC,GAAG,cAAc,EAAE,GAAG,eAAe,CAAC,CAAC;AACnD,CAAC,CAAC"}
|
@@ -29,6 +29,13 @@ const getHostColumn = (getNodeRef, database) => ({
|
|
29
29
|
align: DataTable.LEFT,
|
30
30
|
sortable: false,
|
31
31
|
});
|
32
|
+
const nodeNameColumn = {
|
33
|
+
name: NODES_COLUMNS_IDS.NodeName,
|
34
|
+
header: NODES_COLUMNS_TITLES.NodeName,
|
35
|
+
align: DataTable.LEFT,
|
36
|
+
render: ({ row }) => row.NodeName || EMPTY_DATA_PLACEHOLDER,
|
37
|
+
width: 200,
|
38
|
+
};
|
32
39
|
const getHostColumnWithUndefinedWidth = (getNodeRef) => {
|
33
40
|
return { ...getHostColumn(getNodeRef), width: undefined };
|
34
41
|
};
|
@@ -148,6 +155,7 @@ export function getNodesColumns({ database, getNodeRef }) {
|
|
148
155
|
const columns = [
|
149
156
|
nodeIdColumn,
|
150
157
|
getHostColumn(getNodeRef, database),
|
158
|
+
nodeNameColumn,
|
151
159
|
dataCenterColumn,
|
152
160
|
rackColumn,
|
153
161
|
versionColumn,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"columns.js","sourceRoot":"","sources":["../../../../src/containers/Nodes/columns/columns.tsx"],"names":[],"mappings":";AAAA,OAAO,SAAS,MAAM,8BAA8B,CAAC;AAGrD,OAAO,EAAC,eAAe,EAAC,MAAM,qDAAqD,CAAC;AACpF,OAAO,EAAC,eAAe,EAAC,MAAM,qDAAqD,CAAC;AACpF,OAAO,EAAC,UAAU,EAAC,MAAM,2CAA2C,CAAC;AACrE,OAAO,EAAC,cAAc,EAAC,MAAM,mDAAmD,CAAC;AACjF,OAAO,EAAC,gBAAgB,EAAC,MAAM,sCAAsC,CAAC;AACtE,OAAO,EAAC,UAAU,EAAC,MAAM,2CAA2C,CAAC;AAErE,OAAO,EAAC,sBAAsB,EAAC,MAAM,qCAAqC,CAAC;AAE3E,OAAO,EAAC,sBAAsB,EAAC,MAAM,0BAA0B,CAAC;AAChE,OAAO,EAAC,uBAAuB,EAAC,MAAM,8CAA8C,CAAC;AACrF,OAAO,EAAC,uBAAuB,EAAC,MAAM,sBAAsB,CAAC;AAE7D,OAAO,EAAC,iBAAiB,EAAE,oBAAoB,EAAC,MAAM,aAAa,CAAC;AAGpE,MAAM,YAAY,GAAgB;IAC9B,IAAI,EAAE,iBAAiB,CAAC,MAAM;IAC9B,MAAM,EAAE,GAAG;IACX,KAAK,EAAE,EAAE;IACT,MAAM,EAAE,CAAC,EAAC,GAAG,EAAC,EAAE,EAAE,CAAC,GAAG,CAAC,MAAM;IAC7B,KAAK,EAAE,SAAS,CAAC,KAAK;IACtB,QAAQ,EAAE,KAAK;CAClB,CAAC;AAEF,MAAM,aAAa,GAAG,CAAC,UAA2B,EAAE,QAAiB,EAAe,EAAE,CAAC,CAAC;IACpF,IA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AAU,EAAE,QAAQ,CAAC;QACnC,YAAY;QACZ,yBAAyB;QACzB,oBAAoB;QACpB,sBAAsB;QACtB,cAAc;QACd,gBAAgB,CAAC,QAAQ,CAAC;KAC7B,CAAC;AACN,CAAC"}
|
@@ -4,6 +4,7 @@ export declare const NODES_TABLE_SELECTED_COLUMNS_LS_KEY = "nodesTableSelectedCo
|
|
4
4
|
export declare const NODES_COLUMNS_IDS: {
|
5
5
|
readonly NodeId: "NodeId";
|
6
6
|
readonly Host: "Host";
|
7
|
+
readonly NodeName: "NodeName";
|
7
8
|
readonly DC: "DC";
|
8
9
|
readonly Rack: "Rack";
|
9
10
|
readonly Version: "Version";
|
@@ -23,6 +24,7 @@ export declare const REQUIRED_NODES_COLUMNS: NodesColumnId[];
|
|
23
24
|
export declare const NODES_COLUMNS_TITLES: {
|
24
25
|
readonly NodeId: string;
|
25
26
|
readonly Host: string;
|
27
|
+
readonly NodeName: string;
|
26
28
|
readonly DC: string;
|
27
29
|
readonly Rack: string;
|
28
30
|
readonly Version: string;
|
@@ -4,6 +4,7 @@ export const NODES_TABLE_SELECTED_COLUMNS_LS_KEY = 'nodesTableSelectedColumns';
|
|
4
4
|
export const NODES_COLUMNS_IDS = {
|
5
5
|
NodeId: 'NodeId',
|
6
6
|
Host: 'Host',
|
7
|
+
NodeName: 'NodeName',
|
7
8
|
DC: 'DC',
|
8
9
|
Rack: 'Rack',
|
9
10
|
Version: 'Version',
|
@@ -39,6 +40,9 @@ export const NODES_COLUMNS_TITLES = {
|
|
39
40
|
get Host() {
|
40
41
|
return i18n('host');
|
41
42
|
},
|
43
|
+
get NodeName() {
|
44
|
+
return i18n('node-name');
|
45
|
+
},
|
42
46
|
get DC() {
|
43
47
|
return i18n('dc');
|
44
48
|
},
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../src/containers/Nodes/columns/constants.ts"],"names":[],"mappings":"AAEA,OAAO,IAAI,MAAM,QAAQ,CAAC;AA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AC;IAC3B,CAAC;IACD,IAAI,gBAAgB;QAChB,OAAO,IAAI,CAAC,QAAQ,CAAC,CAAC;IAC1B,CAAC;IACD,IAAI,aAAa;QACb,OAAO,IAAI,CAAC,UAAU,CAAC,CAAC;IAC5B,CAAC;CAC6C,CAAC"}
|
@@ -1,2 +1,2 @@
|
|
1
|
-
declare const _default: (key: "version" | "host" | "tablets" | "cpu" | "memory" | "uptime" | "load" | "node-id" | "dc" | "rack" | "load-average" | "process" | "caches" | "sessions", params?: import("@gravity-ui/i18n").Params) => string;
|
1
|
+
declare const _default: (key: "version" | "host" | "tablets" | "cpu" | "memory" | "uptime" | "load" | "node-id" | "node-name" | "dc" | "rack" | "load-average" | "process" | "caches" | "sessions", params?: import("@gravity-ui/i18n").Params) => string;
|
2
2
|
export default _default;
|
@@ -1,9 +1,9 @@
|
|
1
|
-
import type { NodesMap } from '../../../types/store/nodesList';
|
2
1
|
import type { PreparedVDisk } from '../../../utils/disks/types';
|
2
|
+
import type { VDiskViewContext } from '../utils';
|
3
3
|
import './Disks.scss';
|
4
4
|
interface DisksProps {
|
5
5
|
vDisks?: PreparedVDisk[];
|
6
|
-
|
6
|
+
viewContext?: VDiskViewContext;
|
7
7
|
}
|
8
|
-
export declare function Disks({ vDisks,
|
8
|
+
export declare function Disks({ vDisks, viewContext }: DisksProps): import("react/jsx-runtime").JSX.Element | null;
|
9
9
|
export {};
|
@@ -5,27 +5,26 @@ import { cn } from '../../../utils/cn';
|
|
5
5
|
import { stringifyVdiskId } from '../../../utils/dataFormatters/dataFormatters';
|
6
6
|
import { getPDiskId } from '../../../utils/disks/helpers';
|
7
7
|
import { PDisk } from '../PDisk';
|
8
|
+
import { isVdiskActive } from '../utils';
|
8
9
|
import './Disks.scss';
|
9
10
|
const b = cn('ydb-storage-disks');
|
10
|
-
export function Disks({ vDisks = [],
|
11
|
+
export function Disks({ vDisks = [], viewContext }) {
|
11
12
|
const [highlightedVDisk, setHighlightedVDisk] = React.useState();
|
12
13
|
if (!vDisks.length) {
|
13
14
|
return null;
|
14
15
|
}
|
15
|
-
return (_jsxs("div", { className: b(null), children: [_jsx("div", { className: b('vdisks-wrapper'), children: vDisks === null || vDisks === void 0 ? void 0 : vDisks.map((vDisk) => {
|
16
|
-
return (_jsx(VDiskItem, { vDisk: vDisk, nodes: nodes, highlightedVDisk: highlightedVDisk, setHighlightedVDisk: setHighlightedVDisk }, stringifyVdiskId(vDisk.VDiskId)));
|
17
|
-
}) }), _jsx("div", { className: b('pdisks-wrapper'), children: vDisks === null || vDisks === void 0 ? void 0 : vDisks.map((vDisk) => {
|
16
|
+
return (_jsxs("div", { className: b(null), children: [_jsx("div", { className: b('vdisks-wrapper'), children: vDisks === null || vDisks === void 0 ? void 0 : vDisks.map((vDisk) => (_jsx(VDiskItem, { vDisk: vDisk, inactive: !isVdiskActive(vDisk, viewContext), highlightedVDisk: highlightedVDisk, setHighlightedVDisk: setHighlightedVDisk }, stringifyVdiskId(vDisk.VDiskId)))) }), _jsx("div", { className: b('pdisks-wrapper'), children: vDisks === null || vDisks === void 0 ? void 0 : vDisks.map((vDisk) => {
|
18
17
|
var _a;
|
19
|
-
return (_jsx(PDiskItem, { vDisk: vDisk,
|
18
|
+
return (_jsx(PDiskItem, { vDisk: vDisk, highlightedVDisk: highlightedVDisk, setHighlightedVDisk: setHighlightedVDisk }, getPDiskId(vDisk.NodeId, (_a = vDisk === null || vDisk === void 0 ? void 0 : vDisk.PDisk) === null || _a === void 0 ? void 0 : _a.PDiskId)));
|
20
19
|
}) })] }));
|
21
20
|
}
|
22
|
-
function VDiskItem({
|
21
|
+
function VDiskItem({ vDisk, highlightedVDisk, inactive, setHighlightedVDisk }) {
|
23
22
|
// Do not show PDisk popup for VDisk
|
24
23
|
const vDiskToShow = { ...vDisk, PDisk: undefined };
|
25
24
|
const vDiskId = stringifyVdiskId(vDisk.VDiskId);
|
26
25
|
return (_jsx("div", { style: {
|
27
26
|
flexGrow: Number(vDisk.AllocatedSize) || 1,
|
28
|
-
}, className: b('vdisk-item'), children: _jsx(VDiskWithDonorsStack, { data: vDiskToShow,
|
27
|
+
}, className: b('vdisk-item'), children: _jsx(VDiskWithDonorsStack, { data: vDiskToShow, compact: true, inactive: inactive, showPopup: highlightedVDisk === vDiskId, onShowPopup: () => setHighlightedVDisk(vDiskId), onHidePopup: () => setHighlightedVDisk(undefined), progressBarClassName: b('vdisk-progress-bar') }) }));
|
29
28
|
}
|
30
29
|
function PDiskItem({ vDisk, highlightedVDisk, setHighlightedVDisk }) {
|
31
30
|
const vDiskId = stringifyVdiskId(vDisk.VDiskId);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Disks.js","sourceRoot":"","sources":["../../../../src/containers/Storage/Disks/Disks.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,oBAAoB,EAAC,MAAM,gDAAgD,CAAC;
|
1
|
+
{"version":3,"file":"Disks.js","sourceRoot":"","sources":["../../../../src/containers/Storage/Disks/Disks.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,oBAAoB,EAAC,MAAM,gDAAgD,CAAC;AACpF,OAAO,EAAC,EAAE,EAAC,MAAM,mBAAmB,CAAC;AACrC,OAAO,EAAC,gBAAgB,EAAC,MAAM,8CAA8C,CAAC;AAC9E,OAAO,EAAC,UAAU,EAAC,MAAM,8BAA8B,CAAC;AAExD,OAAO,EAAC,KAAK,EAAC,MAAM,UAAU,CAAC;AAC/B,OAAO,EAAC,aAAa,EAAC,MAAM,UAAU,CAAC;AAGvC,OAAO,cAAc,CAAC;AAEtB,MAAM,CAAC,GAAG,EAAE,CAAC,mBAAmB,CAAC,CAAC;AAOlC,MAAM,UAAU,KAAK,CAAC,EAAC,MAAM,GAAG,EAAE,EAAE,WAAW,EAAa;IACxD,MAAM,CAAC,gBAAgB,EAAE,mBAAmB,CAAC,GAAG,KAAK,CAAC,QAAQ,EAAsB,CAA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MAAM,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC;SAC7C,EACD,SAAS,EAAE,CAAC,CAAC,YAAY,CAAC,YAE1B,KAAC,oBAAoB,IACjB,IAAI,EAAE,WAAW,EACjB,OAAO,QACP,QAAQ,EAAE,QAAQ,EAClB,SAAS,EAAE,gBAAgB,KAAK,OAAO,EACvC,WAAW,EAAE,GAAG,EAAE,CAAC,mBAAmB,CAAC,OAAO,CAAC,EAC/C,WAAW,EAAE,GAAG,EAAE,CAAC,mBAAmB,CAAC,SAAS,CAAC,EACjD,oBAAoB,EAAE,CAAC,CAAC,oBAAoB,CAAC,GAC/C,GACA,CACT,CAAC;AACN,CAAC;AAED,SAAS,SAAS,CAAC,EAAC,KAAK,EAAE,gBAAgB,EAAE,mBAAmB,EAAiB;IAC7E,MAAM,OAAO,GAAG,gBAAgB,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;IAEhD,IAAI,CAAC,KAAK,CAAC,KAAK,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IAED,OAAO,CACH,KAAC,KAAK,IACF,SAAS,EAAE,CAAC,CAAC,YAAY,CAAC,EAC1B,oBAAoB,EAAE,CAAC,CAAC,oBAAoB,CAAC,EAC7C,IAAI,EAAE,KAAK,CAAC,KAAK,EACjB,SAAS,EAAE,gBAAgB,KAAK,OAAO,EACvC,WAAW,EAAE,GAAG,EAAE,CAAC,mBAAmB,CAAC,OAAO,CAAC,EAC/C,WAAW,EAAE,GAAG,EAAE,CAAC,mBAAmB,CAAC,SAAS,CAAC,GACnD,CACL,CAAC;AACN,CAAC"}
|
@@ -1,14 +1,15 @@
|
|
1
1
|
import type { PreparedPDisk, PreparedVDisk } from '../../../utils/disks/types';
|
2
|
+
import type { VDiskViewContext } from '../utils';
|
2
3
|
import './PDisk.scss';
|
3
4
|
interface PDiskProps {
|
4
5
|
data?: PreparedPDisk;
|
5
6
|
vDisks?: PreparedVDisk[];
|
6
|
-
inactiveVdisks?: PreparedVDisk[];
|
7
7
|
showPopup?: boolean;
|
8
8
|
onShowPopup?: VoidFunction;
|
9
9
|
onHidePopup?: VoidFunction;
|
10
10
|
className?: string;
|
11
11
|
progressBarClassName?: string;
|
12
|
+
viewContext?: VDiskViewContext;
|
12
13
|
}
|
13
|
-
export declare const PDisk: ({ data, vDisks,
|
14
|
+
export declare const PDisk: ({ data, vDisks, showPopup, onShowPopup, onHidePopup, className, progressBarClassName, viewContext, }: PDiskProps) => import("react/jsx-runtime").JSX.Element;
|
14
15
|
export {};
|
@@ -10,9 +10,10 @@ import { valueIsDefined } from '../../../utils';
|
|
10
10
|
import { cn } from '../../../utils/cn';
|
11
11
|
import { stringifyVdiskId } from '../../../utils/dataFormatters/dataFormatters';
|
12
12
|
import { STRUCTURE } from '../../Node/NodePages';
|
13
|
+
import { isVdiskActive } from '../utils';
|
13
14
|
import './PDisk.scss';
|
14
15
|
const b = cn('pdisk-storage');
|
15
|
-
export const PDisk = ({ data = {}, vDisks,
|
16
|
+
export const PDisk = ({ data = {}, vDisks, showPopup, onShowPopup, onHidePopup, className, progressBarClassName, viewContext, }) => {
|
16
17
|
const [isPopupVisible, setIsPopupVisible] = React.useState(false);
|
17
18
|
const diskPagesAvailable = useDiskPagesAvailable();
|
18
19
|
const anchor = React.useRef(null);
|
@@ -35,7 +36,7 @@ export const PDisk = ({ data = {}, vDisks, inactiveVdisks, showPopup, onShowPopu
|
|
35
36
|
// 1 is small enough for empty disks to be of the minimum width
|
36
37
|
// but if all of them are empty, `flex-grow: 1` would size them evenly
|
37
38
|
flexGrow: Number(vdisk.AllocatedSize) || 1,
|
38
|
-
}, children: _jsx(VDiskWithDonorsStack, { data: vdisk, inactive:
|
39
|
+
}, children: _jsx(VDiskWithDonorsStack, { data: vdisk, inactive: !isVdiskActive(vdisk, viewContext), stackClassName: b('donors-stack'), compact: true }) }, stringifyVdiskId(vdisk.VDiskId)));
|
39
40
|
}) }));
|
40
41
|
};
|
41
42
|
let pDiskPath;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"PDisk.js","sourceRoot":"","sources":["../../../../src/containers/Storage/PDisk/PDisk.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,oBAAoB,EAAC,MAAM,+DAA+D,CAAC;AACnG,OAAO,EAAC,YAAY,EAAC,MAAM,kCAAkC,CAAC;AAC9D,OAAO,EAAC,UAAU,EAAC,MAAM,2CAA2C,CAAC;AACrE,OAAO,EAAC,oBAAoB,EAAC,MAAM,gDAAgD,CAAC;AACpF,OAAO,MAAM,EAAE,EAAC,UAAU,EAAE,gBAAgB,EAAC,MAAM,iBAAiB,CAAC;AACrE,OAAO,EAAC,qBAAqB,EAAC,MAAM,4CAA4C,CAAC;AACjF,OAAO,EAAC,cAAc,EAAC,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAC,EAAE,EAAC,MAAM,mBAAmB,CAAC;AACrC,OAAO,EAAC,gBAAgB,EAAC,MAAM,8CAA8C,CAAC;AAE9E,OAAO,EAAC,SAAS,EAAC,MAAM,sBAAsB,CAAC;
|
1
|
+
{"version":3,"file":"PDisk.js","sourceRoot":"","sources":["../../../../src/containers/Storage/PDisk/PDisk.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,oBAAoB,EAAC,MAAM,+DAA+D,CAAC;AACnG,OAAO,EAAC,YAAY,EAAC,MAAM,kCAAkC,CAAC;AAC9D,OAAO,EAAC,UAAU,EAAC,MAAM,2CAA2C,CAAC;AACrE,OAAO,EAAC,oBAAoB,EAAC,MAAM,gDAAgD,CAAC;AACpF,OAAO,MAAM,EAAE,EAAC,UAAU,EAAE,gBAAgB,EAAC,MAAM,iBAAiB,CAAC;AACrE,OAAO,EAAC,qBAAqB,EAAC,MAAM,4CAA4C,CAAC;AACjF,OAAO,EAAC,cAAc,EAAC,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAC,EAAE,E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BAAgB,EAC3C,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,SAAS,EAAE,oBAAoB,GACjC,EACF,cAAK,SAAS,EAAE,CAAC,CAAC,YAAY,CAAC,YAAG,IAAI,CAAC,IAAI,GAAO,IACvC,IACb,EACN,KAAC,UAAU,IAAC,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,IAAI,EAAE,cAAc,IAAI,SAAS,GAAI,IACnE,CACpB,CAAC;AACN,CAAC,CAAC"}
|
@@ -1,8 +1,8 @@
|
|
1
|
-
interface PaginatedStorageProps {
|
1
|
+
export interface PaginatedStorageProps {
|
2
2
|
database?: string;
|
3
|
-
nodeId?: string;
|
4
|
-
groupId?: string;
|
3
|
+
nodeId?: string | number;
|
4
|
+
groupId?: string | number;
|
5
|
+
pDiskId?: string | number;
|
5
6
|
parentContainer?: Element | null;
|
6
7
|
}
|
7
|
-
export declare const PaginatedStorage: (
|
8
|
-
export {};
|
8
|
+
export declare const PaginatedStorage: (props: PaginatedStorageProps) => import("react/jsx-runtime").JSX.Element;
|
@@ -1,79 +1,13 @@
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
2
|
-
import {
|
3
|
-
import {
|
4
|
-
import {
|
5
|
-
|
6
|
-
|
7
|
-
import { storageTypeSchema, visibleEntitiesSchema } from '../../store/reducers/storage/types';
|
8
|
-
import { NodesUptimeFilterValues, nodesUptimeFilterValuesSchema } from '../../utils/nodes';
|
9
|
-
import { useAdditionalNodeProps } from '../AppWithClusters/useClusterData';
|
10
|
-
import { StorageControls } from './StorageControls/StorageControls';
|
11
|
-
import { PaginatedStorageGroups } from './StorageGroups/PaginatedStorageGroups';
|
12
|
-
import { useStorageGroupsSelectedColumns } from './StorageGroups/columns/hooks';
|
13
|
-
import { PaginatedStorageNodes } from './StorageNodes/PaginatedStorageNodes';
|
14
|
-
import { useStorageNodesSelectedColumns } from './StorageNodes/columns/hooks';
|
15
|
-
export const PaginatedStorage = ({ database, nodeId, groupId, parentContainer, }) => {
|
16
|
-
var _a;
|
17
|
-
const { balancer } = useClusterBaseInfo();
|
18
|
-
const { additionalNodesProps } = useAdditionalNodeProps({ balancer });
|
19
|
-
const [queryParams, setQueryParams] = useQueryParams({
|
20
|
-
type: StringParam,
|
21
|
-
visible: StringParam,
|
22
|
-
search: StringParam,
|
23
|
-
uptimeFilter: StringParam,
|
24
|
-
});
|
25
|
-
const storageType = storageTypeSchema.parse(queryParams.type);
|
26
|
-
const isGroups = storageType === 'groups';
|
2
|
+
import { PaginatedStorageGroups } from './PaginatedStorageGroups';
|
3
|
+
import { PaginatedStorageNodes } from './PaginatedStorageNodes';
|
4
|
+
import { useStorageQueryParams } from './useStorageQueryParams';
|
5
|
+
export const PaginatedStorage = (props) => {
|
6
|
+
const { storageType } = useStorageQueryParams();
|
27
7
|
const isNodes = storageType === 'nodes';
|
28
|
-
const visibleEntities = visibleEntitiesSchema.parse(queryParams.visible);
|
29
|
-
const searchValue = (_a = queryParams.search) !== null && _a !== void 0 ? _a : '';
|
30
|
-
const nodesUptimeFilter = nodesUptimeFilterValuesSchema.parse(queryParams.uptimeFilter);
|
31
|
-
const { columnsToShow: storageNodesColumnsToShow, columnsToSelect: storageNodesColumnsToSelect, setColumns: setStorageNodesSelectedColumns, } = useStorageNodesSelectedColumns({
|
32
|
-
additionalNodesProps,
|
33
|
-
visibleEntities,
|
34
|
-
database,
|
35
|
-
groupId,
|
36
|
-
});
|
37
|
-
const { columnsToShow: storageGroupsColumnsToShow, columnsToSelect: storageGroupsColumnsToSelect, setColumns: setStorageGroupsSelectedColumns, } = useStorageGroupsSelectedColumns(visibleEntities);
|
38
|
-
const handleTextFilterChange = (value) => {
|
39
|
-
setQueryParams({ search: value || undefined }, 'replaceIn');
|
40
|
-
};
|
41
|
-
const handleGroupVisibilityChange = (value) => {
|
42
|
-
setQueryParams({ visible: value }, 'replaceIn');
|
43
|
-
};
|
44
|
-
const handleStorageTypeChange = (value) => {
|
45
|
-
setQueryParams({ type: value }, 'replaceIn');
|
46
|
-
};
|
47
|
-
const handleUptimeFilterChange = (value) => {
|
48
|
-
setQueryParams({ uptimeFilter: value }, 'replaceIn');
|
49
|
-
};
|
50
|
-
const handleShowAllGroups = () => {
|
51
|
-
handleGroupVisibilityChange(VISIBLE_ENTITIES.all);
|
52
|
-
};
|
53
|
-
const handleShowAllNodes = () => {
|
54
|
-
setQueryParams({
|
55
|
-
visible: VISIBLE_ENTITIES.all,
|
56
|
-
uptimeFilter: NodesUptimeFilterValues.All,
|
57
|
-
}, 'replaceIn');
|
58
|
-
};
|
59
|
-
const renderControls = ({ totalEntities, foundEntities, inited }) => {
|
60
|
-
const columnsToSelect = isGroups
|
61
|
-
? storageGroupsColumnsToSelect
|
62
|
-
: storageNodesColumnsToSelect;
|
63
|
-
const handleSelectedColumnsUpdate = isGroups
|
64
|
-
? setStorageGroupsSelectedColumns
|
65
|
-
: setStorageNodesSelectedColumns;
|
66
|
-
return (_jsx(StorageControls, { searchValue: searchValue, handleSearchValueChange: handleTextFilterChange, withTypeSelector: true, storageType: storageType, handleStorageTypeChange: handleStorageTypeChange, visibleEntities: visibleEntities, handleVisibleEntitiesChange: handleGroupVisibilityChange, nodesUptimeFilter: nodesUptimeFilter, handleNodesUptimeFilterChange: handleUptimeFilterChange, withGroupsUsageFilter: false, entitiesCountCurrent: foundEntities, entitiesCountTotal: totalEntities, entitiesLoading: !inited, columnsToSelect: columnsToSelect, handleSelectedColumnsUpdate: handleSelectedColumnsUpdate }));
|
67
|
-
};
|
68
|
-
const renderErrorMessage = (error) => {
|
69
|
-
if (error.status === 403) {
|
70
|
-
return _jsx(AccessDenied, { position: "left" });
|
71
|
-
}
|
72
|
-
return _jsx(ResponseError, { error: error });
|
73
|
-
};
|
74
8
|
if (isNodes) {
|
75
|
-
return
|
9
|
+
return _jsx(PaginatedStorageNodes, { ...props });
|
76
10
|
}
|
77
|
-
return
|
11
|
+
return _jsx(PaginatedStorageGroups, { ...props });
|
78
12
|
};
|
79
13
|
//# sourceMappingURL=PaginatedStorage.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"PaginatedStorage.js","sourceRoot":"","sources":["../../../src/containers/Storage/PaginatedStorage.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,
|
1
|
+
{"version":3,"file":"PaginatedStorage.js","sourceRoot":"","sources":["../../../src/containers/Storage/PaginatedStorage.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,sBAAsB,EAAC,MAAM,0BAA0B,CAAC;AAChE,OAAO,EAAC,qBAAqB,EAAC,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAC,qBAAqB,EAAC,MAAM,yBAAyB,CAAC;AAW9D,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,KAA4B,EAAE,EAAE;IAC7D,MAAM,EAAC,WAAW,EAAC,GAAG,qBAAqB,EAAE,CAAC;IAE9C,MAAM,OAAO,GAAG,WAAW,KAAK,OAAO,CAAC;IAExC,IAAI,OAAO,EAAE,CAAC;QACV,OAAO,KAAC,qBAAqB,OAAK,KAAK,GAAI,CAAC;IAChD,CAAC;IAED,OAAO,KAAC,sBAAsB,OAAK,KAAK,GAAI,CAAC;AACjD,CAAC,CAAC"}
|
@@ -0,0 +1,84 @@
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
2
|
+
import React from 'react';
|
3
|
+
import { ResponseError } from '../../components/Errors/ResponseError/ResponseError';
|
4
|
+
import { LoaderWrapper } from '../../components/LoaderWrapper/LoaderWrapper';
|
5
|
+
import { TableWithControlsLayout } from '../../components/TableWithControlsLayout/TableWithControlsLayout';
|
6
|
+
import { useCapabilitiesLoaded, useStorageGroupsHandlerHasGrouping, } from '../../store/reducers/capabilities/hooks';
|
7
|
+
import { storageApi } from '../../store/reducers/storage/storage';
|
8
|
+
import { useAutoRefreshInterval } from '../../utils/hooks';
|
9
|
+
import { StorageGroupsControls } from './StorageControls/StorageControls';
|
10
|
+
import { PaginatedStorageGroupsTable } from './StorageGroups/PaginatedStorageGroupsTable';
|
11
|
+
import { useStorageGroupsSelectedColumns } from './StorageGroups/columns/hooks';
|
12
|
+
import { TableGroup } from './TableGroup/TableGroup';
|
13
|
+
import { useExpandedGroups } from './TableGroup/useExpandedTableGroups';
|
14
|
+
import i18n from './i18n';
|
15
|
+
import { b, renderPaginatedTableErrorMessage } from './shared';
|
16
|
+
import { useStorageQueryParams } from './useStorageQueryParams';
|
17
|
+
import './Storage.scss';
|
18
|
+
export function PaginatedStorageGroups(props) {
|
19
|
+
const { storageGroupsGroupByParam, visibleEntities, handleShowAllGroups } = useStorageQueryParams();
|
20
|
+
const capabilitiesLoaded = useCapabilitiesLoaded();
|
21
|
+
const storageGroupsHandlerHasGroupping = useStorageGroupsHandlerHasGrouping();
|
22
|
+
// Other filters do not fit with grouping
|
23
|
+
// Reset them if grouping available
|
24
|
+
React.useEffect(() => {
|
25
|
+
if (storageGroupsHandlerHasGroupping && visibleEntities !== 'all') {
|
26
|
+
handleShowAllGroups();
|
27
|
+
}
|
28
|
+
}, [handleShowAllGroups, storageGroupsHandlerHasGroupping, visibleEntities]);
|
29
|
+
const renderContent = () => {
|
30
|
+
if (storageGroupsHandlerHasGroupping && storageGroupsGroupByParam) {
|
31
|
+
return _jsx(GroupedStorageGroupsComponent, { ...props });
|
32
|
+
}
|
33
|
+
return _jsx(StorageGroupsComponent, { ...props });
|
34
|
+
};
|
35
|
+
return _jsx(LoaderWrapper, { loading: !capabilitiesLoaded, children: renderContent() });
|
36
|
+
}
|
37
|
+
function StorageGroupsComponent({ database, nodeId, groupId, pDiskId, parentContainer, }) {
|
38
|
+
const { searchValue, visibleEntities, handleShowAllGroups } = useStorageQueryParams();
|
39
|
+
const { columnsToShow, columnsToSelect, setColumns } = useStorageGroupsSelectedColumns({
|
40
|
+
visibleEntities,
|
41
|
+
nodeId: nodeId === null || nodeId === void 0 ? void 0 : nodeId.toString(),
|
42
|
+
});
|
43
|
+
const renderControls = ({ totalEntities, foundEntities, inited }) => {
|
44
|
+
return (_jsx(StorageGroupsControls, { withTypeSelector: true, withGroupBySelect: true, entitiesCountCurrent: foundEntities, entitiesCountTotal: totalEntities, entitiesLoading: !inited, columnsToSelect: columnsToSelect, handleSelectedColumnsUpdate: setColumns }));
|
45
|
+
};
|
46
|
+
return (_jsx(PaginatedStorageGroupsTable, { database: database, nodeId: nodeId, groupId: groupId, pDiskId: pDiskId, searchValue: searchValue, visibleEntities: visibleEntities, onShowAll: handleShowAllGroups, parentContainer: parentContainer, renderControls: renderControls, renderErrorMessage: renderPaginatedTableErrorMessage, columns: columnsToShow }));
|
47
|
+
}
|
48
|
+
function GroupedStorageGroupsComponent({ database, nodeId, groupId, pDiskId, }) {
|
49
|
+
const [autoRefreshInterval] = useAutoRefreshInterval();
|
50
|
+
const { searchValue, storageGroupsGroupByParam, visibleEntities, handleShowAllGroups } = useStorageQueryParams();
|
51
|
+
const { columnsToShow, columnsToSelect, setColumns } = useStorageGroupsSelectedColumns({
|
52
|
+
visibleEntities,
|
53
|
+
nodeId: nodeId === null || nodeId === void 0 ? void 0 : nodeId.toString(),
|
54
|
+
});
|
55
|
+
const { currentData, isFetching, error } = storageApi.useGetStorageGroupsInfoQuery({
|
56
|
+
database,
|
57
|
+
with: 'all',
|
58
|
+
nodeId,
|
59
|
+
groupId,
|
60
|
+
pDiskId,
|
61
|
+
filter: searchValue,
|
62
|
+
shouldUseGroupsHandler: true,
|
63
|
+
group: storageGroupsGroupByParam,
|
64
|
+
}, {
|
65
|
+
pollingInterval: autoRefreshInterval,
|
66
|
+
});
|
67
|
+
const isLoading = currentData === undefined && isFetching;
|
68
|
+
const { tableGroups, found = 0, total = 0 } = currentData || {};
|
69
|
+
const { expandedGroups, setIsGroupExpanded } = useExpandedGroups(tableGroups);
|
70
|
+
const renderControls = () => {
|
71
|
+
return (_jsx(StorageGroupsControls, { withTypeSelector: true, withGroupBySelect: true, entitiesCountCurrent: found, entitiesCountTotal: total, entitiesLoading: isLoading, columnsToSelect: columnsToSelect, handleSelectedColumnsUpdate: setColumns }));
|
72
|
+
};
|
73
|
+
const renderGroups = () => {
|
74
|
+
if (tableGroups === null || tableGroups === void 0 ? void 0 : tableGroups.length) {
|
75
|
+
return tableGroups.map(({ name, count }) => {
|
76
|
+
const isExpanded = expandedGroups[name];
|
77
|
+
return (_jsx(TableGroup, { title: name, count: count, entityName: i18n('groups'), expanded: isExpanded, onIsExpandedChange: setIsGroupExpanded, children: _jsx(PaginatedStorageGroupsTable, { database: database, nodeId: nodeId, groupId: groupId, pDiskId: pDiskId, filterGroup: name, filterGroupBy: storageGroupsGroupByParam, searchValue: searchValue, visibleEntities: 'all', onShowAll: handleShowAllGroups, renderErrorMessage: renderPaginatedTableErrorMessage, columns: columnsToShow, initialEntitiesCount: count }) }, name));
|
78
|
+
});
|
79
|
+
}
|
80
|
+
return i18n('no-groups');
|
81
|
+
};
|
82
|
+
return (_jsxs(TableWithControlsLayout, { children: [_jsx(TableWithControlsLayout.Controls, { children: renderControls() }), error ? _jsx(ResponseError, { error: error }) : null, _jsx(TableWithControlsLayout.Table, { loading: isLoading, className: b('groups-wrapper'), children: renderGroups() })] }));
|
83
|
+
}
|
84
|
+
//# sourceMappingURL=PaginatedStorageGroups.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"PaginatedStorageGroups.js","sourceRoot":"","sources":["../../../src/containers/Storage/PaginatedStorageGroups.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,aAAa,EAAC,MAAM,qDAAqD,CAAC;AAClF,OAAO,EAAC,aAAa,EAAC,MAAM,8CAA8C,CAAC;AAE3E,OAAO,EAAC,uBAAuB,EAAC,MAAM,kEAAkE,CAAC;AACzG,OAAO,EACH,qBAAqB,EACrB,kCAAkC,GACrC,MAAM,yCAAyC,CAAC;AACjD,OAAO,EAAC,UAAU,EAAC,MAAM,sCAAsC,CAAC;AAChE,OAAO,EAAC,sBAAsB,EAAC,M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