ydb-embedded-ui 6.18.0 → 6.20.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (316) hide show
  1. package/dist/components/ComponentsProvider/ComponentsProvider.d.ts +2 -2
  2. package/dist/components/CriticalActionDialog/CriticalActionDialog.d.ts +2 -1
  3. package/dist/components/CriticalActionDialog/CriticalActionDialog.js +11 -3
  4. package/dist/components/CriticalActionDialog/CriticalActionDialog.js.map +1 -1
  5. package/dist/components/CriticalActionDialog/i18n/en.json +2 -1
  6. package/dist/components/CriticalActionDialog/i18n/index.d.ts +1 -1
  7. package/dist/components/DiskStateProgressBar/DiskStateProgressBar.scss +7 -36
  8. package/dist/components/GroupInfo/GroupInfo.js +3 -3
  9. package/dist/components/MetricChart/reducer.d.ts +2 -2
  10. package/dist/components/PDiskInfo/i18n/index.d.ts +1 -1
  11. package/dist/components/PaginatedTable/PaginatedTable.scss +4 -0
  12. package/dist/components/PaginatedTable/TableChunk.js +5 -2
  13. package/dist/components/PaginatedTable/TableChunk.js.map +1 -1
  14. package/dist/components/PaginatedTable/TableRow.js +1 -1
  15. package/dist/components/PaginatedTable/TableRow.js.map +1 -1
  16. package/dist/components/TabletsStatistic/TabletsStatistic.d.ts +2 -4
  17. package/dist/components/TabletsStatistic/TabletsStatistic.js.map +1 -1
  18. package/dist/components/Tag/Tag.d.ts +2 -1
  19. package/dist/components/Tag/Tag.js.map +1 -1
  20. package/dist/components/Tags/Tags.d.ts +2 -1
  21. package/dist/components/Tags/Tags.js.map +1 -1
  22. package/dist/containers/AppWithClusters/ExtendedNode/ExtendedNode.js +4 -2
  23. package/dist/containers/AppWithClusters/ExtendedNode/ExtendedNode.js.map +1 -1
  24. package/dist/containers/AppWithClusters/ExtendedTenant/ExtendedTenant.js +4 -3
  25. package/dist/containers/AppWithClusters/ExtendedTenant/ExtendedTenant.js.map +1 -1
  26. package/dist/containers/AppWithClusters/useClusterData.d.ts +7 -1
  27. package/dist/containers/AppWithClusters/useClusterData.js +8 -8
  28. package/dist/containers/AppWithClusters/useClusterData.js.map +1 -1
  29. package/dist/containers/AsideNavigation/AsideNavigation.d.ts +3 -0
  30. package/dist/containers/AsideNavigation/AsideNavigation.js +6 -10
  31. package/dist/containers/AsideNavigation/AsideNavigation.js.map +1 -1
  32. package/dist/containers/AsideNavigation/Navigation.js +4 -1
  33. package/dist/containers/AsideNavigation/Navigation.js.map +1 -1
  34. package/dist/containers/AsideNavigation/YdbInternalUser/YdbInternalUser.d.ts +3 -1
  35. package/dist/containers/AsideNavigation/YdbInternalUser/YdbInternalUser.js +2 -4
  36. package/dist/containers/AsideNavigation/YdbInternalUser/YdbInternalUser.js.map +1 -1
  37. package/dist/containers/Cluster/Cluster.js +5 -13
  38. package/dist/containers/Cluster/Cluster.js.map +1 -1
  39. package/dist/containers/Cluster/Cluster.scss +1 -0
  40. package/dist/containers/Cluster/ClusterInfo/ClusterInfo.js +3 -112
  41. package/dist/containers/Cluster/ClusterInfo/ClusterInfo.js.map +1 -1
  42. package/dist/containers/Cluster/ClusterInfo/ClusterInfo.scss +7 -14
  43. package/dist/containers/Cluster/ClusterInfo/components/DiskGroupsStatsBars/DiskGroupsStatsBars.d.ts +7 -0
  44. package/dist/containers/Cluster/ClusterInfo/components/DiskGroupsStatsBars/DiskGroupsStatsBars.js +43 -0
  45. package/dist/containers/Cluster/ClusterInfo/components/DiskGroupsStatsBars/DiskGroupsStatsBars.js.map +1 -0
  46. package/dist/containers/Cluster/ClusterInfo/components/DiskGroupsStatsBars/DiskGroupsStatsBars.scss +11 -0
  47. package/dist/containers/Cluster/ClusterInfo/components/NodesState/NodesState.d.ts +8 -0
  48. package/dist/containers/Cluster/ClusterInfo/components/NodesState/NodesState.js +8 -0
  49. package/dist/containers/Cluster/ClusterInfo/components/NodesState/NodesState.js.map +1 -0
  50. package/dist/containers/Cluster/ClusterInfo/components/NodesState/NodesState.scss +16 -0
  51. package/dist/containers/Cluster/ClusterInfo/shared.d.ts +1 -0
  52. package/dist/containers/Cluster/ClusterInfo/shared.js +3 -0
  53. package/dist/containers/Cluster/ClusterInfo/shared.js.map +1 -0
  54. package/dist/containers/Cluster/ClusterInfo/utils.d.ts +12 -0
  55. package/dist/containers/Cluster/ClusterInfo/utils.js +145 -0
  56. package/dist/containers/Cluster/ClusterInfo/utils.js.map +1 -1
  57. package/dist/containers/Cluster/i18n/en.json +7 -1
  58. package/dist/containers/Cluster/i18n/index.d.ts +1 -1
  59. package/dist/containers/Cluster/i18n/index.js +1 -2
  60. package/dist/containers/Cluster/i18n/index.js.map +1 -1
  61. package/dist/containers/Header/Header.js +3 -7
  62. package/dist/containers/Header/Header.js.map +1 -1
  63. package/dist/containers/Node/Node.js +1 -5
  64. package/dist/containers/Node/Node.js.map +1 -1
  65. package/dist/containers/Node/NodePages.js +5 -4
  66. package/dist/containers/Node/NodePages.js.map +1 -1
  67. package/dist/containers/Node/NodeStructure/NodeStructure.js +9 -3
  68. package/dist/containers/Node/NodeStructure/NodeStructure.js.map +1 -1
  69. package/dist/containers/Nodes/Nodes.js +3 -13
  70. package/dist/containers/Nodes/Nodes.js.map +1 -1
  71. package/dist/containers/PDiskPage/DecommissionButton/DecommissionButton.js +1 -1
  72. package/dist/containers/PDiskPage/DecommissionButton/DecommissionButton.js.map +1 -1
  73. package/dist/containers/PDiskPage/PDiskGroups/PDiskGroups.js +16 -7
  74. package/dist/containers/PDiskPage/PDiskGroups/PDiskGroups.js.map +1 -1
  75. package/dist/containers/PDiskPage/PDiskGroups/utils.d.ts +2 -0
  76. package/dist/containers/PDiskPage/PDiskGroups/utils.js +14 -0
  77. package/dist/containers/PDiskPage/PDiskGroups/utils.js.map +1 -0
  78. package/dist/containers/PDiskPage/PDiskPage.js +1 -1
  79. package/dist/containers/PDiskPage/PDiskPage.js.map +1 -1
  80. package/dist/containers/Storage/Storage.js +9 -9
  81. package/dist/containers/Storage/Storage.js.map +1 -1
  82. package/dist/containers/Storage/StorageGroups/PaginatedStorageGroups.js +7 -2
  83. package/dist/containers/Storage/StorageGroups/PaginatedStorageGroups.js.map +1 -1
  84. package/dist/containers/Storage/StorageGroups/columns/getStorageGroupsColumns.d.ts +1 -1
  85. package/dist/containers/Storage/StorageGroups/columns/getStorageGroupsColumns.js +7 -20
  86. package/dist/containers/Storage/StorageGroups/columns/getStorageGroupsColumns.js.map +1 -1
  87. package/dist/containers/Storage/StorageGroups/getGroups.d.ts +3 -1
  88. package/dist/containers/Storage/StorageGroups/getGroups.js +27 -24
  89. package/dist/containers/Storage/StorageGroups/getGroups.js.map +1 -1
  90. package/dist/containers/Storage/StorageNodes/PaginatedStorageNodes.js +1 -1
  91. package/dist/containers/Storage/utils/index.js +3 -4
  92. package/dist/containers/Storage/utils/index.js.map +1 -1
  93. package/dist/containers/Tablets/i18n/index.d.ts +1 -1
  94. package/dist/containers/Tenant/Diagnostics/Configs/Configs.d.ts +6 -0
  95. package/dist/containers/Tenant/Diagnostics/Configs/Configs.js +79 -0
  96. package/dist/containers/Tenant/Diagnostics/Configs/Configs.js.map +1 -0
  97. package/dist/containers/Tenant/Diagnostics/Configs/Configs.scss +8 -0
  98. package/dist/containers/Tenant/Diagnostics/Configs/i18n/en.json +11 -0
  99. package/dist/containers/Tenant/Diagnostics/Configs/i18n/index.d.ts +2 -0
  100. package/dist/containers/Tenant/Diagnostics/Configs/i18n/index.js +5 -0
  101. package/dist/containers/Tenant/Diagnostics/Configs/i18n/index.js.map +1 -0
  102. package/dist/containers/Tenant/Diagnostics/Diagnostics.js +4 -0
  103. package/dist/containers/Tenant/Diagnostics/Diagnostics.js.map +1 -1
  104. package/dist/containers/Tenant/Diagnostics/DiagnosticsPages.d.ts +3 -0
  105. package/dist/containers/Tenant/Diagnostics/DiagnosticsPages.js +5 -0
  106. package/dist/containers/Tenant/Diagnostics/DiagnosticsPages.js.map +1 -1
  107. package/dist/containers/Tenant/Diagnostics/Overview/TableInfo/i18n/index.d.ts +1 -1
  108. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopGroups.js +21 -4
  109. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopGroups.js.map +1 -1
  110. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/utils.d.ts +2 -0
  111. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/utils.js +7 -0
  112. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/utils.js.map +1 -0
  113. package/dist/containers/Tenant/ObjectGeneral/ObjectGeneral.js +8 -3
  114. package/dist/containers/Tenant/ObjectGeneral/ObjectGeneral.js.map +1 -1
  115. package/dist/containers/Tenant/Query/CancelQueryButton/CancelQueryButton.d.ts +7 -0
  116. package/dist/containers/Tenant/Query/CancelQueryButton/CancelQueryButton.js +17 -0
  117. package/dist/containers/Tenant/Query/CancelQueryButton/CancelQueryButton.js.map +1 -0
  118. package/dist/containers/Tenant/Query/CancelQueryButton/CancelQueryButton.scss +9 -0
  119. package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.d.ts +5 -9
  120. package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.js +7 -7
  121. package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.js.map +1 -1
  122. package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.scss +0 -12
  123. package/dist/containers/Tenant/Query/ExecuteResult/TraceButton.d.ts +1 -1
  124. package/dist/containers/Tenant/Query/ExecuteResult/TraceButton.js +9 -24
  125. package/dist/containers/Tenant/Query/ExecuteResult/TraceButton.js.map +1 -1
  126. package/dist/containers/Tenant/Query/ExecuteResult/i18n/en.json +0 -1
  127. package/dist/containers/Tenant/Query/ExecuteResult/i18n/index.d.ts +1 -1
  128. package/dist/containers/Tenant/Query/ExplainResult/ExplainResult.d.ts +4 -12
  129. package/dist/containers/Tenant/Query/ExplainResult/ExplainResult.js +7 -5
  130. package/dist/containers/Tenant/Query/ExplainResult/ExplainResult.js.map +1 -1
  131. package/dist/containers/Tenant/Query/ExplainResult/ExplainResult.scss +0 -6
  132. package/dist/containers/Tenant/Query/ExplainResult/i18n/en.json +1 -2
  133. package/dist/containers/Tenant/Query/ExplainResult/i18n/index.d.ts +1 -1
  134. package/dist/containers/Tenant/Query/Query.js +14 -2
  135. package/dist/containers/Tenant/Query/Query.js.map +1 -1
  136. package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.d.ts +3 -2
  137. package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.js +18 -36
  138. package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.js.map +1 -1
  139. package/dist/containers/Tenant/Query/i18n/en.json +1 -0
  140. package/dist/containers/Tenant/Query/i18n/index.d.ts +1 -1
  141. package/dist/containers/Tenant/utils/queryTemplates.js +1 -1
  142. package/dist/containers/Tenant/utils/queryTemplates.js.map +1 -1
  143. package/dist/containers/UserSettings/i18n/en.json +0 -2
  144. package/dist/containers/UserSettings/i18n/index.d.ts +1 -1
  145. package/dist/containers/UserSettings/settings.d.ts +0 -1
  146. package/dist/containers/UserSettings/settings.js +2 -12
  147. package/dist/containers/UserSettings/settings.js.map +1 -1
  148. package/dist/containers/VDiskPage/VDiskPage.d.ts +3 -4
  149. package/dist/containers/VDiskPage/VDiskPage.js +33 -10
  150. package/dist/containers/VDiskPage/VDiskPage.js.map +1 -1
  151. package/dist/containers/VDiskPage/utils.d.ts +2 -0
  152. package/dist/containers/VDiskPage/utils.js +7 -0
  153. package/dist/containers/VDiskPage/utils.js.map +1 -0
  154. package/dist/lib.d.ts +1 -0
  155. package/dist/lib.js +1 -0
  156. package/dist/lib.js.map +1 -1
  157. package/dist/services/api.d.ts +20 -16
  158. package/dist/services/api.js +62 -21
  159. package/dist/services/api.js.map +1 -1
  160. package/dist/services/parsers/parseMetaCluster.d.ts +14 -0
  161. package/dist/services/parsers/parseMetaCluster.js +17 -31
  162. package/dist/services/parsers/parseMetaCluster.js.map +1 -1
  163. package/dist/services/settings.d.ts +0 -1
  164. package/dist/services/settings.js +1 -2
  165. package/dist/services/settings.js.map +1 -1
  166. package/dist/store/configureStore.d.ts +4 -4
  167. package/dist/store/defaultStore.d.ts +2 -2
  168. package/dist/store/getUrlData.js +9 -6
  169. package/dist/store/getUrlData.js.map +1 -1
  170. package/dist/store/reducers/api.d.ts +1 -1
  171. package/dist/store/reducers/api.js +1 -1
  172. package/dist/store/reducers/api.js.map +1 -1
  173. package/dist/store/reducers/authentication/authentication.d.ts +4 -4
  174. package/dist/store/reducers/cancelQuery.d.ts +2 -2
  175. package/dist/store/reducers/cancelQuery.js.map +1 -1
  176. package/dist/store/reducers/capabilities/capabilities.d.ts +6 -6
  177. package/dist/store/reducers/capabilities/hooks.d.ts +2 -0
  178. package/dist/store/reducers/capabilities/hooks.js +8 -1
  179. package/dist/store/reducers/capabilities/hooks.js.map +1 -1
  180. package/dist/store/reducers/cluster/cluster.d.ts +230 -2
  181. package/dist/store/reducers/cluster/cluster.js +45 -3
  182. package/dist/store/reducers/cluster/cluster.js.map +1 -1
  183. package/dist/store/reducers/cluster/utils.d.ts +4 -1
  184. package/dist/store/reducers/cluster/utils.js +16 -3
  185. package/dist/store/reducers/cluster/utils.js.map +1 -1
  186. package/dist/store/reducers/clusters/clusters.d.ts +2 -2
  187. package/dist/store/reducers/describe.d.ts +2 -2
  188. package/dist/store/reducers/executeQuery.d.ts +8 -4
  189. package/dist/store/reducers/executeQuery.js +35 -2
  190. package/dist/store/reducers/executeQuery.js.map +1 -1
  191. package/dist/store/reducers/executeTopQueries/executeTopQueries.d.ts +2 -2
  192. package/dist/store/reducers/explainQuery/explainQuery.d.ts +2 -3
  193. package/dist/store/reducers/explainQuery/explainQuery.js +23 -2
  194. package/dist/store/reducers/explainQuery/explainQuery.js.map +1 -1
  195. package/dist/store/reducers/explainQuery/types.d.ts +1 -0
  196. package/dist/store/reducers/explainQuery/utils.d.ts +1 -1
  197. package/dist/store/reducers/explainQuery/utils.js.map +1 -1
  198. package/dist/store/reducers/healthcheckInfo/healthcheckInfo.d.ts +58 -58
  199. package/dist/store/reducers/heatmap.d.ts +2 -2
  200. package/dist/store/reducers/hotKeys/hotKeys.d.ts +2 -2
  201. package/dist/store/reducers/index.d.ts +3 -3
  202. package/dist/store/reducers/network/network.d.ts +2 -2
  203. package/dist/store/reducers/node/node.d.ts +3 -3
  204. package/dist/store/reducers/node/selectors.d.ts +1 -1
  205. package/dist/store/reducers/nodes/nodes.d.ts +3 -4
  206. package/dist/store/reducers/nodes/nodes.js +1 -17
  207. package/dist/store/reducers/nodes/nodes.js.map +1 -1
  208. package/dist/store/reducers/nodes/types.d.ts +1 -6
  209. package/dist/store/reducers/nodes/utils.d.ts +1 -4
  210. package/dist/store/reducers/nodes/utils.js +1 -41
  211. package/dist/store/reducers/nodes/utils.js.map +1 -1
  212. package/dist/store/reducers/nodesList.d.ts +3 -3
  213. package/dist/store/reducers/overview/overview.d.ts +2 -2
  214. package/dist/store/reducers/partitions/partitions.d.ts +2 -2
  215. package/dist/store/reducers/pdisk/pdisk.d.ts +2 -3
  216. package/dist/store/reducers/pdisk/pdisk.js +1 -21
  217. package/dist/store/reducers/pdisk/pdisk.js.map +1 -1
  218. package/dist/store/reducers/pdisk/utils.d.ts +0 -3
  219. package/dist/store/reducers/pdisk/utils.js +0 -22
  220. package/dist/store/reducers/pdisk/utils.js.map +1 -1
  221. package/dist/store/reducers/preview.d.ts +2 -2
  222. package/dist/store/reducers/schema/schema.d.ts +3 -3
  223. package/dist/store/reducers/schemaAcl/schemaAcl.d.ts +2 -2
  224. package/dist/store/reducers/shardsWorkload/shardsWorkload.d.ts +2 -2
  225. package/dist/store/reducers/storage/requestStorageData.d.ts +5 -0
  226. package/dist/store/reducers/storage/requestStorageData.js +12 -0
  227. package/dist/store/reducers/storage/requestStorageData.js.map +1 -0
  228. package/dist/store/reducers/storage/selectors.js +1 -1
  229. package/dist/store/reducers/storage/storage.d.ts +6 -4
  230. package/dist/store/reducers/storage/storage.js +6 -6
  231. package/dist/store/reducers/storage/storage.js.map +1 -1
  232. package/dist/store/reducers/storage/types.d.ts +11 -23
  233. package/dist/store/reducers/storage/utils.d.ts +3 -2
  234. package/dist/store/reducers/storage/utils.js +52 -26
  235. package/dist/store/reducers/storage/utils.js.map +1 -1
  236. package/dist/store/reducers/tableData.d.ts +1 -1
  237. package/dist/store/reducers/tablet.d.ts +7 -7
  238. package/dist/store/reducers/tablets.d.ts +13 -13
  239. package/dist/store/reducers/tenant/constants.d.ts +1 -0
  240. package/dist/store/reducers/tenant/constants.js +1 -0
  241. package/dist/store/reducers/tenant/constants.js.map +1 -1
  242. package/dist/store/reducers/tenant/tenant.d.ts +5 -2
  243. package/dist/store/reducers/tenant/tenant.js +12 -0
  244. package/dist/store/reducers/tenant/tenant.js.map +1 -1
  245. package/dist/store/reducers/tenantOverview/executeTopTables/executeTopTables.d.ts +2 -2
  246. package/dist/store/reducers/tenantOverview/topNodes/topNodes.d.ts +2 -2
  247. package/dist/store/reducers/tenantOverview/topShards/tenantOverviewTopShards.d.ts +2 -2
  248. package/dist/store/reducers/tenants/selectors.d.ts +27 -27
  249. package/dist/store/reducers/tenants/tenants.d.ts +2 -2
  250. package/dist/store/reducers/topic.d.ts +44 -44
  251. package/dist/store/reducers/trace.d.ts +4 -5
  252. package/dist/store/reducers/trace.js +5 -8
  253. package/dist/store/reducers/trace.js.map +1 -1
  254. package/dist/store/reducers/vdisk/utils.d.ts +0 -2
  255. package/dist/store/reducers/vdisk/utils.js +0 -10
  256. package/dist/store/reducers/vdisk/utils.js.map +1 -1
  257. package/dist/store/reducers/vdisk/vdisk.d.ts +8 -5
  258. package/dist/store/reducers/vdisk/vdisk.js +17 -32
  259. package/dist/store/reducers/vdisk/vdisk.js.map +1 -1
  260. package/dist/store/reducers/viewSchema/viewSchema.d.ts +2 -2
  261. package/dist/store/reducers/viewSchema/viewSchema.js +1 -1
  262. package/dist/store/reducers/viewSchema/viewSchema.js.map +1 -1
  263. package/dist/styles/mixins.scss +45 -0
  264. package/dist/types/api/capabilities.d.ts +1 -1
  265. package/dist/types/api/cluster.d.ts +31 -1
  266. package/dist/types/api/cluster.js +3 -1
  267. package/dist/types/api/cluster.js.map +1 -1
  268. package/dist/types/api/featureFlags.d.ts +13 -0
  269. package/dist/types/api/featureFlags.js +2 -0
  270. package/dist/types/api/featureFlags.js.map +1 -0
  271. package/dist/types/api/meta.d.ts +6 -4
  272. package/dist/types/api/pdisk.d.ts +1 -1
  273. package/dist/types/api/storage.d.ts +132 -6
  274. package/dist/types/api/storage.js +1 -5
  275. package/dist/types/api/storage.js.map +1 -1
  276. package/dist/types/api/trace.d.ts +16 -6
  277. package/dist/types/api/trace.js +7 -1
  278. package/dist/types/api/trace.js.map +1 -1
  279. package/dist/types/api/vdisk.d.ts +1 -1
  280. package/dist/types/store/executeQuery.d.ts +25 -3
  281. package/dist/types/store/executeQuery.js +5 -1
  282. package/dist/types/store/executeQuery.js.map +1 -1
  283. package/dist/utils/constants.d.ts +0 -1
  284. package/dist/utils/constants.js +0 -1
  285. package/dist/utils/constants.js.map +1 -1
  286. package/dist/utils/disks/helpers.d.ts +4 -1
  287. package/dist/utils/disks/helpers.js +7 -1
  288. package/dist/utils/disks/helpers.js.map +1 -1
  289. package/dist/utils/monaco/yql/generateSuggestions.js +8 -3
  290. package/dist/utils/monaco/yql/generateSuggestions.js.map +1 -1
  291. package/dist/utils/nodes.d.ts +1 -2
  292. package/dist/utils/nodes.js.map +1 -1
  293. package/dist/utils/storage.d.ts +2 -21
  294. package/dist/utils/storage.js +14 -19
  295. package/dist/utils/storage.js.map +1 -1
  296. package/dist/utils/versions/parseNodesToVersionsValues.d.ts +1 -1
  297. package/dist/utils/versions/parseNodesToVersionsValues.js +3 -2
  298. package/dist/utils/versions/parseNodesToVersionsValues.js.map +1 -1
  299. package/package.json +2 -6
  300. package/dist/components/NotRenderUntilFirstVisible/NotRenderUntilFirstVisible.d.ts +0 -9
  301. package/dist/components/NotRenderUntilFirstVisible/NotRenderUntilFirstVisible.js +0 -9
  302. package/dist/components/NotRenderUntilFirstVisible/NotRenderUntilFirstVisible.js.map +0 -1
  303. package/dist/components/NotRenderUntilFirstVisible/NotRenderUntilFirstVisible.scss +0 -3
  304. package/dist/containers/Cluster/i18n/ru.json +0 -16
  305. package/dist/store/reducers/tenantOverview/topStorageGroups/topStorageGroups.d.ts +0 -4
  306. package/dist/store/reducers/tenantOverview/topStorageGroups/topStorageGroups.js +0 -29
  307. package/dist/store/reducers/tenantOverview/topStorageGroups/topStorageGroups.js.map +0 -1
  308. package/dist/store/reducers/tenantOverview/topStorageGroups/types.d.ts +0 -4
  309. package/dist/store/reducers/tenantOverview/topStorageGroups/types.js +0 -2
  310. package/dist/store/reducers/tenantOverview/topStorageGroups/types.js.map +0 -1
  311. package/dist/store/reducers/tenantOverview/topStorageGroups/utils.d.ts +0 -3
  312. package/dist/store/reducers/tenantOverview/topStorageGroups/utils.js +0 -13
  313. package/dist/store/reducers/tenantOverview/topStorageGroups/utils.js.map +0 -1
  314. package/dist/types/api/compute.d.ts +0 -60
  315. package/dist/types/api/compute.js +0 -6
  316. package/dist/types/api/compute.js.map +0 -1
