ydb-embedded-ui 6.35.0 → 6.36.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (132) hide show
  1. package/dist/components/AutoRefreshControl/AutoRefreshControl.js +1 -1
  2. package/dist/components/AutoRefreshControl/AutoRefreshControl.js.map +1 -1
  3. package/dist/components/MemoryViewer/MemoryViewer.d.ts +1 -3
  4. package/dist/components/MemoryViewer/MemoryViewer.js +3 -1
  5. package/dist/components/MemoryViewer/MemoryViewer.js.map +1 -1
  6. package/dist/components/PaginatedTable/PaginatedTable.js +9 -7
  7. package/dist/components/PaginatedTable/PaginatedTable.js.map +1 -1
  8. package/dist/components/PaginatedTable/TableChunk.d.ts +4 -5
  9. package/dist/components/PaginatedTable/TableChunk.js +7 -1
  10. package/dist/components/PaginatedTable/TableChunk.js.map +1 -1
  11. package/dist/components/nodesColumns/columns.js +1 -1
  12. package/dist/components/nodesColumns/columns.js.map +1 -1
  13. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopQueries.js +1 -1
  14. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopQueries.js.map +1 -1
  15. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TenantMemory.d.ts +5 -1
  16. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TenantMemory.js +6 -2
  17. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TenantMemory.js.map +1 -1
  18. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantOverview.js +1 -1
  19. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantOverview.js.map +1 -1
  20. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantOverview.scss +5 -0
  21. package/dist/containers/Tenant/Diagnostics/TopQueries/TopQueries.js +1 -1
  22. package/dist/containers/Tenant/Diagnostics/TopQueries/TopQueries.js.map +1 -1
  23. package/dist/containers/Tenant/ObjectSummary/SchemaTree/SchemaTree.js +1 -1
  24. package/dist/containers/Tenant/ObjectSummary/SchemaTree/SchemaTree.js.map +1 -1
  25. package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.d.ts +2 -2
  26. package/dist/containers/Tenant/Query/ExecuteResult/utils.d.ts +1 -1
  27. package/dist/containers/Tenant/Query/ExecuteResult/utils.js +1 -1
  28. package/dist/containers/Tenant/Query/ExecuteResult/utils.js.map +1 -1
  29. package/dist/containers/Tenant/Query/ExplainResult/ExplainResult.d.ts +2 -2
  30. package/dist/containers/Tenant/Query/ExplainResult/ExplainResult.js +1 -1
  31. package/dist/containers/Tenant/Query/ExplainResult/ExplainResult.js.map +1 -1
  32. package/dist/containers/Tenant/Query/ExplainResult/components/Graph/Graph.d.ts +2 -2
  33. package/dist/containers/Tenant/Query/ExplainResult/components/Graph/Graph.js +1 -1
  34. package/dist/containers/Tenant/Query/ExplainResult/components/Graph/Graph.js.map +1 -1
  35. package/dist/containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/SimplifiedPlan.d.ts +1 -1
  36. package/dist/containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/types.d.ts +1 -1
  37. package/dist/containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/utils.d.ts +1 -1
  38. package/dist/containers/Tenant/Query/QueriesHistory/QueriesHistory.js +1 -1
  39. package/dist/containers/Tenant/Query/QueriesHistory/QueriesHistory.js.map +1 -1
  40. package/dist/containers/Tenant/Query/Query.js +1 -1
  41. package/dist/containers/Tenant/Query/Query.js.map +1 -1
  42. package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.js +8 -9
  43. package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.js.map +1 -1
  44. package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsDialog.js +5 -3
  45. package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsDialog.js.map +1 -1
  46. package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsSelect.d.ts +1 -0
  47. package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsSelect.js +2 -2
  48. package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsSelect.js.map +1 -1
  49. package/dist/containers/Tenant/Query/QuerySettingsDialog/i18n/en.json +1 -0
  50. package/dist/containers/Tenant/Query/QuerySettingsDialog/i18n/index.d.ts +1 -1
  51. package/dist/containers/Tenant/Query/QuerySettingsDialog/i18n/ru.json +1 -0
  52. package/dist/containers/Tenant/utils/schemaQueryTemplates.js +2 -3
  53. package/dist/containers/Tenant/utils/schemaQueryTemplates.js.map +1 -1
  54. package/dist/containers/UserSettings/i18n/en.json +2 -2
  55. package/dist/containers/Versions/groupNodes.js +1 -1
  56. package/dist/containers/Versions/groupNodes.js.map +1 -1
  57. package/dist/services/api.js +1 -0
  58. package/dist/services/api.js.map +1 -1
  59. package/dist/store/configureStore.d.ts +4 -4
  60. package/dist/store/configureStore.js +1 -1
  61. package/dist/store/configureStore.js.map +1 -1
  62. package/dist/store/defaultStore.d.ts +2 -2
  63. package/dist/store/reducers/cancelQuery.js +2 -2
  64. package/dist/store/reducers/cancelQuery.js.map +1 -1
  65. package/dist/store/reducers/capabilities/capabilities.d.ts +8 -8
  66. package/dist/store/reducers/cluster/cluster.d.ts +6 -6
  67. package/dist/store/reducers/cluster/utils.js +2 -2
  68. package/dist/store/reducers/cluster/utils.js.map +1 -1
  69. package/dist/store/reducers/executeTopQueries/executeTopQueries.js +3 -3
  70. package/dist/store/reducers/executeTopQueries/executeTopQueries.js.map +1 -1
  71. package/dist/store/reducers/healthcheckInfo/healthcheckInfo.d.ts +20 -20
  72. package/dist/store/reducers/index.d.ts +3 -3
  73. package/dist/store/reducers/index.js +2 -2
  74. package/dist/store/reducers/index.js.map +1 -1
  75. package/dist/store/reducers/node/selectors.d.ts +1 -1
  76. package/dist/store/reducers/nodesList.d.ts +1 -1
  77. package/dist/store/reducers/preview.js +2 -2
  78. package/dist/store/reducers/preview.js.map +1 -1
  79. package/dist/store/reducers/query/__test__/utils.test.d.ts +1 -0
  80. package/dist/store/reducers/query/__test__/utils.test.js +24 -0
  81. package/dist/store/reducers/query/__test__/utils.test.js.map +1 -0
  82. package/dist/store/reducers/query/prepareQueryData.d.ts +6 -0
  83. package/dist/store/reducers/{explainQuery/utils.js → query/prepareQueryData.js} +11 -10
  84. package/dist/store/reducers/query/prepareQueryData.js.map +1 -0
  85. package/dist/store/reducers/query/query.d.ts +55 -0
  86. package/dist/store/reducers/{executeQuery.js → query/query.js} +32 -45
  87. package/dist/store/reducers/query/query.js.map +1 -0
  88. package/dist/store/reducers/query/types.d.ts +57 -0
  89. package/dist/store/reducers/query/types.js.map +1 -0
  90. package/dist/store/reducers/query/utils.d.ts +7 -0
  91. package/dist/store/reducers/query/utils.js +21 -0
  92. package/dist/store/reducers/query/utils.js.map +1 -0
  93. package/dist/store/reducers/queryActions/queryActions.js +1 -1
  94. package/dist/store/reducers/queryActions/queryActions.js.map +1 -1
  95. package/dist/store/reducers/shardsWorkload/shardsWorkload.js +2 -2
  96. package/dist/store/reducers/shardsWorkload/shardsWorkload.js.map +1 -1
  97. package/dist/store/reducers/tablets.d.ts +5 -5
  98. package/dist/store/reducers/tenantOverview/executeTopTables/executeTopTables.js +2 -2
  99. package/dist/store/reducers/tenantOverview/executeTopTables/executeTopTables.js.map +1 -1
  100. package/dist/store/reducers/tenantOverview/topShards/tenantOverviewTopShards.js +2 -2
  101. package/dist/store/reducers/tenantOverview/topShards/tenantOverviewTopShards.js.map +1 -1
  102. package/dist/store/reducers/tenants/selectors.d.ts +9 -9
  103. package/dist/store/reducers/topic.d.ts +15 -15
  104. package/dist/store/reducers/trace.js +1 -1
  105. package/dist/store/reducers/trace.js.map +1 -1
  106. package/dist/types/api/tenant.d.ts +2 -1
  107. package/dist/types/api/tenant.js.map +1 -1
  108. package/dist/utils/hooks/useQueryExecutionSettings.d.ts +2 -8
  109. package/dist/utils/hooks/useQueryExecutionSettings.js +14 -3
  110. package/dist/utils/hooks/useQueryExecutionSettings.js.map +1 -1
  111. package/dist/utils/hooks/withConfirmation/useChangeInputWithConfirmation.js +1 -1
  112. package/dist/utils/hooks/withConfirmation/useChangeInputWithConfirmation.js.map +1 -1
  113. package/dist/utils/prepareQueryExplain.d.ts +1 -1
  114. package/dist/utils/query.d.ts +1 -2
  115. package/dist/utils/query.js +5 -10
  116. package/dist/utils/query.js.map +1 -1
  117. package/dist/utils/query.test.js +20 -34
  118. package/dist/utils/query.test.js.map +1 -1
  119. package/package.json +1 -1
  120. package/dist/store/reducers/executeQuery.d.ts +0 -54
  121. package/dist/store/reducers/executeQuery.js.map +0 -1
  122. package/dist/store/reducers/explainQuery/explainQuery.d.ts +0 -10
  123. package/dist/store/reducers/explainQuery/explainQuery.js +0 -72
  124. package/dist/store/reducers/explainQuery/explainQuery.js.map +0 -1
  125. package/dist/store/reducers/explainQuery/types.d.ts +0 -28
  126. package/dist/store/reducers/explainQuery/types.js.map +0 -1
  127. package/dist/store/reducers/explainQuery/utils.d.ts +0 -6
  128. package/dist/store/reducers/explainQuery/utils.js.map +0 -1
  129. package/dist/types/store/executeQuery.d.ts +0 -42
  130. package/dist/types/store/executeQuery.js +0 -6
  131. package/dist/types/store/executeQuery.js.map +0 -1
  132. /package/dist/store/reducers/{explainQuery → query}/types.js +0 -0
