ydb-embedded-ui 6.18.0 → 6.20.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (316) hide show
  1. package/dist/components/ComponentsProvider/ComponentsProvider.d.ts +2 -2
  2. package/dist/components/CriticalActionDialog/CriticalActionDialog.d.ts +2 -1
  3. package/dist/components/CriticalActionDialog/CriticalActionDialog.js +11 -3
  4. package/dist/components/CriticalActionDialog/CriticalActionDialog.js.map +1 -1
  5. package/dist/components/CriticalActionDialog/i18n/en.json +2 -1
  6. package/dist/components/CriticalActionDialog/i18n/index.d.ts +1 -1
  7. package/dist/components/DiskStateProgressBar/DiskStateProgressBar.scss +7 -36
  8. package/dist/components/GroupInfo/GroupInfo.js +3 -3
  9. package/dist/components/MetricChart/reducer.d.ts +2 -2
  10. package/dist/components/PDiskInfo/i18n/index.d.ts +1 -1
  11. package/dist/components/PaginatedTable/PaginatedTable.scss +4 -0
  12. package/dist/components/PaginatedTable/TableChunk.js +5 -2
  13. package/dist/components/PaginatedTable/TableChunk.js.map +1 -1
  14. package/dist/components/PaginatedTable/TableRow.js +1 -1
  15. package/dist/components/PaginatedTable/TableRow.js.map +1 -1
  16. package/dist/components/TabletsStatistic/TabletsStatistic.d.ts +2 -4
  17. package/dist/components/TabletsStatistic/TabletsStatistic.js.map +1 -1
  18. package/dist/components/Tag/Tag.d.ts +2 -1
  19. package/dist/components/Tag/Tag.js.map +1 -1
  20. package/dist/components/Tags/Tags.d.ts +2 -1
  21. package/dist/components/Tags/Tags.js.map +1 -1
  22. package/dist/containers/AppWithClusters/ExtendedNode/ExtendedNode.js +4 -2
  23. package/dist/containers/AppWithClusters/ExtendedNode/ExtendedNode.js.map +1 -1
  24. package/dist/containers/AppWithClusters/ExtendedTenant/ExtendedTenant.js +4 -3
  25. package/dist/containers/AppWithClusters/ExtendedTenant/ExtendedTenant.js.map +1 -1
  26. package/dist/containers/AppWithClusters/useClusterData.d.ts +7 -1
  27. package/dist/containers/AppWithClusters/useClusterData.js +8 -8
  28. package/dist/containers/AppWithClusters/useClusterData.js.map +1 -1
  29. package/dist/containers/AsideNavigation/AsideNavigation.d.ts +3 -0
  30. package/dist/containers/AsideNavigation/AsideNavigation.js +6 -10
  31. package/dist/containers/AsideNavigation/AsideNavigation.js.map +1 -1
  32. package/dist/containers/AsideNavigation/Navigation.js +4 -1
  33. package/dist/containers/AsideNavigation/Navigation.js.map +1 -1
  34. package/dist/containers/AsideNavigation/YdbInternalUser/YdbInternalUser.d.ts +3 -1
  35. package/dist/containers/AsideNavigation/YdbInternalUser/YdbInternalUser.js +2 -4
  36. package/dist/containers/AsideNavigation/YdbInternalUser/YdbInternalUser.js.map +1 -1
  37. package/dist/containers/Cluster/Cluster.js +5 -13
  38. package/dist/containers/Cluster/Cluster.js.map +1 -1
  39. package/dist/containers/Cluster/Cluster.scss +1 -0
  40. package/dist/containers/Cluster/ClusterInfo/ClusterInfo.js +3 -112
  41. package/dist/containers/Cluster/ClusterInfo/ClusterInfo.js.map +1 -1
  42. package/dist/containers/Cluster/ClusterInfo/ClusterInfo.scss +7 -14
  43. package/dist/containers/Cluster/ClusterInfo/components/DiskGroupsStatsBars/DiskGroupsStatsBars.d.ts +7 -0
  44. package/dist/containers/Cluster/ClusterInfo/components/DiskGroupsStatsBars/DiskGroupsStatsBars.js +43 -0
  45. package/dist/containers/Cluster/ClusterInfo/components/DiskGroupsStatsBars/DiskGroupsStatsBars.js.map +1 -0
  46. package/dist/containers/Cluster/ClusterInfo/components/DiskGroupsStatsBars/DiskGroupsStatsBars.scss +11 -0
  47. package/dist/containers/Cluster/ClusterInfo/components/NodesState/NodesState.d.ts +8 -0
  48. package/dist/containers/Cluster/ClusterInfo/components/NodesState/NodesState.js +8 -0
  49. package/dist/containers/Cluster/ClusterInfo/components/NodesState/NodesState.js.map +1 -0
  50. package/dist/containers/Cluster/ClusterInfo/components/NodesState/NodesState.scss +16 -0
  51. package/dist/containers/Cluster/ClusterInfo/shared.d.ts +1 -0
  52. package/dist/containers/Cluster/ClusterInfo/shared.js +3 -0
  53. package/dist/containers/Cluster/ClusterInfo/shared.js.map +1 -0
  54. package/dist/containers/Cluster/ClusterInfo/utils.d.ts +12 -0
  55. package/dist/containers/Cluster/ClusterInfo/utils.js +145 -0
  56. package/dist/containers/Cluster/ClusterInfo/utils.js.map +1 -1
  57. package/dist/containers/Cluster/i18n/en.json +7 -1
  58. package/dist/containers/Cluster/i18n/index.d.ts +1 -1
  59. package/dist/containers/Cluster/i18n/index.js +1 -2
  60. package/dist/containers/Cluster/i18n/index.js.map +1 -1
  61. package/dist/containers/Header/Header.js +3 -7
  62. package/dist/containers/Header/Header.js.map +1 -1
  63. package/dist/containers/Node/Node.js +1 -5
  64. package/dist/containers/Node/Node.js.map +1 -1
  65. package/dist/containers/Node/NodePages.js +5 -4
  66. package/dist/containers/Node/NodePages.js.map +1 -1
  67. package/dist/containers/Node/NodeStructure/NodeStructure.js +9 -3
  68. package/dist/containers/Node/NodeStructure/NodeStructure.js.map +1 -1
  69. package/dist/containers/Nodes/Nodes.js +3 -13
  70. package/dist/containers/Nodes/Nodes.js.map +1 -1
  71. package/dist/containers/PDiskPage/DecommissionButton/DecommissionButton.js +1 -1
  72. package/dist/containers/PDiskPage/DecommissionButton/DecommissionButton.js.map +1 -1
  73. package/dist/containers/PDiskPage/PDiskGroups/PDiskGroups.js +16 -7
  74. package/dist/containers/PDiskPage/PDiskGroups/PDiskGroups.js.map +1 -1
  75. package/dist/containers/PDiskPage/PDiskGroups/utils.d.ts +2 -0
  76. package/dist/containers/PDiskPage/PDiskGroups/utils.js +14 -0
  77. package/dist/containers/PDiskPage/PDiskGroups/utils.js.map +1 -0
  78. package/dist/containers/PDiskPage/PDiskPage.js +1 -1
  79. package/dist/containers/PDiskPage/PDiskPage.js.map +1 -1
  80. package/dist/containers/Storage/Storage.js +9 -9
  81. package/dist/containers/Storage/Storage.js.map +1 -1
  82. package/dist/containers/Storage/StorageGroups/PaginatedStorageGroups.js +7 -2
  83. package/dist/containers/Storage/StorageGroups/PaginatedStorageGroups.js.map +1 -1
  84. package/dist/containers/Storage/StorageGroups/columns/getStorageGroupsColumns.d.ts +1 -1
  85. package/dist/containers/Storage/StorageGroups/columns/getStorageGroupsColumns.js +7 -20
  86. package/dist/containers/Storage/StorageGroups/columns/getStorageGroupsColumns.js.map +1 -1
  87. package/dist/containers/Storage/StorageGroups/getGroups.d.ts +3 -1
  88. package/dist/containers/Storage/StorageGroups/getGroups.js +27 -24
  89. package/dist/containers/Storage/StorageGroups/getGroups.js.map +1 -1
  90. package/dist/containers/Storage/StorageNodes/PaginatedStorageNodes.js +1 -1
  91. package/dist/containers/Storage/utils/index.js +3 -4
  92. package/dist/containers/Storage/utils/index.js.map +1 -1
  93. package/dist/containers/Tablets/i18n/index.d.ts +1 -1
  94. package/dist/containers/Tenant/Diagnostics/Configs/Configs.d.ts +6 -0
  95. package/dist/containers/Tenant/Diagnostics/Configs/Configs.js +79 -0
  96. package/dist/containers/Tenant/Diagnostics/Configs/Configs.js.map +1 -0
  97. package/dist/containers/Tenant/Diagnostics/Configs/Configs.scss +8 -0
  98. package/dist/containers/Tenant/Diagnostics/Configs/i18n/en.json +11 -0
  99. package/dist/containers/Tenant/Diagnostics/Configs/i18n/index.d.ts +2 -0
  100. package/dist/containers/Tenant/Diagnostics/Configs/i18n/index.js +5 -0
  101. package/dist/containers/Tenant/Diagnostics/Configs/i18n/index.js.map +1 -0
  102. package/dist/containers/Tenant/Diagnostics/Diagnostics.js +4 -0
  103. package/dist/containers/Tenant/Diagnostics/Diagnostics.js.map +1 -1
  104. package/dist/containers/Tenant/Diagnostics/DiagnosticsPages.d.ts +3 -0
  105. package/dist/containers/Tenant/Diagnostics/DiagnosticsPages.js +5 -0
  106. package/dist/containers/Tenant/Diagnostics/DiagnosticsPages.js.map +1 -1
  107. package/dist/containers/Tenant/Diagnostics/Overview/TableInfo/i18n/index.d.ts +1 -1
  108. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopGroups.js +21 -4
  109. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopGroups.js.map +1 -1
  110. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/utils.d.ts +2 -0
  111. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/utils.js +7 -0
  112. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/utils.js.map +1 -0
  113. package/dist/containers/Tenant/ObjectGeneral/ObjectGeneral.js +8 -3
  114. package/dist/containers/Tenant/ObjectGeneral/ObjectGeneral.js.map +1 -1
  115. package/dist/containers/Tenant/Query/CancelQueryButton/CancelQueryButton.d.ts +7 -0
  116. package/dist/containers/Tenant/Query/CancelQueryButton/CancelQueryButton.js +17 -0
  117. package/dist/containers/Tenant/Query/CancelQueryButton/CancelQueryButton.js.map +1 -0
  118. package/dist/containers/Tenant/Query/CancelQueryButton/CancelQueryButton.scss +9 -0
  119. package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.d.ts +5 -9
  120. package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.js +7 -7
  121. package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.js.map +1 -1
  122. package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.scss +0 -12
  123. package/dist/containers/Tenant/Query/ExecuteResult/TraceButton.d.ts +1 -1
  124. package/dist/containers/Tenant/Query/ExecuteResult/TraceButton.js +9 -24
  125. package/dist/containers/Tenant/Query/ExecuteResult/TraceButton.js.map +1 -1
  126. package/dist/containers/Tenant/Query/ExecuteResult/i18n/en.json +0 -1
  127. package/dist/containers/Tenant/Query/ExecuteResult/i18n/index.d.ts +1 -1
  128. package/dist/containers/Tenant/Query/ExplainResult/ExplainResult.d.ts +4 -12
  129. package/dist/containers/Tenant/Query/ExplainResult/ExplainResult.js +7 -5
  130. package/dist/containers/Tenant/Query/ExplainResult/ExplainResult.js.map +1 -1
  131. package/dist/containers/Tenant/Query/ExplainResult/ExplainResult.scss +0 -6
  132. package/dist/containers/Tenant/Query/ExplainResult/i18n/en.json +1 -2
  133. package/dist/containers/Tenant/Query/ExplainResult/i18n/index.d.ts +1 -1
  134. package/dist/containers/Tenant/Query/Query.js +14 -2
  135. package/dist/containers/Tenant/Query/Query.js.map +1 -1
  136. package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.d.ts +3 -2
  137. package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.js +18 -36
  138. package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.js.map +1 -1
  139. package/dist/containers/Tenant/Query/i18n/en.json +1 -0
  140. package/dist/containers/Tenant/Query/i18n/index.d.ts +1 -1
  141. package/dist/containers/Tenant/utils/queryTemplates.js +1 -1
  142. package/dist/containers/Tenant/utils/queryTemplates.js.map +1 -1
  143. package/dist/containers/UserSettings/i18n/en.json +0 -2
  144. package/dist/containers/UserSettings/i18n/index.d.ts +1 -1
  145. package/dist/containers/UserSettings/settings.d.ts +0 -1
  146. package/dist/containers/UserSettings/settings.js +2 -12
  147. package/dist/containers/UserSettings/settings.js.map +1 -1
  148. package/dist/containers/VDiskPage/VDiskPage.d.ts +3 -4
  149. package/dist/containers/VDiskPage/VDiskPage.js +33 -10
  150. package/dist/containers/VDiskPage/VDiskPage.js.map +1 -1
  151. package/dist/containers/VDiskPage/utils.d.ts +2 -0
  152. package/dist/containers/VDiskPage/utils.js +7 -0
  153. package/dist/containers/VDiskPage/utils.js.map +1 -0
  154. package/dist/lib.d.ts +1 -0
  155. package/dist/lib.js +1 -0
  156. package/dist/lib.js.map +1 -1
  157. package/dist/services/api.d.ts +20 -16
  158. package/dist/services/api.js +62 -21
  159. package/dist/services/api.js.map +1 -1
  160. package/dist/services/parsers/parseMetaCluster.d.ts +14 -0
  161. package/dist/services/parsers/parseMetaCluster.js +17 -31
  162. package/dist/services/parsers/parseMetaCluster.js.map +1 -1
  163. package/dist/services/settings.d.ts +0 -1
  164. package/dist/services/settings.js +1 -2
  165. package/dist/services/settings.js.map +1 -1
  166. package/dist/store/configureStore.d.ts +4 -4
  167. package/dist/store/defaultStore.d.ts +2 -2
  168. package/dist/store/getUrlData.js +9 -6
  169. package/dist/store/getUrlData.js.map +1 -1
  170. package/dist/store/reducers/api.d.ts +1 -1
  171. package/dist/store/reducers/api.js +1 -1
  172. package/dist/store/reducers/api.js.map +1 -1
  173. package/dist/store/reducers/authentication/authentication.d.ts +4 -4
  174. package/dist/store/reducers/cancelQuery.d.ts +2 -2
  175. package/dist/store/reducers/cancelQuery.js.map +1 -1
  176. package/dist/store/reducers/capabilities/capabilities.d.ts +6 -6
  177. package/dist/store/reducers/capabilities/hooks.d.ts +2 -0
  178. package/dist/store/reducers/capabilities/hooks.js +8 -1
  179. package/dist/store/reducers/capabilities/hooks.js.map +1 -1
  180. package/dist/store/reducers/cluster/cluster.d.ts +230 -2
  181. package/dist/store/reducers/cluster/cluster.js +45 -3
  182. package/dist/store/reducers/cluster/cluster.js.map +1 -1
  183. package/dist/store/reducers/cluster/utils.d.ts +4 -1
  184. package/dist/store/reducers/cluster/utils.js +16 -3
  185. package/dist/store/reducers/cluster/utils.js.map +1 -1
  186. package/dist/store/reducers/clusters/clusters.d.ts +2 -2
  187. package/dist/store/reducers/describe.d.ts +2 -2
  188. package/dist/store/reducers/executeQuery.d.ts +8 -4
  189. package/dist/store/reducers/executeQuery.js +35 -2
  190. package/dist/store/reducers/executeQuery.js.map +1 -1
  191. package/dist/store/reducers/executeTopQueries/executeTopQueries.d.ts +2 -2
  192. package/dist/store/reducers/explainQuery/explainQuery.d.ts +2 -3
  193. package/dist/store/reducers/explainQuery/explainQuery.js +23 -2
  194. package/dist/store/reducers/explainQuery/explainQuery.js.map +1 -1
  195. package/dist/store/reducers/explainQuery/types.d.ts +1 -0
  196. package/dist/store/reducers/explainQuery/utils.d.ts +1 -1
  197. package/dist/store/reducers/explainQuery/utils.js.map +1 -1
  198. package/dist/store/reducers/healthcheckInfo/healthcheckInfo.d.ts +58 -58
  199. package/dist/store/reducers/heatmap.d.ts +2 -2
  200. package/dist/store/reducers/hotKeys/hotKeys.d.ts +2 -2
  201. package/dist/store/reducers/index.d.ts +3 -3
  202. package/dist/store/reducers/network/network.d.ts +2 -2
  203. package/dist/store/reducers/node/node.d.ts +3 -3
  204. package/dist/store/reducers/node/selectors.d.ts +1 -1
  205. package/dist/store/reducers/nodes/nodes.d.ts +3 -4
  206. package/dist/store/reducers/nodes/nodes.js +1 -17
  207. package/dist/store/reducers/nodes/nodes.js.map +1 -1
  208. package/dist/store/reducers/nodes/types.d.ts +1 -6
  209. package/dist/store/reducers/nodes/utils.d.ts +1 -4
  210. package/dist/store/reducers/nodes/utils.js +1 -41
  211. package/dist/store/reducers/nodes/utils.js.map +1 -1
  212. package/dist/store/reducers/nodesList.d.ts +3 -3
  213. package/dist/store/reducers/overview/overview.d.ts +2 -2
  214. package/dist/store/reducers/partitions/partitions.d.ts +2 -2
  215. package/dist/store/reducers/pdisk/pdisk.d.ts +2 -3
  216. package/dist/store/reducers/pdisk/pdisk.js +1 -21
  217. package/dist/store/reducers/pdisk/pdisk.js.map +1 -1
  218. package/dist/store/reducers/pdisk/utils.d.ts +0 -3
  219. package/dist/store/reducers/pdisk/utils.js +0 -22
  220. package/dist/store/reducers/pdisk/utils.js.map +1 -1
  221. package/dist/store/reducers/preview.d.ts +2 -2
  222. package/dist/store/reducers/schema/schema.d.ts +3 -3
  223. package/dist/store/reducers/schemaAcl/schemaAcl.d.ts +2 -2
  224. package/dist/store/reducers/shardsWorkload/shardsWorkload.d.ts +2 -2
  225. package/dist/store/reducers/storage/requestStorageData.d.ts +5 -0
  226. package/dist/store/reducers/storage/requestStorageData.js +12 -0
  227. package/dist/store/reducers/storage/requestStorageData.js.map +1 -0
  228. package/dist/store/reducers/storage/selectors.js +1 -1
  229. package/dist/store/reducers/storage/storage.d.ts +6 -4
  230. package/dist/store/reducers/storage/storage.js +6 -6
  231. package/dist/store/reducers/storage/storage.js.map +1 -1
  232. package/dist/store/reducers/storage/types.d.ts +11 -23
  233. package/dist/store/reducers/storage/utils.d.ts +3 -2
  234. package/dist/store/reducers/storage/utils.js +52 -26
  235. package/dist/store/reducers/storage/utils.js.map +1 -1
  236. package/dist/store/reducers/tableData.d.ts +1 -1
  237. package/dist/store/reducers/tablet.d.ts +7 -7
  238. package/dist/store/reducers/tablets.d.ts +13 -13
  239. package/dist/store/reducers/tenant/constants.d.ts +1 -0
  240. package/dist/store/reducers/tenant/constants.js +1 -0
  241. package/dist/store/reducers/tenant/constants.js.map +1 -1
  242. package/dist/store/reducers/tenant/tenant.d.ts +5 -2
  243. package/dist/store/reducers/tenant/tenant.js +12 -0
  244. package/dist/store/reducers/tenant/tenant.js.map +1 -1
  245. package/dist/store/reducers/tenantOverview/executeTopTables/executeTopTables.d.ts +2 -2
  246. package/dist/store/reducers/tenantOverview/topNodes/topNodes.d.ts +2 -2
  247. package/dist/store/reducers/tenantOverview/topShards/tenantOverviewTopShards.d.ts +2 -2
  248. package/dist/store/reducers/tenants/selectors.d.ts +27 -27
  249. package/dist/store/reducers/tenants/tenants.d.ts +2 -2
  250. package/dist/store/reducers/topic.d.ts +44 -44
  251. package/dist/store/reducers/trace.d.ts +4 -5
  252. package/dist/store/reducers/trace.js +5 -8
  253. package/dist/store/reducers/trace.js.map +1 -1
  254. package/dist/store/reducers/vdisk/utils.d.ts +0 -2
  255. package/dist/store/reducers/vdisk/utils.js +0 -10
  256. package/dist/store/reducers/vdisk/utils.js.map +1 -1
  257. package/dist/store/reducers/vdisk/vdisk.d.ts +8 -5
  258. package/dist/store/reducers/vdisk/vdisk.js +17 -32
  259. package/dist/store/reducers/vdisk/vdisk.js.map +1 -1
  260. package/dist/store/reducers/viewSchema/viewSchema.d.ts +2 -2
  261. package/dist/store/reducers/viewSchema/viewSchema.js +1 -1
  262. package/dist/store/reducers/viewSchema/viewSchema.js.map +1 -1
  263. package/dist/styles/mixins.scss +45 -0
  264. package/dist/types/api/capabilities.d.ts +1 -1
  265. package/dist/types/api/cluster.d.ts +31 -1
  266. package/dist/types/api/cluster.js +3 -1
  267. package/dist/types/api/cluster.js.map +1 -1
  268. package/dist/types/api/featureFlags.d.ts +13 -0
  269. package/dist/types/api/featureFlags.js +2 -0
  270. package/dist/types/api/featureFlags.js.map +1 -0
  271. package/dist/types/api/meta.d.ts +6 -4
  272. package/dist/types/api/pdisk.d.ts +1 -1
  273. package/dist/types/api/storage.d.ts +132 -6
  274. package/dist/types/api/storage.js +1 -5
  275. package/dist/types/api/storage.js.map +1 -1
  276. package/dist/types/api/trace.d.ts +16 -6
  277. package/dist/types/api/trace.js +7 -1
  278. package/dist/types/api/trace.js.map +1 -1
  279. package/dist/types/api/vdisk.d.ts +1 -1
  280. package/dist/types/store/executeQuery.d.ts +25 -3
  281. package/dist/types/store/executeQuery.js +5 -1
  282. package/dist/types/store/executeQuery.js.map +1 -1
  283. package/dist/utils/constants.d.ts +0 -1
  284. package/dist/utils/constants.js +0 -1
  285. package/dist/utils/constants.js.map +1 -1
  286. package/dist/utils/disks/helpers.d.ts +4 -1
  287. package/dist/utils/disks/helpers.js +7 -1
  288. package/dist/utils/disks/helpers.js.map +1 -1
  289. package/dist/utils/monaco/yql/generateSuggestions.js +8 -3
  290. package/dist/utils/monaco/yql/generateSuggestions.js.map +1 -1
  291. package/dist/utils/nodes.d.ts +1 -2
  292. package/dist/utils/nodes.js.map +1 -1
  293. package/dist/utils/storage.d.ts +2 -21
  294. package/dist/utils/storage.js +14 -19
  295. package/dist/utils/storage.js.map +1 -1
  296. package/dist/utils/versions/parseNodesToVersionsValues.d.ts +1 -1
  297. package/dist/utils/versions/parseNodesToVersionsValues.js +3 -2
  298. package/dist/utils/versions/parseNodesToVersionsValues.js.map +1 -1
  299. package/package.json +2 -6
  300. package/dist/components/NotRenderUntilFirstVisible/NotRenderUntilFirstVisible.d.ts +0 -9
  301. package/dist/components/NotRenderUntilFirstVisible/NotRenderUntilFirstVisible.js +0 -9
  302. package/dist/components/NotRenderUntilFirstVisible/NotRenderUntilFirstVisible.js.map +0 -1
  303. package/dist/components/NotRenderUntilFirstVisible/NotRenderUntilFirstVisible.scss +0 -3
  304. package/dist/containers/Cluster/i18n/ru.json +0 -16
  305. package/dist/store/reducers/tenantOverview/topStorageGroups/topStorageGroups.d.ts +0 -4
  306. package/dist/store/reducers/tenantOverview/topStorageGroups/topStorageGroups.js +0 -29
  307. package/dist/store/reducers/tenantOverview/topStorageGroups/topStorageGroups.js.map +0 -1
  308. package/dist/store/reducers/tenantOverview/topStorageGroups/types.d.ts +0 -4
  309. package/dist/store/reducers/tenantOverview/topStorageGroups/types.js +0 -2
  310. package/dist/store/reducers/tenantOverview/topStorageGroups/types.js.map +0 -1
  311. package/dist/store/reducers/tenantOverview/topStorageGroups/utils.d.ts +0 -3
  312. package/dist/store/reducers/tenantOverview/topStorageGroups/utils.js +0 -13
  313. package/dist/store/reducers/tenantOverview/topStorageGroups/utils.js.map +0 -1
  314. package/dist/types/api/compute.d.ts +0 -60
  315. package/dist/types/api/compute.js +0 -6
  316. package/dist/types/api/compute.js.map +0 -1
