ydb-embedded-ui 6.15.1 → 6.17.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (422) hide show
  1. package/dist/components/ContentWithPopup/ContentWithPopup.d.ts +2 -1
  2. package/dist/components/ContentWithPopup/ContentWithPopup.js +9 -2
  3. package/dist/components/ContentWithPopup/ContentWithPopup.js.map +1 -1
  4. package/dist/components/ElapsedTime/ElapsedTime.js +2 -1
  5. package/dist/components/ElapsedTime/ElapsedTime.js.map +1 -1
  6. package/dist/components/EmptyState/EmptyState.d.ts +6 -0
  7. package/dist/components/EmptyState/EmptyState.js +6 -0
  8. package/dist/components/EmptyState/EmptyState.js.map +1 -1
  9. package/dist/components/EntitiesCount/EntitiesCount.js +3 -1
  10. package/dist/components/EntitiesCount/EntitiesCount.js.map +1 -1
  11. package/dist/components/EntityPageTitle/EntityPageTitle.d.ts +11 -0
  12. package/dist/components/{DiskPageTitle/DiskPageTitle.js → EntityPageTitle/EntityPageTitle.js} +5 -5
  13. package/dist/components/EntityPageTitle/EntityPageTitle.js.map +1 -0
  14. package/dist/components/{DiskPageTitle/DiskPageTitle.scss → EntityPageTitle/EntityPageTitle.scss} +1 -1
  15. package/dist/components/ErrorBoundary/ErrorBoundary.scss +2 -0
  16. package/dist/components/FullNodeViewer/FullNodeViewer.js +1 -1
  17. package/dist/components/FullNodeViewer/FullNodeViewer.js.map +1 -1
  18. package/dist/components/InfoViewer/InfoViewer.d.ts +0 -1
  19. package/dist/components/InfoViewer/InfoViewer.js +0 -1
  20. package/dist/components/InfoViewer/InfoViewer.js.map +1 -1
  21. package/dist/components/InfoViewer/index.d.ts +1 -1
  22. package/dist/components/InfoViewer/index.js +1 -1
  23. package/dist/components/InfoViewer/index.js.map +1 -1
  24. package/dist/components/InfoViewerSkeleton/InfoViewerSkeleton.d.ts +2 -1
  25. package/dist/components/InfoViewerSkeleton/InfoViewerSkeleton.js +10 -1
  26. package/dist/components/InfoViewerSkeleton/InfoViewerSkeleton.js.map +1 -1
  27. package/dist/components/MetricChart/reducer.d.ts +2 -2
  28. package/dist/components/NodeHostWrapper/NodeHostWrapper.d.ts +2 -1
  29. package/dist/components/NodeHostWrapper/NodeHostWrapper.js +2 -2
  30. package/dist/components/NodeHostWrapper/NodeHostWrapper.js.map +1 -1
  31. package/dist/components/NotRenderUntilFirstVisible/NotRenderUntilFirstVisible.d.ts +9 -0
  32. package/dist/components/NotRenderUntilFirstVisible/NotRenderUntilFirstVisible.js +9 -0
  33. package/dist/components/NotRenderUntilFirstVisible/NotRenderUntilFirstVisible.js.map +1 -0
  34. package/dist/components/NotRenderUntilFirstVisible/NotRenderUntilFirstVisible.scss +3 -0
  35. package/dist/components/PageMeta/PageMeta.d.ts +2 -1
  36. package/dist/components/PageMeta/PageMeta.js +9 -4
  37. package/dist/components/PageMeta/PageMeta.js.map +1 -1
  38. package/dist/components/PageMeta/PageMeta.scss +9 -6
  39. package/dist/components/PaginatedTable/PaginatedTable.d.ts +5 -4
  40. package/dist/components/PaginatedTable/PaginatedTable.js +24 -116
  41. package/dist/components/PaginatedTable/PaginatedTable.js.map +1 -1
  42. package/dist/components/PaginatedTable/PaginatedTable.scss +8 -0
  43. package/dist/components/PaginatedTable/ResizeablePaginatedTable.d.ts +2 -2
  44. package/dist/components/PaginatedTable/ResizeablePaginatedTable.js.map +1 -1
  45. package/dist/components/PaginatedTable/TableChunk.d.ts +13 -5
  46. package/dist/components/PaginatedTable/TableChunk.js +53 -22
  47. package/dist/components/PaginatedTable/TableChunk.js.map +1 -1
  48. package/dist/components/PaginatedTable/TableHead.js +1 -1
  49. package/dist/components/PaginatedTable/TableHead.js.map +1 -1
  50. package/dist/components/PaginatedTable/TableRow.js +1 -1
  51. package/dist/components/PaginatedTable/TableRow.js.map +1 -1
  52. package/dist/components/PaginatedTable/types.d.ts +8 -1
  53. package/dist/components/Skeleton/Skeleton.d.ts +6 -0
  54. package/dist/components/Skeleton/Skeleton.js +11 -0
  55. package/dist/components/Skeleton/Skeleton.js.map +1 -0
  56. package/dist/components/Tablet/Tablet.js +2 -2
  57. package/dist/components/Tablet/Tablet.js.map +1 -1
  58. package/dist/components/TabletState/TabletState.d.ts +6 -0
  59. package/dist/components/TabletState/TabletState.js +7 -0
  60. package/dist/components/TabletState/TabletState.js.map +1 -0
  61. package/dist/components/TabletsStatistic/TabletsStatistic.d.ts +2 -2
  62. package/dist/components/TabletsStatistic/TabletsStatistic.js +4 -6
  63. package/dist/components/TabletsStatistic/TabletsStatistic.js.map +1 -1
  64. package/dist/components/YDBDefinitionList/YDBDefinitionList.d.ts +9 -0
  65. package/dist/components/YDBDefinitionList/YDBDefinitionList.js +23 -0
  66. package/dist/components/YDBDefinitionList/YDBDefinitionList.js.map +1 -0
  67. package/dist/{containers/Tenant/Info/View/View.scss → components/YDBDefinitionList/YDBDefinitionList.scss} +6 -6
  68. package/dist/components/YDBDefinitionList/i18n/en.json +3 -0
  69. package/dist/components/YDBDefinitionList/i18n/index.d.ts +2 -0
  70. package/dist/components/YDBDefinitionList/i18n/index.js +5 -0
  71. package/dist/components/YDBDefinitionList/i18n/index.js.map +1 -0
  72. package/dist/containers/App/Content.js +1 -7
  73. package/dist/containers/App/Content.js.map +1 -1
  74. package/dist/containers/App/appSlots.d.ts +0 -6
  75. package/dist/containers/App/appSlots.js +0 -1
  76. package/dist/containers/App/appSlots.js.map +1 -1
  77. package/dist/containers/Cluster/Cluster.js +13 -22
  78. package/dist/containers/Cluster/Cluster.js.map +1 -1
  79. package/dist/containers/Cluster/Cluster.scss +14 -0
  80. package/dist/containers/Cluster/ClusterInfo/ClusterInfo.d.ts +3 -3
  81. package/dist/containers/Cluster/ClusterInfo/ClusterInfo.js +18 -2
  82. package/dist/containers/Cluster/ClusterInfo/ClusterInfo.js.map +1 -1
  83. package/dist/containers/Cluster/i18n/index.d.ts +1 -1
  84. package/dist/containers/Header/Header.js +6 -7
  85. package/dist/containers/Header/Header.js.map +1 -1
  86. package/dist/containers/Header/breadcrumbs.js +26 -30
  87. package/dist/containers/Header/breadcrumbs.js.map +1 -1
  88. package/dist/containers/Heatmap/HeatmapCanvas/HeatmapCanvas.js +2 -2
  89. package/dist/containers/Heatmap/HeatmapCanvas/HeatmapCanvas.js.map +1 -1
  90. package/dist/containers/Node/Node.js +12 -6
  91. package/dist/containers/Node/Node.js.map +1 -1
  92. package/dist/containers/Node/NodePages.d.ts +2 -1
  93. package/dist/containers/Node/NodePages.js +2 -2
  94. package/dist/containers/Node/NodePages.js.map +1 -1
  95. package/dist/containers/Nodes/Nodes.d.ts +2 -1
  96. package/dist/containers/Nodes/Nodes.js +3 -2
  97. package/dist/containers/Nodes/Nodes.js.map +1 -1
  98. package/dist/containers/Nodes/NodesWrapper.d.ts +1 -0
  99. package/dist/containers/Nodes/NodesWrapper.js.map +1 -1
  100. package/dist/containers/Nodes/PaginatedNodes.d.ts +2 -1
  101. package/dist/containers/Nodes/PaginatedNodes.js +7 -18
  102. package/dist/containers/Nodes/PaginatedNodes.js.map +1 -1
  103. package/dist/containers/Nodes/getNodes.d.ts +3 -6
  104. package/dist/containers/Nodes/getNodes.js +19 -2
  105. package/dist/containers/Nodes/getNodes.js.map +1 -1
  106. package/dist/containers/Nodes/getNodesColumns.d.ts +3 -3
  107. package/dist/containers/Nodes/getNodesColumns.js +9 -9
  108. package/dist/containers/Nodes/getNodesColumns.js.map +1 -1
  109. package/dist/containers/PDiskPage/PDiskGroups/PDiskGroups.js +2 -2
  110. package/dist/containers/PDiskPage/PDiskGroups/PDiskGroups.js.map +1 -1
  111. package/dist/containers/PDiskPage/PDiskPage.js +4 -5
  112. package/dist/containers/PDiskPage/PDiskPage.js.map +1 -1
  113. package/dist/containers/PDiskPage/PDiskPage.scss +0 -7
  114. package/dist/containers/PDiskPage/i18n/index.d.ts +1 -1
  115. package/dist/containers/Storage/PaginatedStorage.d.ts +2 -2
  116. package/dist/containers/Storage/PaginatedStorage.js +3 -3
  117. package/dist/containers/Storage/PaginatedStorage.js.map +1 -1
  118. package/dist/containers/Storage/Storage.d.ts +2 -2
  119. package/dist/containers/Storage/Storage.js +4 -4
  120. package/dist/containers/Storage/Storage.js.map +1 -1
  121. package/dist/containers/Storage/StorageGroups/PaginatedStorageGroups.d.ts +2 -2
  122. package/dist/containers/Storage/StorageGroups/PaginatedStorageGroups.js +5 -17
  123. package/dist/containers/Storage/StorageGroups/PaginatedStorageGroups.js.map +1 -1
  124. package/dist/containers/Storage/StorageGroups/getGroups.d.ts +3 -6
  125. package/dist/containers/Storage/StorageGroups/getGroups.js +15 -2
  126. package/dist/containers/Storage/StorageGroups/getGroups.js.map +1 -1
  127. package/dist/containers/Storage/StorageGroups/getStorageGroupsColumns.d.ts +1 -1
  128. package/dist/containers/Storage/StorageGroups/getStorageGroupsColumns.js +1 -1
  129. package/dist/containers/Storage/StorageGroups/getStorageGroupsColumns.js.map +1 -1
  130. package/dist/containers/Storage/StorageNodes/PaginatedStorageNodes.d.ts +2 -2
  131. package/dist/containers/Storage/StorageNodes/PaginatedStorageNodes.js +8 -20
  132. package/dist/containers/Storage/StorageNodes/PaginatedStorageNodes.js.map +1 -1
  133. package/dist/containers/Storage/StorageNodes/StorageNodes.d.ts +2 -1
  134. package/dist/containers/Storage/StorageNodes/StorageNodes.js +2 -2
  135. package/dist/containers/Storage/StorageNodes/StorageNodes.js.map +1 -1
  136. package/dist/containers/Storage/StorageNodes/getNodes.d.ts +3 -5
  137. package/dist/containers/Storage/StorageNodes/getNodes.js +17 -2
  138. package/dist/containers/Storage/StorageNodes/getNodes.js.map +1 -1
  139. package/dist/containers/Storage/StorageNodes/getStorageNodesColumns.d.ts +1 -1
  140. package/dist/containers/Storage/StorageNodes/getStorageNodesColumns.js +4 -4
  141. package/dist/containers/Storage/StorageNodes/getStorageNodesColumns.js.map +1 -1
  142. package/dist/containers/Storage/StorageWrapper.d.ts +1 -1
  143. package/dist/containers/Tablet/Tablet.d.ts +1 -1
  144. package/dist/containers/Tablet/Tablet.js +118 -54
  145. package/dist/containers/Tablet/Tablet.js.map +1 -1
  146. package/dist/containers/Tablet/Tablet.scss +4 -81
  147. package/dist/containers/Tablet/components/TabletControls/TabletControls.d.ts +6 -0
  148. package/dist/containers/Tablet/components/TabletControls/TabletControls.js +27 -0
  149. package/dist/containers/Tablet/components/TabletControls/TabletControls.js.map +1 -0
  150. package/dist/containers/Tablet/components/TabletControls/index.js.map +1 -0
  151. package/dist/containers/Tablet/components/TabletInfo/TabletInfo.d.ts +7 -0
  152. package/dist/containers/Tablet/components/TabletInfo/TabletInfo.js +59 -0
  153. package/dist/containers/Tablet/components/TabletInfo/TabletInfo.js.map +1 -0
  154. package/dist/containers/Tablet/components/TabletInfo/TabletInfo.scss +12 -0
  155. package/dist/containers/Tablet/components/TabletInfo/i18n/en.json +16 -0
  156. package/dist/containers/Tablet/components/TabletInfo/i18n/index.d.ts +1 -0
  157. package/dist/containers/Tablet/components/TabletInfo/i18n/index.js +5 -0
  158. package/dist/containers/Tablet/components/TabletInfo/i18n/index.js.map +1 -0
  159. package/dist/containers/Tablet/components/TabletInfo/index.js.map +1 -0
  160. package/dist/containers/Tablet/components/TabletStorageInfo/TabletStorageInfo.d.ts +7 -0
  161. package/dist/containers/Tablet/components/TabletStorageInfo/TabletStorageInfo.js +36 -0
  162. package/dist/containers/Tablet/components/TabletStorageInfo/TabletStorageInfo.js.map +1 -0
  163. package/dist/containers/Tablet/components/TabletStorageInfo/TabletStorageInfo.scss +78 -0
  164. package/dist/containers/Tablet/components/TabletStorageInfo/columns.d.ts +3 -0
  165. package/dist/containers/Tablet/components/TabletStorageInfo/columns.js +56 -0
  166. package/dist/containers/Tablet/components/TabletStorageInfo/columns.js.map +1 -0
  167. package/dist/containers/Tablet/components/TabletStorageInfo/i18n/en.json +7 -0
  168. package/dist/containers/Tablet/components/TabletStorageInfo/i18n/index.d.ts +1 -0
  169. package/dist/containers/Tablet/components/TabletStorageInfo/i18n/index.js +5 -0
  170. package/dist/containers/Tablet/components/TabletStorageInfo/i18n/index.js.map +1 -0
  171. package/dist/containers/Tablet/components/TabletStorageInfo/shared.d.ts +1 -0
  172. package/dist/containers/Tablet/components/TabletStorageInfo/shared.js +3 -0
  173. package/dist/containers/Tablet/components/TabletStorageInfo/shared.js.map +1 -0
  174. package/dist/containers/Tablet/components/TabletStorageInfo/types.d.ts +5 -0
  175. package/dist/containers/Tablet/components/TabletStorageInfo/types.js +2 -0
  176. package/dist/containers/Tablet/components/TabletStorageInfo/types.js.map +1 -0
  177. package/dist/containers/Tablet/components/TabletStorageInfo/utils.d.ts +3 -0
  178. package/dist/containers/Tablet/components/TabletStorageInfo/utils.js +29 -0
  179. package/dist/containers/Tablet/components/TabletStorageInfo/utils.js.map +1 -0
  180. package/dist/containers/Tablet/{TabletTable → components/TabletTable}/TabletTable.d.ts +1 -1
  181. package/dist/containers/Tablet/{TabletTable → components/TabletTable}/TabletTable.js +7 -6
  182. package/dist/containers/Tablet/components/TabletTable/TabletTable.js.map +1 -0
  183. package/dist/containers/Tablet/components/TabletTable/index.js.map +1 -0
  184. package/dist/containers/Tablet/i18n/en.json +5 -1
  185. package/dist/containers/Tablet/i18n/index.d.ts +1 -1
  186. package/dist/containers/Tablet/utils.d.ts +1 -0
  187. package/dist/containers/Tablet/utils.js +4 -0
  188. package/dist/containers/Tablet/utils.js.map +1 -0
  189. package/dist/containers/Tablets/Tablets.d.ts +2 -1
  190. package/dist/containers/Tablets/Tablets.js +100 -90
  191. package/dist/containers/Tablets/Tablets.js.map +1 -1
  192. package/dist/containers/Tablets/i18n/index.d.ts +1 -1
  193. package/dist/containers/Tenant/Acl/Acl.scss +2 -2
  194. package/dist/containers/Tenant/Diagnostics/Describe/Describe.js +10 -9
  195. package/dist/containers/Tenant/Diagnostics/Describe/Describe.js.map +1 -1
  196. package/dist/containers/Tenant/Diagnostics/Describe/Describe.scss +13 -2
  197. package/dist/containers/Tenant/Diagnostics/Diagnostics.js +3 -3
  198. package/dist/containers/Tenant/Diagnostics/Diagnostics.js.map +1 -1
  199. package/dist/containers/Tenant/Diagnostics/Overview/AsyncReplicationInfo/AsyncReplicationInfo.js +39 -20
  200. package/dist/containers/Tenant/Diagnostics/Overview/AsyncReplicationInfo/AsyncReplicationInfo.js.map +1 -1
  201. package/dist/containers/Tenant/Diagnostics/Overview/TableInfo/prepareTableInfo.js +21 -11
  202. package/dist/containers/Tenant/Diagnostics/Overview/TableInfo/prepareTableInfo.js.map +1 -1
  203. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TenantStorage.js +1 -1
  204. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TenantStorage.js.map +1 -1
  205. package/dist/containers/Tenant/Diagnostics/TopShards/getTopShardsColumns.js +2 -2
  206. package/dist/containers/Tenant/Diagnostics/TopShards/getTopShardsColumns.js.map +1 -1
  207. package/dist/containers/Tenant/Info/View/View.d.ts +0 -1
  208. package/dist/containers/Tenant/Info/View/View.js +3 -5
  209. package/dist/containers/Tenant/Info/View/View.js.map +1 -1
  210. package/dist/containers/Tenant/ObjectGeneral/ObjectGeneral.js +3 -8
  211. package/dist/containers/Tenant/ObjectGeneral/ObjectGeneral.js.map +1 -1
  212. package/dist/containers/Tenant/ObjectSummary/ObjectSummary.js +1 -1
  213. package/dist/containers/Tenant/ObjectSummary/ObjectSummary.js.map +1 -1
  214. package/dist/containers/Tenant/ObjectSummary/ObjectSummary.scss +3 -0
  215. package/dist/containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/SimplifiedPlan.js +2 -5
  216. package/dist/containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/SimplifiedPlan.js.map +1 -1
  217. package/dist/containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/utils.d.ts +0 -1
  218. package/dist/containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/utils.js +0 -21
  219. package/dist/containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/utils.js.map +1 -1
  220. package/dist/containers/Tenant/Query/QueriesHistory/QueriesHistory.js +19 -1
  221. package/dist/containers/Tenant/Query/QueriesHistory/QueriesHistory.js.map +1 -1
  222. package/dist/containers/Tenant/Query/Query.js +2 -14
  223. package/dist/containers/Tenant/Query/Query.js.map +1 -1
  224. package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.js +4 -4
  225. package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.js.map +1 -1
  226. package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettings.test.js +1 -1
  227. package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettings.test.js.map +1 -1
  228. package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettingsDescription.test.js +1 -1
  229. package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettingsDescription.test.js.map +1 -1
  230. package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsDialog.js +3 -3
  231. package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsDialog.js.map +1 -1
  232. package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.d.ts +8 -8
  233. package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.js +6 -6
  234. package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.js.map +1 -1
  235. package/dist/containers/Tenant/Query/i18n/en.json +4 -1
  236. package/dist/containers/Tenant/Query/i18n/index.d.ts +1 -1
  237. package/dist/containers/Tenant/Query/utils/useSavedQueries.js +2 -1
  238. package/dist/containers/Tenant/Query/utils/useSavedQueries.js.map +1 -1
  239. package/dist/containers/Tenant/Schema/SchemaViewer/KeysView.d.ts +8 -0
  240. package/dist/containers/Tenant/Schema/SchemaViewer/KeysView.js +15 -0
  241. package/dist/containers/Tenant/Schema/SchemaViewer/KeysView.js.map +1 -0
  242. package/dist/containers/Tenant/Schema/SchemaViewer/SchemaViewer.js +7 -13
  243. package/dist/containers/Tenant/Schema/SchemaViewer/SchemaViewer.js.map +1 -1
  244. package/dist/containers/Tenant/Schema/SchemaViewer/SchemaViewer.scss +62 -3
  245. package/dist/containers/Tenant/Schema/SchemaViewer/columns.js +3 -21
  246. package/dist/containers/Tenant/Schema/SchemaViewer/columns.js.map +1 -1
  247. package/dist/containers/Tenant/Schema/SchemaViewer/i18n/en.json +3 -2
  248. package/dist/containers/Tenant/Schema/SchemaViewer/i18n/index.d.ts +1 -1
  249. package/dist/containers/Tenant/Schema/SchemaViewer/prepareData.js +13 -23
  250. package/dist/containers/Tenant/Schema/SchemaViewer/prepareData.js.map +1 -1
  251. package/dist/containers/Tenant/Schema/SchemaViewer/types.d.ts +2 -3
  252. package/dist/containers/Tenant/Schema/SchemaViewer/utils.d.ts +3 -0
  253. package/dist/containers/Tenant/Schema/SchemaViewer/utils.js +9 -0
  254. package/dist/containers/Tenant/Schema/SchemaViewer/utils.js.map +1 -0
  255. package/dist/containers/Tenant/utils/queryTemplates.js +6 -5
  256. package/dist/containers/Tenant/utils/queryTemplates.js.map +1 -1
  257. package/dist/containers/Tenants/Tenants.js +2 -2
  258. package/dist/containers/Tenants/Tenants.js.map +1 -1
  259. package/dist/containers/UserSettings/i18n/en.json +0 -3
  260. package/dist/containers/UserSettings/i18n/index.d.ts +1 -1
  261. package/dist/containers/UserSettings/settings.d.ts +0 -1
  262. package/dist/containers/UserSettings/settings.js +2 -10
  263. package/dist/containers/UserSettings/settings.js.map +1 -1
  264. package/dist/containers/VDiskPage/VDiskPage.d.ts +4 -0
  265. package/dist/containers/VDiskPage/VDiskPage.js +17 -14
  266. package/dist/containers/VDiskPage/VDiskPage.js.map +1 -1
  267. package/dist/containers/VDiskPage/VDiskPage.scss +9 -4
  268. package/dist/containers/VDiskPage/i18n/index.d.ts +1 -1
  269. package/dist/containers/Versions/GroupedNodesTree/GroupedNodesTree.d.ts +2 -2
  270. package/dist/containers/Versions/GroupedNodesTree/GroupedNodesTree.js.map +1 -1
  271. package/dist/containers/Versions/NodesTable/NodesTable.d.ts +2 -2
  272. package/dist/containers/Versions/NodesTable/NodesTable.js.map +1 -1
  273. package/dist/containers/Versions/NodesTreeTitle/NodesTreeTitle.d.ts +2 -2
  274. package/dist/containers/Versions/NodesTreeTitle/NodesTreeTitle.js.map +1 -1
  275. package/dist/containers/Versions/Versions.js +3 -2
  276. package/dist/containers/Versions/Versions.js.map +1 -1
  277. package/dist/containers/Versions/groupNodes.d.ts +4 -4
  278. package/dist/containers/Versions/groupNodes.js.map +1 -1
  279. package/dist/containers/Versions/types.d.ts +2 -2
  280. package/dist/routes.d.ts +1 -0
  281. package/dist/routes.js +3 -0
  282. package/dist/routes.js.map +1 -1
  283. package/dist/services/api.d.ts +19 -12
  284. package/dist/services/api.js +45 -15
  285. package/dist/services/api.js.map +1 -1
  286. package/dist/services/settings.d.ts +1 -2
  287. package/dist/services/settings.js +1 -2
  288. package/dist/services/settings.js.map +1 -1
  289. package/dist/store/configureStore.d.ts +6 -10
  290. package/dist/store/defaultStore.d.ts +3 -5
  291. package/dist/store/reducers/api.d.ts +1 -1
  292. package/dist/store/reducers/api.js +1 -1
  293. package/dist/store/reducers/api.js.map +1 -1
  294. package/dist/store/reducers/authentication/authentication.d.ts +4 -4
  295. package/dist/store/reducers/cancelQuery.d.ts +2 -2
  296. package/dist/store/reducers/capabilities/capabilities.d.ts +6 -10
  297. package/dist/store/reducers/capabilities/hooks.d.ts +1 -0
  298. package/dist/store/reducers/capabilities/hooks.js +3 -0
  299. package/dist/store/reducers/capabilities/hooks.js.map +1 -1
  300. package/dist/store/reducers/cluster/cluster.d.ts +2 -2
  301. package/dist/store/reducers/clusters/clusters.d.ts +2 -2
  302. package/dist/store/reducers/describe.d.ts +2 -2
  303. package/dist/store/reducers/executeQuery.d.ts +18 -4
  304. package/dist/store/reducers/executeQuery.js +50 -5
  305. package/dist/store/reducers/executeQuery.js.map +1 -1
  306. package/dist/store/reducers/executeTopQueries/executeTopQueries.d.ts +2 -2
  307. package/dist/store/reducers/explainQuery/explainQuery.d.ts +2 -2
  308. package/dist/store/reducers/header/types.d.ts +7 -7
  309. package/dist/store/reducers/healthcheckInfo/healthcheckInfo.d.ts +58 -78
  310. package/dist/store/reducers/heatmap.d.ts +2 -2
  311. package/dist/store/reducers/heatmap.js +2 -2
  312. package/dist/store/reducers/heatmap.js.map +1 -1
  313. package/dist/store/reducers/hotKeys/hotKeys.d.ts +2 -2
  314. package/dist/store/reducers/index.d.ts +5 -8
  315. package/dist/store/reducers/index.js +0 -2
  316. package/dist/store/reducers/index.js.map +1 -1
  317. package/dist/store/reducers/network/network.d.ts +2 -2
  318. package/dist/store/reducers/node/node.d.ts +3 -3
  319. package/dist/store/reducers/node/selectors.d.ts +1 -2
  320. package/dist/store/reducers/nodes/nodes.d.ts +3 -3
  321. package/dist/store/reducers/nodes/types.d.ts +17 -1
  322. package/dist/store/reducers/nodes/utils.js +6 -0
  323. package/dist/store/reducers/nodes/utils.js.map +1 -1
  324. package/dist/store/reducers/nodesList.d.ts +3 -4
  325. package/dist/store/reducers/overview/overview.d.ts +2 -2
  326. package/dist/store/reducers/partitions/partitions.d.ts +2 -2
  327. package/dist/store/reducers/pdisk/pdisk.d.ts +3 -3
  328. package/dist/store/reducers/preview.d.ts +2 -2
  329. package/dist/store/reducers/schema/schema.d.ts +3 -3
  330. package/dist/store/reducers/schemaAcl/schemaAcl.d.ts +2 -2
  331. package/dist/store/reducers/shardsWorkload/shardsWorkload.d.ts +2 -2
  332. package/dist/store/reducers/storage/storage.d.ts +3 -3
  333. package/dist/store/reducers/storage/types.d.ts +15 -0
  334. package/dist/store/reducers/storage/types.js.map +1 -1
  335. package/dist/store/reducers/tableData.d.ts +14 -0
  336. package/dist/store/reducers/tableData.js +25 -0
  337. package/dist/store/reducers/tableData.js.map +1 -0
  338. package/dist/store/reducers/tablet.d.ts +20 -3
  339. package/dist/store/reducers/tablet.js +82 -13
  340. package/dist/store/reducers/tablet.js.map +1 -1
  341. package/dist/store/reducers/tablets.d.ts +15 -23
  342. package/dist/store/reducers/tablets.js +2 -20
  343. package/dist/store/reducers/tablets.js.map +1 -1
  344. package/dist/store/reducers/tenant/tenant.d.ts +2 -2
  345. package/dist/store/reducers/tenantOverview/executeTopTables/executeTopTables.d.ts +2 -2
  346. package/dist/store/reducers/tenantOverview/topNodes/topNodes.d.ts +2 -2
  347. package/dist/store/reducers/tenantOverview/topShards/tenantOverviewTopShards.d.ts +2 -2
  348. package/dist/store/reducers/tenantOverview/topStorageGroups/topStorageGroups.d.ts +2 -2
  349. package/dist/store/reducers/tenants/selectors.d.ts +30 -40
  350. package/dist/store/reducers/tenants/selectors.js +9 -8
  351. package/dist/store/reducers/tenants/selectors.js.map +1 -1
  352. package/dist/store/reducers/tenants/tenants.d.ts +2 -2
  353. package/dist/store/reducers/topic.d.ts +44 -59
  354. package/dist/store/reducers/vdisk/types.d.ts +1 -1
  355. package/dist/store/reducers/vdisk/vdisk.d.ts +3 -3
  356. package/dist/store/reducers/viewSchema/viewSchema.d.ts +2 -2
  357. package/dist/store/state-url-mapping.d.ts +0 -8
  358. package/dist/store/state-url-mapping.js +0 -8
  359. package/dist/store/state-url-mapping.js.map +1 -1
  360. package/dist/styles/mixins.scss +3 -3
  361. package/dist/types/api/capabilities.d.ts +1 -1
  362. package/dist/types/api/nodes.d.ts +5 -0
  363. package/dist/types/api/nodes.js.map +1 -1
  364. package/dist/types/api/schema/shared.d.ts +1 -3
  365. package/dist/types/api/schema/shared.js.map +1 -1
  366. package/dist/types/api/schema/table.d.ts +2 -0
  367. package/dist/types/api/schema/table.js.map +1 -1
  368. package/dist/types/api/tablet.d.ts +22 -0
  369. package/dist/types/store/executeQuery.d.ts +5 -2
  370. package/dist/types/store/heatmap.d.ts +0 -1
  371. package/dist/types/store/tablets.d.ts +2 -1
  372. package/dist/utils/constants.d.ts +2 -2
  373. package/dist/utils/constants.js +2 -2
  374. package/dist/utils/constants.js.map +1 -1
  375. package/dist/utils/dataFormatters/dataFormatters.d.ts +1 -0
  376. package/dist/utils/dataFormatters/dataFormatters.js +5 -0
  377. package/dist/utils/dataFormatters/dataFormatters.js.map +1 -1
  378. package/dist/utils/developerUI/developerUI.d.ts +1 -1
  379. package/dist/utils/developerUI/developerUI.js +3 -2
  380. package/dist/utils/developerUI/developerUI.js.map +1 -1
  381. package/dist/utils/hooks/useQueryExecutionSettings.js +3 -2
  382. package/dist/utils/hooks/useQueryExecutionSettings.js.map +1 -1
  383. package/dist/utils/versions/parseNodesToVersionsValues.d.ts +7 -0
  384. package/dist/utils/versions/parseNodesToVersionsValues.js +10 -0
  385. package/dist/utils/versions/parseNodesToVersionsValues.js.map +1 -1
  386. package/package.json +2 -1
  387. package/dist/components/DiskPageTitle/DiskPageTitle.d.ts +0 -10
  388. package/dist/components/DiskPageTitle/DiskPageTitle.js.map +0 -1
  389. package/dist/components/PaginatedTable/reducer.d.ts +0 -43
  390. package/dist/components/PaginatedTable/reducer.js +0 -104
  391. package/dist/components/PaginatedTable/reducer.js.map +0 -1
  392. package/dist/containers/Tablet/TabletControls/TabletControls.d.ts +0 -7
  393. package/dist/containers/Tablet/TabletControls/TabletControls.js +0 -29
  394. package/dist/containers/Tablet/TabletControls/TabletControls.js.map +0 -1
  395. package/dist/containers/Tablet/TabletControls/index.js.map +0 -1
  396. package/dist/containers/Tablet/TabletInfo/TabletInfo.d.ts +0 -7
  397. package/dist/containers/Tablet/TabletInfo/TabletInfo.js +0 -40
  398. package/dist/containers/Tablet/TabletInfo/TabletInfo.js.map +0 -1
  399. package/dist/containers/Tablet/TabletInfo/index.js.map +0 -1
  400. package/dist/containers/Tablet/TabletTable/TabletTable.js.map +0 -1
  401. package/dist/containers/Tablet/TabletTable/index.js.map +0 -1
  402. package/dist/containers/TabletsFilters/TabletsFilters.d.ts +0 -2
  403. package/dist/containers/TabletsFilters/TabletsFilters.js +0 -91
  404. package/dist/containers/TabletsFilters/TabletsFilters.js.map +0 -1
  405. package/dist/containers/TabletsFilters/TabletsFilters.scss +0 -80
  406. package/dist/containers/TabletsFilters/i18n/en.json +0 -3
  407. package/dist/containers/TabletsFilters/i18n/index.d.ts +0 -2
  408. package/dist/containers/TabletsFilters/i18n/index.js +0 -6
  409. package/dist/containers/TabletsFilters/i18n/index.js.map +0 -1
  410. package/dist/containers/TabletsFilters/i18n/ru.json +0 -3
  411. package/dist/store/reducers/clusterNodes/clusterNodes.d.ts +0 -5
  412. package/dist/store/reducers/clusterNodes/clusterNodes.js +0 -22
  413. package/dist/store/reducers/clusterNodes/clusterNodes.js.map +0 -1
  414. package/dist/store/reducers/tabletsFilters.d.ts +0 -45
  415. package/dist/store/reducers/tabletsFilters.js +0 -20
  416. package/dist/store/reducers/tabletsFilters.js.map +0 -1
  417. /package/dist/containers/Tablet/{TabletControls → components/TabletControls}/index.d.ts +0 -0
  418. /package/dist/containers/Tablet/{TabletControls → components/TabletControls}/index.js +0 -0
  419. /package/dist/containers/Tablet/{TabletInfo → components/TabletInfo}/index.d.ts +0 -0
  420. /package/dist/containers/Tablet/{TabletInfo → components/TabletInfo}/index.js +0 -0
  421. /package/dist/containers/Tablet/{TabletTable → components/TabletTable}/index.d.ts +0 -0
  422. /package/dist/containers/Tablet/{TabletTable → components/TabletTable}/index.js +0 -0
