@finos/legend-query-builder 3.0.6 → 3.0.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (111) hide show
  1. package/lib/__lib__/QueryBuilderDocumentation.d.ts +0 -1
  2. package/lib/__lib__/QueryBuilderDocumentation.d.ts.map +1 -1
  3. package/lib/__lib__/QueryBuilderDocumentation.js +0 -1
  4. package/lib/__lib__/QueryBuilderDocumentation.js.map +1 -1
  5. package/lib/__lib__/QueryBuilderEvent.d.ts +18 -0
  6. package/lib/__lib__/QueryBuilderEvent.d.ts.map +1 -1
  7. package/lib/__lib__/QueryBuilderEvent.js +20 -0
  8. package/lib/__lib__/QueryBuilderEvent.js.map +1 -1
  9. package/lib/__lib__/QueryBuilderTelemetryHelper.d.ts +14 -0
  10. package/lib/__lib__/QueryBuilderTelemetryHelper.d.ts.map +1 -1
  11. package/lib/__lib__/QueryBuilderTelemetryHelper.js +43 -1
  12. package/lib/__lib__/QueryBuilderTelemetryHelper.js.map +1 -1
  13. package/lib/components/QueryBuilder.d.ts +0 -1
  14. package/lib/components/QueryBuilder.d.ts.map +1 -1
  15. package/lib/components/QueryBuilder.js +25 -34
  16. package/lib/components/QueryBuilder.js.map +1 -1
  17. package/lib/components/QueryBuilderConstantExpressionPanel.d.ts +0 -1
  18. package/lib/components/QueryBuilderConstantExpressionPanel.d.ts.map +1 -1
  19. package/lib/components/QueryBuilderConstantExpressionPanel.js +11 -15
  20. package/lib/components/QueryBuilderConstantExpressionPanel.js.map +1 -1
  21. package/lib/components/QueryBuilderDiffPanel.d.ts +0 -1
  22. package/lib/components/QueryBuilderDiffPanel.d.ts.map +1 -1
  23. package/lib/components/QueryBuilderParametersPanel.d.ts +0 -1
  24. package/lib/components/QueryBuilderParametersPanel.d.ts.map +1 -1
  25. package/lib/components/QueryBuilderParametersPanel.js +16 -20
  26. package/lib/components/QueryBuilderParametersPanel.js.map +1 -1
  27. package/lib/components/QueryBuilderPropertyExpressionEditor.d.ts +0 -1
  28. package/lib/components/QueryBuilderPropertyExpressionEditor.d.ts.map +1 -1
  29. package/lib/components/QueryBuilderResultPanel.d.ts +0 -1
  30. package/lib/components/QueryBuilderResultPanel.d.ts.map +1 -1
  31. package/lib/components/QueryBuilderSideBar.d.ts +0 -1
  32. package/lib/components/QueryBuilderSideBar.d.ts.map +1 -1
  33. package/lib/components/QueryBuilderTextEditor.d.ts +0 -1
  34. package/lib/components/QueryBuilderTextEditor.d.ts.map +1 -1
  35. package/lib/components/QueryBuilderUnsupportedQueryEditor.d.ts +0 -1
  36. package/lib/components/QueryBuilderUnsupportedQueryEditor.d.ts.map +1 -1
  37. package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.d.ts +0 -1
  38. package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.d.ts.map +1 -1
  39. package/lib/components/explorer/QueryBuilderMilestoningEditor.d.ts +0 -1
  40. package/lib/components/explorer/QueryBuilderMilestoningEditor.d.ts.map +1 -1
  41. package/lib/components/explorer/QueryBuilderPropertySearchPanel.d.ts +0 -1
  42. package/lib/components/explorer/QueryBuilderPropertySearchPanel.d.ts.map +1 -1
  43. package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.d.ts +0 -1
  44. package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.d.ts.map +1 -1
  45. package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.d.ts +0 -1
  46. package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.d.ts.map +1 -1
  47. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.d.ts +0 -1
  48. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.d.ts.map +1 -1
  49. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js +13 -3
  50. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js.map +1 -1
  51. package/lib/components/fetch-structure/QueryBuilderPostTDSPanel.d.ts +0 -1
  52. package/lib/components/fetch-structure/QueryBuilderPostTDSPanel.d.ts.map +1 -1
  53. package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.d.ts +0 -1
  54. package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.d.ts.map +1 -1
  55. package/lib/components/fetch-structure/QueryBuilderTDSPanel.d.ts +0 -1
  56. package/lib/components/fetch-structure/QueryBuilderTDSPanel.d.ts.map +1 -1
  57. package/lib/components/fetch-structure/QueryBuilderTDSPanel.js +1 -1
  58. package/lib/components/fetch-structure/QueryBuilderTDSPanel.js.map +1 -1
  59. package/lib/components/fetch-structure/QueryBuilderTDSWindowPanel.d.ts +0 -1
  60. package/lib/components/fetch-structure/QueryBuilderTDSWindowPanel.d.ts.map +1 -1
  61. package/lib/components/fetch-structure/QueryBuilderTDSWindowPanel.js +2 -2
  62. package/lib/components/fetch-structure/QueryBuilderTDSWindowPanel.js.map +1 -1
  63. package/lib/components/filter/QueryBuilderFilterPanel.d.ts +0 -1
  64. package/lib/components/filter/QueryBuilderFilterPanel.d.ts.map +1 -1
  65. package/lib/components/filter/QueryBuilderFilterPanel.js +14 -3
  66. package/lib/components/filter/QueryBuilderFilterPanel.js.map +1 -1
  67. package/lib/components/shared/LambdaEditor.d.ts +0 -1
  68. package/lib/components/shared/LambdaEditor.d.ts.map +1 -1
  69. package/lib/components/shared/LambdaParameterValuesEditor.d.ts +0 -1
  70. package/lib/components/shared/LambdaParameterValuesEditor.d.ts.map +1 -1
  71. package/lib/components/shared/LambdaParameterValuesEditor.js +2 -1
  72. package/lib/components/shared/LambdaParameterValuesEditor.js.map +1 -1
  73. package/lib/components/shared/QueryBuilderVariableSelector.d.ts +0 -1
  74. package/lib/components/shared/QueryBuilderVariableSelector.d.ts.map +1 -1
  75. package/lib/components/watermark/QueryBuilderWatermark.d.ts +0 -1
  76. package/lib/components/watermark/QueryBuilderWatermark.d.ts.map +1 -1
  77. package/lib/index.css +2 -2
  78. package/lib/index.css.map +1 -1
  79. package/lib/index.d.ts +2 -0
  80. package/lib/index.d.ts.map +1 -1
  81. package/lib/index.js +2 -0
  82. package/lib/index.js.map +1 -1
  83. package/lib/package.json +5 -5
  84. package/lib/stores/QueryBuilderState.d.ts +1 -2
  85. package/lib/stores/QueryBuilderState.d.ts.map +1 -1
  86. package/lib/stores/QueryBuilderState.js +7 -8
  87. package/lib/stores/QueryBuilderState.js.map +1 -1
  88. package/lib/stores/QueryBuilderValueSpecificationBuilder.d.ts +2 -1
  89. package/lib/stores/QueryBuilderValueSpecificationBuilder.d.ts.map +1 -1
  90. package/lib/stores/QueryBuilderValueSpecificationBuilder.js +1 -1
  91. package/lib/stores/QueryBuilderValueSpecificationBuilder.js.map +1 -1
  92. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeValueSpecificationBuilder.d.ts +2 -1
  93. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeValueSpecificationBuilder.d.ts.map +1 -1
  94. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeValueSpecificationBuilder.js +18 -15
  95. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeValueSpecificationBuilder.js.map +1 -1
  96. package/package.json +13 -13
  97. package/src/__lib__/QueryBuilderDocumentation.ts +0 -2
  98. package/src/__lib__/QueryBuilderEvent.ts +20 -0
  99. package/src/__lib__/QueryBuilderTelemetryHelper.ts +131 -1
  100. package/src/components/QueryBuilder.tsx +147 -188
  101. package/src/components/QueryBuilderConstantExpressionPanel.tsx +7 -12
  102. package/src/components/QueryBuilderParametersPanel.tsx +6 -10
  103. package/src/components/fetch-structure/QueryBuilderPostFilterPanel.tsx +96 -60
  104. package/src/components/fetch-structure/QueryBuilderTDSPanel.tsx +1 -3
  105. package/src/components/fetch-structure/QueryBuilderTDSWindowPanel.tsx +2 -4
  106. package/src/components/filter/QueryBuilderFilterPanel.tsx +102 -60
  107. package/src/components/shared/LambdaParameterValuesEditor.tsx +6 -5
  108. package/src/index.ts +2 -0
  109. package/src/stores/QueryBuilderState.ts +6 -11
  110. package/src/stores/QueryBuilderValueSpecificationBuilder.ts +1 -1
  111. package/src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeValueSpecificationBuilder.ts +43 -25
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderState.d.ts","sourceRoot":"","sources":["../../src/stores/QueryBuilderState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAUH,OAAO,EACL,KAAK,WAAW,EAMhB,WAAW,EAEZ,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,EAAE,+BAA+B,EAAE,MAAM,sDAAsD,CAAC;AACvG,OAAO,EAEL,2BAA2B,EAC5B,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,yBAAyB,EAAE,MAAM,yCAAyC,CAAC;AACpF,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AAKvE,OAAO,EAAE,iCAAiC,EAAE,MAAM,wCAAwC,CAAC;AAC3F,OAAO,EACL,KAAK,KAAK,EACV,KAAK,OAAO,EACZ,KAAK,OAAO,EACZ,KAAK,iBAAiB,EAKtB,SAAS,EACT,kBAAkB,EAElB,eAAe,EAKhB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,KAAK,EACV,gBAAgB,EAChB,6BAA6B,EAC9B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,2BAA2B,EAAE,MAAM,2CAA2C,CAAC;AACxF,OAAO,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAC/E,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,wCAAwC,CAAC;AAEzF,OAAO,EAAE,gCAAgC,EAAE,MAAM,uCAAuC,CAAC;AACzF,OAAO,EAAE,4BAA4B,EAAE,MAAM,+CAA+C,CAAC;AAG7F,OAAO,EAAE,0BAA0B,EAAE,MAAM,2CAA2C,CAAC;AACvF,OAAO,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAC7E,OAAO,EAAE,kCAAkC,EAAE,MAAM,sDAAs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create();
42
42
  observerContext;
