@finos/legend-query-builder 4.14.70 → 4.14.71
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/components/QueryBuilderConstantExpressionPanel.d.ts.map +1 -1
- package/lib/components/QueryBuilderConstantExpressionPanel.js +2 -1
- package/lib/components/QueryBuilderConstantExpressionPanel.js.map +1 -1
- package/lib/components/result/tds/QueryBuilderTDSGridResult.d.ts.map +1 -1
- package/lib/components/result/tds/QueryBuilderTDSGridResult.js +2 -16
- package/lib/components/result/tds/QueryBuilderTDSGridResult.js.map +1 -1
- package/lib/components/result/tds/QueryBuilderTDSSimpleGridResult.d.ts +0 -1
- package/lib/components/result/tds/QueryBuilderTDSSimpleGridResult.d.ts.map +1 -1
- package/lib/components/result/tds/QueryBuilderTDSSimpleGridResult.js +1 -34
- package/lib/components/result/tds/QueryBuilderTDSSimpleGridResult.js.map +1 -1
- package/lib/index.css +1 -1
- package/lib/package.json +1 -1
- package/lib/stores/QueryBuilderConstantsState.d.ts +1 -0
- package/lib/stores/QueryBuilderConstantsState.d.ts.map +1 -1
- package/lib/stores/QueryBuilderConstantsState.js +6 -1
- package/lib/stores/QueryBuilderConstantsState.js.map +1 -1
- package/package.json +1 -1
- package/src/components/QueryBuilderConstantExpressionPanel.tsx +2 -1
- package/src/components/result/tds/QueryBuilderTDSGridResult.tsx +2 -16
- package/src/components/result/tds/QueryBuilderTDSSimpleGridResult.tsx +0 -43
- package/src/stores/QueryBuilderConstantsState.ts +16 -1
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderConstantExpressionPanel.d.ts","sourceRoot":"","sources":["../../src/components/QueryBuilderConstantExpressionPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAgCH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;
|
1
|
+
{"version":3,"file":"QueryBuilderConstantExpressionPanel.d.ts","sourceRoot":"","sources":["../../src/components/QueryBuilderConstantExpressionPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAgCH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAkYxE,eAAO,MAAM,mCAAmC,WACtC;IAAE,iBAAiB,EAAE,iBAAiB,CAAA;CAAE;;CA4IjD,CAAC"}
|
@@ -147,11 +147,12 @@ const QuerryBuilderCalculatedConstantExpressionEditor = observer((props) => {
|
|
147
147
|
const lambdaStateCopy = useMemo(() => cloneQueryBuilderConstantLambdaEditorState(lambdaState), [lambdaState]);
|
148
148
|
// Modal lifecycle actions
|
149
149
|
const handleCancel = () => {
|
150
|
+
applicationStore.layoutService.setShowBackdrop(false);
|
150
151
|
queryBuilderState.constantState.setSelectedConstant(undefined);
|
151
152
|
};
|
152
153
|
const handleApply = () => {
|
153
154
|
variableExpression_setName(constantState.variable, name);
|
154
|
-
constantState.
|
155
|
+
constantState.setLambdaState(lambdaStateCopy);
|
155
156
|
handleCancel();
|
156
157
|
};
|
157
158
|
useEffect(() => {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderConstantExpressionPanel.js","sourceRoot":"","sources":["../../src/components/QueryBuilderConstantExpressionPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,kBAAkB,EAClB,oCAAoC,GAErC,MAAM,iCAAiC,CAAC;AACzC,OAAO,EACL,qBAAqB,EACrB,IAAI,EACJ,mBAAmB,EACnB,MAAM,EACN,cAAc,EACd,KAAK,EACL,SAAS,EACT,WAAW,EACX,iBAAiB,EACjB,WAAW,EACX,gBAAgB,EAChB,2BAA2B,EAC3B,QAAQ,GACT,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAGL,aAAa,EACb,kBAAkB,EAClB,YAAY,EACZ,iBAAiB,EACjB,aAAa,GACd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAE3C,OAAO,EAEL,yCAAyC,EACzC,6CAA6C,EAC7C,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AChB,EACD,OAAO,EAAE;oCACP,YAAY,EAAE,GAAG,EAAE,CACjB,aAAa,CAAC,mBAAmB,CAAC,UAAU,CAAC;oCAC/C,cAAc,EAAE,GAAG,EAAE,CACnB,aAAa,CAAC,cAAc,CAAC,UAAU,CAAC;iCAC3C,EACD,uBAAuB,EAAE,mBAAmB,CAAC,UAAU,CAAC,EACxD,UAAU,EAAE,UAAU,IAjBjB,UAAU,CAAC,IAAI,CAkBpB,CACH,CAAC,EACH,CAAC,aAAa,CAAC,SAAS,CAAC,MAAM,IAAI,CAClC,KAAC,qBAAqB,IACpB,IAAI,EAAC,gBAAgB,EACrB,QAAQ,EAAE,UAAU,EACpB,OAAO,EAAE,WAAW,EACpB,eAAe,EAAC,KAAK,EACrB,WAAW,EAAC,cAAc,EAC1B,WAAW,EAAC,6BAA6B,GACzC,CACH,IACA,GACC,EACL,aAAa,CAAC,gBAAgB;gBAC7B,mBAAmB,CAAC,aAAa,CAAC,gBAAgB,CAAC,IACjD,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
1
|
+
{"version":3,"file":"QueryBuilderConstantExpressionPanel.js","sourceRoot":"","sources":["../../src/components/QueryBuilderConstantExpressionPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,kBAAkB,EAClB,oCAAoC,GAErC,MAAM,iCAAiC,CAAC;AACzC,OAAO,EACL,qBAAqB,EACrB,IAAI,EACJ,mBAAmB,EACnB,MAAM,EACN,cAAc,EACd,KAAK,EACL,SAAS,EACT,WAAW,EACX,iBAAiB,EACjB,WAAW,EACX,gBAAgB,EAChB,2BAA2B,EAC3B,QAAQ,GACT,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAGL,aAAa,EACb,kBAAkB,EAClB,YAAY,EACZ,iBAAiB,EACjB,aAAa,GACd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAE3C,OAAO,EAEL,yCA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AAG,EACD,UAAU;wCACV,yCAAyC;wCACvC,CAAC,CAAC,UAAU,CAAC,KAAK;wCAClB,CAAC,CAAC,SAAS;iCAChB,EACD,OAAO,EAAE;oCACP,YAAY,EAAE,GAAG,EAAE,CACjB,aAAa,CAAC,mBAAmB,CAAC,UAAU,CAAC;oCAC/C,cAAc,EAAE,GAAG,EAAE,CACnB,aAAa,CAAC,cAAc,CAAC,UAAU,CAAC;iCAC3C,EACD,uBAAuB,EAAE,mBAAmB,CAAC,UAAU,CAAC,EACxD,UAAU,EAAE,UAAU,IAjBjB,UAAU,CAAC,IAAI,CAkBpB,CACH,CAAC,EACH,CAAC,aAAa,CAAC,SAAS,CAAC,MAAM,IAAI,CAClC,KAAC,qBAAqB,IACpB,IAAI,EAAC,gBAAgB,EACrB,QAAQ,EAAE,UAAU,EACpB,OAAO,EAAE,WAAW,EACpB,eAAe,EAAC,KAAK,EACrB,WAAW,EAAC,cAAc,EAC1B,WAAW,EAAC,6BAA6B,GACzC,CACH,IACA,GACC,EACL,aAAa,CAAC,gBAAgB;gBAC7B,mBAAmB,CAAC,aAAa,CAAC,gBAAgB,CAAC,IACjD,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderTDSGridResult.d.ts","sourceRoot":"","sources":["../../../../src/components/result/tds/QueryBuilderTDSGridResult.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sCAAsC,CAAC;AAC9E,OAAO,EAAkB,KAAK,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;
|
1
|
+
{"version":3,"file":"QueryBuilderTDSGridResult.d.ts","sourceRoot":"","sources":["../../../../src/components/result/tds/QueryBuilderTDSGridResult.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sCAAsC,CAAC;AAC9E,OAAO,EAAkB,KAAK,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AA8C9E,0BAAkB,6CAA6C;IAC7D,IAAI,SAAS;IACb,IAAI,SAAS;CACd;AAmLD,eAAO,MAAM,yBAAyB,WAC5B;IACN,eAAe,EAAE,kBAAkB,CAAC;IACpC,iBAAiB,EAAE,iBAAiB,CAAC;CACtC;;CAmWF,CAAC"}
|
@@ -26,7 +26,6 @@ import { assertErrorThrown, isBoolean, isNumber, isString, isValidURL, } from '@
|
|
26
26
|
import { useApplicationStore } from '@finos/legend-application';
|
27
27
|
import { QUERY_BUILDER_TEST_ID } from '../../../__lib__/QueryBuilderTesting.js';
|
28
28
|
import { clsx, Modal, ModalBody, ModalHeader, ModalFooter, ModalFooterButton, Dialog, CustomSelectorInput, } from '@finos/legend-art';
|
29
|
-
import { getFloatGridColumnCustomHeader } from './QueryBuilderTDSSimpleGridResult.js';
|
30
29
|
export var QueryBuilderDataGridCustomAggregationFunction;
|
31
30
|
(function (QueryBuilderDataGridCustomAggregationFunction) {
|
32
31
|
QueryBuilderDataGridCustomAggregationFunction["wavg"] = "wavg";
|
@@ -47,20 +46,13 @@ const getAggregationTDSColumnCustomizations = (result, columnName) => {
|
|
47
46
|
filter: 'agDateColumnFilter',
|
48
47
|
allowedAggFuncs: ['count'],
|
49
48
|
};
|
49
|
+
case PRIMITIVE_TYPE.DECIMAL:
|
50
50
|
case PRIMITIVE_TYPE.NUMBER:
|
51
51
|
case PRIMITIVE_TYPE.INTEGER:
|
52
|
-
return {
|
53
|
-
filter: 'agNumberColumnFilter',
|
54
|
-
allowedAggFuncs: ['count', 'sum', 'max', 'min', 'avg', 'wavg'],
|
55
|
-
};
|
56
|
-
case PRIMITIVE_TYPE.DECIMAL:
|
57
52
|
case PRIMITIVE_TYPE.FLOAT:
|
58
53
|
return {
|
59
54
|
filter: 'agNumberColumnFilter',
|
60
55
|
allowedAggFuncs: ['count', 'sum', 'max', 'min', 'avg', 'wavg'],
|
61
|
-
headerComponentParams: {
|
62
|
-
template: getFloatGridColumnCustomHeader(columnName),
|
63
|
-
},
|
64
56
|
};
|
65
57
|
default:
|
66
58
|
return {
|
@@ -139,16 +131,10 @@ const getFilterTDSColumnCustomizations = (result, columnName) => {
|
|
139
131
|
};
|
140
132
|
case PRIMITIVE_TYPE.DECIMAL:
|
141
133
|
case PRIMITIVE_TYPE.INTEGER:
|
142
|
-
case PRIMITIVE_TYPE.NUMBER:
|
143
|
-
return {
|
144
|
-
filter: 'agNumberColumnFilter',
|
145
|
-
};
|
146
134
|
case PRIMITIVE_TYPE.FLOAT:
|
135
|
+
case PRIMITIVE_TYPE.NUMBER:
|
147
136
|
return {
|
148
137
|
filter: 'agNumberColumnFilter',
|
149
|
-
headerComponentParams: {
|
150
|
-
template: getFloatGridColumnCustomHeader(columnName),
|
151
|
-
},
|
152
138
|
};
|
153
139
|
default:
|
154
140
|
// we default all other columns to use filter true which defaults to set filters
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderTDSGridResult.js","sourceRoot":"","sources":["../../../../src/components/result/tds/QueryBuilderTDSGridResult.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAE3C,OAAO,EAAE,cAAc,EAA2B,MAAM,qBAAqB,CAAC;AAC9E,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACzD,OAAO,EACL,QAAQ,GAQT,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACL,6BAA6B,EAE7B,mBAAmB,GACpB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAEL,sCAAsC,GAIvC,MAAM,4CAA4C,CAAC;AACpD,OAAO,EAAE,oBAAoB,EAAE,MAAM,6DAA6D,CAAC;AACnG,OAAO,EAAE,cAAc,EAAE,MAAM,6CAA6C,CAAC;AAC7E,OAAO,EACL,iBAAiB,EACjB,SAAS,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C7B,WAAW,EAAE,0BAA0B,EACvC,QAAQ,EACN,CAAC,gBAAgB,CAAC,aAAa;6CAC5B,mCAAmC,GAExC,IACQ,EACZ,KAAC,WAAW,cACV,KAAC,iBAAiB,IAChB,OAAO,EAAE,GAAG,EAAE;wCACZ,WAAW,CAAC,oBAAoB,EAAE,iBAAiB,CACjD,KAAK,CACN,CAAC;oCACJ,CAAC,EACD,IAAI,EAAC,OAAO,GACZ,GACU,IACR,GACD,CACV,IACG,GACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
1
|
+
{"version":3,"file":"QueryBuilderTDSGridResult.js","sourceRoot":"","sources":["../../../../src/components/result/tds/QueryBuilderTDSGridResult.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAE3C,OAAO,EAAE,cAAc,EAA2B,MAAM,qBAAqB,CAAC;AAC9E,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACzD,OAAO,EACL,QAAQ,GAQT,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACL,6BAA6B,EAE7B,mBAAmB,GACpB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAEL,sCAAsC,GAIvC,MAAM,4CAA4C,CAAC;AACpD,OAAO,EAAE,oBAAoB,EAAE,MAAM,6DAA6D,CAAC;AACnG,OAAO,EAAE,cAAc,EAAE,MAAM,6CAA6C,CAAC;AAC7E,OAAO,EACL,iBAAiB,EACjB,SAAS,EACT,QAAQ,EACR,QAAQ,EACR,UAAU,GACX,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AAChF,OAAO,EACL,IAAI,EACJ,KAAK,EACL,SAAS,EACT,WAAW,EACX,WAAW,EACX,iBAAiB,EACjB,MAAM,E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nD,KAAC,MAAM,IACL,IAAI,EAAE,WAAW,CAAC,oBAAoB,CAAC,cAAc,EACrD,OAAO,EAAE,GAAG,EAAE,CACZ,WAAW,CAAC,oBAAoB,EAAE,iBAAiB,CAAC,KAAK,CAAC,EAE5D,OAAO,EAAE;wBACP,IAAI,EAAE,8BAA8B;wBACpC,SAAS,EAAE,yBAAyB;wBACpC,KAAK,EAAE,uBAAuB;qBAC/B,YAED,MAAC,KAAK,IACJ,QAAQ,EACN,CAAC,gBAAgB,CAAC,aAAa;6BAC5B,mCAAmC,EAExC,SAAS,EAAC,8BAA8B,aAExC,KAAC,WAAW,IAAC,KAAK,EAAC,2BAA2B,GAAG,EACjD,MAAC,SAAS,eACR,cAAK,SAAS,EAAC,uCAAuC,uDAEhD,EACN,KAAC,mBAAmB,IAClB,OAAO,EAAE,qBAAqB,EAC9B,QAAQ,EAAE,4BAA4B,EACtC,KAAK,EAAE,sBAAsB,EAC7B,WAAW,EAAE,0BAA0B,EACvC,QAAQ,EACN,CAAC,gBAAgB,CAAC,aAAa;6CAC5B,mCAAmC,GAExC,IACQ,EACZ,KAAC,WAAW,cACV,KAAC,iBAAiB,IAChB,OAAO,EAAE,GAAG,EAAE;wCACZ,WAAW,CAAC,oBAAoB,EAAE,iBAAiB,CACjD,KAAK,CACN,CAAC;oCACJ,CAAC,EACD,IAAI,EAAC,OAAO,GACZ,GACU,IACR,GACD,CACV,IACG,GACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
@@ -15,7 +15,6 @@
|
|
15
15
|
*/
|
16
16
|
import type { QueryBuilderState } from '../../../stores/QueryBuilderState.js';
|
17
17
|
import { TDSExecutionResult } from '@finos/legend-graph';
|
18
|
-
export declare const getFloatGridColumnCustomHeader: (columnName: string) => string;
|
19
18
|
export declare const QueryBuilderTDSSimpleGridResult: ((props: {
|
20
19
|
executionResult: TDSExecutionResult;
|
21
20
|
queryBuilderState: QueryBuilderState;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderTDSSimpleGridResult.d.ts","sourceRoot":"","sources":["../../../../src/components/result/tds/QueryBuilderTDSSimpleGridResult.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sCAAsC,CAAC;AAC9E,OAAO,
|
1
|
+
{"version":3,"file":"QueryBuilderTDSSimpleGridResult.d.ts","sourceRoot":"","sources":["../../../../src/components/result/tds/QueryBuilderTDSSimpleGridResult.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sCAAsC,CAAC;AAC9E,OAAO,EAEL,kBAAkB,EACnB,MAAM,qBAAqB,CAAC;AA0U7B,eAAO,MAAM,+BAA+B,WAClC;IACN,eAAe,EAAE,kBAAkB,CAAC;IACpC,iBAAiB,EAAE,iBAAiB,CAAC;CACtC;;CAqDF,CAAC"}
|
@@ -16,45 +16,13 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
16
16
|
*/
|
17
17
|
import { ContextMenu, clsx } from '@finos/legend-art';
|
18
18
|
import { observer } from 'mobx-react-lite';
|
19
|
-
import { getTDSRowRankByColumnInAsc,
|
19
|
+
import { getTDSRowRankByColumnInAsc, TDSExecutionResult, } from '@finos/legend-graph';
|
20
20
|
import { DataGrid, } from '@finos/legend-lego/data-grid';
|
21
21
|
import { getRowDataFromExecutionResult, QueryBuilderGridResultContextMenu, } from './QueryBuilderTDSResultShared.js';
|
22
22
|
import { QueryBuilderTDSState } from '../../../stores/fetch-structure/tds/QueryBuilderTDSState.js';
|
23
23
|
import { DEFAULT_LOCALE } from '../../../graph-manager/QueryBuilderConst.js';
|
24
24
|
import { guaranteeNonNullable, isBoolean, isNumber, isString, isValidURL, } from '@finos/legend-shared';
|
25
25
|
import { QUERY_BUILDER_TEST_ID } from '../../../__lib__/QueryBuilderTesting.js';
|
26
|
-
export const getFloatGridColumnCustomHeader = (columnName) => ` <div data-testid="query__builder__result__grid__custom-header" class="query-builder__result__values__table__custom-header">
|
27
|
-
<div>${columnName}</div>
|
28
|
-
<div
|
29
|
-
class="query-builder__result__stale-status__icon"
|
30
|
-
title="some values have been rounded using en-us format in this preview grid (defaults to max 4 decimal places)"
|
31
|
-
>
|
32
|
-
<svg
|
33
|
-
stroke="currentColor"
|
34
|
-
fill="currentColor"
|
35
|
-
stroke-width="0"
|
36
|
-
viewBox="0 0 576 512"
|
37
|
-
height="1em"
|
38
|
-
width="1em"
|
39
|
-
xmlns="http://www.w3.org/2000/svg"
|
40
|
-
>
|
41
|
-
<path d="M569.517 440.013C587.975 472.007 564.806 512 527.94 512H48.054c-36.937 0-59.999-40.055-41.577-71.987L246.423 23.985c18.467-32.009 64.72-31.951 83.154 0l239.94 416.028zM288 354c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"></path>
|
42
|
-
</svg>
|
43
|
-
</div>
|
44
|
-
</div>`;
|
45
|
-
const getTDSColumnCustomizations = (result, columnName) => {
|
46
|
-
const columnType = result.builder.columns.find((col) => col.name === columnName)?.type;
|
47
|
-
switch (columnType) {
|
48
|
-
case PRIMITIVE_TYPE.FLOAT:
|
49
|
-
return {
|
50
|
-
headerComponentParams: {
|
51
|
-
template: getFloatGridColumnCustomHeader(columnName),
|
52
|
-
},
|
53
|
-
};
|
54
|
-
default:
|
55
|
-
return {};
|
56
|
-
}
|
57
|
-
};
|
58
26
|
const QueryResultCellRenderer = observer((params) => {
|
59
27
|
const resultState = params.resultState;
|
60
28
|
const tdsExecutionResult = params.tdsExecutionResult;
|
@@ -247,7 +215,6 @@ export const QueryBuilderTDSSimpleGridResult = observer((props) => {
|
|
247
215
|
resizable: true,
|
248
216
|
field: colName,
|
249
217
|
flex: 1,
|
250
|
-
...getTDSColumnCustomizations(executionResult, colName),
|
251
218
|
cellRenderer: QueryResultCellRenderer,
|
252
219
|
cellRendererParams: {
|
253
220
|
resultState: resultState,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderTDSSimpleGridResult.js","sourceRoot":"","sources":["../../../../src/components/result/tds/QueryBuilderTDSSimpleGridResult.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,WAAW,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAE3C,OAAO,EACL,0BAA0B,EAC1B,cAAc,EACd,kBAAkB,GACnB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,QAAQ,GAET,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACL,6BAA6B,EAC7B,iCAAiC,GAElC,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,oBAAoB,EAAE,MAAM,6DAA6D,CAAC;AACnG,OAAO,EAAE,cAAc,EAAE,MAAM,6CAA6C,CAAC;AAC7E,OAAO,EACL,oBAAoB,EACpB,SAAS,EACT,QAAQ,EACR,QAAQ,EACR,UAAU,GACX,MAAM,sBAAsB,CAAC;AAO9B,OAAO,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AAEhF,MAAM,CAAC,MAAM,8BAA8B,GAAG,CAC5C,UAAkB,EACV,EAAE,CAAC;qBACQ,UAAU;;;;;;;;;;;;;;;;;mBAiBZ,CAAC;AAEpB,MAAM,0BAA0B,GAAG,CACjC,MAA0B,EAC1B,UAAkB,EACV,EAAE;IACV,MAAM,UAAU,GAAG,MAAM,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI,CAC5C,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,IAAI,KAAK,UAAU,CACjC,EAAE,IAAI,CAAC;IACR,QAAQ,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AAG,eAAe,CAAC,MAAM,CAAC,OAAO,CAAC,GAAG,CAChD,CAAC,OAAO,EAAE,EAAE,CACV,CAAC;QACC,QAAQ,EAAE,EAAE;QACZ,QAAQ,EAAE,IAAI;QACd,SAAS,EAAE,IAAI;QACf,KAAK,EAAE,OAAO;QACd,IAAI,EAAE,CAAC;QACP,GAAG,0BAA0B,CAAC,eAAe,EAAE,OAAO,CAAC;QACvD,YAAY,EAAE,uBAAuB;QACrC,kBAAkB,EAAE;YAClB,WAAW,EAAE,WAAW;YACxB,kBAAkB,EAAE,eAAe;SACpC;KACF,CAA6B,CACjC,CAAC;IAEF,OAAO,CACL,6BACe,qBAAqB,CAAC,+BAA+B,EAClE,SAAS,EAAC,sCAAsC,YAEhD,cACE,SAAS,EAAE,IAAI,CAAC,iCAAiC,EAAE;gBACjD,iBAAiB,EAAE,CAAC,QAAQ;gBAC5B,sBAAsB,EAAE,QAAQ;aACjC,CAAC,YAEF,KAAC,QAAQ,IACP,OAAO,EAAE,6BAA6B,CAAC,eAAe,CAAC,EACvD,WAAW,EAAE;oBACX,uBAAuB,EAAE,IAAI;oBAC7B,QAAQ,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS;oBACvC,YAAY,EAAE,UAAU;iBACzB;gBACD,oHAAoH;gBACpH,oIAAoI;gBACpI,gBAAgB,EAAE,CAAC,MAAM,EAAE,EAAE;oBAC3B,MAAM,CAAC,GAAG,CAAC,YAAY,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC;gBAC3C,CAAC,EACD,wBAAwB,EAAE,IAAI,EAC9B,mBAAmB,EAAE,KAAK,EAC1B,UAAU,EAAE,OAAO,GACnB,GACE,GACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
1
|
+
{"version":3,"file":"QueryBuilderTDSSimpleGridResult.js","sourceRoot":"","sources":["../../../../src/components/result/tds/QueryBuilderTDSSimpleGridResult.tsx"],"names":[],"mappings":";A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,GAAG,CAAC,YAAY,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC;gBAC3C,CAAC,EACD,wBAAwB,EAAE,IAAI,EAC9B,mBAAmB,EAAE,KAAK,EAC1B,UAAU,EAAE,OAAO,GACnB,GACE,GACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
package/lib/index.css
CHANGED
package/lib/package.json
CHANGED
@@ -51,6 +51,7 @@ export declare class QueryBuilderCalculatedConstantExpressionState extends Query
|
|
51
51
|
value: PlainObject;
|
52
52
|
lambdaState: QueryBuilderConstantLambdaEditorState;
|
53
53
|
constructor(queryBuilderState: QueryBuilderState, variable: VariableExpression, value: PlainObject);
|
54
|
+
setLambdaState(val: QueryBuilderConstantLambdaEditorState): void;
|
54
55
|
setValue(val: PlainObject): void;
|
55
56
|
buildLetAssignmentValue(): ValueSpecification;
|
56
57
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderConstantsState.d.ts","sourceRoot":"","sources":["../../src/stores/QueryBuilderConstantsState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,IAAI,EACT,KAAK,kBAAkB,EAIvB,kBAAkB,EAIlB,wBAAwB,EAMzB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,KAAK,QAAQ,EAOb,KAAK,WAAW,EAChB,KAAK,WAAW,EAIhB,WAAW,EAEZ,MAAM,sBAAsB,CAAC;AAG9B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAMhE,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAGlE,8BAAsB,mCAAoC,YAAW,QAAQ;IAC3E,QAAQ,CAAC,iBAAiB,EAAE,iBAAiB,CAAC;IAC9C,QAAQ,CAAC,IAAI,SAAU;IACvB,QAAQ,EAAE,kBAAkB,CAAC;gBAG3B,iBAAiB,EAAE,iBAAiB,EACpC,QAAQ,EAAE,kB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CAKrB;CACF;AAED,eAAO,MAAM,0CAA0C,UAC9C,qCAAqC,KAC3C,qCAiBF,CAAC"}
|
@@ -167,12 +167,16 @@ export class QueryBuilderCalculatedConstantExpressionState extends QueryBuilderC
|
|
167
167
|
variable: observable,
|
168
168
|
lambdaState: observable,
|
169
169
|
value: observable,
|
170
|
+
setLambdaState: action,
|
170
171
|
setValue: action,
|
171
172
|
});
|
172
173
|
this.value = value;
|
173
174
|
this.lambdaState = new QueryBuilderConstantLambdaEditorState(this);
|
174
175
|
observe_ValueSpecification(variable, this.queryBuilderState.observerContext);
|
175
176
|
}
|
177
|
+
setLambdaState(val) {
|
178
|
+
this.lambdaState = val;
|
179
|
+
}
|
176
180
|
setValue(val) {
|
177
181
|
this.value = val;
|
178
182
|
}
|
@@ -238,7 +242,8 @@ export class QueryBuilderConstantsState {
|
|
238
242
|
}
|
239
243
|
}
|
240
244
|
export const cloneQueryBuilderConstantLambdaEditorState = (state) => {
|
241
|
-
const
|
245
|
+
const clonedCalculatedState = new QueryBuilderCalculatedConstantExpressionState(state.calculatedState.queryBuilderState, new VariableExpression(state.calculatedState.variable.name, state.calculatedState.variable.multiplicity, state.calculatedState.variable.genericType), deepClone(state.calculatedState.value));
|
246
|
+
const clonedState = new QueryBuilderConstantLambdaEditorState(clonedCalculatedState);
|
242
247
|
clonedState.lambdaString = state.lambdaString;
|
243
248
|
clonedState.parserError = deepClone(state.parserError);
|
244
249
|
return clonedState;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderConstantsState.js","sourceRoot":"","sources":["../../src/stores/QueryBuilderConstantsState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAGL,WAAW,EACX,4BAA4B,EAC5B,0BAA0B,EAC1B,kBAAkB,EAClB,8BAA8B,EAC9B,WAAW,EACX,mBAAmB,EACnB,wBAAwB,EACxB,sBAAsB,EACtB,aAAa,EACb,0BAA0B,EAC1B,mBAAmB,EACnB,mCAAm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C,gBAAgB,GAAG,GAAG,CAAC;IAC9B,CAAC;IAED,mBAAmB,CAAC,KAAyB;QAC3C,IAAI,KAAK,YAAY,kBAAkB,EAAE,CAAC;YACxC,OAAO,OAAO,CACZ,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,QAAQ,CAAC,IAAI,KAAK,KAAK,CAAC,IAAI,CAAC,CAC3D,CAAC;QACJ,CAAC;QACD,OAAO,KAAK,CAAC;IACf,CAAC;IAED,mBAAmB,CAAC,GAA8C;QAChE,IAAI,CAAC;YACH,MAAM,OAAO,GACX,IAAI,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,YAAY,CAAC,2BAA2B,CAC/E,GAAG,CAAC,KAAK,CACV,CAAC;YACJ,MAAM,aAAa,GAAG,IAAI,6CAA6C,CACrE,IAAI,CAAC,iBAAiB,EACtB,GAAG,CAAC,QAAQ,EACZ,OAAO,CACR,CAAC;YACF,UAAU,CACR,WAAW,CAAC,IAAI,CAAC,SAAS,EAAE,GAAG,EAAE,aAAa,CAAC,EAC/C,0CAA0C,CAC3C,CAAC;QACJ,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,iBAAiB,CAAC,KAAK,CAAC,CAAC;YACzB,IAAI,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,mBAAmB,CAAC,WAAW,CACrE,KAAK,CACN,CAAC;QACJ,CAAC;IACH,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,kCAAkC,CAAC,cAAc;YACjD,SAAS,CAAC,IAAI,CAAC,SAAS,CAAC;SAC1B,CAAC,CAAC;IACL,CAAC;CACF;AAED,MAAM,CAAC,MAAM,0CAA0C,GAAG,CACxD,KAA4C,EACL,EAAE;IACzC,MAAM,
|
1
|
+
{"version":3,"file":"QueryBuilderConstantsState.js","sourceRoot":"","sources":["../../src/stores/QueryBuilderConstantsState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;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AAS,CAAC;YACf,kCAAkC,CAAC,cAAc;YACjD,SAAS,CAAC,IAAI,CAAC,SAAS,CAAC;SAC1B,CAAC,CAAC;IACL,CAAC;CACF;AAED,MAAM,CAAC,MAAM,0CAA0C,GAAG,CACxD,KAA4C,EACL,EAAE;IACzC,MAAM,qBAAqB,GACzB,IAAI,6CAA6C,CAC/C,KAAK,CAAC,eAAe,CAAC,iBAAiB,EACvC,IAAI,kBAAkB,CACpB,KAAK,CAAC,eAAe,CAAC,QAAQ,CAAC,IAAI,EACnC,KAAK,CAAC,eAAe,CAAC,QAAQ,CAAC,YAAY,EAC3C,KAAK,CAAC,eAAe,CAAC,QAAQ,CAAC,WAAW,CAC3C,EACD,SAAS,CAAC,KAAK,CAAC,eAAe,CAAC,KAAK,CAAC,CACvC,CAAC;IACJ,MAAM,WAAW,GAAG,IAAI,qCAAqC,CAC3D,qBAAqB,CACtB,CAAC;IACF,WAAW,CAAC,YAAY,GAAG,KAAK,CAAC,YAAY,CAAC;IAC9C,WAAW,CAAC,WAAW,GAAG,SAAS,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC;IACvD,OAAO,WAAW,CAAC;AACrB,CAAC,CAAC"}
|
package/package.json
CHANGED
@@ -324,12 +324,13 @@ const QuerryBuilderCalculatedConstantExpressionEditor = observer(
|
|
324
324
|
|
325
325
|
// Modal lifecycle actions
|
326
326
|
const handleCancel = (): void => {
|
327
|
+
applicationStore.layoutService.setShowBackdrop(false);
|
327
328
|
queryBuilderState.constantState.setSelectedConstant(undefined);
|
328
329
|
};
|
329
330
|
|
330
331
|
const handleApply = (): void => {
|
331
332
|
variableExpression_setName(constantState.variable, name);
|
332
|
-
constantState.
|
333
|
+
constantState.setLambdaState(lambdaStateCopy);
|
333
334
|
handleCancel();
|
334
335
|
};
|
335
336
|
|
@@ -61,7 +61,6 @@ import {
|
|
61
61
|
Dialog,
|
62
62
|
CustomSelectorInput,
|
63
63
|
} from '@finos/legend-art';
|
64
|
-
import { getFloatGridColumnCustomHeader } from './QueryBuilderTDSSimpleGridResult.js';
|
65
64
|
|
66
65
|
export const enum QueryBuilderDataGridCustomAggregationFunction {
|
67
66
|
wavg = 'wavg',
|
@@ -88,20 +87,13 @@ const getAggregationTDSColumnCustomizations = (
|
|
88
87
|
filter: 'agDateColumnFilter',
|
89
88
|
allowedAggFuncs: ['count'],
|
90
89
|
};
|
90
|
+
case PRIMITIVE_TYPE.DECIMAL:
|
91
91
|
case PRIMITIVE_TYPE.NUMBER:
|
92
92
|
case PRIMITIVE_TYPE.INTEGER:
|
93
|
-
return {
|
94
|
-
filter: 'agNumberColumnFilter',
|
95
|
-
allowedAggFuncs: ['count', 'sum', 'max', 'min', 'avg', 'wavg'],
|
96
|
-
};
|
97
|
-
case PRIMITIVE_TYPE.DECIMAL:
|
98
93
|
case PRIMITIVE_TYPE.FLOAT:
|
99
94
|
return {
|
100
95
|
filter: 'agNumberColumnFilter',
|
101
96
|
allowedAggFuncs: ['count', 'sum', 'max', 'min', 'avg', 'wavg'],
|
102
|
-
headerComponentParams: {
|
103
|
-
template: getFloatGridColumnCustomHeader(columnName),
|
104
|
-
},
|
105
97
|
};
|
106
98
|
default:
|
107
99
|
return {
|
@@ -215,16 +207,10 @@ const getFilterTDSColumnCustomizations = (
|
|
215
207
|
};
|
216
208
|
case PRIMITIVE_TYPE.DECIMAL:
|
217
209
|
case PRIMITIVE_TYPE.INTEGER:
|
218
|
-
case PRIMITIVE_TYPE.NUMBER:
|
219
|
-
return {
|
220
|
-
filter: 'agNumberColumnFilter',
|
221
|
-
};
|
222
210
|
case PRIMITIVE_TYPE.FLOAT:
|
211
|
+
case PRIMITIVE_TYPE.NUMBER:
|
223
212
|
return {
|
224
213
|
filter: 'agNumberColumnFilter',
|
225
|
-
headerComponentParams: {
|
226
|
-
template: getFloatGridColumnCustomHeader(columnName),
|
227
|
-
},
|
228
214
|
};
|
229
215
|
default:
|
230
216
|
// we default all other columns to use filter true which defaults to set filters
|
@@ -19,7 +19,6 @@ import { observer } from 'mobx-react-lite';
|
|
19
19
|
import type { QueryBuilderState } from '../../../stores/QueryBuilderState.js';
|
20
20
|
import {
|
21
21
|
getTDSRowRankByColumnInAsc,
|
22
|
-
PRIMITIVE_TYPE,
|
23
22
|
TDSExecutionResult,
|
24
23
|
} from '@finos/legend-graph';
|
25
24
|
import {
|
@@ -48,47 +47,6 @@ import type {
|
|
48
47
|
} from '../../../stores/QueryBuilderResultState.js';
|
49
48
|
import { QUERY_BUILDER_TEST_ID } from '../../../__lib__/QueryBuilderTesting.js';
|
50
49
|
|
51
|
-
export const getFloatGridColumnCustomHeader = (
|
52
|
-
columnName: string,
|
53
|
-
): string => ` <div data-testid="query__builder__result__grid__custom-header" class="query-builder__result__values__table__custom-header">
|
54
|
-
<div>${columnName}</div>
|
55
|
-
<div
|
56
|
-
class="query-builder__result__stale-status__icon"
|
57
|
-
title="some values have been rounded using en-us format in this preview grid (defaults to max 4 decimal places)"
|
58
|
-
>
|
59
|
-
<svg
|
60
|
-
stroke="currentColor"
|
61
|
-
fill="currentColor"
|
62
|
-
stroke-width="0"
|
63
|
-
viewBox="0 0 576 512"
|
64
|
-
height="1em"
|
65
|
-
width="1em"
|
66
|
-
xmlns="http://www.w3.org/2000/svg"
|
67
|
-
>
|
68
|
-
<path d="M569.517 440.013C587.975 472.007 564.806 512 527.94 512H48.054c-36.937 0-59.999-40.055-41.577-71.987L246.423 23.985c18.467-32.009 64.72-31.951 83.154 0l239.94 416.028zM288 354c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"></path>
|
69
|
-
</svg>
|
70
|
-
</div>
|
71
|
-
</div>`;
|
72
|
-
|
73
|
-
const getTDSColumnCustomizations = (
|
74
|
-
result: TDSExecutionResult,
|
75
|
-
columnName: string,
|
76
|
-
): object => {
|
77
|
-
const columnType = result.builder.columns.find(
|
78
|
-
(col) => col.name === columnName,
|
79
|
-
)?.type;
|
80
|
-
switch (columnType) {
|
81
|
-
case PRIMITIVE_TYPE.FLOAT:
|
82
|
-
return {
|
83
|
-
headerComponentParams: {
|
84
|
-
template: getFloatGridColumnCustomHeader(columnName),
|
85
|
-
},
|
86
|
-
};
|
87
|
-
default:
|
88
|
-
return {};
|
89
|
-
}
|
90
|
-
};
|
91
|
-
|
92
50
|
const QueryResultCellRenderer = observer(
|
93
51
|
(params: IQueryRendererParamsWithGridType) => {
|
94
52
|
const resultState = params.resultState;
|
@@ -410,7 +368,6 @@ export const QueryBuilderTDSSimpleGridResult = observer(
|
|
410
368
|
resizable: true,
|
411
369
|
field: colName,
|
412
370
|
flex: 1,
|
413
|
-
...getTDSColumnCustomizations(executionResult, colName),
|
414
371
|
cellRenderer: QueryResultCellRenderer,
|
415
372
|
cellRendererParams: {
|
416
373
|
resultState: resultState,
|
@@ -288,6 +288,7 @@ export class QueryBuilderCalculatedConstantExpressionState
|
|
288
288
|
variable: observable,
|
289
289
|
lambdaState: observable,
|
290
290
|
value: observable,
|
291
|
+
setLambdaState: action,
|
291
292
|
setValue: action,
|
292
293
|
});
|
293
294
|
this.value = value;
|
@@ -298,6 +299,10 @@ export class QueryBuilderCalculatedConstantExpressionState
|
|
298
299
|
);
|
299
300
|
}
|
300
301
|
|
302
|
+
setLambdaState(val: QueryBuilderConstantLambdaEditorState): void {
|
303
|
+
this.lambdaState = val;
|
304
|
+
}
|
305
|
+
|
301
306
|
setValue(val: PlainObject): void {
|
302
307
|
this.value = val;
|
303
308
|
}
|
@@ -393,8 +398,18 @@ export class QueryBuilderConstantsState implements Hashable {
|
|
393
398
|
export const cloneQueryBuilderConstantLambdaEditorState = (
|
394
399
|
state: QueryBuilderConstantLambdaEditorState,
|
395
400
|
): QueryBuilderConstantLambdaEditorState => {
|
401
|
+
const clonedCalculatedState =
|
402
|
+
new QueryBuilderCalculatedConstantExpressionState(
|
403
|
+
state.calculatedState.queryBuilderState,
|
404
|
+
new VariableExpression(
|
405
|
+
state.calculatedState.variable.name,
|
406
|
+
state.calculatedState.variable.multiplicity,
|
407
|
+
state.calculatedState.variable.genericType,
|
408
|
+
),
|
409
|
+
deepClone(state.calculatedState.value),
|
410
|
+
);
|
396
411
|
const clonedState = new QueryBuilderConstantLambdaEditorState(
|
397
|
-
|
412
|
+
clonedCalculatedState,
|
398
413
|
);
|
399
414
|
clonedState.lambdaString = state.lambdaString;
|
400
415
|
clonedState.parserError = deepClone(state.parserError);
|