ydb-embedded-ui 6.30.0 → 6.32.0-hotfix.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (191) 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/BasicNodeViewer/BasicNodeViewer.js +9 -5
  4. package/dist/components/BasicNodeViewer/BasicNodeViewer.js.map +1 -1
  5. package/dist/components/CellWithPopover/CellWithPopover.d.ts +2 -1
  6. package/dist/components/CellWithPopover/CellWithPopover.js +2 -2
  7. package/dist/components/CellWithPopover/CellWithPopover.js.map +1 -1
  8. package/dist/components/CellWithPopover/CellWithPopover.scss +4 -0
  9. package/dist/components/CriticalActionDialog/CriticalActionDialog.js +4 -0
  10. package/dist/components/CriticalActionDialog/CriticalActionDialog.js.map +1 -1
  11. package/dist/components/NodeHostWrapper/NodeHostWrapper.js +9 -5
  12. package/dist/components/NodeHostWrapper/NodeHostWrapper.js.map +1 -1
  13. package/dist/components/PDiskPopup/PDiskPopup.js +9 -9
  14. package/dist/components/PDiskPopup/PDiskPopup.js.map +1 -1
  15. package/dist/components/PaginatedTable/types.d.ts +1 -1
  16. package/dist/components/ProgressViewer/ProgressViewer.d.ts +2 -1
  17. package/dist/components/ProgressViewer/ProgressViewer.js +2 -2
  18. package/dist/components/ProgressViewer/ProgressViewer.js.map +1 -1
  19. package/dist/components/Search/Search.d.ts +3 -1
  20. package/dist/components/Search/Search.js +2 -2
  21. package/dist/components/Search/Search.js.map +1 -1
  22. package/dist/components/TabletNameWrapper/TabletNameWrapper.js +1 -1
  23. package/dist/components/TabletNameWrapper/TabletNameWrapper.js.map +1 -1
  24. package/dist/components/TenantNameWrapper/TenantNameWrapper.js +1 -1
  25. package/dist/components/TenantNameWrapper/TenantNameWrapper.js.map +1 -1
  26. package/dist/components/TooltipsContent/NodeEndpointsTooltipContent/NodeEndpointsTooltipContent.js +23 -8
  27. package/dist/components/TooltipsContent/NodeEndpointsTooltipContent/NodeEndpointsTooltipContent.js.map +1 -1
  28. package/dist/components/TooltipsContent/NodeEndpointsTooltipContent/i18n/en.json +3 -1
  29. package/dist/components/TooltipsContent/NodeEndpointsTooltipContent/i18n/index.d.ts +1 -1
  30. package/dist/components/TooltipsContent/PoolTooltipContent/PoolTooltipContent.d.ts +4 -0
  31. package/dist/components/TooltipsContent/PoolTooltipContent/PoolTooltipContent.js +1 -1
  32. package/dist/components/TooltipsContent/PoolTooltipContent/PoolTooltipContent.js.map +1 -1
  33. package/dist/components/VDiskInfo/VDiskInfo.js +1 -2
  34. package/dist/components/VDiskInfo/VDiskInfo.js.map +1 -1
  35. package/dist/components/VDiskInfo/i18n/index.d.ts +1 -1
  36. package/dist/components/VDiskPopup/VDiskPopup.js +1 -9
  37. package/dist/components/VDiskPopup/VDiskPopup.js.map +1 -1
  38. package/dist/components/nodesColumns/NodesColumns.scss +6 -0
  39. package/dist/components/nodesColumns/columns.d.ts +10 -0
  40. package/dist/components/nodesColumns/columns.js +56 -4
  41. package/dist/components/nodesColumns/columns.js.map +1 -1
  42. package/dist/components/nodesColumns/constants.d.ts +8 -0
  43. package/dist/components/nodesColumns/constants.js +20 -0
  44. package/dist/components/nodesColumns/constants.js.map +1 -1
  45. package/dist/components/nodesColumns/i18n/en.json +7 -1
  46. package/dist/components/nodesColumns/i18n/index.d.ts +1 -1
  47. package/dist/containers/Clusters/i18n/index.d.ts +1 -1
  48. package/dist/containers/Header/Header.js +2 -9
  49. package/dist/containers/Header/Header.js.map +1 -1
  50. package/dist/containers/Nodes/Nodes.js +11 -33
  51. package/dist/containers/Nodes/Nodes.js.map +1 -1
  52. package/dist/containers/Nodes/Nodes.scss +4 -0
  53. package/dist/containers/Nodes/NodesControls/NodesControls.d.ts +11 -0
  54. package/dist/containers/Nodes/NodesControls/NodesControls.js +24 -0
  55. package/dist/containers/Nodes/NodesControls/NodesControls.js.map +1 -0
  56. package/dist/containers/Nodes/PaginatedNodes.d.ts +2 -2
  57. package/dist/containers/Nodes/PaginatedNodes.js +78 -54
  58. package/dist/containers/Nodes/PaginatedNodes.js.map +1 -1
  59. package/dist/containers/Nodes/PaginatedNodesTable.d.ts +22 -0
  60. package/dist/containers/Nodes/PaginatedNodesTable.js +30 -0
  61. package/dist/containers/Nodes/PaginatedNodesTable.js.map +1 -0
  62. package/dist/containers/Nodes/columns/columns.js +3 -1
  63. package/dist/containers/Nodes/columns/columns.js.map +1 -1
  64. package/dist/containers/Nodes/columns/constants.d.ts +4 -0
  65. package/dist/containers/Nodes/columns/constants.js +29 -1
  66. package/dist/containers/Nodes/columns/constants.js.map +1 -1
  67. package/dist/containers/Nodes/getNodes.js +6 -7
  68. package/dist/containers/Nodes/getNodes.js.map +1 -1
  69. package/dist/containers/Nodes/i18n/en.json +5 -1
  70. package/dist/containers/Nodes/i18n/index.d.ts +1 -1
  71. package/dist/containers/Nodes/i18n/index.js +1 -2
  72. package/dist/containers/Nodes/i18n/index.js.map +1 -1
  73. package/dist/containers/Nodes/shared.d.ts +5 -0
  74. package/dist/containers/Nodes/shared.js +16 -0
  75. package/dist/containers/Nodes/shared.js.map +1 -0
  76. package/dist/containers/Nodes/useNodesPageQueryParams.d.ts +9 -0
  77. package/dist/containers/Nodes/useNodesPageQueryParams.js +34 -0
  78. package/dist/containers/Nodes/useNodesPageQueryParams.js.map +1 -0
  79. package/dist/containers/Operations/Operations.js +3 -3
  80. package/dist/containers/Operations/Operations.js.map +1 -1
  81. package/dist/containers/Operations/OperationsControls.d.ts +1 -1
  82. package/dist/containers/Operations/columns.d.ts +6 -2
  83. package/dist/containers/Operations/columns.js +45 -4
  84. package/dist/containers/Operations/columns.js.map +1 -1
  85. package/dist/containers/Operations/constants.d.ts +1 -1
  86. package/dist/containers/Operations/i18n/en.json +7 -1
  87. package/dist/containers/Operations/i18n/index.d.ts +1 -1
  88. package/dist/containers/Operations/useOperationsQueryParams.d.ts +1 -1
  89. package/dist/containers/Storage/Disks/Disks.js +1 -2
  90. package/dist/containers/Storage/Disks/Disks.js.map +1 -1
  91. package/dist/containers/Storage/PaginatedStorageNodes.js +1 -2
  92. package/dist/containers/Storage/PaginatedStorageNodes.js.map +1 -1
  93. package/dist/containers/Storage/StorageControls/StorageControls.js +2 -2
  94. package/dist/containers/Storage/StorageControls/StorageControls.js.map +1 -1
  95. package/dist/containers/Storage/StorageNodes/columns/columns.js +3 -1
  96. package/dist/containers/Storage/StorageNodes/columns/columns.js.map +1 -1
  97. package/dist/containers/Storage/StorageNodes/columns/constants.js +1 -1
  98. package/dist/containers/Storage/StorageNodes/columns/constants.js.map +1 -1
  99. package/dist/containers/Storage/StorageNodes/getNodes.js +2 -2
  100. package/dist/containers/Storage/StorageNodes/getNodes.js.map +1 -1
  101. package/dist/containers/Storage/i18n/index.d.ts +1 -1
  102. package/dist/containers/Storage/utils/index.d.ts +1 -1
  103. package/dist/containers/Tablets/TabletsTable.js +3 -1
  104. package/dist/containers/Tablets/TabletsTable.js.map +1 -1
  105. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByCpu.js +2 -2
  106. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByCpu.js.map +1 -1
  107. package/dist/containers/Tenant/ObjectSummary/SchemaTree/RefreshTreeButton.js +2 -2
  108. package/dist/containers/Tenant/Query/Issues/Issues.d.ts +4 -2
  109. package/dist/containers/Tenant/Query/Issues/Issues.js +7 -7
  110. package/dist/containers/Tenant/Query/Issues/Issues.js.map +1 -1
  111. package/dist/containers/Tenant/Query/NewSQL/i18n/en.json +1 -1
  112. package/dist/containers/Tenant/i18n/en.json +1 -0
  113. package/dist/containers/Tenant/i18n/index.d.ts +1 -1
  114. package/dist/containers/Tenant/utils/schemaActions.js +5 -1
  115. package/dist/containers/Tenant/utils/schemaActions.js.map +1 -1
  116. package/dist/containers/Tenant/utils/schemaQueryTemplates.js +5 -1
  117. package/dist/containers/Tenant/utils/schemaQueryTemplates.js.map +1 -1
  118. package/dist/services/api.d.ts +3 -1
  119. package/dist/services/api.js +12 -0
  120. package/dist/services/api.js.map +1 -1
  121. package/dist/store/reducers/capabilities/hooks.d.ts +1 -0
  122. package/dist/store/reducers/capabilities/hooks.js +3 -0
  123. package/dist/store/reducers/capabilities/hooks.js.map +1 -1
  124. package/dist/store/reducers/node/selectors.js +5 -5
  125. package/dist/store/reducers/node/selectors.js.map +1 -1
  126. package/dist/store/reducers/node/types.d.ts +3 -4
  127. package/dist/store/reducers/nodes/types.d.ts +3 -1
  128. package/dist/store/reducers/nodes/utils.d.ts +1 -1
  129. package/dist/store/reducers/nodes/utils.js +9 -4
  130. package/dist/store/reducers/nodes/utils.js.map +1 -1
  131. package/dist/store/reducers/operations.d.ts +6 -0
  132. package/dist/store/reducers/operations.js +41 -0
  133. package/dist/store/reducers/operations.js.map +1 -0
  134. package/dist/store/reducers/pdisk/utils.js +6 -3
  135. package/dist/store/reducers/pdisk/utils.js.map +1 -1
  136. package/dist/store/reducers/settings/hooks.d.ts +5 -0
  137. package/dist/store/reducers/settings/hooks.js +14 -0
  138. package/dist/store/reducers/settings/hooks.js.map +1 -0
  139. package/dist/store/reducers/storage/__test__/prepareGroupsDisks.test.d.ts +1 -0
  140. package/dist/store/reducers/storage/__test__/prepareGroupsDisks.test.js +354 -0
  141. package/dist/store/reducers/storage/__test__/prepareGroupsDisks.test.js.map +1 -0
  142. package/dist/store/reducers/storage/prepareGroupsDisks.d.ts +37 -0
  143. package/dist/store/reducers/storage/prepareGroupsDisks.js +72 -0
  144. package/dist/store/reducers/storage/prepareGroupsDisks.js.map +1 -0
  145. package/dist/store/reducers/storage/utils.js +7 -28
  146. package/dist/store/reducers/storage/utils.js.map +1 -1
  147. package/dist/store/reducers/tenantOverview/topShards/utils.d.ts +1 -1
  148. package/dist/store/reducers/vdisk/utils.js +3 -3
  149. package/dist/store/reducers/vdisk/utils.js.map +1 -1
  150. package/dist/types/api/error.d.ts +4 -1
  151. package/dist/types/api/nodes.d.ts +4 -2
  152. package/dist/types/api/nodes.js.map +1 -1
  153. package/dist/types/api/{operationList.d.ts → operations.d.ts} +8 -0
  154. package/dist/types/api/{operationList.js → operations.js} +1 -1
  155. package/dist/types/api/operations.js.map +1 -0
  156. package/dist/types/api/pdisk.d.ts +1 -1
  157. package/dist/types/api/storage.d.ts +2 -2
  158. package/dist/utils/developerUI/__test__/developerUI.test.js +21 -1
  159. package/dist/utils/developerUI/__test__/developerUI.test.js.map +1 -1
  160. package/dist/utils/developerUI/developerUI.d.ts +1 -0
  161. package/dist/utils/developerUI/developerUI.js +3 -0
  162. package/dist/utils/developerUI/developerUI.js.map +1 -1
  163. package/dist/utils/disks/__test__/calculatePDiskSeverity.test.js +10 -7
  164. package/dist/utils/disks/__test__/calculatePDiskSeverity.test.js.map +1 -1
  165. package/dist/utils/disks/__test__/calculateVDiskSeverity.test.js +8 -23
  166. package/dist/utils/disks/__test__/calculateVDiskSeverity.test.js.map +1 -1
  167. package/dist/utils/disks/__test__/prepareDisks.test.d.ts +1 -0
  168. package/dist/utils/disks/__test__/prepareDisks.test.js +200 -0
  169. package/dist/utils/disks/__test__/prepareDisks.test.js.map +1 -0
  170. package/dist/utils/disks/calculatePDiskSeverity.d.ts +5 -2
  171. package/dist/utils/disks/calculatePDiskSeverity.js +2 -2
  172. package/dist/utils/disks/calculatePDiskSeverity.js.map +1 -1
  173. package/dist/utils/disks/calculateVDiskSeverity.d.ts +8 -2
  174. package/dist/utils/disks/calculateVDiskSeverity.js +0 -4
  175. package/dist/utils/disks/calculateVDiskSeverity.js.map +1 -1
  176. package/dist/utils/disks/helpers.d.ts +2 -1
  177. package/dist/utils/disks/helpers.js.map +1 -1
  178. package/dist/utils/disks/prepareDisks.d.ts +22 -4
  179. package/dist/utils/disks/prepareDisks.js +75 -28
  180. package/dist/utils/disks/prepareDisks.js.map +1 -1
  181. package/dist/utils/disks/types.d.ts +9 -2
  182. package/dist/utils/nodes.d.ts +1 -0
  183. package/dist/utils/nodes.js +20 -0
  184. package/dist/utils/nodes.js.map +1 -1
  185. package/dist/utils/storage.d.ts +1 -1
  186. package/package.json +3 -2
  187. package/dist/containers/Nodes/i18n/ru.json +0 -3
  188. package/dist/store/reducers/operationList.d.ts +0 -4
  189. package/dist/store/reducers/operationList.js +0 -19
  190. package/dist/store/reducers/operationList.js.map +0 -1
  191. package/dist/types/api/operationList.js.map +0 -1
