ydb-embedded-ui 4.33.0 → 5.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1715) hide show
  1. package/README.md +20 -4
  2. package/dist/components/BasicNodeViewer/BasicNodeViewer.d.ts +10 -0
  3. package/dist/components/BasicNodeViewer/BasicNodeViewer.js +13 -0
  4. package/dist/components/BasicNodeViewer/index.js +1 -0
  5. package/dist/components/CellWithPopover/CellWithPopover.d.ts +8 -0
  6. package/dist/components/CellWithPopover/CellWithPopover.js +20 -0
  7. package/dist/components/CircularProgressBar/CircularProgressBar.d.ts +13 -0
  8. package/dist/components/CircularProgressBar/CircularProgressBar.js +13 -0
  9. package/dist/components/ClipboardButton/ClipboardButton.d.ts +8 -0
  10. package/dist/components/ClipboardButton/ClipboardButton.js +32 -0
  11. package/dist/components/ClipboardButton/index.js +1 -0
  12. package/dist/components/ComponentsProvider/ComponentsProvider.d.ts +17 -0
  13. package/dist/components/ComponentsProvider/ComponentsProvider.js +13 -0
  14. package/dist/components/ComponentsProvider/componentsRegistry.d.ts +11 -0
  15. package/dist/components/ComponentsProvider/componentsRegistry.js +7 -0
  16. package/dist/components/ComponentsProvider/registry.d.ts +18 -0
  17. package/dist/components/ComponentsProvider/registry.js +16 -0
  18. package/dist/components/ContentWithPopup/ContentWithPopup.d.ts +9 -0
  19. package/dist/components/ContentWithPopup/ContentWithPopup.js +26 -0
  20. package/dist/components/CriticalActionDialog/CriticalActionDialog.d.ts +10 -0
  21. package/dist/components/CriticalActionDialog/CriticalActionDialog.js +20 -0
  22. package/dist/components/CriticalActionDialog/index.js +1 -0
  23. package/dist/components/DateRange/DateRange.d.ts +13 -0
  24. package/dist/components/DateRange/DateRange.js +33 -0
  25. package/dist/components/DateRange/index.js +1 -0
  26. package/dist/components/DiagnosticCard/DiagnosticCard.d.ts +9 -0
  27. package/dist/components/DiagnosticCard/DiagnosticCard.js +7 -0
  28. package/dist/components/Divider/Divider.d.ts +4 -0
  29. package/dist/components/Divider/Divider.js +8 -0
  30. package/dist/components/EmptyState/EmptyState.d.ts +17 -0
  31. package/dist/components/EmptyState/EmptyState.js +13 -0
  32. package/dist/components/EmptyState/index.js +1 -0
  33. package/dist/components/EnableFullscreenButton/EnableFullscreenButton.d.ts +6 -0
  34. package/dist/components/EnableFullscreenButton/EnableFullscreenButton.js +13 -0
  35. package/dist/components/EntitiesCount/EntitiesCount.d.ts +9 -0
  36. package/dist/components/EntitiesCount/EntitiesCount.js +19 -0
  37. package/dist/components/EntitiesCount/i18n/en.json +1 -1
  38. package/dist/components/EntitiesCount/i18n/index.d.ts +2 -0
  39. package/dist/components/EntitiesCount/i18n/index.js +7 -0
  40. package/dist/components/EntitiesCount/i18n/ru.json +1 -1
  41. package/dist/components/EntitiesCount/index.js +1 -0
  42. package/dist/components/EntityStatus/EntityStatus.d.ts +38 -0
  43. package/dist/components/EntityStatus/EntityStatus.js +45 -103
  44. package/dist/components/ErrorBoundary/ErrorBoundary.d.ts +9 -0
  45. package/dist/components/ErrorBoundary/ErrorBoundary.js +16 -0
  46. package/dist/components/ErrorBoundary/i18n/en.json +5 -5
  47. package/dist/components/ErrorBoundary/i18n/index.d.ts +2 -0
  48. package/dist/components/ErrorBoundary/i18n/index.js +7 -0
  49. package/dist/components/ErrorBoundary/i18n/ru.json +5 -5
  50. package/dist/components/Errors/403/AccessDenied.d.ts +7 -0
  51. package/dist/components/Errors/403/AccessDenied.js +19 -0
  52. package/dist/components/Errors/403/index.js +1 -0
  53. package/dist/components/Errors/ResponseError/ResponseError.d.ts +8 -0
  54. package/dist/components/Errors/ResponseError/ResponseError.js +5 -0
  55. package/dist/components/Errors/ResponseError/index.js +1 -0
  56. package/dist/components/Errors/i18n/en.json +3 -3
  57. package/dist/components/Errors/i18n/index.d.ts +2 -0
  58. package/dist/components/Errors/i18n/index.js +7 -0
  59. package/dist/components/Errors/i18n/ru.json +3 -3
  60. package/dist/components/ExternalLinkWithIcon/ExternalLinkWithIcon.d.ts +7 -0
  61. package/dist/components/ExternalLinkWithIcon/ExternalLinkWithIcon.js +9 -0
  62. package/dist/components/FormattedBytes/FormattedBytes.d.ts +4 -0
  63. package/dist/components/FormattedBytes/FormattedBytes.js +19 -0
  64. package/dist/components/FormattedBytes/utils.d.ts +2 -0
  65. package/dist/components/FormattedBytes/utils.js +8 -0
  66. package/dist/components/FullNodeViewer/FullNodeViewer.d.ts +8 -0
  67. package/dist/components/FullNodeViewer/FullNodeViewer.js +27 -0
  68. package/dist/components/Fullscreen/Fullscreen.d.ts +8 -0
  69. package/dist/components/Fullscreen/Fullscreen.js +50 -0
  70. package/dist/components/Icon/Icon.d.ts +14 -0
  71. package/dist/components/Icon/Icon.js +16 -0
  72. package/dist/components/Icon/index.js +1 -0
  73. package/dist/components/Illustration/Illustration.d.ts +6 -0
  74. package/dist/components/Illustration/Illustration.js +45 -0
  75. package/dist/components/Illustration/index.js +1 -0
  76. package/dist/components/InfoViewer/InfoViewer.d.ts +17 -0
  77. package/dist/components/InfoViewer/InfoViewer.js +11 -0
  78. package/dist/components/InfoViewer/formatters/cdcStream.d.ts +5 -0
  79. package/dist/components/InfoViewer/formatters/cdcStream.js +7 -0
  80. package/dist/components/InfoViewer/formatters/common.d.ts +5 -0
  81. package/dist/components/InfoViewer/formatters/common.js +13 -0
  82. package/dist/components/InfoViewer/formatters/index.js +5 -0
  83. package/dist/components/InfoViewer/formatters/pqGroup.d.ts +13 -0
  84. package/dist/components/InfoViewer/formatters/pqGroup.js +40 -0
  85. package/dist/components/InfoViewer/formatters/schema.d.ts +5 -0
  86. package/dist/components/InfoViewer/formatters/schema.js +15 -0
  87. package/dist/components/InfoViewer/formatters/table.d.ts +18 -0
  88. package/dist/components/InfoViewer/formatters/table.js +40 -0
  89. package/dist/components/InfoViewer/i18n/en.json +2 -2
  90. package/dist/components/InfoViewer/i18n/index.d.ts +2 -0
  91. package/dist/components/InfoViewer/i18n/index.js +7 -0
  92. package/dist/components/InfoViewer/i18n/ru.json +2 -2
  93. package/dist/components/InfoViewer/index.d.ts +4 -0
  94. package/dist/components/InfoViewer/index.js +3 -0
  95. package/dist/components/InfoViewer/schemaInfo/TableIndexInfo.d.ts +6 -0
  96. package/dist/components/InfoViewer/schemaInfo/TableIndexInfo.js +27 -0
  97. package/dist/components/InfoViewer/schemaInfo/index.js +1 -0
  98. package/dist/components/InfoViewer/schemaOverview/CDCStreamOverview.d.ts +6 -0
  99. package/dist/components/InfoViewer/schemaOverview/CDCStreamOverview.js +21 -0
  100. package/dist/components/InfoViewer/schemaOverview/PersQueueGroupOverview.d.ts +6 -0
  101. package/dist/components/InfoViewer/schemaOverview/PersQueueGroupOverview.js +16 -0
  102. package/dist/components/InfoViewer/schemaOverview/index.js +2 -0
  103. package/dist/components/InfoViewer/utils.d.ts +19 -0
  104. package/dist/components/InfoViewer/utils.js +23 -0
  105. package/dist/components/InternalLink/InternalLink.d.ts +6 -0
  106. package/dist/components/InternalLink/InternalLink.js +19 -0
  107. package/dist/components/InternalLink/index.js +1 -0
  108. package/dist/components/LabelWithPopover/LabelWithPopover.d.ts +9 -0
  109. package/dist/components/LabelWithPopover/LabelWithPopover.js +3 -0
  110. package/dist/components/LabelWithPopover/index.js +1 -0
  111. package/dist/components/LagImages/LagImages.d.ts +2 -0
  112. package/dist/components/LagImages/LagImages.js +14 -0
  113. package/dist/components/LagImages/index.js +1 -0
  114. package/dist/components/LagPopoverContent/LagPopoverContent.d.ts +7 -0
  115. package/dist/components/LagPopoverContent/LagPopoverContent.js +6 -0
  116. package/dist/components/LagPopoverContent/index.js +1 -0
  117. package/dist/components/LinkToSchemaObject/LinkToSchemaObject.d.ts +9 -0
  118. package/dist/components/LinkToSchemaObject/LinkToSchemaObject.js +20 -0
  119. package/dist/components/Loader/Loader.d.ts +8 -0
  120. package/dist/components/Loader/Loader.js +8 -0
  121. package/dist/components/Loader/index.js +1 -0
  122. package/dist/components/MetricChart/MetricChart.d.ts +21 -0
  123. package/dist/components/MetricChart/MetricChart.js +142 -0
  124. package/dist/components/MetricChart/convertReponse.d.ts +3 -0
  125. package/dist/components/MetricChart/convertReponse.js +19 -0
  126. package/dist/components/MetricChart/getChartData.d.ts +9 -0
  127. package/dist/components/MetricChart/getChartData.js +7 -0
  128. package/dist/components/MetricChart/getDefaultDataFormatter.d.ts +4 -0
  129. package/dist/components/MetricChart/getDefaultDataFormatter.js +38 -0
  130. package/dist/components/MetricChart/index.d.ts +2 -0
  131. package/dist/components/MetricChart/index.js +2 -0
  132. package/dist/components/MetricChart/reducer.d.ts +26 -0
  133. package/dist/components/MetricChart/reducer.js +58 -0
  134. package/dist/components/MetricChart/types.d.ts +20 -0
  135. package/dist/components/MetricChart/types.js +1 -0
  136. package/dist/components/MonitoringButton/MonitoringButton.d.ts +9 -0
  137. package/dist/components/MonitoringButton/MonitoringButton.js +9 -0
  138. package/dist/components/MonitoringButton/MonitoringButton.scss +11 -0
  139. package/dist/components/NodeHostWrapper/NodeHostWrapper.d.ts +9 -0
  140. package/dist/components/NodeHostWrapper/NodeHostWrapper.js +24 -0
  141. package/dist/components/PoolBar/PoolBar.d.ts +7 -0
  142. package/dist/components/PoolBar/PoolBar.js +23 -0
  143. package/dist/components/PoolUsage/PoolUsage.d.ts +7 -0
  144. package/dist/components/PoolUsage/PoolUsage.js +21 -0
  145. package/dist/components/PoolsGraph/PoolsGraph.d.ts +7 -0
  146. package/dist/components/PoolsGraph/PoolsGraph.js +8 -0
  147. package/dist/components/ProblemFilter/ProblemFilter.d.ts +8 -0
  148. package/dist/components/ProblemFilter/ProblemFilter.js +6 -0
  149. package/dist/components/ProblemFilter/index.js +1 -0
  150. package/dist/components/ProgressViewer/ProgressViewer.d.ts +27 -0
  151. package/dist/components/ProgressViewer/ProgressViewer.js +57 -0
  152. package/dist/components/QueryExecutionStatus/QueryExecutionStatus.d.ts +8 -0
  153. package/dist/components/QueryExecutionStatus/QueryExecutionStatus.js +21 -0
  154. package/dist/components/QueryExecutionStatus/index.js +1 -0
  155. package/dist/components/QueryResultTable/Cell/Cell.d.ts +7 -0
  156. package/dist/components/QueryResultTable/Cell/Cell.js +13 -0
  157. package/dist/components/QueryResultTable/Cell/index.js +1 -0
  158. package/dist/components/QueryResultTable/QueryResultTable.d.ts +19 -0
  159. package/dist/components/QueryResultTable/QueryResultTable.js +78 -0
  160. package/dist/components/QueryResultTable/i18n/en.json +1 -1
  161. package/dist/components/QueryResultTable/i18n/index.d.ts +2 -0
  162. package/dist/components/QueryResultTable/i18n/index.js +7 -0
  163. package/dist/components/QueryResultTable/i18n/ru.json +1 -1
  164. package/dist/components/QueryResultTable/index.js +1 -0
  165. package/dist/components/Search/Search.d.ts +10 -0
  166. package/dist/components/Search/Search.js +26 -0
  167. package/dist/components/Search/index.js +1 -0
  168. package/dist/components/ShortyString/ShortyString.d.ts +15 -0
  169. package/dist/components/ShortyString/ShortyString.js +22 -0
  170. package/dist/components/ShortyString/i18n/en.json +8 -8
  171. package/dist/components/ShortyString/i18n/index.d.ts +2 -0
  172. package/dist/components/ShortyString/i18n/index.js +7 -0
  173. package/dist/components/ShortyString/i18n/ru.json +8 -8
  174. package/dist/components/SpeedMultiMeter/SpeedMultiMeter.d.ts +10 -0
  175. package/dist/components/SpeedMultiMeter/SpeedMultiMeter.js +46 -0
  176. package/dist/components/SpeedMultiMeter/i18n/en.json +4 -4
  177. package/dist/components/SpeedMultiMeter/i18n/index.d.ts +2 -0
  178. package/dist/components/SpeedMultiMeter/i18n/index.js +7 -0
  179. package/dist/components/SpeedMultiMeter/i18n/ru.json +4 -4
  180. package/dist/components/SpeedMultiMeter/index.js +1 -0
  181. package/dist/components/SplitPane/SplitPane.d.ts +18 -0
  182. package/dist/components/SplitPane/SplitPane.js +56 -0
  183. package/dist/components/SplitPane/index.d.ts +2 -0
  184. package/dist/components/SplitPane/index.js +0 -1
  185. package/dist/components/Stack/Stack.d.ts +7 -0
  186. package/dist/components/Stack/Stack.js +14 -0
  187. package/dist/components/TableSkeleton/TableSkeleton.d.ts +8 -0
  188. package/dist/components/TableSkeleton/TableSkeleton.js +6 -0
  189. package/dist/components/TableWithControlsLayout/TableWithControlsLayout.d.ts +15 -0
  190. package/dist/components/TableWithControlsLayout/TableWithControlsLayout.js +17 -0
  191. package/dist/components/Tablet/Tablet.d.ts +8 -0
  192. package/dist/components/Tablet/Tablet.js +17 -0
  193. package/dist/components/TabletIcon/TabletIcon.d.ts +7 -0
  194. package/dist/components/TabletIcon/TabletIcon.js +7 -0
  195. package/dist/components/TabletsOverall/TabletsOverall.d.ts +9 -0
  196. package/dist/components/TabletsOverall/TabletsOverall.js +68 -0
  197. package/dist/components/TabletsStatistic/TabletsStatistic.d.ts +12 -0
  198. package/dist/components/TabletsStatistic/TabletsStatistic.js +36 -0
  199. package/dist/components/TabletsStatistic/index.js +1 -0
  200. package/dist/components/Tag/Tag.d.ts +8 -0
  201. package/dist/components/Tag/Tag.js +7 -0
  202. package/dist/components/Tag/index.js +1 -0
  203. package/dist/components/Tags/Tags.d.ts +9 -0
  204. package/dist/components/Tags/Tags.js +9 -0
  205. package/dist/components/Tags/index.js +1 -0
  206. package/dist/components/TimeFrameSelector/TimeFrameSelector.d.ts +9 -0
  207. package/dist/components/TimeFrameSelector/TimeFrameSelector.js +11 -0
  208. package/dist/components/TooltipsContent/NodeEndpointsTooltipContent/NodeEndpointsTooltipContent.d.ts +7 -0
  209. package/dist/components/TooltipsContent/NodeEndpointsTooltipContent/NodeEndpointsTooltipContent.js +19 -0
  210. package/dist/components/TooltipsContent/PoolTooltipContent/PoolTooltipContent.d.ts +7 -0
  211. package/dist/components/TooltipsContent/PoolTooltipContent/PoolTooltipContent.js +15 -0
  212. package/dist/components/TooltipsContent/TabletTooltipContent/TabletTooltipContent.d.ts +7 -0
  213. package/dist/components/TooltipsContent/TabletTooltipContent/TabletTooltipContent.js +24 -0
  214. package/dist/components/TooltipsContent/index.js +3 -0
  215. package/dist/components/TruncatedQuery/TruncatedQuery.d.ts +11 -0
  216. package/dist/components/TruncatedQuery/TruncatedQuery.js +18 -0
  217. package/dist/components/UptimeFIlter/UptimeFilter.d.ts +8 -0
  218. package/dist/components/UptimeFIlter/UptimeFilter.js +6 -0
  219. package/dist/components/UptimeFIlter/index.js +1 -0
  220. package/dist/components/UsageLabel/UsageLabel.d.ts +9 -0
  221. package/dist/components/UsageLabel/UsageLabel.js +20 -0
  222. package/dist/components/User/StaffCard.d.ts +8 -0
  223. package/dist/components/User/StaffCard.js +5 -0
  224. package/dist/components/User/User.d.ts +8 -0
  225. package/dist/components/User/User.js +9 -0
  226. package/dist/components/User/User.scss +16 -0
  227. package/dist/components/VirtualTable/TableChunk.d.ts +12 -0
  228. package/dist/components/VirtualTable/TableChunk.js +43 -0
  229. package/dist/components/VirtualTable/TableHead.d.ts +21 -0
  230. package/dist/components/VirtualTable/TableHead.js +109 -0
  231. package/dist/components/VirtualTable/TableRow.d.ts +22 -0
  232. package/dist/components/VirtualTable/TableRow.js +22 -0
  233. package/dist/components/VirtualTable/VirtualTable.d.ts +19 -0
  234. package/dist/components/VirtualTable/VirtualTable.js +157 -0
  235. package/dist/components/VirtualTable/constants.d.ts +10 -0
  236. package/dist/components/VirtualTable/constants.js +11 -0
  237. package/dist/components/VirtualTable/i18n/en.json +1 -1
  238. package/dist/components/VirtualTable/i18n/index.d.ts +2 -0
  239. package/dist/components/VirtualTable/i18n/index.js +7 -0
  240. package/dist/components/VirtualTable/i18n/ru.json +1 -1
  241. package/dist/components/VirtualTable/index.js +3 -0
  242. package/dist/components/VirtualTable/reducer.d.ts +44 -0
  243. package/dist/components/VirtualTable/reducer.js +91 -0
  244. package/dist/components/VirtualTable/shared.d.ts +10 -0
  245. package/dist/components/VirtualTable/shared.js +2 -0
  246. package/dist/components/VirtualTable/types.d.ts +50 -0
  247. package/dist/components/VirtualTable/types.js +1 -0
  248. package/dist/components/VirtualTable/useIntersectionObserver.d.ts +9 -0
  249. package/dist/components/VirtualTable/useIntersectionObserver.js +27 -0
  250. package/dist/components/slots/SlotMap.d.ts +8 -0
  251. package/dist/components/slots/SlotMap.js +36 -0
  252. package/dist/components/slots/createSlot.d.ts +2 -0
  253. package/dist/components/slots/createSlot.js +6 -0
  254. package/dist/components/slots/index.d.ts +2 -0
  255. package/dist/components/slots/index.js +2 -0
  256. package/dist/components/slots/types.d.ts +15 -0
  257. package/dist/components/slots/types.js +1 -0
  258. package/dist/components/slots/useSlots.d.ts +6 -0
  259. package/dist/components/slots/useSlots.js +9 -0
  260. package/dist/components/slots/utils.d.ts +4 -0
  261. package/dist/components/slots/utils.js +7 -0
  262. package/dist/containers/App/App.d.ts +15 -0
  263. package/dist/containers/App/App.js +13 -60
  264. package/dist/containers/App/Content.d.ts +15 -0
  265. package/dist/containers/App/Content.js +98 -98
  266. package/dist/containers/App/Providers.d.ts +12 -0
  267. package/dist/containers/App/Providers.js +17 -0
  268. package/dist/containers/App/appSlots.d.ts +39 -0
  269. package/dist/containers/App/appSlots.js +9 -0
  270. package/dist/containers/App/i18n/en.json +3 -0
  271. package/dist/containers/App/i18n/index.d.ts +2 -0
  272. package/dist/containers/App/i18n/index.js +7 -0
  273. package/dist/containers/App/i18n/ru.json +3 -0
  274. package/dist/containers/App/index.d.ts +2 -0
  275. package/dist/containers/App/index.js +2 -0
  276. package/dist/containers/AppIcons/AppIcons.d.ts +2 -0
  277. package/dist/containers/AppIcons/AppIcons.js +5 -501
  278. package/dist/containers/AppWithClusters/AppWithClusters.d.ts +14 -0
  279. package/dist/containers/AppWithClusters/AppWithClusters.js +24 -0
  280. package/dist/containers/AppWithClusters/ExtendedCluster/ExtendedCluster.d.ts +11 -0
  281. package/dist/containers/AppWithClusters/ExtendedCluster/ExtendedCluster.js +67 -0
  282. package/dist/containers/AppWithClusters/ExtendedCluster/ExtendedCluster.scss +14 -0
  283. package/dist/containers/AppWithClusters/ExtendedNode/ExtendedNode.d.ts +5 -0
  284. package/dist/containers/AppWithClusters/ExtendedNode/ExtendedNode.js +6 -0
  285. package/dist/containers/AppWithClusters/ExtendedTenant/ExtendedTenant.d.ts +8 -0
  286. package/dist/containers/AppWithClusters/ExtendedTenant/ExtendedTenant.js +21 -0
  287. package/dist/containers/AppWithClusters/i18n/en.json +4 -0
  288. package/dist/containers/AppWithClusters/i18n/index.d.ts +2 -0
  289. package/dist/containers/AppWithClusters/i18n/index.js +7 -0
  290. package/dist/containers/AppWithClusters/i18n/ru.json +4 -0
  291. package/dist/containers/AppWithClusters/useClusterData.d.ts +8 -0
  292. package/dist/containers/AppWithClusters/useClusterData.js +24 -0
  293. package/dist/containers/AsideNavigation/AsideNavigation.d.ts +10 -0
  294. package/dist/containers/AsideNavigation/AsideNavigation.js +71 -0
  295. package/dist/containers/AsideNavigation/Navigation.d.ts +8 -0
  296. package/dist/containers/AsideNavigation/Navigation.js +10 -0
  297. package/dist/containers/AsideNavigation/YdbInternalUser/YdbInternalUser.d.ts +3 -0
  298. package/dist/containers/AsideNavigation/YdbInternalUser/YdbInternalUser.js +25 -0
  299. package/dist/containers/AsideNavigation/YdbInternalUser/YdbInternalUser.scss +24 -0
  300. package/dist/containers/AsideNavigation/i18n/en.json +8 -11
  301. package/dist/containers/AsideNavigation/i18n/index.d.ts +2 -0
  302. package/dist/containers/AsideNavigation/i18n/index.js +7 -0
  303. package/dist/containers/AsideNavigation/i18n/ru.json +8 -11
  304. package/dist/containers/AsideNavigation/useNavigationMenuItems.d.ts +2 -0
  305. package/dist/containers/AsideNavigation/useNavigationMenuItems.js +55 -0
  306. package/dist/containers/Authentication/Authentication.d.ts +7 -0
  307. package/dist/containers/Authentication/Authentication.js +72 -0
  308. package/dist/containers/Cluster/Cluster.d.ts +11 -0
  309. package/dist/containers/Cluster/Cluster.js +77 -0
  310. package/dist/containers/Cluster/ClusterInfo/ClusterInfo.d.ts +16 -0
  311. package/dist/containers/Cluster/ClusterInfo/ClusterInfo.js +139 -0
  312. package/dist/containers/Cluster/ClusterInfo/utils.d.ts +2 -0
  313. package/dist/containers/Cluster/ClusterInfo/utils.js +10 -0
  314. package/dist/containers/Cluster/ClusterInfoSkeleton/ClusterInfoSkeleton.d.ts +7 -0
  315. package/dist/containers/Cluster/ClusterInfoSkeleton/ClusterInfoSkeleton.js +7 -0
  316. package/dist/containers/Cluster/VersionsBar/VersionsBar.d.ts +7 -0
  317. package/dist/containers/Cluster/VersionsBar/VersionsBar.js +8 -0
  318. package/dist/containers/Cluster/i18n/en.json +14 -14
  319. package/dist/containers/Cluster/i18n/index.d.ts +2 -0
  320. package/dist/containers/Cluster/i18n/index.js +7 -0
  321. package/dist/containers/Cluster/i18n/ru.json +14 -14
  322. package/dist/containers/Cluster/utils.d.ts +22 -0
  323. package/dist/containers/Cluster/utils.js +27 -0
  324. package/dist/containers/Clusters/Clusters.d.ts +3 -0
  325. package/dist/containers/Clusters/Clusters.js +69 -0
  326. package/dist/containers/Clusters/Clusters.scss +176 -0
  327. package/dist/containers/Clusters/ClustersStatistics.d.ts +7 -0
  328. package/dist/containers/Clusters/ClustersStatistics.js +9 -0
  329. package/dist/containers/Clusters/columns.d.ts +3 -0
  330. package/dist/containers/Clusters/columns.js +192 -0
  331. package/dist/containers/Clusters/constants.d.ts +34 -0
  332. package/dist/containers/Clusters/constants.js +62 -0
  333. package/dist/containers/Clusters/i18n/en.json +14 -0
  334. package/dist/containers/Clusters/i18n/index.d.ts +2 -0
  335. package/dist/containers/Clusters/i18n/index.js +7 -0
  336. package/dist/containers/Clusters/i18n/ru.json +14 -0
  337. package/dist/containers/Clusters/shared.d.ts +10 -0
  338. package/dist/containers/Clusters/shared.js +2 -0
  339. package/dist/containers/Clusters/useClustersList.d.ts +1 -0
  340. package/dist/containers/Clusters/useClustersList.js +9 -0
  341. package/dist/containers/Clusters/useSelectedColumns.d.ts +7 -0
  342. package/dist/containers/Clusters/useSelectedColumns.js +23 -0
  343. package/dist/containers/Header/Header.d.ts +8 -0
  344. package/dist/containers/Header/Header.js +65 -0
  345. package/dist/containers/Header/breadcrumbs.d.ts +8 -0
  346. package/dist/containers/Header/breadcrumbs.js +96 -0
  347. package/dist/containers/Heatmap/Heatmap.d.ts +6 -0
  348. package/dist/containers/Heatmap/Heatmap.js +91 -0
  349. package/dist/containers/Heatmap/HeatmapCanvas/HeatmapCanvas.d.ts +11 -0
  350. package/dist/containers/Heatmap/HeatmapCanvas/HeatmapCanvas.js +13 -47
  351. package/dist/containers/Heatmap/Histogram/Histogram.d.ts +10 -0
  352. package/dist/containers/Heatmap/Histogram/Histogram.js +19 -63
  353. package/dist/containers/Heatmap/index.js +1 -0
  354. package/dist/containers/Heatmap/util.d.ts +40 -0
  355. package/dist/containers/Heatmap/util.js +6 -23
  356. package/dist/containers/Node/Node.d.ts +10 -0
  357. package/dist/containers/Node/Node.js +101 -0
  358. package/dist/containers/Node/NodePages.d.ts +10 -0
  359. package/dist/containers/Node/NodePages.js +26 -0
  360. package/dist/containers/Node/NodeStructure/NodeStructure.d.ts +9 -0
  361. package/dist/containers/Node/NodeStructure/NodeStructure.js +86 -0
  362. package/dist/containers/Node/NodeStructure/PDiskTitleBadge.d.ts +8 -0
  363. package/dist/containers/Node/NodeStructure/PDiskTitleBadge.js +6 -0
  364. package/dist/containers/Node/NodeStructure/Pdisk.d.ts +11 -0
  365. package/dist/containers/Node/NodeStructure/Pdisk.js +169 -0
  366. package/dist/containers/Node/NodeStructure/Vdisk.d.ts +3 -0
  367. package/dist/containers/Node/NodeStructure/Vdisk.js +84 -0
  368. package/dist/containers/Node/i18n/en.json +2 -2
  369. package/dist/containers/Node/i18n/index.d.ts +2 -0
  370. package/dist/containers/Node/i18n/index.js +7 -0
  371. package/dist/containers/Node/i18n/ru.json +2 -2
  372. package/dist/containers/Nodes/Nodes.d.ts +8 -0
  373. package/dist/containers/Nodes/Nodes.js +87 -0
  374. package/dist/containers/Nodes/NodesWrapper.d.ts +8 -0
  375. package/dist/containers/Nodes/NodesWrapper.js +24 -0
  376. package/dist/containers/Nodes/VirtualNodes.d.ts +9 -0
  377. package/dist/containers/Nodes/VirtualNodes.js +66 -0
  378. package/dist/containers/Nodes/getNodes.d.ts +6 -0
  379. package/dist/containers/Nodes/getNodes.js +25 -0
  380. package/dist/containers/Nodes/getNodesColumns.d.ts +14 -0
  381. package/dist/containers/Nodes/getNodesColumns.js +203 -0
  382. package/dist/containers/Nodes/i18n/en.json +1 -1
  383. package/dist/containers/Nodes/i18n/index.d.ts +2 -0
  384. package/dist/containers/Nodes/i18n/index.js +7 -0
  385. package/dist/containers/Nodes/i18n/ru.json +1 -1
  386. package/dist/containers/Nodes/index.js +1 -0
  387. package/dist/containers/ReduxTooltip/ReduxTooltip.d.ts +22 -0
  388. package/dist/containers/ReduxTooltip/ReduxTooltip.js +19 -67
  389. package/dist/containers/Storage/DiskStateProgressBar/DiskStateProgressBar.d.ts +17 -0
  390. package/dist/containers/Storage/DiskStateProgressBar/DiskStateProgressBar.js +35 -0
  391. package/dist/containers/Storage/DiskStateProgressBar/index.js +1 -0
  392. package/dist/containers/Storage/EmptyFilter/EmptyFilter.d.ts +8 -0
  393. package/dist/containers/Storage/EmptyFilter/EmptyFilter.js +8 -0
  394. package/dist/containers/Storage/EmptyFilter/i18n/en.json +2 -2
  395. package/dist/containers/Storage/EmptyFilter/i18n/index.d.ts +2 -0
  396. package/dist/containers/Storage/EmptyFilter/i18n/index.js +7 -0
  397. package/dist/containers/Storage/EmptyFilter/i18n/ru.json +2 -2
  398. package/dist/containers/Storage/PDisk/PDisk.d.ts +10 -0
  399. package/dist/containers/Storage/PDisk/PDisk.js +88 -0
  400. package/dist/containers/Storage/PDisk/index.js +1 -0
  401. package/dist/containers/Storage/PDiskPopup/PDiskPopup.d.ts +12 -0
  402. package/dist/containers/Storage/PDiskPopup/PDiskPopup.js +59 -0
  403. package/dist/containers/Storage/PDiskPopup/index.js +1 -0
  404. package/dist/containers/Storage/Storage.d.ts +9 -0
  405. package/dist/containers/Storage/Storage.js +102 -0
  406. package/dist/containers/Storage/StorageControls/StorageControls.d.ts +23 -0
  407. package/dist/containers/Storage/StorageControls/StorageControls.js +17 -0
  408. package/dist/containers/Storage/StorageGroups/StorageGroups.d.ts +17 -0
  409. package/dist/containers/Storage/StorageGroups/StorageGroups.js +17 -0
  410. package/dist/containers/Storage/StorageGroups/StorageGroupsEmptyDataMessage.d.ts +7 -0
  411. package/dist/containers/Storage/StorageGroups/StorageGroupsEmptyDataMessage.js +17 -0
  412. package/dist/containers/Storage/StorageGroups/VirtualStorageGroups.d.ts +16 -0
  413. package/dist/containers/Storage/StorageGroups/VirtualStorageGroups.js +35 -0
  414. package/dist/containers/Storage/StorageGroups/getGroups.d.ts +6 -0
  415. package/dist/containers/Storage/StorageGroups/getGroups.js +26 -0
  416. package/dist/containers/Storage/StorageGroups/getStorageGroupsColumns.d.ts +57 -0
  417. package/dist/containers/Storage/StorageGroups/getStorageGroupsColumns.js +205 -0
  418. package/dist/containers/Storage/StorageGroups/i18n/en.json +5 -5
  419. package/dist/containers/Storage/StorageGroups/i18n/index.d.ts +2 -0
  420. package/dist/containers/Storage/StorageGroups/i18n/index.js +7 -0
  421. package/dist/containers/Storage/StorageGroups/i18n/ru.json +5 -5
  422. package/dist/containers/Storage/StorageNodes/StorageNodes.d.ts +19 -0
  423. package/dist/containers/Storage/StorageNodes/StorageNodes.js +18 -0
  424. package/dist/containers/Storage/StorageNodes/StorageNodesEmptyDataMessage.d.ts +9 -0
  425. package/dist/containers/Storage/StorageNodes/StorageNodesEmptyDataMessage.js +25 -0
  426. package/dist/containers/Storage/StorageNodes/VirtualStorageNodes.d.ts +17 -0
  427. package/dist/containers/Storage/StorageNodes/VirtualStorageNodes.js +38 -0
  428. package/dist/containers/Storage/StorageNodes/getNodes.d.ts +6 -0
  429. package/dist/containers/Storage/StorageNodes/getNodes.js +25 -0
  430. package/dist/containers/Storage/StorageNodes/getStorageNodesColumns.d.ts +47 -0
  431. package/dist/containers/Storage/StorageNodes/getStorageNodesColumns.js +92 -0
  432. package/dist/containers/Storage/StorageNodes/i18n/en.json +6 -6
  433. package/dist/containers/Storage/StorageNodes/i18n/index.d.ts +2 -0
  434. package/dist/containers/Storage/StorageNodes/i18n/index.js +7 -0
  435. package/dist/containers/Storage/StorageNodes/i18n/ru.json +6 -6
  436. package/dist/containers/Storage/StorageNodes/shared.d.ts +12 -0
  437. package/dist/containers/Storage/StorageNodes/shared.js +4 -0
  438. package/dist/containers/Storage/StorageTypeFilter/StorageTypeFilter.d.ts +7 -0
  439. package/dist/containers/Storage/StorageTypeFilter/StorageTypeFilter.js +11 -0
  440. package/dist/containers/Storage/StorageVisibleEntitiesFilter/StorageVisibleEntitiesFilter.d.ts +12 -0
  441. package/dist/containers/Storage/StorageVisibleEntitiesFilter/StorageVisibleEntitiesFilter.js +12 -0
  442. package/dist/containers/Storage/StorageWrapper.d.ts +9 -0
  443. package/dist/containers/Storage/StorageWrapper.js +24 -0
  444. package/dist/containers/Storage/UsageFilter/UsageFilter.d.ts +14 -0
  445. package/dist/containers/Storage/UsageFilter/UsageFilter.js +38 -0
  446. package/dist/containers/Storage/UsageFilter/i18n/en.json +3 -3
  447. package/dist/containers/Storage/UsageFilter/i18n/index.d.ts +2 -0
  448. package/dist/containers/Storage/UsageFilter/i18n/index.js +7 -0
  449. package/dist/containers/Storage/UsageFilter/i18n/ru.json +3 -3
  450. package/dist/containers/Storage/UsageFilter/index.js +1 -0
  451. package/dist/containers/Storage/VDisk/VDisk.d.ts +11 -0
  452. package/dist/containers/Storage/VDisk/VDisk.js +88 -0
  453. package/dist/containers/Storage/VDisk/index.js +1 -0
  454. package/dist/containers/Storage/VDiskPopup/VDiskPopup.d.ts +11 -0
  455. package/dist/containers/Storage/VDiskPopup/VDiskPopup.js +105 -0
  456. package/dist/containers/Storage/VDiskPopup/index.js +1 -0
  457. package/dist/containers/Storage/VirtualStorage.d.ts +9 -0
  458. package/dist/containers/Storage/VirtualStorage.js +43 -0
  459. package/dist/containers/Storage/i18n/en.json +4 -5
  460. package/dist/containers/Storage/i18n/index.d.ts +2 -0
  461. package/dist/containers/Storage/i18n/index.js +7 -0
  462. package/dist/containers/Storage/i18n/ru.json +4 -5
  463. package/dist/containers/Storage/shared.d.ts +10 -0
  464. package/dist/containers/Storage/shared.js +2 -0
  465. package/dist/containers/Storage/utils/constants.d.ts +2 -0
  466. package/dist/containers/Storage/utils/constants.js +2 -0
  467. package/dist/containers/Storage/utils/index.d.ts +7 -0
  468. package/dist/containers/Storage/utils/index.js +30 -0
  469. package/dist/containers/Storage/utils/types.d.ts +5 -0
  470. package/dist/containers/Storage/utils/types.js +1 -0
  471. package/dist/containers/Tablet/Tablet.d.ts +12 -0
  472. package/dist/containers/Tablet/Tablet.js +81 -0
  473. package/dist/containers/Tablet/TabletControls/TabletControls.d.ts +7 -0
  474. package/dist/containers/Tablet/TabletControls/TabletControls.js +70 -0
  475. package/dist/containers/Tablet/TabletControls/index.js +1 -0
  476. package/dist/containers/Tablet/TabletInfo/TabletInfo.d.ts +7 -0
  477. package/dist/containers/Tablet/TabletInfo/TabletInfo.js +39 -0
  478. package/dist/containers/Tablet/TabletInfo/index.js +1 -0
  479. package/dist/containers/Tablet/TabletTable/TabletTable.d.ts +6 -0
  480. package/dist/containers/Tablet/TabletTable/TabletTable.js +59 -0
  481. package/dist/containers/Tablet/TabletTable/index.js +1 -0
  482. package/dist/containers/Tablet/i18n/en.json +8 -8
  483. package/dist/containers/Tablet/i18n/index.d.ts +2 -0
  484. package/dist/containers/Tablet/i18n/index.js +7 -0
  485. package/dist/containers/Tablet/i18n/ru.json +8 -8
  486. package/dist/containers/Tablet/index.d.ts +1 -0
  487. package/dist/containers/Tablet/index.js +1 -0
  488. package/dist/containers/Tablets/Tablets.d.ts +8 -0
  489. package/dist/containers/Tablets/Tablets.js +76 -0
  490. package/dist/containers/Tablets/i18n/en.json +4 -4
  491. package/dist/containers/Tablets/i18n/index.d.ts +2 -0
  492. package/dist/containers/Tablets/i18n/index.js +7 -0
  493. package/dist/containers/Tablets/i18n/ru.json +4 -4
  494. package/dist/containers/Tablets/index.js +1 -0
  495. package/dist/containers/TabletsFilters/TabletsFilters.d.ts +62 -0
  496. package/dist/containers/TabletsFilters/TabletsFilters.js +108 -264
  497. package/dist/containers/Tenant/Acl/Acl.d.ts +2 -0
  498. package/dist/containers/Tenant/Acl/Acl.js +95 -0
  499. package/dist/containers/Tenant/Diagnostics/Consumers/Consumers.d.ts +8 -0
  500. package/dist/containers/Tenant/Diagnostics/Consumers/Consumers.js +56 -0
  501. package/dist/containers/Tenant/Diagnostics/Consumers/Headers/Headers.d.ts +2 -0
  502. package/dist/containers/Tenant/Diagnostics/Consumers/Headers/Headers.js +9 -0
  503. package/dist/containers/Tenant/Diagnostics/Consumers/TopicStats/ConsumersTopicStats.d.ts +7 -0
  504. package/dist/containers/Tenant/Diagnostics/Consumers/TopicStats/ConsumersTopicStats.js +24 -0
  505. package/dist/containers/Tenant/Diagnostics/Consumers/TopicStats/index.js +1 -0
  506. package/dist/containers/Tenant/Diagnostics/Consumers/columns/columns.d.ts +4 -0
  507. package/dist/containers/Tenant/Diagnostics/Consumers/columns/columns.js +62 -0
  508. package/dist/containers/Tenant/Diagnostics/Consumers/i18n/en.json +5 -5
  509. package/dist/containers/Tenant/Diagnostics/Consumers/i18n/index.d.ts +2 -0
  510. package/dist/containers/Tenant/Diagnostics/Consumers/i18n/index.js +7 -0
  511. package/dist/containers/Tenant/Diagnostics/Consumers/i18n/ru.json +5 -5
  512. package/dist/containers/Tenant/Diagnostics/Consumers/index.js +1 -0
  513. package/dist/containers/Tenant/Diagnostics/Consumers/utils/constants.d.ts +20 -0
  514. package/dist/containers/Tenant/Diagnostics/Consumers/utils/constants.js +20 -0
  515. package/dist/containers/Tenant/Diagnostics/Describe/Describe.d.ts +9 -0
  516. package/dist/containers/Tenant/Diagnostics/Describe/Describe.js +66 -0
  517. package/dist/containers/Tenant/Diagnostics/DetailedOverview/DetailedOverview.d.ts +13 -0
  518. package/dist/containers/Tenant/Diagnostics/DetailedOverview/DetailedOverview.js +17 -0
  519. package/dist/containers/Tenant/Diagnostics/Diagnostics.d.ts +11 -0
  520. package/dist/containers/Tenant/Diagnostics/Diagnostics.js +133 -0
  521. package/dist/containers/Tenant/Diagnostics/DiagnosticsPages.d.ts +114 -0
  522. package/dist/containers/Tenant/Diagnostics/DiagnosticsPages.js +83 -0
  523. package/dist/containers/Tenant/Diagnostics/HotKeys/HotKeys.d.ts +25 -0
  524. package/dist/containers/Tenant/Diagnostics/HotKeys/HotKeys.js +27 -79
  525. package/dist/containers/Tenant/Diagnostics/Network/Network.d.ts +72 -0
  526. package/dist/containers/Tenant/Diagnostics/Network/Network.js +153 -314
  527. package/dist/containers/Tenant/Diagnostics/Network/NodeNetwork/NodeNetwork.d.ts +27 -0
  528. package/dist/containers/Tenant/Diagnostics/Network/NodeNetwork/NodeNetwork.js +42 -52
  529. package/dist/containers/Tenant/Diagnostics/Network/utils.d.ts +2 -0
  530. package/dist/containers/Tenant/Diagnostics/Network/utils.js +4 -0
  531. package/dist/containers/Tenant/Diagnostics/Overview/ChangefeedInfo/ChangefeedInfo.d.ts +8 -0
  532. package/dist/containers/Tenant/Diagnostics/Overview/ChangefeedInfo/ChangefeedInfo.js +34 -0
  533. package/dist/containers/Tenant/Diagnostics/Overview/ChangefeedInfo/index.js +1 -0
  534. package/dist/containers/Tenant/Diagnostics/Overview/Overview.d.ts +8 -0
  535. package/dist/containers/Tenant/Diagnostics/Overview/Overview.js +90 -0
  536. package/dist/containers/Tenant/Diagnostics/Overview/TableInfo/TableInfo.d.ts +10 -0
  537. package/dist/containers/Tenant/Diagnostics/Overview/TableInfo/TableInfo.js +14 -0
  538. package/dist/containers/Tenant/Diagnostics/Overview/TableInfo/i18n/en.json +3 -3
  539. package/dist/containers/Tenant/Diagnostics/Overview/TableInfo/i18n/index.d.ts +2 -0
  540. package/dist/containers/Tenant/Diagnostics/Overview/TableInfo/i18n/index.js +7 -0
  541. package/dist/containers/Tenant/Diagnostics/Overview/TableInfo/i18n/ru.json +3 -3
  542. package/dist/containers/Tenant/Diagnostics/Overview/TableInfo/index.js +1 -0
  543. package/dist/containers/Tenant/Diagnostics/Overview/TableInfo/prepareTableInfo.d.ts +16 -0
  544. package/dist/containers/Tenant/Diagnostics/Overview/TableInfo/prepareTableInfo.js +166 -0
  545. package/dist/containers/Tenant/Diagnostics/Overview/TopicInfo/TopicInfo.d.ts +7 -0
  546. package/dist/containers/Tenant/Diagnostics/Overview/TopicInfo/TopicInfo.js +18 -0
  547. package/dist/containers/Tenant/Diagnostics/Overview/TopicInfo/index.js +1 -0
  548. package/dist/containers/Tenant/Diagnostics/Overview/TopicStats/TopicStats.d.ts +2 -0
  549. package/dist/containers/Tenant/Diagnostics/Overview/TopicStats/TopicStats.js +63 -0
  550. package/dist/containers/Tenant/Diagnostics/Overview/TopicStats/i18n/en.json +2 -2
  551. package/dist/containers/Tenant/Diagnostics/Overview/TopicStats/i18n/index.d.ts +2 -0
  552. package/dist/containers/Tenant/Diagnostics/Overview/TopicStats/i18n/index.js +7 -0
  553. package/dist/containers/Tenant/Diagnostics/Overview/TopicStats/i18n/ru.json +2 -2
  554. package/dist/containers/Tenant/Diagnostics/Overview/TopicStats/index.js +1 -0
  555. package/dist/containers/Tenant/Diagnostics/Overview/utils/index.js +1 -0
  556. package/dist/containers/Tenant/Diagnostics/Overview/utils/prepareTopicSchemaInfo.d.ts +3 -0
  557. package/dist/containers/Tenant/Diagnostics/Overview/utils/prepareTopicSchemaInfo.js +25 -0
  558. package/dist/containers/Tenant/Diagnostics/Partitions/Headers/Headers.d.ts +11 -0
  559. package/dist/containers/Tenant/Diagnostics/Partitions/Headers/Headers.js +14 -0
  560. package/dist/containers/Tenant/Diagnostics/Partitions/Headers/index.d.ts +1 -0
  561. package/dist/containers/Tenant/Diagnostics/Partitions/Headers/index.js +1 -0
  562. package/dist/containers/Tenant/Diagnostics/Partitions/Partitions.d.ts +16 -0
  563. package/dist/containers/Tenant/Diagnostics/Partitions/Partitions.js +84 -0
  564. package/dist/containers/Tenant/Diagnostics/Partitions/PartitionsControls/PartitionsControls.d.ts +14 -0
  565. package/dist/containers/Tenant/Diagnostics/Partitions/PartitionsControls/PartitionsControls.js +83 -0
  566. package/dist/containers/Tenant/Diagnostics/Partitions/columns/columns.d.ts +5 -0
  567. package/dist/containers/Tenant/Diagnostics/Partitions/columns/columns.js +147 -0
  568. package/dist/containers/Tenant/Diagnostics/Partitions/columns/index.d.ts +1 -0
  569. package/dist/containers/Tenant/Diagnostics/Partitions/columns/index.js +1 -0
  570. package/dist/containers/Tenant/Diagnostics/Partitions/i18n/en.json +11 -11
  571. package/dist/containers/Tenant/Diagnostics/Partitions/i18n/index.d.ts +2 -0
  572. package/dist/containers/Tenant/Diagnostics/Partitions/i18n/index.js +7 -0
  573. package/dist/containers/Tenant/Diagnostics/Partitions/i18n/ru.json +11 -11
  574. package/dist/containers/Tenant/Diagnostics/Partitions/utils/constants.d.ts +54 -0
  575. package/dist/containers/Tenant/Diagnostics/Partitions/utils/constants.js +64 -0
  576. package/dist/containers/Tenant/Diagnostics/Partitions/utils/index.d.ts +4 -0
  577. package/dist/containers/Tenant/Diagnostics/Partitions/utils/index.js +12 -0
  578. package/dist/containers/Tenant/Diagnostics/Partitions/utils/types.d.ts +5 -0
  579. package/dist/containers/Tenant/Diagnostics/Partitions/utils/types.js +1 -0
  580. package/dist/containers/Tenant/Diagnostics/Partitions/utils/useGetPartitionsColumns.d.ts +3 -0
  581. package/dist/containers/Tenant/Diagnostics/Partitions/utils/useGetPartitionsColumns.js +19 -0
  582. package/dist/containers/Tenant/Diagnostics/TenantOverview/DefaultOverviewContent/DefaultOverviewContent.d.ts +1 -0
  583. package/dist/containers/Tenant/Diagnostics/TenantOverview/DefaultOverviewContent/DefaultOverviewContent.js +6 -0
  584. package/dist/containers/Tenant/Diagnostics/TenantOverview/DefaultOverviewContent/defaultDashboardConfig.d.ts +2 -0
  585. package/dist/containers/Tenant/Diagnostics/TenantOverview/DefaultOverviewContent/defaultDashboardConfig.js +44 -0
  586. package/dist/containers/Tenant/Diagnostics/TenantOverview/Healthcheck/HealthcheckDetails.d.ts +12 -0
  587. package/dist/containers/Tenant/Diagnostics/TenantOverview/Healthcheck/HealthcheckDetails.js +24 -0
  588. package/dist/containers/Tenant/Diagnostics/TenantOverview/Healthcheck/HealthcheckPreview.d.ts +15 -0
  589. package/dist/containers/Tenant/Diagnostics/TenantOverview/Healthcheck/HealthcheckPreview.js +31 -0
  590. package/dist/containers/Tenant/Diagnostics/TenantOverview/Healthcheck/IssuesViewer/IssueTree.d.ts +7 -0
  591. package/dist/containers/Tenant/Diagnostics/TenantOverview/Healthcheck/IssuesViewer/IssueTree.js +42 -0
  592. package/dist/containers/Tenant/Diagnostics/TenantOverview/Healthcheck/IssuesViewer/IssueTreeItem/IssueTreeItem.d.ts +9 -0
  593. package/dist/containers/Tenant/Diagnostics/TenantOverview/Healthcheck/IssuesViewer/IssueTreeItem/IssueTreeItem.js +8 -0
  594. package/dist/containers/Tenant/Diagnostics/TenantOverview/Healthcheck/IssuesViewer/IssueTreeItem/index.js +1 -0
  595. package/dist/containers/Tenant/Diagnostics/TenantOverview/Healthcheck/i18n/en.json +6 -6
  596. package/dist/containers/Tenant/Diagnostics/TenantOverview/Healthcheck/i18n/index.d.ts +2 -0
  597. package/dist/containers/Tenant/Diagnostics/TenantOverview/Healthcheck/i18n/index.js +7 -0
  598. package/dist/containers/Tenant/Diagnostics/TenantOverview/Healthcheck/i18n/ru.json +6 -6
  599. package/dist/containers/Tenant/Diagnostics/TenantOverview/MetricsCards/MetricCard/MetricCard.d.ts +12 -0
  600. package/dist/containers/Tenant/Diagnostics/TenantOverview/MetricsCards/MetricCard/MetricCard.js +14 -0
  601. package/dist/containers/Tenant/Diagnostics/TenantOverview/MetricsCards/MetricsCards.d.ts +23 -0
  602. package/dist/containers/Tenant/Diagnostics/TenantOverview/MetricsCards/MetricsCards.js +42 -0
  603. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TenantCpu.d.ts +8 -0
  604. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TenantCpu.js +10 -0
  605. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByCpu.d.ts +8 -0
  606. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByCpu.js +32 -0
  607. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByLoad.d.ts +8 -0
  608. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByLoad.js +32 -0
  609. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopQueries.d.ts +6 -0
  610. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopQueries.js +42 -0
  611. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopShards.d.ts +5 -0
  612. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopShards.js +32 -0
  613. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/cpuDashboardConfig.d.ts +2 -0
  614. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/cpuDashboardConfig.js +12 -0
  615. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantDashboard/TenantDashboard.d.ts +12 -0
  616. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantDashboard/TenantDashboard.js +42 -0
  617. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TenantMemory.d.ts +6 -0
  618. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TenantMemory.js +7 -0
  619. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TopNodesByMemory.d.ts +8 -0
  620. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TopNodesByMemory.js +34 -0
  621. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/memoryDashboardConfig.d.ts +2 -0
  622. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/memoryDashboardConfig.js +15 -0
  623. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantOverview.d.ts +10 -0
  624. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantOverview.js +80 -0
  625. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantOverview.scss +1 -0
  626. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantOverviewTableLayout.d.ts +14 -0
  627. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantOverviewTableLayout.js +30 -0
  628. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TenantStorage.d.ts +14 -0
  629. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TenantStorage.js +29 -0
  630. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopGroups.d.ts +6 -0
  631. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopGroups.js +32 -0
  632. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopTables.d.ts +7 -0
  633. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopTables.js +48 -0
  634. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/storageDashboardConfig.d.ts +2 -0
  635. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/storageDashboardConfig.js +15 -0
  636. package/dist/containers/Tenant/Diagnostics/TenantOverview/getSectionTitle.d.ts +8 -0
  637. package/dist/containers/Tenant/Diagnostics/TenantOverview/getSectionTitle.js +10 -0
  638. package/dist/containers/Tenant/Diagnostics/TenantOverview/i18n/en.json +24 -31
  639. package/dist/containers/Tenant/Diagnostics/TenantOverview/i18n/index.d.ts +2 -0
  640. package/dist/containers/Tenant/Diagnostics/TenantOverview/i18n/index.js +7 -0
  641. package/dist/containers/Tenant/Diagnostics/TenantOverview/i18n/ru.json +24 -31
  642. package/dist/containers/Tenant/Diagnostics/TenantOverview/useHealthcheck.d.ts +14 -0
  643. package/dist/containers/Tenant/Diagnostics/TenantOverview/useHealthcheck.js +27 -0
  644. package/dist/containers/Tenant/Diagnostics/TenantOverview/utils.d.ts +10 -0
  645. package/dist/containers/Tenant/Diagnostics/TenantOverview/utils.js +2 -0
  646. package/dist/containers/Tenant/Diagnostics/TopQueries/TopQueries.d.ts +8 -0
  647. package/dist/containers/Tenant/Diagnostics/TopQueries/TopQueries.js +104 -0
  648. package/dist/containers/Tenant/Diagnostics/TopQueries/getTopQueriesColumns.d.ts +5 -0
  649. package/dist/containers/Tenant/Diagnostics/TopQueries/getTopQueriesColumns.js +83 -0
  650. package/dist/containers/Tenant/Diagnostics/TopQueries/i18n/en.json +2 -2
  651. package/dist/containers/Tenant/Diagnostics/TopQueries/i18n/index.d.ts +2 -0
  652. package/dist/containers/Tenant/Diagnostics/TopQueries/i18n/index.js +7 -0
  653. package/dist/containers/Tenant/Diagnostics/TopQueries/i18n/ru.json +2 -2
  654. package/dist/containers/Tenant/Diagnostics/TopQueries/index.js +1 -0
  655. package/dist/containers/Tenant/Diagnostics/TopShards/Filters/Filters.d.ts +9 -0
  656. package/dist/containers/Tenant/Diagnostics/TopShards/Filters/Filters.js +23 -0
  657. package/dist/containers/Tenant/Diagnostics/TopShards/Filters/index.js +1 -0
  658. package/dist/containers/Tenant/Diagnostics/TopShards/TopShards.d.ts +18 -0
  659. package/dist/containers/Tenant/Diagnostics/TopShards/TopShards.js +156 -0
  660. package/dist/containers/Tenant/Diagnostics/TopShards/getTopShardsColumns.d.ts +5 -0
  661. package/dist/containers/Tenant/Diagnostics/TopShards/getTopShardsColumns.js +107 -0
  662. package/dist/containers/Tenant/Diagnostics/TopShards/i18n/en.json +4 -4
  663. package/dist/containers/Tenant/Diagnostics/TopShards/i18n/index.d.ts +2 -0
  664. package/dist/containers/Tenant/Diagnostics/TopShards/i18n/index.js +7 -0
  665. package/dist/containers/Tenant/Diagnostics/TopShards/i18n/ru.json +4 -4
  666. package/dist/containers/Tenant/Diagnostics/TopShards/index.js +1 -0
  667. package/dist/containers/Tenant/Info/ExternalDataSource/ExternalDataSource.d.ts +8 -0
  668. package/dist/containers/Tenant/Info/ExternalDataSource/ExternalDataSource.js +55 -0
  669. package/dist/containers/Tenant/Info/ExternalTable/ExternalTable.d.ts +8 -0
  670. package/dist/containers/Tenant/Info/ExternalTable/ExternalTable.js +60 -0
  671. package/dist/containers/Tenant/Info/i18n/en.json +6 -6
  672. package/dist/containers/Tenant/Info/i18n/index.d.ts +2 -0
  673. package/dist/containers/Tenant/Info/i18n/index.js +7 -0
  674. package/dist/containers/Tenant/Info/i18n/ru.json +6 -6
  675. package/dist/containers/Tenant/ObjectGeneral/ObjectGeneral.d.ts +11 -0
  676. package/dist/containers/Tenant/ObjectGeneral/ObjectGeneral.js +38 -0
  677. package/dist/containers/Tenant/ObjectSummary/ObjectSummary.d.ts +12 -0
  678. package/dist/containers/Tenant/ObjectSummary/ObjectSummary.js +190 -0
  679. package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.d.ts +13 -0
  680. package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.js +92 -0
  681. package/dist/containers/Tenant/Query/ExplainResult/ExplainResult.d.ts +1 -0
  682. package/dist/containers/Tenant/Query/ExplainResult/ExplainResult.js +49 -172
  683. package/dist/containers/Tenant/Query/ExplainResult/utils.d.ts +2 -0
  684. package/dist/containers/Tenant/Query/ExplainResult/utils.js +4 -0
  685. package/dist/containers/Tenant/Query/Issues/Issues.d.ts +12 -0
  686. package/dist/containers/Tenant/Query/Issues/Issues.js +75 -0
  687. package/dist/containers/Tenant/Query/Issues/models.d.ts +4 -0
  688. package/dist/containers/Tenant/Query/Issues/models.js +12 -0
  689. package/dist/containers/Tenant/Query/Preview/Preview.d.ts +8 -0
  690. package/dist/containers/Tenant/Query/Preview/Preview.js +59 -0
  691. package/dist/containers/Tenant/Query/QueriesHistory/QueriesHistory.d.ts +9 -0
  692. package/dist/containers/Tenant/Query/QueriesHistory/QueriesHistory.js +52 -0
  693. package/dist/containers/Tenant/Query/Query.d.ts +9 -0
  694. package/dist/containers/Tenant/Query/Query.js +42 -0
  695. package/dist/containers/Tenant/Query/QueryDuration/QueryDuration.d.ts +6 -0
  696. package/dist/containers/Tenant/Query/QueryDuration/QueryDuration.js +14 -0
  697. package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.d.ts +32 -0
  698. package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.js +59 -248
  699. package/dist/containers/Tenant/Query/QueryEditorControls/QueryEditorControls.d.ts +16 -0
  700. package/dist/containers/Tenant/Query/QueryEditorControls/QueryEditorControls.js +57 -0
  701. package/dist/containers/Tenant/Query/QueryTabs/QueryTabs.d.ts +7 -0
  702. package/dist/containers/Tenant/Query/QueryTabs/QueryTabs.js +29 -0
  703. package/dist/containers/Tenant/Query/SaveQuery/SaveQuery.d.ts +6 -0
  704. package/dist/containers/Tenant/Query/SaveQuery/SaveQuery.js +11 -78
  705. package/dist/containers/Tenant/Query/SavedQueries/SavedQueries.d.ts +11 -0
  706. package/dist/containers/Tenant/Query/SavedQueries/SavedQueries.js +65 -0
  707. package/dist/containers/Tenant/Query/i18n/en.json +19 -25
  708. package/dist/containers/Tenant/Query/i18n/index.d.ts +2 -0
  709. package/dist/containers/Tenant/Query/i18n/index.js +7 -0
  710. package/dist/containers/Tenant/Query/i18n/ru.json +19 -25
  711. package/dist/containers/Tenant/Query/utils/getPreparedResult.d.ts +2 -0
  712. package/dist/containers/Tenant/Query/utils/getPreparedResult.js +23 -0
  713. package/dist/containers/Tenant/Schema/SchemaTree/SchemaTree.d.ts +10 -0
  714. package/dist/containers/Tenant/Schema/SchemaTree/SchemaTree.js +56 -0
  715. package/dist/containers/Tenant/Schema/SchemaViewer/SchemaViewer.d.ts +9 -0
  716. package/dist/containers/Tenant/Schema/SchemaViewer/SchemaViewer.js +72 -0
  717. package/dist/containers/Tenant/Tenant.d.ts +9 -0
  718. package/dist/containers/Tenant/Tenant.js +66 -0
  719. package/dist/containers/Tenant/TenantPages.d.ts +18 -0
  720. package/dist/containers/Tenant/TenantPages.js +27 -0
  721. package/dist/containers/Tenant/i18n/en.json +19 -22
  722. package/dist/containers/Tenant/i18n/index.d.ts +2 -0
  723. package/dist/containers/Tenant/i18n/index.js +7 -0
  724. package/dist/containers/Tenant/i18n/ru.json +19 -22
  725. package/dist/containers/Tenant/utils/constants.d.ts +3 -0
  726. package/dist/containers/Tenant/utils/constants.js +3 -0
  727. package/dist/containers/Tenant/utils/index.d.ts +2 -0
  728. package/dist/containers/Tenant/utils/index.js +5 -0
  729. package/dist/containers/Tenant/utils/paneVisibilityToggleHelpers.d.ts +22 -0
  730. package/dist/containers/Tenant/utils/paneVisibilityToggleHelpers.js +50 -0
  731. package/dist/containers/Tenant/utils/queryTemplates.d.ts +9 -0
  732. package/dist/containers/Tenant/utils/queryTemplates.js +107 -0
  733. package/dist/containers/Tenant/utils/schema.d.ts +15 -0
  734. package/dist/containers/Tenant/utils/schema.js +171 -0
  735. package/dist/containers/Tenant/utils/schemaActions.d.ts +9 -0
  736. package/dist/containers/Tenant/utils/schemaActions.js +104 -0
  737. package/dist/containers/Tenant/utils/schemaControls.d.ts +7 -0
  738. package/dist/containers/Tenant/utils/schemaControls.js +35 -0
  739. package/dist/containers/Tenants/Tenants.d.ts +7 -0
  740. package/dist/containers/Tenants/Tenants.js +166 -0
  741. package/dist/containers/Tenants/Tenants.scss +1 -0
  742. package/dist/containers/UserSettings/Setting.d.ts +15 -0
  743. package/dist/containers/UserSettings/Setting.js +37 -0
  744. package/dist/containers/UserSettings/UserSettings.d.ts +17 -0
  745. package/dist/containers/UserSettings/UserSettings.js +18 -0
  746. package/dist/containers/UserSettings/i18n/en.json +18 -25
  747. package/dist/containers/UserSettings/i18n/index.d.ts +2 -0
  748. package/dist/containers/UserSettings/i18n/index.js +7 -0
  749. package/dist/containers/UserSettings/i18n/ru.json +18 -25
  750. package/dist/containers/UserSettings/settings.d.ts +25 -0
  751. package/dist/containers/UserSettings/settings.js +87 -0
  752. package/dist/containers/Versions/GroupedNodesTree/GroupedNodesTree.d.ts +25 -0
  753. package/dist/containers/Versions/GroupedNodesTree/GroupedNodesTree.js +22 -0
  754. package/dist/containers/Versions/NodesTable/NodesTable.d.ts +6 -0
  755. package/dist/containers/Versions/NodesTable/NodesTable.js +87 -0
  756. package/dist/containers/Versions/NodesTreeTitle/NodesTreeTitle.d.ts +13 -0
  757. package/dist/containers/Versions/NodesTreeTitle/NodesTreeTitle.js +21 -0
  758. package/dist/containers/Versions/Versions.d.ts +7 -0
  759. package/dist/containers/Versions/Versions.js +39 -0
  760. package/dist/containers/Versions/groupNodes.d.ts +6 -0
  761. package/dist/containers/Versions/groupNodes.js +88 -0
  762. package/dist/containers/Versions/types.d.ts +14 -0
  763. package/dist/containers/Versions/types.js +6 -0
  764. package/dist/index.css +1 -0
  765. package/dist/lib.d.ts +20 -0
  766. package/dist/lib.js +16 -0
  767. package/dist/reportWebVitals.d.ts +3 -0
  768. package/dist/reportWebVitals.js +12 -0
  769. package/dist/routes.d.ts +21 -0
  770. package/dist/routes.js +56 -0
  771. package/dist/services/api.d.ts +114 -0
  772. package/dist/services/api.js +278 -0
  773. package/dist/services/parsers/parseMetaCluster.d.ts +3 -0
  774. package/dist/services/parsers/parseMetaCluster.js +5 -0
  775. package/dist/services/parsers/parseMetaTenants.d.ts +3 -0
  776. package/dist/services/parsers/parseMetaTenants.js +5 -0
  777. package/dist/services/settings.d.ts +24 -0
  778. package/dist/services/settings.js +82 -0
  779. package/dist/store/getUrlData.d.ts +13 -0
  780. package/dist/store/getUrlData.js +27 -0
  781. package/dist/store/index.d.ts +97 -0
  782. package/dist/store/index.js +34 -22
  783. package/dist/store/reducers/authentication/authentication.d.ts +22 -0
  784. package/dist/store/reducers/authentication/authentication.js +50 -0
  785. package/dist/store/reducers/authentication/types.d.ts +9 -0
  786. package/dist/store/reducers/authentication/types.js +1 -0
  787. package/dist/store/reducers/cluster/__test__/parseGroupsStatsQueryResponse.test.d.ts +1 -0
  788. package/dist/store/reducers/cluster/__test__/parseGroupsStatsQueryResponse.test.js +117 -0
  789. package/dist/store/reducers/cluster/cluster.d.ts +10 -0
  790. package/dist/store/reducers/cluster/cluster.js +66 -0
  791. package/dist/store/reducers/cluster/types.d.ts +28 -0
  792. package/dist/store/reducers/cluster/types.js +1 -0
  793. package/dist/store/reducers/cluster/utils.d.ts +4 -0
  794. package/dist/store/reducers/cluster/utils.js +68 -0
  795. package/dist/store/reducers/clusterNodes/clusterNodes.d.ts +10 -0
  796. package/dist/store/reducers/clusterNodes/clusterNodes.js +37 -0
  797. package/dist/store/reducers/clusterNodes/types.d.ts +14 -0
  798. package/dist/store/reducers/clusterNodes/types.js +1 -0
  799. package/dist/store/reducers/clusters/clusters.d.ts +14 -0
  800. package/dist/store/reducers/clusters/clusters.js +45 -0
  801. package/dist/store/reducers/clusters/selectors.d.ts +22 -0
  802. package/dist/store/reducers/clusters/selectors.js +106 -0
  803. package/dist/store/reducers/clusters/types.d.ts +32 -0
  804. package/dist/store/reducers/clusters/types.js +1 -0
  805. package/dist/store/reducers/clusters/utils.d.ts +3 -0
  806. package/dist/store/reducers/clusters/utils.js +13 -0
  807. package/dist/store/reducers/describe.d.ts +20 -0
  808. package/dist/store/reducers/describe.js +97 -0
  809. package/dist/store/reducers/executeQuery.d.ts +51 -0
  810. package/dist/store/reducers/executeQuery.js +144 -0
  811. package/dist/store/reducers/executeTopQueries/executeTopQueries.d.ts +25 -0
  812. package/dist/store/reducers/executeTopQueries/executeTopQueries.js +71 -0
  813. package/dist/store/reducers/executeTopQueries/types.d.ts +21 -0
  814. package/dist/store/reducers/executeTopQueries/types.js +1 -0
  815. package/dist/store/reducers/executeTopQueries/utils.d.ts +2 -0
  816. package/dist/store/reducers/executeTopQueries/utils.js +27 -0
  817. package/dist/store/reducers/explainQuery.d.ts +23 -0
  818. package/dist/store/reducers/explainQuery.js +94 -0
  819. package/dist/store/reducers/fullscreen.d.ts +8 -0
  820. package/dist/store/reducers/fullscreen.js +24 -0
  821. package/dist/store/reducers/header/header.d.ts +9 -0
  822. package/dist/store/reducers/header/header.js +23 -0
  823. package/dist/store/reducers/header/types.d.ts +28 -0
  824. package/dist/store/reducers/header/types.js +1 -0
  825. package/dist/store/reducers/healthcheckInfo.d.ts +21 -0
  826. package/dist/store/reducers/healthcheckInfo.js +93 -0
  827. package/dist/store/reducers/heatmap.d.ts +27 -0
  828. package/dist/store/reducers/heatmap.js +70 -0
  829. package/dist/store/reducers/host.d.ts +10 -0
  830. package/dist/store/reducers/host.js +26 -0
  831. package/dist/store/reducers/hotKeys.d.ts +11 -0
  832. package/dist/store/reducers/hotKeys.js +6 -29
  833. package/dist/store/reducers/index.d.ts +200 -0
  834. package/dist/store/reducers/index.js +91 -0
  835. package/dist/store/reducers/network/network.d.ts +13 -0
  836. package/dist/store/reducers/network/network.js +37 -0
  837. package/dist/store/reducers/network/types.d.ts +11 -0
  838. package/dist/store/reducers/network/types.js +1 -0
  839. package/dist/store/reducers/node/node.d.ts +19 -0
  840. package/dist/store/reducers/node/node.js +57 -0
  841. package/dist/store/reducers/node/selectors.d.ts +3 -0
  842. package/dist/store/reducers/node/selectors.js +36 -0
  843. package/dist/store/reducers/node/types.d.ts +34 -0
  844. package/dist/store/reducers/node/types.js +1 -0
  845. package/dist/store/reducers/nodes/nodes.d.ts +30 -0
  846. package/dist/store/reducers/nodes/nodes.js +105 -0
  847. package/dist/store/reducers/nodes/selectors.d.ts +7 -0
  848. package/dist/store/reducers/nodes/selectors.js +49 -0
  849. package/dist/store/reducers/nodes/types.d.ts +78 -0
  850. package/dist/store/reducers/nodes/types.js +1 -0
  851. package/dist/store/reducers/nodes/utils.d.ts +7 -0
  852. package/dist/store/reducers/nodes/utils.js +50 -0
  853. package/dist/store/reducers/nodesList.d.ts +11 -0
  854. package/dist/store/reducers/nodesList.js +27 -0
  855. package/dist/store/reducers/olapStats.d.ts +15 -0
  856. package/dist/store/reducers/olapStats.js +48 -0
  857. package/dist/store/reducers/overview/overview.d.ts +24 -0
  858. package/dist/store/reducers/overview/overview.js +72 -0
  859. package/dist/store/reducers/overview/types.d.ts +17 -0
  860. package/dist/store/reducers/overview/types.js +1 -0
  861. package/dist/store/reducers/partitions/partitions.d.ts +17 -0
  862. package/dist/store/reducers/partitions/partitions.js +67 -0
  863. package/dist/store/reducers/partitions/types.d.ts +32 -0
  864. package/dist/store/reducers/partitions/types.js +1 -0
  865. package/dist/store/reducers/partitions/utils.d.ts +5 -0
  866. package/dist/store/reducers/partitions/utils.js +41 -0
  867. package/dist/store/reducers/preview.d.ts +23 -0
  868. package/dist/store/reducers/preview.js +40 -0
  869. package/dist/store/reducers/saveQuery.d.ts +12 -0
  870. package/dist/store/reducers/saveQuery.js +25 -0
  871. package/dist/store/reducers/schema/schema.d.ts +48 -0
  872. package/dist/store/reducers/schema/schema.js +125 -0
  873. package/dist/store/reducers/schema/types.d.ts +26 -0
  874. package/dist/store/reducers/schema/types.js +1 -0
  875. package/dist/store/reducers/schemaAcl/schemaAcl.d.ts +15 -0
  876. package/dist/store/reducers/schemaAcl/schemaAcl.js +44 -0
  877. package/dist/store/reducers/schemaAcl/types.d.ts +12 -0
  878. package/dist/store/reducers/schemaAcl/types.js +1 -0
  879. package/dist/store/reducers/settings/settings.d.ts +29 -0
  880. package/dist/store/reducers/settings/settings.js +50 -0
  881. package/dist/store/reducers/settings/types.d.ts +20 -0
  882. package/dist/store/reducers/settings/types.js +1 -0
  883. package/dist/store/reducers/shardsWorkload/shardsWorkload.d.ts +31 -0
  884. package/dist/store/reducers/shardsWorkload/shardsWorkload.js +135 -0
  885. package/dist/store/reducers/shardsWorkload/types.d.ts +25 -0
  886. package/dist/store/reducers/shardsWorkload/types.js +5 -0
  887. package/dist/store/reducers/singleClusterMode.d.ts +2 -0
  888. package/dist/store/reducers/singleClusterMode.js +4 -0
  889. package/dist/store/reducers/storage/constants.d.ts +9 -0
  890. package/dist/store/reducers/storage/constants.js +9 -0
  891. package/dist/store/reducers/storage/selectors.d.ts +27 -0
  892. package/dist/store/reducers/storage/selectors.js +105 -0
  893. package/dist/store/reducers/storage/storage.d.ts +47 -0
  894. package/dist/store/reducers/storage/storage.js +151 -0
  895. package/dist/store/reducers/storage/types.d.ts +81 -0
  896. package/dist/store/reducers/storage/types.js +1 -0
  897. package/dist/store/reducers/storage/utils.d.ts +6 -0
  898. package/dist/store/reducers/storage/utils.js +125 -0
  899. package/dist/store/reducers/tablet.d.ts +20 -0
  900. package/dist/store/reducers/tablet.js +85 -0
  901. package/dist/store/reducers/tablets.d.ts +22 -0
  902. package/dist/store/reducers/tablets.js +57 -0
  903. package/dist/store/reducers/tabletsFilters.d.ts +60 -0
  904. package/dist/store/reducers/tabletsFilters.js +28 -73
  905. package/dist/store/reducers/tenant/constants.d.ts +35 -0
  906. package/dist/store/reducers/tenant/constants.js +35 -0
  907. package/dist/store/reducers/tenant/tenant.d.ts +39 -0
  908. package/dist/store/reducers/tenant/tenant.js +104 -0
  909. package/dist/store/reducers/tenant/types.d.ts +23 -0
  910. package/dist/store/reducers/tenant/types.js +1 -0
  911. package/dist/store/reducers/tenantOverview/executeTopTables/executeTopTables.d.ts +13 -0
  912. package/dist/store/reducers/tenantOverview/executeTopTables/executeTopTables.js +61 -0
  913. package/dist/store/reducers/tenantOverview/executeTopTables/types.d.ts +10 -0
  914. package/dist/store/reducers/tenantOverview/executeTopTables/types.js +1 -0
  915. package/dist/store/reducers/tenantOverview/topNodesByCpu/topNodesByCpu.d.ts +14 -0
  916. package/dist/store/reducers/tenantOverview/topNodesByCpu/topNodesByCpu.js +57 -0
  917. package/dist/store/reducers/tenantOverview/topNodesByCpu/types.d.ts +19 -0
  918. package/dist/store/reducers/tenantOverview/topNodesByCpu/types.js +1 -0
  919. package/dist/store/reducers/tenantOverview/topNodesByLoad/topNodesByLoad.d.ts +14 -0
  920. package/dist/store/reducers/tenantOverview/topNodesByLoad/topNodesByLoad.js +57 -0
  921. package/dist/store/reducers/tenantOverview/topNodesByLoad/types.d.ts +19 -0
  922. package/dist/store/reducers/tenantOverview/topNodesByLoad/types.js +1 -0
  923. package/dist/store/reducers/tenantOverview/topNodesByMemory/topNodesByMemory.d.ts +14 -0
  924. package/dist/store/reducers/tenantOverview/topNodesByMemory/topNodesByMemory.js +57 -0
  925. package/dist/store/reducers/tenantOverview/topNodesByMemory/types.d.ts +19 -0
  926. package/dist/store/reducers/tenantOverview/topNodesByMemory/types.js +1 -0
  927. package/dist/store/reducers/tenantOverview/topQueries/tenantOverviewTopQueries.d.ts +12 -0
  928. package/dist/store/reducers/tenantOverview/topQueries/tenantOverviewTopQueries.js +55 -0
  929. package/dist/store/reducers/tenantOverview/topQueries/types.d.ts +10 -0
  930. package/dist/store/reducers/tenantOverview/topQueries/types.js +1 -0
  931. package/dist/store/reducers/tenantOverview/topShards/tenantOverviewTopShards.d.ts +12 -0
  932. package/dist/store/reducers/tenantOverview/topShards/tenantOverviewTopShards.js +64 -0
  933. package/dist/store/reducers/tenantOverview/topShards/types.d.ts +10 -0
  934. package/dist/store/reducers/tenantOverview/topShards/types.js +1 -0
  935. package/dist/store/reducers/tenantOverview/topShards/utils.d.ts +1 -0
  936. package/dist/store/reducers/tenantOverview/topShards/utils.js +2 -0
  937. package/dist/store/reducers/tenantOverview/topStorageGroups/topStorageGroups.d.ts +15 -0
  938. package/dist/store/reducers/tenantOverview/topStorageGroups/topStorageGroups.js +58 -0
  939. package/dist/store/reducers/tenantOverview/topStorageGroups/types.d.ts +19 -0
  940. package/dist/store/reducers/tenantOverview/topStorageGroups/types.js +1 -0
  941. package/dist/store/reducers/tenantOverview/topStorageGroups/utils.d.ts +3 -0
  942. package/dist/store/reducers/tenantOverview/topStorageGroups/utils.js +12 -0
  943. package/dist/store/reducers/tenants/contants.d.ts +6 -0
  944. package/dist/store/reducers/tenants/contants.js +6 -0
  945. package/dist/store/reducers/tenants/selectors.d.ts +6 -0
  946. package/dist/store/reducers/tenants/selectors.js +28 -0
  947. package/dist/store/reducers/tenants/tenants.d.ts +52 -0
  948. package/dist/store/reducers/tenants/tenants.js +43 -0
  949. package/dist/store/reducers/tenants/types.d.ts +28 -0
  950. package/dist/store/reducers/tenants/types.js +1 -0
  951. package/dist/store/reducers/tenants/utils.d.ts +65 -0
  952. package/dist/store/reducers/tenants/utils.js +136 -0
  953. package/dist/store/reducers/tooltip.d.ts +15 -0
  954. package/dist/store/reducers/tooltip.js +41 -0
  955. package/dist/store/reducers/topic.d.ts +20 -0
  956. package/dist/store/reducers/topic.js +88 -0
  957. package/dist/store/state-url-mapping.d.ts +4 -0
  958. package/dist/store/state-url-mapping.js +30 -45
  959. package/dist/store/utils.d.ts +24 -0
  960. package/dist/store/utils.js +49 -0
  961. package/dist/types/additionalProps.d.ts +25 -0
  962. package/dist/types/additionalProps.js +1 -0
  963. package/dist/types/api/acl.d.ts +23 -0
  964. package/dist/types/api/acl.js +1 -0
  965. package/dist/types/api/cluster.d.ts +37 -0
  966. package/dist/types/api/cluster.js +1 -0
  967. package/dist/types/api/common.js +1 -0
  968. package/dist/types/api/compute.d.ts +60 -0
  969. package/dist/types/api/compute.js +5 -0
  970. package/dist/types/api/consumer.d.ts +215 -0
  971. package/dist/types/api/consumer.js +18 -0
  972. package/dist/types/api/enums.d.ts +7 -0
  973. package/dist/types/api/enums.js +11 -0
  974. package/dist/types/api/error.d.ts +21 -0
  975. package/dist/types/api/error.js +1 -0
  976. package/dist/types/api/healthcheck.d.ts +76 -0
  977. package/dist/types/api/healthcheck.js +18 -0
  978. package/dist/types/api/meta.d.ts +46 -0
  979. package/dist/types/api/meta.js +1 -0
  980. package/dist/types/api/netInfo.d.ts +44 -0
  981. package/dist/types/api/netInfo.js +7 -0
  982. package/dist/types/api/nodes.d.ts +113 -0
  983. package/dist/types/api/nodes.js +6 -0
  984. package/dist/types/api/nodesList.d.ts +24 -0
  985. package/dist/types/api/nodesList.js +1 -0
  986. package/dist/types/api/pdisk.d.ts +56 -0
  987. package/dist/types/api/pdisk.js +22 -0
  988. package/dist/types/api/query.d.ts +221 -0
  989. package/dist/types/api/query.js +1 -0
  990. package/dist/types/api/render.d.ts +28 -0
  991. package/dist/types/api/render.js +6 -0
  992. package/dist/types/api/schema/cdcStream.d.ts +29 -0
  993. package/dist/types/api/schema/cdcStream.js +22 -0
  994. package/dist/types/api/schema/columnEntity.d.ts +105 -0
  995. package/dist/types/api/schema/columnEntity.js +11 -0
  996. package/dist/types/api/schema/externalDataSource.d.ts +22 -0
  997. package/dist/types/api/schema/externalDataSource.js +1 -0
  998. package/dist/types/api/schema/externalTable.d.ts +13 -0
  999. package/dist/types/api/schema/externalTable.js +1 -0
  1000. package/dist/types/api/schema/index.d.ts +9 -0
  1001. package/dist/types/api/schema/index.js +9 -0
  1002. package/dist/types/api/schema/persQueueGroup.d.ts +154 -0
  1003. package/dist/types/api/schema/persQueueGroup.js +5 -0
  1004. package/dist/types/api/schema/schema.d.ts +247 -0
  1005. package/dist/types/api/schema/schema.js +64 -0
  1006. package/dist/types/api/schema/shared.d.ts +37 -0
  1007. package/dist/types/api/schema/shared.js +14 -0
  1008. package/dist/types/api/schema/table.d.ts +567 -0
  1009. package/dist/types/api/schema/table.js +38 -0
  1010. package/dist/types/api/schema/tableIndex.d.ts +27 -0
  1011. package/dist/types/api/schema/tableIndex.js +14 -0
  1012. package/dist/types/api/storage.d.ts +97 -0
  1013. package/dist/types/api/storage.js +5 -0
  1014. package/dist/types/api/systemState.d.ts +12 -0
  1015. package/dist/types/api/systemState.js +1 -0
  1016. package/dist/types/api/tablet.d.ts +112 -0
  1017. package/dist/types/api/tablet.js +59 -0
  1018. package/dist/types/api/tenant.d.ts +147 -0
  1019. package/dist/types/api/tenant.js +25 -0
  1020. package/dist/types/api/topic.d.ts +128 -0
  1021. package/dist/types/api/topic.js +11 -0
  1022. package/dist/types/api/vdisk.d.ts +119 -0
  1023. package/dist/types/api/vdisk.js +9 -0
  1024. package/dist/types/api/whoami.d.ts +18 -0
  1025. package/dist/types/api/whoami.js +1 -0
  1026. package/dist/types/common.d.ts +1 -0
  1027. package/dist/types/common.js +1 -0
  1028. package/dist/types/index.d.ts +28 -0
  1029. package/dist/types/index.js +31 -0
  1030. package/dist/types/store/describe.d.ts +24 -0
  1031. package/dist/types/store/describe.js +1 -0
  1032. package/dist/types/store/executeQuery.d.ts +28 -0
  1033. package/dist/types/store/executeQuery.js +1 -0
  1034. package/dist/types/store/explainQuery.d.ts +26 -0
  1035. package/dist/types/store/explainQuery.js +1 -0
  1036. package/dist/types/store/healthcheck.d.ts +20 -0
  1037. package/dist/types/store/healthcheck.js +1 -0
  1038. package/dist/types/store/heatmap.d.ts +38 -0
  1039. package/dist/types/store/heatmap.js +1 -0
  1040. package/dist/types/store/host.d.ts +15 -0
  1041. package/dist/types/store/host.js +1 -0
  1042. package/dist/types/store/nodesList.d.ts +15 -0
  1043. package/dist/types/store/nodesList.js +1 -0
  1044. package/dist/types/store/olapStats.d.ts +10 -0
  1045. package/dist/types/store/olapStats.js +1 -0
  1046. package/dist/types/store/query.d.ts +29 -0
  1047. package/dist/types/store/query.js +1 -0
  1048. package/dist/types/store/tablet.d.ts +35 -0
  1049. package/dist/types/store/tablet.js +1 -0
  1050. package/dist/types/store/tablets.d.ts +22 -0
  1051. package/dist/types/store/tablets.js +1 -0
  1052. package/dist/types/store/tooltip.d.ts +22 -0
  1053. package/dist/types/store/tooltip.js +1 -0
  1054. package/dist/types/store/topic.d.ts +28 -0
  1055. package/dist/types/store/topic.js +1 -0
  1056. package/dist/types/versions.d.ts +8 -0
  1057. package/dist/types/versions.js +1 -0
  1058. package/dist/utils/__test__/monitoring.test.d.ts +1 -0
  1059. package/dist/utils/__test__/monitoring.test.js +37 -0
  1060. package/dist/utils/__test__/parseBalancer.test.d.ts +1 -0
  1061. package/dist/utils/__test__/parseBalancer.test.js +68 -0
  1062. package/dist/utils/__test__/prepareBackend.test.d.ts +1 -0
  1063. package/dist/utils/__test__/prepareBackend.test.js +42 -0
  1064. package/dist/utils/additionalProps.d.ts +2 -0
  1065. package/dist/utils/additionalProps.js +7 -0
  1066. package/dist/utils/autofetcher.d.ts +13 -0
  1067. package/dist/utils/autofetcher.js +50 -0
  1068. package/dist/utils/bytesParsers/__test__/formatBytes.test.d.ts +1 -0
  1069. package/dist/utils/bytesParsers/__test__/formatBytes.test.js +44 -0
  1070. package/dist/utils/bytesParsers/convertBytesObjectToSpeed.d.ts +11 -0
  1071. package/dist/utils/bytesParsers/convertBytesObjectToSpeed.js +12 -0
  1072. package/dist/utils/bytesParsers/formatBytes.d.ts +57 -0
  1073. package/dist/utils/bytesParsers/formatBytes.js +104 -0
  1074. package/dist/utils/bytesParsers/i18n/en.json +6 -6
  1075. package/dist/utils/bytesParsers/i18n/index.d.ts +2 -0
  1076. package/dist/utils/bytesParsers/i18n/index.js +7 -0
  1077. package/dist/utils/bytesParsers/i18n/ru.json +6 -6
  1078. package/dist/utils/bytesParsers/index.js +2 -0
  1079. package/dist/utils/clusterVersionColors.d.ts +11 -0
  1080. package/dist/utils/clusterVersionColors.js +51 -0
  1081. package/dist/utils/cn.d.ts +2 -0
  1082. package/dist/utils/cn.js +2 -0
  1083. package/dist/utils/constants.d.ts +86 -0
  1084. package/dist/utils/constants.js +99 -0
  1085. package/dist/utils/createToast.d.ts +10 -0
  1086. package/dist/utils/createToast.js +13 -0
  1087. package/dist/utils/dataFormatters/__test__/roundToSignificant.test.d.ts +1 -0
  1088. package/dist/utils/dataFormatters/__test__/roundToSignificant.test.js +21 -0
  1089. package/dist/utils/dataFormatters/dataFormatters.d.ts +21 -0
  1090. package/dist/utils/dataFormatters/dataFormatters.js +116 -0
  1091. package/dist/utils/dataFormatters/i18n/en.json +1 -1
  1092. package/dist/utils/dataFormatters/i18n/index.d.ts +2 -0
  1093. package/dist/utils/dataFormatters/i18n/index.js +7 -0
  1094. package/dist/utils/dataFormatters/i18n/ru.json +1 -1
  1095. package/dist/utils/developerUI/__test__/developerUI.test.d.ts +1 -0
  1096. package/dist/utils/developerUI/__test__/developerUI.test.js +31 -0
  1097. package/dist/utils/developerUI/developerUI.d.ts +12 -0
  1098. package/dist/utils/developerUI/developerUI.js +20 -0
  1099. package/dist/utils/diagnostics.d.ts +18 -0
  1100. package/dist/utils/diagnostics.js +14 -0
  1101. package/dist/utils/error.d.ts +2 -0
  1102. package/dist/utils/error.js +13 -0
  1103. package/dist/utils/filters.d.ts +3 -0
  1104. package/dist/utils/filters.js +14 -0
  1105. package/dist/utils/generateEvaluator.d.ts +1 -0
  1106. package/dist/utils/generateEvaluator.js +12 -0
  1107. package/dist/utils/generateHash.d.ts +1 -0
  1108. package/dist/utils/generateHash.js +10 -0
  1109. package/dist/utils/hooks/index.d.ts +8 -0
  1110. package/dist/utils/hooks/index.js +8 -0
  1111. package/dist/utils/hooks/useAutofetcher.d.ts +2 -0
  1112. package/dist/utils/hooks/useAutofetcher.js +23 -0
  1113. package/dist/utils/hooks/useNodesRequestParams.d.ts +15 -0
  1114. package/dist/utils/hooks/useNodesRequestParams.js +23 -0
  1115. package/dist/utils/hooks/useQueryModes.d.ts +2 -0
  1116. package/dist/utils/hooks/useQueryModes.js +5 -0
  1117. package/dist/utils/hooks/useSearchQuery.d.ts +1 -0
  1118. package/dist/utils/hooks/useSearchQuery.js +6 -0
  1119. package/dist/utils/hooks/useSetting.d.ts +1 -0
  1120. package/dist/utils/hooks/useSetting.js +16 -0
  1121. package/dist/utils/hooks/useStorageRequestParams.d.ts +8 -0
  1122. package/dist/utils/hooks/useStorageRequestParams.js +20 -0
  1123. package/dist/utils/hooks/useTableResize.d.ts +7 -0
  1124. package/dist/utils/hooks/useTableResize.js +27 -0
  1125. package/dist/utils/hooks/useTableSort.d.ts +8 -0
  1126. package/dist/utils/hooks/useTableSort.js +21 -0
  1127. package/dist/utils/hooks/useTypedSelector.d.ts +3 -0
  1128. package/dist/utils/hooks/useTypedSelector.js +2 -0
  1129. package/dist/utils/i18n/i18n.d.ts +9 -0
  1130. package/dist/utils/i18n/i18n.js +17 -0
  1131. package/dist/utils/i18n/index.js +1 -0
  1132. package/dist/utils/index.d.ts +1 -0
  1133. package/dist/utils/index.js +3 -0
  1134. package/dist/utils/monaco.d.ts +2 -0
  1135. package/dist/utils/monaco.js +62 -0
  1136. package/dist/utils/monitoring.d.ts +19 -0
  1137. package/dist/utils/monitoring.js +45 -0
  1138. package/dist/utils/nodes.d.ts +38 -0
  1139. package/dist/utils/nodes.js +46 -0
  1140. package/dist/utils/numeral.d.ts +3 -0
  1141. package/dist/utils/numeral.js +5 -0
  1142. package/dist/utils/parseBalancer.d.ts +16 -0
  1143. package/dist/utils/parseBalancer.js +37 -0
  1144. package/dist/utils/pdisk.d.ts +17 -0
  1145. package/dist/utils/pdisk.js +63 -0
  1146. package/dist/utils/prepareBackend.d.ts +4 -0
  1147. package/dist/utils/prepareBackend.js +33 -0
  1148. package/dist/utils/prepareQueryExplain.d.ts +6 -0
  1149. package/dist/utils/prepareQueryExplain.js +88 -0
  1150. package/dist/utils/query.d.ts +28 -0
  1151. package/dist/utils/query.js +181 -0
  1152. package/dist/utils/query.test.d.ts +1 -0
  1153. package/dist/utils/query.test.js +164 -0
  1154. package/dist/utils/registerError.d.ts +1 -0
  1155. package/dist/utils/registerError.js +17 -0
  1156. package/dist/utils/storage.d.ts +28 -0
  1157. package/dist/utils/storage.js +24 -0
  1158. package/dist/utils/tablet.d.ts +5 -0
  1159. package/dist/utils/tablet.js +41 -0
  1160. package/dist/utils/timeParsers/__test__/formatDuration.test.d.ts +1 -0
  1161. package/dist/utils/timeParsers/__test__/formatDuration.test.js +39 -0
  1162. package/dist/utils/timeParsers/__test__/protobuf.test.d.ts +1 -0
  1163. package/dist/utils/timeParsers/__test__/protobuf.test.js +63 -0
  1164. package/dist/utils/timeParsers/formatDuration.d.ts +12 -0
  1165. package/dist/utils/timeParsers/formatDuration.js +63 -0
  1166. package/dist/utils/timeParsers/i18n/en.json +9 -9
  1167. package/dist/utils/timeParsers/i18n/index.d.ts +2 -0
  1168. package/dist/utils/timeParsers/i18n/index.js +7 -0
  1169. package/dist/utils/timeParsers/i18n/ru.json +9 -9
  1170. package/dist/utils/timeParsers/index.js +3 -0
  1171. package/dist/utils/timeParsers/parsers.d.ts +4 -0
  1172. package/dist/utils/timeParsers/parsers.js +18 -0
  1173. package/dist/utils/timeParsers/protobufParsers.d.ts +15 -0
  1174. package/dist/utils/timeParsers/protobufParsers.js +33 -0
  1175. package/dist/utils/timeframes.d.ts +7 -0
  1176. package/dist/utils/timeframes.js +7 -0
  1177. package/dist/utils/tooltip.d.ts +10 -0
  1178. package/dist/utils/tooltip.js +18 -104
  1179. package/dist/utils/typecheckers.d.ts +4 -0
  1180. package/dist/utils/typecheckers.js +4 -0
  1181. package/dist/utils/utils.d.ts +7 -0
  1182. package/dist/utils/utils.js +16 -16
  1183. package/dist/utils/versions/getVersionsColors.d.ts +7 -0
  1184. package/dist/utils/versions/getVersionsColors.js +84 -0
  1185. package/dist/utils/versions/index.js +3 -0
  1186. package/dist/utils/versions/parseNodesToVersionsValues.d.ts +3 -0
  1187. package/dist/utils/versions/parseNodesToVersionsValues.js +22 -0
  1188. package/dist/utils/versions/parseVersion.d.ts +2 -0
  1189. package/dist/utils/versions/parseVersion.js +17 -0
  1190. package/package.json +47 -35
  1191. package/dist/components/BasicNodeViewer/BasicNodeViewer.tsx +0 -55
  1192. package/dist/components/CellWithPopover/CellWithPopover.tsx +0 -26
  1193. package/dist/components/CircularProgressBar/CircularProgressBar.tsx +0 -59
  1194. package/dist/components/ClipboardButton/ClipboardButton.tsx +0 -52
  1195. package/dist/components/ContentWithPopup/ContentWithPopup.tsx +0 -51
  1196. package/dist/components/CriticalActionDialog/CriticalActionDialog.tsx +0 -61
  1197. package/dist/components/DateRange/DateRange.tsx +0 -75
  1198. package/dist/components/DiagnosticCard/DiagnosticCard.tsx +0 -16
  1199. package/dist/components/Divider/Divider.tsx +0 -11
  1200. package/dist/components/EmptyState/EmptyState.tsx +0 -55
  1201. package/dist/components/EnableFullscreenButton/EnableFullscreenButton.tsx +0 -27
  1202. package/dist/components/EntitiesCount/EntitiesCount.tsx +0 -34
  1203. package/dist/components/EntitiesCount/i18n/index.ts +0 -11
  1204. package/dist/components/ErrorBoundary/ErrorBoundary.tsx +0 -62
  1205. package/dist/components/ErrorBoundary/i18n/index.ts +0 -11
  1206. package/dist/components/Errors/403/AccessDenied.tsx +0 -20
  1207. package/dist/components/Errors/ResponseError/ResponseError.tsx +0 -17
  1208. package/dist/components/Errors/i18n/index.ts +0 -11
  1209. package/dist/components/ExternalLinkWithIcon/ExternalLinkWithIcon.tsx +0 -24
  1210. package/dist/components/FormattedBytes/FormattedBytes.tsx +0 -10
  1211. package/dist/components/FormattedBytes/utils.tsx +0 -13
  1212. package/dist/components/FullNodeViewer/FullNodeViewer.tsx +0 -82
  1213. package/dist/components/Fullscreen/Fullscreen.tsx +0 -81
  1214. package/dist/components/Icon/Icon.tsx +0 -35
  1215. package/dist/components/Illustration/Illustration.tsx +0 -44
  1216. package/dist/components/InfoViewer/InfoViewer.tsx +0 -61
  1217. package/dist/components/InfoViewer/formatters/cdcStream.ts +0 -10
  1218. package/dist/components/InfoViewer/formatters/common.ts +0 -17
  1219. package/dist/components/InfoViewer/formatters/pqGroup.ts +0 -51
  1220. package/dist/components/InfoViewer/formatters/schema.ts +0 -18
  1221. package/dist/components/InfoViewer/formatters/table.ts +0 -52
  1222. package/dist/components/InfoViewer/i18n/index.ts +0 -11
  1223. package/dist/components/InfoViewer/index.ts +0 -5
  1224. package/dist/components/InfoViewer/schemaInfo/TableIndexInfo.tsx +0 -37
  1225. package/dist/components/InfoViewer/schemaOverview/CDCStreamOverview.tsx +0 -31
  1226. package/dist/components/InfoViewer/schemaOverview/PersQueueGroupOverview.tsx +0 -30
  1227. package/dist/components/InfoViewer/utils.ts +0 -57
  1228. package/dist/components/InternalLink/InternalLink.tsx +0 -17
  1229. package/dist/components/LabelWithPopover/LabelWithPopover.tsx +0 -23
  1230. package/dist/components/LagImages/LagImages.tsx +0 -205
  1231. package/dist/components/LagPopoverContent/LagPopoverContent.tsx +0 -19
  1232. package/dist/components/LinkToSchemaObject/LinkToSchemaObject.tsx +0 -20
  1233. package/dist/components/Loader/Loader.tsx +0 -19
  1234. package/dist/components/MetricChart/MetricChart.tsx +0 -239
  1235. package/dist/components/MetricChart/convertReponse.ts +0 -33
  1236. package/dist/components/MetricChart/getChartData.ts +0 -20
  1237. package/dist/components/MetricChart/getDefaultDataFormatter.ts +0 -45
  1238. package/dist/components/MetricChart/index.ts +0 -2
  1239. package/dist/components/MetricChart/reducer.ts +0 -86
  1240. package/dist/components/MetricChart/types.ts +0 -35
  1241. package/dist/components/NodeHostWrapper/NodeHostWrapper.tsx +0 -65
  1242. package/dist/components/PoolBar/PoolBar.tsx +0 -39
  1243. package/dist/components/PoolUsage/PoolUsage.tsx +0 -50
  1244. package/dist/components/PoolsGraph/PoolsGraph.tsx +0 -23
  1245. package/dist/components/ProblemFilter/ProblemFilter.tsx +0 -23
  1246. package/dist/components/ProgressViewer/ProgressViewer.tsx +0 -116
  1247. package/dist/components/QueryExecutionStatus/QueryExecutionStatus.tsx +0 -48
  1248. package/dist/components/QueryResultTable/Cell/Cell.tsx +0 -33
  1249. package/dist/components/QueryResultTable/QueryResultTable.tsx +0 -114
  1250. package/dist/components/QueryResultTable/i18n/index.ts +0 -11
  1251. package/dist/components/Search/Search.tsx +0 -58
  1252. package/dist/components/ShortyString/ShortyString.tsx +0 -63
  1253. package/dist/components/ShortyString/i18n/index.ts +0 -11
  1254. package/dist/components/SpeedMultiMeter/SpeedMultiMeter.tsx +0 -119
  1255. package/dist/components/SpeedMultiMeter/i18n/index.ts +0 -11
  1256. package/dist/components/SplitPane/SplitPane.tsx +0 -94
  1257. package/dist/components/Stack/Stack.tsx +0 -35
  1258. package/dist/components/TableSkeleton/TableSkeleton.tsx +0 -29
  1259. package/dist/components/TableWithControlsLayout/TableWithControlsLayout.tsx +0 -43
  1260. package/dist/components/Tablet/Tablet.tsx +0 -38
  1261. package/dist/components/TabletIcon/TabletIcon.tsx +0 -18
  1262. package/dist/components/TabletsOverall/TabletsOverall.tsx +0 -105
  1263. package/dist/components/TabletsStatistic/TabletsStatistic.tsx +0 -63
  1264. package/dist/components/Tag/Tag.tsx +0 -16
  1265. package/dist/components/Tags/Tags.tsx +0 -22
  1266. package/dist/components/TimeFrameSelector/TimeFrameSelector.tsx +0 -33
  1267. package/dist/components/TooltipsContent/NodeEndpointsTooltipContent/NodeEndpointsTooltipContent.tsx +0 -31
  1268. package/dist/components/TooltipsContent/PoolTooltipContent/PoolTooltipContent.tsx +0 -24
  1269. package/dist/components/TooltipsContent/TabletTooltipContent/TabletTooltipContent.tsx +0 -34
  1270. package/dist/components/TruncatedQuery/TruncatedQuery.tsx +0 -42
  1271. package/dist/components/UptimeFIlter/UptimeFilter.tsx +0 -22
  1272. package/dist/components/UsageLabel/UsageLabel.tsx +0 -24
  1273. package/dist/components/VirtualTable/TableChunk.tsx +0 -85
  1274. package/dist/components/VirtualTable/TableHead.tsx +0 -240
  1275. package/dist/components/VirtualTable/TableRow.tsx +0 -104
  1276. package/dist/components/VirtualTable/VirtualTable.tsx +0 -297
  1277. package/dist/components/VirtualTable/constants.ts +0 -17
  1278. package/dist/components/VirtualTable/i18n/index.ts +0 -11
  1279. package/dist/components/VirtualTable/reducer.ts +0 -143
  1280. package/dist/components/VirtualTable/shared.ts +0 -3
  1281. package/dist/components/VirtualTable/types.ts +0 -61
  1282. package/dist/components/VirtualTable/useIntersectionObserver.ts +0 -43
  1283. package/dist/containers/AsideNavigation/AsideNavigation.tsx +0 -271
  1284. package/dist/containers/AsideNavigation/i18n/index.ts +0 -11
  1285. package/dist/containers/Authentication/Authentication.tsx +0 -152
  1286. package/dist/containers/Cluster/Cluster.tsx +0 -167
  1287. package/dist/containers/Cluster/ClusterInfo/ClusterInfo.tsx +0 -280
  1288. package/dist/containers/Cluster/ClusterInfo/utils.ts +0 -13
  1289. package/dist/containers/Cluster/ClusterInfoSkeleton/ClusterInfoSkeleton.tsx +0 -34
  1290. package/dist/containers/Cluster/VersionsBar/VersionsBar.tsx +0 -33
  1291. package/dist/containers/Cluster/i18n/index.ts +0 -11
  1292. package/dist/containers/Cluster/utils.tsx +0 -34
  1293. package/dist/containers/Header/Header.tsx +0 -112
  1294. package/dist/containers/Header/breadcrumbs.tsx +0 -174
  1295. package/dist/containers/Heatmap/Heatmap.tsx +0 -204
  1296. package/dist/containers/Node/Node.tsx +0 -168
  1297. package/dist/containers/Node/NodePages.ts +0 -33
  1298. package/dist/containers/Node/NodeStructure/NodeStructure.tsx +0 -137
  1299. package/dist/containers/Node/NodeStructure/PDiskTitleBadge.tsx +0 -19
  1300. package/dist/containers/Node/NodeStructure/Pdisk.tsx +0 -338
  1301. package/dist/containers/Node/NodeStructure/Vdisk.tsx +0 -132
  1302. package/dist/containers/Node/i18n/index.ts +0 -11
  1303. package/dist/containers/Nodes/Nodes.tsx +0 -185
  1304. package/dist/containers/Nodes/NodesWrapper.tsx +0 -22
  1305. package/dist/containers/Nodes/VirtualNodes.tsx +0 -142
  1306. package/dist/containers/Nodes/getNodes.ts +0 -26
  1307. package/dist/containers/Nodes/getNodesColumns.tsx +0 -293
  1308. package/dist/containers/Nodes/i18n/index.ts +0 -11
  1309. package/dist/containers/Storage/DiskStateProgressBar/DiskStateProgressBar.tsx +0 -82
  1310. package/dist/containers/Storage/EmptyFilter/EmptyFilter.tsx +0 -34
  1311. package/dist/containers/Storage/EmptyFilter/i18n/index.ts +0 -11
  1312. package/dist/containers/Storage/PDisk/PDisk.tsx +0 -176
  1313. package/dist/containers/Storage/PDisk/__tests__/colors.tsx +0 -100
  1314. package/dist/containers/Storage/PDiskPopup/PDiskPopup.tsx +0 -79
  1315. package/dist/containers/Storage/Storage.tsx +0 -240
  1316. package/dist/containers/Storage/StorageControls/StorageControls.tsx +0 -104
  1317. package/dist/containers/Storage/StorageGroups/StorageGroups.tsx +0 -59
  1318. package/dist/containers/Storage/StorageGroups/StorageGroupsEmptyDataMessage.tsx +0 -30
  1319. package/dist/containers/Storage/StorageGroups/VirtualStorageGroups.tsx +0 -94
  1320. package/dist/containers/Storage/StorageGroups/getGroups.ts +0 -21
  1321. package/dist/containers/Storage/StorageGroups/getStorageGroupsColumns.tsx +0 -297
  1322. package/dist/containers/Storage/StorageGroups/i18n/index.ts +0 -11
  1323. package/dist/containers/Storage/StorageNodes/StorageNodes.tsx +0 -70
  1324. package/dist/containers/Storage/StorageNodes/StorageNodesEmptyDataMessage.tsx +0 -44
  1325. package/dist/containers/Storage/StorageNodes/VirtualStorageNodes.tsx +0 -105
  1326. package/dist/containers/Storage/StorageNodes/getNodes.ts +0 -26
  1327. package/dist/containers/Storage/StorageNodes/getStorageNodesColumns.tsx +0 -125
  1328. package/dist/containers/Storage/StorageNodes/i18n/index.ts +0 -11
  1329. package/dist/containers/Storage/StorageNodes/shared.ts +0 -9
  1330. package/dist/containers/Storage/StorageTypeFilter/StorageTypeFilter.tsx +0 -29
  1331. package/dist/containers/Storage/StorageVisibleEntitiesFilter/StorageVisibleEntitiesFilter.tsx +0 -33
  1332. package/dist/containers/Storage/StorageWrapper.tsx +0 -23
  1333. package/dist/containers/Storage/UsageFilter/UsageFilter.tsx +0 -99
  1334. package/dist/containers/Storage/UsageFilter/i18n/index.ts +0 -11
  1335. package/dist/containers/Storage/VDisk/VDisk.tsx +0 -157
  1336. package/dist/containers/Storage/VDisk/__tests__/colors.tsx +0 -209
  1337. package/dist/containers/Storage/VDiskPopup/VDiskPopup.tsx +0 -162
  1338. package/dist/containers/Storage/VirtualStorage.tsx +0 -112
  1339. package/dist/containers/Storage/i18n/index.ts +0 -11
  1340. package/dist/containers/Storage/shared.ts +0 -3
  1341. package/dist/containers/Storage/utils/constants.ts +0 -3
  1342. package/dist/containers/Storage/utils/index.ts +0 -40
  1343. package/dist/containers/Storage/utils/types.ts +0 -6
  1344. package/dist/containers/Tablet/Tablet.tsx +0 -155
  1345. package/dist/containers/Tablet/TabletControls/TabletControls.tsx +0 -151
  1346. package/dist/containers/Tablet/TabletInfo/TabletInfo.tsx +0 -80
  1347. package/dist/containers/Tablet/TabletTable/TabletTable.tsx +0 -81
  1348. package/dist/containers/Tablet/i18n/index.ts +0 -11
  1349. package/dist/containers/Tablets/Tablets.tsx +0 -150
  1350. package/dist/containers/Tablets/i18n/index.ts +0 -11
  1351. package/dist/containers/Tenant/Acl/Acl.tsx +0 -137
  1352. package/dist/containers/Tenant/Diagnostics/Consumers/Consumers.tsx +0 -118
  1353. package/dist/containers/Tenant/Diagnostics/Consumers/Headers/Headers.tsx +0 -20
  1354. package/dist/containers/Tenant/Diagnostics/Consumers/TopicStats/ConsumersTopicStats.tsx +0 -43
  1355. package/dist/containers/Tenant/Diagnostics/Consumers/columns/columns.tsx +0 -92
  1356. package/dist/containers/Tenant/Diagnostics/Consumers/i18n/index.ts +0 -11
  1357. package/dist/containers/Tenant/Diagnostics/Consumers/utils/constants.ts +0 -23
  1358. package/dist/containers/Tenant/Diagnostics/Describe/Describe.tsx +0 -117
  1359. package/dist/containers/Tenant/Diagnostics/DetailedOverview/DetailedOverview.tsx +0 -47
  1360. package/dist/containers/Tenant/Diagnostics/Diagnostics.tsx +0 -211
  1361. package/dist/containers/Tenant/Diagnostics/DiagnosticsPages.ts +0 -112
  1362. package/dist/containers/Tenant/Diagnostics/Network/utils.ts +0 -6
  1363. package/dist/containers/Tenant/Diagnostics/Overview/ChangefeedInfo/ChangefeedInfo.tsx +0 -67
  1364. package/dist/containers/Tenant/Diagnostics/Overview/Overview.tsx +0 -152
  1365. package/dist/containers/Tenant/Diagnostics/Overview/TableInfo/TableInfo.tsx +0 -73
  1366. package/dist/containers/Tenant/Diagnostics/Overview/TableInfo/i18n/index.ts +0 -11
  1367. package/dist/containers/Tenant/Diagnostics/Overview/TableInfo/prepareTableInfo.ts +0 -252
  1368. package/dist/containers/Tenant/Diagnostics/Overview/TopicInfo/TopicInfo.tsx +0 -37
  1369. package/dist/containers/Tenant/Diagnostics/Overview/TopicStats/TopicStats.tsx +0 -111
  1370. package/dist/containers/Tenant/Diagnostics/Overview/TopicStats/i18n/index.ts +0 -11
  1371. package/dist/containers/Tenant/Diagnostics/Overview/utils/prepareTopicSchemaInfo.ts +0 -41
  1372. package/dist/containers/Tenant/Diagnostics/Partitions/Headers/Headers.tsx +0 -62
  1373. package/dist/containers/Tenant/Diagnostics/Partitions/Partitions.tsx +0 -173
  1374. package/dist/containers/Tenant/Diagnostics/Partitions/PartitionsControls/PartitionsControls.tsx +0 -175
  1375. package/dist/containers/Tenant/Diagnostics/Partitions/columns/columns.tsx +0 -255
  1376. package/dist/containers/Tenant/Diagnostics/Partitions/i18n/index.ts +0 -11
  1377. package/dist/containers/Tenant/Diagnostics/Partitions/utils/constants.ts +0 -86
  1378. package/dist/containers/Tenant/Diagnostics/Partitions/utils/index.ts +0 -26
  1379. package/dist/containers/Tenant/Diagnostics/Partitions/utils/types.ts +0 -6
  1380. package/dist/containers/Tenant/Diagnostics/Partitions/utils/useGetPartitionsColumns.ts +0 -27
  1381. package/dist/containers/Tenant/Diagnostics/TenantOverview/DefaultOverviewContent/DefaultOverviewContent.tsx +0 -6
  1382. package/dist/containers/Tenant/Diagnostics/TenantOverview/DefaultOverviewContent/defaultDashboardConfig.ts +0 -46
  1383. package/dist/containers/Tenant/Diagnostics/TenantOverview/Healthcheck/HealthcheckDetails.tsx +0 -52
  1384. package/dist/containers/Tenant/Diagnostics/TenantOverview/Healthcheck/HealthcheckPreview.tsx +0 -93
  1385. package/dist/containers/Tenant/Diagnostics/TenantOverview/Healthcheck/IssuesViewer/IssueTree.tsx +0 -86
  1386. package/dist/containers/Tenant/Diagnostics/TenantOverview/Healthcheck/IssuesViewer/IssueTreeItem/IssueTreeItem.tsx +0 -25
  1387. package/dist/containers/Tenant/Diagnostics/TenantOverview/Healthcheck/i18n/index.ts +0 -11
  1388. package/dist/containers/Tenant/Diagnostics/TenantOverview/MetricsCards/MetricCard/MetricCard.tsx +0 -48
  1389. package/dist/containers/Tenant/Diagnostics/TenantOverview/MetricsCards/MetricsCards.tsx +0 -145
  1390. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TenantCpu.tsx +0 -24
  1391. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByCpu.tsx +0 -68
  1392. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByLoad.tsx +0 -68
  1393. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopQueries.tsx +0 -99
  1394. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopShards.tsx +0 -72
  1395. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/cpuDashboardConfig.ts +0 -14
  1396. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantDashboard/TenantDashboard.tsx +0 -89
  1397. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TenantMemory.tsx +0 -16
  1398. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TopNodesByMemory.tsx +0 -70
  1399. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/memoryDashboardConfig.ts +0 -17
  1400. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantOverview.tsx +0 -176
  1401. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantOverviewTableLayout.tsx +0 -52
  1402. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TenantStorage.tsx +0 -72
  1403. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopGroups.tsx +0 -66
  1404. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopTables.tsx +0 -93
  1405. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/storageDashboardConfig.ts +0 -17
  1406. package/dist/containers/Tenant/Diagnostics/TenantOverview/getSectionTitle.tsx +0 -28
  1407. package/dist/containers/Tenant/Diagnostics/TenantOverview/i18n/index.ts +0 -11
  1408. package/dist/containers/Tenant/Diagnostics/TenantOverview/useHealthcheck.ts +0 -53
  1409. package/dist/containers/Tenant/Diagnostics/TenantOverview/utils.ts +0 -3
  1410. package/dist/containers/Tenant/Diagnostics/TopQueries/TopQueries.tsx +0 -205
  1411. package/dist/containers/Tenant/Diagnostics/TopQueries/getTopQueriesColumns.tsx +0 -102
  1412. package/dist/containers/Tenant/Diagnostics/TopQueries/i18n/index.ts +0 -11
  1413. package/dist/containers/Tenant/Diagnostics/TopShards/Filters/Filters.tsx +0 -56
  1414. package/dist/containers/Tenant/Diagnostics/TopShards/TopShards.tsx +0 -252
  1415. package/dist/containers/Tenant/Diagnostics/TopShards/getTopShardsColumns.tsx +0 -138
  1416. package/dist/containers/Tenant/Diagnostics/TopShards/i18n/index.ts +0 -11
  1417. package/dist/containers/Tenant/Info/ExternalDataSource/ExternalDataSource.tsx +0 -81
  1418. package/dist/containers/Tenant/Info/ExternalTable/ExternalTable.tsx +0 -101
  1419. package/dist/containers/Tenant/Info/i18n/index.ts +0 -11
  1420. package/dist/containers/Tenant/ObjectGeneral/ObjectGeneral.tsx +0 -63
  1421. package/dist/containers/Tenant/ObjectSummary/ObjectSummary.tsx +0 -381
  1422. package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.tsx +0 -232
  1423. package/dist/containers/Tenant/Query/ExplainResult/utils.ts +0 -6
  1424. package/dist/containers/Tenant/Query/Issues/Issues.tsx +0 -173
  1425. package/dist/containers/Tenant/Query/Issues/models.ts +0 -16
  1426. package/dist/containers/Tenant/Query/Preview/Preview.tsx +0 -121
  1427. package/dist/containers/Tenant/Query/QueriesHistory/QueriesHistory.tsx +0 -84
  1428. package/dist/containers/Tenant/Query/Query.tsx +0 -73
  1429. package/dist/containers/Tenant/Query/QueryDuration/QueryDuration.tsx +0 -33
  1430. package/dist/containers/Tenant/Query/QueryEditorControls/QueryEditorControls.tsx +0 -143
  1431. package/dist/containers/Tenant/Query/QueryTabs/QueryTabs.tsx +0 -59
  1432. package/dist/containers/Tenant/Query/SavedQueries/SavedQueries.tsx +0 -150
  1433. package/dist/containers/Tenant/Query/i18n/index.ts +0 -11
  1434. package/dist/containers/Tenant/Query/utils/getPreparedResult.ts +0 -29
  1435. package/dist/containers/Tenant/Schema/SchemaTree/SchemaTree.tsx +0 -91
  1436. package/dist/containers/Tenant/Schema/SchemaViewer/SchemaViewer.tsx +0 -107
  1437. package/dist/containers/Tenant/Tenant.tsx +0 -138
  1438. package/dist/containers/Tenant/TenantPages.tsx +0 -31
  1439. package/dist/containers/Tenant/i18n/index.ts +0 -11
  1440. package/dist/containers/Tenant/utils/constants.ts +0 -10
  1441. package/dist/containers/Tenant/utils/index.ts +0 -8
  1442. package/dist/containers/Tenant/utils/paneVisibilityToggleHelpers.tsx +0 -126
  1443. package/dist/containers/Tenant/utils/queryTemplates.ts +0 -113
  1444. package/dist/containers/Tenant/utils/schema.ts +0 -247
  1445. package/dist/containers/Tenant/utils/schemaActions.ts +0 -149
  1446. package/dist/containers/Tenant/utils/schemaControls.tsx +0 -69
  1447. package/dist/containers/Tenants/Tenants.tsx +0 -263
  1448. package/dist/containers/UserSettings/Setting.tsx +0 -93
  1449. package/dist/containers/UserSettings/UserSettings.tsx +0 -40
  1450. package/dist/containers/UserSettings/i18n/index.ts +0 -11
  1451. package/dist/containers/UserSettings/settings.ts +0 -122
  1452. package/dist/containers/Versions/GroupedNodesTree/GroupedNodesTree.tsx +0 -98
  1453. package/dist/containers/Versions/NodesTable/NodesTable.tsx +0 -120
  1454. package/dist/containers/Versions/NodesTreeTitle/NodesTreeTitle.tsx +0 -65
  1455. package/dist/containers/Versions/Versions.tsx +0 -129
  1456. package/dist/containers/Versions/groupNodes.ts +0 -124
  1457. package/dist/containers/Versions/types.ts +0 -16
  1458. package/dist/contexts/HistoryContext.ts +0 -6
  1459. package/dist/index.tsx +0 -36
  1460. package/dist/react-app-env.d.ts +0 -1
  1461. package/dist/reportWebVitals.ts +0 -15
  1462. package/dist/routes.ts +0 -77
  1463. package/dist/services/api.ts +0 -426
  1464. package/dist/services/settings.ts +0 -109
  1465. package/dist/setupTests.js +0 -17
  1466. package/dist/store/getUrlData.ts +0 -27
  1467. package/dist/store/reducers/authentication/authentication.ts +0 -69
  1468. package/dist/store/reducers/authentication/types.ts +0 -15
  1469. package/dist/store/reducers/cluster/__test__/parseGroupsStatsQueryResponse.test.ts +0 -121
  1470. package/dist/store/reducers/cluster/cluster.ts +0 -95
  1471. package/dist/store/reducers/cluster/types.ts +0 -39
  1472. package/dist/store/reducers/cluster/utils.ts +0 -88
  1473. package/dist/store/reducers/clusterNodes/clusterNodes.tsx +0 -68
  1474. package/dist/store/reducers/clusterNodes/types.ts +0 -22
  1475. package/dist/store/reducers/describe.ts +0 -145
  1476. package/dist/store/reducers/executeQuery.ts +0 -239
  1477. package/dist/store/reducers/executeTopQueries/executeTopQueries.ts +0 -122
  1478. package/dist/store/reducers/executeTopQueries/types.ts +0 -28
  1479. package/dist/store/reducers/executeTopQueries/utils.ts +0 -36
  1480. package/dist/store/reducers/explainQuery.ts +0 -162
  1481. package/dist/store/reducers/fullscreen.ts +0 -31
  1482. package/dist/store/reducers/header/header.ts +0 -31
  1483. package/dist/store/reducers/header/types.ts +0 -54
  1484. package/dist/store/reducers/healthcheckInfo.ts +0 -169
  1485. package/dist/store/reducers/heatmap.ts +0 -120
  1486. package/dist/store/reducers/host.ts +0 -48
  1487. package/dist/store/reducers/index.ts +0 -99
  1488. package/dist/store/reducers/network/network.ts +0 -69
  1489. package/dist/store/reducers/network/types.ts +0 -16
  1490. package/dist/store/reducers/node/node.ts +0 -102
  1491. package/dist/store/reducers/node/selectors.ts +0 -59
  1492. package/dist/store/reducers/node/types.ts +0 -46
  1493. package/dist/store/reducers/nodes/nodes.ts +0 -150
  1494. package/dist/store/reducers/nodes/selectors.ts +0 -74
  1495. package/dist/store/reducers/nodes/types.ts +0 -120
  1496. package/dist/store/reducers/nodes/utils.ts +0 -75
  1497. package/dist/store/reducers/nodesList.ts +0 -55
  1498. package/dist/store/reducers/olapStats.ts +0 -79
  1499. package/dist/store/reducers/overview/overview.ts +0 -109
  1500. package/dist/store/reducers/overview/types.ts +0 -24
  1501. package/dist/store/reducers/partitions/partitions.ts +0 -104
  1502. package/dist/store/reducers/partitions/types.ts +0 -47
  1503. package/dist/store/reducers/partitions/utils.ts +0 -99
  1504. package/dist/store/reducers/preview.ts +0 -79
  1505. package/dist/store/reducers/saveQuery.ts +0 -35
  1506. package/dist/store/reducers/schema/schema.ts +0 -203
  1507. package/dist/store/reducers/schema/types.ts +0 -53
  1508. package/dist/store/reducers/schemaAcl/schemaAcl.ts +0 -72
  1509. package/dist/store/reducers/schemaAcl/types.ts +0 -17
  1510. package/dist/store/reducers/settings/settings.ts +0 -95
  1511. package/dist/store/reducers/settings/types.ts +0 -25
  1512. package/dist/store/reducers/shardsWorkload/shardsWorkload.ts +0 -207
  1513. package/dist/store/reducers/shardsWorkload/types.ts +0 -33
  1514. package/dist/store/reducers/singleClusterMode.ts +0 -5
  1515. package/dist/store/reducers/storage/constants.ts +0 -10
  1516. package/dist/store/reducers/storage/selectors.ts +0 -159
  1517. package/dist/store/reducers/storage/storage.ts +0 -239
  1518. package/dist/store/reducers/storage/types.ts +0 -124
  1519. package/dist/store/reducers/storage/utils.ts +0 -216
  1520. package/dist/store/reducers/tablet.ts +0 -142
  1521. package/dist/store/reducers/tablets.ts +0 -100
  1522. package/dist/store/reducers/tenant/constants.ts +0 -40
  1523. package/dist/store/reducers/tenant/tenant.ts +0 -172
  1524. package/dist/store/reducers/tenant/types.ts +0 -51
  1525. package/dist/store/reducers/tenantOverview/executeTopTables/executeTopTables.ts +0 -93
  1526. package/dist/store/reducers/tenantOverview/executeTopTables/types.ts +0 -14
  1527. package/dist/store/reducers/tenantOverview/topNodesByCpu/topNodesByCpu.ts +0 -87
  1528. package/dist/store/reducers/tenantOverview/topNodesByCpu/types.ts +0 -29
  1529. package/dist/store/reducers/tenantOverview/topNodesByLoad/topNodesByLoad.ts +0 -87
  1530. package/dist/store/reducers/tenantOverview/topNodesByLoad/types.ts +0 -29
  1531. package/dist/store/reducers/tenantOverview/topNodesByMemory/topNodesByMemory.ts +0 -87
  1532. package/dist/store/reducers/tenantOverview/topNodesByMemory/types.ts +0 -29
  1533. package/dist/store/reducers/tenantOverview/topQueries/tenantOverviewTopQueries.ts +0 -93
  1534. package/dist/store/reducers/tenantOverview/topQueries/types.ts +0 -14
  1535. package/dist/store/reducers/tenantOverview/topShards/tenantOverviewTopShards.ts +0 -103
  1536. package/dist/store/reducers/tenantOverview/topShards/types.ts +0 -14
  1537. package/dist/store/reducers/tenantOverview/topShards/utils.ts +0 -3
  1538. package/dist/store/reducers/tenantOverview/topStorageGroups/topStorageGroups.ts +0 -98
  1539. package/dist/store/reducers/tenantOverview/topStorageGroups/types.ts +0 -29
  1540. package/dist/store/reducers/tenantOverview/topStorageGroups/utils.ts +0 -20
  1541. package/dist/store/reducers/tenants/contants.ts +0 -6
  1542. package/dist/store/reducers/tenants/selectors.ts +0 -46
  1543. package/dist/store/reducers/tenants/tenants.ts +0 -73
  1544. package/dist/store/reducers/tenants/types.ts +0 -36
  1545. package/dist/store/reducers/tenants/utils.ts +0 -185
  1546. package/dist/store/reducers/tooltip.ts +0 -81
  1547. package/dist/store/reducers/topic.ts +0 -152
  1548. package/dist/store/utils.ts +0 -97
  1549. package/dist/types/additionalProps.ts +0 -33
  1550. package/dist/types/api/acl.ts +0 -25
  1551. package/dist/types/api/cluster.ts +0 -40
  1552. package/dist/types/api/compute.ts +0 -67
  1553. package/dist/types/api/consumer.ts +0 -259
  1554. package/dist/types/api/enums.ts +0 -10
  1555. package/dist/types/api/error.ts +0 -24
  1556. package/dist/types/api/healthcheck.ts +0 -91
  1557. package/dist/types/api/netInfo.ts +0 -48
  1558. package/dist/types/api/nodes.ts +0 -127
  1559. package/dist/types/api/nodesList.ts +0 -25
  1560. package/dist/types/api/pdisk.ts +0 -61
  1561. package/dist/types/api/query.ts +0 -313
  1562. package/dist/types/api/render.ts +0 -34
  1563. package/dist/types/api/schema/cdcStream.ts +0 -32
  1564. package/dist/types/api/schema/columnEntity.ts +0 -138
  1565. package/dist/types/api/schema/externalDataSource.ts +0 -24
  1566. package/dist/types/api/schema/externalTable.ts +0 -14
  1567. package/dist/types/api/schema/index.ts +0 -10
  1568. package/dist/types/api/schema/persQueueGroup.ts +0 -191
  1569. package/dist/types/api/schema/schema.ts +0 -302
  1570. package/dist/types/api/schema/shared.ts +0 -42
  1571. package/dist/types/api/schema/table.ts +0 -616
  1572. package/dist/types/api/schema/tableIndex.ts +0 -33
  1573. package/dist/types/api/storage.ts +0 -106
  1574. package/dist/types/api/systemState.ts +0 -13
  1575. package/dist/types/api/tablet.ts +0 -121
  1576. package/dist/types/api/tenant.ts +0 -164
  1577. package/dist/types/api/topic.ts +0 -158
  1578. package/dist/types/api/vdisk.ts +0 -132
  1579. package/dist/types/api/whoami.ts +0 -19
  1580. package/dist/types/assets.d.ts +0 -11
  1581. package/dist/types/common.ts +0 -1
  1582. package/dist/types/index.ts +0 -34
  1583. package/dist/types/react-json-inspector.d.ts +0 -21
  1584. package/dist/types/react-list.d.ts +0 -4
  1585. package/dist/types/store/describe.ts +0 -40
  1586. package/dist/types/store/executeQuery.ts +0 -50
  1587. package/dist/types/store/explainQuery.ts +0 -38
  1588. package/dist/types/store/healthcheck.ts +0 -31
  1589. package/dist/types/store/heatmap.ts +0 -51
  1590. package/dist/types/store/host.ts +0 -23
  1591. package/dist/types/store/nodesList.ts +0 -24
  1592. package/dist/types/store/olapStats.ts +0 -14
  1593. package/dist/types/store/query.ts +0 -43
  1594. package/dist/types/store/tablet.ts +0 -54
  1595. package/dist/types/store/tablets.ts +0 -42
  1596. package/dist/types/store/tooltip.ts +0 -27
  1597. package/dist/types/store/topic.ts +0 -39
  1598. package/dist/types/versions.ts +0 -9
  1599. package/dist/types/window.d.ts +0 -46
  1600. package/dist/utils/autofetcher.ts +0 -62
  1601. package/dist/utils/bytesParsers/__test__/formatBytes.test.ts +0 -47
  1602. package/dist/utils/bytesParsers/convertBytesObjectToSpeed.ts +0 -24
  1603. package/dist/utils/bytesParsers/formatBytes.ts +0 -132
  1604. package/dist/utils/bytesParsers/i18n/index.ts +0 -11
  1605. package/dist/utils/cn.ts +0 -3
  1606. package/dist/utils/constants.ts +0 -129
  1607. package/dist/utils/createToast.tsx +0 -23
  1608. package/dist/utils/dataFormatters/__test__/roundToSignificant.test.ts +0 -22
  1609. package/dist/utils/dataFormatters/dataFormatters.ts +0 -154
  1610. package/dist/utils/dataFormatters/i18n/index.ts +0 -11
  1611. package/dist/utils/developerUI/__test__/developerUI.test.ts +0 -50
  1612. package/dist/utils/developerUI/developerUI.ts +0 -42
  1613. package/dist/utils/diagnostics.ts +0 -24
  1614. package/dist/utils/error.ts +0 -24
  1615. package/dist/utils/filters.ts +0 -23
  1616. package/dist/utils/generateEvaluator.ts +0 -21
  1617. package/dist/utils/generateHash.ts +0 -11
  1618. package/dist/utils/hooks/index.ts +0 -9
  1619. package/dist/utils/hooks/useAutofetcher.ts +0 -35
  1620. package/dist/utils/hooks/useNodesRequestParams.ts +0 -42
  1621. package/dist/utils/hooks/useQueryModes.ts +0 -7
  1622. package/dist/utils/hooks/useSearchQuery.ts +0 -9
  1623. package/dist/utils/hooks/useSetting.ts +0 -24
  1624. package/dist/utils/hooks/useStorageRequestParams.ts +0 -28
  1625. package/dist/utils/hooks/useTableResize.ts +0 -53
  1626. package/dist/utils/hooks/useTableSort.ts +0 -37
  1627. package/dist/utils/hooks/useTypedSelector.ts +0 -5
  1628. package/dist/utils/i18n/i18n.ts +0 -22
  1629. package/dist/utils/index.ts +0 -3
  1630. package/dist/utils/monaco.ts +0 -69
  1631. package/dist/utils/nodes.ts +0 -64
  1632. package/dist/utils/numeral.ts +0 -8
  1633. package/dist/utils/pdisk.ts +0 -74
  1634. package/dist/utils/prepareQueryExplain.ts +0 -115
  1635. package/dist/utils/query.test.ts +0 -182
  1636. package/dist/utils/query.ts +0 -243
  1637. package/dist/utils/registerError.ts +0 -18
  1638. package/dist/utils/storage.ts +0 -40
  1639. package/dist/utils/tablet.ts +0 -54
  1640. package/dist/utils/tests/providers.tsx +0 -26
  1641. package/dist/utils/timeParsers/__test__/formatDuration.test.ts +0 -50
  1642. package/dist/utils/timeParsers/__test__/protobuf.test.ts +0 -74
  1643. package/dist/utils/timeParsers/formatDuration.ts +0 -74
  1644. package/dist/utils/timeParsers/i18n/index.ts +0 -11
  1645. package/dist/utils/timeParsers/parsers.ts +0 -27
  1646. package/dist/utils/timeParsers/protobufParsers.ts +0 -36
  1647. package/dist/utils/timeframes.ts +0 -10
  1648. package/dist/utils/typecheckers.ts +0 -5
  1649. package/dist/utils/versions/getVersionsColors.ts +0 -99
  1650. package/dist/utils/versions/parseNodesToVersionsValues.ts +0 -28
  1651. package/dist/utils/versions/parseVersion.ts +0 -23
  1652. /package/dist/components/BasicNodeViewer/{index.ts → index.d.ts} +0 -0
  1653. /package/dist/components/ClipboardButton/{index.ts → index.d.ts} +0 -0
  1654. /package/dist/components/CriticalActionDialog/{index.ts → index.d.ts} +0 -0
  1655. /package/dist/components/DateRange/{index.ts → index.d.ts} +0 -0
  1656. /package/dist/components/EmptyState/{index.ts → index.d.ts} +0 -0
  1657. /package/dist/components/EntitiesCount/{index.ts → index.d.ts} +0 -0
  1658. /package/dist/components/Errors/403/{index.ts → index.d.ts} +0 -0
  1659. /package/dist/components/Errors/ResponseError/{index.ts → index.d.ts} +0 -0
  1660. /package/dist/components/Icon/{index.ts → index.d.ts} +0 -0
  1661. /package/dist/components/Illustration/{index.ts → index.d.ts} +0 -0
  1662. /package/dist/components/InfoViewer/formatters/{index.ts → index.d.ts} +0 -0
  1663. /package/dist/components/InfoViewer/schemaInfo/{index.ts → index.d.ts} +0 -0
  1664. /package/dist/components/InfoViewer/schemaOverview/{index.ts → index.d.ts} +0 -0
  1665. /package/dist/components/InternalLink/{index.ts → index.d.ts} +0 -0
  1666. /package/dist/components/LabelWithPopover/{index.ts → index.d.ts} +0 -0
  1667. /package/dist/components/LagImages/{index.ts → index.d.ts} +0 -0
  1668. /package/dist/components/LagPopoverContent/{index.ts → index.d.ts} +0 -0
  1669. /package/dist/components/Loader/{index.ts → index.d.ts} +0 -0
  1670. /package/dist/components/ProblemFilter/{index.ts → index.d.ts} +0 -0
  1671. /package/dist/components/QueryExecutionStatus/{index.ts → index.d.ts} +0 -0
  1672. /package/dist/components/QueryResultTable/Cell/{index.ts → index.d.ts} +0 -0
  1673. /package/dist/components/QueryResultTable/{index.ts → index.d.ts} +0 -0
  1674. /package/dist/components/Search/{index.ts → index.d.ts} +0 -0
  1675. /package/dist/components/SpeedMultiMeter/{index.ts → index.d.ts} +0 -0
  1676. /package/dist/components/Tablet/{index.ts → index.d.ts} +0 -0
  1677. /package/dist/{containers/Tablet/index.ts → components/Tablet/index.js} +0 -0
  1678. /package/dist/components/TabletsStatistic/{index.ts → index.d.ts} +0 -0
  1679. /package/dist/components/Tag/{index.ts → index.d.ts} +0 -0
  1680. /package/dist/components/Tags/{index.ts → index.d.ts} +0 -0
  1681. /package/dist/components/TooltipsContent/{index.ts → index.d.ts} +0 -0
  1682. /package/dist/components/UptimeFIlter/{index.ts → index.d.ts} +0 -0
  1683. /package/dist/components/VirtualTable/{index.ts → index.d.ts} +0 -0
  1684. /package/dist/containers/Heatmap/{index.ts → index.d.ts} +0 -0
  1685. /package/dist/containers/Nodes/{index.ts → index.d.ts} +0 -0
  1686. /package/dist/containers/Storage/DiskStateProgressBar/{index.ts → index.d.ts} +0 -0
  1687. /package/dist/containers/Storage/PDisk/{index.ts → index.d.ts} +0 -0
  1688. /package/dist/containers/Storage/PDiskPopup/{index.ts → index.d.ts} +0 -0
  1689. /package/dist/containers/Storage/UsageFilter/{index.ts → index.d.ts} +0 -0
  1690. /package/dist/containers/Storage/VDisk/{index.ts → index.d.ts} +0 -0
  1691. /package/dist/containers/Storage/VDiskPopup/{index.ts → index.d.ts} +0 -0
  1692. /package/dist/containers/Tablet/TabletControls/{index.ts → index.d.ts} +0 -0
  1693. /package/dist/containers/Tablet/TabletInfo/{index.ts → index.d.ts} +0 -0
  1694. /package/dist/containers/Tablet/TabletTable/{index.ts → index.d.ts} +0 -0
  1695. /package/dist/containers/Tablets/{index.ts → index.d.ts} +0 -0
  1696. /package/dist/containers/Tenant/Diagnostics/Consumers/Headers/{index.ts → index.d.ts} +0 -0
  1697. /package/dist/containers/Tenant/Diagnostics/{Partitions/Headers/index.ts → Consumers/Headers/index.js} +0 -0
  1698. /package/dist/containers/Tenant/Diagnostics/Consumers/TopicStats/{index.ts → index.d.ts} +0 -0
  1699. /package/dist/containers/Tenant/Diagnostics/Consumers/columns/{index.ts → index.d.ts} +0 -0
  1700. /package/dist/containers/Tenant/Diagnostics/{Partitions/columns/index.ts → Consumers/columns/index.js} +0 -0
  1701. /package/dist/containers/Tenant/Diagnostics/Consumers/{index.ts → index.d.ts} +0 -0
  1702. /package/dist/containers/Tenant/Diagnostics/Overview/ChangefeedInfo/{index.ts → index.d.ts} +0 -0
  1703. /package/dist/containers/Tenant/Diagnostics/Overview/TableInfo/{index.ts → index.d.ts} +0 -0
  1704. /package/dist/containers/Tenant/Diagnostics/Overview/TopicInfo/{index.ts → index.d.ts} +0 -0
  1705. /package/dist/containers/Tenant/Diagnostics/Overview/TopicStats/{index.ts → index.d.ts} +0 -0
  1706. /package/dist/containers/Tenant/Diagnostics/Overview/utils/{index.ts → index.d.ts} +0 -0
  1707. /package/dist/containers/Tenant/Diagnostics/TenantOverview/Healthcheck/IssuesViewer/IssueTreeItem/{index.ts → index.d.ts} +0 -0
  1708. /package/dist/containers/Tenant/Diagnostics/TopQueries/{index.ts → index.d.ts} +0 -0
  1709. /package/dist/containers/Tenant/Diagnostics/TopShards/Filters/{index.ts → index.d.ts} +0 -0
  1710. /package/dist/containers/Tenant/Diagnostics/TopShards/{index.ts → index.d.ts} +0 -0
  1711. /package/dist/types/api/{common.ts → common.d.ts} +0 -0
  1712. /package/dist/utils/bytesParsers/{index.ts → index.d.ts} +0 -0
  1713. /package/dist/utils/i18n/{index.ts → index.d.ts} +0 -0
  1714. /package/dist/utils/timeParsers/{index.ts → index.d.ts} +0 -0
  1715. /package/dist/utils/versions/{index.ts → index.d.ts} +0 -0
