ydb-embedded-ui 6.23.1 → 6.25.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (260) hide show
  1. package/dist/components/CellWithPopover/CellWithPopover.js +2 -1
  2. package/dist/components/CellWithPopover/CellWithPopover.js.map +1 -1
  3. package/dist/components/NodeHostWrapper/NodeHostWrapper.d.ts +6 -2
  4. package/dist/components/NodeHostWrapper/NodeHostWrapper.js.map +1 -1
  5. package/dist/components/PDiskPopup/PDiskPopup.js +8 -1
  6. package/dist/components/PDiskPopup/PDiskPopup.js.map +1 -1
  7. package/dist/components/PaginatedTable/PaginatedTable.d.ts +3 -2
  8. package/dist/components/PaginatedTable/PaginatedTable.js +15 -21
  9. package/dist/components/PaginatedTable/PaginatedTable.js.map +1 -1
  10. package/dist/components/PaginatedTable/TableChunk.d.ts +1 -2
  11. package/dist/components/PaginatedTable/TableChunk.js +5 -19
  12. package/dist/components/PaginatedTable/TableChunk.js.map +1 -1
  13. package/dist/components/PaginatedTable/useScrollBasedChunks.d.ts +9 -0
  14. package/dist/components/PaginatedTable/useScrollBasedChunks.js +35 -0
  15. package/dist/components/PaginatedTable/useScrollBasedChunks.js.map +1 -0
  16. package/dist/components/TabletsStatistic/TabletsStatistic.d.ts +2 -2
  17. package/dist/components/TabletsStatistic/TabletsStatistic.js +2 -2
  18. package/dist/components/TabletsStatistic/TabletsStatistic.js.map +1 -1
  19. package/dist/components/VDisk/VDisk.js +12 -26
  20. package/dist/components/VDisk/VDisk.js.map +1 -1
  21. package/dist/components/VDisk/VDisk.scss +2 -0
  22. package/dist/components/VDisk/VDiskWithDonorsStack.js +2 -2
  23. package/dist/components/VDisk/VDiskWithDonorsStack.js.map +1 -1
  24. package/dist/components/VDisk/utils.d.ts +2 -0
  25. package/dist/components/VDisk/utils.js +23 -0
  26. package/dist/components/VDisk/utils.js.map +1 -0
  27. package/dist/components/VDiskInfo/VDiskInfo.js +2 -2
  28. package/dist/components/VDiskInfo/VDiskInfo.js.map +1 -1
  29. package/dist/components/VDiskPopup/VDiskPopup.d.ts +2 -3
  30. package/dist/components/VDiskPopup/VDiskPopup.js +29 -3
  31. package/dist/components/VDiskPopup/VDiskPopup.js.map +1 -1
  32. package/dist/components/nodesColumns/columns.d.ts +55 -0
  33. package/dist/components/nodesColumns/columns.js +187 -0
  34. package/dist/components/nodesColumns/columns.js.map +1 -0
  35. package/dist/components/nodesColumns/constants.d.ts +39 -0
  36. package/dist/components/nodesColumns/constants.js +73 -0
  37. package/dist/components/nodesColumns/constants.js.map +1 -0
  38. package/dist/{containers/Nodes/columns → components/nodesColumns}/i18n/en.json +4 -3
  39. package/dist/components/nodesColumns/i18n/index.d.ts +2 -0
  40. package/dist/{containers/Nodes/columns → components/nodesColumns}/i18n/index.js +1 -1
  41. package/dist/components/nodesColumns/i18n/index.js.map +1 -0
  42. package/dist/components/nodesColumns/types.d.ts +8 -0
  43. package/dist/components/nodesColumns/types.js.map +1 -0
  44. package/dist/containers/AppWithClusters/ExtendedCluster/ExtendedCluster.js +8 -4
  45. package/dist/containers/AppWithClusters/ExtendedCluster/ExtendedCluster.js.map +1 -1
  46. package/dist/containers/Authentication/Authentication.js +12 -10
  47. package/dist/containers/Authentication/Authentication.js.map +1 -1
  48. package/dist/containers/Cluster/Cluster.js +3 -1
  49. package/dist/containers/Cluster/Cluster.js.map +1 -1
  50. package/dist/containers/Cluster/utils.d.ts +4 -0
  51. package/dist/containers/Cluster/utils.js +6 -1
  52. package/dist/containers/Cluster/utils.js.map +1 -1
  53. package/dist/containers/Node/Node.js +1 -1
  54. package/dist/containers/Node/Node.js.map +1 -1
  55. package/dist/containers/Nodes/Nodes.js +1 -1
  56. package/dist/containers/Nodes/Nodes.js.map +1 -1
  57. package/dist/containers/Nodes/NodesWrapper.d.ts +2 -2
  58. package/dist/containers/Nodes/NodesWrapper.js +2 -2
  59. package/dist/containers/Nodes/NodesWrapper.js.map +1 -1
  60. package/dist/containers/Nodes/PaginatedNodes.d.ts +3 -2
  61. package/dist/containers/Nodes/PaginatedNodes.js +3 -3
  62. package/dist/containers/Nodes/PaginatedNodes.js.map +1 -1
  63. package/dist/containers/Nodes/columns/columns.d.ts +2 -7
  64. package/dist/containers/Nodes/columns/columns.js +13 -187
  65. package/dist/containers/Nodes/columns/columns.js.map +1 -1
  66. package/dist/containers/Nodes/columns/constants.d.ts +1 -38
  67. package/dist/containers/Nodes/columns/constants.js +0 -68
  68. package/dist/containers/Nodes/columns/constants.js.map +1 -1
  69. package/dist/containers/Nodes/columns/hooks.d.ts +3 -3
  70. package/dist/containers/Nodes/columns/hooks.js +2 -1
  71. package/dist/containers/Nodes/columns/hooks.js.map +1 -1
  72. package/dist/containers/PDiskPage/PDiskPage.js +2 -2
  73. package/dist/containers/PDiskPage/PDiskPage.js.map +1 -1
  74. package/dist/containers/Storage/Disks/Disks.d.ts +2 -2
  75. package/dist/containers/Storage/Disks/Disks.js +5 -6
  76. package/dist/containers/Storage/Disks/Disks.js.map +1 -1
  77. package/dist/containers/Storage/PDisk/PDisk.d.ts +2 -2
  78. package/dist/containers/Storage/PDisk/PDisk.js +13 -11
  79. package/dist/containers/Storage/PDisk/PDisk.js.map +1 -1
  80. package/dist/containers/Storage/PaginatedStorage.d.ts +4 -1
  81. package/dist/containers/Storage/PaginatedStorage.js +3 -2
  82. package/dist/containers/Storage/PaginatedStorage.js.map +1 -1
  83. package/dist/containers/Storage/PaginatedStorageGroups.js +7 -6
  84. package/dist/containers/Storage/PaginatedStorageGroups.js.map +1 -1
  85. package/dist/containers/Storage/PaginatedStorageNodes.js +9 -8
  86. package/dist/containers/Storage/PaginatedStorageNodes.js.map +1 -1
  87. package/dist/containers/Storage/Storage.d.ts +3 -1
  88. package/dist/containers/Storage/Storage.js +3 -3
  89. package/dist/containers/Storage/Storage.js.map +1 -1
  90. package/dist/containers/Storage/StorageControls/StorageControls.js +2 -2
  91. package/dist/containers/Storage/StorageGroups/PaginatedStorageGroupsTable.d.ts +3 -2
  92. package/dist/containers/Storage/StorageGroups/PaginatedStorageGroupsTable.js +2 -2
  93. package/dist/containers/Storage/StorageGroups/PaginatedStorageGroupsTable.js.map +1 -1
  94. package/dist/containers/Storage/StorageGroups/columns/StorageGroupsColumns.scss +10 -1
  95. package/dist/containers/Storage/StorageGroups/columns/columns.js +21 -16
  96. package/dist/containers/Storage/StorageGroups/columns/columns.js.map +1 -1
  97. package/dist/containers/Storage/StorageGroups/columns/constants.js +1 -1
  98. package/dist/containers/Storage/StorageGroups/columns/constants.js.map +1 -1
  99. package/dist/containers/Storage/StorageGroups/columns/hooks.d.ts +3 -2
  100. package/dist/containers/Storage/StorageGroups/columns/hooks.js +5 -5
  101. package/dist/containers/Storage/StorageGroups/columns/hooks.js.map +1 -1
  102. package/dist/containers/Storage/StorageGroups/columns/i18n/en.json +1 -1
  103. package/dist/containers/Storage/StorageGroups/columns/i18n/index.d.ts +1 -1
  104. package/dist/containers/Storage/StorageGroups/columns/types.d.ts +3 -2
  105. package/dist/containers/Storage/StorageNodes/PaginatedStorageNodesTable.d.ts +3 -2
  106. package/dist/containers/Storage/StorageNodes/PaginatedStorageNodesTable.js +2 -2
  107. package/dist/containers/Storage/StorageNodes/PaginatedStorageNodesTable.js.map +1 -1
  108. package/dist/containers/Storage/StorageNodes/columns/columns.d.ts +2 -38
  109. package/dist/containers/Storage/StorageNodes/columns/columns.js +34 -71
  110. package/dist/containers/Storage/StorageNodes/columns/columns.js.map +1 -1
  111. package/dist/containers/Storage/StorageNodes/columns/constants.d.ts +20 -4
  112. package/dist/containers/Storage/StorageNodes/columns/constants.js +4 -32
  113. package/dist/containers/Storage/StorageNodes/columns/constants.js.map +1 -1
  114. package/dist/containers/Storage/StorageNodes/columns/hooks.d.ts +2 -39
  115. package/dist/containers/Storage/StorageNodes/columns/hooks.js +4 -4
  116. package/dist/containers/Storage/StorageNodes/columns/hooks.js.map +1 -1
  117. package/dist/containers/Storage/StorageNodes/columns/i18n/en.json +0 -8
  118. package/dist/containers/Storage/StorageNodes/columns/i18n/index.d.ts +1 -1
  119. package/dist/containers/Storage/StorageNodes/columns/types.d.ts +5 -5
  120. package/dist/containers/Storage/StorageWrapper.d.ts +6 -3
  121. package/dist/containers/Storage/StorageWrapper.js +10 -3
  122. package/dist/containers/Storage/StorageWrapper.js.map +1 -1
  123. package/dist/containers/Storage/types.d.ts +6 -0
  124. package/dist/containers/Storage/types.js +2 -0
  125. package/dist/containers/Storage/types.js.map +1 -0
  126. package/dist/containers/Storage/utils/index.d.ts +4 -6
  127. package/dist/containers/Storage/utils/index.js +35 -9
  128. package/dist/containers/Storage/utils/index.js.map +1 -1
  129. package/dist/containers/StorageGroupPage/StorageGroupPage.js +2 -2
  130. package/dist/containers/StorageGroupPage/StorageGroupPage.js.map +1 -1
  131. package/dist/containers/Tablet/components/TabletStorageInfo/TabletStorageInfo.scss +2 -9
  132. package/dist/containers/Tablets/Tablets.js +2 -123
  133. package/dist/containers/Tablets/Tablets.js.map +1 -1
  134. package/dist/containers/Tablets/TabletsTable.d.ts +10 -0
  135. package/dist/containers/Tablets/TabletsTable.js +129 -0
  136. package/dist/containers/Tablets/TabletsTable.js.map +1 -0
  137. package/dist/containers/Tenant/Diagnostics/Diagnostics.js +4 -4
  138. package/dist/containers/Tenant/Diagnostics/Diagnostics.js.map +1 -1
  139. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByCpu.d.ts +4 -0
  140. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByCpu.js +18 -3
  141. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByCpu.js.map +1 -1
  142. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByLoad.js +22 -3
  143. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByLoad.js.map +1 -1
  144. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopQueries.js +2 -1
  145. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopQueries.js.map +1 -1
  146. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopShards.js +2 -1
  147. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopShards.js.map +1 -1
  148. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TopNodesByMemory.js +23 -2
  149. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TopNodesByMemory.js.map +1 -1
  150. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopGroups.js +2 -6
  151. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopGroups.js.map +1 -1
  152. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopTables.js +2 -1
  153. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopTables.js.map +1 -1
  154. package/dist/containers/Tenant/Diagnostics/TenantOverview/i18n/en.json +2 -1
  155. package/dist/containers/Tenant/Diagnostics/TenantOverview/i18n/index.d.ts +1 -1
  156. package/dist/containers/Tenant/Diagnostics/TopQueries/RunningQueriesData.js +4 -2
  157. package/dist/containers/Tenant/Diagnostics/TopQueries/RunningQueriesData.js.map +1 -1
  158. package/dist/containers/Tenant/Diagnostics/TopQueries/TopQueriesData.js +2 -1
  159. package/dist/containers/Tenant/Diagnostics/TopQueries/TopQueriesData.js.map +1 -1
  160. package/dist/containers/Tenant/Diagnostics/TopShards/TopShards.js +2 -1
  161. package/dist/containers/Tenant/Diagnostics/TopShards/TopShards.js.map +1 -1
  162. package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.js +5 -7
  163. package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.js.map +1 -1
  164. package/dist/containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/SimplifiedPlan.scss +1 -1
  165. package/dist/containers/Tenant/Query/Preview/Preview.js +3 -2
  166. package/dist/containers/Tenant/Query/Preview/Preview.js.map +1 -1
  167. package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.js +1 -4
  168. package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.js.map +1 -1
  169. package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.d.ts +4 -4
  170. package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.js +1 -1
  171. package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.js.map +1 -1
  172. package/dist/containers/Tenants/Tenants.js +10 -2
  173. package/dist/containers/Tenants/Tenants.js.map +1 -1
  174. package/dist/containers/UserSettings/i18n/en.json +0 -2
  175. package/dist/containers/UserSettings/i18n/index.d.ts +1 -1
  176. package/dist/containers/UserSettings/settings.d.ts +0 -1
  177. package/dist/containers/UserSettings/settings.js +2 -7
  178. package/dist/containers/UserSettings/settings.js.map +1 -1
  179. package/dist/containers/VDiskPage/VDiskPage.js +3 -4
  180. package/dist/containers/VDiskPage/VDiskPage.js.map +1 -1
  181. package/dist/services/api.d.ts +3 -4
  182. package/dist/services/api.js +1 -3
  183. package/dist/services/api.js.map +1 -1
  184. package/dist/services/settings.d.ts +1 -2
  185. package/dist/services/settings.js +1 -2
  186. package/dist/services/settings.js.map +1 -1
  187. package/dist/store/reducers/cluster/__test__/parseGroupsStatsQueryResponse.test.js +62 -40
  188. package/dist/store/reducers/cluster/__test__/parseGroupsStatsQueryResponse.test.js.map +1 -1
  189. package/dist/store/reducers/cluster/cluster.js +0 -1
  190. package/dist/store/reducers/cluster/cluster.js.map +1 -1
  191. package/dist/store/reducers/cluster/utils.d.ts +1 -1
  192. package/dist/store/reducers/cluster/utils.js +2 -1
  193. package/dist/store/reducers/cluster/utils.js.map +1 -1
  194. package/dist/store/reducers/executeQuery.d.ts +0 -2
  195. package/dist/store/reducers/executeQuery.js +1 -2
  196. package/dist/store/reducers/executeQuery.js.map +1 -1
  197. package/dist/store/reducers/executeTopQueries/executeTopQueries.d.ts +1 -1
  198. package/dist/store/reducers/executeTopQueries/executeTopQueries.js +4 -4
  199. package/dist/store/reducers/executeTopQueries/executeTopQueries.js.map +1 -1
  200. package/dist/store/reducers/nodes/types.d.ts +2 -7
  201. package/dist/store/reducers/nodes/utils.js +0 -6
  202. package/dist/store/reducers/nodes/utils.js.map +1 -1
  203. package/dist/store/reducers/preview.js +1 -1
  204. package/dist/store/reducers/preview.js.map +1 -1
  205. package/dist/store/reducers/shardsWorkload/shardsWorkload.js +0 -1
  206. package/dist/store/reducers/shardsWorkload/shardsWorkload.js.map +1 -1
  207. package/dist/store/reducers/storage/types.d.ts +6 -7
  208. package/dist/store/reducers/storage/utils.js +23 -9
  209. package/dist/store/reducers/storage/utils.js.map +1 -1
  210. package/dist/store/reducers/tenantOverview/executeTopTables/executeTopTables.js +0 -1
  211. package/dist/store/reducers/tenantOverview/executeTopTables/executeTopTables.js.map +1 -1
  212. package/dist/store/reducers/tenantOverview/topShards/tenantOverviewTopShards.js +0 -1
  213. package/dist/store/reducers/tenantOverview/topShards/tenantOverviewTopShards.js.map +1 -1
  214. package/dist/store/reducers/tenants/types.d.ts +1 -0
  215. package/dist/store/reducers/tenants/utils.js +4 -2
  216. package/dist/store/reducers/tenants/utils.js.map +1 -1
  217. package/dist/store/reducers/viewSchema/viewSchema.js +2 -2
  218. package/dist/store/reducers/viewSchema/viewSchema.js.map +1 -1
  219. package/dist/types/additionalProps.d.ts +1 -1
  220. package/dist/types/api/cluster.d.ts +2 -0
  221. package/dist/types/api/cluster.js +3 -1
  222. package/dist/types/api/cluster.js.map +1 -1
  223. package/dist/types/api/nodes.d.ts +3 -0
  224. package/dist/types/api/nodes.js.map +1 -1
  225. package/dist/types/api/query.d.ts +16 -30
  226. package/dist/types/api/storage.d.ts +2 -2
  227. package/dist/types/store/query.d.ts +0 -1
  228. package/dist/utils/constants.d.ts +0 -1
  229. package/dist/utils/constants.js +0 -2
  230. package/dist/utils/constants.js.map +1 -1
  231. package/dist/utils/disks/__test__/calculateVDiskSeverity.test.js +1 -2
  232. package/dist/utils/disks/__test__/calculateVDiskSeverity.test.js.map +1 -1
  233. package/dist/utils/disks/calculateVDiskSeverity.js +2 -3
  234. package/dist/utils/disks/calculateVDiskSeverity.js.map +1 -1
  235. package/dist/utils/disks/prepareDisks.js +3 -0
  236. package/dist/utils/disks/prepareDisks.js.map +1 -1
  237. package/dist/utils/disks/types.d.ts +1 -0
  238. package/dist/utils/nodes.d.ts +4 -2
  239. package/dist/utils/nodes.js +10 -1
  240. package/dist/utils/nodes.js.map +1 -1
  241. package/dist/utils/query.d.ts +5 -5
  242. package/dist/utils/query.js +7 -22
  243. package/dist/utils/query.js.map +1 -1
  244. package/dist/utils/query.test.js +221 -56
  245. package/dist/utils/query.test.js.map +1 -1
  246. package/dist/utils/storage.d.ts +1 -0
  247. package/dist/utils/storage.js +3 -0
  248. package/dist/utils/storage.js.map +1 -1
  249. package/package.json +1 -1
  250. package/dist/components/PaginatedTable/useIntersectionObserver.d.ts +0 -9
  251. package/dist/components/PaginatedTable/useIntersectionObserver.js +0 -28
  252. package/dist/components/PaginatedTable/useIntersectionObserver.js.map +0 -1
  253. package/dist/containers/Nodes/columns/i18n/index.d.ts +0 -2
  254. package/dist/containers/Nodes/columns/i18n/index.js.map +0 -1
  255. package/dist/containers/Nodes/columns/types.d.ts +0 -9
  256. package/dist/containers/Nodes/columns/types.js.map +0 -1
  257. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/utils.d.ts +0 -2
  258. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/utils.js +0 -7
  259. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/utils.js.map +0 -1
  260. /package/dist/{containers/Nodes/columns → components/nodesColumns}/types.js +0 -0
