ydb-embedded-ui 6.34.0 → 6.36.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (221) hide show
  1. package/dist/components/AutoRefreshControl/AutoRefreshControl.js +1 -1
  2. package/dist/components/AutoRefreshControl/AutoRefreshControl.js.map +1 -1
  3. package/dist/components/MemoryViewer/MemoryViewer.d.ts +1 -3
  4. package/dist/components/MemoryViewer/MemoryViewer.js +3 -1
  5. package/dist/components/MemoryViewer/MemoryViewer.js.map +1 -1
  6. package/dist/components/NodeHostWrapper/NodeHostWrapper.d.ts +5 -3
  7. package/dist/components/NodeHostWrapper/NodeHostWrapper.js +3 -2
  8. package/dist/components/NodeHostWrapper/NodeHostWrapper.js.map +1 -1
  9. package/dist/components/PaginatedTable/PaginatedTable.js +9 -7
  10. package/dist/components/PaginatedTable/PaginatedTable.js.map +1 -1
  11. package/dist/components/PaginatedTable/TableChunk.d.ts +4 -5
  12. package/dist/components/PaginatedTable/TableChunk.js +7 -1
  13. package/dist/components/PaginatedTable/TableChunk.js.map +1 -1
  14. package/dist/components/nodesColumns/__test__/utils.test.d.ts +1 -0
  15. package/dist/components/nodesColumns/__test__/utils.test.js +28 -0
  16. package/dist/components/nodesColumns/__test__/utils.test.js.map +1 -0
  17. package/dist/components/nodesColumns/columns.d.ts +28 -2
  18. package/dist/components/nodesColumns/columns.js +83 -5
  19. package/dist/components/nodesColumns/columns.js.map +1 -1
  20. package/dist/components/nodesColumns/constants.d.ts +12 -0
  21. package/dist/components/nodesColumns/constants.js +36 -0
  22. package/dist/components/nodesColumns/constants.js.map +1 -1
  23. package/dist/components/nodesColumns/i18n/en.json +11 -1
  24. package/dist/components/nodesColumns/i18n/index.d.ts +1 -1
  25. package/dist/components/nodesColumns/utils.d.ts +2 -0
  26. package/dist/components/nodesColumns/utils.js +11 -0
  27. package/dist/components/nodesColumns/utils.js.map +1 -0
  28. package/dist/containers/Nodes/Nodes.js +2 -2
  29. package/dist/containers/Nodes/Nodes.js.map +1 -1
  30. package/dist/containers/Nodes/NodesControls/NodesControls.d.ts +3 -1
  31. package/dist/containers/Nodes/NodesControls/NodesControls.js +3 -3
  32. package/dist/containers/Nodes/NodesControls/NodesControls.js.map +1 -1
  33. package/dist/containers/Nodes/PaginatedNodes.d.ts +11 -3
  34. package/dist/containers/Nodes/PaginatedNodes.js +16 -19
  35. package/dist/containers/Nodes/PaginatedNodes.js.map +1 -1
  36. package/dist/containers/Nodes/columns/constants.d.ts +3 -2
  37. package/dist/containers/Nodes/columns/constants.js +8 -8
  38. package/dist/containers/Nodes/columns/constants.js.map +1 -1
  39. package/dist/containers/Nodes/useNodesPageQueryParams.d.ts +3 -2
  40. package/dist/containers/Nodes/useNodesPageQueryParams.js +2 -2
  41. package/dist/containers/Nodes/useNodesPageQueryParams.js.map +1 -1
  42. package/dist/containers/Tenant/Diagnostics/Diagnostics.js +2 -2
  43. package/dist/containers/Tenant/Diagnostics/Diagnostics.js.map +1 -1
  44. package/dist/containers/Tenant/Diagnostics/Network/NetworkTable/columns.d.ts +4 -0
  45. package/dist/containers/Tenant/Diagnostics/Network/NetworkTable/columns.js +23 -0
  46. package/dist/containers/Tenant/Diagnostics/Network/NetworkTable/columns.js.map +1 -0
  47. package/dist/containers/Tenant/Diagnostics/Network/NetworkTable/constants.d.ts +5 -0
  48. package/dist/containers/Tenant/Diagnostics/Network/NetworkTable/constants.js +23 -0
  49. package/dist/containers/Tenant/Diagnostics/Network/NetworkTable/constants.js.map +1 -0
  50. package/dist/containers/Tenant/Diagnostics/Network/NetworkWrapper.d.ts +6 -0
  51. package/dist/containers/Tenant/Diagnostics/Network/NetworkWrapper.js +26 -0
  52. package/dist/containers/Tenant/Diagnostics/Network/NetworkWrapper.js.map +1 -0
  53. package/dist/containers/Tenant/Diagnostics/Partitions/Partitions.js +1 -1
  54. package/dist/containers/Tenant/Diagnostics/Partitions/Partitions.js.map +1 -1
  55. package/dist/containers/Tenant/Diagnostics/Partitions/PartitionsControls/PartitionsControls.d.ts +2 -2
  56. package/dist/containers/Tenant/Diagnostics/Partitions/PartitionsControls/PartitionsControls.js +3 -2
  57. package/dist/containers/Tenant/Diagnostics/Partitions/PartitionsControls/PartitionsControls.js.map +1 -1
  58. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopQueries.js +1 -1
  59. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopQueries.js.map +1 -1
  60. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TenantMemory.d.ts +5 -1
  61. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TenantMemory.js +6 -2
  62. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TenantMemory.js.map +1 -1
  63. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantOverview.js +1 -1
  64. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantOverview.js.map +1 -1
  65. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantOverview.scss +5 -0
  66. package/dist/containers/Tenant/Diagnostics/TopQueries/TopQueries.js +1 -1
  67. package/dist/containers/Tenant/Diagnostics/TopQueries/TopQueries.js.map +1 -1
  68. package/dist/containers/Tenant/ObjectSummary/SchemaTree/SchemaTree.js +1 -1
  69. package/dist/containers/Tenant/ObjectSummary/SchemaTree/SchemaTree.js.map +1 -1
  70. package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.d.ts +2 -2
  71. package/dist/containers/Tenant/Query/ExecuteResult/utils.d.ts +1 -1
  72. package/dist/containers/Tenant/Query/ExecuteResult/utils.js +1 -1
  73. package/dist/containers/Tenant/Query/ExecuteResult/utils.js.map +1 -1
  74. package/dist/containers/Tenant/Query/ExplainResult/ExplainResult.d.ts +2 -2
  75. package/dist/containers/Tenant/Query/ExplainResult/ExplainResult.js +1 -1
  76. package/dist/containers/Tenant/Query/ExplainResult/ExplainResult.js.map +1 -1
  77. package/dist/containers/Tenant/Query/ExplainResult/components/Graph/Graph.d.ts +2 -2
  78. package/dist/containers/Tenant/Query/ExplainResult/components/Graph/Graph.js +1 -1
  79. package/dist/containers/Tenant/Query/ExplainResult/components/Graph/Graph.js.map +1 -1
  80. package/dist/containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/SimplifiedPlan.d.ts +1 -1
  81. package/dist/containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/types.d.ts +1 -1
  82. package/dist/containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/utils.d.ts +1 -1
  83. package/dist/containers/Tenant/Query/NewSQL/NewSQL.js +3 -9
  84. package/dist/containers/Tenant/Query/NewSQL/NewSQL.js.map +1 -1
  85. package/dist/containers/Tenant/Query/NewSQL/i18n/en.json +1 -2
  86. package/dist/containers/Tenant/Query/NewSQL/i18n/index.d.ts +1 -1
  87. package/dist/containers/Tenant/Query/QueriesHistory/QueriesHistory.js +1 -1
  88. package/dist/containers/Tenant/Query/QueriesHistory/QueriesHistory.js.map +1 -1
  89. package/dist/containers/Tenant/Query/Query.js +1 -1
  90. package/dist/containers/Tenant/Query/Query.js.map +1 -1
  91. package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.js +25 -12
  92. package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.js.map +1 -1
  93. package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsDialog.js +5 -3
  94. package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsDialog.js.map +1 -1
  95. package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsSelect.d.ts +1 -0
  96. package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsSelect.js +1 -1
  97. package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsSelect.js.map +1 -1
  98. package/dist/containers/Tenant/Query/QuerySettingsDialog/i18n/en.json +1 -0
  99. package/dist/containers/Tenant/Query/QuerySettingsDialog/i18n/index.d.ts +1 -1
  100. package/dist/containers/Tenant/Query/QuerySettingsDialog/i18n/ru.json +1 -0
  101. package/dist/containers/Tenant/Query/SaveQuery/SaveQuery.d.ts +12 -3
  102. package/dist/containers/Tenant/Query/SaveQuery/SaveQuery.js +25 -10
  103. package/dist/containers/Tenant/Query/SaveQuery/SaveQuery.js.map +1 -1
  104. package/dist/containers/Tenant/utils/newSQLQueryActions.d.ts +0 -1
  105. package/dist/containers/Tenant/utils/newSQLQueryActions.js +0 -1
  106. package/dist/containers/Tenant/utils/newSQLQueryActions.js.map +1 -1
  107. package/dist/containers/Tenant/utils/schemaActions.js +5 -4
  108. package/dist/containers/Tenant/utils/schemaActions.js.map +1 -1
  109. package/dist/containers/Tenant/utils/schemaQueryTemplates.js +86 -53
  110. package/dist/containers/Tenant/utils/schemaQueryTemplates.js.map +1 -1
  111. package/dist/containers/UserSettings/i18n/en.json +3 -2
  112. package/dist/containers/UserSettings/i18n/index.d.ts +1 -1
  113. package/dist/containers/UserSettings/settings.d.ts +1 -0
  114. package/dist/containers/UserSettings/settings.js +6 -2
  115. package/dist/containers/UserSettings/settings.js.map +1 -1
  116. package/dist/containers/Versions/groupNodes.js +1 -1
  117. package/dist/containers/Versions/groupNodes.js.map +1 -1
  118. package/dist/services/api.js +1 -0
  119. package/dist/services/api.js.map +1 -1
  120. package/dist/services/settings.d.ts +1 -0
  121. package/dist/services/settings.js +2 -1
  122. package/dist/services/settings.js.map +1 -1
  123. package/dist/store/configureStore.d.ts +16 -8
  124. package/dist/store/configureStore.js +1 -1
  125. package/dist/store/configureStore.js.map +1 -1
  126. package/dist/store/defaultStore.d.ts +8 -4
  127. package/dist/store/reducers/cancelQuery.js +2 -2
  128. package/dist/store/reducers/cancelQuery.js.map +1 -1
  129. package/dist/store/reducers/capabilities/capabilities.d.ts +32 -16
  130. package/dist/store/reducers/capabilities/hooks.d.ts +1 -0
  131. package/dist/store/reducers/capabilities/hooks.js +3 -0
  132. package/dist/store/reducers/capabilities/hooks.js.map +1 -1
  133. package/dist/store/reducers/cluster/cluster.d.ts +24 -12
  134. package/dist/store/reducers/cluster/utils.js +2 -2
  135. package/dist/store/reducers/cluster/utils.js.map +1 -1
  136. package/dist/store/reducers/executeTopQueries/executeTopQueries.js +3 -3
  137. package/dist/store/reducers/executeTopQueries/executeTopQueries.js.map +1 -1
  138. package/dist/store/reducers/healthcheckInfo/healthcheckInfo.d.ts +80 -40
  139. package/dist/store/reducers/index.d.ts +12 -6
  140. package/dist/store/reducers/index.js +2 -2
  141. package/dist/store/reducers/index.js.map +1 -1
  142. package/dist/store/reducers/node/selectors.d.ts +4 -2
  143. package/dist/store/reducers/nodes/types.d.ts +13 -0
  144. package/dist/store/reducers/nodes/utils.js +3 -3
  145. package/dist/store/reducers/nodes/utils.js.map +1 -1
  146. package/dist/store/reducers/nodesList.d.ts +4 -2
  147. package/dist/store/reducers/partitions/partitions.d.ts +4 -3
  148. package/dist/store/reducers/partitions/partitions.js +1 -3
  149. package/dist/store/reducers/partitions/partitions.js.map +1 -1
  150. package/dist/store/reducers/partitions/types.d.ts +0 -3
  151. package/dist/store/reducers/preview.js +2 -2
  152. package/dist/store/reducers/preview.js.map +1 -1
  153. package/dist/store/reducers/query/__test__/utils.test.d.ts +1 -0
  154. package/dist/store/reducers/query/__test__/utils.test.js +24 -0
  155. package/dist/store/reducers/query/__test__/utils.test.js.map +1 -0
  156. package/dist/store/reducers/query/prepareQueryData.d.ts +6 -0
  157. package/dist/store/reducers/{explainQuery/utils.js → query/prepareQueryData.js} +11 -10
  158. package/dist/store/reducers/query/prepareQueryData.js.map +1 -0
  159. package/dist/store/reducers/query/query.d.ts +55 -0
  160. package/dist/store/reducers/{executeQuery.js → query/query.js} +32 -45
  161. package/dist/store/reducers/query/query.js.map +1 -0
  162. package/dist/store/reducers/query/types.d.ts +57 -0
  163. package/dist/store/reducers/query/types.js.map +1 -0
  164. package/dist/store/reducers/query/utils.d.ts +7 -0
  165. package/dist/store/reducers/query/utils.js +21 -0
  166. package/dist/store/reducers/query/utils.js.map +1 -0
  167. package/dist/store/reducers/queryActions/queryActions.js +1 -1
  168. package/dist/store/reducers/queryActions/queryActions.js.map +1 -1
  169. package/dist/store/reducers/queryActions/types.d.ts +1 -1
  170. package/dist/store/reducers/shardsWorkload/shardsWorkload.js +2 -2
  171. package/dist/store/reducers/shardsWorkload/shardsWorkload.js.map +1 -1
  172. package/dist/store/reducers/tablets.d.ts +20 -10
  173. package/dist/store/reducers/tenantOverview/executeTopTables/executeTopTables.js +2 -2
  174. package/dist/store/reducers/tenantOverview/executeTopTables/executeTopTables.js.map +1 -1
  175. package/dist/store/reducers/tenantOverview/topShards/tenantOverviewTopShards.js +2 -2
  176. package/dist/store/reducers/tenantOverview/topShards/tenantOverviewTopShards.js.map +1 -1
  177. package/dist/store/reducers/tenants/selectors.d.ts +36 -18
  178. package/dist/store/reducers/topic.d.ts +60 -30
  179. package/dist/store/reducers/trace.js +1 -1
  180. package/dist/store/reducers/trace.js.map +1 -1
  181. package/dist/types/api/nodes.d.ts +56 -0
  182. package/dist/types/api/nodes.js.map +1 -1
  183. package/dist/types/api/tenant.d.ts +2 -1
  184. package/dist/types/api/tenant.js.map +1 -1
  185. package/dist/utils/constants.d.ts +1 -0
  186. package/dist/utils/constants.js +1 -0
  187. package/dist/utils/constants.js.map +1 -1
  188. package/dist/utils/dataFormatters/dataFormatters.d.ts +1 -1
  189. package/dist/utils/dataFormatters/dataFormatters.js +12 -6
  190. package/dist/utils/dataFormatters/dataFormatters.js.map +1 -1
  191. package/dist/utils/hooks/useQueryExecutionSettings.d.ts +2 -8
  192. package/dist/utils/hooks/useQueryExecutionSettings.js +14 -3
  193. package/dist/utils/hooks/useQueryExecutionSettings.js.map +1 -1
  194. package/dist/utils/hooks/withConfirmation/useChangeInputWithConfirmation.js +13 -9
  195. package/dist/utils/hooks/withConfirmation/useChangeInputWithConfirmation.js.map +1 -1
  196. package/dist/utils/monaco/insertSnippet.d.ts +1 -0
  197. package/dist/utils/monaco/insertSnippet.js +8 -0
  198. package/dist/utils/monaco/insertSnippet.js.map +1 -0
  199. package/dist/utils/prepareQueryExplain.d.ts +1 -1
  200. package/dist/utils/query.d.ts +1 -2
  201. package/dist/utils/query.js +5 -10
  202. package/dist/utils/query.js.map +1 -1
  203. package/dist/utils/query.test.js +20 -34
  204. package/dist/utils/query.test.js.map +1 -1
  205. package/dist/utils/timeParsers/parsers.d.ts +1 -1
  206. package/dist/utils/timeParsers/parsers.js +3 -2
  207. package/dist/utils/timeParsers/parsers.js.map +1 -1
  208. package/package.json +2 -2
  209. package/dist/store/reducers/executeQuery.d.ts +0 -54
  210. package/dist/store/reducers/executeQuery.js.map +0 -1
  211. package/dist/store/reducers/explainQuery/explainQuery.d.ts +0 -10
  212. package/dist/store/reducers/explainQuery/explainQuery.js +0 -72
  213. package/dist/store/reducers/explainQuery/explainQuery.js.map +0 -1
  214. package/dist/store/reducers/explainQuery/types.d.ts +0 -28
  215. package/dist/store/reducers/explainQuery/types.js.map +0 -1
  216. package/dist/store/reducers/explainQuery/utils.d.ts +0 -6
  217. package/dist/store/reducers/explainQuery/utils.js.map +0 -1
  218. package/dist/types/store/executeQuery.d.ts +0 -42
  219. package/dist/types/store/executeQuery.js +0 -6
  220. package/dist/types/store/executeQuery.js.map +0 -1
  221. /package/dist/store/reducers/{explainQuery → query}/types.js +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/components/nodesColumns/constants.ts"],"names":[],"mappings":"AAGA,OAAO,IAAI,MAAM,QAAQ,CAAC;AAE1B,MAAM,CAAC,MAAM,0BAA0B,GAAG,wBAAwB,CAAC;AAEnE,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC7B,MAAM,EAAE,QAAQ;IAChB,IAAI,EAAE,MAAM;IACZ,QAAQ,EAAE,UAAU;IACpB,QAAQ,EAAE,UAAU;IACpB,EAAE,EAAE,IAAI;IACR,IAAI,EAAE,MAAM;IACZ,OAAO,EAAE,SAAS;IAClB,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;IAChB,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,KAAK,EAAE,OAAO;IACd,WAA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gB;IAChC,iBAAiB,EAAE,mBAAmB;IACtC,QAAQ,EAAE,UAAU;IACpB,SAAS,EAAE,WAAW;IACtB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,MAAM,EAAE,SAAS;CACpB,CAAC;AAEF,MAAM,UAAU,uBAAuB,CAAC,QAAiB;IACrD,OAAO,4BAA4B,CAAC,QAAyB,CAAC,CAAC;AACnE,CAAC;AAED,MAAM,UAAU,qBAAqB,CAAC,QAAgB;IAClD,OAAO,OAAO,CAAC,uBAAuB,CAAC,QAAQ,CAAC,CAAC,CAAC;AACtD,CAAC"}
