ydb-embedded-ui 6.20.0 → 6.22.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (313) 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 +3 -4
  8. package/dist/components/PDiskInfo/PDiskInfo.js.map +1 -1
  9. package/dist/components/PDiskInfo/PDiskInfo.scss +0 -14
  10. package/dist/components/PDiskInfo/i18n/index.d.ts +1 -1
  11. package/dist/components/QueryResultTable/Cell/Cell.js +1 -4
  12. package/dist/components/QueryResultTable/Cell/Cell.js.map +1 -1
  13. package/dist/components/StorageGroupInfo/StorageGroupInfo.d.ts +8 -0
  14. package/dist/components/StorageGroupInfo/StorageGroupInfo.js +123 -0
  15. package/dist/components/StorageGroupInfo/StorageGroupInfo.js.map +1 -0
  16. package/dist/components/StorageGroupInfo/i18n/en.json +22 -0
  17. package/dist/components/StorageGroupInfo/i18n/index.d.ts +1 -0
  18. package/dist/components/StorageGroupInfo/i18n/index.js +5 -0
  19. package/dist/components/StorageGroupInfo/i18n/index.js.map +1 -0
  20. package/dist/components/VDisk/VDisk.d.ts +2 -1
  21. package/dist/components/VDisk/VDisk.js +2 -2
  22. package/dist/components/VDisk/VDisk.js.map +1 -1
  23. package/dist/components/VDiskInfo/VDiskInfo.js +1 -3
  24. package/dist/components/VDiskInfo/VDiskInfo.js.map +1 -1
  25. package/dist/components/VDiskInfo/i18n/index.d.ts +1 -1
  26. package/dist/containers/App/App.scss +1 -1
  27. package/dist/containers/App/Content.js +7 -1
  28. package/dist/containers/App/Content.js.map +1 -1
  29. package/dist/containers/App/appSlots.d.ts +6 -0
  30. package/dist/containers/App/appSlots.js +1 -0
  31. package/dist/containers/App/appSlots.js.map +1 -1
  32. package/dist/containers/Cluster/Cluster.js +1 -1
  33. package/dist/containers/Cluster/Cluster.js.map +1 -1
  34. package/dist/containers/Cluster/i18n/index.d.ts +1 -1
  35. package/dist/containers/Clusters/Clusters.js +3 -3
  36. package/dist/containers/Clusters/Clusters.js.map +1 -1
  37. package/dist/containers/Clusters/columns.js +2 -2
  38. package/dist/containers/Clusters/columns.js.map +1 -1
  39. package/dist/containers/Clusters/constants.d.ts +4 -4
  40. package/dist/containers/Clusters/constants.js +3 -3
  41. package/dist/containers/Clusters/constants.js.map +1 -1
  42. package/dist/containers/Header/breadcrumbs.js +14 -0
  43. package/dist/containers/Header/breadcrumbs.js.map +1 -1
  44. package/dist/containers/Header/i18n/en.json +2 -1
  45. package/dist/containers/Header/i18n/index.d.ts +1 -1
  46. package/dist/containers/Node/Node.js +14 -4
  47. package/dist/containers/Node/Node.js.map +1 -1
  48. package/dist/containers/Node/NodePages.js +4 -5
  49. package/dist/containers/Node/NodePages.js.map +1 -1
  50. package/dist/containers/Nodes/Nodes.js +10 -11
  51. package/dist/containers/Nodes/Nodes.js.map +1 -1
  52. package/dist/containers/Nodes/PaginatedNodes.js +10 -11
  53. package/dist/containers/Nodes/PaginatedNodes.js.map +1 -1
  54. package/dist/containers/Nodes/{getNodesColumns.d.ts → columns/columns.d.ts} +3 -10
  55. package/dist/containers/Nodes/{getNodesColumns.js → columns/columns.js} +29 -39
  56. package/dist/containers/Nodes/columns/columns.js.map +1 -0
  57. package/dist/containers/Nodes/columns/constants.d.ts +39 -0
  58. package/dist/containers/Nodes/columns/constants.js +79 -0
  59. package/dist/containers/Nodes/columns/constants.js.map +1 -0
  60. package/dist/containers/Nodes/columns/hooks.d.ts +6 -0
  61. package/dist/containers/Nodes/columns/hooks.js +11 -0
  62. package/dist/containers/Nodes/columns/hooks.js.map +1 -0
  63. package/dist/containers/Nodes/columns/i18n/en.json +16 -0
  64. package/dist/containers/Nodes/columns/i18n/index.d.ts +2 -0
  65. package/dist/containers/Nodes/columns/i18n/index.js +5 -0
  66. package/dist/containers/Nodes/columns/i18n/index.js.map +1 -0
  67. package/dist/containers/Nodes/columns/types.d.ts +9 -0
  68. package/dist/containers/Nodes/columns/types.js +2 -0
  69. package/dist/containers/Nodes/columns/types.js.map +1 -0
  70. package/dist/containers/Nodes/getNodes.d.ts +3 -2
  71. package/dist/containers/Nodes/getNodes.js +6 -3
  72. package/dist/containers/Nodes/getNodes.js.map +1 -1
  73. package/dist/containers/PDiskPage/PDiskPage.js +11 -9
  74. package/dist/containers/PDiskPage/PDiskPage.js.map +1 -1
  75. package/dist/containers/PDiskPage/PDiskPage.scss +15 -4
  76. package/dist/containers/PDiskPage/i18n/en.json +1 -1
  77. package/dist/containers/PDiskPage/i18n/index.d.ts +1 -1
  78. package/dist/containers/ReduxTooltip/ReduxTooltip.js +7 -7
  79. package/dist/containers/ReduxTooltip/ReduxTooltip.js.map +1 -1
  80. package/dist/containers/Storage/PDisk/PDisk.d.ts +4 -4
  81. package/dist/containers/Storage/PDisk/PDisk.js +2 -2
  82. package/dist/containers/Storage/PDisk/PDisk.js.map +1 -1
  83. package/dist/containers/Storage/PaginatedStorage.d.ts +2 -3
  84. package/dist/containers/Storage/PaginatedStorage.js +27 -6
  85. package/dist/containers/Storage/PaginatedStorage.js.map +1 -1
  86. package/dist/containers/Storage/Storage.d.ts +4 -4
  87. package/dist/containers/Storage/Storage.js +45 -11
  88. package/dist/containers/Storage/Storage.js.map +1 -1
  89. package/dist/containers/Storage/StorageControls/StorageControls.d.ts +4 -1
  90. package/dist/containers/Storage/StorageControls/StorageControls.js +4 -2
  91. package/dist/containers/Storage/StorageControls/StorageControls.js.map +1 -1
  92. package/dist/containers/Storage/StorageGroups/PaginatedStorageGroups.d.ts +3 -1
  93. package/dist/containers/Storage/StorageGroups/PaginatedStorageGroups.js +2 -4
  94. package/dist/containers/Storage/StorageGroups/PaginatedStorageGroups.js.map +1 -1
  95. package/dist/containers/Storage/StorageGroups/StorageGroups.d.ts +3 -1
  96. package/dist/containers/Storage/StorageGroups/StorageGroups.js +2 -4
  97. package/dist/containers/Storage/StorageGroups/StorageGroups.js.map +1 -1
  98. package/dist/containers/Storage/StorageGroups/columns/columns.d.ts +4 -0
  99. package/dist/containers/Storage/StorageGroups/columns/{getStorageGroupsColumns.js → columns.js} +36 -82
  100. package/dist/containers/Storage/StorageGroups/columns/columns.js.map +1 -0
  101. package/dist/containers/Storage/StorageGroups/columns/constants.d.ts +37 -0
  102. package/dist/containers/Storage/StorageGroups/columns/constants.js +75 -0
  103. package/dist/containers/Storage/StorageGroups/columns/constants.js.map +1 -0
  104. package/dist/containers/Storage/StorageGroups/columns/hooks.d.ts +6 -2
  105. package/dist/containers/Storage/StorageGroups/columns/hooks.js +22 -14
  106. package/dist/containers/Storage/StorageGroups/columns/hooks.js.map +1 -1
  107. package/dist/containers/Storage/StorageGroups/columns/i18n/en.json +15 -0
  108. package/dist/containers/Storage/StorageGroups/columns/i18n/index.d.ts +2 -0
  109. package/dist/containers/Storage/StorageGroups/columns/i18n/index.js +5 -0
  110. package/dist/containers/Storage/StorageGroups/columns/i18n/index.js.map +1 -0
  111. package/dist/containers/Storage/StorageGroups/columns/types.d.ts +2 -6
  112. package/dist/containers/Storage/StorageGroups/getGroups.js +4 -1
  113. package/dist/containers/Storage/StorageGroups/getGroups.js.map +1 -1
  114. package/dist/containers/Storage/StorageNodes/PaginatedStorageNodes.d.ts +3 -3
  115. package/dist/containers/Storage/StorageNodes/PaginatedStorageNodes.js +2 -5
  116. package/dist/containers/Storage/StorageNodes/PaginatedStorageNodes.js.map +1 -1
  117. package/dist/containers/Storage/StorageNodes/StorageNodes.d.ts +4 -6
  118. package/dist/containers/Storage/StorageNodes/StorageNodes.js +2 -4
  119. package/dist/containers/Storage/StorageNodes/StorageNodes.js.map +1 -1
  120. package/dist/containers/Storage/StorageNodes/StorageNodes.scss +1 -27
  121. package/dist/containers/Storage/StorageNodes/columns/StorageNodesColumns.scss +23 -0
  122. package/dist/containers/Storage/StorageNodes/columns/columns.d.ts +39 -0
  123. package/dist/containers/Storage/StorageNodes/{getStorageNodesColumns.js → columns/columns.js} +21 -31
  124. package/dist/containers/Storage/StorageNodes/columns/columns.js.map +1 -0
  125. package/dist/containers/Storage/StorageNodes/columns/constants.d.ts +25 -0
  126. package/dist/containers/Storage/StorageNodes/columns/constants.js +47 -0
  127. package/dist/containers/Storage/StorageNodes/columns/constants.js.map +1 -0
  128. package/dist/containers/Storage/StorageNodes/columns/hooks.d.ts +43 -0
  129. package/dist/containers/Storage/StorageNodes/columns/hooks.js +18 -0
  130. package/dist/containers/Storage/StorageNodes/columns/hooks.js.map +1 -0
  131. package/dist/containers/Storage/StorageNodes/columns/i18n/en.json +9 -0
  132. package/dist/containers/Storage/StorageNodes/columns/i18n/index.d.ts +2 -0
  133. package/dist/containers/Storage/StorageNodes/columns/i18n/index.js +5 -0
  134. package/dist/containers/Storage/StorageNodes/columns/i18n/index.js.map +1 -0
  135. package/dist/containers/Storage/StorageNodes/columns/types.d.ts +11 -0
  136. package/dist/containers/Storage/StorageNodes/columns/types.js +2 -0
  137. package/dist/containers/Storage/StorageNodes/columns/types.js.map +1 -0
  138. package/dist/containers/Storage/StorageNodes/getNodes.d.ts +2 -2
  139. package/dist/containers/Storage/StorageNodes/getNodes.js +7 -4
  140. package/dist/containers/Storage/StorageNodes/getNodes.js.map +1 -1
  141. package/dist/containers/Storage/StorageNodes/shared.js +1 -1
  142. package/dist/containers/Storage/StorageNodes/shared.js.map +1 -1
  143. package/dist/containers/Storage/StorageWrapper.d.ts +0 -2
  144. package/dist/containers/Storage/StorageWrapper.js.map +1 -1
  145. package/dist/containers/Storage/utils/index.js +6 -5
  146. package/dist/containers/Storage/utils/index.js.map +1 -1
  147. package/dist/containers/StorageGroupPage/StorageGroupPage.d.ts +2 -0
  148. package/dist/containers/StorageGroupPage/StorageGroupPage.js +74 -0
  149. package/dist/containers/StorageGroupPage/StorageGroupPage.js.map +1 -0
  150. package/dist/containers/StorageGroupPage/StorageGroupPage.scss +37 -0
  151. package/dist/containers/StorageGroupPage/i18n/en.json +5 -0
  152. package/dist/containers/StorageGroupPage/i18n/index.d.ts +1 -0
  153. package/dist/containers/StorageGroupPage/i18n/index.js +5 -0
  154. package/dist/containers/StorageGroupPage/i18n/index.js.map +1 -0
  155. package/dist/containers/Tablets/i18n/index.d.ts +1 -1
  156. package/dist/containers/Tenant/Diagnostics/Diagnostics.js +4 -2
  157. package/dist/containers/Tenant/Diagnostics/Diagnostics.js.map +1 -1
  158. package/dist/containers/Tenant/Diagnostics/DiagnosticsPages.d.ts +36 -0
  159. package/dist/containers/Tenant/Diagnostics/DiagnosticsPages.js +7 -2
  160. package/dist/containers/Tenant/Diagnostics/DiagnosticsPages.js.map +1 -1
  161. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByCpu.js +12 -5
  162. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByCpu.js.map +1 -1
  163. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByLoad.js +12 -5
  164. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByLoad.js.map +1 -1
  165. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TopNodesByMemory.js +13 -5
  166. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TopNodesByMemory.js.map +1 -1
  167. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopGroups.js +2 -1
  168. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopGroups.js.map +1 -1
  169. package/dist/containers/Tenant/Diagnostics/TenantOverview/i18n/index.d.ts +1 -1
  170. package/dist/containers/Tenant/ObjectSummary/ObjectSummary.js +46 -55
  171. package/dist/containers/Tenant/ObjectSummary/ObjectSummary.js.map +1 -1
  172. package/dist/containers/Tenant/ObjectSummary/ObjectSummary.scss +6 -7
  173. package/dist/containers/Tenant/ObjectSummary/ObjectTree.d.ts +6 -0
  174. package/dist/containers/Tenant/ObjectSummary/ObjectTree.js +25 -0
  175. package/dist/containers/Tenant/ObjectSummary/ObjectTree.js.map +1 -0
  176. package/dist/containers/Tenant/ObjectSummary/SchemaActions.d.ts +1 -0
  177. package/dist/containers/Tenant/ObjectSummary/SchemaActions.js +18 -0
  178. package/dist/containers/Tenant/ObjectSummary/SchemaActions.js.map +1 -0
  179. package/dist/containers/Tenant/ObjectSummary/i18n/en.json +21 -0
  180. package/dist/containers/Tenant/ObjectSummary/i18n/index.d.ts +2 -0
  181. package/dist/containers/Tenant/ObjectSummary/i18n/index.js +5 -0
  182. package/dist/containers/Tenant/ObjectSummary/i18n/index.js.map +1 -0
  183. package/dist/containers/Tenant/ObjectSummary/shared.d.ts +1 -0
  184. package/dist/containers/Tenant/ObjectSummary/shared.js +3 -0
  185. package/dist/containers/Tenant/ObjectSummary/shared.js.map +1 -0
  186. package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.js +12 -12
  187. package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.js.map +1 -1
  188. package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.scss +8 -0
  189. package/dist/containers/Tenant/Query/ExecuteResult/i18n/en.json +2 -1
  190. package/dist/containers/Tenant/Query/ExecuteResult/i18n/index.d.ts +1 -1
  191. package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettings.js +3 -1
  192. package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettings.js.map +1 -1
  193. package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettings.test.js +5 -10
  194. package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettings.test.js.map +1 -1
  195. package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettingsDescription.js +5 -3
  196. package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettingsDescription.js.map +1 -1
  197. package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettingsDescription.test.js +6 -10
  198. package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettingsDescription.test.js.map +1 -1
  199. package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsDialog.js +11 -2
  200. package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsDialog.js.map +1 -1
  201. package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsDialog.scss +1 -0
  202. package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsSelect.d.ts +1 -0
  203. package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsSelect.js +1 -1
  204. package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsSelect.js.map +1 -1
  205. package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.d.ts +3 -0
  206. package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.js +3 -0
  207. package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.js.map +1 -1
  208. package/dist/containers/Tenant/Query/QuerySettingsDialog/i18n/en.json +3 -0
  209. package/dist/containers/Tenant/Query/QuerySettingsDialog/i18n/index.d.ts +1 -1
  210. package/dist/containers/Tenant/Query/QuerySettingsDialog/i18n/ru.json +3 -0
  211. package/dist/containers/Tenant/utils/schema.js +1 -0
  212. package/dist/containers/Tenant/utils/schema.js.map +1 -1
  213. package/dist/containers/UserSettings/i18n/en.json +0 -2
  214. package/dist/containers/UserSettings/i18n/index.d.ts +1 -1
  215. package/dist/containers/UserSettings/settings.d.ts +0 -1
  216. package/dist/containers/UserSettings/settings.js +2 -7
  217. package/dist/containers/UserSettings/settings.js.map +1 -1
  218. package/dist/containers/VDiskPage/VDiskPage.d.ts +0 -3
  219. package/dist/containers/VDiskPage/VDiskPage.js +9 -33
  220. package/dist/containers/VDiskPage/VDiskPage.js.map +1 -1
  221. package/dist/containers/VDiskPage/VDiskPage.scss +10 -19
  222. package/dist/containers/VDiskPage/i18n/en.json +1 -1
  223. package/dist/containers/VDiskPage/i18n/index.d.ts +1 -1
  224. package/dist/routes.d.ts +3 -0
  225. package/dist/routes.js +5 -0
  226. package/dist/routes.js.map +1 -1
  227. package/dist/services/api.d.ts +16 -5
  228. package/dist/services/api.js +51 -12
  229. package/dist/services/api.js.map +1 -1
  230. package/dist/services/settings.d.ts +2 -2
  231. package/dist/services/settings.js +2 -3
  232. package/dist/services/settings.js.map +1 -1
  233. package/dist/store/configureStore.d.ts +2 -2
  234. package/dist/store/defaultStore.d.ts +1 -1
  235. package/dist/store/reducers/capabilities/capabilities.d.ts +8 -1
  236. package/dist/store/reducers/capabilities/capabilities.js +6 -1
  237. package/dist/store/reducers/capabilities/capabilities.js.map +1 -1
  238. package/dist/store/reducers/capabilities/hooks.d.ts +1 -0
  239. package/dist/store/reducers/capabilities/hooks.js +3 -0
  240. package/dist/store/reducers/capabilities/hooks.js.map +1 -1
  241. package/dist/store/reducers/executeQuery.js +3 -0
  242. package/dist/store/reducers/executeQuery.js.map +1 -1
  243. package/dist/store/reducers/header/types.d.ts +5 -2
  244. package/dist/store/reducers/index.d.ts +2 -2
  245. package/dist/store/reducers/nodes/nodes.d.ts +2 -2
  246. package/dist/store/reducers/nodes/nodes.js.map +1 -1
  247. package/dist/store/reducers/nodes/types.d.ts +2 -23
  248. package/dist/store/reducers/pdisk/pdisk.js +29 -2
  249. package/dist/store/reducers/pdisk/pdisk.js.map +1 -1
  250. package/dist/store/reducers/pdisk/utils.js +1 -1
  251. package/dist/store/reducers/pdisk/utils.js.map +1 -1
  252. package/dist/store/reducers/storage/storage.d.ts +2 -2
  253. package/dist/store/reducers/storage/storage.js.map +1 -1
  254. package/dist/store/reducers/storage/types.d.ts +19 -0
  255. package/dist/store/reducers/storage/utils.js +7 -2
  256. package/dist/store/reducers/storage/utils.js.map +1 -1
  257. package/dist/store/reducers/tooltip.d.ts +1 -1
  258. package/dist/styles/mixins.scss +3 -3
  259. package/dist/types/api/capabilities.d.ts +1 -1
  260. package/dist/types/api/common.d.ts +1 -0
  261. package/dist/types/api/meta.d.ts +3 -0
  262. package/dist/types/api/nodes.d.ts +33 -0
  263. package/dist/types/api/nodes.js.map +1 -1
  264. package/dist/types/api/query.d.ts +1 -0
  265. package/dist/types/api/storage.d.ts +8 -5
  266. package/dist/types/store/query.d.ts +5 -8
  267. package/dist/utils/constants.d.ts +0 -8
  268. package/dist/utils/constants.js +0 -9
  269. package/dist/utils/constants.js.map +1 -1
  270. package/dist/utils/filters.d.ts +2 -1
  271. package/dist/utils/filters.js +1 -4
  272. package/dist/utils/filters.js.map +1 -1
  273. package/dist/utils/hooks/useChangedQuerySettings.d.ts +2 -2
  274. package/dist/utils/hooks/useChangedQuerySettings.js +2 -1
  275. package/dist/utils/hooks/useChangedQuerySettings.js.map +1 -1
  276. package/dist/utils/hooks/useLastQueryExecutionSettings.d.ts +15 -2
  277. package/dist/utils/hooks/useLastQueryExecutionSettings.js +8 -9
  278. package/dist/utils/hooks/useLastQueryExecutionSettings.js.map +1 -1
  279. package/dist/utils/hooks/useQueryExecutionSettings.d.ts +15 -2
  280. package/dist/utils/hooks/useQueryExecutionSettings.js +5 -7
  281. package/dist/utils/hooks/useQueryExecutionSettings.js.map +1 -1
  282. package/dist/utils/hooks/useSelectedColumns.d.ts +8 -0
  283. package/dist/utils/hooks/useSelectedColumns.js +35 -0
  284. package/dist/utils/hooks/useSelectedColumns.js.map +1 -0
  285. package/dist/utils/nodes.d.ts +3 -22
  286. package/dist/utils/nodes.js +16 -19
  287. package/dist/utils/nodes.js.map +1 -1
  288. package/dist/utils/query.d.ts +129 -0
  289. package/dist/utils/query.js +33 -1
  290. package/dist/utils/query.js.map +1 -1
  291. package/dist/utils/storage.d.ts +1 -1
  292. package/dist/utils/storage.js.map +1 -1
  293. package/package.json +2 -1
  294. package/dist/containers/Clusters/useSelectedColumns.d.ts +0 -7
  295. package/dist/containers/Clusters/useSelectedColumns.js +0 -26
  296. package/dist/containers/Clusters/useSelectedColumns.js.map +0 -1
  297. package/dist/containers/Nodes/getNodesColumns.js.map +0 -1
  298. package/dist/containers/PDiskPage/PDiskGroups/PDiskGroups.d.ts +0 -6
  299. package/dist/containers/PDiskPage/PDiskGroups/PDiskGroups.js +0 -30
  300. package/dist/containers/PDiskPage/PDiskGroups/PDiskGroups.js.map +0 -1
  301. package/dist/containers/PDiskPage/PDiskGroups/utils.d.ts +0 -2
  302. package/dist/containers/PDiskPage/PDiskGroups/utils.js +0 -14
  303. package/dist/containers/PDiskPage/PDiskGroups/utils.js.map +0 -1
  304. package/dist/containers/Storage/StorageGroups/columns/getStorageGroupsColumns.d.ts +0 -21
  305. package/dist/containers/Storage/StorageGroups/columns/getStorageGroupsColumns.js.map +0 -1
  306. package/dist/containers/Storage/StorageNodes/getStorageNodesColumns.d.ts +0 -50
  307. package/dist/containers/Storage/StorageNodes/getStorageNodesColumns.js.map +0 -1
  308. package/dist/containers/VDiskPage/utils.d.ts +0 -2
  309. package/dist/containers/VDiskPage/utils.js +0 -7
  310. package/dist/containers/VDiskPage/utils.js.map +0 -1
  311. package/dist/store/reducers/tenantOverview/topNodes/topNodes.d.ts +0 -4
  312. package/dist/store/reducers/tenantOverview/topNodes/topNodes.js +0 -27
  313. package/dist/store/reducers/tenantOverview/topNodes/topNodes.js.map +0 -1
