@finos/legend-query-builder 3.0.2 → 3.0.4
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/components/QueryBuilderResultPanel.d.ts.map +1 -1
- package/lib/components/QueryBuilderResultPanel.js +6 -14
- package/lib/components/QueryBuilderResultPanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.d.ts.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.js +3 -1
- package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.d.ts.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.js +2 -1
- package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSWindowPanel.d.ts.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSWindowPanel.js +8 -2
- package/lib/components/fetch-structure/QueryBuilderTDSWindowPanel.js.map +1 -1
- package/lib/index.css +16 -0
- package/lib/package.json +1 -1
- package/lib/stores/QueryBuilderPropertyEditorState.js +6 -6
- package/lib/stores/QueryBuilderPropertyEditorState.js.map +1 -1
- package/lib/stores/QueryBuilderState.d.ts +1 -1
- package/lib/stores/QueryBuilderState.d.ts.map +1 -1
- package/lib/stores/QueryBuilderState.js +3 -3
- package/lib/stores/QueryBuilderState.js.map +1 -1
- package/lib/stores/QueryBuilderValueSpecificationBuilderHelper.d.ts.map +1 -1
- package/lib/stores/QueryBuilderValueSpecificationBuilderHelper.js +3 -3
- package/lib/stores/QueryBuilderValueSpecificationBuilderHelper.js.map +1 -1
- package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.d.ts +2 -1
- package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.d.ts.map +1 -1
- package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.js +2 -1
- package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.js.map +1 -1
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.d.ts +9 -7
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.d.ts.map +1 -1
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.js +15 -9
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.js.map +1 -1
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeValueSpecificationBuilder.js +1 -1
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeValueSpecificationBuilder.js.map +1 -1
- package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.d.ts +2 -1
- package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js +9 -2
- package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.js +2 -2
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.js.map +1 -1
- package/lib/stores/fetch-structure/tds/window/QueryBuilderWindowState.d.ts +8 -1
- package/lib/stores/fetch-structure/tds/window/QueryBuilderWindowState.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/window/QueryBuilderWindowState.js +36 -4
- package/lib/stores/fetch-structure/tds/window/QueryBuilderWindowState.js.map +1 -1
- package/lib/stores/filter/QueryBuilderFilterState.js +2 -2
- package/lib/stores/filter/QueryBuilderFilterState.js.map +1 -1
- package/lib/stores/workflows/ClassQueryBuilderState.js +3 -3
- package/lib/stores/workflows/ClassQueryBuilderState.js.map +1 -1
- package/lib/stores/workflows/MappingQueryBuilderState.js +3 -3
- package/lib/stores/workflows/MappingQueryBuilderState.js.map +1 -1
- package/lib/stores/workflows/ServiceQueryBuilderState.js +2 -2
- package/lib/stores/workflows/ServiceQueryBuilderState.js.map +1 -1
- package/package.json +9 -9
- package/src/components/QueryBuilderResultPanel.tsx +7 -15
- package/src/components/fetch-structure/QueryBuilderFetchStructurePanel.tsx +9 -3
- package/src/components/fetch-structure/QueryBuilderGraphFetchTreePanel.tsx +2 -4
- package/src/components/fetch-structure/QueryBuilderTDSWindowPanel.tsx +16 -4
- package/src/stores/QueryBuilderPropertyEditorState.ts +6 -6
- package/src/stores/QueryBuilderState.ts +3 -3
- package/src/stores/QueryBuilderValueSpecificationBuilderHelper.ts +3 -5
- package/src/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.ts +4 -2
- package/src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.ts +23 -15
- package/src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeValueSpecificationBuilder.ts +1 -1
- package/src/stores/fetch-structure/tds/QueryBuilderTDSState.ts +11 -2
- package/src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.ts +2 -2
- package/src/stores/fetch-structure/tds/window/QueryBuilderWindowState.ts +53 -4
- package/src/stores/filter/QueryBuilderFilterState.ts +2 -2
- package/src/stores/workflows/ClassQueryBuilderState.ts +3 -3
- package/src/stores/workflows/MappingQueryBuilderState.ts +3 -3
- package/src/stores/workflows/ServiceQueryBuilderState.ts +2 -2
@@ -42,14 +42,7 @@ export class PureSerializationConfig {
|
|
42
42
|
fullyQualifiedTypePath;
|
43
43
|
includeObjectReference;
|
44
44
|
constructor() {
|
45
|
-
// default values
|
46
45
|
this.typeKeyName = DEFAULT_PURE_CONFIG_TYPE_NAME;
|
47
|
-
this.includeType = true;
|
48
|
-
this.includeEnumType = true;
|
49
|
-
this.removePropertiesWithNullValues = true;
|
50
|
-
this.removePropertiesWithEmptySets = false;
|
51
|
-
this.fullyQualifiedTypePath = true;
|
52
|
-
this.includeObjectReference = false;
|
53
46
|
makeObservable(this, {
|
54
47
|
typeKeyName: observable,
|
55
48
|
includeType: observable,
|
@@ -67,6 +60,16 @@ export class PureSerializationConfig {
|
|
67
60
|
setRemovePropertiesWithNullValues: action,
|
68
61
|
});
|
69
62
|
}
|
63
|
+
static createDefault() {
|
64
|
+
const config = new PureSerializationConfig();
|
65
|
+
config.typeKeyName = DEFAULT_PURE_CONFIG_TYPE_NAME;
|
66
|
+
config.includeType = true;
|
67
|
+
config.includeEnumType = true;
|
68
|
+
config.removePropertiesWithNullValues = true;
|
69
|
+
config.removePropertiesWithEmptySets = false;
|
70
|
+
config.fullyQualifiedTypePath = true;
|
71
|
+
return config;
|
72
|
+
}
|
70
73
|
setTypeName(val) {
|
71
74
|
this.typeKeyName = val;
|
72
75
|
}
|
@@ -238,8 +241,11 @@ export class QueryBuilderGraphFetchTreeState extends QueryBuilderFetchStructureI
|
|
238
241
|
// de-duplicate
|
239
242
|
return Array.from(new Set(ids).values());
|
240
243
|
}
|
241
|
-
get
|
242
|
-
return
|
244
|
+
get fetchStructureValidationIssues() {
|
245
|
+
return [];
|
246
|
+
}
|
247
|
+
get allValidationIssues() {
|
248
|
+
return [];
|
243
249
|
}
|
244
250
|
initialize() {
|
245
251
|
this.queryBuilderState.filterState.setShowPanel(true);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderGraphFetchTreeState.js","sourceRoot":"","sources":["../../../../src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AACpE,OAAO,EAKL,mCAAmC,EACnC,kBAAkB,EAClB,kBAAkB,GAEnB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,2BAA2B,EAC3B,uBAAuB,GACxB,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EACL,kCAAkC,EAClC,iCAAiC,GAElC,MAAM,6CAA6C,CAAC;AACrD,OAAO,EACL,8BAA8B,EAC9B,6CAA6C,GAC9C,MAAM,qDAAqD,CAAC;AAE7D,OAAO,EACL,qBAAqB,EACrB,eAAe,GAChB,MAAM,2BAA2B,CAAC;AAEnC,OAAO,EAAE,gBAAgB,EAAE,MAAM,0DAA0D,CAAC;AAC5F,OAAO,EACL,SAAS,EACT,oBAAoB,EACpB,SAAS,EAET,yBAAyB,EACzB,WAAW,GACZ,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,kCAAkC,EAAE,MAAM,qCAAqC,CAAC;AACzF,OAAO,EAAE,kCAAkC,EAAE,MAAM,+CAA+C,CAAC;AAGnG,MAAM,CAAN,IAAY,kBAGX;AAHD,WAAY,kBAAkB;IAC5B,mCAAa,CAAA;IACb,yDAAmC,CAAA;AACrC,CAAC,EAHW,kBAAkB,GAAlB,kBAAkB,KAAlB,kBAAkB,QAG7B;AAED,MAAM,CAAN,IAAY,8BAEX;AAFD,WAAY,8BAA8B;IACxC,mDAAiB,CAAA;AACnB,CAAC,EAFW,8BAA8B,GAA9B,8BAA8B,KAA9B,8BAA8B,QAEzC;AAED,MAAM,6BAA6B,GAAG,OAAO,CAAC;AAE9C,MAAM,OAAO,uBAAuB;IAClC,WAAW,CAAS;IACpB,WAAW,
|
1
|
+
{"version":3,"file":"QueryBuilderGraphFetchTreeState.js","sourceRoot":"","sources":["../../../../src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AACpE,OAAO,EAKL,mCAAmC,EACnC,kBAAkB,EAClB,kBAAkB,GAEnB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,2BAA2B,EAC3B,uBAAuB,GACxB,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EACL,kCAAkC,EAClC,iCAAiC,GAElC,MAAM,6CAA6C,CAAC;AACrD,OAAO,EACL,8BAA8B,EAC9B,6CAA6C,GAC9C,MAAM,qDAAqD,CAAC;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AC,QAAQ,EAAE,CACvB;qBACJ;oBACD;wBACE,KAAK,EAAE,QAAQ;wBACf,IAAI,EAAE,qBAAqB,CAAC,OAAO;wBACnC,OAAO,EAAE,IAAI;qBACd;iBACF;aACF,CAAC,CAAC;SACJ;aAAM;YACL,QAAQ,EAAE,CAAC;SACZ;IACH,CAAC;IAED,cAAc,CAAC,QAA4B;QACzC,OAAO,OAAO,CACZ,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,KAAK,CAAC,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE,CAC5D,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAC9B,kCAAkC,CAAC,QAAQ,EAAE,CAAC,CAAC,CAChD,CACF,CACF,CAAC;IACJ,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,kCAAkC,CAAC,iBAAiB;YACpD,IAAI,CAAC,SAAS,CAAC,QAAQ,EAAE;YACzB,IAAI,CAAC,QAAQ,EAAE,IAAI,IAAI,EAAE;SAC1B,CAAC,CAAC;IACL,CAAC;CACF"}
|
@@ -59,7 +59,7 @@ export const buildPureSerializationConfig = (config, graph) => {
|
|
59
59
|
const pureConfigCollection = new CollectionInstanceValue(Multiplicity.ONE, undefined);
|
60
60
|
configClass.properties.forEach((classProperty) => {
|
61
61
|
const property = Object.getOwnPropertyNames(config).find((p) => p === classProperty.name);
|
62
|
-
if (property) {
|
62
|
+
if (property && config[property] !== undefined) {
|
63
63
|
const keyExpressionInstance = new KeyExpressionInstanceValue();
|
64
64
|
// key expression
|
65
65
|
const keyInstance = new PrimitiveInstanceValue(GenericTypeExplicitReference.create(new GenericType(PrimitiveType.STRING)));
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderGraphFetchTreeValueSpecificationBuilder.js","sourceRoot":"","sources":["../../../../src/stores/fetch-structure/graph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AE,CAAC,CAAC;IAChC,MAAM,oBAAoB,GAAG,IAAI,uBAAuB,CACtD,YAAY,CAAC,GAAG,EAChB,SAAS,CACV,CAAC;IACF,WAAW,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC,aAAa,EAAE,EAAE;QAC/C,MAAM,QAAQ,GAAG,MAAM,CAAC,mBAAmB,CAAC,MAAM,CAAC,CAAC,IAAI,CACtD,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,KAAK,aAAa,CAAC,IAAI,CAChC,CAAC;QACF,IAAI,QAAQ,EAAE;
|
1
|
+
{"version":3,"file":"QueryBuilderGraphFetchTreeValueSpecificationBuilder.js","sourceRoot":"","sources":["../../../../src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeValueSpecificationBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAIL,0BAA0B,EAC1B,WAAW,EACX,4BAA4B,EAC5B,iBAAiB,EACjB,sBAAsB,EACtB,wBAAwB,EACxB,2BAA2B,EAC3B,aAAa,EACb,aAAa,EACb,YAAY,EACZ,mCAAmC,EACnC,mBAAmB,EACnB,uBAAuB,EACvB,0BAA0B,EAC1B,aAAa,GACd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,yBAAyB,EACzB,oBAAoB,EACpB,aAAa,GACd,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,uBAAuB,EACvB,iCAAiC,GAClC,MAAM,8CAA8C,CAAC;AACtD,OAAO,EACL,0CAA0C,EAC1C,gCAAgC,GAEjC,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,yBAAyB,EAAE,MAAM,qCAAqC,CAAC;AAEhF,MAAM,eAAe,GAAG,CACtB,MAAsB,EACtB,YAAiC,EACjB,EAAE;IAClB,IAAI,CAAC,YAAY,EAAE;QACjB,OAAO,MAAM,CAAC;KACf;IACD,IAAI,MAAM,CAAC,kBAAkB,CAAC,MAAM,KAAK,CAAC,EAAE;QAC1C,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,GAAG,IAAI,wBAAwB,CACjD,mBAAmB,CAAC,SAAS;gBAC3B,CAAC,CAAC,0BAA0B,CACxB,iCAAiC,CAAC,mBAAmB,CACtD;gBACH,CAAC,CAAC,0BAA0B,CACxB,iCAAiC,CAAC,WAAW,CAC9C,CACN,CAAC;YACF,cAAc,CAAC,gBAAgB,GAAG;gBAChC,mBAAmB;gBACnB,kBAAkB;aACnB,CAAC;YACF,YAAY;YACZ,MAAM,eAAe,GAAG,IAAI,aAAa,CAAC,YAAY,CAAC,GAAG,EAAE,SAAS,CAAC,CAAC;YACvE,eAAe,CAAC,MAAM,GAAG;gBACvB,mCAAmC,CAAC,MAAM,CACxC,kBAAkB,CAAC,aAAa,CACjC;aACF,CAAC;YACF,gBAAgB;YAChB,MAAM,oBAAoB,GAAG,IAAI,2BAA2B,EAAE,CAAC;YAC/D,oBAAoB,CAAC,MAAM,GAAG,CAAC,6BAA6B,CAAC,IAAI,CAAC,CAAC;YACnE,oBAAoB;YACpB,mBAAmB,CAAC,gBAAgB,GAAG;gBACrC,cAAc;gBACd,eAAe;gBACf,oBAAoB;aACrB,CAAC;YACF,cAAc,CAAC,kBAAkB,CAAC,CAAC,CAAC,GAAG,mBAAmB,CAAC;SAC5D;KACF;SAAM;QACL,MAAM,IAAI,yBAAyB,CACjC,mCAAmC,kBAAkB,CAAC,QAAQ,EAAE,EAAE,CACnE,CAAC;KACH;IACD,gDAAgD;IAChD,IAAI,OAAO,EAAE,wBAAwB,EAAE;QACrC,eAAe,CAAC,cAAc,EAAE,iBAAiB,CAAC,WAAW,CAAC,YAAY,CAAC,CAAC;KAC7E;AACH,CAAC,CAAC"}
|
@@ -51,7 +51,8 @@ export declare class QueryBuilderTDSState extends QueryBuilderFetchStructureImpl
|
|
51
51
|
get hasParserError(): boolean;
|
52
52
|
get TEMPORARY__showPostFetchStructurePanel(): boolean;
|
53
53
|
get usedExplorerTreePropertyNodeIDs(): string[];
|
54
|
-
get
|
54
|
+
get fetchStructureValidationIssues(): string[];
|
55
|
+
get allValidationIssues(): string[];
|
55
56
|
get tdsColumns(): QueryBuilderTDSColumnState[];
|
56
57
|
get exportDataFormatOptions(): string[];
|
57
58
|
getExportDataInfo(format: string): ExportDataInfo;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderTDSState.d.ts","sourceRoot":"","sources":["../../../../src/stores/fetch-structure/tds/QueryBuilderTDSState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAUH,OAAO,EACL,KAAK,WAAW,EAUhB,KAAK,QAAQ,EAId,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AACpE,OAAO,EACL,KAAK,gBAAgB,EACrB,KAAK,cAAc,EAEnB,KAAK,kBAAkB,EAMvB,KAAK,EAMN,MAAM,qBAAqB,CAAC;AAK7B,OAAO,EAEL,4BAA4B,EAC7B,MAAM,+CAA+C,CAAC;AAEvD,OAAO,EAEL,6CAA6C,EAC9C,MAAM,qDAAqD,CAAC;AAC7D,OAAO,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAC/E,OAAO,EAAE,2BAA2B,EAAE,MAAM,8CAA8C,CAAC;AAC3F,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,iDAAiD,CAAC;AAEtG,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,gDAAgD,CAAC;AAEpG,OAAO,EACL,2CAA2C,EAC3C,uCAAuC,EACvC,KAAK,iCAAiC,EACvC,MAAM,mDAAmD,CAAC;AAC3D,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,uCAAuC,CAAC;AAC7F,OAAO,EAIL,KAAK,wCAAwC,EAC9C,MAAM,6CAA6C,CAAC;AAKrD,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,sDAAsD,CAAC;AAIxG,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,KAAK,EAAE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AAa,CACX,MAAM,EAAE,iCAAiC,EACzC,MAAM,EAAE,iCAAiC,GACxC,IAAI;IAuBP,gBAAgB,IAAI,IAAI;IAKxB,YAAY,CAAC,GAAG,EAAE,iCAAiC,GAAG,IAAI;IAc1D,SAAS,CACP,GAAG,EAAE,iCAAiC,EACtC,OAAO,CAAC,EAAE;QACR;;;;;WAKG;QACH,WAAW,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;KACnC,GACA,IAAI;IAuBP,UAAU,CAAC,WAAW,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,GAAG,IAAI;IAmD1D,qBAAqB,IAAI,IAAI;IAa7B,sBAAsB,CAAC,gBAAgB,EAAE,gBAAgB,GAAG,OAAO;IA2BnE,qBAAqB,IAAI,IAAI;IAQ7B,aAAa,CAAC,IAAI,EAAE,wCAAwC,GAAG,IAAI;IAanE,eAAe,CAAC,KAAK,EAAE,wCAAwC,EAAE,GAAG,IAAI;IAexE,0BAA0B,CAAC,QAAQ,EAAE,MAAM,IAAI,GAAG,IAAI;IAsBtD,iCAAiC,CAAC,QAAQ,EAAE,MAAM,IAAI,GAAG,IAAI;IAkC7D,cAAc,CAAC,QAAQ,EAAE,kBAAkB,GAAG,OAAO;IAgBrD,IAAI,QAAQ,IAAI,MAAM,CAQrB;CACF"}
|
@@ -140,7 +140,7 @@ export class QueryBuilderTDSState extends QueryBuilderFetchStructureImplementati
|
|
140
140
|
// deduplicate
|
141
141
|
return Array.from(new Set(nodeIDs).values());
|
142
142
|
}
|
143
|
-
get
|
143
|
+
get fetchStructureValidationIssues() {
|
144
144
|
const hasDuplicatedProjectionColumns = this.projectionColumns.some((column) => this.projectionColumns.filter((c) => c.columnName === column.columnName)
|
145
145
|
.length > 1);
|
146
146
|
if (hasDuplicatedProjectionColumns) {
|
@@ -150,7 +150,14 @@ export class QueryBuilderTDSState extends QueryBuilderFetchStructureImplementati
|
|
150
150
|
if (hasNoProjectionColumns) {
|
151
151
|
return ['Query has no projection columns'];
|
152
152
|
}
|
153
|
-
return
|
153
|
+
return [];
|
154
|
+
}
|
155
|
+
get allValidationIssues() {
|
156
|
+
const fetchStructureValidationIssues = [
|
157
|
+
...this.fetchStructureValidationIssues,
|
158
|
+
...this.windowState.windowValidationIssues,
|
159
|
+
];
|
160
|
+
return fetchStructureValidationIssues;
|
154
161
|
}
|
155
162
|
get tdsColumns() {
|
156
163
|
const aggregationStateCols = this.aggregationState.columns.map((c) => c.projectionColumnState);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderTDSState.js","sourceRoot":"","sources":["../../../../src/stores/fetch-structure/tds/QueryBuilderTDSState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,MAAM,EACN,UAAU,EACV,cAAc,EACd,UAAU,EACV,IAAI,EACJ,QAAQ,GACT,MAAM,MAAM,CAAC;AACd,OAAO,EAEL,QAAQ,EACR,iBAAiB,EACjB,WAAW,EACX,aAAa,EACb,WAAW,EACX,cAAc,EACd,oBAAoB,EACpB,QAAQ,EACR,YAAY,EAEZ,SAAS,EACT,yBAAyB,EACzB,WAAW,GACZ,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAKL,mBAAmB,EACnB,mCAAmC,EACnC,WAAW,EACX,SAAS,EACT,mBAAmB,EACnB,KAAK,EACL,0BAA0B,EAC1B,iBAAiB,EACjB,wBAAwB,EACxB,kBAAkB,EAClB,8BAA8B,GAC/B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,4BAA4B,EAC5B,6BAA6B,GAC9B,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,gCAAgC,EAChC,4BAA4B,GAC7B,MAAM,+CAA+C,CAAC;AACvD,OAAO,EAAE,uCAAuC,EAAE,MAAM,+CAA+C,CAAC;AACxG,OAAO,EACL,8BAA8B,EAC9B,6CAA6C,GAC9C,MAAM,qDAAqD,CAAC;AAC7D,OAAO,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;A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AC5B,oGAAoG;YACpG,OAAO,KAAK,CAAC;SACd;QACD,MAAM,gBAAgB,GAAG,OAAO;aAC7B,MAAM,CAAC,YAAY,CAAC,uCAAuC,CAAC,CAAC;aAC7D,IAAI,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,cAAc,CAAC,QAAQ,CAAC,CAAC,CAAC;QAC/C,MAAM,gBAAgB,GAAG,IAAI,CAAC,eAAe,CAAC,cAAc,CAAC,QAAQ,CAAC,CAAC;QACvE,OAAO,OAAO,CAAC,gBAAgB,IAAI,gBAAgB,CAAC,CAAC;IACvD,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,kCAAkC,CAAC,gBAAgB;YACnD,SAAS,CAAC,IAAI,CAAC,iBAAiB,CAAC;YACjC,IAAI,CAAC,gBAAgB;YACrB,IAAI,CAAC,eAAe;YACpB,IAAI,CAAC,sBAAsB;SAC5B,CAAC,CAAC;IACL,CAAC;CACF"}
|
1
|
+
{"version":3,"file":"QueryBuilderTDSState.js","sourceRoot":"","sources":["../../../../src/stores/fetch-structure/tds/QueryBuilderTDSState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,MAAM,EACN,UAAU,EACV,cAAc,EACd,UAAU,EACV,IAAI,EACJ,QAAQ,GACT,MAAM,MAAM,CAAC;AACd,OAAO,EAEL,QAAQ,EACR,iBAAiB,EACjB,WAAW,EACX,aAAa,EACb,WAAW,EACX,cAAc,EACd,oBAAoB,EACpB,QAAQ,EACR,YAAY,EAEZ,SAAS,EACT,yBAAyB,EACzB,WAAW,GACZ,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAKL,mBAAmB,EACnB,mCAAmC,EACnC,WAAW,EACX,SAAS,EACT,mBAAmB,EACnB,KAAK,EACL,0BAA0B,EAC1B,iBAAiB,EACjB,wBAAwB,EACxB,kBAAkB,EAClB,8BAA8B,GAC/B,MAAM,qBAAqB,CAAC;AAC7B,OAAO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C,iBAAiB,CAAC,gBAAgB,CAAC,mBAAmB,CACzD,KAAK,IAAI,EAAE,CAAC,QAAQ,EAAE,CACvB;qBACJ;oBACD;wBACE,KAAK,EAAE,QAAQ;wBACf,IAAI,EAAE,qBAAqB,CAAC,OAAO;wBACnC,OAAO,EAAE,IAAI;qBACd;iBACF;aACF,CAAC,CAAC;SACJ;aAAM;YACL,QAAQ,EAAE,CAAC;SACZ;IACH,CAAC;IAED,cAAc,CAAC,QAA4B;QACzC,MAAM,OAAO,GAAG,IAAI,CAAC,iBAAiB,CAAC;QACvC,MAAM,iBAAiB,GAAG,OAAO,CAAC,MAAM,CACtC,YAAY,CAAC,2CAA2C,CAAC,CAC1D,CAAC;QACF,IAAI,iBAAiB,CAAC,MAAM,EAAE;YAC5B,oGAAoG;YACpG,OAAO,KAAK,CAAC;SACd;QACD,MAAM,gBAAgB,GAAG,OAAO;aAC7B,MAAM,CAAC,YAAY,CAAC,uCAAuC,CAAC,CAAC;aAC7D,IAAI,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,cAAc,CAAC,QAAQ,CAAC,CAAC,CAAC;QAC/C,MAAM,gBAAgB,GAAG,IAAI,CAAC,eAAe,CAAC,cAAc,CAAC,QAAQ,CAAC,CAAC;QACvE,OAAO,OAAO,CAAC,gBAAgB,IAAI,gBAAgB,CAAC,CAAC;IACvD,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,kCAAkC,CAAC,gBAAgB;YACnD,SAAS,CAAC,IAAI,CAAC,iBAAiB,CAAC;YACjC,IAAI,CAAC,gBAAgB;YACrB,IAAI,CAAC,eAAe;YACpB,IAAI,CAAC,sBAAsB;SAC5B,CAAC,CAAC;IACL,CAAC;CACF"}
|
@@ -14,7 +14,7 @@
|
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
16
|
import { Enumeration, PRIMITIVE_TYPE, observe_ValueSpecification, PrimitiveType, } from '@finos/legend-graph';
|
17
|
-
import { addUniqueEntry, assertErrorThrown, assertTrue, deleteEntry,
|
17
|
+
import { addUniqueEntry, assertErrorThrown, assertTrue, deleteEntry, getNullableFirstEntry, guaranteeNonNullable, guaranteeType, IllegalStateError, UnsupportedOperationError, uuid, filterByType, ActionState, hashArray, uniq, isNonNullable, } from '@finos/legend-shared';
|
18
18
|
import { action, computed, flow, flowResult, makeObservable, observable, } from 'mobx';
|
19
19
|
import { DEFAULT_POST_FILTER_LAMBDA_VARIABLE_NAME } from '../../../QueryBuilderConfig.js';
|
20
20
|
import { QueryBuilderAggregateColumnState } from '../aggregation/QueryBuilderAggregationState.js';
|
@@ -377,7 +377,7 @@ export class QueryBuilderPostFilterState {
|
|
377
377
|
}
|
378
378
|
getRootNode() {
|
379
379
|
assertTrue(this.rootIds.length < 2, 'Query builder post-filter tree cannot have more than 1 root');
|
380
|
-
const rootId =
|
380
|
+
const rootId = getNullableFirstEntry(this.rootIds);
|
381
381
|
return rootId ? this.getNode(rootId) : undefined;
|
382
382
|
}
|
383
383
|
addRootNode(node) {
|
@@ -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,EAML,WAAW,EACX,cAAc,EACd,0BAA0B,EAC1B,aAAa,GACd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,cAAc,EACd,iBAAiB,EACjB,UAAU,EACV,WAAW,EACX,uBAAuB,EACvB,oBAAoB,EACpB,aAAa,EACb,iBAAiB,EACjB,yBAAyB,EACzB,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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,CAAC,kCAAkC,CAAC,QAAQ,EAAE,KAAK,CAAC,CAAC,CACxE,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,EAML,WAAW,EACX,cAAc,EACd,0BAA0B,EAC1B,aAAa,GACd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,cAAc,EACd,iBAAiB,EACjB,UAAU,EACV,WAAW,EACX,qBAAqB,EACrB,oBAAoB,EACpB,aAAa,EACb,iBAAiB,EACjB,yBAAyB,EACzB,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,GAC5C,MAAM,oDAAoD,CAAC;AAC5D,OAAO,EACL,mCAAmC,EACnC,qBAAqB,EACrB,gBAAgB,GACjB,MAAM,yCAAyC,CAAC;AACjD,OAAO,EAAE,6BAA6B,EAAE,MAAM,8CAA8C,CAAC;AAE7F,OAAO,EAAE,kCAAkC,EAAE,MAAM,wCAA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ERY_BUILDER_WINDOW_COLUMN_DND_TYPE = "WINDOW_COLUMN";
|
|
24
24
|
export interface QueryBuilderWindowColumnDragSource {
|
25
25
|
columnState: QueryBuilderTDSColumnState;
|
26
26
|
}
|
27
|
+
interface QueryBuilderInvalidWindowColumnName {
|
28
|
+
invalidColumnName: string;
|
29
|
+
missingColumnName: string;
|
30
|
+
}
|
27
31
|
export type QueryBuilderWindowDropTarget = QueryBuilderProjectionColumnDragSource | QueryBuilderWindowColumnDragSource;
|
28
32
|
export declare class WindowGroupByColumnSortByState implements Hashable {
|
29
33
|
columnState: QueryBuilderTDSColumnState;
|
@@ -80,13 +84,16 @@ export declare class QueryBuilderWindowState implements Hashable {
|
|
80
84
|
editColumn: QueryBuilderWindowColumnState | undefined;
|
81
85
|
constructor(tdsState: QueryBuilderTDSState, operators: QueryBuilderTDS_WindowOperator[]);
|
82
86
|
get isEmpty(): boolean;
|
83
|
-
get
|
87
|
+
get invalidWindowColumnNames(): QueryBuilderInvalidWindowColumnName[];
|
88
|
+
get windowValidationIssues(): string[];
|
84
89
|
get referencedTDSColumns(): QueryBuilderTDSColumnState[];
|
85
90
|
setEditColumn(col: QueryBuilderWindowColumnState | undefined): void;
|
86
91
|
findOperator(func: string): QueryBuilderTDS_WindowOperator | undefined;
|
87
92
|
addWindowColumn(windowCol: QueryBuilderWindowColumnState): void;
|
88
93
|
removeColumn(column: QueryBuilderWindowColumnState): void;
|
89
94
|
moveColumn(fromIndex: number, toIndex: number): void;
|
95
|
+
isColumnOrderValid(columnName: string, indexRange: number): boolean;
|
90
96
|
get hashCode(): string;
|
91
97
|
}
|
98
|
+
export {};
|
92
99
|
//# sourceMappingURL=QueryBuilderWindowState.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderWindowState.d.ts","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/window/QueryBuilderWindowState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,E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A0B,GAAG,IAAI;IAInD,yBAAyB,CACvB,EAAE,EAAE,8BAA8B,GACjC,0BAA0B,EAAE;IAS/B,cAAc,CAAC,QAAQ,EAAE,8BAA8B,GAAG,IAAI;IAkC9D,YAAY,CAAC,MAAM,EAAE,gBAAgB,GAAG,SAAS,GAAG,IAAI;IAkBxD,IAAI,QAAQ,IAAI,MAAM,CAQrB;CACF;AAED,qBAAa,uBAAwB,YAAW,QAAQ;IACtD,QAAQ,CAAC,QAAQ,EAAE,oBAAoB,CAAC;IACxC,aAAa,EAAE,6BAA6B,EAAE,CAAM;IACpD,SAAS,EAAE,8BAA8B,EAAE,CAAC;IAC5C,UAAU,EAAE,6BAA6B,GAAG,SAAS,CAAC;gBAGpD,QAAQ,EAAE,oBAAoB,EAC9B,SAAS,EAAE,8BAA8B,EAAE;
|
1
|
+
{"version":3,"file":"QueryBuilderWindowState.d.ts","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/window/QueryBuilderWindowState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAqB,KAAK,IAAI,EAAE,MAAM,qBAAqB,CAAC;AACnE,OAAO,EAML,KAAK,QAAQ,EACd,MAAM,sBAAsB,CAAC;AAI9B,OAAO,KAAK,EAAE,sCAAsC,EAAE,MAAM,oDAAoD,CAAC;AACjH,OAAO,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AAC9E,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AACvE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AAC1E,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,+CAA+C,CAAC;AAEpG,eAAO,MAAM,oCAAoC,kBAAkB,CAAC;AAEpE,MAAM,WAAW,kCAAkC;IACjD,WAAW,EAAE,0BAA0B,CAAC;CACzC;AAED,UAAU,mCAAmC;IAC3C,iBAAiB,EAAE,MAAM,CAAC;IAC1B,iBA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AoB,EAC9B,SAAS,EAAE,8BAA8B,EAAE;IAgB7C,IAAI,OAAO,IAAI,OAAO,CAErB;IAED,IAAI,wBAAwB,IAAI,mCAAmC,EAAE,CA2BpE;IAED,IAAI,sBAAsB,IAAI,MAAM,EAAE,CAkBrC;IAED,IAAI,oBAAoB,IAAI,0BAA0B,EAAE,CAEvD;IAED,aAAa,CAAC,GAAG,EAAE,6BAA6B,GAAG,SAAS,GAAG,IAAI;IAInE,YAAY,CAAC,IAAI,EAAE,MAAM,GAAG,8BAA8B,GAAG,SAAS;IAItE,eAAe,CAAC,SAAS,EAAE,6BAA6B,GAAG,IAAI;IAI/D,YAAY,CAAC,MAAM,EAAE,6BAA6B,GAAG,IAAI;IAIzD,UAAU,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,IAAI;IASpD,kBAAkB,CAAC,UAAU,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,OAAO;IAMnE,IAAI,QAAQ,IAAI,MAAM,CAKrB;CACF"}
|
@@ -230,7 +230,8 @@ export class QueryBuilderWindowState {
|
|
230
230
|
makeObservable(this, {
|
231
231
|
windowColumns: observable,
|
232
232
|
editColumn: observable,
|
233
|
-
|
233
|
+
invalidWindowColumnNames: computed,
|
234
|
+
windowValidationIssues: computed,
|
234
235
|
addWindowColumn: action,
|
235
236
|
removeColumn: action,
|
236
237
|
moveColumn: action,
|
@@ -242,13 +243,39 @@ export class QueryBuilderWindowState {
|
|
242
243
|
get isEmpty() {
|
243
244
|
return !this.windowColumns.length;
|
244
245
|
}
|
245
|
-
get
|
246
|
+
get invalidWindowColumnNames() {
|
247
|
+
const invalidColNames = [];
|
248
|
+
const windowCols = this.windowColumns;
|
249
|
+
windowCols.forEach((item, index) => {
|
250
|
+
if (item.operationState instanceof
|
251
|
+
QueryBuilderTDS_WindowAggreationOperatorState) {
|
252
|
+
if (item.operationState.columnState instanceof
|
253
|
+
QueryBuilderWindowColumnState) {
|
254
|
+
const windowColumnName = item.operationState.columnState.columnName;
|
255
|
+
const hasExistingColumn = item.windowState.isColumnOrderValid(windowColumnName, index);
|
256
|
+
if (!hasExistingColumn) {
|
257
|
+
invalidColNames.push({
|
258
|
+
invalidColumnName: item.columnName,
|
259
|
+
missingColumnName: windowColumnName,
|
260
|
+
});
|
261
|
+
}
|
262
|
+
}
|
263
|
+
}
|
264
|
+
});
|
265
|
+
return invalidColNames;
|
266
|
+
}
|
267
|
+
get windowValidationIssues() {
|
268
|
+
const invalidWindowColumnNames = this.invalidWindowColumnNames;
|
269
|
+
const issues = [];
|
270
|
+
invalidWindowColumnNames.forEach((item) => {
|
271
|
+
issues.push(`Column '${item.invalidColumnName}' cannot exist before column name '${item.missingColumnName}'`);
|
272
|
+
});
|
246
273
|
const hasDuplicatedWindowColumns = this.windowColumns.some((column) => this.windowColumns.filter((c) => c.columnName === column.columnName)
|
247
274
|
.length > 1);
|
248
275
|
if (hasDuplicatedWindowColumns) {
|
249
|
-
|
276
|
+
issues.push(`Query has duplicated window columns`);
|
250
277
|
}
|
251
|
-
return
|
278
|
+
return issues;
|
252
279
|
}
|
253
280
|
get referencedTDSColumns() {
|
254
281
|
return uniq(this.windowColumns.map((c) => c.referencedTDSColumns).flat());
|
@@ -273,6 +300,11 @@ export class QueryBuilderWindowState {
|
|
273
300
|
this.windowColumns[toIndex] = fromCol;
|
274
301
|
}
|
275
302
|
}
|
303
|
+
isColumnOrderValid(columnName, indexRange) {
|
304
|
+
return this.windowColumns
|
305
|
+
.slice(0, indexRange)
|
306
|
+
.some((col) => col.columnName === columnName);
|
307
|
+
}
|
276
308
|
get hashCode() {
|
277
309
|
return hashArray([
|
278
310
|
QUERY_BUILDER_STATE_HASH_STRUCTURE.TDS_WINDOW_GROUPBY_STATE,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderWindowState.js","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/window/QueryBuilderWindowState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,iBAAiB,EAAa,MAAM,qBAAqB,CAAC;AACnE,OAAO,EACL,cAAc,EACd,WAAW,EACX,oBAAoB,EACpB,SAAS,EACT,IAAI,GAEL,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AACpE,OAAO,EAAE,kCAAkC,EAAE,MAAM,wCAAwC,CAAC;AAC5F,OAAO,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AAE9E,OAAO,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AAK9E,MAAM,CAAC,MAAM,oCAAoC,GAAG,eAAe,CAAC;
|
1
|
+
{"version":3,"file":"QueryBuilderWindowState.js","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/window/QueryBuilderWindowState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,iBAAiB,EAAa,MAAM,qBAAqB,CAAC;AACnE,OAAO,EACL,cAAc,EACd,WAAW,EACX,oBAAoB,EACpB,SAAS,EACT,IAAI,GAEL,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AACpE,OAAO,EAAE,kCAAkC,EAAE,MAAM,wCAAwC,CAAC;AAC5F,OAAO,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AAE9E,OAAO,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AAK9E,MAAM,CAAC,MAAM,oCAAoC,GAAG,eAAe,CAAC;AAepE,MAAM,OAAO,8BAA8B;IACzC,WAAW,CAA6B;IACxC,QAAQ,CAAmB;IAE3B,YACE,WAAuC,EACvC,QAA0B;QAE1B,cAAc,CAAC,IAAI,EAAE;YACnB,WAAW,EAAE,UAAU;YACvB,QAAQ,EAAE,UA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1C,CAAC;IAED,UAAU,CAAC,SAAiB,EAAE,OAAe;QAC3C,MAAM,OAAO,GAAG,IAAI,CAAC,aAAa,CAAC,SAAS,CAAC,CAAC;QAC9C,MAAM,KAAK,GAAG,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;QAC1C,IAAI,OAAO,IAAI,KAAK,EAAE;YACpB,IAAI,CAAC,aAAa,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC;YACtC,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,GAAG,OAAO,CAAC;SACvC;IACH,CAAC;IAED,kBAAkB,CAAC,UAAkB,EAAE,UAAkB;QACvD,OAAO,IAAI,CAAC,aAAa;aACtB,KAAK,CAAC,CAAC,EAAE,UAAU,CAAC;aACpB,IAAI,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,UAAU,KAAK,UAAU,CAAC,CAAC;IAClD,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,kCAAkC,CAAC,wBAAwB;YAC3D,SAAS,CAAC,IAAI,CAAC,aAAa,CAAC;SAC9B,CAAC,CAAC;IACL,CAAC;CACF"}
|
@@ -14,7 +14,7 @@
|
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
16
|
import { action, computed, makeObservable, observable, flow } from 'mobx';
|
17
|
-
import { assertTrue,
|
17
|
+
import { assertTrue, getNullableFirstEntry, guaranteeNonNullable, guaranteeType, IllegalStateError, uuid, addUniqueEntry, deleteEntry, assertErrorThrown, filterByType, ActionState, hashArray, isNonNullable, } from '@finos/legend-shared';
|
18
18
|
import { QueryBuilderPropertyExpressionState } from '../QueryBuilderPropertyEditorState.js';
|
19
19
|
import { observe_ValueSpecification, } from '@finos/legend-graph';
|
20
20
|
import { DEFAULT_LAMBDA_VARIABLE_NAME } from '../QueryBuilderConfig.js';
|
@@ -304,7 +304,7 @@ export class QueryBuilderFilterState {
|
|
304
304
|
}
|
305
305
|
getRootNode() {
|
306
306
|
assertTrue(this.rootIds.length < 2, 'Query builder filter tree cannot have more than 1 root');
|
307
|
-
const rootId =
|
307
|
+
const rootId = getNullableFirstEntry(this.rootIds);
|
308
308
|
return rootId ? this.getNode(rootId) : undefined;
|
309
309
|
}
|
310
310
|
getParentNode(node) {
|