@@ -22,7 +22,17 @@
22
22
  "field_memory-limit": "Memory limit",
23
23
  "system-state": "System State",
24
24
  "connect-status": "Connect Status",
25
+ "utilization": "Utilization",
25
26
  "network-utilization": "Network Utilization",
27
+ "connections": "Connections",
26
28
  "clock-skew": "Clock Skew",
27
- "ping-time": "Ping Time"
29
+ "skew": "Skew",
30
+ "ping-time": "Ping Time",
31
+ "ping": "Ping",
32
+ "send": "Send",
33
+ "receive": "Receive",
34
+ "max": "Max",
35
+ "min": "Min",
36
+ "avg": "Avg",
37
+ "sum": "Sum"
28
38
  }
@@ -1,2 +1,2 @@
1
- declare const _default: (key: "database" | "missing" | "version" | "host" | "tablets" | "cpu" | "memory" | "uptime" | "load" | "node-id" | "node-name" | "dc" | "rack" | "ram" | "pools" | "disk-usage" | "load-average" | "sessions" | "pdisks" | "field_memory-used" | "field_memory-limit" | "system-state" | "connect-status" | "network-utilization" | "clock-skew" | "ping-time", params?: import("@gravity-ui/i18n").Params) => string;
1
+ declare const _default: (key: "database" | "missing" | "version" | "host" | "tablets" | "cpu" | "memory" | "uptime" | "load" | "min" | "ping" | "max" | "node-id" | "node-name" | "dc" | "rack" | "ram" | "pools" | "disk-usage" | "load-average" | "sessions" | "pdisks" | "field_memory-used" | "field_memory-limit" | "system-state" | "connect-status" | "utilization" | "network-utilization" | "connections" | "clock-skew" | "skew" | "ping-time" | "send" | "receive" | "avg" | "sum", params?: import("@gravity-ui/i18n").Params) => string;
2
2
  export default _default;
