ydb-embedded-ui 6.37.1 → 7.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (274) hide show
  1. package/dist/components/BasicNodeViewer/BasicNodeViewer.scss +2 -2
  2. package/dist/components/DeveloperUILinkButton/DeveloperUILinkButton.scss +2 -2
  3. package/dist/components/DiskStateProgressBar/DiskStateProgressBar.scss +2 -2
  4. package/dist/components/EmptyState/EmptyState.scss +4 -4
  5. package/dist/components/EntityPageTitle/EntityPageTitle.scss +2 -2
  6. package/dist/components/EntityStatus/EntityStatus.scss +4 -4
  7. package/dist/components/ErrorBoundary/ErrorBoundary.scss +3 -3
  8. package/dist/components/FullNodeViewer/FullNodeViewer.scss +2 -2
  9. package/dist/components/Fullscreen/Fullscreen.js +1 -1
  10. package/dist/components/Fullscreen/Fullscreen.js.map +1 -1
  11. package/dist/components/Fullscreen/Fullscreen.scss +8 -1
  12. package/dist/components/MemoryViewer/MemoryViewer.js +8 -7
  13. package/dist/components/MemoryViewer/MemoryViewer.js.map +1 -1
  14. package/dist/components/MemoryViewer/MemoryViewer.scss +0 -2
  15. package/dist/components/MemoryViewer/utils.d.ts +3 -1
  16. package/dist/components/MemoryViewer/utils.js +15 -13
  17. package/dist/components/MemoryViewer/utils.js.map +1 -1
  18. package/dist/components/MetricChart/getChartData.js +1 -1
  19. package/dist/components/MetricChart/getChartData.js.map +1 -1
  20. package/dist/components/PageMeta/PageMeta.scss +2 -2
  21. package/dist/components/PaginatedTable/PaginatedTable.scss +4 -4
  22. package/dist/components/PoolUsage/PoolUsage.scss +2 -2
  23. package/dist/components/ProgressViewer/ProgressViewer.scss +2 -2
  24. package/dist/components/QueryResultTable/QueryResultTable.js +4 -3
  25. package/dist/components/QueryResultTable/QueryResultTable.js.map +1 -1
  26. package/dist/components/QueryResultTable/QueryResultTable.scss +2 -2
  27. package/dist/components/TableWithControlsLayout/TableWithControlsLayout.scss +4 -4
  28. package/dist/components/User/User.scss +2 -2
  29. package/dist/components/YDBDefinitionList/YDBDefinitionList.scss +3 -3
  30. package/dist/components/nodesColumns/columns.js +1 -0
  31. package/dist/components/nodesColumns/columns.js.map +1 -1
  32. package/dist/components/nodesColumns/i18n/index.d.ts +1 -1
  33. package/dist/containers/App/App.scss +7 -6
  34. package/dist/containers/AsideNavigation/AsideNavigation.js +11 -2
  35. package/dist/containers/AsideNavigation/AsideNavigation.js.map +1 -1
  36. package/dist/containers/Authentication/Authentication.scss +2 -2
  37. package/dist/containers/Cluster/Cluster.scss +4 -4
  38. package/dist/containers/Cluster/ClusterDashboard/ClusterDashboard.scss +2 -2
  39. package/dist/containers/Cluster/ClusterInfo/ClusterInfo.scss +2 -2
  40. package/dist/containers/Cluster/ClusterInfo/components/NodesState/NodesState.scss +2 -2
  41. package/dist/containers/Clusters/constants.d.ts +1 -1
  42. package/dist/containers/Header/Header.scss +0 -2
  43. package/dist/containers/Heatmap/Heatmap.scss +3 -3
  44. package/dist/containers/Node/Node.scss +4 -4
  45. package/dist/containers/Node/NodeStructure/NodeStructure.scss +3 -3
  46. package/dist/containers/Nodes/Nodes.d.ts +2 -1
  47. package/dist/containers/Nodes/Nodes.js +12 -11
  48. package/dist/containers/Nodes/Nodes.js.map +1 -1
  49. package/dist/containers/Nodes/Nodes.scss +2 -2
  50. package/dist/containers/Nodes/NodesControls/NodesControls.d.ts +2 -1
  51. package/dist/containers/Nodes/NodesControls/NodesControls.js +7 -4
  52. package/dist/containers/Nodes/NodesControls/NodesControls.js.map +1 -1
  53. package/dist/containers/Nodes/NodesTable.d.ts +3 -2
  54. package/dist/containers/Nodes/NodesTable.js +12 -2
  55. package/dist/containers/Nodes/NodesTable.js.map +1 -1
  56. package/dist/containers/Nodes/PeerRoleFilter/PeerRoleFilter.d.ts +7 -0
  57. package/dist/containers/Nodes/PeerRoleFilter/PeerRoleFilter.js +9 -0
  58. package/dist/containers/Nodes/PeerRoleFilter/PeerRoleFilter.js.map +1 -0
  59. package/dist/containers/Nodes/PeerRoleFilter/utils.d.ts +4 -0
  60. package/dist/containers/Nodes/PeerRoleFilter/utils.js +20 -0
  61. package/dist/containers/Nodes/PeerRoleFilter/utils.js.map +1 -0
  62. package/dist/containers/Nodes/columns/columns.js +4 -4
  63. package/dist/containers/Nodes/columns/columns.js.map +1 -1
  64. package/dist/containers/Nodes/columns/constants.js +3 -6
  65. package/dist/containers/Nodes/columns/constants.js.map +1 -1
  66. package/dist/containers/Nodes/getNodes.js +3 -2
  67. package/dist/containers/Nodes/getNodes.js.map +1 -1
  68. package/dist/containers/Nodes/i18n/en.json +6 -1
  69. package/dist/containers/Nodes/i18n/index.d.ts +1 -1
  70. package/dist/containers/Nodes/useNodesPageQueryParams.d.ts +3 -1
  71. package/dist/containers/Nodes/useNodesPageQueryParams.js +8 -0
  72. package/dist/containers/Nodes/useNodesPageQueryParams.js.map +1 -1
  73. package/dist/containers/PDiskPage/PDiskPage.js +2 -2
  74. package/dist/containers/PDiskPage/PDiskPage.js.map +1 -1
  75. package/dist/containers/PDiskPage/PDiskPage.scss +2 -2
  76. package/dist/containers/ReduxTooltip/ReduxTooltip.scss +2 -2
  77. package/dist/containers/Storage/Storage.scss +2 -2
  78. package/dist/containers/Storage/StorageGroups/columns/constants.js +0 -5
  79. package/dist/containers/Storage/StorageGroups/columns/constants.js.map +1 -1
  80. package/dist/containers/Storage/StorageNodes/columns/columns.js +6 -6
  81. package/dist/containers/Storage/StorageNodes/columns/columns.js.map +1 -1
  82. package/dist/containers/Storage/StorageNodes/columns/constants.js +2 -3
  83. package/dist/containers/Storage/StorageNodes/columns/constants.js.map +1 -1
  84. package/dist/containers/Storage/StorageNodes/getNodes.js +1 -1
  85. package/dist/containers/Storage/StorageNodes/getNodes.js.map +1 -1
  86. package/dist/containers/StorageGroupPage/StorageGroupPage.scss +2 -2
  87. package/dist/containers/Tablet/Tablet.scss +2 -2
  88. package/dist/containers/Tablet/components/TabletInfo/TabletInfo.scss +2 -2
  89. package/dist/containers/Tablet/components/TabletStorageInfo/TabletStorageInfo.scss +4 -4
  90. package/dist/containers/Tablets/i18n/index.d.ts +1 -1
  91. package/dist/containers/Tenant/Acl/Acl.scss +3 -3
  92. package/dist/containers/Tenant/Diagnostics/Consumers/Consumers.scss +6 -6
  93. package/dist/containers/Tenant/Diagnostics/Consumers/TopicStats/ConsumersTopicStats.scss +2 -2
  94. package/dist/containers/Tenant/Diagnostics/Describe/Describe.scss +2 -2
  95. package/dist/containers/Tenant/Diagnostics/Diagnostics.scss +2 -2
  96. package/dist/containers/Tenant/Diagnostics/HotKeys/HotKeys.scss +0 -2
  97. package/dist/containers/Tenant/Diagnostics/Network/Network.scss +6 -6
  98. package/dist/containers/Tenant/Diagnostics/Network/NetworkWrapper.js +1 -1
  99. package/dist/containers/Tenant/Diagnostics/Network/NetworkWrapper.js.map +1 -1
  100. package/dist/containers/Tenant/Diagnostics/Overview/AsyncReplicationPaths/AsyncReplicationPaths.scss +2 -2
  101. package/dist/containers/Tenant/Diagnostics/Overview/TableInfo/TableInfo.scss +2 -2
  102. package/dist/containers/Tenant/Diagnostics/Overview/TopicStats/TopicStats.scss +2 -2
  103. package/dist/containers/Tenant/Diagnostics/Partitions/Partitions.scss +6 -6
  104. package/dist/containers/Tenant/Diagnostics/TenantOverview/Healthcheck/Healthcheck.scss +2 -2
  105. package/dist/containers/Tenant/Diagnostics/TenantOverview/Healthcheck/IssuesViewer/IssueTree.scss +2 -2
  106. package/dist/containers/Tenant/Diagnostics/TenantOverview/MetricsCards/MetricCard/MetricCard.scss +2 -2
  107. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantOverview.scss +2 -2
  108. package/dist/containers/Tenant/Diagnostics/TenantOverview/i18n/index.d.ts +1 -1
  109. package/dist/containers/Tenant/Diagnostics/TopQueries/TopQueries.scss +3 -3
  110. package/dist/containers/Tenant/Diagnostics/TopQueries/getTopQueriesColumns.js +1 -0
  111. package/dist/containers/Tenant/Diagnostics/TopQueries/getTopQueriesColumns.js.map +1 -1
  112. package/dist/containers/Tenant/ObjectGeneral/ObjectGeneral.scss +0 -2
  113. package/dist/containers/Tenant/ObjectSummary/ObjectSummary.scss +3 -3
  114. package/dist/containers/Tenant/Query/CancelQueryButton/CancelQueryButton.scss +2 -2
  115. package/dist/containers/Tenant/Query/Preview/Preview.js +11 -5
  116. package/dist/containers/Tenant/Query/Preview/Preview.js.map +1 -1
  117. package/dist/containers/Tenant/Query/Preview/Preview.scss +4 -3
  118. package/dist/containers/Tenant/Query/QueriesHistory/QueriesHistory.scss +3 -3
  119. package/dist/containers/Tenant/Query/Query.scss +2 -2
  120. package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.scss +2 -2
  121. package/dist/containers/Tenant/Query/QueryResult/components/QueryJSONViewer/QueryJSONViewer.scss +2 -2
  122. package/dist/containers/Tenant/Query/QueryResult/components/ResultSetsViewer/ResultSetsViewer.scss +2 -2
  123. package/dist/containers/Tenant/Query/QueryResult/components/SimplifiedPlan/SimplifiedPlan.scss +4 -4
  124. package/dist/containers/Tenant/Query/SavedQueries/SavedQueries.scss +3 -3
  125. package/dist/containers/Tenant/Query/i18n/en.json +1 -0
  126. package/dist/containers/Tenant/Query/i18n/index.d.ts +1 -1
  127. package/dist/containers/Tenant/Schema/SchemaViewer/SchemaViewer.scss +3 -3
  128. package/dist/containers/Tenant/Tenant.scss +3 -3
  129. package/dist/containers/Tenants/Tenants.scss +2 -2
  130. package/dist/containers/VDiskPage/VDiskPage.js +1 -1
  131. package/dist/containers/VDiskPage/VDiskPage.js.map +1 -1
  132. package/dist/containers/VDiskPage/VDiskPage.scss +2 -2
  133. package/dist/containers/Versions/GroupedNodesTree/GroupedNodesTree.d.ts +2 -2
  134. package/dist/containers/Versions/GroupedNodesTree/GroupedNodesTree.js.map +1 -1
  135. package/dist/containers/Versions/GroupedNodesTree/GroupedNodesTree.scss +2 -5
  136. package/dist/containers/Versions/NodesTable/NodesTable.d.ts +2 -2
  137. package/dist/containers/Versions/NodesTable/NodesTable.js +16 -85
  138. package/dist/containers/Versions/NodesTable/NodesTable.js.map +1 -1
  139. package/dist/containers/Versions/Versions.scss +0 -2
  140. package/dist/containers/Versions/groupNodes.d.ts +4 -4
  141. package/dist/containers/Versions/groupNodes.js.map +1 -1
  142. package/dist/containers/Versions/types.d.ts +2 -2
  143. package/dist/lib.d.ts +1 -1
  144. package/dist/lib.js +1 -1
  145. package/dist/lib.js.map +1 -1
  146. package/dist/services/api/auth.d.ts +8 -0
  147. package/dist/services/api/auth.js +10 -0
  148. package/dist/services/api/auth.js.map +1 -0
  149. package/dist/services/api/base.d.ts +13 -0
  150. package/dist/services/api/base.js +57 -0
  151. package/dist/services/api/base.js.map +1 -0
  152. package/dist/services/api/index.d.ts +31 -0
  153. package/dist/services/api/index.js +32 -0
  154. package/dist/services/api/index.js.map +1 -0
  155. package/dist/services/api/meta.d.ts +12 -0
  156. package/dist/services/api/meta.js +30 -0
  157. package/dist/services/api/meta.js.map +1 -0
  158. package/dist/services/api/operation.d.ts +8 -0
  159. package/dist/services/api/operation.js +22 -0
  160. package/dist/services/api/operation.js.map +1 -0
  161. package/dist/services/api/pdisk.d.ts +25 -0
  162. package/dist/services/api/pdisk.js +43 -0
  163. package/dist/services/api/pdisk.js.map +1 -0
  164. package/dist/services/api/scheme.d.ts +11 -0
  165. package/dist/services/api/scheme.js +12 -0
  166. package/dist/services/api/scheme.js.map +1 -0
  167. package/dist/services/api/storage.d.ts +6 -0
  168. package/dist/services/api/storage.js +28 -0
  169. package/dist/services/api/storage.js.map +1 -0
  170. package/dist/services/api/tablets.d.ts +21 -0
  171. package/dist/services/api/tablets.js +44 -0
  172. package/dist/services/api/tablets.js.map +1 -0
  173. package/dist/services/api/trace.d.ts +7 -0
  174. package/dist/services/api/trace.js +33 -0
  175. package/dist/services/api/trace.js.map +1 -0
  176. package/dist/services/api/vdisk.d.ts +12 -0
  177. package/dist/services/api/vdisk.js +16 -0
  178. package/dist/services/api/vdisk.js.map +1 -0
  179. package/dist/services/api/viewer.d.ts +129 -0
  180. package/dist/services/api/viewer.js +251 -0
  181. package/dist/services/api/viewer.js.map +1 -0
  182. package/dist/store/reducers/authentication/authentication.js +3 -3
  183. package/dist/store/reducers/authentication/authentication.js.map +1 -1
  184. package/dist/store/reducers/cancelQuery.js +1 -1
  185. package/dist/store/reducers/cancelQuery.js.map +1 -1
  186. package/dist/store/reducers/capabilities/capabilities.js +1 -1
  187. package/dist/store/reducers/capabilities/capabilities.js.map +1 -1
  188. package/dist/store/reducers/capabilities/hooks.js +1 -1
  189. package/dist/store/reducers/cluster/cluster.js +8 -3
  190. package/dist/store/reducers/cluster/cluster.js.map +1 -1
  191. package/dist/store/reducers/clusters/clusters.js +7 -2
  192. package/dist/store/reducers/clusters/clusters.js.map +1 -1
  193. package/dist/store/reducers/executeTopQueries/executeTopQueries.js +2 -2
  194. package/dist/store/reducers/executeTopQueries/executeTopQueries.js.map +1 -1
  195. package/dist/store/reducers/healthcheckInfo/healthcheckInfo.js +1 -1
  196. package/dist/store/reducers/healthcheckInfo/healthcheckInfo.js.map +1 -1
  197. package/dist/store/reducers/heatmap.js +2 -2
  198. package/dist/store/reducers/heatmap.js.map +1 -1
  199. package/dist/store/reducers/hotKeys/hotKeys.js +2 -2
  200. package/dist/store/reducers/hotKeys/hotKeys.js.map +1 -1
  201. package/dist/store/reducers/network/network.js +1 -1
  202. package/dist/store/reducers/network/network.js.map +1 -1
  203. package/dist/store/reducers/node/node.js +2 -2
  204. package/dist/store/reducers/node/node.js.map +1 -1
  205. package/dist/store/reducers/nodes/nodes.js +1 -1
  206. package/dist/store/reducers/nodes/nodes.js.map +1 -1
  207. package/dist/store/reducers/nodes/types.d.ts +2 -1
  208. package/dist/store/reducers/nodesList.js +1 -1
  209. package/dist/store/reducers/nodesList.js.map +1 -1
  210. package/dist/store/reducers/operations.js +3 -3
  211. package/dist/store/reducers/operations.js.map +1 -1
  212. package/dist/store/reducers/overview/overview.js +2 -2
  213. package/dist/store/reducers/overview/overview.js.map +1 -1
  214. package/dist/store/reducers/partitions/partitions.js +2 -2
  215. package/dist/store/reducers/partitions/partitions.js.map +1 -1
  216. package/dist/store/reducers/pdisk/pdisk.js +3 -3
  217. package/dist/store/reducers/pdisk/pdisk.js.map +1 -1
  218. package/dist/store/reducers/planToSvg.js +1 -1
  219. package/dist/store/reducers/planToSvg.js.map +1 -1
  220. package/dist/store/reducers/preview.d.ts +1 -0
  221. package/dist/store/reducers/preview.js +2 -2
  222. package/dist/store/reducers/preview.js.map +1 -1
  223. package/dist/store/reducers/query/query.js +1 -1
  224. package/dist/store/reducers/query/query.js.map +1 -1
  225. package/dist/store/reducers/schema/schema.js +2 -2
  226. package/dist/store/reducers/schema/schema.js.map +1 -1
  227. package/dist/store/reducers/schemaAcl/schemaAcl.js +1 -1
  228. package/dist/store/reducers/schemaAcl/schemaAcl.js.map +1 -1
  229. package/dist/store/reducers/shardsWorkload/shardsWorkload.js +1 -1
  230. package/dist/store/reducers/shardsWorkload/shardsWorkload.js.map +1 -1
  231. package/dist/store/reducers/storage/requestStorageData.d.ts +1 -1
  232. package/dist/store/reducers/storage/requestStorageData.js +2 -2
  233. package/dist/store/reducers/storage/requestStorageData.js.map +1 -1
  234. package/dist/store/reducers/storage/storage.js +1 -1
  235. package/dist/store/reducers/storage/storage.js.map +1 -1
  236. package/dist/store/reducers/tablet.js +10 -8
  237. package/dist/store/reducers/tablet.js.map +1 -1
  238. package/dist/store/reducers/tablets.js +1 -1
  239. package/dist/store/reducers/tablets.js.map +1 -1
  240. package/dist/store/reducers/tenant/tenant.js +2 -2
  241. package/dist/store/reducers/tenant/tenant.js.map +1 -1
  242. package/dist/store/reducers/tenantOverview/executeTopTables/executeTopTables.js +1 -1
  243. package/dist/store/reducers/tenantOverview/executeTopTables/executeTopTables.js.map +1 -1
  244. package/dist/store/reducers/tenantOverview/topShards/tenantOverviewTopShards.js +1 -1
  245. package/dist/store/reducers/tenantOverview/topShards/tenantOverviewTopShards.js.map +1 -1
  246. package/dist/store/reducers/tenants/tenants.js +3 -1
  247. package/dist/store/reducers/tenants/tenants.js.map +1 -1
  248. package/dist/store/reducers/tooltip.d.ts +1 -1
  249. package/dist/store/reducers/topic.js +1 -1
  250. package/dist/store/reducers/topic.js.map +1 -1
  251. package/dist/store/reducers/trace.js +1 -1
  252. package/dist/store/reducers/trace.js.map +1 -1
  253. package/dist/store/reducers/vdisk/vdisk.js +3 -3
  254. package/dist/store/reducers/vdisk/vdisk.js.map +1 -1
  255. package/dist/store/reducers/viewSchema/viewSchema.js +1 -1
  256. package/dist/store/reducers/viewSchema/viewSchema.js.map +1 -1
  257. package/dist/styles/mixins.scss +2 -1
  258. package/dist/styles/themes.scss +8 -8
  259. package/dist/types/api/nodes.d.ts +4 -1
  260. package/dist/types/api/nodes.js.map +1 -1
  261. package/dist/utils/hooks/useLastQueryExecutionSettings.d.ts +2 -2
  262. package/dist/utils/hooks/useQueryExecutionSettings.d.ts +1 -1
  263. package/dist/utils/monaco/yql/generateSuggestions.js +6 -2
  264. package/dist/utils/monaco/yql/generateSuggestions.js.map +1 -1
  265. package/dist/utils/query.d.ts +3 -3
  266. package/dist/utils/query.js +2 -2
  267. package/dist/utils/query.js.map +1 -1
  268. package/dist/utils/versions/getVersionsColors.d.ts +1 -1
  269. package/dist/utils/versions/getVersionsColors.js +3 -2
  270. package/dist/utils/versions/getVersionsColors.js.map +1 -1
  271. package/package.json +2 -2
  272. package/dist/services/api.d.ts +0 -219
  273. package/dist/services/api.js +0 -522
  274. package/dist/services/api.js.map +0 -1
