ydb-embedded-ui 6.32.0 → 6.34.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (171) hide show
  1. package/dist/components/ConfirmationDialog/ConfirmationDialog.d.ts +21 -0
  2. package/dist/components/ConfirmationDialog/ConfirmationDialog.js +31 -0
  3. package/dist/components/ConfirmationDialog/ConfirmationDialog.js.map +1 -0
  4. package/dist/components/ConfirmationDialog/ConfirmationDialog.scss +6 -0
  5. package/dist/components/ConfirmationDialog/i18n/en.json +3 -0
  6. package/dist/components/ConfirmationDialog/i18n/index.d.ts +1 -0
  7. package/dist/components/ConfirmationDialog/i18n/index.js +5 -0
  8. package/dist/components/ConfirmationDialog/i18n/index.js.map +1 -0
  9. package/dist/components/EntityStatus/EntityStatus.js +1 -1
  10. package/dist/components/EntityStatus/EntityStatus.js.map +1 -1
  11. package/dist/components/MemoryViewer/MemoryViewer.d.ts +14 -0
  12. package/dist/components/MemoryViewer/MemoryViewer.js +84 -0
  13. package/dist/components/MemoryViewer/MemoryViewer.js.map +1 -0
  14. package/dist/components/MemoryViewer/MemoryViewer.scss +104 -0
  15. package/dist/components/MemoryViewer/i18n/en.json +11 -0
  16. package/dist/components/MemoryViewer/i18n/index.d.ts +2 -0
  17. package/dist/components/MemoryViewer/i18n/index.js +5 -0
  18. package/dist/components/MemoryViewer/i18n/index.js.map +1 -0
  19. package/dist/components/MemoryViewer/utils.d.ts +10 -0
  20. package/dist/components/MemoryViewer/utils.js +71 -0
  21. package/dist/components/MemoryViewer/utils.js.map +1 -0
  22. package/dist/components/PDiskInfo/i18n/index.d.ts +1 -1
  23. package/dist/components/ProgressViewer/ProgressViewer.d.ts +1 -1
  24. package/dist/components/TooltipsContent/NodeEndpointsTooltipContent/NodeEndpointsTooltipContent.scss +1 -1
  25. package/dist/components/VDiskInfo/i18n/index.d.ts +1 -1
  26. package/dist/components/nodesColumns/columns.d.ts +4 -7
  27. package/dist/components/nodesColumns/columns.js +9 -17
  28. package/dist/components/nodesColumns/columns.js.map +1 -1
  29. package/dist/components/nodesColumns/constants.d.ts +4 -5
  30. package/dist/components/nodesColumns/constants.js +78 -11
  31. package/dist/components/nodesColumns/constants.js.map +1 -1
  32. package/dist/components/nodesColumns/i18n/en.json +8 -5
  33. package/dist/components/nodesColumns/i18n/index.d.ts +1 -1
  34. package/dist/containers/App/App.d.ts +1 -1
  35. package/dist/containers/App/Providers.js +2 -1
  36. package/dist/containers/App/Providers.js.map +1 -1
  37. package/dist/containers/AsideNavigation/AsideNavigation.d.ts +2 -0
  38. package/dist/containers/AsideNavigation/AsideNavigation.js +2 -1
  39. package/dist/containers/AsideNavigation/AsideNavigation.js.map +1 -1
  40. package/dist/containers/Clusters/Clusters.js +1 -1
  41. package/dist/containers/Clusters/Clusters.js.map +1 -1
  42. package/dist/containers/Clusters/Clusters.scss +5 -2
  43. package/dist/containers/Clusters/constants.d.ts +1 -1
  44. package/dist/containers/Nodes/columns/columns.js +2 -2
  45. package/dist/containers/Nodes/columns/columns.js.map +1 -1
  46. package/dist/containers/Nodes/columns/constants.js +2 -4
  47. package/dist/containers/Nodes/columns/constants.js.map +1 -1
  48. package/dist/containers/Nodes/getNodes.js +4 -5
  49. package/dist/containers/Nodes/getNodes.js.map +1 -1
  50. package/dist/containers/Storage/StorageGroups/columns/columns.js +3 -3
  51. package/dist/containers/Storage/StorageGroups/columns/columns.js.map +1 -1
  52. package/dist/containers/Storage/StorageGroups/columns/constants.d.ts +3 -7
  53. package/dist/containers/Storage/StorageGroups/columns/constants.js +54 -10
  54. package/dist/containers/Storage/StorageGroups/columns/constants.js.map +1 -1
  55. package/dist/containers/Storage/StorageGroups/getGroups.js +3 -5
  56. package/dist/containers/Storage/StorageGroups/getGroups.js.map +1 -1
  57. package/dist/containers/Storage/StorageNodes/columns/columns.js +2 -3
  58. package/dist/containers/Storage/StorageNodes/columns/columns.js.map +1 -1
  59. package/dist/containers/Storage/StorageNodes/columns/constants.js +2 -2
  60. package/dist/containers/Storage/StorageNodes/columns/constants.js.map +1 -1
  61. package/dist/containers/Storage/StorageNodes/getNodes.js +4 -5
  62. package/dist/containers/Storage/StorageNodes/getNodes.js.map +1 -1
  63. package/dist/containers/Storage/utils/index.d.ts +1 -1
  64. package/dist/containers/Tablets/i18n/index.d.ts +1 -1
  65. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopQueries.js +3 -1
  66. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopQueries.js.map +1 -1
  67. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TopNodesByMemory.js +2 -7
  68. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TopNodesByMemory.js.map +1 -1
  69. package/dist/containers/Tenant/Diagnostics/TenantOverview/i18n/index.d.ts +1 -1
  70. package/dist/containers/Tenant/Diagnostics/TopQueries/TopQueries.js +3 -1
  71. package/dist/containers/Tenant/Diagnostics/TopQueries/TopQueries.js.map +1 -1
  72. package/dist/containers/Tenant/ObjectSummary/SchemaTree/SchemaTree.js +5 -1
  73. package/dist/containers/Tenant/ObjectSummary/SchemaTree/SchemaTree.js.map +1 -1
  74. package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.js +5 -2
  75. package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.js.map +1 -1
  76. package/dist/containers/Tenant/Query/ExecuteResult/PlanToSvgButton.d.ts +7 -0
  77. package/dist/containers/Tenant/Query/ExecuteResult/PlanToSvgButton.js +40 -0
  78. package/dist/containers/Tenant/Query/ExecuteResult/PlanToSvgButton.js.map +1 -0
  79. package/dist/containers/Tenant/Query/ExecuteResult/TraceButton.js +1 -1
  80. package/dist/containers/Tenant/Query/ExecuteResult/TraceButton.js.map +1 -1
  81. package/dist/containers/Tenant/Query/ExecuteResult/i18n/en.json +4 -1
  82. package/dist/containers/Tenant/Query/ExecuteResult/i18n/index.d.ts +1 -1
  83. package/dist/containers/Tenant/Query/NewSQL/NewSQL.js +8 -1
  84. package/dist/containers/Tenant/Query/NewSQL/NewSQL.js.map +1 -1
  85. package/dist/containers/Tenant/Query/QueriesHistory/QueriesHistory.js +3 -1
  86. package/dist/containers/Tenant/Query/QueriesHistory/QueriesHistory.js.map +1 -1
  87. package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.d.ts +2 -27
  88. package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.js +32 -51
  89. package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.js.map +1 -1
  90. package/dist/containers/Tenant/Query/QueryEditorControls/QueryEditorControls.js +1 -1
  91. package/dist/containers/Tenant/Query/QueryEditorControls/QueryEditorControls.js.map +1 -1
  92. package/dist/containers/Tenant/Query/SaveQuery/SaveQuery.d.ts +9 -3
  93. package/dist/containers/Tenant/Query/SaveQuery/SaveQuery.js +23 -12
  94. package/dist/containers/Tenant/Query/SaveQuery/SaveQuery.js.map +1 -1
  95. package/dist/containers/Tenant/Query/SavedQueries/SavedQueries.js +8 -3
  96. package/dist/containers/Tenant/Query/SavedQueries/SavedQueries.js.map +1 -1
  97. package/dist/containers/Tenant/utils/newSQLQueryActions.d.ts +1 -1
  98. package/dist/containers/Tenant/utils/newSQLQueryActions.js +2 -3
  99. package/dist/containers/Tenant/utils/newSQLQueryActions.js.map +1 -1
  100. package/dist/containers/Tenant/utils/schemaActions.d.ts +1 -0
  101. package/dist/containers/Tenant/utils/schemaActions.js +59 -40
  102. package/dist/containers/Tenant/utils/schemaActions.js.map +1 -1
  103. package/dist/containers/Tenant/utils/schemaQueryTemplates.js +1 -1
  104. package/dist/containers/UserSettings/i18n/en.json +2 -0
  105. package/dist/containers/UserSettings/i18n/index.d.ts +1 -1
  106. package/dist/containers/UserSettings/settings.d.ts +1 -0
  107. package/dist/containers/UserSettings/settings.js +7 -2
  108. package/dist/containers/UserSettings/settings.js.map +1 -1
  109. package/dist/services/api.d.ts +4 -0
  110. package/dist/services/api.js +11 -0
  111. package/dist/services/api.js.map +1 -1
  112. package/dist/services/settings.d.ts +1 -0
  113. package/dist/services/settings.js +2 -1
  114. package/dist/services/settings.js.map +1 -1
  115. package/dist/store/configureStore.d.ts +25 -11
  116. package/dist/store/defaultStore.d.ts +12 -5
  117. package/dist/store/reducers/capabilities/capabilities.d.ts +48 -8
  118. package/dist/store/reducers/cluster/cluster.d.ts +36 -6
  119. package/dist/store/reducers/executeQuery.d.ts +41 -51
  120. package/dist/store/reducers/executeQuery.js +64 -160
  121. package/dist/store/reducers/executeQuery.js.map +1 -1
  122. package/dist/store/reducers/healthcheckInfo/healthcheckInfo.d.ts +120 -20
  123. package/dist/store/reducers/index.d.ts +19 -10
  124. package/dist/store/reducers/node/selectors.d.ts +6 -1
  125. package/dist/store/reducers/nodes/utils.d.ts +1 -1
  126. package/dist/store/reducers/nodesList.d.ts +6 -1
  127. package/dist/store/reducers/planToSvg.d.ts +8 -0
  128. package/dist/store/reducers/planToSvg.js +21 -0
  129. package/dist/store/reducers/planToSvg.js.map +1 -0
  130. package/dist/store/reducers/queryActions/queryActions.d.ts +0 -27
  131. package/dist/store/reducers/queryActions/queryActions.js +1 -1
  132. package/dist/store/reducers/queryActions/queryActions.js.map +1 -1
  133. package/dist/store/reducers/schema/schema.d.ts +22 -7
  134. package/dist/store/reducers/schema/schema.js +16 -20
  135. package/dist/store/reducers/schema/schema.js.map +1 -1
  136. package/dist/store/reducers/tablets.d.ts +30 -5
  137. package/dist/store/reducers/tenantOverview/topShards/utils.d.ts +1 -1
  138. package/dist/store/reducers/tenants/selectors.d.ts +54 -9
  139. package/dist/store/reducers/tooltip.d.ts +1 -1
  140. package/dist/store/reducers/topic.d.ts +90 -15
  141. package/dist/store/reducers/trace.d.ts +1 -1
  142. package/dist/store/reducers/trace.js +1 -1
  143. package/dist/store/reducers/trace.js.map +1 -1
  144. package/dist/types/api/nodes.d.ts +18 -4
  145. package/dist/types/api/nodes.js.map +1 -1
  146. package/dist/types/store/executeQuery.d.ts +3 -6
  147. package/dist/types/store/executeQuery.js.map +1 -1
  148. package/dist/utils/constants.d.ts +1 -0
  149. package/dist/utils/constants.js +1 -0
  150. package/dist/utils/constants.js.map +1 -1
  151. package/dist/utils/hooks/withConfirmation/i18n/en.json +4 -0
  152. package/dist/utils/hooks/withConfirmation/i18n/index.d.ts +2 -0
  153. package/dist/utils/hooks/withConfirmation/i18n/index.js +5 -0
  154. package/dist/utils/hooks/withConfirmation/i18n/index.js.map +1 -0
  155. package/dist/utils/hooks/withConfirmation/useChangeInputWithConfirmation.d.ts +3 -0
  156. package/dist/utils/hooks/withConfirmation/useChangeInputWithConfirmation.js +53 -0
  157. package/dist/utils/hooks/withConfirmation/useChangeInputWithConfirmation.js.map +1 -0
  158. package/dist/utils/monaco/yql/constants.d.ts +1 -1
  159. package/dist/utils/monaco/yql/generateSuggestions.d.ts +2 -1
  160. package/dist/utils/monaco/yql/generateSuggestions.js +36 -15
  161. package/dist/utils/monaco/yql/generateSuggestions.js.map +1 -1
  162. package/dist/utils/monaco/yql/yqlSuggestions.js +1 -1
  163. package/dist/utils/monaco/yql/yqlSuggestions.js.map +1 -1
  164. package/dist/utils/nodes.d.ts +1 -4
  165. package/dist/utils/nodes.js +0 -36
  166. package/dist/utils/nodes.js.map +1 -1
  167. package/dist/utils/query.d.ts +1 -1
  168. package/dist/utils/storage.d.ts +1 -3
  169. package/dist/utils/storage.js +0 -17
  170. package/dist/utils/storage.js.map +1 -1
  171. package/package.json +3 -2
