ydb-embedded-ui 6.36.1 → 6.37.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (141) hide show
  1. package/dist/containers/Cluster/Cluster.js +2 -2
  2. package/dist/containers/Cluster/Cluster.js.map +1 -1
  3. package/dist/containers/Nodes/Nodes.d.ts +13 -3
  4. package/dist/containers/Nodes/Nodes.js +71 -39
  5. package/dist/containers/Nodes/Nodes.js.map +1 -1
  6. package/dist/containers/Nodes/{PaginatedNodesTable.d.ts → NodesTable.d.ts} +2 -2
  7. package/dist/containers/Nodes/{PaginatedNodesTable.js → NodesTable.js} +2 -2
  8. package/dist/containers/Nodes/NodesTable.js.map +1 -0
  9. package/dist/containers/Storage/i18n/index.d.ts +1 -1
  10. package/dist/containers/Tenant/Diagnostics/Diagnostics.js +2 -2
  11. package/dist/containers/Tenant/Diagnostics/Diagnostics.js.map +1 -1
  12. package/dist/containers/Tenant/Diagnostics/Network/NetworkWrapper.d.ts +2 -2
  13. package/dist/containers/Tenant/Diagnostics/Network/NetworkWrapper.js +2 -2
  14. package/dist/containers/Tenant/Diagnostics/Network/NetworkWrapper.js.map +1 -1
  15. package/dist/containers/Tenant/ObjectSummary/SchemaTree/SchemaTree.js +31 -26
  16. package/dist/containers/Tenant/ObjectSummary/SchemaTree/SchemaTree.js.map +1 -1
  17. package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.js +3 -7
  18. package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.js.map +1 -1
  19. package/dist/containers/Tenant/Query/QueryResult/QueryResultViewer.d.ts +14 -0
  20. package/dist/containers/Tenant/Query/QueryResult/QueryResultViewer.js +188 -0
  21. package/dist/containers/Tenant/Query/QueryResult/QueryResultViewer.js.map +1 -0
  22. package/dist/containers/Tenant/Query/{ExplainResult/ExplainResult.scss → QueryResult/QueryResultViewer.scss} +3 -15
  23. package/dist/containers/Tenant/Query/{ExplainResult → QueryResult}/components/Ast/Ast.d.ts +1 -1
  24. package/dist/containers/Tenant/Query/{ExplainResult → QueryResult}/components/Ast/Ast.js +1 -1
  25. package/dist/containers/Tenant/Query/QueryResult/components/Ast/Ast.js.map +1 -0
  26. package/dist/containers/Tenant/Query/{ExplainResult → QueryResult}/components/Ast/Ast.scss +1 -1
  27. package/dist/containers/Tenant/Query/{ExplainResult → QueryResult}/components/Graph/Graph.d.ts +2 -2
  28. package/dist/containers/Tenant/Query/QueryResult/components/Graph/Graph.js +16 -0
  29. package/dist/containers/Tenant/Query/QueryResult/components/Graph/Graph.js.map +1 -0
  30. package/dist/containers/Tenant/Query/{ExplainResult → QueryResult}/components/Graph/Graph.scss +0 -6
  31. package/dist/containers/Tenant/Query/{ExecuteResult → QueryResult/components/PlanToSvgButton}/PlanToSvgButton.d.ts +1 -1
  32. package/dist/containers/Tenant/Query/{ExecuteResult → QueryResult/components/PlanToSvgButton}/PlanToSvgButton.js +2 -2
  33. package/dist/containers/Tenant/Query/QueryResult/components/PlanToSvgButton/PlanToSvgButton.js.map +1 -0
  34. package/dist/containers/Tenant/Query/QueryResult/components/QueryJSONViewer/QueryJSONViewer.d.ts +7 -0
  35. package/dist/containers/Tenant/Query/QueryResult/components/QueryJSONViewer/QueryJSONViewer.js +12 -0
  36. package/dist/containers/Tenant/Query/QueryResult/components/QueryJSONViewer/QueryJSONViewer.js.map +1 -0
  37. package/dist/containers/Tenant/Query/{ExplainResult/components/TextExplain/TextExplain.scss → QueryResult/components/QueryJSONViewer/QueryJSONViewer.scss} +4 -6
  38. package/dist/containers/Tenant/Query/QueryResult/components/QueryResultError/QueryResultError.d.ts +4 -0
  39. package/dist/containers/Tenant/Query/QueryResult/components/QueryResultError/QueryResultError.js +20 -0
  40. package/dist/containers/Tenant/Query/QueryResult/components/QueryResultError/QueryResultError.js.map +1 -0
  41. package/dist/containers/Tenant/Query/QueryResult/components/QueryResultError/QueryResultError.scss +5 -0
  42. package/dist/containers/Tenant/Query/QueryResult/components/ResultSetsViewer/ResultSetsViewer.d.ts +9 -0
  43. package/dist/containers/Tenant/Query/QueryResult/components/ResultSetsViewer/ResultSetsViewer.js +30 -0
  44. package/dist/containers/Tenant/Query/QueryResult/components/ResultSetsViewer/ResultSetsViewer.js.map +1 -0
  45. package/dist/containers/Tenant/Query/QueryResult/components/ResultSetsViewer/ResultSetsViewer.scss +36 -0
  46. package/dist/containers/Tenant/Query/QueryResult/components/SimplifiedPlan/MetricsCell.js.map +1 -0
  47. package/dist/containers/Tenant/Query/QueryResult/components/SimplifiedPlan/OperationCell.js.map +1 -0
  48. package/dist/containers/Tenant/Query/QueryResult/components/SimplifiedPlan/OperationParams.js.map +1 -0
  49. package/dist/containers/Tenant/Query/QueryResult/components/SimplifiedPlan/SimplifiedPlan.js.map +1 -0
  50. package/dist/containers/Tenant/Query/{ExplainResult → QueryResult}/components/SimplifiedPlan/SimplifiedPlan.scss +1 -1
  51. package/dist/containers/Tenant/Query/QueryResult/components/SimplifiedPlan/types.js.map +1 -0
  52. package/dist/containers/Tenant/Query/{ExplainResult → QueryResult}/components/SimplifiedPlan/utils.js +1 -1
  53. package/dist/containers/Tenant/Query/QueryResult/components/SimplifiedPlan/utils.js.map +1 -0
  54. package/dist/containers/Tenant/Query/QueryResult/components/Stub/Stub.d.ts +6 -0
  55. package/dist/containers/Tenant/Query/QueryResult/components/Stub/Stub.js +8 -0
  56. package/dist/containers/Tenant/Query/QueryResult/components/Stub/Stub.js.map +1 -0
  57. package/dist/containers/Tenant/Query/QueryResult/components/Stub/Stub.scss +3 -0
  58. package/dist/containers/Tenant/Query/{ExecuteResult → QueryResult/components/TraceButton}/TraceButton.js +4 -4
  59. package/dist/containers/Tenant/Query/QueryResult/components/TraceButton/TraceButton.js.map +1 -0
  60. package/dist/containers/Tenant/Query/{ExecuteResult → QueryResult}/i18n/en.json +3 -0
  61. package/dist/containers/Tenant/Query/QueryResult/i18n/index.d.ts +2 -0
  62. package/dist/containers/Tenant/Query/QueryResult/i18n/index.js.map +1 -0
  63. package/dist/containers/Tenant/Schema/SchemaViewer/prepareData.js +2 -2
  64. package/dist/containers/Tenant/Schema/SchemaViewer/prepareData.js.map +1 -1
  65. package/dist/containers/Tenant/utils/schemaActions.d.ts +4 -4
  66. package/dist/containers/Tenant/utils/schemaActions.js +19 -16
  67. package/dist/containers/Tenant/utils/schemaActions.js.map +1 -1
  68. package/dist/containers/Tenant/utils/schemaQueryTemplates.d.ts +1 -1
  69. package/dist/containers/Tenant/utils/schemaQueryTemplates.js +3 -3
  70. package/dist/containers/Tenant/utils/schemaQueryTemplates.js.map +1 -1
  71. package/dist/services/api.d.ts +2 -1
  72. package/dist/services/api.js +2 -2
  73. package/dist/services/api.js.map +1 -1
  74. package/dist/store/reducers/overview/overview.d.ts +1 -0
  75. package/dist/store/reducers/overview/overview.js +2 -1
  76. package/dist/store/reducers/overview/overview.js.map +1 -1
  77. package/dist/store/reducers/query/prepareQueryData.d.ts +0 -3
  78. package/dist/store/reducers/query/prepareQueryData.js +42 -30
  79. package/dist/store/reducers/query/prepareQueryData.js.map +1 -1
  80. package/dist/store/reducers/tableSchemaData.d.ts +1 -1
  81. package/dist/store/reducers/tableSchemaData.js +5 -1
  82. package/dist/store/reducers/tableSchemaData.js.map +1 -1
  83. package/dist/store/reducers/viewSchema/viewSchema.d.ts +1 -0
  84. package/dist/store/reducers/viewSchema/viewSchema.js +2 -1
  85. package/dist/store/reducers/viewSchema/viewSchema.js.map +1 -1
  86. package/dist/types/api/autocomplete.d.ts +7 -0
  87. package/dist/types/api/autocomplete.js +3 -1
  88. package/dist/types/api/autocomplete.js.map +1 -1
  89. package/dist/utils/monaco/yql/generateSuggestions.js +31 -11
  90. package/dist/utils/monaco/yql/generateSuggestions.js.map +1 -1
  91. package/package.json +3 -3
  92. package/dist/containers/Nodes/NodesWrapper.d.ts +0 -9
  93. package/dist/containers/Nodes/NodesWrapper.js +0 -13
  94. package/dist/containers/Nodes/NodesWrapper.js.map +0 -1
  95. package/dist/containers/Nodes/PaginatedNodes.d.ts +0 -19
  96. package/dist/containers/Nodes/PaginatedNodes.js +0 -91
  97. package/dist/containers/Nodes/PaginatedNodes.js.map +0 -1
  98. package/dist/containers/Nodes/PaginatedNodesTable.js.map +0 -1
  99. package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.d.ts +0 -12
  100. package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.js +0 -154
  101. package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.js.map +0 -1
  102. package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.scss +0 -89
  103. package/dist/containers/Tenant/Query/ExecuteResult/PlanToSvgButton.js.map +0 -1
  104. package/dist/containers/Tenant/Query/ExecuteResult/TraceButton.js.map +0 -1
  105. package/dist/containers/Tenant/Query/ExecuteResult/i18n/index.d.ts +0 -2
  106. package/dist/containers/Tenant/Query/ExecuteResult/i18n/index.js.map +0 -1
  107. package/dist/containers/Tenant/Query/ExecuteResult/utils.d.ts +0 -21
  108. package/dist/containers/Tenant/Query/ExecuteResult/utils.js +0 -40
  109. package/dist/containers/Tenant/Query/ExecuteResult/utils.js.map +0 -1
  110. package/dist/containers/Tenant/Query/ExplainResult/ExplainResult.d.ts +0 -20
  111. package/dist/containers/Tenant/Query/ExplainResult/ExplainResult.js +0 -120
  112. package/dist/containers/Tenant/Query/ExplainResult/ExplainResult.js.map +0 -1
  113. package/dist/containers/Tenant/Query/ExplainResult/components/Ast/Ast.js.map +0 -1
  114. package/dist/containers/Tenant/Query/ExplainResult/components/Graph/Graph.js +0 -15
  115. package/dist/containers/Tenant/Query/ExplainResult/components/Graph/Graph.js.map +0 -1
  116. package/dist/containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/MetricsCell.js.map +0 -1
  117. package/dist/containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/OperationCell.js.map +0 -1
  118. package/dist/containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/OperationParams.js.map +0 -1
  119. package/dist/containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/SimplifiedPlan.js.map +0 -1
  120. package/dist/containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/types.js.map +0 -1
  121. package/dist/containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/utils.js.map +0 -1
  122. package/dist/containers/Tenant/Query/ExplainResult/components/TextExplain/TextExplain.d.ts +0 -8
  123. package/dist/containers/Tenant/Query/ExplainResult/components/TextExplain/TextExplain.js +0 -12
  124. package/dist/containers/Tenant/Query/ExplainResult/components/TextExplain/TextExplain.js.map +0 -1
  125. package/dist/containers/Tenant/Query/ExplainResult/i18n/en.json +0 -9
  126. package/dist/containers/Tenant/Query/ExplainResult/i18n/index.d.ts +0 -2
  127. package/dist/containers/Tenant/Query/ExplainResult/i18n/index.js +0 -5
  128. package/dist/containers/Tenant/Query/ExplainResult/i18n/index.js.map +0 -1
  129. /package/dist/containers/Tenant/Query/{ExplainResult → QueryResult}/components/SimplifiedPlan/MetricsCell.d.ts +0 -0
  130. /package/dist/containers/Tenant/Query/{ExplainResult → QueryResult}/components/SimplifiedPlan/MetricsCell.js +0 -0
  131. /package/dist/containers/Tenant/Query/{ExplainResult → QueryResult}/components/SimplifiedPlan/OperationCell.d.ts +0 -0
  132. /package/dist/containers/Tenant/Query/{ExplainResult → QueryResult}/components/SimplifiedPlan/OperationCell.js +0 -0
  133. /package/dist/containers/Tenant/Query/{ExplainResult → QueryResult}/components/SimplifiedPlan/OperationParams.d.ts +0 -0
  134. /package/dist/containers/Tenant/Query/{ExplainResult → QueryResult}/components/SimplifiedPlan/OperationParams.js +0 -0
  135. /package/dist/containers/Tenant/Query/{ExplainResult → QueryResult}/components/SimplifiedPlan/SimplifiedPlan.d.ts +0 -0
  136. /package/dist/containers/Tenant/Query/{ExplainResult → QueryResult}/components/SimplifiedPlan/SimplifiedPlan.js +0 -0
  137. /package/dist/containers/Tenant/Query/{ExplainResult → QueryResult}/components/SimplifiedPlan/types.d.ts +0 -0
  138. /package/dist/containers/Tenant/Query/{ExplainResult → QueryResult}/components/SimplifiedPlan/types.js +0 -0
  139. /package/dist/containers/Tenant/Query/{ExplainResult → QueryResult}/components/SimplifiedPlan/utils.d.ts +0 -0
  140. /package/dist/containers/Tenant/Query/{ExecuteResult → QueryResult/components/TraceButton}/TraceButton.d.ts +0 -0
  141. /package/dist/containers/Tenant/Query/{ExecuteResult → QueryResult}/i18n/index.js +0 -0