@@ -4,6 +4,7 @@ interface ContentWithPopupProps extends PopupProps {
4
4
  content: React.ReactNode;
5
5
  className?: string;
6
6
  children?: React.ReactNode;
7
+ pinOnClick?: boolean;
7
8
  }
8
- export declare const ContentWithPopup: ({ children, content, className, hasArrow, placement, ...props }: ContentWithPopupProps) => import("react/jsx-runtime").JSX.Element;
9
+ export declare const ContentWithPopup: ({ children, content, className, pinOnClick, hasArrow, placement, ...props }: ContentWithPopupProps) => import("react/jsx-runtime").JSX.Element;
9
10
  export {};
@@ -1,8 +1,9 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import React from 'react';
3
3
  import { Popup } from '@gravity-ui/uikit';
4
- export const ContentWithPopup = ({ children, content, className, hasArrow = true, placement = ['top', 'bottom'], ...props }) => {
4
+ export const ContentWithPopup = ({ children, content, className, pinOnClick, hasArrow = true, placement = ['top', 'bottom'], ...props }) => {
5
5
  const [isPopupVisible, setIsPopupVisible] = React.useState(false);
6
+ const [isPinned, setIsPinned] = React.useState(false);
6
7
  const anchor = React.useRef(null);
7
8
  const showPopup = () => {
8
9
  setIsPopupVisible(true);
@@ -10,6 +11,12 @@ export const ContentWithPopup = ({ children, content, className, hasArrow = true
10
11
  const hidePopup = () => {
11
12
  setIsPopupVisible(false);
12
13
  };
13
- return (_jsxs(React.Fragment, { children: [_jsx(Popup, { anchorRef: anchor, open: isPopupVisible, placement: placement, hasArrow: hasArrow, ...props, children: content }), _jsx("span", { className: className, ref: anchor, onMouseEnter: showPopup, onMouseLeave: hidePopup, children: children })] }));
14
+ const pinPopup = () => {
15
+ setIsPinned(true);
16
+ };
17
+ const unpinPopup = () => {
18
+ setIsPinned(false);
19
+ };
20
+ return (_jsxs(React.Fragment, { children: [_jsx(Popup, { anchorRef: anchor, open: isPinned || isPopupVisible, placement: placement, hasArrow: hasArrow, onOutsideClick: unpinPopup, ...props, children: content }), _jsx("span", { className: className, ref: anchor, onClick: pinOnClick ? pinPopup : undefined, onMouseEnter: showPopup, onMouseLeave: hidePopup, children: children })] }));
14
21
  };
15
22
  //# sourceMappingURL=ContentWithPopup.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ContentWithPopup.js","sourceRoot":"","sources":["../../../src/components/ContentWithPopup/ContentWithPopup.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAC,KAAK,EAAC,MAAM,mBAAmB,CAAC;AAQxC,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,EAC7B,QAAQ,EACR,OAAO,EACP,SAAS,EACT,QAAQ,GAAG,IAAI,EACf,SAAS,GAAG,CAAC,KAAK,EAAE,QAAQ,CAAC,EAC7B,GAAG,KAAK,EACY,EAAE,EAAE;IACxB,MAAM,CAAC,cAAc,EAAE,iBAAiB,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;IAClE,MAAM,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;IAElC,MAAM,SAAS,GAAG,GAAG,EAAE;QACnB,iBAAiB,CAAC,IAAI,CAAC,CAAC;IAC5B,CAAC,CAAC;IAEF,MAAM,SAAS,GAAG,GAAG,EAAE;QACnB,iBAAiB,CAAC,KAAK,CAAC,CAAC;IAC7B,CAAC,CAAC;IAEF,OAAO,CACH,MAAC,KAAK,CAAC,QAAQ,eACX,KAAC,KAAK,IACF,SAAS,EAAE,MAAM,EACjB,IAAI,EAAE,cAAc,EACpB,SAAS,EAAE,SAAS,EACpB,QAAQ,EAAE,QAAQ,KACd,KAAK,YAER,OAAO,GACJ,EACR,eACI,SAAS,EAAE,SAAS,EACpB,GAAG,EAAE,MAAM,EACX,YAAY,EAAE,SAAS,EACvB,YAAY,EAAE,SAAS,YAEtB,QAAQ,GACN,IACM,CACpB,CAAC;AACN,CAAC,CAAC"}
1
+ {"version":3,"file":"ContentWithPopup.js","sourceRoot":"","sources":["../../../src/components/ContentWithPopup/ContentWithPopup.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAC,KAAK,EAAC,MAAM,mBAAmB,CAAC;AASxC,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,EAC7B,QAAQ,EACR,OAAO,EACP,SAAS,EACT,UAAU,EACV,QAAQ,GAAG,IAAI,EACf,SAAS,GAAG,CAAC,KAAK,EAAE,QAAQ,CAAC,EAC7B,GAAG,KAAK,EACY,EAAE,EAAE;IACxB,MAAM,CAAC,cAAc,EAAE,iBAAiB,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;IAClE,MAAM,CAAC,QAAQ,EAAE,WAAW,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;IACtD,MAAM,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;IAElC,MAAM,SAAS,GAAG,GAAG,EAAE;QACnB,iBAAiB,CAAC,IAAI,CAAC,CAAC;IAC5B,CAAC,CAAC;IAEF,MAAM,SAAS,GAAG,GAAG,EAAE;QACnB,iBAAiB,CAAC,KAAK,CAAC,CAAC;IAC7B,CAAC,CAAC;IAEF,MAAM,QAAQ,GAAG,GAAG,EAAE;QAClB,WAAW,CAAC,IAAI,CAAC,CAAC;IACtB,CAAC,CAAC;IAEF,MAAM,UAAU,GAAG,GAAG,EAAE;QACpB,WAAW,CAAC,KAAK,CAAC,CAAC;IACvB,CAAC,CAAC;IAEF,OAAO,CACH,MAAC,KAAK,CAAC,QAAQ,eACX,KAAC,KAAK,IACF,SAAS,EAAE,MAAM,EACjB,IAAI,EAAE,QAAQ,IAAI,cAAc,EAChC,SAAS,EAAE,SAAS,EACpB,QAAQ,EAAE,QAAQ,EAClB,cAAc,EAAE,UAAU,KACtB,KAAK,YAER,OAAO,GACJ,EACR,eACI,SAAS,EAAE,SAAS,EACpB,GAAG,EAAE,MAAM,EACX,OAAO,EAAE,UAAU,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,EAC1C,YAAY,EAAE,SAAS,EACvB,YAAY,EAAE,SAAS,YAEtB,QAAQ,GACN,IACM,CACpB,CAAC;AACN,CAAC,CAAC"}
@@ -2,7 +2,8 @@ import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import React from 'react';
3
3
  import { duration } from '@gravity-ui/date-utils';
4
4
  import { Label } from '@gravity-ui/uikit';
5
- import { HOUR_IN_SECONDS, SECOND_IN_MS, cn } from '../../lib';
5
+ import { cn } from '../../utils/cn';
6
+ import { HOUR_IN_SECONDS, SECOND_IN_MS } from '../../utils/constants';
6
7
  const b = cn('ydb-query-elapsed-time');
7
8
  export default function ElapsedTime({ className }) {
8
9
  const [, reRender] = React.useState({});
@@ -1 +1 @@
1
- {"version":3,"file":"ElapsedTime.js","sourceRoot":"","sources":["../../../src/components/ElapsedTime/ElapsedTime.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC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"}
@@ -13,4 +13,10 @@ export interface EmptyStateProps {
13
13
  position?: 'left' | 'center';
14
14
  }
15
15
  export declare const EmptyState: ({ image, title, description, actions, size, position, }: EmptyStateProps) => import("react/jsx-runtime").JSX.Element;
16
+ interface EmptyStateWrapperProps extends EmptyStateProps {
17
+ isEmpty?: boolean;
18
+ children: React.ReactNode;
19
+ className?: string;
20
+ }
21
+ export declare function EmptyStateWrapper({ isEmpty, children, className, ...rest }: EmptyStateWrapperProps): string | number | boolean | Iterable<import("react").ReactNode> | import("react/jsx-runtime").JSX.Element | null | undefined;
16
22
  export {};
@@ -12,4 +12,10 @@ const sizes = {
12
12
  export const EmptyState = ({ image, title, description, actions, size = 'm', position = 'center', }) => {
13
13
  return (_jsx("div", { className: block({ size }), children: _jsxs("div", { className: block('wrapper', { size, position }), children: [_jsx("div", { className: block('image'), children: image ? (image) : (_jsx(Icon, { data: emptyStateIcon, width: sizes[size], height: sizes[size] })) }), _jsx("div", { className: block('title', { size }), children: title }), _jsx("div", { className: block('description'), children: description }), _jsx("div", { className: block('actions'), children: actions })] }) }));
14
14
  };
15
+ export function EmptyStateWrapper({ isEmpty, children, className, ...rest }) {
16
+ if (isEmpty) {
17
+ return (_jsx("div", { className: className, children: _jsx(EmptyState, { ...rest }) }));
18
+ }
19
+ return children;
20
+ }
15
21
  //# sourceMappingURL=EmptyState.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"EmptyState.js","sourceRoot":"","sources":["../../../src/components/EmptyState/EmptyState.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,IAAI,EAAC,MAAM,mBAAmB,CAAC;AAEvC,OAAO,EAAC,EAAE,EAAC,MAAM,gBAAgB,CAAC;AAElC,OAAO,cAAc,MAAM,mCAAmC,CAAC;AAE/D,OAAO,mBAAmB,CAAC;AAE3B,MAAM,KAAK,GAAG,EAAE,CAAC,aAAa,CAAC,CAAC;AAEhC,MAAM,KAAK,GAAG;IACV,CAAC,EAAE,GAAG;IACN,CAAC,EAAE,G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+ import { cn } from '../../utils/cn';
3
4
  import i18n from './i18n';
5
+ const b = cn('ydb-entities-count');
4
6
  export const EntitiesCount = ({ total, current, label, loading, className }) => {
5
7
  let content = '';
6
8
  if (label) {
@@ -15,6 +17,6 @@ export const EntitiesCount = ({ total, current, label, loading, className }) =>
15
17
  content += ` ${i18n('of')} ${total}`;
16
18
  }
17
19
  }
18
- return (_jsx(Label, { theme: "info", size: "m", className: className, children: content }));
20
+ return (_jsx(Label, { theme: "info", size: "m", className: b(null, className), children: content }));
19
21
  };
20
22
  //# sourceMappingURL=EntitiesCount.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"EntitiesCount.js","sourceRoot":"","sources":["../../../src/components/EntitiesCount/EntitiesCount.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,KAAK,EAAC,MAAM,mBAAmB,CAAC;AAExC,OAAO,IAAI,MAAM,QAAQ,CAAC;AAU1B,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,EAAC,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,SAAS,EAAqB,EAAE,EAAE;IAC7F,IAAI,OAAO,GAAG,EAAE,CAAC;IAEjB,IAAI,KAAK,EAAE,CAAC;QACR,OAAO,IAAI,GAAG,KAAK,IAAI,CAAC;IAC5B,CAAC;IAED,IAAI,OAAO,EAAE,CAAC;QACV,OAAO,IAAI,KAAK,CAAC;IACrB,CAAC;SAAM,CAAC;QACJ,OAAO,IAAI,GAAG,OAAO,EAAE,CAAC;QAExB,IAAI,KAAK,IAAI,MAAM,CAAC,KAAK,CAAC,KAAK,MAAM,CAAC,OAAO,CAAC,EAAE,CAAC;YAC7C,OAAO,IAAI,IAAI,IAAI,CAAC,IAAI,CAAC,IAAI,KAAK,EAAE,CAAC;QACzC,CAAC;IACL,CAAC;IAED,OAAO,CACH,KAAC,KAAK,IAAC,KAAK,EAAC,MAAM,EAAC,IAAI,EAAC,GAAG,EAAC,SAAS,EAAE,SAAS,YAC5C,OAAO,GACJ,CACX,CAAC;AACN,CAAC,CAAC"}
1
+ {"version":3,"file":"EntitiesCount.js","sourceRoot":"","sources":["../../../src/components/EntitiesCount/EntitiesCount.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,KAAK,EAAC,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAC,EAAE,EAAC,MAAM,gBAAgB,CAAC;AAElC,OAAO,IAAI,MAAM,QAAQ,CAAC;AAE1B,MAAM,CAAC,GAAG,EAAE,CAAC,oBAAoB,CAAC,CAAC;AAUnC,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,EAAC,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,SAAS,EAAqB,EAAE,EAAE;IAC7F,IAAI,OAAO,GAAG,EAAE,CAAC;IAEjB,IAAI,KAAK,EAAE,CAAC;QACR,OAAO,IAAI,GAAG,KAAK,IAAI,CAAC;IAC5B,CAAC;IAED,IAAI,OAAO,EAAE,CAAC;QACV,OAAO,IAAI,KAAK,CAAC;IACrB,CAAC;SAAM,CAAC;QACJ,OAAO,IAAI,GAAG,OAAO,EAAE,CAAC;QAExB,IAAI,KAAK,IAAI,MAAM,CAAC,KAAK,CAAC,KAAK,MAAM,CAAC,OAAO,CAAC,EAAE,CAAC;YAC7C,OAAO,IAAI,IAAI,IAAI,CAAC,IAAI,CAAC,IAAI,KAAK,EAAE,CAAC;QACzC,CAAC;IACL,CAAC;IAED,OAAO,CACH,KAAC,KAAK,IAAC,KAAK,EAAC,MAAM,EAAC,IAAI,EAAC,GAAG,EAAC,SAAS,EAAE,CAAC,CAAC,IAAI,EAAE,SAAS,CAAC,YACrD,OAAO,GACJ,CACX,CAAC;AACN,CAAC,CAAC"}
@@ -0,0 +1,11 @@
1
+ import type { EFlag } from '../../types/api/enums';
2
+ import './EntityPageTitle.scss';
3
+ interface EntityPageTitleProps {
4
+ entityName: React.ReactNode;
5
+ status: EFlag;
6
+ id: React.ReactNode;
7
+ className?: string;
8
+ children?: React.ReactNode;
9
+ }
10
+ export declare function EntityPageTitle({ entityName, status, id, className, children, }: EntityPageTitleProps): import("react/jsx-runtime").JSX.Element;
11
+ export {};
@@ -1,9 +1,9 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { cn } from '../../utils/cn';
3
3
  import { StatusIcon } from '../StatusIcon/StatusIcon';
4
- import './DiskPageTitle.scss';
5
- const b = cn('ydb-disk-page-title');
6
- export function DiskPageTitle({ 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] }));
4
+ import './EntityPageTitle.scss';
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] }));
8
8
  }
9
- //# sourceMappingURL=DiskPageTitle.js.map
9
+ //# sourceMappingURL=EntityPageTitle.js.map
@@ -0,0 +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,6 +1,6 @@
1
1
  @import '../../styles/mixins.scss';
2
2
 
3
- .ydb-disk-page-title {
3
+ .ydb-entity-page-title {
4
4
  display: flex;
5
5
  flex-flow: row nowrap;
6
6
  align-items: baseline;
@@ -27,6 +27,8 @@
27
27
  &__error-details {
28
28
  padding: 13px 18px;
29
29
 
30
+ white-space: pre-wrap;
31
+
30
32
  border: 1px solid var(--g-color-line-generic);
31
33
  background-color: var(--g-color-base-generic-ultralight);
32
34
  }
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { cn } from '../../utils/cn';
3
3
  import { LOAD_AVERAGE_TIME_INTERVALS } from '../../utils/constants';
4
- import InfoViewer from '../InfoViewer/InfoViewer';
4
+ import { InfoViewer } from '../InfoViewer/InfoViewer';
5
5
  import { PoolUsage } from '../PoolUsage/PoolUsage';
6
6
  import { ProgressViewer } from '../ProgressViewer/ProgressViewer';
7
7
  import './FullNodeViewer.scss';
@@ -1 +1 @@
1
- {"version":3,"file":"FullNodeViewer.js","sourceRoot":"","sources":["../../../src/components/FullNodeViewer/FullNodeViewer.tsx"],"names":[],"mappings":";AACA,OAAO,EAAC,EAAE,EAAC,MAAM,gBAAgB,CAAC;AAClC,OAAO,EAAC,2BAA2B,EAAC,MAAM,uBAAuB,CAAC;AAClE,OAAO,UAAU,MAAM,0BAA0B,CAAC;AAElD,OAAO,EAAC,SAAS,EAAC,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAC,cAAc,EAAC,MAAM,kCAAkC,CAAC;AAEhE,OAAO,uBAAuB,CAAC;AAE/B,MAAM,CAAC,GAAG,EAAE,CAAC,kBAAkB,CAAC,CAAC;AAOjC,MAAM,CAAC,MAAM,cAAc,GAAG,CA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AAC,WAAW,EACjB,SAAS,EAAE,CAAC,CAAC,SAAS,CAAC,EACvB,IAAI,EAAE,aAAa,GACrB,CACL,EAED,KAAC,UAAU,IAAC,KAAK,EAAC,aAAa,EAAC,SAAS,EAAE,CAAC,CAAC,SAAS,CAAC,EAAE,IAAI,EAAE,UAAU,GAAI,EAE7E,KAAC,UAAU,IACP,KAAK,EAAC,cAAc,EACpB,SAAS,EAAE,CAAC,CAAC,SAAS,EAAE,EAAC,OAAO,EAAE,IAAI,EAAC,CAAC,EACxC,IAAI,EAAE,WAAW,GACnB,IACA,CACT,CAAC,CAAC,CAAC,CACA,cAAK,SAAS,EAAC,OAAO,wBAAc,CACvC,GACC,CACT,CAAC;AACN,CAAC,CAAC"}
@@ -14,4 +14,3 @@ export interface InfoViewerProps {
14
14
  renderEmptyState?: (props?: Pick<InfoViewerProps, 'title' | 'size'>) => React.ReactNode;
15
15
  }
16
16
  export declare const InfoViewer: ({ title, info, dots, size, className, multilineLabels, renderEmptyState, }: InfoViewerProps) => import("react/jsx-runtime").JSX.Element;
17
- export default InfoViewer;
@@ -10,5 +10,4 @@ export const InfoViewer = ({ title, info, dots = true, size, className, multilin
10
10
  }
11
11
  return (_jsxs("div", { className: b({ size }, className), children: [title && _jsx("div", { className: b('title'), children: title }), info && info.length > 0 ? (_jsx("div", { className: b('items'), children: info.map((data, infoIndex) => (_jsxs("div", { className: b('row'), children: [_jsxs("div", { className: b('label'), children: [_jsx("div", { className: b('label-text', { multiline: multilineLabels }), children: data.label }), dots && _jsx("div", { className: b('dots') })] }), _jsx("div", { className: b('value'), children: data.value })] }, infoIndex))) })) : (i18n('no-data'))] }));
12
12
  };
13
- export default InfoViewer;
14
13
  //# sourceMappingURL=InfoViewer.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"InfoViewer.js","sourceRoot":"","sources":["../../../src/components/InfoViewer/InfoViewer.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,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E,CAAC,CAAC,OAAO,CAAC,aACtB,cAAK,SAAS,EAAE,CAAC,CAAC,YAAY,EAAE,EAAC,SAAS,EAAE,eAAe,EAAC,CAAC,YACxD,IAAI,CAAC,KAAK,GACT,EACL,IAAI,IAAI,cAAK,SAAS,EAAE,CAAC,CAAC,MAAM,CAAC,GAAI,IACpC,EAEN,cAAK,SAAS,EAAE,CAAC,CAAC,OAAO,CAAC,YAAG,IAAI,CAAC,KAAK,GAAO,KARnB,SAAS,CASlC,CACT,CAAC,GACA,CACT,CAAC,CAAC,CAAC,CACA,IAAI,CAAC,SAAS,CAAC,CAClB,IACC,CACT,CAAC;AACN,CAAC,CAAC"}
@@ -1,4 +1,4 @@
1
- import InfoViewer from './InfoViewer';
1
+ import { InfoViewer } from './InfoViewer';
2
2
  export { InfoViewer };
3
3
  export * from './utils';
4
4
  export type { InfoViewerItem } from './InfoViewer';
@@ -1,4 +1,4 @@
1
- import InfoViewer from './InfoViewer';
1
+ import { InfoViewer } from './InfoViewer';
2
2
  export { InfoViewer };
3
3
  export * from './utils';
4
4
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/InfoViewer/index.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,cAAc,CAAC;AAEtC,OAAO,EAAC,UAAU,EAAC,CAAC;AACpB,cAAc,SAAS,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/InfoViewer/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,cAAc,CAAC;AAExC,OAAO,EAAC,UAAU,EAAC,CAAC;AACpB,cAAc,SAAS,CAAC"}
@@ -2,6 +2,7 @@ import './InfoViewerSkeleton.scss';
2
2
  interface InfoViewerSkeletonProps {
3
3
  className?: string;
4
4
  rows?: number;
5
+ delay?: number;
5
6
  }
6
- export declare const InfoViewerSkeleton: ({ rows, className }: InfoViewerSkeletonProps) => import("react/jsx-runtime").JSX.Element;
7
+ export declare const InfoViewerSkeleton: ({ rows, className, delay }: InfoViewerSkeletonProps) => import("react/jsx-runtime").JSX.Element;
7
8
  export {};
@@ -1,8 +1,17 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import React from 'react';
2
3
  import { Skeleton } from '@gravity-ui/uikit';
3
4
  import { cn } from '../../utils/cn';
5
+ import { useDelayed } from '../../utils/hooks/useDelayed';
4
6
  import './InfoViewerSkeleton.scss';
5
7
  const b = cn('ydb-info-viewer-skeleton');
6
8
  const SkeletonLabel = () => (_jsxs("div", { className: b('label'), children: [_jsx(Skeleton, { className: b('label__text') }), _jsx("div", { className: b('label__dots') })] }));
7
- export const InfoViewerSkeleton = ({ rows = 8, className }) => (_jsx("div", { className: b(null, className), children: [...new Array(rows)].map((_, index) => (_jsxs("div", { className: b('row'), children: [_jsx(SkeletonLabel, {}), _jsx(Skeleton, { className: b('value') })] }, `skeleton-row-${index}`))) }));
9
+ export const InfoViewerSkeleton = ({ rows = 8, className, delay = 600 }) => {
10
+ const show = useDelayed(delay);
11
+ let skeletons = (_jsxs(React.Fragment, { children: [_jsx(SkeletonLabel, {}), _jsx(Skeleton, { className: b('value') })] }));
12
+ if (!show) {
13
+ skeletons = null;
14
+ }
15
+ return (_jsx("div", { className: b(null, className), children: [...new Array(rows)].map((_, index) => (_jsx("div", { className: b('row'), children: skeletons }, `skeleton-row-${index}`))) }));
16
+ };
8
17
  //# sourceMappingURL=InfoViewerSkeleton.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"InfoViewerSkeleton.js","sourceRoot":"","sources":["../../../src/components/InfoViewerSkeleton/InfoViewerSkeleton.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,mBAAmB,CAAC;AAE3C,OAAO,EAAC,EAAE,EAAC,MAAM,gBAAgB,CAAC;AAElC,OAAO,2BAA2B,CAAC;AAEnC,MAAM,CAAC,GAAG,EAAE,CAAC,0B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AS,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,IAAI,GAAG,UAAU,CAAC,KAAK,CAAC,CAAC;IAC/B,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"}
@@ -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", import("./types").PreparedMetricsData | undefined, "api">;
4
- }, "api", "All" | "PDiskData" | "UserData" | "PreviewData", 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" | "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,6 +3,7 @@ import type { NodeAddress } from '../../types/additionalProps';
3
3
  interface NodeHostWrapperProps {
4
4
  node: NodesPreparedEntity;
5
5
  getNodeRef?: (node?: NodeAddress) => string | null;
6
+ database?: string;
6
7
  }
7
- export declare const NodeHostWrapper: ({ node, getNodeRef }: NodeHostWrapperProps) => import("react/jsx-runtime").JSX.Element;
8
+ export declare const NodeHostWrapper: ({ node, getNodeRef, database }: NodeHostWrapperProps) => import("react/jsx-runtime").JSX.Element;
8
9
  export {};
@@ -7,7 +7,7 @@ import { CellWithPopover } from '../CellWithPopover/CellWithPopover';
7
7
  import { DeveloperUILinkButton } from '../DeveloperUILinkButton/DeveloperUILinkButton';
8
8
  import { EntityStatus } from '../EntityStatus/EntityStatus';
9
9
  import { NodeEndpointsTooltipContent } from '../TooltipsContent';
10
- export const NodeHostWrapper = ({ node, getNodeRef }) => {
10
+ export const NodeHostWrapper = ({ node, getNodeRef, database }) => {
11
11
  if (!node.Host) {
12
12
  return _jsx("span", { children: "\u2014" });
13
13
  }
@@ -21,7 +21,7 @@ export const NodeHostWrapper = ({ node, getNodeRef }) => {
21
21
  }
22
22
  const nodePath = isNodeAvailable
23
23
  ? getDefaultNodePath(node.NodeId, {
24
- tenantName: node.TenantName,
24
+ tenantName: database !== null && database !== void 0 ? database : node.TenantName,
25
25
  })
26
26
  : undefined;
27
27
  const additionalControls = nodeHref ? _jsx(DeveloperUILinkButton, { href: nodeHref }) : null;
@@ -1 +1 @@
1
- {"version":3,"file":"NodeHostWrapper.js","sourceRoot":"","sources":["../../../src/components/NodeHostWrapper/NodeHostWrapper.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,mBAAmB,CAAC;AAElD,OAAO,EAAC,kBAAkB,EAAC,MAAM,iCAAiC,CAAC;AAGnE,OAAO,EAAC,+BAA+B,EAAC,MAAM,qCAAqC,CAAC;AACpF,OAAO,EAAC,iBAAiB,EAAC,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAC,eAAe,EAAC,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAC,qBAAqB,EAAC,MAAM,gDAAgD,CAAC;AACrF,OAAO,EAAC,YAAY,EAAC,MAAM,8BAA8B,CAAC;AAC1D,OAAO,EAAC,2BAA2B,EAAC,MAAM,oBAAoB,CAAC;AAO/D,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,EAAC,IAAI,EAAE,UAAU,EAAuB,EAAE,EAAE;IACxE,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC;QACb,OAAO,oCAAc,CAAC;IAC1B,CAAC;IAED,MAAM,eAAe,GAAG,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC;IAEjD,IAAI,QAA4B,CAAC;IACjC,IAAI,UAAU,EAAE,CAAC;QACb,QAAQ,GAAG,UAAU,CAAC,IAAI,CAAC,GAAG,UAAU,CAAC;IAC7C,CAAC;SAAM,IAAI,IAAI,CAAC,MAAM,EAAE,CAAC;QACrB,QAAQ,GAAG,+BAA+B,CAAC,IAAI,CAAC,MAAM,CAAC,GAAG,UAAU,CAAC;IACzE,CAAC;IAED,MAAM,QAAQ,GAAG,eAAe;QAC5B,CAAC,CAAC,kBAAkB,CAAC,IAAI,CAAC,MAAM,EAAE;YAC5B,UAAU,EAAE,IAAI,CAAC,UAAU;SAC9B,CAAC;QACJ,CAAC,CAAC,SAAS,CA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C;IAC1B,CAAC;IAED,MAAM,eAAe,GAAG,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC;IAEjD,IAAI,QAA4B,CAAC;IACjC,IAAI,UAAU,EAAE,CAAC;QACb,QAAQ,GAAG,UAAU,CAAC,IAAI,CAAC,GAAG,UAAU,CAAC;IAC7C,CAAC;SAAM,IAAI,IAAI,CAAC,MAAM,EAAE,CAAC;QACrB,QAAQ,GAAG,+BAA+B,CAAC,IAAI,CAAC,MAAM,CAAC,GAAG,UAAU,CAAC;IACzE,CAAC;IAED,MAAM,QAAQ,GAAG,eAAe;QAC5B,CAAC,CAAC,kBAAkB,CAAC,IAAI,CAAC,MAAM,EAAE;YAC5B,UAAU,EAAE,QAAQ,aAAR,QAAQ,cAAR,QAAQ,GAAI,IAAI,CAAC,UAAU;SAC1C,CAAC;QACJ,CAAC,CAAC,SAAS,CAAC;IAEhB,MAAM,kBAAkB,GAAG,QAAQ,CAAC,CAAC,CAAC,KAAC,qBAAqB,IAAC,IAAI,EAAE,QAAQ,GAAI,CAAC,CAAC,CAAC,IAAI,CAAC;IAEvF,OAAO,CACH,KAAC,eAAe,IACZ,QAAQ,EAAE,CAAC,eAAe,EAC1B,OAAO,EAAE,KAAC,2BAA2B,IAAC,IAAI,EAAE,IAAI,GAAI,EACpD,SAAS,EAAE,CAAC,KAAK,EAAE,QAAQ,CAAC,EAC5B,QAAQ,EAAE,eAAe,CAAC,SAAS,YAEnC,KAAC,YAAY,IACT,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,MAAM,EAAE,IAAI,CAAC,WAAW,EACxB,IAAI,EAAE,QAAQ,EACd,kBAAkB,QAClB,kBAAkB,EAAE,kBAAkB,GACxC,GACY,CACrB,CAAC;AACN,CAAC,CAAC"}
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import './NotRenderUntilFirstVisible.scss';
3
+ interface Props {
4
+ show?: boolean;
5
+ className?: string;
6
+ children: React.ReactNode;
7
+ }
8
+ export default function NotRenderUntilFirstVisible({ show, className, children }: Props): import("react/jsx-runtime").JSX.Element;
9
+ export {};
@@ -0,0 +1,9 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { Freeze } from 'react-freeze';
3
+ import { cn } from '../../utils/cn';
4
+ import './NotRenderUntilFirstVisible.scss';
5
+ const block = cn('ydb-not-render-until-first-visible');
6
+ export default function NotRenderUntilFirstVisible({ show, className, children }) {
7
+ return (_jsx("div", { style: show ? undefined : { display: 'none' }, className: block(null, className), children: _jsx(Freeze, { freeze: !show, children: children }) }));
8
+ }
9
+ //# sourceMappingURL=NotRenderUntilFirstVisible.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NotRenderUntilFirstVisible.js","sourceRoot":"","sources":["../../../src/components/NotRenderUntilFirstVisible/NotRenderUntilFirstVisible.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAC,MAAM,EAAC,MAAM,cAAc,CAAC;AAEpC,OAAO,EAAC,EAAE,EAAC,MAAM,gBAAgB,CAAC;AAElC,OAAO,mCAAmC,CAAC;AAE3C,MAAM,KAAK,GAAG,EAAE,CAAC,oCAAoC,CAAC,CAAC;AAQvD,MAAM,CAAC,OAAO,UAAU,0BAA0B,CAAC,EAAC,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAQ;IACjF,OAAO,CACH,cAAK,KAAK,EAAE,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAC,OAAO,EAAE,MAAM,EAAC,EAAE,SAAS,EAAE,KAAK,CAAC,IAAI,EAAE,SAAS,CAAC,YAC/E,KAAC,MAAM,IAAC,MAAM,EAAE,CAAC,IAAI,YAAG,QAAQ,GAAU,GACxC,CACT,CAAC;AACN,CAAC"}
@@ -0,0 +1,3 @@
1
+ .ydb-not-render-until-first-visible {
2
+ display: contents;
3
+ }
@@ -4,5 +4,6 @@ interface PageMetaProps {
4
4
  className?: string;
5
5
  loading?: boolean;
6
6
  }
7
- export declare function PageMeta({ items, loading, className }: PageMetaProps): import("react/jsx-runtime").JSX.Element;
7
+ export declare function PageMeta({ items, loading }: PageMetaProps): import("react/jsx-runtime").JSX.Element;
8
+ export declare function PageMetaWithAutorefresh({ className, ...rest }: PageMetaProps): import("react/jsx-runtime").JSX.Element;
8
9
  export {};
@@ -1,15 +1,20 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import { Skeleton } from '@gravity-ui/uikit';
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { Flex } from '@gravity-ui/uikit';
3
3
  import { cn } from '../../utils/cn';
4
+ import { AutoRefreshControl } from '../AutoRefreshControl/AutoRefreshControl';
5
+ import { Skeleton } from '../Skeleton/Skeleton';
4
6
  import './PageMeta.scss';
5
7
  const b = cn('ydb-page-meta');
6
- export function PageMeta({ items, loading, className }) {
8
+ export function PageMeta({ items, loading }) {
7
9
  const renderContent = () => {
8
10
  if (loading) {
9
11
  return _jsx(Skeleton, { className: b('skeleton') });
10
12
  }
11
13
  return items.filter((item) => Boolean(item)).join('\u00a0\u00a0\u00B7\u00a0\u00a0');
12
14
  };
13
- return _jsx("div", { className: b(null, className), children: renderContent() });
15
+ return _jsx("div", { className: b('info'), children: renderContent() });
16
+ }
17
+ export function PageMetaWithAutorefresh({ className, ...rest }) {
18
+ return (_jsxs(Flex, { gap: 1, alignItems: "center", justifyContent: "space-between", className: b(null, className), children: [_jsx(PageMeta, { ...rest }), _jsx(AutoRefreshControl, {})] }));
14
19
  }
15
20
  //# sourceMappingURL=PageMeta.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"PageMeta.js","sourceRoot":"","sources":["../../../src/components/PageMeta/PageMeta.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,mBAAmB,CAAC;AAE3C,OAAO,EAAC,EAAE,EAAC,MAAM,gBAAgB,CAAC;AAElC,OAAO,iBAAiB,CAAC;AAEzB,MAAM,CAAC,GAAG,EAAE,CAAC,eAAe,CAAC,CAAC;AAQ9B,MA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C;IAEF,OAAO,cAAK,SAAS,EAAE,CAAC,CAAC,MAAM,CAAC,YAAG,aAAa,EAAE,GAAO,CAAC;AAC9D,CAAC;AAED,MAAM,UAAU,uBAAuB,CAAC,EAAC,SAAS,EAAE,GAAG,IAAI,EAAgB;IACvE,OAAO,CACH,MAAC,IAAI,IACD,GAAG,EAAE,CAAC,EACN,UAAU,EAAC,QAAQ,EACnB,cAAc,EAAC,eAAe,EAC9B,SAAS,EAAE,CAAC,CAAC,IAAI,EAAE,SAAS,CAAC,aAE7B,KAAC,QAAQ,OAAK,IAAI,GAAI,EACtB,KAAC,kBAAkB,KAAG,IACnB,CACV,CAAC;AACN,CAAC"}
@@ -1,16 +1,19 @@
1
1
  @import '../../styles//mixins.scss';
2
2
 
3
3
  .ydb-page-meta {
4
- display: flex;
5
- flex-flow: row nowrap;
4
+ &__info {
5
+ display: flex;
6
+ flex-grow: 1;
7
+ flex-flow: row nowrap;
6
8
 
7
- height: var(--g-text-body-2-line-height);
9
+ height: var(--g-text-body-2-line-height);
8
10
 
9
- text-wrap: nowrap;
11
+ text-wrap: nowrap;
10
12
 
11
- color: var(--g-color-text-primary);
13
+ color: var(--g-color-text-primary);
12
14
 
13
- @include body-2-typography();
15
+ @include body-2-typography();
16
+ }
14
17
 
15
18
  &__skeleton {
16
19
  width: 80%;
@@ -1,8 +1,10 @@
1
1
  import type { Column, FetchData, GetRowClassName, HandleTableColumnsResize, RenderControls, RenderEmptyDataMessage, RenderErrorMessage, SortParams } from './types';
2
2
  import './PaginatedTable.scss';
3
- export interface PaginatedTableProps<T> {
3
+ export interface PaginatedTableProps<T, F> {
4
4
  limit: number;
5
- fetchData: FetchData<T>;
5
+ fetchData: FetchData<T, F>;
6
+ filters?: F;
7
+ tableName: string;
6
8
  columns: Column<T>[];
7
9
  getRowClassName?: GetRowClassName<T>;
8
10
  rowHeight?: number;
@@ -12,6 +14,5 @@ export interface PaginatedTableProps<T> {
12
14
  renderControls?: RenderControls;
13
15
  renderEmptyDataMessage?: RenderEmptyDataMessage;
14
16
  renderErrorMessage?: RenderErrorMessage;
15
- dependencyArray?: unknown[];
16
17
  }
17
- export declare const PaginatedTable: <T>({ limit, fetchData, columns, getRowClassName, rowHeight, parentContainer, initialSortParams, onColumnsResize, renderControls, renderEmptyDataMessage, renderErrorMessage, dependencyArray, }: PaginatedTableProps<T>) => import("react/jsx-runtime").JSX.Element;
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;