@@ -0,0 +1,21 @@
1
+ import React from 'react';
2
+ import * as NiceModal from '@ebay/nice-modal-react';
3
+ import type { ButtonView, DialogFooterProps } from '@gravity-ui/uikit';
4
+ import './ConfirmationDialog.scss';
5
+ interface CommonDialogProps {
6
+ caption?: string;
7
+ message?: React.ReactNode;
8
+ body?: React.ReactNode;
9
+ progress?: boolean;
10
+ textButtonCancel?: string;
11
+ textButtonApply?: string;
12
+ buttonApplyView?: ButtonView;
13
+ className?: string;
14
+ onConfirm?: () => void;
15
+ }
16
+ interface ConfirmationDialogNiceModalProps extends CommonDialogProps, DialogFooterProps {
17
+ onClose?: () => void;
18
+ }
19
+ export declare const CONFIRMATION_DIALOG = "confirmation-dialog";
20
+ export declare const ConfirmationDialogNiceModal: React.FC<ConfirmationDialogNiceModalProps & NiceModal.NiceModalHocProps>;
21
+ export {};
@@ -0,0 +1,31 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import * as NiceModal from '@ebay/nice-modal-react';
3
+ import { Dialog } from '@gravity-ui/uikit';
4
+ import { cn } from '../../utils/cn';
5
+ import { confirmationDialogKeyset } from './i18n';
6
+ import './ConfirmationDialog.scss';
7
+ const block = cn('confirmation-dialog');
8
+ export const CONFIRMATION_DIALOG = 'confirmation-dialog';
9
+ function ConfirmationDialog({ caption = '', children, onConfirm, onClose, progress, textButtonApply, textButtonCancel, buttonApplyView = 'normal', className, renderButtons, open, }) {
10
+ return (_jsxs(Dialog, { className: block(null, className), size: "s", onClose: onClose, disableOutsideClick: true, open: open, children: [_jsx(Dialog.Header, { caption: _jsx("span", { className: block('caption'), children: caption }) }), _jsx(Dialog.Body, { children: children }), _jsx(Dialog.Footer, { onClickButtonApply: onConfirm, propsButtonApply: { view: buttonApplyView }, textButtonApply: textButtonApply, textButtonCancel: textButtonCancel !== null && textButtonCancel !== void 0 ? textButtonCancel : confirmationDialogKeyset('action_cancel'), onClickButtonCancel: onClose, loading: progress, renderButtons: renderButtons })] }));
11
+ }
12
+ export const ConfirmationDialogNiceModal = NiceModal.create((props) => {
13
+ const modal = NiceModal.useModal();
14
+ const handleClose = () => {
15
+ modal.hide();
16
+ modal.remove();
17
+ };
18
+ return (_jsx(ConfirmationDialog, { ...props, onConfirm: async () => {
19
+ var _a;
20
+ await ((_a = props.onConfirm) === null || _a === void 0 ? void 0 : _a.call(props));
21
+ modal.resolve(true);
22
+ handleClose();
23
+ }, onClose: () => {
24
+ var _a;
25
+ (_a = props.onClose) === null || _a === void 0 ? void 0 : _a.call(props);
26
+ modal.resolve(false);
27
+ handleClose();
28
+ }, open: modal.visible }));
29
+ });
30
+ NiceModal.register(CONFIRMATION_DIALOG, ConfirmationDialogNiceModal);
31
+ //# sourceMappingURL=ConfirmationDialog.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ConfirmationDialog.js","sourceRoot":"","sources":["../../../src/components/ConfirmationDialog/ConfirmationDialog.tsx"],"names":[],"mappings":";AAEA,OAAO,KAAK,SAAS,MAAM,wBAAwB,CAAC;AAEpD,OAAO,EAAC,MAAM,EAAC,MAAM,mBAAmB,CAAC;AAEzC,OAAO,EAAC,EAAE,EAAC,MAAM,gBAAgB,CAAC;AAElC,OAAO,EAAC,wBAAwB,EAAC,MAAM,QAAQ,CAAC;AAEhD,OAAO,2BAA2B,CAAC;AAEnC,MAAM,KAAK,GAAG,EAAE,CAAC,qBAAqB,CAAC,CAAC;AAyBxC,MAAM,CAAC,MAAM,mBAAmB,GAAG,qBAAqB,CAAC;AACzD,SAAS,kBAAkB,CAAC,EACxB,OAAO,GAAG,EAAE,EACZ,QAAQ,EACR,SAAS,EACT,OAAO,EACP,QAAQ,EACR,eAAe,EACf,gBAAgB,EAChB,eAAe,GAAG,QAAQ,EAC1B,SAAS,EACT,aAAa,EACb,IAAI,GACkB;IACtB,OAAO,CACH,MAAC,MAAM,IACH,SAAS,EAAE,KAAK,CAAC,IAAI,EAAE,SAAS,CAAC,EACjC,IAAI,EAAC,GAAG,EACR,OAAO,EAAE,OAAO,EAChB,mBAAmB,QACnB,IAAI,EAAE,IAAI,aAEV,KAAC,MAAM,CAAC,MAAM,IAAC,OAAO,EAAE,eAAM,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC,YAAG,OAAO,GAAQ,GAAI,EAC/E,KAAC,MAAM,CAAC,IAAI,cAAE,QAAQ,GAAe,EACrC,KAAC,MAAM,CAAC,MAAM,IACV,kBAAkB,EAAE,SAAS,EAC7B,gBAAgB,EAAE,EAAC,IAAI,EAAE,eAAe,EAAC,EACzC,eAAe,EAAE,eAAe,EAChC,gBAAgB,EAAE,gBAAgB,aAAhB,gBAAgB,cAAhB,gBAAgB,GAAI,wBAAwB,CAAC,eAAe,CAAC,EAC/E,mBAAmB,EAAE,OAAO,EAC5B,OAAO,EAAE,QAAQ,EACjB,aAAa,EAAE,aAAa,GAC9B,IACG,CACZ,CAAC;AACN,CAAC;AAED,MAAM,CAAC,MAAM,2BAA2B,GAAG,SAAS,CAAC,MAAM,CACvD,CAAC,KAAuC,EAAE,EAAE;IACxC,MAAM,KAAK,GAAG,SAAS,CAAC,QAAQ,EAAE,CAAC;IAEnC,MAAM,WAAW,GAAG,GAAG,EAAE;QACrB,KAAK,CAAC,IAAI,EAAE,CAAC;QACb,KAAK,CAAC,MAAM,EAAE,CAAC;IACnB,CAAC,CAAC;IAEF,OAAO,CACH,KAAC,kBAAkB,OACX,KAAK,EACT,SAAS,EAAE,KAAK,IAAI,EAAE;;YAClB,MAAM,CAAA,MAAA,KAAK,CAAC,SAAS,qDAAI,CAAA,CAAC;YAC1B,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;YACpB,WAAW,EAAE,CAAC;QAClB,CAAC,EACD,OAAO,EAAE,GAAG,EAAE;;YACV,MAAA,KAAK,CAAC,OAAO,qDAAI,CAAC;YAClB,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;YACrB,WAAW,EAAE,CAAC;QAClB,CAAC,EACD,IAAI,EAAE,KAAK,CAAC,OAAO,GACrB,CACL,CAAC;AACN,CAAC,CACJ,CAAC;AAEF,SAAS,CAAC,QAAQ,CAAC,mBAAmB,EAAE,2BAA2B,CAAC,CAAC"}
@@ -0,0 +1,6 @@
1
+ .confirmation-dialog {
2
+ &__message,
3
+ &__caption {
4
+ white-space: pre-wrap;
5
+ }
6
+ }
@@ -0,0 +1,3 @@
1
+ {
2
+ "action_cancel": "Cancel"
3
+ }
@@ -0,0 +1 @@
1
+ export declare const confirmationDialogKeyset: (key: "action_cancel", params?: import("@gravity-ui/i18n").Params) => string;
@@ -0,0 +1,5 @@
1
+ import { registerKeysets } from '../../../utils/i18n';
2
+ import en from './en.json';
3
+ const COMPONENT = 'ydb-confirmation-dialog';
4
+ export const confirmationDialogKeyset = registerKeysets(COMPONENT, { en });
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/ConfirmationDialog/i18n/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,qBAAqB,CAAC;AAEpD,OAAO,EAAE,MAAM,WAAW,CAAC;AAE3B,MAAM,SAAS,GAAG,yBAAyB,CAAC;AAE5C,MAAM,CAAC,MAAM,wBAAwB,GAAG,eAAe,CAAC,SAAS,EAAE,EAAC,EAAE,EAAC,CAAC,CAAC"}
@@ -25,7 +25,7 @@ export function EntityStatus({ status = EFlag.Grey, name = '', label, path, icon
25
25
  }
26
26
  return name && _jsx("span", { className: b('name'), children: name });
27
27
  };
