ydb-embedded-ui 6.21.0 → 6.23.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (459) hide show
  1. package/dist/components/AutoRefreshControl/i18n/index.d.ts +1 -1
  2. package/dist/components/DiskStateProgressBar/DiskStateProgressBar.d.ts +2 -1
  3. package/dist/components/DiskStateProgressBar/DiskStateProgressBar.js +2 -2
  4. package/dist/components/DiskStateProgressBar/DiskStateProgressBar.js.map +1 -1
  5. package/dist/components/DiskStateProgressBar/DiskStateProgressBar.scss +4 -0
  6. package/dist/components/GroupInfo/i18n/index.d.ts +1 -1
  7. package/dist/components/PDiskInfo/PDiskInfo.js +1 -3
  8. package/dist/components/PDiskInfo/PDiskInfo.js.map +1 -1
  9. package/dist/components/PDiskInfo/i18n/index.d.ts +1 -1
  10. package/dist/components/PDiskPopup/PDiskPopup.d.ts +2 -4
  11. package/dist/components/PDiskPopup/PDiskPopup.js +10 -5
  12. package/dist/components/PDiskPopup/PDiskPopup.js.map +1 -1
  13. package/dist/components/PaginatedTable/PaginatedTable.d.ts +2 -1
  14. package/dist/components/PaginatedTable/PaginatedTable.js +9 -7
  15. package/dist/components/PaginatedTable/PaginatedTable.js.map +1 -1
  16. package/dist/components/PaginatedTable/TableChunk.d.ts +2 -1
  17. package/dist/components/PaginatedTable/TableChunk.js +5 -2
  18. package/dist/components/PaginatedTable/TableChunk.js.map +1 -1
  19. package/dist/components/QueryResultTable/Cell/Cell.js +1 -4
  20. package/dist/components/QueryResultTable/Cell/Cell.js.map +1 -1
  21. package/dist/components/QueryResultTable/QueryResultTable.js +11 -16
  22. package/dist/components/QueryResultTable/QueryResultTable.js.map +1 -1
  23. package/dist/components/QueryResultTable/utils/getColumnWidth.d.ts +7 -0
  24. package/dist/components/QueryResultTable/utils/getColumnWidth.js +16 -0
  25. package/dist/components/QueryResultTable/utils/getColumnWidth.js.map +1 -0
  26. package/dist/components/QueryResultTable/utils/getColumnWidth.test.d.ts +1 -0
  27. package/dist/components/QueryResultTable/utils/getColumnWidth.test.js +32 -0
  28. package/dist/components/QueryResultTable/utils/getColumnWidth.test.js.map +1 -0
  29. package/dist/components/StorageGroupInfo/StorageGroupInfo.js +7 -7
  30. package/dist/components/StorageGroupInfo/StorageGroupInfo.js.map +1 -1
  31. package/dist/components/StorageGroupInfo/i18n/index.d.ts +1 -1
  32. package/dist/components/TableSkeleton/TableSkeleton.d.ts +2 -1
  33. package/dist/components/TableSkeleton/TableSkeleton.js +5 -1
  34. package/dist/components/TableSkeleton/TableSkeleton.js.map +1 -1
  35. package/dist/components/TableSkeleton/TableSkeleton.scss +7 -1
  36. package/dist/components/VDisk/VDisk.d.ts +2 -3
  37. package/dist/components/VDisk/VDisk.js +2 -2
  38. package/dist/components/VDisk/VDisk.js.map +1 -1
  39. package/dist/components/VDiskInfo/VDiskInfo.js +1 -3
  40. package/dist/components/VDiskInfo/VDiskInfo.js.map +1 -1
  41. package/dist/components/VDiskInfo/i18n/index.d.ts +1 -1
  42. package/dist/components/VDiskPopup/VDiskPopup.d.ts +1 -3
  43. package/dist/components/VDiskPopup/VDiskPopup.js +7 -2
  44. package/dist/components/VDiskPopup/VDiskPopup.js.map +1 -1
  45. package/dist/containers/App/App.scss +1 -1
  46. package/dist/containers/Cluster/Cluster.js +1 -1
  47. package/dist/containers/Cluster/Cluster.js.map +1 -1
  48. package/dist/containers/Cluster/Cluster.scss +2 -3
  49. package/dist/containers/Cluster/i18n/index.d.ts +1 -1
  50. package/dist/containers/Clusters/Clusters.js +3 -3
  51. package/dist/containers/Clusters/Clusters.js.map +1 -1
  52. package/dist/containers/Clusters/columns.js +2 -2
  53. package/dist/containers/Clusters/columns.js.map +1 -1
  54. package/dist/containers/Clusters/constants.d.ts +4 -4
  55. package/dist/containers/Clusters/constants.js +3 -3
  56. package/dist/containers/Clusters/constants.js.map +1 -1
  57. package/dist/containers/Header/breadcrumbs.js +2 -3
  58. package/dist/containers/Header/breadcrumbs.js.map +1 -1
  59. package/dist/containers/Node/Node.js +14 -4
  60. package/dist/containers/Node/Node.js.map +1 -1
  61. package/dist/containers/Node/NodePages.js +4 -5
  62. package/dist/containers/Node/NodePages.js.map +1 -1
  63. package/dist/containers/Nodes/Nodes.js +10 -11
  64. package/dist/containers/Nodes/Nodes.js.map +1 -1
  65. package/dist/containers/Nodes/PaginatedNodes.js +10 -11
  66. package/dist/containers/Nodes/PaginatedNodes.js.map +1 -1
  67. package/dist/containers/Nodes/{getNodesColumns.d.ts → columns/columns.d.ts} +3 -10
  68. package/dist/containers/Nodes/{getNodesColumns.js → columns/columns.js} +37 -39
  69. package/dist/containers/Nodes/columns/columns.js.map +1 -0
  70. package/dist/containers/Nodes/columns/constants.d.ts +41 -0
  71. package/dist/containers/Nodes/columns/constants.js +83 -0
  72. package/dist/containers/Nodes/columns/constants.js.map +1 -0
  73. package/dist/containers/Nodes/columns/hooks.d.ts +6 -0
  74. package/dist/containers/Nodes/columns/hooks.js +11 -0
  75. package/dist/containers/Nodes/columns/hooks.js.map +1 -0
  76. package/dist/containers/Nodes/columns/i18n/en.json +17 -0
  77. package/dist/containers/Nodes/columns/i18n/index.d.ts +2 -0
  78. package/dist/containers/Nodes/columns/i18n/index.js +5 -0
  79. package/dist/containers/Nodes/columns/i18n/index.js.map +1 -0
  80. package/dist/containers/Nodes/columns/types.d.ts +9 -0
  81. package/dist/containers/Nodes/columns/types.js +2 -0
  82. package/dist/containers/Nodes/columns/types.js.map +1 -0
  83. package/dist/containers/Nodes/getNodes.d.ts +3 -2
  84. package/dist/containers/Nodes/getNodes.js +6 -3
  85. package/dist/containers/Nodes/getNodes.js.map +1 -1
  86. package/dist/containers/PDiskPage/PDiskPage.js +12 -10
  87. package/dist/containers/PDiskPage/PDiskPage.js.map +1 -1
  88. package/dist/containers/PDiskPage/PDiskPage.scss +14 -14
  89. package/dist/containers/PDiskPage/i18n/en.json +1 -1
  90. package/dist/containers/PDiskPage/i18n/index.d.ts +1 -1
  91. package/dist/containers/ReduxTooltip/ReduxTooltip.js +7 -7
  92. package/dist/containers/ReduxTooltip/ReduxTooltip.js.map +1 -1
  93. package/dist/containers/Storage/Disks/Disks.d.ts +3 -3
  94. package/dist/containers/Storage/Disks/Disks.js +6 -7
  95. package/dist/containers/Storage/Disks/Disks.js.map +1 -1
  96. package/dist/containers/Storage/PDisk/PDisk.d.ts +5 -4
  97. package/dist/containers/Storage/PDisk/PDisk.js +3 -2
  98. package/dist/containers/Storage/PDisk/PDisk.js.map +1 -1
  99. package/dist/containers/Storage/PDisk/PDisk.scss +1 -1
  100. package/dist/containers/Storage/PaginatedStorage.d.ts +5 -6
  101. package/dist/containers/Storage/PaginatedStorage.js +9 -54
  102. package/dist/containers/Storage/PaginatedStorage.js.map +1 -1
  103. package/dist/containers/Storage/PaginatedStorageGroups.d.ts +3 -0
  104. package/dist/containers/Storage/PaginatedStorageGroups.js +84 -0
  105. package/dist/containers/Storage/PaginatedStorageGroups.js.map +1 -0
  106. package/dist/containers/Storage/PaginatedStorageNodes.d.ts +3 -0
  107. package/dist/containers/Storage/PaginatedStorageNodes.js +98 -0
  108. package/dist/containers/Storage/PaginatedStorageNodes.js.map +1 -0
  109. package/dist/containers/Storage/Storage.d.ts +4 -4
  110. package/dist/containers/Storage/Storage.js +46 -67
  111. package/dist/containers/Storage/Storage.js.map +1 -1
  112. package/dist/containers/Storage/Storage.scss +4 -0
  113. package/dist/containers/Storage/StorageControls/StorageControls.d.ts +6 -16
  114. package/dist/containers/Storage/StorageControls/StorageControls.js +18 -9
  115. package/dist/containers/Storage/StorageControls/StorageControls.js.map +1 -1
  116. package/dist/containers/Storage/StorageGroups/PaginatedStorageGroupsTable.d.ts +22 -0
  117. package/dist/containers/Storage/StorageGroups/{PaginatedStorageGroups.js → PaginatedStorageGroupsTable.js} +24 -8
  118. package/dist/containers/Storage/StorageGroups/PaginatedStorageGroupsTable.js.map +1 -0
  119. package/dist/containers/Storage/StorageGroups/StorageGroupsTable.d.ts +14 -0
  120. package/dist/containers/Storage/StorageGroups/{StorageGroups.js → StorageGroupsTable.js} +5 -6
  121. package/dist/containers/Storage/StorageGroups/StorageGroupsTable.js.map +1 -0
  122. package/dist/containers/Storage/StorageGroups/columns/columns.d.ts +4 -0
  123. package/dist/containers/Storage/StorageGroups/columns/{getStorageGroupsColumns.js → columns.js} +66 -89
  124. package/dist/containers/Storage/StorageGroups/columns/columns.js.map +1 -0
  125. package/dist/containers/Storage/StorageGroups/columns/constants.d.ts +54 -0
  126. package/dist/containers/Storage/StorageGroups/columns/constants.js +120 -0
  127. package/dist/containers/Storage/StorageGroups/columns/constants.js.map +1 -0
  128. package/dist/containers/Storage/StorageGroups/columns/hooks.d.ts +7 -3
  129. package/dist/containers/Storage/StorageGroups/columns/hooks.js +21 -16
  130. package/dist/containers/Storage/StorageGroups/columns/hooks.js.map +1 -1
  131. package/dist/containers/Storage/StorageGroups/columns/i18n/en.json +21 -0
  132. package/dist/containers/Storage/StorageGroups/columns/i18n/index.d.ts +2 -0
  133. package/dist/containers/Storage/StorageGroups/columns/i18n/index.js +5 -0
  134. package/dist/containers/Storage/StorageGroups/columns/i18n/index.js.map +1 -0
  135. package/dist/containers/Storage/StorageGroups/columns/types.d.ts +5 -7
  136. package/dist/containers/Storage/StorageGroups/getGroups.js +10 -6
  137. package/dist/containers/Storage/StorageGroups/getGroups.js.map +1 -1
  138. package/dist/containers/Storage/StorageNodes/PaginatedStorageNodesTable.d.ts +23 -0
  139. package/dist/containers/Storage/StorageNodes/{PaginatedStorageNodes.js → PaginatedStorageNodesTable.js} +24 -9
  140. package/dist/containers/Storage/StorageNodes/PaginatedStorageNodesTable.js.map +1 -0
  141. package/dist/containers/Storage/StorageNodes/StorageNodes.scss +1 -27
  142. package/dist/containers/Storage/StorageNodes/StorageNodesTable.d.ts +16 -0
  143. package/dist/containers/Storage/StorageNodes/{StorageNodes.js → StorageNodesTable.js} +9 -9
  144. package/dist/containers/Storage/StorageNodes/StorageNodesTable.js.map +1 -0
  145. package/dist/containers/Storage/StorageNodes/columns/StorageNodesColumns.scss +24 -0
  146. package/dist/containers/Storage/StorageNodes/columns/columns.d.ts +39 -0
  147. package/dist/containers/Storage/StorageNodes/{getStorageNodesColumns.js → columns/columns.js} +20 -31
  148. package/dist/containers/Storage/StorageNodes/columns/columns.js.map +1 -0
  149. package/dist/containers/Storage/StorageNodes/columns/constants.d.ts +34 -0
  150. package/dist/containers/Storage/StorageNodes/columns/constants.js +74 -0
  151. package/dist/containers/Storage/StorageNodes/columns/constants.js.map +1 -0
  152. package/dist/containers/Storage/StorageNodes/columns/hooks.d.ts +43 -0
  153. package/dist/containers/Storage/StorageNodes/columns/hooks.js +18 -0
  154. package/dist/containers/Storage/StorageNodes/columns/hooks.js.map +1 -0
  155. package/dist/containers/Storage/StorageNodes/columns/i18n/en.json +11 -0
  156. package/dist/containers/Storage/StorageNodes/columns/i18n/index.d.ts +2 -0
  157. package/dist/containers/Storage/StorageNodes/columns/i18n/index.js +5 -0
  158. package/dist/containers/Storage/StorageNodes/columns/i18n/index.js.map +1 -0
  159. package/dist/containers/Storage/StorageNodes/columns/types.d.ts +11 -0
  160. package/dist/containers/Storage/StorageNodes/columns/types.js +2 -0
  161. package/dist/containers/Storage/StorageNodes/columns/types.js.map +1 -0
  162. package/dist/containers/Storage/StorageNodes/getNodes.d.ts +2 -2
  163. package/dist/containers/Storage/StorageNodes/getNodes.js +13 -9
  164. package/dist/containers/Storage/StorageNodes/getNodes.js.map +1 -1
  165. package/dist/containers/Storage/StorageNodes/shared.js +1 -1
  166. package/dist/containers/Storage/StorageNodes/shared.js.map +1 -1
  167. package/dist/containers/Storage/StorageWrapper.d.ts +0 -2
  168. package/dist/containers/Storage/StorageWrapper.js.map +1 -1
  169. package/dist/containers/Storage/TableGroup/TableGroup.d.ts +12 -0
  170. package/dist/containers/Storage/TableGroup/TableGroup.js +21 -0
  171. package/dist/containers/Storage/TableGroup/TableGroup.js.map +1 -0
  172. package/dist/containers/Storage/TableGroup/TableGroup.scss +49 -0
  173. package/dist/containers/Storage/TableGroup/useExpandedTableGroups.d.ts +5 -0
  174. package/dist/containers/Storage/TableGroup/useExpandedTableGroups.js +28 -0
  175. package/dist/containers/Storage/TableGroup/useExpandedTableGroups.js.map +1 -0
  176. package/dist/containers/Storage/i18n/en.json +4 -1
  177. package/dist/containers/Storage/i18n/index.d.ts +1 -1
  178. package/dist/containers/Storage/i18n/index.js +1 -2
  179. package/dist/containers/Storage/i18n/index.js.map +1 -1
  180. package/dist/containers/Storage/shared.d.ts +2 -0
  181. package/dist/containers/Storage/shared.js +9 -0
  182. package/dist/containers/Storage/shared.js.map +1 -1
  183. package/dist/containers/Storage/useStorageQueryParams.d.ts +18 -0
  184. package/dist/containers/Storage/useStorageQueryParams.js +64 -0
  185. package/dist/containers/Storage/useStorageQueryParams.js.map +1 -0
  186. package/dist/containers/Storage/utils/index.d.ts +6 -2
  187. package/dist/containers/Storage/utils/index.js +17 -11
  188. package/dist/containers/Storage/utils/index.js.map +1 -1
  189. package/dist/containers/StorageGroupPage/StorageGroupPage.js +14 -57
  190. package/dist/containers/StorageGroupPage/StorageGroupPage.js.map +1 -1
  191. package/dist/containers/StorageGroupPage/StorageGroupPage.scss +14 -17
  192. package/dist/containers/StorageGroupPage/i18n/en.json +1 -2
  193. package/dist/containers/StorageGroupPage/i18n/index.d.ts +1 -1
  194. package/dist/containers/Tablets/i18n/index.d.ts +1 -1
  195. package/dist/containers/Tenant/Diagnostics/Describe/Describe.js +17 -3
  196. package/dist/containers/Tenant/Diagnostics/Describe/Describe.js.map +1 -1
  197. package/dist/containers/Tenant/Diagnostics/Diagnostics.js +1 -1
  198. package/dist/containers/Tenant/Diagnostics/Diagnostics.js.map +1 -1
  199. package/dist/containers/Tenant/Diagnostics/DiagnosticsPages.d.ts +6 -3
  200. package/dist/containers/Tenant/Diagnostics/DiagnosticsPages.js +4 -4
  201. package/dist/containers/Tenant/Diagnostics/DiagnosticsPages.js.map +1 -1
  202. package/dist/containers/Tenant/Diagnostics/HotKeys/HotKeys.js +10 -3
  203. package/dist/containers/Tenant/Diagnostics/HotKeys/HotKeys.js.map +1 -1
  204. package/dist/containers/Tenant/Diagnostics/Overview/Overview.js +2 -3
  205. package/dist/containers/Tenant/Diagnostics/Overview/Overview.js.map +1 -1
  206. package/dist/containers/Tenant/Diagnostics/Partitions/Partitions.js +4 -4
  207. package/dist/containers/Tenant/Diagnostics/Partitions/Partitions.js.map +1 -1
  208. package/dist/containers/Tenant/Diagnostics/Partitions/utils/index.d.ts +2 -2
  209. package/dist/containers/Tenant/Diagnostics/Partitions/utils/index.js +5 -5
  210. package/dist/containers/Tenant/Diagnostics/Partitions/utils/index.js.map +1 -1
  211. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByCpu.js +12 -5
  212. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByCpu.js.map +1 -1
  213. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByLoad.js +12 -5
  214. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByLoad.js.map +1 -1
  215. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TopNodesByMemory.js +13 -5
  216. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TopNodesByMemory.js.map +1 -1
  217. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantOverview.js +8 -2
  218. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantOverview.js.map +1 -1
  219. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopGroups.js +2 -1
  220. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopGroups.js.map +1 -1
  221. package/dist/containers/Tenant/Diagnostics/TenantOverview/i18n/index.d.ts +1 -1
  222. package/dist/containers/Tenant/Diagnostics/TopQueries/RunningQueriesData.d.ts +5 -0
  223. package/dist/containers/Tenant/Diagnostics/TopQueries/RunningQueriesData.js +21 -0
  224. package/dist/containers/Tenant/Diagnostics/TopQueries/RunningQueriesData.js.map +1 -0
  225. package/dist/containers/Tenant/Diagnostics/TopQueries/TopQueries.d.ts +1 -3
  226. package/dist/containers/Tenant/Diagnostics/TopQueries/TopQueries.js +32 -37
  227. package/dist/containers/Tenant/Diagnostics/TopQueries/TopQueries.js.map +1 -1
  228. package/dist/containers/Tenant/Diagnostics/TopQueries/TopQueriesData.d.ts +6 -0
  229. package/dist/containers/Tenant/Diagnostics/TopQueries/TopQueriesData.js +33 -0
  230. package/dist/containers/Tenant/Diagnostics/TopQueries/TopQueriesData.js.map +1 -0
  231. package/dist/containers/Tenant/Diagnostics/TopQueries/getTopQueriesColumns.d.ts +2 -0
  232. package/dist/containers/Tenant/Diagnostics/TopQueries/getTopQueriesColumns.js +26 -0
  233. package/dist/containers/Tenant/Diagnostics/TopQueries/getTopQueriesColumns.js.map +1 -1
  234. package/dist/containers/Tenant/Diagnostics/TopQueries/i18n/en.json +7 -1
  235. package/dist/containers/Tenant/Diagnostics/TopQueries/i18n/index.d.ts +1 -1
  236. package/dist/containers/Tenant/Diagnostics/TopQueries/i18n/index.js +1 -2
  237. package/dist/containers/Tenant/Diagnostics/TopQueries/i18n/index.js.map +1 -1
  238. package/dist/containers/Tenant/ObjectSummary/ObjectSummary.js +71 -62
  239. package/dist/containers/Tenant/ObjectSummary/ObjectSummary.js.map +1 -1
  240. package/dist/containers/Tenant/ObjectSummary/ObjectSummary.scss +6 -7
  241. package/dist/containers/Tenant/ObjectSummary/ObjectTree.d.ts +6 -0
  242. package/dist/containers/Tenant/ObjectSummary/ObjectTree.js +25 -0
  243. package/dist/containers/Tenant/ObjectSummary/ObjectTree.js.map +1 -0
  244. package/dist/containers/Tenant/ObjectSummary/SchemaActions.d.ts +1 -0
  245. package/dist/containers/Tenant/ObjectSummary/SchemaActions.js +18 -0
  246. package/dist/containers/Tenant/ObjectSummary/SchemaActions.js.map +1 -0
  247. package/dist/containers/Tenant/ObjectSummary/__test__/transformPath.test.js +27 -3
  248. package/dist/containers/Tenant/ObjectSummary/__test__/transformPath.test.js.map +1 -1
  249. package/dist/containers/Tenant/ObjectSummary/i18n/en.json +21 -0
  250. package/dist/containers/Tenant/ObjectSummary/i18n/index.d.ts +2 -0
  251. package/dist/containers/Tenant/ObjectSummary/i18n/index.js +5 -0
  252. package/dist/containers/Tenant/ObjectSummary/i18n/index.js.map +1 -0
  253. package/dist/containers/Tenant/ObjectSummary/shared.d.ts +1 -0
  254. package/dist/containers/Tenant/ObjectSummary/shared.js +3 -0
  255. package/dist/containers/Tenant/ObjectSummary/shared.js.map +1 -0
  256. package/dist/containers/Tenant/ObjectSummary/transformPath.d.ts +2 -0
  257. package/dist/containers/Tenant/ObjectSummary/transformPath.js +10 -0
  258. package/dist/containers/Tenant/ObjectSummary/transformPath.js.map +1 -1
  259. package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.js +14 -12
  260. package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.js.map +1 -1
  261. package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.scss +8 -0
  262. package/dist/containers/Tenant/Query/ExecuteResult/i18n/en.json +3 -1
  263. package/dist/containers/Tenant/Query/ExecuteResult/i18n/index.d.ts +1 -1
  264. package/dist/containers/Tenant/Query/NewSQL/NewSQL.d.ts +1 -0
  265. package/dist/containers/Tenant/Query/NewSQL/NewSQL.js +135 -0
  266. package/dist/containers/Tenant/Query/NewSQL/NewSQL.js.map +1 -0
  267. package/dist/containers/Tenant/Query/NewSQL/i18n/en.json +32 -0
  268. package/dist/containers/Tenant/Query/NewSQL/i18n/index.d.ts +2 -0
  269. package/dist/containers/Tenant/Query/NewSQL/i18n/index.js +5 -0
  270. package/dist/containers/Tenant/Query/NewSQL/i18n/index.js.map +1 -0
  271. package/dist/containers/Tenant/Query/QueryEditorControls/QueryEditorControls.js +2 -1
  272. package/dist/containers/Tenant/Query/QueryEditorControls/QueryEditorControls.js.map +1 -1
  273. package/dist/containers/Tenant/Query/QueryEditorControls/QueryEditorControls.scss +1 -0
  274. package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettings.js +3 -1
  275. package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettings.js.map +1 -1
  276. package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettings.test.js +5 -10
  277. package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettings.test.js.map +1 -1
  278. package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettingsDescription.js +5 -3
  279. package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettingsDescription.js.map +1 -1
  280. package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettingsDescription.test.js +6 -10
  281. package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettingsDescription.test.js.map +1 -1
  282. package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsDialog.js +11 -2
  283. package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsDialog.js.map +1 -1
  284. package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsDialog.scss +1 -0
  285. package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsSelect.d.ts +1 -0
  286. package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsSelect.js +1 -1
  287. package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsSelect.js.map +1 -1
  288. package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.d.ts +3 -0
  289. package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.js +3 -0
  290. package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.js.map +1 -1
  291. package/dist/containers/Tenant/Query/QuerySettingsDialog/i18n/en.json +3 -0
  292. package/dist/containers/Tenant/Query/QuerySettingsDialog/i18n/index.d.ts +1 -1
  293. package/dist/containers/Tenant/Query/QuerySettingsDialog/i18n/ru.json +3 -0
  294. package/dist/containers/Tenant/Schema/SchemaTree/SchemaTree.js +1 -1
  295. package/dist/containers/Tenant/Schema/SchemaTree/SchemaTree.js.map +1 -1
  296. package/dist/containers/Tenant/Schema/SchemaViewer/SchemaViewer.js +10 -2
  297. package/dist/containers/Tenant/Schema/SchemaViewer/SchemaViewer.js.map +1 -1
  298. package/dist/containers/Tenant/Schema/SchemaViewer/prepareData.d.ts +2 -1
  299. package/dist/containers/Tenant/Schema/SchemaViewer/prepareData.js.map +1 -1
  300. package/dist/containers/Tenant/Tenant.js +7 -3
  301. package/dist/containers/Tenant/Tenant.js.map +1 -1
  302. package/dist/containers/Tenant/utils/newSQLQueryActions.d.ts +27 -0
  303. package/dist/containers/Tenant/utils/newSQLQueryActions.js +35 -0
  304. package/dist/containers/Tenant/utils/newSQLQueryActions.js.map +1 -0
  305. package/dist/containers/Tenant/utils/newSQLQueryTemplates.d.ts +24 -0
  306. package/dist/containers/Tenant/utils/newSQLQueryTemplates.js +228 -0
  307. package/dist/containers/Tenant/utils/newSQLQueryTemplates.js.map +1 -0
  308. package/dist/containers/Tenant/utils/schema.js +1 -0
  309. package/dist/containers/Tenant/utils/schema.js.map +1 -1
  310. package/dist/containers/Tenant/utils/schemaActions.d.ts +1 -1
  311. package/dist/containers/Tenant/utils/schemaActions.js +8 -6
  312. package/dist/containers/Tenant/utils/schemaActions.js.map +1 -1
  313. package/dist/containers/Tenant/utils/{queryTemplates.js → schemaQueryTemplates.js} +1 -1
  314. package/dist/containers/Tenant/utils/schemaQueryTemplates.js.map +1 -0
  315. package/dist/containers/UserSettings/i18n/en.json +0 -2
  316. package/dist/containers/UserSettings/i18n/index.d.ts +1 -1
  317. package/dist/containers/UserSettings/settings.d.ts +0 -1
  318. package/dist/containers/UserSettings/settings.js +2 -7
  319. package/dist/containers/UserSettings/settings.js.map +1 -1
  320. package/dist/containers/VDiskPage/VDiskPage.d.ts +0 -3
  321. package/dist/containers/VDiskPage/VDiskPage.js +9 -33
  322. package/dist/containers/VDiskPage/VDiskPage.js.map +1 -1
  323. package/dist/containers/VDiskPage/VDiskPage.scss +10 -19
  324. package/dist/containers/VDiskPage/i18n/en.json +1 -1
  325. package/dist/containers/VDiskPage/i18n/index.d.ts +1 -1
  326. package/dist/services/api.d.ts +16 -5
  327. package/dist/services/api.js +53 -14
  328. package/dist/services/api.js.map +1 -1
  329. package/dist/services/settings.d.ts +2 -2
  330. package/dist/services/settings.js +2 -3
  331. package/dist/services/settings.js.map +1 -1
  332. package/dist/store/configureStore.d.ts +2 -2
  333. package/dist/store/defaultStore.d.ts +1 -1
  334. package/dist/store/reducers/capabilities/capabilities.d.ts +8 -1
  335. package/dist/store/reducers/capabilities/capabilities.js +6 -1
  336. package/dist/store/reducers/capabilities/capabilities.js.map +1 -1
  337. package/dist/store/reducers/capabilities/hooks.d.ts +2 -0
  338. package/dist/store/reducers/capabilities/hooks.js +6 -0
  339. package/dist/store/reducers/capabilities/hooks.js.map +1 -1
  340. package/dist/store/reducers/executeQuery.js +3 -0
  341. package/dist/store/reducers/executeQuery.js.map +1 -1
  342. package/dist/store/reducers/executeTopQueries/executeTopQueries.d.ts +4 -0
  343. package/dist/store/reducers/executeTopQueries/executeTopQueries.js +27 -1
  344. package/dist/store/reducers/executeTopQueries/executeTopQueries.js.map +1 -1
  345. package/dist/store/reducers/index.d.ts +2 -2
  346. package/dist/store/reducers/nodes/nodes.d.ts +2 -2
  347. package/dist/store/reducers/nodes/nodes.js.map +1 -1
  348. package/dist/store/reducers/nodes/types.d.ts +3 -24
  349. package/dist/store/reducers/nodesList.d.ts +5 -5
  350. package/dist/store/reducers/nodesList.js +2 -2
  351. package/dist/store/reducers/nodesList.js.map +1 -1
  352. package/dist/store/reducers/overview/overview.js +5 -1
  353. package/dist/store/reducers/overview/overview.js.map +1 -1
  354. package/dist/store/reducers/pdisk/pdisk.js +29 -2
  355. package/dist/store/reducers/pdisk/pdisk.js.map +1 -1
  356. package/dist/store/reducers/pdisk/utils.js +1 -1
  357. package/dist/store/reducers/pdisk/utils.js.map +1 -1
  358. package/dist/store/reducers/storage/requestStorageData.d.ts +3 -3
  359. package/dist/store/reducers/storage/requestStorageData.js.map +1 -1
  360. package/dist/store/reducers/storage/selectors.d.ts +2 -3
  361. package/dist/store/reducers/storage/selectors.js +1 -27
  362. package/dist/store/reducers/storage/selectors.js.map +1 -1
  363. package/dist/store/reducers/storage/storage.d.ts +4 -4
  364. package/dist/store/reducers/storage/storage.js.map +1 -1
  365. package/dist/store/reducers/storage/types.d.ts +19 -10
  366. package/dist/store/reducers/storage/utils.js +27 -3
  367. package/dist/store/reducers/storage/utils.js.map +1 -1
  368. package/dist/store/reducers/tablet.js +5 -3
  369. package/dist/store/reducers/tablet.js.map +1 -1
  370. package/dist/store/reducers/tablets.d.ts +3 -3
  371. package/dist/store/reducers/tablets.js +4 -4
  372. package/dist/store/reducers/tablets.js.map +1 -1
  373. package/dist/store/reducers/tooltip.d.ts +1 -1
  374. package/dist/styles/mixins.scss +3 -3
  375. package/dist/types/api/capabilities.d.ts +1 -1
  376. package/dist/types/api/common.d.ts +1 -0
  377. package/dist/types/api/nodes.d.ts +34 -0
  378. package/dist/types/api/nodes.js.map +1 -1
  379. package/dist/types/api/query.d.ts +1 -0
  380. package/dist/types/api/storage.d.ts +29 -8
  381. package/dist/types/store/nodesList.d.ts +1 -1
  382. package/dist/types/store/query.d.ts +5 -8
  383. package/dist/utils/constants.d.ts +0 -8
  384. package/dist/utils/constants.js +0 -9
  385. package/dist/utils/constants.js.map +1 -1
  386. package/dist/utils/filters.d.ts +2 -1
  387. package/dist/utils/filters.js +1 -4
  388. package/dist/utils/filters.js.map +1 -1
  389. package/dist/utils/hooks/useChangedQuerySettings.d.ts +2 -2
  390. package/dist/utils/hooks/useChangedQuerySettings.js +2 -1
  391. package/dist/utils/hooks/useChangedQuerySettings.js.map +1 -1
  392. package/dist/utils/hooks/useLastQueryExecutionSettings.d.ts +15 -2
  393. package/dist/utils/hooks/useLastQueryExecutionSettings.js +8 -9
  394. package/dist/utils/hooks/useLastQueryExecutionSettings.js.map +1 -1
  395. package/dist/utils/hooks/useQueryExecutionSettings.d.ts +15 -2
  396. package/dist/utils/hooks/useQueryExecutionSettings.js +5 -7
  397. package/dist/utils/hooks/useQueryExecutionSettings.js.map +1 -1
  398. package/dist/utils/hooks/useSelectedColumns.d.ts +8 -0
  399. package/dist/utils/hooks/useSelectedColumns.js +40 -0
  400. package/dist/utils/hooks/useSelectedColumns.js.map +1 -0
  401. package/dist/utils/nodes.d.ts +5 -24
  402. package/dist/utils/nodes.js +20 -23
  403. package/dist/utils/nodes.js.map +1 -1
  404. package/dist/utils/query.d.ts +129 -0
  405. package/dist/utils/query.js +33 -1
  406. package/dist/utils/query.js.map +1 -1
  407. package/dist/utils/storage.d.ts +1 -1
  408. package/dist/utils/storage.js +2 -0
  409. package/dist/utils/storage.js.map +1 -1
  410. package/dist/utils/utils.js +2 -1
  411. package/dist/utils/utils.js.map +1 -1
  412. package/package.json +2 -1
  413. package/dist/containers/Clusters/useSelectedColumns.d.ts +0 -7
  414. package/dist/containers/Clusters/useSelectedColumns.js +0 -26
  415. package/dist/containers/Clusters/useSelectedColumns.js.map +0 -1
  416. package/dist/containers/Nodes/getNodesColumns.js.map +0 -1
  417. package/dist/containers/PDiskPage/PDiskGroups/PDiskGroups.d.ts +0 -6
  418. package/dist/containers/PDiskPage/PDiskGroups/PDiskGroups.js +0 -30
  419. package/dist/containers/PDiskPage/PDiskGroups/PDiskGroups.js.map +0 -1
  420. package/dist/containers/PDiskPage/PDiskGroups/utils.d.ts +0 -2
  421. package/dist/containers/PDiskPage/PDiskGroups/utils.js +0 -14
  422. package/dist/containers/PDiskPage/PDiskGroups/utils.js.map +0 -1
  423. package/dist/containers/Storage/StorageGroups/PaginatedStorageGroups.d.ts +0 -14
  424. package/dist/containers/Storage/StorageGroups/PaginatedStorageGroups.js.map +0 -1
  425. package/dist/containers/Storage/StorageGroups/StorageGroups.d.ts +0 -13
  426. package/dist/containers/Storage/StorageGroups/StorageGroups.js.map +0 -1
  427. package/dist/containers/Storage/StorageGroups/columns/getStorageGroupsColumns.d.ts +0 -21
  428. package/dist/containers/Storage/StorageGroups/columns/getStorageGroupsColumns.js.map +0 -1
  429. package/dist/containers/Storage/StorageNodes/PaginatedStorageNodes.d.ts +0 -17
  430. package/dist/containers/Storage/StorageNodes/PaginatedStorageNodes.js.map +0 -1
  431. package/dist/containers/Storage/StorageNodes/StorageNodes.d.ts +0 -19
  432. package/dist/containers/Storage/StorageNodes/StorageNodes.js.map +0 -1
  433. package/dist/containers/Storage/StorageNodes/getStorageNodesColumns.d.ts +0 -50
  434. package/dist/containers/Storage/StorageNodes/getStorageNodesColumns.js.map +0 -1
  435. package/dist/containers/Storage/UsageFilter/UsageFilter.d.ts +0 -14
  436. package/dist/containers/Storage/UsageFilter/UsageFilter.js +0 -39
  437. package/dist/containers/Storage/UsageFilter/UsageFilter.js.map +0 -1
  438. package/dist/containers/Storage/UsageFilter/UsageFilter.scss +0 -38
  439. package/dist/containers/Storage/UsageFilter/i18n/en.json +0 -5
  440. package/dist/containers/Storage/UsageFilter/i18n/index.d.ts +0 -2
  441. package/dist/containers/Storage/UsageFilter/i18n/index.js +0 -6
  442. package/dist/containers/Storage/UsageFilter/i18n/index.js.map +0 -1
  443. package/dist/containers/Storage/UsageFilter/i18n/ru.json +0 -5
  444. package/dist/containers/Storage/UsageFilter/index.d.ts +0 -1
  445. package/dist/containers/Storage/UsageFilter/index.js +0 -2
  446. package/dist/containers/Storage/UsageFilter/index.js.map +0 -1
  447. package/dist/containers/Storage/i18n/ru.json +0 -6
  448. package/dist/containers/Tenant/Diagnostics/TopQueries/i18n/ru.json +0 -4
  449. package/dist/containers/Tenant/utils/queryTemplates.js.map +0 -1
  450. package/dist/containers/VDiskPage/utils.d.ts +0 -2
  451. package/dist/containers/VDiskPage/utils.js +0 -7
  452. package/dist/containers/VDiskPage/utils.js.map +0 -1
  453. package/dist/store/reducers/describe.d.ts +0 -7
  454. package/dist/store/reducers/describe.js +0 -25
  455. package/dist/store/reducers/describe.js.map +0 -1
  456. package/dist/store/reducers/tenantOverview/topNodes/topNodes.d.ts +0 -4
  457. package/dist/store/reducers/tenantOverview/topNodes/topNodes.js +0 -27
  458. package/dist/store/reducers/tenantOverview/topNodes/topNodes.js.map +0 -1
  459. /package/dist/containers/Tenant/utils/{queryTemplates.d.ts → schemaQueryTemplates.d.ts} +0 -0
