@finos/legend-query-builder 4.14.34 → 4.14.36

Sign up to get free protection for your applications and to get access to all the features.
Files changed (330) hide show
  1. package/lib/__lib__/QueryBuilderTesting.d.ts +1 -0
  2. package/lib/__lib__/QueryBuilderTesting.d.ts.map +1 -1
  3. package/lib/__lib__/QueryBuilderTesting.js +1 -0
  4. package/lib/__lib__/QueryBuilderTesting.js.map +1 -1
  5. package/lib/components/QueryBuilder.d.ts.map +1 -1
  6. package/lib/components/QueryBuilder.js +37 -17
  7. package/lib/components/QueryBuilder.js.map +1 -1
  8. package/lib/components/QueryBuilderConstantExpressionPanel.d.ts.map +1 -1
  9. package/lib/components/QueryBuilderConstantExpressionPanel.js +30 -13
  10. package/lib/components/QueryBuilderConstantExpressionPanel.js.map +1 -1
  11. package/lib/components/QueryBuilderParametersPanel.js.map +1 -1
  12. package/lib/components/QueryBuilderPropertyExpressionEditor.d.ts.map +1 -1
  13. package/lib/components/QueryBuilderPropertyExpressionEditor.js +2 -1
  14. package/lib/components/QueryBuilderPropertyExpressionEditor.js.map +1 -1
  15. package/lib/components/QueryBuilderSideBar.d.ts +2 -18
  16. package/lib/components/QueryBuilderSideBar.d.ts.map +1 -1
  17. package/lib/components/QueryBuilderSideBar.js +32 -104
  18. package/lib/components/QueryBuilderSideBar.js.map +1 -1
  19. package/lib/components/QueryLoader.js.map +1 -1
  20. package/lib/components/__test-utils__/QueryBuilderComponentTestUtils.d.ts.map +1 -1
  21. package/lib/components/__test-utils__/QueryBuilderComponentTestUtils.js.map +1 -1
  22. package/lib/components/data-access/DataAccessOverview.js.map +1 -1
  23. package/lib/components/execution-plan/ConstantExecutionNodeViewer.js.map +1 -1
  24. package/lib/components/execution-plan/DataTypeResultTypeViewer.js.map +1 -1
  25. package/lib/components/execution-plan/ExecutionPlanViewer.js.map +1 -1
  26. package/lib/components/execution-plan/FunctionParametersValidationNodeViewer.d.ts.map +1 -1
  27. package/lib/components/execution-plan/FunctionParametersValidationNodeViewer.js +1 -2
  28. package/lib/components/execution-plan/FunctionParametersValidationNodeViewer.js.map +1 -1
  29. package/lib/components/execution-plan/ImplementationViewer.js.map +1 -1
  30. package/lib/components/execution-plan/ResultTypeViewer.js.map +1 -1
  31. package/lib/components/execution-plan/SQLExecutionNodeViewer.js.map +1 -1
  32. package/lib/components/execution-plan/SequenceExecutionNodeViewer.js.map +1 -1
  33. package/lib/components/execution-plan/StoreMappingGlobalGraphFetchExecutionNodeViewer.js.map +1 -1
  34. package/lib/components/execution-plan/TempTableStrategyViewer.js.map +1 -1
  35. package/lib/components/explorer/QueryBuilderExplorerPanel.js.map +1 -1
  36. package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.js.map +1 -1
  37. package/lib/components/explorer/QueryBuilderMilestoningEditor.js.map +1 -1
  38. package/lib/components/explorer/QueryBuilderPropertySearchPanel.js.map +1 -1
  39. package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.js.map +1 -1
  40. package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.d.ts.map +1 -1
  41. package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.js.map +1 -1
  42. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.d.ts.map +1 -1
  43. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js +2 -1
  44. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js.map +1 -1
  45. package/lib/components/fetch-structure/QueryBuilderPostTDSPanel.js.map +1 -1
  46. package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.d.ts.map +1 -1
  47. package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.js +50 -5
  48. package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.js.map +1 -1
  49. package/lib/components/fetch-structure/QueryBuilderTDSComponentHelper.js.map +1 -1
  50. package/lib/components/fetch-structure/QueryBuilderTDSPanel.d.ts.map +1 -1
  51. package/lib/components/fetch-structure/QueryBuilderTDSPanel.js +2 -1
  52. package/lib/components/fetch-structure/QueryBuilderTDSPanel.js.map +1 -1
  53. package/lib/components/fetch-structure/QueryBuilderTDSWindowPanel.js.map +1 -1
  54. package/lib/components/filter/QueryBuilderFilterPanel.d.ts.map +1 -1
  55. package/lib/components/filter/QueryBuilderFilterPanel.js +2 -1
  56. package/lib/components/filter/QueryBuilderFilterPanel.js.map +1 -1
  57. package/lib/components/result/QueryBuilderResultPanel.js.map +1 -1
  58. package/lib/components/result/tds/QueryBuilderTDSGridResult.js.map +1 -1
  59. package/lib/components/result/tds/QueryBuilderTDSResultShared.js.map +1 -1
  60. package/lib/components/result/tds/QueryBuilderTDSSimpleGridResult.js.map +1 -1
  61. package/lib/components/shared/BasicValueSpecificationEditor.d.ts +0 -1
  62. package/lib/components/shared/BasicValueSpecificationEditor.d.ts.map +1 -1
  63. package/lib/components/shared/BasicValueSpecificationEditor.js +62 -28
  64. package/lib/components/shared/BasicValueSpecificationEditor.js.map +1 -1
  65. package/lib/components/shared/CustomDatePicker.d.ts +1 -0
  66. package/lib/components/shared/CustomDatePicker.d.ts.map +1 -1
  67. package/lib/components/shared/CustomDatePicker.js +15 -10
  68. package/lib/components/shared/CustomDatePicker.js.map +1 -1
  69. package/lib/components/shared/LambdaEditor.js +1 -1
  70. package/lib/components/shared/LambdaEditor.js.map +1 -1
  71. package/lib/components/shared/LambdaParameterValuesEditor.js.map +1 -1
  72. package/lib/components/shared/QueryBuilderPanelIssueCountBadge.js.map +1 -1
  73. package/lib/components/shared/QueryBuilderVariableSelector.d.ts +1 -0
  74. package/lib/components/shared/QueryBuilderVariableSelector.d.ts.map +1 -1
  75. package/lib/components/shared/QueryBuilderVariableSelector.js +2 -2
  76. package/lib/components/shared/QueryBuilderVariableSelector.js.map +1 -1
  77. package/lib/components/workflows/ClassQueryBuilder.d.ts.map +1 -1
  78. package/lib/components/workflows/ClassQueryBuilder.js +19 -16
  79. package/lib/components/workflows/ClassQueryBuilder.js.map +1 -1
  80. package/lib/components/workflows/MappingQueryBuilder.d.ts.map +1 -1
  81. package/lib/components/workflows/MappingQueryBuilder.js +18 -15
  82. package/lib/components/workflows/MappingQueryBuilder.js.map +1 -1
  83. package/lib/components/workflows/ServiceQueryBuilder.d.ts.map +1 -1
  84. package/lib/components/workflows/ServiceQueryBuilder.js +13 -10
  85. package/lib/components/workflows/ServiceQueryBuilder.js.map +1 -1
  86. package/lib/graph-manager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.js.map +1 -1
  87. package/lib/graph-manager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.js.map +1 -1
  88. package/lib/graph-manager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.js.map +1 -1
  89. package/lib/index.css +2 -2
  90. package/lib/index.css.map +1 -1
  91. package/lib/index.d.ts +2 -1
  92. package/lib/index.d.ts.map +1 -1
  93. package/lib/index.js +1 -0
  94. package/lib/index.js.map +1 -1
  95. package/lib/package.json +16 -16
  96. package/lib/stores/QueryBuilderChangeDetectionState.js.map +1 -1
  97. package/lib/stores/QueryBuilderChangeHistoryState.js.map +1 -1
  98. package/lib/stores/QueryBuilderConstantsState.d.ts.map +1 -1
  99. package/lib/stores/QueryBuilderConstantsState.js +2 -1
  100. package/lib/stores/QueryBuilderConstantsState.js.map +1 -1
  101. package/lib/stores/QueryBuilderGroupOperationHelper.js.map +1 -1
  102. package/lib/stores/QueryBuilderPropertyEditorState.d.ts +1 -1
  103. package/lib/stores/QueryBuilderPropertyEditorState.d.ts.map +1 -1
  104. package/lib/stores/QueryBuilderPropertyEditorState.js +14 -35
  105. package/lib/stores/QueryBuilderPropertyEditorState.js.map +1 -1
  106. package/lib/stores/QueryBuilderResultState.js.map +1 -1
  107. package/lib/stores/QueryBuilderState.d.ts +3 -0
  108. package/lib/stores/QueryBuilderState.d.ts.map +1 -1
  109. package/lib/stores/QueryBuilderState.js +15 -1
  110. package/lib/stores/QueryBuilderState.js.map +1 -1
  111. package/lib/stores/QueryBuilderStateBuilder.js.map +1 -1
  112. package/lib/stores/QueryBuilderTextEditorState.js.map +1 -1
  113. package/lib/stores/QueryBuilderTypeaheadHelper.js.map +1 -1
  114. package/lib/stores/QueryBuilderValueSpecificationBuilder.js.map +1 -1
  115. package/lib/stores/QueryBuilderValueSpecificationBuilderHelper.js.map +1 -1
  116. package/lib/stores/QueryBuilderValueSpecificationHelper.d.ts +2 -1
  117. package/lib/stores/QueryBuilderValueSpecificationHelper.d.ts.map +1 -1
  118. package/lib/stores/QueryBuilderValueSpecificationHelper.js +23 -1
  119. package/lib/stores/QueryBuilderValueSpecificationHelper.js.map +1 -1
  120. package/lib/stores/QueryBuilder_LegendApplicationPlugin_Extension.d.ts +13 -0
  121. package/lib/stores/QueryBuilder_LegendApplicationPlugin_Extension.d.ts.map +1 -1
  122. package/lib/stores/QueryLoaderState.js.map +1 -1
  123. package/lib/stores/__test-utils__/QueryBuilderStateTestUtils.js.map +1 -1
  124. package/lib/stores/data-access/DataAccessState.js.map +1 -1
  125. package/lib/stores/entitlements/QueryBuilderCheckEntitlementsState.js.map +1 -1
  126. package/lib/stores/execution-plan/ExecutionPlanState.js.map +1 -1
  127. package/lib/stores/explorer/QueryBuilderExplorerState.js.map +1 -1
  128. package/lib/stores/explorer/QueryBuilderPropertySearchState.js.map +1 -1
  129. package/lib/stores/explorer/QueryFunctionsExplorerState.js.map +1 -1
  130. package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.d.ts +2 -0
  131. package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.d.ts.map +1 -1
  132. package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.js +2 -0
  133. package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.js.map +1 -1
  134. package/lib/stores/fetch-structure/QueryBuilderFetchStructureState.js.map +1 -1
  135. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.d.ts +2 -0
  136. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.d.ts.map +1 -1
  137. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.js +6 -0
  138. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.js.map +1 -1
  139. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.js.map +1 -1
  140. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.js.map +1 -1
  141. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeValueSpecificationBuilder.js.map +1 -1
  142. package/lib/stores/fetch-structure/tds/QueryBuilderTDSHelper.js.map +1 -1
  143. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.d.ts +2 -0
  144. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.d.ts.map +1 -1
  145. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js +16 -0
  146. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js.map +1 -1
  147. package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateCalendarFunction.js.map +1 -1
  148. package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateCalendarFunctionValueSpecificationBuilder.js.map +1 -1
  149. package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.js.map +1 -1
  150. package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationStateBuilder.js.map +1 -1
  151. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperatorValueSpecificationBuilder.js.map +1 -1
  152. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Average.js.map +1 -1
  153. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Count.js.map +1 -1
  154. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Distinct.js.map +1 -1
  155. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.js.map +1 -1
  156. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_JoinString.js.map +1 -1
  157. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Max.js.map +1 -1
  158. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Min.js.map +1 -1
  159. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.js.map +1 -1
  160. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.js.map +1 -1
  161. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Sum.js.map +1 -1
  162. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterOperator.js.map +1 -1
  163. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.d.ts +3 -0
  164. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.d.ts.map +1 -1
  165. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.js +42 -3
  166. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.js.map +1 -1
  167. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterStateBuilder.js.map +1 -1
  168. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.js.map +1 -1
  169. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorHelper.js.map +1 -1
  170. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorValueSpecificationBuilder.js.map +1 -1
  171. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Contain.d.ts.map +1 -1
  172. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Contain.js +6 -5
  173. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Contain.js.map +1 -1
  174. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.d.ts.map +1 -1
  175. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.js +6 -5
  176. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.js.map +1 -1
  177. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Equal.d.ts.map +1 -1
  178. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Equal.js +8 -37
  179. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Equal.js.map +1 -1
  180. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.d.ts.map +1 -1
  181. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.js +7 -10
  182. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.js.map +1 -1
  183. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_In.js.map +1 -1
  184. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.js.map +1 -1
  185. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.d.ts.map +1 -1
  186. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.js +7 -10
  187. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.js.map +1 -1
  188. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.d.ts.map +1 -1
  189. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.js +6 -5
  190. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.js.map +1 -1
  191. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.js.map +1 -1
  192. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionStateBuilder.js.map +1 -1
  193. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.js.map +1 -1
  194. package/lib/stores/fetch-structure/tds/projection/QueryBuilderRelationProjectValueSpecBuidler.js.map +1 -1
  195. package/lib/stores/fetch-structure/tds/projection/QueryBuilderTypedProjectionStateBuilder.js.map +1 -1
  196. package/lib/stores/fetch-structure/tds/window/QueryBuilderWindowState.js.map +1 -1
  197. package/lib/stores/fetch-structure/tds/window/QueryBuilderWindowStateBuilder.js.map +1 -1
  198. package/lib/stores/fetch-structure/tds/window/QueryBuilderWindowValueSpecificationBuilder.js.map +1 -1
  199. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Average.js.map +1 -1
  200. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Count.js.map +1 -1
  201. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Max.js.map +1 -1
  202. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Min.js.map +1 -1
  203. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Sum.js.map +1 -1
  204. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowRankOperator_AverageRank.js.map +1 -1
  205. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowRankOperator_DenseRank.js.map +1 -1
  206. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowRankOperator_Rank.js.map +1 -1
  207. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowRankOperator_RowNumber.js.map +1 -1
  208. package/lib/stores/filter/QueryBuilderFilterState.d.ts +3 -0
  209. package/lib/stores/filter/QueryBuilderFilterState.d.ts.map +1 -1
  210. package/lib/stores/filter/QueryBuilderFilterState.js +30 -2
  211. package/lib/stores/filter/QueryBuilderFilterState.js.map +1 -1
  212. package/lib/stores/filter/QueryBuilderFilterStateBuilder.js.map +1 -1
  213. package/lib/stores/filter/QueryBuilderFilterValueSpecificationBuilder.js.map +1 -1
  214. package/lib/stores/filter/operators/QueryBuilderFilterOperatorValueSpecificationBuilder.js.map +1 -1
  215. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.d.ts.map +1 -1
  216. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.js +5 -4
  217. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.js.map +1 -1
  218. package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.d.ts.map +1 -1
  219. package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.js +5 -4
  220. package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.js.map +1 -1
  221. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.d.ts.map +1 -1
  222. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.js +7 -35
  223. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.js.map +1 -1
  224. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.d.ts.map +1 -1
  225. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.js +6 -8
  226. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.js.map +1 -1
  227. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.d.ts.map +1 -1
  228. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.js +6 -8
  229. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.js.map +1 -1
  230. package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.js.map +1 -1
  231. package/lib/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.js.map +1 -1
  232. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThan.d.ts.map +1 -1
  233. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThan.js +6 -8
  234. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThan.js.map +1 -1
  235. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.d.ts.map +1 -1
  236. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.js +6 -8
  237. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.js.map +1 -1
  238. package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.d.ts.map +1 -1
  239. package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.js +5 -4
  240. package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.js.map +1 -1
  241. package/lib/stores/milestoning/QueryBuilderBitemporalMilestoningImplementation.js.map +1 -1
  242. package/lib/stores/milestoning/QueryBuilderBusinessTemporalMilestoningImplementation.js.map +1 -1
  243. package/lib/stores/milestoning/QueryBuilderMilestoningHelper.js.map +1 -1
  244. package/lib/stores/milestoning/QueryBuilderMilestoningState.js.map +1 -1
  245. package/lib/stores/milestoning/QueryBuilderProcessingTemporalMilestoningImplementation.js.map +1 -1
  246. package/lib/stores/query-workflow/QueryBuilderWorkFlowState.d.ts +5 -0
  247. package/lib/stores/query-workflow/QueryBuilderWorkFlowState.d.ts.map +1 -1
  248. package/lib/stores/query-workflow/QueryBuilderWorkFlowState.js +7 -0
  249. package/lib/stores/query-workflow/QueryBuilderWorkFlowState.js.map +1 -1
  250. package/lib/stores/shared/LambdaEditorState.js.map +1 -1
  251. package/lib/stores/shared/LambdaParameterState.js.map +1 -1
  252. package/lib/stores/shared/ValueSpecificationEditorHelper.d.ts +1 -1
  253. package/lib/stores/shared/ValueSpecificationEditorHelper.d.ts.map +1 -1
  254. package/lib/stores/shared/ValueSpecificationEditorHelper.js +20 -10
  255. package/lib/stores/shared/ValueSpecificationEditorHelper.js.map +1 -1
  256. package/lib/stores/watermark/QueryBuilderWatermarkState.d.ts +0 -2
  257. package/lib/stores/watermark/QueryBuilderWatermarkState.d.ts.map +1 -1
  258. package/lib/stores/watermark/QueryBuilderWatermarkState.js +0 -6
  259. package/lib/stores/watermark/QueryBuilderWatermarkState.js.map +1 -1
  260. package/lib/stores/watermark/QueryBuilderWatermarkValueSpecificationBuilder.js.map +1 -1
  261. package/lib/stores/workflows/ClassQueryBuilderState.js.map +1 -1
  262. package/lib/stores/workflows/MappingQueryBuilderState.d.ts +2 -2
  263. package/lib/stores/workflows/MappingQueryBuilderState.d.ts.map +1 -1
  264. package/lib/stores/workflows/MappingQueryBuilderState.js +2 -1
  265. package/lib/stores/workflows/MappingQueryBuilderState.js.map +1 -1
  266. package/lib/stores/workflows/ServiceQueryBuilderState.d.ts +2 -2
  267. package/lib/stores/workflows/ServiceQueryBuilderState.d.ts.map +1 -1
  268. package/lib/stores/workflows/ServiceQueryBuilderState.js +2 -1
  269. package/lib/stores/workflows/ServiceQueryBuilderState.js.map +1 -1
  270. package/package.json +24 -24
  271. package/src/__lib__/QueryBuilderTesting.ts +1 -0
  272. package/src/components/QueryBuilder.tsx +89 -46
  273. package/src/components/QueryBuilderConstantExpressionPanel.tsx +41 -19
  274. package/src/components/QueryBuilderParametersPanel.tsx +7 -7
  275. package/src/components/QueryBuilderPropertyExpressionEditor.tsx +2 -0
  276. package/src/components/QueryBuilderSideBar.tsx +138 -339
  277. package/src/components/execution-plan/FunctionParametersValidationNodeViewer.tsx +3 -2
  278. package/src/components/explorer/QueryBuilderExplorerPanel.tsx +4 -4
  279. package/src/components/explorer/QueryBuilderPropertySearchPanel.tsx +4 -4
  280. package/src/components/fetch-structure/QueryBuilderPostFilterPanel.tsx +8 -3
  281. package/src/components/fetch-structure/QueryBuilderResultModifierPanel.tsx +139 -1
  282. package/src/components/fetch-structure/QueryBuilderTDSPanel.tsx +21 -4
  283. package/src/components/fetch-structure/QueryBuilderTDSWindowPanel.tsx +4 -4
  284. package/src/components/filter/QueryBuilderFilterPanel.tsx +12 -6
  285. package/src/components/result/tds/QueryBuilderTDSResultShared.tsx +2 -2
  286. package/src/components/result/tds/QueryBuilderTDSSimpleGridResult.tsx +1 -1
  287. package/src/components/shared/BasicValueSpecificationEditor.tsx +96 -34
  288. package/src/components/shared/CustomDatePicker.tsx +30 -22
  289. package/src/components/shared/QueryBuilderVariableSelector.tsx +2 -2
  290. package/src/components/workflows/ClassQueryBuilder.tsx +79 -77
  291. package/src/components/workflows/MappingQueryBuilder.tsx +75 -76
  292. package/src/components/workflows/ServiceQueryBuilder.tsx +71 -70
  293. package/src/index.ts +2 -1
  294. package/src/stores/QueryBuilderConstantsState.ts +2 -0
  295. package/src/stores/QueryBuilderPropertyEditorState.ts +17 -56
  296. package/src/stores/QueryBuilderState.ts +23 -1
  297. package/src/stores/QueryBuilderValueSpecificationHelper.ts +32 -0
  298. package/src/stores/QueryBuilder_LegendApplicationPlugin_Extension.ts +18 -0
  299. package/src/stores/explorer/QueryBuilderExplorerState.ts +2 -2
  300. package/src/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.ts +4 -0
  301. package/src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.ts +8 -0
  302. package/src/stores/fetch-structure/tds/QueryBuilderTDSState.ts +33 -0
  303. package/src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.ts +59 -0
  304. package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Contain.ts +5 -5
  305. package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.ts +5 -5
  306. package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Equal.ts +10 -69
  307. package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.ts +7 -18
  308. package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.ts +7 -18
  309. package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.ts +5 -5
  310. package/src/stores/filter/QueryBuilderFilterState.ts +48 -2
  311. package/src/stores/filter/operators/QueryBuilderFilterOperator_Contain.ts +5 -5
  312. package/src/stores/filter/operators/QueryBuilderFilterOperator_EndWith.ts +5 -5
  313. package/src/stores/filter/operators/QueryBuilderFilterOperator_Equal.ts +10 -71
  314. package/src/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.ts +6 -14
  315. package/src/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.ts +6 -14
  316. package/src/stores/filter/operators/QueryBuilderFilterOperator_LessThan.ts +6 -14
  317. package/src/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.ts +6 -14
  318. package/src/stores/filter/operators/QueryBuilderFilterOperator_StartWith.ts +5 -5
  319. package/src/stores/query-workflow/QueryBuilderWorkFlowState.ts +10 -0
  320. package/src/stores/shared/ValueSpecificationEditorHelper.ts +32 -16
  321. package/src/stores/watermark/QueryBuilderWatermarkState.ts +0 -7
  322. package/src/stores/workflows/MappingQueryBuilderState.ts +7 -1
  323. package/src/stores/workflows/ServiceQueryBuilderState.ts +6 -1
  324. package/tsconfig.json +17 -2
  325. package/tsconfig.package.json +17 -1
  326. package/lib/components/watermark/QueryBuilderWatermark.d.ts +0 -22
  327. package/lib/components/watermark/QueryBuilderWatermark.d.ts.map +0 -1
  328. package/lib/components/watermark/QueryBuilderWatermark.js +0 -83
  329. package/lib/components/watermark/QueryBuilderWatermark.js.map +0 -1
  330. package/src/components/watermark/QueryBuilderWatermark.tsx +0 -218
