@finos/legend-query-builder 3.1.0 → 3.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (91) hide show
  1. package/lib/__lib__/QueryBuilderColorTheme.d.ts +23 -0
  2. package/lib/__lib__/QueryBuilderColorTheme.d.ts.map +1 -0
  3. package/lib/__lib__/QueryBuilderColorTheme.js +24 -0
  4. package/lib/__lib__/QueryBuilderColorTheme.js.map +1 -0
  5. package/lib/__lib__/QueryBuilderTelemetryHelper.d.ts +20 -20
  6. package/lib/__lib__/QueryBuilderTelemetryHelper.d.ts.map +1 -1
  7. package/lib/__lib__/QueryBuilderTelemetryHelper.js +40 -40
  8. package/lib/__lib__/QueryBuilderTelemetryHelper.js.map +1 -1
  9. package/lib/components/QueryBuilder.d.ts.map +1 -1
  10. package/lib/components/QueryBuilder.js +17 -15
  11. package/lib/components/QueryBuilder.js.map +1 -1
  12. package/lib/components/QueryBuilder_LegendApplicationPlugin.d.ts.map +1 -1
  13. package/lib/components/QueryBuilder_LegendApplicationPlugin.js +3 -0
  14. package/lib/components/QueryBuilder_LegendApplicationPlugin.js.map +1 -1
  15. package/lib/components/QueryLoader.d.ts +30 -0
  16. package/lib/components/QueryLoader.d.ts.map +1 -0
  17. package/lib/components/QueryLoader.js +164 -0
  18. package/lib/components/QueryLoader.js.map +1 -0
  19. package/lib/components/data-access/DataAccessOverview.d.ts +23 -0
  20. package/lib/components/data-access/DataAccessOverview.d.ts.map +1 -0
  21. package/lib/components/data-access/DataAccessOverview.js +146 -0
  22. package/lib/components/data-access/DataAccessOverview.js.map +1 -0
  23. package/lib/components/execution-plan/ExecutionPlanViewer.d.ts.map +1 -1
  24. package/lib/components/execution-plan/ExecutionPlanViewer.js +3 -3
  25. package/lib/components/execution-plan/ExecutionPlanViewer.js.map +1 -1
  26. package/lib/components/execution-plan/SQLExecutionNodeViewer.js +1 -1
  27. package/lib/components/execution-plan/SQLExecutionNodeViewer.js.map +1 -1
  28. package/lib/components/explorer/QueryBuilderPropertySearchPanel.js +1 -1
  29. package/lib/components/explorer/QueryBuilderPropertySearchPanel.js.map +1 -1
  30. package/lib/components/fetch-structure/QueryBuilderTDSPanel.d.ts +0 -18
  31. package/lib/components/fetch-structure/QueryBuilderTDSPanel.d.ts.map +1 -1
  32. package/lib/components/fetch-structure/QueryBuilderTDSPanel.js +34 -36
  33. package/lib/components/fetch-structure/QueryBuilderTDSPanel.js.map +1 -1
  34. package/lib/components/shared/LambdaEditor.d.ts.map +1 -1
  35. package/lib/components/shared/LambdaEditor.js +7 -19
  36. package/lib/components/shared/LambdaEditor.js.map +1 -1
  37. package/lib/components/shared/QueryBuilderPanelIssueCountBadge.d.ts.map +1 -1
  38. package/lib/components/shared/QueryBuilderPanelIssueCountBadge.js +2 -1
  39. package/lib/components/shared/QueryBuilderPanelIssueCountBadge.js.map +1 -1
  40. package/lib/index.css +1 -17
  41. package/lib/index.css.map +1 -1
  42. package/lib/index.d.ts +5 -0
  43. package/lib/index.d.ts.map +1 -1
  44. package/lib/index.js +5 -0
  45. package/lib/index.js.map +1 -1
  46. package/lib/package.json +4 -2
  47. package/lib/stores/QueryBuilderState.d.ts +3 -3
  48. package/lib/stores/QueryBuilderState.d.ts.map +1 -1
  49. package/lib/stores/QueryBuilderState.js +34 -18
  50. package/lib/stores/QueryBuilderState.js.map +1 -1
  51. package/lib/stores/QueryBuilder_LegendApplicationPlugin_Extension.d.ts +39 -0
  52. package/lib/stores/QueryBuilder_LegendApplicationPlugin_Extension.d.ts.map +1 -0
  53. package/lib/stores/QueryBuilder_LegendApplicationPlugin_Extension.js +17 -0
  54. package/lib/stores/QueryBuilder_LegendApplicationPlugin_Extension.js.map +1 -0
  55. package/lib/stores/QueryLoaderState.d.ts +67 -0
  56. package/lib/stores/QueryLoaderState.d.ts.map +1 -0
  57. package/lib/stores/QueryLoaderState.js +205 -0
  58. package/lib/stores/QueryLoaderState.js.map +1 -0
  59. package/lib/stores/data-access/DataAccessState.d.ts +56 -0
  60. package/lib/stores/data-access/DataAccessState.d.ts.map +1 -0
  61. package/lib/stores/data-access/DataAccessState.js +212 -0
  62. package/lib/stores/data-access/DataAccessState.js.map +1 -0
  63. package/lib/stores/entitlements/QueryBuilderCheckEntitlementsState.d.ts +4 -2
  64. package/lib/stores/entitlements/QueryBuilderCheckEntitlementsState.d.ts.map +1 -1
  65. package/lib/stores/entitlements/QueryBuilderCheckEntitlementsState.js +20 -6
  66. package/lib/stores/entitlements/QueryBuilderCheckEntitlementsState.js.map +1 -1
  67. package/lib/stores/shared/ValueSpecificationEditorHelper.d.ts +3 -1
  68. package/lib/stores/shared/ValueSpecificationEditorHelper.d.ts.map +1 -1
  69. package/lib/stores/shared/ValueSpecificationEditorHelper.js +7 -1
  70. package/lib/stores/shared/ValueSpecificationEditorHelper.js.map +1 -1
  71. package/package.json +12 -10
  72. package/src/__lib__/QueryBuilderColorTheme.ts +23 -0
  73. package/src/__lib__/QueryBuilderTelemetryHelper.ts +40 -59
  74. package/src/components/QueryBuilder.tsx +63 -47
  75. package/src/components/QueryBuilder_LegendApplicationPlugin.ts +4 -0
  76. package/src/components/QueryLoader.tsx +504 -0
  77. package/src/components/data-access/DataAccessOverview.tsx +308 -0
  78. package/src/components/execution-plan/ExecutionPlanViewer.tsx +1 -3
  79. package/src/components/execution-plan/SQLExecutionNodeViewer.tsx +1 -1
  80. package/src/components/explorer/QueryBuilderPropertySearchPanel.tsx +1 -1
  81. package/src/components/fetch-structure/QueryBuilderTDSPanel.tsx +99 -102
  82. package/src/components/shared/LambdaEditor.tsx +4 -21
  83. package/src/components/shared/QueryBuilderPanelIssueCountBadge.tsx +2 -1
  84. package/src/index.ts +7 -0
  85. package/src/stores/QueryBuilderState.ts +65 -19
  86. package/src/stores/QueryBuilder_LegendApplicationPlugin_Extension.ts +46 -0
  87. package/src/stores/QueryLoaderState.ts +298 -0
  88. package/src/stores/data-access/DataAccessState.ts +322 -0
  89. package/src/stores/entitlements/QueryBuilderCheckEntitlementsState.ts +53 -6
  90. package/src/stores/shared/ValueSpecificationEditorHelper.ts +39 -2
  91. package/tsconfig.json +6 -0
