ydb-embedded-ui 6.21.0 → 6.23.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/components/AutoRefreshControl/i18n/index.d.ts +1 -1
- package/dist/components/DiskStateProgressBar/DiskStateProgressBar.d.ts +2 -1
- package/dist/components/DiskStateProgressBar/DiskStateProgressBar.js +2 -2
- package/dist/components/DiskStateProgressBar/DiskStateProgressBar.js.map +1 -1
- package/dist/components/DiskStateProgressBar/DiskStateProgressBar.scss +4 -0
- package/dist/components/GroupInfo/i18n/index.d.ts +1 -1
- package/dist/components/PDiskInfo/PDiskInfo.js +1 -3
- package/dist/components/PDiskInfo/PDiskInfo.js.map +1 -1
- package/dist/components/PDiskInfo/i18n/index.d.ts +1 -1
- package/dist/components/PDiskPopup/PDiskPopup.d.ts +2 -4
- package/dist/components/PDiskPopup/PDiskPopup.js +10 -5
- package/dist/components/PDiskPopup/PDiskPopup.js.map +1 -1
- package/dist/components/PaginatedTable/PaginatedTable.d.ts +2 -1
- package/dist/components/PaginatedTable/PaginatedTable.js +9 -7
- package/dist/components/PaginatedTable/PaginatedTable.js.map +1 -1
- package/dist/components/PaginatedTable/TableChunk.d.ts +2 -1
- package/dist/components/PaginatedTable/TableChunk.js +5 -2
- package/dist/components/PaginatedTable/TableChunk.js.map +1 -1
- package/dist/components/QueryResultTable/Cell/Cell.js +1 -4
- package/dist/components/QueryResultTable/Cell/Cell.js.map +1 -1
- package/dist/components/QueryResultTable/QueryResultTable.js +11 -16
- package/dist/components/QueryResultTable/QueryResultTable.js.map +1 -1
- package/dist/components/QueryResultTable/utils/getColumnWidth.d.ts +7 -0
- package/dist/components/QueryResultTable/utils/getColumnWidth.js +16 -0
- package/dist/components/QueryResultTable/utils/getColumnWidth.js.map +1 -0
- package/dist/components/QueryResultTable/utils/getColumnWidth.test.d.ts +1 -0
- package/dist/components/QueryResultTable/utils/getColumnWidth.test.js +32 -0
- package/dist/components/QueryResultTable/utils/getColumnWidth.test.js.map +1 -0
- package/dist/components/StorageGroupInfo/StorageGroupInfo.js +7 -7
- package/dist/components/StorageGroupInfo/StorageGroupInfo.js.map +1 -1
- package/dist/components/StorageGroupInfo/i18n/index.d.ts +1 -1
- package/dist/components/TableSkeleton/TableSkeleton.d.ts +2 -1
- package/dist/components/TableSkeleton/TableSkeleton.js +5 -1
- package/dist/components/TableSkeleton/TableSkeleton.js.map +1 -1
- package/dist/components/TableSkeleton/TableSkeleton.scss +7 -1
- package/dist/components/VDisk/VDisk.d.ts +2 -3
- package/dist/components/VDisk/VDisk.js +2 -2
- package/dist/components/VDisk/VDisk.js.map +1 -1
- package/dist/components/VDiskInfo/VDiskInfo.js +1 -3
- package/dist/components/VDiskInfo/VDiskInfo.js.map +1 -1
- package/dist/components/VDiskInfo/i18n/index.d.ts +1 -1
- package/dist/components/VDiskPopup/VDiskPopup.d.ts +1 -3
- package/dist/components/VDiskPopup/VDiskPopup.js +7 -2
- package/dist/components/VDiskPopup/VDiskPopup.js.map +1 -1
- package/dist/containers/App/App.scss +1 -1
- package/dist/containers/Cluster/Cluster.js +1 -1
- package/dist/containers/Cluster/Cluster.js.map +1 -1
- package/dist/containers/Cluster/Cluster.scss +2 -3
- package/dist/containers/Cluster/i18n/index.d.ts +1 -1
- package/dist/containers/Clusters/Clusters.js +3 -3
- package/dist/containers/Clusters/Clusters.js.map +1 -1
- package/dist/containers/Clusters/columns.js +2 -2
- package/dist/containers/Clusters/columns.js.map +1 -1
- package/dist/containers/Clusters/constants.d.ts +4 -4
- package/dist/containers/Clusters/constants.js +3 -3
- package/dist/containers/Clusters/constants.js.map +1 -1
- package/dist/containers/Header/breadcrumbs.js +2 -3
- package/dist/containers/Header/breadcrumbs.js.map +1 -1
- package/dist/containers/Node/Node.js +14 -4
- package/dist/containers/Node/Node.js.map +1 -1
- package/dist/containers/Node/NodePages.js +4 -5
- package/dist/containers/Node/NodePages.js.map +1 -1
- package/dist/containers/Nodes/Nodes.js +10 -11
- package/dist/containers/Nodes/Nodes.js.map +1 -1
- package/dist/containers/Nodes/PaginatedNodes.js +10 -11
- package/dist/containers/Nodes/PaginatedNodes.js.map +1 -1
- package/dist/containers/Nodes/{getNodesColumns.d.ts → columns/columns.d.ts} +3 -10
- package/dist/containers/Nodes/{getNodesColumns.js → columns/columns.js} +37 -39
- package/dist/containers/Nodes/columns/columns.js.map +1 -0
- package/dist/containers/Nodes/columns/constants.d.ts +41 -0
- package/dist/containers/Nodes/columns/constants.js +83 -0
- package/dist/containers/Nodes/columns/constants.js.map +1 -0
- package/dist/containers/Nodes/columns/hooks.d.ts +6 -0
- package/dist/containers/Nodes/columns/hooks.js +11 -0
- package/dist/containers/Nodes/columns/hooks.js.map +1 -0
- package/dist/containers/Nodes/columns/i18n/en.json +17 -0
- package/dist/containers/Nodes/columns/i18n/index.d.ts +2 -0
- package/dist/containers/Nodes/columns/i18n/index.js +5 -0
- package/dist/containers/Nodes/columns/i18n/index.js.map +1 -0
- package/dist/containers/Nodes/columns/types.d.ts +9 -0
- package/dist/containers/Nodes/columns/types.js +2 -0
- package/dist/containers/Nodes/columns/types.js.map +1 -0
- package/dist/containers/Nodes/getNodes.d.ts +3 -2
- package/dist/containers/Nodes/getNodes.js +6 -3
- package/dist/containers/Nodes/getNodes.js.map +1 -1
- package/dist/containers/PDiskPage/PDiskPage.js +12 -10
- package/dist/containers/PDiskPage/PDiskPage.js.map +1 -1
- package/dist/containers/PDiskPage/PDiskPage.scss +14 -14
- package/dist/containers/PDiskPage/i18n/en.json +1 -1
- package/dist/containers/PDiskPage/i18n/index.d.ts +1 -1
- package/dist/containers/ReduxTooltip/ReduxTooltip.js +7 -7
- package/dist/containers/ReduxTooltip/ReduxTooltip.js.map +1 -1
- package/dist/containers/Storage/Disks/Disks.d.ts +3 -3
- package/dist/containers/Storage/Disks/Disks.js +6 -7
- package/dist/containers/Storage/Disks/Disks.js.map +1 -1
- package/dist/containers/Storage/PDisk/PDisk.d.ts +5 -4
- package/dist/containers/Storage/PDisk/PDisk.js +3 -2
- package/dist/containers/Storage/PDisk/PDisk.js.map +1 -1
- package/dist/containers/Storage/PDisk/PDisk.scss +1 -1
- package/dist/containers/Storage/PaginatedStorage.d.ts +5 -6
- package/dist/containers/Storage/PaginatedStorage.js +9 -54
- package/dist/containers/Storage/PaginatedStorage.js.map +1 -1
- package/dist/containers/Storage/PaginatedStorageGroups.d.ts +3 -0
- package/dist/containers/Storage/PaginatedStorageGroups.js +84 -0
- package/dist/containers/Storage/PaginatedStorageGroups.js.map +1 -0
- package/dist/containers/Storage/PaginatedStorageNodes.d.ts +3 -0
- package/dist/containers/Storage/PaginatedStorageNodes.js +98 -0
- package/dist/containers/Storage/PaginatedStorageNodes.js.map +1 -0
- package/dist/containers/Storage/Storage.d.ts +4 -4
- package/dist/containers/Storage/Storage.js +46 -67
- package/dist/containers/Storage/Storage.js.map +1 -1
- package/dist/containers/Storage/Storage.scss +4 -0
- package/dist/containers/Storage/StorageControls/StorageControls.d.ts +6 -16
- package/dist/containers/Storage/StorageControls/StorageControls.js +18 -9
- package/dist/containers/Storage/StorageControls/StorageControls.js.map +1 -1
- package/dist/containers/Storage/StorageGroups/PaginatedStorageGroupsTable.d.ts +22 -0
- package/dist/containers/Storage/StorageGroups/{PaginatedStorageGroups.js → PaginatedStorageGroupsTable.js} +24 -8
- package/dist/containers/Storage/StorageGroups/PaginatedStorageGroupsTable.js.map +1 -0
- package/dist/containers/Storage/StorageGroups/StorageGroupsTable.d.ts +14 -0
- package/dist/containers/Storage/StorageGroups/{StorageGroups.js → StorageGroupsTable.js} +5 -6
- package/dist/containers/Storage/StorageGroups/StorageGroupsTable.js.map +1 -0
- package/dist/containers/Storage/StorageGroups/columns/columns.d.ts +4 -0
- package/dist/containers/Storage/StorageGroups/columns/{getStorageGroupsColumns.js → columns.js} +66 -89
- package/dist/containers/Storage/StorageGroups/columns/columns.js.map +1 -0
- package/dist/containers/Storage/StorageGroups/columns/constants.d.ts +54 -0
- package/dist/containers/Storage/StorageGroups/columns/constants.js +120 -0
- package/dist/containers/Storage/StorageGroups/columns/constants.js.map +1 -0
- package/dist/containers/Storage/StorageGroups/columns/hooks.d.ts +7 -3
- package/dist/containers/Storage/StorageGroups/columns/hooks.js +21 -16
- package/dist/containers/Storage/StorageGroups/columns/hooks.js.map +1 -1
- package/dist/containers/Storage/StorageGroups/columns/i18n/en.json +21 -0
- package/dist/containers/Storage/StorageGroups/columns/i18n/index.d.ts +2 -0
- package/dist/containers/Storage/StorageGroups/columns/i18n/index.js +5 -0
- package/dist/containers/Storage/StorageGroups/columns/i18n/index.js.map +1 -0
- package/dist/containers/Storage/StorageGroups/columns/types.d.ts +5 -7
- package/dist/containers/Storage/StorageGroups/getGroups.js +10 -6
- package/dist/containers/Storage/StorageGroups/getGroups.js.map +1 -1
- package/dist/containers/Storage/StorageNodes/PaginatedStorageNodesTable.d.ts +23 -0
- package/dist/containers/Storage/StorageNodes/{PaginatedStorageNodes.js → PaginatedStorageNodesTable.js} +24 -9
- package/dist/containers/Storage/StorageNodes/PaginatedStorageNodesTable.js.map +1 -0
- package/dist/containers/Storage/StorageNodes/StorageNodes.scss +1 -27
- package/dist/containers/Storage/StorageNodes/StorageNodesTable.d.ts +16 -0
- package/dist/containers/Storage/StorageNodes/{StorageNodes.js → StorageNodesTable.js} +9 -9
- package/dist/containers/Storage/StorageNodes/StorageNodesTable.js.map +1 -0
- package/dist/containers/Storage/StorageNodes/columns/StorageNodesColumns.scss +24 -0
- package/dist/containers/Storage/StorageNodes/columns/columns.d.ts +39 -0
- package/dist/containers/Storage/StorageNodes/{getStorageNodesColumns.js → columns/columns.js} +20 -31
- package/dist/containers/Storage/StorageNodes/columns/columns.js.map +1 -0
- package/dist/containers/Storage/StorageNodes/columns/constants.d.ts +34 -0
- package/dist/containers/Storage/StorageNodes/columns/constants.js +74 -0
- package/dist/containers/Storage/StorageNodes/columns/constants.js.map +1 -0
- package/dist/containers/Storage/StorageNodes/columns/hooks.d.ts +43 -0
- package/dist/containers/Storage/StorageNodes/columns/hooks.js +18 -0
- package/dist/containers/Storage/StorageNodes/columns/hooks.js.map +1 -0
- package/dist/containers/Storage/StorageNodes/columns/i18n/en.json +11 -0
- package/dist/containers/Storage/StorageNodes/columns/i18n/index.d.ts +2 -0
- package/dist/containers/Storage/StorageNodes/columns/i18n/index.js +5 -0
- package/dist/containers/Storage/StorageNodes/columns/i18n/index.js.map +1 -0
- package/dist/containers/Storage/StorageNodes/columns/types.d.ts +11 -0
- package/dist/containers/Storage/StorageNodes/columns/types.js +2 -0
- package/dist/containers/Storage/StorageNodes/columns/types.js.map +1 -0
- package/dist/containers/Storage/StorageNodes/getNodes.d.ts +2 -2
- package/dist/containers/Storage/StorageNodes/getNodes.js +13 -9
- package/dist/containers/Storage/StorageNodes/getNodes.js.map +1 -1
- package/dist/containers/Storage/StorageNodes/shared.js +1 -1
- package/dist/containers/Storage/StorageNodes/shared.js.map +1 -1
- package/dist/containers/Storage/StorageWrapper.d.ts +0 -2
- package/dist/containers/Storage/StorageWrapper.js.map +1 -1
- package/dist/containers/Storage/TableGroup/TableGroup.d.ts +12 -0
- package/dist/containers/Storage/TableGroup/TableGroup.js +21 -0
- package/dist/containers/Storage/TableGroup/TableGroup.js.map +1 -0
- package/dist/containers/Storage/TableGroup/TableGroup.scss +49 -0
- package/dist/containers/Storage/TableGroup/useExpandedTableGroups.d.ts +5 -0
- package/dist/containers/Storage/TableGroup/useExpandedTableGroups.js +28 -0
- package/dist/containers/Storage/TableGroup/useExpandedTableGroups.js.map +1 -0
- package/dist/containers/Storage/i18n/en.json +4 -1
- package/dist/containers/Storage/i18n/index.d.ts +1 -1
- package/dist/containers/Storage/i18n/index.js +1 -2
- package/dist/containers/Storage/i18n/index.js.map +1 -1
- package/dist/containers/Storage/shared.d.ts +2 -0
- package/dist/containers/Storage/shared.js +9 -0
- package/dist/containers/Storage/shared.js.map +1 -1
- package/dist/containers/Storage/useStorageQueryParams.d.ts +18 -0
- package/dist/containers/Storage/useStorageQueryParams.js +64 -0
- package/dist/containers/Storage/useStorageQueryParams.js.map +1 -0
- package/dist/containers/Storage/utils/index.d.ts +6 -2
- package/dist/containers/Storage/utils/index.js +17 -11
- package/dist/containers/Storage/utils/index.js.map +1 -1
- package/dist/containers/StorageGroupPage/StorageGroupPage.js +14 -57
- package/dist/containers/StorageGroupPage/StorageGroupPage.js.map +1 -1
- package/dist/containers/StorageGroupPage/StorageGroupPage.scss +14 -17
- package/dist/containers/StorageGroupPage/i18n/en.json +1 -2
- package/dist/containers/StorageGroupPage/i18n/index.d.ts +1 -1
- package/dist/containers/Tablets/i18n/index.d.ts +1 -1
- package/dist/containers/Tenant/Diagnostics/Describe/Describe.js +17 -3
- package/dist/containers/Tenant/Diagnostics/Describe/Describe.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/Diagnostics.js +1 -1
- package/dist/containers/Tenant/Diagnostics/Diagnostics.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/DiagnosticsPages.d.ts +6 -3
- package/dist/containers/Tenant/Diagnostics/DiagnosticsPages.js +4 -4
- package/dist/containers/Tenant/Diagnostics/DiagnosticsPages.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/HotKeys/HotKeys.js +10 -3
- package/dist/containers/Tenant/Diagnostics/HotKeys/HotKeys.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/Overview/Overview.js +2 -3
- package/dist/containers/Tenant/Diagnostics/Overview/Overview.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/Partitions/Partitions.js +4 -4
- package/dist/containers/Tenant/Diagnostics/Partitions/Partitions.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/Partitions/utils/index.d.ts +2 -2
- package/dist/containers/Tenant/Diagnostics/Partitions/utils/index.js +5 -5
- package/dist/containers/Tenant/Diagnostics/Partitions/utils/index.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByCpu.js +12 -5
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByCpu.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByLoad.js +12 -5
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByLoad.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TopNodesByMemory.js +13 -5
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TopNodesByMemory.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantOverview.js +8 -2
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantOverview.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopGroups.js +2 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopGroups.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/i18n/index.d.ts +1 -1
- package/dist/containers/Tenant/Diagnostics/TopQueries/RunningQueriesData.d.ts +5 -0
- package/dist/containers/Tenant/Diagnostics/TopQueries/RunningQueriesData.js +21 -0
- package/dist/containers/Tenant/Diagnostics/TopQueries/RunningQueriesData.js.map +1 -0
- package/dist/containers/Tenant/Diagnostics/TopQueries/TopQueries.d.ts +1 -3
- package/dist/containers/Tenant/Diagnostics/TopQueries/TopQueries.js +32 -37
- package/dist/containers/Tenant/Diagnostics/TopQueries/TopQueries.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/TopQueries/TopQueriesData.d.ts +6 -0
- package/dist/containers/Tenant/Diagnostics/TopQueries/TopQueriesData.js +33 -0
- package/dist/containers/Tenant/Diagnostics/TopQueries/TopQueriesData.js.map +1 -0
- package/dist/containers/Tenant/Diagnostics/TopQueries/getTopQueriesColumns.d.ts +2 -0
- package/dist/containers/Tenant/Diagnostics/TopQueries/getTopQueriesColumns.js +26 -0
- package/dist/containers/Tenant/Diagnostics/TopQueries/getTopQueriesColumns.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/TopQueries/i18n/en.json +7 -1
- package/dist/containers/Tenant/Diagnostics/TopQueries/i18n/index.d.ts +1 -1
- package/dist/containers/Tenant/Diagnostics/TopQueries/i18n/index.js +1 -2
- package/dist/containers/Tenant/Diagnostics/TopQueries/i18n/index.js.map +1 -1
- package/dist/containers/Tenant/ObjectSummary/ObjectSummary.js +71 -62
- package/dist/containers/Tenant/ObjectSummary/ObjectSummary.js.map +1 -1
- package/dist/containers/Tenant/ObjectSummary/ObjectSummary.scss +6 -7
- package/dist/containers/Tenant/ObjectSummary/ObjectTree.d.ts +6 -0
- package/dist/containers/Tenant/ObjectSummary/ObjectTree.js +25 -0
- package/dist/containers/Tenant/ObjectSummary/ObjectTree.js.map +1 -0
- package/dist/containers/Tenant/ObjectSummary/SchemaActions.d.ts +1 -0
- package/dist/containers/Tenant/ObjectSummary/SchemaActions.js +18 -0
- package/dist/containers/Tenant/ObjectSummary/SchemaActions.js.map +1 -0
- package/dist/containers/Tenant/ObjectSummary/__test__/transformPath.test.js +27 -3
- package/dist/containers/Tenant/ObjectSummary/__test__/transformPath.test.js.map +1 -1
- package/dist/containers/Tenant/ObjectSummary/i18n/en.json +21 -0
- package/dist/containers/Tenant/ObjectSummary/i18n/index.d.ts +2 -0
- package/dist/containers/Tenant/ObjectSummary/i18n/index.js +5 -0
- package/dist/containers/Tenant/ObjectSummary/i18n/index.js.map +1 -0
- package/dist/containers/Tenant/ObjectSummary/shared.d.ts +1 -0
- package/dist/containers/Tenant/ObjectSummary/shared.js +3 -0
- package/dist/containers/Tenant/ObjectSummary/shared.js.map +1 -0
- package/dist/containers/Tenant/ObjectSummary/transformPath.d.ts +2 -0
- package/dist/containers/Tenant/ObjectSummary/transformPath.js +10 -0
- package/dist/containers/Tenant/ObjectSummary/transformPath.js.map +1 -1
- package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.js +14 -12
- package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.js.map +1 -1
- package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.scss +8 -0
- package/dist/containers/Tenant/Query/ExecuteResult/i18n/en.json +3 -1
- package/dist/containers/Tenant/Query/ExecuteResult/i18n/index.d.ts +1 -1
- package/dist/containers/Tenant/Query/NewSQL/NewSQL.d.ts +1 -0
- package/dist/containers/Tenant/Query/NewSQL/NewSQL.js +135 -0
- package/dist/containers/Tenant/Query/NewSQL/NewSQL.js.map +1 -0
- package/dist/containers/Tenant/Query/NewSQL/i18n/en.json +32 -0
- package/dist/containers/Tenant/Query/NewSQL/i18n/index.d.ts +2 -0
- package/dist/containers/Tenant/Query/NewSQL/i18n/index.js +5 -0
- package/dist/containers/Tenant/Query/NewSQL/i18n/index.js.map +1 -0
- package/dist/containers/Tenant/Query/QueryEditorControls/QueryEditorControls.js +2 -1
- package/dist/containers/Tenant/Query/QueryEditorControls/QueryEditorControls.js.map +1 -1
- package/dist/containers/Tenant/Query/QueryEditorControls/QueryEditorControls.scss +1 -0
- package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettings.js +3 -1
- package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettings.js.map +1 -1
- package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettings.test.js +5 -10
- package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettings.test.js.map +1 -1
- package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettingsDescription.js +5 -3
- package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettingsDescription.js.map +1 -1
- package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettingsDescription.test.js +6 -10
- package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettingsDescription.test.js.map +1 -1
- package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsDialog.js +11 -2
- package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsDialog.js.map +1 -1
- package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsDialog.scss +1 -0
- package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsSelect.d.ts +1 -0
- package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsSelect.js +1 -1
- package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsSelect.js.map +1 -1
- package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.d.ts +3 -0
- package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.js +3 -0
- package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.js.map +1 -1
- package/dist/containers/Tenant/Query/QuerySettingsDialog/i18n/en.json +3 -0
- package/dist/containers/Tenant/Query/QuerySettingsDialog/i18n/index.d.ts +1 -1
- package/dist/containers/Tenant/Query/QuerySettingsDialog/i18n/ru.json +3 -0
- package/dist/containers/Tenant/Schema/SchemaTree/SchemaTree.js +1 -1
- package/dist/containers/Tenant/Schema/SchemaTree/SchemaTree.js.map +1 -1
- package/dist/containers/Tenant/Schema/SchemaViewer/SchemaViewer.js +10 -2
- package/dist/containers/Tenant/Schema/SchemaViewer/SchemaViewer.js.map +1 -1
- package/dist/containers/Tenant/Schema/SchemaViewer/prepareData.d.ts +2 -1
- package/dist/containers/Tenant/Schema/SchemaViewer/prepareData.js.map +1 -1
- package/dist/containers/Tenant/Tenant.js +7 -3
- package/dist/containers/Tenant/Tenant.js.map +1 -1
- package/dist/containers/Tenant/utils/newSQLQueryActions.d.ts +27 -0
- package/dist/containers/Tenant/utils/newSQLQueryActions.js +35 -0
- package/dist/containers/Tenant/utils/newSQLQueryActions.js.map +1 -0
- package/dist/containers/Tenant/utils/newSQLQueryTemplates.d.ts +24 -0
- package/dist/containers/Tenant/utils/newSQLQueryTemplates.js +228 -0
- package/dist/containers/Tenant/utils/newSQLQueryTemplates.js.map +1 -0
- package/dist/containers/Tenant/utils/schema.js +1 -0
- package/dist/containers/Tenant/utils/schema.js.map +1 -1
- package/dist/containers/Tenant/utils/schemaActions.d.ts +1 -1
- package/dist/containers/Tenant/utils/schemaActions.js +8 -6
- package/dist/containers/Tenant/utils/schemaActions.js.map +1 -1
- package/dist/containers/Tenant/utils/{queryTemplates.js → schemaQueryTemplates.js} +1 -1
- package/dist/containers/Tenant/utils/schemaQueryTemplates.js.map +1 -0
- package/dist/containers/UserSettings/i18n/en.json +0 -2
- package/dist/containers/UserSettings/i18n/index.d.ts +1 -1
- package/dist/containers/UserSettings/settings.d.ts +0 -1
- package/dist/containers/UserSettings/settings.js +2 -7
- package/dist/containers/UserSettings/settings.js.map +1 -1
- package/dist/containers/VDiskPage/VDiskPage.d.ts +0 -3
- package/dist/containers/VDiskPage/VDiskPage.js +9 -33
- package/dist/containers/VDiskPage/VDiskPage.js.map +1 -1
- package/dist/containers/VDiskPage/VDiskPage.scss +10 -19
- package/dist/containers/VDiskPage/i18n/en.json +1 -1
- package/dist/containers/VDiskPage/i18n/index.d.ts +1 -1
- package/dist/services/api.d.ts +16 -5
- package/dist/services/api.js +53 -14
- package/dist/services/api.js.map +1 -1
- package/dist/services/settings.d.ts +2 -2
- package/dist/services/settings.js +2 -3
- package/dist/services/settings.js.map +1 -1
- package/dist/store/configureStore.d.ts +2 -2
- package/dist/store/defaultStore.d.ts +1 -1
- package/dist/store/reducers/capabilities/capabilities.d.ts +8 -1
- package/dist/store/reducers/capabilities/capabilities.js +6 -1
- package/dist/store/reducers/capabilities/capabilities.js.map +1 -1
- package/dist/store/reducers/capabilities/hooks.d.ts +2 -0
- package/dist/store/reducers/capabilities/hooks.js +6 -0
- package/dist/store/reducers/capabilities/hooks.js.map +1 -1
- package/dist/store/reducers/executeQuery.js +3 -0
- package/dist/store/reducers/executeQuery.js.map +1 -1
- package/dist/store/reducers/executeTopQueries/executeTopQueries.d.ts +4 -0
- package/dist/store/reducers/executeTopQueries/executeTopQueries.js +27 -1
- package/dist/store/reducers/executeTopQueries/executeTopQueries.js.map +1 -1
- package/dist/store/reducers/index.d.ts +2 -2
- package/dist/store/reducers/nodes/nodes.d.ts +2 -2
- package/dist/store/reducers/nodes/nodes.js.map +1 -1
- package/dist/store/reducers/nodes/types.d.ts +3 -24
- package/dist/store/reducers/nodesList.d.ts +5 -5
- package/dist/store/reducers/nodesList.js +2 -2
- package/dist/store/reducers/nodesList.js.map +1 -1
- package/dist/store/reducers/overview/overview.js +5 -1
- package/dist/store/reducers/overview/overview.js.map +1 -1
- package/dist/store/reducers/pdisk/pdisk.js +29 -2
- package/dist/store/reducers/pdisk/pdisk.js.map +1 -1
- package/dist/store/reducers/pdisk/utils.js +1 -1
- package/dist/store/reducers/pdisk/utils.js.map +1 -1
- package/dist/store/reducers/storage/requestStorageData.d.ts +3 -3
- package/dist/store/reducers/storage/requestStorageData.js.map +1 -1
- package/dist/store/reducers/storage/selectors.d.ts +2 -3
- package/dist/store/reducers/storage/selectors.js +1 -27
- package/dist/store/reducers/storage/selectors.js.map +1 -1
- package/dist/store/reducers/storage/storage.d.ts +4 -4
- package/dist/store/reducers/storage/storage.js.map +1 -1
- package/dist/store/reducers/storage/types.d.ts +19 -10
- package/dist/store/reducers/storage/utils.js +27 -3
- package/dist/store/reducers/storage/utils.js.map +1 -1
- package/dist/store/reducers/tablet.js +5 -3
- package/dist/store/reducers/tablet.js.map +1 -1
- package/dist/store/reducers/tablets.d.ts +3 -3
- package/dist/store/reducers/tablets.js +4 -4
- package/dist/store/reducers/tablets.js.map +1 -1
- package/dist/store/reducers/tooltip.d.ts +1 -1
- package/dist/styles/mixins.scss +3 -3
- package/dist/types/api/capabilities.d.ts +1 -1
- package/dist/types/api/common.d.ts +1 -0
- package/dist/types/api/nodes.d.ts +34 -0
- package/dist/types/api/nodes.js.map +1 -1
- package/dist/types/api/query.d.ts +1 -0
- package/dist/types/api/storage.d.ts +29 -8
- package/dist/types/store/nodesList.d.ts +1 -1
- package/dist/types/store/query.d.ts +5 -8
- package/dist/utils/constants.d.ts +0 -8
- package/dist/utils/constants.js +0 -9
- package/dist/utils/constants.js.map +1 -1
- package/dist/utils/filters.d.ts +2 -1
- package/dist/utils/filters.js +1 -4
- package/dist/utils/filters.js.map +1 -1
- package/dist/utils/hooks/useChangedQuerySettings.d.ts +2 -2
- package/dist/utils/hooks/useChangedQuerySettings.js +2 -1
- package/dist/utils/hooks/useChangedQuerySettings.js.map +1 -1
- package/dist/utils/hooks/useLastQueryExecutionSettings.d.ts +15 -2
- package/dist/utils/hooks/useLastQueryExecutionSettings.js +8 -9
- package/dist/utils/hooks/useLastQueryExecutionSettings.js.map +1 -1
- package/dist/utils/hooks/useQueryExecutionSettings.d.ts +15 -2
- package/dist/utils/hooks/useQueryExecutionSettings.js +5 -7
- package/dist/utils/hooks/useQueryExecutionSettings.js.map +1 -1
- package/dist/utils/hooks/useSelectedColumns.d.ts +8 -0
- package/dist/utils/hooks/useSelectedColumns.js +40 -0
- package/dist/utils/hooks/useSelectedColumns.js.map +1 -0
- package/dist/utils/nodes.d.ts +5 -24
- package/dist/utils/nodes.js +20 -23
- package/dist/utils/nodes.js.map +1 -1
- package/dist/utils/query.d.ts +129 -0
- package/dist/utils/query.js +33 -1
- package/dist/utils/query.js.map +1 -1
- package/dist/utils/storage.d.ts +1 -1
- package/dist/utils/storage.js +2 -0
- package/dist/utils/storage.js.map +1 -1
- package/dist/utils/utils.js +2 -1
- package/dist/utils/utils.js.map +1 -1
- package/package.json +2 -1
- package/dist/containers/Clusters/useSelectedColumns.d.ts +0 -7
- package/dist/containers/Clusters/useSelectedColumns.js +0 -26
- package/dist/containers/Clusters/useSelectedColumns.js.map +0 -1
- package/dist/containers/Nodes/getNodesColumns.js.map +0 -1
- package/dist/containers/PDiskPage/PDiskGroups/PDiskGroups.d.ts +0 -6
- package/dist/containers/PDiskPage/PDiskGroups/PDiskGroups.js +0 -30
- package/dist/containers/PDiskPage/PDiskGroups/PDiskGroups.js.map +0 -1
- package/dist/containers/PDiskPage/PDiskGroups/utils.d.ts +0 -2
- package/dist/containers/PDiskPage/PDiskGroups/utils.js +0 -14
- package/dist/containers/PDiskPage/PDiskGroups/utils.js.map +0 -1
- package/dist/containers/Storage/StorageGroups/PaginatedStorageGroups.d.ts +0 -14
- package/dist/containers/Storage/StorageGroups/PaginatedStorageGroups.js.map +0 -1
- package/dist/containers/Storage/StorageGroups/StorageGroups.d.ts +0 -13
- package/dist/containers/Storage/StorageGroups/StorageGroups.js.map +0 -1
- package/dist/containers/Storage/StorageGroups/columns/getStorageGroupsColumns.d.ts +0 -21
- package/dist/containers/Storage/StorageGroups/columns/getStorageGroupsColumns.js.map +0 -1
- package/dist/containers/Storage/StorageNodes/PaginatedStorageNodes.d.ts +0 -17
- package/dist/containers/Storage/StorageNodes/PaginatedStorageNodes.js.map +0 -1
- package/dist/containers/Storage/StorageNodes/StorageNodes.d.ts +0 -19
- package/dist/containers/Storage/StorageNodes/StorageNodes.js.map +0 -1
- package/dist/containers/Storage/StorageNodes/getStorageNodesColumns.d.ts +0 -50
- package/dist/containers/Storage/StorageNodes/getStorageNodesColumns.js.map +0 -1
- package/dist/containers/Storage/UsageFilter/UsageFilter.d.ts +0 -14
- package/dist/containers/Storage/UsageFilter/UsageFilter.js +0 -39
- package/dist/containers/Storage/UsageFilter/UsageFilter.js.map +0 -1
- package/dist/containers/Storage/UsageFilter/UsageFilter.scss +0 -38
- package/dist/containers/Storage/UsageFilter/i18n/en.json +0 -5
- package/dist/containers/Storage/UsageFilter/i18n/index.d.ts +0 -2
- package/dist/containers/Storage/UsageFilter/i18n/index.js +0 -6
- package/dist/containers/Storage/UsageFilter/i18n/index.js.map +0 -1
- package/dist/containers/Storage/UsageFilter/i18n/ru.json +0 -5
- package/dist/containers/Storage/UsageFilter/index.d.ts +0 -1
- package/dist/containers/Storage/UsageFilter/index.js +0 -2
- package/dist/containers/Storage/UsageFilter/index.js.map +0 -1
- package/dist/containers/Storage/i18n/ru.json +0 -6
- package/dist/containers/Tenant/Diagnostics/TopQueries/i18n/ru.json +0 -4
- package/dist/containers/Tenant/utils/queryTemplates.js.map +0 -1
- package/dist/containers/VDiskPage/utils.d.ts +0 -2
- package/dist/containers/VDiskPage/utils.js +0 -7
- package/dist/containers/VDiskPage/utils.js.map +0 -1
- package/dist/store/reducers/describe.d.ts +0 -7
- package/dist/store/reducers/describe.js +0 -25
- package/dist/store/reducers/describe.js.map +0 -1
- package/dist/store/reducers/tenantOverview/topNodes/topNodes.d.ts +0 -4
- package/dist/store/reducers/tenantOverview/topNodes/topNodes.js +0 -27
- package/dist/store/reducers/tenantOverview/topNodes/topNodes.js.map +0 -1
- /package/dist/containers/Tenant/utils/{queryTemplates.d.ts → schemaQueryTemplates.d.ts} +0 -0
package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TopNodesByMemory.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"TopNodesByMemory.js","sourceRoot":"","sources":["../../../../../../src/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TopNodesByMemory.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,2BAA2B,EAAC,MAAM,gDAAgD,CAAC;
|
1
|
+
{"version":3,"file":"TopNodesByMemory.js","sourceRoot":"","sources":["../../../../../../src/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TopNodesByMemory.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,2CAA2C,CAAC;AACnE,OAAO,EAAC,2BAA2B,EAAC,MAAM,gDAAgD,CAAC;AAE3F,OAAO,EAAC,4BAA4B,EAAC,MAAM,gCAAgC,CAAC;AAC5E,OAAO,EAAC,sBAAsB,EAAE,cAAc,EAAC,MAAM,4BAA4B,CAAC;AAClF,OAAO,EAAC,0BAA0B,EAAC,MAAM,mCAAmC,CAAC;AAC7E,OAAO,EAAC,0BAA0B,EAAC,MAAM,qCAAqC,CAAC;AAC/E,OAAO,EAAC,gBAAgB,EAAE,aAAa,EAAC,MAAM,sBAAsB,CAAC;AACrE,OAAO,EAAC,yBAAyB,EAAC,MAAM,8BAA8B,CAAC;AACvE,OAAO,EAAC,eAAe,EAAC,MAAM,oBAAoB,CAAC;AACnD,OAAO,IAAI,MAAM,SAAS,CAAC;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}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
2
2
|
import { Loader } from '@gravity-ui/uikit';
|
3
3
|
import { EntityStatus } from '../../../../components/EntityStatus/EntityStatus';
|
4
|
-
import {
|
4
|
+
import { overviewApi } from '../../../../store/reducers/overview/overview';
|
5
5
|
import { TENANT_METRICS_TABS_IDS } from '../../../../store/reducers/tenant/constants';
|
6
6
|
import { tenantApi } from '../../../../store/reducers/tenant/tenant';
|
7
7
|
import { calculateTenantMetrics } from '../../../../store/reducers/tenants/utils';
|
@@ -27,7 +27,13 @@ export function TenantOverview({ tenantName, additionalTenantProps, additionalNo
|
|
27
27
|
const { Name, Type, Overall } = tenant || {};
|
28
28
|
const tenantType = mapDatabaseTypeToDBName(Type);
|
29
29
|
// FIXME: remove after correct data is added to tenantInfo
|
30
|
-
const {
|
30
|
+
const { currentData } = overviewApi.useGetOverviewQuery({
|
31
|
+
paths: [tenantName],
|
32
|
+
database: tenantName,
|
33
|
+
}, {
|
34
|
+
pollingInterval: autoRefreshInterval,
|
35
|
+
});
|
36
|
+
const { data: tenantSchemaData } = currentData !== null && currentData !== void 0 ? currentData : {};
|
31
37
|
const { Tables, Topics } = ((_b = (_a = tenantSchemaData === null || tenantSchemaData === void 0 ? void 0 : tenantSchemaData.PathDescription) === null || _a === void 0 ? void 0 : _a.DomainDescription) === null || _b === void 0 ? void 0 : _b.DiskSpaceUsage) || {};
|
32
38
|
const usedTabletStorage = [
|
33
39
|
Tables === null || Tables === void 0 ? void 0 : Tables.TotalSize,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"TenantOverview.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Diagnostics/TenantOverview/TenantOverview.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,MAAM,EAAC,MAAM,mBAAmB,CAAC;AAEzC,OAAO,EAAC,YAAY,EAAC,MAAM,kDAAkD,CAAC;AAC9E,OAAO,EAAC,
|
1
|
+
{"version":3,"file":"TenantOverview.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Diagnostics/TenantOverview/TenantOverview.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,MAAM,EAAC,MAAM,mBAAmB,CAAC;AAEzC,OAAO,EAAC,YAAY,EAAC,MAAM,kDAAkD,CAAC;AAC9E,OAAO,EAAC,WAAW,EAAC,MAAM,8CAA8C,CAAC;AACzE,OAAO,EAAC,uBAAuB,EAAC,MAAM,6CAA6C,CAAC;AACpF,OAAO,EAAC,SAAS,EAAC,MAAM,0CAA0C,CAAC;AACnE,OAAO,EAAC,sBAAsB,EAAC,MAAM,0CAA0C,CAAC;AAEhF,OAAO,EAAC,oBAAoB,EAAC,MAAM,6BAA6B,CAAC;AACjE,OAAO,EAAC,sBAAsB,EAAE,gBAAgB,EAAC,MAAM,yBAAyB,CAAC;AACjF,OAAO,EAAC,uBAAuB,EAAC,MAAM,oBAAoB,CAAC;AAE3D,OAAO,EAAC,sBAAsB,EAAC,MAAM,iDAAiD,CAAC;AACvF,OAAO,EAAC,kBAAkB,EAAC,MAAM,kCAAkC,CAAC;AACpE,OAAO,EAAC,YAAY,EAAC,MAAM,6BAA6B,CAAC;AACzD,OAAO,EAAC,SAAS,EAAC,MAAM,uBAAuB,CAAC;AAChD,OAAO,EAAC,YAAY,EAAC,MAAM,6BAA6B,CAAC;AACzD,OAAO,EAAC,aAAa,EAAC,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAC,CAAC,EAAC,MAAM,SAAS,CAAC;AAE1B,OAAO,uBAAuB,CAAC;AAQ/B,MAAM,UAAU,cAAc,CAAC,EAC3B,UAAU,EACV,qBAAqB,EACrB,oBAAoB,GACF;;IAClB,MAAM,EAAC,UAAU,EAAC,GAAG,gBAAgB,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC/D,MAAM,CAAC,mBAAmB,CAAC,GAAG,sBAAsB,EAAE,CAA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AAK,uBAAuB,CAAC,MAAM,CAAC,CAAC,CAAC;gBAClC,OAAO,KAAC,YAAY,IAAC,UAAU,EAAE,UAAU,GAAI,CAAC;YACpD,CAAC;YACD,KAAK,uBAAuB,CAAC,WAAW,CAAC,CAAC,CAAC;gBACvC,OAAO,KAAC,kBAAkB,IAAC,UAAU,EAAE,UAAU,GAAI,CAAC;YAC1D,CAAC;YACD,OAAO,CAAC,CAAC,CAAC;gBACN,OAAO,KAAC,sBAAsB,IAAC,QAAQ,EAAE,UAAU,GAAI,CAAC;YAC5D,CAAC;QACL,CAAC;IACL,CAAC,CAAC;IAEF,IAAI,aAAa,EAAE,CAAC;QAChB,OAAO,CACH,cAAK,SAAS,EAAE,CAAC,CAAC,QAAQ,CAAC,YACvB,KAAC,MAAM,IAAC,IAAI,EAAC,GAAG,GAAG,GACjB,CACT,CAAC;IACN,CAAC;IAED,OAAO,CACH,eAAK,SAAS,EAAE,CAAC,EAAE,aACf,eAAK,SAAS,EAAE,CAAC,CAAC,MAAM,CAAC,aACrB,cAAK,SAAS,EAAE,CAAC,CAAC,WAAW,CAAC,YAAG,UAAU,GAAO,EAClD,eAAK,SAAS,EAAE,CAAC,CAAC,KAAK,CAAC,aACnB,UAAU,EAAE,EACZ,MAAA,qBAAqB,aAArB,qBAAqB,uBAArB,qBAAqB,CAAE,iBAAiB,sEAAG,IAAI,EAAE,IAAI,CAAC,IACrD,EACN,KAAC,YAAY,IACT,aAAa,EAAE,UAAU,EACzB,WAAW,EAAE,WAAW,EACxB,gBAAgB,EAAE,gBAAgB,EAClC,kBAAkB,EAAE,kBAAkB,EACtC,UAAU,EAAE,UAAU,GACxB,IACA,EACL,gBAAgB,EAAE,IACjB,CACT,CAAC;AACN,CAAC"}
|
@@ -5,7 +5,8 @@ import { storageApi } from '../../../../../store/reducers/storage/storage';
|
|
5
5
|
import { TENANT_DIAGNOSTICS_TABS_IDS } from '../../../../../store/reducers/tenant/constants';
|
6
6
|
import { TENANT_OVERVIEW_TABLES_LIMIT } from '../../../../../utils/constants';
|
7
7
|
import { useAutoRefreshInterval, useSearchQuery } from '../../../../../utils/hooks';
|
8
|
-
import {
|
8
|
+
import { getStorageTopGroupsColumns } from '../../../../Storage/StorageGroups/columns/columns';
|
9
|
+
import { STORAGE_GROUPS_COLUMNS_WIDTH_LS_KEY } from '../../../../Storage/StorageGroups/columns/constants';
|
9
10
|
import { TenantTabsGroups, getTenantPath } from '../../../TenantPages';
|
10
11
|
import { TenantOverviewTableLayout } from '../TenantOverviewTableLayout';
|
11
12
|
import { getSectionTitle } from '../getSectionTitle';
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"TopGroups.js","sourceRoot":"","sources":["../../../../../../src/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopGroups.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EACH,qBAAqB,EACrB,gCAAgC,GACnC,MAAM,kDAAkD,CAAC;AAC1D,OAAO,EAAC,UAAU,EAAC,MAAM,+CAA+C,CAAC;AACzE,OAAO,EAAC,2BAA2B,EAAC,MAAM,gDAAgD,CAAC;AAC3F,OAAO,EAAC,4BAA4B,EAAC,MAAM,gCAAgC,CAAC;AAC5E,OAAO,EAAC,sBAAsB,EAAE,cAAc,EAAC,MAAM,4BAA4B,CAAC;AAClF,OAAO,
|
1
|
+
{"version":3,"file":"TopGroups.js","sourceRoot":"","sources":["../../../../../../src/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopGroups.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EACH,qBAAqB,EACrB,gCAAgC,GACnC,MAAM,kDAAkD,CAAC;AAC1D,OAAO,EAAC,UAAU,EAAC,MAAM,+CAA+C,CAAC;AACzE,OAAO,EAAC,2BAA2B,EAAC,MAAM,gDAAgD,CAAC;AAC3F,OAAO,EAAC,4BAA4B,EAAC,MAAM,gCAAgC,CAAC;AAC5E,OAAO,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AG,eAAe,CAAC;QAC1B,MAAM,EAAE,IAAI,CAAC,QAAQ,CAAC;QACtB,OAAO,EAAE,IAAI,CAAC,UAAU,CAAC;QACzB,IAAI,EAAE,aAAa,CAAC;YAChB,GAAG,KAAK;YACR,CAAC,gBAAgB,CAAC,cAAc,CAAC,EAAE,2BAA2B,CAAC,OAAO;SACzE,CAAC;KACL,CAAC,CAAC;IAEH,OAAO,CACH,KAAC,yBAAyB,IACtB,iBAAiB,EAAE,mCAAmC,EACtD,IAAI,EAAE,cAAc,EACpB,OAAO,EAAE,OAAO,EAChB,KAAK,EAAE,KAAK,EACZ,OAAO,EAAE,OAAO,IAAI,CAAC,kBAAkB,EACvC,KAAK,EAAE,KAAK,GACd,CACL,CAAC;AACN,CAAC"}
|
@@ -1,2 +1,2 @@
|
|
1
|
-
declare const _default: (key: "queries" | "nodes" | "
|
1
|
+
declare const _default: (key: "queries" | "nodes" | "no-data" | "top" | "groups" | "shards" | "tables" | "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", params?: import("@gravity-ui/i18n").Params) => string;
|
2
2
|
export default _default;
|
@@ -0,0 +1,21 @@
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
2
|
+
import React from 'react';
|
3
|
+
import { ResponseError } from '../../../../components/Errors/ResponseError';
|
4
|
+
import { ResizeableDataTable } from '../../../../components/ResizeableDataTable/ResizeableDataTable';
|
5
|
+
import { TableWithControlsLayout } from '../../../../components/TableWithControlsLayout/TableWithControlsLayout';
|
6
|
+
import { topQueriesApi } from '../../../../store/reducers/executeTopQueries/executeTopQueries';
|
7
|
+
import { useAutoRefreshInterval, useTypedSelector } from '../../../../utils/hooks';
|
8
|
+
import { parseQueryErrorToString } from '../../../../utils/query';
|
9
|
+
import { QUERY_TABLE_SETTINGS } from '../../utils/constants';
|
10
|
+
import { RUNNING_QUERIES_COLUMNS, RUNNING_QUERIES_COLUMNS_WIDTH_LS_KEY, } from './getTopQueriesColumns';
|
11
|
+
import i18n from './i18n';
|
12
|
+
export const RunningQueriesData = ({ database }) => {
|
13
|
+
const [autoRefreshInterval] = useAutoRefreshInterval();
|
14
|
+
const filters = useTypedSelector((state) => state.executeTopQueries);
|
15
|
+
const { currentData: data, isFetching, error, } = topQueriesApi.useGetRunningQueriesQuery({
|
16
|
+
database,
|
17
|
+
filters,
|
18
|
+
}, { pollingInterval: autoRefreshInterval });
|
19
|
+
return (_jsxs(React.Fragment, { children: [error ? _jsx(ResponseError, { error: parseQueryErrorToString(error) }) : null, _jsx(TableWithControlsLayout.Table, { loading: isFetching && data === undefined, children: _jsx(ResizeableDataTable, { emptyDataMessage: i18n('no-data'), columnsWidthLSKey: RUNNING_QUERIES_COLUMNS_WIDTH_LS_KEY, columns: RUNNING_QUERIES_COLUMNS, data: data || [], settings: QUERY_TABLE_SETTINGS }) })] }));
|
20
|
+
};
|
21
|
+
//# sourceMappingURL=RunningQueriesData.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"RunningQueriesData.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Diagnostics/TopQueries/RunningQueriesData.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,aAAa,EAAC,MAAM,6CAA6C,CAAC;AAC1E,OAAO,EAAC,mBAAmB,EAAC,MAAM,gEAAgE,CAAC;AACnG,OAAO,EAAC,uBAAuB,EAAC,MAAM,wEAAwE,CAAC;AAC/G,OAAO,EAAC,aAAa,EAAC,MAAM,gEAAgE,CAAC;AAC7F,OAAO,EAAC,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2
|
interface TopQueriesProps {
|
4
3
|
tenantName: string;
|
5
|
-
type?: EPathType;
|
6
4
|
}
|
7
|
-
export declare const TopQueries: ({ tenantName
|
5
|
+
export declare const TopQueries: ({ tenantName }: TopQueriesProps) => import("react/jsx-runtime").JSX.Element;
|
8
6
|
export {};
|
@@ -1,45 +1,52 @@
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
2
2
|
import React from 'react';
|
3
|
+
import { RadioButton } from '@gravity-ui/uikit';
|
3
4
|
import { useHistory, useLocation } from 'react-router-dom';
|
5
|
+
import { StringParam, useQueryParam } from 'use-query-params';
|
6
|
+
import { z } from 'zod';
|
4
7
|
import { DateRange } from '../../../../components/DateRange';
|
5
|
-
import { ResponseError } from '../../../../components/Errors/ResponseError';
|
6
|
-
import { ResizeableDataTable } from '../../../../components/ResizeableDataTable/ResizeableDataTable';
|
7
8
|
import { Search } from '../../../../components/Search';
|
8
9
|
import { TableWithControlsLayout } from '../../../../components/TableWithControlsLayout/TableWithControlsLayout';
|
9
10
|
import { parseQuery } from '../../../../routes';
|
10
11
|
import { changeUserInput } from '../../../../store/reducers/executeQuery';
|
11
|
-
import { setTopQueriesFilters
|
12
|
+
import { setTopQueriesFilters } from '../../../../store/reducers/executeTopQueries/executeTopQueries';
|
12
13
|
import { TENANT_PAGE, TENANT_PAGES_IDS, TENANT_QUERY_TABS_ID, } from '../../../../store/reducers/tenant/constants';
|
13
14
|
import { cn } from '../../../../utils/cn';
|
14
|
-
import {
|
15
|
-
import { useAutoRefreshInterval, useTypedDispatch, useTypedSelector } from '../../../../utils/hooks';
|
16
|
-
import { parseQueryErrorToString } from '../../../../utils/query';
|
15
|
+
import { useTypedDispatch, useTypedSelector } from '../../../../utils/hooks';
|
17
16
|
import { TenantTabsGroups, getTenantPath } from '../../TenantPages';
|
18
|
-
import {
|
19
|
-
import {
|
20
|
-
import { TOP_QUERIES_COLUMNS, TOP_QUERIES_COLUMNS_WIDTH_LS_KEY } from './getTopQueriesColumns';
|
17
|
+
import { RunningQueriesData } from './RunningQueriesData';
|
18
|
+
import { TopQueriesData } from './TopQueriesData';
|
21
19
|
import i18n from './i18n';
|
22
20
|
import './TopQueries.scss';
|
23
21
|
const b = cn('kv-top-queries');
|
24
|
-
|
22
|
+
const QueryModeIds = {
|
23
|
+
top: 'top',
|
24
|
+
running: 'running',
|
25
|
+
};
|
26
|
+
const QUERY_MODE_OPTIONS = [
|
27
|
+
{
|
28
|
+
value: QueryModeIds.top,
|
29
|
+
get content() {
|
30
|
+
return i18n('mode_top');
|
31
|
+
},
|
32
|
+
},
|
33
|
+
{
|
34
|
+
value: QueryModeIds.running,
|
35
|
+
get content() {
|
36
|
+
return i18n('mode_running');
|
37
|
+
},
|
38
|
+
},
|
39
|
+
];
|
40
|
+
const queryModeSchema = z.nativeEnum(QueryModeIds).catch(QueryModeIds.top);
|
41
|
+
export const TopQueries = ({ tenantName }) => {
|
25
42
|
const dispatch = useTypedDispatch();
|
26
43
|
const location = useLocation();
|
27
44
|
const history = useHistory();
|
28
|
-
const [
|
45
|
+
const [_queryMode = QueryModeIds.top, setQueryMode] = useQueryParam('queryMode', StringParam);
|
46
|
+
const queryMode = queryModeSchema.parse(_queryMode);
|
47
|
+
const isTopQueries = queryMode === QueryModeIds.top;
|
29
48
|
const filters = useTypedSelector((state) => state.executeTopQueries);
|
30
|
-
const
|
31
|
-
database: tenantName,
|
32
|
-
filters,
|
33
|
-
}, { pollingInterval: autoRefreshInterval });
|
34
|
-
const loading = isFetching && currentData === undefined;
|
35
|
-
const { result: data } = currentData || {};
|
36
|
-
const rawColumns = TOP_QUERIES_COLUMNS;
|
37
|
-
const columns = rawColumns.map((column) => ({
|
38
|
-
...column,
|
39
|
-
sortable: isSortableTopQueriesProperty(column.name),
|
40
|
-
}));
|
41
|
-
const handleRowClick = React.useCallback((row) => {
|
42
|
-
const { QueryText: input } = row;
|
49
|
+
const onRowClick = React.useCallback((input) => {
|
43
50
|
dispatch(changeUserInput({ input }));
|
44
51
|
const queryParams = parseQuery(location);
|
45
52
|
const queryPath = getTenantPath({
|
@@ -55,18 +62,6 @@ export const TopQueries = ({ tenantName, type }) => {
|
|
55
62
|
const handleDateRangeChange = (value) => {
|
56
63
|
dispatch(setTopQueriesFilters(value));
|
57
64
|
};
|
58
|
-
|
59
|
-
if (error && !data) {
|
60
|
-
return null;
|
61
|
-
}
|
62
|
-
if (!data || isColumnEntityType(type)) {
|
63
|
-
return i18n('no-data');
|
64
|
-
}
|
65
|
-
return (_jsx(ResizeableDataTable, { columnsWidthLSKey: TOP_QUERIES_COLUMNS_WIDTH_LS_KEY, columns: columns, data: data, settings: QUERY_TABLE_SETTINGS, onRowClick: handleRowClick, rowClassName: () => b('row') }));
|
66
|
-
};
|
67
|
-
const renderControls = () => {
|
68
|
-
return (_jsxs(React.Fragment, { children: [_jsx(Search, { value: filters.text, onChange: handleTextSearchUpdate, placeholder: i18n('filter.text.placeholder'), className: b('search') }), _jsx(DateRange, { from: filters.from, to: filters.to, onChange: handleDateRangeChange })] }));
|
69
|
-
};
|
70
|
-
return (_jsxs(TableWithControlsLayout, { children: [_jsx(TableWithControlsLayout.Controls, { children: renderControls() }), error ? _jsx(ResponseError, { error: parseQueryErrorToString(error) }) : null, _jsx(TableWithControlsLayout.Table, { loading: loading, children: renderContent() })] }));
|
65
|
+
return (_jsxs(TableWithControlsLayout, { children: [_jsxs(TableWithControlsLayout.Controls, { children: [_jsx(RadioButton, { options: QUERY_MODE_OPTIONS, value: queryMode, onUpdate: setQueryMode }), _jsx(Search, { value: filters.text, onChange: handleTextSearchUpdate, placeholder: i18n('filter.text.placeholder'), className: b('search') }), isTopQueries ? (_jsx(DateRange, { from: filters.from, to: filters.to, onChange: handleDateRangeChange })) : null] }), isTopQueries ? (_jsx(TopQueriesData, { database: tenantName, onRowClick: onRowClick })) : (_jsx(RunningQueriesData, { database: tenantName }))] }));
|
71
66
|
};
|
72
67
|
//# sourceMappingURL=TopQueries.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"TopQueries.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Diagnostics/TopQueries/TopQueries.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
1
|
+
{"version":3,"file":"TopQueries.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Diagnostics/TopQueries/TopQueries.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAC,WAAW,EAAC,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAC,UAAU,EAAE,WAAW,EAAC,MAAM,kBAAkB,CAAC;AACzD,OAAO,EAAC,WAAW,EAAE,aAAa,EAAC,MAAM,kBAAkB,CAAC;AAC5D,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AAGtB,OAAO,EAAC,SAAS,EAAC,MAAM,kCAAkC,CAAC;AAC3D,OAAO,EAAC,MAAM,EAAC,MAAM,+BAA+B,CAAC;AACrD,OAAO,EAAC,uBAAuB,EAAC,MAAM,wEAAwE,CAAC;AAC/G,OAAO,EAAC,UAAU,EAAC,MAAM,oBAAoB,CAAC;AAC9C,OAAO,EAAC,eAAe,EAAC,MAAM,yCAAyC,CAAC;AACxE,OAAO,EAAC,oBAAoB,EAAC,MAAM,gEAAgE,CAAC;AACpG,OAAO,EACH,WAAW,EACX,gBAAgB,EAChB,oBAAoB,GACvB,MAAM,6CAA6C,CAAC;AACrD,OAAO,EAAC,EAAE,EAAC,MAAM,sBAAsB,CAAC;AACxC,OAAO,EAAC,gBAAgB,EAAE,gBAAgB,EAAC,MAAM,yBAAyB,CAAC;AAC3E,OAAO,EAAC,gBAAgB,EAAE,aAAa,EAAC,MAAM,mBAAmB,CAAC;AAElE,OAAO,EAAC,kBAAkB,EAAC,MAAM,sBAAsB,CAAC;AACxD,OAAO,EAAC,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAChD,OAAO,IAAI,MAAM,QAAQ,C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Ac,IAAC,QAAQ,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,GAAI,CACnE,CAAC,CAAC,CAAC,CACA,KAAC,kBAAkB,IAAC,QAAQ,EAAE,UAAU,GAAI,CAC/C,IACqB,CAC7B,CAAC;AACN,CAAC,CAAC"}
|
@@ -0,0 +1,33 @@
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
2
|
+
import React from 'react';
|
3
|
+
import { ResponseError } from '../../../../components/Errors/ResponseError';
|
4
|
+
import { ResizeableDataTable } from '../../../../components/ResizeableDataTable/ResizeableDataTable';
|
5
|
+
import { TableWithControlsLayout } from '../../../../components/TableWithControlsLayout/TableWithControlsLayout';
|
6
|
+
import { topQueriesApi } from '../../../../store/reducers/executeTopQueries/executeTopQueries';
|
7
|
+
import { cn } from '../../../../utils/cn';
|
8
|
+
import { isSortableTopQueriesProperty } from '../../../../utils/diagnostics';
|
9
|
+
import { useAutoRefreshInterval, useTypedSelector } from '../../../../utils/hooks';
|
10
|
+
import { parseQueryErrorToString } from '../../../../utils/query';
|
11
|
+
import { QUERY_TABLE_SETTINGS } from '../../utils/constants';
|
12
|
+
import { TOP_QUERIES_COLUMNS, TOP_QUERIES_COLUMNS_WIDTH_LS_KEY } from './getTopQueriesColumns';
|
13
|
+
import i18n from './i18n';
|
14
|
+
const b = cn('kv-top-queries');
|
15
|
+
export const TopQueriesData = ({ database, onRowClick }) => {
|
16
|
+
const [autoRefreshInterval] = useAutoRefreshInterval();
|
17
|
+
const filters = useTypedSelector((state) => state.executeTopQueries);
|
18
|
+
const { currentData, isFetching, error } = topQueriesApi.useGetTopQueriesQuery({
|
19
|
+
database,
|
20
|
+
filters,
|
21
|
+
}, { pollingInterval: autoRefreshInterval });
|
22
|
+
const { result: data } = currentData || {};
|
23
|
+
const rawColumns = TOP_QUERIES_COLUMNS;
|
24
|
+
const columns = rawColumns.map((column) => ({
|
25
|
+
...column,
|
26
|
+
sortable: isSortableTopQueriesProperty(column.name),
|
27
|
+
}));
|
28
|
+
const handleRowClick = (row) => {
|
29
|
+
return onRowClick(row.QueryText);
|
30
|
+
};
|
31
|
+
return (_jsxs(React.Fragment, { children: [error ? _jsx(ResponseError, { error: parseQueryErrorToString(error) }) : null, _jsx(TableWithControlsLayout.Table, { loading: isFetching && currentData === undefined, children: _jsx(ResizeableDataTable, { emptyDataMessage: i18n('no-data'), columnsWidthLSKey: TOP_QUERIES_COLUMNS_WIDTH_LS_KEY, columns: columns, data: data || [], settings: QUERY_TABLE_SETTINGS, onRowClick: handleRowClick, rowClassName: () => b('row') }) })] }));
|
32
|
+
};
|
33
|
+
//# sourceMappingURL=TopQueriesData.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"TopQueriesData.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Diagnostics/TopQueries/TopQueriesData.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,aAAa,EAAC,MAAM,6CAA6C,CAAC;AAC1E,OAAO,EAAC,mBAAmB,EAAC,MAAM,gEAAgE,CAAC;AACnG,OAAO,EAAC,uBAAuB,EAAC,MAAM,wEAAwE,CAAC;AAC/G,OAAO,EAAC,aAAa,EAAC,MAAM,gEAAgE,CAAC;AAE7F,OAAO,EAAC,EAAE,EAAC,MAAM,sBAAsB,CAAC;AACxC,OAAO,EAAC,4BAA4B,EAAC,MAAM,+BAA+B,CAAC;AAC3E,OAAO,EAAC,sBAAsB,EAAE,gBAAgB,EAAC,MAAM,yBAAyB,CAAC;AACjF,OAAO,EAAC,uBAAuB,EAAC,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAC,oBAAoB,EAAC,MAAM,uBAAuB,CAAC;AAE3D,OAAO,EAAC,mBAAmB,EAAE,gCAAgC,EAAC,MAAM,wBAAwB,CAAC;AAC7F,OAAO,IAAI,MAAM,QAAQ,CAAC;AAE1B,MAAM,CAAC,GAAG,EAAE,CAAC,gBAAgB,C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AE,EAChB,QAAQ,EAAE,oBAAoB,EAC9B,UAAU,EAAE,cAAc,EAC1B,YAAY,EAAE,GAAG,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,GAC9B,GAC0B,IACnB,CACpB,CAAC;AACN,CAAC,CAAC"}
|
@@ -2,5 +2,7 @@ import type { Column } from '@gravity-ui/react-data-table';
|
|
2
2
|
import type { KeyValueRow } from '../../../../types/api/query';
|
3
3
|
import './TopQueries.scss';
|
4
4
|
export declare const TOP_QUERIES_COLUMNS_WIDTH_LS_KEY = "topQueriesColumnsWidth";
|
5
|
+
export declare const RUNNING_QUERIES_COLUMNS_WIDTH_LS_KEY = "runningQueriesColumnsWidth";
|
5
6
|
export declare const TOP_QUERIES_COLUMNS: Column<KeyValueRow>[];
|
6
7
|
export declare const TENANT_OVERVIEW_TOP_QUERUES_COLUMNS: Column<KeyValueRow>[];
|
8
|
+
export declare const RUNNING_QUERIES_COLUMNS: Column<KeyValueRow>[];
|
@@ -7,9 +7,11 @@ import { TOP_QUERIES_COLUMNS_IDS } from '../../../../utils/diagnostics';
|
|
7
7
|
import { generateHash } from '../../../../utils/generateHash';
|
8
8
|
import { formatToMs, parseUsToMs } from '../../../../utils/timeParsers';
|
9
9
|
import { MAX_QUERY_HEIGHT } from '../../utils/constants';
|
10
|
+
import i18n from './i18n';
|
10
11
|
import './TopQueries.scss';
|
11
12
|
const b = cn('kv-top-queries');
|
12
13
|
export const TOP_QUERIES_COLUMNS_WIDTH_LS_KEY = 'topQueriesColumnsWidth';
|
14
|
+
export const RUNNING_QUERIES_COLUMNS_WIDTH_LS_KEY = 'runningQueriesColumnsWidth';
|
13
15
|
const cpuTimeUsColumn = {
|
14
16
|
name: TOP_QUERIES_COLUMNS_IDS.CPUTimeUs,
|
15
17
|
sortAccessor: (row) => Number(row.CPUTimeUs),
|
@@ -75,6 +77,24 @@ const durationColumn = {
|
|
75
77
|
align: DataTable.RIGHT,
|
76
78
|
width: 150,
|
77
79
|
};
|
80
|
+
const queryStartColumn = {
|
81
|
+
name: 'QueryStartAt',
|
82
|
+
get header() {
|
83
|
+
return i18n('col_start-time');
|
84
|
+
},
|
85
|
+
render: ({ row }) => formatDateTime(new Date(row.QueryStartAt).getTime()),
|
86
|
+
sortable: true,
|
87
|
+
resizeable: false,
|
88
|
+
defaultOrder: DataTable.DESCENDING,
|
89
|
+
};
|
90
|
+
const applicationColumn = {
|
91
|
+
name: 'ApplicationName',
|
92
|
+
get header() {
|
93
|
+
return i18n('col_app');
|
94
|
+
},
|
95
|
+
render: ({ row }) => _jsx("div", { className: b('user-sid'), children: row.ApplicationName || '–' }),
|
96
|
+
sortable: true,
|
97
|
+
};
|
78
98
|
export const TOP_QUERIES_COLUMNS = [
|
79
99
|
cpuTimeUsColumn,
|
80
100
|
queryTextColumn,
|
@@ -89,4 +109,10 @@ export const TENANT_OVERVIEW_TOP_QUERUES_COLUMNS = [
|
|
89
109
|
oneLineQueryTextColumn,
|
90
110
|
cpuTimeUsColumn,
|
91
111
|
];
|
112
|
+
export const RUNNING_QUERIES_COLUMNS = [
|
113
|
+
userSIDColumn,
|
114
|
+
queryStartColumn,
|
115
|
+
queryTextColumn,
|
116
|
+
applicationColumn,
|
117
|
+
];
|
92
118
|
//# sourceMappingURL=getTopQueriesColumns.js.map
|
@@ -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,mBAAmB,CAAC;AAE3B,MAAM,CAAC,GAAG,EAAE,CAAC,gBAAgB,CAAC,CAAC;AAE/B,MAAM,CAAC,MAAM,gCAAgC,GAAG,wBAAwB,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,4BAA4B,CAAC;AAEjF,MAAM,eAAe,GAAwB;IACzC,IAAI,EAAE,uBAAuB,CAAC,SAAS;IACvC,YAAY,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,MAAM,CAAC,GAAG,CAAC,SAAS,CAAC;IAC5C,MAAM,EAA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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,4 +1,10 @@
|
|
1
1
|
{
|
2
2
|
"no-data": "No data",
|
3
|
-
"filter.text.placeholder": "Search by query text..."
|
3
|
+
"filter.text.placeholder": "Search by query text...",
|
4
|
+
"mode_top": "Top",
|
5
|
+
"mode_running": "Running",
|
6
|
+
"col_user": "User",
|
7
|
+
"col_start-time": "Start time",
|
8
|
+
"col_query-text": "Query text",
|
9
|
+
"col_app": "Application"
|
4
10
|
}
|
@@ -1,2 +1,2 @@
|
|
1
|
-
declare const _default: (key: "no-data" | "filter.text.placeholder", params?: import("@gravity-ui/i18n").Params) => string;
|
1
|
+
declare const _default: (key: "no-data" | "filter.text.placeholder" | "mode_top" | "mode_running" | "col_user" | "col_start-time" | "col_query-text" | "col_app", params?: import("@gravity-ui/i18n").Params) => string;
|
2
2
|
export default _default;
|
@@ -1,6 +1,5 @@
|
|
1
1
|
import { registerKeysets } from '../../../../../utils/i18n';
|
2
2
|
import en from './en.json';
|
3
|
-
import ru from './ru.json';
|
4
3
|
const COMPONENT = 'ydb-diagnostics-top-queries';
|
5
|
-
export default registerKeysets(COMPONENT, {
|
4
|
+
export default registerKeysets(COMPONENT, { en });
|
6
5
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/containers/Tenant/Diagnostics/TopQueries/i18n/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,2BAA2B,CAAC;AAE1D,OAAO,EAAE,MAAM,WAAW,CAAC;
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/containers/Tenant/Diagnostics/TopQueries/i18n/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,2BAA2B,CAAC;AAE1D,OAAO,EAAE,MAAM,WAAW,CAAC;AAE3B,MAAM,SAAS,GAAG,6BAA6B,CAAC;AAEhD,eAAe,eAAe,CAAC,SAAS,EAAE,EAAC,EAAE,EAAC,CAAC,CAAC"}
|