ydb-embedded-ui 6.23.1 → 6.24.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (247) hide show
  1. package/dist/components/NodeHostWrapper/NodeHostWrapper.d.ts +6 -2
  2. package/dist/components/NodeHostWrapper/NodeHostWrapper.js.map +1 -1
  3. package/dist/components/PaginatedTable/PaginatedTable.d.ts +3 -2
  4. package/dist/components/PaginatedTable/PaginatedTable.js +15 -21
  5. package/dist/components/PaginatedTable/PaginatedTable.js.map +1 -1
  6. package/dist/components/PaginatedTable/TableChunk.d.ts +1 -2
  7. package/dist/components/PaginatedTable/TableChunk.js +5 -19
  8. package/dist/components/PaginatedTable/TableChunk.js.map +1 -1
  9. package/dist/components/PaginatedTable/useScrollBasedChunks.d.ts +9 -0
  10. package/dist/components/PaginatedTable/useScrollBasedChunks.js +35 -0
  11. package/dist/components/PaginatedTable/useScrollBasedChunks.js.map +1 -0
  12. package/dist/components/TabletsStatistic/TabletsStatistic.d.ts +2 -2
  13. package/dist/components/TabletsStatistic/TabletsStatistic.js +2 -2
  14. package/dist/components/TabletsStatistic/TabletsStatistic.js.map +1 -1
  15. package/dist/components/VDisk/VDisk.js +2 -21
  16. package/dist/components/VDisk/VDisk.js.map +1 -1
  17. package/dist/components/VDisk/VDisk.scss +2 -0
  18. package/dist/components/VDisk/VDiskWithDonorsStack.js +2 -2
  19. package/dist/components/VDisk/VDiskWithDonorsStack.js.map +1 -1
  20. package/dist/components/VDisk/utils.d.ts +2 -0
  21. package/dist/components/VDisk/utils.js +23 -0
  22. package/dist/components/VDisk/utils.js.map +1 -0
  23. package/dist/components/VDiskInfo/VDiskInfo.js +2 -2
  24. package/dist/components/VDiskInfo/VDiskInfo.js.map +1 -1
  25. package/dist/components/VDiskPopup/VDiskPopup.d.ts +2 -3
  26. package/dist/components/VDiskPopup/VDiskPopup.js +22 -3
  27. package/dist/components/VDiskPopup/VDiskPopup.js.map +1 -1
  28. package/dist/components/nodesColumns/columns.d.ts +55 -0
  29. package/dist/components/nodesColumns/columns.js +187 -0
  30. package/dist/components/nodesColumns/columns.js.map +1 -0
  31. package/dist/components/nodesColumns/constants.d.ts +39 -0
  32. package/dist/components/nodesColumns/constants.js +73 -0
  33. package/dist/components/nodesColumns/constants.js.map +1 -0
  34. package/dist/{containers/Nodes/columns → components/nodesColumns}/i18n/en.json +4 -3
  35. package/dist/components/nodesColumns/i18n/index.d.ts +2 -0
  36. package/dist/{containers/Nodes/columns → components/nodesColumns}/i18n/index.js +1 -1
  37. package/dist/components/nodesColumns/i18n/index.js.map +1 -0
  38. package/dist/components/nodesColumns/types.d.ts +8 -0
  39. package/dist/components/nodesColumns/types.js.map +1 -0
  40. package/dist/containers/AppWithClusters/ExtendedCluster/ExtendedCluster.js +8 -4
  41. package/dist/containers/AppWithClusters/ExtendedCluster/ExtendedCluster.js.map +1 -1
  42. package/dist/containers/Authentication/Authentication.js +12 -10
  43. package/dist/containers/Authentication/Authentication.js.map +1 -1
  44. package/dist/containers/Cluster/Cluster.js +1 -1
  45. package/dist/containers/Cluster/Cluster.js.map +1 -1
  46. package/dist/containers/Node/Node.js +1 -1
  47. package/dist/containers/Node/Node.js.map +1 -1
  48. package/dist/containers/Nodes/Nodes.js +1 -1
  49. package/dist/containers/Nodes/Nodes.js.map +1 -1
  50. package/dist/containers/Nodes/NodesWrapper.d.ts +2 -2
  51. package/dist/containers/Nodes/NodesWrapper.js +2 -2
  52. package/dist/containers/Nodes/NodesWrapper.js.map +1 -1
  53. package/dist/containers/Nodes/PaginatedNodes.d.ts +3 -2
  54. package/dist/containers/Nodes/PaginatedNodes.js +3 -3
  55. package/dist/containers/Nodes/PaginatedNodes.js.map +1 -1
  56. package/dist/containers/Nodes/columns/columns.d.ts +2 -7
  57. package/dist/containers/Nodes/columns/columns.js +13 -187
  58. package/dist/containers/Nodes/columns/columns.js.map +1 -1
  59. package/dist/containers/Nodes/columns/constants.d.ts +1 -38
  60. package/dist/containers/Nodes/columns/constants.js +0 -68
  61. package/dist/containers/Nodes/columns/constants.js.map +1 -1
  62. package/dist/containers/Nodes/columns/hooks.d.ts +3 -3
  63. package/dist/containers/Nodes/columns/hooks.js +2 -1
  64. package/dist/containers/Nodes/columns/hooks.js.map +1 -1
  65. package/dist/containers/PDiskPage/PDiskPage.js +2 -2
  66. package/dist/containers/PDiskPage/PDiskPage.js.map +1 -1
  67. package/dist/containers/Storage/Disks/Disks.d.ts +2 -2
  68. package/dist/containers/Storage/Disks/Disks.js +5 -6
  69. package/dist/containers/Storage/Disks/Disks.js.map +1 -1
  70. package/dist/containers/Storage/PDisk/PDisk.d.ts +2 -2
  71. package/dist/containers/Storage/PDisk/PDisk.js +3 -6
  72. package/dist/containers/Storage/PDisk/PDisk.js.map +1 -1
  73. package/dist/containers/Storage/PaginatedStorage.d.ts +4 -1
  74. package/dist/containers/Storage/PaginatedStorage.js +3 -2
  75. package/dist/containers/Storage/PaginatedStorage.js.map +1 -1
  76. package/dist/containers/Storage/PaginatedStorageGroups.js +5 -5
  77. package/dist/containers/Storage/PaginatedStorageGroups.js.map +1 -1
  78. package/dist/containers/Storage/PaginatedStorageNodes.js +7 -7
  79. package/dist/containers/Storage/PaginatedStorageNodes.js.map +1 -1
  80. package/dist/containers/Storage/Storage.d.ts +3 -1
  81. package/dist/containers/Storage/Storage.js +3 -3
  82. package/dist/containers/Storage/Storage.js.map +1 -1
  83. package/dist/containers/Storage/StorageControls/StorageControls.js +2 -2
  84. package/dist/containers/Storage/StorageGroups/PaginatedStorageGroupsTable.d.ts +3 -2
  85. package/dist/containers/Storage/StorageGroups/PaginatedStorageGroupsTable.js +2 -2
  86. package/dist/containers/Storage/StorageGroups/PaginatedStorageGroupsTable.js.map +1 -1
  87. package/dist/containers/Storage/StorageGroups/columns/StorageGroupsColumns.scss +10 -1
  88. package/dist/containers/Storage/StorageGroups/columns/columns.js +21 -16
  89. package/dist/containers/Storage/StorageGroups/columns/columns.js.map +1 -1
  90. package/dist/containers/Storage/StorageGroups/columns/constants.js +1 -1
  91. package/dist/containers/Storage/StorageGroups/columns/constants.js.map +1 -1
  92. package/dist/containers/Storage/StorageGroups/columns/hooks.d.ts +3 -2
  93. package/dist/containers/Storage/StorageGroups/columns/hooks.js +5 -5
  94. package/dist/containers/Storage/StorageGroups/columns/hooks.js.map +1 -1
  95. package/dist/containers/Storage/StorageGroups/columns/i18n/en.json +1 -1
  96. package/dist/containers/Storage/StorageGroups/columns/i18n/index.d.ts +1 -1
  97. package/dist/containers/Storage/StorageGroups/columns/types.d.ts +3 -2
  98. package/dist/containers/Storage/StorageNodes/PaginatedStorageNodesTable.d.ts +3 -2
  99. package/dist/containers/Storage/StorageNodes/PaginatedStorageNodesTable.js +2 -2
  100. package/dist/containers/Storage/StorageNodes/PaginatedStorageNodesTable.js.map +1 -1
  101. package/dist/containers/Storage/StorageNodes/columns/columns.d.ts +2 -38
  102. package/dist/containers/Storage/StorageNodes/columns/columns.js +34 -71
  103. package/dist/containers/Storage/StorageNodes/columns/columns.js.map +1 -1
  104. package/dist/containers/Storage/StorageNodes/columns/constants.d.ts +20 -4
  105. package/dist/containers/Storage/StorageNodes/columns/constants.js +4 -32
  106. package/dist/containers/Storage/StorageNodes/columns/constants.js.map +1 -1
  107. package/dist/containers/Storage/StorageNodes/columns/hooks.d.ts +2 -39
  108. package/dist/containers/Storage/StorageNodes/columns/hooks.js +4 -4
  109. package/dist/containers/Storage/StorageNodes/columns/hooks.js.map +1 -1
  110. package/dist/containers/Storage/StorageNodes/columns/i18n/en.json +0 -8
  111. package/dist/containers/Storage/StorageNodes/columns/i18n/index.d.ts +1 -1
  112. package/dist/containers/Storage/StorageNodes/columns/types.d.ts +5 -5
  113. package/dist/containers/Storage/StorageWrapper.d.ts +6 -3
  114. package/dist/containers/Storage/StorageWrapper.js +10 -3
  115. package/dist/containers/Storage/StorageWrapper.js.map +1 -1
  116. package/dist/containers/Storage/types.d.ts +6 -0
  117. package/dist/containers/Storage/types.js +2 -0
  118. package/dist/containers/Storage/types.js.map +1 -0
  119. package/dist/containers/Storage/utils/index.d.ts +4 -6
  120. package/dist/containers/Storage/utils/index.js +35 -9
  121. package/dist/containers/Storage/utils/index.js.map +1 -1
  122. package/dist/containers/StorageGroupPage/StorageGroupPage.js +2 -2
  123. package/dist/containers/StorageGroupPage/StorageGroupPage.js.map +1 -1
  124. package/dist/containers/Tablet/components/TabletStorageInfo/TabletStorageInfo.scss +2 -9
  125. package/dist/containers/Tenant/Diagnostics/Diagnostics.js +4 -4
  126. package/dist/containers/Tenant/Diagnostics/Diagnostics.js.map +1 -1
  127. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByCpu.d.ts +4 -0
  128. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByCpu.js +18 -3
  129. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByCpu.js.map +1 -1
  130. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByLoad.js +22 -3
  131. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByLoad.js.map +1 -1
  132. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopQueries.js +2 -1
  133. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopQueries.js.map +1 -1
  134. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopShards.js +2 -1
  135. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopShards.js.map +1 -1
  136. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TopNodesByMemory.js +23 -2
  137. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TopNodesByMemory.js.map +1 -1
  138. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopGroups.js +2 -6
  139. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopGroups.js.map +1 -1
  140. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopTables.js +2 -1
  141. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopTables.js.map +1 -1
  142. package/dist/containers/Tenant/Diagnostics/TenantOverview/i18n/en.json +2 -1
  143. package/dist/containers/Tenant/Diagnostics/TenantOverview/i18n/index.d.ts +1 -1
  144. package/dist/containers/Tenant/Diagnostics/TopQueries/RunningQueriesData.js +4 -2
  145. package/dist/containers/Tenant/Diagnostics/TopQueries/RunningQueriesData.js.map +1 -1
  146. package/dist/containers/Tenant/Diagnostics/TopQueries/TopQueriesData.js +2 -1
  147. package/dist/containers/Tenant/Diagnostics/TopQueries/TopQueriesData.js.map +1 -1
  148. package/dist/containers/Tenant/Diagnostics/TopShards/TopShards.js +2 -1
  149. package/dist/containers/Tenant/Diagnostics/TopShards/TopShards.js.map +1 -1
  150. package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.js +3 -4
  151. package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.js.map +1 -1
  152. package/dist/containers/Tenant/Query/Preview/Preview.js +3 -2
  153. package/dist/containers/Tenant/Query/Preview/Preview.js.map +1 -1
  154. package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.js +1 -4
  155. package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.js.map +1 -1
  156. package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.d.ts +4 -4
  157. package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.js +1 -1
  158. package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.js.map +1 -1
  159. package/dist/containers/Tenants/Tenants.js +10 -2
  160. package/dist/containers/Tenants/Tenants.js.map +1 -1
  161. package/dist/containers/UserSettings/i18n/en.json +0 -2
  162. package/dist/containers/UserSettings/i18n/index.d.ts +1 -1
  163. package/dist/containers/UserSettings/settings.d.ts +0 -1
  164. package/dist/containers/UserSettings/settings.js +2 -7
  165. package/dist/containers/UserSettings/settings.js.map +1 -1
  166. package/dist/containers/VDiskPage/VDiskPage.js +3 -4
  167. package/dist/containers/VDiskPage/VDiskPage.js.map +1 -1
  168. package/dist/services/api.d.ts +3 -4
  169. package/dist/services/api.js +1 -3
  170. package/dist/services/api.js.map +1 -1
  171. package/dist/services/settings.d.ts +1 -2
  172. package/dist/services/settings.js +1 -2
  173. package/dist/services/settings.js.map +1 -1
  174. package/dist/store/reducers/cluster/__test__/parseGroupsStatsQueryResponse.test.js +62 -40
  175. package/dist/store/reducers/cluster/__test__/parseGroupsStatsQueryResponse.test.js.map +1 -1
  176. package/dist/store/reducers/cluster/cluster.js +0 -1
  177. package/dist/store/reducers/cluster/cluster.js.map +1 -1
  178. package/dist/store/reducers/cluster/utils.d.ts +1 -1
  179. package/dist/store/reducers/cluster/utils.js +2 -1
  180. package/dist/store/reducers/cluster/utils.js.map +1 -1
  181. package/dist/store/reducers/executeQuery.d.ts +0 -2
  182. package/dist/store/reducers/executeQuery.js +1 -2
  183. package/dist/store/reducers/executeQuery.js.map +1 -1
  184. package/dist/store/reducers/executeTopQueries/executeTopQueries.d.ts +1 -1
  185. package/dist/store/reducers/executeTopQueries/executeTopQueries.js +4 -4
  186. package/dist/store/reducers/executeTopQueries/executeTopQueries.js.map +1 -1
  187. package/dist/store/reducers/nodes/types.d.ts +2 -7
  188. package/dist/store/reducers/nodes/utils.js +0 -6
  189. package/dist/store/reducers/nodes/utils.js.map +1 -1
  190. package/dist/store/reducers/preview.js +1 -1
  191. package/dist/store/reducers/preview.js.map +1 -1
  192. package/dist/store/reducers/shardsWorkload/shardsWorkload.js +0 -1
  193. package/dist/store/reducers/shardsWorkload/shardsWorkload.js.map +1 -1
  194. package/dist/store/reducers/storage/types.d.ts +6 -7
  195. package/dist/store/reducers/storage/utils.js +23 -9
  196. package/dist/store/reducers/storage/utils.js.map +1 -1
  197. package/dist/store/reducers/tenantOverview/executeTopTables/executeTopTables.js +0 -1
  198. package/dist/store/reducers/tenantOverview/executeTopTables/executeTopTables.js.map +1 -1
  199. package/dist/store/reducers/tenantOverview/topShards/tenantOverviewTopShards.js +0 -1
  200. package/dist/store/reducers/tenantOverview/topShards/tenantOverviewTopShards.js.map +1 -1
  201. package/dist/store/reducers/tenants/types.d.ts +1 -0
  202. package/dist/store/reducers/tenants/utils.js +4 -2
  203. package/dist/store/reducers/tenants/utils.js.map +1 -1
  204. package/dist/store/reducers/viewSchema/viewSchema.js +2 -2
  205. package/dist/store/reducers/viewSchema/viewSchema.js.map +1 -1
  206. package/dist/types/additionalProps.d.ts +1 -1
  207. package/dist/types/api/cluster.d.ts +2 -0
  208. package/dist/types/api/cluster.js +3 -1
  209. package/dist/types/api/cluster.js.map +1 -1
  210. package/dist/types/api/nodes.d.ts +3 -0
  211. package/dist/types/api/nodes.js.map +1 -1
  212. package/dist/types/api/query.d.ts +16 -30
  213. package/dist/types/api/storage.d.ts +2 -2
  214. package/dist/types/store/query.d.ts +0 -1
  215. package/dist/utils/constants.d.ts +0 -1
  216. package/dist/utils/constants.js +0 -2
  217. package/dist/utils/constants.js.map +1 -1
  218. package/dist/utils/disks/__test__/calculateVDiskSeverity.test.js +1 -2
  219. package/dist/utils/disks/__test__/calculateVDiskSeverity.test.js.map +1 -1
  220. package/dist/utils/disks/calculateVDiskSeverity.js +2 -3
  221. package/dist/utils/disks/calculateVDiskSeverity.js.map +1 -1
  222. package/dist/utils/disks/prepareDisks.js +3 -0
  223. package/dist/utils/disks/prepareDisks.js.map +1 -1
  224. package/dist/utils/disks/types.d.ts +1 -0
  225. package/dist/utils/nodes.d.ts +4 -2
  226. package/dist/utils/nodes.js +10 -1
  227. package/dist/utils/nodes.js.map +1 -1
  228. package/dist/utils/query.d.ts +5 -5
  229. package/dist/utils/query.js +7 -22
  230. package/dist/utils/query.js.map +1 -1
  231. package/dist/utils/query.test.js +221 -56
  232. package/dist/utils/query.test.js.map +1 -1
  233. package/dist/utils/storage.d.ts +1 -0
  234. package/dist/utils/storage.js +3 -0
  235. package/dist/utils/storage.js.map +1 -1
  236. package/package.json +1 -1
  237. package/dist/components/PaginatedTable/useIntersectionObserver.d.ts +0 -9
  238. package/dist/components/PaginatedTable/useIntersectionObserver.js +0 -28
  239. package/dist/components/PaginatedTable/useIntersectionObserver.js.map +0 -1
  240. package/dist/containers/Nodes/columns/i18n/index.d.ts +0 -2
  241. package/dist/containers/Nodes/columns/i18n/index.js.map +0 -1
  242. package/dist/containers/Nodes/columns/types.d.ts +0 -9
  243. package/dist/containers/Nodes/columns/types.js.map +0 -1
  244. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/utils.d.ts +0 -2
  245. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/utils.js +0 -7
  246. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/utils.js.map +0 -1
  247. /package/dist/{containers/Nodes/columns → components/nodesColumns}/types.js +0 -0