@@ -8,9 +8,15 @@
8
8
  "tablets": "Tablets",
9
9
  "databases": "Databases",
10
10
  "nodes": "Nodes",
11
+ "nodes-state": "Nodes state",
11
12
  "load": "Load",
12
13
  "storage-size": "Storage size",
13
14
  "storage-groups": "Storage groups, {{diskType}}",
14
15
  "links": "Links",
15
- "versions": "Versions"
16
+ "versions": "Versions",
17
+ "quantity": {
18
+ "one": "{{count}} node",
19
+ "other": "{{count}} nodes",
20
+ "zero": "no nodes"
21
+ }
16
22
  }
@@ -1,2 +1,2 @@
1
- declare const _default: (key: "nodes" | "tablets" | "versions" | "load" | "links" | "storage-groups" | "disk-type" | "erasure" | "allocated" | "available" | "usage" | "dc" | "databases" | "storage-size", params?: import("@gravity-ui/i18n").Params) => string;
1
+ declare const _default: (key: "nodes" | "tablets" | "versions" | "load" | "links" | "storage-groups" | "disk-type" | "erasure" | "allocated" | "available" | "usage" | "dc" | "databases" | "nodes-state" | "storage-size" | "quantity", params?: import("@gravity-ui/i18n").Params) => string;
2
2
  export default _default;