@@ -15,6 +15,7 @@ import { useTypedDispatch, useTypedSelector } from '../../utils/hooks';
15
15
  import { parseVersionsToVersionToColorMap } from '../../utils/versions';
16
16
  import { NodesWrapper } from '../Nodes/NodesWrapper';
17
17
  import { StorageWrapper } from '../Storage/StorageWrapper';
18
+ import { TabletsTable } from '../Tablets/TabletsTable';
18
19
  import { Tenants } from '../Tenants/Tenants';
19
20
  import { Versions } from '../Versions/Versions';
20
21
  import { ClusterInfo } from './ClusterInfo/ClusterInfo';
@@ -22,6 +23,7 @@ import { clusterTabs, clusterTabsIds, getClusterPath, isClusterTab } from './uti
22
23
  import './Cluster.scss';
23
24
  const b = cn('cluster');
24
25
  export function Cluster({ additionalClusterProps, additionalTenantsProps, additionalNodesProps, additionalVersionsProps, }) {
26
+ var _a;
25
27
  const container = React.useRef(null);
26
28
  const dispatch = useTypedDispatch();
27
29
  const activeTabId = useClusterTab();
@@ -53,7 +55,7 @@ export function Cluster({ additionalClusterProps, additionalTenantsProps, additi
53
55
  return (_jsx(InternalLink, { to: path, onClick: () => {
54
56
  dispatch(updateDefaultClusterTab(id));
55
57
  }, 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 }) }), _jsx(Route, { path: getLocationObjectFromHref(getClusterPath(clusterTabsIds.versions)).pathname, children: _jsx(Versions, { versionToColor: versionToColor }) }), _jsx(Route, { render: () => (_jsx(Redirect, { to: getLocationObjectFromHref(getClusterPath(activeTabId)) })) })] })] }));