@@ -12,13 +12,13 @@ import { changeClustersFilters, clustersApi } from '../../store/reducers/cluster
12
12
  import { aggregateClustersInfo, filterClusters, selectClusterNameFilter, selectServiceFilter, selectStatusFilter, selectVersionFilter, } from '../../store/reducers/clusters/selectors';
13
13
  import { DEFAULT_TABLE_SETTINGS } from '../../utils/constants';
14
14
  import { useAutoRefreshInterval, useTypedDispatch, useTypedSelector } from '../../utils/hooks';
15
+ import { useSelectedColumns } from '../../utils/hooks/useSelectedColumns';
15
16
  import { getMinorVersion } from '../../utils/versions';
16
17
  import { ClustersStatistics } from './ClustersStatistics';
17
18
  import { CLUSTERS_COLUMNS, CLUSTERS_COLUMNS_WIDTH_LS_KEY } from './columns';
18
- import { COLUMNS_NAMES, COLUMNS_TITLES, DEFAULT_COLUMNS, SELECTED_COLUMNS_KEY } from './constants';
19
+ import { CLUSTERS_SELECTED_COLUMNS_KEY, COLUMNS_NAMES, COLUMNS_TITLES, DEFAULT_COLUMNS, } from './constants';
19
20
  import i18n from './i18n';
