@finos/legend-query-builder 4.14.44 → 4.14.46
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/__lib__/QueryBuilderTelemetryHelper.d.ts +3 -3
- package/lib/__lib__/QueryBuilderTelemetryHelper.d.ts.map +1 -1
- package/lib/__lib__/QueryBuilderTesting.d.ts +1 -0
- package/lib/__lib__/QueryBuilderTesting.d.ts.map +1 -1
- package/lib/__lib__/QueryBuilderTesting.js +1 -0
- package/lib/__lib__/QueryBuilderTesting.js.map +1 -1
- package/lib/components/QueryBuilder.d.ts.map +1 -1
- package/lib/components/QueryBuilder.js +5 -2
- package/lib/components/QueryBuilder.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.d.ts.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.d.ts.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.js +93 -2
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.js.map +1 -1
- package/lib/graph/QueryBuilderMetaModelConst.d.ts +1 -0
- package/lib/graph/QueryBuilderMetaModelConst.d.ts.map +1 -1
- package/lib/graph/QueryBuilderMetaModelConst.js +1 -0
- package/lib/graph/QueryBuilderMetaModelConst.js.map +1 -1
- package/lib/index.css +2 -2
- package/lib/index.css.map +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/package.json +5 -4
- package/lib/stores/QueryBuilderState.d.ts +5 -5
- package/lib/stores/QueryBuilderState.d.ts.map +1 -1
- package/lib/stores/QueryBuilderState.js.map +1 -1
- package/lib/stores/QueryBuilderStateHashUtils.d.ts +1 -0
- package/lib/stores/QueryBuilderStateHashUtils.d.ts.map +1 -1
- package/lib/stores/QueryBuilderStateHashUtils.js +1 -0
- package/lib/stores/QueryBuilderStateHashUtils.js.map +1 -1
- package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js +2 -0
- package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateOperator.d.ts +2 -0
- package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateOperator.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateOperator.js +8 -0
- package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateOperator.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateOperatorLoader.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateOperatorLoader.js +2 -0
- package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateOperatorLoader.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.d.ts +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.js +7 -3
- package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperatorValueSpecificationBuilder.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperatorValueSpecificationBuilder.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Percentile.d.ts +37 -0
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Percentile.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Percentile.js +123 -0
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Percentile.js.map +1 -0
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.js +3 -7
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.js.map +1 -1
- package/package.json +13 -12
- package/src/__lib__/QueryBuilderTelemetryHelper.ts +3 -3
- package/src/__lib__/QueryBuilderTesting.ts +1 -0
- package/src/components/QueryBuilder.tsx +5 -2
- package/src/components/fetch-structure/QueryBuilderFetchStructurePanel.tsx +0 -1
- package/src/components/fetch-structure/QueryBuilderTDSPanel.tsx +208 -4
- package/src/graph/QueryBuilderMetaModelConst.ts +1 -0
- package/src/index.ts +1 -1
- package/src/stores/QueryBuilderState.ts +5 -5
- package/src/stores/QueryBuilderStateHashUtils.ts +1 -0
- package/src/stores/fetch-structure/tds/QueryBuilderTDSState.ts +5 -0
- package/src/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateOperator.ts +10 -0
- package/src/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateOperatorLoader.ts +2 -0
- package/src/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.ts +9 -3
- package/src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperatorValueSpecificationBuilder.ts +0 -1
- package/src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Percentile.ts +241 -0
- package/src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.ts +3 -7
- package/tsconfig.json +1 -0
package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateOperatorLoader.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderAggregateOperatorLoader.js","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateOperatorLoader.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,mCAAmC,EAAE,MAAM,oDAAoD,CAAC;AACzG,OAAO,EAAE,sCAAsC,EAAE,MAAM,uDAAuD,CAAC;AAC/G,OAAO,EAAE,iCAAiC,EAAE,MAAM,kDAAkD,CAAC;AACrG,OAAO,EAAE,qCAAqC,EAAE,MAAM,sDAAsD,CAAC;AAC7G,OAAO,EAAE,+CAA+C,EAAE,MAAM,gEAAgE,CAAC;AACjI,OAAO,EAAE,2CAA2C,EAAE,MAAM,4DAA4D,CAAC;AACzH,OAAO,EAAE,2CAA2C,EAAE,MAAM,4DAA4D,CAAC;AACzH,OAAO,EAAE,iCAAiC,EAAE,MAAM,kDAAkD,CAAC;AACrG,OAAO,EAAE,iCAAiC,EAAE,MAAM,kDAAkD,CAAC;AACrG,OAAO,EAAE,wCAAwC,EAAE,MAAM,yDAAyD,CAAC;
|
1
|
+
{"version":3,"file":"QueryBuilderAggregateOperatorLoader.js","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateOperatorLoader.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,mCAAmC,EAAE,MAAM,oDAAoD,CAAC;AACzG,OAAO,EAAE,sCAAsC,EAAE,MAAM,uDAAuD,CAAC;AAC/G,OAAO,EAAE,iCAAiC,EAAE,MAAM,kDAAkD,CAAC;AACrG,OAAO,EAAE,qCAAqC,EAAE,MAAM,sDAAsD,CAAC;AAC7G,OAAO,EAAE,+CAA+C,EAAE,MAAM,gEAAgE,CAAC;AACjI,OAAO,EAAE,2CAA2C,EAAE,MAAM,4DAA4D,CAAC;AACzH,OAAO,EAAE,2CAA2C,EAAE,MAAM,4DAA4D,CAAC;AACzH,OAAO,EAAE,iCAAiC,EAAE,MAAM,kDAAkD,CAAC;AACrG,OAAO,EAAE,iCAAiC,EAAE,MAAM,kDAAkD,CAAC;AACrG,OAAO,EAAE,wCAAwC,EAAE,MAAM,yDAAyD,CAAC;AAEnH,OAAO,EAAE,wCAAwC,EAAE,MAAM,yDAAyD,CAAC;AAEnH,MAAM,CAAC,MAAM,wCAAwC,GACnD,GAAoC,EAAE,CAAC;IACrC,IAAI,mCAAmC,EAAE;IACzC,IAAI,2CAA2C,EAAE;IACjD,IAAI,sCAAsC,EAAE;IAC5C,IAAI,iCAAiC,EAAE;IACvC,IAAI,qCAAqC,EAAE;IAC3C,IAAI,iCAAiC,EAAE;IACvC,IAAI,iCAAiC,EAAE;IACvC,IAAI,wCAAwC,EAAE;IAC9C,IAAI,+CAA+C,EAAE;IACrD,IAAI,2CAA2C,EAAE;IACjD,IAAI,wCAAwC,EAAE;CAC/C,CAAC"}
|
@@ -48,6 +48,7 @@ export declare class QueryBuilderAggregationState implements Hashable {
|
|
48
48
|
addColumn(val: QueryBuilderAggregateColumnState): void;
|
49
49
|
changeColumnAggregateOperator(val: QueryBuilderAggregateOperator | undefined, projectionColumnState: QueryBuilderProjectionColumnState, hideOperatorInColumnName?: boolean): void;
|
50
50
|
disableCalendar(): void;
|
51
|
+
get allValidationIssues(): string[];
|
51
52
|
get hashCode(): string;
|
52
53
|
}
|
53
54
|
//# sourceMappingURL=QueryBuilderAggregationState.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderAggregationState.d.ts","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAGL,KAAK,QAAQ,EAEd,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAC;AAEhD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AACvE,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,oCAAoC,CAAC;AACxF,OAAO,EAEL,KAAK,iCAAiC,EACvC,MAAM,oDAAoD,CAAC;AAE5D,OAAO,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AAC9E,OAAO,KAAK,EAAE,qCAAqC,EAAE,MAAM,4CAA4C,CAAC;AAExG,qBAAa,gCACX,SAAQ,0BACR,YAAW,QAAQ;IAEnB,QAAQ,CAAC,gBAAgB,EAAE,4BAA4B,CAAC;IACxD,qBAAqB,EAAE,iCAAiC,CAAC;IACzD,mBAAmB,EAAE,MAAM,CAAgC;IAC3D,QAAQ,EAAE,6BAA6B,CAAC;IACxC,gBAAgB,CAAC,EAAE,qCAAqC,GAAG,SAAS,CAAC;IACrE,uBAAuB,UAAQ;gBAG7B,gBAAgB,EAAE,4BAA4B,EAC9C,qBAAqB,EAAE,iCAAiC,EACxD,QAAQ,EAAE,6BAA6B;IAuBzC,cAAc,CAAC,GAAG,EAAE,iCAAiC,GAAG,IAAI;IAI5D,sBAAsB,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI;IAIzC,0BAA0B,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI;IAI9C,mBAAmB,CACjB,GAAG,EAAE,qCAAqC,GAAG,SAAS,GACrD,IAAI;IAIP,WAAW,CAAC,GAAG,EAAE,6BAA6B,GAAG,IAAI;IAIrD,aAAa,IAAI,IAAI,GAAG,SAAS;IAIjC,wBAAwB,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI;IAU1C,IAAI,QAAQ,IAAI,MAAM,CAMrB;IAED,IAAI,UAAU,IAAI,MAAM,CAEvB;CACF;AAED,qBAAa,4BAA6B,YAAW,QAAQ;IAC3D,QAAQ,CAAC,QAAQ,EAAE,oBAAoB,CAAC;IACxC,QAAQ,CAAC,SAAS,EAAE,6BAA6B,EAAE,CAAM;IACzD,QAAQ,CAAC,iBAAiB,EAAE,qCAAqC,EAAE,CAAC;IACpE,OAAO,EAAE,gCAAgC,EAAE,CAAM;gBAG/C,QAAQ,EAAE,oBAAoB,EAC9B,SAAS,EAAE,6BAA6B,EAAE,EAC1C,iBAAiB,EAAE,qCAAqC,EAAE;
|
1
|
+
{"version":3,"file":"QueryBuilderAggregationState.d.ts","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAG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AW,QAAQ;IAC3D,QAAQ,CAAC,QAAQ,EAAE,oBAAoB,CAAC;IACxC,QAAQ,CAAC,SAAS,EAAE,6BAA6B,EAAE,CAAM;IACzD,QAAQ,CAAC,iBAAiB,EAAE,qCAAqC,EAAE,CAAC;IACpE,OAAO,EAAE,gCAAgC,EAAE,CAAM;gBAG/C,QAAQ,EAAE,oBAAoB,EAC9B,SAAS,EAAE,6BAA6B,EAAE,EAC1C,iBAAiB,EAAE,qCAAqC,EAAE;IAkB5D,YAAY,CAAC,GAAG,EAAE,gCAAgC,GAAG,IAAI;IAIzD,SAAS,CAAC,GAAG,EAAE,gCAAgC,GAAG,IAAI;IAItD,6BAA6B,CAC3B,GAAG,EAAE,6BAA6B,GAAG,SAAS,EAC9C,qBAAqB,EAAE,iCAAiC,EACxD,wBAAwB,CAAC,EAAE,OAAO,GACjC,IAAI;IAqEP,eAAe,IAAI,IAAI;IAQvB,IAAI,mBAAmB,IAAI,MAAM,EAAE,CAElC;IAED,IAAI,QAAQ,IAAI,MAAM,CAKrB;CACF"}
|
@@ -94,6 +94,7 @@ export class QueryBuilderAggregationState {
|
|
94
94
|
addColumn: action,
|
95
95
|
changeColumnAggregateOperator: action,
|
96
96
|
disableCalendar: action,
|
97
|
+
allValidationIssues: computed,
|
97
98
|
hashCode: computed,
|
98
99
|
});
|
99
100
|
this.tdsState = tdsState;
|
@@ -118,14 +119,14 @@ export class QueryBuilderAggregationState {
|
|
118
119
|
const colName = aggregateColumnState.projectionColumnState.columnName.split(`(${aggregateColumnState.operator.getLabel(aggregateColumnState.projectionColumnState)})`)[0] ?? '';
|
119
120
|
aggregateColumnState.projectionColumnState.setColumnName(`${colName} (${val.getLabel(projectionColumnState)})`);
|
120
121
|
}
|
121
|
-
aggregateColumnState.setOperator(val);
|
122
|
+
aggregateColumnState.setOperator(val.getOperator);
|
122
123
|
}
|
123
124
|
else {
|
124
125
|
if (!hideOperatorInColumnName) {
|
125
126
|
projectionColumnState.setColumnName(`${projectionColumnState.columnName} (${val.getLabel(projectionColumnState)})`);
|
126
127
|
}
|
127
|
-
const newAggregateColumnState = new QueryBuilderAggregateColumnState(this, projectionColumnState, val);
|
128
|
-
newAggregateColumnState.setOperator(val);
|
128
|
+
const newAggregateColumnState = new QueryBuilderAggregateColumnState(this, projectionColumnState, val.getOperator);
|
129
|
+
newAggregateColumnState.setOperator(val.getOperator);
|
129
130
|
this.addColumn(newAggregateColumnState);
|
130
131
|
// automatically move the column to the end
|
131
132
|
// as aggregate column should always be the last one
|
@@ -154,6 +155,9 @@ export class QueryBuilderAggregationState {
|
|
154
155
|
column.setHideCalendarColumnState(true);
|
155
156
|
});
|
156
157
|
}
|
158
|
+
get allValidationIssues() {
|
159
|
+
return this.columns.map((col) => col.operator.allValidationIssues).flat();
|
160
|
+
}
|
157
161
|
get hashCode() {
|
158
162
|
return hashArray([
|
159
163
|
QUERY_BUILDER_STATE_HASH_STRUCTURE.AGGREGATION_STATE,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderAggregationState.js","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AACpE,OAAO,EACL,WAAW,EACX,cAAc,EAEd,SAAS,GACV,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AAG9E,OAAO,EACL,2CAA2C,GAE5C,MAAM,oDAAoD,CAAC;AAC5D,OAAO,EAAE,kCAAkC,EAAE,MAAM,wCAAwC,CAAC;AAC5F,OAAO,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AAG9E,MAAM,OAAO,gCACX,SAAQ,0BAA0B;IAGzB,gBAAgB,CAA+B;IACxD,qBAAqB,CAAoC;IACzD,mBAAmB,GAAW,4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,EAAE,KAAK,SAAS;YAClC,IAAI,CAAC,qBAAqB;gBACxB,2CAA2C,EAC7C,CAAC;YACD,IAAI,CAAC,qBAAqB,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC;QACjD,CAAC;IACH,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,kCAAkC,CAAC,sBAAsB;YACzD,IAAI,CAAC,QAAQ;YACb,IAAI,CAAC,gBAAgB,IAAI,EAAE;SAC5B,CAAC,CAAC;IACL,CAAC;IAED,IAAI,UAAU;QACZ,OAAO,IAAI,CAAC,qBAAqB,CAAC,UAAU,CAAC;IAC/C,CAAC;CACF;AAED,MAAM,OAAO,4BAA4B;IAC9B,QAAQ,CAAuB;IAC/B,SAAS,GAAoC,EAAE,CAAC;IAChD,iBAAiB,CAA0C;IACpE,OAAO,GAAuC,EAAE,CAAC;IAEjD,YACE,QAA8B,EAC9B,SAA0C,EAC1C,iBAA0D;QAE1D,cAAc,CAAC,IAAI,EAAE;YACnB,OAAO,EAAE,UAAU;YACnB,YAAY,EAAE,MAAM;YACpB,SAAS,EAAE,MAAM;YACjB,6BAA6B,EAAE,MAAM;YACrC,eAAe,EAAE,MAAM;
|
1
|
+
{"version":3,"file":"QueryBuilderAggregationState.js","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AACpE,OAAO,EACL,WAAW,EACX,cAAc,EAEd,SAAS,GACV,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AAG9E,OAAO,EACL,2CAA2C,GAE5C,MAAM,oDAAoD,CAAC;AAC5D,OAAO,EAAE,kCAAkC,EAAE,MAAM,wCAAwC,CAAC;AAC5F,OAAO,EAAE,0BAA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YAC9B,MAAM,CAAC,mBAAmB,CAAC,SAAS,CAAC,CAAC;YACtC,MAAM,CAAC,0BAA0B,CAAC,IAAI,CAAC,CAAC;QAC1C,CAAC,CAAC,CAAC;IACL,CAAC;IAED,IAAI,mBAAmB;QACrB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,QAAQ,CAAC,mBAAmB,CAAC,CAAC,IAAI,EAAE,CAAC;IAC5E,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,kCAAkC,CAAC,iBAAiB;YACpD,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC;SACxB,CAAC,CAAC;IACL,CAAC;CACF"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderAggregateOperatorValueSpecificationBuilder.d.ts","sourceRoot":"","sources":["../../../../../../src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperatorValueSpecificationBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,SAAS,EACd,KAAK,kBAAkB,EACvB,wBAAwB,EAGxB,kBAAkB,EAEnB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAC;AACtF,OAAO,KAAK,EAAE,iCAAiC,EAAE,MAAM,uDAAuD,CAAC;AAC/G,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,qCAAqC,CAAC;AAEzF,eAAO,MAAM,wBAAwB,6BACT,MAAM,gBAClB,MAAM,SACb,SAAS,KACf,kBAQF,CAAC;AAEF,eAAO,MAAM,yBAAyB,0BACb,iCAAiC,eAC3C,kBAAkB,cACnB,wBAAwB,4BACV,MAAM,YACtB,6BAA6B,KACtC,gCAAgC,GAAG,
|
1
|
+
{"version":3,"file":"QueryBuilderAggregateOperatorValueSpecificationBuilder.d.ts","sourceRoot":"","sources":["../../../../../../src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperatorValueSpecificationBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,SAAS,EACd,KAAK,kBAAkB,EACvB,wBAAwB,EAGxB,kBAAkB,EAEnB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAC;AACtF,OAAO,KAAK,EAAE,iCAAiC,EAAE,MAAM,uDAAuD,CAAC;AAC/G,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,qCAAqC,CAAC;AAEzF,eAAO,MAAM,wBAAwB,6BACT,MAAM,gBAClB,MAAM,SACb,SAAS,KACf,kBAQF,CAAC;AAEF,eAAO,MAAM,yBAAyB,0BACb,iCAAiC,eAC3C,kBAAkB,cACnB,wBAAwB,4BACV,MAAM,YACtB,6BAA6B,KACtC,gCAAgC,GAAG,SAqDrC,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderAggregateOperatorValueSpecificationBuilder.js","sourceRoot":"","sources":["../../../../../../src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperatorValueSpecificationBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAGL,wBAAwB,EACxB,0BAA0B,EAC1B,iBAAiB,EACjB,kBAAkB,EAClB,YAAY,GACb,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AACjE,OAAO,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAC;AAItF,MAAM,CAAC,MAAM,wBAAwB,GAAG,CACtC,wBAAgC,EAChC,YAAoB,EACpB,KAAgB,EACI,EAAE;IACtB,MAAM,UAAU,GAAG,IAAI,wBAAwB,CAC7C,0BAA0B,CAAC,wBAAwB,CAAC,CACrD,CAAC;IACF,UAAU,CAAC,gBAAgB,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,WAAW,CAAC,QAAQ,CAAC,CAAC;
|
1
|
+
{"version":3,"file":"QueryBuilderAggregateOperatorValueSpecificationBuilder.js","sourceRoot":"","sources":["../../../../../../src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperatorValueSpecificationBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAGL,wBAAwB,EACxB,0BAA0B,EAC1B,iBAAiB,EACjB,kBAAkB,EAClB,YAAY,GACb,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AACjE,OAAO,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAC;AAItF,MAAM,CAAC,MAAM,wBAAwB,GAAG,CACtC,wBAAgC,EAChC,YAAoB,EACpB,KAAgB,EACI,EAAE;IACtB,MAAM,UAAU,GAAG,IAAI,wBAAwB,CAC7C,0BAA0B,CAAC,wBAAwB,CAAC,CACrD,CAAC;IACF,UAAU,CAAC,gBAAgB,CAAC,IAAI,CAC9B,IAAI,kBAAkB,CAAC,YAAY,EAAE,YAAY,CAAC,GAAG,CAAC,CACvD,CAAC;IACF,OAAO,UAAU,CAAC;AACpB,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,yBAAyB,GAAG,CACvC,qBAAwD,EACxD,WAA+B,EAC/B,UAAoC,EACpC,wBAAgC,EAChC,QAAuC,EACO,EAAE;IAChD,IAAI,iBAAiB,CAAC,UAAU,CAAC,YAAY,EAAE,wBAAwB,CAAC,EAAE,CAAC;QACzE,MAAM,oBAAoB,GAAG,IAAI,gCAAgC,CAC/D,qBAAqB,CAAC,QAAQ,CAAC,gBAAgB,EAC/C,qBAAqB,EACrB,QAAQ,CACT,CAAC;QACF,oBAAoB,CAAC,sBAAsB,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;QAE9D,UAAU,CACR,UAAU,CAAC,gBAAgB,CAAC,MAAM,KAAK,CAAC,EACxC,iBAAiB,0BAA0B,CACzC,wBAAwB,CACzB,kBAAkB,0BAA0B,CAC3C,wBAAwB,CACzB,wBAAwB,CAC1B,CAAC;QAEF,WAAW;QACX,MAAM,kBAAkB,GAAG,aAAa,CACtC,UAAU,CAAC,gBAAgB,CAAC,CAAC,CAAC,EAC9B,kBAAkB,EAClB,iBAAiB,0BAA0B,CACzC,wBAAwB,CACzB,+BAA+B,0BAA0B,CACxD,wBAAwB,CACzB,gDAAgD,CAClD,CAAC;QACF,UAAU,CACR,oBAAoB,CAAC,mBAAmB,KAAK,kBAAkB,CAAC,IAAI,EACpE,iBAAiB,0BAA0B,CACzC,wBAAwB,CACzB,wDACC,kBAAkB,CAAC,IACrB,gCACE,oBAAoB,CAAC,mBACvB,GAAG,CACJ,CAAC;QAEF,WAAW;QACX,UAAU,CACR,QAAQ,CAAC,sBAAsB,CAC7B,oBAAoB,CAAC,qBAAqB,CAC3C,EACD,iBAAiB,0BAA0B,CACzC,wBAAwB,CACzB,yDAAyD,CAC3D,CAAC;QACF,oBAAoB,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC;QAC3C,OAAO,oBAAoB,CAAC;IAC9B,CAAC;IAED,OAAO,SAAS,CAAC;AACnB,CAAC,CAAC"}
|
@@ -0,0 +1,37 @@
|
|
1
|
+
/**
|
2
|
+
* Copyright (c) 2020-present, Goldman Sachs
|
3
|
+
*
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
* you may not use this file except in compliance with the License.
|
6
|
+
* You may obtain a copy of the License at
|
7
|
+
*
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
*
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
* See the License for the specific language governing permissions and
|
14
|
+
* limitations under the License.
|
15
|
+
*/
|
16
|
+
import { type ValueSpecification, SimpleFunctionExpression, VariableExpression, type PureModel, type AbstractPropertyExpression } from '@finos/legend-graph';
|
17
|
+
import { QueryBuilderAggregateColumnState } from '../QueryBuilderAggregationState.js';
|
18
|
+
import { QueryBuilderAggregateOperator } from '../QueryBuilderAggregateOperator.js';
|
19
|
+
import { type QueryBuilderProjectionColumnState } from '../../projection/QueryBuilderProjectionColumnState.js';
|
20
|
+
import { type Hashable } from '@finos/legend-shared';
|
21
|
+
export declare class QueryBuilderAggregateOperator_Percentile extends QueryBuilderAggregateOperator implements Hashable {
|
22
|
+
percentile: number | undefined;
|
23
|
+
acending: boolean | undefined;
|
24
|
+
continuous: boolean | undefined;
|
25
|
+
constructor();
|
26
|
+
setPercentile(val: number | undefined): void;
|
27
|
+
setAcending(val: boolean | undefined): void;
|
28
|
+
setContinuous(val: boolean | undefined): void;
|
29
|
+
getLabel(projectionColumnState: QueryBuilderProjectionColumnState): string;
|
30
|
+
isCompatibleWithColumn(projectionColumnState: QueryBuilderProjectionColumnState): boolean;
|
31
|
+
buildAggregateExpression(propertyExpression: AbstractPropertyExpression | undefined, variableName: string, graph: PureModel): ValueSpecification;
|
32
|
+
buildAggregateColumnState(expression: SimpleFunctionExpression, lambdaParam: VariableExpression, projectionColumnState: QueryBuilderProjectionColumnState): QueryBuilderAggregateColumnState | undefined;
|
33
|
+
get getOperator(): QueryBuilderAggregateOperator;
|
34
|
+
get allValidationIssues(): string[];
|
35
|
+
get hashCode(): string;
|
36
|
+
}
|
37
|
+
//# sourceMappingURL=QueryBuilderAggregateOperator_Percentile.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"QueryBuilderAggregateOperator_Percentile.d.ts","sourceRoot":"","sources":["../../../../../../src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Percentile.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAGL,KAAK,kBAAkB,EACvB,wBAAwB,EACxB,kBAAkB,EAClB,KAAK,SAAS,EACd,KAAK,0BAA0B,EAOhC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAC;AACtF,OAAO,EAAE,6BAA6B,EAAE,MAAM,qCAAqC,CAAC;AACpF,OAAO,EACL,KAAK,iCAAiC,EAEvC,MAAM,uDAAuD,CAAC;AAE/D,OAAO,EACL,KAAK,QAAQ,EAId,MAAM,sBAAsB,CAAC;AAI9B,qBAAa,wCACX,SAAQ,6BACR,YAAW,QAAQ;IAEnB,UAAU,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,QAAQ,EAAE,OAAO,GAAG,SAAS,CAAC;IAC9B,UAAU,EAAE,OAAO,GAAG,SAAS,CAAC;;IAchC,aAAa,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS;IAIrC,WAAW,CAAC,GAAG,EAAE,OAAO,GAAG,SAAS;IAIpC,aAAa,CAAC,GAAG,EAAE,OAAO,GAAG,SAAS;IAItC,QAAQ,CAAC,qBAAqB,EAAE,iCAAiC,GAAG,MAAM;IAI1E,sBAAsB,CACpB,qBAAqB,EAAE,iCAAiC,GACvD,OAAO;IAmBV,wBAAwB,CACtB,kBAAkB,EAAE,0BAA0B,GAAG,SAAS,EAC1D,YAAY,EAAE,MAAM,EACpB,KAAK,EAAE,SAAS,GACf,kBAAkB;IA2CrB,yBAAyB,CACvB,UAAU,EAAE,wBAAwB,EACpC,WAAW,EAAE,kBAAkB,EAC/B,qBAAqB,EAAE,iCAAiC,GACvD,gCAAgC,GAAG,SAAS;IAoE/C,IAAa,WAAW,IAAI,6BAA6B,CAExD;IAED,IAAa,mBAAmB,IAAI,MAAM,EAAE,CAM3C;IAED,IAAI,QAAQ,IAAI,MAAM,CAIrB;CACF"}
|
@@ -0,0 +1,123 @@
|
|
1
|
+
/**
|
2
|
+
* Copyright (c) 2020-present, Goldman Sachs
|
3
|
+
*
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
* you may not use this file except in compliance with the License.
|
6
|
+
* You may obtain a copy of the License at
|
7
|
+
*
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
*
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
* See the License for the specific language governing permissions and
|
14
|
+
* limitations under the License.
|
15
|
+
*/
|
16
|
+
import { matchFunctionName, PRIMITIVE_TYPE, SimpleFunctionExpression, VariableExpression, GenericType, GenericTypeExplicitReference, Multiplicity, PrimitiveInstanceValue, PrimitiveType, extractElementNameFromPath, } from '@finos/legend-graph';
|
17
|
+
import { QueryBuilderAggregateColumnState } from '../QueryBuilderAggregationState.js';
|
18
|
+
import { QueryBuilderAggregateOperator } from '../QueryBuilderAggregateOperator.js';
|
19
|
+
import { QueryBuilderSimpleProjectionColumnState, } from '../../projection/QueryBuilderProjectionColumnState.js';
|
20
|
+
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../../../graph/QueryBuilderMetaModelConst.js';
|
21
|
+
import { hashArray, assertTrue, guaranteeType, } from '@finos/legend-shared';
|
22
|
+
import { QUERY_BUILDER_STATE_HASH_STRUCTURE } from '../../../../QueryBuilderStateHashUtils.js';
|
23
|
+
import { action, makeObservable, observable } from 'mobx';
|
24
|
+
export class QueryBuilderAggregateOperator_Percentile extends QueryBuilderAggregateOperator {
|
25
|
+
percentile;
|
26
|
+
acending;
|
27
|
+
continuous;
|
28
|
+
constructor() {
|
29
|
+
super();
|
30
|
+
makeObservable(this, {
|
31
|
+
percentile: observable,
|
32
|
+
acending: observable,
|
33
|
+
continuous: observable,
|
34
|
+
setPercentile: action,
|
35
|
+
setAcending: action,
|
36
|
+
setContinuous: action,
|
37
|
+
});
|
38
|
+
}
|
39
|
+
setPercentile(val) {
|
40
|
+
this.percentile = val;
|
41
|
+
}
|
42
|
+
setAcending(val) {
|
43
|
+
this.acending = val;
|
44
|
+
}
|
45
|
+
setContinuous(val) {
|
46
|
+
this.continuous = val;
|
47
|
+
}
|
48
|
+
getLabel(projectionColumnState) {
|
49
|
+
return 'percentile';
|
50
|
+
}
|
51
|
+
isCompatibleWithColumn(projectionColumnState) {
|
52
|
+
if (projectionColumnState instanceof QueryBuilderSimpleProjectionColumnState) {
|
53
|
+
const propertyType = projectionColumnState.propertyExpressionState.propertyExpression.func
|
54
|
+
.value.genericType.value.rawType;
|
55
|
+
return [
|
56
|
+
PRIMITIVE_TYPE.NUMBER,
|
57
|
+
PRIMITIVE_TYPE.INTEGER,
|
58
|
+
PRIMITIVE_TYPE.DECIMAL,
|
59
|
+
PRIMITIVE_TYPE.FLOAT,
|
60
|
+
].includes(propertyType.path);
|
61
|
+
}
|
62
|
+
return true;
|
63
|
+
}
|
64
|
+
buildAggregateExpression(propertyExpression, variableName, graph) {
|
65
|
+
const percentileValue = this.percentile ?? 0;
|
66
|
+
const expression = new SimpleFunctionExpression(extractElementNameFromPath(QUERY_BUILDER_SUPPORTED_FUNCTIONS.PERCENTILE));
|
67
|
+
const percentile = new PrimitiveInstanceValue(GenericTypeExplicitReference.create(new GenericType(PrimitiveType.NUMBER)));
|
68
|
+
percentile.values = [percentileValue];
|
69
|
+
if (this.acending === undefined ||
|
70
|
+
this.continuous === undefined ||
|
71
|
+
(this.acending && this.continuous)) {
|
72
|
+
expression.parametersValues.push(new VariableExpression(variableName, Multiplicity.ONE), percentile);
|
73
|
+
}
|
74
|
+
else {
|
75
|
+
const acending = new PrimitiveInstanceValue(GenericTypeExplicitReference.create(new GenericType(PrimitiveType.BOOLEAN)));
|
76
|
+
acending.values = [this.acending];
|
77
|
+
const continuous = new PrimitiveInstanceValue(GenericTypeExplicitReference.create(new GenericType(PrimitiveType.BOOLEAN)));
|
78
|
+
continuous.values = [this.continuous];
|
79
|
+
expression.parametersValues.push(new VariableExpression(variableName, Multiplicity.ONE), percentile, acending, continuous);
|
80
|
+
}
|
81
|
+
return expression;
|
82
|
+
}
|
83
|
+
buildAggregateColumnState(expression, lambdaParam, projectionColumnState) {
|
84
|
+
if (matchFunctionName(expression.functionName, QUERY_BUILDER_SUPPORTED_FUNCTIONS.PERCENTILE)) {
|
85
|
+
const aggregateColumnState = new QueryBuilderAggregateColumnState(projectionColumnState.tdsState.aggregationState, projectionColumnState, new QueryBuilderAggregateOperator_Percentile());
|
86
|
+
const currentOperator = guaranteeType(aggregateColumnState.operator, QueryBuilderAggregateOperator_Percentile);
|
87
|
+
aggregateColumnState.setLambdaParameterName(lambdaParam.name);
|
88
|
+
assertTrue([2, 4].includes(expression.parametersValues.length), `Can't process percentile() expression: percentile() expects 2 or 4 argument`);
|
89
|
+
// variable
|
90
|
+
const variableExpression = guaranteeType(expression.parametersValues[0], VariableExpression, `Can't process percentile() expression: only support percentile() immediately following a variable expression`);
|
91
|
+
assertTrue(aggregateColumnState.lambdaParameterName === variableExpression.name, `Can't process percentile() expression: expects variable used in lambda body '${variableExpression.name}' to match lambda parameter '${aggregateColumnState.lambdaParameterName}'`);
|
92
|
+
const percentile = guaranteeType(expression.parametersValues[1], PrimitiveInstanceValue, `Can't process percentile() expression: percentile() expects arugment #2 to be a primitive instance value`);
|
93
|
+
currentOperator.percentile = percentile.values[0];
|
94
|
+
if (expression.parametersValues.length === 4) {
|
95
|
+
const acending = guaranteeType(expression.parametersValues[2], PrimitiveInstanceValue, `Can't process percentile() expression: percentile() expects arugment #3 to be a primitive instance value`);
|
96
|
+
currentOperator.acending = acending.values[0];
|
97
|
+
const continuous = guaranteeType(expression.parametersValues[3], PrimitiveInstanceValue, `Can't process percentile() expression: percentile() expects arugment #4 to be a primitive instance value`);
|
98
|
+
currentOperator.continuous = continuous.values[0];
|
99
|
+
}
|
100
|
+
// operator
|
101
|
+
assertTrue(this.isCompatibleWithColumn(aggregateColumnState.projectionColumnState), `Can't process percentile() expression: property is not compatible with operator`);
|
102
|
+
aggregateColumnState.setOperator(currentOperator);
|
103
|
+
return aggregateColumnState;
|
104
|
+
}
|
105
|
+
return undefined;
|
106
|
+
}
|
107
|
+
get getOperator() {
|
108
|
+
return new QueryBuilderAggregateOperator_Percentile();
|
109
|
+
}
|
110
|
+
get allValidationIssues() {
|
111
|
+
const validationIssues = [];
|
112
|
+
if (this.percentile === undefined || this.percentile > 100) {
|
113
|
+
validationIssues.push('Invalid Aggregation Argument for Percentile');
|
114
|
+
}
|
115
|
+
return validationIssues;
|
116
|
+
}
|
117
|
+
get hashCode() {
|
118
|
+
return hashArray([
|
119
|
+
QUERY_BUILDER_STATE_HASH_STRUCTURE.AGGREGATE_OPERATOR_PERCENTILE,
|
120
|
+
]);
|
121
|
+
}
|
122
|
+
}
|
123
|
+
//# sourceMappingURL=QueryBuilderAggregateOperator_Percentile.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"QueryBuilderAggregateOperator_Percentile.js","sourceRoot":"","sources":["../../../../../../src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Percentile.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,iBAAiB,EACjB,cAAc,EAEd,wBAAwB,EACxB,kBAAkB,EAGlB,WAAW,EACX,4BAA4B,EAC5B,YAAY,EACZ,sBAAsB,EACtB,aAAa,EACb,0BAA0B,GAC3B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAC;AACtF,OAAO,EAAE,6BAA6B,EAAE,MAAM,qCAAqC,CAAC;AACpF,OAAO,EAEL,uCAAuC,GACxC,MAAM,uDAAuD,CAAC;AAC/D,OAAO,EAAE,iCAAiC,EAAE,MAAM,oDAAoD,CAAC;AACvG,OAAO,EAEL,SAAS,EACT,UAAU,EACV,aAAa,GACd,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,kCAAkC,EAAE,MAAM,2CAA2C,CAAC;AAC/F,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,UAAU,EAA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9B,UAAU,CAAC,gBAAgB,CAAC,CAAC,CAAC,EAC9B,sBAAsB,EACtB,0GAA0G,CAC3G,CAAC;gBACF,eAAe,CAAC,UAAU,GAAG,UAAU,CAAC,MAAM,CAAC,CAAC,CAAY,CAAC;YAC/D,CAAC;YACD,WAAW;YACX,UAAU,CACR,IAAI,CAAC,sBAAsB,CAAC,oBAAoB,CAAC,qBAAqB,CAAC,EACvE,iFAAiF,CAClF,CAAC;YACF,oBAAoB,CAAC,WAAW,CAAC,eAAe,CAAC,CAAC;YAClD,OAAO,oBAAoB,CAAC;QAC9B,CAAC;QAED,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,IAAa,WAAW;QACtB,OAAO,IAAI,wCAAwC,EAAE,CAAC;IACxD,CAAC;IAED,IAAa,mBAAmB;QAC9B,MAAM,gBAAgB,GAAa,EAAE,CAAC;QACtC,IAAI,IAAI,CAAC,UAAU,KAAK,SAAS,IAAI,IAAI,CAAC,UAAU,GAAG,GAAG,EAAE,CAAC;YAC3D,gBAAgB,CAAC,IAAI,CAAC,6CAA6C,CAAC,CAAC;QACvE,CAAC;QACD,OAAO,gBAAgB,CAAC;IAC1B,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,kCAAkC,CAAC,6BAA6B;SACjE,CAAC,CAAC;IACL,CAAC;CACF"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderPostFilterState.d.ts","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAChE,OAAO,EACL,KAAK,SAAS,EACd,KAAK,IAAI,EACT,KAAK,kBAAkB,EAEvB,KAAK,kBAAkB,EACvB,KAAK,wBAAwB,EAK9B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,KAAK,WA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EACxC,SAAS,EAAE,gDAAgD,GAC1D,IAAI;IAcP,sBAAsB,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI;IAIzC,6BAA6B,CAC3B,QAAQ,EAAE,kCAAkC,GAAG,SAAS,GACvD,IAAI;IAgBP,6BAA6B,CAC3B,IAAI,EAAE,kCAAkC,GAAG,SAAS,EACpD,QAAQ,EAAE,kCAAkC,GAAG,SAAS,GACvD,IAAI;IAyBP,eAAe,CACb,IAAI,EAAE,kCAAkC,EACxC,QAAQ,EAAE,kCAAkC,GAAG,SAAS,GACvD,IAAI;IAqBP,OAAO,CAAC,UAAU;IAkBlB,wBAAwB,CAAC,IAAI,EAAE,kCAAkC,GAAG,IAAI;IA0BxE;;OAEG;IACH,YAAY,IAAI,IAAI;IAqCpB,OAAO,CAAC,gBAAgB;IAYxB,OAAO,CAAC,wBAAwB;IAahC,SAAS,IAAI,IAAI;IAoDjB;;OAEG;IACH,OAAO,CAAC,eAAe;IAuBvB,YAAY,IAAI,IAAI;IAIpB,UAAU,IAAI,IAAI;IAIlB,cAAc,CAAC,QAAQ,EAAE,kBAAkB,GAAG,OAAO;IAYrD,IAAI,mBAAmB,IAAI,MAAM,EAAE,
|
1
|
+
{"version":3,"file":"QueryBuilderPostFilterState.d.ts","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAChE,OAAO,EACL,KAAK,SAAS,EACd,KAAK,IAAI,EACT,KAAK,kBAAkB,EAEvB,KAAK,kBAAkB,EACvB,KAAK,wBAAwB,EAK9B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,KAAK,WAAW,EAWhB,WAAW,EAGX,KAAK,QAAQ,EAEd,MAAM,sBAAsB,CAAC;AAU9B,OAAO,EAAE,gCAAgC,EAAE,MAAM,gDAAg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C3B,QAAQ,EAAE,kCAAkC,GAAG,SAAS,GACvD,IAAI;IAgBP,6BAA6B,CAC3B,IAAI,EAAE,kCAAkC,GAAG,SAAS,EACpD,QAAQ,EAAE,kCAAkC,GAAG,SAAS,GACvD,IAAI;IAyBP,eAAe,CACb,IAAI,EAAE,kCAAkC,EACxC,QAAQ,EAAE,kCAAkC,GAAG,SAAS,GACvD,IAAI;IAqBP,OAAO,CAAC,UAAU;IAkBlB,wBAAwB,CAAC,IAAI,EAAE,kCAAkC,GAAG,IAAI;IA0BxE;;OAEG;IACH,YAAY,IAAI,IAAI;IAqCpB,OAAO,CAAC,gBAAgB;IAYxB,OAAO,CAAC,wBAAwB;IAahC,SAAS,IAAI,IAAI;IAoDjB;;OAEG;IACH,OAAO,CAAC,eAAe;IAuBvB,YAAY,IAAI,IAAI;IAIpB,UAAU,IAAI,IAAI;IAIlB,cAAc,CAAC,QAAQ,EAAE,kBAAkB,GAAG,OAAO;IAYrD,IAAI,mBAAmB,IAAI,MAAM,EAAE,CA0BlC;IAED,IAAI,sBAAsB,IAAI,OAAO,CASpC;IAED,IAAI,mCAAmC,IAAI,OAAO,CAQjD;IAED,IAAI,QAAQ,IAAI,MAAM,CAMrB;CACF"}
|
@@ -701,10 +701,8 @@ export class QueryBuilderPostFilterState {
|
|
701
701
|
if (node.condition.rightConditionValue instanceof
|
702
702
|
PostFilterValueSpecConditionValueState &&
|
703
703
|
node.condition.rightConditionValue.value instanceof InstanceValue &&
|
704
|
-
!isValidInstanceValue(node.condition.rightConditionValue.value)
|
705
|
-
node.condition.leftConditionValue
|
706
|
-
QueryBuilderSimpleProjectionColumnState) {
|
707
|
-
validationIssues.push(`Filter value for ${node.condition.leftConditionValue.propertyExpressionState.title} is missing or invalid`);
|
704
|
+
!isValidInstanceValue(node.condition.rightConditionValue.value)) {
|
705
|
+
validationIssues.push(`Filter value for ${node.condition.leftConditionValue.columnName} is missing or invalid`);
|
708
706
|
}
|
709
707
|
if (node.condition.leftConditionValue instanceof
|
710
708
|
QueryBuilderSimpleProjectionColumnState &&
|
@@ -720,9 +718,7 @@ export class QueryBuilderPostFilterState {
|
|
720
718
|
node.condition.rightConditionValue instanceof
|
721
719
|
PostFilterValueSpecConditionValueState &&
|
722
720
|
node.condition.rightConditionValue.value instanceof InstanceValue &&
|
723
|
-
!isValidInstanceValue(node.condition.rightConditionValue.value)
|
724
|
-
node.condition.leftConditionValue instanceof
|
725
|
-
QueryBuilderSimpleProjectionColumnState);
|
721
|
+
!isValidInstanceValue(node.condition.rightConditionValue.value));
|
726
722
|
}
|
727
723
|
get hasInvalidDerivedPropertyParameters() {
|
728
724
|
return Array.from(this.nodes.values()).some((node) => node instanceof QueryBuilderPostFilterTreeConditionNodeData &&
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderPostFilterState.js","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAOL,0BAA0B,EAC1B,aAAa,EACb,uBAAuB,EACvB,aAAa,GACd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,cAAc,EACd,iBAAiB,EACjB,UAAU,EACV,WAAW,EACX,qBAAqB,EACrB,oBAAoB,EACpB,aAAa,EACb,iBAAiB,EACjB,IAAI,EACJ,YAAY,EACZ,WAAW,EACX,SAAS,EACT,IAAI,EAEJ,aAAa,GACd,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,MAAM,EACN,QAAQ,EACR,IAAI,EACJ,UAAU,EACV,cAAc,EACd,UAAU,GACX,MAAM,MAAM,CAAC;AACd,OAAO,EAAE,wCAAwC,EAAE,MAAM,gCAAgC,CAAC;AAC1F,OAAO,EAAE,gCAAgC,EAAE,MAAM,gDAAgD,CAAC;AAElG,OAAO,EACL,iCAAiC,EAEjC,2CAA2C,EAC3C,uCAAuC,GACxC,MAAM,oDAAoD,CAAC;AAC5D,OAAO,EACL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AAK,CAAC,MAAM,EAAE,CAAC,CAAC,IAAI,CACzC,CAAC,IAAI,EAAE,EAAE,CACP,IAAI,YAAY,2CAA2C;YAC3D,IAAI,CAAC,SAAS,CAAC,kBAAkB;gBAC/B,uCAAuC;YACzC,CAAC,IAAI,CAAC,SAAS,CAAC,kBAAkB,CAAC,uBAAuB,CAAC,OAAO,CACrE,CAAC;IACJ,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,kCAAkC,CAAC,iBAAiB;YACpD,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":"QueryBuilderPostFilterState.js","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAOL,0BAA0B,EAC1B,aAAa,EACb,uBAAuB,EACvB,aAAa,GACd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,cAAc,EACd,iBAAiB,EACjB,UAAU,EACV,WAAW,EACX,qBAAqB,EACrB,oBAAoB,EACpB,aAAa,EACb,iBAAiB,EACjB,IAAI,EACJ,YAAY,EACZ,WAAW,EACX,SAAS,EACT,IAAI,EAEJ,aAAa,GACd,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,MAAM,EACN,QAAQ,EACR,IAAI,EACJ,UAAU,EACV,cAAc,EACd,UAAU,GACX,MAAM,MAAM,CAAC;AACd,OAAO,EAAE,wCAAwC,EAAE,MAAM,gCAAgC,CAAC;AAC1F,OAAO,EAAE,gCAAgC,EAAE,MAAM,gDAAgD,CAAC;AAElG,OAAO,EACL,iCAAiC,EAEjC,2CAA2C,EAC3C,uCAAuC,GACxC,MAAM,oDAAoD,CAAC;AAC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AAS,CAAC,kBAAkB;gBAC/B,uCAAuC;YACzC,CAAC,IAAI,CAAC,SAAS,CAAC,kBAAkB,CAAC,uBAAuB,CAAC,OAAO,CACrE,CAAC;IACJ,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,kCAAkC,CAAC,iBAAiB;YACpD,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"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@finos/legend-query-builder",
|
3
|
-
"version": "4.14.
|
3
|
+
"version": "4.14.46",
|
4
4
|
"description": "Legend query builder core",
|
5
5
|
"keywords": [
|
6
6
|
"legend",
|
@@ -42,18 +42,19 @@
|
|
42
42
|
"test:watch": "jest --watch"
|
43
43
|
},
|
44
44
|
"dependencies": {
|
45
|
-
"@finos/legend-application": "15.1.
|
46
|
-
"@finos/legend-art": "7.1.
|
47
|
-
"@finos/legend-graph": "31.10.
|
48
|
-
"@finos/legend-lego": "1.2.
|
49
|
-
"@finos/legend-server-depot": "6.0.
|
50
|
-
"@finos/legend-shared": "10.0.
|
51
|
-
"@finos/legend-storage": "3.0.
|
52
|
-
"@testing-library/
|
45
|
+
"@finos/legend-application": "15.1.7",
|
46
|
+
"@finos/legend-art": "7.1.35",
|
47
|
+
"@finos/legend-graph": "31.10.3",
|
48
|
+
"@finos/legend-lego": "1.2.37",
|
49
|
+
"@finos/legend-server-depot": "6.0.44",
|
50
|
+
"@finos/legend-shared": "10.0.39",
|
51
|
+
"@finos/legend-storage": "3.0.89",
|
52
|
+
"@testing-library/dom": "10.1.0",
|
53
|
+
"@testing-library/react": "16.0.0",
|
53
54
|
"@types/react": "18.3.3",
|
54
55
|
"@types/react-dom": "18.3.0",
|
55
56
|
"chart.js": "4.4.3",
|
56
|
-
"mathjs": "
|
57
|
+
"mathjs": "13.0.0",
|
57
58
|
"mobx": "6.12.3",
|
58
59
|
"mobx-react-lite": "4.0.7",
|
59
60
|
"monaco-editor": "0.49.0",
|
@@ -65,14 +66,14 @@
|
|
65
66
|
"sql-formatter": "15.3.1"
|
66
67
|
},
|
67
68
|
"devDependencies": {
|
68
|
-
"@finos/legend-dev-utils": "2.1.
|
69
|
+
"@finos/legend-dev-utils": "2.1.7",
|
69
70
|
"@jest/globals": "29.7.0",
|
70
71
|
"cross-env": "7.0.3",
|
71
72
|
"eslint": "8.57.0",
|
72
73
|
"jest": "29.7.0",
|
73
74
|
"npm-run-all": "4.1.5",
|
74
75
|
"rimraf": "5.0.7",
|
75
|
-
"sass": "1.77.
|
76
|
+
"sass": "1.77.4",
|
76
77
|
"typescript": "5.4.5"
|
77
78
|
},
|
78
79
|
"peerDependencies": {
|
@@ -21,16 +21,16 @@ import {
|
|
21
21
|
QUERY_BUILDER_FILTER_EVENT,
|
22
22
|
QUERY_BUILDER_POST_FILTER_EVENT,
|
23
23
|
} from './QueryBuilderEvent.js';
|
24
|
-
import type {
|
24
|
+
import type { QueryableClassMappingRuntimeInfo } from '../stores/QueryBuilderState.js';
|
25
25
|
|
26
26
|
type QueryExecution_TelemetryData = GraphManagerOperationReport & {
|
27
27
|
dependenciesCount: number;
|
28
|
-
state?:
|
28
|
+
state?: QueryableClassMappingRuntimeInfo | undefined;
|
29
29
|
};
|
30
30
|
type QueryMappingModelCoverageAnalysis_TelemetryData =
|
31
31
|
GraphManagerOperationReport & {
|
32
32
|
dependenciesCount: number;
|
33
|
-
state?:
|
33
|
+
state?: QueryableClassMappingRuntimeInfo | undefined;
|
34
34
|
};
|
35
35
|
|
36
36
|
export class QueryBuilderTelemetryHelper {
|
@@ -40,6 +40,7 @@ export enum QUERY_BUILDER_TEST_ID {
|
|
40
40
|
QUERY_BUILDER_WINDOW_GROUPBY = 'query__builder__window',
|
41
41
|
QUERY_BUILDER_EXPLORER = 'query__builder__explorer',
|
42
42
|
QUERY_BUILDER_PROPERTY_SEARCH_PANEL = 'query__builder__property__search__panel',
|
43
|
+
QUERY_BUILDER_PERCENTILE_PANEL = 'query__builder__percentile__panel',
|
43
44
|
QUERY_BUILDER_PARAMETERS = 'query-builder__parameters',
|
44
45
|
QUERY_BUILDER_CONSTANTS = 'query-builder__constants',
|
45
46
|
QUERY_BUILDER_TOOLTIP_ICON = 'query-builder__tooltip__icon',
|
@@ -72,7 +72,7 @@ import { QueryBuilderParametersPanel } from './QueryBuilderParametersPanel.js';
|
|
72
72
|
import { QueryBuilderFunctionsExplorerPanel } from './explorer/QueryBuilderFunctionsExplorerPanel.js';
|
73
73
|
import { QueryBuilderTDSState } from '../stores/fetch-structure/tds/QueryBuilderTDSState.js';
|
74
74
|
import { QueryBuilderDiffViewPanelDiaglog } from './QueryBuilderDiffPanel.js';
|
75
|
-
import { guaranteeType } from '@finos/legend-shared';
|
75
|
+
import { guaranteeType, returnUndefOnError } from '@finos/legend-shared';
|
76
76
|
import { QueryBuilderGraphFetchTreeState } from '../stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.js';
|
77
77
|
import { QueryBuilderPostTDSPanel } from './fetch-structure/QueryBuilderPostTDSPanel.js';
|
78
78
|
import { QueryBuilderConstantExpressionPanel } from './QueryBuilderConstantExpressionPanel.js';
|
@@ -488,9 +488,12 @@ export const QueryBuilder = observer(
|
|
488
488
|
queryBuilderState.class &&
|
489
489
|
queryBuilderState.canBuildQuery
|
490
490
|
) {
|
491
|
-
|
491
|
+
const calculatedQuery = returnUndefOnError(() =>
|
492
492
|
queryBuilderState.buildQuery(),
|
493
493
|
);
|
494
|
+
if (calculatedQuery) {
|
495
|
+
queryBuilderState.changeHistoryState.cacheNewQuery(calculatedQuery);
|
496
|
+
}
|
494
497
|
}
|
495
498
|
}, [queryBuilderState, queryBuilderState.hashCode]);
|
496
499
|
|