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
@@ -10,7 +10,7 @@ import { NodesUptimeFilterValues, nodesUptimeFilterValuesSchema } from '../../ut
10
10
  import { StorageControls } from './StorageControls/StorageControls';
11
11
  import { PaginatedStorageGroups } from './StorageGroups/PaginatedStorageGroups';
12
12
  import { PaginatedStorageNodes } from './StorageNodes/PaginatedStorageNodes';
13
- export const PaginatedStorage = ({ tenant, nodeId, parentContainer, additionalNodesProps, }) => {
13
+ export const PaginatedStorage = ({ database, nodeId, parentContainer, additionalNodesProps, }) => {
14
14
  var _a;
15
15
  const [queryParams, setQueryParams] = useQueryParams({
16
16
  type: StringParam,
@@ -54,8 +54,8 @@ export const PaginatedStorage = ({ tenant, nodeId, parentContainer, additionalNo
54
54
  return _jsx(ResponseError, { error: error });
55
55
  };
56
56
  if (storageType === STORAGE_TYPES.nodes) {
57
- return (_jsx(PaginatedStorageNodes, { searchValue: searchValue, visibleEntities: visibleEntities, nodesUptimeFilter: nodesUptimeFilter, tenant: tenant, additionalNodesProps: additionalNodesProps, onShowAll: handleShowAllNodes, parentContainer: parentContainer, renderControls: renderControls, renderErrorMessage: renderErrorMessage }));
57
+ return (_jsx(PaginatedStorageNodes, { searchValue: searchValue, visibleEntities: visibleEntities, nodesUptimeFilter: nodesUptimeFilter, database: database, additionalNodesProps: additionalNodesProps, onShowAll: handleShowAllNodes, parentContainer: parentContainer, renderControls: renderControls, renderErrorMessage: renderErrorMessage }));
58
58
  }
59
- return (_jsx(PaginatedStorageGroups, { searchValue: searchValue, visibleEntities: visibleEntities, tenant: tenant, nodeId: nodeId, nodesMap: nodesMap, onShowAll: handleShowAllGroups, parentContainer: parentContainer, renderControls: renderControls, renderErrorMessage: renderErrorMessage }));
59
+ return (_jsx(PaginatedStorageGroups, { searchValue: searchValue, visibleEntities: visibleEntities, database: database, nodeId: nodeId, nodesMap: nodesMap, onShowAll: handleShowAllGroups, parentContainer: parentContainer, renderControls: renderControls, renderErrorMessage: renderErrorMessage }));
60
60
  };
61
61
  //# sourceMappingURL=PaginatedStorage.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"PaginatedStorage.js","sourceRoot":"","sources":["../../../src/containers/Storage/PaginatedStorage.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,WAAW,EAAE,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAE7D,OAAO,EAAC,YAAY,EAAC,MAAM,0CAA0C,CAAC;AACtE,OAAO,EAAC,aAAa,EAAC,MAAM,qDAAqD,CAAC;AAElF,OAAO,EAAC,cAAc,EAAC,MAAM,gCAAgC,CAAC;AAC9D,OAAO,EAAC,aAAa,EAAE,gBAAgB,EAAC,MAAM,wCAAwC,CAAC;AACvF,OAAO,EAAC,iBAAiB,EAAE,qBAAqB,EAAC,MAAM,oCAAoC,CAAC;AAG5F,OAAO,EAAC,gBAAgB,EAAC,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAC,uBAAuB,EAAE,6BAA6B,EAAC,MAAM,mBAAmB,CAAC;AAEzF,OAAO,EAAC,eAAe,EAAC,MAAM,mCAAmC,CA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C;QACtC,OAAO,CACH,KAAC,qBAAqB,IAClB,WAAW,EAAE,WAAW,EACxB,eAAe,EAAE,eAAe,EAChC,iBAAiB,EAAE,iBAAiB,EACpC,MAAM,EAAE,MAAM,EACd,oBAAoB,EAAE,oBAAoB,EAC1C,SAAS,EAAE,kBAAkB,EAC7B,eAAe,EAAE,eAAe,EAChC,cAAc,EAAE,cAAc,EAC9B,kBAAkB,EAAE,kBAAkB,GACxC,CACL,CAAC;IACN,CAAC;IAED,OAAO,CACH,KAAC,sBAAsB,IACnB,WAAW,EAAE,WAAW,EACxB,eAAe,EAAE,eAAe,EAChC,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,QAAQ,EAClB,SAAS,EAAE,mBAAmB,EAC9B,eAAe,EAAE,eAAe,EAChC,cAAc,EAAE,cAAc,EAC9B,kBAAkB,EAAE,kBAAkB,GACxC,CACL,CAAC;AACN,CAAC,CAAC"}
1
+ {"version":3,"file":"PaginatedStorage.js","sourceRoot":"","sources":["../../../src/containers/Storage/PaginatedStorage.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,WAAW,EAAE,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAE7D,OAAO,EAAC,YAAY,EAAC,MAAM,0CAA0C,CAAC;AACtE,OAAO,EAAC,aAAa,EAAC,MAAM,qDAAqD,CAAC;AAElF,OAAO,EAAC,cAAc,EAAC,MAAM,gCAAgC,CAAC;AAC9D,OAAO,EAAC,aAAa,EAAE,gBAAgB,EAAC,MAAM,wCAAwC,CAAC;AACvF,OAAO,EAAC,iBAAiB,EAAE,qBAAqB,EAAC,MAAM,oCAAoC,CAAC;AAG5F,OAAO,EAAC,gBAAgB,EAAC,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAC,uBAAuB,EAAE,6BAA6B,EAAC,MAAM,mBAAmB,CAAC;AAEzF,OAAO,EAAC,eAAe,EAAC,MAAM,mCAAmC,CAAC;AAClE,OAAO,EAAC,sBAAsB,EAA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,IAClB,WAAW,EAAE,WAAW,EACxB,eAAe,EAAE,eAAe,EAChC,iBAAiB,EAAE,iBAAiB,EACpC,QAAQ,EAAE,QAAQ,EAClB,oBAAoB,EAAE,oBAAoB,EAC1C,SAAS,EAAE,kBAAkB,EAC7B,eAAe,EAAE,eAAe,EAChC,cAAc,EAAE,cAAc,EAC9B,kBAAkB,EAAE,kBAAkB,GACxC,CACL,CAAC;IACN,CAAC;IAED,OAAO,CACH,KAAC,sBAAsB,IACnB,WAAW,EAAE,WAAW,EACxB,eAAe,EAAE,eAAe,EAChC,QAAQ,EAAE,QAAQ,EAClB,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,QAAQ,EAClB,SAAS,EAAE,mBAAmB,EAC9B,eAAe,EAAE,eAAe,EAChC,cAAc,EAAE,cAAc,EAC9B,kBAAkB,EAAE,kBAAkB,GACxC,CACL,CAAC;AACN,CAAC,CAAC"}
@@ -2,8 +2,8 @@ import type { AdditionalNodesProps } from '../../types/additionalProps';
2
2
  import './Storage.scss';
3
3
  interface StorageProps {
4
4
  additionalNodesProps?: AdditionalNodesProps;
5
- tenant?: string;
5
+ database?: string;
6
6
  nodeId?: string;
7
7
  }
8
- export declare const Storage: ({ additionalNodesProps, tenant, nodeId }: StorageProps) => import("react/jsx-runtime").JSX.Element;
8
+ export declare const Storage: ({ additionalNodesProps, database, nodeId }: StorageProps) => import("react/jsx-runtime").JSX.Element;
9
9
  export {};
@@ -31,7 +31,7 @@ const UsageFilterParam = withDefault({
31
31
  return input.filter(Boolean);
32
32
  },
33
33
  }, []);
34
- export const Storage = ({ additionalNodesProps, tenant, nodeId }) => {
34
+ export const Storage = ({ additionalNodesProps, database, nodeId }) => {
35
35
  var _a;
36
36
  const [autoRefreshInterval] = useAutoRefreshInterval();
37
37
  const [queryParams, setQueryParams] = useQueryParams({
@@ -60,11 +60,11 @@ export const Storage = ({ additionalNodesProps, tenant, nodeId }) => {
60
60
  // Do not display Nodes table for Node page (NodeId present)
61
61
  const isNodePage = nodeId !== undefined;
62
62
  const storageType = isNodePage ? STORAGE_TYPES.groups : type;
63
- const nodesQuery = storageApi.useGetStorageNodesInfoQuery({ tenant, visibleEntities }, {
63
+ const nodesQuery = storageApi.useGetStorageNodesInfoQuery({ database, visibleEntities }, {
64
64
  skip: storageType !== STORAGE_TYPES.nodes,
65
65
  pollingInterval: autoRefreshInterval,
66
66
  });
67
- const groupsQuery = storageApi.useGetStorageGroupsInfoQuery({ tenant, visibleEntities, nodeId }, {
67
+ const groupsQuery = storageApi.useGetStorageGroupsInfoQuery({ database, visibleEntities, nodeId }, {
68
68
  skip: storageType !== STORAGE_TYPES.groups,
69
69
  pollingInterval: autoRefreshInterval,
70
70
  });
@@ -98,7 +98,7 @@ export const Storage = ({ additionalNodesProps, tenant, nodeId }) => {
98
98
  handleUptimeFilterChange(NodesUptimeFilterValues.All);
99
99
  };
100
100
  const renderDataTable = () => {
101
- return (_jsxs(React.Fragment, { children: [storageType === STORAGE_TYPES.groups && (_jsx(StorageGroups, { visibleEntities: visibleEntities, data: storageGroups, tableSettings: DEFAULT_TABLE_SETTINGS, nodes: nodesMap, onShowAll: () => handleGroupVisibilityChange(VISIBLE_ENTITIES.all), sort: groupsSort, handleSort: handleGroupsSort }, "groups")), storageType === STORAGE_TYPES.nodes && (_jsx(StorageNodes, { visibleEntities: visibleEntities, nodesUptimeFilter: uptimeFilter, data: storageNodes, tableSettings: DEFAULT_TABLE_SETTINGS, onShowAll: handleShowAllNodes, additionalNodesProps: additionalNodesProps, sort: nodesSort, handleSort: handleNodesSort }, "nodes"))] }));
101
+ return (_jsxs(React.Fragment, { children: [storageType === STORAGE_TYPES.groups && (_jsx(StorageGroups, { visibleEntities: visibleEntities, data: storageGroups, tableSettings: DEFAULT_TABLE_SETTINGS, nodes: nodesMap, onShowAll: () => handleGroupVisibilityChange(VISIBLE_ENTITIES.all), sort: groupsSort, handleSort: handleGroupsSort }, "groups")), storageType === STORAGE_TYPES.nodes && (_jsx(StorageNodes, { visibleEntities: visibleEntities, nodesUptimeFilter: uptimeFilter, data: storageNodes, tableSettings: DEFAULT_TABLE_SETTINGS, onShowAll: handleShowAllNodes, additionalNodesProps: additionalNodesProps, sort: nodesSort, handleSort: handleNodesSort, database: database }, "nodes"))] }));
102
102
  };
103
103
  const renderControls = () => {
104
104
  return (_jsx(StorageControls, { searchValue: filter, handleSearchValueChange: handleTextFilterChange, withTypeSelector: !isNodePage, storageType: storageType, handleStorageTypeChange: handleStorageTypeChange, visibleEntities: visibleEntities, handleVisibleEntitiesChange: handleGroupVisibilityChange, nodesUptimeFilter: uptimeFilter, handleNodesUptimeFilterChange: handleUptimeFilterChange, groupsUsageFilter: usageFilter, groupsUsageFilterOptions: usageFilterOptions, handleGroupsUsageFilterChange: handleUsageFilterChange, entitiesCountCurrent: storageType === STORAGE_TYPES.groups
@@ -1 +1 @@
1
- {"version":3,"file":"Storage.js","sourceRoot":"","sources":["../../../src/containers/Storage/Storage.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,UAAU,EAAE,WAAW,EAAE,cAAc,EAAE,WAAW,EAAC,MAAM,kBAAkB,CAAC;AAEtF,OAAO,EAAC,YAAY,EAAC,MAAM,6BAA6B,CAAC;AACzD,OAAO,EAAC,aAAa,EAAC,MAAM,6CAA6C,CAAC;AAC1E,OAAO,EAAC,aAAa,EAAC,MAAM,uCAAuC,CAAC;AACpE,OAAO,EAAC,uBAAuB,EAAC,MAAM,kEAAkE,CAAC;AAEzG,OAAO,EAAC,cAAc,EAAC,MAAM,gCAAgC,CAAC;AAC9D,OAAO,EAAC,aAAa,EAAE,gBAAgB,EAAC,MAAM,wCAAwC,CAAC;AACvF,OAAO,EACH,YAAY,EACZ,WAAW,EACX,qBAAqB,GACxB,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAAC,UAAU,EAAC,MAAM,sCAAsC,CAAC;AAChE,OAAO,EAAC,iBAAiB,EAAE,qBAAqB,EAAC,MAAM,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,WAAW,EAAE,MAAM,EACnB,uBAAuB,EAAE,sBAAsB,EAC/C,gBAAgB,EAAE,CAAC,UAAU,EAC7B,WAAW,EAAE,WAAW,EACxB,uBAAuB,EAAE,uBAAuB,EAChD,eAAe,EAAE,eAAe,EAChC,2BAA2B,EAAE,2BAA2B,EACxD,iBAAiB,EAAE,YAAY,EAC/B,6BAA6B,EAAE,wBAAwB,EACvD,iBAAiB,EAAE,WAAW,EAC9B,wBAAwB,EAAE,kBAAkB,EAC5C,6BAA6B,EAAE,uBAAuB,EACtD,oBAAoB,EAChB,WAAW,KAAK,aAAa,CAAC,MAAM;gBAChC,CAAC,CAAC,aAAa,CAAC,MAAM;gBACtB,CAAC,CAAC,YAAY,CAAC,MAAM,EAE7B,kBAAkB,EAAE,aAAa,CAAC,KAAK,EACvC,eAAe,EAAE,SAAS,GAC5B,CACL,CAAC;IACN,CAAC,CAAC;IAEF,IAAI,aAAa,CAAC,KAAK,CAAC,EAAE,CAAC;QACvB,OAAO,KAAC,YAAY,IAAC,QAAQ,EAAC,MAAM,GAAG,CAAC;IAC5C,CAAC;IAED,OAAO,CACH,MAAC,uBAAuB,eACpB,KAAC,uBAAuB,CAAC,QAAQ,cAAE,cAAc,EAAE,GAAoC,EACtF,KAAK,CAAC,CAAC,CAAC,KAAC,aAAa,IAAC,KAAK,EAAE,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,EAC/C,KAAC,uBAAuB,CAAC,KAAK,IAAC,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,CAAC,CAAC,OAAO,CAAC,YACnE,WAAW,CAAC,CAAC,CAAC,eAAe,EAAE,CAAC,CAAC,CAAC,IAAI,GACX,IACV,CAC7B,CAAC;AACN,CAAC,CAAC"}
@@ -4,7 +4,7 @@ import type { NodesMap } from '../../../types/store/nodesList';
4
4
  interface PaginatedStorageGroupsProps {
5
5
  searchValue: string;
6
6
  visibleEntities: VisibleEntities;
7
- tenant?: string;
7
+ database?: string;
8
8
  nodeId?: string;
9
9
  nodesMap?: NodesMap;
10
10
  onShowAll: VoidFunction;
@@ -12,5 +12,5 @@ interface PaginatedStorageGroupsProps {
12
12
  renderControls: RenderControls;
13
13
  renderErrorMessage: RenderErrorMessage;
14
14
  }
15
- export declare const PaginatedStorageGroups: ({ searchValue, visibleEntities, tenant, nodeId, nodesMap, onShowAll, parentContainer, renderControls, renderErrorMessage, }: PaginatedStorageGroupsProps) => import("react/jsx-runtime").JSX.Element;
15
+ export declare const PaginatedStorageGroups: ({ searchValue, visibleEntities, database, nodeId, nodesMap, onShowAll, parentContainer, renderControls, renderErrorMessage, }: PaginatedStorageGroupsProps) => import("react/jsx-runtime").JSX.Element;
16
16
  export {};
@@ -6,22 +6,10 @@ import { StorageGroupsEmptyDataMessage } from './StorageGroupsEmptyDataMessage';
6
6
  import { getStorageGroups } from './getGroups';
7
7
  import { STORAGE_GROUPS_COLUMNS_WIDTH_LS_KEY, getPreparedStorageGroupsColumns, } from './getStorageGroupsColumns';
8
8
  import i18n from './i18n';
9
- export const PaginatedStorageGroups = ({ searchValue, visibleEntities, tenant, nodeId, nodesMap, onShowAll, parentContainer, renderControls, renderErrorMessage, }) => {
10
- const filters = React.useMemo(() => {
11
- return [searchValue, visibleEntities, tenant, nodeId];
12
- }, [searchValue, visibleEntities, tenant, nodeId]);
13
- const fetchData = React.useCallback(async (limit, offset, { sortOrder, columnId } = {}) => {
14
- return await getStorageGroups({
15
- limit,
16
- offset,
17
- filter: searchValue,
18
- visibleEntities,
19
- tenant,
20
- nodeId,
21
- sortOrder,
22
- sortValue: columnId,
23
- });
24
- }, [nodeId, searchValue, tenant, visibleEntities]);
9
+ export const PaginatedStorageGroups = ({ searchValue, visibleEntities, database, nodeId, nodesMap, onShowAll, parentContainer, renderControls, renderErrorMessage, }) => {
10
+ const tableFilters = React.useMemo(() => {
11
+ return { searchValue, visibleEntities, database, nodeId };
12
+ }, [searchValue, visibleEntities, database, nodeId]);
25
13
  const columns = React.useMemo(() => {
26
14
  return getPreparedStorageGroupsColumns(nodesMap, visibleEntities);
27
15
  }, [nodesMap, visibleEntities]);
@@ -31,6 +19,6 @@ export const PaginatedStorageGroups = ({ searchValue, visibleEntities, tenant, n
31
19
  }
32
20
  return i18n('empty.default');
33
21
  };
34
- return (_jsx(ResizeablePaginatedTable, { columnsWidthLSKey: STORAGE_GROUPS_COLUMNS_WIDTH_LS_KEY, parentContainer: parentContainer, columns: columns, fetchData: fetchData, limit: 50, renderControls: renderControls, renderErrorMessage: renderErrorMessage, renderEmptyDataMessage: renderEmptyDataMessage, dependencyArray: filters }));
22
+ return (_jsx(ResizeablePaginatedTable, { columnsWidthLSKey: STORAGE_GROUPS_COLUMNS_WIDTH_LS_KEY, parentContainer: parentContainer, columns: columns, fetchData: getStorageGroups, limit: 50, renderControls: renderControls, renderErrorMessage: renderErrorMessage, renderEmptyDataMessage: renderEmptyDataMessage, filters: tableFilters, tableName: "storage-groups" }));
35
23
  };
36
24
  //# sourceMappingURL=PaginatedStorageGroups.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"PaginatedStorageGroups.js","sourceRoot":"","sources":["../../../../src/containers/Storage/StorageGroups/PaginatedStorageGroups.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,OAAO,EAAC,wBAAwB,EAAC,MAAM,oCAAoC,CAAC;AAC5E,OAAO,EAAC,gBAAgB,EAAC,MAAM,2CAA2C,CAAC;AAK3E,OAAO,EAAC,6BAA6B,EAAC,MAAM,iCAAiC,CAAC;AAC9E,OAAO,EAAC,gBAAgB,EAAC,MAAM,aAAa,CAAC;AAC7C,OAAO,EACH,mCAAmC,EACnC,+BAA+B,GAClC,MAAM,2BAA2B,CAAC;AACnC,OAAO,IAAI,MAAM,QAAQ,CAAC;AAgB1B,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,EACnC,WAAW,EACX,eAAe,EACf,MAAM,EACN,MAAM,EACN,QAAQ,EACR,SAAS,EACT,eAAe,EACf,cAAc,EACd,k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,EAAE,EACT,cAAc,EAAE,cAAc,EAC9B,kBAAkB,EAAE,kBAAkB,EACtC,sBAAsB,EAAE,sBAAsB,EAC9C,eAAe,EAAE,OAAO,GAC1B,CACL,CAAC;AACN,CAAC,CAAC"}
1
+ {"version":3,"file":"PaginatedStorageGroups.js","sourceRoot":"","sources":["../../../../src/containers/Storage/StorageGroups/PaginatedStorageGroups.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAC,wBAAwB,EAAC,MAAM,oCAAoC,CAAC;AAC5E,OAAO,EAAC,gBAAgB,EAAC,MAAM,2CAA2C,CAAC;AAI3E,OAAO,EAAC,6BAA6B,EAAC,MAAM,iCAAiC,CAAC;AAC9E,OAAO,EAAC,gBAAgB,EAAC,MAAM,aAAa,CAAC;AAC7C,OAAO,EACH,mCAAmC,EACnC,+BAA+B,GAClC,MAAM,2BAA2B,CAAC;AACnC,OAAO,IAAI,MAAM,QAAQ,CAAC;AAgB1B,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,EACnC,WAAW,EACX,eAAe,EACf,QAAQ,EACR,MAAM,EACN,QAAQ,EACR,SAAS,EACT,eAAe,EACf,cAAc,EACd,kBAAkB,GACQ,EAAE,EAAE;IAC9B,MAAM,YAAY,GAAG,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE;QACpC,OAAO,EAAC,WAAW,EAAE,eAAe,EAAE,QAAQ,EAAE,MAAM,EAAC,CAAC;IAC5D,CAAC,EAAE,CAAC,WAAW,EAAE,eAAe,EAAE,QAAQ,EAAE,MAAM,CAAC,CAAC,CAAC;IAErD,MAAM,OAAO,GAAG,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE;QAC/B,OAAO,+BAA+B,CAAC,QAAQ,EAAE,eAAe,CAAC,CAAC;IACtE,CAAC,EAAE,CAAC,QAAQ,EAAE,eAAe,CAAC,CAAC,CAAC;IAEhC,MAAM,sBAAsB,GAAG,GAAG,EAAE;QAChC,IAAI,eAAe,KAAK,gBAAgB,CAAC,GAAG,EAAE,CAAC;YAC3C,OAAO,CACH,KAAC,6BAA6B,IAC1B,SAAS,EAAE,SAAS,EACpB,eAAe,EAAE,eAAe,GAClC,CACL,CAAC;QACN,CAAC;QAED,OAAO,IAAI,CAAC,eAAe,CAAC,CAAC;IACjC,CAAC,CAAC;IAEF,OAAO,CACH,KAAC,wBAAwB,IACrB,iBAAiB,EAAE,mCAAmC,EACtD,eAAe,EAAE,eAAe,EAChC,OAAO,EAAE,OAAO,EAChB,SAAS,EAAE,gBAAgB,EAC3B,KAAK,EAAE,EAAE,EACT,cAAc,EAAE,cAAc,EAC9B,kBAAkB,EAAE,kBAAkB,EACtC,sBAAsB,EAAE,sBAAsB,EAC9C,OAAO,EAAE,YAAY,EACrB,SAAS,EAAC,gBAAgB,GAC5B,CACL,CAAC;AACN,CAAC,CAAC"}
@@ -1,6 +1,3 @@
1
- import type { StorageApiRequestParams } from '../../../store/reducers/storage/types';
2
- export declare const getStorageGroups: ({ limit, offset, ...params }: StorageApiRequestParams) => Promise<{
3
- data: import("../../../store/reducers/storage/types").PreparedStorageGroup[];
4
- found: number;
5
- total: number;
6
- }>;
1
+ import type { FetchData } from '../../../components/PaginatedTable';
2
+ import type { PreparedStorageGroup, PreparedStorageGroupFilters } from '../../../store/reducers/storage/types';
3
+ export declare const getStorageGroups: FetchData<PreparedStorageGroup, PreparedStorageGroupFilters>;
@@ -3,8 +3,21 @@ import { EVersion } from '../../../types/api/storage';
3
3
  const getConcurrentId = (limit, offset) => {
4
4
  return `getStorageGroups|offset${offset}|limit${limit}`;
5
5
  };
6
- export const getStorageGroups = async ({ limit, offset, ...params }) => {
7
- const response = await window.api.getStorageInfo({ version: EVersion.v2, limit, offset, ...params }, { concurrentId: getConcurrentId(limit, offset) });
6
+ export const getStorageGroups = async (params) => {
7
+ const { limit, offset, sortParams, filters } = params;
8
+ const { sortOrder, columnId } = sortParams !== null && sortParams !== void 0 ? sortParams : {};
9
+ const { searchValue, visibleEntities, database, nodeId } = filters !== null && filters !== void 0 ? filters : {};
10
+ const response = await window.api.getStorageInfo({
11
+ version: EVersion.v2,
12
+ limit,
13
+ offset,
14
+ sortOrder,
15
+ sortValue: columnId,
16
+ filter: searchValue,
17
+ visibleEntities,
18
+ database,
19
+ nodeId,
20
+ }, { concurrentId: getConcurrentId(limit, offset) });
8
21
  const preparedResponse = prepareStorageGroupsResponse(response);
9
22
  return {
10
23
  data: preparedResponse.groups || [],
@@ -1 +1 @@
1
- {"version":3,"file":"getGroups.js","sourceRoot":"","sources":["../../../../src/containers/Storage/StorageGroups/getGroups.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,4BAA4B,EAAC,MAAM,uCAAuC,CAAC;AACnF,OAAO,EAAC,QAAQ,EAAC,MAAM,4BAA4B,CAAC;AAEpD,MAAM,eAAe,GAAG,CAAC,KAAc,EAAE,MAAe,EAAE,EAAE;IACxD,OAAO,0BAA0B,MAAM,SAAS,KAAK,EAAE,CAAC;AAC5D,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,gBAAgB,GAAG,KAAK,EAAE,EAAC,KAAK,EAAE,MAAM,EAAE,GAAG,MAAM,EAA0B,EAAE,EAAE;IAC1F,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,GAAG,CAAC,cAAc,CAC5C,EAAC,OAAO,EAAE,QAAQ,CAAC,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,MAAM,EAAC,EAChD,EAAC,YAAY,EAAE,eAAe,CAAC,KAAK,EAAE,MAAM,CAAC,EAAC,CACjD,CAAC;IACF,MAAM,gBAAgB,GAAG,4BAA4B,CAAC,QAAQ,CAAC,CAAC;IAEhE,OAAO;QACH,IAAI,EAAE,gBAAgB,CAAC,MAAM,IAAI,EAAE;QACnC,KAAK,EAAE,gBAAgB,CAAC,KAAK,IAAI,CAAC;QAClC,KAAK,EAAE,gBAAgB,CAAC,KAAK,IAAI,CAAC;KACrC,CAAC;AACN,CAAC,CAAC"}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,CAAC;AACN,CAAC,CAAC"}
@@ -21,7 +21,7 @@ export declare const GROUPS_COLUMNS_IDS: {
21
21
  readonly Degraded: "Degraded";
22
22
  };
23
23
  export declare const getStorageTopGroupsColumns: () => StorageGroupsColumn[];
24
- export declare const getPDiskStorageColumns: (nodes?: NodesMap) => StorageGroupsColumn[];
24
+ export declare const getDiskPageStorageColumns: (nodes?: NodesMap) => StorageGroupsColumn[];
25
25
  export declare const getPreparedStorageGroupsColumns: (nodesMap: NodesMap | undefined, visibleEntities: VisibleEntities) => {
26
26
  sortable: boolean;
27
27
  name: string;
@@ -180,7 +180,7 @@ export const getStorageTopGroupsColumns = () => {
180
180
  };
181
181
  });
182
182
  };
183
- export const getPDiskStorageColumns = (nodes) => {
183
+ export const getDiskPageStorageColumns = (nodes) => {
184
184
  return [
185
185
  poolNameColumn,
186
186
  typeColumn,
@@ -1 +1 @@
1
- {"version":3,"file":"getStorageGroupsColumns.js","sourceRoot":"","sources":["../../../../src/containers/Storage/StorageGroups/getStorageGroupsColumns.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,aAAa,EAAC,MAAM,mBAAmB,CAAC;AAChD,OAAO,SAAS,MAAM,8BAA8B,CAAC;AAErD,OAAO,EAAC,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,eAAe,EAAC,MAAM,mBAAmB,CAAC;AAExE,OAAO,EAAC,eAAe,EAAC,MAAM,qDAAqD,CAAC;AACpF,OAAO,EAAC,YAAY,EAAC,MAAM,+CAA+C,CAAC;AAE3E,OAAO,EAAC,UAAU,EAAC,MAAM,2CAA2C,CAAC;AACrE,OAAO,EAAC,oBAAoB,EAAC,MAAM,gDAAgD,CAAC;AACpF,OAAO,EAAC,gBAAgB,EAAC,MAAM,2CAA2C,CAAC;AAE3E,OAAO,EAAC,KAAK,EAAC,MAAM,0BAA0B,CAAC;AAE/C,OAAO,EAAC,EAAE,EAAC,MAAM,mBAAmB,CAAC;A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AAC,MAAM,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,IAAI,KAAK,kBAAkB,CAAC,QAAQ,CAAC,CAAC;IAC7E,CAAC;IAED,IAAI,eAAe,KAAK,gBAAgB,CAAC,OAAO,EAAE,CAAC;QAC/C,OAAO,OAAO,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,IAAI,KAAK,kBAAkB,CAAC,aAAa,CAAC,CAAC;IAClF,CAAC;IAED,OAAO,OAAO,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,EAAE;QAC1B,OAAO,CACH,GAAG,CAAC,IAAI,KAAK,kBAAkB,CAAC,QAAQ;YACxC,GAAG,CAAC,IAAI,KAAK,kBAAkB,CAAC,aAAa,CAChD,CAAC;IACN,CAAC,CAAC,CAAC;AACP,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,+BAA+B,GAAG,CAC3C,QAA8B,EAC9B,eAAgC,EAClC,EAAE;IACA,MAAM,UAAU,GAAG,uBAAuB,CAAC,QAAQ,CAAC,CAAC;IAErD,MAAM,eAAe,GAAG,0BAA0B,CAAC,UAAU,EAAE,eAAe,CAAC,CAAC;IAEhF,OAAO,eAAe,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;QACpC,GAAG,MAAM;QACT,QAAQ,EAAE,yBAAyB,CAAC,MAAM,CAAC,IAAI,CAAC;KACnD,CAAC,CAAC,CAAC;AACR,CAAC,CAAC"}
1
+ {"version":3,"file":"getStorageGroupsColumns.js","sourceRoot":"","sources":["../../../../src/containers/Storage/StorageGroups/getStorageGroupsColumns.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,aAAa,EAAC,MAAM,mBAAmB,CAAC;AAChD,OAAO,SAAS,MAAM,8BAA8B,CAAC;AAErD,OAAO,EAAC,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,eAAe,EAAC,MA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AyB,CAAC,MAAM,CAAC,IAAI,CAAC;KACnD,CAAC,CAAC,CAAC;AACR,CAAC,CAAC"}
@@ -6,12 +6,12 @@ interface PaginatedStorageNodesProps {
6
6
  searchValue: string;
7
7
  visibleEntities: VisibleEntities;
8
8
  nodesUptimeFilter: NodesUptimeFilterValues;
9
- tenant?: string;
9
+ database?: string;
10
10
  additionalNodesProps?: AdditionalNodesProps;
11
11
  onShowAll: VoidFunction;
12
12
  parentContainer?: Element | null;
13
13
  renderControls: RenderControls;
14
14
  renderErrorMessage: RenderErrorMessage;
15
15
  }
16
- export declare const PaginatedStorageNodes: ({ searchValue, visibleEntities, nodesUptimeFilter, tenant, additionalNodesProps, onShowAll, parentContainer, renderControls, renderErrorMessage, }: PaginatedStorageNodesProps) => import("react/jsx-runtime").JSX.Element;
16
+ export declare const PaginatedStorageNodes: ({ searchValue, visibleEntities, nodesUptimeFilter, database, additionalNodesProps, onShowAll, parentContainer, renderControls, renderErrorMessage, }: PaginatedStorageNodesProps) => import("react/jsx-runtime").JSX.Element;
17
17
  export {};
@@ -2,31 +2,19 @@ import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import React from 'react';
3
3
  import { ResizeablePaginatedTable } from '../../../components/PaginatedTable';
4
4
  import { VISIBLE_ENTITIES } from '../../../store/reducers/storage/constants';
5
- import { NodesUptimeFilterValues, getUptimeParamValue } from '../../../utils/nodes';
5
+ import { NodesUptimeFilterValues } from '../../../utils/nodes';
6
6
  import { StorageNodesEmptyDataMessage } from './StorageNodesEmptyDataMessage';
7
7
  import { getStorageNodes } from './getNodes';
8
8
  import { STORAGE_NODES_COLUMNS_WIDTH_LS_KEY, getPreparedStorageNodesColumns, } from './getStorageNodesColumns';
9
9
  import i18n from './i18n';
10
10
  import { getRowUnavailableClassName } from './shared';
11
- export const PaginatedStorageNodes = ({ searchValue, visibleEntities, nodesUptimeFilter, tenant, additionalNodesProps, onShowAll, parentContainer, renderControls, renderErrorMessage, }) => {
12
- const filters = React.useMemo(() => {
13
- return [searchValue, visibleEntities, nodesUptimeFilter, tenant];
14
- }, [searchValue, visibleEntities, nodesUptimeFilter, tenant]);
15
- const fetchData = React.useCallback(async (limit, offset, { sortOrder, columnId } = {}) => {
16
- return await getStorageNodes({
17
- limit,
18
- offset,
19
- filter: searchValue,
20
- uptime: getUptimeParamValue(nodesUptimeFilter),
21
- visibleEntities,
22
- tenant,
23
- sortOrder,
24
- sortValue: columnId,
25
- });
26
- }, [nodesUptimeFilter, searchValue, tenant, visibleEntities]);
11
+ export const PaginatedStorageNodes = ({ searchValue, visibleEntities, nodesUptimeFilter, database, additionalNodesProps, onShowAll, parentContainer, renderControls, renderErrorMessage, }) => {
12
+ const tableFilters = React.useMemo(() => {
13
+ return { searchValue, visibleEntities, nodesUptimeFilter, database };
14
+ }, [searchValue, visibleEntities, nodesUptimeFilter, database]);
27
15
  const columns = React.useMemo(() => {
28
- return getPreparedStorageNodesColumns(additionalNodesProps, visibleEntities);
29
- }, [additionalNodesProps, visibleEntities]);
16
+ return getPreparedStorageNodesColumns(additionalNodesProps, visibleEntities, database);
17
+ }, [additionalNodesProps, visibleEntities, database]);
30
18
  const renderEmptyDataMessage = () => {
31
19
  if (visibleEntities !== VISIBLE_ENTITIES.all ||
32
20
  nodesUptimeFilter !== NodesUptimeFilterValues.All) {
@@ -34,6 +22,6 @@ export const PaginatedStorageNodes = ({ searchValue, visibleEntities, nodesUptim
34
22
  }
35
23
  return i18n('empty.default');
36
24
  };
37
- return (_jsx(ResizeablePaginatedTable, { columnsWidthLSKey: STORAGE_NODES_COLUMNS_WIDTH_LS_KEY, parentContainer: parentContainer, columns: columns, fetchData: fetchData, rowHeight: 50, limit: 50, renderControls: renderControls, renderErrorMessage: renderErrorMessage, renderEmptyDataMessage: renderEmptyDataMessage, getRowClassName: getRowUnavailableClassName, dependencyArray: filters }));
25
+ return (_jsx(ResizeablePaginatedTable, { columnsWidthLSKey: STORAGE_NODES_COLUMNS_WIDTH_LS_KEY, parentContainer: parentContainer, columns: columns, fetchData: getStorageNodes, rowHeight: 50, limit: 50, renderControls: renderControls, renderErrorMessage: renderErrorMessage, renderEmptyDataMessage: renderEmptyDataMessage, getRowClassName: getRowUnavailableClassName, filters: tableFilters, tableName: "storage-nodes" }));
38
26
  };
39
27
  //# sourceMappingURL=PaginatedStorageNodes.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"PaginatedStorageNodes.js","sourceRoot":"","sources":["../../../../src/containers/Storage/StorageNodes/PaginatedStorageNodes.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,OAAO,EAAC,wBAAwB,EAAC,MAAM,oCAAoC,CAAC;AAC5E,OAAO,EAAC,gBAAgB,EAAC,MAAM,2CAA2C,CAAC;AAG3E,OAAO,EAAC,uBAAuB,EAAE,mBAAmB,EAAC,MAAM,sBAAsB,CAAC;AAGlF,OAAO,EAAC,4BAA4B,EAAC,MAAM,gCAAgC,CAAC;AAC5E,OAAO,EAAC,eAAe,EAAC,MAAM,YAAY,CAAC;AAC3C,OAAO,EACH,kCAAkC,EAClC,8BAA8B,GACjC,MAAM,0BAA0B,CAAC;AAClC,OAAO,IAAI,MAAM,QAAQ,CAAC;AAC1B,OAAO,EAAC,0BAA0B,EAAC,MAAM,UAAU,CAAC;AAgBpD,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,EAClC,WAAW,EACX,eAAe,EACf,iBAAiB,EACjB,MAAM,EACN,oBAAoB,EACpB,SAAS,EACT,eAAe,EACf,cAAc,EACd,kBAAkB,GACO,EAAE,EAAE;IAC7B,MAAM,OAAO,GAAG,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE;QAC/B,OAAO,CAAC,WAAW,EAAE,eAAe,EAAE,iBAAiB,EAAE,MAAM,CAAC,CAAC;IACrE,CAAC,EAAE,CAAC,WAAW,EAAE,eAAe,EAAE,iBAAiB,EAAE,MAAM,CAAC,CAAC,CAAC;IAE9D,MAAM,SAAS,GAAG,KAAK,CAAC,WAAW,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QAChC,IACI,eAAe,KAAK,gBAAgB,CAAC,GAAG;YACxC,iBAAiB,KAAK,uBAAuB,CAAC,GAAG,EACnD,CAAC;YACC,OAAO,CACH,KAAC,4BAA4B,IACzB,SAAS,EAAE,SAAS,EACpB,iBAAiB,EAAE,iBAAiB,EACpC,eAAe,EAAE,eAAe,GAClC,CACL,CAAC;QACN,CAAC;QAED,OAAO,IAAI,CAAC,eAAe,CAAC,CAAC;IACjC,CAAC,CAAC;IAEF,OAAO,CACH,KAAC,wBAAwB,IACrB,iBAAiB,EAAE,kCAAkC,EACrD,eAAe,EAAE,eAAe,EAChC,OAAO,EAAE,OAAO,EAChB,SAAS,EAAE,eAAe,EAC1B,SAAS,EAAE,EAAE,EACb,KAAK,EAAE,EAAE,EACT,cAAc,EAAE,cAAc,EAC9B,kBAAkB,EAAE,kBAAkB,EACtC,sBAAsB,EAAE,sBAAsB,EAC9C,eAAe,EAAE,0BAA0B,EAC3C,OAAO,EAAE,YAAY,EACrB,SAAS,EAAC,eAAe,GAC3B,CACL,CAAC;AACN,CAAC,CAAC"}
@@ -13,6 +13,7 @@ interface StorageNodesProps {
13
13
  additionalNodesProps?: AdditionalNodesProps;
14
14
  sort?: SortOrder;
15
15
  handleSort?: HandleSort;
16
+ database?: string;
16
17
  }
17
- export declare function StorageNodes({ data, tableSettings, visibleEntities, onShowAll, nodesUptimeFilter, additionalNodesProps, sort, handleSort, }: StorageNodesProps): import("react/jsx-runtime").JSX.Element;
18
+ export declare function StorageNodes({ data, tableSettings, visibleEntities, onShowAll, nodesUptimeFilter, additionalNodesProps, sort, handleSort, database, }: StorageNodesProps): import("react/jsx-runtime").JSX.Element;
18
19
  export {};
@@ -7,8 +7,8 @@ import { STORAGE_NODES_COLUMNS_WIDTH_LS_KEY, getPreparedStorageNodesColumns, } f
7
7
  import i18n from './i18n';
8
8
  import { getRowUnavailableClassName } from './shared';
9
9
  import './StorageNodes.scss';
10
- export function StorageNodes({ data, tableSettings, visibleEntities, onShowAll, nodesUptimeFilter, additionalNodesProps, sort, handleSort, }) {
11
- const columns = getPreparedStorageNodesColumns(additionalNodesProps, visibleEntities);
10
+ export function StorageNodes({ data, tableSettings, visibleEntities, onShowAll, nodesUptimeFilter, additionalNodesProps, sort, handleSort, database, }) {
11
+ const columns = getPreparedStorageNodesColumns(additionalNodesProps, visibleEntities, database);
12
12
  if (!data.length &&
13
13
  (visibleEntities !== VISIBLE_ENTITIES.all ||
14
14
  nodesUptimeFilter !== NodesUptimeFilterValues.All)) {
@@ -1 +1 @@
1
- {"version":3,"file":"StorageNodes.js","sourceRoot":"","sources":["../../../../src/containers/Storage/StorageNodes/StorageNodes.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAC,mBAAmB,EAAC,MAAM,6DAA6D,CAAC;AAChG,OAAO,EAAC,gBAAgB,EAAC,MAAM,2CAA2C,CAAC;AAI3E,OAAO,EAAC,uBAAuB,EAAC,MAAM,sBAAsB,CAAC;AAE7D,OAAO,EAAC,4BAA4B,EAAC,MAAM,gCAAgC,CAAC;AAC5E,OAAO,EACH,kCAAkC,EAClC,8BAA8B,GACjC,MAAM,0BAA0B,CAAC;AAClC,OAAO,IAAI,MAAM,QAAQ,CAAC;AAC1B,OAAO,EAAC,0BAA0B,EAAC,MAAM,UAAU,CAAC;AAEpD,OAAO,qBAAqB,CAAC;AAa7B,MAAM,UAAU,YAAY,CAAC,EACzB,IAAI,EACJ,aAAa,EACb,eAAe,EACf,SAAS,EACT,iBAAiB,EACjB,oBAAoB,EACpB,IAAI,EACJ,UAAU,GACM;IAChB,MAAM,OAAO,GAAG,8BAA8B,CAAC,oBAAoB,EAAE,eAAe,CAAC,CAAC;IAEtF,IACI,CAAC,IAAI,CAAC,MAAM;QACZ,CAAC,eAAe,KAAK,gBAAgB,CAAC,GAAG;YACrC,iBAAiB,KAAK,uBAAuB,CAAC,GAAG,CAAC,EACxD,CAAC;QACC,OAAO,CACH,KAAC,4BAA4B,IACzB,eAAe,EAAE,eAAe,EAChC,iBAAiB,EAAE,iBAAiB,EACpC,SAAS,EAAE,SAAS,GACtB,CACL,CAAC;IACN,CAAC;IAED,OAAO,CACH,KAAC,mBAAmB,IAChB,iBAAiB,EAAE,kCAAkC,EAErD,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE;YACN,GAAG,aAAa;YAChB,iBAAiB,EAAE,UAAU;SAChC,EACD,gBAAgB,EAAE,IAAI,CAAC,eAAe,CAAC,EACvC,YAAY,EAAE,0BAA0B,EACxC,SAAS,EAAE,IAAI,EACf,MAAM,EAAE,UAAU,IAVb,eAAyB,CAWhC,CACL,CAAC;AACN,CAAC"}
1
+ {"version":3,"file":"StorageNodes.js","sourceRoot":"","sources":["../../../../src/containers/Storage/StorageNodes/StorageNodes.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAC,mBAAmB,EAAC,MAAM,6DAA6D,CAAC;AAChG,OAAO,EAAC,gBAAgB,EAAC,MAAM,2CAA2C,CAAC;AAI3E,OAAO,EAAC,uBAAuB,EAAC,MAAM,sBAAsB,CAAC;AAE7D,OAAO,EAAC,4BAA4B,EAAC,MAAM,gCAAgC,CAAC;AAC5E,OAAO,EACH,kCAAkC,EAClC,8BAA8B,GACjC,MAAM,0BAA0B,CAAC;AAClC,OAAO,IAAI,MAAM,QAAQ,CAAC;AAC1B,OAAO,EAAC,0BAA0B,EAAC,MAAM,UAAU,CAAC;AAEpD,OAAO,qBAAqB,CAAC;AAc7B,MAAM,UAAU,YAAY,CAAC,EACzB,IAAI,EACJ,aAAa,EACb,eAAe,EACf,SAAS,EACT,iBAAiB,EACjB,oBAAoB,EACpB,IAAI,EACJ,UAAU,EACV,QAAQ,GACQ;IAChB,MAAM,OAAO,GAAG,8BAA8B,CAAC,oBAAoB,EAAE,eAAe,EAAE,QAAQ,CAAC,CAAC;IAEhG,IACI,CAAC,IAAI,CAAC,MAAM;QACZ,CAAC,eAAe,KAAK,gBAAgB,CAAC,GAAG;YACrC,iBAAiB,KAAK,uBAAuB,CAAC,GAAG,CAAC,EACxD,CAAC;QACC,OAAO,CACH,KAAC,4BAA4B,IACzB,eAAe,EAAE,eAAe,EAChC,iBAAiB,EAAE,iBAAiB,EACpC,SAAS,EAAE,SAAS,GACtB,CACL,CAAC;IACN,CAAC;IAED,OAAO,CACH,KAAC,mBAAmB,IAChB,iBAAiB,EAAE,kCAAkC,EAErD,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE;YACN,GAAG,aAAa;YAChB,iBAAiB,EAAE,UAAU;SAChC,EACD,gBAAgB,EAAE,IAAI,CAAC,eAAe,CAAC,EACvC,YAAY,EAAE,0BAA0B,EACxC,SAAS,EAAE,IAAI,EACf,MAAM,EAAE,UAAU,IAVb,eAAyB,CAWhC,CACL,CAAC;AACN,CAAC"}
@@ -1,6 +1,4 @@
1
+ import type { FetchData } from '../../../components/PaginatedTable';
1
2
  import type { NodesApiRequestParams } from '../../../store/reducers/nodes/types';
2
- export declare const getStorageNodes: ({ type, storage, limit, offset, ...params }: NodesApiRequestParams) => Promise<{
3
- data: import("../../../store/reducers/storage/types").PreparedStorageNode[];
4
- found: number;
5
- total: number;
6
- }>;
3
+ import type { PreparedStorageNode, PreparedStorageNodeFilters } from '../../../store/reducers/storage/types';
4
+ export declare const getStorageNodes: FetchData<PreparedStorageNode, PreparedStorageNodeFilters, Pick<NodesApiRequestParams, 'type' | 'storage'>>;
@@ -1,9 +1,24 @@
1
1
  import { prepareStorageNodesResponse } from '../../../store/reducers/storage/utils';
2
+ import { getUptimeParamValue } from '../../../utils/nodes';
2
3
  const getConcurrentId = (limit, offset) => {
3
4
  return `getStorageNodes|offset${offset}|limit${limit}`;
4
5
  };
5
- export const getStorageNodes = async ({ type = 'static', storage = true, limit, offset, ...params }) => {
6
- const response = await window.api.getNodes({ type, storage, limit, offset, ...params }, { concurrentId: getConcurrentId(limit, offset) });
6
+ export const getStorageNodes = async (params) => {
7
+ const { type = 'static', storage = true, limit, offset, sortParams, filters } = params;
8
+ const { searchValue, nodesUptimeFilter, visibleEntities, database } = filters !== null && filters !== void 0 ? filters : {};
9
+ const { sortOrder, columnId } = sortParams !== null && sortParams !== void 0 ? sortParams : {};
10
+ const response = await window.api.getNodes({
11
+ type,
12
+ storage,
13
+ limit,
14
+ offset,
15
+ sortOrder,
16
+ sortValue: columnId,
17
+ filter: searchValue,
18
+ uptime: getUptimeParamValue(nodesUptimeFilter),
19
+ visibleEntities,
20
+ database,
21
+ }, { concurrentId: getConcurrentId(limit, offset) });
7
22
  const preparedResponse = prepareStorageNodesResponse(response);
8
23
  return {
9
24
  data: preparedResponse.nodes || [],
@@ -1 +1 @@
1
- {"version":3,"file":"getNodes.js","sourceRoot":"","sources":["../../../../src/containers/Storage/StorageNodes/getNodes.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,2BAA2B,EAAC,MAAM,uCAAuC,CAAC;AAElF,MAAM,eAAe,GAAG,CAAC,KAAc,EAAE,MAAe,EAAE,EAAE;IACxD,OAAO,yBAAyB,MAAM,SAAS,KAAK,EAAE,CAAC;AAC3D,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,eAAe,GAAG,KAAK,EAAE,EAClC,IAAI,GAAG,QAAQ,EACf,OAAO,GAAG,IAAI,EACd,KAAK,EACL,MAAM,EACN,GAAG,MAAM,EACW,EAAE,EAAE;IACxB,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,GAAG,CAAC,QAAQ,CACtC,EAAC,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,MAAM,EAAC,EACzC,EAAC,YAAY,EAAE,eAAe,CAAC,KAAK,EAAE,MAAM,CAAC,EAAC,CACjD,CAAC;IACF,MAAM,gBAAgB,GAAG,2BAA2B,CAAC,QAAQ,CAAC,CAAC;IAE/D,OAAO;QACH,IAAI,EAAE,gBAAgB,CAAC,KAAK,IAAI,EAAE;QAClC,KAAK,EAAE,gBAAgB,CAAC,KAAK,IAAI,CAAC;QAClC,KAAK,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E,gBAAgB,CAAC,KAAK,IAAI,EAAE;QAClC,KAAK,EAAE,gBAAgB,CAAC,KAAK,IAAI,CAAC;QAClC,KAAK,EAAE,gBAAgB,CAAC,KAAK,IAAI,CAAC;KACrC,CAAC;AACN,CAAC,CAAC"}
@@ -11,7 +11,7 @@ export declare const STORAGE_NODES_COLUMNS_IDS: {
11
11
  readonly PDisks: "PDisks";
12
12
  readonly Missing: "Missing";
13
13
  };
14
- export declare const getPreparedStorageNodesColumns: (additionalNodesProps: AdditionalNodesProps | undefined, visibleEntities: VisibleEntities) => {
14
+ export declare const getPreparedStorageNodesColumns: (additionalNodesProps: AdditionalNodesProps | undefined, visibleEntities: VisibleEntities, database?: string) => {
15
15
  sortable: boolean;
16
16
  name: string;
17
17
  header?: React.ReactNode;
@@ -16,7 +16,7 @@ export const STORAGE_NODES_COLUMNS_IDS = {
16
16
  PDisks: 'PDisks',
17
17
  Missing: 'Missing',
18
18
  };
19
- const getStorageNodesColumns = (additionalNodesProps) => {
19
+ const getStorageNodesColumns = (additionalNodesProps, database) => {
20
20
  const getNodeRef = additionalNodesProps === null || additionalNodesProps === void 0 ? void 0 : additionalNodesProps.getNodeRef;
21
21
  const columns = [
22
22
  {
@@ -31,7 +31,7 @@ const getStorageNodesColumns = (additionalNodesProps) => {
31
31
  header: 'Host',
32
32
  width: 350,
33
33
  render: ({ row }) => {
34
- return _jsx(NodeHostWrapper, { node: row, getNodeRef: getNodeRef });
34
+ return _jsx(NodeHostWrapper, { node: row, getNodeRef: getNodeRef, database: database });
35
35
  },
36
36
  align: DataTable.LEFT,
37
37
  },
@@ -85,8 +85,8 @@ const getStorageNodesColumns = (additionalNodesProps) => {
85
85
  ];
86
86
  return columns;
87
87
  };
88
- export const getPreparedStorageNodesColumns = (additionalNodesProps, visibleEntities) => {
89
- const rawColumns = getStorageNodesColumns(additionalNodesProps);
88
+ export const getPreparedStorageNodesColumns = (additionalNodesProps, visibleEntities, database) => {
89
+ const rawColumns = getStorageNodesColumns(additionalNodesProps, database);
90
90
  const sortableColumns = rawColumns.map((column) => ({
91
91
  ...column,
92
92
  sortable: isSortableNodesProperty(column.name),
@@ -1 +1 @@
1
- {"version":3,"file":"getStorageNodesColumns.js","sourceRoot":"","sources":["../../../../src/containers/Storage/StorageNodes/getStorageNodesColumns.tsx"],"names":[],"mappings":";AAAA,OAAO,SAAS,MAAM,8BAA8B,CAAC;AAGrD,OAAO,EAAC,eAAe,EAAC,MAAM,qDAAqD,CAAC;AAEpF,OAAO,EAAC,gBAAgB,EAAC,MAAM,2CAA2C,CAAC;AAG3E,OAAO,EAAC,sBAAsB,EAAC,MAAM,0BAA0B,CAAC;AAChE,OAAO,EAAC,uBAAuB,EAAC,MAAM,sBAAsB,CAAC;AAC7D,OAAO,EAAC,KAAK,EAAC,MAAM,gBAAgB,CAAC;AAErC,OAAO,EAAC,CAAC,EAAC,MAAM,UAAU,CAAC;AAE3B,MAAM,CAAC,MAAM,kCAAkC,GAAG,0BAA0B,CAAC;AAE7E,MAAM,CAAC,MAAM,yBAAyB,GAAG;IACrC,MAAM,EAAE,QAAQ;IAChB,IAAI,EAAE,MAAM;IACZ,EAAE,EAAE,IAAI;IACR,IAAI,EAAE,MAAM;IACZ,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;IAChB,OAAO,EAAE,SAAS;CACZ,CAAC;AAKX,MAAM,sBAAsB,GAAG,CAAC,oBAAsD,EAAE,EAAE;IACtF,MAAM,UAAU,GAAG,oBAAoB,aAApB,oBAAoB,uBAApB,oBAAoB,CAAE,UAAU,CAAC;IAEpD,MAAM,OAAO,GAA0B;QACnC;YACI,IAAI,EAAE,yBAAyB,CAAC,MAAM;YACtC,MAAM,EAAE,SAAS;YACjB,KAAK,EAAE,GAAG;YACV,KAAK,EAAE,SAAS,CAAC,KAAK;YACtB,MAAM,EAAE,CAAC,EAAC,GAAG,EAAC,EAAE,EAAE,CAAC,GAAG,CAAC,MAAM;SAChC;QACD;YACI,IAAI,EAAE,yBAAyB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jD,CAAC,CAAC,CAAC;IAEJ,IAAI,eAAe,KAAK,gBAAgB,CAAC,OAAO,EAAE,CAAC;QAC/C,OAAO,eAAe,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,IAAI,KAAK,yBAAyB,CAAC,OAAO,CAAC,CAAC;IAC3F,CAAC;IAED,OAAO,eAAe,CAAC;AAC3B,CAAC,CAAC"}
1
+ {"version":3,"file":"getStorageNodesColumns.js","sourceRoot":"","sources":["../../../../src/containers/Storage/StorageNodes/getStorageNodesColumns.tsx"],"names":[],"mappings":";AAAA,OAAO,SAAS,MAAM,8BAA8B,CAAC;AAGrD,OAAO,EAAC,eAAe,EAAC,MAAM,qDAAqD,CAAC;AAEpF,OAAO,EAAC,gBAAgB,EAAC,MAAM,2CAA2C,CAAC;AAG3E,OAAO,EAAC,sBAAsB,EAAC,MAAM,0BAA0B,CAAC;AAChE,OAAO,EAAC,uBAAuB,EAAC,MAAM,sBAAsB,CAAC;AAC7D,OAAO,EAAC,KAAK,EAAC,MAAM,gBAAgB,CAAC;AAErC,OAAO,EAAC,CAAC,EAAC,MAAM,UAAU,CAAC;AAE3B,MAAM,CAAC,MAAM,kCAAkC,GAAG,0BAA0B,CAAC;AAE7E,MAAM,CAAC,MAAM,yBAAyB,GAAG;IACrC,MAAM,EAAE,QAAQ;IAChB,IAAI,EAAE,MAAM;IACZ,EAAE,EAAE,IAAI;IACR,IAAI,EAAE,MAAM;IACZ,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;IAChB,OAAO,EAAE,SAAS;CACZ,CAAC;AAKX,MAAM,sBAAsB,GAAG,CAC3B,oBAAsD,EACtD,QAAiB,EACnB,EAAE;IACA,MAAM,UAAU,GAAG,oBAAoB,aAApB,oBAAoB,uBAApB,oBAAoB,CAAE,UAAU,CAAC;IAEpD,MAAM,OAAO,GAA0B;QACnC;YACI,IAAI,EAAE,yBAAyB,CAAC,MAAM;YACtC,MAAM,EAAE,SAA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AAM,UAAU,GAAG,sBAAsB,CAAC,oBAAoB,EAAE,QAAQ,CAAC,CAAC;IAE1E,MAAM,eAAe,GAAG,UAAU,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;QAChD,GAAG,MAAM;QACT,QAAQ,EAAE,uBAAuB,CAAC,MAAM,CAAC,IAAI,CAAC;KACjD,CAAC,CAAC,CAAC;IAEJ,IAAI,eAAe,KAAK,gBAAgB,CAAC,OAAO,EAAE,CAAC;QAC/C,OAAO,eAAe,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,IAAI,KAAK,yBAAyB,CAAC,OAAO,CAAC,CAAC;IAC3F,CAAC;IAED,OAAO,eAAe,CAAC;AAC3B,CAAC,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import type { AdditionalNodesProps } from '../../types/additionalProps';
2
2
  interface StorageWrapperProps {
3
- tenant?: string;
3
+ database?: string;
4
4
  nodeId?: string;
5
5
  parentContainer?: Element | null;
6
6
  additionalNodesProps?: AdditionalNodesProps;
@@ -1,3 +1,3 @@
1
1
  import './Tablet.scss';
2
2
  export declare const b: import("@bem-react/classname").ClassNameFormatter;
3
- export declare const Tablet: () => import("react/jsx-runtime").JSX.Element;
3
+ export declare function Tablet(): import("react/jsx-runtime").JSX.Element;