@@ -19,6 +19,7 @@ import {
19
19
  BasePopover,
20
20
  BaseRadioGroup,
21
21
  CustomSelectorInput,
22
+ clsx,
22
23
  } from '@finos/legend-art';
23
24
  import {
24
25
  type PureModel,
@@ -541,14 +542,14 @@ const buildCustomDateOptionDurationValue = (
541
542
  return durationParam instanceof PrimitiveInstanceValue
542
543
  ? (durationParam.values[0] as number)
543
544
  : durationParam instanceof SimpleFunctionExpression &&
544
- matchFunctionName(
545
- durationParam.functionName,
546
- QUERY_BUILDER_SUPPORTED_FUNCTIONS.MINUS,
547
- )
548
- ? durationParam.parametersValues[0] instanceof PrimitiveInstanceValue
549
- ? (durationParam.parametersValues[0].values[0] as number)
550
- : 0
551
- : 0;
545
+ matchFunctionName(
546
+ durationParam.functionName,
547
+ QUERY_BUILDER_SUPPORTED_FUNCTIONS.MINUS,
548
+ )
549
+ ? durationParam.parametersValues[0] instanceof PrimitiveInstanceValue
550
+ ? (durationParam.parametersValues[0].values[0] as number)
551
+ : 0
552
+ : 0;
552
553
  };
553
554
 
554
555
  /**
@@ -713,9 +714,10 @@ export const buildDatePickerOption = (
713
714
  );
714
715
  case QUERY_BUILDER_SUPPORTED_FUNCTIONS.PREVIOUS_DAY_OF_WEEK:
715
716
  return new CustomPreviousDayOfWeekOption(
716
- `Previous ${(
717
- valueSpecification.parametersValues[0] as EnumValueInstanceValue
718
- ).values[0]?.value.name}`,
717
+ `Previous ${
718
+ (valueSpecification.parametersValues[0] as EnumValueInstanceValue)
719
+ .values[0]?.value.name
720
+ }`,
719
721
  (valueSpecification.parametersValues[0] as EnumValueInstanceValue)
720
722
  .values[0]?.value.name as CUSTOM_DATE_DAY_OF_WEEK,
721
723
  );
@@ -732,11 +734,13 @@ export const buildDatePickerOption = (
732
734
  CUSTOM_DATE_PICKER_OPTION.LATEST_DATE,
733
735
  )
734
736
  : new DatePickerOption(
735
- valueSpecification.values[0] as string,
736
- valueSpecification.genericType.value.rawType.path ===
737
- PRIMITIVE_TYPE.DATETIME
738
- ? CUSTOM_DATE_PICKER_OPTION.ABSOLUTE_TIME
739
- : CUSTOM_DATE_PICKER_OPTION.ABSOLUTE_DATE,
737
+ (valueSpecification.values[0] ?? '') as string,
738
+ valueSpecification.values[0] === null
739
+ ? ''
740
+ : valueSpecification.genericType.value.rawType.path ===
741
+ PRIMITIVE_TYPE.DATETIME
742
+ ? CUSTOM_DATE_PICKER_OPTION.ABSOLUTE_TIME
743
+ : CUSTOM_DATE_PICKER_OPTION.ABSOLUTE_DATE,
740
744
  );
741
745
  }
742
746
  };
@@ -759,7 +763,7 @@ const AbsoluteDateValueSpecificationEditor: React.FC<{
759
763
  const absoluteDateValue =
760
764
  valueSpecification instanceof SimpleFunctionExpression
761
765
  ? ''
762
- : (valueSpecification.values[0] as string);
766
+ : (valueSpecification.values[0] as string | null);
763
767
  const updateAbsoluteDateValue: React.ChangeEventHandler<HTMLInputElement> = (
764
768
  event,
765
769
  ) => {
@@ -811,7 +815,7 @@ const AbsoluteDateValueSpecificationEditor: React.FC<{
811
815
  className="panel__content__form__section__input value-spec-editor__date-picker__absolute-date__input input--dark"
812
816
  type="date"
813
817
  spellCheck={false}
814
- value={absoluteDateValue}
818
+ value={absoluteDateValue ?? ''}
815
819
  onChange={updateAbsoluteDateValue}
816
820
  />
817
821
  </div>
@@ -836,7 +840,7 @@ const AbsoluteTimeValueSpecificationEditor: React.FC<{
836
840
  const absoluteTimeValue =
837
841
  valueSpecification instanceof SimpleFunctionExpression
838
842
  ? ''
839
- : (valueSpecification.values[0] as string);
843
+ : (valueSpecification.values[0] as string | null);
840
844
  const updateAbsoluteTimeValue: React.ChangeEventHandler<HTMLInputElement> = (
841
845
  event,
842
846
  ) => {
@@ -892,7 +896,7 @@ const AbsoluteTimeValueSpecificationEditor: React.FC<{
892
896
  // See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/datetime-local#step
893
897
  step="1"
894
898
  spellCheck={false}
895
- value={absoluteTimeValue}
899
+ value={absoluteTimeValue ?? ''}
896
900
  onChange={updateAbsoluteTimeValue}
897
901
  />
898
902
  </div>
@@ -1224,6 +1228,7 @@ export const CustomDatePicker: React.FC<{
1224
1228
  valueSpecification: PrimitiveInstanceValue | SimpleFunctionExpression;
1225
1229
  graph: PureModel;
1226
1230
  observerContext: ObserverContext;
1231
+ hasError?: boolean;
1227
1232
  typeCheckOption: {
1228
1233
  expectedType: Type;
1229
1234
  /**
@@ -1246,6 +1251,7 @@ export const CustomDatePicker: React.FC<{
1246
1251
  setValueSpecification,
1247
1252
  graph,
1248
1253
  observerContext,
1254
+ hasError,
1249
1255
  typeCheckOption,
1250
1256
  } = props;
1251
1257
  const applicationStore = useApplicationStore();
@@ -1403,11 +1409,13 @@ export const CustomDatePicker: React.FC<{
1403
1409
  return (
1404
1410
  <>
1405
1411
  <button
1406
- className="value-spec-editor__date-picker__trigger"
1412
+ className={clsx('value-spec-editor__date-picker__trigger', {
1413
+ 'value-spec-editor__date-picker__trigger--error': hasError,
1414
+ })}
1407
1415
  title="Click to edit and pick from more date options"
1408
1416
  onClick={openCustomDatePickerPopover}
1409
1417
  >
1410
- {datePickerOption.label}
1418
+ {datePickerOption.label || 'Select value'}
1411
1419
  </button>
1412
1420
  <BasePopover
1413
1421
  open={Boolean(anchorEl)}
@@ -48,7 +48,7 @@ import { forwardRef, useState } from 'react';
48
48
 
49
49
  const CALCULATED = '(calculated)';
50
50
 
51
- const getNameOfValue = (
51
+ export const getNameOfValueSpecification = (
52
52
  value: ValueSpecification,
53
53
  queryBuilderState: QueryBuilderState,
54
54
  ): string | undefined => {
@@ -143,7 +143,7 @@ export const VariableViewer = observer(
143
143
  const onContextMenuClose = (): void => setIsSelectedFromContextMenu(false);
144
144
  const isConstant = Boolean(value);
145
145
  const constantValueString = value?.val
146
- ? getNameOfValue(value.val, queryBuilderState)
146
+ ? getNameOfValueSpecification(value.val, queryBuilderState)
147
147
  : undefined;
148
148
  const name = variable.name;
149
149
  const variableTypeName =
@@ -16,9 +16,8 @@
16
16
 
17
17
  import {
18
18
  CustomSelectorInput,
19
+ PanelHeader,
19
20
  createFilter,
20
- PURE_MappingIcon,
21
- PURE_RuntimeIcon,
22
21
  } from '@finos/legend-art';
23
22
  import { observer } from 'mobx-react-lite';
24
23
  import {
@@ -70,7 +69,9 @@ const ClassQueryBuilderSetupPanelContent = observer(
70
69
  queryBuilderState.graphManagerState.usableMappings,
71
70
  )
72
71
  : []
73
- ).map(buildElementOption);
72
+ )
73
+ .map(buildElementOption)
74
+ .sort((a, b) => a.label.localeCompare(b.label));
74
75
  const selectedMappingOption = queryBuilderState.executionContextState
75
76
  .mapping
76
77
  ? buildElementOption(queryBuilderState.executionContextState.mapping)
@@ -105,7 +106,8 @@ const ClassQueryBuilderSetupPanelContent = observer(
105
106
  (rt) =>
106
107
  new RuntimePointer(PackageableElementExplicitReference.create(rt)),
107
108
  )
108
- .map(buildRuntimeValueOption);
109
+ .map(buildRuntimeValueOption)
110
+ .sort((a, b) => a.label.localeCompare(b.label));
109
111
  const selectedRuntimeOption = queryBuilderState.executionContextState
110
112
  .runtimeValue
111
113
  ? buildRuntimeValueOption(
@@ -128,83 +130,83 @@ const ClassQueryBuilderSetupPanelContent = observer(
128
130
  });
129
131
 
130
132
  return (
131
- <>
132
- <QueryBuilderClassSelector
133
- queryBuilderState={queryBuilderState}
134
- classes={classes}
135
- onClassChange={onClassChange}
136
- />
137
- <div className="query-builder__setup__config-group">
138
- <div className="query-builder__setup__config-group__header">
139
- <div className="query-builder__setup__config-group__header__title">
140
- execution context
141
- </div>
142
- </div>
143
- <div className="query-builder__setup__config-group__content">
144
- <div className="query-builder__setup__config-group__item">
145
- <div
146
- className="btn--sm query-builder__setup__config-group__item__label"
147
- title="mapping"
148
- >
149
- <PURE_MappingIcon />
150
- </div>
151
- <CustomSelectorInput
152
- className="panel__content__form__section__dropdown query-builder__setup__config-group__item__selector"
153
- placeholder={
154
- mappingOptions.length
155
- ? 'Choose a mapping...'
156
- : 'No compatible mapping found for class'
157
- }
158
- noMatchMessage="No compatible mapping found for specified class"
159
- disabled={!queryBuilderState.class}
160
- options={mappingOptions}
161
- onChange={changeMapping}
162
- value={selectedMappingOption}
163
- darkMode={
133
+ <div className="query-builder__setup__config-group">
134
+ <PanelHeader title="properties" />
135
+ <div className="query-builder__setup__config-group__content">
136
+ <div className="query-builder__setup__config-group__item">
137
+ <label
138
+ className="btn--sm query-builder__setup__config-group__item__label"
139
+ title="mapping"
140
+ htmlFor="query-builder__setup__mapping-selector"
141
+ >
142
+ Mapping
143
+ </label>
144
+ <CustomSelectorInput
145
+ inputId="query-builder__setup__mapping-selector"
146
+ className="panel__content__form__section__dropdown query-builder__setup__config-group__item__selector"
147
+ placeholder={
148
+ mappingOptions.length
149
+ ? 'Choose a mapping...'
150
+ : 'No compatible mapping found for class'
151
+ }
152
+ noMatchMessage="No compatible mapping found for specified class"
153
+ disabled={!queryBuilderState.class}
154
+ options={mappingOptions}
155
+ onChange={changeMapping}
156
+ value={selectedMappingOption}
157
+ darkMode={
158
+ !applicationStore.layoutService
159
+ .TEMPORARY__isLightColorThemeEnabled
160
+ }
161
+ filterOption={mappingFilterOption}
162
+ formatOptionLabel={getPackageableElementOptionFormatter({
163
+ darkMode:
164
164
  !applicationStore.layoutService
165
- .TEMPORARY__isLightColorThemeEnabled
166
- }
167
- filterOption={mappingFilterOption}
168
- formatOptionLabel={getPackageableElementOptionFormatter({
169
- darkMode:
170
- !applicationStore.layoutService
171
- .TEMPORARY__isLightColorThemeEnabled,
172
- })}
173
- />
174
- </div>
175
- <div className="query-builder__setup__config-group__item">
176
- <div
177
- className="btn--sm query-builder__setup__config-group__item__label"
178
- title="runtime"
179
- >
180
- <PURE_RuntimeIcon />
181
- </div>
182
- <CustomSelectorInput
183
- className="panel__content__form__section__dropdown query-builder__setup__config-group__item__selector"
184
- placeholder="Choose a runtime..."
185
- noMatchMessage="No compatible runtime found for specified mapping"
186
- disabled={
187
- !queryBuilderState.class ||
188
- !queryBuilderState.executionContextState.mapping
189
- }
190
- options={runtimeOptions}
191
- onChange={changeRuntime}
192
- value={selectedRuntimeOption}
193
- darkMode={
165
+ .TEMPORARY__isLightColorThemeEnabled,
166
+ })}
167
+ />
168
+ </div>
169
+ <div className="query-builder__setup__config-group__item">
170
+ <label
171
+ className="btn--sm query-builder__setup__config-group__item__label"
172
+ title="runtime"
173
+ htmlFor="query-builder__setup__runtime-selector"
174
+ >
175
+ Runtime
176
+ </label>
177
+ <CustomSelectorInput
178
+ inputId="query-builder__setup__runtime-selector"
179
+ className="panel__content__form__section__dropdown query-builder__setup__config-group__item__selector"
180
+ placeholder="Choose a runtime..."
181
+ noMatchMessage="No compatible runtime found for specified mapping"
182
+ disabled={
183
+ !queryBuilderState.class ||
184
+ !queryBuilderState.executionContextState.mapping
185
+ }
186
+ options={runtimeOptions}
187
+ onChange={changeRuntime}
188
+ value={selectedRuntimeOption}
189
+ darkMode={
190
+ !applicationStore.layoutService
191
+ .TEMPORARY__isLightColorThemeEnabled
192
+ }
193
+ filterOption={runtimeFilterOption}
194
+ formatOptionLabel={getRuntimeOptionFormatter({
195
+ darkMode:
194
196
  !applicationStore.layoutService
195
- .TEMPORARY__isLightColorThemeEnabled
196
- }
197
- filterOption={runtimeFilterOption}
198
- formatOptionLabel={getRuntimeOptionFormatter({
199
- darkMode:
200
- !applicationStore.layoutService
201
- .TEMPORARY__isLightColorThemeEnabled,
202
- })}
203
- />
204
- </div>
197
+ .TEMPORARY__isLightColorThemeEnabled,
198
+ })}
199
+ />
200
+ </div>
201
+ <div className="query-builder__setup__config-group__item">
202
+ <QueryBuilderClassSelector
203
+ queryBuilderState={queryBuilderState}
204
+ classes={classes}
205
+ onClassChange={onClassChange}
206
+ />
205
207
  </div>
206
208
  </div>
207
- </>
209
+ </div>
208
210
  );
209
211
  },
210
212
  );
@@ -16,9 +16,8 @@
16
16
 
17
17
  import {
18
18
  CustomSelectorInput,
19
+ PanelHeader,
19
20
  createFilter,
20
- PURE_MappingIcon,
21
- PURE_RuntimeIcon,
22
21
  } from '@finos/legend-art';
23
22
  import { observer } from 'mobx-react-lite';
24
23
  import {
@@ -58,10 +57,9 @@ const MappingQueryBuilderSetupPanelContent = observer(
58
57
  const applicationStore = useApplicationStore();
59
58
 
60
59
  // mapping
61
- const mappingOptions =
62
- queryBuilderState.graphManagerState.usableMappings.map(
63
- buildElementOption,
64
- );
60
+ const mappingOptions = queryBuilderState.graphManagerState.usableMappings
61
+ .map(buildElementOption)
62
+ .sort((a, b) => a.label.localeCompare(b.label));
65
63
  const selectedMappingOption = queryBuilderState.executionContextState
66
64
  .mapping
67
65
  ? buildElementOption(queryBuilderState.executionContextState.mapping)
@@ -94,7 +92,8 @@ const MappingQueryBuilderSetupPanelContent = observer(
94
92
  (rt) =>
95
93
  new RuntimePointer(PackageableElementExplicitReference.create(rt)),
96
94
  )
97
- .map(buildRuntimeValueOption);
95
+ .map(buildRuntimeValueOption)
96
+ .sort((a, b) => a.label.localeCompare(b.label));
98
97
  const selectedRuntimeOption = queryBuilderState.executionContextState
99
98
  .runtimeValue
100
99
  ? buildRuntimeValueOption(
@@ -125,79 +124,79 @@ const MappingQueryBuilderSetupPanelContent = observer(
125
124
  : [];
126
125
 
127
126
  return (
128
- <>
129
- <div className="query-builder__setup__config-group">
130
- <div className="query-builder__setup__config-group__header">
131
- <div className="query-builder__setup__config-group__header__title">
132
- execution context
133
- </div>
134
- </div>
135
- <div className="query-builder__setup__config-group__content">
136
- <div className="query-builder__setup__config-group__item">
137
- <div
138
- className="btn--sm query-builder__setup__config-group__item__label"
139
- title="mapping"
140
- >
141
- <PURE_MappingIcon />
142
- </div>
143
- <CustomSelectorInput
144
- className="panel__content__form__section__dropdown query-builder__setup__config-group__item__selector"
145
- placeholder={
146
- mappingOptions.length
147
- ? 'Choose a mapping...'
148
- : 'No mapping found'
149
- }
150
- noMatchMessage="No mapping found"
151
- options={mappingOptions}
152
- onChange={changeMapping}
153
- value={selectedMappingOption}
154
- darkMode={
127
+ <div className="query-builder__setup__config-group">
128
+ <PanelHeader title="properties" />
129
+ <div className="query-builder__setup__config-group__content">
130
+ <div className="query-builder__setup__config-group__item">
131
+ <label
132
+ className="btn--sm query-builder__setup__config-group__item__label"
133
+ title="mapping"
134
+ htmlFor="query-builder__setup__mapping-selector"
135
+ >
136
+ Mapping
137
+ </label>
138
+ <CustomSelectorInput
139
+ inputId="query-builder__setup__mapping-selector"
140
+ className="panel__content__form__section__dropdown query-builder__setup__config-group__item__selector"
141
+ placeholder={
142
+ mappingOptions.length
143
+ ? 'Choose a mapping...'
144
+ : 'No mapping found'
145
+ }
146
+ noMatchMessage="No mapping found"
147
+ options={mappingOptions}
148
+ onChange={changeMapping}
149
+ value={selectedMappingOption}
150
+ darkMode={
151
+ !applicationStore.layoutService
152
+ .TEMPORARY__isLightColorThemeEnabled
153
+ }
154
+ filterOption={mappingFilterOption}
155
+ formatOptionLabel={getPackageableElementOptionFormatter({
156
+ darkMode:
155
157
  !applicationStore.layoutService
156
- .TEMPORARY__isLightColorThemeEnabled
157
- }
158
- filterOption={mappingFilterOption}
159
- formatOptionLabel={getPackageableElementOptionFormatter({
160
- darkMode:
161
- !applicationStore.layoutService
162
- .TEMPORARY__isLightColorThemeEnabled,
163
- })}
164
- />
165
- </div>
166
- <div className="query-builder__setup__config-group__item">
167
- <div
168
- className="btn--sm query-builder__setup__config-group__item__label"
169
- title="runtime"
170
- >
171
- <PURE_RuntimeIcon />
172
- </div>
173
- <CustomSelectorInput
174
- className="panel__content__form__section__dropdown query-builder__setup__config-group__item__selector"
175
- placeholder="Choose a runtime..."
176
- noMatchMessage="No compatible runtime found for specified mapping"
177
- disabled={!queryBuilderState.executionContextState.mapping}
178
- options={runtimeOptions}
179
- onChange={changeRuntime}
180
- value={selectedRuntimeOption}
181
- darkMode={
158
+ .TEMPORARY__isLightColorThemeEnabled,
159
+ })}
160
+ />
161
+ </div>
162
+ <div className="query-builder__setup__config-group__item">
163
+ <label
164
+ className="btn--sm query-builder__setup__config-group__item__label"
165
+ title="runtime"
166
+ htmlFor="query-builder__setup__runtime-selector"
167
+ >
168
+ Runtime
169
+ </label>
170
+ <CustomSelectorInput
171
+ inputId="query-builder__setup__runtime-selector"
172
+ className="panel__content__form__section__dropdown query-builder__setup__config-group__item__selector"
173
+ placeholder="Choose a runtime..."
174
+ noMatchMessage="No compatible runtime found for specified mapping"
175
+ disabled={!queryBuilderState.executionContextState.mapping}
176
+ options={runtimeOptions}
177
+ onChange={changeRuntime}
178
+ value={selectedRuntimeOption}
179
+ darkMode={
180
+ !applicationStore.layoutService
181
+ .TEMPORARY__isLightColorThemeEnabled
182
+ }
183
+ filterOption={runtimeFilterOption}
184
+ formatOptionLabel={getRuntimeOptionFormatter({
185
+ darkMode:
182
186
  !applicationStore.layoutService
183
- .TEMPORARY__isLightColorThemeEnabled
184
- }
185
- filterOption={runtimeFilterOption}
186
- formatOptionLabel={getRuntimeOptionFormatter({
187
- darkMode:
188
- !applicationStore.layoutService
189
- .TEMPORARY__isLightColorThemeEnabled,
190
- })}
191
- />
192
- </div>
187
+ .TEMPORARY__isLightColorThemeEnabled,
188
+ })}
189
+ />
190
+ </div>
191
+ <div className="query-builder__setup__config-group__item">
192
+ <QueryBuilderClassSelector
193
+ queryBuilderState={queryBuilderState}
194
+ classes={classes}
195
+ noMatchMessage="No compatible entity found for specified mapping"
196
+ />
193
197
  </div>
194
198
  </div>
195
- <QueryBuilderClassSelector
196
- queryBuilderState={queryBuilderState}
197
- classes={classes}
198
- noMatchMessage="No compatible class found for specified mapping"
199
- />
200
- </>
199
+ </div>
201
200
  );
202
201
  },
203
202
  );