ydb-embedded-ui 6.23.1 → 6.25.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (260) hide show
  1. package/dist/components/CellWithPopover/CellWithPopover.js +2 -1
  2. package/dist/components/CellWithPopover/CellWithPopover.js.map +1 -1
  3. package/dist/components/NodeHostWrapper/NodeHostWrapper.d.ts +6 -2
  4. package/dist/components/NodeHostWrapper/NodeHostWrapper.js.map +1 -1
  5. package/dist/components/PDiskPopup/PDiskPopup.js +8 -1
  6. package/dist/components/PDiskPopup/PDiskPopup.js.map +1 -1
  7. package/dist/components/PaginatedTable/PaginatedTable.d.ts +3 -2
  8. package/dist/components/PaginatedTable/PaginatedTable.js +15 -21
  9. package/dist/components/PaginatedTable/PaginatedTable.js.map +1 -1
  10. package/dist/components/PaginatedTable/TableChunk.d.ts +1 -2
  11. package/dist/components/PaginatedTable/TableChunk.js +5 -19
  12. package/dist/components/PaginatedTable/TableChunk.js.map +1 -1
  13. package/dist/components/PaginatedTable/useScrollBasedChunks.d.ts +9 -0
  14. package/dist/components/PaginatedTable/useScrollBasedChunks.js +35 -0
  15. package/dist/components/PaginatedTable/useScrollBasedChunks.js.map +1 -0
  16. package/dist/components/TabletsStatistic/TabletsStatistic.d.ts +2 -2
  17. package/dist/components/TabletsStatistic/TabletsStatistic.js +2 -2
  18. package/dist/components/TabletsStatistic/TabletsStatistic.js.map +1 -1
  19. package/dist/components/VDisk/VDisk.js +12 -26
  20. package/dist/components/VDisk/VDisk.js.map +1 -1
  21. package/dist/components/VDisk/VDisk.scss +2 -0
  22. package/dist/components/VDisk/VDiskWithDonorsStack.js +2 -2
  23. package/dist/components/VDisk/VDiskWithDonorsStack.js.map +1 -1
  24. package/dist/components/VDisk/utils.d.ts +2 -0
  25. package/dist/components/VDisk/utils.js +23 -0
  26. package/dist/components/VDisk/utils.js.map +1 -0
  27. package/dist/components/VDiskInfo/VDiskInfo.js +2 -2
  28. package/dist/components/VDiskInfo/VDiskInfo.js.map +1 -1
  29. package/dist/components/VDiskPopup/VDiskPopup.d.ts +2 -3
  30. package/dist/components/VDiskPopup/VDiskPopup.js +29 -3
  31. package/dist/components/VDiskPopup/VDiskPopup.js.map +1 -1
  32. package/dist/components/nodesColumns/columns.d.ts +55 -0
  33. package/dist/components/nodesColumns/columns.js +187 -0
  34. package/dist/components/nodesColumns/columns.js.map +1 -0
  35. package/dist/components/nodesColumns/constants.d.ts +39 -0
  36. package/dist/components/nodesColumns/constants.js +73 -0
  37. package/dist/components/nodesColumns/constants.js.map +1 -0
  38. package/dist/{containers/Nodes/columns → components/nodesColumns}/i18n/en.json +4 -3
  39. package/dist/components/nodesColumns/i18n/index.d.ts +2 -0
  40. package/dist/{containers/Nodes/columns → components/nodesColumns}/i18n/index.js +1 -1
  41. package/dist/components/nodesColumns/i18n/index.js.map +1 -0
  42. package/dist/components/nodesColumns/types.d.ts +8 -0
  43. package/dist/components/nodesColumns/types.js.map +1 -0
  44. package/dist/containers/AppWithClusters/ExtendedCluster/ExtendedCluster.js +8 -4
  45. package/dist/containers/AppWithClusters/ExtendedCluster/ExtendedCluster.js.map +1 -1
  46. package/dist/containers/Authentication/Authentication.js +12 -10
  47. package/dist/containers/Authentication/Authentication.js.map +1 -1
  48. package/dist/containers/Cluster/Cluster.js +3 -1
  49. package/dist/containers/Cluster/Cluster.js.map +1 -1
  50. package/dist/containers/Cluster/utils.d.ts +4 -0
  51. package/dist/containers/Cluster/utils.js +6 -1
  52. package/dist/containers/Cluster/utils.js.map +1 -1
  53. package/dist/containers/Node/Node.js +1 -1
  54. package/dist/containers/Node/Node.js.map +1 -1
  55. package/dist/containers/Nodes/Nodes.js +1 -1
  56. package/dist/containers/Nodes/Nodes.js.map +1 -1
  57. package/dist/containers/Nodes/NodesWrapper.d.ts +2 -2
  58. package/dist/containers/Nodes/NodesWrapper.js +2 -2
  59. package/dist/containers/Nodes/NodesWrapper.js.map +1 -1
  60. package/dist/containers/Nodes/PaginatedNodes.d.ts +3 -2
  61. package/dist/containers/Nodes/PaginatedNodes.js +3 -3
  62. package/dist/containers/Nodes/PaginatedNodes.js.map +1 -1
  63. package/dist/containers/Nodes/columns/columns.d.ts +2 -7
  64. package/dist/containers/Nodes/columns/columns.js +13 -187
  65. package/dist/containers/Nodes/columns/columns.js.map +1 -1
  66. package/dist/containers/Nodes/columns/constants.d.ts +1 -38
  67. package/dist/containers/Nodes/columns/constants.js +0 -68
  68. package/dist/containers/Nodes/columns/constants.js.map +1 -1
  69. package/dist/containers/Nodes/columns/hooks.d.ts +3 -3
  70. package/dist/containers/Nodes/columns/hooks.js +2 -1
  71. package/dist/containers/Nodes/columns/hooks.js.map +1 -1
  72. package/dist/containers/PDiskPage/PDiskPage.js +2 -2
  73. package/dist/containers/PDiskPage/PDiskPage.js.map +1 -1
  74. package/dist/containers/Storage/Disks/Disks.d.ts +2 -2
  75. package/dist/containers/Storage/Disks/Disks.js +5 -6
  76. package/dist/containers/Storage/Disks/Disks.js.map +1 -1
  77. package/dist/containers/Storage/PDisk/PDisk.d.ts +2 -2
  78. package/dist/containers/Storage/PDisk/PDisk.js +13 -11
  79. package/dist/containers/Storage/PDisk/PDisk.js.map +1 -1
  80. package/dist/containers/Storage/PaginatedStorage.d.ts +4 -1
  81. package/dist/containers/Storage/PaginatedStorage.js +3 -2
  82. package/dist/containers/Storage/PaginatedStorage.js.map +1 -1
  83. package/dist/containers/Storage/PaginatedStorageGroups.js +7 -6
  84. package/dist/containers/Storage/PaginatedStorageGroups.js.map +1 -1
  85. package/dist/containers/Storage/PaginatedStorageNodes.js +9 -8
  86. package/dist/containers/Storage/PaginatedStorageNodes.js.map +1 -1
  87. package/dist/containers/Storage/Storage.d.ts +3 -1
  88. package/dist/containers/Storage/Storage.js +3 -3
  89. package/dist/containers/Storage/Storage.js.map +1 -1
  90. package/dist/containers/Storage/StorageControls/StorageControls.js +2 -2
  91. package/dist/containers/Storage/StorageGroups/PaginatedStorageGroupsTable.d.ts +3 -2
  92. package/dist/containers/Storage/StorageGroups/PaginatedStorageGroupsTable.js +2 -2
  93. package/dist/containers/Storage/StorageGroups/PaginatedStorageGroupsTable.js.map +1 -1
  94. package/dist/containers/Storage/StorageGroups/columns/StorageGroupsColumns.scss +10 -1
  95. package/dist/containers/Storage/StorageGroups/columns/columns.js +21 -16
  96. package/dist/containers/Storage/StorageGroups/columns/columns.js.map +1 -1
  97. package/dist/containers/Storage/StorageGroups/columns/constants.js +1 -1
  98. package/dist/containers/Storage/StorageGroups/columns/constants.js.map +1 -1
  99. package/dist/containers/Storage/StorageGroups/columns/hooks.d.ts +3 -2
  100. package/dist/containers/Storage/StorageGroups/columns/hooks.js +5 -5
  101. package/dist/containers/Storage/StorageGroups/columns/hooks.js.map +1 -1
  102. package/dist/containers/Storage/StorageGroups/columns/i18n/en.json +1 -1
  103. package/dist/containers/Storage/StorageGroups/columns/i18n/index.d.ts +1 -1
  104. package/dist/containers/Storage/StorageGroups/columns/types.d.ts +3 -2
  105. package/dist/containers/Storage/StorageNodes/PaginatedStorageNodesTable.d.ts +3 -2
  106. package/dist/containers/Storage/StorageNodes/PaginatedStorageNodesTable.js +2 -2
  107. package/dist/containers/Storage/StorageNodes/PaginatedStorageNodesTable.js.map +1 -1
  108. package/dist/containers/Storage/StorageNodes/columns/columns.d.ts +2 -38
  109. package/dist/containers/Storage/StorageNodes/columns/columns.js +34 -71
  110. package/dist/containers/Storage/StorageNodes/columns/columns.js.map +1 -1
  111. package/dist/containers/Storage/StorageNodes/columns/constants.d.ts +20 -4
  112. package/dist/containers/Storage/StorageNodes/columns/constants.js +4 -32
  113. package/dist/containers/Storage/StorageNodes/columns/constants.js.map +1 -1
  114. package/dist/containers/Storage/StorageNodes/columns/hooks.d.ts +2 -39
  115. package/dist/containers/Storage/StorageNodes/columns/hooks.js +4 -4
  116. package/dist/containers/Storage/StorageNodes/columns/hooks.js.map +1 -1
  117. package/dist/containers/Storage/StorageNodes/columns/i18n/en.json +0 -8
  118. package/dist/containers/Storage/StorageNodes/columns/i18n/index.d.ts +1 -1
  119. package/dist/containers/Storage/StorageNodes/columns/types.d.ts +5 -5
  120. package/dist/containers/Storage/StorageWrapper.d.ts +6 -3
  121. package/dist/containers/Storage/StorageWrapper.js +10 -3
  122. package/dist/containers/Storage/StorageWrapper.js.map +1 -1
  123. package/dist/containers/Storage/types.d.ts +6 -0
  124. package/dist/containers/Storage/types.js +2 -0
  125. package/dist/containers/Storage/types.js.map +1 -0
  126. package/dist/containers/Storage/utils/index.d.ts +4 -6
  127. package/dist/containers/Storage/utils/index.js +35 -9
  128. package/dist/containers/Storage/utils/index.js.map +1 -1
  129. package/dist/containers/StorageGroupPage/StorageGroupPage.js +2 -2
  130. package/dist/containers/StorageGroupPage/StorageGroupPage.js.map +1 -1
  131. package/dist/containers/Tablet/components/TabletStorageInfo/TabletStorageInfo.scss +2 -9
  132. package/dist/containers/Tablets/Tablets.js +2 -123
  133. package/dist/containers/Tablets/Tablets.js.map +1 -1
  134. package/dist/containers/Tablets/TabletsTable.d.ts +10 -0
  135. package/dist/containers/Tablets/TabletsTable.js +129 -0
  136. package/dist/containers/Tablets/TabletsTable.js.map +1 -0
  137. package/dist/containers/Tenant/Diagnostics/Diagnostics.js +4 -4
  138. package/dist/containers/Tenant/Diagnostics/Diagnostics.js.map +1 -1
  139. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByCpu.d.ts +4 -0
  140. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByCpu.js +18 -3
  141. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByCpu.js.map +1 -1
  142. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByLoad.js +22 -3
  143. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByLoad.js.map +1 -1
  144. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopQueries.js +2 -1
  145. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopQueries.js.map +1 -1
  146. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopShards.js +2 -1
  147. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopShards.js.map +1 -1
  148. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TopNodesByMemory.js +23 -2
  149. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TopNodesByMemory.js.map +1 -1
  150. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopGroups.js +2 -6
  151. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopGroups.js.map +1 -1
  152. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopTables.js +2 -1
  153. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopTables.js.map +1 -1
  154. package/dist/containers/Tenant/Diagnostics/TenantOverview/i18n/en.json +2 -1
  155. package/dist/containers/Tenant/Diagnostics/TenantOverview/i18n/index.d.ts +1 -1
  156. package/dist/containers/Tenant/Diagnostics/TopQueries/RunningQueriesData.js +4 -2
  157. package/dist/containers/Tenant/Diagnostics/TopQueries/RunningQueriesData.js.map +1 -1
  158. package/dist/containers/Tenant/Diagnostics/TopQueries/TopQueriesData.js +2 -1
  159. package/dist/containers/Tenant/Diagnostics/TopQueries/TopQueriesData.js.map +1 -1
  160. package/dist/containers/Tenant/Diagnostics/TopShards/TopShards.js +2 -1
  161. package/dist/containers/Tenant/Diagnostics/TopShards/TopShards.js.map +1 -1
  162. package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.js +5 -7
  163. package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.js.map +1 -1
  164. package/dist/containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/SimplifiedPlan.scss +1 -1
  165. package/dist/containers/Tenant/Query/Preview/Preview.js +3 -2
  166. package/dist/containers/Tenant/Query/Preview/Preview.js.map +1 -1
  167. package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.js +1 -4
  168. package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.js.map +1 -1
  169. package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.d.ts +4 -4
  170. package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.js +1 -1
  171. package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.js.map +1 -1
  172. package/dist/containers/Tenants/Tenants.js +10 -2
  173. package/dist/containers/Tenants/Tenants.js.map +1 -1
  174. package/dist/containers/UserSettings/i18n/en.json +0 -2
  175. package/dist/containers/UserSettings/i18n/index.d.ts +1 -1
  176. package/dist/containers/UserSettings/settings.d.ts +0 -1
  177. package/dist/containers/UserSettings/settings.js +2 -7
  178. package/dist/containers/UserSettings/settings.js.map +1 -1
  179. package/dist/containers/VDiskPage/VDiskPage.js +3 -4
  180. package/dist/containers/VDiskPage/VDiskPage.js.map +1 -1
  181. package/dist/services/api.d.ts +3 -4
  182. package/dist/services/api.js +1 -3
  183. package/dist/services/api.js.map +1 -1
  184. package/dist/services/settings.d.ts +1 -2
  185. package/dist/services/settings.js +1 -2
  186. package/dist/services/settings.js.map +1 -1
  187. package/dist/store/reducers/cluster/__test__/parseGroupsStatsQueryResponse.test.js +62 -40
  188. package/dist/store/reducers/cluster/__test__/parseGroupsStatsQueryResponse.test.js.map +1 -1
  189. package/dist/store/reducers/cluster/cluster.js +0 -1
  190. package/dist/store/reducers/cluster/cluster.js.map +1 -1
  191. package/dist/store/reducers/cluster/utils.d.ts +1 -1
  192. package/dist/store/reducers/cluster/utils.js +2 -1
  193. package/dist/store/reducers/cluster/utils.js.map +1 -1
  194. package/dist/store/reducers/executeQuery.d.ts +0 -2
  195. package/dist/store/reducers/executeQuery.js +1 -2
  196. package/dist/store/reducers/executeQuery.js.map +1 -1
  197. package/dist/store/reducers/executeTopQueries/executeTopQueries.d.ts +1 -1
  198. package/dist/store/reducers/executeTopQueries/executeTopQueries.js +4 -4
  199. package/dist/store/reducers/executeTopQueries/executeTopQueries.js.map +1 -1
  200. package/dist/store/reducers/nodes/types.d.ts +2 -7
  201. package/dist/store/reducers/nodes/utils.js +0 -6
  202. package/dist/store/reducers/nodes/utils.js.map +1 -1
  203. package/dist/store/reducers/preview.js +1 -1
  204. package/dist/store/reducers/preview.js.map +1 -1
  205. package/dist/store/reducers/shardsWorkload/shardsWorkload.js +0 -1
  206. package/dist/store/reducers/shardsWorkload/shardsWorkload.js.map +1 -1
  207. package/dist/store/reducers/storage/types.d.ts +6 -7
  208. package/dist/store/reducers/storage/utils.js +23 -9
  209. package/dist/store/reducers/storage/utils.js.map +1 -1
  210. package/dist/store/reducers/tenantOverview/executeTopTables/executeTopTables.js +0 -1
  211. package/dist/store/reducers/tenantOverview/executeTopTables/executeTopTables.js.map +1 -1
  212. package/dist/store/reducers/tenantOverview/topShards/tenantOverviewTopShards.js +0 -1
  213. package/dist/store/reducers/tenantOverview/topShards/tenantOverviewTopShards.js.map +1 -1
  214. package/dist/store/reducers/tenants/types.d.ts +1 -0
  215. package/dist/store/reducers/tenants/utils.js +4 -2
  216. package/dist/store/reducers/tenants/utils.js.map +1 -1
  217. package/dist/store/reducers/viewSchema/viewSchema.js +2 -2
  218. package/dist/store/reducers/viewSchema/viewSchema.js.map +1 -1
  219. package/dist/types/additionalProps.d.ts +1 -1
  220. package/dist/types/api/cluster.d.ts +2 -0
  221. package/dist/types/api/cluster.js +3 -1
  222. package/dist/types/api/cluster.js.map +1 -1
  223. package/dist/types/api/nodes.d.ts +3 -0
  224. package/dist/types/api/nodes.js.map +1 -1
  225. package/dist/types/api/query.d.ts +16 -30
  226. package/dist/types/api/storage.d.ts +2 -2
  227. package/dist/types/store/query.d.ts +0 -1
  228. package/dist/utils/constants.d.ts +0 -1
  229. package/dist/utils/constants.js +0 -2
  230. package/dist/utils/constants.js.map +1 -1
  231. package/dist/utils/disks/__test__/calculateVDiskSeverity.test.js +1 -2
  232. package/dist/utils/disks/__test__/calculateVDiskSeverity.test.js.map +1 -1
  233. package/dist/utils/disks/calculateVDiskSeverity.js +2 -3
  234. package/dist/utils/disks/calculateVDiskSeverity.js.map +1 -1
  235. package/dist/utils/disks/prepareDisks.js +3 -0
  236. package/dist/utils/disks/prepareDisks.js.map +1 -1
  237. package/dist/utils/disks/types.d.ts +1 -0
  238. package/dist/utils/nodes.d.ts +4 -2
  239. package/dist/utils/nodes.js +10 -1
  240. package/dist/utils/nodes.js.map +1 -1
  241. package/dist/utils/query.d.ts +5 -5
  242. package/dist/utils/query.js +7 -22
  243. package/dist/utils/query.js.map +1 -1
  244. package/dist/utils/query.test.js +221 -56
  245. package/dist/utils/query.test.js.map +1 -1
  246. package/dist/utils/storage.d.ts +1 -0
  247. package/dist/utils/storage.js +3 -0
  248. package/dist/utils/storage.js.map +1 -1
  249. package/package.json +1 -1
  250. package/dist/components/PaginatedTable/useIntersectionObserver.d.ts +0 -9
  251. package/dist/components/PaginatedTable/useIntersectionObserver.js +0 -28
  252. package/dist/components/PaginatedTable/useIntersectionObserver.js.map +0 -1
  253. package/dist/containers/Nodes/columns/i18n/index.d.ts +0 -2
  254. package/dist/containers/Nodes/columns/i18n/index.js.map +0 -1
  255. package/dist/containers/Nodes/columns/types.d.ts +0 -9
  256. package/dist/containers/Nodes/columns/types.js.map +0 -1
  257. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/utils.d.ts +0 -2
  258. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/utils.js +0 -7
  259. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/utils.js.map +0 -1
  260. /package/dist/{containers/Nodes/columns → components/nodesColumns}/types.js +0 -0
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import type { RenderControls, RenderErrorMessage } from '../../../components/PaginatedTable';
2
3
  import type { VisibleEntities } from '../../../store/reducers/storage/types';