@@ -14,6 +14,6 @@ export function AutoRefreshControl({ className }) {
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));
17
- }, width: 85, children: [_jsx(Select.Option, { value: "0", children: i18n('None') }), _jsx(Select.Option, { value: "15000", children: i18n('15 sec') }), _jsx(Select.Option, { value: "60000", children: i18n('1 min') }), _jsx(Select.Option, { value: "120000", children: i18n('2 min') }), _jsx(Select.Option, { value: "300000", children: i18n('5 min') })] })] }));
17
+ }, width: 85, qa: "ydb-autorefresh-select", children: [_jsx(Select.Option, { value: "0", children: i18n('None') }), _jsx(Select.Option, { value: "15000", children: i18n('15 sec') }), _jsx(Select.Option, { value: "60000", children: i18n('1 min') }), _jsx(Select.Option, { value: "120000", children: i18n('2 min') }), _jsx(Select.Option, { value: "300000", children: i18n('5 min') })] })] }));
18
18
  }
19
19
  //# sourceMappingURL=AutoRefreshControl.js.map
@@ -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;IACnE,MAAM,QAAQ,GAAG,gBAAgB,EAAE,CAAC;IACpC,MAAM,CAAC,mBAAmB,EAAE,sBAAsB,CAAC,GAAG,sBAAsB,EAAE,CAAC;IAC/E,OAAO,CACH,eAAK,SAAS,EAAE,CAAC,CAAC,IAAI,EAAE,SAAS,CAAC,aAC9B,KAAC,MAAM,IACH,IAAI,EAAC,gBAAgB,EACrB,OAAO,EAAE,GAAG,EAAE;oBACV,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;gBAC/C,CAAC,EACD,UAAU,EAAE,EAAC,YAAY,EAAE,IAAI,CAAC,SAAS,CAAC,EAAC,YAE3C,KAAC,MAAM,CAA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,EAAC,QAAQ,YAAE,IAAI,CAAC,OAAO,CAAC,GAAiB,IACxD,IACP,CACT,CAAC;AACN,CAAC"}
@@ -5,10 +5,8 @@ export interface MemoryProgressViewerProps {
5
5
  stats: TMemoryStats;
6
6
  className?: string;
7
7
  warningThreshold?: number;
8
- value?: number | string;
9
- capacity?: number | string;
10
8
  formatValues: FormatProgressViewerValues;
11
9
  percents?: boolean;
12
10
  dangerThreshold?: number;
13
11
  }
14
- export declare function MemoryViewer({ stats, value, capacity, percents, formatValues, className, warningThreshold, dangerThreshold, }: MemoryProgressViewerProps): import("react/jsx-runtime").JSX.Element;
12
+ export declare function MemoryViewer({ stats, percents, formatValues, className, warningThreshold, dangerThreshold, }: MemoryProgressViewerProps): import("react/jsx-runtime").JSX.Element;
@@ -28,7 +28,9 @@ const formatDetailedValues = (value, total) => {
28
28
  }),
29
29
  ];
30
30
  };
