ydb-embedded-ui 6.21.0 → 6.23.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (459) hide show
  1. package/dist/components/AutoRefreshControl/i18n/index.d.ts +1 -1
  2. package/dist/components/DiskStateProgressBar/DiskStateProgressBar.d.ts +2 -1
  3. package/dist/components/DiskStateProgressBar/DiskStateProgressBar.js +2 -2
  4. package/dist/components/DiskStateProgressBar/DiskStateProgressBar.js.map +1 -1
  5. package/dist/components/DiskStateProgressBar/DiskStateProgressBar.scss +4 -0
  6. package/dist/components/GroupInfo/i18n/index.d.ts +1 -1
  7. package/dist/components/PDiskInfo/PDiskInfo.js +1 -3
  8. package/dist/components/PDiskInfo/PDiskInfo.js.map +1 -1
  9. package/dist/components/PDiskInfo/i18n/index.d.ts +1 -1
  10. package/dist/components/PDiskPopup/PDiskPopup.d.ts +2 -4
  11. package/dist/components/PDiskPopup/PDiskPopup.js +10 -5
  12. package/dist/components/PDiskPopup/PDiskPopup.js.map +1 -1
  13. package/dist/components/PaginatedTable/PaginatedTable.d.ts +2 -1
  14. package/dist/components/PaginatedTable/PaginatedTable.js +9 -7
  15. package/dist/components/PaginatedTable/PaginatedTable.js.map +1 -1
  16. package/dist/components/PaginatedTable/TableChunk.d.ts +2 -1
  17. package/dist/components/PaginatedTable/TableChunk.js +5 -2
  18. package/dist/components/PaginatedTable/TableChunk.js.map +1 -1
  19. package/dist/components/QueryResultTable/Cell/Cell.js +1 -4
  20. package/dist/components/QueryResultTable/Cell/Cell.js.map +1 -1
  21. package/dist/components/QueryResultTable/QueryResultTable.js +11 -16
  22. package/dist/components/QueryResultTable/QueryResultTable.js.map +1 -1
  23. package/dist/components/QueryResultTable/utils/getColumnWidth.d.ts +7 -0
  24. package/dist/components/QueryResultTable/utils/getColumnWidth.js +16 -0
  25. package/dist/components/QueryResultTable/utils/getColumnWidth.js.map +1 -0
  26. package/dist/components/QueryResultTable/utils/getColumnWidth.test.d.ts +1 -0
  27. package/dist/components/QueryResultTable/utils/getColumnWidth.test.js +32 -0
  28. package/dist/components/QueryResultTable/utils/getColumnWidth.test.js.map +1 -0
  29. package/dist/components/StorageGroupInfo/StorageGroupInfo.js +7 -7
  30. package/dist/components/StorageGroupInfo/StorageGroupInfo.js.map +1 -1
  31. package/dist/components/StorageGroupInfo/i18n/index.d.ts +1 -1
  32. package/dist/components/TableSkeleton/TableSkeleton.d.ts +2 -1
  33. package/dist/components/TableSkeleton/TableSkeleton.js +5 -1
  34. package/dist/components/TableSkeleton/TableSkeleton.js.map +1 -1
  35. package/dist/components/TableSkeleton/TableSkeleton.scss +7 -1
  36. package/dist/components/VDisk/VDisk.d.ts +2 -3
  37. package/dist/components/VDisk/VDisk.js +2 -2
  38. package/dist/components/VDisk/VDisk.js.map +1 -1
  39. package/dist/components/VDiskInfo/VDiskInfo.js +1 -3
  40. package/dist/components/VDiskInfo/VDiskInfo.js.map +1 -1
  41. package/dist/components/VDiskInfo/i18n/index.d.ts +1 -1
  42. package/dist/components/VDiskPopup/VDiskPopup.d.ts +1 -3
  43. package/dist/components/VDiskPopup/VDiskPopup.js +7 -2
  44. package/dist/components/VDiskPopup/VDiskPopup.js.map +1 -1
  45. package/dist/containers/App/App.scss +1 -1
  46. package/dist/containers/Cluster/Cluster.js +1 -1
  47. package/dist/containers/Cluster/Cluster.js.map +1 -1
  48. package/dist/containers/Cluster/Cluster.scss +2 -3
  49. package/dist/containers/Cluster/i18n/index.d.ts +1 -1
  50. package/dist/containers/Clusters/Clusters.js +3 -3
  51. package/dist/containers/Clusters/Clusters.js.map +1 -1
  52. package/dist/containers/Clusters/columns.js +2 -2
  53. package/dist/containers/Clusters/columns.js.map +1 -1
  54. package/dist/containers/Clusters/constants.d.ts +4 -4
  55. package/dist/containers/Clusters/constants.js +3 -3
  56. package/dist/containers/Clusters/constants.js.map +1 -1
  57. package/dist/containers/Header/breadcrumbs.js +2 -3
  58. package/dist/containers/Header/breadcrumbs.js.map +1 -1
  59. package/dist/containers/Node/Node.js +14 -4
  60. package/dist/containers/Node/Node.js.map +1 -1
  61. package/dist/containers/Node/NodePages.js +4 -5
  62. package/dist/containers/Node/NodePages.js.map +1 -1
  63. package/dist/containers/Nodes/Nodes.js +10 -11
  64. package/dist/containers/Nodes/Nodes.js.map +1 -1
  65. package/dist/containers/Nodes/PaginatedNodes.js +10 -11
  66. package/dist/containers/Nodes/PaginatedNodes.js.map +1 -1
  67. package/dist/containers/Nodes/{getNodesColumns.d.ts → columns/columns.d.ts} +3 -10
  68. package/dist/containers/Nodes/{getNodesColumns.js → columns/columns.js} +37 -39
  69. package/dist/containers/Nodes/columns/columns.js.map +1 -0
  70. package/dist/containers/Nodes/columns/constants.d.ts +41 -0
  71. package/dist/containers/Nodes/columns/constants.js +83 -0
  72. package/dist/containers/Nodes/columns/constants.js.map +1 -0
  73. package/dist/containers/Nodes/columns/hooks.d.ts +6 -0
  74. package/dist/containers/Nodes/columns/hooks.js +11 -0
  75. package/dist/containers/Nodes/columns/hooks.js.map +1 -0
  76. package/dist/containers/Nodes/columns/i18n/en.json +17 -0
  77. package/dist/containers/Nodes/columns/i18n/index.d.ts +2 -0
  78. package/dist/containers/Nodes/columns/i18n/index.js +5 -0
  79. package/dist/containers/Nodes/columns/i18n/index.js.map +1 -0
  80. package/dist/containers/Nodes/columns/types.d.ts +9 -0
  81. package/dist/containers/Nodes/columns/types.js +2 -0
  82. package/dist/containers/Nodes/columns/types.js.map +1 -0
  83. package/dist/containers/Nodes/getNodes.d.ts +3 -2
  84. package/dist/containers/Nodes/getNodes.js +6 -3
  85. package/dist/containers/Nodes/getNodes.js.map +1 -1
  86. package/dist/containers/PDiskPage/PDiskPage.js +12 -10
  87. package/dist/containers/PDiskPage/PDiskPage.js.map +1 -1
  88. package/dist/containers/PDiskPage/PDiskPage.scss +14 -14
  89. package/dist/containers/PDiskPage/i18n/en.json +1 -1
  90. package/dist/containers/PDiskPage/i18n/index.d.ts +1 -1
  91. package/dist/containers/ReduxTooltip/ReduxTooltip.js +7 -7
  92. package/dist/containers/ReduxTooltip/ReduxTooltip.js.map +1 -1
  93. package/dist/containers/Storage/Disks/Disks.d.ts +3 -3
  94. package/dist/containers/Storage/Disks/Disks.js +6 -7
  95. package/dist/containers/Storage/Disks/Disks.js.map +1 -1
  96. package/dist/containers/Storage/PDisk/PDisk.d.ts +5 -4
  97. package/dist/containers/Storage/PDisk/PDisk.js +3 -2
  98. package/dist/containers/Storage/PDisk/PDisk.js.map +1 -1
  99. package/dist/containers/Storage/PDisk/PDisk.scss +1 -1
  100. package/dist/containers/Storage/PaginatedStorage.d.ts +5 -6
  101. package/dist/containers/Storage/PaginatedStorage.js +9 -54
  102. package/dist/containers/Storage/PaginatedStorage.js.map +1 -1
  103. package/dist/containers/Storage/PaginatedStorageGroups.d.ts +3 -0
  104. package/dist/containers/Storage/PaginatedStorageGroups.js +84 -0
  105. package/dist/containers/Storage/PaginatedStorageGroups.js.map +1 -0
  106. package/dist/containers/Storage/PaginatedStorageNodes.d.ts +3 -0
  107. package/dist/containers/Storage/PaginatedStorageNodes.js +98 -0
  108. package/dist/containers/Storage/PaginatedStorageNodes.js.map +1 -0
  109. package/dist/containers/Storage/Storage.d.ts +4 -4
  110. package/dist/containers/Storage/Storage.js +46 -67
  111. package/dist/containers/Storage/Storage.js.map +1 -1
  112. package/dist/containers/Storage/Storage.scss +4 -0
  113. package/dist/containers/Storage/StorageControls/StorageControls.d.ts +6 -16
  114. package/dist/containers/Storage/StorageControls/StorageControls.js +18 -9
  115. package/dist/containers/Storage/StorageControls/StorageControls.js.map +1 -1
  116. package/dist/containers/Storage/StorageGroups/PaginatedStorageGroupsTable.d.ts +22 -0
  117. package/dist/containers/Storage/StorageGroups/{PaginatedStorageGroups.js → PaginatedStorageGroupsTable.js} +24 -8
  118. package/dist/containers/Storage/StorageGroups/PaginatedStorageGroupsTable.js.map +1 -0
  119. package/dist/containers/Storage/StorageGroups/StorageGroupsTable.d.ts +14 -0
  120. package/dist/containers/Storage/StorageGroups/{StorageGroups.js → StorageGroupsTable.js} +5 -6
  121. package/dist/containers/Storage/StorageGroups/StorageGroupsTable.js.map +1 -0
  122. package/dist/containers/Storage/StorageGroups/columns/columns.d.ts +4 -0
  123. package/dist/containers/Storage/StorageGroups/columns/{getStorageGroupsColumns.js → columns.js} +66 -89
  124. package/dist/containers/Storage/StorageGroups/columns/columns.js.map +1 -0
  125. package/dist/containers/Storage/StorageGroups/columns/constants.d.ts +54 -0
  126. package/dist/containers/Storage/StorageGroups/columns/constants.js +120 -0
  127. package/dist/containers/Storage/StorageGroups/columns/constants.js.map +1 -0
  128. package/dist/containers/Storage/StorageGroups/columns/hooks.d.ts +7 -3
  129. package/dist/containers/Storage/StorageGroups/columns/hooks.js +21 -16
  130. package/dist/containers/Storage/StorageGroups/columns/hooks.js.map +1 -1
  131. package/dist/containers/Storage/StorageGroups/columns/i18n/en.json +21 -0
  132. package/dist/containers/Storage/StorageGroups/columns/i18n/index.d.ts +2 -0
  133. package/dist/containers/Storage/StorageGroups/columns/i18n/index.js +5 -0
  134. package/dist/containers/Storage/StorageGroups/columns/i18n/index.js.map +1 -0
  135. package/dist/containers/Storage/StorageGroups/columns/types.d.ts +5 -7
  136. package/dist/containers/Storage/StorageGroups/getGroups.js +10 -6
  137. package/dist/containers/Storage/StorageGroups/getGroups.js.map +1 -1
  138. package/dist/containers/Storage/StorageNodes/PaginatedStorageNodesTable.d.ts +23 -0
  139. package/dist/containers/Storage/StorageNodes/{PaginatedStorageNodes.js → PaginatedStorageNodesTable.js} +24 -9
  140. package/dist/containers/Storage/StorageNodes/PaginatedStorageNodesTable.js.map +1 -0
  141. package/dist/containers/Storage/StorageNodes/StorageNodes.scss +1 -27
  142. package/dist/containers/Storage/StorageNodes/StorageNodesTable.d.ts +16 -0
  143. package/dist/containers/Storage/StorageNodes/{StorageNodes.js → StorageNodesTable.js} +9 -9
  144. package/dist/containers/Storage/StorageNodes/StorageNodesTable.js.map +1 -0
  145. package/dist/containers/Storage/StorageNodes/columns/StorageNodesColumns.scss +24 -0
  146. package/dist/containers/Storage/StorageNodes/columns/columns.d.ts +39 -0
  147. package/dist/containers/Storage/StorageNodes/{getStorageNodesColumns.js → columns/columns.js} +20 -31
  148. package/dist/containers/Storage/StorageNodes/columns/columns.js.map +1 -0
  149. package/dist/containers/Storage/StorageNodes/columns/constants.d.ts +34 -0
  150. package/dist/containers/Storage/StorageNodes/columns/constants.js +74 -0
  151. package/dist/containers/Storage/StorageNodes/columns/constants.js.map +1 -0
  152. package/dist/containers/Storage/StorageNodes/columns/hooks.d.ts +43 -0
  153. package/dist/containers/Storage/StorageNodes/columns/hooks.js +18 -0
  154. package/dist/containers/Storage/StorageNodes/columns/hooks.js.map +1 -0
  155. package/dist/containers/Storage/StorageNodes/columns/i18n/en.json +11 -0
  156. package/dist/containers/Storage/StorageNodes/columns/i18n/index.d.ts +2 -0
  157. package/dist/containers/Storage/StorageNodes/columns/i18n/index.js +5 -0
  158. package/dist/containers/Storage/StorageNodes/columns/i18n/index.js.map +1 -0
  159. package/dist/containers/Storage/StorageNodes/columns/types.d.ts +11 -0
  160. package/dist/containers/Storage/StorageNodes/columns/types.js +2 -0
  161. package/dist/containers/Storage/StorageNodes/columns/types.js.map +1 -0
  162. package/dist/containers/Storage/StorageNodes/getNodes.d.ts +2 -2
  163. package/dist/containers/Storage/StorageNodes/getNodes.js +13 -9
  164. package/dist/containers/Storage/StorageNodes/getNodes.js.map +1 -1
  165. package/dist/containers/Storage/StorageNodes/shared.js +1 -1
  166. package/dist/containers/Storage/StorageNodes/shared.js.map +1 -1
  167. package/dist/containers/Storage/StorageWrapper.d.ts +0 -2
  168. package/dist/containers/Storage/StorageWrapper.js.map +1 -1
  169. package/dist/containers/Storage/TableGroup/TableGroup.d.ts +12 -0
  170. package/dist/containers/Storage/TableGroup/TableGroup.js +21 -0
  171. package/dist/containers/Storage/TableGroup/TableGroup.js.map +1 -0
  172. package/dist/containers/Storage/TableGroup/TableGroup.scss +49 -0
  173. package/dist/containers/Storage/TableGroup/useExpandedTableGroups.d.ts +5 -0
  174. package/dist/containers/Storage/TableGroup/useExpandedTableGroups.js +28 -0
  175. package/dist/containers/Storage/TableGroup/useExpandedTableGroups.js.map +1 -0
  176. package/dist/containers/Storage/i18n/en.json +4 -1
  177. package/dist/containers/Storage/i18n/index.d.ts +1 -1
  178. package/dist/containers/Storage/i18n/index.js +1 -2
  179. package/dist/containers/Storage/i18n/index.js.map +1 -1
  180. package/dist/containers/Storage/shared.d.ts +2 -0
  181. package/dist/containers/Storage/shared.js +9 -0
  182. package/dist/containers/Storage/shared.js.map +1 -1
  183. package/dist/containers/Storage/useStorageQueryParams.d.ts +18 -0
  184. package/dist/containers/Storage/useStorageQueryParams.js +64 -0
  185. package/dist/containers/Storage/useStorageQueryParams.js.map +1 -0
  186. package/dist/containers/Storage/utils/index.d.ts +6 -2
  187. package/dist/containers/Storage/utils/index.js +17 -11
  188. package/dist/containers/Storage/utils/index.js.map +1 -1
  189. package/dist/containers/StorageGroupPage/StorageGroupPage.js +14 -57
  190. package/dist/containers/StorageGroupPage/StorageGroupPage.js.map +1 -1
  191. package/dist/containers/StorageGroupPage/StorageGroupPage.scss +14 -17
  192. package/dist/containers/StorageGroupPage/i18n/en.json +1 -2
  193. package/dist/containers/StorageGroupPage/i18n/index.d.ts +1 -1
  194. package/dist/containers/Tablets/i18n/index.d.ts +1 -1
  195. package/dist/containers/Tenant/Diagnostics/Describe/Describe.js +17 -3
  196. package/dist/containers/Tenant/Diagnostics/Describe/Describe.js.map +1 -1
  197. package/dist/containers/Tenant/Diagnostics/Diagnostics.js +1 -1
  198. package/dist/containers/Tenant/Diagnostics/Diagnostics.js.map +1 -1
  199. package/dist/containers/Tenant/Diagnostics/DiagnosticsPages.d.ts +6 -3
  200. package/dist/containers/Tenant/Diagnostics/DiagnosticsPages.js +4 -4
  201. package/dist/containers/Tenant/Diagnostics/DiagnosticsPages.js.map +1 -1
  202. package/dist/containers/Tenant/Diagnostics/HotKeys/HotKeys.js +10 -3
  203. package/dist/containers/Tenant/Diagnostics/HotKeys/HotKeys.js.map +1 -1
  204. package/dist/containers/Tenant/Diagnostics/Overview/Overview.js +2 -3
  205. package/dist/containers/Tenant/Diagnostics/Overview/Overview.js.map +1 -1
  206. package/dist/containers/Tenant/Diagnostics/Partitions/Partitions.js +4 -4
  207. package/dist/containers/Tenant/Diagnostics/Partitions/Partitions.js.map +1 -1
  208. package/dist/containers/Tenant/Diagnostics/Partitions/utils/index.d.ts +2 -2
  209. package/dist/containers/Tenant/Diagnostics/Partitions/utils/index.js +5 -5
  210. package/dist/containers/Tenant/Diagnostics/Partitions/utils/index.js.map +1 -1
  211. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByCpu.js +12 -5
  212. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByCpu.js.map +1 -1
  213. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByLoad.js +12 -5
  214. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByLoad.js.map +1 -1
  215. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TopNodesByMemory.js +13 -5
  216. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TopNodesByMemory.js.map +1 -1
  217. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantOverview.js +8 -2
  218. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantOverview.js.map +1 -1
  219. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopGroups.js +2 -1
  220. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopGroups.js.map +1 -1
  221. package/dist/containers/Tenant/Diagnostics/TenantOverview/i18n/index.d.ts +1 -1
  222. package/dist/containers/Tenant/Diagnostics/TopQueries/RunningQueriesData.d.ts +5 -0
  223. package/dist/containers/Tenant/Diagnostics/TopQueries/RunningQueriesData.js +21 -0
  224. package/dist/containers/Tenant/Diagnostics/TopQueries/RunningQueriesData.js.map +1 -0
  225. package/dist/containers/Tenant/Diagnostics/TopQueries/TopQueries.d.ts +1 -3
  226. package/dist/containers/Tenant/Diagnostics/TopQueries/TopQueries.js +32 -37
  227. package/dist/containers/Tenant/Diagnostics/TopQueries/TopQueries.js.map +1 -1
  228. package/dist/containers/Tenant/Diagnostics/TopQueries/TopQueriesData.d.ts +6 -0
  229. package/dist/containers/Tenant/Diagnostics/TopQueries/TopQueriesData.js +33 -0
  230. package/dist/containers/Tenant/Diagnostics/TopQueries/TopQueriesData.js.map +1 -0
  231. package/dist/containers/Tenant/Diagnostics/TopQueries/getTopQueriesColumns.d.ts +2 -0
  232. package/dist/containers/Tenant/Diagnostics/TopQueries/getTopQueriesColumns.js +26 -0
  233. package/dist/containers/Tenant/Diagnostics/TopQueries/getTopQueriesColumns.js.map +1 -1
  234. package/dist/containers/Tenant/Diagnostics/TopQueries/i18n/en.json +7 -1
  235. package/dist/containers/Tenant/Diagnostics/TopQueries/i18n/index.d.ts +1 -1
  236. package/dist/containers/Tenant/Diagnostics/TopQueries/i18n/index.js +1 -2
  237. package/dist/containers/Tenant/Diagnostics/TopQueries/i18n/index.js.map +1 -1
  238. package/dist/containers/Tenant/ObjectSummary/ObjectSummary.js +71 -62
  239. package/dist/containers/Tenant/ObjectSummary/ObjectSummary.js.map +1 -1
  240. package/dist/containers/Tenant/ObjectSummary/ObjectSummary.scss +6 -7
  241. package/dist/containers/Tenant/ObjectSummary/ObjectTree.d.ts +6 -0
  242. package/dist/containers/Tenant/ObjectSummary/ObjectTree.js +25 -0
  243. package/dist/containers/Tenant/ObjectSummary/ObjectTree.js.map +1 -0
  244. package/dist/containers/Tenant/ObjectSummary/SchemaActions.d.ts +1 -0
  245. package/dist/containers/Tenant/ObjectSummary/SchemaActions.js +18 -0
  246. package/dist/containers/Tenant/ObjectSummary/SchemaActions.js.map +1 -0
  247. package/dist/containers/Tenant/ObjectSummary/__test__/transformPath.test.js +27 -3
  248. package/dist/containers/Tenant/ObjectSummary/__test__/transformPath.test.js.map +1 -1
  249. package/dist/containers/Tenant/ObjectSummary/i18n/en.json +21 -0
  250. package/dist/containers/Tenant/ObjectSummary/i18n/index.d.ts +2 -0
  251. package/dist/containers/Tenant/ObjectSummary/i18n/index.js +5 -0
  252. package/dist/containers/Tenant/ObjectSummary/i18n/index.js.map +1 -0
  253. package/dist/containers/Tenant/ObjectSummary/shared.d.ts +1 -0
  254. package/dist/containers/Tenant/ObjectSummary/shared.js +3 -0
  255. package/dist/containers/Tenant/ObjectSummary/shared.js.map +1 -0
  256. package/dist/containers/Tenant/ObjectSummary/transformPath.d.ts +2 -0
  257. package/dist/containers/Tenant/ObjectSummary/transformPath.js +10 -0
  258. package/dist/containers/Tenant/ObjectSummary/transformPath.js.map +1 -1
  259. package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.js +14 -12
  260. package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.js.map +1 -1
  261. package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.scss +8 -0
  262. package/dist/containers/Tenant/Query/ExecuteResult/i18n/en.json +3 -1
  263. package/dist/containers/Tenant/Query/ExecuteResult/i18n/index.d.ts +1 -1
  264. package/dist/containers/Tenant/Query/NewSQL/NewSQL.d.ts +1 -0
  265. package/dist/containers/Tenant/Query/NewSQL/NewSQL.js +135 -0
  266. package/dist/containers/Tenant/Query/NewSQL/NewSQL.js.map +1 -0
  267. package/dist/containers/Tenant/Query/NewSQL/i18n/en.json +32 -0
  268. package/dist/containers/Tenant/Query/NewSQL/i18n/index.d.ts +2 -0
  269. package/dist/containers/Tenant/Query/NewSQL/i18n/index.js +5 -0
  270. package/dist/containers/Tenant/Query/NewSQL/i18n/index.js.map +1 -0
  271. package/dist/containers/Tenant/Query/QueryEditorControls/QueryEditorControls.js +2 -1
  272. package/dist/containers/Tenant/Query/QueryEditorControls/QueryEditorControls.js.map +1 -1
  273. package/dist/containers/Tenant/Query/QueryEditorControls/QueryEditorControls.scss +1 -0
  274. package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettings.js +3 -1
  275. package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettings.js.map +1 -1
  276. package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettings.test.js +5 -10
  277. package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettings.test.js.map +1 -1
  278. package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettingsDescription.js +5 -3
  279. package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettingsDescription.js.map +1 -1
  280. package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettingsDescription.test.js +6 -10
  281. package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettingsDescription.test.js.map +1 -1
  282. package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsDialog.js +11 -2
  283. package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsDialog.js.map +1 -1
  284. package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsDialog.scss +1 -0
  285. package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsSelect.d.ts +1 -0
  286. package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsSelect.js +1 -1
  287. package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsSelect.js.map +1 -1
  288. package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.d.ts +3 -0
  289. package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.js +3 -0
  290. package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.js.map +1 -1
  291. package/dist/containers/Tenant/Query/QuerySettingsDialog/i18n/en.json +3 -0
  292. package/dist/containers/Tenant/Query/QuerySettingsDialog/i18n/index.d.ts +1 -1
  293. package/dist/containers/Tenant/Query/QuerySettingsDialog/i18n/ru.json +3 -0
  294. package/dist/containers/Tenant/Schema/SchemaTree/SchemaTree.js +1 -1
  295. package/dist/containers/Tenant/Schema/SchemaTree/SchemaTree.js.map +1 -1
  296. package/dist/containers/Tenant/Schema/SchemaViewer/SchemaViewer.js +10 -2
  297. package/dist/containers/Tenant/Schema/SchemaViewer/SchemaViewer.js.map +1 -1
  298. package/dist/containers/Tenant/Schema/SchemaViewer/prepareData.d.ts +2 -1
  299. package/dist/containers/Tenant/Schema/SchemaViewer/prepareData.js.map +1 -1
  300. package/dist/containers/Tenant/Tenant.js +7 -3
  301. package/dist/containers/Tenant/Tenant.js.map +1 -1
  302. package/dist/containers/Tenant/utils/newSQLQueryActions.d.ts +27 -0
  303. package/dist/containers/Tenant/utils/newSQLQueryActions.js +35 -0
  304. package/dist/containers/Tenant/utils/newSQLQueryActions.js.map +1 -0
  305. package/dist/containers/Tenant/utils/newSQLQueryTemplates.d.ts +24 -0
  306. package/dist/containers/Tenant/utils/newSQLQueryTemplates.js +228 -0
  307. package/dist/containers/Tenant/utils/newSQLQueryTemplates.js.map +1 -0
  308. package/dist/containers/Tenant/utils/schema.js +1 -0
  309. package/dist/containers/Tenant/utils/schema.js.map +1 -1
  310. package/dist/containers/Tenant/utils/schemaActions.d.ts +1 -1
  311. package/dist/containers/Tenant/utils/schemaActions.js +8 -6
  312. package/dist/containers/Tenant/utils/schemaActions.js.map +1 -1
  313. package/dist/containers/Tenant/utils/{queryTemplates.js → schemaQueryTemplates.js} +1 -1
  314. package/dist/containers/Tenant/utils/schemaQueryTemplates.js.map +1 -0
  315. package/dist/containers/UserSettings/i18n/en.json +0 -2
  316. package/dist/containers/UserSettings/i18n/index.d.ts +1 -1
  317. package/dist/containers/UserSettings/settings.d.ts +0 -1
  318. package/dist/containers/UserSettings/settings.js +2 -7
  319. package/dist/containers/UserSettings/settings.js.map +1 -1
  320. package/dist/containers/VDiskPage/VDiskPage.d.ts +0 -3
  321. package/dist/containers/VDiskPage/VDiskPage.js +9 -33
  322. package/dist/containers/VDiskPage/VDiskPage.js.map +1 -1
  323. package/dist/containers/VDiskPage/VDiskPage.scss +10 -19
  324. package/dist/containers/VDiskPage/i18n/en.json +1 -1
  325. package/dist/containers/VDiskPage/i18n/index.d.ts +1 -1
  326. package/dist/services/api.d.ts +16 -5
  327. package/dist/services/api.js +53 -14
  328. package/dist/services/api.js.map +1 -1
  329. package/dist/services/settings.d.ts +2 -2
  330. package/dist/services/settings.js +2 -3
  331. package/dist/services/settings.js.map +1 -1
  332. package/dist/store/configureStore.d.ts +2 -2
  333. package/dist/store/defaultStore.d.ts +1 -1
  334. package/dist/store/reducers/capabilities/capabilities.d.ts +8 -1
  335. package/dist/store/reducers/capabilities/capabilities.js +6 -1
  336. package/dist/store/reducers/capabilities/capabilities.js.map +1 -1
  337. package/dist/store/reducers/capabilities/hooks.d.ts +2 -0
  338. package/dist/store/reducers/capabilities/hooks.js +6 -0
  339. package/dist/store/reducers/capabilities/hooks.js.map +1 -1
  340. package/dist/store/reducers/executeQuery.js +3 -0
  341. package/dist/store/reducers/executeQuery.js.map +1 -1
  342. package/dist/store/reducers/executeTopQueries/executeTopQueries.d.ts +4 -0
  343. package/dist/store/reducers/executeTopQueries/executeTopQueries.js +27 -1
  344. package/dist/store/reducers/executeTopQueries/executeTopQueries.js.map +1 -1
  345. package/dist/store/reducers/index.d.ts +2 -2
  346. package/dist/store/reducers/nodes/nodes.d.ts +2 -2
  347. package/dist/store/reducers/nodes/nodes.js.map +1 -1
  348. package/dist/store/reducers/nodes/types.d.ts +3 -24
  349. package/dist/store/reducers/nodesList.d.ts +5 -5
  350. package/dist/store/reducers/nodesList.js +2 -2
  351. package/dist/store/reducers/nodesList.js.map +1 -1
  352. package/dist/store/reducers/overview/overview.js +5 -1
  353. package/dist/store/reducers/overview/overview.js.map +1 -1
  354. package/dist/store/reducers/pdisk/pdisk.js +29 -2
  355. package/dist/store/reducers/pdisk/pdisk.js.map +1 -1
  356. package/dist/store/reducers/pdisk/utils.js +1 -1
  357. package/dist/store/reducers/pdisk/utils.js.map +1 -1
  358. package/dist/store/reducers/storage/requestStorageData.d.ts +3 -3
  359. package/dist/store/reducers/storage/requestStorageData.js.map +1 -1
  360. package/dist/store/reducers/storage/selectors.d.ts +2 -3
  361. package/dist/store/reducers/storage/selectors.js +1 -27
  362. package/dist/store/reducers/storage/selectors.js.map +1 -1
  363. package/dist/store/reducers/storage/storage.d.ts +4 -4
  364. package/dist/store/reducers/storage/storage.js.map +1 -1
  365. package/dist/store/reducers/storage/types.d.ts +19 -10
  366. package/dist/store/reducers/storage/utils.js +27 -3
  367. package/dist/store/reducers/storage/utils.js.map +1 -1
  368. package/dist/store/reducers/tablet.js +5 -3
  369. package/dist/store/reducers/tablet.js.map +1 -1
  370. package/dist/store/reducers/tablets.d.ts +3 -3
  371. package/dist/store/reducers/tablets.js +4 -4
  372. package/dist/store/reducers/tablets.js.map +1 -1
  373. package/dist/store/reducers/tooltip.d.ts +1 -1
  374. package/dist/styles/mixins.scss +3 -3
  375. package/dist/types/api/capabilities.d.ts +1 -1
  376. package/dist/types/api/common.d.ts +1 -0
  377. package/dist/types/api/nodes.d.ts +34 -0
  378. package/dist/types/api/nodes.js.map +1 -1
  379. package/dist/types/api/query.d.ts +1 -0
  380. package/dist/types/api/storage.d.ts +29 -8
  381. package/dist/types/store/nodesList.d.ts +1 -1
  382. package/dist/types/store/query.d.ts +5 -8
  383. package/dist/utils/constants.d.ts +0 -8
  384. package/dist/utils/constants.js +0 -9
  385. package/dist/utils/constants.js.map +1 -1
  386. package/dist/utils/filters.d.ts +2 -1
  387. package/dist/utils/filters.js +1 -4
  388. package/dist/utils/filters.js.map +1 -1
  389. package/dist/utils/hooks/useChangedQuerySettings.d.ts +2 -2
  390. package/dist/utils/hooks/useChangedQuerySettings.js +2 -1
  391. package/dist/utils/hooks/useChangedQuerySettings.js.map +1 -1
  392. package/dist/utils/hooks/useLastQueryExecutionSettings.d.ts +15 -2
  393. package/dist/utils/hooks/useLastQueryExecutionSettings.js +8 -9
  394. package/dist/utils/hooks/useLastQueryExecutionSettings.js.map +1 -1
  395. package/dist/utils/hooks/useQueryExecutionSettings.d.ts +15 -2
  396. package/dist/utils/hooks/useQueryExecutionSettings.js +5 -7
  397. package/dist/utils/hooks/useQueryExecutionSettings.js.map +1 -1
  398. package/dist/utils/hooks/useSelectedColumns.d.ts +8 -0
  399. package/dist/utils/hooks/useSelectedColumns.js +40 -0
  400. package/dist/utils/hooks/useSelectedColumns.js.map +1 -0
  401. package/dist/utils/nodes.d.ts +5 -24
  402. package/dist/utils/nodes.js +20 -23
  403. package/dist/utils/nodes.js.map +1 -1
  404. package/dist/utils/query.d.ts +129 -0
  405. package/dist/utils/query.js +33 -1
  406. package/dist/utils/query.js.map +1 -1
  407. package/dist/utils/storage.d.ts +1 -1
  408. package/dist/utils/storage.js +2 -0
  409. package/dist/utils/storage.js.map +1 -1
  410. package/dist/utils/utils.js +2 -1
  411. package/dist/utils/utils.js.map +1 -1
  412. package/package.json +2 -1
  413. package/dist/containers/Clusters/useSelectedColumns.d.ts +0 -7
  414. package/dist/containers/Clusters/useSelectedColumns.js +0 -26
  415. package/dist/containers/Clusters/useSelectedColumns.js.map +0 -1
  416. package/dist/containers/Nodes/getNodesColumns.js.map +0 -1
  417. package/dist/containers/PDiskPage/PDiskGroups/PDiskGroups.d.ts +0 -6
  418. package/dist/containers/PDiskPage/PDiskGroups/PDiskGroups.js +0 -30
  419. package/dist/containers/PDiskPage/PDiskGroups/PDiskGroups.js.map +0 -1
  420. package/dist/containers/PDiskPage/PDiskGroups/utils.d.ts +0 -2
  421. package/dist/containers/PDiskPage/PDiskGroups/utils.js +0 -14
  422. package/dist/containers/PDiskPage/PDiskGroups/utils.js.map +0 -1
  423. package/dist/containers/Storage/StorageGroups/PaginatedStorageGroups.d.ts +0 -14
  424. package/dist/containers/Storage/StorageGroups/PaginatedStorageGroups.js.map +0 -1
  425. package/dist/containers/Storage/StorageGroups/StorageGroups.d.ts +0 -13
  426. package/dist/containers/Storage/StorageGroups/StorageGroups.js.map +0 -1
  427. package/dist/containers/Storage/StorageGroups/columns/getStorageGroupsColumns.d.ts +0 -21
  428. package/dist/containers/Storage/StorageGroups/columns/getStorageGroupsColumns.js.map +0 -1
  429. package/dist/containers/Storage/StorageNodes/PaginatedStorageNodes.d.ts +0 -17
  430. package/dist/containers/Storage/StorageNodes/PaginatedStorageNodes.js.map +0 -1
  431. package/dist/containers/Storage/StorageNodes/StorageNodes.d.ts +0 -19
  432. package/dist/containers/Storage/StorageNodes/StorageNodes.js.map +0 -1
  433. package/dist/containers/Storage/StorageNodes/getStorageNodesColumns.d.ts +0 -50
  434. package/dist/containers/Storage/StorageNodes/getStorageNodesColumns.js.map +0 -1
  435. package/dist/containers/Storage/UsageFilter/UsageFilter.d.ts +0 -14
  436. package/dist/containers/Storage/UsageFilter/UsageFilter.js +0 -39
  437. package/dist/containers/Storage/UsageFilter/UsageFilter.js.map +0 -1
  438. package/dist/containers/Storage/UsageFilter/UsageFilter.scss +0 -38
  439. package/dist/containers/Storage/UsageFilter/i18n/en.json +0 -5
  440. package/dist/containers/Storage/UsageFilter/i18n/index.d.ts +0 -2
  441. package/dist/containers/Storage/UsageFilter/i18n/index.js +0 -6
  442. package/dist/containers/Storage/UsageFilter/i18n/index.js.map +0 -1
  443. package/dist/containers/Storage/UsageFilter/i18n/ru.json +0 -5
  444. package/dist/containers/Storage/UsageFilter/index.d.ts +0 -1
  445. package/dist/containers/Storage/UsageFilter/index.js +0 -2
  446. package/dist/containers/Storage/UsageFilter/index.js.map +0 -1
  447. package/dist/containers/Storage/i18n/ru.json +0 -6
  448. package/dist/containers/Tenant/Diagnostics/TopQueries/i18n/ru.json +0 -4
  449. package/dist/containers/Tenant/utils/queryTemplates.js.map +0 -1
  450. package/dist/containers/VDiskPage/utils.d.ts +0 -2
  451. package/dist/containers/VDiskPage/utils.js +0 -7
  452. package/dist/containers/VDiskPage/utils.js.map +0 -1
  453. package/dist/store/reducers/describe.d.ts +0 -7
  454. package/dist/store/reducers/describe.js +0 -25
  455. package/dist/store/reducers/describe.js.map +0 -1
  456. package/dist/store/reducers/tenantOverview/topNodes/topNodes.d.ts +0 -4
  457. package/dist/store/reducers/tenantOverview/topNodes/topNodes.js +0 -27
  458. package/dist/store/reducers/tenantOverview/topNodes/topNodes.js.map +0 -1
  459. /package/dist/containers/Tenant/utils/{queryTemplates.d.ts → schemaQueryTemplates.d.ts} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"StorageGroupPage.js","sourceRoot":"","sources":["../../../src/containers/StorageGroupPage/StorageGroupPage.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,IAAI,EAAC,MAAM,mBAAmB,CAAC;AACvC,OAAO,EAAC,SAAS,EAAC,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAC,MAAM,EAAC,MAAM,oBAAoB,CAAC;AAC1C,OAAO,EAAC,WAAW,EAAE,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAC7D,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AAEtB,OAAO,EAAC,eAAe,EAAC,MAAM,kDAAkD,CAAC;AACjF,OAAO,EAAC,aAAa,EAAC,MAAM,uCAAuC,CAAC;AACpE,OAAO,EAAC,kBAAkB,EAAC,MAAM,wDAAwD,CAAC;AAC1F,OAAO,EAAC,YAAY,EAAC,MAAM,+BAA+B,CAAC;AAC3D,OAAO,EAAC,uBAAuB,EAAC,MAAM,oCAAoC,CAAC;AAC3E,OAAO,EAAC,gBAAgB,EAAC,MAAM,oDAAoD,CAAC;AACpF,OAAO,EAAC,mBAAmB,EAAC,MAAM,cAAc,CAAC;AACjD,OAAO,EAAC,gCAAgC,EAAC,MAAM,yCAAyC,CAAC;AACzF,OAAO,EAAC,oBAAoB,EAAC,MAAM,oCAAoC,CAAC;AACxE,OAAO,EAAC,aAAa,EAAC,MAAM,wCAAwC,CAAC;AACrE,OAAO,EAAC,UAAU,EAAC,MAAM,sCAAsC,CAAC;AAChE,OAAO,EAAC,KAAK,EAAC,MAAM,uBAAuB,CAAC;AAC5C,O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O,CACH,eAAK,SAAS,EAAE,kBAAkB,CAAC,IAAI,CAAC,aACpC,eAAK,SAAS,EAAE,kBAAkB,CAAC,cAAc,CAAC,aAC7C,YAAY,EAAE,EACd,cAAc,EAAE,EAChB,eAAe,EAAE,EACjB,WAAW,EAAE,EACb,UAAU,EAAE,EACZ,UAAU,EAAE,IACX,EACN,cAAK,SAAS,EAAE,kBAAkB,CAAC,cAAc,CAAC,YAAG,iBAAiB,EAAE,GAAO,IAC7E,CACT,CAAC;AACN,CAAC"}
