@finos/legend-query-builder 3.0.8 → 3.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (282) hide show
  1. package/lib/__lib__/QueryBuilderTelemetryHelper.d.ts +20 -20
  2. package/lib/__lib__/QueryBuilderTelemetryHelper.d.ts.map +1 -1
  3. package/lib/__lib__/QueryBuilderTelemetryHelper.js +40 -40
  4. package/lib/__lib__/QueryBuilderTelemetryHelper.js.map +1 -1
  5. package/lib/components/QueryBuilder.d.ts.map +1 -1
  6. package/lib/components/QueryBuilder.js +51 -4
  7. package/lib/components/QueryBuilder.js.map +1 -1
  8. package/lib/components/QueryLoader.d.ts +30 -0
  9. package/lib/components/QueryLoader.d.ts.map +1 -0
  10. package/lib/components/QueryLoader.js +160 -0
  11. package/lib/components/QueryLoader.js.map +1 -0
  12. package/lib/components/fetch-structure/QueryBuilderTDSPanel.d.ts +18 -0
  13. package/lib/components/fetch-structure/QueryBuilderTDSPanel.d.ts.map +1 -1
  14. package/lib/components/fetch-structure/QueryBuilderTDSPanel.js +152 -15
  15. package/lib/components/fetch-structure/QueryBuilderTDSPanel.js.map +1 -1
  16. package/lib/components/shared/QueryBuilderPanelIssueCountBadge.d.ts.map +1 -1
  17. package/lib/components/shared/QueryBuilderPanelIssueCountBadge.js +2 -1
  18. package/lib/components/shared/QueryBuilderPanelIssueCountBadge.js.map +1 -1
  19. package/lib/graph/QueryBuilderMetaModelConst.d.ts +33 -0
  20. package/lib/graph/QueryBuilderMetaModelConst.d.ts.map +1 -1
  21. package/lib/graph/QueryBuilderMetaModelConst.js +34 -0
  22. package/lib/graph/QueryBuilderMetaModelConst.js.map +1 -1
  23. package/lib/graph-manager/QueryBuilderConst.d.ts +20 -0
  24. package/lib/graph-manager/QueryBuilderConst.d.ts.map +1 -0
  25. package/lib/graph-manager/QueryBuilderConst.js +21 -0
  26. package/lib/graph-manager/QueryBuilderConst.js.map +1 -0
  27. package/lib/graph-manager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.d.ts.map +1 -1
  28. package/lib/graph-manager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.js +3 -2
  29. package/lib/graph-manager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.js.map +1 -1
  30. package/lib/graph-manager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.d.ts.map +1 -1
  31. package/lib/graph-manager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.js +27 -14
  32. package/lib/graph-manager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.js.map +1 -1
  33. package/lib/index.css +2 -2
  34. package/lib/index.css.map +1 -1
  35. package/lib/index.d.ts +3 -0
  36. package/lib/index.d.ts.map +1 -1
  37. package/lib/index.js +3 -0
  38. package/lib/index.js.map +1 -1
  39. package/lib/package.json +1 -1
  40. package/lib/stores/QueryBuilderState.d.ts +2 -0
  41. package/lib/stores/QueryBuilderState.d.ts.map +1 -1
  42. package/lib/stores/QueryBuilderState.js +7 -0
  43. package/lib/stores/QueryBuilderState.js.map +1 -1
  44. package/lib/stores/QueryBuilderStateBuilder.d.ts +1 -1
  45. package/lib/stores/QueryBuilderStateBuilder.d.ts.map +1 -1
  46. package/lib/stores/QueryBuilderStateBuilder.js +11 -2
  47. package/lib/stores/QueryBuilderStateBuilder.js.map +1 -1
  48. package/lib/stores/QueryBuilderStateHashUtils.d.ts +32 -1
  49. package/lib/stores/QueryBuilderStateHashUtils.d.ts.map +1 -1
  50. package/lib/stores/QueryBuilderStateHashUtils.js +32 -0
  51. package/lib/stores/QueryBuilderStateHashUtils.js.map +1 -1
  52. package/lib/stores/QueryBuilderTextEditorState.d.ts.map +1 -1
  53. package/lib/stores/QueryBuilderTextEditorState.js +12 -6
  54. package/lib/stores/QueryBuilderTextEditorState.js.map +1 -1
  55. package/lib/stores/QueryBuilder_LegendApplicationPlugin_Extension.d.ts +30 -0
  56. package/lib/stores/QueryBuilder_LegendApplicationPlugin_Extension.d.ts.map +1 -0
  57. package/lib/stores/QueryBuilder_LegendApplicationPlugin_Extension.js +17 -0
  58. package/lib/stores/QueryBuilder_LegendApplicationPlugin_Extension.js.map +1 -0
  59. package/lib/stores/QueryLoaderState.d.ts +67 -0
  60. package/lib/stores/QueryLoaderState.d.ts.map +1 -0
  61. package/lib/stores/QueryLoaderState.js +205 -0
  62. package/lib/stores/QueryLoaderState.js.map +1 -0
  63. package/lib/stores/explorer/QueryBuilderExplorerState.d.ts +1 -1
  64. package/lib/stores/explorer/QueryBuilderExplorerState.d.ts.map +1 -1
  65. package/lib/stores/explorer/QueryBuilderExplorerState.js +2 -2
  66. package/lib/stores/explorer/QueryBuilderExplorerState.js.map +1 -1
  67. package/lib/stores/fetch-structure/QueryBuilderFetchStructureState.d.ts.map +1 -1
  68. package/lib/stores/fetch-structure/QueryBuilderFetchStructureState.js +1 -0
  69. package/lib/stores/fetch-structure/QueryBuilderFetchStructureState.js.map +1 -1
  70. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.d.ts +2 -0
  71. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.d.ts.map +1 -1
  72. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js +14 -4
  73. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js.map +1 -1
  74. package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateCalendarFunction.d.ts +38 -0
  75. package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateCalendarFunction.d.ts.map +1 -0
  76. package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateCalendarFunction.js +54 -0
  77. package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateCalendarFunction.js.map +1 -0
  78. package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateCalendarFunctionLoader.d.ts +18 -0
  79. package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateCalendarFunctionLoader.d.ts.map +1 -0
  80. package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateCalendarFunctionLoader.js +80 -0
  81. package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateCalendarFunctionLoader.js.map +1 -0
  82. package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.d.ts +8 -1
  83. package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.d.ts.map +1 -1
  84. package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.js +24 -1
  85. package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.js.map +1 -1
  86. package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationStateBuilder.d.ts.map +1 -1
  87. package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationStateBuilder.js +23 -0
  88. package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationStateBuilder.js.map +1 -1
  89. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunctionValueSpecificationBuilder.d.ts +22 -0
  90. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunctionValueSpecificationBuilder.d.ts.map +1 -0
  91. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunctionValueSpecificationBuilder.js +61 -0
  92. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunctionValueSpecificationBuilder.js.map +1 -0
  93. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Annualized.d.ts +28 -0
  94. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Annualized.d.ts.map +1 -0
  95. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Annualized.js +55 -0
  96. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Annualized.js.map +1 -0
  97. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cme.d.ts +28 -0
  98. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cme.d.ts.map +1 -0
  99. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cme.js +55 -0
  100. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cme.js.map +1 -0
  101. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cw.d.ts +28 -0
  102. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cw.d.ts.map +1 -0
  103. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cw.js +55 -0
  104. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cw.js.map +1 -0
  105. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cw_Fm.d.ts +28 -0
  106. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cw_Fm.d.ts.map +1 -0
  107. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cw_Fm.js +55 -0
  108. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cw_Fm.js.map +1 -0
  109. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cy_Minus2.d.ts +28 -0
  110. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cy_Minus2.d.ts.map +1 -0
  111. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cy_Minus2.js +55 -0
  112. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cy_Minus2.js.map +1 -0
  113. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cy_Minus3.d.ts +28 -0
  114. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cy_Minus3.d.ts.map +1 -0
  115. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cy_Minus3.js +55 -0
  116. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cy_Minus3.js.map +1 -0
  117. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Mtd.d.ts +28 -0
  118. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Mtd.d.ts.map +1 -0
  119. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Mtd.js +55 -0
  120. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Mtd.js.map +1 -0
  121. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P12Wa.d.ts +28 -0
  122. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P12Wa.d.ts.map +1 -0
  123. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P12Wa.js +55 -0
  124. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P12Wa.js.map +1 -0
  125. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P12Wtd.d.ts +28 -0
  126. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P12Wtd.d.ts.map +1 -0
  127. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P12Wtd.js +55 -0
  128. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P12Wtd.js.map +1 -0
  129. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P4Wa.d.ts +28 -0
  130. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P4Wa.d.ts.map +1 -0
  131. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P4Wa.js +55 -0
  132. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P4Wa.js.map +1 -0
  133. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P4Wtd.d.ts +28 -0
  134. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P4Wtd.d.ts.map +1 -0
  135. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P4Wtd.js +55 -0
  136. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P4Wtd.js.map +1 -0
  137. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P52Wa.d.ts +28 -0
  138. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P52Wa.d.ts.map +1 -0
  139. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P52Wa.js +55 -0
  140. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P52Wa.js.map +1 -0
  141. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P52Wtd.d.ts +28 -0
  142. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P52Wtd.d.ts.map +1 -0
  143. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P52Wtd.js +55 -0
  144. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P52Wtd.js.map +1 -0
  145. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pma.d.ts +28 -0
  146. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pma.d.ts.map +1 -0
  147. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pma.js +55 -0
  148. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pma.js.map +1 -0
  149. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pmtd.d.ts +28 -0
  150. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pmtd.d.ts.map +1 -0
  151. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pmtd.js +55 -0
  152. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pmtd.js.map +1 -0
  153. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pqtd.d.ts +28 -0
  154. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pqtd.d.ts.map +1 -0
  155. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pqtd.js +55 -0
  156. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pqtd.js.map +1 -0
  157. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_PriorDay.d.ts +28 -0
  158. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_PriorDay.d.ts.map +1 -0
  159. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_PriorDay.js +55 -0
  160. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_PriorDay.js.map +1 -0
  161. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_PriorYear.d.ts +28 -0
  162. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_PriorYear.d.ts.map +1 -0
  163. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_PriorYear.js +55 -0
  164. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_PriorYear.js.map +1 -0
  165. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pw.d.ts +28 -0
  166. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pw.d.ts.map +1 -0
  167. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pw.js +55 -0
  168. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pw.js.map +1 -0
  169. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pw_Fm.d.ts +28 -0
  170. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pw_Fm.d.ts.map +1 -0
  171. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pw_Fm.js +55 -0
  172. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pw_Fm.js.map +1 -0
  173. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pwa.d.ts +28 -0
  174. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pwa.d.ts.map +1 -0
  175. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pwa.js +55 -0
  176. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pwa.js.map +1 -0
  177. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pwtd.d.ts +28 -0
  178. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pwtd.d.ts.map +1 -0
  179. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pwtd.js +55 -0
  180. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pwtd.js.map +1 -0
  181. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pymtd.d.ts +28 -0
  182. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pymtd.d.ts.map +1 -0
  183. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pymtd.js +55 -0
  184. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pymtd.js.map +1 -0
  185. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pyqtd.d.ts +28 -0
  186. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pyqtd.d.ts.map +1 -0
  187. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pyqtd.js +55 -0
  188. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pyqtd.js.map +1 -0
  189. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pytd.d.ts +28 -0
  190. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pytd.d.ts.map +1 -0
  191. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pytd.js +55 -0
  192. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pytd.js.map +1 -0
  193. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pywa.d.ts +28 -0
  194. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pywa.d.ts.map +1 -0
  195. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pywa.js +55 -0
  196. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pywa.js.map +1 -0
  197. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pywtd.d.ts +28 -0
  198. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pywtd.d.ts.map +1 -0
  199. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pywtd.js +55 -0
  200. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pywtd.js.map +1 -0
  201. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Qtd.d.ts +28 -0
  202. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Qtd.d.ts.map +1 -0
  203. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Qtd.js +55 -0
  204. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Qtd.js.map +1 -0
  205. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_ReportEndDay.d.ts +28 -0
  206. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_ReportEndDay.d.ts.map +1 -0
  207. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_ReportEndDay.js +55 -0
  208. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_ReportEndDay.js.map +1 -0
  209. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Wtd.d.ts +28 -0
  210. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Wtd.d.ts.map +1 -0
  211. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Wtd.js +55 -0
  212. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Wtd.js.map +1 -0
  213. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Ytd.d.ts +28 -0
  214. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Ytd.d.ts.map +1 -0
  215. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Ytd.js +55 -0
  216. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Ytd.js.map +1 -0
  217. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.d.ts.map +1 -1
  218. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.js +9 -1
  219. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.js.map +1 -1
  220. package/lib/stores/shared/ValueSpecificationEditorHelper.d.ts +3 -1
  221. package/lib/stores/shared/ValueSpecificationEditorHelper.d.ts.map +1 -1
  222. package/lib/stores/shared/ValueSpecificationEditorHelper.js +7 -1
  223. package/lib/stores/shared/ValueSpecificationEditorHelper.js.map +1 -1
  224. package/package.json +8 -8
  225. package/src/__lib__/QueryBuilderTelemetryHelper.ts +40 -59
  226. package/src/components/QueryBuilder.tsx +79 -0
  227. package/src/components/QueryLoader.tsx +501 -0
  228. package/src/components/fetch-structure/QueryBuilderTDSPanel.tsx +456 -92
  229. package/src/components/shared/QueryBuilderPanelIssueCountBadge.tsx +2 -1
  230. package/src/graph/QueryBuilderMetaModelConst.ts +34 -0
  231. package/src/graph-manager/QueryBuilderConst.ts +20 -0
  232. package/src/graph-manager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.ts +10 -1
  233. package/src/graph-manager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.ts +73 -28
  234. package/src/index.ts +3 -0
  235. package/src/stores/QueryBuilderState.ts +8 -0
  236. package/src/stores/QueryBuilderStateBuilder.ts +33 -2
  237. package/src/stores/QueryBuilderStateHashUtils.ts +33 -0
  238. package/src/stores/QueryBuilderTextEditorState.ts +21 -14
  239. package/src/stores/QueryBuilder_LegendApplicationPlugin_Extension.ts +36 -0
  240. package/src/stores/QueryLoaderState.ts +298 -0
  241. package/src/stores/explorer/QueryBuilderExplorerState.ts +2 -1
  242. package/src/stores/fetch-structure/QueryBuilderFetchStructureState.ts +1 -0
  243. package/src/stores/fetch-structure/tds/QueryBuilderTDSState.ts +22 -3
  244. package/src/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateCalendarFunction.ts +98 -0
  245. package/src/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateCalendarFunctionLoader.ts +83 -0
  246. package/src/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.ts +31 -0
  247. package/src/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationStateBuilder.ts +41 -0
  248. package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunctionValueSpecificationBuilder.ts +175 -0
  249. package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Annualized.ts +98 -0
  250. package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cme.ts +98 -0
  251. package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cw.ts +98 -0
  252. package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cw_Fm.ts +99 -0
  253. package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cy_Minus2.ts +98 -0
  254. package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cy_Minus3.ts +98 -0
  255. package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Mtd.ts +98 -0
  256. package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P12Wa.ts +98 -0
  257. package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P12Wtd.ts +98 -0
  258. package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P4Wa.ts +98 -0
  259. package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P4Wtd.ts +98 -0
  260. package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P52Wa.ts +98 -0
  261. package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P52Wtd.ts +98 -0
  262. package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pma.ts +98 -0
  263. package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pmtd.ts +98 -0
  264. package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pqtd.ts +98 -0
  265. package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_PriorDay.ts +98 -0
  266. package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_PriorYear.ts +98 -0
  267. package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pw.ts +98 -0
  268. package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pw_Fm.ts +98 -0
  269. package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pwa.ts +98 -0
  270. package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pwtd.ts +98 -0
  271. package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pymtd.ts +98 -0
  272. package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pyqtd.ts +98 -0
  273. package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pytd.ts +98 -0
  274. package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pywa.ts +98 -0
  275. package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pywtd.ts +98 -0
  276. package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Qtd.ts +98 -0
  277. package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_ReportEndDay.ts +98 -0
  278. package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Wtd.ts +98 -0
  279. package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Ytd.ts +98 -0
  280. package/src/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.ts +18 -1
  281. package/src/stores/shared/ValueSpecificationEditorHelper.ts +39 -2
  282. package/tsconfig.json +38 -0