31
- export function MemoryViewer({ stats, value, capacity, percents, formatValues, className, warningThreshold = 60, dangerThreshold = 80, }) {
31
+ export function MemoryViewer({ stats, percents, formatValues, className, warningThreshold = 60, dangerThreshold = 80, }) {
32
+ const value = stats.AnonRss;
33
+ const capacity = stats.HardLimit;
32
34
  const theme = useTheme();
33
35
  let fillWidth = Math.round((parseFloat(String(value)) / parseFloat(String(capacity))) * 100) || 0;
34
36
  fillWidth = fillWidth > 100 ? 100 : fillWidth;
@@ -1 +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,OAA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C,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"}
@@ -3,9 +3,7 @@ import React from 'react';
3
3
  import { TableWithControlsLayout } from '../TableWithControlsLayout/TableWithControlsLayout';
4
4
  import { TableChunk } from './TableChunk';
5
5
  import { TableHead } from './TableHead';
6
- import { EmptyTableRow } from './TableRow';
7
6
  import { DEFAULT_TABLE_ROW_HEIGHT } from './constants';
8
- import i18n from './i18n';
9
7
  import { b } from './shared';
10
8
  import { useScrollBasedChunks } from './useScrollBasedChunks';
11
9
  import './PaginatedTable.scss';
@@ -24,7 +22,14 @@ export const PaginatedTable = ({ limit: chunkSize, initialEntitiesCount, fetchDa
24
22
  rowHeight,
25
23
  chunkSize,
26
24
  });
27
- const lastChunkSize = React.useMemo(() => foundEntities % chunkSize || chunkSize, [foundEntities, chunkSize]);
25
+ const lastChunkSize = React.useMemo(() => {
26
+ // If foundEntities = 0, there will only first chunk
27
+ // Display it with 1 row, to display empty data message
28
+ if (!foundEntities) {
29
+ return 1;
30
+ }
31
+ return foundEntities % chunkSize || chunkSize;
32
+ }, [foundEntities, chunkSize]);
28
33
  const handleDataFetched = React.useCallback((total, found) => {
29
34
  setTotalEntities(total);
30
35
  setFoundEntities(found);
@@ -40,10 +45,7 @@ export const PaginatedTable = ({ limit: chunkSize, initialEntitiesCount, fetchDa
40
45
  }
41
46
  }, [filters, initialFound, initialTotal, parentRef]);
42
47
  const renderChunks = () => {
43
- if (!isInitialLoad && foundEntities === 0) {
44
- return (_jsx("tbody", { children: _jsx(EmptyTableRow, { columns: columns, children: renderEmptyDataMessage ? renderEmptyDataMessage() : i18n('empty') }) }));
45
- }
46
- return activeChunks.map((isActive, index) => (_jsx(TableChunk, { id: index, calculatedCount: index === activeChunks.length - 1 ? lastChunkSize : chunkSize, chunkSize: chunkSize, rowHeight: rowHeight, columns: columns, fetchData: fetchData, filters: filters, tableName: tableName, sortParams: sortParams, getRowClassName: getRowClassName, renderErrorMessage: renderErrorMessage, onDataFetched: handleDataFetched, isActive: isActive }, index)));
48
+ return activeChunks.map((isActive, index) => (_jsx(TableChunk, { id: index, calculatedCount: index === activeChunks.length - 1 ? lastChunkSize : chunkSize, chunkSize: chunkSize, rowHeight: rowHeight, columns: columns, fetchData: fetchData, filters: filters, tableName: tableName, sortParams: sortParams, getRowClassName: getRowClassName, renderErrorMessage: renderErrorMessage, renderEmptyDataMessage: renderEmptyDataMessage, onDataFetched: handleDataFetched, isActive: isActive }, index)));
47
49
  };
48
50
  const renderTable = () => (_jsxs("table", { className: b('table'), children: [_jsx(TableHead, { columns: columns, onSort: setSortParams, onColumnsResize: onColumnsResize }), renderChunks()] }));
49
51
  const renderContent = () => {
@@ -1 +1 @@
1
- {"version":3,"file":"PaginatedTable.js","sourceRoot":"","sources":["../../../src/components/PaginatedTable/PaginatedTable.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,uBAAuB,EAAC,MAAM,oDAAoD,CAAC;AAE3F,OAAO,EAAC,UAAU,EAAC,MAAM,cAAc,CAAC;AACxC,OAAO,EAAC,SAAS,EAAC,MAAM,aAAa,CAAC;AACtC,OAAO,EAAC,aAAa,EAAC,MAAM,YAAY,CAAC;AACzC,OAAO,EAAC,wBAAwB,EAAC,MAAM,aAAa,CAAC;AACrD,OAAO,IAAI,MAAM,QAAQ,CAAC;AAC1B,OAAO,EAAC,CAAC,EAAC,MAAM,UAAU,CAAC;AAW3B,OAAO,EAAC,oBAAoB,EAAC,MAAM,wBAAwB,CAAC;AAE5D,OAAO,uBAAuB,CAAC;AAoB/B,MAAM,CAAC,MAAM,cAAc,GAAG,CAAO,EACjC,KAAK,EAAE,SAAS,EAChB,oBAAoB,EACpB,SAAS,EACT,OAAO,EACP,SAAS,EACT,OAAO,EACP,eAAe,EACf,SAAS,GAAG,wBAAwB,EACpC,SAAS,EACT,iBAAiB,EACjB,eAAe,EACf,cAAc,EACd,kBAAkB,EAClB,sBAAsB,EACtB,kBAAkB,GACM,EAAE,EAAE;IAC5B,MAAM,YAAY,GAAG,oBAAoB,IAAI,CAAC,CAAC;IAC/C,MAAM,YAAY,GAAG,oBAAoB,IAAI,CAAC,CAAC;IAE/C,MAAM,CAAC,UAAU,EAAE,aAAa,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAyB,iBAAiB,CAAC,CAAC;IAC9F,MAAM,CAAC,aAAa,EAAE,gBAAgB,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAC,Y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C,CAAC,GACxC,EACnC,KAAC,uBAAuB,CAAC,KAAK,cAAE,WAAW,EAAE,GAAiC,IACxD,CAC7B,CAAC;QACN,CAAC;QAED,OAAO,WAAW,EAAE,CAAC;IACzB,CAAC,CAAC;IAEF,OAAO,CACH,cAAK,GAAG,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC,CAAC,IAAI,EAAE,kBAAkB,CAAC,YACrD,aAAa,EAAE,GACd,CACT,CAAC;AACN,CAAC,CAAC"}
1
+ {"version":3,"file":"PaginatedTable.js","sourceRoot":"","sources":["../../../src/components/PaginatedTable/PaginatedTable.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,uBAAuB,EAAC,MAAM,oDAAoD,CAAC;AAE3F,OAAO,EAAC,UAAU,EAAC,MAAM,cAAc,CAAC;AACxC,OAAO,EAAC,SAAS,EAAC,MAAM,aAAa,CAAC;AACtC,OAAO,EAAC,wBAAwB,EAAC,MAAM,aAAa,CAAC;AACrD,OAAO,EAAC,CAAC,EAAC,MAAM,UAAU,CAAC;AAW3B,OAAO,EAAC,oBAAoB,EAAC,MAAM,wBAAwB,CAAC;AAE5D,OAAO,uBAAuB,CAAC;AAoB/B,MAAM,CAAC,MAAM,cAAc,GAAG,CAAO,EACjC,KAAK,EAAE,SAAS,EAChB,oBAAoB,EACpB,SAAS,EACT,OAAO,EACP,SAAS,EACT,OAAO,EACP,eAAe,EACf,SAAS,GAAG,wBAAwB,EACpC,SAAS,EACT,iBAAiB,EACjB,eAAe,EACf,cAAc,EACd,kBAAkB,EAClB,sBAAsB,EACtB,kBAAkB,GACM,EAAE,EAAE;IAC5B,MAAM,YAAY,GAAG,oBAAoB,IAAI,CAAC,CAAC;IAC/C,MAAM,YAAY,GAAG,oBAAoB,IAAI,CAAC,CAAC;IAE/C,MAAM,CAAC,UAAU,EAAE,aAAa,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAyB,iBAAiB,CAAC,CAAC;I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EACnC,KAAC,uBAAuB,CAAC,KAAK,cAAE,WAAW,EAAE,GAAiC,IACxD,CAC7B,CAAC;QACN,CAAC;QAED,OAAO,WAAW,EAAE,CAAC;IACzB,CAAC,CAAC;IAEF,OAAO,CACH,cAAK,GAAG,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC,CAAC,IAAI,EAAE,kBAAkB,CAAC,YACrD,aAAa,EAAE,GACd,CACT,CAAC;AACN,CAAC,CAAC"}
@@ -1,6 +1,4 @@
1
- import React from 'react';
2
- import type { IResponseError } from '../../types/api/error';
3
- import type { Column, FetchData, GetRowClassName, SortParams } from './types';
1
+ import type { Column, FetchData, GetRowClassName, RenderEmptyDataMessage, RenderErrorMessage, SortParams } from './types';
4
2
  interface TableChunkProps<T, F> {
5
3
  id: number;
6
4
  chunkSize: number;
@@ -13,8 +11,9 @@ interface TableChunkProps<T, F> {
13
11
  tableName: string;
14
12
  fetchData: FetchData<T, F>;
15
13
  getRowClassName?: GetRowClassName<T>;
16
- renderErrorMessage?: (error: IResponseError) => React.ReactNode;
14
+ renderErrorMessage?: RenderErrorMessage;
15
+ renderEmptyDataMessage?: RenderEmptyDataMessage;
17
16
  onDataFetched: (total: number, found: number) => void;
18
17
  }
19
- export declare const TableChunk: <T, F>({ id, chunkSize, calculatedCount, rowHeight, columns, fetchData, tableName, filters, sortParams, getRowClassName, renderErrorMessage, onDataFetched, isActive, }: TableChunkProps<T, F>) => import("react/jsx-runtime").JSX.Element;
18
+ export declare const TableChunk: <T, F>({ id, chunkSize, calculatedCount, rowHeight, columns, fetchData, tableName, filters, sortParams, getRowClassName, renderErrorMessage, renderEmptyDataMessage, onDataFetched, isActive, }: TableChunkProps<T, F>) => import("react/jsx-runtime").JSX.Element;
20
19
  export {};
@@ -5,10 +5,11 @@ import { getArray } from '../../utils';
5
5
  import { useAutoRefreshInterval } from '../../utils/hooks';
6
6
  import { ResponseError } from '../Errors/ResponseError';
7
7
  import { EmptyTableRow, LoadingTableRow, TableRow } from './TableRow';
8
+ import i18n from './i18n';
8
9
  import { typedMemo } from './utils';
9
10
  const DEBOUNCE_TIMEOUT = 200;
10
11
  // Memoisation prevents chunks rerenders that could cause perfomance issues on big tables
11
- export const TableChunk = typedMemo(function TableChunk({ id, chunkSize, calculatedCount, rowHeight, columns, fetchData, tableName, filters, sortParams, getRowClassName, renderErrorMessage, onDataFetched, isActive, }) {
12
+ export const TableChunk = typedMemo(function TableChunk({ id, chunkSize, calculatedCount, rowHeight, columns, fetchData, tableName, filters, sortParams, getRowClassName, renderErrorMessage, renderEmptyDataMessage, onDataFetched, isActive, }) {
12
13
  var _a;
13
14
  const [isTimeoutActive, setIsTimeoutActive] = React.useState(true);
14
15
  const [autoRefreshInterval] = useAutoRefreshInterval();
@@ -46,6 +47,7 @@ export const TableChunk = typedMemo(function TableChunk({ id, chunkSize, calcula
46
47
  }, [currentData, isActive, onDataFetched]);
47
48
  const dataLength = ((_a = currentData === null || currentData === void 0 ? void 0 : currentData.data) === null || _a === void 0 ? void 0 : _a.length) || calculatedCount;
48
49
  const renderContent = () => {
50
+ var _a;
49
51
  if (!isActive) {
50
52
  return null;
51
53
  }
@@ -58,6 +60,10 @@ export const TableChunk = typedMemo(function TableChunk({ id, chunkSize, calcula
58
60
  return getArray(dataLength).map((value) => (_jsx(LoadingTableRow, { columns: columns, height: rowHeight, index: value }, value)));
59
61
  }
60
62
  }
63
+ // Data is loaded, but there are no entities in the chunk
64
+ if (!((_a = currentData.data) === null || _a === void 0 ? void 0 : _a.length)) {
65
+ return (_jsx(EmptyTableRow, { columns: columns, children: renderEmptyDataMessage ? renderEmptyDataMessage() : i18n('empty') }));
66
+ }
61
67
  return currentData.data.map((rowData, index) => (_jsx(TableRow, { index: index, row: rowData, columns: columns, height: rowHeight, getRowClassName: getRowClassName }, index)));
62
68
  };
63
69
  return (_jsx("tbody", { id: id.toString(), style: {
@@ -1 +1 @@
1
- {"version":3,"file":"TableChunk.js","sourceRoot":"","sources":["../../../src/components/PaginatedTable/TableChun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Table.DESCENDING,
114
114
  render: ({ row }) => {
115
- 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
+ return row.MemoryStats ? (_jsx(MemoryViewer, { formatValues: formatStorageValuesToGb, stats: row.MemoryStats })) : (_jsx(ProgressViewer, { value: row.MemoryUsed, capacity: row.MemoryLimit, formatValues: formatStorageValuesToGb, colorizeProgress: true }));
116
116
  },
117
117
  align: DataTable.LEFT,
118
118
  width: 300,
@@ -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,aAAa,EACb,mBAAmB,EACnB,uBAAuB,GAC1B,MAAM,2CAA2C,CAAC;AACnD,OAAO,EAAC,qBAAqB,EAAC,MAAM,qBAAqB,CAAC;AAE1D,OAAO,EAAC,YAAY,EAAE,SAAS,EAAC,MAAM,mBAAmB,CAAC;AAC1D,OAAO,EAAC,eAAe,EAAC,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAC,YAAY,EAAC,MAAM,8BAA8B,CAAC;AAC1D,OAAO,EAAC,eAAe,EAAC,MAAM,oCAAoC,CAAC;AAEnE,OAAO,EAAC,UAAU,EAAC,MAAM,0BAA0B,CAAC;AACpD,OAAO,EA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G,CAAC,EAAC,GAAG,GAAG,CAAC;YAElE,IAAI,CAAC,SAAS,CAAC,WAAW,CAAC,EAAE,CAAC;gBAC1B,OAAO,sBAAsB,CAAC;YAClC,CAAC;YAED,OAAO,CACH,KAAC,eAAe,IACZ,SAAS,EAAE,CAAC,KAAK,EAAE,MAAM,CAAC,EAC1B,SAAS,QACT,OAAO,EACH,MAAC,cAAc,IAAC,UAAU,mBACtB,KAAC,cAAc,CAAC,IAAI,IAAqB,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,YACrD,qBAAqB,CAAC,WAAW,CAAC,IADb,aAAa,CAEjB,EACtB,KAAC,cAAc,CAAC,IAAI,IAAwB,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,YACxD,qBAAqB,CAAC,cAAc,CAAC,IADhB,gBAAgB,CAEpB,EACtB,KAAC,cAAc,CAAC,IAAI,IAAwB,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,YACxD,qBAAqB,CAAC,cAAc,CAAC,IADhB,gBAAgB,CAEpB,IACT,YAGpB,qBAAqB,CAAC,WAAW,CAAC,GACrB,CACrB,CAAC;QACN,CAAC;QACD,KAAK,EAAE,SAAS,CAAC,KAAK;QACtB,KAAK,EAAE,GAAG;KACb,CAAC;AACN,CAAC"}
@@ -2,8 +2,8 @@ import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import React from 'react';
3
3
  import { useHistory, useLocation } from 'react-router-dom';
4
4
  import { parseQuery } from '../../../../../routes';
5
- import { changeUserInput } from '../../../../../store/reducers/executeQuery';
6
5
  import { setTopQueriesFilters, topQueriesApi, } from '../../../../../store/reducers/executeTopQueries/executeTopQueries';
6
+ import { changeUserInput } from '../../../../../store/reducers/query/query';
7
7
  import { TENANT_DIAGNOSTICS_TABS_IDS, TENANT_PAGE, TENANT_PAGES_IDS, TENANT_QUERY_TABS_ID, } from '../../../../../store/reducers/tenant/constants';
8
8
  import { useAutoRefreshInterval, useTypedDispatch } from '../../../../../utils/hooks';
9
9
  import { useChangeInputWithConfirmation } from '../../../../../utils/hooks/withConfirmation/useChangeInputWithConfirmation';
@@ -1 +1 @@
1
- {"version":3,"file":"TopQueries.js","sourceRoot":"","sources":["../../../../../../src/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopQueries.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,UAAU,EAAE,WAAW,EAAC,MAAM,kBAAkB,CAAC;AAEzD,OAAO,EAAC,UAAU,EAAC,MAAM,uBAAuB,CAAC;AACjD,OAAO,EAAC,eAAe,EAAC,MAAM,4CAA4C,CAAC;AAC3E,OAAO,EACH,oBAAoB,EACpB,aAAa,GAChB,MAAM,mEAAmE,CAAC;AAC3E,OAAO,EACH,2BAA2B,EAC3B,WAAW,EACX,gBAAgB,EAChB,oBAAoB,GACvB,MAAM,gDAAgD,CAAC;AACxD,OAAO,EAAC,sBAAsB,EAAE,gBAAgB,EAAC,MAAM,4BAA4B,CAAC;AACpF,OAAO,EAAC,8BAA8B,EAAC,MAAM,4EAA4E,CAAC;AAC1H,OAAO,EAAC,uBAAuB,EAAC,MAAM,4BAA4B,CAAC;AACnE,OAAO,EAAC,gBAAgB,EAAE,aAAa,EAAC,MAAM,sBAAsB,CAAC;AACrE,OAAO,EACH,mCAAmC,EACnC,gCAAgC,GACnC,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAC,yBAAyB,EAAC,MAAM,8BAA8B,CAAC;AACvE,OAAO,EAAC,eAAe,EAAC,MAAM,oBAAoB,CAAC;AACnD,OAAO,IAAI,MAAM,SAAS,CAAC;AAC3B,OAAO,EAAC,CAAC,EAAC,MAAM,UAAU,CAAC;AAM3B,MAAM,UAAU,UAAU,CAAC,EAAC,UAAU,EAAkB;;IACpD,MAAM,QAAQ,GAAG,gBAAgB,EAAE,CAAC;IACpC,MAAM,QAAQ,GAAG,WAAW,EAAE,CAAC;IAC/B,MAAM,OAAO,GAAG,UAAU,EAAE,CAAC;IAE7B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AO,EAAE,IAAI,CAAC,aAAa,EAAE,EAAC,eAAe,EAAE,IAAI,CAAC,oBAAoB,CAAC,EAAC,CAAC;QAC3E,OAAO,EAAE,GAAG,EAAE;YACV,QAAQ,CAAC,oBAAoB,CAAC,EAAC,IAAI,EAAE,SAAS,EAAE,EAAE,EAAE,SAAS,EAAC,CAAC,CAAC,CAAC;QACrE,CAAC;QACD,IAAI,EAAE,aAAa,CAAC;YAChB,GAAG,KAAK;YACR,CAAC,gBAAgB,CAAC,cAAc,CAAC,EAAE,2BAA2B,CAAC,UAAU;SAC5E,CAAC;KACL,CAAC,CAAC;IAEH,OAAO,CACH,KAAC,yBAAyB,IACtB,iBAAiB,EAAE,gCAAgC,EACnD,IAAI,EAAE,IAAI,IAAI,EAAE,EAChB,OAAO,EAAE,OAAO,EAChB,UAAU,EAAE,cAAc,EAC1B,KAAK,EAAE,KAAK,EACZ,OAAO,EAAE,OAAO,EAChB,KAAK,EAAE,uBAAuB,CAAC,KAAK,CAAC,EACrC,YAAY,EAAE,GAAG,EAAE,CAAC,CAAC,CAAC,iBAAiB,CAAC,GAC1C,CACL,CAAC;AACN,CAAC"}
1
+ {"version":3,"file":"TopQueries.js","sourceRoot":"","sources":["../../../../../../src/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopQueries.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,UAAU,EAAE,WAAW,EAAC,MAAM,kBAAkB,CAAC;AAEzD,OAAO,EAAC,UAAU,EAAC,MAAM,uBAAuB,CAAC;AACjD,OAAO,EACH,oBAAoB,EACpB,aAAa,GAChB,MAAM,mEAAmE,CAAC;AAC3E,OAAO,EAAC,eAAe,EAAC,MAAM,2CAA2C,CAAC;AAC1E,OAAO,EACH,2BAA2B,EAC3B,WAAW,EACX,gBAAgB,EAChB,oBAAoB,GACvB,MAAM,gDAAgD,CAAC;AACxD,OAAO,EAAC,sBAAsB,EAAE,gBAAgB,EAAC,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AAuB,CAAC,KAAK,CAAC,EACrC,YAAY,EAAE,GAAG,EAAE,CAAC,CAAC,CAAC,iBAAiB,CAAC,GAC1C,CACL,CAAC;AACN,CAAC"}
@@ -1,5 +1,9 @@
1
+ import type { TMemoryStats } from '../../../../../types/api/nodes';
1
2
  interface TenantMemoryProps {
2
3
  tenantName: string;
4
+ memoryStats?: TMemoryStats;
5
+ memoryUsed?: string;
6
+ memoryLimit?: string;
3
7
  }
4
- export declare function TenantMemory({ tenantName }: TenantMemoryProps): import("react/jsx-runtime").JSX.Element;
8
+ export declare function TenantMemory({ tenantName, memoryStats, memoryUsed, memoryLimit, }: TenantMemoryProps): import("react/jsx-runtime").JSX.Element;
5
9
  export {};
@@ -1,9 +1,13 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import React from 'react';
3
+ import { MemoryViewer } from '../../../../../components/MemoryViewer/MemoryViewer';
4
+ import { ProgressViewer } from '../../../../../components/ProgressViewer/ProgressViewer';
5
+ import { formatStorageValuesToGb } from '../../../../../utils/dataFormatters/dataFormatters';
3
6
  import { TenantDashboard } from '../TenantDashboard/TenantDashboard';
7
+ import { b } from '../utils';
4
8
  import { TopNodesByMemory } from './TopNodesByMemory';
5
9
  import { memoryDashboardConfig } from './memoryDashboardConfig';
6
- export function TenantMemory({ tenantName }) {
7
- return (_jsxs(React.Fragment, { children: [_jsx(TenantDashboard, { database: tenantName, charts: memoryDashboardConfig }), _jsx(TopNodesByMemory, { tenantName: tenantName })] }));
10
+ export function TenantMemory({ tenantName, memoryStats, memoryUsed, memoryLimit, }) {
11
+ return (_jsxs(React.Fragment, { children: [_jsx(TenantDashboard, { database: tenantName, charts: memoryDashboardConfig }), _jsx("div", { className: b('title'), children: 'Memory details' }), _jsx("div", { className: b('memory-info'), children: memoryStats ? (_jsx(MemoryViewer, { formatValues: formatStorageValuesToGb, stats: memoryStats })) : (_jsx(ProgressViewer, { value: memoryUsed, capacity: memoryLimit, formatValues: formatStorageValuesToGb, colorizeProgress: true })) }), _jsx(TopNodesByMemory, { tenantName: tenantName })] }));
8
12
  }
9
13
  //# sourceMappingURL=TenantMemory.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"TenantMemory.js","sourceRoot":"","sources":["../../../../../../src/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TenantMemory.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,eAAe,EAAC,MAAM,oCAAoC,CAAC;AAEnE,OAAO,EAAC,gBAAgB,EAAC,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAC,qBAAqB,EAAC,MAAM,yBAAyB,CAAC;AAM9D,MAAM,UAAU,YAAY,CAAC,EAAC,UAAU,EAAoB;IACxD,OAAO,CACH,MAAC,KAAK,CAAC,QAAQ,eACX,KAAC,eAAe,IAAC,QAAQ,EAAE,UAAU,EAAE,MAAM,EAAE,qBAAqB,GAAI,EACxE,KAAC,gBAAgB,IAAC,UAAU,EAAE,UAAU,GAAI,IAC/B,CACpB,CAAC;AACN,CAAC"}
1
+ {"version":3,"file":"TenantMemory.js","sourceRoot":"","sources":["../../../../../../src/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TenantMemory.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,YAAY,EAAC,MAAM,qDAAqD,CAAC;AACjF,OAAO,EAAC,cAAc,EAAC,MAAM,yDAAyD,CAAC;AAEvF,OAAO,EAAC,uBAAuB,EAAC,MAAM,oDAAoD,CAAC;AAC3F,OAAO,EAAC,eAAe,EAAC,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAC,CAAC,EAAC,MAAM,UAAU,CAAC;AAE3B,OAAO,EAAC,gBAAgB,EAAC,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAC,qBAAqB,EAAC,MAAM,yBAAyB,CAAC;AAS9D,MAAM,UAAU,YAAY,CAAC,EACzB,UAAU,EACV,WAAW,EACX,UAAU,EACV,WAAW,GACK;IAChB,OAAO,CACH,MAAC,KAAK,CAAC,QAAQ,eACX,KAAC,eAAe,IAAC,QAAQ,EAAE,UAAU,EAAE,MAAM,EAAE,qBAAqB,GAAI,EACxE,cAAK,SAAS,EAAE,CAAC,CAAC,OAAO,CAAC,YAAG,gBAAgB,GAAO,EACpD,cAAK,SAAS,EAAE,CAAC,CAAC,aAAa,CAAC,YAC3B,WAAW,CAAC,CAAC,CAAC,CACX,KAAC,YAAY,IAAC,YAAY,EAAE,uBAAuB,EAAE,KAAK,EAAE,WAAW,GAAI,CAC9E,CAAC,CAAC,CAAC,CACA,KAAC,cAAc,IACX,KAAK,EAAE,UAAU,EACjB,QAAQ,EAAE,WAAW,EACrB,YAAY,EAAE,uBAAuB,EACrC,gBAAgB,EAAE,IAAI,GACxB,CACL,GACC,EACN,KAAC,gBAAgB,IAAC,UAAU,EAAE,UAAU,GAAI,IAC/B,CACpB,CAAC;AACN,CAAC"}
@@ -69,7 +69,7 @@ export function TenantOverview({ tenantName, additionalTenantProps, additionalNo
69
69
  return _jsx(TenantStorage, { tenantName: tenantName, metrics: storageMetrics });
70
70
  }
71
71
  case TENANT_METRICS_TABS_IDS.memory: {
72
- return _jsx(TenantMemory, { tenantName: tenantName });
72
+ return (_jsx(TenantMemory, { tenantName: tenantName, memoryUsed: tenantData.MemoryUsed, memoryLimit: tenantData.MemoryLimit, memoryStats: tenantData.MemoryStats }));
73
73
  }
74
74
  case TENANT_METRICS_TABS_IDS.healthcheck: {
75
75
  return _jsx(HealthcheckDetails, { tenantName: tenantName });
@@ -1 +1 @@
1
- {"version":3,"file":"TenantOverview.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Diagnostics/TenantOverview/TenantOverview.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,MAAM,EAAC,MAAM,mBAAmB,CAAC;AAEzC,OAAO,EAAC,YAAY,EAAC,MAAM,kDAAkD,CAAC;AAC9E,OAAO,EAAC,g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K,SAAS,EAAE,CAAC,CAAC,QAAQ,CAAC,YACvB,KAAC,MAAM,IAAC,IAAI,EAAC,GAAG,GAAG,GACjB,CACT,CAAC;IACN,CAAC;IAED,MAAM,cAAc,GAAG,MAAA,qBAAqB,aAArB,qBAAqB,uBAArB,qBAAqB,CAAE,iBAAiB,sEAAG,IAAI,EAAE,IAAI,CAAC,CAAC;IAE9E,OAAO,CACH,eAAK,SAAS,EAAE,CAAC,EAAE,aACf,eAAK,SAAS,EAAE,CAAC,CAAC,MAAM,CAAC,aACrB,cAAK,SAAS,EAAE,CAAC,CAAC,WAAW,CAAC,YAAG,UAAU,GAAO,EAClD,eAAK,SAAS,EAAE,CAAC,CAAC,KAAK,CAAC,aACnB,UAAU,EAAE,EACZ,cAAc,IAAI,KAAC,gBAAgB,IAAC,IAAI,EAAE,cAAc,GAAI,IAC3D,EACN,KAAC,YAAY,IACT,aAAa,EAAE,UAAU,EACzB,WAAW,EAAE,WAAW,EACxB,gBAAgB,EAAE,gBAAgB,EAClC,kBAAkB,EAAE,kBAAkB,EACtC,UAAU,EAAE,UAAU,GACxB,IACA,EACL,gBAAgB,EAAE,IACjB,CACT,CAAC;AACN,CAAC"}
1
+ {"version":3,"file":"TenantOverview.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Diagnostics/TenantOverview/TenantOverview.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,MAAM,EAAC,MAAM,mBAAmB,CAAC;AAEzC,OAAO,EAAC,YAAY,EAAC,MAAM,kDAAkD,CAAC;AAC9E,OAAO,EAAC,gBAAgB,EAAC,MAAM,0DAA0D,CAAC;AAC1F,OAAO,EAAC,WAAW,EAAC,MAAM,8CAA8C,CAAC;AACzE,OAAO,EAAC,uBAAuB,EAAC,MAAM,6CAA6C,CAAC;AACpF,OAAO,EAAC,SAAS,EAAC,MAAM,0CAA0C,CAAC;AACnE,OAAO,EAAC,sBAAsB,EAAC,MAAM,0CAA0C,CAAC;AAEhF,OAAO,EAAC,oBAA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B,aAArB,qBAAqB,uBAArB,qBAAqB,CAAE,iBAAiB,sEAAG,IAAI,EAAE,IAAI,CAAC,CAAC;IAE9E,OAAO,CACH,eAAK,SAAS,EAAE,CAAC,EAAE,aACf,eAAK,SAAS,EAAE,CAAC,CAAC,MAAM,CAAC,aACrB,cAAK,SAAS,EAAE,CAAC,CAAC,WAAW,CAAC,YAAG,UAAU,GAAO,EAClD,eAAK,SAAS,EAAE,CAAC,CAAC,KAAK,CAAC,aACnB,UAAU,EAAE,EACZ,cAAc,IAAI,KAAC,gBAAgB,IAAC,IAAI,EAAE,cAAc,GAAI,IAC3D,EACN,KAAC,YAAY,IACT,aAAa,EAAE,UAAU,EACzB,WAAW,EAAE,WAAW,EACxB,gBAAgB,EAAE,gBAAgB,EAClC,kBAAkB,EAAE,kBAAkB,EACtC,UAAU,EAAE,UAAU,GACxB,IACA,EACL,gBAAgB,EAAE,IACjB,CACT,CAAC;AACN,CAAC"}
@@ -63,4 +63,9 @@
63
63
  &__storage-info {
64
64
  margin-bottom: 36px;
65
65
  }
66
+
67
+ &__memory-info {
68
+ width: 300px;
69
+ margin-bottom: 36px;
70
+ }
66
71
  }
@@ -8,8 +8,8 @@ import { DateRange } from '../../../../components/DateRange';
8
8
  import { Search } from '../../../../components/Search';
9
9
  import { TableWithControlsLayout } from '../../../../components/TableWithControlsLayout/TableWithControlsLayout';
10
10
  import { parseQuery } from '../../../../routes';
11
- import { changeUserInput } from '../../../../store/reducers/executeQuery';
12
11
  import { setTopQueriesFilters } from '../../../../store/reducers/executeTopQueries/executeTopQueries';
12
+ import { changeUserInput } from '../../../../store/reducers/query/query';
13
13
  import { TENANT_PAGE, TENANT_PAGES_IDS, TENANT_QUERY_TABS_ID, } from '../../../../store/reducers/tenant/constants';
14
14
  import { cn } from '../../../../utils/cn';
15
15
  import { useTypedDispatch, useTypedSelector } from '../../../../utils/hooks';
@@ -1 +1 @@
1
- {"version":3,"file":"TopQueries.js","sourceRoot":"","sources":["../../../../../src/containers/T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,EAAE,OAAO,CAAC,EAAE,EACd,QAAQ,EAAE,qBAAqB,GACjC,CACL,CAAC,CAAC,CAAC,IAAI,IACuB,EACnC,KAAC,aAAa,IAAC,QAAQ,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,YAAY,EAAE,CAAC,CAAC,KAAK,CAAC,GAAI,IACjE,CAC7B,CAAC;AACN,CAAC,CAAC"}
@@ -5,7 +5,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
5
5
  import React from 'react';
6
6
  import { NavigationTree } from 'ydb-ui-components';
7
7
  import { useCreateDirectoryFeatureAvailable } from '../../../../store/reducers/capabilities/hooks';
8
- import { selectUserInput } from '../../../../store/reducers/executeQuery';
8
+ import { selectUserInput } from '../../../../store/reducers/query/query';
9
9
  import { schemaApi } from '../../../../store/reducers/schema/schema';
10
10
  import { tableSchemaDataApi } from '../../../../store/reducers/tableSchemaData';
11
11
  import { wait } from '../../../../utils';
@@ -1 +1 @@
1
- {"version":3,"file":"SchemaTree.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/ObjectSummary/SchemaTree/SchemaTree.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,0FAA0F;AAC1F,uGAAuG;AACvG,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,cAAc,EAAC,MAAM,mBAAmB,CAAC;AAEjD,OAAO,EAAC,kCAAkC,EAAC,MAAM,+CAA+C,CAAC;AACjG,OAAO,EAAC,eAAe,EAAC,MAAM,yCAAyC,CAAC;AACxE,OAAO,EAAC,SAAS,EAAC,MAAM,0CAA0C,CAAC;AACnE,OAAO,EAAC,kBAAkB,EAAC,MAAM,4CAA4C,CAAC;AAG9E,OAAO,EAAC,IAAI,EAAC,MAAM,mBAAmB,CAAC;AACvC,OAAO,EAAC,YAAY,EAAC,MAAM,6BAA6B,CAAC;AACzD,OAAO,EACH,yBAAyB,EACzB,gBAAgB,EAChB,gBAAgB,GACnB,MAAM,yBAAyB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B,UAAU,EAAE,UAAU,EACtB,SAAS,EAAE,mBAAmB,GAChC,EACF,KAAC,cAAc,IAEX,SAAS,EAAE;oBACP,IAAI,EAAE,QAAQ;oBACd,IAAI,EAAE,QAAQ;oBACd,IAAI,EAAE,+BAA+B,CAAC,QAAQ,CAAC;oBAC/C,SAAS,EAAE,KAAK;iBACnB,EACD,SAAS,EAAE,SAAS,EACpB,UAAU,EAAE,UAAU,CAClB,QAAQ,EACR;oBACI,aAAa,EAAE,kBAAkB;oBACjC,4BAA4B,EAAE,CAAC,QAAQ,EAAE,EAAE,CACvC,yBAAyB,CAAC,EAAC,GAAG,aAAa,EAAE,GAAG,QAAQ,EAAC,CAAC;oBAC9D,yBAAyB,EAAE,+BAA+B;wBACtD,CAAC,CAAC,+BAA+B;wBACjC,CAAC,CAAC,SAAS;oBACf,yBAAyB;oBACzB,eAAe,EAAE,KAAK,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS;iBACvD,EACD,QAAQ,CACX,EACD,4BAA4B,EAAE,iBAAiB,CAAC,QAAQ,EAAE;oBACtD,aAAa,EAAE,kBAAkB;iBACpC,CAAC,EACF,UAAU,EAAE,WAAW,EACvB,kBAAkB,EAAE,kBAAkB,EACtC,KAAK,EAAE,KAAK,EACZ,UAAU,UA5BL,aAAa,CA6BpB,IACW,CACpB,CAAC;AACN,CAAC"}
1
+ {"version":3,"file":"SchemaTree.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/ObjectSummary/SchemaTree/SchemaTree.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,0FAA0F;AAC1F,uGAAuG;AACvG,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,cAAc,EAAC,MAAM,mBAAmB,CAAC;AAEjD,OAAO,EAAC,kCAAkC,EAAC,MAAM,+CAA+C,CAAC;AACjG,OAAO,EAAC,eAAe,EAAC,MAAM,wCAAwC,CAAC;AACvE,OAAO,EAAC,SAAS,EAAC,MAAM,0C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AE;QACtD,aAAa,CAAC,KAAK,CAAC,CAAC;QACrB,sBAAsB,CAAC,IAAI,CAAC,CAAC;IACjC,CAAC,CAAC;IACF,OAAO,CACH,MAAC,KAAK,CAAC,QAAQ,eACX,KAAC,qBAAqB,IAClB,OAAO,EAAE,iBAAiB,EAC1B,IAAI,EAAE,mBAAmB,EACzB,QAAQ,EAAE,QAAQ,EAClB,UAAU,EAAE,UAAU,EACtB,SAAS,EAAE,mBAAmB,GAChC,EACF,KAAC,cAAc,IAEX,SAAS,EAAE;oBACP,IAAI,EAAE,QAAQ;oBACd,IAAI,EAAE,QAAQ;oBACd,IAAI,EAAE,+BAA+B,CAAC,QAAQ,CAAC;oBAC/C,SAAS,EAAE,KAAK;iBACnB,EACD,SAAS,EAAE,SAAS,EACpB,UAAU,EAAE,UAAU,CAClB,QAAQ,EACR;oBACI,aAAa,EAAE,kBAAkB;oBACjC,4BAA4B,EAAE,CAAC,QAAQ,EAAE,EAAE,CACvC,yBAAyB,CAAC,EAAC,GAAG,aAAa,EAAE,GAAG,QAAQ,EAAC,CAAC;oBAC9D,yBAAyB,EAAE,+BAA+B;wBACtD,CAAC,CAAC,+BAA+B;wBACjC,CAAC,CAAC,SAAS;oBACf,yBAAyB;oBACzB,eAAe,EAAE,KAAK,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS;iBACvD,EACD,QAAQ,CACX,EACD,4BAA4B,EAAE,iBAAiB,CAAC,QAAQ,EAAE;oBACtD,aAAa,EAAE,kBAAkB;iBACpC,CAAC,EACF,UAAU,EAAE,WAAW,EACvB,kBAAkB,EAAE,kBAAkB,EACtC,KAAK,EAAE,KAAK,EACZ,UAAU,UA5BL,aAAa,CA6BpB,IACW,CACpB,CAAC;AACN,CAAC"}
@@ -1,7 +1,7 @@
1
- import type { ExecuteQueryResult } from '../../../../types/store/executeQuery';
1
+ import type { QueryResult } from '../../../../store/reducers/query/types';
2
2
  import './ExecuteResult.scss';
3
3
  interface ExecuteResultProps {
4
- result: ExecuteQueryResult;
4
+ result: QueryResult;
5
5
  isResultsCollapsed?: boolean;
6
6
  theme?: string;
7
7
  tenantName: string;
@@ -9,7 +9,7 @@ export declare function getPlan(data: IQueryResult | undefined): {
9
9
  links: import("@gravity-ui/paranoid").Link[];
10
10
  } | undefined;
11
11
  simplifiedPlan: {
12
- plan: import("../../../../store/reducers/explainQuery/types").SimplifiedPlanItem[] | undefined;
12
+ plan: import("../../../../store/reducers/query/types").SimplifiedPlanItem[] | undefined;
13
13
  pristine: import("../../../../types/api/query").SimplifiedNode | undefined;
14
14
  };
15
15
  } | {
@@ -1,4 +1,4 @@
1
- import { explainVersions } from '../../../../store/reducers/explainQuery/utils';
1
+ import { explainVersions } from '../../../../store/reducers/query/prepareQueryData';
2
2
  import { preparePlan, prepareSimplifiedPlan } from '../../../../utils/prepareQueryExplain';
3
3
  import { parseQueryExplainPlan } from '../../../../utils/query';
4
4
  export function getPlan(data) {
@@ -1 +1 @@
1
- {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Query/ExecuteResult/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,+CAA+C,CAAC;AAE9E,OAAO,EAAC,WAAW,EAAE,qBAAqB,EAAC,MAAM,uCAAuC,CAAC;AACzF,OAAO,EAAC,qBAAqB,EAAC,MAAM,yBAAyB,CAAC;AAE9D,MAAM,UAAU,OAAO,CAAC,IAA8B;;IAClD,IAAI,CAAC,IAAI,EAAE,CAAC;QACR,OAAO,EAAE,CAAC;IACd,CAAC;IAED,MAAM,EAAC,IAAI,EAAC,GAAG,IAAI,CAAC;IAEpB,IAAI,IAAI,EAAE,CAAC;QACP,MAAM,SAAS,GAAG,qBAAqB,CAAC,IAAI,CAAC,CAAC;QAC9C,MAAM,kBAAkB,GAAG,SAAS,CAAC,IAAI,CAAC,OAAO,KAAK,eAAe,CAAC,EAAE,CAAC;QACzE,IAAI,CAAC,kBAAkB,EAAE,CAAC;YACtB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AAC,OAAO,CAAC,EAAE,CAAC;QACT,OAAO,EAAE,CAAC;IACd,CAAC;AACL,CAAC"}
@@ -1,5 +1,5 @@
1
+ import type { QueryResult } from '../../../../store/reducers/query/types';
1
2
  import type { ValueOf } from '../../../../types/common';
2
- import type { ExplainQueryResult } from '../../../../types/store/executeQuery';
3
3
  import './ExplainResult.scss';
4
4
  declare const EXPLAIN_OPTIONS_IDS: {
5
5
  readonly schema: "schema";
@@ -10,7 +10,7 @@ declare const EXPLAIN_OPTIONS_IDS: {
10
10
  export type QueryExplainTab = ValueOf<typeof EXPLAIN_OPTIONS_IDS>;
11
11
  interface ExplainResultProps {
12
12
  theme: string;
13
- result: ExplainQueryResult;
13
+ result: QueryResult;
14
14
  tenantName: string;
15
15
  isResultsCollapsed?: boolean;
16
16
  onCollapseResults: VoidFunction;
@@ -50,7 +50,7 @@ export function ExplainResult({ theme, result, tenantName, onCollapseResults, on
50
50
  const [activeOption, setActiveOption] = React.useState(EXPLAIN_OPTIONS_IDS.schema);
51
51
  const [isPending, startTransition] = React.useTransition();
52
52
  const { error, isLoading, queryId } = result;
53
- const { plan: explain, ast, simplifiedPlan } = result.data || {};
53
+ const { preparedPlan: explain, ast, simplifiedPlan } = result.data || {};
54
54
  React.useEffect(() => {
55
55
  return () => {
56
56
  dispatch(disableFullscreen());
@@ -1 +1 @@
1
- {"version":3,"file":"ExplainResult.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Query/ExplainResult/ExplainResult.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,eAAe,EAAE,WAAW,EAAC,MAAM,mBAAmB,CAAC;AAE/D,OAAO,OAAO,MAAM,wCAAwC,CAAC;AAC7D,OAAO,WAAW,MAAM,gDAAgD,CAAC;AACzE,OAAO,sBAAsB,MAAM,sEAAsE,CAAC;AAC1G,OAAO,UAAU,MAAM,8CAA8C,CAAC;AACtE,OAAO,EAAC,aAAa,EAAC,MAAM,oD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CAAC,CAAC,cAAc,CAAC,GAAI,EAC7C,KAAC,iBAAiB,IAAC,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,UAAU,GAAI,IAClD,CACpB,CAAC,CAAC,CAAC,IAAI,IACN,EACN,eAAK,SAAS,EAAE,CAAC,CAAC,eAAe,CAAC,aAC7B,QAAQ,IAAI,CACT,KAAC,eAAe,IACZ,IAAI,EAAE,QAAQ,EACd,IAAI,EAAC,gBAAgB,EACrB,KAAK,EAAE,IAAI,CAAC,aAAa,EAAE,EAAC,YAAY,EAAC,CAAC,GAC5C,CACL,EACD,KAAC,sBAAsB,IAAC,QAAQ,EAAE,OAAO,CAAC,KAAK,CAAC,GAAI,EACpD,KAAC,2BAA2B,IACxB,UAAU,EAAE,iBAAiB,EAC7B,QAAQ,EAAE,eAAe,EACzB,WAAW,EAAE,kBAAkB,EAC/B,gBAAgB,EAAC,QAAQ,GAC3B,IACA,IACJ,EACL,SAAS,IAAI,qBAAqB,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAC,mBAAmB,KAAG,EAC3E,KAAC,aAAa,IAAC,OAAO,EAAE,SAAS,IAAI,SAAS,YAC1C,KAAC,UAAU,IAAC,SAAS,EAAE,CAAC,CAAC,QAAQ,CAAC,YAAG,aAAa,EAAE,GAAc,GACtD,IACH,CACpB,CAAC;AACN,CAAC"}
@@ -1,7 +1,7 @@
1
- import type { PreparedExplainResponse } from '../../../../../../store/reducers/explainQuery/types';
1
+ import type { PreparedPlan } from '../../../../../../store/reducers/query/types';
2
2
  import './Graph.scss';
3
3
  interface GraphProps {
4
- explain: PreparedExplainResponse['plan'];
4
+ explain: PreparedPlan;
5
5
  theme: string;
6
6
  }
7
7
  export declare function Graph({ explain, theme }: GraphProps): import("react/jsx-runtime").JSX.Element;
@@ -1,6 +1,6 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { YDBGraph } from '../../../../../../components/Graph/Graph';
3
- import { explainVersions } from '../../../../../../store/reducers/explainQuery/utils';
3
+ import { explainVersions } from '../../../../../../store/reducers/query/prepareQueryData';
4
4
  import { cn } from '../../../../../../utils/cn';
5
5
  import i18n from '../../i18n';
6
6
  import './Graph.scss';
@@ -1 +1 @@
1
- {"version":3,"file":"Graph.js","sourceRoot":"","sources":["../../../../../../../src/containers/Tenant/Query/ExplainResult/components/Graph/Graph.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0CAA0C,CAAC;AAElE,OAAO,EAAC,eAAe,EAAC,MAAM,qDAAqD,CAAC;AACpF,OAAO,EAAC,EAAE,EAAC,MAAM,4BAA4B,CAAC;AAC9C,OAAO,IAAI,MAAM,YAAY,CAAC;AAE9B,OAAO,cAAc,CAAC;AAEtB,MAAM,CAAC,GAAG,EAAE,CAAC,yBAAyB,CAAC,CAAC;AAOxC,MAAM,UAAU,KAAK,CAAC,EAAC,OAAO,EAAE,KAAK,EAAa;IAC9C,MAAM,EAAC,KAAK,EAAE,KAAK,EAAE,OAAO,EAAC,GAAG,OAAO,aAAP,OAAO,cAAP,OAAO,GAAI,EAAE,CAAC;IAE9C,MAAM,kBAAkB,GAAG,OAAO,KAAK,eAAe,CAAC,EAAE,CAAC;IAC1D,MAAM,oBAAoB,GAAG,KAAK,IAAI,KAAK,IAAI,KAAK,CAAC,MAAM,CAAC;IAE5D,MAAM,OAAO,GACT,kBAAkB,IAAI,oBAAoB,CAAC,CAAC,CAAC,CACzC,cAAK,SAAS,EAAE,CAAC,CAAC,kBAAkB,CAAC,YACjC,KAAC,QAAQ,IAAa,IAAI,EAAE,EAAC,KAAK,EAAE,KAAK,EAAC,IAA3B,KAAK,CAA0B,GAC5C,CACT,CAAC,CAAC,CAAC,CACA,cAAK,SAAS,EAAE,CAAC,CAAC,cAAc,CAAC,YAAG,IAAI,CAAC,oCAAoC,CAAC,GAAO,CACxF,CAAC;IACN,OAAO,OAAO,CAAC;AACnB,CAAC"}
1
+ {"version":3,"file":"Graph.js","sourceRoot":"","sources":["../../../../../../../src/containers/Tenant/Query/ExplainResult/components/Graph/Graph.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0CAA0C,CAAC;AAClE,OAAO,EAAC,eAAe,EAAC,MAAM,yDAAyD,CAAC;AAExF,OAAO,EAAC,EAAE,EAAC,MAAM,4BAA4B,CAAC;AAC9C,OAAO,IAAI,MAAM,YAAY,CAAC;AAE9B,OAAO,cAAc,CAAC;AAEtB,MAAM,CAAC,GAAG,EAAE,CAAC,yBAAyB,CAAC,CAAC;AAOxC,MAAM,UAAU,KAAK,CAAC,EAAC,OAAO,EAAE,KAAK,EAAa;IAC9C,MAAM,EAAC,KAAK,EAAE,KAAK,EAAE,OAAO,EAAC,GAAG,OAAO,aAAP,OAAO,cAAP,OAAO,GAAI,EAAE,CAAC;IAE9C,MAAM,kBAAkB,GAAG,OAAO,KAAK,eAAe,CAAC,EAAE,CAAC;IAC1D,MAAM,oBAAoB,GAAG,KAAK,IAAI,KAAK,IAAI,KAAK,CAAC,MAAM,CAAC;IAE5D,MAAM,OAAO,GACT,kBAAkB,IAAI,oBAAoB,CAAC,CAAC,CAAC,CACzC,cAAK,SAAS,EAAE,CAAC,CAAC,kBAAkB,CAAC,YACjC,KAAC,QAAQ,IAAa,IAAI,EAAE,EAAC,KAAK,EAAE,KAAK,EAAC,IAA3B,KAAK,CAA0B,GAC5C,CACT,CAAC,CAAC,CAAC,CACA,cAAK,SAAS,EAAE,CAAC,CAAC,cAAc,CAAC,YAAG,IAAI,CAAC,oCAAoC,CAAC,GAAO,CACxF,CAAC;IACN,OAAO,OAAO,CAAC;AACnB,CAAC"}
@@ -1,4 +1,4 @@
1
- import type { SimplifiedPlanItem } from '../../../../../../store/reducers/explainQuery/types';
1
+ import type { SimplifiedPlanItem } from '../../../../../../store/reducers/query/types';
2
2
  import './SimplifiedPlan.scss';
3
3
  interface SimplifiedPlanProps {
4
4
  plan: SimplifiedPlanItem[];