@@ -0,0 +1,164 @@
1
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
+ /**
3
+ * Copyright (c) 2020-present, Goldman Sachs
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ import { useApplicationStore } from '@finos/legend-application';
18
+ import { CODE_EDITOR_LANGUAGE, CodeEditor, } from '@finos/legend-lego/code-editor';
19
+ import { Dialog, Modal, ModalTitle, clsx, SearchIcon, TimesIcon, DropdownMenu, MenuContent, MenuContentItem, BlankPanelContent, PanelLoadingIndicator, ModalHeader, ModalBody, ModalFooter, ModalFooterButton, UserIcon, LastModifiedIcon, MoreVerticalIcon, ThinChevronRightIcon, InfoCircleIcon, } from '@finos/legend-art';
20
+ import { debounce, formatDistanceToNow, guaranteeNonNullable, quantifyList, } from '@finos/legend-shared';
21
+ import { flowResult } from 'mobx';
22
+ import { observer } from 'mobx-react-lite';
23
+ import { useRef, useState, useMemo, useEffect } from 'react';
24
+ import { QUERY_LOADER_TYPEAHEAD_SEARCH_LIMIT, } from '../stores/QueryLoaderState.js';
25
+ const QueryPreviewViewer = observer((props) => {
26
+ const { queryLoaderState } = props;
27
+ const close = () => {
28
+ queryLoaderState.setShowPreviewViewer(false);
29
+ };
30
+ return (_jsx(Dialog, { open: queryLoaderState.showPreviewViewer, onClose: close, classes: {
31
+ root: 'editor-modal__root-container',
32
+ container: 'editor-modal__container',
33
+ paper: 'editor-modal__content',
34
+ }, children: _jsxs(Modal, { className: "editor-modal", darkMode: true, children: [_jsx(ModalHeader, { title: guaranteeNonNullable(queryLoaderState.queryPreviewContent).name }), _jsx(ModalBody, { children: _jsx(CodeEditor, { inputValue: guaranteeNonNullable(queryLoaderState.queryPreviewContent)
35
+ .content, isReadOnly: true, language: CODE_EDITOR_LANGUAGE.PURE }) }), _jsx(ModalFooter, { children: _jsx(ModalFooterButton, { onClick: close, text: "Close" }) })] }) }));
36
+ });
37
+ export const QueryLoader = observer((props) => {
38
+ const { queryLoaderState, loadActionLabel } = props;
39
+ const applicationStore = useApplicationStore();
40
+ const searchInputRef = useRef(null);
41
+ const queryRenameInputRef = useRef(null);
42
+ const results = queryLoaderState.queries;
43
+ const [isMineOnly, setIsMineOnly] = useState(false);
44
+ const [showQueryNameEditInput, setShowQueryNameEditInput] = useState();
45
+ useEffect(() => {
46
+ queryRenameInputRef.current?.focus();
47
+ queryRenameInputRef.current?.select();
48
+ }, [showQueryNameEditInput]);
49
+ const [queryNameInputValue, setQueryNameInputValue] = useState('');
50
+ const showEditQueryNameInput = (value, idx) => () => {
51
+ setQueryNameInputValue(value);
52
+ setShowQueryNameEditInput(idx);
53
+ };
54
+ const hideEditQueryNameInput = () => {
55
+ setShowQueryNameEditInput(undefined);
56
+ setQueryNameInputValue('');
57
+ };
58
+ const changeQueryNameInputValue = (event) => setQueryNameInputValue(event.target.value);
59
+ // search text
60
+ const debouncedLoadQueries = useMemo(() => debounce((input) => {
61
+ flowResult(queryLoaderState.searchQueries(input)).catch(applicationStore.alertUnhandledError);
62
+ }, 500), [applicationStore.alertUnhandledError, queryLoaderState]);
63
+ const onSearchTextChange = (event) => {
64
+ if (event.target.value !== queryLoaderState.searchText) {
65
+ queryLoaderState.setSearchText(event.target.value);
66
+ debouncedLoadQueries.cancel();
67
+ debouncedLoadQueries(event.target.value);
68
+ }
69
+ };
70
+ const clearQuerySearching = () => {
71
+ queryLoaderState.setSearchText('');
72
+ debouncedLoadQueries.cancel();
73
+ debouncedLoadQueries('');
74
+ };
75
+ const toggleShowCurrentUserQueriesOnly = () => {
76
+ queryLoaderState.setShowCurrentUserQueriesOnly(!queryLoaderState.showCurrentUserQueriesOnly);
77
+ setIsMineOnly(!isMineOnly);
78
+ debouncedLoadQueries.cancel();
79
+ debouncedLoadQueries(queryLoaderState.searchText);
80
+ };
81
+ const toggleExtraFilters = (key) => {
82
+ queryLoaderState.extraFilters.set(key, !queryLoaderState.extraFilters.get(key));
83
+ debouncedLoadQueries.cancel();
84
+ debouncedLoadQueries(queryLoaderState.searchText);
85
+ };
86
+ useEffect(() => {
87
+ flowResult(queryLoaderState.searchQueries('')).catch(applicationStore.alertUnhandledError);
88
+ }, [applicationStore, queryLoaderState]);
89
+ useEffect(() => {
90
+ searchInputRef.current?.focus();
91
+ }, [queryLoaderState]);
92
+ // actions
93
+ const renameQuery = (query) => () => {
94
+ if (!queryLoaderState.isReadOnly) {
95
+ flowResult(queryLoaderState.renameQuery(query.id, queryNameInputValue))
96
+ .catch(applicationStore.alertUnhandledError)
97
+ .finally(() => hideEditQueryNameInput());
98
+ }
99
+ };
100
+ const deleteQuery = (query) => () => {
101
+ if (!queryLoaderState.isReadOnly) {
102
+ flowResult(queryLoaderState.deleteQuery(query.id)).catch(applicationStore.alertUnhandledError);
103
+ }
104
+ };
105
+ const showPreview = (queryId) => {
106
+ flowResult(queryLoaderState.getPreviewQueryContent(queryId)).catch(applicationStore.alertUnhandledError);
107
+ queryLoaderState.setShowPreviewViewer(true);
108
+ };
109
+ return (_jsxs("div", { className: "query-loader", children: [_jsxs("div", { className: "query-loader__header", children: [_jsx("div", { className: "query-loader__search", children: _jsxs("div", { className: "query-loader__search__input__container", children: [_jsx("input", { ref: searchInputRef, className: clsx('query-loader__search__input input--dark', {
110
+ 'query-loader__search__input--searching': queryLoaderState.searchText,
111
+ }), onChange: onSearchTextChange, value: queryLoaderState.searchText, placeholder: "Search for queries by name or ID" }), !queryLoaderState.searchText ? (_jsx("div", { className: "query-loader__search__input__search__icon", children: _jsx(SearchIcon, {}) })) : (_jsx(_Fragment, { children: _jsx("button", { className: "query-loader__search__input__clear-btn", tabIndex: -1, onClick: clearQuerySearching, title: "Clear", children: _jsx(TimesIcon, {}) }) }))] }) }), _jsx("div", { className: "query-loader__filter", children: _jsxs("div", { className: "query-loader__filter__toggler", children: [_jsx("button", { className: clsx('query-loader__filter__toggler__btn', {
112
+ 'query-loader__filter__toggler__btn--toggled': isMineOnly,
113
+ }), onClick: toggleShowCurrentUserQueriesOnly, tabIndex: -1, children: "Mine Only" }), queryLoaderState.extraFilterOptions.length > 0 && (_jsx("div", { className: "query-loader__filter__extra__filters", children: Array.from(queryLoaderState.extraFilters.entries()).map(([key, value]) => (_jsx("button", { className: clsx('query-loader__filter__toggler__btn', {
114
+ 'query-loader__filter__toggler__btn--toggled': value,
115
+ }), onClick: () => toggleExtraFilters(key), tabIndex: -1, children: key }, key))) }))] }) })] }), _jsxs("div", { className: "query-loader__content", children: [_jsx(PanelLoadingIndicator, { isLoading: queryLoaderState.searchQueriesState.isInProgress ||
116
+ queryLoaderState.renameQueryState.isInProgress ||
117
+ queryLoaderState.deleteQueryState.isInProgress ||
118
+ queryLoaderState.previewQueryState.isInProgress }), _jsxs("div", { className: "query-loader__results", children: [queryLoaderState.searchQueriesState.hasCompleted && (_jsxs(_Fragment, { children: [_jsx("div", { className: "query-loader__results__summary", children: queryLoaderState.showingDefaultQueries ? (queryLoaderState.generateDefaultQueriesSummaryText?.(results) ?? 'Refine your search to get better matches') : results.length >= QUERY_LOADER_TYPEAHEAD_SEARCH_LIMIT ? (_jsxs(_Fragment, { children: [`Found ${QUERY_LOADER_TYPEAHEAD_SEARCH_LIMIT}+ matches`, ' ', _jsx(InfoCircleIcon, { title: "Some queries are not listed, refine your search to get better matches", className: "query-loader__results__summary__info" })] })) : (`Found ${quantifyList(results, 'match', 'matches')}`) }), results
119
+ .slice(0, QUERY_LOADER_TYPEAHEAD_SEARCH_LIMIT)
120
+ .map((query, idx) => (_jsxs("div", { className: "query-loader__result", title: `Click to ${loadActionLabel}...`, onClick: () => queryLoaderState.loadQuery(query), children: [_jsxs("div", { className: "query-loader__result__content", children: [showQueryNameEditInput === idx ? (_jsx("div", { className: "query-loader__result__title__editor", children: _jsx("input", { className: "query-loader__result__title__editor__input input--dark", spellCheck: false, ref: queryRenameInputRef, value: queryNameInputValue, onChange: changeQueryNameInputValue, onKeyDown: (event) => {
121
+ if (event.code === 'Enter') {
122
+ event.stopPropagation();
123
+ renameQuery(query)();
124
+ }
125
+ else if (event.code === 'Escape') {
126
+ event.stopPropagation();
127
+ hideEditQueryNameInput();
128
+ }
129
+ }, onBlur: () => hideEditQueryNameInput(),
130
+ // avoid clicking on the input causing the call to load query
131
+ onClick: (event) => event.stopPropagation() }) })) : (_jsx("div", { className: "query-loader__result__title", title: query.name, children: query.name })), _jsxs("div", { className: "query-loader__result__description", children: [_jsx("div", { className: "query-loader__result__description__date__icon", children: _jsx(LastModifiedIcon, {}) }), _jsx("div", { className: "query-loader__result__description__date", children: query.lastUpdatedAt
132
+ ? formatDistanceToNow(new Date(query.lastUpdatedAt), {
133
+ includeSeconds: true,
134
+ addSuffix: true,
135
+ })
136
+ : '(unknown)' }), _jsx("div", { className: clsx('query-loader__result__description__author__icon', {
137
+ 'query-loader__result__description__author__icon--owner': query.isCurrentUserQuery,
138
+ }), children: _jsx(UserIcon, {}) }), _jsx("div", { className: "query-loader__result__description__author__name", children: query.isCurrentUserQuery ? (_jsx("div", { title: query.owner, className: "query-loader__result__description__owner", children: "Me" })) : (query.owner) })] })] }), _jsx(DropdownMenu, { className: "query-loader__result__actions-menu", title: "More Actions...", content: _jsxs(MenuContent, { children: [_jsx(MenuContentItem, { onClick: () => showPreview(query.id), children: "Show Query Preview" }), !queryLoaderState.isReadOnly && (_jsx(MenuContentItem, { disabled: !query.isCurrentUserQuery, onClick: deleteQuery(query), children: "Delete" })), !queryLoaderState.isReadOnly && (_jsx(MenuContentItem, { disabled: !query.isCurrentUserQuery, onClick: showEditQueryNameInput(query.name, idx), children: "Rename" }))] }), menuProps: {
139
+ anchorOrigin: {
140
+ vertical: 'bottom',
141
+ horizontal: 'left',
142
+ },
143
+ transformOrigin: {
144
+ vertical: 'top',
145
+ horizontal: 'left',
146
+ },
147
+ elevation: 7,
148
+ }, children: _jsx(MoreVerticalIcon, {}) }), _jsx("div", { className: "query-loader__result__arrow", children: _jsx(ThinChevronRightIcon, {}) })] }, query.id)))] })), !queryLoaderState.searchQueriesState.hasCompleted && (_jsx(BlankPanelContent, { children: "Loading queries..." }))] }), queryLoaderState.showPreviewViewer &&
149
+ queryLoaderState.queryPreviewContent && (_jsx(QueryPreviewViewer, { queryLoaderState: queryLoaderState }))] })] }));
150
+ });
151
+ export const QueryLoaderDialog = observer((props) => {
152
+ const { queryLoaderState, title, loadActionLabel } = props;
153
+ const close = () => {
154
+ queryLoaderState.setQueryLoaderDialogOpen(false);
155
+ queryLoaderState.reset();
156
+ };
157
+ return (_jsx(Dialog, { open: queryLoaderState.isQueryLoaderDialogOpen, onClose: close, classes: {
158
+ root: 'query-loader__dialog',
159
+ container: 'query-loader__dialog__container',
160
+ }, PaperProps: {
161
+ classes: { root: 'query-loader__dialog__body' },
162
+ }, children: _jsxs(Modal, { darkMode: true, className: "modal query-loader__dialog__body__content", children: [_jsxs("div", { className: "modal query-loader__dialog__header", children: [_jsx(ModalTitle, { className: "query-loader__dialog__header__title", title: title }), _jsx("button", { className: "query-loader__dialog__header__close-btn", title: "Close", onClick: close, children: _jsx(TimesIcon, {}) })] }), _jsx("div", { className: "modal query-loader__dialog__content", children: _jsx(QueryLoader, { queryLoaderState: queryLoaderState, loadActionLabel: loadActionLabel ?? title.toLowerCase() }) })] }) }));
163
+ });
164
+ //# sourceMappingURL=QueryLoader.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryLoader.js","sourceRoot":"","sources":["../../src/components/QueryLoader.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC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AC,UAAU,IACT,SAAS,EAAC,qCAAqC,EAC/C,KAAK,EAAE,KAAK,GACZ,EACF,iBACE,SAAS,EAAC,yCAAyC,EACnD,KAAK,EAAC,OAAO,EACb,OAAO,EAAE,KAAK,YAEd,KAAC,SAAS,KAAG,GACN,IACL,EACN,cAAK,SAAS,EAAC,qCAAqC,YAClD,KAAC,WAAW,IACV,gBAAgB,EAAE,gBAAgB,EAClC,eAAe,EAAE,eAAe,IAAI,KAAK,CAAC,WAAW,EAAE,GACvD,GACE,IACA,GACD,CACV,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -0,0 +1,23 @@
1
+ /**
2
+ * Copyright (c) 2020-present, Goldman Sachs
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import type { DataAccessState } from '../../stores/data-access/DataAccessState.js';
17
+ export declare const DataAccessOverview: ((props: {
18
+ dataAccessState: DataAccessState;
19
+ compact?: boolean | undefined;
20
+ }) => JSX.Element) & {
21
+ displayName: string;
22
+ };
23
+ //# sourceMappingURL=DataAccessOverview.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DataAccessOverview.d.ts","sourceRoot":"","sources":["../../../src/components/data-access/DataAccessOverview.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAKH,OAAO,KAAK,EACV,eAAe,EAEhB,MAAM,6CAA6C,CAAC;AAgQrD,eAAO,MAAM,kBAAkB,WACrB;IACN,eAAe,EAAE,eAAe,CAAC;IACjC,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CAC/B;;CAyBF,CAAC"}
@@ -0,0 +1,146 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ /**
3
+ * Copyright (c) 2020-present, Goldman Sachs
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ import { useEffect } from 'react';
18
+ import { observer } from 'mobx-react-lite';
19
+ import { useApplicationStore } from '@finos/legend-application';
20
+ import { CheckCircleIcon, ExclamationCircleIcon, MinusCircleIcon, PanelLoadingIndicator, RefreshIcon, TimesCircleIcon, clsx, } from '@finos/legend-art';
21
+ import { DataGrid, } from '@finos/legend-lego/data-grid';
22
+ import { DatasetEntitlementAccessApprovedReport, DatasetEntitlementAccessGrantedReport, DatasetEntitlementAccessNotGrantedReport, DatasetEntitlementAccessRequestedReport, DatasetEntitlementUnsupportedReport, } from '@finos/legend-graph';
23
+ import { Doughnut } from 'react-chartjs-2';
24
+ import { getNullableFirstEntry } from '@finos/legend-shared';
25
+ const DataAccessOverviewChart = observer((props) => {
26
+ const { dataAccessState } = props;
27
+ const applicationStore = useApplicationStore();
28
+ const entitlementCheckInfo = dataAccessState.entitlementCheckInfo;
29
+ const total = entitlementCheckInfo.total;
30
+ const accessGrantedCount = getNullableFirstEntry(entitlementCheckInfo.data)?.count ?? 0;
31
+ const accessGrantedPercentage = getNullableFirstEntry(entitlementCheckInfo.data)?.percentage ?? 0;
32
+ return (_jsxs("div", { className: "data-access-overview__chart", children: [_jsx("div", { className: "data-access-overview__chart__actions", children: _jsx("button", { className: "data-access-overview__chart__actions__refresh-btn btn--dark", tabIndex: -1, title: "Refresh", onClick: () => {
33
+ dataAccessState
34
+ .refresh()
35
+ .catch(applicationStore.alertUnhandledError);
36
+ }, children: _jsx(RefreshIcon, {}) }) }), _jsxs("div", { className: "data-access-overview__chart__container", children: [_jsx(Doughnut, { data: {
37
+ labels: entitlementCheckInfo.data.map((item) => item.label),
38
+ datasets: [
39
+ {
40
+ data: entitlementCheckInfo.data.map((item) => item.count),
41
+ backgroundColor: entitlementCheckInfo.data.map((item) => item.color),
42
+ hoverBorderWidth: 0,
43
+ borderWidth: 0,
44
+ },
45
+ ],
46
+ }, options: {
47
+ responsive: true,
48
+ resizeDelay: 0,
49
+ maintainAspectRatio: false,
50
+ cutout: '75%',
51
+ plugins: {
52
+ tooltip: {
53
+ enabled: total !== 0,
54
+ usePointStyle: false,
55
+ boxPadding: 5,
56
+ callbacks: {
57
+ labelPointStyle: () => ({
58
+ pointStyle: 'rectRounded',
59
+ rotation: 0,
60
+ }),
61
+ },
62
+ },
63
+ },
64
+ } }), _jsxs("div", { className: "data-access-overview__chart__stats", children: [_jsxs("div", { className: "data-access-overview__chart__stats__percentage", children: [accessGrantedPercentage, "%"] }), _jsxs("div", { className: "data-access-overview__chart__stats__tally", children: [total === 0 ? 0 : accessGrantedCount, "/", total] })] })] })] }));
65
+ });
66
+ const AccessStatusCellRenderer = observer((params) => {
67
+ const { data } = params;
68
+ const applicationStore = useApplicationStore();
69
+ if (!data) {
70
+ return null;
71
+ }
72
+ if (data.entitlementReport instanceof DatasetEntitlementAccessGrantedReport) {
73
+ return (_jsx("div", { className: "data-access-overview__grid__access-status-cell", children: _jsxs("div", { className: "data-access-overview__grid__access-status-cell__content", children: [_jsx("div", { className: "data-access-overview__grid__access-status-cell__icon data-access-overview__grid__access-status-cell__icon--access-granted", children: _jsx(CheckCircleIcon, {}) }), _jsx("div", { className: "data-access-overview__grid__access-status-cell__text", children: "Access Granted" })] }) }));
74
+ }
75
+ else if (data.entitlementReport instanceof DatasetEntitlementAccessApprovedReport) {
76
+ return (_jsx("div", { className: "data-access-overview__grid__access-status-cell", children: _jsxs("div", { className: "data-access-overview__grid__access-status-cell__content", children: [_jsx("div", { className: "data-access-overview__grid__access-status-cell__icon data-access-overview__grid__access-status-cell__icon--access-approved", children: _jsx(MinusCircleIcon, {}) }), _jsx("div", { className: "data-access-overview__grid__access-status-cell__text", children: "Access Approved" })] }) }));
77
+ }
78
+ else if (data.entitlementReport instanceof DatasetEntitlementAccessRequestedReport) {
79
+ return (_jsx("div", { className: "data-access-overview__grid__access-status-cell", children: _jsxs("div", { className: "data-access-overview__grid__access-status-cell__content", children: [_jsx("div", { className: "data-access-overview__grid__access-status-cell__icon data-access-overview__grid__access-status-cell__icon--access-requested", children: _jsx(ExclamationCircleIcon, {}) }), _jsx("div", { className: "data-access-overview__grid__access-status-cell__text", children: "Access Requested" })] }) }));
80
+ }
81
+ else if (data.entitlementReport instanceof DatasetEntitlementAccessNotGrantedReport) {
82
+ const plugins = applicationStore.pluginManager
83
+ .getApplicationPlugins()
84
+ .flatMap((plugin) => plugin.getExtraDatasetEntitlementAccessNotGrantedReportActionConfigurations?.() ??
85
+ []);
86
+ let action;
87
+ for (const plugin of plugins) {
88
+ action = plugin.renderer(data);
89
+ if (action) {
90
+ break;
91
+ }
92
+ }
93
+ return (_jsxs("div", { className: "data-access-overview__grid__access-status-cell", children: [_jsxs("div", { className: "data-access-overview__grid__access-status-cell__content", children: [_jsx("div", { className: "data-access-overview__grid__access-status-cell__icon data-access-overview__grid__access-status-cell__icon--access-not-granted", children: _jsx(TimesCircleIcon, {}) }), _jsx("div", { className: "data-access-overview__grid__access-status-cell__text", children: "Access Not Granted" })] }), action && (_jsx("div", { className: "data-access-overview__grid__access-status-cell__action", children: action }))] }));
94
+ }
95
+ else if (data.entitlementReport instanceof DatasetEntitlementUnsupportedReport) {
96
+ return (_jsx("div", { className: "data-access-overview__grid__empty-cell", children: "(unsupported)" }));
97
+ }
98
+ return null;
99
+ });
100
+ const DataAccessOverviewGrid = observer((props) => {
101
+ const { dataAccessState } = props;
102
+ return (_jsx("div", { className: "data-access-overview__grid ag-theme-balham-dark", children: _jsx(DataGrid, { rowData: dataAccessState.datasets, gridOptions: {
103
+ suppressScrollOnNewData: true,
104
+ getRowId: (rowData) => rowData.data.uuid,
105
+ }, columnDefs: [
106
+ {
107
+ minWidth: 50,
108
+ sortable: true,
109
+ resizable: true,
110
+ field: 'specification.name',
111
+ headerName: 'Dataset',
112
+ flex: 1,
113
+ },
114
+ {
115
+ minWidth: 50,
116
+ sortable: true,
117
+ resizable: true,
118
+ field: 'specification.type',
119
+ headerName: 'Type',
120
+ flex: 1,
121
+ },
122
+ {
123
+ minWidth: 50,
124
+ sortable: true,
125
+ resizable: true,
126
+ headerName: 'Access Status',
127
+ cellRendererParams: {
128
+ dataAccessState,
129
+ },
130
+ cellRenderer: AccessStatusCellRenderer,
131
+ flex: 1,
132
+ },
133
+ ] }) }));
134
+ });
135
+ export const DataAccessOverview = observer((props) => {
136
+ const { dataAccessState, compact } = props;
137
+ const applicationStore = useApplicationStore();
138
+ useEffect(() => {
139
+ dataAccessState.intialize().catch(applicationStore.alertUnhandledError);
140
+ }, [applicationStore, dataAccessState]);
141
+ return (_jsxs("div", { className: clsx('data-access-overview', {
142
+ 'data-access-overview--compact': Boolean(compact),
143
+ }), children: [_jsx(PanelLoadingIndicator, { isLoading: dataAccessState.surveyDatasetsState.isInProgress ||
144
+ dataAccessState.checkEntitlementsState.isInProgress }), _jsx(DataAccessOverviewChart, { dataAccessState: dataAccessState }), _jsx(DataAccessOverviewGrid, { dataAccessState: dataAccessState })] }));
145
+ });
146
+ //# sourceMappingURL=DataAccessOverview.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DataAccessOverview.js","sourceRoot":"","sources":["../../../src/components/data-access/DataAccessOverview.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EAAE,QAAQ,EAAE,MA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Q,EAAE,EAAE;oBACZ,QAAQ,EAAE,IAAI;oBACd,SAAS,EAAE,IAAI;oBACf,UAAU,EAAE,eAAe;oBAC3B,kBAAkB,EAAE;wBAClB,eAAe;qBAChB;oBACD,YAAY,EAAE,wBAAwB;oBACtC,IAAI,EAAE,CAAC;iBACR;aACF,GACD,GACE,CACP,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,CAAC,MAAM,kBAAkB,GAAG,QAAQ,CACxC,CAAC,KAGA,EAAE,EAAE;IACH,MAAM,EAAE,eAAe,EAAE,OAAO,EAAE,GAAG,KAAK,CAAC;IAC3C,MAAM,gBAAgB,GAAG,mBAAmB,EAAE,CAAC;IAE/C,SAAS,CAAC,GAAG,EAAE;QACb,eAAe,CAAC,SAAS,EAAE,CAAC,KAAK,CAAC,gBAAgB,CAAC,mBAAmB,CAAC,CAAC;IAC1E,CAAC,EAAE,CAAC,gBAAgB,EAAE,eAAe,CAAC,CAAC,CAAC;IAExC,OAAO,CACL,eACE,SAAS,EAAE,IAAI,CAAC,sBAAsB,EAAE;YACtC,+BAA+B,EAAE,OAAO,CAAC,OAAO,CAAC;SAClD,CAAC,aAEF,KAAC,qBAAqB,IACpB,SAAS,EACP,eAAe,CAAC,mBAAmB,CAAC,YAAY;oBAChD,eAAe,CAAC,sBAAsB,CAAC,YAAY,GAErD,EACF,KAAC,uBAAuB,IAAC,eAAe,EAAE,eAAe,GAAI,EAC7D,KAAC,sBAAsB,IAAC,eAAe,EAAE,eAAe,GAAI,IACxD,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ExecutionPlanViewer.d.ts","sourceRoot":"","sources":["../../../src/components/execution-plan/ExecutionPlanViewer.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAgCH,OAAO,EAIL,KAAK,kBAAkB,EACxB,MAAM,mDAAmD,CAAC;AAE3D,OAAO,EACL,aAAa,EAKd,MAAM,qBAAqB,CAAC;AA4I7B,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC;IACvC,kBAAkB,EAAE,kBAAkB,CAAC;IACvC,aAAa,EAAE,aAAa,CAAC;CAC9B,CA0EA,CAAC;AAoMF,eAAO,MAAM,mBAAmB,WACtB;IAAE,kBAAkB,EAAE,kBAAkB,CAAA;CAAE;;CAwEnD,CAAC"}
1
+ {"version":3,"file":"ExecutionPlanViewer.d.ts","sourceRoot":"","sources":["../../../src/components/execution-plan/ExecutionPlanViewer.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAgCH,OAAO,EAIL,KAAK,kBAAkB,EACxB,MAAM,mDAAmD,CAAC;AAE3D,OAAO,EACL,aAAa,EAKd,MAAM,qBAAqB,CAAC;AA4I7B,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC;IACvC,kBAAkB,EAAE,kBAAkB,CAAC;IACvC,aAAa,EAAE,aAAa,CAAC;CAC9B,CA0EA,CAAC;AAmMF,eAAO,MAAM,mBAAmB,WACtB;IAAE,kBAAkB,EAAE,kBAAkB,CAAA;CAAE;;CAuEnD,CAAC"}
@@ -152,13 +152,13 @@ const ExecutionPlanViewPanel = observer((props) => {
152
152
  anchorOrigin: { vertical: 'bottom', horizontal: 'right' },
153
153
  transformOrigin: { vertical: 'top', horizontal: 'right' },
154
154
  }, children: _jsx("div", { className: "execution-plan-viewer__panel__view-mode__type__label", children: executionPlanState.viewMode }) })] }), _jsxs("div", { className: "panel__content execution-plan-viewer__panel__content", children: [executionPlanState.viewMode === EXECUTION_PLAN_VIEW_MODE.JSON &&
155
- Boolean(displayData) && (_jsx(CodeEditor, { inputValue: displayData, isReadOnly: true, language: CODE_EDITOR_LANGUAGE.JSON, showMiniMap: false })), executionPlanState.viewMode ===
155
+ Boolean(displayData) && (_jsx(CodeEditor, { inputValue: displayData, isReadOnly: true, language: CODE_EDITOR_LANGUAGE.JSON, hideMinimap: true })), executionPlanState.viewMode ===
156
156
  EXECUTION_PLAN_VIEW_MODE.FORM && (_jsxs(_Fragment, { children: [currentElement instanceof ExecutionNode && (_jsx(ExecutionNodeViewer, { executionNode: currentElement, executionPlanState: executionPlanState })), currentElement instanceof ExecutionPlan && (_jsx(BlankPanelContent, { children: _jsxs("div", { className: "execution-plan-viewer__unsupported-view", children: [_jsx("div", { className: "execution-plan-viewer__unsupported-view__summary", children: `Can't display full execution plan` }), _jsx("button", { className: "btn--dark execution-plan-viewer__unsupported-view__to-text-mode__btn", onClick: () => executionPlanState.setViewMode(EXECUTION_PLAN_VIEW_MODE.JSON), children: "View JSON" })] }) }))] }))] })] })) }));
157
157
  });
158
158
  const ExecutionPlanViewerContent = observer((props) => {
159
159
  const { executionPlanState, rawPlan } = props;
160
160
  const plan = executionPlanState.plan;
161
- return (_jsx("div", { className: "execution-plan-viewer__content", children: plan ? (_jsxs(ResizablePanelGroup, { orientation: "vertical", children: [_jsx(ResizablePanel, { size: 300, minSize: 300, children: _jsxs("div", { className: "panel execution-plan-viewer__explorer", children: [_jsx(PanelSideBarHeader, { darkMode: true, title: "execution plan explorer" }), _jsx("div", { className: "panel__content execution-plan-viewer__explorer__content__container", children: _jsx(ExecutionPlanTree, { executionPlanState: executionPlanState, executionPlan: plan }) })] }) }), _jsx(ResizablePanelSplitter, { children: _jsx(ResizablePanelSplitterLine, { color: "var(--color-dark-grey-200)" }) }), _jsx(ResizablePanel, { children: _jsx(ExecutionPlanViewPanel, { displayData: executionPlanState.displayData, executionPlanState: executionPlanState }) })] })) : (_jsx(CodeEditor, { inputValue: JSON.stringify(rawPlan, undefined, DEFAULT_TAB_SIZE), isReadOnly: true, language: CODE_EDITOR_LANGUAGE.JSON, showMiniMap: true })) }));
161
+ return (_jsx("div", { className: "execution-plan-viewer__content", children: plan ? (_jsxs(ResizablePanelGroup, { orientation: "vertical", children: [_jsx(ResizablePanel, { size: 300, minSize: 300, children: _jsxs("div", { className: "panel execution-plan-viewer__explorer", children: [_jsx(PanelSideBarHeader, { darkMode: true, title: "execution plan explorer" }), _jsx("div", { className: "panel__content execution-plan-viewer__explorer__content__container", children: _jsx(ExecutionPlanTree, { executionPlanState: executionPlanState, executionPlan: plan }) })] }) }), _jsx(ResizablePanelSplitter, { children: _jsx(ResizablePanelSplitterLine, { color: "var(--color-dark-grey-200)" }) }), _jsx(ResizablePanel, { children: _jsx(ExecutionPlanViewPanel, { displayData: executionPlanState.displayData, executionPlanState: executionPlanState }) })] })) : (_jsx(CodeEditor, { inputValue: JSON.stringify(rawPlan, undefined, DEFAULT_TAB_SIZE), isReadOnly: true, language: CODE_EDITOR_LANGUAGE.JSON })) }));
162
162
  });
163
163
  export const ExecutionPlanViewer = observer((props) => {
164
164
  const { executionPlanState } = props;
@@ -177,6 +177,6 @@ export const ExecutionPlanViewer = observer((props) => {
177
177
  root: 'editor-modal__root-container',
178
178
  container: 'editor-modal__container',
179
179
  paper: 'editor-modal__content',
180
- }, children: _jsxs(Modal, { className: "editor-modal", darkMode: true, children: [_jsx(ModalHeader, { title: "Execution Plan" }), _jsx(ModalBody, { children: executionPlanState.debugText ? (_jsxs(ResizablePanelGroup, { orientation: "horizontal", children: [_jsx(ResizablePanel, { minSize: 100, children: _jsx(ExecutionPlanViewerContent, { executionPlanState: executionPlanState, rawPlan: rawPlan }) }), _jsx(ResizablePanelSplitter, { children: _jsx(ResizablePanelSplitterLine, { color: "var(--color-dark-grey-200)" }) }), _jsx(ResizablePanel, { size: 200, minSize: 28, children: _jsxs("div", { className: "panel execution-plan-viewer__debug-panel", children: [_jsx("div", { className: "panel__header", children: _jsx("div", { className: "panel__header__title", children: _jsx("div", { className: "panel__header__title__label", children: "DEBUG LOG" }) }) }), _jsx(PanelContent, { children: _jsx(CodeEditor, { inputValue: executionPlanState.debugText, isReadOnly: true, language: CODE_EDITOR_LANGUAGE.TEXT, showMiniMap: true }) })] }) })] })) : (_jsx(ExecutionPlanViewerContent, { executionPlanState: executionPlanState, rawPlan: rawPlan })) }), _jsx(ModalFooter, { children: _jsx(ModalFooterButton, { onClick: closePlanViewer, text: "Close" }) })] }) }));
180
+ }, children: _jsxs(Modal, { className: "editor-modal", darkMode: true, children: [_jsx(ModalHeader, { title: "Execution Plan" }), _jsx(ModalBody, { children: executionPlanState.debugText ? (_jsxs(ResizablePanelGroup, { orientation: "horizontal", children: [_jsx(ResizablePanel, { minSize: 100, children: _jsx(ExecutionPlanViewerContent, { executionPlanState: executionPlanState, rawPlan: rawPlan }) }), _jsx(ResizablePanelSplitter, { children: _jsx(ResizablePanelSplitterLine, { color: "var(--color-dark-grey-200)" }) }), _jsx(ResizablePanel, { size: 200, minSize: 28, children: _jsxs("div", { className: "panel execution-plan-viewer__debug-panel", children: [_jsx("div", { className: "panel__header", children: _jsx("div", { className: "panel__header__title", children: _jsx("div", { className: "panel__header__title__label", children: "DEBUG LOG" }) }) }), _jsx(PanelContent, { children: _jsx(CodeEditor, { inputValue: executionPlanState.debugText, isReadOnly: true, language: CODE_EDITOR_LANGUAGE.TEXT }) })] }) })] })) : (_jsx(ExecutionPlanViewerContent, { executionPlanState: executionPlanState, rawPlan: rawPlan })) }), _jsx(ModalFooter, { children: _jsx(ModalFooterButton, { onClick: closePlanViewer, text: "Close" }) })] }) }));
181
181
  });
182
182
  //# sourceMappingURL=ExecutionPlanViewer.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ExecutionPlanViewer.js","sourceRoot":"","sources":["../../../src/components/execution-plan/ExecutionPlanViewer.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjC,OAAO,EAGL,MAAM,EACN,mBAAmB,EACnB,sBAAsB,EACtB,cAAc,EACd,0BAA0B,EAC1B,IAAI,EACJ,QAAQ,EACR,eAAe,EACf,gBAAgB,EAChB,eAAe,EACf,WAAW,EACX,YAAY,EACZ,iBAAiB,EACjB,YAAY,EACZ,WAAW,EACX,KAAK,EACL,SAAS,EACT,WAAW,EACX,kBAAkB,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AkB,EACtC,OAAO,EAAE,OAAO,GAChB,CACH,GACS,EACZ,KAAC,WAAW,cACV,KAAC,iBAAiB,IAAC,OAAO,EAAE,eAAe,EAAE,IAAI,EAAC,OAAO,GAAG,GAChD,IACR,GACD,CACV,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"ExecutionPlanViewer.js","sourceRoot":"","sources":["../../../src/components/execution-plan/ExecutionPlanViewer.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjC,OAAO,EAGL,MAAM,EACN,mBAAmB,EACnB,sBAAsB,EACtB,cAAc,EACd,0BAA0B,EAC1B,IAAI,EACJ,QAAQ,EACR,eAAe,EACf,gBAAgB,EAChB,eAAe,EACf,WAAW,EACX,YAAY,EACZ,iBAAiB,EACjB,YAAY,EACZ,WAAW,EACX,KAAK,EACL,SAAS,EACT,WAAW,EACX,kBAAkB,EAClB,iBAAiB,GAClB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,cAAc,EACd,YAAY,EACZ,aAAa,GACd,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,yBAAyB,EACzB,6BAA6B,EAC7B,wBAAwB,GAEzB,MAAM,mDAAmD,CAAC;AAC3D,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,aAAa,EACb,aAAa,EACb,gBAAgB,EAChB,uCAAuC,GAExC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,EACL,oBAAoB,EACpB,UAAU,GACX,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAE7D;;;GAGG;AACH,MAAM,0BAA0B,GAAG,CAAC,IAAmB,EAAU,EAAE;IACjE,IAAI,IAAI,YAAY,gBAAgB,EAAE;QACpC,OAA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AkB,EACtC,OAAO,EAAE,OAAO,GAChB,GACa,EACjB,KAAC,sBAAsB,cACrB,KAAC,0BAA0B,IAAC,KAAK,EAAC,4BAA4B,GAAG,GAC1C,EACzB,KAAC,cAAc,IAAC,IAAI,EAAE,GAAG,EAAE,OAAO,EAAE,EAAE,YACpC,eAAK,SAAS,EAAC,0CAA0C,aACvD,cAAK,SAAS,EAAC,eAAe,YAC5B,cAAK,SAAS,EAAC,sBAAsB,YACnC,cAAK,SAAS,EAAC,6BAA6B,0BAEtC,GACF,GACF,EACN,KAAC,YAAY,cACX,KAAC,UAAU,IACT,UAAU,EAAE,kBAAkB,CAAC,SAAS,EACxC,UAAU,EAAE,IAAI,EAChB,QAAQ,EAAE,oBAAoB,CAAC,IAAI,GACnC,GACW,IACX,GACS,IACG,CACvB,CAAC,CAAC,CAAC,CACF,KAAC,0BAA0B,IACzB,kBAAkB,EAAE,kBAAkB,EACtC,OAAO,EAAE,OAAO,GAChB,CACH,GACS,EACZ,KAAC,WAAW,cACV,KAAC,iBAAiB,IAAC,OAAO,EAAE,eAAe,EAAE,IAAI,EAAC,OAAO,GAAG,GAChD,IACR,GACD,CACV,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -26,6 +26,6 @@ import { CODE_EDITOR_LANGUAGE, CodeEditor, } from '@finos/legend-lego/code-edito
26
26
  */