@@ -13,6 +13,7 @@ import { ResizeableDataTable } from '../../components/ResizeableDataTable/Resize
13
13
  import { Search } from '../../components/Search';
14
14
  import { TableWithControlsLayout } from '../../components/TableWithControlsLayout/TableWithControlsLayout';
15
15
  import { UptimeFilter } from '../../components/UptimeFIlter';
16
+ import { NODES_COLUMNS_WIDTH_LS_KEY } from '../../components/nodesColumns/constants';
16
17
  import { nodesApi } from '../../store/reducers/nodes/nodes';
17
18
  import { filterNodes } from '../../store/reducers/nodes/selectors';
18
19
  import { ProblemFilterValues, changeFilter, selectProblemFilter, } from '../../store/reducers/settings/settings';
@@ -20,7 +21,6 @@ import { cn } from '../../utils/cn';
20
21
  import { DEFAULT_TABLE_SETTINGS } from '../../utils/constants';
21
22
  import { useAutoRefreshInterval, useTableSort, useTypedDispatch, useTypedSelector, } from '../../utils/hooks';
22
23
  import { NodesUptimeFilterValues, isUnavailableNode, nodesUptimeFilterValuesSchema, } from '../../utils/nodes';
23
- import { NODES_COLUMNS_WIDTH_LS_KEY } from './columns/constants';
24
24
  import { useNodesSelectedColumns } from './columns/hooks';
