@finos/legend-query-builder 4.14.46 → 4.14.48

Sign up to get free protection for your applications and to get access to all the features.
Files changed (108) hide show
  1. package/lib/__lib__/QueryBuilderDocumentation.d.ts +3 -1
  2. package/lib/__lib__/QueryBuilderDocumentation.d.ts.map +1 -1
  3. package/lib/__lib__/QueryBuilderDocumentation.js +2 -0
  4. package/lib/__lib__/QueryBuilderDocumentation.js.map +1 -1
  5. package/lib/components/QueryBuilder.d.ts.map +1 -1
  6. package/lib/components/QueryBuilder.js +14 -2
  7. package/lib/components/QueryBuilder.js.map +1 -1
  8. package/lib/components/QueryBuilderSideBar.d.ts.map +1 -1
  9. package/lib/components/QueryBuilderSideBar.js +1 -5
  10. package/lib/components/QueryBuilderSideBar.js.map +1 -1
  11. package/lib/components/explorer/{QueryBuilderMilestoningEditor.d.ts → QueryBuilderMilestoningParameterEditor.d.ts} +5 -2
  12. package/lib/components/explorer/QueryBuilderMilestoningParameterEditor.d.ts.map +1 -0
  13. package/lib/components/explorer/QueryBuilderMilestoningParameterEditor.js +52 -0
  14. package/lib/components/explorer/QueryBuilderMilestoningParameterEditor.js.map +1 -0
  15. package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.d.ts.map +1 -1
  16. package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.js +192 -21
  17. package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.js.map +1 -1
  18. package/lib/components/fetch-structure/QueryBuilderTDSPanel.d.ts.map +1 -1
  19. package/lib/components/fetch-structure/QueryBuilderTDSPanel.js +13 -3
  20. package/lib/components/fetch-structure/QueryBuilderTDSPanel.js.map +1 -1
  21. package/lib/components/result/tds/QueryBuilderTDSGridResult.d.ts.map +1 -1
  22. package/lib/components/result/tds/QueryBuilderTDSGridResult.js +4 -1
  23. package/lib/components/result/tds/QueryBuilderTDSGridResult.js.map +1 -1
  24. package/lib/components/result/tds/QueryBuilderTDSResultShared.d.ts.map +1 -1
  25. package/lib/components/result/tds/QueryBuilderTDSResultShared.js +2 -5
  26. package/lib/components/result/tds/QueryBuilderTDSResultShared.js.map +1 -1
  27. package/lib/components/result/tds/QueryBuilderTDSSimpleGridResult.d.ts.map +1 -1
  28. package/lib/components/result/tds/QueryBuilderTDSSimpleGridResult.js +4 -1
  29. package/lib/components/result/tds/QueryBuilderTDSSimpleGridResult.js.map +1 -1
  30. package/lib/graph-manager/QueryBuilderConfig.d.ts +4 -0
  31. package/lib/graph-manager/QueryBuilderConfig.d.ts.map +1 -1
  32. package/lib/graph-manager/QueryBuilderConfig.js +5 -0
  33. package/lib/graph-manager/QueryBuilderConfig.js.map +1 -1
  34. package/lib/index.css +1 -17
  35. package/lib/index.css.map +1 -1
  36. package/lib/package.json +1 -1
  37. package/lib/stores/QueryBuilderValueSpecificationHelper.d.ts +2 -1
  38. package/lib/stores/QueryBuilderValueSpecificationHelper.d.ts.map +1 -1
  39. package/lib/stores/QueryBuilderValueSpecificationHelper.js +2 -2
  40. package/lib/stores/QueryBuilderValueSpecificationHelper.js.map +1 -1
  41. package/lib/stores/QueryLoaderState.d.ts +1 -0
  42. package/lib/stores/QueryLoaderState.d.ts.map +1 -1
  43. package/lib/stores/QueryLoaderState.js +1 -0
  44. package/lib/stores/QueryLoaderState.js.map +1 -1
  45. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.d.ts +1 -0
  46. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.d.ts.map +1 -1
  47. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js +8 -0
  48. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js.map +1 -1
  49. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Percentile.d.ts.map +1 -1
  50. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Percentile.js +4 -2
  51. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Percentile.js.map +1 -1
  52. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionStateBuilder.d.ts.map +1 -1
  53. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionStateBuilder.js +1 -1
  54. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionStateBuilder.js.map +1 -1
  55. package/lib/stores/filter/QueryBuilderFilterStateBuilder.d.ts.map +1 -1
  56. package/lib/stores/filter/QueryBuilderFilterStateBuilder.js +1 -1
  57. package/lib/stores/filter/QueryBuilderFilterStateBuilder.js.map +1 -1
  58. package/lib/stores/milestoning/QueryBuilderBitemporalMilestoningImplementation.d.ts +2 -0
  59. package/lib/stores/milestoning/QueryBuilderBitemporalMilestoningImplementation.d.ts.map +1 -1
  60. package/lib/stores/milestoning/QueryBuilderBitemporalMilestoningImplementation.js +13 -2
  61. package/lib/stores/milestoning/QueryBuilderBitemporalMilestoningImplementation.js.map +1 -1
  62. package/lib/stores/milestoning/QueryBuilderBusinessTemporalMilestoningImplementation.d.ts +2 -0
  63. package/lib/stores/milestoning/QueryBuilderBusinessTemporalMilestoningImplementation.d.ts.map +1 -1
  64. package/lib/stores/milestoning/QueryBuilderBusinessTemporalMilestoningImplementation.js +8 -1
  65. package/lib/stores/milestoning/QueryBuilderBusinessTemporalMilestoningImplementation.js.map +1 -1
  66. package/lib/stores/milestoning/QueryBuilderMilestoningHelper.d.ts +1 -1
  67. package/lib/stores/milestoning/QueryBuilderMilestoningHelper.d.ts.map +1 -1
  68. package/lib/stores/milestoning/QueryBuilderMilestoningHelper.js +25 -1
  69. package/lib/stores/milestoning/QueryBuilderMilestoningHelper.js.map +1 -1
  70. package/lib/stores/milestoning/QueryBuilderMilestoningImplementation.d.ts +2 -0
  71. package/lib/stores/milestoning/QueryBuilderMilestoningImplementation.d.ts.map +1 -1
  72. package/lib/stores/milestoning/QueryBuilderMilestoningImplementation.js.map +1 -1
  73. package/lib/stores/milestoning/QueryBuilderMilestoningState.d.ts +2 -0
  74. package/lib/stores/milestoning/QueryBuilderMilestoningState.d.ts.map +1 -1
  75. package/lib/stores/milestoning/QueryBuilderMilestoningState.js +22 -3
  76. package/lib/stores/milestoning/QueryBuilderMilestoningState.js.map +1 -1
  77. package/lib/stores/milestoning/QueryBuilderProcessingTemporalMilestoningImplementation.d.ts +2 -0
  78. package/lib/stores/milestoning/QueryBuilderProcessingTemporalMilestoningImplementation.d.ts.map +1 -1
  79. package/lib/stores/milestoning/QueryBuilderProcessingTemporalMilestoningImplementation.js +8 -1
  80. package/lib/stores/milestoning/QueryBuilderProcessingTemporalMilestoningImplementation.js.map +1 -1
  81. package/package.json +4 -4
  82. package/src/__lib__/QueryBuilderDocumentation.ts +2 -0
  83. package/src/components/QueryBuilder.tsx +44 -0
  84. package/src/components/QueryBuilderSideBar.tsx +0 -22
  85. package/src/components/explorer/QueryBuilderMilestoningParameterEditor.tsx +114 -0
  86. package/src/components/fetch-structure/QueryBuilderResultModifierPanel.tsx +445 -19
  87. package/src/components/fetch-structure/QueryBuilderTDSPanel.tsx +118 -21
  88. package/src/components/result/tds/QueryBuilderTDSGridResult.tsx +3 -0
  89. package/src/components/result/tds/QueryBuilderTDSResultShared.tsx +1 -6
  90. package/src/components/result/tds/QueryBuilderTDSSimpleGridResult.tsx +8 -1
  91. package/src/graph-manager/QueryBuilderConfig.ts +6 -0
  92. package/src/stores/QueryBuilderValueSpecificationHelper.ts +3 -0
  93. package/src/stores/QueryLoaderState.ts +1 -0
  94. package/src/stores/fetch-structure/tds/QueryBuilderTDSState.ts +11 -0
  95. package/src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Percentile.ts +6 -2
  96. package/src/stores/fetch-structure/tds/projection/QueryBuilderProjectionStateBuilder.ts +1 -0
  97. package/src/stores/filter/QueryBuilderFilterStateBuilder.ts +1 -0
  98. package/src/stores/milestoning/QueryBuilderBitemporalMilestoningImplementation.ts +23 -0
  99. package/src/stores/milestoning/QueryBuilderBusinessTemporalMilestoningImplementation.ts +13 -0
  100. package/src/stores/milestoning/QueryBuilderMilestoningHelper.ts +45 -0
  101. package/src/stores/milestoning/QueryBuilderMilestoningImplementation.ts +3 -0
  102. package/src/stores/milestoning/QueryBuilderMilestoningState.ts +41 -7
  103. package/src/stores/milestoning/QueryBuilderProcessingTemporalMilestoningImplementation.ts +13 -0
  104. package/tsconfig.json +1 -1
  105. package/lib/components/explorer/QueryBuilderMilestoningEditor.d.ts.map +0 -1
  106. package/lib/components/explorer/QueryBuilderMilestoningEditor.js +0 -102
  107. package/lib/components/explorer/QueryBuilderMilestoningEditor.js.map +0 -1
  108. package/src/components/explorer/QueryBuilderMilestoningEditor.tsx +0 -364
