ydb-embedded-ui 6.15.0 → 6.16.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (305) hide show
  1. package/README.md +1 -1
  2. package/dist/components/ElapsedTime/ElapsedTime.js +2 -1
  3. package/dist/components/ElapsedTime/ElapsedTime.js.map +1 -1
  4. package/dist/components/EmptyState/EmptyState.d.ts +6 -0
  5. package/dist/components/EmptyState/EmptyState.js +6 -0
  6. package/dist/components/EmptyState/EmptyState.js.map +1 -1
  7. package/dist/components/EntitiesCount/EntitiesCount.js +3 -1
  8. package/dist/components/EntitiesCount/EntitiesCount.js.map +1 -1
  9. package/dist/components/EntityPageTitle/EntityPageTitle.d.ts +11 -0
  10. package/dist/components/{DiskPageTitle/DiskPageTitle.js → EntityPageTitle/EntityPageTitle.js} +5 -5
  11. package/dist/components/EntityPageTitle/EntityPageTitle.js.map +1 -0
  12. package/dist/components/{DiskPageTitle/DiskPageTitle.scss → EntityPageTitle/EntityPageTitle.scss} +1 -1
  13. package/dist/components/InfoViewerSkeleton/InfoViewerSkeleton.d.ts +2 -1
  14. package/dist/components/InfoViewerSkeleton/InfoViewerSkeleton.js +10 -1
  15. package/dist/components/InfoViewerSkeleton/InfoViewerSkeleton.js.map +1 -1
  16. package/dist/components/MetricChart/reducer.d.ts +2 -2
  17. package/dist/components/NotRenderUntilFirstVisible/NotRenderUntilFirstVisible.d.ts +9 -0
  18. package/dist/components/NotRenderUntilFirstVisible/NotRenderUntilFirstVisible.js +9 -0
  19. package/dist/components/NotRenderUntilFirstVisible/NotRenderUntilFirstVisible.js.map +1 -0
  20. package/dist/components/NotRenderUntilFirstVisible/NotRenderUntilFirstVisible.scss +3 -0
  21. package/dist/components/PageMeta/PageMeta.d.ts +2 -1
  22. package/dist/components/PageMeta/PageMeta.js +9 -4
  23. package/dist/components/PageMeta/PageMeta.js.map +1 -1
  24. package/dist/components/PageMeta/PageMeta.scss +9 -6
  25. package/dist/components/PaginatedTable/PaginatedTable.d.ts +5 -4
  26. package/dist/components/PaginatedTable/PaginatedTable.js +24 -116
  27. package/dist/components/PaginatedTable/PaginatedTable.js.map +1 -1
  28. package/dist/components/PaginatedTable/ResizeablePaginatedTable.d.ts +2 -2
  29. package/dist/components/PaginatedTable/ResizeablePaginatedTable.js.map +1 -1
  30. package/dist/components/PaginatedTable/TableChunk.d.ts +13 -5
  31. package/dist/components/PaginatedTable/TableChunk.js +51 -21
  32. package/dist/components/PaginatedTable/TableChunk.js.map +1 -1
  33. package/dist/components/PaginatedTable/TableRow.js +1 -1
  34. package/dist/components/PaginatedTable/TableRow.js.map +1 -1
  35. package/dist/components/PaginatedTable/types.d.ts +8 -1
  36. package/dist/components/Skeleton/Skeleton.d.ts +6 -0
  37. package/dist/components/Skeleton/Skeleton.js +11 -0
  38. package/dist/components/Skeleton/Skeleton.js.map +1 -0
  39. package/dist/components/Tablet/Tablet.js +2 -2
  40. package/dist/components/Tablet/Tablet.js.map +1 -1
  41. package/dist/components/TabletState/TabletState.d.ts +6 -0
  42. package/dist/components/TabletState/TabletState.js +7 -0
  43. package/dist/components/TabletState/TabletState.js.map +1 -0
  44. package/dist/containers/Cluster/Cluster.js +10 -10
  45. package/dist/containers/Cluster/Cluster.js.map +1 -1
  46. package/dist/containers/Cluster/Cluster.scss +14 -0
  47. package/dist/containers/Cluster/i18n/index.d.ts +1 -1
  48. package/dist/containers/Heatmap/HeatmapCanvas/HeatmapCanvas.js +2 -2
  49. package/dist/containers/Heatmap/HeatmapCanvas/HeatmapCanvas.js.map +1 -1
  50. package/dist/containers/Nodes/Nodes.d.ts +2 -1
  51. package/dist/containers/Nodes/Nodes.js +2 -2
  52. package/dist/containers/Nodes/Nodes.js.map +1 -1
  53. package/dist/containers/Nodes/NodesWrapper.d.ts +1 -0
  54. package/dist/containers/Nodes/NodesWrapper.js.map +1 -1
  55. package/dist/containers/Nodes/PaginatedNodes.d.ts +2 -1
  56. package/dist/containers/Nodes/PaginatedNodes.js +6 -18
  57. package/dist/containers/Nodes/PaginatedNodes.js.map +1 -1
  58. package/dist/containers/Nodes/getNodes.d.ts +3 -6
  59. package/dist/containers/Nodes/getNodes.js +19 -2
  60. package/dist/containers/Nodes/getNodes.js.map +1 -1
  61. package/dist/containers/PDiskPage/PDiskPage.js +4 -5
  62. package/dist/containers/PDiskPage/PDiskPage.js.map +1 -1
  63. package/dist/containers/PDiskPage/PDiskPage.scss +0 -7
  64. package/dist/containers/PDiskPage/i18n/index.d.ts +1 -1
  65. package/dist/containers/Storage/PaginatedStorage.d.ts +2 -2
  66. package/dist/containers/Storage/PaginatedStorage.js +3 -3
  67. package/dist/containers/Storage/PaginatedStorage.js.map +1 -1
  68. package/dist/containers/Storage/Storage.d.ts +2 -2
  69. package/dist/containers/Storage/Storage.js +3 -3
  70. package/dist/containers/Storage/Storage.js.map +1 -1
  71. package/dist/containers/Storage/StorageGroups/PaginatedStorageGroups.d.ts +2 -2
  72. package/dist/containers/Storage/StorageGroups/PaginatedStorageGroups.js +5 -17
  73. package/dist/containers/Storage/StorageGroups/PaginatedStorageGroups.js.map +1 -1
  74. package/dist/containers/Storage/StorageGroups/getGroups.d.ts +3 -6
  75. package/dist/containers/Storage/StorageGroups/getGroups.js +15 -2
  76. package/dist/containers/Storage/StorageGroups/getGroups.js.map +1 -1
  77. package/dist/containers/Storage/StorageNodes/PaginatedStorageNodes.d.ts +2 -2
  78. package/dist/containers/Storage/StorageNodes/PaginatedStorageNodes.js +6 -18
  79. package/dist/containers/Storage/StorageNodes/PaginatedStorageNodes.js.map +1 -1
  80. package/dist/containers/Storage/StorageNodes/getNodes.d.ts +3 -5
  81. package/dist/containers/Storage/StorageNodes/getNodes.js +17 -2
  82. package/dist/containers/Storage/StorageNodes/getNodes.js.map +1 -1
  83. package/dist/containers/Storage/StorageWrapper.d.ts +1 -1
  84. package/dist/containers/Tablet/Tablet.d.ts +1 -1
  85. package/dist/containers/Tablet/Tablet.js +95 -52
  86. package/dist/containers/Tablet/Tablet.js.map +1 -1
  87. package/dist/containers/Tablet/Tablet.scss +4 -81
  88. package/dist/containers/Tablet/components/TabletControls/TabletControls.d.ts +6 -0
  89. package/dist/containers/Tablet/components/TabletControls/TabletControls.js +27 -0
  90. package/dist/containers/Tablet/components/TabletControls/TabletControls.js.map +1 -0
  91. package/dist/containers/Tablet/components/TabletControls/index.js.map +1 -0
  92. package/dist/containers/Tablet/components/TabletInfo/TabletInfo.d.ts +7 -0
  93. package/dist/containers/Tablet/components/TabletInfo/TabletInfo.js +59 -0
  94. package/dist/containers/Tablet/components/TabletInfo/TabletInfo.js.map +1 -0
  95. package/dist/containers/Tablet/components/TabletInfo/TabletInfo.scss +12 -0
  96. package/dist/containers/Tablet/components/TabletInfo/i18n/en.json +16 -0
  97. package/dist/containers/Tablet/components/TabletInfo/i18n/index.d.ts +1 -0
  98. package/dist/containers/Tablet/components/TabletInfo/i18n/index.js +5 -0
  99. package/dist/containers/Tablet/components/TabletInfo/i18n/index.js.map +1 -0
  100. package/dist/containers/Tablet/components/TabletInfo/index.js.map +1 -0
  101. package/dist/containers/Tablet/components/TabletStorageInfo/TabletStorageInfo.d.ts +7 -0
  102. package/dist/containers/Tablet/components/TabletStorageInfo/TabletStorageInfo.js +36 -0
  103. package/dist/containers/Tablet/components/TabletStorageInfo/TabletStorageInfo.js.map +1 -0
  104. package/dist/containers/Tablet/components/TabletStorageInfo/TabletStorageInfo.scss +78 -0
  105. package/dist/containers/Tablet/components/TabletStorageInfo/columns.d.ts +3 -0
  106. package/dist/containers/Tablet/components/TabletStorageInfo/columns.js +56 -0
  107. package/dist/containers/Tablet/components/TabletStorageInfo/columns.js.map +1 -0
  108. package/dist/containers/Tablet/components/TabletStorageInfo/i18n/en.json +7 -0
  109. package/dist/containers/Tablet/components/TabletStorageInfo/i18n/index.d.ts +1 -0
  110. package/dist/containers/Tablet/components/TabletStorageInfo/i18n/index.js +5 -0
  111. package/dist/containers/Tablet/components/TabletStorageInfo/i18n/index.js.map +1 -0
  112. package/dist/containers/Tablet/components/TabletStorageInfo/shared.d.ts +1 -0
  113. package/dist/containers/Tablet/components/TabletStorageInfo/shared.js +3 -0
  114. package/dist/containers/Tablet/components/TabletStorageInfo/shared.js.map +1 -0
  115. package/dist/containers/Tablet/components/TabletStorageInfo/types.d.ts +5 -0
  116. package/dist/containers/Tablet/components/TabletStorageInfo/types.js +2 -0
  117. package/dist/containers/Tablet/components/TabletStorageInfo/types.js.map +1 -0
  118. package/dist/containers/Tablet/components/TabletStorageInfo/utils.d.ts +3 -0
  119. package/dist/containers/Tablet/components/TabletStorageInfo/utils.js +29 -0
  120. package/dist/containers/Tablet/components/TabletStorageInfo/utils.js.map +1 -0
  121. package/dist/containers/Tablet/{TabletTable → components/TabletTable}/TabletTable.d.ts +1 -1
  122. package/dist/containers/Tablet/{TabletTable → components/TabletTable}/TabletTable.js +7 -6
  123. package/dist/containers/Tablet/components/TabletTable/TabletTable.js.map +1 -0
  124. package/dist/containers/Tablet/components/TabletTable/index.js.map +1 -0
  125. package/dist/containers/Tablet/i18n/en.json +5 -1
  126. package/dist/containers/Tablet/i18n/index.d.ts +1 -1
  127. package/dist/containers/Tablet/utils.d.ts +1 -0
  128. package/dist/containers/Tablet/utils.js +4 -0
  129. package/dist/containers/Tablet/utils.js.map +1 -0
  130. package/dist/containers/Tablets/Tablets.js +16 -10
  131. package/dist/containers/Tablets/Tablets.js.map +1 -1
  132. package/dist/containers/Tablets/i18n/index.d.ts +1 -1
  133. package/dist/containers/Tenant/Acl/Acl.scss +2 -2
  134. package/dist/containers/Tenant/Diagnostics/Describe/Describe.js +10 -9
  135. package/dist/containers/Tenant/Diagnostics/Describe/Describe.js.map +1 -1
  136. package/dist/containers/Tenant/Diagnostics/Describe/Describe.scss +13 -2
  137. package/dist/containers/Tenant/Diagnostics/Diagnostics.js +2 -2
  138. package/dist/containers/Tenant/Diagnostics/Diagnostics.js.map +1 -1
  139. package/dist/containers/Tenant/Diagnostics/Overview/TableInfo/prepareTableInfo.js +21 -11
  140. package/dist/containers/Tenant/Diagnostics/Overview/TableInfo/prepareTableInfo.js.map +1 -1
  141. package/dist/containers/Tenant/Diagnostics/TopShards/getTopShardsColumns.js +2 -2
  142. package/dist/containers/Tenant/Diagnostics/TopShards/getTopShardsColumns.js.map +1 -1
  143. package/dist/containers/Tenant/ObjectGeneral/ObjectGeneral.js +3 -8
  144. package/dist/containers/Tenant/ObjectGeneral/ObjectGeneral.js.map +1 -1
  145. package/dist/containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/SimplifiedPlan.js +2 -5
  146. package/dist/containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/SimplifiedPlan.js.map +1 -1
  147. package/dist/containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/utils.d.ts +0 -1
  148. package/dist/containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/utils.js +0 -21
  149. package/dist/containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/utils.js.map +1 -1
  150. package/dist/containers/Tenant/Query/Preview/Preview.scss +0 -8
  151. package/dist/containers/Tenant/Query/QueriesHistory/QueriesHistory.js +19 -1
  152. package/dist/containers/Tenant/Query/QueriesHistory/QueriesHistory.js.map +1 -1
  153. package/dist/containers/Tenant/Query/Query.js +2 -14
  154. package/dist/containers/Tenant/Query/Query.js.map +1 -1
  155. package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.js +4 -4
  156. package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.js.map +1 -1
  157. package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettings.test.js +1 -1
  158. package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettings.test.js.map +1 -1
  159. package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettingsDescription.test.js +1 -1
  160. package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettingsDescription.test.js.map +1 -1
  161. package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsDialog.js +3 -3
  162. package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsDialog.js.map +1 -1
  163. package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.d.ts +8 -8
  164. package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.js +6 -6
  165. package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.js.map +1 -1
  166. package/dist/containers/Tenant/Query/i18n/en.json +4 -1
  167. package/dist/containers/Tenant/Query/i18n/index.d.ts +1 -1
  168. package/dist/containers/Tenant/Query/utils/useSavedQueries.js +2 -1
  169. package/dist/containers/Tenant/Query/utils/useSavedQueries.js.map +1 -1
  170. package/dist/containers/Tenant/Schema/SchemaViewer/columns.js +1 -1
  171. package/dist/containers/Tenant/Schema/SchemaViewer/columns.js.map +1 -1
  172. package/dist/containers/Tenant/Schema/SchemaViewer/prepareData.js +2 -2
  173. package/dist/containers/Tenant/Schema/SchemaViewer/prepareData.js.map +1 -1
  174. package/dist/containers/Tenant/Schema/SchemaViewer/types.d.ts +1 -1
  175. package/dist/containers/Tenant/Tenant.js +5 -1
  176. package/dist/containers/Tenant/Tenant.js.map +1 -1
  177. package/dist/containers/Tenant/utils/queryTemplates.js +6 -5
  178. package/dist/containers/Tenant/utils/queryTemplates.js.map +1 -1
  179. package/dist/containers/UserSettings/i18n/en.json +0 -2
  180. package/dist/containers/UserSettings/i18n/index.d.ts +1 -1
  181. package/dist/containers/UserSettings/settings.d.ts +0 -1
  182. package/dist/containers/UserSettings/settings.js +2 -7
  183. package/dist/containers/UserSettings/settings.js.map +1 -1
  184. package/dist/containers/VDiskPage/VDiskPage.js +5 -6
  185. package/dist/containers/VDiskPage/VDiskPage.js.map +1 -1
  186. package/dist/containers/VDiskPage/VDiskPage.scss +0 -4
  187. package/dist/containers/VDiskPage/i18n/index.d.ts +1 -1
  188. package/dist/routes.d.ts +1 -0
  189. package/dist/routes.js +3 -0
  190. package/dist/routes.js.map +1 -1
  191. package/dist/services/api.d.ts +13 -7
  192. package/dist/services/api.js +29 -7
  193. package/dist/services/api.js.map +1 -1
  194. package/dist/services/settings.d.ts +1 -2
  195. package/dist/services/settings.js +1 -2
  196. package/dist/services/settings.js.map +1 -1
  197. package/dist/store/configureStore.d.ts +4 -8
  198. package/dist/store/defaultStore.d.ts +2 -4
  199. package/dist/store/reducers/api.d.ts +1 -1
  200. package/dist/store/reducers/api.js +1 -1
  201. package/dist/store/reducers/api.js.map +1 -1
  202. package/dist/store/reducers/authentication/authentication.d.ts +4 -4
  203. package/dist/store/reducers/cancelQuery.d.ts +2 -2
  204. package/dist/store/reducers/capabilities/capabilities.d.ts +6 -10
  205. package/dist/store/reducers/capabilities/hooks.d.ts +1 -0
  206. package/dist/store/reducers/capabilities/hooks.js +3 -0
  207. package/dist/store/reducers/capabilities/hooks.js.map +1 -1
  208. package/dist/store/reducers/cluster/cluster.d.ts +2 -2
  209. package/dist/store/reducers/clusterNodes/clusterNodes.d.ts +2 -2
  210. package/dist/store/reducers/clusters/clusters.d.ts +2 -2
  211. package/dist/store/reducers/describe.d.ts +2 -2
  212. package/dist/store/reducers/executeQuery.d.ts +18 -4
  213. package/dist/store/reducers/executeQuery.js +50 -5
  214. package/dist/store/reducers/executeQuery.js.map +1 -1
  215. package/dist/store/reducers/executeTopQueries/executeTopQueries.d.ts +2 -2
  216. package/dist/store/reducers/explainQuery/explainQuery.d.ts +2 -2
  217. package/dist/store/reducers/header/types.d.ts +1 -1
  218. package/dist/store/reducers/healthcheckInfo/healthcheckInfo.d.ts +58 -78
  219. package/dist/store/reducers/heatmap.d.ts +2 -2
  220. package/dist/store/reducers/hotKeys/hotKeys.d.ts +2 -2
  221. package/dist/store/reducers/index.d.ts +3 -6
  222. package/dist/store/reducers/index.js +0 -2
  223. package/dist/store/reducers/index.js.map +1 -1
  224. package/dist/store/reducers/network/network.d.ts +2 -2
  225. package/dist/store/reducers/node/node.d.ts +3 -3
  226. package/dist/store/reducers/node/selectors.d.ts +1 -2
  227. package/dist/store/reducers/nodes/nodes.d.ts +3 -3
  228. package/dist/store/reducers/nodes/types.d.ts +11 -1
  229. package/dist/store/reducers/nodesList.d.ts +3 -4
  230. package/dist/store/reducers/overview/overview.d.ts +2 -2
  231. package/dist/store/reducers/overview/overview.js +1 -0
  232. package/dist/store/reducers/overview/overview.js.map +1 -1
  233. package/dist/store/reducers/partitions/partitions.d.ts +2 -2
  234. package/dist/store/reducers/pdisk/pdisk.d.ts +3 -3
  235. package/dist/store/reducers/preview.d.ts +2 -2
  236. package/dist/store/reducers/schema/schema.d.ts +3 -3
  237. package/dist/store/reducers/schemaAcl/schemaAcl.d.ts +2 -2
  238. package/dist/store/reducers/shardsWorkload/shardsWorkload.d.ts +2 -2
  239. package/dist/store/reducers/storage/storage.d.ts +3 -3
  240. package/dist/store/reducers/storage/types.d.ts +15 -0
  241. package/dist/store/reducers/storage/types.js.map +1 -1
  242. package/dist/store/reducers/tableData.d.ts +14 -0
  243. package/dist/store/reducers/tableData.js +25 -0
  244. package/dist/store/reducers/tableData.js.map +1 -0
  245. package/dist/store/reducers/tablet.d.ts +19 -3
  246. package/dist/store/reducers/tablet.js +82 -13
  247. package/dist/store/reducers/tablet.js.map +1 -1
  248. package/dist/store/reducers/tablets.d.ts +15 -23
  249. package/dist/store/reducers/tablets.js +2 -20
  250. package/dist/store/reducers/tablets.js.map +1 -1
  251. package/dist/store/reducers/tabletsFilters.d.ts +1 -2
  252. package/dist/store/reducers/tenant/tenant.d.ts +2 -2
  253. package/dist/store/reducers/tenantOverview/executeTopTables/executeTopTables.d.ts +2 -2
  254. package/dist/store/reducers/tenantOverview/topNodes/topNodes.d.ts +2 -2
  255. package/dist/store/reducers/tenantOverview/topShards/tenantOverviewTopShards.d.ts +2 -2
  256. package/dist/store/reducers/tenantOverview/topStorageGroups/topStorageGroups.d.ts +2 -2
  257. package/dist/store/reducers/tenants/selectors.d.ts +27 -36
  258. package/dist/store/reducers/tenants/selectors.js +1 -1
  259. package/dist/store/reducers/tenants/selectors.js.map +1 -1
  260. package/dist/store/reducers/tenants/tenants.d.ts +2 -2
  261. package/dist/store/reducers/topic.d.ts +44 -59
  262. package/dist/store/reducers/vdisk/vdisk.d.ts +2 -2
  263. package/dist/store/reducers/viewSchema/viewSchema.d.ts +2 -2
  264. package/dist/styles/mixins.scss +0 -5
  265. package/dist/types/api/capabilities.d.ts +1 -1
  266. package/dist/types/api/schema/shared.d.ts +1 -3
  267. package/dist/types/api/schema/shared.js.map +1 -1
  268. package/dist/types/api/schema/table.d.ts +2 -0
  269. package/dist/types/api/schema/table.js.map +1 -1
  270. package/dist/types/api/tablet.d.ts +22 -0
  271. package/dist/types/store/executeQuery.d.ts +5 -2
  272. package/dist/types/store/tablets.d.ts +1 -0
  273. package/dist/utils/constants.d.ts +1 -2
  274. package/dist/utils/constants.js +1 -2
  275. package/dist/utils/constants.js.map +1 -1
  276. package/dist/utils/dataFormatters/dataFormatters.d.ts +1 -0
  277. package/dist/utils/dataFormatters/dataFormatters.js +5 -0
  278. package/dist/utils/dataFormatters/dataFormatters.js.map +1 -1
  279. package/dist/utils/developerUI/developerUI.d.ts +1 -1
  280. package/dist/utils/developerUI/developerUI.js +3 -2
  281. package/dist/utils/developerUI/developerUI.js.map +1 -1
  282. package/dist/utils/hooks/useQueryExecutionSettings.js +3 -2
  283. package/dist/utils/hooks/useQueryExecutionSettings.js.map +1 -1
  284. package/package.json +4 -3
  285. package/dist/components/DiskPageTitle/DiskPageTitle.d.ts +0 -10
  286. package/dist/components/DiskPageTitle/DiskPageTitle.js.map +0 -1
  287. package/dist/components/PaginatedTable/reducer.d.ts +0 -43
  288. package/dist/components/PaginatedTable/reducer.js +0 -104
  289. package/dist/components/PaginatedTable/reducer.js.map +0 -1
  290. package/dist/containers/Tablet/TabletControls/TabletControls.d.ts +0 -7
  291. package/dist/containers/Tablet/TabletControls/TabletControls.js +0 -29
  292. package/dist/containers/Tablet/TabletControls/TabletControls.js.map +0 -1
  293. package/dist/containers/Tablet/TabletControls/index.js.map +0 -1
  294. package/dist/containers/Tablet/TabletInfo/TabletInfo.d.ts +0 -7
  295. package/dist/containers/Tablet/TabletInfo/TabletInfo.js +0 -40
  296. package/dist/containers/Tablet/TabletInfo/TabletInfo.js.map +0 -1
  297. package/dist/containers/Tablet/TabletInfo/index.js.map +0 -1
  298. package/dist/containers/Tablet/TabletTable/TabletTable.js.map +0 -1
  299. package/dist/containers/Tablet/TabletTable/index.js.map +0 -1
  300. /package/dist/containers/Tablet/{TabletControls → components/TabletControls}/index.d.ts +0 -0
  301. /package/dist/containers/Tablet/{TabletControls → components/TabletControls}/index.js +0 -0
  302. /package/dist/containers/Tablet/{TabletInfo → components/TabletInfo}/index.d.ts +0 -0
  303. /package/dist/containers/Tablet/{TabletInfo → components/TabletInfo}/index.js +0 -0
  304. /package/dist/containers/Tablet/{TabletTable → components/TabletTable}/index.d.ts +0 -0
  305. /package/dist/containers/Tablet/{TabletTable → components/TabletTable}/index.js +0 -0
