@finos/legend-query-builder 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/components/QueryBuilderConstantExpressionPanel.js +1 -1
- package/lib/components/QueryBuilderResultPanel.js +1 -1
- package/lib/components/shared/BasicValueSpecificationEditor.d.ts.map +1 -1
- package/lib/components/shared/BasicValueSpecificationEditor.js +41 -2
- package/lib/components/shared/BasicValueSpecificationEditor.js.map +1 -1
- package/lib/components/shared/LambdaEditor.d.ts.map +1 -1
- package/lib/components/shared/LambdaEditor.js +1 -1
- package/lib/components/shared/LambdaEditor.js.map +1 -1
- package/lib/index.css +1 -1
- package/lib/package.json +1 -1
- package/lib/stores/QueryBuilderState.d.ts +5 -4
- package/lib/stores/QueryBuilderState.d.ts.map +1 -1
- package/lib/stores/QueryBuilderState.js +21 -17
- package/lib/stores/QueryBuilderState.js.map +1 -1
- package/lib/stores/QueryBuilderStateBuilder.d.ts +2 -2
- package/lib/stores/QueryBuilderStateBuilder.d.ts.map +1 -1
- package/lib/stores/QueryBuilderStateBuilder.js +17 -11
- package/lib/stores/QueryBuilderStateBuilder.js.map +1 -1
- package/lib/stores/QueryBuilderTextEditorState.d.ts.map +1 -1
- package/lib/stores/QueryBuilderTextEditorState.js +4 -1
- package/lib/stores/QueryBuilderTextEditorState.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterStateBuilder.d.ts +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterStateBuilder.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterStateBuilder.js +14 -1
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterStateBuilder.js.map +1 -1
- package/lib/stores/filter/QueryBuilderFilterStateBuilder.d.ts.map +1 -1
- package/lib/stores/filter/QueryBuilderFilterStateBuilder.js +14 -1
- package/lib/stores/filter/QueryBuilderFilterStateBuilder.js.map +1 -1
- package/package.json +7 -7
- package/src/components/QueryBuilderConstantExpressionPanel.tsx +1 -1
- package/src/components/QueryBuilderResultPanel.tsx +1 -1
- package/src/components/shared/BasicValueSpecificationEditor.tsx +72 -2
- package/src/components/shared/LambdaEditor.tsx +0 -1
- package/src/stores/QueryBuilderState.ts +31 -18
- package/src/stores/QueryBuilderStateBuilder.ts +21 -17
- package/src/stores/QueryBuilderTextEditorState.ts +4 -1
- package/src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterStateBuilder.ts +20 -1
- package/src/stores/filter/QueryBuilderFilterStateBuilder.ts +20 -0
@@ -26,7 +26,7 @@ import { variableExpression_setName } from '../stores/shared/ValueSpecificationM
|
|
26
26
|
import { BasicValueSpecificationEditor } from './shared/BasicValueSpecificationEditor.js';
|
27
27
|
import { VariableViewer } from './shared/QueryBuilderVariableSelector.js';
|
28
28
|
import { QUERY_BUILDER_TEST_ID } from '../application/QueryBuilderTesting.js';
|
29
|
-
//
|
29
|
+
// NOTE: We currently only allow constant variables for primitive types of multiplicity ONE.
|
30
30
|
// This is why we don't show multiplicity in the editor.
|
31
31
|
const QueryBuilderConstantExpressionEditor = observer((props) => {
|
32
32
|
const { constantState } = props;
|
@@ -166,7 +166,7 @@ const QueryBuilderGridResult = observer((props) => {
|
|
166
166
|
return data.data.rowNumber;
|
167
167
|
},
|
168
168
|
}, modules: [ClientSideRowModelModule],
|
169
|
-
//
|
169
|
+
// NOTE: we use onCellMouseOver as a bit of a workaround
|
170
170
|
// since we use the context menu so we want the user to be
|
171
171
|
// able to right click any cell and have the context menu
|
172
172
|
// options use the data belonging to the row that they are
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"BasicValueSpecificationEditor.d.ts","sourceRoot":"","sources":["../../../src/components/shared/BasicValueSpecificationEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;;AAGH,OAAO,EACL,KAAK,gBAAgB,EAgBtB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAEL,KAAK,IAAI,EACT,KAAK,kBAAkB,EACvB,KAAK,SAAS,EAMd,kBAAkB,EASlB,KAAK,eAAe,EACrB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,KAAK,aAAa,EAClB,KAAK,WAAW,EAMjB,MAAM,sBAAsB,CAAC;AAW9B,KAAK,eAAe,GAAG;IACrB,YAAY,EAAE,IAAI,CAAC;IACnB;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC;IACzC,QAAQ,EAAE,kBAAkB,CAAC;IAC7B,QAAQ,EAAE,KAAK,CAAC,YAAY,CAAC;IAC7B,SAAS,CAAC,EAAE,gBAAgB,GAAG,SAAS,CAAC;CAC1C,CAkDA,CAAC;AAEF,eAAO,MAAM,+BAA+B,aAAa,CAAC;AAE1D,MAAM,WAAW,8BAA8B;IAC7C,QAAQ,EAAE,kBAAkB,CAAC;CAC9B;
|
1
|
+
{"version":3,"file":"BasicValueSpecificationEditor.d.ts","sourceRoot":"","sources":["../../../src/components/shared/BasicValueSpecificationEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;;AAGH,OAAO,EACL,KAAK,gBAAgB,EAgBtB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAEL,KAAK,IAAI,EACT,KAAK,kBAAkB,EACvB,KAAK,SAAS,EAMd,kBAAkB,EASlB,KAAK,eAAe,EACrB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,KAAK,aAAa,EAClB,KAAK,WAAW,EAMjB,MAAM,sBAAsB,CAAC;AAW9B,KAAK,eAAe,GAAG;IACrB,YAAY,EAAE,IAAI,CAAC;IACnB;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC;IACzC,QAAQ,EAAE,kBAAkB,CAAC;IAC7B,QAAQ,EAAE,KAAK,CAAC,YAAY,CAAC;IAC7B,SAAS,CAAC,EAAE,gBAAgB,GAAG,SAAS,CAAC;CAC1C,CAkDA,CAAC;AAEF,eAAO,MAAM,+BAA+B,aAAa,CAAC;AAE1D,MAAM,WAAW,8BAA8B;IAC7C,QAAQ,EAAE,kBAAkB,CAAC;CAC9B;AAgpBD;;;;;GAKG;AACH,eAAO,MAAM,6BAA6B,EAAE,KAAK,CAAC,EAAE,CAAC;IACnD,kBAAkB,EAAE,kBAAkB,CAAC;IACvC,KAAK,EAAE,SAAS,CAAC;IACjB,cAAc,EAAE,eAAe,CAAC;IAChC,eAAe,EAAE,eAAe,CAAC;IACjC,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,qBAAqB,EAAE,CAAC,GAAG,EAAE,kBAAkB,KAAK,IAAI,CAAC;IACzD,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,cAAc,CAAC,EACX;QACE,MAAM,EAAE,MAAM,EAAE,GAAG,SAAS,CAAC;QAC7B,SAAS,EAAE,OAAO,CAAC;QACnB,YAAY,EACR,aAAa,CAAC,CAAC,UAAU,EAAE,MAAM,KAAK,WAAW,CAAC,IAAI,CAAC,CAAC,GACxD,SAAS,CAAC;QACd,mBAAmB,CAAC,EAAE,MAAM,IAAI,CAAC;KAClC,GACD,SAAS,CAAC;CACf,CAwIA,CAAC"}
|
@@ -105,16 +105,55 @@ const BooleanPrimitiveInstanceValueEditor = observer((props) => {
|
|
105
105
|
});
|
106
106
|
const NumberPrimitiveInstanceValueEditor = observer((props) => {
|
107
107
|
const { valueSpecification, isInteger, className, resetValue, setValueSpecification, } = props;
|
108
|
+
const DECIMAL_POINT = '.';
|
109
|
+
const NEGATIVE_SIGN = '-';
|
110
|
+
// NOTE: Although we want to allow the user to type
|
111
|
+
// '-' and '.' for negative and decimal numbers respectively,
|
112
|
+
// we want to check for when user leaves the input to not
|
113
|
+
// leave the number value at an invalid state (i.e. if
|
114
|
+
// user just left '-' without an actual number)
|
115
|
+
const onBlur = () => {
|
116
|
+
if (valueSpecification.values[0] === NEGATIVE_SIGN) {
|
117
|
+
instanceValue_setValue(valueSpecification, 0, 0);
|
118
|
+
}
|
119
|
+
const numberInputValue = valueSpecification.values[0];
|
120
|
+
if (numberInputValue.length > 0 &&
|
121
|
+
numberInputValue.at(-1) === DECIMAL_POINT) {
|
122
|
+
instanceValue_setValue(valueSpecification, parseInt(numberInputValue.substring(0, numberInputValue.length - 1), 10), 0);
|
123
|
+
}
|
124
|
+
const val = isInteger
|
125
|
+
? parseInt(numberInputValue, 10)
|
126
|
+
: parseFloat(numberInputValue);
|
127
|
+
instanceValue_setValue(valueSpecification, val, 0);
|
128
|
+
setValueSpecification(valueSpecification);
|
129
|
+
};
|
108
130
|
const value = valueSpecification.values[0];
|
109
131
|
const changeValue = (event) => {
|
132
|
+
const valueIsDecimalPoint = event.nativeEvent.data === DECIMAL_POINT;
|
133
|
+
const valueIsNegativeSymbol = event.nativeEvent.data === NEGATIVE_SIGN;
|
134
|
+
if (!isInteger &&
|
135
|
+
valueIsDecimalPoint &&
|
136
|
+
value.toString().length > 0 &&
|
137
|
+
!value.toString().includes(DECIMAL_POINT)) {
|
138
|
+
instanceValue_setValue(valueSpecification, valueSpecification.values[0] + DECIMAL_POINT, 0);
|
139
|
+
return;
|
140
|
+
}
|
141
|
+
if (value.toString().includes(DECIMAL_POINT) &&
|
142
|
+
event.nativeEvent.data === '0') {
|
143
|
+
instanceValue_setValue(valueSpecification, `${valueSpecification.values[0]}0`, 0);
|
144
|
+
setValueSpecification(valueSpecification);
|
145
|
+
return;
|
146
|
+
}
|
110
147
|
let inputVal = isInteger
|
111
148
|
? parseInt(event.target.value, 10)
|
112
149
|
: parseFloat(event.target.value);
|
113
150
|
inputVal = isNaN(inputVal) ? 0 : inputVal;
|
114
|
-
|
151
|
+
valueIsNegativeSymbol
|
152
|
+
? instanceValue_setValue(valueSpecification, NEGATIVE_SIGN, 0)
|
153
|
+
: instanceValue_setValue(valueSpecification, inputVal, 0);
|
115
154
|
setValueSpecification(valueSpecification);
|
116
155
|
};
|
117
|
-
return (_jsxs("div", { className: clsx('value-spec-editor', className), children: [_jsx("input", { className: "panel__content__form__section__input value-spec-editor__input", spellCheck: false, type: "
|
156
|
+
return (_jsxs("div", { className: clsx('value-spec-editor', className), children: [_jsx("input", { className: "panel__content__form__section__input value-spec-editor__input", spellCheck: false, type: "text", value: value, onBlur: onBlur, onChange: changeValue }), _jsx("button", { className: "value-spec-editor__reset-btn", title: "Reset", onClick: resetValue, children: _jsx(RefreshIcon, {}) })] }));
|
118
157
|
});
|
119
158
|
const EnumValueInstanceValueEditor = observer((props) => {
|
120
159
|
const { valueSpecification, className, resetValue, setValueSpecification } = props;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"BasicValueSpecificationEditor.js","sourceRoot":"","sources":["../../../src/components/shared/BasicValueSpecificationEditor.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAGL,OAAO,EACP,UAAU,EACV,IAAI,EACJ,cAAc,EACd,WAAW,EACX,eAAe,EACf,UAAU,EACV,mBAAmB,EACnB,QAAQ,EACR,UAAU,EACV,gBAAgB,EAChB,wBAAwB,EACxB,WAAW,EACX,gBAAgB,GACjB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAKL,sBAAsB,EACtB,uBAAuB,EACvB,sBAAsB,EACtB,yBAAyB,EACzB,wBAAwB,EACxB,kBAAkB,EAClB,0BAA0B,EAC1B,aAAa,EACb,cAAc,EACd,4BAA4B,EAC5B,WAAW,EACX,WAAW,EACX,YAAY,EACZ,0BAA0B,GAE3B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAGL,oBAAoB,EACpB,aAAa,EACb,kBAAkB,EAClB,IAAI,EACJ,cAAc,GACf,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,U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AAC;AACjD,CAAC,CAAC"}
|
1
|
+
{"version":3,"file":"BasicValueSpecificationEditor.js","sourceRoot":"","sources":["../../../src/components/shared/BasicValueSpecificationEditor.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAGL,OAAO,EACP,UAAU,EACV,IAAI,EACJ,cAAc,EACd,WAAW,EACX,eAAe,EACf,UAAU,EACV,mBAAmB,EACnB,QAAQ,EACR,UAAU,EACV,gBAAgB,EAChB,wBAAwB,EACxB,WAAW,EACX,gBAAgB,GACjB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAKL,sBAAsB,EACtB,uBAAuB,EACvB,sBAAsB,EACtB,yBAAyB,EACzB,wBAAwB,EACxB,kBAAkB,EAClB,0BAA0B,EAC1B,aAAa,EACb,cAAc,EACd,4BAA4B,EAC5B,WAAW,EACX,WAAW,EACX,YAAY,EACZ,0BAA0B,GAE3B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAGL,oBAAoB,EACpB,aAAa,EACb,kBAAkB,EAClB,IAAI,EACJ,cAAc,GACf,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,SAAS,MAAM,WAAW,CAAC;AAClC,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACpD,OAAO,EACL,sBAAsB,EACtB,uBAAuB,GACxB,MAAM,yDAAyD,CAAC;AACjE,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAczD,MAAM,CAAC,MAAM,mBAAmB,GAI3B,CAAC,KAAK,EAAE,EAAE;IACb,MAAM,EAAE,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,KAAK,CAAC;IAChD,MAAM,IAA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B,EAAE,qBAAqB,EAC5C,UAAU,EAAE,UAAU,GACtB,CACH,CAAC;KACH;IACD,OAAO,KAAC,mCAAmC,KAAG,CAAC;AACjD,CAAC,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"LambdaEditor.d.ts","sourceRoot":"","sources":["../../../src/components/shared/LambdaEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAwBH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,0CAA0C,CAAC;AAQlF,OAAO,EAAiC,KAAK,IAAI,EAAE,MAAM,qBAAqB,CAAC;
|
1
|
+
{"version":3,"file":"LambdaEditor.d.ts","sourceRoot":"","sources":["../../../src/components/shared/LambdaEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAwBH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,0CAA0C,CAAC;AAQlF,OAAO,EAAiC,KAAK,IAAI,EAAE,MAAM,qBAAqB,CAAC;AAklB/E;;;GAGG;AACH,eAAO,MAAM,YAAY,WACf;IACN,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,QAAQ,EAAE,OAAO,CAAC;IAClB,iBAAiB,EAAE,iBAAiB,CAAC;IACrC;;;;OAIG;IACH,YAAY,CAAC,EAAE,IAAI,GAAG,SAAS,CAAC;IAChC,mBAAmB,CAAC,EAAE,CAAC,MAAM,OAAO,CAAC,GAAG,SAAS,CAAC;IAClD,yBAAyB,CAAC,EAAE,CAAC,MAAM,IAAI,CAAC,GAAG,SAAS,CAAC;IACrD;;;;;;;;;;;;;OAaG;IACH,aAAa,EAAE,OAAO,CAAC;IACvB;;OAEG;IACH,gBAAgB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACvC;;;;;OAKG;IACH,cAAc,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACrC;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACnC;;OAEG;IACH,yBAAyB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAChD;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACnC,aAAa,CAAC,EAAE,CAAC,MAAM,IAAI,CAAC,GAAG,SAAS,CAAC;CAC1C;;CA6FF,CAAC"}
|
@@ -348,7 +348,7 @@ const LambdaEditorPopUp = observer((props) => {
|
|
348
348
|
root: 'editor-modal__root-container',
|
349
349
|
container: 'editor-modal__container',
|
350
350
|
paper: 'editor-modal__content',
|
351
|
-
}, children: _jsxs(Modal, { darkMode: true,
|
351
|
+
}, children: _jsxs(Modal, { darkMode: true, className: clsx('editor-modal lambda-editor__popup__modal', {
|
352
352
|
'lambda-editor__popup__modal--has-error': Boolean(lambdaEditorState.parserError),
|
353
353
|
}, {
|
354
354
|
'lambda-editor--light': applicationStore.layoutService
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"LambdaEditor.js","sourceRoot":"","sources":["../../../src/components/shared/LambdaEditor.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAC7D,OAAO,EAAE,MAAM,IAAI,eAAe,EAAoB,MAAM,eAAe,CAAC;AAC5E,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,IAAI,EACJ,aAAa,EACb,wBAAwB,EACxB,cAAc,EACd,mBAAmB,EACnB,wBAAwB,EACxB,oBAAoB,EACpB,kBAAkB,EAClB,MAAM,EACN,iBAAiB,EACjB,YAAY,EACZ,eAAe,EACf,KAAK,EACL,SAAS,EACT,WAAW,EACX,WAAW,EACX,UAAU,GACX,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EACL,QAAQ,EACR,IAAI,GAGL,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,UAAU,EAAE,MAAM,MAA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c,EACZ,gBAAgB,KAAK,SAAS;YAC5B,CAAC,CAAC,CAAC,gBAAgB,IAAI,cAAc;YACrC,CAAC,CAAC,cAAc,EAEpB,YAAY,EAAE,YAAY,EAC1B,yBAAyB,EAAE,yBAAyB,EACpD,YAAY,EAAE,YAAY,EAC1B,WAAW,EAAE,WAAW,EACxB,aAAa,EAAE,aAAa,IAnBvB,iBAAiB,CAAC,IAAI,CAoB3B,CACH,CAAC;AACJ,CAAC,CACF,CAAC"}
|
package/lib/index.css
CHANGED
package/lib/package.json
CHANGED
@@ -84,9 +84,7 @@ export declare abstract class QueryBuilderState implements CommandRegistrar {
|
|
84
84
|
registerCommands(): void;
|
85
85
|
isVariableUsed(variable: VariableExpression): boolean;
|
86
86
|
deregisterCommands(): void;
|
87
|
-
resetQueryResult(): void;
|
88
|
-
resetQueryBodyContent(): void;
|
89
|
-
resetQueryParameterContent(): void;
|
87
|
+
resetQueryResult(preserveResult?: boolean): void;
|
90
88
|
resetQueryContent(): void;
|
91
89
|
changeClass(val: Class): void;
|
92
90
|
changeMapping(val: Mapping, options?: {
|
@@ -100,7 +98,10 @@ export declare abstract class QueryBuilderState implements CommandRegistrar {
|
|
100
98
|
/**
|
101
99
|
* Process the provided query, and rebuild the query builder state.
|
102
100
|
*/
|
103
|
-
rebuildWithQuery(query: RawLambda
|
101
|
+
rebuildWithQuery(query: RawLambda, options?: {
|
102
|
+
preserveParameterValues?: boolean | undefined;
|
103
|
+
preserveResult?: boolean | undefined;
|
104
|
+
}): void;
|
104
105
|
saveQuery(onSaveQuery: (lambda: RawLambda) => Promise<void>): Promise<void>;
|
105
106
|
compileQuery(): GeneratorFn<void>;
|
106
107
|
get validationIssues(): string[] | undefined;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderState.d.ts","sourceRoot":"","sources":["../../src/stores/QueryBuilderState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAUH,OAAO,EACL,KAAK,WAAW,EAMhB,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,OAAO;IASrD,kBAAkB,IAAI,IAAI;IAM1B,gBAAgB,CAAC,cAAc,CAAC,EAAE,OAAO,GAAG,IAAI;IAWhD,iBAAiB,IAAI,IAAI;IAgCzB,WAAW,CAAC,GAAG,EAAE,KAAK,GAAG,IAAI;IAS7B,aAAa,CAAC,GAAG,EAAE,OAAO,EAAE,OAAO,CAAC,EAAE;QAAE,gBAAgB,CAAC,EAAE,OAAO,CAAA;KAAE,GAAG,IAAI;IAS3E,aAAa,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI;IAKjC,UAAU,CAAC,OAAO,CAAC,EAAE;QAAE,qBAAqB,EAAE,OAAO,CAAA;KAAE,GAAG,SAAS;IAoBnE,mBAAmB,CAAC,KAAK,EAAE,SAAS,GAAG,IAAI;IAM3C;;OAEG;IACH,gBAAgB,CACd,KAAK,EAAE,SAAS,EAChB,OAAO,CAAC,EAAE;QACR,uBAAuB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;QAC9C,cAAc,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;KACtC,GACA,IAAI;IA0DD,SAAS,CACb,WAAW,EAAE,CAAC,MAAM,EAAE,SAAS,KAAK,OAAO,CAAC,IAAI,CAAC,GAChD,OAAO,CAAC,IAAI,CAAC;IAYf,YAAY,IAAI,WAAW,CAAC,IAAI,CAAC;IAwFlC,IAAI,gBAAgB,IAAI,MAAM,EAAE,GAAG,SAAS,CAE3C;IAED;;;;OAIG;IACH,kCAAkC,IAAI,iBAAiB;IAYvD,IAAI,QAAQ,IAAI,MAAM,CAWrB;CACF;AAED;;;;;;;;;GASG;AACH,qBAAa,gCAAiC,SAAQ,iBAAiB;CAAG"}
|
@@ -99,8 +99,6 @@ export class QueryBuilderState {
|
|
99
99
|
setTitleOfQuery: action,
|
100
100
|
resetQueryResult: action,
|
101
101
|
resetQueryContent: action,
|
102
|
-
resetQueryBodyContent: action,
|
103
|
-
resetQueryParameterContent: action,
|
104
102
|
changeClass: action,
|
105
103
|
changeMapping: action,
|
106
104
|
rebuildWithQuery: action,
|
@@ -201,12 +199,17 @@ export class QueryBuilderState {
|
|
201
199
|
deregisterCommands() {
|
202
200
|
[QUERY_BUILDER_COMMAND_KEY.COMPILE].forEach((key) => this.applicationStore.commandService.deregisterCommand(key));
|
203
201
|
}
|
204
|
-
resetQueryResult() {
|
202
|
+
resetQueryResult(preserveResult) {
|
205
203
|
const resultState = new QueryBuilderResultState(this);
|
206
204
|
resultState.setPreviewLimit(this.resultState.previewLimit);
|
205
|
+
if (preserveResult) {
|
206
|
+
resultState.setExecutionResult(this.resultState.executionResult);
|
207
|
+
resultState.setExecutionDuration(this.resultState.executionDuration);
|
208
|
+
resultState.latestRunHashCode = this.resultState.latestRunHashCode;
|
209
|
+
}
|
207
210
|
this.resultState = resultState;
|
208
211
|
}
|
209
|
-
|
212
|
+
resetQueryContent() {
|
210
213
|
this.textEditorState = new QueryBuilderTextEditorState(this);
|
211
214
|
this.unsupportedQueryState = new QueryBuilderUnsupportedQueryState(this);
|
212
215
|
this.milestoningState = new QueryBuilderMilestoningState(this);
|
@@ -219,6 +222,7 @@ export class QueryBuilderState {
|
|
219
222
|
this.explorerState.refreshTreeData();
|
220
223
|
this.constantState = new QueryBuilderConstantsState(this);
|
221
224
|
this.functionsExplorerState = new QueryFunctionsExplorerState(this);
|
225
|
+
this.parametersState = new QueryBuilderParametersState(this);
|
222
226
|
this.filterState = new QueryBuilderFilterState(this, this.filterOperators);
|
223
227
|
this.watermarkState = new QueryBuilderWatermarkState(this);
|
224
228
|
this.checkEntitlementsState = new QueryBuilderCheckEntitlementsState(this);
|
@@ -229,13 +233,6 @@ export class QueryBuilderState {
|
|
229
233
|
this.fetchStructureState.changeImplementation(currentFetchStructureImplementationType);
|
230
234
|
}
|
231
235
|
}
|
232
|
-
resetQueryParameterContent() {
|
233
|
-
this.parametersState = new QueryBuilderParametersState(this);
|
234
|
-
}
|
235
|
-
resetQueryContent() {
|
236
|
-
this.resetQueryParameterContent();
|
237
|
-
this.resetQueryBodyContent();
|
238
|
-
}
|
239
236
|
changeClass(val) {
|
240
237
|
this.resetQueryResult();
|
241
238
|
this.resetQueryContent();
|
@@ -267,21 +264,28 @@ export class QueryBuilderState {
|
|
267
264
|
}), this.graphManagerState);
|
268
265
|
}
|
269
266
|
initializeWithQuery(query) {
|
270
|
-
this.resetQueryParameterContent();
|
271
267
|
this.rebuildWithQuery(query);
|
268
|
+
this.resetQueryResult();
|
272
269
|
this.changeDetectionState.initialize(query);
|
273
270
|
}
|
274
271
|
/**
|
275
272
|
* Process the provided query, and rebuild the query builder state.
|
276
273
|
*/
|
277
|
-
rebuildWithQuery(query) {
|
274
|
+
rebuildWithQuery(query, options) {
|
275
|
+
const previousStateParameterValues = new Map();
|
278
276
|
try {
|
279
|
-
|
280
|
-
|
277
|
+
if (options?.preserveParameterValues) {
|
278
|
+
// Preserving parameter values
|
279
|
+
this.parametersState.parameterStates.forEach((ps) => {
|
280
|
+
previousStateParameterValues.set(ps.parameter, ps.value);
|
281
|
+
});
|
282
|
+
}
|
283
|
+
this.resetQueryResult(options?.preserveResult);
|
284
|
+
this.resetQueryContent();
|
281
285
|
if (!isStubbed_RawLambda(query)) {
|
282
286
|
const valueSpec = observe_ValueSpecification(this.graphManagerState.graphManager.buildValueSpecification(this.graphManagerState.graphManager.serializeRawValueSpecification(query), this.graphManagerState.graph), this.observableContext);
|
283
287
|
const compiledValueSpecification = guaranteeType(valueSpec, LambdaFunctionInstanceValue, `Can't build query state: query builder only support lambda`);
|
284
|
-
processQueryLambdaFunction(guaranteeNonNullable(compiledValueSpecification.values[0]), this);
|
288
|
+
processQueryLambdaFunction(guaranteeNonNullable(compiledValueSpecification.values[0]), this, previousStateParameterValues);
|
285
289
|
}
|
286
290
|
if (this.parametersState.parameterStates.length > 0) {
|
287
291
|
this.setShowParametersPanel(true);
|
@@ -289,8 +293,8 @@ export class QueryBuilderState {
|
|
289
293
|
}
|
290
294
|
catch (error) {
|
291
295
|
assertErrorThrown(error);
|
292
|
-
this.resetQueryBodyContent();
|
293
296
|
this.resetQueryResult();
|
297
|
+
this.resetQueryContent();
|
294
298
|
this.unsupportedQueryState.setLambdaError(error);
|
295
299
|
this.unsupportedQueryState.setRawLambda(query);
|
296
300
|
this.setClass(undefined);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderState.js","sourceRoot":"","sources":["../../src/stores/QueryBuilderState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,MAAM,EACN,IAAI,EACJ,UAAU,EACV,cAAc,EACd,QAAQ,EACR,UAAU,GACX,MAAM,MAAM,CAAC;AACd,OAAO,EAEL,QAAQ,EACR,iBAAiB,EACjB,oBAAoB,EACpB,aAAa,EACb,YAAY,EACZ,WAAW,EACX,SAAS,GACV,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,EAAE,+BAA+B,EAAE,MAAM,sDAAsD,CAAC;AACvG,OAAO,EACL,0BAA0B,EAC1B,2BAA2B,GAC5B,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,yBAAyB,EAAE,MAAM,yCAAyC,CAAC;AACpF,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AACvE,OAAO,EACL,0BAA0B,EAC1B,iBAAiB,GAClB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,iCAAiC,EAAE,MAAM,wCAAwC,CAAC;AAC3F,OAAO,EAKL,mBAAmB,EACnB,gBAAgB,EAChB,mCAAmC,EACnC,2BAA2B,EAC3B,SAAS,EACT,kBAAkB,EAClB,0BAA0B,EAC1B,eAAe,EACf,mBAAmB,EACnB,8BAA8B,EAC9B,gCAAgC,GACjC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,mBAAmB,EAAE,MAAM,4CAA4C,CAAC;AAKjF,OAAO,EAAE,2BAA2B,EAAE,MAAM,2CAA2C,CAAC;AACxF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IAED,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,4BAA4B,CAAC,mBAAmB;YAChD,IAAI,CAAC,qBAAqB;YAC1B,IAAI,CAAC,gBAAgB;YACrB,IAAI,CAAC,eAAe;YACpB,IAAI,CAAC,WAAW;YAChB,IAAI,CAAC,cAAc;YACnB,IAAI,CAAC,sBAAsB;YAC3B,IAAI,CAAC,mBAAmB,CAAC,cAAc;SACxC,CAAC,CAAC;IACL,CAAC;CACF;AAED;;;;;;;;;GASG;AACH,MAAM,OAAO,gCAAiC,SAAQ,iBAAiB;CAAG"}
|
@@ -114,6 +114,6 @@ export declare class QueryBuilderValueSpecificationProcessor implements ValueSpe
|
|
114
114
|
visit_LambdaFunctionInstanceValue(valueSpecification: LambdaFunctionInstanceValue): void;
|
115
115
|
visit_GraphFetchTreeInstanceValue(valueSpecification: GraphFetchTreeInstanceValue): void;
|
116
116
|
}
|
117
|
-
export declare const processParameters: (parameters: VariableExpression[], queryBuilderState: QueryBuilderState) => void;
|
118
|
-
export declare const processQueryLambdaFunction: (lambdaFunction: LambdaFunction, queryBuilderState: QueryBuilderState) => void;
|
117
|
+
export declare const processParameters: (parameters: VariableExpression[], queryBuilderState: QueryBuilderState, preservedParameters?: Map<VariableExpression, ValueSpecification | undefined>) => void;
|
118
|
+
export declare const processQueryLambdaFunction: (lambdaFunction: LambdaFunction, queryBuilderState: QueryBuilderState, preservedParameters?: Map<VariableExpression, ValueSpecification | undefined>) => void;
|
119
119
|
//# sourceMappingURL=QueryBuilderStateBuilder.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderStateBuilder.d.ts","sourceRoot":"","sources":["../../src/stores/QueryBuilderStateBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAWH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAChE,OAAO,EACL,KAAK,sBAAsB,EAC3B,KAAK,kBAAkB,EACvB,KAAK,2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AiB,GACnC,IAAI;IAUP;;;OAGG;IACH,MAAM,CAAC,YAAY,CACjB,kBAAkB,EAAE,kBAAkB,EACtC,gBAAgB,EAAE,wBAAwB,EAC1C,YAAY,EAAE,cAAc,EAC5B,iBAAiB,EAAE,iBAAiB,GACnC,IAAI;IAUP,yCAAyC,CACvC,kBAAkB,EAAE,mCAAmC,GACtD,IAAI;IA0BP,+BAA+B,CAC7B,kBAAkB,EAAE,yBAAyB,GAC5C,IAAI;IAIP,wBAAwB,CAAC,kBAAkB,EAAE,kBAAkB,GAAG,IAAI;IAItE,8BAA8B,CAC5B,kBAAkB,EAAE,wBAAwB,GAC3C,IAAI;IAiOP,wBAAwB,CAAC,kBAAkB,EAAE,kBAAkB,GAAG,IAAI;IAItE,gCAAgC,CAC9B,kBAAkB,EAAE,0BAA0B,GAC7C,IAAI;IAyBP,mBAAmB,CAAC,kBAAkB,EAAE,aAAa,GAAG,IAAI;IAI5D,6BAA6B,CAC3B,kBAAkB,EAAE,uBAAuB,GAC1C,IAAI;IAIP,4BAA4B,CAC1B,kBAAkB,EAAE,sBAAsB,GACzC,IAAI;IAIP,4BAA4B,CAC1B,kBAAkB,EAAE,sBAAsB,GACzC,IAAI;IAIP,iCAAiC,CAC/B,kBAAkB,EAAE,2BAA2B,GAC9C,IAAI;IAcP,iCAAiC,CAC/B,kBAAkB,EAAE,2BAA2B,GAC9C,IAAI;CAGR;AAED,eAAO,MAAM,iBAAiB,eAChB,kBAAkB,EAAE,qBACb,iBAAiB,wBACd,IAAI,kBAAkB,EAAE,kBAAkB,GAAG,SAAS,CAAC,KAC5E,IA0BF,CAAC;AAEF,eAAO,MAAM,0BAA0B,mBACrB,cAAc,qBACX,iBAAiB,wBACd,IAAI,kBAAkB,EAAE,kBAAkB,GAAG,SAAS,CAAC,KAC5E,IAeF,CAAC"}
|
@@ -26,7 +26,6 @@ import { processTDS_OLAPGroupByExpression } from './fetch-structure/tds/window/Q
|
|
26
26
|
import { processWatermarkExpression } from './watermark/QueryBuilderWatermarkStateBuilder.js';
|
27
27
|
import { QueryBuilderConstantExpressionState } from './QueryBuilderConstantsState.js';
|
28
28
|
import { checkIfEquivalent } from './milestoning/QueryBuilderMilestoningHelper.js';
|
29
|
-
import { QueryBuilderParametersState } from './QueryBuilderParametersState.js';
|
30
29
|
const processGetAllExpression = (expression, queryBuilderState) => {
|
31
30
|
const _class = expression.genericType?.value.rawType;
|
32
31
|
assertType(_class, Class, `Can't process getAll() expression: getAll() return type is missing`);
|
@@ -303,26 +302,33 @@ export class QueryBuilderValueSpecificationProcessor {
|
|
303
302
|
throw new UnsupportedOperationError();
|
304
303
|
}
|
305
304
|
}
|
306
|
-
export const processParameters = (parameters, queryBuilderState) => {
|
307
|
-
const queryParameterState =
|
308
|
-
// Here we won't
|
305
|
+
export const processParameters = (parameters, queryBuilderState, preservedParameters) => {
|
306
|
+
const queryParameterState = queryBuilderState.parametersState;
|
307
|
+
// Here we won't mock the values for parameters which are present in the previous state
|
309
308
|
// because we don't want to lose the parameter value
|
310
309
|
parameters.forEach((parameter) => {
|
311
|
-
|
312
|
-
if (
|
313
|
-
|
310
|
+
let oldParamterValue;
|
311
|
+
if (preservedParameters) {
|
312
|
+
Array.from(preservedParameters.entries()).forEach(([key, value]) => {
|
313
|
+
if (checkIfEquivalent(key, parameter)) {
|
314
|
+
oldParamterValue = value;
|
315
|
+
}
|
316
|
+
});
|
317
|
+
}
|
318
|
+
const parameterState = new LambdaParameterState(parameter, queryBuilderState.observableContext, queryBuilderState.graphManagerState.graph);
|
319
|
+
if (oldParamterValue) {
|
320
|
+
parameterState.setValue(oldParamterValue);
|
314
321
|
}
|
315
322
|
else {
|
316
|
-
const parameterState = new LambdaParameterState(parameter, queryBuilderState.observableContext, queryBuilderState.graphManagerState.graph);
|
317
323
|
parameterState.mockParameterValue();
|
318
|
-
queryParameterState.addParameter(parameterState);
|
319
324
|
}
|
325
|
+
queryParameterState.addParameter(parameterState);
|
320
326
|
});
|
321
327
|
queryBuilderState.parametersState = queryParameterState;
|
322
328
|
};
|
323
|
-
export const processQueryLambdaFunction = (lambdaFunction, queryBuilderState) => {
|
329
|
+
export const processQueryLambdaFunction = (lambdaFunction, queryBuilderState, preservedParameters) => {
|
324
330
|
if (lambdaFunction.functionType.parameters.length) {
|
325
|
-
processParameters(lambdaFunction.functionType.parameters, queryBuilderState);
|
331
|
+
processParameters(lambdaFunction.functionType.parameters, queryBuilderState, preservedParameters);
|
326
332
|
}
|
327
333
|
lambdaFunction.expressionSequence.map((expression) => QueryBuilderValueSpecificationProcessor.process(expression, lambdaFunction, queryBuilderState));
|
328
334
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderStateBuilder.js","sourceRoot":"","sources":["../../src/stores/QueryBuilderStateBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,iBAAiB,EACjB,UAAU,EACV,UAAU,EACV,iBAAiB,EACjB,oBAAoB,EACpB,aAAa,EACb,yBAAyB,GAC1B,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAQL,iBAAiB,EACjB,KAAK,EAGL,sBAAsB,EACtB,wBAAwB,EAGxB,8BAA8B,EAG9B,mBAAmB,GACpB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,8BAA8B,EAAE,MAAM,yEAAyE,CAAC;AACzH,OAAO,EAAE,uBAAuB,EAAE,MAAM,4CAA4C,CAAC;AACrF,OAAO,EACL,6BAA6B,EAC7B,2BAA2B,GAC5B,MAAM,0EAA0E,CAAC;AAClF,OAAO,EACL,2BAA2B,EAC3B,oCAAoC,GACrC,MAAM,yEAAyE,CAAC;AACjF,OAAO,EACL,4BAA4B,EAC5B,2BAA2B,EAC3B,4CAA4C,EAC5C,wCAAwC,EACxC,iCAAiC,EACjC,wBAAwB,EACxB,wBAAwB,GACzB,MAAM,wEAAwE,CAAC;AAChF,OAAO,EAAE,iCAAiC,EAAE,MAAM,mDAAmD,CAAC;AACtG,OAAO,EAA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