@finos/legend-query-builder 3.2.0 → 3.2.1
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/__lib__/QueryBuilderColorTheme.d.ts +23 -0
- package/lib/__lib__/QueryBuilderColorTheme.d.ts.map +1 -0
- package/lib/__lib__/QueryBuilderColorTheme.js +24 -0
- package/lib/__lib__/QueryBuilderColorTheme.js.map +1 -0
- package/lib/components/QueryBuilder.d.ts.map +1 -1
- package/lib/components/QueryBuilder.js +17 -15
- package/lib/components/QueryBuilder.js.map +1 -1
- package/lib/components/QueryBuilder_LegendApplicationPlugin.d.ts.map +1 -1
- package/lib/components/QueryBuilder_LegendApplicationPlugin.js +3 -0
- package/lib/components/QueryBuilder_LegendApplicationPlugin.js.map +1 -1
- package/lib/components/QueryLoader.d.ts.map +1 -1
- package/lib/components/QueryLoader.js +6 -2
- package/lib/components/QueryLoader.js.map +1 -1
- package/lib/components/data-access/DataAccessOverview.d.ts +23 -0
- package/lib/components/data-access/DataAccessOverview.d.ts.map +1 -0
- package/lib/components/data-access/DataAccessOverview.js +146 -0
- package/lib/components/data-access/DataAccessOverview.js.map +1 -0
- package/lib/components/execution-plan/ExecutionPlanViewer.d.ts.map +1 -1
- package/lib/components/execution-plan/ExecutionPlanViewer.js +3 -3
- package/lib/components/execution-plan/ExecutionPlanViewer.js.map +1 -1
- package/lib/components/execution-plan/SQLExecutionNodeViewer.js +1 -1
- package/lib/components/execution-plan/SQLExecutionNodeViewer.js.map +1 -1
- package/lib/components/explorer/QueryBuilderPropertySearchPanel.js +1 -1
- package/lib/components/explorer/QueryBuilderPropertySearchPanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.d.ts +0 -18
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.d.ts.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.js +34 -36
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.js.map +1 -1
- package/lib/components/shared/LambdaEditor.d.ts.map +1 -1
- package/lib/components/shared/LambdaEditor.js +7 -19
- package/lib/components/shared/LambdaEditor.js.map +1 -1
- package/lib/index.css +1 -17
- package/lib/index.css.map +1 -1
- package/lib/index.d.ts +2 -0
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +2 -0
- package/lib/index.js.map +1 -1
- package/lib/package.json +4 -2
- package/lib/stores/QueryBuilderState.d.ts +3 -3
- package/lib/stores/QueryBuilderState.d.ts.map +1 -1
- package/lib/stores/QueryBuilderState.js +34 -18
- package/lib/stores/QueryBuilderState.js.map +1 -1
- package/lib/stores/QueryBuilder_LegendApplicationPlugin_Extension.d.ts +9 -0
- package/lib/stores/QueryBuilder_LegendApplicationPlugin_Extension.d.ts.map +1 -1
- package/lib/stores/data-access/DataAccessState.d.ts +56 -0
- package/lib/stores/data-access/DataAccessState.d.ts.map +1 -0
- package/lib/stores/data-access/DataAccessState.js +212 -0
- package/lib/stores/data-access/DataAccessState.js.map +1 -0
- package/lib/stores/entitlements/QueryBuilderCheckEntitlementsState.d.ts +4 -2
- package/lib/stores/entitlements/QueryBuilderCheckEntitlementsState.d.ts.map +1 -1
- package/lib/stores/entitlements/QueryBuilderCheckEntitlementsState.js +20 -6
- package/lib/stores/entitlements/QueryBuilderCheckEntitlementsState.js.map +1 -1
- package/package.json +12 -10
- package/src/__lib__/QueryBuilderColorTheme.ts +23 -0
- package/src/components/QueryBuilder.tsx +63 -47
- package/src/components/QueryBuilder_LegendApplicationPlugin.ts +4 -0
- package/src/components/QueryLoader.tsx +4 -1
- package/src/components/data-access/DataAccessOverview.tsx +308 -0
- package/src/components/execution-plan/ExecutionPlanViewer.tsx +1 -3
- package/src/components/execution-plan/SQLExecutionNodeViewer.tsx +1 -1
- package/src/components/explorer/QueryBuilderPropertySearchPanel.tsx +1 -1
- package/src/components/fetch-structure/QueryBuilderTDSPanel.tsx +99 -102
- package/src/components/shared/LambdaEditor.tsx +4 -21
- package/src/index.ts +4 -0
- package/src/stores/QueryBuilderState.ts +65 -19
- package/src/stores/QueryBuilder_LegendApplicationPlugin_Extension.ts +10 -0
- package/src/stores/data-access/DataAccessState.ts +322 -0
- package/src/stores/entitlements/QueryBuilderCheckEntitlementsState.ts +53 -6
- package/tsconfig.json +3 -0
@@ -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
|
+
export declare enum QUERY_BUILDER_COLOR_THEME_KEY {
|
17
|
+
DATA_ACCESS_OVERVIEW__CHART__ACCESS_GRANTED = "data-access-overview.chart.access-granted",
|
18
|
+
DATA_ACCESS_OVERVIEW__CHART__ACCESS_APPROVED = "data-access-overview.chart.access-approved",
|
19
|
+
DATA_ACCESS_OVERVIEW__CHART__ACCESS_REQUESTED = "data-access-overview.chart.access-requested",
|
20
|
+
DATA_ACCESS_OVERVIEW__CHART__ACCESS_NOT_GRANTED = "data-access-overview.chart.access-not-granted",
|
21
|
+
DATA_ACCESS_OVERVIEW__CHART__UNSUPPORTED_ACCESS = "data-access-overview.chart.unsupported-access"
|
22
|
+
}
|
23
|
+
//# sourceMappingURL=QueryBuilderColorTheme.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"QueryBuilderColorTheme.d.ts","sourceRoot":"","sources":["../../src/__lib__/QueryBuilderColorTheme.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,oBAAY,6BAA6B;IACvC,2CAA2C,8CAA8C;IACzF,4CAA4C,+CAA+C;IAC3F,6CAA6C,gDAAgD;IAC7F,+CAA+C,kDAAkD;IACjG,+CAA+C,kDAAkD;CAClG"}
|
@@ -0,0 +1,24 @@
|
|
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
|
+
export var QUERY_BUILDER_COLOR_THEME_KEY;
|
17
|
+
(function (QUERY_BUILDER_COLOR_THEME_KEY) {
|
18
|
+
QUERY_BUILDER_COLOR_THEME_KEY["DATA_ACCESS_OVERVIEW__CHART__ACCESS_GRANTED"] = "data-access-overview.chart.access-granted";
|
19
|
+
QUERY_BUILDER_COLOR_THEME_KEY["DATA_ACCESS_OVERVIEW__CHART__ACCESS_APPROVED"] = "data-access-overview.chart.access-approved";
|
20
|
+
QUERY_BUILDER_COLOR_THEME_KEY["DATA_ACCESS_OVERVIEW__CHART__ACCESS_REQUESTED"] = "data-access-overview.chart.access-requested";
|
21
|
+
QUERY_BUILDER_COLOR_THEME_KEY["DATA_ACCESS_OVERVIEW__CHART__ACCESS_NOT_GRANTED"] = "data-access-overview.chart.access-not-granted";
|
22
|
+
QUERY_BUILDER_COLOR_THEME_KEY["DATA_ACCESS_OVERVIEW__CHART__UNSUPPORTED_ACCESS"] = "data-access-overview.chart.unsupported-access";
|
23
|
+
})(QUERY_BUILDER_COLOR_THEME_KEY = QUERY_BUILDER_COLOR_THEME_KEY || (QUERY_BUILDER_COLOR_THEME_KEY = {}));
|
24
|
+
//# sourceMappingURL=QueryBuilderColorTheme.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"QueryBuilderColorTheme.js","sourceRoot":"","sources":["../../src/__lib__/QueryBuilderColorTheme.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,MAAM,CAAN,IAAY,6BAMX;AAND,WAAY,6BAA6B;IACvC,0HAAyF,CAAA;IACzF,4HAA2F,CAAA;IAC3F,8HAA6F,CAAA;IAC7F,kIAAiG,CAAA;IACjG,kIAAiG,CAAA;AACnG,CAAC,EANW,6BAA6B,GAA7B,6BAA6B,KAA7B,6BAA6B,QAMxC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilder.d.ts","sourceRoot":"","sources":["../../src/components/QueryBuilder.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAmCH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;
|
1
|
+
{"version":3,"file":"QueryBuilder.d.ts","sourceRoot":"","sources":["../../src/components/QueryBuilder.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAmCH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAkNxE,eAAO,MAAM,YAAY,WACf;IAAE,iBAAiB,EAAE,iBAAiB,CAAA;CAAE;;CAkejD,CAAC"}
|
@@ -15,7 +15,7 @@ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-run
|
|
15
15
|
* limitations under the License.
|
16
16
|
*/
|
17
17
|
import { observer } from 'mobx-react-lite';
|
18
|
-
import { clsx, HammerIcon, ResizablePanelGroup, ResizablePanel, ResizablePanelSplitter, HackerIcon, DropdownMenu, MenuContent, MenuContentItem, MenuContentItemIcon, MenuContentItemLabel, CheckIcon, CaretDownIcon, DiffIcon, WaterDropIcon, AssistantIcon, MenuContentDivider, Dialog, Modal, ModalBody, ModalFooter, ModalHeader, BlankPanelContent, ModalFooterButton,
|
18
|
+
import { clsx, HammerIcon, ResizablePanelGroup, ResizablePanel, ResizablePanelSplitter, HackerIcon, DropdownMenu, MenuContent, MenuContentItem, MenuContentItemIcon, MenuContentItemLabel, CheckIcon, CaretDownIcon, DiffIcon, WaterDropIcon, AssistantIcon, MenuContentDivider, Dialog, Modal, ModalBody, ModalFooter, ModalHeader, BlankPanelContent, ModalFooterButton, CalendarClockIcon, } from '@finos/legend-art';
|
19
19
|
import { QueryBuilderFilterPanel } from './filter/QueryBuilderFilterPanel.js';
|
20
20
|
import { QueryBuilderExplorerPanel } from './explorer/QueryBuilderExplorerPanel.js';
|
21
21
|
import { QueryBuilderSidebar } from './QueryBuilderSideBar.js';
|
@@ -39,6 +39,7 @@ import { QueryBuilderConstantExpressionPanel } from './QueryBuilderConstantExpre
|
|
39
39
|
import { QueryBuilder_LegendApplicationPlugin } from './QueryBuilder_LegendApplicationPlugin.js';
|
40
40
|
import { QUERY_BUILDER_SETTING_KEY } from '../__lib__/QueryBuilderSetting.js';
|
41
41
|
import { QUERY_BUILDER_COMPONENT_ELEMENT_ID } from './QueryBuilderComponentElement.js';
|
42
|
+
import { DataAccessOverview } from './data-access/DataAccessOverview.js';
|
42
43
|
const QueryBuilderStatusBar = observer((props) => {
|
43
44
|
const { queryBuilderState } = props;
|
44
45
|
const applicationStore = useApplicationStore();
|
@@ -76,13 +77,13 @@ const renderCheckEntitlementsEditor = (queryBuilderState, plugins) => {
|
|
76
77
|
}
|
77
78
|
}
|
78
79
|
const handleClose = () => {
|
79
|
-
queryBuilderState.checkEntitlementsState.
|
80
|
+
queryBuilderState.checkEntitlementsState.setShowCheckEntitlementsViewer(false);
|
80
81
|
};
|
81
|
-
return (_jsx(Dialog, { open: queryBuilderState.checkEntitlementsState.
|
82
|
+
return (_jsx(Dialog, { open: queryBuilderState.checkEntitlementsState.showCheckEntitlementsViewer, onClose: handleClose, classes: {
|
82
83
|
root: 'editor-modal__root-container',
|
83
84
|
container: 'editor-modal__container',
|
84
85
|
paper: 'editor-modal__content',
|
85
|
-
}, children: _jsxs(Modal, { darkMode: true, className: "editor-modal", children: [_jsx(ModalHeader, { title: "Query Entitlements" }), _jsx(ModalBody, { children: _jsx(BlankPanelContent, { children: "
|
86
|
+
}, children: _jsxs(Modal, { darkMode: true, className: "editor-modal", children: [_jsx(ModalHeader, { title: "Query Entitlements" }), _jsx(ModalBody, { className: "query-builder__data-access-overview", children: _jsx("div", { className: "query-builder__data-access-overview__container", children: queryBuilderState.checkEntitlementsState.dataAccessState ? (_jsx(DataAccessOverview, { dataAccessState: queryBuilderState.checkEntitlementsState.dataAccessState })) : (_jsx(BlankPanelContent, { children: "No data access information available" })) }) }), _jsx(ModalFooter, { children: _jsx(ModalFooterButton, { text: "Close", onClick: handleClose }) })] }) }));
|
86
87
|
};
|
87
88
|
export const QueryBuilder = observer((props) => {
|
88
89
|
const { queryBuilderState } = props;
|
@@ -166,7 +167,7 @@ export const QueryBuilder = observer((props) => {
|
|
166
167
|
openLambdaEditor(QueryBuilderTextEditorMode.JSON);
|
167
168
|
};
|
168
169
|
const openCheckEntitlmentsEditor = () => {
|
169
|
-
queryBuilderState.checkEntitlementsState.
|
170
|
+
queryBuilderState.checkEntitlementsState.setShowCheckEntitlementsViewer(true);
|
170
171
|
};
|
171
172
|
useCommands(queryBuilderState);
|
172
173
|
const toggleShowOLAPGroupByPanel = () => {
|
@@ -187,38 +188,39 @@ export const QueryBuilder = observer((props) => {
|
|
187
188
|
}
|
188
189
|
return null;
|
189
190
|
};
|
190
|
-
return (_jsxs("div", { "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER, className: "query-builder", children: [_jsx(BackdropContainer, { elementId: QUERY_BUILDER_COMPONENT_ELEMENT_ID.BACKDROP_CONTAINER }), _jsxs("div", { className: "query-builder__body", children: [_jsxs("div", { className: "query-builder__content", children: [_jsxs("div", { className: "query-
|
191
|
+
return (_jsxs("div", { "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER, className: "query-builder", children: [_jsx(BackdropContainer, { elementId: QUERY_BUILDER_COMPONENT_ELEMENT_ID.BACKDROP_CONTAINER }), _jsxs("div", { className: "query-builder__body", children: [_jsxs("div", { className: "query-builder__content", children: [_jsxs("div", { className: "query-builder__header", children: [_jsxs("div", { className: "query-builder__header__statuses", children: [queryBuilderState.watermarkState.value && (_jsx("button", { className: "query-builder__header__status query-builder__header__status--action", onClick: openWatermark, tabIndex: -1, title: "Used watermark", children: _jsx(WaterDropIcon, {}) })), queryBuilderState.isCalendarEnabled && (_jsx("div", { className: "query-builder__header__status", title: "Used calendar aggregation", children: _jsx(CalendarClockIcon, { className: "query-builder__header__status__icon--calendar" }) })), queryBuilderState.watermarkState.isEditingWatermark && (_jsx(QueryBuilderWatermarkEditor, { queryBuilderState: queryBuilderState }))] }), _jsx("div", { className: "query-builder__header__actions", children: _jsxs(DropdownMenu, { className: "query-builder__header__advanced-dropdown", title: "Show Advanced Menu...", content: _jsxs(MenuContent, { children: [_jsxs(MenuContentItem, { onClick: toggleShowFunctionPanel, disabled: !queryBuilderState.isQuerySupported, children: [_jsx(MenuContentItemIcon, { children: queryBuilderState.showFunctionsExplorerPanel ? (_jsx(CheckIcon, {})) : null }), _jsx(MenuContentItemLabel, { children: "Show Function(s)" })] }), !queryBuilderState.isParameterSupportDisabled && (_jsxs(MenuContentItem, { onClick: toggleShowParameterPanel, disabled: !queryBuilderState.isQuerySupported ||
|
191
192
|
queryBuilderState.parametersState.parameterStates
|
192
|
-
.length > 0, children: [_jsx(MenuContentItemIcon, { children: queryBuilderState.showParametersPanel ? (_jsx(CheckIcon, {})) : null }), _jsx(MenuContentItemLabel, {
|
193
|
+
.length > 0, children: [_jsx(MenuContentItemIcon, { children: queryBuilderState.showParametersPanel ? (_jsx(CheckIcon, {})) : null }), _jsx(MenuContentItemLabel, { children: "Show Parameter(s)" })] })), _jsxs(MenuContentItem, { onClick: toggleConstantPanel, disabled: !queryBuilderState.isQuerySupported ||
|
193
194
|
queryBuilderState.constantState.constants.length > 0, children: [_jsx(MenuContentItemIcon, { children: queryBuilderState.constantState
|
194
|
-
.showConstantPanel ? (_jsx(CheckIcon, {})) : null }), _jsx(MenuContentItemLabel, {
|
195
|
-
Array.from(queryBuilderState.filterState.nodes.values()).length > 0, children: [_jsx(MenuContentItemIcon, { children: queryBuilderState.filterState.showPanel ? (_jsx(CheckIcon, {})) : null }), _jsx(MenuContentItemLabel, {
|
195
|
+
.showConstantPanel ? (_jsx(CheckIcon, {})) : null }), _jsx(MenuContentItemLabel, { children: "Show Constant(s)" })] }), _jsxs(MenuContentItem, { onClick: toggleShowFilterPanel, disabled: !queryBuilderState.isQuerySupported ||
|
196
|
+
Array.from(queryBuilderState.filterState.nodes.values()).length > 0, children: [_jsx(MenuContentItemIcon, { children: queryBuilderState.filterState.showPanel ? (_jsx(CheckIcon, {})) : null }), _jsx(MenuContentItemLabel, { children: "Show Filter" })] }), _jsx(MenuContentDivider, {}), _jsxs(MenuContentItem, { onClick: toggleShowOLAPGroupByPanel, disabled: !queryBuilderState.isQuerySupported ||
|
196
197
|
!(queryBuilderState.fetchStructureState
|
197
198
|
.implementation instanceof QueryBuilderTDSState) ||
|
198
199
|
queryBuilderState.fetchStructureState.implementation
|
199
200
|
.windowState.windowColumns.length > 0, children: [_jsx(MenuContentItemIcon, { children: isTDSState &&
|
200
201
|
guaranteeType(queryBuilderState.fetchStructureState
|
201
|
-
.implementation, QueryBuilderTDSState).showWindowFuncPanel ? (_jsx(CheckIcon, {})) : null }), _jsx(MenuContentItemLabel, {
|
202
|
+
.implementation, QueryBuilderTDSState).showWindowFuncPanel ? (_jsx(CheckIcon, {})) : null }), _jsx(MenuContentItemLabel, { children: "Show Window Function(s)" })] }), _jsxs(MenuContentItem, { onClick: toggleShowPostFilterPanel, disabled: !queryBuilderState.isQuerySupported ||
|
202
203
|
!(queryBuilderState.fetchStructureState
|
203
204
|
.implementation instanceof QueryBuilderTDSState) ||
|
204
205
|
Array.from(queryBuilderState.fetchStructureState.implementation.postFilterState.nodes.values()).length > 0, children: [_jsx(MenuContentItemIcon, { children: queryBuilderState.fetchStructureState
|
205
206
|
.implementation instanceof QueryBuilderTDSState &&
|
206
207
|
queryBuilderState.fetchStructureState.implementation
|
207
|
-
.showPostFilterPanel ? (_jsx(CheckIcon, {})) : null }), _jsx(MenuContentItemLabel, {
|
208
|
+
.showPostFilterPanel ? (_jsx(CheckIcon, {})) : null }), _jsx(MenuContentItemLabel, { children: "Show Post-Filter" })] }), _jsxs(MenuContentItem, { onClick: openWatermark, children: [_jsx(MenuContentItemIcon, { children: null }), _jsx(MenuContentItemLabel, { children: "Show Watermark" })] }), _jsxs(MenuContentItem, { onClick: toggleEnableCalendar, disabled: !queryBuilderState.isQuerySupported ||
|
208
209
|
!(queryBuilderState.fetchStructureState
|
209
|
-
.implementation instanceof QueryBuilderTDSState), children: [_jsx(MenuContentItemIcon, { children: queryBuilderState.isCalendarEnabled ? (_jsx(CheckIcon, {})) : null }), _jsx(MenuContentItemLabel, {
|
210
|
+
.implementation instanceof QueryBuilderTDSState), children: [_jsx(MenuContentItemIcon, { children: queryBuilderState.isCalendarEnabled ? (_jsx(CheckIcon, {})) : null }), _jsx(MenuContentItemLabel, { children: "Enable Calendar" })] }), _jsx(MenuContentDivider, {}), _jsxs(MenuContentItem, { onClick: openCheckEntitlmentsEditor, disabled: queryBuilderState.isQuerySupported &&
|
210
211
|
queryBuilderState.fetchStructureState
|
211
212
|
.implementation instanceof QueryBuilderTDSState &&
|
212
213
|
queryBuilderState.fetchStructureState.implementation
|
213
|
-
.projectionColumns.length === 0, children: [_jsx(MenuContentItemIcon, {
|
214
|
+
.projectionColumns.length === 0, children: [_jsx(MenuContentItemIcon, {}), _jsx(MenuContentItemLabel, { children: "Check Entitlements" })] }), _jsxs(MenuContentItem, { onClick: editQueryInPure, children: [_jsx(MenuContentItemIcon, {}), _jsx(MenuContentItemLabel, { children: "Edit Query in Pure" })] }), _jsxs(MenuContentItem, { onClick: showQueryProtocol, children: [_jsx(MenuContentItemIcon, {}), _jsx(MenuContentItemLabel, { children: "Show Query Protocol" })] })] }), menuProps: {
|
214
215
|
anchorOrigin: { vertical: 'bottom', horizontal: 'right' },
|
215
216
|
transformOrigin: { vertical: 'top', horizontal: 'right' },
|
216
217
|
elevation: 7,
|
217
|
-
}, children: [_jsx("div", { className: "query-
|
218
|
+
}, children: [_jsx("div", { className: "query-builder__header__advanced-dropdown__label", children: "Advanced" }), _jsx(CaretDownIcon, { className: "query-builder__header__advanced-dropdown__icon" })] }) })] }), _jsx("div", { className: "query-builder__main", children: _jsxs(ResizablePanelGroup, { orientation: "horizontal", children: [_jsx(ResizablePanel, { minSize: 120, children: isQuerySupported ? (_jsxs(ResizablePanelGroup, { orientation: "vertical", children: [_jsx(ResizablePanel, { size: 450, minSize: 300, children: _jsx(QueryBuilderSidebar, { queryBuilderState: queryBuilderState, children: _jsxs(ResizablePanelGroup, { orientation: "horizontal", children: [_jsx(ResizablePanel, { minSize: 40, direction: 1, children: _jsx(QueryBuilderExplorerPanel, { queryBuilderState: queryBuilderState }) }), queryBuilderState.showFunctionsExplorerPanel && (_jsx(ResizablePanelSplitter, {})), queryBuilderState.showFunctionsExplorerPanel && (_jsx(ResizablePanel, { minSize: 40, direction: queryBuilderState.showParametersPanel
|
218
219
|
? [1, -1]
|
219
220
|
: -1, children: _jsx(QueryBuilderFunctionsExplorerPanel, { queryBuilderState: queryBuilderState }) })), queryBuilderState.showParametersPanel && (_jsx(ResizablePanelSplitter, {})), queryBuilderState.showParametersPanel && (_jsx(ResizablePanel, { minSize: 40, direction: -1, children: _jsx(QueryBuilderParametersPanel, { queryBuilderState: queryBuilderState }) })), queryBuilderState.constantState
|
220
221
|
.showConstantPanel && _jsx(ResizablePanelSplitter, {}), queryBuilderState.constantState
|
221
|
-
.showConstantPanel && (_jsx(ResizablePanel, { minSize: 40, direction: -1, children: _jsx(QueryBuilderConstantExpressionPanel, { queryBuilderState: queryBuilderState }) }))] }) }) }), _jsx(ResizablePanelSplitter, {}), _jsx(ResizablePanel, { minSize: 300, children: _jsx(QueryBuilderFetchStructurePanel, { queryBuilderState: queryBuilderState }) }), showPostFetchStructurePanel && (_jsx(ResizablePanelSplitter, {})), showPostFetchStructurePanel && (_jsx(ResizablePanel, { minSize: 300, children: renderPostFetchStructure() }))] })) : (_jsx(QueryBuilderUnsupportedQueryEditor, { queryBuilderState: queryBuilderState })) }), queryBuilderState.isResultPanelHidden ? null : (_jsx(ResizablePanelSplitter, {})), queryBuilderState.isResultPanelHidden ? null : (_jsx(ResizablePanel, { size: 300, minSize: 40, children: _jsx(QueryBuilderResultPanel, { queryBuilderState: queryBuilderState }) }))] }) })] }), queryBuilderState.textEditorState.mode && (_jsx(QueryBuilderTextEditor, { queryBuilderState: queryBuilderState })), queryBuilderState.checkEntitlementsState
|
222
|
+
.showConstantPanel && (_jsx(ResizablePanel, { minSize: 40, direction: -1, children: _jsx(QueryBuilderConstantExpressionPanel, { queryBuilderState: queryBuilderState }) }))] }) }) }), _jsx(ResizablePanelSplitter, {}), _jsx(ResizablePanel, { minSize: 300, children: _jsx(QueryBuilderFetchStructurePanel, { queryBuilderState: queryBuilderState }) }), showPostFetchStructurePanel && (_jsx(ResizablePanelSplitter, {})), showPostFetchStructurePanel && (_jsx(ResizablePanel, { minSize: 300, children: renderPostFetchStructure() }))] })) : (_jsx(QueryBuilderUnsupportedQueryEditor, { queryBuilderState: queryBuilderState })) }), queryBuilderState.isResultPanelHidden ? null : (_jsx(ResizablePanelSplitter, {})), queryBuilderState.isResultPanelHidden ? null : (_jsx(ResizablePanel, { size: 300, minSize: 40, children: _jsx(QueryBuilderResultPanel, { queryBuilderState: queryBuilderState }) }))] }) })] }), queryBuilderState.textEditorState.mode && (_jsx(QueryBuilderTextEditor, { queryBuilderState: queryBuilderState })), queryBuilderState.checkEntitlementsState
|
223
|
+
.showCheckEntitlementsViewer &&
|
222
224
|
renderCheckEntitlementsEditor(queryBuilderState, applicationStore.pluginManager
|
223
225
|
.getApplicationPlugins()
|
224
226
|
.filter((plugin) => plugin instanceof QueryBuilder_LegendApplicationPlugin))] }), _jsx(QueryBuilderStatusBar, { queryBuilderState: queryBuilderState })] }));
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilder.js","sourceRoot":"","sources":["../../src/components/QueryBuilder.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,IAAI,EACJ,UAAU,EACV,mBAAmB,EACnB,cAAc,EACd,sBAAsB,EACtB,UAAU,EACV,YAAY,EACZ,WAAW,EACX,eAAe,EACf,mBAAmB,EACnB,oBAAoB,EACpB,SAAS,EACT,aAAa,EACb,QAAQ,EACR,aAAa,EACb,aAAa,EACb,kBAAkB,EAClB,MAAM,EACN,KAAK,EACL,SAAS,EACT,WAAW,EACX,WAAW,EACX,iBAAiB,EACjB,iBAAiB,EACjB,YAAY,GACb,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,EAAE,yBAAyB,EAAE,MAAM,yCAAyC,CAAC;AACpF,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AACvE,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAErE,OAAO,EAAE,0BAA0B,EAAE,MAAM,0CAA0C,CAAC;AACtF,OAAO,EAAE,+BAA+B,EAAE,MAAM,sDAAsD,CAAC;AACvG,OAAO,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAC;AAC1E,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EAAE,kCAAkC,EAAE,MAAM,yCAAyC,CAAC;AAC7F,OAAO,EACL,iBAAiB,EACjB,mBAA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CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAC9C,KAAC,cAAc,IAAC,IAAI,EAAE,GAAG,EAAE,OAAO,EAAE,EAAE,YACpC,KAAC,uBAAuB,IACtB,iBAAiB,EAAE,iBAAiB,GACpC,GACa,CAClB,IACmB,GAClB,IACF,EACL,iBAAiB,CAAC,eAAe,CAAC,IAAI,IAAI,CACzC,KAAC,sBAAsB,IAAC,iBAAiB,EAAE,iBAAiB,GAAI,CACjE,EACA,iBAAiB,CAAC,sBAAsB,CAAC,sBAAsB;wBAC9D,6BAA6B,CAC3B,iBAAiB,EACjB,gBAAgB,CAAC,aAAa;6BAC3B,qBAAqB,EAAE;6BACvB,MAAM,CACL,CAAC,MAAM,EAAE,EAAE,CACT,MAAM,YAAY,oCAAoC,CACf,CAC9C,IACC,EACN,KAAC,qBAAqB,IAAC,iBAAiB,EAAE,iBAAiB,GAAI,IAC3D,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
1
|
+
{"version":3,"file":"QueryBuilder.js","sourceRoot":"","sources":["../../src/components/QueryBuilder.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,IAAI,EACJ,UAAU,EACV,mBAAmB,EACnB,cAAc,EACd,sBAAsB,EACtB,UAAU,EACV,YAAY,EACZ,WAAW,EACX,eAAe,EACf,mBAAmB,EACnB,oBAAoB,EACpB,SAAS,EACT,aAAa,EACb,QAAQ,EACR,aAAa,EACb,aAAa,EACb,kBAAkB,EAClB,MAAM,EACN,KAAK,EACL,SAAS,EACT,WAAW,EACX,WAAW,EACX,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,GAClB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,EAAE,yBAAyB,EAAE,MAAM,yCAAyC,CAAC;AACpF,OAAO,EA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OAAO,EAAE,GAAG,YAC1B,KAAC,+BAA+B,IAC9B,iBAAiB,EAAE,iBAAiB,GACpC,GACa,EAChB,2BAA2B,IAAI,CAC9B,KAAC,sBAAsB,KAAG,CAC3B,EACA,2BAA2B,IAAI,CAC9B,KAAC,cAAc,IAAC,OAAO,EAAE,GAAG,YACzB,wBAAwB,EAAE,GACZ,CAClB,IACmB,CACvB,CAAC,CAAC,CAAC,CACF,KAAC,kCAAkC,IACjC,iBAAiB,EAAE,iBAAiB,GACpC,CACH,GACc,EAChB,iBAAiB,CAAC,mBAAmB,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAC9C,KAAC,sBAAsB,KAAG,CAC3B,EACA,iBAAiB,CAAC,mBAAmB,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAC9C,KAAC,cAAc,IAAC,IAAI,EAAE,GAAG,EAAE,OAAO,EAAE,EAAE,YACpC,KAAC,uBAAuB,IACtB,iBAAiB,EAAE,iBAAiB,GACpC,GACa,CAClB,IACmB,GAClB,IACF,EACL,iBAAiB,CAAC,eAAe,CAAC,IAAI,IAAI,CACzC,KAAC,sBAAsB,IAAC,iBAAiB,EAAE,iBAAiB,GAAI,CACjE,EACA,iBAAiB,CAAC,sBAAsB;yBACtC,2BAA2B;wBAC5B,6BAA6B,CAC3B,iBAAiB,EACjB,gBAAgB,CAAC,aAAa;6BAC3B,qBAAqB,EAAE;6BACvB,MAAM,CACL,CAAC,MAAM,EAAE,EAAE,CACT,MAAM,YAAY,oCAAoC,CACf,CAC9C,IACC,EACN,KAAC,qBAAqB,IAAC,iBAAiB,EAAE,iBAAiB,GAAI,IAC3D,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilder_LegendApplicationPlugin.d.ts","sourceRoot":"","sources":["../../src/components/QueryBuilder_LegendApplicationPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAEH,OAAO,EAGL,uBAAuB,EACvB,KAAK,yBAAyB,EAC9B,KAAK,uBAAuB,EAC5B,KAAK,8BAA8B,EACnC,KAAK,sBAAsB,EAC5B,MAAM,2BAA2B,CAAC;AAInC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;
|
1
|
+
{"version":3,"file":"QueryBuilder_LegendApplicationPlugin.d.ts","sourceRoot":"","sources":["../../src/components/QueryBuilder_LegendApplicationPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAEH,OAAO,EAGL,uBAAuB,EACvB,KAAK,yBAAyB,EAC9B,KAAK,uBAAuB,EAC5B,KAAK,8BAA8B,EACnC,KAAK,sBAAsB,EAC5B,MAAM,2BAA2B,CAAC;AAInC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAIxE,MAAM,MAAM,4BAA4B,GAAG,CACzC,iBAAiB,EAAE,iBAAiB,KACjC,KAAK,CAAC,SAAS,GAAG,SAAS,CAAC;AAEjC,qBAAa,oCAAqC,SAAQ,uBAAuB;IAC/E,MAAM,CAAC,IAAI,SAA4C;;IAMvD,OAAO,CACL,aAAa,EAAE,8BAA8B,CAAC,uBAAuB,CAAC,GACrE,IAAI;IAIE,yBAAyB,IAAI,sBAAsB,EAAE;IAWrD,iCAAiC,IAAI,uBAAuB,EAAE;IAM9D,mCAAmC,IAAI,yBAAyB,EAAE;IAO3E,gCAAgC,IAAI,4BAA4B,GAAG,SAAS;CAG7E"}
|
@@ -18,6 +18,7 @@ import packageJson from '../../package.json';
|
|
18
18
|
import { QUERY_BUILDER_SETTING_CONFIG } from '../__lib__/QueryBuilderSetting.js';
|
19
19
|
import { QUERY_BUILDER_COMMAND_CONFIG } from '../stores/QueryBuilderCommand.js';
|
20
20
|
import { configureDataGridComponent } from '@finos/legend-lego/data-grid';
|
21
|
+
import { Chart as ChartJS, ArcElement, Tooltip } from 'chart.js';
|
21
22
|
class QueryBuilder_LegendApplicationPlugin extends LegendApplicationPlugin {
|
22
23
|
static NAME = packageJson.extensions.applicationPlugin;
|
23
24
|
constructor() {
|
@@ -30,6 +31,8 @@ class QueryBuilder_LegendApplicationPlugin extends LegendApplicationPlugin {
|
|
30
31
|
return [
|
31
32
|
async (applicationStore) => {
|
32
33
|
configureDataGridComponent();
|
34
|
+
// configure chart component
|
35
|
+
ChartJS.register(ArcElement, Tooltip);
|
33
36
|
},
|
34
37
|
];
|
35
38
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilder_LegendApplicationPlugin.js","sourceRoot":"","sources":["../../src/components/QueryBuilder_LegendApplicationPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,0CAA0C,EAC1C,4CAA4C,EAC5C,uBAAuB,GAKxB,MAAM,2BAA2B,CAAC;AACnC,OAAO,WAAW,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AACjF,OAAO,EAAE,4BAA4B,EAAE,MAAM,kCAAkC,CAAC;AAEhF,OAAO,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;
|
1
|
+
{"version":3,"file":"QueryBuilder_LegendApplicationPlugin.js","sourceRoot":"","sources":["../../src/components/QueryBuilder_LegendApplicationPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,0CAA0C,EAC1C,4CAA4C,EAC5C,uBAAuB,GAKxB,MAAM,2BAA2B,CAAC;AACnC,OAAO,WAAW,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AACjF,OAAO,EAAE,4BAA4B,EAAE,MAAM,kCAAkC,CAAC;AAEhF,OAAO,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAC1E,OAAO,EAAE,KAAK,IAAI,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAMjE,MAAa,oCAAqC,SAAQ,uBAAuB;IAC/E,MAAM,CAAC,IAAI,GAAG,WAAW,CAAC,UAAU,CAAC,iBAAiB,CAAC;IAEvD;QACE,KAAK,CAAC,oCAAoC,CAAC,IAAI,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IACxE,CAAC;IAED,OAAO,CACL,aAAsE;QAEtE,aAAa,CAAC,yBAAyB,CAAC,IAAI,CAAC,CAAC;IAChD,CAAC;IAEQ,yBAAyB;QAChC,OAAO;YACL,KAAK,EAAE,gBAAgB,EAAE,EAAE;gBACzB,0BAA0B,EAAE,CAAC;gBAE7B,4BAA4B;gBAC5B,OAAO,CAAC,QAAQ,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC;YACxC,CAAC;SACF,CAAC;IACJ,CAAC;IAEQ,iCAAiC;QACxC,OAAO,0CAA0C,CAC/C,4BAA4B,CAC7B,CAAC;IACJ,CAAC;IAEQ,mCAAmC;QAC1C,OAAO,4CAA4C,CACjD,4BAA4B,CAC7B,CAAC;IACJ,CAAC;IAED,yHAAyH;IACzH,gCAAgC;QAC9B,OAAO,SAAS,CAAC;IACnB,CAAC;;SAvCU,oCAAoC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryLoader.d.ts","sourceRoot":"","sources":["../../src/components/QueryLoader.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAuCH,OAAO,EAEL,KAAK,gBAAgB,EACtB,MAAM,+BAA+B,CAAC;
|
1
|
+
{"version":3,"file":"QueryLoader.d.ts","sourceRoot":"","sources":["../../src/components/QueryLoader.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAuCH,OAAO,EAEL,KAAK,gBAAgB,EACtB,MAAM,+BAA+B,CAAC;AA2CvC,eAAO,MAAM,WAAW,WACd;IAAE,gBAAgB,EAAE,gBAAgB,CAAC;IAAC,eAAe,EAAE,MAAM,CAAA;CAAE;;CA6VxE,CAAC;AAEF,eAAO,MAAM,iBAAiB,WACpB;IACN,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,eAAe,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACtC;;CA+CF,CAAC"}
|
@@ -32,7 +32,7 @@ const QueryPreviewViewer = observer((props) => {
|
|
32
32
|
container: 'editor-modal__container',
|
33
33
|
paper: 'editor-modal__content',
|
34
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
|
35
|
+
.content, isReadOnly: true, language: CODE_EDITOR_LANGUAGE.PURE }) }), _jsx(ModalFooter, { children: _jsx(ModalFooterButton, { onClick: close, text: "Close" }) })] }) }));
|
36
36
|
});
|
37
37
|
export const QueryLoader = observer((props) => {
|
38
38
|
const { queryLoaderState, loadActionLabel } = props;
|
@@ -119,12 +119,16 @@ export const QueryLoader = observer((props) => {
|
|
119
119
|
.slice(0, QUERY_LOADER_TYPEAHEAD_SEARCH_LIMIT)
|
120
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
121
|
if (event.code === 'Enter') {
|
122
|
+
event.stopPropagation();
|
122
123
|
renameQuery(query)();
|
123
124
|
}
|
124
125
|
else if (event.code === 'Escape') {
|
126
|
+
event.stopPropagation();
|
125
127
|
hideEditQueryNameInput();
|
126
128
|
}
|
127
|
-
}, onBlur: () => hideEditQueryNameInput()
|
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
|
128
132
|
? formatDistanceToNow(new Date(query.lastUpdatedAt), {
|
129
133
|
includeSeconds: true,
|
130
134
|
addSuffix: true,
|
@@ -1 +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;AAChE,OAAO,EACL,oBAAoB,EACpB,UAAU,GACX,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,MAAM,EACN,KAAK,EACL,UAAU,EACV,IAAI,EACJ,UAAU,EACV,SAAS,EACT,YAAY,EACZ,WAAW,EACX,eAAe,EACf,iBAAiB,EACjB,qBAAqB,EACrB,WAAW,EACX,SAAS,EACT,WAAW,EACX,iBAAiB,EACjB,QAAQ,EACR,gBAAgB,EAChB,gBAAgB,EAChB,oBAAoB,EACpB,cAAc,GACf,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EACL,QAAQ,EACR,mBAAmB,EACnB,oBAAoB,EACpB,YAAY,GACb,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAC7D,OAAO,EACL,mCAAmC,GAEpC,MAAM,+BAA+B,CAAC;AAEvC,MAAM,kBAAkB,GAAG,QAAQ,CACjC,CAAC,KAA6C,EAAE,EAAE;IAChD,MAAM,EAAE,gBAAgB,EAAE,GAAG,KAAK,CAAC;IACnC,MAAM,KAAK,GAAG,GAAS,EAAE;QACvB,gBAAgB,CAAC,oBAAoB,CAAC,KAAK,CAAC,CAAC;IAC/C,CAAC,CAAC;IACF,OAAO,CACL,KAAC,MAAM,IACL,IAAI,EAAE,gBAAgB,CAAC,iBAAiB,EACxC,OAAO,EAAE,KAAK,EACd,OAAO,EAAE;YACP,IAAI,EAAE,8BAA8B;YACpC,SAAS,EAAE,yBAAyB;YACpC,KAAK,EAAE,uBAAuB;SAC/B,YAED,MAAC,KAAK,IAAC,SAAS,EAAC,cAAc,EAAC,QAAQ,EAAE,IAAI,aAC5C,KAAC,WAAW,IACV,KAAK,EACH,oBAAoB,CAAC,gBAAgB,CAAC,mBAAmB,CAAC,CAAC,IAAI,GAEjE,EACF,KAAC,SAAS,cACR,KAAC,UAAU,IACT,UAAU,EACR,oBAAoB,CAAC,gBAAgB,CAAC,mBAAmB,CAAC;6BACvD,OAAO,EAEZ,UAAU,EAAE,IAAI,EAChB,QAAQ,EAAE,oBAAoB,CAAC,IAAI,
|
1
|
+
{"version":3,"file":"QueryLoader.js","sourceRoot":"","sources":["../../src/components/QueryLoader.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EACL,oBAAoB,EACpB,UAAU,GACX,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,MAAM,EACN,KAAK,EACL,UAAU,EACV,IAAI,EACJ,UAAU,EACV,SAAS,EACT,YAAY,EACZ,WAAW,EACX,eAAe,EACf,iBAAiB,EACjB,qBAAqB,EACrB,WAAW,EACX,SAAS,EACT,WAAW,EACX,iBAAiB,EACjB,QAAQ,EACR,gB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E,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,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAKhE,OAAO,EACL,eAAe,EACf,qBAAqB,EACrB,eAAe,EACf,qBAAqB,EACrB,WAAW,EACX,eAAe,EACf,IAAI,GACL,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,QAAQ,GAET,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACL,sCAAsC,EACtC,qCAAqC,EACrC,wCAAwC,EACxC,uCAAuC,EACvC,mCAAmC,GACpC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAG7D,MAAM,uBAAuB,GAAG,QAAQ,CACtC,CAAC,KAA2C,EAAE,EAAE;IAC9C,MAAM,EAAE,eAAe,EAAE,GAAG,KAAK,CAAC;IAClC,MAAM,gBAAgB,GAAG,mBAAmB,EAAE,CAAC;IAC/C,MAAM,oBAAoB,GAAG,eAAe,CAA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ACtC,+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;
|
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"}
|