@@ -0,0 +1,17 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import React from 'react';
3
+ import { StopFill } from '@gravity-ui/icons';
4
+ import { Button, Icon } from '@gravity-ui/uikit';
5
+ import { cancelQueryApi } from '../../../../store/reducers/cancelQuery';
6
+ import { cn } from '../../../../utils/cn';
7
+ import i18n from '../i18n';
8
+ import './CancelQueryButton.scss';
9
+ const b = cn('cancel-query-button');
10
+ export function CancelQueryButton({ queryId, tenantName }) {
11
+ const [sendCancelQuery, cancelQueryResponse] = cancelQueryApi.useCancelQueryMutation();
12
+ const onStopButtonClick = React.useCallback(() => {
13
+ sendCancelQuery({ queryId, database: tenantName });
14
+ }, [queryId, sendCancelQuery, tenantName]);
15
+ return (_jsxs(Button, { loading: cancelQueryResponse.isLoading, onClick: onStopButtonClick, className: b('stop-button', { error: Boolean(cancelQueryResponse.error) }), children: [_jsx(Icon, { data: StopFill, size: 16 }), i18n('action.stop')] }));
16
+ }
17
+ //# sourceMappingURL=CancelQueryButton.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CancelQueryButton.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Query/CancelQueryButton/CancelQueryButton.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,QAAQ,EAAC,MAAM,mBAAmB,CAAC;AAC3C,OAAO,EAAC,MAAM,EAAE,IAAI,EAAC,MAAM,mBAAmB,CAAC;AAE/C,OAAO,EAAC,cAAc,EAAC,MAAM,wCAAwC,CAAC;AACtE,OAAO,EAAC,EAAE,EAAC,MAAM,sBAAsB,CAAC;AACxC,OAAO,IAAI,MAAM,SAAS,CAAC;AAE3B,OAAO,0BAA0B,CAAC;AAElC,MAAM,CAAC,GAAG,EAAE,CAAC,qBAAqB,CAAC,CAAC;AAOpC,MAAM,UAAU,iBAAiB,CAAC,EAAC,OAAO,EAAE,UAAU,EAAyB;IAC3E,MAAM,CAAC,eAAe,EAAE,mBAAmB,CAAC,GAAG,cAAc,CAAC,sBAAsB,EAAE,CAAC;IAEvF,MAAM,iBAAiB,GAAG,KAAK,CAAC,WAAW,CAAC,GAAG,EAAE;QAC7C,eAAe,CAAC,EAAC,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAC,CAAC,CAAC;IACrD,CAAC,EAAE,CAAC,OAAO,EAAE,eAAe,EAAE,UAAU,CAAC,CAAC,CAAC;IAE3C,OAAO,CACH,MAAC,MAAM,IACH,OAAO,EAAE,mBAAmB,CAAC,SAAS,EACtC,OAAO,EAAE,iBAAiB,EAC1B,SAAS,EAAE,CAAC,CAAC,aAAa,EAAE,EAAC,KAAK,EAAE,OAAO,CAAC,mBAAmB,CAAC,KAAK,CAAC,EAAC,CAAC,aAExE,KAAC,IAAI,IAAC,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,EAAE,GAAI,EACjC,IAAI,CAAC,aAAa,CAAC,IACf,CACZ,CAAC;AACN,CAAC"}
@@ -0,0 +1,9 @@
1
+ @import '../../../../styles/mixins.scss';
2
+
3
+ .cancel-query-button {
4
+ &__stop-button {
5
+ &_error {
6
+ @include query-buttons-animations();
7
+ }
8
+ }
9
+ }
@@ -1,16 +1,12 @@
1
- import type { IQueryResult } from '../../../../types/store/query';
1
+ import type { ExecuteQueryResult } from '../../../../types/store/executeQuery';
2
2
  import './ExecuteResult.scss';
