ydb-embedded-ui 6.34.0 → 6.35.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (110) hide show
  1. package/dist/components/NodeHostWrapper/NodeHostWrapper.d.ts +5 -3
  2. package/dist/components/NodeHostWrapper/NodeHostWrapper.js +3 -2
  3. package/dist/components/NodeHostWrapper/NodeHostWrapper.js.map +1 -1
  4. package/dist/components/nodesColumns/__test__/utils.test.d.ts +1 -0
  5. package/dist/components/nodesColumns/__test__/utils.test.js +28 -0
  6. package/dist/components/nodesColumns/__test__/utils.test.js.map +1 -0
  7. package/dist/components/nodesColumns/columns.d.ts +28 -2
  8. package/dist/components/nodesColumns/columns.js +82 -4
  9. package/dist/components/nodesColumns/columns.js.map +1 -1
  10. package/dist/components/nodesColumns/constants.d.ts +12 -0
  11. package/dist/components/nodesColumns/constants.js +36 -0
  12. package/dist/components/nodesColumns/constants.js.map +1 -1
  13. package/dist/components/nodesColumns/i18n/en.json +11 -1
  14. package/dist/components/nodesColumns/i18n/index.d.ts +1 -1
  15. package/dist/components/nodesColumns/utils.d.ts +2 -0
  16. package/dist/components/nodesColumns/utils.js +11 -0
  17. package/dist/components/nodesColumns/utils.js.map +1 -0
  18. package/dist/containers/Nodes/Nodes.js +2 -2
  19. package/dist/containers/Nodes/Nodes.js.map +1 -1
  20. package/dist/containers/Nodes/NodesControls/NodesControls.d.ts +3 -1
  21. package/dist/containers/Nodes/NodesControls/NodesControls.js +3 -3
  22. package/dist/containers/Nodes/NodesControls/NodesControls.js.map +1 -1
  23. package/dist/containers/Nodes/PaginatedNodes.d.ts +11 -3
  24. package/dist/containers/Nodes/PaginatedNodes.js +16 -19
  25. package/dist/containers/Nodes/PaginatedNodes.js.map +1 -1
  26. package/dist/containers/Nodes/columns/constants.d.ts +3 -2
  27. package/dist/containers/Nodes/columns/constants.js +8 -8
  28. package/dist/containers/Nodes/columns/constants.js.map +1 -1
  29. package/dist/containers/Nodes/useNodesPageQueryParams.d.ts +3 -2
  30. package/dist/containers/Nodes/useNodesPageQueryParams.js +2 -2
  31. package/dist/containers/Nodes/useNodesPageQueryParams.js.map +1 -1
  32. package/dist/containers/Tenant/Diagnostics/Diagnostics.js +2 -2
  33. package/dist/containers/Tenant/Diagnostics/Diagnostics.js.map +1 -1
  34. package/dist/containers/Tenant/Diagnostics/Network/NetworkTable/columns.d.ts +4 -0
  35. package/dist/containers/Tenant/Diagnostics/Network/NetworkTable/columns.js +23 -0
  36. package/dist/containers/Tenant/Diagnostics/Network/NetworkTable/columns.js.map +1 -0
  37. package/dist/containers/Tenant/Diagnostics/Network/NetworkTable/constants.d.ts +5 -0
  38. package/dist/containers/Tenant/Diagnostics/Network/NetworkTable/constants.js +23 -0
  39. package/dist/containers/Tenant/Diagnostics/Network/NetworkTable/constants.js.map +1 -0
  40. package/dist/containers/Tenant/Diagnostics/Network/NetworkWrapper.d.ts +6 -0
  41. package/dist/containers/Tenant/Diagnostics/Network/NetworkWrapper.js +26 -0
  42. package/dist/containers/Tenant/Diagnostics/Network/NetworkWrapper.js.map +1 -0
  43. package/dist/containers/Tenant/Diagnostics/Partitions/Partitions.js +1 -1
  44. package/dist/containers/Tenant/Diagnostics/Partitions/Partitions.js.map +1 -1
  45. package/dist/containers/Tenant/Diagnostics/Partitions/PartitionsControls/PartitionsControls.d.ts +2 -2
  46. package/dist/containers/Tenant/Diagnostics/Partitions/PartitionsControls/PartitionsControls.js +3 -2
  47. package/dist/containers/Tenant/Diagnostics/Partitions/PartitionsControls/PartitionsControls.js.map +1 -1
  48. package/dist/containers/Tenant/Query/NewSQL/NewSQL.js +3 -9
  49. package/dist/containers/Tenant/Query/NewSQL/NewSQL.js.map +1 -1
  50. package/dist/containers/Tenant/Query/NewSQL/i18n/en.json +1 -2
  51. package/dist/containers/Tenant/Query/NewSQL/i18n/index.d.ts +1 -1
  52. package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.js +17 -3
  53. package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.js.map +1 -1
  54. package/dist/containers/Tenant/Query/SaveQuery/SaveQuery.d.ts +12 -3
  55. package/dist/containers/Tenant/Query/SaveQuery/SaveQuery.js +25 -10
  56. package/dist/containers/Tenant/Query/SaveQuery/SaveQuery.js.map +1 -1
  57. package/dist/containers/Tenant/utils/newSQLQueryActions.d.ts +0 -1
  58. package/dist/containers/Tenant/utils/newSQLQueryActions.js +0 -1
  59. package/dist/containers/Tenant/utils/newSQLQueryActions.js.map +1 -1
  60. package/dist/containers/Tenant/utils/schemaActions.js +5 -4
  61. package/dist/containers/Tenant/utils/schemaActions.js.map +1 -1
  62. package/dist/containers/Tenant/utils/schemaQueryTemplates.js +86 -53
  63. package/dist/containers/Tenant/utils/schemaQueryTemplates.js.map +1 -1
  64. package/dist/containers/UserSettings/i18n/en.json +1 -0
  65. package/dist/containers/UserSettings/i18n/index.d.ts +1 -1
  66. package/dist/containers/UserSettings/settings.d.ts +1 -0
  67. package/dist/containers/UserSettings/settings.js +6 -2
  68. package/dist/containers/UserSettings/settings.js.map +1 -1
  69. package/dist/services/settings.d.ts +1 -0
  70. package/dist/services/settings.js +2 -1
  71. package/dist/services/settings.js.map +1 -1
  72. package/dist/store/configureStore.d.ts +12 -4
  73. package/dist/store/defaultStore.d.ts +6 -2
  74. package/dist/store/reducers/capabilities/capabilities.d.ts +24 -8
  75. package/dist/store/reducers/capabilities/hooks.d.ts +1 -0
  76. package/dist/store/reducers/capabilities/hooks.js +3 -0
  77. package/dist/store/reducers/capabilities/hooks.js.map +1 -1
  78. package/dist/store/reducers/cluster/cluster.d.ts +18 -6
  79. package/dist/store/reducers/healthcheckInfo/healthcheckInfo.d.ts +60 -20
  80. package/dist/store/reducers/index.d.ts +9 -3
  81. package/dist/store/reducers/node/selectors.d.ts +3 -1
  82. package/dist/store/reducers/nodes/types.d.ts +13 -0
  83. package/dist/store/reducers/nodes/utils.js +3 -3
  84. package/dist/store/reducers/nodes/utils.js.map +1 -1
  85. package/dist/store/reducers/nodesList.d.ts +3 -1
  86. package/dist/store/reducers/partitions/partitions.d.ts +4 -3
  87. package/dist/store/reducers/partitions/partitions.js +1 -3
  88. package/dist/store/reducers/partitions/partitions.js.map +1 -1
  89. package/dist/store/reducers/partitions/types.d.ts +0 -3
  90. package/dist/store/reducers/queryActions/types.d.ts +1 -1
  91. package/dist/store/reducers/tablets.d.ts +15 -5
  92. package/dist/store/reducers/tenants/selectors.d.ts +27 -9
  93. package/dist/store/reducers/topic.d.ts +45 -15
  94. package/dist/types/api/nodes.d.ts +56 -0
  95. package/dist/types/api/nodes.js.map +1 -1
  96. package/dist/utils/constants.d.ts +1 -0
  97. package/dist/utils/constants.js +1 -0
  98. package/dist/utils/constants.js.map +1 -1
  99. package/dist/utils/dataFormatters/dataFormatters.d.ts +1 -1
  100. package/dist/utils/dataFormatters/dataFormatters.js +12 -6
  101. package/dist/utils/dataFormatters/dataFormatters.js.map +1 -1
  102. package/dist/utils/hooks/withConfirmation/useChangeInputWithConfirmation.js +12 -8
  103. package/dist/utils/hooks/withConfirmation/useChangeInputWithConfirmation.js.map +1 -1
  104. package/dist/utils/monaco/insertSnippet.d.ts +1 -0
  105. package/dist/utils/monaco/insertSnippet.js +8 -0
  106. package/dist/utils/monaco/insertSnippet.js.map +1 -0
  107. package/dist/utils/timeParsers/parsers.d.ts +1 -1
  108. package/dist/utils/timeParsers/parsers.js +3 -2
  109. package/dist/utils/timeParsers/parsers.js.map +1 -1
  110. package/package.json +2 -2
