@finos/legend-query-builder 4.14.40 → 4.14.43
Sign up to get free protection for your applications and to get access to all the features.
- 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 -11
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.js.map +1 -1
- package/lib/components/filter/QueryBuilderFilterPanel.d.ts.map +1 -1
- package/lib/components/filter/QueryBuilderFilterPanel.js +6 -2
- package/lib/components/filter/QueryBuilderFilterPanel.js.map +1 -1
- package/lib/components/shared/BasicValueSpecificationEditor.d.ts +11 -9
- package/lib/components/shared/BasicValueSpecificationEditor.d.ts.map +1 -1
- package/lib/components/shared/BasicValueSpecificationEditor.js +160 -143
- package/lib/components/shared/BasicValueSpecificationEditor.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/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/post-filter/operators/QueryBuilderPostFilterOperator_In.js +2 -2
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_In.js.map +1 -1
- package/lib/stores/filter/QueryBuilderFilterState.d.ts +1 -1
- package/lib/stores/filter/QueryBuilderFilterState.d.ts.map +1 -1
- package/lib/stores/filter/QueryBuilderFilterState.js +4 -3
- package/lib/stores/filter/QueryBuilderFilterState.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.js +2 -2
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.js.map +1 -1
- package/lib/stores/milestoning/QueryBuilderMilestoningState.d.ts.map +1 -1
- package/lib/stores/milestoning/QueryBuilderMilestoningState.js +3 -9
- package/lib/stores/milestoning/QueryBuilderMilestoningState.js.map +1 -1
- package/lib/stores/shared/ValueSpecificationEditorHelper.d.ts +1 -0
- package/lib/stores/shared/ValueSpecificationEditorHelper.d.ts.map +1 -1
- package/lib/stores/shared/ValueSpecificationEditorHelper.js +48 -0
- package/lib/stores/shared/ValueSpecificationEditorHelper.js.map +1 -1
- package/package.json +8 -8
- 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 -116
- package/src/components/filter/QueryBuilderFilterPanel.tsx +13 -5
- package/src/components/shared/BasicValueSpecificationEditor.tsx +299 -285
- package/src/stores/fetch-structure/tds/QueryBuilderTDSState.ts +0 -11
- package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_In.ts +2 -2
- package/src/stores/filter/QueryBuilderFilterState.ts +6 -3
- package/src/stores/filter/operators/QueryBuilderFilterOperator_In.ts +2 -2
- package/src/stores/milestoning/QueryBuilderMilestoningState.ts +7 -11
- package/src/stores/shared/ValueSpecificationEditorHelper.ts +63 -0
@@ -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,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aAAa,CACxC;YACD,CAAC,IAAI,CAAC,iBAAiB,CAAC,aAAa,CAAC,SAAS,CAAC,IAAI,CAClD,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,QAAQ,CAAC,IAAI,KAAK,aAAa,CACzC,EACD,CAAC;YACD,MAAM,aAAa,GAAG,IAAI,oBAAoB,CAC5C,oBAAoB,EACpB,IAAI,CAAC,iBAAiB,CAAC,eAAe,EACtC,IAAI,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,KAAK,CAC/C,CAAC;YACF,aAAa,CAAC,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,sBAA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AAC,CAAC,CAAC,QAAQ,CAAC,IAAI,KAAK,aAAa,CACzC,EACD,CAAC;YACD,MAAM,aAAa,GAAG,IAAI,oBAAoB,CAC5C,oBAAoB,EACpB,IAAI,CAAC,iBAAiB,CAAC,eAAe,EACtC,IAAI,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,KAAK,CAC/C,CAAC;YACF,aAAa,CAAC,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"}
|
@@ -28,4 +28,5 @@ export declare const generateVariableExpressionMockValue: (parameter: VariableEx
|
|
28
28
|
}) => ValueSpecification | undefined;
|
29
29
|
export declare const getValueSpecificationStringValue: (valueSpecification: ValueSpecification) => string | undefined;
|
30
30
|
export declare const valueSpecReturnTDS: (val: ValueSpecification, graph: PureModel) => boolean;
|
31
|
+
export declare const convertTextToPrimitiveInstanceValue: (expectedType: Type, value: string, obseverContext: ObserverContext) => PrimitiveInstanceValue | null;
|
31
32
|
//# sourceMappingURL=ValueSpecificationEditorHelper.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ValueSpecificationEditorHelper.d.ts","sourceRoot":"","sources":["../../../src/stores/shared/ValueSpecificationEditorHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,SAAS,EACd,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,KAAK,IAAI,EAET,KAAK,eAAe,EACpB,KAAK,SAAS,EACd,kBAAkB,EAElB,WAAW,EAMX,sBAAsB,EACtB,aAAa,EACb,cAAc,EAEd,wBAAwB,EACxB,cAAc,EAOf,MAAM,qBAAqB,CAAC;AAgB7B,eAAO,MAAM,iCAAiC,sBACzB,MAAM,sBACL,IAAI,KACvB,wBAOF,CAAC;AACF,eAAO,MAAM,2BAA2B,UAC/B,SAAS,QACV,cAAc,SACb,OAAO,mBACG,eAAe,KAC/B,sBAQF,CAAC;AAEF,eAAO,MAAM,qCAAqC,kBACjC,aAAa,SACrB,SAAS,mBACC,eAAe,YACtB;IACR,gCAAgC,CAAC,EAAE,OAAO,CAAC;CAC5C,KACA,kBAgCF,CAAC;AAEF,eAAO,MAAM,6BAA6B,gBAC3B,WAAW,KACvB,MACyE,CAAC;AAE7E,eAAO,MAAM,yBAAyB,UAC7B,SAAS,QACV,IAAI,mBACO,eAAe,kCACA,OAAO,KACtC,kBA+DF,CAAC;AAEF,eAAO,MAAM,6BAA6B,UACjC,SAAS,mBACC,eAAe,KAC/B,cAgBF,CAAC;AAEF,eAAO,MAAM,gCAAgC,eAC/B,iBAAiB,mBACZ,eAAe,KAC/B,SAIA,CAAC;AAEJ,eAAO,MAAM,mCAAmC,cACnC,kBAAkB,SACtB,SAAS,mBACC,eAAe,YACtB;IACR,gCAAgC,CAAC,EAAE,OAAO,CAAC;CAC5C,KACA,kBAAkB,GAAG,SAyCvB,CAAC;AAEF,eAAO,MAAM,gCAAgC,uBACvB,kBAAkB,KACrC,MAAM,GAAG,SAkBX,CAAC;AAEF,eAAO,MAAM,kBAAkB,QACxB,kBAAkB,SAChB,SAAS,KACf,OAeF,CAAC"}
|
1
|
+
{"version":3,"file":"ValueSpecificationEditorHelper.d.ts","sourceRoot":"","sources":["../../../src/stores/shared/ValueSpecificationEditorHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,SAAS,EACd,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,KAAK,IAAI,EAET,KAAK,eAAe,EACpB,KAAK,SAAS,EACd,kBAAkB,EAElB,WAAW,EAMX,sBAAsB,EACtB,aAAa,EACb,cAAc,EAEd,wBAAwB,EACxB,cAAc,EAOf,MAAM,qBAAqB,CAAC;AAgB7B,eAAO,MAAM,iCAAiC,sBACzB,MAAM,sBACL,IAAI,KACvB,wBAOF,CAAC;AACF,eAAO,MAAM,2BAA2B,UAC/B,SAAS,QACV,cAAc,SACb,OAAO,mBACG,eAAe,KAC/B,sBAQF,CAAC;AAEF,eAAO,MAAM,qCAAqC,kBACjC,aAAa,SACrB,SAAS,mBACC,eAAe,YACtB;IACR,gCAAgC,CAAC,EAAE,OAAO,CAAC;CAC5C,KACA,kBAgCF,CAAC;AAEF,eAAO,MAAM,6BAA6B,gBAC3B,WAAW,KACvB,MACyE,CAAC;AAE7E,eAAO,MAAM,yBAAyB,UAC7B,SAAS,QACV,IAAI,mBACO,eAAe,kCACA,OAAO,KACtC,kBA+DF,CAAC;AAEF,eAAO,MAAM,6BAA6B,UACjC,SAAS,mBACC,eAAe,KAC/B,cAgBF,CAAC;AAEF,eAAO,MAAM,gCAAgC,eAC/B,iBAAiB,mBACZ,eAAe,KAC/B,SAIA,CAAC;AAEJ,eAAO,MAAM,mCAAmC,cACnC,kBAAkB,SACtB,SAAS,mBACC,eAAe,YACtB;IACR,gCAAgC,CAAC,EAAE,OAAO,CAAC;CAC5C,KACA,kBAAkB,GAAG,SAyCvB,CAAC;AAEF,eAAO,MAAM,gCAAgC,uBACvB,kBAAkB,KACrC,MAAM,GAAG,SAkBX,CAAC;AAEF,eAAO,MAAM,kBAAkB,QACxB,kBAAkB,SAChB,SAAS,KACf,OAeF,CAAC;AAEF,eAAO,MAAM,mCAAmC,iBAChC,IAAI,SACX,MAAM,kBACG,eAAe,KAC9B,sBAAsB,GAAG,IAyD3B,CAAC"}
|
@@ -150,4 +150,52 @@ export const valueSpecReturnTDS = (val, graph) => {
|
|
150
150
|
// We should fix this to properly build filter functions after a tds function
|
151
151
|
return Boolean(retunType && tdsType && (retunType === tdsType || retunType === tdsRowType));
|
152
152
|
};
|
153
|
+
export const convertTextToPrimitiveInstanceValue = (expectedType, value, obseverContext) => {
|
154
|
+
let result = null;
|
155
|
+
if (expectedType instanceof PrimitiveType) {
|
156
|
+
switch (expectedType.path) {
|
157
|
+
case PRIMITIVE_TYPE.STRING: {
|
158
|
+
result = new PrimitiveInstanceValue(GenericTypeExplicitReference.create(new GenericType(expectedType)));
|
159
|
+
instanceValue_setValues(result, [value.toString()], obseverContext);
|
160
|
+
break;
|
161
|
+
}
|
162
|
+
case PRIMITIVE_TYPE.NUMBER:
|
163
|
+
case PRIMITIVE_TYPE.FLOAT:
|
164
|
+
case PRIMITIVE_TYPE.DECIMAL:
|
165
|
+
case PRIMITIVE_TYPE.INTEGER: {
|
166
|
+
if (isNaN(Number(value))) {
|
167
|
+
return null;
|
168
|
+
}
|
169
|
+
result = new PrimitiveInstanceValue(GenericTypeExplicitReference.create(new GenericType(expectedType)));
|
170
|
+
instanceValue_setValues(result, [Number(value)], obseverContext);
|
171
|
+
break;
|
172
|
+
}
|
173
|
+
case PRIMITIVE_TYPE.DATE:
|
174
|
+
case PRIMITIVE_TYPE.STRICTDATE: {
|
175
|
+
if (isNaN(Date.parse(value))) {
|
176
|
+
return null;
|
177
|
+
}
|
178
|
+
result = new PrimitiveInstanceValue(GenericTypeExplicitReference.create(new GenericType(expectedType)));
|
179
|
+
instanceValue_setValues(result, [value], obseverContext);
|
180
|
+
break;
|
181
|
+
}
|
182
|
+
case PRIMITIVE_TYPE.DATETIME: {
|
183
|
+
if (isNaN(Date.parse(value)) ||
|
184
|
+
!new Date(value).getTime() ||
|
185
|
+
(value.includes('%') &&
|
186
|
+
(isNaN(Date.parse(value.slice(1))) ||
|
187
|
+
!new Date(value.slice(1)).getTime()))) {
|
188
|
+
return null;
|
189
|
+
}
|
190
|
+
result = new PrimitiveInstanceValue(GenericTypeExplicitReference.create(new GenericType(expectedType)));
|
191
|
+
instanceValue_setValues(result, [value], obseverContext);
|
192
|
+
break;
|
193
|
+
}
|
194
|
+
default:
|
195
|
+
// unsupported expected type, just escape
|
196
|
+
return null;
|
197
|
+
}
|
198
|
+
}
|
199
|
+
return result;
|
200
|
+
};
|
153
201
|
//# sourceMappingURL=ValueSpecificationEditorHelper.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ValueSpecificationEditorHelper.js","sourceRoot":"","sources":["../../../src/stores/shared/ValueSpecificationEditorHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAQL,kBAAkB,EAClB,uBAAuB,EACvB,WAAW,EACX,0BAA0B,EAC1B,sBAAsB,EACtB,WAAW,EACX,4BAA4B,EAC5B,YAAY,EACZ,sBAAsB,EACtB,aAAa,EACb,cAAc,EACd,yBAAyB,EACzB,wBAAwB,EACxB,cAAc,EACd,YAAY,EACZ,mCAAmC,EACnC,YAAY,EACZ,cAAc,EACd,gCAAgC,EAChC,+BAA+B,GAChC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,UAAU,EACV,yBAAyB,EACzB,kBAAkB,GACnB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,oCAAoC,EAAE,MAAM,4CAA4C,CAAC;AAClG,OAAO,EACL,uBAAuB,EACvB,iCAAiC,GAClC,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EACL,uBAAuB,EACvB,iCAAiC,GAClC,MAAM,2CAA2C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C,MAAM,kBAAkB,GAAG,CAChC,GAAuB,EACvB,KAAgB,EACP,EAAE;IACX,MAAM,SAAS,GAAG,kBAAkB,CAAC,GAAG,EAAE,CACxC,+BAA+B,CAAC,GAAG,CAAC,CACrC,CAAC;IACF,MAAM,OAAO,GAAG,kBAAkB,CAAC,GAAG,EAAE,CACtC,KAAK,CAAC,QAAQ,CAAC,uBAAuB,CAAC,mBAAmB,CAAC,CAC5D,CAAC;IACF,MAAM,UAAU,GAAG,kBAAkB,CAAC,GAAG,EAAE,CACzC,KAAK,CAAC,QAAQ,CAAC,uBAAuB,CAAC,OAAO,CAAC,CAChD,CAAC;IACF,2HAA2H;IAC3H,6EAA6E;IAC7E,OAAO,OAAO,CACZ,SAAS,IAAI,OAAO,IAAI,CAAC,SAAS,KAAK,OAAO,IAAI,SAAS,KAAK,UAAU,CAAC,CAC5E,CAAC;AACJ,CAAC,CAAC"}
|
1
|
+
{"version":3,"file":"ValueSpecificationEditorHelper.js","sourceRoot":"","sources":["../../../src/stores/shared/ValueSpecificationEditorHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAQL,kBAAkB,EAClB,uBAAuB,EACvB,WAAW,EACX,0BAA0B,EAC1B,sBAAsB,EACtB,WAAW,EACX,4BAA4B,EAC5B,YAAY,EACZ,sBAAsB,EACtB,aAAa,EACb,cAAc,EACd,yBAAyB,EACzB,wBAAwB,EACxB,cAAc,EACd,YAAY,EACZ,mCAAmC,EACnC,YAAY,EACZ,cAAc,EACd,gCAAgC,EAChC,+BAA+B,GAChC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,UAAU,EACV,yBAAyB,EACzB,kBAAkB,GACnB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,oCAAoC,EAAE,MAAM,4CAA4C,CAAC;AAClG,OAAO,EACL,uBAAuB,EACvB,iCAAiC,GAClC,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EACL,uBAAuB,EACvB,iCA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ACD,MAAM,GAAG,IAAI,sBAAsB,CACjC,4BAA4B,CAAC,MAAM,CAAC,IAAI,WAAW,CAAC,YAAY,CAAC,CAAC,CACnE,CAAC;gBACF,uBAAuB,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,EAAE,cAAc,CAAC,CAAC;gBACzD,MAAM;YACR,CAAC;YACD;gBACE,yCAAyC;gBACzC,OAAO,IAAI,CAAC;QAChB,CAAC;IACH,CAAC;IACD,OAAO,MAAM,CAAC;AAChB,CAAC,CAAC"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@finos/legend-query-builder",
|
3
|
-
"version": "4.14.
|
3
|
+
"version": "4.14.43",
|
4
4
|
"description": "Legend query builder core",
|
5
5
|
"keywords": [
|
6
6
|
"legend",
|
@@ -42,13 +42,13 @@
|
|
42
42
|
"test:watch": "jest --watch"
|
43
43
|
},
|
44
44
|
"dependencies": {
|
45
|
-
"@finos/legend-application": "15.1.
|
46
|
-
"@finos/legend-art": "7.1.
|
47
|
-
"@finos/legend-graph": "31.10.
|
48
|
-
"@finos/legend-lego": "1.2.
|
49
|
-
"@finos/legend-server-depot": "6.0.
|
50
|
-
"@finos/legend-shared": "10.0.
|
51
|
-
"@finos/legend-storage": "3.0.
|
45
|
+
"@finos/legend-application": "15.1.5",
|
46
|
+
"@finos/legend-art": "7.1.34",
|
47
|
+
"@finos/legend-graph": "31.10.2",
|
48
|
+
"@finos/legend-lego": "1.2.35",
|
49
|
+
"@finos/legend-server-depot": "6.0.43",
|
50
|
+
"@finos/legend-shared": "10.0.38",
|
51
|
+
"@finos/legend-storage": "3.0.88",
|
52
52
|
"@testing-library/react": "15.0.7",
|
53
53
|
"@types/react": "18.3.3",
|
54
54
|
"@types/react-dom": "18.3.0",
|
@@ -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" />
|
@@ -46,7 +46,7 @@ import { useApplicationStore } from '@finos/legend-application';
|
|
46
46
|
import type { QueryBuilderTDSState } from '../../stores/fetch-structure/tds/QueryBuilderTDSState.js';
|
47
47
|
import type { QueryBuilderTDSColumnState } from '../../stores/fetch-structure/tds/QueryBuilderTDSColumnState.js';
|
48
48
|
import { COLUMN_SORT_TYPE } from '../../graph/QueryBuilderMetaModelConst.js';
|
49
|
-
import { useCallback, useEffect,
|
49
|
+
import { useCallback, useEffect, useState } from 'react';
|
50
50
|
import type { QueryBuilderProjectionColumnState } from '../../stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.js';
|
51
51
|
import { QUERY_BUILDER_TEST_ID } from '../../__lib__/QueryBuilderTesting.js';
|
52
52
|
import { VariableSelector } from '../shared/QueryBuilderVariableSelector.js';
|
@@ -63,7 +63,6 @@ import {
|
|
63
63
|
type QueryBuilderVariableDragSource,
|
64
64
|
} from '../shared/BasicValueSpecificationEditor.js';
|
65
65
|
import { useDrop } from 'react-dnd';
|
66
|
-
import { MilestoningParametersEditorContent } from '../explorer/QueryBuilderMilestoningEditor.js';
|
67
66
|
|
68
67
|
const ColumnSortEditor = observer(
|
69
68
|
(props: {
|
@@ -260,31 +259,6 @@ export const QueryResultModifierModal = observer(
|
|
260
259
|
deepClone(watermarkState.value),
|
261
260
|
);
|
262
261
|
|
263
|
-
//milestoning config
|
264
|
-
const milestoningState = tdsState.queryBuilderState.milestoningState;
|
265
|
-
const businessDate = useRef(milestoningState.businessDate);
|
266
|
-
const processingDate = useRef(milestoningState.processingDate);
|
267
|
-
const isAllVersionsEnabled = useRef(milestoningState.isAllVersionsEnabled);
|
268
|
-
const isAllVersionsInRangeEnabled = useRef(
|
269
|
-
milestoningState.isAllVersionsInRangeEnabled,
|
270
|
-
);
|
271
|
-
const startDate = useRef(milestoningState.startDate);
|
272
|
-
const endDate = useRef(milestoningState.endDate);
|
273
|
-
|
274
|
-
const resetMilestoningToInitial = (): void => {
|
275
|
-
if (isAllVersionsInRangeEnabled.current) {
|
276
|
-
milestoningState.setAllVersionsInRange(
|
277
|
-
isAllVersionsInRangeEnabled.current,
|
278
|
-
);
|
279
|
-
milestoningState.setStartDate(startDate.current);
|
280
|
-
milestoningState.setEndDate(endDate.current);
|
281
|
-
} else {
|
282
|
-
milestoningState.setAllVersions(isAllVersionsEnabled.current);
|
283
|
-
}
|
284
|
-
milestoningState.setBusinessDate(businessDate.current);
|
285
|
-
milestoningState.setProcessingDate(processingDate.current);
|
286
|
-
};
|
287
|
-
|
288
262
|
// Sync temp state with tdsState when modal is opened/closed
|
289
263
|
useEffect(() => {
|
290
264
|
setSortColumns(cloneSortColumnStateArray(stateSortColumns));
|
@@ -302,10 +276,7 @@ export const QueryResultModifierModal = observer(
|
|
302
276
|
]);
|
303
277
|
|
304
278
|
// Handle user actions
|
305
|
-
const closeModal = (): void =>
|
306
|
-
resetMilestoningToInitial();
|
307
|
-
resultSetModifierState.setShowModal(false);
|
308
|
-
};
|
279
|
+
const closeModal = (): void => resultSetModifierState.setShowModal(false);
|
309
280
|
const applyChanges = (): void => {
|
310
281
|
resultSetModifierState.setSortColumns(sortColumns);
|
311
282
|
resultSetModifierState.setDistinct(distinct);
|
@@ -317,13 +288,6 @@ export const QueryResultModifierModal = observer(
|
|
317
288
|
}
|
318
289
|
resultSetModifierState.setShowModal(false);
|
319
290
|
watermarkState.setValue(watermarkValue);
|
320
|
-
businessDate.current = milestoningState.businessDate;
|
321
|
-
processingDate.current = milestoningState.processingDate;
|
322
|
-
isAllVersionsEnabled.current = milestoningState.isAllVersionsEnabled;
|
323
|
-
isAllVersionsInRangeEnabled.current =
|
324
|
-
milestoningState.isAllVersionsInRangeEnabled;
|
325
|
-
startDate.current = milestoningState.startDate;
|
326
|
-
endDate.current = milestoningState.endDate;
|
327
291
|
};
|
328
292
|
|
329
293
|
const handleLimitResultsChange: React.ChangeEventHandler<
|
@@ -433,23 +397,9 @@ export const QueryResultModifierModal = observer(
|
|
433
397
|
}
|
434
398
|
className="editor-modal query-builder__projection__modal"
|
435
399
|
>
|
436
|
-
<ModalHeader title="
|
400
|
+
<ModalHeader title="Result Set Modifier" />
|
437
401
|
<ModalBody className="query-builder__projection__modal__body">
|
438
402
|
<div className="query-builder__projection__options">
|
439
|
-
{tdsState.queryBuilderState.milestoningState
|
440
|
-
.isMilestonedQuery && (
|
441
|
-
<>
|
442
|
-
<div className="query-builder__projection__options__section-name">
|
443
|
-
Milestoning
|
444
|
-
</div>
|
445
|
-
<MilestoningParametersEditorContent
|
446
|
-
queryBuilderState={tdsState.queryBuilderState}
|
447
|
-
/>
|
448
|
-
<div className="query-builder__projection__options__section-name">
|
449
|
-
Other
|
450
|
-
</div>
|
451
|
-
</>
|
452
|
-
)}
|
453
403
|
<ColumnsSortEditor
|
454
404
|
projectionColumns={tdsState.projectionColumns}
|
455
405
|
sortColumns={sortColumns}
|
@@ -1138,118 +1138,27 @@ export const QueryBuilderTDSPanel = observer(
|
|
1138
1138
|
>
|
1139
1139
|
<div className="query-builder__projection__result-modifier-prompt__header">
|
1140
1140
|
<button
|
1141
|
-
className="query-builder__projection__result-modifier-prompt__header__label
|
1141
|
+
className="query-builder__projection__result-modifier-prompt__header__label"
|
1142
1142
|
onClick={openResultSetModifierEditor}
|
1143
|
-
title="Configure
|
1143
|
+
title="Configure result set modifiers..."
|
1144
1144
|
>
|
1145
1145
|
<CogIcon className="query-builder__projection__result-modifier-prompt__header__label__icon" />
|
1146
1146
|
<div className="query-builder__projection__result-modifier-prompt__header__label__title">
|
1147
|
-
|
1148
|
-
? 'Query Options'
|
1149
|
-
: 'Set Query Options'}
|
1147
|
+
Query Options
|
1150
1148
|
</div>
|
1151
1149
|
</button>
|
1152
|
-
<div className="query-builder__projection__result-modifier-prompt__divider">
|
1153
|
-
{tdsState.isQueryOptionsSet && ' - '}
|
1154
|
-
</div>
|
1155
|
-
{tdsState.queryBuilderState.milestoningState.businessDate && (
|
1156
|
-
<div className="query-builder__projection__result-modifier-prompt__group">
|
1157
|
-
<div className="query-builder__projection__result-modifier-prompt__group__label">
|
1158
|
-
Business Date
|
1159
|
-
</div>
|
1160
|
-
<button
|
1161
|
-
className="query-builder__projection__result-modifier-prompt__header__label editable-value"
|
1162
|
-
onClick={openResultSetModifierEditor}
|
1163
|
-
>
|
1164
|
-
<div className="query-builder__projection__result-modifier-prompt__header__label__title">
|
1165
|
-
{getNameOfValueSpecification(
|
1166
|
-
tdsState.queryBuilderState.milestoningState
|
1167
|
-
.businessDate,
|
1168
|
-
tdsState.queryBuilderState,
|
1169
|
-
)}
|
1170
|
-
</div>
|
1171
|
-
</button>
|
1172
|
-
</div>
|
1173
|
-
)}
|
1174
|
-
{tdsState.queryBuilderState.milestoningState.processingDate && (
|
1175
|
-
<div className="query-builder__projection__result-modifier-prompt__group">
|
1176
|
-
<div className="query-builder__projection__result-modifier-prompt__group__label">
|
1177
|
-
Processing Date
|
1178
|
-
</div>
|
1179
|
-
<button
|
1180
|
-
className="query-builder__projection__result-modifier-prompt__header__label editable-value"
|
1181
|
-
onClick={openResultSetModifierEditor}
|
1182
|
-
>
|
1183
|
-
<div className="query-builder__projection__result-modifier-prompt__header__label__title">
|
1184
|
-
{getNameOfValueSpecification(
|
1185
|
-
tdsState.queryBuilderState.milestoningState
|
1186
|
-
.processingDate,
|
1187
|
-
tdsState.queryBuilderState,
|
1188
|
-
)}
|
1189
|
-
</div>
|
1190
|
-
</button>
|
1191
|
-
</div>
|
1192
|
-
)}
|
1193
|
-
{tdsState.queryBuilderState.milestoningState
|
1194
|
-
.isAllVersionsEnabled &&
|
1195
|
-
!tdsState.queryBuilderState.milestoningState
|
1196
|
-
.isAllVersionsInRangeEnabled && (
|
1197
|
-
<div className="query-builder__projection__result-modifier-prompt__group">
|
1198
|
-
<div className="query-builder__projection__result-modifier-prompt__group__label">
|
1199
|
-
All Versions
|
1200
|
-
</div>
|
1201
|
-
<button
|
1202
|
-
className="query-builder__projection__result-modifier-prompt__header__label editable-value"
|
1203
|
-
onClick={openResultSetModifierEditor}
|
1204
|
-
>
|
1205
|
-
<div className="query-builder__projection__result-modifier-prompt__header__label__title">
|
1206
|
-
Yes
|
1207
|
-
</div>
|
1208
|
-
</button>
|
1209
|
-
</div>
|
1210
|
-
)}
|
1211
|
-
{tdsState.queryBuilderState.milestoningState
|
1212
|
-
.isAllVersionsInRangeEnabled &&
|
1213
|
-
tdsState.queryBuilderState.milestoningState.startDate &&
|
1214
|
-
tdsState.queryBuilderState.milestoningState.endDate && (
|
1215
|
-
<div className="query-builder__projection__result-modifier-prompt__group">
|
1216
|
-
<div className="query-builder__projection__result-modifier-prompt__group__label">
|
1217
|
-
All Versions
|
1218
|
-
</div>
|
1219
|
-
<button
|
1220
|
-
className="query-builder__projection__result-modifier-prompt__header__label editable-value"
|
1221
|
-
onClick={openResultSetModifierEditor}
|
1222
|
-
>
|
1223
|
-
<div className="query-builder__projection__result-modifier-prompt__header__label__title">
|
1224
|
-
(
|
1225
|
-
{getNameOfValueSpecification(
|
1226
|
-
tdsState.queryBuilderState.milestoningState.startDate,
|
1227
|
-
tdsState.queryBuilderState,
|
1228
|
-
)}{' '}
|
1229
|
-
-{' '}
|
1230
|
-
{getNameOfValueSpecification(
|
1231
|
-
tdsState.queryBuilderState.milestoningState.endDate,
|
1232
|
-
tdsState.queryBuilderState,
|
1233
|
-
)}
|
1234
|
-
)
|
1235
|
-
</div>
|
1236
|
-
</button>
|
1237
|
-
</div>
|
1238
|
-
)}
|
1239
1150
|
</div>
|
1240
1151
|
{tdsState.resultSetModifierState.limit && (
|
1241
1152
|
<div className="query-builder__projection__result-modifier-prompt__group">
|
1242
1153
|
<div className="query-builder__projection__result-modifier-prompt__group__label">
|
1243
1154
|
Max Rows
|
1244
1155
|
</div>
|
1245
|
-
<
|
1246
|
-
className="query-builder__projection__result-modifier-
|
1156
|
+
<div
|
1157
|
+
className="query-builder__projection__result-modifier-prompt__group__content"
|
1247
1158
|
onClick={openResultSetModifierEditor}
|
1248
1159
|
>
|
1249
|
-
|
1250
|
-
|
1251
|
-
</div>
|
1252
|
-
</button>
|
1160
|
+
{tdsState.resultSetModifierState.limit}
|
1161
|
+
</div>
|
1253
1162
|
</div>
|
1254
1163
|
)}
|
1255
1164
|
{tdsState.resultSetModifierState.distinct && (
|
@@ -1257,14 +1166,12 @@ export const QueryBuilderTDSPanel = observer(
|
|
1257
1166
|
<div className="query-builder__projection__result-modifier-prompt__group__label">
|
1258
1167
|
Eliminate Duplicate Rows
|
1259
1168
|
</div>
|
1260
|
-
<
|
1261
|
-
className="query-builder__projection__result-modifier-
|
1169
|
+
<div
|
1170
|
+
className="query-builder__projection__result-modifier-prompt__group__content"
|
1262
1171
|
onClick={openResultSetModifierEditor}
|
1263
1172
|
>
|
1264
|
-
|
1265
|
-
|
1266
|
-
</div>
|
1267
|
-
</button>
|
1173
|
+
Yes
|
1174
|
+
</div>
|
1268
1175
|
</div>
|
1269
1176
|
)}
|
1270
1177
|
{tdsState.resultSetModifierState.sortColumns.length > 0 && (
|
@@ -1274,15 +1181,13 @@ export const QueryBuilderTDSPanel = observer(
|
|
1274
1181
|
</div>
|
1275
1182
|
{tdsState.resultSetModifierState.sortColumns.map(
|
1276
1183
|
(columnState) => (
|
1277
|
-
<
|
1184
|
+
<div
|
1185
|
+
className="query-builder__projection__result-modifier-prompt__group__content"
|
1278
1186
|
key={columnState.columnState.uuid}
|
1279
|
-
className="query-builder__projection__result-modifier-prompt__header__label editable-value"
|
1280
1187
|
onClick={openResultSetModifierEditor}
|
1281
1188
|
>
|
1282
|
-
|
1283
|
-
|
1284
|
-
</div>
|
1285
|
-
</button>
|
1189
|
+
{`${columnState.columnState.columnName} ${columnState.sortType}`}
|
1190
|
+
</div>
|
1286
1191
|
),
|
1287
1192
|
)}
|
1288
1193
|
</div>
|
@@ -1292,14 +1197,12 @@ export const QueryBuilderTDSPanel = observer(
|
|
1292
1197
|
<div className="query-builder__projection__result-modifier-prompt__group__label">
|
1293
1198
|
Slice
|
1294
1199
|
</div>
|
1295
|
-
<
|
1296
|
-
className="query-builder__projection__result-modifier-
|
1200
|
+
<div
|
1201
|
+
className="query-builder__projection__result-modifier-prompt__group__content"
|
1297
1202
|
onClick={openResultSetModifierEditor}
|
1298
1203
|
>
|
1299
|
-
|
1300
|
-
|
1301
|
-
</div>
|
1302
|
-
</button>
|
1204
|
+
{`${tdsState.resultSetModifierState.slice[0]},${tdsState.resultSetModifierState.slice[1]}`}
|
1205
|
+
</div>
|
1303
1206
|
</div>
|
1304
1207
|
)}
|
1305
1208
|
{tdsState.queryBuilderState.watermarkState.value && (
|
@@ -92,6 +92,7 @@ import {
|
|
92
92
|
SimpleFunctionExpression,
|
93
93
|
type ValueSpecification,
|
94
94
|
VariableExpression,
|
95
|
+
PrimitiveType,
|
95
96
|
} from '@finos/legend-graph';
|
96
97
|
import {
|
97
98
|
type QueryBuilderProjectionColumnDragSource,
|
@@ -111,6 +112,7 @@ import { getPropertyChainName } from '../../stores/QueryBuilderPropertyEditorSta
|
|
111
112
|
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../graph/QueryBuilderMetaModelConst.js';
|
112
113
|
import { buildPropertyExpressionChain } from '../../stores/QueryBuilderValueSpecificationBuilderHelper.js';
|
113
114
|
import { QueryBuilderPanelIssueCountBadge } from '../shared/QueryBuilderPanelIssueCountBadge.js';
|
115
|
+
import { convertTextToPrimitiveInstanceValue } from '../../stores/shared/ValueSpecificationEditorHelper.js';
|
114
116
|
|
115
117
|
const isCollectionProperty = (
|
116
118
|
propertyExpression: AbstractPropertyExpression,
|
@@ -771,11 +773,17 @@ const QueryBuilderFilterConditionEditor = observer(
|
|
771
773
|
};
|
772
774
|
const debouncedTypeaheadSearch = useMemo(
|
773
775
|
() =>
|
774
|
-
debounce(
|
775
|
-
|
776
|
-
|
777
|
-
|
778
|
-
|
776
|
+
debounce((inputValue: string) => {
|
777
|
+
const inputValueSpec = convertTextToPrimitiveInstanceValue(
|
778
|
+
PrimitiveType.STRING,
|
779
|
+
inputValue,
|
780
|
+
queryBuilderState.observerContext,
|
781
|
+
);
|
782
|
+
return node.condition.handleTypeaheadSearch(
|
783
|
+
inputValueSpec ?? undefined,
|
784
|
+
);
|
785
|
+
}, 1000),
|
786
|
+
[node, queryBuilderState.observerContext],
|
779
787
|
);
|
780
788
|
const cleanUpReloadValues = (): void => {
|
781
789
|
node.condition.typeaheadSearchState.complete();
|