25
25
  import i18n from './i18n';
26
26
  import './Nodes.scss';
@@ -1 +1 @@
1
- {"version":3,"file":"Nodes.js","sourceRoot":"","sources":["../../../src/containers/Nodes/Nodes.tsx"],"names":[],"mappings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AAC,eAAe,CAAC,EACvC,YAAY,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM,EAAE,EAAC,WAAW,EAAE,iBAAiB,CAAC,GAAG,CAAC,EAAC,CAAC,GACzE,CACL,CAAC;IACN,CAAC,CAAC;IAEF,IAAI,aAAa,CAAC,KAAK,CAAC,EAAE,CAAC;QACvB,OAAO,KAAC,YAAY,KAAG,CAAC;IAC5B,CAAC;IAED,OAAO,CACH,MAAC,uBAAuB,eACpB,KAAC,uBAAuB,CAAC,QAAQ,cAAE,cAAc,EAAE,GAAoC,EACtF,KAAK,CAAC,CAAC,CAAC,KAAC,aAAa,IAAC,KAAK,EAAE,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,EAC/C,KAAC,uBAAuB,CAAC,KAAK,IAAC,OAAO,EAAE,SAAS,YAC5C,IAAI,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC,CAAC,CAAC,IAAI,GACA,IACV,CAC7B,CAAC;AACN,CAAC,CAAC"}
@@ -2,8 +2,8 @@ import type { AdditionalNodesProps } from '../../types/additionalProps';
2
2
  interface NodesWrapperProps {
3
3
  path?: string;
4
4
  database?: string;
5
- parentContainer?: Element | null;
5
+ parentRef?: React.RefObject<HTMLElement>;
6
6
  additionalNodesProps?: AdditionalNodesProps;
7
7
  }
8
- export declare const NodesWrapper: ({ parentContainer, ...props }: NodesWrapperProps) => import("react/jsx-runtime").JSX.Element;
8
+ export declare const NodesWrapper: ({ parentRef, ...props }: NodesWrapperProps) => import("react/jsx-runtime").JSX.Element;
9
9
  export {};
@@ -3,10 +3,10 @@ import { USE_PAGINATED_TABLES_KEY } from '../../utils/constants';
3
3
  import { useSetting } from '../../utils/hooks';
4
4
  import { Nodes } from './Nodes';
5
5
  import { PaginatedNodes } from './PaginatedNodes';