@@ -1,6 +1,5 @@
1
1
  import { registerKeysets } from '../../../utils/i18n';
2
2
  import en from './en.json';
3
- import ru from './ru.json';
4
3
  const COMPONENT = 'ydb-cluster';
5
- export default registerKeysets(COMPONENT, { ru, en });
4
+ export default registerKeysets(COMPONENT, { en });
6
5
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/containers/Cluster/i18n/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,qBAAqB,CAAC;AAEpD,OAAO,EAAE,MAAM,WAAW,CAAC;AAC3B,OAAO,EAAE,MAAM,WAAW,CAAC;AAE3B,MAAM,SAAS,GAAG,aAAa,CAAC;AAEhC,eAAe,eAAe,CAAC,SAAS,EAAE,EAAC,EAAE,EAAE,EAAE,EAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/containers/Cluster/i18n/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,qBAAqB,CAAC;AAEpD,OAAO,EAAE,MAAM,WAAW,CAAC;AAE3B,MAAM,SAAS,GAAG,aAAa,CAAC;AAEhC,eAAe,eAAe,CAAC,SAAS,EAAE,EAAC,EAAE,EAAC,CAAC,CAAC"}
@@ -1,12 +1,10 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import React from 'react';
3
3
  import { Breadcrumbs } from '@gravity-ui/uikit';
