@finos/legend-query-builder 0.1.0 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (97) hide show
  1. package/lib/components/QueryBuilder.d.ts +1 -0
  2. package/lib/components/QueryBuilder.d.ts.map +1 -1
  3. package/lib/components/QueryBuilderDiffPanel.d.ts +1 -0
  4. package/lib/components/QueryBuilderDiffPanel.d.ts.map +1 -1
  5. package/lib/components/QueryBuilderParametersPanel.d.ts +1 -0
  6. package/lib/components/QueryBuilderParametersPanel.d.ts.map +1 -1
  7. package/lib/components/QueryBuilderParametersPanel.js +2 -2
  8. package/lib/components/QueryBuilderParametersPanel.js.map +1 -1
  9. package/lib/components/QueryBuilderPropertyExpressionEditor.d.ts +1 -0
  10. package/lib/components/QueryBuilderPropertyExpressionEditor.d.ts.map +1 -1
  11. package/lib/components/QueryBuilderResultPanel.d.ts +1 -0
  12. package/lib/components/QueryBuilderResultPanel.d.ts.map +1 -1
  13. package/lib/components/QueryBuilderResultPanel.js +2 -2
  14. package/lib/components/QueryBuilderResultPanel.js.map +1 -1
  15. package/lib/components/QueryBuilderSideBar.d.ts +1 -0
  16. package/lib/components/QueryBuilderSideBar.d.ts.map +1 -1
  17. package/lib/components/QueryBuilderTextEditor.d.ts +1 -0
  18. package/lib/components/QueryBuilderTextEditor.d.ts.map +1 -1
  19. package/lib/components/QueryBuilderUnsupportedQueryEditor.d.ts +1 -0
  20. package/lib/components/QueryBuilderUnsupportedQueryEditor.d.ts.map +1 -1
  21. package/lib/components/QueryBuilderUnsupportedQueryEditor.js +2 -2
  22. package/lib/components/QueryBuilderUnsupportedQueryEditor.js.map +1 -1
  23. package/lib/components/QuerySetupUtils.d.ts +22 -0
  24. package/lib/components/QuerySetupUtils.d.ts.map +1 -0
  25. package/lib/components/QuerySetupUtils.js +20 -0
  26. package/lib/components/QuerySetupUtils.js.map +1 -0
  27. package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.d.ts +1 -0
  28. package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.d.ts.map +1 -1
  29. package/lib/components/explorer/QueryBuilderMilestoningEditor.d.ts +1 -0
  30. package/lib/components/explorer/QueryBuilderMilestoningEditor.d.ts.map +1 -1
  31. package/lib/components/explorer/QueryBuilderPropertySearchPanel.d.ts +1 -0
  32. package/lib/components/explorer/QueryBuilderPropertySearchPanel.d.ts.map +1 -1
  33. package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.d.ts +1 -0
  34. package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.d.ts.map +1 -1
  35. package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.js +3 -3
  36. package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.js.map +1 -1
  37. package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.d.ts +1 -0
  38. package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.d.ts.map +1 -1
  39. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.d.ts +1 -0
  40. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.d.ts.map +1 -1
  41. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js +3 -3
  42. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js.map +1 -1
  43. package/lib/components/fetch-structure/QueryBuilderProjectionPanel.d.ts +1 -0
  44. package/lib/components/fetch-structure/QueryBuilderProjectionPanel.d.ts.map +1 -1
  45. package/lib/components/fetch-structure/QueryBuilderProjectionPanel.js +2 -2
  46. package/lib/components/fetch-structure/QueryBuilderProjectionPanel.js.map +1 -1
  47. package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.d.ts +1 -0
  48. package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.d.ts.map +1 -1
  49. package/lib/components/filter/QueryBuilderFilterPanel.d.ts +1 -0
  50. package/lib/components/filter/QueryBuilderFilterPanel.d.ts.map +1 -1
  51. package/lib/components/filter/QueryBuilderFilterPanel.js +2 -2
  52. package/lib/components/filter/QueryBuilderFilterPanel.js.map +1 -1
  53. package/lib/components/shared/QueryBuilderLambdaEditor.d.ts +1 -0
  54. package/lib/components/shared/QueryBuilderLambdaEditor.d.ts.map +1 -1
  55. package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_FunctionExpressionBuilder.d.ts.map +1 -1
  56. package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_FunctionExpressionBuilder.js +4 -4
  57. package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_FunctionExpressionBuilder.js.map +1 -1
  58. package/lib/index.css +1 -1
  59. package/lib/index.d.ts +1 -0
  60. package/lib/index.d.ts.map +1 -1
  61. package/lib/index.js +1 -0
  62. package/lib/index.js.map +1 -1
  63. package/lib/package.json +6 -6
  64. package/lib/stores/QueryBuilderChangeDetectionState.d.ts +1 -0
  65. package/lib/stores/QueryBuilderChangeDetectionState.d.ts.map +1 -1
  66. package/lib/stores/QueryBuilderChangeDetectionState.js +24 -0
  67. package/lib/stores/QueryBuilderChangeDetectionState.js.map +1 -1
  68. package/lib/stores/QueryBuilderParametersState.d.ts +1 -1
  69. package/lib/stores/QueryBuilderParametersState.d.ts.map +1 -1
  70. package/lib/stores/QueryBuilderParametersState.js +1 -1
  71. package/lib/stores/QueryBuilderParametersState.js.map +1 -1
  72. package/lib/stores/QueryBuilderState.d.ts.map +1 -1
  73. package/lib/stores/QueryBuilderState.js +2 -1
  74. package/lib/stores/QueryBuilderState.js.map +1 -1
  75. package/lib/stores/QueryBuilderTypeaheadHelper.d.ts.map +1 -1
  76. package/lib/stores/QueryBuilderTypeaheadHelper.js +3 -4
  77. package/lib/stores/QueryBuilderTypeaheadHelper.js.map +1 -1
  78. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionValueSpecificationBuilder.d.ts.map +1 -1
  79. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionValueSpecificationBuilder.js +7 -7
  80. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionValueSpecificationBuilder.js.map +1 -1
  81. package/package.json +13 -13
  82. package/src/components/QueryBuilderParametersPanel.tsx +1 -2
  83. package/src/components/QueryBuilderResultPanel.tsx +3 -2
  84. package/src/components/QueryBuilderUnsupportedQueryEditor.tsx +8 -9
  85. package/src/components/QuerySetupUtils.ts +23 -0
  86. package/src/components/fetch-structure/QueryBuilderFetchStructurePanel.tsx +10 -5
  87. package/src/components/fetch-structure/QueryBuilderPostFilterPanel.tsx +5 -4
  88. package/src/components/fetch-structure/QueryBuilderProjectionPanel.tsx +3 -2
  89. package/src/components/filter/QueryBuilderFilterPanel.tsx +3 -2
  90. package/src/graphManager/protocol/pure/v1/V1_QueryBuilder_FunctionExpressionBuilder.ts +3 -4
  91. package/src/index.ts +1 -0
  92. package/src/stores/QueryBuilderChangeDetectionState.ts +31 -0
  93. package/src/stores/QueryBuilderParametersState.ts +3 -1
  94. package/src/stores/QueryBuilderState.ts +2 -1
  95. package/src/stores/QueryBuilderTypeaheadHelper.ts +6 -5
  96. package/src/stores/fetch-structure/projection/QueryBuilderProjectionValueSpecificationBuilder.ts +10 -10
  97. package/tsconfig.json +1 -0
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderChangeDetectionState.js","sourceRoot":"","sources":["../../src/stores/QueryBuilderChangeDetectionState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EACL,WAAW,EACX,iBAAiB,EACjB,iBAAiB,GAElB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAG1E,MAAM,CAAN,IAAY,wBAGX;AAHD,WAAY,wBAAwB;IAClC,yCAAa,CAAA;IACb,+CAAmB,CAAA;AACrB,CAAC,EAHW,wBAAwB,GAAxB,wBAAwB,KAAxB,wBAAwB,QAGnC;AAED,MAAM,OAAO,yBAAyB;IAC3B,oBAAoB,CAAmC;IACvD,YAAY,CAAY;IACxB,YAAY,CAAY;IAEjC,IAAI,GAAG,wBAAwB,CAAC,OAAO,CAA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E,CAAC;IACjC,aAAa,CAAyC;IACtD,YAAY,CAAyB;IACrC,eAAe,CAAsB;IAErC,YAAY,iBAAoC;QAC9C,cAAc,CAAC,IAAI,EAAE;YACnB,aAAa,EAAE,UAAU;YACzB,eAAe,EAAE,UAAU;YAC3B,YAAY,EAAE,UAAU;YACxB,UAAU,EAAE,QAAQ;YACpB,UAAU,EAAE,MAAM;YAClB,iBAAiB,EAAE,MAAM;YACzB,iBAAiB,EAAE,MAAM;SAC1B,CAAC,CAAC;QAEH,IAAI,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;IAC7C,CAAC;IAED,iBAAiB;QACf,iBAAiB,CACf,IAAI,CAAC,YAAY,EACjB,kEAAkE,CACnE,CAAC;QACF,IAAI,CAAC,aAAa,GAAG,IAAI,yBAAyB,CAChD,IAAI,EACJ,IAAI,CAAC,YAAY,EACjB,IAAI,CAAC,iBAAiB,CAAC,UAAU,EAAE,CACpC,CAAC;IACJ,CAAC;IAED,iBAAiB;QACf,IAAI,CAAC,aAAa,GAAG,SAAS,CAAC;IACjC,CAAC;IAED,IAAI,UAAU;QACZ,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,YAAY,EAAE;YAChC,OAAO,KAAK,CAAC;SACd;QACD,OAAO,IAAI,CAAC,iBAAiB,CAAC,QAAQ,KAAK,IAAI,CAAC,eAAe,CAAC;IAClE,CAAC;IAED,UAAU,CAAC,YAAuB;QAChC,IAAI,CAAC,SAAS,CAAC,UAAU,EAAE,CAAC;QAC5B,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC,iBAAiB,CAAC,QAAQ,CAAC;QACvD,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,IAAI,CAAC,SAAS,CAAC,QAAQ,EAAE,CAAC;IAC5B,CAAC;CACF"}
1
+ {"version":3,"file":"QueryBuilderChangeDetectionState.js","sourceRoot":"","sources":["../../src/stores/QueryBuilderChangeDetectionState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;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C,SAAS,CAAC,YAAY,EAAE;YAChC,OAAO,KAAK,CAAC;SACd;QACD,OAAO,IAAI,CAAC,iBAAiB,CAAC,QAAQ,KAAK,IAAI,CAAC,eAAe,CAAC;IAClE,CAAC;IAED,UAAU,CAAC,YAAuB;QAChC,IAAI,CAAC,SAAS,CAAC,UAAU,EAAE,CAAC;QAC5B,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC,iBAAiB,CAAC,QAAQ,CAAC;QACvD,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,IAAI,CAAC,SAAS,CAAC,QAAQ,EAAE,CAAC;IAC5B,CAAC;IAED,mBAAmB,CAAC,SAAqB;QACvC,IAAI,IAAI,CAAC,UAAU,EAAE;YACnB,IAAI,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,kBAAkB,CAAC;gBACzD,OAAO,EACL,2FAA2F;gBAC7F,IAAI,EAAE,eAAe,CAAC,OAAO;gBAC7B,OAAO,EAAE;oBACP;wBACE,KAAK,EAAE,SAAS;wBAChB,IAAI,EAAE,qBAAqB,CAAC,oBAAoB;wBAChD,OAAO,EACL,IAAI,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,mBAAmB,CACzD,KAAK,IAAI,EAAE,CAAC,SAAS,EAAE,CACxB;qBACJ;oBACD;wBACE,KAAK,EAAE,QAAQ;wBACf,IAAI,EAAE,qBAAqB,CAAC,OAAO;wBACnC,OAAO,EAAE,IAAI;qBACd;iBACF;aACF,CAAC,CAAC;SACJ;aAAM;YACL,SAAS,EAAE,CAAC;SACb;IACH,CAAC;CACF"}
@@ -21,8 +21,8 @@ export interface QueryBuilderParameterDragSource {
21
21
  variable: LambdaParameterState;
22
22
  }
23
23
  export declare class QueryBuilderParametersState extends LambdaParametersState implements Hashable {
24
+ readonly queryBuilderState: QueryBuilderState;
24
25
  selectedParameter: LambdaParameterState | undefined;
25
- queryBuilderState: QueryBuilderState;
26
26
  constructor(queryBuilderState: QueryBuilderState);
27
27
  get hashCode(): string;
28
28
  setSelectedParameter(val: LambdaParameterState | undefined): void;
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderParametersState.d.ts","sourceRoot":"","sources":["../../src/stores/QueryBuilderParametersState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,qBAAqB,EACrB,KAAK,oBAAoB,EAC1B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,KAAK,QAAQ,EAAa,MAAM,sBAAsB,CAAC;AAGhE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAEhE,eAAO,MAAM,gCAAgC,cAAc,CAAC;AAE5D,MAAM,WAAW,+BAA+B;IAC9C,QAAQ,EAAE,oBAAoB,CAAC;CAChC;AAED,qBAAa,2BACX,SAAQ,qBACR,YAAW,QAAQ;IAEnB,iBAAiB,EAAE,oBAAoB,GAAG,SAAS,CAAC;IACpD,iBAAiB,EAAE,iBAAiB,CAAC;gBAEzB,iBAAiB,EAAE,iBAAiB;IAgBhD,IAAa,QAAQ,IAAI,MAAM,CAK9B;IAED,oBAAoB,CAAC,GAAG,EAAE,oBAAoB,GAAG,SAAS,GAAG,IAAI;CAGlE"}
1
+ {"version":3,"file":"QueryBuilderParametersState.d.ts","sourceRoot":"","sources":["../../src/stores/QueryBuilderParametersState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,qBAAqB,EACrB,KAAK,oBAAoB,EAC1B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,KAAK,QAAQ,EAAa,MAAM,sBAAsB,CAAC;AAGhE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAEhE,eAAO,MAAM,gCAAgC,cAAc,CAAC;AAE5D,MAAM,WAAW,+BAA+B;IAC9C,QAAQ,EAAE,oBAAoB,CAAC;CAChC;AAED,qBAAa,2BACX,SAAQ,qBACR,YAAW,QAAQ;IAEnB,QAAQ,CAAC,iBAAiB,EAAE,iBAAiB,CAAC;IAE9C,iBAAiB,EAAE,oBAAoB,GAAG,SAAS,CAAC;gBAExC,iBAAiB,EAAE,iBAAiB;IAiBhD,IAAa,QAAQ,IAAI,MAAM,CAK9B;IAED,oBAAoB,CAAC,GAAG,EAAE,oBAAoB,GAAG,SAAS,GAAG,IAAI;CAGlE"}
@@ -19,8 +19,8 @@ import { observable, makeObservable, action, override } from 'mobx';
19
19
  import { QUERY_BUILDER_HASH_STRUCTURE } from '../graphManager/QueryBuilderHashUtils.js';
20
20
  export const QUERY_BUILDER_PARAMETER_DND_TYPE = 'PARAMETER';
21
21
  export class QueryBuilderParametersState extends LambdaParametersState {
22
- selectedParameter;
23
22
  queryBuilderState;
23
+ selectedParameter;
24
24
  constructor(queryBuilderState) {
25
25
  super();
26
26
  makeObservable(this, {
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderParametersState.js","sourceRoot":"","sources":["../../src/stores/QueryBuilderParametersState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,qBAAqB,GAEtB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAiB,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AACpE,OAAO,EAAE,4BAA4B,EAAE,MAAM,0CAA0C,CAAC;AAGxF,MAAM,CAAC,MAAM,gCAAgC,GAAG,WAAW,CAAC;AAM5D,MAAM,OAAO,2BACX,SAAQ,qBAAqB;IAG7B,iBAAiB,CAAmC;IACpD,iBAAiB,CAAoB;IAErC,YAAY,iBAAoC;QAC9C,KAAK,EAAE,CAAC;QACR,cAAc,CAAC,IAAI,EAAE;YACnB,0BAA0B,EAAE,UAAU;YACtC,eAAe,EAAE,UAAU;YAC3B,YAAY,EAAE,MAAM;YACpB,eAAe,EAAE,MAAM;YACvB,aAAa,EAAE,MAAM;YACrB,i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GAAG,IAAI;IAOjC,aAAa,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI;IAKjC,UAAU,CAAC,OAAO,CAAC,EAAE;QAAE,qBAAqB,EAAE,OAAO,CAAA;KAAE,GAAG,SAAS;IAoBnE,mBAAmB,CAAC,KAAK,EAAE,SAAS,GAAG,IAAI;IAK3C;;OAEG;IACH,gBAAgB,CAAC,KAAK,EAAE,SAAS,GAAG,IAAI;IA+ClC,SAAS,CACb,WAAW,EAAE,CAAC,MAAM,EAAE,SAAS,KAAK,OAAO,CAAC,IAAI,CAAC,GAChD,OAAO,CAAC,IAAI,CAAC;IAUf,YAAY,IAAI,WAAW,CAAC,IAAI,CAAC;IAoFlC,IAAI,gBAAgB,IAAI,MAAM,EAAE,GAAG,SAAS,CAE3C;IAED;;;;OAIG;IACH,kCAAkC,IAAI,iBAAiB;IAYvD,IAAI,QAAQ,IAAI,MAAM,CASrB;CACF;AAED;;;;;;;;;GASG;AACH,qBAAa,gCAAiC,SAAQ,iBAAiB;CAAG"}
@@ -173,12 +173,13 @@ export class QueryBuilderState {
173
173
  this.resetQueryContent();
174
174
  this.setClass(val);
175
175
  this.explorerState.refreshTreeData();
176
- this.milestoningState.updateMilestoningConfiguration();
177
176
  this.fetchStructureState.implementation.onClassChange(val);
177
+ this.milestoningState.updateMilestoningConfiguration();
178
178
  }
179
179
  changeMapping(val) {
180
180
  this.resetQueryResult();
181
181
  this.resetQueryContent();
182
+ this.milestoningState.updateMilestoningConfiguration();
182
183
  this.setMapping(val);
183
184
  }
184
185
  changeRuntime(val) {
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderState.js","sourceRoot":"","sources":["../../src/stores/QueryBuilderState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,UAAU,EAAE,cAAc,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AAC1E,OAAO,EAEL,QAAQ,EACR,iBAAiB,EACjB,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AAmB,CAAC,KAAK,CAAC,CAAC;qBACjD;iBACF;aACF;oBAAS;gBACR,IAAI,CAAC,iBAAiB,CAAC,QAAQ,EAAE,CAAC;aACnC;SACF;IACH,CAAC;IAED,IAAI,gBAAgB;QAClB,OAAO,IAAI,CAAC,mBAAmB,CAAC,cAAc,CAAC,gBAAgB,CAAC;IAClE,CAAC;IAED;;;;OAIG;IACH,kCAAkC;QAChC,mEAAmE;QACnE,MAAM,UAAU,GAAG,IAAI,gCAAgC,CACrD,IAAI,CAAC,gBAAgB,EACrB,IAAI,CAAC,iBAAiB,CACvB,CAAC;QACF,UAAU,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC;QAC9B,UAAU,CAAC,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC;QAClC,UAAU,CAAC,YAAY,GAAG,IAAI,CAAC,YAAY,CAAC;QAC5C,OAAO,UAAU,CAAC;IACpB,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,4BAA4B,CAAC,mBAAmB;YAChD,IAAI,CAAC,qBAAqB;YAC1B,IAAI,CAAC,gBAAgB;YACrB,IAAI,CAAC,eAAe;YACpB,IAAI,CAAC,WAAW;YAChB,IAAI,CAAC,mBAAmB,CAAC,cAAc;SACxC,CAAC,CAAC;IACL,CAAC;CACF;AAED;;;;;;;;;GASG;AACH,MAAM,OAAO,gCAAiC,SAAQ,iBAAiB;CAAG"}
1
+ {"version":3,"file":"QueryBuilderState.js","sourceRoot":"","sources":["../../src/stores/QueryBuilderState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,UAAU,EAAE,cAAc,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AAC1E,OAAO,EAEL,QAAQ,EACR,iBAAiB,EACjB,oBAAoB,EACpB,aAAa,EACb,YAAY,EACZ,WAAW,EACX,SAAS,GACV,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAA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aACF;oBAAS;gBACR,IAAI,CAAC,iBAAiB,CAAC,QAAQ,EAAE,CAAC;aACnC;SACF;IACH,CAAC;IAED,IAAI,gBAAgB;QAClB,OAAO,IAAI,CAAC,mBAAmB,CAAC,cAAc,CAAC,gBAAgB,CAAC;IAClE,CAAC;IAED;;;;OAIG;IACH,kCAAkC;QAChC,mEAAmE;QACnE,MAAM,UAAU,GAAG,IAAI,gCAAgC,CACrD,IAAI,CAAC,gBAAgB,EACrB,IAAI,CAAC,iBAAiB,CACvB,CAAC;QACF,UAAU,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC;QAC9B,UAAU,CAAC,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC;QAClC,UAAU,CAAC,YAAY,GAAG,IAAI,CAAC,YAAY,CAAC;QAC5C,OAAO,UAAU,CAAC;IACpB,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,4BAA4B,CAAC,mBAAmB;YAChD,IAAI,CAAC,qBAAqB;YAC1B,IAAI,CAAC,gBAAgB;YACrB,IAAI,CAAC,eAAe;YACpB,IAAI,CAAC,WAAW;YAChB,IAAI,CAAC,mBAAmB,CAAC,cAAc;SACxC,CAAC,CAAC;IACL,CAAC;CACF;AAED;;;;;;;;;GASG;AACH,MAAM,OAAO,gCAAiC,SAAQ,iBAAiB;CAAG"}
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderTypeaheadHelper.d.ts","sourceRoot":"","sources":["../../src/stores/QueryBuilderTypeaheadHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,0BAA0B,EAC/B,KAAK,eAAe,EACpB,KAAK,kBAAkB,EAIvB,KAAK,SAAS,EACf,MAAM,qBAAqB,CAAC;AAG7B,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,0EAA0E,CAAC;AAKjI,OAAO,EACL,iCAAiC,EAElC,MAAM,mEAAmE,CAAC;AAC3E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAqDhE,eAAO,MAAM,2BAA2B,sBACnB,iBAAiB,sBAChB,0BAA0B,SACvC,kBAAkB,GAAG,SAAS,KACpC,SAYF,CAAC;AAEF,eAAO,MAAM,mCAAmC,sBAC3B,iBAAiB,eAEhC,iCAAiC,GACjC,gCAAgC,SAC7B,kBAAkB,GAAG,SAAS,KACpC,SAGF,CAAC;AAEF,eAAO,MAAM,qBAAqB,WAAY,eAAe,KAAG,MAAM,EAgBrE,CAAC;AAEF,eAAO,MAAM,gBAAgB,QACtB,kBAAkB,GAAG,SAAS,KAClC,OAaF,CAAC"}
1
+ {"version":3,"file":"QueryBuilderTypeaheadHelper.d.ts","sourceRoot":"","sources":["../../src/stores/QueryBuilderTypeaheadHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,0BAA0B,EAC/B,KAAK,eAAe,EACpB,KAAK,kBAAkB,EAIvB,KAAK,SAAS,EACf,MAAM,qBAAqB,CAAC;AAG7B,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,0EAA0E,CAAC;AAKjI,OAAO,EACL,iCAAiC,EAElC,MAAM,mEAAmE,CAAC;AAC3E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAsDhE,eAAO,MAAM,2BAA2B,sBACnB,iBAAiB,sBAChB,0BAA0B,SACvC,kBAAkB,GAAG,SAAS,KACpC,SAYF,CAAC;AAEF,eAAO,MAAM,mCAAmC,sBAC3B,iBAAiB,eAEhC,iCAAiC,GACjC,gCAAgC,SAC7B,kBAAkB,GAAG,SAAS,KACpC,SAGF,CAAC;AAEF,eAAO,MAAM,qBAAqB,WAAY,eAAe,KAAG,MAAM,EAgBrE,CAAC;AAEF,eAAO,MAAM,gBAAgB,QACtB,kBAAkB,GAAG,SAAS,KAClC,OAaF,CAAC"}
@@ -19,13 +19,12 @@ import { QueryBuilderPostFilterOperator_StartWith } from './fetch-structure/proj
19
19
  import { PostFilterConditionState, QueryBuilderPostFilterTreeConditionNodeData, } from './fetch-structure/projection/post-filter/QueryBuilderPostFilterState.js';
20
20
  import { QueryBuilderProjectionColumnState, QueryBuilderSimpleProjectionColumnState, } from './fetch-structure/projection/QueryBuilderProjectionColumnState.js';
21
21
  import { QueryBuilderProjectionState } from './fetch-structure/projection/QueryBuilderProjectionState.js';
22
- const TYPEAHEAD_TAKE_LIMIT = 10;
23
- const START_LENGTH = 3;
22
+ import { DEFAULT_TYPEAHEAD_SEARCH_LIMIT, DEFAULT_TYPEAHEAD_SEARCH_MINIMUM_SEARCH_LENGTH, } from '@finos/legend-application';
24
23
  const initializeQueryBuilderState = (queryBuilderState) => {
25
24
  const builderState = queryBuilderState.INTERNAL__toBasicQueryBuilderState();
26
25
  const projectionState = guaranteeType(builderState.fetchStructureState.implementation, QueryBuilderProjectionState);
27
26
  projectionState.resultSetModifierState.distinct = true;
28
- projectionState.resultSetModifierState.limit = TYPEAHEAD_TAKE_LIMIT;
27
+ projectionState.resultSetModifierState.limit = DEFAULT_TYPEAHEAD_SEARCH_LIMIT;
29
28
  return builderState;
30
29
  };
31
30
  const buildColumnTypeaheadQuery = (builderState, columnState, value) => {
@@ -74,7 +73,7 @@ export const performTypeahead = (val) => {
74
73
  switch (_type.path) {
75
74
  case PRIMITIVE_TYPE.STRING: {
76
75
  const value = val.values[0];
77
- return value.length >= START_LENGTH;
76
+ return value.length >= DEFAULT_TYPEAHEAD_SEARCH_MINIMUM_SEARCH_LENGTH;
78
77
  }
79
78
  default:
80
79
  return false;
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderTypeaheadHelper.js","sourceRoot":"","sources":["../../src/stores/QueryBuilderTypeaheadHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAIL,sBAAsB,EACtB,cAAc,EACd,kBAAkB,GAEnB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,aAAa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AAC,EAAE;YACf,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;SACjB;IACH,CAAC,CAAC,CAAC;IACL,OAAO,OAAO,CAAC;AACjB,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAC9B,GAAmC,EAC1B,EAAE;IACX,IAAI,GAAG,YAAY,sBAAsB,EAAE;QACzC,MAAM,KAAK,GAAG,GAAG,CAAC,WAAW,CAAC,KAAK,CAAC,OAAO,CAAC;QAC5C,QAAQ,KAAK,CAAC,IAAI,EAAE;YAClB,KAAK,cAAc,CAAC,MAAM,CAAC,CAAC;gBAC1B,MAAM,KAAK,GAAG,GAAG,CAAC,MAAM,CAAC,CAAC,CAAW,CAAC;gBACtC,OAAO,KAAK,CAAC,MAAM,IAAI,8CAA8C,CAAC;aACvE;YACD;gBACE,OAAO,KAAK,CAAC;SAChB;KACF;IACD,OAAO,KAAK,CAAC;AACf,CAAC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderProjectionValueSpecificationBuilder.d.ts","sourceRoot":"","sources":["../../../../src/stores/fetch-structure/projection/QueryBuilderProjectionValueSpecificationBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,cAAc,EAgBpB,MAAM,qBAAqB,CAAC;AAa7B,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAuIpF,eAAO,MAAM,gBAAgB,oBACV,2BAA2B,kBAC5B,cAAc,YACpB;IACR;;;OAGG;IACH,wBAAwB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC/C,qBAAqB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CAC7C,KACA,IA+NF,CAAC"}
1
+ {"version":3,"file":"QueryBuilderProjectionValueSpecificationBuilder.d.ts","sourceRoot":"","sources":["../../../../src/stores/fetch-structure/projection/QueryBuilderProjectionValueSpecificationBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,cAAc,EAepB,MAAM,qBAAqB,CAAC;AAa7B,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAwIpF,eAAO,MAAM,gBAAgB,oBACV,2BAA2B,kBAC5B,cAAc,YACpB;IACR;;;OAGG;IACH,wBAAwB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC/C,qBAAqB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CAC7C,KACA,IA+NF,CAAC"}
@@ -13,7 +13,7 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- import { CollectionInstanceValue, extractElementNameFromPath, GenericType, GenericTypeExplicitReference, Multiplicity, PrimitiveInstanceValue, PRIMITIVE_TYPE, SimpleFunctionExpression, TYPICAL_MULTIPLICITY_TYPE, INTERNAL__UnknownValueSpecification, V1_serializeRawValueSpecification, V1_transformRawLambda, V1_GraphTransformerContextBuilder, matchFunctionName, } from '@finos/legend-graph';
16
+ import { CollectionInstanceValue, extractElementNameFromPath, GenericType, GenericTypeExplicitReference, PrimitiveInstanceValue, PRIMITIVE_TYPE, SimpleFunctionExpression, TYPICAL_MULTIPLICITY_TYPE, INTERNAL__UnknownValueSpecification, V1_serializeRawValueSpecification, V1_transformRawLambda, V1_GraphTransformerContextBuilder, matchFunctionName, } from '@finos/legend-graph';
17
17
  import { guaranteeNonNullable, UnsupportedOperationError, } from '@finos/legend-shared';
18
18
  import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../graphManager/QueryBuilderSupportedFunctions.js';
19
19
  import { buildPropertyExpressionChain } from '../../QueryBuilderValueSpecificationBuilderHelper.js';
@@ -51,7 +51,7 @@ const appendResultSetModifier = (resultModifierState, lambda, options) => {
51
51
  // build sort()
52
52
  if (resultModifierState.sortColumns.length) {
53
53
  const sortFunction = new SimpleFunctionExpression(extractElementNameFromPath(QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_SORT), multiplicityOne);
54
- const multiplicity = new Multiplicity(resultModifierState.sortColumns.length, resultModifierState.sortColumns.length);
54
+ const multiplicity = resultModifierState.projectionState.queryBuilderState.graphManagerState.graph.getMultiplicity(resultModifierState.sortColumns.length, resultModifierState.sortColumns.length);
55
55
  const collection = new CollectionInstanceValue(multiplicity, undefined);
56
56
  collection.values =
57
57
  resultModifierState.sortColumns.map(buildSortExpression);
@@ -86,11 +86,11 @@ export const appendProjection = (projectionState, lambdaFunction, options) => {
86
86
  if (projectionState.aggregationState.columns.length) {
87
87
  // aggregation
88
88
  const groupByFunction = new SimpleFunctionExpression(extractElementNameFromPath(QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_GROUP_BY), multiplicityOne);
89
- const colLambdas = new CollectionInstanceValue(new Multiplicity(projectionState.columns.length -
89
+ const colLambdas = new CollectionInstanceValue(queryBuilderState.graphManagerState.graph.getMultiplicity(projectionState.columns.length -
90
90
  projectionState.aggregationState.columns.length, projectionState.columns.length -
91
91
  projectionState.aggregationState.columns.length));
92
- const aggregateLambdas = new CollectionInstanceValue(new Multiplicity(projectionState.aggregationState.columns.length, projectionState.aggregationState.columns.length));
93
- const colAliases = new CollectionInstanceValue(new Multiplicity(projectionState.columns.length, projectionState.columns.length));
92
+ const aggregateLambdas = new CollectionInstanceValue(queryBuilderState.graphManagerState.graph.getMultiplicity(projectionState.aggregationState.columns.length, projectionState.aggregationState.columns.length));
93
+ const colAliases = new CollectionInstanceValue(queryBuilderState.graphManagerState.graph.getMultiplicity(projectionState.columns.length, projectionState.columns.length));
94
94
  projectionState.columns.forEach((projectionColumnState) => {
95
95
  // column alias
96
96
  const colAlias = new PrimitiveInstanceValue(GenericTypeExplicitReference.create(new GenericType(typeString)), multiplicityOne);
@@ -143,8 +143,8 @@ export const appendProjection = (projectionState, lambdaFunction, options) => {
143
143
  else if (projectionState.columns.length) {
144
144
  // projection
145
145
  const projectFunction = new SimpleFunctionExpression(extractElementNameFromPath(QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_PROJECT), multiplicityOne);
146
- const colLambdas = new CollectionInstanceValue(new Multiplicity(projectionState.columns.length, projectionState.columns.length));
147
- const colAliases = new CollectionInstanceValue(new Multiplicity(projectionState.columns.length, projectionState.columns.length));
146
+ const colLambdas = new CollectionInstanceValue(queryBuilderState.graphManagerState.graph.getMultiplicity(projectionState.columns.length, projectionState.columns.length));
147
+ const colAliases = new CollectionInstanceValue(queryBuilderState.graphManagerState.graph.getMultiplicity(projectionState.columns.length, projectionState.columns.length));
148
148
  projectionState.columns.forEach((projectionColumnState) => {
149
149
  // column alias
150
150
  const colAlias = new PrimitiveInstanceValue(GenericTypeExplicitReference.create(new GenericType(typeString)), multiplicityOne);
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderProjectionValueSpecificationBuilder.js","sourceRoot":"","sources":["../../../../src/stores/fetch-structure/projection/QueryBuilderProjectionValueSpecificationBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,uBAAuB,EACvB,0BAA0B,EAC1B,WAAW,EACX,4BAA4B,EAC5B,YAAY,EACZ,sBAAsB,EACtB,cAAc,EACd,wBAAwB,EACxB,yBAAyB,EAEzB,mCAAmC,EACnC,iCAAiC,EACjC,qBAAqB,EACrB,iCAAiC,EACjC,iBAAiB,GAClB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,oBAAoB,EACpB,yBAAyB,GAC1B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,iCAAiC,EAAE,MAAM,yDAAyD,CAAC;AAC5G,OAAO,EAAE,4BAA4B,EAAE,MAAM,sDAAsD,CAAC;AACpG,OAAO,EAAE,uCAAuC,EAAE,MAAM,+CAA+C,CAAC;AACxG,OAAO,EAAE,gBAAgB,EAAE,MAAM,kEAAkE,CAAC;AACpG,OAAO,EACL,2CAA2C,EAC3C,uCAAuC,GACxC,MAAM,wCAAwC,CAAC;AAEhD,OAAO,EACL,g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C,EAC3C;gBACA,YAAY,GAAG,IAAI,mCAAmC,CACpD,iCAAiC,CAC/B,qBAAqB,CACnB,qBAAqB,CAAC,MAAM,EAC5B,IAAI,iCAAiC;gBACnC,iDAAiD;gBACjD,EAAE,CACH;qBACE,6BAA6B,CAC5B,OAAO,CAAC,OAAO,EAAE,qBAAqB,CAAC,CACxC;qBACA,KAAK,EAAE,CACX,CACF,CACF,CAAC;aACH;iBAAM;gBACL,MAAM,IAAI,yBAAyB,CACjC,8EAA8E,EAC9E,qBAAqB,CACtB,CAAC;aACH;YACD,UAAU,CAAC,MAAM,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QACvC,CAAC,CAAC,CAAC;QACH,eAAe,CAAC,gBAAgB,GAAG;YACjC,mBAAmB;YACnB,UAAU;YACV,UAAU;SACX,CAAC;QACF,cAAc,CAAC,kBAAkB,CAAC,CAAC,CAAC,GAAG,eAAe,CAAC;KACxD;IAED,oBAAoB;IACpB,gBAAgB,CAAC,eAAe,CAAC,eAAe,EAAE,cAAc,CAAC,CAAC;IAElE,6BAA6B;IAC7B,uBAAuB,CACrB,eAAe,CAAC,sBAAsB,EACtC,cAAc,EACd;QACE,eAAe,EAAE,OAAO,EAAE,wBAAwB;YAChD,CAAC,CAAC,iBAAiB,CAAC,WAAW,CAAC,YAAY;YAC5C,CAAC,CAAC,SAAS;KACd,CACF,CAAC;AACJ,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-query-builder",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "Legend query builder core",
5
5
  "keywords": [
6
6
  "legend",
@@ -44,12 +44,12 @@
44
44
  "@ag-grid-community/client-side-row-model": "28.1.1",
45
45
  "@ag-grid-community/core": "28.1.1",
46
46
  "@ag-grid-community/react": "28.1.1",
47
- "@finos/legend-application": "8.0.0",
48
- "@finos/legend-art": "3.2.2",
49
- "@finos/legend-graph": "16.0.0",
50
- "@finos/legend-server-depot": "4.0.0",
51
- "@finos/legend-shared": "6.1.2",
52
- "@finos/legend-storage": "3.0.11",
47
+ "@finos/legend-application": "8.0.2",
48
+ "@finos/legend-art": "3.3.0",
49
+ "@finos/legend-graph": "17.0.1",
50
+ "@finos/legend-server-depot": "4.1.0",
51
+ "@finos/legend-shared": "6.1.3",
52
+ "@finos/legend-storage": "3.0.12",
53
53
  "@testing-library/react": "13.4.0",
54
54
  "@types/react": "18.0.21",
55
55
  "@types/react-dom": "18.0.6",
@@ -64,20 +64,20 @@
64
64
  "react-dom": "18.2.0",
65
65
  "react-hotkeys": "2.0.0",
66
66
  "react-resize-detector": "7.1.2",
67
- "react-router": "5.3.3",
68
- "react-router-dom": "5.3.3",
67
+ "react-router": "5.3.4",
68
+ "react-router-dom": "5.3.4",
69
69
  "serializr": "2.0.5"
70
70
  },
71
71
  "devDependencies": {
72
- "@finos/legend-dev-utils": "2.0.17",
73
- "@jest/globals": "29.0.3",
72
+ "@finos/legend-dev-utils": "2.0.19",
73
+ "@jest/globals": "29.1.2",
74
74
  "cross-env": "7.0.3",
75
75
  "eslint": "8.24.0",
76
- "jest": "29.0.3",
76
+ "jest": "29.1.2",
77
77
  "npm-run-all": "4.1.5",
78
78
  "rimraf": "3.0.2",
79
79
  "sass": "1.55.0",
80
- "typescript": "4.8.3"
80
+ "typescript": "4.8.4"
81
81
  },
82
82
  "peerDependencies": {
83
83
  "react": "^18.0.0"
@@ -39,7 +39,6 @@ import {
39
39
  MULTIPLICITY_INFINITE,
40
40
  PRIMITIVE_TYPE,
41
41
  VariableExpression,
42
- Multiplicity,
43
42
  GenericTypeExplicitReference,
44
43
  GenericType,
45
44
  } from '@finos/legend-graph';
@@ -347,7 +346,7 @@ export const QueryBuilderParametersPanel = observer(
347
346
  const parmaterState = new LambdaParameterState(
348
347
  new VariableExpression(
349
348
  generateEnumerableNameFromToken(varNames, DEFAULT_VARIABLE_NAME),
350
- new Multiplicity(1, 1),
349
+ queryBuilderState.graphManagerState.graph.getMultiplicity(1, 1),
351
350
  GenericTypeExplicitReference.create(
352
351
  new GenericType(
353
352
  queryParameterState.queryBuilderState.graphManagerState.graph.getPrimitiveType(
@@ -27,6 +27,7 @@ import {
27
27
  clsx,
28
28
  PauseCircleIcon,
29
29
  ExclamationTriangleIcon,
30
+ PanelContent,
30
31
  } from '@finos/legend-art';
31
32
  import { observer } from 'mobx-react-lite';
32
33
  import { flowResult } from 'mobx';
@@ -622,7 +623,7 @@ export const QueryBuilderResultPanel = observer(
622
623
  </DropdownMenu>
623
624
  </div>
624
625
  </div>
625
- <div className="panel__content">
626
+ <PanelContent>
626
627
  <PanelLoadingIndicator
627
628
  isLoading={
628
629
  resultState.isRunningQuery ||
@@ -643,7 +644,7 @@ export const QueryBuilderResultPanel = observer(
643
644
  />
644
645
  </div>
645
646
  )}
646
- </div>
647
+ </PanelContent>
647
648
  <ExecutionPlanViewer
648
649
  executionPlanState={resultState.executionPlanState}
649
650
  />
@@ -22,6 +22,9 @@ import {
22
22
  ResizablePanelGroup,
23
23
  ResizablePanel,
24
24
  ResizablePanelSplitter,
25
+ Panel,
26
+ PanelContent,
27
+ PanelHeader,
25
28
  } from '@finos/legend-art';
26
29
  import { QueryBuilderSidebar } from './QueryBuilderSideBar.js';
27
30
  import { QueryBuilderParametersPanel } from './QueryBuilderParametersPanel.js';
@@ -39,13 +42,9 @@ const QueryBuilderUnsupportedQueryEditPanel = observer(
39
42
  QueryBuilderTextEditorMode.TEXT,
40
43
  );
41
44
  return (
42
- <div className="panel">
43
- <div className="panel__header">
44
- <div className="panel__header__title">
45
- <div className="panel__header__title__label">content</div>
46
- </div>
47
- </div>
48
- <div className="panel__content">
45
+ <Panel>
46
+ <PanelHeader title="content" />
47
+ <PanelContent>
49
48
  <BlankPanelContent>
50
49
  <div className="query-builder__unsupported-view__main">
51
50
  <div className="query-builder__unsupported-view__summary">{`Can't display query in form mode${errorMessage}`}</div>
@@ -57,8 +56,8 @@ const QueryBuilderUnsupportedQueryEditPanel = observer(
57
56
  </button>
58
57
  </div>
59
58
  </BlankPanelContent>
60
- </div>
61
- </div>
59
+ </PanelContent>
60
+ </Panel>
62
61
  );
63
62
  },
64
63
  );
@@ -0,0 +1,23 @@
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
+
17
+ import type { LightQuery } from '@finos/legend-graph';
18
+
19
+ export type QueryOption = { label: string; value: LightQuery };
20
+ export const buildQueryOption = (query: LightQuery): QueryOption => ({
21
+ label: query.name,
22
+ value: query,
23
+ });
@@ -15,7 +15,12 @@
15
15
  */
16
16
 
17
17
  import { observer } from 'mobx-react-lite';
18
- import { clsx, BlankPanelContent } from '@finos/legend-art';
18
+ import {
19
+ clsx,
20
+ BlankPanelContent,
21
+ Panel,
22
+ PanelContent,
23
+ } from '@finos/legend-art';
19
24
  import type { QueryBuilderState } from '../../stores/QueryBuilderState.js';
20
25
  import { prettyCONSTName } from '@finos/legend-shared';
21
26
  import { QueryBuilderProjectionPanel } from './QueryBuilderProjectionPanel.js';
@@ -47,7 +52,7 @@ const QueryBuilderFetchStructureEditor = observer(
47
52
  );
48
53
  }
49
54
  return (
50
- <div className="panel__content">
55
+ <PanelContent>
51
56
  <BlankPanelContent>
52
57
  <div className="query-builder__unsupported-view__main">
53
58
  <div className="query-builder__unsupported-view__summary">
@@ -55,7 +60,7 @@ const QueryBuilderFetchStructureEditor = observer(
55
60
  </div>
56
61
  </div>
57
62
  </BlankPanelContent>
58
- </div>
63
+ </PanelContent>
59
64
  );
60
65
  },
61
66
  );
@@ -78,7 +83,7 @@ export const QueryBuilderFetchStructurePanel = observer(
78
83
  };
79
84
 
80
85
  return (
81
- <div className="panel">
86
+ <Panel>
82
87
  <div className="panel__header">
83
88
  <div className="panel__header__title">
84
89
  <div className="panel__header__title__label">fetch structure</div>
@@ -106,7 +111,7 @@ export const QueryBuilderFetchStructurePanel = observer(
106
111
  <QueryBuilderFetchStructureEditor
107
112
  queryBuilderState={queryBuilderState}
108
113
  />
109
- </div>
114
+ </Panel>
110
115
  );
111
116
  },
112
117
  );
@@ -52,6 +52,7 @@ import {
52
52
  PanelEntryDropZonePlaceholder,
53
53
  useDragPreviewLayer,
54
54
  BlankPanelContent,
55
+ PanelContent,
55
56
  } from '@finos/legend-art';
56
57
  import {
57
58
  type Type,
@@ -1035,7 +1036,7 @@ const QueryBuilderPostFilterPanelContent = observer(
1035
1036
  </button>
1036
1037
  </div>
1037
1038
  </div>
1038
- <div className="panel__content">
1039
+ <PanelContent>
1039
1040
  <PanelDropZone
1040
1041
  isDragOver={isDragOver}
1041
1042
  dropTargetConnector={dropTargetConnector}
@@ -1058,7 +1059,7 @@ const QueryBuilderPostFilterPanelContent = observer(
1058
1059
  </>
1059
1060
  )}
1060
1061
  </PanelDropZone>
1061
- </div>
1062
+ </PanelContent>
1062
1063
  </div>
1063
1064
  );
1064
1065
  },
@@ -1090,11 +1091,11 @@ export const QueryBuilderPostFilterPanel = observer(
1090
1091
  <div className="panel__header__title__label">post-filter</div>
1091
1092
  </div>
1092
1093
  </div>
1093
- <div className="panel__content">
1094
+ <PanelContent>
1094
1095
  <BlankPanelContent>
1095
1096
  Post-filter is not supported for the current fetch-structure
1096
1097
  </BlankPanelContent>
1097
- </div>
1098
+ </PanelContent>
1098
1099
  </>
1099
1100
  )}
1100
1101
  </div>
@@ -34,6 +34,7 @@ import {
34
34
  useDragPreviewLayer,
35
35
  OptionsIcon,
36
36
  PlusIcon,
37
+ PanelContent,
37
38
  } from '@finos/legend-art';
38
39
  import {
39
40
  type QueryBuilderExplorerTreeDragSource,
@@ -583,7 +584,7 @@ export const QueryBuilderProjectionPanel = observer(
583
584
  }, [applicationStore, projectionState]);
584
585
 
585
586
  return (
586
- <div className="panel__content">
587
+ <PanelContent>
587
588
  <div className="query-builder__projection__toolbar">
588
589
  <button
589
590
  className="panel__header__action"
@@ -639,7 +640,7 @@ export const QueryBuilderProjectionPanel = observer(
639
640
  <QueryResultModifierModal projectionState={projectionState} />
640
641
  </PanelDropZone>
641
642
  </div>
642
- </div>
643
+ </PanelContent>
643
644
  );
644
645
  },
645
646
  );
@@ -42,6 +42,7 @@ import {
42
42
  DragPreviewLayer,
43
43
  PanelEntryDropZonePlaceholder,
44
44
  useDragPreviewLayer,
45
+ PanelContent,
45
46
  } from '@finos/legend-art';
46
47
  import {
47
48
  type QueryBuilderFilterConditionDragSource,
@@ -851,7 +852,7 @@ export const QueryBuilderFilterPanel = observer(
851
852
  </button>
852
853
  </div>
853
854
  </div>
854
- <div className="panel__content">
855
+ <PanelContent>
855
856
  <PanelDropZone
856
857
  isDragOver={isDragOver}
857
858
  dropTargetConnector={dropTargetConnector}
@@ -874,7 +875,7 @@ export const QueryBuilderFilterPanel = observer(
874
875
  </>
875
876
  )}
876
877
  </PanelDropZone>
877
- </div>
878
+ </PanelContent>
878
879
  </div>
879
880
  );
880
881
  },
@@ -33,7 +33,6 @@ import {
33
33
  extractElementNameFromPath,
34
34
  V1_AppliedProperty,
35
35
  CollectionInstanceValue,
36
- Multiplicity,
37
36
  INTERNAL__UnknownValueSpecification,
38
37
  V1_Variable,
39
38
  V1_serializeValueSpecification,
@@ -390,7 +389,7 @@ export const V1_buildProjectFunctionExpression = (
390
389
 
391
390
  // build column expressions taking into account of derivation
392
391
  const processedColumnExpressions = new CollectionInstanceValue(
393
- new Multiplicity(
392
+ compileContext.graph.getMultiplicity(
394
393
  columnExpressions.multiplicity.lowerBound,
395
394
  columnExpressions.multiplicity.upperBound,
396
395
  ),
@@ -510,7 +509,7 @@ export const V1_buildGroupByFunctionExpression = (
510
509
 
511
510
  // build column expressions taking into account of derivation
512
511
  const processedColumnExpressions = new CollectionInstanceValue(
513
- new Multiplicity(
512
+ compileContext.graph.getMultiplicity(
514
513
  columnExpressions.multiplicity.lowerBound,
515
514
  columnExpressions.multiplicity.upperBound,
516
515
  ),
@@ -532,7 +531,7 @@ export const V1_buildGroupByFunctionExpression = (
532
531
 
533
532
  // build aggregation expressions taking into account of derivation
534
533
  const processedAggregationExpressions = new CollectionInstanceValue(
535
- new Multiplicity(
534
+ compileContext.graph.getMultiplicity(
536
535
  aggregationExpressions.multiplicity.lowerBound,
537
536
  aggregationExpressions.multiplicity.upperBound,
538
537
  ),