@@ -6,14 +6,13 @@ import { skipToken } from '@reduxjs/toolkit/query';
6
6
  import { Helmet } from 'react-helmet-async';
7
7
  import { StringParam, useQueryParams } from 'use-query-params';
8
8
  import { z } from 'zod';
9
- import { AutoRefreshControl } from '../../components/AutoRefreshControl/AutoRefreshControl';
10
9
  import { ButtonWithConfirmDialog } from '../../components/ButtonWithConfirmDialog/ButtonWithConfirmDialog';
11
- import { DiskPageTitle } from '../../components/DiskPageTitle/DiskPageTitle';
10
+ import { EntityPageTitle } from '../../components/EntityPageTitle/EntityPageTitle';
12
11
  import { ResponseError } from '../../components/Errors/ResponseError';
13
12
  import { InfoViewerSkeleton } from '../../components/InfoViewerSkeleton/InfoViewerSkeleton';
14
13
  import { InternalLink } from '../../components/InternalLink/InternalLink';
15
14
  import { PDiskInfo } from '../../components/PDiskInfo/PDiskInfo';
16
- import { PageMeta } from '../../components/PageMeta/PageMeta';
15
+ import { PageMetaWithAutorefresh } from '../../components/PageMeta/PageMeta';
17
16
  import { getPDiskPagePath } from '../../routes';
