@finos/legend-query-builder 3.0.1 → 3.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (47) hide show
  1. package/lib/components/QueryBuilderResultPanel.d.ts.map +1 -1
  2. package/lib/components/QueryBuilderResultPanel.js +6 -14
  3. package/lib/components/QueryBuilderResultPanel.js.map +1 -1
  4. package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.d.ts.map +1 -1
  5. package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.js +3 -1
  6. package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.js.map +1 -1
  7. package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.d.ts.map +1 -1
  8. package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.js +2 -1
  9. package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.js.map +1 -1
  10. package/lib/components/fetch-structure/QueryBuilderTDSWindowPanel.d.ts.map +1 -1
  11. package/lib/components/fetch-structure/QueryBuilderTDSWindowPanel.js +8 -2
  12. package/lib/components/fetch-structure/QueryBuilderTDSWindowPanel.js.map +1 -1
  13. package/lib/index.css +1 -1
  14. package/lib/package.json +1 -1
  15. package/lib/stores/QueryBuilderState.d.ts +1 -1
  16. package/lib/stores/QueryBuilderState.d.ts.map +1 -1
  17. package/lib/stores/QueryBuilderState.js +3 -3
  18. package/lib/stores/QueryBuilderState.js.map +1 -1
  19. package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.d.ts +2 -1
  20. package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.d.ts.map +1 -1
  21. package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.js +2 -1
  22. package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.js.map +1 -1
  23. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.d.ts +9 -7
  24. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.d.ts.map +1 -1
  25. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.js +15 -9
  26. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.js.map +1 -1
  27. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeValueSpecificationBuilder.js +1 -1
  28. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeValueSpecificationBuilder.js.map +1 -1
  29. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.d.ts +2 -1
  30. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.d.ts.map +1 -1
  31. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js +9 -2
  32. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js.map +1 -1
  33. package/lib/stores/fetch-structure/tds/window/QueryBuilderWindowState.d.ts +8 -1
  34. package/lib/stores/fetch-structure/tds/window/QueryBuilderWindowState.d.ts.map +1 -1
  35. package/lib/stores/fetch-structure/tds/window/QueryBuilderWindowState.js +36 -4
  36. package/lib/stores/fetch-structure/tds/window/QueryBuilderWindowState.js.map +1 -1
  37. package/package.json +5 -5
  38. package/src/components/QueryBuilderResultPanel.tsx +7 -15
  39. package/src/components/fetch-structure/QueryBuilderFetchStructurePanel.tsx +9 -3
  40. package/src/components/fetch-structure/QueryBuilderGraphFetchTreePanel.tsx +2 -4
  41. package/src/components/fetch-structure/QueryBuilderTDSWindowPanel.tsx +16 -4
  42. package/src/stores/QueryBuilderState.ts +3 -3
  43. package/src/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.ts +4 -2
  44. package/src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.ts +23 -15
  45. package/src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeValueSpecificationBuilder.ts +1 -1
  46. package/src/stores/fetch-structure/tds/QueryBuilderTDSState.ts +11 -2
  47. package/src/stores/fetch-structure/tds/window/QueryBuilderWindowState.ts +53 -4
