@finos/legend-query-builder 4.14.40 → 4.14.41

Sign up to get free protection for your applications and to get access to all the features.
Files changed (68) hide show
  1. package/lib/components/QueryBuilderParametersPanel.d.ts.map +1 -1
  2. package/lib/components/QueryBuilderParametersPanel.js +20 -2
  3. package/lib/components/QueryBuilderParametersPanel.js.map +1 -1
  4. package/lib/components/QueryBuilderSideBar.d.ts.map +1 -1
  5. package/lib/components/QueryBuilderSideBar.js +5 -14
  6. package/lib/components/QueryBuilderSideBar.js.map +1 -1
  7. package/lib/components/fetch-structure/QueryBuilderTDSPanel.d.ts.map +1 -1
  8. package/lib/components/fetch-structure/QueryBuilderTDSPanel.js +12 -4
  9. package/lib/components/fetch-structure/QueryBuilderTDSPanel.js.map +1 -1
  10. package/lib/components/filter/QueryBuilderFilterPanel.d.ts.map +1 -1
  11. package/lib/components/filter/QueryBuilderFilterPanel.js +6 -2
  12. package/lib/components/filter/QueryBuilderFilterPanel.js.map +1 -1
  13. package/lib/components/result/QueryBuilderResultPanel.d.ts.map +1 -1
  14. package/lib/components/result/QueryBuilderResultPanel.js +2 -1
  15. package/lib/components/result/QueryBuilderResultPanel.js.map +1 -1
  16. package/lib/components/shared/BasicValueSpecificationEditor.d.ts +11 -9
  17. package/lib/components/shared/BasicValueSpecificationEditor.d.ts.map +1 -1
  18. package/lib/components/shared/BasicValueSpecificationEditor.js +158 -143
  19. package/lib/components/shared/BasicValueSpecificationEditor.js.map +1 -1
  20. package/lib/components/shared/QueryBuilderVariableSelector.d.ts.map +1 -1
  21. package/lib/components/shared/QueryBuilderVariableSelector.js +8 -1
  22. package/lib/components/shared/QueryBuilderVariableSelector.js.map +1 -1
  23. package/lib/index.css +2 -2
  24. package/lib/index.css.map +1 -1
  25. package/lib/package.json +1 -1
  26. package/lib/stores/QueryBuilderPropertyEditorState.d.ts +1 -0
  27. package/lib/stores/QueryBuilderPropertyEditorState.d.ts.map +1 -1
  28. package/lib/stores/QueryBuilderPropertyEditorState.js +2 -1
  29. package/lib/stores/QueryBuilderPropertyEditorState.js.map +1 -1
  30. package/lib/stores/QueryBuilderState.d.ts.map +1 -1
  31. package/lib/stores/QueryBuilderState.js +12 -0
  32. package/lib/stores/QueryBuilderState.js.map +1 -1
  33. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_In.js +2 -2
  34. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_In.js.map +1 -1
  35. package/lib/stores/filter/QueryBuilderFilterState.d.ts +1 -1
  36. package/lib/stores/filter/QueryBuilderFilterState.d.ts.map +1 -1
  37. package/lib/stores/filter/QueryBuilderFilterState.js +4 -3
  38. package/lib/stores/filter/QueryBuilderFilterState.js.map +1 -1
  39. package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.js +2 -2
  40. package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.js.map +1 -1
  41. package/lib/stores/milestoning/QueryBuilderMilestoningHelper.d.ts +1 -0
  42. package/lib/stores/milestoning/QueryBuilderMilestoningHelper.d.ts.map +1 -1
  43. package/lib/stores/milestoning/QueryBuilderMilestoningHelper.js +16 -0
  44. package/lib/stores/milestoning/QueryBuilderMilestoningHelper.js.map +1 -1
  45. package/lib/stores/milestoning/QueryBuilderMilestoningState.d.ts +3 -0
  46. package/lib/stores/milestoning/QueryBuilderMilestoningState.d.ts.map +1 -1
  47. package/lib/stores/milestoning/QueryBuilderMilestoningState.js +40 -0
  48. package/lib/stores/milestoning/QueryBuilderMilestoningState.js.map +1 -1
  49. package/lib/stores/shared/ValueSpecificationEditorHelper.d.ts +1 -0
  50. package/lib/stores/shared/ValueSpecificationEditorHelper.d.ts.map +1 -1
  51. package/lib/stores/shared/ValueSpecificationEditorHelper.js +48 -0
  52. package/lib/stores/shared/ValueSpecificationEditorHelper.js.map +1 -1
  53. package/package.json +8 -8
  54. package/src/components/QueryBuilderParametersPanel.tsx +55 -0
  55. package/src/components/QueryBuilderSideBar.tsx +0 -35
  56. package/src/components/fetch-structure/QueryBuilderTDSPanel.tsx +22 -6
  57. package/src/components/filter/QueryBuilderFilterPanel.tsx +13 -5
  58. package/src/components/result/QueryBuilderResultPanel.tsx +9 -1
  59. package/src/components/shared/BasicValueSpecificationEditor.tsx +288 -285
  60. package/src/components/shared/QueryBuilderVariableSelector.tsx +22 -0
  61. package/src/stores/QueryBuilderPropertyEditorState.ts +2 -1
  62. package/src/stores/QueryBuilderState.ts +14 -0
  63. package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_In.ts +2 -2
  64. package/src/stores/filter/QueryBuilderFilterState.ts +6 -3
  65. package/src/stores/filter/operators/QueryBuilderFilterOperator_In.ts +2 -2
  66. package/src/stores/milestoning/QueryBuilderMilestoningHelper.ts +24 -0
  67. package/src/stores/milestoning/QueryBuilderMilestoningState.ts +54 -0
  68. package/src/stores/shared/ValueSpecificationEditorHelper.ts +63 -0
@@ -204,7 +204,15 @@ export const QueryBuilderResultPanel = observer(
204
204
  const runQuery = (): void => {
205
205
  resultState.setSelectedCells([]);
206
206
  resultState.pressedRunQuery.inProgress();
207
- if (queryParametersState.parameterStates.length) {
207
+ if (
208
+ queryParametersState.parameterStates.length &&
209
+ queryParametersState.parameterStates.find(
210
+ (param) =>
211
+ !queryBuilderState.milestoningState.isMilestoningParameter(
212
+ param.parameter,
213
+ ),
214
+ )
215
+ ) {
208
216
  queryParametersState.parameterValuesEditorState.open(
209
217
  (): Promise<void> =>
210
218
  flowResult(resultState.runQuery()).catch(