18
17
  import { api } from '../../store/reducers/api';
19
18
  import { selectIsUserAllowedToMakeChanges } from '../../store/reducers/authentication/authentication';
@@ -96,10 +95,10 @@ export function PDiskPage() {
96
95
  const renderPageMeta = () => {
97
96
  const hostItem = NodeHost ? `${pDiskPageKeyset('fqdn')}: ${NodeHost}` : undefined;
98
97
  const nodeIdItem = NodeId ? `${pDiskPageKeyset('node')}: ${NodeId}` : undefined;
99
- return (_jsxs("div", { className: pdiskPageCn('meta'), children: [_jsx(PageMeta, { loading: pDiskLoading, items: [hostItem, nodeIdItem, NodeType, NodeDC] }), _jsx(AutoRefreshControl, {})] }));
98
+ return (_jsx(PageMetaWithAutorefresh, { loading: pDiskLoading, items: [hostItem, nodeIdItem, NodeType, NodeDC], className: pdiskPageCn('meta') }));
100
99
  };
101
100
  const renderPageTitle = () => {
102
- return (_jsx(DiskPageTitle, { entityName: pDiskPageKeyset('pdisk'), status: getSeverityColor(Severity), id: pDiskParamsDefined ? getPDiskId(nodeId, pDiskId) : null, className: pdiskPageCn('title') }));
101
+ return (_jsx(EntityPageTitle, { entityName: pDiskPageKeyset('pdisk'), status: getSeverityColor(Severity), id: pDiskParamsDefined ? getPDiskId(nodeId, pDiskId) : null, className: pdiskPageCn('title') }));
103
102
  };
104
103
  const renderControls = () => {
105
104
  return (_jsx("div", { className: pdiskPageCn('controls'), children: _jsxs(ButtonWithConfirmDialog, { onConfirmAction: handleRestart, onConfirmActionSuccess: handleAfterRestart, buttonDisabled: !nodeId || !pDiskId || !isUserAllowedToMakeChanges, buttonView: "normal", dialogContent: pDiskPageKeyset('restart-pdisk-dialog'), retryButtonText: pDiskPageKeyset('force-restart-pdisk-button'), withPopover: true, popoverContent: pDiskPageKeyset('restart-pdisk-not-allowed'), popoverDisabled: isUserAllowedToMakeChanges, children: [_jsx(Icon, { data: ArrowRotateLeft }), pDiskPageKeyset('restart-pdisk-button')] }) }));
@@ -1 +1 @@
1
- {"version":3,"file":"PDiskPage.js","sourceRoot":"","sources":["../../../src/containers/PDiskPage/PDiskPage.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,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AAC,CAAC,CAAC,IAAI,CAAC;YACb,CAAC;YACD;gBACI,OAAO,IAAI,CAAC;QACpB,CAAC;IACL,CAAC,CAAC;IAEF,MAAM,WAAW,GAAG,GAAG,EAAE;QACrB,IAAI,CAAC,cAAc,CAAC,KAAK,EAAE,CAAC;YACxB,OAAO,IAAI,CAAC;QAChB,CAAC;QACD,OAAO,KAAC,aAAa,IAAC,KAAK,EAAE,cAAc,CAAC,KAAK,GAAI,CAAC;IAC1D,CAAC,CAAC;IAEF,OAAO,CACH,eAAK,SAAS,EAAE,WAAW,CAAC,IAAI,CAAC,aAC5B,YAAY,EAAE,EACd,cAAc,EAAE,EAChB,eAAe,EAAE,EACjB,cAAc,EAAE,EAChB,WAAW,EAAE,EACb,UAAU,EAAE,EACZ,UAAU,EAAE,EACZ,iBAAiB,EAAE,IAClB,CACT,CAAC;AACN,CAAC"}
@@ -20,13 +20,6 @@
20
20
  left: 0;
21
21
  }
22
22
 
23
- &__meta {
24
- display: flex;
25
- justify-content: space-between;
26
- align-items: center;
27
- gap: var(--g-spacing-4);
28
- }
29
-
30
23
  &__controls {
31
24
  display: flex;
32
25
  align-items: center;
@@ -1 +1 @@
1
- export declare const pDiskPageKeyset: (key: "node" | "groups" | "fqdn" | "log" | "pdisk" | "disk-distribution" | "empty-slot" | "label.log-size" | "label.system-size" | "label.slot-size" | "no-slots-data" | "restart-pdisk-button" | "force-restart-pdisk-button" | "restart-pdisk-dialog" | "restart-pdisk-not-allowed", params?: import("@gravity-ui/i18n").Params) => string;
1
+ export declare const pDiskPageKeyset: (key: "node" | "groups" | "log" | "fqdn" | "pdisk" | "disk-distribution" | "empty-slot" | "label.log-size" | "label.system-size" | "label.slot-size" | "no-slots-data" | "restart-pdisk-button" | "force-restart-pdisk-button" | "restart-pdisk-dialog" | "restart-pdisk-not-allowed", params?: import("@gravity-ui/i18n").Params) => string;
@@ -1,9 +1,9 @@
1
1
  import type { AdditionalNodesProps } from '../../types/additionalProps';
2
2
  interface PaginatedStorageProps {
3
- tenant?: string;
3
+ database?: string;
4
4
  nodeId?: string;
5
5
  parentContainer?: Element | null;
6
6
  additionalNodesProps?: AdditionalNodesProps;
7
7
  }
8
- export declare const PaginatedStorage: ({ tenant, nodeId, parentContainer, additionalNodesProps, }: PaginatedStorageProps) => import("react/jsx-runtime").JSX.Element;
8
+ export declare const PaginatedStorage: ({ database, nodeId, parentContainer, additionalNodesProps, }: PaginatedStorageProps) => import("react/jsx-runtime").JSX.Element;
9
9
  export {};
@@ -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,CAAC;AAClE,OAAO,EAAC,sBAAsB,EAAC,MAAM,wCAAwC,CAAC;AAC9E,OAAO,EAAC,qBAAqB,EAAC,MAAM,sCAAsC,CAAC;AAS3E,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,EAC7B,MAAM,EACN,MAAM,EACN,eAAe,EACf,oBAAoB,GACA,EAAE,EAAE;;IACxB,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC,GAAG,cAAc,CAAC;QACjD,IAAI,EAA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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
  });
@@ -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,oCAAoC,CAAC;AAO5F,OAAO,EAAC,sBAAsB,EAAC,MAAM,uBAAuB,CAAC;AAC7D,OAAO,EAAC,sBAAsB,EAAE,YAAY,EAAE,gBAAgB,EAAC,MAAM,mBAAmB,CAAC;AACzF,OAAO,EAAC,uBAAuB,EAAE,6BAA6B,EAAC,MAAM,mBAAmB,CAAC;AAEzF,OAAO,EAAC,eAAe,EAAC,MAAM,mCAAmC,CAAC;AAClE,OAAO,EAAC,aAAa,EAAC,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAC,YAAY,EAAC,MAAM,6BAA6B,CAAC;AACzD,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Aa,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,kBAAkB,GACQ,EAAE,EAAE;IAC9B,MAAM,OAAO,GAAG,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE;QAC/B,OAAO,CAAC,WAAW,EAAE,eAAe,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;IAC1D,CAAC,EAAE,CAAC,WAAW,EAAE,eAAe,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;IAEnD,MAAM,SAAS,GAAG,KAAK,CAAC,WAAW,CAC/B,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,EAAC,SAAS,EAAE,QAAQ,EAAC,GAAG,EAAE,EAAE,EAAE;QAChD,OAAO,MAAM,gBAAgB,CAAC;YAC1B,KAAK;YACL,MAAM;YACN,MAAM,EAAE,WAAW;YACnB,eAAe;YACf,MAAM;YACN,MAAM;YAEN,SAAS;YACT,SAAS,EAAE,QAA4B;SAC1C,CAAC,CAAC;IACP,CAAC,EACD,CAAC,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,eAAe,CAAC,CACjD,CAAC;IAEF,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,SAAS,EACpB,KAAK,EAAE,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;A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B,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,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AM,EAAC,KAAK,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAC,GAAG,MAAM,CAAC;IACpD,MAAM,EAAC,SAAS,EAAE,QAAQ,EAAC,GAAG,UAAU,aAAV,UAAU,cAAV,UAAU,GAAI,EAAE,CAAC;IAC/C,MAAM,EAAC,WAAW,EAAE,eAAe,EAAE,QAAQ,EAAE,MAAM,EAAC,GAAG,OAAO,aAAP,OAAO,cAAP,OAAO,GAAI,EAAE,CAAC;IAEvE,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,GAAG,CAAC,cAAc,CAC5C;QACI,OAAO,EAAE,QAAQ,CAAC,EAAE;QACpB,KAAK;QACL,MAAM;QACN,SAAS;QACT,SAAS,EAAE,QAA4B;QACvC,MAAM,EAAE,WAAW;QACnB,eAAe;QACf,QAAQ;QACR,MAAM;KACT,EACD,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"}
@@ -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,28 +2,16 @@ 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
16
  return getPreparedStorageNodesColumns(additionalNodesProps, visibleEntities);
29
17
  }, [additionalNodesProps, visibleEntities]);
