ydb-embedded-ui 6.15.0 → 6.16.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (305) hide show
  1. package/README.md +1 -1
  2. package/dist/components/ElapsedTime/ElapsedTime.js +2 -1
  3. package/dist/components/ElapsedTime/ElapsedTime.js.map +1 -1
  4. package/dist/components/EmptyState/EmptyState.d.ts +6 -0
  5. package/dist/components/EmptyState/EmptyState.js +6 -0
  6. package/dist/components/EmptyState/EmptyState.js.map +1 -1
  7. package/dist/components/EntitiesCount/EntitiesCount.js +3 -1
  8. package/dist/components/EntitiesCount/EntitiesCount.js.map +1 -1
  9. package/dist/components/EntityPageTitle/EntityPageTitle.d.ts +11 -0
  10. package/dist/components/{DiskPageTitle/DiskPageTitle.js → EntityPageTitle/EntityPageTitle.js} +5 -5
  11. package/dist/components/EntityPageTitle/EntityPageTitle.js.map +1 -0
  12. package/dist/components/{DiskPageTitle/DiskPageTitle.scss → EntityPageTitle/EntityPageTitle.scss} +1 -1
  13. package/dist/components/InfoViewerSkeleton/InfoViewerSkeleton.d.ts +2 -1
  14. package/dist/components/InfoViewerSkeleton/InfoViewerSkeleton.js +10 -1
  15. package/dist/components/InfoViewerSkeleton/InfoViewerSkeleton.js.map +1 -1
  16. package/dist/components/MetricChart/reducer.d.ts +2 -2
  17. package/dist/components/NotRenderUntilFirstVisible/NotRenderUntilFirstVisible.d.ts +9 -0
  18. package/dist/components/NotRenderUntilFirstVisible/NotRenderUntilFirstVisible.js +9 -0
  19. package/dist/components/NotRenderUntilFirstVisible/NotRenderUntilFirstVisible.js.map +1 -0
  20. package/dist/components/NotRenderUntilFirstVisible/NotRenderUntilFirstVisible.scss +3 -0
  21. package/dist/components/PageMeta/PageMeta.d.ts +2 -1
  22. package/dist/components/PageMeta/PageMeta.js +9 -4
  23. package/dist/components/PageMeta/PageMeta.js.map +1 -1
  24. package/dist/components/PageMeta/PageMeta.scss +9 -6
  25. package/dist/components/PaginatedTable/PaginatedTable.d.ts +5 -4
  26. package/dist/components/PaginatedTable/PaginatedTable.js +24 -116
  27. package/dist/components/PaginatedTable/PaginatedTable.js.map +1 -1
  28. package/dist/components/PaginatedTable/ResizeablePaginatedTable.d.ts +2 -2
  29. package/dist/components/PaginatedTable/ResizeablePaginatedTable.js.map +1 -1
  30. package/dist/components/PaginatedTable/TableChunk.d.ts +13 -5
  31. package/dist/components/PaginatedTable/TableChunk.js +51 -21
  32. package/dist/components/PaginatedTable/TableChunk.js.map +1 -1
  33. package/dist/components/PaginatedTable/TableRow.js +1 -1
  34. package/dist/components/PaginatedTable/TableRow.js.map +1 -1
  35. package/dist/components/PaginatedTable/types.d.ts +8 -1
  36. package/dist/components/Skeleton/Skeleton.d.ts +6 -0
  37. package/dist/components/Skeleton/Skeleton.js +11 -0
  38. package/dist/components/Skeleton/Skeleton.js.map +1 -0
  39. package/dist/components/Tablet/Tablet.js +2 -2
  40. package/dist/components/Tablet/Tablet.js.map +1 -1
  41. package/dist/components/TabletState/TabletState.d.ts +6 -0
  42. package/dist/components/TabletState/TabletState.js +7 -0
  43. package/dist/components/TabletState/TabletState.js.map +1 -0
  44. package/dist/containers/Cluster/Cluster.js +10 -10
  45. package/dist/containers/Cluster/Cluster.js.map +1 -1
  46. package/dist/containers/Cluster/Cluster.scss +14 -0
  47. package/dist/containers/Cluster/i18n/index.d.ts +1 -1
  48. package/dist/containers/Heatmap/HeatmapCanvas/HeatmapCanvas.js +2 -2
  49. package/dist/containers/Heatmap/HeatmapCanvas/HeatmapCanvas.js.map +1 -1
  50. package/dist/containers/Nodes/Nodes.d.ts +2 -1
  51. package/dist/containers/Nodes/Nodes.js +2 -2
  52. package/dist/containers/Nodes/Nodes.js.map +1 -1
  53. package/dist/containers/Nodes/NodesWrapper.d.ts +1 -0
  54. package/dist/containers/Nodes/NodesWrapper.js.map +1 -1
  55. package/dist/containers/Nodes/PaginatedNodes.d.ts +2 -1
  56. package/dist/containers/Nodes/PaginatedNodes.js +6 -18
  57. package/dist/containers/Nodes/PaginatedNodes.js.map +1 -1
  58. package/dist/containers/Nodes/getNodes.d.ts +3 -6
  59. package/dist/containers/Nodes/getNodes.js +19 -2
  60. package/dist/containers/Nodes/getNodes.js.map +1 -1
  61. package/dist/containers/PDiskPage/PDiskPage.js +4 -5
  62. package/dist/containers/PDiskPage/PDiskPage.js.map +1 -1
  63. package/dist/containers/PDiskPage/PDiskPage.scss +0 -7
  64. package/dist/containers/PDiskPage/i18n/index.d.ts +1 -1
  65. package/dist/containers/Storage/PaginatedStorage.d.ts +2 -2
  66. package/dist/containers/Storage/PaginatedStorage.js +3 -3
  67. package/dist/containers/Storage/PaginatedStorage.js.map +1 -1
  68. package/dist/containers/Storage/Storage.d.ts +2 -2
  69. package/dist/containers/Storage/Storage.js +3 -3
  70. package/dist/containers/Storage/Storage.js.map +1 -1
  71. package/dist/containers/Storage/StorageGroups/PaginatedStorageGroups.d.ts +2 -2
  72. package/dist/containers/Storage/StorageGroups/PaginatedStorageGroups.js +5 -17
  73. package/dist/containers/Storage/StorageGroups/PaginatedStorageGroups.js.map +1 -1
  74. package/dist/containers/Storage/StorageGroups/getGroups.d.ts +3 -6
  75. package/dist/containers/Storage/StorageGroups/getGroups.js +15 -2
  76. package/dist/containers/Storage/StorageGroups/getGroups.js.map +1 -1
  77. package/dist/containers/Storage/StorageNodes/PaginatedStorageNodes.d.ts +2 -2
  78. package/dist/containers/Storage/StorageNodes/PaginatedStorageNodes.js +6 -18
  79. package/dist/containers/Storage/StorageNodes/PaginatedStorageNodes.js.map +1 -1
  80. package/dist/containers/Storage/StorageNodes/getNodes.d.ts +3 -5
  81. package/dist/containers/Storage/StorageNodes/getNodes.js +17 -2
  82. package/dist/containers/Storage/StorageNodes/getNodes.js.map +1 -1
  83. package/dist/containers/Storage/StorageWrapper.d.ts +1 -1
  84. package/dist/containers/Tablet/Tablet.d.ts +1 -1
  85. package/dist/containers/Tablet/Tablet.js +95 -52
  86. package/dist/containers/Tablet/Tablet.js.map +1 -1
  87. package/dist/containers/Tablet/Tablet.scss +4 -81
  88. package/dist/containers/Tablet/components/TabletControls/TabletControls.d.ts +6 -0
  89. package/dist/containers/Tablet/components/TabletControls/TabletControls.js +27 -0
  90. package/dist/containers/Tablet/components/TabletControls/TabletControls.js.map +1 -0
  91. package/dist/containers/Tablet/components/TabletControls/index.js.map +1 -0
  92. package/dist/containers/Tablet/components/TabletInfo/TabletInfo.d.ts +7 -0
  93. package/dist/containers/Tablet/components/TabletInfo/TabletInfo.js +59 -0
  94. package/dist/containers/Tablet/components/TabletInfo/TabletInfo.js.map +1 -0
  95. package/dist/containers/Tablet/components/TabletInfo/TabletInfo.scss +12 -0
  96. package/dist/containers/Tablet/components/TabletInfo/i18n/en.json +16 -0
  97. package/dist/containers/Tablet/components/TabletInfo/i18n/index.d.ts +1 -0
  98. package/dist/containers/Tablet/components/TabletInfo/i18n/index.js +5 -0
  99. package/dist/containers/Tablet/components/TabletInfo/i18n/index.js.map +1 -0
  100. package/dist/containers/Tablet/components/TabletInfo/index.js.map +1 -0
  101. package/dist/containers/Tablet/components/TabletStorageInfo/TabletStorageInfo.d.ts +7 -0
  102. package/dist/containers/Tablet/components/TabletStorageInfo/TabletStorageInfo.js +36 -0
  103. package/dist/containers/Tablet/components/TabletStorageInfo/TabletStorageInfo.js.map +1 -0
  104. package/dist/containers/Tablet/components/TabletStorageInfo/TabletStorageInfo.scss +78 -0
  105. package/dist/containers/Tablet/components/TabletStorageInfo/columns.d.ts +3 -0
  106. package/dist/containers/Tablet/components/TabletStorageInfo/columns.js +56 -0
  107. package/dist/containers/Tablet/components/TabletStorageInfo/columns.js.map +1 -0
  108. package/dist/containers/Tablet/components/TabletStorageInfo/i18n/en.json +7 -0
  109. package/dist/containers/Tablet/components/TabletStorageInfo/i18n/index.d.ts +1 -0
  110. package/dist/containers/Tablet/components/TabletStorageInfo/i18n/index.js +5 -0
  111. package/dist/containers/Tablet/components/TabletStorageInfo/i18n/index.js.map +1 -0
  112. package/dist/containers/Tablet/components/TabletStorageInfo/shared.d.ts +1 -0
  113. package/dist/containers/Tablet/components/TabletStorageInfo/shared.js +3 -0
  114. package/dist/containers/Tablet/components/TabletStorageInfo/shared.js.map +1 -0
  115. package/dist/containers/Tablet/components/TabletStorageInfo/types.d.ts +5 -0
  116. package/dist/containers/Tablet/components/TabletStorageInfo/types.js +2 -0
  117. package/dist/containers/Tablet/components/TabletStorageInfo/types.js.map +1 -0
  118. package/dist/containers/Tablet/components/TabletStorageInfo/utils.d.ts +3 -0
  119. package/dist/containers/Tablet/components/TabletStorageInfo/utils.js +29 -0
  120. package/dist/containers/Tablet/components/TabletStorageInfo/utils.js.map +1 -0
  121. package/dist/containers/Tablet/{TabletTable → components/TabletTable}/TabletTable.d.ts +1 -1
  122. package/dist/containers/Tablet/{TabletTable → components/TabletTable}/TabletTable.js +7 -6
  123. package/dist/containers/Tablet/components/TabletTable/TabletTable.js.map +1 -0
  124. package/dist/containers/Tablet/components/TabletTable/index.js.map +1 -0
  125. package/dist/containers/Tablet/i18n/en.json +5 -1
  126. package/dist/containers/Tablet/i18n/index.d.ts +1 -1
  127. package/dist/containers/Tablet/utils.d.ts +1 -0
  128. package/dist/containers/Tablet/utils.js +4 -0
  129. package/dist/containers/Tablet/utils.js.map +1 -0
  130. package/dist/containers/Tablets/Tablets.js +16 -10
  131. package/dist/containers/Tablets/Tablets.js.map +1 -1
  132. package/dist/containers/Tablets/i18n/index.d.ts +1 -1
  133. package/dist/containers/Tenant/Acl/Acl.scss +2 -2
  134. package/dist/containers/Tenant/Diagnostics/Describe/Describe.js +10 -9
  135. package/dist/containers/Tenant/Diagnostics/Describe/Describe.js.map +1 -1
  136. package/dist/containers/Tenant/Diagnostics/Describe/Describe.scss +13 -2
  137. package/dist/containers/Tenant/Diagnostics/Diagnostics.js +2 -2
  138. package/dist/containers/Tenant/Diagnostics/Diagnostics.js.map +1 -1
  139. package/dist/containers/Tenant/Diagnostics/Overview/TableInfo/prepareTableInfo.js +21 -11
  140. package/dist/containers/Tenant/Diagnostics/Overview/TableInfo/prepareTableInfo.js.map +1 -1
  141. package/dist/containers/Tenant/Diagnostics/TopShards/getTopShardsColumns.js +2 -2
  142. package/dist/containers/Tenant/Diagnostics/TopShards/getTopShardsColumns.js.map +1 -1
  143. package/dist/containers/Tenant/ObjectGeneral/ObjectGeneral.js +3 -8
  144. package/dist/containers/Tenant/ObjectGeneral/ObjectGeneral.js.map +1 -1
  145. package/dist/containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/SimplifiedPlan.js +2 -5
  146. package/dist/containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/SimplifiedPlan.js.map +1 -1
  147. package/dist/containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/utils.d.ts +0 -1
  148. package/dist/containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/utils.js +0 -21
  149. package/dist/containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/utils.js.map +1 -1
  150. package/dist/containers/Tenant/Query/Preview/Preview.scss +0 -8
  151. package/dist/containers/Tenant/Query/QueriesHistory/QueriesHistory.js +19 -1
  152. package/dist/containers/Tenant/Query/QueriesHistory/QueriesHistory.js.map +1 -1
  153. package/dist/containers/Tenant/Query/Query.js +2 -14
  154. package/dist/containers/Tenant/Query/Query.js.map +1 -1
  155. package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.js +4 -4
  156. package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.js.map +1 -1
  157. package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettings.test.js +1 -1
  158. package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettings.test.js.map +1 -1
  159. package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettingsDescription.test.js +1 -1
  160. package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettingsDescription.test.js.map +1 -1
  161. package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsDialog.js +3 -3
  162. package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsDialog.js.map +1 -1
  163. package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.d.ts +8 -8
  164. package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.js +6 -6
  165. package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.js.map +1 -1
  166. package/dist/containers/Tenant/Query/i18n/en.json +4 -1
  167. package/dist/containers/Tenant/Query/i18n/index.d.ts +1 -1
  168. package/dist/containers/Tenant/Query/utils/useSavedQueries.js +2 -1
  169. package/dist/containers/Tenant/Query/utils/useSavedQueries.js.map +1 -1
  170. package/dist/containers/Tenant/Schema/SchemaViewer/columns.js +1 -1
  171. package/dist/containers/Tenant/Schema/SchemaViewer/columns.js.map +1 -1
  172. package/dist/containers/Tenant/Schema/SchemaViewer/prepareData.js +2 -2
  173. package/dist/containers/Tenant/Schema/SchemaViewer/prepareData.js.map +1 -1
  174. package/dist/containers/Tenant/Schema/SchemaViewer/types.d.ts +1 -1
  175. package/dist/containers/Tenant/Tenant.js +5 -1
  176. package/dist/containers/Tenant/Tenant.js.map +1 -1
  177. package/dist/containers/Tenant/utils/queryTemplates.js +6 -5
  178. package/dist/containers/Tenant/utils/queryTemplates.js.map +1 -1
  179. package/dist/containers/UserSettings/i18n/en.json +0 -2
  180. package/dist/containers/UserSettings/i18n/index.d.ts +1 -1
  181. package/dist/containers/UserSettings/settings.d.ts +0 -1
  182. package/dist/containers/UserSettings/settings.js +2 -7
  183. package/dist/containers/UserSettings/settings.js.map +1 -1
  184. package/dist/containers/VDiskPage/VDiskPage.js +5 -6
  185. package/dist/containers/VDiskPage/VDiskPage.js.map +1 -1
  186. package/dist/containers/VDiskPage/VDiskPage.scss +0 -4
  187. package/dist/containers/VDiskPage/i18n/index.d.ts +1 -1
  188. package/dist/routes.d.ts +1 -0
  189. package/dist/routes.js +3 -0
  190. package/dist/routes.js.map +1 -1
  191. package/dist/services/api.d.ts +13 -7
  192. package/dist/services/api.js +29 -7
  193. package/dist/services/api.js.map +1 -1
  194. package/dist/services/settings.d.ts +1 -2
  195. package/dist/services/settings.js +1 -2
  196. package/dist/services/settings.js.map +1 -1
  197. package/dist/store/configureStore.d.ts +4 -8
  198. package/dist/store/defaultStore.d.ts +2 -4
  199. package/dist/store/reducers/api.d.ts +1 -1
  200. package/dist/store/reducers/api.js +1 -1
  201. package/dist/store/reducers/api.js.map +1 -1
  202. package/dist/store/reducers/authentication/authentication.d.ts +4 -4
  203. package/dist/store/reducers/cancelQuery.d.ts +2 -2
  204. package/dist/store/reducers/capabilities/capabilities.d.ts +6 -10
  205. package/dist/store/reducers/capabilities/hooks.d.ts +1 -0
  206. package/dist/store/reducers/capabilities/hooks.js +3 -0
  207. package/dist/store/reducers/capabilities/hooks.js.map +1 -1
  208. package/dist/store/reducers/cluster/cluster.d.ts +2 -2
  209. package/dist/store/reducers/clusterNodes/clusterNodes.d.ts +2 -2
  210. package/dist/store/reducers/clusters/clusters.d.ts +2 -2
  211. package/dist/store/reducers/describe.d.ts +2 -2
  212. package/dist/store/reducers/executeQuery.d.ts +18 -4
  213. package/dist/store/reducers/executeQuery.js +50 -5
  214. package/dist/store/reducers/executeQuery.js.map +1 -1
  215. package/dist/store/reducers/executeTopQueries/executeTopQueries.d.ts +2 -2
  216. package/dist/store/reducers/explainQuery/explainQuery.d.ts +2 -2
  217. package/dist/store/reducers/header/types.d.ts +1 -1
  218. package/dist/store/reducers/healthcheckInfo/healthcheckInfo.d.ts +58 -78
  219. package/dist/store/reducers/heatmap.d.ts +2 -2
  220. package/dist/store/reducers/hotKeys/hotKeys.d.ts +2 -2
  221. package/dist/store/reducers/index.d.ts +3 -6
  222. package/dist/store/reducers/index.js +0 -2
  223. package/dist/store/reducers/index.js.map +1 -1
  224. package/dist/store/reducers/network/network.d.ts +2 -2
  225. package/dist/store/reducers/node/node.d.ts +3 -3
  226. package/dist/store/reducers/node/selectors.d.ts +1 -2
  227. package/dist/store/reducers/nodes/nodes.d.ts +3 -3
  228. package/dist/store/reducers/nodes/types.d.ts +11 -1
  229. package/dist/store/reducers/nodesList.d.ts +3 -4
  230. package/dist/store/reducers/overview/overview.d.ts +2 -2
  231. package/dist/store/reducers/overview/overview.js +1 -0
  232. package/dist/store/reducers/overview/overview.js.map +1 -1
  233. package/dist/store/reducers/partitions/partitions.d.ts +2 -2
  234. package/dist/store/reducers/pdisk/pdisk.d.ts +3 -3
  235. package/dist/store/reducers/preview.d.ts +2 -2
  236. package/dist/store/reducers/schema/schema.d.ts +3 -3
  237. package/dist/store/reducers/schemaAcl/schemaAcl.d.ts +2 -2
  238. package/dist/store/reducers/shardsWorkload/shardsWorkload.d.ts +2 -2
  239. package/dist/store/reducers/storage/storage.d.ts +3 -3
  240. package/dist/store/reducers/storage/types.d.ts +15 -0
  241. package/dist/store/reducers/storage/types.js.map +1 -1
  242. package/dist/store/reducers/tableData.d.ts +14 -0
  243. package/dist/store/reducers/tableData.js +25 -0
  244. package/dist/store/reducers/tableData.js.map +1 -0
  245. package/dist/store/reducers/tablet.d.ts +19 -3
  246. package/dist/store/reducers/tablet.js +82 -13
  247. package/dist/store/reducers/tablet.js.map +1 -1
  248. package/dist/store/reducers/tablets.d.ts +15 -23
  249. package/dist/store/reducers/tablets.js +2 -20
  250. package/dist/store/reducers/tablets.js.map +1 -1
  251. package/dist/store/reducers/tabletsFilters.d.ts +1 -2
  252. package/dist/store/reducers/tenant/tenant.d.ts +2 -2
  253. package/dist/store/reducers/tenantOverview/executeTopTables/executeTopTables.d.ts +2 -2
  254. package/dist/store/reducers/tenantOverview/topNodes/topNodes.d.ts +2 -2
  255. package/dist/store/reducers/tenantOverview/topShards/tenantOverviewTopShards.d.ts +2 -2
  256. package/dist/store/reducers/tenantOverview/topStorageGroups/topStorageGroups.d.ts +2 -2
  257. package/dist/store/reducers/tenants/selectors.d.ts +27 -36
  258. package/dist/store/reducers/tenants/selectors.js +1 -1
  259. package/dist/store/reducers/tenants/selectors.js.map +1 -1
  260. package/dist/store/reducers/tenants/tenants.d.ts +2 -2
  261. package/dist/store/reducers/topic.d.ts +44 -59
  262. package/dist/store/reducers/vdisk/vdisk.d.ts +2 -2
  263. package/dist/store/reducers/viewSchema/viewSchema.d.ts +2 -2
  264. package/dist/styles/mixins.scss +0 -5
  265. package/dist/types/api/capabilities.d.ts +1 -1
  266. package/dist/types/api/schema/shared.d.ts +1 -3
  267. package/dist/types/api/schema/shared.js.map +1 -1
  268. package/dist/types/api/schema/table.d.ts +2 -0
  269. package/dist/types/api/schema/table.js.map +1 -1
  270. package/dist/types/api/tablet.d.ts +22 -0
  271. package/dist/types/store/executeQuery.d.ts +5 -2
  272. package/dist/types/store/tablets.d.ts +1 -0
  273. package/dist/utils/constants.d.ts +1 -2
  274. package/dist/utils/constants.js +1 -2
  275. package/dist/utils/constants.js.map +1 -1
  276. package/dist/utils/dataFormatters/dataFormatters.d.ts +1 -0
  277. package/dist/utils/dataFormatters/dataFormatters.js +5 -0
  278. package/dist/utils/dataFormatters/dataFormatters.js.map +1 -1
  279. package/dist/utils/developerUI/developerUI.d.ts +1 -1
  280. package/dist/utils/developerUI/developerUI.js +3 -2
  281. package/dist/utils/developerUI/developerUI.js.map +1 -1
  282. package/dist/utils/hooks/useQueryExecutionSettings.js +3 -2
  283. package/dist/utils/hooks/useQueryExecutionSettings.js.map +1 -1
  284. package/package.json +4 -3
  285. package/dist/components/DiskPageTitle/DiskPageTitle.d.ts +0 -10
  286. package/dist/components/DiskPageTitle/DiskPageTitle.js.map +0 -1
  287. package/dist/components/PaginatedTable/reducer.d.ts +0 -43
  288. package/dist/components/PaginatedTable/reducer.js +0 -104
  289. package/dist/components/PaginatedTable/reducer.js.map +0 -1
  290. package/dist/containers/Tablet/TabletControls/TabletControls.d.ts +0 -7
  291. package/dist/containers/Tablet/TabletControls/TabletControls.js +0 -29
  292. package/dist/containers/Tablet/TabletControls/TabletControls.js.map +0 -1
  293. package/dist/containers/Tablet/TabletControls/index.js.map +0 -1
  294. package/dist/containers/Tablet/TabletInfo/TabletInfo.d.ts +0 -7
  295. package/dist/containers/Tablet/TabletInfo/TabletInfo.js +0 -40
  296. package/dist/containers/Tablet/TabletInfo/TabletInfo.js.map +0 -1
  297. package/dist/containers/Tablet/TabletInfo/index.js.map +0 -1
  298. package/dist/containers/Tablet/TabletTable/TabletTable.js.map +0 -1
  299. package/dist/containers/Tablet/TabletTable/index.js.map +0 -1
  300. /package/dist/containers/Tablet/{TabletControls → components/TabletControls}/index.d.ts +0 -0
  301. /package/dist/containers/Tablet/{TabletControls → components/TabletControls}/index.js +0 -0
  302. /package/dist/containers/Tablet/{TabletInfo → components/TabletInfo}/index.d.ts +0 -0
  303. /package/dist/containers/Tablet/{TabletInfo → components/TabletInfo}/index.js +0 -0
  304. /package/dist/containers/Tablet/{TabletTable → components/TabletTable}/index.d.ts +0 -0
  305. /package/dist/containers/Tablet/{TabletTable → components/TabletTable}/index.js +0 -0