28
- return (_jsxs("div", { className: b(null, className), title: name, children: [iconPath ? renderStatusLink(iconPath) : renderIcon(), label && (_jsx("span", { title: label, className: b('label', { size, state: status.toLowerCase() }), children: label })), (path || name) && (_jsxs("div", { className: b('wrapper', { 'with-button': hasClipboardButton }), children: [_jsx("span", { className: b('link', { 'with-left-trim': withLeftTrim }), children: renderLink() }), hasClipboardButton && (_jsx("div", { className: b('controls-wrapper', {
28
+ return (_jsxs("div", { className: b(null, className), children: [iconPath ? renderStatusLink(iconPath) : renderIcon(), label && (_jsx("span", { title: label, className: b('label', { size, state: status.toLowerCase() }), children: label })), (path || name) && (_jsxs("div", { className: b('wrapper', { 'with-button': hasClipboardButton }), children: [_jsx("span", { className: b('link', { 'with-left-trim': withLeftTrim }), title: name, children: renderLink() }), hasClipboardButton && (_jsx("div", { className: b('controls-wrapper', {
29
29
  visible: clipboardButtonAlwaysVisible,
30
30
  }), children: _jsx(ClipboardButton, { text: name, size: "xs", view: "normal", className: b('clipboard-button', {
31
31
  visible: clipboardButtonAlwaysVisible,
@@ -1 +1 @@
1
- {"version":3,"file":"EntityStatus.js","sourceRoot":"","sources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kBAAkB,EAAE;gCAC7B,OAAO,EAAE,4BAA4B;6BACxC,CAAC,GACJ,GACA,CACT,IACC,CACT,IACC,CACT,CAAC;AACN,CAAC"}
1
+ {"version":3,"file":"EntityStatus.js","sourceRoot":"","sources":["../../../src/components/EntityStatus/EntityStatus.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,eAAe,EAAE,IAAI,IAAI,SAAS,EAAC,MAAM,mBAAmB,CAAC;AAErE,OAAO,EAAC,KAAK,EAAC,MAAM,uBAAuB,CAAC;AAC5C,OAAO,EAAC,EAAE,EAAC,MAAM,gBAAgB,CAAC;AAClC,OAAO,EAAC,YAAY,EAAC,MAAM,8BAA8B,CAAC;AAC1D,OAAO,EAAC,UAAU,EAAC,MAAM,0BAA0B,CAAC;AAGpD,OAAO,qBAAqB,CAAC;AAE7B,MAAM,CAAC,GAAG,EAAE,CAAC,eAAe,CAAC,CAAC;AAsB9B,MAAM,UAAU,YAAY,CAAC,EACzB,MAAM,GAAG,KAAK,CAAC,IAAI,EACnB,IAAI,GAAG,EAAE,EACT,KAAK,EACL,IAAI,EACJ,QAAQ,EAER,IAAI,GAAG,GAAG,EACV,IAAI,GAAG,OAAO,EAEd,UAAU,GAAG,IAAI,EACjB,YAAY,GAAG,KAAK,EACpB,YAAY,GAAG,KAAK,EAEpB,kBAAkB,EAClB,4BAA4B,GAAG,KAAK,EAEpC,SAAS,GACO;IAChB,MAAM,UAAU,GAAG,GAAG,EAAE;QACpB,IAAI,CAAC,UAAU,EAAE,CAAC;YACd,OAAO,IAAI,CAAC;QAChB,CAAC;QAED,OAAO,KAAC,UAAU,IAAC,SAAS,EAAE,CAAC,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,GAAI,CAAC;IACxF,CAAC,CAAC;IACF,MAAM,gBAAgB,GAAG,CAAC,IAAY,EAAE,EAAE;QACtC,OAAO,CACH,KAAC,SAAS,IAAC,MAAM,E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OAAO,EAAE,4BAA4B;yBACxC,CAAC,YAEF,KAAC,eAAe,IACZ,IAAI,EAAE,IAAI,EACV,IAAI,EAAC,IAAI,EACT,IAAI,EAAC,QAAQ,EACb,SAAS,EAAE,CAAC,CAAC,kBAAkB,EAAE;gCAC7B,OAAO,EAAE,4BAA4B;6BACxC,CAAC,GACJ,GACA,CACT,IACC,CACT,IACC,CACT,CAAC;AACN,CAAC"}
@@ -0,0 +1,14 @@
1
+ import type { TMemoryStats } from '../../types/api/nodes';
2
+ import type { FormatProgressViewerValues } from '../ProgressViewer/ProgressViewer';
3
+ import './MemoryViewer.scss';
4
+ export interface MemoryProgressViewerProps {
5
+ stats: TMemoryStats;
6
+ className?: string;
7
+ warningThreshold?: number;
8
+ value?: number | string;
9
+ capacity?: number | string;
10
+ formatValues: FormatProgressViewerValues;
11
+ percents?: boolean;
12
+ dangerThreshold?: number;
13
+ }
14
+ export declare function MemoryViewer({ stats, value, capacity, percents, formatValues, className, warningThreshold, dangerThreshold, }: MemoryProgressViewerProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,84 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { DefinitionList, useTheme } from '@gravity-ui/uikit';
3
+ import { formatBytes } from '../../utils/bytesParsers';
4
+ import { cn } from '../../utils/cn';
5
+ import { GIGABYTE } from '../../utils/constants';
6
+ import { calculateProgressStatus } from '../../utils/progress';
7
+ import { isNumeric } from '../../utils/utils';
8
+ import { HoverPopup } from '../HoverPopup/HoverPopup';
9
+ import { ProgressViewer } from '../ProgressViewer/ProgressViewer';
10
+ import { getMemorySegments } from './utils';
11
+ import './MemoryViewer.scss';
12
+ const MIN_VISIBLE_MEMORY_SHARE = 1;
13
+ const MIN_VISIBLE_MEMORY_VALUE = 0.01 * GIGABYTE;
14
+ const b = cn('memory-viewer');
15
+ const formatDetailedValues = (value, total) => {
16
+ return [
17
+ formatBytes({
18
+ value,
19
+ size: 'gb',
20
+ withSizeLabel: false,
21
+ precision: 2,
22
+ }),
23
+ formatBytes({
24
+ value: total,
25
+ size: 'gb',
26
+ withSizeLabel: true,
27
+ precision: 1,
28
+ }),
29
+ ];
30
+ };
31
+ export function MemoryViewer({ stats, value, capacity, percents, formatValues, className, warningThreshold = 60, dangerThreshold = 80, }) {
32
+ const theme = useTheme();
33
+ let fillWidth = Math.round((parseFloat(String(value)) / parseFloat(String(capacity))) * 100) || 0;
34
+ fillWidth = fillWidth > 100 ? 100 : fillWidth;
35
+ let valueText = value, capacityText = capacity, divider = '/';
36
+ if (percents) {
37
+ valueText = fillWidth + '%';
38
+ capacityText = '';
39
+ divider = '';
40
+ }
41
+ else if (formatValues) {
42
+ [valueText, capacityText] = formatValues(Number(value), Number(capacity));
43
+ }
44
+ const renderContent = () => {
45
+ if (isNumeric(capacity)) {
46
+ return `${valueText} ${divider} ${capacityText}`;
47
+ }
48
+ return valueText;
49
+ };
50
+ const calculateMemoryShare = (segmentSize) => {
51
+ if (!value) {
52
+ return 0;
53
+ }
54
+ return (segmentSize / parseFloat(String(capacity))) * 100;
55
+ };
56
+ const memorySegments = getMemorySegments(stats);
57
+ const status = calculateProgressStatus({
58
+ fillWidth,
59
+ warningThreshold,
60
+ dangerThreshold,
61
+ colorizeProgress: true,
62
+ });
63
+ let currentPosition = 0;
64
+ return (_jsx(HoverPopup, { popupContent: _jsx(DefinitionList, { responsive: true, children: memorySegments.map(({ label, value: segmentSize, capacity: segmentCapacity, key }) => (_jsx(DefinitionList.Item, { name: _jsxs("div", { className: b('container'), children: [_jsx("div", { className: b('legend', { type: key }) }), _jsx("div", { className: b('name'), children: label })] }), children: segmentCapacity ? (_jsx(ProgressViewer, { value: segmentSize, capacity: segmentCapacity, formatValues: formatDetailedValues, colorizeProgress: true })) : (formatBytes({
65
+ value: segmentSize,
66
+ size: 'gb',
67
+ withSizeLabel: true,
68
+ precision: 2,
69
+ })) }, label))) }), children: _jsx("div", { className: b({ theme, status }, className), children: _jsxs("div", { className: b('progress-container'), children: [memorySegments
70
+ .filter(({ isInfo }) => !isInfo)
71
+ .map((segment) => {
72
+ if (segment.value < MIN_VISIBLE_MEMORY_VALUE) {
73
+ return null;
74
+ }
75
+ const currentMemoryShare = Math.max(calculateMemoryShare(segment.value), MIN_VISIBLE_MEMORY_SHARE);
76
+ const position = currentPosition;
77
+ currentPosition += currentMemoryShare;
78
+ return (_jsx("div", { className: b('segment', { type: segment.key }), style: {
79
+ width: `${currentMemoryShare}%`,
80
+ left: `${position}%`,
81
+ } }, segment.key));
82
+ }), _jsx("div", { className: b('text'), children: renderContent() })] }) }) }));
83
+ }
84
+ //# sourceMappingURL=MemoryViewer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MemoryViewer.js","sourceRoot":"","sources":["../../../src/components/MemoryViewer/MemoryViewer.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,cAAc,EAAE,QAAQ,EAAC,MAAM,mBAAmB,CAAC;AAG3D,OAAO,EAAC,WAAW,EAAC,MAAM,0BAA0B,CAAC;AACrD,OAAO,EAAC,EAAE,EAAC,MAAM,gBAAgB,CAAC;AAClC,OAAO,EAAC,QAAQ,EAAC,MAAM,uBAAuB,CAAC;AAC/C,OAAO,EAAC,uBAAuB,EAAC,MAAM,sBAAsB,CAAC;AAC7D,OAAO,EAAC,SAAS,EAAC,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAC,UAAU,EAAC,MAAM,0BAA0B,CAAC;AAEpD,OAAO,EAAC,cAAc,EAAC,MAAM,kCAAkC,CAAC;AAEhE,OAAO,EAAC,iBAAiB,EAAC,MAAM,SAAS,CAAC;AAE1C,OAAO,qBAAqB,CAAC;AAE7B,MAAM,wBAAwB,GAAG,CAAC,CAAC;AACnC,MAAM,wBAAwB,GAAG,IAAI,GAAG,QAAQ,CAAC;AAEjD,MAAM,CAAC,GAAG,EAAE,CAAC,eAAe,CAAC,CAAC;AAE9B,MAAM,oBAAoB,GAA+B,CAAC,KAAK,EAAE,KAAK,EAAE,EAA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B,IAAI,EAAE,IAAI;oBACV,aAAa,EAAE,IAAI;oBACnB,SAAS,EAAE,CAAC;iBACf,CAAC,CACL,IAtBI,KAAK,CAuBQ,CACzB,CACJ,GACY,YAGrB,cAAK,SAAS,EAAE,CAAC,CAAC,EAAC,KAAK,EAAE,MAAM,EAAC,EAAE,SAAS,CAAC,YACzC,eAAK,SAAS,EAAE,CAAC,CAAC,oBAAoB,CAAC,aAClC,cAAc;yBACV,MAAM,CAAC,CAAC,EAAC,MAAM,EAAC,EAAE,EAAE,CAAC,CAAC,MAAM,CAAC;yBAC7B,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE;wBACb,IAAI,OAAO,CAAC,KAAK,GAAG,wBAAwB,EAAE,CAAC;4BAC3C,OAAO,IAAI,CAAC;wBAChB,CAAC;wBAED,MAAM,kBAAkB,GAAG,IAAI,CAAC,GAAG,CAC/B,oBAAoB,CAAC,OAAO,CAAC,KAAK,CAAC,EACnC,wBAAwB,CAC3B,CAAC;wBACF,MAAM,QAAQ,GAAG,eAAe,CAAC;wBACjC,eAAe,IAAI,kBAAkB,CAAC;wBAEtC,OAAO,CACH,cAEI,SAAS,EAAE,CAAC,CAAC,SAAS,EAAE,EAAC,IAAI,EAAE,OAAO,CAAC,GAAG,EAAC,CAAC,EAC5C,KAAK,EAAE;gCACH,KAAK,EAAE,GAAG,kBAAkB,GAAG;gCAC/B,IAAI,EAAE,GAAG,QAAQ,GAAG;6BACvB,IALI,OAAO,CAAC,GAAG,CAMlB,CACL,CAAC;oBACN,CAAC,CAAC,EACN,cAAK,SAAS,EAAE,CAAC,CAAC,MAAM,CAAC,YAAG,aAAa,EAAE,GAAO,IAChD,GACJ,GACG,CAChB,CAAC;AACN,CAAC"}
@@ -0,0 +1,104 @@
1
+ @import '../../styles/mixins.scss';
2
+
3
+ $memory-type-colors: (
4
+ 'AllocatorCachesMemory': var(--g-color-base-utility-medium-hover),
5
+ 'SharedCacheConsumption': var(--g-color-base-info-medium-hover),
6
+ 'MemTableConsumption': var(--g-color-base-warning-medium-hover),
7
+ 'QueryExecutionConsumption': var(--g-color-base-positive-medium-hover),
8
+ 'Other': var(--g-color-base-neutral-light-hover),
9
+ );
10
+
11
+ @mixin memory-type-color($type) {
12
+ background-color: map-get($memory-type-colors, $type);
13
+ }
14
+
15
+ .memory-viewer {
16
+ $block: &;
17
+
18
+ position: relative;
19
+ z-index: 0;
20
+
21
+ min-width: 150px;
22
+ padding: 0 var(--g-spacing-1);
23
+
24
+ &__progress-container {
25
+ position: relative;
26
+
27
+ overflow: hidden;
28
+
29
+ height: 20px;
30
+
31
+ border-radius: 2px;
32
+ background: var(--g-color-base-generic);
33
+ }
34
+
35
+ &__container {
36
+ display: flex;
37
+
38
+ padding: 2px 0;
39
+ }
40
+
41
+ &__legend {
42
+ position: absolute;
43
+ bottom: 2px;
44
+
45
+ width: 20px;
46
+ height: 20px;
47
+
48
+ border-radius: 2px;
49
+
50
+ @each $type, $color in $memory-type-colors {
51
+ &_type_#{$type} {
52
+ @include memory-type-color($type);
53
+ }
54
+ }
55
+ }
56
+
57
+ &__segment {
58
+ position: absolute;
59
+
60
+ height: 100%;
61
+
62
+ @each $type, $color in $memory-type-colors {
63
+ &_type_#{$type} {
64
+ @include memory-type-color($type);
65
+ }
66
+ }
67
+ }
68
+
69
+ &__name {
70
+ padding-left: 28px;
71
+ }
72
+
73
+ &_theme_dark {
74
+ color: var(--g-color-text-light-primary);
75
+
76
+ #{$block}__segment {
77
+ opacity: 0.75;
78
+ }
79
+ }
80
+
81
+ &_status {
82
+ &_good {
83
+ #{$block}__progress-container {
84
+ background-color: var(--g-color-base-positive-light);
85
+ }
86
+ }
87
+ &_warning {
88
+ #{$block}__progress-container {
89
+ background-color: var(--g-color-base-yellow-light);
90
+ }
91
+ }
92
+ &_danger {
93
+ #{$block}__progress-container {
94
+ background-color: var(--g-color-base-danger-light);
95
+ }
96
+ }
97
+ }
98
+
99
+ &__text {
100
+ display: flex;
101
+ justify-content: center;
102
+ align-items: center;
103
+ }
104
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "text_external-consumption": "External Consumption",
3
+ "text_allocator-caches": "Allocator Caches",
4
+ "text_shared-cache": "Shared Cache",
5
+ "text_memtable": "MemTable",
6
+ "text_query-execution": "Query Execution",
7
+ "text_usage": "Usage",
8
+ "text_soft-limit": "Soft Limit",
9
+ "text_hard-limit": "Hard Limit",
10
+ "text_other": "Other"
11
+ }
@@ -0,0 +1,2 @@
1
+ declare const _default: (key: "text_external-consumption" | "text_allocator-caches" | "text_shared-cache" | "text_memtable" | "text_query-execution" | "text_usage" | "text_soft-limit" | "text_hard-limit" | "text_other", params?: import("@gravity-ui/i18n").Params) => string;
2
+ export default _default;
@@ -0,0 +1,5 @@
1
+ import { registerKeysets } from '../../../utils/i18n';
2
+ import en from './en.json';
3
+ const COMPONENT = 'ydb-memory-viewer';
4
+ export default registerKeysets(COMPONENT, { en });
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/MemoryViewer/i18n/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,qBAAqB,CAAC;AAEpD,OAAO,EAAE,MAAM,WAAW,CAAC;AAE3B,MAAM,SAAS,GAAG,mBAAmB,CAAC;AAEtC,eAAe,eAAe,CAAC,SAAS,EAAE,EAAC,EAAE,EAAC,CAAC,CAAC"}
@@ -0,0 +1,10 @@
1
+ import type { TMemoryStats } from '../../types/api/nodes';
2
+ interface MemorySegment {
3
+ label: string;
4
+ key: string;
5
+ value: number;
6
+ capacity?: number;
7
+ isInfo?: boolean;
8
+ }
9
+ export declare function getMemorySegments(stats: TMemoryStats): MemorySegment[];
10
+ export {};
@@ -0,0 +1,71 @@
1
+ import { isNumeric } from '../../utils/utils';
2
+ import i18n from './i18n';
3
+ function getMaybeNumber(value) {
4
+ return isNumeric(value) ? parseFloat(String(value)) : undefined;
5
+ }
6
+ export function getMemorySegments(stats) {
7
+ const segments = [
8
+ {
9
+ label: i18n('text_shared-cache'),
10
+ key: 'SharedCacheConsumption',
11
+ value: getMaybeNumber(stats.SharedCacheConsumption),
12
+ capacity: getMaybeNumber(stats.SharedCacheLimit),
13
+ isInfo: false,
14
+ },
15
+ {
16
+ label: i18n('text_query-execution'),
17
+ key: 'QueryExecutionConsumption',
18
+ value: getMaybeNumber(stats.QueryExecutionConsumption),
19
+ capacity: getMaybeNumber(stats.QueryExecutionLimit),
20
+ isInfo: false,
21
+ },
22
+ {
23
+ label: i18n('text_memtable'),
24
+ key: 'MemTableConsumption',
25
+ value: getMaybeNumber(stats.MemTableConsumption),
26
+ capacity: getMaybeNumber(stats.MemTableLimit),
27
+ isInfo: false,
28
+ },
29
+ {
30
+ label: i18n('text_allocator-caches'),
31
+ key: 'AllocatorCachesMemory',
32
+ value: getMaybeNumber(stats.AllocatorCachesMemory),
33
+ isInfo: false,
34
+ },
35
+ ];
36
+ const nonInfoSegments = segments.filter((segment) => segment.value !== undefined);
37
+ const sumNonInfoSegments = nonInfoSegments.reduce((acc, segment) => acc + segment.value, 0);
38
+ const totalMemory = getMaybeNumber(stats.AnonRss);
39
+ if (totalMemory) {
40
+ const otherMemory = Math.max(0, totalMemory - sumNonInfoSegments);
41
+ segments.push({
42
+ label: i18n('text_other'),
43
+ key: 'Other',
44
+ value: otherMemory,
45
+ isInfo: false,
46
+ });
47
+ }
48
+ segments.push({
49
+ label: i18n('text_external-consumption'),
50
+ key: 'ExternalConsumption',
51
+ value: getMaybeNumber(stats.ExternalConsumption),
52
+ isInfo: true,
53
+ }, {
54
+ label: i18n('text_usage'),
55
+ key: 'Usage',
56
+ value: getMaybeNumber(stats.AnonRss),
57
+ isInfo: true,
58
+ }, {
59
+ label: i18n('text_soft-limit'),
60
+ key: 'SoftLimit',
61
+ value: getMaybeNumber(stats.SoftLimit),
62
+ isInfo: true,
63
+ }, {
64
+ label: i18n('text_hard-limit'),
65
+ key: 'HardLimit',
66
+ value: getMaybeNumber(stats.HardLimit),
67
+ isInfo: true,
68
+ });
69
+ return segments.filter((segment) => segment.value !== undefined);
70
+ }
71
+ //# sourceMappingURL=utils.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../src/components/MemoryViewer/utils.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,SAAS,EAAC,MAAM,mBAAmB,CAAC;AAE5C,OAAO,IAAI,MAAM,QAAQ,CAAC;AAE1B,SAAS,cAAc,CAAC,KAAkC;IACtD,OAAO,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;AACpE,CAAC;AAUD,MAAM,UAAU,iBAAiB,CAAC,KAAmB;IACjD,MAAM,QAAQ,GAAG;QACb;YACI,KAAK,EAAE,IAAI,CAAC,mBAAmB,CAAC;YAChC,GAAG,EAAE,wBAAwB;YAC7B,KAAK,EAAE,cAAc,CAAC,KAAK,CAAC,sBAAsB,CAAC;YACnD,QAAQ,EAAE,cAAc,CAAC,KAAK,CAAC,gBAAgB,CAAC;YAChD,MAAM,EAAE,KAAK;SAChB;QACD;YACI,KAAK,EAAE,IAAI,CAAC,sBAAsB,CAAC;YACnC,GAAG,EAAE,2BAA2B;YAChC,KAAK,EAAE,cAAc,CAAC,KAAK,CAAC,yBAAyB,CAAC;YACtD,QAAQ,EAAE,cAAc,CAAC,KAAK,CAAC,mBAAmB,CAAC;YACnD,MAAM,EAAE,KAAK;SAChB;QACD;YACI,KAAK,EAAE,IAAI,CAAC,eAAe,CAAC;YAC5B,GAAG,EAAE,qBAAqB;YAC1B,KAAK,EAAE,cAAc,CAAC,KAAK,CAAC,mBAAmB,CAAC;YAChD,QAAQ,EAAE,cAAc,CAAC,KAAK,CAAC,aAAa,CAAC;YAC7C,MAAM,EAAE,KAAK;SAChB;QACD;YACI,KAAK,EAAE,IAAI,CAAC,uBAAuB,CAAC;YACpC,GAA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AAI;KACf,EACD;QACI,KAAK,EAAE,IAAI,CAAC,iBAAiB,CAAC;QAC9B,GAAG,EAAE,WAAW;QAChB,KAAK,EAAE,cAAc,CAAC,KAAK,CAAC,SAAS,CAAC;QACtC,MAAM,EAAE,IAAI;KACf,CACJ,CAAC;IAEF,OAAO,QAAQ,CAAC,MAAM,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,KAAK,KAAK,SAAS,CAAoB,CAAC;AACxF,CAAC"}
@@ -1 +1 @@
1
- export declare const pDiskInfoKeyset: (key: "path" | "type" | "space" | "yes" | "state" | "links" | "guid" | "serial-number" | "shared-with-os" | "drive-status" | "device" | "realtime" | "slots" | "log-size" | "system-size" | "developer-ui" | "pdisk-page", params?: import("@gravity-ui/i18n").Params) => string;
1
+ export declare const pDiskInfoKeyset: (key: "path" | "type" | "space" | "links" | "yes" | "state" | "guid" | "serial-number" | "shared-with-os" | "drive-status" | "device" | "realtime" | "slots" | "log-size" | "system-size" | "developer-ui" | "pdisk-page", params?: import("@gravity-ui/i18n").Params) => string;
@@ -1,6 +1,6 @@
1
1
  import './ProgressViewer.scss';
2
2
  type ProgressViewerSize = 'xs' | 's' | 'ns' | 'm' | 'n' | 'l' | 'head';
3
- type FormatProgressViewerValues = (value?: number, capacity?: number) => (string | number | undefined)[];
3
+ export type FormatProgressViewerValues = (value?: number, capacity?: number) => (string | number | undefined)[];
4
4
  export interface ProgressViewerProps {
5
5
  value?: number | string;
6
6
  capacity?: number | string;
@@ -7,6 +7,6 @@
7
7
  }
8
8
  &__definition {
9
9
  text-align: right;
10
- word-break: break-all;
10
+ word-break: break-word;
11
11
  }
12
12
  }
@@ -1 +1 @@
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;
1
+ export declare const vDiskInfoKeyset: (key: "links" | "size" | "yes" | "no" | "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,4 +1,4 @@
1
- import type { TPoolStats } from '../../types/api/nodes';
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
4
  import type { NodeHostData } from '../NodeHostWrapper/NodeHostWrapper';
@@ -24,18 +24,15 @@ export declare function getUptimeColumn<T extends {
24
24
  StartTime?: string;
25
25
  Uptime?: string;
26
26
  }>(): Column<T>;
27
- export declare function getMemoryColumn<T extends {
27
+ export declare function getRAMColumn<T extends {
28
28
  MemoryUsed?: string;
29
29
  MemoryLimit?: string;
30
30
  }>(): Column<T>;
31
- export declare function getRAMColumn<T extends {
31
+ export declare function getMemoryColumn<T extends {
32
+ MemoryStats?: TMemoryStats;
32
33
  MemoryUsed?: string;
33
34
  MemoryLimit?: string;
34
35
  }>(): Column<T>;
35
- export declare function getSharedCacheUsageColumn<T extends {
36
- SharedCacheUsed?: string | number;
37
- SharedCacheLimit?: string | number;
38
- }>(): Column<T>;
39
36
  export declare function getPoolsColumn<T extends {
40
37
  PoolStats?: TPoolStats[];
41
38
  }>(): Column<T>;
@@ -9,6 +9,7 @@ import { formatStorageValues, formatStorageValuesToGb, } from '../../utils/dataF
9
9
  import { getSpaceUsageSeverity } from '../../utils/storage';
10
10
  import { isNumeric } from '../../utils/utils';
11
11
  import { CellWithPopover } from '../CellWithPopover/CellWithPopover';
12
+ import { MemoryViewer } from '../MemoryViewer/MemoryViewer';
12
13
  import { NodeHostWrapper } from '../NodeHostWrapper/NodeHostWrapper';
13
14
  import { PoolsGraph } from '../PoolsGraph/PoolsGraph';
14
15
  import { ProgressViewer } from '../ProgressViewer/ProgressViewer';
@@ -87,18 +88,6 @@ export function getUptimeColumn() {
87
88
  width: 110,
88
89
  };
89
90
  }
90
- export function getMemoryColumn() {
91
- return {
92
- name: NODES_COLUMNS_IDS.Memory,
93
- header: NODES_COLUMNS_TITLES.Memory,
94
- sortAccessor: ({ MemoryUsed = 0 }) => Number(MemoryUsed),
95
- defaultOrder: DataTable.DESCENDING,
96
- render: ({ row }) => (_jsx(ProgressViewer, { value: row.MemoryUsed, capacity: row.MemoryLimit, formatValues: formatStorageValuesToGb, colorizeProgress: true })),
97
- align: DataTable.LEFT,
98
- width: 170,
99
- resizeMinWidth: 170,
100
- };
101
- }
102
91
  export function getRAMColumn() {
103
92
  return {
104
93
  name: NODES_COLUMNS_IDS.RAM,
@@ -116,13 +105,16 @@ export function getRAMColumn() {
116
105
  resizeMinWidth: 40,
117
106
  };
118
107
  }
119
- export function getSharedCacheUsageColumn() {
108
+ export function getMemoryColumn() {
120
109
  return {
121
- name: NODES_COLUMNS_IDS.SharedCacheUsage,
122
- header: NODES_COLUMNS_TITLES.SharedCacheUsage,
123
- render: ({ row }) => (_jsx(ProgressViewer, { value: row.SharedCacheUsed, capacity: row.SharedCacheLimit, formatValues: formatStorageValuesToGb, colorizeProgress: true })),
110
+ name: NODES_COLUMNS_IDS.Memory,
111
+ header: NODES_COLUMNS_TITLES.Memory,
112
+ defaultOrder: DataTable.DESCENDING,
113
+ render: ({ row }) => {
114
+ return row.MemoryStats ? (_jsx(MemoryViewer, { capacity: row.MemoryLimit, value: row.MemoryStats.AnonRss, formatValues: formatStorageValuesToGb, stats: row.MemoryStats })) : (_jsx(ProgressViewer, { value: row.MemoryUsed, capacity: row.MemoryLimit, formatValues: formatStorageValuesToGb, colorizeProgress: true }));
115
+ },
124
116
  align: DataTable.LEFT,
125
- width: 170,
117
+ width: 300,
126
118
  resizeMinWidth: 170,
127
119
  };
128
120
  }
@@ -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,OAAO,EAAC,sBAAsB,EAAC,MAAM,uBAAuB,CAAC;AAC7D,OAAO,EACH,mBAAmB,EACnB,uBAAuB,GAC1B,MAAM,2CAA2C,CAAC;AACnD,OAAO,EAAC,qBAAqB,EAAC,MAAM,qBAAqB,CAAC;AAE1D,OAAO,EAAC,SAAS,EAAC,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAC,eAAe,EAAC,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAC,eAAe,EAAC,MAAM,oCAAoC,CAAC;AAEnE,OAAO,EAAC,UAAU,EAAC,MAAM,0BAA0B,CAAC;AACpD,OAAO,EAAC,cAAc,EAAC,MAAM,kCAAkC,CAAC;AAChE,OAAO,EAAC,gBAAgB,EAAC,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAC,UAAU,EAAC,MAAM,oBAAoB,CAAC;AAC9C,OAAO,EAAC,UAAU,EAAC,MAAM,0BAA0B,CAAC;AAEpD,OAAO,EAAC,iBAAiB,EAAE,oBAAoB,EAAC,MAAM,aAAa,CAAC;AACpE,OAAO,IAAI,MAAM,QAAQ,CAAC;AAG1B,OAAO,qBAAqB,CAAC;AAE7B,MAAM,CAAC,GAAG,EAAE,CAAC,mBAAmB,CAAC,CAAC;AAElC,MAAM,UAAU,eAAe;IAC3B,OAAO;QACH,IAAI,EA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