@@ -1,6 +1,6 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import React from 'react';
3
- import { RadioButton, Tabs } from '@gravity-ui/uikit';
3
+ import { RadioButton, Tabs, Text } from '@gravity-ui/uikit';
4
4
  import JSONTree from 'react-json-inspector';
5
5
  import { ClipboardButton } from '../../../../components/ClipboardButton';
6
6
  import Divider from '../../../../components/Divider/Divider';
@@ -37,7 +37,7 @@ const resultOptionsIds = {
37
37
  simplified: 'simplified',
38
38
  };
39
39
  export function ExecuteResult({ result, isResultsCollapsed, theme, tenantName, onCollapseResults, onExpandResults, }) {
40
- var _a, _b, _c;
40
+ var _a, _b;
41
41
  const [selectedResultSet, setSelectedResultSet] = React.useState(0);
42
42
  const [activeSection, setActiveSection] = React.useState(resultOptionsIds.result);
43
43
  const dispatch = useTypedDispatch();
@@ -45,8 +45,7 @@ export function ExecuteResult({ result, isResultsCollapsed, theme, tenantName, o
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;
48
- const currentResult = isMulti ? (_b = data === null || data === void 0 ? void 0 : data.resultSets) === null || _b === void 0 ? void 0 : _b[selectedResultSet].result : data === null || data === void 0 ? void 0 : data.result;
49
- const currentColumns = isMulti ? (_c = data === null || data === void 0 ? void 0 : data.resultSets) === null || _c === void 0 ? void 0 : _c[selectedResultSet].columns : data === null || data === void 0 ? void 0 : data.columns;
48
+ const currentResult = isMulti ? (_b = data === null || data === void 0 ? void 0 : data.resultSets) === null || _b === void 0 ? void 0 : _b[selectedResultSet] : data;
50
49
  const { plan, simplifiedPlan } = React.useMemo(() => getPlan(data), [data]);
51
50
  const resultOptions = [
52
51
  { value: resultOptionsIds.result, content: i18n('action.result') },
@@ -70,19 +69,22 @@ export function ExecuteResult({ result, isResultsCollapsed, theme, tenantName, o
70
69
  const onSelectSection = (value) => {
71
70
  setActiveSection(value);
72
71
  };
73
- const renderResultTable = (resultSet, columns) => {
74
- return _jsx(QueryResultTable, { data: resultSet, columns: columns, settings: { sortable: false } });
75
- };
76
72
  const renderResult = () => {
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) => ({
78
- id: String(item),
79
- title: `Result #${item + 1}`,
80
- })), activeTab: String(selectedResultSet), onSelectTab: (tabId) => setSelectedResultSet(Number(tabId)) }) })), _jsx("div", { className: b('result'), children: renderResultTable(currentResult, currentColumns) })] }));
73
+ var _a;
74
+ 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) => {
75
+ var _a, _b;
76
+ return ({
77
+ id: String(item),
78
+ title: `Result #${item + 1}${((_b = (_a = data === null || data === void 0 ? void 0 : data.resultSets) === null || _a === void 0 ? void 0 : _a[item]) === null || _b === void 0 ? void 0 : _b.truncated) ? ' (T)' : ''}`,
79
+ });
80
+ }), activeTab: String(selectedResultSet), onSelectTab: (tabId) => setSelectedResultSet(Number(tabId)) }) })), _jsxs("div", { className: b('result'), children: [_jsxs("div", { className: b('result-head'), children: [_jsx(Text, { variant: "subheader-3", children: (currentResult === null || currentResult === void 0 ? void 0 : currentResult.truncated)
81
+ ? i18n('title.truncated')
82
+ : i18n('title.result') }), _jsx(Text, { color: "secondary", variant: "body-2", className: b('row-count'), children: `(${(_a = currentResult === null || currentResult === void 0 ? void 0 : currentResult.result) === null || _a === void 0 ? void 0 : _a.length})` })] }), _jsx(QueryResultTable, { data: currentResult === null || currentResult === void 0 ? void 0 : currentResult.result, columns: currentResult === null || currentResult === void 0 ? void 0 : currentResult.columns })] })] }));
81
83
  };