@@ -0,0 +1,78 @@
1
+ @import '../../../../styles/mixins.scss';
2
+
3
+ .ydb-tablet-storage-info {
4
+ $block: &;
5
+ &__table {
6
+ table-layout: fixed;
7
+ border-spacing: 0px;
8
+ border-collapse: collapse;
9
+ tr {
10
+ &:hover {
11
+ background-color: var(--g-color-base-generic-hover) !important;
12
+ }
13
+ }
14
+ tr:nth-of-type(2n + 1) {
15
+ background-color: var(--g-color-base-generic-ultralight);
16
+ }
17
+ :is(#{$block}__table-header-cell) {
18
+ height: 40px;
19
+ padding: 0;
20
+
21
+ text-align: left;
22
+
23
+ background-color: var(--g-color-base-background);
24
+ @include text-subheader-2();
25
+ }
26
+ :is(#{$block}__table-cell) {
27
+ height: 40px;
28
+ padding: 0;
29
+ @include text-body-2();
30
+ }
31
+ }
32
+
33
+ &__table-header-cell {
34
+ &_align_right {
35
+ #{$block}__table-header-content {
36
+ justify-content: flex-end;
37
+
38
+ text-align: right;
39
+ }
40
+ }
41
+ }
42
+
43
+ &__table-header-content {
44
+ display: flex;
45
+ align-items: center;
46
+
47
+ height: 100%;
48
+ padding: var(--g-spacing-1) var(--g-spacing-2);
49
+
50
+ vertical-align: middle;
51
+
52
+ border-bottom: 1px solid var(--g-color-line-generic);
53
+ }
54
+ :is(#{$block}__table-cell) {
55
+ height: 40px;
56
+ padding: 0;
57
+ @include text-body-2();
58
+ }
59
+ &__table-cell {
60
+ &_align_right {
61
+ text-align: right;
62
+ }
63
+ }
64
+ &__metrics-cell {
65
+ padding: var(--g-spacing-1) var(--g-spacing-2);
66
+
67
+ white-space: nowrap;
68
+ }
69
+ &__name-wrapper {
70
+ padding: var(--g-spacing-1) var(--g-spacing-2);
71
+ }
72
+ &__with-padding {
73
+ padding-left: calc(var(--g-spacing-2) + var(--g-spacing-6));
74
+ }
75
+ &__name-content_no-control {
76
+ padding-left: var(--g-spacing-6);
77
+ }
78
+ }
@@ -0,0 +1,3 @@
1
+ import type { ColumnDef } from '@tanstack/react-table';
2
+ import type { TabletStorageItem } from './types';
3
+ export declare function getColumns(hasExpand?: boolean): ColumnDef<TabletStorageItem>[];
@@ -0,0 +1,56 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { ArrowToggle, Button, Flex } from '@gravity-ui/uikit';
3
+ import { formatTimestamp } from '../../../../utils/dataFormatters/dataFormatters';
4
+ import { tabletInfoKeyset } from './i18n';
5
+ import { b } from './shared';
6
+ function ColumnHeader({ name, className }) {
7
+ return _jsx("div", { className: b('table-header-content', className), children: name });
8
+ }
9
+ function metricsCell(info, formatter) {
10
+ const value = info.getValue();
11
+ const formattedValue = typeof formatter === 'function' ? formatter(value) : value;
12
+ return _jsx("div", { className: b('metrics-cell'), children: formattedValue });
13
+ }
14
+ function GroupIdCell({ row, name, hasExpand }) {
15
+ const isExpandable = row.getCanExpand();
16
+ return (_jsxs(Flex, { gap: 1, alignItems: "flex-start", className: b('name-wrapper'), children: [isExpandable && (_jsx(Button, { view: "flat", size: "xs", onClick: row.getToggleExpandedHandler(), children: _jsx(Button.Icon, { children: _jsx(ArrowToggle, { direction: row.getIsExpanded() ? 'bottom' : 'right', size: 14 }) }) })), _jsx("div", { className: b('name-content', { 'no-control': hasExpand && !isExpandable }), children: name })] }));
17
+ }
18
+ export function getColumns(hasExpand) {
19
+ const columns = [
20
+ {
21
+ accessorKey: 'channelIndex',
22
+ header: () => _jsx(ColumnHeader, { name: tabletInfoKeyset('label_channel-index') }),
23
+ size: 50,
24
+ cell: metricsCell,
25
+ meta: { align: 'right' },
26
+ },
27
+ {
28
+ accessorKey: 'storagePoolName',
29
+ header: () => _jsx(ColumnHeader, { name: tabletInfoKeyset('label_storage-pool') }),
30
+ size: 200,
31
+ cell: metricsCell,
32
+ },
33
+ {
34
+ accessorKey: 'GroupID',
35
+ header: () => (_jsx(ColumnHeader, { name: tabletInfoKeyset('label_group-id'), className: hasExpand ? b('with-padding') : undefined })),
36
+ size: 100,
37
+ cell: (info) => (_jsx(GroupIdCell, { row: info.row, name: info.getValue(), hasExpand: hasExpand })),
38
+ },
39
+ {
40
+ accessorKey: 'FromGeneration',
41
+ header: () => _jsx(ColumnHeader, { name: tabletInfoKeyset('label_generation') }),
42
+ size: 100,
43
+ cell: metricsCell,
44
+ meta: { align: 'right' },
45
+ },
46
+ {
47
+ accessorKey: 'Timestamp',
48
+ header: () => _jsx(ColumnHeader, { name: tabletInfoKeyset('label_timestamp') }),
49
+ size: 200,
50
+ cell: (info) => metricsCell(info, formatTimestamp),
51
+ meta: { align: 'right' },
52
+ },
53
+ ];
54
+ return columns;
55
+ }
56
+ //# sourceMappingURL=columns.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"columns.js","sourceRoot":"","sources":["../../../../../src/containers/Tablet/components/TabletStorageInfo/columns.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,WAAW,EAAE,MAAM,EAAE,IAAI,EAAC,MAAM,mBAAmB,CAAC;AAG5D,OAAO,EAAC,eAAe,EAAC,MAAM,iDAAiD,CAAC;AAEhF,OAAO,EAAC,gBAAgB,EAAC,MAAM,QAAQ,CAAC;AACxC,OAAO,EAAC,CAAC,EAAC,MAAM,UAAU,CAAC;AA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AAI,EAAE,GAAG;YACT,IAAI,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,WAAW,CAAC,IAAI,EAAE,eAAe,CAAC;YAClD,IAAI,EAAE,EAAC,KAAK,EAAE,OAAO,EAAC;SACzB;KACJ,CAAC;IACF,OAAO,OAAO,CAAC;AACnB,CAAC"}
@@ -0,0 +1,7 @@
1
+ {
2
+ "label_channel-index": "Channel",
3
+ "label_storage-pool": "Storage Pool Name",
4
+ "label_group-id": "Group ID",
5
+ "label_generation": "From generation",
6
+ "label_timestamp": "Timestamp"
7
+ }
@@ -0,0 +1 @@
1
+ export declare const tabletInfoKeyset: (key: "label_channel-index" | "label_storage-pool" | "label_group-id" | "label_generation" | "label_timestamp", params?: import("@gravity-ui/i18n").Params) => string;
@@ -0,0 +1,5 @@
1
+ import { registerKeysets } from '../../../../../utils/i18n';
2
+ import en from './en.json';
3
+ const COMPONENT = 'ydb-tablet-storage-info';
4
+ export const tabletInfoKeyset = registerKeysets(COMPONENT, { en });
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/containers/Tablet/components/TabletStorageInfo/i18n/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,2BAA2B,CAAC;AAE1D,OAAO,EAAE,MAAM,WAAW,CAAC;AAE3B,MAAM,SAAS,GAAG,yBAAyB,CAAC;AAE5C,MAAM,CAAC,MAAM,gBAAgB,GAAG,eAAe,CAAC,SAAS,EAAE,EAAC,EAAE,EAAC,CAAC,CAAC"}
@@ -0,0 +1 @@
1
+ export declare const b: import("@bem-react/classname").ClassNameFormatter;
@@ -0,0 +1,3 @@
1
+ import { cn } from '../../../../utils/cn';
2
+ export const b = cn('ydb-tablet-storage-info');
3
+ //# sourceMappingURL=shared.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shared.js","sourceRoot":"","sources":["../../../../../src/containers/Tablet/components/TabletStorageInfo/shared.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,EAAE,EAAC,MAAM,sBAAsB,CAAC;AAExC,MAAM,CAAC,MAAM,CAAC,GAAG,EAAE,CAAC,yBAAyB,CAAC,CAAC"}
@@ -0,0 +1,5 @@
1
+ import type { TTabletStorageInfoChannelHistory } from '../../../../types/api/tablet';
2
+ export interface TabletStorageItem extends TTabletStorageInfoChannelHistory {
3
+ storagePoolName?: string;
4
+ children?: TabletStorageItem[];
5
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../../src/containers/Tablet/components/TabletStorageInfo/types.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ import type { TTabletHiveResponse } from '../../../../types/api/tablet';
2
+ import type { TabletStorageItem } from './types';
3
+ export declare function prepareData(data?: TTabletHiveResponse | null): TabletStorageItem[];
@@ -0,0 +1,29 @@
1
+ export function prepareData(data) {
2
+ var _a, _b;
3
+ if (!data) {
4
+ return [];
5
+ }
6
+ const { BoundChannels, TabletStorageInfo = {} } = data;
7
+ const Channels = (_a = TabletStorageInfo.Channels) !== null && _a !== void 0 ? _a : [];
8
+ const result = [];
9
+ for (const channel of Channels) {
10
+ const channelIndex = channel.Channel;
11
+ const channelHistory = channel.History;
12
+ if (!channelIndex || !channelHistory || !channelHistory.length) {
13
+ continue;
14
+ }
15
+ const copiedChannelHistory = [...channelHistory];
16
+ copiedChannelHistory.reverse();
17
+ const [latest, ...rest] = copiedChannelHistory;
18
+ const storagePoolName = (_b = BoundChannels === null || BoundChannels === void 0 ? void 0 : BoundChannels[channelIndex]) === null || _b === void 0 ? void 0 : _b.StoragePoolName;
19
+ const params = {
20
+ ...latest,
21
+ storagePoolName,
22
+ channelIndex,
23
+ children: rest,
24
+ };
25
+ result.push(params);
26
+ }
27
+ return result;
28
+ }
29
+ //# sourceMappingURL=utils.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../../../src/containers/Tablet/components/TabletStorageInfo/utils.ts"],"names":[],"mappings":"AAIA,MAAM,UAAU,WAAW,CAAC,IAAiC;;IACzD,IAAI,CAAC,IAAI,EAAE,CAAC;QACR,OAAO,EAAE,CAAC;IACd,CAAC;IACD,MAAM,EAAC,aAAa,EAAE,iBAAiB,GAAG,EAAE,EAAC,GAAG,IAAI,CAAC;IAErD,MAAM,QAAQ,GAAG,MAAA,iBAAiB,CAAC,QAAQ,mCAAI,EAAE,CAAC;IAElD,MAAM,MAAM,GAAG,EAAE,CAAC;IAElB,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;QAC7B,MAAM,YAAY,GAAG,OAAO,CAAC,OAAO,CAAC;QACrC,MAAM,cAAc,GAAG,OAAO,CAAC,OAAO,CAAC;QACvC,IAAI,CAAC,YAAY,IAAI,CAAC,cAAc,IAAI,CAAC,cAAc,CAAC,MAAM,EAAE,CAAC;YAC7D,SAAS;QACb,CAAC;QACD,MAAM,oBAAoB,GAAG,CAAC,GAAG,cAAc,CAAC,CAAC;QAEjD,oBAAoB,CAAC,OAAO,EAAE,CAAC;QAC/B,MAAM,CAAC,MAAM,EAAE,GAAG,IAAI,CAAC,GAAG,oBAAoB,CAAC;QAC/C,MAAM,eAAe,GAAG,MAAA,aAAa,aAAb,aAAa,uBAAb,aAAa,CAAG,YAAY,CAAC,0CAAE,eAAe,CAAC;QAEvE,MAAM,MAAM,GAAG;YACX,GAAG,MAAM;YACT,eAAe;YACf,YAAY;YACZ,QAAQ,EAAE,IAAI;SACjB,CAAC;QACF,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IACxB,CAAC;IACD,OAAO,MAAM,CAAC;AAClB,CAAC"}
@@ -1,4 +1,4 @@
1
- import type { ITabletPreparedHistoryItem } from '../../../types/store/tablet';
1
+ import type { ITabletPreparedHistoryItem } from '../../../../types/store/tablet';
2
2
  interface TabletTableProps {
3
3
  history: ITabletPreparedHistoryItem[];
4
4
  }
@@ -1,10 +1,11 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import DataTable from '@gravity-ui/react-data-table';
3
- import { EntityStatus } from '../../../components/EntityStatus/EntityStatus';
4
- import { InternalLink } from '../../../components/InternalLink/InternalLink';
5
- import { ResizeableDataTable } from '../../../components/ResizeableDataTable/ResizeableDataTable';
6
- import { calcUptime } from '../../../utils/dataFormatters/dataFormatters';
7
- import { getDefaultNodePath } from '../../Node/NodePages';
3
+ import { EntityStatus } from '../../../../components/EntityStatus/EntityStatus';
4
+ import { InternalLink } from '../../../../components/InternalLink/InternalLink';
5
+ import { ResizeableDataTable } from '../../../../components/ResizeableDataTable/ResizeableDataTable';
6
+ import { TabletState } from '../../../../components/TabletState/TabletState';
7
+ import { calcUptime } from '../../../../utils/dataFormatters/dataFormatters';
8
+ import { getDefaultNodePath } from '../../../Node/NodePages';
8
9
  const TABLET_COLUMNS_WIDTH_LS_KEY = 'tabletTableColumnsWidth';
9
10
  const columns = [
10
11
  {
@@ -21,7 +22,7 @@ const columns = [
21
22
  {
22
23
  name: 'State',
23
24
  sortable: false,
24
- render: ({ row }) => row.state,
25
+ render: ({ row }) => _jsx(TabletState, { state: row.state }),
25
26
  },
26
27
  {
27
28
  name: 'Follower ID',
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TabletTable.js","sourceRoot":"","sources":["../../../../../src/containers/Tablet/components/TabletTable/TabletTable.tsx"],"names":[],"mappings":";AACA,OAAO,SAAS,MAAM,8BAA8B,CAAC;AAErD,OAAO,EAAC,YAAY,EAAC,MAAM,kDAAkD,CAAC;AAC9E,OAAO,EAAC,YAAY,EAAC,MAAM,kDAAkD,CAAC;AAC9E,OAAO,EAAC,mBAAmB,EAAC,MAAM,gEAAgE,CAAC;AACnG,OAAO,EAAC,WAAW,EAAC,MAAM,gDAAgD,CAAC;AAE3E,OAAO,EAAC,UAAU,EAAC,MAAM,iDAAiD,CAAC;AAC3E,OAAO,E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AAE,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"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/containers/Tablet/components/TabletTable/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC"}
@@ -1,5 +1,7 @@
1
1
  {
2
2
  "tablet.header": "Tablet",
3
+ "tablet.meta-database": "Database",
4
+ "tablet.meta-follower": "Follower",
3
5
  "controls.kill": "Restart",
4
6
  "controls.stop": "Stop",
5
7
  "controls.resume": "Resume",
@@ -9,5 +11,7 @@
9
11
  "dialog.kill": "The tablet will be restarted. Do you want to proceed?",
10
12
  "dialog.stop": "The tablet will be stopped. Do you want to proceed?",
11
13
  "dialog.resume": "The tablet will be resumed. Do you want to proceed?",
12
- "emptyState": "The tablet was not found"
14
+ "emptyState": "The tablet was not found",
15
+ "label_tablet-history": "Tablets",
16
+ "label_tablet-channels": "Storage"
13
17
  }
@@ -1,2 +1,2 @@
1
- declare const _default: (key: "dialog.kill" | "controls.kill-not-allowed" | "tablet.header" | "controls.kill" | "controls.stop" | "controls.resume" | "controls.stop-not-allowed" | "controls.resume-not-allowed" | "dialog.stop" | "dialog.resume" | "emptyState", params?: import("@gravity-ui/i18n").Params) => string;
1
+ declare const _default: (key: "dialog.kill" | "controls.kill-not-allowed" | "tablet.header" | "tablet.meta-database" | "tablet.meta-follower" | "controls.kill" | "controls.stop" | "controls.resume" | "controls.stop-not-allowed" | "controls.resume-not-allowed" | "dialog.stop" | "dialog.resume" | "emptyState" | "label_tablet-history" | "label_tablet-channels", params?: import("@gravity-ui/i18n").Params) => string;
2
2
  export default _default;
@@ -0,0 +1 @@
1
+ export declare function hasHive(id?: string): id is string;
@@ -0,0 +1,4 @@
1
+ export function hasHive(id) {
2
+ return Boolean(id && id !== '0');
3
+ }
4
+ //# sourceMappingURL=utils.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../src/containers/Tablet/utils.ts"],"names":[],"mappings":"AAAA,MAAM,UAAU,OAAO,CAAC,EAAW;IAC/B,OAAO,OAAO,CAAC,EAAE,IAAI,EAAE,KAAK,GAAG,CAAC,CAAC;AACrC,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { ArrowsRotateRight } from '@gravity-ui/icons';
3
- import { Icon, Label, Text } from '@gravity-ui/uikit';
3
+ import { Icon, Text } from '@gravity-ui/uikit';
4
4
  import { skipToken } from '@reduxjs/toolkit/query';
5
5
  import { ButtonWithConfirmDialog } from '../../components/ButtonWithConfirmDialog/ButtonWithConfirmDialog';
6
6
  import { DeveloperUILinkButton } from '../../components/DeveloperUILinkButton/DeveloperUILinkButton';
@@ -9,16 +9,17 @@ import { ResponseError } from '../../components/Errors/ResponseError';
9
9
  import { InternalLink } from '../../components/InternalLink';
10
10
  import { ResizeableDataTable } from '../../components/ResizeableDataTable/ResizeableDataTable';
11
11
  import { TableSkeleton } from '../../components/TableSkeleton/TableSkeleton';
12
- import routes, { createHref } from '../../routes';
12
+ import { TabletState } from '../../components/TabletState/TabletState';
13
+ import { getTabletPagePath } from '../../routes';
13
14
  import { selectIsUserAllowedToMakeChanges } from '../../store/reducers/authentication/authentication';
15
+ import { tabletApi } from '../../store/reducers/tablet';
14
16
  import { selectTabletsWithFqdn, tabletsApi } from '../../store/reducers/tablets';
15
17
  import { ETabletState } from '../../types/api/tablet';
16
18
  import { cn } from '../../utils/cn';
17
19
  import { DEFAULT_TABLE_SETTINGS, EMPTY_DATA_PLACEHOLDER } from '../../utils/constants';
18
20
  import { calcUptime } from '../../utils/dataFormatters/dataFormatters';
19
21
  import { createTabletDeveloperUIHref } from '../../utils/developerUI/developerUI';
20
- import { useAutoRefreshInterval, useTypedDispatch, useTypedSelector } from '../../utils/hooks';
21
- import { mapTabletStateToLabelTheme } from '../../utils/tablet';
22
+ import { useAutoRefreshInterval, useTypedSelector } from '../../utils/hooks';
22
23
  import { getDefaultNodePath } from '../Node/NodePages';
23
24
  import i18n from './i18n';
24
25
  const b = cn('tablets');
@@ -44,7 +45,10 @@ const columns = [
44
45
  if (!row.TabletId) {
45
46
  return EMPTY_DATA_PLACEHOLDER;
46
47
  }
47
- const tabletPath = createHref(routes.tablet, { id: row.TabletId }, { nodeId: row.NodeId, type: row.Type });
48
+ const tabletPath = getTabletPagePath(row.TabletId, {
49
+ nodeId: row.NodeId,
50
+ type: row.Type,
51
+ });
48
52
  return (_jsx(EntityStatus, { name: (_a = row.TabletId) === null || _a === void 0 ? void 0 : _a.toString(), path: tabletPath, hasClipboardButton: true, showStatus: false, additionalControls: _jsx(DeveloperUILinkButton, { href: createTabletDeveloperUIHref(row.TabletId) }) }));
49
53
  },
50
54
  },
@@ -54,7 +58,7 @@ const columns = [
54
58
  return i18n('State');
55
59
  },
56
60
  render: ({ row }) => {
57
- return _jsx(Label, { theme: mapTabletStateToLabelTheme(row.State), children: row.State });
61
+ return _jsx(TabletState, { state: row.State });
58
62
  },
59
63
  },
60
64
  {
@@ -110,12 +114,14 @@ const columns = [
110
114
  ];
111
115
  function TabletActions(tablet) {
112
116
  const isDisabledRestart = tablet.State === ETabletState.Stopped;
113
- const dispatch = useTypedDispatch();
114
117
  const isUserAllowedToMakeChanges = useTypedSelector(selectIsUserAllowedToMakeChanges);
118
+ const [killTablet] = tabletApi.useKillTabletMutation();
119
+ const id = tablet.TabletId;
120
+ if (!id) {
121
+ return null;
122
+ }
115
123
  return (_jsx(ButtonWithConfirmDialog, { buttonView: "outlined", dialogContent: i18n('dialog.kill'), onConfirmAction: () => {
116
- return window.api.killTablet(tablet.TabletId);
117
- }, onConfirmActionSuccess: () => {
118
- dispatch(tabletsApi.util.invalidateTags(['All']));
124
+ return killTablet({ id }).unwrap();
119
125
  }, buttonDisabled: isDisabledRestart || !isUserAllowedToMakeChanges, withPopover: true, popoverContent: i18n('controls.kill-not-allowed'), popoverDisabled: isUserAllowedToMakeChanges, children: _jsx(Icon, { data: ArrowsRotateRight }) }));
120
126
  }
121
127
  export function Tablets({ nodeId, path, className }) {
@@ -1 +1 @@
1
- {"version":3,"file":"Tablets.js","sourceRoot":"","sources":["../../../src/containers/Tablets/Tablets.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,iBAAiB,EAAC,MAAM,mBAAmB,CAAC;AAEpD,OAAO,EAAC,IAAI,EAAE,KAAK,EAAE,IAAI,EAAC,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAC,SAAS,EAAC,MAAM,wBAAwB,CAAC;AAEjD,OAAO,EAAC,uBAAuB,EAAC,MAAM,kEAAkE,CAAC;AACzG,OAAO,EAAC,qBAAqB,EAAC,MAAM,8DAA8D,CAAC;AACnG,OAAO,EAAC,YAAY,EAAC,MAAM,4CAA4C,CAAC;AACxE,OAAO,EAAC,aAAa,EAAC,MAAM,uCAAuC,CAAC;AACpE,OAAO,EAAC,YAAY,EAAC,MAAM,+BAA+B,CAAC;AAC3D,OAAO,EAAC,mBAAmB,EAAC,MAAM,0DAA0D,CAAC;AAC7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2 @@
1
- declare const _default: (key: "Uptime" | "Type" | "State" | "Generation" | "Tablet" | "Node ID" | "Node FQDN" | "noTabletsData" | "dialog.kill" | "controls.kill-not-allowed", params?: import("@gravity-ui/i18n").Params) => string;
1
+ declare const _default: (key: "Tablet" | "Uptime" | "Type" | "State" | "Generation" | "Node ID" | "Node FQDN" | "noTabletsData" | "dialog.kill" | "controls.kill-not-allowed", params?: import("@gravity-ui/i18n").Params) => string;
2
2
  export default _default;
@@ -19,9 +19,9 @@
19
19
  margin: var(--g-spacing-3) 0 var(--g-spacing-5);
20
20
 
21
21
  font-weight: 600;
22
- @include subheader-2-typography();
22
+ @include text-subheader-2();
23
23
  }
24
24
  &__group-label {
25
- @include subheader-2-typography();
25
+ @include text-subheader-2();
26
26
  }
27
27
  }
@@ -1,4 +1,5 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { ClipboardButton } from '@gravity-ui/uikit';
2
3
  import { skipToken } from '@reduxjs/toolkit/query';
3
4
  import JSONTree from 'react-json-inspector';
4
5
  import { shallowEqual } from 'react-redux';
@@ -11,7 +12,7 @@ import { useAutoRefreshInterval, useTypedSelector } from '../../../../utils/hook
11
12
  import { isEntityWithMergedImplementation } from '../../utils/schema';
12
13
  import './Describe.scss';
13
14
  import 'react-json-inspector/json-inspector.css';
14
- const b = cn('kv-describe');
15
+ const b = cn('ydb-describe');
15
16
  const expandMap = new Map();
16
17
  const Describe = ({ path, database, type }) => {
17
18
  const [autoRefreshInterval] = useAutoRefreshInterval();
@@ -45,14 +46,14 @@ const Describe = ({ path, database, type }) => {
45
46
  if (!preparedDescribeData && !error) {
46
47
  return _jsx("div", { className: b('message-container'), children: "Empty" });
47
48
  }
48
- return (_jsxs("div", { className: b(), children: [error ? _jsx(ResponseError, { error: error }) : null, preparedDescribeData ? (_jsx("div", { className: b('result'), children: _jsx(JSONTree, { data: preparedDescribeData, className: b('tree'), onClick: ({ path }) => {
49
- const newValue = !(expandMap.get(path) || false);
50
- expandMap.set(path, newValue);
51
- }, searchOptions: {
52
- debounceTime: 300,
53
- }, isExpanded: (keypath) => {
54
- return expandMap.get(keypath) || false;
55
- } }) })) : null] }));
49
+ return (_jsxs("div", { className: b(), children: [error ? _jsx(ResponseError, { error: error }) : null, preparedDescribeData ? (_jsxs("div", { className: b('result'), children: [_jsx(JSONTree, { data: preparedDescribeData, className: b('tree'), onClick: ({ path }) => {
50
+ const newValue = !(expandMap.get(path) || false);
51
+ expandMap.set(path, newValue);
52
+ }, searchOptions: {
53
+ debounceTime: 300,
54
+ }, isExpanded: (keypath) => {
55
+ return expandMap.get(keypath) || false;
56
+ } }), _jsx(ClipboardButton, { view: "flat-secondary", text: JSON.stringify(preparedDescribeData), className: b('copy') })] })) : null] }));
56
57
  };
57
58
  export default Describe;
58
59
  //# sourceMappingURL=Describe.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Describe.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Diagnostics/Describe/Describe.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,wBAAwB,CAAC;AACjD,OAAO,QAAQ,MAAM,sBAAsB,CAAC;AAC5C,OAAO,EAAC,YAAY,EAAC,MAAM,aAAa,CAAC;AAEzC,OAAO,EAAC,aAAa,EAAC,MAAM,6CAA6C,CAAC;AAC1E,OAAO,EAAC,MAAM,EAAC,MAAM,+BAA+B,CAAC;AACrD,OAAO,EAAC,WAAW,EAAC,MAAM,qCAAqC,CAAC;AAChE,OAAO,EAAC,+BAA+B,EAAC,MAAM,0CAA0C,CAAC;AAEzF,OAAO,EAAC,EAAE,EAAC,MAAM,sBAAsB,CAAC;AACxC,OAAO,EAAC,sBAAsB,EAAE,gBAAgB,EAAC,MAAM,yBAAyB,CAAC;AACjF,OAAO,EAAC,gCAAgC,EAAC,MAAM,oBAAoB,CAAC;AAEpE,OAAO,iBAAiB,CAAC;AACzB,OAAO,yCAAyC,CAAC;AAEjD,MAAM,CAAC,GAAG,E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C,CAAC,CAAC,IAAI,EAC9C,oBAAoB,CAAC,CAAC,CAAC,CACpB,eAAK,SAAS,EAAE,CAAC,CAAC,QAAQ,CAAC,aACvB,KAAC,QAAQ,IACL,IAAI,EAAE,oBAAoB,EAC1B,SAAS,EAAE,CAAC,CAAC,MAAM,CAAC,EACpB,OAAO,EAAE,CAAC,EAAC,IAAI,EAAC,EAAE,EAAE;4BAChB,MAAM,QAAQ,GAAG,CAAC,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,KAAK,CAAC,CAAC;4BACjD,SAAS,CAAC,GAAG,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;wBAClC,CAAC,EACD,aAAa,EAAE;4BACX,YAAY,EAAE,GAAG;yBACpB,EACD,UAAU,EAAE,CAAC,OAAO,EAAE,EAAE;4BACpB,OAAO,SAAS,CAAC,GAAG,CAAC,OAAO,CAAC,IAAI,KAAK,CAAC;wBAC3C,CAAC,GACH,EACF,KAAC,eAAe,IACZ,IAAI,EAAC,gBAAgB,EACrB,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,oBAAoB,CAAC,EAC1C,SAAS,EAAE,CAAC,CAAC,MAAM,CAAC,GACtB,IACA,CACT,CAAC,CAAC,CAAC,IAAI,IACN,CACT,CAAC;AACN,CAAC,CAAC;AAEF,eAAe,QAAQ,CAAC"}
@@ -1,19 +1,30 @@
1
1
  @import '../../../../styles/mixins.scss';
2
2
 
3
- .kv-describe {
3
+ .ydb-describe {
4
4
  &__message-container {
5
5
  padding: 15px 0;
6
6
  }
7
7
 
8
8
  &__result {
9
+ position: relative;
10
+
9
11
  display: flex;
10
12
  overflow: auto;
11
13
  flex: 0 0 auto;
12
14
 
13
- padding: 10px 20px 20px 0;
15
+ padding: 0 20px 20px 0;
14
16
  }
15
17
 
16
18
  &__tree {
17
19
  @include json-tree-styles();
18
20
  }
21
+
22
+ &__copy {
23
+ position: absolute;
24
+ left: 308px;
25
+ }
26
+
27
+ .json-inspector__search {
28
+ height: 26px;
29
+ }
19
30
  }
@@ -66,13 +66,13 @@ function Diagnostics(props) {
66
66
  return _jsx(TopShards, { tenantName: tenantName, path: path, type: type });
67
67
  }
68
68
  case TENANT_DIAGNOSTICS_TABS_IDS.nodes: {
69
- return (_jsx(NodesWrapper, { path: path, additionalNodesProps: props.additionalNodesProps, parentContainer: container.current }));
69
+ return (_jsx(NodesWrapper, { path: path, database: tenantName, additionalNodesProps: props.additionalNodesProps, parentContainer: container.current }));
70
70
  }
71
71
  case TENANT_DIAGNOSTICS_TABS_IDS.tablets: {
72
72
  return _jsx(Tablets, { path: path });
73
73
  }
74
74
  case TENANT_DIAGNOSTICS_TABS_IDS.storage: {
75
- return _jsx(StorageWrapper, { tenant: tenantName, parentContainer: container.current });
75
+ return _jsx(StorageWrapper, { database: tenantName, parentContainer: container.current });
76
76
  }
77
77
  case TENANT_DIAGNOSTICS_TABS_IDS.network: {
78
78
  return _jsx(Network, { tenantName: tenantName });
@@ -1 +1 @@
1
- {"version":3,"file":"Diagnostics.js","sourceRoot":"","sources":["../../../../src/containers/Tenant/Diagnostics/Diagnostics.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,IAAI,EAAC,MAAM,mBAAmB,CAAC;AACvC,OAAO,EAAC,MAAM,EAAC,MAAM,oBAAoB,CAAC;AAC1C,OAAO,EAAC,IAAI,EAAC,MAAM,kBAAkB,CAAC;AACtC,OAAO,EAAC,WAAW,EAAE,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAE7D,OAAO,EAAC,kBAAkB,EAAC,MAAM,2DAA2D,CAAC;AAC7F,OAAO,MAAM,EAAE,EAAC,UAAU,EAAC,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAC,2BAA2B,EAAC,MAAM,0CAA0C,CAAC;AACrF,OAAO,EAAC,iBAAiB,EAAC,MAAM,uCAAuC,CAAC;AAGxE,OAAO,EAAC,EAAE,EAAC,MAAM,mBAAmB,CAA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