ydb-embedded-ui 6.21.0 → 6.22.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (280) hide show
  1. package/dist/components/AutoRefreshControl/i18n/index.d.ts +1 -1
  2. package/dist/components/DiskStateProgressBar/DiskStateProgressBar.d.ts +2 -1
  3. package/dist/components/DiskStateProgressBar/DiskStateProgressBar.js +2 -2
  4. package/dist/components/DiskStateProgressBar/DiskStateProgressBar.js.map +1 -1
  5. package/dist/components/DiskStateProgressBar/DiskStateProgressBar.scss +4 -0
  6. package/dist/components/GroupInfo/i18n/index.d.ts +1 -1
  7. package/dist/components/PDiskInfo/PDiskInfo.js +1 -3
  8. package/dist/components/PDiskInfo/PDiskInfo.js.map +1 -1
  9. package/dist/components/PDiskInfo/i18n/index.d.ts +1 -1
  10. package/dist/components/QueryResultTable/Cell/Cell.js +1 -4
  11. package/dist/components/QueryResultTable/Cell/Cell.js.map +1 -1
  12. package/dist/components/StorageGroupInfo/i18n/index.d.ts +1 -1
  13. package/dist/components/VDisk/VDisk.d.ts +2 -1
  14. package/dist/components/VDisk/VDisk.js +2 -2
  15. package/dist/components/VDisk/VDisk.js.map +1 -1
  16. package/dist/components/VDiskInfo/VDiskInfo.js +1 -3
  17. package/dist/components/VDiskInfo/VDiskInfo.js.map +1 -1
  18. package/dist/components/VDiskInfo/i18n/index.d.ts +1 -1
  19. package/dist/containers/App/App.scss +1 -1
  20. package/dist/containers/Cluster/Cluster.js +1 -1
  21. package/dist/containers/Cluster/Cluster.js.map +1 -1
  22. package/dist/containers/Cluster/i18n/index.d.ts +1 -1
  23. package/dist/containers/Clusters/Clusters.js +3 -3
  24. package/dist/containers/Clusters/Clusters.js.map +1 -1
  25. package/dist/containers/Clusters/columns.js +2 -2
  26. package/dist/containers/Clusters/columns.js.map +1 -1
  27. package/dist/containers/Clusters/constants.d.ts +4 -4
  28. package/dist/containers/Clusters/constants.js +3 -3
  29. package/dist/containers/Clusters/constants.js.map +1 -1
  30. package/dist/containers/Node/Node.js +14 -4
  31. package/dist/containers/Node/Node.js.map +1 -1
  32. package/dist/containers/Node/NodePages.js +4 -5
  33. package/dist/containers/Node/NodePages.js.map +1 -1
  34. package/dist/containers/Nodes/Nodes.js +10 -11
  35. package/dist/containers/Nodes/Nodes.js.map +1 -1
  36. package/dist/containers/Nodes/PaginatedNodes.js +10 -11
  37. package/dist/containers/Nodes/PaginatedNodes.js.map +1 -1
  38. package/dist/containers/Nodes/{getNodesColumns.d.ts → columns/columns.d.ts} +3 -10
  39. package/dist/containers/Nodes/{getNodesColumns.js → columns/columns.js} +29 -39
  40. package/dist/containers/Nodes/columns/columns.js.map +1 -0
  41. package/dist/containers/Nodes/columns/constants.d.ts +39 -0
  42. package/dist/containers/Nodes/columns/constants.js +79 -0
  43. package/dist/containers/Nodes/columns/constants.js.map +1 -0
  44. package/dist/containers/Nodes/columns/hooks.d.ts +6 -0
  45. package/dist/containers/Nodes/columns/hooks.js +11 -0
  46. package/dist/containers/Nodes/columns/hooks.js.map +1 -0
  47. package/dist/containers/Nodes/columns/i18n/en.json +16 -0
  48. package/dist/containers/Nodes/columns/i18n/index.d.ts +2 -0
  49. package/dist/containers/Nodes/columns/i18n/index.js +5 -0
  50. package/dist/containers/Nodes/columns/i18n/index.js.map +1 -0
  51. package/dist/containers/Nodes/columns/types.d.ts +9 -0
  52. package/dist/containers/Nodes/columns/types.js +2 -0
  53. package/dist/containers/Nodes/columns/types.js.map +1 -0
  54. package/dist/containers/Nodes/getNodes.d.ts +3 -2
  55. package/dist/containers/Nodes/getNodes.js +6 -3
  56. package/dist/containers/Nodes/getNodes.js.map +1 -1
  57. package/dist/containers/PDiskPage/PDiskPage.js +12 -10
  58. package/dist/containers/PDiskPage/PDiskPage.js.map +1 -1
  59. package/dist/containers/PDiskPage/PDiskPage.scss +14 -14
  60. package/dist/containers/PDiskPage/i18n/en.json +1 -1
  61. package/dist/containers/PDiskPage/i18n/index.d.ts +1 -1
  62. package/dist/containers/ReduxTooltip/ReduxTooltip.js +7 -7
  63. package/dist/containers/ReduxTooltip/ReduxTooltip.js.map +1 -1
  64. package/dist/containers/Storage/PDisk/PDisk.d.ts +4 -4
  65. package/dist/containers/Storage/PDisk/PDisk.js +2 -2
  66. package/dist/containers/Storage/PDisk/PDisk.js.map +1 -1
  67. package/dist/containers/Storage/PaginatedStorage.d.ts +2 -3
  68. package/dist/containers/Storage/PaginatedStorage.js +27 -6
  69. package/dist/containers/Storage/PaginatedStorage.js.map +1 -1
  70. package/dist/containers/Storage/Storage.d.ts +4 -4
  71. package/dist/containers/Storage/Storage.js +45 -11
  72. package/dist/containers/Storage/Storage.js.map +1 -1
  73. package/dist/containers/Storage/StorageControls/StorageControls.d.ts +4 -1
  74. package/dist/containers/Storage/StorageControls/StorageControls.js +4 -2
  75. package/dist/containers/Storage/StorageControls/StorageControls.js.map +1 -1
  76. package/dist/containers/Storage/StorageGroups/PaginatedStorageGroups.d.ts +3 -1
  77. package/dist/containers/Storage/StorageGroups/PaginatedStorageGroups.js +2 -4
  78. package/dist/containers/Storage/StorageGroups/PaginatedStorageGroups.js.map +1 -1
  79. package/dist/containers/Storage/StorageGroups/StorageGroups.d.ts +3 -1
  80. package/dist/containers/Storage/StorageGroups/StorageGroups.js +2 -4
  81. package/dist/containers/Storage/StorageGroups/StorageGroups.js.map +1 -1
  82. package/dist/containers/Storage/StorageGroups/columns/columns.d.ts +4 -0
  83. package/dist/containers/Storage/StorageGroups/columns/{getStorageGroupsColumns.js → columns.js} +33 -81
  84. package/dist/containers/Storage/StorageGroups/columns/columns.js.map +1 -0
  85. package/dist/containers/Storage/StorageGroups/columns/constants.d.ts +37 -0
  86. package/dist/containers/Storage/StorageGroups/columns/constants.js +75 -0
  87. package/dist/containers/Storage/StorageGroups/columns/constants.js.map +1 -0
  88. package/dist/containers/Storage/StorageGroups/columns/hooks.d.ts +6 -2
  89. package/dist/containers/Storage/StorageGroups/columns/hooks.js +22 -14
  90. package/dist/containers/Storage/StorageGroups/columns/hooks.js.map +1 -1
  91. package/dist/containers/Storage/StorageGroups/columns/i18n/en.json +15 -0
  92. package/dist/containers/Storage/StorageGroups/columns/i18n/index.d.ts +2 -0
  93. package/dist/containers/Storage/StorageGroups/columns/i18n/index.js +5 -0
  94. package/dist/containers/Storage/StorageGroups/columns/i18n/index.js.map +1 -0
  95. package/dist/containers/Storage/StorageGroups/columns/types.d.ts +2 -6
  96. package/dist/containers/Storage/StorageGroups/getGroups.js +4 -1
  97. package/dist/containers/Storage/StorageGroups/getGroups.js.map +1 -1
  98. package/dist/containers/Storage/StorageNodes/PaginatedStorageNodes.d.ts +3 -3
  99. package/dist/containers/Storage/StorageNodes/PaginatedStorageNodes.js +2 -5
  100. package/dist/containers/Storage/StorageNodes/PaginatedStorageNodes.js.map +1 -1
  101. package/dist/containers/Storage/StorageNodes/StorageNodes.d.ts +4 -6
  102. package/dist/containers/Storage/StorageNodes/StorageNodes.js +2 -4
  103. package/dist/containers/Storage/StorageNodes/StorageNodes.js.map +1 -1
  104. package/dist/containers/Storage/StorageNodes/StorageNodes.scss +1 -27
  105. package/dist/containers/Storage/StorageNodes/columns/StorageNodesColumns.scss +23 -0
  106. package/dist/containers/Storage/StorageNodes/columns/columns.d.ts +39 -0
  107. package/dist/containers/Storage/StorageNodes/{getStorageNodesColumns.js → columns/columns.js} +21 -31
  108. package/dist/containers/Storage/StorageNodes/columns/columns.js.map +1 -0
  109. package/dist/containers/Storage/StorageNodes/columns/constants.d.ts +25 -0
  110. package/dist/containers/Storage/StorageNodes/columns/constants.js +47 -0
  111. package/dist/containers/Storage/StorageNodes/columns/constants.js.map +1 -0
  112. package/dist/containers/Storage/StorageNodes/columns/hooks.d.ts +43 -0
  113. package/dist/containers/Storage/StorageNodes/columns/hooks.js +18 -0
  114. package/dist/containers/Storage/StorageNodes/columns/hooks.js.map +1 -0
  115. package/dist/containers/Storage/StorageNodes/columns/i18n/en.json +9 -0
  116. package/dist/containers/Storage/StorageNodes/columns/i18n/index.d.ts +2 -0
  117. package/dist/containers/Storage/StorageNodes/columns/i18n/index.js +5 -0
  118. package/dist/containers/Storage/StorageNodes/columns/i18n/index.js.map +1 -0
  119. package/dist/containers/Storage/StorageNodes/columns/types.d.ts +11 -0
  120. package/dist/containers/Storage/StorageNodes/columns/types.js +2 -0
  121. package/dist/containers/Storage/StorageNodes/columns/types.js.map +1 -0
  122. package/dist/containers/Storage/StorageNodes/getNodes.d.ts +2 -2
  123. package/dist/containers/Storage/StorageNodes/getNodes.js +7 -4
  124. package/dist/containers/Storage/StorageNodes/getNodes.js.map +1 -1
  125. package/dist/containers/Storage/StorageNodes/shared.js +1 -1
  126. package/dist/containers/Storage/StorageNodes/shared.js.map +1 -1
  127. package/dist/containers/Storage/StorageWrapper.d.ts +0 -2
  128. package/dist/containers/Storage/StorageWrapper.js.map +1 -1
  129. package/dist/containers/Storage/utils/index.js +6 -5
  130. package/dist/containers/Storage/utils/index.js.map +1 -1
  131. package/dist/containers/StorageGroupPage/StorageGroupPage.js +14 -57
  132. package/dist/containers/StorageGroupPage/StorageGroupPage.js.map +1 -1
  133. package/dist/containers/StorageGroupPage/StorageGroupPage.scss +14 -17
  134. package/dist/containers/StorageGroupPage/i18n/en.json +1 -2
  135. package/dist/containers/StorageGroupPage/i18n/index.d.ts +1 -1
  136. package/dist/containers/Tablets/i18n/index.d.ts +1 -1
  137. package/dist/containers/Tenant/Diagnostics/DiagnosticsPages.d.ts +6 -0
  138. package/dist/containers/Tenant/Diagnostics/DiagnosticsPages.js +2 -2
  139. package/dist/containers/Tenant/Diagnostics/DiagnosticsPages.js.map +1 -1
  140. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByCpu.js +12 -5
  141. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByCpu.js.map +1 -1
  142. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByLoad.js +12 -5
  143. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByLoad.js.map +1 -1
  144. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TopNodesByMemory.js +13 -5
  145. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TopNodesByMemory.js.map +1 -1
  146. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopGroups.js +2 -1
  147. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopGroups.js.map +1 -1
  148. package/dist/containers/Tenant/Diagnostics/TenantOverview/i18n/index.d.ts +1 -1
  149. package/dist/containers/Tenant/ObjectSummary/ObjectSummary.js +46 -55
  150. package/dist/containers/Tenant/ObjectSummary/ObjectSummary.js.map +1 -1
  151. package/dist/containers/Tenant/ObjectSummary/ObjectSummary.scss +6 -7
  152. package/dist/containers/Tenant/ObjectSummary/ObjectTree.d.ts +6 -0
  153. package/dist/containers/Tenant/ObjectSummary/ObjectTree.js +25 -0
  154. package/dist/containers/Tenant/ObjectSummary/ObjectTree.js.map +1 -0
  155. package/dist/containers/Tenant/ObjectSummary/SchemaActions.d.ts +1 -0
  156. package/dist/containers/Tenant/ObjectSummary/SchemaActions.js +18 -0
  157. package/dist/containers/Tenant/ObjectSummary/SchemaActions.js.map +1 -0
  158. package/dist/containers/Tenant/ObjectSummary/i18n/en.json +21 -0
  159. package/dist/containers/Tenant/ObjectSummary/i18n/index.d.ts +2 -0
  160. package/dist/containers/Tenant/ObjectSummary/i18n/index.js +5 -0
  161. package/dist/containers/Tenant/ObjectSummary/i18n/index.js.map +1 -0
  162. package/dist/containers/Tenant/ObjectSummary/shared.d.ts +1 -0
  163. package/dist/containers/Tenant/ObjectSummary/shared.js +3 -0
  164. package/dist/containers/Tenant/ObjectSummary/shared.js.map +1 -0
  165. package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.js +12 -12
  166. package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.js.map +1 -1
  167. package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.scss +8 -0
  168. package/dist/containers/Tenant/Query/ExecuteResult/i18n/en.json +2 -1
  169. package/dist/containers/Tenant/Query/ExecuteResult/i18n/index.d.ts +1 -1
  170. package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettings.js +3 -1
  171. package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettings.js.map +1 -1
  172. package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettings.test.js +5 -10
  173. package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettings.test.js.map +1 -1
  174. package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettingsDescription.js +5 -3
  175. package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettingsDescription.js.map +1 -1
  176. package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettingsDescription.test.js +6 -10
  177. package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettingsDescription.test.js.map +1 -1
  178. package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsDialog.js +11 -2
  179. package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsDialog.js.map +1 -1
  180. package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsDialog.scss +1 -0
  181. package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsSelect.d.ts +1 -0
  182. package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsSelect.js +1 -1
  183. package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsSelect.js.map +1 -1
  184. package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.d.ts +3 -0
  185. package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.js +3 -0
  186. package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.js.map +1 -1
  187. package/dist/containers/Tenant/Query/QuerySettingsDialog/i18n/en.json +3 -0
  188. package/dist/containers/Tenant/Query/QuerySettingsDialog/i18n/index.d.ts +1 -1
  189. package/dist/containers/Tenant/Query/QuerySettingsDialog/i18n/ru.json +3 -0
  190. package/dist/containers/Tenant/utils/schema.js +1 -0
  191. package/dist/containers/Tenant/utils/schema.js.map +1 -1
  192. package/dist/containers/UserSettings/i18n/en.json +0 -2
  193. package/dist/containers/UserSettings/i18n/index.d.ts +1 -1
  194. package/dist/containers/UserSettings/settings.d.ts +0 -1
  195. package/dist/containers/UserSettings/settings.js +2 -7
  196. package/dist/containers/UserSettings/settings.js.map +1 -1
  197. package/dist/containers/VDiskPage/VDiskPage.d.ts +0 -3
  198. package/dist/containers/VDiskPage/VDiskPage.js +9 -33
  199. package/dist/containers/VDiskPage/VDiskPage.js.map +1 -1
  200. package/dist/containers/VDiskPage/VDiskPage.scss +10 -19
  201. package/dist/containers/VDiskPage/i18n/en.json +1 -1
  202. package/dist/containers/VDiskPage/i18n/index.d.ts +1 -1
  203. package/dist/services/api.d.ts +16 -5
  204. package/dist/services/api.js +50 -11
  205. package/dist/services/api.js.map +1 -1
  206. package/dist/services/settings.d.ts +2 -2
  207. package/dist/services/settings.js +2 -3
  208. package/dist/services/settings.js.map +1 -1
  209. package/dist/store/configureStore.d.ts +2 -2
  210. package/dist/store/defaultStore.d.ts +1 -1
  211. package/dist/store/reducers/capabilities/capabilities.d.ts +8 -1
  212. package/dist/store/reducers/capabilities/capabilities.js +6 -1
  213. package/dist/store/reducers/capabilities/capabilities.js.map +1 -1
  214. package/dist/store/reducers/executeQuery.js +3 -0
  215. package/dist/store/reducers/executeQuery.js.map +1 -1
  216. package/dist/store/reducers/index.d.ts +2 -2
  217. package/dist/store/reducers/nodes/nodes.d.ts +2 -2
  218. package/dist/store/reducers/nodes/nodes.js.map +1 -1
  219. package/dist/store/reducers/nodes/types.d.ts +2 -24
  220. package/dist/store/reducers/pdisk/pdisk.js +29 -2
  221. package/dist/store/reducers/pdisk/pdisk.js.map +1 -1
  222. package/dist/store/reducers/pdisk/utils.js +1 -1
  223. package/dist/store/reducers/pdisk/utils.js.map +1 -1
  224. package/dist/store/reducers/storage/storage.d.ts +2 -2
  225. package/dist/store/reducers/storage/storage.js.map +1 -1
  226. package/dist/store/reducers/tooltip.d.ts +1 -1
  227. package/dist/styles/mixins.scss +3 -3
  228. package/dist/types/api/common.d.ts +1 -0
  229. package/dist/types/api/nodes.d.ts +33 -0
  230. package/dist/types/api/nodes.js.map +1 -1
  231. package/dist/types/api/query.d.ts +1 -0
  232. package/dist/types/api/storage.d.ts +8 -5
  233. package/dist/types/store/query.d.ts +5 -8
  234. package/dist/utils/constants.d.ts +0 -8
  235. package/dist/utils/constants.js +0 -9
  236. package/dist/utils/constants.js.map +1 -1
  237. package/dist/utils/filters.d.ts +2 -1
  238. package/dist/utils/filters.js +1 -4
  239. package/dist/utils/filters.js.map +1 -1
  240. package/dist/utils/hooks/useChangedQuerySettings.d.ts +2 -2
  241. package/dist/utils/hooks/useChangedQuerySettings.js +2 -1
  242. package/dist/utils/hooks/useChangedQuerySettings.js.map +1 -1
  243. package/dist/utils/hooks/useLastQueryExecutionSettings.d.ts +15 -2
  244. package/dist/utils/hooks/useLastQueryExecutionSettings.js +8 -9
  245. package/dist/utils/hooks/useLastQueryExecutionSettings.js.map +1 -1
  246. package/dist/utils/hooks/useQueryExecutionSettings.d.ts +15 -2
  247. package/dist/utils/hooks/useQueryExecutionSettings.js +5 -7
  248. package/dist/utils/hooks/useQueryExecutionSettings.js.map +1 -1
  249. package/dist/utils/hooks/useSelectedColumns.d.ts +8 -0
  250. package/dist/utils/hooks/useSelectedColumns.js +35 -0
  251. package/dist/utils/hooks/useSelectedColumns.js.map +1 -0
  252. package/dist/utils/nodes.d.ts +3 -22
  253. package/dist/utils/nodes.js +16 -19
  254. package/dist/utils/nodes.js.map +1 -1
  255. package/dist/utils/query.d.ts +129 -0
  256. package/dist/utils/query.js +33 -1
  257. package/dist/utils/query.js.map +1 -1
  258. package/dist/utils/storage.d.ts +1 -1
  259. package/dist/utils/storage.js.map +1 -1
  260. package/package.json +2 -1
  261. package/dist/containers/Clusters/useSelectedColumns.d.ts +0 -7
  262. package/dist/containers/Clusters/useSelectedColumns.js +0 -26
  263. package/dist/containers/Clusters/useSelectedColumns.js.map +0 -1
  264. package/dist/containers/Nodes/getNodesColumns.js.map +0 -1
  265. package/dist/containers/PDiskPage/PDiskGroups/PDiskGroups.d.ts +0 -6
  266. package/dist/containers/PDiskPage/PDiskGroups/PDiskGroups.js +0 -30
  267. package/dist/containers/PDiskPage/PDiskGroups/PDiskGroups.js.map +0 -1
  268. package/dist/containers/PDiskPage/PDiskGroups/utils.d.ts +0 -2
  269. package/dist/containers/PDiskPage/PDiskGroups/utils.js +0 -14
  270. package/dist/containers/PDiskPage/PDiskGroups/utils.js.map +0 -1
  271. package/dist/containers/Storage/StorageGroups/columns/getStorageGroupsColumns.d.ts +0 -21
  272. package/dist/containers/Storage/StorageGroups/columns/getStorageGroupsColumns.js.map +0 -1
  273. package/dist/containers/Storage/StorageNodes/getStorageNodesColumns.d.ts +0 -50
  274. package/dist/containers/Storage/StorageNodes/getStorageNodesColumns.js.map +0 -1
  275. package/dist/containers/VDiskPage/utils.d.ts +0 -2
  276. package/dist/containers/VDiskPage/utils.js +0 -7
  277. package/dist/containers/VDiskPage/utils.js.map +0 -1
  278. package/dist/store/reducers/tenantOverview/topNodes/topNodes.d.ts +0 -4
  279. package/dist/store/reducers/tenantOverview/topNodes/topNodes.js +0 -27
  280. package/dist/store/reducers/tenantOverview/topNodes/topNodes.js.map +0 -1
