ydb-embedded-ui 6.23.1 → 6.25.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (260) hide show
  1. package/dist/components/CellWithPopover/CellWithPopover.js +2 -1
  2. package/dist/components/CellWithPopover/CellWithPopover.js.map +1 -1
  3. package/dist/components/NodeHostWrapper/NodeHostWrapper.d.ts +6 -2
  4. package/dist/components/NodeHostWrapper/NodeHostWrapper.js.map +1 -1
  5. package/dist/components/PDiskPopup/PDiskPopup.js +8 -1
  6. package/dist/components/PDiskPopup/PDiskPopup.js.map +1 -1
  7. package/dist/components/PaginatedTable/PaginatedTable.d.ts +3 -2
  8. package/dist/components/PaginatedTable/PaginatedTable.js +15 -21
  9. package/dist/components/PaginatedTable/PaginatedTable.js.map +1 -1
  10. package/dist/components/PaginatedTable/TableChunk.d.ts +1 -2
  11. package/dist/components/PaginatedTable/TableChunk.js +5 -19
  12. package/dist/components/PaginatedTable/TableChunk.js.map +1 -1
  13. package/dist/components/PaginatedTable/useScrollBasedChunks.d.ts +9 -0
  14. package/dist/components/PaginatedTable/useScrollBasedChunks.js +35 -0
  15. package/dist/components/PaginatedTable/useScrollBasedChunks.js.map +1 -0
  16. package/dist/components/TabletsStatistic/TabletsStatistic.d.ts +2 -2
  17. package/dist/components/TabletsStatistic/TabletsStatistic.js +2 -2
  18. package/dist/components/TabletsStatistic/TabletsStatistic.js.map +1 -1
  19. package/dist/components/VDisk/VDisk.js +12 -26
  20. package/dist/components/VDisk/VDisk.js.map +1 -1
  21. package/dist/components/VDisk/VDisk.scss +2 -0
  22. package/dist/components/VDisk/VDiskWithDonorsStack.js +2 -2
  23. package/dist/components/VDisk/VDiskWithDonorsStack.js.map +1 -1
  24. package/dist/components/VDisk/utils.d.ts +2 -0
  25. package/dist/components/VDisk/utils.js +23 -0
  26. package/dist/components/VDisk/utils.js.map +1 -0
  27. package/dist/components/VDiskInfo/VDiskInfo.js +2 -2
  28. package/dist/components/VDiskInfo/VDiskInfo.js.map +1 -1
  29. package/dist/components/VDiskPopup/VDiskPopup.d.ts +2 -3
  30. package/dist/components/VDiskPopup/VDiskPopup.js +29 -3
  31. package/dist/components/VDiskPopup/VDiskPopup.js.map +1 -1
  32. package/dist/components/nodesColumns/columns.d.ts +55 -0
  33. package/dist/components/nodesColumns/columns.js +187 -0
  34. package/dist/components/nodesColumns/columns.js.map +1 -0
  35. package/dist/components/nodesColumns/constants.d.ts +39 -0
  36. package/dist/components/nodesColumns/constants.js +73 -0
  37. package/dist/components/nodesColumns/constants.js.map +1 -0
  38. package/dist/{containers/Nodes/columns → components/nodesColumns}/i18n/en.json +4 -3
  39. package/dist/components/nodesColumns/i18n/index.d.ts +2 -0
  40. package/dist/{containers/Nodes/columns → components/nodesColumns}/i18n/index.js +1 -1
  41. package/dist/components/nodesColumns/i18n/index.js.map +1 -0
  42. package/dist/components/nodesColumns/types.d.ts +8 -0
  43. package/dist/components/nodesColumns/types.js.map +1 -0
  44. package/dist/containers/AppWithClusters/ExtendedCluster/ExtendedCluster.js +8 -4
  45. package/dist/containers/AppWithClusters/ExtendedCluster/ExtendedCluster.js.map +1 -1
  46. package/dist/containers/Authentication/Authentication.js +12 -10
  47. package/dist/containers/Authentication/Authentication.js.map +1 -1
  48. package/dist/containers/Cluster/Cluster.js +3 -1
  49. package/dist/containers/Cluster/Cluster.js.map +1 -1
  50. package/dist/containers/Cluster/utils.d.ts +4 -0
  51. package/dist/containers/Cluster/utils.js +6 -1
  52. package/dist/containers/Cluster/utils.js.map +1 -1
  53. package/dist/containers/Node/Node.js +1 -1
  54. package/dist/containers/Node/Node.js.map +1 -1
  55. package/dist/containers/Nodes/Nodes.js +1 -1
  56. package/dist/containers/Nodes/Nodes.js.map +1 -1
  57. package/dist/containers/Nodes/NodesWrapper.d.ts +2 -2
  58. package/dist/containers/Nodes/NodesWrapper.js +2 -2
  59. package/dist/containers/Nodes/NodesWrapper.js.map +1 -1
  60. package/dist/containers/Nodes/PaginatedNodes.d.ts +3 -2
  61. package/dist/containers/Nodes/PaginatedNodes.js +3 -3
  62. package/dist/containers/Nodes/PaginatedNodes.js.map +1 -1
  63. package/dist/containers/Nodes/columns/columns.d.ts +2 -7
  64. package/dist/containers/Nodes/columns/columns.js +13 -187
  65. package/dist/containers/Nodes/columns/columns.js.map +1 -1
  66. package/dist/containers/Nodes/columns/constants.d.ts +1 -38
  67. package/dist/containers/Nodes/columns/constants.js +0 -68
  68. package/dist/containers/Nodes/columns/constants.js.map +1 -1
  69. package/dist/containers/Nodes/columns/hooks.d.ts +3 -3
  70. package/dist/containers/Nodes/columns/hooks.js +2 -1
  71. package/dist/containers/Nodes/columns/hooks.js.map +1 -1
  72. package/dist/containers/PDiskPage/PDiskPage.js +2 -2
  73. package/dist/containers/PDiskPage/PDiskPage.js.map +1 -1
  74. package/dist/containers/Storage/Disks/Disks.d.ts +2 -2
  75. package/dist/containers/Storage/Disks/Disks.js +5 -6
  76. package/dist/containers/Storage/Disks/Disks.js.map +1 -1
  77. package/dist/containers/Storage/PDisk/PDisk.d.ts +2 -2
  78. package/dist/containers/Storage/PDisk/PDisk.js +13 -11
  79. package/dist/containers/Storage/PDisk/PDisk.js.map +1 -1
  80. package/dist/containers/Storage/PaginatedStorage.d.ts +4 -1
  81. package/dist/containers/Storage/PaginatedStorage.js +3 -2
  82. package/dist/containers/Storage/PaginatedStorage.js.map +1 -1
  83. package/dist/containers/Storage/PaginatedStorageGroups.js +7 -6
  84. package/dist/containers/Storage/PaginatedStorageGroups.js.map +1 -1
  85. package/dist/containers/Storage/PaginatedStorageNodes.js +9 -8
  86. package/dist/containers/Storage/PaginatedStorageNodes.js.map +1 -1
  87. package/dist/containers/Storage/Storage.d.ts +3 -1
  88. package/dist/containers/Storage/Storage.js +3 -3
  89. package/dist/containers/Storage/Storage.js.map +1 -1
  90. package/dist/containers/Storage/StorageControls/StorageControls.js +2 -2
  91. package/dist/containers/Storage/StorageGroups/PaginatedStorageGroupsTable.d.ts +3 -2
  92. package/dist/containers/Storage/StorageGroups/PaginatedStorageGroupsTable.js +2 -2
  93. package/dist/containers/Storage/StorageGroups/PaginatedStorageGroupsTable.js.map +1 -1
  94. package/dist/containers/Storage/StorageGroups/columns/StorageGroupsColumns.scss +10 -1
  95. package/dist/containers/Storage/StorageGroups/columns/columns.js +21 -16
  96. package/dist/containers/Storage/StorageGroups/columns/columns.js.map +1 -1
  97. package/dist/containers/Storage/StorageGroups/columns/constants.js +1 -1
  98. package/dist/containers/Storage/StorageGroups/columns/constants.js.map +1 -1
  99. package/dist/containers/Storage/StorageGroups/columns/hooks.d.ts +3 -2
  100. package/dist/containers/Storage/StorageGroups/columns/hooks.js +5 -5
  101. package/dist/containers/Storage/StorageGroups/columns/hooks.js.map +1 -1
  102. package/dist/containers/Storage/StorageGroups/columns/i18n/en.json +1 -1
  103. package/dist/containers/Storage/StorageGroups/columns/i18n/index.d.ts +1 -1
  104. package/dist/containers/Storage/StorageGroups/columns/types.d.ts +3 -2
  105. package/dist/containers/Storage/StorageNodes/PaginatedStorageNodesTable.d.ts +3 -2
  106. package/dist/containers/Storage/StorageNodes/PaginatedStorageNodesTable.js +2 -2
  107. package/dist/containers/Storage/StorageNodes/PaginatedStorageNodesTable.js.map +1 -1
  108. package/dist/containers/Storage/StorageNodes/columns/columns.d.ts +2 -38
  109. package/dist/containers/Storage/StorageNodes/columns/columns.js +34 -71
  110. package/dist/containers/Storage/StorageNodes/columns/columns.js.map +1 -1
  111. package/dist/containers/Storage/StorageNodes/columns/constants.d.ts +20 -4
  112. package/dist/containers/Storage/StorageNodes/columns/constants.js +4 -32
  113. package/dist/containers/Storage/StorageNodes/columns/constants.js.map +1 -1
  114. package/dist/containers/Storage/StorageNodes/columns/hooks.d.ts +2 -39
  115. package/dist/containers/Storage/StorageNodes/columns/hooks.js +4 -4
  116. package/dist/containers/Storage/StorageNodes/columns/hooks.js.map +1 -1
  117. package/dist/containers/Storage/StorageNodes/columns/i18n/en.json +0 -8
  118. package/dist/containers/Storage/StorageNodes/columns/i18n/index.d.ts +1 -1
  119. package/dist/containers/Storage/StorageNodes/columns/types.d.ts +5 -5
  120. package/dist/containers/Storage/StorageWrapper.d.ts +6 -3
  121. package/dist/containers/Storage/StorageWrapper.js +10 -3
  122. package/dist/containers/Storage/StorageWrapper.js.map +1 -1
  123. package/dist/containers/Storage/types.d.ts +6 -0
  124. package/dist/containers/Storage/types.js +2 -0
  125. package/dist/containers/Storage/types.js.map +1 -0
  126. package/dist/containers/Storage/utils/index.d.ts +4 -6
  127. package/dist/containers/Storage/utils/index.js +35 -9
  128. package/dist/containers/Storage/utils/index.js.map +1 -1
  129. package/dist/containers/StorageGroupPage/StorageGroupPage.js +2 -2
  130. package/dist/containers/StorageGroupPage/StorageGroupPage.js.map +1 -1
  131. package/dist/containers/Tablet/components/TabletStorageInfo/TabletStorageInfo.scss +2 -9
  132. package/dist/containers/Tablets/Tablets.js +2 -123
  133. package/dist/containers/Tablets/Tablets.js.map +1 -1
  134. package/dist/containers/Tablets/TabletsTable.d.ts +10 -0
  135. package/dist/containers/Tablets/TabletsTable.js +129 -0
  136. package/dist/containers/Tablets/TabletsTable.js.map +1 -0
  137. package/dist/containers/Tenant/Diagnostics/Diagnostics.js +4 -4
  138. package/dist/containers/Tenant/Diagnostics/Diagnostics.js.map +1 -1
  139. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByCpu.d.ts +4 -0
  140. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByCpu.js +18 -3
  141. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByCpu.js.map +1 -1
  142. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByLoad.js +22 -3
  143. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByLoad.js.map +1 -1
  144. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopQueries.js +2 -1
  145. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopQueries.js.map +1 -1
  146. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopShards.js +2 -1
  147. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopShards.js.map +1 -1
  148. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TopNodesByMemory.js +23 -2
  149. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TopNodesByMemory.js.map +1 -1
  150. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopGroups.js +2 -6
  151. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopGroups.js.map +1 -1
  152. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopTables.js +2 -1
  153. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopTables.js.map +1 -1
  154. package/dist/containers/Tenant/Diagnostics/TenantOverview/i18n/en.json +2 -1
  155. package/dist/containers/Tenant/Diagnostics/TenantOverview/i18n/index.d.ts +1 -1
  156. package/dist/containers/Tenant/Diagnostics/TopQueries/RunningQueriesData.js +4 -2
  157. package/dist/containers/Tenant/Diagnostics/TopQueries/RunningQueriesData.js.map +1 -1
  158. package/dist/containers/Tenant/Diagnostics/TopQueries/TopQueriesData.js +2 -1
  159. package/dist/containers/Tenant/Diagnostics/TopQueries/TopQueriesData.js.map +1 -1
  160. package/dist/containers/Tenant/Diagnostics/TopShards/TopShards.js +2 -1
  161. package/dist/containers/Tenant/Diagnostics/TopShards/TopShards.js.map +1 -1
  162. package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.js +5 -7
  163. package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.js.map +1 -1
  164. package/dist/containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/SimplifiedPlan.scss +1 -1
  165. package/dist/containers/Tenant/Query/Preview/Preview.js +3 -2
  166. package/dist/containers/Tenant/Query/Preview/Preview.js.map +1 -1
  167. package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.js +1 -4
  168. package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.js.map +1 -1
  169. package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.d.ts +4 -4
  170. package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.js +1 -1
  171. package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.js.map +1 -1
  172. package/dist/containers/Tenants/Tenants.js +10 -2
  173. package/dist/containers/Tenants/Tenants.js.map +1 -1
  174. package/dist/containers/UserSettings/i18n/en.json +0 -2
  175. package/dist/containers/UserSettings/i18n/index.d.ts +1 -1
  176. package/dist/containers/UserSettings/settings.d.ts +0 -1
  177. package/dist/containers/UserSettings/settings.js +2 -7
  178. package/dist/containers/UserSettings/settings.js.map +1 -1
  179. package/dist/containers/VDiskPage/VDiskPage.js +3 -4
  180. package/dist/containers/VDiskPage/VDiskPage.js.map +1 -1
  181. package/dist/services/api.d.ts +3 -4
  182. package/dist/services/api.js +1 -3
  183. package/dist/services/api.js.map +1 -1
  184. package/dist/services/settings.d.ts +1 -2
  185. package/dist/services/settings.js +1 -2
  186. package/dist/services/settings.js.map +1 -1
  187. package/dist/store/reducers/cluster/__test__/parseGroupsStatsQueryResponse.test.js +62 -40
  188. package/dist/store/reducers/cluster/__test__/parseGroupsStatsQueryResponse.test.js.map +1 -1
  189. package/dist/store/reducers/cluster/cluster.js +0 -1
  190. package/dist/store/reducers/cluster/cluster.js.map +1 -1
  191. package/dist/store/reducers/cluster/utils.d.ts +1 -1
  192. package/dist/store/reducers/cluster/utils.js +2 -1
  193. package/dist/store/reducers/cluster/utils.js.map +1 -1
  194. package/dist/store/reducers/executeQuery.d.ts +0 -2
  195. package/dist/store/reducers/executeQuery.js +1 -2
  196. package/dist/store/reducers/executeQuery.js.map +1 -1
  197. package/dist/store/reducers/executeTopQueries/executeTopQueries.d.ts +1 -1
  198. package/dist/store/reducers/executeTopQueries/executeTopQueries.js +4 -4
  199. package/dist/store/reducers/executeTopQueries/executeTopQueries.js.map +1 -1
  200. package/dist/store/reducers/nodes/types.d.ts +2 -7
  201. package/dist/store/reducers/nodes/utils.js +0 -6
  202. package/dist/store/reducers/nodes/utils.js.map +1 -1
  203. package/dist/store/reducers/preview.js +1 -1
  204. package/dist/store/reducers/preview.js.map +1 -1
  205. package/dist/store/reducers/shardsWorkload/shardsWorkload.js +0 -1
  206. package/dist/store/reducers/shardsWorkload/shardsWorkload.js.map +1 -1
  207. package/dist/store/reducers/storage/types.d.ts +6 -7
  208. package/dist/store/reducers/storage/utils.js +23 -9
  209. package/dist/store/reducers/storage/utils.js.map +1 -1
  210. package/dist/store/reducers/tenantOverview/executeTopTables/executeTopTables.js +0 -1
  211. package/dist/store/reducers/tenantOverview/executeTopTables/executeTopTables.js.map +1 -1
  212. package/dist/store/reducers/tenantOverview/topShards/tenantOverviewTopShards.js +0 -1
  213. package/dist/store/reducers/tenantOverview/topShards/tenantOverviewTopShards.js.map +1 -1
  214. package/dist/store/reducers/tenants/types.d.ts +1 -0
  215. package/dist/store/reducers/tenants/utils.js +4 -2
  216. package/dist/store/reducers/tenants/utils.js.map +1 -1
  217. package/dist/store/reducers/viewSchema/viewSchema.js +2 -2
  218. package/dist/store/reducers/viewSchema/viewSchema.js.map +1 -1
  219. package/dist/types/additionalProps.d.ts +1 -1
  220. package/dist/types/api/cluster.d.ts +2 -0
  221. package/dist/types/api/cluster.js +3 -1
  222. package/dist/types/api/cluster.js.map +1 -1
  223. package/dist/types/api/nodes.d.ts +3 -0
  224. package/dist/types/api/nodes.js.map +1 -1
  225. package/dist/types/api/query.d.ts +16 -30
  226. package/dist/types/api/storage.d.ts +2 -2
  227. package/dist/types/store/query.d.ts +0 -1
  228. package/dist/utils/constants.d.ts +0 -1
  229. package/dist/utils/constants.js +0 -2
  230. package/dist/utils/constants.js.map +1 -1
  231. package/dist/utils/disks/__test__/calculateVDiskSeverity.test.js +1 -2
  232. package/dist/utils/disks/__test__/calculateVDiskSeverity.test.js.map +1 -1
  233. package/dist/utils/disks/calculateVDiskSeverity.js +2 -3
  234. package/dist/utils/disks/calculateVDiskSeverity.js.map +1 -1
  235. package/dist/utils/disks/prepareDisks.js +3 -0
  236. package/dist/utils/disks/prepareDisks.js.map +1 -1
  237. package/dist/utils/disks/types.d.ts +1 -0
  238. package/dist/utils/nodes.d.ts +4 -2
  239. package/dist/utils/nodes.js +10 -1
  240. package/dist/utils/nodes.js.map +1 -1
  241. package/dist/utils/query.d.ts +5 -5
  242. package/dist/utils/query.js +7 -22
  243. package/dist/utils/query.js.map +1 -1
  244. package/dist/utils/query.test.js +221 -56
  245. package/dist/utils/query.test.js.map +1 -1
  246. package/dist/utils/storage.d.ts +1 -0
  247. package/dist/utils/storage.js +3 -0
  248. package/dist/utils/storage.js.map +1 -1
  249. package/package.json +1 -1
  250. package/dist/components/PaginatedTable/useIntersectionObserver.d.ts +0 -9
  251. package/dist/components/PaginatedTable/useIntersectionObserver.js +0 -28
  252. package/dist/components/PaginatedTable/useIntersectionObserver.js.map +0 -1
  253. package/dist/containers/Nodes/columns/i18n/index.d.ts +0 -2
  254. package/dist/containers/Nodes/columns/i18n/index.js.map +0 -1
  255. package/dist/containers/Nodes/columns/types.d.ts +0 -9
  256. package/dist/containers/Nodes/columns/types.js.map +0 -1
  257. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/utils.d.ts +0 -2
  258. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/utils.js +0 -7
  259. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/utils.js.map +0 -1
  260. /package/dist/{containers/Nodes/columns → components/nodesColumns}/types.js +0 -0