@@ -19,26 +19,26 @@ type QueryExecution_TelemetryData = GraphManagerOperationReport & {
19
19
  dependenciesCount: number;
20
20
  };
21
21
  export declare class QueryBuilderTelemetryHelper {
22
- static logEvent_QueryRunLaunched(telemetryService: TelemetryService): void;
23
- static logEvent_ExecutionPlanGenerationLaunched(telemetryService: TelemetryService): void;
24
- static logEvent_ExecutionPlanDebugLaunched(telemetryService: TelemetryService): void;
25
- static logEvent_QueryRunSucceeded(telemetryService: TelemetryService, data: QueryExecution_TelemetryData): void;
26
- static logEvent_ExecutionPlanGenerationSucceeded(telemetryService: TelemetryService, data: QueryExecution_TelemetryData): void;
27
- static logEvent_ExecutionPlanDebugSucceeded(telemetryService: TelemetryService, data: QueryExecution_TelemetryData): void;
28
- static logEvent_FilterCreateConditionLaunched(telemetryService: TelemetryService): void;
29
- static logEvent_FilterCleanupTreeLaunched(telemetryService: TelemetryService): void;
30
- static logEvent_FilterCollapseTreeLaunched(telemetryService: TelemetryService): void;
31
- static logEvent_FilterCreateGroupFromConditionLaunched(telemetryService: TelemetryService): void;
32
- static logEvent_FilterCreateLogicalGroupLaunched(telemetryService: TelemetryService): void;
33
- static logEvent_FilterExpandTreeLaunched(telemetryService: TelemetryService): void;
34
- static logEvent_FilterSimplifyTreeLaunched(telemetryService: TelemetryService): void;
35
- static logEvent_PostFilterCreateConditionLaunched(telemetryService: TelemetryService): void;
36
- static logEvent_PostFilterCleanupTreeLaunched(telemetryService: TelemetryService): void;
37
- static logEvent_PostFilterCollapseTreeLaunched(telemetryService: TelemetryService): void;
38
- static logEvent_PostFilterCreateGroupFromConditionLaunched(telemetryService: TelemetryService): void;
39
- static logEvent_PostFilterCreateLogicalGroupLaunched(telemetryService: TelemetryService): void;
40
- static logEvent_PostFilterExpandTreeLaunched(telemetryService: TelemetryService): void;
41
- static logEvent_PostFilterSimplifyTreeLaunched(telemetryService: TelemetryService): void;
22
+ static logEvent_QueryRunLaunched(service: TelemetryService): void;
23
+ static logEvent_ExecutionPlanGenerationLaunched(service: TelemetryService): void;
24
+ static logEvent_ExecutionPlanDebugLaunched(service: TelemetryService): void;
25
+ static logEvent_QueryRunSucceeded(service: TelemetryService, data: QueryExecution_TelemetryData): void;
26
+ static logEvent_ExecutionPlanGenerationSucceeded(service: TelemetryService, data: QueryExecution_TelemetryData): void;
27
+ static logEvent_ExecutionPlanDebugSucceeded(service: TelemetryService, data: QueryExecution_TelemetryData): void;
28
+ static logEvent_FilterCreateConditionLaunched(service: TelemetryService): void;
29
+ static logEvent_FilterCleanupTreeLaunched(service: TelemetryService): void;
30
+ static logEvent_FilterCollapseTreeLaunched(service: TelemetryService): void;
31
+ static logEvent_FilterCreateGroupFromConditionLaunched(service: TelemetryService): void;
32
+ static logEvent_FilterCreateLogicalGroupLaunched(service: TelemetryService): void;
33
+ static logEvent_FilterExpandTreeLaunched(service: TelemetryService): void;
34
+ static logEvent_FilterSimplifyTreeLaunched(service: TelemetryService): void;
35
+ static logEvent_PostFilterCreateConditionLaunched(service: TelemetryService): void;
36
+ static logEvent_PostFilterCleanupTreeLaunched(service: TelemetryService): void;
37
+ static logEvent_PostFilterCollapseTreeLaunched(service: TelemetryService): void;
38
+ static logEvent_PostFilterCreateGroupFromConditionLaunched(service: TelemetryService): void;
39
+ static logEvent_PostFilterCreateLogicalGroupLaunched(service: TelemetryService): void;
40
+ static logEvent_PostFilterExpandTreeLaunched(service: TelemetryService): void;
41
+ static logEvent_PostFilterSimplifyTreeLaunched(service: TelemetryService): void;
42
42
  }
