@finos/legend-query-builder 4.14.36 → 4.14.38
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/__lib__/QueryBuilderDocumentation.d.ts +2 -1
- package/lib/__lib__/QueryBuilderDocumentation.d.ts.map +1 -1
- package/lib/__lib__/QueryBuilderDocumentation.js +1 -0
- package/lib/__lib__/QueryBuilderDocumentation.js.map +1 -1
- package/lib/components/QueryBuilder.d.ts.map +1 -1
- package/lib/components/QueryBuilder.js +26 -9
- package/lib/components/QueryBuilder.js.map +1 -1
- package/lib/components/QueryBuilderSideBar.d.ts.map +1 -1
- package/lib/components/QueryBuilderSideBar.js +3 -3
- package/lib/components/QueryBuilderSideBar.js.map +1 -1
- package/lib/components/QueryBuilderTextEditor.d.ts.map +1 -1
- package/lib/components/QueryBuilderTextEditor.js +17 -3
- package/lib/components/QueryBuilderTextEditor.js.map +1 -1
- package/lib/components/explorer/QueryBuilderMilestoningEditor.d.ts +5 -0
- package/lib/components/explorer/QueryBuilderMilestoningEditor.d.ts.map +1 -1
- package/lib/components/explorer/QueryBuilderMilestoningEditor.js +10 -5
- package/lib/components/explorer/QueryBuilderMilestoningEditor.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.d.ts.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.js +35 -3
- package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.d.ts.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.js +11 -1
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.js.map +1 -1
- package/lib/components/result/QueryBuilderResultPanel.d.ts.map +1 -1
- package/lib/components/result/QueryBuilderResultPanel.js +21 -8
- package/lib/components/result/QueryBuilderResultPanel.js.map +1 -1
- package/lib/components/workflows/ClassQueryBuilder.d.ts.map +1 -1
- package/lib/components/workflows/ClassQueryBuilder.js +3 -3
- package/lib/components/workflows/ClassQueryBuilder.js.map +1 -1
- package/lib/components/workflows/MappingQueryBuilder.d.ts.map +1 -1
- package/lib/components/workflows/MappingQueryBuilder.js +3 -3
- package/lib/components/workflows/MappingQueryBuilder.js.map +1 -1
- package/lib/components/workflows/ServiceQueryBuilder.d.ts.map +1 -1
- package/lib/components/workflows/ServiceQueryBuilder.js +3 -3
- package/lib/components/workflows/ServiceQueryBuilder.js.map +1 -1
- package/lib/index.css +2 -2
- package/lib/index.css.map +1 -1
- package/lib/package.json +1 -1
- package/lib/stores/QueryBuilderTextEditorState.d.ts +4 -1
- package/lib/stores/QueryBuilderTextEditorState.d.ts.map +1 -1
- package/lib/stores/QueryBuilderTextEditorState.js +19 -2
- package/lib/stores/QueryBuilderTextEditorState.js.map +1 -1
- package/lib/stores/QueryBuilder_LegendApplicationPlugin_Extension.d.ts +16 -0
- package/lib/stores/QueryBuilder_LegendApplicationPlugin_Extension.d.ts.map +1 -1
- package/lib/stores/QueryLoaderState.d.ts +2 -2
- package/lib/stores/QueryLoaderState.d.ts.map +1 -1
- package/lib/stores/QueryLoaderState.js +3 -3
- package/lib/stores/QueryLoaderState.js.map +1 -1
- package/lib/stores/explorer/QueryFunctionsExplorerState.d.ts +1 -1
- package/lib/stores/explorer/QueryFunctionsExplorerState.d.ts.map +1 -1
- package/lib/stores/explorer/QueryFunctionsExplorerState.js +2 -1
- package/lib/stores/explorer/QueryFunctionsExplorerState.js.map +1 -1
- package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.d.ts +1 -0
- package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js +8 -0
- package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js.map +1 -1
- package/lib/stores/milestoning/QueryBuilderMilestoningState.d.ts.map +1 -1
- package/lib/stores/milestoning/QueryBuilderMilestoningState.js +9 -3
- package/lib/stores/milestoning/QueryBuilderMilestoningState.js.map +1 -1
- package/package.json +5 -5
- package/src/__lib__/QueryBuilderDocumentation.ts +1 -0
- package/src/components/QueryBuilder.tsx +100 -17
- package/src/components/QueryBuilderSideBar.tsx +3 -2
- package/src/components/QueryBuilderTextEditor.tsx +46 -11
- package/src/components/explorer/QueryBuilderMilestoningEditor.tsx +60 -46
- package/src/components/fetch-structure/QueryBuilderResultModifierPanel.tsx +53 -3
- package/src/components/fetch-structure/QueryBuilderTDSPanel.tsx +116 -19
- package/src/components/result/QueryBuilderResultPanel.tsx +84 -29
- package/src/components/workflows/ClassQueryBuilder.tsx +3 -2
- package/src/components/workflows/MappingQueryBuilder.tsx +3 -2
- package/src/components/workflows/ServiceQueryBuilder.tsx +7 -3
- package/src/stores/QueryBuilderTextEditorState.ts +20 -2
- package/src/stores/QueryBuilder_LegendApplicationPlugin_Extension.ts +21 -0
- package/src/stores/QueryLoaderState.ts +5 -7
- package/src/stores/explorer/QueryFunctionsExplorerState.ts +6 -2
- package/src/stores/fetch-structure/tds/QueryBuilderTDSState.ts +11 -0
- package/src/stores/milestoning/QueryBuilderMilestoningState.ts +11 -7
@@ -16,6 +16,7 @@
|
|
16
16
|
export declare enum QUERY_BUILDER_DOCUMENTATION_KEY {
|
17
17
|
QUESTION_HOW_TO_ADD_PARAMETERS_TO_QUERY = "question.how-to-add-parameters-to-query",
|
18
18
|
QUESTION_HOW_TO_ADD_CONSTANTS_TO_QUERY = "question.how-to-add-constants-to-query",
|
19
|
-
QUESTION_HOW_TO_USE_LOCAL_GRID_MODE = "question.how-to-use-local-grid-mode"
|
19
|
+
QUESTION_HOW_TO_USE_LOCAL_GRID_MODE = "question.how-to-use-local-grid-mode",
|
20
|
+
TUTORIAL_QUERY_BUILDER = "tutorial.query.builder"
|
20
21
|
}
|
21
22
|
//# sourceMappingURL=QueryBuilderDocumentation.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderDocumentation.d.ts","sourceRoot":"","sources":["../../src/__lib__/QueryBuilderDocumentation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,oBAAY,+BAA+B;IAEzC,uCAAuC,4CAA4C;IACnF,sCAAsC,2CAA2C;IACjF,mCAAmC,wCAAwC;
|
1
|
+
{"version":3,"file":"QueryBuilderDocumentation.d.ts","sourceRoot":"","sources":["../../src/__lib__/QueryBuilderDocumentation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,oBAAY,+BAA+B;IAEzC,uCAAuC,4CAA4C;IACnF,sCAAsC,2CAA2C;IACjF,mCAAmC,wCAAwC;IAC3E,sBAAsB,2BAA2B;CAClD"}
|
@@ -19,5 +19,6 @@ export var QUERY_BUILDER_DOCUMENTATION_KEY;
|
|
19
19
|
QUERY_BUILDER_DOCUMENTATION_KEY["QUESTION_HOW_TO_ADD_PARAMETERS_TO_QUERY"] = "question.how-to-add-parameters-to-query";
|
20
20
|
QUERY_BUILDER_DOCUMENTATION_KEY["QUESTION_HOW_TO_ADD_CONSTANTS_TO_QUERY"] = "question.how-to-add-constants-to-query";
|
21
21
|
QUERY_BUILDER_DOCUMENTATION_KEY["QUESTION_HOW_TO_USE_LOCAL_GRID_MODE"] = "question.how-to-use-local-grid-mode";
|
22
|
+
QUERY_BUILDER_DOCUMENTATION_KEY["TUTORIAL_QUERY_BUILDER"] = "tutorial.query.builder";
|
22
23
|
})(QUERY_BUILDER_DOCUMENTATION_KEY || (QUERY_BUILDER_DOCUMENTATION_KEY = {}));
|
23
24
|
//# sourceMappingURL=QueryBuilderDocumentation.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderDocumentation.js","sourceRoot":"","sources":["../../src/__lib__/QueryBuilderDocumentation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,MAAM,CAAN,IAAY,+
|
1
|
+
{"version":3,"file":"QueryBuilderDocumentation.js","sourceRoot":"","sources":["../../src/__lib__/QueryBuilderDocumentation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,MAAM,CAAN,IAAY,+BAMX;AAND,WAAY,+BAA+B;IACzC,YAAY;IACZ,sHAAmF,CAAA;IACnF,oHAAiF,CAAA;IACjF,8GAA2E,CAAA;IAC3E,oFAAiD,CAAA;AACnD,CAAC,EANW,+BAA+B,KAA/B,+BAA+B,QAM1C"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilder.d.ts","sourceRoot":"","sources":["../../src/components/QueryBuilder.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;
|
1
|
+
{"version":3,"file":"QueryBuilder.d.ts","sourceRoot":"","sources":["../../src/components/QueryBuilder.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAwCH,OAAO,EAEL,KAAK,iBAAiB,EACvB,MAAM,gCAAgC,CAAC;AAkMxC,eAAO,MAAM,YAAY,WACf;IAAE,iBAAiB,EAAE,iBAAiB,CAAA;CAAE;;CA0zBjD,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 { HammerIcon, ResizablePanelGroup, ResizablePanel, ResizablePanelSplitter, HackerIcon, DropdownMenu, MenuContent, MenuContentItem, MenuContentItemIcon, MenuContentItemLabel, CheckIcon, CaretDownIcon, DiffIcon, MenuContentDivider, Dialog, Modal, ModalBody, ModalFooter, ModalHeader, BlankPanelContent, ModalFooterButton, CalendarClockIcon, ChatIcon, PanelLoadingIndicator, SerializeIcon, DataAccessIcon, AssistantIcon, clsx, } from '@finos/legend-art';
|
18
|
+
import { HammerIcon, ResizablePanelGroup, ResizablePanel, ResizablePanelSplitter, HackerIcon, DropdownMenu, MenuContent, MenuContentItem, MenuContentItemIcon, MenuContentItemLabel, CheckIcon, CaretDownIcon, DiffIcon, MenuContentDivider, Dialog, Modal, ModalBody, ModalFooter, ModalHeader, BlankPanelContent, ModalFooterButton, CalendarClockIcon, ChatIcon, PanelLoadingIndicator, SerializeIcon, DataAccessIcon, AssistantIcon, clsx, DocumentationIcon, CodeIcon, } 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';
|
@@ -44,6 +44,7 @@ import { Fragment, useEffect, useRef } from 'react';
|
|
44
44
|
import { RedoButton, UndoButton } from '@finos/legend-lego/application';
|
45
45
|
import { FETCH_STRUCTURE_IMPLEMENTATION } from '../stores/fetch-structure/QueryBuilderFetchStructureImplementationState.js';
|
46
46
|
import { onChangeFetchStructureImplementation } from '../stores/fetch-structure/QueryBuilderFetchStructureState.js';
|
47
|
+
import { QUERY_BUILDER_DOCUMENTATION_KEY } from '../__lib__/QueryBuilderDocumentation.js';
|
47
48
|
const QueryBuilderPostGraphFetchPanel = observer((props) => {
|
48
49
|
const { graphFetchState } = props;
|
49
50
|
if (!graphFetchState.TEMPORARY__showPostFetchStructurePanel) {
|
@@ -78,7 +79,7 @@ const QueryBuilderStatusBar = observer((props) => {
|
|
78
79
|
QueryBuilderTextEditorMode.TEXT,
|
79
80
|
}), onClick: () => openLambdaEditor(QueryBuilderTextEditorMode.TEXT), tabIndex: -1, disabled: !queryBuilderState.canBuildQuery, title: !queryBuilderState.canBuildQuery
|
80
81
|
? 'Please fix query errors to edit in Pure'
|
81
|
-
: 'Edit
|
82
|
+
: 'Edit Pure', children: _jsx(HackerIcon, {}) }), _jsx("button", { className: clsx('query-builder__status-bar__action query-builder__status-bar__action__toggler', {
|
82
83
|
'query-builder__status-bar__action__toggler--toggled': !applicationStore.assistantService.isHidden,
|
83
84
|
}), onClick: toggleAssistant, tabIndex: -1, title: "Toggle assistant", children: _jsx(AssistantIcon, {}) })] })] }));
|
84
85
|
});
|
@@ -90,6 +91,7 @@ export const QueryBuilder = observer((props) => {
|
|
90
91
|
const fetchStructureState = queryBuilderState.fetchStructureState;
|
91
92
|
const isTDSState = fetchStructureState.implementation instanceof QueryBuilderTDSState;
|
92
93
|
const openLambdaEditor = (mode) => queryBuilderState.textEditorState.openModal(mode);
|
94
|
+
const openPure = () => queryBuilderState.textEditorState.openModal(QueryBuilderTextEditorMode.TEXT, true);
|
93
95
|
const toggleShowFunctionPanel = () => {
|
94
96
|
queryBuilderState.setShowFunctionsExplorerPanel(!queryBuilderState.showFunctionsExplorerPanel);
|
95
97
|
};
|
@@ -179,10 +181,13 @@ export const QueryBuilder = observer((props) => {
|
|
179
181
|
});
|
180
182
|
}
|
181
183
|
};
|
182
|
-
const
|
184
|
+
const editPure = () => {
|
183
185
|
openLambdaEditor(QueryBuilderTextEditorMode.TEXT);
|
184
186
|
};
|
185
|
-
const
|
187
|
+
const showPure = () => {
|
188
|
+
openPure();
|
189
|
+
};
|
190
|
+
const showProtocol = () => {
|
186
191
|
openLambdaEditor(QueryBuilderTextEditorMode.JSON);
|
187
192
|
};
|
188
193
|
const openCheckEntitlmentsEditor = () => {
|
@@ -216,7 +221,17 @@ export const QueryBuilder = observer((props) => {
|
|
216
221
|
const redo = () => {
|
217
222
|
queryBuilderState.changeHistoryState.redo();
|
218
223
|
};
|
224
|
+
const queryDocEntry = applicationStore.documentationService.getDocEntry(QUERY_BUILDER_DOCUMENTATION_KEY.TUTORIAL_QUERY_BUILDER);
|
225
|
+
const openQueryTutorial = () => {
|
226
|
+
if (queryDocEntry?.url) {
|
227
|
+
applicationStore.navigationService.navigator.visitAddress(queryDocEntry.url);
|
228
|
+
}
|
229
|
+
};
|
219
230
|
const toggleAssistant = () => applicationStore.assistantService.toggleAssistant();
|
231
|
+
const extraHelpMenuContentItems = applicationStore.pluginManager
|
232
|
+
.getApplicationPlugins()
|
233
|
+
.flatMap((plugin) => plugin.getExtraQueryBuilderHelpMenuActionConfigurations?.() ?? [])
|
234
|
+
.map((item) => (_jsxs(MenuContentItem, { title: item.title ?? '', onClick: () => item.onClick(queryBuilderState), children: [item.icon && _jsx(MenuContentItemIcon, { children: item.icon }), _jsx(MenuContentItemLabel, { children: item.label })] }, item.key)));
|
220
235
|
const compileQuery = applicationStore.guardUnhandledError(() => flowResult(queryBuilderState.compileQuery()));
|
221
236
|
const showDiff = () => queryBuilderState.changeDetectionState.showDiffViewPanel();
|
222
237
|
const openQueryChat = () => queryBuilderState.setIsQueryChatOpened(true);
|
@@ -271,19 +286,21 @@ export const QueryBuilder = observer((props) => {
|
|
271
286
|
.projectionColumns.length === 0) ||
|
272
287
|
!queryBuilderState.canBuildQuery, title: !queryBuilderState.canBuildQuery
|
273
288
|
? 'Please fix query errors to check entitlements'
|
274
|
-
: '', children: [_jsx(MenuContentItemIcon, { children: _jsx(DataAccessIcon, {}) }), _jsx(MenuContentItemLabel, { children: "Check Entitlements" })] }), _jsxs(MenuContentItem, { onClick:
|
289
|
+
: '', children: [_jsx(MenuContentItemIcon, { children: _jsx(DataAccessIcon, {}) }), _jsx(MenuContentItemLabel, { children: "Check Entitlements" })] }), _jsxs(MenuContentItem, { onClick: editPure, disabled: !queryBuilderState.canBuildQuery, title: !queryBuilderState.canBuildQuery
|
290
|
+
? 'Please fix query errors to edit in Pure'
|
291
|
+
: undefined, children: [_jsx(MenuContentItemIcon, { children: _jsx(HackerIcon, {}) }), _jsx(MenuContentItemLabel, { children: "Edit Pure" })] }), _jsxs(MenuContentItem, { onClick: showPure, disabled: !queryBuilderState.canBuildQuery, title: !queryBuilderState.canBuildQuery
|
275
292
|
? 'Please fix query errors to edit in Pure'
|
276
|
-
: undefined, children: [_jsx(MenuContentItemIcon, { children: _jsx(
|
293
|
+
: undefined, children: [_jsx(MenuContentItemIcon, { children: _jsx(CodeIcon, {}) }), _jsx(MenuContentItemLabel, { children: "Show Pure" })] }), _jsxs(MenuContentItem, { onClick: showProtocol, disabled: !queryBuilderState.canBuildQuery, title: !queryBuilderState.canBuildQuery
|
277
294
|
? 'Please fix query errors to show query protocol'
|
278
|
-
: undefined, children: [_jsx(MenuContentItemIcon, { children: _jsx(SerializeIcon, {}) }), _jsx(MenuContentItemLabel, { children: "Show
|
295
|
+
: undefined, children: [_jsx(MenuContentItemIcon, { children: _jsx(SerializeIcon, {}) }), _jsx(MenuContentItemLabel, { children: "Show Protocol" })] }), _jsxs(MenuContentItem, { onClick: compileQuery, children: [_jsx(MenuContentItemIcon, { children: _jsx(HammerIcon, {}) }), _jsx(MenuContentItemLabel, { children: "Compile Query (F9)" })] }), queryBuilderState.changeDetectionState.initState
|
279
296
|
.hasCompleted && (_jsxs(MenuContentItem, { disabled: !queryBuilderState.changeDetectionState.hasChanged, onClick: showDiff, title: queryBuilderState.changeDetectionState.hasChanged
|
280
297
|
? 'Show changes'
|
281
298
|
: 'Query has not been changed', children: [_jsx(MenuContentItemIcon, { children: _jsx(DiffIcon, {}) }), _jsx(MenuContentItemLabel, { children: "Show Query Diff" })] })), !queryBuilderState.config
|
282
|
-
?.TEMPORARY__disableQueryBuilderChat && (_jsxs(MenuContentItem, { onClick: openQueryChat, children: [_jsx(MenuContentItemIcon, { children: _jsx(ChatIcon, {}) }), _jsx(MenuContentItemLabel, { children: "Open Query Chat" })] }))
|
299
|
+
?.TEMPORARY__disableQueryBuilderChat && (_jsxs(MenuContentItem, { onClick: openQueryChat, children: [_jsx(MenuContentItemIcon, { children: _jsx(ChatIcon, {}) }), _jsx(MenuContentItemLabel, { children: "Open Query Chat" })] }))] }), menuProps: {
|
283
300
|
anchorOrigin: { vertical: 'bottom', horizontal: 'right' },
|
284
301
|
transformOrigin: { vertical: 'top', horizontal: 'right' },
|
285
302
|
elevation: 7,
|
286
|
-
}, 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
|
303
|
+
}, children: [_jsx("div", { className: "query-builder__header__advanced-dropdown__label", children: "Advanced" }), _jsx(CaretDownIcon, { className: "query-builder__header__advanced-dropdown__icon" })] }), _jsxs(DropdownMenu, { className: "query-builder__header__advanced-dropdown", content: _jsxs(MenuContent, { children: [extraHelpMenuContentItems, queryDocEntry && (_jsxs(MenuContentItem, { onClick: openQueryTutorial, children: [_jsx(MenuContentItemIcon, { children: _jsx(DocumentationIcon, {}) }), _jsx(MenuContentItemLabel, { children: "Open Documentation" })] })), _jsxs(MenuContentItem, { onClick: toggleAssistant, children: [_jsx(MenuContentItemIcon, { children: !applicationStore.assistantService.isHidden ? (_jsx(CheckIcon, {})) : (_jsx(AssistantIcon, {})) }), _jsx(MenuContentItemLabel, { children: "Show Virtual Assistant" })] })] }), children: [_jsx("div", { className: "query-builder__header__advanced-dropdown__label", title: "See more options", children: "Help..." }), _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
|
287
304
|
? [1, -1]
|
288
305
|
: -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
|
289
306
|
.showConstantPanel && _jsx(ResizablePanelSplitter, {}), queryBuilderState.constantState
|
@@ -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,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,kBAAkB,EAClB,MAAM,EACN,KAAK,EACL,SAAS,EACT,WAAW,EACX,WAAW,EACX,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,QAAQ,EACR,qBAAqB,EACrB,aAAa,EACb,cAAc,EACd,aAAa,EACb,IAAI,GACL,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;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AAI,EAAC,OAAO,EACZ,OAAO,EAAE,WAAW,EACpB,IAAI,EAAC,WAAW,GAChB,GACU,IACR,GACD,CACV,IACG,EACL,iBAAiB,CAAC,aAAa,CAAC,aAAa,CAAC,CAAC,CAAC,CAC/C,KAAC,qBAAqB,IAAC,iBAAiB,EAAE,iBAAiB,GAAI,CAChE,CAAC,CAAC,CAAC,IAAI,IACJ,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,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,kBAAkB,EAClB,MAAM,EACN,KAAK,EACL,SAAS,EACT,WAAW,EACX,WAAW,EACX,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,QAAQ,EACR,qBAAqB,EACrB,aAAa,EACb,cAAc,EACd,aAAa,EACb,IAAI,EACJ,iBAAiB,EACjB,QAAQ,GACT,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,qCAAqC,CAAC;AAC9E,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,EACL,gCAAgC,GAEjC,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAAE,0BAA0B,EAAE,MAAM,0CAA0C,CAAC;AACtF,O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S,EAAC,cAAc,aAExB,KAAC,WAAW,IAAC,KAAK,EAAC,oBAAoB,GAAG,EAC1C,KAAC,SAAS,IAAC,SAAS,EAAC,qCAAqC,YACxD,cAAK,SAAS,EAAC,gDAAgD,YAC5D,iBAAiB,CAAC,sBAAsB;6CACtC,eAAe,CAAC,CAAC,CAAC,CACnB,KAAC,kBAAkB,IACjB,eAAe,EACb,iBAAiB,CAAC,sBAAsB;iDACrC,eAAe,GAEpB,CACH,CAAC,CAAC,CAAC,CACF,KAAC,iBAAiB,uDAEE,CACrB,GACG,GACI,EACZ,KAAC,WAAW,cACV,KAAC,iBAAiB,IAChB,IAAI,EAAC,OAAO,EACZ,OAAO,EAAE,WAAW,EACpB,IAAI,EAAC,WAAW,GAChB,GACU,IACR,GACD,CACV,IACG,EACL,iBAAiB,CAAC,aAAa,CAAC,aAAa,CAAC,CAAC,CAAC,CAC/C,KAAC,qBAAqB,IAAC,iBAAiB,EAAE,iBAAiB,GAAI,CAChE,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderSideBar.d.ts","sourceRoot":"","sources":["../../src/components/QueryBuilderSideBar.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;
|
1
|
+
{"version":3,"file":"QueryBuilderSideBar.d.ts","sourceRoot":"","sources":["../../src/components/QueryBuilderSideBar.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAYH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAExE,OAAO,EACL,KAAK,KAAK,EAEV,KAAK,OAAO,EACZ,KAAK,kBAAkB,EAUxB,MAAM,qBAAqB,CAAC;AAU7B,eAAO,MAAM,iBAAiB,cACjB,kBAAkB,GAAG,SAAS,KACxC,MAAM,GAAG,SAiBX,CAAC;AA2CF,eAAO,MAAM,yBAAyB,WAC5B;IACN,iBAAiB,EAAE,iBAAiB,CAAC;IACrC,OAAO,EAAE,KAAK,EAAE,CAAC;IACjB,aAAa,CAAC,EAAE,CAAC,CAAC,GAAG,EAAE,KAAK,KAAK,IAAI,CAAC,GAAG,SAAS,CAAC;IACnD,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACrC;;CA8FF,CAAC;AAEF,eAAO,MAAM,uBAAuB,iBACpB,OAAO,KACpB;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,OAAO,CAAA;CAMhC,CAAC;AAEH,eAAO,MAAM,yBAAyB,UAAW;IAC/C,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,KAAG,CAAC,CAAC,MAAM,EAAE;IAAE,KAAK,EAAE,OAAO,CAAA;CAAE,KAAK,MAAM,SAAS,CAkBjD,CAAC;AAyJJ,eAAO,MAAM,mBAAmB,WACtB;IACN,iBAAiB,EAAE,iBAAiB,CAAC;IACrC,QAAQ,EAAE,MAAM,SAAS,CAAC;CAC3B;;CA2CF,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 { CustomSelectorInput, createFilter, CogIcon, ClockIcon, clsx, PanelHeader, } from '@finos/legend-art';
|
17
|
+
import { CustomSelectorInput, createFilter, CogIcon, ClockIcon, clsx, PanelHeader, compareLabelFn, } from '@finos/legend-art';
|
18
18
|
import { observer } from 'mobx-react-lite';
|
19
19
|
import { QUERY_BUILDER_TEST_ID } from '../__lib__/QueryBuilderTesting.js';
|
20
20
|
import { LATEST_DATE, PrimitiveInstanceValue, VariableExpression, getMilestoneTemporalStereotype, PackageableElementExplicitReference, RuntimePointer, VARIABLE_REFERENCE_TOKEN, isElementDeprecated, PrimitiveType, } from '@finos/legend-graph';
|
@@ -111,7 +111,7 @@ const BasicQueryBuilderSetup = observer((props) => {
|
|
111
111
|
// mapping
|
112
112
|
const mappingOptions = queryBuilderState.graphManagerState.usableMappings
|
113
113
|
.map(buildElementOption)
|
114
|
-
.sort(
|
114
|
+
.sort(compareLabelFn);
|
115
115
|
const selectedMappingOption = queryBuilderState.executionContextState
|
116
116
|
.mapping
|
117
117
|
? buildElementOption(queryBuilderState.executionContextState.mapping)
|
@@ -133,7 +133,7 @@ const BasicQueryBuilderSetup = observer((props) => {
|
|
133
133
|
const runtimeOptions = queryBuilderState.graphManagerState.usableRuntimes
|
134
134
|
.map((rt) => new RuntimePointer(PackageableElementExplicitReference.create(rt)))
|
135
135
|
.map(buildRuntimeValueOption)
|
136
|
-
.sort(
|
136
|
+
.sort(compareLabelFn);
|
137
137
|
const selectedRuntimeOption = queryBuilderState.executionContextState
|
138
138
|
.runtimeValue
|
139
139
|
? buildRuntimeValueOption(queryBuilderState.executionContextState.runtimeValue)
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderSideBar.js","sourceRoot":"","sources":["../../src/components/QueryBuilderSideBar.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,mBAAmB,EACnB,YAAY,EACZ,OAAO,EACP,SAAS,EACT,IAAI,EACJ,WAAW,
|
1
|
+
{"version":3,"file":"QueryBuilderSideBar.js","sourceRoot":"","sources":["../../src/components/QueryBuilderSideBar.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,mBAAmB,EACnB,YAAY,EACZ,OAAO,EACP,SAAS,EACT,IAAI,EACJ,WAAW,EACX,cAAc,GACf,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAE3C,OAAO,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAC;AAC1E,OAAO,EAKL,WAAW,EACX,sBAAsB,EACtB,kBAAkB,EAClB,8BAA8B,EAC9B,mCAAmC,EACnC,cAAc,EACd,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H,MAAM,EAAE,iBAAiB,EAAE,QAAQ,EAAE,GAAG,KAAK,CAAC;IAC9C,MAAM,gBAAgB,GAAG,mBAAmB,EAAE,CAAC;IAC/C,MAAM,sCAAsC,GAC1C,gBAAgB,CAAC,aAAa;SAC3B,qBAAqB,EAAE;SACvB,OAAO,CACN,CAAC,MAAM,EAAE,EAAE,CAEP,MACD,CAAC,yCAAyC,EAAE,EAAE,IAAI,EAAE,CACxD,CAAC;IACN,MAAM,4BAA4B,GAChC,sCAAsC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAC1C,sCAAsC,CAAC,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAC7D,CAAC,CAAC,CAAC,CACF,mBAAK,CACN,CAAC;IAEJ,OAAO,CACL,eACE,SAAS,EAAE,IAAI,CACb,yBAAyB,EACzB,iBAAiB,CAAC,gBAAgB,CACnC,aAED,6BACe,qBAAqB,CAAC,mBAAmB,EACtD,SAAS,EAAC,4BAA4B,YAEtC,cAAK,SAAS,EAAC,8CAA8C,YAC1D,iBAAiB,CAAC,oCAAoC,EAAE,EAAE,IAAI,CAC7D,KAAC,sBAAsB,IAAC,iBAAiB,EAAE,iBAAiB,GAAI,CACjE,GACG,GACF,EACN,cAAK,SAAS,EAAC,+BAA+B,YAC3C,4BAA4B,GACzB,EACN,cAAK,SAAS,EAAC,kCAAkC,YAAE,QAAQ,GAAO,IAC9D,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderTextEditor.d.ts","sourceRoot":"","sources":["../../src/components/QueryBuilderTextEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAgBH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAUxE,eAAO,MAAM,sBAAsB,WACzB;IAAE,iBAAiB,EAAE,iBAAiB,CAAA;CAAE;;
|
1
|
+
{"version":3,"file":"QueryBuilderTextEditor.d.ts","sourceRoot":"","sources":["../../src/components/QueryBuilderTextEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAgBH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAUxE,eAAO,MAAM,sBAAsB,WACzB;IAAE,iBAAiB,EAAE,iBAAiB,CAAA;CAAE;;CA8JjD,CAAC"}
|
@@ -26,6 +26,7 @@ export const QueryBuilderTextEditor = observer((props) => {
|
|
26
26
|
const { queryBuilderState } = props;
|
27
27
|
const applicationStore = useApplicationStore();
|
28
28
|
const queryTextEditorState = queryBuilderState.textEditorState;
|
29
|
+
const isReadOnly = queryTextEditorState.isReadOnly;
|
29
30
|
const close = applicationStore.guardUnhandledError(() => flowResult(queryBuilderState.textEditorState.closeModal()));
|
30
31
|
const discardChanges = () => {
|
31
32
|
queryBuilderState.textEditorState.setMode(undefined);
|
@@ -33,6 +34,18 @@ export const QueryBuilderTextEditor = observer((props) => {
|
|
33
34
|
applicationStore.layoutService.setShowBackdrop(false);
|
34
35
|
};
|
35
36
|
const mode = queryTextEditorState.mode;
|
37
|
+
const isEditingPure = mode === QueryBuilderTextEditorMode.TEXT && !isReadOnly;
|
38
|
+
const title = mode === QueryBuilderTextEditorMode.TEXT
|
39
|
+
? isReadOnly
|
40
|
+
? 'Pure Query'
|
41
|
+
: 'Edit Pure Query'
|
42
|
+
: 'Pure Query Protocol';
|
43
|
+
const copyExpression = () => {
|
44
|
+
applicationStore.clipboardService
|
45
|
+
.copyTextToClipboard(queryTextEditorState.text ?? '')
|
46
|
+
.then(() => applicationStore.notificationService.notifySuccess('Query Copied', undefined, 2500))
|
47
|
+
.catch(applicationStore.alertUnhandledError);
|
48
|
+
};
|
36
49
|
useEffect(() => {
|
37
50
|
flowResult(queryTextEditorState.convertLambdaObjectToGrammarString({
|
38
51
|
pretty: true,
|
@@ -44,10 +57,11 @@ export const QueryBuilderTextEditor = observer((props) => {
|
|
44
57
|
paper: 'editor-modal__content',
|
45
58
|
}, children: _jsxs(Modal, { darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, className: clsx('editor-modal query-builder-text-mode__modal', {
|
46
59
|
'query-builder-text-mode__modal--has-error': Boolean(queryTextEditorState.parserError),
|
47
|
-
}), children: [_jsxs(ModalHeader, { children: [_jsx("div", { className: "modal__title", children:
|
60
|
+
}), children: [_jsxs(ModalHeader, { children: [_jsx("div", { className: "modal__title", children: title }), queryTextEditorState.parserError && (_jsx("div", { className: "modal__title__error-badge", children: "Failed to parse query" }))] }), _jsx(PanelLoadingIndicator, { isLoading: queryBuilderState.textEditorState.closingQueryState.isInProgress }), _jsx(ModalBody, { children: _jsxs("div", { className: clsx('query-builder-text-mode__modal__content', {
|
48
61
|
backdrop__element: Boolean(queryTextEditorState.parserError),
|
49
|
-
}), children: [mode === QueryBuilderTextEditorMode.TEXT &&
|
50
|
-
|
62
|
+
}), children: [mode === QueryBuilderTextEditorMode.TEXT &&
|
63
|
+
(isReadOnly ? (_jsx(CodeEditor, { language: CODE_EDITOR_LANGUAGE.PURE, inputValue: queryTextEditorState.fullLambdaString, isReadOnly: true })) : (_jsx(LambdaEditor, { className: "query-builder-text-mode__lambda-editor", disabled: queryTextEditorState.isConvertingLambdaToString, lambdaEditorState: queryTextEditorState, forceBackdrop: false, autoFocus: true }))), mode === QueryBuilderTextEditorMode.JSON && (_jsx(CodeEditor, { language: CODE_EDITOR_LANGUAGE.JSON, inputValue: queryTextEditorState.readOnlylambdaJson, isReadOnly: true }))] }) }), _jsxs(ModalFooter, { children: [queryBuilderState.textEditorState.closingQueryState
|
64
|
+
.isInProgress && (_jsx(ModalFooterStatus, { children: "Closing Query..." })), queryBuilderState.queryCompileState.isInProgress && (_jsxs(ModalFooterStatus, { children: [_jsx("div", { className: "loading-icon__container--spinning", children: _jsx(RefreshIcon, {}) }), "Compiling Query..."] })), isEditingPure ? (_jsx(ModalFooterButton, { className: "btn--caution", onClick: discardChanges, text: "Discard Changes" })) : (_jsx(ModalFooterButton, { formatText: false, onClick: copyExpression, text: "Copy to Clipboard" })), _jsx(ModalFooterButton, { onClick: close, disabled: Boolean(queryTextEditorState.parserError) ||
|
51
65
|
queryBuilderState.textEditorState.closingQueryState.isInProgress, type: "secondary", children: queryBuilderState.textEditorState.closingQueryState
|
52
66
|
.isInProgress ? (_jsx(_Fragment, { children: _jsxs("div", { className: "loading-icon__container--spinning", children: [_jsx(RefreshIcon, {}), "Closing"] }) })) : (_jsx(_Fragment, { children: " Close " })) })] })] }) }));
|
53
67
|
});
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderTextEditor.js","sourceRoot":"","sources":["../../src/components/QueryBuilderTextEditor.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,IAAI,EACJ,MAAM,EACN,KAAK,EACL,SAAS,EACT,WAAW,EACX,iBAAiB,EACjB,iBAAiB,EACjB,WAAW,EACX,qBAAqB,EACrB,WAAW,GACZ,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EAAE,0BAA0B,EAAE,MAAM,0CAA0C,CAAC;AACtF,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EACL,oBAAoB,EACpB,UAAU,GACX,MAAM,gCAAgC,CAAC;AAExC,MAAM,CAAC,MAAM,sBAAsB,GAAG,QAAQ,CAC5C,CAAC,KAA+C,EAAE,EAAE;IAClD,MAAM,EAAE,iBAAiB,EAAE,GAAG,KAAK,CAAC;IACpC,MAAM,gBAAgB,GAAG,mBAAmB,EAAE,CAAC;IAC/C,MAAM,oBAAoB,GAAG,iBAAiB,CAAC,eAAe,CAAC;IAC/D,MAAM,KAAK,GAAG,gBAAgB,CAAC,mBAAmB,CAAC,GAAG,EAAE,CACtD,UAAU,CAAC,iBAAiB,CAAC,eAAe,CAAC,UAAU,EAAE,CAAC,CAC3D,CAAC;IACF,MAAM,cAAc,GAAG,GAAS,EAAE;QAChC,iBAAiB,CAAC,eAAe,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;QACrD,4FAA4F;QAC5F,gBAAgB,CAAC,aAAa,CAAC,eAAe,CAAC,KAAK,CAAC,CAAC;IACxD,CAAC,CAAC;IACF,MAAM,IAAI,GAAG,oBAAoB,CAAC,IAAI,CAAC;IACvC,SAAS,CAAC,GAAG,EAAE;QACb,UAAU,CACR,oBAAoB,CAAC,kCAAkC,CAAC;YACtD,MAAM,EAAE,IAAI;SACb,CAAC,CACH,CAAC,KAAK,CAAC,gBAAgB,CAAC,mBAAmB,CAAC,CAAC;IAChD,CAAC,EAAE,CAAC,gBAAgB,EAAE,oBAAoB,CAAC,CAAC,CAAC;IAE7C,OAAO,CACL,KAAC,MAAM,IACL,IAAI,EAAE,OAAO,CAAC,IAAI,CAAC,EACnB,OAAO,EAAE,KAAK,EACd,OAAO,EAAE;YACP,IAAI,EAAE,8BAA8B;YACpC,SAAS,EAAE,yBAAyB;YACpC,KAAK,EAAE,uBAAuB;SAC/B,YAED,MAAC,KAAK,IACJ,QAAQ,EACN,CAAC,gBAAgB,CAAC,aAAa,CAAC,mCAAmC,EAErE,SAAS,EAAE,IAAI,CAAC,6CAA6C,EAAE;gBAC7D,2CAA2C,EAAE,OAAO,CAClD,oBAAoB,CAAC,WAAW,CACjC;aACF,CAAC,aAEF,MAAC,WAAW,eACV,cAAK,SAAS,EAAC,cAAc,
|
1
|
+
{"version":3,"file":"QueryBuilderTextEditor.js","sourceRoot":"","sources":["../../src/components/QueryBuilderTextEditor.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC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AAiB,IAChB,UAAU,EAAE,KAAK,EACjB,OAAO,EAAE,cAAc,EACvB,IAAI,EAAC,mBAAmB,GACxB,CACH,EACD,KAAC,iBAAiB,IAChB,OAAO,EAAE,KAAK,EACd,QAAQ,EACN,OAAO,CAAC,oBAAoB,CAAC,WAAW,CAAC;gCACzC,iBAAiB,CAAC,eAAe,CAAC,iBAAiB,CAAC,YAAY,EAElE,IAAI,EAAC,WAAW,YAEf,iBAAiB,CAAC,eAAe,CAAC,iBAAiB;iCACjD,YAAY,CAAC,CAAC,CAAC,CAChB,4BACE,eAAK,SAAS,EAAC,mCAAmC,aAChD,KAAC,WAAW,KAAG,eAEX,GACL,CACJ,CAAC,CAAC,CAAC,CACF,wCAAY,CACb,GACiB,IACR,IACR,GACD,CACV,CAAC;AACJ,CAAC,CACF,CAAC"}
|
@@ -14,6 +14,11 @@
|
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
16
|
import type { QueryBuilderState } from '../../stores/QueryBuilderState.js';
|
17
|
+
export declare const MilestoningParametersEditorContent: ((props: {
|
18
|
+
queryBuilderState: QueryBuilderState;
|
19
|
+
}) => import("react/jsx-runtime").JSX.Element) & {
|
20
|
+
displayName: string;
|
21
|
+
};
|
17
22
|
export declare const MilestoningParametersEditor: ((props: {
|
18
23
|
queryBuilderState: QueryBuilderState;
|
19
24
|
}) => import("react/jsx-runtime").JSX.Element) & {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderMilestoningEditor.d.ts","sourceRoot":"","sources":["../../../src/components/explorer/QueryBuilderMilestoningEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAuQ3E,eAAO,MAAM,2BAA2B,WAC9B;IAAE,iBAAiB,EAAE,iBAAiB,CAAA;CAAE;;
|
1
|
+
{"version":3,"file":"QueryBuilderMilestoningEditor.d.ts","sourceRoot":"","sources":["../../../src/components/explorer/QueryBuilderMilestoningEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAuQ3E,eAAO,MAAM,kCAAkC,WACrC;IAAE,iBAAiB,EAAE,iBAAiB,CAAA;CAAE;;CA2DjD,CAAC;AAEF,eAAO,MAAM,2BAA2B,WAC9B;IAAE,iBAAiB,EAAE,iBAAiB,CAAA;CAAE;;CAkCjD,CAAC"}
|
@@ -83,20 +83,25 @@ const AllVersionsInRangelMilestoningParametersEditor = observer((props) => {
|
|
83
83
|
const { queryBuilderState } = props;
|
84
84
|
return (_jsxs("div", { className: "query-builder__milestoning-panel__all-versions-in-range-editor", children: [_jsxs(PanelFormSection, { children: [_jsx("div", { className: "panel__content__form__section__header__label", children: "Start Date" }), _jsx(MilestoningParameterEditor, { queryBuilderState: queryBuilderState, parameter: guaranteeNonNullable(queryBuilderState.milestoningState.startDate), setParameter: (val) => queryBuilderState.milestoningState.setStartDate(val) })] }), _jsxs(PanelFormSection, { children: [_jsx("div", { className: "panel__content__form__section__header__label", children: "End Date" }), _jsx(MilestoningParameterEditor, { queryBuilderState: queryBuilderState, parameter: guaranteeNonNullable(queryBuilderState.milestoningState.endDate), setParameter: (val) => queryBuilderState.milestoningState.setEndDate(val) })] })] }));
|
85
85
|
});
|
86
|
-
export const
|
86
|
+
export const MilestoningParametersEditorContent = observer((props) => {
|
87
87
|
const { queryBuilderState } = props;
|
88
|
-
const applicationStore = queryBuilderState.applicationStore;
|
89
88
|
const milestoningState = queryBuilderState.milestoningState;
|
90
|
-
const close = () => milestoningState.setShowMilestoningEditor(false);
|
91
89
|
const isCompatibleMilestoningParameter = (variable) => variable.genericType?.value.rawType.name === PRIMITIVE_TYPE.STRICTDATE ||
|
92
90
|
variable.genericType?.value.rawType.name === PRIMITIVE_TYPE.LATESTDATE ||
|
93
91
|
variable.genericType?.value.rawType.name === PRIMITIVE_TYPE.DATE ||
|
94
92
|
variable.genericType?.value.rawType.name === PRIMITIVE_TYPE.DATETIME;
|
93
|
+
return (_jsxs(_Fragment, { children: [milestoningState.isCurrentClassMilestoned && (_jsx(PanelFormBooleanField, { isReadOnly: false, value: milestoningState.isAllVersionsEnabled, name: "all Versions", prompt: "Query All Milestoned Versions of the Root Class", update: (value) => milestoningState.setAllVersions(value) })), milestoningState.isAllVersionsEnabled &&
|
94
|
+
milestoningState.isCurrentClassSupportsVersionsInRange && (_jsxs(_Fragment, { children: [_jsx(PanelFormBooleanField, { isReadOnly: false, value: milestoningState.isAllVersionsInRangeEnabled, name: " All Versions In Range", prompt: "Optionally apply a date range to get All Versions for", update: (value) => milestoningState.setAllVersionsInRange(value) }), milestoningState.isAllVersionsInRangeEnabled && (_jsx(AllVersionsInRangelMilestoningParametersEditor, { queryBuilderState: queryBuilderState }))] })), _jsx(TemporalMilestoningEditor, { queryBuilderState: queryBuilderState }), _jsx(PanelFormSection, { children: _jsx("div", { className: "panel__content__form__section__header__label", children: "List of compatible milestoning parameters" }) }), _jsx("div", { className: "panel__content__form__section__list__items", children: _jsx(VariableSelector, { queryBuilderState: queryBuilderState, filterBy: isCompatibleMilestoningParameter }) })] }));
|
95
|
+
});
|
96
|
+
export const MilestoningParametersEditor = observer((props) => {
|
97
|
+
const { queryBuilderState } = props;
|
98
|
+
const applicationStore = queryBuilderState.applicationStore;
|
99
|
+
const milestoningState = queryBuilderState.milestoningState;
|
100
|
+
const close = () => milestoningState.setShowMilestoningEditor(false);
|
95
101
|
return (_jsx(Dialog, { open: milestoningState.showMilestoningEditor, onClose: close, classes: {
|
96
102
|
root: 'editor-modal__root-container',
|
97
103
|
container: 'editor-modal__container',
|
98
104
|
paper: 'editor-modal__content',
|
99
|
-
}, children: _jsxs(Modal, { darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, className: "editor-modal query-builder__variables__modal", children: [_jsx(ModalHeader, { title: "Milestoning Parameters" }),
|
100
|
-
milestoningState.isCurrentClassSupportsVersionsInRange && (_jsxs(_Fragment, { children: [_jsx(PanelFormBooleanField, { isReadOnly: false, value: milestoningState.isAllVersionsInRangeEnabled, name: " All Versions In Range", prompt: "Optionally apply a date range to get All Versions for", update: (value) => milestoningState.setAllVersionsInRange(value) }), milestoningState.isAllVersionsInRangeEnabled && (_jsx(AllVersionsInRangelMilestoningParametersEditor, { queryBuilderState: queryBuilderState }))] })), _jsx(TemporalMilestoningEditor, { queryBuilderState: queryBuilderState }), _jsx(PanelFormSection, { children: _jsx("div", { className: "panel__content__form__section__header__label", children: "List of compatible milestoning parameters" }) }), _jsx("div", { className: "panel__content__form__section__list__items", children: _jsx(VariableSelector, { queryBuilderState: queryBuilderState, filterBy: isCompatibleMilestoningParameter }) })] }), _jsx(ModalFooter, { children: _jsx(ModalFooterButton, { text: "Close", onClick: close, type: "secondary" }) })] }) }));
|
105
|
+
}, children: _jsxs(Modal, { darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, className: "editor-modal query-builder__variables__modal", children: [_jsx(ModalHeader, { title: "Milestoning Parameters" }), _jsx(ModalBody, { className: "query-builder__variables__modal__body", children: _jsx(MilestoningParametersEditorContent, { queryBuilderState: queryBuilderState }) }), _jsx(ModalFooter, { children: _jsx(ModalFooterButton, { text: "Close", onClick: close, type: "secondary" }) })] }) }));
|
101
106
|
});
|
102
107
|
//# sourceMappingURL=QueryBuilderMilestoningEditor.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderMilestoningEditor.js","sourceRoot":"","sources":["../../../src/components/explorer/QueryBuilderMilestoningEditor.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAE3C,OAAO,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AACpC,OAAO,EAGL,WAAW,EACX,4BAA4B,EAC5B,8BAA8B,EAC9B,sBAAsB,EACtB,cAAc,EACd,aAAa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AoB,CAC7B,iBAAiB,CAAC,gBAAgB,CAAC,SAAS,CAC7C,EACD,YAAY,EAAE,CAAC,GAAuB,EAAQ,EAAE,CAC9C,iBAAiB,CAAC,gBAAgB,CAAC,YAAY,CAAC,GAAG,CAAC,GAEtD,IACe,EACnB,MAAC,gBAAgB,eACf,cAAK,SAAS,EAAC,8CAA8C,yBAEvD,EACN,KAAC,0BAA0B,IACzB,iBAAiB,EAAE,iBAAiB,EACpC,SAAS,EAAE,oBAAoB,CAC7B,iBAAiB,CAAC,gBAAgB,CAAC,OAAO,CAC3C,EACD,YAAY,EAAE,CAAC,GAAuB,EAAQ,EAAE,CAC9C,iBAAiB,CAAC,gBAAgB,CAAC,UAAU,CAAC,GAAG,CAAC,GAEpD,IACe,IACf,CACP,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,CAAC,MAAM,
|
1
|
+
{"version":3,"file":"QueryBuilderMilestoningEditor.js","sourceRoot":"","sources":["../../../src/components/explorer/QueryBuilderMilestoningEditor.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAE3C,OAAO,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AACpC,OAAO,EAGL,WAAW,EACX,4BAA4B,EAC5B,8BAA8B,EAC9B,sBAAsB,EACtB,cAAc,EACd,aAAa,GACd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EACL,MAAM,EACN,KAAK,EACL,SAAS,EACT,WAAW,EACX,iBAAiB,EACjB,WAAW,EACX,6BAA6B,EAC7B,qBAAqB,EACrB,gBAAgB,GACjB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,oCAAoC,EAAE,MAAM,sDAAsD,CAAC;AAC5G,OAAO,EACL,6BAA6B,EAE7B,+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iBAAiB,EAAE,iBAAiB,GACpC,GACQ,EACZ,KAAC,WAAW,cACV,KAAC,iBAAiB,IAAC,IAAI,EAAC,OAAO,EAAC,OAAO,EAAE,KAAK,EAAE,IAAI,EAAC,WAAW,GAAG,GACvD,IACR,GACD,CACV,CAAC;AACJ,CAAC,CACF,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderResultModifierPanel.d.ts","sourceRoot":"","sources":["../../../src/components/fetch-structure/QueryBuilderResultModifierPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAiCH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0DAA0D,CAAC;
|
1
|
+
{"version":3,"file":"QueryBuilderResultModifierPanel.d.ts","sourceRoot":"","sources":["../../../src/components/fetch-structure/QueryBuilderResultModifierPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAiCH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0DAA0D,CAAC;AAwMrG,eAAO,MAAM,wBAAwB,WAC3B;IAAE,QAAQ,EAAE,oBAAoB,CAAA;CAAE;;CAoY3C,CAAC"}
|
@@ -20,12 +20,13 @@ import { SortColumnState } from '../../stores/fetch-structure/tds/QueryResultSet
|
|
20
20
|
import { addUniqueEntry, clone, deepClone, deleteEntry, guaranteeNonNullable, } from '@finos/legend-shared';
|
21
21
|
import { useApplicationStore } from '@finos/legend-application';
|
22
22
|
import { COLUMN_SORT_TYPE } from '../../graph/QueryBuilderMetaModelConst.js';
|
23
|
-
import { useCallback, useEffect, useState } from 'react';
|
23
|
+
import { useCallback, useEffect, useRef, useState } from 'react';
|
24
24
|
import { QUERY_BUILDER_TEST_ID } from '../../__lib__/QueryBuilderTesting.js';
|
25
25
|
import { VariableSelector } from '../shared/QueryBuilderVariableSelector.js';
|
26
26
|
import { PrimitiveType, Multiplicity, areMultiplicitiesEqual, } from '@finos/legend-graph';
|
27
27
|
import { BasicValueSpecificationEditor, QUERY_BUILDER_VARIABLE_DND_TYPE, } from '../shared/BasicValueSpecificationEditor.js';
|
28
28
|
import { useDrop } from 'react-dnd';
|
29
|
+
import { MilestoningParametersEditorContent } from '../explorer/QueryBuilderMilestoningEditor.js';
|
29
30
|
const ColumnSortEditor = observer((props) => {
|
30
31
|
const { sortColumns, setSortColumns, sortState, tdsColumns } = props;
|
31
32
|
const applicationStore = useApplicationStore();
|
@@ -100,6 +101,26 @@ export const QueryResultModifierModal = observer((props) => {
|
|
100
101
|
const [slice, setSlice] = useState(stateSlice ?? [undefined, undefined]);
|
101
102
|
const watermarkState = tdsState.queryBuilderState.watermarkState;
|
102
103
|
const [watermarkValue, setWatermarkValue] = useState(deepClone(watermarkState.value));
|
104
|
+
//milestoning config
|
105
|
+
const milestoningState = tdsState.queryBuilderState.milestoningState;
|
106
|
+
const businessDate = useRef(milestoningState.businessDate);
|
107
|
+
const processingDate = useRef(milestoningState.processingDate);
|
108
|
+
const isAllVersionsEnabled = useRef(milestoningState.isAllVersionsEnabled);
|
109
|
+
const isAllVersionsInRangeEnabled = useRef(milestoningState.isAllVersionsInRangeEnabled);
|
110
|
+
const startDate = useRef(milestoningState.startDate);
|
111
|
+
const endDate = useRef(milestoningState.endDate);
|
112
|
+
const resetMilestoningToInitial = () => {
|
113
|
+
if (isAllVersionsInRangeEnabled.current) {
|
114
|
+
milestoningState.setAllVersionsInRange(isAllVersionsInRangeEnabled.current);
|
115
|
+
milestoningState.setStartDate(startDate.current);
|
116
|
+
milestoningState.setEndDate(endDate.current);
|
117
|
+
}
|
118
|
+
else {
|
119
|
+
milestoningState.setAllVersions(isAllVersionsEnabled.current);
|
120
|
+
}
|
121
|
+
milestoningState.setBusinessDate(businessDate.current);
|
122
|
+
milestoningState.setProcessingDate(processingDate.current);
|
123
|
+
};
|
103
124
|
// Sync temp state with tdsState when modal is opened/closed
|
104
125
|
useEffect(() => {
|
105
126
|
setSortColumns(cloneSortColumnStateArray(stateSortColumns));
|
@@ -116,7 +137,10 @@ export const QueryResultModifierModal = observer((props) => {
|
|
116
137
|
stateSlice,
|
117
138
|
]);
|
118
139
|
// Handle user actions
|
119
|
-
const closeModal = () =>
|
140
|
+
const closeModal = () => {
|
141
|
+
resetMilestoningToInitial();
|
142
|
+
resultSetModifierState.setShowModal(false);
|
143
|
+
};
|
120
144
|
const applyChanges = () => {
|
121
145
|
resultSetModifierState.setSortColumns(sortColumns);
|
122
146
|
resultSetModifierState.setDistinct(distinct);
|
@@ -129,6 +153,13 @@ export const QueryResultModifierModal = observer((props) => {
|
|
129
153
|
}
|
130
154
|
resultSetModifierState.setShowModal(false);
|
131
155
|
watermarkState.setValue(watermarkValue);
|
156
|
+
businessDate.current = milestoningState.businessDate;
|
157
|
+
processingDate.current = milestoningState.processingDate;
|
158
|
+
isAllVersionsEnabled.current = milestoningState.isAllVersionsEnabled;
|
159
|
+
isAllVersionsInRangeEnabled.current =
|
160
|
+
milestoningState.isAllVersionsInRangeEnabled;
|
161
|
+
startDate.current = milestoningState.startDate;
|
162
|
+
endDate.current = milestoningState.endDate;
|
132
163
|
};
|
133
164
|
const handleLimitResultsChange = (event) => {
|
134
165
|
const val = event.target.value.replace(/[^0-9]/g, '');
|
@@ -197,7 +228,8 @@ export const QueryResultModifierModal = observer((props) => {
|
|
197
228
|
root: 'editor-modal__root-container',
|
198
229
|
container: 'editor-modal__container',
|
199
230
|
paper: 'editor-modal__content',
|
200
|
-
}, "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_RESULT_MODIFIER_PANEL, children: _jsxs(Modal, { darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, className: "editor-modal query-builder__projection__modal", children: [_jsx(ModalHeader, { title: "
|
231
|
+
}, "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_RESULT_MODIFIER_PANEL, children: _jsxs(Modal, { darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, className: "editor-modal query-builder__projection__modal", children: [_jsx(ModalHeader, { title: "Query Options" }), _jsx(ModalBody, { className: "query-builder__projection__modal__body", children: _jsxs("div", { className: "query-builder__projection__options", children: [tdsState.queryBuilderState.milestoningState
|
232
|
+
.isMilestonedQuery && (_jsxs(_Fragment, { children: [_jsx("div", { className: "query-builder__projection__options__section-name", children: "Milestoning" }), _jsx(MilestoningParametersEditorContent, { queryBuilderState: tdsState.queryBuilderState }), _jsx("div", { className: "query-builder__projection__options__section-name", children: "Other" })] })), _jsx(ColumnsSortEditor, { projectionColumns: tdsState.projectionColumns, sortColumns: sortColumns, setSortColumns: setSortColumns, tdsColumns: tdsState.tdsColumns }), _jsxs("div", { className: "panel__content__form__section", children: [_jsx("div", { className: "panel__content__form__section__header__label", children: "Eliminate Duplicate Rows" }), _jsxs("div", { className: "panel__content__form__section__toggler", onClick: () => setDistinct(!distinct), children: [_jsx("button", { className: clsx('panel__content__form__section__toggler__btn', {
|
201
233
|
'panel__content__form__section__toggler__btn--toggled': distinct,
|
202
234
|
}), tabIndex: -1, children: distinct ? _jsx(CheckSquareIcon, {}) : _jsx(SquareIcon, {}) }), _jsx("div", { className: "panel__content__form__section__toggler__prompt", children: "Remove duplicate rows from the results" })] })] }), _jsxs("div", { className: "panel__content__form__section", children: [_jsx("label", { htmlFor: "query-builder__projection__modal__limit-results-input", className: "panel__content__form__section__header__label", children: "Limit Results" }), _jsx("div", { className: "panel__content__form__section__header__prompt", children: "Specify the maximum total number of rows the output will produce" }), _jsx("input", { id: "query-builder__projection__modal__limit-results-input", className: "panel__content__form__section__input panel__content__form__section__number-input", spellCheck: false, type: "text", value: limitResults ?? '', onChange: handleLimitResultsChange })] }), _jsxs("div", { className: "panel__content__form__section", children: [_jsx("label", { htmlFor: "query-builder__projection__modal__slice-start-input", className: "panel__content__form__section__header__label", children: "Slice" }), _jsx("div", { className: "panel__content__form__section__header__prompt", children: "Reduce the number of rows in the provided TDS, selecting the set of rows in the specified range between start and stop" }), _jsxs("div", { className: "query-builder__result__slice", children: [_jsx("div", { className: "query-builder__result__slice__input__wrapper", children: _jsx(InputWithInlineValidation, { id: "query-builder__projection__modal__slice-start-input", className: "input--dark query-builder__result__slice__input panel__content__form__section__input", spellCheck: false, value: slice[0] ?? '', onChange: changeSliceStart, type: "text", error: isInvalidSlice ? 'Invalid slice' : undefined }) }), _jsx("div", { className: "query-builder__result__slice__range", children: ".." }), _jsx("div", { className: "query-builder__result__slice__input__wrapper", children: _jsx(InputWithInlineValidation, { className: "input--dark query-builder__result__slice__input panel__content__form__section__input", spellCheck: false, value: slice[1] ?? '', onChange: changeSliceEnd, type: "text", error: isInvalidSlice ? 'Invalid slice' : undefined }) })] })] }), _jsxs(_Fragment, { children: [_jsxs(PanelFormSection, { children: [_jsx("label", { className: "panel__content__form__section__header__label", children: "Watermark" }), _jsxs("button", { className: clsx('panel__content__form__section__toggler', 'panel__content__form__section__toggler__btn', {
|
203
235
|
'panel__content__form__section__toggler__btn--toggled': watermarkValue,
|