@@ -0,0 +1,52 @@
1
+ import type { Reducer } from 'redux';
2
+ import type { TenantsAction, TenantsState } from './types';
3
+ export declare const FETCH_TENANTS: {
4
+ readonly REQUEST: "tenants/FETCH_TENANTS_REQUEST";
5
+ readonly SUCCESS: "tenants/FETCH_TENANTS_SUCCESS";
6
+ readonly FAILURE: "tenants/FETCH_TENANTS_FAILURE";
7
+ };
8
+ declare const tenants: Reducer<TenantsState, TenantsAction>;
9
+ export declare function getTenantsInfo(clusterName?: string): (dispatch: import("redux").Dispatch<import("redux").AnyAction>, getState: import("..").GetState) => Promise<{
10
+ backend: string | undefined;
11
+ sharedTenantName: string | undefined;
12
+ controlPlaneName: string;
13
+ cpu: number | undefined;
14
+ memory: number | undefined;
15
+ storage: number | undefined;
16
+ nodesCount: number;
17
+ groupsCount: number;
18
+ Name?: string | undefined;
19
+ Id?: string | undefined;
20
+ Type?: import("../../../types/api/tenant").ETenantType | undefined;
21
+ State?: import("../../../types/api/tenant").State | undefined;
22
+ StateStats?: import("../../../types/api/tenant").THiveDomainStatsStateCount[] | undefined;
23
+ Metrics?: import("../../../types/api/tenant").TMetrics | undefined;
24
+ NodeIds?: number[] | undefined;
25
+ AliveNodes?: number | undefined;
26
+ Resources?: import("../../../types/api/tenant").TTenantResources | undefined;
27
+ CreateTime?: string | undefined;
28
+ Owner?: string | undefined;
29
+ Users?: string[] | undefined;
30
+ PoolStats?: import("../../../types/api/nodes").TPoolStats[] | undefined;
31
+ UserAttributes?: Record<string, string> | undefined;
32
+ Overall?: import("../../../types/api/enums").EFlag | undefined;
33
+ SystemTablets?: import("../../../types/api/tablet").TTabletStateInfo[] | undefined;
34
+ ResourceId?: string | undefined;
35
+ Tablets?: import("../../../types/api/tablet").TTabletStateInfo[] | undefined;
36
+ StorageAllocatedSize?: string | undefined;
37
+ StorageMinAvailableSize?: string | undefined;
38
+ Nodes?: import("../../../types/api/nodes").TSystemStateInfo[] | undefined;
39
+ MemoryUsed?: string | undefined;
40
+ MemoryLimit?: string | undefined;
41
+ CoresUsed?: number | undefined;
42
+ StorageGroups?: string | undefined;
43
+ MonitoringEndpoint?: string | undefined;
44
+ ControlPlane?: import("../../../types/api/tenant").ControlPlane | undefined;
45
+ StorageAllocatedLimit?: string | undefined;
46
+ DatabaseQuotas?: import("../../../types/api/tenant").DatabaseQuotas | undefined;
47
+ }[] | undefined>;
48
+ export declare const setSearchValue: (value: string) => {
49
+ readonly type: "tenants/SET_SEARCH_VALUE";
50
+ readonly data: string;
51
+ };
52
+ export default tenants;
@@ -0,0 +1,43 @@
1
+ import { createRequestActionTypes, createApiRequest } from '../../utils';
2
+ import { prepareTenants } from './utils';
3
+ export const FETCH_TENANTS = createRequestActionTypes('tenants', 'FETCH_TENANTS');
4
+ const SET_SEARCH_VALUE = 'tenants/SET_SEARCH_VALUE';
5
+ const initialState = { loading: true, wasLoaded: false, searchValue: '', tenants: [] };
6
+ const tenants = (state = initialState, action) => {
7
+ switch (action.type) {
8
+ case FETCH_TENANTS.REQUEST: {
9
+ return Object.assign(Object.assign({}, state), { loading: true });
10
+ }
11
+ case FETCH_TENANTS.SUCCESS: {
12
+ return Object.assign(Object.assign({}, state), { tenants: action.data, loading: false, wasLoaded: true, error: undefined });
13
+ }
14
+ case FETCH_TENANTS.FAILURE: {
15
+ return Object.assign(Object.assign({}, state), { error: action.error, loading: false });
16
+ }
17
+ case SET_SEARCH_VALUE: {
18
+ return Object.assign(Object.assign({}, state), { searchValue: action.data });
19
+ }
20
+ default:
21
+ return state;
22
+ }
23
+ };
24
+ export function getTenantsInfo(clusterName) {
25
+ return createApiRequest({
26
+ request: window.api.getTenants(clusterName),
27
+ actions: FETCH_TENANTS,
28
+ dataHandler: (response, getState) => {
29
+ const { singleClusterMode } = getState();
30
+ if (!response.TenantInfo) {
31
+ return [];
32
+ }
33
+ return prepareTenants(response.TenantInfo, singleClusterMode);
34
+ },
35
+ });
36
+ }
37
+ export const setSearchValue = (value) => {
38
+ return {
39
+ type: SET_SEARCH_VALUE,
40
+ data: value,
41
+ };
42
+ };
43
+ export default tenants;
@@ -0,0 +1,28 @@
1
+ import { FETCH_TENANTS, setSearchValue } from './tenants';
2
+ import { ValueOf } from '../../../types/common';
3
+ import type { TTenant } from '../../../types/api/tenant';
4
+ import type { IResponseError } from '../../../types/api/error';
5
+ import type { ApiRequestAction } from '../../utils';
6
+ import { METRIC_STATUS } from './contants';
7
+ export interface PreparedTenant extends TTenant {
8
+ backend: string | undefined;
9
+ sharedTenantName: string | undefined;
10
+ controlPlaneName: string;
11
+ cpu: number;
12
+ memory: number;
13
+ storage: number;
14
+ nodesCount: number;
15
+ groupsCount: number;
16
+ }
17
+ export interface TenantsState {
18
+ loading: boolean;
19
+ wasLoaded: boolean;
20
+ searchValue: string;
21
+ tenants: PreparedTenant[];
22
+ error?: IResponseError;
23
+ }
24
+ export declare type TenantsAction = ApiRequestAction<typeof FETCH_TENANTS, PreparedTenant[], IResponseError> | ReturnType<typeof setSearchValue>;
25
+ export interface TenantsStateSlice {
26
+ tenants: TenantsState;
27
+ }
28
+ export declare type MetricStatus = ValueOf<typeof METRIC_STATUS>;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,65 @@
1
+ import type { TTenant } from '../../../types/api/tenant';
2
+ export declare const calculateTenantMetrics: (tenant?: TTenant | undefined) => {
3
+ cpu: number | undefined;
4
+ memory: number | undefined;
5
+ blobStorage: number | undefined;
6
+ tableStorage: number | undefined;
7
+ cpuUsage: number | undefined;
8
+ memoryLimit: number | undefined;
9
+ blobStorageLimit: number | undefined;
10
+ tableStorageLimit: number | undefined;
11
+ };
12
+ export declare const prepareTenants: (tenants: TTenant[], useNodeAsBackend: boolean) => {
13
+ backend: string | undefined;
14
+ sharedTenantName: string | undefined;
15
+ controlPlaneName: string;
16
+ cpu: number | undefined;
17
+ memory: number | undefined;
18
+ storage: number | undefined;
19
+ nodesCount: number;
20
+ groupsCount: number;
21
+ Name?: string | undefined;
22
+ Id?: string | undefined;
23
+ Type?: import("../../../types/api/tenant").ETenantType | undefined;
24
+ State?: import("../../../types/api/tenant").State | undefined;
25
+ StateStats?: import("../../../types/api/tenant").THiveDomainStatsStateCount[] | undefined;
26
+ Metrics?: import("../../../types/api/tenant").TMetrics | undefined;
27
+ NodeIds?: number[] | undefined;
28
+ AliveNodes?: number | undefined;
29
+ Resources?: import("../../../types/api/tenant").TTenantResources | undefined;
30
+ CreateTime?: string | undefined;
31
+ Owner?: string | undefined;
32
+ Users?: string[] | undefined;
33
+ PoolStats?: import("../../../types/api/nodes").TPoolStats[] | undefined;
34
+ UserAttributes?: Record<string, string> | undefined;
35
+ Overall?: import("../../../types/api/enums").EFlag | undefined;
36
+ SystemTablets?: import("../../../types/api/tablet").TTabletStateInfo[] | undefined;
37
+ ResourceId?: string | undefined;
38
+ Tablets?: import("../../../types/api/tablet").TTabletStateInfo[] | undefined;
39
+ StorageAllocatedSize?: string | undefined;
40
+ StorageMinAvailableSize?: string | undefined;
41
+ Nodes?: import("../../../types/api/nodes").TSystemStateInfo[] | undefined;
42
+ MemoryUsed?: string | undefined;
43
+ MemoryLimit?: string | undefined;
44
+ CoresUsed?: number | undefined;
45
+ StorageGroups?: string | undefined;
46
+ MonitoringEndpoint?: string | undefined;
47
+ ControlPlane?: import("../../../types/api/tenant").ControlPlane | undefined;
48
+ StorageAllocatedLimit?: string | undefined;
49
+ DatabaseQuotas?: import("../../../types/api/tenant").DatabaseQuotas | undefined;
50
+ }[];
51
+ export declare const calculateUsage: (valueUsed?: number | undefined, valueLimit?: number | undefined) => number | undefined;
52
+ export declare const formatUsage: (usage?: number | undefined) => string | undefined;
53
+ export declare const cpuUsageToStatus: (usage?: number | undefined) => "Unspecified" | "Good" | "Warning" | "Danger";
54
+ export declare const storageUsageToStatus: (usage?: number | undefined) => "Unspecified" | "Good" | "Warning" | "Danger";
55
+ export declare const memoryUsageToStatus: (usage?: number | undefined) => "Unspecified" | "Good" | "Warning" | "Danger";
56
+ export declare const formatTenantMetrics: ({ cpu, storage, memory, }: {
57
+ cpu?: number | undefined;
58
+ storage?: number | undefined;
59
+ memory?: number | undefined;
60
+ }) => {
61
+ cpu: string | undefined;
62
+ storage: string | undefined;
63
+ memory: string | undefined;
64
+ };
65
+ export declare const normalizeProgress: (progress: number) => number;
@@ -0,0 +1,136 @@
1
+ import { formatBytes } from '../../../utils/bytesParsers';
2
+ import { formatCPUWithLabel } from '../../../utils/dataFormatters/dataFormatters';
3
+ import { isNumeric } from '../../../utils/utils';
4
+ import { METRIC_STATUS } from './contants';
5
+ const getControlPlaneValue = (tenant) => {
6
+ var _a, _b;
7
+ const parts = (_a = tenant.Name) === null || _a === void 0 ? void 0 : _a.split('/');
8
+ const defaultValue = (parts === null || parts === void 0 ? void 0 : parts.length) ? parts[parts.length - 1] : '—';
9
+ const controlPlaneName = (_b = tenant.ControlPlane) === null || _b === void 0 ? void 0 : _b.name;
10
+ return controlPlaneName !== null && controlPlaneName !== void 0 ? controlPlaneName : defaultValue;
11
+ };
12
+ const getTenantBackend = (tenant) => {
13
+ var _a;
14
+ const node = tenant.Nodes ? tenant.Nodes[0] : {};
15
+ const address = node.Host && node.Endpoints
16
+ ? (_a = node.Endpoints.find((endpoint) => endpoint.Name === 'http-mon')) === null || _a === void 0 ? void 0 : _a.Address
17
+ : undefined;
18
+ return node.Host ? `${node.Host}${address ? address : ''}` : undefined;
19
+ };
20
+ export const calculateTenantMetrics = (tenant) => {
21
+ var _a, _b;
22
+ const { CoresUsed, MemoryUsed, StorageAllocatedSize, MemoryLimit, StorageAllocatedLimit, PoolStats, Metrics = {}, DatabaseQuotas = {}, } = tenant || {};
23
+ const systemPoolUsage = (_a = PoolStats === null || PoolStats === void 0 ? void 0 : PoolStats.find(({ Name }) => Name === 'System')) === null || _a === void 0 ? void 0 : _a.Usage;
24
+ const userPoolUsage = (_b = PoolStats === null || PoolStats === void 0 ? void 0 : PoolStats.find(({ Name }) => Name === 'User')) === null || _b === void 0 ? void 0 : _b.Usage;
25
+ const cpu = isNumeric(CoresUsed) ? Number(CoresUsed) * 1000000 : undefined;
26
+ const memory = isNumeric(MemoryUsed) ? Number(MemoryUsed) : undefined;
27
+ const blobStorage = isNumeric(StorageAllocatedSize) ? Number(StorageAllocatedSize) : undefined;
28
+ const tableStorage = isNumeric(Metrics.Storage) ? Number(Metrics.Storage) : undefined;
29
+ // We use system pool usage and user pool usage to calculate cpu usage because
30
+ // only these pools directly indicate resources available to perform user queries
31
+ const cpuUsage = isNumeric(systemPoolUsage) || isNumeric(userPoolUsage)
32
+ ? Math.max(Number(systemPoolUsage), Number(userPoolUsage)) * 100
33
+ : undefined;
34
+ const memoryLimit = isNumeric(MemoryLimit) ? Number(MemoryLimit) : undefined;
35
+ const blobStorageLimit = isNumeric(StorageAllocatedLimit)
36
+ ? Number(StorageAllocatedLimit)
37
+ : undefined;
38
+ const tableStorageLimit = isNumeric(DatabaseQuotas.data_size_hard_quota)
39
+ ? Number(DatabaseQuotas.data_size_hard_quota)
40
+ : undefined;
41
+ return {
42
+ cpu,
43
+ memory,
44
+ blobStorage,
45
+ tableStorage,
46
+ cpuUsage,
47
+ memoryLimit,
48
+ blobStorageLimit,
49
+ tableStorageLimit,
50
+ };
51
+ };
52
+ const calculateTenantEntities = (tenant) => {
53
+ var _a;
54
+ const { StorageGroups, NodeIds } = tenant;
55
+ const nodesCount = (_a = NodeIds === null || NodeIds === void 0 ? void 0 : NodeIds.length) !== null && _a !== void 0 ? _a : 0;
56
+ const groupsCount = isNumeric(StorageGroups) ? Number(StorageGroups) : 0;
57
+ return { nodesCount, groupsCount };
58
+ };
59
+ export const prepareTenants = (tenants, useNodeAsBackend) => {
60
+ return tenants.map((tenant) => {
61
+ var _a;
62
+ const backend = useNodeAsBackend ? getTenantBackend(tenant) : undefined;
63
+ const sharedTenantName = (_a = tenants.find((item) => item.Id === tenant.ResourceId)) === null || _a === void 0 ? void 0 : _a.Name;
64
+ const controlPlaneName = getControlPlaneValue(tenant);
65
+ const { cpu, memory, blobStorage } = calculateTenantMetrics(tenant);
66
+ const { nodesCount, groupsCount } = calculateTenantEntities(tenant);
67
+ return Object.assign(Object.assign({}, tenant), { backend,
68
+ sharedTenantName,
69
+ controlPlaneName,
70
+ cpu,
71
+ memory, storage: blobStorage, nodesCount,
72
+ groupsCount });
73
+ });
74
+ };
75
+ export const calculateUsage = (valueUsed, valueLimit) => {
76
+ if (valueUsed && valueLimit) {
77
+ return (valueUsed * 100) / valueLimit;
78
+ }
79
+ return undefined;
80
+ };
81
+ export const formatUsage = (usage) => {
82
+ if (usage) {
83
+ return `${usage.toFixed()}%`;
84
+ }
85
+ return undefined;
86
+ };
87
+ export const cpuUsageToStatus = (usage) => {
88
+ if (!usage) {
89
+ return METRIC_STATUS.Unspecified;
90
+ }
91
+ if (usage > 70) {
92
+ return METRIC_STATUS.Danger;
93
+ }
94
+ if (usage > 60) {
95
+ return METRIC_STATUS.Warning;
96
+ }
97
+ return METRIC_STATUS.Good;
98
+ };
99
+ export const storageUsageToStatus = (usage) => {
100
+ if (!usage) {
101
+ return METRIC_STATUS.Unspecified;
102
+ }
103
+ if (usage > 85) {
104
+ return METRIC_STATUS.Danger;
105
+ }
106
+ if (usage > 75) {
107
+ return METRIC_STATUS.Warning;
108
+ }
109
+ return METRIC_STATUS.Good;
110
+ };
111
+ export const memoryUsageToStatus = (usage) => {
112
+ if (!usage) {
113
+ return METRIC_STATUS.Unspecified;
114
+ }
115
+ if (usage > 70) {
116
+ return METRIC_STATUS.Danger;
117
+ }
118
+ if (usage > 60) {
119
+ return METRIC_STATUS.Warning;
120
+ }
121
+ return METRIC_STATUS.Good;
122
+ };
123
+ export const formatTenantMetrics = ({ cpu, storage, memory, }) => ({
124
+ cpu: formatCPUWithLabel(cpu),
125
+ storage: formatBytes({ value: storage, significantDigits: 2 }) || undefined,
126
+ memory: formatBytes({ value: memory, significantDigits: 2 }) || undefined,
127
+ });
128
+ export const normalizeProgress = (progress) => {
129
+ if (progress >= 100) {
130
+ return 100;
131
+ }
132
+ if (progress <= 0) {
133
+ return 0;
134
+ }
135
+ return progress;
136
+ };
@@ -0,0 +1,15 @@
1
+ import type { Reducer } from 'redux';
2
+ import { ITooltipAction, ITooltipPositions, ITooltipState, ITooltipTemplateType } from '../../types/store/tooltip';
3
+ declare const tooltip: Reducer<ITooltipState, ITooltipAction>;
4
+ export declare const hideTooltip: () => {
5
+ readonly type: "tooltip/HIDE_TOOLTIP";
6
+ };
7
+ export declare const showTooltip: (node: EventTarget | null, data: any, templateType: ITooltipTemplateType, additionalData?: any, positions?: ITooltipPositions | undefined) => {
8
+ type: string;
9
+ node: EventTarget | null;
10
+ data: any;
11
+ templateType: "node" | "pool" | "tablet" | "nodeEndpoints" | "tabletsOverall" | "histogram" | "cell" | "json";
12
+ additionalData: any;
13
+ positions: ITooltipPositions | undefined;
14
+ };
15
+ export default tooltip;
@@ -0,0 +1,41 @@
1
+ import isEqual from 'lodash/isEqual';
2
+ import { tooltipTemplates } from '../../utils/tooltip';
3
+ const HIDE_TOOLTIP = 'tooltip/HIDE_TOOLTIP';
4
+ const UPDATE_REF = 'tooltip/UPDATE_REF';
5
+ const initialState = {
6
+ toolTipVisible: false,
7
+ currentHoveredRef: undefined,
8
+ data: undefined,
9
+ templateType: 'pool',
10
+ template: tooltipTemplates['pool'],
11
+ };
12
+ const tooltip = (state = initialState, action) => {
13
+ switch (action.type) {
14
+ case HIDE_TOOLTIP: {
15
+ return Object.assign(Object.assign({}, state), { currentHoveredRef: undefined, toolTipVisible: false });
16
+ }
17
+ case UPDATE_REF: {
18
+ if (action.templateType === 'cell' && isEqual(action.node, state.currentHoveredRef)) {
19
+ return Object.assign(Object.assign({}, state), { currentHoveredRef: undefined, toolTipVisible: false });
20
+ }
21
+ return Object.assign(Object.assign({}, state), { toolTipVisible: true, currentHoveredRef: action.node, positions: action.positions, data: action.data, additionalData: action.additionalData, templateType: action.templateType, template: tooltipTemplates[action.templateType] });
22
+ }
23
+ default: {
24
+ return state;
25
+ }
26
+ }
27
+ };
28
+ export const hideTooltip = () => {
29
+ return { type: HIDE_TOOLTIP };
30
+ };
31
+ export const showTooltip = (node, data, templateType, additionalData, positions) => {
32
+ return {
33
+ type: UPDATE_REF,
34
+ node,
35
+ data,
36
+ templateType,
37
+ additionalData,
38
+ positions,
39
+ };
40
+ };
41
+ export default tooltip;
@@ -0,0 +1,20 @@
1
+ import type { Reducer } from 'redux';
2
+ import { Selector } from 'reselect';
3
+ import type { IPreparedConsumerData, IPreparedTopicStats, ITopicAction, ITopicRootStateSlice, ITopicState } from '../../types/store/topic';
4
+ export declare const FETCH_TOPIC: {
5
+ readonly REQUEST: "topic/FETCH_TOPIC_REQUEST";
6
+ readonly SUCCESS: "topic/FETCH_TOPIC_SUCCESS";
7
+ readonly FAILURE: "topic/FETCH_TOPIC_FAILURE";
8
+ };
9
+ declare const topic: Reducer<ITopicState, ITopicAction>;
10
+ export declare const setDataWasNotLoaded: () => {
11
+ readonly type: "topic/SET_DATA_WAS_NOT_LOADED";
12
+ };
13
+ export declare const cleanTopicData: () => {
14
+ readonly type: "topic/CLEAN_TOPIC_DATA";
15
+ };
16
+ export declare function getTopic(path?: string): (dispatch: import("redux").Dispatch<import("redux").AnyAction>, getState: import(".").GetState) => Promise<unknown>;
17
+ export declare const selectConsumersNames: Selector<ITopicRootStateSlice, string[] | undefined>;
18
+ export declare const selectPreparedTopicStats: Selector<ITopicRootStateSlice, IPreparedTopicStats | undefined>;
19
+ export declare const selectPreparedConsumersData: Selector<ITopicRootStateSlice, IPreparedConsumerData[] | undefined>;
20
+ export default topic;
@@ -0,0 +1,88 @@
1
+ import { createSelector } from 'reselect';
2
+ import { createRequestActionTypes, createApiRequest } from '../utils';
3
+ import { parseLag, parseTimestampToIdleTime } from '../../utils/timeParsers';
4
+ import { convertBytesObjectToSpeed } from '../../utils/bytesParsers';
5
+ export const FETCH_TOPIC = createRequestActionTypes('topic', 'FETCH_TOPIC');
6
+ const SET_DATA_WAS_NOT_LOADED = 'topic/SET_DATA_WAS_NOT_LOADED';
7
+ const CLEAN_TOPIC_DATA = 'topic/CLEAN_TOPIC_DATA';
8
+ const initialState = {
9
+ loading: true,
10
+ wasLoaded: false,
11
+ data: undefined,
12
+ };
13
+ const topic = (state = initialState, action) => {
14
+ var _a;
15
+ switch (action.type) {
16
+ case FETCH_TOPIC.REQUEST: {
17
+ return Object.assign(Object.assign({}, state), { loading: true });
18
+ }
19
+ case FETCH_TOPIC.SUCCESS: {
20
+ // On older version it can return HTML page of Developer UI with an error
21
+ if (typeof action.data !== 'object') {
22
+ return Object.assign(Object.assign({}, state), { loading: false, error: {} });
23
+ }
24
+ return Object.assign(Object.assign({}, state), { data: action.data, loading: false, wasLoaded: true, error: undefined });
25
+ }
26
+ case FETCH_TOPIC.FAILURE: {
27
+ if ((_a = action.error) === null || _a === void 0 ? void 0 : _a.isCancelled) {
28
+ return state;
29
+ }
30
+ return Object.assign(Object.assign({}, state), { error: action.error, loading: false });
31
+ }
32
+ case SET_DATA_WAS_NOT_LOADED: {
33
+ return Object.assign(Object.assign({}, state), { wasLoaded: false });
34
+ }
35
+ case CLEAN_TOPIC_DATA: {
36
+ return Object.assign(Object.assign({}, state), { data: undefined });
37
+ }
38
+ default:
39
+ return state;
40
+ }
41
+ };
42
+ export const setDataWasNotLoaded = () => {
43
+ return {
44
+ type: SET_DATA_WAS_NOT_LOADED,
45
+ };
46
+ };
47
+ export const cleanTopicData = () => {
48
+ return {
49
+ type: CLEAN_TOPIC_DATA,
50
+ };
51
+ };
52
+ export function getTopic(path) {
53
+ return createApiRequest({
54
+ request: window.api.getTopic({ path }),
55
+ actions: FETCH_TOPIC,
56
+ });
57
+ }
58
+ const selectTopicStats = (state) => { var _a; return (_a = state.topic.data) === null || _a === void 0 ? void 0 : _a.topic_stats; };
59
+ const selectConsumers = (state) => { var _a; return (_a = state.topic.data) === null || _a === void 0 ? void 0 : _a.consumers; };
60
+ export const selectConsumersNames = createSelector([selectConsumers], (consumers) => {
61
+ return consumers === null || consumers === void 0 ? void 0 : consumers.map((consumer) => consumer === null || consumer === void 0 ? void 0 : consumer.name).filter((consumer) => consumer !== undefined);
62
+ });
63
+ export const selectPreparedTopicStats = createSelector([selectTopicStats], (rawTopicStats) => {
64
+ if (!rawTopicStats) {
65
+ return undefined;
66
+ }
67
+ const { store_size_bytes = '0', min_last_write_time, max_write_time_lag, bytes_written, } = rawTopicStats || {};
68
+ return {
69
+ storeSize: store_size_bytes,
70
+ partitionsIdleTime: parseTimestampToIdleTime(min_last_write_time),
71
+ partitionsWriteLag: parseLag(max_write_time_lag),
72
+ writeSpeed: convertBytesObjectToSpeed(bytes_written),
73
+ };
74
+ });
75
+ export const selectPreparedConsumersData = createSelector([selectConsumers], (consumers) => {
76
+ return consumers === null || consumers === void 0 ? void 0 : consumers.map((consumer) => {
77
+ const { name, consumer_stats } = consumer || {};
78
+ const { min_partitions_last_read_time, max_read_time_lag, max_write_time_lag, bytes_read } = consumer_stats || {};
79
+ return {
80
+ name,
81
+ readSpeed: convertBytesObjectToSpeed(bytes_read),
82
+ writeLag: parseLag(max_write_time_lag),
83
+ readLag: parseLag(max_read_time_lag),
84
+ readIdleTime: parseTimestampToIdleTime(min_partitions_last_read_time),
85
+ };
86
+ });
87
+ });
88
+ export default topic;
@@ -0,0 +1,4 @@
1
+ export default function getLocationMiddleware(history: any, rootReducer: any): {
2
+ locationMiddleware: any;
3
+ reducersWithLocation: (state: any, action: any) => any;
4
+ };
@@ -1,14 +1,23 @@
1
- import {createReduxLocationActions} from 'redux-location-state';
1
+ var __rest = (this && this.__rest) || function (s, e) {
2
+ var t = {};
3
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
4
+ t[p] = s[p];
5
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
6
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
7
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
8
+ t[p[i]] = s[p[i]];
9
+ }
10
+ return t;
11
+ };
12
+ import { createReduxLocationActions } from 'redux-location-state';
2
13
  import qs from 'qs';