@@ -1,13 +1,15 @@
1
1
  import type { NodeAddress } from '../../types/additionalProps';
2
- import type { TSystemStateInfo } from '../../types/api/nodes';
3
- export type NodeHostData = NodeAddress & Pick<TSystemStateInfo, 'SystemState'> & {
2
+ import type { TNodeInfo, TSystemStateInfo } from '../../types/api/nodes';
3
+ export type NodeHostData = NodeAddress & Pick<TNodeInfo, 'ConnectStatus'> & Pick<TSystemStateInfo, 'SystemState'> & {
4
4
  NodeId: string | number;
5
5
  TenantName?: string;
6
6
  };
7
+ export type StatusForIcon = 'SystemState' | 'ConnectStatus';
7
8
  interface NodeHostWrapperProps {
8
9
  node: NodeHostData;
9
10
  getNodeRef?: (node?: NodeAddress) => string | null;
10
11
  database?: string;
12
+ statusForIcon?: StatusForIcon;
11
13
  }
12
- export declare const NodeHostWrapper: ({ node, getNodeRef, database }: NodeHostWrapperProps) => import("react/jsx-runtime").JSX.Element;
14
+ export declare const NodeHostWrapper: ({ node, getNodeRef, database, statusForIcon, }: NodeHostWrapperProps) => import("react/jsx-runtime").JSX.Element;
13
15
  export {};
@@ -6,10 +6,11 @@ import { isUnavailableNode } from '../../utils/nodes';
6
6
  import { CellWithPopover } from '../CellWithPopover/CellWithPopover';
7
7
  import { EntityStatus } from '../EntityStatus/EntityStatus';
8
8
  import { NodeEndpointsTooltipContent } from '../TooltipsContent';
9
- export const NodeHostWrapper = ({ node, getNodeRef, database }) => {
9
+ export const NodeHostWrapper = ({ node, getNodeRef, database, statusForIcon, }) => {
10
10
  if (!node.Host) {
11
11
  return _jsx("span", { children: "\u2014" });
12
12
  }
13
+ const status = statusForIcon === 'ConnectStatus' ? node.ConnectStatus : node.SystemState;
13
14
  const isNodeAvailable = !isUnavailableNode(node);
14
15
  let developerUIInternalHref;
15
16
  if (getNodeRef) {
@@ -27,6 +28,6 @@ export const NodeHostWrapper = ({ node, getNodeRef, database }) => {
27
28
  database: database !== null && database !== void 0 ? database : node.TenantName,
28
29
  })
29
30
  : undefined;
30
- return (_jsx(CellWithPopover, { disabled: !isNodeAvailable, content: _jsx(NodeEndpointsTooltipContent, { data: node, nodeHref: developerUIInternalHref }), placement: ['top', 'bottom'], behavior: PopoverBehavior.Immediate, delayClosing: 200, children: _jsx(EntityStatus, { name: node.Host, status: node.SystemState, path: nodePath, hasClipboardButton: true }) }));
31
+ return (_jsx(CellWithPopover, { disabled: !isNodeAvailable, content: _jsx(NodeEndpointsTooltipContent, { data: node, nodeHref: developerUIInternalHref }), placement: ['top', 'bottom'], behavior: PopoverBehavior.Immediate, delayClosing: 200, children: _jsx(EntityStatus, { name: node.Host, status: status, path: nodePath, hasClipboardButton: true }) }));
31
32
  };
32
33
  //# sourceMappingURL=NodeHostWrapper.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"NodeHostWrapper.js","sourceRoot":"","sources":["../../../src/components/NodeHostWrapper/NodeHostWrapper.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,mBAAmB,CAAC;AAElD,OAAO,EAAC,kBAAkB,EAAC,MAAM,iCAAiC,CAAC;AAGnE,OAAO,EACH,iCAAiC,EACjC,+BAA+B,GAClC,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EAAC,iBAAiB,EAAC,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAC,eAAe,EAAC,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAC,YAAY,EAAC,MAAM,8BAA8B,CAAC;AAC1D,OAAO,EAAC,2BAA2B,EAAC,MAAM,oBAAoB,CAAC;AAc/D,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,EAAC,IAAI,EAAE,UAAU,EAAE,QAAQ,EAAuB,EAAE,EAAE;IAClF,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC;QACb,OAAO,oCAAc,CAAC;IAC1B,CAAC;IAED,MAAM,eAAe,GAAG,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC;IAEjD,IAAI,uBAA2C,CAAC;IAChD,IAAI,UAAU,EAAE,CAAC;QACb,MAAM,eAAe,GAAG,UAAU,CAAC,IAAI,CAAC,CAAC;QACzC,uBAAuB,GAAG,eAAe;YACrC,CAAC,CAAC,iCAAiC,CAAC,eAAe,CAAC;YACpD,CAAC,CAAC,SAAS,CAAC;IACpB,CAAC;SAAM,IAAI,IAAI,CAAC,MAAM,EAAE,CAAC;QACrB,MAAM,eAAe,GAAG,+BAA+B,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QACrE,uBAAuB,GAAG,iCAAiC,CAAC,eAAe,CAAC,CAAC;IACjF,CAAC;IAED,MAAM,QAAQ,GAAG,eAAe;QAC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ACtE,CACrB,CAAC;AACN,CAAC,CAAC"}
@@ -0,0 +1,28 @@
1
+ import { UNBREAKABLE_GAP } from '../../../utils/utils';
2
+ import { prepareClockSkewValue, preparePingTimeValue } from '../utils';
3
+ describe('preparePingTimeValue', () => {
4
+ it('Should correctly prepare value', () => {
5
+ expect(preparePingTimeValue(1)).toEqual(`0${UNBREAKABLE_GAP}ms`);
6
+ expect(preparePingTimeValue(100)).toEqual(`0.1${UNBREAKABLE_GAP}ms`);
7
+ expect(preparePingTimeValue(5550)).toEqual(`6${UNBREAKABLE_GAP}ms`);
8
+ expect(preparePingTimeValue(100000)).toEqual(`100${UNBREAKABLE_GAP}ms`);
9
+ });
10
+ });
11
+ describe('prepareClockSkewValue', () => {
12
+ it('Should correctly prepare 0 or very low values', () => {
13
+ expect(prepareClockSkewValue(0)).toEqual(`0${UNBREAKABLE_GAP}ms`);
14
+ expect(prepareClockSkewValue(10)).toEqual(`0${UNBREAKABLE_GAP}ms`);
15
+ expect(prepareClockSkewValue(-10)).toEqual(`0${UNBREAKABLE_GAP}ms`);
16
+ });
17
+ it('Should correctly prepare positive values', () => {
18
+ expect(prepareClockSkewValue(100)).toEqual(`+0.1${UNBREAKABLE_GAP}ms`);
19
+ expect(prepareClockSkewValue(5500)).toEqual(`+6${UNBREAKABLE_GAP}ms`);
20
+ expect(prepareClockSkewValue(100000)).toEqual(`+100${UNBREAKABLE_GAP}ms`);
21
+ });
22
+ it('Should correctly prepare negative values', () => {
23
+ expect(prepareClockSkewValue(-100)).toEqual(`-0.1${UNBREAKABLE_GAP}ms`);
24
+ expect(prepareClockSkewValue(-5500)).toEqual(`-6${UNBREAKABLE_GAP}ms`);
25
+ expect(prepareClockSkewValue(-100000)).toEqual(`-100${UNBREAKABLE_GAP}ms`);
26
+ });
27
+ });
28
+ //# sourceMappingURL=utils.test.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.test.js","sourceRoot":"","sources":["../../../../src/components/nodesColumns/__test__/utils.test.ts"],"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AAC,qBAAqB,CAAC,IAAK,CAAC,CAAC,CAAC,OAAO,CAAC,KAAK,eAAe,IAAI,CAAC,CAAC;QACvE,MAAM,CAAC,qBAAqB,CAAC,MAAO,CAAC,CAAC,CAAC,OAAO,CAAC,OAAO,eAAe,IAAI,CAAC,CAAC;IAC/E,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,0CAA0C,EAAE,GAAG,EAAE;QAChD,MAAM,CAAC,qBAAqB,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,OAAO,CAAC,OAAO,eAAe,IAAI,CAAC,CAAC;QACxE,MAAM,CAAC,qBAAqB,CAAC,CAAC,IAAK,CAAC,CAAC,CAAC,OAAO,CAAC,KAAK,eAAe,IAAI,CAAC,CAAC;QACxE,MAAM,CAAC,qBAAqB,CAAC,CAAC,MAAO,CAAC,CAAC,CAAC,OAAO,CAAC,OAAO,eAAe,IAAI,CAAC,CAAC;IAChF,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC"}
@@ -1,13 +1,15 @@
1
1
  import type { TMemoryStats, TPoolStats } from '../../types/api/nodes';
2
2
  import type { TTabletStateInfo } from '../../types/api/tablet';
3
3
  import type { Column } from '../../utils/tableUtils/types';
4
- import type { NodeHostData } from '../NodeHostWrapper/NodeHostWrapper';
4
+ import type { NodeHostData, StatusForIcon } from '../NodeHostWrapper/NodeHostWrapper';
5
5
  import type { GetNodesColumnsParams } from './types';
6
6
  import './NodesColumns.scss';
7
7
  export declare function getNodeIdColumn<T extends {
8
8
  NodeId?: string | number;
9
9
  }>(): Column<T>;
10
- export declare function getHostColumn<T extends NodeHostData>({ getNodeRef, database, }: GetNodesColumnsParams): Column<T>;
10
+ export declare function getHostColumn<T extends NodeHostData>({ getNodeRef, database }: GetNodesColumnsParams, { statusForIcon }?: {
11
+ statusForIcon?: StatusForIcon;
12
+ }): Column<T>;
11
13
  export declare function getNodeNameColumn<T extends {
12
14
  NodeName?: string;
13
15
  }>(): Column<T>;
@@ -61,3 +63,27 @@ export declare function getTabletsColumn<T extends {
61
63
  export declare function getMissingDisksColumn<T extends {
62
64
  Missing?: number;
63
65
  }>(): Column<T>;
66
+ export declare function getConnectionsColumn<T extends {
67
+ Connections?: number;
68
+ }>(): Column<T>;
69
+ export declare function getNetworkUtilizationColumn<T extends {
70
+ NetworkUtilization?: number;
71
+ NetworkUtilizationMin?: number;
72
+ NetworkUtilizationMax?: number;
73
+ }>(): Column<T>;
74
+ export declare function getSendThroughputColumn<T extends {
75
+ SendThroughput?: string;
76
+ }>(): Column<T>;
77
+ export declare function getReceiveThroughputColumn<T extends {
78
+ ReceiveThroughput?: string;
79
+ }>(): Column<T>;
80
+ export declare function getPingTimeColumn<T extends {
81
+ PingTimeUs?: string;
82
+ PingTimeMinUs?: string;
83
+ PingTimeMaxUs?: string;
84
+ }>(): Column<T>;
85
+ export declare function getClockSkewColumn<T extends {
86
+ ClockSkewUs?: string;
87
+ ClockSkewMinUs?: string;
88
+ ClockSkewMaxUs?: string;
89
+ }>(): Column<T>;
@@ -5,9 +5,9 @@ import { getLoadSeverityForNode } from '../../store/reducers/nodes/utils';
5
5
  import { valueIsDefined } from '../../utils';
6
6
  import { cn } from '../../utils/cn';
7
7
  import { EMPTY_DATA_PLACEHOLDER } from '../../utils/constants';
8
- import { formatStorageValues, formatStorageValuesToGb, } from '../../utils/dataFormatters/dataFormatters';
8
+ import { formatPercent, formatStorageValues, formatStorageValuesToGb, } from '../../utils/dataFormatters/dataFormatters';
9
9
  import { getSpaceUsageSeverity } from '../../utils/storage';
10
- import { isNumeric } from '../../utils/utils';
10
+ import { bytesToSpeed, isNumeric } from '../../utils/utils';
11
11
  import { CellWithPopover } from '../CellWithPopover/CellWithPopover';
12
12
  import { MemoryViewer } from '../MemoryViewer/MemoryViewer';
13
13
  import { NodeHostWrapper } from '../NodeHostWrapper/NodeHostWrapper';
@@ -18,6 +18,7 @@ import { formatPool } from '../TooltipsContent';
18
18
  import { UsageLabel } from '../UsageLabel/UsageLabel';
19
19
  import { NODES_COLUMNS_IDS, NODES_COLUMNS_TITLES } from './constants';
20
20
  import i18n from './i18n';
21
+ import { prepareClockSkewValue, preparePingTimeValue } from './utils';
21
22
  import './NodesColumns.scss';
22
23
  const b = cn('ydb-nodes-columns');
23
24
  export function getNodeIdColumn() {
@@ -29,12 +30,12 @@ export function getNodeIdColumn() {
29
30
  align: DataTable.RIGHT,
30
31
  };
31
32
  }
32
- export function getHostColumn({ getNodeRef, database, }) {
33
+ export function getHostColumn({ getNodeRef, database }, { statusForIcon = 'SystemState' } = {}) {
33
34
  return {
34
35
  name: NODES_COLUMNS_IDS.Host,
35
36
  header: NODES_COLUMNS_TITLES.Host,
36
37
  render: ({ row }) => {
37
- return _jsx(NodeHostWrapper, { node: row, getNodeRef: getNodeRef, database: database });
38
+ return (_jsx(NodeHostWrapper, { node: row, getNodeRef: getNodeRef, database: database, statusForIcon: statusForIcon }));
38
39
  },
39
40
  width: 350,
40
41
  align: DataTable.LEFT,
@@ -228,4 +229,81 @@ export function getMissingDisksColumn() {
228
229
  defaultOrder: DataTable.DESCENDING,
229
230
  };
230
231
  }
232
+ // Network diagnostics columns
233
+ export function getConnectionsColumn() {
234
+ return {
235
+ name: NODES_COLUMNS_IDS.Connections,
236
+ header: NODES_COLUMNS_TITLES.Connections,
237
+ render: ({ row }) => (isNumeric(row.Connections) ? row.Connections : EMPTY_DATA_PLACEHOLDER),
238
+ align: DataTable.RIGHT,
239
+ width: 130,
240
+ };
241
+ }
242
+ export function getNetworkUtilizationColumn() {
243
+ return {
244
+ name: NODES_COLUMNS_IDS.NetworkUtilization,
245
+ header: NODES_COLUMNS_TITLES.NetworkUtilization,
246
+ render: ({ row }) => {
247
+ const { NetworkUtilization, NetworkUtilizationMin = 0, NetworkUtilizationMax = 0 } = row;
248
+ if (!isNumeric(NetworkUtilization)) {
249
+ return EMPTY_DATA_PLACEHOLDER;
250
+ }
251
+ return (_jsx(CellWithPopover, { placement: ['top', 'auto'], fullWidth: true, content: _jsxs(DefinitionList, { responsive: true, children: [_jsx(DefinitionList.Item, { name: i18n('sum'), children: formatPercent(NetworkUtilization) }, 'NetworkUtilization'), _jsx(DefinitionList.Item, { name: i18n('min'), children: formatPercent(NetworkUtilizationMin) }, 'NetworkUtilizationMin'), _jsx(DefinitionList.Item, { name: i18n('max'), children: formatPercent(NetworkUtilizationMax) }, 'NetworkUtilizationMax')] }), children: formatPercent(NetworkUtilization) }));
252
+ },
253
+ align: DataTable.RIGHT,
254
+ width: 110,
255
+ };
256
+ }
257
+ export function getSendThroughputColumn() {
258
+ return {
259
+ name: NODES_COLUMNS_IDS.SendThroughput,
260
+ header: NODES_COLUMNS_TITLES.SendThroughput,
261
+ render: ({ row }) => isNumeric(row.SendThroughput)
262
+ ? bytesToSpeed(row.SendThroughput)
263
+ : EMPTY_DATA_PLACEHOLDER,
264
+ align: DataTable.RIGHT,
265
+ width: 110,
266
+ };
267
+ }
268
+ export function getReceiveThroughputColumn() {
269
+ return {
270
+ name: NODES_COLUMNS_IDS.ReceiveThroughput,
271
+ header: NODES_COLUMNS_TITLES.ReceiveThroughput,
272
+ render: ({ row }) => isNumeric(row.ReceiveThroughput)
273
+ ? bytesToSpeed(row.ReceiveThroughput)
274
+ : EMPTY_DATA_PLACEHOLDER,
275
+ align: DataTable.RIGHT,
276
+ width: 110,
277
+ };
278
+ }
279
+ export function getPingTimeColumn() {
280
+ return {
281
+ name: NODES_COLUMNS_IDS.PingTime,
282
+ header: NODES_COLUMNS_TITLES.PingTime,
283
+ render: ({ row }) => {
284
+ const { PingTimeUs, PingTimeMinUs = 0, PingTimeMaxUs = 0 } = row;
285
+ if (!isNumeric(PingTimeUs)) {
286
+ return EMPTY_DATA_PLACEHOLDER;
287
+ }
288
+ return (_jsx(CellWithPopover, { placement: ['top', 'auto'], fullWidth: true, content: _jsxs(DefinitionList, { responsive: true, children: [_jsx(DefinitionList.Item, { name: i18n('avg'), children: preparePingTimeValue(PingTimeUs) }, 'PingTimeUs'), _jsx(DefinitionList.Item, { name: i18n('min'), children: preparePingTimeValue(PingTimeMinUs) }, 'PingTimeMinUs'), _jsx(DefinitionList.Item, { name: i18n('max'), children: preparePingTimeValue(PingTimeMaxUs) }, 'PingTimeMaxUs')] }), children: preparePingTimeValue(PingTimeUs) }));
289
+ },
290
+ align: DataTable.RIGHT,
291
+ width: 110,
292
+ };
293
+ }
294
+ export function getClockSkewColumn() {
295
+ return {
296
+ name: NODES_COLUMNS_IDS.ClockSkew,
297
+ header: NODES_COLUMNS_TITLES.ClockSkew,
298
+ render: ({ row }) => {
299
+ const { ClockSkewUs, ClockSkewMinUs = 0, ClockSkewMaxUs = 0 } = row;
300
+ if (!isNumeric(ClockSkewUs)) {
301
+ return EMPTY_DATA_PLACEHOLDER;
302
+ }
303
+ return (_jsx(CellWithPopover, { placement: ['top', 'auto'], fullWidth: true, content: _jsxs(DefinitionList, { responsive: true, children: [_jsx(DefinitionList.Item, { name: i18n('avg'), children: prepareClockSkewValue(ClockSkewUs) }, 'ClockSkewUs'), _jsx(DefinitionList.Item, { name: i18n('min'), children: prepareClockSkewValue(ClockSkewMinUs) }, 'ClockSkewMinUs'), _jsx(DefinitionList.Item, { name: i18n('max'), children: prepareClockSkewValue(ClockSkewMaxUs) }, 'ClockSkewMaxUs')] }), children: prepareClockSkewValue(ClockSkewUs) }));
304
+ },
305
+ align: DataTable.RIGHT,
306
+ width: 110,
307
+ };
308
+ }
231
309
  //# sourceMappingURL=columns.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"columns.js","sourceRoot":"","sources":["../../../src/components/nodesColumns/columns.tsx"],"names":[],"mappings":";AAAA,OAAO,SAAS,MAAM,8BAA8B,CAAC;AACrD,OAAO,EAAC,cAAc,EAAC,MAAM,mBAAmB,CAAC;AAEjD,OAAO,EAAC,sBAAsB,EAAC,MAAM,kCAAkC,CAAC;AAGxE,OAAO,EAAC,cAAc,EAAC,MAAM,aAAa,CAAC;AAC3C,OAAO,EAAC,EAAE,EAAC,MAAM,gBAAgB,CAAC;AAClC,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AC;YAED,OAAO,CACH,KAAC,eAAe,IACZ,SAAS,EAAE,CAAC,KAAK,EAAE,MAAM,CAAC,EAC1B,SAAS,QACT,OAAO,EACH,MAAC,cAAc,IAAC,UAAU,mBACtB,KAAC,cAAc,CAAC,IAAI,IAAqB,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,YACrD,qBAAqB,CAAC,WAAW,CAAC,IADb,aAAa,CAEjB,EACtB,KAAC,cAAc,CAAC,IAAI,IAAwB,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,YACxD,qBAAqB,CAAC,cAAc,CAAC,IADhB,gBAAgB,CAEpB,EACtB,KAAC,cAAc,CAAC,IAAI,IAAwB,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,YACxD,qBAAqB,CAAC,cAAc,CAAC,IADhB,gBAAgB,CAEpB,IACT,YAGpB,qBAAqB,CAAC,WAAW,CAAC,GACrB,CACrB,CAAC;QACN,CAAC;QACD,KAAK,EAAE,SAAS,CAAC,KAAK;QACtB,KAAK,EAAE,GAAG;KACb,CAAC;AACN,CAAC"}
@@ -18,6 +18,12 @@ export declare const NODES_COLUMNS_IDS: {
18
18
  readonly Load: "Load";
19
19
  readonly DiskSpaceUsage: "DiskSpaceUsage";
20
20
  readonly TotalSessions: "TotalSessions";
21
+ readonly Connections: "Connections";
22
+ readonly NetworkUtilization: "NetworkUtilization";
23
+ readonly SendThroughput: "SendThroughput";
24
+ readonly ReceiveThroughput: "ReceiveThroughput";
25
+ readonly PingTime: "PingTime";
26
+ readonly ClockSkew: "ClockSkew";
21
27
  readonly Missing: "Missing";
22
28
  readonly Tablets: "Tablets";
23
29
  readonly PDisks: "PDisks";
@@ -40,6 +46,12 @@ export declare const NODES_COLUMNS_TITLES: {
40
46
  readonly Load: string;
41
47
  readonly DiskSpaceUsage: string;
42
48
  readonly TotalSessions: string;
49
+ readonly Connections: string;
50
+ readonly NetworkUtilization: string;
51
+ readonly SendThroughput: string;
52
+ readonly ReceiveThroughput: string;
53
+ readonly PingTime: string;
54
+ readonly ClockSkew: string;
43
55
  readonly Missing: string;
44
56
  readonly Tablets: string;
45
57
  readonly PDisks: string;
@@ -17,6 +17,12 @@ export const NODES_COLUMNS_IDS = {
17
17
  Load: 'Load',
18
18
  DiskSpaceUsage: 'DiskSpaceUsage',
19
19
  TotalSessions: 'TotalSessions',
20
+ Connections: 'Connections',
21
+ NetworkUtilization: 'NetworkUtilization',
22
+ SendThroughput: 'SendThroughput',
23
+ ReceiveThroughput: 'ReceiveThroughput',
24
+ PingTime: 'PingTime',
25
+ ClockSkew: 'ClockSkew',
20
26
  Missing: 'Missing',
21
27
  Tablets: 'Tablets',
22
28
  PDisks: 'PDisks',
@@ -72,6 +78,24 @@ export const NODES_COLUMNS_TITLES = {
72
78
  get TotalSessions() {
73
79
  return i18n('sessions');
74
80
  },
81
+ get Connections() {
82
+ return i18n('connections');
83
+ },
84
+ get NetworkUtilization() {
85
+ return i18n('utilization');
86
+ },
87
+ get SendThroughput() {
88
+ return i18n('send');
89
+ },
90
+ get ReceiveThroughput() {
91
+ return i18n('receive');
92
+ },
93
+ get PingTime() {
94
+ return i18n('ping');
95
+ },
96
+ get ClockSkew() {
97
+ return i18n('skew');
98
+ },
75
99
  get Missing() {
76
100
  return i18n('missing');
77
101
  },
@@ -151,6 +175,12 @@ export const NODES_COLUMNS_TO_DATA_FIELDS = {
151
175
  Load: ['LoadAverage'],
152
176
  DiskSpaceUsage: ['DiskSpaceUsage'],
153
177
  TotalSessions: ['SystemState'],
178
+ Connections: ['Connections'],
179
+ NetworkUtilization: ['NetworkUtilization'],
180
+ SendThroughput: ['SendThroughput'],
181
+ ReceiveThroughput: ['ReceiveThroughput'],
182
+ PingTime: ['PingTime'],
183
+ ClockSkew: ['ClockSkew'],
154
184
  Missing: ['Missing'],
155
185
  Tablets: ['Tablets', 'Database'],
156
186
  PDisks: ['PDisks'],
@@ -172,6 +202,12 @@ const NODES_COLUMNS_TO_SORT_FIELDS = {
172
202
  Load: 'LoadAverage',
173
203
  DiskSpaceUsage: 'DiskSpaceUsage',
174
204
  TotalSessions: undefined,
205
+ Connections: 'Connections',
206
+ NetworkUtilization: 'NetworkUtilization',
207
+ SendThroughput: 'SendThroughput',
208
+ ReceiveThroughput: 'ReceiveThroughput',
209
+ PingTime: 'PingTime',
210
+ ClockSkew: 'ClockSkew',
175
211
  Missing: 'Missing',
176
212
  Tablets: undefined,
177
213
  PDisks: undefined,
@@ -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,WAAW,EAAE,aAAa;IAC1B,IAAI,EAAE,MAAM;IACZ,cAAc,EAAE,gBAAgB;IAChC,aAAa,EAAE,eAAe;IAC9B,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,MAAM,EAAE,QAAQ;CACV,CAAC;AAIX,0FAA0F;AAC1F,iGAAiG;AACjG,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAChC,IAAI,MAAM;QACN,OAAO,IAAI,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IACD,IAAI,IAAI;QACJ,OAAO,IAAI,CAAC,MAAM,CAAC,CAAC;IACxB,CAAC;IACD,IAAI,QAAQ;QACR,OAAO,IAAI,CAAC,UAAU,CAAC,CAAC;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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,EAAC,MAAM,sCAAsC,CAAC;AAEjE,OAAO,EAAC,gBAAgB,EAAC,MAAM,qCAAqC,CAAC;AAErE,OAAO,EAAC,sBAAsB,EAAC,MAAM,uBAAuB,CAAC;AAC7D,OAAO,EAAC,sBAAsB,EAAE,YAAY,EAAC,MAAM,mBAAmB,CAAC;AACvE,OAAO,EAAC,uBAAuB,EAAC,MAAM,mBAAmB,CAAC;AAE1D,OAAO,EAAC,aAAa,EAAC,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAC,uBAAuB,EAAC,MAAM,iBAAiB,CAAC;AACxD,OAAO,IAAI,MAAM,QAAQ,CAAC;AAC1B,OAAO,EAAC,eAAe,EAAC,MAAM,UAAU,CAAC;AAC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AK,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,EAAC,6CAA6C,EAAC,MAAM,4CAA4C,CAAC;AACzG,OAAO,EAAC,gBAAgB,EAAC,MAAM,wCAAwC,CAAC;AACxE,OAAO,EAAC,sBAAsB,EAAC,MAAM,sBAAsB,CAAC;AAC5D,OAAO,IAAI,MAAM,SAAS,CAAC;AAC3B,OAAO,EAAC,CAAC,EAAC,MAAM,WAAW,CAAC;AAC5B,OAAO,EAAC,uBAAuB,EAAC,MAAM,4BAA4B,CAAC;AAanE,MAAM,UAAU,aAAa,CAAC,EAC1B,iBAAiB,EAEjB,eAAe,EACf,2BAA2B,EAE3B,oBAAoB,EACpB,kBAAkB,EAClB,eAAe,GACE;IACjB,MAAM,EACF,WAAW,EACX,YAAY,EACZ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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,CAAC;AAClD,OAAO,EAAC,YAAY,EAAC,MAAM,kCAAkC,CAAC;AAC9D,OAAO,EAAC,6CAA6C,EAAC,MAAM,4CAA4C,CAAC;AACzG,OAAO,EAAC,gBAAgB,EAAC,MAAM,wCAAwC,CAAC;AAExE,OAAO,EAAC,sBAAsB,EAAC,MAAM,sBAAsB,CAAC;AAC5D,OAAO,IAAI,MAAM,SAAS,CAAC;AAC3B,OAAO,EAAC,CAAC,EAAC,MAAM,WAAW,CAAC;AAC5B,OAAO,EAAC,uBAAuB,EAAC,MAAM,4BAA4B,CAAC;AAcnE,MAAM,UAAU,aAAa,CAAC,EAC1B,iBAAiB,EACjB,aAAa,GAAG,EAAE,EAElB,eAAe,EACf,2BAA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AC,+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;