58
+ } }) }), _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.tablets)).pathname, children: _jsxs("div", { className: b('tablets'), children: [_jsx("div", { className: b('fake-block') }), _jsx(TabletsTable, { tablets: (_a = cluster.SystemTablets) !== null && _a !== void 0 ? _a : [], className: b('tablets-table') })] }) }), _jsx(Route, { path: getLocationObjectFromHref(getClusterPath(clusterTabsIds.tenants)).pathname, children: _jsx(Tenants, { additionalTenantsProps: additionalTenantsProps }) }), _jsx(Route, { path: getLocationObjectFromHref(getClusterPath(clusterTabsIds.nodes)).pathname, children: _jsx(NodesWrapper, { parentRef: container, additionalNodesProps: additionalNodesProps }) }), _jsx(Route, { path: getLocationObjectFromHref(getClusterPath(clusterTabsIds.storage)).pathname, children: _jsx(StorageWrapper, { parentRef: container }) }), _jsx(Route, { path: getLocationObjectFromHref(getClusterPath(clusterTabsIds.versions)).pathname, children: _jsx(Versions, { versionToColor: versionToColor }) }), _jsx(Route, { render: () => (_jsx(Redirect, { to: getLocationObjectFromHref(getClusterPath(activeTabId)) })) })] })] }));
57
59
  }