@@ -1,9 +0,0 @@
1
- import type { OnEntry, OnLeave } from './types';
2
- interface UseIntersectionObserverProps {
3
- onEntry: OnEntry;
4
- onLeave: OnLeave;
5
- /** Intersection observer calculate margins based on container element properties */
6
- parentContainer?: Element | null;
7
- }
8
- export declare const useIntersectionObserver: ({ onEntry, onLeave, parentContainer, }: UseIntersectionObserverProps) => IntersectionObserver | undefined;
9
- export {};
@@ -1,28 +0,0 @@
1
- import React from 'react';
2
- import { DEFAULT_INTERSECTION_OBSERVER_MARGIN } from './constants';
3
- export const useIntersectionObserver = ({ onEntry, onLeave, parentContainer, }) => {
4
- const observer = React.useRef();
5
- React.useEffect(() => {
6
- const callback = (entries) => {
7
- entries.forEach((entry) => {
8
- if (entry.isIntersecting) {
9
- onEntry(entry.target.id);
10
- }
11
- else {
12
- onLeave(entry.target.id);
13
- }
14
- });
15
- };
16
- observer.current = new IntersectionObserver(callback, {
17
- root: parentContainer,
18
- rootMargin: DEFAULT_INTERSECTION_OBSERVER_MARGIN,
19
- });
20
- return () => {
21
- var _a;
22
- (_a = observer.current) === null || _a === void 0 ? void 0 : _a.disconnect();
23
- observer.current = undefined;
24
- };
25
- }, [parentContainer, onEntry, onLeave]);
26
- return observer.current;
27
- };
28
- //# sourceMappingURL=useIntersectionObserver.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useIntersectionObserver.js","sourceRoot":"","sources":["../../../src/components/PaginatedTable/useIntersectionObserver.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,oCAAoC,EAAC,MAAM,aAAa,CAAC;AAUjE,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,EACpC,OAAO,EACP,OAAO,EACP,eAAe,GACY,EAAE,EAAE;IAC/B,MAAM,QAAQ,GAAG,KAAK,CAAC,MAAM,EAAwB,CAAC;IAEtD,KAAK,CAAC,SAAS,CAAC,GAAG,EAAE;QACjB,MAAM,QAAQ,GAAG,CAAC,OAAoC,EAAE,EAAE;YACtD,OAAO,CAAC,OAAO,CAAC,CAAC,KAAK,EAAE,EAAE;gBACtB,IAAI,KAAK,CAAC,cAAc,EAAE,CAAC;oBACvB,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;gBAC7B,CAAC;qBAAM,CAAC;oBACJ,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;gBAC7B,CAAC;YACL,CAAC,CAAC,CAAC;QACP,CAAC,CAAC;QAEF,QAAQ,CAAC,OAAO,GAAG,IAAI,oBAAoB,CAAC,QAAQ,EAAE;YAClD,IAAI,EAAE,eAAe;YACrB,UAAU,EAAE,oCAAoC;SACnD,CAAC,CAAC;QAEH,OAAO,GAAG,EAAE;;YACR,MAAA,QAAQ,CAAC,OAAO,0CAAE,UAAU,EAAE,CAAC;YAC/B,QAAQ,CAAC,OAAO,GAAG,SAAS,CAAC;QACjC,CAAC,CAAC;IACN,CAAC,EAAE,CAAC,eAAe,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC;IAExC,OAAO,QAAQ,CAAC,OAAO,CAAC;AAC5B,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- declare const _default: (key: "version" | "host" | "tablets" | "cpu" | "memory" | "uptime" | "load" | "node-id" | "node-name" | "dc" | "rack" | "load-average" | "process" | "caches" | "sessions", params?: import("@gravity-ui/i18n").Params) => string;
2
- export default _default;
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/containers/Nodes/columns/i18n/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,wBAAwB,CAAC;AAEvD,OAAO,EAAE,MAAM,WAAW,CAAC;AAE3B,MAAM,SAAS,GAAG,mBAAmB,CAAC;AAEtC,eAAe,eAAe,CAAC,SAAS,EAAE,EAAC,EAAE,EAAC,CAAC,CAAC"}
@@ -1,9 +0,0 @@
1
- import type { Column as DataTableColumn } from '@gravity-ui/react-data-table';
2
- import type { Column as PaginatedTableColumn } from '../../../components/PaginatedTable';
3
- import type { NodesPreparedEntity } from '../../../store/reducers/nodes/types';
4
- import type { GetNodeRefFunc } from '../../../types/additionalProps';
5
- export interface GetNodesColumnsProps {
6
- database?: string;
7
- getNodeRef?: GetNodeRefFunc;
8
- }
9
- export type NodesColumn = PaginatedTableColumn<NodesPreparedEntity> & DataTableColumn<NodesPreparedEntity>;
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/containers/Nodes/columns/types.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import type { PreparedStorageResponse } from '../../../../../store/reducers/storage/types';
2
- export declare const prepareTopStorageGroups: (data?: PreparedStorageResponse) => import("../../../../../store/reducers/storage/types").PreparedStorageGroup[];
@@ -1,7 +0,0 @@
1
- import { TENANT_OVERVIEW_TABLES_LIMIT } from '../../../../../utils/constants';
2
- export const prepareTopStorageGroups = (data) => {
3
- const { groups = [] } = data || {};
4
- const sortedGroups = [...groups].sort((a, b) => b.Usage - a.Usage);
5
- return sortedGroups.slice(0, TENANT_OVERVIEW_TABLES_LIMIT);
6
- };
7
- //# sourceMappingURL=utils.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../../../../src/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/utils.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,4BAA4B,EAAC,MAAM,gCAAgC,CAAC;AAE5E,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,IAA8B,EAAE,EAAE;IACtE,MAAM,EAAC,MAAM,GAAG,EAAE,EAAC,GAAG,IAAI,IAAI,EAAE,CAAC;IAEjC,MAAM,YAAY,GAAG,CAAC,GAAG,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC;IAEnE,OAAO,YAAY,CAAC,KAAK,CAAC,CAAC,EAAE,4BAA4B,CAAC,CAAC;AAC/D,CAAC,CAAC"}