ydb-embedded-ui 6.17.2 → 6.19.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (377) hide show
  1. package/dist/assets/icons/decommission.svg +6 -0
  2. package/dist/components/ButtonWithConfirmDialog/ButtonWithConfirmDialog.d.ts +3 -2
  3. package/dist/components/ButtonWithConfirmDialog/ButtonWithConfirmDialog.js +10 -16
  4. package/dist/components/ButtonWithConfirmDialog/ButtonWithConfirmDialog.js.map +1 -1
  5. package/dist/components/ComponentsProvider/ComponentsProvider.d.ts +2 -2
  6. package/dist/components/CriticalActionDialog/CriticalActionDialog.d.ts +4 -2
  7. package/dist/components/CriticalActionDialog/CriticalActionDialog.js +7 -4
  8. package/dist/components/CriticalActionDialog/CriticalActionDialog.js.map +1 -1
  9. package/dist/components/CriticalActionDialog/CriticalActionDialog.scss +23 -1
  10. package/dist/components/CriticalActionDialog/utils.d.ts +5 -0
  11. package/dist/components/CriticalActionDialog/utils.js +4 -0
  12. package/dist/components/CriticalActionDialog/utils.js.map +1 -0
  13. package/dist/components/DiskStateProgressBar/DiskStateProgressBar.scss +5 -3
  14. package/dist/components/EntityPageTitle/EntityPageTitle.d.ts +1 -2
  15. package/dist/components/EntityPageTitle/EntityPageTitle.js +2 -2
  16. package/dist/components/EntityPageTitle/EntityPageTitle.js.map +1 -1
  17. package/dist/components/GroupInfo/GroupInfo.js +3 -3
  18. package/dist/components/InfoViewerSkeleton/InfoViewerSkeleton.js +1 -1
  19. package/dist/components/InfoViewerSkeleton/InfoViewerSkeleton.js.map +1 -1
  20. package/dist/components/LinkWithIcon/LinkWithIcon.d.ts +2 -1
  21. package/dist/components/LinkWithIcon/LinkWithIcon.js +3 -3
  22. package/dist/components/LinkWithIcon/LinkWithIcon.js.map +1 -1
  23. package/dist/components/Loader/Loader.js +1 -1
  24. package/dist/components/Loader/Loader.js.map +1 -1
  25. package/dist/components/MetricChart/reducer.d.ts +2 -2
  26. package/dist/components/PDiskInfo/PDiskInfo.js +1 -7
  27. package/dist/components/PDiskInfo/PDiskInfo.js.map +1 -1
  28. package/dist/components/PDiskInfo/i18n/en.json +0 -1
  29. package/dist/components/PDiskInfo/i18n/index.d.ts +1 -1
  30. package/dist/components/PDiskPopup/PDiskPopup.js +3 -5
  31. package/dist/components/PDiskPopup/PDiskPopup.js.map +1 -1
  32. package/dist/components/PaginatedTable/PaginatedTable.d.ts +2 -1
  33. package/dist/components/PaginatedTable/PaginatedTable.js +2 -2
  34. package/dist/components/PaginatedTable/PaginatedTable.js.map +1 -1
  35. package/dist/components/PaginatedTable/PaginatedTable.scss +16 -14
  36. package/dist/components/PaginatedTable/ResizeablePaginatedTable.js +2 -1
  37. package/dist/components/PaginatedTable/ResizeablePaginatedTable.js.map +1 -1
  38. package/dist/components/PaginatedTable/TableChunk.js +12 -4
  39. package/dist/components/PaginatedTable/TableChunk.js.map +1 -1
  40. package/dist/components/PaginatedTable/TableHead.js +14 -10
  41. package/dist/components/PaginatedTable/TableHead.js.map +1 -1
  42. package/dist/components/PaginatedTable/TableRow.js +14 -6
  43. package/dist/components/PaginatedTable/TableRow.js.map +1 -1
  44. package/dist/components/PaginatedTable/types.d.ts +1 -1
  45. package/dist/components/Skeleton/Skeleton.js +1 -1
  46. package/dist/components/Skeleton/Skeleton.js.map +1 -1
  47. package/dist/components/TableWithControlsLayout/TableWithControlsLayout.scss +5 -0
  48. package/dist/components/VDisk/VDisk.d.ts +6 -3
  49. package/dist/components/VDisk/VDisk.js +6 -4
  50. package/dist/components/VDisk/VDisk.js.map +1 -1
  51. package/dist/components/VDisk/VDiskWithDonorsStack.d.ts +3 -5
  52. package/dist/components/VDisk/VDiskWithDonorsStack.js +4 -4
  53. package/dist/components/VDisk/VDiskWithDonorsStack.js.map +1 -1
  54. package/dist/components/VDiskPopup/VDiskPopup.js +1 -1
  55. package/dist/components/VDiskPopup/VDiskPopup.js.map +1 -1
  56. package/dist/containers/AppWithClusters/ExtendedNode/ExtendedNode.js +4 -2
  57. package/dist/containers/AppWithClusters/ExtendedNode/ExtendedNode.js.map +1 -1
  58. package/dist/containers/AppWithClusters/ExtendedTenant/ExtendedTenant.js +4 -3
  59. package/dist/containers/AppWithClusters/ExtendedTenant/ExtendedTenant.js.map +1 -1
  60. package/dist/containers/AppWithClusters/useClusterData.d.ts +7 -1
  61. package/dist/containers/AppWithClusters/useClusterData.js +8 -8
  62. package/dist/containers/AppWithClusters/useClusterData.js.map +1 -1
  63. package/dist/containers/AsideNavigation/AsideNavigation.d.ts +3 -0
  64. package/dist/containers/AsideNavigation/AsideNavigation.js +6 -10
  65. package/dist/containers/AsideNavigation/AsideNavigation.js.map +1 -1
  66. package/dist/containers/AsideNavigation/Navigation.js +4 -1
  67. package/dist/containers/AsideNavigation/Navigation.js.map +1 -1
  68. package/dist/containers/AsideNavigation/YdbInternalUser/YdbInternalUser.d.ts +3 -1
  69. package/dist/containers/AsideNavigation/YdbInternalUser/YdbInternalUser.js +2 -4
  70. package/dist/containers/AsideNavigation/YdbInternalUser/YdbInternalUser.js.map +1 -1
  71. package/dist/containers/Cluster/Cluster.js +5 -13
  72. package/dist/containers/Cluster/Cluster.js.map +1 -1
  73. package/dist/containers/Cluster/Cluster.scss +1 -0
  74. package/dist/containers/Header/Header.js +3 -7
  75. package/dist/containers/Header/Header.js.map +1 -1
  76. package/dist/containers/Node/Node.js +1 -5
  77. package/dist/containers/Node/Node.js.map +1 -1
  78. package/dist/containers/Node/NodePages.js +5 -4
  79. package/dist/containers/Node/NodePages.js.map +1 -1
  80. package/dist/containers/Node/NodeStructure/NodeStructure.js +9 -3
  81. package/dist/containers/Node/NodeStructure/NodeStructure.js.map +1 -1
  82. package/dist/containers/PDiskPage/DecommissionButton/DecommissionButton.d.ts +11 -0
  83. package/dist/containers/PDiskPage/DecommissionButton/DecommissionButton.js +91 -0
  84. package/dist/containers/PDiskPage/DecommissionButton/DecommissionButton.js.map +1 -0
  85. package/dist/containers/PDiskPage/DecommissionButton/DecommissionButton.scss +6 -0
  86. package/dist/containers/PDiskPage/DecommissionLabel/DecommissionLabel.d.ts +6 -0
  87. package/dist/containers/PDiskPage/DecommissionLabel/DecommissionLabel.js +20 -0
  88. package/dist/containers/PDiskPage/DecommissionLabel/DecommissionLabel.js.map +1 -0
  89. package/dist/containers/PDiskPage/PDiskGroups/PDiskGroups.js +19 -14
  90. package/dist/containers/PDiskPage/PDiskGroups/PDiskGroups.js.map +1 -1
  91. package/dist/containers/PDiskPage/PDiskGroups/utils.d.ts +2 -0
  92. package/dist/containers/PDiskPage/PDiskGroups/utils.js +14 -0
  93. package/dist/containers/PDiskPage/PDiskGroups/utils.js.map +1 -0
  94. package/dist/containers/PDiskPage/PDiskPage.js +33 -15
  95. package/dist/containers/PDiskPage/PDiskPage.js.map +1 -1
  96. package/dist/containers/PDiskPage/PDiskPage.scss +7 -0
  97. package/dist/containers/PDiskPage/i18n/en.json +16 -2
  98. package/dist/containers/PDiskPage/i18n/index.d.ts +1 -1
  99. package/dist/containers/Storage/Disks/Disks.d.ts +9 -0
  100. package/dist/containers/Storage/Disks/Disks.js +37 -0
  101. package/dist/containers/Storage/Disks/Disks.js.map +1 -0
  102. package/dist/containers/Storage/Disks/Disks.scss +46 -0
  103. package/dist/containers/Storage/PDisk/PDisk.d.ts +6 -2
  104. package/dist/containers/Storage/PDisk/PDisk.js +14 -7
  105. package/dist/containers/Storage/PDisk/PDisk.js.map +1 -1
  106. package/dist/containers/Storage/PDisk/PDisk.scss +4 -2
  107. package/dist/containers/Storage/PaginatedStorage.js +1 -4
  108. package/dist/containers/Storage/PaginatedStorage.js.map +1 -1
  109. package/dist/containers/Storage/Storage.js +11 -13
  110. package/dist/containers/Storage/Storage.js.map +1 -1
  111. package/dist/containers/Storage/StorageGroups/PaginatedStorageGroups.d.ts +1 -3
  112. package/dist/containers/Storage/StorageGroups/PaginatedStorageGroups.js +11 -7
  113. package/dist/containers/Storage/StorageGroups/PaginatedStorageGroups.js.map +1 -1
  114. package/dist/containers/Storage/StorageGroups/StorageGroups.d.ts +1 -4
  115. package/dist/containers/Storage/StorageGroups/StorageGroups.js +4 -7
  116. package/dist/containers/Storage/StorageGroups/StorageGroups.js.map +1 -1
  117. package/dist/containers/Storage/StorageGroups/{StorageGroups.scss → columns/StorageGroupsColumns.scss} +3 -2
  118. package/dist/containers/Storage/StorageGroups/columns/getStorageGroupsColumns.d.ts +21 -0
  119. package/dist/containers/Storage/StorageGroups/{getStorageGroupsColumns.js → columns/getStorageGroupsColumns.js} +47 -40
  120. package/dist/containers/Storage/StorageGroups/columns/getStorageGroupsColumns.js.map +1 -0
  121. package/dist/containers/Storage/StorageGroups/columns/hooks.d.ts +3 -0
  122. package/dist/containers/Storage/StorageGroups/columns/hooks.js +19 -0
  123. package/dist/containers/Storage/StorageGroups/columns/hooks.js.map +1 -0
  124. package/dist/containers/Storage/StorageGroups/columns/types.d.ts +14 -0
  125. package/dist/containers/Storage/StorageGroups/columns/types.js.map +1 -0
  126. package/dist/containers/Storage/StorageGroups/getGroups.d.ts +3 -1
  127. package/dist/containers/Storage/StorageGroups/getGroups.js +27 -24
  128. package/dist/containers/Storage/StorageGroups/getGroups.js.map +1 -1
  129. package/dist/containers/Storage/StorageNodes/PaginatedStorageNodes.js +1 -1
  130. package/dist/containers/Storage/StorageNodes/getStorageNodesColumns.d.ts +1 -1
  131. package/dist/containers/Storage/StorageNodes/getStorageNodesColumns.js +1 -1
  132. package/dist/containers/Storage/StorageNodes/getStorageNodesColumns.js.map +1 -1
  133. package/dist/containers/Storage/utils/index.js +3 -4
  134. package/dist/containers/Storage/utils/index.js.map +1 -1
  135. package/dist/containers/Tablet/Tablet.js +13 -11
  136. package/dist/containers/Tablet/Tablet.js.map +1 -1
  137. package/dist/containers/Tablet/components/TabletControls/TabletControls.js +1 -1
  138. package/dist/containers/Tablet/components/TabletControls/TabletControls.js.map +1 -1
  139. package/dist/containers/Tablet/i18n/en.json +6 -3
  140. package/dist/containers/Tablet/i18n/index.d.ts +1 -1
  141. package/dist/containers/Tablets/Tablets.js +1 -1
  142. package/dist/containers/Tablets/Tablets.js.map +1 -1
  143. package/dist/containers/Tablets/i18n/en.json +2 -1
  144. package/dist/containers/Tablets/i18n/index.d.ts +1 -1
  145. package/dist/containers/Tenant/Diagnostics/Configs/Configs.d.ts +6 -0
  146. package/dist/containers/Tenant/Diagnostics/Configs/Configs.js +79 -0
  147. package/dist/containers/Tenant/Diagnostics/Configs/Configs.js.map +1 -0
  148. package/dist/containers/Tenant/Diagnostics/Configs/Configs.scss +8 -0
  149. package/dist/containers/Tenant/Diagnostics/Configs/i18n/en.json +11 -0
  150. package/dist/containers/Tenant/Diagnostics/Configs/i18n/index.d.ts +2 -0
  151. package/dist/containers/Tenant/Diagnostics/Configs/i18n/index.js +5 -0
  152. package/dist/containers/Tenant/Diagnostics/Configs/i18n/index.js.map +1 -0
  153. package/dist/containers/Tenant/Diagnostics/Diagnostics.js +4 -0
  154. package/dist/containers/Tenant/Diagnostics/Diagnostics.js.map +1 -1
  155. package/dist/containers/Tenant/Diagnostics/DiagnosticsPages.d.ts +3 -0
  156. package/dist/containers/Tenant/Diagnostics/DiagnosticsPages.js +5 -0
  157. package/dist/containers/Tenant/Diagnostics/DiagnosticsPages.js.map +1 -1
  158. package/dist/containers/Tenant/Diagnostics/Overview/TableInfo/i18n/index.d.ts +1 -1
  159. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopGroups.js +22 -5
  160. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopGroups.js.map +1 -1
  161. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/utils.d.ts +2 -0
  162. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/utils.js +7 -0
  163. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/utils.js.map +1 -0
  164. package/dist/containers/Tenant/Diagnostics/TopShards/TopShards.js +1 -1
  165. package/dist/containers/Tenant/Diagnostics/TopShards/TopShards.js.map +1 -1
  166. package/dist/containers/Tenant/ObjectGeneral/ObjectGeneral.js +8 -3
  167. package/dist/containers/Tenant/ObjectGeneral/ObjectGeneral.js.map +1 -1
  168. package/dist/containers/Tenant/Query/CancelQueryButton/CancelQueryButton.d.ts +7 -0
  169. package/dist/containers/Tenant/Query/CancelQueryButton/CancelQueryButton.js +17 -0
  170. package/dist/containers/Tenant/Query/CancelQueryButton/CancelQueryButton.js.map +1 -0
  171. package/dist/containers/Tenant/Query/CancelQueryButton/CancelQueryButton.scss +9 -0
  172. package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.d.ts +5 -9
  173. package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.js +8 -6
  174. package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.js.map +1 -1
  175. package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.scss +0 -6
  176. package/dist/containers/Tenant/Query/ExecuteResult/TraceButton.d.ts +5 -0
  177. package/dist/containers/Tenant/Query/ExecuteResult/TraceButton.js +28 -0
  178. package/dist/containers/Tenant/Query/ExecuteResult/TraceButton.js.map +1 -0
  179. package/dist/containers/Tenant/Query/ExecuteResult/i18n/en.json +2 -2
  180. package/dist/containers/Tenant/Query/ExecuteResult/i18n/index.d.ts +1 -1
  181. package/dist/containers/Tenant/Query/ExplainResult/ExplainResult.d.ts +4 -12
  182. package/dist/containers/Tenant/Query/ExplainResult/ExplainResult.js +7 -5
  183. package/dist/containers/Tenant/Query/ExplainResult/ExplainResult.js.map +1 -1
  184. package/dist/containers/Tenant/Query/ExplainResult/ExplainResult.scss +0 -6
  185. package/dist/containers/Tenant/Query/ExplainResult/i18n/en.json +1 -2
  186. package/dist/containers/Tenant/Query/ExplainResult/i18n/index.d.ts +1 -1
  187. package/dist/containers/Tenant/Query/Query.js +14 -2
  188. package/dist/containers/Tenant/Query/Query.js.map +1 -1
  189. package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.d.ts +3 -2
  190. package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.js +18 -36
  191. package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.js.map +1 -1
  192. package/dist/containers/Tenant/Query/i18n/en.json +1 -0
  193. package/dist/containers/Tenant/Query/i18n/index.d.ts +1 -1
  194. package/dist/containers/Tenant/Query/utils/__test__/replaceParams.test.d.ts +1 -0
  195. package/dist/containers/Tenant/Query/utils/__test__/replaceParams.test.js +50 -0
  196. package/dist/containers/Tenant/Query/utils/__test__/replaceParams.test.js.map +1 -0
  197. package/dist/containers/Tenant/Query/utils/replaceParams.d.ts +1 -0
  198. package/dist/containers/Tenant/Query/utils/replaceParams.js +6 -0
  199. package/dist/containers/Tenant/Query/utils/replaceParams.js.map +1 -0
  200. package/dist/containers/Tenant/utils/queryTemplates.js +1 -1
  201. package/dist/containers/Tenant/utils/queryTemplates.js.map +1 -1
  202. package/dist/containers/UserSettings/i18n/en.json +2 -0
  203. package/dist/containers/UserSettings/i18n/index.d.ts +1 -1
  204. package/dist/containers/UserSettings/settings.d.ts +1 -0
  205. package/dist/containers/UserSettings/settings.js +12 -2
  206. package/dist/containers/UserSettings/settings.js.map +1 -1
  207. package/dist/containers/VDiskPage/VDiskPage.d.ts +3 -4
  208. package/dist/containers/VDiskPage/VDiskPage.js +37 -17
  209. package/dist/containers/VDiskPage/VDiskPage.js.map +1 -1
  210. package/dist/containers/VDiskPage/i18n/en.json +2 -1
  211. package/dist/containers/VDiskPage/i18n/index.d.ts +1 -1
  212. package/dist/containers/VDiskPage/utils.d.ts +2 -0
  213. package/dist/containers/VDiskPage/utils.js +7 -0
  214. package/dist/containers/VDiskPage/utils.js.map +1 -0
  215. package/dist/lib.d.ts +1 -0
  216. package/dist/lib.js +1 -0
  217. package/dist/lib.js.map +1 -1
  218. package/dist/services/api.d.ts +27 -11
  219. package/dist/services/api.js +110 -21
  220. package/dist/services/api.js.map +1 -1
  221. package/dist/services/parsers/parseMetaCluster.d.ts +14 -0
  222. package/dist/services/parsers/parseMetaCluster.js +20 -1
  223. package/dist/services/parsers/parseMetaCluster.js.map +1 -1
  224. package/dist/services/settings.d.ts +1 -0
  225. package/dist/services/settings.js +2 -1
  226. package/dist/services/settings.js.map +1 -1
  227. package/dist/store/configureStore.d.ts +4 -4
  228. package/dist/store/defaultStore.d.ts +2 -2
  229. package/dist/store/getUrlData.js +9 -6
  230. package/dist/store/getUrlData.js.map +1 -1
  231. package/dist/store/reducers/api.d.ts +1 -1
  232. package/dist/store/reducers/api.js +1 -1
  233. package/dist/store/reducers/api.js.map +1 -1
  234. package/dist/store/reducers/authentication/authentication.d.ts +4 -4
  235. package/dist/store/reducers/cancelQuery.d.ts +2 -2
  236. package/dist/store/reducers/cancelQuery.js.map +1 -1
  237. package/dist/store/reducers/capabilities/capabilities.d.ts +6 -6
  238. package/dist/store/reducers/capabilities/hooks.d.ts +2 -0
  239. package/dist/store/reducers/capabilities/hooks.js +8 -1
  240. package/dist/store/reducers/capabilities/hooks.js.map +1 -1
  241. package/dist/store/reducers/cluster/cluster.d.ts +230 -2
  242. package/dist/store/reducers/cluster/cluster.js +36 -3
  243. package/dist/store/reducers/cluster/cluster.js.map +1 -1
  244. package/dist/store/reducers/cluster/utils.d.ts +1 -0
  245. package/dist/store/reducers/cluster/utils.js +7 -0
  246. package/dist/store/reducers/cluster/utils.js.map +1 -1
  247. package/dist/store/reducers/clusters/clusters.d.ts +2 -2
  248. package/dist/store/reducers/describe.d.ts +2 -2
  249. package/dist/store/reducers/executeQuery.d.ts +8 -4
  250. package/dist/store/reducers/executeQuery.js +36 -1
  251. package/dist/store/reducers/executeQuery.js.map +1 -1
  252. package/dist/store/reducers/executeTopQueries/executeTopQueries.d.ts +2 -2
  253. package/dist/store/reducers/explainQuery/explainQuery.d.ts +2 -3
  254. package/dist/store/reducers/explainQuery/explainQuery.js +23 -2
  255. package/dist/store/reducers/explainQuery/explainQuery.js.map +1 -1
  256. package/dist/store/reducers/explainQuery/types.d.ts +1 -0
  257. package/dist/store/reducers/healthcheckInfo/healthcheckInfo.d.ts +58 -58
  258. package/dist/store/reducers/heatmap.d.ts +2 -2
  259. package/dist/store/reducers/hotKeys/hotKeys.d.ts +2 -2
  260. package/dist/store/reducers/index.d.ts +3 -3
  261. package/dist/store/reducers/network/network.d.ts +2 -2
  262. package/dist/store/reducers/node/node.d.ts +3 -3
  263. package/dist/store/reducers/node/selectors.d.ts +1 -1
  264. package/dist/store/reducers/nodes/nodes.d.ts +3 -3
  265. package/dist/store/reducers/nodes/nodes.js +1 -2
  266. package/dist/store/reducers/nodes/nodes.js.map +1 -1
  267. package/dist/store/reducers/nodesList.d.ts +3 -3
  268. package/dist/store/reducers/overview/overview.d.ts +2 -2
  269. package/dist/store/reducers/partitions/partitions.d.ts +2 -2
  270. package/dist/store/reducers/pdisk/pdisk.d.ts +2 -3
  271. package/dist/store/reducers/pdisk/pdisk.js +1 -21
  272. package/dist/store/reducers/pdisk/pdisk.js.map +1 -1
  273. package/dist/store/reducers/pdisk/utils.d.ts +0 -3
  274. package/dist/store/reducers/pdisk/utils.js +0 -22
  275. package/dist/store/reducers/pdisk/utils.js.map +1 -1
  276. package/dist/store/reducers/preview.d.ts +2 -2
  277. package/dist/store/reducers/schema/schema.d.ts +3 -3
  278. package/dist/store/reducers/schemaAcl/schemaAcl.d.ts +2 -2
  279. package/dist/store/reducers/shardsWorkload/shardsWorkload.d.ts +2 -2
  280. package/dist/store/reducers/storage/requestStorageData.d.ts +5 -0
  281. package/dist/store/reducers/storage/requestStorageData.js +12 -0
  282. package/dist/store/reducers/storage/requestStorageData.js.map +1 -0
  283. package/dist/store/reducers/storage/selectors.js +1 -1
  284. package/dist/store/reducers/storage/storage.d.ts +6 -4
  285. package/dist/store/reducers/storage/storage.js +6 -6
  286. package/dist/store/reducers/storage/storage.js.map +1 -1
  287. package/dist/store/reducers/storage/types.d.ts +11 -23
  288. package/dist/store/reducers/storage/utils.d.ts +3 -2
  289. package/dist/store/reducers/storage/utils.js +52 -26
  290. package/dist/store/reducers/storage/utils.js.map +1 -1
  291. package/dist/store/reducers/tableData.d.ts +1 -1
  292. package/dist/store/reducers/tablet.d.ts +7 -7
  293. package/dist/store/reducers/tablets.d.ts +13 -13
  294. package/dist/store/reducers/tenant/constants.d.ts +1 -0
  295. package/dist/store/reducers/tenant/constants.js +1 -0
  296. package/dist/store/reducers/tenant/constants.js.map +1 -1
  297. package/dist/store/reducers/tenant/tenant.d.ts +5 -2
  298. package/dist/store/reducers/tenant/tenant.js +12 -0
  299. package/dist/store/reducers/tenant/tenant.js.map +1 -1
  300. package/dist/store/reducers/tenantOverview/executeTopTables/executeTopTables.d.ts +2 -2
  301. package/dist/store/reducers/tenantOverview/topNodes/topNodes.d.ts +2 -2
  302. package/dist/store/reducers/tenantOverview/topShards/tenantOverviewTopShards.d.ts +2 -2
  303. package/dist/store/reducers/tenants/selectors.d.ts +27 -27
  304. package/dist/store/reducers/tenants/tenants.d.ts +2 -2
  305. package/dist/store/reducers/topic.d.ts +44 -44
  306. package/dist/store/reducers/trace.d.ts +7 -0
  307. package/dist/store/reducers/trace.js +18 -0
  308. package/dist/store/reducers/trace.js.map +1 -0
  309. package/dist/store/reducers/vdisk/utils.d.ts +0 -2
  310. package/dist/store/reducers/vdisk/utils.js +0 -10
  311. package/dist/store/reducers/vdisk/utils.js.map +1 -1
  312. package/dist/store/reducers/vdisk/vdisk.d.ts +8 -5
  313. package/dist/store/reducers/vdisk/vdisk.js +17 -32
  314. package/dist/store/reducers/vdisk/vdisk.js.map +1 -1
  315. package/dist/store/reducers/viewSchema/viewSchema.d.ts +2 -2
  316. package/dist/types/api/capabilities.d.ts +1 -1
  317. package/dist/types/api/cluster.d.ts +3 -0
  318. package/dist/types/api/compute.d.ts +1 -4
  319. package/dist/types/api/compute.js +1 -5
  320. package/dist/types/api/compute.js.map +1 -1
  321. package/dist/types/api/featureFlags.d.ts +13 -0
  322. package/dist/types/api/featureFlags.js +2 -0
  323. package/dist/types/api/featureFlags.js.map +1 -0
  324. package/dist/types/api/meta.d.ts +5 -1
  325. package/dist/types/api/modifyDisk.d.ts +1 -0
  326. package/dist/types/api/pdisk.d.ts +2 -2
  327. package/dist/types/api/query.d.ts +7 -1
  328. package/dist/types/api/storage.d.ts +132 -6
  329. package/dist/types/api/storage.js +1 -5
  330. package/dist/types/api/storage.js.map +1 -1
  331. package/dist/types/api/trace.d.ts +17 -0
  332. package/dist/types/api/trace.js +8 -0
  333. package/dist/types/api/trace.js.map +1 -0
  334. package/dist/types/api/vdisk.d.ts +1 -1
  335. package/dist/types/store/executeQuery.d.ts +25 -3
  336. package/dist/types/store/executeQuery.js +5 -1
  337. package/dist/types/store/executeQuery.js.map +1 -1
  338. package/dist/types/store/query.d.ts +1 -0
  339. package/dist/utils/constants.d.ts +1 -0
  340. package/dist/utils/constants.js +1 -0
  341. package/dist/utils/constants.js.map +1 -1
  342. package/dist/utils/disks/helpers.d.ts +5 -2
  343. package/dist/utils/disks/helpers.js +12 -2
  344. package/dist/utils/disks/helpers.js.map +1 -1
  345. package/dist/utils/disks/prepareDisks.js +10 -5
  346. package/dist/utils/disks/prepareDisks.js.map +1 -1
  347. package/dist/utils/hooks/useDelayed.d.ts +1 -1
  348. package/dist/utils/hooks/useDelayed.js +6 -1
  349. package/dist/utils/hooks/useDelayed.js.map +1 -1
  350. package/dist/utils/index.d.ts +1 -0
  351. package/dist/utils/index.js +5 -0
  352. package/dist/utils/index.js.map +1 -1
  353. package/dist/utils/monaco/yql/generateSuggestions.js +8 -3
  354. package/dist/utils/monaco/yql/generateSuggestions.js.map +1 -1
  355. package/dist/utils/query.js.map +1 -1
  356. package/dist/utils/storage.d.ts +2 -21
  357. package/dist/utils/storage.js +14 -19
  358. package/dist/utils/storage.js.map +1 -1
  359. package/package.json +1 -6
  360. package/dist/components/CriticalActionDialog/index.d.ts +0 -1
  361. package/dist/components/CriticalActionDialog/index.js +0 -2
  362. package/dist/components/CriticalActionDialog/index.js.map +0 -1
  363. package/dist/components/NotRenderUntilFirstVisible/NotRenderUntilFirstVisible.d.ts +0 -9
  364. package/dist/components/NotRenderUntilFirstVisible/NotRenderUntilFirstVisible.js +0 -9
  365. package/dist/components/NotRenderUntilFirstVisible/NotRenderUntilFirstVisible.js.map +0 -1
  366. package/dist/components/NotRenderUntilFirstVisible/NotRenderUntilFirstVisible.scss +0 -3
  367. package/dist/containers/Storage/StorageGroups/getStorageGroupsColumns.d.ts +0 -62
  368. package/dist/containers/Storage/StorageGroups/getStorageGroupsColumns.js.map +0 -1
  369. package/dist/store/reducers/tenantOverview/topStorageGroups/topStorageGroups.d.ts +0 -4
  370. package/dist/store/reducers/tenantOverview/topStorageGroups/topStorageGroups.js +0 -29
  371. package/dist/store/reducers/tenantOverview/topStorageGroups/topStorageGroups.js.map +0 -1
  372. package/dist/store/reducers/tenantOverview/topStorageGroups/types.d.ts +0 -4
  373. package/dist/store/reducers/tenantOverview/topStorageGroups/types.js.map +0 -1
  374. package/dist/store/reducers/tenantOverview/topStorageGroups/utils.d.ts +0 -3
  375. package/dist/store/reducers/tenantOverview/topStorageGroups/utils.js +0 -13
  376. package/dist/store/reducers/tenantOverview/topStorageGroups/utils.js.map +0 -1
  377. /package/dist/{store/reducers/tenantOverview/topStorageGroups → containers/Storage/StorageGroups/columns}/types.js +0 -0
