@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
@@ -18,7 +18,7 @@ import { QueryBuilderFilterOperator } from '../QueryBuilderFilterOperator.js';
|
|
18
18
|
import { type ValueSpecification, type SimpleFunctionExpression } from '@finos/legend-graph';
|
19
19
|
import { type Hashable } from '@finos/legend-shared';
|
20
20
|
export declare class QueryBuilderFilterOperator_IsEmpty extends QueryBuilderFilterOperator implements Hashable {
|
21
|
-
getLabel(
|
21
|
+
getLabel(): string;
|
22
22
|
isCompatibleWithFilterConditionProperty(filterConditionState: FilterConditionState): boolean;
|
23
23
|
isCompatibleWithFilterConditionValue(filterConditionState: FilterConditionState): boolean;
|
24
24
|
getDefaultFilterConditionValue(filterConditionState: FilterConditionState): ValueSpecification | undefined;
|
@@ -27,7 +27,7 @@ export declare class QueryBuilderFilterOperator_IsEmpty extends QueryBuilderFilt
|
|
27
27
|
get hashCode(): string;
|
28
28
|
}
|
29
29
|
export declare class QueryBuilderFilterOperator_IsNotEmpty extends QueryBuilderFilterOperator_IsEmpty {
|
30
|
-
getLabel(
|
30
|
+
getLabel(): string;
|
31
31
|
buildFilterConditionExpression(filterConditionState: FilterConditionState, lambdaParameterName?: string | undefined): ValueSpecification;
|
32
32
|
buildFilterConditionState(filterState: QueryBuilderFilterState, expression: SimpleFunctionExpression): FilterConditionState | undefined;
|
33
33
|
get hashCode(): string;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderFilterOperator_IsEmpty.d.ts","sourceRoot":"","sources":["../../../../src/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.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,EACL,KAAK,kBAAkB,EACvB,KAAK,wBAAwB,EAG9B,MAAM,qBAAqB,CAAC;AAW7B,OAAO,EAAE,KAAK,QAAQ,EAAa,MAAM,sBAAsB,CAAC;AAGhE,qBAAa,kCACX,SAAQ,0BACR,YAAW,QAAQ;IAEnB,QAAQ,
|
1
|
+
{"version":3,"file":"QueryBuilderFilterOperator_IsEmpty.d.ts","sourceRoot":"","sources":["../../../../src/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.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,EACL,KAAK,kBAAkB,EACvB,KAAK,wBAAwB,EAG9B,MAAM,qBAAqB,CAAC;AAW7B,OAAO,EAAE,KAAK,QAAQ,EAAa,MAAM,sBAAsB,CAAC;AAGhE,qBAAa,kCACX,SAAQ,0BACR,YAAW,QAAQ;IAEnB,QAAQ,IAAI,MAAM;IAIlB,uCAAuC,CACrC,oBAAoB,EAAE,oBAAoB,GACzC,OAAO;IAkBV,oCAAoC,CAClC,oBAAoB,EAAE,oBAAoB,GACzC,OAAO;IAIV,8BAA8B,CAC5B,oBAAoB,EAAE,oBAAoB,GACzC,kBAAkB,GAAG,SAAS;IAIjC,8BAA8B,CAC5B,oBAAoB,EAAE,oBAAoB,EAC1C,mBAAmB,CAAC,EAAE,MAAM,GAAG,SAAS,GACvC,kBAAkB;IAQrB,yBAAyB,CACvB,WAAW,EAAE,uBAAuB,EACpC,UAAU,EAAE,wBAAwB,GACnC,oBAAoB,GAAG,SAAS;IAUnC,IAAI,QAAQ,IAAI,MAAM,CAIrB;CACF;AAED,qBAAa,qCAAsC,SAAQ,kCAAkC;IAClF,QAAQ,IAAI,MAAM;IAIlB,8BAA8B,CACrC,oBAAoB,EAAE,oBAAoB,EAC1C,mBAAmB,CAAC,EAAE,MAAM,GAAG,SAAS,GACvC,kBAAkB;IASZ,yBAAyB,CAChC,WAAW,EAAE,uBAAuB,EACpC,UAAU,EAAE,wBAAwB,GACnC,oBAAoB,GAAG,SAAS;IAOnC,IAAa,QAAQ,IAAI,MAAM,CAI9B;CACF"}
|
@@ -21,7 +21,7 @@ import { buildNotExpression, isPropertyExpressionChainOptional, unwrapNotExpress
|
|
21
21
|
import { hashArray } from '@finos/legend-shared';
|
22
22
|
import { QUERY_BUILDER_STATE_HASH_STRUCTURE } from '../../QueryBuilderStateHashUtils.js';
|
23
23
|
export class QueryBuilderFilterOperator_IsEmpty extends QueryBuilderFilterOperator {
|
24
|
-
getLabel(
|
24
|
+
getLabel() {
|
25
25
|
return 'is empty';
|
26
26
|
}
|
27
27
|
isCompatibleWithFilterConditionProperty(filterConditionState) {
|
@@ -53,7 +53,7 @@ export class QueryBuilderFilterOperator_IsEmpty extends QueryBuilderFilterOperat
|
|
53
53
|
}
|
54
54
|
}
|
55
55
|
export class QueryBuilderFilterOperator_IsNotEmpty extends QueryBuilderFilterOperator_IsEmpty {
|
56
|
-
getLabel(
|
56
|
+
getLabel() {
|
57
57
|
return `is not empty`;
|
58
58
|
}
|
59
59
|
buildFilterConditionExpression(filterConditionState, lambdaParameterName) {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderFilterOperator_IsEmpty.js","sourceRoot":"","sources":["../../../../src/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAMH,OAAO,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AAC9E,OAAO,EAGL,WAAW,EACX,aAAa,GACd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,yBAAyB,EACzB,8BAA8B,GAC/B,MAAM,0DAA0D,CAAC;AAClE,OAAO,EAAE,iCAAiC,EAAE,MAAM,8CAA8C,CAAC;AACjG,OAAO,EACL,kBAAkB,EAClB,iCAAiC,EACjC,mBAAmB,GACpB,MAAM,+CAA+C,CAAC;AACvD,OAAO,EAAiB,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,kCAAkC,EAAE,MAAM,qCAAqC,CAAC;AAEzF,MAAM,OAAO,kCACX,SAAQ,0BAA0B;IAGlC,QAAQ
|
1
|
+
{"version":3,"file":"QueryBuilderFilterOperator_IsEmpty.js","sourceRoot":"","sources":["../../../../src/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAMH,OAAO,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AAC9E,OAAO,EAGL,WAAW,EACX,aAAa,GACd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,yBAAyB,EACzB,8BAA8B,GAC/B,MAAM,0DAA0D,CAAC;AAClE,OAAO,EAAE,iCAAiC,EAAE,MAAM,8CAA8C,CAAC;AACjG,OAAO,EACL,kBAAkB,EAClB,iCAAiC,EACjC,mBAAmB,GACpB,MAAM,+CAA+C,CAAC;AACvD,OAAO,EAAiB,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,kCAAkC,EAAE,MAAM,qCAAqC,CAAC;AAEzF,MAAM,OAAO,kCACX,SAAQ,0BAA0B;IAGlC,QAAQ;QACN,OAAO,UAAU,CAAC;IACpB,CAAC;IAED,uCAAuC,CACrC,oBAA0C;QAE1C,MAAM,YAAY,GAChB,oBAAoB,CAAC,uBAAuB,CAAC,kBAAkB,CAAC,IAAI,CAAC,KAAK;aACvE,WAAW,CAAC,KAAK,CAAC,OAAO,CAAC;QAC/B,sCAAsC;QACtC,IACE,CAAC,iCAAiC,CAChC,oBAAoB,CAAC,uBAAuB,CAAC,kBAAkB,CAChE,EACD,CAAC;YACD,OAAO,KAAK,CAAC;QACf,CAAC;QACD,OAAO,CACL,YAAY,YAAY,WAAW;YACnC,YAAY,YAAY,aAAa,CACtC,CAAC;IACJ,CAAC;IAED,oCAAoC,CAClC,oBAA0C;QAE1C,OAAO,oBAAoB,CAAC,mBAAmB,KAAK,SAAS,CAAC;IAChE,CAAC;IAED,8BAA8B,CAC5B,oBAA0C;QAE1C,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,8BAA8B,CAC5B,oBAA0C,EAC1C,mBAAwC;QAExC,OAAO,8BAA8B,CACnC,oBAAoB,EACpB,iCAAiC,CAAC,QAAQ,EAC1C,mBAAmB,CACpB,CAAC;IACJ,CAAC;IAED,yBAAyB,CACvB,WAAoC,EACpC,UAAoC;QAEpC,OAAO,yBAAyB,CAC9B,WAAW,EACX,UAAU,EACV,iCAAiC,CAAC,QAAQ,EAC1C,IAAI,EACJ,IAAI,CACL,CAAC;IACJ,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,kCAAkC,CAAC,wBAAwB;SAC5D,CAAC,CAAC;IACL,CAAC;CACF;AAED,MAAM,OAAO,qCAAsC,SAAQ,kCAAkC;IAClF,QAAQ;QACf,OAAO,cAAc,CAAC;IACxB,CAAC;IAEQ,8BAA8B,CACrC,oBAA0C,EAC1C,mBAAwC;QAExC,OAAO,kBAAkB,CACvB,KAAK,CAAC,8BAA8B,CAClC,oBAAoB,EACpB,mBAAmB,CACpB,CACF,CAAC;IACJ,CAAC;IAEQ,yBAAyB,CAChC,WAAoC,EACpC,UAAoC;QAEpC,MAAM,eAAe,GAAG,mBAAmB,CAAC,UAAU,CAAC,CAAC;QACxD,OAAO,eAAe;YACpB,CAAC,CAAC,KAAK,CAAC,yBAAyB,CAAC,WAAW,EAAE,eAAe,CAAC;YAC/D,CAAC,CAAC,SAAS,CAAC;IAChB,CAAC;IAED,IAAa,QAAQ;QACnB,OAAO,SAAS,CAAC;YACf,kCAAkC,CAAC,4BAA4B;SAChE,CAAC,CAAC;IACL,CAAC;CACF"}
|
@@ -18,7 +18,7 @@ import { QueryBuilderFilterOperator } from '../QueryBuilderFilterOperator.js';
|
|
18
18
|
import { type ValueSpecification, type SimpleFunctionExpression } from '@finos/legend-graph';
|
19
19
|
import { type Hashable } from '@finos/legend-shared';
|
20
20
|
export declare class QueryBuilderFilterOperator_LessThan extends QueryBuilderFilterOperator implements Hashable {
|
21
|
-
getLabel(
|
21
|
+
getLabel(): string;
|
22
22
|
isCompatibleWithFilterConditionProperty(filterConditionState: FilterConditionState): boolean;
|
23
23
|
isCompatibleWithFilterConditionValue(filterConditionState: FilterConditionState): boolean;
|
24
24
|
getDefaultFilterConditionValue(filterConditionState: FilterConditionState): ValueSpecification | undefined;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderFilterOperator_LessThan.d.ts","sourceRoot":"","sources":["../../../../src/stores/filter/operators/QueryBuilderFilterOperator_LessThan.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;AAU9B,qBAAa,mCACX,SAAQ,0BACR,YAAW,QAAQ;IAEnB,QAAQ,
|
1
|
+
{"version":3,"file":"QueryBuilderFilterOperator_LessThan.d.ts","sourceRoot":"","sources":["../../../../src/stores/filter/operators/QueryBuilderFilterOperator_LessThan.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;AAU9B,qBAAa,mCACX,SAAQ,0BACR,YAAW,QAAQ;IAEnB,QAAQ,IAAI,MAAM;IAIlB,uCAAuC,CACrC,oBAAoB,EAAE,oBAAoB,GACzC,OAAO;IAiBV,oCAAoC,CAClC,oBAAoB,EAAE,oBAAoB,GACzC,OAAO;IAWV,8BAA8B,CAC5B,oBAAoB,EAAE,oBAAoB,GACzC,kBAAkB,GAAG,SAAS;IA4BjC,8BAA8B,CAC5B,oBAAoB,EAAE,oBAAoB,EAC1C,mBAAmB,CAAC,EAAE,MAAM,GAAG,SAAS,GACvC,kBAAkB;IAarB,yBAAyB,CACvB,WAAW,EAAE,uBAAuB,EACpC,UAAU,EAAE,wBAAwB,GACnC,oBAAoB,GAAG,SAAS;IAcnC,IAAI,QAAQ,IAAI,MAAM,CAIrB;CACF"}
|
@@ -22,7 +22,7 @@ import { isTypeCompatibleForAssignment } from '../../QueryBuilderValueSpecificat
|
|
22
22
|
import { QUERY_BUILDER_STATE_HASH_STRUCTURE } from '../../QueryBuilderStateHashUtils.js';
|
23
23
|
import { buildDefaultInstanceValue } from '../../shared/ValueSpecificationEditorHelper.js';
|
24
24
|
export class QueryBuilderFilterOperator_LessThan extends QueryBuilderFilterOperator {
|
25
|
-
getLabel(
|
25
|
+
getLabel() {
|
26
26
|
return '<';
|
27
27
|
}
|
28
28
|
isCompatibleWithFilterConditionProperty(filterConditionState) {
|
@@ -61,7 +61,7 @@ export class QueryBuilderFilterOperator_LessThan extends QueryBuilderFilterOpera
|
|
61
61
|
.INTERNAL__enableInitializingDefaultSimpleExpressionValue);
|
62
62
|
}
|
63
63
|
default:
|
64
|
-
throw new UnsupportedOperationError(`Can't get default value for filter operator '${this.getLabel(
|
64
|
+
throw new UnsupportedOperationError(`Can't get default value for filter operator '${this.getLabel()}' when the LHS property is of type '${propertyType.path}'`);
|
65
65
|
}
|
66
66
|
}
|
67
67
|
buildFilterConditionExpression(filterConditionState, lambdaParameterName) {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderFilterOperator_LessThan.js","sourceRoot":"","sources":["../../../../src/stores/filter/operators/QueryBuilderFilterOperator_LessThan.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAMH,OAAO,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AAC9E,OAAO,EACL,cAAc,GAIf,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,SAAS,EACT,yBAAyB,GAC1B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,yBAAyB,EACzB,8BAA8B,GAC/B,MAAM,0DAA0D,CAAC;AAClE,OAAO,EAAE,iCAAiC,EAAE,MAAM,8CAA8C,CAAC;AACjG,OAAO,EAAE,6BAA6B,EAAE,MAAM,+CAA+C,CAAC;AAC9F,OAAO,EAAE,kCAAkC,EAAE,MAAM,qCAAqC,CAAC;AACzF,OAAO,EAAE,yBAAyB,EAAE,MAAM,gDAAgD,CAAC;AAE3F,MAAM,OAAO,mCACX,SAAQ,0BAA0B;IAGlC,QAAQ
|
1
|
+
{"version":3,"file":"QueryBuilderFilterOperator_LessThan.js","sourceRoot":"","sources":["../../../../src/stores/filter/operators/QueryBuilderFilterOperator_LessThan.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAMH,OAAO,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AAC9E,OAAO,EACL,cAAc,GAIf,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,SAAS,EACT,yBAAyB,GAC1B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,yBAAyB,EACzB,8BAA8B,GAC/B,MAAM,0DAA0D,CAAC;AAClE,OAAO,EAAE,iCAAiC,EAAE,MAAM,8CAA8C,CAAC;AACjG,OAAO,EAAE,6BAA6B,EAAE,MAAM,+CAA+C,CAAC;AAC9F,OAAO,EAAE,kCAAkC,EAAE,MAAM,qCAAqC,CAAC;AACzF,OAAO,EAAE,yBAAyB,EAAE,MAAM,gDAAgD,C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AC,iCAAiC,CAAC,aAAa;YACjD,CAAC,CAAC,iCAAiC,CAAC,SAAS,EAC/C,IAAI,CACL,CAAC;IACJ,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,kCAAkC,CAAC,yBAAyB;SAC7D,CAAC,CAAC;IACL,CAAC;CACF"}
|
@@ -18,7 +18,7 @@ import { QueryBuilderFilterOperator } from '../QueryBuilderFilterOperator.js';
|
|
18
18
|
import { type ValueSpecification, type SimpleFunctionExpression } from '@finos/legend-graph';
|
19
19
|
import { type Hashable } from '@finos/legend-shared';
|
20
20
|
export declare class QueryBuilderFilterOperator_LessThanEqual extends QueryBuilderFilterOperator implements Hashable {
|
21
|
-
getLabel(
|
21
|
+
getLabel(): string;
|
22
22
|
isCompatibleWithFilterConditionProperty(filterConditionState: FilterConditionState): boolean;
|
23
23
|
isCompatibleWithFilterConditionValue(filterConditionState: FilterConditionState): boolean;
|
24
24
|
getDefaultFilterConditionValue(filterConditionState: FilterConditionState): ValueSpecification | undefined;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderFilterOperator_LessThanEqual.d.ts","sourceRoot":"","sources":["../../../../src/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.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;AAU9B,qBAAa,wCACX,SAAQ,0BACR,YAAW,QAAQ;IAEnB,QAAQ,
|
1
|
+
{"version":3,"file":"QueryBuilderFilterOperator_LessThanEqual.d.ts","sourceRoot":"","sources":["../../../../src/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.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;AAU9B,qBAAa,wCACX,SAAQ,0BACR,YAAW,QAAQ;IAEnB,QAAQ,IAAI,MAAM;IAIlB,uCAAuC,CACrC,oBAAoB,EAAE,oBAAoB,GACzC,OAAO;IAiBV,oCAAoC,CAClC,oBAAoB,EAAE,oBAAoB,GACzC,OAAO;IAWV,8BAA8B,CAC5B,oBAAoB,EAAE,oBAAoB,GACzC,kBAAkB,GAAG,SAAS;IA4BjC,8BAA8B,CAC5B,oBAAoB,EAAE,oBAAoB,EAC1C,mBAAmB,CAAC,EAAE,MAAM,GAAG,SAAS,GACvC,kBAAkB;IAarB,yBAAyB,CACvB,WAAW,EAAE,uBAAuB,EACpC,UAAU,EAAE,wBAAwB,GACnC,oBAAoB,GAAG,SAAS;IAcnC,IAAI,QAAQ,IAAI,MAAM,CAIrB;CACF"}
|
@@ -22,7 +22,7 @@ import { isTypeCompatibleForAssignment } from '../../QueryBuilderValueSpecificat
|
|
22
22
|
import { QUERY_BUILDER_STATE_HASH_STRUCTURE } from '../../QueryBuilderStateHashUtils.js';
|
23
23
|
import { buildDefaultInstanceValue } from '../../shared/ValueSpecificationEditorHelper.js';
|
24
24
|
export class QueryBuilderFilterOperator_LessThanEqual extends QueryBuilderFilterOperator {
|
25
|
-
getLabel(
|
25
|
+
getLabel() {
|
26
26
|
return '<=';
|
27
27
|
}
|
28
28
|
isCompatibleWithFilterConditionProperty(filterConditionState) {
|
@@ -61,7 +61,7 @@ export class QueryBuilderFilterOperator_LessThanEqual extends QueryBuilderFilter
|
|
61
61
|
.INTERNAL__enableInitializingDefaultSimpleExpressionValue);
|
62
62
|
}
|
63
63
|
default:
|
64
|
-
throw new UnsupportedOperationError(`Can't get default value for filter operator '${this.getLabel(
|
64
|
+
throw new UnsupportedOperationError(`Can't get default value for filter operator '${this.getLabel()}' when the LHS property is of type '${propertyType.path}'`);
|
65
65
|
}
|
66
66
|
}
|
67
67
|
buildFilterConditionExpression(filterConditionState, lambdaParameterName) {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderFilterOperator_LessThanEqual.js","sourceRoot":"","sources":["../../../../src/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAMH,OAAO,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AAC9E,OAAO,EACL,cAAc,GAIf,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,yBAAyB,EACzB,SAAS,GACV,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,yBAAyB,EACzB,8BAA8B,GAC/B,MAAM,0DAA0D,CAAC;AAClE,OAAO,EAAE,iCAAiC,EAAE,MAAM,8CAA8C,CAAC;AACjG,OAAO,EAAE,6BAA6B,EAAE,MAAM,+CAA+C,CAAC;AAC9F,OAAO,EAAE,kCAAkC,EAAE,MAAM,qCAAqC,CAAC;AACzF,OAAO,EAAE,yBAAyB,EAAE,MAAM,gDAAgD,CAAC;AAE3F,MAAM,OAAO,wCACX,SAAQ,0BAA0B;IAGlC,QAAQ
|
1
|
+
{"version":3,"file":"QueryBuilderFilterOperator_LessThanEqual.js","sourceRoot":"","sources":["../../../../src/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAMH,OAAO,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AAC9E,OAAO,EACL,cAAc,GAIf,MA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ED,yBAAyB,CACvB,WAAoC,EACpC,UAAoC;QAEpC,OAAO,yBAAyB,CAC9B,WAAW,EACX,UAAU,EACT,UAAU,CAAC,gBAAgB,CAAC,CAAC,CAAgC,CAAC,IAAI,CAAC,KAAK;aACtE,WAAW,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,KAAK,cAAc,CAAC,QAAQ;YAC3D,UAAU,CAAC,gBAAgB,CAAC,CAAC,CAAC,EAAE,WAAW,EAAE,KAAK,CAAC,OAAO,CAAC,IAAI;gBAC7D,cAAc,CAAC,QAAQ;YACzB,CAAC,CAAC,iCAAiC,CAAC,mBAAmB;YACvD,CAAC,CAAC,iCAAiC,CAAC,eAAe,EACrD,IAAI,CACL,CAAC;IACJ,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,kCAAkC,CAAC,+BAA+B;SACnE,CAAC,CAAC;IACL,CAAC;CACF"}
|
@@ -18,7 +18,7 @@ import { QueryBuilderFilterOperator } from '../QueryBuilderFilterOperator.js';
|
|
18
18
|
import { type ValueSpecification, type SimpleFunctionExpression } from '@finos/legend-graph';
|
19
19
|
import { type Hashable } from '@finos/legend-shared';
|
20
20
|
export declare class QueryBuilderFilterOperator_StartWith extends QueryBuilderFilterOperator implements Hashable {
|
21
|
-
getLabel(
|
21
|
+
getLabel(): string;
|
22
22
|
isCompatibleWithFilterConditionProperty(filterConditionState: FilterConditionState): boolean;
|
23
23
|
isCompatibleWithFilterConditionValue(filterConditionState: FilterConditionState): boolean;
|
24
24
|
getDefaultFilterConditionValue(filterConditionState: FilterConditionState): ValueSpecification | undefined;
|
@@ -27,7 +27,7 @@ export declare class QueryBuilderFilterOperator_StartWith extends QueryBuilderFi
|
|
27
27
|
get hashCode(): string;
|
28
28
|
}
|
29
29
|
export declare class QueryBuilderFilterOperator_NotStartWith extends QueryBuilderFilterOperator_StartWith {
|
30
|
-
getLabel(
|
30
|
+
getLabel(): string;
|
31
31
|
buildFilterConditionExpression(filterConditionState: FilterConditionState, lambdaParameterName?: string | undefined): ValueSpecification;
|
32
32
|
buildFilterConditionState(filterState: QueryBuilderFilterState, expression: SimpleFunctionExpression): FilterConditionState | undefined;
|
33
33
|
get hashCode(): string;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderFilterOperator_StartWith.d.ts","sourceRoot":"","sources":["../../../../src/stores/filter/operators/QueryBuilderFilterOperator_StartWith.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;AAa9B,qBAAa,oCACX,SAAQ,0BACR,YAAW,QAAQ;IAEnB,QAAQ,
|
1
|
+
{"version":3,"file":"QueryBuilderFilterOperator_StartWith.d.ts","sourceRoot":"","sources":["../../../../src/stores/filter/operators/QueryBuilderFilterOperator_StartWith.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;AAa9B,qBAAa,oCACX,SAAQ,0BACR,YAAW,QAAQ;IAEnB,QAAQ,IAAI,MAAM;IAIlB,uCAAuC,CACrC,oBAAoB,EAAE,oBAAoB,GACzC,OAAO;IAQV,oCAAoC,CAClC,oBAAoB,EAAE,oBAAoB,GACzC,OAAO;IASV,8BAA8B,CAC5B,oBAAoB,EAAE,oBAAoB,GACzC,kBAAkB,GAAG,SAAS;IAsBjC,8BAA8B,CAC5B,oBAAoB,EAAE,oBAAoB,EAC1C,mBAAmB,CAAC,EAAE,MAAM,GAAG,SAAS,GACvC,kBAAkB;IAQrB,yBAAyB,CACvB,WAAW,EAAE,uBAAuB,EACpC,UAAU,EAAE,wBAAwB,GACnC,oBAAoB,GAAG,SAAS;IASnC,IAAI,QAAQ,IAAI,MAAM,CAIrB;CACF;AAED,qBAAa,uCAAwC,SAAQ,oCAAoC;IACtF,QAAQ,IAAI,MAAM;IAIlB,8BAA8B,CACrC,oBAAoB,EAAE,oBAAoB,EAC1C,mBAAmB,CAAC,EAAE,MAAM,GAAG,SAAS,GACvC,kBAAkB;IASZ,yBAAyB,CAChC,WAAW,EAAE,uBAAuB,EACpC,UAAU,EAAE,wBAAwB,GACnC,oBAAoB,GAAG,SAAS;IAOnC,IAAa,QAAQ,IAAI,MAAM,CAI9B;CACF"}
|
@@ -22,7 +22,7 @@ import { buildNotExpression, unwrapNotExpression, } from '../../QueryBuilderValu
|
|
22
22
|
import { QUERY_BUILDER_STATE_HASH_STRUCTURE } from '../../QueryBuilderStateHashUtils.js';
|
23
23
|
import { buildDefaultInstanceValue } from '../../shared/ValueSpecificationEditorHelper.js';
|
24
24
|
export class QueryBuilderFilterOperator_StartWith extends QueryBuilderFilterOperator {
|
25
|
-
getLabel(
|
25
|
+
getLabel() {
|
26
26
|
return 'starts with';
|
27
27
|
}
|
28
28
|
isCompatibleWithFilterConditionProperty(filterConditionState) {
|
@@ -47,7 +47,7 @@ export class QueryBuilderFilterOperator_StartWith extends QueryBuilderFilterOper
|
|
47
47
|
.INTERNAL__enableInitializingDefaultSimpleExpressionValue);
|
48
48
|
}
|
49
49
|
default:
|
50
|
-
throw new UnsupportedOperationError(`Can't get default value for filter operator '${this.getLabel(
|
50
|
+
throw new UnsupportedOperationError(`Can't get default value for filter operator '${this.getLabel()}' when the LHS property is of type '${propertyType.path}'`);
|
51
51
|
}
|
52
52
|
}
|
53
53
|
buildFilterConditionExpression(filterConditionState, lambdaParameterName) {
|
@@ -63,7 +63,7 @@ export class QueryBuilderFilterOperator_StartWith extends QueryBuilderFilterOper
|
|
63
63
|
}
|
64
64
|
}
|
65
65
|
export class QueryBuilderFilterOperator_NotStartWith extends QueryBuilderFilterOperator_StartWith {
|
66
|
-
getLabel(
|
66
|
+
getLabel() {
|
67
67
|
return `doesn't start with`;
|
68
68
|
}
|
69
69
|
buildFilterConditionExpression(filterConditionState, lambdaParameterName) {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderFilterOperator_StartWith.js","sourceRoot":"","sources":["../../../../src/stores/filter/operators/QueryBuilderFilterOperator_StartWith.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAMH,OAAO,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AAC9E,OAAO,EACL,cAAc,EAGd,aAAa,GACd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,yBAAyB,EACzB,SAAS,GACV,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,yBAAyB,EACzB,8BAA8B,GAC/B,MAAM,0DAA0D,CAAC;AAClE,OAAO,EAAE,iCAAiC,EAAE,MAAM,8CAA8C,CAAC;AACjG,OAAO,EACL,kBAAkB,EAClB,mBAAmB,GACpB,MAAM,+CAA+C,CAAC;AACvD,OAAO,EAAE,kCAAkC,EAAE,MAAM,qCAAqC,CAAC;AACzF,OAAO,EAAE,yBAAyB,EAAE,MAAM,gDAAgD,CAAC;AAE3F,MAAM,OAAO,oCACX,SAAQ,0BAA0B;IAGlC,QAAQ
|
1
|
+
{"version":3,"file":"QueryBuilderFilterOperator_StartWith.js","sourceRoot":"","sources":["../../../../src/stores/filter/operators/QueryBuilderFilterOperator_StartWith.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAMH,OAAO,EAAE,0BAA0B,EAA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C,SAAS,CAAC;IAChB,CAAC;IAED,IAAa,QAAQ;QACnB,OAAO,SAAS,CAAC;YACf,kCAAkC,CAAC,8BAA8B;SAClE,CAAC,CAAC;IACL,CAAC;CACF"}
|
@@ -17,7 +17,8 @@ import { type ObserverContext, type Type, type ValueSpecification, type PureMode
|
|
17
17
|
import { type Hashable } from '@finos/legend-shared';
|
18
18
|
export declare enum PARAMETER_SUBMIT_ACTION {
|
19
19
|
RUN = "RUN",
|
20
|
-
EXPORT = "EXPORT"
|
20
|
+
EXPORT = "EXPORT",
|
21
|
+
DATA_CUBE = "DATA_CUBE"
|
21
22
|
}
|
22
23
|
export declare const buildParametersLetLambdaFunc: (graph: PureModel, lambdaParametersStates: LambdaParameterState[]) => LambdaFunction;
|
23
24
|
/**
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"LambdaParameterState.d.ts","sourceRoot":"","sources":["../../../src/stores/shared/LambdaParameterState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,eAAe,EACpB,KAAK,IAAI,EACT,KAAK,kBAAkB,EACvB,KAAK,SAAS,EACd,KAAK,iBAAiB,EACtB,KAAK,SAAS,EAKd,kBAAkB,EAGlB,cAAc,EAId,YAAY,EAKZ,cAAc,EAEf,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAGL,KAAK,QAAQ,EAMd,MAAM,sBAAsB,CAAC;AAQ9B,oBAAY,uBAAuB;IACjC,GAAG,QAAQ;IACX,MAAM,WAAW;
|
1
|
+
{"version":3,"file":"LambdaParameterState.d.ts","sourceRoot":"","sources":["../../../src/stores/shared/LambdaParameterState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,eAAe,EACpB,KAAK,IAAI,EACT,KAAK,kBAAkB,EACvB,KAAK,SAAS,EACd,KAAK,iBAAiB,EACtB,KAAK,SAAS,EAKd,kBAAkB,EAGlB,cAAc,EAId,YAAY,EAKZ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kBAAkB,EACtC,GAAG,EAAE,YAAY,GAChB,IAAI;IAQP,IAAI,YAAY,IAAI,MAAM,CAEzB;IAED,IAAI,YAAY,IAAI,IAAI,GAAG,SAAS,CAEnC;CACF;AAED,qBAAa,kCAAkC;IAC7C,SAAS,UAAS;IAClB,YAAY,EACR;QACE,OAAO,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;QAC7B,KAAK,EAAE,MAAM,CAAC;KACf,GACD,SAAS,CAAC;;IAYd,YAAY,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI;IAIhC,eAAe,CACb,GAAG,EACC;QACE,OAAO,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;QAC7B,KAAK,EAAE,MAAM,CAAC;KACf,GACD,SAAS,GACZ,IAAI;IAIP,IAAI,CAAC,OAAO,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI;IAKvD,KAAK,IAAI,IAAI;CAId;AAED,8BAAsB,qBAAsB,YAAW,QAAQ;IAC7D,eAAe,EAAE,oBAAoB,EAAE,CAAM;IAC7C,0BAA0B,qCAA4C;;IAQtE,IAAI,QAAQ,IAAI,MAAM,CAKrB;IAED,YAAY,CAAC,GAAG,EAAE,oBAAoB,GAAG,IAAI;IAI7C,eAAe,CAAC,GAAG,EAAE,oBAAoB,GAAG,IAAI;IAIhD,aAAa,CAAC,GAAG,EAAE,oBAAoB,EAAE,GAAG,IAAI;CAGjD"}
|
@@ -22,6 +22,7 @@ export var PARAMETER_SUBMIT_ACTION;
|
|
22
22
|
(function (PARAMETER_SUBMIT_ACTION) {
|
23
23
|
PARAMETER_SUBMIT_ACTION["RUN"] = "RUN";
|
24
24
|
PARAMETER_SUBMIT_ACTION["EXPORT"] = "EXPORT";
|
25
|
+
PARAMETER_SUBMIT_ACTION["DATA_CUBE"] = "DATA_CUBE";
|
25
26
|
})(PARAMETER_SUBMIT_ACTION || (PARAMETER_SUBMIT_ACTION = {}));
|
26
27
|
var LAMABA_PARAMETER_HASH_STRUCTURE;
|
27
28
|
(function (LAMABA_PARAMETER_HASH_STRUCTURE) {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"LambdaParameterState.js","sourceRoot":"","sources":["../../../src/stores/shared/LambdaParameterState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAOL,WAAW,EACX,4BAA4B,EAC5B,0BAA0B,EAC1B,0BAA0B,EAC1B,kBAAkB,EAClB,wBAAwB,EACxB,mCAAmC,EACnC,cAAc,EACd,YAAY,EACZ,cAAc,EACd,0BAA0B,EAC1B,YAAY,EACZ,sBAAsB,EACtB,aAAa,EACb,mBAAmB,EACnB,sBAAsB,EACtB,cAAc,EACd,gCAAgC,GACjC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,cAAc,EACd,WAAW,EAEX,SAAS,EACT,iBAAiB,EACjB,IAAI,EACJ,aAAa,EACb,oBAAoB,GACrB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AACpE,OAAO,EAAE,mCAAmC,EAAE,MAAM,qCAAqC,CAAC;AAC1F,OAAO,EACL,iCAAiC,EACjC,kCAAkC,GACnC,MAAM,uCAAuC,CAAC;AAE/C,MAAM,CAAN,IAAY,
|
1
|
+
{"version":3,"file":"LambdaParameterState.js","sourceRoot":"","sources":["../../../src/stores/shared/LambdaParameterState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAOL,WAAW,EACX,4BAA4B,EAC5B,0BAA0B,EAC1B,0BAA0B,EAC1B,kBAAkB,EAClB,wBAAwB,EACxB,mCAAmC,EACnC,cAAc,EACd,YAAY,EACZ,cAAc,EACd,0BAA0B,EAC1B,YAAY,EACZ,sBAAsB,EACtB,aAAa,EACb,mBAAmB,EACnB,sBAAsB,EACtB,cAAc,EACd,g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AAe,EAAE,GAAG,CAAC,CAAC;IACzC,CAAC;IAED,aAAa,CAAC,GAA2B;QACvC,IAAI,CAAC,eAAe,GAAG,GAAG,CAAC;IAC7B,CAAC;CACF"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@finos/legend-query-builder",
|
3
|
-
"version": "4.15.
|
3
|
+
"version": "4.15.3",
|
4
4
|
"description": "Legend query builder core",
|
5
5
|
"keywords": [
|
6
6
|
"legend",
|
@@ -42,12 +42,12 @@
|
|
42
42
|
"test:watch": "jest --watch"
|
43
43
|
},
|
44
44
|
"dependencies": {
|
45
|
-
"@finos/legend-application": "16.0.
|
46
|
-
"@finos/legend-art": "7.1.
|
47
|
-
"@finos/legend-code-editor": "2.0.
|
48
|
-
"@finos/legend-data-cube": "0.0.
|
49
|
-
"@finos/legend-graph": "31.10.
|
50
|
-
"@finos/legend-lego": "2.0.
|
45
|
+
"@finos/legend-application": "16.0.3",
|
46
|
+
"@finos/legend-art": "7.1.62",
|
47
|
+
"@finos/legend-code-editor": "2.0.4",
|
48
|
+
"@finos/legend-data-cube": "0.0.9",
|
49
|
+
"@finos/legend-graph": "31.10.38",
|
50
|
+
"@finos/legend-lego": "2.0.6",
|
51
51
|
"@finos/legend-server-depot": "6.0.62",
|
52
52
|
"@finos/legend-shared": "10.0.57",
|
53
53
|
"@finos/legend-storage": "3.0.107",
|
@@ -68,7 +68,7 @@
|
|
68
68
|
"sql-formatter": "15.4.3"
|
69
69
|
},
|
70
70
|
"devDependencies": {
|
71
|
-
"@finos/legend-dev-utils": "2.1.
|
71
|
+
"@finos/legend-dev-utils": "2.1.25",
|
72
72
|
"@jest/globals": "29.7.0",
|
73
73
|
"cross-env": "7.0.3",
|
74
74
|
"eslint": "9.12.0",
|
@@ -21,14 +21,12 @@ import { QueryBuilderDataCubeApplicationEngine } from '../../stores/data-cube/Qu
|
|
21
21
|
import {
|
22
22
|
clsx,
|
23
23
|
Dialog,
|
24
|
-
EmptyWindowRestoreIcon,
|
25
24
|
Modal,
|
25
|
+
ModalFooter,
|
26
|
+
ModalFooterButton,
|
26
27
|
TimesIcon,
|
27
|
-
WindowMaximizeIcon,
|
28
28
|
} from '@finos/legend-art';
|
29
|
-
import {
|
30
|
-
import { RuntimePointer } from '@finos/legend-graph';
|
31
|
-
import { QueryBuilderDataCubeEngine } from '../../stores/data-cube/QueryBuilderDataCubeEngine.js';
|
29
|
+
import { createDataCubeEngineFromQueryBuilder } from '../../stores/data-cube/QueryBuilderDataCubeEngineHelper.js';
|
32
30
|
|
33
31
|
const QueryBuilderDataCube = observer(
|
34
32
|
(props: { queryBuilderState: QueryBuilderState }) => {
|
@@ -36,22 +34,11 @@ const QueryBuilderDataCube = observer(
|
|
36
34
|
const applicationStore = new QueryBuilderDataCubeApplicationEngine(
|
37
35
|
queryBuilderState.applicationStore,
|
38
36
|
);
|
39
|
-
const
|
40
|
-
queryBuilderState
|
41
|
-
|
42
|
-
? queryBuilderState.executionContextState.runtimeValue
|
43
|
-
.packageableRuntime.value.path
|
44
|
-
: undefined;
|
45
|
-
if (!runtime) {
|
46
|
-
// TODO: add better message
|
37
|
+
const queryBuilderEngine =
|
38
|
+
createDataCubeEngineFromQueryBuilder(queryBuilderState);
|
39
|
+
if (!queryBuilderEngine) {
|
47
40
|
return null;
|
48
41
|
}
|
49
|
-
const queryBuilderEngine = new QueryBuilderDataCubeEngine(
|
50
|
-
queryBuilderState.buildQuery(),
|
51
|
-
queryBuilderState.executionContextState.mapping?.path,
|
52
|
-
runtime,
|
53
|
-
queryBuilderState.graphManagerState,
|
54
|
-
);
|
55
42
|
|
56
43
|
return (
|
57
44
|
<DataCubeProvider
|
@@ -67,37 +54,25 @@ const QueryBuilderDataCube = observer(
|
|
67
54
|
export const QueryBuilderDataCubeDialog = observer(
|
68
55
|
(props: { queryBuilderState: QueryBuilderState }) => {
|
69
56
|
const { queryBuilderState } = props;
|
70
|
-
const [isMaximized, setIsMaximized] = useState(false);
|
71
|
-
const toggleMaximize = (): void => setIsMaximized(!isMaximized);
|
72
57
|
const closeModal = () => queryBuilderState.setIsCubeEnabled(false);
|
73
58
|
return (
|
74
59
|
<Dialog
|
75
60
|
open={true}
|
76
61
|
onClose={closeModal}
|
77
|
-
classes={{
|
62
|
+
classes={{
|
63
|
+
root: 'editor-modal__root-container',
|
64
|
+
container: 'editor-modal__container',
|
65
|
+
paper: 'editor-modal__content',
|
66
|
+
}}
|
78
67
|
>
|
79
68
|
<Modal
|
80
69
|
darkMode={false}
|
81
|
-
className={clsx('editor-modal query-
|
82
|
-
'query-builder__dialog--expanded': isMaximized,
|
83
|
-
})}
|
70
|
+
className={clsx('editor-modal query-builder-data-cube__dialog')}
|
84
71
|
>
|
85
|
-
<div className="query-
|
86
|
-
<div className="query-
|
87
|
-
<button
|
88
|
-
className="query-builder__dialog__header__action"
|
89
|
-
tabIndex={-1}
|
90
|
-
onClick={toggleMaximize}
|
91
|
-
title={isMaximized ? 'Minimize' : 'Maximize'}
|
92
|
-
>
|
93
|
-
{isMaximized ? (
|
94
|
-
<EmptyWindowRestoreIcon />
|
95
|
-
) : (
|
96
|
-
<WindowMaximizeIcon />
|
97
|
-
)}
|
98
|
-
</button>
|
72
|
+
<div className="query-builder-data-cube__dialog__header">
|
73
|
+
<div className="query-builder-data-cube__dialog__header__actions">
|
99
74
|
<button
|
100
|
-
className="query-
|
75
|
+
className="query-builder-data-cube__dialog__header__action"
|
101
76
|
tabIndex={-1}
|
102
77
|
onClick={closeModal}
|
103
78
|
title="Close"
|
@@ -106,9 +81,12 @@ export const QueryBuilderDataCubeDialog = observer(
|
|
106
81
|
</button>
|
107
82
|
</div>
|
108
83
|
</div>
|
109
|
-
<div className="query-
|
84
|
+
<div className="query-builder-data-cube__dialog__content">
|
110
85
|
<QueryBuilderDataCube queryBuilderState={queryBuilderState} />
|
111
86
|
</div>
|
87
|
+
<ModalFooter>
|
88
|
+
<ModalFooterButton onClick={closeModal}>Close</ModalFooterButton>
|
89
|
+
</ModalFooter>
|
112
90
|
</Modal>
|
113
91
|
</Dialog>
|
114
92
|
);
|
@@ -1110,7 +1110,7 @@ const QueryBuilderFilterConditionEditor = observer(
|
|
1110
1110
|
className="query-builder-filter-tree__condition-node__operator__dropdown__option"
|
1111
1111
|
onClick={changeOperator(op)}
|
1112
1112
|
>
|
1113
|
-
{op.getLabel(
|
1113
|
+
{op.getLabel()}
|
1114
1114
|
</MenuContentItem>
|
1115
1115
|
))}
|
1116
1116
|
</MenuContent>
|
@@ -1122,7 +1122,7 @@ const QueryBuilderFilterConditionEditor = observer(
|
|
1122
1122
|
}}
|
1123
1123
|
>
|
1124
1124
|
<div className="query-builder-filter-tree__condition-node__operator__label">
|
1125
|
-
{node.condition.operator.getLabel(
|
1125
|
+
{node.condition.operator.getLabel()}
|
1126
1126
|
</div>
|
1127
1127
|
<div className="query-builder-filter-tree__condition-node__operator__dropdown__trigger">
|
1128
1128
|
<CaretDownIcon />
|
@@ -408,6 +408,28 @@ export const QueryBuilderResultPanel = observer(
|
|
408
408
|
}
|
409
409
|
resultState.pressedRunQuery.complete();
|
410
410
|
};
|
411
|
+
|
412
|
+
const openDataCube = (): void => {
|
413
|
+
if (
|
414
|
+
queryParametersState.parameterStates.length &&
|
415
|
+
queryParametersState.parameterStates.find(
|
416
|
+
(param) =>
|
417
|
+
!queryBuilderState.milestoningState.isMilestoningParameter(
|
418
|
+
param.parameter,
|
419
|
+
),
|
420
|
+
)
|
421
|
+
) {
|
422
|
+
queryParametersState.parameterValuesEditorState.open(
|
423
|
+
(): Promise<void> => {
|
424
|
+
queryBuilderState.setIsCubeEnabled(true);
|
425
|
+
return Promise.resolve();
|
426
|
+
},
|
427
|
+
PARAMETER_SUBMIT_ACTION.DATA_CUBE,
|
428
|
+
);
|
429
|
+
} else {
|
430
|
+
queryBuilderState.setIsCubeEnabled(true);
|
431
|
+
}
|
432
|
+
};
|
411
433
|
const cancelQuery = applicationStore.guardUnhandledError(() =>
|
412
434
|
flowResult(resultState.cancelQuery()),
|
413
435
|
);
|
@@ -841,9 +863,7 @@ export const QueryBuilderResultPanel = observer(
|
|
841
863
|
</MenuContentItem>
|
842
864
|
{queryBuilderState.config?.TEMPORARY__enableExportToCube && (
|
843
865
|
<MenuContentItem
|
844
|
-
onClick={
|
845
|
-
queryBuilderState.setIsCubeEnabled(true)
|
846
|
-
}
|
866
|
+
onClick={openDataCube}
|
847
867
|
disabled={
|
848
868
|
!queryBuilderState.fetchStructureState.implementation
|
849
869
|
.canBeExportedToCube ||
|
@@ -20,6 +20,7 @@ import { PRIMITIVE_TYPE, type TDSExecutionResult } from '@finos/legend-graph';
|
|
20
20
|
import { useState, useCallback, useEffect } from 'react';
|
21
21
|
import {
|
22
22
|
DataGrid,
|
23
|
+
type DataGridCellSelectionChangedEvent,
|
23
24
|
type DataGridApi,
|
24
25
|
type DataGridCellRange,
|
25
26
|
type DataGridColumnDefinition,
|
@@ -347,7 +348,7 @@ export const QueryBuilderTDSGridResult = observer(
|
|
347
348
|
resultState.mousedOverCell,
|
348
349
|
true,
|
349
350
|
fetchStructureImplementation,
|
350
|
-
);
|
351
|
+
).catch(queryBuilderState.applicationStore.alertUnhandledError);
|
351
352
|
},
|
352
353
|
},
|
353
354
|
{
|
@@ -358,7 +359,7 @@ export const QueryBuilderTDSGridResult = observer(
|
|
358
359
|
resultState.mousedOverCell,
|
359
360
|
false,
|
360
361
|
fetchStructureImplementation,
|
361
|
-
);
|
362
|
+
).catch(queryBuilderState.applicationStore.alertUnhandledError);
|
362
363
|
},
|
363
364
|
},
|
364
365
|
'copy',
|
@@ -377,6 +378,7 @@ export const QueryBuilderTDSGridResult = observer(
|
|
377
378
|
applicationStore,
|
378
379
|
resultState.mousedOverCell,
|
379
380
|
resultState.queryBuilderState.fetchStructureState.implementation,
|
381
|
+
queryBuilderState.applicationStore.alertUnhandledError,
|
380
382
|
],
|
381
383
|
);
|
382
384
|
|
@@ -554,7 +556,9 @@ export const QueryBuilderTDSGridResult = observer(
|
|
554
556
|
onRowDataUpdated={(params) => {
|
555
557
|
params.api.refreshCells({ force: true });
|
556
558
|
}}
|
557
|
-
|
559
|
+
onCellSelectionChanged={(
|
560
|
+
event: DataGridCellSelectionChangedEvent<QueryBuilderTDSRowDataType>,
|
561
|
+
) => {
|
558
562
|
const selectedCells = getSelectedCells(event.api);
|
559
563
|
resultState.setSelectedCells([]);
|
560
564
|
selectedCells.forEach((cell) =>
|