43
+ saveQueryProgressState = ActionState.create();
43
44
  explorerState;
44
45
  functionsExplorerState;
45
46
  parametersState;
@@ -53,7 +54,6 @@ export class QueryBuilderState {
53
54
  resultState;
54
55
  textEditorState;
55
56
  unsupportedQueryState;
56
- titleOfQuery;
57
57
  showFunctionsExplorerPanel = false;
58
58
  showParametersPanel = false;
59
59
  isEditingWatermark = false;
@@ -73,7 +73,6 @@ export class QueryBuilderState {
73
73
  fetchStructureState: observable,
74
74
  filterState: observable,
75
75
  watermarkState: observable,
76
- titleOfQuery: observable,
77
76
  checkEntitlementsState: observable,
78
77
  resultState: observable,
79
78
  textEditorState: observable,
@@ -96,7 +95,6 @@ export class QueryBuilderState {
96
95
  setClass: action,
97
96
  setMapping: action,
98
97
  setRuntimeValue: action,
99
- setTitleOfQuery: action,
100
98
  resetQueryResult: action,
101
99
  resetQueryContent: action,
102
100
  changeClass: action,
@@ -174,9 +172,6 @@ export class QueryBuilderState {
174
172
  setRuntimeValue(val) {
175
173
  this.runtimeValue = val;
176
174
  }
177
- setTitleOfQuery(val) {
178
- this.titleOfQuery = val;
179
- }
180
175
  get isQuerySupported() {
181
176
  return !this.unsupportedQueryState.rawLambda;
182
177
  }
@@ -293,7 +288,7 @@ export class QueryBuilderState {
293
288
  }
294
289
  catch (error) {
295
290
  assertErrorThrown(error);
296
- this.resetQueryResult();
291
+ this.resetQueryResult({ preserveResult: options?.preserveResult });
297
292
  this.resetQueryContent();
298
293
  this.unsupportedQueryState.setLambdaError(error);
299
294
  this.unsupportedQueryState.setRawLambda(query);
@@ -301,10 +296,11 @@ export class QueryBuilderState {
301
296
  const parameters = buildLambdaVariableExpressions(query, this.graphManagerState)
302
297
  .map((param) => observe_ValueSpecification(param, this.observerContext))
303
298
  .filter(filterByType(VariableExpression));
304
- processParameters(parameters, this);
299
+ processParameters(parameters, this, previousStateParameterValues);
305
300
  }
306
301
  }
307
302
  async saveQuery(onSaveQuery) {
303
+ this.saveQueryProgressState.inProgress();
308
304
  try {
309
305
  const query = this.buildQuery();
310
306
  await onSaveQuery(query);
@@ -313,6 +309,9 @@ export class QueryBuilderState {
313
309
  assertErrorThrown(error);
314
310
  this.applicationStore.notificationService.notifyError(`Can't save query: ${error.message}`);
315
311
  }
312
+ finally {
313
+ this.saveQueryProgressState.complete();
314
+ }
316
315
  }
317
316
  *compileQuery() {
318
317
  if (!this.textEditorState.mode) {
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderState.js","sourceRoot":"","sources":["../../src/stores/QueryBuilderState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,MAAM,EACN,IAAI,EACJ,UAAU,EACV,cAAc,EACd,QAAQ,EACR,UAAU,GACX,MAAM,MAAM,CAAC;AACd,OAAO,EAEL,QAAQ,EACR,iBAAiB,EACjB,oBAAoB,EACpB,aAAa,EACb,YAAY,EACZ,WAAW,EACX,SAAS,GACV,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,EAAE,+BAA+B,EAAE,MAAM,sDAAsD,CAAC;AACvG,OAAO,EACL,0BAA0B,EAC1B,2BAA2B,GAC5B,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,yBAAyB,EAAE,MAAM,yCAAyC,CAAC;AACpF,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AACvE,OAAO,EACL,0BAA0B,EAC1B,iBAAiB,GAClB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,iCAAiC,EAAE,MAAM,wCAAwC,CAAC;AAC3F,OAAO,EAKL,mBAAmB,EACnB,gBAAgB,EAChB,mCAAmC,EACnC,2BAA2B,EAC3B,SAAS,EACT,kBAAkB,EAClB,0BAA0B,EAC1B,eAAe,EACf,mBAAmB,EACnB,8BAA8B,EAC9B,gCAAgC,GAEjC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,mBAAmB,EA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iB,CACxB,CAAC;oBACF,IAAI,uBAAuB,EAAE;wBAC3B,IAAI,CAAC,eAAe,CAAC,mBAAmB,CAAC,KAAK,CAAC,CAAC;qBACjD;iBACF;aACF;oBAAS;gBACR,IAAI,CAAC,iBAAiB,CAAC,QAAQ,EAAE,CAAC;aACnC;SACF;IACH,CAAC;IAED,IAAI,mBAAmB;QACrB,OAAO,IAAI,CAAC,mBAAmB,CAAC,cAAc,CAAC,mBAAmB,CAAC;IACrE,CAAC;IAED;;;;OAIG;IACH,kCAAkC;QAChC,mEAAmE;QACnE,MAAM,UAAU,GAAG,IAAI,gCAAgC,CACrD,IAAI,CAAC,gBAAgB,EACrB,IAAI,CAAC,iBAAiB,CACvB,CAAC;QACF,UAAU,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC;QAC9B,UAAU,CAAC,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC;QAClC,UAAU,CAAC,YAAY,GAAG,IAAI,CAAC,YAAY,CAAC;QAC5C,OAAO,UAAU,CAAC;IACpB,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,kCAAkC,CAAC,mBAAmB;YACtD,IAAI,CAAC,qBAAqB;YAC1B,IAAI,CAAC,gBAAgB;YACrB,IAAI,CAAC,eAAe;YACpB,IAAI,CAAC,WAAW;YAChB,IAAI,CAAC,cAAc;YACnB,IAAI,CAAC,sBAAsB;YAC3B,IAAI,CAAC,mBAAmB,CAAC,cAAc;SACxC,CAAC,CAAC;IACL,CAAC;CACF;AAED;;;;;;;;;GASG;AACH,MAAM,OAAO,gCAAiC,SAAQ,iBAAiB;CAAG"}
@@ -13,8 +13,9 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- import { LambdaFunction } from '@finos/legend-graph';
16
+ import { type Class, Multiplicity, LambdaFunction, SimpleFunctionExpression } from '@finos/legend-graph';
17
17
  import type { QueryBuilderState } from './QueryBuilderState.js';
18
18
  import type { LambdaFunctionBuilderOption } from './QueryBuilderValueSpecificationBuilderHelper.js';
19
+ export declare const buildGetAllFunction: (_class: Class, multiplicity: Multiplicity) => SimpleFunctionExpression;
19
20
  export declare const buildLambdaFunction: (queryBuilderState: QueryBuilderState, options?: LambdaFunctionBuilderOption) => LambdaFunction;
20
21
  //# sourceMappingURL=QueryBuilderValueSpecificationBuilder.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderValueSpecificationBuilder.d.ts","sourceRoot":"","sources":["../../src/stores/QueryBuilderValueSpecificationBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAWL,cAAc,EAKf,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAEhE,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,kDAAkD,CAAC;AAoEpG,eAAO,MAAM,mBAAmB,sBACX,iBAAiB,YAC1B,2BAA2B,KACpC,cAiFF,CAAC"}
1
+ {"version":3,"file":"QueryBuilderValueSpecificationBuilder.d.ts","sourceRoot":"","sources":["../../src/stores/QueryBuilderValueSpecificationBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EACL,KAAK,KAAK,EACV,YAAY,EASZ,cAAc,EACd,wBAAwB,EAIzB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAEhE,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,kDAAkD,CAAC;AAOpG,eAAO,MAAM,mBAAmB,WACtB,KAAK,gBACC,YAAY,KACzB,wBAWF,CAAC;AA+CF,eAAO,MAAM,mBAAmB,sBACX,iBAAiB,YAC1B,2BAA2B,KACpC,cAiFF,CAAC"}
@@ -19,7 +19,7 @@ import { buildFilterExpression } from './filter/QueryBuilderFilterValueSpecifica
19
19
  import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../graph/QueryBuilderMetaModelConst.js';
20
20
  import { buildWatermarkExpression } from './watermark/QueryBuilderWatermarkValueSpecificationBuilder.js';
21
21
  import { buildExecutionQueryFromLambdaFunction } from './shared/LambdaParameterState.js';
22
- const buildGetAllFunction = (_class, multiplicity) => {
22
+ export const buildGetAllFunction = (_class, multiplicity) => {
23
23
  const _func = new SimpleFunctionExpression(extractElementNameFromPath(QUERY_BUILDER_SUPPORTED_FUNCTIONS.GET_ALL));
24
24
  const classInstance = new InstanceValue(multiplicity, GenericTypeExplicitReference.create(new GenericType(_class)));
25
25
  classInstance.values[0] = PackageableElementExplicitReference.create(_class);
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderValueSpecificationBuilder.js","sourceRoot":"","sources":["../../src/stores/QueryBuilderValueSpecificationBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EAEL,YAAY,EACZ,8BAA8B,EAC9B,0BAA0B,EAC1B,aAAa,EACb,mCAAmC,EACnC,cAAc,EACd,YAAY,EACZ,WAAW,EACX,4BAA4B,EAC5B,cAAc,EACd,wBAAwB,EACxB,sBAAsB,EACtB,aAAa,EACb,mBAAmB,GACpB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,qBAAqB,EAAE,MAAM,yDAAyD,CAAC;AAGhG,OAAO,EAAE,iCAAiC,EAAE,MAAM,wCAAwC,CAAC;AAC3F,OAAO,EAAE,wBAAwB,EAAE,MAAM,+DAA+D,CAAC;AACzG,OAAO,EAAE,qCAAqC,EAAE,MAAM,kCAAkC,CAAC;AAGzF,MAAM,mBAAmB,GAAG,CAC1B,MAAa,EACb,YAA0B,EACA,EAAE;IAC5B,MAAM,KAAK,GAAG,IAAI,wBAAwB,CACxC,0BAA0B,CAAC,iCAAiC,CAAC,OAAO,CAAC,CACtE,CAAC;IACF,MAAM,aAAa,GAAG,IAAI,aAA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AAqB,CAAC,cAAc,CAAC,CAAC;SAC1C;QACD,cAAc,CAAC,kBAAkB,CAAC,CAAC,CAAC,GAAG,cAAc,CAAC;KACvD;IAED,kBAAkB;IAClB,wBAAwB,CAAC,iBAAiB,CAAC,cAAc,EAAE,cAAc,CAAC,CAAC;IAE3E,eAAe;IACf,qBAAqB,CAAC,iBAAiB,CAAC,WAAW,EAAE,cAAc,CAAC,CAAC;IAErE,wBAAwB;IACxB,mBAAmB,CACjB,iBAAiB,CAAC,mBAAmB,EACrC,cAAc,EACd,OAAO,CACR,CAAC;IAEF,6BAA6B;IAC7B,IAAI,iBAAiB,CAAC,aAAa,CAAC,SAAS,CAAC,MAAM,EAAE;QACpD,MAAM,cAAc,GAClB,iBAAiB,CAAC,aAAa,CAAC,SAAS,CAAC,GAAG,CAAC,kBAAkB,CAAC,CAAC;QACpE,cAAc,CAAC,kBAAkB,GAAG;YAClC,GAAG,cAAc;YACjB,GAAG,cAAc,CAAC,kBAAkB;SACrC,CAAC;KACH;IACD,mBAAmB;IACnB,IACE,iBAAiB,CAAC,eAAe,CAAC,eAAe,CAAC,MAAM;QACxD,CAAC,OAAO,EAAE,4BAA4B,EACtC;QACA,IAAI,OAAO,EAAE,wBAAwB,EAAE;YACrC,qCAAqC,CACnC,cAAc,EACd,iBAAiB,CAAC,eAAe,CAAC,eAAe,EACjD,iBAAiB,CAAC,iBAAiB,CACpC,CAAC;SACH;aAAM;YACL,cAAc,CAAC,YAAY,CAAC,UAAU;gBACpC,iBAAiB,CAAC,eAAe,CAAC,eAAe,CAAC,GAAG,CACnD,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,SAAS,CACnB,CAAC;SACL;KACF;IACD,OAAO,cAAc,CAAC;AACxB,CAAC,CAAC"}
1
+ {"version":3,"file":"QueryBuilderValueSpecificationBuilder.js","sourceRoot":"","sources":["../../src/stores/QueryBuilderValueSpecificationBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,O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kBAAkB,GAAG;YAClC,GAAG,cAAc;YACjB,GAAG,cAAc,CAAC,kBAAkB;SACrC,CAAC;KACH;IACD,mBAAmB;IACnB,IACE,iBAAiB,CAAC,eAAe,CAAC,eAAe,CAAC,MAAM;QACxD,CAAC,OAAO,EAAE,4BAA4B,EACtC;QACA,IAAI,OAAO,EAAE,wBAAwB,EAAE;YACrC,qCAAqC,CACnC,cAAc,EACd,iBAAiB,CAAC,eAAe,CAAC,eAAe,EACjD,iBAAiB,CAAC,iBAAiB,CACpC,CAAC;SACH;aAAM;YACL,cAAc,CAAC,YAAY,CAAC,UAAU;gBACpC,iBAAiB,CAAC,eAAe,CAAC,eAAe,CAAC,GAAG,CACnD,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,SAAS,CACnB,CAAC;SACL;KACF;IACD,OAAO,cAAc,CAAC;AACxB,CAAC,CAAC"}
@@ -13,9 +13,10 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- import { type LambdaFunction, type PureModel, SimpleFunctionExpression } from '@finos/legend-graph';
16
+ import { type ValueSpecification, type LambdaFunction, type PureModel, type RootGraphFetchTree, SimpleFunctionExpression } from '@finos/legend-graph';
17
17
  import { type QueryBuilderGraphFetchTreeState } from './QueryBuilderGraphFetchTreeState.js';
18
18
  export declare const buildPureSerializationConfig: (config: Record<PropertyKey, boolean>, graph: PureModel) => SimpleFunctionExpression;
19
+ export declare const buildSerialzieFunctionWithGraphFetch: (tree: RootGraphFetchTree, isChecked: boolean, precedingExpression: ValueSpecification, pureConfig: SimpleFunctionExpression | undefined) => SimpleFunctionExpression;
19
20
  export declare const appendGraphFetch: (graphFetchTreeState: QueryBuilderGraphFetchTreeState, lambdaFunction: LambdaFunction, options?: {
20
21
  /**
21
22
  * Set queryBuilderState to `true` when we construct query for execution within the app.
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderGraphFetchTreeValueSpecificationBuilder.d.ts","sourceRoot":"","sources":["../../../../src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeValueSpecificationBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,KAAK,cAAc,EACnB,KAAK,SAAS,EAMd,wBAAwB,EAUzB,MAAM,qBAAqB,CAAC;AAU7B,OAAO,EAGL,KAAK,+BAA+B,EACrC,MAAM,sCAAsC,CAAC;AAmD9C,eAAO,MAAM,4BAA4B,WAC/B,OAAO,WAAW,EAAE,OAAO,CAAC,SAC7B,SAAS,KACf,wBAwDF,CAAC;AAEF,eAAO,MAAM,gBAAgB,wBACN,+BAA+B,kBACpC,cAAc,YACpB;IACR;;;OAGG;IACH,wBAAwB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC/C,qBAAqB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CAC7C,KACA,IAmGF,CAAC"}
1
+ {"version":3,"file":"QueryBuilderGraphFetchTreeValueSpecificationBuilder.d.ts","sourceRoot":"","sources":["../../../../src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeValueSpecificationBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,kBAAkB,EACvB,KAAK,cAAc,EACnB,KAAK,SAAS,EACd,KAAK,kBAAkB,EAMvB,wBAAwB,EAUzB,MAAM,qBAAqB,CAAC;AAU7B,OAAO,EAGL,KAAK,+BAA+B,EACrC,MAAM,sCAAsC,CAAC;AAmD9C,eAAO,MAAM,4BAA4B,WAC/B,OAAO,WAAW,EAAE,OAAO,CAAC,SAC7B,SAAS,KACf,wBAwDF,CAAC;AAEF,eAAO,MAAM,oCAAoC,SACzC,kBAAkB,aACb,OAAO,uBACG,kBAAkB,cAC3B,wBAAwB,GAAG,SAAS,KAC/C,wBAqBF,CAAC;AAEF,eAAO,MAAM,gBAAgB,wBACN,+BAA+B,kBACpC,cAAc,YACpB;IACR;;;OAGG;IACH,wBAAwB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC/C,qBAAqB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CAC7C,KACA,IAwFF,CAAC"}
@@ -80,6 +80,20 @@ export const buildPureSerializationConfig = (config, graph) => {
80
80
  ];
81
81
  return newFunction;
82
82
  };
83
+ export const buildSerialzieFunctionWithGraphFetch = (tree, isChecked, precedingExpression, pureConfig) => {
84
+ const graphFetchInstance = new GraphFetchTreeInstanceValue();
85
+ graphFetchInstance.values = [tree];
86
+ const serializeFunction = new SimpleFunctionExpression(extractElementNameFromPath(QUERY_BUILDER_SUPPORTED_FUNCTIONS.SERIALIZE));
87
+ const graphFetchFunc = new SimpleFunctionExpression(isChecked
88
+ ? extractElementNameFromPath(QUERY_BUILDER_SUPPORTED_FUNCTIONS.GRAPH_FETCH_CHECKED)
89
+ : extractElementNameFromPath(QUERY_BUILDER_SUPPORTED_FUNCTIONS.GRAPH_FETCH));
90
+ graphFetchFunc.parametersValues = [precedingExpression, graphFetchInstance];
91
+ serializeFunction.parametersValues = [graphFetchFunc, graphFetchInstance];
92
+ if (pureConfig) {
93
+ serializeFunction.parametersValues.push(pureConfig);
94
+ }
95
+ return serializeFunction;
96
+ };
83
97
  export const appendGraphFetch = (graphFetchTreeState, lambdaFunction, options) => {
84
98
  const queryBuilderState = graphFetchTreeState.queryBuilderState;
85
99
  const precedingExpression = guaranteeNonNullable(lambdaFunction.expressionSequence[0], `Can't build graph-fetch tree expression: preceding expression is not defined`);
@@ -88,21 +102,10 @@ export const appendGraphFetch = (graphFetchTreeState, lambdaFunction, options) =
88
102
  // build graph-fetch tree
89
103
  if (graphFetchTreeState.treeData &&
90
104
  !isGraphFetchTreeDataEmpty(graphFetchTreeState.treeData)) {
91
- const graphFetchInstance = new GraphFetchTreeInstanceValue();
92
- graphFetchInstance.values = [graphFetchTreeState.treeData.tree];
93
- const serializeFunction = new SimpleFunctionExpression(extractElementNameFromPath(QUERY_BUILDER_SUPPORTED_FUNCTIONS.SERIALIZE));
94
- const graphFetchFunc = new SimpleFunctionExpression(graphFetchTreeState.isChecked
95
- ? extractElementNameFromPath(QUERY_BUILDER_SUPPORTED_FUNCTIONS.GRAPH_FETCH_CHECKED)
96
- : extractElementNameFromPath(QUERY_BUILDER_SUPPORTED_FUNCTIONS.GRAPH_FETCH));
97
- graphFetchFunc.parametersValues = [
98
- precedingExpression,
99
- graphFetchInstance,
100
- ];
101
- serializeFunction.parametersValues = [graphFetchFunc, graphFetchInstance];
102
- if (serializationState.config) {
103
- const configFunction = buildPureSerializationConfig(serializationState.config, graphFetchTreeState.queryBuilderState.graphManagerState.graph);
104
- serializeFunction.parametersValues.push(configFunction);
105
- }
105
+ const pureConfig = serializationState.config
106
+ ? buildPureSerializationConfig(serializationState.config, graphFetchTreeState.queryBuilderState.graphManagerState.graph)
107
+ : undefined;
108
+ const serializeFunction = buildSerialzieFunctionWithGraphFetch(graphFetchTreeState.treeData.tree, graphFetchTreeState.isChecked, precedingExpression, pureConfig);
106
109
  lambdaFunction.expressionSequence[0] = serializeFunction;
107
110
  }
108
111
  }
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderGraphFetchTreeValueSpecificationBuilder.js","sourceRoot":"","sources":["../../../../src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeValueSpecificationBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAIL,0BAA0B,EAC1B,WAAW,EACX,4BAA4B,EAC5B,iBAAiB,EACjB,sBAAsB,EACtB,wBAAwB,EACxB,2BAA2B,EAC3B,aAAa,EACb,aAAa,EACb,YAAY,EACZ,mCAAmC,EACnC,mBAAmB,EACnB,uBAAuB,EACvB,0BAA0B,EAC1B,aAAa,GACd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,yBAAyB,EACzB,oBAAoB,EACpB,aAAa,GACd,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,uBAAuB,EACvB,iCAAiC,GAClC,MAAM,8CAA8C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EAAE;QACrC,eAAe,CAAC,cAAc,EAAE,iBAAiB,CAAC,WAAW,CAAC,YAAY,CAAC,CAAC;KAC7E;AACH,CAAC,CAAC"}
1
+ {"version":3,"file":"QueryBuilderGraphFetchTreeValueSpecificationBuilder.js","sourceRoot":"","sources":["../../../../src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeValueSpecificationBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAKL,0BAA0B,EAC1B,WAAW,EACX,4BAA4B,EAC5B,iBAAiB,EACjB,sBAAsB,EACtB,wBAAwB,EACxB,2BAA2B,EAC3B,aAAa,EACb,aAAa,EACb,YAAY,EACZ,mCAAmC,EACnC,mBAAmB,EACnB,uBAAuB,EACvB,0BAA0B,EAC1B,aAAa,GACd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,yBAAyB,EACzB,oBAAoB,EACpB,aAAa,GACd,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,uBAAuB,EACvB,iCAAiC,GAClC,MAAM,8CAA8C,CAAC;AACtD,OAAO,EACL,0CAA0C,EAC1C,gCAAgC,GAEjC,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,yBAAyB,EAAE,MAAM,qCAAqC,CAAC;AAEhF,MAAM,eAAe,GAAG,CACtB,MAAsB,EACtB,YAAiC,EACjB,EAAE;IAClB,IAAI,CAAC,YAAY,EAAE;QACjB,OAAO,MAAM,CAAC;KACf;IACD,IAAI,MAAM,CAAC,kBAAkB,CAAC,MAAM,KAAK,CAAC,EAAE;QAC1C,MAAM,IAAI,GAAG,MAAM,CAAC,kBAAkB,CAAC,CAAC,CAAC,CAAC;QAC1C,IAAI,IAAI,YAAY,wBAAwB,EAAE;YAC5C,IACE,iBAAiB,CACf,IAAI,CAAC,YAAY,EACjB,iCAAiC,CAAC,SAAS,CAC5C,EACD;gBACA,MAAM,KAAK,GAAG,IAAI,sBAAsB,CACtC,4BAA4B,CAAC,MAA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a,CAAC,IAAI,CAAC,CAAC;YACjD,MAAM,cAAc,GAAG,IAAI,wBAAwB,CACjD,mBAAmB,CAAC,SAAS;gBAC3B,CAAC,CAAC,0BAA0B,CACxB,iCAAiC,CAAC,mBAAmB,CACtD;gBACH,CAAC,CAAC,0BAA0B,CACxB,iCAAiC,CAAC,WAAW,CAC9C,CACN,CAAC;YACF,cAAc,CAAC,gBAAgB,GAAG;gBAChC,mBAAmB;gBACnB,kBAAkB;aACnB,CAAC;YACF,YAAY;YACZ,MAAM,eAAe,GAAG,IAAI,aAAa,CAAC,YAAY,CAAC,GAAG,EAAE,SAAS,CAAC,CAAC;YACvE,eAAe,CAAC,MAAM,GAAG;gBACvB,mCAAmC,CAAC,MAAM,CACxC,kBAAkB,CAAC,aAAa,CACjC;aACF,CAAC;YACF,gBAAgB;YAChB,MAAM,oBAAoB,GAAG,IAAI,2BAA2B,EAAE,CAAC;YAC/D,oBAAoB,CAAC,MAAM,GAAG,CAAC,6BAA6B,CAAC,IAAI,CAAC,CAAC;YACnE,oBAAoB;YACpB,mBAAmB,CAAC,gBAAgB,GAAG;gBACrC,cAAc;gBACd,eAAe;gBACf,oBAAoB;aACrB,CAAC;YACF,cAAc,CAAC,kBAAkB,CAAC,CAAC,CAAC,GAAG,mBAAmB,CAAC;SAC5D;KACF;SAAM;QACL,MAAM,IAAI,yBAAyB,CACjC,mCAAmC,kBAAkB,CAAC,QAAQ,EAAE,EAAE,CACnE,CAAC;KACH;IACD,gDAAgD;IAChD,IAAI,OAAO,EAAE,wBAAwB,EAAE;QACrC,eAAe,CAAC,cAAc,EAAE,iBAAiB,CAAC,WAAW,CAAC,YAAY,CAAC,CAAC;KAC7E;AACH,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-query-builder",
3
- "version": "3.0.6",
3
+ "version": "3.0.8",
4
4
  "description": "Legend query builder core",
5
5
  "keywords": [
6
6
  "legend",
@@ -42,16 +42,16 @@
42
42
  "test:watch": "jest --watch"
43
43
  },
44
44
  "dependencies": {
45
- "@finos/legend-application": "15.0.3",
46
- "@finos/legend-art": "7.0.4",
47
- "@finos/legend-graph": "28.1.0",
48
- "@finos/legend-lego": "0.1.9",
49
- "@finos/legend-server-depot": "6.0.1",
50
- "@finos/legend-shared": "10.0.1",
51
- "@finos/legend-storage": "3.0.51",
45
+ "@finos/legend-application": "15.0.5",
46
+ "@finos/legend-art": "7.0.6",
47
+ "@finos/legend-graph": "28.1.2",
48
+ "@finos/legend-lego": "0.1.11",
49
+ "@finos/legend-server-depot": "6.0.3",
50
+ "@finos/legend-shared": "10.0.2",
51
+ "@finos/legend-storage": "3.0.52",
52
52
  "@testing-library/react": "14.0.0",
53
- "@types/react": "18.0.37",
54
- "@types/react-dom": "18.0.11",
53
+ "@types/react": "18.2.0",
54
+ "@types/react-dom": "18.2.1",
55
55
  "mathjs": "11.8.0",
56
56
  "mobx": "6.9.0",
57
57
  "mobx-react-lite": "3.4.3",
@@ -63,14 +63,14 @@
63
63
  "sql-formatter": "12.2.0"
64
64
  },
65
65
  "devDependencies": {
66
- "@finos/legend-dev-utils": "2.0.55",
66
+ "@finos/legend-dev-utils": "2.0.57",
67
67
  "@jest/globals": "29.5.0",
68
68
  "cross-env": "7.0.3",
69
- "eslint": "8.38.0",
69
+ "eslint": "8.39.0",
70
70
  "jest": "29.5.0",
71
71
  "npm-run-all": "4.1.5",
72
72
  "rimraf": "5.0.0",
73
- "sass": "1.62.0",
73
+ "sass": "1.62.1",
74
74
  "typescript": "5.0.4"
75
75
  },
76
76
  "peerDependencies": {
@@ -15,8 +15,6 @@
15
15
  */
16
16
 
17
17
  export enum QUERY_BUILDER_DOCUMENTATION_KEY {
18
- TUTORIAL_QUERY_BUILDER = 'tutorial.query.builder',
19
-
20
18
  // questions
21
19
  QUESTION_HOW_TO_ADD_PARAMETERS_TO_QUERY = 'question.how-to-add-parameters-to-query',
22
20
  QUESTION_HOW_TO_ADD_CONSTANTS_TO_QUERY = 'question.how-to-add-constants-to-query',
@@ -24,3 +24,23 @@ export enum QUERY_BUILDER_EVENT {
24
24
  DEBUG_EXECUTION_PLAN__SUCCESS = 'query-builder.debug-plan.success',
25
25
  BUILD_EXECUTION_PLAN__SUCCESS = 'query-builder.build-plan.success',
26
26
  }
27
+
28
+ export enum QUERY_BUILDER_FILTER_EVENT {
29
+ FILTER__CREATE__CONDITION__LAUNCH = 'query-builder.filter.create-condition.launch',
30
+ FILTER__CREATE__GROUP__FROM__CONDITION__LAUNCH = 'query-builder.filter.create-group-from-condition.launch',
31
+ FILTER__CREATE__LOGICAL__GROUP__LAUNCH = 'query-builder.filter.create-logical-group.launch',
32
+ FILTER__CLEANUP__TREE__LAUNCH = 'query-builder.filter.cleanup-tree.launch',
33
+ FILTER__SIMPLIFY__TREE__LAUNCH = 'query-builder.filter.simplify-tree.launch',
34
+ FILTER__COLLAPSE__TREE__LAUNCH = 'query-builder.filter.collapse-tree.launch',
35
+ FILTER__EXPAND__TREE__LAUNCH = 'query-builder.filter.expand-tree.launch',
36
+ }
37
+
38
+ export enum QUERY_BUILDER_POST_FILTER_EVENT {
39
+ FILTER__CREATE__CONDITION__LAUNCH = 'query-builder.post-filter.create-condition.launch',
40
+ FILTER__CREATE__GROUP__FROM__CONDITION__LAUNCH = 'query-builder.post-filter.create-group-from-condition.launch',
41
+ FILTER__CREATE__LOGICAL__GROUP__LAUNCH = 'query-builder.post-filter.create-logical-group.launch',
42
+ FILTER__CLEANUP__TREE__LAUNCH = 'query-builder.post-filter.cleanup-tree.launch',
43
+ FILTER__SIMPLIFY__TREE__LAUNCH = 'query-builder.post-filter.simplify-tree.launch',
44
+ FILTER__COLLAPSE__TREE__LAUNCH = 'query-builder.post-filter.collapse-tree.launch',
45
+ FILTER__EXPAND__TREE__LAUNCH = 'query-builder.post-filter.expand-tree.launch',
46
+ }
@@ -16,7 +16,11 @@
16
16
 
17
17
  import type { GraphManagerOperationReport } from '@finos/legend-graph';
18
18
  import type { TelemetryService } from '@finos/legend-application';
19
- import { QUERY_BUILDER_EVENT } from './QueryBuilderEvent.js';
19
+ import {
20
+ QUERY_BUILDER_EVENT,
21
+ QUERY_BUILDER_FILTER_EVENT,
22
+ QUERY_BUILDER_POST_FILTER_EVENT,
23
+ } from './QueryBuilderEvent.js';
20
24
 
21
25
  type QueryExecution_TelemetryData = GraphManagerOperationReport & {
22
26
  dependenciesCount: number;
@@ -71,4 +75,130 @@ export class QueryBuilderTelemetryHelper {
71
75
  data,
72
76
  );
73
77
  }
78
+
79
+ static logEvent_FilterCreateConditionLaunched(
80
+ telemetryService: TelemetryService,
81
+ ): void {
82
+ telemetryService.logEvent(
83
+ QUERY_BUILDER_FILTER_EVENT.FILTER__CREATE__CONDITION__LAUNCH,
84
+ {},
85
+ );
86
+ }
87
+
88
+ static logEvent_FilterCleanupTreeLaunched(
89
+ telemetryService: TelemetryService,
90
+ ): void {
91
+ telemetryService.logEvent(
92
+ QUERY_BUILDER_FILTER_EVENT.FILTER__CLEANUP__TREE__LAUNCH,
93
+ {},
94
+ );
95
+ }
96
+
97
+ static logEvent_FilterCollapseTreeLaunched(
98
+ telemetryService: TelemetryService,
99
+ ): void {
100
+ telemetryService.logEvent(
101
+ QUERY_BUILDER_FILTER_EVENT.FILTER__COLLAPSE__TREE__LAUNCH,
102
+ {},
103
+ );
104
+ }
105
+
106
+ static logEvent_FilterCreateGroupFromConditionLaunched(
107
+ telemetryService: TelemetryService,
108
+ ): void {
109
+ telemetryService.logEvent(
110
+ QUERY_BUILDER_FILTER_EVENT.FILTER__CREATE__GROUP__FROM__CONDITION__LAUNCH,
111
+ {},
112
+ );
113
+ }
114
+
115
+ static logEvent_FilterCreateLogicalGroupLaunched(
116
+ telemetryService: TelemetryService,
117
+ ): void {
118
+ telemetryService.logEvent(
119
+ QUERY_BUILDER_FILTER_EVENT.FILTER__CREATE__LOGICAL__GROUP__LAUNCH,
120
+ {},
121
+ );
122
+ }
123
+
124
+ static logEvent_FilterExpandTreeLaunched(
125
+ telemetryService: TelemetryService,
126
+ ): void {
127
+ telemetryService.logEvent(
128
+ QUERY_BUILDER_FILTER_EVENT.FILTER__EXPAND__TREE__LAUNCH,
129
+ {},
130
+ );
131
+ }
132
+
133
+ static logEvent_FilterSimplifyTreeLaunched(
134
+ telemetryService: TelemetryService,
135
+ ): void {
136
+ telemetryService.logEvent(
137
+ QUERY_BUILDER_FILTER_EVENT.FILTER__SIMPLIFY__TREE__LAUNCH,
138
+ {},
139
+ );
140
+ }
141
+
142
+ static logEvent_PostFilterCreateConditionLaunched(
143
+ telemetryService: TelemetryService,
144
+ ): void {
145
+ telemetryService.logEvent(
146
+ QUERY_BUILDER_POST_FILTER_EVENT.FILTER__CREATE__CONDITION__LAUNCH,
147
+ {},
148
+ );
149
+ }
150
+
151
+ static logEvent_PostFilterCleanupTreeLaunched(
152
+ telemetryService: TelemetryService,
153
+ ): void {
154
+ telemetryService.logEvent(
155
+ QUERY_BUILDER_POST_FILTER_EVENT.FILTER__CLEANUP__TREE__LAUNCH,
156
+ {},
157
+ );
158
+ }
159
+
160
+ static logEvent_PostFilterCollapseTreeLaunched(
161
+ telemetryService: TelemetryService,
162
+ ): void {
163
+ telemetryService.logEvent(
164
+ QUERY_BUILDER_POST_FILTER_EVENT.FILTER__COLLAPSE__TREE__LAUNCH,
165
+ {},
166
+ );
167
+ }
168
+
169
+ static logEvent_PostFilterCreateGroupFromConditionLaunched(
170
+ telemetryService: TelemetryService,
171
+ ): void {
172
+ telemetryService.logEvent(
173
+ QUERY_BUILDER_POST_FILTER_EVENT.FILTER__CREATE__GROUP__FROM__CONDITION__LAUNCH,
174
+ {},
175
+ );
176
+ }
177
+
178
+ static logEvent_PostFilterCreateLogicalGroupLaunched(
179
+ telemetryService: TelemetryService,
180
+ ): void {
181
+ telemetryService.logEvent(
182
+ QUERY_BUILDER_POST_FILTER_EVENT.FILTER__CREATE__LOGICAL__GROUP__LAUNCH,
183
+ {},
184
+ );
185
+ }
186
+
187
+ static logEvent_PostFilterExpandTreeLaunched(
188
+ telemetryService: TelemetryService,
189
+ ): void {
190
+ telemetryService.logEvent(
191
+ QUERY_BUILDER_POST_FILTER_EVENT.FILTER__EXPAND__TREE__LAUNCH,
192
+ {},
193
+ );
194
+ }
195
+
196
+ static logEvent_PostFilterSimplifyTreeLaunched(
197
+ telemetryService: TelemetryService,
198
+ ): void {
199
+ telemetryService.logEvent(
200
+ QUERY_BUILDER_POST_FILTER_EVENT.FILTER__SIMPLIFY__TREE__LAUNCH,
201
+ {},
202
+ );
203
+ }
74
204
  }