82
84
  const getStatsToCopy = () => {
83
85
  switch (activeSection) {
84
86
  case resultOptionsIds.result: {
85
- const textResults = getPreparedResult(currentResult);
87
+ const textResults = getPreparedResult(currentResult === null || currentResult === void 0 ? void 0 : currentResult.result);
86
88
  return textResults;
87
89
  }
88
90
  case resultOptionsIds.stats:
@@ -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;AAG1B,OAAO,EAAC,WAAW,EAAE,IAAI,EAAC,MAAM,mBAAmB,CAAC;AACpD,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,0DAA0D,CAAC;AAC1F,OAAO,EAAC,iBAAiB,EAAC,MAAM,uCAAuC,CAAC;AAIxE,OAAO,EAAC,QAAQ,EAAC,MAAM,mBAAmB,CAAC;AAC3C,OAAO,EAAC,EAAE,EAAC,MAAM,sBAAsB,CAAC;AACxC,OAAO,EAAC,kBAAkB,EAAC,MAAM,iDAAiD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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"}
@@ -15,6 +15,14 @@
15
15
  }
16
16
  }
17
17
 
18
+ &__row-count {
19
+ margin-left: var(--g-spacing-1);
20
+ }
21
+
22
+ &__result-head {
23
+ margin-top: var(--g-spacing-4);
24
+ }
25
+
18
26
  &__result-wrapper {
19
27
  display: flex;
20
28
  flex-direction: column;
@@ -5,5 +5,7 @@
5
5
  "action.schema": "Schema",
6
6
  "action.explain-plan": "Explain Plan",
7
7
  "action.copy": "Copy {{activeSection}}",
8
- "trace": "Trace"
8
+ "trace": "Trace",
9
+ "title.truncated": "Truncated",
10
+ "title.result": "Result"
9
11
  }