1
+ {"version":3,"file":"StorageGroupPage.js","sourceRoot":"","sources":["../../../src/containers/StorageGroupPage/StorageGroupPage.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,SAAS,EAAC,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAC,MAAM,EAAC,MAAM,oBAAoB,CAAC;AAC1C,OAAO,EAAC,WAAW,EAAE,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAE7D,OAAO,EAAC,eAAe,EAAC,MAAM,kDAAkD,CAAC;AACjF,OAAO,EAAC,aAAa,EAAC,MAAM,uCAAuC,CAAC;AACpE,OAAO,EAAC,kBAAkB,EAAC,MAAM,wDAAwD,CAAC;AAC1F,OAAO,EAAC,uBAAuB,EAAC,MAAM,oCAAoC,CAAC;AAC3E,OAAO,EAAC,gBAAgB,EAAC,MAAM,oDAAoD,CAAC;AACpF,OAAO,EACH,qBAAqB,EACrB,gCAAgC,GACnC,MAAM,yCAAyC,CAAC;AACjD,OAAO,EAAC,oBAAoB,EAAC,MAAM,oCAAoC,CAAC;AACxE,OAAO,EAAC,UAAU,EAAC,MAAM,sCAAsC,CAAC;AAChE,OAAO,EAAC,KAAK,EAAC,MAAM,uBAAuB,CAAC;AAC5C,OAAO,EAAC,cAAc,EAAC,MAAM,aAAa,CAAC;AAC3C,OAAO,EAAC,EAAE,EAAC,MAAM,gBAAgB,CAAC;AAClC,OAAO,EAAC,sBAAsB,E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AAS,EAAE,kBAAkB,CAAC,MAAM,CAAC,GAAI,CAAC;IAC/F,CAAC,CAAC;IAEF,MAAM,aAAa,GAAG,GAAG,EAAE;QACvB,IAAI,CAAC,OAAO,EAAE,CAAC;YACX,OAAO,IAAI,CAAC;QAChB,CAAC;QACD,OAAO,CACH,MAAC,KAAK,CAAC,QAAQ,eACX,cAAK,SAAS,EAAE,kBAAkB,CAAC,eAAe,CAAC,YAC9C,sBAAsB,CAAC,SAAS,CAAC,GAChC,EACN,KAAC,OAAO,IAAC,OAAO,EAAE,OAAO,GAAI,IAChB,CACpB,CAAC;IACN,CAAC,CAAC;IAEF,MAAM,WAAW,GAAG,GAAG,EAAE;QACrB,IAAI,CAAC,UAAU,CAAC,KAAK,EAAE,CAAC;YACpB,OAAO,IAAI,CAAC;QAChB,CAAC;QACD,OAAO,KAAC,aAAa,IAAC,KAAK,EAAE,UAAU,CAAC,KAAK,GAAI,CAAC;IACtD,CAAC,CAAC;IAEF,OAAO,CACH,eAAK,SAAS,EAAE,kBAAkB,CAAC,IAAI,CAAC,aACnC,YAAY,EAAE,EACd,cAAc,EAAE,EAChB,eAAe,EAAE,EACjB,WAAW,EAAE,EACb,UAAU,EAAE,EACZ,aAAa,EAAE,IACd,CACT,CAAC;AACN,CAAC"}
@@ -6,35 +6,32 @@
6
6
  overflow: auto;
7
7
 
8
8
  height: 100%;
9
+ padding: 0 20px;
9
10
 
10
- &__info-content {
11
+ &__meta,
12
+ &__title,
13
+ &__info,
14
+ &__storage-title {
11
15
  position: sticky;
12
16
  left: 0;
13
17
 
14
- display: flex;
15
- flex-direction: column;
16
- gap: 20px;
18
+ margin-bottom: 20px;
19
+ }
17
20
 
18
- padding: 20px;
21
+ &__meta {
22
+ margin-top: 20px;
19
23
  }
20
24
 
21
- &__tabs-content {
22
- padding-left: 20px;
25
+ &__title {
26
+ margin-bottom: 60px;
23
27
  }
24
28
 
25
- &__meta,
26
- &__title,
27
- &__info,
28
- &__tabs {
29
- position: sticky;
30
- left: 0;
29
+ &__storage-title {
30
+ margin-bottom: 0;
31
+ @include header-1-typography();
31
32
  }
32
33
 
33
34
  &__info {
34
35
  margin-top: var(--g-spacing-10);
35
36
  }
36
-
37
- &__tabs {
38
- @include tabs-wrapper-styles();
39
- }
40
37
  }
@@ -1,6 +1,5 @@
1
1
  {
2
2
  "storage-group": "Storage Group",
3
- "group": "Group",
4
- "nodes": "Nodes",
3
+ "storage": "Storage",
5
4
  "pool-name": "Pool Name"
6
5
  }
@@ -1 +1 @@
1
- export declare const storageGroupPageKeyset: (key: "nodes" | "group" | "pool-name" | "storage-group", params?: import("@gravity-ui/i18n").Params) => string;
1
+ export declare const storageGroupPageKeyset: (key: "storage" | "pool-name" | "storage-group", params?: import("@gravity-ui/i18n").Params) => string;
@@ -1,2 +1,2 @@
1
- declare const _default: (key: "Tablet" | "State" | "Uptime" | "Type" | "Generation" | "Node ID" | "Node FQDN" | "noTabletsData" | "dialog.kill-header" | "dialog.kill-text" | "controls.kill-not-allowed", params?: import("@gravity-ui/i18n").Params) => string;
1
+ declare const _default: (key: "Uptime" | "State" | "Tablet" | "Type" | "Generation" | "Node ID" | "Node FQDN" | "noTabletsData" | "dialog.kill-header" | "dialog.kill-text" | "controls.kill-not-allowed", params?: import("@gravity-ui/i18n").Params) => string;
2
2
  export default _default;
@@ -5,7 +5,7 @@ import JSONTree from 'react-json-inspector';
5
5
  import { shallowEqual } from 'react-redux';
6
6
  import { ResponseError } from '../../../../components/Errors/ResponseError';
7
7
  import { Loader } from '../../../../components/Loader';
8
- import { describeApi } from '../../../../store/reducers/describe';
8
+ import { overviewApi } from '../../../../store/reducers/overview/overview';
9
9
  import { selectSchemaMergedChildrenPaths } from '../../../../store/reducers/schema/schema';
10
10
  import { cn } from '../../../../utils/cn';
11
11
  import { useAutoRefreshInterval, useTypedSelector } from '../../../../utils/hooks';
@@ -14,6 +14,7 @@ import './Describe.scss';
14
14
  import 'react-json-inspector/json-inspector.css';
15
15
  const b = cn('ydb-describe');
16
16
  const expandMap = new Map();
17
+ const emptyObject = {};
17
18
  const Describe = ({ path, database, type }) => {
18
19
  const [autoRefreshInterval] = useAutoRefreshInterval();
19
20
  const isEntityWithMergedImpl = isEntityWithMergedImplementation(type);
@@ -25,11 +26,24 @@ const Describe = ({ path, database, type }) => {
25
26
  else if (mergedChildrenPaths) {
26
27
  paths = [path, ...mergedChildrenPaths];
27
28
  }
28
- const { currentData, isFetching, error } = describeApi.useGetDescribeQuery(paths.length ? { paths, database } : skipToken, {
29
+ const { currentDescribe, currentData, isFetching, error } = overviewApi.useGetOverviewQuery(paths.length ? { paths, database } : skipToken, {
29
30
  pollingInterval: autoRefreshInterval,
31
+ selectFromResult: (props) => {
32
+ const { currentData } = props;
33
+ if (!currentData) {
34
+ return { currentDescribe: emptyObject, ...props };
35
+ }
36
+ const mergedData = [currentData.data, ...currentData.additionalData];
37
+ const data = mergedData.reduce((acc, item) => {
38
+ if (item === null || item === void 0 ? void 0 : item.Path) {
39
+ acc[item.Path] = item;
40
+ }
41
+ return acc;
42
+ }, {});
43
+ return { currentDescribe: data, ...props };
44
+ },
30
45
  });
31
46
  const loading = isFetching && currentData === undefined;
32
- const currentDescribe = currentData;
33
47
  let preparedDescribeData;
34
48
  if (currentDescribe) {
35
49
  const paths = Object.keys(currentDescribe);
@@ -1 +1 @@
1
- {"version":3,"file":"Describe.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Diagnostics/Describe/Describe.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAC,SAAS,EAAC,MAAM,wBAAwB,CAAC;AACjD,OAAO,QAAQ,MAAM,sBAAsB,CAAC;AAC5C,OAAO,EAAC,YAAY,EAAC,MAAM,aAAa,CAAC;AAEzC,OAAO,EAAC,aAAa,EAAC,MAAM,6CAA6C,CAAC;AAC1E,OAAO,EAAC,MAAM,EAAC,MAAM,+BAA+B,CAAC;AACrD,OAAO,EAAC,WAAW,EAA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AAQ,CAAC,CAAC;wBAClC,CAAC,EACD,aAAa,EAAE;4BACX,YAAY,EAAE,GAAG;yBACpB,EACD,UAAU,EAAE,CAAC,OAAO,EAAE,EAAE;4BACpB,OAAO,SAAS,CAAC,GAAG,CAAC,OAAO,CAAC,IAAI,KAAK,CAAC;wBAC3C,CAAC,GACH,EACF,KAAC,eAAe,IACZ,IAAI,EAAC,gBAAgB,EACrB,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,oBAAoB,CAAC,EAC1C,SAAS,EAAE,CAAC,CAAC,MAAM,CAAC,GACtB,IACA,CACT,CAAC,CAAC,CAAC,IAAI,IACN,CACT,CAAC;AACN,CAAC,CAAC;AAEF,eAAe,QAAQ,CAAC"}
1
+ {"version":3,"file":"Describe.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Diagnostics/Describe/Describe.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAC,SAAS,EAAC,MAAM,wBAAwB,CAAC;AACjD,OAAO,QAAQ,MAAM,sBAAsB,CAAC;AAC5C,OAAO,EAAC,YAAY,EAAC,MAAM,aAAa,CAAC;AAEzC,OAAO,EAAC,aAAa,EAAC,MAAM,6CAA6C,CAAC;AAC1E,OAAO,EAAC,MAAM,EAAC,MAAM,+BAA+B,CAAC;AACrD,OAAO,EAAC,WAAW,EAAC,MAAM,8CAA8C,CAAC;AACzE,OAAO,EAAC,+BAA+B,EAAC,MAAM,0CAA0C,CAAC;AAGzF,OAAO,EAAC,EAAE,EAAC,MAAM,sBAAsB,CAAC;AACxC,OAAO,EAAC,sBAAsB,EAAE,gBAAgB,EAAC,MAAM,yBAAyB,CAAC;AACjF,OAAO,EAAC,gCAAgC,EAAC,MAAM,oBAAoB,CAAC;AAEpE,OAAO,iBAAiB,CAAC;AACzB,OAAO,yCAAyC,CAAC;AAEjD,MAAM,CAAC,GAAG,EAAE,CAAC,cAAc,CAAC,CAAC;AAE7B,M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E,CAAC,CAAC,QAAQ,CAAC,aACvB,KAAC,QAAQ,IACL,IAAI,EAAE,oBAAoB,EAC1B,SAAS,EAAE,CAAC,CAAC,MAAM,CAAC,EACpB,OAAO,EAAE,CAAC,EAAC,IAAI,EAAC,EAAE,EAAE;4BAChB,MAAM,QAAQ,GAAG,CAAC,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,KAAK,CAAC,CAAC;4BACjD,SAAS,CAAC,GAAG,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;wBAClC,CAAC,EACD,aAAa,EAAE;4BACX,YAAY,EAAE,GAAG;yBACpB,EACD,UAAU,EAAE,CAAC,OAAO,EAAE,EAAE;4BACpB,OAAO,SAAS,CAAC,GAAG,CAAC,OAAO,CAAC,IAAI,KAAK,CAAC;wBAC3C,CAAC,GACH,EACF,KAAC,eAAe,IACZ,IAAI,EAAC,gBAAgB,EACrB,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,oBAAoB,CAAC,EAC1C,SAAS,EAAE,CAAC,CAAC,MAAM,CAAC,GACtB,IACA,CACT,CAAC,CAAC,CAAC,IAAI,IACN,CACT,CAAC;AACN,CAAC,CAAC;AAEF,eAAe,QAAQ,CAAC"}
@@ -63,7 +63,7 @@ function Diagnostics(props) {
63
63
  return _jsx(SchemaViewer, { path: path, tenantName: tenantName, type: type, extended: true });
64
64
  }
65
65
  case TENANT_DIAGNOSTICS_TABS_IDS.topQueries: {
66
- return _jsx(TopQueries, { tenantName: tenantName, type: type });
66
+ return _jsx(TopQueries, { tenantName: tenantName });
67
67
  }
68
68
  case TENANT_DIAGNOSTICS_TABS_IDS.topShards: {
69
69
  return _jsx(TopShards, { tenantName: tenantName, path: path, type: type });
@@ -1 +1 @@
1
- {"version":3,"file":"Diagnostics.js","sourceRoot":"","sources":["../../../../src/containers/Tenant/Diagnostics/Diagnostics.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC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AAS,EAAE,CAAC,CAAC,gBAAgB,CAAC,YAC/B,eAAK,SAAS,EAAE,CAAC,CAAC,MAAM,CAAC,aACrB,KAAC,IAAI,IACD,IAAI,EAAC,GAAG,EACR,KAAK,EAAE,KAAK,EACZ,SAAS,EAAE,SAAS,aAAT,SAAS,uBAAT,SAAS,CAAE,EAAE,EACxB,MAAM,EAAE,CAAC,EAAC,EAAE,EAAC,EAAE,IAAI,EAAE,EAAE;4BACnB,MAAM,IAAI,GAAG,UAAU,CAAC,MAAM,CAAC,MAAM,EAAE,SAAS,EAAE;gCAC9C,GAAG,WAAW;gCACd,CAAC,gBAAgB,CAAC,cAAc,CAAC,EAAE,EAAE;6BACxC,CAAC,CAAC;4BAEH,OAAO,CACH,KAAC,IAAI,IAAC,EAAE,EAAE,IAAI,EAAW,SAAS,EAAE,CAAC,CAAC,KAAK,CAAC,YACvC,IAAI,IADY,EAAE,CAEhB,CACV,CAAC;wBACN,CAAC,EACD,gBAAgB,EAAE,IAAI,GACxB,EACF,KAAC,kBAAkB,KAAG,IACpB,GACJ,CACT,CAAC;IACN,CAAC,CAAC;IAEF,OAAO,CACH,eAAK,SAAS,EAAE,CAAC,EAAE,EAAE,GAAG,EAAE,SAAS,aAC9B,SAAS,CAAC,CAAC,CAAC,CACT,KAAC,MAAM,cACH,0BAAQ,SAAS,CAAC,KAAK,GAAS,GAC3B,CACZ,CAAC,CAAC,CAAC,IAAI,EACP,UAAU,EAAE,EACb,cAAK,SAAS,EAAE,CAAC,CAAC,cAAc,CAAC,YAAG,gBAAgB,EAAE,GAAO,IAC3D,CACT,CAAC;AACN,CAAC;AAED,eAAe,WAAW,CAAC"}
@@ -85,9 +85,6 @@ export declare const COLUMN_TABLE_PAGES: ({
85
85
  } | {
86
86
  id: "describe";
87
87
  title: string;
88
- } | {
89
- id: "graph";
90
- title: string;
91
88
  })[];
92
89
  export declare const DIR_PAGES: ({
93
90
  id: "overview";
@@ -150,6 +147,9 @@ export declare const EXTERNAL_DATA_SOURCE_PAGES: ({
150
147
  export declare const EXTERNAL_TABLE_PAGES: ({
151
148
  id: "overview";
152
149
  title: string;
150
+ } | {
151
+ id: "schema";
152
+ title: string;
153
153
  } | {
154
154
  id: "describe";
155
155
  title: string;
@@ -157,6 +157,9 @@ export declare const EXTERNAL_TABLE_PAGES: ({
157
157
  export declare const VIEW_PAGES: ({
158
158
  id: "overview";
159
159
  title: string;
160
+ } | {
161
+ id: "schema";
162
+ title: string;
160
163
  } | {
161
164
  id: "describe";
162
165
  title: string;
@@ -10,7 +10,7 @@ const schema = {
10
10
  };
11
11
  const topQueries = {
12
12
  id: TENANT_DIAGNOSTICS_TABS_IDS.topQueries,
13
- title: 'Top queries',
13
+ title: 'Queries',
14
14
  };
15
15
  const topShards = {
16
16
  id: TENANT_DIAGNOSTICS_TABS_IDS.topShards,
@@ -69,13 +69,13 @@ export const DATABASE_PAGES = [
69
69
  configs,
70
70
  ];
71
71
  export const TABLE_PAGES = [overview, schema, topShards, nodes, graph, tablets, hotKeys, describe];
72
- export const COLUMN_TABLE_PAGES = [overview, schema, topShards, nodes, graph, tablets, describe];
72
+ export const COLUMN_TABLE_PAGES = [overview, schema, topShards, nodes, tablets, describe];
73
73
  export const DIR_PAGES = [overview, topShards, nodes, describe];
74
74
  export const CDC_STREAM_PAGES = [overview, consumers, partitions, nodes, tablets, describe];
75
75
  export const TOPIC_PAGES = [overview, consumers, partitions, nodes, tablets, describe];
76
76
  export const EXTERNAL_DATA_SOURCE_PAGES = [overview, describe];
77
- export const EXTERNAL_TABLE_PAGES = [overview, describe];
78
- export const VIEW_PAGES = [overview, describe];
77
+ export const EXTERNAL_TABLE_PAGES = [overview, schema, describe];
78
+ export const VIEW_PAGES = [overview, schema, describe];
79
79
  // verbose mapping to guarantee correct tabs for new path types
80
80
  // TS will error when a new type is added but not mapped here
81
81
  const pathTypeToPages = {
@@ -1 +1 @@
1
- {"version":3,"file":"DiagnosticsPages.js","sourceRoot":"","sources":["../../../../src/containers/Tenant/Diagnost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,eAAe,CAAC,IAAI,CAAC,CAAC,IAAI,SAAS,CAAC;AAEjG,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,EAAC,eAAe,EAA8B,EAAE,EAAE;IAC/E,OAAO,eAAe;QAClB,CAAC,CAAC,cAAc;QAChB,CAAC,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,EAAE,KAAK,2BAA2B,CAAC,OAAO,CAAC,CAAC;AAC3F,CAAC,CAAC"}
@@ -6,10 +6,10 @@ import { Button, Card, Icon } from '@gravity-ui/uikit';
6
6
  import { ResponseError } from '../../../../components/Errors/ResponseError';
7
7
  import { ResizeableDataTable } from '../../../../components/ResizeableDataTable/ResizeableDataTable';
8
8
  import { hotKeysApi } from '../../../../store/reducers/hotKeys/hotKeys';
9
- import { useGetSchemaQuery } from '../../../../store/reducers/schema/schema';
9
+ import { overviewApi } from '../../../../store/reducers/overview/overview';
10
10
  import { cn } from '../../../../utils/cn';
11
11
  import { DEFAULT_TABLE_SETTINGS, IS_HOTKEYS_HELP_HIDDEN_KEY } from '../../../../utils/constants';
12
- import { useSetting } from '../../../../utils/hooks';
12
+ import { useAutoRefreshInterval, useSetting } from '../../../../utils/hooks';
13
13
  import i18n from './i18n';
14
14
  import keyIcon from '../../../../assets/icons/key.svg';
15
15
  import './HotKeys.scss';
@@ -41,7 +41,14 @@ export function HotKeys({ path, database }) {
41
41
  var _a, _b;
42
42
  const { currentData: data, isFetching, error } = hotKeysApi.useGetHotKeysQuery({ path, database });
43
43
  const loading = isFetching && data === undefined;
44
- const { data: schemaData, isLoading: schemaLoading } = useGetSchemaQuery({ path, database });
44
+ const [autoRefreshInterval] = useAutoRefreshInterval();
45
+ const { currentData, isLoading: schemaLoading } = overviewApi.useGetOverviewQuery({
46
+ paths: [path],
47
+ database,
48
+ }, {
49
+ pollingInterval: autoRefreshInterval,
50
+ });
51
+ const { data: schemaData } = currentData !== null && currentData !== void 0 ? currentData : {};
45
52
  const keyColumnsIds = (_b = (_a = schemaData === null || schemaData === void 0 ? void 0 : schemaData.PathDescription) === null || _a === void 0 ? void 0 : _a.Table) === null || _b === void 0 ? void 0 : _b.KeyColumnNames;
46
53
  const tableColumns = React.useMemo(() => {
47
54
  return getHotKeysColumns(keyColumnsIds);
@@ -1 +1 @@
1
- {"version":3,"file":"HotKeys.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Diagnostics/HotKeys/HotKeys.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,KAAK,EAAC,MAAM,mBAAmB,CAAC;AACxC,OAAO,SAAS,MAAM,8BAA8B,CAAC;AAErD,OAAO,EAAC,MAAM,EAAE,IAAI,EAAE,IAAI,EAAC,MAAM,mBAAmB,CAAC;AAErD,OAAO,EAAC,aAAa,EAAC,MAAM,6CAA6C,CAAC;AAC1E,OAAO,EAAC,mBAAmB,EAAC,MAAM,gEAAgE,CAAC;AACnG,OAAO,EAAC,UAAU,EAAC,MAAM,4CAA4C,CAAC;AACtE,OAAO,EAAC,iBAAiB,EAAC,MAAM,0CAA0C,CAAC;AAE3E,OAAO,EAAC,EAAE,EAAC,MAAM,sBAAsB,CAAC;AACxC,OAAO,EAAC,sBAAsB,EAAE,0BAA0B,EAAC,MAAM,6BAA6B,CAAC;AAC/F,OAAO,EAAC,UAAU,EAAC,MAAM,yBAAyB,CAAC;AAEnD,OAAO,IAAI,MAAM,QAAQ,CAAC;AAE1B,OAAO,OAAO,MAAM,kCAAkC,CAAC;AAEvD,OAAO,gBAAgB,CAAC;AAExB,MAAM,CAAC,GAAG,EAAE,CAAC,cAAc,CAAC,CAAC;AAE7B,MAAM,eAAe,GAAG;IACpB,YAAY,EAAE,cAAc;IAC5B,SAAS,EAAE,WAAW;CAChB,CAAC;AAEX,MAAM,iBAAiB,GAAG,CAAC,gBAA0B,EAAE,EAAoB,EAAE;IACzE,MAAM,WAAW,GAAqB,aAAa,CAAC,GA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,CAAC,UAAU,EAAE,aAAa,CAAC,GAAG,UAAU,CAAC,0BAA0B,CAAC,CAAC;IAE3E,IAAI,UAAU,EAAE,CAAC;QACb,OAAO,IAAI,CAAC;IAChB,CAAC;IAED,OAAO,CACH,MAAC,IAAI,IAAC,KAAK,EAAC,MAAM,EAAC,IAAI,EAAC,QAAQ,EAAC,IAAI,EAAC,WAAW,EAAC,SAAS,EAAE,CAAC,CAAC,WAAW,CAAC,aACtE,IAAI,CAAC,MAAM,CAAC,EACb,KAAC,MAAM,IACH,SAAS,EAAE,CAAC,CAAC,yBAAyB,CAAC,EACvC,IAAI,EAAC,MAAM,EACX,OAAO,EAAE,GAAG,EAAE,CAAC,aAAa,CAAC,IAAI,CAAC,YAElC,KAAC,IAAI,IAAC,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,GAAI,GAC1B,IACN,CACV,CAAC;AACN,CAAC"}
@@ -6,7 +6,7 @@ import { ResponseError } from '../../../../components/Errors/ResponseError';
6
6
  import { TableIndexInfo } from '../../../../components/InfoViewer/schemaInfo';
7
7
  import { Loader } from '../../../../components/Loader';
8
8
  import { overviewApi } from '../../../../store/reducers/overview/overview';
9
- import { selectSchemaMergedChildrenPaths, useGetSchemaQuery, } from '../../../../store/reducers/schema/schema';
9
+ import { selectSchemaMergedChildrenPaths } from '../../../../store/reducers/schema/schema';
10
10
  import { EPathType } from '../../../../types/api/schema';
11
11
  import { useAutoRefreshInterval, useTypedSelector } from '../../../../utils/hooks';
12
12
  import { ExternalDataSourceInfo } from '../../Info/ExternalDataSource/ExternalDataSource';
@@ -34,7 +34,6 @@ function Overview({ type, path, database }) {
34
34
  });
35
35
  const overviewLoading = isFetching && currentData === undefined;
36
36
  const { data: rawData, additionalData } = currentData || {};
37
- const { error: schemaError } = useGetSchemaQuery({ path, database });
38
37
  const entityLoading = overviewLoading;
39
38
  const entityNotReady = isEntityWithMergedImpl && !mergedChildrenPaths;
40
39
  const renderContent = () => {
@@ -66,7 +65,7 @@ function Overview({ type, path, database }) {
66
65
  if (entityLoading || entityNotReady) {
67
66
  return _jsx(Loader, { size: "m" });
68
67
  }
69
- return (_jsxs(React.Fragment, { children: [schemaError ? _jsx(ResponseError, { error: schemaError }) : null, overviewError ? _jsx(ResponseError, { error: overviewError }) : null, overviewError && !rawData ? null : renderContent()] }));
68
+ return (_jsxs(React.Fragment, { children: [overviewError ? _jsx(ResponseError, { error: overviewError }) : null, overviewError && !rawData ? null : renderContent()] }));
70
69
  }
71
70
  export default Overview;
72
71
  //# sourceMappingURL=Overview.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Overview.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Diagnostics/Overview/Overview.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,SAAS,EAAC,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAC,YAAY,EAAC,MAAM,aAAa,CAAC;AAEzC,OAAO,EAAC,aAAa,EAAC,MAAM,6CAA6C,CAAC;AAC1E,OAAO,EAAC,cAAc,EAAC,MAAM,8CAA8C,CAAC;AAC5E,OAAO,EAAC,MAAM,EAAC,MAAM,+BAA+B,CAAC;AACrD,OAAO,EAAC,WAAW,EAAC,MAAM,8CAA8C,CAAC;AACzE,OAAO,EACH,+BAA+B,EAC/B,iBAAiB,GACpB,MAAM,0CAA0C,CAAC;AAClD,OAAO,EAAC,SAAS,EAAC,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAC,sBAAsB,EAAE,gBAAgB,EAAC,MAAM,yBAAyB,CAAC;AACjF,OAAO,EAAC,sBAAsB,EAAC,MAAM,kDAAkD,CAAC;AACxF,OAAO,EAAC,iBAAiB,EAAC,MAAM,wCAAwC,CAAC;AACzE,OAAO,EAAC,QAAQ,EAAC,MAAM,sBAAsB,CAAC;AAC9C,OAAO,EAAC,gCAAgC,EAAC,MAAM,oBAAoB,CAAC;AAEpE,OAAO,EAAC,oBAAoB,EAAC,MAAM,wB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CAAC;IAC/B,CAAC;IAED,OAAO,CACH,MAAC,KAAK,CAAC,QAAQ,eACV,aAAa,CAAC,CAAC,CAAC,KAAC,aAAa,IAAC,KAAK,EAAE,aAAa,GAAI,CAAC,CAAC,CAAC,IAAI,EAC9D,aAAa,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,aAAa,EAAE,IACtC,CACpB,CAAC;AACN,CAAC;AAED,eAAe,QAAQ,CAAC"}
@@ -4,7 +4,7 @@ import { skipToken } from '@reduxjs/toolkit/query';
4
4
  import { ResponseError } from '../../../../components/Errors/ResponseError';
5
5
  import { ResizeableDataTable } from '../../../../components/ResizeableDataTable/ResizeableDataTable';
6
6
  import { TableSkeleton } from '../../../../components/TableSkeleton/TableSkeleton';
7
- import { nodesListApi, selectNodesMap } from '../../../../store/reducers/nodesList';
7
+ import { nodesListApi, selectNodeHostsMap } from '../../../../store/reducers/nodesList';
8
8
  import { partitionsApi, setSelectedConsumer } from '../../../../store/reducers/partitions/partitions';
9
9
  import { selectConsumersNames, topicApi } from '../../../../store/reducers/topic';
10
10
  import { cn } from '../../../../utils/cn';
@@ -27,7 +27,7 @@ export const Partitions = ({ path, database }) => {
27
27
  const topicLoading = topicIsFetching && topicData === undefined;
28
28
  const { currentData: nodesData, isFetching: nodesIsFetching, error: nodesError, } = nodesListApi.useGetNodesListQuery(undefined);
29
29
  const nodesLoading = nodesIsFetching && nodesData === undefined;
30
- const nodesMap = useTypedSelector(selectNodesMap);
30
+ const nodeHostsMap = useTypedSelector(selectNodeHostsMap);
31
31
  const [hiddenColumns, setHiddenColumns] = useSetting(PARTITIONS_HIDDEN_COLUMNS_KEY);
32
32
  const [columns, columnsIdsForSelector] = useGetPartitionsColumns(selectedConsumer);
33
33
  const params = topicLoading ? skipToken : { path, database, consumerName: selectedConsumer };
@@ -35,8 +35,8 @@ export const Partitions = ({ path, database }) => {
35
35
  const partitionsLoading = partitionsIsFetching && partitionsData === undefined;
36
36
  const rawPartitions = partitionsData;
37
37
  const partitionsWithHosts = React.useMemo(() => {
38
- return addHostToPartitions(rawPartitions, nodesMap);
39
- }, [rawPartitions, nodesMap]);
38
+ return addHostToPartitions(rawPartitions, nodeHostsMap);
39
+ }, [rawPartitions, nodeHostsMap]);
40
40
  // Wrong consumer could be passed in search query
41
41
  // Reset consumer if it doesn't exist for current topic
42
42
  React.useEffect(() => {
@@ -1 +1 @@
1
- {"version":3,"file":"Partitions.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Diagnostics/Partitions/Partitions.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,SAAS,EAAC,MAAM,wBAAwB,CAAC;AAEjD,OAAO,EAAC,aAAa,EAAC,MAAM,6CAA6C,CAAC;AAC1E,OAAO,EAAC,mBAAmB,EAAC,MAAM,gEAAgE,CAAC;AACnG,OAAO,EAAC,aAAa,EAAC,MAAM,oDAAoD,CAAC;AACjF,OAAO,EAAC,YAAY,EAAE,cAAc,EAAC,MAAM,sCAAsC,CAAC;AAClF,OAAO,EAAC,aAAa,EAAE,mBAAmB,EAAC,MAAM,kDAAkD,CAAC;AACpG,OAAO,EAAC,oBAAoB,EAAE,QAAQ,EAAC,MAAM,kCAAkC,CAAC;AAChF,OAAO,EAAC,EAAE,EAAC,MAAM,sBAAsB,CAAC;AACxC,OAAO,EAAC,sBAAsB,EAAE,6BAA6B,EAAC,MAAM,6BAA6B,CAAC;AAClG,OAAO,EACH,sBAAsB,EACtB,UAAU,EACV,gBAAgB,EAChB,gBAAgB,GACnB,MAAM,yBAAyB,CAAC;AAEjC,OAAO,EAAC,kBAAkB,EAAC,MAAM,yCAAyC,CAAC;AAC3E,OAAO,EAAC,+BAA+B,EAAC,MAAM,WAAW,CAAC;AAC1D,OAAO,IAAI,MAAM,QAAQ,CAAC;AAC1B,OAAO,EAAC,mBAAmB,EAAC,MAAM,SAAS,CAAC;AAE5C,OAAO,EAAC,uBAAuB,EAA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,EAChC,gBAAgB,EAAE,IAAI,CAAC,wBAAwB,CAAC,GAClD,CACL,CAAC;IACN,CAAC,CAAC;IAEF,OAAO,CACH,eAAK,SAAS,EAAE,CAAC,EAAE,aACf,cAAK,SAAS,EAAE,CAAC,CAAC,UAAU,CAAC,YAAG,cAAc,EAAE,GAAO,EACtD,KAAK,CAAC,CAAC,CAAC,KAAC,aAAa,IAAC,KAAK,EAAE,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,EAC/C,cAAK,SAAS,EAAE,CAAC,CAAC,eAAe,CAAC,YAC9B,cAAK,SAAS,EAAE,CAAC,CAAC,eAAe,CAAC,YAAG,cAAc,CAAC,CAAC,CAAC,aAAa,EAAE,CAAC,CAAC,CAAC,IAAI,GAAO,GACjF,IACJ,CACT,CAAC;AACN,CAAC,CAAC"}
1
+ {"version":3,"file":"Partitions.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Diagnostics/Partitions/Partitions.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,SAAS,EAAC,MAAM,wBAAwB,CAAC;AAEjD,OAAO,EAAC,aAAa,EAAC,MAAM,6CAA6C,CAAC;AAC1E,OAAO,EAAC,mBAAmB,EAAC,MAAM,gEAAgE,CAAC;AACnG,OAAO,EAAC,aAAa,EAAC,MAAM,oDAAoD,CAAC;AACjF,OAAO,EAAC,YAAY,EAAE,kBAAkB,EAAC,MAAM,sCAAsC,CAAC;AACtF,OAAO,EAAC,aAAa,EAAE,mBAAmB,EAAC,MAAM,kDAAkD,CAAC;AACpG,OAAO,EAAC,oBAAoB,EAAE,QAAQ,EAAC,MAAM,kCAAkC,CAAC;AAChF,OAAO,EAAC,EAAE,EAAC,MAAM,sBAAsB,CAAC;AACxC,OAAO,EAAC,sBAAsB,EAAE,6BAA6B,EAAC,MAAM,6BAA6B,CAAC;AAClG,OAAO,EACH,sBAAsB,EACtB,UAAU,EACV,gBAAgB,EAChB,gBAAgB,G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Aa,IAAC,SAAS,EAAE,CAAC,CAAC,QAAQ,CAAC,GAAI,CAAC;QACrD,CAAC;QAED,OAAO,CACH,KAAC,mBAAmB,IAChB,iBAAiB,EAAE,+BAA+B,EAClD,gBAAgB,EAAE,CAAC,CAAC,OAAO,CAAC,EAC5B,IAAI,EAAE,kBAAkB,EACxB,OAAO,EAAE,aAAa,EACtB,QAAQ,EAAE,sBAAsB,EAChC,gBAAgB,EAAE,IAAI,CAAC,wBAAwB,CAAC,GAClD,CACL,CAAC;IACN,CAAC,CAAC;IAEF,OAAO,CACH,eAAK,SAAS,EAAE,CAAC,EAAE,aACf,cAAK,SAAS,EAAE,CAAC,CAAC,UAAU,CAAC,YAAG,cAAc,EAAE,GAAO,EACtD,KAAK,CAAC,CAAC,CAAC,KAAC,aAAa,IAAC,KAAK,EAAE,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,EAC/C,cAAK,SAAS,EAAE,CAAC,CAAC,eAAe,CAAC,YAC9B,cAAK,SAAS,EAAE,CAAC,CAAC,eAAe,CAAC,YAAG,cAAc,CAAC,CAAC,CAAC,aAAa,EAAE,CAAC,CAAC,CAAC,IAAI,GAAO,GACjF,IACJ,CACT,CAAC;AACN,CAAC,CAAC"}
@@ -1,4 +1,4 @@
1
1
  import type { PreparedPartitionData } from '../../../../../store/reducers/partitions/types';
2
- import type { NodesMap } from '../../../../../types/store/nodesList';
2
+ import type { NodeHostsMap } from '../../../../../types/store/nodesList';
3
3
  import type { PreparedPartitionDataWithHosts } from './types';
4
- export declare const addHostToPartitions: (partitions?: PreparedPartitionData[], nodesMap?: NodesMap) => PreparedPartitionDataWithHosts[];
4
+ export declare const addHostToPartitions: (partitions?: PreparedPartitionData[], nodeHosts?: NodeHostsMap) => PreparedPartitionDataWithHosts[];
@@ -1,10 +1,10 @@
1
- export const addHostToPartitions = (partitions = [], nodesMap) => {
1
+ export const addHostToPartitions = (partitions = [], nodeHosts) => {
2
2
  return partitions === null || partitions === void 0 ? void 0 : partitions.map((partition) => {
3
- const partitionHost = partition.partitionNodeId && nodesMap
4
- ? nodesMap.get(partition.partitionNodeId)
3
+ const partitionHost = partition.partitionNodeId && nodeHosts
4
+ ? nodeHosts.get(partition.partitionNodeId)
5
5
  : undefined;
6
- const connectionHost = partition.connectionNodeId && nodesMap
7
- ? nodesMap.get(partition.connectionNodeId)
6
+ const connectionHost = partition.connectionNodeId && nodeHosts
7
+ ? nodeHosts.get(partition.connectionNodeId)
8
8
  : undefined;
9
9
  return {
10
10
  ...partition,
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/containers/Tenant/Diagnostics/Partitions/utils/index.ts"],"names":[],"mappings":"AAKA,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAC/B,aAAsC,EAAE,EACxC,QAAmB,EACa,EAAE;IAClC,OAAO,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,GAAG,CAAC,CAAC,SAAS,EAAE,EAAE;QACjC,MAAM,aAAa,GACf,SAAS,CAAC,eAAe,IAAI,QAAQ;YACjC,CAAC,CAAC,QAAQ,CAAC,GAAG,CAAC,SAAS,CAAC,eAAe,CAAC;YACzC,CAAC,CAAC,SAAS,CAAC;QAEpB,MAAM,cAAc,GAChB,SAAS,CAAC,gBAAgB,IAAI,QAAQ;YAClC,CAAC,CAAC,QAAQ,CAAC,GAAG,CAAC,SAAS,CAAC,gBAAgB,CAAC;YAC1C,CAAC,CAAC,SAAS,CAAC;QAEpB,OAAO;YACH,GAAG,SAAS;YACZ,aAAa;YACb,cAAc;SACjB,CAAC;IACN,CAAC,CAAC,CAAC;AACP,CAAC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/containers/Tenant/Diagnostics/Partitions/utils/index.ts"],"names":[],"mappings":"AAKA,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAC/B,aAAsC,EAAE,EACxC,SAAwB,EACQ,EAAE;IAClC,OAAO,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,GAAG,CAAC,CAAC,SAAS,EAAE,EAAE;QACjC,MAAM,aAAa,GACf,SAAS,CAAC,eAAe,IAAI,SAAS;YAClC,CAAC,CAAC,SAAS,CAAC,GAAG,CAAC,SAAS,CAAC,eAAe,CAAC;YAC1C,CAAC,CAAC,SAAS,CAAC;QAEpB,MAAM,cAAc,GAChB,SAAS,CAAC,gBAAgB,IAAI,SAAS;YACnC,CAAC,CAAC,SAAS,CAAC,GAAG,CAAC,SAAS,CAAC,gBAAgB,CAAC;YAC3C,CAAC,CAAC,SAAS,CAAC;QAEpB,OAAO;YACH,GAAG,SAAS;YACZ,aAAa;YACb,cAAc;SACjB,CAAC;IACN,CAAC,CAAC,CAAC;AACP,CAAC,CAAC"}
@@ -1,8 +1,10 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { nodesApi } from '../../../../../store/reducers/nodes/nodes';
2
3
  import { TENANT_DIAGNOSTICS_TABS_IDS } from '../../../../../store/reducers/tenant/constants';
3
- import { topNodesApi } from '../../../../../store/reducers/tenantOverview/topNodes/topNodes';
4
+ import { TENANT_OVERVIEW_TABLES_LIMIT } from '../../../../../utils/constants';
4
5
  import { useAutoRefreshInterval, useSearchQuery } from '../../../../../utils/hooks';
5
- import { NODES_COLUMNS_WIDTH_LS_KEY, getTopNodesByCpuColumns, } from '../../../../Nodes/getNodesColumns';
6
+ import { getTopNodesByCpuColumns } from '../../../../Nodes/columns/columns';
7
+ import { NODES_COLUMNS_WIDTH_LS_KEY } from '../../../../Nodes/columns/constants';
6
8
  import { TenantTabsGroups, getTenantPath } from '../../../TenantPages';
7
9
  import { TenantOverviewTableLayout } from '../TenantOverviewTableLayout';
8
10
  import { getSectionTitle } from '../getSectionTitle';
@@ -11,9 +13,14 @@ export function TopNodesByCpu({ tenantName, additionalNodesProps }) {
11
13
  const query = useSearchQuery();
12
14
  const [autoRefreshInterval] = useAutoRefreshInterval();
13
15
  const columns = getTopNodesByCpuColumns(additionalNodesProps === null || additionalNodesProps === void 0 ? void 0 : additionalNodesProps.getNodeRef);
14
- const { currentData, isFetching, error } = topNodesApi.useGetTopNodesQuery({ tenant: tenantName, sortValue: 'CPU' }, { pollingInterval: autoRefreshInterval });
16
+ const { currentData, isFetching, error } = nodesApi.useGetNodesQuery({
17
+ tenant: tenantName,
18
+ type: 'any',
19
+ sort: '-CPU',
20
+ limit: TENANT_OVERVIEW_TABLES_LIMIT,
21
+ }, { pollingInterval: autoRefreshInterval });
15
22
  const loading = isFetching && currentData === undefined;
16
- const topNodes = currentData;
23
+ const topNodes = (currentData === null || currentData === void 0 ? void 0 : currentData.Nodes) || [];
17
24
  const title = getSectionTitle({
18
25
  entity: i18n('nodes'),
19
26
  postfix: i18n('by-pools-usage'),
@@ -22,6 +29,6 @@ export function TopNodesByCpu({ tenantName, additionalNodesProps }) {
22
29
  [TenantTabsGroups.diagnosticsTab]: TENANT_DIAGNOSTICS_TABS_IDS.nodes,
23
30
  }),
24
31
  });
25
- return (_jsx(TenantOverviewTableLayout, { columnsWidthLSKey: NODES_COLUMNS_WIDTH_LS_KEY, data: topNodes || [], columns: columns, title: title, loading: loading, error: error, emptyDataMessage: i18n('top-nodes.empty-data') }));
32
+ return (_jsx(TenantOverviewTableLayout, { columnsWidthLSKey: NODES_COLUMNS_WIDTH_LS_KEY, data: topNodes, columns: columns, title: title, loading: loading, error: error, emptyDataMessage: i18n('top-nodes.empty-data') }));
26
33
  }
27
34
  //# sourceMappingURL=TopNodesByCpu.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"TopNodesByCpu.js","sourceRoot":"","sources":["../../../../../../src/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByCpu.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,2BAA2B,EAAC,MAAM,gDAAgD,CAAC;AAC3F,OAAO,EAAC,WAAW,EAAC,MAAM,gEAAgE,CAAC;AAE3F,OAAO,EAAC,sBAAsB,EAAE,cAAc,EAAC,MAAM,4BAA4B,CAAC;AAClF,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E,KAAK,EACZ,OAAO,EAAE,OAAO,EAChB,KAAK,EAAE,KAAK,EACZ,gBAAgB,EAAE,IAAI,CAAC,sBAAsB,CAAC,GAChD,CACL,CAAC;AACN,CAAC"}
1
+ {"version":3,"file":"TopNodesByCpu.js","sourceRoot":"","sources":["../../../../../../src/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByCpu.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,2CAA2C,CAAC;AACnE,OAAO,EAAC,2BAA2B,EAAC,MAAM,gDAAgD,CAAC;AAE3F,OAAO,EAAC,4BAA4B,EAAC,MAAM,gCAAgC,CAAC;AAC5E,OAAO,EAAC,sBAAsB,EAAE,cAAc,EAAC,MAAM,4BAA4B,CAAC;AAClF,OAAO,EAAC,uBAAuB,EAAC,MAAM,mCAAmC,CAAC;AAC1E,OAAO,EAAC,0BAA0B,EAAC,MAAM,qCAAqC,CAAC;AAC/E,OAAO,EAAC,gBAAgB,EAAE,aAAa,EAAC,MAAM,sBAAsB,CAAC;AACrE,OAAO,EAAC,yBAAyB,EAAC,MAAM,8BAA8B,CAAC;AACvE,OAAO,EAAC,eAAe,EAAC,MAAM,oBAAoB,CAAC;AACnD,OAAO,IAAI,MAAM,SAAS,CAAC;AAO3B,MAAM,UAAU,aAAa,CAAC,EAAC,UAAU,EAAE,oBAAoB,EAAqB;IAChF,MAAM,KAAK,GAAG,cAAc,EAAE,CAAC;IAE/B,MAAM,CAAC,mBAAmB,CAAC,GAAG,sBAAsB,EAAE,CAAC;IACvD,MAAM,OAAO,GAAG,uBAAuB,CAAC,oBAAoB,aAApB,oBAAoB,uBAApB,oBAAoB,CAAE,UAAU,CAAC,CAAC;IAE1E,MAAM,EAAC,WAAW,EAAE,UAAU,EAAE,KAAK,EAAC,GAAG,QAAQ,CAAC,gBAAgB,CAC9D;QACI,MAAM,EAAE,UAAU;QAClB,IAAI,EAAE,KAAK;QACX,IAAI,EAAE,MAAM;QACZ,KAAK,EAAE,4BAA4B;KACtC,EACD,EAAC,eAAe,EAAE,mBAAmB,EAAC,CACzC,CAAC;IAEF,MAAM,OAAO,GAAG,UAAU,IAAI,WAAW,KAAK,SAAS,CAAC;IAExD,MAAM,QAAQ,GAAG,CAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,KAAK,KAAI,EAAE,CAAC;IAE1C,MAAM,KAAK,GAAG,eAAe,CAAC;QAC1B,MAAM,EAAE,IAAI,CAAC,OAAO,CAAC;QACrB,OAAO,EAAE,IAAI,CAAC,gBAAgB,CAAC;QAC/B,IAAI,EAAE,aAAa,CAAC;YAChB,GAAG,KAAK;YACR,CAAC,gBAAgB,CAAC,cAAc,CAAC,EAAE,2BAA2B,CAAC,KAAK;SACvE,CAAC;KACL,CAAC,CAAC;IAEH,OAAO,CACH,KAAC,yBAAyB,IACtB,iBAAiB,EAAE,0BAA0B,EAC7C,IAAI,EAAE,QAAQ,EACd,OAAO,EAAE,OAAO,EAChB,KAAK,EAAE,KAAK,EACZ,OAAO,EAAE,OAAO,EAChB,KAAK,EAAE,KAAK,EACZ,gBAAgB,EAAE,IAAI,CAAC,sBAAsB,CAAC,GAChD,CACL,CAAC;AACN,CAAC"}
@@ -1,8 +1,10 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { nodesApi } from '../../../../../store/reducers/nodes/nodes';
2
3
  import { TENANT_DIAGNOSTICS_TABS_IDS } from '../../../../../store/reducers/tenant/constants';
3
- import { topNodesApi } from '../../../../../store/reducers/tenantOverview/topNodes/topNodes';
4
+ import { TENANT_OVERVIEW_TABLES_LIMIT } from '../../../../../utils/constants';
4
5
  import { useAutoRefreshInterval, useSearchQuery } from '../../../../../utils/hooks';
5
- import { NODES_COLUMNS_WIDTH_LS_KEY, getTopNodesByLoadColumns, } from '../../../../Nodes/getNodesColumns';
6
+ import { getTopNodesByLoadColumns } from '../../../../Nodes/columns/columns';
7
+ import { NODES_COLUMNS_WIDTH_LS_KEY } from '../../../../Nodes/columns/constants';
6
8
  import { TenantTabsGroups, getTenantPath } from '../../../TenantPages';
7
9
  import { TenantOverviewTableLayout } from '../TenantOverviewTableLayout';
8
10
  import { getSectionTitle } from '../getSectionTitle';
@@ -11,9 +13,14 @@ export function TopNodesByLoad({ tenantName, additionalNodesProps }) {
11
13
  const query = useSearchQuery();
12
14
  const [autoRefreshInterval] = useAutoRefreshInterval();
13
15
  const columns = getTopNodesByLoadColumns(additionalNodesProps === null || additionalNodesProps === void 0 ? void 0 : additionalNodesProps.getNodeRef);
14
- const { currentData, isFetching, error } = topNodesApi.useGetTopNodesQuery({ tenant: tenantName, sortValue: 'LoadAverage' }, { pollingInterval: autoRefreshInterval });
16
+ const { currentData, isFetching, error } = nodesApi.useGetNodesQuery({
17
+ tenant: tenantName,
18
+ type: 'any',
19
+ sort: '-LoadAverage',
20
+ limit: TENANT_OVERVIEW_TABLES_LIMIT,
21
+ }, { pollingInterval: autoRefreshInterval });
15
22
  const loading = isFetching && currentData === undefined;
16
- const topNodes = currentData;
23
+ const topNodes = (currentData === null || currentData === void 0 ? void 0 : currentData.Nodes) || [];
17
24
  const title = getSectionTitle({
18
25
  entity: i18n('nodes'),
19
26
  postfix: i18n('by-load'),
@@ -22,6 +29,6 @@ export function TopNodesByLoad({ tenantName, additionalNodesProps }) {
22
29
  [TenantTabsGroups.diagnosticsTab]: TENANT_DIAGNOSTICS_TABS_IDS.nodes,
23
30
  }),
24
31
  });
25
- return (_jsx(TenantOverviewTableLayout, { columnsWidthLSKey: NODES_COLUMNS_WIDTH_LS_KEY, data: topNodes || [], columns: columns, title: title, loading: loading, error: error, emptyDataMessage: i18n('top-nodes.empty-data') }));
32
+ return (_jsx(TenantOverviewTableLayout, { columnsWidthLSKey: NODES_COLUMNS_WIDTH_LS_KEY, data: topNodes, columns: columns, title: title, loading: loading, error: error, emptyDataMessage: i18n('top-nodes.empty-data') }));
26
33
  }
27
34
  //# sourceMappingURL=TopNodesByLoad.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"TopNodesByLoad.js","sourceRoot":"","sources":["../../../../../../src/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByLoad.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,2BAA2B,EAAC,MAAM,gDAAgD,CAAC;AAC3F,OAAO,EAAC,WAAW,EAAC,MAAM,gEAAgE,CAAC;AAE3F,OAAO,EAAC,sBAAsB,EAAE,cAAc,EAAC,MAAM,4BAA4B,CAAC;AAClF,OAAO,EACH,0BAA0B,EAC1B,wBAAwB,GAC3B,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAAC,gBAAgB,EAAE,aAAa,EAAC,MAAM,sBAAsB,CAAC;AACrE,OAAO,EAAC,yBAAyB,EAAC,MAAM,8BAA8B,CAAC;AACvE,OAAO,EAAC,eAAe,EAAC,MAAM,oBAAoB,CAAC;AACnD,OAAO,IAAI,MAAM,SAAS,CAAC;AAO3B,MAAM,UAAU,cAAc,CAAC,EAAC,UAAU,EAAE,oBAAoB,EAAsB;IAClF,MAAM,KAAK,GAAG,cAAc,EAAE,CAAC;IAE/B,MAAM,CAAC,mBAAmB,CAAC,GAAG,sBAAsB,EAAE,CAAC;IACvD,MAAM,OAAO,GAAG,wBAAwB,CAAC,oBAAoB,aAApB,oBAAoB,uBAApB,oBAAoB,CAAE,UAAU,CAAC,CAAC;IAE3E,MAAM,EAAC,WAAW,EAAE,UAAU,EAAE,KAAK,EAAC,GAAG,WAAW,CAAC,mBAAmB,CACpE,EAAC,MAAM,EAAE,UAAU,EAAE,SAAS,EAAE,aAAa,EAAC,EAC9C,EAAC,eAAe,EAAE,mBAAmB,EAAC,CACzC,CAAC;IAEF,MAAM,OAAO,GAAG,UAAU,IAAI,WAAW,KAAK,SAAS,CAAC;IACxD,MAAM,QAAQ,GAAG,WAAW,CAAC;IAE7B,MAAM,KAAK,GAAG,eAAe,CAAC;QAC1B,MAAM,EAAE,IAAI,CAAC,OAAO,CAAC;QACrB,OAAO,EAAE,IAAI,CAAC,SAAS,CAAC;QACxB,IAAI,EAAE,aAAa,CAAC;YAChB,GAAG,KAAK;YACR,CAAC,gBAAgB,CAAC,cAAc,CAAC,EAAE,2BAA2B,CAAC,KAAK;SACvE,CAAC;KACL,CAAC,CAAC;IAEH,OAAO,CACH,KAAC,yBAAyB,IACtB,iBAAiB,EAAE,0BAA0B,EAC7C,IAAI,EAAE,QAAQ,IAAI,EAAE,EACpB,OAAO,EAAE,OAAO,EAChB,KAAK,EAAE,KAAK,EACZ,OAAO,EAAE,OAAO,EAChB,KAAK,EAAE,KAAK,EACZ,gBAAgB,EAAE,IAAI,CAAC,sBAAsB,CAAC,GAChD,CACL,CAAC;AACN,CAAC"}
1
+ {"version":3,"file":"TopNodesByLoad.js","sourceRoot":"","sources":["../../../../../../src/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByLoad.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,2CAA2C,CAAC;AACnE,OAAO,EAAC,2BAA2B,EAAC,MAAM,gDAAgD,CAAC;AAE3F,OAAO,EAAC,4BAA4B,EAAC,MAAM,gCAAgC,CAAC;AAC5E,OAAO,EAAC,sBAAsB,EAAE,cAAc,EAAC,MAAM,4BAA4B,CAAC;AAClF,OAAO,EAAC,wBAAwB,EAAC,MAAM,mCAAmC,CAAC;AAC3E,OAAO,EAAC,0BAA0B,EAAC,MAAM,qCAAqC,CAAC;AAC/E,OAAO,EAAC,gBAAgB,EAAE,aAAa,EAAC,MAAM,sBAAsB,CAAC;AACrE,OAAO,EAAC,yBAAyB,EAAC,MAAM,8BAA8B,CAAC;AACvE,OAAO,EAAC,eAAe,EAAC,MAAM,oBAAoB,CAAC;AACnD,OAAO,IAAI,MAAM,SAAS,CAAC;AAO3B,MAAM,UAAU,cAAc,CAAC,EAAC,UAAU,EAAE,oBAAoB,EAAsB;IAClF,MAAM,KAAK,GAAG,cAAc,EAAE,CAAC;IAE/B,MAAM,CAAC,mBAAmB,CAAC,GAAG,sBAAsB,EAAE,CAAC;IACvD,MAAM,OAAO,GAAG,wBAAwB,CAAC,oBAAoB,aAApB,oBAAoB,uBAApB,oBAAoB,CAAE,UAAU,CAAC,CAAC;IAE3E,MAAM,EAAC,WAAW,EAAE,UAAU,EAAE,KAAK,EAAC,GAAG,QAAQ,CAAC,gBAAgB,CAC9D;QACI,MAAM,EAAE,UAAU;QAClB,IAAI,EAAE,KAAK;QACX,IAAI,EAAE,cAAc;QACpB,KAAK,EAAE,4BAA4B;KACtC,EACD,EAAC,eAAe,EAAE,mBAAmB,EAAC,CACzC,CAAC;IAEF,MAAM,OAAO,GAAG,UAAU,IAAI,WAAW,KAAK,SAAS,CAAC;IAExD,MAAM,QAAQ,GAAG,CAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,KAAK,KAAI,EAAE,CAAC;IAE1C,MAAM,KAAK,GAAG,eAAe,CAAC;QAC1B,MAAM,EAAE,IAAI,CAAC,OAAO,CAAC;QACrB,OAAO,EAAE,IAAI,CAAC,SAAS,CAAC;QACxB,IAAI,EAAE,aAAa,CAAC;YAChB,GAAG,KAAK;YACR,CAAC,gBAAgB,CAAC,cAAc,CAAC,EAAE,2BAA2B,CAAC,KAAK;SACvE,CAAC;KACL,CAAC,CAAC;IAEH,OAAO,CACH,KAAC,yBAAyB,IACtB,iBAAiB,EAAE,0BAA0B,EAC7C,IAAI,EAAE,QAAQ,EACd,OAAO,EAAE,OAAO,EAChB,KAAK,EAAE,KAAK,EACZ,OAAO,EAAE,OAAO,EAChB,KAAK,EAAE,KAAK,EACZ,gBAAgB,EAAE,IAAI,CAAC,sBAAsB,CAAC,GAChD,CACL,CAAC;AACN,CAAC"}
@@ -1,8 +1,10 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { nodesApi } from '../../../../../store/reducers/nodes/nodes';
2
3
  import { TENANT_DIAGNOSTICS_TABS_IDS } from '../../../../../store/reducers/tenant/constants';
3
- import { topNodesApi } from '../../../../../store/reducers/tenantOverview/topNodes/topNodes';
4
+ import { TENANT_OVERVIEW_TABLES_LIMIT } from '../../../../../utils/constants';
4
5
  import { useAutoRefreshInterval, useSearchQuery } from '../../../../../utils/hooks';
5
- import { NODES_COLUMNS_WIDTH_LS_KEY, getTopNodesByMemoryColumns, } from '../../../../Nodes/getNodesColumns';
6
+ import { getTopNodesByMemoryColumns } from '../../../../Nodes/columns/columns';
7
+ import { NODES_COLUMNS_WIDTH_LS_KEY } from '../../../../Nodes/columns/constants';
6
8
  import { TenantTabsGroups, getTenantPath } from '../../../TenantPages';
7
9
  import { TenantOverviewTableLayout } from '../TenantOverviewTableLayout';
8
10
  import { getSectionTitle } from '../getSectionTitle';
@@ -13,9 +15,15 @@ export function TopNodesByMemory({ tenantName, additionalNodesProps }) {
13
15
  const columns = getTopNodesByMemoryColumns({
14
16
  getNodeRef: additionalNodesProps === null || additionalNodesProps === void 0 ? void 0 : additionalNodesProps.getNodeRef,
15
17
  });
16
- const { currentData, isFetching, error } = topNodesApi.useGetTopNodesQuery({ tenant: tenantName, sortValue: 'Memory', tablets: true }, { pollingInterval: autoRefreshInterval });
18
+ const { currentData, isFetching, error } = nodesApi.useGetNodesQuery({
19
+ tenant: tenantName,
20
+ type: 'any',
21
+ tablets: true,
22
+ sort: '-Memory',
23
+ limit: TENANT_OVERVIEW_TABLES_LIMIT,
24
+ }, { pollingInterval: autoRefreshInterval });
17
25
  const loading = isFetching && currentData === undefined;
18
- const topNodes = currentData;
26
+ const topNodes = (currentData === null || currentData === void 0 ? void 0 : currentData.Nodes) || [];
19
27
  const title = getSectionTitle({
20
28
  entity: i18n('nodes'),
21
29
  postfix: i18n('by-memory'),
@@ -24,6 +32,6 @@ export function TopNodesByMemory({ tenantName, additionalNodesProps }) {
24
32
  [TenantTabsGroups.diagnosticsTab]: TENANT_DIAGNOSTICS_TABS_IDS.nodes,
25
33
  }),
26
34
  });
27
- return (_jsx(TenantOverviewTableLayout, { columnsWidthLSKey: NODES_COLUMNS_WIDTH_LS_KEY, data: topNodes || [], columns: columns, title: title, loading: loading, error: error, emptyDataMessage: i18n('top-nodes.empty-data') }));
35
+ return (_jsx(TenantOverviewTableLayout, { columnsWidthLSKey: NODES_COLUMNS_WIDTH_LS_KEY, data: topNodes, columns: columns, title: title, loading: loading, error: error, emptyDataMessage: i18n('top-nodes.empty-data') }));
28
36
  }
29
37
  //# sourceMappingURL=TopNodesByMemory.js.map