@@ -154,7 +154,7 @@ const processFilterTree = (expression, filterState, parentFilterNodeId) => {
154
154
  if (propertyExpression instanceof AbstractPropertyExpression) {
155
155
  const currentPropertyExpression = propertyExpression.parametersValues[0];
156
156
  if (currentPropertyExpression instanceof AbstractPropertyExpression) {
157
- validatePropertyExpressionChain(currentPropertyExpression, filterState.queryBuilderState.graphManagerState.graph);
157
+ validatePropertyExpressionChain(currentPropertyExpression, filterState.queryBuilderState.graphManagerState.graph, filterState.queryBuilderState);
158
158
  }
159
159
  }
160
160
  for (const operator of filterState.operators) {
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderFilterStateBuilder.js","sourceRoot":"","sources":["../../../src/stores/filter/QueryBuilderFilterStateBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,0BAA0B,EAC1B,0BAA0B,EAC1B,cAAc,EACd,2BAA2B,EAC3B,iBAAiB,EACjB,wBAAwB,EAExB,kBAAkB,GACnB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,UAAU,EACV,UAAU,EACV,oBAAoB,EACpB,aAAa,EACb,kBAAkB,EAClB,yBAAyB,GAC1B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,iCAAiC,EAAE,MAAM,2CAA2C,CAAC;AAC9F,OAAO,EAAE,gBAAgB,EAAE,MAAM,wCAAwC,CAAC;AAE1E,OAAO,EAAE,+BAA+B,EAAE,MAAM,4CAA4C,CA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AAoF,CACrF,CAAC;IACF,MAAM,cAAc,GAAG,aAAa,CAClC,UAAU,CAAC,kBAAkB,CAAC,CAAC,CAAC,EAChC,wBAAwB,EACxB,oFAAoF,CACrF,CAAC;IAEF,UAAU,CACR,UAAU,CAAC,YAAY,CAAC,UAAU,CAAC,MAAM,KAAK,CAAC,EAC/C,8EAA8E,CAC/E,CAAC;IACF,WAAW,CAAC,sBAAsB,CAChC,aAAa,CACX,UAAU,CAAC,YAAY,CAAC,UAAU,CAAC,CAAC,CAAC,EACrC,kBAAkB,EAClB,8EAA8E,CAC/E,CAAC,IAAI,CACP,CAAC;IAEF,iBAAiB,CAAC,cAAc,EAAE,WAAW,EAAE,SAAS,CAAC,CAAC;IAE1D;;;;;OAKG;IACH,WAAW,CAAC,YAAY,EAAE,CAAC;AAC7B,CAAC,CAAC"}
1
+ {"version":3,"file":"QueryBuilderFilterStateBuilder.js","sourceRoot":"","sources":["../../../src/stores/filter/QueryBuilderFilterStateBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,0BAA0B,EAC1B,0BAA0B,EAC1B,cAAc,EACd,2BAA2B,EAC3B,iBAAiB,EACjB,wBAAwB,EAExB,kBAAkB,GACnB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,UAAU,EACV,UAAU,EACV,oBAAoB,EACpB,aAAa,EACb,kBAAkB,EAClB,yBAAyB,GAC1B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,iCAAiC,EAAE,MAAM,2CAA2C,CAAC;AAC9F,OAAO,EAAE,gBAAgB,EAAE,MAAM,wCAAwC,CAAC;AAE1E,OAAO,EAAE,+BAA+B,EAAE,MAAM,4CAA4C,CAAC;AAC7F,OAAO,EAEL,uCAAuC,EACvC,mCAAmC,EACnC,oCAAoC,EACpC,uCAAuC,GACxC,MAAM,8BAA8B,CAAC;AAEtC,MAAM,kCAAkC,GAAG,CACzC,kBAA8C,EAC1B,EAAE;IACtB,IAA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UAAU,CACR,UAAU,CAAC,YAAY,CAAC,UAAU,CAAC,MAAM,KAAK,CAAC,EAC/C,8EAA8E,CAC/E,CAAC;IACF,WAAW,CAAC,sBAAsB,CAChC,aAAa,CACX,UAAU,CAAC,YAAY,CAAC,UAAU,CAAC,CAAC,CAAC,EACrC,kBAAkB,EAClB,8EAA8E,CAC/E,CAAC,IAAI,CACP,CAAC;IAEF,iBAAiB,CAAC,cAAc,EAAE,WAAW,EAAE,SAAS,CAAC,CAAC;IAE1D;;;;;OAKG;IACH,WAAW,CAAC,YAAY,EAAE,CAAC;AAC7B,CAAC,CAAC"}
@@ -16,10 +16,12 @@
16
16
  import { type ValueSpecification, type SimpleFunctionExpression, AbstractPropertyExpression, MILESTONING_STEREOTYPE } from '@finos/legend-graph';
17
17
  import type { QueryBuilderDerivedPropertyExpressionState } from '../QueryBuilderPropertyEditorState.js';
18
18
  import { QueryBuilderMilestoningImplementation } from './QueryBuilderMilestoningImplementation.js';
19
+ import type { LambdaParameterState } from '../shared/LambdaParameterState.js';
19
20
  export declare class QueryBuilderBitemporalMilestoningImplementation extends QueryBuilderMilestoningImplementation {
20
21
  getMilestoningDate(index?: number): ValueSpecification | undefined;
21
22
  getMilestoningToolTipText(): string;
22
23
  initializeMilestoningParameters(force?: boolean): void;
24
+ buildParameterStatesFromMilestoningParameters(): LambdaParameterState[];
23
25
  processGetAllParamaters(parameterValues: ValueSpecification[]): void;
24
26
  buildGetAllParameters(getAllFunction: SimpleFunctionExpression): void;
25
27
  buildGetAllWithDefaultParameters(getAllFunction: SimpleFunctionExpression): void;
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderBitemporalMilestoningImplementation.d.ts","sourceRoot":"","sources":["../../../src/stores/milestoning/QueryBuilderBitemporalMilestoningImplementation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,kBAAkB,EAGvB,KAAK,wBAAwB,EAC7B,0BAA0B,EAC1B,sBAAsB,EAGvB,MAAM,qBAAqB,CAAC;AAS7B,OAAO,KAAK,EAAE,0CAA0C,EAAE,MAAM,uCAAuC,CAAC;AAExG,OAAO,EAAE,qCAAqC,EAAE,MAAM,4CAA4C,CAAC;AAEnG,qBAAa,+CAAgD,SAAQ,qCAAqC;IACxG,kBAAkB,CAAC,KAAK,CAAC,EAAE,MAAM,GAAG,kBAAkB,GAAG,SAAS;IAQlE,yBAAyB,IAAI,MAAM;IAMnC,+BAA+B,CAAC,KAAK,CAAC,EAAE,OAAO,GAAG,IAAI;IAmBtD,uBAAuB,CAAC,eAAe,EAAE,kBAAkB,EAAE,GAAG,IAAI;IASpE,qBAAqB,CAAC,cAAc,EAAE,wBAAwB,GAAG,IAAI;IAerE,gCAAgC,CAC9B,cAAc,EAAE,wBAAwB,GACvC,IAAI;IASP,oCAAoC,CAClC,6BAA6B,EAAE,wBAAwB,GACtD,IAAI;IAMP,uBAAuB,CACrB,0BAA0B,EAAE,OAAO,EACnC,yBAAyB,EAAE,OAAO,EAClC,sBAAsB,EAAE,0BAA0B,GAAG,SAAS,EAC9D,cAAc,EAAE,sBAAsB,GAAG,SAAS,EAClD,GAAG,CAAC,EAAE,MAAM,EACZ,8BAA8B,CAAC,EAAE,0CAA0C,GAC1E,kBAAkB;CAmEtB"}
1
+ {"version":3,"file":"QueryBuilderBitemporalMilestoningImplementation.d.ts","sourceRoot":"","sources":["../../../src/stores/milestoning/QueryBuilderBitemporalMilestoningImplementation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,kBAAkB,EAGvB,KAAK,wBAAwB,EAC7B,0BAA0B,EAC1B,sBAAsB,EAIvB,MAAM,qBAAqB,CAAC;AAU7B,OAAO,KAAK,EAAE,0CAA0C,EAAE,MAAM,uCAAuC,CAAC;AAExG,OAAO,EAAE,qCAAqC,EAAE,MAAM,4CAA4C,CAAC;AACnG,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AAE9E,qBAAa,+CAAgD,SAAQ,qCAAqC;IACxG,kBAAkB,CAAC,KAAK,CAAC,EAAE,MAAM,GAAG,kBAAkB,GAAG,SAAS;IAQlE,yBAAyB,IAAI,MAAM;IAMnC,+BAA+B,CAAC,KAAK,CAAC,EAAE,OAAO,GAAG,IAAI;IAmBtD,6CAA6C,IAAI,oBAAoB,EAAE;IAoBvE,uBAAuB,CAAC,eAAe,EAAE,kBAAkB,EAAE,GAAG,IAAI;IASpE,qBAAqB,CAAC,cAAc,EAAE,wBAAwB,GAAG,IAAI;IAerE,gCAAgC,CAC9B,cAAc,EAAE,wBAAwB,GACvC,IAAI;IASP,oCAAoC,CAClC,6BAA6B,EAAE,wBAAwB,GACtD,IAAI;IAMP,uBAAuB,CACrB,0BAA0B,EAAE,OAAO,EACnC,yBAAyB,EAAE,OAAO,EAClC,sBAAsB,EAAE,0BAA0B,GAAG,SAAS,EAC9D,cAAc,EAAE,sBAAsB,GAAG,SAAS,EAClD,GAAG,CAAC,EAAE,MAAM,EACZ,8BAA8B,CAAC,EAAE,0CAA0C,GAC1E,kBAAkB;CAmEtB"}
@@ -13,8 +13,8 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- import { PROCESSING_DATE_MILESTONING_PROPERTY_NAME, BUSINESS_DATE_MILESTONING_PROPERTY_NAME, AbstractPropertyExpression, MILESTONING_STEREOTYPE, INTERNAL__PropagatedValue, PrimitiveType, } from '@finos/legend-graph';
17
- import { UnsupportedOperationError, assertTrue, guaranteeNonNullable, guaranteeType, } from '@finos/legend-shared';
16
+ import { PROCESSING_DATE_MILESTONING_PROPERTY_NAME, BUSINESS_DATE_MILESTONING_PROPERTY_NAME, AbstractPropertyExpression, MILESTONING_STEREOTYPE, INTERNAL__PropagatedValue, PrimitiveType, VariableExpression, } from '@finos/legend-graph';
17
+ import { UnsupportedOperationError, assertTrue, guaranteeNonNullable, guaranteeType, isNonNullable, } from '@finos/legend-shared';
18
18
  import { getParameterValue } from '../../components/QueryBuilderSideBar.js';
19
19
  import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../graph/QueryBuilderMetaModelConst.js';
20
20
  import { createSupportedFunctionExpression } from '../shared/ValueSpecificationEditorHelper.js';
@@ -41,6 +41,17 @@ export class QueryBuilderBitemporalMilestoningImplementation extends QueryBuilde
41
41
  // Show the parameter panel because we populate paramaters state with milestoning parameters
42
42
  this.milestoningState.queryBuilderState.setShowParametersPanel(true);
43
43
  }
44
+ buildParameterStatesFromMilestoningParameters() {
45
+ const businessState = this.milestoningState.buildParameterStateFromMilestoningParameter(this.milestoningState.businessDate &&
46
+ this.milestoningState.businessDate instanceof VariableExpression
47
+ ? this.milestoningState.businessDate.name
48
+ : BUSINESS_DATE_MILESTONING_PROPERTY_NAME);
49
+ const processingState = this.milestoningState.buildParameterStateFromMilestoningParameter(this.milestoningState.processingDate &&
50
+ this.milestoningState.processingDate instanceof VariableExpression
51
+ ? this.milestoningState.processingDate.name
52
+ : PROCESSING_DATE_MILESTONING_PROPERTY_NAME);
53
+ return [businessState, processingState].filter(isNonNullable);
54
+ }
44
55
  processGetAllParamaters(parameterValues) {
45
56
  assertTrue(parameterValues.length === 3, `Can't process getAll() expression: when used with a bitemporal milestoned class getAll() expects two parameters`);
46
57
  this.milestoningState.setProcessingDate(parameterValues[1]);
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderBitemporalMilestoningImplementation.js","sourceRoot":"","sources":["../../../src/stores/milestoning/QueryBuilderBitemporalMilestoningImplementation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,yCAAyC,EACzC,uCAAuC,EAEvC,0BAA0B,EAC1B,sBAAsB,EACtB,yBAAyB,EACzB,aAAa,GACd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,yBAAyB,EACzB,UAAU,EACV,oBAAoB,EACpB,aAAa,GACd,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,iBAAiB,EA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yBAAyB,CAAC,GAAG,EAAE,CAC7C,oBAAoB,CAAC,IAAI,CAAC,kBAAkB,CAAC,GAAG,CAAC,CAAC,CACnD,CAAC;gBACF,SAAS,CAAC,iBAAiB,GAAG,yBAAyB;oBACrD,CAAC,CAAC,KAAK;oBACP,CAAC,CAAC,0BAA0B,CAAC;YACjC,CAAC;YACD,OAAO,SAAS,CAAC;QACnB,CAAC;IACH,CAAC;CACF"}
1
+ {"version":3,"file":"QueryBuilderBitemporalMilestoningImplementation.js","sourceRoot":"","sources":["../../../src/stores/milestoning/QueryBuilderBitemporalMilestoningImplementation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,yCAAyC,EACzC,uCAAuC,EAEvC,0BAA0B,EAC1B,sBAAsB,EACtB,yBAAyB,EACzB,aAAa,EACb,kBAAkB,GACnB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,yBAAyB,EACzB,UAAU,EACV,oBAAoB,EACpB,aAAa,EACb,aAAa,GACd,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,iBAAiB,EAAE,MAAM,yCAAyC,CAAC;AAC5E,OAAO,EAAE,iCAAiC,EAAE,MAAM,2CAA2C,CAAC;AAE9F,OAAO,EAAE,iCAAiC,EAAE,MAAM,6CAA6C,CAAC;AAChG,OAAO,EAAE,qCAAqC,EAAE,MAAM,4CAA4C,CAAC;AAGnG,MAAM,OAAO,+CAAgD,SAAQ,qCAAqC;IACxG,kBAAkB,CAAC,KAAc;QAC/B,IAAI,KAAK,KAAK,CAAC,EAAE,CAAC;YAChB,OAAO,IAAI,CAAC,gBAAgB,CAAC,cAAc,CAAC;QAC9C,CAAC;aAAM,CAAC;YACN,OAAO,IAAI,CAAC,gBAAgB,CAAC,YAAY,CAAC;QAC5C,CAAC;IACH,CAAC;IAED,yBAAyB;QACvB,OAAO,oBAAoB,iBAAiB,CAC1C,IAAI,CAAC,kBAAkB,CAAC,CAAC,CAAC,CAC3B,oBA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C,CAAC,CACjE,CAAC;YACJ,CAAC;iBAAM,CAAC;gBACN,SAAS,GAAG,IAAI,yBAAyB,CAAC,GAAG,EAAE,CAC7C,oBAAoB,CAAC,IAAI,CAAC,kBAAkB,CAAC,GAAG,CAAC,CAAC,CACnD,CAAC;gBACF,SAAS,CAAC,iBAAiB,GAAG,yBAAyB;oBACrD,CAAC,CAAC,KAAK;oBACP,CAAC,CAAC,0BAA0B,CAAC;YACjC,CAAC;YACD,OAAO,SAAS,CAAC;QACnB,CAAC;IACH,CAAC;CACF"}
@@ -15,10 +15,12 @@
15
15
  */
16
16
  import { type ValueSpecification, type SimpleFunctionExpression, type AbstractPropertyExpression, MILESTONING_STEREOTYPE } from '@finos/legend-graph';
17
17
  import { QueryBuilderMilestoningImplementation } from './QueryBuilderMilestoningImplementation.js';
18
+ import type { LambdaParameterState } from '../shared/LambdaParameterState.js';
18
19
  export declare class QueryBuilderBusinessTemporalMilestoningImplementation extends QueryBuilderMilestoningImplementation {
19
20
  getMilestoningDate(): ValueSpecification | undefined;
20
21
  getMilestoningToolTipText(): string;
21
22
  initializeMilestoningParameters(force?: boolean): void;
23
+ buildParameterStatesFromMilestoningParameters(): LambdaParameterState[];
22
24
  processGetAllParamaters(parameterValues: ValueSpecification[]): void;
23
25
  buildGetAllParameters(getAllFunction: SimpleFunctionExpression): void;
24
26
  buildGetAllVersionsInRangeParameters(getAllVersionsInRangeFunction: SimpleFunctionExpression): void;
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderBusinessTemporalMilestoningImplementation.d.ts","sourceRoot":"","sources":["../../../src/stores/milestoning/QueryBuilderBusinessTemporalMilestoningImplementation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,kBAAkB,EAEvB,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAC/B,sBAAsB,EAGvB,MAAM,qBAAqB,CAAC;AAS7B,OAAO,EAAE,qCAAqC,EAAE,MAAM,4CAA4C,CAAC;AAEnG,qBAAa,qDAAsD,SAAQ,qCAAqC;IAC9G,kBAAkB,IAAI,kBAAkB,GAAG,SAAS;IAIpD,yBAAyB,IAAI,MAAM;IAInC,+BAA+B,CAAC,KAAK,CAAC,EAAE,OAAO,GAAG,IAAI;IAYtD,uBAAuB,CAAC,eAAe,EAAE,kBAAkB,EAAE,GAAG,IAAI;IAQpE,qBAAqB,CAAC,cAAc,EAAE,wBAAwB,GAAG,IAAI;IASrE,oCAAoC,CAClC,6BAA6B,EAAE,wBAAwB,GACtD,IAAI;IAeP,gCAAgC,CAC9B,cAAc,EAAE,wBAAwB,GACvC,IAAI;IAQP,uBAAuB,CACrB,0BAA0B,EAAE,OAAO,EACnC,yBAAyB,EAAE,OAAO,EAClC,sBAAsB,EAAE,0BAA0B,GAAG,SAAS,EAC9D,cAAc,EAAE,sBAAsB,GAAG,SAAS,GACjD,kBAAkB;CA0BtB"}
1
+ {"version":3,"file":"QueryBuilderBusinessTemporalMilestoningImplementation.d.ts","sourceRoot":"","sources":["../../../src/stores/milestoning/QueryBuilderBusinessTemporalMilestoningImplementation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,kBAAkB,EAEvB,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAC/B,sBAAsB,EAIvB,MAAM,qBAAqB,CAAC;AAS7B,OAAO,EAAE,qCAAqC,EAAE,MAAM,4CAA4C,CAAC;AACnG,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AAE9E,qBAAa,qDAAsD,SAAQ,qCAAqC;IAC9G,kBAAkB,IAAI,kBAAkB,GAAG,SAAS;IAIpD,yBAAyB,IAAI,MAAM;IAInC,+BAA+B,CAAC,KAAK,CAAC,EAAE,OAAO,GAAG,IAAI;IAYtD,6CAA6C,IAAI,oBAAoB,EAAE;IAWvE,uBAAuB,CAAC,eAAe,EAAE,kBAAkB,EAAE,GAAG,IAAI;IAQpE,qBAAqB,CAAC,cAAc,EAAE,wBAAwB,GAAG,IAAI;IASrE,oCAAoC,CAClC,6BAA6B,EAAE,wBAAwB,GACtD,IAAI;IAeP,gCAAgC,CAC9B,cAAc,EAAE,wBAAwB,GACvC,IAAI;IAQP,uBAAuB,CACrB,0BAA0B,EAAE,OAAO,EACnC,yBAAyB,EAAE,OAAO,EAClC,sBAAsB,EAAE,0BAA0B,GAAG,SAAS,EAC9D,cAAc,EAAE,sBAAsB,GAAG,SAAS,GACjD,kBAAkB;CA0BtB"}
@@ -13,7 +13,7 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- import { BUSINESS_DATE_MILESTONING_PROPERTY_NAME, MILESTONING_STEREOTYPE, INTERNAL__PropagatedValue, PrimitiveType, } from '@finos/legend-graph';
16
+ import { BUSINESS_DATE_MILESTONING_PROPERTY_NAME, MILESTONING_STEREOTYPE, INTERNAL__PropagatedValue, PrimitiveType, VariableExpression, } from '@finos/legend-graph';
17
17
  import { UnsupportedOperationError, assertTrue, guaranteeNonNullable, } from '@finos/legend-shared';
18
18
  import { getParameterValue } from '../../components/QueryBuilderSideBar.js';
19
19
  import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../graph/QueryBuilderMetaModelConst.js';
@@ -33,6 +33,13 @@ export class QueryBuilderBusinessTemporalMilestoningImplementation extends Query
33
33
  // Show the parameter panel because we populate paramaters state with milestoning parameters
34
34
  this.milestoningState.queryBuilderState.setShowParametersPanel(true);
35
35
  }
36
+ buildParameterStatesFromMilestoningParameters() {
37
+ const state = this.milestoningState.buildParameterStateFromMilestoningParameter(this.milestoningState.businessDate &&
38
+ this.milestoningState.businessDate instanceof VariableExpression
39
+ ? this.milestoningState.businessDate.name
40
+ : BUSINESS_DATE_MILESTONING_PROPERTY_NAME);
41
+ return state ? [state] : [];
42
+ }
36
43
  processGetAllParamaters(parameterValues) {
37
44
  assertTrue(parameterValues.length === 2, `Can't process getAll() expression: when used with a milestoned class getAll() expects a parameter`);
38
45
  this.milestoningState.setBusinessDate(parameterValues[1]);
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderBusinessTemporalMilestoningImplementation.js","sourceRoot":"","sources":["../../../src/stores/milestoning/QueryBuilderBusinessTemporalMilestoningImplementation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,uCAAuC,EAGvC,sBAAsB,EACtB,yBAAyB,EACzB,aAAa,GACd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,yBAAyB,EACzB,UAAU,EACV,oBAAoB,GACrB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,iBAAiB,EAAE,MAAM,yCAAyC,CAAC;AAC5E,OAAO,EAAE,iCAAiC,EAAE,MAAM,2CAA2C,CAAC;AAC9F,OAAO,EAAE,iCAAiC,EAAE,MAAM,6CAA6C,CAAC;AAChG,OAAO,EAAE,qCAAqC,EAAE,MAAM,4CAA4C,CAAC;AAEnG,MAAM,OAAO,qDAAsD,SAAQ,qCAAqC;IAC9G,kBAAkB;QAChB,OAAO,IAAI,CAAC,gBAAgB,CAAC,YAAY,CAAC;IAC5C,CAAC;IAED,yBAAyB;QACvB,OAAO,kBAAkB,iBAAiB,CAAC,IAAI,CAAC,kBAAkB,EAAE,CAAC,EAAE,CAAC;IAC1E,CAAC;IAED,+BAA+B,CAAC,KAAe;QAC7C,IAAI,CAAC,IAAI,CAAC,gBAAgB,CAAC,YAAY,IAAI,KAAK,EAAE,CAAC;YACjD,IAAI,CAAC,gBAAgB,CAAC,eAAe,CACnC,IAAI,CAAC,gBAAgB,CAAC,yBAAyB,CAC7C,uCAAuC,CACxC,CACF,CAAC;QACJ,CAAC;QACD,4FAA4F;QAC5F,IAAI,CAAC,gBAAgB,CAAC,iBAAiB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;IACvE,CAAC;IAED,uBAAuB,CAAC,eAAqC;QAC3D,UAAU,CACR,eAAe,CAAC,MAAM,KAAK,C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C,CACjE,CAAC;YACJ,CAAC;iBAAM,CAAC;gBACN,OAAO,IAAI,yBAAyB,CAAC,GAAG,EAAE,CACxC,oBAAoB,CAAC,sBAAsB,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,CACjE,CAAC;YACJ,CAAC;QACH,CAAC;aAAM,CAAC;YACN,MAAM,eAAe,GAAG,IAAI,yBAAyB,CAAC,GAAG,EAAE,CACzD,oBAAoB,CAAC,IAAI,CAAC,kBAAkB,EAAE,CAAC,CAChD,CAAC;YACF,eAAe,CAAC,iBAAiB,GAAG,yBAAyB;gBAC3D,CAAC,CAAC,KAAK;gBACP,CAAC,CAAC,0BAA0B,CAAC;YAC/B,OAAO,eAAe,CAAC;QACzB,CAAC;IACH,CAAC;CACF"}
1
+ {"version":3,"file":"QueryBuilderBusinessTemporalMilestoningImplementation.js","sourceRoot":"","sources":["../../../src/stores/milestoning/QueryBuilderBusinessTemporalMilestoningImplementation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,uCAAuC,EAGvC,sBAAsB,EACtB,yBAAyB,EACzB,aAAa,EACb,kBAAkB,GACnB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,yBAAyB,EACzB,UAAU,EACV,oBAAoB,GACrB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,iBAAiB,EAAE,MAAM,yCAAyC,CAAC;AAC5E,OAAO,EAAE,iCAAiC,EAAE,MAAM,2CAA2C,CAAC;AAC9F,OAAO,EAAE,iCAAiC,EAAE,MAAM,6CAA6C,CAAC;AAChG,OAAO,EAAE,qCAAqC,EAAE,MAAM,4CAA4C,CAAC;AAGnG,MAAM,OAAO,qDAAsD,SAAQ,qCAAqC;IAC9G,kBAAkB;QAChB,OAAO,IAAI,CAAC,gBAAgB,CAAC,YAAY,CAAC;IAC5C,CAAC;IAED,yBAAyB;QACvB,OAAO,kBAAkB,iBAAiB,CAAC,IAAI,CAAC,kBAAkB,EAAE,CAA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AC;QACzB,CAAC;IACH,CAAC;CACF"}
@@ -67,5 +67,5 @@ export declare const matchMilestoningParameterValue: (stereotype: MILESTONING_ST
67
67
  * See https://github.com/finos/legend-studio/pull/891
68
68
  */
69
69
  export declare const generateMilestonedPropertyParameterValue: (derivedPropertyExpressionState: QueryBuilderDerivedPropertyExpressionState, idx: number) => ValueSpecification | undefined;
70
- export declare const validateMilestoningPropertyExpressionChain: (sourceStereotype: MILESTONING_STEREOTYPE | undefined, targetStereotype: MILESTONING_STEREOTYPE, propertyExpression: AbstractPropertyExpression) => void;
70
+ export declare const validateMilestoningPropertyExpressionChain: (sourceStereotype: MILESTONING_STEREOTYPE | undefined, targetStereotype: MILESTONING_STEREOTYPE, propertyExpression: AbstractPropertyExpression, queryBuilderState: QueryBuilderState) => void;
71
71
  //# sourceMappingURL=QueryBuilderMilestoningHelper.d.ts.map
@@ -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,KAC7C,IA4BF,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,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"}
@@ -185,7 +185,7 @@ export const generateMilestonedPropertyParameterValue = (derivedPropertyExpressi
185
185
  .getMilestoningImplementation(temporalTarget)
186
186
  .generateMilestoningDate(isDatePropagationSupported, hasDefaultMilestoningDate ?? false, prevPropertyExpression, temporalSource, idx, derivedPropertyExpressionState);
187
187
  };
188
- export const validateMilestoningPropertyExpressionChain = (sourceStereotype, targetStereotype, propertyExpression) => {
188
+ export const validateMilestoningPropertyExpressionChain = (sourceStereotype, targetStereotype, propertyExpression, queryBuilderState) => {
189
189
  if (sourceStereotype !== MILESTONING_STEREOTYPE.BITEMPORAL &&
190
190
  targetStereotype !== sourceStereotype) {
191
191
  if (targetStereotype === MILESTONING_STEREOTYPE.BITEMPORAL) {
@@ -199,10 +199,34 @@ export const validateMilestoningPropertyExpressionChain = (sourceStereotype, tar
199
199
  else if (propertyExpression.parametersValues.length > 3) {
200
200
  throw new UnsupportedOperationError(`Property of milestoning sterotype '${MILESTONING_STEREOTYPE.BITEMPORAL}' should not have more than two parameters`);
201
201
  }
202
+ queryBuilderState.milestoningState.setProcessingDate(propertyExpression.parametersValues[1]);
203
+ queryBuilderState.milestoningState.setBusinessDate(propertyExpression.parametersValues[2]);
202
204
  }
203
205
  else if (propertyExpression.parametersValues.length !== 2) {
204
206
  throw new UnsupportedOperationError(`Property of milestoning sterotype '${targetStereotype}' should have exactly one parameter`);
205
207
  }
208
+ if (targetStereotype === MILESTONING_STEREOTYPE.BUSINESS_TEMPORAL) {
209
+ queryBuilderState.milestoningState.setBusinessDate(propertyExpression.parametersValues[1]);
210
+ }
211
+ else if (targetStereotype === MILESTONING_STEREOTYPE.PROCESSING_TEMPORAL) {
212
+ queryBuilderState.milestoningState.setProcessingDate(propertyExpression.parametersValues[1]);
213
+ }
214
+ }
215
+ // we still need to do a loose milestoningState initialization for other cases e.g. the getAllVersion is used
216
+ else {
217
+ if (propertyExpression.parametersValues.length === 3 &&
218
+ targetStereotype === MILESTONING_STEREOTYPE.BITEMPORAL) {
219
+ queryBuilderState.milestoningState.setProcessingDate(propertyExpression.parametersValues[1]);
220
+ queryBuilderState.milestoningState.setBusinessDate(propertyExpression.parametersValues[2]);
221
+ }
222
+ if (propertyExpression.parametersValues.length === 2) {
223
+ if (targetStereotype === MILESTONING_STEREOTYPE.BUSINESS_TEMPORAL) {
224
+ queryBuilderState.milestoningState.setBusinessDate(propertyExpression.parametersValues[1]);
225
+ }
226
+ else if (targetStereotype === MILESTONING_STEREOTYPE.PROCESSING_TEMPORAL) {
227
+ queryBuilderState.milestoningState.setProcessingDate(propertyExpression.parametersValues[1]);
228
+ }
229
+ }
206
230
  }
207
231
  };
208
232
  //# sourceMappingURL=QueryBuilderMilestoningHelper.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderMilestoningHelper.js","sourceRoot":"","sources":["../../../src/stores/milestoning/QueryBuilderMilestoningHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,0BAA0B,EAC1B,eAAe,EACf,KAAK,EACL,sBAAsB,EACtB,8BAA8B,EAE9B,WAAW,EACX,8CAA8C,EAC9C,sBAAsB,EACtB,cAAc,EAEd,kBAAkB,GACnB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,oBAAoB,EACpB,aAAa,EACb,yBAAyB,GAC1B,MAAM,sBAAsB,CAAC;AAK9B,MAAM,CAAC,MAAM,wCAAwC,GAAG,CACtD,QAAyB,EACzB,KAAgB,EACoB,EAAE;IAC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AC1D,MAAM,IAAI,yBAAyB,CACjC,sCAAsC,sBAAsB,CAAC,UAAU,sCAAsC,CAC9G,CAAC;YACJ,CAAC;iBAAM,IAAI,kBAAkB,CAAC,gBAAgB,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;gBAC1D,MAAM,IAAI,yBAAyB,CACjC,sCAAsC,sBAAsB,CAAC,UAAU,4CAA4C,CACpH,CAAC;YACJ,CAAC;QACH,CAAC;aAAM,IAAI,kBAAkB,CAAC,gBAAgB,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YAC5D,MAAM,IAAI,yBAAyB,CACjC,sCAAsC,gBAAgB,qCAAqC,CAC5F,CAAC;QACJ,CAAC;IACH,CAAC;AACH,CAAC,CAAC"}
1
+ {"version":3,"file":"QueryBuilderMilestoningHelper.js","sourceRoot":"","sources":["../../../src/stores/milestoning/QueryBuilderMilestoningHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,0BAA0B,EAC1B,eAAe,EACf,KAAK,EACL,sBAAsB,EACtB,8BAA8B,EAE9B,WAAW,EACX,8CAA8C,EAC9C,sBAAsB,EACtB,cAAc,EAEd,kBAAkB,GACnB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,oBAAoB,EACpB,aAAa,EACb,yBAAyB,GAC1B,MAAM,sBAAsB,CAAC;AAK9B,MAAM,CAAC,MAAM,wCAAwC,GAAG,CACtD,QAAyB,EACzB,KAAgB,EACoB,EAAE;IACtC,MAAM,KAAK,GAAG,QAAQ,CAAC,MAAM,CAAC;IAC9B,IAAI,KAAK,YAAY,KAAK,EAAE,CAAC;QAC3B,OAAO,8BAA8B,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;IACtD,CAAC;SAAM,IAAI,KAAK,YAAY,WAAW,EAAE,CAAC;QACxC,MAAM,6BAA6B,GACjC,8CAA8C,CAAC,KAAK,EAAE,QAAQ,CAAC,CAAC;QAClE,IAAI,6BAA6B,CAAC,MAAM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B,CAAC,gBAAgB,CAAC,CAAC,CAAC,CACvC,CAAC;YACJ,CAAC;iBAAM,IACL,gBAAgB,KAAK,sBAAsB,CAAC,mBAAmB,EAC/D,CAAC;gBACD,iBAAiB,CAAC,gBAAgB,CAAC,iBAAiB,CAClD,kBAAkB,CAAC,gBAAgB,CAAC,CAAC,CAAC,CACvC,CAAC;YACJ,CAAC;QACH,CAAC;IACH,CAAC;AACH,CAAC,CAAC"}
@@ -16,6 +16,7 @@
16
16
  import type { ValueSpecification, SimpleFunctionExpression, AbstractPropertyExpression, MILESTONING_STEREOTYPE } from '@finos/legend-graph';
17
17
  import type { QueryBuilderDerivedPropertyExpressionState } from '../QueryBuilderPropertyEditorState.js';
18
18
  import type { QueryBuilderMilestoningState } from './QueryBuilderMilestoningState.js';
19
+ import type { LambdaParameterState } from '../shared/LambdaParameterState.js';
19
20
  export declare abstract class QueryBuilderMilestoningImplementation {
20
21
  milestoningState: QueryBuilderMilestoningState;
21
22
  readonly stereotype: MILESTONING_STEREOTYPE;
@@ -53,5 +54,6 @@ export declare abstract class QueryBuilderMilestoningImplementation {
53
54
  * Generates milestoning date for a propertyexpression based on its source and target stereotype
54
55
  */
55
56
  abstract generateMilestoningDate(isDatePropagationSupported: boolean, hasDefaultMilestoningDate: boolean, prevPropertyExpression: AbstractPropertyExpression | undefined, temporalSource: MILESTONING_STEREOTYPE | undefined, idx?: number, derivedPropertyExpressionState?: QueryBuilderDerivedPropertyExpressionState): ValueSpecification;
57
+ abstract buildParameterStatesFromMilestoningParameters(): LambdaParameterState[];
56
58
  }
57
59
  //# sourceMappingURL=QueryBuilderMilestoningImplementation.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderMilestoningImplementation.d.ts","sourceRoot":"","sources":["../../../src/stores/milestoning/QueryBuilderMilestoningImplementation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EACV,kBAAkB,EAClB,wBAAwB,EACxB,0BAA0B,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,SAAS,EAClD,GAAG,CAAC,EAAE,MAAM,EACZ,8BAA8B,CAAC,EAAE,0CAA0C,GAC1E,kBAAkB;IAErB,QAAQ,CAAC,6CAA6C,IAAI,oBAAoB,EAAE;CACjF"}
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderMilestoningImplementation.js","sourceRoot":"","sources":["../../../src/stores/milestoning/QueryBuilderMilestoningImplementation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAWH,MAAM,OAAgB,qCAAqC;IACzD,gBAAgB,CAA+B;IACtC,UAAU,CAAyB;IAE5C,YACE,4BAA0D,EAC1D,UAAkC;QAElC,IAAI,CAAC,gBAAgB,GAAG,4BAA4B,CAAC;QACrD,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;IAC/B,CAAC;CAuDF"}
1
+ {"version":3,"file":"QueryBuilderMilestoningImplementation.js","sourceRoot":"","sources":["../../../src/stores/milestoning/QueryBuilderMilestoningImplementation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAYH,MAAM,OAAgB,qCAAqC;IACzD,gBAAgB,CAA+B;IACtC,UAAU,CAAyB;IAE5C,YACE,4BAA0D,EAC1D,UAAkC;QAElC,IAAI,CAAC,gBAAgB,GAAG,4BAA4B,CAAC;QACrD,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;IAC/B,CAAC;CAyDF"}
@@ -16,6 +16,7 @@
16
16
  import { MILESTONING_STEREOTYPE, VariableExpression, type ValueSpecification } from '@finos/legend-graph';
17
17
  import { type Hashable } from '@finos/legend-shared';
18
18
  import type { QueryBuilderState } from '../QueryBuilderState.js';
19
+ import { LambdaParameterState } from '../shared/LambdaParameterState.js';
19
20
  import type { QueryBuilderMilestoningImplementation } from './QueryBuilderMilestoningImplementation.js';
20
21
  export declare class QueryBuilderMilestoningState implements Hashable {
21
22
  readonly milestoningImplementations: QueryBuilderMilestoningImplementation[];
@@ -47,6 +48,7 @@ export declare class QueryBuilderMilestoningState implements Hashable {
47
48
  clearAllVersionsInRangeParameters(): void;
48
49
  clearMilestoningDates(): void;
49
50
  updateMilestoningConfiguration(): void;
51
+ buildParameterStateFromMilestoningParameter(parameterName: string): LambdaParameterState | undefined;
50
52
  buildMilestoningParameter(parameterName: string): ValueSpecification;
51
53
  isVariableUsed(variable: VariableExpression): boolean;
52
54
  get hashCode(): string;
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderMilestoningState.d.ts","sourceRoot":"","sources":["../../../src/stores/milestoning/QueryBuilderMilestoningState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAIL,sBAAsB,EAEtB,kBAAkB,EAClB,KAAK,kBAAkB,EAOxB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,KAAK,QAAQ,EAId,MAAM,sBAAsB,CAAC;AAG9B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAKjE,OAAO,KAAK,EAAE,qCAAqC,EAAE,MAAM,4CAA4C,CAAC;AAWxG,qBAAa,4BAA6B,YAAW,QAAQ;IAC3D,QAAQ,CAAC,0BAA0B,EAAE,qCAAqC,EAAE,CACvE;IAEL,iBAAiB,EAAE,iBAAiB,CAAC;IAErC,qBAAqB,UAAS;IAG9B,YAAY,CAAC,EAAE,kBAAkB,GAAG,SAAS,CAAC;IAC9C,cAAc,CAAC,EAAE,kBAAkB,GAAG,SAAS,CAAC;IAEhD,SAAS,CAAC,EAAE,kBAAkB,GAAG,SAAS,CAAC;IAC3C,OAAO,CAAC,EAAE,kBAAkB,GAAG,SAAS,CAAC;gBAE7B,iBAAiB,EAAE,iBAAiB;IA+ChD,uBAAuB,IAAI,IAAI;IA8D/B,IAAI,iBAAiB,IAAI,OAAO,CAQ/B;IAED,IAAI,wBAAwB,IAAI,OAAO,CAUtC;IAED,IAAI,qCAAqC,IAAI,OAAO,CAanD;IAED,IAAI,oBAAoB,IAAI,OAAO,CAOlC;IAED,IAAI,2BAA2B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kBAAkB,GAAG,SAAS,GAAG,IAAI;IAM1D,sCAAsC,IAAI,IAAI;IAS9C,qBAAqB,IAAI,IAAI;IA4C7B,iCAAiC,IAAI,IAAI;IAiCzC,qBAAqB,IAAI,IAAI;IAK7B,8BAA8B,IAAI,IAAI;IAetC,2CAA2C,CACzC,aAAa,EAAE,MAAM,GACpB,oBAAoB,GAAG,SAAS;IA4BnC,yBAAyB,CAAC,aAAa,EAAE,MAAM,GAAG,kBAAkB;IAyBpE,cAAc,CAAC,QAAQ,EAAE,kBAAkB,GAAG,OAAO;IAUrD,IAAI,QAAQ,IAAI,MAAM,CAMrB;CACF"}
@@ -44,7 +44,6 @@ export class QueryBuilderMilestoningState {
44
44
  startDate: observable,
45
45
  endDate: observable,
46
46
  showMilestoningEditor: observable,
47
- isMilestonedQuery: computed,
48
47
  setProcessingDate: action,
49
48
  setBusinessDate: action,
50
49
  setStartDate: action,
@@ -56,6 +55,9 @@ export class QueryBuilderMilestoningState {
56
55
  initializeAllVersionsInRangeParameters: action,
57
56
  clearAllVersionsInRangeParameters: action,
58
57
  clearGetAllParameters: action,
58
+ isAllVersionsEnabled: computed,
59
+ isAllVersionsInRangeEnabled: computed,
60
+ isMilestonedQuery: computed,
59
61
  hashCode: computed,
60
62
  });
61
63
  this.queryBuilderState = queryBuilderState;
@@ -245,14 +247,18 @@ export class QueryBuilderMilestoningState {
245
247
  exculdeMilestoningState: true,
246
248
  })) {
247
249
  const paramState = this.queryBuilderState.parametersState.parameterStates.find((p) => p.parameter === this.startDate);
248
- this.queryBuilderState.parametersState.removeParameter(guaranteeNonNullable(paramState));
250
+ if (paramState) {
251
+ this.queryBuilderState.parametersState.removeParameter(paramState);
252
+ }
249
253
  }
250
254
  if (this.endDate instanceof VariableExpression &&
251
255
  !this.queryBuilderState.isVariableUsed(this.endDate, {
252
256
  exculdeMilestoningState: true,
253
257
  })) {
254
258
  const paramState = this.queryBuilderState.parametersState.parameterStates.find((p) => p.parameter === this.endDate);
255
- this.queryBuilderState.parametersState.removeParameter(guaranteeNonNullable(paramState));
259
+ if (paramState) {
260
+ this.queryBuilderState.parametersState.removeParameter(paramState);
261
+ }
256
262
  }
257
263
  this.setStartDate(undefined);
258
264
  this.setEndDate(undefined);
@@ -272,6 +278,19 @@ export class QueryBuilderMilestoningState {
272
278
  }
273
279
  }
274
280
  }
281
+ buildParameterStateFromMilestoningParameter(parameterName) {
282
+ const milestoningParameter = new VariableExpression(parameterName, Multiplicity.ONE, GenericTypeExplicitReference.create(new GenericType(PrimitiveType.DATE)));
283
+ const paramState = this.queryBuilderState.parametersState.parameterStates.find((p) => p.variableName === parameterName);
284
+ if (paramState) {
285
+ return paramState;
286
+ }
287
+ else if (!this.queryBuilderState.constantState.constants.find((c) => c.variable.name === parameterName)) {
288
+ const variableState = new LambdaParameterState(milestoningParameter, this.queryBuilderState.observerContext, this.queryBuilderState.graphManagerState.graph);
289
+ variableState.mockParameterValue();
290
+ return variableState;
291
+ }
292
+ return undefined;
293
+ }
275
294
  buildMilestoningParameter(parameterName) {
276
295
  const milestoningParameter = new VariableExpression(parameterName, Multiplicity.ONE, GenericTypeExplicitReference.create(new GenericType(PrimitiveType.DATE)));
277
296
  if (!this.queryBuilderState.parametersState.parameterStates.find((p) => p.variableName === parameterName) &&
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderMilestoningState.js","sourceRoot":"","sources":["../../../src/stores/milestoning/QueryBuilderMilestoningState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,WAAW,EACX,4BAA4B,EAC5B,8BAA8B,EAC9B,sBAAsB,EACtB,0BAA0B,EAC1B,kBAAkB,EAElB,YAAY,EACZ,aAAa,EACb,yBAAyB,EACzB,qCAAqC,EACrC,mCAAmC,EACnC,sBAAsB,GACvB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,SAAS,EACT,oBAAoB,EACpB,aAAa,GACd,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,MAA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kBAAkB,EAAE,CAAC;YACnC,IAAI,CAAC,iBAAiB,CAAC,eAAe,CAAC,YAAY,CAAC,aAAa,CAAC,CAAC;QACrE,CAAC;QACD,OAAO,oBAAoB,CAAC;IAC9B,CAAC;IAED,cAAc,CAAC,QAA4B;QACzC,MAAM,cAAc,GAAG,IAAI,CAAC,YAAY;YACtC,CAAC,CAAC,kCAAkC,CAAC,QAAQ,EAAE,IAAI,CAAC,YAAY,CAAC;YACjE,CAAC,CAAC,KAAK,CAAC;QACV,MAAM,oBAAoB,GAAG,IAAI,CAAC,cAAc;YAC9C,CAAC,CAAC,kCAAkC,CAAC,QAAQ,EAAE,IAAI,CAAC,cAAc,CAAC;YACnE,CAAC,CAAC,KAAK,CAAC;QACV,OAAO,cAAc,IAAI,oBAAoB,CAAC;IAChD,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,kCAAkC,CAAC,iBAAiB;YACpD,IAAI,CAAC,YAAY,IAAI,EAAE;YACvB,IAAI,CAAC,cAAc,IAAI,EAAE;SAC1B,CAAC,CAAC;IACL,CAAC;CACF"}
1
+ {"version":3,"file":"QueryBuilderMilestoningState.js","sourceRoot":"","sources":["../../../src/stores/milestoning/QueryBuilderMilestoningState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,WAAW,EACX,4BAA4B,EAC5B,8BAA8B,EAC9B,sBAAsB,EACtB,0BAA0B,EAC1B,kBAAkB,EAElB,YAAY,EACZ,aAAa,EACb,yBAAyB,EACzB,qCAAqC,EACrC,mCAAmC,EACnC,sBAAsB,GACvB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,SAAS,EACT,oBAAoB,EACpB,aAAa,GACd,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AACpE,OAAO,EAAE,kCAAkC,EAAE,MAAM,kCAAkC,CAAC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AAE,IAAI,CAAC,cAAc,CAAC;YACnE,CAAC,CAAC,KAAK,CAAC;QACV,OAAO,cAAc,IAAI,oBAAoB,CAAC;IAChD,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,kCAAkC,CAAC,iBAAiB;YACpD,IAAI,CAAC,YAAY,IAAI,EAAE;YACvB,IAAI,CAAC,cAAc,IAAI,EAAE;SAC1B,CAAC,CAAC;IACL,CAAC;CACF"}
@@ -15,10 +15,12 @@
15
15
  */
16
16
  import { type ValueSpecification, type SimpleFunctionExpression, type AbstractPropertyExpression } from '@finos/legend-graph';
17
17
  import { QueryBuilderMilestoningImplementation } from './QueryBuilderMilestoningImplementation.js';
18
+ import type { LambdaParameterState } from '../shared/LambdaParameterState.js';
18
19
  export declare class QueryBuilderProcessingTemporalMilestoningImplementation extends QueryBuilderMilestoningImplementation {
19
20
  getMilestoningDate(): ValueSpecification | undefined;
20
21
  getMilestoningToolTipText(): string;
21
22
  initializeMilestoningParameters(force?: boolean): void;
23
+ buildParameterStatesFromMilestoningParameters(): LambdaParameterState[];
22
24
  processGetAllParamaters(parameterValues: ValueSpecification[]): void;
23
25
  buildGetAllParameters(getAllFunction: SimpleFunctionExpression): void;
24
26
  buildGetAllVersionsInRangeParameters(getAllVersionsInRangeFunction: SimpleFunctionExpression): void;
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderProcessingTemporalMilestoningImplementation.d.ts","sourceRoot":"","sources":["../../../src/stores/milestoning/QueryBuilderProcessingTemporalMilestoningImplementation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,kBAAkB,EAEvB,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAGhC,MAAM,qBAAqB,CAAC;AAS7B,OAAO,EAAE,qCAAqC,EAAE,MAAM,4CAA4C,CAAC;AAEnG,qBAAa,uDAAwD,SAAQ,qCAAqC;IAChH,kBAAkB,IAAI,kBAAkB,GAAG,SAAS;IAIpD,yBAAyB,IAAI,MAAM;IAInC,+BAA+B,CAAC,KAAK,CAAC,EAAE,OAAO,GAAG,IAAI;IAYtD,uBAAuB,CAAC,eAAe,EAAE,kBAAkB,EAAE,GAAG,IAAI;IAQpE,qBAAqB,CAAC,cAAc,EAAE,wBAAwB,GAAG,IAAI;IASrE,oCAAoC,CAClC,6BAA6B,EAAE,wBAAwB,GACtD,IAAI;IAeP,gCAAgC,CAC9B,cAAc,EAAE,wBAAwB,GACvC,IAAI;IAQP,uBAAuB,CACrB,0BAA0B,EAAE,OAAO,EACnC,yBAAyB,EAAE,OAAO,EAClC,sBAAsB,EAAE,0BAA0B,GAAG,SAAS,GAC7D,kBAAkB;CAoBtB"}
1
+ {"version":3,"file":"QueryBuilderProcessingTemporalMilestoningImplementation.d.ts","sourceRoot":"","sources":["../../../src/stores/milestoning/QueryBuilderProcessingTemporalMilestoningImplementation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,kBAAkB,EAEvB,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAIhC,MAAM,qBAAqB,CAAC;AAS7B,OAAO,EAAE,qCAAqC,EAAE,MAAM,4CAA4C,CAAC;AACnG,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AAE9E,qBAAa,uDAAwD,SAAQ,qCAAqC;IAChH,kBAAkB,IAAI,kBAAkB,GAAG,SAAS;IAIpD,yBAAyB,IAAI,MAAM;IAInC,+BAA+B,CAAC,KAAK,CAAC,EAAE,OAAO,GAAG,IAAI;IAYtD,6CAA6C,IAAI,oBAAoB,EAAE;IAWvE,uBAAuB,CAAC,eAAe,EAAE,kBAAkB,EAAE,GAAG,IAAI;IAQpE,qBAAqB,CAAC,cAAc,EAAE,wBAAwB,GAAG,IAAI;IASrE,oCAAoC,CAClC,6BAA6B,EAAE,wBAAwB,GACtD,IAAI;IAeP,gCAAgC,CAC9B,cAAc,EAAE,wBAAwB,GACvC,IAAI;IAQP,uBAAuB,CACrB,0BAA0B,EAAE,OAAO,EACnC,yBAAyB,EAAE,OAAO,EAClC,sBAAsB,EAAE,0BAA0B,GAAG,SAAS,GAC7D,kBAAkB;CAoBtB"}
@@ -13,7 +13,7 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- import { PROCESSING_DATE_MILESTONING_PROPERTY_NAME, INTERNAL__PropagatedValue, PrimitiveType, } from '@finos/legend-graph';
16
+ import { PROCESSING_DATE_MILESTONING_PROPERTY_NAME, INTERNAL__PropagatedValue, PrimitiveType, VariableExpression, } from '@finos/legend-graph';
17
17
  import { UnsupportedOperationError, assertTrue, guaranteeNonNullable, } from '@finos/legend-shared';
18
18
  import { getParameterValue } from '../../components/QueryBuilderSideBar.js';
19
19
  import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../graph/QueryBuilderMetaModelConst.js';
@@ -33,6 +33,13 @@ export class QueryBuilderProcessingTemporalMilestoningImplementation extends Que
33
33
  // Show the parameter panel because we populate paramaters state with milestoning parameters
34
34
  this.milestoningState.queryBuilderState.setShowParametersPanel(true);
35
35
  }
36
+ buildParameterStatesFromMilestoningParameters() {
37
+ const state = this.milestoningState.buildParameterStateFromMilestoningParameter(this.milestoningState.processingDate &&
38
+ this.milestoningState.processingDate instanceof VariableExpression
39
+ ? this.milestoningState.processingDate.name
40
+ : PROCESSING_DATE_MILESTONING_PROPERTY_NAME);
41
+ return state ? [state] : [];
42
+ }
36
43
  processGetAllParamaters(parameterValues) {
37
44
  assertTrue(parameterValues.length === 2, `Can't process getAll() expression: when used with a milestoned class getAll() expects a parameter`);
38
45
  this.milestoningState.setProcessingDate(parameterValues[1]);
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderProcessingTemporalMilestoningImplementation.js","sourceRoot":"","sources":["../../../src/stores/milestoning/QueryBuilderProcessingTemporalMilestoningImplementation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH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C;CACF"}
1
+ {"version":3,"file":"QueryBuilderProcessingTemporalMilestoningImplementation.js","sourceRoot":"","sources":["../../../src/stores/milestoning/QueryBuilderProcessingTemporalMilestoningImplementation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,yCAAyC,EAGzC,yBAAyB,EACzB,aAAa,EACb,kBAAkB,GACnB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,yBAAyB,EACzB,UAAU,EACV,oBAAoB,GACrB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,iBAAiB,EAAE,MAAM,yCAAyC,CAAC;AAC5E,OAAO,EAAE,iCAAiC,EAAE,MAAM,2CAA2C,CAAC;AAC9F,OAAO,EAAE,iCAAiC,EAAE,MAAM,6CAA6C,CAAC;AAChG,OAAO,EAAE,qCAAqC,EAAE,MAAM,4CAA4C,CAAC;AAGnG,MAAM,OAAO,uDAAwD,SAAQ,qCAAqC;IAChH,kBAAkB;QAChB,OAAO,IAAI,CAAC,gBAAgB,CAAC,cAAc,CAAC;IAC9C,CAAC;IAED,yBAAyB;QACvB,OAAO,oBAAoB,iBAAiB,CAAC,IAAI,CAAC,kBAAkB,EAAE,CAAC,EAAE,CAAC;IAC5E,CAAC;IAED,+BAA+B,CAAC,KAAe;QAC7C,IAAI,CAAC,IAAI,CAAC,gBAAgB,CAAC,cAAc,IAAI,KAAK,EAAE,CAAC;YACnD,IAAI,CAAC,gBAAgB,CAAC,iBAAiB,CACrC,IAAI,CAAC,gBAAgB,CAAC,yBAAyB,CAC7C,yCAAyC,CAC1C,CACF,CAAC;QACJ,CAAC;QACD,4FAA4F;QAC5F,IAAI,CAAC,gBAAgB,CAAC,iBAAiB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;IACvE,CAAC;IAED,6CAA6C;QAC3C,MAAM,KAAK,GACT,IAAI,CAAC,gBAAgB,CAAC,2CAA2C,CAC/D,IAAI,CAAC,gBAAgB,CAAC,cAAc;YAClC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C,EACnC,yBAAkC,EAClC,sBAA8D;QAE9D,IAAI,CAAC,+BAA+B,EAAE,CAAC;QACvC,IACE,0BAA0B;YAC1B,sBAAsB;YACtB,CAAC,yBAAyB,EAC1B,CAAC;YACD,OAAO,IAAI,yBAAyB,CAAC,GAAG,EAAE,CACxC,oBAAoB,CAAC,sBAAsB,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,CACjE,CAAC;QACJ,CAAC;aAAM,CAAC;YACN,MAAM,eAAe,GAAG,IAAI,yBAAyB,CAAC,GAAG,EAAE,CACzD,oBAAoB,CAAC,IAAI,CAAC,kBAAkB,EAAE,CAAC,CAChD,CAAC;YACF,eAAe,CAAC,iBAAiB,GAAG,yBAAyB;gBAC3D,CAAC,CAAC,KAAK;gBACP,CAAC,CAAC,0BAA0B,CAAC;YAC/B,OAAO,eAAe,CAAC;QACzB,CAAC;IACH,CAAC;CACF"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-query-builder",
3
- "version": "4.14.46",
3
+ "version": "4.14.48",
4
4
  "description": "Legend query builder core",
5
5
  "keywords": [
6
6
  "legend",
@@ -42,10 +42,10 @@
42
42
  "test:watch": "jest --watch"
43
43
  },
44
44
  "dependencies": {
45
- "@finos/legend-application": "15.1.7",
46
- "@finos/legend-art": "7.1.35",
45
+ "@finos/legend-application": "15.1.8",
46
+ "@finos/legend-art": "7.1.36",
47
47
  "@finos/legend-graph": "31.10.3",
48
- "@finos/legend-lego": "1.2.37",
48
+ "@finos/legend-lego": "1.2.38",
49
49
  "@finos/legend-server-depot": "6.0.44",
50
50
  "@finos/legend-shared": "10.0.39",
51
51
  "@finos/legend-storage": "3.0.89",
@@ -20,4 +20,6 @@ export enum QUERY_BUILDER_DOCUMENTATION_KEY {
20
20
  QUESTION_HOW_TO_ADD_CONSTANTS_TO_QUERY = 'question.how-to-add-constants-to-query',
21
21
  QUESTION_HOW_TO_USE_LOCAL_GRID_MODE = 'question.how-to-use-local-grid-mode',
22
22
  TUTORIAL_QUERY_BUILDER = 'tutorial.query.builder',
23
+ FREQUENTLY_ASKED_QUESTIONS = 'frequently.asked.questions',
24
+ SUPPORT_TICKETS_LINK = 'support.tickets.link',
23
25
  }