ydb-embedded-ui 6.22.0 → 6.23.1
Sign up to get free protection for your applications and to get access to all the features.
- 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/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 +1 -3
- package/dist/components/VDisk/VDisk.js +2 -2
- package/dist/components/VDisk/VDisk.js.map +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/Cluster/Cluster.scss +2 -2
- package/dist/containers/Header/breadcrumbs.js +2 -3
- package/dist/containers/Header/breadcrumbs.js.map +1 -1
- package/dist/containers/Nodes/columns/columns.js +8 -0
- package/dist/containers/Nodes/columns/columns.js.map +1 -1
- package/dist/containers/Nodes/columns/constants.d.ts +2 -0
- package/dist/containers/Nodes/columns/constants.js +4 -0
- package/dist/containers/Nodes/columns/constants.js.map +1 -1
- package/dist/containers/Nodes/columns/i18n/en.json +1 -0
- package/dist/containers/Nodes/columns/i18n/index.d.ts +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 +3 -2
- 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 -5
- package/dist/containers/Storage/PaginatedStorage.js +7 -73
- 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.js +15 -70
- 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 +3 -16
- package/dist/containers/Storage/StorageControls/StorageControls.js +18 -11
- 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} +23 -5
- package/dist/containers/Storage/StorageGroups/PaginatedStorageGroupsTable.js.map +1 -0
- package/dist/containers/Storage/StorageGroups/{StorageGroups.d.ts → StorageGroupsTable.d.ts} +3 -4
- package/dist/containers/Storage/StorageGroups/{StorageGroups.js → StorageGroupsTable.js} +4 -3
- package/dist/containers/Storage/StorageGroups/StorageGroupsTable.js.map +1 -0
- package/dist/containers/Storage/StorageGroups/columns/columns.js +35 -10
- package/dist/containers/Storage/StorageGroups/columns/columns.js.map +1 -1
- package/dist/containers/Storage/StorageGroups/columns/constants.d.ts +17 -0
- package/dist/containers/Storage/StorageGroups/columns/constants.js +46 -1
- package/dist/containers/Storage/StorageGroups/columns/constants.js.map +1 -1
- package/dist/containers/Storage/StorageGroups/columns/hooks.d.ts +3 -3
- package/dist/containers/Storage/StorageGroups/columns/hooks.js +5 -8
- package/dist/containers/Storage/StorageGroups/columns/hooks.js.map +1 -1
- package/dist/containers/Storage/StorageGroups/columns/i18n/en.json +6 -0
- package/dist/containers/Storage/StorageGroups/columns/i18n/index.d.ts +1 -1
- package/dist/containers/Storage/StorageGroups/columns/types.d.ts +7 -5
- package/dist/containers/Storage/StorageGroups/getGroups.js +6 -5
- 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} +23 -5
- package/dist/containers/Storage/StorageNodes/PaginatedStorageNodesTable.js.map +1 -0
- package/dist/containers/Storage/StorageNodes/{StorageNodes.d.ts → StorageNodesTable.d.ts} +3 -4
- package/dist/containers/Storage/StorageNodes/{StorageNodes.js → StorageNodesTable.js} +8 -6
- package/dist/containers/Storage/StorageNodes/StorageNodesTable.js.map +1 -0
- package/dist/containers/Storage/StorageNodes/columns/StorageNodesColumns.scss +1 -0
- package/dist/containers/Storage/StorageNodes/columns/columns.d.ts +1 -1
- package/dist/containers/Storage/StorageNodes/columns/columns.js +4 -5
- package/dist/containers/Storage/StorageNodes/columns/columns.js.map +1 -1
- package/dist/containers/Storage/StorageNodes/columns/constants.d.ts +9 -0
- package/dist/containers/Storage/StorageNodes/columns/constants.js +27 -0
- package/dist/containers/Storage/StorageNodes/columns/constants.js.map +1 -1
- package/dist/containers/Storage/StorageNodes/columns/i18n/en.json +2 -0
- package/dist/containers/Storage/StorageNodes/columns/i18n/index.d.ts +1 -1
- package/dist/containers/Storage/StorageNodes/getNodes.js +6 -5
- package/dist/containers/Storage/StorageNodes/getNodes.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 +11 -6
- package/dist/containers/Storage/utils/index.js.map +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 +0 -3
- package/dist/containers/Tenant/Diagnostics/DiagnosticsPages.js +2 -2
- 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/TenantOverview.js +8 -2
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantOverview.js.map +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 +27 -9
- package/dist/containers/Tenant/ObjectSummary/ObjectSummary.js.map +1 -1
- 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/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 +3 -1
- package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.js.map +1 -1
- package/dist/containers/Tenant/Query/ExecuteResult/i18n/en.json +2 -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/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/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/services/api.js +3 -3
- package/dist/services/api.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/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/nodes/types.d.ts +1 -0
- 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/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 +2 -2
- 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/types/api/capabilities.d.ts +1 -1
- package/dist/types/api/nodes.d.ts +3 -2
- package/dist/types/api/nodes.js.map +1 -1
- package/dist/types/api/storage.d.ts +22 -4
- package/dist/types/store/nodesList.d.ts +1 -1
- package/dist/utils/hooks/useSelectedColumns.js +7 -2
- package/dist/utils/hooks/useSelectedColumns.js.map +1 -1
- package/dist/utils/nodes.d.ts +2 -2
- package/dist/utils/nodes.js +4 -4
- package/dist/utils/nodes.js.map +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 +1 -1
- package/dist/containers/Storage/StorageGroups/PaginatedStorageGroups.d.ts +0 -16
- package/dist/containers/Storage/StorageGroups/PaginatedStorageGroups.js.map +0 -1
- package/dist/containers/Storage/StorageGroups/StorageGroups.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.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/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/containers/Tenant/utils/{queryTemplates.d.ts → schemaQueryTemplates.d.ts} +0 -0
@@ -12,13 +12,13 @@ import { InfoViewer } from '../../../components/InfoViewer/InfoViewer';
|
|
12
12
|
import { LinkWithIcon } from '../../../components/LinkWithIcon/LinkWithIcon';
|
13
13
|
import SplitPane from '../../../components/SplitPane';
|
14
14
|
import routes, { createExternalUILink, createHref } from '../../../routes';
|
15
|
-
import {
|
15
|
+
import { overviewApi } from '../../../store/reducers/overview/overview';
|
16
16
|
import { TENANT_SUMMARY_TABS_IDS } from '../../../store/reducers/tenant/constants';
|
17
17
|
import { setSummaryTab } from '../../../store/reducers/tenant/tenant';
|
18
18
|
import { EPathSubType, EPathType } from '../../../types/api/schema';
|
19
19
|
import { DEFAULT_IS_TENANT_COMMON_INFO_COLLAPSED, DEFAULT_SIZE_TENANT_SUMMARY_KEY, } from '../../../utils/constants';
|
20
20
|
import { formatDateTime, formatNumber, formatSecondsToHours, } from '../../../utils/dataFormatters/dataFormatters';
|
21
|
-
import { useTypedDispatch, useTypedSelector } from '../../../utils/hooks';
|
21
|
+
import { useAutoRefreshInterval, useTypedDispatch, useTypedSelector } from '../../../utils/hooks';
|
22
22
|
import { Acl } from '../Acl/Acl';
|
23
23
|
import { EntityTitle } from '../EntityTitle/EntityTitle';
|
24
24
|
import { SchemaViewer } from '../Schema/SchemaViewer/SchemaViewer';
|
@@ -30,7 +30,7 @@ import { ObjectTree } from './ObjectTree';
|
|
30
30
|
import { SchemaActions } from './SchemaActions';
|
31
31
|
import i18n from './i18n';
|
32
32
|
import { b } from './shared';
|
33
|
-
import { transformPath } from './transformPath';
|
33
|
+
import { isDomain, transformPath } from './transformPath';
|
34
34
|
import './ObjectSummary.scss';
|
35
35
|
const getTenantCommonInfoState = () => {
|
36
36
|
const collapsed = Boolean(localStorage.getItem(DEFAULT_IS_TENANT_COMMON_INFO_COLLAPSED));
|
@@ -42,6 +42,7 @@ const getTenantCommonInfoState = () => {
|
|
42
42
|
};
|
43
43
|
export function ObjectSummary({ type, subType, tenantName, path, onCollapseSummary, onExpandSummary, isCollapsed, }) {
|
44
44
|
var _a;
|
45
|
+
const [autoRefreshInterval] = useAutoRefreshInterval();
|
45
46
|
const dispatch = useTypedDispatch();
|
46
47
|
const [, setCurrentPath] = useQueryParam('schema', StringParam);
|
47
48
|
const [commonInfoVisibilityState, dispatchCommonInfoVisibilityState] = React.useReducer(paneVisibilityToggleReducerCreator(DEFAULT_IS_TENANT_COMMON_INFO_COLLAPSED), undefined, getTenantCommonInfoState);
|
@@ -50,7 +51,13 @@ export function ObjectSummary({ type, subType, tenantName, path, onCollapseSumma
|
|
50
51
|
const queryParams = qs.parse(location.search, {
|
51
52
|
ignoreQueryPrefix: true,
|
52
53
|
});
|
53
|
-
const {
|
54
|
+
const { currentData } = overviewApi.useGetOverviewQuery({
|
55
|
+
paths: [path],
|
56
|
+
database: tenantName,
|
57
|
+
}, {
|
58
|
+
pollingInterval: autoRefreshInterval,
|
59
|
+
});
|
60
|
+
const { data: currentObjectData } = currentData !== null && currentData !== void 0 ? currentData : {};
|
54
61
|
const currentSchemaData = (_a = currentObjectData === null || currentObjectData === void 0 ? void 0 : currentObjectData.PathDescription) === null || _a === void 0 ? void 0 : _a.Self;
|
55
62
|
React.useEffect(() => {
|
56
63
|
const isTable = isTableType(type);
|
@@ -77,7 +84,10 @@ export function ObjectSummary({ type, subType, tenantName, path, onCollapseSumma
|
|
77
84
|
}
|
78
85
|
const { CreateStep, PathType, PathSubType, PathId, PathVersion } = currentSchemaData;
|
79
86
|
const overview = [];
|
80
|
-
|
87
|
+
const normalizedType = isDomain(path, PathType)
|
88
|
+
? 'Domain'
|
89
|
+
: PathType === null || PathType === void 0 ? void 0 : PathType.replace(/^EPathType/, '');
|
90
|
+
overview.push({ label: i18n('field_type'), value: normalizedType });
|
81
91
|
if (PathSubType !== EPathSubType.EPathSubTypeEmpty) {
|
82
92
|
overview.push({
|
83
93
|
label: i18n('field_subtype'),
|
@@ -253,21 +263,29 @@ export function ObjectSummary({ type, subType, tenantName, path, onCollapseSumma
|
|
253
263
|
const onSplitStartDragAdditional = () => {
|
254
264
|
dispatchCommonInfoVisibilityState(PaneVisibilityActionTypes.clear);
|
255
265
|
};
|
266
|
+
const relativePath = transformPath(path, tenantName);
|
256
267
|
const renderCommonInfoControls = () => {
|
257
268
|
const showPreview = isTableType(type) && !isIndexTableType(subType);
|
258
269
|
return (_jsxs(React.Fragment, { children: [showPreview &&
|
259
|
-
getSummaryControls(dispatch, { setActivePath: setCurrentPath }, 'm')(path, 'preview'), _jsx(ClipboardButton, { text:
|
270
|
+
getSummaryControls(dispatch, { setActivePath: setCurrentPath }, 'm')(path, 'preview'), _jsx(ClipboardButton, { text: relativePath, view: "flat-secondary", title: i18n('action_copySchemaPath') }), _jsx(PaneVisibilityToggleButtons, { onCollapse: onCollapseInfoHandler, onExpand: onExpandInfoHandler, isCollapsed: commonInfoVisibilityState.collapsed, initialDirection: "bottom" })] }));
|
260
271
|
};
|
261
272
|
const renderEntityTypeBadge = () => {
|
262
273
|
const { Status, Reason } = currentObjectData !== null && currentObjectData !== void 0 ? currentObjectData : {};
|
274
|
+
if (type) {
|
275
|
+
let label = type.replace('EPathType', '');
|
276
|
+
if (isDomain(path, type)) {
|
277
|
+
label = 'domain';
|
278
|
+
}
|
279
|
+
return _jsx("div", { className: b('entity-type'), children: label });
|
280
|
+
}
|
263
281
|
let message;
|
264
|
-
if (
|
282
|
+
if (Status && Reason) {
|
265
283
|
message = `${Status}: ${Reason}`;
|
266
284
|
}
|
267
|
-
return
|
285
|
+
return (_jsx("div", { className: b('entity-type', { error: true }), children: _jsx(HelpPopover, { content: message, offset: { left: 0 } }) }));
|
268
286
|
};
|
269
287
|
const renderContent = () => {
|
270
|
-
return (_jsxs("div", { className: b(), children: [_jsx("div", { className: b({ hidden: isCollapsed }), children: _jsxs(SplitPane, { direction: "vertical", defaultSizePaneKey: DEFAULT_SIZE_TENANT_SUMMARY_KEY, onSplitStartDragAdditional: onSplitStartDragAdditional, triggerCollapse: commonInfoVisibilityState.triggerCollapse, triggerExpand: commonInfoVisibilityState.triggerExpand, minSize: [200, 52], collapsedSizes: [100, 0], children: [_jsx(ObjectTree, { tenantName: tenantName, path: path }), _jsxs("div", { className: b('info'), children: [_jsxs("div", { className: b('sticky-top'), children: [_jsxs("div", { className: b('info-header'), children: [_jsxs("div", { className: b('info-title'), children: [renderEntityTypeBadge(), _jsx("div", { className: b('path-name'), children:
|
288
|
+
return (_jsxs("div", { className: b(), children: [_jsx("div", { className: b({ hidden: isCollapsed }), children: _jsxs(SplitPane, { direction: "vertical", defaultSizePaneKey: DEFAULT_SIZE_TENANT_SUMMARY_KEY, onSplitStartDragAdditional: onSplitStartDragAdditional, triggerCollapse: commonInfoVisibilityState.triggerCollapse, triggerExpand: commonInfoVisibilityState.triggerExpand, minSize: [200, 52], collapsedSizes: [100, 0], children: [_jsx(ObjectTree, { tenantName: tenantName, path: path }), _jsxs("div", { className: b('info'), children: [_jsxs("div", { className: b('sticky-top'), children: [_jsxs("div", { className: b('info-header'), children: [_jsxs("div", { className: b('info-title'), children: [renderEntityTypeBadge(), _jsx("div", { className: b('path-name'), children: relativePath })] }), _jsx("div", { className: b('info-controls'), children: renderCommonInfoControls() })] }), renderTabs()] }), _jsx("div", { className: b('overview-wrapper'), children: renderTabContent() })] })] }) }), _jsx(PaneVisibilityToggleButtons, { onCollapse: onCollapseSummary, onExpand: onExpandSummary, isCollapsed: isCollapsed, initialDirection: "left", className: b('action-button') })] }));
|
271
289
|
};
|
272
290
|
return renderContent();
|
273
291
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ObjectSummary.js","sourceRoot":"","sources":["../../../../src/containers/Tenant/ObjectSummary/ObjectSummary.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,WAAW,EAAC,MAAM,wBAAwB,CAAC;AACnD,OAAO,EAAC,IAAI,EAAE,IAAI,EAAC,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,MAAM,IAAI,CAAC;AACpB,OAAO,EAAC,IAAI,EAAE,WAAW,EAAC,MAAM,kBAAkB,CAAC;AACnD,OAAO,EAAC,WAAW,EAAE,aAAa,EAAC,MAAM,kBAAkB,CAAC;AAE5D,OAAO,EAAC,qBAAqB,EAAC,MAAM,2CAA2C,CAAC;AAChF,OAAO,EAAC,eAAe,EAAC,MAAM,qCAAqC,CAAC;AACpE,OAAO,EAAC,eAAe,EAAC,MAAM,0CAA0C,CAAC;AACzE,OAAO,EAAC,UAAU,EAAC,MAAM,2CAA2C,CAAC;AAErE,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,SAAS,IACN,SAAS,EAAC,UAAU,EACpB,kBAAkB,EAAE,+BAA+B,EACnD,0BAA0B,EAAE,0BAA0B,EACtD,eAAe,EAAE,yBAAyB,CAAC,eAAe,EAC1D,aAAa,EAAE,yBAAyB,CAAC,aAAa,EACtD,OAAO,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,EAClB,cAAc,EAAE,CAAC,GAAG,EAAE,CAAC,CAAC,aAExB,KAAC,UAAU,IAAC,UAAU,EAAE,UAAU,EAAE,IAAI,EAAE,IAAI,GAAI,EAClD,eAAK,SAAS,EAAE,CAAC,CAAC,MAAM,CAAC,aACrB,eAAK,SAAS,EAAE,CAAC,CAAC,YAAY,CAAC,aAC3B,eAAK,SAAS,EAAE,CAAC,CAAC,aAAa,CAAC,aAC5B,eAAK,SAAS,EAAE,CAAC,CAAC,YAAY,CAAC,aAC1B,qBAAqB,EAAE,EACxB,cAAK,SAAS,EAAE,CAAC,CAAC,WAAW,CAAC,YAAG,YAAY,GAAO,IAClD,EACN,cAAK,SAAS,EAAE,CAAC,CAAC,eAAe,CAAC,YAC7B,wBAAwB,EAAE,GACzB,IACJ,EACL,UAAU,EAAE,IACX,EACN,cAAK,SAAS,EAAE,CAAC,CAAC,kBAAkB,CAAC,YAAG,gBAAgB,EAAE,GAAO,IAC/D,IACE,GACV,EACN,KAAC,2BAA2B,IACxB,UAAU,EAAE,iBAAiB,EAC7B,QAAQ,EAAE,eAAe,EACzB,WAAW,EAAE,WAAW,EACxB,gBAAgB,EAAC,MAAM,EACvB,SAAS,EAAE,CAAC,CAAC,eAAe,CAAC,GAC/B,IACA,CACT,CAAC;IACN,CAAC,CAAC;IAEF,OAAO,aAAa,EAAE,CAAC;AAC3B,CAAC"}
|
@@ -1,4 +1,5 @@
|
|
1
|
-
import {
|
1
|
+
import { EPathType } from '../../../../types/api/schema';
|
2
|
+
import { isDomain, transformPath } from '../transformPath';
|
2
3
|
describe('transformPath', () => {
|
3
4
|
test.each([
|
4
5
|
// Tests with various combinations of path and dbName
|
@@ -8,8 +9,8 @@ describe('transformPath', () => {
|
|
8
9
|
['/prod/v1/sth', 'prod/v1', 'sth'],
|
9
10
|
['/dev/v1/sth', '/dev', 'v1/sth'],
|
10
11
|
['/dev/v1/sth', 'dev', 'v1/sth'],
|
11
|
-
['/dev', '/dev', '/'],
|
12
|
-
['/dev', 'dev', '/'],
|
12
|
+
['/dev', '/dev', '/dev'],
|
13
|
+
['/dev', 'dev', '/dev'],
|
13
14
|
['/', '/dev', '/'],
|
14
15
|
['/', 'dev', '/'],
|
15
16
|
['', '/dev', '/'],
|
@@ -38,4 +39,27 @@ describe('transformPath', () => {
|
|
38
39
|
expect(transformPath('///dev/v1/sth', '/dev')).toBe('v1/sth');
|
39
40
|
});
|
40
41
|
});
|
42
|
+
describe('isDomain', () => {
|
43
|
+
it('should return true for valid domain paths', () => {
|
44
|
+
expect(isDomain('/domain', EPathType.EPathTypeDir)).toBe(true);
|
45
|
+
expect(isDomain('/another-domain', EPathType.EPathTypeDir)).toBe(true);
|
46
|
+
});
|
47
|
+
it('should return false for non-directory paths', () => {
|
48
|
+
expect(isDomain('/domain', EPathType.EPathTypeColumnStore)).toBe(false);
|
49
|
+
expect(isDomain('/domain', undefined)).toBe(false);
|
50
|
+
});
|
51
|
+
it('should return false for paths without slash', () => {
|
52
|
+
expect(isDomain('domain', EPathType.EPathTypeDir)).toBe(false);
|
53
|
+
});
|
54
|
+
it('should return false for paths with multiple slashes', () => {
|
55
|
+
expect(isDomain('/domain/subdomain', EPathType.EPathTypeDir)).toBe(false);
|
56
|
+
expect(isDomain('/domain/', EPathType.EPathTypeDir)).toBe(false);
|
57
|
+
});
|
58
|
+
it('should return false for empty paths', () => {
|
59
|
+
expect(isDomain('', EPathType.EPathTypeDir)).toBe(false);
|
60
|
+
});
|
61
|
+
it('should return true for root path', () => {
|
62
|
+
expect(isDomain('/', EPathType.EPathTypeDir)).toBe(true);
|
63
|
+
});
|
64
|
+
});
|
41
65
|
//# sourceMappingURL=transformPath.test.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"transformPath.test.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/ObjectSummary/__test__/transformPath.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,aAAa,EAAC,MAAM,kBAAkB,CAAC;
|
1
|
+
{"version":3,"file":"transformPath.test.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/ObjectSummary/__test__/transformPath.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAC,QAAQ,EAAE,aAAa,EAAC,MAAM,kBAAkB,CAAC;AAEzD,QAAQ,CAAC,eAAe,EAAE,GAAG,EAAE;IAC3B,IAAI,CAAC,IAAI,CAAC;QACN,qDAAqD;QACrD,CAAC,cAAc,EAAE,OAAO,EAAE,QAAQ,CAAC;QACnC,CAAC,cAAc,EAAE,MAAM,EAAE,QAAQ,CAAC;QAClC,CAAC,cAAc,EAAE,UAAU,EAAE,KAAK,CAAC;QACnC,CAAC,cAAc,EAAE,SAAS,EAAE,KAAK,CAAC;QAClC,CAAC,aAAa,EAAE,MAAM,EAAE,QAAQ,CAAC;QACjC,CAAC,aAAa,EAAE,KAAK,EAAE,QAAQ,CAAC;QAChC,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC;QACxB,CAAC,MAAM,EAAE,KAAK,EAAE,MAAM,CAAC;QACvB,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,CAAC;QAClB,CAAC,GAAG,EAAE,KAAK,EAAE,GAAG,CAAC;QACjB,CAAC,EAAE,EAAE,MAAM,EAAE,GAAG,CAAC;QACjB,CAAC,EAAE,EAAE,KAAK,EAAE,GAAG,CAAC;QAChB,CAAC,qCAAqC,EAAE,MAAM,EAAE,gCAAgC,CAAC;QACjF,CAAC,qCAAqC,EAAE,KAAK,EAAE,gCAAgC,CAAC;QAChF,CAAC,cAAc,EAAE,MAAM,EAAE,QAAQ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,QAAQ,CAAC,EAAE,EAAE,SAAS,CAAC,YAAY,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IAC7D,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,kCAAkC,EAAE,GAAG,EAAE;QACxC,MAAM,CAAC,QAAQ,CAAC,GAAG,EAAE,SAAS,CAAC,YAAY,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC7D,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC"}
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import { EPathType } from '../../../types/api/schema';
|
1
2
|
export function transformPath(path, dbName) {
|
2
3
|
// Normalize the path and dbName by removing leading/trailing slashes
|
3
4
|
const normalizedPath = path.replace(/^\/+|\/+$/g, '');
|
@@ -5,9 +6,18 @@ export function transformPath(path, dbName) {
|
|
5
6
|
if (!normalizedPath.startsWith(normalizedDbName)) {
|
6
7
|
return normalizedPath || '/';
|
7
8
|
}
|
9
|
+
if (normalizedPath === normalizedDbName) {
|
10
|
+
return `/${normalizedPath}`;
|
11
|
+
}
|
8
12
|
let result = normalizedPath.slice(normalizedDbName.length);
|
9
13
|
// Remove leading slash if present, unless the result would be empty
|
10
14
|
result = result.replace(/^\/+/, '') || '/';
|
11
15
|
return result;
|
12
16
|
}
|
17
|
+
export function isDomain(path, type) {
|
18
|
+
if (type !== EPathType.EPathTypeDir) {
|
19
|
+
return false;
|
20
|
+
}
|
21
|
+
return path.split('/').length === 2 && path.startsWith('/');
|
22
|
+
}
|
13
23
|
//# sourceMappingURL=transformPath.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"transformPath.js","sourceRoot":"","sources":["../../../../src/containers/Tenant/ObjectSummary/transformPath.ts"],"names":[],"mappings":"AAAA,MAAM,UAAU,aAAa,CAAC,IAAY,EAAE,MAAc;IACtD,qEAAqE;IACrE,MAAM,cAAc,GAAG,IAAI,CAAC,OAAO,CAAC,YAAY,EAAE,EAAE,CAA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M,UAAU,QAAQ,CAAC,IAAY,EAAE,IAAgB;IACnD,IAAI,IAAI,KAAK,SAAS,CAAC,YAAY,EAAE,CAAC;QAClC,OAAO,KAAK,CAAC;IACjB,CAAC;IACD,OAAO,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,MAAM,KAAK,CAAC,IAAI,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC;AAChE,CAAC"}
|
@@ -77,7 +77,9 @@ export function ExecuteResult({ result, isResultsCollapsed, theme, tenantName, o
|
|
77
77
|
id: String(item),
|
78
78
|
title: `Result #${item + 1}${((_b = (_a = data === null || data === void 0 ? void 0 : data.resultSets) === null || _a === void 0 ? void 0 : _a[item]) === null || _b === void 0 ? void 0 : _b.truncated) ? ' (T)' : ''}`,
|
79
79
|
});
|
80
|
-
}), activeTab: String(selectedResultSet), onSelectTab: (tabId) => setSelectedResultSet(Number(tabId)) }) })), _jsxs("div", { className: b('result'), children: [
|
80
|
+
}), activeTab: String(selectedResultSet), onSelectTab: (tabId) => setSelectedResultSet(Number(tabId)) }) })), _jsxs("div", { className: b('result'), children: [_jsxs("div", { className: b('result-head'), children: [_jsx(Text, { variant: "subheader-3", children: (currentResult === null || currentResult === void 0 ? void 0 : currentResult.truncated)
|
81
|
+
? i18n('title.truncated')
|
82
|
+
: i18n('title.result') }), _jsx(Text, { color: "secondary", variant: "body-2", className: b('row-count'), children: `(${(_a = currentResult === null || currentResult === void 0 ? void 0 : currentResult.result) === null || _a === void 0 ? void 0 : _a.length})` })] }), _jsx(QueryResultTable, { data: currentResult === null || currentResult === void 0 ? void 0 : currentResult.result, columns: currentResult === null || currentResult === void 0 ? void 0 : currentResult.columns })] })] }));
|
81
83
|
};
|
82
84
|
const getStatsToCopy = () => {
|
83
85
|
switch (activeSection) {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ExecuteResult.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Query/ExecuteResult/ExecuteResult.tsx"],"names":[],"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2B,IACxB,UAAU,EAAE,iBAAiB,EAC7B,QAAQ,EAAE,eAAe,EACzB,WAAW,EAAE,kBAAkB,EAC/B,gBAAgB,EAAC,QAAQ,GAC3B,IACA,IACJ,EACL,SAAS,IAAI,qBAAqB,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAC,mBAAmB,KAAG,EAC3E,KAAC,aAAa,IAAC,OAAO,EAAE,SAAS,YAC7B,KAAC,UAAU,cAAE,mBAAmB,EAAE,GAAc,GACpC,IACH,CACpB,CAAC;AACN,CAAC"}
|
@@ -1,2 +1,2 @@
|
|
1
|
-
declare const _default: (key: "trace" | "
|
1
|
+
declare const _default: (key: "trace" | "description.graph-is-not-supported" | "action.result" | "action.stats" | "action.schema" | "action.explain-plan" | "action.copy" | "title.truncated" | "title.result", params?: import("@gravity-ui/i18n").Params) => string;
|
2
2
|
export default _default;
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare function NewSQL(): import("react/jsx-runtime").JSX.Element;
|
@@ -0,0 +1,135 @@
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
2
|
+
import { ChevronDown } from '@gravity-ui/icons';
|
3
|
+
import { Button, DropdownMenu } from '@gravity-ui/uikit';
|
4
|
+
import { useTypedDispatch } from '../../../../utils/hooks';
|
5
|
+
import { bindActions } from '../../utils/newSQLQueryActions';
|
6
|
+
import i18n from './i18n';
|
7
|
+
export function NewSQL() {
|
8
|
+
const dispatch = useTypedDispatch();
|
9
|
+
const actions = bindActions(dispatch);
|
10
|
+
const items = [
|
11
|
+
{
|
12
|
+
text: i18n('menu.tables'),
|
13
|
+
items: [
|
14
|
+
{
|
15
|
+
text: i18n('action.create-row-table'),
|
16
|
+
action: actions.createRowTable,
|
17
|
+
},
|
18
|
+
{
|
19
|
+
text: i18n('action.create-column-table'),
|
20
|
+
action: actions.createColumnTable,
|
21
|
+
},
|
22
|
+
{
|
23
|
+
text: i18n('action.create-external-table'),
|
24
|
+
action: actions.createExternalTable,
|
25
|
+
},
|
26
|
+
{
|
27
|
+
text: i18n('action.upsert-to-table'),
|
28
|
+
action: actions.upsertQuery,
|
29
|
+
},
|
30
|
+
{
|
31
|
+
text: i18n('action.update-table'),
|
32
|
+
action: actions.updateTable,
|
33
|
+
},
|
34
|
+
{
|
35
|
+
text: i18n('action.alter-table'),
|
36
|
+
action: actions.alterTable,
|
37
|
+
},
|
38
|
+
{
|
39
|
+
text: i18n('action.select-rows'),
|
40
|
+
action: actions.selectQuery,
|
41
|
+
},
|
42
|
+
{
|
43
|
+
text: i18n('action.select-from-external-table'),
|
44
|
+
action: actions.selectQueryFromExternalTable,
|
45
|
+
},
|
46
|
+
{
|
47
|
+
text: i18n('action.delete-rows'),
|
48
|
+
action: actions.deleteRows,
|
49
|
+
},
|
50
|
+
{
|
51
|
+
text: i18n('action.drop-table'),
|
52
|
+
action: actions.dropTable,
|
53
|
+
},
|
54
|
+
{
|
55
|
+
text: i18n('action.drop-external-table'),
|
56
|
+
action: actions.dropExternalTable,
|
57
|
+
},
|
58
|
+
],
|
59
|
+
},
|
60
|
+
{
|
61
|
+
text: i18n('menu.topics'),
|
62
|
+
items: [
|
63
|
+
{
|
64
|
+
text: i18n('action.create-topic'),
|
65
|
+
action: actions.createTopic,
|
66
|
+
},
|
67
|
+
{
|
68
|
+
text: i18n('action.alter-topic'),
|
69
|
+
action: actions.alterTopic,
|
70
|
+
},
|
71
|
+
{
|
72
|
+
text: i18n('action.drop-topic'),
|
73
|
+
action: actions.dropTopic,
|
74
|
+
},
|
75
|
+
],
|
76
|
+
},
|
77
|
+
{
|
78
|
+
text: i18n('menu.replication'),
|
79
|
+
items: [
|
80
|
+
{
|
81
|
+
text: i18n('action.create-async-replication'),
|
82
|
+
action: actions.createAsyncReplication,
|
83
|
+
},
|
84
|
+
{
|
85
|
+
text: i18n('action.alter-async-replication'),
|
86
|
+
action: actions.alterAsyncReplication,
|
87
|
+
},
|
88
|
+
{
|
89
|
+
text: i18n('action.drop-async-replication'),
|
90
|
+
action: actions.dropAsyncReplication,
|
91
|
+
},
|
92
|
+
],
|
93
|
+
},
|
94
|
+
{
|
95
|
+
text: i18n('menu.capture'),
|
96
|
+
items: [
|
97
|
+
{
|
98
|
+
text: i18n('action.create-cdc-stream'),
|
99
|
+
action: actions.createCdcStream,
|
100
|
+
},
|
101
|
+
],
|
102
|
+
},
|
103
|
+
{
|
104
|
+
text: i18n('menu.users'),
|
105
|
+
items: [
|
106
|
+
{
|
107
|
+
text: i18n('action.create-user'),
|
108
|
+
action: actions.createUser,
|
109
|
+
},
|
110
|
+
{
|
111
|
+
text: i18n('action.create-group'),
|
112
|
+
action: actions.createGroup,
|
113
|
+
},
|
114
|
+
{
|
115
|
+
text: i18n('action.drop-user'),
|
116
|
+
action: actions.dropUser,
|
117
|
+
},
|
118
|
+
{
|
119
|
+
text: i18n('action.drop-group'),
|
120
|
+
action: actions.dropGroup,
|
121
|
+
},
|
122
|
+
{
|
123
|
+
text: i18n('action.grant-privilege'),
|
124
|
+
action: actions.grantPrivilege,
|
125
|
+
},
|
126
|
+
{
|
127
|
+
text: i18n('action.revoke-privilege'),
|
128
|
+
action: actions.revokePrivilege,
|
129
|
+
},
|
130
|
+
],
|
131
|
+
},
|
132
|
+
];
|
133
|
+
return (_jsx(DropdownMenu, { items: items, renderSwitcher: (props) => (_jsxs(Button, { ...props, children: [i18n('button.new-sql'), _jsx(Button.Icon, { children: _jsx(ChevronDown, {}) })] })), popupProps: { placement: 'top' } }));
|
134
|
+
}
|
135
|
+
//# sourceMappingURL=NewSQL.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"NewSQL.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Query/NewSQL/NewSQL.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,WAAW,EAAC,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAC,MAAM,EAAE,YAAY,EAAC,MAAM,mBAAmB,CAAC;AAEvD,O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MAAM,EAAE,OAAO,CAAC,UAAU;iBAC7B;gBACD;oBACI,IAAI,EAAE,IAAI,CAAC,qBAAqB,CAAC;oBACjC,MAAM,EAAE,OAAO,CAAC,WAAW;iBAC9B;gBACD;oBACI,IAAI,EAAE,IAAI,CAAC,kBAAkB,CAAC;oBAC9B,MAAM,EAAE,OAAO,CAAC,QAAQ;iBAC3B;gBACD;oBACI,IAAI,EAAE,IAAI,CAAC,mBAAmB,CAAC;oBAC/B,MAAM,EAAE,OAAO,CAAC,SAAS;iBAC5B;gBACD;oBACI,IAAI,EAAE,IAAI,CAAC,wBAAwB,CAAC;oBACpC,MAAM,EAAE,OAAO,CAAC,cAAc;iBACjC;gBACD;oBACI,IAAI,EAAE,IAAI,CAAC,yBAAyB,CAAC;oBACrC,MAAM,EAAE,OAAO,CAAC,eAAe;iBAClC;aACJ;SACJ;KACJ,CAAC;IAEF,OAAO,CACH,KAAC,YAAY,IACT,KAAK,EAAE,KAAK,EACZ,cAAc,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,CACvB,MAAC,MAAM,OAAK,KAAK,aACZ,IAAI,CAAC,gBAAgB,CAAC,EACvB,KAAC,MAAM,CAAC,IAAI,cACR,KAAC,WAAW,KAAG,GACL,IACT,CACZ,EACD,UAAU,EAAE,EAAC,SAAS,EAAE,KAAK,EAAC,GAChC,CACL,CAAC;AACN,CAAC"}
|
@@ -0,0 +1,32 @@
|
|
1
|
+
{
|
2
|
+
"button.new-sql": "New SQL",
|
3
|
+
"action.create-row-table": "Create row table",
|
4
|
+
"action.create-column-table": "Create column table",
|
5
|
+
"action.create-external-table": "Create external table",
|
6
|
+
"action.upsert-to-table": "Upsert into table",
|
7
|
+
"action.update-table": "Update table",
|
8
|
+
"action.alter-table": "Alter table",
|
9
|
+
"action.select-rows": "Select from a table",
|
10
|
+
"action.select-from-external-table": "Select from external table",
|
11
|
+
"action.delete-rows": "Delete rows",
|
12
|
+
"action.drop-table": "Drop table",
|
13
|
+
"action.drop-external-table": "Drop external table",
|
14
|
+
"menu.tables": "Tables",
|
15
|
+
"menu.topics": "Topics",
|
16
|
+
"menu.capture": "Change data capture",
|
17
|
+
"menu.replication": "Async replication",
|
18
|
+
"menu.users": "Users",
|
19
|
+
"action.create-topic": "Create Topic",
|
20
|
+
"action.drop-topic": "Drop Topic",
|
21
|
+
"action.alter-topic": "Alter Topic",
|
22
|
+
"action.create-cdc-stream": "Create CDC Stream",
|
23
|
+
"action.create-async-replication": "Create async replication",
|
24
|
+
"action.create-user": "Create user",
|
25
|
+
"action.create-group": "Create group",
|
26
|
+
"action.drop-user": "Drop user",
|
27
|
+
"action.drop-group": "Drop group",
|
28
|
+
"action.grant-privilege": "Grant privilege",
|
29
|
+
"action.revoke-privilege": "Revoke privilege",
|
30
|
+
"action.alter-async-replication": "Alter async replication",
|
31
|
+
"action.drop-async-replication": "Drop async replication"
|
32
|
+
}
|
@@ -0,0 +1,2 @@
|
|
1
|
+
declare const _default: (key: "button.new-sql" | "action.create-row-table" | "action.create-column-table" | "action.create-external-table" | "action.upsert-to-table" | "action.update-table" | "action.alter-table" | "action.select-rows" | "action.select-from-external-table" | "action.delete-rows" | "action.drop-table" | "action.drop-external-table" | "menu.tables" | "menu.topics" | "menu.capture" | "menu.replication" | "menu.users" | "action.create-topic" | "action.drop-topic" | "action.alter-topic" | "action.create-cdc-stream" | "action.create-async-replication" | "action.create-user" | "action.create-group" | "action.drop-user" | "action.drop-group" | "action.grant-privilege" | "action.revoke-privilege" | "action.alter-async-replication" | "action.drop-async-replication", params?: import("@gravity-ui/i18n").Params) => string;
|
2
|
+
export default _default;
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/containers/Tenant/Query/NewSQL/i18n/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,2BAA2B,CAAC;AAE1D,OAAO,EAAE,MAAM,WAAW,CAAC;AAE3B,MAAM,SAAS,GAAG,aAAa,CAAC;AAEhC,eAAe,eAAe,CAAC,SAAS,EAAE,EAAC,EAAE,EAAC,CAAC,CAAC"}
|
@@ -4,6 +4,7 @@ import { Button, Icon, Tooltip } from '@gravity-ui/uikit';
|
|
4
4
|
import QuerySettingsDescription from '../../../../components/QuerySettingsDescription/QuerySettingsDescription';
|
5
5
|
import { cn } from '../../../../utils/cn';
|
6
6
|
import { useChangedQuerySettings } from '../../../../utils/hooks/useChangedQuerySettings';
|
7
|
+
import { NewSQL } from '../NewSQL/NewSQL';
|
7
8
|
import { SaveQuery } from '../SaveQuery/SaveQuery';
|
8
9
|
import i18n from '../i18n';
|
9
10
|
import './QueryEditorControls.scss';
|
@@ -24,6 +25,6 @@ export const QueryEditorControls = ({ disabled, isLoading, highlightedAction, ha
|
|
24
25
|
const onExplainButtonClick = () => {
|
25
26
|
handleGetExplainQueryClick();
|
26
27
|
};
|
27
|
-
return (_jsxs("div", { className: b(), children: [_jsxs("div", { className: b('left'), children: [_jsxs(Button, { onClick: onRunButtonClick, disabled: disabled, loading: isLoading, view: runView, className: b('run-button'), children: [_jsx(Icon, { data: PlayFill, size: 14 }), 'Run'] }), _jsx(Button, { onClick: onExplainButtonClick, disabled: disabled, loading: isLoading, view: explainView, children: "Explain" }), _jsx(SettingsButton, { onClick: onSettingsButtonClick, runIsLoading: isLoading })] }), _jsx(SaveQuery, { isSaveButtonDisabled: disabled })] }));
|
28
|
+
return (_jsxs("div", { className: b(), children: [_jsxs("div", { className: b('left'), children: [_jsxs(Button, { onClick: onRunButtonClick, disabled: disabled, loading: isLoading, view: runView, className: b('run-button'), children: [_jsx(Icon, { data: PlayFill, size: 14 }), 'Run'] }), _jsx(Button, { onClick: onExplainButtonClick, disabled: disabled, loading: isLoading, view: explainView, children: "Explain" }), _jsx(SettingsButton, { onClick: onSettingsButtonClick, runIsLoading: isLoading })] }), _jsxs("div", { className: b('right'), children: [_jsx(NewSQL, {}), _jsx(SaveQuery, { isSaveButtonDisabled: disabled })] })] }));
|
28
29
|
};
|
29
30
|
//# sourceMappingURL=QueryEditorControls.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryEditorControls.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Query/QueryEditorControls/QueryEditorControls.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,IAAI,EAAE,QAAQ,EAAC,MAAM,mBAAmB,CAAC;AAEjD,OAAO,EAAC,MAAM,EAAE,IAAI,EAAE,OAAO,EAAC,MAAM,mBAAmB,CAAC;AAExD,OAAO,wBAAwB,MAAM,0EAA0E,CAAC;AAEhH,OAAO,EAAC,EAAE,EAAC,MAAM,sBAAsB,CAAC;AACxC,OAAO,EAAC,uBAAuB,EAAC,MAAM,iDAAiD,CAAC;AACxF,OAAO,EAAC,SAAS,EAAC,MAAM,wBAAwB,CAAC;AACjD,OAAO,IAAI,MAAM,SAAS,CAAC;AAE3B,OAAO,4BAA4B,CAAC;AAEpC,MAAM,CAAC,GAAG,EAAE,CAAC,2BAA2B,CAAC,CAAC;AAO1C,MAAM,cAAc,GAAG,CAAC,EAAC,OAAO,EAAE,YAAY,EAAsB,EAAE,EAAE;IACpE,MAAM,EAAC,sBAAsB,EAAE,kCAAkC,EAAC,GAAG,uBAAuB,EAAE,CAAC;IAE/F,MAAM,cAAc,GAChB,sBAAsB,CAAC,MAAM,GAAG,CAAC;QAC7B,CAAC,CAAE,EAAC,IAAI,EAAE,eAAe,EAAE,QAAQ,EAAE,IAAI,EAAW;QACpD,CAAC,CAAC,IAAI,CAAC;IAEf,OAAO,CACH,KAAC,OAAO,IACJ,QAAQ,EAAE,sBAAsB,CAAC,MAAM,KAAK,CAAC,EAC7C,OAAO,EACH,KAAC,wBAAwB,IACrB,MAAM,EAAE,IAAI,CAAC,cAAc,CAAC,EAC5B,aAAa,EAAE,kCAAkC,GACnD,EAEN,SAAS,EAAE,CAAC,EACZ,SAAS,EAAE,CAAC,WAAW,CAAC,YAExB,MAAC,MAAM,IACH,OAAO,EAAE,OAAO,EACh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EAC7B,QAAQ,EAAE,QAAQ,EAClB,OAAO,EAAE,SAAS,EAClB,IAAI,EAAE,WAAW,wBAGZ,EACT,KAAC,cAAc,IAAC,OAAO,EAAE,qBAAqB,EAAE,YAAY,EAAE,SAAS,GAAI,IACzE,EACN,KAAC,SAAS,IAAC,oBAAoB,EAAE,QAAQ,GAAI,IAC3C,CACT,CAAC;AACN,CAAC,CAAC"}
|
1
|
+
{"version":3,"file":"QueryEditorControls.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Query/QueryEditorControls/QueryEditorControls.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,IAAI,EAAE,QAAQ,EAAC,MAAM,mBAAmB,CAAC;AAEjD,OAAO,EAAC,MAAM,EAAE,IAAI,EAAE,OAAO,EAAC,MAAM,mBAAmB,CAAC;AAExD,OAAO,wBAAwB,MAAM,0EAA0E,CAAC;AAEhH,OAAO,EAAC,EAAE,EAAC,MAAM,sBAAsB,CAAC;AACxC,OAAO,EAAC,uBAAuB,EAAC,MAAM,iDAAiD,CAAC;AACxF,OAAO,EAAC,MAAM,EAAC,MAAM,kBAAkB,CAAC;AACxC,OAAO,EAAC,SAAS,EAAC,MAAM,wBAAwB,CAAC;AACjD,OAAO,IAAI,MAAM,SAAS,CAAC;AAE3B,OAAO,4BAA4B,CAAC;AAEpC,MAAM,CAAC,GAAG,EAAE,CAAC,2BAA2B,CAAC,CAAC;AAO1C,MAAM,cAAc,GAAG,CAAC,EAAC,OAAO,EAAE,YAAY,EAAsB,EAAE,EAAE;IACpE,MAAM,EAAC,sBAAsB,EAAE,kCAAkC,EAAC,GAAG,uBAAuB,EAAE,CAAC;IAE/F,MAAM,cAAc,GAChB,sBAAsB,CAAC,MAAM,GAAG,CAAC;QAC7B,CAAC,CAAE,EAAC,IAAI,EAAE,eAAe,EAAE,QAAQ,EAAE,IAAI,EAAW;QACpD,CAAC,CAAC,IAAI,CAAC;IAEf,OAAO,CACH,KAAC,OAAO,IACJ,QAAQ,EAAE,s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,QAAQ,EAAE,QAAQ,EAClB,OAAO,EAAE,SAAS,EAClB,IAAI,EAAE,OAAO,EACb,SAAS,EAAE,CAAC,CAAC,YAAY,CAAC,aAE1B,KAAC,IAAI,IAAC,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,EAAE,GAAI,EACjC,KAAK,IACD,EACT,KAAC,MAAM,IACH,OAAO,EAAE,oBAAoB,EAC7B,QAAQ,EAAE,QAAQ,EAClB,OAAO,EAAE,SAAS,EAClB,IAAI,EAAE,WAAW,wBAGZ,EACT,KAAC,cAAc,IAAC,OAAO,EAAE,qBAAqB,EAAE,YAAY,EAAE,SAAS,GAAI,IACzE,EACN,eAAK,SAAS,EAAE,CAAC,CAAC,OAAO,CAAC,aACtB,KAAC,MAAM,KAAG,EACV,KAAC,SAAS,IAAC,oBAAoB,EAAE,QAAQ,GAAI,IAC3C,IACJ,CACT,CAAC;AACN,CAAC,CAAC"}
|
@@ -78,7 +78,7 @@ export function SchemaTree(props) {
|
|
78
78
|
showCreateDirectoryDialog: createDirectoryFeatureAvailable
|
79
79
|
? handleOpenCreateDirectoryDialog
|
80
80
|
: undefined,
|
81
|
-
}), renderAdditionalNodeElements: getSchemaControls(dispatch, {
|
81
|
+
}, rootPath), renderAdditionalNodeElements: getSchemaControls(dispatch, {
|
82
82
|
setActivePath: onActivePathUpdate,
|
83
83
|
}), activePath: currentPath, onActivePathUpdate: onActivePathUpdate, cache: false, virtualize: true }, schemaTreeKey)] }));
|
84
84
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"SchemaTree.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Schema/SchemaTree/SchemaTree.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,0FAA0F;AAC1F,uGAAuG;AACvG,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,cAAc,EAAC,MAAM,mBAAmB,CAAC;AAEjD,OAAO,EAAC,kCAAkC,EAAC,MAAM,+CAA+C,CAA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