3
4
  import type { GroupsGroupByField } from '../../../types/api/storage';
@@ -13,10 +14,10 @@ interface PaginatedStorageGroupsTableProps {
13
14
  searchValue: string;
14
15
  visibleEntities: VisibleEntities;
15
16
  onShowAll: VoidFunction;
16
- parentContainer?: Element | null;
17
+ parentRef?: React.RefObject<HTMLElement>;
17
18
  renderControls?: RenderControls;
18
19
  renderErrorMessage: RenderErrorMessage;
19
20
  initialEntitiesCount?: number;
20
21
  }
21
- export declare const PaginatedStorageGroupsTable: ({ columns, database, nodeId, groupId, pDiskId, filterGroup, filterGroupBy, searchValue, visibleEntities, onShowAll, parentContainer, renderControls, renderErrorMessage, initialEntitiesCount, }: PaginatedStorageGroupsTableProps) => import("react/jsx-runtime").JSX.Element;
22
+ export declare const PaginatedStorageGroupsTable: ({ columns, database, nodeId, groupId, pDiskId, filterGroup, filterGroupBy, searchValue, visibleEntities, onShowAll, parentRef, renderControls, renderErrorMessage, initialEntitiesCount, }: PaginatedStorageGroupsTableProps) => import("react/jsx-runtime").JSX.Element;
22
23
  export {};