3
3
  interface ExecuteResultProps {
4
- data: IQueryResult | undefined;
5
- error: unknown;
6
- cancelError: unknown;
4
+ result: ExecuteQueryResult;
7
5
  isResultsCollapsed?: boolean;
6
+ theme?: string;
7
+ tenantName: string;
8
8
  onCollapseResults: VoidFunction;
9
9
  onExpandResults: VoidFunction;
10
- onStopButtonClick: VoidFunction;
11
- theme?: string;
12
- loading?: boolean;
13
- cancelQueryLoading?: boolean;
14
10
  }
15
- export declare function ExecuteResult({ data, error, cancelError, isResultsCollapsed, onCollapseResults, onExpandResults, onStopButtonClick, theme, loading, cancelQueryLoading, }: ExecuteResultProps): import("react/jsx-runtime").JSX.Element;
11
+ export declare function ExecuteResult({ result, isResultsCollapsed, theme, tenantName, onCollapseResults, onExpandResults, }: ExecuteResultProps): import("react/jsx-runtime").JSX.Element;
16
12
  export {};
@@ -1,7 +1,6 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import React from 'react';
3
- import { StopFill } from '@gravity-ui/icons';
4
- import { Button, Icon, RadioButton, Tabs } from '@gravity-ui/uikit';
3
+ import { RadioButton, Tabs } from '@gravity-ui/uikit';
5
4
  import JSONTree from 'react-json-inspector';