@@ -2,7 +2,8 @@ import { ASCENDING, DESCENDING } from '@gravity-ui/react-data-table/build/esm/li
2
2
  import { VISIBLE_ENTITIES } from '../../../store/reducers/storage/constants';
3
3
  import { EFlag } from '../../../types/api/enums';
4
4
  import { generateEvaluator } from '../../../utils/generateEvaluator';
5
- import { NODES_SORT_VALUES } from '../../../utils/nodes';
5
+ import { NODES_COLUMNS_IDS } from '../../Nodes/columns/constants';
6
+ import { STORAGE_GROUPS_COLUMNS_IDS } from '../StorageGroups/columns/constants';
6
7
  const defaultDegradationEvaluator = generateEvaluator(1, 2, ['success', 'warning', 'danger']);
7
8
  const degradationEvaluators = {
8
9
  'block-4-2': generateEvaluator(1, 2, ['success', 'warning', 'danger']),
@@ -26,19 +27,19 @@ export const getUsageSeverityForEntityStatus = generateEvaluator(80, 85, [
26
27
  EFlag.Red,
27
28
  ]);
28
29
  export const defaultSortNode = {
29
- sortValue: NODES_SORT_VALUES.NodeId,
30
+ sortValue: NODES_COLUMNS_IDS.NodeId,
30
31
  sortOrder: ASCENDING,
31
32
  };
32
33
  const defaultSortGroup = {
33
- sortValue: 'PoolName',
34
+ sortValue: STORAGE_GROUPS_COLUMNS_IDS.PoolName,
34
35
  sortOrder: ASCENDING,
35
36
  };
36
37
  const defaultSortGroupMissing = {
37
- sortValue: 'Degraded',
38
+ sortValue: STORAGE_GROUPS_COLUMNS_IDS.Degraded,
38
39
  sortOrder: DESCENDING,
39
40
  };
40
41
  const defaultSortGroupSpace = {
41
- sortValue: 'Usage',
42
+ sortValue: STORAGE_GROUPS_COLUMNS_IDS.Usage,
42
43
  sortOrder: DESCENDING,
43
44
  };
44
45
  export function getDefaultSortGroup(visibleEntities) {
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/containers/Storage/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,UAAU,EAAC,MAAM,sDAAsD,CAAC;AAG3F,OAAO,EAAC,gBAAgB,EAAC,MAAM,2CAA2C,CAAC;AAM3E,OAAO,EAAC,KAAK,EAAC,MAAM,0BAA0B,CAAC;AAC/C,OAAO,EAAC,iBAAiB,EAAC,MAAM,kCAAkC,CAAC;AACnE,OAAO,EAAC,iBAAiB,EAAC,MAAM,sBAAsB,CAAC;AAEvD,MAAM,2BAA2B,GAAG,iBAAiB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,SAAS,EAAE,SAAS,EAAE,QAAQ,CAAC,CAAC,CAAC;AAE9F,MAAM,qBAAqB,GAAG;IAC1B,WAAW,EA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AC;IACD,OAAO,gBAAgB,CAAC;AAC5B,CAAC"}
@@ -1,68 +1,39 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import React from 'react';
3
- import { Tabs } from '@gravity-ui/uikit';
4
3
  import { skipToken } from '@reduxjs/toolkit/query';
5
4
  import { Helmet } from 'react-helmet-async';
6
5
  import { StringParam, useQueryParams } from 'use-query-params';
7
- import { z } from 'zod';
8
6
  import { EntityPageTitle } from '../../components/EntityPageTitle/EntityPageTitle';
9
7
  import { ResponseError } from '../../components/Errors/ResponseError';
10
8
  import { InfoViewerSkeleton } from '../../components/InfoViewerSkeleton/InfoViewerSkeleton';
11
- import { InternalLink } from '../../components/InternalLink';
12
9
  import { PageMetaWithAutorefresh } from '../../components/PageMeta/PageMeta';
13
10
  import { StorageGroupInfo } from '../../components/StorageGroupInfo/StorageGroupInfo';
14
- import { getStorageGroupPath } from '../../routes';
15
- import { useStorageGroupsHandlerAvailable } from '../../store/reducers/capabilities/hooks';
11
+ import { useCapabilitiesLoaded, useStorageGroupsHandlerAvailable, } from '../../store/reducers/capabilities/hooks';
16
12
  import { setHeaderBreadcrumbs } from '../../store/reducers/header/header';
17
- import { STORAGE_TYPES } from '../../store/reducers/storage/constants';
18
13
  import { storageApi } from '../../store/reducers/storage/storage';
19
14
  import { EFlag } from '../../types/api/enums';
20
15
  import { valueIsDefined } from '../../utils';
21
16
  import { cn } from '../../utils/cn';
22
- import { DEFAULT_TABLE_SETTINGS } from '../../utils/constants';
23
17
  import { useAutoRefreshInterval, useTypedDispatch } from '../../utils/hooks';
24
- import { NodesUptimeFilterValues } from '../../utils/nodes';
25
- import { StorageGroups } from '../Storage/StorageGroups/StorageGroups';
26
- import { StorageNodes } from '../Storage/StorageNodes/StorageNodes';
18
+ import { Storage } from '../Storage/Storage';
27
19
  import { storageGroupPageKeyset } from './i18n';
28
20
  import './StorageGroupPage.scss';
29
- const STORAGE_GROUP_PAGE_TABS = [
30
- {
31
- id: STORAGE_TYPES.groups,
32
- get title() {
33
- return storageGroupPageKeyset('group');
34
- },
35
- },
36
- {
37
- id: STORAGE_TYPES.nodes,
38
- get title() {
39
- return storageGroupPageKeyset('nodes');
40
- },
41
- },
42
- ];
43
21
  const storageGroupPageCn = cn('ydb-storage-group-page');
44
- const storageGroupTabSchema = z.nativeEnum(STORAGE_TYPES).catch(STORAGE_TYPES.groups);
45
22
  export function StorageGroupPage() {
46
- var _a, _b, _c;
23
+ var _a, _b;
47
24
  const dispatch = useTypedDispatch();
48
- const [{ groupId, activeTab }] = useQueryParams({
49
- groupId: StringParam,
50
- activeTab: StringParam,
51
- });
52
- const storageGroupTab = storageGroupTabSchema.parse(activeTab);
25
+ const [{ groupId }] = useQueryParams({ groupId: StringParam });
53
26
  React.useEffect(() => {
54
27
  dispatch(setHeaderBreadcrumbs('storageGroup', { groupId }));
55
28
  }, [dispatch, groupId]);
56
29
  const [autoRefreshInterval] = useAutoRefreshInterval();
57
30
  const shouldUseGroupsHandler = useStorageGroupsHandlerAvailable();
58
- const groupQuery = storageApi.useGetStorageGroupsInfoQuery(valueIsDefined(groupId) ? { groupId, shouldUseGroupsHandler } : skipToken, {
59
- pollingInterval: autoRefreshInterval,
60
- });
61
- const nodesQuery = storageApi.useGetStorageNodesInfoQuery(groupId && storageGroupTab === STORAGE_TYPES.nodes ? { group_id: groupId } : skipToken, {
31
+ const capabilitiesLoaded = useCapabilitiesLoaded();
32
+ const groupQuery = storageApi.useGetStorageGroupsInfoQuery(valueIsDefined(groupId) ? { groupId, shouldUseGroupsHandler, with: 'all' } : skipToken, {
62
33
  pollingInterval: autoRefreshInterval,
34
+ skip: !capabilitiesLoaded,
63
35
  });
64
36
  const storageGroupData = (_b = (_a = groupQuery.data) === null || _a === void 0 ? void 0 : _a.groups) === null || _b === void 0 ? void 0 : _b[0];
65
- const nodesData = (_c = nodesQuery.data) === null || _c === void 0 ? void 0 : _c.nodes;
66
37
  const loading = groupQuery.isFetching && storageGroupData === undefined;
67
38
  const renderHelmet = () => {
68
39
  const pageTitle = groupId
@@ -86,32 +57,18 @@ export function StorageGroupPage() {
86
57
  }
87
58
  return _jsx(StorageGroupInfo, { data: storageGroupData, className: storageGroupPageCn('info') });
88
59
  };
89
- const renderTabs = () => {
90
- return (_jsx("div", { className: storageGroupPageCn('tabs'), children: _jsx(Tabs, { size: "l", items: STORAGE_GROUP_PAGE_TABS, activeTab: storageGroupTab, wrapTo: ({ id }, tabNode) => {
91
- const path = groupId
92
- ? getStorageGroupPath(groupId, { activeTab: id })
93
- : undefined;
94
- return (_jsx(InternalLink, { to: path, children: tabNode }, id));
95
- } }) }));
96
- };
97
- const renderTabsContent = () => {
98
- switch (storageGroupTab) {
99
- case 'groups': {
100
- return storageGroupData ? (_jsx(StorageGroups, { data: [storageGroupData], tableSettings: DEFAULT_TABLE_SETTINGS, visibleEntities: "all" })) : null;
101
- }
102
- case 'nodes': {
103
- return nodesData ? (_jsx(StorageNodes, { data: nodesData, tableSettings: DEFAULT_TABLE_SETTINGS, visibleEntities: "all", nodesUptimeFilter: NodesUptimeFilterValues.All })) : null;
104
- }
105
- default:
106
- return null;
60
+ const renderStorage = () => {
61
+ if (!groupId) {
62
+ return null;
107
63
  }
64
+ return (_jsxs(React.Fragment, { children: [_jsx("div", { className: storageGroupPageCn('storage-title'), children: storageGroupPageKeyset('storage') }), _jsx(Storage, { groupId: groupId })] }));
108
65
  };
109
66
  const renderError = () => {
110
- if (!groupQuery.error && !nodesQuery.error) {
67
+ if (!groupQuery.error) {
111
68
  return null;
112
69
  }
113
- return _jsx(ResponseError, { error: groupQuery.error || nodesQuery.error });
70
+ return _jsx(ResponseError, { error: groupQuery.error });
114
71
  };
115
- return (_jsxs("div", { className: storageGroupPageCn(null), children: [_jsxs("div", { className: storageGroupPageCn('info-content'), children: [renderHelmet(), renderPageMeta(), renderPageTitle(), renderError(), renderInfo(), renderTabs()] }), _jsx("div", { className: storageGroupPageCn('tabs-content'), children: renderTabsContent() })] }));
72
+ return (_jsxs("div", { className: storageGroupPageCn(null), children: [renderHelmet(), renderPageMeta(), renderPageTitle(), renderError(), renderInfo(), renderStorage()] }));
116
73
  }
117
74
  //# sourceMappingURL=StorageGroupPage.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"StorageGroupPage.js","sourceRoot":"","sources":["../../../src/containers/StorageGroupPage/StorageGroupPage.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,IAAI,EAAC,MAAM,mBAAmB,CAAC;AACvC,OAAO,EAAC,SAAS,EAAC,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAC,MAAM,EAAC,MAAM,oBAAoB,CAAC;AAC1C,OAAO,EAAC,WAAW,EAAE,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAC7D,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AAEtB,OAAO,EAAC,eAAe,EAAC,MAAM,kDAAkD,CAAC;AACjF,OAAO,EAAC,aAAa,EAAC,MAAM,uCAAuC,CAAC;AACpE,OAAO,EAAC,kBAAkB,EAAC,MAAM,wDAAwD,CAAC;AAC1F,OAAO,EAAC,YAAY,EAAC,MAAM,+BAA+B,CAAC;AAC3D,OAAO,EAAC,uBAAuB,EAAC,MAAM,oCAAoC,CAAC;AAC3E,OAAO,EAAC,gBAAgB,EAAC,MAAM,oDAAoD,CAAC;AACpF,OAAO,EAAC,mBAAmB,EAAC,MAAM,cAAc,CAAC;AACjD,OAAO,EAAC,gCAAgC,EAAC,MAAM,yCAAyC,CAAC;AACzF,OAAO,EAAC,oBAAoB,EAAC,MAAM,oCAAoC,CAAC;AACxE,OAAO,EAAC,aAAa,EAAC,MAAM,wCAAwC,CAAC;AACrE,OAAO,EAAC,UAAU,EAAC,MAAM,sCAAsC,CAAC;AAChE,OAAO,EAAC,KAAK,EAAC,MAAM,uBAAuB,CAAC;AAC5C,OAAO,EAAC,cAAc,EAAC,MAAM,aAAa,CAAC;AAC3C,OAAO,EAAC,E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,CAAC;IAEF,MAAM,aAAa,GAAG,GAAG,EAAE;QACvB,IAAI,CAAC,OAAO,EAAE,CAAC;YACX,OAAO,IAAI,CAAC;QAChB,CAAC;QACD,OAAO,CACH,MAAC,KAAK,CAAC,QAAQ,eACX,cAAK,SAAS,EAAE,kBAAkB,CAAC,eAAe,CAAC,YAC9C,sBAAsB,CAAC,SAAS,CAAC,GAChC,EACN,KAAC,OAAO,IAAC,OAAO,EAAE,OAAO,GAAI,IAChB,CACpB,CAAC;IACN,CAAC,CAAC;IAEF,MAAM,WAAW,GAAG,GAAG,EAAE;QACrB,IAAI,CAAC,UAAU,CAAC,KAAK,EAAE,CAAC;YACpB,OAAO,IAAI,CAAC;QAChB,CAAC;QACD,OAAO,KAAC,aAAa,IAAC,KAAK,EAAE,UAAU,CAAC,KAAK,GAAI,CAAC;IACtD,CAAC,CAAC;IAEF,OAAO,CACH,eAAK,SAAS,EAAE,kBAAkB,CAAC,IAAI,CAAC,aACnC,YAAY,EAAE,EACd,cAAc,EAAE,EAChB,eAAe,EAAE,EACjB,WAAW,EAAE,EACb,UAAU,EAAE,EACZ,aAAa,EAAE,IACd,CACT,CAAC;AACN,CAAC"}
@@ -6,35 +6,32 @@
6
6
  overflow: auto;
7
7
 
8
8
  height: 100%;
9
+ padding: 0 20px;
9
10
 
10
- &__info-content {
11
+ &__meta,
12
+ &__title,
13
+ &__info,
14
+ &__storage-title {
11
15
  position: sticky;
12
16
  left: 0;
13
17
 
14
- display: flex;
15
- flex-direction: column;
16
- gap: 20px;
18
+ margin-bottom: 20px;
19
+ }
17
20
 
18
- padding: 20px;
21
+ &__meta {
22
+ margin-top: 20px;
19
23
  }
20
24
 
21
- &__tabs-content {
22
- padding-left: 20px;
25
+ &__title {
26
+ margin-bottom: 60px;
23
27
  }
24
28
 
25
- &__meta,
26
- &__title,
27
- &__info,
28
- &__tabs {
29
- position: sticky;
30
- left: 0;
29
+ &__storage-title {
30
+ margin-bottom: 0;
31
+ @include header-1-typography();
31
32
  }
32
33
 
33
34
  &__info {
34
35
  margin-top: var(--g-spacing-10);
35
36
  }
36
-
37
- &__tabs {
38
- @include tabs-wrapper-styles();
39
- }
40
37
  }
@@ -1,6 +1,5 @@
1
1
  {
2
2
  "storage-group": "Storage Group",
3
- "group": "Group",
4
- "nodes": "Nodes",
3
+ "storage": "Storage",
5
4
  "pool-name": "Pool Name"
6
5
  }
@@ -1 +1 @@
1
- export declare const storageGroupPageKeyset: (key: "nodes" | "group" | "pool-name" | "storage-group", params?: import("@gravity-ui/i18n").Params) => string;
1
+ export declare const storageGroupPageKeyset: (key: "storage" | "pool-name" | "storage-group", params?: import("@gravity-ui/i18n").Params) => string;
@@ -1,2 +1,2 @@
1
- declare const _default: (key: "Tablet" | "State" | "Uptime" | "Type" | "Generation" | "Node ID" | "Node FQDN" | "noTabletsData" | "dialog.kill-header" | "dialog.kill-text" | "controls.kill-not-allowed", params?: import("@gravity-ui/i18n").Params) => string;
1
+ declare const _default: (key: "Uptime" | "State" | "Tablet" | "Type" | "Generation" | "Node ID" | "Node FQDN" | "noTabletsData" | "dialog.kill-header" | "dialog.kill-text" | "controls.kill-not-allowed", params?: import("@gravity-ui/i18n").Params) => string;
2
2
  export default _default;
@@ -150,6 +150,9 @@ export declare const EXTERNAL_DATA_SOURCE_PAGES: ({
150
150
  export declare const EXTERNAL_TABLE_PAGES: ({
151
151
  id: "overview";
152
152
  title: string;
153
+ } | {
154
+ id: "schema";
155
+ title: string;
153
156
  } | {
154
157
  id: "describe";
155
158
  title: string;
@@ -157,6 +160,9 @@ export declare const EXTERNAL_TABLE_PAGES: ({
157
160
  export declare const VIEW_PAGES: ({
158
161
  id: "overview";
159
162
  title: string;
163
+ } | {
164
+ id: "schema";
165
+ title: string;
160
166
  } | {
161
167
  id: "describe";
162
168
  title: string;
@@ -74,8 +74,8 @@ export const DIR_PAGES = [overview, topShards, nodes, describe];
74
74
  export const CDC_STREAM_PAGES = [overview, consumers, partitions, nodes, tablets, describe];
75
75
  export const TOPIC_PAGES = [overview, consumers, partitions, nodes, tablets, describe];
76
76
  export const EXTERNAL_DATA_SOURCE_PAGES = [overview, describe];
77
- export const EXTERNAL_TABLE_PAGES = [overview, describe];
78
- export const VIEW_PAGES = [overview, describe];
77
+ export const EXTERNAL_TABLE_PAGES = [overview, schema, describe];
78
+ export const VIEW_PAGES = [overview, schema, describe];
79
79
  // verbose mapping to guarantee correct tabs for new path types
80
80
  // TS will error when a new type is added but not mapped here
81
81
  const pathTypeToPages = {
@@ -1 +1 @@
1
- {"version":3,"file":"DiagnosticsPages.js","sourceRoot":"","sources":["../../../../src/containers/Tenant/Diagnostics/DiagnosticsPages.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,2BAA2B,EAAC,MAAM,0CAA0C,CAAC;AAErF,OAAO,EAAC,SAAS,EAAC,MAAM,2BAA2B,CAAC;AAOpD,MAAM,QAAQ,GAAG;IACb,EAAE,EAAE,2BAA2B,CAAC,QAAQ;IACxC,KAAK,EAAE,MAAM;CAChB,CAAC;AAEF,MAAM,MAAM,GAAG;IACX,EAAE,EAAE,2BAA2B,CAAC,MAAM;IACtC,KAAK,EAAE,QAAQ;CAClB,CAAC;AAEF,MAAM,UAAU,GAAG;IACf,EAAE,EAAE,2BAA2B,CAAC,UAAU;IAC1C,KAAK,EAAE,aAAa;CACvB,CAAC;AAEF,MAAM,SAAS,GAAG;IACd,EAAE,EAAE,2BAA2B,CAAC,SAAS;IACzC,KAAK,EAAE,YAAY;CACtB,CAAC;AAEF,MAAM,KAAK,GAAG;IACV,EAAE,EAAE,2BAA2B,CAAC,KAAK;IACrC,KAAK,EAAE,OAAO;CACjB,CAAC;AAEF,MAAM,OAAO,GAAG;IACZ,EAAE,EAAE,2BAA2B,CAAC,OAAO;IACvC,KAAK,EAAE,SAAS;CACnB,CAAC;AACF,MAAM,OAAO,GAAG;IACZ,EAAE,EAAE,2BAA2B,CAAC,OAAO;IACvC,KAAK,EAAE,SAAS;CACnB,CAAC;AACF,MAAM,OAAO,GAA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SAAS,CAAC,kBAAkB,CAAC,EAAE,gBAAgB;IAEhD,CAAC,SAAS,CAAC,uBAAuB,CAAC,EAAE,WAAW;IAEhD,CAAC,SAAS,CAAC,2BAA2B,CAAC,EAAE,0BAA0B;IACnE,CAAC,SAAS,CAAC,sBAAsB,CAAC,EAAE,oBAAoB;IAExD,CAAC,SAAS,CAAC,aAAa,CAAC,EAAE,UAAU;IAErC,CAAC,SAAS,CAAC,oBAAoB,CAAC,EAAE,uBAAuB;CAC5D,CAAC;AAEF,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,IAAgB,EAAE,EAAE,CAAC,CAAC,IAAI,IAAI,eAAe,CAAC,IAAI,CAAC,CAAC,IAAI,SAAS,CAAC;AAEjG,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,EAAC,eAAe,EAA8B,EAAE,EAAE;IAC/E,OAAO,eAAe;QAClB,CAAC,CAAC,cAAc;QAChB,CAAC,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,EAAE,KAAK,2BAA2B,CAAC,OAAO,CAAC,CAAC;AAC3F,CAAC,CAAC"}
@@ -1,8 +1,10 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { nodesApi } from '../../../../../store/reducers/nodes/nodes';
2
3
  import { TENANT_DIAGNOSTICS_TABS_IDS } from '../../../../../store/reducers/tenant/constants';
3
- import { topNodesApi } from '../../../../../store/reducers/tenantOverview/topNodes/topNodes';
4
+ import { TENANT_OVERVIEW_TABLES_LIMIT } from '../../../../../utils/constants';
4
5
  import { useAutoRefreshInterval, useSearchQuery } from '../../../../../utils/hooks';
5
- import { NODES_COLUMNS_WIDTH_LS_KEY, getTopNodesByCpuColumns, } from '../../../../Nodes/getNodesColumns';
6
+ import { getTopNodesByCpuColumns } from '../../../../Nodes/columns/columns';
7
+ import { NODES_COLUMNS_WIDTH_LS_KEY } from '../../../../Nodes/columns/constants';
6
8
  import { TenantTabsGroups, getTenantPath } from '../../../TenantPages';
7
9
  import { TenantOverviewTableLayout } from '../TenantOverviewTableLayout';
8
10
  import { getSectionTitle } from '../getSectionTitle';
@@ -11,9 +13,14 @@ export function TopNodesByCpu({ tenantName, additionalNodesProps }) {
11
13
  const query = useSearchQuery();
12
14
  const [autoRefreshInterval] = useAutoRefreshInterval();
13
15
  const columns = getTopNodesByCpuColumns(additionalNodesProps === null || additionalNodesProps === void 0 ? void 0 : additionalNodesProps.getNodeRef);
14
- const { currentData, isFetching, error } = topNodesApi.useGetTopNodesQuery({ tenant: tenantName, sortValue: 'CPU' }, { pollingInterval: autoRefreshInterval });
16
+ const { currentData, isFetching, error } = nodesApi.useGetNodesQuery({
17
+ tenant: tenantName,
18
+ type: 'any',
19
+ sort: '-CPU',
20
+ limit: TENANT_OVERVIEW_TABLES_LIMIT,
21
+ }, { pollingInterval: autoRefreshInterval });
15
22
  const loading = isFetching && currentData === undefined;
16
- const topNodes = currentData;
23
+ const topNodes = (currentData === null || currentData === void 0 ? void 0 : currentData.Nodes) || [];
17
24
  const title = getSectionTitle({
18
25
  entity: i18n('nodes'),
19
26
  postfix: i18n('by-pools-usage'),
@@ -22,6 +29,6 @@ export function TopNodesByCpu({ tenantName, additionalNodesProps }) {
22
29
  [TenantTabsGroups.diagnosticsTab]: TENANT_DIAGNOSTICS_TABS_IDS.nodes,
23
30
  }),
24
31
  });
25
- return (_jsx(TenantOverviewTableLayout, { columnsWidthLSKey: NODES_COLUMNS_WIDTH_LS_KEY, data: topNodes || [], columns: columns, title: title, loading: loading, error: error, emptyDataMessage: i18n('top-nodes.empty-data') }));
32
+ return (_jsx(TenantOverviewTableLayout, { columnsWidthLSKey: NODES_COLUMNS_WIDTH_LS_KEY, data: topNodes, columns: columns, title: title, loading: loading, error: error, emptyDataMessage: i18n('top-nodes.empty-data') }));
26
33
  }
27
34
  //# sourceMappingURL=TopNodesByCpu.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"TopNodesByCpu.js","sourceRoot":"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Aa,CAAC;YAChB,GAAG,KAAK;YACR,CAAC,gBAAgB,CAAC,cAAc,CAAC,EAAE,2BAA2B,CAAC,KAAK;SACvE,CAAC;KACL,CAAC,CAAC;IAEH,OAAO,CACH,KAAC,yBAAyB,IACtB,iBAAiB,EAAE,0BAA0B,EAC7C,IAAI,EAAE,QAAQ,IAAI,EAAE,EACpB,OAAO,EAAE,OAAO,EAChB,KAAK,EAAE,KAAK,EACZ,OAAO,EAAE,OAAO,EAChB,KAAK,EAAE,KAAK,EACZ,gBAAgB,EAAE,IAAI,CAAC,sBAAsB,CAAC,GAChD,CACL,CAAC;AACN,CAAC"}
1
+ {"version":3,"file":"TopNodesByCpu.js","sourceRoot":"","sources":["../../../../../../src/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByCpu.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,2CAA2C,CAAC;AACnE,OAAO,EAAC,2BAA2B,EAAC,MAAM,gDAAgD,CAAC;AAE3F,OAAO,EAAC,4BAA4B,EAAC,MAAM,gCAAgC,CAAC;AAC5E,OAAO,EAAC,sBAAsB,EAAE,cAAc,EAAC,MAAM,4BAA4B,CAAC;AAClF,OAAO,EAAC,uBAAuB,EAAC,MAAM,mCAAmC,CAAC;AAC1E,OAAO,EAAC,0BAA0B,EAAC,MAAM,qCAAqC,CAAC;AAC/E,OAAO,EAAC,gBAAgB,EAAE,aAAa,EAAC,MAAM,sBAAsB,CAAC;AACrE,OAAO,EAAC,yBAAyB,EAAC,MAAM,8BAA8B,CAAC;AACvE,OAAO,EAAC,eAAe,EAAC,MAAM,oBAAoB,CAAC;AACnD,OAAO,IAAI,MAAM,SAAS,CAAC;AAO3B,MAAM,UAAU,aAAa,CAAC,EAAC,UAAU,EAAE,oBAAoB,EAAqB;IAChF,MAAM,KAAK,GAAG,cAAc,EAAE,CAAC;IAE/B,MAAM,CAAC,mBAAmB,CAAC,GAAG,sBAAsB,EAAE,CAAC;IACvD,MAAM,OAAO,GAAG,uBAAuB,CAAC,oBAAoB,aAApB,oBAAoB,uBAApB,oBAAoB,CAAE,UAAU,CAAC,CAAC;IAE1E,MAAM,EAAC,WAAW,EAAE,UAAU,EAAE,KAAK,EAAC,GAAG,QAAQ,CAAC,gBAAgB,CAC9D;QACI,MAAM,EAAE,UAAU;QAClB,IAAI,EAAE,KAAK;QACX,IAAI,EAAE,MAAM;QACZ,KAAK,EAAE,4BAA4B;KACtC,EACD,EAAC,eAAe,EAAE,mBAAmB,EAAC,CACzC,CAAC;IAEF,MAAM,OAAO,GAAG,UAAU,IAAI,WAAW,KAAK,SAAS,CAAC;IAExD,MAAM,QAAQ,GAAG,CAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,KAAK,KAAI,EAAE,CAAC;IAE1C,MAAM,KAAK,GAAG,eAAe,CAAC;QAC1B,MAAM,EAAE,IAAI,CAAC,OAAO,CAAC;QACrB,OAAO,EAAE,IAAI,CAAC,gBAAgB,CAAC;QAC/B,IAAI,EAAE,aAAa,CAAC;YAChB,GAAG,KAAK;YACR,CAAC,gBAAgB,CAAC,cAAc,CAAC,EAAE,2BAA2B,CAAC,KAAK;SACvE,CAAC;KACL,CAAC,CAAC;IAEH,OAAO,CACH,KAAC,yBAAyB,IACtB,iBAAiB,EAAE,0BAA0B,EAC7C,IAAI,EAAE,QAAQ,EACd,OAAO,EAAE,OAAO,EAChB,KAAK,EAAE,KAAK,EACZ,OAAO,EAAE,OAAO,EAChB,KAAK,EAAE,KAAK,EACZ,gBAAgB,EAAE,IAAI,CAAC,sBAAsB,CAAC,GAChD,CACL,CAAC;AACN,CAAC"}
@@ -1,8 +1,10 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { nodesApi } from '../../../../../store/reducers/nodes/nodes';
2
3
  import { TENANT_DIAGNOSTICS_TABS_IDS } from '../../../../../store/reducers/tenant/constants';
3
- import { topNodesApi } from '../../../../../store/reducers/tenantOverview/topNodes/topNodes';
4
+ import { TENANT_OVERVIEW_TABLES_LIMIT } from '../../../../../utils/constants';
4
5
  import { useAutoRefreshInterval, useSearchQuery } from '../../../../../utils/hooks';
5
- import { NODES_COLUMNS_WIDTH_LS_KEY, getTopNodesByLoadColumns, } from '../../../../Nodes/getNodesColumns';
6
+ import { getTopNodesByLoadColumns } from '../../../../Nodes/columns/columns';
7
+ import { NODES_COLUMNS_WIDTH_LS_KEY } from '../../../../Nodes/columns/constants';
6
8
  import { TenantTabsGroups, getTenantPath } from '../../../TenantPages';
7
9
  import { TenantOverviewTableLayout } from '../TenantOverviewTableLayout';
8
10
  import { getSectionTitle } from '../getSectionTitle';
@@ -11,9 +13,14 @@ export function TopNodesByLoad({ tenantName, additionalNodesProps }) {
11
13
  const query = useSearchQuery();
12
14
  const [autoRefreshInterval] = useAutoRefreshInterval();
13
15
  const columns = getTopNodesByLoadColumns(additionalNodesProps === null || additionalNodesProps === void 0 ? void 0 : additionalNodesProps.getNodeRef);
14
- const { currentData, isFetching, error } = topNodesApi.useGetTopNodesQuery({ tenant: tenantName, sortValue: 'LoadAverage' }, { pollingInterval: autoRefreshInterval });
16
+ const { currentData, isFetching, error } = nodesApi.useGetNodesQuery({
17
+ tenant: tenantName,
18
+ type: 'any',
19
+ sort: '-LoadAverage',
20
+ limit: TENANT_OVERVIEW_TABLES_LIMIT,
21
+ }, { pollingInterval: autoRefreshInterval });
15
22
  const loading = isFetching && currentData === undefined;
16
- const topNodes = currentData;
23
+ const topNodes = (currentData === null || currentData === void 0 ? void 0 : currentData.Nodes) || [];
17
24
  const title = getSectionTitle({
18
25
  entity: i18n('nodes'),
19
26
  postfix: i18n('by-load'),
@@ -22,6 +29,6 @@ export function TopNodesByLoad({ tenantName, additionalNodesProps }) {
22
29
  [TenantTabsGroups.diagnosticsTab]: TENANT_DIAGNOSTICS_TABS_IDS.nodes,
23
30
  }),
24
31
  });
25
- return (_jsx(TenantOverviewTableLayout, { columnsWidthLSKey: NODES_COLUMNS_WIDTH_LS_KEY, data: topNodes || [], columns: columns, title: title, loading: loading, error: error, emptyDataMessage: i18n('top-nodes.empty-data') }));
32
+ return (_jsx(TenantOverviewTableLayout, { columnsWidthLSKey: NODES_COLUMNS_WIDTH_LS_KEY, data: topNodes, columns: columns, title: title, loading: loading, error: error, emptyDataMessage: i18n('top-nodes.empty-data') }));
26
33
  }
27
34
  //# sourceMappingURL=TopNodesByLoad.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"TopNodesByLoad.js","sourceRoot":"","sources":["../../../../../../src/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByLoad.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,2BAA2B,EAAC,MAAM,gDAAgD,CAAC;AAC3F,OAAO,EAAC,WAAW,EAAC,MAAM,gEAAgE,CAAC;AAE3F,OAAO,EAAC,sBAAsB,EAAE,cAAc,EAAC,MAAM,4BAA4B,CAAC;AAClF,OAAO,EACH,0BAA0B,EAC1B,wBAAwB,GAC3B,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAAC,gBAAgB,EAAE,aAAa,EAAC,MAAM,sBAAsB,CAAC;AACrE,OAAO,EAAC,yBAAyB,EAAC,MAAM,8BAA8B,CAAC;AACvE,OAAO,EAAC,eAAe,EAAC,MAAM,oBAAoB,CAAC;AACnD,OAAO,IAAI,MAAM,SAAS,CAAC;AAO3B,MAAM,UAAU,cAAc,CAAC,EAAC,UAAU,EAAE,oBAAoB,EAAsB;IAClF,MAAM,KAAK,GAAG,cAAc,EAAE,CAAC;IAE/B,MAAM,CAAC,mBAAmB,CAAC,GAAG,sBAAsB,EAAE,CAAC;IACvD,MAAM,OAAO,GAAG,wBAAwB,CAAC,oBAAoB,aAApB,oBAAoB,uBAApB,oBAAoB,CAAE,UAAU,CAAC,CAAC;IAE3E,MAAM,EAAC,WAAW,EAAE,UAAU,EAAE,KAAK,EAAC,GAAG,WAAW,CAAC,mBAAmB,CACpE,EAAC,MAAM,EAAE,UAAU,EAAE,SAAS,EAAE,aAAa,EAAC,EAC9C,EAAC,eAAe,EAAE,mBAAmB,EAAC,CACzC,CAAC;IAEF,MAAM,OAAO,GAAG,UAAU,IAAI,WAAW,KAAK,SAAS,CAAC;IACxD,MAAM,QAAQ,GAAG,WAAW,CAAC;IAE7B,MAAM,KAAK,GAAG,eAAe,CAAC;QAC1B,MAAM,EAAE,IAAI,CAAC,OAAO,CAAC;QACrB,OAAO,EAAE,IAAI,CAAC,SAAS,CAAC;QACxB,IAAI,EAAE,aAAa,CAAC;YAChB,GAAG,KAAK;YACR,CAAC,gBAAgB,CAAC,cAAc,CAAC,EAAE,2BAA2B,CAAC,KAAK;SACvE,CAAC;KACL,CAAC,CAAC;IAEH,OAAO,CACH,KAAC,yBAAyB,IACtB,iBAAiB,EAAE,0BAA0B,EAC7C,IAAI,EAAE,QAAQ,IAAI,EAAE,EACpB,OAAO,EAAE,OAAO,EAChB,KAAK,EAAE,KAAK,EACZ,OAAO,EAAE,OAAO,EAChB,KAAK,EAAE,KAAK,EACZ,gBAAgB,EAAE,IAAI,CAAC,sBAAsB,CAAC,GAChD,CACL,CAAC;AACN,CAAC"}
1
+ {"version":3,"file":"TopNodesByLoad.js","sourceRoot":"","sources":["../../../../../../src/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByLoad.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,2CAA2C,CAAC;AACnE,OAAO,EAAC,2BAA2B,EAAC,MAAM,gDAAgD,CAAC;AAE3F,OAAO,EAAC,4BAA4B,EAAC,MAAM,gCAAgC,CAAC;AAC5E,OAAO,EAAC,sBAAsB,EAAE,cAAc,EAAC,MAAM,4BAA4B,CAAC;AAClF,OAAO,EAAC,wBAAwB,EAAC,MAAM,mCAAmC,CAAC;AAC3E,OAAO,EAAC,0BAA0B,EAAC,MAAM,qCAAqC,CAAC;AAC/E,OAAO,EAAC,gBAAgB,EAAE,aAAa,EAAC,MAAM,sBAAsB,CAAC;AACrE,OAAO,EAAC,yBAAyB,E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B,EAAE,IAAI,CAAC,sBAAsB,CAAC,GAChD,CACL,CAAC;AACN,CAAC"}
@@ -1,8 +1,10 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { nodesApi } from '../../../../../store/reducers/nodes/nodes';
2
3
  import { TENANT_DIAGNOSTICS_TABS_IDS } from '../../../../../store/reducers/tenant/constants';
3
- import { topNodesApi } from '../../../../../store/reducers/tenantOverview/topNodes/topNodes';
4
+ import { TENANT_OVERVIEW_TABLES_LIMIT } from '../../../../../utils/constants';
4
5
  import { useAutoRefreshInterval, useSearchQuery } from '../../../../../utils/hooks';
5
- import { NODES_COLUMNS_WIDTH_LS_KEY, getTopNodesByMemoryColumns, } from '../../../../Nodes/getNodesColumns';
6
+ import { getTopNodesByMemoryColumns } from '../../../../Nodes/columns/columns';
7
+ import { NODES_COLUMNS_WIDTH_LS_KEY } from '../../../../Nodes/columns/constants';
6
8
  import { TenantTabsGroups, getTenantPath } from '../../../TenantPages';
7
9
  import { TenantOverviewTableLayout } from '../TenantOverviewTableLayout';
8
10
  import { getSectionTitle } from '../getSectionTitle';
@@ -13,9 +15,15 @@ export function TopNodesByMemory({ tenantName, additionalNodesProps }) {
13
15
  const columns = getTopNodesByMemoryColumns({
14
16
  getNodeRef: additionalNodesProps === null || additionalNodesProps === void 0 ? void 0 : additionalNodesProps.getNodeRef,
15
17
  });
16
- const { currentData, isFetching, error } = topNodesApi.useGetTopNodesQuery({ tenant: tenantName, sortValue: 'Memory', tablets: true }, { pollingInterval: autoRefreshInterval });
18
+ const { currentData, isFetching, error } = nodesApi.useGetNodesQuery({
19
+ tenant: tenantName,
20
+ type: 'any',
21
+ tablets: true,
22
+ sort: '-Memory',
23
+ limit: TENANT_OVERVIEW_TABLES_LIMIT,
24
+ }, { pollingInterval: autoRefreshInterval });
17
25
  const loading = isFetching && currentData === undefined;
18
- const topNodes = currentData;
26
+ const topNodes = (currentData === null || currentData === void 0 ? void 0 : currentData.Nodes) || [];
19
27
  const title = getSectionTitle({
20
28
  entity: i18n('nodes'),
21
29
  postfix: i18n('by-memory'),
@@ -24,6 +32,6 @@ export function TopNodesByMemory({ tenantName, additionalNodesProps }) {
24
32
  [TenantTabsGroups.diagnosticsTab]: TENANT_DIAGNOSTICS_TABS_IDS.nodes,
25
33
  }),
26
34
  });
27
- return (_jsx(TenantOverviewTableLayout, { columnsWidthLSKey: NODES_COLUMNS_WIDTH_LS_KEY, data: topNodes || [], columns: columns, title: title, loading: loading, error: error, emptyDataMessage: i18n('top-nodes.empty-data') }));
35
+ return (_jsx(TenantOverviewTableLayout, { columnsWidthLSKey: NODES_COLUMNS_WIDTH_LS_KEY, data: topNodes, columns: columns, title: title, loading: loading, error: error, emptyDataMessage: i18n('top-nodes.empty-data') }));
28
36
  }
29
37
  //# sourceMappingURL=TopNodesByMemory.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"TopNodesByMemory.js","sourceRoot":"","sources":["../../../../../../src/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TopNodesByMemory.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,2BAA2B,EAAC,MAAM,gDAAgD,CAAC;AAC3F,OAAO,EAAC,WAAW,EAAC,MAAM,gEAAgE,CAAC;AAE3F,OAAO,EAAC,sBAAsB,EAAE,cAAc,EAAC,MAAM,4BAA4B,CAAC;AAClF,OAAO,EACH,0BAA0B,EAC1B,0BAA0B,GAC7B,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAAC,gBAAgB,EAAE,aAAa,EAAC,MAAM,sBAAsB,CAAC;AACrE,OAAO,EAAC,yBAAyB,EAAC,MAAM,8BAA8B,CAAC;AACvE,OAAO,EAAC,eAAe,EAAC,MAAM,oBAAoB,CAAC;AACnD,OAAO,IAAI,MAAM,SAAS,CAAC;AAO3B,MAAM,UAAU,gBAAgB,CAAC,EAAC,UAAU,EAAE,oBAAoB,EAAwB;IACtF,MAAM,KAAK,GAAG,cAAc,EAAE,CAAC;IAE/B,MAAM,CAAC,mBAAmB,CAAC,GAAG,sBAAsB,EAAE,CAAC;IACvD,MAAM,OAAO,GAAG,0BAA0B,CAAC;QACvC,UAAU,EAAE,oBAAoB,aAApB,oBAAoB,uBAApB,oBAAoB,CAAE,UAAU;KAC/C,CAAC,CAAC;IAEH,MAAM,EAAC,WAAW,EAAE,UAAU,EAAE,KAAK,EAAC,GAAG,WAAW,CAAC,mBAAmB,CACpE,EAAC,MAAM,EAAE,UAAU,EAAE,SAAS,EAAE,QAAQ,EAAE,OAAO,EAAE,IAAI,EAAC,EACxD,EAAC,eAAe,EAAE,mBAAmB,EAAC,CACzC,CAAC;IAEF,MAAM,OAAO,GAAG,UAAU,IAAI,WAAW,KAAK,SAAS,CAAC;IACxD,MAAM,QAAQ,GAAG,WAAW,CAAC;IAE7B,MAAM,KAAK,GAAG,eAAe,CAAC;QAC1B,MAAM,EAAE,IAAI,CAAC,OAAO,CAAC;QACrB,OAAO,EAAE,IAAI,CAAC,WAAW,CAAC;QAC1B,IAAI,EAAE,aAAa,CAAC;YAChB,GAAG,KAAK;YACR,CAAC,gBAAgB,CAAC,cAAc,CAAC,EAAE,2BAA2B,CAAC,KAAK;SACvE,CAAC;KACL,CAAC,CAAC;IAEH,OAAO,CACH,KAAC,yBAAyB,IACtB,iBAAiB,EAAE,0BAA0B,EAC7C,IAAI,EAAE,QAAQ,IAAI,EAAE,EACpB,OAAO,EAAE,OAAO,EAChB,KAAK,EAAE,KAAK,EACZ,OAAO,EAAE,OAAO,EAChB,KAAK,EAAE,KAAK,EACZ,gBAAgB,EAAE,IAAI,CAAC,sBAAsB,CAAC,GAChD,CACL,CAAC;AACN,CAAC"}
1
+ {"version":3,"file":"TopNodesByMemory.js","sourceRoot":"","sources":["../../../../../../src/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TopNodesByMemory.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,2CAA2C,CAAC;AACnE,OAAO,EAAC,2BAA2B,EAAC,MAAM,gDAAgD,CAAC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OAAO,EAAE,IAAI,CAAC,WAAW,CAAC;QAC1B,IAAI,EAAE,aAAa,CAAC;YAChB,GAAG,KAAK;YACR,CAAC,gBAAgB,CAAC,cAAc,CAAC,EAAE,2BAA2B,CAAC,KAAK;SACvE,CAAC;KACL,CAAC,CAAC;IAEH,OAAO,CACH,KAAC,yBAAyB,IACtB,iBAAiB,EAAE,0BAA0B,EAC7C,IAAI,EAAE,QAAQ,EACd,OAAO,EAAE,OAAO,EAChB,KAAK,EAAE,KAAK,EACZ,OAAO,EAAE,OAAO,EAChB,KAAK,EAAE,KAAK,EACZ,gBAAgB,EAAE,IAAI,CAAC,sBAAsB,CAAC,GAChD,CACL,CAAC;AACN,CAAC"}
@@ -5,7 +5,8 @@ import { storageApi } from '../../../../../store/reducers/storage/storage';
5
5
  import { TENANT_DIAGNOSTICS_TABS_IDS } from '../../../../../store/reducers/tenant/constants';
6
6
  import { TENANT_OVERVIEW_TABLES_LIMIT } from '../../../../../utils/constants';
7
7
  import { useAutoRefreshInterval, useSearchQuery } from '../../../../../utils/hooks';
8
- import { STORAGE_GROUPS_COLUMNS_WIDTH_LS_KEY, getStorageTopGroupsColumns, } from '../../../../Storage/StorageGroups/columns/getStorageGroupsColumns';
8
+ import { getStorageTopGroupsColumns } from '../../../../Storage/StorageGroups/columns/columns';
9
+ import { STORAGE_GROUPS_COLUMNS_WIDTH_LS_KEY } from '../../../../Storage/StorageGroups/columns/constants';
9
10
  import { TenantTabsGroups, getTenantPath } from '../../../TenantPages';
10
11
  import { TenantOverviewTableLayout } from '../TenantOverviewTableLayout';
11
12
  import { getSectionTitle } from '../getSectionTitle';
@@ -1 +1 @@
1
- {"version":3,"file":"TopGroups.js","sourceRoot":"","sources":["../../../../../../src/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopGroups.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EACH,qBAAqB,EACrB,gCAAgC,GACnC,MAAM,kDAAkD,CA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OAAO,CAAC,GAAG,EAAE;QACtC,OAAO,uBAAuB,CAAC,WAAW,CAAC,CAAC;IAChD,CAAC,EAAE,CAAC,WAAW,CAAC,CAAC,CAAC;IAElB,MAAM,KAAK,GAAG,eAAe,CAAC;QAC1B,MAAM,EAAE,IAAI,CAAC,QAAQ,CAAC;QACtB,OAAO,EAAE,IAAI,CAAC,UAAU,CAAC;QACzB,IAAI,EAAE,aAAa,CAAC;YAChB,GAAG,KAAK;YACR,CAAC,gBAAgB,CAAC,cAAc,CAAC,EAAE,2BAA2B,CAAC,OAAO;SACzE,CAAC;KACL,CAAC,CAAC;IAEH,OAAO,CACH,KAAC,yBAAyB,IACtB,iBAAiB,EAAE,mCAAmC,EACtD,IAAI,EAAE,cAAc,EACpB,OAAO,EAAE,OAAO,EAChB,KAAK,EAAE,KAAK,EACZ,OAAO,EAAE,OAAO,IAAI,CAAC,kBAAkB,EACvC,KAAK,EAAE,KAAK,GACd,CACL,CAAC;AACN,CAAC"}
1
+ {"version":3,"file":"TopGroups.js","sourceRoot":"","sources":["../../../../../../src/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopGroups.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EACH,qBAAqB,EACrB,gCAAgC,GACnC,MAAM,kDAAkD,CAAC;AAC1D,OAAO,EAAC,UAAU,EAAC,MAAM,+CAA+C,CAAC;AACzE,OAAO,EAAC,2BAA2B,EAAC,MAAM,gDAAgD,CAAC;AAC3F,OAAO,EAAC,4BAA4B,EAAC,MAAM,gCAAgC,CAAC;AAC5E,OAAO,EAAC,sBAAsB,EAAE,cAAc,EAAC,MAAM,4BAA4B,CAAC;AAClF,OAAO,EAAC,0BAA0B,EAAC,MAAM,mDAAmD,CAAC;AAC7F,OAAO,EAAC,mCAAmC,EAAC,MAAM,qDAAqD,CAAC;AACxG,OAAO,EAAC,gBAAgB,EAAE,aAAa,EAAC,MAAM,sBAAsB,CAAC;AACrE,OA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AC,CAAC;IAEH,OAAO,CACH,KAAC,yBAAyB,IACtB,iBAAiB,EAAE,mCAAmC,EACtD,IAAI,EAAE,cAAc,EACpB,OAAO,EAAE,OAAO,EAChB,KAAK,EAAE,KAAK,EACZ,OAAO,EAAE,OAAO,IAAI,CAAC,kBAAkB,EACvC,KAAK,EAAE,KAAK,GACd,CACL,CAAC;AACN,CAAC"}
@@ -1,2 +1,2 @@
1
- declare const _default: (key: "queries" | "nodes" | "groups" | "no-data" | "top" | "shards" | "tables" | "no-pools-data" | "top-nodes.empty-data" | "top-groups.empty-data" | "by-pools-usage" | "by-cpu-time" | "by-cpu-usage" | "by-load" | "by-memory" | "by-usage" | "by-size" | "cards.cpu-label" | "cards.storage-label" | "cards.memory-label" | "charts.queries-per-second" | "charts.transaction-latency" | "charts.cpu-usage" | "charts.storage-usage" | "charts.memory-usage" | "storage.tablet-storage-title" | "storage.tablet-storage-description" | "storage.db-storage-title" | "storage.db-storage-description" | "executed-last-hour", params?: import("@gravity-ui/i18n").Params) => string;
1
+ declare const _default: (key: "queries" | "nodes" | "no-data" | "top" | "groups" | "shards" | "tables" | "no-pools-data" | "top-nodes.empty-data" | "top-groups.empty-data" | "by-pools-usage" | "by-cpu-time" | "by-cpu-usage" | "by-load" | "by-memory" | "by-usage" | "by-size" | "cards.cpu-label" | "cards.storage-label" | "cards.memory-label" | "charts.queries-per-second" | "charts.transaction-latency" | "charts.cpu-usage" | "charts.storage-usage" | "charts.memory-usage" | "storage.tablet-storage-title" | "storage.tablet-storage-description" | "storage.db-storage-title" | "storage.db-storage-description" | "executed-last-hour", params?: import("@gravity-ui/i18n").Params) => string;
2
2
  export default _default;