@finos/legend-query-builder 0.6.31 → 0.6.32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (118) hide show
  1. package/lib/components/QueryBuilder.d.ts.map +1 -1
  2. package/lib/components/QueryBuilder.js +1 -1
  3. package/lib/components/QueryBuilder.js.map +1 -1
  4. package/lib/components/QueryBuilderComponentTestUtils.d.ts.map +1 -1
  5. package/lib/components/QueryBuilderComponentTestUtils.js +2 -2
  6. package/lib/components/QueryBuilderComponentTestUtils.js.map +1 -1
  7. package/lib/components/QueryBuilderConstantExpressionPanel.d.ts.map +1 -1
  8. package/lib/components/QueryBuilderConstantExpressionPanel.js +3 -2
  9. package/lib/components/QueryBuilderConstantExpressionPanel.js.map +1 -1
  10. package/lib/components/QueryBuilderDiffPanel.js +1 -1
  11. package/lib/components/QueryBuilderDiffPanel.js.map +1 -1
  12. package/lib/components/QueryBuilderNavigationBlocker.js +4 -4
  13. package/lib/components/QueryBuilderNavigationBlocker.js.map +1 -1
  14. package/lib/components/QueryBuilderParametersPanel.d.ts.map +1 -1
  15. package/lib/components/QueryBuilderParametersPanel.js +4 -3
  16. package/lib/components/QueryBuilderParametersPanel.js.map +1 -1
  17. package/lib/components/QueryBuilderPropertyExpressionEditor.js +1 -1
  18. package/lib/components/QueryBuilderPropertyExpressionEditor.js.map +1 -1
  19. package/lib/components/QueryBuilderResultPanel.js +4 -4
  20. package/lib/components/QueryBuilderResultPanel.js.map +1 -1
  21. package/lib/components/QueryBuilderSideBar.d.ts.map +1 -1
  22. package/lib/components/QueryBuilderSideBar.js +9 -6
  23. package/lib/components/QueryBuilderSideBar.js.map +1 -1
  24. package/lib/components/QueryBuilderTextEditor.js +1 -1
  25. package/lib/components/QueryBuilderTextEditor.js.map +1 -1
  26. package/lib/components/explorer/QueryBuilderExplorerPanel.js +2 -2
  27. package/lib/components/explorer/QueryBuilderExplorerPanel.js.map +1 -1
  28. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js +3 -3
  29. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js.map +1 -1
  30. package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.d.ts.map +1 -1
  31. package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.js +1 -1
  32. package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.js.map +1 -1
  33. package/lib/components/fetch-structure/QueryBuilderTDSWindowPanel.d.ts.map +1 -1
  34. package/lib/components/fetch-structure/QueryBuilderTDSWindowPanel.js +9 -6
  35. package/lib/components/fetch-structure/QueryBuilderTDSWindowPanel.js.map +1 -1
  36. package/lib/components/filter/QueryBuilderFilterPanel.js +3 -3
  37. package/lib/components/filter/QueryBuilderFilterPanel.js.map +1 -1
  38. package/lib/components/shared/BasicValueSpecificationEditor.d.ts.map +1 -1
  39. package/lib/components/shared/BasicValueSpecificationEditor.js +1 -1
  40. package/lib/components/shared/BasicValueSpecificationEditor.js.map +1 -1
  41. package/lib/components/shared/LambdaEditor.js +3 -3
  42. package/lib/components/shared/LambdaEditor.js.map +1 -1
  43. package/lib/components/workflows/ClassQueryBuilder.d.ts.map +1 -1
  44. package/lib/components/workflows/ClassQueryBuilder.js +6 -4
  45. package/lib/components/workflows/ClassQueryBuilder.js.map +1 -1
  46. package/lib/components/workflows/MappingQueryBuilder.d.ts.map +1 -1
  47. package/lib/components/workflows/MappingQueryBuilder.js +6 -4
  48. package/lib/components/workflows/MappingQueryBuilder.js.map +1 -1
  49. package/lib/components/workflows/ServiceQueryBuilder.d.ts.map +1 -1
  50. package/lib/components/workflows/ServiceQueryBuilder.js +3 -2
  51. package/lib/components/workflows/ServiceQueryBuilder.js.map +1 -1
  52. package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.js +2 -2
  53. package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.js.map +1 -1
  54. package/lib/index.css +1 -1
  55. package/lib/package.json +3 -3
  56. package/lib/stores/QueryBuilderChangeDetectionState.js +1 -1
  57. package/lib/stores/QueryBuilderChangeDetectionState.js.map +1 -1
  58. package/lib/stores/QueryBuilderConstantsState.d.ts.map +1 -1
  59. package/lib/stores/QueryBuilderConstantsState.js +1 -1
  60. package/lib/stores/QueryBuilderConstantsState.js.map +1 -1
  61. package/lib/stores/QueryBuilderResultState.d.ts.map +1 -1
  62. package/lib/stores/QueryBuilderResultState.js +6 -6
  63. package/lib/stores/QueryBuilderResultState.js.map +1 -1
  64. package/lib/stores/QueryBuilderState.d.ts.map +1 -1
  65. package/lib/stores/QueryBuilderState.js +10 -10
  66. package/lib/stores/QueryBuilderState.js.map +1 -1
  67. package/lib/stores/QueryBuilderTextEditorState.js +3 -3
  68. package/lib/stores/QueryBuilderTextEditorState.js.map +1 -1
  69. package/lib/stores/explorer/QueryBuilderExplorerState.d.ts.map +1 -1
  70. package/lib/stores/explorer/QueryBuilderExplorerState.js +4 -4
  71. package/lib/stores/explorer/QueryBuilderExplorerState.js.map +1 -1
  72. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.js +3 -3
  73. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.js.map +1 -1
  74. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.js +1 -1
  75. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.js.map +1 -1
  76. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js +3 -3
  77. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js.map +1 -1
  78. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.js +1 -1
  79. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.js.map +1 -1
  80. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.js +2 -2
  81. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.js.map +1 -1
  82. package/lib/stores/filter/QueryBuilderFilterState.d.ts.map +1 -1
  83. package/lib/stores/filter/QueryBuilderFilterState.js +1 -1
  84. package/lib/stores/filter/QueryBuilderFilterState.js.map +1 -1
  85. package/package.json +10 -10
  86. package/src/components/QueryBuilder.tsx +3 -1
  87. package/src/components/QueryBuilderComponentTestUtils.tsx +5 -2
  88. package/src/components/QueryBuilderConstantExpressionPanel.tsx +6 -2
  89. package/src/components/QueryBuilderDiffPanel.tsx +1 -1
  90. package/src/components/QueryBuilderNavigationBlocker.tsx +4 -4
  91. package/src/components/QueryBuilderParametersPanel.tsx +9 -3
  92. package/src/components/QueryBuilderPropertyExpressionEditor.tsx +1 -1
  93. package/src/components/QueryBuilderResultPanel.tsx +4 -4
  94. package/src/components/QueryBuilderSideBar.tsx +18 -6
  95. package/src/components/QueryBuilderTextEditor.tsx +1 -1
  96. package/src/components/explorer/QueryBuilderExplorerPanel.tsx +2 -2
  97. package/src/components/fetch-structure/QueryBuilderPostFilterPanel.tsx +3 -3
  98. package/src/components/fetch-structure/QueryBuilderResultModifierPanel.tsx +3 -1
  99. package/src/components/fetch-structure/QueryBuilderTDSWindowPanel.tsx +13 -6
  100. package/src/components/filter/QueryBuilderFilterPanel.tsx +3 -3
  101. package/src/components/shared/BasicValueSpecificationEditor.tsx +3 -1
  102. package/src/components/shared/LambdaEditor.tsx +3 -3
  103. package/src/components/workflows/ClassQueryBuilder.tsx +12 -4
  104. package/src/components/workflows/MappingQueryBuilder.tsx +12 -4
  105. package/src/components/workflows/ServiceQueryBuilder.tsx +7 -2
  106. package/src/graphManager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.ts +2 -2
  107. package/src/stores/QueryBuilderChangeDetectionState.ts +1 -1
  108. package/src/stores/QueryBuilderConstantsState.ts +3 -1
  109. package/src/stores/QueryBuilderResultState.ts +12 -6
  110. package/src/stores/QueryBuilderState.ts +16 -10
  111. package/src/stores/QueryBuilderTextEditorState.ts +3 -3
  112. package/src/stores/explorer/QueryBuilderExplorerState.ts +6 -4
  113. package/src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.ts +3 -3
  114. package/src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.ts +1 -1
  115. package/src/stores/fetch-structure/tds/QueryBuilderTDSState.ts +3 -3
  116. package/src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.ts +1 -1
  117. package/src/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.ts +2 -2
  118. package/src/stores/filter/QueryBuilderFilterState.ts +3 -1