@@ -8,7 +8,7 @@ import { StorageGroupsEmptyDataMessage } from './StorageGroupsEmptyDataMessage';
8
8
  import { STORAGE_GROUPS_COLUMNS_WIDTH_LS_KEY } from './columns/constants';
9
9
  import { useGroupsGetter } from './getGroups';
10
10
  import i18n from './i18n';
11
- export const PaginatedStorageGroupsTable = ({ columns, database, nodeId, groupId, pDiskId, filterGroup, filterGroupBy, searchValue, visibleEntities, onShowAll, parentContainer, renderControls, renderErrorMessage, initialEntitiesCount, }) => {
11
+ export const PaginatedStorageGroupsTable = ({ columns, database, nodeId, groupId, pDiskId, filterGroup, filterGroupBy, searchValue, visibleEntities, onShowAll, parentRef, renderControls, renderErrorMessage, initialEntitiesCount, }) => {
12
12
  const capabilitiesLoaded = useCapabilitiesLoaded();
13
13
  const groupsHandlerAvailable = useStorageGroupsHandlerAvailable();
14
14
  const fetchData = useGroupsGetter(groupsHandlerAvailable);
@@ -39,6 +39,6 @@ export const PaginatedStorageGroupsTable = ({ columns, database, nodeId, groupId
39
39
  }
40
40
  return i18n('empty.default');
41
41
  };
42
- return (_jsx(LoaderWrapper, { loading: !capabilitiesLoaded, children: _jsx(ResizeablePaginatedTable, { columnsWidthLSKey: STORAGE_GROUPS_COLUMNS_WIDTH_LS_KEY, parentContainer: parentContainer, columns: columns, fetchData: fetchData, limit: 50, initialEntitiesCount: initialEntitiesCount, renderControls: renderControls, renderErrorMessage: renderErrorMessage, renderEmptyDataMessage: renderEmptyDataMessage, filters: tableFilters, tableName: "storage-groups" }) }));
42
+ return (_jsx(LoaderWrapper, { loading: !capabilitiesLoaded, children: _jsx(ResizeablePaginatedTable, { columnsWidthLSKey: STORAGE_GROUPS_COLUMNS_WIDTH_LS_KEY, parentRef: parentRef, columns: columns, fetchData: fetchData, limit: 50, initialEntitiesCount: initialEntitiesCount, renderControls: renderControls, renderErrorMessage: renderErrorMessage, renderEmptyDataMessage: renderEmptyDataMessage, filters: tableFilters, tableName: "storage-groups" }) }));
43
43
  };
44
44
  //# sourceMappingURL=PaginatedStorageGroupsTable.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"PaginatedStorageGroupsTable.js","sourceRoot":"","sources":["../../../../src/containers/Storage/StorageGroups/PaginatedStorageGroupsTable.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,aAAa,EAAC,MAAM,iDAAiD,CAAC;AAE9E,OAAO,EAAC,wBAAwB,EAAC,MAAM,oCAAoC,CAAC;AAC5E,OAAO,EACH,qBAAqB,EACrB,gCAAgC,GACnC,MAAM,4CAA4C,CAAC;AACpD,OAAO,EAAC,gBAAgB,EAAC,MAAM,2CAA2C,CAAC;AAI3E,OAAO,EAAC,6BAA6B,EAAC,MAAM,iCAAiC,CAAC;AAC9E,OAAO,EAAC,mCAAmC,EAAC,MAAM,qBAAqB,CAAC;AAExE,OAAO,EAAC,eAAe,EAAC,MAAM,aAAa,CAAC;AAC5C,OAAO,IAAI,MAAM,QAAQ,CAAC;AAuB1B,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC,EACxC,OAAO,EACP,QAAQ,EACR,MAAM,EACN,OAAO,EACP,OAAO,EACP,WAAW,EACX,aAAa,EACb,WAAW,EACX,eAAe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sTable.js","sourceRoot":"","sources":["../../../../src/containers/Storage/StorageGroups/PaginatedStorageGroupsTable.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,aAAa,EAAC,MAAM,iDAAiD,CAAC;AAE9E,OAAO,EAAC,wBAAwB,EAAC,MAAM,oCAAoC,CAAC;AAC5E,OAAO,EACH,qBAAqB,EACrB,gCAAgC,GACnC,MAAM,4CAA4C,CAAC;AACpD,OAAO,EAAC,gBAAgB,EAAC,MAAM,2CAA2C,CAAC;AAI3E,OAAO,EAAC,6BAA6B,EAAC,MAAM,iCAAiC,CAAC;AAC9E,OAAO,EAAC,mCAAmC,EAAC,MAAM,qBAAqB,CAAC;AAExE,OAAO,EAAC,eAAe,EAAC,MAAM,aAAa,CAAC;AAC5C,OAAO,IAAI,MAAM,QAAQ,CAAC;AAuB1B,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC,EACxC,OAAO,EACP,QAAQ,EACR,MAAM,EACN,OAAO,EACP,OAAO,EACP,WAAW,EACX,aAAa,EACb,WAAW,EACX,eAAe,EACf,SAAS,EACT,SAAS,EACT,cAAc,EACd,kBAAkB,EAClB,oBAAoB,GACW,EAAE,EAAE;IACnC,MAAM,kBAAkB,GAAG,qBAAqB,EAAE,CAAC;IACnD,MAAM,sBAAsB,GAAG,gCAAgC,EAAE,CAAC;IAElE,MAAM,SAAS,GAAG,eAAe,CAAC,sBAAsB,CAAC,CAAC;IAE1D,MAAM,YAAY,GAAG,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE;QACpC,OAAO;YACH,WAAW;YACX,eAAe;YACf,QAAQ;YACR,MAAM;YACN,OAAO;YACP,OAAO;YACP,WAAW;YACX,aAAa;SAChB,CAAC;IACN,CAAC,EAAE;QACC,WAAW;QACX,eAAe;QACf,QAAQ;QACR,MAAM;QACN,OAAO;QACP,OAAO;QACP,WAAW;QACX,aAAa;KAChB,CAAC,CAAC;IAEH,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,aAAa,IAAC,OAAO,EAAE,CAAC,kBAAkB,YACvC,KAAC,wBAAwB,IACrB,iBAAiB,EAAE,mCAAmC,EACtD,SAAS,EAAE,SAAS,EACpB,OAAO,EAAE,OAAO,EAChB,SAAS,EAAE,SAAS,EACpB,KAAK,EAAE,EAAE,EACT,oBAAoB,EAAE,oBAAoB,EAC1C,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"}
@@ -22,8 +22,17 @@
22
22
  }
