@finos/legend-query-builder 4.14.63 → 4.14.65
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/components/__test-utils__/QueryBuilderComponentTestUtils.d.ts +3 -0
- package/lib/components/__test-utils__/QueryBuilderComponentTestUtils.d.ts.map +1 -1
- package/lib/components/__test-utils__/QueryBuilderComponentTestUtils.js +12 -1
- package/lib/components/__test-utils__/QueryBuilderComponentTestUtils.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.d.ts.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js +20 -19
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js.map +1 -1
- package/lib/components/filter/QueryBuilderFilterPanel.d.ts +7 -1
- package/lib/components/filter/QueryBuilderFilterPanel.d.ts.map +1 -1
- package/lib/components/filter/QueryBuilderFilterPanel.js +137 -54
- package/lib/components/filter/QueryBuilderFilterPanel.js.map +1 -1
- package/lib/components/shared/QueryBuilderFilterHelper.d.ts +19 -0
- package/lib/components/shared/QueryBuilderFilterHelper.d.ts.map +1 -0
- package/lib/components/shared/QueryBuilderFilterHelper.js +34 -0
- package/lib/components/shared/QueryBuilderFilterHelper.js.map +1 -0
- package/lib/components/shared/QueryBuilderPropertyInfoTooltip.js +1 -1
- package/lib/components/shared/QueryBuilderPropertyInfoTooltip.js.map +1 -1
- package/lib/index.css +17 -1
- package/lib/index.css.map +1 -1
- package/lib/package.json +3 -3
- package/lib/stores/QueryBuilderStateHashUtils.d.ts +2 -0
- package/lib/stores/QueryBuilderStateHashUtils.d.ts.map +1 -1
- package/lib/stores/QueryBuilderStateHashUtils.js +2 -0
- package/lib/stores/QueryBuilderStateHashUtils.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_In.js +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_In.js.map +1 -1
- package/lib/stores/filter/QueryBuilderFilterState.d.ts +35 -5
- package/lib/stores/filter/QueryBuilderFilterState.d.ts.map +1 -1
- package/lib/stores/filter/QueryBuilderFilterState.js +181 -52
- package/lib/stores/filter/QueryBuilderFilterState.js.map +1 -1
- package/lib/stores/filter/QueryBuilderFilterStateBuilder.js +2 -2
- package/lib/stores/filter/QueryBuilderFilterStateBuilder.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperatorValueSpecificationBuilder.d.ts.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperatorValueSpecificationBuilder.js +21 -6
- package/lib/stores/filter/operators/QueryBuilderFilterOperatorValueSpecificationBuilder.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.d.ts.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.js +4 -3
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.d.ts.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.js +4 -3
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.d.ts.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.js +5 -4
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.d.ts.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.js +5 -4
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.d.ts.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.js +5 -4
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.d.ts +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.d.ts.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.js +33 -28
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.js +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThan.d.ts.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThan.js +5 -4
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThan.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.d.ts.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.js +5 -4
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.d.ts.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.js +4 -3
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.js.map +1 -1
- package/lib/stores/shared/ValueSpecificationEditorHelper.d.ts +2 -1
- package/lib/stores/shared/ValueSpecificationEditorHelper.d.ts.map +1 -1
- package/lib/stores/shared/ValueSpecificationEditorHelper.js +9 -3
- package/lib/stores/shared/ValueSpecificationEditorHelper.js.map +1 -1
- package/package.json +11 -11
- package/src/components/__test-utils__/QueryBuilderComponentTestUtils.tsx +25 -0
- package/src/components/fetch-structure/QueryBuilderPostFilterPanel.tsx +29 -26
- package/src/components/filter/QueryBuilderFilterPanel.tsx +335 -106
- package/src/components/shared/QueryBuilderFilterHelper.ts +51 -0
- package/src/components/shared/QueryBuilderPropertyInfoTooltip.tsx +1 -1
- package/src/stores/QueryBuilderStateHashUtils.ts +2 -0
- package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_In.ts +1 -1
- package/src/stores/filter/QueryBuilderFilterState.ts +284 -74
- package/src/stores/filter/QueryBuilderFilterStateBuilder.ts +2 -2
- package/src/stores/filter/operators/QueryBuilderFilterOperatorValueSpecificationBuilder.ts +48 -9
- package/src/stores/filter/operators/QueryBuilderFilterOperator_Contain.ts +5 -4
- package/src/stores/filter/operators/QueryBuilderFilterOperator_EndWith.ts +5 -4
- package/src/stores/filter/operators/QueryBuilderFilterOperator_Equal.ts +4 -4
- package/src/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.ts +5 -7
- package/src/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.ts +5 -7
- package/src/stores/filter/operators/QueryBuilderFilterOperator_In.ts +52 -47
- package/src/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.ts +1 -1
- package/src/stores/filter/operators/QueryBuilderFilterOperator_LessThan.ts +5 -7
- package/src/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.ts +5 -7
- package/src/stores/filter/operators/QueryBuilderFilterOperator_StartWith.ts +5 -4
- package/src/stores/shared/ValueSpecificationEditorHelper.ts +28 -0
- package/tsconfig.json +1 -0
@@ -16,24 +16,120 @@
|
|
16
16
|
import { action, computed, makeObservable, observable, flow } from 'mobx';
|
17
17
|
import { assertTrue, getNullableFirstEntry, guaranteeNonNullable, guaranteeType, IllegalStateError, uuid, addUniqueEntry, deleteEntry, assertErrorThrown, filterByType, ActionState, hashArray, isNonNullable, } from '@finos/legend-shared';
|
18
18
|
import { QueryBuilderPropertyExpressionState } from '../QueryBuilderPropertyEditorState.js';
|
19
|
-
import { observe_ValueSpecification, CollectionInstanceValue, InstanceValue, } from '@finos/legend-graph';
|
19
|
+
import { AbstractPropertyExpression, observe_ValueSpecification, CollectionInstanceValue, InstanceValue, SimpleFunctionExpression, matchFunctionName, } from '@finos/legend-graph';
|
20
20
|
import { DEFAULT_LAMBDA_VARIABLE_NAME } from '../QueryBuilderConfig.js';
|
21
21
|
import { buildPropertyTypeaheadQuery, buildTypeaheadOptions, performTypeahead, } from '../QueryBuilderTypeaheadHelper.js';
|
22
22
|
import { QUERY_BUILDER_GROUP_OPERATION } from '../QueryBuilderGroupOperationHelper.js';
|
23
23
|
import { QUERY_BUILDER_STATE_HASH_STRUCTURE } from '../QueryBuilderStateHashUtils.js';
|
24
|
-
import { isValidInstanceValue, isValueExpressionReferencedInValue, } from '../QueryBuilderValueSpecificationHelper.js';
|
24
|
+
import { getCollectionValueSpecificationType, getNonCollectionValueSpecificationType, isValidInstanceValue, isValueExpressionReferencedInValue, } from '../QueryBuilderValueSpecificationHelper.js';
|
25
25
|
import { instanceValue_setValues } from '../shared/ValueSpecificationModifierHelper.js';
|
26
|
+
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../graph/QueryBuilderMetaModelConst.js';
|
26
27
|
export var QUERY_BUILDER_FILTER_DND_TYPE;
|
27
28
|
(function (QUERY_BUILDER_FILTER_DND_TYPE) {
|
28
29
|
QUERY_BUILDER_FILTER_DND_TYPE["GROUP_CONDITION"] = "QUERY_BUILDER_FILTER_DND_TYPE.GROUP_CONDITION";
|
29
30
|
QUERY_BUILDER_FILTER_DND_TYPE["CONDITION"] = "QUERY_BUILDER_FILTER_DND_TYPE.CONDITION";
|
30
31
|
QUERY_BUILDER_FILTER_DND_TYPE["BLANK_CONDITION"] = "QUERY_BUILDER_FILTER_DND_TYPE.BLANK_CONDITION";
|
31
32
|
})(QUERY_BUILDER_FILTER_DND_TYPE || (QUERY_BUILDER_FILTER_DND_TYPE = {}));
|
33
|
+
export const isCollectionProperty = (propertyExpression) => {
|
34
|
+
let currentExpression = propertyExpression;
|
35
|
+
while (currentExpression instanceof AbstractPropertyExpression) {
|
36
|
+
// Check if the property chain can results in column that have multiple values
|
37
|
+
if (currentExpression.func.value.multiplicity.upperBound === undefined ||
|
38
|
+
currentExpression.func.value.multiplicity.upperBound > 1) {
|
39
|
+
return true;
|
40
|
+
}
|
41
|
+
currentExpression = getNullableFirstEntry(currentExpression.parametersValues);
|
42
|
+
// Take care of chains of subtype
|
43
|
+
while (currentExpression instanceof SimpleFunctionExpression &&
|
44
|
+
matchFunctionName(currentExpression.functionName, QUERY_BUILDER_SUPPORTED_FUNCTIONS.SUBTYPE)) {
|
45
|
+
currentExpression = getNullableFirstEntry(currentExpression.parametersValues);
|
46
|
+
}
|
47
|
+
}
|
48
|
+
return false;
|
49
|
+
};
|
50
|
+
export class FilterConditionValueState {
|
51
|
+
conditionState;
|
52
|
+
constructor(conditionState) {
|
53
|
+
this.conditionState = conditionState;
|
54
|
+
}
|
55
|
+
get type() {
|
56
|
+
return undefined;
|
57
|
+
}
|
58
|
+
get isCollection() {
|
59
|
+
return false;
|
60
|
+
}
|
61
|
+
get hashCode() {
|
62
|
+
return hashArray([
|
63
|
+
QUERY_BUILDER_STATE_HASH_STRUCTURE.FILTER_CONDITION_RIGHT_VALUE,
|
64
|
+
]);
|
65
|
+
}
|
66
|
+
}
|
67
|
+
// This class is used to represent the value of a filter condition when the value is
|
68
|
+
// a ValueSpecification.
|
69
|
+
export class FilterValueSpecConditionValueState extends FilterConditionValueState {
|
70
|
+
value;
|
71
|
+
constructor(conditionState, value) {
|
72
|
+
super(conditionState);
|
73
|
+
makeObservable(this, {
|
74
|
+
value: observable,
|
75
|
+
setValue: action,
|
76
|
+
});
|
77
|
+
this.value = this.setValue(value);
|
78
|
+
}
|
79
|
+
get type() {
|
80
|
+
if (this.value instanceof CollectionInstanceValue) {
|
81
|
+
return getCollectionValueSpecificationType(this.conditionState.filterState.queryBuilderState.graphManagerState
|
82
|
+
.graph, this.value.values);
|
83
|
+
}
|
84
|
+
return this.value
|
85
|
+
? getNonCollectionValueSpecificationType(this.value)
|
86
|
+
: undefined;
|
87
|
+
}
|
88
|
+
setValue(val) {
|
89
|
+
this.value = val
|
90
|
+
? observe_ValueSpecification(val, this.conditionState.filterState.queryBuilderState.observerContext)
|
91
|
+
: undefined;
|
92
|
+
return this.value;
|
93
|
+
}
|
94
|
+
get isCollection() {
|
95
|
+
return this.value instanceof CollectionInstanceValue;
|
96
|
+
}
|
97
|
+
get hashCode() {
|
98
|
+
return hashArray([
|
99
|
+
QUERY_BUILDER_STATE_HASH_STRUCTURE.FILTER_CONDITION_RIGHT_VALUE_SPEC,
|
100
|
+
this.value,
|
101
|
+
]);
|
102
|
+
}
|
103
|
+
}
|
104
|
+
// This class is used to represent the value of a filter condition when the value is a
|
105
|
+
// PropertyExpressionState (which comes from DND a property node from the explorer tree
|
106
|
+
// or a column from the fetch structure panel).
|
107
|
+
export class FilterPropertyExpressionStateConditionValueState extends FilterConditionValueState {
|
108
|
+
propertyExpressionState;
|
109
|
+
constructor(conditionState, propertyExpressionState) {
|
110
|
+
super(conditionState);
|
111
|
+
makeObservable(this, {
|
112
|
+
propertyExpressionState: observable,
|
113
|
+
changePropertyExpressionState: action,
|
114
|
+
});
|
115
|
+
this.propertyExpressionState = propertyExpressionState;
|
116
|
+
}
|
117
|
+
get type() {
|
118
|
+
return this.propertyExpressionState.propertyExpression.func.value
|
119
|
+
.genericType.value.rawType;
|
120
|
+
}
|
121
|
+
get isCollection() {
|
122
|
+
return isCollectionProperty(this.propertyExpressionState.propertyExpression);
|
123
|
+
}
|
124
|
+
changePropertyExpressionState(propertyExpressionState) {
|
125
|
+
this.propertyExpressionState = propertyExpressionState;
|
126
|
+
}
|
127
|
+
}
|
32
128
|
export class FilterConditionState {
|
33
129
|
filterState;
|
34
130
|
propertyExpressionState;
|
35
131
|
operator;
|
36
|
-
|
132
|
+
rightConditionValue;
|
37
133
|
existsLambdaParamNames = [];
|
38
134
|
typeaheadSearchResults;
|
39
135
|
typeaheadSearchState = ActionState.create();
|
@@ -41,16 +137,17 @@ export class FilterConditionState {
|
|
41
137
|
makeObservable(this, {
|
42
138
|
propertyExpressionState: observable,
|
43
139
|
operator: observable,
|
44
|
-
|
140
|
+
rightConditionValue: observable,
|
45
141
|
existsLambdaParamNames: observable,
|
46
142
|
typeaheadSearchResults: observable,
|
47
|
-
operators: computed,
|
48
|
-
changeProperty: action,
|
49
143
|
changeOperator: action,
|
50
144
|
setOperator: action,
|
51
|
-
|
145
|
+
setRightConditionValue: action,
|
52
146
|
addExistsLambdaParamNames: action,
|
147
|
+
buildRightConditionValueFromValueSpec: action,
|
148
|
+
buildRightConditionValueFromPropertyExpressionState: action,
|
53
149
|
handleTypeaheadSearch: flow,
|
150
|
+
operators: computed,
|
54
151
|
hashCode: computed,
|
55
152
|
});
|
56
153
|
this.filterState = filterState;
|
@@ -58,16 +155,17 @@ export class FilterConditionState {
|
|
58
155
|
// operator
|
59
156
|
assertTrue(this.operators.length !== 0, `Can't find an operator for property '${this.propertyExpressionState.path}': no operators registered`);
|
60
157
|
this.operator = this.operators[0];
|
61
|
-
this.
|
158
|
+
this.buildRightConditionValueFromValueSpec(this.operator.getDefaultFilterConditionValue(this));
|
62
159
|
}
|
63
160
|
get operators() {
|
64
161
|
return this.filterState.operators.filter((op) => op.isCompatibleWithFilterConditionProperty(this));
|
65
162
|
}
|
66
163
|
*handleTypeaheadSearch(searchValue) {
|
67
|
-
const value = searchValue ?? this.value;
|
68
164
|
try {
|
69
165
|
this.typeaheadSearchState.inProgress();
|
70
166
|
this.typeaheadSearchResults = undefined;
|
167
|
+
const rightConditionValue = guaranteeType(this.rightConditionValue, FilterValueSpecConditionValueState);
|
168
|
+
const value = searchValue ?? rightConditionValue.value;
|
71
169
|
if (performTypeahead(value)) {
|
72
170
|
const result = (yield this.filterState.queryBuilderState.graphManagerState.graphManager.runQuery(buildPropertyTypeaheadQuery(this.filterState.queryBuilderState, this.propertyExpressionState.propertyExpression, value), guaranteeNonNullable(this.filterState.queryBuilderState.executionContextState.mapping), guaranteeNonNullable(this.filterState.queryBuilderState.executionContextState
|
73
171
|
.runtimeValue), this.filterState.queryBuilderState.graphManagerState.graph));
|
@@ -84,61 +182,60 @@ export class FilterConditionState {
|
|
84
182
|
this.typeaheadSearchState.complete();
|
85
183
|
}
|
86
184
|
}
|
87
|
-
changeProperty(propertyExpression) {
|
88
|
-
try {
|
89
|
-
// first, check if the new property is supported
|
90
|
-
new FilterConditionState(this.filterState, propertyExpression);
|
91
|
-
}
|
92
|
-
catch (error) {
|
93
|
-
assertErrorThrown(error);
|
94
|
-
this.filterState.queryBuilderState.applicationStore.notificationService.notifyError(error);
|
95
|
-
return;
|
96
|
-
}
|
97
|
-
// observe the property expression
|
98
|
-
observe_ValueSpecification(propertyExpression, this.filterState.queryBuilderState.observerContext);
|
99
|
-
this.propertyExpressionState = new QueryBuilderPropertyExpressionState(this.filterState.queryBuilderState, propertyExpression);
|
100
|
-
const newCompatibleOperators = this.operators;
|
101
|
-
assertTrue(newCompatibleOperators.length !== 0, `Can't find an operator for property '${this.propertyExpressionState.path}': no operators registered`);
|
102
|
-
if (!newCompatibleOperators.includes(this.operator)) {
|
103
|
-
this.changeOperator(newCompatibleOperators[0]);
|
104
|
-
}
|
105
|
-
else if (!this.operator.isCompatibleWithFilterConditionValue(this)) {
|
106
|
-
this.setValue(this.operator.getDefaultFilterConditionValue(this));
|
107
|
-
}
|
108
|
-
}
|
109
185
|
changeOperator(val) {
|
110
186
|
this.setOperator(val);
|
111
187
|
if (!this.operator.isCompatibleWithFilterConditionValue(this)) {
|
112
188
|
let defaultValue = this.operator.getDefaultFilterConditionValue(this);
|
189
|
+
// Don't allow invalid InstanceValues or empty strings to be set as list element
|
113
190
|
if (defaultValue instanceof CollectionInstanceValue &&
|
114
|
-
this.
|
115
|
-
|
116
|
-
|
191
|
+
this.rightConditionValue instanceof
|
192
|
+
FilterValueSpecConditionValueState &&
|
193
|
+
this.rightConditionValue.value instanceof InstanceValue &&
|
194
|
+
isValidInstanceValue(this.rightConditionValue.value) &&
|
195
|
+
this.rightConditionValue.value.values[0] !== '') {
|
196
|
+
instanceValue_setValues(defaultValue, [this.rightConditionValue.value], this.filterState.queryBuilderState.observerContext);
|
117
197
|
}
|
118
198
|
else if (defaultValue instanceof InstanceValue &&
|
119
|
-
this.
|
120
|
-
|
121
|
-
|
199
|
+
this.rightConditionValue instanceof
|
200
|
+
FilterValueSpecConditionValueState &&
|
201
|
+
this.rightConditionValue.value instanceof CollectionInstanceValue &&
|
202
|
+
this.rightConditionValue.value.values.length) {
|
203
|
+
defaultValue = this.rightConditionValue.value.values[0];
|
122
204
|
}
|
123
|
-
this.
|
205
|
+
this.buildRightConditionValueFromValueSpec(defaultValue);
|
124
206
|
}
|
125
207
|
}
|
126
208
|
setOperator(val) {
|
127
209
|
this.operator = val;
|
128
210
|
}
|
129
|
-
|
130
|
-
this.
|
131
|
-
? observe_ValueSpecification(val, this.filterState.queryBuilderState.observerContext)
|
132
|
-
: undefined;
|
211
|
+
setRightConditionValue(val) {
|
212
|
+
this.rightConditionValue = val;
|
133
213
|
}
|
134
214
|
addExistsLambdaParamNames(val) {
|
135
215
|
this.existsLambdaParamNames.push(val);
|
136
216
|
}
|
217
|
+
buildRightConditionValueFromValueSpec(val) {
|
218
|
+
if (this.rightConditionValue instanceof FilterValueSpecConditionValueState) {
|
219
|
+
this.rightConditionValue.setValue(val);
|
220
|
+
}
|
221
|
+
else {
|
222
|
+
this.setRightConditionValue(new FilterValueSpecConditionValueState(this, val));
|
223
|
+
}
|
224
|
+
}
|
225
|
+
buildRightConditionValueFromPropertyExpressionState(propertyExpressionState) {
|
226
|
+
if (this.rightConditionValue instanceof
|
227
|
+
FilterPropertyExpressionStateConditionValueState) {
|
228
|
+
this.rightConditionValue.changePropertyExpressionState(propertyExpressionState);
|
229
|
+
}
|
230
|
+
else {
|
231
|
+
this.setRightConditionValue(new FilterPropertyExpressionStateConditionValueState(this, propertyExpressionState));
|
232
|
+
}
|
233
|
+
}
|
137
234
|
get hashCode() {
|
138
235
|
return hashArray([
|
139
236
|
QUERY_BUILDER_STATE_HASH_STRUCTURE.FILTER_CONDITION_STATE,
|
140
237
|
this.propertyExpressionState,
|
141
|
-
this.
|
238
|
+
this.rightConditionValue ?? '',
|
142
239
|
this.operator,
|
143
240
|
]);
|
144
241
|
}
|
@@ -267,6 +364,16 @@ export class QueryBuilderFilterTreeConditionNodeData extends QueryBuilderFilterT
|
|
267
364
|
setIsNewlyAdded(val) {
|
268
365
|
this.isNewlyAdded = val;
|
269
366
|
}
|
367
|
+
get isExistsNodeChild() {
|
368
|
+
let parentNode = this.condition.filterState.getParentNode(this);
|
369
|
+
while (parentNode !== undefined) {
|
370
|
+
if (parentNode instanceof QueryBuilderFilterTreeExistsNodeData) {
|
371
|
+
return true;
|
372
|
+
}
|
373
|
+
parentNode = this.condition.filterState.getParentNode(parentNode);
|
374
|
+
}
|
375
|
+
return false;
|
376
|
+
}
|
270
377
|
get dragPreviewLabel() {
|
271
378
|
return this.condition.propertyExpressionState.title;
|
272
379
|
}
|
@@ -675,33 +782,55 @@ export class QueryBuilderFilterState {
|
|
675
782
|
isVariableUsed(variable) {
|
676
783
|
return Boolean(Array.from(this.nodes.values())
|
677
784
|
.filter(filterByType(QueryBuilderFilterTreeConditionNodeData))
|
678
|
-
.map((node) => node.condition.
|
785
|
+
.map((node) => node.condition.rightConditionValue instanceof
|
786
|
+
FilterValueSpecConditionValueState
|
787
|
+
? node.condition.rightConditionValue.value
|
788
|
+
: undefined)
|
679
789
|
.filter(isNonNullable)
|
680
790
|
.find((value) => isValueExpressionReferencedInValue(variable, value)));
|
681
791
|
}
|
792
|
+
isInvalidFilterPropertyExpressionState(node) {
|
793
|
+
return (node instanceof QueryBuilderFilterTreeConditionNodeData &&
|
794
|
+
!node.condition.propertyExpressionState.isValid);
|
795
|
+
}
|
796
|
+
isInvalidValueSpecFilterValue(node) {
|
797
|
+
return (node instanceof QueryBuilderFilterTreeConditionNodeData &&
|
798
|
+
node.condition.rightConditionValue instanceof
|
799
|
+
FilterValueSpecConditionValueState &&
|
800
|
+
node.condition.rightConditionValue.value instanceof InstanceValue &&
|
801
|
+
!isValidInstanceValue(node.condition.rightConditionValue.value));
|
802
|
+
}
|
803
|
+
isInvalidPropertyExpressionStateFilterValue(node) {
|
804
|
+
return (node instanceof QueryBuilderFilterTreeConditionNodeData &&
|
805
|
+
node.condition.rightConditionValue instanceof
|
806
|
+
FilterPropertyExpressionStateConditionValueState &&
|
807
|
+
!node.condition.rightConditionValue.propertyExpressionState.isValid);
|
808
|
+
}
|
682
809
|
get allValidationIssues() {
|
683
810
|
const validationIssues = [];
|
684
811
|
Array.from(this.nodes.values()).forEach((node) => {
|
685
812
|
if (node instanceof QueryBuilderFilterTreeConditionNodeData) {
|
686
|
-
if (node
|
687
|
-
!isValidInstanceValue(node.condition.value)) {
|
813
|
+
if (this.isInvalidValueSpecFilterValue(node)) {
|
688
814
|
validationIssues.push(`Filter value for ${node.condition.propertyExpressionState.title} is missing or invalid`);
|
689
815
|
}
|
690
|
-
if (
|
816
|
+
if (this.isInvalidFilterPropertyExpressionState(node)) {
|
691
817
|
validationIssues.push(`Derived property parameter value for ${node.condition.propertyExpressionState.title} is missing or invalid`);
|
692
818
|
}
|
819
|
+
if (node.condition.rightConditionValue instanceof
|
820
|
+
FilterPropertyExpressionStateConditionValueState &&
|
821
|
+
this.isInvalidPropertyExpressionStateFilterValue(node)) {
|
822
|
+
validationIssues.push(`Derived property parameter value for ${node.condition.rightConditionValue.propertyExpressionState.title} is missing or invalid`);
|
823
|
+
}
|
693
824
|
}
|
694
825
|
});
|
695
826
|
return validationIssues;
|
696
827
|
}
|
697
828
|
get hasInvalidFilterValues() {
|
698
|
-
return Array.from(this.nodes.values()).some((node) => node
|
699
|
-
node.condition.value instanceof InstanceValue &&
|
700
|
-
!isValidInstanceValue(node.condition.value));
|
829
|
+
return Array.from(this.nodes.values()).some((node) => this.isInvalidValueSpecFilterValue(node));
|
701
830
|
}
|
702
831
|
get hasInvalidDerivedPropertyParameters() {
|
703
|
-
return Array.from(this.nodes.values()).some((node) => node
|
704
|
-
|
832
|
+
return Array.from(this.nodes.values()).some((node) => this.isInvalidFilterPropertyExpressionState(node) ||
|
833
|
+
this.isInvalidPropertyExpressionStateFilterValue(node));
|
705
834
|
}
|
706
835
|
get hashCode() {
|
707
836
|
return hashArray([
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderFilterState.js","sourceRoot":"","sources":["../../../src/stores/filter/QueryBuilderFilterState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAE1E,OAAO,EAEL,UAAU,EACV,qBAAqB,EACrB,oBAAoB,EACpB,aAAa,EACb,iBAAiB,EACjB,IAAI,EACJ,cAAc,EACd,WAAW,EACX,iBAAiB,EACjB,YAAY,EACZ,WAAW,EAEX,SAAS,EACT,aAAa,GACd,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAAE,mCAAmC,EAAE,MAAM,uCAAuC,CAAC;AAE5F,OAAO,EAKL,0BAA0B,EAC1B,uBAAuB,EACvB,aAAa,GACd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,4BAA4B,EAAE,MAAM,0BAA0B,CAAC;AAExE,OAAO,EACL,2BAA2B,EAC3B,qBAAqB,EACrB,gBAAgB,GACjB,MAAM,mCAAmC,CAAC;AAE3C,OAAO,EAAE,6BAA6B,EAAE,MAAM,wCAAwC,CAAC;AACvF,OAAO,EAAE,kCAAkC,EAAE,MAAM,kCAAkC,CAAC;AACtF,OAAO,EACL,oBAAoB,EACpB,kCAAkC,GACnC,MAAM,4CAA4C,CAAC;AACpD,OAAO,EAAE,uBAAuB,EAAE,MAAM,+CAA+C,CAAC;AAExF,MAAM,CAAN,IAAY,6BAIX;AAJD,WAAY,6BAA6B;IACvC,kGAAiE,CAAA;IACjE,sFAAqD,CAAA;IACrD,kGAAiE,CAAA;AACnE,CAAC,EAJW,6BAA6B,KAA7B,6BAA6B,QAIxC;AAaD,MAAM,OAAO,oBAAoB;IACtB,WAAW,CAA0B;IAC9C,uBAAuB,CAAsC;IAC7D,QAAQ,CAA8B;IACtC,KAAK,CAAkC;IACvC,sBAAsB,GAAa,EAAE,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,sBAAsB;QACxB,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC,CAAC,IAAI,CACzC,CAAC,IAAI,EAAE,EAAE,CACP,IAAI,YAAY,uCAAuC;YACvD,IAAI,CAAC,SAAS,CAAC,KAAK,YAAY,aAAa;YAC7C,CAAC,oBAAoB,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAC9C,CAAC;IACJ,CAAC;IAED,IAAI,mCAAmC;QACrC,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC,CAAC,IAAI,CACzC,CAAC,IAAI,EAAE,EAAE,CACP,IAAI,YAAY,uCAAuC;YACvD,CAAC,IAAI,CAAC,SAAS,CAAC,uBAAuB,CAAC,OAAO,CAClD,CAAC;IACJ,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,kCAAkC,CAAC,YAAY;YAC/C,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC;YACvB,SAAS,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC,CAAC;SAC3C,CAAC,CAAC;IACL,CAAC;CACF"}
|
1
|
+
{"version":3,"file":"QueryBuilderFilterState.js","sourceRoot":"","sources":["../../../src/stores/filter/QueryBuilderFilterState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAE1E,OAAO,EAEL,UAAU,EACV,qBAAqB,EACrB,oBAAoB,EACpB,aAAa,EACb,iBAAiB,EACjB,IAAI,EACJ,cAAc,EACd,WAAW,EACX,iBAAiB,EACjB,YAAY,EACZ,WAAW,EAEX,SAAS,EACT,aAAa,GACd,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAAE,mCAAmC,EAAE,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EAAE,CACnD,IAAI,CAAC,6BAA6B,CAAC,IAAI,CAAC,CACzC,CAAC;IACJ,CAAC;IAED,IAAI,mCAAmC;QACrC,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC,CAAC,IAAI,CACzC,CAAC,IAAI,EAAE,EAAE,CACP,IAAI,CAAC,sCAAsC,CAAC,IAAI,CAAC;YACjD,IAAI,CAAC,2CAA2C,CAAC,IAAI,CAAC,CACzD,CAAC;IACJ,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,kCAAkC,CAAC,YAAY;YAC/C,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC;YACvB,SAAS,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC,CAAC;SAC3C,CAAC,CAAC;IACL,CAAC;CACF"}
|
@@ -158,8 +158,8 @@ const processFilterTree = (expression, filterState, parentFilterNodeId) => {
|
|
158
158
|
}
|
159
159
|
}
|
160
160
|
for (const operator of filterState.operators) {
|
161
|
-
// NOTE: this
|
162
|
-
// if there is a problem with building the lambda.
|
161
|
+
// NOTE: this allows plugin author to either return `undefined` or throw error
|
162
|
+
// if there is a problem with building the lambda. In either case, the plugin is
|
163
163
|
// considered as not supporting the lambda.
|
164
164
|
const filterConditionState = returnUndefOnError(() => operator.buildFilterConditionState(filterState, expression));
|
165
165
|
if (filterConditionState) {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderFilterStateBuilder.js","sourceRoot":"","sources":["../../../src/stores/filter/QueryBuilderFilterStateBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,0BAA0B,EAC1B,0BAA0B,EAC1B,cAAc,EACd,2BAA2B,EAC3B,iBAAiB,EACjB,wBAAwB,EAExB,kBAAkB,GACnB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,UAAU,EACV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CAAC;gBACpE,+BAA+B,CAC7B,yBAAyB,EACzB,WAAW,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,KAAK,EACrD,WAAW,CAAC,iBAAiB,CAC9B,CAAC;YACJ,CAAC;QACH,CAAC;QACD,KAAK,MAAM,QAAQ,IAAI,WAAW,CAAC,SAAS,EAAE,CAAC;YAC7C,
|
1
|
+
{"version":3,"file":"QueryBuilderFilterStateBuilder.js","sourceRoot":"","sources":["../../../src/stores/filter/QueryBuilderFilterStateBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,0BAA0B,EAC1B,0BAA0B,EAC1B,cAAc,EACd,2BAA2B,EAC3B,iBAAiB,EACjB,wBAAwB,EAExB,kBAAkB,GACnB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,UAAU,EACV,UAAU,EACV,oBAAoB,EACpB,aAAa,EACb,kBAAkB,EAClB,yBAAyB,GAC1B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,iCAAiC,EAAE,MAAM,2CAA2C,CAAC;AAC9F,OAAO,EAAE,gBAAgB,EAAE,MAAM,wCAAwC,CAAC;AAE1E,OAAO,EAAE,+BAA+B,EAAE,MAAM,4CAA4C,CAAC;AAC7F,OAAO,EAEL,uCAAuC,EACvC,mCAAmC,EACnC,oCAAoC,EACpC,uCAAuC,GACxC,MAAM,8BAA8B,CAAC;AAEtC,MAAM,kCAAkC,GAAG,CACzC,kBAA8C,EAC1B,EAAE;IACtB,IAAI,iBAAiB,GAAuB,kBAAkB,CAAC;IAC/D,OAAO,iBAAiB,YAAY,0BAA0B,EAAE,CAAC;QAC/D,iBAAiB,GAAG,oBAAoB,CACtC,iBAAiB,CAAC,gBAAgB,CAAC,CAAC,CAAC,CACtC,CAAC;QACF,oGAAoG;QACpG,kDAAkD;QAClD,OACE,iBAAiB,YAAY,wBAAwB;YACrD,iBAAiB,CACf,iBAAiB,CAAC,YAAY,EAC9B,iCAAiC,CAAC,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CAAC,CAAC;IAE1D;;;;;OAKG;IACH,WAAW,CAAC,YAAY,EAAE,CAAC;AAC7B,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,mBAAmB,GAAG,CACjC,UAA0B,EAC1B,iBAAoC,EAC9B,EAAE;IACR,MAAM,WAAW,GAAG,iBAAiB,CAAC,WAAW,CAAC;IAElD,UAAU,CACR,UAAU,CAAC,kBAAkB,CAAC,MAAM,KAAK,CAAC,EAC1C,oFAAoF,CACrF,CAAC;IACF,MAAM,cAAc,GAAG,aAAa,CAClC,UAAU,CAAC,kBAAkB,CAAC,CAAC,CAAC,EAChC,wBAAwB,EACxB,oFAAoF,CACrF,CAAC;IAEF,UAAU,CACR,UAAU,CAAC,YAAY,CAAC,UAAU,CAAC,MAAM,KAAK,CAAC,EAC/C,8EAA8E,CAC/E,CAAC;IACF,WAAW,CAAC,sBAAsB,CAChC,aAAa,CACX,UAAU,CAAC,YAAY,CAAC,UAAU,CAAC,CAAC,CAAC,EACrC,kBAAkB,EAClB,8EAA8E,CAC/E,CAAC,IAAI,CACP,CAAC;IAEF,iBAAiB,CAAC,cAAc,EAAE,WAAW,EAAE,SAAS,CAAC,CAAC;IAE1D;;;;;OAKG;IACH,WAAW,CAAC,YAAY,EAAE,CAAC;AAC7B,CAAC,CAAC"}
|
package/lib/stores/filter/operators/QueryBuilderFilterOperatorValueSpecificationBuilder.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderFilterOperatorValueSpecificationBuilder.d.ts","sourceRoot":"","sources":["../../../../src/stores/filter/operators/QueryBuilderFilterOperatorValueSpecificationBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,kBAAkB,EAKvB,wBAAwB,EAEzB,MAAM,qBAAqB,CAAC;AAM7B,OAAO,EACL,oBAAoB,
|
1
|
+
{"version":3,"file":"QueryBuilderFilterOperatorValueSpecificationBuilder.d.ts","sourceRoot":"","sources":["../../../../src/stores/filter/operators/QueryBuilderFilterOperatorValueSpecificationBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,kBAAkB,EAKvB,wBAAwB,EAEzB,MAAM,qBAAqB,CAAC;AAM7B,OAAO,EACL,oBAAoB,EAGpB,KAAK,uBAAuB,EAC7B,MAAM,+BAA+B,CAAC;AAGvC,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AAInF,eAAO,MAAM,8BAA8B,yBACnB,oBAAoB,4BAChB,MAAM,wBACV,MAAM,GAAG,SAAS,KACvC,kBAmCF,CAAC;AAEF,eAAO,MAAM,yBAAyB,gBACvB,uBAAuB,cACxB,wBAAwB,4BACV,MAAM,YACtB,0BAA0B,2BAOnC,oBAAoB,GAAG,SAuHzB,CAAC"}
|
@@ -15,17 +15,29 @@
|
|
15
15
|
*/
|
16
16
|
import { extractElementNameFromPath, matchFunctionName, LambdaFunctionInstanceValue, AbstractPropertyExpression, SimpleFunctionExpression, LambdaFunction, } from '@finos/legend-graph';
|
17
17
|
import { guaranteeType, guaranteeNonNullable, assertTrue, } from '@finos/legend-shared';
|
18
|
-
import { FilterConditionState, } from '../QueryBuilderFilterState.js';
|
18
|
+
import { FilterConditionState, FilterPropertyExpressionStateConditionValueState, FilterValueSpecConditionValueState, } from '../QueryBuilderFilterState.js';
|
19
19
|
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../graph/QueryBuilderMetaModelConst.js';
|
20
20
|
import { simplifyValueExpression } from '../../QueryBuilderValueSpecificationHelper.js';
|
21
21
|
import { buildPropertyExpressionChain } from '../../QueryBuilderValueSpecificationBuilderHelper.js';
|
22
|
+
import { QueryBuilderPropertyExpressionState } from '../../QueryBuilderPropertyEditorState.js';
|
22
23
|
export const buildFilterConditionExpression = (filterConditionState, operatorFunctionFullPath, lambdaParameterName) => {
|
23
24
|
const expression = new SimpleFunctionExpression(extractElementNameFromPath(operatorFunctionFullPath));
|
24
25
|
const propertyExpression = buildPropertyExpressionChain(filterConditionState.propertyExpressionState.propertyExpression, filterConditionState.propertyExpressionState.queryBuilderState, lambdaParameterName ?? filterConditionState.filterState.lambdaParameterName);
|
25
26
|
expression.parametersValues.push(guaranteeNonNullable(propertyExpression));
|
26
27
|
// NOTE: there are simple operators which do not require any params (e.g. isEmpty)
|
27
|
-
if (filterConditionState.
|
28
|
-
|
28
|
+
if (filterConditionState.rightConditionValue &&
|
29
|
+
filterConditionState.rightConditionValue instanceof
|
30
|
+
FilterValueSpecConditionValueState &&
|
31
|
+
filterConditionState.rightConditionValue.value !== undefined) {
|
32
|
+
expression.parametersValues.push(filterConditionState.rightConditionValue.value);
|
33
|
+
}
|
34
|
+
else if (filterConditionState.rightConditionValue &&
|
35
|
+
filterConditionState.rightConditionValue instanceof
|
36
|
+
FilterPropertyExpressionStateConditionValueState) {
|
37
|
+
const rightConditionPropertyExpression = buildPropertyExpressionChain(filterConditionState.rightConditionValue.propertyExpressionState
|
38
|
+
.propertyExpression, filterConditionState.propertyExpressionState.queryBuilderState, lambdaParameterName ??
|
39
|
+
filterConditionState.filterState.lambdaParameterName);
|
40
|
+
expression.parametersValues.push(rightConditionPropertyExpression);
|
29
41
|
}
|
30
42
|
return expression;
|
31
43
|
};
|
@@ -64,13 +76,16 @@ hasNoValue = false) => {
|
|
64
76
|
// value
|
65
77
|
const value = mainExpressionWithOperator.parametersValues[1];
|
66
78
|
if (hasNoValue || !value) {
|
67
|
-
filterConditionState.
|
79
|
+
filterConditionState.setRightConditionValue(undefined);
|
80
|
+
}
|
81
|
+
else if (value instanceof AbstractPropertyExpression) {
|
82
|
+
filterConditionState.setRightConditionValue(new FilterPropertyExpressionStateConditionValueState(filterConditionState, new QueryBuilderPropertyExpressionState(filterState.queryBuilderState, value)));
|
68
83
|
}
|
69
84
|
else {
|
70
|
-
filterConditionState.
|
85
|
+
filterConditionState.setRightConditionValue(new FilterValueSpecConditionValueState(filterConditionState, simplifyValueExpression(value, filterConditionState.filterState.queryBuilderState.observerContext)));
|
71
86
|
}
|
72
87
|
if (!operator.isCompatibleWithFilterConditionValue(filterConditionState)) {
|
73
|
-
filterConditionState.
|
88
|
+
filterConditionState.setRightConditionValue(new FilterValueSpecConditionValueState(filterConditionState, operator.getDefaultFilterConditionValue(filterConditionState)));
|
74
89
|
}
|
75
90
|
return filterConditionState;
|
76
91
|
}
|
package/lib/stores/filter/operators/QueryBuilderFilterOperatorValueSpecificationBuilder.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderFilterOperatorValueSpecificationBuilder.js","sourceRoot":"","sources":["../../../../src/stores/filter/operators/QueryBuilderFilterOperatorValueSpecificationBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,0BAA0B,EAC1B,iBAAiB,EACjB,2BAA2B,EAC3B,0BAA0B,EAC1B,wBAAwB,EACxB,cAAc,GACf,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,aAAa,EACb,oBAAoB,EACpB,UAAU,GACX,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,oBAAoB,
|
1
|
+
{"version":3,"file":"QueryBuilderFilterOperatorValueSpecificationBuilder.js","sourceRoot":"","sources":["../../../../src/stores/filter/operators/QueryBuilderFilterOperatorValueSpecificationBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,0BAA0B,EAC1B,iBAAiB,EACjB,2BAA2B,EAC3B,0BAA0B,EAC1B,wBAAwB,EACxB,cAAc,GACf,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,aAAa,EACb,oBAAoB,EACpB,UAAU,GACX,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,oBAAoB,EACpB,gDAAgD,EAChD,kCAAkC,GAEnC,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,iCAAiC,EAAE,MAAM,8CAA8C,CAAC;AACjG,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CACrC,WAAW,CAAC,iBAAiB,EAC7B,KAAK,CACN,CACF,CACF,CAAC;QACJ,CAAC;aAAM,CAAC;YACN,oBAAoB,CAAC,sBAAsB,CACzC,IAAI,kCAAkC,CACpC,oBAAoB,EACpB,uBAAuB,CACrB,KAAK,EACL,oBAAoB,CAAC,WAAW,CAAC,iBAAiB,CAAC,eAAe,CACnE,CACF,CACF,CAAC;QACJ,CAAC;QACD,IAAI,CAAC,QAAQ,CAAC,oCAAoC,CAAC,oBAAoB,CAAC,EAAE,CAAC;YACzE,oBAAoB,CAAC,sBAAsB,CACzC,IAAI,kCAAkC,CACpC,oBAAoB,EACpB,QAAQ,CAAC,8BAA8B,CAAC,oBAAoB,CAAC,CAC9D,CACF,CAAC;QACJ,CAAC;QACD,OAAO,oBAAoB,CAAC;IAC9B,CAAC;IACD,OAAO,SAAS,CAAC;AACnB,CAAC,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderFilterOperator_Contain.d.ts","sourceRoot":"","sources":["../../../../src/stores/filter/operators/QueryBuilderFilterOperator_Contain.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EACV,uBAAuB,EACvB,oBAAoB,EACrB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AAC9E,OAAO,EAEL,KAAK,kBAAkB,EACvB,KAAK,wBAAwB,EAE9B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,KAAK,QAAQ,EAGd,MAAM,sBAAsB,CAAC;
|
1
|
+
{"version":3,"file":"QueryBuilderFilterOperator_Contain.d.ts","sourceRoot":"","sources":["../../../../src/stores/filter/operators/QueryBuilderFilterOperator_Contain.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EACV,uBAAuB,EACvB,oBAAoB,EACrB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,0B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