@@ -1,2 +1,2 @@
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;
1
+ declare const _default: (key: "trace" | "description.graph-is-not-supported" | "action.result" | "action.stats" | "action.schema" | "action.explain-plan" | "action.copy" | "title.truncated" | "title.result", params?: import("@gravity-ui/i18n").Params) => string;
2
2
  export default _default;
@@ -0,0 +1 @@
1
+ export declare function NewSQL(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,135 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { ChevronDown } from '@gravity-ui/icons';
3
+ import { Button, DropdownMenu } from '@gravity-ui/uikit';
4
+ import { useTypedDispatch } from '../../../../utils/hooks';
5
+ import { bindActions } from '../../utils/newSQLQueryActions';
6
+ import i18n from './i18n';
7
+ export function NewSQL() {
8
+ const dispatch = useTypedDispatch();
9
+ const actions = bindActions(dispatch);
10
+ const items = [
11
+ {
12
+ text: i18n('menu.tables'),
13
+ items: [
14
+ {
15
+ text: i18n('action.create-row-table'),
16
+ action: actions.createRowTable,
17
+ },
18
+ {
19
+ text: i18n('action.create-column-table'),
20
+ action: actions.createColumnTable,
21
+ },
22
+ {
23
+ text: i18n('action.create-external-table'),
24
+ action: actions.createExternalTable,
25
+ },
26
+ {
27
+ text: i18n('action.upsert-to-table'),
28
+ action: actions.upsertQuery,
29
+ },
30
+ {
31
+ text: i18n('action.update-table'),
32
+ action: actions.updateTable,
33
+ },
34
+ {
35
+ text: i18n('action.alter-table'),
36
+ action: actions.alterTable,
37
+ },
38
+ {
39
+ text: i18n('action.select-rows'),
40
+ action: actions.selectQuery,
41
+ },
42
+ {
43
+ text: i18n('action.select-from-external-table'),
44
+ action: actions.selectQueryFromExternalTable,
45
+ },
46
+ {
47
+ text: i18n('action.delete-rows'),
48
+ action: actions.deleteRows,
49
+ },
50
+ {
51
+ text: i18n('action.drop-table'),
52
+ action: actions.dropTable,
53
+ },
54
+ {
55
+ text: i18n('action.drop-external-table'),
56
+ action: actions.dropExternalTable,
57
+ },
58
+ ],
59
+ },
60
+ {
61
+ text: i18n('menu.topics'),
62
+ items: [
63
+ {
64
+ text: i18n('action.create-topic'),
65
+ action: actions.createTopic,
66
+ },
67
+ {
68
+ text: i18n('action.alter-topic'),
69
+ action: actions.alterTopic,
70
+ },
71
+ {
72
+ text: i18n('action.drop-topic'),
73
+ action: actions.dropTopic,
74
+ },
75
+ ],
76
+ },
77
+ {
78
+ text: i18n('menu.replication'),
79
+ items: [
80
+ {
81
+ text: i18n('action.create-async-replication'),
82
+ action: actions.createAsyncReplication,
83
+ },
84
+ {
85
+ text: i18n('action.alter-async-replication'),
86
+ action: actions.alterAsyncReplication,
87
+ },
88
+ {
89
+ text: i18n('action.drop-async-replication'),
90
+ action: actions.dropAsyncReplication,
91
+ },
92
+ ],
93
+ },
94
+ {
95
+ text: i18n('menu.capture'),
96
+ items: [
97
+ {
98
+ text: i18n('action.create-cdc-stream'),
99
+ action: actions.createCdcStream,
100
+ },
101
+ ],
102
+ },
103
+ {
104
+ text: i18n('menu.users'),
105
+ items: [
106
+ {
107
+ text: i18n('action.create-user'),
108
+ action: actions.createUser,
109
+ },
110
+ {
111
+ text: i18n('action.create-group'),
112
+ action: actions.createGroup,
113
+ },
114
+ {
115
+ text: i18n('action.drop-user'),
116
+ action: actions.dropUser,
117
+ },
118
+ {
119
+ text: i18n('action.drop-group'),
120
+ action: actions.dropGroup,
121
+ },
122
+ {
123
+ text: i18n('action.grant-privilege'),
124
+ action: actions.grantPrivilege,
125
+ },
126
+ {
127
+ text: i18n('action.revoke-privilege'),
128
+ action: actions.revokePrivilege,
129
+ },
130
+ ],
131
+ },
132
+ ];
133
+ return (_jsx(DropdownMenu, { items: items, renderSwitcher: (props) => (_jsxs(Button, { ...props, children: [i18n('button.new-sql'), _jsx(Button.Icon, { children: _jsx(ChevronDown, {}) })] })), popupProps: { placement: 'top' } }));
134
+ }
135
+ //# sourceMappingURL=NewSQL.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NewSQL.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Query/NewSQL/NewSQL.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,WAAW,EAAC,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAC,MAAM,EAAE,YAAY,EAAC,MAAM,mBAAmB,CAAC;AAEvD,OAAO,EAAC,gBAAgB,EAAC,MAAM,yBAAyB,CAA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;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"}
@@ -0,0 +1,32 @@
1
+ {
2
+ "button.new-sql": "New SQL",
3
+ "action.create-row-table": "Create row table",
4
+ "action.create-column-table": "Create column table",
5
+ "action.create-external-table": "Create external table",
6
+ "action.upsert-to-table": "Upsert into table",
7
+ "action.update-table": "Update table",
8
+ "action.alter-table": "Alter table",
9
+ "action.select-rows": "Select from a table",
10
+ "action.select-from-external-table": "Select from external table",
11
+ "action.delete-rows": "Delete rows",
12
+ "action.drop-table": "Drop table",
13
+ "action.drop-external-table": "Drop external table",
14
+ "menu.tables": "Tables",
15
+ "menu.topics": "Topics",
16
+ "menu.capture": "Change data capture",
17
+ "menu.replication": "Async replication",
18
+ "menu.users": "Users",
19
+ "action.create-topic": "Create Topic",
20
+ "action.drop-topic": "Drop Topic",
21
+ "action.alter-topic": "Alter Topic",
22
+ "action.create-cdc-stream": "Create CDC Stream",
23
+ "action.create-async-replication": "Create async replication",
24
+ "action.create-user": "Create user",
25
+ "action.create-group": "Create group",
26
+ "action.drop-user": "Drop user",
27
+ "action.drop-group": "Drop group",
28
+ "action.grant-privilege": "Grant privilege",
29
+ "action.revoke-privilege": "Revoke privilege",
30
+ "action.alter-async-replication": "Alter async replication",
31
+ "action.drop-async-replication": "Drop async replication"
32
+ }
@@ -0,0 +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.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
+ export default _default;
@@ -0,0 +1,5 @@
1
+ import { registerKeysets } from '../../../../../utils/i18n';
2
+ import en from './en.json';
3
+ const COMPONENT = 'ydb-new-sql';
4
+ export default registerKeysets(COMPONENT, { en });
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/containers/Tenant/Query/NewSQL/i18n/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,2BAA2B,CAAC;AAE1D,OAAO,EAAE,MAAM,WAAW,CAAC;AAE3B,MAAM,SAAS,GAAG,aAAa,CAAC;AAEhC,eAAe,eAAe,CAAC,SAAS,EAAE,EAAC,EAAE,EAAC,CAAC,CAAC"}
@@ -4,6 +4,7 @@ import { Button, Icon, Tooltip } from '@gravity-ui/uikit';
4
4
  import QuerySettingsDescription from '../../../../components/QuerySettingsDescription/QuerySettingsDescription';
5
5
  import { cn } from '../../../../utils/cn';
6
6
  import { useChangedQuerySettings } from '../../../../utils/hooks/useChangedQuerySettings';
7
+ import { NewSQL } from '../NewSQL/NewSQL';
7
8
  import { SaveQuery } from '../SaveQuery/SaveQuery';
8
9
  import i18n from '../i18n';
9
10
  import './QueryEditorControls.scss';
@@ -24,6 +25,6 @@ export const QueryEditorControls = ({ disabled, isLoading, highlightedAction, ha
24
25
  const onExplainButtonClick = () => {
25
26
  handleGetExplainQueryClick();
26
27
  };
27
- return (_jsxs("div", { className: b(), children: [_jsxs("div", { className: b('left'), children: [_jsxs(Button, { onClick: onRunButtonClick, disabled: disabled, loading: isLoading, view: runView, className: b('run-button'), children: [_jsx(Icon, { data: PlayFill, size: 14 }), 'Run'] }), _jsx(Button, { onClick: onExplainButtonClick, disabled: disabled, loading: isLoading, view: explainView, children: "Explain" }), _jsx(SettingsButton, { onClick: onSettingsButtonClick, runIsLoading: isLoading })] }), _jsx(SaveQuery, { isSaveButtonDisabled: disabled })] }));
28
+ return (_jsxs("div", { className: b(), children: [_jsxs("div", { className: b('left'), children: [_jsxs(Button, { onClick: onRunButtonClick, disabled: disabled, loading: isLoading, view: runView, className: b('run-button'), children: [_jsx(Icon, { data: PlayFill, size: 14 }), 'Run'] }), _jsx(Button, { onClick: onExplainButtonClick, disabled: disabled, loading: isLoading, view: explainView, children: "Explain" }), _jsx(SettingsButton, { onClick: onSettingsButtonClick, runIsLoading: isLoading })] }), _jsxs("div", { className: b('right'), children: [_jsx(NewSQL, {}), _jsx(SaveQuery, { isSaveButtonDisabled: disabled })] })] }));
28
29
  };
29
30
  //# sourceMappingURL=QueryEditorControls.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryEditorControls.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Query/QueryEditorControls/QueryEditorControls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,GAAI,IACzE,EACN,KAAC,SAAS,IAAC,oBAAoB,EAAE,QAAQ,GAAI,IAC3C,CACT,CAAC;AACN,CAAC,CAAC"}
1
+ {"version":3,"file":"QueryEditorControls.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Query/QueryEditorControls/QueryEditorControls.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,IAAI,EAAE,QAAQ,EAAC,MAAM,mBAAmB,CAAC;AAEjD,OAAO,EAAC,MAAM,EAAE,IAAI,EAAE,OAAO,EAAC,MAAM,mBAAmB,CAAC;AAExD,OAAO,wBAAwB,MAAM,0EAA0E,CAAC;AAEhH,OAAO,EAAC,EAAE,EAAC,MAAM,sBAAsB,CAAC;AACxC,OAAO,EAAC,uBAAuB,EAAC,MAAM,iDAAiD,CAAC;AACxF,OAAO,EAAC,MAAM,EAAC,MAAM,kBAAkB,CAAC;AACxC,OAAO,EAAC,SAAS,EAAC,MAAM,wBAAwB,CAAC;AACjD,OAAO,IAAI,MAAM,SAAS,CAAC;AAE3B,OAAO,4BAA4B,CAAC;AAEpC,MAAM,CAAC,GAAG,EAAE,CAAC,2BAA2B,CAAC,CAAC;AAO1C,MAAM,cAAc,GAAG,CAAC,EAAC,OAAO,EAAE,YAAY,EAAsB,EAAE,EAAE;IACpE,MAAM,EAAC,sBAAsB,EAAE,kCAAkC,EAAC,GAAG,uBAAuB,EAAE,CAAC;IAE/F,MAAM,cAAc,GAChB,sBAAsB,CAAC,MAAM,GAAG,CAAC;QAC7B,CAAC,CAAE,EAAC,IAAI,EAAE,eAAe,EAAE,QAAQ,EAAE,IAAI,EAAW;QACpD,CAAC,CAAC,IAAI,CAAC;IAEf,OAAO,CACH,KAAC,OAAO,IACJ,QAAQ,EAAE,sBAAsB,CAAC,MAAM,KAAK,CAAC,EAC7C,OAAO,EACH,KAAC,wBAAwB,IACrB,MAAM,EAAE,IAAI,CAAC,cAAc,CAAC,EAC5B,aAAa,EAAE,kCAAkC,GACnD,EAEN,SAAS,EAA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EAAE,IAAI,EAAE,EAAE,GAAI,EACjC,KAAK,IACD,EACT,KAAC,MAAM,IACH,OAAO,EAAE,oBAAoB,EAC7B,QAAQ,EAAE,QAAQ,EAClB,OAAO,EAAE,SAAS,EAClB,IAAI,EAAE,WAAW,wBAGZ,EACT,KAAC,cAAc,IAAC,OAAO,EAAE,qBAAqB,EAAE,YAAY,EAAE,SAAS,GAAI,IACzE,EACN,eAAK,SAAS,EAAE,CAAC,CAAC,OAAO,CAAC,aACtB,KAAC,MAAM,KAAG,EACV,KAAC,SAAS,IAAC,oBAAoB,EAAE,QAAQ,GAAI,IAC3C,IACJ,CACT,CAAC;AACN,CAAC,CAAC"}
@@ -8,6 +8,7 @@
8
8
  min-height: 40px;
9
9
  padding: 5px 0px;
10
10
 
11
+ &__right,
11
12
  &__left {
12
13
  display: flex;
13
14
  gap: 12px;
@@ -1,6 +1,8 @@
1
1
  export default function getChangedQueryExecutionSettings(currentSettings, defaultSettings) {
2
2
  const currentMap = new Map(Object.entries(currentSettings));
3
3
  const defaultMap = new Map(Object.entries(defaultSettings));
4
- return Array.from(currentMap.keys()).filter((key) => currentMap.get(key) !== defaultMap.get(key));
4
+ return Array.from(currentMap.keys()).filter((key) => currentMap.has(key) &&
5
+ currentMap.get(key) !== undefined &&
6
+ currentMap.get(key) !== defaultMap.get(key));
5
7
  }
6
8
  //# sourceMappingURL=getChangedQueryExecutionSettings.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getChangedQueryExecutionSettings.js","sourceRoot":"","sources":["../../../../../../src/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettings.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,OAAO,UAAU,gCAAgC,CACpD,eAA8B,EAC9B,eAA8B;IAE9B,MAAM,UAAU,GAAG,IAAI,GAAG,CAAC,MAAM,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC;IAC5D,MAAM,UAAU,GAAG,IAAI,GAAG,CAAC,MAAM,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC;IAE5D,OAAO,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,IAAI,EAAE,CAAC,CAAC,MAAM,CACvC,CAAC,GAAG,EAAE,EAAE,CAAC,UAAU,CAAC,GAAG,CAAC,GAAG,CAAC,KAAK,UAAU,CAAC,GAAG,CAAC,GAAG,CAAC,CAC5B,CAAC;AACjC,CAAC"}
1
+ {"version":3,"file":"getChangedQueryExecutionSettings.js","sourceRoot":"","sources":["../../../../../../src/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettings.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,OAAO,UAAU,gCAAgC,CACpD,eAA8B,EAC9B,eAA8B;IAE9B,MAAM,UAAU,GAAG,IAAI,GAAG,CAAC,MAAM,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC;IAC5D,MAAM,UAAU,GAAG,IAAI,GAAG,CAAC,MAAM,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC;IAE5D,OAAO,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,IAAI,EAAE,CAAC,CAAC,MAAM,CACvC,CAAC,GAAG,EAAE,EAAE,CACJ,UAAU,CAAC,GAAG,CAAC,GAAG,CAAC;QACnB,UAAU,CAAC,GAAG,CAAC,GAAG,CAAC,KAAK,SAAS;QACjC,UAAU,CAAC,GAAG,CAAC,GAAG,CAAC,KAAK,UAAU,CAAC,GAAG,CAAC,GAAG,CAAC,CACvB,CAAC;AACjC,CAAC"}
@@ -1,11 +1,4 @@
1
- import { QUERY_MODES, STATISTICS_MODES, TRACING_LEVELS, TRANSACTION_MODES, } from '../../../../../utils/query';
2
- const DEFAULT_QUERY_SETTINGS = {
3
- queryMode: QUERY_MODES.query,
4
- transactionMode: TRANSACTION_MODES.implicit,
5
- timeout: '60',
6
- statisticsMode: STATISTICS_MODES.none,
7
- tracingLevel: TRACING_LEVELS.detailed,
8
- };
1
+ import { DEFAULT_QUERY_SETTINGS, QUERY_MODES, STATISTICS_MODES, TRACING_LEVELS, TRANSACTION_MODES, } from '../../../../../utils/query';
9
2
  import getChangedQueryExecutionSettings from './getChangedQueryExecutionSettings';
10
3
  describe('getChangedQueryExecutionSettings', () => {
11
4
  it('should return an empty array if no settings have changed', () => {
@@ -17,7 +10,8 @@ describe('getChangedQueryExecutionSettings', () => {
17
10
  const currentSettings = {
18
11
  ...DEFAULT_QUERY_SETTINGS,
19
12
  queryMode: QUERY_MODES.data,
20
- timeout: '30',
13
+ timeout: 30,
14
+ limitRows: undefined,
21
15
  };
22
16
  const result = getChangedQueryExecutionSettings(currentSettings, DEFAULT_QUERY_SETTINGS);
23
17
  expect(result).toEqual(['queryMode', 'timeout']);
@@ -26,7 +20,8 @@ describe('getChangedQueryExecutionSettings', () => {
26
20
  const currentSettings = {
27
21
  queryMode: QUERY_MODES.data,
28
22
  transactionMode: TRANSACTION_MODES.onlinero,
29
- timeout: '90',
23
+ timeout: 90,
24
+ limitRows: DEFAULT_QUERY_SETTINGS.limitRows,
30
25
  statisticsMode: STATISTICS_MODES.basic,
31
26
  tracingLevel: TRACING_LEVELS.basic,
32
27
  };
@@ -1 +1 @@
1
- {"version":3,"file":"getChangedQueryExecutionSettings.test.js","sourceRoot":"","sources":["../../../../../../src/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettings.test.ts"],"names":[],"mappings":"AACA,OAAO,EACH,WAAW,EACX,gBAAgB,EAChB,cAAc,EACd,iBAAiB,GACpB,MAAM,4BAA4B,CAAC;AAEpC,MAAM,sBAAsB,GAAkB;IAC1C,SAAS,EAAE,WAAW,CAAC,KAAK;IAC5B,eAAe,EAAE,iBAAiB,CAAC,QAAQ;IAC3C,OAAO,EAAE,IAAI;IACb,cAAc,EAAE,gBAAgB,CAAC,IAAI;IACrC,YAAY,EAAE,cAAc,CAAC,QAAQ;CACxC,CAAC;AAEF,OAAO,gCAAgC,MAAM,oCAAoC,CAAC;AAElF,QAAQ,CAAC,kCAAkC,EAAE,GAAG,EAAE;IAC9C,EAAE,CAAC,0DAA0D,EAAE,GAAG,EAAE;QAChE,MAAM,eAAe,GAAkB,EAAC,GAAG,sBAAsB,EAAC,CAAC;QACnE,MAAM,MAAM,GAAG,gCAAgC,CAAC,eAAe,EAAE,sBAAsB,CAAC,CAAC;QACzF,MAAM,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;IAC/B,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,sDAAsD,EAAE,GAAG,EAAE;QAC5D,MAAM,eAAe,GAAkB;YACnC,GAAG,sBAAsB;YACzB,SAAS,EAAE,WAAW,CAAC,IAAI;YAC3B,OAAO,EAAE,IAAI;SAChB,CAAC;QACF,MAAM,MAAM,GAAG,gCAAgC,CAAC,eAAe,EAAE,sBAAsB,CAAC,CAAC;QACzF,MAAM,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,CAAC,WAAW,EAAE,SAAS,CAAC,CAAC,CAAC;IACrD,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,qDAAqD,EAAE,GAAG,EAAE;QAC3D,MAAM,eAAe,GAAkB;YACnC,SAAS,EAAE,WAAW,CAAC,IAAI;YAC3B,eAAe,EAAE,iBAAiB,CAAC,QAAQ;YAC3C,OAAO,EAAE,IAAI;YACb,cAAc,EAAE,gBAAgB,CAAC,KAAK;YACtC,YAAY,EAAE,cAAc,CAAC,KAAK;SACrC,CAAC;QACF,MAAM,MAAM,GAAG,gCAAgC,CAAC,eAAe,EAAE,sBAAsB,CAAC,CAAC;QACzF,MAAM,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC;YACnB,WAAW;YACX,iBAAiB;YACjB,SAAS;YACT,gBAAgB;YAChB,cAAc;SACjB,CAAC,CAAC;IACP,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"getChangedQueryExecutionSettings.test.js","sourceRoot":"","sources":["../../../../../../src/containers/Tenant/Query/QueryEditorControls/utils/getChang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zF,MAAM,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC;YACnB,WAAW;YACX,iBAAiB;YACjB,SAAS;YACT,gBAAgB;YAChB,cAAc;SACjB,CAAC,CAAC;IACP,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC"}
@@ -9,10 +9,12 @@ export default function getChangedQueryExecutionSettingsDescription({ currentSet
9
9
  const currentValue = currentSettings[key];
10
10
  if ('options' in settings) {
11
11
  const content = (_a = settings.options.find((option) => option.value === currentValue)) === null || _a === void 0 ? void 0 : _a.content;
12
- result[settings.title] = content;
12
+ if (content) {
13
+ result[settings.title] = content;
14
+ }
13
15
  }
14
- else {
15
- result[settings.title] = currentValue;
16
+ else if (currentValue) {
17
+ result[settings.title] = String(currentValue);
16
18
  }
17
19
  });
18
20
  return result;
@@ -1 +1 @@
1
- {"version":3,"file":"getChangedQueryExecutionSettingsDescription.js","sourceRoot":"","sources":["../../../../../../src/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettingsDescription.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,6BAA6B,EAAC,MAAM,qCAAqC,CAAC;AAElF,OAAO,gCAAgC,MAAM,oCAAoC,CAAC;AAElF,MAAM,CAAC,OAAO,UAAU,2CAA2C,CAAC,EAChE,eAAe,EACf,eAAe,GAIlB;IACG,MAAM,IAAI,GAAG,gCAAgC,CAAC,eAAe,EAAE,eAAe,CAAC,CAAC;IAChF,MAAM,MAAM,GAA2B,EAAE,CAAC;IAE1C,IAAI,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,EAAE;;QACjB,MAAM,QAAQ,GAAG,6BAA6B,CAAC,GAAG,CAAC,CAAC;QACpD,MAAM,YAAY,GAAG,eAAe,CAAC,GAAG,CAAW,CAAC;QAEpD,IAAI,SAAS,IAAI,QAAQ,EAAE,CAAC;YACxB,MAAM,OAAO,GAAG,MAAA,QAAQ,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,KAAK,YAAY,CAAC,0CAC1E,OAAiB,CAAC;YAExB,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC,GAAG,OAAO,CAAC;QACrC,CAAC;aAAM,CAAC;YACJ,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC,GAAG,YAAY,CAAC;QAC1C,CAAC;IACL,CAAC,CAAC,CAAC;IAEH,OAAO,MAAM,CAAC;AAClB,CAAC"}
1
+ {"version":3,"file":"getChangedQueryExecutionSettingsDescription.js","sourceRoot":"","sources":["../../../../../../src/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettingsDescription.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,6BAA6B,EAAC,MAAM,qCAAqC,CAAC;AAElF,OAAO,gCAAgC,MAAM,oCAAoC,CAAC;AAElF,MAAM,CAAC,OAAO,UAAU,2CAA2C,CAAC,EAChE,eAAe,EACf,eAAe,GAIlB;IACG,MAAM,IAAI,GAAG,gCAAgC,CAAC,eAAe,EAAE,eAAe,CAAC,CAAC;IAChF,MAAM,MAAM,GAA2B,EAAE,CAAC;IAE1C,IAAI,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,EAAE;;QACjB,MAAM,QAAQ,GAAG,6BAA6B,CAAC,GAAG,CAAC,CAAC;QACpD,MAAM,YAAY,GAAG,eAAe,CAAC,GAAG,CAAC,CAAC;QAE1C,IAAI,SAAS,IAAI,QAAQ,EAAE,CAAC;YACxB,MAAM,OAAO,GAAG,MAAA,QAAQ,CAAC,OAAO,CAAC,IAAI,CACjC,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,KAAK,YAAY,CAC5C,0CAAE,OAAO,CAAC;YAEX,IAAI,OAAO,EAAE,CAAC;gBACV,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC,GAAG,OAAO,CAAC;YACrC,CAAC;QACL,CAAC;aAAM,IAAI,YAAY,EAAE,CAAC;YACtB,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC,GAAG,MAAM,CAAC,YAAY,CAAC,CAAC;QAClD,CAAC;IACL,CAAC,CAAC,CAAC;IAEH,OAAO,MAAM,CAAC;AAClB,CAAC"}
@@ -1,13 +1,6 @@
1
- import { QUERY_MODES, QUERY_MODES_TITLES, STATISTICS_MODES, STATISTICS_MODES_TITLES, TRACING_LEVELS, TRACING_LEVELS_TITLES, TRANSACTION_MODES, TRANSACTION_MODES_TITLES, } from '../../../../../utils/query';
1
+ import { DEFAULT_QUERY_SETTINGS, QUERY_MODES, QUERY_MODES_TITLES, STATISTICS_MODES, STATISTICS_MODES_TITLES, TRACING_LEVELS, TRACING_LEVELS_TITLES, TRANSACTION_MODES, TRANSACTION_MODES_TITLES, } from '../../../../../utils/query';
2
2
  import { QUERY_SETTINGS_FIELD_SETTINGS } from '../../QuerySettingsDialog/constants';
3
3
  import getChangedQueryExecutionSettingsDescription from './getChangedQueryExecutionSettingsDescription';
4
- const DEFAULT_QUERY_SETTINGS = {
5
- queryMode: QUERY_MODES.query,
6
- transactionMode: TRANSACTION_MODES.implicit,
7
- timeout: '60',
8
- statisticsMode: STATISTICS_MODES.none,
9
- tracingLevel: TRACING_LEVELS.detailed,
10
- };
11
4
  describe('getChangedQueryExecutionSettingsDescription', () => {
12
5
  it('should return an empty object if no settings changed', () => {
13
6
  const currentSettings = { ...DEFAULT_QUERY_SETTINGS };
@@ -22,7 +15,8 @@ describe('getChangedQueryExecutionSettingsDescription', () => {
22
15
  const currentSettings = {
23
16
  ...DEFAULT_QUERY_SETTINGS,
24
17
  queryMode: QUERY_MODES.pg,
25
- timeout: '63',
18
+ timeout: 63,
19
+ limitRows: 100,
26
20
  };
27
21
  const result = getChangedQueryExecutionSettingsDescription({
28
22
  currentSettings,
@@ -31,13 +25,15 @@ describe('getChangedQueryExecutionSettingsDescription', () => {
31
25
  expect(result).toEqual({
32
26
  [QUERY_SETTINGS_FIELD_SETTINGS.queryMode.title]: (_a = QUERY_SETTINGS_FIELD_SETTINGS.queryMode.options.find((option) => option.value === QUERY_MODES.pg)) === null || _a === void 0 ? void 0 : _a.content,
33
27
  [QUERY_SETTINGS_FIELD_SETTINGS.timeout.title]: '63',
28
+ [QUERY_SETTINGS_FIELD_SETTINGS.limitRows.title]: '100',
34
29
  });
35
30
  });
36
31
  it('should return the correct description for all changed settings', () => {
37
32
  const currentSettings = {
38
33
  queryMode: QUERY_MODES.data,
39
34
  transactionMode: TRANSACTION_MODES.snapshot,
40
- timeout: '120',
35
+ timeout: 120,
36
+ limitRows: DEFAULT_QUERY_SETTINGS.limitRows,
41
37
  statisticsMode: STATISTICS_MODES.profile,
42
38
  tracingLevel: TRACING_LEVELS.diagnostic,
43
39
  };
@@ -1 +1 @@
1
- {"version":3,"file":"getChangedQueryExecutionSettingsDescription.test.js","sourceRoot":"","sources":["../../../../../../src/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettingsDescription.test.ts"],"names":[],"mappings":"AACA,OAAO,EACH,WAAW,EACX,kBAAkB,EAClB,gBAAgB,EAChB,uBAAuB,EACvB,cAAc,EACd,qBAAqB,EACrB,iBAAiB,EACjB,wBAAwB,GAC3B,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAC,6BAA6B,EAAC,MAAM,qCAAqC,CAAC;AAElF,OAAO,2CAA2C,MAAM,+CAA+C,CAAC;AAExG,MAAM,sBAAsB,GAAkB;IAC1C,SAAS,EAAE,WAAW,CAAC,KAAK;IAC5B,eAAe,EAAE,iBAAiB,CAAC,QAAQ;IAC3C,OAAO,EAAE,IAAI;IACb,cAAc,EAAE,gBAAgB,CAAC,IAAI;IACrC,YAAY,EAAE,cAAc,CAAC,QAAQ;CACxC,CAAC;AAEF,QAAQ,CAAC,6CAA6C,EAAE,GAAG,EAAE;IACzD,EAAE,CAAC,sDAAsD,EAAE,GAAG,EAAE;QAC5D,MAAM,eAAe,GAAkB,EAAC,GAAG,sBAAsB,EAAC,CAAC;QAEnE,MAAM,MAAM,GAAG,2CAA2C,CAAC;YACvD,eAA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I;YACxE,CAAC,6BAA6B,CAAC,eAAe,CAAC,KAAK,CAAC,EACjD,wBAAwB,CAAC,oBAAoB,CAAC;YAClD,CAAC,6BAA6B,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,KAAK;YACpD,CAAC,6BAA6B,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,uBAAuB,CAAC,OAAO;YACrF,CAAC,6BAA6B,CAAC,YAAY,CAAC,KAAK,CAAC,EAAE,qBAAqB,CAAC,UAAU;SACvF,CAAC,CAAC;IACP,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"getChangedQueryExecutionSettingsDescription.test.js","sourceRoot":"","sources":["../../../../../../src/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettingsDescription.test.ts"],"names":[],"mappings":"AACA,OAAO,EACH,sBAAsB,EACtB,WAAW,EACX,kBAAkB,EAClB,gBAAgB,EAChB,uBAAuB,EACvB,cAAc,EACd,qBAAqB,EACrB,iBAAiB,EACjB,wBAAwB,GAC3B,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAC,6BAA6B,EAAC,MAAM,qCAAqC,CAAC;AAElF,OAAO,2CAA2C,MAAM,+CAA+C,CAAC;AAExG,QAAQ,CAAC,6CAA6C,EAAE,GAAG,EAAE;IACzD,EAAE,CAAC,sDAAsD,EAAE,GAAG,EAAE;QAC5D,MAAM,eAAe,GAAkB,EAAC,GAAG,sBAAsB,EAAC,CAAC;QAEnE,MAAM,MAAM,GAAG,2CAA2C,CAAC;YACvD,eAAe;YACf,eAAe,EAAE,sBAAsB;SAC1C,CAAC,CAAC;QAEH,MAAM,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;IAC/B,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,oDAAoD,EAAE,GAAG,EAAE;;QAC1D,MAAM,eAAe,GAAkB;YACnC,GAAG,sBAAsB;YACzB,SAAS,EAAE,WAAW,CAAC,EAAE;Y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E,KAAK;YACpD,CAAC,6BAA6B,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,uBAAuB,CAAC,OAAO;YACrF,CAAC,6BAA6B,CAAC,YAAY,CAAC,KAAK,CAAC,EAAE,qBAAqB,CAAC,UAAU;SACvF,CAAC,CAAC;IACP,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC"}
@@ -1,11 +1,13 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import React from 'react';
3
3
  import { Dialog, Link as ExternalLink, Flex, TextInput } from '@gravity-ui/uikit';
4
+ import { zodResolver } from '@hookform/resolvers/zod';
4
5
  import { Controller, useForm } from 'react-hook-form';
5
6
  import { useTracingLevelOptionAvailable } from '../../../../store/reducers/capabilities/hooks';
6
7
  import { selectQueryAction, setQueryAction, } from '../../../../store/reducers/queryActions/queryActions';
7
8
  import { cn } from '../../../../utils/cn';
8
9
  import { useQueryExecutionSettings, useTypedDispatch, useTypedSelector, } from '../../../../utils/hooks';
10
+ import { querySettingsValidationSchema } from '../../../../utils/query';
9
11
  import { QuerySettingsSelect } from './QuerySettingsSelect';
10
12
  import { QUERY_SETTINGS_FIELD_SETTINGS } from './constants';
11
13
  import i18n from './i18n';
@@ -25,11 +27,18 @@ export function QuerySettingsDialog() {
25
27
  return (_jsxs(Dialog, { open: queryAction === 'settings', size: "s", onClose: onClose, className: b(), hasCloseButton: false, children: [_jsx(Dialog.Header, { caption: i18n('action.settings') }), _jsx(QuerySettingsForm, { initialValues: querySettings, onSubmit: onSubmit, onClose: onClose })] }));
26
28
  }
27
29
  function QuerySettingsForm({ initialValues, onSubmit, onClose }) {
28
- const { control, handleSubmit } = useForm({
30
+ const { control, handleSubmit, formState: { errors }, } = useForm({
29
31
  defaultValues: initialValues,
32
+ resolver: zodResolver(querySettingsValidationSchema),
30
33
  });
31
34
  const enableTracingLevel = useTracingLevelOptionAvailable();
32
- return (_jsxs("form", { onSubmit: handleSubmit(onSubmit), children: [_jsxs(Dialog.Body, { className: b('dialog-body'), children: [_jsxs(Flex, { direction: "row", alignItems: "flex-start", className: b('dialog-row'), children: [_jsx("label", { htmlFor: "queryMode", className: b('field-title'), children: QUERY_SETTINGS_FIELD_SETTINGS.queryMode.title }), _jsx("div", { className: b('control-wrapper', { queryMode: true }), children: _jsx(Controller, { name: "queryMode", control: control, render: ({ field }) => (_jsx(QuerySettingsSelect, { setting: field.value, onUpdateSetting: field.onChange, settingOptions: QUERY_SETTINGS_FIELD_SETTINGS.queryMode.options })) }) })] }), _jsxs(Flex, { direction: "row", alignItems: "flex-start", className: b('dialog-row'), children: [_jsx("label", { htmlFor: "timeout", className: b('field-title'), children: QUERY_SETTINGS_FIELD_SETTINGS.timeout.title }), _jsx("div", { className: b('control-wrapper'), children: _jsx(Controller, { name: "timeout", control: control, render: ({ field }) => (_jsxs(React.Fragment, { children: [_jsx(TextInput, { type: "number", ...field, className: b('timeout'), placeholder: "60" }), _jsx("span", { className: b('timeout-suffix'), children: i18n('form.timeout.seconds') })] })) }) })] }), enableTracingLevel && (_jsxs(Flex, { direction: "row", alignItems: "flex-start", className: b('dialog-row'), children: [_jsx("label", { htmlFor: "tracingLevel", className: b('field-title'), children: QUERY_SETTINGS_FIELD_SETTINGS.tracingLevel.title }), _jsx("div", { className: b('control-wrapper'), children: _jsx(Controller, { name: "tracingLevel", control: control, render: ({ field }) => (_jsx(QuerySettingsSelect, { setting: field.value, onUpdateSetting: field.onChange, settingOptions: QUERY_SETTINGS_FIELD_SETTINGS.tracingLevel.options })) }) })] })), _jsxs(Flex, { direction: "row", alignItems: "flex-start", className: b('dialog-row'), children: [_jsx("label", { htmlFor: "transactionMode", className: b('field-title'), children: QUERY_SETTINGS_FIELD_SETTINGS.transactionMode.title }), _jsx("div", { className: b('control-wrapper', { transactionMode: true }), children: _jsx(Controller, { name: "transactionMode", control: control, render: ({ field }) => (_jsx(QuerySettingsSelect, { setting: field.value, onUpdateSetting: field.onChange, settingOptions: QUERY_SETTINGS_FIELD_SETTINGS.transactionMode.options })) }) })] }), _jsxs(Flex, { direction: "row", alignItems: "flex-start", className: b('dialog-row'), children: [_jsx("label", { htmlFor: "statisticsMode", className: b('field-title'), children: QUERY_SETTINGS_FIELD_SETTINGS.statisticsMode.title }), _jsx("div", { className: b('control-wrapper', { statisticsMode: true }), children: _jsx(Controller, { name: "statisticsMode", control: control, render: ({ field }) => (_jsx(QuerySettingsSelect, { setting: field.value, onUpdateSetting: field.onChange, settingOptions: QUERY_SETTINGS_FIELD_SETTINGS.statisticsMode.options })) }) })] })] }), _jsx(Dialog.Footer, { textButtonApply: i18n('button-done'), textButtonCancel: i18n('button-cancel'), onClickButtonCancel: onClose, propsButtonApply: {
35
+ return (_jsxs("form", { onSubmit: handleSubmit(onSubmit), children: [_jsxs(Dialog.Body, { className: b('dialog-body'), children: [_jsxs(Flex, { direction: "row", alignItems: "flex-start", className: b('dialog-row'), children: [_jsx("label", { htmlFor: "queryMode", className: b('field-title'), children: QUERY_SETTINGS_FIELD_SETTINGS.queryMode.title }), _jsx("div", { className: b('control-wrapper', { queryMode: true }), children: _jsx(Controller, { name: "queryMode", control: control, render: ({ field }) => (_jsx(QuerySettingsSelect, { id: "queryMode", setting: field.value, onUpdateSetting: field.onChange, settingOptions: QUERY_SETTINGS_FIELD_SETTINGS.queryMode.options })) }) })] }), _jsxs(Flex, { direction: "row", alignItems: "flex-start", className: b('dialog-row'), children: [_jsx("label", { htmlFor: "timeout", className: b('field-title'), children: QUERY_SETTINGS_FIELD_SETTINGS.timeout.title }), _jsx("div", { className: b('control-wrapper'), children: _jsx(Controller, { name: "timeout", control: control, render: ({ field }) => {
36
+ var _a, _b;
37
+ return (_jsxs(React.Fragment, { children: [_jsx(TextInput, { id: "timeout", type: "number", ...field, value: (_a = field.value) === null || _a === void 0 ? void 0 : _a.toString(), className: b('timeout'), placeholder: "60", validationState: errors.timeout ? 'invalid' : undefined, errorMessage: (_b = errors.timeout) === null || _b === void 0 ? void 0 : _b.message, errorPlacement: "inside" }), _jsx("span", { className: b('timeout-suffix'), children: i18n('form.timeout.seconds') })] }));
38
+ } }) })] }), enableTracingLevel && (_jsxs(Flex, { direction: "row", alignItems: "flex-start", className: b('dialog-row'), children: [_jsx("label", { htmlFor: "tracingLevel", className: b('field-title'), children: QUERY_SETTINGS_FIELD_SETTINGS.tracingLevel.title }), _jsx("div", { className: b('control-wrapper'), children: _jsx(Controller, { name: "tracingLevel", control: control, render: ({ field }) => (_jsx(QuerySettingsSelect, { id: "tracingLevel", setting: field.value, onUpdateSetting: field.onChange, settingOptions: QUERY_SETTINGS_FIELD_SETTINGS.tracingLevel.options })) }) })] })), _jsxs(Flex, { direction: "row", alignItems: "flex-start", className: b('dialog-row'), children: [_jsx("label", { htmlFor: "transactionMode", className: b('field-title'), children: QUERY_SETTINGS_FIELD_SETTINGS.transactionMode.title }), _jsx("div", { className: b('control-wrapper', { transactionMode: true }), children: _jsx(Controller, { name: "transactionMode", control: control, render: ({ field }) => (_jsx(QuerySettingsSelect, { id: "transactionMode", setting: field.value, onUpdateSetting: field.onChange, settingOptions: QUERY_SETTINGS_FIELD_SETTINGS.transactionMode.options })) }) })] }), _jsxs(Flex, { direction: "row", alignItems: "flex-start", className: b('dialog-row'), children: [_jsx("label", { htmlFor: "statisticsMode", className: b('field-title'), children: QUERY_SETTINGS_FIELD_SETTINGS.statisticsMode.title }), _jsx("div", { className: b('control-wrapper', { statisticsMode: true }), children: _jsx(Controller, { name: "statisticsMode", control: control, render: ({ field }) => (_jsx(QuerySettingsSelect, { id: "statisticsMode", setting: field.value, onUpdateSetting: field.onChange, settingOptions: QUERY_SETTINGS_FIELD_SETTINGS.statisticsMode.options })) }) })] }), _jsxs(Flex, { direction: "row", alignItems: "flex-start", className: b('dialog-row'), children: [_jsx("label", { htmlFor: "limitRows", className: b('field-title'), children: QUERY_SETTINGS_FIELD_SETTINGS.limitRows.title }), _jsx("div", { className: b('control-wrapper'), children: _jsx(Controller, { name: "limitRows", control: control, render: ({ field }) => {
39
+ var _a, _b;
40
+ return (_jsx(TextInput, { id: "limitRows", type: "number", ...field, value: (_a = field.value) === null || _a === void 0 ? void 0 : _a.toString(), className: b('limit-rows'), placeholder: "10000", validationState: errors.limitRows ? 'invalid' : undefined, errorMessage: (_b = errors.limitRows) === null || _b === void 0 ? void 0 : _b.message, errorPlacement: "inside" }));
41
+ } }) })] })] }), _jsx(Dialog.Footer, { textButtonApply: i18n('button-done'), textButtonCancel: i18n('button-cancel'), onClickButtonCancel: onClose, propsButtonApply: {
33
42
  type: 'submit',
34
43
  }, renderButtons: (buttonApply, buttonCancel) => (_jsxs("div", { className: b('buttons-container'), children: [_jsx(ExternalLink, { href: "https://ydb.tech/docs", target: "_blank", className: b('documentation-link'), children: i18n('docs') }), _jsxs("div", { className: b('main-buttons'), children: [buttonCancel, buttonApply] })] })) })] }));
35
44
  }
@@ -1 +1 @@
1
- {"version":3,"file":"QuerySettingsDialog.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsDialog.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,MAAM,EAAE,IAAI,IAAI,YAAY,EAAE,IAAI,EAAE,SAAS,EAAC,MAAM,mBAAmB,CAAC;AAChF,OAAO,EAAC,UAAU,EAAE,OAAO,EAAC,MAAM,iBAAiB,CAAC;AAEpD,OAAO,EAAC,8BAA8B,EAAC,MAAM,+CAA+C,CAAC;AAC7F,OAAO,EACH,iBAAiB,EACjB,cAAc,GACjB,MAAM,sDAAsD,CAAC;AAE9D,OAAO,EAAC,EAAE,EAAC,MAAM,sBAAsB,CAAC;AACxC,OAAO,EACH,yBAAyB,EACzB,gBAAgB,EAChB,gBAAgB,GACnB,MAAM,yBAAyB,CAAC;AAEjC,OAAO,EAAC,mBAAmB,EAAC,MAAM,uBAAuB,CAAC;AAC1D,OAAO,EAAC,6BAA6B,EAAC,MAAM,aAAa,CAAC;AAC1D,OAAO,IAAI,MA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jC,IAAI,CAAC,MAAM,CAAC,GACF,EACf,eAAK,SAAS,EAAE,CAAC,CAAC,cAAc,CAAC,aAC5B,YAAY,EACZ,WAAW,IACV,IACJ,CACT,GACH,IACC,CACV,CAAC;AACN,CAAC"}
1
+ {"version":3,"file":"QuerySettingsDialog.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsDialog.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,MAAM,EAAE,IAAI,IAAI,YAAY,EAAE,IAAI,EAAE,SAAS,EAAC,MAAM,mBAAmB,CAAC;AAChF,OAAO,EAAC,WAAW,EAAC,MAAM,yBAAyB,CAAC;AACpD,OAAO,EAAC,UAAU,EAAE,OAAO,EAAC,MAAM,iBAAiB,CAAC;AAEpD,OAAO,EAAC,8BAA8B,EAAC,MAAM,+CAA+C,CAAC;AAC7F,OAAO,EACH,iBAAiB,EACjB,cAAc,GACjB,MAAM,sDAAsD,CAAC;AAE9D,OAAO,EAAC,EAAE,EAAC,MAAM,sBAAsB,CAAC;AACxC,OAAO,EACH,yBAAyB,EACzB,gBAAgB,EAChB,gBAAgB,GACnB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAC,6BAA6B,EAAC,MAAM,yBAAyB,CAAC;AAEtE,OAAO,EAAC,mBAAmB,EAAC,MAAM,uBAAuB,CAAC;AAC1D,OAAO,EAAC,6BAA6B,EAAC,MAAM,aAAa,CAAC;AAC1D,OAAO,IAAI,MAAM,QAAQ,CAAC;AAE1B,OAAO,4BAA4B,CAAC;AAEpC,MAAM,CAAC,GAAG,EAAE,CAAC,2BAA2B,CAAC,CAAC;AAE1C,MAAM,UAAU,mBAAmB;IAC/B,MAAM,QAAQ,GAAG,gBAAgB,EAAE,CAAC;IACpC,MAAM,WAAW,GAAG,gBAAgB,CAAC,iBAAiB,CAAC,CAAC;IACxD,MAAM,CAAC,aAAa,EAAE,gBAAgB,CAAC,G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