ydb-embedded-ui 6.15.1 → 6.17.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (422) hide show
  1. package/dist/components/ContentWithPopup/ContentWithPopup.d.ts +2 -1
  2. package/dist/components/ContentWithPopup/ContentWithPopup.js +9 -2
  3. package/dist/components/ContentWithPopup/ContentWithPopup.js.map +1 -1
  4. package/dist/components/ElapsedTime/ElapsedTime.js +2 -1
  5. package/dist/components/ElapsedTime/ElapsedTime.js.map +1 -1
  6. package/dist/components/EmptyState/EmptyState.d.ts +6 -0
  7. package/dist/components/EmptyState/EmptyState.js +6 -0
  8. package/dist/components/EmptyState/EmptyState.js.map +1 -1
  9. package/dist/components/EntitiesCount/EntitiesCount.js +3 -1
  10. package/dist/components/EntitiesCount/EntitiesCount.js.map +1 -1
  11. package/dist/components/EntityPageTitle/EntityPageTitle.d.ts +11 -0
  12. package/dist/components/{DiskPageTitle/DiskPageTitle.js → EntityPageTitle/EntityPageTitle.js} +5 -5
  13. package/dist/components/EntityPageTitle/EntityPageTitle.js.map +1 -0
  14. package/dist/components/{DiskPageTitle/DiskPageTitle.scss → EntityPageTitle/EntityPageTitle.scss} +1 -1
  15. package/dist/components/ErrorBoundary/ErrorBoundary.scss +2 -0
  16. package/dist/components/FullNodeViewer/FullNodeViewer.js +1 -1
  17. package/dist/components/FullNodeViewer/FullNodeViewer.js.map +1 -1
  18. package/dist/components/InfoViewer/InfoViewer.d.ts +0 -1
  19. package/dist/components/InfoViewer/InfoViewer.js +0 -1
  20. package/dist/components/InfoViewer/InfoViewer.js.map +1 -1
  21. package/dist/components/InfoViewer/index.d.ts +1 -1
  22. package/dist/components/InfoViewer/index.js +1 -1
  23. package/dist/components/InfoViewer/index.js.map +1 -1
  24. package/dist/components/InfoViewerSkeleton/InfoViewerSkeleton.d.ts +2 -1
  25. package/dist/components/InfoViewerSkeleton/InfoViewerSkeleton.js +10 -1
  26. package/dist/components/InfoViewerSkeleton/InfoViewerSkeleton.js.map +1 -1
  27. package/dist/components/MetricChart/reducer.d.ts +2 -2
  28. package/dist/components/NodeHostWrapper/NodeHostWrapper.d.ts +2 -1
  29. package/dist/components/NodeHostWrapper/NodeHostWrapper.js +2 -2
  30. package/dist/components/NodeHostWrapper/NodeHostWrapper.js.map +1 -1
  31. package/dist/components/NotRenderUntilFirstVisible/NotRenderUntilFirstVisible.d.ts +9 -0
  32. package/dist/components/NotRenderUntilFirstVisible/NotRenderUntilFirstVisible.js +9 -0
  33. package/dist/components/NotRenderUntilFirstVisible/NotRenderUntilFirstVisible.js.map +1 -0
  34. package/dist/components/NotRenderUntilFirstVisible/NotRenderUntilFirstVisible.scss +3 -0
  35. package/dist/components/PageMeta/PageMeta.d.ts +2 -1
  36. package/dist/components/PageMeta/PageMeta.js +9 -4
  37. package/dist/components/PageMeta/PageMeta.js.map +1 -1
  38. package/dist/components/PageMeta/PageMeta.scss +9 -6
  39. package/dist/components/PaginatedTable/PaginatedTable.d.ts +5 -4
  40. package/dist/components/PaginatedTable/PaginatedTable.js +24 -116
  41. package/dist/components/PaginatedTable/PaginatedTable.js.map +1 -1
  42. package/dist/components/PaginatedTable/PaginatedTable.scss +8 -0
  43. package/dist/components/PaginatedTable/ResizeablePaginatedTable.d.ts +2 -2
  44. package/dist/components/PaginatedTable/ResizeablePaginatedTable.js.map +1 -1
  45. package/dist/components/PaginatedTable/TableChunk.d.ts +13 -5
  46. package/dist/components/PaginatedTable/TableChunk.js +53 -22
  47. package/dist/components/PaginatedTable/TableChunk.js.map +1 -1
  48. package/dist/components/PaginatedTable/TableHead.js +1 -1
  49. package/dist/components/PaginatedTable/TableHead.js.map +1 -1
  50. package/dist/components/PaginatedTable/TableRow.js +1 -1
  51. package/dist/components/PaginatedTable/TableRow.js.map +1 -1
  52. package/dist/components/PaginatedTable/types.d.ts +8 -1
  53. package/dist/components/Skeleton/Skeleton.d.ts +6 -0
  54. package/dist/components/Skeleton/Skeleton.js +11 -0
  55. package/dist/components/Skeleton/Skeleton.js.map +1 -0
  56. package/dist/components/Tablet/Tablet.js +2 -2
  57. package/dist/components/Tablet/Tablet.js.map +1 -1
  58. package/dist/components/TabletState/TabletState.d.ts +6 -0
  59. package/dist/components/TabletState/TabletState.js +7 -0
  60. package/dist/components/TabletState/TabletState.js.map +1 -0
  61. package/dist/components/TabletsStatistic/TabletsStatistic.d.ts +2 -2
  62. package/dist/components/TabletsStatistic/TabletsStatistic.js +4 -6
  63. package/dist/components/TabletsStatistic/TabletsStatistic.js.map +1 -1
  64. package/dist/components/YDBDefinitionList/YDBDefinitionList.d.ts +9 -0
  65. package/dist/components/YDBDefinitionList/YDBDefinitionList.js +23 -0
  66. package/dist/components/YDBDefinitionList/YDBDefinitionList.js.map +1 -0
  67. package/dist/{containers/Tenant/Info/View/View.scss → components/YDBDefinitionList/YDBDefinitionList.scss} +6 -6
  68. package/dist/components/YDBDefinitionList/i18n/en.json +3 -0
  69. package/dist/components/YDBDefinitionList/i18n/index.d.ts +2 -0
  70. package/dist/components/YDBDefinitionList/i18n/index.js +5 -0
  71. package/dist/components/YDBDefinitionList/i18n/index.js.map +1 -0
  72. package/dist/containers/App/Content.js +1 -7
  73. package/dist/containers/App/Content.js.map +1 -1
  74. package/dist/containers/App/appSlots.d.ts +0 -6
  75. package/dist/containers/App/appSlots.js +0 -1
  76. package/dist/containers/App/appSlots.js.map +1 -1
  77. package/dist/containers/Cluster/Cluster.js +13 -22
  78. package/dist/containers/Cluster/Cluster.js.map +1 -1
  79. package/dist/containers/Cluster/Cluster.scss +14 -0
  80. package/dist/containers/Cluster/ClusterInfo/ClusterInfo.d.ts +3 -3
  81. package/dist/containers/Cluster/ClusterInfo/ClusterInfo.js +18 -2
  82. package/dist/containers/Cluster/ClusterInfo/ClusterInfo.js.map +1 -1
  83. package/dist/containers/Cluster/i18n/index.d.ts +1 -1
  84. package/dist/containers/Header/Header.js +6 -7
  85. package/dist/containers/Header/Header.js.map +1 -1
  86. package/dist/containers/Header/breadcrumbs.js +26 -30
  87. package/dist/containers/Header/breadcrumbs.js.map +1 -1
  88. package/dist/containers/Heatmap/HeatmapCanvas/HeatmapCanvas.js +2 -2
  89. package/dist/containers/Heatmap/HeatmapCanvas/HeatmapCanvas.js.map +1 -1
  90. package/dist/containers/Node/Node.js +12 -6
  91. package/dist/containers/Node/Node.js.map +1 -1
  92. package/dist/containers/Node/NodePages.d.ts +2 -1
  93. package/dist/containers/Node/NodePages.js +2 -2
  94. package/dist/containers/Node/NodePages.js.map +1 -1
  95. package/dist/containers/Nodes/Nodes.d.ts +2 -1
  96. package/dist/containers/Nodes/Nodes.js +3 -2
  97. package/dist/containers/Nodes/Nodes.js.map +1 -1
  98. package/dist/containers/Nodes/NodesWrapper.d.ts +1 -0
  99. package/dist/containers/Nodes/NodesWrapper.js.map +1 -1
  100. package/dist/containers/Nodes/PaginatedNodes.d.ts +2 -1
  101. package/dist/containers/Nodes/PaginatedNodes.js +7 -18
  102. package/dist/containers/Nodes/PaginatedNodes.js.map +1 -1
  103. package/dist/containers/Nodes/getNodes.d.ts +3 -6
  104. package/dist/containers/Nodes/getNodes.js +19 -2
  105. package/dist/containers/Nodes/getNodes.js.map +1 -1
  106. package/dist/containers/Nodes/getNodesColumns.d.ts +3 -3
  107. package/dist/containers/Nodes/getNodesColumns.js +9 -9
  108. package/dist/containers/Nodes/getNodesColumns.js.map +1 -1
  109. package/dist/containers/PDiskPage/PDiskGroups/PDiskGroups.js +2 -2
  110. package/dist/containers/PDiskPage/PDiskGroups/PDiskGroups.js.map +1 -1
  111. package/dist/containers/PDiskPage/PDiskPage.js +4 -5
  112. package/dist/containers/PDiskPage/PDiskPage.js.map +1 -1
  113. package/dist/containers/PDiskPage/PDiskPage.scss +0 -7
  114. package/dist/containers/PDiskPage/i18n/index.d.ts +1 -1
  115. package/dist/containers/Storage/PaginatedStorage.d.ts +2 -2
  116. package/dist/containers/Storage/PaginatedStorage.js +3 -3
  117. package/dist/containers/Storage/PaginatedStorage.js.map +1 -1
  118. package/dist/containers/Storage/Storage.d.ts +2 -2
  119. package/dist/containers/Storage/Storage.js +4 -4
  120. package/dist/containers/Storage/Storage.js.map +1 -1
  121. package/dist/containers/Storage/StorageGroups/PaginatedStorageGroups.d.ts +2 -2
  122. package/dist/containers/Storage/StorageGroups/PaginatedStorageGroups.js +5 -17
  123. package/dist/containers/Storage/StorageGroups/PaginatedStorageGroups.js.map +1 -1
  124. package/dist/containers/Storage/StorageGroups/getGroups.d.ts +3 -6
  125. package/dist/containers/Storage/StorageGroups/getGroups.js +15 -2
  126. package/dist/containers/Storage/StorageGroups/getGroups.js.map +1 -1
  127. package/dist/containers/Storage/StorageGroups/getStorageGroupsColumns.d.ts +1 -1
  128. package/dist/containers/Storage/StorageGroups/getStorageGroupsColumns.js +1 -1
  129. package/dist/containers/Storage/StorageGroups/getStorageGroupsColumns.js.map +1 -1
  130. package/dist/containers/Storage/StorageNodes/PaginatedStorageNodes.d.ts +2 -2
  131. package/dist/containers/Storage/StorageNodes/PaginatedStorageNodes.js +8 -20
  132. package/dist/containers/Storage/StorageNodes/PaginatedStorageNodes.js.map +1 -1
  133. package/dist/containers/Storage/StorageNodes/StorageNodes.d.ts +2 -1
  134. package/dist/containers/Storage/StorageNodes/StorageNodes.js +2 -2
  135. package/dist/containers/Storage/StorageNodes/StorageNodes.js.map +1 -1
  136. package/dist/containers/Storage/StorageNodes/getNodes.d.ts +3 -5
  137. package/dist/containers/Storage/StorageNodes/getNodes.js +17 -2
  138. package/dist/containers/Storage/StorageNodes/getNodes.js.map +1 -1
  139. package/dist/containers/Storage/StorageNodes/getStorageNodesColumns.d.ts +1 -1
  140. package/dist/containers/Storage/StorageNodes/getStorageNodesColumns.js +4 -4
  141. package/dist/containers/Storage/StorageNodes/getStorageNodesColumns.js.map +1 -1
  142. package/dist/containers/Storage/StorageWrapper.d.ts +1 -1
  143. package/dist/containers/Tablet/Tablet.d.ts +1 -1
  144. package/dist/containers/Tablet/Tablet.js +118 -54
  145. package/dist/containers/Tablet/Tablet.js.map +1 -1
  146. package/dist/containers/Tablet/Tablet.scss +4 -81
  147. package/dist/containers/Tablet/components/TabletControls/TabletControls.d.ts +6 -0
  148. package/dist/containers/Tablet/components/TabletControls/TabletControls.js +27 -0
  149. package/dist/containers/Tablet/components/TabletControls/TabletControls.js.map +1 -0
  150. package/dist/containers/Tablet/components/TabletControls/index.js.map +1 -0
  151. package/dist/containers/Tablet/components/TabletInfo/TabletInfo.d.ts +7 -0
  152. package/dist/containers/Tablet/components/TabletInfo/TabletInfo.js +59 -0
  153. package/dist/containers/Tablet/components/TabletInfo/TabletInfo.js.map +1 -0
  154. package/dist/containers/Tablet/components/TabletInfo/TabletInfo.scss +12 -0
  155. package/dist/containers/Tablet/components/TabletInfo/i18n/en.json +16 -0
  156. package/dist/containers/Tablet/components/TabletInfo/i18n/index.d.ts +1 -0
  157. package/dist/containers/Tablet/components/TabletInfo/i18n/index.js +5 -0
  158. package/dist/containers/Tablet/components/TabletInfo/i18n/index.js.map +1 -0
  159. package/dist/containers/Tablet/components/TabletInfo/index.js.map +1 -0
  160. package/dist/containers/Tablet/components/TabletStorageInfo/TabletStorageInfo.d.ts +7 -0
  161. package/dist/containers/Tablet/components/TabletStorageInfo/TabletStorageInfo.js +36 -0
  162. package/dist/containers/Tablet/components/TabletStorageInfo/TabletStorageInfo.js.map +1 -0
  163. package/dist/containers/Tablet/components/TabletStorageInfo/TabletStorageInfo.scss +78 -0
  164. package/dist/containers/Tablet/components/TabletStorageInfo/columns.d.ts +3 -0
  165. package/dist/containers/Tablet/components/TabletStorageInfo/columns.js +56 -0
  166. package/dist/containers/Tablet/components/TabletStorageInfo/columns.js.map +1 -0
  167. package/dist/containers/Tablet/components/TabletStorageInfo/i18n/en.json +7 -0
  168. package/dist/containers/Tablet/components/TabletStorageInfo/i18n/index.d.ts +1 -0
  169. package/dist/containers/Tablet/components/TabletStorageInfo/i18n/index.js +5 -0
  170. package/dist/containers/Tablet/components/TabletStorageInfo/i18n/index.js.map +1 -0
  171. package/dist/containers/Tablet/components/TabletStorageInfo/shared.d.ts +1 -0
  172. package/dist/containers/Tablet/components/TabletStorageInfo/shared.js +3 -0
  173. package/dist/containers/Tablet/components/TabletStorageInfo/shared.js.map +1 -0
  174. package/dist/containers/Tablet/components/TabletStorageInfo/types.d.ts +5 -0
  175. package/dist/containers/Tablet/components/TabletStorageInfo/types.js +2 -0
  176. package/dist/containers/Tablet/components/TabletStorageInfo/types.js.map +1 -0
  177. package/dist/containers/Tablet/components/TabletStorageInfo/utils.d.ts +3 -0
  178. package/dist/containers/Tablet/components/TabletStorageInfo/utils.js +29 -0
  179. package/dist/containers/Tablet/components/TabletStorageInfo/utils.js.map +1 -0
  180. package/dist/containers/Tablet/{TabletTable → components/TabletTable}/TabletTable.d.ts +1 -1
  181. package/dist/containers/Tablet/{TabletTable → components/TabletTable}/TabletTable.js +7 -6
  182. package/dist/containers/Tablet/components/TabletTable/TabletTable.js.map +1 -0
  183. package/dist/containers/Tablet/components/TabletTable/index.js.map +1 -0
  184. package/dist/containers/Tablet/i18n/en.json +5 -1
  185. package/dist/containers/Tablet/i18n/index.d.ts +1 -1
  186. package/dist/containers/Tablet/utils.d.ts +1 -0
  187. package/dist/containers/Tablet/utils.js +4 -0
  188. package/dist/containers/Tablet/utils.js.map +1 -0
  189. package/dist/containers/Tablets/Tablets.d.ts +2 -1
  190. package/dist/containers/Tablets/Tablets.js +100 -90
  191. package/dist/containers/Tablets/Tablets.js.map +1 -1
  192. package/dist/containers/Tablets/i18n/index.d.ts +1 -1
  193. package/dist/containers/Tenant/Acl/Acl.scss +2 -2
  194. package/dist/containers/Tenant/Diagnostics/Describe/Describe.js +10 -9
  195. package/dist/containers/Tenant/Diagnostics/Describe/Describe.js.map +1 -1
  196. package/dist/containers/Tenant/Diagnostics/Describe/Describe.scss +13 -2
  197. package/dist/containers/Tenant/Diagnostics/Diagnostics.js +3 -3
  198. package/dist/containers/Tenant/Diagnostics/Diagnostics.js.map +1 -1
  199. package/dist/containers/Tenant/Diagnostics/Overview/AsyncReplicationInfo/AsyncReplicationInfo.js +39 -20
  200. package/dist/containers/Tenant/Diagnostics/Overview/AsyncReplicationInfo/AsyncReplicationInfo.js.map +1 -1
  201. package/dist/containers/Tenant/Diagnostics/Overview/TableInfo/prepareTableInfo.js +21 -11
  202. package/dist/containers/Tenant/Diagnostics/Overview/TableInfo/prepareTableInfo.js.map +1 -1
  203. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TenantStorage.js +1 -1
  204. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TenantStorage.js.map +1 -1
  205. package/dist/containers/Tenant/Diagnostics/TopShards/getTopShardsColumns.js +2 -2
  206. package/dist/containers/Tenant/Diagnostics/TopShards/getTopShardsColumns.js.map +1 -1
  207. package/dist/containers/Tenant/Info/View/View.d.ts +0 -1
  208. package/dist/containers/Tenant/Info/View/View.js +3 -5
  209. package/dist/containers/Tenant/Info/View/View.js.map +1 -1
  210. package/dist/containers/Tenant/ObjectGeneral/ObjectGeneral.js +3 -8
  211. package/dist/containers/Tenant/ObjectGeneral/ObjectGeneral.js.map +1 -1
  212. package/dist/containers/Tenant/ObjectSummary/ObjectSummary.js +1 -1
  213. package/dist/containers/Tenant/ObjectSummary/ObjectSummary.js.map +1 -1
  214. package/dist/containers/Tenant/ObjectSummary/ObjectSummary.scss +3 -0
  215. package/dist/containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/SimplifiedPlan.js +2 -5
  216. package/dist/containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/SimplifiedPlan.js.map +1 -1
  217. package/dist/containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/utils.d.ts +0 -1
  218. package/dist/containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/utils.js +0 -21
  219. package/dist/containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/utils.js.map +1 -1
  220. package/dist/containers/Tenant/Query/QueriesHistory/QueriesHistory.js +19 -1
  221. package/dist/containers/Tenant/Query/QueriesHistory/QueriesHistory.js.map +1 -1
  222. package/dist/containers/Tenant/Query/Query.js +2 -14
  223. package/dist/containers/Tenant/Query/Query.js.map +1 -1
  224. package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.js +4 -4
  225. package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.js.map +1 -1
  226. package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettings.test.js +1 -1
  227. package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettings.test.js.map +1 -1
  228. package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettingsDescription.test.js +1 -1
  229. package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettingsDescription.test.js.map +1 -1
  230. package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsDialog.js +3 -3
  231. package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsDialog.js.map +1 -1
  232. package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.d.ts +8 -8
  233. package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.js +6 -6
  234. package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.js.map +1 -1
  235. package/dist/containers/Tenant/Query/i18n/en.json +4 -1
  236. package/dist/containers/Tenant/Query/i18n/index.d.ts +1 -1
  237. package/dist/containers/Tenant/Query/utils/useSavedQueries.js +2 -1
  238. package/dist/containers/Tenant/Query/utils/useSavedQueries.js.map +1 -1
  239. package/dist/containers/Tenant/Schema/SchemaViewer/KeysView.d.ts +8 -0
  240. package/dist/containers/Tenant/Schema/SchemaViewer/KeysView.js +15 -0
  241. package/dist/containers/Tenant/Schema/SchemaViewer/KeysView.js.map +1 -0
  242. package/dist/containers/Tenant/Schema/SchemaViewer/SchemaViewer.js +7 -13
  243. package/dist/containers/Tenant/Schema/SchemaViewer/SchemaViewer.js.map +1 -1
  244. package/dist/containers/Tenant/Schema/SchemaViewer/SchemaViewer.scss +62 -3
  245. package/dist/containers/Tenant/Schema/SchemaViewer/columns.js +3 -21
  246. package/dist/containers/Tenant/Schema/SchemaViewer/columns.js.map +1 -1
  247. package/dist/containers/Tenant/Schema/SchemaViewer/i18n/en.json +3 -2
  248. package/dist/containers/Tenant/Schema/SchemaViewer/i18n/index.d.ts +1 -1
  249. package/dist/containers/Tenant/Schema/SchemaViewer/prepareData.js +13 -23
  250. package/dist/containers/Tenant/Schema/SchemaViewer/prepareData.js.map +1 -1
  251. package/dist/containers/Tenant/Schema/SchemaViewer/types.d.ts +2 -3
  252. package/dist/containers/Tenant/Schema/SchemaViewer/utils.d.ts +3 -0
  253. package/dist/containers/Tenant/Schema/SchemaViewer/utils.js +9 -0
  254. package/dist/containers/Tenant/Schema/SchemaViewer/utils.js.map +1 -0
  255. package/dist/containers/Tenant/utils/queryTemplates.js +6 -5
  256. package/dist/containers/Tenant/utils/queryTemplates.js.map +1 -1
  257. package/dist/containers/Tenants/Tenants.js +2 -2
  258. package/dist/containers/Tenants/Tenants.js.map +1 -1
  259. package/dist/containers/UserSettings/i18n/en.json +0 -3
  260. package/dist/containers/UserSettings/i18n/index.d.ts +1 -1
  261. package/dist/containers/UserSettings/settings.d.ts +0 -1
  262. package/dist/containers/UserSettings/settings.js +2 -10
  263. package/dist/containers/UserSettings/settings.js.map +1 -1
  264. package/dist/containers/VDiskPage/VDiskPage.d.ts +4 -0
  265. package/dist/containers/VDiskPage/VDiskPage.js +17 -14
  266. package/dist/containers/VDiskPage/VDiskPage.js.map +1 -1
  267. package/dist/containers/VDiskPage/VDiskPage.scss +9 -4
  268. package/dist/containers/VDiskPage/i18n/index.d.ts +1 -1
  269. package/dist/containers/Versions/GroupedNodesTree/GroupedNodesTree.d.ts +2 -2
  270. package/dist/containers/Versions/GroupedNodesTree/GroupedNodesTree.js.map +1 -1
  271. package/dist/containers/Versions/NodesTable/NodesTable.d.ts +2 -2
  272. package/dist/containers/Versions/NodesTable/NodesTable.js.map +1 -1
  273. package/dist/containers/Versions/NodesTreeTitle/NodesTreeTitle.d.ts +2 -2
  274. package/dist/containers/Versions/NodesTreeTitle/NodesTreeTitle.js.map +1 -1
  275. package/dist/containers/Versions/Versions.js +3 -2
  276. package/dist/containers/Versions/Versions.js.map +1 -1
  277. package/dist/containers/Versions/groupNodes.d.ts +4 -4
  278. package/dist/containers/Versions/groupNodes.js.map +1 -1
  279. package/dist/containers/Versions/types.d.ts +2 -2
  280. package/dist/routes.d.ts +1 -0
  281. package/dist/routes.js +3 -0
  282. package/dist/routes.js.map +1 -1
  283. package/dist/services/api.d.ts +19 -12
  284. package/dist/services/api.js +45 -15
  285. package/dist/services/api.js.map +1 -1
  286. package/dist/services/settings.d.ts +1 -2
  287. package/dist/services/settings.js +1 -2
  288. package/dist/services/settings.js.map +1 -1
  289. package/dist/store/configureStore.d.ts +6 -10
  290. package/dist/store/defaultStore.d.ts +3 -5
  291. package/dist/store/reducers/api.d.ts +1 -1
  292. package/dist/store/reducers/api.js +1 -1
  293. package/dist/store/reducers/api.js.map +1 -1
  294. package/dist/store/reducers/authentication/authentication.d.ts +4 -4
  295. package/dist/store/reducers/cancelQuery.d.ts +2 -2
  296. package/dist/store/reducers/capabilities/capabilities.d.ts +6 -10
  297. package/dist/store/reducers/capabilities/hooks.d.ts +1 -0
  298. package/dist/store/reducers/capabilities/hooks.js +3 -0
  299. package/dist/store/reducers/capabilities/hooks.js.map +1 -1
  300. package/dist/store/reducers/cluster/cluster.d.ts +2 -2
  301. package/dist/store/reducers/clusters/clusters.d.ts +2 -2
  302. package/dist/store/reducers/describe.d.ts +2 -2
  303. package/dist/store/reducers/executeQuery.d.ts +18 -4
  304. package/dist/store/reducers/executeQuery.js +50 -5
  305. package/dist/store/reducers/executeQuery.js.map +1 -1
  306. package/dist/store/reducers/executeTopQueries/executeTopQueries.d.ts +2 -2
  307. package/dist/store/reducers/explainQuery/explainQuery.d.ts +2 -2
  308. package/dist/store/reducers/header/types.d.ts +7 -7
  309. package/dist/store/reducers/healthcheckInfo/healthcheckInfo.d.ts +58 -78
  310. package/dist/store/reducers/heatmap.d.ts +2 -2
  311. package/dist/store/reducers/heatmap.js +2 -2
  312. package/dist/store/reducers/heatmap.js.map +1 -1
  313. package/dist/store/reducers/hotKeys/hotKeys.d.ts +2 -2
  314. package/dist/store/reducers/index.d.ts +5 -8
  315. package/dist/store/reducers/index.js +0 -2
  316. package/dist/store/reducers/index.js.map +1 -1
  317. package/dist/store/reducers/network/network.d.ts +2 -2
  318. package/dist/store/reducers/node/node.d.ts +3 -3
  319. package/dist/store/reducers/node/selectors.d.ts +1 -2
  320. package/dist/store/reducers/nodes/nodes.d.ts +3 -3
  321. package/dist/store/reducers/nodes/types.d.ts +17 -1
  322. package/dist/store/reducers/nodes/utils.js +6 -0
  323. package/dist/store/reducers/nodes/utils.js.map +1 -1
  324. package/dist/store/reducers/nodesList.d.ts +3 -4
  325. package/dist/store/reducers/overview/overview.d.ts +2 -2
  326. package/dist/store/reducers/partitions/partitions.d.ts +2 -2
  327. package/dist/store/reducers/pdisk/pdisk.d.ts +3 -3
  328. package/dist/store/reducers/preview.d.ts +2 -2
  329. package/dist/store/reducers/schema/schema.d.ts +3 -3
  330. package/dist/store/reducers/schemaAcl/schemaAcl.d.ts +2 -2
  331. package/dist/store/reducers/shardsWorkload/shardsWorkload.d.ts +2 -2
  332. package/dist/store/reducers/storage/storage.d.ts +3 -3
  333. package/dist/store/reducers/storage/types.d.ts +15 -0
  334. package/dist/store/reducers/storage/types.js.map +1 -1
  335. package/dist/store/reducers/tableData.d.ts +14 -0
  336. package/dist/store/reducers/tableData.js +25 -0
  337. package/dist/store/reducers/tableData.js.map +1 -0
  338. package/dist/store/reducers/tablet.d.ts +20 -3
  339. package/dist/store/reducers/tablet.js +82 -13
  340. package/dist/store/reducers/tablet.js.map +1 -1
  341. package/dist/store/reducers/tablets.d.ts +15 -23
  342. package/dist/store/reducers/tablets.js +2 -20
  343. package/dist/store/reducers/tablets.js.map +1 -1
  344. package/dist/store/reducers/tenant/tenant.d.ts +2 -2
  345. package/dist/store/reducers/tenantOverview/executeTopTables/executeTopTables.d.ts +2 -2
  346. package/dist/store/reducers/tenantOverview/topNodes/topNodes.d.ts +2 -2
  347. package/dist/store/reducers/tenantOverview/topShards/tenantOverviewTopShards.d.ts +2 -2
  348. package/dist/store/reducers/tenantOverview/topStorageGroups/topStorageGroups.d.ts +2 -2
  349. package/dist/store/reducers/tenants/selectors.d.ts +30 -40
  350. package/dist/store/reducers/tenants/selectors.js +9 -8
  351. package/dist/store/reducers/tenants/selectors.js.map +1 -1
  352. package/dist/store/reducers/tenants/tenants.d.ts +2 -2
  353. package/dist/store/reducers/topic.d.ts +44 -59
  354. package/dist/store/reducers/vdisk/types.d.ts +1 -1
  355. package/dist/store/reducers/vdisk/vdisk.d.ts +3 -3
  356. package/dist/store/reducers/viewSchema/viewSchema.d.ts +2 -2
  357. package/dist/store/state-url-mapping.d.ts +0 -8
  358. package/dist/store/state-url-mapping.js +0 -8
  359. package/dist/store/state-url-mapping.js.map +1 -1
  360. package/dist/styles/mixins.scss +3 -3
  361. package/dist/types/api/capabilities.d.ts +1 -1
  362. package/dist/types/api/nodes.d.ts +5 -0
  363. package/dist/types/api/nodes.js.map +1 -1
  364. package/dist/types/api/schema/shared.d.ts +1 -3
  365. package/dist/types/api/schema/shared.js.map +1 -1
  366. package/dist/types/api/schema/table.d.ts +2 -0
  367. package/dist/types/api/schema/table.js.map +1 -1
  368. package/dist/types/api/tablet.d.ts +22 -0
  369. package/dist/types/store/executeQuery.d.ts +5 -2
  370. package/dist/types/store/heatmap.d.ts +0 -1
  371. package/dist/types/store/tablets.d.ts +2 -1
  372. package/dist/utils/constants.d.ts +2 -2
  373. package/dist/utils/constants.js +2 -2
  374. package/dist/utils/constants.js.map +1 -1
  375. package/dist/utils/dataFormatters/dataFormatters.d.ts +1 -0
  376. package/dist/utils/dataFormatters/dataFormatters.js +5 -0
  377. package/dist/utils/dataFormatters/dataFormatters.js.map +1 -1
  378. package/dist/utils/developerUI/developerUI.d.ts +1 -1
  379. package/dist/utils/developerUI/developerUI.js +3 -2
  380. package/dist/utils/developerUI/developerUI.js.map +1 -1
  381. package/dist/utils/hooks/useQueryExecutionSettings.js +3 -2
  382. package/dist/utils/hooks/useQueryExecutionSettings.js.map +1 -1
  383. package/dist/utils/versions/parseNodesToVersionsValues.d.ts +7 -0
  384. package/dist/utils/versions/parseNodesToVersionsValues.js +10 -0
  385. package/dist/utils/versions/parseNodesToVersionsValues.js.map +1 -1
  386. package/package.json +2 -1
  387. package/dist/components/DiskPageTitle/DiskPageTitle.d.ts +0 -10
  388. package/dist/components/DiskPageTitle/DiskPageTitle.js.map +0 -1
  389. package/dist/components/PaginatedTable/reducer.d.ts +0 -43
  390. package/dist/components/PaginatedTable/reducer.js +0 -104
  391. package/dist/components/PaginatedTable/reducer.js.map +0 -1
  392. package/dist/containers/Tablet/TabletControls/TabletControls.d.ts +0 -7
  393. package/dist/containers/Tablet/TabletControls/TabletControls.js +0 -29
  394. package/dist/containers/Tablet/TabletControls/TabletControls.js.map +0 -1
  395. package/dist/containers/Tablet/TabletControls/index.js.map +0 -1
  396. package/dist/containers/Tablet/TabletInfo/TabletInfo.d.ts +0 -7
  397. package/dist/containers/Tablet/TabletInfo/TabletInfo.js +0 -40
  398. package/dist/containers/Tablet/TabletInfo/TabletInfo.js.map +0 -1
  399. package/dist/containers/Tablet/TabletInfo/index.js.map +0 -1
  400. package/dist/containers/Tablet/TabletTable/TabletTable.js.map +0 -1
  401. package/dist/containers/Tablet/TabletTable/index.js.map +0 -1
  402. package/dist/containers/TabletsFilters/TabletsFilters.d.ts +0 -2
  403. package/dist/containers/TabletsFilters/TabletsFilters.js +0 -91
  404. package/dist/containers/TabletsFilters/TabletsFilters.js.map +0 -1
  405. package/dist/containers/TabletsFilters/TabletsFilters.scss +0 -80
  406. package/dist/containers/TabletsFilters/i18n/en.json +0 -3
  407. package/dist/containers/TabletsFilters/i18n/index.d.ts +0 -2
  408. package/dist/containers/TabletsFilters/i18n/index.js +0 -6
  409. package/dist/containers/TabletsFilters/i18n/index.js.map +0 -1
  410. package/dist/containers/TabletsFilters/i18n/ru.json +0 -3
  411. package/dist/store/reducers/clusterNodes/clusterNodes.d.ts +0 -5
  412. package/dist/store/reducers/clusterNodes/clusterNodes.js +0 -22
  413. package/dist/store/reducers/clusterNodes/clusterNodes.js.map +0 -1
  414. package/dist/store/reducers/tabletsFilters.d.ts +0 -45
  415. package/dist/store/reducers/tabletsFilters.js +0 -20
  416. package/dist/store/reducers/tabletsFilters.js.map +0 -1
  417. /package/dist/containers/Tablet/{TabletControls → components/TabletControls}/index.d.ts +0 -0
  418. /package/dist/containers/Tablet/{TabletControls → components/TabletControls}/index.js +0 -0
  419. /package/dist/containers/Tablet/{TabletInfo → components/TabletInfo}/index.d.ts +0 -0
  420. /package/dist/containers/Tablet/{TabletInfo → components/TabletInfo}/index.js +0 -0
  421. /package/dist/containers/Tablet/{TabletTable → components/TabletTable}/index.d.ts +0 -0
  422. /package/dist/containers/Tablet/{TabletTable → components/TabletTable}/index.js +0 -0