6
- export const NodesWrapper = ({ parentContainer, ...props }) => {
6
+ export const NodesWrapper = ({ parentRef, ...props }) => {
7
7
  const [usePaginatedTables] = useSetting(USE_PAGINATED_TABLES_KEY);
8
8
  if (usePaginatedTables) {
9
- return _jsx(PaginatedNodes, { parentContainer: parentContainer, ...props });
9
+ return _jsx(PaginatedNodes, { parentRef: parentRef, ...props });
10
10
  }
11
11
  return _jsx(Nodes, { ...props });
12
12
  };
@@ -1 +1 @@
1
- {"version":3,"file":"NodesWrapper.js","sourceRoot":"","sources":["../../../src/containers/Nodes/NodesWrapper.tsx"],"names":[],"mappings":";AACA,OAAO,EAAC,wBAAwB,EAAC,MAAM,uBAAuB,CAAC;AAC/D,OAAO,EAAC,UAAU,EAAC,MAAM,mBAAmB,CAAC;AAE7C,OAAO,EAAC,KAAK,EAAC,MAAM,SAAS,CAAC;AAC9B,OAAO,EAAC,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAShD,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,EAAC,eAAe,EAAE,GAAG,KAAK,EAAoB,EAAE,EAAE;IAC3E,MAAM,CAAC,kBAAkB,CAAC,GAAG,UAAU,CAAU,wBAAwB,CAAC,CAAC;IAE3E,IAAI,kBAAkB,EAAE,CAAC;QACrB,OAAO,KAAC,cAAc,IAAC,eAAe,EAAE,eAAe,KAAM,KAAK,GAAI,CAAC;IAC3E,CAAC;IAED,OAAO,KAAC,KAAK,OAAK,KAAK,GAAI,CAAC;AAChC,CAAC,CAAC"}
1
+ {"version":3,"file":"NodesWrapper.js","sourceRoot":"","sources":["../../../src/containers/Nodes/NodesWrapper.tsx"],"names":[],"mappings":";AACA,OAAO,EAAC,wBAAwB,EAAC,MAAM,uBAAuB,CAAC;AAC/D,OAAO,EAAC,UAAU,EAAC,MAAM,mBAAmB,CAAC;AAE7C,OAAO,EAAC,KAAK,EAAC,MAAM,SAAS,CAAC;AAC9B,OAAO,EAAC,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAShD,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,EAAC,SAAS,EAAE,GAAG,KAAK,EAAoB,EAAE,EAAE;IACrE,MAAM,CAAC,kBAAkB,CAAC,GAAG,UAAU,CAAU,wBAAwB,CAAC,CAAC;IAE3E,IAAI,kBAAkB,EAAE,CAAC;QACrB,OAAO,KAAC,cAAc,IAAC,SAAS,EAAE,SAAS,KAAM,KAAK,GAAI,CAAC;IAC/D,CAAC;IAED,OAAO,KAAC,KAAK,OAAK,KAAK,GAAI,CAAC;AAChC,CAAC,CAAC"}
@@ -1,10 +1,11 @@
1
+ import React from 'react';
1
2
  import type { AdditionalNodesProps } from '../../types/additionalProps';
2
3
  import './Nodes.scss';
3
4
  interface NodesProps {
4
5
  path?: string;
5
6
  database?: string;
6
- parentContainer?: Element | null;
7
+ parentRef?: React.RefObject<HTMLElement>;
7
8
  additionalNodesProps?: AdditionalNodesProps;
8
9
  }
9
- export declare const PaginatedNodes: ({ path, database, parentContainer, additionalNodesProps, }: NodesProps) => import("react/jsx-runtime").JSX.Element;
10
+ export declare const PaginatedNodes: ({ path, database, parentRef, additionalNodesProps }: NodesProps) => import("react/jsx-runtime").JSX.Element;
10
11
  export {};
@@ -10,17 +10,17 @@ import { ResizeablePaginatedTable } from '../../components/PaginatedTable';
10
10
  import { ProblemFilter } from '../../components/ProblemFilter';
11
11
  import { Search } from '../../components/Search';
12
12
  import { UptimeFilter } from '../../components/UptimeFIlter';
13
+ import { NODES_COLUMNS_WIDTH_LS_KEY } from '../../components/nodesColumns/constants';
13
14
  import { ProblemFilterValues, changeFilter, selectProblemFilter, } from '../../store/reducers/settings/settings';
14
15
  import { cn } from '../../utils/cn';
15
16
  import { useTypedDispatch, useTypedSelector } from '../../utils/hooks';
16
17
  import { NodesUptimeFilterValues, isUnavailableNode, nodesUptimeFilterValuesSchema, } from '../../utils/nodes';
17
- import { NODES_COLUMNS_WIDTH_LS_KEY } from './columns/constants';
18
18
  import { useNodesSelectedColumns } from './columns/hooks';
19
19
  import { getNodes } from './getNodes';
20
20
  import i18n from './i18n';
21
21
  import './Nodes.scss';
22
22
  const b = cn('ydb-nodes');
23
- export const PaginatedNodes = ({ path, database, parentContainer, additionalNodesProps, }) => {
23
+ export const PaginatedNodes = ({ path, database, parentRef, additionalNodesProps }) => {
24
24
  var _a;
25
25
  const [queryParams, setQueryParams] = useQueryParams({
26
26
  uptimeFilter: StringParam,
@@ -65,6 +65,6 @@ export const PaginatedNodes = ({ path, database, parentContainer, additionalNode
65
65
  }
66
66
  return _jsx(ResponseError, { error: error });
67
67
  };
68
- return (_jsx(ResizeablePaginatedTable, { columnsWidthLSKey: NODES_COLUMNS_WIDTH_LS_KEY, parentContainer: parentContainer, columns: columnsToShow, fetchData: getNodes, limit: 50, renderControls: renderControls, renderErrorMessage: renderErrorMessage, renderEmptyDataMessage: renderEmptyDataMessage, getRowClassName: getRowClassName, filters: tableFilters, tableName: "nodes" }));
68
+ return (_jsx(ResizeablePaginatedTable, { columnsWidthLSKey: NODES_COLUMNS_WIDTH_LS_KEY, parentRef: parentRef, columns: columnsToShow, fetchData: getNodes, limit: 50, renderControls: renderControls, renderErrorMessage: renderErrorMessage, renderEmptyDataMessage: renderEmptyDataMessage, getRowClassName: getRowClassName, filters: tableFilters, tableName: "nodes" }));
69
69
  };
70
70
  //# sourceMappingURL=PaginatedNodes.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"PaginatedNodes.js","sourceRoot":"","sources":["../../../src/containers/Nodes/PaginatedNodes.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,gBAAgB,EAAC,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAC,WAAW,EAAE,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAE7D,OAAO,EAAC,aAAa,EAAC,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAC,YAAY,EAAC,MAAM,6BAA6B,CAAC;AACzD,OAAO,EAAC,aAAa,EAAC,MAAM,uCAAuC,CAAC;AACpE,OAAO,EAAC,YAAY,EAAC,MAAM,+BAA+B,CAAC;AAC3D,OAAO,EAAC,wBAAwB,EAAC,MAAM,iCAAiC,C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,CAAC;YACC,OAAO,KAAC,YAAY,IAAC,IAAI,EAAC,UAAU,EAAC,KAAK,EAAC,KAAK,GAAG,CAAC;QACxD,CAAC;QAED,OAAO,IAAI,CAAC,eAAe,CAAC,CAAC;IACjC,CAAC,CAAC;IAEF,MAAM,kBAAkB,GAAuB,CAAC,KAAK,EAAE,EAAE;QACrD,IAAI,KAAK,IAAI,KAAK,CAAC,MAAM,KAAK,GAAG,EAAE,CAAC;YAChC,OAAO,KAAC,YAAY,IAAC,QAAQ,EAAC,MAAM,GAAG,CAAC;QAC5C,CAAC;QAED,OAAO,KAAC,aAAa,IAAC,KAAK,EAAE,KAAK,GAAI,CAAC;IAC3C,CAAC,CAAC;IAEF,OAAO,CACH,KAAC,wBAAwB,IACrB,iBAAiB,EAAE,0BAA0B,EAC7C,SAAS,EAAE,SAAS,EACpB,OAAO,EAAE,aAAa,EACtB,SAAS,EAAE,QAAQ,EACnB,KAAK,EAAE,EAAE,EACT,cAAc,EAAE,cAAc,EAC9B,kBAAkB,EAAE,kBAAkB,EACtC,sBAAsB,EAAE,sBAAsB,EAC9C,eAAe,EAAE,eAAe,EAChC,OAAO,EAAE,YAAY,EACrB,SAAS,EAAC,OAAO,GACnB,CACL,CAAC;AACN,CAAC,CAAC"}
@@ -1,8 +1,3 @@
1
- import type { Column as DataTableColumn } from '@gravity-ui/react-data-table';
1
+ import type { Column, GetNodesColumnsParams } from '../../../components/nodesColumns/types';
2
2
  import type { NodesPreparedEntity } from '../../../store/reducers/nodes/types';
3
- import type { GetNodeRefFunc } from '../../../types/additionalProps';
4
- import type { GetNodesColumnsProps, NodesColumn } from './types';
5
- export declare function getNodesColumns({ database, getNodeRef }: GetNodesColumnsProps): NodesColumn[];
6
- export declare function getTopNodesByLoadColumns(getNodeRef?: GetNodeRefFunc): DataTableColumn<NodesPreparedEntity>[];
7
- export declare function getTopNodesByCpuColumns(getNodeRef?: GetNodeRefFunc): DataTableColumn<NodesPreparedEntity>[];
8
- export declare function getTopNodesByMemoryColumns({ database, getNodeRef, }: GetNodesColumnsProps): NodesColumn[];
3
+ export declare function getNodesColumns(params: GetNodesColumnsParams): Column<NodesPreparedEntity>[];
@@ -1,195 +1,21 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import DataTable from '@gravity-ui/react-data-table';
3
- import { CellWithPopover } from '../../../components/CellWithPopover/CellWithPopover';
4
- import { NodeHostWrapper } from '../../../components/NodeHostWrapper/NodeHostWrapper';
5
- import { PoolsGraph } from '../../../components/PoolsGraph/PoolsGraph';
6
- import { ProgressViewer } from '../../../components/ProgressViewer/ProgressViewer';
7
- import { TabletsStatistic } from '../../../components/TabletsStatistic';
8
- import { UsageLabel } from '../../../components/UsageLabel/UsageLabel';
9
- import { getLoadSeverityForNode } from '../../../store/reducers/nodes/utils';
10
- import { EMPTY_DATA_PLACEHOLDER } from '../../../utils/constants';
11
- import { formatStorageValuesToGb } from '../../../utils/dataFormatters/dataFormatters';
1
+ import { getCpuColumn, getDataCenterColumn, getHostColumn, getLoadAverageColumn, getMemoryColumn, getNodeIdColumn, getNodeNameColumn, getRackColumn, getTabletsColumn, getUptimeColumn, getVersionColumn, } from '../../../components/nodesColumns/columns';
12
2
  import { isSortableNodesProperty } from '../../../utils/nodes';
13
- import { NODES_COLUMNS_IDS, NODES_COLUMNS_TITLES } from './constants';
14
- const nodeIdColumn = {
15
- name: NODES_COLUMNS_IDS.NodeId,
16
- header: '#',
17
- width: 80,
18
- render: ({ row }) => row.NodeId,
19
- align: DataTable.RIGHT,
20
- sortable: false,
21
- };
22
- const getHostColumn = (getNodeRef, database) => ({
23
- name: NODES_COLUMNS_IDS.Host,
24
- header: NODES_COLUMNS_TITLES.Host,
25
- render: ({ row }) => {
26
- return _jsx(NodeHostWrapper, { node: row, getNodeRef: getNodeRef, database: database });
27
- },
28
- width: 350,
29
- align: DataTable.LEFT,
30
- sortable: false,
31
- });
32
- const nodeNameColumn = {
33
- name: NODES_COLUMNS_IDS.NodeName,
34
- header: NODES_COLUMNS_TITLES.NodeName,
35
- align: DataTable.LEFT,
36
- render: ({ row }) => row.NodeName || EMPTY_DATA_PLACEHOLDER,
37
- width: 200,
38
- };
39
- const getHostColumnWithUndefinedWidth = (getNodeRef) => {
40
- return { ...getHostColumn(getNodeRef), width: undefined };
41
- };
42
- const dataCenterColumn = {
43
- name: NODES_COLUMNS_IDS.DC,
44
- header: NODES_COLUMNS_TITLES.DC,
45
- align: DataTable.LEFT,
46
- render: ({ row }) => row.DC || EMPTY_DATA_PLACEHOLDER,
47
- width: 60,
48
- };
49
- const rackColumn = {
50
- name: NODES_COLUMNS_IDS.Rack,
51
- header: NODES_COLUMNS_TITLES.Rack,
52
- align: DataTable.LEFT,
53
- render: ({ row }) => (row.Rack ? row.Rack : '—'),
54
- width: 80,
55
- };
56
- const versionColumn = {
57
- name: NODES_COLUMNS_IDS.Version,
58
- header: NODES_COLUMNS_TITLES.Version,
59
- width: 200,
60
- align: DataTable.LEFT,
61
- render: ({ row }) => {
62
- return _jsx(CellWithPopover, { content: row.Version, children: row.Version });
63
- },
64
- sortable: false,
65
- };
66
- const uptimeColumn = {
67
- name: NODES_COLUMNS_IDS.Uptime,
68
- header: NODES_COLUMNS_TITLES.Uptime,
69
- sortAccessor: ({ StartTime }) => StartTime && -StartTime,
70
- render: ({ row }) => row.Uptime,
71
- align: DataTable.RIGHT,
72
- width: 110,
73
- sortable: false,
74
- };
75
- const memoryColumn = {
76
- name: NODES_COLUMNS_IDS.Memory,
77
- header: NODES_COLUMNS_TITLES.Memory,
78
- sortAccessor: ({ MemoryUsed = 0 }) => Number(MemoryUsed),
79
- defaultOrder: DataTable.DESCENDING,
80
- render: ({ row }) => (_jsx(ProgressViewer, { value: row.MemoryUsed, capacity: row.MemoryLimit, formatValues: formatStorageValuesToGb, colorizeProgress: true })),
81
- align: DataTable.RIGHT,
82
- width: 120,
83
- };
84
- const cpuColumn = {
85
- name: NODES_COLUMNS_IDS.CPU,
86
- header: NODES_COLUMNS_TITLES.CPU,
87
- sortAccessor: ({ PoolStats = [] }) => Math.max(...PoolStats.map(({ Usage }) => Number(Usage))),
88
- defaultOrder: DataTable.DESCENDING,
89
- render: ({ row }) => (row.PoolStats ? _jsx(PoolsGraph, { pools: row.PoolStats }) : '—'),
90
- align: DataTable.LEFT,
91
- width: 80,
92
- resizeMinWidth: 60,
93
- sortable: false,
94
- };
95
- const loadAverageColumn = {
96
- name: NODES_COLUMNS_IDS.LoadAverage,
97
- header: NODES_COLUMNS_TITLES.LoadAverage,
98
- sortAccessor: ({ LoadAveragePercents = [] }) => LoadAveragePercents[0],
99
- defaultOrder: DataTable.DESCENDING,
100
- render: ({ row }) => (_jsx(ProgressViewer, { value: row.LoadAveragePercents && row.LoadAveragePercents.length > 0
101
- ? row.LoadAveragePercents[0]
102
- : undefined, percents: true, colorizeProgress: true, capacity: 100 })),
103
- align: DataTable.LEFT,
104
- width: 140,
105
- resizeMinWidth: 140,
106
- sortable: false,
107
- };
108
- const getTabletsColumn = (tabletsPath) => ({
109
- name: NODES_COLUMNS_IDS.Tablets,
110
- header: NODES_COLUMNS_TITLES.Tablets,
111
- width: 500,
112
- resizeMinWidth: 500,
113
- render: ({ row }) => {
114
- return row.Tablets ? (_jsx(TabletsStatistic, { path: tabletsPath !== null && tabletsPath !== void 0 ? tabletsPath : row.TenantName, nodeId: row.NodeId, tablets: row.Tablets })) : ('—');
115
- },
116
- align: DataTable.LEFT,
117
- sortable: false,
118
- });
119
- const topNodesLoadAverageColumn = {
120
- name: NODES_COLUMNS_IDS.TopNodesLoadAverage,
121
- header: NODES_COLUMNS_TITLES.TopNodesLoadAverage,
122
- render: ({ row }) => row.LoadAveragePercents && row.LoadAveragePercents.length > 0 ? (_jsx(UsageLabel, { value: row.LoadAveragePercents[0].toFixed(), theme: getLoadSeverityForNode(row.LoadAveragePercents[0]) })) : ('—'),
123
- align: DataTable.LEFT,
124
- width: 80,
125
- resizeMinWidth: 70,
126
- sortable: false,
127
- };
128
- const topNodesMemoryColumn = {
129
- name: NODES_COLUMNS_IDS.TopNodesMemory,
130
- header: NODES_COLUMNS_TITLES.TopNodesMemory,
131
- render: ({ row }) => (_jsx(ProgressViewer, { value: row.MemoryUsed, capacity: row.MemoryLimit, formatValues: formatStorageValuesToGb, colorizeProgress: true })),
132
- align: DataTable.LEFT,
133
- width: 140,
134
- resizeMinWidth: 140,
135
- sortable: false,
136
- };
137
- const sharedCacheUsageColumn = {
138
- name: NODES_COLUMNS_IDS.SharedCacheUsage,
139
- header: NODES_COLUMNS_TITLES.SharedCacheUsage,
140
- render: ({ row }) => (_jsx(ProgressViewer, { value: row.SharedCacheUsed, capacity: row.SharedCacheLimit, formatValues: formatStorageValuesToGb, colorizeProgress: true })),
141
- align: DataTable.LEFT,
142
- width: 140,
143
- resizeMinWidth: 140,
144
- sortable: false,
145
- };
146
- const sessionsColumn = {
147
- name: NODES_COLUMNS_IDS.TotalSessions,
148
- header: NODES_COLUMNS_TITLES.TotalSessions,
149
- render: ({ row }) => { var _a; return (_a = row.TotalSessions) !== null && _a !== void 0 ? _a : '—'; },
150
- align: DataTable.RIGHT,
151
- width: 100,
152
- sortable: false,
153
- };
154
- export function getNodesColumns({ database, getNodeRef }) {
3
+ export function getNodesColumns(params) {
155
4
  const columns = [
156
- nodeIdColumn,
157
- getHostColumn(getNodeRef, database),
158
- nodeNameColumn,
159
- dataCenterColumn,
160
- rackColumn,
161
- versionColumn,
162
- uptimeColumn,
163
- memoryColumn,
164
- cpuColumn,
165
- loadAverageColumn,
166
- getTabletsColumn(database),
5
+ getNodeIdColumn(),
6
+ getHostColumn(params),
7
+ getNodeNameColumn(),
8
+ getDataCenterColumn(),
9
+ getRackColumn(),
10
+ getVersionColumn(),
11
+ getUptimeColumn(),
12
+ getMemoryColumn(),
13
+ getCpuColumn(),
14
+ getLoadAverageColumn(),
15
+ getTabletsColumn(params),
167
16
  ];
168
17
  return columns.map((column) => {
169
18
  return { ...column, sortable: isSortableNodesProperty(column.name) };
170
19
  });
171
20
  }
172
- export function getTopNodesByLoadColumns(getNodeRef) {
173
- return [
174
- topNodesLoadAverageColumn,
175
- nodeIdColumn,
176
- getHostColumnWithUndefinedWidth(getNodeRef),
177
- versionColumn,
178
- ];
179
- }
180
- export function getTopNodesByCpuColumns(getNodeRef) {
181
- return [cpuColumn, nodeIdColumn, getHostColumnWithUndefinedWidth(getNodeRef)];
182
- }
183
- export function getTopNodesByMemoryColumns({ database, getNodeRef, }) {
184
- return [
185
- nodeIdColumn,
186
- getHostColumn(getNodeRef, database),
187
- uptimeColumn,
188
- topNodesLoadAverageColumn,
189
- topNodesMemoryColumn,
190
- sharedCacheUsageColumn,
191
- sessionsColumn,
192
- getTabletsColumn(database),
193
- ];
194
- }
195
21
  //# sourceMappingURL=columns.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"columns.js","sourceRoot":"","sources":["../../../../src/containers/Nodes/columns/columns.tsx"],"names":[],"mappings":";AAAA,OAAO,SAAS,MAAM,8BAA8B,CAAC;AAGrD,OAAO,EAAC,eAAe,EAAC,MAAM,qDAAqD,CAAC;AACpF,OAAO,EAAC,eAAe,EAAC,MAAM,qDAAqD,CAAC;AACpF,OAAO,EAAC,UAAU,EAAC,MAAM,2CAA2C,CAAC;AACrE,OAAO,EAAC,cAAc,EAAC,MAAM,mDAAmD,CAAC;AACjF,OAAO,EAAC,gBAAgB,EAAC,MAAM,sCAAsC,CAAC;AACtE,OAAO,EAAC,UAAU,EAAC,MAAM,2CAA2C,CAAC;AAErE,OAAO,EAAC,sBAAsB,EAAC,MAAM,qCAAqC,CAAC;AAE3E,OAAO,EAAC,sBAAsB,EAAC,MAAM,0BAA0B,CAAC;AAChE,OAAO,EAAC,uBAAuB,EAAC,MAAM,8CAA8C,CAAC;AACrF,OAAO,EAAC,uBAAuB,EAAC,MAAM,sBAAsB,CAAC;AAE7D,OAAO,EAAC,iBAAiB,EAAE,oBAAoB,EAAC,MAAM,aAAa,CAAC;AAGpE,MAAM,YAAY,GAAgB;IAC9B,IAAI,EAAE,iBAAiB,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AAC;AAClF,CAAC;AAED,MAAM,UAAU,0BAA0B,CAAC,EACvC,QAAQ,EACR,UAAU,GACS;IACnB,OAAO;QACH,YAAY;QACZ,aAAa,CAAC,UAAU,EAAE,QAAQ,CAAC;QACnC,YAAY;QACZ,yBAAyB;QACzB,oBAAoB;QACpB,sBAAsB;QACtB,cAAc;QACd,gBAAgB,CAAC,QAAQ,CAAC;KAC7B,CAAC;AACN,CAAC"}
1
+ {"version":3,"file":"columns.js","sourceRoot":"","sources":["../../../../src/containers/Nodes/columns/columns.tsx"],"names":[],"mappings":"AAAA,OAAO,EACH,YAAY,EACZ,mBAAmB,EACnB,aAAa,EACb,oBAAoB,EACpB,eAAe,EACf,eAAe,EACf,iBAAiB,EACjB,aAAa,EACb,gBAAgB,EAChB,eAAe,EACf,gBAAgB,GACnB,MAAM,0CAA0C,CAAC;AAGlD,OAAO,EAAC,uBAAuB,EAAC,MAAM,sBAAsB,CAAC;AAE7D,MAAM,UAAU,eAAe,CAAC,MAA6B;IACzD,MAAM,OAAO,GAAG;QACZ,eAAe,EAAuB;QACtC,aAAa,CAAsB,MAAM,CAAC;QAC1C,iBAAiB,EAAuB;QACxC,mBAAmB,EAAuB;QAC1C,aAAa,EAAuB;QACpC,gBAAgB,EAAuB;QACvC,eAAe,EAAuB;QACtC,eAAe,EAAuB;QACtC,YAAY,EAAuB;QACnC,oBAAoB,EAAuB;QAC3C,gBAAgB,CAAsB,MAAM,CAAC;KAChD,CAAC;IAEF,OAAO,OAAO,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE;QAC1B,OAAO,EAAC,GAAG,MAAM,EAAE,QAAQ,EAAE,uBAAuB,CAAC,MAAM,CAAC,IAAI,CAAC,EAAC,CAAC;IACvE,CAAC,CAAC,CAAC;AACP,CAAC"}
@@ -1,41 +1,4 @@
1
- import type { ValueOf } from '../../../types/common';
2
- export declare const NODES_COLUMNS_WIDTH_LS_KEY = "nodesTableColumnsWidth";
1
+ import type { NodesColumnId } from '../../../components/nodesColumns/constants';
3
2
  export declare const NODES_TABLE_SELECTED_COLUMNS_LS_KEY = "nodesTableSelectedColumns";
4
- export declare const NODES_COLUMNS_IDS: {
5
- readonly NodeId: "NodeId";
6
- readonly Host: "Host";
7
- readonly NodeName: "NodeName";
8
- readonly DC: "DC";
9
- readonly Rack: "Rack";
10
- readonly Version: "Version";
11
- readonly Uptime: "Uptime";
12
- readonly Memory: "Memory";
13
- readonly CPU: "CPU";
14
- readonly LoadAverage: "LoadAverage";
15
- readonly Tablets: "Tablets";
16
- readonly TopNodesLoadAverage: "TopNodesLoadAverage";
17
- readonly TopNodesMemory: "TopNodesMemory";
18
- readonly SharedCacheUsage: "SharedCacheUsage";
19
- readonly TotalSessions: "TotalSessions";
20
- };
21
- type NodesColumnId = ValueOf<typeof NODES_COLUMNS_IDS>;
22
3
  export declare const DEFAULT_NODES_COLUMNS: NodesColumnId[];
23
4
  export declare const REQUIRED_NODES_COLUMNS: NodesColumnId[];
24
- export declare const NODES_COLUMNS_TITLES: {
25
- readonly NodeId: string;
26
- readonly Host: string;
27
- readonly NodeName: string;
28
- readonly DC: string;
29
- readonly Rack: string;
30
- readonly Version: string;
31
- readonly Uptime: string;
32
- readonly Memory: string;
33
- readonly CPU: string;
34
- readonly LoadAverage: string;
35
- readonly Tablets: string;
36
- readonly TopNodesLoadAverage: string;
37
- readonly TopNodesMemory: string;
38
- readonly SharedCacheUsage: string;
39
- readonly TotalSessions: string;
40
- };
41
- export {};
@@ -1,23 +1,4 @@
1
- import i18n from './i18n';
2
- export const NODES_COLUMNS_WIDTH_LS_KEY = 'nodesTableColumnsWidth';
3
1
  export const NODES_TABLE_SELECTED_COLUMNS_LS_KEY = 'nodesTableSelectedColumns';
4
- export const NODES_COLUMNS_IDS = {
5
- NodeId: 'NodeId',
6
- Host: 'Host',
7
- NodeName: 'NodeName',
8
- DC: 'DC',
9
- Rack: 'Rack',
10
- Version: 'Version',
11
- Uptime: 'Uptime',
12
- Memory: 'Memory',
13
- CPU: 'CPU',
14
- LoadAverage: 'LoadAverage',
15
- Tablets: 'Tablets',
16
- TopNodesLoadAverage: 'TopNodesLoadAverage',
17
- TopNodesMemory: 'TopNodesMemory',
18
- SharedCacheUsage: 'SharedCacheUsage',
19
- TotalSessions: 'TotalSessions',
20
- };
21
2
  export const DEFAULT_NODES_COLUMNS = [
22
3
  'NodeId',
23
4
  'Host',
@@ -31,53 +12,4 @@ export const DEFAULT_NODES_COLUMNS = [
31
12
  'Tablets',
32
13
  ];
33
14
  export const REQUIRED_NODES_COLUMNS = ['NodeId'];
34
- // This code is running when module is initialized and correct language may not be set yet
35
- // get functions guarantee that i18n fields will be inited on render with current render language
36
- export const NODES_COLUMNS_TITLES = {
37
- get NodeId() {
38
- return i18n('node-id');
39
- },
40
- get Host() {
41
- return i18n('host');
42
- },
43
- get NodeName() {
44
- return i18n('node-name');
45
- },
46
- get DC() {
47
- return i18n('dc');
48
- },
49
- get Rack() {
50
- return i18n('rack');
51
- },
52
- get Version() {
53
- return i18n('version');
54
- },
55
- get Uptime() {
56
- return i18n('uptime');
57
- },
58
- get Memory() {
59
- return i18n('memory');
60
- },
61
- get CPU() {
62
- return i18n('cpu');
63
- },
64
- get LoadAverage() {
65
- return i18n('load-average');
66
- },
67
- get Tablets() {
68
- return i18n('tablets');
69
- },
70
- get TopNodesLoadAverage() {
71
- return i18n('load');
72
- },
73
- get TopNodesMemory() {
74
- return i18n('process');
75
- },
76
- get SharedCacheUsage() {
77
- return i18n('caches');
78
- },
79
- get TotalSessions() {
80
- return i18n('sessions');
81
- },
82
- };
83
15
  //# sourceMappingURL=constants.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../src/containers/Nodes/columns/constants.ts"],"names":[],"mappings":"AAEA,OAAO,IAAI,MAAM,QAAQ,CAAC;AAE1B,MAAM,CAAC,MAAM,0BAA0B,GAAG,wBAAwB,CAAC;AACnE,MAAM,CAAC,MAAM,mCAAmC,GAAG,2BAA2B,CAAC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ACD,IAAI,MAAM;QACN,OAAO,IAAI,CAAC,QAAQ,CAAC,CAAC;IAC1B,CAAC;IACD,IAAI,GAAG;QACH,OAAO,IAAI,CAAC,KAAK,CAAC,CAAC;IACvB,CAAC;IACD,IAAI,WAAW;QACX,OAAO,IAAI,CAAC,cAAc,CAAC,CAAC;IAChC,CAAC;IACD,IAAI,OAAO;QACP,OAAO,IAAI,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IACD,IAAI,mBAAmB;QACnB,OAAO,IAAI,CAAC,MAAM,CAAC,CAAC;IACxB,CAAC;IACD,IAAI,cAAc;QACd,OAAO,IAAI,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IACD,IAAI,gBAAgB;QAChB,OAAO,IAAI,CAAC,QAAQ,CAAC,CAAC;IAC1B,CAAC;IACD,IAAI,aAAa;QACb,OAAO,IAAI,CAAC,UAAU,CAAC,CAAC;IAC5B,CAAC;CAC6C,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../src/containers/Nodes/columns/constants.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,mCAAmC,GAAG,2BAA2B,CAAC;AAE/E,MAAM,CAAC,MAAM,qBAAqB,GAAoB;IAClD,QAAQ;IACR,MAAM;IACN,IAAI;IACJ,MAAM;IACN,SAAS;IACT,QAAQ;IACR,QAAQ;IACR,KAAK;IACL,aAAa;IACb,SAAS;CACZ,CAAC;AAEF,MAAM,CAAC,MAAM,sBAAsB,GAAoB,CAAC,QAAQ,CAAC,CAAC"}
@@ -1,6 +1,6 @@
1
- import type { GetNodesColumnsProps } from './types';
2
- export declare function useNodesSelectedColumns(params: GetNodesColumnsProps): {
3
- columnsToShow: import("./types").NodesColumn[];
1
+ import type { GetNodesColumnsParams } from '../../../components/nodesColumns/types';
2
+ export declare function useNodesSelectedColumns(params: GetNodesColumnsParams): {
3
+ columnsToShow: import("../../../components/nodesColumns/types").Column<import("../../../store/reducers/nodes/types").NodesPreparedEntity>[];
4
4
  columnsToSelect: import("@gravity-ui/uikit").TableColumnSetupItem[];
5
5
  setColumns: (updated: import("@gravity-ui/uikit").TableColumnSetupItem[]) => void;
6
6
  };
@@ -1,7 +1,8 @@
1
1
  import React from 'react';
2
+ import { NODES_COLUMNS_TITLES } from '../../../components/nodesColumns/constants';
2
3
  import { useSelectedColumns } from '../../../utils/hooks/useSelectedColumns';
3
4
  import { getNodesColumns } from './columns';
4
- import { DEFAULT_NODES_COLUMNS, NODES_COLUMNS_TITLES, NODES_TABLE_SELECTED_COLUMNS_LS_KEY, REQUIRED_NODES_COLUMNS, } from './constants';
5
+ import { DEFAULT_NODES_COLUMNS, NODES_TABLE_SELECTED_COLUMNS_LS_KEY, REQUIRED_NODES_COLUMNS, } from './constants';
5
6
  export function useNodesSelectedColumns(params) {
6
7
  const columns = React.useMemo(() => {
7
8
  return getNodesColumns(params);
@@ -1 +1 @@
1
- {"version":3,"file":"hooks.js","sourceRoot":"","sources":["../../../../src/containers/Nodes/columns/hooks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,kBAAkB,EAAC,MAAM,yCAAyC,CAAC;AAE3E,OAAO,EAAC,eAAe,EAAC,MAAM,WAAW,CAAC;AAC1C,OAAO,EACH,qBAAqB,EACrB,oBAAoB,EACpB,mCAAmC,EACnC,sBAAsB,GACzB,MAAM,aAAa,CAAC;AAGrB,MAAM,UAAU,uBAAuB,CAAC,MAA4B;IAChE,MAAM,OAAO,GAAG,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE;QAC/B,OAAO,eAAe,CAAC,MAAM,CAAC,CAAC;IACnC,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC,CAAC;IAEb,OAAO,kBAAkB,CACrB,OAAO,EACP,mCAAmC,EACnC,oBAAoB,EACpB,qBAAqB,EACrB,sBAAsB,CACzB,CAAC;AACN,CAAC"}
1
+ {"version":3,"file":"hooks.js","sourceRoot":"","sources":["../../../../src/containers/Nodes/columns/hooks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,oBAAoB,EAAC,MAAM,4CAA4C,CAAC;AAEhF,OAAO,EAAC,kBAAkB,EAAC,MAAM,yCAAyC,CAAC;AAE3E,OAAO,EAAC,eAAe,EAAC,MAAM,WAAW,CAAC;AAC1C,OAAO,EACH,qBAAqB,EACrB,mCAAmC,EACnC,sBAAsB,GACzB,MAAM,aAAa,CAAC;AAErB,MAAM,UAAU,uBAAuB,CAAC,MAA6B;IACjE,MAAM,OAAO,GAAG,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE;QAC/B,OAAO,eAAe,CAAC,MAAM,CAAC,CAAC;IACnC,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC,CAAC;IAEb,OAAO,kBAAkB,CACrB,OAAO,EACP,mCAAmC,EACnC,oBAAoB,EACpB,qBAAqB,EACrB,sBAAsB,CACzB,CAAC;AACN,CAAC"}
@@ -23,7 +23,7 @@ import { valueIsDefined } from '../../utils';
23
23
  import { cn } from '../../utils/cn';
24
24
  import { getPDiskId, getSeverityColor } from '../../utils/disks/helpers';
25
25
  import { useAutoRefreshInterval, useTypedDispatch, useTypedSelector } from '../../utils/hooks';
26
- import { Storage } from '../Storage/Storage';
26
+ import { StorageWrapper } from '../Storage/StorageWrapper';
27
27
  import { DecommissionButton } from './DecommissionButton/DecommissionButton';
28
28
  import { DecommissionLabel } from './DecommissionLabel/DecommissionLabel';
29
29
  import { PDiskSpaceDistribution } from './PDiskSpaceDistribution/PDiskSpaceDistribution';
@@ -143,7 +143,7 @@ export function PDiskPage() {
143
143
  return pDiskData ? (_jsx("div", { className: pdiskPageCn('disk-distribution'), children: _jsx(PDiskSpaceDistribution, { data: pDiskData }) })) : null;
144
144
  }
145
145
  case 'storage': {
146
- return pDiskParamsDefined ? _jsx(Storage, { nodeId: nodeId, pDiskId: pDiskId }) : null;
146
+ return pDiskParamsDefined ? (_jsx(StorageWrapper, { nodeId: nodeId, pDiskId: pDiskId })) : null;
147
147
  }
148
148
  default:
149
149
  return null;
@@ -1 +1 @@
1
- {"version":3,"file":"PDiskPage.js","sourceRoot":"","sources":["../../../src/containers/PDiskPage/PDiskPage.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,eAAe,EAAC,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAC,IAAI,EAAE,IAAI,EAAC,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAC,SAAS,EAAC,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAC,MAAM,EAAC,MAAM,oBAAoB,CAAC;AAC1C,OAAO,EAAC,WAAW,EAAE,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAC7D,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AAEtB,OAAO,EAAC,uBAAuB,EAAC,MAAM,kEAAkE,CAAC;AACzG,OAAO,EAAC,eAAe,EAAC,MAAM,kDAAkD,CAAC;AACjF,OAAO,EAAC,aAAa,EAAC,MAAM,uCAAuC,CAAC;AACpE,OAAO,EAAC,kBAAkB,EAAC,MAAM,wDAAwD,CAAC;AAC1F,OAAO,EAAC,YAAY,EAAC,MAAM,4CAA4C,CAAC;AACxE,OAAO,EAAC,SAAS,EAAC,MAAM,sCAAsC,CAAC;AAC/D,OAAO,EAAC,uBAAuB,EAAC,MAAM,oCAAoC,CAAC;AAC3E,OAAO,EAAC,gBAAgB,EAAC,MAAM,cAAc,CAAC;AAC9C,OAAO,EAAC,GAAG,EAAC,MAAM,0BAA0B,CAAC;AAC7C,OAAO,EAAC,gCAAgC,EAAC,MAAM,oDAAoD,CAAC;AACpG,OAAO,EAAC,qBAAqB,EAAC,MAAM,yCAAyC,CAAC;AAC9E,OAAO,EAAC,oBAAoB,EAAC,MAAM,oCAAoC,CAAC;AACxE,OAAO,EAAC,QAAQ,EAAC,MAAM,kCAAkC,CAAC;AAE1D,OAAO,EAA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vD,CAAC,CAAC,CAAC,IAAI,CAAC;YACb,CAAC;YACD;gBACI,OAAO,IAAI,CAAC;QACpB,CAAC;IACL,CAAC,CAAC;IAEF,MAAM,WAAW,GAAG,GAAG,EAAE;QACrB,IAAI,CAAC,cAAc,CAAC,KAAK,EAAE,CAAC;YACxB,OAAO,IAAI,CAAC;QAChB,CAAC;QACD,OAAO,KAAC,aAAa,IAAC,KAAK,EAAE,cAAc,CAAC,KAAK,GAAI,CAAC;IAC1D,CAAC,CAAC;IAEF,OAAO,CACH,eAAK,SAAS,EAAE,WAAW,CAAC,IAAI,CAAC,aAC5B,YAAY,EAAE,EACd,cAAc,EAAE,EAChB,eAAe,EAAE,EACjB,cAAc,EAAE,EAChB,WAAW,EAAE,EACb,UAAU,EAAE,EACZ,UAAU,EAAE,EACZ,iBAAiB,EAAE,IAClB,CACT,CAAC;AACN,CAAC"}
@@ -1,9 +1,9 @@
1
1
  import type { PreparedVDisk } from '../../../utils/disks/types';
2
- import type { VDiskViewContext } from '../utils';
2
+ import type { StorageViewContext } from '../types';
3
3
  import './Disks.scss';
4
4
  interface DisksProps {
5
5
  vDisks?: PreparedVDisk[];
6
- viewContext?: VDiskViewContext;
6
+ viewContext?: StorageViewContext;
7
7
  }
8
8
  export declare function Disks({ vDisks, viewContext }: DisksProps): import("react/jsx-runtime").JSX.Element | null;
9
9
  export {};