@@ -25,7 +25,8 @@ export class QueryBuilderFetchStructureImplementationState {
25
25
  constructor(queryBuilderState, fetchStructureState) {
26
26
  makeObservable(this, {
27
27
  usedExplorerTreePropertyNodeIDs: computed,
28
- validationIssues: computed,
28
+ fetchStructureValidationIssues: computed,
29
+ allValidationIssues: computed,
29
30
  hashCode: computed,
30
31
  });
31
32
  this.queryBuilderState = queryBuilderState;
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderFetchStructureImplementationState.js","sourceRoot":"","sources":["../../../src/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AASH,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,MAAM,CAAC;AAOhD,MAAM,CAAN,IAAY,8BAGX;AAHD,WAAY,8BAA8B;IACxC,mFAAiD,CAAA;IACjD,6DAA2B,CAAA;AAC7B,CAAC,EAHW,8BAA8B,GAA9B,8BAA8B,KAA9B,8BAA8B,QAGzC;AAED,MAAM,OAAgB,6CAA6C;IAGxD,iBAAiB,CAAoB;IACrC,mBAAmB,CAAkC;IAE9D,YACE,iBAAoC,EACpC,mBAAoD;QAEpD,cAAc,CAAC,IAAI,EAAE;YACnB,+BAA+B,EAAE,QAAQ;YACzC,gBAAgB,EAAE,QAAQ;YAC1B,QAAQ,EAAE,QAAQ;SACnB,CAAC,CAAC;QAEH,IAAI,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;QAC3C,IAAI,CAAC,mBAAmB,GAAG,mBAAmB,CAAC;IACjD,CAAC;IAsBD,IAAI,sCAAsC;QACxC,OAAO,IAAI,CAAC,iBAAiB,CAAC,WAAW,CAAC,SAAS,CAAC;IACtD,CAAC;CAKF"}
1
+ {"version":3,"file":"QueryBuilderFetchStructureImplementationState.js","sourceRoot":"","sources":["../../../src/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AASH,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,MAAM,CAAC;AAOhD,MAAM,CAAN,IAAY,8BAGX;AAHD,WAAY,8BAA8B;IACxC,mFAAiD,CAAA;IACjD,6DAA2B,CAAA;AAC7B,CAAC,EAHW,8BAA8B,GAA9B,8BAA8B,KAA9B,8BAA8B,QAGzC;AAED,MAAM,OAAgB,6CAA6C;IAGxD,iBAAiB,CAAoB;IACrC,mBAAmB,CAAkC;IAE9D,YACE,iBAAoC,EACpC,mBAAoD;QAEpD,cAAc,CAAC,IAAI,EAAE;YACnB,+BAA+B,EAAE,QAAQ;YACzC,8BAA8B,EAAE,QAAQ;YACxC,mBAAmB,EAAE,QAAQ;YAC7B,QAAQ,EAAE,QAAQ;SACnB,CAAC,CAAC;QAEH,IAAI,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;QAC3C,IAAI,CAAC,mBAAmB,GAAG,mBAAmB,CAAC;IACjD,CAAC;IAuBD,IAAI,sCAAsC;QACxC,OAAO,IAAI,CAAC,iBAAiB,CAAC,WAAW,CAAC,SAAS,CAAC;IACtD,CAAC;CAKF"}
@@ -31,13 +31,14 @@ export declare enum GRAPH_FETCH_EXPORT_DATA_FORMAT {
31
31
  }
32
32
  export declare class PureSerializationConfig {
33
33
  typeKeyName: string;
34
- includeType: boolean;
35
- includeEnumType: boolean;
36
- removePropertiesWithNullValues: boolean;
37
- removePropertiesWithEmptySets: boolean;
38
- fullyQualifiedTypePath: boolean;
39
- includeObjectReference: boolean;
34
+ includeType: boolean | undefined;
35
+ includeEnumType: boolean | undefined;
36
+ removePropertiesWithNullValues: boolean | undefined;
37
+ removePropertiesWithEmptySets: boolean | undefined;
38
+ fullyQualifiedTypePath: boolean | undefined;
39
+ includeObjectReference: boolean | undefined;
40
40
  constructor();
41
+ static createDefault(): PureSerializationConfig;
41
42
  setTypeName(val: string): void;
42
43
  setIncludeType(val: boolean): void;
43
44
  setInclueEnumType(val: boolean): void;
@@ -88,7 +89,8 @@ export declare class QueryBuilderGraphFetchTreeState extends QueryBuilderFetchSt
88
89
  constructor(queryBuilderState: QueryBuilderState, fetchStructureState: QueryBuilderFetchStructureState);
89
90
  get type(): string;
90
91
  get usedExplorerTreePropertyNodeIDs(): string[];
91
- get validationIssues(): string[] | undefined;
92
+ get fetchStructureValidationIssues(): string[];
93
+ get allValidationIssues(): string[];
92
94
  initialize(): void;
93
95
  setSerializationState(val: GraphFetchSerializationState): void;
94
96
  setGraphFetchTree(val: QueryBuilderGraphFetchTreeData | undefined): void;
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderGraphFetchTreeState.d.ts","sourceRoot":"","sources":["../../../../src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAEpE,OAAO,EACL,KAAK,gBAAgB,EACrB,KAAK,KAAK,EACV,KAAK,cAAc,EACnB,KAAK,kBAAkB,EAIvB,KAAK,OAAO,EACb,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,KAAK,8BAA8B,EAGpC,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EAGL,KAAK,wCAAwC,EAC9C,MAAM,6CAA6C,CAAC;AACrD,OAAO,EAEL,6CAA6C,EAC9C,MAAM,qDAAqD,CAAC;AAC7D,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,uCAAuC,CAAC;AAK7F,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,sDAAsD,CAAC;AAExG,OAAO,EAIL,KAAK,QAAQ,EAEb,WAAW,EACZ,MAAM,sBAAsB,CAAC;AAG9B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAEvE,oBAAY,kBAAkB;IAC5B,IAAI,SAAS;IACb,eAAe,oBAAoB;CACpC;AAED,oBAAY,8BAA8B;IACxC,MAAM,WAAW;CAClB;AAID,qBAAa,uBAAuB;IAClC,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,OAA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,eAAe,CAAC,EAAE,OAAO,CAAC;KAC3B,GACA,IAAI;IAkBP,sBAAsB,CAAC,gBAAgB,EAAE,gBAAgB,GAAG,OAAO;IAInE,qBAAqB,IAAI,IAAI;IAI7B,aAAa,CAAC,IAAI,EAAE,wCAAwC,GAAG,IAAI;IAYnE,eAAe,CAAC,KAAK,EAAE,wCAAwC,EAAE,GAAG,IAAI;IAaxE,iCAAiC,CAAC,QAAQ,EAAE,MAAM,IAAI,GAAG,IAAI;IA2B7D,cAAc,CAAC,QAAQ,EAAE,kBAAkB,GAAG,OAAO;IAUrD,IAAI,QAAQ,IAAI,MAAM,CAMrB;CACF"}
1
+ {"version":3,"file":"QueryBuilderGraphFetchTreeState.d.ts","sourceRoot":"","sources":["../../../../src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAEpE,OAAO,EACL,KAAK,gBAAgB,EACrB,KAAK,KAAK,EACV,KAAK,cAAc,EACnB,KAAK,kBAAkB,EAIvB,KAAK,OAAO,EACb,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,KAAK,8BAA8B,EAGpC,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EAGL,KAAK,wCAAwC,EAC9C,MAAM,6CAA6C,CAAC;AACrD,OAAO,EAEL,6CAA6C,EAC9C,MAAM,qDAAqD,CAAC;AAC7D,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,uCAAuC,CAAC;AAK7F,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,sDAAsD,CAAC;AAExG,OAAO,EAIL,KAAK,QAAQ,EAEb,WAAW,EACZ,MAAM,sBAAsB,CAAC;AAG9B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAEvE,oBAAY,kBAAkB;IAC5B,IAAI,SAAS;IACb,eAAe,oBAAoB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/C;IAEQ,iBAAiB,CAAC,MAAM,EAAE,MAAM,GAAG,cAAc;IAY1D,aAAa,CAAC,MAAM,EAAE,KAAK,GAAG,SAAS,GAAG,IAAI;IAI9C,oBAAoB,CAClB,cAAc,EAAE,cAAc,EAC9B,OAAO,CAAC,EAAE,2BAA2B,GACpC,IAAI;IAIP,WAAW,CACT,IAAI,EAAE,wCAAwC,EAC9C,OAAO,CAAC,EAAE;QACR,eAAe,CAAC,EAAE,OAAO,CAAC;KAC3B,GACA,IAAI;IAkBP,sBAAsB,CAAC,gBAAgB,EAAE,gBAAgB,GAAG,OAAO;IAInE,qBAAqB,IAAI,IAAI;IAI7B,aAAa,CAAC,IAAI,EAAE,wCAAwC,GAAG,IAAI;IAYnE,eAAe,CAAC,KAAK,EAAE,wCAAwC,EAAE,GAAG,IAAI;IAaxE,iCAAiC,CAAC,QAAQ,EAAE,MAAM,IAAI,GAAG,IAAI;IA2B7D,cAAc,CAAC,QAAQ,EAAE,kBAAkB,GAAG,OAAO;IAUrD,IAAI,QAAQ,IAAI,MAAM,CAMrB;CACF"}
@@ -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 validationIssues() {
242
- return undefined;
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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C,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"}
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,kB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AC,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-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,EAC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Y,CAAC,CAAC;KAC7E;AACH,CAAC,CAAC"}
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,MAAM,IAAI,GAAG,MAAM,CAAC,kBAAkB,CAAC,CAAC,CAAC,CAAC;QAC1C,IAAI,IAAI,YAAY,wBAAwB,EAAE;YAC5C,IACE,iBAAiB,CACf,IAAI,CAAC,YAAY,EACjB,iCAAiC,CAAC,SAAS,CAC5C,EACD;gBACA,MAAM,KAAK,GAAG,IAAI,sBAAsB,CACtC,4BAA4B,CAAC,MAAM,CACjC,IAAI,WAAW,CAAC,aAAa,CAAC,OAAO,CAAC,CACvC,CACF,CAAC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AY,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 validationIssues(): string[] | undefined;
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,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KxB,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 validationIssues() {
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 undefined;
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;AAC/E,OAAO,EAAE,2BAA2B,EAAE,MAAM,8CAA8C,CAAC;AAE3F,OAAO,EAAE,sCAAsC,EAAE,MAAM,uDAAuD,CAAC;AAE/G,OAAO,EAAE,wCAAwC,EAAE,MAAM,sDAAsD,CAAC;AAChH,OAAO,EACL,2CAA2C,EAC3C,uCAAuC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AAQ,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,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,EA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F,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"}
@@ -24,6 +24,10 @@ export declare const QUERY_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 validationIssues(): string[] | undefined;
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,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;AAE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,CAAC;gBAGpD,QAAQ,EAAE,oBAAoB,EAC9B,SAAS,EAAE,8BAA8B,EAAE;IAe7C,IAAI,OAAO,IAAI,OAAO,CAErB;IAED,IAAI,gBAAgB,IAAI,MAAM,EAAE,GAAG,SAAS,CAU3C;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,IAAI,QAAQ,IAAI,MAAM,CAKrB;CACF"}
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;IA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AAG,SAAS,CAAC;gBAGpD,QAAQ,EAAE,oBAAoB,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
- validationIssues: computed,
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 validationIssues() {
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
- return ['Query has duplicated window columns'];
276
+ issues.push(`Query has duplicated window columns`);
250
277
  }
251
- return undefined;
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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U,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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-query-builder",
3
- "version": "3.0.1",
3
+ "version": "3.0.3",
4
4
  "description": "Legend query builder core",
5
5
  "keywords": [
6
6
  "legend",
@@ -42,10 +42,10 @@
42
42
  "test:watch": "jest --watch"
43
43
  },
44
44
  "dependencies": {
45
- "@finos/legend-application": "15.0.0",
46
- "@finos/legend-art": "7.0.1",
47
- "@finos/legend-graph": "28.0.1",
48
- "@finos/legend-lego": "0.1.6",
45
+ "@finos/legend-application": "15.0.1",
46
+ "@finos/legend-art": "7.0.2",
47
+ "@finos/legend-graph": "28.0.2",
48
+ "@finos/legend-lego": "0.1.7",
49
49
  "@finos/legend-server-depot": "5.0.0",
50
50
  "@finos/legend-shared": "9.0.0",
51
51
  "@finos/legend-storage": "3.0.49",
@@ -485,17 +485,13 @@ export const QueryBuilderResultPanel = observer(
485
485
  ],
486
486
  });
487
487
  };
488
- const queryValidationIssues = queryBuilderState.validationIssues;
489
- const queryWindowValidationIssues =
490
- fetchStructureImplementation instanceof QueryBuilderTDSState
491
- ? fetchStructureImplementation.windowState.validationIssues
492
- : undefined;
493
- const queryWindowStateIsValid = !queryWindowValidationIssues;
494
488
 
495
- const isSupportedQueryValid =
496
- queryBuilderState.validationIssues && queryWindowStateIsValid;
489
+ const allValidationIssues = queryBuilderState.allValidationIssues;
490
+
491
+ const isSupportedQueryValid = allValidationIssues.length === 0;
492
+
497
493
  const isQueryValid =
498
- !queryBuilderState.isQuerySupported || !isSupportedQueryValid;
494
+ !queryBuilderState.isQuerySupported || isSupportedQueryValid;
499
495
 
500
496
  const runQuery = (): void => {
501
497
  resultState.pressedRunQuery.inProgress();
@@ -624,12 +620,8 @@ export const QueryBuilderResultPanel = observer(
624
620
  onClick={runQuery}
625
621
  tabIndex={-1}
626
622
  title={
627
- queryValidationIssues
628
- ? `Query is not valid:\n${queryValidationIssues
629
- .map((issue) => `\u2022 ${issue}`)
630
- .join('\n')}`
631
- : queryWindowValidationIssues
632
- ? `Query is not valid:\n${queryWindowValidationIssues
623
+ allValidationIssues.length
624
+ ? `Query is not valid:\n${allValidationIssues
633
625
  .map((issue) => `\u2022 ${issue}`)
634
626
  .join('\n')}`
635
627
  : undefined
@@ -83,9 +83,15 @@ export const QueryBuilderFetchStructurePanel = observer(
83
83
  <div className="panel__header">
84
84
  <div className="panel__header__title">
85
85
  <div className="panel__header__title__label">fetch structure</div>
86
- <QueryBuilderPanelIssueCountBadge
87
- issues={fetchStructureState.implementation.validationIssues}
88
- />
86
+ {fetchStructureState.implementation.fetchStructureValidationIssues
87
+ .length !== 0 && (
88
+ <QueryBuilderPanelIssueCountBadge
89
+ issues={
90
+ fetchStructureState.implementation
91
+ .fetchStructureValidationIssues
92
+ }
93
+ />
94
+ )}
89
95
  </div>
90
96
  <div className="panel__header__actions">
91
97
  <div className="query-builder__fetch__structure__modes">
@@ -281,7 +281,6 @@ const PureSerializationConfigModal = observer(
281
281
  config.setInclueEnumType(Boolean(value))
282
282
  }
283
283
  />
284
-
285
284
  <PanelFormBooleanField
286
285
  name="Remove Properties With Null Values"
287
286
  value={config.removePropertiesWithNullValues}
@@ -290,7 +289,6 @@ const PureSerializationConfigModal = observer(
290
289
  config.setRemovePropertiesWithNullValues(Boolean(value))
291
290
  }
292
291
  />
293
-
294
292
  <PanelFormBooleanField
295
293
  name="Remove properties with empty sets"
296
294
  value={config.removePropertiesWithEmptySets}
@@ -299,7 +297,6 @@ const PureSerializationConfigModal = observer(
299
297
  config.setRemovePropertiesWithEmptySets(Boolean(value))
300
298
  }
301
299
  />
302
-
303
300
  <PanelFormBooleanField
304
301
  name="Use Fully Qualified Type Path"
305
302
  value={config.fullyQualifiedTypePath}
@@ -644,7 +641,8 @@ export const QueryBuilderGraphFetchTreeExplorer = observer(
644
641
  pureSerializationState={serializationState}
645
642
  graphFetchState={graphFetchState}
646
643
  config={
647
- serializationState.config ?? new PureSerializationConfig()
644
+ serializationState.config ??
645
+ PureSerializationConfig.createDefault()
648
646
  }
649
647
  />
650
648
  )}