27
27
  export const SQLExecutionNodeViewer = observer((props) => {
28
28
  const { query } = props;
29
- return (_jsx(CodeEditor, { inputValue: formatSQL(query), isReadOnly: true, language: CODE_EDITOR_LANGUAGE.SQL, showMiniMap: false }));
29
+ return (_jsx(CodeEditor, { inputValue: formatSQL(query), isReadOnly: true, language: CODE_EDITOR_LANGUAGE.SQL, hideMinimap: true }));
30
30
  });
31
31
  //# sourceMappingURL=SQLExecutionNodeViewer.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"SQLExecutionNodeViewer.js","sourceRoot":"","sources":["../../../src/components/execution-plan/SQLExecutionNodeViewer.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAE3C,OAAO,EAAE,MAAM,IAAI,SAAS,EAAE,MAAM,eAAe,CAAC;AAEpD,OAAO,EACL,oBAAoB,EACpB,UAAU,GACX,MAAM,gCAAgC,CAAC;AAExC;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAI9B,QAAQ,CAAC,CAAC,KAAK,EAAE,EAAE;IACtB,MAAM,EAAE,KAAK,EAAE,GAAG,KAAK,CAAC;IAExB,OAAO,CACL,KAAC,UAAU,IACT,UAAU,EAAE,SAAS,CAAC,KAAK,CAAC,EAC5B,UAAU,EAAE,IAAI,EAChB,QAAQ,EAAE,oBAAoB,CAAC,GAAG,EAClC,WAAW,EAAE,KAAK,GAClB,CACH,CAAC;AACJ,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"SQLExecutionNodeViewer.js","sourceRoot":"","sources":["../../../src/components/execution-plan/SQLExecutionNodeViewer.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAE3C,OAAO,EAAE,MAAM,IAAI,SAAS,EAAE,MAAM,eAAe,CAAC;AAEpD,OAAO,EACL,oBAAoB,EACpB,UAAU,GACX,MAAM,gCAAgC,CAAC;AAExC;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAI9B,QAAQ,CAAC,CAAC,KAAK,EAAE,EAAE;IACtB,MAAM,EAAE,KAAK,EAAE,GAAG,KAAK,CAAC;IAExB,OAAO,CACL,KAAC,UAAU,IACT,UAAU,EAAE,SAAS,CAAC,KAAK,CAAC,EAC5B,UAAU,EAAE,IAAI,EAChB,QAAQ,EAAE,oBAAoB,CAAC,GAAG,EAClC,WAAW,EAAE,IAAI,GACjB,CACH,CAAC;AACJ,CAAC,CAAC,CAAC"}
