@finos/legend-query-builder 4.16.10 → 4.16.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (80) hide show
  1. package/lib/components/QueryBuilderSideBar.d.ts.map +1 -1
  2. package/lib/components/QuerySetupUtils.d.ts.map +1 -1
  3. package/lib/components/ServiceQuerySetupUtils.d.ts.map +1 -1
  4. package/lib/components/__test-utils__/QueryBuilderComponentTestUtils.d.ts.map +1 -1
  5. package/lib/components/execution-plan/ExecutionPlanViewer.d.ts.map +1 -1
  6. package/lib/components/explorer/QueryBuilderExplorerPanel.d.ts.map +1 -1
  7. package/lib/components/explorer/QueryBuilderPropertySearchPanel.d.ts.map +1 -1
  8. package/lib/components/fetch-structure/QueryBuilderAggParam.d.ts.map +1 -1
  9. package/lib/components/fetch-structure/QueryBuilderTDSComponentHelper.d.ts.map +1 -1
  10. package/lib/components/filter/QueryBuilderFilterPanel.d.ts.map +1 -1
  11. package/lib/components/result/tds/QueryBuilderTDSGridResult.d.ts.map +1 -1
  12. package/lib/components/result/tds/QueryBuilderTDSResultShared.d.ts.map +1 -1
  13. package/lib/components/result/tds/QueryBuilderTDSSimpleGridResult.d.ts.map +1 -1
  14. package/lib/components/shared/CustomDatePicker.d.ts.map +1 -1
  15. package/lib/components/shared/QueryBuilderFilterHelper.d.ts.map +1 -1
  16. package/lib/components/shared/QueryBuilderVariableSelector.d.ts.map +1 -1
  17. package/lib/components/workflows/ClassQueryBuilder.d.ts.map +1 -1
  18. package/lib/components/workflows/MappingQueryBuilder.d.ts.map +1 -1
  19. package/lib/components/workflows/ServiceQueryBuilder.d.ts.map +1 -1
  20. package/lib/graph-manager/protocol/pure/QueryBuilder_PureGraphManagerExtension.d.ts.map +1 -1
  21. package/lib/graph-manager/protocol/pure/QueryBuilder_PureGraphManagerExtensionBuilder.d.ts.map +1 -1
  22. package/lib/graph-manager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.d.ts.map +1 -1
  23. package/lib/index.css +16 -0
  24. package/lib/package.json +7 -7
  25. package/lib/stores/QueryBuilderConstantsState.d.ts.map +1 -1
  26. package/lib/stores/QueryBuilderGroupOperationHelper.d.ts.map +1 -1
  27. package/lib/stores/QueryBuilderPreviewDataHelper.d.ts.map +1 -1
  28. package/lib/stores/QueryBuilderPropertyEditorState.d.ts.map +1 -1
  29. package/lib/stores/QueryBuilderResultState.d.ts.map +1 -1
  30. package/lib/stores/QueryBuilderStateBuilder.d.ts.map +1 -1
  31. package/lib/stores/QueryBuilderTypeaheadHelper.d.ts.map +1 -1
  32. package/lib/stores/QueryBuilderValueSpecificationBuilder.d.ts.map +1 -1
  33. package/lib/stores/QueryBuilderValueSpecificationBuilderHelper.d.ts +8 -1
  34. package/lib/stores/QueryBuilderValueSpecificationBuilderHelper.d.ts.map +1 -1
  35. package/lib/stores/QueryBuilderValueSpecificationHelper.d.ts.map +1 -1
  36. package/lib/stores/ServiceInfo.d.ts.map +1 -1
  37. package/lib/stores/__test-utils__/QueryBuilderStateTestUtils.d.ts.map +1 -1
  38. package/lib/stores/data-cube/QueryBuilderDataCubeEngine.d.ts +1 -1
  39. package/lib/stores/data-cube/QueryBuilderDataCubeEngine.d.ts.map +1 -1
  40. package/lib/stores/data-cube/QueryBuilderDataCubeEngine.js +5 -8
  41. package/lib/stores/data-cube/QueryBuilderDataCubeEngine.js.map +1 -1
  42. package/lib/stores/data-cube/QueryBuilderDataCubeHelper.d.ts.map +1 -1
  43. package/lib/stores/execution-plan/ExecutionPlanState.d.ts.map +1 -1
  44. package/lib/stores/explorer/QueryBuilderExplorerState.d.ts.map +1 -1
  45. package/lib/stores/explorer/QueryFunctionsExplorerState.d.ts.map +1 -1
  46. package/lib/stores/fetch-structure/QueryBuilderFetchStructureState.d.ts.map +1 -1
  47. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.d.ts.map +1 -1
  48. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.d.ts.map +1 -1
  49. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeValueSpecificationBuilder.d.ts.map +1 -1
  50. package/lib/stores/fetch-structure/tds/QueryBuilderTDSHelper.d.ts.map +1 -1
  51. package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateCalendarFunctionValueSpecificationBuilder.d.ts.map +1 -1
  52. package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationStateBuilder.d.ts.map +1 -1
  53. package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderRelationAggregationValueSpecBuilder.d.ts.map +1 -1
  54. package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderTypedAggregationStateBuilder.d.ts.map +1 -1
  55. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperatorValueSpecificationBuilder.d.ts.map +1 -1
  56. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.d.ts.map +1 -1
  57. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterStateBuilder.d.ts.map +1 -1
  58. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.d.ts.map +1 -1
  59. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorHelper.d.ts.map +1 -1
  60. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorValueSpecificationBuilder.d.ts +8 -1
  61. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorValueSpecificationBuilder.d.ts.map +1 -1
  62. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionStateBuilder.d.ts.map +1 -1
  63. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.d.ts.map +1 -1
  64. package/lib/stores/fetch-structure/tds/projection/QueryBuilderRelationProjectValueSpecBuilder.d.ts.map +1 -1
  65. package/lib/stores/fetch-structure/tds/projection/QueryBuilderTypedProjectionStateBuilder.d.ts.map +1 -1
  66. package/lib/stores/fetch-structure/tds/result-modifier/ResultModifierValueSpecificationBuilder.d.ts.map +1 -1
  67. package/lib/stores/fetch-structure/tds/window/QueryBuilderWindowStateBuilder.d.ts.map +1 -1
  68. package/lib/stores/fetch-structure/tds/window/QueryBuilderWindowValueSpecificationBuilder.d.ts.map +1 -1
  69. package/lib/stores/filter/QueryBuilderFilterState.d.ts.map +1 -1
  70. package/lib/stores/filter/QueryBuilderFilterStateBuilder.d.ts.map +1 -1
  71. package/lib/stores/filter/QueryBuilderFilterValueSpecificationBuilder.d.ts.map +1 -1
  72. package/lib/stores/filter/operators/QueryBuilderFilterOperatorValueSpecificationBuilder.d.ts +7 -1
  73. package/lib/stores/filter/operators/QueryBuilderFilterOperatorValueSpecificationBuilder.d.ts.map +1 -1
  74. package/lib/stores/milestoning/QueryBuilderMilestoningHelper.d.ts.map +1 -1
  75. package/lib/stores/shared/LambdaParameterState.d.ts.map +1 -1
  76. package/lib/stores/shared/ValueSpecificationEditorHelper.d.ts.map +1 -1
  77. package/lib/stores/watermark/QueryBuilderWatermarkStateBuilder.d.ts.map +1 -1
  78. package/lib/stores/watermark/QueryBuilderWatermarkValueSpecificationBuilder.d.ts.map +1 -1
  79. package/package.json +17 -17
  80. package/src/stores/data-cube/QueryBuilderDataCubeEngine.ts +6 -8