@@ -0,0 +1,6 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="17" height="17" viewBox="0 0 17 17" fill="none">
2
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M10.3783 7.77147C11.0947 7.77147 11.6756 8.38548 11.6756 9.1429V10.0572C11.6756 10.8146 11.0947 11.4286 10.3783 11.4286H3.45934C2.74286 11.4286 2.16204 10.8146 2.16204 10.0572V9.1429C2.16204 8.38548 2.74286 7.77147 3.45934 7.77147H10.3783ZM11.148 6.52278L9.93505 3.95815C9.7153 3.49353 9.26609 3.20004 8.77471 3.20004H5.06289C4.57151 3.20004 4.1223 3.49353 3.90255 3.95815L2.68955 6.52278C2.93277 6.44301 3.19131 6.40004 3.45934 6.40004H10.3783C10.6463 6.40004 10.9048 6.44301 11.148 6.52278ZM12.9729 8.3935V9.1429V10.0572C12.9729 11.572 11.8112 12.8 10.3783 12.8H3.45934C2.02639 12.8 0.864746 11.572 0.864746 10.0572V9.1429V8.3935C0.864746 7.6838 1.02105 6.98386 1.32128 6.34909L2.74221 3.34483C3.18172 2.41559 4.08013 1.82861 5.06289 1.82861H8.77471C9.75747 1.82861 10.6559 2.41559 11.0954 3.34483L12.5163 6.34909C12.8166 6.98386 12.9729 7.6838 12.9729 8.3935ZM7.78366 8.91433C7.42543 8.91433 7.13502 9.22133 7.13502 9.60004C7.13502 9.97875 7.42543 10.2858 7.78366 10.2858H9.94583C10.3041 10.2858 10.5945 9.97875 10.5945 9.60004C10.5945 9.22133 10.3041 8.91433 9.94583 8.91433H7.78366Z" fill="currentColor" fill-opacity="0.85"/>
3
+ <path d="M15.2502 11.4284C15.2502 13.5787 13.6112 15.2498 11.6759 15.2498C9.74057 15.2498 8.10156 13.5787 8.10156 11.4284C8.10156 9.27803 9.74057 7.60693 11.6759 7.60693C13.6112 7.60693 15.2502 9.27803 15.2502 11.4284Z" fill="var(--g-color-base-background)" stroke="currentColor" stroke-width="1.5"/>
4
+ <path d="M11.6759 16.4998C14.3661 16.4998 16.5002 14.2027 16.5002 11.4284C16.5002 8.65403 14.3661 6.35693 11.6759 6.35693C8.98567 6.35693 6.85156 8.65403 6.85156 11.4284C6.85156 14.2027 8.98567 16.4998 11.6759 16.4998Z" stroke="var(--g-color-base-background)"/>
5
+ <path d="M12.973 10.0571L10.3784 12.8M10.3784 10.0571L12.973 12.8" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
6
+ </svg>
@@ -4,7 +4,8 @@ interface ButtonWithConfirmDialogProps<T, K> {
4
4
  children: React.ReactNode;
5
5
  onConfirmAction: (isRetry?: boolean) => Promise<T>;
6
6
  onConfirmActionSuccess?: (() => Promise<K>) | VoidFunction;
7
- dialogContent: string;
7
+ dialogHeader: string;
8
+ dialogText: string;
8
9
  retryButtonText?: string;
9
10
  buttonDisabled?: ButtonProps['disabled'];
10
11
  buttonView?: ButtonProps['view'];
@@ -14,5 +15,5 @@ interface ButtonWithConfirmDialogProps<T, K> {
14
15
  popoverPlacement?: PopoverProps['placement'];
15
16
  popoverDisabled?: PopoverProps['disabled'];
16
17
  }
17
- export declare function ButtonWithConfirmDialog<T, K>({ children, onConfirmAction, onConfirmActionSuccess, dialogContent, retryButtonText, buttonDisabled, buttonView, buttonClassName, withPopover, popoverContent, popoverPlacement, popoverDisabled, }: ButtonWithConfirmDialogProps<T, K>): import("react/jsx-runtime").JSX.Element;
18
+ export declare function ButtonWithConfirmDialog<T, K>({ children, onConfirmAction, onConfirmActionSuccess, dialogHeader, dialogText, retryButtonText, buttonDisabled, buttonView, buttonClassName, withPopover, popoverContent, popoverPlacement, popoverDisabled, }: ButtonWithConfirmDialogProps<T, K>): import("react/jsx-runtime").JSX.Element;
18
19
  export {};
@@ -1,33 +1,27 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import React from 'react';
3
3
  import { Button, Popover } from '@gravity-ui/uikit';
4
- import { CriticalActionDialog } from '../CriticalActionDialog';
5
- export function ButtonWithConfirmDialog({ children, onConfirmAction, onConfirmActionSuccess, dialogContent, retryButtonText, buttonDisabled = false, buttonView = 'action', buttonClassName, withPopover = false, popoverContent, popoverPlacement = 'right', popoverDisabled = true, }) {
4
+ import { CriticalActionDialog } from '../CriticalActionDialog/CriticalActionDialog';
5
+ import { isErrorWithRetry } from '../CriticalActionDialog/utils';
6
+ export function ButtonWithConfirmDialog({ children, onConfirmAction, onConfirmActionSuccess, dialogHeader, dialogText, retryButtonText, buttonDisabled = false, buttonView = 'action', buttonClassName, withPopover = false, popoverContent, popoverPlacement = 'right', popoverDisabled = true, }) {
6
7
  const [isConfirmDialogVisible, setIsConfirmDialogVisible] = React.useState(false);
7
8
  const [buttonLoading, setButtonLoading] = React.useState(false);
8
9
  const [withRetry, setWithRetry] = React.useState(false);
9
10
  const handleConfirmAction = async (isRetry) => {
10
11
  setButtonLoading(true);
11
12
  await onConfirmAction(isRetry);
12
- setButtonLoading(false);
13
13
  };
14
14
  const handleConfirmActionSuccess = async () => {
15
15
  setWithRetry(false);
16
- if (onConfirmActionSuccess) {
17
- setButtonLoading(true);
18
- try {
19
- await onConfirmActionSuccess();
20
- }
21
- catch (_a) {
22
- }
23
- finally {
24
- setButtonLoading(false);
25
- }
16
+ try {
17
+ await (onConfirmActionSuccess === null || onConfirmActionSuccess === void 0 ? void 0 : onConfirmActionSuccess());
18
+ }
19
+ finally {
20
+ setButtonLoading(false);
26
21
  }
27
22
  };
28
23
  const handleConfirmActionError = (error) => {
29
- const isWithRetry = Boolean(error && typeof error === 'object' && 'retryPossible' in error && error.retryPossible);
30
- setWithRetry(isWithRetry);
24
+ setWithRetry(isErrorWithRetry(error));
31
25
  setButtonLoading(false);
32
26
  };
33
27
  const renderButton = () => {
@@ -39,7 +33,7 @@ export function ButtonWithConfirmDialog({ children, onConfirmAction, onConfirmAc
39
33
  }
40
34
  return renderButton();
41
35
  };
42
- return (_jsxs(React.Fragment, { children: [_jsx(CriticalActionDialog, { visible: isConfirmDialogVisible, text: dialogContent, withRetry: withRetry, retryButtonText: retryButtonText, onConfirm: handleConfirmAction, onConfirmActionSuccess: handleConfirmActionSuccess, onConfirmActionError: handleConfirmActionError, onClose: () => {
36
+ return (_jsxs(React.Fragment, { children: [_jsx(CriticalActionDialog, { visible: isConfirmDialogVisible, header: dialogHeader, text: dialogText, withRetry: withRetry, retryButtonText: retryButtonText, onConfirm: handleConfirmAction, onConfirmActionSuccess: handleConfirmActionSuccess, onConfirmActionError: handleConfirmActionError, onClose: () => {
43
37
  setIsConfirmDialogVisible(false);
44
38
  } }), renderContent()] }));
45
39
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ButtonWithConfirmDialog.js","sourceRoot":"","sources":["../../../src/components/ButtonWithConfirmDialog/ButtonWithConfirmDialog.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,MAAM,EAAE,OAAO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,KAAK,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,eAAe,IAAI,KAAK,IAAI,KAAK,CAAC,aAAa,CACxF,CAAC;QACF,YAAY,CAAC,WAAW,CAAC,CAAC;QAC1B,gBAAgB,CAAC,KAAK,CAAC,CAAC;IAC5B,CAAC,CAAC;IAEF,MAAM,YAAY,GAAG,GAAG,EAAE;QACtB,OAAO,CACH,KAAC,MAAM,IACH,OAAO,EAAE,GAAG,EAAE,CAAC,yBAAyB,CAAC,IAAI,CAAC,EAC9C,IAAI,EAAE,UAAU,EAChB,QAAQ,EAAE,cAAc,EACxB,OAAO,EAAE,CAAC,cAAc,IAAI,aAAa,EACzC,SAAS,EAAE,eAAe,YAEzB,QAAQ,GACJ,CACZ,CAAC;IACN,CAAC,CAAC;IAEF,MAAM,aAAa,GAAG,GAAG,EAAE;QACvB,IAAI,WAAW,EAAE,CAAC;YACd,OAAO,CACH,KAAC,OAAO,IACJ,OAAO,EAAE,cAAc,EACvB,SAAS,EAAE,gBAAgB,EAC3B,QAAQ,EAAE,eAAe,YAExB,YAAY,EAAE,GACT,CACb,CAAC;QACN,CAAC;QAED,OAAO,YAAY,EAAE,CAAC;IAC1B,CAAC,CAAC;IAEF,OAAO,CACH,MAAC,KAAK,CAAC,QAAQ,eACX,KAAC,oBAAoB,IACjB,OAAO,EAAE,sBAAsB,EAC/B,IAAI,EAAE,aAAa,EACnB,SAAS,EAAE,SAAS,EACpB,eAAe,EAAE,eAAe,EAChC,SAAS,EAAE,mBAAmB,EAC9B,sBAAsB,EAAE,0BAA0B,EAClD,oBAAoB,EAAE,wBAAwB,EAC9C,OAAO,EAAE,GAAG,EAAE;oBACV,yBAAyB,CAAC,KAAK,CAAC,CAAC;gBACrC,CAAC,GACH,EACD,aAAa,EAAE,IACH,CACpB,CAAC;AACN,CAAC"}
1
+ {"version":3,"file":"ButtonWithConfirmDialog.js","sourceRoot":"","sources":["../../../src/components/ButtonWithConfirmDialog/ButtonWithConfirmDialog.tsx"],"names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E;QAChD,YAAY,CAAC,gBAAgB,CAAC,KAAK,CAAC,CAAC,CAAC;QACtC,gBAAgB,CAAC,KAAK,CAAC,CAAC;IAC5B,CAAC,CAAC;IAEF,MAAM,YAAY,GAAG,GAAG,EAAE;QACtB,OAAO,CACH,KAAC,MAAM,IACH,OAAO,EAAE,GAAG,EAAE,CAAC,yBAAyB,CAAC,IAAI,CAAC,EAC9C,IAAI,EAAE,UAAU,EAChB,QAAQ,EAAE,cAAc,EACxB,OAAO,EAAE,CAAC,cAAc,IAAI,aAAa,EACzC,SAAS,EAAE,eAAe,YAEzB,QAAQ,GACJ,CACZ,CAAC;IACN,CAAC,CAAC;IAEF,MAAM,aAAa,GAAG,GAAG,EAAE;QACvB,IAAI,WAAW,EAAE,CAAC;YACd,OAAO,CACH,KAAC,OAAO,IACJ,OAAO,EAAE,cAAc,EACvB,SAAS,EAAE,gBAAgB,EAC3B,QAAQ,EAAE,eAAe,YAExB,YAAY,EAAE,GACT,CACb,CAAC;QACN,CAAC;QAED,OAAO,YAAY,EAAE,CAAC;IAC1B,CAAC,CAAC;IAEF,OAAO,CACH,MAAC,KAAK,CAAC,QAAQ,eACX,KAAC,oBAAoB,IACjB,OAAO,EAAE,sBAAsB,EAC/B,MAAM,EAAE,YAAY,EACpB,IAAI,EAAE,UAAU,EAChB,SAAS,EAAE,SAAS,EACpB,eAAe,EAAE,eAAe,EAChC,SAAS,EAAE,mBAAmB,EAC9B,sBAAsB,EAAE,0BAA0B,EAClD,oBAAoB,EAAE,wBAAwB,EAC9C,OAAO,EAAE,GAAG,EAAE;oBACV,yBAAyB,CAAC,KAAK,CAAC,CAAC;gBACrC,CAAC,GACH,EACD,aAAa,EAAE,IACH,CACpB,CAAC;AACN,CAAC"}
@@ -8,13 +8,13 @@ export declare function ComponentsProvider({ children, registry }: ComponentsPro
8
8
  export declare function useComponent<T extends Parameters<ComponentsRegistry['get']>[0]>(id: T): ({
9
9
  StaffCard: typeof import("../User/StaffCard").StaffCard;
10
10
  } & {
11
- AsideNavigation: typeof import("../../containers/AsideNavigation/AsideNavigation").AsideNavigation;
11
+ AsideNavigation: typeof import("../../lib").AsideNavigation;
12
12
  } & {
13
13
  ErrorBoundary: typeof import("../ErrorBoundary/ErrorBoundary").ErrorBoundaryInner;
14
14
  })[T] extends infer T_1 ? T_1 extends ({
15
15
  StaffCard: typeof import("../User/StaffCard").StaffCard;
16
16
  } & {
17
- AsideNavigation: typeof import("../../containers/AsideNavigation/AsideNavigation").AsideNavigation;
17
+ AsideNavigation: typeof import("../../lib").AsideNavigation;
18
18
  } & {
19
19
  ErrorBoundary: typeof import("../ErrorBoundary/ErrorBoundary").ErrorBoundaryInner;
20
20
  })[T] ? T_1 extends React.ComponentType<any> ? React.ComponentType<React.PropsWithoutRef<React.ComponentProps<T_1>>> : never : never : never;
@@ -1,7 +1,9 @@
1
+ import React from 'react';
1
2
  import './CriticalActionDialog.scss';
2
3
  interface CriticalActionDialogProps<T> {
3
4
  visible: boolean;
4
- text: string;
5
+ header?: React.ReactNode;
6
+ text?: string;
5
7
  withRetry?: boolean;
6
8
  retryButtonText?: string;
7
9
  onClose: VoidFunction;
@@ -9,5 +11,5 @@ interface CriticalActionDialogProps<T> {
9
11
  onConfirmActionSuccess: VoidFunction;
10
12
  onConfirmActionError: (error: unknown) => void;
11
13
  }
12
- export declare function CriticalActionDialog<T>({ visible, text, withRetry, retryButtonText, onClose, onConfirm, onConfirmActionSuccess, onConfirmActionError, }: CriticalActionDialogProps<T>): import("react/jsx-runtime").JSX.Element;
14
+ export declare function CriticalActionDialog<T>({ visible, header, text, withRetry, retryButtonText, onClose, onConfirm, onConfirmActionSuccess, onConfirmActionError, }: CriticalActionDialogProps<T>): import("react/jsx-runtime").JSX.Element;
13
15
  export {};
@@ -15,7 +15,7 @@ const parseError = (error) => {
15
15
  }
16
16
  return criticalActionDialogKeyset('default-error');
17
17
  };
18
- export function CriticalActionDialog({ visible, text, withRetry, retryButtonText, onClose, onConfirm, onConfirmActionSuccess, onConfirmActionError, }) {
18
+ export function CriticalActionDialog({ visible, header, text, withRetry, retryButtonText, onClose, onConfirm, onConfirmActionSuccess, onConfirmActionError, }) {
19
19
  const [isLoading, setIsLoading] = React.useState(false);
20
20
  const [error, setError] = React.useState();
21
21
  const onApply = async (isRetry) => {
@@ -33,14 +33,17 @@ export function CriticalActionDialog({ visible, text, withRetry, retryButtonText
33
33
  setIsLoading(false);
34
34
  });
35
35
  };
36
+ const handleTransitionExited = () => {
37
+ setError(undefined);
38
+ };
36
39
  const renderDialogContent = () => {
37
40
  if (error) {
38
- return (_jsxs(React.Fragment, { children: [_jsxs(Dialog.Body, { className: b('body'), children: [_jsx("span", { className: b('error-icon'), children: _jsx(CircleXmarkFill, { width: "24", height: "22" }) }), parseError(error)] }), _jsx(Dialog.Footer, { loading: false, preset: "default", textButtonApply: withRetry
41
+ return (_jsxs(React.Fragment, { children: [_jsx(Dialog.Header, { caption: header }), _jsx(Dialog.Body, { className: b('body'), children: _jsxs("div", { className: b('body-message', { error: true }), children: [_jsx("span", { className: b('error-icon'), children: _jsx(CircleXmarkFill, { width: "24", height: "22" }) }), parseError(error)] }) }), _jsx(Dialog.Footer, { loading: false, preset: "default", textButtonApply: withRetry
39
42
  ? retryButtonText || criticalActionDialogKeyset('button-retry')
40
43
  : undefined, textButtonCancel: criticalActionDialogKeyset('button-close'), onClickButtonApply: () => onApply(true), onClickButtonCancel: onClose })] }));
41
44
  }
42
- return (_jsxs(React.Fragment, { children: [_jsxs(Dialog.Body, { className: b('body'), children: [_jsx("span", { className: b('warning-icon'), children: _jsx(Icon, { data: TriangleExclamationFill, size: 24 }) }), text] }), _jsx(Dialog.Footer, { loading: isLoading, preset: "default", textButtonApply: criticalActionDialogKeyset('button-confirm'), textButtonCancel: criticalActionDialogKeyset('button-cancel'), propsButtonApply: { type: 'submit' }, onClickButtonCancel: onClose, onClickButtonApply: () => onApply() })] }));
45
+ return (_jsxs(React.Fragment, { children: [_jsx(Dialog.Header, { caption: header }), _jsx(Dialog.Body, { className: b('body'), children: _jsxs("div", { className: b('body-message', { warning: true }), children: [_jsx("span", { className: b('warning-icon'), children: _jsx(Icon, { data: TriangleExclamationFill, size: 24 }) }), text] }) }), _jsx(Dialog.Footer, { loading: isLoading, preset: "default", textButtonApply: criticalActionDialogKeyset('button-confirm'), textButtonCancel: criticalActionDialogKeyset('button-cancel'), propsButtonApply: { type: 'submit' }, onClickButtonCancel: onClose, onClickButtonApply: () => onApply() })] }));
43
46
  };
44
- return (_jsx(Dialog, { open: visible, hasCloseButton: false, className: b(), size: "s", onClose: onClose, onTransitionExited: () => setError(undefined), children: renderDialogContent() }));
47
+ return (_jsx(Dialog, { open: visible, hasCloseButton: false, className: b(), size: "s", onClose: onClose, onTransitionExited: handleTransitionExited, children: renderDialogContent() }));
45
48
  }
46
49
  //# sourceMappingURL=CriticalActionDialog.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"CriticalActionDialog.js","sourceRoot":"","sources":["../../../src/components/CriticalActionDialog/CriticalActionDialog.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,eAAe,EAAE,uBAAuB,EAAC,MAAM,mBAAmB,CAAC;AAC3E,OAAO,EAAC,MAAM,EAAE,IAAI,EAAC,MAAM,mBAAmB,CAAC;AAG/C,OAAO,EAAC,EAAE,EAAC,MAAM,gBAAgB,CAAC;AAElC,OAAO,EAAC,0BAA0B,EAAC,MAAM,QAAQ,CAAC;AAElD,OAAO,6BAA6B,CAAC;AAErC,MAAM,CAAC,GAAG,EAAE,CAAC,qBAAqB,CAAC,CAAC;AAEpC,MAAM,UAAU,GAAG,CAAC,KAAqB,EAAE,EAAE;IACzC,IAAI,KAAK,CAAC,MAAM,KAAK,GAAG,EAAE,CAAC;QACvB,OAAO,0BAA0B,CAAC,iBAAiB,CAAC,CAAC;IACzD,CAAC;IACD,IAAI,KAAK,CAAC,UAAU,EAAE,CAAC;QACnB,OAAO,KAAK,CAAC,UAAU,C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H,MAAC,KAAK,CAAC,QAAQ,eACX,KAAC,MAAM,CAAC,MAAM,IAAC,OAAO,EAAE,MAAM,GAAI,EAElC,KAAC,MAAM,CAAC,IAAI,IAAC,SAAS,EAAE,CAAC,CAAC,MAAM,CAAC,YAC7B,eAAK,SAAS,EAAE,CAAC,CAAC,cAAc,EAAE,EAAC,OAAO,EAAE,IAAI,EAAC,CAAC,aAC9C,eAAM,SAAS,EAAE,CAAC,CAAC,cAAc,CAAC,YAC9B,KAAC,IAAI,IAAC,IAAI,EAAE,uBAAuB,EAAE,IAAI,EAAE,EAAE,GAAI,GAC9C,EACN,IAAI,IACH,GACI,EAEd,KAAC,MAAM,CAAC,MAAM,IACV,OAAO,EAAE,SAAS,EAClB,MAAM,EAAC,SAAS,EAChB,eAAe,EAAE,0BAA0B,CAAC,gBAAgB,CAAC,EAC7D,gBAAgB,EAAE,0BAA0B,CAAC,eAAe,CAAC,EAC7D,gBAAgB,EAAE,EAAC,IAAI,EAAE,QAAQ,EAAC,EAClC,mBAAmB,EAAE,OAAO,EAC5B,kBAAkB,EAAE,GAAG,EAAE,CAAC,OAAO,EAAE,GACrC,IACW,CACpB,CAAC;IACN,CAAC,CAAC;IAEF,OAAO,CACH,KAAC,MAAM,IACH,IAAI,EAAE,OAAO,EACb,cAAc,EAAE,KAAK,EACrB,SAAS,EAAE,CAAC,EAAE,EACd,IAAI,EAAC,GAAG,EACR,OAAO,EAAE,OAAO,EAChB,kBAAkB,EAAE,sBAAsB,YAEzC,mBAAmB,EAAE,GACjB,CACZ,CAAC;AACN,CAAC"}
@@ -1,5 +1,5 @@
1
1
  .ydb-critical-dialog {
2
- padding-top: var(--g-spacing-7);
2
+ padding-top: var(--g-spacing-3);
3
3
 
4
4
  &__warning-icon {
5
5
  margin-right: 16px;
@@ -15,7 +15,29 @@
15
15
  }
16
16
 
17
17
  &__body {
18
+ display: flex;
19
+ flex-direction: column;
20
+ gap: var(--g-spacing-6);
21
+ }
22
+
23
+ &__body-message {
18
24
  display: flex;
19
25
  align-items: center;
26
+
27
+ &_warning,
28
+ &_error {
29
+ padding: var(--g-spacing-4) var(--g-spacing-5);
30
+
31
+ border: 1px solid;
32
+ border-radius: var(--g-modal-border-radius, 5px);
33
+ }
34
+
35
+ &_warning {
36
+ border-color: var(--ydb-color-status-yellow);
37
+ }
38
+
39
+ &_error {
40
+ border-color: var(--ydb-color-status-red);
41
+ }
20
42
  }
21
43
  }
@@ -0,0 +1,5 @@
1
+ interface ErrorWithRetry {
2
+ retryPossible: boolean;
3
+ }
4
+ export declare const isErrorWithRetry: (error: unknown) => error is ErrorWithRetry;
5
+ export {};
@@ -0,0 +1,4 @@
1
+ export const isErrorWithRetry = (error) => {
2
+ return Boolean(error && typeof error === 'object' && 'retryPossible' in error && error.retryPossible);
3
+ };
4
+ //# sourceMappingURL=utils.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../src/components/CriticalActionDialog/utils.ts"],"names":[],"mappings":"AAIA,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,KAAc,EAA2B,EAAE;IACxE,OAAO,OAAO,CACV,KAAK,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,eAAe,IAAI,KAAK,IAAI,KAAK,CAAC,aAAa,CACxF,CAAC;AACN,CAAC,CAAC"}
@@ -8,12 +8,14 @@
8
8
  --progress-bar-border-color: var(--g-color-base-misc-heavy);
9
9
  --progress-bar-background-color: var(--g-color-base-misc-light);
10
10
  --progress-bar-fill-color: var(--g-color-base-misc-medium);
11
+ --progress-bar-full-height: var(--g-text-body-3-line-height);
12
+ --progress-bar-compact-height: 12px;
11
13
 
12
14
  position: relative;
13
15
  z-index: 0;
14
16
 
15
17
  min-width: 50px;
16
- height: var(--g-text-body-3-line-height);
18
+ height: var(--progress-bar-full-height);
17
19
 
18
20
  text-align: center;
19
21
 
@@ -24,7 +26,7 @@
24
26
 
25
27
  &_compact {
26
28
  min-width: 0;
27
- height: 12px;
29
+ height: var(--progress-bar-compact-height);
28
30
 
29
31
  border-radius: 2px;
30
32
  }
@@ -101,7 +103,7 @@
101
103
 
102
104
  font-size: var(--g-text-body-1-font-size);
103
105
  // bar height minus borders
104
- line-height: calc(var(--g-text-body-3-line-height) - #{$border-width * 2});
106
+ line-height: calc(var(--progress-bar-full-height) - #{$border-width * 2});
105
107
 
106
108
  color: inherit;
107
109
  }
@@ -5,7 +5,6 @@ interface EntityPageTitleProps {
5
5
  status: EFlag;
6
6
  id: React.ReactNode;
7
7
  className?: string;
8
- children?: React.ReactNode;
9
8
  }
10
- export declare function EntityPageTitle({ entityName, status, id, className, children, }: EntityPageTitleProps): import("react/jsx-runtime").JSX.Element;
9
+ export declare function EntityPageTitle({ entityName, status, id, className }: EntityPageTitleProps): import("react/jsx-runtime").JSX.Element;
11
10
  export {};
@@ -3,7 +3,7 @@ import { cn } from '../../utils/cn';
3
3
  import { StatusIcon } from '../StatusIcon/StatusIcon';
4
4
  import './EntityPageTitle.scss';
5
5
  const b = cn('ydb-entity-page-title');
6
- export function EntityPageTitle({ entityName, status, id, className, children, }) {
7
- return (_jsxs("div", { className: b(null, className), children: [_jsx("span", { className: b('prefix'), children: entityName }), _jsx(StatusIcon, { className: b('icon'), status: status, size: "s" }), id, children] }));
6
+ export function EntityPageTitle({ entityName, status, id, className }) {
7
+ return (_jsxs("div", { className: b(null, className), children: [_jsx("span", { className: b('prefix'), children: entityName }), _jsx(StatusIcon, { className: b('icon'), status: status, size: "s" }), id] }));
8
8
  }
9
9
  //# sourceMappingURL=EntityPageTitle.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"EntityPageTitle.js","sourceRoot":"","sources":["../../../src/components/EntityPageTitle/EntityPageTitle.tsx"],"names":[],"mappings":";AACA,OAAO,EAAC,EAAE,EAAC,MAAM,gBAAgB,CAAC;AAClC,OAAO,EAAC,UAAU,EAAC,MAAM,0BAA0B,CAAC;AAEpD,OAAO,wBAAwB,CAAC;AAEhC,MAAM,CAAC,GAAG,EAAE,CAAC,uBAAuB,CAAC,CAAC;AAUtC,MAAM,UAAU,eAAe,CAAC,EAC5B,UAAU,EACV,MAAM,EACN,EAAE,EACF,SAAS,EACT,QAAQ,GACW;IACnB,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,EACF,QAAQ,IACP,CACT,CAAC;AACN,CAAC"}
1
+ {"version":3,"file":"EntityPageTitle.js","sourceRoot":"","sources":["../../../src/components/EntityPageTitle/EntityPageTitle.tsx"],"names":[],"mappings":";AACA,OAAO,EAAC,EAAE,EAAC,MAAM,gBAAgB,CAAC;AAClC,OAAO,EAAC,UAAU,EAAC,MAAM,0BAA0B,CAAC;AAEpD,OAAO,wBAAwB,CAAC;AAEhC,MAAM,CAAC,GAAG,EAAE,CAAC,uBAAuB,CAAC,CAAC;AAStC,MAAM,UAAU,eAAe,CAAC,EAAC,UAAU,EAAE,MAAM,EAAE,EAAE,EAAE,SAAS,EAAuB;IACrF,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"}
@@ -5,10 +5,10 @@ import { InfoViewer } from '../InfoViewer';
5
5
  import { ProgressViewer } from '../ProgressViewer/ProgressViewer';
6
6
  import { groupInfoKeyset } from './i18n';
7
7
  export function GroupInfo({ data, ...infoViewerProps }) {
8
- const { GroupID, PoolName, Used, Limit, ErasureSpecies } = data;
8
+ const { GroupId, PoolName, Used, Limit, ErasureSpecies } = data;
9
9
  const groupInfo = [];
10
- if (valueIsDefined(GroupID)) {
11
- groupInfo.push({ label: groupInfoKeyset('group-id'), value: GroupID });
10
+ if (valueIsDefined(GroupId)) {
11
+ groupInfo.push({ label: groupInfoKeyset('group-id'), value: GroupId });
12
12
  }
13
13
  if (valueIsDefined(PoolName)) {
14
14
  groupInfo.push({ label: groupInfoKeyset('pool-name'), value: PoolName });
@@ -7,7 +7,7 @@ import './InfoViewerSkeleton.scss';
7
7
  const b = cn('ydb-info-viewer-skeleton');
8
8
  const SkeletonLabel = () => (_jsxs("div", { className: b('label'), children: [_jsx(Skeleton, { className: b('label__text') }), _jsx("div", { className: b('label__dots') })] }));
9
9
  export const InfoViewerSkeleton = ({ rows = 8, className, delay = 600 }) => {
10
- const show = useDelayed(delay);
10
+ const [show] = useDelayed(delay);
11
11
  let skeletons = (_jsxs(React.Fragment, { children: [_jsx(SkeletonLabel, {}), _jsx(Skeleton, { className: b('value') })] }));
12
12
  if (!show) {
13
13
  skeletons = null;
@@ -1 +1 @@
1
- {"version":3,"file":"InfoViewerSkeleton.js","sourceRoot":"","sources":["../../../src/components/InfoViewerSkeleton/InfoViewerSkeleton.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,QAAQ,EAAC,MAAM,mBAAmB,CAAC;AAE3C,OAAO,EAAC,EAAE,EAAC,MAAM,gBAAgB,CAAC;AAClC,OAAO,EAAC,UAAU,EAAC,MAAM,8BAA8B,CAAC;AAExD,OAAO,2BAA2B,CAAC;AAEnC,MAAM,CAAC,GAAG,EAAE,CAAC,0BAA0B,CAAC,CAAC;AAEzC,MAAM,aAAa,GAAG,GAAG,EAAE,CAAC,CACxB,eAAK,SAAS,EAAE,CAAC,CAAC,OAAO,CAAC,aACtB,KAAC,QAAQ,IAAC,SAAS,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AC;AAEzC,MAAM,aAAa,GAAG,GAAG,EAAE,CAAC,CACxB,eAAK,SAAS,EAAE,CAAC,CAAC,OAAO,CAAC,aACtB,KAAC,QAAQ,IAAC,SAAS,EAAE,CAAC,CAAC,aAAa,CAAC,GAAI,EACzC,cAAK,SAAS,EAAE,CAAC,CAAC,aAAa,CAAC,GAAI,IAClC,CACT,CAAC;AAQF,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,EAAC,IAAI,GAAG,CAAC,EAAE,SAAS,EAAE,KAAK,GAAG,GAAG,EAA0B,EAAE,EAAE;IAC9F,MAAM,CAAC,IAAI,CAAC,GAAG,UAAU,CAAC,KAAK,CAAC,CAAC;IACjC,IAAI,SAAS,GAAoB,CAC7B,MAAC,KAAK,CAAC,QAAQ,eACX,KAAC,aAAa,KAAG,EACjB,KAAC,QAAQ,IAAC,SAAS,EAAE,CAAC,CAAC,OAAO,CAAC,GAAI,IACtB,CACpB,CAAC;IACF,IAAI,CAAC,IAAI,EAAE,CAAC;QACR,SAAS,GAAG,IAAI,CAAC;IACrB,CAAC;IACD,OAAO,CACH,cAAK,SAAS,EAAE,CAAC,CAAC,IAAI,EAAE,SAAS,CAAC,YAC7B,CAAC,GAAG,IAAI,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,CAAC,CACpC,cAAK,SAAS,EAAE,CAAC,CAAC,KAAK,CAAC,YACnB,SAAS,IADiB,gBAAgB,KAAK,EAAE,CAEhD,CACT,CAAC,GACA,CACT,CAAC;AACN,CAAC,CAAC"}
@@ -3,6 +3,7 @@ interface ExternalLinkWithIconProps {
3
3
  title: string;
4
4
  url: string;
5
5
  external?: boolean;
6
+ className?: string;
6
7
  }
7
- export declare const LinkWithIcon: ({ title, url, external }: ExternalLinkWithIconProps) => import("react/jsx-runtime").JSX.Element;
8
+ export declare const LinkWithIcon: ({ title, url, external, className, }: ExternalLinkWithIconProps) => import("react/jsx-runtime").JSX.Element;
8
9
  export {};
@@ -6,11 +6,11 @@ import { cn } from '../../utils/cn';
6
6
  import { InternalLink } from '../InternalLink';
7
7
  import './LinkWithIcon.scss';
8
8
  const b = cn('ydb-link-with-icon');
9
- export const LinkWithIcon = ({ title, url, external = true }) => {
9
+ export const LinkWithIcon = ({ title, url, external = true, className, }) => {
10
10
  const linkContent = (_jsxs(React.Fragment, { children: [title, '\u00a0', _jsx(ArrowUpRightFromSquare, {})] }));
11
11
  if (external) {
12
- return (_jsx(Link, { href: url, target: "_blank", className: b(), children: linkContent }));
12
+ return (_jsx(Link, { href: url, target: "_blank", className: b(null, className), children: linkContent }));
13
13
  }
14
- return (_jsx(InternalLink, { to: url, className: b(), children: linkContent }));
14
+ return (_jsx(InternalLink, { to: url, className: b(null, className), children: linkContent }));
15
15
  };
16
16
  //# sourceMappingURL=LinkWithIcon.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"LinkWithIcon.js","sourceRoot":"","sources":["../../../src/components/LinkWithIcon/LinkWithIcon.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,sBAAsB,EAAC,MAAM,mBAAmB,CAAC;AACzD,OAAO,EAAC,IAAI,EAAC,MAAM,mBAAmB,CAAC;AAEvC,OAAO,EAAC,EAAE,EAAC,MAAM,gBAAgB,CAAC;AAClC,OAAO,EAAC,YAAY,EAAC,MAAM,iBAAiB,CAAC;AAE7C,OAAO,qBAAqB,CAAC;AAE7B,MAAM,CAAC,GAAG,EAAE,CAAC,oBAAoB,CAAC,CAAC;AAQnC,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,EAAC,KAAK,EAAE,GAAG,EAAE,QAAQ,GAAG,IAAI,EAA4B,EAAE,EAAE;IACrF,MAAM,WAAW,GAAG,CAChB,MAAC,KAAK,CAAC,QAAQ,eACV,KAAK,EACL,QAAQ,EACT,KAAC,sBAAsB,KAAG,IACb,CACpB,CAAC;IAEF,IAAI,QAAQ,E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IAAI,EAAE,SAAS,CAAC,YAC/C,WAAW,GACD,CAClB,CAAC;AACN,CAAC,CAAC"}
@@ -5,7 +5,7 @@ import { useDelayed } from '../../utils/hooks/useDelayed';
5
5
  import './Loader.scss';
6
6
  const b = cn('ydb-loader');
7
7
  export const Loader = ({ size = 'm', delay = 600, className }) => {
8
- const show = useDelayed(delay);
8
+ const [show] = useDelayed(delay);
9
9
  if (!show) {
10
10
  return null;
11
11
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Loader.js","sourceRoot":"","sources":["../../../src/components/Loader/Loader.tsx"],"names":[],"mappings":";AACA,OAAO,EAAC,MAAM,IAAI,SAAS,EAAC,MAAM,mBAAmB,CAAC;AAEtD,OAAO,EAAC,EAAE,EAAC,MAAM,gBAAgB,CAAC;AAClC,OAAO,EAAC,UAAU,EAAC,MAAM,8BAA8B,CAAC;AAExD,OAAO,eAAe,CAAC;AAEvB,MAAM,CAAC,GAAG,EAAE,CAAC,YAAY,CAAC,CAAC;AAQ3B,MAAM,CAAC,MAAM,MAAM,GAAG,CAAC,EAAC,IAAI,GAAG,GAAG,EAAE,KAAK,GAAG,GAAG,EAAE,SAAS,EAAc,EAAE,EAAE;IACxE,MAAM,IAAI,GAAG,UAAU,CAAC,KAAK,CAAC,CAAC;IAC/B,IAAI,CAAC,IAAI,EAAE,CAAC;QACR,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO,CACH,cAAK,SAAS,EAAE,CAAC,CAAC,IAAI,EAAE,SAAS,CAAC,YAC9B,KAAC,SAAS,IAAC,IAAI,EAAE,IAAI,GAAI,GACvB,CACT,CAAC;AACN,CAAC,CAAC"}
1
+ {"version":3,"file":"Loader.js","sourceRoot":"","sources":["../../../src/components/Loader/Loader.tsx"],"names":[],"mappings":";AACA,OAAO,EAAC,MAAM,IAAI,SAAS,EAAC,MAAM,mBAAmB,CAAC;AAEtD,OAAO,EAAC,EAAE,EAAC,MAAM,gBAAgB,CAAC;AAClC,OAAO,EAAC,UAAU,EAAC,MAAM,8BAA8B,CAAC;AAExD,OAAO,eAAe,CAAC;AAEvB,MAAM,CAAC,GAAG,EAAE,CAAC,YAAY,CAAC,CAAC;AAQ3B,MAAM,CAAC,MAAM,MAAM,GAAG,CAAC,EAAC,IAAI,GAAG,GAAG,EAAE,KAAK,GAAG,GAAG,EAAE,SAAS,EAAc,EAAE,EAAE;IACxE,MAAM,CAAC,IAAI,CAAC,GAAG,UAAU,CAAC,KAAK,CAAC,CAAC;IACjC,IAAI,CAAC,IAAI,EAAE,CAAC;QACR,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO,CACH,cAAK,SAAS,EAAE,CAAC,CAAC,IAAI,EAAE,SAAS,CAAC,YAC9B,KAAC,SAAS,IAAC,IAAI,EAAE,IAAI,GAAI,GACvB,CACT,CAAC;AACN,CAAC,CAAC"}
@@ -1,4 +1,4 @@
1
1
  import type { GetChartDataParams } from './getChartData';
2
2
  export declare const chartApi: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../../store/reducers/api")._NEVER, unknown, {}>, {
3
- getChartData: import("@reduxjs/toolkit/query").QueryDefinition<GetChartDataParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../../store/reducers/api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", import("./types").PreparedMetricsData | undefined, "api">;
4
- }, "api", "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
3
+ getChartData: import("@reduxjs/toolkit/query").QueryDefinition<GetChartDataParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../../store/reducers/api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("./types").PreparedMetricsData | undefined, "api">;
4
+ }, "api", "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
@@ -17,14 +17,8 @@ import './PDiskInfo.scss';
17
17
  const b = cn('ydb-pdisk-info');
18
18
  // eslint-disable-next-line complexity
19
19
  function getPDiskInfo({ pDisk, nodeId, withPDiskPageLink, isUserAllowedToMakeChanges, }) {
20
- const { PDiskId, Path, Guid, Category, Type, Device, Realtime, State, SerialNumber, TotalSize, AllocatedSize, DecommitStatus, StatusV2, NumActiveSlots, ExpectedSlotCount, LogUsedSize, LogTotalSize, SystemSize, SharedWithOs, } = pDisk || {};
20
+ const { PDiskId, Path, Guid, Category, Type, Device, Realtime, State, SerialNumber, TotalSize, AllocatedSize, StatusV2, NumActiveSlots, ExpectedSlotCount, LogUsedSize, LogTotalSize, SystemSize, SharedWithOs, } = pDisk || {};
21
21
  const generalInfo = [];
22
- if (valueIsDefined(DecommitStatus)) {
23
- generalInfo.push({
24
- label: pDiskInfoKeyset('decomission-status'),
25
- value: DecommitStatus.replace('DECOMMIT_', ''),
26
- });
27
- }
28
22
  if (valueIsDefined(Category)) {
29
23
  generalInfo.push({ label: pDiskInfoKeyset('type'), value: Type });
30
24
  }
@@ -1 +1 @@
1
- {"version":3,"file":"PDiskInfo.js","sourceRoot":"","sources":["../../../src/components/PDiskInfo/PDiskInfo.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,gBAAgB,EAAC,MAAM,cAAc,CAAC;AAC9C,OAAO,EAAC,gCAAgC,EAAC,MAAM,oDAAoD,CAAC;AACpG,OAAO,EAAC,qBAAqB,EAAC,MAAM,yCAAyC,CAAC;AAC9E,OAAO,EAAC,cAAc,EAAC,MAAM,aAAa,CAAC;AAC3C,OAAO,EAAC,WAAW,EAAC,MAAM,0BAA0B,CAAC;AACrD,OAAO,EAAC,EAAE,EAAC,MAAM,gBAAgB,CAAC;AAClC,OAAO,EAAC,uBAAuB,EAAC,MAAM,2CAA2C,CAAC;A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AAC,UAAU,IAAC,IAAI,EAAE,WAAW,EAAE,gBAAgB,EAAE,GAAG,EAAE,CAAC,IAAI,GAAI,EAC/D,KAAC,UAAU,IAAC,IAAI,EAAE,SAAS,EAAE,gBAAgB,EAAE,GAAG,EAAE,CAAC,IAAI,GAAI,IAC3D,EACN,eAAK,SAAS,EAAE,CAAC,CAAC,KAAK,CAAC,aACpB,KAAC,UAAU,IAAC,IAAI,EAAE,UAAU,EAAE,gBAAgB,EAAE,GAAG,EAAE,CAAC,IAAI,GAAI,EAC9D,KAAC,UAAU,IAAC,IAAI,EAAE,cAAc,EAAE,gBAAgB,EAAE,GAAG,EAAE,CAAC,IAAI,GAAI,IAChE,IACJ,CACT,CAAC;AACN,CAAC"}
@@ -1,5 +1,4 @@
1
1
  {
2
- "decomission-status": "Decomission Status",
3
2
  "type": "Type",
4
3
  "path": "Path",
5
4
  "guid": "GUID",
@@ -1 +1 @@
1
- export declare const pDiskInfoKeyset: (key: "type" | "path" | "space" | "state" | "yes" | "links" | "decomission-status" | "guid" | "serial-number" | "shared-with-os" | "drive-status" | "device" | "realtime" | "slots" | "log-size" | "system-size" | "developer-ui" | "pdisk-page", params?: import("@gravity-ui/i18n").Params) => string;
1
+ export declare const pDiskInfoKeyset: (key: "path" | "space" | "type" | "state" | "yes" | "links" | "guid" | "serial-number" | "shared-with-os" | "drive-status" | "device" | "realtime" | "slots" | "log-size" | "system-size" | "developer-ui" | "pdisk-page", params?: import("@gravity-ui/i18n").Params) => string;
@@ -2,7 +2,6 @@ import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import React from 'react';
3
3
  import { Popup } from '@gravity-ui/uikit';
4
4
  import { EFlag } from '../../types/api/enums';
5
- import { valueIsDefined } from '../../utils';
6
5
  import { cn } from '../../utils/cn';
7
6
  import { EMPTY_DATA_PLACEHOLDER } from '../../utils/constants';
8
7
  import { getPDiskId } from '../../utils/disks/helpers';
@@ -12,13 +11,12 @@ import './PDiskPopup.scss';
12
11
  const b = cn('pdisk-storage-popup');
13
12
  const errorColors = [EFlag.Orange, EFlag.Red, EFlag.Yellow];
14
13
  export const preparePDiskData = (data, nodes) => {
14
+ var _a;
15
15
  const { AvailableSize, TotalSize, State, PDiskId, NodeId, Path, Realtime, Type, Device } = data;
16
16
  const pdiskData = [
17
17
  {
18
18
  label: 'PDisk',
19
- value: valueIsDefined(NodeId) && valueIsDefined(PDiskId)
20
- ? getPDiskId(NodeId, PDiskId)
21
- : EMPTY_DATA_PLACEHOLDER,
19
+ value: (_a = getPDiskId(NodeId, PDiskId)) !== null && _a !== void 0 ? _a : EMPTY_DATA_PLACEHOLDER,
22
20
  },
23
21
  { label: 'State', value: State || 'not available' },
24
22
  { label: 'Type', value: Type || 'unknown' },
@@ -46,7 +44,7 @@ export const preparePDiskData = (data, nodes) => {
46
44
  };
47
45
  export const PDiskPopup = ({ data, nodes, ...props }) => {
48
46
  const info = React.useMemo(() => preparePDiskData(data, nodes), [data, nodes]);
49
- return (_jsx(Popup, { contentClassName: b(), placement: ['top', 'bottom'],
47
+ return (_jsx(Popup, { contentClassName: b(), placement: ['top', 'bottom'], hasArrow: true,
50
48
  // bigger offset for easier switching to neighbour nodes
51
49
  // matches the default offset for popup with arrow out of a sense of beauty
52
50
  offset: [0, 12], ...props, children: _jsx(InfoViewer, { title: "PDisk", info: info, size: "s" }) }));
@@ -1 +1 @@
1
- {"version":3,"file":"PDiskPopup.js","sourceRoot":"","sources":["../../../src/components/PDiskPopup/PDiskPopup.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAC,KAAK,EAAC,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAC,KAAK,EAAC,MAAM,uBAAuB,CAAC;AAE5C,OAAO,EAAC,cAAc,EAAC,MAAM,aAAa,CAAC;AAC3C,OAAO,EAAC,EAAE,EAAC,MAAM,gBAAgB,CAAC;AAClC,OAAO,EAAC,sBAAsB,EAAC,MAAM,uBAAuB,CAAC;AAC7D,OA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kB,EAAE,EAAE;IACnE,MAAM,IAAI,GAAG,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,gBAAgB,CAAC,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC,CAAC;IAE/E,OAAO,CACH,KAAC,KAAK,IACF,gBAAgB,EAAE,CAAC,EAAE,EACrB,SAAS,EAAE,CAAC,KAAK,EAAE,QAAQ,CAAC,EAC5B,QAAQ;QACR,wDAAwD;QACxD,2EAA2E;QAC3E,MAAM,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,KACX,KAAK,YAET,KAAC,UAAU,IAAC,KAAK,EAAC,OAAO,EAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAC,GAAG,GAAG,GAC7C,CACX,CAAC;AACN,CAAC,CAAC"}
@@ -14,5 +14,6 @@ export interface PaginatedTableProps<T, F> {
14
14
  renderControls?: RenderControls;
15
15
  renderEmptyDataMessage?: RenderEmptyDataMessage;
16
16
  renderErrorMessage?: RenderErrorMessage;
17
+ containerClassName?: string;
17
18
  }
18
- export declare const PaginatedTable: <T, F>({ limit, fetchData, filters, tableName, columns, getRowClassName, rowHeight, parentContainer, initialSortParams, onColumnsResize, renderControls, renderErrorMessage, renderEmptyDataMessage, }: PaginatedTableProps<T, F>) => import("react/jsx-runtime").JSX.Element;
19
+ export declare const PaginatedTable: <T, F>({ limit, fetchData, filters, tableName, columns, getRowClassName, rowHeight, parentContainer, initialSortParams, onColumnsResize, renderControls, renderErrorMessage, renderEmptyDataMessage, containerClassName, }: PaginatedTableProps<T, F>) => import("react/jsx-runtime").JSX.Element;
@@ -10,7 +10,7 @@ import i18n from './i18n';
10
10
  import { b } from './shared';
11
11
  import { useIntersectionObserver } from './useIntersectionObserver';
12
12
  import './PaginatedTable.scss';
13
- export const PaginatedTable = ({ limit, fetchData, filters, tableName, columns, getRowClassName, rowHeight = DEFAULT_TABLE_ROW_HEIGHT, parentContainer, initialSortParams, onColumnsResize, renderControls, renderErrorMessage, renderEmptyDataMessage, }) => {
13
+ export const PaginatedTable = ({ limit, fetchData, filters, tableName, columns, getRowClassName, rowHeight = DEFAULT_TABLE_ROW_HEIGHT, parentContainer, initialSortParams, onColumnsResize, renderControls, renderErrorMessage, renderEmptyDataMessage, containerClassName, }) => {
14
14
  const [sortParams, setSortParams] = React.useState(initialSortParams);
15
15
  const [totalEntities, setTotalEntities] = React.useState(limit);
16
16
  const [foundEntities, setFoundEntities] = React.useState(0);
@@ -61,6 +61,6 @@ export const PaginatedTable = ({ limit, fetchData, filters, tableName, columns,
61
61
  }
62
62
  return renderTable();
63
63
  };
64
- return (_jsx("div", { ref: tableContainer, className: b(null), children: renderContent() }));
64
+ return (_jsx("div", { ref: tableContainer, className: b(null, containerClassName), children: renderContent() }));
65
65
  };
66
66
  //# sourceMappingURL=PaginatedTable.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"PaginatedTable.js","sourceRoot":"","sources":["../../../src/components/PaginatedTable/PaginatedTable.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,QAAQ,EAAC,MAAM,aAAa,CAAC;AACrC,OAAO,EAAC,uBAAuB,EAAC,MAAM,oDAAoD,CAAC;AAE3F,OAAO,EAAC,UAAU,EAAC,MAAM,cAAc,CAAC;AACxC,OAAO,EAAC,SAAS,EAAC,MAAM,aAAa,CAAC;AACtC,OAAO,EAAC,aAAa,EAAC,MAAM,YAAY,CAAC;AACzC,OAAO,EAAC,wBAAwB,EAAC,MAAM,aAAa,CAAC;AACrD,OAAO,IAAI,MAAM,QAAQ,CAAC;AAC1B,OAAO,EAAC,CAAC,EAAC,MAAM,UAAU,CAAC;AAW3B,OAAO,EAAC,uBAAuB,EAAC,MAAM,2BAA2B,CAAC;AAElE,OAAO,uBAAuB,CAAC;AAkB/B,MAAM,CAAC,MAAM,cAAc,GAAG,CAAO,EACjC,KAAK,EACL,SAAS,EACT,OAAO,EACP,SAAS,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