@@ -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;A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,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,SAAS,EACpB,SAAS,EAAE,EAAE,EACb,KAAK,EAAE,EAAE,EACT,cAAc,EAAE,cAAc,EAC9B,kBAAkB,EAAE,kBAAkB,EACtC,sBAAsB,EAAE,sBAAsB,EAC9C,eAAe,EAAE,0BAA0B,EAC3C,eAAe,EAAE,OAAO,GAC1B,CACL,CAAC;AACN,CAAC,CAAC"}
1
+ {"version":3,"file":"PaginatedStorageNodes.js","sourceRoot":"","sources":["../../../../src/containers/Storage/StorageNodes/PaginatedStorageNodes.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;AAG3E,OAAO,EAAC,uBAAuB,EAAC,MAAM,sBAAsB,CAAC;AAE7D,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,WA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
@@ -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,OA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AE,OAAO,GAAG,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAC,GAAG,MAAM,CAAC;IACrF,MAAM,EAAC,WAAW,EAAE,iBAAiB,EAAE,eAAe,EAAE,QAAQ,EAAC,GAAG,OAAO,aAAP,OAAO,cAAP,OAAO,GAAI,EAAE,CAAC;IAClF,MAAM,EAAC,SAAS,EAAE,QAAQ,EAAC,GAAG,UAAU,aAAV,UAAU,cAAV,UAAU,GAAI,EAAE,CAAC;IAE/C,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,GAAG,CAAC,QAAQ,CACtC;QACI,IAAI;QACJ,OAAO;QACP,KAAK;QACL,MAAM;QACN,SAAS;QACT,SAAS,EAAE,QAA0B;QACrC,MAAM,EAAE,WAAW;QACnB,MAAM,EAAE,mBAAmB,CAAC,iBAAiB,CAAC;QAC9C,eAAe;QACf,QAAQ;KACX,EACD,EAAC,YAAY,EAAE,eAAe,CAAC,KAAK,EAAE,MAAM,CAAC,EAAC,CACjD,CAAC;IACF,MAAM,gBAAgB,GAAG,2BAA2B,CAAC,QAAQ,CAAC,CAAC;IAC/D,OAAO;QACH,IAAI,EAAE,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"}
@@ -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;