@@ -17,5 +17,11 @@ import { type ValueSpecification, SimpleFunctionExpression } from '@finos/legend
17
17
  import { FilterConditionState, type QueryBuilderFilterState } from '../QueryBuilderFilterState.js';
18
18
  import type { QueryBuilderFilterOperator } from '../QueryBuilderFilterOperator.js';
19
19
  export declare const buildFilterConditionExpression: (filterConditionState: FilterConditionState, operatorFunctionFullPath: string, lambdaParameterName?: string | undefined) => ValueSpecification;
20
- export declare const buildFilterConditionState: (filterState: QueryBuilderFilterState, expression: SimpleFunctionExpression, operatorFunctionFullPath: string, operator: QueryBuilderFilterOperator, hasNoValue?: boolean) => FilterConditionState | undefined;
20
+ export declare const buildFilterConditionState: (filterState: QueryBuilderFilterState, expression: SimpleFunctionExpression, operatorFunctionFullPath: string, operator: QueryBuilderFilterOperator,
21
+ /**
22
+ * Use this flag for operator that does not require any param (e.g. isEmpty)
23
+ * NOTE: this is not the cleanest way to do this, if we find ourselves adding more and more customization
24
+ * to this utility function, we should just create a bunch of different methods
25
+ */
26
+ hasNoValue?: boolean) => FilterConditionState | undefined;
21
27
  //# sourceMappingURL=QueryBuilderFilterOperatorValueSpecificationBuilder.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderFilterOperatorValueSpecificationBuilder.d.ts","sourceRoot":"","sources":["../../../../src/stores/filter/operators/QueryBuilderFilterOperatorValueSpecificationBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,kBAAkB,EAKvB,wBAAwB,EAEzB,MAAM,qBAAqB,CAAC;AAM7B,OAAO,EACL,oBAAoB,EAGpB,KAAK,uBAAuB,EAC7B,MAAM,+BAA+B,CAAC;AAGvC,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AAInF,eAAO,MAAM,8BAA8B,yBACnB,oBAAoB,4BAChB,MAAM,wBACV,MAAM,GAAG,SAAS,KACvC,kBAmCF,CAAC;AAEF,eAAO,MAAM,yBAAyB,gBACvB,uBAAuB,cACxB,wBAAwB,4BACV,MAAM,YACtB,0BAA0B,2BAOnC,oBAAoB,GAAG,SAuHzB,CAAC"}