20
21
  import { b } from './shared';
21
- import { useSelectedColumns } from './useSelectedColumns';
22
22
  import './Clusters.scss';
23
23
  export function Clusters() {
24
24
  const [autoRefreshInterval] = useAutoRefreshInterval();
@@ -42,7 +42,7 @@ export function Clusters() {
42
42
  const changeVersion = (value) => {
43
43
  dispatch(changeClustersFilters({ version: value }));
44
44
  };
45
- const { columnsToShow, columnsToSelect, setColumns } = useSelectedColumns(CLUSTERS_COLUMNS, SELECTED_COLUMNS_KEY, COLUMNS_TITLES, DEFAULT_COLUMNS, [COLUMNS_NAMES.TITLE]);
45
+ const { columnsToShow, columnsToSelect, setColumns } = useSelectedColumns(CLUSTERS_COLUMNS, CLUSTERS_SELECTED_COLUMNS_KEY, COLUMNS_TITLES, DEFAULT_COLUMNS, [COLUMNS_NAMES.TITLE]);
46
46
  const clusters = query.data;
47
47
  const { servicesToSelect, versions } = React.useMemo(() => {
48
48
  const clustersServices = new Set();
@@ -1 +1 @@
1
- {"version":3,"file":"Clusters.js","sourceRoot":"","sources":["../../../src/containers/Clusters/Clusters.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,SAAS,MAAM,8BAA8B,CAAC;AACrD,OAAO,EAAC,MAAM,EAAE,gBAAgB,EAAC,MAAM,mBAAmB,CAAC;AAC3D,OAAO,EAAC,MAAM,EAAC,MAAM,oBAAoB,CAAC;AAE1C,OAAO,EAAC,kBAAkB,EAAC,MAAM,wDAAwD,CAAC;AAC1F,OAAO,EAAC,aAAa,EAAC,MAAM,uCAAuC,CAAC;AACpE,OAAO,EA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CLUSTER,
64
- header: COLUMNS_TITLES[COLUMNS_NAMES.CLUSTER],
63
+ name: COLUMNS_NAMES.DC,
64
+ header: COLUMNS_TITLES[COLUMNS_NAMES.DC],
65
65
  width: 120,
66
66
  sortable: false,
67
67
  render: ({ row }) => {
@@ -1 +1 @@
1
- {"version":3,"file":"columns.js","sourceRoot":"","sources":["../../../src/containers/Clusters/columns.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,WAAW,EAAC,MAAM,wBAAwB,CAAC;AACnD,OAAO,SAAS,MAAM,8BAA8B,CAAC;AAErD,OAAO,EAAC,eAAe,EAAE,IAAI,IAAI,YAAY,EAAE,QAAQ,EAAC,MAAM,mBAAmB,CAAC;AAElF,OAAO,EAAC,cAAc,EAAC,MAAM,gDAAgD,CAAC;AAC9E,OAAO,EAAC,QAAQ,EAAC,MAAM,4BAA4B,CAAC;AAEpD,OAAO,EAAC,uBAAuB,EAAC,MAAM,2CAA2C,CAAC;AAClF,OAAO,EAAC,qBAAqB,EAAE,oBAAoB,EAAC,MAAM,2BAA2B,CAAC;AACtF,OAAO,EAAC,cAAc,EAAE,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAEhE,OAAO,EAAC,aAAa,EAAE,cAAc,EAAC,MAAM,aAAa,CAAC;AAC1D,OAAO,IAAI,MAAM,QAAQ,CAAC;AAC1B,OAAO,EAAC,CAAC,EAAC,MAAM,UAAU,CAAC;AAE3B,MAAM,CAAC,MAAM,6BAA6B,GAAG,2BAA2B,CAAC;AAEzE,MAAM,UAAU,GAAG,eAAM,SAAS,EAAE,CAAC,CAAC,YAAY,CAAC,uBAAU,CAAC;AAE9D,MAAM,CAAC,MAAM,gBAAgB,GAA8B;IACvD;QACI,IAAI,EAAE,aAAa,CAAC,KAAK;QACzB,MAAM,EAAE,cAAc,CAAC,aAAa,CAAC,KAAK,CAAC;QAC3C,KAAK,EAAE,GAAG;QACV,MAAM,EAAE,CAAC,EAA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AO,CAC5D,CAAC,CAAC,CAAC,CACA,UAAU,CACb,CAAC;QACN,CAAC;KACJ;IACD;QACI,IAAI,EAAE,aAAa,CAAC,QAAQ;QAC5B,MAAM,EAAE,cAAc,CAAC,aAAa,CAAC,QAAQ,CAAC;QAC9C,QAAQ,EAAE,KAAK;QACf,KAAK,EAAE,GAAG;QACV,MAAM,EAAE,CAAC,EAAC,GAAG,EAAC,EAAE,EAAE;YACd,IAAI,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC;gBAChB,OAAO,UAAU,CAAC;YACtB,CAAC;YAED,MAAM,YAAY,GAAG,qBAAqB,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;YACzD,OAAO,CACH,eAAK,SAAS,EAAE,CAAC,CAAC,eAAe,CAAC,aAC9B,cAAK,SAAS,EAAE,CAAC,CAAC,eAAe,CAAC,YAAG,YAAY,GAAO,EACxD,KAAC,eAAe,IAAC,IAAI,EAAC,GAAG,EAAC,IAAI,EAAE,YAAY,EAAE,SAAS,EAAE,CAAC,CAAC,eAAe,CAAC,GAAI,IAC7E,CACT,CAAC;QACN,CAAC;KACJ;CACJ,CAAC"}
@@ -1,8 +1,8 @@
1
- export declare const SELECTED_COLUMNS_KEY = "selectedColumns";
1
+ export declare const CLUSTERS_SELECTED_COLUMNS_KEY = "selectedColumns";
2
2
  export declare const COLUMNS_NAMES: {
3
3
  readonly TITLE: "title";
4
4
  readonly VERSIONS: "versions";
5
- readonly CLUSTER: "cluster";
5
+ readonly DC: "dc";
6
6
  readonly SERVICE: "service";
7
7
  readonly STATUS: "status";
8
8
  readonly NODES: "nodes";
@@ -14,11 +14,11 @@ export declare const COLUMNS_NAMES: {
14
14
  readonly DESCRIPTION: "description";
15
15
  readonly BALANCER: "balancer";
16
16
  };
17
- export declare const DEFAULT_COLUMNS: ("status" | "nodes" | "storage" | "tenants" | "versions" | "service" | "load" | "hosts" | "balancer" | "owner" | "title")[];
17
+ export declare const DEFAULT_COLUMNS: ("status" | "hosts" | "versions" | "balancer" | "nodes" | "storage" | "tenants" | "service" | "owner" | "title" | "load")[];
18
18
  export declare const COLUMNS_TITLES: {
19
19
  readonly title: "Cluster";
20
20
  readonly versions: "Versions";
21
- readonly cluster: "DC";
21
+ readonly dc: "DC";
22
22
  readonly service: "Service";
23
23
  readonly status: "Status";
24
24
  readonly nodes: "Nodes";
@@ -1,8 +1,8 @@
1
- export const SELECTED_COLUMNS_KEY = 'selectedColumns';
1
+ export const CLUSTERS_SELECTED_COLUMNS_KEY = 'selectedColumns';
2
2
  export const COLUMNS_NAMES = {
3
3
  TITLE: 'title',
4
4
  VERSIONS: 'versions',
5
- CLUSTER: 'cluster',
5
+ DC: 'dc',
6
6
  SERVICE: 'service',
7
7
  STATUS: 'status',
8
8
  NODES: 'nodes',
@@ -30,7 +30,7 @@ export const DEFAULT_COLUMNS = [
30
30
  export const COLUMNS_TITLES = {
31
31
  [COLUMNS_NAMES.TITLE]: 'Cluster',
32
32
  [COLUMNS_NAMES.VERSIONS]: 'Versions',
33
- [COLUMNS_NAMES.CLUSTER]: 'DC',
33
+ [COLUMNS_NAMES.DC]: 'DC',
34
34
  [COLUMNS_NAMES.SERVICE]: 'Service',
35
35
  [COLUMNS_NAMES.STATUS]: 'Status',
36
36
  [COLUMNS_NAMES.NODES]: 'Nodes',
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/containers/Clusters/constants.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,oBAAoB,GAAG,iBAAiB,CAAC;AAEtD,MAAM,CAAC,MAAM,aAAa,GAAG;IACzB,KAAK,EAAE,OAAO;IACd,QAAQ,EAAE,UAAU;IACpB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,MAAM,EAAE,QAAQ;IAChB,KAAK,EAAE,OAAO;IACd,IAAI,EAAE,MAAM;IACZ,OAAO,EAAE,SAAS;IAClB,KAAK,EAAE,OAAO;IACd,OAAO,EAAE,SAAS;IAClB,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C9B,CAAC,aAAa,CAAC,WAAW,CAAC,EAAE,aAAa;IAC1C,CAAC,aAAa,CAAC,QAAQ,CAAC,EAAE,UAAU;CAC9B,CAAC"}
@@ -97,6 +97,19 @@ const getVDiskBreadcrumbs = (options, query = {}) => {
97
97
  breadcrumbs.push(lastItem);
98
98
  return breadcrumbs;
99
99
  };
100
+ const getStorageGroupBreadcrumbs = (options, query = {}) => {
101
+ const { groupId } = options;
102
+ const breadcrumbs = getClusterBreadcrumbs(options, query);
103
+ let text = headerKeyset('breadcrumbs.storageGroup');
104
+ if (groupId) {
105
+ text += ` ${groupId}`;
106
+ }
107
+ const lastItem = {
108
+ text,
109
+ };
110
+ breadcrumbs.push(lastItem);
111
+ return breadcrumbs;
112
+ };
100
113
  const getTabletBreadcrumbs = (options, query = {}) => {
101
114
  const { tabletId, tabletType, nodeId, nodeRole, nodeActiveTab = TABLETS, tenantName } = options;
102
115
  const breadcrumbs = getNodeBreadcrumbs({ nodeId, nodeRole, nodeActiveTab, tenantName }, query);
@@ -114,6 +127,7 @@ const mapPageToGetter = {
114
127
  tablet: getTabletBreadcrumbs,
115
128
  tenant: getTenantBreadcrumbs,
116
129
  vDisk: getVDiskBreadcrumbs,
130
+ storageGroup: getStorageGroupBreadcrumbs,
117
131
  };
118
132
  export const getBreadcrumbs = (page, options, rawBreadcrumbs = [], query = {}) => {
119
133
  if (!page) {
@@ -1 +1 @@
1
- {"version":3,"file":"breadcrumbs.js","sourceRoot":"","sources":["../../../src/containers/Header/breadcrumbs.tsx"],"names":[],"mappings":";AAAA,OAAO,EACH,UAAU,IAAI,WAAW,EACzB,GAAG,IAAI,eAAe,EACtB,QAAQ,IAAI,YAAY,EACxB,SAAS,IAAI,eAAe,GAC/B,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EAAC,UAAU,EAAC,MAAM,wCAAwC,CAAC;AAClE,OAAO,EAAC,gBAAgB,EAAC,MAAM,cAAc,CAAC;AAW9C,OAAO,EACH,2BAA2B,EAC3B,WAA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C,CAAC;AAEX,MAAM,CAAC,MAAM,cAAc,GAAG,CAC1B,IAAU,EACV,OAA2B,EAC3B,iBAAsC,EAAE,EACxC,KAAK,GAAG,EAAE,EACZ,EAAE;IACA,IAAI,CAAC,IAAI,EAAE,CAAC;QACR,OAAO,cAAc,CAAC;IAC1B,CAAC;IAED,MAAM,MAAM,GAAG,eAAe,CAAC,IAAI,CAAC,CAAC;IAErC,MAAM,eAAe,GAAG,MAAM,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;IAE/C,OAAO,CAAC,GAAG,cAAc,EAAE,GAAG,eAAe,CAAC,CAAC;AACnD,CAAC,CAAC"}
@@ -4,5 +4,6 @@
4
4
  "breadcrumbs.pDisk": "PDisk",
5
5
  "breadcrumbs.vDisk": "VDisk",
6
6
  "breadcrumbs.tablet": "Tablet",
7
- "breadcrumbs.tablets": "Tablets"
7
+ "breadcrumbs.tablets": "Tablets",
8
+ "breadcrumbs.storageGroup": "Storage Group"
8
9
  }
@@ -1 +1 @@
1
- export declare const headerKeyset: (key: "breadcrumbs.tenant" | "breadcrumbs.node" | "breadcrumbs.pDisk" | "breadcrumbs.vDisk" | "breadcrumbs.tablet" | "breadcrumbs.tablets", params?: import("@gravity-ui/i18n").Params) => string;
1
+ export declare const headerKeyset: (key: "breadcrumbs.tenant" | "breadcrumbs.node" | "breadcrumbs.pDisk" | "breadcrumbs.vDisk" | "breadcrumbs.tablet" | "breadcrumbs.tablets" | "breadcrumbs.storageGroup", params?: import("@gravity-ui/i18n").Params) => string;
@@ -9,13 +9,15 @@ import { ResponseError } from '../../components/Errors/ResponseError';
9
9
  import { FullNodeViewer } from '../../components/FullNodeViewer/FullNodeViewer';
10
10
  import { Loader } from '../../components/Loader';
11
11
  import routes, { createHref, parseQuery } from '../../routes';
12
+ import { useCapabilitiesLoaded, useDiskPagesAvailable, } from '../../store/reducers/capabilities/hooks';
12
13
  import { setHeaderBreadcrumbs } from '../../store/reducers/header/header';
13
14
  import { nodeApi } from '../../store/reducers/node/node';
14
15
  import { cn } from '../../utils/cn';
15
16
  import { useAutoRefreshInterval, useTypedDispatch } from '../../utils/hooks';
16
17
  import { StorageWrapper } from '../Storage/StorageWrapper';
17
18
  import { Tablets } from '../Tablets';
18
- import { NODE_PAGES, OVERVIEW, STORAGE, TABLETS } from './NodePages';
19
+ import { NODE_PAGES, OVERVIEW, STORAGE, STRUCTURE, TABLETS } from './NodePages';
20
+ import NodeStructure from './NodeStructure/NodeStructure';
19
21
  import './Node.scss';
20
22
  const b = cn('node');
21
23
  export const STORAGE_ROLE = 'Storage';
@@ -31,10 +33,15 @@ export function Node(props) {
31
33
  const { currentData, isFetching, error } = nodeApi.useGetNodeInfoQuery({ nodeId }, { pollingInterval: autoRefreshInterval });
32
34
  const loading = isFetching && currentData === undefined;
33
35
  const node = currentData;
36
+ const capabilitiesLoaded = useCapabilitiesLoaded();
37
+ const isDiskPagesAvailable = useDiskPagesAvailable();
34
38
  const { activeTabVerified, nodeTabs } = React.useMemo(() => {
35
39
  var _a;
36
40
  const hasStorage = (_a = node === null || node === void 0 ? void 0 : node.Roles) === null || _a === void 0 ? void 0 : _a.find((el) => el === STORAGE_ROLE);
37
- const nodePages = hasStorage ? NODE_PAGES : NODE_PAGES.filter((el) => el.id !== STORAGE);
41
+ let nodePages = hasStorage ? NODE_PAGES : NODE_PAGES.filter((el) => el.id !== STORAGE);
42
+ if (isDiskPagesAvailable) {
43
+ nodePages = nodePages.filter((el) => el.id !== STRUCTURE);
44
+ }
38
45
  const actualNodeTabs = nodePages.map((page) => {
39
46
  return {
40
47
  ...page,
@@ -46,7 +53,7 @@ export function Node(props) {
46
53
  actualActiveTab = actualNodeTabs[0];
47
54
  }
48
55
  return { activeTabVerified: actualActiveTab, nodeTabs: actualNodeTabs };
49
- }, [activeTab, node]);
56
+ }, [activeTab, node, isDiskPagesAvailable]);
50
57
  const tenantName = ((_b = node === null || node === void 0 ? void 0 : node.Tenants) === null || _b === void 0 ? void 0 : _b[0]) || (tenantNameFromQuery === null || tenantNameFromQuery === void 0 ? void 0 : tenantNameFromQuery.toString());
51
58
  let nodeRole;
52
59
  if (node) {
@@ -72,6 +79,9 @@ export function Node(props) {
72
79
  case TABLETS: {
73
80
  return (_jsx(Tablets, { nodeId: nodeId, database: tenantName, className: b('node-page-wrapper') }));
74
81
  }
82
+ case STRUCTURE: {
83
+ return _jsx(NodeStructure, { className: b('node-page-wrapper'), nodeId: nodeId });
84
+ }
75
85
  case OVERVIEW: {
76
86
  return _jsx(FullNodeViewer, { node: node, className: b('overview-wrapper') });
77
87
  }
@@ -79,7 +89,7 @@ export function Node(props) {
79
89
  return false;
80
90
  }
81
91
  };
82
- if (loading) {
92
+ if (loading || !capabilitiesLoaded) {
83
93
  return _jsx(Loader, { size: "l" });
84
94
  }
85
95
  if (node) {
@@ -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,EAAC,oBAAoB,EAAC,MAAM,oCAAoC,CAAC;AACxE,OAAO,EAAC,OAAO,EAAC,MAAM,gCAAgC,CAAC;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AAa,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"}
@@ -12,11 +12,10 @@ export const NODE_PAGES = [
12
12
  id: STORAGE,
13
13
  name: 'Storage',
14
14
  },
15
- // TODO: remove Node Structure component
16
- // {
17
- // id: STRUCTURE,
18
- // name: 'Structure',
19
- // },
15
+ {
16
+ id: STRUCTURE,
17
+ name: 'Structure',
18
+ },
20
19
  {
21
20
  id: TABLETS,
22
21
  name: 'Tablets',
@@ -1 +1 @@
1
- {"version":3,"file":"NodePages.js","sourceRoot":"","sources":["../../../src/containers/Node/NodePages.ts"],"names":[],"mappings":"AACA,OAAO,MAAM,EAAE,EAAC,UAAU,EAAC,MAAM,cAAc,CAAC;AAEhD,MAAM,CAAC,MAAM,OAAO,GAAG,SAAS,CAAC;AACjC,MAAM,CAAC,MAAM,OAAO,GAAG,SAAS,CAAC;AACjC,MAAM,CAAC,MAAM,QAAQ,GAAG,UAAU,CAAC;AACnC,MAAM,CAAC,MAAM,SAAS,GAAG,WAAW,CAAC;AAIrC,MAAM,CAAC,MAAM,UAAU,GAAG;IACtB;QACI,EAAE,EAAE,QAAQ;QACZ,IAAI,EAAE,UAAU;KACnB;IACD;QACI,EAAE,EAAE,OAAO;QACX,IAAI,EAAE,SAAS;KAClB;IACD,wCAAwC;IACxC,IAAI;IACJ,qBAAqB;IACrB,yBAAyB;IACzB,KAAK;IACL;QACI,EAAE,EAAE,OAAO;QACX,IAAI,EAAE,SAAS;KAClB;CACJ,CAAC;AAEF,MAAM,UAAU,kBAAkB,CAC9B,MAAuB,EACvB,QAAe,EAAE,EACjB,YAAqB,QAAQ;IAE7B,OAAO,UAAU,CACb,MAAM,CAAC,IAAI,EACX;QACI,EAAE,EAAE,MAAM;QACV,SAAS;KACZ,EACD,KAAK,CACR,CAAC;AACN,CAAC"}
1
+ {"version":3,"file":"NodePages.js","sourceRoot":"","sources":["../../../src/containers/Node/NodePages.ts"],"names":[],"mappings":"AACA,OAAO,MAAM,EAAE,EAAC,UAAU,EAAC,MAAM,cAAc,CAAC;AAEhD,MAAM,CAAC,MAAM,OAAO,GAAG,SAAS,CAAC;AACjC,MAAM,CAAC,MAAM,OAAO,GAAG,SAAS,CAAC;AACjC,MAAM,CAAC,MAAM,QAAQ,GAAG,UAAU,CAAC;AACnC,MAAM,CAAC,MAAM,SAAS,GAAG,WAAW,CAAC;AAIrC,MAAM,CAAC,MAAM,UAAU,GAAG;IACtB;QACI,EAAE,EAAE,QAAQ;QACZ,IAAI,EAAE,UAAU;KACnB;IACD;QACI,EAAE,EAAE,OAAO;QACX,IAAI,EAAE,SAAS;KAClB;IACD;QACI,EAAE,EAAE,SAAS;QACb,IAAI,EAAE,WAAW;KACpB;IACD;QACI,EAAE,EAAE,OAAO;QACX,IAAI,EAAE,SAAS;KAClB;CACJ,CAAC;AAEF,MAAM,UAAU,kBAAkB,CAC9B,MAAuB,EACvB,QAAe,EAAE,EACjB,YAAqB,QAAQ;IAE7B,OAAO,UAAU,CACb,MAAM,CAAC,IAAI,EACX;QACI,EAAE,EAAE,MAAM;QACV,SAAS;KACZ,EACD,KAAK,CACR,CAAC;AACN,CAAC"}
@@ -1,6 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import React from 'react';
3
3
  import { ASCENDING } from '@gravity-ui/react-data-table/build/esm/lib/constants';
4
+ import { TableColumnSetup } from '@gravity-ui/uikit';
4
5
  import { StringParam, useQueryParams } from 'use-query-params';
5
6
  import { EntitiesCount } from '../../components/EntitiesCount';
6
7
  import { AccessDenied } from '../../components/Errors/403';
@@ -18,8 +19,9 @@ import { ProblemFilterValues, changeFilter, selectProblemFilter, } from '../../s
18
19
  import { cn } from '../../utils/cn';
19
20
  import { DEFAULT_TABLE_SETTINGS } from '../../utils/constants';
20
21
  import { useAutoRefreshInterval, useTableSort, useTypedDispatch, useTypedSelector, } from '../../utils/hooks';
21
- import { NodesUptimeFilterValues, isSortableNodesProperty, isUnavailableNode, nodesUptimeFilterValuesSchema, } from '../../utils/nodes';
22
- import { NODES_COLUMNS_WIDTH_LS_KEY, getNodesColumns } from './getNodesColumns';
22
+ import { NodesUptimeFilterValues, isUnavailableNode, nodesUptimeFilterValuesSchema, } from '../../utils/nodes';
23
+ import { NODES_COLUMNS_WIDTH_LS_KEY } from './columns/constants';
24
+ import { useNodesSelectedColumns } from './columns/hooks';
23
25
  import i18n from './i18n';
24
26
  import './Nodes.scss';
25
27
  const b = cn('ydb-nodes');
@@ -34,6 +36,10 @@ export const Nodes = ({ path, database, additionalNodesProps = {} }) => {
34
36
  const dispatch = useTypedDispatch();
35
37
  const problemFilter = useTypedSelector(selectProblemFilter);
36
38
  const [autoRefreshInterval] = useAutoRefreshInterval();
39
+ const { columnsToShow, columnsToSelect, setColumns } = useNodesSelectedColumns({
40
+ getNodeRef: additionalNodesProps.getNodeRef,
41
+ database,
42
+ });
37
43
  const { currentData: data, isLoading, error, } = nodesApi.useGetNodesQuery({ path, database }, { pollingInterval: autoRefreshInterval });
38
44
  const [sortValue, setSortValue] = React.useState({
39
45
  sortValue: 'NodeId',
@@ -56,23 +62,16 @@ export const Nodes = ({ path, database, additionalNodesProps = {} }) => {
56
62
  }, [data, searchValue, uptimeFilter, problemFilter]);
57
63
  const totalNodes = (data === null || data === void 0 ? void 0 : data.TotalNodes) || 0;
58
64
  const renderControls = () => {
59
- return (_jsxs(React.Fragment, { children: [_jsx(Search, { onChange: handleSearchQueryChange, placeholder: "Host name", className: b('search'), value: searchValue }), _jsx(ProblemFilter, { value: problemFilter, onChange: handleProblemFilterChange }), _jsx(UptimeFilter, { value: uptimeFilter, onChange: handleUptimeFilterChange }), _jsx(EntitiesCount, { total: totalNodes, current: nodes.length, label: 'Nodes', loading: isLoading })] }));
65
+ return (_jsxs(React.Fragment, { children: [_jsx(Search, { onChange: handleSearchQueryChange, placeholder: "Host name", className: b('search'), value: searchValue }), _jsx(ProblemFilter, { value: problemFilter, onChange: handleProblemFilterChange }), _jsx(UptimeFilter, { value: uptimeFilter, onChange: handleUptimeFilterChange }), _jsx(EntitiesCount, { total: totalNodes, current: nodes.length, label: 'Nodes', loading: isLoading }), _jsx(TableColumnSetup, { popupWidth: 200, items: columnsToSelect, showStatus: true, onUpdate: setColumns, sortable: false })] }));
60
66
  };
61
67
  const renderTable = () => {
62
- const rawColumns = getNodesColumns({
63
- getNodeRef: additionalNodesProps.getNodeRef,
64
- database,
65
- });
66
- const columns = rawColumns.map((column) => {
67
- return { ...column, sortable: isSortableNodesProperty(column.name) };
68
- });
69
68
  if (nodes.length === 0) {
70
69
  if (problemFilter !== ProblemFilterValues.ALL ||
71
70
  uptimeFilter !== NodesUptimeFilterValues.All) {
72
71
  return _jsx(Illustration, { name: "thumbsUp", width: "200" });
73
72
  }
74
73
  }
75
- return (_jsx(ResizeableDataTable, { columnsWidthLSKey: NODES_COLUMNS_WIDTH_LS_KEY, data: nodes || [], columns: columns, settings: DEFAULT_TABLE_SETTINGS, sortOrder: sort, onSort: handleSort, emptyDataMessage: i18n('empty.default'), rowClassName: (row) => b('node', { unavailable: isUnavailableNode(row) }) }));
74
+ return (_jsx(ResizeableDataTable, { columnsWidthLSKey: NODES_COLUMNS_WIDTH_LS_KEY, data: nodes || [], columns: columnsToShow, settings: DEFAULT_TABLE_SETTINGS, sortOrder: sort, onSort: handleSort, emptyDataMessage: i18n('empty.default'), rowClassName: (row) => b('node', { unavailable: isUnavailableNode(row) }) }));
76
75
  };
77
76
  if (isAccess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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"}
@@ -1,5 +1,6 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import React from 'react';
3
+ import { TableColumnSetup } from '@gravity-ui/uikit';
3
4
  import { StringParam, useQueryParams } from 'use-query-params';
4
5
  import { EntitiesCount } from '../../components/EntitiesCount';
5
6
  import { AccessDenied } from '../../components/Errors/403';
@@ -12,9 +13,10 @@ import { UptimeFilter } from '../../components/UptimeFIlter';
12
13
  import { ProblemFilterValues, changeFilter, selectProblemFilter, } from '../../store/reducers/settings/settings';
13
14
  import { cn } from '../../utils/cn';
14
15
  import { useTypedDispatch, useTypedSelector } from '../../utils/hooks';
15
- import { NodesUptimeFilterValues, isSortableNodesProperty, isUnavailableNode, nodesUptimeFilterValuesSchema, } from '../../utils/nodes';
16
+ import { NodesUptimeFilterValues, isUnavailableNode, nodesUptimeFilterValuesSchema, } from '../../utils/nodes';
17
+ import { NODES_COLUMNS_WIDTH_LS_KEY } from './columns/constants';
18
+ import { useNodesSelectedColumns } from './columns/hooks';
16
19
  import { getNodes } from './getNodes';
17
- import { NODES_COLUMNS_WIDTH_LS_KEY, getNodesColumns } from './getNodesColumns';
18
20
  import i18n from './i18n';
19
21
  import './Nodes.scss';
20
22
  const b = cn('ydb-nodes');
@@ -31,6 +33,10 @@ export const PaginatedNodes = ({ path, database, parentContainer, additionalNode
31
33
  const tableFilters = React.useMemo(() => {
32
34
  return { path, database, searchValue, problemFilter, uptimeFilter };
33
35
  }, [path, database, searchValue, problemFilter, uptimeFilter]);
36
+ const { columnsToShow, columnsToSelect, setColumns } = useNodesSelectedColumns({
37
+ getNodeRef: additionalNodesProps === null || additionalNodesProps === void 0 ? void 0 : additionalNodesProps.getNodeRef,
38
+ database,
39
+ });
34
40
  const getRowClassName = (row) => {
35
41
  return b('node', { unavailable: isUnavailableNode(row) });
36
42
  };
@@ -44,7 +50,7 @@ export const PaginatedNodes = ({ path, database, parentContainer, additionalNode
44
50
  const handleUptimeFilterChange = (value) => {
45
51
  setQueryParams({ uptimeFilter: value }, 'replaceIn');
46
52
  };
47
- return (_jsxs(React.Fragment, { children: [_jsx(Search, { onChange: handleSearchQueryChange, placeholder: "Host name", className: b('search'), value: searchValue }), _jsx(ProblemFilter, { value: problemFilter, onChange: handleProblemFilterChange }), _jsx(UptimeFilter, { value: uptimeFilter, onChange: handleUptimeFilterChange }), _jsx(EntitiesCount, { total: totalEntities, current: foundEntities, label: 'Nodes', loading: !inited })] }));
53
+ return (_jsxs(React.Fragment, { children: [_jsx(Search, { onChange: handleSearchQueryChange, placeholder: "Host name", className: b('search'), value: searchValue }), _jsx(ProblemFilter, { value: problemFilter, onChange: handleProblemFilterChange }), _jsx(UptimeFilter, { value: uptimeFilter, onChange: handleUptimeFilterChange }), _jsx(EntitiesCount, { total: totalEntities, current: foundEntities, label: 'Nodes', loading: !inited }), _jsx(TableColumnSetup, { popupWidth: 200, items: columnsToSelect, showStatus: true, onUpdate: setColumns, sortable: false })] }));
48
54
  };
49
55
  const renderEmptyDataMessage = () => {
50
56
  if (problemFilter !== ProblemFilterValues.ALL ||
@@ -59,13 +65,6 @@ export const PaginatedNodes = ({ path, database, parentContainer, additionalNode
59
65
  }
60
66
  return _jsx(ResponseError, { error: error });
61
67
  };
62
- const rawColumns = getNodesColumns({
63
- getNodeRef: additionalNodesProps === null || additionalNodesProps === void 0 ? void 0 : additionalNodesProps.getNodeRef,
64
- database,
65
- });
66
- const columns = rawColumns.map((column) => {
67
- return { ...column, sortable: isSortableNodesProperty(column.name) };
68
- });
69
- return (_jsx(ResizeablePaginatedTable, { columnsWidthLSKey: NODES_COLUMNS_WIDTH_LS_KEY, parentContainer: parentContainer, columns: columns, 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, parentContainer: parentContainer, columns: columnsToShow, fetchData: getNodes, limit: 50, renderControls: renderControls, renderErrorMessage: renderErrorMessage, renderEmptyDataMessage: renderEmptyDataMessage, getRowClassName: getRowClassName, filters: tableFilters, tableName: "nodes" }));
70
69
  };
71
70
  //# sourceMappingURL=PaginatedNodes.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"PaginatedNodes.js","sourceRoot":"","sources":["../../../src/containers/Nodes/PaginatedNodes.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,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,MAA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AAsB,GAAG,GAAG,EAAE;QAChC,IACI,aAAa,KAAK,mBAAmB,CAAC,GAAG;YACzC,YAAY,KAAK,uBAAuB,CAAC,GAAG,EAC9C,CAAC;YACC,OAAO,KAAC,YAAY,IAAC,IAAI,EAAC,UAAU,EAAC,KAAK,EAAC,KAAK,GAAG,CAAC;QACxD,CAAC;QAED,OAAO,IAAI,CAAC,eAAe,CAAC,CAAC;IACjC,CAAC,CAAC;IAEF,MAAM,kBAAkB,GAAuB,CAAC,KAAK,EAAE,EAAE;QACrD,IAAI,KAAK,IAAI,KAAK,CAAC,MAAM,KAAK,GAAG,EAAE,CAAC;YAChC,OAAO,KAAC,YAAY,IAAC,QAAQ,EAAC,MAAM,GAAG,CAAC;QAC5C,CAAC;QAED,OAAO,KAAC,aAAa,IAAC,KAAK,EAAE,KAAK,GAAI,CAAC;IAC3C,CAAC,CAAC;IAEF,OAAO,CACH,KAAC,wBAAwB,IACrB,iBAAiB,EAAE,0BAA0B,EAC7C,eAAe,EAAE,eAAe,EAChC,OAAO,EAAE,aAAa,EACtB,SAAS,EAAE,QAAQ,EACnB,KAAK,EAAE,EAAE,EACT,cAAc,EAAE,cAAc,EAC9B,kBAAkB,EAAE,kBAAkB,EACtC,sBAAsB,EAAE,sBAAsB,EAC9C,eAAe,EAAE,eAAe,EAChC,OAAO,EAAE,YAAY,EACrB,SAAS,EAAC,OAAO,GACnB,CACL,CAAC;AACN,CAAC,CAAC"}
@@ -1,15 +1,8 @@
1
1
  import type { Column as DataTableColumn } from '@gravity-ui/react-data-table';
2
- import type { Column as PaginatedTableColumn } from '../../components/PaginatedTable';
3
- import type { NodesPreparedEntity } from '../../store/reducers/nodes/types';
4
- import type { GetNodeRefFunc } from '../../types/additionalProps';
5
- export declare const NODES_COLUMNS_WIDTH_LS_KEY = "nodesTableColumnsWidth";
6
- interface GetNodesColumnsProps {
7
- database?: string;
8
- getNodeRef?: GetNodeRefFunc;
9
- }
10
- type NodesColumn = PaginatedTableColumn<NodesPreparedEntity> & DataTableColumn<NodesPreparedEntity>;
2
+ import type { NodesPreparedEntity } from '../../../store/reducers/nodes/types';
3
+ import type { GetNodeRefFunc } from '../../../types/additionalProps';
4
+ import type { GetNodesColumnsProps, NodesColumn } from './types';
11
5
  export declare function getNodesColumns({ database, getNodeRef }: GetNodesColumnsProps): NodesColumn[];
12
6
  export declare function getTopNodesByLoadColumns(getNodeRef?: GetNodeRefFunc): DataTableColumn<NodesPreparedEntity>[];
13
7
  export declare function getTopNodesByCpuColumns(getNodeRef?: GetNodeRefFunc): DataTableColumn<NodesPreparedEntity>[];
14
8
  export declare function getTopNodesByMemoryColumns({ database, getNodeRef, }: GetNodesColumnsProps): NodesColumn[];
15
- export {};