@@ -215,7 +215,7 @@ class QueryBuilderDerivationProjectionLambdaState extends LambdaEditorState {
215
215
  if (error instanceof ParserError) {
216
216
  this.setParserError(error);
217
217
  }
218
- this.queryBuilderState.applicationStore.log.error(
218
+ this.queryBuilderState.applicationStore.logService.error(
219
219
  LogEvent.create(GRAPH_MANAGER_EVENT.PARSING_FAILURE),
220
220
  error,
221
221
  );
@@ -251,7 +251,7 @@ class QueryBuilderDerivationProjectionLambdaState extends LambdaEditorState {
251
251
  this.clearErrors();
252
252
  } catch (error) {
253
253
  assertErrorThrown(error);
254
- this.queryBuilderState.applicationStore.log.error(
254
+ this.queryBuilderState.applicationStore.logService.error(
255
255
  LogEvent.create(GRAPH_MANAGER_EVENT.PARSING_FAILURE),
256
256
  error,
257
257
  );
@@ -158,7 +158,9 @@ export class FilterConditionState implements Hashable {
158
158
  new FilterConditionState(this.filterState, propertyExpression);
159
159
  } catch (error) {
160
160
  assertErrorThrown(error);
161
- this.filterState.queryBuilderState.applicationStore.notifyError(error);
161
+ this.filterState.queryBuilderState.applicationStore.notificationService.notifyError(
162
+ error,
163
+ );
162
164
  return;
163
165
  }
164
166