1
+ {"version":3,"file":"QueryBuilderFilterOperatorValueSpecificationBuilder.d.ts","sourceRoot":"","sources":["../../../../src/stores/filter/operators/QueryBuilderFilterOperatorValueSpecificationBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,kBAAkB,EAKvB,wBAAwB,EAEzB,MAAM,qBAAqB,CAAC;AAM7B,OAAO,EACL,oBAAoB,EAGpB,KAAK,uBAAuB,EAC7B,MAAM,+BAA+B,CAAC;AAGvC,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AAInF,eAAO,MAAM,8BAA8B,GACzC,sBAAsB,oBAAoB,EAC1C,0BAA0B,MAAM,EAChC,sBAAsB,MAAM,GAAG,SAAS,KACvC,kBAmCF,CAAC;AAEF,eAAO,MAAM,yBAAyB,GACpC,aAAa,uBAAuB,EACpC,YAAY,wBAAwB,EACpC,0BAA0B,MAAM,EAChC,UAAU,0BAA0B;AACpC;;;;GAIG;AACH,oBAAkB,KACjB,oBAAoB,GAAG,SAuHzB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderMilestoningHelper.d.ts","sourceRoot":"","sources":["../../../src/stores/milestoning/QueryBuilderMilestoningHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,0BAA0B,EAC1B,eAAe,EAEf,sBAAsB,EAEtB,KAAK,kBAAkB,EAKvB,KAAK,SAAS,EAEf,MAAM,qBAAqB,CAAC;AAM7B,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AACtF,OAAO,KAAK,EAAE,0CAA0C,EAAE,MAAM,uCAAuC,CAAC;AACxG,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAEjE,eAAO,MAAM,wCAAwC,aACzC,eAAe,SAClB,SAAS,KACf,sBAAsB,GAAG,SAiB3B,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,eAAO,MAAM,iCAAiC,8BACjB,0BAA0B,qBAClC,iBAAiB,2BACX,0BAA0B,GAAG,SAAS,KAC9D,OAyCF,CAAC;AAEF,eAAO,MAAM,iBAAiB,WACpB,kBAAkB,GAAG,SAAS,UAC9B,kBAAkB,GAAG,SAAS,KACrC,OA6BF,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,8BAA8B,eAC7B,sBAAsB,OAC7B,MAAM,kBACK,kBAAkB,mBACjB,4BAA4B,KAC5C,OAgBF,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,wCAAwC,mCACnB,0CAA0C,OACrE,MAAM,KACV,kBAAkB,GAAG,SA6EvB,CAAC;AAEF,eAAO,MAAM,0CAA0C,qBACnC,sBAAsB,GAAG,SAAS,oBAClC,sBAAsB,sBACpB,0BAA0B,qBAC3B,iBAAiB,KACnC,IAwEF,CAAC"}
1
+ {"version":3,"file":"QueryBuilderMilestoningHelper.d.ts","sourceRoot":"","sources":["../../../src/stores/milestoning/QueryBuilderMilestoningHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,0BAA0B,EAC1B,eAAe,EAEf,sBAAsB,EAEtB,KAAK,kBAAkB,EAKvB,KAAK,SAAS,EAEf,MAAM,qBAAqB,CAAC;AAM7B,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AACtF,OAAO,KAAK,EAAE,0CAA0C,EAAE,MAAM,uCAAuC,CAAC;AACxG,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAEjE,eAAO,MAAM,wCAAwC,GACnD,UAAU,eAAe,EACzB,OAAO,SAAS,KACf,sBAAsB,GAAG,SAiB3B,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,eAAO,MAAM,iCAAiC,GAC5C,2BAA2B,0BAA0B,EACrD,mBAAmB,iBAAiB,EACpC,yBAAyB,0BAA0B,GAAG,SAAS,KAC9D,OAyCF,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAC5B,QAAQ,kBAAkB,GAAG,SAAS,EACtC,QAAQ,kBAAkB,GAAG,SAAS,KACrC,OA6BF,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,8BAA8B,GACzC,YAAY,sBAAsB,EAClC,KAAK,MAAM,EACX,gBAAgB,kBAAkB,EAClC,iBAAiB,4BAA4B,KAC5C,OAgBF,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,wCAAwC,GACnD,gCAAgC,0CAA0C,EAC1E,KAAK,MAAM,KACV,kBAAkB,GAAG,SA6EvB,CAAC;AAEF,eAAO,MAAM,0CAA0C,GACrD,kBAAkB,sBAAsB,GAAG,SAAS,EACpD,kBAAkB,sBAAsB,EACxC,oBAAoB,0BAA0B,EAC9C,mBAAmB,iBAAiB,KACnC,IAwEF,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"LambdaParameterState.d.ts","sourceRoot":"","sources":["../../../src/stores/shared/LambdaParameterState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,eAAe,EACpB,KAAK,IAAI,EACT,KAAK,kBAAkB,EACvB,KAAK,SAAS,EACd,KAAK,iBAAiB,EACtB,KAAK,SAAS,EAKd,kBAAkB,EAGlB,cAAc,EAId,YAAY,EAKZ,cAAc,EAEf,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAGL,KAAK,QAAQ,EAMd,MAAM,sBAAsB,CAAC;AAQ9B,oBAAY,uBAAuB;IACjC,GAAG,QAAQ;IACX,MAAM,WAAW;IACjB,SAAS,cAAc;CACxB;AAOD,eAAO,MAAM,4BAA4B,UAChC,SAAS,0BACQ,oBAAoB,EAAE,KAC7C,cA6BF,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,6CAA6C,mBACxC,oBAAoB,KACnC,OAIA,CAAC;AAEJ,eAAO,MAAM,oCAAoC,oBAC9B,oBAAoB,EAAE,KACtC,oBAAoB,EACgD,CAAC;AAExE,eAAO,MAAM,6BAA6B,gBAC3B,oBAAoB,EAAE,cACvB,iBAAiB,KAC5B,cAAc,EAUX,CAAC;AAEP,eAAO,MAAM,8BAA8B,cAC9B,SAAS,mBACH,oBAAoB,EAAE,qBACpB,iBAAiB,KACnC,SA0BF,CAAC;AAEF,eAAO,MAAM,qCAAqC,mBAChC,cAAc,mBACb,oBAAoB,EAAE,qBACpB,i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CAId;AAED,8BAAsB,qBAAsB,YAAW,QAAQ;IAC7D,eAAe,EAAE,oBAAoB,EAAE,CAAM;IAC7C,0BAA0B,qCAA4C;;IAQtE,IAAI,QAAQ,IAAI,MAAM,CAKrB;IAED,YAAY,CAAC,GAAG,EAAE,oBAAoB,GAAG,IAAI;IAI7C,eAAe,CAAC,GAAG,EAAE,oBAAoB,GAAG,IAAI;IAIhD,aAAa,CAAC,GAAG,EAAE,oBAAoB,EAAE,GAAG,IAAI;CAGjD"}
@@ -1 +1 @@
1
- {"version":3,"file":"ValueSpecificationEditorHelper.d.ts","sourceRoot":"","sources":["../../../src/stores/shared/ValueSpecificationEditorHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,SAAS,EACd,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,KAAK,IAAI,EACT,KAAK,IAAI,EACT,KAAK,eAAe,EACpB,KAAK,SAAS,EACd,kBAAkB,EAElB,WAAW,EAMX,sBAAsB,EACtB,aAAa,EACb,cAAc,EAEd,wBAAwB,EACxB,cAAc,EAQd,0BAA0B,EAE3B,MAAM,qBAAqB,CAAC;AAoB7B,OAAO,KAAK,EACV,gBAAgB,EAChB,uBAAuB,EACvB,uBAAuB,EACvB,8BAA8B,EAC/B,MAAM,2BAA2B,CAAC;AAEnC,eAAO,MAAM,iCAAiC,sBACzB,MAAM,sBACL,IAAI,KACvB,wBAOF,CAAC;AACF,eAAO,MAAM,2BAA2B,UAC/B,SAAS,QACV,cAAc,SACb,OAAO,mBACG,eAAe,KAC/B,sBAQF,CAAC;AAEF,eAAO,MAAM,uBAAuB,uBACd,kBAAkB,mBACrB,eAAe,KAC/B,kBAKF,CAAC;AAEF,eAAO,MAAM,+BAA+B,uBACtB,0BAA0B,mBAC7B,eAAe,KAC/B,0BAkBF,CAAC;AAEF,eAAO,MAAM,qCAAqC,kBACjC,aAAa,SACrB,SAAS,mBACC,eAAe,YACtB;IACR,gCAAgC,CAAC,EAAE,OAAO,CAAC;CAC5C,KACA,kBAgCF,CAAC;AAEF,eAAO,MAAM,6BAA6B,gBAC3B,WAAW,KACvB,MACyE,CAAC;AAE7E,eAAO,MAAM,yBAAyB,UAC7B,SAAS,QACV,IAAI,mBACO,eAAe,kCACA,OAAO,KACtC,kBA+DF,CAAC;AAEF,eAAO,MAAM,6BAA6B,UACjC,SAAS,mBACC,eAAe,KAC/B,cAgBF,CAAC;AAEF,eAAO,MAAM,gCAAgC,eAC/B,iBAAiB,mBACZ,eAAe,KAC/B,SAIA,CAAC;AAEJ,eAAO,MAAM,mCAAmC,cACnC,kBAAkB,SACtB,SAAS,mBACC,eAAe,YACtB;IACR,gCAAgC,CAAC,EAAE,OAAO,CAAC;CAC5C,KACA,kBAAkB,GAAG,SAyCvB,CAAC;AAEF,eAAO,MAAM,gCAAgC,uBACvB,kBAAkB,oBACpB,gBAAgB,CAChC,uBAAuB,EACvB,8BAA8B,CAAC,uBAAuB,CAAC,CACxD,YACS;IACR,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,wBAAwB,CAAC,EAAE,OAAO,CAAC;CACpC,KACA,MAAM,GAAG,SAkDX,CAAC;AAEF,eAAO,MAAM,kBAAkB,QACxB,kBAAkB,SAChB,SAAS,KACf,OAeF,CAAC;AAEF,eAAO,MAAM,mCAAmC,iBAChC,IAAI,SACX,MAAM,mBACI,eAAe,KAC/B,sBAAsB,GAAG,IAyD3B,CAAC;AAEF,eAAO,MAAM,iBAAiB,UACrB,MAAM,YACH,WAAW,KACpB,IAAI,GAAG,SACqD,CAAC"}
1
+ {"version":3,"file":"ValueSpecificationEditorHelper.d.ts","sourceRoot":"","sources":["../../../src/stores/shared/ValueSpecificationEditorHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,SAAS,EACd,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,KAAK,IAAI,EACT,KAAK,IAAI,EACT,KAAK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AAO,SAAS,EAChB,iBAAiB,eAAe,EAChC,UAAU;IACR,gCAAgC,CAAC,EAAE,OAAO,CAAC;CAC5C,KACA,kBAAkB,GAAG,SAyCvB,CAAC;AAEF,eAAO,MAAM,gCAAgC,GAC3C,oBAAoB,kBAAkB,EACtC,kBAAkB,gBAAgB,CAChC,uBAAuB,EACvB,8BAA8B,CAAC,uBAAuB,CAAC,CACxD,EACD,UAAU;IACR,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,wBAAwB,CAAC,EAAE,OAAO,CAAC;CACpC,KACA,MAAM,GAAG,SAkDX,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAC7B,KAAK,kBAAkB,EACvB,OAAO,SAAS,KACf,OAeF,CAAC;AAEF,eAAO,MAAM,mCAAmC,GAC9C,cAAc,IAAI,EAClB,OAAO,MAAM,EACb,iBAAiB,eAAe,KAC/B,sBAAsB,GAAG,IAyD3B,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAC5B,OAAO,MAAM,EACb,UAAU,WAAW,KACpB,IAAI,GAAG,SACqD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderWatermarkStateBuilder.d.ts","sourceRoot":"","sources":["../../../src/stores/watermark/QueryBuilderWatermarkStateBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,cAAc,EACnB,wBAAwB,EAEzB,MAAM,qBAAqB,CAAC;AAG7B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAGjE,eAAO,MAAM,0BAA0B,eACzB,wBAAwB,qBACjB,iBAAiB,gBACtB,cAAc,KAC3B,IAwBF,CAAC"}
1
+ {"version":3,"file":"QueryBuilderWatermarkStateBuilder.d.ts","sourceRoot":"","sources":["../../../src/stores/watermark/QueryBuilderWatermarkStateBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,cAAc,EACnB,wBAAwB,EAEzB,MAAM,qBAAqB,CAAC;AAG7B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAGjE,eAAO,MAAM,0BAA0B,GACrC,YAAY,wBAAwB,EACpC,mBAAmB,iBAAiB,EACpC,cAAc,cAAc,KAC3B,IAwBF,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderWatermarkValueSpecificationBuilder.d.ts","sourceRoot":"","sources":["../../../src/stores/watermark/QueryBuilderWatermarkValueSpecificationBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAGL,KAAK,cAAc,EACpB,MAAM,qBAAqB,CAAC;AAG7B,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAElF,eAAO,MAAM,wBAAwB,mBACnB,0BAA0B,kBAC1B,cAAc,KAC7B,IAqBF,CAAC"}
1
+ {"version":3,"file":"QueryBuilderWatermarkValueSpecificationBuilder.d.ts","sourceRoot":"","sources":["../../../src/stores/watermark/QueryBuilderWatermarkValueSpecificationBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAGL,KAAK,cAAc,EACpB,MAAM,qBAAqB,CAAC;AAG7B,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAElF,eAAO,MAAM,wBAAwB,GACnC,gBAAgB,0BAA0B,EAC1C,gBAAgB,cAAc,KAC7B,IAqBF,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-query-builder",
3
- "version": "4.16.10",
3
+ "version": "4.16.11",
4
4
  "description": "Legend query builder core",
5
5
  "keywords": [
6
6
  "legend",
@@ -42,21 +42,21 @@
42
42
  "test:watch": "jest --watch"
43
43
  },
44
44
  "dependencies": {
45
- "@finos/legend-application": "16.0.28",
46
- "@finos/legend-art": "7.1.85",
47
- "@finos/legend-code-editor": "2.0.50",
48
- "@finos/legend-data-cube": "0.1.10",
49
- "@finos/legend-graph": "32.1.8",
50
- "@finos/legend-lego": "2.0.53",
51
- "@finos/legend-server-depot": "6.0.84",
52
- "@finos/legend-shared": "11.0.7",
53
- "@finos/legend-storage": "3.0.126",
45
+ "@finos/legend-application": "16.0.29",
46
+ "@finos/legend-art": "7.1.86",
47
+ "@finos/legend-code-editor": "2.0.51",
48
+ "@finos/legend-data-cube": "0.1.11",
49
+ "@finos/legend-graph": "32.1.9",
50
+ "@finos/legend-lego": "2.0.54",
51
+ "@finos/legend-server-depot": "6.0.85",
52
+ "@finos/legend-shared": "11.0.8",
53
+ "@finos/legend-storage": "3.0.127",
54
54
  "@testing-library/dom": "10.4.0",
55
55
  "@testing-library/react": "16.2.0",
56
56
  "@types/react": "19.0.10",
57
57
  "@types/react-dom": "19.0.4",
58
- "chart.js": "4.4.7",
59
- "mathjs": "14.2.1",
58
+ "chart.js": "4.4.8",
59
+ "mathjs": "14.3.1",
60
60
  "mobx": "6.13.6",
61
61
  "mobx-react-lite": "4.1.0",
62
62
  "monaco-editor": "0.52.2",
@@ -64,18 +64,18 @@
64
64
  "react-dnd": "16.0.1",
65
65
  "react-dom": "19.0.0",
66
66
  "serializr": "3.0.3",
67
- "sql-formatter": "15.4.10"
67
+ "sql-formatter": "15.4.11"
68
68
  },
69
69
  "devDependencies": {
70
- "@finos/legend-dev-utils": "2.2.3",
70
+ "@finos/legend-dev-utils": "2.2.4",
71
71
  "@jest/globals": "29.7.0",
72
72
  "cross-env": "7.0.3",
73
- "eslint": "9.20.1",
73
+ "eslint": "9.22.0",
74
74
  "jest": "29.7.0",
75
75
  "npm-run-all": "4.1.5",
76
76
  "rimraf": "6.0.1",
77
- "sass": "1.85.0",
78
- "typescript": "5.7.3"
77
+ "sass": "1.85.1",
78
+ "typescript": "5.8.2"
79
79
  },
80
80
  "peerDependencies": {
81
81
  "react": "^19.0.0"
@@ -181,16 +181,11 @@ export class QueryBuilderDataCubeEngine extends DataCubeEngine {
181
181
  this.graphState.graphManager.lambdaToPureCode(lambda),
182
182
  ]);
183
183
  const elapsed = stopWatch.elapsed;
184
- const expectedTDS = guaranteeType(
184
+ const result = guaranteeType(
185
185
  executionWithMetadata.executionResult,
186
186
  TDSExecutionResult,
187
187
  'Query returned expected to be of tabular data set',
188
188
  );
189
- const sql = expectedTDS.activities?.[0];
190
- let sqlString = '### NO SQL FOUND';
191
- if (sql instanceof RelationalExecutionActivities) {
192
- sqlString = sql.sql;
193
- }
194
189
 
195
190
  if (this.queryBuilderState) {
196
191
  const report = reportGraphAnalytics(this.graphState.graph);
@@ -211,9 +206,12 @@ export class QueryBuilderDataCubeEngine extends DataCubeEngine {
211
206
  }
212
207
 
213
208
  return {
214
- result: expectedTDS,
209
+ result: result,
215
210
  executedQuery: queryString,
216
- executedSQL: sqlString,
211
+ executedSQL:
212
+ result.activities?.at(-1) instanceof RelationalExecutionActivities
213
+ ? (result.activities.at(-1) as RelationalExecutionActivities).sql
214
+ : undefined,
217
215
  executionTime: elapsed,
218
216
  };
219
217
  }