23
23
  }
24
24
  }
25
+
25
26
  &__pool-name-wrapper {
26
- width: 230px;
27
+ overflow: hidden;
28
+
29
+ white-space: nowrap;
30
+ text-overflow: ellipsis;
31
+ direction: rtl;
32
+ }
33
+
34
+ &__pool-name {
35
+ unicode-bidi: plaintext;
27
36
  }
28
37
 
29
38
  &__group-id {
@@ -12,12 +12,12 @@ import { getStorageGroupPath } from '../../../../routes';
12
12
  import { valueIsDefined } from '../../../../utils';
13
13
  import { cn } from '../../../../utils/cn';
14
14
  import { EMPTY_DATA_PLACEHOLDER } from '../../../../utils/constants';
15
- import { formatNumber, stringifyVdiskId } from '../../../../utils/dataFormatters/dataFormatters';
16
- import { isSortableStorageProperty } from '../../../../utils/storage';
17
- import { formatToMs, parseUsToMs } from '../../../../utils/timeParsers';
15
+ import { formatNumber } from '../../../../utils/dataFormatters/dataFormatters';
16
+ import { getSpaceUsageSeverity, isSortableStorageProperty } from '../../../../utils/storage';
17
+ import { formatToMs } from '../../../../utils/timeParsers';
18
18
  import { bytesToGB, bytesToSpeed } from '../../../../utils/utils';
19
19
  import { Disks } from '../../Disks/Disks';
20
- import { getDegradedSeverity, getUsageSeverityForStorageGroup, isVdiskActive } from '../../utils';
20
+ import { getDegradedSeverity, isVdiskActive } from '../../utils';
21
21
  import i18n from '../i18n';
22
22
  import { STORAGE_GROUPS_COLUMNS_IDS, STORAGE_GROUPS_COLUMNS_TITLES } from './constants';
23
23
  import './StorageGroupsColumns.scss';
@@ -27,9 +27,7 @@ const poolNameColumn = {
27
27
  header: STORAGE_GROUPS_COLUMNS_TITLES.PoolName,
28
28
  width: 250,
29
29
  render: ({ row }) => {
30
- var _a;
31
- const splitted = (_a = row.PoolName) === null || _a === void 0 ? void 0 : _a.split('/');
32
- return (splitted && (_jsx(CellWithPopover, { wrapperClassName: b('pool-name-wrapper'), content: row.PoolName, placement: ['right'], behavior: PopoverBehavior.Immediate, children: splitted[splitted.length - 1] })));
30
+ return row.PoolName ? (_jsx(CellWithPopover, { content: row.PoolName, placement: ['right'], behavior: PopoverBehavior.Immediate, className: b('pool-name-wrapper'), children: _jsx("span", { className: b('pool-name'), children: row.PoolName }) })) : (EMPTY_DATA_PLACEHOLDER);
33
31
  },
34
32
  align: DataTable.LEFT,
35
33
  };
@@ -62,15 +60,21 @@ const degradedColumn = {
62
60
  const usageColumn = {
63
61
  name: STORAGE_GROUPS_COLUMNS_IDS.Usage,
64
62
  header: STORAGE_GROUPS_COLUMNS_TITLES.Usage,
65
- width: 75,
63
+ width: 85,
64
+ resizeMinWidth: 75,
65
+ render: ({ row }) => {
66
+ return valueIsDefined(row.Usage) ? (_jsx(UsageLabel, { value: Math.floor(row.Usage), theme: getSpaceUsageSeverity(row.Usage) })) : (EMPTY_DATA_PLACEHOLDER);
67
+ },
68
+ align: DataTable.LEFT,
69
+ };
70
+ const diskSpaceUsageColumn = {
71
+ name: STORAGE_GROUPS_COLUMNS_IDS.DiskSpaceUsage,
72
+ header: STORAGE_GROUPS_COLUMNS_TITLES.DiskSpaceUsage,
73
+ width: 115,
66
74
  resizeMinWidth: 75,
67
75
  render: ({ row }) => {
68
- // without a limit the usage can be evaluated as 0,
69
- // but the absence of a value is more clear
70
- return row.Limit ? (_jsx(UsageLabel, { value: row.Usage, theme: getUsageSeverityForStorageGroup(row.Usage) })) : ('-');
76
+ return valueIsDefined(row.DiskSpaceUsage) ? (_jsx(UsageLabel, { value: Math.floor(row.DiskSpaceUsage), theme: getSpaceUsageSeverity(row.DiskSpaceUsage) })) : (EMPTY_DATA_PLACEHOLDER);
71
77
  },
72
- // without a limit exclude usage from sort to display at the bottom
73
- sortAccessor: (row) => (row.Limit ? row.Usage : null),
74
78
  align: DataTable.LEFT,
75
79
  };
76
80
  const groupIdColumn = {
@@ -134,7 +138,7 @@ const latencyColumn = {
134
138
  width: 100,
135
139
  render: ({ row }) => {
136
140
  return valueIsDefined(row.LatencyPutTabletLogMs)
137
- ? formatToMs(parseUsToMs(row.LatencyPutTabletLogMs))
141
+ ? formatToMs(row.LatencyPutTabletLogMs)
138
142
  : EMPTY_DATA_PLACEHOLDER;
139
143
  },
140
144
  align: DataTable.RIGHT,
@@ -156,7 +160,7 @@ const getVDisksColumn = (data) => ({
156
160
  className: b('vdisks-column'),
157
161
  render: ({ row }) => {
158
162
  var _a;
159
- return (_jsx("div", { className: b('vdisks-wrapper'), children: (_a = row.VDisks) === null || _a === void 0 ? void 0 : _a.map((vDisk) => (_jsx(VDiskWithDonorsStack, { data: vDisk, inactive: !isVdiskActive(vDisk, data), className: b('vdisks-item') }, stringifyVdiskId(vDisk.VDiskId)))) }));
163
+ return (_jsx("div", { className: b('vdisks-wrapper'), children: (_a = row.VDisks) === null || _a === void 0 ? void 0 : _a.map((vDisk) => (_jsx(VDiskWithDonorsStack, { data: vDisk, inactive: !isVdiskActive(vDisk, data === null || data === void 0 ? void 0 : data.viewContext), className: b('vdisks-item') }, vDisk.StringifiedId))) }));
160
164
  },
161
165
  align: DataTable.CENTER,
162
166
  width: 900,
@@ -168,7 +172,7 @@ const getDisksColumn = (data) => ({
168
172
  header: STORAGE_GROUPS_COLUMNS_TITLES.VDisksPDisks,
169
173
  className: b('disks-column'),
170
174
  render: ({ row }) => {
171
- return _jsx(Disks, { vDisks: row.VDisks, viewContext: data });
175
+ return _jsx(Disks, { vDisks: row.VDisks, viewContext: data === null || data === void 0 ? void 0 : data.viewContext });
172
176
  },
173
177
  align: DataTable.CENTER,
174
178
  width: 900,
@@ -199,6 +203,7 @@ export const getStorageGroupsColumns = (data) => {
199
203
  erasureColumn,
200
204
  degradedColumn,
201
205
  usageColumn,
206
+ diskSpaceUsageColumn,
202
207
  usedColumn,
203
208
  limitColumn,
204
209
  usedSpaceFlagColumn,
@@ -1 +1 @@
1
- {"version":3,"file":"columns.js","sourceRoot":"","sources":["../../../../../src/containers/Storage/StorageGroups/columns/columns.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,aAAa,EAAC,MAAM,mBAAmB,CAAC;AAChD,OAAO,SAAS,MAAM,8BAA8B,CAAC;AACrD,OAAO,EAAC,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,eAAe,EAAC,MAAM,mBAAmB,CAAC;AAExE,OAAO,EAAC,eAAe,EAAC,MAAM,wDAAwD,CAAC;AACvF,OAAO,EAAC,YAAY,EAAC,MAAM,kDAAkD,CAAC;AAC9E,OAAO,EAAC,YAAY,EAAC,MAAM,qCAAqC,CAAC;AACjE,OAAO,EAAC,UAAU,EAAC,MAAM,8CAA8C,CAAC;AACxE,OAAO,EAAC,oBAAoB,EAAC,MAAM,mDAAmD,CAAC;AACvF,OAAO,EAAC,mBAAmB,EAAC,MAAM,oBAAoB,CAAC;AACvD,OAAO,EAAC,cAAc,EAAC,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAC,EAAE,EAAC,MAAM,sBAAsB,CAAC;AACx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AAE,IAAI,GAAI,CAAC;IAC5D,CAAC;IACD,KAAK,EAAE,SAAS,CAAC,MAAM;IACvB,KAAK,EAAE,GAAG;IACV,UAAU,EAAE,KAAK;IACjB,QAAQ,EAAE,KAAK;CAClB,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,0BAA0B,GAAyB,GAAG,EAAE;IACjE,MAAM,OAAO,GAAG;QACZ,aAAa;QACb,UAAU;QACV,aAAa;QACb,WAAW;QACX,UAAU;QACV,WAAW;KACd,CAAC;IAEF,OAAO,OAAO,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE;QAC1B,OAAO;YACH,GAAG,MAAM;YACT,QAAQ,EAAE,KAAK;SAClB,CAAC;IACN,CAAC,CAAC,CAAC;AACP,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,uBAAuB,GAAyB,CAAC,IAAI,EAAE,EAAE;IAClE,MAAM,OAAO,GAAG;QACZ,aAAa;QACb,cAAc;QACd,UAAU;QACV,aAAa;QACb,cAAc;QACd,WAAW;QACX,UAAU;QACV,WAAW;QACX,mBAAmB;QACnB,UAAU;QACV,WAAW;QACX,aAAa;QACb,qBAAqB;QACrB,eAAe,CAAC,IAAI,CAAC;QACrB,cAAc,CAAC,IAAI,CAAC;KACvB,CAAC;IAEF,OAAO,OAAO,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;QAC5B,GAAG,MAAM;QACT,QAAQ,EAAE,yBAAyB,CAAC,MAAM,CAAC,IAAI,CAAC;KACnD,CAAC,CAAC,CAAC;AACR,CAAC,CAAC"}
1
+ {"version":3,"file":"columns.js","sourceRoot":"","sources":["../../../../../src/containers/Storage/StorageGroups/columns/columns.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,aAAa,EAAC,MAAM,mBAAmB,CAAC;AAChD,OAAO,SAAS,MAAM,8BAA8B,CAAC;AACrD,OAAO,EAAC,IAAI,EAAE,KAAK,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E;QAC1B,OAAO;YACH,GAAG,MAAM;YACT,QAAQ,EAAE,KAAK;SAClB,CAAC;IACN,CAAC,CAAC,CAAC;AACP,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,uBAAuB,GAAyB,CAAC,IAAI,EAAE,EAAE;IAClE,MAAM,OAAO,GAAG;QACZ,aAAa;QACb,cAAc;QACd,UAAU;QACV,aAAa;QACb,cAAc;QACd,WAAW;QACX,oBAAoB;QACpB,UAAU;QACV,WAAW;QACX,mBAAmB;QACnB,UAAU;QACV,WAAW;QACX,aAAa;QACb,qBAAqB;QACrB,eAAe,CAAC,IAAI,CAAC;QACrB,cAAc,CAAC,IAAI,CAAC;KACvB,CAAC;IAEF,OAAO,OAAO,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;QAC5B,GAAG,MAAM;QACT,QAAQ,EAAE,yBAAyB,CAAC,MAAM,CAAC,IAAI,CAAC;KACnD,CAAC,CAAC,CAAC;AACR,CAAC,CAAC"}
@@ -64,7 +64,7 @@ export const STORAGE_GROUPS_COLUMNS_TITLES = {
64
64
  return i18n('usage');
65
65
  },
66
66
  get DiskSpaceUsage() {
67
- return i18n('disk-space-usage');
67
+ return i18n('disk-usage');
68
68
  },
69
69
  get DiskSpace() {
70
70
  return i18n('space');
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../src/containers/Storage/StorageGroups/columns/constants.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AAKtB,OAAO,IAAI,MAAM,QAAQ,CAAC;AAE1B,MAAM,CAAC,MAAM,mCAAmC,GAAG,2BAA2B,CAAC;AAC/E,MAAM,CAAC,MAAM,sCAAsC,GAAG,8BAA8B,CAAC;AAErF,MAAM,CAAC,MAAM,0BAA0B,GAAG;IACtC,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,UAAU;IACpB,SAAS,EAAE,WAAW;IACtB,UAAU,EAAE,Y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AAE,EAAE,CAAC,8BAA8B,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;KAC3D,KAAK,CAAC,SAAS,CAAC,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../src/containers/Storage/StorageGroups/columns/constants.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AAKtB,OAAO,IAAI,MAAM,QAAQ,CAAC;AAE1B,MAAM,CAAC,MAAM,mCAAmC,GAAG,2BAA2B,CAAC;AAC/E,MAAM,CAAC,MAAM,sCAAsC,GAAG,8BAA8B,CAAC;AAErF,MAAM,CAAC,MAAM,0BAA0B,GAAG;IACtC,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,UAAU;IACpB,SAAS,EAAE,WAAW;IACtB,UAAU,EAAE,YAAY;IACxB,OAAO,EAAE,SAAS;IAClB,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,OAAO;IACd,KAAK,EAAE,OAAO;IACd,cAAc,EAAE,gBAAgB;IAChC,SAAS,EAAE,WAAW;IACtB,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,OAAO;IACd,OAAO,EAAE,SAAS;IAClB,eAAe,EAAE,iBAAiB;IAClC,MAAM,EAAE,QAAQ;IAChB,YAAY,EAAE,cAAc;IAC5B,YAAY,EAAE,cAAc;IAC5B,QAAQ,EAAE,UAAU;IACpB,KAAK,EAAE,OAAO;CACR,CAAC;AAIX,MAAM,CAAC,MAAM,8BAA8B,GAA4B;IACnE,SAAS;IACT,UAAU;IACV,WAAW;IACX,SAAS;IACT,MAAM;IACN,OAAO;IACP,OAAO;IACP,MAAM;IACN,OAAO;IACP,QAAQ;CACX,CAAC;AAEF,MAAM,CAAC,MAAM,+BAA+B,GAA4B,CAAC,SAAS,CAAC,CAAC;AAEpF,0FAA0F;AAC1F,iGAAiG;AACjG,MAAM,CAAC,MAAM,6BAA6B,GAAG;IACzC,IAAI,QAAQ;QACR,OAAO,IAAI,CA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CAAC;IACD,IAAI,KAAK;QACL,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC;IACzB,CAAC;CACqD,CAAC;AAE3D,MAAM,8BAA8B,GAAG;IACnC,UAAU;IACV,WAAW;IACX,YAAY;IACZ,SAAS;IACT,OAAO;IACP,gBAAgB;IAChB,OAAO;IACP,cAAc;IACd,SAAS;CAC4B,CAAC;AAE1C,MAAM,CAAC,MAAM,+BAA+B,GAAmB,8BAA8B,CAAC,GAAG,CAC7F,CAAC,KAAK,EAAE,EAAE;IACN,OAAO;QACH,KAAK,EAAE,KAAK;QACZ,OAAO,EAAE,6BAA6B,CAAC,KAAK,CAAC;KAChD,CAAC;AACN,CAAC,CACJ,CAAC;AAEF,MAAM,CAAC,MAAM,+BAA+B,GAAG,CAAC;KAC3C,MAAM,CAEL,CAAC,KAAK,EAAE,EAAE,CAAC,8BAA8B,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;KAC3D,KAAK,CAAC,SAAS,CAAC,CAAC"}
@@ -1,6 +1,7 @@
1
+ import type { StorageViewContext } from '../../types';
1
2
  import type { GetStorageGroupsColumnsParams } from './types';
2
- export declare function useGetStorageGroupsColumns(nodeId?: string): import("./types").StorageGroupsColumn[];
3
- export declare function useStorageGroupsSelectedColumns({ visibleEntities, nodeId, }: GetStorageGroupsColumnsParams): {
3
+ export declare function useGetStorageGroupsColumns(viewContext: StorageViewContext): import("./types").StorageGroupsColumn[];
4
+ export declare function useStorageGroupsSelectedColumns({ visibleEntities, viewContext, }: GetStorageGroupsColumnsParams): {
4
5
  columnsToShow: import("./types").StorageGroupsColumn[];
5
6
  columnsToSelect: import("@gravity-ui/uikit").TableColumnSetupItem[];
6
7
  setColumns: (updated: import("@gravity-ui/uikit").TableColumnSetupItem[]) => void;
@@ -3,13 +3,13 @@ import { VISIBLE_ENTITIES } from '../../../../store/reducers/storage/constants';
3
3
  import { useSelectedColumns } from '../../../../utils/hooks/useSelectedColumns';
4
4
  import { getStorageGroupsColumns } from './columns';
5
5
  import { DEFAULT_STORAGE_GROUPS_COLUMNS, REQUIRED_STORAGE_GROUPS_COLUMNS, STORAGE_GROUPS_COLUMNS_IDS, STORAGE_GROUPS_COLUMNS_TITLES, STORAGE_GROUPS_SELECTED_COLUMNS_LS_KEY, } from './constants';
6
- export function useGetStorageGroupsColumns(nodeId) {
6
+ export function useGetStorageGroupsColumns(viewContext) {
7
7
  return React.useMemo(() => {
8
- return getStorageGroupsColumns({ nodeId });
9
- }, [nodeId]);
8
+ return getStorageGroupsColumns({ viewContext });
9
+ }, [viewContext]);
10
10
  }
11
- export function useStorageGroupsSelectedColumns({ visibleEntities, nodeId, }) {
12
- const columns = useGetStorageGroupsColumns(nodeId);
11
+ export function useStorageGroupsSelectedColumns({ visibleEntities, viewContext, }) {
12
+ const columns = useGetStorageGroupsColumns(viewContext);
13
13
  const requiredColumns = React.useMemo(() => {
14
14
  if (visibleEntities === VISIBLE_ENTITIES.missing) {
15
15
  return [...REQUIRED_STORAGE_GROUPS_COLUMNS, STORAGE_GROUPS_COLUMNS_IDS.Degraded];
@@ -1 +1 @@
1
- {"version":3,"file":"hooks.js","sourceRoot":"","sources":["../../../../../src/containers/Storage/StorageGroups/columns/hooks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,gBAAgB,EAAC,MAAM,8CAA8C,CAAC;AAC9E,OAAO,EAAC,kBAAkB,EAAC,MAAM,4CAA4C,CAAC;AAE9E,OAAO,EAAC,uBAAuB,EAAC,MAAM,WAAW,CAAC;AAClD,OAAO,EACH,8BAA8B,EAC9B,+BAA+B,EAC/B,0BAA0B,EAC1B,6BAA6B,EAC7B,sCAAsC,GACzC,MAAM,aAAa,CAAC;AAGrB,MAAM,UAAU,0BAA0B,CAAC,MAAe;IACtD,OAAO,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE;QACtB,OAAO,uBAAuB,CAAC,EAAC,MAAM,EAAC,CAAC,CAAC;IAC7C,CAAC,EAA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AC,CAAC;IAClD,CAAC,EAAE,CAAC,WAAW,CAAC,CAAC,CAAC;AACtB,CAAC;AAED,MAAM,UAAU,+BAA+B,CAAC,EAC5C,eAAe,EACf,WAAW,GACiB;IAC5B,MAAM,OAAO,GAAG,0BAA0B,CAAC,WAAW,CAAC,CAAC;IAExD,MAAM,eAAe,GAAG,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE;QACvC,IAAI,eAAe,KAAK,gBAAgB,CAAC,OAAO,EAAE,CAAC;YAC/C,OAAO,CAAC,GAAG,+BAA+B,EAAE,0BAA0B,CAAC,QAAQ,CAAC,CAAC;QACrF,CAAC;QAED,IAAI,eAAe,KAAK,gBAAgB,CAAC,KAAK,EAAE,CAAC;YAC7C,OAAO,CAAC,GAAG,+BAA+B,EAAE,0BAA0B,CAAC,SAAS,CAAC,CAAC;QACtF,CAAC;QAED,OAAO,+BAA+B,CAAC;IAC3C,CAAC,EAAE,CAAC,eAAe,CAAC,CAAC,CAAC;IAEtB,OAAO,kBAAkB,CACrB,OAAO,EACP,sCAAsC,EACtC,6BAA6B,EAC7B,8BAA8B,EAC9B,eAAe,CAClB,CAAC;AACN,CAAC"}
@@ -7,7 +7,7 @@
7
7
  "missing-disks": "Missing Disks",
8
8
  "state": "State",
9
9
  "usage": "Usage",
10
- "disk-space-usage": "Disk space usage",
10
+ "disk-usage": "Disk usage",
11
11
  "group-id": "Group ID",
12
12
  "used": "Used",
13
13
  "limit": "Limit",
@@ -1,2 +1,2 @@
1
- declare const _default: (key: "type" | "space" | "limit" | "used" | "state" | "pool-name" | "encryption" | "erasure" | "degraded" | "missing-disks" | "usage" | "disk-space-usage" | "group-id" | "read" | "write" | "latency" | "allocation-units" | "vdisks" | "vdisks-pdisks", params?: import("@gravity-ui/i18n").Params) => string;
1
+ declare const _default: (key: "type" | "space" | "limit" | "used" | "state" | "disk-usage" | "pool-name" | "encryption" | "erasure" | "degraded" | "missing-disks" | "usage" | "group-id" | "read" | "write" | "latency" | "allocation-units" | "vdisks" | "vdisks-pdisks", params?: import("@gravity-ui/i18n").Params) => string;
2
2
  export default _default;
@@ -1,12 +1,13 @@
1
1
  import type { Column as DataTableColumn } from '@gravity-ui/react-data-table';
2
2
  import type { Column as PaginatedTableColumn } from '../../../../components/PaginatedTable';
3
3
  import type { PreparedStorageGroup, VisibleEntities } from '../../../../store/reducers/storage/types';
4
+ import type { StorageViewContext } from '../../types';
4
5
  export type StorageGroupsColumn = PaginatedTableColumn<PreparedStorageGroup> & DataTableColumn<PreparedStorageGroup>;
5
6
  export interface GetStorageColumnsData {
6
- nodeId?: string;
7
+ viewContext: StorageViewContext;
7
8
  }
8
9
  export interface GetStorageGroupsColumnsParams {
9
10
  visibleEntities?: VisibleEntities;
10
- nodeId?: string;
11
+ viewContext: StorageViewContext;
11
12
  }
12
13
  export type StorageColumnsGetter = (data?: GetStorageColumnsData) => StorageGroupsColumn[];
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import type { RenderControls, RenderErrorMessage } from '../../../components/PaginatedTable';
2
3
  import type { VisibleEntities } from '../../../store/reducers/storage/types';
3
4
  import type { NodesGroupByField } from '../../../types/api/nodes';
@@ -14,10 +15,10 @@ interface PaginatedStorageNodesTableProps {
14
15
  visibleEntities: VisibleEntities;
15
16
  nodesUptimeFilter: NodesUptimeFilterValues;
16
17
  onShowAll: VoidFunction;
17
- parentContainer?: Element | null;
18
+ parentRef?: React.RefObject<HTMLElement>;
18
19
  renderControls?: RenderControls;
19
20
  renderErrorMessage: RenderErrorMessage;
20
21
  initialEntitiesCount?: number;
21
22
  }
22
- export declare const PaginatedStorageNodesTable: ({ columns, database, nodeId, groupId, filterGroup, filterGroupBy, searchValue, visibleEntities, nodesUptimeFilter, onShowAll, parentContainer, renderControls, renderErrorMessage, initialEntitiesCount, }: PaginatedStorageNodesTableProps) => import("react/jsx-runtime").JSX.Element;
23
+ export declare const PaginatedStorageNodesTable: ({ columns, database, nodeId, groupId, filterGroup, filterGroupBy, searchValue, visibleEntities, nodesUptimeFilter, onShowAll, parentRef, renderControls, renderErrorMessage, initialEntitiesCount, }: PaginatedStorageNodesTableProps) => import("react/jsx-runtime").JSX.Element;
23
24
  export {};
@@ -8,7 +8,7 @@ import { STORAGE_NODES_COLUMNS_WIDTH_LS_KEY } from './columns/constants';
8
8
  import { getStorageNodes } from './getNodes';
9
9
  import i18n from './i18n';
10
10
  import { getRowUnavailableClassName } from './shared';
11
- export const PaginatedStorageNodesTable = ({ columns, database, nodeId, groupId, filterGroup, filterGroupBy, searchValue, visibleEntities, nodesUptimeFilter, onShowAll, parentContainer, renderControls, renderErrorMessage, initialEntitiesCount, }) => {
11
+ export const PaginatedStorageNodesTable = ({ columns, database, nodeId, groupId, filterGroup, filterGroupBy, searchValue, visibleEntities, nodesUptimeFilter, onShowAll, parentRef, renderControls, renderErrorMessage, initialEntitiesCount, }) => {
12
12
  const tableFilters = React.useMemo(() => {
13
13
  return {
14
14
  searchValue,
@@ -37,6 +37,6 @@ export const PaginatedStorageNodesTable = ({ columns, database, nodeId, groupId,
37
37
  }
38
38
  return i18n('empty.default');
39
39
  };
40
- return (_jsx(ResizeablePaginatedTable, { columnsWidthLSKey: STORAGE_NODES_COLUMNS_WIDTH_LS_KEY, parentContainer: parentContainer, columns: columns, fetchData: getStorageNodes, rowHeight: 51, limit: 50, initialEntitiesCount: initialEntitiesCount, renderControls: renderControls, renderErrorMessage: renderErrorMessage, renderEmptyDataMessage: renderEmptyDataMessage, getRowClassName: getRowUnavailableClassName, filters: tableFilters, tableName: "storage-nodes" }));
40
+ return (_jsx(ResizeablePaginatedTable, { columnsWidthLSKey: STORAGE_NODES_COLUMNS_WIDTH_LS_KEY, parentRef: parentRef, columns: columns, fetchData: getStorageNodes, rowHeight: 51, limit: 50, initialEntitiesCount: initialEntitiesCount, renderControls: renderControls, renderErrorMessage: renderErrorMessage, renderEmptyDataMessage: renderEmptyDataMessage, getRowClassName: getRowUnavailableClassName, filters: tableFilters, tableName: "storage-nodes" }));
41
41
  };
42
42
  //# sourceMappingURL=PaginatedStorageNodesTable.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"PaginatedStorageNodesTable.js","sourceRoot":"","sources":["../../../../src/containers/Storage/StorageNodes/PaginatedStorageNodesTable.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,uBAAuB,EAAC,MAAM,sBAAsB,CAAC;AAE7D,OAAO,EAAC,4BAA4B,EAAC,MAAM,gCAAgC,CAAC;AAC5E,OAAO,EAAC,kCAAkC,EAAC,MAAM,qBAAqB,CAAC;AAEvE,OAAO,EAAC,eAAe,EAAC,MAAM,YAAY,CAAC;AAC3C,OAAO,IAAI,MAAM,QAAQ,CAAC;AAC1B,OAAO,EAAC,0BAA0B,EAAC,MAAM,UAAU,CAAC;AAuBpD,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,EACvC,OAAO,EACP,QAAQ,EACR,MAAM,EACN,OAAO,EACP,WAAW,EACX,aAAa,EACb,WAAW,EACX,eAAe,EACf,iBAAiB,EACjB,SAAS,EACT,eAAe,EACf,cAAc,EACd,kBAAkB,EAClB,oBAAoB,GACU,EAAE,EAAE;IAClC,MAAM,YAAY,GAAG,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE;QACpC,OAAO;YACH,WAAW;YACX,eAAe;YACf,iBAAiB;YACjB,QAAQ;YACR,MAAM;YACN,OAAO;YACP,WAAW;YACX,aAAa;SAChB,CAAC;IACN,CAAC,EAAE;QACC,WAAW;QACX,eAAe;QACf,iBAAiB;QACjB,QAAQ;QACR,MAAM;QACN,OAAO;QACP,WAAW;QACX,aAAa;KAChB,CAAC,CAAC;IAEH,MAAM,sBAAsB,GAAG,GAAG,EAAE;QAChC,IACI,eAAe,KAAK,gBAAgB,CAAC,GAAG;YACxC,iBAAiB,KAAK,uBAAuB,CAAC,GAAG,EACnD,CAAC;YACC,OAAO,CACH,KAAC,4BAA4B,IACzB,SAAS,EAAE,SAAS,EACpB,iBAAiB,EAAE,iBAAiB,EACpC,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,kCAAkC,EACrD,eAAe,EAAE,eAAe,EAChC,OAAO,EAAE,OAAO,EAChB,SAAS,EAAE,eAAe,EAC1B,SAAS,EAAE,EAAE,EACb,KAAK,EAAE,EAAE,EACT,oBAAoB,EAAE,oBAAoB,EAC1C,cAAc,EAAE,cAAc,EAC9B,kBAAkB,EAAE,kBAAkB,EACtC,sBAAsB,EAAE,sBAAsB,EAC9C,eAAe,EAAE,0BAA0B,EAC3C,OAAO,EAAE,YAAY,EACrB,SAAS,EAAC,eAAe,GAC3B,CACL,CAAC;AACN,CAAC,CAAC"}
1
+ {"version":3,"file":"PaginatedStorageNodesTable.js","sourceRoot":"","sources":["../../../../src/containers/Storage/StorageNodes/PaginatedStorageNodesTable.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,uBAAuB,EAAC,MAAM,sBAAsB,CAAC;AAE7D,OAAO,EAAC,4BAA4B,EAAC,MAAM,gCAAgC,CAAC;AAC5E,OAAO,EAAC,kCAAkC,EAAC,MAAM,qBAAqB,CAAC;AAEvE,OAAO,EAAC,eAAe,EAAC,MAAM,YAAY,CAAC;AAC3C,OAAO,IAAI,MAAM,QAAQ,CAAC;AAC1B,OAAO,EAAC,0BAA0B,EAAC,MAAM,UAAU,CAAC;AAuBpD,MAAM,CAAC,MAAM,0BAA0B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@ -1,39 +1,3 @@
1
- import type { GetStorageNodesColumnsParams } from './types';
1
+ import type { GetStorageNodesColumnsParams, StorageNodesColumn } from './types';
2
2
  import './StorageNodesColumns.scss';
3
- export declare const getPreparedStorageNodesColumns: (params: GetStorageNodesColumnsParams) => {
4
- sortable: boolean;
5
- name: string;
6
- header?: React.ReactNode;
7
- className?: string;
8
- resizeable?: boolean;
9
- render: ((props: {
10
- row: import("../../../../store/reducers/storage/types").PreparedStorageNode;
11
- index: number;
12
- }) => React.ReactNode) & ((props: {
13
- value?: unknown;
14
- row: import("../../../../store/reducers/storage/types").PreparedStorageNode;
15
- index: number;
16
- footer?: boolean;
17
- headerData?: boolean;
18
- }) => import("react").ReactNode);
19
- width?: number;
20
- resizeMaxWidth?: number;
21
- resizeMinWidth?: number;
22
- align: "center" | "left" | "right";
23
- headerTitle?: string;
24
- accessor?: string | ((row: import("../../../../store/reducers/storage/types").PreparedStorageNode) => any) | undefined;
25
- title?: string | ((row: import("../../../../store/reducers/storage/types").PreparedStorageNode) => string) | undefined;
26
- customStyle?: ((props: import("@gravity-ui/react-data-table").CustomStyleParams<import("../../../../store/reducers/storage/types").PreparedStorageNode>) => import("react").CSSProperties) | undefined;
27
- onClick?: ((data: {
28
- row: import("../../../../store/reducers/storage/types").PreparedStorageNode;
29
- index: number;
30
- footer?: boolean;
31
- headerData?: boolean;
32
- }, column: import("@gravity-ui/react-data-table").Column<import("../../../../store/reducers/storage/types").PreparedStorageNode>, event: import("react").MouseEvent<HTMLTableCellElement>) => void) | undefined;
33
- defaultOrder?: import("@gravity-ui/react-data-table").OrderType;
34
- sortAccessor?: string | ((row: import("../../../../store/reducers/storage/types").PreparedStorageNode) => any) | undefined;
35
- sortAscending?: import("@gravity-ui/react-data-table").Comparator<import("../../../../store/reducers/storage/types").PreparedStorageNode> | undefined;
36
- sub?: import("@gravity-ui/react-data-table").Column<import("../../../../store/reducers/storage/types").PreparedStorageNode>[] | undefined;
37
- group?: boolean;
38
- autogroup?: boolean;
39
- }[];
3
+ export declare const getStorageNodesColumns: ({ database, additionalNodesProps, viewContext, }: GetStorageNodesColumnsParams) => StorageNodesColumn[];
@@ -1,85 +1,48 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import DataTable from '@gravity-ui/react-data-table';
3
- import { NodeHostWrapper } from '../../../../components/NodeHostWrapper/NodeHostWrapper';
3
+ import { getCpuColumn, getDataCenterColumn, getDiskSpaceUsageColumn, getHostColumn, getMemoryColumn, getMissingDisksColumn, getNodeIdColumn, getNodeNameColumn, getRackColumn, getUptimeColumn, getVersionColumn, } from '../../../../components/nodesColumns/columns';
4
4
  import { cn } from '../../../../utils/cn';
5
- import { EMPTY_DATA_PLACEHOLDER } from '../../../../utils/constants';
6
5
  import { isSortableNodesProperty } from '../../../../utils/nodes';
7
6
  import { PDisk } from '../../PDisk/PDisk';
8
7
  import { STORAGE_NODES_COLUMNS_IDS, STORAGE_NODES_COLUMNS_TITLES } from './constants';
9
8
  import './StorageNodesColumns.scss';
10
9
  const b = cn('ydb-storage-nodes-columns');
11
- const getStorageNodesColumns = ({ additionalNodesProps, database, groupId, }) => {
10
+ const getPDisksColumn = ({ viewContext }) => {
11
+ return {
12
+ name: STORAGE_NODES_COLUMNS_IDS.PDisks,
13
+ header: STORAGE_NODES_COLUMNS_TITLES.PDisks,
14
+ className: b('pdisks-column'),
15
+ render: ({ row }) => {
16
+ var _a;
17
+ return (_jsx("div", { className: b('pdisks-wrapper'), children: (_a = row.PDisks) === null || _a === void 0 ? void 0 : _a.map((pDisk) => {
18
+ var _a;
19
+ const vDisks = (_a = row.VDisks) === null || _a === void 0 ? void 0 : _a.filter((vdisk) => vdisk.PDiskId === pDisk.PDiskId);
20
+ return (_jsx("div", { className: b('pdisks-item'), children: _jsx(PDisk, { data: pDisk, vDisks: vDisks, viewContext: viewContext }) }, pDisk.PDiskId));
21
+ }) }));
22
+ },
23
+ align: DataTable.CENTER,
24
+ sortable: false,
25
+ width: 900,
26
+ resizeable: false,
27
+ };
28
+ };
29
+ export const getStorageNodesColumns = ({ database, additionalNodesProps, viewContext, }) => {
12
30
  const getNodeRef = additionalNodesProps === null || additionalNodesProps === void 0 ? void 0 : additionalNodesProps.getNodeRef;
13
31
  const columns = [
14
- {
15
- name: STORAGE_NODES_COLUMNS_IDS.NodeId,
16
- header: STORAGE_NODES_COLUMNS_TITLES.NodeId,
17
- width: 100,
18
- align: DataTable.RIGHT,
19
- render: ({ row }) => row.NodeId,
20
- },
21
- {
22
- name: STORAGE_NODES_COLUMNS_IDS.Host,
23
- header: STORAGE_NODES_COLUMNS_TITLES.Host,
24
- width: 350,
25
- render: ({ row }) => {
26
- return _jsx(NodeHostWrapper, { node: row, getNodeRef: getNodeRef, database: database });
27
- },
28
- align: DataTable.LEFT,
29
- },
30
- {
31
- name: STORAGE_NODES_COLUMNS_IDS.DC,
32
- header: STORAGE_NODES_COLUMNS_TITLES.DC,
33
- width: 100,
34
- render: ({ row }) => row.DC || EMPTY_DATA_PLACEHOLDER,
35
- align: DataTable.LEFT,
36
- },
37
- {
38
- name: STORAGE_NODES_COLUMNS_IDS.Rack,
39
- header: STORAGE_NODES_COLUMNS_TITLES.Rack,
40
- width: 100,
41
- render: ({ row }) => row.Rack || '—',
42
- align: DataTable.LEFT,
43
- },
44
- {
45
- name: STORAGE_NODES_COLUMNS_IDS.Uptime,
46
- header: STORAGE_NODES_COLUMNS_TITLES.Uptime,
47
- width: 130,
48
- sortAccessor: ({ StartTime }) => (StartTime ? -StartTime : 0),
49
- align: DataTable.RIGHT,
50
- render: ({ row }) => row.Uptime,
51
- },
52
- {
53
- name: STORAGE_NODES_COLUMNS_IDS.Missing,
54
- header: STORAGE_NODES_COLUMNS_TITLES.Missing,
55
- width: 100,
56
- align: DataTable.CENTER,
57
- defaultOrder: DataTable.DESCENDING,
58
- render: ({ row }) => row.Missing,
59
- },
60
- {
61
- name: STORAGE_NODES_COLUMNS_IDS.PDisks,
62
- header: STORAGE_NODES_COLUMNS_TITLES.PDisks,
63
- className: b('pdisks-column'),
64
- render: ({ row }) => {
65
- var _a;
66
- return (_jsx("div", { className: b('pdisks-wrapper'), children: (_a = row.PDisks) === null || _a === void 0 ? void 0 : _a.map((pDisk) => {
67
- var _a;
68
- const vDisks = (_a = row.VDisks) === null || _a === void 0 ? void 0 : _a.filter((vdisk) => vdisk.PDiskId === pDisk.PDiskId);
69
- return (_jsx("div", { className: b('pdisks-item'), children: _jsx(PDisk, { data: pDisk, vDisks: vDisks, viewContext: { groupId } }) }, pDisk.PDiskId));
70
- }) }));
71
- },
72
- align: DataTable.CENTER,
73
- sortable: false,
74
- width: 900,
75
- resizeable: false,
76
- },
32
+ getNodeIdColumn(),
33
+ getNodeNameColumn(),
34
+ getHostColumn({ getNodeRef, database }),
35
+ getDataCenterColumn(),
36
+ getRackColumn(),
37
+ getVersionColumn(),
38
+ getMemoryColumn(),
39
+ getCpuColumn(),
40
+ getDiskSpaceUsageColumn(),
41
+ getUptimeColumn(),
42
+ getMissingDisksColumn(),
43
+ getPDisksColumn({ viewContext }),
77
44
  ];
78
- return columns;
79
- };
80
- export const getPreparedStorageNodesColumns = (params) => {
81
- const rawColumns = getStorageNodesColumns(params);
82
- const sortableColumns = rawColumns.map((column) => ({
45
+ const sortableColumns = columns.map((column) => ({
83
46
  ...column,
84
47
  sortable: isSortableNodesProperty(column.name),
85
48
  }));
@@ -1 +1 @@
1
- {"version":3,"file":"columns.js","sourceRoot":"","sources":["../../../../../src/containers/Storage/StorageNodes/columns/columns.tsx"],"names":[],"mappings":";AAAA,OAAO,SAAS,MAAM,8BAA8B,CAAC;AAErD,OAAO,EAAC,eAAe,EAAC,MAAM,wDAAwD,CAAC;AACvF,OAAO,EAAC,EAAE,EAAC,MAAM,sBAAsB,CAAC;AACxC,OAAO,EAAC,sBAAsB,EAAC,MAAM,6BAA6B,CAAC;AACnE,OAAO,EAAC,uBAAuB,EAAC,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAC,KAAK,EAAC,MAAM,mBAAm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C,CAAC;wBAEF,OAAO,CACH,cAAK,SAAS,EAAE,CAAC,CAAC,aAAa,CAAC,YAC5B,KAAC,KAAK,IAAC,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,WAAW,EAAE,EAAC,OAAO,EAAC,GAAI,IAD3B,KAAK,CAAC,OAAO,CAE9C,CACT,CAAC;oBACN,CAAC,CAAC,GACA,CACT,CAAC;YACN,CAAC;YACD,KAAK,EAAE,SAAS,CAAC,MAAM;YACvB,QAAQ,EAAE,KAAK;YACf,KAAK,EAAE,GAAG;YACV,UAAU,EAAE,KAAK;SACpB;KACJ,CAAC;IAEF,OAAO,OAAO,CAAC;AACnB,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,8BAA8B,GAAG,CAAC,MAAoC,EAAE,EAAE;IACnF,MAAM,UAAU,GAAG,sBAAsB,CAAC,MAAM,CAAC,CAAC;IAElD,MAAM,eAAe,GAAG,UAAU,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;QAChD,GAAG,MAAM;QACT,QAAQ,EAAE,uBAAuB,CAAC,MAAM,CAAC,IAAI,CAAC;KACjD,CAAC,CAAC,CAAC;IAEJ,OAAO,eAAe,CAAC;AAC3B,CAAC,CAAC"}
1
+ {"version":3,"file":"columns.js","sourceRoot":"","sources":["../../../../../src/containers/Storage/StorageNodes/columns/columns.tsx"],"names":[],"mappings":";AAAA,OAAO,SAAS,MAAM,8BAA8B,CAAC;AAErD,OAAO,EACH,YAAY,EACZ,mBAAmB,EACnB,uBAAuB,EACvB,aAAa,EACb,eAAe,EACf,qBAAqB,EACrB,eAAe,EACf,iBAAiB,EACjB,aAAa,EACb,eAAe,EACf,gBAAgB,GACnB,MAAM,6CAA6C,CAAC;AAErD,OAAO,EAAC,EAAE,EAAC,MAAM,sBAAsB,CAAC;AACxC,OAAO,EAAC,uBAAuB,EAAC,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAC,KAAK,EAAC,MAAM,mBAAm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BAApB,oBAAoB,CAAE,UAAU,CAAC;IAEpD,MAAM,OAAO,GAAG;QACZ,eAAe,EAAuB;QACtC,iBAAiB,EAAuB;QACxC,aAAa,CAAsB,EAAC,UAAU,EAAE,QAAQ,EAAC,CAAC;QAC1D,mBAAmB,EAAuB;QAC1C,aAAa,EAAuB;QACpC,gBAAgB,EAAuB;QACvC,eAAe,EAAuB;QACtC,YAAY,EAAuB;QACnC,uBAAuB,EAAuB;QAC9C,eAAe,EAAuB;QACtC,qBAAqB,EAAuB;QAC5C,eAAe,CAAC,EAAC,WAAW,EAAC,CAAC;KACjC,CAAC;IAEF,MAAM,eAAe,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;QAC7C,GAAG,MAAM;QACT,QAAQ,EAAE,uBAAuB,CAAC,MAAM,CAAC,IAAI,CAAC;KACjD,CAAC,CAAC,CAAC;IAEJ,OAAO,eAAe,CAAC;AAC3B,CAAC,CAAC"}
@@ -5,29 +5,45 @@ import type { ValueOf } from '../../../../types/common';
5
5
  export declare const STORAGE_NODES_COLUMNS_WIDTH_LS_KEY = "storageNodesColumnsWidth";
6
6
  export declare const STORAGE_NODES_SELECTED_COLUMNS_LS_KEY = "storageNodesSelectedColumns";
7
7
  export declare const STORAGE_NODES_COLUMNS_IDS: {
8
+ readonly PDisks: "PDisks";
8
9
  readonly NodeId: "NodeId";
9
10
  readonly Host: "Host";
11
+ readonly NodeName: "NodeName";
10
12
  readonly DC: "DC";
11
13
  readonly Rack: "Rack";
12
14
  readonly Version: "Version";
13
15
  readonly Uptime: "Uptime";
14
- readonly PDisks: "PDisks";
15
- readonly Missing: "Missing";
16
+ readonly Memory: "Memory";
17
+ readonly CPU: "CPU";
18
+ readonly LoadAverage: "LoadAverage";
19
+ readonly Load: "Load";
16
20
  readonly DiskSpaceUsage: "DiskSpaceUsage";
21
+ readonly SharedCacheUsage: "SharedCacheUsage";
22
+ readonly TotalSessions: "TotalSessions";
23
+ readonly Missing: "Missing";
24
+ readonly Tablets: "Tablets";
17
25
  };
18
26
  type StorageNodesColumnId = ValueOf<typeof STORAGE_NODES_COLUMNS_IDS>;
19
27
  export declare const DEFAULT_STORAGE_NODES_COLUMNS: StorageNodesColumnId[];
20
28
  export declare const REQUIRED_STORAGE_NODES_COLUMNS: StorageNodesColumnId[];
21
29
  export declare const STORAGE_NODES_COLUMNS_TITLES: {
30
+ readonly PDisks: string;
22
31
  readonly NodeId: string;
23
32
  readonly Host: string;
33
+ readonly NodeName: string;
24
34
  readonly DC: string;
25
35
  readonly Rack: string;
26
36
  readonly Version: string;
27
37
  readonly Uptime: string;
28
- readonly PDisks: string;
29
- readonly Missing: string;
38
+ readonly Memory: string;
39
+ readonly CPU: string;
40
+ readonly LoadAverage: string;
41
+ readonly Load: string;
30
42
  readonly DiskSpaceUsage: string;
43
+ readonly SharedCacheUsage: string;
44
+ readonly TotalSessions: string;
45
+ readonly Missing: string;
46
+ readonly Tablets: string;
31
47
  };
32
48
  export declare const STORAGE_NODES_GROUP_BY_OPTIONS: SelectOption[];
33
49
  export declare const storageNodesGroupByParamSchema: z.ZodCatch<z.ZodType<NodesGroupByField | undefined, z.ZodTypeDef, NodesGroupByField | undefined>>;