@@ -0,0 +1,2 @@
1
+ export declare function preparePingTimeValue(value: string | number): string;
2
+ export declare function prepareClockSkewValue(value: string | number): string;
@@ -0,0 +1,11 @@
1
+ import { formatToMs, parseUsToMs } from '../../utils/timeParsers';
2
+ export function preparePingTimeValue(value) {
3
+ return formatToMs(parseUsToMs(value, 1));
4
+ }
5
+ export function prepareClockSkewValue(value) {
6
+ const valueMs = parseUsToMs(value, 1);
7
+ // Add + sign to positive values, do not add + to values that displayed as 0
8
+ const sign = Number(valueMs) <= 0 ? '' : '+';
9
+ return sign + formatToMs(valueMs);
10
+ }
11
+ //# sourceMappingURL=utils.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../src/components/nodesColumns/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAE,WAAW,EAAC,MAAM,yBAAyB,CAAC;AAEhE,MAAM,UAAU,oBAAoB,CAAC,KAAsB;IACvD,OAAO,UAAU,CAAC,WAAW,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC,CAAC;AAC7C,CAAC;AAED,MAAM,UAAU,qBAAqB,CAAC,KAAsB;IACxD,MAAM,OAAO,GAAG,WAAW,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC;IACtC,4EAA4E;IAC5E,MAAM,IAAI,GAAG,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC;IAE7C,OAAO,IAAI,GAAG,UAAU,CAAC,OAAO,CAAC,CAAC;AACtC,CAAC"}
@@ -21,7 +21,7 @@ import { getRowClassName } from './shared';
21
21
  import { useNodesPageQueryParams } from './useNodesPageQueryParams';
22
22
  import './Nodes.scss';