@@ -14,7 +14,7 @@ import { setHeaderBreadcrumbs } from '../../store/reducers/header/header';
14
14
  import { cn } from '../../utils/cn';
15
15
  import { useTypedDispatch, useTypedSelector } from '../../utils/hooks';
16
16
  import { parseVersionsToVersionToColorMap } from '../../utils/versions';
17
- import { NodesWrapper } from '../Nodes/NodesWrapper';
17
+ import { Nodes } from '../Nodes/Nodes';
18
18
  import { StorageWrapper } from '../Storage/StorageWrapper';
19
19
  import { TabletsTable } from '../Tablets/TabletsTable';
20
20
  import { Tenants } from '../Tenants/Tenants';
@@ -58,7 +58,7 @@ export function Cluster({ additionalClusterProps, additionalTenantsProps, additi
58
58
  return (_jsx(InternalLink, { to: path, onClick: () => {
59
59
  dispatch(updateDefaultClusterTab(id));
60
60
  }, children: node }, id));
61
- } }) }), _jsxs(Switch, { children: [_jsx(Route, { path: getLocationObjectFromHref(getClusterPath(clusterTabsIds.overview)).pathname, children: _jsx(ClusterInfo, { cluster: cluster, versionToColor: versionToColor, loading: infoLoading, error: clusterError, additionalClusterProps: additionalClusterProps }) }), _jsx(Route, { path: getLocationObjectFromHref(getClusterPath(clusterTabsIds.tablets)).pathname, children: _jsx("div", { className: b('tablets'), children: _jsx(TabletsTable, { loading: infoLoading, tablets: clusterTablets, className: b('tablets-table') }) }) }), _jsx(Route, { path: getLocationObjectFromHref(getClusterPath(clusterTabsIds.tenants)).pathname, children: _jsx(Tenants, { additionalTenantsProps: additionalTenantsProps }) }), _jsx(Route, { path: getLocationObjectFromHref(getClusterPath(clusterTabsIds.nodes)).pathname, children: _jsx(NodesWrapper, { parentRef: container, additionalNodesProps: additionalNodesProps }) }), _jsx(Route, { path: getLocationObjectFromHref(getClusterPath(clusterTabsIds.storage)).pathname, children: _jsx(StorageWrapper, { parentRef: container }) }), _jsx(Route, { path: getLocationObjectFromHref(getClusterPath(clusterTabsIds.versions)).pathname, children: _jsx(Versions, { versionToColor: versionToColor, cluster: cluster }) }), _jsx(Route, { render: () => (_jsx(Redirect, { to: getLocationObjectFromHref(getClusterPath(activeTabId)) })) })] })] }));
61
+ } }) }), _jsxs(Switch, { children: [_jsx(Route, { path: getLocationObjectFromHref(getClusterPath(clusterTabsIds.overview)).pathname, children: _jsx(ClusterInfo, { cluster: cluster, versionToColor: versionToColor, loading: infoLoading, error: clusterError, additionalClusterProps: additionalClusterProps }) }), _jsx(Route, { path: getLocationObjectFromHref(getClusterPath(clusterTabsIds.tablets)).pathname, children: _jsx("div", { className: b('tablets'), children: _jsx(TabletsTable, { loading: infoLoading, tablets: clusterTablets, className: b('tablets-table') }) }) }), _jsx(Route, { path: getLocationObjectFromHref(getClusterPath(clusterTabsIds.tenants)).pathname, children: _jsx(Tenants, { additionalTenantsProps: additionalTenantsProps }) }), _jsx(Route, { path: getLocationObjectFromHref(getClusterPath(clusterTabsIds.nodes)).pathname, children: _jsx(Nodes, { parentRef: container, additionalNodesProps: additionalNodesProps }) }), _jsx(Route, { path: getLocationObjectFromHref(getClusterPath(clusterTabsIds.storage)).pathname, children: _jsx(StorageWrapper, { parentRef: container }) }), _jsx(Route, { path: getLocationObjectFromHref(getClusterPath(clusterTabsIds.versions)).pathname, children: _jsx(Versions, { versionToColor: versionToColor, cluster: cluster }) }), _jsx(Route, { render: () => (_jsx(Redirect, { to: getLocationObjectFromHref(getClusterPath(activeTabId)) })) })] })] }));
62
62
  }