@@ -98,7 +98,7 @@ export const TENANT_OVERVIEW_TABLES_SETTINGS = {
98
98
  dynamicRender: false,
99
99
  };
100
100
  export const DEFAULT_QUERY_SETTINGS = {
101
- queryMode: QUERY_MODES.script,
101
+ queryMode: QUERY_MODES.query,
102
102
  isolationLevel: ISOLATION_LEVELS.serializable,
103
103
  timeout: '60',
104
104
  statisticsMode: STATISTICS_MODES.none,
@@ -122,5 +122,5 @@ export const USE_CLUSTER_BALANCER_AS_BACKEND_KEY = 'useClusterBalancerAsBacked';
122
122
  export const ENABLE_AUTOCOMPLETE = 'enableAutocomplete';
123
123
  export const AUTOCOMPLETE_ON_ENTER = 'autocompleteOnEnter';
124
124
  export const IS_HOTKEYS_HELP_HIDDEN_KEY = 'isHotKeysHelpHidden';
125
- export const ENABLE_TRACING_LEVEL_KEY = 'enableTracingLevel';
125
+ export const DEV_ENABLE_TRACING_FOR_ALL_REQUESTS = 'enable_tracing_for_all_requests';
126
126
  //# sourceMappingURL=constants.js.map
@@ -1 +1 @@
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MAAM,uBAAuB,GAAG,0BAA0B,CAAC;AAElE,kCAAkC;AAClC,2CAA2C;AAC3C,MAAM,CAAC,MAAM,wBAAwB,GAAG,2BAA2B,CAAC;AAEpE,0CAA0C;AAC1C,MAAM,CAAC,MAAM,wBAAwB,GAAG,oBAAoB,CAAC;AAE7D,kDAAkD;AAClD,MAAM,CAAC,MAAM,0BAA0B,GAAG,qBAAqB,CAAC;AAEhE,MAAM,CAAC,MAAM,mCAAmC,GAAG,4BAA4B,CAAC;AAEhF,MAAM,CAAC,MAAM,mBAAmB,GAAG,oBAAoB,CAAC;AAExD,MAAM,CAAC,MAAM,qBAAqB,GAAG,qBAAqB,CAAC;AAE3D,MAAM,CAAC,MAAM,0BAA0B,GAAG,qBAAqB,CAAC;AAEhE,MAAM,CAAC,MAAM,mCAAmC,GAAG,iCAAiC,CAAC"}
@@ -14,6 +14,7 @@ export declare const roundToPrecision: (value: number | string, precision?: numb
14
14
  export declare const formatCPU: (value?: number | string) => string | undefined;
15
15
  export declare const formatCPUWithLabel: (value?: number) => string | undefined;
16
16
  export declare const formatDateTime: (value?: number | string, defaultValue?: string) => string;
17
+ export declare const formatTimestamp: (value?: string | number, defaultValue?: string) => string;
17
18
  export declare const calcUptimeInSeconds: (milliseconds: number | string) => number;
18
19
  export declare const calcUptime: (milliseconds?: number | string) => string;
19
20
  export declare function getStringifiedData(value: unknown): string;
@@ -102,6 +102,11 @@ export const formatDateTime = (value, defaultValue = '') => {
102
102
  const formattedData = (_a = dateTimeParse(Number(value))) === null || _a === void 0 ? void 0 : _a.format('YYYY-MM-DD HH:mm');
103
103
  return formattedData !== null && formattedData !== void 0 ? formattedData : defaultValue;
104
104
  };
105
+ export const formatTimestamp = (value, defaultValue = '') => {
106
+ var _a;
107
+ const formattedData = (_a = dateTimeParse(value)) === null || _a === void 0 ? void 0 : _a.format('YYYY-MM-DD HH:mm:ss.SSS');
108
+ return formattedData !== null && formattedData !== void 0 ? formattedData : defaultValue;
109
+ };
105
110
  export const calcUptimeInSeconds = (milliseconds) => {
106
111
  const currentDate = new Date();
107
112
  const diff = currentDate.getTime() - Number(milliseconds);
@@ -1 +1 @@
1
- {"version":3,"file":"dataFormatters.js","sourceRoot":"","sources":["../../../src/utils/dataFormatters/dataFormatters.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,aAAa,EAAC,MAAM,wBAAwB,CAAC;AAGrD,OAAO,EACH,WAAW,IAAI,iBAAiB,EAChC,4BAA4B,GAC/B,MAAM,6BAA6B,CAAC;AAErC,OAAO,EAAC,cAAc,EAAE,eAAe,EAAC,MAAM,cAAc,CAAC;AAC7D,OAAO,EAAC,iBAAiB,EAAC,MAAM,YAAY,CAAC;AAC7C,OAAO,EAAC,SAAS,EAAC,MAAM,UAAU,CAAC;AAEnC,OAAO,IAAI,MAAM,QAAQ,CAAC;AAE1B,sDAAsD;AACtD,gEAAgE;AAChE,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,KAAuB,EAAE,EAAE;IACnD,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,EAAE,CAAC;QACpB,OAAO,EAAE,CAAC;IACd,CAAC;IAED,qDAAqD;IACrD,OAAO,iBAAiB,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;AAClD,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,SAAS,GAAG,CAAC,KAAuB,EAAE,EAAE;IACjD,MAAM,cAAc,GAAG,WAAW,CAAC,KAAK,CAAC,CAAC;IAE1C,IAAI,CAAC,cAAc,EAAE,CAAC;QAClB,OAAO,EAAE,CAAC;IACd,CAAC;IAED,OAAO,cAAc,GAAG,IAAI,CAAC;AACjC,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,EAAwB,EAAE,EAAE;IACzD,OAAO,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,EAAE,CAA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C,CAAC;IAE9E,OAAO,aAAa,aAAb,aAAa,cAAb,aAAa,GAAI,YAAY,CAAC;AACzC,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,YAA6B,EAAE,EAAE;IACjE,MAAM,WAAW,GAAG,IAAI,IAAI,EAAE,CAAC;IAC/B,MAAM,IAAI,GAAG,WAAW,CAAC,OAAO,EAAE,GAAG,MAAM,CAAC,YAAY,CAAC,CAAC;IAC1D,OAAO,IAAI,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,GAAG,IAAI,CAAC;AACvC,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,YAA8B,EAAE,EAAE;IACzD,OAAO,YAAY,CAAC,mBAAmB,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC;AACnE,CAAC,CAAC;AAEF,MAAM,UAAU,kBAAkB,CAAC,KAAc;IAC7C,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;QACtB,OAAO,EAAE,CAAC;IACd,CAAC;IACD,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE,CAAC;QAC5B,OAAO,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;IACjC,CAAC;SAAM,CAAC;QACJ,OAAO,KAAK,CAAC,QAAQ,EAAE,CAAC;IAC5B,CAAC;AACL,CAAC"}
@@ -9,5 +9,5 @@ interface VDiskDeveloperUILinkParams extends PDiskDeveloperUILinkParams {
9
9
  vDiskSlotId: number | string;
10
10
  }
11
11
  export declare const createVDiskDeveloperUILink: ({ nodeId, pDiskId, vDiskSlotId, host, }: VDiskDeveloperUILinkParams) => string;
12
- export declare function createTabletDeveloperUIHref(tabletId: number | string, host?: string | undefined): string;
12
+ export declare function createTabletDeveloperUIHref(tabletId: number | string, tabletPage?: string, searchParam?: string, host?: string | undefined): string;
13
13
  export {};
@@ -18,7 +18,8 @@ export const createVDiskDeveloperUILink = ({ nodeId, pDiskId, vDiskSlotId, host,
18
18
  const vdiskPath = 'actors/vdisks/vdisk' + pad9(pDiskId) + '_' + pad9(vDiskSlotId);
19
19
  return createDeveloperUILinkWithNodeId(nodeId, host) + vdiskPath;
20
20
  };
21
- export function createTabletDeveloperUIHref(tabletId, host = backend) {
22
- return `${host}/tablets?TabletID=${tabletId}`;
21
+ export function createTabletDeveloperUIHref(tabletId, tabletPage, searchParam = 'TabletID', host = backend) {
22
+ const subPage = tabletPage ? `/${tabletPage}` : '';
23
+ return `${host}/tablets${subPage}?${searchParam}=${tabletId}`;
23
24
  }
24
25
  //# sourceMappingURL=developerUI.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"developerUI.js","sourceRoot":"","sources":["../../../src/utils/developerUI/developerUI.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,EAAC,MAAM,aAAa,CAAC;AACpC,OAAO,EAAC,IAAI,EAAC,MAAM,UAAU,CAAC;AAE9B,gEAAgE;AAChE,MAAM,CAAC,MAAM,+BAA+B,GAAG,CAAC,MAAuB,EAAE,IAAI,GAAG,OAAO,EAAE,EAAE;IACvF,MAAM,cAAc,GAAG,kBAAkB,CAAC;IAE1C,+EAA+E;IAC/E,uDAAuD;IACvD,IAAI,cAAc,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC;QACpC,OAAO,MAAM,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,cAAc,EAAE,SAAS,MAAM,GAAG,CAAC,CAAC;IACpE,CAAC;IAED,OAAO,GAAG,IAAI,aAAJ,IAAI,cAAJ,IAAI,GAAI,EAAE,SAAS,MAAM,GAAG,CAAC;AAC3C,CAAC,CAAC;AAQF,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,EAAC,MAAM,EAAE,OAAO,EAAE,IAAI,EAA6B,EAAE,EAAE;IAC9F,MAAM,SAAS,GAAG,qBAAqB,GAAG,IAAI,CAAC,OAAO,CAAC,CAAC;IAExD,OAAO,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EAA6B,EAAE,EAAE;IAC9F,MAAM,SAAS,GAAG,qBAAqB,GAAG,IAAI,CAAC,OAAO,CAAC,CAAC;IAExD,OAAO,+BAA+B,CAAC,MAAM,EAAE,IAAI,CAAC,GAAG,SAAS,CAAC;AACrE,CAAC,CAAC;AAMF,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,EACvC,MAAM,EACN,OAAO,EACP,WAAW,EACX,IAAI,GACqB,EAAE,EAAE;IAC7B,MAAM,SAAS,GAAG,qBAAqB,GAAG,IAAI,CAAC,OAAO,CAAC,GAAG,GAAG,GAAG,IAAI,CAAC,WAAW,CAAC,CAAC;IAElF,OAAO,+BAA+B,CAAC,MAAM,EAAE,IAAI,CAAC,GAAG,SAAS,CAAC;AACrE,CAAC,CAAC;AAEF,MAAM,UAAU,2BAA2B,CACvC,QAAyB,EACzB,UAAmB,EACnB,WAAW,GAAG,UAAU,EACxB,IAAI,GAAG,OAAO;IAEd,MAAM,OAAO,GAAG,UAAU,CAAC,CAAC,CAAC,IAAI,UAAU,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;IACnD,OAAO,GAAG,IAAI,WAAW,OAAO,IAAI,WAAW,IAAI,QAAQ,EAAE,CAAC;AAClE,CAAC"}
@@ -1,7 +1,8 @@
1
- import { DEFAULT_QUERY_SETTINGS, ENABLE_TRACING_LEVEL_KEY, QUERY_EXECUTION_SETTINGS_KEY, } from '../constants';
1
+ import { useTracingLevelOptionAvailable } from '../../store/reducers/capabilities/hooks';
2
+ import { DEFAULT_QUERY_SETTINGS, QUERY_EXECUTION_SETTINGS_KEY } from '../constants';
2
3
  import { useSetting } from './useSetting';
3
4
  export const useQueryExecutionSettings = () => {
4
- const [enableTracingLevel] = useSetting(ENABLE_TRACING_LEVEL_KEY);
5
+ const enableTracingLevel = useTracingLevelOptionAvailable();
5
6
  const [setting, setSetting] = useSetting(QUERY_EXECUTION_SETTINGS_KEY);
6
7
  return [
7
8
  {
@@ -1 +1 @@
1
- {"version":3,"file":"useQueryExecutionSettings.js","sourceRoot":"","sources":["../../../src/utils/hooks/useQueryExecutionSettings.ts"],"names":[],"mappings":"AACA,OAAO,EACH,sBAAsB,EACtB,wBAAwB,EACxB,4BAA4B,GAC/B,MAAM,cAAc,CAAC;AAEtB,OAAO,EAAC,UAAU,EAAC,MAAM,cAAc,CAAC;AAExC,MAAM,CAAC,MAAM,yBAAyB,GAAG,GAAG,EAAE;IAC1C,MAAM,CAAC,kBAAkB,CAAC,GAAG,UAAU,CAAU,wBAAwB,CAAC,CAAC;IAC3E,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,UAAU,CAAgB,4BAA4B,CAAC,CAAC;IAEtF,OAAO;QACH;YACI,GAAG,OAAO;YACV,YAAY,EAAE,kBAAkB;gBAC5B,CAAC,CAAC,OAAO,CAAC,YAAY;gBACtB,CAAC,CAAC,sBAAsB,CAAC,YAAY;SAC5C;QACD,UAAU;KACJ,CAAC;AACf,CAAC,CAAC"}
1
+ {"version":3,"file":"useQueryExecutionSettings.js","sourceRoot":"","sources":["../../../src/utils/hooks/useQueryExecutionSettings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,8BAA8B,EAAC,MAAM,yCAAyC,CAAC;AAEvF,OAAO,EAAC,sBAAsB,EAAE,4BAA4B,EAAC,MAAM,cAAc,CAAC;AAElF,OAAO,EAAC,UAAU,EAAC,MAAM,cAAc,CAAC;AAExC,MAAM,CAAC,MAAM,yBAAyB,GAAG,GAAG,EAAE;IAC1C,MAAM,kBAAkB,GAAG,8BAA8B,EAAE,CAAC;IAC5D,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,UAAU,CAAgB,4BAA4B,CAAC,CAAC;IAEtF,OAAO;QACH;YACI,GAAG,OAAO;YACV,YAAY,EAAE,kBAAkB;gBAC5B,CAAC,CAAC,OAAO,CAAC,YAAY;gBACtB,CAAC,CAAC,sBAAsB,CAAC,YAAY;SAC5C;QACD,UAAU;KACJ,CAAC;AACf,CAAC,CAAC"}
@@ -1,3 +1,10 @@
1
+ import type { NodesGroup } from '../../store/reducers/nodes/types';
1
2
  import type { TSystemStateInfo } from '../../types/api/nodes';
2
3
  import type { VersionToColorMap, VersionValue } from '../../types/versions';
3
4
  export declare const parseNodesToVersionsValues: (nodes?: TSystemStateInfo[], versionsToColor?: VersionToColorMap) => VersionValue[];
5
+ export declare function parseNodeGroupsToVersionsValues(groups: NodesGroup[], versionsToColor?: VersionToColorMap): {
6
+ title: string;
7
+ version: string;
8
+ color: string | undefined;
9
+ value: number;
10
+ }[];
@@ -20,4 +20,14 @@ export const parseNodesToVersionsValues = (nodes = [], versionsToColor) => {
20
20
  };
21
21
  });
22
22
  };
23
+ export function parseNodeGroupsToVersionsValues(groups, versionsToColor) {
24
+ return groups.map((group) => {
25
+ return {
26
+ title: group.name,
27
+ version: group.name,
28
+ color: versionsToColor === null || versionsToColor === void 0 ? void 0 : versionsToColor.get(group.name),
29
+ value: group.count,
30
+ };
31
+ });
32
+ }
23
33
  //# sourceMappingURL=parseNodesToVersionsValues.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"parseNodesToVersionsValues.js","sourceRoot":"","sources":["../../../src/utils/versions/parseNodesToVersionsValues.ts"],"names":[],"mappings":"AAGA,OAAO,EAAC,eAAe,EAAC,MAAM,gBAAgB,CAAC;AAE/C,MAAM,CAAC,MAAM,0BAA0B,GAAG,CACtC,QAA4B,EAAE,EAC9B,eAAmC,EACrB,EAAE;IAChB,MAAM,aAAa,GAAG,KAAK,CAAC,MAAM,CAAyB,CAAC,GAAG,EAAE,IAAI,EAAE,EAAE;QACrE,IAAI,IAAI,CAAC,OAAO,EAAE,CAAC;YACf,IAAI,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC;gBACpB,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;YAC9C,CAAC;iBAAM,CAAC;gBACJ,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;YAC1B,CAAC;QACL,CAAC;QACD,OAAO,GAAG,CAAC;IACf,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,OAAO,MAAM,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE;QAC9C,OAAO;YACH,KAAK,EAAE,OAAO;YACd,OAAO,EAAE,OAAO;YAChB,KAAK,EAAE,eAAe,aAAf,eAAe,uBAAf,eAAe,CAAE,GAAG,CAAC,eAAe,CAAC,OAAO,CAAC,CAAC;YACrD,KAAK,EAAE,CAAC,aAAa,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC,MAAM,CAAC,GAAG,GAAG;SACvD,CAAC;IACN,CAAC,CAAC,CAAC;AACP,CAAC,CAAC"}
1
+ {"version":3,"file":"parseNodesToVersionsValues.js","sourceRoot":"","sources":["../../../src/utils/versions/parseNodesToVersionsValues.ts"],"names":[],"mappings":"AAIA,OAAO,EAAC,eAAe,EAAC,MAAM,gBAAgB,CAAC;AAE/C,MAAM,CAAC,MAAM,0BAA0B,GAAG,CACtC,QAA4B,EAAE,EAC9B,eAAmC,EACrB,EAAE;IAChB,MAAM,aAAa,GAAG,KAAK,CAAC,MAAM,CAAyB,CAAC,GAAG,EAAE,IAAI,EAAE,EAAE;QACrE,IAAI,IAAI,CAAC,OAAO,EAAE,CAAC;YACf,IAAI,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC;gBACpB,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;YAC9C,CAAC;iBAAM,CAAC;gBACJ,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;YAC1B,CAAC;QACL,CAAC;QACD,OAAO,GAAG,CAAC;IACf,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,OAAO,MAAM,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE;QAC9C,OAAO;YACH,KAAK,EAAE,OAAO;YACd,OAAO,EAAE,OAAO;YAChB,KAAK,EAAE,eAAe,aAAf,eAAe,uBAAf,eAAe,CAAE,GAAG,CAAC,eAAe,CAAC,OAAO,CAAC,CAAC;YACrD,KAAK,EAAE,CAAC,aAAa,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC,MAAM,CAAC,GAAG,GAAG;SACvD,CAAC;IACN,CAAC,CAAC,CAAC;AACP,CAAC,CAAC;AAEF,MAAM,UAAU,+BAA+B,CAC3C,MAAoB,EACpB,eAAmC;IAEnC,OAAO,MAAM,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE;QACxB,OAAO;YACH,KAAK,EAAE,KAAK,CAAC,IAAI;YACjB,OAAO,EAAE,KAAK,CAAC,IAAI;YACnB,KAAK,EAAE,eAAe,aAAf,eAAe,uBAAf,eAAe,CAAE,GAAG,CAAC,KAAK,CAAC,IAAI,CAAC;YACvC,KAAK,EAAE,KAAK,CAAC,KAAK;SACrB,CAAC;IACN,CAAC,CAAC,CAAC;AACP,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ydb-embedded-ui",
3
- "version": "6.15.1",
3
+ "version": "6.17.0",
4
4
  "files": [
5
5
  "dist"
6
6
  ],
@@ -38,6 +38,7 @@
38
38
  "path-to-regexp": "^3.0.0",
39
39
  "qs": "^6.12.0",
40
40
  "react-error-boundary": "^4.0.13",
41
+ "react-freeze": "^1.0.4",
41
42
  "react-helmet-async": "^2.0.5",
42
43
  "react-hook-form": "^7.52.1",
43
44
  "react-json-inspector": "^7.1.1",
@@ -1,10 +0,0 @@
1
- import type { EFlag } from '../../types/api/enums';
2
- import './DiskPageTitle.scss';
3
- interface DiskPageTitleProps {
4
- entityName: React.ReactNode;
5
- status: EFlag;
6
- id: React.ReactNode;
7
- className?: string;
8
- }
9
- export declare function DiskPageTitle({ entityName, status, id, className }: DiskPageTitleProps): import("react/jsx-runtime").JSX.Element;
10
- export {};
@@ -1 +0,0 @@
1
- {"version":3,"file":"DiskPageTitle.js","sourceRoot":"","sources":["../../../src/components/DiskPageTitle/DiskPageTitle.tsx"],"names":[],"mappings":";AACA,OAAO,EAAC,EAAE,EAAC,MAAM,gBAAgB,CAAC;AAClC,OAAO,EAAC,UAAU,EAAC,MAAM,0BAA0B,CAAC;AAEpD,OAAO,sBAAsB,CAAC;AAE9B,MAAM,CAAC,GAAG,EAAE,CAAC,qBAAqB,CAAC,CAAC;AASpC,MAAM,UAAU,aAAa,CAAC,EAAC,UAAU,EAAE,MAAM,EAAE,EAAE,EAAE,SAAS,EAAqB;IACjF,OAAO,CACH,eAAK,SAAS,EAAE,CAAC,CAAC,IAAI,EAAE,SAAS,CAAC,aAC9B,eAAM,SAAS,EAAE,CAAC,CAAC,QAAQ,CAAC,YAAG,UAAU,GAAQ,EACjD,KAAC,UAAU,IAAC,SAAS,EAAE,CAAC,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAC,GAAG,GAAG,EAC5D,EAAE,IACD,CACT,CAAC;AACN,CAAC"}
@@ -1,43 +0,0 @@
1
- import type { IResponseError } from '../../types/api/error';
2
- import type { Chunk } from './types';
3
- declare const SET_CHUNK_DATA = "infiniteTable/SET_CHUNK_DATA";
4
- type PaginatedTableState<T> = Record<string, Chunk<T> | undefined>;
5
- interface SetChunkDataAction<T> {
6
- type: typeof SET_CHUNK_DATA;
7
- data: {
8
- id: string;
9
- data: T[];
10
- };
11
- }
12
- export declare const setChunkData: <T>(id: string, data: T[]) => SetChunkDataAction<T>;
13
- export declare const setChunkError: (id: string, error: IResponseError) => {
14
- readonly type: "infiniteTable/SET_CHUNK_ERROR";
15
- readonly data: {
16
- readonly id: string;
17
- readonly error: IResponseError<unknown>;
18
- };
19
- };
20
- export declare const initChunk: (id: string) => {
21
- readonly type: "infiniteTable/INIT_CHUNK";
22
- readonly data: {
23
- readonly id: string;
24
- };
25
- };
26
- export declare const setChunkLoading: (id: string) => {
27
- readonly type: "infiniteTable/SET_CHUNK_LOADING";
28
- readonly data: {
29
- readonly id: string;
30
- };
31
- };
32
- export declare const removeChunk: (id: string) => {
33
- readonly type: "infiniteTable/REMOVE_CHUNK";
34
- readonly data: {
35
- readonly id: string;
36
- };
37
- };
38
- export declare const resetChunks: () => {
39
- readonly type: "infiniteTable/RESET_CHUNKS";
40
- };
41
- type PaginatedTableAction<T> = SetChunkDataAction<T> | ReturnType<typeof setChunkError> | ReturnType<typeof initChunk> | ReturnType<typeof setChunkLoading> | ReturnType<typeof removeChunk> | ReturnType<typeof resetChunks>;
42
- export declare const createPaginatedTableReducer: <T>() => React.Reducer<PaginatedTableState<T>, PaginatedTableAction<T>>;
43
- export {};
@@ -1,104 +0,0 @@
1
- const INIT_CHUNK = 'infiniteTable/INIT_CHUNK';
2
- const REMOVE_CHUNK = 'infiniteTable/REMOVE_CHUNK';
3
- const SET_CHUNK_LOADING = 'infiniteTable/SET_CHUNK_LOADING';
4
- const SET_CHUNK_DATA = 'infiniteTable/SET_CHUNK_DATA';
5
- const SET_CHUNK_ERROR = 'infiniteTable/SET_CHUNK_ERROR';
6
- const RESET_CHUNKS = 'infiniteTable/RESET_CHUNKS';
7
- export const setChunkData = (id, data) => {
8
- return {
9
- type: SET_CHUNK_DATA,
10
- data: { id, data },
11
- };
12
- };
13
- export const setChunkError = (id, error) => {
14
- return {
15
- type: SET_CHUNK_ERROR,
16
- data: { id, error },
17
- };
18
- };
19
- export const initChunk = (id) => {
20
- return {
21
- type: INIT_CHUNK,
22
- data: { id },
23
- };
24
- };
25
- export const setChunkLoading = (id) => {
26
- return {
27
- type: SET_CHUNK_LOADING,
28
- data: { id },
29
- };
30
- };
31
- export const removeChunk = (id) => {
32
- return {
33
- type: REMOVE_CHUNK,
34
- data: { id },
35
- };
36
- };
37
- export const resetChunks = () => {
38
- return {
39
- type: RESET_CHUNKS,
40
- };
41
- };
42
- // Reducer wrapped in additional function to pass generic type
43
- export const createPaginatedTableReducer = () => (state, action) => {
44
- switch (action.type) {
45
- case SET_CHUNK_DATA: {
46
- const { id, data } = action.data;
47
- return {
48
- ...state,
49
- [id]: {
50
- loading: false,
51
- wasLoaded: true,
52
- active: true,
53
- data,
54
- },
55
- };
56
- }
57
- case SET_CHUNK_ERROR: {
58
- const { id, error } = action.data;
59
- return {
60
- ...state,
61
- [id]: {
62
- loading: false,
63
- wasLoaded: true,
64
- active: true,
65
- error,
66
- },
67
- };
68
- }
69
- case INIT_CHUNK: {
70
- const { id } = action.data;
71
- return {
72
- ...state,
73
- [id]: {
74
- loading: false,
75
- wasLoaded: false,
76
- active: true,
77
- },
78
- };
79
- }
80
- case SET_CHUNK_LOADING: {
81
- const { id } = action.data;
82
- return {
83
- ...state,
84
- [id]: {
85
- loading: true,
86
- wasLoaded: false,
87
- active: true,
88
- },
89
- };
90
- }
91
- case REMOVE_CHUNK: {
92
- const { id } = action.data;
93
- const newState = { ...state };
94
- delete newState[id];
95
- return newState;
96
- }
97
- case RESET_CHUNKS: {
98
- return {};
99
- }
100
- default:
101
- return state;
102
- }
103
- };
104
- //# sourceMappingURL=reducer.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"reducer.js","sourceRoot":"","sources":["../../../src/components/PaginatedTable/reducer.ts"],"names":[],"mappings":"AAIA,MAAM,UAAU,GAAG,0BAA0B,CAAC;AAC9C,MAAM,YAAY,GAAG,4BAA4B,CAAC;AAClD,MAAM,iBAAiB,GAAG,iCAAiC,CAAC;AAC5D,MAAM,cAAc,GAAG,8BAA8B,CAAC;AACtD,MAAM,eAAe,GAAG,+BAA+B,CAAC;AACxD,MAAM,YAAY,GAAG,4BAA4B,CAAC;AAalD,MAAM,CAAC,MAAM,YAAY,GAAG,CAAI,EAAU,EAAE,IAAS,EAAyB,EAAE;IAC5E,OAAO;QACH,IAAI,EAAE,cAAc;QACpB,IAAI,EAAE,EAAC,E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StateInfo } from '../../../types/api/tablet';
2
- interface TabletControlsProps {
3
- tablet: TTabletStateInfo;
4
- fetchData: () => Promise<unknown>;
5
- }
6
- export declare const TabletControls: ({ tablet, fetchData }: TabletControlsProps) => import("react/jsx-runtime").JSX.Element;
7
- export {};
@@ -1,29 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import React from 'react';
3
- import { ButtonWithConfirmDialog } from '../../../components/ButtonWithConfirmDialog/ButtonWithConfirmDialog';
4
- import { selectIsUserAllowedToMakeChanges } from '../../../store/reducers/authentication/authentication';
5
- import { ETabletState } from '../../../types/api/tablet';
6
- import { useTypedSelector } from '../../../utils/hooks';
7
- import { b } from '../Tablet';
8
- import i18n from '../i18n';
9
- export const TabletControls = ({ tablet, fetchData }) => {
10
- const { TabletId, HiveId } = tablet;
11
- const isUserAllowedToMakeChanges = useTypedSelector(selectIsUserAllowedToMakeChanges);
12
- const _onKillClick = () => {
13
- return window.api.killTablet(TabletId);
14
- };
15
- const _onStopClick = () => {
16
- return window.api.stopTablet(TabletId, HiveId);
17
- };
18
- const _onResumeClick = () => {
19
- return window.api.resumeTablet(TabletId, HiveId);
20
- };
21
- const hasHiveId = () => {
22
- return HiveId && HiveId !== '0';
23
- };
24
- const isDisabledRestart = tablet.State === ETabletState.Stopped;
25
- const isDisabledResume = tablet.State !== ETabletState.Stopped && tablet.State !== ETabletState.Dead;
26
- const isDisabledStop = tablet.State === ETabletState.Stopped || tablet.State === ETabletState.Deleted;
27
- return (_jsxs("div", { className: b('controls'), children: [_jsx(ButtonWithConfirmDialog, { dialogContent: i18n('dialog.kill'), onConfirmAction: _onKillClick, onConfirmActionSuccess: fetchData, buttonClassName: b('control'), buttonDisabled: isDisabledRestart || !isUserAllowedToMakeChanges, withPopover: true, popoverContent: i18n('controls.kill-not-allowed'), popoverPlacement: 'bottom', popoverDisabled: isUserAllowedToMakeChanges, children: i18n('controls.kill') }), hasHiveId() ? (_jsxs(React.Fragment, { children: [_jsx(ButtonWithConfirmDialog, { dialogContent: i18n('dialog.stop'), onConfirmAction: _onStopClick, onConfirmActionSuccess: fetchData, buttonClassName: b('control'), buttonDisabled: isDisabledStop || !isUserAllowedToMakeChanges, withPopover: true, popoverContent: i18n('controls.stop-not-allowed'), popoverPlacement: 'bottom', popoverDisabled: isUserAllowedToMakeChanges, children: i18n('controls.stop') }), _jsx(ButtonWithConfirmDialog, { dialogContent: i18n('dialog.resume'), onConfirmAction: _onResumeClick, onConfirmActionSuccess: fetchData, buttonClassName: b('control'), buttonDisabled: isDisabledResume || !isUserAllowedToMakeChanges, withPopover: true, popoverContent: i18n('controls.resume-not-allowed'), popoverPlacement: 'bottom', popoverDisabled: isUserAllowedToMakeChanges, children: i18n('controls.resume') })] })) : null] }));
28
- };
29
- //# sourceMappingURL=TabletControls.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TabletControls.js","sourceRoot":"","sources":["../../../../src/containers/Tablet/TabletControls/TabletControls.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,uBAAuB,EAAC,MAAM,qEAAqE,CAAC;AAC5G,OAAO,EAAC,gCAAgC,EAAC,MAAM,uDAAuD,CAAC;AACvG,OAAO,EAAC,YAAY,EAAC,MAAM,2BAA2B,CAAC;AAEvD,OAAO,EAAC,gBAAgB,EAAC,MAAM,sBAAsB,CAAC;AACtD,OAAO,EAAC,CAAC,EAAC,MAAM,WAAW,CAAC;AAC5B,OAAO,IAAI,MAAM,SAAS,CAAC;AAO3B,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,EAAC,MAAM,EAAE,SAAS,EAAsB,EAAE,EAAE;IACvE,MAAM,EAAC,QAAQ,EAAE,MAAM,EAAC,GAAG,MAAM,CAAC;IAElC,MAAM,0BAA0B,GAAG,gBAAgB,CAAC,gCAAgC,CAAC,CAAC;IAEtF,MAAM,YAAY,GAAG,GAAG,EAAE;QACtB,OAAO,MAAM,CAAC,GAA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C,uBAAuB,IACpB,aAAa,EAAE,IAAI,CAAC,aAAa,CAAC,EAClC,eAAe,EAAE,YAAY,EAC7B,sBAAsB,EAAE,SAAS,EACjC,eAAe,EAAE,CAAC,CAAC,SAAS,CAAC,EAC7B,cAAc,EAAE,cAAc,IAAI,CAAC,0BAA0B,EAC7D,WAAW,QACX,cAAc,EAAE,IAAI,CAAC,2BAA2B,CAAC,EACjD,gBAAgB,EAAE,QAAQ,EAC1B,eAAe,EAAE,0BAA0B,YAE1C,IAAI,CAAC,eAAe,CAAC,GACA,EAC1B,KAAC,uBAAuB,IACpB,aAAa,EAAE,IAAI,CAAC,eAAe,CAAC,EACpC,eAAe,EAAE,cAAc,EAC/B,sBAAsB,EAAE,SAAS,EACjC,eAAe,EAAE,CAAC,CAAC,SAAS,CAAC,EAC7B,cAAc,EAAE,gBAAgB,IAAI,CAAC,0BAA0B,EAC/D,WAAW,QACX,cAAc,EAAE,IAAI,CAAC,6BAA6B,CAAC,EACnD,gBAAgB,EAAE,QAAQ,EAC1B,eAAe,EAAE,0BAA0B,YAE1C,IAAI,CAAC,iBAAiB,CAAC,GACF,IACb,CACpB,CAAC,CAAC,CAAC,IAAI,IACN,CACT,CAAC;AACN,CAAC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/containers/Tablet/TabletControls/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC"}
@@ -1,7 +0,0 @@
1
- import type { TTabletStateInfo } from '../../../types/api/tablet';
2
- interface TabletInfoProps {
3
- tablet: TTabletStateInfo;
4
- tenantPath?: string;
5
- }
6
- export declare const TabletInfo: ({ tablet, tenantPath }: TabletInfoProps) => import("react/jsx-runtime").JSX.Element;
7
- export {};
@@ -1,40 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import { Link as UIKitLink } from '@gravity-ui/uikit';
3
- import { Link } from 'react-router-dom';
4
- import { InfoViewer } from '../../../components/InfoViewer';
5
- import routes, { createHref } from '../../../routes';
6
- import { ETabletState } from '../../../types/api/tablet';
7
- import { calcUptime } from '../../../utils/dataFormatters/dataFormatters';
8
- import { getDefaultNodePath } from '../../Node/NodePages';
9
- import { b } from '../Tablet';
10
- export const TabletInfo = ({ tablet, tenantPath }) => {
11
- const { ChangeTime, Generation, FollowerId, NodeId, HiveId, State, Type, TenantId: { SchemeShard } = {}, } = tablet;
12
- const hasHiveId = HiveId && HiveId !== '0';
13
- const hasUptime = State === ETabletState.Active;
14
- const tabletInfo = [{ label: 'Database', value: tenantPath || '-' }];
15
- if (hasHiveId) {
16
- tabletInfo.push({
17
- label: 'HiveId',
18
- value: (_jsx(UIKitLink, { href: createHref(routes.tablet, { id: HiveId }), target: "_blank", children: HiveId })),
19
- });
20
- }
21
- if (SchemeShard) {
22
- tabletInfo.push({
23
- label: 'SchemeShard',
24
- value: (_jsx(UIKitLink, { href: createHref(routes.tablet, { id: SchemeShard }), target: "_blank", children: SchemeShard })),
25
- });
26
- }
27
- tabletInfo.push({ label: 'Type', value: Type }, { label: 'State', value: State });
28
- if (hasUptime) {
29
- tabletInfo.push({ label: 'Uptime', value: calcUptime(ChangeTime) });
30
- }
31
- tabletInfo.push({ label: 'Generation', value: Generation }, {
32
- label: 'Node',
33
- value: (_jsx(Link, { className: b('link'), to: getDefaultNodePath(String(NodeId)), children: NodeId })),
34
- });
35
- if (FollowerId) {
36
- tabletInfo.push({ label: 'Follower', value: FollowerId });
37
- }
38
- return _jsx(InfoViewer, { info: tabletInfo });
39
- };
40
- //# sourceMappingURL=TabletInfo.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TabletInfo.js","sourceRoot":"","sources":["../../../../src/containers/Tablet/TabletInfo/TabletInfo.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,IAAI,IAAI,SAAS,EAAC,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAC,IAAI,EAAC,MAAM,kBAAkB,CAAC;AAGtC,OAAO,EAAC,UAAU,EAA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,EAAE,EAAE,WAAW,EAAC,CAAC,EAAE,MAAM,EAAC,QAAQ,YACzE,WAAW,GACJ,CACf;SACJ,CAAC,CAAC;IACP,CAAC;IAED,UAAU,CAAC,IAAI,CAAC,EAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAC,EAAE,EAAC,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,EAAC,CAAC,CAAC;IAE9E,IAAI,SAAS,EAAE,CAAC;QACZ,UAAU,CAAC,IAAI,CAAC,EAAC,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,UAAU,CAAC,UAAU,CAAC,EAAC,CAAC,CAAC;IACtE,CAAC;IAED,UAAU,CAAC,IAAI,CACX,EAAC,KAAK,EAAE,YAAY,EAAE,KAAK,EAAE,UAAU,EAAC,EACxC;QACI,KAAK,EAAE,MAAM;QACb,KAAK,EAAE,CACH,KAAC,IAAI,IAAC,SAAS,EAAE,CAAC,CAAC,MAAM,CAAC,EAAE,EAAE,EAAE,kBAAkB,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,YAC7D,MAAM,GACJ,CACV;KACJ,CACJ,CAAC;IAEF,IAAI,UAAU,EAAE,CAAC;QACb,UAAU,CAAC,IAAI,CAAC,EAAC,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,UAAU,EAAC,CAAC,CAAC;IAC5D,CAAC;IAED,OAAO,KAAC,UAAU,IAAC,IAAI,EAAE,UAAU,GAAI,CAAC;AAC5C,CAAC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/containers/Tablet/TabletInfo/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"TabletTable.js","sourceRoot":"","sources":["../../../../src/containers/Tablet/TabletTable/TabletTable.tsx"],"names":[],"mappings":";AACA,OAAO,SAAS,MAAM,8BAA8B,CAAC;AAErD,OAAO,EAAC,YAAY,EAAC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,MAAM,GAAgB,CAAC;QACzF,CAAC;KACJ;IACD;QACI,IAAI,EAAE,WAAW;QACjB,QAAQ,EAAE,KAAK;QACf,KAAK,EAAE,GAAG;QACV,MAAM,EAAE,CAAC,EAAC,GAAG,EAAC,EAAE,EAAE;YACd,IAAI,CAAC,GAAG,CAAC,IAAI,EAAE,CAAC;gBACZ,OAAO,oCAAc,CAAC;YAC1B,CAAC;YACD,OAAO,KAAC,YAAY,IAAC,IAAI,EAAE,GAAG,CAAC,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,kBAAkB,SAAG,CAAC;QAClF,CAAC;KACJ;CACJ,CAAC;AAEF,MAAM,cAAc,GAAG;IACnB,cAAc,EAAE,KAAK;CACxB,CAAC;AAMF,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,EAAC,OAAO,EAAmB,EAAE,EAAE;IACvD,OAAO,CACH,KAAC,mBAAmB,IAChB,iBAAiB,EAAE,2BAA2B,EAC9C,IAAI,EAAE,OAAO,EACb,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,cAAc,EACxB,gBAAgB,EAAE;YACd,QAAQ,EAAE,YAAY;YACtB,KAAK,EAAE,SAAS,CAAC,UAAU;SAC9B,GACH,CACL,CAAC;AACN,CAAC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/containers/Tablet/TabletTable/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC"}
@@ -1,2 +0,0 @@
1
- import './TabletsFilters.scss';
2
- export declare function TabletsFilters(): import("react/jsx-runtime").JSX.Element;
@@ -1,91 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import React from 'react';
3
- import { Loader, Select } from '@gravity-ui/uikit';
4
- import map from 'lodash/map';
5
- import { Helmet } from 'react-helmet-async';
6
- import ReactList from 'react-list';
7
- import { ArrayParam, StringParam, useQueryParams } from 'use-query-params';
8
- import { z } from 'zod';
9
- import { AccessDenied } from '../../components/Errors/403';
10
- import { ResponseError } from '../../components/Errors/ResponseError';
11
- import { Tablet } from '../../components/Tablet';
12
- import { setHeaderBreadcrumbs } from '../../store/reducers/header/header';
13
- import { nodesListApi } from '../../store/reducers/nodesList';
14
- import { tabletsApi } from '../../store/reducers/tablets';
15
- import { getFilteredTablets } from '../../store/reducers/tabletsFilters';
16
- import { cn } from '../../utils/cn';
17
- import { AUTO_RELOAD_INTERVAL, CLUSTER_DEFAULT_TITLE } from '../../utils/constants';
18
- import { useTypedDispatch, useTypedSelector } from '../../utils/hooks';
19
- import { tabletColorToTabletState, tabletStates } from '../../utils/tablet';
20
- import i18n from './i18n';
21
- import './TabletsFilters.scss';
22
- const b = cn('tablets-filters');
23
- const stringArrayParam = z.preprocess((arg) => {
24
- if (Array.isArray(arg)) {
25
- return arg.filter(Boolean).sort();
26
- }
27
- return [];
28
- }, z.string().array());
29
- const stateArrayParam = z.preprocess((arg) => {
30
- if (Array.isArray(arg)) {
31
- return arg
32
- .flatMap((item) => tabletColorToTabletState[item] || item)
33
- .filter(Boolean);
34
- }
35
- return [];
36
- }, z.string().array());
37
- const CONTROL_WIDTH = 220;
38
- const POPUP_WIDTH = 300;
39
- export function TabletsFilters() {
40
- var _a;
41
- const [params, setParams] = useQueryParams({
42
- nodeIds: ArrayParam,
43
- type: ArrayParam,
44
- state: ArrayParam,
45
- path: StringParam,
46
- clusterName: StringParam,
47
- });
48
- const path = (_a = params.path) !== null && _a !== void 0 ? _a : undefined;
49
- const dispatch = useTypedDispatch();
50
- React.useEffect(() => {
51
- dispatch(setHeaderBreadcrumbs('tablets', {
52
- tenantName: path,
53
- }));
54
- }, [dispatch, path]);
55
- const nodeIds = stringArrayParam.parse(params.nodeIds);
56
- const { currentData, isFetching, error } = tabletsApi.useGetTabletsInfoQuery({ nodes: nodeIds, path }, {
57
- pollingInterval: AUTO_RELOAD_INTERVAL,
58
- });
59
- const { data: nodes } = nodesListApi.useGetNodesListQuery({}, { pollingInterval: AUTO_RELOAD_INTERVAL });
60
- const loading = isFetching && currentData === undefined;
61
- const stateFilter = stateArrayParam.parse(params.state);
62
- const states = tabletStates.map((item) => ({ value: item, content: item }));
63
- const typeFilter = stringArrayParam.parse(params.type);
64
- const types = Array.from(new Set(...[map(currentData === null || currentData === void 0 ? void 0 : currentData.TabletStateInfo, (tblt) => tblt.Type)])).map((item) => ({
65
- value: String(item),
66
- content: item,
67
- }));
68
- const filteredTablets = useTypedSelector((state) => getFilteredTablets(state, { nodes: nodeIds, path }, stateFilter, typeFilter));
69
- const renderTablet = (index, key) => (_jsx(Tablet, { tablet: filteredTablets[index], tenantName: path }, key));
70
- const nodesForSelect = map(nodes, (node) => ({
71
- content: node.Id,
72
- value: String(node.Id),
73
- data: node.Host,
74
- }));
75
- const renderView = () => {
76
- if (loading) {
77
- return (_jsx("div", { className: 'loader', children: _jsx(Loader, { size: "l" }) }));
78
- }
79
- if (error && typeof error === 'object' && 'status' in error && error.status === 403) {
80
- return _jsx(AccessDenied, {});
81
- }
82
- return (_jsxs("div", { className: b(), children: [path ? (_jsxs("div", { className: b('tenant'), children: [_jsx("span", { className: b('label'), children: "Database: " }), " ", path] })) : null, _jsx(Filters, { nodesForSelect: nodesForSelect, nodeFilter: nodeIds, onChangeNodes: (n) => setParams({ nodeIds: n }), states: states, stateFilter: stateFilter, onChangeStates: (s) => setParams({ state: s }), types: types, typeFilter: typeFilter, onChangeTypes: (t) => setParams({ type: t }) }), error ? _jsx(ResponseError, { error: error }) : null, filteredTablets.length > 0 ? (_jsx("div", { className: b('items'), children: _jsx(ReactList, { itemRenderer: renderTablet, length: filteredTablets.length, type: "uniform" }) })) : (!error && _jsx("div", { className: b('empty-message'), children: "no tablets" }))] }));
83
- };
84
- return (_jsxs(React.Fragment, { children: [_jsx(Helmet, { children: _jsx("title", { children: `${i18n('page.title')} — ${path || params.clusterName || CLUSTER_DEFAULT_TITLE}` }) }), renderView()] }));
85
- }
86
- function Filters({ nodesForSelect, nodeFilter, onChangeNodes, states, stateFilter, onChangeStates, types, typeFilter, onChangeTypes, }) {
87
- return (_jsxs("div", { className: b('filters'), children: [_jsx("div", { className: b('filter-wrapper'), children: _jsx(Select, { multiple: true, label: "Node ID", width: CONTROL_WIDTH, popupWidth: POPUP_WIDTH, placeholder: "All", options: nodesForSelect, value: nodeFilter, onUpdate: onChangeNodes, renderOption: (option) => {
88
- return (_jsxs("div", { className: b('node'), children: [_jsx("div", { children: option.content }), _jsx("div", { className: b('node-meta'), title: option.data, children: option.data })] }));
89
- }, getOptionHeight: () => 40 }) }), _jsx("div", { className: b('filter-wrapper'), children: _jsx(Select, { multiple: true, label: "multiple", width: CONTROL_WIDTH, placeholder: "All", options: states, value: stateFilter, onUpdate: onChangeStates }) }), _jsx("div", { className: b('filter-wrapper'), children: _jsx(Select, { multiple: true, label: "Types", width: CONTROL_WIDTH, placeholder: "All", options: types, value: typeFilter, onUpdate: onChangeTypes }) })] }));
90
- }
91
- //# sourceMappingURL=TabletsFilters.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TabletsFilters.js","sourceRoot":"","sources":["../../../src/containers/TabletsFilters/TabletsFilters.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAC,MAAM,EAAE,MAAM,EAAC,MAAM,mBAAmB,CAAC;AACjD,OAAO,GAAG,MAAM,YAAY,CAAC;AAC7B,OAAO,EAAC,MAAM,EAAC,MAAM,oBAAoB,CAAC;AAC1C,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,EAAC,UAAU,EAAE,WAAW,EAAE,cAAc,EAAC,MAAM,kBAAkB,CAAC;AACzE,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AAEtB,OAAO,EAAC,YAAY,EAAC,MAAM,6BAA6B,CAAC;AACzD,OAAO,EAAC,aAAa,EAAC,MAAM,uCAAuC,CAAC;AACpE,OAAO,EAAC,MAAM,EAAC,MAAM,yBAAyB,CAAC;AAC/C,OA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