23
23
  export const Nodes = ({ path, database, additionalNodesProps = {} }) => {
24
- const { searchValue, uptimeFilter } = useNodesPageQueryParams();
24
+ const { searchValue, uptimeFilter } = useNodesPageQueryParams(undefined);
25
25
  const { problemFilter } = useProblemFilter();
26
26
  const [autoRefreshInterval] = useAutoRefreshInterval();
27
27
  const { columnsToShow, columnsToSelect, setColumns } = useNodesSelectedColumns({
@@ -41,7 +41,7 @@ export const Nodes = ({ path, database, additionalNodesProps = {} }) => {
41
41
  }, [data, searchValue, uptimeFilter, problemFilter]);
42
42
  const totalNodes = (data === null || data === void 0 ? void 0 : data.TotalNodes) || 0;
43
43
  const renderControls = () => {
44
- return (_jsx(NodesControls, { columnsToSelect: columnsToSelect, handleSelectedColumnsUpdate: setColumns, entitiesCountCurrent: nodes.length, entitiesCountTotal: totalNodes, entitiesLoading: isLoading }));
44
+ return (_jsx(NodesControls, { columnsToSelect: columnsToSelect, handleSelectedColumnsUpdate: setColumns, entitiesCountCurrent: nodes.length, entitiesCountTotal: totalNodes, entitiesLoading: isLoading, groupByParams: undefined }));
45
45
  };
46
46
  const renderTable = () => {
47
47
  if (nodes.length === 0) {
@@ -1 +1 @@
1
- {"version":3,"file":"Nodes.js","sourceRoot":"","sources":["../../../src/containers/Nodes/Nodes.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,SAAS,EAAC,MAAM,sDAAsD,CAAC;AAE/E,OAAO,EAAC,YAAY,EAAC,MAAM,6BAA6B,CAAC;AACzD,OAAO,EAAC,aAAa,EAAC,MAAM,6CAA6C,CAAC;AAC1E,OAAO,EAAC,aAAa,EAAC,MAAM,uCAAuC,CAAC;AACpE,OAAO,EAAC,YAAY,EAAC,MAAM,+BAA+B,CAAC;AAC3D,OAAO,EAAC,mBAAmB,EAAC,MAAM,0DAA0D,CAAC;AAC7F,OAAO,EAAC,uBAAuB,EAAC,MAAM,kEAAkE,CAAC;AACzG,OAAO,EAAC,0BAA0B,EAAC,MAAM,yCAAyC,CAAC;AACnF,OAAO,EAAC,QAAQ,EAAC,MAAM,kCAAkC,CAAC;AAC1D,OAAO,EAAC,WAAW,E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,EAAE,EACjB,OAAO,EAAE,aAAa,EACtB,QAAQ,EAAE,sBAAsB,EAChC,SAAS,EAAE,IAAI,EACf,MAAM,EAAE,UAAU,EAClB,gBAAgB,EAAE,IAAI,CAAC,eAAe,CAAC,EACvC,YAAY,EAAE,eAAe,GAC/B,CACL,CAAC;IACN,CAAC,CAAC;IAEF,IAAI,aAAa,CAAC,KAAK,CAAC,EAAE,CAAC;QACvB,OAAO,KAAC,YAAY,KAAG,CAAC;IAC5B,CAAC;IAED,OAAO,CACH,MAAC,uBAAuB,eACpB,KAAC,uBAAuB,CAAC,QAAQ,cAAE,cAAc,EAAE,GAAoC,EACtF,KAAK,CAAC,CAAC,CAAC,KAAC,aAAa,IAAC,KAAK,EAAE,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,EAC/C,KAAC,uBAAuB,CAAC,KAAK,IAAC,OAAO,EAAE,SAAS,YAC5C,IAAI,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC,CAAC,CAAC,IAAI,GACA,IACV,CAC7B,CAAC;AACN,CAAC,CAAC"}
@@ -1,11 +1,13 @@
1
1
  import type { TableColumnSetupItem } from '@gravity-ui/uikit';
2
+ import type { NodesGroupByField } from '../../../types/api/nodes';
2
3
  interface NodesControlsProps {
3
4
  withGroupBySelect?: boolean;
5
+ groupByParams: NodesGroupByField[] | undefined;
4
6
  columnsToSelect: TableColumnSetupItem[];
5
7
  handleSelectedColumnsUpdate: (updated: TableColumnSetupItem[]) => void;
6
8
  entitiesCountCurrent: number;
7
9
  entitiesCountTotal?: number;
8
10
  entitiesLoading: boolean;
9
11
  }
10
- export declare function NodesControls({ withGroupBySelect, columnsToSelect, handleSelectedColumnsUpdate, entitiesCountCurrent, entitiesCountTotal, entitiesLoading, }: NodesControlsProps): import("react/jsx-runtime").JSX.Element;
12
+ export declare function NodesControls({ withGroupBySelect, groupByParams, columnsToSelect, handleSelectedColumnsUpdate, entitiesCountCurrent, entitiesCountTotal, entitiesLoading, }: NodesControlsProps): import("react/jsx-runtime").JSX.Element;
11
13
  export {};
@@ -11,11 +11,11 @@ import { getNodesGroupByOptions } from '../columns/constants';
11
11
  import i18n from '../i18n';
12
12
  import { b } from '../shared';
13
13
  import { useNodesPageQueryParams } from '../useNodesPageQueryParams';
14
- export function NodesControls({ withGroupBySelect, columnsToSelect, handleSelectedColumnsUpdate, entitiesCountCurrent, entitiesCountTotal, entitiesLoading, }) {
15
- const { searchValue, uptimeFilter, groupByParam, handleSearchQueryChange, handleUptimeFilterChange, handleGroupByParamChange, } = useNodesPageQueryParams();
14
+ export function NodesControls({ withGroupBySelect, groupByParams = [], columnsToSelect, handleSelectedColumnsUpdate, entitiesCountCurrent, entitiesCountTotal, entitiesLoading, }) {
15
+ const { searchValue, uptimeFilter, groupByParam, handleSearchQueryChange, handleUptimeFilterChange, handleGroupByParamChange, } = useNodesPageQueryParams(groupByParams);
16
16
  const { problemFilter, handleProblemFilterChange } = useProblemFilter();
17
17
  const systemStateGroupingAvailable = useViewerNodesHandlerHasGroupingBySystemState();
18
- const groupByoptions = getNodesGroupByOptions(systemStateGroupingAvailable);
18
+ const groupByoptions = getNodesGroupByOptions(groupByParams, systemStateGroupingAvailable);
19
19
  const handleGroupBySelectUpdate = (value) => {
20
20
  handleGroupByParamChange(value[0]);
21
21
  };
@@ -1 +1 @@
1
- {"version":3,"file":"NodesControls.js","sourceRoot":"","sources":["../../../../src/containers/Nodes/NodesControls/NodesControls.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAC,MAAM,EAAE,gBAAgB,EAAE,IAAI,EAAC,MAAM,mBAAmB,CAAC;AAEjE,OAAO,EAAC,aAAa,EAAC,MAAM,mCAAmC,CAAC;AAChE,OAAO,EAAC,aAAa,EAAC,MAAM,mCAAmC,CAAC;AAChE,OAAO,EAAC,MAAM,EAAC,MAAM,4BAA4B,CAAC;AAClD,OAAO,EAAC,YAAY,EAAC,MAAM,kCAAkC,CAAC;AAC9D,OAAO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B,KAAC,YAAY,IAAC,KAAK,EAAE,YAAY,EAAE,QAAQ,EAAE,wBAAwB,GAAI,CAC5E,EACD,KAAC,gBAAgB,IACb,UAAU,EAAE,GAAG,EACf,KAAK,EAAE,eAAe,EACtB,UAAU,QACV,QAAQ,EAAE,2BAA2B,EACrC,QAAQ,EAAE,KAAK,GACjB,EACD,iBAAiB,CAAC,CAAC,CAAC,CACjB,MAAC,KAAK,CAAC,QAAQ,eACX,KAAC,IAAI,IAAC,OAAO,EAAC,QAAQ,YAAE,IAAI,CAAC,+BAA+B,CAAC,GAAQ,EACrE,KAAC,MAAM,IACH,QAAQ,QACR,WAAW,EAAE,GAAG,EAChB,KAAK,EAAE,GAAG,EACV,YAAY,EAAE,YAAY,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,SAAS,EACvD,QAAQ,EAAE,yBAAyB,EACnC,OAAO,EAAE,cAAc,EACvB,SAAS,EAAE,CAAC,CAAC,iBAAiB,CAAC,EAC/B,cAAc,EAAE,CAAC,CAAC,gBAAgB,CAAC,GACrC,IACW,CACpB,CAAC,CAAC,CAAC,IAAI,EACR,KAAC,aAAa,IACV,OAAO,EAAE,oBAAoB,EAC7B,KAAK,EAAE,kBAAkB,EACzB,KAAK,EAAE,IAAI,CAAC,OAAO,CAAC,EACpB,OAAO,EAAE,eAAe,GAC1B,IACW,CACpB,CAAC;AACN,CAAC"}
1
+ {"version":3,"file":"NodesControls.js","sourceRoot":"","sources":["../../../../src/containers/Nodes/NodesControls/NodesControls.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAC,MAAM,EAAE,gBAAgB,EAAE,IAAI,EAAC,MAAM,mBAAmB,CAAC;AAEjE,OAAO,EAAC,aAAa,EAAC,MAAM,mCAAmC,CAAC;AAChE,OAAO,EAAC,aAAa,EAAC,MAAM,mCAAmC,CAAC;AAChE,OAAO,EAAC,MAAM,EAAC,MAAM,4BAA4B,CAA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,EAAE,aAAa,EAAE,QAAQ,EAAE,yBAAyB,GAAI,CAC/E,EACA,iBAAiB,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CACxB,KAAC,YAAY,IAAC,KAAK,EAAE,YAAY,EAAE,QAAQ,EAAE,wBAAwB,GAAI,CAC5E,EACD,KAAC,gBAAgB,IACb,UAAU,EAAE,GAAG,EACf,KAAK,EAAE,eAAe,EACtB,UAAU,QACV,QAAQ,EAAE,2BAA2B,EACrC,QAAQ,EAAE,KAAK,GACjB,EACD,iBAAiB,CAAC,CAAC,CAAC,CACjB,MAAC,KAAK,CAAC,QAAQ,eACX,KAAC,IAAI,IAAC,OAAO,EAAC,QAAQ,YAAE,IAAI,CAAC,+BAA+B,CAAC,GAAQ,EACrE,KAAC,MAAM,IACH,QAAQ,QACR,WAAW,EAAE,GAAG,EAChB,KAAK,EAAE,GAAG,EACV,YAAY,EAAE,YAAY,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,SAAS,EACvD,QAAQ,EAAE,yBAAyB,EACnC,OAAO,EAAE,cAAc,EACvB,SAAS,EAAE,CAAC,CAAC,iBAAiB,CAAC,EAC/B,cAAc,EAAE,CAAC,CAAC,gBAAgB,CAAC,GACrC,IACW,CACpB,CAAC,CAAC,CAAC,IAAI,EACR,KAAC,aAAa,IACV,OAAO,EAAE,oBAAoB,EAC7B,KAAK,EAAE,kBAAkB,EACzB,KAAK,EAAE,IAAI,CAAC,OAAO,CAAC,EACpB,OAAO,EAAE,eAAe,GAC1B,IACW,CACpB,CAAC;AACN,CAAC"}
@@ -1,11 +1,19 @@
1
1
  import React from 'react';
2
+ import type { Column } from '../../components/PaginatedTable';
3
+ import type { NodesColumnId } from '../../components/nodesColumns/constants';
4
+ import type { NodesPreparedEntity } from '../../store/reducers/nodes/types';
2
5
  import type { AdditionalNodesProps } from '../../types/additionalProps';
6
+ import type { NodesGroupByField } from '../../types/api/nodes';
3
7
  import './Nodes.scss';
4
- interface PaginatedNodesProps {
8
+ export interface PaginatedNodesProps {
5
9
  path?: string;
6
10
  database?: string;
7
11
  parentRef: React.RefObject<HTMLElement>;
8
12
  additionalNodesProps?: AdditionalNodesProps;
13
+ columns?: Column<NodesPreparedEntity>[];
14
+ defaultColumnsIds?: NodesColumnId[];
15
+ requiredColumnsIds?: NodesColumnId[];
16
+ selectedColumnsKey?: string;
17
+ groupByParams?: NodesGroupByField[];
9
18
  }
10
- export declare function PaginatedNodes(props: PaginatedNodesProps): import("react/jsx-runtime").JSX.Element;
11
- export {};
19
+ export declare function PaginatedNodes({ path, database, parentRef, additionalNodesProps, columns, defaultColumnsIds, requiredColumnsIds, selectedColumnsKey, groupByParams, }: PaginatedNodesProps): import("react/jsx-runtime").JSX.Element;
@@ -3,22 +3,25 @@ import React from 'react';
3
3
  import { ResponseError } from '../../components/Errors/ResponseError';
4
4
  import { LoaderWrapper } from '../../components/LoaderWrapper/LoaderWrapper';
5
5
  import { TableWithControlsLayout } from '../../components/TableWithControlsLayout/TableWithControlsLayout';
6
+ import { NODES_COLUMNS_TITLES } from '../../components/nodesColumns/constants';
6
7
  import { useCapabilitiesLoaded, useViewerNodesHandlerHasGrouping, } from '../../store/reducers/capabilities/hooks';
7
8
  import { nodesApi } from '../../store/reducers/nodes/nodes';
8
9
  import { useProblemFilter } from '../../store/reducers/settings/hooks';
9
10
  import { useAutoRefreshInterval } from '../../utils/hooks';
11
+ import { useSelectedColumns } from '../../utils/hooks/useSelectedColumns';
10
12
  import { NodesUptimeFilterValues } from '../../utils/nodes';
11
13
  import { TableGroup } from '../Storage/TableGroup/TableGroup';
12
14
  import { useExpandedGroups } from '../Storage/TableGroup/useExpandedTableGroups';
13
15
  import { NodesControls } from './NodesControls/NodesControls';
14
16
  import { PaginatedNodesTable } from './PaginatedNodesTable';
15
- import { useNodesSelectedColumns } from './columns/hooks';
17
+ import { getNodesColumns } from './columns/columns';
18
+ import { ALL_NODES_GROUP_BY_PARAMS, DEFAULT_NODES_COLUMNS, NODES_TABLE_SELECTED_COLUMNS_LS_KEY, REQUIRED_NODES_COLUMNS, } from './columns/constants';
16
19
  import i18n from './i18n';
17
20
  import { b } from './shared';
18
21
  import { useNodesPageQueryParams } from './useNodesPageQueryParams';
19
22
  import './Nodes.scss';
20
- export function PaginatedNodes(props) {
21
- const { uptimeFilter, groupByParam, handleUptimeFilterChange } = useNodesPageQueryParams();
23
+ export function PaginatedNodes({ path, database, parentRef, additionalNodesProps, columns = getNodesColumns({ database, getNodeRef: additionalNodesProps === null || additionalNodesProps === void 0 ? void 0 : additionalNodesProps.getNodeRef }), defaultColumnsIds = DEFAULT_NODES_COLUMNS, requiredColumnsIds = REQUIRED_NODES_COLUMNS, selectedColumnsKey = NODES_TABLE_SELECTED_COLUMNS_LS_KEY, groupByParams = ALL_NODES_GROUP_BY_PARAMS, }) {
24
+ const { uptimeFilter, groupByParam, handleUptimeFilterChange } = useNodesPageQueryParams(groupByParams);
22
25
  const { problemFilter, handleProblemFilterChange } = useProblemFilter();
23
26
  const capabilitiesLoaded = useCapabilitiesLoaded();
24
27
  const viewerNodesHandlerHasGrouping = useViewerNodesHandlerHasGrouping();
@@ -39,32 +42,26 @@ export function PaginatedNodes(props) {
39
42
  ]);
40
43
  const renderContent = () => {
41
44
  if (viewerNodesHandlerHasGrouping && groupByParam) {
42
- return _jsx(GroupedNodesComponent, { ...props });
45
+ return (_jsx(GroupedNodesComponent, { path: path, database: database, parentRef: parentRef, columns: columns, defaultColumnsIds: defaultColumnsIds, requiredColumnsIds: requiredColumnsIds, selectedColumnsKey: selectedColumnsKey, groupByParams: groupByParams }));
43
46
  }
44
- return _jsx(NodesComponent, { ...props });
47
+ return (_jsx(NodesComponent, { path: path, database: database, parentRef: parentRef, columns: columns, defaultColumnsIds: defaultColumnsIds, requiredColumnsIds: requiredColumnsIds, selectedColumnsKey: selectedColumnsKey, groupByParams: groupByParams }));
45
48
  };
46
49
  return _jsx(LoaderWrapper, { loading: !capabilitiesLoaded, children: renderContent() });
47
50
  }
48
- function NodesComponent({ path, database, parentRef, additionalNodesProps }) {
49
- const { searchValue, uptimeFilter } = useNodesPageQueryParams();
51
+ function NodesComponent({ path, database, parentRef, columns, defaultColumnsIds, requiredColumnsIds, selectedColumnsKey, groupByParams, }) {
52
+ const { searchValue, uptimeFilter } = useNodesPageQueryParams(groupByParams);
50
53
  const { problemFilter } = useProblemFilter();
51
54
  const viewerNodesHandlerHasGrouping = useViewerNodesHandlerHasGrouping();
52
- const { columnsToShow, columnsToSelect, setColumns } = useNodesSelectedColumns({
53
- getNodeRef: additionalNodesProps === null || additionalNodesProps === void 0 ? void 0 : additionalNodesProps.getNodeRef,
54
- database,
55
- });
55
+ const { columnsToShow, columnsToSelect, setColumns } = useSelectedColumns(columns, selectedColumnsKey, NODES_COLUMNS_TITLES, defaultColumnsIds, requiredColumnsIds);
56
56
  const renderControls = ({ totalEntities, foundEntities, inited }) => {
57
- return (_jsx(NodesControls, { withGroupBySelect: viewerNodesHandlerHasGrouping, columnsToSelect: columnsToSelect, handleSelectedColumnsUpdate: setColumns, entitiesCountCurrent: foundEntities, entitiesCountTotal: totalEntities, entitiesLoading: !inited }));
57
+ return (_jsx(NodesControls, { withGroupBySelect: viewerNodesHandlerHasGrouping, groupByParams: groupByParams, columnsToSelect: columnsToSelect, handleSelectedColumnsUpdate: setColumns, entitiesCountCurrent: foundEntities, entitiesCountTotal: totalEntities, entitiesLoading: !inited }));
58
58
  };
59
59
  return (_jsx(PaginatedNodesTable, { path: path, database: database, searchValue: searchValue, problemFilter: problemFilter, uptimeFilter: uptimeFilter, columns: columnsToShow, parentRef: parentRef, renderControls: renderControls }));
60
60
  }
61
- function GroupedNodesComponent({ path, database, parentRef, additionalNodesProps, }) {
62
- const { searchValue, groupByParam } = useNodesPageQueryParams();
61
+ function GroupedNodesComponent({ path, database, parentRef, columns, defaultColumnsIds, requiredColumnsIds, selectedColumnsKey, groupByParams, }) {
62
+ const { searchValue, groupByParam } = useNodesPageQueryParams(groupByParams);
63
63
  const [autoRefreshInterval] = useAutoRefreshInterval();
64
- const { columnsToShow, columnsToSelect, setColumns } = useNodesSelectedColumns({
65
- getNodeRef: additionalNodesProps === null || additionalNodesProps === void 0 ? void 0 : additionalNodesProps.getNodeRef,
66
- database,
67
- });
64
+ const { columnsToShow, columnsToSelect, setColumns } = useSelectedColumns(columns, selectedColumnsKey, NODES_COLUMNS_TITLES, defaultColumnsIds, requiredColumnsIds);
68
65
  const { currentData, isFetching, error } = nodesApi.useGetNodesQuery({
69
66
  path,
70
67
  database,
@@ -78,7 +75,7 @@ function GroupedNodesComponent({ path, database, parentRef, additionalNodesProps
78
75
  const { NodeGroups: tableGroups, FoundNodes: found = 0, TotalNodes: total = 0, } = currentData || {};
79
76
  const { expandedGroups, setIsGroupExpanded } = useExpandedGroups(tableGroups);
80
77
  const renderControls = () => {
81
- return (_jsx(NodesControls, { withGroupBySelect: true, columnsToSelect: columnsToSelect, handleSelectedColumnsUpdate: setColumns, entitiesCountCurrent: found, entitiesCountTotal: total, entitiesLoading: isLoading }));
78
+ return (_jsx(NodesControls, { withGroupBySelect: true, groupByParams: groupByParams, columnsToSelect: columnsToSelect, handleSelectedColumnsUpdate: setColumns, entitiesCountCurrent: found, entitiesCountTotal: total, entitiesLoading: isLoading }));
82
79
  };
83
80
  const renderGroups = () => {
84
81
  if (tableGroups === null || tableGroups === void 0 ? void 0 : tableGroups.length) {
@@ -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,aAAa,EAAC,MAAM,uCAAuC,CAAC;AACpE,OAAO,EAAC,aAAa,EAAC,MAAM,8CAA8C,CAAC;AAE3E,OAAO,EAAC,uBAAuB,EAAC,MAAM,kEAAkE,CAAC;AACzG,OAAO,EACH,qBAAqB,EACrB,gCAAgC,GACnC,MAAM,yCAAyC,CAAC;AACj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,EAAE,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,EAC/C,KAAC,uBAAuB,CAAC,KAAK,IAAC,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,CAAC,CAAC,gBAAgB,CAAC,YAC5E,YAAY,EAAE,GACa,IACV,CAC7B,CAAC;AACN,CAAC"}
@@ -4,5 +4,6 @@ import type { NodesGroupByField } from '../../../types/api/nodes';
4
4
  export declare const NODES_TABLE_SELECTED_COLUMNS_LS_KEY = "nodesTableSelectedColumns";
5
5
  export declare const DEFAULT_NODES_COLUMNS: NodesColumnId[];
6
6
  export declare const REQUIRED_NODES_COLUMNS: NodesColumnId[];
7
- export declare function getNodesGroupByOptions(withSystemStateGroupBy?: boolean): SelectOption[];
8
- export declare function parseNodesGroupByParam(paramToParse: unknown, withSystemStateGroupBy?: boolean): NodesGroupByField | undefined;
7
+ export declare const ALL_NODES_GROUP_BY_PARAMS: ["SystemState", "Host", "DC", "Rack", "Database", "Version", "Uptime"];
8
+ export declare function getNodesGroupByOptions(groupByParams: NodesGroupByField[], withSystemStateGroupBy?: boolean): SelectOption[];
9
+ export declare function parseNodesGroupByParam(paramToParse: unknown, groupByParams: NodesGroupByField[], withSystemStateGroupBy?: boolean): NodesGroupByField | undefined;
@@ -13,7 +13,7 @@ export const DEFAULT_NODES_COLUMNS = [
13
13
  'Tablets',
14
14
  ];
15
15
  export const REQUIRED_NODES_COLUMNS = ['NodeId'];
16
- const ALL_NODES_GROUP_BY_PARAMS = [
16
+ export const ALL_NODES_GROUP_BY_PARAMS = [
17
17
  'SystemState',
18
18
  'Host',
19
19
  'DC',
@@ -22,22 +22,22 @@ const ALL_NODES_GROUP_BY_PARAMS = [
22
22
  'Version',
23
23
  'Uptime',
24
24
  ];
25
- function getAvailableNodesGroupByParams(withSystemStateGroupBy) {
25
+ function prepareGroupByParams(groupByParams, withSystemStateGroupBy) {
26
26
  if (!withSystemStateGroupBy) {
27
- return ALL_NODES_GROUP_BY_PARAMS.filter((param) => param !== 'SystemState');
27
+ return groupByParams.filter((param) => param !== 'SystemState');
28
28
  }
29
- return ALL_NODES_GROUP_BY_PARAMS;
29
+ return groupByParams;
30
30
  }
31
- export function getNodesGroupByOptions(withSystemStateGroupBy) {
32
- return getAvailableNodesGroupByParams(withSystemStateGroupBy).map((param) => {
31
+ export function getNodesGroupByOptions(groupByParams, withSystemStateGroupBy) {
32
+ return prepareGroupByParams(groupByParams, withSystemStateGroupBy).map((param) => {
33
33
  return {
34
34
  value: param,
35
35
  content: getNodesGroupByFieldTitle(param),
36
36
  };
37
37
  });
38
38
  }
39
- export function parseNodesGroupByParam(paramToParse, withSystemStateGroupBy) {
40
- const availableParams = getAvailableNodesGroupByParams(withSystemStateGroupBy);
39
+ export function parseNodesGroupByParam(paramToParse, groupByParams, withSystemStateGroupBy) {
40
+ const availableParams = prepareGroupByParams(groupByParams, withSystemStateGroupBy);
41
41
  return availableParams.find((groupByField) => groupByField === paramToParse);
42
42
  }
43
43
  //# sourceMappingURL=constants.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../src/containers/Nodes/columns/constants.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,yBAAyB,EAAC,MAAM,4CAA4C,CAAC;AAIrF,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,OAAO;IACP,aAAa;IACb,SAAS;CACZ,CAAC;AAEF,MAAM,CAAC,MAAM,sBAAsB,GAAoB,CAAC,QAAQ,CAAC,CAAC;AAElE,MAAM,yBAAyB,GAAG;IAC9B,aAAa;IACb,MAAM;IACN,IAAI;IACJ,MAAM;IACN,UAAU;IACV,SAAS;IACT,QAAQ;CAC4B,CAAC;AAEzC,SAAS,8BAA8B,CAAC,sBAAgC;IACpE,IAAI,CAAC,sBAAsB,EAAE,CAAC;QAC1B,OAAO,yBAAyB,CAAC,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,KAAK,aAAa,CAAC,CAAC;IAChF,CAAC;IAED,OAAO,yBAAyB,CAAC;AACrC,CAAC;AAED,MAAM,UAAU,sBAAsB,CAAC,sBAAgC;IACnE,OAAO,8BAA8B,CAAC,sBAAsB,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE;QACxE,OAAO;YACH,KAAK,EAAE,KAAK;YACZ,OAAO,EAAE,yBAAyB,CAAC,KAAK,CAAC;SAC5C,CAAC;IACN,CAAC,CAAC,CAAC;AACP,CAAC;AAED,MAAM,UAAU,sBAAsB,CAClC,YAAqB,EACrB,sBAAgC;IAEhC,MAAM,eAAe,GAAG,8BAA8B,CAAC,sBAAsB,CAAC,CAAC;IAE/E,OAAO,eAAe,CAAC,IAAI,CAAC,CAAC,YAAY,EAAE,EAAE,CAAC,YAAY,KAAK,YAAY,CAAC,CAAC;AACjF,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../src/containers/Nodes/columns/constants.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,yBAAyB,EAAC,MAAM,4CAA4C,CAAC;AAIrF,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,OAAO;IACP,aAAa;IACb,SAAS;CACZ,CAAC;AAEF,MAAM,CAAC,MAAM,sBAAsB,GAAoB,CAAC,QAAQ,CAAC,CAAC;AAElE,MAAM,CAAC,MAAM,yBAAyB,GAAG;IACrC,aAAa;IACb,MAAM;IACN,IAAI;IACJ,MAAM;IACN,UAAU;IACV,SAAS;IACT,QAAQ;CAC4B,CAAC;AAEzC,SAAS,oBAAoB,CACzB,aAAkC,EAClC,sBAAgC;IAEhC,IAAI,CAAC,sBAAsB,EAAE,CAAC;QAC1B,OAAO,aAAa,CAAC,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,KAAK,aAAa,CAAC,CAAC;IACpE,CAAC;IAED,OAAO,aAAa,CAAC;AACzB,CAAC;AAED,MAAM,UAAU,sBAAsB,CAClC,aAAkC,EAClC,sBAAgC;IAEhC,OAAO,oBAAoB,CAAC,aAAa,EAAE,sBAAsB,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE;QAC7E,OAAO;YACH,KAAK,EAAE,KAAK;YACZ,OAAO,EAAE,yBAAyB,CAAC,KAAK,CAAC;SAC5C,CAAC;IACN,CAAC,CAAC,CAAC;AACP,CAAC;AAED,MAAM,UAAU,sBAAsB,CAClC,YAAqB,EACrB,aAAkC,EAClC,sBAAgC;IAEhC,MAAM,eAAe,GAAG,oBAAoB,CAAC,aAAa,EAAE,sBAAsB,CAAC,CAAC;IAEpF,OAAO,eAAe,CAAC,IAAI,CAAC,CAAC,YAAY,EAAE,EAAE,CAAC,YAAY,KAAK,YAAY,CAAC,CAAC;AACjF,CAAC"}
@@ -1,8 +1,9 @@
1
+ import type { NodesGroupByField } from '../../types/api/nodes';
1
2
  import type { NodesUptimeFilterValues } from '../../utils/nodes';
2
- export declare function useNodesPageQueryParams(): {
3
+ export declare function useNodesPageQueryParams(groupByParams: NodesGroupByField[] | undefined): {
3
4
  uptimeFilter: NodesUptimeFilterValues;
4
5
  searchValue: string;
5
- groupByParam: import("../../types/api/nodes").NodesGroupByField | undefined;
6
+ groupByParam: NodesGroupByField | undefined;
6
7
  handleSearchQueryChange: (value: string) => void;
7
8
  handleUptimeFilterChange: (value: NodesUptimeFilterValues) => void;
8
9
  handleGroupByParamChange: (value: string) => void;
@@ -2,7 +2,7 @@ import { StringParam, useQueryParams } from 'use-query-params';
2
2
  import { useViewerNodesHandlerHasGroupingBySystemState } from '../../store/reducers/capabilities/hooks';
3
3
  import { nodesUptimeFilterValuesSchema } from '../../utils/nodes';
4
4
  import { parseNodesGroupByParam } from './columns/constants';
5
- export function useNodesPageQueryParams() {
5
+ export function useNodesPageQueryParams(groupByParams) {
6
6
  var _a;
7
7
  const [queryParams, setQueryParams] = useQueryParams({
8
8
  uptimeFilter: StringParam,
@@ -12,7 +12,7 @@ export function useNodesPageQueryParams() {
12
12
  const uptimeFilter = nodesUptimeFilterValuesSchema.parse(queryParams.uptimeFilter);
13
13
  const searchValue = (_a = queryParams.search) !== null && _a !== void 0 ? _a : '';
14
14
  const systemStateGroupingAvailable = useViewerNodesHandlerHasGroupingBySystemState();
15
- const groupByParam = parseNodesGroupByParam(queryParams.nodesGroupBy, systemStateGroupingAvailable);
15
+ const groupByParam = parseNodesGroupByParam(queryParams.nodesGroupBy, groupByParams !== null && groupByParams !== void 0 ? groupByParams : [], systemStateGroupingAvailable);
16
16
  const handleSearchQueryChange = (value) => {
17
17
  setQueryParams({ search: value || undefined }, 'replaceIn');
18
18
  };
@@ -1 +1 @@
1
- {"version":3,"file":"useNodesPageQueryParams.js","sourceRoot":"","sources":["../../../src/containers/Nodes/useNodesPageQueryParams.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,WAAW,EAAE,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAE7D,OAAO,EAAC,6CAA6C,EAAC,MAAM,yCAAyC,CAAC;AAEtG,OAAO,EAAC,6BAA6B,EAAC,MAAM,mBAAmB,CAAC;AAEhE,OAAO,EAAC,sBAAsB,EAAC,MAAM,qBAAqB,CAAC;AAE3D,MAAM,UAAU,uBAAuB;;IACnC,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC,GAAG,cAAc,CAAC;QACjD,YAAY,EAAE,WAAW;QACzB,MAAM,EAAE,WAAW;QACnB,YAAY,EAAE,WAAW;KAC5B,CAAC,CAAC;IAEH,MAAM,YAAY,GAAG,6BAA6B,CAAC,KAAK,CAAC,WAAW,CAAC,YAAY,CAAC,CAAC;IACnF,MAAM,WA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AW;KAC5B,CAAC,CAAC;IAEH,MAAM,YAAY,GAAG,6BAA6B,CAAC,KAAK,CAAC,WAAW,CAAC,YAAY,CAAC,CAAC;IACnF,MAAM,WAAW,GAAG,MAAA,WAAW,CAAC,MAAM,mCAAI,EAAE,CAAC;IAE7C,MAAM,4BAA4B,GAAG,6CAA6C,EAAE,CAAC;IACrF,MAAM,YAAY,GAAG,sBAAsB,CACvC,WAAW,CAAC,YAAY,EACxB,aAAa,aAAb,aAAa,cAAb,aAAa,GAAI,EAAE,EACnB,4BAA4B,CAC/B,CAAC;IAEF,MAAM,uBAAuB,GAAG,CAAC,KAAa,EAAE,EAAE;QAC9C,cAAc,CAAC,EAAC,MAAM,EAAE,KAAK,IAAI,SAAS,EAAC,EAAE,WAAW,CAAC,CAAC;IAC9D,CAAC,CAAC;IACF,MAAM,wBAAwB,GAAG,CAAC,KAA8B,EAAE,EAAE;QAChE,cAAc,CAAC,EAAC,YAAY,EAAE,KAAK,EAAC,EAAE,WAAW,CAAC,CAAC;IACvD,CAAC,CAAC;IACF,MAAM,wBAAwB,GAAG,CAAC,KAAa,EAAE,EAAE;QAC/C,cAAc,CAAC,EAAC,YAAY,EAAE,KAAK,EAAC,EAAE,WAAW,CAAC,CAAC;IACvD,CAAC,CAAC;IAEF,OAAO;QACH,YAAY;QACZ,WAAW;QACX,YAAY;QAEZ,uBAAuB;QACvB,wBAAwB;QACxB,wBAAwB;KAC3B,CAAC;AACN,CAAC"}
@@ -24,7 +24,7 @@ import Describe from './Describe/Describe';
24
24
  import DetailedOverview from './DetailedOverview/DetailedOverview';
25
25
  import { getDataBasePages, getPagesByType } from './DiagnosticsPages';
26
26
  import { HotKeys } from './HotKeys/HotKeys';
27
- import { Network } from './Network/Network';
27
+ import { NetworkWrapper } from './Network/NetworkWrapper';
28
28
  import { Partitions } from './Partitions/Partitions';
29
29
  import { TopQueries } from './TopQueries';
30
30
  import { TopShards } from './TopShards';
@@ -78,7 +78,7 @@ function Diagnostics(props) {
78
78
  return _jsx(StorageWrapper, { database: tenantName, parentRef: containerRef });
79
79
  }
80
80
  case TENANT_DIAGNOSTICS_TABS_IDS.network: {
81
- return _jsx(Network, { tenantName: tenantName });
81
+ return (_jsx(NetworkWrapper, { path: path, database: tenantName, additionalNodesProps: props.additionalNodesProps, parentRef: containerRef }));
82
82
  }
83
83
  case TENANT_DIAGNOSTICS_TABS_IDS.describe: {
84
84
  return _jsx(Describe, { path: path, database: tenantName, type: type });
@@ -1 +1 @@
1
- {"version":3,"file":"Diagnostics.js","sourceRoot":"","sources":["../../../../src/containers/Tenant/Diagnostics/Diagnostics.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,IAAI,EAAC,MAAM,mBAAmB,CAAC;AACvC,OAAO,EAAC,MAAM,EAAC,MAAM,oBAAoB,CAAC;AAC1C,OAAO,EAAC,IAAI,EAAC,MAAM,kBAAkB,CAAC;AACtC,OAAO,EAAC,WAAW,EAAE,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAE7D,OAAO,EAAC,kBAAkB,EAAC,MAAM,2DAA2D,CAAC;AAC7F,OAAO,EAAC,wBAAwB,EAAC,MAAM,4CAA4C,CAAC;AACpF,OAAO,EAAC,2BAA2B,EAAC,MAAM,0CAA0C,CAAC;AACrF,OAAO,EAAC,iBAAiB,EAAC,MAAM,uCAAuC,CAAC;AAGxE,OAAO,EAAC,EAAE,EAAC,MAAM,mBAAmB,CAAC;AACrC,OAAO,EAAC,gBAAgB,EAAE,gBAAgB,EAAC,MAAM,sBAAsB,CAAC;AACxE,OAAO,EAAC,OAAO,EAAC,MAAM,eAAe,CAAC;AACtC,OAAO,EAAC,YAAY,EAAC,MAAM,0BAA0B,CAAC;AACtD,OAAO,EAAC,UAAU,EAAC,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAC,cAAc,EAAC,MAAM,8BAA8B,CAAC;AAC5D,OAAO,EAAC,OAAO,EAAC,MAAM,eAAe,CAAC;A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AAK,SAAS,EAAE,CAAC,CAAC,MAAM,CAAC,aACrB,KAAC,IAAI,IACD,IAAI,EAAC,GAAG,EACR,KAAK,EAAE,KAAK,EACZ,SAAS,EAAE,SAAS,aAAT,SAAS,uBAAT,SAAS,CAAE,EAAE,EACxB,MAAM,EAAE,CAAC,EAAC,EAAE,EAAC,EAAE,IAAI,EAAE,EAAE;4BACnB,MAAM,IAAI,GAAG,aAAa,CAAC;gCACvB,GAAG,WAAW;gCACd,CAAC,gBAAgB,CAAC,cAAc,CAAC,EAAE,EAAE;6BACxC,CAAC,CAAC;4BAEH,OAAO,CACH,KAAC,IAAI,IAAC,EAAE,EAAE,IAAI,EAAW,SAAS,EAAE,CAAC,CAAC,KAAK,CAAC,YACvC,IAAI,IADY,EAAE,CAEhB,CACV,CAAC;wBACN,CAAC,EACD,gBAAgB,EAAE,IAAI,GACxB,EACF,KAAC,kBAAkB,KAAG,IACpB,GACJ,CACT,CAAC;IACN,CAAC,CAAC;IAEF,OAAO,CACH,eAAK,SAAS,EAAE,CAAC,EAAE,aACd,SAAS,CAAC,CAAC,CAAC,CACT,KAAC,MAAM,cACH,0BAAQ,SAAS,CAAC,KAAK,GAAS,GAC3B,CACZ,CAAC,CAAC,CAAC,IAAI,EACP,UAAU,EAAE,EACb,cAAK,SAAS,EAAE,CAAC,CAAC,cAAc,CAAC,EAAE,GAAG,EAAE,YAAY,YAC/C,gBAAgB,EAAE,GACjB,IACJ,CACT,CAAC;AACN,CAAC;AAED,eAAe,WAAW,CAAC"}
1
+ {"version":3,"file":"Diagnostics.js","sourceRoot":"","sources":["../../../../src/containers/Tenant/Diagnostics/Diagnostics.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,IAAI,EAAC,MAAM,mBAAmB,CAAC;AACvC,OAAO,EAAC,MAAM,EAAC,MAAM,oBAAoB,CAAC;AAC1C,OAAO,EAAC,IAAI,EAAC,MAAM,kBAAkB,CAAC;AACtC,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BACN,CAAC,EACD,gBAAgB,EAAE,IAAI,GACxB,EACF,KAAC,kBAAkB,KAAG,IACpB,GACJ,CACT,CAAC;IACN,CAAC,CAAC;IAEF,OAAO,CACH,eAAK,SAAS,EAAE,CAAC,EAAE,aACd,SAAS,CAAC,CAAC,CAAC,CACT,KAAC,MAAM,cACH,0BAAQ,SAAS,CAAC,KAAK,GAAS,GAC3B,CACZ,CAAC,CAAC,CAAC,IAAI,EACP,UAAU,EAAE,EACb,cAAK,SAAS,EAAE,CAAC,CAAC,cAAc,CAAC,EAAE,GAAG,EAAE,YAAY,YAC/C,gBAAgB,EAAE,GACjB,IACJ,CACT,CAAC;AACN,CAAC;AAED,eAAe,WAAW,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { GetNodesColumnsParams } from '../../../../../components/nodesColumns/types';
2
+ import type { NodesPreparedEntity } from '../../../../../store/reducers/nodes/types';
3
+ import type { Column } from '../../../../../utils/tableUtils/types';
4
+ export declare function getNetworkTableNodesColumns(params: GetNodesColumnsParams): Column<NodesPreparedEntity>[];
@@ -0,0 +1,23 @@
1
+ import { getClockSkewColumn, getConnectionsColumn, getCpuColumn, getDataCenterColumn, getHostColumn, getNetworkUtilizationColumn, getNodeIdColumn, getPingTimeColumn, getPoolsColumn, getRackColumn, getReceiveThroughputColumn, getSendThroughputColumn, getUptimeColumn, } from '../../../../../components/nodesColumns/columns';
2
+ import { isSortableNodesColumn } from '../../../../../components/nodesColumns/constants';
3
+ export function getNetworkTableNodesColumns(params) {
4
+ const columns = [
5
+ getNodeIdColumn(),
6
+ getHostColumn(params, { statusForIcon: 'ConnectStatus' }),
7
+ getDataCenterColumn(),
8
+ getRackColumn(),
9
+ getUptimeColumn(),
10
+ getCpuColumn(),
11
+ getPoolsColumn(),
12
+ getConnectionsColumn(),
13
+ getNetworkUtilizationColumn(),
14
+ getSendThroughputColumn(),
15
+ getReceiveThroughputColumn(),
16
+ getPingTimeColumn(),
17
+ getClockSkewColumn(),
18
+ ];
19
+ return columns.map((column) => {
20
+ return { ...column, sortable: isSortableNodesColumn(column.name) };
21
+ });
22
+ }
23
+ //# sourceMappingURL=columns.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"columns.js","sourceRoot":"","sources":["../../../../../../src/containers/Tenant/Diagnostics/Network/NetworkTable/columns.tsx"],"names":[],"mappings":"AAAA,OAAO,EACH,kBAAkB,EAClB,oBAAoB,EACpB,YAAY,EACZ,mBAAmB,EACnB,aAAa,EACb,2BAA2B,EAC3B,eAAe,EACf,iBAAiB,EACjB,cAAc,EACd,aAAa,EACb,0BAA0B,EAC1B,uBAAuB,EACvB,eAAe,GAClB,MAAM,gDAAgD,CAAC;AACxD,OAAO,EAAC,qBAAqB,EAAC,MAAM,kDAAkD,CAAC;AAKvF,MAAM,UAAU,2BAA2B,CACvC,MAA6B;IAE7B,MAAM,OAAO,GAAG;QACZ,eAAe,EAAuB;QACtC,aAAa,CAAsB,MAAM,EAAE,EAAC,aAAa,EAAE,eAAe,EAAC,CAAC;QAC5E,mBAAmB,EAAuB;QAC1C,aAAa,EAAuB;QACpC,eAAe,EAAuB;QACtC,YAAY,EAAuB;QACnC,cAAc,EAAuB;QACrC,oBAAoB,EAAuB;QAC3C,2BAA2B,EAAuB;QAClD,uBAAuB,EAAuB;QAC9C,0BAA0B,EAAuB;QACjD,iBAAiB,EAAuB;QACxC,kBAAkB,EAAuB;KAC5C,CAAC;IAEF,OAAO,OAAO,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE;QAC1B,OAAO,EAAC,GAAG,MAAM,EAAE,QAAQ,EAAE,qBAAqB,CAAC,MAAM,CAAC,IAAI,CAAC,EAAC,CAAC;IACrE,CAAC,CAAC,CAAC;AACP,CAAC"}
@@ -0,0 +1,5 @@
1
+ import type { NodesColumnId } from '../../../../../components/nodesColumns/constants';
2
+ export declare const NETWORK_NODES_TABLE_SELECTED_COLUMNS_KEY = "networkNodesTableSelectedColumns";
3
+ export declare const NETWORK_DEFAULT_NODES_COLUMNS: NodesColumnId[];
4
+ export declare const NETWORK_REQUIRED_NODES_COLUMNS: NodesColumnId[];
5
+ export declare const NETWORK_NODES_GROUP_BY_PARAMS: ["Host", "DC", "Rack", "Uptime", "ConnectStatus", "NetworkUtilization", "PingTime", "ClockSkew"];
@@ -0,0 +1,23 @@
1
+ export const NETWORK_NODES_TABLE_SELECTED_COLUMNS_KEY = 'networkNodesTableSelectedColumns';
2
+ export const NETWORK_DEFAULT_NODES_COLUMNS = [
3
+ 'NodeId',
4
+ 'Host',
5
+ 'Connections',
6
+ 'NetworkUtilization',
7
+ 'SendThroughput',
8
+ 'ReceiveThroughput',
9
+ 'PingTime',
10
+ 'ClockSkew',
11
+ ];
12
+ export const NETWORK_REQUIRED_NODES_COLUMNS = ['NodeId'];
13
+ export const NETWORK_NODES_GROUP_BY_PARAMS = [
14
+ 'Host',
15
+ 'DC',
16
+ 'Rack',
17
+ 'Uptime',
18
+ 'ConnectStatus',
19
+ 'NetworkUtilization',
20
+ 'PingTime',
21
+ 'ClockSkew',
22
+ ];
23
+ //# sourceMappingURL=constants.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../src/containers/Tenant/Diagnostics/Network/NetworkTable/constants.ts"],"names":[],"mappings":"AAGA,MAAM,CAAC,MAAM,wCAAwC,GAAG,kCAAkC,CAAC;AAE3F,MAAM,CAAC,MAAM,6BAA6B,GAAoB;IAC1D,QAAQ;IACR,MAAM;IACN,aAAa;IACb,oBAAoB;IACpB,gBAAgB;IAChB,mBAAmB;IACnB,UAAU;IACV,WAAW;CACd,CAAC;AAEF,MAAM,CAAC,MAAM,8BAA8B,GAAoB,CAAC,QAAQ,CAAC,CAAC;AAE1E,MAAM,CAAC,MAAM,6BAA6B,GAAG;IACzC,MAAM;IACN,IAAI;IACJ,MAAM;IACN,QAAQ;IACR,eAAe;IACf,oBAAoB;IACpB,UAAU;IACV,WAAW;CACyB,CAAC"}
@@ -0,0 +1,6 @@
1
+ import type { PaginatedNodesProps } from '../../../Nodes/PaginatedNodes';
2
+ interface NetworkWrapperProps extends Pick<PaginatedNodesProps, 'path' | 'parentRef' | 'additionalNodesProps'> {
3
+ database: string;
4
+ }
5
+ export declare function NetworkWrapper({ database, path, parentRef, additionalNodesProps, }: NetworkWrapperProps): import("react/jsx-runtime").JSX.Element;
6
+ export {};
@@ -0,0 +1,26 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { LoaderWrapper } from '../../../../components/LoaderWrapper/LoaderWrapper';
3
+ import { useCapabilitiesLoaded, useViewerNodesHandlerHasNetworkStats, } from '../../../../store/reducers/capabilities/hooks';
4
+ import { ENABLE_NETWORK_TABLE_KEY } from '../../../../utils/constants';
5
+ import { useSetting } from '../../../../utils/hooks';
6
+ import { PaginatedNodes } from '../../../Nodes/PaginatedNodes';
7
+ import { Network } from './Network';
8
+ import { getNetworkTableNodesColumns } from './NetworkTable/columns';
9
+ import { NETWORK_DEFAULT_NODES_COLUMNS, NETWORK_NODES_GROUP_BY_PARAMS, NETWORK_NODES_TABLE_SELECTED_COLUMNS_KEY, NETWORK_REQUIRED_NODES_COLUMNS, } from './NetworkTable/constants';
10
+ export function NetworkWrapper({ database, path, parentRef, additionalNodesProps, }) {
11
+ const capabilitiesLoaded = useCapabilitiesLoaded();
12
+ const viewerNodesHasNetworkStats = useViewerNodesHandlerHasNetworkStats();
13
+ const [networkTableEnabled] = useSetting(ENABLE_NETWORK_TABLE_KEY);
14
+ const shouldUseNetworkNodesTable = viewerNodesHasNetworkStats && networkTableEnabled;
15
+ const renderContent = () => {
16
+ if (shouldUseNetworkNodesTable) {
17
+ return (_jsx(PaginatedNodes, { path: path, database: database, parentRef: parentRef, additionalNodesProps: additionalNodesProps, columns: getNetworkTableNodesColumns({
18
+ database: database,
19
+ getNodeRef: additionalNodesProps === null || additionalNodesProps === void 0 ? void 0 : additionalNodesProps.getNodeRef,
20
+ }), defaultColumnsIds: NETWORK_DEFAULT_NODES_COLUMNS, requiredColumnsIds: NETWORK_REQUIRED_NODES_COLUMNS, selectedColumnsKey: NETWORK_NODES_TABLE_SELECTED_COLUMNS_KEY, groupByParams: NETWORK_NODES_GROUP_BY_PARAMS }));
21
+ }
22
+ return _jsx(Network, { tenantName: database });
23
+ };
24
+ return _jsx(LoaderWrapper, { loading: !capabilitiesLoaded, children: renderContent() });
25
+ }
26
+ //# sourceMappingURL=NetworkWrapper.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NetworkWrapper.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Diagnostics/Network/NetworkWrapper.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,aAAa,EAAC,MAAM,oDAAoD,CAAC;AACjF,OAAO,EACH,qBAAqB,EACrB,oCAAoC,GACvC,MAAM,+CAA+C,CAAC;AACvD,OAAO,EAAC,wBAAwB,EAAC,MAAM,6BAA6B,CAAC;AACrE,OAAO,EAAC,UAAU,EAAC,MAAM,yBAAyB,CAAC;AAEnD,OAAO,EAAC,cAAc,EAAC,MAAM,+BAA+B,CAAC;AAE7D,OAAO,EAAC,OAAO,EAAC,MAAM,WAAW,CAAC;AAClC,OAAO,EAAC,2BAA2B,EAAC,MAAM,wBAAwB,CAAC;AACnE,OAAO,EACH,6BAA6B,EAC7B,6BAA6B,EAC7B,wCAAwC,EACxC,8BAA8B,GACjC,MAAM,0BAA0B,CAAC;AAOlC,MAAM,UAAU,cAAc,CAAC,EAC3B,QAAQ,EACR,IAAI,EACJ,SAAS,EACT,oBAAoB,GACF;IAClB,MAAM,kBAAkB,GAAG,qBAAqB,EAAE,CAAC;IACnD,MAAM,0BAA0B,GAAG,oCAAoC,EAAE,CAAC;IAC1E,MAAM,CAAC,mBAAmB,CAAC,GAAG,UAAU,CAAC,wBAAwB,CAAC,CAAC;IAEnE,MAAM,0BAA0B,GAAG,0BAA0B,IAAI,mBAAmB,CAAC;IAErF,MAAM,aAAa,GAAG,GAAG,EAAE;QACvB,IAAI,0BAA0B,EAAE,CAAC;YAC7B,OAAO,CACH,KAAC,cAAc,IACX,IAAI,EAAE,IAAI,EACV,QAAQ,EAAE,QAAQ,EAClB,SAAS,EAAE,SAAS,EACpB,oBAAoB,EAAE,oBAAoB,EAC1C,OAAO,EAAE,2BAA2B,CAAC;oBACjC,QAAQ,EAAE,QAAQ;oBAClB,UAAU,EAAE,oBAAoB,aAApB,oBAAoB,uBAApB,oBAAoB,CAAE,UAAU;iBAC/C,CAAC,EACF,iBAAiB,EAAE,6BAA6B,EAChD,kBAAkB,EAAE,8BAA8B,EAClD,kBAAkB,EAAE,wCAAwC,EAC5D,aAAa,EAAE,6BAA6B,GAC9C,CACL,CAAC;QACN,CAAC;QAED,OAAO,KAAC,OAAO,IAAC,UAAU,EAAE,QAAQ,GAAI,CAAC;IAC7C,CAAC,CAAC;IAEF,OAAO,KAAC,aAAa,IAAC,OAAO,EAAE,CAAC,kBAAkB,YAAG,aAAa,EAAE,GAAiB,CAAC;AAC1F,CAAC"}
@@ -43,7 +43,7 @@ export const Partitions = ({ path, database }) => {
43
43
  const isTopicWithoutConsumers = !topicLoading && !consumers;
44
44
  const wrongSelectedConsumer = selectedConsumer && consumers && !consumers.includes(selectedConsumer);
45
45
  if (isTopicWithoutConsumers || wrongSelectedConsumer) {
46
- dispatch(setSelectedConsumer(''));
46
+ dispatch(setSelectedConsumer(undefined));
47
47
  }
48
48
  }, [dispatch, topicLoading, selectedConsumer, consumers]);
49
49
  const columnsToShow = React.useMemo(() => {
@@ -1 +1 @@
1
- {"version":3,"file":"Partitions.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Diagnostics/Partitions/Partitions.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,SAAS,EAAC,MAAM,wBAAwB,CAAC;AAEjD,OAAO,EAAC,aAAa,EAAC,MAAM,6CAA6C,CAAC;AAC1E,OAAO,EAAC,mBAAmB,EAAC,MAAM,gEAAgE,CAAC;AACnG,OAAO,EA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