6
5
  import { ClipboardButton } from '../../../../components/ClipboardButton';
7
6
  import Divider from '../../../../components/Divider/Divider';
@@ -18,8 +17,8 @@ import { cn } from '../../../../utils/cn';
18
17
  import { getStringifiedData } from '../../../../utils/dataFormatters/dataFormatters';
19
18
  import { useTypedDispatch } from '../../../../utils/hooks';
20
19
  import { parseQueryError } from '../../../../utils/query';
21
- import { ClusterModeGuard } from '../../../ClusterModeGuard';
22
20
  import { PaneVisibilityToggleButtons } from '../../utils/paneVisibilityToggleHelpers';
21
+ import { CancelQueryButton } from '../CancelQueryButton/CancelQueryButton';
23
22
  import { SimplifiedPlan } from '../ExplainResult/components/SimplifiedPlan/SimplifiedPlan';
24
23
  import { ResultIssues } from '../Issues/Issues';
25
24
  import { QueryDuration } from '../QueryDuration/QueryDuration';
@@ -37,11 +36,12 @@ const resultOptionsIds = {
37
36
  schema: 'schema',
38
37
  simplified: 'simplified',
39
38
  };
40
- export function ExecuteResult({ data, error, cancelError, isResultsCollapsed, onCollapseResults, onExpandResults, onStopButtonClick, theme, loading, cancelQueryLoading, }) {
39
+ export function ExecuteResult({ result, isResultsCollapsed, theme, tenantName, onCollapseResults, onExpandResults, }) {
41
40
  var _a, _b, _c;
42
41
  const [selectedResultSet, setSelectedResultSet] = React.useState(0);
43
42
  const [activeSection, setActiveSection] = React.useState(resultOptionsIds.result);
44
43
  const dispatch = useTypedDispatch();
44
+ const { error, isLoading, queryId, data } = result;
45
45
  const stats = data === null || data === void 0 ? void 0 : data.stats;
46
46
  const resultsSetsCount = (_a = data === null || data === void 0 ? void 0 : data.resultSets) === null || _a === void 0 ? void 0 : _a.length;
47
47
  const isMulti = resultsSetsCount && resultsSetsCount > 0;
@@ -70,8 +70,8 @@ export function ExecuteResult({ data, error, cancelError, isResultsCollapsed, on
70
70
  const onSelectSection = (value) => {
71
71
  setActiveSection(value);
72
72
  };
73
- const renderResultTable = (result, columns) => {
74
- return _jsx(QueryResultTable, { data: result, columns: columns, settings: { sortable: false } });
73
+ const renderResultTable = (resultSet, columns) => {
74
+ return _jsx(QueryResultTable, { data: resultSet, columns: columns, settings: { sortable: false } });
75
75
  };
76
76
  const renderResult = () => {
77
77
  return (_jsxs("div", { className: b('result-wrapper'), children: [isMulti && resultsSetsCount > 1 && (_jsx("div", { children: _jsx(Tabs, { className: b('result-tabs'), size: "l", items: getArray(resultsSetsCount).map((item) => ({
@@ -147,6 +147,6 @@ export function ExecuteResult({ data, error, cancelError, isResultsCollapsed, on
147
147
  }
148
148
  return null;
149
149
  };
150
- return (_jsxs(React.Fragment, { children: [_jsxs("div", { className: b('controls'), children: [_jsxs("div", { className: b('controls-right'), children: [_jsx(QueryExecutionStatus, { error: error, loading: loading }), !error && !loading && (_jsxs(React.Fragment, { children: [(stats === null || stats === void 0 ? void 0 : stats.DurationUs) !== undefined && (_jsx(QueryDuration, { duration: Number(stats.DurationUs) })), resultOptions && activeSection && (_jsxs(React.Fragment, { children: [_jsx(Divider, {}), _jsx(RadioButton, { options: resultOptions, value: activeSection, onUpdate: onSelectSection })] }))] })), loading ? (_jsxs(React.Fragment, { children: [_jsx(ElapsedTime, { className: b('elapsed-time') }), _jsxs(Button, { loading: cancelQueryLoading, onClick: onStopButtonClick, className: b('stop-button', { error: Boolean(cancelError) }), children: [_jsx(Icon, { data: StopFill, size: 16 }), i18n('action.stop')] })] })) : null, _jsx(ClusterModeGuard, { mode: "multi", children: _jsx(TraceButton, { traceId: data === null || data === void 0 ? void 0 : data.traceId }) })] }), _jsxs("div", { className: b('controls-left'), children: [renderClipboardButton(), _jsx(EnableFullscreenButton, {}), _jsx(PaneVisibilityToggleButtons, { onCollapse: onCollapseResults, onExpand: onExpandResults, isCollapsed: isResultsCollapsed, initialDirection: "bottom" })] })] }), loading || isQueryCancelledError(error) ? null : _jsx(QuerySettingsBanner, {}), _jsx(LoaderWrapper, { loading: loading, children: _jsx(Fullscreen, { children: renderResultSection() }) })] }));
150
+ return (_jsxs(React.Fragment, { children: [_jsxs("div", { className: b('controls'), children: [_jsxs("div", { className: b('controls-right'), children: [_jsx(QueryExecutionStatus, { error: error, loading: isLoading }), !error && !isLoading && (_jsxs(React.Fragment, { children: [(stats === null || stats === void 0 ? void 0 : stats.DurationUs) !== undefined && (_jsx(QueryDuration, { duration: Number(stats.DurationUs) })), resultOptions && activeSection && (_jsxs(React.Fragment, { children: [_jsx(Divider, {}), _jsx(RadioButton, { options: resultOptions, value: activeSection, onUpdate: onSelectSection })] }))] })), isLoading ? (_jsxs(React.Fragment, { children: [_jsx(ElapsedTime, { className: b('elapsed-time') }), _jsx(CancelQueryButton, { queryId: queryId, tenantName: tenantName })] })) : null, (data === null || data === void 0 ? void 0 : data.traceId) ? _jsx(TraceButton, { traceId: data.traceId }) : null] }), _jsxs("div", { className: b('controls-left'), children: [renderClipboardButton(), _jsx(EnableFullscreenButton, {}), _jsx(PaneVisibilityToggleButtons, { onCollapse: onCollapseResults, onExpand: onExpandResults, isCollapsed: isResultsCollapsed, initialDirection: "bottom" })] })] }), isLoading || isQueryCancelledError(error) ? null : _jsx(QuerySettingsBanner, {}), _jsx(LoaderWrapper, { loading: isLoading, children: _jsx(Fullscreen, { children: renderResultSection() }) })] }));
151
151
  }
152
152
  //# sourceMappingURL=ExecuteResult.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ExecuteResult.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Query/ExecuteResult/ExecuteResult.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,QAAQ,EAAC,MAAM,mBAAmB,CAAC;AAE3C,OAAO,EAAC,MAAM,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAC,MAAM,mBAAmB,CAAC;AAClE,OAAO,QAAQ,MAAM,sBAAsB,CAAC;AAE5C,OAAO,EAAC,eAAe,EAAC,MAAM,wCAAwC,CAAC;AACvE,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,QAAQ,EAAC,MAAM,oCAAoC,CAAC;AAC5D,OAAO,EAAC,aAAa,EAAC,MAAM,oDAAoD,CAAC;AACjF,OAAO,EAAC,oBAAoB,EAAC,MAAM,6CAA6C,CAAC;AACjF,OAAO,EAAC,gBAAgB,EAAC,MAAM,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J,IAAI,uBAAJ,IAAI,CAAE,OAAO,EAAC,CAAC,CAAC,KAAC,WAAW,IAAC,OAAO,EAAE,IAAI,CAAC,OAAO,GAAI,CAAC,CAAC,CAAC,IAAI,IAC5D,EACN,eAAK,SAAS,EAAE,CAAC,CAAC,eAAe,CAAC,aAC7B,qBAAqB,EAAE,EACxB,KAAC,sBAAsB,KAAG,EAC1B,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,YAC7B,KAAC,UAAU,cAAE,mBAAmB,EAAE,GAAc,GACpC,IACH,CACpB,CAAC;AACN,CAAC"}
@@ -78,16 +78,4 @@
78
78
  &__elapsed-label {
79
79
  margin-left: var(--g-spacing-3);
80
80
  }
81
-
82
- &__stop-button {
83
- &_error {
84
- @include query-buttons-animations();
85
- }
86
- }
87
-
88
- &__trace-link {
89
- &_loading {
90
- color: var(--g-color-text-secondary);
91
- }
92
- }
93
81
  }
@@ -1,5 +1,5 @@
1
1
  interface TraceUrlButtonProps {
2
- traceId?: string;
2
+ traceId: string;
3
3
  }
4
4
  export declare function TraceButton({ traceId }: TraceUrlButtonProps): import("react/jsx-runtime").JSX.Element | null;
5
5
  export {};
@@ -1,43 +1,28 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import React from 'react';
3
+ import { ArrowUpRightFromSquare } from '@gravity-ui/icons';
3
4
  import { Button } from '@gravity-ui/uikit';
4
- import { StringParam, useQueryParams } from 'use-query-params';
5
- import { LinkWithIcon } from '../../../../components/LinkWithIcon/LinkWithIcon';
6
- import { clusterApi } from '../../../../store/reducers/cluster/cluster';
5
+ import { useClusterBaseInfo } from '../../../../store/reducers/cluster/cluster';
7
6
  import { traceApi } from '../../../../store/reducers/trace';
8
- import { cn } from '../../../../utils/cn';
9
7
  import { SECOND_IN_MS } from '../../../../utils/constants';
10
8
  import { useDelayed } from '../../../../utils/hooks/useDelayed';
11
9
  import { replaceParams } from '../utils/replaceParams';
12
10
  import i18n from './i18n';
13
- const b = cn('ydb-query-execute-result');
14
11
  const TIME_BEFORE_CHECK = 15 * SECOND_IN_MS;
15
- function hasValidTraceCheckUrl(cluster) {
16
- return Boolean(cluster && cluster.TraceCheck && typeof cluster.TraceCheck.url === 'string');
17
- }
18
- function hasValidTraceViewUrl(cluster) {
19
- return Boolean(cluster && cluster.TraceView && typeof cluster.TraceView.url === 'string');
20
- }
21
12
  export function TraceButton({ traceId }) {
22
- var _a;
23
- const [queryParams] = useQueryParams({ clusterName: StringParam });
24
- const { data: { clusterData: cluster } = {} } = clusterApi.useGetClusterInfoQuery((_a = queryParams.clusterName) !== null && _a !== void 0 ? _a : undefined, { skip: !traceId });
25
- const hasTraceCheck = Boolean(hasValidTraceCheckUrl(cluster) && traceId);
26
- const checkTraceUrl = traceId && hasValidTraceCheckUrl(cluster)
27
- ? replaceParams(cluster.TraceCheck.url, { traceId })
28
- : '';
13
+ const { traceCheck, traceView } = useClusterBaseInfo();
14
+ const checkTraceUrl = (traceCheck === null || traceCheck === void 0 ? void 0 : traceCheck.url) ? replaceParams(traceCheck.url, { traceId }) : '';
15
+ const traceUrl = (traceView === null || traceView === void 0 ? void 0 : traceView.url) ? replaceParams(traceView.url, { traceId }) : '';
29
16
  // We won't get any trace data at first 15 seconds for sure
30
17
  const [readyToFetch, resetDelay] = useDelayed(TIME_BEFORE_CHECK);
31
18
  React.useEffect(() => {
32
19
  resetDelay();
33
20
  }, [traceId, resetDelay]);
34
- const { currentData: traceData, error: traceError } = traceApi.useCheckTraceQuery({ url: checkTraceUrl }, { skip: !hasTraceCheck || !readyToFetch });
35
- const traceUrl = hasValidTraceViewUrl(cluster) && traceId
36
- ? replaceParams(cluster.TraceView.url, { traceId })
37
- : '';
21
+ const { isFetching } = traceApi.useCheckTraceQuery({ url: checkTraceUrl }, { skip: !checkTraceUrl || !readyToFetch });
38
22
  if (!traceUrl) {
39
23
  return null;
40
24
  }
41
- return (_jsx(Button, { view: "flat-secondary", loading: !traceData && !traceError, children: _jsx(LinkWithIcon, { className: b('trace-link', { loading: !traceData && !traceError }), title: i18n('trace'), url: traceUrl, external: true }) }));
25
+ const loading = !readyToFetch || isFetching;
26
+ return (_jsxs(Button, { view: loading ? 'flat-secondary' : 'flat-info', loading: loading, href: traceUrl, target: "_blank", children: [i18n('trace'), _jsx(Button.Icon, { children: _jsx(ArrowUpRightFromSquare, {}) })] }));
42
27
  }
43
28
  //# sourceMappingURL=TraceButton.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"TraceButton.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Query/ExecuteResult/TraceButton.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,MAAM,EAAC,MAAM,mBAAmB,CAAC;AACzC,OAAO,EAAC,WAAW,EAAE,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAE7D,OAAO,EAAC,YAAY,EAAC,MAAM,kDAAkD,CAAC;AAC9E,OAAO,EAAC,UAAU,EAAC,MAAM,4CAA4C,CAAC;AACtE,OAAO,EAAC,QAAQ,EAAC,MAAM,kCAAkC,CAAC;AAE1D,OAAO,EAAC,EAAE,EAAC,MAAM,sBAAsB,CAAC;AACxC,OAAO,EAAC,YAAY,EAAC,MAAM,6BAA6B,CAAC;AACzD,OAAO,EAAC,UAAU,EAAC,MAAM,oCAAoC,CAAC;AAC9D,OAAO,EAAC,aAAa,EAAC,MAAM,wBAAwB,CAAC;AAErD,OAAO,IAAI,MAAM,QAAQ,CAAC;AAE1B,MAAM,CAAC,GAA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AE,OAAO,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,WAAW,EAC9C,OAAO,EAAE,OAAO,EAChB,IAAI,EAAE,QAAQ,EACd,MAAM,EAAC,QAAQ,aAEd,IAAI,CAAC,OAAO,CAAC,EACd,KAAC,MAAM,CAAC,IAAI,cACR,KAAC,sBAAsB,KAAG,GAChB,IACT,CACZ,CAAC;AACN,CAAC"}
@@ -3,7 +3,6 @@
3
3
  "action.result": "Result",
4
4
  "action.stats": "Stats",
5
5
  "action.schema": "Schema",
6
- "action.stop": "Stop",
7
6
  "action.explain-plan": "Explain Plan",
8
7
  "action.copy": "Copy {{activeSection}}",
9
8
  "trace": "Trace"
@@ -1,2 +1,2 @@
1
- declare const _default: (key: "trace" | "description.graph-is-not-supported" | "action.result" | "action.stats" | "action.schema" | "action.stop" | "action.explain-plan" | "action.copy", params?: import("@gravity-ui/i18n").Params) => string;
1
+ declare const _default: (key: "trace" | "description.graph-is-not-supported" | "action.result" | "action.stats" | "action.schema" | "action.explain-plan" | "action.copy", params?: import("@gravity-ui/i18n").Params) => string;
2
2
  export default _default;
@@ -1,5 +1,5 @@
1
- import type { PreparedExplainResponse } from '../../../../store/reducers/explainQuery/types';
2
1
  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,19 +10,11 @@ declare const EXPLAIN_OPTIONS_IDS: {
10
10
  export type QueryExplainTab = ValueOf<typeof EXPLAIN_OPTIONS_IDS>;
11
11
  interface ExplainResultProps {
12
12
  theme: string;
13
- explain?: PreparedExplainResponse['plan'] & {
14
- DurationUs?: number;
15
- };
16
- simplifiedPlan?: PreparedExplainResponse['simplifiedPlan'];
17
- ast?: string;
18
- loading?: boolean;
19
- cancelQueryLoading?: boolean;
13
+ result: ExplainQueryResult;
14
+ tenantName: string;
20
15
  isResultsCollapsed?: boolean;
21
- error: unknown;
22
- cancelError: unknown;
23
16
  onCollapseResults: VoidFunction;
24
17
  onExpandResults: VoidFunction;
25
- onStopButtonClick: VoidFunction;
26
18
  }
27
- export declare function ExplainResult({ explain, ast, theme, error, cancelError, loading, cancelQueryLoading, onCollapseResults, onExpandResults, onStopButtonClick, isResultsCollapsed, simplifiedPlan, }: ExplainResultProps): import("react/jsx-runtime").JSX.Element;
19
+ export declare function ExplainResult({ theme, result, tenantName, onCollapseResults, onExpandResults, isResultsCollapsed, }: ExplainResultProps): import("react/jsx-runtime").JSX.Element;
28
20
  export {};
@@ -1,7 +1,6 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import React from 'react';
3
- import { StopFill } from '@gravity-ui/icons';
4
- import { Button, Icon, RadioButton } from '@gravity-ui/uikit';
3
+ import { RadioButton } from '@gravity-ui/uikit';
5
4
  import { ClipboardButton } from '../../../../components/ClipboardButton';
6
5
  import Divider from '../../../../components/Divider/Divider';
7
6
  import ElapsedTime from '../../../../components/ElapsedTime/ElapsedTime';
@@ -15,6 +14,7 @@ import { getStringifiedData } from '../../../../utils/dataFormatters/dataFormatt
15
14
  import { useTypedDispatch } from '../../../../utils/hooks';
16
15
  import { parseQueryErrorToString } from '../../../../utils/query';
17
16
  import { PaneVisibilityToggleButtons } from '../../utils/paneVisibilityToggleHelpers';
17
+ import { CancelQueryButton } from '../CancelQueryButton/CancelQueryButton';
18
18
  import { QueryDuration } from '../QueryDuration/QueryDuration';
19
19
  import { QuerySettingsBanner } from '../QuerySettingsBanner/QuerySettingsBanner';
20
20
  import { isQueryCancelledError } from '../utils/isQueryCancelledError';
@@ -46,10 +46,12 @@ const explainOptions = [
46
46
  { value: EXPLAIN_OPTIONS_IDS.json, content: EXPLAIN_OPTIONS_NAMES[EXPLAIN_OPTIONS_IDS.json] },
47
47
  { value: EXPLAIN_OPTIONS_IDS.ast, content: EXPLAIN_OPTIONS_NAMES[EXPLAIN_OPTIONS_IDS.ast] },
48
48
  ];
49
- export function ExplainResult({ explain, ast, theme, error, cancelError, loading, cancelQueryLoading, onCollapseResults, onExpandResults, onStopButtonClick, isResultsCollapsed, simplifiedPlan, }) {
49
+ export function ExplainResult({ theme, result, tenantName, onCollapseResults, onExpandResults, isResultsCollapsed, }) {
50
50
  const dispatch = useTypedDispatch();
51
51
  const [activeOption, setActiveOption] = React.useState(EXPLAIN_OPTIONS_IDS.schema);
52
52
  const [isPending, startTransition] = React.useTransition();
53
+ const { error, isLoading, queryId } = result;
54
+ const { plan: explain, ast, simplifiedPlan } = result.data || {};
53
55
  React.useEffect(() => {
54
56
  return () => {
55
57
  dispatch(disableFullscreen());
@@ -112,8 +114,8 @@ export function ExplainResult({ explain, ast, theme, error, cancelError, loading
112
114
  };
113
115
  const statsToCopy = getStatsToCopy();
114
116
  const copyText = getStringifiedData(statsToCopy);
115
- return (_jsxs(React.Fragment, { children: [_jsxs("div", { className: b('controls'), children: [_jsxs("div", { className: b('controls-right'), children: [_jsx(QueryExecutionStatus, { error: error, loading: loading }), !error && !loading && (_jsxs(React.Fragment, { children: [(explain === null || explain === void 0 ? void 0 : explain.DurationUs) !== undefined && (_jsx(QueryDuration, { duration: explain.DurationUs })), _jsxs(React.Fragment, { children: [_jsx(Divider, {}), _jsx(RadioButton, { options: explainOptions, value: activeOption, onUpdate: (tabId) => {
117
+ return (_jsxs(React.Fragment, { children: [_jsxs("div", { className: b('controls'), children: [_jsxs("div", { className: b('controls-right'), children: [_jsx(QueryExecutionStatus, { error: error, loading: isLoading }), !error && !isLoading && (_jsxs(React.Fragment, { children: [(explain === null || explain === void 0 ? void 0 : explain.DurationUs) !== undefined && (_jsx(QueryDuration, { duration: explain.DurationUs })), _jsxs(React.Fragment, { children: [_jsx(Divider, {}), _jsx(RadioButton, { options: explainOptions, value: activeOption, onUpdate: (tabId) => {
116
118
  startTransition(() => setActiveOption(tabId));
117
- } })] })] })), loading ? (_jsxs(React.Fragment, { children: [_jsx(ElapsedTime, { className: b('elapsed-time') }), _jsxs(Button, { loading: cancelQueryLoading, onClick: onStopButtonClick, className: b('stop-button', { error: Boolean(cancelError) }), children: [_jsx(Icon, { data: StopFill, size: 16 }), i18n('action.stop')] })] })) : null] }), _jsxs("div", { className: b('controls-left'), children: [copyText && (_jsx(ClipboardButton, { text: copyText, view: "flat-secondary", title: i18n('action.copy', { activeOption }) })), _jsx(EnableFullscreenButton, { disabled: Boolean(error) }), _jsx(PaneVisibilityToggleButtons, { onCollapse: onCollapseResults, onExpand: onExpandResults, isCollapsed: isResultsCollapsed, initialDirection: "bottom" })] })] }), loading || isQueryCancelledError(error) ? null : _jsx(QuerySettingsBanner, {}), _jsx(LoaderWrapper, { loading: loading || isPending, children: _jsx(Fullscreen, { className: b('result'), children: renderContent() }) })] }));
119
+ } })] })] })), isLoading ? (_jsxs(React.Fragment, { children: [_jsx(ElapsedTime, { className: b('elapsed-time') }), _jsx(CancelQueryButton, { queryId: queryId, tenantName: tenantName })] })) : null] }), _jsxs("div", { className: b('controls-left'), children: [copyText && (_jsx(ClipboardButton, { text: copyText, view: "flat-secondary", title: i18n('action.copy', { activeOption }) })), _jsx(EnableFullscreenButton, { disabled: Boolean(error) }), _jsx(PaneVisibilityToggleButtons, { onCollapse: onCollapseResults, onExpand: onExpandResults, isCollapsed: isResultsCollapsed, initialDirection: "bottom" })] })] }), isLoading || isQueryCancelledError(error) ? null : _jsx(QuerySettingsBanner, {}), _jsx(LoaderWrapper, { loading: isLoading || isPending, children: _jsx(Fullscreen, { className: b('result'), children: renderContent() }) })] }));
118
120
  }
119
121
  //# sourceMappingURL=ExplainResult.js.map
@@ -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,QAAQ,EAAC,MAAM,mBAAmB,CAAC;AAC3C,OAAO,EAAC,MAAM,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AAK,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,OAAO,IAAI,qBAAqB,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAC,mBAAmB,KAAG,EACzE,KAAC,aAAa,IAAC,OAAO,EAAE,OAAO,IAAI,SAAS,YACxC,KAAC,UAAU,IAAC,SAAS,EAAE,CAAC,CAAC,QAAQ,CAAC,YAAG,aAAa,EAAE,GAAc,GACtD,IACH,CACpB,CAAC;AACN,CAAC"}
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,WAAW,EAAC,MAAM,mBAAmB,CAAC;AAE9C,OAAO,EAAC,eAAe,EAAC,MAAM,wCAAwC,CAAC;AACvE,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,oDAAoD,CAAC;AACjF,OAAO,EAAC,oBAAoB,EAAC,MAAM,6CAA6C,CAAC;AACjF,OAAO,EAAC,iBAAiB,EAAC,MAAM,uCAAuC,CAAC;AAGxE,OAAO,EAAC,EAAE,EAAC,MAAM,sBAAsB,CAAC;AACxC,OAAO,EAAC,kBAAkB,EAAC,MAAM,iDAAiD,CAAC;AACn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"}
@@ -43,10 +43,4 @@
43
43
  &__elapsed-label {
44
44
  margin-left: var(--g-spacing-3);
45
45
  }
46
-
47
- &__stop-button {
48
- &_error {
49
- @include query-buttons-animations();
50
- }
51
- }
52
46
  }
@@ -5,6 +5,5 @@
5
5
  "action.explain-plan": "Explain Plan",
6
6
  "action.json": "JSON",
7
7
  "action.ast": "AST",
8
- "action.copy": "Copy {{activeOption}}",
9
- "action.stop": "Stop"
8
+ "action.copy": "Copy {{activeOption}}"
10
9
  }
@@ -1,2 +1,2 @@
1
- declare const _default: (key: "description.graph-is-not-supported" | "action.schema" | "action.stop" | "action.explain-plan" | "action.copy" | "description.empty-result" | "action.json" | "action.ast", params?: import("@gravity-ui/i18n").Params) => string;
1
+ declare const _default: (key: "description.graph-is-not-supported" | "action.schema" | "action.explain-plan" | "action.copy" | "description.empty-result" | "action.json" | "action.ast", params?: import("@gravity-ui/i18n").Params) => string;
2
2
  export default _default;
@@ -1,7 +1,6 @@
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 NotRenderUntilFirstVisible from '../../../components/NotRenderUntilFirstVisible/NotRenderUntilFirstVisible';
5
4
  import { changeUserInput } from '../../../store/reducers/executeQuery';
6
5
  import { TENANT_QUERY_TABS_ID } from '../../../store/reducers/tenant/constants';
7
6
  import { cn } from '../../../utils/cn';
@@ -20,7 +19,20 @@ export const Query = (props) => {
20
19
  };
21
20
  const activeTab = React.useMemo(() => queryEditorTabs.find(({ id }) => id === queryTab), [queryTab]);
22
21
  const renderContent = () => {
23
- return (_jsxs(React.Fragment, { children: [_jsx(NotRenderUntilFirstVisible, { show: queryTab === TENANT_QUERY_TABS_ID.newQuery, children: _jsx(QueryEditor, { changeUserInput: handleUserInputChange, ...props }) }), _jsx(NotRenderUntilFirstVisible, { show: queryTab === TENANT_QUERY_TABS_ID.history, children: _jsx(QueriesHistory, { changeUserInput: handleUserInputChange }) }), _jsx(NotRenderUntilFirstVisible, { show: queryTab === TENANT_QUERY_TABS_ID.saved, children: _jsx(SavedQueries, { changeUserInput: handleUserInputChange }) })] }));
22
+ switch (queryTab) {
23
+ case TENANT_QUERY_TABS_ID.newQuery: {
24
+ return _jsx(QueryEditor, { changeUserInput: handleUserInputChange, ...props });
25
+ }
26
+ case TENANT_QUERY_TABS_ID.history: {
27
+ return _jsx(QueriesHistory, { changeUserInput: handleUserInputChange });
28
+ }
29
+ case TENANT_QUERY_TABS_ID.saved: {
30
+ return _jsx(SavedQueries, { changeUserInput: handleUserInputChange });
31
+ }
32
+ default: {
33
+ return null;
34
+ }
35
+ }
24
36
  };
25
37
  return (_jsxs("div", { className: b(), children: [activeTab ? (_jsx(Helmet, { children: _jsx("title", { children: activeTab.title }) })) : null, _jsx(QueryTabs, { className: b('tabs'), activeTab: queryTab }), _jsx("div", { className: b('content'), children: renderContent() })] }));
26
38
  };
@@ -1 +1 @@
1
- {"version":3,"file":"Query.js","sourceRoot":"","sources":["../../../../src/containers/Tenant/Query/Query.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,MAAM,EAAC,MAAM,oBAAoB,CAAC;AAE1C,OAAO,0BAA0B,MAAM,2EAA2E,CAAC;AACnH,OAAO,EAAC,eAAe,EAAC,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAC,oBAAoB,EAAC,MAAM,0CAA0C,CAAC;AAE9E,OAAO,EAAC,EAAE,EAAC,MAAM,mBAAmB,CAAC;AACrC,OAAO,EAAC,gBAAgB,EAAE,gBAAgB,EAAC,MAAM,sBAAsB,CAAC;AAExE,OAAO,cAAc,MAAM,iCAAiC,CAAC;AAC7D,OAAO,WAAW,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAC,SAAS,EAAE,eAAe,EAAC,MAAM,uBAAuB,CAAC;AACjE,OAAO,EAAC,YAAY,EAAC,MAAM,6BAA6B,CAAC;AAEzD,OAAO,cAAc,C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react';
2
- import { goToNextQuery, goToPreviousQuery, saveQueryToHistory, setTenantPath } from '../../../../store/reducers/executeQuery';
2
+ import { goToNextQuery, goToPreviousQuery, saveQueryToHistory, setQueryResult, setTenantPath } from '../../../../store/reducers/executeQuery';
3
3
  import { setQueryAction } from '../../../../store/reducers/queryActions/queryActions';
4
4
  import { setShowPreview } from '../../../../store/reducers/schema/schema';
5
5
  import type { EPathType } from '../../../../types/api/schema';
@@ -15,6 +15,7 @@ interface QueryEditorProps {
15
15
  goToPreviousQuery: (...args: Parameters<typeof goToPreviousQuery>) => void;
16
16
  setTenantPath: (...args: Parameters<typeof setTenantPath>) => void;
17
17
  setQueryAction: (...args: Parameters<typeof setQueryAction>) => void;
18
+ setQueryResult: (...args: Parameters<typeof setQueryResult>) => void;
18
19
  executeQuery: ExecuteQueryState;
19
20
  theme: string;
20
21
  type?: EPathType;
@@ -24,9 +25,9 @@ interface QueryEditorProps {
24
25
  }
25
26
  declare function QueryEditor(props: QueryEditorProps): import("react/jsx-runtime").JSX.Element;
26
27
  declare const _default: import("react-redux").ConnectedComponent<typeof QueryEditor, {
27
- type?: EPathType;
28
28
  theme: string;
29
29
  path: string;
30
+ type?: EPathType;
30
31
  tenantName: string;
31
32
  changeUserInput: (arg: {
32
33
  input: string;