@@ -10,7 +10,7 @@ const b = cn('auto-refresh-control');
10
10
  export function AutoRefreshControl({ className }) {
11
11
  const dispatch = useTypedDispatch();
12
12
  const [autoRefreshInterval, setAutoRefreshInterval] = useAutoRefreshInterval();
13
- return (_jsxs("div", { className: b(null, className), children: [_jsx(Button, { view: "flat", onClick: () => {
13
+ return (_jsxs("div", { className: b(null, className), children: [_jsx(Button, { view: "flat-secondary", onClick: () => {
14
14
  dispatch(api.util.invalidateTags(['All']));
15
15
  }, extraProps: { 'aria-label': i18n('Refresh') }, children: _jsx(Button.Icon, { children: _jsx(ArrowsRotateLeft, {}) }) }), _jsxs(Select, { value: [String(autoRefreshInterval)], onUpdate: (v) => {
16
16
  setAutoRefreshInterval(Number(v));
@@ -1 +1 @@
1
- {"version":3,"file":"AutoRefreshControl.js","sourceRoot":"","sources":["../../../src/components/AutoRefreshControl/AutoRefreshControl.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,gBAAgB,EAAC,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAC,MAAM,EAAE,MAAM,EAAC,MAAM,mBAAmB,CAAC;AAEjD,OAAO,EAAC,GAAG,EAAC,MAAM,0BAA0B,CAAC;AAC7C,OAAO,EAAC,EAAE,EAAC,MAAM,gBAAgB,CAAC;AAClC,OAAO,EAAC,sBAAsB,EAAE,gBAAgB,EAAC,MAAM,mBAAmB,CAAC;AAE3E,OAAO,IAAI,MAAM,QAAQ,CAAC;AAE1B,OAAO,2BAA2B,CAAC;AAEnC,MAAM,CAAC,GAAG,EAAE,CAAC,sBAAsB,CAAC,CAAC;AAMrC,MAAM,UAAU,kBAAkB,CAAC,EAAC,SAAS,EAA0B;IACn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,EAAE,EAAE,aAET,KAAC,MAAM,CAAC,MAAM,IAAC,KAAK,EAAC,GAAG,YAAE,IAAI,CAAC,MAAM,CAAC,GAAiB,EACvD,KAAC,MAAM,CAAC,MAAM,IAAC,KAAK,EAAC,OAAO,YAAE,IAAI,CAAC,QAAQ,CAAC,GAAiB,EAC7D,KAAC,MAAM,CAAC,MAAM,IAAC,KAAK,EAAC,OAAO,YAAE,IAAI,CAAC,OAAO,CAAC,GAAiB,EAC5D,KAAC,MAAM,CAAC,MAAM,IAAC,KAAK,EAAC,QAAQ,YAAE,IAAI,CAAC,OAAO,CAAC,GAAiB,EAC7D,KAAC,MAAM,CAAC,MAAM,IAAC,KAAK,EAAC,QAAQ,YAAE,IAAI,CAAC,OAAO,CAAC,GAAiB,IACxD,IACP,CACT,CAAC;AACN,CAAC"}
@@ -3,19 +3,23 @@ import React from 'react';
3
3
  import { ArrowUpRightFromSquare } from '@gravity-ui/icons';
4
4
  import { Icon } from '@gravity-ui/uikit';
5
5
  import { cn } from '../../utils/cn';
6
- import { createDeveloperUILinkWithNodeId } from '../../utils/developerUI/developerUI';
6
+ import { createDeveloperUIInternalPageHref, createDeveloperUILinkWithNodeId, } from '../../utils/developerUI/developerUI';
7
7
  import { EntityStatus } from '../EntityStatus/EntityStatus';
8
8
  import { Tags } from '../Tags';
9
9
  import './BasicNodeViewer.scss';
10
10
  const b = cn('basic-node-viewer');
11
11
  export const BasicNodeViewer = ({ node, additionalNodesProps, className }) => {
12
- let nodeHref;
12
+ let developerUIInternalHref;
13
13
  if (additionalNodesProps === null || additionalNodesProps === void 0 ? void 0 : additionalNodesProps.getNodeRef) {
14
- nodeHref = additionalNodesProps.getNodeRef(node) + '/internal';
14
+ const developerUIHref = additionalNodesProps.getNodeRef(node);
15
+ developerUIInternalHref = developerUIHref
16
+ ? createDeveloperUIInternalPageHref(developerUIHref)
17
+ : undefined;
15
18
  }
16
19
  else if (node.NodeId) {
17
- nodeHref = createDeveloperUILinkWithNodeId(node.NodeId) + '/internal';
20
+ const developerUIHref = createDeveloperUILinkWithNodeId(node.NodeId);
21
+ developerUIInternalHref = createDeveloperUIInternalPageHref(developerUIHref);
18
22
  }
19
- return (_jsx("div", { className: b(null, className), children: node ? (_jsxs(React.Fragment, { children: [_jsx("div", { className: b('title'), children: "Node" }), _jsx(EntityStatus, { status: node.SystemState, name: node.Host }), nodeHref && (_jsx("a", { rel: "noopener noreferrer", className: b('link', { external: true }), href: nodeHref, target: "_blank", children: _jsx(Icon, { data: ArrowUpRightFromSquare }) })), _jsxs("div", { className: b('id'), children: [_jsx("label", { className: b('label'), children: "NodeID" }), _jsx("label", { children: node.NodeId })] }), node.DC && _jsx(Tags, { tags: [node.DC] }), node.Roles && _jsx(Tags, { tags: node.Roles, tagsType: "blue" })] })) : (_jsx("div", { className: "error", children: "no data" })) }));
23
+ return (_jsx("div", { className: b(null, className), children: node ? (_jsxs(React.Fragment, { children: [_jsx("div", { className: b('title'), children: "Node" }), _jsx(EntityStatus, { status: node.SystemState, name: node.Host }), developerUIInternalHref && (_jsx("a", { rel: "noopener noreferrer", className: b('link', { external: true }), href: developerUIInternalHref, target: "_blank", children: _jsx(Icon, { data: ArrowUpRightFromSquare }) })), _jsxs("div", { className: b('id'), children: [_jsx("label", { className: b('label'), children: "NodeID" }), _jsx("label", { children: node.NodeId })] }), node.DC && _jsx(Tags, { tags: [node.DC] }), node.Roles && _jsx(Tags, { tags: node.Roles, tagsType: "blue" })] })) : (_jsx("div", { className: "error", children: "no data" })) }));
20
24
  };
21
25
  //# sourceMappingURL=BasicNodeViewer.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"BasicNodeViewer.js","sourceRoot":"","sources":["../../../src/components/BasicNodeViewer/BasicNodeViewer.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,sBAAsB,EAAC,MAAM,mBAAmB,CAAC;AACzD,OAAO,EAAC,IAAI,EAAC,MAAM,mBAAmB,CAAC;AAIv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,CACpB,CAAC,CAAC,CAAC,CACA,cAAK,SAAS,EAAC,OAAO,wBAAc,CACvC,GACC,CACT,CAAC;AACN,CAAC,CAAC"}
@@ -2,6 +2,7 @@ import type { PopoverProps } from '@gravity-ui/uikit';
2
2
  import './CellWithPopover.scss';
3
3
  interface CellWithPopoverProps extends PopoverProps {
4
4
  wrapperClassName?: string;
5
+ fullWidth?: boolean;
5
6
  }
6
- export declare function CellWithPopover({ children, className, wrapperClassName, ...props }: CellWithPopoverProps): import("react/jsx-runtime").JSX.Element;
7
+ export declare function CellWithPopover({ children, className, wrapperClassName, fullWidth, ...props }: CellWithPopoverProps): import("react/jsx-runtime").JSX.Element;
7
8
  export {};
@@ -4,7 +4,7 @@ import { cn } from '../../utils/cn';
4
4
  import './CellWithPopover.scss';
5
5
  const b = cn('ydb-cell-with-popover');
6
6
  const DELAY_TIMEOUT = 100;
7
- export function CellWithPopover({ children, className, wrapperClassName, ...props }) {
8
- return (_jsx("div", { className: b(null, wrapperClassName), children: _jsx(Popover, { delayClosing: DELAY_TIMEOUT, delayOpening: DELAY_TIMEOUT, className: b('popover', className), ...props, children: children }) }));
7
+ export function CellWithPopover({ children, className, wrapperClassName, fullWidth, ...props }) {
8
+ return (_jsx("div", { className: b({ fullWidth }, wrapperClassName), children: _jsx(Popover, { delayClosing: DELAY_TIMEOUT, delayOpening: DELAY_TIMEOUT, className: b('popover', { 'full-width': fullWidth }, className), ...props, children: children }) }));
9
9
  }
10
10
  //# sourceMappingURL=CellWithPopover.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"CellWithPopover.js","sourceRoot":"","sources":["../../../src/components/CellWithPopover/CellWithPopover.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,OAAO,EAAC,MAAM,mBAAmB,CAAC;AAG1C,OAAO,EAAC,EAAE,EAAC,MAAM,gBAAgB,CAAC;AAElC,OAAO,wBAAwB,CAAC;AAEhC,MAAM,CAAC,GAAG,EAAE,CAAC,uBAAuB,CAAC,CAAC;AAMtC,MAAM,aAAa,GAAG,GAAG,CAAC;AAE1B,MAAM,UAAU,eAAe,CAAC,EAC5B,QAAQ,EACR,SAAS,EACT,gBAAgB,EAChB,GAAG,KAAK,EACW;IACnB,OAAO,CACH,cAAK,SAAS,EAAE,CAAC,CAAC,IAAI,EAAE,gBAAgB,CAAC,YACrC,KAAC,OAAO,IACJ,YAAY,EAAE,aAAa,EAC3B,YAAY,EAAE,aAAa,EAC3B,SAAS,EAAE,CAAC,CAAC,SAAS,EAAE,SAAS,CAAC,KAC9B,KAAK,YAER,QAAQ,GACH,GACR,CACT,CAAC;AACN,CAAC"}
1
+ {"version":3,"file":"CellWithPopover.js","sourceRoot":"","sources":["../../../src/components/CellWithPopover/CellWithPopover.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,OAAO,EAAC,MAAM,mBAAmB,CAAC;AAG1C,OAAO,EAAC,EAAE,EAAC,MAAM,gBAAgB,CAAC;AAElC,OAAO,wBAAwB,CAAC;AAEhC,MAAM,CAAC,GAAG,EAAE,CAAC,uBAAuB,CAAC,CAAC;AAOtC,MAAM,aAAa,GAAG,GAAG,CAAC;AAE1B,MAAM,UAAU,eAAe,CAAC,EAC5B,QAAQ,EACR,SAAS,EACT,gBAAgB,EAChB,SAAS,EACT,GAAG,KAAK,EACW;IACnB,OAAO,CACH,cAAK,SAAS,EAAE,CAAC,CAAC,EAAC,SAAS,EAAC,EAAE,gBAAgB,CAAC,YAC5C,KAAC,OAAO,IACJ,YAAY,EAAE,aAAa,EAC3B,YAAY,EAAE,aAAa,EAC3B,SAAS,EAAE,CAAC,CAAC,SAAS,EAAE,EAAC,YAAY,EAAE,SAAS,EAAC,EAAE,SAAS,CAAC,KACzD,KAAK,YAER,QAAQ,GACH,GACR,CACT,CAAC;AACN,CAAC"}
@@ -16,5 +16,9 @@
16
16
  .g-popover__handler {
17
17
  display: inline;
18
18
  }
19
+
20
+ &_full-width {
21
+ width: 100%;
22
+ }
19
23
  }
20
24
  }
@@ -2,11 +2,15 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import React from 'react';
3
3
  import { CircleXmarkFill, TriangleExclamationFill } from '@gravity-ui/icons';
4
4
  import { Checkbox, Dialog, Icon } from '@gravity-ui/uikit';
5
+ import { ResultIssues } from '../../containers/Tenant/Query/Issues/Issues';
5
6
  import { cn } from '../../utils/cn';
6
7
  import { criticalActionDialogKeyset } from './i18n';
7
8
  import './CriticalActionDialog.scss';
8
9
  const b = cn('ydb-critical-dialog');
9
10
  const parseError = (error) => {
11
+ if (error.data && 'issues' in error.data && error.data.issues) {
12
+ return _jsx(ResultIssues, { hideSeverity: true, data: error.data });
13
+ }
10
14
  if (error.status === 403) {
11
15
  return criticalActionDialogKeyset('no-rights-error');
12
16
  }
@@ -1 +1 @@
1
- {"version":3,"file":"CriticalActionDialog.js","sourceRoot":"","sources":["../../../src/components/CriticalActionDialog/CriticalActionDialog.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,eAAe,EAAE,uBAAuB,EAAC,MAAM,mBAAmB,CAAC;AAC3E,OAAO,EAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAC,MAAM,mBAAmB,CAAC;AAGzD,OAAO,EAAC,EAAE,EAAC,MAAM,gBAAgB,CAAC;AAElC,OAAO,EAAC,0BAA0B,EAAC,MAAM,QAAQ,CAAC;AAElD,OAAO,6BAA6B,CAAC;AAErC,MAAM,CAAC,GAAG,EAAE,CAAC,qBAAqB,CAAC,CAAC;AAEpC,MAAM,UAAU,GAAG,CAAC,KAAqB,EAAE,EAAE;IACzC,IAAI,KAAK,CAAC,MAAM,KAAK,GAAG,EAAE,CAAC;QACvB,OAAO,0BAA0B,CAAC,iBAAiB,CAAC,CAAC;IACzD,CAAC;IACD,IAAI,KAAK,CAAC,UAAU,EAAE,CAAC;QACnB,OAAO,KAAK,CAAC,UAAU,CAAC;IAC5B,CAAC;IAED,OAAO,0BAA0B,CAAC,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C,YAC9B,KAAC,IAAI,IAAC,IAAI,EAAE,uBAAuB,EAAE,IAAI,EAAE,EAAE,GAAI,GAC9C,EACN,IAAI,IACH,EAEL,cAAc,EAAE,IACP,EAEd,KAAC,MAAM,CAAC,MAAM,IACV,OAAO,EAAE,SAAS,EAClB,MAAM,EAAC,SAAS,EAChB,eAAe,EAAE,0BAA0B,CAAC,gBAAgB,CAAC,EAC7D,gBAAgB,EAAE,0BAA0B,CAAC,eAAe,CAAC,EAC7D,gBAAgB,EAAE,EAAC,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,YAAY,IAAI,CAAC,eAAe,EAAC,EAC9E,mBAAmB,EAAE,OAAO,EAC5B,kBAAkB,EAAE,GAAG,EAAE,CAAC,OAAO,EAAE,GACrC,IACW,CACpB,CAAC;IACN,CAAC,CAAC;IAEF,OAAO,CACH,KAAC,MAAM,IACH,IAAI,EAAE,OAAO,EACb,cAAc,EAAE,KAAK,EACrB,SAAS,EAAE,CAAC,EAAE,EACd,IAAI,EAAC,GAAG,EACR,OAAO,EAAE,OAAO,EAChB,kBAAkB,EAAE,sBAAsB,YAEzC,mBAAmB,EAAE,GACjB,CACZ,CAAC;AACN,CAAC"}
1
+ {"version":3,"file":"CriticalActionDialog.js","sourceRoot":"","sources":["../../../src/components/CriticalActionDialog/CriticalActionDialog.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,eAAe,EAAE,uBAAuB,EAAC,MAAM,mBAAmB,CAAC;AAC3E,OAAO,EAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAC,MAAM,mBAAmB,CAAC;AAEzD,OAAO,EAAC,YAAY,EAAC,MAAM,6CAA6C,CAAC;AAEzE,OAAO,EAAC,EAAE,EAAC,MAAM,gBAAgB,CAAC;AAElC,OAAO,EAAC,0BAA0B,EAAC,MAAM,QAAQ,CAAC;AAElD,OAAO,6BAA6B,CAAC;AAErC,MAAM,CAAC,GAAG,EAAE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GACjB,CACZ,CAAC;AACN,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { PopoverBehavior } from '@gravity-ui/uikit';
3
3
  import { getDefaultNodePath } from '../../containers/Node/NodePages';
4
- import { createDeveloperUILinkWithNodeId } from '../../utils/developerUI/developerUI';
4
+ import { createDeveloperUIInternalPageHref, createDeveloperUILinkWithNodeId, } from '../../utils/developerUI/developerUI';
5
5
  import { isUnavailableNode } from '../../utils/nodes';
6
6
  import { CellWithPopover } from '../CellWithPopover/CellWithPopover';
7
7
  import { EntityStatus } from '../EntityStatus/EntityStatus';
@@ -11,18 +11,22 @@ export const NodeHostWrapper = ({ node, getNodeRef, database }) => {
11
11
  return _jsx("span", { children: "\u2014" });
12
12
  }
13
13
  const isNodeAvailable = !isUnavailableNode(node);
14
- let nodeHref;
14
+ let developerUIInternalHref;
15
15
  if (getNodeRef) {
16
- nodeHref = getNodeRef(node) + '/internal';
16
+ const developerUIHref = getNodeRef(node);
17
+ developerUIInternalHref = developerUIHref
18
+ ? createDeveloperUIInternalPageHref(developerUIHref)
19
+ : undefined;
17
20
  }
18
21
  else if (node.NodeId) {
19
- nodeHref = createDeveloperUILinkWithNodeId(node.NodeId) + '/internal';
22
+ const developerUIHref = createDeveloperUILinkWithNodeId(node.NodeId);
23
+ developerUIInternalHref = createDeveloperUIInternalPageHref(developerUIHref);
20
24
  }
21
25
  const nodePath = isNodeAvailable
22
26
  ? getDefaultNodePath(node.NodeId, {
23
27
  database: database !== null && database !== void 0 ? database : node.TenantName,
24
28
  })
25
29
  : undefined;
26
- return (_jsx(CellWithPopover, { disabled: !isNodeAvailable, content: _jsx(NodeEndpointsTooltipContent, { data: node, nodeHref: nodeHref }), placement: ['top', 'bottom'], behavior: PopoverBehavior.Immediate, children: _jsx(EntityStatus, { name: node.Host, status: node.SystemState, path: nodePath, hasClipboardButton: true }) }));
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 }) }));
27
31
  };
28
32
  //# 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,EAAC,+BAA+B,EAAC,MAAM,qCAAqC,CAAC;AACpF,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,QAA4B,CAAC;IACjC,IAAI,UAAU,EAAE,CAAC;QACb,QAAQ,GAAG,UAAU,CAAC,IAAI,CAAC,GAAG,WAAW,CAAC;IAC9C,CAAC;SAAM,IAAI,IAAI,CAAC,MAAM,EAAE,CAAC;QACrB,QAAQ,GAAG,+BAA+B,CAAC,IAAI,CAAC,MAAM,CAAC,GAAG,WAAW,CAAC;IAC1E,CAAC;IAED,MAAM,QAAQ,GAAG,eAAe;QAC5B,CAAC,C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AAC;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;QAC5B,CAAC,CAAC,kBAAkB,CAAC,IAAI,CAAC,MAAM,EAAE;YAC5B,QAAQ,EAAE,QAAQ,aAAR,QAAQ,cAAR,QAAQ,GAAI,IAAI,CAAC,UAAU;SACxC,CAAC;QACJ,CAAC,CAAC,SAAS,CAAC;IAEhB,OAAO,CACH,KAAC,eAAe,IACZ,QAAQ,EAAE,CAAC,eAAe,EAC1B,OAAO,EAAE,KAAC,2BAA2B,IAAC,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,uBAAuB,GAAI,EACvF,SAAS,EAAE,CAAC,KAAK,EAAE,QAAQ,CAAC,EAC5B,QAAQ,EAAE,eAAe,CAAC,SAAS,EACnC,YAAY,EAAE,GAAG,YAEjB,KAAC,YAAY,IACT,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,MAAM,EAAE,IAAI,CAAC,WAAW,EACxB,IAAI,EAAE,QAAQ,EACd,kBAAkB,SACpB,GACY,CACrB,CAAC;AACN,CAAC,CAAC"}
@@ -6,19 +6,17 @@ import { EFlag } from '../../types/api/enums';
6
6
  import { valueIsDefined } from '../../utils';
7
7
  import { EMPTY_DATA_PLACEHOLDER } from '../../utils/constants';
8
8
  import { createPDiskDeveloperUILink } from '../../utils/developerUI/developerUI';
9
- import { getPDiskId } from '../../utils/disks/helpers';
10
9
  import { useTypedSelector } from '../../utils/hooks';
11
- import { bytesToGB } from '../../utils/utils';
10
+ import { bytesToGB, isNumeric } from '../../utils/utils';
12
11
  import { InfoViewer } from '../InfoViewer';
13
12
  import { LinkWithIcon } from '../LinkWithIcon/LinkWithIcon';
14
13
  const errorColors = [EFlag.Orange, EFlag.Red, EFlag.Yellow];
15
14
  export const preparePDiskData = (data, nodeHost, withDeveloperUILink) => {
16
- var _a;
17
- const { AvailableSize, TotalSize, State, PDiskId, NodeId, Path, Realtime, Type, Device } = data;
15
+ const { AvailableSize, TotalSize, State, PDiskId, NodeId, StringifiedId, Path, Realtime, Type, Device, } = data;
18
16
  const pdiskData = [
19
17
  {
20
18
  label: 'PDisk',
21
- value: (_a = getPDiskId(NodeId, PDiskId)) !== null && _a !== void 0 ? _a : EMPTY_DATA_PLACEHOLDER,
19
+ value: StringifiedId !== null && StringifiedId !== void 0 ? StringifiedId : EMPTY_DATA_PLACEHOLDER,
22
20
  },
23
21
  { label: 'State', value: State || 'not available' },
24
22
  { label: 'Type', value: Type || 'unknown' },
@@ -32,10 +30,12 @@ export const preparePDiskData = (data, nodeHost, withDeveloperUILink) => {
32
30
  if (Path) {
33
31
  pdiskData.push({ label: 'Path', value: Path });
34
32
  }
35
- pdiskData.push({
36
- label: 'Available',
37
- value: `${bytesToGB(AvailableSize)} of ${bytesToGB(TotalSize)}`,
38
- });
33
+ if (isNumeric(TotalSize)) {
34
+ pdiskData.push({
35
+ label: 'Available',
36
+ value: `${bytesToGB(AvailableSize)} of ${bytesToGB(TotalSize)}`,
37
+ });
38
+ }
39
39
  if (Realtime && errorColors.includes(Realtime)) {
40
40
  pdiskData.push({ label: 'Realtime', value: Realtime });
41
41
  }
@@ -1 +1 @@
1
- {"version":3,"file":"PDiskPopup.js","sourceRoot":"","sources":["../../../src/components/PDiskPopup/PDiskPopup.tsx"],"names":[],"m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,CAAC,CAAC;IAC1D,MAAM,QAAQ,GAAG,cAAc,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,YAAY,aAAZ,YAAY,uBAAZ,YAAY,CAAE,GAAG,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;IAC1F,MAAM,IAAI,GAAG,KAAK,CAAC,OAAO,CACtB,GAAG,EAAE,CAAC,gBAAgB,CAAC,IAAI,EAAE,QAAQ,EAAE,0BAA0B,CAAC,EAClE,CAAC,IAAI,EAAE,QAAQ,EAAE,0BAA0B,CAAC,CAC/C,CAAC;IAEF,OAAO,KAAC,UAAU,IAAC,KAAK,EAAC,OAAO,EAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAC,GAAG,GAAG,CAAC;AAC7D,CAAC,CAAC"}
@@ -56,5 +56,5 @@ interface ControlsParams {
56
56
  export type RenderControls = (params: ControlsParams) => React.ReactNode;
57
57
  export type RenderEmptyDataMessage = () => React.ReactNode;
58
58
  export type RenderErrorMessage = (error: IResponseError) => React.ReactNode;
59
- export type GetRowClassName<T> = (row: T) => string | undefined;
59
+ export type GetRowClassName<T> = (row: T) => string;
60
60
  export {};
@@ -12,6 +12,7 @@ export interface ProgressViewerProps {
12
12
  inverseColorize?: boolean;
13
13
  warningThreshold?: number;
14
14
  dangerThreshold?: number;
15
+ hideCapacity?: boolean;
15
16
  }
16
- export declare function ProgressViewer({ value, capacity, formatValues, percents, className, size, colorizeProgress, inverseColorize, warningThreshold, dangerThreshold, }: ProgressViewerProps): import("react/jsx-runtime").JSX.Element;
17
+ export declare function ProgressViewer({ value, capacity, formatValues, percents, className, size, colorizeProgress, inverseColorize, warningThreshold, dangerThreshold, hideCapacity, }: ProgressViewerProps): import("react/jsx-runtime").JSX.Element;
17
18
  export {};
@@ -12,7 +12,7 @@ const formatValue = (value) => {
12
12
  const defaultFormatValues = (value, total) => {
13
13
  return [formatValue(value), formatValue(total)];
14
14
  };
15
- export function ProgressViewer({ value, capacity, formatValues = defaultFormatValues, percents, className, size = 'xs', colorizeProgress, inverseColorize, warningThreshold = 60, dangerThreshold = 80, }) {
15
+ export function ProgressViewer({ value, capacity, formatValues = defaultFormatValues, percents, className, size = 'xs', colorizeProgress, inverseColorize, warningThreshold = 60, dangerThreshold = 80, hideCapacity, }) {
16
16
  const theme = useTheme();
17
17
  let fillWidth = Math.round((parseFloat(String(value)) / parseFloat(String(capacity))) * 100) || 0;
18
18
  fillWidth = fillWidth > 100 ? 100 : fillWidth;
@@ -39,7 +39,7 @@ export function ProgressViewer({ value, capacity, formatValues = defaultFormatVa
39
39
  width: fillWidth + '%',
40
40
  };
41
41
  const renderContent = () => {
42
- if (isNumeric(capacity)) {
42
+ if (isNumeric(capacity) && !hideCapacity) {
43
43
  return `${valueText} ${divider} ${capacityText}`;
44
44
  }
45
45
  return valueText;
@@ -1 +1 @@
1
- {"version":3,"file":"ProgressViewer.js","sourceRoot":"","sources":["../../../src/components/ProgressViewer/ProgressViewer.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,mBAAmB,CAAC;AAE3C,OAAO,EAAC,EAAE,EAAC,MAAM,gBAAgB,CAAC;AAClC,OAAO,EAAC,YAAY,EAAE,gBAAgB,EAAC,MAAM,2CAA2C,CAAC;AACzF,OAAO,EAAC,uBAAuB,EAAC,MAAM,sBAAsB,CAAC;AAC7D,OAAO,EAAC,SAAS,EAAC,MAAM,mBAAmB,CAAC;AAE5C,OAAO,uBAAuB,CAAC;AAE/B,MAAM,CAAC,GAAG,EAAE,CAAC,iBAAiB,CAAC,CAAC;AAShC,MAAM,WAAW,GAAG,CAAC,KAAc,EAAE,EAAE;IACnC,OAAO,YAAY,CAAC,gBAAgB,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;AAC5D,CAAC,CAAC;AAEF,MAAM,mBAAmB,GAA+B,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE;IACrE,OAA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AED,MAAM,MAAM,GAAG,uBAAuB,CAAC;QACnC,SAAS;QACT,gBAAgB;QAChB,eAAe;QACf,gBAAgB;QAChB,eAAe;KAClB,CAAC,CAAC;IACH,IAAI,gBAAgB,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,EAAE,CAAC;QAC3C,SAAS,GAAG,GAAG,CAAC;IACpB,CAAC;IAED,MAAM,SAAS,GAAG;QACd,KAAK,EAAE,SAAS,GAAG,GAAG;KACzB,CAAC;IAEF,MAAM,aAAa,GAAG,GAAG,EAAE;QACvB,IAAI,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,YAAY,EAAE,CAAC;YACvC,OAAO,GAAG,SAAS,IAAI,OAAO,IAAI,YAAY,EAAE,CAAC;QACrD,CAAC;QAED,OAAO,SAAS,CAAC;IACrB,CAAC,CAAC;IAEF,IAAI,SAAS,CAAC,KAAK,CAAC,EAAE,CAAC;QACnB,OAAO,CACH,eAAK,SAAS,EAAE,CAAC,CAAC,EAAC,IAAI,EAAE,KAAK,EAAE,MAAM,EAAC,EAAE,SAAS,CAAC,aAC/C,cAAK,SAAS,EAAE,CAAC,CAAC,MAAM,CAAC,EAAE,KAAK,EAAE,SAAS,GAAQ,EACnD,eAAM,SAAS,EAAE,CAAC,CAAC,MAAM,CAAC,YAAG,aAAa,EAAE,GAAQ,IAClD,CACT,CAAC;IACN,CAAC;IAED,OAAO,cAAK,SAAS,EAAE,GAAG,CAAC,CAAC,EAAC,IAAI,EAAC,CAAC,IAAI,SAAS,QAAQ,wBAAe,CAAC;AAC5E,CAAC"}
@@ -1,10 +1,12 @@
1
+ import React from 'react';
1
2
  import './Search.scss';
2
3
  interface SearchProps {
3
4
  onChange: (value: string) => void;
4
5
  value?: string;
6
+ width?: React.CSSProperties['width'];
5
7
  className?: string;
6
8
  debounce?: number;
7
9
  placeholder?: string;
8
10
  }
9
- export declare const Search: ({ onChange, value, className, debounce, placeholder, }: SearchProps) => import("react/jsx-runtime").JSX.Element;
11
+ export declare const Search: ({ onChange, value, width, className, debounce, placeholder, }: SearchProps) => import("react/jsx-runtime").JSX.Element;
10
12
  export {};
@@ -4,7 +4,7 @@ import { TextInput } from '@gravity-ui/uikit';
4
4
  import { cn } from '../../utils/cn';
5
5
  import './Search.scss';
6
6
  const b = cn('ydb-search');
7
- export const Search = ({ onChange, value = '', className, debounce = 200, placeholder, }) => {
7
+ export const Search = ({ onChange, value = '', width, className, debounce = 200, placeholder, }) => {
8
8
  const [searchValue, setSearchValue] = React.useState(value);
9
9
  const timer = React.useRef();
10
10
  React.useEffect(() => {
@@ -22,6 +22,6 @@ export const Search = ({ onChange, value = '', className, debounce = 200, placeh
22
22
  onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
23
23
  }, debounce);
24
24
  };
25
- return (_jsx(TextInput, { hasClear: true, autoFocus: true, className: b(null, className), placeholder: placeholder, value: searchValue, onUpdate: onSearchValueChange }));
25
+ return (_jsx(TextInput, { hasClear: true, autoFocus: true, style: { width }, className: b(null, className), placeholder: placeholder, value: searchValue, onUpdate: onSearchValueChange }));
26
26
  };
27
27
  //# sourceMappingURL=Search.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Search.js","sourceRoot":"","sources":["../../../src/components/Search/Search.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,SAAS,EAAC,MAAM,mBAAmB,CAAC;AAE5C,OAAO,EAAC,EAAE,EAAC,MAAM,gBAAgB,CAAC;AAElC,OAAO,eAAe,CAAC;AAEvB,MAAM,CAAC,GAAG,EAAE,CAAC,YAAY,CAAC,CAAC;AAU3B,MAAM,CAAC,MAAM,MAAM,GAAG,CAAC,EACnB,QAAQ,EACR,KAAK,GAAG,EAAE,EACV,SAAS,EACT,QAAQ,GAAG,GAAG,EACd,WAAW,GACD,EAAE,EAAE;IACd,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAS,KAAK,CAAC,CAAC;IA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AG,EAAE,EACV,KAAK,EACL,SAAS,EACT,QAAQ,GAAG,GAAG,EACd,WAAW,GACD,EAAE,EAAE;IACd,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAS,KAAK,CAAC,CAAC;IAEpE,MAAM,KAAK,GAAG,KAAK,CAAC,MAAM,EAAU,CAAC;IAErC,KAAK,CAAC,SAAS,CAAC,GAAG,EAAE;QACjB,cAAc,CAAC,CAAC,SAAS,EAAE,EAAE;YACzB,IAAI,SAAS,KAAK,KAAK,EAAE,CAAC;gBACtB,OAAO,KAAK,CAAC;YACjB,CAAC;YAED,OAAO,SAAS,CAAC;QACrB,CAAC,CAAC,CAAC;IACP,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC;IAEZ,MAAM,mBAAmB,GAAG,CAAC,QAAgB,EAAE,EAAE;QAC7C,cAAc,CAAC,QAAQ,CAAC,CAAC;QAEzB,MAAM,CAAC,YAAY,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;QACnC,KAAK,CAAC,OAAO,GAAG,MAAM,CAAC,UAAU,CAAC,GAAG,EAAE;YACnC,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAG,QAAQ,CAAC,CAAC;QACzB,CAAC,EAAE,QAAQ,CAAC,CAAC;IACjB,CAAC,CAAC;IAEF,OAAO,CACH,KAAC,SAAS,IACN,QAAQ,QACR,SAAS,QACT,KAAK,EAAE,EAAC,KAAK,EAAC,EACd,SAAS,EAAE,CAAC,CAAC,IAAI,EAAE,SAAS,CAAC,EAC7B,WAAW,EAAE,WAAW,EACxB,KAAK,EAAE,WAAW,EAClB,QAAQ,EAAE,mBAAmB,GAC/B,CACL,CAAC;AACN,CAAC,CAAC"}
@@ -11,6 +11,6 @@ import i18n from './i18n';
11
11
  export function TabletNameWrapper({ tabletId, database }) {
12
12
  const isUserAllowedToMakeChanges = useTypedSelector(selectIsUserAllowedToMakeChanges);
13
13
  const tabletPath = getTabletPagePath(tabletId, { database });
14
- return (_jsx(CellWithPopover, { disabled: !isUserAllowedToMakeChanges, content: _jsx(DefinitionList, { responsive: true, children: _jsx(DefinitionList.Item, { name: i18n('field_links'), children: _jsx(LinkWithIcon, { title: i18n('context_developer-ui'), url: createTabletDeveloperUIHref(tabletId) }) }) }), placement: ['top', 'bottom'], behavior: PopoverBehavior.Immediate, children: _jsx(EntityStatus, { name: tabletId.toString(), path: tabletPath, hasClipboardButton: true, showStatus: false }) }));
14
+ return (_jsx(CellWithPopover, { disabled: !isUserAllowedToMakeChanges, delayClosing: 200, content: _jsx(DefinitionList, { responsive: true, children: _jsx(DefinitionList.Item, { name: i18n('field_links'), children: _jsx(LinkWithIcon, { title: i18n('context_developer-ui'), url: createTabletDeveloperUIHref(tabletId) }) }) }), placement: ['top', 'bottom'], behavior: PopoverBehavior.Immediate, children: _jsx(EntityStatus, { name: tabletId.toString(), path: tabletPath, hasClipboardButton: true, showStatus: false }) }));
15
15
  }
16
16
  //# sourceMappingURL=TabletNameWrapper.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"TabletNameWrapper.js","sourceRoot":"","sources":["../../../src/components/TabletNameWrapper/TabletNameWrapper.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,cAAc,EAAE,eAAe,EAAC,MAAM,mBAAmB,CAAC;AAElE,OAAO,EAAC,iBAAiB,EAAC,MAAM,cAAc,CAAC;AAC/C,OAAO,EAAC,gCAAgC,EAAC,MAAM,oDAAoD,CAAC;AACpG,OAAO,EAAC,2BAA2B,EAAC,MAAM,qCAAqC,CAAC;AAChF,OAAO,EAAC,gBAAgB,EAAC,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAC,eAAe,EAAC,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAC,YAAY,EAAC,MAAM,8BAA8B,CAAC;AAC1D,OAAO,EAAC,YAAY,EAAC,MAAM,8BAA8B,CAAC;AAE1D,OAAO,IAAI,MAAM,QAAQ,CAAC;AAO1B,MAAM,UAAU,iBA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AAC,YAAY,EAAC,MAAM,8BAA8B,CAAC;AAE1D,OAAO,IAAI,MAAM,QAAQ,CAAC;AAO1B,MAAM,UAAU,iBAAiB,CAAC,EAAC,QAAQ,EAAE,QAAQ,EAAyB;IAC1E,MAAM,0BAA0B,GAAG,gBAAgB,CAAC,gCAAgC,CAAC,CAAC;IAEtF,MAAM,UAAU,GAAG,iBAAiB,CAAC,QAAQ,EAAE,EAAC,QAAQ,EAAC,CAAC,CAAC;IAE3D,OAAO,CACH,KAAC,eAAe,IACZ,QAAQ,EAAE,CAAC,0BAA0B,EACrC,YAAY,EAAE,GAAG,EACjB,OAAO,EACH,KAAC,cAAc,IAAC,UAAU,kBACtB,KAAC,cAAc,CAAC,IAAI,IAAC,IAAI,EAAE,IAAI,CAAC,aAAa,CAAC,YAC1C,KAAC,YAAY,IACT,KAAK,EAAE,IAAI,CAAC,sBAAsB,CAAC,EACnC,GAAG,EAAE,2BAA2B,CAAC,QAAQ,CAAC,GAC5C,GACgB,GACT,EAErB,SAAS,EAAE,CAAC,KAAK,EAAE,QAAQ,CAAC,EAC5B,QAAQ,EAAE,eAAe,CAAC,SAAS,YAEnC,KAAC,YAAY,IACT,IAAI,EAAE,QAAQ,CAAC,QAAQ,EAAE,EACzB,IAAI,EAAE,UAAU,EAChB,kBAAkB,QAClB,UAAU,EAAE,KAAK,GACnB,GACY,CACrB,CAAC;AACN,CAAC"}
@@ -26,7 +26,7 @@ export function TenantNameWrapper({ tenant, additionalTenantsProps }) {
26
26
  const backend = getTenantBackend(tenant, additionalTenantsProps);
27
27
  const isExternalLink = Boolean(backend);
28
28
  const monitoringLink = (_a = additionalTenantsProps === null || additionalTenantsProps === void 0 ? void 0 : additionalTenantsProps.getMonitoringLink) === null || _a === void 0 ? void 0 : _a.call(additionalTenantsProps, tenant.Name, tenant.Type);
29
- return (_jsx(CellWithPopover, { disabled: !isUserAllowedToMakeChanges || !monitoringLink, content: monitoringLink ? (_jsx(DefinitionList, { responsive: true, children: _jsx(DefinitionList.Item, { name: i18n('field_links'), children: _jsx(LinkWithIcon, { title: i18n('field_monitoring-link'), url: monitoringLink }) }) })) : null, placement: ['top', 'bottom'], behavior: PopoverBehavior.Immediate, children: _jsx(EntityStatus, { externalLink: isExternalLink, name: tenant.Name || i18n('context_unknown'), withLeftTrim: true, status: tenant.Overall, hasClipboardButton: true, path: getTenantPath({
29
+ return (_jsx(CellWithPopover, { disabled: !isUserAllowedToMakeChanges || !monitoringLink, delayClosing: 200, content: monitoringLink ? (_jsx(DefinitionList, { responsive: true, children: _jsx(DefinitionList.Item, { name: i18n('field_links'), children: _jsx(LinkWithIcon, { title: i18n('field_monitoring-link'), url: monitoringLink }) }) })) : null, placement: ['top', 'bottom'], behavior: PopoverBehavior.Immediate, children: _jsx(EntityStatus, { externalLink: isExternalLink, name: tenant.Name || i18n('context_unknown'), withLeftTrim: true, status: tenant.Overall, hasClipboardButton: true, path: getTenantPath({
30
30
  database: tenant.Name,
31
31
  backend,
32
32
  }) }) }));
@@ -1 +1 @@
1
- {"version":3,"file":"TenantNameWrapper.js","sourceRoot":"","sources":["../../../src/components/TenantNameWrapper/TenantNameWrapper.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,cAAc,EAAE,eAAe,EAAC,MAAM,mBAAmB,CAAC;AAElE,OAAO,EAAC,aAAa,EAAC,MAAM,qCAAqC,CAAC;AAClE,OAAO,EAAC,gCAAgC,EAAC,MAAM,oDAAoD,CAAC;AAGpG,OAAO,EAAC,gBAAgB,EAAC,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAC,eAAe,EAAC,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAC,YAAY,EAAC,MAAM,8BAA8B,CAAC;AAC1D,OAAO,EAAC,YAAY,EAAC,MAAM,8BAA8B,CAAC;AAE1D,OAAO,IAAI,MAAM,QAAQ,CAAC;AAO1B,MAAM,gBAAgB,GAAG,CACrB,MAAsB,EACtB,sBAA+C,EACjD,EAAE;;IACA,IAAI,OAAO,CAAA,sB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C,KAAC,YAAY,IACT,KAAK,EAAE,IAAI,CAAC,uBAAuB,CAAC,EACpC,GAAG,EAAE,cAAc,GACrB,GACgB,GACT,CACpB,CAAC,CAAC,CAAC,IAAI,EAEZ,SAAS,EAAE,CAAC,KAAK,EAAE,QAAQ,CAAC,EAC5B,QAAQ,EAAE,eAAe,CAAC,SAAS,YAEnC,KAAC,YAAY,IACT,YAAY,EAAE,cAAc,EAC5B,IAAI,EAAE,MAAM,CAAC,IAAI,IAAI,IAAI,CAAC,iBAAiB,CAAC,EAC5C,YAAY,EAAE,IAAI,EAClB,MAAM,EAAE,MAAM,CAAC,OAAO,EACtB,kBAAkB,QAClB,IAAI,EAAE,aAAa,CAAC;gBAChB,QAAQ,EAAE,MAAM,CAAC,IAAI;gBACrB,OAAO;aACV,CAAC,GACJ,GACY,CACrB,CAAC;AACN,CAAC"}
@@ -8,16 +8,21 @@ import i18n from './i18n';
8
8
  import './NodeEndpointsTooltipContent.scss';
9
9
  const b = cn('ydb-node-endpoints-tooltip-content');
10
10
  export const NodeEndpointsTooltipContent = ({ data, nodeHref }) => {
11
+ var _a, _b;
11
12
  const isUserAllowedToMakeChanges = useTypedSelector(selectIsUserAllowedToMakeChanges);
12
13
  const info = [];
13
- if (data === null || data === void 0 ? void 0 : data.Rack) {
14
- info.push({ name: i18n('field_rack'), children: data.Rack, key: 'Rack' });
14
+ if ((_a = data === null || data === void 0 ? void 0 : data.Roles) === null || _a === void 0 ? void 0 : _a.length) {
15
+ info.push({
16
+ name: i18n('field_roles'),
17
+ children: data.Roles.join(', '),
18
+ key: 'Roles',
19
+ });
15
20
  }
16
- if ((data === null || data === void 0 ? void 0 : data.Endpoints) && data.Endpoints.length) {
17
- data.Endpoints.forEach(({ Name, Address }) => {
18
- if (Name && Address) {
19
- info.push({ name: Name, children: Address, key: Name });
20
- }
21
+ if ((_b = data === null || data === void 0 ? void 0 : data.Tenants) === null || _b === void 0 ? void 0 : _b[0]) {
22
+ info.push({
23
+ name: i18n('field_database'),
24
+ children: data.Tenants[0],
25
+ key: 'Database',
21
26
  });
22
27
  }
23
28
  if (data === null || data === void 0 ? void 0 : data.Host) {
@@ -28,6 +33,16 @@ export const NodeEndpointsTooltipContent = ({ data, nodeHref }) => {
28
33
  key: 'Host',
29
34
  });
30
35
  }
36
+ if (data === null || data === void 0 ? void 0 : data.Rack) {
37
+ info.push({ name: i18n('field_rack'), children: data.Rack, key: 'Rack' });
38
+ }
39
+ if ((data === null || data === void 0 ? void 0 : data.Endpoints) && data.Endpoints.length) {
40
+ data.Endpoints.forEach(({ Name, Address }) => {
41
+ if (Name && Address) {
42
+ info.push({ name: Name, children: Address, key: Name });
43
+ }
44
+ });
45
+ }
31
46
  if (isUserAllowedToMakeChanges && nodeHref) {
32
47
  info.push({
33
48
  name: 'Links',
@@ -36,7 +51,7 @@ export const NodeEndpointsTooltipContent = ({ data, nodeHref }) => {
36
51
  });
37
52
  }
38
53
  return (_jsx("div", { className: b('list-container'), children: _jsx(DefinitionList, { responsive: true, children: info.map(({ children, key, ...rest }) => {
39
- return (_jsx(DefinitionList.Item, { ...rest, children: _jsx("span", { className: b('definition'), children: children }) }, key));
54
+ return (_jsx(DefinitionList.Item, { ...rest, children: _jsx("div", { className: b('definition'), children: children }) }, key));
40
55
  }) }) }));
41
56
  };
42
57
  //# sourceMappingURL=NodeEndpointsTooltipContent.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"NodeEndpointsTooltipContent.js","sourceRoot":"","sources":["../../../../src/components/TooltipsContent/NodeEndpointsTooltipContent/NodeEndpointsTooltipContent.tsx"],"names":[],"mappings":";AACA,OAAO,EAAC,cAAc,EAAC,MAAM,mBAAmB,CAAC;AAEjD,OAAO,EAAC,gCAAgC,EAAC,MAAM,uDAAuD,CAAC;AAEvG,OAAO,EAAC,EAAE,EAAC,MAAM,mBAAmB,CAAC;AACrC,OAAO,EAAC,gBAAgB,EAAC,MAAM,sBAAsB,CAAC;AACtD,OAAO,EAAC,YAAY,EAAC,MAAM,iCA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AAC;IAED,IAAI,0BAA0B,IAAI,QAAQ,EAAE,CAAC;QACzC,IAAI,CAAC,IAAI,CAAC;YACN,IAAI,EAAE,OAAO;YACb,QAAQ,EAAE,KAAC,YAAY,IAAC,KAAK,EAAE,IAAI,CAAC,sBAAsB,CAAC,EAAE,GAAG,EAAE,QAAQ,GAAI;YAC9E,GAAG,EAAE,aAAa;SACrB,CAAC,CAAC;IACP,CAAC;IAED,OAAO,CACH,cAAK,SAAS,EAAE,CAAC,CAAC,gBAAgB,CAAC,YAC/B,KAAC,cAAc,IAAC,UAAU,kBACrB,IAAI,CAAC,GAAG,CAAC,CAAC,EAAC,QAAQ,EAAE,GAAG,EAAE,GAAG,IAAI,EAAC,EAAE,EAAE;gBACnC,OAAO,CACH,KAAC,cAAc,CAAC,IAAI,OAAe,IAAI,YACnC,eAAM,SAAS,EAAE,CAAC,CAAC,YAAY,CAAC,YAAG,QAAQ,GAAQ,IAD7B,GAAG,CAEP,CACzB,CAAC;YACN,CAAC,CAAC,GACW,GACf,CACT,CAAC;AACN,CAAC,CAAC"}
1
+ {"version":3,"file":"NodeEndpointsTooltipContent.js","sourceRoot":"","sources":["../../../../src/components/TooltipsContent/NodeEndpointsTooltipContent/NodeEndpointsTooltipContent.tsx"],"names":[],"mappings":";AACA,OAAO,EAAC,cAAc,EAAC,MAAM,mBAAmB,CAAC;AAEjD,OAAO,EAAC,gCAAgC,EAAC,MAAM,uDAAuD,CAAC;AAEvG,OAAO,EAAC,EAAE,EAAC,MAAM,mBAAmB,CAAC;AACrC,OAAO,EAAC,gBAAgB,EAAC,MAAM,sBAAsB,CAAC;AACtD,OAAO,EAAC,YAAY,EAAC,MAAM,iCAAiC,CAAC;AAE7D,OAAO,IAAI,MAAM,QAAQ,CAAC;AAE1B,OAAO,oCAAoC,CAAC;AAE5C,MAAM,CAAC,GAAG,EAAE,CAAC,oCAAoC,CAAC,CAAC;AAOnD,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC,EAAC,IAAI,E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AAI,CAAE,SAAS,KAAI,IAAI,CAAC,SAAS,CAAC,MAAM,EAAE,CAAC;QAC3C,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC,EAAC,IAAI,EAAE,OAAO,EAAC,EAAE,EAAE;YACvC,IAAI,IAAI,IAAI,OAAO,EAAE,CAAC;gBAClB,IAAI,CAAC,IAAI,CAAC,EAAC,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,EAAE,IAAI,EAAC,CAAC,CAAC;YAC1D,CAAC;QACL,CAAC,CAAC,CAAC;IACP,CAAC;IAED,IAAI,0BAA0B,IAAI,QAAQ,EAAE,CAAC;QACzC,IAAI,CAAC,IAAI,CAAC;YACN,IAAI,EAAE,OAAO;YACb,QAAQ,EAAE,KAAC,YAAY,IAAC,KAAK,EAAE,IAAI,CAAC,sBAAsB,CAAC,EAAE,GAAG,EAAE,QAAQ,GAAI;YAC9E,GAAG,EAAE,aAAa;SACrB,CAAC,CAAC;IACP,CAAC;IAED,OAAO,CACH,cAAK,SAAS,EAAE,CAAC,CAAC,gBAAgB,CAAC,YAC/B,KAAC,cAAc,IAAC,UAAU,kBACrB,IAAI,CAAC,GAAG,CAAC,CAAC,EAAC,QAAQ,EAAE,GAAG,EAAE,GAAG,IAAI,EAAC,EAAE,EAAE;gBACnC,OAAO,CACH,KAAC,cAAc,CAAC,IAAI,OAAe,IAAI,YACnC,cAAK,SAAS,EAAE,CAAC,CAAC,YAAY,CAAC,YAAG,QAAQ,GAAO,IAD3B,GAAG,CAEP,CACzB,CAAC;YACN,CAAC,CAAC,GACW,GACf,CACT,CAAC;AACN,CAAC,CAAC"}
@@ -1,5 +1,7 @@
1
1
  {
2
2
  "field_rack": "Rack",
3
3
  "field_host": "Host",
4
- "context_developer-ui": "Developer UI"
4
+ "context_developer-ui": "Developer UI",
5
+ "field_database": "Database",
6
+ "field_roles": "Roles"
5
7
  }
@@ -1,2 +1,2 @@
1
- declare const _default: (key: "field_rack" | "field_host" | "context_developer-ui", params?: import("@gravity-ui/i18n").Params) => string;
1
+ declare const _default: (key: "field_rack" | "field_host" | "context_developer-ui" | "field_database" | "field_roles", params?: import("@gravity-ui/i18n").Params) => string;
2
2
  export default _default;
@@ -1,4 +1,8 @@
1
1
  import type { TPoolStats } from '../../../types/api/nodes';
2
+ export declare const formatPool: <Key extends keyof TPoolStats>(label: Key, value: TPoolStats[Key]) => {
3
+ label: string;
4
+ value: string | number | boolean | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | TPoolStats[Key] | null | undefined;
5
+ };
2
6
  interface PoolTooltipContentProps {
3
7
  data?: TPoolStats;
4
8
  className?: string;
@@ -1,6 +1,6 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { InfoViewer, createInfoFormatter, formatObject } from '../../InfoViewer';
3
- const formatPool = createInfoFormatter({
3
+ export const formatPool = createInfoFormatter({
4
4
  values: {
5
5
  Usage: (value) => value && `${(Number(value) * 100).toFixed(2)} %`,
6
6
  },
@@ -1 +1 @@
1
- {"version":3,"file":"PoolTooltipContent.js","sourceRoot":"","sources":["../../../../src/components/TooltipsContent/PoolTooltipContent/PoolTooltipContent.tsx"],"names":[],"mappings":";AACA,OAAO,EAAC,UAAU,EAAE,mBAAmB,EAAE,YAAY,EAAC,MAAM,kBAAkB,CAAC;AAE/E,MAAM,UAAU,GAAG,mBAAmB,CAAa;IAC/C,MAAM,EAAE;QACJ,KAAK,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,IAAI,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,GAAG,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI;KACrE;IACD,MAAM,EAAE;QACJ,IAAI,EAAE,MAAM;KACf;IACD,qBAAqB,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,IAAI,MAAM,CAAC,KAAK,CAAC;CAC3D,CAAC,CAAC;AAOH,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,EAAC,IAAI,GAAG,EAAE,EAAE,SAAS,EAA0B,EAAE,EAAE;IAClF,MAAM,IAAI,GAAG,YAAY,CAAC,UAAU,EAAE,IAAI,CAAC,CAAC;IAE5C,OAAO,KAAC,UAAU,IAAC,SAAS,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,GAAG,GAAI,CAAC;AACpF,CAAC,CAAC"}
1
+ {"version":3,"file":"PoolTooltipContent.js","sourceRoot":"","sources":["../../../../src/components/TooltipsContent/PoolTooltipContent/PoolTooltipContent.tsx"],"names":[],"mappings":";AACA,OAAO,EAAC,UAAU,EAAE,mBAAmB,EAAE,YAAY,EAAC,MAAM,kBAAkB,CAAC;AAE/E,MAAM,CAAC,MAAM,UAAU,GAAG,mBAAmB,CAAa;IACtD,MAAM,EAAE;QACJ,KAAK,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,IAAI,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,GAAG,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI;KACrE;IACD,MAAM,EAAE;QACJ,IAAI,EAAE,MAAM;KACf;IACD,qBAAqB,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,IAAI,MAAM,CAAC,KAAK,CAAC;CAC3D,CAAC,CAAC;AAOH,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,EAAC,IAAI,GAAG,EAAE,EAAE,SAAS,EAA0B,EAAE,EAAE;IAClF,MAAM,IAAI,GAAG,YAAY,CAAC,UAAU,EAAE,IAAI,CAAC,CAAC;IAE5C,OAAO,KAAC,UAAU,IAAC,SAAS,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,GAAG,GAAI,CAAC;AACpF,CAAC,CAAC"}
@@ -8,7 +8,6 @@ import { createVDiskDeveloperUILink } from '../../utils/developerUI/developerUI'
8
8
  import { getSeverityColor } from '../../utils/disks/helpers';
9
9
  import { useTypedSelector } from '../../utils/hooks';
10
10
  import { bytesToSpeed } from '../../utils/utils';
11
- import { EntityStatus } from '../EntityStatus/EntityStatus';
12
11
  import { InfoViewer } from '../InfoViewer';
13
12
  import { LinkWithIcon } from '../LinkWithIcon/LinkWithIcon';
14
13
  import { ProgressViewer } from '../ProgressViewer/ProgressViewer';
@@ -126,6 +125,6 @@ export function VDiskInfo({ data, withVDiskPageLink, withTitle, ...infoViewerPro
126
125
  return _jsx(InfoViewer, { info: vdiskInfo, title: title, ...infoViewerProps });
127
126
  }
128
127
  function VDiskTitle({ data }) {
129
- return (_jsxs("div", { className: b('title'), children: [vDiskInfoKeyset('vdiks-title'), _jsx(EntityStatus, { status: getSeverityColor(data.Severity), name: data.StringifiedId })] }));
128
+ return (_jsxs("div", { className: b('title'), children: [vDiskInfoKeyset('vdiks-title'), _jsx(StatusIcon, { status: getSeverityColor(data.Severity) }), data.StringifiedId] }));
130
129
  }
131
130
  //# sourceMappingURL=VDiskInfo.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"VDiskInfo.js","sourceRoot":"","sources":["../../../src/components/VDiskInfo/VDiskInfo.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAC,gBAAgB,EAAC,MAAM,cAAc,CAAC;AAC9C,OAAO,EAAC,gCAAgC,EAAC,MAAM,oDAAoD,CAAC;AACpG,OAAO,EAAC,cAAc,EAAC,MAAM,aAAa,CAAC;AAC3C,OAAO,EAAC,EAAE,EAAC,MAAM,gBAAgB,CAAC;AAClC,OAAO,EAAC,uBAAuB,EAAC,MAAM,2CAA2C,CAAC;AAClF,OAAO,EAAC,0BAA0B,EAAC,MAAM,qCAAqC,CAAC;AAC/E,OAAO,EAAC,gBAAgB,EAAC,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAC,gBAAgB,EAAC,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAC,YAAY,EAAC,MAAM,mBAAmB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C,IAAI,EAAqB;IACnE,OAAO,CACH,eAAK,SAAS,EAAE,CAAC,CAAC,OAAO,CAAC,aACrB,eAAe,CAAC,aAAa,CAAC,EAC/B,KAAC,UAAU,IAAC,MAAM,EAAE,gBAAgB,CAAC,IAAI,CAAC,QAAQ,CAAC,GAAI,EACtD,IAAI,CAAC,aAAa,IACjB,CACT,CAAC;AACN,CAAC"}
@@ -1 +1 @@
1
- export declare const vDiskInfoKeyset: (key: "size" | "yes" | "no" | "links" | "kind" | "pool-name" | "guid" | "developer-ui" | "slot-id" | "incarnation-guid" | "instance-guid" | "replication-status" | "state-status" | "space-status" | "fresh-rank-satisfaction" | "level-rank-satisfaction" | "front-queues" | "has-unreadable-blobs" | "read-throughput" | "write-throughput" | "vdisk-page" | "vdiks-title", params?: import("@gravity-ui/i18n").Params) => string;
1
+ export declare const vDiskInfoKeyset: (key: "size" | "yes" | "no" | "kind" | "links" | "pool-name" | "guid" | "developer-ui" | "slot-id" | "incarnation-guid" | "instance-guid" | "replication-status" | "state-status" | "space-status" | "fresh-rank-satisfaction" | "level-rank-satisfaction" | "front-queues" | "has-unreadable-blobs" | "read-throughput" | "write-throughput" | "vdisk-page" | "vdiks-title", params?: import("@gravity-ui/i18n").Params) => string;
@@ -7,7 +7,6 @@ import { EFlag } from '../../types/api/enums';
7
7
  import { valueIsDefined } from '../../utils';
8
8
  import { cn } from '../../utils/cn';
9
9
  import { EMPTY_DATA_PLACEHOLDER } from '../../utils/constants';
10
- import { stringifyVdiskId } from '../../utils/dataFormatters/dataFormatters';
11
10
  import { createVDiskDeveloperUILink } from '../../utils/developerUI/developerUI';
12
11
  import { isFullVDiskData } from '../../utils/disks/helpers';
13
12
  import { useTypedSelector } from '../../utils/hooks';
@@ -135,16 +134,9 @@ export const VDiskPopup = ({ data }) => {
135
134
  if ('Donors' in data && data.Donors) {
136
135
  const donors = data.Donors;
137
136
  for (const donor of donors) {
138
- const isFullDonorData = isFullVDiskData(donor);
139
137
  donorsInfo.push({
140
138
  label: 'VDisk',
141
- value: (_jsx(InternalLink, { to: getVDiskLink(donor), children: stringifyVdiskId(isFullDonorData
142
- ? donor.VDiskId
143
- : {
144
- NodeId: donor.NodeId,
145
- PDiskId: donor.PDiskId,
146
- VSlotId: donor.VSlotId,
147
- }) })),
139
+ value: _jsx(InternalLink, { to: getVDiskLink(donor), children: donor.StringifiedId }),
148
140
  });
149
141
  }
150
142
  }