ydb-embedded-ui 6.34.0 → 6.36.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (221) hide show
  1. package/dist/components/AutoRefreshControl/AutoRefreshControl.js +1 -1
  2. package/dist/components/AutoRefreshControl/AutoRefreshControl.js.map +1 -1
  3. package/dist/components/MemoryViewer/MemoryViewer.d.ts +1 -3
  4. package/dist/components/MemoryViewer/MemoryViewer.js +3 -1
  5. package/dist/components/MemoryViewer/MemoryViewer.js.map +1 -1
  6. package/dist/components/NodeHostWrapper/NodeHostWrapper.d.ts +5 -3
  7. package/dist/components/NodeHostWrapper/NodeHostWrapper.js +3 -2
  8. package/dist/components/NodeHostWrapper/NodeHostWrapper.js.map +1 -1
  9. package/dist/components/PaginatedTable/PaginatedTable.js +9 -7
  10. package/dist/components/PaginatedTable/PaginatedTable.js.map +1 -1
  11. package/dist/components/PaginatedTable/TableChunk.d.ts +4 -5
  12. package/dist/components/PaginatedTable/TableChunk.js +7 -1
  13. package/dist/components/PaginatedTable/TableChunk.js.map +1 -1
  14. package/dist/components/nodesColumns/__test__/utils.test.d.ts +1 -0
  15. package/dist/components/nodesColumns/__test__/utils.test.js +28 -0
  16. package/dist/components/nodesColumns/__test__/utils.test.js.map +1 -0
  17. package/dist/components/nodesColumns/columns.d.ts +28 -2
  18. package/dist/components/nodesColumns/columns.js +83 -5
  19. package/dist/components/nodesColumns/columns.js.map +1 -1
  20. package/dist/components/nodesColumns/constants.d.ts +12 -0
  21. package/dist/components/nodesColumns/constants.js +36 -0
  22. package/dist/components/nodesColumns/constants.js.map +1 -1
  23. package/dist/components/nodesColumns/i18n/en.json +11 -1
  24. package/dist/components/nodesColumns/i18n/index.d.ts +1 -1
  25. package/dist/components/nodesColumns/utils.d.ts +2 -0
  26. package/dist/components/nodesColumns/utils.js +11 -0
  27. package/dist/components/nodesColumns/utils.js.map +1 -0
  28. package/dist/containers/Nodes/Nodes.js +2 -2
  29. package/dist/containers/Nodes/Nodes.js.map +1 -1
  30. package/dist/containers/Nodes/NodesControls/NodesControls.d.ts +3 -1
  31. package/dist/containers/Nodes/NodesControls/NodesControls.js +3 -3
  32. package/dist/containers/Nodes/NodesControls/NodesControls.js.map +1 -1
  33. package/dist/containers/Nodes/PaginatedNodes.d.ts +11 -3
  34. package/dist/containers/Nodes/PaginatedNodes.js +16 -19
  35. package/dist/containers/Nodes/PaginatedNodes.js.map +1 -1
  36. package/dist/containers/Nodes/columns/constants.d.ts +3 -2
  37. package/dist/containers/Nodes/columns/constants.js +8 -8
  38. package/dist/containers/Nodes/columns/constants.js.map +1 -1
  39. package/dist/containers/Nodes/useNodesPageQueryParams.d.ts +3 -2
  40. package/dist/containers/Nodes/useNodesPageQueryParams.js +2 -2
  41. package/dist/containers/Nodes/useNodesPageQueryParams.js.map +1 -1
  42. package/dist/containers/Tenant/Diagnostics/Diagnostics.js +2 -2
  43. package/dist/containers/Tenant/Diagnostics/Diagnostics.js.map +1 -1
  44. package/dist/containers/Tenant/Diagnostics/Network/NetworkTable/columns.d.ts +4 -0
  45. package/dist/containers/Tenant/Diagnostics/Network/NetworkTable/columns.js +23 -0
  46. package/dist/containers/Tenant/Diagnostics/Network/NetworkTable/columns.js.map +1 -0
  47. package/dist/containers/Tenant/Diagnostics/Network/NetworkTable/constants.d.ts +5 -0
  48. package/dist/containers/Tenant/Diagnostics/Network/NetworkTable/constants.js +23 -0
  49. package/dist/containers/Tenant/Diagnostics/Network/NetworkTable/constants.js.map +1 -0
  50. package/dist/containers/Tenant/Diagnostics/Network/NetworkWrapper.d.ts +6 -0
  51. package/dist/containers/Tenant/Diagnostics/Network/NetworkWrapper.js +26 -0
  52. package/dist/containers/Tenant/Diagnostics/Network/NetworkWrapper.js.map +1 -0
  53. package/dist/containers/Tenant/Diagnostics/Partitions/Partitions.js +1 -1
  54. package/dist/containers/Tenant/Diagnostics/Partitions/Partitions.js.map +1 -1
  55. package/dist/containers/Tenant/Diagnostics/Partitions/PartitionsControls/PartitionsControls.d.ts +2 -2
  56. package/dist/containers/Tenant/Diagnostics/Partitions/PartitionsControls/PartitionsControls.js +3 -2
  57. package/dist/containers/Tenant/Diagnostics/Partitions/PartitionsControls/PartitionsControls.js.map +1 -1
  58. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopQueries.js +1 -1
  59. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopQueries.js.map +1 -1
  60. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TenantMemory.d.ts +5 -1
  61. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TenantMemory.js +6 -2
  62. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TenantMemory.js.map +1 -1
  63. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantOverview.js +1 -1
  64. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantOverview.js.map +1 -1
  65. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantOverview.scss +5 -0
  66. package/dist/containers/Tenant/Diagnostics/TopQueries/TopQueries.js +1 -1
  67. package/dist/containers/Tenant/Diagnostics/TopQueries/TopQueries.js.map +1 -1
  68. package/dist/containers/Tenant/ObjectSummary/SchemaTree/SchemaTree.js +1 -1
  69. package/dist/containers/Tenant/ObjectSummary/SchemaTree/SchemaTree.js.map +1 -1
  70. package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.d.ts +2 -2
  71. package/dist/containers/Tenant/Query/ExecuteResult/utils.d.ts +1 -1
  72. package/dist/containers/Tenant/Query/ExecuteResult/utils.js +1 -1
  73. package/dist/containers/Tenant/Query/ExecuteResult/utils.js.map +1 -1
  74. package/dist/containers/Tenant/Query/ExplainResult/ExplainResult.d.ts +2 -2
  75. package/dist/containers/Tenant/Query/ExplainResult/ExplainResult.js +1 -1
  76. package/dist/containers/Tenant/Query/ExplainResult/ExplainResult.js.map +1 -1
  77. package/dist/containers/Tenant/Query/ExplainResult/components/Graph/Graph.d.ts +2 -2
  78. package/dist/containers/Tenant/Query/ExplainResult/components/Graph/Graph.js +1 -1
  79. package/dist/containers/Tenant/Query/ExplainResult/components/Graph/Graph.js.map +1 -1
  80. package/dist/containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/SimplifiedPlan.d.ts +1 -1
  81. package/dist/containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/types.d.ts +1 -1
  82. package/dist/containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/utils.d.ts +1 -1
  83. package/dist/containers/Tenant/Query/NewSQL/NewSQL.js +3 -9
  84. package/dist/containers/Tenant/Query/NewSQL/NewSQL.js.map +1 -1
  85. package/dist/containers/Tenant/Query/NewSQL/i18n/en.json +1 -2
  86. package/dist/containers/Tenant/Query/NewSQL/i18n/index.d.ts +1 -1
  87. package/dist/containers/Tenant/Query/QueriesHistory/QueriesHistory.js +1 -1
  88. package/dist/containers/Tenant/Query/QueriesHistory/QueriesHistory.js.map +1 -1
  89. package/dist/containers/Tenant/Query/Query.js +1 -1
  90. package/dist/containers/Tenant/Query/Query.js.map +1 -1
  91. package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.js +25 -12
  92. package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.js.map +1 -1
  93. package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsDialog.js +5 -3
  94. package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsDialog.js.map +1 -1
  95. package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsSelect.d.ts +1 -0
  96. package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsSelect.js +1 -1
  97. package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsSelect.js.map +1 -1
  98. package/dist/containers/Tenant/Query/QuerySettingsDialog/i18n/en.json +1 -0
  99. package/dist/containers/Tenant/Query/QuerySettingsDialog/i18n/index.d.ts +1 -1
  100. package/dist/containers/Tenant/Query/QuerySettingsDialog/i18n/ru.json +1 -0
  101. package/dist/containers/Tenant/Query/SaveQuery/SaveQuery.d.ts +12 -3
  102. package/dist/containers/Tenant/Query/SaveQuery/SaveQuery.js +25 -10
  103. package/dist/containers/Tenant/Query/SaveQuery/SaveQuery.js.map +1 -1
  104. package/dist/containers/Tenant/utils/newSQLQueryActions.d.ts +0 -1
  105. package/dist/containers/Tenant/utils/newSQLQueryActions.js +0 -1
  106. package/dist/containers/Tenant/utils/newSQLQueryActions.js.map +1 -1
  107. package/dist/containers/Tenant/utils/schemaActions.js +5 -4
  108. package/dist/containers/Tenant/utils/schemaActions.js.map +1 -1
  109. package/dist/containers/Tenant/utils/schemaQueryTemplates.js +86 -53
  110. package/dist/containers/Tenant/utils/schemaQueryTemplates.js.map +1 -1
  111. package/dist/containers/UserSettings/i18n/en.json +3 -2
  112. package/dist/containers/UserSettings/i18n/index.d.ts +1 -1
  113. package/dist/containers/UserSettings/settings.d.ts +1 -0
  114. package/dist/containers/UserSettings/settings.js +6 -2
  115. package/dist/containers/UserSettings/settings.js.map +1 -1
  116. package/dist/containers/Versions/groupNodes.js +1 -1
  117. package/dist/containers/Versions/groupNodes.js.map +1 -1
  118. package/dist/services/api.js +1 -0
  119. package/dist/services/api.js.map +1 -1
  120. package/dist/services/settings.d.ts +1 -0
  121. package/dist/services/settings.js +2 -1
  122. package/dist/services/settings.js.map +1 -1
  123. package/dist/store/configureStore.d.ts +16 -8
  124. package/dist/store/configureStore.js +1 -1
  125. package/dist/store/configureStore.js.map +1 -1
  126. package/dist/store/defaultStore.d.ts +8 -4
  127. package/dist/store/reducers/cancelQuery.js +2 -2
  128. package/dist/store/reducers/cancelQuery.js.map +1 -1
  129. package/dist/store/reducers/capabilities/capabilities.d.ts +32 -16
  130. package/dist/store/reducers/capabilities/hooks.d.ts +1 -0
  131. package/dist/store/reducers/capabilities/hooks.js +3 -0
  132. package/dist/store/reducers/capabilities/hooks.js.map +1 -1
  133. package/dist/store/reducers/cluster/cluster.d.ts +24 -12
  134. package/dist/store/reducers/cluster/utils.js +2 -2
  135. package/dist/store/reducers/cluster/utils.js.map +1 -1
  136. package/dist/store/reducers/executeTopQueries/executeTopQueries.js +3 -3
  137. package/dist/store/reducers/executeTopQueries/executeTopQueries.js.map +1 -1
  138. package/dist/store/reducers/healthcheckInfo/healthcheckInfo.d.ts +80 -40
  139. package/dist/store/reducers/index.d.ts +12 -6
  140. package/dist/store/reducers/index.js +2 -2
  141. package/dist/store/reducers/index.js.map +1 -1
  142. package/dist/store/reducers/node/selectors.d.ts +4 -2
  143. package/dist/store/reducers/nodes/types.d.ts +13 -0
  144. package/dist/store/reducers/nodes/utils.js +3 -3
  145. package/dist/store/reducers/nodes/utils.js.map +1 -1
  146. package/dist/store/reducers/nodesList.d.ts +4 -2
  147. package/dist/store/reducers/partitions/partitions.d.ts +4 -3
  148. package/dist/store/reducers/partitions/partitions.js +1 -3
  149. package/dist/store/reducers/partitions/partitions.js.map +1 -1
  150. package/dist/store/reducers/partitions/types.d.ts +0 -3
  151. package/dist/store/reducers/preview.js +2 -2
  152. package/dist/store/reducers/preview.js.map +1 -1
  153. package/dist/store/reducers/query/__test__/utils.test.d.ts +1 -0
  154. package/dist/store/reducers/query/__test__/utils.test.js +24 -0
  155. package/dist/store/reducers/query/__test__/utils.test.js.map +1 -0
  156. package/dist/store/reducers/query/prepareQueryData.d.ts +6 -0
  157. package/dist/store/reducers/{explainQuery/utils.js → query/prepareQueryData.js} +11 -10
  158. package/dist/store/reducers/query/prepareQueryData.js.map +1 -0
  159. package/dist/store/reducers/query/query.d.ts +55 -0
  160. package/dist/store/reducers/{executeQuery.js → query/query.js} +32 -45
  161. package/dist/store/reducers/query/query.js.map +1 -0
  162. package/dist/store/reducers/query/types.d.ts +57 -0
  163. package/dist/store/reducers/query/types.js.map +1 -0
  164. package/dist/store/reducers/query/utils.d.ts +7 -0
  165. package/dist/store/reducers/query/utils.js +21 -0
  166. package/dist/store/reducers/query/utils.js.map +1 -0
  167. package/dist/store/reducers/queryActions/queryActions.js +1 -1
  168. package/dist/store/reducers/queryActions/queryActions.js.map +1 -1
  169. package/dist/store/reducers/queryActions/types.d.ts +1 -1
  170. package/dist/store/reducers/shardsWorkload/shardsWorkload.js +2 -2
  171. package/dist/store/reducers/shardsWorkload/shardsWorkload.js.map +1 -1
  172. package/dist/store/reducers/tablets.d.ts +20 -10
  173. package/dist/store/reducers/tenantOverview/executeTopTables/executeTopTables.js +2 -2
  174. package/dist/store/reducers/tenantOverview/executeTopTables/executeTopTables.js.map +1 -1
  175. package/dist/store/reducers/tenantOverview/topShards/tenantOverviewTopShards.js +2 -2
  176. package/dist/store/reducers/tenantOverview/topShards/tenantOverviewTopShards.js.map +1 -1
  177. package/dist/store/reducers/tenants/selectors.d.ts +36 -18
  178. package/dist/store/reducers/topic.d.ts +60 -30
  179. package/dist/store/reducers/trace.js +1 -1
  180. package/dist/store/reducers/trace.js.map +1 -1
  181. package/dist/types/api/nodes.d.ts +56 -0
  182. package/dist/types/api/nodes.js.map +1 -1
  183. package/dist/types/api/tenant.d.ts +2 -1
  184. package/dist/types/api/tenant.js.map +1 -1
  185. package/dist/utils/constants.d.ts +1 -0
  186. package/dist/utils/constants.js +1 -0
  187. package/dist/utils/constants.js.map +1 -1
  188. package/dist/utils/dataFormatters/dataFormatters.d.ts +1 -1
  189. package/dist/utils/dataFormatters/dataFormatters.js +12 -6
  190. package/dist/utils/dataFormatters/dataFormatters.js.map +1 -1
  191. package/dist/utils/hooks/useQueryExecutionSettings.d.ts +2 -8
  192. package/dist/utils/hooks/useQueryExecutionSettings.js +14 -3
  193. package/dist/utils/hooks/useQueryExecutionSettings.js.map +1 -1
  194. package/dist/utils/hooks/withConfirmation/useChangeInputWithConfirmation.js +13 -9
  195. package/dist/utils/hooks/withConfirmation/useChangeInputWithConfirmation.js.map +1 -1
  196. package/dist/utils/monaco/insertSnippet.d.ts +1 -0
  197. package/dist/utils/monaco/insertSnippet.js +8 -0
  198. package/dist/utils/monaco/insertSnippet.js.map +1 -0
  199. package/dist/utils/prepareQueryExplain.d.ts +1 -1
  200. package/dist/utils/query.d.ts +1 -2
  201. package/dist/utils/query.js +5 -10
  202. package/dist/utils/query.js.map +1 -1
  203. package/dist/utils/query.test.js +20 -34
  204. package/dist/utils/query.test.js.map +1 -1
  205. package/dist/utils/timeParsers/parsers.d.ts +1 -1
  206. package/dist/utils/timeParsers/parsers.js +3 -2
  207. package/dist/utils/timeParsers/parsers.js.map +1 -1
  208. package/package.json +2 -2
  209. package/dist/store/reducers/executeQuery.d.ts +0 -54
  210. package/dist/store/reducers/executeQuery.js.map +0 -1
  211. package/dist/store/reducers/explainQuery/explainQuery.d.ts +0 -10
  212. package/dist/store/reducers/explainQuery/explainQuery.js +0 -72
  213. package/dist/store/reducers/explainQuery/explainQuery.js.map +0 -1
  214. package/dist/store/reducers/explainQuery/types.d.ts +0 -28
  215. package/dist/store/reducers/explainQuery/types.js.map +0 -1
  216. package/dist/store/reducers/explainQuery/utils.d.ts +0 -6
  217. package/dist/store/reducers/explainQuery/utils.js.map +0 -1
  218. package/dist/types/store/executeQuery.d.ts +0 -42
  219. package/dist/types/store/executeQuery.js +0 -6
  220. package/dist/types/store/executeQuery.js.map +0 -1
  221. /package/dist/store/reducers/{explainQuery → query}/types.js +0 -0