63
63
  function useClusterTab() {
64
64
  const dispatch = useTypedDispatch();
@@ -1 +1 @@
1
- {"version":3,"file":"Cluster.js","sourceRoot":"","sources":["../../../src/containers/Cluster/Cluster.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,QAAQ,EAAE,IAAI,EAAC,MAAM,mBAAmB,CAAC;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AAS,EAAE,mBAAmB,EAAC,GAAG,CAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,MAAM,KAAI,EAAE,CAAC;IAC7D,IAAI,SAAqB,CAAC;IAC1B,IAAI,YAAY,CAAC,mBAAmB,CAAC,EAAE,CAAC;QACpC,SAAS,GAAG,mBAAmB,CAAC;IACpC,CAAC;SAAM,CAAC;QACJ,SAAS,GAAG,UAAU,CAAC;IAC3B,CAAC;IAED,KAAK,CAAC,SAAS,CAAC,GAAG,EAAE;QACjB,IAAI,SAAS,KAAK,UAAU,EAAE,CAAC;YAC3B,QAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC,CAAC;QACjD,CAAC;IACL,CAAC,EAAE,CAAC,SAAS,EAAE,UAAU,EAAE,QAAQ,CAAC,CAAC,CAAC;IAEtC,OAAO,SAAS,CAAC;AACrB,CAAC"}
@@ -1,9 +1,19 @@
1
+ import React from 'react';
2
+ import type { Column } from '../../components/PaginatedTable';
3
+ import type { NodesColumnId } from '../../components/nodesColumns/constants';
4
+ import type { NodesPreparedEntity } from '../../store/reducers/nodes/types';
1
5
  import type { AdditionalNodesProps } from '../../types/additionalProps';
6
+ import type { NodesGroupByField } from '../../types/api/nodes';
2
7
  import './Nodes.scss';
3
- interface NodesProps {
8
+ export interface NodesProps {
4
9
  path?: string;
5
10
  database?: string;
11
+ parentRef: React.RefObject<HTMLElement>;
6
12
  additionalNodesProps?: AdditionalNodesProps;
13
+ columns?: Column<NodesPreparedEntity>[];
14
+ defaultColumnsIds?: NodesColumnId[];
15
+ requiredColumnsIds?: NodesColumnId[];
16
+ selectedColumnsKey?: string;
17
+ groupByParams?: NodesGroupByField[];
7
18
  }
8
- export declare const Nodes: ({ path, database, additionalNodesProps }: NodesProps) => import("react/jsx-runtime").JSX.Element;
9
- export {};
19
+ export declare function Nodes({ path, database, parentRef, additionalNodesProps, columns, defaultColumnsIds, requiredColumnsIds, selectedColumnsKey, groupByParams, }: NodesProps): import("react/jsx-runtime").JSX.Element;
@@ -1,59 +1,91 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import React from 'react';
3
- import { ASCENDING } from '@gravity-ui/react-data-table/build/esm/lib/constants';
4
- import { AccessDenied } from '../../components/Errors/403';
5
- import { isAccessError } from '../../components/Errors/PageError/PageError';
6
3
  import { ResponseError } from '../../components/Errors/ResponseError';
7
- import { Illustration } from '../../components/Illustration';
8
- import { ResizeableDataTable } from '../../components/ResizeableDataTable/ResizeableDataTable';
4
+ import { LoaderWrapper } from '../../components/LoaderWrapper/LoaderWrapper';
9
5
  import { TableWithControlsLayout } from '../../components/TableWithControlsLayout/TableWithControlsLayout';
10
- import { NODES_COLUMNS_WIDTH_LS_KEY } from '../../components/nodesColumns/constants';
6
+ import { NODES_COLUMNS_TITLES } from '../../components/nodesColumns/constants';
7
+ import { useCapabilitiesLoaded, useViewerNodesHandlerHasGrouping, } from '../../store/reducers/capabilities/hooks';
11
8
  import { nodesApi } from '../../store/reducers/nodes/nodes';
12
- import { filterNodes } from '../../store/reducers/nodes/selectors';
13
9
  import { useProblemFilter } from '../../store/reducers/settings/hooks';
14
- import { DEFAULT_TABLE_SETTINGS } from '../../utils/constants';
15
- import { useAutoRefreshInterval, useTableSort } from '../../utils/hooks';
10
+ import { useAutoRefreshInterval } from '../../utils/hooks';
11
+ import { useSelectedColumns } from '../../utils/hooks/useSelectedColumns';
16
12
  import { NodesUptimeFilterValues } from '../../utils/nodes';
13
+ import { TableGroup } from '../Storage/TableGroup/TableGroup';
14
+ import { useExpandedGroups } from '../Storage/TableGroup/useExpandedTableGroups';
17
15
  import { NodesControls } from './NodesControls/NodesControls';
18
- import { useNodesSelectedColumns } from './columns/hooks';
16
+ import { NodesTable } from './NodesTable';
17
+ import { getNodesColumns } from './columns/columns';
18
+ import { ALL_NODES_GROUP_BY_PARAMS, DEFAULT_NODES_COLUMNS, NODES_TABLE_SELECTED_COLUMNS_LS_KEY, REQUIRED_NODES_COLUMNS, } from './columns/constants';
19
19
  import i18n from './i18n';
20
- import { getRowClassName } from './shared';
20
+ import { b } from './shared';
21
21
  import { useNodesPageQueryParams } from './useNodesPageQueryParams';
22
22
  import './Nodes.scss';
23
- export const Nodes = ({ path, database, additionalNodesProps = {} }) => {
24
- const { searchValue, uptimeFilter } = useNodesPageQueryParams(undefined);
23
+ export function Nodes({ path, database, parentRef, additionalNodesProps, columns = getNodesColumns({ database, getNodeRef: additionalNodesProps === null || additionalNodesProps === void 0 ? void 0 : additionalNodesProps.getNodeRef }), defaultColumnsIds = DEFAULT_NODES_COLUMNS, requiredColumnsIds = REQUIRED_NODES_COLUMNS, selectedColumnsKey = NODES_TABLE_SELECTED_COLUMNS_LS_KEY, groupByParams = ALL_NODES_GROUP_BY_PARAMS, }) {
24
+ const { uptimeFilter, groupByParam, handleUptimeFilterChange } = useNodesPageQueryParams(groupByParams);
25
+ const { problemFilter, handleProblemFilterChange } = useProblemFilter();
26
+ const capabilitiesLoaded = useCapabilitiesLoaded();
27
+ const viewerNodesHandlerHasGrouping = useViewerNodesHandlerHasGrouping();
28
+ // Other filters do not fit with grouping
29
+ // Reset them if grouping available
30
+ React.useEffect(() => {
31
+ if (viewerNodesHandlerHasGrouping &&
32
+ (problemFilter !== 'All' || uptimeFilter !== NodesUptimeFilterValues.All)) {
33
+ handleProblemFilterChange('All');
34
+ handleUptimeFilterChange(NodesUptimeFilterValues.All);
35
+ }
36
+ }, [
37
+ handleProblemFilterChange,
38
+ handleUptimeFilterChange,
39
+ problemFilter,
40
+ uptimeFilter,
41
+ viewerNodesHandlerHasGrouping,
42
+ ]);
43
+ const renderContent = () => {
44
+ if (viewerNodesHandlerHasGrouping && groupByParam) {
45
+ return (_jsx(GroupedNodesComponent, { path: path, database: database, parentRef: parentRef, columns: columns, defaultColumnsIds: defaultColumnsIds, requiredColumnsIds: requiredColumnsIds, selectedColumnsKey: selectedColumnsKey, groupByParams: groupByParams }));
46
+ }
47
+ return (_jsx(NodesComponent, { path: path, database: database, parentRef: parentRef, columns: columns, defaultColumnsIds: defaultColumnsIds, requiredColumnsIds: requiredColumnsIds, selectedColumnsKey: selectedColumnsKey, groupByParams: groupByParams }));
48
+ };
49
+ return _jsx(LoaderWrapper, { loading: !capabilitiesLoaded, children: renderContent() });
50
+ }
51
+ function NodesComponent({ path, database, parentRef, columns, defaultColumnsIds, requiredColumnsIds, selectedColumnsKey, groupByParams, }) {
52
+ const { searchValue, uptimeFilter } = useNodesPageQueryParams(groupByParams);
25
53
  const { problemFilter } = useProblemFilter();
54
+ const viewerNodesHandlerHasGrouping = useViewerNodesHandlerHasGrouping();
55
+ const { columnsToShow, columnsToSelect, setColumns } = useSelectedColumns(columns, selectedColumnsKey, NODES_COLUMNS_TITLES, defaultColumnsIds, requiredColumnsIds);
56
+ const renderControls = ({ totalEntities, foundEntities, inited }) => {
57
+ return (_jsx(NodesControls, { withGroupBySelect: viewerNodesHandlerHasGrouping, groupByParams: groupByParams, columnsToSelect: columnsToSelect, handleSelectedColumnsUpdate: setColumns, entitiesCountCurrent: foundEntities, entitiesCountTotal: totalEntities, entitiesLoading: !inited }));
58
+ };
59
+ return (_jsx(NodesTable, { path: path, database: database, searchValue: searchValue, problemFilter: problemFilter, uptimeFilter: uptimeFilter, columns: columnsToShow, parentRef: parentRef, renderControls: renderControls }));
60
+ }
61
+ function GroupedNodesComponent({ path, database, parentRef, columns, defaultColumnsIds, requiredColumnsIds, selectedColumnsKey, groupByParams, }) {
62
+ const { searchValue, groupByParam } = useNodesPageQueryParams(groupByParams);
26
63
  const [autoRefreshInterval] = useAutoRefreshInterval();
27
- const { columnsToShow, columnsToSelect, setColumns } = useNodesSelectedColumns({
28
- getNodeRef: additionalNodesProps.getNodeRef,
64
+ const { columnsToShow, columnsToSelect, setColumns } = useSelectedColumns(columns, selectedColumnsKey, NODES_COLUMNS_TITLES, defaultColumnsIds, requiredColumnsIds);
65
+ const { currentData, isFetching, error } = nodesApi.useGetNodesQuery({
66
+ path,
29
67
  database,
68
+ filter: searchValue,
69
+ group: groupByParam,
70
+ limit: 0,
71
+ }, {
72
+ pollingInterval: autoRefreshInterval,
30
73
  });
31
- const { currentData: data, isLoading, error, } = nodesApi.useGetNodesQuery({ path, database }, { pollingInterval: autoRefreshInterval });
32
- const [sortValue, setSortValue] = React.useState({
33
- sortValue: 'NodeId',
34
- sortOrder: ASCENDING,
35
- });
36
- const [sort, handleSort] = useTableSort(sortValue, (sortParams) => {
37
- setSortValue(sortParams);
38
- });
39
- const nodes = React.useMemo(() => {
40
- return filterNodes(data === null || data === void 0 ? void 0 : data.Nodes, { searchValue, uptimeFilter, problemFilter });
41
- }, [data, searchValue, uptimeFilter, problemFilter]);
42
- const totalNodes = (data === null || data === void 0 ? void 0 : data.TotalNodes) || 0;
74
+ const isLoading = currentData === undefined && isFetching;
75
+ const { NodeGroups: tableGroups, FoundNodes: found = 0, TotalNodes: total = 0, } = currentData || {};
76
+ const { expandedGroups, setIsGroupExpanded } = useExpandedGroups(tableGroups);
43
77
  const renderControls = () => {
44
- return (_jsx(NodesControls, { columnsToSelect: columnsToSelect, handleSelectedColumnsUpdate: setColumns, entitiesCountCurrent: nodes.length, entitiesCountTotal: totalNodes, entitiesLoading: isLoading, groupByParams: undefined }));
78
+ return (_jsx(NodesControls, { withGroupBySelect: true, groupByParams: groupByParams, columnsToSelect: columnsToSelect, handleSelectedColumnsUpdate: setColumns, entitiesCountCurrent: found, entitiesCountTotal: total, entitiesLoading: isLoading }));
45
79
  };
46
- const renderTable = () => {
47
- if (nodes.length === 0) {
48
- if (problemFilter !== 'All' || uptimeFilter !== NodesUptimeFilterValues.All) {
49
- return _jsx(Illustration, { name: "thumbsUp", width: "200" });
50
- }
80
+ const renderGroups = () => {
81
+ if (tableGroups === null || tableGroups === void 0 ? void 0 : tableGroups.length) {
82
+ return tableGroups.map(({ name, count }) => {
83
+ const isExpanded = expandedGroups[name];
84
+ return (_jsx(TableGroup, { title: name, count: count, entityName: i18n('nodes'), expanded: isExpanded, onIsExpandedChange: setIsGroupExpanded, children: _jsx(NodesTable, { path: path, database: database, searchValue: searchValue, problemFilter: 'All', uptimeFilter: NodesUptimeFilterValues.All, filterGroup: name, filterGroupBy: groupByParam, initialEntitiesCount: count, columns: columnsToShow, parentRef: parentRef }) }, name));
85
+ });
51
86
  }
52
- return (_jsx(ResizeableDataTable, { columnsWidthLSKey: NODES_COLUMNS_WIDTH_LS_KEY, data: nodes || [], columns: columnsToShow, settings: DEFAULT_TABLE_SETTINGS, sortOrder: sort, onSort: handleSort, emptyDataMessage: i18n('empty.default'), rowClassName: getRowClassName }));
87
+ return i18n('no-nodes-groups');
53
88
  };
54
- if (isAccessError(error)) {
55
- return _jsx(AccessDenied, {});
56
- }
57
- return (_jsxs(TableWithControlsLayout, { children: [_jsx(TableWithControlsLayout.Controls, { children: renderControls() }), error ? _jsx(ResponseError, { error: error }) : null, _jsx(TableWithControlsLayout.Table, { loading: isLoading, children: data ? renderTable() : null })] }));
58
- };
89
+ return (_jsxs(TableWithControlsLayout, { children: [_jsx(TableWithControlsLayout.Controls, { children: renderControls() }), error ? _jsx(ResponseError, { error: error }) : null, _jsx(TableWithControlsLayout.Table, { loading: isLoading, className: b('groups-wrapper'), children: renderGroups() })] }));
90
+ }
59
91
  //# sourceMappingURL=Nodes.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Nodes.js","sourceRoot":"","sources":["../../../src/containers/Nodes/Nodes.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,SAAS,EAAC,MAAM,sDAAsD,CAAC;AAE/E,OAAO,EAAC,YAAY,EAAC,MAAM,6BAA6B,CAAC;AACzD,OAAO,EAAC,aAAa,EAAC,MAAM,6CAA6C,CAAC;AAC1E,OAAO,EAAC,aAAa,EAAC,MAAM,uCAAuC,CAAC;AACpE,OAAO,EAAC,YAAY,EAAC,MAAM,+BAA+B,CAAC;AAC3D,OAAO,EAAC,mBAAmB,EAAC,MAAM,0DAA0D,CAAC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AAE,EAAE;gBACrC,MAAM,UAAU,GAAG,cAAc,CAAC,IAAI,CAAC,CAAC;gBAExC,OAAO,CACH,KAAC,UAAU,IAEP,KAAK,EAAE,IAAI,EACX,KAAK,EAAE,KAAK,EACZ,UAAU,EAAE,IAAI,CAAC,OAAO,CAAC,EACzB,QAAQ,EAAE,UAAU,EACpB,kBAAkB,EAAE,kBAAkB,YAEtC,KAAC,UAAU,IACP,IAAI,EAAE,IAAI,EACV,QAAQ,EAAE,QAAQ,EAClB,WAAW,EAAE,WAAW,EACxB,aAAa,EAAE,KAAK,EACpB,YAAY,EAAE,uBAAuB,CAAC,GAAG,EACzC,WAAW,EAAE,IAAI,EACjB,aAAa,EAAE,YAAY,EAC3B,oBAAoB,EAAE,KAAK,EAC3B,OAAO,EAAE,aAAa,EACtB,SAAS,EAAE,SAAS,GACtB,IAlBG,IAAI,CAmBA,CAChB,CAAC;YACN,CAAC,CAAC,CAAC;QACP,CAAC;QAED,OAAO,IAAI,CAAC,iBAAiB,CAAC,CAAC;IACnC,CAAC,CAAC;IAEF,OAAO,CACH,MAAC,uBAAuB,eACpB,KAAC,uBAAuB,CAAC,QAAQ,cAAE,cAAc,EAAE,GAAoC,EACtF,KAAK,CAAC,CAAC,CAAC,KAAC,aAAa,IAAC,KAAK,EAAE,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,EAC/C,KAAC,uBAAuB,CAAC,KAAK,IAAC,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,CAAC,CAAC,gBAAgB,CAAC,YAC5E,YAAY,EAAE,GACa,IACV,CAC7B,CAAC;AACN,CAAC"}
@@ -5,7 +5,7 @@ import type { ProblemFilterValue } from '../../store/reducers/settings/types';
5
5
  import type { NodesGroupByField } from '../../types/api/nodes';
6
6
  import { NodesUptimeFilterValues } from '../../utils/nodes';
7
7
  import type { Column } from '../../utils/tableUtils/types';
8
- interface PaginatedNodesTableProps {
8
+ interface NodesTableProps {
9
9
  path?: string;
10
10
  database?: string;
11
11
  searchValue: string;
@@ -18,5 +18,5 @@ interface PaginatedNodesTableProps {
18
18
  renderControls?: RenderControls;
19
19
  initialEntitiesCount?: number;
20
20
  }
21
- export declare function PaginatedNodesTable({ path, database, searchValue, problemFilter, uptimeFilter, filterGroup, filterGroupBy, columns, parentRef, renderControls, initialEntitiesCount, }: PaginatedNodesTableProps): import("react/jsx-runtime").JSX.Element;
21
+ export declare function NodesTable({ path, database, searchValue, problemFilter, uptimeFilter, filterGroup, filterGroupBy, columns, parentRef, renderControls, initialEntitiesCount, }: NodesTableProps): import("react/jsx-runtime").JSX.Element;
22
22
  export {};
@@ -7,7 +7,7 @@ import { NodesUptimeFilterValues } from '../../utils/nodes';
7
7
  import { getNodes } from './getNodes';
8
8
  import i18n from './i18n';
9
9
  import { getRowClassName, renderPaginatedTableErrorMessage } from './shared';
10
- export function PaginatedNodesTable({ path, database, searchValue, problemFilter, uptimeFilter, filterGroup, filterGroupBy, columns, parentRef, renderControls, initialEntitiesCount, }) {
10
+ export function NodesTable({ path, database, searchValue, problemFilter, uptimeFilter, filterGroup, filterGroupBy, columns, parentRef, renderControls, initialEntitiesCount, }) {
11
11
  const tableFilters = React.useMemo(() => {
12
12
  return {
13
13
  path,
@@ -27,4 +27,4 @@ export function PaginatedNodesTable({ path, database, searchValue, problemFilter
27
27
  };
28
28
  return (_jsx(ResizeablePaginatedTable, { columnsWidthLSKey: NODES_COLUMNS_WIDTH_LS_KEY, parentRef: parentRef, columns: columns, fetchData: getNodes, limit: 50, initialEntitiesCount: initialEntitiesCount, renderControls: renderControls, renderErrorMessage: renderPaginatedTableErrorMessage, renderEmptyDataMessage: renderEmptyDataMessage, getRowClassName: getRowClassName, filters: tableFilters, tableName: "nodes" }));
29
29
  }
30
- //# sourceMappingURL=PaginatedNodesTable.js.map
30
+ //# sourceMappingURL=NodesTable.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NodesTable.js","sourceRoot":"","sources":["../../../src/containers/Nodes/NodesTable.tsx"],"names":[],"mapp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AO,EAChB,SAAS,EAAE,QAAQ,EACnB,KAAK,EAAE,EAAE,EACT,oBAAoB,EAAE,oBAAoB,EAC1C,cAAc,EAAE,cAAc,EAC9B,kBAAkB,EAAE,gCAAgC,EACpD,sBAAsB,EAAE,sBAAsB,EAC9C,eAAe,EAAE,eAAe,EAChC,OAAO,EAAE,YAAY,EACrB,SAAS,EAAC,OAAO,GACnB,CACL,CAAC;AACN,CAAC"}
@@ -1,2 +1,2 @@
1
- declare const _default: (key: "nodes" | "controls_group-by-placeholder" | "groups" | "controls_groups-search-placeholder" | "controls_nodes-search-placeholder" | "no-nodes" | "no-groups", params?: import("@gravity-ui/i18n").Params) => string;
1
+ declare const _default: (key: "nodes" | "groups" | "controls_group-by-placeholder" | "controls_groups-search-placeholder" | "controls_nodes-search-placeholder" | "no-nodes" | "no-groups", params?: import("@gravity-ui/i18n").Params) => string;
2
2
  export default _default;
@@ -11,7 +11,7 @@ import { setDiagnosticsTab } from '../../../store/reducers/tenant/tenant';
11
11
  import { cn } from '../../../utils/cn';
12
12
  import { useTypedDispatch, useTypedSelector } from '../../../utils/hooks';
13
13
  import { Heatmap } from '../../Heatmap';
14
- import { NodesWrapper } from '../../Nodes/NodesWrapper';
14
+ import { Nodes } from '../../Nodes/Nodes';
15
15
  import { Operations } from '../../Operations';
16
16
  import { StorageWrapper } from '../../Storage/StorageWrapper';
17
17
  import { Tablets } from '../../Tablets';
@@ -69,7 +69,7 @@ function Diagnostics(props) {
69
69
  return _jsx(TopShards, { tenantName: tenantName, path: path, type: type });
70
70
  }
71
71
  case TENANT_DIAGNOSTICS_TABS_IDS.nodes: {
72
- return (_jsx(NodesWrapper, { path: path, database: tenantName, additionalNodesProps: props.additionalNodesProps, parentRef: containerRef }));
72
+ return (_jsx(Nodes, { path: path, database: tenantName, additionalNodesProps: props.additionalNodesProps, parentRef: containerRef }));
73
73
  }
74
74
  case TENANT_DIAGNOSTICS_TABS_IDS.tablets: {
75
75
  return _jsx(Tablets, { path: path, database: tenant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C,EAAC,EAAE,EAAC,EAAE,IAAI,EAAE,EAAE;4BACnB,MAAM,IAAI,GAAG,aAAa,CAAC;gCACvB,GAAG,WAAW;gCACd,CAAC,gBAAgB,CAAC,cAAc,CAAC,EAAE,EAAE;6BACxC,CAAC,CAAC;4BAEH,OAAO,CACH,KAAC,IAAI,IAAC,EAAE,EAAE,IAAI,EAAW,SAAS,EAAE,CAAC,CAAC,KAAK,CAAC,YACvC,IAAI,IADY,EAAE,CAEhB,CACV,CAAC;wBACN,CAAC,EACD,gBAAgB,EAAE,IAAI,GACxB,EACF,KAAC,kBAAkB,KAAG,IACpB,GACJ,CACT,CAAC;IACN,CAAC,CAAC;IAEF,OAAO,CACH,eAAK,SAAS,EAAE,CAAC,EAAE,aACd,SAAS,CAAC,CAAC,CAAC,CACT,KAAC,MAAM,cACH,0BAAQ,SAAS,CAAC,KAAK,GAAS,GAC3B,CACZ,CAAC,CAAC,CAAC,IAAI,EACP,UAAU,EAAE,EACb,cAAK,SAAS,EAAE,CAAC,CAAC,cAAc,CAAC,EAAE,GAAG,EAAE,YAAY,YAC/C,gBAAgB,EAAE,GACjB,IACJ,CACT,CAAC;AACN,CAAC;AAED,eAAe,WAAW,CAAC"}
1
+ {"version":3,"file":"Diagnostics.js","sourceRoot":"","sources":["../../../../src/containers/Tenant/Diagnostics/Diagnostics.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,IAAI,EAAC,MAAM,mBAAmB,CAAC;AACvC,OAAO,EAAC,MAAM,EAAC,MAAM,oBAAoB,CAAC;AAC1C,OAAO,EAAC,IAAI,EAAC,MAAM,kBAAkB,CAAC;AACtC,OAAO,EAAC,WAAW,EAAE,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAE7D,OAAO,EAAC,kBAAkB,EAAC,MAAM,2DAA2D,CAAC;AAC7F,OAAO,EAAC,wBAAwB,EAAC,MAAM,4CAA4C,CAAC;AACpF,OAAO,EAAC,2BAA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KAAC,MAAM,cACH,0BAAQ,SAAS,CAAC,KAAK,GAAS,GAC3B,CACZ,CAAC,CAAC,CAAC,IAAI,EACP,UAAU,EAAE,EACb,cAAK,SAAS,EAAE,CAAC,CAAC,cAAc,CAAC,EAAE,GAAG,EAAE,YAAY,YAC/C,gBAAgB,EAAE,GACjB,IACJ,CACT,CAAC;AACN,CAAC;AAED,eAAe,WAAW,CAAC"}
@@ -1,5 +1,5 @@
1
- import type { PaginatedNodesProps } from '../../../Nodes/PaginatedNodes';
2
- interface NetworkWrapperProps extends Pick<PaginatedNodesProps, 'path' | 'parentRef' | 'additionalNodesProps'> {
1
+ import type { NodesProps } from '../../../Nodes/Nodes';
2
+ interface NetworkWrapperProps extends Pick<NodesProps, 'path' | 'parentRef' | 'additionalNodesProps'> {
3
3
  database: string;
4
4
  }
5
5
  export declare function NetworkWrapper({ database, path, parentRef, additionalNodesProps, }: NetworkWrapperProps): import("react/jsx-runtime").JSX.Element;
@@ -3,7 +3,7 @@ import { LoaderWrapper } from '../../../../components/LoaderWrapper/LoaderWrappe
3
3
  import { useCapabilitiesLoaded, useViewerNodesHandlerHasNetworkStats, } from '../../../../store/reducers/capabilities/hooks';
4
4
  import { ENABLE_NETWORK_TABLE_KEY } from '../../../../utils/constants';
5
5
  import { useSetting } from '../../../../utils/hooks';
6
- import { PaginatedNodes } from '../../../Nodes/PaginatedNodes';
6
+ import { Nodes } from '../../../Nodes/Nodes';
7
7
  import { Network } from './Network';
8
8
  import { getNetworkTableNodesColumns } from './NetworkTable/columns';
9
9
  import { NETWORK_DEFAULT_NODES_COLUMNS, NETWORK_NODES_GROUP_BY_PARAMS, NETWORK_NODES_TABLE_SELECTED_COLUMNS_KEY, NETWORK_REQUIRED_NODES_COLUMNS, } from './NetworkTable/constants';
@@ -14,7 +14,7 @@ export function NetworkWrapper({ database, path, parentRef, additionalNodesProps
14
14
  const shouldUseNetworkNodesTable = viewerNodesHasNetworkStats && networkTableEnabled;
15
15
  const renderContent = () => {
16
16
  if (shouldUseNetworkNodesTable) {
17
- return (_jsx(PaginatedNodes, { path: path, database: database, parentRef: parentRef, additionalNodesProps: additionalNodesProps, columns: getNetworkTableNodesColumns({
17
+ return (_jsx(Nodes, { path: path, database: database, parentRef: parentRef, additionalNodesProps: additionalNodesProps, columns: getNetworkTableNodesColumns({
18
18
  database: database,
19
19
  getNodeRef: additionalNodesProps === null || additionalNodesProps === void 0 ? void 0 : additionalNodesProps.getNodeRef,
20
20
  }), defaultColumnsIds: NETWORK_DEFAULT_NODES_COLUMNS, requiredColumnsIds: NETWORK_REQUIRED_NODES_COLUMNS, selectedColumnsKey: NETWORK_NODES_TABLE_SELECTED_COLUMNS_KEY, groupByParams: NETWORK_NODES_GROUP_BY_PARAMS }));
@@ -1 +1 @@
1
- {"version":3,"file":"NetworkWrapper.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Diagnostics/Network/NetworkWrapper.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,aAAa,EAAC,MAAM,oDAAoD,CAAC;AACjF,OAAO,EACH,qBAAqB,EACrB,oCAAoC,GACvC,MAAM,+CAA+C,CAAC;AACvD,OAAO,EAAC,wBAAwB,EAAC,MAAM,6BAA6B,CAAC;AACrE,OAAO,EAAC,UAAU,EAAC,MAAM,yBAAyB,CAAC;AAEnD,OAAO,EAAC,cAAc,EAAC,MAAM,+BAA+B,CAAC;AAE7D,OAAO,EAAC,OAAO,EAAC,MAAM,WAAW,CAAC;AAClC,OAAO,EAAC,2BAA2B,EAAC,MAAM,wBAAwB,CAAC;AACnE,OAAO,EACH,6BAA6B,EAC7B,6BAA6B,EAC7B,wCAAwC,EACxC,8BAA8B,GACjC,MAAM,0BAA0B,CAAC;AAOlC,MAAM,UAAU,cAAc,CAAC,EAC3B,QAAQ,EACR,IAAI,EACJ,SAAS,EACT,oBAAoB,GACF;IAClB,MAAM,kBAAkB,GAAG,qBAAqB,EAAE,CAAC;IACnD,MAAM,0BAA0B,GAAG,oCAAoC,EAAE,CAAC;IAC1E,MAAM,CAAC,mBAAmB,CAAC,GAAG,UAAU,CAAC,wBAAwB,CAAC,CAAC;IAEnE,MAAM,0BAA0B,GAAG,0BAA0B,IAAI,mBAAmB,CAAC;IAErF,MAAM,aAAa,GAAG,GAAG,EAAE;QACvB,IAAI,0BAA0B,EAAE,CAAC;YAC7B,OAAO,CACH,KAAC,cAAc,IACX,IAAI,EAAE,IAAI,EACV,QAAQ,EAAE,QAAQ,EAClB,SAAS,EAAE,SAAS,EACpB,oBAAoB,EAAE,oBAAoB,EAC1C,OAAO,EAAE,2BAA2B,CAAC;oBACjC,QAAQ,EAAE,QAAQ;oBAClB,UAAU,EAAE,oBAAoB,aAApB,oBAAoB,uBAApB,oBAAoB,CAAE,UAAU;iBAC/C,CAAC,EACF,iBAAiB,EAAE,6BAA6B,EAChD,kBAAkB,EAAE,8BAA8B,EAClD,kBAAkB,EAAE,wCAAwC,EAC5D,aAAa,EAAE,6BAA6B,GAC9C,CACL,CAAC;QACN,CAAC;QAED,OAAO,KAAC,OAAO,IAAC,UAAU,EAAE,QAAQ,GAAI,CAAC;IAC7C,CAAC,CAAC;IAEF,OAAO,KAAC,aAAa,IAAC,OAAO,EAAE,CAAC,kBAAkB,YAAG,aAAa,EAAE,GAAiB,CAAC;AAC1F,CAAC"}
1
+ {"version":3,"file":"NetworkWrapper.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Diagnostics/Network/NetworkWrapper.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,aAAa,EAAC,MAAM,oDAAoD,CAAC;AACjF,OAAO,EACH,qBAAqB,EACrB,oCAAoC,GACvC,MAAM,+CAA+C,CAAC;AACvD,OAAO,EAAC,wBAAwB,EAAC,MAAM,6BAA6B,CAAC;AACrE,OAAO,EAAC,UAAU,EAAC,MAAM,yBAAyB,CAAC;AAEnD,OAAO,EAAC,KAAK,EAAC,MAAM,sBAAsB,CAAC;AAE3C,OAAO,EAAC,OAAO,EAAC,MAAM,WAAW,CAAC;AAClC,OAAO,EAAC,2BAA2B,EAAC,MAAM,wBAAwB,CAAC;AACnE,OAAO,EACH,6BAA6B,EAC7B,6BAA6B,EAC7B,wCAAwC,EACxC,8BAA8B,GACjC,MAAM,0BAA0B,CAAC;AAOlC,MAAM,UAAU,cAAc,CAAC,EAC3B,QAAQ,EACR,IAAI,EACJ,SAAS,EACT,oBAAoB,GACF;IAClB,MAAM,kBAAkB,GAAG,qBAAqB,EAAE,CAAC;IACnD,MAAM,0BAA0B,GAAG,oCAAoC,EAAE,CAAC;IAC1E,MAAM,CAAC,mBAAmB,CAAC,GAAG,UAAU,CAAC,wBAAwB,CAAC,CAAC;IAEnE,MAAM,0BAA0B,GAAG,0BAA0B,IAAI,mBAAmB,CAAC;IAErF,MAAM,aAAa,GAAG,GAAG,EAAE;QACvB,IAAI,0BAA0B,EAAE,CAAC;YAC7B,OAAO,CACH,KAAC,KAAK,IACF,IAAI,EAAE,IAAI,EACV,QAAQ,EAAE,QAAQ,EAClB,SAAS,EAAE,SAAS,EACpB,oBAAoB,EAAE,oBAAoB,EAC1C,OAAO,EAAE,2BAA2B,CAAC;oBACjC,QAAQ,EAAE,QAAQ;oBAClB,UAAU,EAAE,oBAAoB,aAApB,oBAAoB,uBAApB,oBAAoB,CAAE,UAAU;iBAC/C,CAAC,EACF,iBAAiB,EAAE,6BAA6B,EAChD,kBAAkB,EAAE,8BAA8B,EAClD,kBAAkB,EAAE,wCAAwC,EAC5D,aAAa,EAAE,6BAA6B,GAC9C,CACL,CAAC;QACN,CAAC;QAED,OAAO,KAAC,OAAO,IAAC,UAAU,EAAE,QAAQ,GAAI,CAAC;IAC7C,CAAC,CAAC;IAEF,OAAO,KAAC,aAAa,IAAC,OAAO,EAAE,CAAC,kBAAkB,YAAG,aAAa,EAAE,GAAiB,CAAC;AAC1F,CAAC"}
@@ -8,34 +8,19 @@ import { useCreateDirectoryFeatureAvailable } from '../../../../store/reducers/c
8
8
  import { selectUserInput } from '../../../../store/reducers/query/query';
9
9
  import { schemaApi } from '../../../../store/reducers/schema/schema';
10
10
  import { tableSchemaDataApi } from '../../../../store/reducers/tableSchemaData';
11
- import { wait } from '../../../../utils';
12
- import { SECOND_IN_MS } from '../../../../utils/constants';
13
11
  import { useQueryExecutionSettings, useTypedDispatch, useTypedSelector, } from '../../../../utils/hooks';
14
12
  import { getConfirmation } from '../../../../utils/hooks/withConfirmation/useChangeInputWithConfirmation';
15
13
  import { getSchemaControls } from '../../utils/controls';
16
- import { isChildlessPathType, mapPathTypeToNavigationTreeType } from '../../utils/schema';
14
+ import { isChildlessPathType, mapPathTypeToNavigationTreeType, nodeTableTypeToPathType, } from '../../utils/schema';
17
15
  import { getActions } from '../../utils/schemaActions';
18
16
  import { CreateDirectoryDialog } from '../CreateDirectoryDialog/CreateDirectoryDialog';
19
17
  import { useDispatchTreeKey, useTreeKey } from '../UpdateTreeContext';
20
- const TABLE_SCHEMA_TIMEOUT = SECOND_IN_MS * 2;
21
18
  export function SchemaTree(props) {
22
19
  const createDirectoryFeatureAvailable = useCreateDirectoryFeatureAvailable();
23
20
  const { rootPath, rootName, rootType, currentPath, onActivePathUpdate } = props;
24
21
  const dispatch = useTypedDispatch();
25
22
  const input = useTypedSelector(selectUserInput);
26
- const [getTableSchemaDataMutation] = tableSchemaDataApi.useGetTableSchemaDataMutation();
27
- const getTableSchemaDataPromise = React.useCallback(async (args) => {
28
- try {
29
- const result = await Promise.race([
30
- getTableSchemaDataMutation(args).unwrap(),
31
- wait(TABLE_SCHEMA_TIMEOUT),
32
- ]);
33
- return result;
34
- }
35
- catch (e) {
36
- return undefined;
37
- }
38
- }, [getTableSchemaDataMutation]);
23
+ const [getTableSchemaDataQuery, { currentData: actionsSchemaData, isFetching: isActionsDataFetching },] = tableSchemaDataApi.useLazyGetTableSchemaDataQuery();
39
24
  const [querySettings, setQueryExecutionSettings] = useQueryExecutionSettings();
40
25
  const [createDirectoryOpen, setCreateDirectoryOpen] = React.useState(false);
41
26
  const [parentPath, setParentPath] = React.useState('');
@@ -89,20 +74,40 @@ export function SchemaTree(props) {
89
74
  setParentPath(value);
90
75
  setCreateDirectoryOpen(true);
91
76
  };
77
+ const getTreeNodeActions = React.useMemo(() => {
78
+ return getActions(dispatch, {
79
+ setActivePath: onActivePathUpdate,
80
+ updateQueryExecutionSettings: (settings) => setQueryExecutionSettings({ ...querySettings, ...settings }),
81
+ showCreateDirectoryDialog: createDirectoryFeatureAvailable
82
+ ? handleOpenCreateDirectoryDialog
83
+ : undefined,
84
+ getConfirmation: input ? getConfirmation : undefined,
85
+ schemaData: actionsSchemaData,
86
+ isSchemaDataLoading: isActionsDataFetching,
87
+ }, rootPath);
88
+ }, [
89
+ actionsSchemaData,
90
+ createDirectoryFeatureAvailable,
91
+ dispatch,
92
+ input,
93
+ isActionsDataFetching,
94
+ onActivePathUpdate,
95
+ querySettings,
96
+ rootPath,
97
+ setQueryExecutionSettings,
98
+ ]);
92
99
  return (_jsxs(React.Fragment, { children: [_jsx(CreateDirectoryDialog, { onClose: handleCloseDialog, open: createDirectoryOpen, database: rootPath, parentPath: parentPath, onSuccess: handleSuccessSubmit }), _jsx(NavigationTree, { rootState: {
93
100
  path: rootPath,
94
101
  name: rootName,
95
102
  type: mapPathTypeToNavigationTreeType(rootType),
96
103
  collapsed: false,
97
- }, fetchPath: fetchPath, getActions: getActions(dispatch, {
98
- setActivePath: onActivePathUpdate,
99
- updateQueryExecutionSettings: (settings) => setQueryExecutionSettings({ ...querySettings, ...settings }),
100
- showCreateDirectoryDialog: createDirectoryFeatureAvailable
101
- ? handleOpenCreateDirectoryDialog
102
- : undefined,
103
- getTableSchemaDataPromise,
104
- getConfirmation: input ? getConfirmation : undefined,
105
- }, rootPath), renderAdditionalNodeElements: getSchemaControls(dispatch, {
104
+ }, fetchPath: fetchPath, getActions: getTreeNodeActions, onActionsOpenToggle: ({ path, type, isOpen }) => {
105
+ const pathType = nodeTableTypeToPathType[type];
106
+ if (isOpen && pathType) {
107
+ getTableSchemaDataQuery({ path, tenantName: rootPath, type: pathType });
108
+ }
109
+ return [];
110
+ }, renderAdditionalNodeElements: getSchemaControls(dispatch, {
106
111
  setActivePath: onActivePathUpdate,
107
112
  }), activePath: currentPath, onActivePathUpdate: onActivePathUpdate, cache: false, virtualize: true }, schemaTreeKey)] }));
108
113
  }
@@ -1 +1 @@
1
- {"version":3,"file":"SchemaTree.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/ObjectSummary/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,CAAC;AACjG,OAAO,EAAC,eAAe,EAAC,MAAM,wCAAwC,CAAC;AACvE,OAAO,EAAC,SAAS,EAAC,MAAM,0CAA0C,CAAC;AACnE,OAAO,EAAC,kBAAkB,EAAC,MAAM,4CAA4C,CAAC;AAG9E,OAAO,EAAC,IAAI,EAAC,MAAM,mBAAmB,CAAC;AACvC,OAAO,EAAC,YAAY,EAAC,MAAM,6BAA6B,CAAC;AACzD,OAAO,EACH,yBAAyB,EACzB,gBAAgB,EAChB,gBAAgB,GACnB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAC,eAAe,EAAC,MAAM,yEAAyE,CAAC;AACxG,OAAO,EAAC,iBAAiB,EAAC,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAC,mBAAmB,EAAE,+BAA+B,EAAC,MAAM,oBAAoB,CAAC;AACxF,OAAO,EAAC,UAAU,EAAC,MAAM,2BAA2B,CAAC;AACrD,OAAO,EAAC,qBAAqB,EAAC,MAAM,gDAAgD,CAAC;AACrF,OAAO,EAAC,kBAAkB,EAAE,UAAU,EAAC,MAAM,sBAAsB,CAAC;AAUpE,MAAM,oBAAoB,GAAG,YAAY,GAAG,CAAC,CAAC;AAE9C,MAAM,UAAU,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C,CAAC;oBAC9D,yBAAyB,EAAE,+BAA+B;wBACtD,CAAC,CAAC,+BAA+B;wBACjC,CAAC,CAAC,SAAS;oBACf,yBAAyB;oBACzB,eAAe,EAAE,KAAK,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS;iBACvD,EACD,QAAQ,CACX,EACD,4BAA4B,EAAE,iBAAiB,CAAC,QAAQ,EAAE;oBACtD,aAAa,EAAE,kBAAkB;iBACpC,CAAC,EACF,UAAU,EAAE,WAAW,EACvB,kBAAkB,EAAE,kBAAkB,EACtC,KAAK,EAAE,KAAK,EACZ,UAAU,UA5BL,aAAa,CA6BpB,IACW,CACpB,CAAC;AACN,CAAC"}
1
+ {"version":3,"file":"SchemaTree.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/ObjectSummary/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,CAAC;AACjG,OAAO,EAAC,eAAe,EAAC,MAAM,wCAAwC,CAAC;AACvE,OAAO,EAAC,SAAS,EAAC,MAAM,0CAA0C,CAAC;AACnE,OAAO,EAAC,kBAAkB,EAAC,MAAM,4CAA4C,CAAC;AAE9E,OAAO,EACH,yBAAyB,EACzB,gBAAgB,EAChB,gBAAgB,GACnB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAC,eAAe,EAAC,MAAM,yEAAyE,CAAC;AACxG,OAAO,EAAC,iBAAiB,EAAC,MAAM,sBAAsB,CAAC;AACvD,OAAO,EACH,mBAAmB,EACnB,+BAA+B,EAC/B,uBAAuB,GAC1B,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAC,UAAU,EAAC,MAAM,2BAA2B,CAAC;AACrD,OAAO,EAAC,qBAAqB,EAAC,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EACtB,SAAS,EAAE,mBAAmB,GAChC,EACF,KAAC,cAAc,IAEX,SAAS,EAAE;oBACP,IAAI,EAAE,QAAQ;oBACd,IAAI,EAAE,QAAQ;oBACd,IAAI,EAAE,+BAA+B,CAAC,QAAQ,CAAC;oBAC/C,SAAS,EAAE,KAAK;iBACnB,EACD,SAAS,EAAE,SAAS,EACpB,UAAU,EAAE,kBAAkB,EAC9B,mBAAmB,EAAE,CAAC,EAAC,IAAI,EAAE,IAAI,EAAE,MAAM,EAAC,EAAE,EAAE;oBAC1C,MAAM,QAAQ,GAAG,uBAAuB,CAAC,IAAI,CAAC,CAAC;oBAC/C,IAAI,MAAM,IAAI,QAAQ,EAAE,CAAC;wBACrB,uBAAuB,CAAC,EAAC,IAAI,EAAE,UAAU,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAC,CAAC,CAAC;oBAC1E,CAAC;oBAED,OAAO,EAAE,CAAC;gBACd,CAAC,EACD,4BAA4B,EAAE,iBAAiB,CAAC,QAAQ,EAAE;oBACtD,aAAa,EAAE,kBAAkB;iBACpC,CAAC,EACF,UAAU,EAAE,WAAW,EACvB,kBAAkB,EAAE,kBAAkB,EACtC,KAAK,EAAE,KAAK,EACZ,UAAU,UAvBL,aAAa,CAwBpB,IACW,CACpB,CAAC;AACN,CAAC"}
@@ -18,10 +18,9 @@ import { useLastQueryExecutionSettings } from '../../../../utils/hooks/useLastQu
18
18
  import { YQL_LANGUAGE_ID } from '../../../../utils/monaco/constats';
19
19
  import { QUERY_ACTIONS } from '../../../../utils/query';
20
20
  import { PaneVisibilityActionTypes, paneVisibilityToggleReducerCreator, } from '../../utils/paneVisibilityToggleHelpers';
21
- import { ExecuteResult } from '../ExecuteResult/ExecuteResult';
22
- import { ExplainResult } from '../ExplainResult/ExplainResult';
23
21
  import { Preview } from '../Preview/Preview';
24
22
  import { QueryEditorControls } from '../QueryEditorControls/QueryEditorControls';
23
+ import { QueryResultViewer } from '../QueryResult/QueryResultViewer';
25
24
  import { QuerySettingsDialog } from '../QuerySettingsDialog/QuerySettingsDialog';
26
25
  import { SAVE_QUERY_DIALOG } from '../SaveQuery/SaveQuery';
27
26
  import i18n from '../i18n';
@@ -242,11 +241,8 @@ function Result({ resultVisibilityState, onExpandResultHandler, onCollapseResult
242
241
  if (showPreview) {
243
242
  return _jsx(Preview, { database: tenantName, path: path, type: type });
244
243
  }
245
- if ((result === null || result === void 0 ? void 0 : result.type) === 'execute') {
246
- return (_jsx(ExecuteResult, { result: result, isResultsCollapsed: resultVisibilityState.collapsed, onExpandResults: onExpandResultHandler, onCollapseResults: onCollapseResultHandler, theme: theme, tenantName: tenantName }));
247
- }
248
- if ((result === null || result === void 0 ? void 0 : result.type) === 'explain') {
249
- return (_jsx(ExplainResult, { result: result, theme: theme, tenantName: tenantName, isResultsCollapsed: resultVisibilityState.collapsed, onExpandResults: onExpandResultHandler, onCollapseResults: onCollapseResultHandler }));
244
+ if (result) {
245
+ return (_jsx(QueryResultViewer, { result: result, resultType: result === null || result === void 0 ? void 0 : result.type, theme: theme, tenantName: tenantName, isResultsCollapsed: resultVisibilityState.collapsed, onExpandResults: onExpandResultHandler, onCollapseResults: onCollapseResultHandler }));
250
246
  }
251
247
  return null;
252
248
  }
@@ -1 +1 @@
1
- {"version":3,"file":"QueryEditor.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Query/QueryEditor/QueryEditor.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,SAAS,MAAM,wBAAwB,CAAC;AAC/C,OAAO,EAAC,OAAO,EAAC,MAAM,QAAQ,CAAC;AAC/B,OAAO,QAAQ,MAAM,iBAAiB,CAAC;AAEvC,OAAO,EAAC,EAAE,IAAI,MAAM,EAAC,MAAM,MAAM,CAAC;AAElC,OAAO,EAAC,YAAY,EAAC,MAAM,kDAAkD,CAAC;AAC9E,OAAO,SAAS,MAAM,kCAAkC,CAAC;AACzD,OAAO,EAAC,8BAA8B,EAAC,MAA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AC;IACjC,CAAC,CAAC,CAAC;AACP,CAAC;AAED,SAAS,aAAa,CAAC,IAAY,EAAE,WAAmB;IACpD,MAAM,eAAe,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,KAAK,WAAW,CAAC,CAAC,CAAC,KAAK,CAAC;IAE5D,IAAI,eAAe,EAAE,CAAC;QAClB,MAAM,CAAC,cAAc,GAAG,CAAC,CAAC,EAAE,EAAE;YAC1B,CAAC,CAAC,cAAc,EAAE,CAAC;YACnB,wCAAwC;YACxC,CAAC,CAAC,WAAW,GAAG,EAAE,CAAC;QACvB,CAAC,CAAC;IACN,CAAC;SAAM,CAAC;QACJ,MAAM,CAAC,cAAc,GAAG,IAAI,CAAC;IACjC,CAAC;AACL,CAAC"}
1
+ {"version":3,"file":"QueryEditor.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Query/QueryEditor/QueryEditor.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,SAAS,MAAM,wBAAwB,CAAC;AAC/C,OAAO,EAAC,OAAO,EAAC,MAAM,QAAQ,CAAC;AAC/B,OAAO,QAAQ,MAAM,iBAAiB,CAAC;AAEvC,OAAO,EAAC,EAAE,IAAI,MAAM,EAAC,MAAM,MAAM,CAAC;AAElC,OAAO,EAAC,YAAY,EAAC,MAAM,kDAAkD,CAAC;AAC9E,OAAO,SAAS,MAAM,kCAAkC,CAAC;AACzD,OAAO,EAAC,8BAA8B,EAAC,MAAM,+CAA+C,CAAC;AAC7F,OAAO,EACH,aAAa,EACb,iBAAiB,EACjB,QAAQ,EACR,kBAAkB,EAClB,oBAAoB,EACpB,gCAAgC,EAChC,YAAY,EACZ,gBAAgB,EAChB,eAAe,EACf,aAAa,GAChB,MAAM,wCAAwC,CAAC;AAEhD,OAAO,EAAC,cAAc,EAAC,MAAM,sDAAsD,CAAC;AACpF,OAAO,EAAC,iBAAiB,EAAE,cAAc,EAAC,MAAM,0CAA0C,CAAC;AAG3F,OA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AC,MAAM,EAAE,CAAC;IAEhB,MAAM,CAAC,gBAAgB,CAAC,QAAQ,EAAE,YAAY,CAAC,CAAC;IAChD,MAAM,CAAC,YAAY,CAAC,GAAG,EAAE;QACrB,MAAM,CAAC,mBAAmB,CAAC,QAAQ,EAAE,YAAY,CAAC,CAAC;IACvD,CAAC,CAAC,CAAC;AACP,CAAC;AAED,SAAS,cAAc,CAAC,MAA2C,EAAE,cAA4B;IAC7F,aAAa,CAAC,MAAM,CAAC,QAAQ,EAAE,EAAE,cAAc,EAAE,CAAC,CAAC;IACnD,MAAM,CAAC,uBAAuB,CAAC,GAAG,EAAE;QAChC,aAAa,CAAC,MAAM,CAAC,QAAQ,EAAE,EAAE,cAAc,EAAE,CAAC,CAAC;IACvD,CAAC,CAAC,CAAC;IACH,MAAM,CAAC,YAAY,CAAC,GAAG,EAAE;QACrB,MAAM,CAAC,cAAc,GAAG,IAAI,CAAC;IACjC,CAAC,CAAC,CAAC;AACP,CAAC;AAED,SAAS,aAAa,CAAC,IAAY,EAAE,WAAmB;IACpD,MAAM,eAAe,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,KAAK,WAAW,CAAC,CAAC,CAAC,KAAK,CAAC;IAE5D,IAAI,eAAe,EAAE,CAAC;QAClB,MAAM,CAAC,cAAc,GAAG,CAAC,CAAC,EAAE,EAAE;YAC1B,CAAC,CAAC,cAAc,EAAE,CAAC;YACnB,wCAAwC;YACxC,CAAC,CAAC,WAAW,GAAG,EAAE,CAAC;QACvB,CAAC,CAAC;IACN,CAAC;SAAM,CAAC;QACJ,MAAM,CAAC,cAAc,GAAG,IAAI,CAAC;IACjC,CAAC;AACL,CAAC"}
@@ -0,0 +1,14 @@
1
+ import type { QueryResult } from '../../../../store/reducers/query/types';
2
+ import type { QueryAction } from '../../../../types/store/query';
3
+ import './QueryResultViewer.scss';
4
+ interface ExecuteResultProps {
5
+ result: QueryResult;
6
+ resultType?: QueryAction;
7
+ isResultsCollapsed?: boolean;
8
+ theme?: string;
9
+ tenantName: string;
10
+ onCollapseResults: VoidFunction;
11
+ onExpandResults: VoidFunction;
12
+ }
13
+ export declare function QueryResultViewer({ result, resultType, isResultsCollapsed, theme, tenantName, onCollapseResults, onExpandResults, }: ExecuteResultProps): import("react/jsx-runtime").JSX.Element;
14
+ export {};