@finos/legend-query-builder 4.7.4 → 4.9.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (87) hide show
  1. package/lib/components/QueryBuilderConstantExpressionPanel.d.ts.map +1 -1
  2. package/lib/components/QueryBuilderConstantExpressionPanel.js +27 -8
  3. package/lib/components/QueryBuilderConstantExpressionPanel.js.map +1 -1
  4. package/lib/components/QueryBuilderResultPanel.d.ts.map +1 -1
  5. package/lib/components/QueryBuilderResultPanel.js +11 -5
  6. package/lib/components/QueryBuilderResultPanel.js.map +1 -1
  7. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.d.ts.map +1 -1
  8. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js +5 -3
  9. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js.map +1 -1
  10. package/lib/components/fetch-structure/QueryBuilderTDSPanel.d.ts.map +1 -1
  11. package/lib/components/fetch-structure/QueryBuilderTDSPanel.js +8 -1
  12. package/lib/components/fetch-structure/QueryBuilderTDSPanel.js.map +1 -1
  13. package/lib/components/shared/LambdaEditor.d.ts +1 -11
  14. package/lib/components/shared/LambdaEditor.d.ts.map +1 -1
  15. package/lib/components/shared/LambdaEditor.js +11 -4
  16. package/lib/components/shared/LambdaEditor.js.map +1 -1
  17. package/lib/index.css +2 -2
  18. package/lib/index.css.map +1 -1
  19. package/lib/package.json +1 -1
  20. package/lib/stores/QueryBuilderConstantsState.d.ts +3 -1
  21. package/lib/stores/QueryBuilderConstantsState.d.ts.map +1 -1
  22. package/lib/stores/QueryBuilderConstantsState.js +27 -3
  23. package/lib/stores/QueryBuilderConstantsState.js.map +1 -1
  24. package/lib/stores/QueryBuilderState.d.ts.map +1 -1
  25. package/lib/stores/QueryBuilderState.js +1 -0
  26. package/lib/stores/QueryBuilderState.js.map +1 -1
  27. package/lib/stores/QueryBuilderTypeaheadHelper.d.ts +1 -1
  28. package/lib/stores/QueryBuilderTypeaheadHelper.d.ts.map +1 -1
  29. package/lib/stores/QueryBuilderTypeaheadHelper.js +190 -30
  30. package/lib/stores/QueryBuilderTypeaheadHelper.js.map +1 -1
  31. package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.d.ts +1 -0
  32. package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.d.ts.map +1 -1
  33. package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.js.map +1 -1
  34. package/lib/stores/fetch-structure/QueryBuilderFetchStructureState.d.ts +1 -0
  35. package/lib/stores/fetch-structure/QueryBuilderFetchStructureState.d.ts.map +1 -1
  36. package/lib/stores/fetch-structure/QueryBuilderFetchStructureState.js +4 -0
  37. package/lib/stores/fetch-structure/QueryBuilderFetchStructureState.js.map +1 -1
  38. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.d.ts +1 -0
  39. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.d.ts.map +1 -1
  40. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.js +3 -0
  41. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.js.map +1 -1
  42. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.d.ts +2 -0
  43. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.d.ts.map +1 -1
  44. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js +25 -1
  45. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js.map +1 -1
  46. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.d.ts +3 -1
  47. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.d.ts.map +1 -1
  48. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.js +6 -0
  49. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.js.map +1 -1
  50. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.d.ts +9 -2
  51. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.d.ts.map +1 -1
  52. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.js +40 -6
  53. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.js.map +1 -1
  54. package/lib/stores/milestoning/QueryBuilderBitemporalMilestoningImplementation.d.ts +1 -0
  55. package/lib/stores/milestoning/QueryBuilderBitemporalMilestoningImplementation.d.ts.map +1 -1
  56. package/lib/stores/milestoning/QueryBuilderBitemporalMilestoningImplementation.js +8 -1
  57. package/lib/stores/milestoning/QueryBuilderBitemporalMilestoningImplementation.js.map +1 -1
  58. package/lib/stores/milestoning/QueryBuilderBusinessTemporalMilestoningImplementation.d.ts +1 -0
  59. package/lib/stores/milestoning/QueryBuilderBusinessTemporalMilestoningImplementation.d.ts.map +1 -1
  60. package/lib/stores/milestoning/QueryBuilderBusinessTemporalMilestoningImplementation.js +7 -1
  61. package/lib/stores/milestoning/QueryBuilderBusinessTemporalMilestoningImplementation.js.map +1 -1
  62. package/lib/stores/milestoning/QueryBuilderMilestoningImplementation.d.ts +4 -0
  63. package/lib/stores/milestoning/QueryBuilderMilestoningImplementation.d.ts.map +1 -1
  64. package/lib/stores/milestoning/QueryBuilderMilestoningImplementation.js.map +1 -1
  65. package/lib/stores/milestoning/QueryBuilderProcessingTemporalMilestoningImplementation.d.ts +1 -0
  66. package/lib/stores/milestoning/QueryBuilderProcessingTemporalMilestoningImplementation.d.ts.map +1 -1
  67. package/lib/stores/milestoning/QueryBuilderProcessingTemporalMilestoningImplementation.js +7 -1
  68. package/lib/stores/milestoning/QueryBuilderProcessingTemporalMilestoningImplementation.js.map +1 -1
  69. package/package.json +3 -3
  70. package/src/components/QueryBuilderConstantExpressionPanel.tsx +85 -24
  71. package/src/components/QueryBuilderResultPanel.tsx +17 -13
  72. package/src/components/fetch-structure/QueryBuilderPostFilterPanel.tsx +11 -1
  73. package/src/components/fetch-structure/QueryBuilderTDSPanel.tsx +12 -1
  74. package/src/components/shared/LambdaEditor.tsx +15 -2
  75. package/src/stores/QueryBuilderConstantsState.ts +44 -1
  76. package/src/stores/QueryBuilderState.ts +1 -0
  77. package/src/stores/QueryBuilderTypeaheadHelper.ts +382 -54
  78. package/src/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.ts +1 -0
  79. package/src/stores/fetch-structure/QueryBuilderFetchStructureState.ts +5 -0
  80. package/src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.ts +4 -0
  81. package/src/stores/fetch-structure/tds/QueryBuilderTDSState.ts +43 -1
  82. package/src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.ts +11 -0
  83. package/src/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.ts +66 -9
  84. package/src/stores/milestoning/QueryBuilderBitemporalMilestoningImplementation.ts +14 -0
  85. package/src/stores/milestoning/QueryBuilderBusinessTemporalMilestoningImplementation.ts +13 -0
  86. package/src/stores/milestoning/QueryBuilderMilestoningImplementation.ts +7 -0
  87. package/src/stores/milestoning/QueryBuilderProcessingTemporalMilestoningImplementation.ts +13 -0
