@finos/legend-query-builder 4.15.1 → 4.15.3
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/components/data-cube/QueryBuilderDataCube.d.ts.map +1 -1
- package/lib/components/data-cube/QueryBuilderDataCube.js +9 -17
- package/lib/components/data-cube/QueryBuilderDataCube.js.map +1 -1
- package/lib/components/filter/QueryBuilderFilterPanel.js +2 -2
- package/lib/components/filter/QueryBuilderFilterPanel.js.map +1 -1
- package/lib/components/result/QueryBuilderResultPanel.d.ts.map +1 -1
- package/lib/components/result/QueryBuilderResultPanel.js +13 -1
- package/lib/components/result/QueryBuilderResultPanel.js.map +1 -1
- package/lib/components/result/tds/QueryBuilderTDSGridResult.d.ts.map +1 -1
- package/lib/components/result/tds/QueryBuilderTDSGridResult.js +4 -3
- package/lib/components/result/tds/QueryBuilderTDSGridResult.js.map +1 -1
- package/lib/components/result/tds/QueryBuilderTDSResultShared.d.ts +2 -2
- package/lib/components/result/tds/QueryBuilderTDSResultShared.d.ts.map +1 -1
- package/lib/components/result/tds/QueryBuilderTDSResultShared.js +157 -19
- package/lib/components/result/tds/QueryBuilderTDSResultShared.js.map +1 -1
- package/lib/index.css +1 -17
- package/lib/index.css.map +1 -1
- package/lib/package.json +1 -1
- package/lib/stores/data-cube/QueryBuilderDataCubeApplicationEngine.d.ts +1 -3
- package/lib/stores/data-cube/QueryBuilderDataCubeApplicationEngine.d.ts.map +1 -1
- package/lib/stores/data-cube/QueryBuilderDataCubeApplicationEngine.js +1 -7
- package/lib/stores/data-cube/QueryBuilderDataCubeApplicationEngine.js.map +1 -1
- package/lib/stores/data-cube/QueryBuilderDataCubeEngine.d.ts +5 -2
- package/lib/stores/data-cube/QueryBuilderDataCubeEngine.d.ts.map +1 -1
- package/lib/stores/data-cube/QueryBuilderDataCubeEngine.js +14 -2
- package/lib/stores/data-cube/QueryBuilderDataCubeEngine.js.map +1 -1
- package/lib/stores/data-cube/QueryBuilderDataCubeEngineHelper.d.ts +1 -1
- package/lib/stores/data-cube/QueryBuilderDataCubeEngineHelper.d.ts.map +1 -1
- package/lib/stores/data-cube/QueryBuilderDataCubeEngineHelper.js +8 -1
- package/lib/stores/data-cube/QueryBuilderDataCubeEngineHelper.js.map +1 -1
- package/lib/stores/filter/QueryBuilderFilterOperator.d.ts +1 -1
- package/lib/stores/filter/QueryBuilderFilterOperator.d.ts.map +1 -1
- package/lib/stores/filter/QueryBuilderFilterState.d.ts +1 -1
- package/lib/stores/filter/QueryBuilderFilterState.d.ts.map +1 -1
- package/lib/stores/filter/QueryBuilderFilterState.js +8 -3
- package/lib/stores/filter/QueryBuilderFilterState.js.map +1 -1
- package/lib/stores/filter/QueryBuilderFilterStateBuilder.js +1 -1
- package/lib/stores/filter/QueryBuilderFilterStateBuilder.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.d.ts +2 -2
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.d.ts.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.js +3 -3
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.d.ts +2 -2
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.d.ts.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.js +3 -3
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.d.ts +2 -2
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.d.ts.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.js +2 -2
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.d.ts +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.d.ts.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.js +2 -2
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.d.ts +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.d.ts.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.js +2 -2
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.d.ts +2 -2
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.d.ts.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.js +2 -2
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.d.ts +2 -2
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.d.ts.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.js +2 -2
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThan.d.ts +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThan.d.ts.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThan.js +2 -2
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThan.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.d.ts +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.d.ts.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.js +2 -2
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.d.ts +2 -2
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.d.ts.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.js +3 -3
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.js.map +1 -1
- package/lib/stores/shared/LambdaParameterState.d.ts +2 -1
- package/lib/stores/shared/LambdaParameterState.d.ts.map +1 -1
- package/lib/stores/shared/LambdaParameterState.js +1 -0
- package/lib/stores/shared/LambdaParameterState.js.map +1 -1
- package/package.json +8 -8
- package/src/components/data-cube/QueryBuilderDataCube.tsx +19 -41
- package/src/components/filter/QueryBuilderFilterPanel.tsx +2 -2
- package/src/components/result/QueryBuilderResultPanel.tsx +23 -3
- package/src/components/result/tds/QueryBuilderTDSGridResult.tsx +7 -3
- package/src/components/result/tds/QueryBuilderTDSResultShared.tsx +334 -26
- package/src/stores/data-cube/QueryBuilderDataCubeApplicationEngine.ts +1 -12
- package/src/stores/data-cube/QueryBuilderDataCubeEngine.ts +23 -0
- package/src/stores/data-cube/QueryBuilderDataCubeEngineHelper.ts +16 -1
- package/src/stores/filter/QueryBuilderFilterOperator.ts +1 -1
- package/src/stores/filter/QueryBuilderFilterState.ts +10 -5
- package/src/stores/filter/QueryBuilderFilterStateBuilder.ts +1 -1
- package/src/stores/filter/operators/QueryBuilderFilterOperator_Contain.ts +3 -5
- package/src/stores/filter/operators/QueryBuilderFilterOperator_EndWith.ts +3 -5
- package/src/stores/filter/operators/QueryBuilderFilterOperator_Equal.ts +2 -2
- package/src/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.ts +2 -4
- package/src/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.ts +2 -4
- package/src/stores/filter/operators/QueryBuilderFilterOperator_In.ts +2 -2
- package/src/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.ts +2 -2
- package/src/stores/filter/operators/QueryBuilderFilterOperator_LessThan.ts +2 -4
- package/src/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.ts +2 -4
- package/src/stores/filter/operators/QueryBuilderFilterOperator_StartWith.ts +3 -5
- package/src/stores/shared/LambdaParameterState.ts +1 -0
@@ -46,7 +46,7 @@ export class QueryBuilderFilterOperator_Contain
|
|
46
46
|
extends QueryBuilderFilterOperator
|
47
47
|
implements Hashable
|
48
48
|
{
|
49
|
-
getLabel(
|
49
|
+
getLabel(): string {
|
50
50
|
return 'contains';
|
51
51
|
}
|
52
52
|
|
@@ -90,9 +90,7 @@ export class QueryBuilderFilterOperator_Contain
|
|
90
90
|
}
|
91
91
|
default:
|
92
92
|
throw new UnsupportedOperationError(
|
93
|
-
`Can't get default value for filter operator '${this.getLabel(
|
94
|
-
filterConditionState,
|
95
|
-
)}' when the LHS property is of type '${propertyType.path}'`,
|
93
|
+
`Can't get default value for filter operator '${this.getLabel()}' when the LHS property is of type '${propertyType.path}'`,
|
96
94
|
);
|
97
95
|
}
|
98
96
|
}
|
@@ -128,7 +126,7 @@ export class QueryBuilderFilterOperator_Contain
|
|
128
126
|
}
|
129
127
|
|
130
128
|
export class QueryBuilderFilterOperator_NotContain extends QueryBuilderFilterOperator_Contain {
|
131
|
-
override getLabel(
|
129
|
+
override getLabel(): string {
|
132
130
|
return `doesn't contain`;
|
133
131
|
}
|
134
132
|
|
@@ -46,7 +46,7 @@ export class QueryBuilderFilterOperator_EndWith
|
|
46
46
|
extends QueryBuilderFilterOperator
|
47
47
|
implements Hashable
|
48
48
|
{
|
49
|
-
getLabel(
|
49
|
+
getLabel(): string {
|
50
50
|
return 'ends with';
|
51
51
|
}
|
52
52
|
|
@@ -90,9 +90,7 @@ export class QueryBuilderFilterOperator_EndWith
|
|
90
90
|
}
|
91
91
|
default:
|
92
92
|
throw new UnsupportedOperationError(
|
93
|
-
`Can't get default value for filter operator '${this.getLabel(
|
94
|
-
filterConditionState,
|
95
|
-
)}' when the LHS property is of type '${propertyType.path}'`,
|
93
|
+
`Can't get default value for filter operator '${this.getLabel()}' when the LHS property is of type '${propertyType.path}'`,
|
96
94
|
);
|
97
95
|
}
|
98
96
|
}
|
@@ -128,7 +126,7 @@ export class QueryBuilderFilterOperator_EndWith
|
|
128
126
|
}
|
129
127
|
|
130
128
|
export class QueryBuilderFilterOperator_NotEndWith extends QueryBuilderFilterOperator_EndWith {
|
131
|
-
override getLabel(
|
129
|
+
override getLabel(): string {
|
132
130
|
return `doesn't end with`;
|
133
131
|
}
|
134
132
|
|
@@ -44,7 +44,7 @@ export class QueryBuilderFilterOperator_Equal
|
|
44
44
|
extends QueryBuilderFilterOperator
|
45
45
|
implements Hashable
|
46
46
|
{
|
47
|
-
getLabel(
|
47
|
+
getLabel(): string {
|
48
48
|
return 'is';
|
49
49
|
}
|
50
50
|
|
@@ -143,7 +143,7 @@ export class QueryBuilderFilterOperator_Equal
|
|
143
143
|
}
|
144
144
|
|
145
145
|
export class QueryBuilderFilterOperator_NotEqual extends QueryBuilderFilterOperator_Equal {
|
146
|
-
override getLabel(
|
146
|
+
override getLabel(): string {
|
147
147
|
return `is not`;
|
148
148
|
}
|
149
149
|
|
@@ -43,7 +43,7 @@ export class QueryBuilderFilterOperator_GreaterThan
|
|
43
43
|
extends QueryBuilderFilterOperator
|
44
44
|
implements Hashable
|
45
45
|
{
|
46
|
-
getLabel(
|
46
|
+
getLabel(): string {
|
47
47
|
return '>';
|
48
48
|
}
|
49
49
|
|
@@ -104,9 +104,7 @@ export class QueryBuilderFilterOperator_GreaterThan
|
|
104
104
|
}
|
105
105
|
default:
|
106
106
|
throw new UnsupportedOperationError(
|
107
|
-
`Can't get default value for filter operator '${this.getLabel(
|
108
|
-
filterConditionState,
|
109
|
-
)}' when the LHS property is of type '${propertyType.path}'`,
|
107
|
+
`Can't get default value for filter operator '${this.getLabel()}' when the LHS property is of type '${propertyType.path}'`,
|
110
108
|
);
|
111
109
|
}
|
112
110
|
}
|
@@ -43,7 +43,7 @@ export class QueryBuilderFilterOperator_GreaterThanEqual
|
|
43
43
|
extends QueryBuilderFilterOperator
|
44
44
|
implements Hashable
|
45
45
|
{
|
46
|
-
getLabel(
|
46
|
+
getLabel(): string {
|
47
47
|
return '>=';
|
48
48
|
}
|
49
49
|
|
@@ -104,9 +104,7 @@ export class QueryBuilderFilterOperator_GreaterThanEqual
|
|
104
104
|
}
|
105
105
|
default:
|
106
106
|
throw new UnsupportedOperationError(
|
107
|
-
`Can't get default value for filter operator '${this.getLabel(
|
108
|
-
filterConditionState,
|
109
|
-
)}' when the LHS property is of type '${propertyType.path}'`,
|
107
|
+
`Can't get default value for filter operator '${this.getLabel()}' when the LHS property is of type '${propertyType.path}'`,
|
110
108
|
);
|
111
109
|
}
|
112
110
|
}
|
@@ -48,7 +48,7 @@ export class QueryBuilderFilterOperator_In
|
|
48
48
|
extends QueryBuilderFilterOperator
|
49
49
|
implements Hashable
|
50
50
|
{
|
51
|
-
getLabel(
|
51
|
+
getLabel(): string {
|
52
52
|
return 'is in list of';
|
53
53
|
}
|
54
54
|
|
@@ -176,7 +176,7 @@ export class QueryBuilderFilterOperator_In
|
|
176
176
|
}
|
177
177
|
|
178
178
|
export class QueryBuilderFilterOperator_NotIn extends QueryBuilderFilterOperator_In {
|
179
|
-
override getLabel(
|
179
|
+
override getLabel(): string {
|
180
180
|
return `is not in list of`;
|
181
181
|
}
|
182
182
|
|
@@ -42,7 +42,7 @@ export class QueryBuilderFilterOperator_IsEmpty
|
|
42
42
|
extends QueryBuilderFilterOperator
|
43
43
|
implements Hashable
|
44
44
|
{
|
45
|
-
getLabel(
|
45
|
+
getLabel(): string {
|
46
46
|
return 'is empty';
|
47
47
|
}
|
48
48
|
|
@@ -110,7 +110,7 @@ export class QueryBuilderFilterOperator_IsEmpty
|
|
110
110
|
}
|
111
111
|
|
112
112
|
export class QueryBuilderFilterOperator_IsNotEmpty extends QueryBuilderFilterOperator_IsEmpty {
|
113
|
-
override getLabel(
|
113
|
+
override getLabel(): string {
|
114
114
|
return `is not empty`;
|
115
115
|
}
|
116
116
|
|
@@ -43,7 +43,7 @@ export class QueryBuilderFilterOperator_LessThan
|
|
43
43
|
extends QueryBuilderFilterOperator
|
44
44
|
implements Hashable
|
45
45
|
{
|
46
|
-
getLabel(
|
46
|
+
getLabel(): string {
|
47
47
|
return '<';
|
48
48
|
}
|
49
49
|
|
@@ -104,9 +104,7 @@ export class QueryBuilderFilterOperator_LessThan
|
|
104
104
|
}
|
105
105
|
default:
|
106
106
|
throw new UnsupportedOperationError(
|
107
|
-
`Can't get default value for filter operator '${this.getLabel(
|
108
|
-
filterConditionState,
|
109
|
-
)}' when the LHS property is of type '${propertyType.path}'`,
|
107
|
+
`Can't get default value for filter operator '${this.getLabel()}' when the LHS property is of type '${propertyType.path}'`,
|
110
108
|
);
|
111
109
|
}
|
112
110
|
}
|
@@ -43,7 +43,7 @@ export class QueryBuilderFilterOperator_LessThanEqual
|
|
43
43
|
extends QueryBuilderFilterOperator
|
44
44
|
implements Hashable
|
45
45
|
{
|
46
|
-
getLabel(
|
46
|
+
getLabel(): string {
|
47
47
|
return '<=';
|
48
48
|
}
|
49
49
|
|
@@ -104,9 +104,7 @@ export class QueryBuilderFilterOperator_LessThanEqual
|
|
104
104
|
}
|
105
105
|
default:
|
106
106
|
throw new UnsupportedOperationError(
|
107
|
-
`Can't get default value for filter operator '${this.getLabel(
|
108
|
-
filterConditionState,
|
109
|
-
)}' when the LHS property is of type '${propertyType.path}'`,
|
107
|
+
`Can't get default value for filter operator '${this.getLabel()}' when the LHS property is of type '${propertyType.path}'`,
|
110
108
|
);
|
111
109
|
}
|
112
110
|
}
|
@@ -46,7 +46,7 @@ export class QueryBuilderFilterOperator_StartWith
|
|
46
46
|
extends QueryBuilderFilterOperator
|
47
47
|
implements Hashable
|
48
48
|
{
|
49
|
-
getLabel(
|
49
|
+
getLabel(): string {
|
50
50
|
return 'starts with';
|
51
51
|
}
|
52
52
|
|
@@ -90,9 +90,7 @@ export class QueryBuilderFilterOperator_StartWith
|
|
90
90
|
}
|
91
91
|
default:
|
92
92
|
throw new UnsupportedOperationError(
|
93
|
-
`Can't get default value for filter operator '${this.getLabel(
|
94
|
-
filterConditionState,
|
95
|
-
)}' when the LHS property is of type '${propertyType.path}'`,
|
93
|
+
`Can't get default value for filter operator '${this.getLabel()}' when the LHS property is of type '${propertyType.path}'`,
|
96
94
|
);
|
97
95
|
}
|
98
96
|
}
|
@@ -128,7 +126,7 @@ export class QueryBuilderFilterOperator_StartWith
|
|
128
126
|
}
|
129
127
|
|
130
128
|
export class QueryBuilderFilterOperator_NotStartWith extends QueryBuilderFilterOperator_StartWith {
|
131
|
-
override getLabel(
|
129
|
+
override getLabel(): string {
|
132
130
|
return `doesn't start with`;
|
133
131
|
}
|
134
132
|
|