@finos/legend-query-builder 0.6.32 → 0.6.33
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/components/QueryBuilder.d.ts.map +1 -1
- package/lib/components/QueryBuilder.js +2 -0
- package/lib/components/QueryBuilder.js.map +1 -1
- package/lib/components/QueryBuilderTextEditor.d.ts.map +1 -1
- package/lib/components/QueryBuilderTextEditor.js +2 -2
- package/lib/components/QueryBuilderTextEditor.js.map +1 -1
- package/lib/index.css +1 -1
- package/lib/package.json +1 -1
- package/lib/stores/LegendQueryStorage.d.ts +19 -0
- package/lib/stores/LegendQueryStorage.d.ts.map +1 -0
- package/lib/stores/LegendQueryStorage.js +20 -0
- package/lib/stores/LegendQueryStorage.js.map +1 -0
- package/lib/stores/QueryBuilderTextEditorState.js +1 -1
- package/lib/stores/QueryBuilderTextEditorState.js.map +1 -1
- package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js +4 -1
- package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js.map +1 -1
- package/package.json +4 -4
- package/src/components/QueryBuilder.tsx +5 -0
- package/src/components/QueryBuilderTextEditor.tsx +13 -5
- package/src/stores/LegendQueryStorage.ts +19 -0
- package/src/stores/QueryBuilderTextEditorState.ts +1 -1
- package/src/stores/fetch-structure/tds/QueryBuilderTDSState.ts +7 -1
- package/tsconfig.json +1 -0
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilder.d.ts","sourceRoot":"","sources":["../../src/components/QueryBuilder.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAkCH,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;;AAkCH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAwBxE,eAAO,MAAM,mCAAmC,qCACZ,CAAC;AA2KrC,eAAO,MAAM,YAAY,WACf;IAAE,iBAAiB,EAAE,iBAAiB,CAAA;CAAE;;CA2bjD,CAAC"}
|
@@ -37,6 +37,7 @@ import { QueryBuilderPostTDSPanel } from './fetch-structure/QueryBuilderPostTDSP
|
|
37
37
|
import { QueryBuilderWatermarkEditor } from './watermark/QueryBuilderWatermark.js';
|
38
38
|
import { QueryBuilderConstantExpressionPanel } from './QueryBuilderConstantExpressionPanel.js';
|
39
39
|
import { QueryBuilder_LegendApplicationPlugin } from './QueryBuilder_LegendApplicationPlugin.js';
|
40
|
+
import { LEGEND_QUERY_SETTINGS_KEY } from '../stores/LegendQueryStorage.js';
|
40
41
|
export const QUERY_BUILDER_BACKDROP_CONTAINER_ID = 'query-builder.backdrop-container';
|
41
42
|
const QueryBuilderStatusBar = observer((props) => {
|
42
43
|
const { queryBuilderState } = props;
|
@@ -114,6 +115,7 @@ export const QueryBuilder = observer((props) => {
|
|
114
115
|
QueryBuilderTDSState) {
|
115
116
|
const tdsState = queryBuilderState.fetchStructureState.implementation;
|
116
117
|
tdsState.setShowPostFilterPanel(!tdsState.showPostFilterPanel);
|
118
|
+
queryBuilderState.applicationStore.storageService.settingsStore.persist(LEGEND_QUERY_SETTINGS_KEY.EDITOR_SHOW_POST_FILTER, tdsState.showPostFilterPanel);
|
117
119
|
}
|
118
120
|
};
|
119
121
|
const openWatermark = () => {
|
@@ -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,oB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,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,GAClB,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,6BA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B,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":"QueryBuilderTextEditor.d.ts","sourceRoot":"","sources":["../../src/components/QueryBuilderTextEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;
|
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;;CA0HjD,CAAC"}
|
@@ -16,7 +16,7 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
|
|
16
16
|
*/
|
17
17
|
import { useEffect } from 'react';
|
18
18
|
import { observer } from 'mobx-react-lite';
|
19
|
-
import { clsx, Dialog, Modal, ModalBody, ModalFooter, ModalFooterStatus, ModalHeader, PanelLoadingIndicator, RefreshIcon, } from '@finos/legend-art';
|
19
|
+
import { clsx, Dialog, Modal, ModalBody, ModalFooter, ModalFooterButton, ModalFooterStatus, ModalHeader, PanelLoadingIndicator, RefreshIcon, } from '@finos/legend-art';
|
20
20
|
import { QueryBuilderTextEditorMode } from '../stores/QueryBuilderTextEditorState.js';
|
21
21
|
import { flowResult } from 'mobx';
|
22
22
|
import { EDITOR_LANGUAGE, TextInputEditor, useApplicationStore, } from '@finos/legend-application';
|
@@ -44,7 +44,7 @@ export const QueryBuilderTextEditor = observer((props) => {
|
|
44
44
|
}), children: [_jsxs(ModalHeader, { children: [_jsx("div", { className: "modal__title", children: "Query" }), 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', {
|
45
45
|
backdrop__element: Boolean(queryTextEditorState.parserError),
|
46
46
|
}), children: [mode === QueryBuilderTextEditorMode.TEXT && (_jsx(LambdaEditor, { className: "query-builder-text-mode__lambda-editor", disabled: queryTextEditorState.isConvertingLambdaToString, lambdaEditorState: queryTextEditorState, forceBackdrop: false, forceExpansion: true, useBaseTextEditorSettings: true, hideErrorBar: true, disablePopUp: true })), mode === QueryBuilderTextEditorMode.JSON && (_jsx(TextInputEditor, { language: EDITOR_LANGUAGE.JSON, inputValue: queryTextEditorState.readOnlylambdaJson, isReadOnly: true }))] }) }), _jsxs(ModalFooter, { children: [queryBuilderState.textEditorState.closingQueryState
|
47
|
-
.isInProgress && (_jsx(ModalFooterStatus, { children: "Closing Query..." })), mode === QueryBuilderTextEditorMode.TEXT && (_jsx(
|
47
|
+
.isInProgress && (_jsx(ModalFooterStatus, { children: "Closing Query..." })), queryBuilderState.queryCompileState.isInProgress && (_jsxs(ModalFooterStatus, { children: [_jsx("div", { className: "loading-icon__container--spinning", children: _jsx(RefreshIcon, {}) }), "Compiling Query..."] })), mode === QueryBuilderTextEditorMode.TEXT && (_jsx(ModalFooterButton, { className: "btn--caution", onClick: discardChanges, text: "Discard Changes" })), _jsx("button", { className: "btn btn--dark", onClick: close, disabled: Boolean(queryTextEditorState.parserError) ||
|
48
48
|
queryBuilderState.textEditorState.closingQueryState.isInProgress, children: queryBuilderState.textEditorState.closingQueryState
|
49
49
|
.isInProgress ? (_jsx(_Fragment, { children: _jsxs("div", { className: "loading-icon__container--spinning", children: [_jsx(RefreshIcon, {}), "Closing"] }) })) : (_jsx(_Fragment, { children: " Close " })) })] })] }) }));
|
50
50
|
});
|
@@ -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,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,EACL,eAAe,EACf,eAAe,EACf,mBAAmB,GACpB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAExD,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,G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Y,EAAE,IAAI,GAClB,CACH,EACA,IAAI,KAAK,0BAA0B,CAAC,IAAI,IAAI,CAC3C,KAAC,eAAe,IACd,QAAQ,EAAE,eAAe,CAAC,IAAI,EAC9B,UAAU,EAAE,oBAAoB,CAAC,kBAAkB,EACnD,UAAU,EAAE,IAAI,GAChB,CACH,IACG,GACI,EACZ,MAAC,WAAW,eACT,iBAAiB,CAAC,eAAe,CAAC,iBAAiB;6BACjD,YAAY,IAAI,CACjB,KAAC,iBAAiB,mCAAqC,CACxD,EACA,IAAI,KAAK,0BAA0B,CAAC,IAAI,IAAI,CAC3C,
|
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,EACL,eAAe,EACf,eAAe,EACf,mBAAmB,GACpB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAExD,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,KAA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AAC,WAAW,KAAG,eAEX,GACL,CACJ,CAAC,CAAC,CAAC,CACF,wCAAY,CACb,GACM,IACG,IACR,GACD,CACV,CAAC;AACJ,CAAC,CACF,CAAC"}
|
package/lib/index.css
CHANGED
package/lib/package.json
CHANGED
@@ -0,0 +1,19 @@
|
|
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 LEGEND_QUERY_SETTINGS_KEY {
|
17
|
+
EDITOR_SHOW_POST_FILTER = "editor.showPostFilter"
|
18
|
+
}
|
19
|
+
//# sourceMappingURL=LegendQueryStorage.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"LegendQueryStorage.d.ts","sourceRoot":"","sources":["../../src/stores/LegendQueryStorage.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,oBAAY,yBAAyB;IACnC,uBAAuB,0BAA0B;CAClD"}
|
@@ -0,0 +1,20 @@
|
|
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 LEGEND_QUERY_SETTINGS_KEY;
|
17
|
+
(function (LEGEND_QUERY_SETTINGS_KEY) {
|
18
|
+
LEGEND_QUERY_SETTINGS_KEY["EDITOR_SHOW_POST_FILTER"] = "editor.showPostFilter";
|
19
|
+
})(LEGEND_QUERY_SETTINGS_KEY = LEGEND_QUERY_SETTINGS_KEY || (LEGEND_QUERY_SETTINGS_KEY = {}));
|
20
|
+
//# sourceMappingURL=LegendQueryStorage.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"LegendQueryStorage.js","sourceRoot":"","sources":["../../src/stores/LegendQueryStorage.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,MAAM,CAAN,IAAY,yBAEX;AAFD,WAAY,yBAAyB;IACnC,8EAAiD,CAAA;AACnD,CAAC,EAFW,yBAAyB,GAAzB,yBAAyB,KAAzB,yBAAyB,QAEpC"}
|
@@ -77,7 +77,7 @@ export class QueryBuilderTextEditorState extends LambdaEditorState {
|
|
77
77
|
const emptyLambda = stub_RawLambda();
|
78
78
|
if (this.lambdaString) {
|
79
79
|
try {
|
80
|
-
const lambda = (yield this.queryBuilderState.graphManagerState.graphManager.pureCodeToLambda(this.fullLambdaString, this.lambdaId, { pruneSourceInformation:
|
80
|
+
const lambda = (yield this.queryBuilderState.graphManagerState.graphManager.pureCodeToLambda(this.fullLambdaString, this.lambdaId, { pruneSourceInformation: false }));
|
81
81
|
this.setParserError(undefined);
|
82
82
|
this.rawLambdaState.setLambda(lambda);
|
83
83
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderTextEditorState.js","sourceRoot":"","sources":["../../src/stores/QueryBuilderTextEditorState.ts"],"names":[],"mappings":"AAAA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0BAA0B,EAAE,UAAU;YACtC,IAAI,EAAE,UAAU;YAChB,sBAAsB,EAAE,MAAM;YAC9B,OAAO,EAAE,MAAM;YACf,SAAS,EAAE,MAAM;YACjB,UAAU,EAAE,IAAI;SACjB,CAAC,CAAC;QAEH,IAAI,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;QAC3C,IAAI,CAAC,cAAc,GAAG,IAAI,0BAA0B,CAAC,cAAc,EAAE,CAAC,CAAC;IACzE,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,8BAA8B,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC;IAC3D,CAAC;IAED,sBAAsB,CAAC,cAA0C;QAC/D,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC;IACvC,CAAC;IAED,OAAO,CAAC,SAAiD;QACvD,IAAI,CAAC,IAAI,GAAG,SAAS,CAAC;IACxB,CAAC;IAED,aAAa,CAAC,UAAkB;QAC9B,IAAI,CAAC,kBAAkB,GAAG,UAAU,CAAC;IACvC,CAAC;IAED,CAAC,kCAAkC;QACjC,MAAM,WAAW,GAAG,cAAc,EAAE,CAAC;QACrC,IAAI,IAAI,CAAC,YAAY,EAAE;YACrB,IAAI;gBACF,MAAM,MAAM,GACV,CAAC,MAAM,IAAI,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,YAAY,CAAC,gBAAgB,CAC3E,IAAI,CAAC,gBAAgB,EACrB,IAAI,CAAC,QAAQ,EACb,EAAE,sBAAsB,EAAE,
|
1
|
+
{"version":3,"file":"QueryBuilderTextEditorState.js","sourceRoot":"","sources":["../../src/stores/QueryBuilderTextEditorState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,mBAAmB,EACnB,8BAA8B,EAC9B,WAAW,EACX,SAAS,EACT,cAAc,EACd,sBAAsB,GACvB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,iBAAiB,EACjB,QAAQ,EACR,WAAW,GACZ,MAAM,sBAAsB,CAAC;AA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QueryBuilderTDSState.d.ts","sourceRoot":"","sources":["../../../../src/stores/fetch-structure/tds/QueryBuilderTDSState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAUH,OAAO,EACL,KAAK,WAAW,EAUhB,KAAK,QAAQ,EAEd,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AACpE,OAAO,EACL,KAAK,gBAAgB,EACrB,KAAK,cAAc,EAEnB,KAAK,kBAAkB,EAMvB,KAAK,EAKN,MAAM,qBAAqB,CAAC;AAK7B,OAAO,EAEL,4BAA4B,EAC7B,MAAM,+CAA+C,CAAC;AAEvD,OAAO,EAEL,6CAA6C,EAC9C,MAAM,qDAAqD,CAAC;AAC7D,OAAO,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAC/E,OAAO,EAAE,2BAA2B,EAAE,MAAM,8CAA8C,CAAC;AAC3F,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,iDAAiD,CAAC;AAEtG,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,gDAAgD,CAAC;AAEpG,OAAO,EACL,2CAA2C,EAC3C,uCAAuC,EACvC,KAAK,iCAAiC,EACvC,MAAM,mDAAmD,CAAC;AAC3D,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,uCAAuC,CAAC;AAC7F,OAAO,EAIL,KAAK,wCAAwC,EAC9C,MAAM,6CAA6C,CAAC;AAKrD,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,sDAAsD,CAAC;AAIxG,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,sDAAsD,CAAC;AAE3G,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;
|
1
|
+
{"version":3,"file":"QueryBuilderTDSState.d.ts","sourceRoot":"","sources":["../../../../src/stores/fetch-structure/tds/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IAAI;IAuBP,gBAAgB,IAAI,IAAI;IAKxB,YAAY,CAAC,GAAG,EAAE,iCAAiC,GAAG,IAAI;IAc1D,SAAS,CACP,GAAG,EAAE,iCAAiC,EACtC,OAAO,CAAC,EAAE;QACR;;;;;WAKG;QACH,WAAW,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;KACnC,GACA,IAAI;IAuBP,UAAU,CAAC,WAAW,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,GAAG,IAAI;IAmD1D,qBAAqB,IAAI,IAAI;IAa7B,sBAAsB,CAAC,gBAAgB,EAAE,gBAAgB,GAAG,OAAO;IA2BnE,qBAAqB,IAAI,IAAI;IAQ7B,aAAa,CAAC,IAAI,EAAE,wCAAwC,GAAG,IAAI;IAanE,eAAe,CAAC,KAAK,EAAE,wCAAwC,EAAE,GAAG,IAAI;IAexE,0BAA0B,CAAC,QAAQ,EAAE,MAAM,IAAI,GAAG,IAAI;IAsBtD,iCAAiC,CAAC,QAAQ,EAAE,MAAM,IAAI,GAAG,IAAI;IAkC7D,cAAc,CAAC,QAAQ,EAAE,kBAAkB,GAAG,OAAO;IAgBrD,IAAI,QAAQ,IAAI,MAAM,CAQrB;CACF"}
|
@@ -32,6 +32,7 @@ import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../graphManager/QueryBu
|
|
32
32
|
import { QUERY_BUILDER_HASH_STRUCTURE } from '../../../graphManager/QueryBuilderHashUtils.js';
|
33
33
|
import { QueryBuilderWindowState } from './window/QueryBuilderWindowState.js';
|
34
34
|
import { getQueryBuilderCoreWindowOperators } from './window/QueryBuilderWindowGroupByOperatorLoader.js';
|
35
|
+
import { LEGEND_QUERY_SETTINGS_KEY } from '../../LegendQueryStorage.js';
|
35
36
|
export class QueryBuilderTDSState extends QueryBuilderFetchStructureImplementationState {
|
36
37
|
aggregationState;
|
37
38
|
postFilterState;
|
@@ -39,7 +40,7 @@ export class QueryBuilderTDSState extends QueryBuilderFetchStructureImplementati
|
|
39
40
|
resultSetModifierState;
|
40
41
|
projectionColumns = [];
|
41
42
|
isConvertDerivationProjectionObjects = false;
|
42
|
-
showPostFilterPanel
|
43
|
+
showPostFilterPanel;
|
43
44
|
showWindowFuncPanel = false;
|
44
45
|
postFilterOperators = getQueryBuilderCorePostFilterOperators();
|
45
46
|
aggregationOperators = getQueryBuilderCoreAggregrationOperators();
|
@@ -65,6 +66,8 @@ export class QueryBuilderTDSState extends QueryBuilderFetchStructureImplementati
|
|
65
66
|
this.postFilterState = new QueryBuilderPostFilterState(this, this.postFilterOperators);
|
66
67
|
this.aggregationState = new QueryBuilderAggregationState(this, this.aggregationOperators);
|
67
68
|
this.windowState = new QueryBuilderWindowState(this, this.windowFuncOperators);
|
69
|
+
this.showPostFilterPanel =
|
70
|
+
this.queryBuilderState.applicationStore.storageService.settingsStore.getBooleanValue(LEGEND_QUERY_SETTINGS_KEY.EDITOR_SHOW_POST_FILTER, false);
|
68
71
|
}
|
69
72
|
get type() {
|
70
73
|
return FETCH_STRUCTURE_IMPLEMENTATION.TABULAR_DATA_STRUCTURE;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderTDSState.js","sourceRoot":"","sources":["../../../../src/stores/fetch-structure/tds/QueryBuilderTDSState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,MAAM,EACN,UAAU,EACV,cAAc,EACd,UAAU,EACV,IAAI,EACJ,QAAQ,GACT,MAAM,MAAM,CAAC;AACd,OAAO,EAEL,QAAQ,EACR,iBAAiB,EACjB,WAAW,EACX,aAAa,EACb,WAAW,EACX,cAAc,EACd,oBAAoB,EACpB,QAAQ,EACR,YAAY,EAEZ,SAAS,GACV,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAKL,mBAAmB,EACnB,mCAAmC,EACnC,WAAW,EACX,SAAS,EACT,mBAAmB,EACnB,KAAK,EACL,0BAA0B,EAC1B,iBAAiB,EACjB,wBAAwB,EACxB,kBAAkB,GACnB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AC,CAAC;IACL,CAAC;CACF"}
|
1
|
+
{"version":3,"file":"QueryBuilderTDSState.js","sourceRoot":"","sources":["../../../../src/stores/fetch-structure/tds/QueryBuilderTDSState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,MAAM,EACN,UAAU,EACV,cAAc,EACd,UAAU,EACV,IAAI,EACJ,QAAQ,GACT,MAAM,MAAM,CAAC;AACd,OAAO,EAEL,QAAQ,EACR,iBAAiB,EACjB,WAAW,EACX,aAAa,EACb,WAAW,EACX,cAAc,EACd,oBAAoB,EACpB,QAAQ,EACR,YAAY,EAEZ,SAAS,GACV,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAKL,mBAAmB,EACnB,mCAAmC,EACnC,WAAW,EACX,SAAS,EACT,mBAAmB,EACnB,KAAK,EACL,0BAA0B,EAC1B,iBAAiB,EACjB,wBAAwB,EACxB,kBAAkB,GACnB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,4BAA4B,EAC5B,6BAA6B,GAC9B,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,gCAAgC,EAChC,4BAA4B,GAC7B,MAAM,+CAA+C,CAAC;AACvD,OAAO,EAAE,uCAAuC,EAAE,MAAM,+CAA+C,CAAC;AACxG,OAAO,EACL,8BAA8B,EAC9B,6CAA6C,GAC9C,MAAM,qDAAqD,CAAC;AAC7D,OAAO,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAC/E,OAAO,EAAE,2BAA2B,EAAE,MAAM,8CAA8C,CAAC;AAE3F,OAAO,EAAE,sCAAsC,EAAE,MAAM,uDAAuD,CAAC;AAE/G,OAAO,EAAE,wCAAwC,EAAE,MAAM,sDAAsD,CAAC;AAChH,OAAO,EACL,2CAA2C,EAC3C,uCAAuC,GAExC,MAAM,mDAAmD,CAAC;AAE3D,OAAO,EACL,+CAA+C,EAC/C,kCAAkC,EAClC,iCAAiC,GAElC,MAAM,6CAA6C,CAAC;AACrD,O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AAC,QAA4B;QACzC,MAAM,OAAO,GAAG,IAAI,CAAC,iBAAiB,CAAC;QACvC,MAAM,iBAAiB,GAAG,OAAO,CAAC,MAAM,CACtC,YAAY,CAAC,2CAA2C,CAAC,CAC1D,CAAC;QACF,IAAI,iBAAiB,CAAC,MAAM,EAAE;YAC5B,oGAAoG;YACpG,OAAO,KAAK,CAAC;SACd;QACD,MAAM,gBAAgB,GAAG,OAAO;aAC7B,MAAM,CAAC,YAAY,CAAC,uCAAuC,CAAC,CAAC;aAC7D,IAAI,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,cAAc,CAAC,QAAQ,CAAC,CAAC,CAAC;QAC/C,MAAM,gBAAgB,GAAG,IAAI,CAAC,eAAe,CAAC,cAAc,CAAC,QAAQ,CAAC,CAAC;QACvE,OAAO,OAAO,CAAC,gBAAgB,IAAI,gBAAgB,CAAC,CAAC;IACvD,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,4BAA4B,CAAC,gBAAgB;YAC7C,SAAS,CAAC,IAAI,CAAC,iBAAiB,CAAC;YACjC,IAAI,CAAC,gBAAgB;YACrB,IAAI,CAAC,eAAe;YACpB,IAAI,CAAC,sBAAsB;SAC5B,CAAC,CAAC;IACL,CAAC;CACF"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@finos/legend-query-builder",
|
3
|
-
"version": "0.6.
|
3
|
+
"version": "0.6.33",
|
4
4
|
"description": "Legend query builder core",
|
5
5
|
"keywords": [
|
6
6
|
"legend",
|
@@ -45,9 +45,9 @@
|
|
45
45
|
"@ag-grid-community/core": "29.1.0",
|
46
46
|
"@ag-grid-community/react": "29.1.0",
|
47
47
|
"@ag-grid-community/styles": "29.1.0",
|
48
|
-
"@finos/legend-application": "12.0.
|
49
|
-
"@finos/legend-art": "5.0.
|
50
|
-
"@finos/legend-graph": "23.1.
|
48
|
+
"@finos/legend-application": "12.0.1",
|
49
|
+
"@finos/legend-art": "5.0.33",
|
50
|
+
"@finos/legend-graph": "23.1.1",
|
51
51
|
"@finos/legend-server-depot": "4.4.5",
|
52
52
|
"@finos/legend-shared": "8.0.0",
|
53
53
|
"@finos/legend-storage": "3.0.40",
|
@@ -68,6 +68,7 @@ import { QueryBuilderPostTDSPanel } from './fetch-structure/QueryBuilderPostTDSP
|
|
68
68
|
import { QueryBuilderWatermarkEditor } from './watermark/QueryBuilderWatermark.js';
|
69
69
|
import { QueryBuilderConstantExpressionPanel } from './QueryBuilderConstantExpressionPanel.js';
|
70
70
|
import { QueryBuilder_LegendApplicationPlugin } from './QueryBuilder_LegendApplicationPlugin.js';
|
71
|
+
import { LEGEND_QUERY_SETTINGS_KEY } from '../stores/LegendQueryStorage.js';
|
71
72
|
|
72
73
|
export const QUERY_BUILDER_BACKDROP_CONTAINER_ID =
|
73
74
|
'query-builder.backdrop-container';
|
@@ -290,6 +291,10 @@ export const QueryBuilder = observer(
|
|
290
291
|
) {
|
291
292
|
const tdsState = queryBuilderState.fetchStructureState.implementation;
|
292
293
|
tdsState.setShowPostFilterPanel(!tdsState.showPostFilterPanel);
|
294
|
+
queryBuilderState.applicationStore.storageService.settingsStore.persist(
|
295
|
+
LEGEND_QUERY_SETTINGS_KEY.EDITOR_SHOW_POST_FILTER,
|
296
|
+
tdsState.showPostFilterPanel,
|
297
|
+
);
|
293
298
|
}
|
294
299
|
};
|
295
300
|
|
@@ -22,6 +22,7 @@ import {
|
|
22
22
|
Modal,
|
23
23
|
ModalBody,
|
24
24
|
ModalFooter,
|
25
|
+
ModalFooterButton,
|
25
26
|
ModalFooterStatus,
|
26
27
|
ModalHeader,
|
27
28
|
PanelLoadingIndicator,
|
@@ -120,13 +121,20 @@ export const QueryBuilderTextEditor = observer(
|
|
120
121
|
.isInProgress && (
|
121
122
|
<ModalFooterStatus>Closing Query...</ModalFooterStatus>
|
122
123
|
)}
|
124
|
+
{queryBuilderState.queryCompileState.isInProgress && (
|
125
|
+
<ModalFooterStatus>
|
126
|
+
<div className="loading-icon__container--spinning">
|
127
|
+
<RefreshIcon />
|
128
|
+
</div>
|
129
|
+
Compiling Query...
|
130
|
+
</ModalFooterStatus>
|
131
|
+
)}
|
123
132
|
{mode === QueryBuilderTextEditorMode.TEXT && (
|
124
|
-
<
|
125
|
-
className="btn
|
133
|
+
<ModalFooterButton
|
134
|
+
className="btn--caution"
|
126
135
|
onClick={discardChanges}
|
127
|
-
|
128
|
-
|
129
|
-
</button>
|
136
|
+
text="Discard Changes"
|
137
|
+
/>
|
130
138
|
)}
|
131
139
|
<button
|
132
140
|
className="btn btn--dark"
|
@@ -0,0 +1,19 @@
|
|
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
|
+
|
17
|
+
export enum LEGEND_QUERY_SETTINGS_KEY {
|
18
|
+
EDITOR_SHOW_POST_FILTER = 'editor.showPostFilter',
|
19
|
+
}
|
@@ -109,7 +109,7 @@ export class QueryBuilderTextEditorState extends LambdaEditorState {
|
|
109
109
|
(yield this.queryBuilderState.graphManagerState.graphManager.pureCodeToLambda(
|
110
110
|
this.fullLambdaString,
|
111
111
|
this.lambdaId,
|
112
|
-
{ pruneSourceInformation:
|
112
|
+
{ pruneSourceInformation: false },
|
113
113
|
)) as RawLambda;
|
114
114
|
this.setParserError(undefined);
|
115
115
|
this.rawLambdaState.setLambda(lambda);
|
@@ -96,6 +96,7 @@ import { QueryBuilderWindowState } from './window/QueryBuilderWindowState.js';
|
|
96
96
|
import type { QueryBuilderTDS_WindowOperator } from './window/operators/QueryBuilderTDS_WindowOperator.js';
|
97
97
|
import { getQueryBuilderCoreWindowOperators } from './window/QueryBuilderWindowGroupByOperatorLoader.js';
|
98
98
|
import type { QueryBuilderTDSColumnState } from './QueryBuilderTDSColumnState.js';
|
99
|
+
import { LEGEND_QUERY_SETTINGS_KEY } from '../../LegendQueryStorage.js';
|
99
100
|
|
100
101
|
export class QueryBuilderTDSState
|
101
102
|
extends QueryBuilderFetchStructureImplementationState
|
@@ -107,7 +108,7 @@ export class QueryBuilderTDSState
|
|
107
108
|
readonly resultSetModifierState: QueryResultSetModifierState;
|
108
109
|
projectionColumns: QueryBuilderProjectionColumnState[] = [];
|
109
110
|
isConvertDerivationProjectionObjects = false;
|
110
|
-
showPostFilterPanel
|
111
|
+
showPostFilterPanel: boolean;
|
111
112
|
showWindowFuncPanel = false;
|
112
113
|
|
113
114
|
postFilterOperators: QueryBuilderPostFilterOperator[] =
|
@@ -152,6 +153,11 @@ export class QueryBuilderTDSState
|
|
152
153
|
this,
|
153
154
|
this.windowFuncOperators,
|
154
155
|
);
|
156
|
+
this.showPostFilterPanel =
|
157
|
+
this.queryBuilderState.applicationStore.storageService.settingsStore.getBooleanValue(
|
158
|
+
LEGEND_QUERY_SETTINGS_KEY.EDITOR_SHOW_POST_FILTER,
|
159
|
+
false,
|
160
|
+
);
|
155
161
|
}
|
156
162
|
|
157
163
|
get type(): string {
|
package/tsconfig.json
CHANGED
@@ -48,6 +48,7 @@
|
|
48
48
|
"./src/graphManager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.ts",
|
49
49
|
"./src/graphManager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.ts",
|
50
50
|
"./src/graphManager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.ts",
|
51
|
+
"./src/stores/LegendQueryStorage.ts",
|
51
52
|
"./src/stores/QueryBuilderBootstraper.ts",
|
52
53
|
"./src/stores/QueryBuilderChangeDetectionState.ts",
|
53
54
|
"./src/stores/QueryBuilderCommand.ts",
|