@@ -18,7 +18,7 @@ import { type PureModel, type Type, type ValueSpecification, type VariableExpres
18
18
  import { type GeneratorFn, ActionState, type Hashable } from '@finos/legend-shared';
19
19
  import { QueryBuilderAggregateColumnState } from '../aggregation/QueryBuilderAggregationState.js';
20
20
  import type { QueryBuilderPostFilterOperator } from './QueryBuilderPostFilterOperator.js';
21
- import { QueryBuilderProjectionColumnState, type QueryBuilderProjectionColumnDragSource } from '../projection/QueryBuilderProjectionColumnState.js';
21
+ import { QueryBuilderProjectionColumnState, type QueryBuilderProjectionColumnDragSource, QueryBuilderDerivationProjectionColumnState } from '../projection/QueryBuilderProjectionColumnState.js';
22
22
  import { QUERY_BUILDER_GROUP_OPERATION } from '../../../QueryBuilderGroupOperationHelper.js';
23
23
  import type { QueryBuilderTDSState } from '../QueryBuilderTDSState.js';
24
24
  import type { QueryBuilderTDSColumnState } from '../QueryBuilderTDSColumnState.js';
@@ -106,10 +106,12 @@ export declare class QueryBuilderPostFilterState implements TreeData<QueryBuilde
106
106
  operators: QueryBuilderPostFilterOperator[];
107
107
  rootIds: string[];
108
108
  nodes: Map<string, QueryBuilderPostFilterTreeNodeData>;
109
+ derivedColumnBeingDropped: QueryBuilderDerivationProjectionColumnState | undefined;
109
110
  constructor(tdsState: QueryBuilderTDSState, operators: QueryBuilderPostFilterOperator[]);
110
111
  setRearrangingConditions(val: boolean): void;
111
112
  setSelectedNode(val: QueryBuilderPostFilterTreeNodeData | undefined): void;
112
113
  getNode(id: string): QueryBuilderPostFilterTreeNodeData;
114
+ setDerivedColumnBeingDropped(val: QueryBuilderDerivationProjectionColumnState | undefined): void;
113
115
  get isEmpty(): boolean;
114
116
  private getParentNode;
115
117
  get referencedTDSColumns(): QueryBuilderTDSColumnState[];
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderPostFilterState.d.ts","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAChE,OAAO,EACL,KAAK,SAAS,EACd,KAAK,IAAI,EACT,KAAK,kBAAkB,EAEvB,KAAK,kBAAkB,EAKxB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,KAAK,WAAW,EAYhB,WAAW,EAGX,KAAK,QAAQ,EAEd,MAAM,sBAAsB,CAAC;AAU9B,OAAO,EAAE,gCAAgC,EAAE,MAAM,gDAAgD,CAAC;AAClG,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,qCAAqC,CAAC;AAC1F,OAAO,EACL,iCAAiC,EACjC,KAAK,sCAAsC,EAE5C,MAAM,oDAAoD,CAAC;AAM5D,OAAO,EAAE,6BAA6B,EAAE,MAAM,8CAA8C,CAAC;AAC7F,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAEvE,O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CAAC,GAAG,EAAE,MAAM,GAAG,IAAI;IAIzC,6BAA6B,CAC3B,QAAQ,EAAE,kCAAkC,GAAG,SAAS,GACvD,IAAI;IAgBP,6BAA6B,CAC3B,IAAI,EAAE,kCAAkC,GAAG,SAAS,EACpD,QAAQ,EAAE,kCAAkC,GAAG,SAAS,GACvD,IAAI;IAyBP,eAAe,CACb,IAAI,EAAE,kCAAkC,EACxC,QAAQ,EAAE,kCAAkC,GAAG,SAAS,GACvD,IAAI;IAqBP,OAAO,CAAC,UAAU;IAkBlB,wBAAwB,CAAC,IAAI,EAAE,kCAAkC,GAAG,IAAI;IA0BxE;;OAEG;IACH,YAAY,IAAI,IAAI;IAqCpB,OAAO,CAAC,gBAAgB;IAYxB,OAAO,CAAC,wBAAwB;IAahC,SAAS,IAAI,IAAI;IAoDjB;;OAEG;IACH,OAAO,CAAC,eAAe;IAuBvB,YAAY,IAAI,IAAI;IAIpB,UAAU,IAAI,IAAI;IAIlB,cAAc,CAAC,QAAQ,EAAE,kBAAkB,GAAG,OAAO;IAUrD,IAAI,QAAQ,IAAI,MAAM,CAMrB;CACF"}
1
+ {"version":3,"file":"QueryBuilderPostFilterState.d.ts","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAChE,OAAO,EACL,KAAK,SAAS,EACd,KAAK,IAAI,EACT,KAAK,kBAAkB,EAEvB,KAAK,kBAAkB,EAKxB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,KAAK,WAAW,EAYhB,WAAW,EAGX,KAAK,QAAQ,EAEd,MAAM,sBAAsB,CAAC;AAU9B,OAAO,EAAE,gCAAgC,EAAE,MAAM,gDAAgD,CAAC;AAClG,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,qCAAqC,CAAC;AAC1F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B,CAC1B,GAAG,EAAE,2CAA2C,GAAG,SAAS,GAC3D,IAAI;IAIP,IAAI,OAAO,IAAI,OAAO,CAErB;IACD,OAAO,CAAC,aAAa;IAWrB,IAAI,oBAAoB,IAAI,0BAA0B,EAAE,CAMvD;IAED,WAAW,IAAI,kCAAkC,GAAG,SAAS;IAS7D,OAAO,CAAC,WAAW;IAyBnB,wBAAwB,CACtB,IAAI,EAAE,kCAAkC,EACxC,SAAS,EAAE,gDAAgD,GAC1D,IAAI;IAcP,sBAAsB,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI;IAIzC,6BAA6B,CAC3B,QAAQ,EAAE,kCAAkC,GAAG,SAAS,GACvD,IAAI;IAgBP,6BAA6B,CAC3B,IAAI,EAAE,kCAAkC,GAAG,SAAS,EACpD,QAAQ,EAAE,kCAAkC,GAAG,SAAS,GACvD,IAAI;IAyBP,eAAe,CACb,IAAI,EAAE,kCAAkC,EACxC,QAAQ,EAAE,kCAAkC,GAAG,SAAS,GACvD,IAAI;IAqBP,OAAO,CAAC,UAAU;IAkBlB,wBAAwB,CAAC,IAAI,EAAE,kCAAkC,GAAG,IAAI;IA0BxE;;OAEG;IACH,YAAY,IAAI,IAAI;IAqCpB,OAAO,CAAC,gBAAgB;IAYxB,OAAO,CAAC,wBAAwB;IAahC,SAAS,IAAI,IAAI;IAoDjB;;OAEG;IACH,OAAO,CAAC,eAAe;IAuBvB,YAAY,IAAI,IAAI;IAIpB,UAAU,IAAI,IAAI;IAIlB,cAAc,CAAC,QAAQ,EAAE,kBAAkB,GAAG,OAAO;IAUrD,IAAI,QAAQ,IAAI,MAAM,CAMrB;CACF"}
@@ -325,6 +325,7 @@ export class QueryBuilderPostFilterState {
325
325
  operators = [];
326
326
  rootIds = [];
327
327
  nodes = new Map();
328
+ derivedColumnBeingDropped;
328
329
  constructor(tdsState, operators) {
329
330
  makeObservable(this, {
330
331
  tdsState: false,
@@ -333,6 +334,7 @@ export class QueryBuilderPostFilterState {
333
334
  rootIds: observable,
334
335
  nodes: observable,
335
336
  lambdaParameterName: observable,
337
+ derivedColumnBeingDropped: observable,
336
338
  setLambdaParameterName: action,
337
339
  setSelectedNode: action,
338
340
  addNodeFromNode: action,
@@ -345,6 +347,7 @@ export class QueryBuilderPostFilterState {
345
347
  expandTree: action,
346
348
  replaceBlankNodeWithNode: action,
347
349
  setRearrangingConditions: action,
350
+ setDerivedColumnBeingDropped: action,
348
351
  hashCode: computed,
349
352
  });
350
353
  this.tdsState = tdsState;
@@ -359,6 +362,9 @@ export class QueryBuilderPostFilterState {
359
362
  getNode(id) {
360
363
  return guaranteeNonNullable(this.nodes.get(id), `Can't find query builder post-filter tree node with ID '${id}'`);
361
364
  }
365
+ setDerivedColumnBeingDropped(val) {
366
+ this.derivedColumnBeingDropped = val;
367
+ }
362
368
  get isEmpty() {
363
369
  return !this.nodes.size && !this.rootIds.length;
364
370
  }
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderPostFilterState.js","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAML,WAAW,EACX,cAAc,EACd,0BAA0B,EAC1B,aAAa,GACd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,cAAc,EACd,iBAAiB,EACjB,UAAU,EACV,WAAW,EACX,qBAAqB,EACrB,oBAAoB,EACpB,aAAa,EACb,iBAAiB,EACjB,yBAAyB,EACzB,IAAI,EACJ,YAAY,EACZ,WAAW,EACX,SAAS,EACT,IAAI,EAEJ,aAAa,GACd,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,MAAM,EACN,QAAQ,EACR,IAAI,EACJ,UAAU,EACV,cAAc,EACd,UAAU,GACX,MAAM,MAAM,CAAC;AACd,OAAO,EAAE,wCAAwC,EAAE,MAAM,gCAAgC,CAAC;AAC1F,OAAO,EAAE,gCAAgC,EAAE,MAAM,gDAAgD,CAAC;AAElG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AC,CAAC;IAC1E,CAAC;IAED,cAAc,CAAC,QAA4B;QACzC,OAAO,OAAO,CACZ,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;aAC5B,MAAM,CAAC,YAAY,CAAC,2CAA2C,CAAC,CAAC;aACjE,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC;aACnC,MAAM,CAAC,aAAa,CAAC;aACrB,IAAI,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,kCAAkC,CAAC,QAAQ,EAAE,KAAK,CAAC,CAAC,CACxE,CAAC;IACJ,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,kCAAkC,CAAC,iBAAiB;YACpD,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC;YACvB,SAAS,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC,CAAC;SAC3C,CAAC,CAAC;IACL,CAAC;CACF"}
@@ -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 { type GeneratorFn, type Hashable } from '@finos/legend-shared';
16
+ import { type GeneratorFn, type Hashable, ActionState } from '@finos/legend-shared';
17
17
  import { type QueryBuilderExplorerTreePropertyNodeData } from '../../../explorer/QueryBuilderExplorerState.js';
18
18
  import { QueryBuilderPropertyExpressionState } from '../../../QueryBuilderPropertyEditorState.js';
19
19
  import type { QueryBuilderState } from '../../../QueryBuilderState.js';
@@ -62,6 +62,7 @@ export declare class QueryBuilderDerivationProjectionColumnState extends QueryBu
62
62
  derivationLambdaEditorState: QueryBuilderDerivationProjectionLambdaState;
63
63
  lambda: RawLambda;
64
64
  returnType: Type | undefined;
65
+ fetchingLambdaReturnTypeState: ActionState;
65
66
  constructor(tdsState: QueryBuilderTDSState, lambda: RawLambda);
66
67
  setLambda(val: RawLambda): void;
67
68
  setReturnType(val: Type | undefined): void;
@@ -70,7 +71,13 @@ export declare class QueryBuilderDerivationProjectionColumnState extends QueryBu
70
71
  * Throws error if unable to fetch type or if type is not primitive or an enumeration
71
72
  * as expected by a projection column
72
73
  */
73
- fetchDerivationLambdaReturnType(): GeneratorFn<void>;
74
+ fetchDerivationLambdaReturnType(options?: {
75
+ forceRefresh?: boolean;
76
+ forceConversionStringToLambda?: boolean;
77
+ isBeingDropped?: boolean;
78
+ }): GeneratorFn<void>;
79
+ getIsolatedRawLambda(): RawLambda;
80
+ setLambdaReturnType(type: string): void;
74
81
  getColumnType(): Type | undefined;
75
82
  get hashCode(): string;
76
83
  }
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderProjectionColumnState.d.ts","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EACL,KAAK,WAAW,EAMhB,KAAK,QAAQ,EAEd,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,KAAK,wCAAwC,EAE9C,MAAM,gDAAgD,CAAC;AACxD,OAAO,EAEL,mCAAmC,EACpC,MAAM,6CAA6C,CAAC;AACrD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AACvE,OAAO,EACL,KAAK,0BAA0B,EAC/B,KAAK,IAAI,EACT,KAAK,kBAAkB,EAOvB,SAAS,EAIV,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AAC9E,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAMvE,OAAO,EAAE,iBAAiB,EAAE,MAAM,sCAAsC,CAAC;AAGzE,eAAO,MAAM,wCAAwC,sBAAsB,CAAC;AAE5E,MAAM,WAAW,sCAAsC;IACrD,WAAW,EAAE,iCAAiC,CAAC;CAChD;AAED,8BAAsB,iCACpB,SAAQ,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B,2BAA2B,EAAE,2CAA2C,CAAC;IACzE,MAAM,EAAE,SAAS,CAAC;IAClB,UAAU,EAAE,IAAI,GAAG,SAAS,CAAC;gBAEjB,QAAQ,EAAE,oBAAoB,EAAE,MAAM,EAAE,SAAS;IAkB7D,SAAS,CAAC,GAAG,EAAE,SAAS,GAAG,IAAI;IAI/B,aAAa,CAAC,GAAG,EAAE,IAAI,GAAG,SAAS,GAAG,IAAI;IAI1C;;;;OAIG;IACF,+BAA+B,IAAI,WAAW,CAAC,IAAI,CAAC;IAqC5C,aAAa,IAAI,IAAI,GAAG,SAAS;IAI1C,IAAI,QAAQ,IAAI,MAAM,CAOrB;CACF"}
1
+ {"version":3,"file":"QueryBuilderProjectionColumnState.d.ts","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAUH,OAAO,EACL,KAAK,WAAW,EAMhB,KAAK,QAAQ,EAEb,WAAW,EACZ,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,KAAK,wCAAwC,EAE9C,MAAM,gDAAgD,CAAC;AACxD,OAAO,EAEL,mCAAmC,EACpC,MAAM,6CAA6C,CAAC;AACrD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AACvE,OAAO,EACL,KAAK,0BAA0B,EAC/B,KAAK,IAAI,EACT,KAAK,kBAAkB,EAOvB,SAAS,EAIV,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AAC9E,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAMvE,OAAO,EAAE,iBAAiB,EAAE,MAAM,sCAAsC,CAAC;AAGzE,eAAO,MAAM,wCAAwC,sBAAsB,CAAC;AAE5E,MAAM,WAAW,sCAAsC;IACrD,WAAW,EAAE,iCAAiC,CAAC;CAChD;AAED,8BAAsB,iCACpB,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;IAEnB,2BAA2B,EAAE,2CAA2C,CAAC;IACzE,MAAM,EAAE,SAAS,CAAC;IAClB,UAAU,EAAE,IAAI,GAAG,SAAS,CAAC;IAC7B,6BAA6B,cAAwB;gBAEzC,QAAQ,EAAE,oBAAoB,EAAE,MAAM,EAAE,SAAS;IAoB7D,SAAS,CAAC,GAAG,EAAE,SAAS,GAAG,IAAI;IAI/B,aAAa,CAAC,GAAG,EAAE,IAAI,GAAG,SAAS,GAAG,IAAI;IAI1C;;;;OAIG;IACF,+BAA+B,CAAC,OAAO,CAAC,EAAE;QACzC,YAAY,CAAC,EAAE,OAAO,CAAC;QACvB,6BAA6B,CAAC,EAAE,OAAO,CAAC;QACxC,cAAc,CAAC,EAAE,OAAO,CAAC;KAC1B,GAAG,WAAW,CAAC,IAAI,CAAC;IA2CrB,oBAAoB,IAAI,SAAS;IAyBjC,mBAAmB,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI;IAW9B,aAAa,IAAI,IAAI,GAAG,SAAS;IAI1C,IAAI,QAAQ,IAAI,MAAM,CAOrB;CACF"}
@@ -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 { action, makeObservable, observable, flow, computed } from 'mobx';
17
- import { LogEvent, assertErrorThrown, guaranteeNonNullable, assertTrue, assertNonEmptyString, hashArray, } from '@finos/legend-shared';
16
+ import { action, makeObservable, observable, flow, computed, flowResult, } from 'mobx';
17
+ import { LogEvent, assertErrorThrown, guaranteeNonNullable, assertTrue, assertNonEmptyString, hashArray, ActionState, } from '@finos/legend-shared';
18
18
  import { buildPropertyExpressionFromExplorerTreeNodeData, } from '../../../explorer/QueryBuilderExplorerState.js';
19
19
  import { getPropertyChainName, QueryBuilderPropertyExpressionState, } from '../../../QueryBuilderPropertyEditorState.js';
20
20
  import { PackageableElementExplicitReference, GRAPH_MANAGER_EVENT, buildSourceInformationSourceId, ParserError, RawVariableExpression, Enumeration, RawLambda, stub_RawLambda, Multiplicity, PrimitiveType, } from '@finos/legend-graph';
@@ -154,13 +154,16 @@ export class QueryBuilderDerivationProjectionColumnState extends QueryBuilderPro
154
154
  derivationLambdaEditorState;
155
155
  lambda;
156
156
  returnType;
157
+ fetchingLambdaReturnTypeState = ActionState.create();
157
158
  constructor(tdsState, lambda) {
158
159
  super(tdsState, '(derivation)');
159
160
  makeObservable(this, {
160
161
  lambda: observable,
161
162
  returnType: observable,
163
+ fetchingLambdaReturnTypeState: observable,
162
164
  setLambda: action,
163
165
  fetchDerivationLambdaReturnType: flow,
166
+ setLambdaReturnType: action,
164
167
  });
165
168
  this.derivationLambdaEditorState =
166
169
  new QueryBuilderDerivationProjectionLambdaState(tdsState.queryBuilderState, this);
@@ -177,10 +180,39 @@ export class QueryBuilderDerivationProjectionColumnState extends QueryBuilderPro
177
180
  * Throws error if unable to fetch type or if type is not primitive or an enumeration
178
181
  * as expected by a projection column
179
182
  */
180
- *fetchDerivationLambdaReturnType() {
183
+ *fetchDerivationLambdaReturnType(options) {
184
+ if (!options?.forceRefresh && this.returnType !== undefined) {
185
+ return;
186
+ }
187
+ try {
188
+ assertTrue(!this.fetchingLambdaReturnTypeState.isInProgress, 'Fetching lambda return type already in progress');
189
+ this.fetchingLambdaReturnTypeState.inProgress();
190
+ if (options?.isBeingDropped) {
191
+ this.tdsState.postFilterState.setDerivedColumnBeingDropped(this);
192
+ }
193
+ if (options?.forceConversionStringToLambda) {
194
+ yield flowResult(this.derivationLambdaEditorState.convertLambdaGrammarStringToObject()).catch(this.tdsState.queryBuilderState.applicationStore.alertUnhandledError);
195
+ }
196
+ assertTrue(Array.isArray(this.lambda.parameters));
197
+ const graph = this.tdsState.queryBuilderState.graphManagerState.graph;
198
+ const isolatedLambda = this.getIsolatedRawLambda();
199
+ const type = (yield this.tdsState.queryBuilderState.graphManagerState.graphManager.getLambdaReturnType(isolatedLambda, graph));
200
+ this.setLambdaReturnType(type);
201
+ }
202
+ catch (error) {
203
+ assertErrorThrown(error);
204
+ this.tdsState.queryBuilderState.applicationStore.logService.info(LogEvent.create(GRAPH_MANAGER_EVENT.COMPILATION_FAILURE), error);
205
+ }
206
+ finally {
207
+ this.fetchingLambdaReturnTypeState.complete();
208
+ if (options?.isBeingDropped) {
209
+ this.tdsState.postFilterState.setDerivedColumnBeingDropped(undefined);
210
+ }
211
+ }
212
+ }
213
+ getIsolatedRawLambda() {
181
214
  assertTrue(Array.isArray(this.lambda.parameters));
182
215
  const projectionParameter = this.lambda.parameters;
183
- const graph = this.tdsState.queryBuilderState.graphManagerState.graph;
184
216
  assertTrue(projectionParameter.length === 1);
185
217
  const variable = projectionParameter[0];
186
218
  assertNonEmptyString(variable.name);
@@ -188,8 +220,10 @@ export class QueryBuilderDerivationProjectionColumnState extends QueryBuilderPro
188
220
  const rawVariableExpression = new RawVariableExpression(variable.name, Multiplicity.ONE, PackageableElementExplicitReference.create(guaranteeNonNullable(this.tdsState.queryBuilderState.class)));
189
221
  const _rawVariableExpression = this.tdsState.queryBuilderState.graphManagerState.graphManager.serializeRawValueSpecification(rawVariableExpression);
190
222
  const isolatedLambda = new RawLambda([_rawVariableExpression], this.lambda.body);
191
- const type = (yield this.tdsState.queryBuilderState.graphManagerState.graphManager.getLambdaReturnType(isolatedLambda, graph));
192
- const resolvedType = graph.getType(type);
223
+ return isolatedLambda;
224
+ }
225
+ setLambdaReturnType(type) {
226
+ const resolvedType = this.tdsState.queryBuilderState.graphManagerState.graph.getType(type);
193
227
  assertTrue(resolvedType instanceof PrimitiveType ||
194
228
  resolvedType instanceof Enumeration, 'Projection column must have return type of either primitve type or enumeration');
195
229
  this.setReturnType(resolvedType);
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderProjectionColumnState.js","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,UAAU,EAAE,IAAI,EAAE,QA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OAAO,SAAS,CAAC;YACf,kCAAkC,CAAC,kCAAkC;YACrE,IAAI,CAAC,UAAU,IAAI,EAAE;YACrB,IAAI,CAAC,MAAM;YACX,IAAI,CAAC,UAAU;SAChB,CAAC,CAAC;IACL,CAAC;CACF"}
1
+ {"version":3,"file":"QueryBuilderProjectionColumnState.js","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,MAAM,EACN,cAAc,EACd,UAAU,EACV,IAAI,EACJ,QAAQ,EACR,UAAU,GACX,MAAM,MAAM,CAAC;AACd,OAAO,EAEL,QAAQ,EACR,iBAAiB,EACjB,oBAAoB,EACpB,UAAU,EACV,oBAAoB,EAEpB,SAAS,EACT,WAAW,GACZ,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAEL,+CAA+C,GAChD,MAAM,gDAAgD,CAAC;AACxD,OAAO,EACL,oBAAoB,EACpB,mCAAmC,GACpC,MAAM,6CAA6C,CAAC;AAErD,OAAO,EAIL,mCAAmC,EACnC,mBAAmB,EACnB,8BAA8B,EAC9B,WAAW,EACX,qBAAqB,EACrB,WAAW,EACX,SAAS,EACT,cAAc,EACd,YAAY,EACZ,aAAa,GACd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AAE9E,OAAO,EACL,4BAA4B,EAC5B,6BAA6B,GAC9B,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAAE,kCAAkC,EAAE,MAAM,wCAAwC,CAAC;AAC5F,OAAO,EAAE,iBAAiB,EAAE,MAAM,sCAAsC,CAAC;AACzE,OAAO,EAAE,kCAAkC,EAAE,MAAM,kDAAkD,CAAC;AAEtG,MAAM,CAAC,MAAM,wCAAwC,GAAG,mBAAmB,CAAC;AAM5E,MAAM,OAAgB,iCACpB,SAAQ,0BAA0B;IAGlC,QAAQ,CAAuB;IAC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BAAiB,CAAC,iBAAiB,CAAC,YAAY,CAAC,8BAA8B,CAC3F,qBAAqB,CACtB,CAAC;QACJ,MAAM,cAAc,GAAG,IAAI,SAAS,CAClC,CAAC,sBAAsB,CAAC,EACxB,IAAI,CAAC,MAAM,CAAC,IAAI,CACjB,CAAC;QACF,OAAO,cAAc,CAAC;IACxB,CAAC;IAED,mBAAmB,CAAC,IAAY;QAC9B,MAAM,YAAY,GAChB,IAAI,CAAC,QAAQ,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;QACxE,UAAU,CACR,YAAY,YAAY,aAAa;YACnC,YAAY,YAAY,WAAW,EACrC,gFAAgF,CACjF,CAAC;QACF,IAAI,CAAC,aAAa,CAAC,YAAY,CAAC,CAAC;IACnC,CAAC;IAEQ,aAAa;QACpB,OAAO,IAAI,CAAC,UAAU,CAAC;IACzB,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,kCAAkC,CAAC,kCAAkC;YACrE,IAAI,CAAC,UAAU,IAAI,EAAE;YACrB,IAAI,CAAC,MAAM;YACX,IAAI,CAAC,UAAU;SAChB,CAAC,CAAC;IACL,CAAC;CACF"}
@@ -22,6 +22,7 @@ export declare class QueryBuilderBitemporalMilestoningImplementation extends Que
22
22
  initializeMilestoningParameters(force?: boolean): void;
23
23
  processGetAllParamaters(parameterValues: ValueSpecification[]): void;
24
24
  buildGetAllParameters(getAllFunction: SimpleFunctionExpression): void;
25
+ buildGetAllWithDefaultParameters(getAllFunction: SimpleFunctionExpression): void;
25
26
  generateMilestoningDate(isDatePropagationSupported: boolean, hasDefaultMilestoningDate: boolean, prevPropertyExpression: AbstractPropertyExpression | undefined, temporalSource: MILESTONING_STEREOTYPE | undefined, idx?: number, derivedPropertyExpressionState?: QueryBuilderDerivedPropertyExpressionState): ValueSpecification;
26
27
  }
27
28
  //# sourceMappingURL=QueryBuilderBitemporalMilestoningImplementation.d.ts.map
@@ -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,EAEvB,MAAM,qBAAqB,CAAC;AAO7B,OAAO,KAAK,EAAE,0CAA0C,EAAE,MAAM,uCAAuC,CAAC;AACxG,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,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,EAGvB,MAAM,qBAAqB,CAAC;AAQ7B,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,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,9 +13,11 @@
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, } from '@finos/legend-graph';
16
+ import { PROCESSING_DATE_MILESTONING_PROPERTY_NAME, BUSINESS_DATE_MILESTONING_PROPERTY_NAME, AbstractPropertyExpression, MILESTONING_STEREOTYPE, INTERNAL__PropagatedValue, PrimitiveType, } from '@finos/legend-graph';
17
17
  import { assertTrue, guaranteeNonNullable, guaranteeType, } from '@finos/legend-shared';
18
18
  import { getParameterValue } from '../../components/QueryBuilderSideBar.js';
19
+ import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../graph/QueryBuilderMetaModelConst.js';
20
+ import { createSupportedFunctionExpression } from '../shared/ValueSpecificationEditorHelper.js';
19
21
  import { QueryBuilderMilestoningImplementation } from './QueryBuilderMilestoningImplementation.js';
20
22
  export class QueryBuilderBitemporalMilestoningImplementation extends QueryBuilderMilestoningImplementation {
21
23
  getMilestoningDate(index) {
@@ -48,6 +50,11 @@ export class QueryBuilderBitemporalMilestoningImplementation extends QueryBuilde
48
50
  getAllFunction.parametersValues.push(guaranteeNonNullable(this.getMilestoningDate(0), `Milestoning class should have a parameter of type 'Date'`));
49
51
  getAllFunction.parametersValues.push(guaranteeNonNullable(this.getMilestoningDate(1), `Milestoning class should have a parameter of type 'Date'`));
50
52
  }
53
+ buildGetAllWithDefaultParameters(getAllFunction) {
54
+ const parameterValue = createSupportedFunctionExpression(QUERY_BUILDER_SUPPORTED_FUNCTIONS.NOW, PrimitiveType.DATETIME);
55
+ getAllFunction.parametersValues.push(parameterValue);
56
+ getAllFunction.parametersValues.push(parameterValue);
57
+ }
51
58
  generateMilestoningDate(isDatePropagationSupported, hasDefaultMilestoningDate, prevPropertyExpression, temporalSource, idx, derivedPropertyExpressionState) {
52
59
  this.initializeMilestoningParameters();
53
60
  if (idx === 0) {
@@ -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,GAC1B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,UAAU,EACV,oBAAoB,EACpB,aAAa,GACd,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,iBAAiB,EAAE,MAAM,yCAAyC,CAAC;AAE5E,OAAO,EAAE,qCAAqC,EAAE,MAAM,4CAA4C,CAAC;AAEnG,MAAM,OAAO,+CAAgD,SAAQ,qCAAqC;IACx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AE,eAAe,CAAC,MAAM,KAAK,CAAC,EAC5D;gBACA,OAAO,IAAI,yBAAyB,CAAC,GAAG,EAAE,CACxC,oBAAoB,CAClB,aAAa,CACX,8BAA8B,CAAC,kBAAkB;qBAC9C,gBAAgB,CAAC,CAAC,CAAC,EACtB,0BAA0B,CAC3B,CAAC,gBAAgB,CAAC,CAAC,CAAC,CACtB,CACF,CAAC;aACH;YACD,IAAI,SAAS,CAAC;YACd,IACE,0BAA0B;gBAC1B,sBAAsB;gBACtB,CAAC,yBAAyB,EAC1B;gBACA,SAAS,GAAG,IAAI,yBAAyB,CAAC,GAAG,EAAE,CAC7C,oBAAoB,CAAC,sBAAsB,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,CACjE,CAAC;aACH;iBAAM;gBACL,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;aAChC;YACD,OAAO,SAAS,CAAC;SAClB;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,GACd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,UAAU,EACV,oBAAoB,EACpB,aAAa,GACd,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,iBAAiB,EAAE,MAAM,yCAAyC,CAAC;AAC5E,OAAO,EAAE,iCAAiC,EAAE,MAAM,2CAA2C,CAAC;AAE9F,OAAO,EA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sB,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,CACjE,CAAC;aACH;iBAAM;gBACL,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;aAChC;YACD,OAAO,SAAS,CAAC;SAClB;aAAM;YACL,IACE,cAAc,KAAK,sBAAsB,CAAC,iBAAiB;gBAC3D,8BAA8B,EAAE,eAAe,CAAC,MAAM,KAAK,CAAC,EAC5D;gBACA,OAAO,IAAI,yBAAyB,CAAC,GAAG,EAAE,CACxC,oBAAoB,CAClB,aAAa,CACX,8BAA8B,CAAC,kBAAkB;qBAC9C,gBAAgB,CAAC,CAAC,CAAC,EACtB,0BAA0B,CAC3B,CAAC,gBAAgB,CAAC,CAAC,CAAC,CACtB,CACF,CAAC;aACH;YACD,IAAI,SAAS,CAAC;YACd,IACE,0BAA0B;gBAC1B,sBAAsB;gBACtB,CAAC,yBAAyB,EAC1B;gBACA,SAAS,GAAG,IAAI,yBAAyB,CAAC,GAAG,EAAE,CAC7C,oBAAoB,CAAC,sBAAsB,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,CACjE,CAAC;aACH;iBAAM;gBACL,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;aAChC;YACD,OAAO,SAAS,CAAC;SAClB;IACH,CAAC;CACF"}
@@ -21,6 +21,7 @@ export declare class QueryBuilderBusinessTemporalMilestoningImplementation exten
21
21
  initializeMilestoningParameters(force?: boolean): void;
22
22
  processGetAllParamaters(parameterValues: ValueSpecification[]): void;
23
23
  buildGetAllParameters(getAllFunction: SimpleFunctionExpression): void;
24
+ buildGetAllWithDefaultParameters(getAllFunction: SimpleFunctionExpression): void;
24
25
  generateMilestoningDate(isDatePropagationSupported: boolean, hasDefaultMilestoningDate: boolean, prevPropertyExpression: AbstractPropertyExpression | undefined, temporalSource: MILESTONING_STEREOTYPE | undefined): ValueSpecification;
25
26
  }
26
27
  //# sourceMappingURL=QueryBuilderBusinessTemporalMilestoningImplementation.d.ts.map
@@ -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,EAEvB,MAAM,qBAAqB,CAAC;AAG7B,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,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,EAGvB,MAAM,qBAAqB,CAAC;AAK7B,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,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,9 +13,11 @@
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, } from '@finos/legend-graph';
16
+ import { BUSINESS_DATE_MILESTONING_PROPERTY_NAME, MILESTONING_STEREOTYPE, INTERNAL__PropagatedValue, PrimitiveType, } from '@finos/legend-graph';
17
17
  import { assertTrue, guaranteeNonNullable } from '@finos/legend-shared';
18
18
  import { getParameterValue } from '../../components/QueryBuilderSideBar.js';
19
+ import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../graph/QueryBuilderMetaModelConst.js';
20
+ import { createSupportedFunctionExpression } from '../shared/ValueSpecificationEditorHelper.js';
19
21
  import { QueryBuilderMilestoningImplementation } from './QueryBuilderMilestoningImplementation.js';
20
22
  export class QueryBuilderBusinessTemporalMilestoningImplementation extends QueryBuilderMilestoningImplementation {
21
23
  getMilestoningDate() {
@@ -38,6 +40,10 @@ export class QueryBuilderBusinessTemporalMilestoningImplementation extends Query
38
40
  buildGetAllParameters(getAllFunction) {
39
41
  getAllFunction.parametersValues.push(guaranteeNonNullable(this.getMilestoningDate(), `Milestoning class should have a parameter of type 'Date'`));
40
42
  }
43
+ buildGetAllWithDefaultParameters(getAllFunction) {
44
+ const parameterValue = createSupportedFunctionExpression(QUERY_BUILDER_SUPPORTED_FUNCTIONS.NOW, PrimitiveType.DATETIME);
45
+ getAllFunction.parametersValues.push(parameterValue);
46
+ }
41
47
  generateMilestoningDate(isDatePropagationSupported, hasDefaultMilestoningDate, prevPropertyExpression, temporalSource) {
42
48
  this.initializeMilestoningParameters();
43
49
  if (isDatePropagationSupported &&
@@ -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,GAC1B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,UAAU,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AACxE,OAAO,EAAE,iBAAiB,EAAE,MAAM,yCAAyC,CAAC;AAC5E,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;IA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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;SACxB;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,GACd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,UAAU,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AACxE,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;YAChD,IAAI,CAAC,gBAAgB,CAAC,eAAe,CACnC,IAAI,CAAC,gBAAgB,CAAC,yBAAyB,CAC7C,uCAAuC,CACxC,CACF,CAAC;SACH;QACD,4FAA4F;QAC5F,IAAI,CAAC,gBAAgB,C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AC;YACF,eAAe,CAAC,iBAAiB,GAAG,yBAAyB;gBAC3D,CAAC,CAAC,KAAK;gBACP,CAAC,CAAC,0BAA0B,CAAC;YAC/B,OAAO,eAAe,CAAC;SACxB;IACH,CAAC;CACF"}
@@ -41,6 +41,10 @@ export declare abstract class QueryBuilderMilestoningImplementation {
41
41
  * Builds parameters for getAll() function with milestoned class
42
42
  */
43
43
  abstract buildGetAllParameters(getAllFunction: SimpleFunctionExpression): void;
44
+ /**
45
+ * Builds parameters for getAll() function with milestoned class
46
+ */
47
+ abstract buildGetAllWithDefaultParameters(getAllFunction: SimpleFunctionExpression): void;
44
48
  /**
45
49
  * Generates milestoning date for a propertyexpression based on its source and target stereotype
46
50
  */
@@ -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,EAC1B,sBAAsB,EACvB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAE,0CAA0C,EAAE,MAAM,uCAAuC,CAAC;AACxG,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AAEtF,8BAAsB,qCAAqC;IACzD,gBAAgB,EAAE,4BAA4B,CAAC;IAC/C,QAAQ,CAAC,UAAU,EAAE,sBAAsB,CAAC;gBAG1C,4BAA4B,EAAE,4BAA4B,EAC1D,UAAU,EAAE,sBAAsB;IAMpC;;OAEG;IACH,QAAQ,CAAC,kBAAkB,CAAC,KAAK,CAAC,EAAE,MAAM,GAAG,kBAAkB,GAAG,SAAS;IAE3E;;OAEG;IACH,QAAQ,CAAC,yBAAyB,IAAI,MAAM;IAE5C;;;OAGG;IACH,QAAQ,CAAC,+BAA+B,CAAC,KAAK,CAAC,EAAE,OAAO,GAAG,IAAI;IAE/D;;OAEG;IACH,QAAQ,CAAC,uBAAuB,CAAC,eAAe,EAAE,kBAAkB,EAAE,GAAG,IAAI;IAE7E;;OAEG;IACH,QAAQ,CAAC,qBAAqB,CAC5B,cAAc,EAAE,wBAAwB,GACvC,IAAI;IAEP;;OAEG;IACH,QAAQ,CAAC,uBAAuB,CAC9B,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;CACtB"}
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,EAC1B,sBAAsB,EACvB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAE,0CAA0C,EAAE,MAAM,uCAAuC,CAAC;AACxG,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AAEtF,8BAAsB,qCAAqC;IACzD,gBAAgB,EAAE,4BAA4B,CAAC;IAC/C,QAAQ,CAAC,UAAU,EAAE,sBAAsB,CAAC;gBAG1C,4BAA4B,EAAE,4BAA4B,EAC1D,UAAU,EAAE,sBAAsB;IAMpC;;OAEG;IACH,QAAQ,CAAC,kBAAkB,CAAC,KAAK,CAAC,EAAE,MAAM,GAAG,kBAAkB,GAAG,SAAS;IAE3E;;OAEG;IACH,QAAQ,CAAC,yBAAyB,IAAI,MAAM;IAE5C;;;OAGG;IACH,QAAQ,CAAC,+BAA+B,CAAC,KAAK,CAAC,EAAE,OAAO,GAAG,IAAI;IAE/D;;OAEG;IACH,QAAQ,CAAC,uBAAuB,CAAC,eAAe,EAAE,kBAAkB,EAAE,GAAG,IAAI;IAE7E;;OAEG;IACH,QAAQ,CAAC,qBAAqB,CAC5B,cAAc,EAAE,wBAAwB,GACvC,IAAI;IAEP;;OAEG;IACH,QAAQ,CAAC,gCAAgC,CACvC,cAAc,EAAE,wBAAwB,GACvC,IAAI;IAEP;;OAEG;IACH,QAAQ,CAAC,uBAAuB,CAC9B,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;CACtB"}
@@ -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;CAyCF"}
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;CAgDF"}
@@ -21,6 +21,7 @@ export declare class QueryBuilderProcessingTemporalMilestoningImplementation ext
21
21
  initializeMilestoningParameters(force?: boolean): void;
22
22
  processGetAllParamaters(parameterValues: ValueSpecification[]): void;
23
23
  buildGetAllParameters(getAllFunction: SimpleFunctionExpression): void;
24
+ buildGetAllWithDefaultParameters(getAllFunction: SimpleFunctionExpression): void;
24
25
  generateMilestoningDate(isDatePropagationSupported: boolean, hasDefaultMilestoningDate: boolean, prevPropertyExpression: AbstractPropertyExpression | undefined): ValueSpecification;
25
26
  }
26
27
  //# sourceMappingURL=QueryBuilderProcessingTemporalMilestoningImplementation.d.ts.map
@@ -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,EAEhC,MAAM,qBAAqB,CAAC;AAG7B,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,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,EAGhC,MAAM,qBAAqB,CAAC;AAK7B,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,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,9 +13,11 @@
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, } from '@finos/legend-graph';
16
+ import { PROCESSING_DATE_MILESTONING_PROPERTY_NAME, INTERNAL__PropagatedValue, PrimitiveType, } from '@finos/legend-graph';
17
17
  import { assertTrue, guaranteeNonNullable } from '@finos/legend-shared';
18
18
  import { getParameterValue } from '../../components/QueryBuilderSideBar.js';
19
+ import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../graph/QueryBuilderMetaModelConst.js';
20
+ import { createSupportedFunctionExpression } from '../shared/ValueSpecificationEditorHelper.js';
19
21
  import { QueryBuilderMilestoningImplementation } from './QueryBuilderMilestoningImplementation.js';
20
22
  export class QueryBuilderProcessingTemporalMilestoningImplementation extends QueryBuilderMilestoningImplementation {
21
23
  getMilestoningDate() {
@@ -38,6 +40,10 @@ export class QueryBuilderProcessingTemporalMilestoningImplementation extends Que
38
40
  buildGetAllParameters(getAllFunction) {
39
41
  getAllFunction.parametersValues.push(guaranteeNonNullable(this.getMilestoningDate(), `Milestoning class should have a parameter of type 'Date'`));
40
42
  }
43
+ buildGetAllWithDefaultParameters(getAllFunction) {
44
+ const parameterValue = createSupportedFunctionExpression(QUERY_BUILDER_SUPPORTED_FUNCTIONS.NOW, PrimitiveType.DATETIME);
45
+ getAllFunction.parametersValues.push(parameterValue);
46
+ }
41
47
  generateMilestoningDate(isDatePropagationSupported, hasDefaultMilestoningDate, prevPropertyExpression) {
42
48
  this.initializeMilestoningParameters();
43
49
  if (isDatePropagationSupported &&
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderProcessingTemporalMilestoningImplementation.js","sourceRoot":"","sources":["../../../src/stores/milestoning/QueryBuilderProcessingTemporalMilestoningImplementation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,yCAAyC,EAGzC,yBAAyB,GAC1B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,UAAU,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AACxE,OAAO,EAAE,iBAAiB,EAAE,MAAM,yCAAyC,CAAC;AAC5E,OAAO,EAAE,qCAAqC,EAAE,MAAM,4CAA4C,CAAC;AAEnG,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;YAClD,IAAI,CAAC,gBAAgB,CAAC,iBAAiB,CACrC,IAAI,CAAC,gBAAgB,CAAC,yBAAyB,CAC7C,yCAAyC,CAC1C,CACF,CAAC;SACH;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,CAAC,EAC5B,mGAAmG,CACpG,CAAC;QACF,IAAI,CAAC,gBAAgB,CAAC,iBAAiB,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,CAAC;IAC9D,CAAC;IAED,qBAAqB,CAAC,cAAwC;QAC5D,cAAc,CAAC,gBAAgB,CAAC,IAAI,CAClC,oBAAoB,CAClB,IAAI,CAAC,kBAAkB,EAAE,EACzB,0DAA0D,CAC3D,CACF,CAAC;IACJ,CAAC;IAED,uBAAuB,CACrB,0BAAmC,EACnC,yBAAkC,EAClC,sBAA8D;QAE9D,IAAI,CAAC,+BAA+B,EAAE,CAAC;QACvC,IACE,0BAA0B;YAC1B,sBAAsB;YACtB,CAAC,yBAAyB,EAC1B;YACA,OAAO,IAAI,yBAAyB,CAAC,GAAG,EAAE,CACxC,oBAAoB,CAAC,sBAAsB,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,CACjE,CAAC;SACH;aAAM;YACL,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;SACxB;IACH,CAAC;CACF"}
1
+ {"version":3,"file":"QueryBuilderProcessingTemporalMilestoningImplementation.js","sourceRoot":"","sources":["../../../src/stores/milestoning/QueryBuilderProcessingTemporalMilestoningImplementation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,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;IACJ,CAAC;IAED,gCAAgC,CAC9B,cAAwC;QAExC,MAAM,cAAc,GAAG,iCAAiC,CACtD,iCAAiC,CAAC,GAAG,EACrC,aAAa,CAAC,QAAQ,CACvB,CAAC;QACF,cAAc,CAAC,gBAAgB,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;IACvD,CAAC;IAED,uBAAuB,CACrB,0BAAmC,EACnC,yBAAkC,EAClC,sBAA8D;QAE9D,IAAI,CAAC,+BAA+B,EAAE,CAAC;QACvC,IACE,0BAA0B;YAC1B,sBAAsB;YACtB,CAAC,yBAAyB,EAC1B;YACA,OAAO,IAAI,yBAAyB,CAAC,GAAG,EAAE,CACxC,oBAAoB,CAAC,sBAAsB,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,CACjE,CAAC;SACH;aAAM;YACL,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;SACxB;IACH,CAAC;CACF"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-query-builder",
3
- "version": "4.7.4",
3
+ "version": "4.9.0",
4
4
  "description": "Legend query builder core",
5
5
  "keywords": [
6
6
  "legend",
@@ -44,8 +44,8 @@
44
44
  "dependencies": {
45
45
  "@finos/legend-application": "15.0.43",
46
46
  "@finos/legend-art": "7.0.43",
47
- "@finos/legend-graph": "31.2.3",
48
- "@finos/legend-lego": "1.1.32",
47
+ "@finos/legend-graph": "31.3.1",
48
+ "@finos/legend-lego": "1.1.34",
49
49
  "@finos/legend-server-depot": "6.0.30",
50
50
  "@finos/legend-shared": "10.0.26",
51
51
  "@finos/legend-storage": "3.0.76",