4
- import { get } from 'lodash';
5
- import { StringParam, useQueryParams } from 'use-query-params';
6
4
  import { InternalLink } from '../../components/InternalLink';
7
5
  import { LinkWithIcon } from '../../components/LinkWithIcon/LinkWithIcon';
8
6
  import { backend, customBackend } from '../../store';
9
- import { clusterApi } from '../../store/reducers/cluster/cluster';
7
+ import { useClusterBaseInfo } from '../../store/reducers/cluster/cluster';
10
8
  import { cn } from '../../utils/cn';
11
9
  import { DEVELOPER_UI_TITLE } from '../../utils/constants';
12
10
  import { useTypedSelector } from '../../utils/hooks';
@@ -20,12 +18,10 @@ const getInternalLink = (singleClusterMode) => {
20
18
  return backend + '/internal';
21
19
  };
22
20
  function Header({ mainPage }) {
23
- var _a;
24
- const [queryParams] = useQueryParams({ clusterName: StringParam });
25
21
  const singleClusterMode = useTypedSelector((state) => state.singleClusterMode);
26
22
  const { page, pageBreadcrumbsOptions } = useTypedSelector((state) => state.header);
27
- const clusterInfo = clusterApi.useGetClusterInfoQuery((_a = queryParams.clusterName) !== null && _a !== void 0 ? _a : undefined);
28
- const clusterName = get(clusterInfo, ['currentData', 'clusterData', 'Name'], queryParams.clusterName);
23
+ const clusterInfo = useClusterBaseInfo();
24
+ const clusterName = clusterInfo.title || clusterInfo.name;
29
25
  const breadcrumbItems = React.useMemo(() => {
30
26
  const rawBreadcrumbs = [];
31
27
  let options = pageBreadcrumbsOptions;
@@ -1 +1 @@
1
- {"version":3,"file":"Header.js","sourceRoot":"","sources":["../../../src/containers/Header/Header.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,WAAW,EAAC,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAC,GAAG,EAAC,MAAM,QAAQ,CAAC;AAC3B,OAAO,EAAC,WAAW,EAAE,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAE7D,OAAO,EAAC,YAAY,EAAC,MAAM,+BAA+B,CAAC;AAC3D,OAAO,EAAC,YAAY,EAAC,MAAM,4CAA4C,CAAC;AACxE,OAAO,EAAC,OAAO,EAAE,aAAa,EAAC,MAAM,aAAa,CAAC;AACnD,OAAO,EAAC,UAAU,EAAC,MAAM,sCAAsC,CAAC;AAChE,OAAO,EAAC,EAAE,EAAC,MAAM,gBAAgB,CAAC;AAClC,OAAO,EAAC,kBAAkB,EAAC,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAC,gBAAgB,EAAC,MAAM,mBAAmB,CAAC;AAGnD,OAAO,EAAC,cAAc,EAAC,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BACnB,CAAC,EACF,EAAE,EAAE,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,aAE/B,IAAI,CAAC,CAAC,CAAC,CACJ,eAAM,SAAS,EAAE,CAAC,CAAC,kBAAkB,CAAC,YAAG,IAAI,GAAQ,CACxD,CAAC,CAAC,CAAC,IAAI,EACR,yBAAO,IAAI,GAAQ,IACR,CAClB,CAAC;oBACN,CAAC,GACH,EAEF,KAAC,YAAY,IAAC,KAAK,EAAE,kBAAkB,EAAE,GAAG,EAAE,eAAe,CAAC,iBAAiB,CAAC,GAAI,IAC/E,CACZ,CAAC;IACN,CAAC,CAAC;IACF,OAAO,YAAY,EAAE,CAAC;AAC1B,CAAC;AAED,eAAe,MAAM,CAAC"}
@@ -15,8 +15,7 @@ import { cn } from '../../utils/cn';
15
15
  import { useAutoRefreshInterval, useTypedDispatch } from '../../utils/hooks';
16
16
  import { StorageWrapper } from '../Storage/StorageWrapper';
17
17
  import { Tablets } from '../Tablets';
18
- import { NODE_PAGES, OVERVIEW, STORAGE, STRUCTURE, TABLETS } from './NodePages';
19
- import NodeStructure from './NodeStructure/NodeStructure';
18
+ import { NODE_PAGES, OVERVIEW, STORAGE, TABLETS } from './NodePages';
20
19
  import './Node.scss';
21
20
  const b = cn('node');
22
21
  export const STORAGE_ROLE = 'Storage';
@@ -76,9 +75,6 @@ export function Node(props) {
76
75
  case OVERVIEW: {
77
76
  return _jsx(FullNodeViewer, { node: node, className: b('overview-wrapper') });
78
77
  }
79
- case STRUCTURE: {
80
- return _jsx(NodeStructure, { className: b('node-page-wrapper'), nodeId: nodeId });
81
- }
82
78
  default:
83
79
  return false;
84
80
  }
@@ -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,MA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AAC,KAAK,GAAS,GACnC,EAET,KAAC,eAAe,IACZ,IAAI,EAAE,IAAI,EACV,oBAAoB,EAAE,KAAK,CAAC,oBAAoB,EAChD,SAAS,EAAE,CAAC,CAAC,QAAQ,CAAC,GACxB,EACD,KAAK,CAAC,CAAC,CAAC,KAAC,aAAa,IAAC,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,CAAC,OAAO,CAAC,GAAI,CAAC,CAAC,CAAC,IAAI,EACrE,UAAU,EAAE,EACb,cAAK,SAAS,EAAE,CAAC,CAAC,SAAS,CAAC,YAAG,gBAAgB,EAAE,GAAO,IACtD,CACT,CAAC;IACN,CAAC;IAED,IAAI,KAAK,EAAE,CAAC;QACR,OAAO,KAAC,aAAa,IAAC,KAAK,EAAE,KAAK,GAAI,CAAC;IAC3C,CAAC;IAED,OAAO,cAAK,SAAS,EAAC,OAAO,6BAAmB,CAAC;AACrD,CAAC"}
@@ -12,10 +12,11 @@ export const NODE_PAGES = [
12
12
  id: STORAGE,
13
13
  name: 'Storage',
14
14
  },
15
- {
16
- id: STRUCTURE,
17
- name: 'Structure',
18
- },
15
+ // TODO: remove Node Structure component
16
+ // {
17
+ // id: STRUCTURE,
18
+ // name: 'Structure',
19
+ // },
19
20
  {
20
21
  id: TABLETS,
21
22
  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;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
+ {"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,7 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import url from 'url';
3
2
  import React from 'react';
4
3
  import isEmpty from 'lodash/isEmpty';
4
+ import { StringParam, useQueryParams } from 'use-query-params';
5
5
  import { Loader } from '../.././../components/Loader';
6
6
  import { ResponseError } from '../../../components/Errors/ResponseError';
7
7
  import { nodeApi } from '../../../store/reducers/node/node';
@@ -19,12 +19,18 @@ function NodeStructure({ nodeId, className }) {
19
19
  const [autoRefreshInterval] = useAutoRefreshInterval();
20
20
  const { currentData, isFetching, error } = nodeApi.useGetNodeStructureQuery({ nodeId }, { pollingInterval: autoRefreshInterval });
21
21
  const loadingStructure = isFetching && currentData === undefined;
22
- const { pdiskId: pdiskIdFromUrl, vdiskId: vdiskIdFromUrl } = url.parse(window.location.href, true).query;
22
+ const [{ pdiskId: pdiskIdFromUrl, vdiskId: vdiskIdFromUrl }] = useQueryParams({
23
+ pdiskId: StringParam,
24
+ vdiskId: StringParam,
25
+ });
23
26
  const scrollContainerRef = React.useRef(null);
24
27
  const scrolled = React.useRef(false);
25
28
  React.useEffect(() => {
26
29
  var _a;
27
- if (!isEmpty(nodeStructure) && !scrolled.current && scrollContainerRef.current) {
30
+ if (!isEmpty(nodeStructure) &&
31
+ !scrolled.current &&
32
+ scrollContainerRef.current &&
33
+ pdiskIdFromUrl) {
28
34
  const element = document.getElementById(generateId({ type: 'pdisk', id: pdiskIdFromUrl }));
29
35
  let scrollToVdisk = 0;
30
36
  if (vdiskIdFromUrl) {
@@ -1 +1 @@
1
- {"version":3,"file":"NodeStructure.js","sourceRoot":"","sources":["../../../../src/containers/Node/NodeStructure/NodeStructure.tsx"],"names":[],"mappings":";AAAA,OAAO,GAAG,MAAM,KAAK,CAAC;AAEtB,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,OAAO,MAAM,gBAAgB,CAAC;AAErC,OAAO,EAAC,MAAM,EAAC,MAAM,8BAA8B,CAAC;AACpD,OAAO,E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K,IAAI,CAAC,WAAW,EAAE,CAAC;YACxB,OAAO,IAAI,CAAC;QAChB,CAAC;QACD,OAAO,eAAe,EAAE,CAAC;IAC7B,CAAC,CAAC;IAEF,OAAO,CACH,eAAK,SAAS,EAAE,CAAC,EAAE,EAAE,GAAG,EAAE,kBAAkB,aACvC,KAAK,CAAC,CAAC,CAAC,KAAC,aAAa,IAAC,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,CAAC,OAAO,CAAC,GAAI,CAAC,CAAC,CAAC,IAAI,EACtE,cAAK,SAAS,EAAE,SAAS,YAAG,aAAa,EAAE,GAAO,IAChD,CACT,CAAC;AACN,CAAC;AAED,eAAe,aAAa,CAAC"}
@@ -1,7 +1,6 @@
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 { skipToken } from '@reduxjs/toolkit/query';
5
4
  import { StringParam, useQueryParams } from 'use-query-params';
6
5
  import { EntitiesCount } from '../../components/EntitiesCount';
7
6
  import { AccessDenied } from '../../components/Errors/403';
@@ -17,8 +16,8 @@ import { nodesApi } from '../../store/reducers/nodes/nodes';
17
16
  import { filterNodes } from '../../store/reducers/nodes/selectors';
18
17
  import { ProblemFilterValues, changeFilter, selectProblemFilter, } from '../../store/reducers/settings/settings';
19
18
  import { cn } from '../../utils/cn';
20
- import { DEFAULT_TABLE_SETTINGS, USE_NODES_ENDPOINT_IN_DIAGNOSTICS_KEY } from '../../utils/constants';
21
- import { useAutoRefreshInterval, useSetting, useTableSort, useTypedDispatch, useTypedSelector, } from '../../utils/hooks';
19
+ import { DEFAULT_TABLE_SETTINGS } from '../../utils/constants';
20
+ import { useAutoRefreshInterval, useTableSort, useTypedDispatch, useTypedSelector, } from '../../utils/hooks';
22
21
  import { NodesUptimeFilterValues, isSortableNodesProperty, isUnavailableNode, nodesUptimeFilterValuesSchema, } from '../../utils/nodes';
23
22
  import { NODES_COLUMNS_WIDTH_LS_KEY, getNodesColumns } from './getNodesColumns';
24
23
  import i18n from './i18n';
@@ -35,16 +34,7 @@ export const Nodes = ({ path, database, additionalNodesProps = {} }) => {
35
34
  const dispatch = useTypedDispatch();
36
35
  const problemFilter = useTypedSelector(selectProblemFilter);
37
36
  const [autoRefreshInterval] = useAutoRefreshInterval();
38
- const [useNodesEndpoint] = useSetting(USE_NODES_ENDPOINT_IN_DIAGNOSTICS_KEY);
39
- // If there is no path, it's cluster Nodes tab
40
- const useGetComputeNodes = path && !useNodesEndpoint;
41
- const nodesQuery = nodesApi.useGetNodesQuery(useGetComputeNodes ? skipToken : { path, database }, {
42
- pollingInterval: autoRefreshInterval,
43
- });
44
- const computeQuery = nodesApi.useGetComputeNodesQuery(useGetComputeNodes ? { path } : skipToken, {
45
- pollingInterval: autoRefreshInterval,
46
- });
47
- const { currentData: data, isLoading, error } = useGetComputeNodes ? computeQuery : nodesQuery;
37
+ const { currentData: data, isLoading, error, } = nodesApi.useGetNodesQuery({ path, database }, { pollingInterval: autoRefreshInterval });
48
38
  const [sortValue, setSortValue] = React.useState({
49
39
  sortValue: 'NodeId',
50
40
  sortOrder: ASCENDING,
@@ -1 +1 @@
1
- {"version":3,"file":"Nodes.js","sourceRoot":"","sources":["../../../src/containers/Nodes/Nodes.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,SAAS,EAAC,MAAM,sDAAsD,CAAC;AAC/E,OAAO,EAAC,SAAS,EAAC,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAC,WAAW,EAAE,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAE7D,OAAO,EAAC,aAAa,EAAC,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAC,YAAY,EAAC,MAAM,6BAA6B,CAAC;AACzD,OAAO,EAAC,aAAa,EAAC,MAAM,6CAA6C,CAAC;AAC1E,OAAO,EAAC,aAAa,EAAC,MAAM,uCA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,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"}
@@ -83,7 +83,7 @@ export function DecommissionButton({ decommission, onConfirmAction, onConfirmAct
83
83
  const renderSwitcher = (props) => {
84
84
  return (_jsx(DecommissionButtonSwitcher, { popoverDisabled: popoverDisabled, loading: buttonLoading, disabled: buttonDisabled, ...props }));
85
85
  };
86
- return (_jsxs(React.Fragment, { children: [_jsx(DropdownMenu, { renderSwitcher: renderSwitcher, items: items, popupProps: { className: b('popup') } }), _jsx(CriticalActionDialog, { visible: Boolean(newDecommission), header: pDiskPageKeyset('decommission-dialog-title'), text: getDecommissionWarningText(newDecommission), withRetry: withRetry, retryButtonText: pDiskPageKeyset('decommission-dialog-force-change'), onConfirm: handleConfirmAction, onConfirmActionSuccess: handleConfirmActionSuccess, onConfirmActionError: handleConfirmActionError, onClose: handleClose })] }));
86
+ return (_jsxs(React.Fragment, { children: [_jsx(DropdownMenu, { renderSwitcher: renderSwitcher, items: items, popupProps: { className: b('popup') } }), _jsx(CriticalActionDialog, { visible: Boolean(newDecommission), header: pDiskPageKeyset('decommission-dialog-title'), text: getDecommissionWarningText(newDecommission), withRetry: withRetry, withCheckBox: true, retryButtonText: pDiskPageKeyset('decommission-dialog-force-change'), onConfirm: handleConfirmAction, onConfirmActionSuccess: handleConfirmActionSuccess, onConfirmActionError: handleConfirmActionError, onClose: handleClose })] }));
87
87
  }
88
88
  function DecommissionButtonSwitcher({ popoverDisabled, ...restProps }) {
89
89
  return (_jsx(Popover, { content: pDiskPageKeyset('decommission-change-not-allowed'), placement: 'right', disabled: popoverDisabled, children: _jsxs(Button, { view: 'normal', className: b('button'), ...restProps, children: [_jsx(Icon, { data: decommissionIcon }), pDiskPageKeyset('decommission-button'), _jsx(Icon, { data: ChevronDown })] }) }));
@@ -1 +1 @@
1
- {"version":3,"file":"DecommissionButton.js","sourceRoot":"","sources":["../../../../src/containers/PDiskPage/DecommissionButton/DecommissionButton.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,WAAW,EAAC,MAAM,mBAAmB,CAAC;AAE9C,OAAO,EAAC,MAAM,EAAE,YAAY,EAAE,IAAI,EAAE,OAAO,EAAC,MAAM,mBAAmB,CAAC;AAEtE,OAAO,EAAC,oBAAoB,EAAC,MAAM,+DAA+D,CAAC;AACnG,OAAO,EAAC,gBAAgB,EAAC,MAAM,gDAAgD,CAAC;AAEhF,OAAO,EAAC,IAAI,EAAC,MAAM,gBAAgB,CAAC;AACpC,OAAO,EAAC,EAAE,EAAC,MAAM,mBAAmB,CAAC;AACrC,OAAO,EAAC,eAAe,EAAC,MAAM,SAAS,CAAC;AAExC,OAAO,gBAAgB,MAAM,wCAAwC,CAAC;AAEtE,OAAO,2BAA2B,CAAC;AAEnC,MAAM,CAAC,GAAG,EAAE,CAAC,+BAA+B,CAAC,CAAC;AAE9C,SAAS,0BAA0B,CAAC,YAA8B;IAC9D,IAAI,YAAY,KAAK,mBAAmB,EAAE,C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AAE,aAAa,EACtB,QAAQ,EAAE,cAAc,KACpB,KAAK,GACX,CACL,CAAC;IACN,CAAC,CAAC;IAEF,OAAO,CACH,MAAC,KAAK,CAAC,QAAQ,eACX,KAAC,YAAY,IACT,cAAc,EAAE,cAAc,EAC9B,KAAK,EAAE,KAAK,EACZ,UAAU,EAAE,EAAC,SAAS,EAAE,CAAC,CAAC,OAAO,CAAC,EAAC,GACrC,EACF,KAAC,oBAAoB,IACjB,OAAO,EAAE,OAAO,CAAC,eAAe,CAAC,EACjC,MAAM,EAAE,eAAe,CAAC,2BAA2B,CAAC,EACpD,IAAI,EAAE,0BAA0B,CAAC,eAAe,CAAC,EACjD,SAAS,EAAE,SAAS,EACpB,eAAe,EAAE,eAAe,CAAC,kCAAkC,CAAC,EACpE,SAAS,EAAE,mBAAmB,EAC9B,sBAAsB,EAAE,0BAA0B,EAClD,oBAAoB,EAAE,wBAAwB,EAC9C,OAAO,EAAE,WAAW,GACtB,IACW,CACpB,CAAC;AACN,CAAC;AAED,SAAS,0BAA0B,CAAC,EAChC,eAAe,EACf,GAAG,SAAS,EAC4B;IACxC,OAAO,CACH,KAAC,OAAO,IACJ,OAAO,EAAE,eAAe,CAAC,iCAAiC,CAAC,EAC3D,SAAS,EAAE,OAAO,EAClB,QAAQ,EAAE,eAAe,YAEzB,MAAC,MAAM,IAAC,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC,CAAC,QAAQ,CAAC,KAAM,SAAS,aACzD,KAAC,IAAI,IAAC,IAAI,EAAE,gBAAgB,GAAI,EAC/B,eAAe,CAAC,qBAAqB,CAAC,EACvC,KAAC,IAAI,IAAC,IAAI,EAAE,WAAW,GAAI,IACtB,GACH,CACb,CAAC;AACN,CAAC"}
1
+ {"version":3,"file":"DecommissionButton.js","sourceRoot":"","sources":["../../../../src/containers/PDiskPage/DecommissionButton/DecommissionButton.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC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0B,CAAC,EAChC,eAAe,EACf,GAAG,SAAS,EAC4B;IACxC,OAAO,CACH,KAAC,OAAO,IACJ,OAAO,EAAE,eAAe,CAAC,iCAAiC,CAAC,EAC3D,SAAS,EAAE,OAAO,EAClB,QAAQ,EAAE,eAAe,YAEzB,MAAC,MAAM,IAAC,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC,CAAC,QAAQ,CAAC,KAAM,SAAS,aACzD,KAAC,IAAI,IAAC,IAAI,EAAE,gBAAgB,GAAI,EAC/B,eAAe,CAAC,qBAAqB,CAAC,EACvC,KAAC,IAAI,IAAC,IAAI,EAAE,WAAW,GAAI,IACtB,GACH,CACb,CAAC;AACN,CAAC"}
@@ -1,21 +1,30 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
+ import React from 'react';
2
3
  import { ResizeableDataTable } from '../../../components/ResizeableDataTable/ResizeableDataTable';
3
4
  import { TableSkeleton } from '../../../components/TableSkeleton/TableSkeleton';
4
- import { pDiskApi } from '../../../store/reducers/pdisk/pdisk';
5
+ import { useCapabilitiesLoaded, useStorageGroupsHandlerAvailable, } from '../../../store/reducers/capabilities/hooks';
6
+ import { storageApi } from '../../../store/reducers/storage/storage';
5
7
  import { DEFAULT_TABLE_SETTINGS } from '../../../utils/constants';
6
8
  import { useAutoRefreshInterval } from '../../../utils/hooks';
7
9
  import { STORAGE_GROUPS_COLUMNS_WIDTH_LS_KEY } from '../../Storage/StorageGroups/columns/getStorageGroupsColumns';
8
10
  import { useGetDiskStorageColumns } from '../../Storage/StorageGroups/columns/hooks';
11
+ import { preparePDiskStorageResponse } from './utils';
9
12
  export function PDiskGroups({ pDiskId, nodeId }) {
10
- var _a;
13
+ const capabilitiesLoaded = useCapabilitiesLoaded();
14
+ const groupsHandlerAvailable = useStorageGroupsHandlerAvailable();
11
15
  const [autoRefreshInterval] = useAutoRefreshInterval();
12
- const pDiskStorageQuery = pDiskApi.useGetStorageInfoQuery({ pDiskId, nodeId }, { pollingInterval: autoRefreshInterval });
13
- const loading = pDiskStorageQuery.isFetching && pDiskStorageQuery.currentData === undefined;
14
- const data = (_a = pDiskStorageQuery.currentData) !== null && _a !== void 0 ? _a : [];
16
+ const { currentData, isFetching } = storageApi.useGetStorageGroupsInfoQuery({ pDiskId, nodeId, shouldUseGroupsHandler: groupsHandlerAvailable }, {
17
+ pollingInterval: autoRefreshInterval,
18
+ skip: !capabilitiesLoaded,
19
+ });
20
+ const loading = isFetching && currentData === undefined;
21
+ const preparedGroups = React.useMemo(() => {
22
+ return preparePDiskStorageResponse(currentData, pDiskId, nodeId) || [];
23
+ }, [currentData, pDiskId, nodeId]);
15
24
  const pDiskStorageColumns = useGetDiskStorageColumns();
16
- if (loading) {
25
+ if (loading || !capabilitiesLoaded) {
17
26
  return _jsx(TableSkeleton, {});
18
27
  }
19
- return (_jsx(ResizeableDataTable, { columnsWidthLSKey: STORAGE_GROUPS_COLUMNS_WIDTH_LS_KEY, data: data, columns: pDiskStorageColumns, settings: DEFAULT_TABLE_SETTINGS }));
28
+ return (_jsx(ResizeableDataTable, { columnsWidthLSKey: STORAGE_GROUPS_COLUMNS_WIDTH_LS_KEY, data: preparedGroups, columns: pDiskStorageColumns, settings: DEFAULT_TABLE_SETTINGS }));
20
29
  }
21
30
  //# sourceMappingURL=PDiskGroups.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"PDiskGroups.js","sourceRoot":"","sources":["../../../../src/containers/PDiskPage/PDiskGroups/PDiskGroups.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,mBAAmB,EAAC,MAAM,6DAA6D,CAAC;AAChG,OAAO,EAAC,aAAa,EAAC,MAAM,iDAAiD,CAAC;AAC9E,OAAO,EAAC,QAAQ,EAAC,MAAM,qCAAqC,CAAC;AAC7D,OAAO,EAAC,sBAAsB,EAAC,MAAM,0BAA0B,CAAC;AAChE,OAAO,EAAC,sBAAsB,EAAC,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EAAC,mCAAmC,EAAC,MAAM,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StorageResponse } from '../../../store/reducers/storage/types';
2
+ export declare function preparePDiskStorageResponse(data?: PreparedStorageResponse, pDiskId?: number | string, nodeId?: number | string): import("../../../store/reducers/storage/types").PreparedStorageGroup[] | undefined;
@@ -0,0 +1,14 @@
1
+ export function preparePDiskStorageResponse(data, pDiskId, nodeId) {
2
+ var _a;
3
+ return (_a = data === null || data === void 0 ? void 0 : data.groups) === null || _a === void 0 ? void 0 : _a.filter((group) => {
4
+ var _a;
5
+ return (_a = group.VDisks) === null || _a === void 0 ? void 0 : _a.some((vdisk) => {
6
+ var _a, _b, _c, _d;
7
+ // If VDisk has PDisk inside, PDiskId and NodeId fields could be only inside PDisk and vice versa
8
+ const groupPDiskId = (_a = vdisk.PDiskId) !== null && _a !== void 0 ? _a : (_b = vdisk.PDisk) === null || _b === void 0 ? void 0 : _b.PDiskId;
9
+ const groupNodeId = (_c = vdisk.NodeId) !== null && _c !== void 0 ? _c : (_d = vdisk.PDisk) === null || _d === void 0 ? void 0 : _d.NodeId;
10
+ return (Number(groupPDiskId) === Number(pDiskId) && Number(groupNodeId) === Number(nodeId));
11
+ });
12
+ });
13
+ }
14
+ //# sourceMappingURL=utils.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../../src/containers/PDiskPage/PDiskGroups/utils.ts"],"names":[],"mappings":"AAEA,MAAM,UAAU,2BAA2B,CACvC,IAA8B,EAC9B,OAAyB,EACzB,MAAwB;;IAExB,OAAO,MAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,MAAM,0CAAE,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE;;QAClC,OAAO,MAAA,KAAK,CAAC,MAAM,0CAAE,IAAI,CAAC,CAAC,KAAK,EAAE,EAAE;;YAChC,iGAAiG;YACjG,MAAM,YAAY,GAAG,MAAA,KAAK,CAAC,OAAO,mCAAI,MAAA,KAAK,CAAC,KAAK,0CAAE,OAAO,CAAC;YAC3D,MAAM,WAAW,GAAG,MAAA,KAAK,CAAC,MAAM,mCAAI,MAAA,KAAK,CAAC,KAAK,0CAAE,MAAM,CAAC;YAExD,OAAO,CACH,MAAM,CAAC,YAAY,CAAC,KAAK,MAAM,CAAC,OAAO,CAAC,IAAI,MAAM,CAAC,WAAW,CAAC,KAAK,MAAM,CAAC,MAAM,CAAC,CACrF,CAAC;QACN,CAAC,CAAC,CAAC;IACP,CAAC,CAAC,CAAC;AACP,CAAC"}
@@ -100,7 +100,7 @@ export function PDiskPage() {
100
100
  };
101
101
  const handleAfterAction = () => {
102
102
  if (pDiskParamsDefined) {
103
- dispatch(api.util.invalidateTags([{ type: 'PDiskData', id: getPDiskId(nodeId, pDiskId) }]));
103
+ dispatch(api.util.invalidateTags([{ type: 'PDiskData', id: getPDiskId(nodeId, pDiskId) }]), 'StorageData');
104
104
  }
105
105
  };
106
106
  const renderHelmet = () => {
@@ -1 +1 @@
1
- {"version":3,"file":"PDiskPage.js","sourceRoot":"","sources":["../../../src/containers/PDiskPage/PDiskPage.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,eAAe,EAAC,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAC,IAAI,EAAE,IAAI,EAAC,MAAM,mBAAmB,CAAC;AAC7C,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,uBAAuB,EAAC,MAAM,kEAAkE,CAAC;AACzG,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,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AC;IAEF,MAAM,WAAW,GAAG,GAAG,EAAE;QACrB,IAAI,CAAC,cAAc,CAAC,KAAK,EAAE,CAAC;YACxB,OAAO,IAAI,CAAC;QAChB,CAAC;QACD,OAAO,KAAC,aAAa,IAAC,KAAK,EAAE,cAAc,CAAC,KAAK,GAAI,CAAC;IAC1D,CAAC,CAAC;IAEF,OAAO,CACH,eAAK,SAAS,EAAE,WAAW,CAAC,IAAI,CAAC,aAC5B,YAAY,EAAE,EACd,cAAc,EAAE,EAChB,eAAe,EAAE,EACjB,cAAc,EAAE,EAChB,WAAW,EAAE,EACb,UAAU,EAAE,EACZ,UAAU,EAAE,EACZ,iBAAiB,EAAE,IAClB,CACT,CAAC;AACN,CAAC"}
@@ -5,6 +5,7 @@ import { AccessDenied } from '../../components/Errors/403';
5
5
  import { isAccessError } from '../../components/Errors/PageError/PageError';
6
6
  import { ResponseError } from '../../components/Errors/ResponseError';
7
7
  import { TableWithControlsLayout } from '../../components/TableWithControlsLayout/TableWithControlsLayout';
8
+ import { useCapabilitiesLoaded, useStorageGroupsHandlerAvailable, } from '../../store/reducers/capabilities/hooks';
8
9
  import { STORAGE_TYPES, VISIBLE_ENTITIES } from '../../store/reducers/storage/constants';
9
10
  import { filterGroups, filterNodes, getUsageFilterOptions, } from '../../store/reducers/storage/selectors';
10
11
  import { storageApi } from '../../store/reducers/storage/storage';
@@ -32,6 +33,8 @@ const UsageFilterParam = withDefault({
32
33
  }, []);
33
34
  export const Storage = ({ additionalNodesProps, database, nodeId }) => {
34
35
  var _a;
36
+ const capabilitiesLoaded = useCapabilitiesLoaded();
37
+ const groupsHandlerAvailable = useStorageGroupsHandlerAvailable();
35
38
  const [autoRefreshInterval] = useAutoRefreshInterval();
36
39
  const [queryParams, setQueryParams] = useQueryParams({
37
40
  type: StringParam,
@@ -40,7 +43,7 @@ export const Storage = ({ additionalNodesProps, database, nodeId }) => {
40
43
  uptimeFilter: StringParam,
41
44
  usageFilter: UsageFilterParam,
42
45
  });
43
- const type = storageTypeSchema.parse(queryParams.type);
46
+ const storageType = storageTypeSchema.parse(queryParams.type);
44
47
  const visibleEntities = visibleEntitiesSchema.parse(queryParams.visible);
45
48
  const filter = (_a = queryParams.search) !== null && _a !== void 0 ? _a : '';
46
49
  const uptimeFilter = nodesUptimeFilterValuesSchema.parse(queryParams.uptimeFilter);
@@ -55,15 +58,12 @@ export const Storage = ({ additionalNodesProps, database, nodeId }) => {
55
58
  sortValue: undefined,
56
59
  });
57
60
  const groupsSortParams = groupSort.sortOrder ? groupSort : getDefaultSortGroup(visibleEntities);
58
- // Do not display Nodes table for Node page (NodeId present)
59
- const isNodePage = nodeId !== undefined;
60
- const storageType = isNodePage ? STORAGE_TYPES.groups : type;
61
- const nodesQuery = storageApi.useGetStorageNodesInfoQuery({ database, visibleEntities }, {
61
+ const nodesQuery = storageApi.useGetStorageNodesInfoQuery({ database, visibleEntities, node_id: nodeId }, {
62
62
  skip: storageType !== STORAGE_TYPES.nodes,
63
63
  pollingInterval: autoRefreshInterval,
64
64
  });
65
- const groupsQuery = storageApi.useGetStorageGroupsInfoQuery({ database, visibleEntities, nodeId }, {
66
- skip: storageType !== STORAGE_TYPES.groups,
65
+ const groupsQuery = storageApi.useGetStorageGroupsInfoQuery({ database, with: visibleEntities, nodeId, shouldUseGroupsHandler: groupsHandlerAvailable }, {
66
+ skip: storageType !== STORAGE_TYPES.groups || !capabilitiesLoaded,
67
67
  pollingInterval: autoRefreshInterval,
68
68
  });
69
69
  const { currentData, isFetching, error } = storageType === STORAGE_TYPES.nodes ? nodesQuery : groupsQuery;
@@ -99,13 +99,13 @@ export const Storage = ({ additionalNodesProps, database, nodeId }) => {
99
99
  return (_jsxs(React.Fragment, { children: [storageType === STORAGE_TYPES.groups && (_jsx(StorageGroups, { visibleEntities: visibleEntities, data: storageGroups, tableSettings: DEFAULT_TABLE_SETTINGS, onShowAll: () => handleGroupVisibilityChange(VISIBLE_ENTITIES.all), sort: groupsSort, handleSort: handleGroupsSort }, "groups")), storageType === STORAGE_TYPES.nodes && (_jsx(StorageNodes, { visibleEntities: visibleEntities, nodesUptimeFilter: uptimeFilter, data: storageNodes, tableSettings: DEFAULT_TABLE_SETTINGS, onShowAll: handleShowAllNodes, additionalNodesProps: additionalNodesProps, sort: nodesSort, handleSort: handleNodesSort, database: database }, "nodes"))] }));
100
100
  };
101
101
  const renderControls = () => {
102
- return (_jsx(StorageControls, { searchValue: filter, handleSearchValueChange: handleTextFilterChange, withTypeSelector: !isNodePage, storageType: storageType, handleStorageTypeChange: handleStorageTypeChange, visibleEntities: visibleEntities, handleVisibleEntitiesChange: handleGroupVisibilityChange, nodesUptimeFilter: uptimeFilter, handleNodesUptimeFilterChange: handleUptimeFilterChange, groupsUsageFilter: usageFilter, groupsUsageFilterOptions: usageFilterOptions, handleGroupsUsageFilterChange: handleUsageFilterChange, entitiesCountCurrent: storageType === STORAGE_TYPES.groups
102
+ return (_jsx(StorageControls, { searchValue: filter, handleSearchValueChange: handleTextFilterChange, withTypeSelector: true, storageType: storageType, handleStorageTypeChange: handleStorageTypeChange, visibleEntities: visibleEntities, handleVisibleEntitiesChange: handleGroupVisibilityChange, nodesUptimeFilter: uptimeFilter, handleNodesUptimeFilterChange: handleUptimeFilterChange, groupsUsageFilter: usageFilter, groupsUsageFilterOptions: usageFilterOptions, handleGroupsUsageFilterChange: handleUsageFilterChange, entitiesCountCurrent: storageType === STORAGE_TYPES.groups
103
103
  ? storageGroups.length
104
104
  : storageNodes.length, entitiesCountTotal: entitiesCount.total, entitiesLoading: isLoading }));
105
105
  };
106
106
  if (isAccessError(error)) {
107
107
  return _jsx(AccessDenied, { position: "left" });
108
108
  }
109
- return (_jsxs(TableWithControlsLayout, { children: [_jsx(TableWithControlsLayout.Controls, { children: renderControls() }), error ? _jsx(ResponseError, { error: error }) : null, _jsx(TableWithControlsLayout.Table, { loading: isLoading, className: b('table'), children: currentData ? renderDataTable() : null })] }));
109
+ return (_jsxs(TableWithControlsLayout, { children: [_jsx(TableWithControlsLayout.Controls, { children: renderControls() }), error ? _jsx(ResponseError, { error: error }) : null, _jsx(TableWithControlsLayout.Table, { loading: isLoading || !capabilitiesLoaded, className: b('table'), children: currentData ? renderDataTable() : null })] }));
110
110
  };
111
111
  //# sourceMappingURL=Storage.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Storage.js","sourceRoot":"","sources":["../../../src/containers/Storage/Storage.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,UAAU,EAAE,WAAW,EAAE,cAAc,EAAE,WAAW,EAAC,MAAM,kBAAkB,CAAC;AAEtF,OAAO,EAAC,YAAY,EAAC,MAAM,6BAA6B,CAAC;AACzD,OAAO,EAAC,aAAa,EAAC,MAAM,6CAA6C,CAAC;AAC1E,OAAO,EAAC,aAAa,EAAC,MAAM,uCAAuC,CAAC;AACpE,OAAO,EAAC,uBAAuB,EAAC,MAAM,kEAAkE,CAAC;AAEzG,OAAO,EAAC,aAAa,EAAE,gBAAgB,EAAC,MAAM,wCAAwC,CAAC;AACvF,OAAO,EACH,YAAY,EACZ,WAAW,EACX,qBAAqB,GACxB,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAAC,UAAU,EAAC,MAAM,sCAAsC,CAAC;AAChE,OAAO,EAAC,iBAAiB,EAAE,qBAAqB,EAAC,MAAM,oCAAoC,CAAC;AAO5F,OAAO,EAAC,sBAAsB,EAAC,MAAM,uBAAuB,CAAC;AAC7D,OAAO,EAAC,sBAAsB,EAAE,YAAY,EAAC,MAAM,mBAAmB,CAAC;AACvE,OAAO,EAAC,uBAAuB,EAAE,6BAA6B,EAAC,MAAM,mBAAmB,CAAC;AAEzF,OAAO,EAAC,eAAe,EAAC,MAAM,mCAAmC,CAAC;AAClE,OAAO,EAAC,aAAa,EAAC,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAC,YAAY,EAAC,MAAM,6BAA6B,CAAC;AACzD,OAAO,EAAC,CAAC,EAAC,MAAM,UAAU,CA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,CAAC;IAEF,IAAI,aAAa,CAAC,KAAK,CAAC,EAAE,CAAC;QACvB,OAAO,KAAC,YAAY,IAAC,QAAQ,EAAC,MAAM,GAAG,CAAC;IAC5C,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,IAC1B,OAAO,EAAE,SAAS,IAAI,CAAC,kBAAkB,EACzC,SAAS,EAAE,CAAC,CAAC,OAAO,CAAC,YAEpB,WAAW,CAAC,CAAC,CAAC,eAAe,EAAE,CAAC,CAAC,CAAC,IAAI,GACX,IACV,CAC7B,CAAC;AACN,CAAC,CAAC"}
@@ -1,14 +1,19 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import React from 'react';
3
+ import { LoaderWrapper } from '../../../components/LoaderWrapper/LoaderWrapper';
3
4
  import { ResizeablePaginatedTable } from '../../../components/PaginatedTable';
5
+ import { useCapabilitiesLoaded, useStorageGroupsHandlerAvailable, } from '../../../store/reducers/capabilities/hooks';
4
6
  import { VISIBLE_ENTITIES } from '../../../store/reducers/storage/constants';
5
7
  import { StorageGroupsEmptyDataMessage } from './StorageGroupsEmptyDataMessage';
6
8
  import { STORAGE_GROUPS_COLUMNS_WIDTH_LS_KEY } from './columns/getStorageGroupsColumns';
7
9
  import { useGetStorageGroupsColumns } from './columns/hooks';
8
- import { getStorageGroups } from './getGroups';
10
+ import { useGroupsGetter } from './getGroups';
9
11
  import i18n from './i18n';
10
12
  export const PaginatedStorageGroups = ({ searchValue, visibleEntities, database, nodeId, onShowAll, parentContainer, renderControls, renderErrorMessage, }) => {
11
13
  const columns = useGetStorageGroupsColumns(visibleEntities);
14
+ const capabilitiesLoaded = useCapabilitiesLoaded();
15
+ const groupsHandlerAvailable = useStorageGroupsHandlerAvailable();
16
+ const fetchData = useGroupsGetter(groupsHandlerAvailable);
12
17
  const tableFilters = React.useMemo(() => {
13
18
  return { searchValue, visibleEntities, database, nodeId };
14
19
  }, [searchValue, visibleEntities, database, nodeId]);
@@ -18,6 +23,6 @@ export const PaginatedStorageGroups = ({ searchValue, visibleEntities, database,
18
23
  }
19
24
  return i18n('empty.default');
20
25
  };
21
- return (_jsx(ResizeablePaginatedTable, { columnsWidthLSKey: STORAGE_GROUPS_COLUMNS_WIDTH_LS_KEY, parentContainer: parentContainer, columns: columns, fetchData: getStorageGroups, limit: 50, renderControls: renderControls, renderErrorMessage: renderErrorMessage, renderEmptyDataMessage: renderEmptyDataMessage, filters: tableFilters, tableName: "storage-groups" }));
26
+ return (_jsx(LoaderWrapper, { loading: !capabilitiesLoaded, children: _jsx(ResizeablePaginatedTable, { columnsWidthLSKey: STORAGE_GROUPS_COLUMNS_WIDTH_LS_KEY, parentContainer: parentContainer, columns: columns, fetchData: fetchData, limit: 50, renderControls: renderControls, renderErrorMessage: renderErrorMessage, renderEmptyDataMessage: renderEmptyDataMessage, filters: tableFilters, tableName: "storage-groups" }) }));
22
27
  };
23
28
  //# sourceMappingURL=PaginatedStorageGroups.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"PaginatedStorageGroups.js","sourceRoot":"","sources":["../../../../src/containers/Storage/StorageGroups/PaginatedStorageGroups.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAC,wBAAwB,EAAC,MAAM,oCAAoC,CAAC;AAC5E,OAAO,EAAC,gBAAgB,EAAC,MAAM,2CAA2C,CAAC;AAG3E,OAAO,EAAC,6BAA6B,EAAC,MAAM,iCAAiC,CAAC;AAC9E,OAAO,EAAC,mCAAmC,EAAC,MAAM,mCAAmC,CAAC;AACtF,OAAO,EAAC,0BAA0B,EAAC,MAAM,iBAAiB,CAAC;AAC3D,OAAO,EAAC,gBAAgB,EAAC,MAAM,aAAa,CAAC;AAC7C,OAAO,IAAI,MAAM,QAAQ,CAAC;AAe1B,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,EACnC,WAAW,EACX,eAAe,EACf,QAAQ,EACR,MAAM,EACN,SAAS,EACT,eAAe,EACf,cAAc,EACd,kBAAkB,GACQ,EAAE,EAAE;IAC9B,MAAM,OAAO,GAAG,0BAA0B,CAAC,eAAe,CAAC,CAAC;IAE5D,MAAM,YAAY,GAAG,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE;QACpC,OAAO,EAAC,WAAW,EAAE,eAAe,EAAE,QAAQ,EAAE,MAAM,EAAC,CAAC;IAC5D,CAAC,EAAE,CAAC,WAAW,EAAE,eAAe,EAAE,QAAQ,EAAE,MAAM,CAAC,CAAC,CAAC;IAErD,MAAM,sBAAsB,GAAG,GAAG,EAAE;QAChC,IAAI,eAAe,KAAK,gBAAgB,CAAC,GAAG,EAAE,CAAC;YAC3C,OAAO,CACH,KAAC,6BAA6B,IAC1B,SAAS,EAAE,SAAS,EACpB,eAAe,EAAE,eAAe,GAClC,CACL,CAAC;QACN,CAAC;QAED,OAAO,IAAI,CAAC,eAAe,CAAC,CAAC;IACjC,CAAC,CAAC;IAEF,OAAO,CACH,KAAC,wBAAwB,IACrB,iBAAiB,EAAE,mCAAmC,EACtD,eAAe,EAAE,eAAe,EAChC,OAAO,EAAE,OAAO,EAChB,SAAS,EAAE,gBAAgB,EAC3B,KAAK,EAAE,EAAE,EACT,cAAc,EAAE,cAAc,EAC9B,kBAAkB,EAAE,kBAAkB,EACtC,sBAAsB,EAAE,sBAAsB,EAC9C,OAAO,EAAE,YAAY,EACrB,SAAS,EAAC,gBAAgB,GAC5B,CACL,CAAC;AACN,CAAC,CAAC"}
1
+ {"version":3,"file":"PaginatedStorageGroups.js","sourceRoot":"","sources":["../../../../src/containers/Storage/StorageGroups/PaginatedStorageGroups.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B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GAClC,CACL,CAAC;QACN,CAAC;QAED,OAAO,IAAI,CAAC,eAAe,CAAC,CAAC;IACjC,CAAC,CAAC;IAEF,OAAO,CACH,KAAC,aAAa,IAAC,OAAO,EAAE,CAAC,kBAAkB,YACvC,KAAC,wBAAwB,IACrB,iBAAiB,EAAE,mCAAmC,EACtD,eAAe,EAAE,eAAe,EAChC,OAAO,EAAE,OAAO,EAChB,SAAS,EAAE,SAAS,EACpB,KAAK,EAAE,EAAE,EACT,cAAc,EAAE,cAAc,EAC9B,kBAAkB,EAAE,kBAAkB,EACtC,sBAAsB,EAAE,sBAAsB,EAC9C,OAAO,EAAE,YAAY,EACrB,SAAS,EAAC,gBAAgB,GAC5B,GACU,CACnB,CAAC;AACN,CAAC,CAAC"}
@@ -9,7 +9,7 @@ export declare const GROUPS_COLUMNS_IDS: {
9
9
  readonly Used: "Used";
10
10
  readonly Limit: "Limit";
11
11
  readonly Usage: "Usage";
12
- readonly UsedSpaceFlag: "UsedSpaceFlag";
12
+ readonly DiskSpace: "DiskSpace";
13
13
  readonly Read: "Read";
14
14
  readonly Write: "Write";
15
15
  readonly VDisks: "VDisks";