@@ -1,7 +1,7 @@
1
- @import '../../../../../styles/mixins.scss';
1
+ @use '../../../../../styles/mixins.scss';
2
2
 
3
3
  .ydb-async-replication-paths {
4
4
  &__title {
5
- @include info-viewer-title();
5
+ @include mixins.info-viewer-title();
6
6
  }
7
7
  }
@@ -1,8 +1,8 @@
1
- @import '../../../../../styles/mixins.scss';
1
+ @use '../../../../../styles/mixins.scss';
2
2
 
3
3
  .ydb-diagnostics-table-info {
4
4
  &__title {
5
- @include info-viewer-title();
5
+ @include mixins.info-viewer-title();
6
6
  }
7
7
 
8
8
  &__row {
@@ -1,8 +1,8 @@
1
- @import '../../../../../styles/mixins.scss';
1
+ @use '../../../../../styles/mixins.scss';
2
2
 
3
3
  .ydb-overview-topic-stats {
4
4
  &__title {
5
- @include info-viewer-title();
5
+ @include mixins.info-viewer-title();
6
6
  }
7
7
 
8
8
  .ydb-loader {
@@ -1,4 +1,4 @@
1
- @import '../../../../styles/mixins.scss';
1
+ @use '../../../../styles/mixins.scss';
2
2
 
3
3
  .ydb-diagnostics-partitions {
4
4
  overflow: auto;
@@ -6,10 +6,10 @@
6
6
 
7
7
  height: 100%;
8
8
 
9
- @include flex-container();
9
+ @include mixins.flex-container();
10
10
 
11
11
  &__controls {
12
- @include controls();
12
+ @include mixins.controls();
13
13
  }
14
14
 
15
15
  &__consumer-select {
@@ -21,7 +21,7 @@
21
21
  }
22
22
 
23
23
  &__search {
24
- @include search();
24
+ @include mixins.search();
25
25
  &_partition {
26
26
  width: 100px;
27
27
  }
@@ -32,7 +32,7 @@
32
32
 
33
33
  &__table-wrapper {
34
34
  overflow: auto;
35
- @include flex-container();
35
+ @include mixins.flex-container();
36
36
  }
37
37
 
38
38
  &__table-content {
@@ -42,6 +42,6 @@
42
42
  }
43
43
 
44
44
  &__table {
45
- @include freeze-nth-column(1);
45
+ @include mixins.freeze-nth-column(1);
46
46
  }
47
47
  }
@@ -1,4 +1,4 @@
1
- @import '../../../../../styles/mixins.scss';
1
+ @use '../../../../../styles/mixins.scss';
2
2
 
3
3
  .healthcheck {
4
4
  $block: &;
@@ -23,7 +23,7 @@
23
23
 
24
24
  color: var(--g-color-text-link);
25
25
 
26
- @include lead-typography();
26
+ @include mixins.lead-typography();
27
27
  }
28
28
 
29
29
  &__preview-content {
@@ -1,4 +1,4 @@
1
- @import '../../../../../../styles/mixins.scss';
1
+ @use '../../../../../../styles/mixins.scss';
2
2
 
3
3
  .issue-tree {
4
4
  display: flex;
@@ -23,7 +23,7 @@
23
23
  }
24
24
 
25
25
  &__inspector {
26
- @include json-tree-styles();
26
+ @include mixins.json-tree-styles();
27
27
 
28
28
  :not(.json-inspector__leaf_expanded).json-inspector__leaf_composite:before {
29
29
  content: '';
@@ -1,4 +1,4 @@
1
- @import '../../../../../../styles/mixins.scss';
1
+ @use '../../../../../../styles/mixins.scss';
2
2
 
3
3
  .ydb-metrics-card {
4
4
  $b: &;
@@ -18,7 +18,7 @@
18
18
  font-weight: 600;
19
19
 
20
20
  color: var(--g-color-text-link);
21
- @include lead-typography();
21
+ @include mixins.lead-typography();
22
22
  }
23
23
 
24
24
  &__content {
@@ -1,4 +1,4 @@
1
- @import '../../../../styles/mixins.scss';
1
+ @use '../../../../styles/mixins.scss';
2
2
 
3
3
  .tenant-overview {
4
4
  overflow: auto;
@@ -47,7 +47,7 @@
47
47
 
48
48
  font-weight: 700;
49
49
 
50
- @include body-2-typography();
50
+ @include mixins.body-2-typography();
51
51
  }
52
52
 
53
53
  &__table {
@@ -1,2 +1,2 @@
1
- declare const _default: (key: "queries" | "nodes" | "tables" | "no-data" | "top" | "groups" | "shards" | "no-pools-data" | "top-nodes.empty-data" | "top-groups.empty-data" | "by-pools-usage" | "by-cpu-time" | "by-cpu-usage" | "by-load" | "by-memory" | "by-usage" | "by-size" | "cards.cpu-label" | "cards.storage-label" | "cards.memory-label" | "charts.queries-per-second" | "charts.transaction-latency" | "charts.cpu-usage" | "charts.storage-usage" | "charts.memory-usage" | "storage.tablet-storage-title" | "storage.tablet-storage-description" | "storage.db-storage-title" | "storage.db-storage-description" | "executed-last-hour" | "column-header.process", params?: import("@gravity-ui/i18n").Params) => string;
1
+ declare const _default: (key: "nodes" | "queries" | "tables" | "no-data" | "top" | "groups" | "shards" | "no-pools-data" | "top-nodes.empty-data" | "top-groups.empty-data" | "by-pools-usage" | "by-cpu-time" | "by-cpu-usage" | "by-load" | "by-memory" | "by-usage" | "by-size" | "cards.cpu-label" | "cards.storage-label" | "cards.memory-label" | "charts.queries-per-second" | "charts.transaction-latency" | "charts.cpu-usage" | "charts.storage-usage" | "charts.memory-usage" | "storage.tablet-storage-title" | "storage.tablet-storage-description" | "storage.db-storage-title" | "storage.db-storage-description" | "executed-last-hour" | "column-header.process", params?: import("@gravity-ui/i18n").Params) => string;
2
2
  export default _default;
@@ -1,4 +1,4 @@
1
- @import '../../../../styles/mixins.scss';
1
+ @use '../../../../styles/mixins.scss';
2
2
 
3
3
  .kv-top-queries {
4
4
  display: flex;
@@ -6,10 +6,10 @@
6
6
 
7
7
  height: 100%;
8
8
 
9
- @include query-data-table;
9
+ @include mixins.query-data-table;
10
10
 
11
11
  &__search {
12
- @include search();
12
+ @include mixins.search();
13
13
  }
14
14
 
15
15
  &__row {
@@ -96,6 +96,7 @@ const applicationColumn = {
96
96
  sortable: true,
97
97
  };
98
98
  export const TOP_QUERIES_COLUMNS = [
99
+ queryHashColumn,
99
100
  cpuTimeUsColumn,
100
101
  queryTextColumn,
101
102
  endTimeColumn,
@@ -1 +1 @@
1
- {"version":3,"file":"getTopQueriesColumns.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Diagnostics/TopQueries/getTopQueriesColumns.tsx"],"names":[],"mappings":";AAAA,OAAO,SAAS,MAAM,8BAA8B,CAAC;AAGrD,OAAO,EACH,uBAAuB,EACvB,cAAc,GACjB,MAAM,sDAAsD,CAAC;AAE9D,OAAO,EAAC,EAAE,EAAC,MAAM,sBAAsB,CAAC;AACxC,OAAO,EAAC,cAAc,EAAE,YAAY,EAAC,MAAM,iDAAiD,CAAC;AAC7F,OAAO,EAAC,uBAAuB,EAAC,MAAM,+BAA+B,CAAC;AACtE,OAAO,EAAC,YAAY,EAAC,MAAM,gCAAgC,CAAC;AAC5D,OAAO,EAAC,UAAU,EAAE,WAAW,EAAC,MAAM,+BAA+B,CAAC;AACtE,OAAO,EAAC,gBAAgB,EAAC,MAAM,uBAAuB,CAAC;AAEvD,OAAO,IAAI,MAAM,QAAQ,CAAC;AAE1B,OAAO,mBAAmB,CAAC;AAE3B,MAAM,CAAC,GAAG,EAAE,CAAC,gBAAgB,CAAC,CAAC;AAE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,EAAE,EAAE,CAAC,cAAK,SAAS,EAAE,CAAC,CAAC,UAAU,CAAC,YAAG,GAAG,CAAC,eAAe,IAAI,GAAG,GAAO;IACpF,QAAQ,EAAE,IAAI;CACjB,CAAC;AAEF,MAAM,CAAC,MAAM,mBAAmB,GAAG;IAC/B,eAAe;IACf,eAAe;IACf,aAAa;IACb,cAAc;IACd,cAAc;IACd,eAAe;IACf,aAAa;CAChB,CAAC;AAEF,MAAM,CAAC,MAAM,mCAAmC,GAAG;IAC/C,eAAe;IACf,sBAAsB;IACtB,eAAe;CAClB,CAAC;AAEF,MAAM,CAAC,MAAM,uBAAuB,GAAG;IACnC,aAAa;IACb,gBAAgB;IAChB,eAAe;IACf,iBAAiB;CACpB,CAAC"}
1
+ {"version":3,"file":"getTopQueriesColumns.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Diagnostics/TopQueries/getTopQueriesColumns.tsx"],"names":[],"mappings":";AAAA,OAAO,SAAS,MAAM,8BAA8B,CAAC;AAGrD,OAAO,EACH,uBAAuB,EACvB,cAAc,GACjB,MAAM,sDAAsD,CAAC;AAE9D,OAAO,EAAC,EAAE,EAAC,MAAM,sBAAsB,CAAC;AACxC,OAAO,EAAC,cAAc,EAAE,YAAY,EAAC,MAAM,iDAAiD,CAAC;AAC7F,OAAO,EAAC,uBAAuB,EAAC,MAAM,+BAA+B,CAAC;AACtE,OAAO,EAAC,YAAY,EAAC,MAAM,gCAAgC,CAAC;AAC5D,OAAO,EAAC,UAAU,EAAE,WAAW,EAAC,MAAM,+BAA+B,CAAC;AACtE,OAAO,EAAC,gBAAgB,EAAC,MAAM,uBAAuB,CAAC;AAEvD,OAAO,IAAI,MAAM,QAAQ,CAAC;AAE1B,OAAO,mBAAmB,CAAC;AAE3B,MAAM,CAAC,GAAG,EAAE,CAAC,gBAAgB,CAAC,CAAC;AAE/B,MAAM,CAAC,MAAM,gCAAgC,GAAG,wBAAwB,CAAC;AACzE,MAAM,CAAC,MAAM,oCAAoC,GAAG,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I,GAAG,GAAO;IACpF,QAAQ,EAAE,IAAI;CACjB,CAAC;AAEF,MAAM,CAAC,MAAM,mBAAmB,GAAG;IAC/B,eAAe;IACf,eAAe;IACf,eAAe;IACf,aAAa;IACb,cAAc;IACd,cAAc;IACd,eAAe;IACf,aAAa;CAChB,CAAC;AAEF,MAAM,CAAC,MAAM,mCAAmC,GAAG;IAC/C,eAAe;IACf,sBAAsB;IACtB,eAAe;CAClB,CAAC;AAEF,MAAM,CAAC,MAAM,uBAAuB,GAAG;IACnC,aAAa;IACb,gBAAgB;IAChB,eAAe;IACf,iBAAiB;CACpB,CAAC"}
@@ -1,5 +1,3 @@
1
- @import '../../../styles/mixins.scss';
2
-
3
1
  .object-general {
4
2
  display: flex;
5
3
  flex-grow: 1;
@@ -1,4 +1,4 @@
1
- @import '../../../styles/mixins.scss';
1
+ @use '../../../styles/mixins.scss';
2
2
 
3
3
  .ydb-object-summary {
4
4
  position: relative;
@@ -59,7 +59,7 @@
59
59
 
60
60
  &__sticky-top {
61
61
  z-index: 5;
62
- @include sticky-top();
62
+ @include mixins.sticky-top();
63
63
  }
64
64
 
65
65
  &__tabs {
@@ -147,7 +147,7 @@
147
147
  }
148
148
  }
149
149
  &__overview-title {
150
- @include info-viewer-title();
150
+ @include mixins.info-viewer-title();
151
151
  }
152
152
  &__overview-item-content {
153
153
  text-align: end;
@@ -1,9 +1,9 @@
1
- @import '../../../../styles/mixins.scss';
1
+ @use '../../../../styles/mixins.scss';
2
2
 
3
3
  .cancel-query-button {
4
4
  &__stop-button {
5
5
  &_error {
6
- @include query-buttons-animations();
6
+ @include mixins.query-buttons-animations();
7
7
  }
8
8
  }
9
9
  }
@@ -1,6 +1,6 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
1
+ import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
2
2
  import { Xmark } from '@gravity-ui/icons';
3
- import { Button, Icon, Loader } from '@gravity-ui/uikit';
3
+ import { Button, Icon, Loader, Text } from '@gravity-ui/uikit';
4
4
  import EnableFullscreenButton from '../../../../components/EnableFullscreenButton/EnableFullscreenButton';
5
5
  import Fullscreen from '../../../../components/Fullscreen/Fullscreen';
6
6
  import { QueryResultTable } from '../../../../components/QueryResultTable';
@@ -17,8 +17,13 @@ export const Preview = ({ database, path, type }) => {
17
17
  var _a, _b;
18
18
  const dispatch = useTypedDispatch();
19
19
  const isPreviewAvailable = isTableType(type);
20
- const query = `select * from \`${path}\` limit 32`;
21
- const { currentData, isFetching, error } = previewApi.useSendQueryQuery({ database, query, action: isExternalTableType(type) ? 'execute-query' : 'execute-scan' }, {
20
+ const query = `select * from \`${path}\` limit 101`;
21
+ const { currentData, isFetching, error } = previewApi.useSendQueryQuery({
22
+ database,
23
+ query,
24
+ action: isExternalTableType(type) ? 'execute-query' : 'execute-scan',
25
+ limitRows: 100,
26
+ }, {
22
27
  skip: !isPreviewAvailable,
23
28
  refetchOnMountOrArgChange: true,
24
29
  });
@@ -28,7 +33,8 @@ export const Preview = ({ database, path, type }) => {
28
33
  dispatch(setShowPreview(false));
29
34
  };
30
35
  const renderHeader = () => {
31
- return (_jsxs("div", { className: b('header'), children: [_jsxs("div", { className: b('title'), children: [i18n('preview.title'), " ", _jsx("div", { className: b('table-name'), children: path })] }), _jsxs("div", { className: b('controls-left'), children: [_jsx(EnableFullscreenButton, { disabled: Boolean(error) }), _jsx(Button, { view: "flat-secondary", onClick: handleClosePreview, title: i18n('preview.close'), children: _jsx(Icon, { data: Xmark, size: 18 }) })] })] }));
36
+ var _a, _b;
37
+ return (_jsxs("div", { className: b('header'), children: [_jsxs("div", { className: b('title'), children: [i18n('preview.title'), _jsxs(Text, { color: "secondary", variant: "body-2", children: [data.truncated ? `${i18n('preview.truncated')} ` : '', "(", (_b = (_a = data.result) === null || _a === void 0 ? void 0 : _a.length) !== null && _b !== void 0 ? _b : 0, ")"] }), _jsx("div", { className: b('table-name'), children: path })] }), _jsxs("div", { className: b('controls-left'), children: [_jsx(EnableFullscreenButton, { disabled: Boolean(error) }), _jsx(Button, { view: "flat-secondary", onClick: handleClosePreview, title: i18n('preview.close'), children: _jsx(Icon, { data: Xmark, size: 18 }) })] })] }));
32
38
  };
33
39
  if (loading) {
34
40
  return (_jsx("div", { className: b('loader-container'), children: _jsx(Loader, { size: "m" }) }));
@@ -1 +1 @@
1
- {"version":3,"file":"Preview.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Query/Preview/Preview.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,KAAK,EAAC,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAC,MAAM,EAAE,IAAI,EAAE,MAAM,EAAC,MAAM,mBAAmB,CAAC;AAEvD,OAAO,sBAAsB,MAAM,sEAAsE,CAAC;AAC1G,OAAO,UAAU,MAAM,8CAA8C,CAAC;AACtE,OAAO,EAAC,gBAAgB,EAAC,MAAM,yCAAyC,CAAC;AACzE,OAAO,EAAC,UAAU,EAAC,MAAM,oCAAoC,CAAC;AAC9D,OAAO,EAAC,cAAc,EAAC,MAAM,0CAA0C,CAAC;AAExE,OAAO,EAAC,EAAE,EAAC,MAAM,sBAAsB,CAAC;AACxC,OAAO,EAAC,gBAAgB,EAAC,MAAM,yBAAyB,CAAC;AACzD,OAAO,EAAC,uBAAuB,EAAC,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAC,mBAAmB,EAAE,WAAW,EAAC,MAAM,oBAAoB,CAAC;AACpE,OAAO,IAAI,MAAM,SAAS,CAAC;AAE3B,OAAO,gBAAgB,CAAC;AAExB,MAAM,CAAC,GAAG,EAAE,CAAC,YAAY,CAAC,CAAC;AAQ3B,MAAM,CAAC,MAAM,OAAO,GAAG,CAAC,EAAC,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAe,EAAE,EAAE;;IAC5D,MAAM,QAAQ,GAAG,gBAAgB,EAAE,CAAC;IAEpC,MAAM,kBAAkB,GAAG,WAAW,CAAC,IAAI,CAAC,CAAC;IAE7C,MAAM,KAAK,GAAG,m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F,CAAC;SAAM,IAAI,KAAK,EAAE,CAAC;QACf,OAAO,GAAG,CACN,cAAK,SAAS,EAAE,CAAC,CAAC,mBAAmB,EAAE,OAAO,CAAC,YAAG,uBAAuB,CAAC,KAAK,CAAC,GAAO,CAC1F,CAAC;IACN,CAAC;IAED,MAAM,OAAO,GAAG,OAAO,aAAP,OAAO,cAAP,OAAO,GAAI,CACvB,cAAK,SAAS,EAAE,CAAC,CAAC,QAAQ,CAAC,YACvB,KAAC,gBAAgB,IAAC,IAAI,EAAE,IAAI,CAAC,MAAM,EAAE,OAAO,EAAE,IAAI,CAAC,OAAO,GAAI,GAC5D,CACT,CAAC;IAEF,OAAO,CACH,eAAK,SAAS,EAAE,CAAC,EAAE,aACd,YAAY,EAAE,EACf,KAAC,UAAU,cAAE,OAAO,GAAc,IAChC,CACT,CAAC;AACN,CAAC,CAAC"}
@@ -4,12 +4,12 @@
4
4
  height: 100%;
5
5
  @include mixins.flex-container();
6
6
  @include mixins.query-data-table();
7
-
8
7
  &__header {
9
8
  position: sticky;
10
9
  top: 0;
11
10
 
12
11
  display: flex;
12
+ flex-shrink: 0;
13
13
  justify-content: space-between;
14
14
  align-items: center;
15
15
 
@@ -22,17 +22,18 @@
22
22
 
23
23
  &__title {
24
24
  display: flex;
25
+ gap: var(--g-spacing-1);
25
26
  }
26
27
 
27
28
  &__table-name {
28
- margin-left: 4px;
29
+ margin-left: var(--g-spacing-1);
29
30
 
30
31
  color: var(--g-color-text-complementary);
31
32
  }
32
33
 
33
34
  &__controls-left {
34
35
  display: flex;
35
- gap: 5px;
36
+ gap: var(--g-spacing-1);
36
37
  }
37
38
  &__message-container {
38
39
  padding: 15px 20px;
@@ -1,4 +1,4 @@
1
- @import '../../../../styles/mixins.scss';
1
+ @use '../../../../styles/mixins.scss';
2
2
 
3
3
  .ydb-queries-history {
4
4
  overflow: auto;
@@ -6,7 +6,7 @@
6
6
  height: 100%;
7
7
  padding: 0 20px;
8
8
 
9
- @include flex-container();
9
+ @include mixins.flex-container();
10
10
 
11
11
  .ydb-table-with-controls-layout__controls {
12
12
  height: 46px;
@@ -18,7 +18,7 @@
18
18
  }
19
19
 
20
20
  &__search {
21
- @include search();
21
+ @include mixins.search();
22
22
  }
23
23
 
24
24
  &__table-row {
@@ -1,8 +1,8 @@
1
- @import '../../../styles/mixins.scss';
1
+ @use '../../../styles/mixins.scss';
2
2
 
3
3
  .ydb-query {
4
4
  max-height: calc(100% - 56px); // 56px - height of TenantNavigation
5
- @include flex-container();
5
+ @include mixins.flex-container();
6
6
 
7
7
  &__tabs {
8
8
  padding: 0 20px 16px;
@@ -1,4 +1,4 @@
1
- @import '../../../../styles/mixins.scss';
1
+ @use '../../../../styles/mixins.scss';
2
2
 
3
3
  .query-editor {
4
4
  position: relative;
@@ -9,7 +9,7 @@
9
9
 
10
10
  height: 100%;
11
11
 
12
- @include query-data-table;
12
+ @include mixins.query-data-table;
13
13
 
14
14
  &__monaco {
15
15
  position: relative;
@@ -1,4 +1,4 @@
1
- @import '../../../../../../styles/mixins.scss';
1
+ @use '../../../../../../styles/mixins.scss';
2
2
 
3
3
  .ydb-query-json-viewer {
4
4
  &__inspector {
@@ -7,6 +7,6 @@
7
7
  width: 100%;
8
8
  height: 100%;
9
9
  padding: 15px 10px;
10
- @include json-tree-styles();
10
+ @include mixins.json-tree-styles();
11
11
  }
12
12
  }
@@ -1,4 +1,4 @@
1
- @import '../../../../../../styles/mixins.scss';
1
+ @use '../../../../../../styles/mixins.scss';
2
2
 
3
3
  .ydb-query-result-sets-viewer {
4
4
  &__tabs {
@@ -28,7 +28,7 @@
28
28
 
29
29
  padding-left: 10px;
30
30
 
31
- @include query-data-table();
31
+ @include mixins.query-data-table();
32
32
  & .data-table__table-wrapper {
33
33
  padding-bottom: 0;
34
34
  }
@@ -1,4 +1,4 @@
1
- @import '../../../../../../styles/mixins.scss';
1
+ @use '../../../../../../styles/mixins.scss';
2
2
 
3
3
  .ydb-query-simplified-plan {
4
4
  $block: &;
@@ -15,7 +15,7 @@
15
15
  border-collapse: collapse;
16
16
  tr {
17
17
  &:hover {
18
- background-color: var(--g-color-base-generic-hover) !important;
18
+ background-color: var(--g-color-base-simple-hover) !important;
19
19
  }
20
20
  }
21
21
  tr:nth-of-type(2n + 1) {
@@ -36,7 +36,7 @@
36
36
  text-align: left;
37
37
 
38
38
  background-color: var(--g-color-base-background);
39
- @include text-subheader-2();
39
+ @include mixins.text-subheader-2();
40
40
  &_align_right {
41
41
  text-align: right;
42
42
  }
@@ -55,7 +55,7 @@
55
55
  &__table-cell {
56
56
  height: 30px;
57
57
  padding: 0;
58
- @include text-body-2();
58
+ @include mixins.text-body-2();
59
59
  &_align_right {
60
60
  text-align: right;
61
61
  }
@@ -1,4 +1,4 @@
1
- @import '../../../../styles/mixins.scss';
1
+ @use '../../../../styles/mixins.scss';
2
2
 
3
3
  .ydb-saved-queries {
4
4
  $block: &;
@@ -8,7 +8,7 @@
8
8
  height: 100%;
9
9
  padding: 0 20px;
10
10
 
11
- @include flex-container();
11
+ @include mixins.flex-container();
12
12
 
13
13
  .ydb-table-with-controls-layout__controls {
14
14
  height: 46px;
@@ -20,7 +20,7 @@
20
20
  }
21
21
 
22
22
  &__search {
23
- @include search();
23
+ @include mixins.search();
24
24
  }
25
25
 
26
26
  &__row {
@@ -13,6 +13,7 @@
13
13
  "preview.title": "Preview",
14
14
  "preview.not-available": "Preview is not available",
15
15
  "preview.close": "Close preview",
16
+ "preview.truncated": "truncated",
16
17
  "method-description.script": "For YQL-scripts combining DDL and DML.\nAPI call: schema.scripting",
17
18
  "method-description.scan": "Read-only queries, potentially reading a lot of data.\nAPI call: table.ExecuteScan",
18
19
  "method-description.data": "DML queries for changing and fetching data in serialization mode.\nAPI call: table.executeDataQuery",
@@ -1,2 +1,2 @@
1
- declare const _default: (key: "filter.text.placeholder" | "controls.query-mode-selector_type" | "tabs.newQuery" | "tabs.history" | "tabs.saved" | "history.empty" | "history.empty-search" | "saved.empty" | "delete-dialog.header" | "delete-dialog.question" | "delete-dialog.delete" | "delete-dialog.cancel" | "preview.title" | "preview.not-available" | "preview.close" | "method-description.script" | "method-description.scan" | "method-description.data" | "method-description.query" | "method-description.pg" | "transaction-mode-description.serializable" | "transaction-mode-description.onlinero" | "transaction-mode-description.stalero" | "transaction-mode-description.snapshot" | "transaction-mode-description.implicit" | "tracing-level-description.basic" | "tracing-level-description.detailed" | "tracing-level-description.diagnostic" | "tracing-level-description.off" | "tracing-level-description.toplevel" | "tracing-level-description.trace" | "statistics-mode-description.none" | "statistics-mode-description.basic" | "statistics-mode-description.full" | "statistics-mode-description.profile" | "query-duration.description" | "action.send-query" | "action.send-selected-query" | "action.previous-query" | "action.next-query" | "action.save-query" | "action.stop" | "gear.tooltip" | "banner.query-settings.message" | "history.queryText" | "history.endTime" | "history.duration", params?: import("@gravity-ui/i18n").Params) => string;
1
+ declare const _default: (key: "filter.text.placeholder" | "controls.query-mode-selector_type" | "tabs.newQuery" | "tabs.history" | "tabs.saved" | "history.empty" | "history.empty-search" | "saved.empty" | "delete-dialog.header" | "delete-dialog.question" | "delete-dialog.delete" | "delete-dialog.cancel" | "preview.title" | "preview.not-available" | "preview.close" | "preview.truncated" | "method-description.script" | "method-description.scan" | "method-description.data" | "method-description.query" | "method-description.pg" | "transaction-mode-description.serializable" | "transaction-mode-description.onlinero" | "transaction-mode-description.stalero" | "transaction-mode-description.snapshot" | "transaction-mode-description.implicit" | "tracing-level-description.basic" | "tracing-level-description.detailed" | "tracing-level-description.diagnostic" | "tracing-level-description.off" | "tracing-level-description.toplevel" | "tracing-level-description.trace" | "statistics-mode-description.none" | "statistics-mode-description.basic" | "statistics-mode-description.full" | "statistics-mode-description.profile" | "query-duration.description" | "action.send-query" | "action.send-selected-query" | "action.previous-query" | "action.next-query" | "action.save-query" | "action.stop" | "gear.tooltip" | "banner.query-settings.message" | "history.queryText" | "history.endTime" | "history.duration", params?: import("@gravity-ui/i18n").Params) => string;
2
2
  export default _default;
@@ -1,4 +1,4 @@
1
- @import '../../../../styles/mixins.scss';
1
+ @use '../../../../styles/mixins.scss';
2
2
 
3
3
  .schema-viewer {
4
4
  &__keys {
@@ -11,7 +11,7 @@
11
11
  display: inline;
12
12
 
13
13
  color: var(--g-color-text-complementary);
14
- @include body-1-typography();
14
+ @include mixins.body-1-typography();
15
15
  }
16
16
 
17
17
  &-header {
@@ -21,7 +21,7 @@
21
21
  white-space: nowrap;
22
22
 
23
23
  color: var(--g-color-text-primary);
24
- @include subheader-1-typography();
24
+ @include mixins.subheader-1-typography();
25
25
  }
26
26
 
27
27
  &-label {
@@ -1,10 +1,10 @@
1
- @import '../../styles/mixins.scss';
1
+ @use '../../styles/mixins.scss';
2
2
 
3
3
  .tenant-page {
4
4
  overflow: hidden;
5
5
 
6
- @include body-2-typography();
7
- @include flex-container();
6
+ @include mixins.body-2-typography();
7
+ @include mixins.flex-container();
8
8
 
9
9
  &__main {
10
10
  flex-grow: 1;
@@ -1,4 +1,4 @@
1
- @import '../../styles/mixins.scss';
1
+ @use '../../styles/mixins.scss';
2
2
 
3
3
  .tenants {
4
4
  &__format-label {
@@ -14,7 +14,7 @@
14
14
  }
15
15
 
16
16
  &__search {
17
- @include search();
17
+ @include mixins.search();
18
18
  }
19
19
 
20
20
  &__tablets {
@@ -54,7 +54,7 @@ export function VDiskPage() {
54
54
  valueIsDefined(VDisk);
55
55
  const handleEvictVDisk = async (isRetry) => {
56
56
  if (vDiskIdParamsDefined) {
57
- return window.api[newDiskApiAvailable ? 'evictVDisk' : 'evictVDiskOld']({
57
+ return (newDiskApiAvailable ? window.api.vdisk.evictVDisk : window.api.tablets.evictVDiskOld)({
58
58
  groupId: GroupID,
59
59
  groupGeneration: GroupGeneration,
60
60
  failRealmIdx: Ring,
@@ -1 +1 @@
1
- {"version":3,"file":"VDiskPage.js","sourceRoot":"","sources":["../../../src/containers/VDiskPage/VDiskPage.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,oBAAoB,EAA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-31,6 +31,6 @@
31
31
 
32
32
  &__storage-title {
33
33
  margin-bottom: 0;
34
- @include header-1-typography();
34
+ @include mixins.header-1-typography();
35
35
  }
36
36
  }
@@ -1,11 +1,11 @@
1
+ import type { NodesPreparedEntity } from '../../../store/reducers/nodes/types';
1
2
  import type { VersionValue } from '../../../types/versions';
2
- import type { PreparedNodeSystemState } from '../../../utils/nodes';
3
3
  import type { GroupedNodesItem } from '../types';
4
4
  import './GroupedNodesTree.scss';
5
5
  export declare const b: import("@bem-react/classname").ClassNameFormatter;
6
6
  interface GroupedNodesTreeProps {
7
7
  title?: string;
8
- nodes?: PreparedNodeSystemState[];
8
+ nodes?: NodesPreparedEntity[];
9
9
  items?: GroupedNodesItem[];
10
10
  expanded?: boolean;
11
11
  versionColor?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"GroupedNodesTree.js","sourceRoot":"","sources":["../../../../src/containers/Versions/GroupedNodesTree/GroupedNodesTree.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,QAAQ,EAAC,MAAM,mBAAmB,CAAC;AAG3C,OAAO,EAAC,EAAE,EAAC,MAAM,mBAAmB,CAAC;AAErC,OAAO,EAAC,UAAU,EAAC,MAAM,0BAA0B,CAAC;AACpD,OAAO,EAAC,cAAc,EAAC,MAAM,kCAAkC,CAAC;AAGhE,OAAO,yBAAyB,CAAC;AAEjC,MAAM,CAAC,MAAM,CAAC,GAAG,EAAE,CAAC,gCAAgC,CAAC,CAAC;AAYtD,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,EAC7B,KAAK,EACL,KAAK,EACL,KAAK,EACL,QAAQ,GAAG,KAAK,EAChB,YAAY,EACZ,cAAc,EACd,KAAK,GAAG,CAAC,GACW,EAAE,EAAE;IACxB,MAAM,CAAC,QAAQ,EAAE,WAAW,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;IAEtD,KAAK,CAAC,SAAS,C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