@@ -14,7 +14,7 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
14
14
  * See the License for the specific language governing permissions and
15
15
  * limitations under the License.
16
16
  */
17
- import React, { useMemo, useRef, useState } from 'react';
17
+ import { useMemo, useRef, useState } from 'react';
18
18
  import { clsx, CheckSquareIcon, SquareIcon, BasePopover, ResizablePanelSplitter, ResizablePanelGroup, ResizablePanel, ResizablePanelSplitterLine, InfoCircleIcon, TimesIcon, SearchIcon, useDragPreviewLayer, PanelLoadingIndicator, BlankPanelContent, CogIcon, } from '@finos/legend-art';
19
19
  import { Class, Enumeration, getAllClassProperties, getAllOwnClassProperties, } from '@finos/legend-graph';
20
20
  import { debounce, guaranteeNonNullable, prettyCONSTName, } from '@finos/legend-shared';
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderPropertySearchPanel.js","sourceRoot":"","sources":["../../../src/components/explorer/QueryBuilderPropertySearchPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACzD,OAAO,EACL,IAAI,EACJ,eAAe,EACf,UAAU,EACV,WAAW,EACX,sBAAsB,EACtB,mBAAmB,EACnB,cAAc,EACd,0BAA0B,EAC1B,cAAc,EACd,SAAS,EACT,UAAU,EACV,mBAAmB,EACnB,qBAAqB,EACrB,iBAAiB,EACjB,OAAO,GACR,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,KAAK,EACL,WAAW,EACX,qBAAqB,EACrB,wBAAwB,GACzB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,QAAQ,EACR,oBAAoB,EACpB,eAAe,GAChB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,kCAAkC,EAAE,MAAM,oCAAoC,CAAC;AACxF,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F,CAAC,mBAAmB,CAAC,qBAAqB,CAAC,MAAM;wDAChD,mBAAmB,CAAC,UAAU,IAAI,CAChC,MAAC,iBAAiB,eAChB,cAAK,SAAS,EAAC,+DAA+D,0BAExE,EACN,cAAK,SAAS,EAAC,+DAA+D,6GAGxE,IACY,CACrB,IACF,CACJ,EACA,mBAAmB,CAAC,WAAW,CAAC,YAAY,IAAI,CAC/C,KAAC,iBAAiB,+BAAiC,CACpD,IACG,IACS,IACG,GAClB,IACF,GACM,CACf,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"QueryBuilderPropertySearchPanel.js","sourceRoot":"","sources":["../../../src/components/explorer/QueryBuilderPropertySearchPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAClD,OAAO,EACL,IAAI,EACJ,eAAe,EACf,UAAU,EACV,WAAW,EACX,sBAAsB,EACtB,mBAAmB,EACnB,cAAc,EACd,0BAA0B,EAC1B,cAAc,EACd,SAAS,EACT,UAAU,EACV,mBAAmB,EACnB,qBAAqB,EACrB,iBAAiB,EACjB,OAAO,GACR,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,KAAK,EACL,WAAW,EACX,qBAAqB,EACrB,wBAAwB,GACzB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,QAAQ,EACR,oBAAoB,EACpB,eAAe,GAChB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,kCAAkC,EAAE,MAAM,oCAAoC,CAAC;AACxF,OAAO,EAEL,wCAAwC,EACxC,uCAAuC,EACvC,oCAAoC,EACpC,+BAA+B,GAEhC,MAAM,oDAAoD,CAAC;AAE5D,OAAO,EACL,+BAA+B,EAC/B,sB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D,0BAExE,EACN,cAAK,SAAS,EAAC,+DAA+D,6GAGxE,IACY,CACrB,IACF,CACJ,EACA,mBAAmB,CAAC,WAAW,CAAC,YAAY,IAAI,CAC/C,KAAC,iBAAiB,+BAAiC,CACpD,IACG,IACS,IACG,GAClB,IACF,GACM,CACf,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -13,25 +13,7 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- /// <reference types="react" resolution-mode="require"/>
17
- import { AbstractPropertyExpression, Property, VariableExpression } from '@finos/legend-graph';
18
16
  import type { QueryBuilderTDSState } from '../../stores/fetch-structure/tds/QueryBuilderTDSState.js';
19
- import { type QueryBuilderAggregateCalendarFunction } from '../../stores/fetch-structure/tds/aggregation/QueryBuilderAggregateCalendarFunction.js';
20
- import { QUERY_BUILDER_CALENDAR_TYPE } from '../../graph-manager/QueryBuilderConst.js';
21
- export type CalendarFunctionOption = {
22
- label: string | React.ReactNode;
23
- value: QueryBuilderAggregateCalendarFunction;
24
- };
25
- export declare const buildCalendarFunctionOption: (calendarFunction: QueryBuilderAggregateCalendarFunction) => CalendarFunctionOption;
26
- export type CalendarFunctionDateColumnOption = {
27
- label: string;
28
- value: AbstractPropertyExpression;
29
- };
30
- export declare const buildCalendarFunctionDateColumnOption: (dateColumn: Property | AbstractPropertyExpression, parameter: VariableExpression, humanizeLabel: boolean) => CalendarFunctionDateColumnOption;
31
- export type CalendarTypeOption = {
32
- label: string;
33
- value: QUERY_BUILDER_CALENDAR_TYPE;
34
- };
35
17
  export declare const QueryBuilderTDSPanel: ((props: {
36
18
  tdsState: QueryBuilderTDSState;
37
19
  }) => JSX.Element) & {
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderTDSPanel.d.ts","sourceRoot":"","sources":["../../../src/components/fetch-structure/QueryBuilderTDSPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAiDH,OAAO,EAKL,0BAA0B,EAE1B,QAAQ,EAER,kBAAkB,EAQnB,MAAM,qBAAqB,CAAC;AAO7B,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0DAA0D,CAAC;AAOrG,OAAO,EAAE,KAAK,qCAAqC,EAAE,MAAM,uFAAuF,CAAC;AAQnJ,OAAO,EAAE,2BAA2B,EAAE,MAAM,0CAA0C,CAAC;AAEvF,MAAM,MAAM,sBAAsB,GAAG;IACnC,KAAK,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;IAChC,KAAK,EAAE,qCAAqC,CAAC;CAC9C,CAAC;AAEF,eAAO,MAAM,2BAA2B,qBACpB,qCAAqC,KACtD,sBAaD,CAAC;AAEH,MAAM,MAAM,gCAAgC,GAAG;IAC7C,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,0BAA0B,CAAC;CACnC,CAAC;AAEF,eAAO,MAAM,qCAAqC,eACpC,QAAQ,GAAG,0BAA0B,aACtC,kBAAkB,iBACd,OAAO,KACrB,gCAkBF,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,2BAA2B,CAAC;CACpC,CAAC;AAoqBF,eAAO,MAAM,oBAAoB,WACvB;IAAE,QAAQ,EAAE,oBAAoB,CAAA;CAAE;;CAqK3C,CAAC"}
1
+ {"version":3,"file":"QueryBuilderTDSPanel.d.ts","sourceRoot":"","sources":["../../../src/components/fetch-structure/QueryBuilderTDSPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAyEH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0DAA0D,CAAC;AAwuBrG,eAAO,MAAM,oBAAoB,WACvB;IAAE,QAAQ,EAAE,oBAAoB,CAAA;CAAE;;CAqK3C,CAAC"}