43
43
  export {};
44
44
  //# sourceMappingURL=QueryBuilderTelemetryHelper.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderTelemetryHelper.d.ts","sourceRoot":"","sources":["../../src/__lib__/QueryBuilderTelemetryHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,qBAAqB,CAAC;AACvE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAOlE,KAAK,4BAA4B,GAAG,2BAA2B,GAAG;IAChE,iBAAiB,EAAE,MAAM,CAAC;CAC3B,CAAC;AAEF,qBAAa,2BAA2B;IACtC,MAAM,CAAC,yBAAyB,CAAC,gBAAgB,EAAE,gBAAgB,GAAG,IAAI;IAI1E,MAAM,CAAC,wCAAwC,CAC7C,gBAAgB,EAAE,gBAAgB,GACjC,IAAI;IAOP,MAAM,CAAC,mCAAmC,CACxC,gBAAgB,EAAE,gBAAgB,GACjC,IAAI;IAOP,MAAM,CAAC,0BAA0B,CAC/B,gBAAgB,EAAE,gBAAgB,EAClC,IAAI,EAAE,4BAA4B,GACjC,IAAI;IAIP,MAAM,CAAC,yCAAyC,CAC9C,gBAAgB,EAAE,gBAAgB,EAClC,IAAI,EAAE,4BAA4B,GACjC,IAAI;IAOP,MAAM,CAAC,oCAAoC,CACzC,gBAAgB,EAAE,gBAAgB,EAClC,IAAI,EAAE,4BAA4B,GACjC,IAAI;IAOP,MAAM,CAAC,sCAAsC,CAC3C,gBAAgB,EAAE,gBAAgB,GACjC,IAAI;IAOP,MAAM,CAAC,kCAAkC,CACvC,gBAAgB,EAAE,gBAAgB,GACjC,IAAI;IAOP,MAAM,CAAC,mCAAmC,CACxC,gBAAgB,EAAE,gBAAgB,GACjC,IAAI;IAOP,MAAM,CAAC,+CAA+C,CACp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,gBAAgB,GACxB,IAAI;CAMR"}
@@ -15,65 +15,65 @@
15
15
  */
16
16
  import { QUERY_BUILDER_EVENT, QUERY_BUILDER_FILTER_EVENT, QUERY_BUILDER_POST_FILTER_EVENT, } from './QueryBuilderEvent.js';
