@finos/legend-query-builder 4.14.41 → 4.14.44
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/components/QueryBuilderParametersPanel.d.ts.map +1 -1
- package/lib/components/QueryBuilderParametersPanel.js +2 -20
- package/lib/components/QueryBuilderParametersPanel.js.map +1 -1
- package/lib/components/QueryBuilderSideBar.d.ts.map +1 -1
- package/lib/components/QueryBuilderSideBar.js +14 -5
- package/lib/components/QueryBuilderSideBar.js.map +1 -1
- package/lib/components/explorer/QueryBuilderMilestoningEditor.d.ts +0 -5
- package/lib/components/explorer/QueryBuilderMilestoningEditor.d.ts.map +1 -1
- package/lib/components/explorer/QueryBuilderMilestoningEditor.js +5 -10
- package/lib/components/explorer/QueryBuilderMilestoningEditor.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.d.ts.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.js +3 -35
- package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.d.ts.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.js +1 -19
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.js.map +1 -1
- package/lib/components/result/QueryBuilderResultPanel.d.ts.map +1 -1
- package/lib/components/result/QueryBuilderResultPanel.js +1 -2
- package/lib/components/result/QueryBuilderResultPanel.js.map +1 -1
- package/lib/components/shared/BasicValueSpecificationEditor.d.ts.map +1 -1
- package/lib/components/shared/BasicValueSpecificationEditor.js +9 -7
- package/lib/components/shared/BasicValueSpecificationEditor.js.map +1 -1
- package/lib/components/shared/QueryBuilderVariableSelector.d.ts.map +1 -1
- package/lib/components/shared/QueryBuilderVariableSelector.js +1 -8
- package/lib/components/shared/QueryBuilderVariableSelector.js.map +1 -1
- package/lib/index.css +2 -2
- package/lib/index.css.map +1 -1
- package/lib/package.json +1 -1
- package/lib/stores/QueryBuilderPreviewDataHelper.d.ts.map +1 -1
- package/lib/stores/QueryBuilderPreviewDataHelper.js +2 -2
- package/lib/stores/QueryBuilderPreviewDataHelper.js.map +1 -1
- package/lib/stores/QueryBuilderPropertyEditorState.d.ts +0 -1
- package/lib/stores/QueryBuilderPropertyEditorState.d.ts.map +1 -1
- package/lib/stores/QueryBuilderPropertyEditorState.js +1 -2
- package/lib/stores/QueryBuilderPropertyEditorState.js.map +1 -1
- package/lib/stores/QueryBuilderState.d.ts.map +1 -1
- package/lib/stores/QueryBuilderState.js +0 -12
- package/lib/stores/QueryBuilderState.js.map +1 -1
- package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.d.ts +0 -1
- package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js +0 -8
- package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.d.ts +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.js +12 -1
- package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.js.map +1 -1
- package/lib/stores/milestoning/QueryBuilderMilestoningHelper.d.ts +0 -1
- package/lib/stores/milestoning/QueryBuilderMilestoningHelper.d.ts.map +1 -1
- package/lib/stores/milestoning/QueryBuilderMilestoningHelper.js +0 -16
- package/lib/stores/milestoning/QueryBuilderMilestoningHelper.js.map +1 -1
- package/lib/stores/milestoning/QueryBuilderMilestoningState.d.ts +0 -3
- package/lib/stores/milestoning/QueryBuilderMilestoningState.d.ts.map +1 -1
- package/lib/stores/milestoning/QueryBuilderMilestoningState.js +3 -49
- package/lib/stores/milestoning/QueryBuilderMilestoningState.js.map +1 -1
- package/package.json +1 -1
- package/src/components/QueryBuilderParametersPanel.tsx +0 -55
- package/src/components/QueryBuilderSideBar.tsx +35 -0
- package/src/components/explorer/QueryBuilderMilestoningEditor.tsx +46 -60
- package/src/components/fetch-structure/QueryBuilderResultModifierPanel.tsx +3 -53
- package/src/components/fetch-structure/QueryBuilderTDSPanel.tsx +19 -132
- package/src/components/result/QueryBuilderResultPanel.tsx +1 -9
- package/src/components/shared/BasicValueSpecificationEditor.tsx +29 -18
- package/src/components/shared/QueryBuilderVariableSelector.tsx +0 -22
- package/src/stores/QueryBuilderPreviewDataHelper.ts +2 -1
- package/src/stores/QueryBuilderPropertyEditorState.ts +1 -2
- package/src/stores/QueryBuilderState.ts +0 -14
- package/src/stores/fetch-structure/tds/QueryBuilderTDSState.ts +0 -11
- package/src/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.ts +26 -1
- package/src/stores/milestoning/QueryBuilderMilestoningHelper.ts +0 -24
- package/src/stores/milestoning/QueryBuilderMilestoningState.ts +7 -65
@@ -106,7 +106,7 @@ export class QueryBuilderAggregationState {
|
|
106
106
|
addColumn(val) {
|
107
107
|
addUniqueEntry(this.columns, val);
|
108
108
|
}
|
109
|
-
changeColumnAggregateOperator(val, projectionColumnState) {
|
109
|
+
changeColumnAggregateOperator(val, projectionColumnState, hideOperatorInColumnName) {
|
110
110
|
const aggregateColumnState = this.columns.find((column) => column.projectionColumnState === projectionColumnState);
|
111
111
|
const aggreateOperators = this.operators.filter((op) => op.isCompatibleWithColumn(projectionColumnState));
|
112
112
|
if (val) {
|
@@ -114,9 +114,16 @@ export class QueryBuilderAggregationState {
|
|
114
114
|
return;
|
115
115
|
}
|
116
116
|
if (aggregateColumnState) {
|
117
|
+
if (!hideOperatorInColumnName) {
|
118
|
+
const colName = aggregateColumnState.projectionColumnState.columnName.split(`(${aggregateColumnState.operator.getLabel(aggregateColumnState.projectionColumnState)})`)[0] ?? '';
|
119
|
+
aggregateColumnState.projectionColumnState.setColumnName(`${colName} (${val.getLabel(projectionColumnState)})`);
|
120
|
+
}
|
117
121
|
aggregateColumnState.setOperator(val);
|
118
122
|
}
|
119
123
|
else {
|
124
|
+
if (!hideOperatorInColumnName) {
|
125
|
+
projectionColumnState.setColumnName(`${projectionColumnState.columnName} (${val.getLabel(projectionColumnState)})`);
|
126
|
+
}
|
120
127
|
const newAggregateColumnState = new QueryBuilderAggregateColumnState(this, projectionColumnState, val);
|
121
128
|
newAggregateColumnState.setOperator(val);
|
122
129
|
this.addColumn(newAggregateColumnState);
|
@@ -131,6 +138,10 @@ export class QueryBuilderAggregationState {
|
|
131
138
|
if (aggregateColumnState) {
|
132
139
|
// automatically move the column to the last position before the aggregate columns
|
133
140
|
// NOTE: `moveColumn` will take care of this placement calculation
|
141
|
+
if (!hideOperatorInColumnName) {
|
142
|
+
const colName = aggregateColumnState.projectionColumnState.columnName.split(`(${aggregateColumnState.operator.getLabel(aggregateColumnState.projectionColumnState)})`)[0] ?? '';
|
143
|
+
aggregateColumnState.projectionColumnState.setColumnName(colName);
|
144
|
+
}
|
134
145
|
this.tdsState.moveColumn(this.tdsState.projectionColumns.indexOf(projectionColumnState), 0);
|
135
146
|
this.removeColumn(aggregateColumnState);
|
136
147
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderAggregationState.js","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AACpE,OAAO,EACL,WAAW,EACX,cAAc,EAEd,SAAS,GACV,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AAG9E,OAAO,EACL,2CAA2C,GAE5C,MAAM,oDAAoD,CAAC;AAC5D,OAAO,EAAE,kCAAkC,EAAE,MAAM,wCAAwC,CAAC;AAC5F,OAAO,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AAG9E,MAAM,OAAO,gCACX,SAAQ,0BAA0B;IAGzB,gBAAgB,C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"version":3,"file":"QueryBuilderAggregationState.js","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AACpE,OAAO,EACL,WAAW,EACX,cAAc,EAEd,SAAS,GACV,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AAG9E,OAAO,EACL,2CAA2C,GAE5C,MAAM,oDAAoD,CAAC;AAC5D,OAAO,EAAE,kCAAkC,EAAE,MAAM,wCAAwC,CAAC;AAC5F,OAAO,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AAG9E,MAAM,OAAO,gCACX,SAAQ,0BAA0B;IAGzB,gBAAgB,CAA+B;IACxD,qBAAqB,CAAoC;IACzD,mBAAmB,GAAW,4BAA4B,CAAC;IAC3D,QAAQ,CAAgC;IACxC,gBAAgB,CAAqD;IACrE,uBAAuB,GAAG,IAAI,CAAC;IAE/B,YACE,gBAA8C,EAC9C,qBAAwD,EACxD,QAAuC;QAEvC,KAAK,EAAE,CAAC;QACR,cAAc,CAAC,IAAI,EAAE;YACnB,qBAAqB,EAAE,UAAU;YACjC,mBAAmB,EAAE,UAAU;YAC/B,gBAAgB,EAAE,UAAU;YAC5B,uBAAuB,EAAE,UAAU;YACnC,QAAQ,EAAE,UAAU;YACpB,0BAA0B,EAAE,MAAM;YAClC,cAAc,EAAE,MAAM;YACtB,sBAAsB,EAAE,MAAM;YAC9B,WAAW,EAAE,MAAM;YACnB,mBAAmB,EAAE,MAAM;YAC3B,wBAAwB,EAAE,MAAM;YAChC,QAAQ,EAAE,QAAQ;SACnB,CAAC,CAAC;QAEH,IAAI,CAAC,gBAAgB,GAAG,gBAAgB,CAAC;QACzC,IAAI,CAAC,qBAAqB,GAAG,qBAAqB,C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,CAAC,OAAO,CAAC,CAAC;gBACpE,CAAC;gBACD,IAAI,CAAC,QAAQ,CAAC,UAAU,CACtB,IAAI,CAAC,QAAQ,CAAC,iBAAiB,CAAC,OAAO,CAAC,qBAAqB,CAAC,EAC9D,CAAC,CACF,CAAC;gBACF,IAAI,CAAC,YAAY,CAAC,oBAAoB,CAAC,CAAC;YAC1C,CAAC;QACH,CAAC;IACH,CAAC;IAED,eAAe;QACb,IAAI,CAAC,QAAQ,CAAC,iBAAiB,CAAC,oBAAoB,CAAC,KAAK,CAAC,CAAC;QAC5D,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,MAAM,EAAE,EAAE;YAC9B,MAAM,CAAC,mBAAmB,CAAC,SAAS,CAAC,CAAC;YACtC,MAAM,CAAC,0BAA0B,CAAC,IAAI,CAAC,CAAC;QAC1C,CAAC,CAAC,CAAC;IACL,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,kCAAkC,CAAC,iBAAiB;YACpD,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC;SACxB,CAAC,CAAC;IACL,CAAC;CACF"}
|
@@ -67,6 +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 initializeMilestoningStateFromDerivedProperty: (derivedPropertyExpressionState: QueryBuilderDerivedPropertyExpressionState) => void;
|
71
70
|
export declare const validateMilestoningPropertyExpressionChain: (sourceStereotype: MILESTONING_STEREOTYPE | undefined, targetStereotype: MILESTONING_STEREOTYPE, propertyExpression: AbstractPropertyExpression) => void;
|
72
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,
|
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"}
|
@@ -185,22 +185,6 @@ export const generateMilestonedPropertyParameterValue = (derivedPropertyExpressi
|
|
185
185
|
.getMilestoningImplementation(temporalTarget)
|
186
186
|
.generateMilestoningDate(isDatePropagationSupported, hasDefaultMilestoningDate ?? false, prevPropertyExpression, temporalSource, idx, derivedPropertyExpressionState);
|
187
187
|
};
|
188
|
-
export const initializeMilestoningStateFromDerivedProperty = (derivedPropertyExpressionState) => {
|
189
|
-
const milestoningState = derivedPropertyExpressionState.queryBuilderState.milestoningState;
|
190
|
-
const temporalTarget = derivedPropertyExpressionState.propertyExpression.func.value.genericType
|
191
|
-
.value.rawType instanceof Class &&
|
192
|
-
derivedPropertyExpressionState.propertyExpression.func.value._OWNER
|
193
|
-
._generatedMilestonedProperties.length !== 0
|
194
|
-
? getMilestoneTemporalStereotype(derivedPropertyExpressionState.propertyExpression.func.value
|
195
|
-
.genericType.value.rawType, derivedPropertyExpressionState.queryBuilderState.graphManagerState
|
196
|
-
.graph)
|
197
|
-
: undefined;
|
198
|
-
if (temporalTarget) {
|
199
|
-
milestoningState
|
200
|
-
.getMilestoningImplementation(temporalTarget)
|
201
|
-
.initializeMilestoningParameters();
|
202
|
-
}
|
203
|
-
};
|
204
188
|
export const validateMilestoningPropertyExpressionChain = (sourceStereotype, targetStereotype, propertyExpression) => {
|
205
189
|
if (sourceStereotype !== MILESTONING_STEREOTYPE.BITEMPORAL &&
|
206
190
|
targetStereotype !== sourceStereotype) {
|
@@ -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;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,MAA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UAAU;oBACpD,8BAA8B,CAAC,eAAe,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC;YAClE,GAAG,IAAI,8BAA8B,CAAC,eAAe,CAAC,MAAM,CAAC,CAAC;IAElE,IAAI,CAAC,gCAAgC,EAAE,CAAC;QACtC,OAAO,SAAS,CAAC;IACnB,CAAC;IACD,MAAM,0BAA0B,GAAG,iCAAiC,CAClE,8BAA8B,CAAC,kBAAkB,EACjD,8BAA8B,CAAC,iBAAiB,EAChD,sBAAsB,CACvB,CAAC;IACF,OAAO,gBAAgB;SACpB,4BAA4B,CAAC,cAAc,CAAC;SAC5C,uBAAuB,CACtB,0BAA0B,EAC1B,yBAAyB,IAAI,KAAK,EAClC,sBAAsB,EACtB,cAAc,EACd,GAAG,EACH,8BAA8B,CAC/B,CAAC;AACN,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,
|
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,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AsB,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"}
|
@@ -48,10 +48,7 @@ export declare class QueryBuilderMilestoningState implements Hashable {
|
|
48
48
|
clearMilestoningDates(): void;
|
49
49
|
updateMilestoningConfiguration(): void;
|
50
50
|
buildMilestoningParameter(parameterName: string): ValueSpecification;
|
51
|
-
updateMilestoningParameterValue(parameter: VariableExpression, value: ValueSpecification | undefined): void;
|
52
|
-
getMilestoningParameterValue(milestoningParameter: ValueSpecification): ValueSpecification | undefined;
|
53
51
|
isVariableUsed(variable: VariableExpression): boolean;
|
54
|
-
isMilestoningParameter(parameter: VariableExpression): boolean;
|
55
52
|
get hashCode(): string;
|
56
53
|
}
|
57
54
|
//# sourceMappingURL=QueryBuilderMilestoningState.d.ts.map
|
@@ -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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IAED,IAAI,2BAA2B,IAAI,OAAO,CAKzC;IAED,IAAI,2BAA2B,IAAI,OAAO,CAQzC;IAED,qBAAqB,CAAC,GAAG,EAAE,OAAO,GAAG,SAAS,GAAG,IAAI;IAcrD,cAAc,CAAC,GAAG,EAAE,OAAO,GAAG,SAAS,GAAG,IAAI;IAgB9C,YAAY,CAAC,GAAG,EAAE,kBAAkB,GAAG,SAAS,GAAG,IAAI;IAMvD,UAAU,CAAC,GAAG,EAAE,kBAAkB,GAAG,SAAS,GAAG,IAAI;IAMrD,wBAAwB,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI;IAI5C,4BAA4B,CAC1B,UAAU,EAAE,sBAAsB,GACjC,qCAAqC;IAQxC,OAAO,CAAC,oCAAoC;IAQ5C,iBAAiB,CAAC,GAAG,EAAE,kBAAkB,GAAG,SAAS,GAAG,IAAI;IAM5D,eAAe,CAAC,GAAG,EAAE,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,yBAAyB,CAAC,aAAa,EAAE,MAAM,GAAG,kBAAkB;IAyBpE,cAAc,CAAC,QAAQ,EAAE,kBAAkB,GAAG,OAAO;IAUrD,IAAI,QAAQ,IAAI,MAAM,CAMrB;CACF"}
|
@@ -44,6 +44,7 @@ export class QueryBuilderMilestoningState {
|
|
44
44
|
startDate: observable,
|
45
45
|
endDate: observable,
|
46
46
|
showMilestoningEditor: observable,
|
47
|
+
isMilestonedQuery: computed,
|
47
48
|
setProcessingDate: action,
|
48
49
|
setBusinessDate: action,
|
49
50
|
setStartDate: action,
|
@@ -55,9 +56,6 @@ export class QueryBuilderMilestoningState {
|
|
55
56
|
initializeAllVersionsInRangeParameters: action,
|
56
57
|
clearAllVersionsInRangeParameters: action,
|
57
58
|
clearGetAllParameters: action,
|
58
|
-
isAllVersionsEnabled: computed,
|
59
|
-
isAllVersionsInRangeEnabled: computed,
|
60
|
-
isMilestonedQuery: computed,
|
61
59
|
hashCode: computed,
|
62
60
|
});
|
63
61
|
this.queryBuilderState = queryBuilderState;
|
@@ -247,18 +245,14 @@ export class QueryBuilderMilestoningState {
|
|
247
245
|
exculdeMilestoningState: true,
|
248
246
|
})) {
|
249
247
|
const paramState = this.queryBuilderState.parametersState.parameterStates.find((p) => p.parameter === this.startDate);
|
250
|
-
|
251
|
-
this.queryBuilderState.parametersState.removeParameter(paramState);
|
252
|
-
}
|
248
|
+
this.queryBuilderState.parametersState.removeParameter(guaranteeNonNullable(paramState));
|
253
249
|
}
|
254
250
|
if (this.endDate instanceof VariableExpression &&
|
255
251
|
!this.queryBuilderState.isVariableUsed(this.endDate, {
|
256
252
|
exculdeMilestoningState: true,
|
257
253
|
})) {
|
258
254
|
const paramState = this.queryBuilderState.parametersState.parameterStates.find((p) => p.parameter === this.endDate);
|
259
|
-
|
260
|
-
this.queryBuilderState.parametersState.removeParameter(paramState);
|
261
|
-
}
|
255
|
+
this.queryBuilderState.parametersState.removeParameter(guaranteeNonNullable(paramState));
|
262
256
|
}
|
263
257
|
this.setStartDate(undefined);
|
264
258
|
this.setEndDate(undefined);
|
@@ -288,20 +282,6 @@ export class QueryBuilderMilestoningState {
|
|
288
282
|
}
|
289
283
|
return milestoningParameter;
|
290
284
|
}
|
291
|
-
updateMilestoningParameterValue(parameter, value) {
|
292
|
-
const variableState = this.queryBuilderState.parametersState.parameterStates.find((param) => param.parameter.name === parameter.name);
|
293
|
-
if (variableState) {
|
294
|
-
variableState.setValue(value);
|
295
|
-
}
|
296
|
-
}
|
297
|
-
getMilestoningParameterValue(milestoningParameter) {
|
298
|
-
let value = milestoningParameter;
|
299
|
-
if (milestoningParameter instanceof VariableExpression) {
|
300
|
-
const paramState = this.queryBuilderState.parametersState.parameterStates.find((param) => param.parameter.name === milestoningParameter.name);
|
301
|
-
value = paramState?.value;
|
302
|
-
}
|
303
|
-
return value;
|
304
|
-
}
|
305
285
|
isVariableUsed(variable) {
|
306
286
|
const usedInBusiness = this.businessDate
|
307
287
|
? isValueExpressionReferencedInValue(variable, this.businessDate)
|
@@ -311,32 +291,6 @@ export class QueryBuilderMilestoningState {
|
|
311
291
|
: false;
|
312
292
|
return usedInBusiness || usedInProcessingDate;
|
313
293
|
}
|
314
|
-
isMilestoningParameter(parameter) {
|
315
|
-
let isMilestoningParameter = false;
|
316
|
-
if (this.businessDate instanceof VariableExpression) {
|
317
|
-
isMilestoningParameter =
|
318
|
-
parameter.name ===
|
319
|
-
guaranteeType(this.businessDate, VariableExpression).name;
|
320
|
-
}
|
321
|
-
if (this.processingDate instanceof VariableExpression) {
|
322
|
-
isMilestoningParameter =
|
323
|
-
isMilestoningParameter ||
|
324
|
-
parameter.name ===
|
325
|
-
guaranteeType(this.processingDate, VariableExpression).name;
|
326
|
-
}
|
327
|
-
if (this.startDate instanceof VariableExpression) {
|
328
|
-
isMilestoningParameter =
|
329
|
-
isMilestoningParameter ||
|
330
|
-
parameter.name ===
|
331
|
-
guaranteeType(this.startDate, VariableExpression).name;
|
332
|
-
}
|
333
|
-
if (this.endDate instanceof VariableExpression) {
|
334
|
-
isMilestoningParameter =
|
335
|
-
isMilestoningParameter ||
|
336
|
-
parameter.name === guaranteeType(this.endDate, VariableExpression).name;
|
337
|
-
}
|
338
|
-
return isMilestoningParameter;
|
339
|
-
}
|
340
294
|
get hashCode() {
|
341
295
|
return hashArray([
|
342
296
|
QUERY_BUILDER_STATE_HASH_STRUCTURE.MILESTONING_STATE,
|
@@ -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,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,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;AAEtF,OAAO,EAAE,kCAAkC,EAAE,MAAM,4CAA4C,CAAC;AAChG,OAAO,EAAE,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AACzE,OAAO,EAAE,+CAA+C,EAAE,MAAM,sDAAsD,CAAC;AACvH,OAAO,EAAE,qDAAqD,EAAE,MAAM,4DAA4D,CAAC;AAEnI,OAAO,EAAE,uDAAuD,EAAE,MAAM,8DAA8D,CAAC;AACvI,OAAO,EAAE,yCAAyC,EAAE,MAAM,2CAA2C,CAAC;AACtG,OAAO,EAAE,oBAAoB,EAAE,MAAM,gDAAgD,CAAC;AACtF,OAAO,EAAE,uCAAuC,EAAE,MAAM,wEAAwE,CAAC;AACjI,OAAO,EAAE,gCAAgC,EAAE,MAAM,oEAAoE,CAAC;AACtH,OAAO,EACL,uCAAuC,EACvC,oCAAoC,GACrC,MAAM,sCAAsC,CAAC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AAC;IACL,CAAC;CACF"}
|
package/package.json
CHANGED
@@ -29,11 +29,9 @@ import {
|
|
29
29
|
ModalFooterButton,
|
30
30
|
PanelFormValidatedTextField,
|
31
31
|
QuestionCircleIcon,
|
32
|
-
PanelFormSection,
|
33
32
|
} from '@finos/legend-art';
|
34
33
|
import {
|
35
34
|
type Type,
|
36
|
-
type ValueSpecification,
|
37
35
|
VariableExpression,
|
38
36
|
GenericTypeExplicitReference,
|
39
37
|
GenericType,
|
@@ -55,10 +53,6 @@ import {
|
|
55
53
|
getPackageableElementOptionFormatter,
|
56
54
|
type PackageableElementOption,
|
57
55
|
} from '@finos/legend-lego/graph-editor';
|
58
|
-
import { deepClone } from '@finos/legend-shared';
|
59
|
-
import { BasicValueSpecificationEditor } from './shared/BasicValueSpecificationEditor.js';
|
60
|
-
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../graph/QueryBuilderMetaModelConst.js';
|
61
|
-
import { createSupportedFunctionExpression } from '../stores/shared/ValueSpecificationEditorHelper.js';
|
62
56
|
|
63
57
|
type MultiplicityOption = { label: string; value: Multiplicity };
|
64
58
|
|
@@ -124,13 +118,6 @@ const VariableExpressionEditor = observer(
|
|
124
118
|
const nameInputRef = useCallback((ref: HTMLInputElement | null): void => {
|
125
119
|
ref?.focus();
|
126
120
|
}, []);
|
127
|
-
const [defaultMilestoningValue, setDefaultMilestoningValue] = useState(
|
128
|
-
deepClone(lambdaParameterState.value),
|
129
|
-
);
|
130
|
-
const isMilestoningParameter =
|
131
|
-
queryBuilderState.milestoningState.isMilestoningParameter(
|
132
|
-
lambdaParameterState.parameter,
|
133
|
-
);
|
134
121
|
|
135
122
|
const getValidationMessage = (input: string): string | undefined =>
|
136
123
|
!hasEditedName
|
@@ -159,13 +146,6 @@ const VariableExpressionEditor = observer(
|
|
159
146
|
if (isCreating) {
|
160
147
|
queryParametersState.addParameter(lambdaParameterState);
|
161
148
|
}
|
162
|
-
if (isMilestoningParameter) {
|
163
|
-
queryBuilderState.milestoningState.updateMilestoningParameterValue(
|
164
|
-
lambdaParameterState.parameter,
|
165
|
-
defaultMilestoningValue,
|
166
|
-
);
|
167
|
-
}
|
168
|
-
|
169
149
|
handleCancel();
|
170
150
|
};
|
171
151
|
|
@@ -251,41 +231,6 @@ const VariableExpressionEditor = observer(
|
|
251
231
|
}
|
252
232
|
/>
|
253
233
|
</div>
|
254
|
-
{isMilestoningParameter && defaultMilestoningValue && (
|
255
|
-
<PanelFormSection>
|
256
|
-
<div className="panel__content__form__section__header__label">
|
257
|
-
Value
|
258
|
-
</div>
|
259
|
-
<div className="panel__content__form__section__header__prompt">
|
260
|
-
Choose a default value for this milestoning parameter
|
261
|
-
</div>
|
262
|
-
<div className="query-builder__variable-editor">
|
263
|
-
<BasicValueSpecificationEditor
|
264
|
-
valueSpecification={defaultMilestoningValue}
|
265
|
-
setValueSpecification={(val: ValueSpecification): void => {
|
266
|
-
setDefaultMilestoningValue(deepClone(val));
|
267
|
-
}}
|
268
|
-
graph={queryBuilderState.graphManagerState.graph}
|
269
|
-
obseverContext={queryBuilderState.observerContext}
|
270
|
-
typeCheckOption={{
|
271
|
-
expectedType: selectedType.value,
|
272
|
-
match: selectedType.value === PrimitiveType.DATETIME,
|
273
|
-
}}
|
274
|
-
resetValue={() => {
|
275
|
-
const now = createSupportedFunctionExpression(
|
276
|
-
QUERY_BUILDER_SUPPORTED_FUNCTIONS.NOW,
|
277
|
-
PrimitiveType.DATETIME,
|
278
|
-
);
|
279
|
-
setDefaultMilestoningValue(now);
|
280
|
-
queryBuilderState.milestoningState.updateMilestoningParameterValue(
|
281
|
-
lambdaParameterState.parameter,
|
282
|
-
now,
|
283
|
-
);
|
284
|
-
}}
|
285
|
-
/>
|
286
|
-
</div>
|
287
|
-
</PanelFormSection>
|
288
|
-
)}
|
289
234
|
</ModalBody>
|
290
235
|
<ModalFooter>
|
291
236
|
<ModalFooterButton
|
@@ -18,6 +18,7 @@ import {
|
|
18
18
|
CustomSelectorInput,
|
19
19
|
createFilter,
|
20
20
|
CogIcon,
|
21
|
+
ClockIcon,
|
21
22
|
clsx,
|
22
23
|
PanelHeader,
|
23
24
|
compareLabelFn,
|
@@ -33,6 +34,7 @@ import {
|
|
33
34
|
LATEST_DATE,
|
34
35
|
PrimitiveInstanceValue,
|
35
36
|
VariableExpression,
|
37
|
+
getMilestoneTemporalStereotype,
|
36
38
|
PackageableElementExplicitReference,
|
37
39
|
RuntimePointer,
|
38
40
|
VARIABLE_REFERENCE_TOKEN,
|
@@ -73,11 +75,23 @@ const generateClassLabel = (
|
|
73
75
|
val: Class,
|
74
76
|
queryBuilderState: QueryBuilderState,
|
75
77
|
): React.ReactNode => {
|
78
|
+
const milestoneStereotype = getMilestoneTemporalStereotype(
|
79
|
+
val,
|
80
|
+
queryBuilderState.graphManagerState.graph,
|
81
|
+
);
|
82
|
+
|
76
83
|
const isDeprecatedClass = isElementDeprecated(
|
77
84
|
val,
|
78
85
|
queryBuilderState.graphManagerState.graph,
|
79
86
|
);
|
80
87
|
|
88
|
+
let milestoningTooltipText: string | undefined;
|
89
|
+
if (milestoneStereotype) {
|
90
|
+
milestoningTooltipText = queryBuilderState.milestoningState
|
91
|
+
.getMilestoningImplementation(milestoneStereotype)
|
92
|
+
.getMilestoningToolTipText();
|
93
|
+
}
|
94
|
+
|
81
95
|
return (
|
82
96
|
<div
|
83
97
|
className={clsx('query-builder__setup__class-option-label', {
|
@@ -88,6 +102,12 @@ const generateClassLabel = (
|
|
88
102
|
<div className="query-builder__setup__class-option-label__name">
|
89
103
|
{val.name}
|
90
104
|
</div>
|
105
|
+
{milestoningTooltipText && (
|
106
|
+
<ClockIcon
|
107
|
+
className="query-builder__setup__class-option-label__milestoning"
|
108
|
+
title={`This class is milestoned:\n${milestoningTooltipText}`}
|
109
|
+
/>
|
110
|
+
)}
|
91
111
|
</div>
|
92
112
|
);
|
93
113
|
};
|
@@ -131,6 +151,10 @@ export const QueryBuilderClassSelector = observer(
|
|
131
151
|
onClassChange?.(val.value);
|
132
152
|
};
|
133
153
|
|
154
|
+
// milestoning
|
155
|
+
const showMilestoningEditor = (): void =>
|
156
|
+
milestoningState.setShowMilestoningEditor(true);
|
157
|
+
|
134
158
|
return (
|
135
159
|
<div className="query-builder__setup__config-group query-builder__setup__config-group--class">
|
136
160
|
<div className="query-builder__setup__config-group__item ">
|
@@ -168,6 +192,17 @@ export const QueryBuilderClassSelector = observer(
|
|
168
192
|
.TEMPORARY__isLightColorThemeEnabled,
|
169
193
|
})}
|
170
194
|
/>
|
195
|
+
{queryBuilderState.isQuerySupported && (
|
196
|
+
<button
|
197
|
+
className="btn--dark btn__icon--dark query-builder__setup__milestoning"
|
198
|
+
tabIndex={-1}
|
199
|
+
onClick={showMilestoningEditor}
|
200
|
+
disabled={!milestoningState.isMilestonedQuery}
|
201
|
+
title="Edit Milestoning Parameters"
|
202
|
+
>
|
203
|
+
<ClockIcon />
|
204
|
+
</button>
|
205
|
+
)}
|
171
206
|
{milestoningState.isMilestonedQuery && (
|
172
207
|
<MilestoningParametersEditor
|
173
208
|
queryBuilderState={queryBuilderState}
|
@@ -278,10 +278,12 @@ const AllVersionsInRangelMilestoningParametersEditor = observer(
|
|
278
278
|
},
|
279
279
|
);
|
280
280
|
|
281
|
-
export const
|
281
|
+
export const MilestoningParametersEditor = observer(
|
282
282
|
(props: { queryBuilderState: QueryBuilderState }) => {
|
283
283
|
const { queryBuilderState } = props;
|
284
|
+
const applicationStore = queryBuilderState.applicationStore;
|
284
285
|
const milestoningState = queryBuilderState.milestoningState;
|
286
|
+
const close = (): void => milestoningState.setShowMilestoningEditor(false);
|
285
287
|
const isCompatibleMilestoningParameter = (
|
286
288
|
variable: VariableExpression,
|
287
289
|
): boolean =>
|
@@ -290,62 +292,6 @@ export const MilestoningParametersEditorContent = observer(
|
|
290
292
|
variable.genericType?.value.rawType.name === PRIMITIVE_TYPE.DATE ||
|
291
293
|
variable.genericType?.value.rawType.name === PRIMITIVE_TYPE.DATETIME;
|
292
294
|
|
293
|
-
return (
|
294
|
-
<>
|
295
|
-
{milestoningState.isCurrentClassMilestoned && (
|
296
|
-
<PanelFormBooleanField
|
297
|
-
isReadOnly={false}
|
298
|
-
value={milestoningState.isAllVersionsEnabled}
|
299
|
-
name="all Versions"
|
300
|
-
prompt="Query All Milestoned Versions of the Root Class"
|
301
|
-
update={(value: boolean | undefined): void =>
|
302
|
-
milestoningState.setAllVersions(value)
|
303
|
-
}
|
304
|
-
/>
|
305
|
-
)}
|
306
|
-
{milestoningState.isAllVersionsEnabled &&
|
307
|
-
milestoningState.isCurrentClassSupportsVersionsInRange && (
|
308
|
-
<>
|
309
|
-
<PanelFormBooleanField
|
310
|
-
isReadOnly={false}
|
311
|
-
value={milestoningState.isAllVersionsInRangeEnabled}
|
312
|
-
name=" All Versions In Range"
|
313
|
-
prompt="Optionally apply a date range to get All Versions for"
|
314
|
-
update={(value: boolean | undefined): void =>
|
315
|
-
milestoningState.setAllVersionsInRange(value)
|
316
|
-
}
|
317
|
-
/>
|
318
|
-
|
319
|
-
{milestoningState.isAllVersionsInRangeEnabled && (
|
320
|
-
<AllVersionsInRangelMilestoningParametersEditor
|
321
|
-
queryBuilderState={queryBuilderState}
|
322
|
-
/>
|
323
|
-
)}
|
324
|
-
</>
|
325
|
-
)}
|
326
|
-
<TemporalMilestoningEditor queryBuilderState={queryBuilderState} />
|
327
|
-
<PanelFormSection>
|
328
|
-
<div className="panel__content__form__section__header__label">
|
329
|
-
List of compatible milestoning parameters
|
330
|
-
</div>
|
331
|
-
</PanelFormSection>
|
332
|
-
<div className="panel__content__form__section__list__items">
|
333
|
-
<VariableSelector
|
334
|
-
queryBuilderState={queryBuilderState}
|
335
|
-
filterBy={isCompatibleMilestoningParameter}
|
336
|
-
/>
|
337
|
-
</div>
|
338
|
-
</>
|
339
|
-
);
|
340
|
-
},
|
341
|
-
);
|
342
|
-
|
343
|
-
export const MilestoningParametersEditor = observer(
|
344
|
-
(props: { queryBuilderState: QueryBuilderState }) => {
|
345
|
-
const { queryBuilderState } = props;
|
346
|
-
const applicationStore = queryBuilderState.applicationStore;
|
347
|
-
const milestoningState = queryBuilderState.milestoningState;
|
348
|
-
const close = (): void => milestoningState.setShowMilestoningEditor(false);
|
349
295
|
return (
|
350
296
|
<Dialog
|
351
297
|
open={milestoningState.showMilestoningEditor}
|
@@ -364,9 +310,49 @@ export const MilestoningParametersEditor = observer(
|
|
364
310
|
>
|
365
311
|
<ModalHeader title="Milestoning Parameters" />
|
366
312
|
<ModalBody className="query-builder__variables__modal__body">
|
367
|
-
|
368
|
-
|
369
|
-
|
313
|
+
{milestoningState.isCurrentClassMilestoned && (
|
314
|
+
<PanelFormBooleanField
|
315
|
+
isReadOnly={false}
|
316
|
+
value={milestoningState.isAllVersionsEnabled}
|
317
|
+
name="all Versions"
|
318
|
+
prompt="Query All Milestoned Versions of the Root Class"
|
319
|
+
update={(value: boolean | undefined): void =>
|
320
|
+
milestoningState.setAllVersions(value)
|
321
|
+
}
|
322
|
+
/>
|
323
|
+
)}
|
324
|
+
{milestoningState.isAllVersionsEnabled &&
|
325
|
+
milestoningState.isCurrentClassSupportsVersionsInRange && (
|
326
|
+
<>
|
327
|
+
<PanelFormBooleanField
|
328
|
+
isReadOnly={false}
|
329
|
+
value={milestoningState.isAllVersionsInRangeEnabled}
|
330
|
+
name=" All Versions In Range"
|
331
|
+
prompt="Optionally apply a date range to get All Versions for"
|
332
|
+
update={(value: boolean | undefined): void =>
|
333
|
+
milestoningState.setAllVersionsInRange(value)
|
334
|
+
}
|
335
|
+
/>
|
336
|
+
|
337
|
+
{milestoningState.isAllVersionsInRangeEnabled && (
|
338
|
+
<AllVersionsInRangelMilestoningParametersEditor
|
339
|
+
queryBuilderState={queryBuilderState}
|
340
|
+
/>
|
341
|
+
)}
|
342
|
+
</>
|
343
|
+
)}
|
344
|
+
<TemporalMilestoningEditor queryBuilderState={queryBuilderState} />
|
345
|
+
<PanelFormSection>
|
346
|
+
<div className="panel__content__form__section__header__label">
|
347
|
+
List of compatible milestoning parameters
|
348
|
+
</div>
|
349
|
+
</PanelFormSection>
|
350
|
+
<div className="panel__content__form__section__list__items">
|
351
|
+
<VariableSelector
|
352
|
+
queryBuilderState={queryBuilderState}
|
353
|
+
filterBy={isCompatibleMilestoningParameter}
|
354
|
+
/>
|
355
|
+
</div>
|
370
356
|
</ModalBody>
|
371
357
|
<ModalFooter>
|
372
358
|
<ModalFooterButton text="Close" onClick={close} type="secondary" />
|