58
60
  function useClusterTab() {
59
61
  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,cAA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AG,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"}
@@ -5,6 +5,7 @@ export declare const clusterTabsIds: {
5
5
  readonly nodes: "nodes";
6
6
  readonly storage: "storage";
7
7
  readonly versions: "versions";
8
+ readonly tablets: "tablets";
8
9
  };
9
10
  export type ClusterTab = ValueOf<typeof clusterTabsIds>;
10
11
  export declare const clusterTabs: ({
@@ -22,6 +23,9 @@ export declare const clusterTabs: ({
22
23
  } | {
23
24
  id: "versions";
24
25
  title: string;
26
+ } | {
27
+ id: "tablets";
28
+ title: string;
25
29
  })[];
26
30
  export declare function isClusterTab(tab: any): tab is ClusterTab;
27
31
  export declare const getClusterPath: (activeTab?: ClusterTab, query?: {}) => string;
@@ -5,6 +5,7 @@ export const clusterTabsIds = {
5
5
  nodes: 'nodes',
6
6
  storage: 'storage',
7
7
  versions: 'versions',
8
+ tablets: 'tablets',
8
9
  };
9
10
  const overview = {
10
11
  id: clusterTabsIds.overview,
@@ -26,7 +27,11 @@ const versions = {
26
27
  id: clusterTabsIds.versions,
27
28
  title: 'Versions',
28
29
  };
29
- export const clusterTabs = [overview, tenants, nodes, storage, versions];
30
+ const tablets = {
31
+ id: clusterTabsIds.tablets,
32
+ title: 'Tablets',
33
+ };
34
+ export const clusterTabs = [overview, tenants, nodes, storage, tablets, versions];
30
35
  export function isClusterTab(tab) {
31
36
  return Object.values(clusterTabsIds).includes(tab);
32
37
  }
@@ -1 +1 @@
1
- {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../src/containers/Cluster/utils.tsx"],"names":[],"mappings":"AAAA,OAAO,MAAM,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,MAAM,CAAC,OAAO,EAAE,SAAS,CAAC,CAAC,CAAC,EAAC,SAAS,EAAC,CAAC,CAAC,CAAC,SAAS,EAAE,KAAK,CAAC,CAAC;AAClF,CAAC,CAAC"}
@@ -74,7 +74,7 @@ export function Node(props) {
74
74
  const renderTabContent = () => {
75
75
  switch (activeTabVerified.id) {
76
76
  case STORAGE: {
77
- return (_jsx("div", { className: b('storage'), children: _jsx(StorageWrapper, { nodeId: nodeId, parentContainer: container.current }) }));
77
+ return (_jsx("div", { className: b('storage'), children: _jsx(StorageWrapper, { nodeId: nodeId, parentRef: container }) }));
78
78
  }
79
79
  case TABLETS: {
80
80
  return (_jsx(Tablets, { nodeId: nodeId, database: tenantName, className: b('node-page-wrapper') }));
@@ -1 +1 @@
1
- {"version":3,"file":"Node.js","sourceRoot":"","sources":["../../../src/containers/Node/Node.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,IAAI,EAAC,MAAM,mBAAmB,CAAC;AACvC,OAAO,EAAC,MAAM,EAAC,MAAM,oBAAoB,CAAC;AAC1C,OAAO,EAAC,IAAI,EAAE,WAAW,EAAE,aAAa,EAAC,MAAM,kBAAkB,CAAC;AAElE,OAAO,EAAC,kBAAkB,EAAC,MAAM,wDAAwD,CAAC;AAC1F,OAAO,EAAC,eAAe,EAAC,MAAM,kCAAkC,CAAC;AACjE,OAAO,EAAC,aAAa,EAAC,MAAM,uCAAuC,CAAC;AACpE,OAAO,EAAC,cAAc,EAAC,MAAM,gDAAgD,CAAC;AAC9E,OAAO,EAAC,MAAM,EAAC,MAAM,yBAAyB,CAAC;AAC/C,OAAO,MAAM,EAAE,EAAC,UAAU,EAAE,UAAU,EAAC,MAAM,cAAc,CAAC;AAC5D,OAAO,EACH,qBAAqB,EACrB,qBAAqB,GACxB,MAAM,yCAAyC,CAAC;AACjD,OAAO,EAAC,oBAAoB,EAAC,MAAM,oCAAoC,CAAC;AACxE,OAAO,EAAC,OA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I,EAAC,GAAG,GAAG,CAAC;IAC/B,CAAC;IAED,IAAI,IAAI,EAAE,CAAC;QACP,OAAO,CACH,eAAK,SAAS,EAAE,CAAC,CAAC,IAAI,EAAE,KAAK,CAAC,SAAS,CAAC,EAAE,GAAG,EAAE,SAAS,aACpD,KAAC,MAAM,IACH,aAAa,EAAE,QAAQ,IAAI,CAAC,IAAI,mBAAmB,EACnD,YAAY,EAAE,GAAG,IAAI,CAAC,IAAI,mBAAmB,YAE7C,0BAAQ,iBAAiB,CAAC,KAAK,GAAS,GACnC,EAET,KAAC,eAAe,IACZ,IAAI,EAAE,IAAI,EACV,oBAAoB,EAAE,KAAK,CAAC,oBAAoB,EAChD,SAAS,EAAE,CAAC,CAAC,QAAQ,CAAC,GACxB,EACD,KAAK,CAAC,CAAC,CAAC,KAAC,aAAa,IAAC,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,CAAC,OAAO,CAAC,GAAI,CAAC,CAAC,CAAC,IAAI,EACrE,UAAU,EAAE,EACb,cAAK,SAAS,EAAE,CAAC,CAAC,SAAS,CAAC,YAAG,gBAAgB,EAAE,GAAO,IACtD,CACT,CAAC;IACN,CAAC;IAED,IAAI,KAAK,EAAE,CAAC;QACR,OAAO,KAAC,aAAa,IAAC,KAAK,EAAE,KAAK,GAAI,CAAC;IAC3C,CAAC;IAED,OAAO,cAAK,SAAS,EAAC,OAAO,6BAAmB,CAAC;AACrD,CAAC"}
@@ -13,6 +13,7 @@ import { ResizeableDataTable } from '../../components/ResizeableDataTable/Resize
13
13
  import { Search } from '../../components/Search';
14
14
  import { TableWithControlsLayout } from '../../components/TableWithControlsLayout/TableWithControlsLayout';
15
15
  import { UptimeFilter } from '../../components/UptimeFIlter';
16
+ import { NODES_COLUMNS_WIDTH_LS_KEY } from '../../components/nodesColumns/constants';
16
17
  import { nodesApi } from '../../store/reducers/nodes/nodes';
17
18
  import { filterNodes } from '../../store/reducers/nodes/selectors';
18
19
  import { ProblemFilterValues, changeFilter, selectProblemFilter, } from '../../store/reducers/settings/settings';
@@ -20,7 +21,6 @@ import { cn } from '../../utils/cn';
20
21
  import { DEFAULT_TABLE_SETTINGS } from '../../utils/constants';
21
22
  import { useAutoRefreshInterval, useTableSort, useTypedDispatch, useTypedSelector, } from '../../utils/hooks';
22
23
  import { NodesUptimeFilterValues, isUnavailableNode, nodesUptimeFilterValuesSchema, } from '../../utils/nodes';
23
- import { NODES_COLUMNS_WIDTH_LS_KEY } from './columns/constants';
24
24
  import { useNodesSelectedColumns } from './columns/hooks';
25
25
  import i18n from './i18n';
26
26
  import './Nodes.scss';
@@ -1 +1 @@
1
- {"version":3,"file":"Nodes.js","sourceRoot":"","sources":["../../../src/containers/Nodes/Nodes.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,SAAS,EAAC,MAAM,sDAAsD,CAAC;AAC/E,OAAO,EAAC,gBAAgB,EAAC,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAC,WAAW,EAAE,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAE7D,OAAO,EAAC,aAAa,EAAC,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAC,YAAY,EAAC,MAAM,6BAA6B,CAAC;AACzD,OAAO,EAAC,aAAa,EAAC,MAAM,6CAA6C,CAAC;AAC1E,OAAO,EAAC,aAAa,EAAC,MAAM,uCAAuC,CAAC;AACpE,OAAO,EAAC,YAAY,EAAC,MAAM,+BAA+B,CAAC;AAC3D,OAAO,EAAC,aAAa,EAAC,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAC,mBAAmB,EAAC,MAAM,0DAA0D,CAAC;AAC7F,OAAO,EAAC,MAAM,EAAC,MAAM,yBAAyB,CAAC;AAC/C,OAAO,EAAC,uBAAuB,EAAC,MAAM,kEAAkE,CAAC;AACzG,OAAO,EAAC,YAAY,EAAC,MAAM,+BAA+B,CAAC;AAC3D,OAAO,EAAC,QAAQ,EAAC,MAAM,kCAAk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CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YACrB,IACI,aAAa,KAAK,mBAAmB,CAAC,GAAG;gBACzC,YAAY,KAAK,uBAAuB,CAAC,GAAG,EAC9C,CAAC;gBACC,OAAO,KAAC,YAAY,IAAC,IAAI,EAAC,UAAU,EAAC,KAAK,EAAC,KAAK,GAAG,CAAC;YACxD,CAAC;QACL,CAAC;QAED,OAAO,CACH,KAAC,mBAAmB,IAChB,iBAAiB,EAAE,0BAA0B,EAC7C,IAAI,EAAE,KAAK,IAAI,EAAE,EACjB,OAAO,EAAE,aAAa,EACtB,QAAQ,EAAE,sBAAsB,EAChC,SAAS,EAAE,IAAI,EACf,MAAM,EAAE,UAAU,EAClB,gBAAgB,EAAE,IAAI,CAAC,eAAe,CAAC,EACvC,YAAY,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM,EAAE,EAAC,WAAW,EAAE,iBAAiB,CAAC,GAAG,CAAC,EAAC,CAAC,GACzE,CACL,CAAC;IACN,CAAC,CAAC;IAEF,IAAI,aAAa,CAAC,KAAK,CAAC,EAAE,CAAC;QACvB,OAAO,KAAC,YAAY,KAAG,CAAC;IAC5B,CAAC;IAED,OAAO,CACH,MAAC,uBAAuB,eACpB,KAAC,uBAAuB,CAAC,QAAQ,cAAE,cAAc,EAAE,GAAoC,EACtF,KAAK,CAAC,CAAC,CAAC,KAAC,aAAa,IAAC,KAAK,EAAE,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,EAC/C,KAAC,uBAAuB,CAAC,KAAK,IAAC,OAAO,EAAE,SAAS,YAC5C,IAAI,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC,CAAC,CAAC,IAAI,GACA,IACV,CAC7B,CAAC;AACN,CAAC,CAAC"}
@@ -2,8 +2,8 @@ import type { AdditionalNodesProps } from '../../types/additionalProps';
2
2
  interface NodesWrapperProps {
3
3
  path?: string;
4
4
  database?: string;
5
- parentContainer?: Element | null;
5
+ parentRef?: React.RefObject<HTMLElement>;
6
6
  additionalNodesProps?: AdditionalNodesProps;
7
7
  }
8
- export declare const NodesWrapper: ({ parentContainer, ...props }: NodesWrapperProps) => import("react/jsx-runtime").JSX.Element;
8
+ export declare const NodesWrapper: ({ parentRef, ...props }: NodesWrapperProps) => import("react/jsx-runtime").JSX.Element;
9
9
  export {};
@@ -3,10 +3,10 @@ import { USE_PAGINATED_TABLES_KEY } from '../../utils/constants';
3
3
  import { useSetting } from '../../utils/hooks';
4
4
  import { Nodes } from './Nodes';
5
5
  import { PaginatedNodes } from './PaginatedNodes';
6
- export const NodesWrapper = ({ parentContainer, ...props }) => {
6
+ export const NodesWrapper = ({ parentRef, ...props }) => {
7
7
  const [usePaginatedTables] = useSetting(USE_PAGINATED_TABLES_KEY);
8
8
  if (usePaginatedTables) {
9
- return _jsx(PaginatedNodes, { parentContainer: parentContainer, ...props });
9
+ return _jsx(PaginatedNodes, { parentRef: parentRef, ...props });
10
10
  }
11
11
  return _jsx(Nodes, { ...props });
12
12
  };
@@ -1 +1 @@
1
- {"version":3,"file":"NodesWrapper.js","sourceRoot":"","sources":["../../../src/containers/Nodes/NodesWrapper.tsx"],"names":[],"mappings":";AACA,OAAO,EAAC,wBAAwB,EAAC,MAAM,uBAAuB,CAAC;AAC/D,OAAO,EAAC,UAAU,EAAC,MAAM,mBAAmB,CAAC;AAE7C,OAAO,EAAC,KAAK,EAAC,MAAM,SAAS,CAAC;AAC9B,OAAO,EAAC,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAShD,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,EAAC,eAAe,EAAE,GAAG,KAAK,EAAoB,EAAE,EAAE;IAC3E,MAAM,CAAC,kBAAkB,CAAC,GAAG,UAAU,CAAU,wBAAwB,CAAC,CAAC;IAE3E,IAAI,kBAAkB,EAAE,CAAC;QACrB,OAAO,KAAC,cAAc,IAAC,eAAe,EAAE,eAAe,KAAM,KAAK,GAAI,CAAC;IAC3E,CAAC;IAED,OAAO,KAAC,KAAK,OAAK,KAAK,GAAI,CAAC;AAChC,CAAC,CAAC"}
1
+ {"version":3,"file":"NodesWrapper.js","sourceRoot":"","sources":["../../../src/containers/Nodes/NodesWrapper.tsx"],"names":[],"mappings":";AACA,OAAO,EAAC,wBAAwB,EAAC,MAAM,uBAAuB,CAAC;AAC/D,OAAO,EAAC,UAAU,EAAC,MAAM,mBAAmB,CAAC;AAE7C,OAAO,EAAC,KAAK,EAAC,MAAM,SAAS,CAAC;AAC9B,OAAO,EAAC,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAShD,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,EAAC,SAAS,EAAE,GAAG,KAAK,EAAoB,EAAE,EAAE;IACrE,MAAM,CAAC,kBAAkB,CAAC,GAAG,UAAU,CAAU,wBAAwB,CAAC,CAAC;IAE3E,IAAI,kBAAkB,EAAE,CAAC;QACrB,OAAO,KAAC,cAAc,IAAC,SAAS,EAAE,SAAS,KAAM,KAAK,GAAI,CAAC;IAC/D,CAAC;IAED,OAAO,KAAC,KAAK,OAAK,KAAK,GAAI,CAAC;AAChC,CAAC,CAAC"}
@@ -1,10 +1,11 @@
1
+ import React from 'react';
1
2
  import type { AdditionalNodesProps } from '../../types/additionalProps';
2
3
  import './Nodes.scss';
3
4
  interface NodesProps {
4
5
  path?: string;
5
6
  database?: string;
6
- parentContainer?: Element | null;
7
+ parentRef?: React.RefObject<HTMLElement>;
7
8
  additionalNodesProps?: AdditionalNodesProps;
8
9
  }
9
- export declare const PaginatedNodes: ({ path, database, parentContainer, additionalNodesProps, }: NodesProps) => import("react/jsx-runtime").JSX.Element;
10
+ export declare const PaginatedNodes: ({ path, database, parentRef, additionalNodesProps }: NodesProps) => import("react/jsx-runtime").JSX.Element;
10
11
  export {};
@@ -10,17 +10,17 @@ import { ResizeablePaginatedTable } from '../../components/PaginatedTable';
10
10
  import { ProblemFilter } from '../../components/ProblemFilter';
11
11
  import { Search } from '../../components/Search';
12
12
  import { UptimeFilter } from '../../components/UptimeFIlter';
13
+ import { NODES_COLUMNS_WIDTH_LS_KEY } from '../../components/nodesColumns/constants';
13
14
  import { ProblemFilterValues, changeFilter, selectProblemFilter, } from '../../store/reducers/settings/settings';
14
15
  import { cn } from '../../utils/cn';
15
16
  import { useTypedDispatch, useTypedSelector } from '../../utils/hooks';
16
17
  import { NodesUptimeFilterValues, isUnavailableNode, nodesUptimeFilterValuesSchema, } from '../../utils/nodes';
17
- import { NODES_COLUMNS_WIDTH_LS_KEY } from './columns/constants';
18
18
  import { useNodesSelectedColumns } from './columns/hooks';
19
19
  import { getNodes } from './getNodes';
20
20
  import i18n from './i18n';
21
21
  import './Nodes.scss';
22
22
  const b = cn('ydb-nodes');
23
- export const PaginatedNodes = ({ path, database, parentContainer, additionalNodesProps, }) => {
23
+ export const PaginatedNodes = ({ path, database, parentRef, additionalNodesProps }) => {
24
24
  var _a;
25
25
  const [queryParams, setQueryParams] = useQueryParams({
26
26
  uptimeFilter: StringParam,
@@ -65,6 +65,6 @@ export const PaginatedNodes = ({ path, database, parentContainer, additionalNode
65
65
  }
66
66
  return _jsx(ResponseError, { error: error });
67
67
  };
68
- return (_jsx(ResizeablePaginatedTable, { columnsWidthLSKey: NODES_COLUMNS_WIDTH_LS_KEY, parentContainer: parentContainer, columns: columnsToShow, fetchData: getNodes, limit: 50, renderControls: renderControls, renderErrorMessage: renderErrorMessage, renderEmptyDataMessage: renderEmptyDataMessage, getRowClassName: getRowClassName, filters: tableFilters, tableName: "nodes" }));
68
+ return (_jsx(ResizeablePaginatedTable, { columnsWidthLSKey: NODES_COLUMNS_WIDTH_LS_KEY, parentRef: parentRef, columns: columnsToShow, fetchData: getNodes, limit: 50, renderControls: renderControls, renderErrorMessage: renderErrorMessage, renderEmptyDataMessage: renderEmptyDataMessage, getRowClassName: getRowClassName, filters: tableFilters, tableName: "nodes" }));
69
69
  };
70
70
  //# sourceMappingURL=PaginatedNodes.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"PaginatedNodes.js","sourceRo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AC,CAAC"}
@@ -1,8 +1,3 @@
1
- import type { Column as DataTableColumn } from '@gravity-ui/react-data-table';
1
+ import type { Column, GetNodesColumnsParams } from '../../../components/nodesColumns/types';
2
2
  import type { NodesPreparedEntity } from '../../../store/reducers/nodes/types';
3
- import type { GetNodeRefFunc } from '../../../types/additionalProps';
4
- import type { GetNodesColumnsProps, NodesColumn } from './types';
5
- export declare function getNodesColumns({ database, getNodeRef }: GetNodesColumnsProps): NodesColumn[];
6
- export declare function getTopNodesByLoadColumns(getNodeRef?: GetNodeRefFunc): DataTableColumn<NodesPreparedEntity>[];
7
- export declare function getTopNodesByCpuColumns(getNodeRef?: GetNodeRefFunc): DataTableColumn<NodesPreparedEntity>[];
8
- export declare function getTopNodesByMemoryColumns({ database, getNodeRef, }: GetNodesColumnsProps): NodesColumn[];
3
+ export declare function getNodesColumns(params: GetNodesColumnsParams): Column<NodesPreparedEntity>[];
@@ -1,195 +1,21 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import DataTable from '@gravity-ui/react-data-table';
3
- import { CellWithPopover } from '../../../components/CellWithPopover/CellWithPopover';
4
- import { NodeHostWrapper } from '../../../components/NodeHostWrapper/NodeHostWrapper';
5
- import { PoolsGraph } from '../../../components/PoolsGraph/PoolsGraph';
6
- import { ProgressViewer } from '../../../components/ProgressViewer/ProgressViewer';
7
- import { TabletsStatistic } from '../../../components/TabletsStatistic';
8
- import { UsageLabel } from '../../../components/UsageLabel/UsageLabel';
9
- import { getLoadSeverityForNode } from '../../../store/reducers/nodes/utils';
10
- import { EMPTY_DATA_PLACEHOLDER } from '../../../utils/constants';
11
- import { formatStorageValuesToGb } from '../../../utils/dataFormatters/dataFormatters';
1
+ import { getCpuColumn, getDataCenterColumn, getHostColumn, getLoadAverageColumn, getMemoryColumn, getNodeIdColumn, getNodeNameColumn, getRackColumn, getTabletsColumn, getUptimeColumn, getVersionColumn, } from '../../../components/nodesColumns/columns';
12
2
  import { isSortableNodesProperty } from '../../../utils/nodes';
13
- import { NODES_COLUMNS_IDS, NODES_COLUMNS_TITLES } from './constants';
14
- const nodeIdColumn = {
15
- name: NODES_COLUMNS_IDS.NodeId,
16
- header: '#',
17
- width: 80,
18
- render: ({ row }) => row.NodeId,
19
- align: DataTable.RIGHT,
20
- sortable: false,
21
- };
22
- const getHostColumn = (getNodeRef, database) => ({
23
- name: NODES_COLUMNS_IDS.Host,
24
- header: NODES_COLUMNS_TITLES.Host,
25
- render: ({ row }) => {
26
- return _jsx(NodeHostWrapper, { node: row, getNodeRef: getNodeRef, database: database });
27
- },
28
- width: 350,
29
- align: DataTable.LEFT,
30
- sortable: false,
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
- };
39
- const getHostColumnWithUndefinedWidth = (getNodeRef) => {
40
- return { ...getHostColumn(getNodeRef), width: undefined };
41
- };
42
- const dataCenterColumn = {
43
- name: NODES_COLUMNS_IDS.DC,
44
- header: NODES_COLUMNS_TITLES.DC,
45
- align: DataTable.LEFT,
46
- render: ({ row }) => row.DC || EMPTY_DATA_PLACEHOLDER,
47
- width: 60,
48
- };
49
- const rackColumn = {
50
- name: NODES_COLUMNS_IDS.Rack,
51
- header: NODES_COLUMNS_TITLES.Rack,
52
- align: DataTable.LEFT,
53
- render: ({ row }) => (row.Rack ? row.Rack : '—'),
54
- width: 80,
55
- };
56
- const versionColumn = {
57
- name: NODES_COLUMNS_IDS.Version,
58
- header: NODES_COLUMNS_TITLES.Version,
59
- width: 200,
60
- align: DataTable.LEFT,
61
- render: ({ row }) => {
62
- return _jsx(CellWithPopover, { content: row.Version, children: row.Version });
63
- },
64
- sortable: false,
65
- };
66
- const uptimeColumn = {
67
- name: NODES_COLUMNS_IDS.Uptime,
68
- header: NODES_COLUMNS_TITLES.Uptime,
69
- sortAccessor: ({ StartTime }) => StartTime && -StartTime,
70
- render: ({ row }) => row.Uptime,
71
- align: DataTable.RIGHT,
72
- width: 110,
73
- sortable: false,
74
- };
75
- const memoryColumn = {
76
- name: NODES_COLUMNS_IDS.Memory,
77
- header: NODES_COLUMNS_TITLES.Memory,
78
- sortAccessor: ({ MemoryUsed = 0 }) => Number(MemoryUsed),
79
- defaultOrder: DataTable.DESCENDING,
80
- render: ({ row }) => (_jsx(ProgressViewer, { value: row.MemoryUsed, capacity: row.MemoryLimit, formatValues: formatStorageValuesToGb, colorizeProgress: true })),
81
- align: DataTable.RIGHT,
82
- width: 120,
83
- };
84
- const cpuColumn = {
85
- name: NODES_COLUMNS_IDS.CPU,
86
- header: NODES_COLUMNS_TITLES.CPU,
87
- sortAccessor: ({ PoolStats = [] }) => Math.max(...PoolStats.map(({ Usage }) => Number(Usage))),
88
- defaultOrder: DataTable.DESCENDING,
89
- render: ({ row }) => (row.PoolStats ? _jsx(PoolsGraph, { pools: row.PoolStats }) : '—'),
90
- align: DataTable.LEFT,
91
- width: 80,
92
- resizeMinWidth: 60,
93
- sortable: false,
94
- };
95
- const loadAverageColumn = {
96
- name: NODES_COLUMNS_IDS.LoadAverage,
97
- header: NODES_COLUMNS_TITLES.LoadAverage,
98
- sortAccessor: ({ LoadAveragePercents = [] }) => LoadAveragePercents[0],
99
- defaultOrder: DataTable.DESCENDING,
100
- render: ({ row }) => (_jsx(ProgressViewer, { value: row.LoadAveragePercents && row.LoadAveragePercents.length > 0
101
- ? row.LoadAveragePercents[0]
102
- : undefined, percents: true, colorizeProgress: true, capacity: 100 })),
103
- align: DataTable.LEFT,
104
- width: 140,
105
- resizeMinWidth: 140,
106
- sortable: false,
107
- };
108
- const getTabletsColumn = (tabletsPath) => ({
109
- name: NODES_COLUMNS_IDS.Tablets,
110
- header: NODES_COLUMNS_TITLES.Tablets,
111
- width: 500,
112
- resizeMinWidth: 500,
113
- render: ({ row }) => {
114
- return row.Tablets ? (_jsx(TabletsStatistic, { path: tabletsPath !== null && tabletsPath !== void 0 ? tabletsPath : row.TenantName, nodeId: row.NodeId, tablets: row.Tablets })) : ('—');
115
- },
116
- align: DataTable.LEFT,
117
- sortable: false,
118
- });
119
- const topNodesLoadAverageColumn = {
120
- name: NODES_COLUMNS_IDS.TopNodesLoadAverage,
121
- header: NODES_COLUMNS_TITLES.TopNodesLoadAverage,
122
- render: ({ row }) => row.LoadAveragePercents && row.LoadAveragePercents.length > 0 ? (_jsx(UsageLabel, { value: row.LoadAveragePercents[0].toFixed(), theme: getLoadSeverityForNode(row.LoadAveragePercents[0]) })) : ('—'),
123
- align: DataTable.LEFT,
124
- width: 80,
125
- resizeMinWidth: 70,
126
- sortable: false,
127
- };
128
- const topNodesMemoryColumn = {
129
- name: NODES_COLUMNS_IDS.TopNodesMemory,
130
- header: NODES_COLUMNS_TITLES.TopNodesMemory,
131
- render: ({ row }) => (_jsx(ProgressViewer, { value: row.MemoryUsed, capacity: row.MemoryLimit, formatValues: formatStorageValuesToGb, colorizeProgress: true })),
132
- align: DataTable.LEFT,
133
- width: 140,
134
- resizeMinWidth: 140,
135
- sortable: false,
136
- };
137
- const sharedCacheUsageColumn = {
138
- name: NODES_COLUMNS_IDS.SharedCacheUsage,
139
- header: NODES_COLUMNS_TITLES.SharedCacheUsage,
140
- render: ({ row }) => (_jsx(ProgressViewer, { value: row.SharedCacheUsed, capacity: row.SharedCacheLimit, formatValues: formatStorageValuesToGb, colorizeProgress: true })),
141
- align: DataTable.LEFT,
142
- width: 140,
143
- resizeMinWidth: 140,
144
- sortable: false,
145
- };
146
- const sessionsColumn = {
147
- name: NODES_COLUMNS_IDS.TotalSessions,
148
- header: NODES_COLUMNS_TITLES.TotalSessions,
149
- render: ({ row }) => { var _a; return (_a = row.TotalSessions) !== null && _a !== void 0 ? _a : '—'; },
150
- align: DataTable.RIGHT,
151
- width: 100,
152
- sortable: false,
153
- };
154
- export function getNodesColumns({ database, getNodeRef }) {
3
+ export function getNodesColumns(params) {
155
4
  const columns = [
156
- nodeIdColumn,
157
- getHostColumn(getNodeRef, database),
158
- nodeNameColumn,
159
- dataCenterColumn,
160
- rackColumn,
161
- versionColumn,
162
- uptimeColumn,
163
- memoryColumn,
164
- cpuColumn,
165
- loadAverageColumn,
166
- getTabletsColumn(database),
5
+ getNodeIdColumn(),
6
+ getHostColumn(params),
7
+ getNodeNameColumn(),
8
+ getDataCenterColumn(),
9
+ getRackColumn(),
10
+ getVersionColumn(),
11
+ getUptimeColumn(),
12
+ getMemoryColumn(),
13
+ getCpuColumn(),
14
+ getLoadAverageColumn(),
15
+ getTabletsColumn(params),
167
16
  ];
168
17
  return columns.map((column) => {
169
18
  return { ...column, sortable: isSortableNodesProperty(column.name) };
170
19
  });
171
20
  }
172
- export function getTopNodesByLoadColumns(getNodeRef) {
173
- return [
174
- topNodesLoadAverageColumn,
175
- nodeIdColumn,
176
- getHostColumnWithUndefinedWidth(getNodeRef),
177
- versionColumn,
178
- ];
179
- }
180
- export function getTopNodesByCpuColumns(getNodeRef) {
181
- return [cpuColumn, nodeIdColumn, getHostColumnWithUndefinedWidth(getNodeRef)];
182
- }
183
- export function getTopNodesByMemoryColumns({ database, getNodeRef, }) {
184
- return [
185
- nodeIdColumn,
186
- getHostColumn(getNodeRef, database),
187
- uptimeColumn,
188
- topNodesLoadAverageColumn,
189
- topNodesMemoryColumn,
190
- sharedCacheUsageColumn,
191
- sessionsColumn,
192
- getTabletsColumn(database),
193
- ];
194
- }
195
21
  //# sourceMappingURL=columns.js.map
@@ -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,E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AAC;IAEF,OAAO,OAAO,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE;QAC1B,OAAO,EAAC,GAAG,MAAM,EAAE,QAAQ,EAAE,uBAAuB,CAAC,MAAM,CAAC,IAAI,CAAC,EAAC,CAAC;IACvE,CAAC,CAAC,CAAC;AACP,CAAC;AAED,MAAM,UAAU,wBAAwB,CACpC,UAA2B;IAE3B,OAAO;QACH,yBAAyB;QACzB,YAAY;QACZ,+BAA+B,CAAC,UAAU,CAAC;QAC3C,aAAa;KAChB,CAAC;AACN,CAAC;AAED,MAAM,UAAU,uBAAuB,CACnC,UAA2B;IAE3B,OAAO,CAAC,SAAS,EAAE,YAAY,EAAE,+BAA+B,CAAC,UAAU,CAAC,CAAC,CAAC;AAClF,CAAC;AAED,MAAM,UAAU,0BAA0B,CAAC,EACvC,QAAQ,EACR,UAAU,GACS;IACnB,OAAO;QACH,YAAY;QACZ,aAAa,CAAC,UAAU,EAAE,QAAQ,CAAC;QACnC,YAAY;QACZ,yBAAyB;QACzB,oBAAoB;QACpB,sBAAsB;QACtB,cAAc;QACd,gBAAgB,CAAC,QAAQ,CAAC;KAC7B,CAAC;AACN,CAAC"}
1
+ {"version":3,"file":"columns.js","sourceRoot":"","sources":["../../../../src/containers/Nodes/columns/columns.tsx"],"names":[],"mappings":"AAAA,OAAO,EACH,YAAY,EACZ,mBAAmB,EACnB,aAAa,EACb,oBAAoB,EACpB,eAAe,EACf,eAAe,EACf,iBAAiB,EACjB,aAAa,EACb,gBAAgB,EAChB,eAAe,EACf,gBAAgB,GACnB,MAAM,0CAA0C,CAAC;AAGlD,OAAO,EAAC,uBAAuB,EAAC,MAAM,sBAAsB,CAAC;AAE7D,MAAM,UAAU,eAAe,CAAC,MAA6B;IACzD,MAAM,OAAO,GAAG;QACZ,eAAe,EAAuB;QACtC,aAAa,CAAsB,MAAM,CAAC;QAC1C,iBAAiB,EAAuB;QACxC,mBAAmB,EAAuB;QAC1C,aAAa,EAAuB;QACpC,gBAAgB,EAAuB;QACvC,eAAe,EAAuB;QACtC,eAAe,EAAuB;QACtC,YAAY,EAAuB;QACnC,oBAAoB,EAAuB;QAC3C,gBAAgB,CAAsB,MAAM,CAAC;KAChD,CAAC;IAEF,OAAO,OAAO,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE;QAC1B,OAAO,EAAC,GAAG,MAAM,EAAE,QAAQ,EAAE,uBAAuB,CAAC,MAAM,CAAC,IAAI,CAAC,EAAC,CAAC;IACvE,CAAC,CAAC,CAAC;AACP,CAAC"}
@@ -1,41 +1,4 @@
1
- import type { ValueOf } from '../../../types/common';
2
- export declare const NODES_COLUMNS_WIDTH_LS_KEY = "nodesTableColumnsWidth";
1
+ import type { NodesColumnId } from '../../../components/nodesColumns/constants';
3
2
  export declare const NODES_TABLE_SELECTED_COLUMNS_LS_KEY = "nodesTableSelectedColumns";
4
- export declare const NODES_COLUMNS_IDS: {
5
- readonly NodeId: "NodeId";
6
- readonly Host: "Host";
7
- readonly NodeName: "NodeName";
8
- readonly DC: "DC";
9
- readonly Rack: "Rack";
10
- readonly Version: "Version";
11
- readonly Uptime: "Uptime";
12
- readonly Memory: "Memory";
13
- readonly CPU: "CPU";
14
- readonly LoadAverage: "LoadAverage";
15
- readonly Tablets: "Tablets";
16
- readonly TopNodesLoadAverage: "TopNodesLoadAverage";
17
- readonly TopNodesMemory: "TopNodesMemory";
18
- readonly SharedCacheUsage: "SharedCacheUsage";
19
- readonly TotalSessions: "TotalSessions";
20
- };
21
- type NodesColumnId = ValueOf<typeof NODES_COLUMNS_IDS>;
22
3
  export declare const DEFAULT_NODES_COLUMNS: NodesColumnId[];
23
4
  export declare const REQUIRED_NODES_COLUMNS: NodesColumnId[];
24
- export declare const NODES_COLUMNS_TITLES: {
25
- readonly NodeId: string;
26
- readonly Host: string;
27
- readonly NodeName: string;
28
- readonly DC: string;
29
- readonly Rack: string;
30
- readonly Version: string;
31
- readonly Uptime: string;
32
- readonly Memory: string;
33
- readonly CPU: string;
34
- readonly LoadAverage: string;
35
- readonly Tablets: string;
36
- readonly TopNodesLoadAverage: string;
37
- readonly TopNodesMemory: string;
38
- readonly SharedCacheUsage: string;
39
- readonly TotalSessions: string;
40
- };
41
- export {};