17
17
  export class QueryBuilderTelemetryHelper {
18
- static logEvent_QueryRunLaunched(telemetryService) {
19
- telemetryService.logEvent(QUERY_BUILDER_EVENT.RUN_QUERY__LAUNCH, {});
18
+ static logEvent_QueryRunLaunched(service) {
19
+ service.logEvent(QUERY_BUILDER_EVENT.RUN_QUERY__LAUNCH, {});
20
20
  }
21
- static logEvent_ExecutionPlanGenerationLaunched(telemetryService) {
22
- telemetryService.logEvent(QUERY_BUILDER_EVENT.GENERATE_EXECUTION_PLAN__LAUNCH, {});
21
+ static logEvent_ExecutionPlanGenerationLaunched(service) {
22
+ service.logEvent(QUERY_BUILDER_EVENT.GENERATE_EXECUTION_PLAN__LAUNCH, {});
23
23
  }
24
- static logEvent_ExecutionPlanDebugLaunched(telemetryService) {
25
- telemetryService.logEvent(QUERY_BUILDER_EVENT.DEBUG_EXECUTION_PLAN__LAUNCH, {});
24
+ static logEvent_ExecutionPlanDebugLaunched(service) {
25
+ service.logEvent(QUERY_BUILDER_EVENT.DEBUG_EXECUTION_PLAN__LAUNCH, {});
26
26
  }
27
- static logEvent_QueryRunSucceeded(telemetryService, data) {
28
- telemetryService.logEvent(QUERY_BUILDER_EVENT.RUN_QUERY__SUCCESS, data);
27
+ static logEvent_QueryRunSucceeded(service, data) {
28
+ service.logEvent(QUERY_BUILDER_EVENT.RUN_QUERY__SUCCESS, data);
29
29
  }
30
- static logEvent_ExecutionPlanGenerationSucceeded(telemetryService, data) {
31
- telemetryService.logEvent(QUERY_BUILDER_EVENT.GENERATE_EXECUTION_PLAN__SUCCESS, data);
30
+ static logEvent_ExecutionPlanGenerationSucceeded(service, data) {
31
+ service.logEvent(QUERY_BUILDER_EVENT.GENERATE_EXECUTION_PLAN__SUCCESS, data);
32
32
  }
33
- static logEvent_ExecutionPlanDebugSucceeded(telemetryService, data) {
34
- telemetryService.logEvent(QUERY_BUILDER_EVENT.DEBUG_EXECUTION_PLAN__SUCCESS, data);
33
+ static logEvent_ExecutionPlanDebugSucceeded(service, data) {
34
+ service.logEvent(QUERY_BUILDER_EVENT.DEBUG_EXECUTION_PLAN__SUCCESS, data);
35
35
  }
36
- static logEvent_FilterCreateConditionLaunched(telemetryService) {
37
- telemetryService.logEvent(QUERY_BUILDER_FILTER_EVENT.FILTER__CREATE__CONDITION__LAUNCH, {});
36
+ static logEvent_FilterCreateConditionLaunched(service) {
37
+ service.logEvent(QUERY_BUILDER_FILTER_EVENT.FILTER__CREATE__CONDITION__LAUNCH, {});
38
38
  }
39
- static logEvent_FilterCleanupTreeLaunched(telemetryService) {
40
- telemetryService.logEvent(QUERY_BUILDER_FILTER_EVENT.FILTER__CLEANUP__TREE__LAUNCH, {});
39
+ static logEvent_FilterCleanupTreeLaunched(service) {
40
+ service.logEvent(QUERY_BUILDER_FILTER_EVENT.FILTER__CLEANUP__TREE__LAUNCH, {});
41
41
  }
42
- static logEvent_FilterCollapseTreeLaunched(telemetryService) {
43
- telemetryService.logEvent(QUERY_BUILDER_FILTER_EVENT.FILTER__COLLAPSE__TREE__LAUNCH, {});
42
+ static logEvent_FilterCollapseTreeLaunched(service) {
43
+ service.logEvent(QUERY_BUILDER_FILTER_EVENT.FILTER__COLLAPSE__TREE__LAUNCH, {});
44
44
  }
45
- static logEvent_FilterCreateGroupFromConditionLaunched(telemetryService) {
46
- telemetryService.logEvent(QUERY_BUILDER_FILTER_EVENT.FILTER__CREATE__GROUP__FROM__CONDITION__LAUNCH, {});
45
+ static logEvent_FilterCreateGroupFromConditionLaunched(service) {
46
+ service.logEvent(QUERY_BUILDER_FILTER_EVENT.FILTER__CREATE__GROUP__FROM__CONDITION__LAUNCH, {});
47
47
  }
48
- static logEvent_FilterCreateLogicalGroupLaunched(telemetryService) {
49
- telemetryService.logEvent(QUERY_BUILDER_FILTER_EVENT.FILTER__CREATE__LOGICAL__GROUP__LAUNCH, {});
48
+ static logEvent_FilterCreateLogicalGroupLaunched(service) {
49
+ service.logEvent(QUERY_BUILDER_FILTER_EVENT.FILTER__CREATE__LOGICAL__GROUP__LAUNCH, {});
50
50
  }
51
- static logEvent_FilterExpandTreeLaunched(telemetryService) {
52
- telemetryService.logEvent(QUERY_BUILDER_FILTER_EVENT.FILTER__EXPAND__TREE__LAUNCH, {});
51
+ static logEvent_FilterExpandTreeLaunched(service) {
52
+ service.logEvent(QUERY_BUILDER_FILTER_EVENT.FILTER__EXPAND__TREE__LAUNCH, {});
53
53
  }
54
- static logEvent_FilterSimplifyTreeLaunched(telemetryService) {
55
- telemetryService.logEvent(QUERY_BUILDER_FILTER_EVENT.FILTER__SIMPLIFY__TREE__LAUNCH, {});
54
+ static logEvent_FilterSimplifyTreeLaunched(service) {
55
+ service.logEvent(QUERY_BUILDER_FILTER_EVENT.FILTER__SIMPLIFY__TREE__LAUNCH, {});
56
56
  }
57
- static logEvent_PostFilterCreateConditionLaunched(telemetryService) {
58
- telemetryService.logEvent(QUERY_BUILDER_POST_FILTER_EVENT.FILTER__CREATE__CONDITION__LAUNCH, {});
57
+ static logEvent_PostFilterCreateConditionLaunched(service) {
58
+ service.logEvent(QUERY_BUILDER_POST_FILTER_EVENT.FILTER__CREATE__CONDITION__LAUNCH, {});
59
59
  }
60
- static logEvent_PostFilterCleanupTreeLaunched(telemetryService) {
61
- telemetryService.logEvent(QUERY_BUILDER_POST_FILTER_EVENT.FILTER__CLEANUP__TREE__LAUNCH, {});
60
+ static logEvent_PostFilterCleanupTreeLaunched(service) {
61
+ service.logEvent(QUERY_BUILDER_POST_FILTER_EVENT.FILTER__CLEANUP__TREE__LAUNCH, {});
62
62
  }
63
- static logEvent_PostFilterCollapseTreeLaunched(telemetryService) {
64
- telemetryService.logEvent(QUERY_BUILDER_POST_FILTER_EVENT.FILTER__COLLAPSE__TREE__LAUNCH, {});
63
+ static logEvent_PostFilterCollapseTreeLaunched(service) {
64
+ service.logEvent(QUERY_BUILDER_POST_FILTER_EVENT.FILTER__COLLAPSE__TREE__LAUNCH, {});
65
65
  }
66
- static logEvent_PostFilterCreateGroupFromConditionLaunched(telemetryService) {
67
- telemetryService.logEvent(QUERY_BUILDER_POST_FILTER_EVENT.FILTER__CREATE__GROUP__FROM__CONDITION__LAUNCH, {});
66
+ static logEvent_PostFilterCreateGroupFromConditionLaunched(service) {
67
+ service.logEvent(QUERY_BUILDER_POST_FILTER_EVENT.FILTER__CREATE__GROUP__FROM__CONDITION__LAUNCH, {});
68
68
  }
69
- static logEvent_PostFilterCreateLogicalGroupLaunched(telemetryService) {
70
- telemetryService.logEvent(QUERY_BUILDER_POST_FILTER_EVENT.FILTER__CREATE__LOGICAL__GROUP__LAUNCH, {});
69
+ static logEvent_PostFilterCreateLogicalGroupLaunched(service) {
70
+ service.logEvent(QUERY_BUILDER_POST_FILTER_EVENT.FILTER__CREATE__LOGICAL__GROUP__LAUNCH, {});
71
71
  }
72
- static logEvent_PostFilterExpandTreeLaunched(telemetryService) {
73
- telemetryService.logEvent(QUERY_BUILDER_POST_FILTER_EVENT.FILTER__EXPAND__TREE__LAUNCH, {});
72
+ static logEvent_PostFilterExpandTreeLaunched(service) {
73
+ service.logEvent(QUERY_BUILDER_POST_FILTER_EVENT.FILTER__EXPAND__TREE__LAUNCH, {});
74
74
  }
75
- static logEvent_PostFilterSimplifyTreeLaunched(telemetryService) {
76
- telemetryService.logEvent(QUERY_BUILDER_POST_FILTER_EVENT.FILTER__SIMPLIFY__TREE__LAUNCH, {});
75
+ static logEvent_PostFilterSimplifyTreeLaunched(service) {
76
+ service.logEvent(QUERY_BUILDER_POST_FILTER_EVENT.FILTER__SIMPLIFY__TREE__LAUNCH, {});
77
77
  }
78
78
  }
79
79
  //# sourceMappingURL=QueryBuilderTelemetryHelper.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderTelemetryHelper.js","sourceRoot":"","sources":["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,EAAE,CACH,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,sCAAsC,CAC3C,OAAyB;QAEzB,OAAO,CAAC,QAAQ,CACd,+BAA+B,CAAC,6BAA6B,EAC7D,EAAE,CACH,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,uCAAuC,CAC5C,OAAyB;QAEzB,OAAO,CAAC,QAAQ,CACd,+BAA+B,CAAC,8BAA8B,EAC9D,EAAE,CACH,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,mDAAmD,CACxD,OAAyB;QAEzB,OAAO,CAAC,QAAQ,CACd,+BAA+B,CAAC,8CAA8C,EAC9E,EAAE,CACH,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,6CAA6C,CAClD,OAAyB;QAEzB,OAAO,CAAC,QAAQ,CACd,+BAA+B,CAAC,sCAAsC,EACtE,EAAE,CACH,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,qCAAqC,CAC1C,OAAyB;QAEzB,OAAO,CAAC,QAAQ,CACd,+BAA+B,CAAC,4BAA4B,EAC5D,EAAE,CACH,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,uCAAuC,CAC5C,OAAyB;QAEzB,OAAO,CAAC,QAAQ,CACd,+BAA+B,CAAC,8BAA8B,EAC9D,EAAE,CACH,CAAC;IACJ,CAAC;CACF"}
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilder.d.ts","sourceRoot":"","sources":["../../src/components/QueryBuilder.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAkCH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAiMxE,eAAO,MAAM,YAAY,WACf;IAAE,iBAAiB,EAAE,iBAAiB,CAAA;CAAE;;CAqZjD,CAAC"}
1
+ {"version":3,"file":"QueryBuilder.d.ts","sourceRoot":"","sources":["../../src/components/QueryBuilder.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAmCH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAmMxE,eAAO,MAAM,YAAY,WACf;IAAE,iBAAiB,EAAE,iBAAiB,CAAA;CAAE;;CAiejD,CAAC"}
@@ -15,7 +15,7 @@ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-run
15
15
  * limitations under the License.
16
16
  */
17
17
  import { observer } from 'mobx-react-lite';
18
- import { clsx, HammerIcon, ResizablePanelGroup, ResizablePanel, ResizablePanelSplitter, HackerIcon, DropdownMenu, MenuContent, MenuContentItem, MenuContentItemIcon, MenuContentItemLabel, CheckIcon, CaretDownIcon, DiffIcon, WaterDropIcon, AssistantIcon, MenuContentDivider, Dialog, Modal, ModalBody, ModalFooter, ModalHeader, BlankPanelContent, ModalFooterButton, } from '@finos/legend-art';
18
+ import { clsx, HammerIcon, ResizablePanelGroup, ResizablePanel, ResizablePanelSplitter, HackerIcon, DropdownMenu, MenuContent, MenuContentItem, MenuContentItemIcon, MenuContentItemLabel, CheckIcon, CaretDownIcon, DiffIcon, WaterDropIcon, AssistantIcon, MenuContentDivider, Dialog, Modal, ModalBody, ModalFooter, ModalHeader, BlankPanelContent, ModalFooterButton, CalendarIcon, } from '@finos/legend-art';
19
19
  import { QueryBuilderFilterPanel } from './filter/QueryBuilderFilterPanel.js';
20
20
  import { QueryBuilderExplorerPanel } from './explorer/QueryBuilderExplorerPanel.js';
21
21
  import { QueryBuilderSidebar } from './QueryBuilderSideBar.js';
@@ -26,7 +26,7 @@ import { QueryBuilderFetchStructurePanel } from './fetch-structure/QueryBuilderF
26
26
  import { QUERY_BUILDER_TEST_ID } from '../__lib__/QueryBuilderTesting.js';
27
27
  import { flowResult } from 'mobx';
28
28
  import { QueryBuilderUnsupportedQueryEditor } from './QueryBuilderUnsupportedQueryEditor.js';
29
- import { BackdropContainer, useApplicationStore, useCommands, } from '@finos/legend-application';
29
+ import { BackdropContainer, useApplicationStore, useCommands, ActionAlertActionType, ActionAlertType, } from '@finos/legend-application';
30
30
  import { QueryBuilderParametersPanel } from './QueryBuilderParametersPanel.js';
31
31
  import { QueryBuilderFunctionsExplorerPanel } from './explorer/QueryBuilderFunctionsExplorerPanel.js';
32
32
  import { QueryBuilderTDSState } from '../stores/fetch-structure/tds/QueryBuilderTDSState.js';
@@ -114,6 +114,51 @@ export const QueryBuilder = observer((props) => {
114
114
  const openWatermark = () => {
115
115
  queryBuilderState.watermarkState.setIsEditingWatermark(true);
116
116
  };
117
+ const toggleEnableCalendar = () => {
118
+ if (queryBuilderState.isCalendarEnabled) {
119
+ queryBuilderState.applicationStore.alertService.setActionAlertInfo({
120
+ message: 'You are about to disable calendar aggregation operations. This will remove all the calendar aggreagtions you added to the query.',
121
+ prompt: ' Do you want to proceed?',
122
+ type: ActionAlertType.CAUTION,
123
+ actions: [
124
+ {
125
+ label: 'Proceed',
126
+ type: ActionAlertActionType.PROCEED_WITH_CAUTION,
127
+ handler: () => {
128
+ if (queryBuilderState.fetchStructureState
129
+ .implementation instanceof QueryBuilderTDSState) {
130
+ queryBuilderState.fetchStructureState.implementation.aggregationState.disableCalendar();
131
+ }
132
+ },
133
+ },
134
+ {
135
+ label: 'Cancel',
136
+ type: ActionAlertActionType.PROCEED,
137
+ default: true,
138
+ },
139
+ ],
140
+ });
141
+ }
142
+ else {
143
+ queryBuilderState.applicationStore.alertService.setActionAlertInfo({
144
+ message: 'You are about to enable calendar aggregation operations. This will let you add calendar functions to the aggregation operations that you perform on projection columns, but this would require your calendar database to be included in your database.',
145
+ prompt: ' Do you want to proceed?',
146
+ type: ActionAlertType.CAUTION,
147
+ actions: [
148
+ {
149
+ label: 'Proceed',
150
+ type: ActionAlertActionType.PROCEED_WITH_CAUTION,
151
+ handler: () => queryBuilderState.setIsCalendarEnabled(true),
152
+ },
153
+ {
154
+ label: 'Cancel',
155
+ type: ActionAlertActionType.PROCEED,
156
+ default: true,
157
+ },
158
+ ],
159
+ });
160
+ }
161
+ };
117
162
  const editQueryInPure = () => {
118
163
  openLambdaEditor(QueryBuilderTextEditorMode.TEXT);
119
164
  };
@@ -142,7 +187,7 @@ export const QueryBuilder = observer((props) => {
142
187
  }
143
188
  return null;
144
189
  };
145
- return (_jsxs("div", { "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER, className: "query-builder", children: [_jsx(BackdropContainer, { elementId: QUERY_BUILDER_COMPONENT_ELEMENT_ID.BACKDROP_CONTAINER }), _jsxs("div", { className: "query-builder__body", children: [_jsxs("div", { className: "query-builder__content", children: [_jsxs("div", { className: "query-builder__sub-header", children: [_jsxs("div", { className: "query-builder__sub-header__content__icons", children: [queryBuilderState.watermarkState.value && (_jsx(_Fragment, { children: _jsx("button", { className: "panel__header__action", onClick: openWatermark, tabIndex: -1, title: "Show Watermark", children: _jsx(WaterDropIcon, {}) }) })), queryBuilderState.watermarkState.isEditingWatermark && (_jsx(QueryBuilderWatermarkEditor, { queryBuilderState: queryBuilderState }))] }), _jsx("div", { className: "query-builder__sub-header__content__actions", children: _jsxs(DropdownMenu, { className: "query-builder__sub-header__custom-action", title: "Show Advanced Menu...", content: _jsxs(MenuContent, { children: [_jsxs(MenuContentItem, { onClick: toggleShowFunctionPanel, disabled: !queryBuilderState.isQuerySupported, children: [_jsx(MenuContentItemIcon, { children: queryBuilderState.showFunctionsExplorerPanel ? (_jsx(CheckIcon, {})) : null }), _jsx(MenuContentItemLabel, { className: "query-builder__sub-header__menu-content", children: "Show Function(s)" })] }), !queryBuilderState.isParameterSupportDisabled && (_jsxs(MenuContentItem, { onClick: toggleShowParameterPanel, disabled: !queryBuilderState.isQuerySupported ||
190
+ return (_jsxs("div", { "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER, className: "query-builder", children: [_jsx(BackdropContainer, { elementId: QUERY_BUILDER_COMPONENT_ELEMENT_ID.BACKDROP_CONTAINER }), _jsxs("div", { className: "query-builder__body", children: [_jsxs("div", { className: "query-builder__content", children: [_jsxs("div", { className: "query-builder__sub-header", children: [_jsxs("div", { className: "query-builder__sub-header__content__icons", children: [queryBuilderState.watermarkState.value && (_jsx(_Fragment, { children: _jsx("button", { className: "panel__header__action", onClick: openWatermark, tabIndex: -1, title: "Show Watermark", children: _jsx(WaterDropIcon, {}) }) })), queryBuilderState.isCalendarEnabled && (_jsx(_Fragment, { children: _jsx("div", { className: "query-builder__sub-header__content__icon", children: _jsx(CalendarIcon, {}) }) })), queryBuilderState.watermarkState.isEditingWatermark && (_jsx(QueryBuilderWatermarkEditor, { queryBuilderState: queryBuilderState }))] }), _jsx("div", { className: "query-builder__sub-header__content__actions", children: _jsxs(DropdownMenu, { className: "query-builder__sub-header__custom-action", title: "Show Advanced Menu...", content: _jsxs(MenuContent, { children: [_jsxs(MenuContentItem, { onClick: toggleShowFunctionPanel, disabled: !queryBuilderState.isQuerySupported, children: [_jsx(MenuContentItemIcon, { children: queryBuilderState.showFunctionsExplorerPanel ? (_jsx(CheckIcon, {})) : null }), _jsx(MenuContentItemLabel, { className: "query-builder__sub-header__menu-content", children: "Show Function(s)" })] }), !queryBuilderState.isParameterSupportDisabled && (_jsxs(MenuContentItem, { onClick: toggleShowParameterPanel, disabled: !queryBuilderState.isQuerySupported ||
146
191
  queryBuilderState.parametersState.parameterStates
147
192
  .length > 0, children: [_jsx(MenuContentItemIcon, { children: queryBuilderState.showParametersPanel ? (_jsx(CheckIcon, {})) : null }), _jsx(MenuContentItemLabel, { className: "query-builder__sub-header__menu-content", children: "Show Parameter(s)" })] })), _jsxs(MenuContentItem, { onClick: toggleConstantPanel, disabled: !queryBuilderState.isQuerySupported ||
148
193
  queryBuilderState.constantState.constants.length > 0, children: [_jsx(MenuContentItemIcon, { children: queryBuilderState.constantState
@@ -159,7 +204,9 @@ export const QueryBuilder = observer((props) => {
159
204
  Array.from(queryBuilderState.fetchStructureState.implementation.postFilterState.nodes.values()).length > 0, children: [_jsx(MenuContentItemIcon, { children: queryBuilderState.fetchStructureState
160
205
  .implementation instanceof QueryBuilderTDSState &&
161
206
  queryBuilderState.fetchStructureState.implementation
162
- .showPostFilterPanel ? (_jsx(CheckIcon, {})) : null }), _jsx(MenuContentItemLabel, { className: "query-builder__sub-header__menu-content", children: "Show Post-Filter" })] }), _jsxs(MenuContentItem, { onClick: openWatermark, children: [_jsx(MenuContentItemIcon, { children: null }), _jsx(MenuContentItemLabel, { className: "query-builder__sub-header__menu-content", children: "Show Watermark" })] }), _jsx(MenuContentDivider, {}), _jsxs(MenuContentItem, { onClick: openCheckEntitlmentsEditor, disabled: queryBuilderState.isQuerySupported &&
207
+ .showPostFilterPanel ? (_jsx(CheckIcon, {})) : null }), _jsx(MenuContentItemLabel, { className: "query-builder__sub-header__menu-content", children: "Show Post-Filter" })] }), _jsxs(MenuContentItem, { onClick: openWatermark, children: [_jsx(MenuContentItemIcon, { children: null }), _jsx(MenuContentItemLabel, { className: "query-builder__sub-header__menu-content", children: "Show Watermark" })] }), _jsxs(MenuContentItem, { onClick: toggleEnableCalendar, disabled: !queryBuilderState.isQuerySupported ||
208
+ !(queryBuilderState.fetchStructureState
209
+ .implementation instanceof QueryBuilderTDSState), children: [_jsx(MenuContentItemIcon, { children: queryBuilderState.isCalendarEnabled ? (_jsx(CheckIcon, {})) : null }), _jsx(MenuContentItemLabel, { className: "query-builder__sub-header__menu-content", children: "Enable Calendar" })] }), _jsx(MenuContentDivider, {}), _jsxs(MenuContentItem, { onClick: openCheckEntitlmentsEditor, disabled: queryBuilderState.isQuerySupported &&
163
210
  queryBuilderState.fetchStructureState
164
211
  .implementation instanceof QueryBuilderTDSState &&
165
212
  queryBuilderState.fetchStructureState.implementation
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilder.js","sourceRoot":"","sources":["../../src/components/QueryBuilder.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,IAAI,EACJ,UAAU,EACV,mBAAmB,EACnB,cAAc,EACd,sBAAsB,EACtB,UAAU,EACV,YAAY,EACZ,WAA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pC,GACa,EAChB,2BAA2B,IAAI,CAC9B,KAAC,sBAAsB,KAAG,CAC3B,EACA,2BAA2B,IAAI,CAC9B,KAAC,cAAc,IAAC,OAAO,EAAE,GAAG,YACzB,wBAAwB,EAAE,GACZ,CAClB,IACmB,CACvB,CAAC,CAAC,CAAC,CACF,KAAC,kCAAkC,IACjC,iBAAiB,EAAE,iBAAiB,GACpC,CACH,GACc,EAChB,iBAAiB,CAAC,mBAAmB,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAC9C,KAAC,sBAAsB,KAAG,CAC3B,EACA,iBAAiB,CAAC,mBAAmB,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAC9C,KAAC,cAAc,IAAC,IAAI,EAAE,GAAG,EAAE,OAAO,EAAE,EAAE,YACpC,KAAC,uBAAuB,IACtB,iBAAiB,EAAE,iBAAiB,GACpC,GACa,CAClB,IACmB,GAClB,IACF,EACL,iBAAiB,CAAC,eAAe,CAAC,IAAI,IAAI,CACzC,KAAC,sBAAsB,IAAC,iBAAiB,EAAE,iBAAiB,GAAI,CACjE,EACA,iBAAiB,CAAC,sBAAsB,CAAC,sBAAsB;wBAC9D,6BAA6B,CAC3B,iBAAiB,EACjB,gBAAgB,CAAC,aAAa;6BAC3B,qBAAqB,EAAE;6BACvB,MAAM,CACL,CAAC,MAAM,EAAE,EAAE,CACT,MAAM,YAAY,oCAAoC,CACf,CAC9C,IACC,EACN,KAAC,qBAAqB,IAAC,iBAAiB,EAAE,iBAAiB,GAAI,IAC3D,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"QueryBuilder.js","sourceRoot":"","sources":["../../src/components/QueryBuilder.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,IAAI,EACJ,UAAU,EACV,mBAAmB,EACnB,cAAc,EACd,sBAAsB,EACtB,UA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AqB,EAAE;6BACvB,MAAM,CACL,CAAC,MAAM,EAAE,EAAE,CACT,MAAM,YAAY,oCAAoC,CACf,CAC9C,IACC,EACN,KAAC,qBAAqB,IAAC,iBAAiB,EAAE,iBAAiB,GAAI,IAC3D,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -0,0 +1,30 @@
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
+ import { type QueryLoaderState } from '../stores/QueryLoaderState.js';
17
+ export declare const QueryLoader: ((props: {
18
+ queryLoaderState: QueryLoaderState;
19
+ loadActionLabel: string;
20
+ }) => JSX.Element) & {
21
+ displayName: string;
22
+ };
23
+ export declare const QueryLoaderDialog: ((props: {
24
+ queryLoaderState: QueryLoaderState;
25
+ title: string;
26
+ loadActionLabel?: string | undefined;
27
+ }) => JSX.Element) & {
28
+ displayName: string;
29
+ };
30
+ //# sourceMappingURL=QueryLoader.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryLoader.d.ts","sourceRoot":"","sources":["../../src/components/QueryLoader.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAuCH,OAAO,EAEL,KAAK,gBAAgB,EACtB,MAAM,+BAA+B,CAAC;AA4CvC,eAAO,MAAM,WAAW,WACd;IAAE,gBAAgB,EAAE,gBAAgB,CAAC;IAAC,eAAe,EAAE,MAAM,CAAA;CAAE;;CAyVxE,CAAC;AAEF,eAAO,MAAM,iBAAiB,WACpB;IACN,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,eAAe,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACtC;;CA+CF,CAAC"}
@@ -0,0 +1,160 @@
1
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
+ /**
3
+ * Copyright (c) 2020-present, Goldman Sachs
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ import { useApplicationStore } from '@finos/legend-application';
18
+ import { CODE_EDITOR_LANGUAGE, CodeEditor, } from '@finos/legend-lego/code-editor';
19
+ import { Dialog, Modal, ModalTitle, clsx, SearchIcon, TimesIcon, DropdownMenu, MenuContent, MenuContentItem, BlankPanelContent, PanelLoadingIndicator, ModalHeader, ModalBody, ModalFooter, ModalFooterButton, UserIcon, LastModifiedIcon, MoreVerticalIcon, ThinChevronRightIcon, InfoCircleIcon, } from '@finos/legend-art';
20
+ import { debounce, formatDistanceToNow, guaranteeNonNullable, quantifyList, } from '@finos/legend-shared';
21
+ import { flowResult } from 'mobx';
22
+ import { observer } from 'mobx-react-lite';
23
+ import { useRef, useState, useMemo, useEffect } from 'react';
24
+ import { QUERY_LOADER_TYPEAHEAD_SEARCH_LIMIT, } from '../stores/QueryLoaderState.js';
25
+ const QueryPreviewViewer = observer((props) => {
26
+ const { queryLoaderState } = props;
27
+ const close = () => {
28
+ queryLoaderState.setShowPreviewViewer(false);
29
+ };
30
+ return (_jsx(Dialog, { open: queryLoaderState.showPreviewViewer, onClose: close, classes: {
31
+ root: 'editor-modal__root-container',
32
+ container: 'editor-modal__container',
33
+ paper: 'editor-modal__content',
34
+ }, children: _jsxs(Modal, { className: "editor-modal", darkMode: true, children: [_jsx(ModalHeader, { title: guaranteeNonNullable(queryLoaderState.queryPreviewContent).name }), _jsx(ModalBody, { children: _jsx(CodeEditor, { inputValue: guaranteeNonNullable(queryLoaderState.queryPreviewContent)
35
+ .content, isReadOnly: true, language: CODE_EDITOR_LANGUAGE.PURE, showMiniMap: true }) }), _jsx(ModalFooter, { children: _jsx(ModalFooterButton, { onClick: close, text: "Close" }) })] }) }));
36
+ });
37
+ export const QueryLoader = observer((props) => {
38
+ const { queryLoaderState, loadActionLabel } = props;
39
+ const applicationStore = useApplicationStore();
40
+ const searchInputRef = useRef(null);
41
+ const queryRenameInputRef = useRef(null);
42
+ const results = queryLoaderState.queries;
43
+ const [isMineOnly, setIsMineOnly] = useState(false);
44
+ const [showQueryNameEditInput, setShowQueryNameEditInput] = useState();
45
+ useEffect(() => {
46
+ queryRenameInputRef.current?.focus();
47
+ queryRenameInputRef.current?.select();
48
+ }, [showQueryNameEditInput]);
49
+ const [queryNameInputValue, setQueryNameInputValue] = useState('');
50
+ const showEditQueryNameInput = (value, idx) => () => {
51
+ setQueryNameInputValue(value);
52
+ setShowQueryNameEditInput(idx);
53
+ };
54
+ const hideEditQueryNameInput = () => {
55
+ setShowQueryNameEditInput(undefined);
56
+ setQueryNameInputValue('');
57
+ };
58
+ const changeQueryNameInputValue = (event) => setQueryNameInputValue(event.target.value);
59
+ // search text
60
+ const debouncedLoadQueries = useMemo(() => debounce((input) => {
61
+ flowResult(queryLoaderState.searchQueries(input)).catch(applicationStore.alertUnhandledError);
62
+ }, 500), [applicationStore.alertUnhandledError, queryLoaderState]);
63
+ const onSearchTextChange = (event) => {
64
+ if (event.target.value !== queryLoaderState.searchText) {
65
+ queryLoaderState.setSearchText(event.target.value);
66
+ debouncedLoadQueries.cancel();
67
+ debouncedLoadQueries(event.target.value);
68
+ }
69
+ };
70
+ const clearQuerySearching = () => {
71
+ queryLoaderState.setSearchText('');
72
+ debouncedLoadQueries.cancel();
73
+ debouncedLoadQueries('');
74
+ };
75
+ const toggleShowCurrentUserQueriesOnly = () => {
76
+ queryLoaderState.setShowCurrentUserQueriesOnly(!queryLoaderState.showCurrentUserQueriesOnly);
77
+ setIsMineOnly(!isMineOnly);
78
+ debouncedLoadQueries.cancel();
79
+ debouncedLoadQueries(queryLoaderState.searchText);
80
+ };
81
+ const toggleExtraFilters = (key) => {
82
+ queryLoaderState.extraFilters.set(key, !queryLoaderState.extraFilters.get(key));
83
+ debouncedLoadQueries.cancel();
84
+ debouncedLoadQueries(queryLoaderState.searchText);
85
+ };
86
+ useEffect(() => {
87
+ flowResult(queryLoaderState.searchQueries('')).catch(applicationStore.alertUnhandledError);
88
+ }, [applicationStore, queryLoaderState]);
89
+ useEffect(() => {
90
+ searchInputRef.current?.focus();
91
+ }, [queryLoaderState]);
92
+ // actions
93
+ const renameQuery = (query) => () => {
94
+ if (!queryLoaderState.isReadOnly) {
95
+ flowResult(queryLoaderState.renameQuery(query.id, queryNameInputValue))
96
+ .catch(applicationStore.alertUnhandledError)
97
+ .finally(() => hideEditQueryNameInput());
98
+ }
99
+ };
100
+ const deleteQuery = (query) => () => {
101
+ if (!queryLoaderState.isReadOnly) {
102
+ flowResult(queryLoaderState.deleteQuery(query.id)).catch(applicationStore.alertUnhandledError);
103
+ }
104
+ };
105
+ const showPreview = (queryId) => {
106
+ flowResult(queryLoaderState.getPreviewQueryContent(queryId)).catch(applicationStore.alertUnhandledError);
107
+ queryLoaderState.setShowPreviewViewer(true);
108
+ };
109
+ return (_jsxs("div", { className: "query-loader", children: [_jsxs("div", { className: "query-loader__header", children: [_jsx("div", { className: "query-loader__search", children: _jsxs("div", { className: "query-loader__search__input__container", children: [_jsx("input", { ref: searchInputRef, className: clsx('query-loader__search__input input--dark', {
110
+ 'query-loader__search__input--searching': queryLoaderState.searchText,
111
+ }), onChange: onSearchTextChange, value: queryLoaderState.searchText, placeholder: "Search for queries by name or ID" }), !queryLoaderState.searchText ? (_jsx("div", { className: "query-loader__search__input__search__icon", children: _jsx(SearchIcon, {}) })) : (_jsx(_Fragment, { children: _jsx("button", { className: "query-loader__search__input__clear-btn", tabIndex: -1, onClick: clearQuerySearching, title: "Clear", children: _jsx(TimesIcon, {}) }) }))] }) }), _jsx("div", { className: "query-loader__filter", children: _jsxs("div", { className: "query-loader__filter__toggler", children: [_jsx("button", { className: clsx('query-loader__filter__toggler__btn', {
112
+ 'query-loader__filter__toggler__btn--toggled': isMineOnly,
113
+ }), onClick: toggleShowCurrentUserQueriesOnly, tabIndex: -1, children: "Mine Only" }), queryLoaderState.extraFilterOptions.length > 0 && (_jsx("div", { className: "query-loader__filter__extra__filters", children: Array.from(queryLoaderState.extraFilters.entries()).map(([key, value]) => (_jsx("button", { className: clsx('query-loader__filter__toggler__btn', {
114
+ 'query-loader__filter__toggler__btn--toggled': value,
115
+ }), onClick: () => toggleExtraFilters(key), tabIndex: -1, children: key }, key))) }))] }) })] }), _jsxs("div", { className: "query-loader__content", children: [_jsx(PanelLoadingIndicator, { isLoading: queryLoaderState.searchQueriesState.isInProgress ||
116
+ queryLoaderState.renameQueryState.isInProgress ||
117
+ queryLoaderState.deleteQueryState.isInProgress ||
118
+ queryLoaderState.previewQueryState.isInProgress }), _jsxs("div", { className: "query-loader__results", children: [queryLoaderState.searchQueriesState.hasCompleted && (_jsxs(_Fragment, { children: [_jsx("div", { className: "query-loader__results__summary", children: queryLoaderState.showingDefaultQueries ? (queryLoaderState.generateDefaultQueriesSummaryText?.(results) ?? 'Refine your search to get better matches') : results.length >= QUERY_LOADER_TYPEAHEAD_SEARCH_LIMIT ? (_jsxs(_Fragment, { children: [`Found ${QUERY_LOADER_TYPEAHEAD_SEARCH_LIMIT}+ matches`, ' ', _jsx(InfoCircleIcon, { title: "Some queries are not listed, refine your search to get better matches", className: "query-loader__results__summary__info" })] })) : (`Found ${quantifyList(results, 'match', 'matches')}`) }), results
119
+ .slice(0, QUERY_LOADER_TYPEAHEAD_SEARCH_LIMIT)
120
+ .map((query, idx) => (_jsxs("div", { className: "query-loader__result", title: `Click to ${loadActionLabel}...`, onClick: () => queryLoaderState.loadQuery(query), children: [_jsxs("div", { className: "query-loader__result__content", children: [showQueryNameEditInput === idx ? (_jsx("div", { className: "query-loader__result__title__editor", children: _jsx("input", { className: "query-loader__result__title__editor__input input--dark", spellCheck: false, ref: queryRenameInputRef, value: queryNameInputValue, onChange: changeQueryNameInputValue, onKeyDown: (event) => {
121
+ if (event.code === 'Enter') {
122
+ renameQuery(query)();
123
+ }
124
+ else if (event.code === 'Escape') {
125
+ hideEditQueryNameInput();
126
+ }
127
+ }, onBlur: () => hideEditQueryNameInput() }) })) : (_jsx("div", { className: "query-loader__result__title", title: query.name, children: query.name })), _jsxs("div", { className: "query-loader__result__description", children: [_jsx("div", { className: "query-loader__result__description__date__icon", children: _jsx(LastModifiedIcon, {}) }), _jsx("div", { className: "query-loader__result__description__date", children: query.lastUpdatedAt
128
+ ? formatDistanceToNow(new Date(query.lastUpdatedAt), {
129
+ includeSeconds: true,
130
+ addSuffix: true,
131
+ })
132
+ : '(unknown)' }), _jsx("div", { className: clsx('query-loader__result__description__author__icon', {
133
+ 'query-loader__result__description__author__icon--owner': query.isCurrentUserQuery,
134
+ }), children: _jsx(UserIcon, {}) }), _jsx("div", { className: "query-loader__result__description__author__name", children: query.isCurrentUserQuery ? (_jsx("div", { title: query.owner, className: "query-loader__result__description__owner", children: "Me" })) : (query.owner) })] })] }), _jsx(DropdownMenu, { className: "query-loader__result__actions-menu", title: "More Actions...", content: _jsxs(MenuContent, { children: [_jsx(MenuContentItem, { onClick: () => showPreview(query.id), children: "Show Query Preview" }), !queryLoaderState.isReadOnly && (_jsx(MenuContentItem, { disabled: !query.isCurrentUserQuery, onClick: deleteQuery(query), children: "Delete" })), !queryLoaderState.isReadOnly && (_jsx(MenuContentItem, { disabled: !query.isCurrentUserQuery, onClick: showEditQueryNameInput(query.name, idx), children: "Rename" }))] }), menuProps: {
135
+ anchorOrigin: {
136
+ vertical: 'bottom',
137
+ horizontal: 'left',
138
+ },
139
+ transformOrigin: {
140
+ vertical: 'top',
141
+ horizontal: 'left',
142
+ },
143
+ elevation: 7,
144
+ }, children: _jsx(MoreVerticalIcon, {}) }), _jsx("div", { className: "query-loader__result__arrow", children: _jsx(ThinChevronRightIcon, {}) })] }, query.id)))] })), !queryLoaderState.searchQueriesState.hasCompleted && (_jsx(BlankPanelContent, { children: "Loading queries..." }))] }), queryLoaderState.showPreviewViewer &&
145
+ queryLoaderState.queryPreviewContent && (_jsx(QueryPreviewViewer, { queryLoaderState: queryLoaderState }))] })] }));
146
+ });
147
+ export const QueryLoaderDialog = observer((props) => {
148
+ const { queryLoaderState, title, loadActionLabel } = props;
149
+ const close = () => {
150
+ queryLoaderState.setQueryLoaderDialogOpen(false);
151
+ queryLoaderState.reset();
152
+ };
153
+ return (_jsx(Dialog, { open: queryLoaderState.isQueryLoaderDialogOpen, onClose: close, classes: {
154
+ root: 'query-loader__dialog',
155
+ container: 'query-loader__dialog__container',
156
+ }, PaperProps: {
157
+ classes: { root: 'query-loader__dialog__body' },
158
+ }, children: _jsxs(Modal, { darkMode: true, className: "modal query-loader__dialog__body__content", children: [_jsxs("div", { className: "modal query-loader__dialog__header", children: [_jsx(ModalTitle, { className: "query-loader__dialog__header__title", title: title }), _jsx("button", { className: "query-loader__dialog__header__close-btn", title: "Close", onClick: close, children: _jsx(TimesIcon, {}) })] }), _jsx("div", { className: "modal query-loader__dialog__content", children: _jsx(QueryLoader, { queryLoaderState: queryLoaderState, loadActionLabel: loadActionLabel ?? title.toLowerCase() }) })] }) }));
159
+ });
160
+ //# sourceMappingURL=QueryLoader.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryLoader.js","sourceRoot":"","sources":["../../src/components/QueryLoader.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2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