@@ -1,8 +1,8 @@
1
1
  import type { PreparedPartitionDataWithHosts } from '../utils/types';
2
2
  interface PartitionsControlsProps {
3
3
  consumers: string[] | undefined;
4
- selectedConsumer: string;
5
- onSelectedConsumerChange: (consumer: string) => void;
4
+ selectedConsumer?: string;
5
+ onSelectedConsumerChange: (consumer?: string) => void;
6
6
  selectDisabled: boolean;
7
7
  partitions: PreparedPartitionDataWithHosts[] | undefined;
8
8
  onSearchChange: (filteredPartitions: PreparedPartitionDataWithHosts[]) => void;
@@ -63,7 +63,8 @@ export const PartitionsControls = ({ consumers, selectedConsumer, onSelectedCons
63
63
  return columns;
64
64
  }, [initialColumnsIds, hiddenColumns]);
65
65
  const handleConsumerSelectChange = (value) => {
66
- onSelectedConsumerChange(value[0]);
66
+ // Do not set empty string to state
67
+ onSelectedConsumerChange(value[0] || undefined);
67
68
  };
68
69
  const handlePartitionIdSearchChange = (value) => {
69
70
  setPartitionIdSearchValue(value);
@@ -89,6 +90,6 @@ export const PartitionsControls = ({ consumers, selectedConsumer, onSelectedCons
89
90
  const renderOption = (option) => {
90
91
  return (_jsx("div", { className: b('select-option', { empty: option.value === '' }), children: option.content }));
91
92
  };
92
- return (_jsxs(React.Fragment, { children: [_jsx(Select, { className: b('consumer-select'), label: i18n('controls.consumerSelector'), options: consumersToSelect, value: [selectedConsumer], onUpdate: handleConsumerSelectChange, filterable: consumers && consumers.length > 5, disabled: selectDisabled || !consumers || !consumers.length, renderOption: renderOption, renderSelectedOption: renderOption }), _jsx(Search, { onChange: handlePartitionIdSearchChange, placeholder: i18n('controls.partitionSearch'), className: b('search', { partition: true }), value: partitionIdSearchValue }), _jsx(Search, { onChange: handleGeneralSearchChange, placeholder: i18n('controls.generalSearch'), className: b('search', { general: true }), value: generalSearchValue }), _jsx(TableColumnSetup, { popupWidth: 242, items: columnsToSelect, showStatus: true, onUpdate: handleTableColumnsSetupChange, sortable: false }, "TableColumnSetup")] }));
93
+ return (_jsxs(React.Fragment, { children: [_jsx(Select, { className: b('consumer-select'), label: i18n('controls.consumerSelector'), options: consumersToSelect, value: [selectedConsumer || ''], onUpdate: handleConsumerSelectChange, filterable: consumers && consumers.length > 5, disabled: selectDisabled || !consumers || !consumers.length, renderOption: renderOption, renderSelectedOption: renderOption }), _jsx(Search, { onChange: handlePartitionIdSearchChange, placeholder: i18n('controls.partitionSearch'), className: b('search', { partition: true }), value: partitionIdSearchValue }), _jsx(Search, { onChange: handleGeneralSearchChange, placeholder: i18n('controls.generalSearch'), className: b('search', { general: true }), value: generalSearchValue }), _jsx(TableColumnSetup, { popupWidth: 242, items: columnsToSelect, showStatus: true, onUpdate: handleTableColumnsSetupChange, sortable: false }, "TableColumnSetup")] }));
93
94
  };
94
95
  //# sourceMappingURL=PartitionsControls.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"PartitionsControls.js","sourceRoot":"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EAAE,IAAI,EAAC,CAAC,EACzC,KAAK,EAAE,sBAAsB,GAC/B,EACF,KAAC,MAAM,IACH,QAAQ,EAAE,yBAAyB,EACnC,WAAW,EAAE,IAAI,CAAC,wBAAwB,CAAC,EAC3C,SAAS,EAAE,CAAC,CAAC,QAAQ,EAAE,EAAC,OAAO,EAAE,IAAI,EAAC,CAAC,EACvC,KAAK,EAAE,kBAAkB,GAC3B,EACF,KAAC,gBAAgB,IAEb,UAAU,EAAE,GAAG,EACf,KAAK,EAAE,eAAe,EACtB,UAAU,QACV,QAAQ,EAAE,6BAA6B,EACvC,QAAQ,EAAE,KAAK,IALX,kBAAkB,CAMxB,IACW,CACpB,CAAC;AACN,CAAC,CAAC"}
1
+ {"version":3,"file":"PartitionsControls.js","sourceRoot":"","sources":["../../../../../../src/containers/Tenant/Diagnostics/Partitions/PartitionsControls/PartitionsControls.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAC,MAAM,EAAE,gBAAgB,EAAC,MAAM,mBAAmB,CAAC;AAC3D,OAAO,YAAY,MAAM,qBAAqB,CAAC;AAE/C,OAAO,EAAC,MAAM,EAAC,MAAM,yCAAyC,CAAC;AAE/D,OAAO,EAAC,CAAC,EAAC,MAAM,eAAe,CAAC;AAChC,OAAO,IAAI,MAAM,SAAS,CAAC;AAC3B,OAAO,EAAC,sBAAsB,EAAE,yBAAyB,EAAC,MAAM,oBAAoB,CAAC;AAerF,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,EAC/B,SAAS,EACT,gBAAgB,EAChB,wBAAwB,EACxB,cAAc,EACd,UAAU,EACV,cAAc,EACd,aAAa,EACb,qBAAqB,EACrB,iBAAiB,GACK,EAAE,EAAE;IAC1B,MAAM,CAAC,kBAAkB,EAAE,qBAAqB,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC;IACvE,MAAM,CAAC,sBAAsB,EAAE,yBAAyB,CAAC,GA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,EAAE,CAAC,CAAC,iBAAiB,CAAC,EAC/B,KAAK,EAAE,IAAI,CAAC,2BAA2B,CAAC,EACxC,OAAO,EAAE,iBAAiB,EAC1B,KAAK,EAAE,CAAC,gBAAgB,IAAI,EAAE,CAAC,EAC/B,QAAQ,EAAE,0BAA0B,EACpC,UAAU,EAAE,SAAS,IAAI,SAAS,CAAC,MAAM,GAAG,CAAC,EAC7C,QAAQ,EAAE,cAAc,IAAI,CAAC,SAAS,IAAI,CAAC,SAAS,CAAC,MAAM,EAC3D,YAAY,EAAE,YAAY,EAC1B,oBAAoB,EAAE,YAAY,GACpC,EACF,KAAC,MAAM,IACH,QAAQ,EAAE,6BAA6B,EACvC,WAAW,EAAE,IAAI,CAAC,0BAA0B,CAAC,EAC7C,SAAS,EAAE,CAAC,CAAC,QAAQ,EAAE,EAAC,SAAS,EAAE,IAAI,EAAC,CAAC,EACzC,KAAK,EAAE,sBAAsB,GAC/B,EACF,KAAC,MAAM,IACH,QAAQ,EAAE,yBAAyB,EACnC,WAAW,EAAE,IAAI,CAAC,wBAAwB,CAAC,EAC3C,SAAS,EAAE,CAAC,CAAC,QAAQ,EAAE,EAAC,OAAO,EAAE,IAAI,EAAC,CAAC,EACvC,KAAK,EAAE,kBAAkB,GAC3B,EACF,KAAC,gBAAgB,IAEb,UAAU,EAAE,GAAG,EACf,KAAK,EAAE,eAAe,EACtB,UAAU,QACV,QAAQ,EAAE,6BAA6B,EACvC,QAAQ,EAAE,KAAK,IALX,kBAAkB,CAMxB,IACW,CACpB,CAAC;AACN,CAAC,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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E,OAAO,EAAE,QAAQ,CAAC,CAChC,CAAC;IAEF,MAAM,cAAc,GAAG,8BAA8B,CAAC,aAAa,CAAC,CAAC;IAErE,MAAM,KAAK,GAAG,eAAe,CAAC;QAC1B,MAAM,EAAE,IAAI,CAAC,SAAS,CAAC;QACvB,OAAO,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,O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,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,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":["../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YACD,OAAO,CAAC,CAAC,CAAC;gBACN,OAAO,KAAC,sBAAsB,IAAC,QAAQ,EAAE,UAAU,GAAI,CAAC;YAC5D,CAAC;QACL,CAAC;IACL,CAAC,CAAC;IAEF,IAAI,aAAa,EAAE,CAAC;QAChB,OAAO,CACH,cAAK,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,CA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,EAAE,CAAC;QAChB,OAAO,CACH,cAAK,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"}
@@ -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/Tenant/Diagnostics/TopQueries/TopQueries.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAC,WAAW,EAAC,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAC,UAAU,EAAE,WAAW,EAAC,MAAM,kBAAkB,CAAC;AACzD,OAAO,EAAC,WAAW,EAAE,aAAa,EAAC,MAAM,kBAAkB,CAAC;AAC5D,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AAGtB,OAAO,EAAC,SAAS,EAAC,MAAM,kCAAkC,CAAC;AAC3D,OAAO,EAAC,MAAM,EAAC,MAAM,+BAA+B,CAAC;AACrD,OAAO,EAAC,uBAAuB,EAAC,MAAM,wEAAwE,CAAC;AAC/G,OAAO,EAAC,UAAU,EAAC,MAAM,oBAAoB,CAAC;AAC9C,OAAO,EAAC,eAAe,EAAC,MAAM,yCAAyC,CAAC;AACxE,OAAO,EAAC,oBAAoB,EAAC,MAAM,gEAAgE,CAAC;AACpG,OAAO,EACH,WAAW,EACX,gBAAgB,EAChB,oBAAoB,GACvB,MAAM,6CAA6C,CAAC;AACrD,OAAO,EAAC,EAAE,EAAC,MAAM,sBAAsB,CAAC;AACxC,OAAO,EAAC,gBAAgB,EAAE,gBAAgB,EAAC,MAAM,yBAAyB,CAAC;AAC3E,OAAO,EAAC,8BAA8B,EAAC,MAAM,yEAAyE,CAAC;AACvH,OAAO,EAAC,gBAAgB,EAAE,aAAa,EAAC,MAAM,mBAAmB,CAAC;AAElE,OAAO,EAAC,kBAAkB,EAAC,MAAM,sBAAsB,CAAC;AACxD,OAAO,EAAC,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAChD,OA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C,WAAW,EAAE,IAAI,CAAC,yBAAyB,CAAC,EAC5C,SAAS,EAAE,CAAC,CAAC,QAAQ,CAAC,GACxB,EACD,YAAY,CAAC,CAAC,CAAC,CACZ,KAAC,SAAS,IACN,IAAI,EAAE,OAAO,CAAC,IAAI,EAClB,EAAE,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,4CAA4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AC,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
+ {"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,OAA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Aa,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;QAC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AAE,CAAC;IACd,CAAC;IACD,IAAI,CAAC;QACD,MAAM,aAAa,GAAG,IAAI,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC;QAChD,OAAO,EAAC,IAAI,EAAE,WAAW,CAAC,aAAa,CAAC,EAAC,CAAC;IAC9C,CAAC;IAAC,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,O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,GAAG,EAAE,CAAC,eAAe,CAAC,KAAK,CAAC,CAAC,CAAC;gDAClD,CAAC,GACH,IACW,IACJ,CACpB,EACA,SAAS,CAAC,CAAC,CAAC,CACT,MAAC,KAAK,CAAC,QAAQ,eACX,KAAC,WAAW,IAAC,SAAS,EAAE,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[];
@@ -1,4 +1,4 @@
1
- import type { SimplifiedPlanItem } from '../../../../../../store/reducers/explainQuery/types';
1
+ import type { SimplifiedPlanItem } from '../../../../../../store/reducers/query/types';
2
2
  export interface ExtendedSimplifiesPlanItem extends Omit<SimplifiedPlanItem, 'children'> {
3
3
  lines?: string;
4
4
  children?: ExtendedSimplifiesPlanItem[];
@@ -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 type { ExtendedSimplifiesPlanItem } from './types';
3
3
  export declare const block: import("@bem-react/classname").ClassNameFormatter;
4
4
  export declare function getExtendedTreeNodes(items?: SimplifiedPlanItem[], prefix?: string): ExtendedSimplifiesPlanItem[];
@@ -2,16 +2,14 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import React from 'react';
3
3
  import { ChevronDown } from '@gravity-ui/icons';
4
4
  import { Button, DropdownMenu } from '@gravity-ui/uikit';
5
- import { changeUserInput } from '../../../../store/reducers/executeQuery';
6
- import { useTypedDispatch } from '../../../../utils/hooks';
7
5
  import { useChangeInputWithConfirmation } from '../../../../utils/hooks/withConfirmation/useChangeInputWithConfirmation';
6
+ import { insertSnippetToEditor } from '../../../../utils/monaco/insertSnippet';
8
7
  import { bindActions } from '../../utils/newSQLQueryActions';
9
8
  import i18n from './i18n';
10
9
  export function NewSQL() {
11
- const dispatch = useTypedDispatch();
12
10
  const insertTemplate = React.useCallback((input) => {
13
- dispatch(changeUserInput({ input }));
14
- }, [dispatch]);
11
+ insertSnippetToEditor(input);
12
+ }, []);
15
13
  const onTemplateClick = useChangeInputWithConfirmation(insertTemplate);
16
14
  const actions = bindActions(onTemplateClick);
17
15
  const items = [
@@ -46,10 +44,6 @@ export function NewSQL() {
46
44
  text: i18n('action.select-rows'),
47
45
  action: actions.selectQuery,
48
46
  },
49
- {
50
- text: i18n('action.select-from-external-table'),
51
- action: actions.selectQueryFromExternalTable,
52
- },
53
47
  {
54
48
  text: i18n('action.delete-rows'),
55
49
  action: actions.deleteRows,
@@ -1 +1 @@
1
- {"version":3,"file":"NewSQL.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Query/NewSQL/NewSQL.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,WAAW,EAAC,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAC,MAAM,EAAE,YAAY,EAAC,MAAM,mBAAmB,CAAC;AAEvD,OAAO,EAAC,eAAe,EAAC,MAAM,yCAAyC,CAAC;AACxE,OAAO,EAAC,gBAAgB,EAAC,MAAM,yBAAyB,CAAC;AACzD,OAAO,EAAC,8BAA8B,EAAC,MAAM,yEAAyE,CAAC;AACvH,OAAO,EAAC,WAAW,EAAC,MAAM,gCAAgC,CAAC;AAE3D,OAAO,IAAI,MAAM,QAAQ,CAAC;AAE1B,MAAM,UAAU,MAAM;IAClB,MAAM,QAAQ,GAAG,gBAAgB,EAAE,CAAC;IAEpC,MAAM,cAAc,GAAG,KAAK,CAAC,WAAW,CACpC,CAAC,KAAa,EAAE,EAAE;QACd,QAAQ,CAAC,eAAe,CAAC,EAAC,KAAK,EAAC,CAAC,CAAC,CAAC;IACvC,CAAC,EACD,CAAC,QAAQ,CAAC,CACb,CAAC;IAEF,MAAM,eAAe,GAAG,8BAA8B,CAAC,cAAc,CAAC,CAAC;IAEvE,MAAM,OAAO,GAAG,WAAW,CAAC,eAAe,CAAC,CAAC;IAE7C,MAAM,KAAK,GAAG;QACV;YACI,IAAI,EAAE,IAAI,CAAC,aAAa,CAAC;YACzB,KAAK,EAAE;gBACH;oBACI,IA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AC;oBAChC,MAAM,EAAE,OAAO,CAAC,UAAU;iBAC7B;gBACD;oBACI,IAAI,EAAE,IAAI,CAAC,qBAAqB,CAAC;oBACjC,MAAM,EAAE,OAAO,CAAC,WAAW;iBAC9B;gBACD;oBACI,IAAI,EAAE,IAAI,CAAC,kBAAkB,CAAC;oBAC9B,MAAM,EAAE,OAAO,CAAC,QAAQ;iBAC3B;gBACD;oBACI,IAAI,EAAE,IAAI,CAAC,mBAAmB,CAAC;oBAC/B,MAAM,EAAE,OAAO,CAAC,SAAS;iBAC5B;gBACD;oBACI,IAAI,EAAE,IAAI,CAAC,wBAAwB,CAAC;oBACpC,MAAM,EAAE,OAAO,CAAC,cAAc;iBACjC;gBACD;oBACI,IAAI,EAAE,IAAI,CAAC,yBAAyB,CAAC;oBACrC,MAAM,EAAE,OAAO,CAAC,eAAe;iBAClC;aACJ;SACJ;KACJ,CAAC;IAEF,OAAO,CACH,KAAC,YAAY,IACT,KAAK,EAAE,KAAK,EACZ,cAAc,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,CACvB,MAAC,MAAM,OAAK,KAAK,aACZ,IAAI,CAAC,gBAAgB,CAAC,EACvB,KAAC,MAAM,CAAC,IAAI,cACR,KAAC,WAAW,KAAG,GACL,IACT,CACZ,EACD,UAAU,EAAE,EAAC,SAAS,EAAE,KAAK,EAAC,GAChC,CACL,CAAC;AACN,CAAC"}
@@ -1,5 +1,5 @@
1
1
  {
2
- "button.new-sql": "New SQL",
2
+ "button.new-sql": "New query",
3
3
  "action.create-row-table": "Create row table",
4
4
  "action.create-column-table": "Create column table",
5
5
  "action.create-external-table": "Create external table",
@@ -7,7 +7,6 @@
7
7
  "action.update-table": "Update table",
8
8
  "action.alter-table": "Alter table",
9
9
  "action.select-rows": "Select from a table",
10
- "action.select-from-external-table": "Select from external table",
11
10
  "action.delete-rows": "Delete rows",
12
11
  "action.drop-table": "Drop table",
13
12
  "action.add-index": "Add index",
@@ -1,2 +1,2 @@
1
- declare const _default: (key: "button.new-sql" | "action.create-row-table" | "action.create-column-table" | "action.create-external-table" | "action.upsert-to-table" | "action.update-table" | "action.alter-table" | "action.select-rows" | "action.select-from-external-table" | "action.delete-rows" | "action.drop-table" | "action.add-index" | "action.drop-index" | "action.drop-external-table" | "menu.tables" | "menu.topics" | "menu.capture" | "menu.replication" | "menu.users" | "action.create-topic" | "action.drop-topic" | "action.alter-topic" | "action.create-cdc-stream" | "action.create-async-replication" | "action.create-user" | "action.create-group" | "action.drop-user" | "action.drop-group" | "action.grant-privilege" | "action.revoke-privilege" | "action.alter-async-replication" | "action.drop-async-replication", params?: import("@gravity-ui/i18n").Params) => string;
1
+ declare const _default: (key: "button.new-sql" | "action.create-row-table" | "action.create-column-table" | "action.create-external-table" | "action.upsert-to-table" | "action.update-table" | "action.alter-table" | "action.select-rows" | "action.delete-rows" | "action.drop-table" | "action.add-index" | "action.drop-index" | "action.drop-external-table" | "menu.tables" | "menu.topics" | "menu.capture" | "menu.replication" | "menu.users" | "action.create-topic" | "action.drop-topic" | "action.alter-topic" | "action.create-cdc-stream" | "action.create-async-replication" | "action.create-user" | "action.create-group" | "action.drop-user" | "action.drop-group" | "action.grant-privilege" | "action.revoke-privilege" | "action.alter-async-replication" | "action.drop-async-replication", params?: import("@gravity-ui/i18n").Params) => string;
2
2
  export default _default;
@@ -3,7 +3,7 @@ import { ResizeableDataTable } from '../../../../components/ResizeableDataTable/
3
3
  import { Search } from '../../../../components/Search';
4
4
  import { TableWithControlsLayout } from '../../../../components/TableWithControlsLayout/TableWithControlsLayout';
5
5
  import { TruncatedQuery } from '../../../../components/TruncatedQuery/TruncatedQuery';
6
- import { selectQueriesHistory, selectQueriesHistoryFilter, setQueryHistoryFilter, } from '../../../../store/reducers/executeQuery';
6
+ import { selectQueriesHistory, selectQueriesHistoryFilter, setQueryHistoryFilter, } from '../../../../store/reducers/query/query';
7
7
  import { TENANT_QUERY_TABS_ID } from '../../../../store/reducers/tenant/constants';
8
8
  import { setQueryTab } from '../../../../store/reducers/tenant/tenant';
9
9
  import { cn } from '../../../../utils/cn';
@@ -1 +1 @@
1
- {"version":3,"file":"QueriesHistory.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Query/QueriesHistory/QueriesHistory.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAC,mBAAmB,EAAC,MAAM,gEAAgE,CAAC;AACnG,OAAO,EAAC,MAAM,EAAC,MAAM,+BAA+B,CAAC;AACrD,OAAO,EAAC,uBAAuB,EAAC,MAAM,wEAAwE,CAAC;AAC/G,OAAO,EAAC,cAAc,EAAC,MAAM,sDAAsD,CAAC;AACpF,OAAO,EACH,oBAAoB,EACpB,0BAA0B,EAC1B,qBAAqB,GACxB,MAAM,yCAAyC,CAAC;AACjD,OAAO,EAAC,oBAAoB,EAAC,MAAM,6CAA6C,CAAC;AACjF,OAAO,EAAC,WAAW,EAAC,MAAM,0CAA0C,CAAC;AAErE,OAAO,EAAC,EAAE,EAAC,MAAM,sBAAsB,CAAC;AACxC,OAAO,EAAC,cAAc,EAAC,MAAM,iDAAiD,CAAC;AAC/E,OAAO,EAAC,gBAAgB,EAAE,gBAAgB,EAAC,MAAM,yBAAyB,CAAC;AAC3E,OAAO,EAAC,8BAA8B,EAAC,MAAM,yEAAyE,CAAC;AACvH,OAAO,EAAC,UAAU,EAAE,WAAW,EAAC,MAAM,+BAA+B,CAAC;AACtE,OAAO,EAAC,gBAAgB,EAAE,oBAAoB,EAAC,MAAM,uBAAuB,CAAC;AAC7E,OAAO,IAAI,MAAM,SAAS,CAAC;AAE3B,OAAO,uBAAuB,CAAC;AAE/B,MAAM,CAAC,GAAG,EAAE,CAAC,qBAAqB,CAAC,CAAC;AAEpC,MAAM,oCAAoC,GAAG,iCAAiC,CAAC;AAM/E,SAAS,cAAc,CAAC,EAAC,eAAe,EAAsB;IAC1D,MAAM,QAAQ,GAAG,gBAAgB,EAAE,CAAC;IAEpC,MAAM,cAAc,GAAG,gBAAgB,CAAC,oBAAoB,CAAC,CAAC;IAC9D,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SAClB;QACD;YACI,IAAI,EAAE,UAAU;YAChB,MAAM,EAAE,IAAI,CAAC,kBAAkB,CAAC;YAChC,MAAM,EAAE,CAAC,EAAC,GAAG,EAAC,EAAE,EAAE,CAAC,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC,CAAC,UAAU,CAAC,WAAW,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC;YACnF,KAAK,EAAE,OAAO;YACd,KAAK,EAAE,GAAG;YACV,QAAQ,EAAE,KAAK;SAClB;KACJ,CAAC;IAEF,OAAO,CACH,MAAC,uBAAuB,IAAC,SAAS,EAAE,CAAC,EAAE,aACnC,KAAC,uBAAuB,CAAC,QAAQ,cAC7B,KAAC,MAAM,IACH,KAAK,EAAE,MAAM,EACb,QAAQ,EAAE,cAAc,EACxB,WAAW,EAAE,IAAI,CAAC,yBAAyB,CAAC,EAC5C,SAAS,EAAE,CAAC,CAAC,QAAQ,CAAC,GACxB,GAC6B,EACnC,KAAC,uBAAuB,CAAC,KAAK,cAC1B,KAAC,mBAAmB,IAChB,iBAAiB,EAAE,oCAAoC,EACvD,OAAO,EAAE,OAAO,EAChB,IAAI,EAAE,eAAe,EACrB,QAAQ,EAAE,oBAAoB,EAC9B,gBAAgB,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,sBAAsB,CAAC,CAAC,CAAC,eAAe,CAAC,EACzE,UAAU,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,YAAY,CAAC,GAAG,CAAC,EACtC,YAAY,EAAE,GAAG,EAAE,CAAC,CAAC,CAAC,WAAW,CAAC,GACpC,GAC0B,IACV,CAC7B,CAAC;AACN,CAAC;AAED,eAAe,cAAc,CAAC"}
1
+ {"version":3,"file":"QueriesHistory.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Query/QueriesHistory/QueriesHistory.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAC,mBAAmB,EAAC,MAAM,gEAAgE,CAAC;AAC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,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC;YACnF,KAAK,EAAE,OAAO;YACd,KAAK,EAAE,GAAG;YACV,QAAQ,EAAE,KAAK;SAClB;KACJ,CAAC;IAEF,OAAO,CACH,MAAC,uBAAuB,IAAC,SAAS,EAAE,CAAC,EAAE,aACnC,KAAC,uBAAuB,CAAC,QAAQ,cAC7B,KAAC,MAAM,IACH,KAAK,EAAE,MAAM,EACb,QAAQ,EAAE,cAAc,EACxB,WAAW,EAAE,IAAI,CAAC,yBAAyB,CAAC,EAC5C,SAAS,EAAE,CAAC,CAAC,QAAQ,CAAC,GACxB,GAC6B,EACnC,KAAC,uBAAuB,CAAC,KAAK,cAC1B,KAAC,mBAAmB,IAChB,iBAAiB,EAAE,oCAAoC,EACvD,OAAO,EAAE,OAAO,EAChB,IAAI,EAAE,eAAe,EACrB,QAAQ,EAAE,oBAAoB,EAC9B,gBAAgB,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,sBAAsB,CAAC,CAAC,CAAC,eAAe,CAAC,EACzE,UAAU,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,YAAY,CAAC,GAAG,CAAC,EACtC,YAAY,EAAE,GAAG,EAAE,CAAC,CAAC,CAAC,WAAW,CAAC,GACpC,GAC0B,IACV,CAC7B,CAAC;AACN,CAAC;AAED,eAAe,cAAc,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import React from 'react';
3
3
  import { Helmet } from 'react-helmet-async';
4
- import { changeUserInput } from '../../../store/reducers/executeQuery';
4
+ import { changeUserInput } from '../../../store/reducers/query/query';
5
5
  import { TENANT_QUERY_TABS_ID } from '../../../store/reducers/tenant/constants';
6
6
  import { cn } from '../../../utils/cn';
7
7
  import { useTypedDispatch, useTypedSelector } from '../../../utils/hooks';
@@ -1 +1 @@
1
- {"version":3,"file":"Query.js","sourceRoot":"","sources":["../../../../src/containers/Tenant/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