3
14
  import _ from 'lodash';
4
- import {stateToParams} from 'redux-location-state/lib/stateToParams';
5
- import {parseQuery} from 'redux-location-state/lib/parseQuery';
6
- import {LOCATION_PUSH, LOCATION_POP} from 'redux-location-state/lib/constants';
7
- import {getMatchingDeclaredPath} from 'redux-location-state/lib/helpers';
8
-
9
- import {initialState as initialSettingsState} from './reducers/settings/settings';
10
- import {initialState as initialHeatmapState} from './reducers/heatmap';
11
-
15
+ import { stateToParams } from 'redux-location-state/lib/stateToParams';
16
+ import { parseQuery } from 'redux-location-state/lib/parseQuery';
17
+ import { LOCATION_PUSH, LOCATION_POP } from 'redux-location-state/lib/constants';
18
+ import { getMatchingDeclaredPath } from 'redux-location-state/lib/helpers';
19
+ import { initialState as initialSettingsState } from './reducers/settings/settings';
20
+ import { initialState as initialHeatmapState } from './reducers/heatmap';
12
21
  const paramSetup = {
13
22
  global: {
14
23
  problemFilter: {
@@ -81,19 +90,15 @@ const paramSetup = {
81
90
  },
82
91
  },
83
92
  };
84
-
85
93
  function mergeLocationToState(state, location) {
86
94
  return _.merge({}, state, location.query);
87
95
  }
88
-
89
96
  function restoreUnknownParams(location, prevLocation) {
90
- const {search, ...rest} = location;
97
+ const { search } = location, rest = __rest(location, ["search"]);
91
98
  const params = qs.parse(prevLocation.search.slice(1));
92
-
93
99
  // figure out which path key inside paramSetup matches location.pathname
94
100
  const declaredPath = getMatchingDeclaredPath(paramSetup, location);
95
101
  const entries = declaredPath && paramSetup[declaredPath];
96
-
97
102
  // remove params which are mapped for this page
98
103
  _.each(_.keys(entries), (param) => {
99
104
  delete params[param];
@@ -102,38 +107,31 @@ function restoreUnknownParams(location, prevLocation) {
102
107
  _.each(_.keys(paramSetup.global || {}), (param) => {
103
108
  delete params[param];
104
109
  });
105
-
106
- const restoredParams = qs.stringify(params, {encoder: encodeURIComponent});
110
+ const restoredParams = qs.stringify(params, { encoder: encodeURIComponent });
107
111
  const searchDelimiter = search.startsWith('?') ? '&' : '?';
108
-
109
- return {search: `${search}${searchDelimiter}${restoredParams}`, ...rest};
112
+ return Object.assign({ search: `${search}${searchDelimiter}${restoredParams}` }, rest);
110
113
  }
111
-
112
114
  let prevSearchStringFromState = '';
113
-
114
115
  // Keep intact params that are not present in paramSetup
115
116
  function overwriteLocationHandling(setupObject, nextState, prevLocation) {
116
117
  const nextLocation = stateToParams(setupObject, nextState, prevLocation);
117
- let {location} = nextLocation;
118
-
118
+ let { location } = nextLocation;
119
119
  if (location.search !== prevSearchStringFromState) {
120
120
  const searchRe = /\?\w+/;
121
121
  prevSearchStringFromState = location.search;
122
-
123
122
  if (searchRe.test(prevLocation.search)) {
124
123
  location = restoreUnknownParams(location, prevLocation);
125
124
  }
126
-
127
- return {...nextLocation, location};
128
- } else {
125
+ return Object.assign(Object.assign({}, nextLocation), { location });
126
+ }
127
+ else {
129
128
  // nothing to do here, state parts represented in query params didn't change
130
- return {location: prevLocation, shouldPush: false};
129
+ return { location: prevLocation, shouldPush: false };
131
130
  }
132
131
  }
133
-
134
132
  function makeReducersWithLocation(setupObject, mapLocationToState, rootReducer) {
135
133
  const locationReducer = (state, action) => {
136
- const {type, payload} = action;
134
+ const { type, payload } = action;
137
135
  if (!payload) {
138
136
  return state;
139
137
  }
@@ -143,28 +141,15 @@ function makeReducersWithLocation(setupObject, mapLocationToState, rootReducer)
143
141
  }
144
142
  return state;
145
143
  };
146
-
147
144
  return (state, action) => {
148
145
  const postReducerState = rootReducer(state, action);
149
146
  const postLocationState = locationReducer(postReducerState, action);
150
147
  const hasChanged = postLocationState !== state;
151
-
152
148
  return hasChanged ? postLocationState : state;
153
149
  };
154
150
  }
155
-
156
151
  export default function getLocationMiddleware(history, rootReducer) {
157
- const {locationMiddleware} = createReduxLocationActions(
158
- paramSetup,
159
- mergeLocationToState,
160
- history,
161
- rootReducer,
162
- overwriteLocationHandling,
163
- );
164
- const reducersWithLocation = makeReducersWithLocation(
165
- paramSetup,
166
- mergeLocationToState,
167
- rootReducer,
168
- );
169
- return {locationMiddleware, reducersWithLocation};
152
+ const { locationMiddleware } = createReduxLocationActions(paramSetup, mergeLocationToState, history, rootReducer, overwriteLocationHandling);
153
+ const reducersWithLocation = makeReducersWithLocation(paramSetup, mergeLocationToState, rootReducer);
154
+ return { locationMiddleware, reducersWithLocation };
170
155
  }
@@ -0,0 +1,24 @@
1
+ import type { Dispatch } from 'redux';
2
+ import type { GetState } from './reducers';
3
+ export declare const nop: (result: any) => any;
4
+ export declare function createRequestActionTypes<Prefix extends string, Type extends string>(prefix: Prefix, type: Type): {
5
+ readonly REQUEST: `${Prefix}/${Type}_REQUEST`;
6
+ readonly SUCCESS: `${Prefix}/${Type}_SUCCESS`;
7
+ readonly FAILURE: `${Prefix}/${Type}_FAILURE`;
8
+ };
9
+ declare type CreateApiRequestParams<Actions, Response, HandledResponse> = {
10
+ actions: Actions;
11
+ request: Promise<Response>;
12
+ dataHandler?: (data: Response, getState: GetState) => HandledResponse;
13
+ };
14
+ export declare function createApiRequest<Actions extends ReturnType<typeof createRequestActionTypes>, Response, HandledResponse>({ actions, request, dataHandler, }: CreateApiRequestParams<Actions, Response, HandledResponse>): (dispatch: Dispatch, getState: GetState) => Promise<HandledResponse | undefined>;
15
+ export declare type ApiRequestAction<Actions extends ReturnType<typeof createRequestActionTypes>, SuccessResponse = unknown, ErrorResponse = unknown> = {
16
+ type: Actions['REQUEST'];
17
+ } | {
18
+ type: Actions['SUCCESS'];
19
+ data: SuccessResponse;
20
+ } | {
21
+ type: Actions['FAILURE'];
22
+ error: ErrorResponse;
23
+ };
24
+ export {};