@finos/legend-query-builder 0.4.2 → 0.4.3
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/components/QueryBuilderNavigationBlocker.d.ts.map +1 -1
- package/lib/components/QueryBuilderNavigationBlocker.js +1 -1
- package/lib/components/QueryBuilderNavigationBlocker.js.map +1 -1
- package/lib/components/QueryBuilderParametersPanel.d.ts.map +1 -1
- package/lib/components/QueryBuilderParametersPanel.js +17 -19
- package/lib/components/QueryBuilderParametersPanel.js.map +1 -1
- package/lib/index.css +0 -16
- package/lib/package.json +1 -1
- package/lib/stores/QueryBuilderValueSpecificationBuilderHelper.d.ts +1 -1
- package/lib/stores/QueryBuilderValueSpecificationBuilderHelper.d.ts.map +1 -1
- package/lib/stores/QueryBuilderValueSpecificationBuilderHelper.js +6 -2
- package/lib/stores/QueryBuilderValueSpecificationBuilderHelper.js.map +1 -1
- package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.js +2 -2
- package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperatorValueSpecificationBuilder.d.ts.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperatorValueSpecificationBuilder.js +2 -2
- package/lib/stores/filter/operators/QueryBuilderFilterOperatorValueSpecificationBuilder.js.map +1 -1
- package/package.json +3 -3
- package/src/components/QueryBuilderNavigationBlocker.tsx +4 -0
- package/src/components/QueryBuilderParametersPanel.tsx +37 -47
- package/src/stores/QueryBuilderValueSpecificationBuilderHelper.ts +7 -0
- package/src/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.ts +2 -0
- package/src/stores/filter/operators/QueryBuilderFilterOperatorValueSpecificationBuilder.ts +2 -0
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderNavigationBlocker.d.ts","sourceRoot":"","sources":["../../src/components/QueryBuilderNavigationBlocker.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AASH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAExE,eAAO,MAAM,6BAA6B,WAChC;IAAE,iBAAiB,EAAE,iBAAiB,CAAA;CAAE;;
|
1
|
+
{"version":3,"file":"QueryBuilderNavigationBlocker.d.ts","sourceRoot":"","sources":["../../src/components/QueryBuilderNavigationBlocker.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AASH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAExE,eAAO,MAAM,6BAA6B,WAChC;IAAE,iBAAiB,EAAE,iBAAiB,CAAA;CAAE;;CAuCjD,CAAC"}
|
@@ -38,7 +38,7 @@ export const QueryBuilderNavigationBlocker = observer((props) => {
|
|
38
38
|
},
|
39
39
|
],
|
40
40
|
});
|
41
|
-
});
|
41
|
+
}, () => applicationStore.notifyWarning(`Navigation from the query builder is blocked`));
|
42
42
|
return () => {
|
43
43
|
applicationStore.navigator.unblockNavigation();
|
44
44
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderNavigationBlocker.js","sourceRoot":"","sources":["../../src/components/QueryBuilderNavigationBlocker.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,qBAAqB,EACrB,eAAe,EACf,mBAAmB,GACpB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGlC,MAAM,CAAC,MAAM,6BAA6B,GAAG,QAAQ,CACnD,CAAC,KAA+C,EAAE,EAAE;IAClD,MAAM,EAAE,iBAAiB,EAAE,GAAG,KAAK,CAAC;IACpC,MAAM,gBAAgB,GAAG,mBAAmB,EAAE,CAAC;IAE/C,SAAS,CAAC,GAAG,EAAE;QACb,gBAAgB,CAAC,SAAS,CAAC,eAAe,CACxC,CAAC,GAAY,EAAE,CAAC,iBAAiB,CAAC,oBAAoB,CAAC,UAAU,CAAC,EAClE,CAAC,SAAqB,EAAQ,EAAE;YAC9B,gBAAgB,CAAC,kBAAkB,CAAC;gBAClC,mFAAmF;gBACnF,OAAO,EACL,2FAA2F;gBAC7F,IAAI,EAAE,eAAe,CAAC,OAAO;gBAC7B,OAAO,EAAE;oBACP;wBACE,KAAK,EAAE,SAAS;wBAChB,IAAI,EAAE,qBAAqB,CAAC,oBAAoB;wBAChD,OAAO,EAAE,GAAS,EAAE,CAAC,SAAS,EAAE;qBACjC;oBACD;wBACE,KAAK,EAAE,OAAO;wBACd,IAAI,EAAE,qBAAqB,CAAC,OAAO;wBACnC,OAAO,EAAE,IAAI;qBACd;iBACF;aACF,CAAC,CAAC;QACL,CAAC,
|
1
|
+
{"version":3,"file":"QueryBuilderNavigationBlocker.js","sourceRoot":"","sources":["../../src/components/QueryBuilderNavigationBlocker.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,qBAAqB,EACrB,eAAe,EACf,mBAAmB,GACpB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGlC,MAAM,CAAC,MAAM,6BAA6B,GAAG,QAAQ,CACnD,CAAC,KAA+C,EAAE,EAAE;IAClD,MAAM,EAAE,iBAAiB,EAAE,GAAG,KAAK,CAAC;IACpC,MAAM,gBAAgB,GAAG,mBAAmB,EAAE,CAAC;IAE/C,SAAS,CAAC,GAAG,EAAE;QACb,gBAAgB,CAAC,SAAS,CAAC,eAAe,CACxC,CAAC,GAAY,EAAE,CAAC,iBAAiB,CAAC,oBAAoB,CAAC,UAAU,CAAC,EAClE,CAAC,SAAqB,EAAQ,EAAE;YAC9B,gBAAgB,CAAC,kBAAkB,CAAC;gBAClC,mFAAmF;gBACnF,OAAO,EACL,2FAA2F;gBAC7F,IAAI,EAAE,eAAe,CAAC,OAAO;gBAC7B,OAAO,EAAE;oBACP;wBACE,KAAK,EAAE,SAAS;wBAChB,IAAI,EAAE,qBAAqB,CAAC,oBAAoB;wBAChD,OAAO,EAAE,GAAS,EAAE,CAAC,SAAS,EAAE;qBACjC;oBACD;wBACE,KAAK,EAAE,OAAO;wBACd,IAAI,EAAE,qBAAqB,CAAC,OAAO;wBACnC,OAAO,EAAE,IAAI;qBACd;iBACF;aACF,CAAC,CAAC;QACL,CAAC,EACD,GAAG,EAAE,CACH,gBAAgB,CAAC,aAAa,CAC5B,8CAA8C,CAC/C,CACJ,CAAC;QACF,OAAO,GAAS,EAAE;YAChB,gBAAgB,CAAC,SAAS,CAAC,iBAAiB,EAAE,CAAC;QACjD,CAAC,CAAC;IACJ,CAAC,EAAE,CAAC,gBAAgB,EAAE,iBAAiB,CAAC,CAAC,CAAC;IAE1C,OAAO,IAAI,CAAC;AACd,CAAC,CACF,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderParametersPanel.d.ts","sourceRoot":"","sources":["../../src/components/QueryBuilderParametersPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;
|
1
|
+
{"version":3,"file":"QueryBuilderParametersPanel.d.ts","sourceRoot":"","sources":["../../src/components/QueryBuilderParametersPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAGH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AA4CxE,OAAO,EAAE,oBAAoB,EAAE,MAAM,0CAA0C,CAAC;AAyKhF,eAAO,MAAM,wBAAwB,WAC3B;IACN,iBAAiB,EAAE,iBAAiB,CAAC;IACrC,UAAU,EAAE,OAAO,CAAC;IACpB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,uBAAuB,EAAE,oBAAoB,CAAC;CAC/C;;CA4EF,CAAC;AAEF,eAAO,MAAM,2BAA2B,WAC9B;IAAE,iBAAiB,EAAE,iBAAiB,CAAA;CAAE;;CAwFjD,CAAC"}
|
@@ -14,18 +14,21 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
|
|
14
14
|
* See the License for the specific language governing permissions and
|
15
15
|
* limitations under the License.
|
16
16
|
*/
|
17
|
-
import { useState } from 'react';
|
18
17
|
import { observer } from 'mobx-react-lite';
|
19
18
|
import { Dialog, BlankPanelContent, CustomSelectorInput, PencilIcon, TimesIcon, DollarIcon, PlusIcon, DragPreviewLayer, useDragPreviewLayer, BlankPanelPlaceholder, Modal, ModalBody, ModalFooter, ModalHeader, PanelFormTextField, } from '@finos/legend-art';
|
20
19
|
import { QUERY_BUILDER_PARAMETER_DND_TYPE, } from '../stores/QueryBuilderParametersState.js';
|
21
|
-
import {
|
20
|
+
import { VariableExpression, GenericTypeExplicitReference, GenericType, PrimitiveType, Multiplicity, getMultiplicityPrettyDescription, } from '@finos/legend-graph';
|
22
21
|
import { buildElementOption, getPackageableElementOptionFormatter, useApplicationStore, } from '@finos/legend-application';
|
23
22
|
import { useDrag } from 'react-dnd';
|
24
23
|
import { generateEnumerableNameFromToken } from '@finos/legend-shared';
|
25
24
|
import { DEFAULT_VARIABLE_NAME } from '../stores/QueryBuilderConfig.js';
|
26
|
-
import { variableExpression_setName } from '../stores/shared/ValueSpecificationModifierHelper.js';
|
25
|
+
import { valueSpecification_setMultiplicity, variableExpression_setName, } from '../stores/shared/ValueSpecificationModifierHelper.js';
|
27
26
|
import { LambdaParameterState } from '../stores/shared/LambdaParameterState.js';
|
28
27
|
import { LambdaParameterValuesEditor } from './shared/LambdaParameterValuesEditor.js';
|
28
|
+
const buildMultiplicityOption = (multiplicity) => ({
|
29
|
+
label: getMultiplicityPrettyDescription(multiplicity),
|
30
|
+
value: multiplicity,
|
31
|
+
});
|
29
32
|
const VariableExpressionEditor = observer((props) => {
|
30
33
|
// main state
|
31
34
|
const { queryBuilderState, lambdaParameterState } = props;
|
@@ -45,6 +48,7 @@ const VariableExpressionEditor = observer((props) => {
|
|
45
48
|
// type
|
46
49
|
const variableType = lambdaParameterState.variableType ?? PrimitiveType.STRING;
|
47
50
|
const selectedType = buildElementOption(variableType);
|
51
|
+
const selectedMultiplicity = buildMultiplicityOption(multiplity);
|
48
52
|
const typeOptions = queryBuilderState.graphManagerState.graph.primitiveTypes
|
49
53
|
.map(buildElementOption)
|
50
54
|
.concat(queryBuilderState.graphManagerState.graph.enumerations.map(buildElementOption));
|
@@ -54,21 +58,15 @@ const VariableExpressionEditor = observer((props) => {
|
|
54
58
|
}
|
55
59
|
};
|
56
60
|
// multiplicity
|
57
|
-
const
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
const
|
64
|
-
|
65
|
-
|
66
|
-
value === '' ||
|
67
|
-
!isNaN(parseInt(value, 10))) {
|
68
|
-
lambdaParameterState.changeMultiplicity(varState, multiplity.lowerBound, value === MULTIPLICITY_INFINITE || value === ''
|
69
|
-
? undefined
|
70
|
-
: parseInt(value, 10));
|
71
|
-
setUppBound(value);
|
61
|
+
const validParamMultiplicityList = [
|
62
|
+
Multiplicity.ONE,
|
63
|
+
Multiplicity.ZERO_ONE,
|
64
|
+
Multiplicity.ZERO_MANY,
|
65
|
+
];
|
66
|
+
const multilicityOptions = validParamMultiplicityList.map(buildMultiplicityOption);
|
67
|
+
const changeMultiplicity = (val) => {
|
68
|
+
if (multiplity !== val.value) {
|
69
|
+
valueSpecification_setMultiplicity(varState, val.value);
|
72
70
|
}
|
73
71
|
};
|
74
72
|
const close = () => {
|
@@ -86,7 +84,7 @@ const VariableExpressionEditor = observer((props) => {
|
|
86
84
|
paper: 'editor-modal__content',
|
87
85
|
}, children: _jsxs(Modal, { darkMode: true, className: "editor-modal query-builder__parameters__modal", children: [_jsx(ModalHeader, { title: `${isCreating ? 'Create Parameter' : 'Update Parameter'}` }), _jsxs(ModalBody, { className: "query-builder__parameters__modal__body", children: [_jsx(PanelFormTextField, { name: "Parameter Name", prompt: "Name of the parameter. Should be descriptive of its purpose.", update: (value) => variableExpression_setName(varState, value ?? ''), value: varState.name, errorMessage: validationMessage, isReadOnly: false }), _jsxs("div", { className: "panel__content__form__section", children: [_jsx("div", { className: "panel__content__form__section__header__label", children: "Type" }), _jsx("div", { className: "panel__content__form__section__header__prompt", children: "Data type of the parameter." }), _jsx(CustomSelectorInput, { placeholder: "Choose a type...", options: typeOptions, onChange: changeType, value: selectedType, darkMode: !applicationStore.TEMPORARY__isLightThemeEnabled, formatOptionLabel: getPackageableElementOptionFormatter({
|
88
86
|
darkMode: !applicationStore.TEMPORARY__isLightThemeEnabled,
|
89
|
-
}) })] }), _jsxs("div", { className: "panel__content__form__section", children: [_jsx("div", { className: "panel__content__form__section__header__label", children: "Multiplicity" }), _jsx("div", { className: "panel__content__form__section__header__prompt", children: "The multiplity determines how many values a parameter can have. Default is set to mandatory single vlue." }), _jsx(
|
87
|
+
}) })] }), _jsxs("div", { className: "panel__content__form__section", children: [_jsx("div", { className: "panel__content__form__section__header__label", children: "Multiplicity" }), _jsx("div", { className: "panel__content__form__section__header__prompt", children: "The multiplity determines how many values a parameter can have. Default is set to mandatory single vlue." }), _jsx(CustomSelectorInput, { placeholder: "Choose a multiplicity...", options: multilicityOptions, onChange: changeMultiplicity, value: selectedMultiplicity, hasError: !validParamMultiplicityList.includes(selectedMultiplicity.value), darkMode: !applicationStore.TEMPORARY__isLightThemeEnabled })] })] }), _jsxs(ModalFooter, { children: [isCreating && (_jsx("button", { className: "btn modal__footer__close-btn btn--dark", onClick: onAction, disabled: Boolean(validationMessage), children: "Create" })), _jsx("button", { className: "btn modal__footer__close-btn", onClick: close, children: "Close" })] })] }) }));
|
90
88
|
});
|
91
89
|
export const VariableExpressionViewer = observer((props) => {
|
92
90
|
const { queryBuilderState, isReadOnly, hideActions, variableExpressionState, } = props;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderParametersPanel.js","sourceRoot":"","sources":["../../src/components/QueryBuilderParametersPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,
|
1
|
+
{"version":3,"file":"QueryBuilderParametersPanel.js","sourceRoot":"","sources":["../../src/components/QueryBuilderParametersPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAE3C,OAAO,EACL,MAAM,EACN,iBAAiB,EACjB,mBAAmB,EACnB,UAAU,EACV,SAAS,EACT,UAAU,EACV,QAAQ,EACR,gBAAgB,EAChB,mBAAmB,EACnB,qBAAqB,EACrB,KAAK,EACL,SAAS,EACT,WAAW,EACX,WAAW,EACX,kBAAkB,GACnB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAEL,gCAAgC,GACjC,MAAM,0CAA0C,CAAC;AAClD,OAAO,EAEL,kBAAkB,EAClB,4BAA4B,EAC5B,WAAW,EACX,aAAa,EACb,YAAY,EACZ,gCAAgC,GACjC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,kBAAkB,EAClB,oCAAoC,EACpC,mBAAmB,GACpB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,+BAA+B,EAAE,MAAM,sBAAsB,CAAC;AACvE,OAAO,EAAE,qBAAqB,EAAE,MAAM,iCAAiC,CAAC;AACxE,OAAO,EACL,kCAAkC,EAClC,0BAA0B,GAC3B,MAAM,sDAAsD,CAAC;AAC9D,OAAO,EAAE,oBAAoB,EAAE,MAAM,0CAA0C,CAAC;AAChF,OAAO,EAAE,2BAA2B,EAAE,MAAM,yCAAyC,CAAC;AAItF,MAAM,uBAAuB,GAAG,CAC9B,YAA0B,EACN,EAAE,CAAC,CAAC;IACxB,KAAK,EAAE,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CAClD,mBAAmB,CAAC,eAAe,CAAC,GAAG,CAAC,CAAC,SAAS,EAAE,EAAE,CAAC,CACrD,KAAC,wBAAwB,IAEvB,iBAAiB,EAAE,iBAAiB,EACpC,UAAU,EAAE,UAAU,EACtB,uBAAuB,EAAE,SAAS,IAH7B,SAAS,CAAC,IAAI,CAInB,CACH,CAAC,EACH,CAAC,mBAAmB,CAAC,eAAe,CAAC,MAAM,IAAI,CAC9C,KAAC,qBAAqB,IACpB,IAAI,EAAC,iBAAiB,EACtB,QAAQ,EAAE,UAAU,EACpB,OAAO,EAAE,YAAY,EACrB,eAAe,EAAC,KAAK,EACrB,WAAW,EAAC,cAAc,EAC1B,WAAW,EAAC,8BAA8B,GAC1C,CACH,IACA,CACJ,EACA,iBAAiB,CAAC,0BAA0B,IAAI,CAC/C,KAAC,iBAAiB,+CAAiD,CACpE,IACG,EACL,mBAAmB,CAAC,iBAAiB,IAAI,CACxC,KAAC,wBAAwB,IACvB,iBAAiB,EAAE,iBAAiB,EACpC,oBAAoB,EAAE,mBAAmB,CAAC,iBAAiB,GAC3D,CACH,EACA,mBAAmB,CAAC,0BAA0B,CAAC,SAAS,IAAI,CAC3D,KAAC,2BAA2B,IAC1B,KAAK,EAAE,iBAAiB,CAAC,iBAAiB,CAAC,KAAK,EAChD,eAAe,EAAE,iBAAiB,CAAC,iBAAiB,EACpD,qBAAqB,EAAE,mBAAmB,GAC1C,CACH,IACG,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
package/lib/index.css
CHANGED
@@ -1,17 +1 @@
|
|
1
|
-
/** @license @finos/legend-query-builder v0.4.2
|
2
|
-
* Copyright (c) 2020-present, Goldman Sachs
|
3
|
-
*
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
-
* you may not use this file except in compliance with the License.
|
6
|
-
* You may obtain a copy of the License at
|
7
|
-
*
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
9
|
-
*
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
-
* See the License for the specific language governing permissions and
|
14
|
-
* limitations under the License.
|
15
|
-
*/
|
16
|
-
|
17
1
|
@import"@ag-grid-community/core/dist/styles/ag-grid.css";@import"@ag-grid-community/core/dist/styles/ag-theme-balham-dark.css";.lambda-editor{display:flex;align-items:center;height:2.8rem;flex:1 0 auto;min-width:0;border-radius:.2rem}.lambda-editor .monaco-editor .margin,.lambda-editor .monaco-editor .monaco-editor-background{background:var(--color-dark-grey-300) !important}.lambda-editor .monaco-editor .decorationsOverviewRuler{display:none}.lambda-editor__editor__input{position:relative;height:100%;width:100%}.lambda-editor__editor__input__compressed .scroll-decoration{box-shadow:none}.lambda-editor__editor__input__compressed .selected-text,.lambda-editor__editor__input__compressed .selectionHighlight{height:2.6rem !important}.lambda-editor__editor__input__compressed .cursors-layer .cursor{top:.3rem !important;height:2rem !important}.lambda-editor__editor__input__compressed .view-line{display:flex;align-items:center;height:2.6rem !important}.lambda-editor__editor__info{display:flex;align-items:center;height:100%;padding:0 .5rem;border:.1rem solid var(--color-dark-grey-300);border-right:none;border-left:none;background:var(--color-dark-grey-300)}.lambda-editor__editor__expected-return-type{display:flex;align-items:center;justify-content:center;height:100%;height:1.8rem;border-radius:.2rem;padding:0 .5rem;color:var(--color-dark-grey-400);background:var(--color-light-grey-0);border:.1rem solid var(--color-light-grey-0);font-size:1.1rem;cursor:default}.lambda-editor__editor__expected-return-type--clickable{cursor:pointer}.lambda-editor__editor__expected-return-type--highlighted{border-color:var(--color-yellow-0);background:var(--color-yellow-0);color:var(--color-dark-grey-0)}.lambda-editor__editor__expand-btn{display:flex;align-items:center;justify-content:center;height:100%;width:1.6rem;background:var(--color-dark-grey-280);border-left:.1rem solid var(--color-dark-grey-280);border-right:.1rem solid var(--color-dark-grey-280);color:var(--color-light-grey-100);border-radius:0;cursor:pointer}.lambda-editor__editor__expand-btn[disabled]{color:var(--color-dark-grey-400);cursor:not-allowed}.lambda-editor__expanded{height:28rem !important}.lambda-editor__expanded .lambda-editor__editor__info{align-items:flex-start;padding:.4rem .5rem}.lambda-editor__expanded .lambda-editor__editor__expand-btn{background:var(--color-dark-grey-280);border-color:var(--color-dark-grey-280)}.lambda-editor--dnd-match .lambda-editor__editor__expected-return-type{background:var(--color-yellow-0);border-color:var(--color-yellow-0);color:var(--color-dark-grey-0)}.lambda-editor__action{width:2.8rem;min-width:2.8rem;background:var(--color-dark-grey-250);height:100%;border-left:.1rem solid var(--color-dark-shade-300)}.lambda-editor__action svg{color:var(--color-light-grey-200)}.lambda-editor__error-feedback{width:100%;margin-top:.5rem;background:var(--color-red-100);color:var(--color-light-grey-0);border-radius:.2rem;cursor:default}.lambda-editor__error-feedback__error__message{display:inline-flex;line-height:1.6rem;padding:.5rem}.lambda-editor__error-feedback__parsing-error__content{display:flex;justify-content:space-between;border-top:.1rem solid var(--color-dark-shade-230);padding:.5rem}.lambda-editor__error-feedback__parsing-error__discard-changes-btn{cursor:pointer;font-size:1.2rem;height:1.8rem;background:var(--color-dark-shade-230);white-space:nowrap;border-radius:.2rem;padding:0 .5rem;color:var(--color-light-grey-50)}.lambda-editor__popup__modal__content{width:100%;height:100%;background:var(--color-dark-grey-50)}.lambda-editor__popup__modal--has-error{border:.1rem solid var(--color-red-200) !important}.lambda-editor__popup__modal--has-error .modal__header{background:var(--color-red-200)}.lambda-editor__popup__modal--has-error .modal__title__error-badge{display:flex;align-items:center;justify-content:center;margin-right:1rem;background:var(--color-red-400);height:2.2rem;border-radius:.2rem;padding:.5rem;font-size:1.2rem;user-select:none}.lambda-editor__popup__content{height:100% !important;background:var(--color-dark-grey-50);padding-top:1rem}.lambda-editor__popup__content .monaco-editor .margin,.lambda-editor__popup__content .monaco-editor .monaco-editor-background{background:var(--color-dark-grey-50) !important}.value-spec-editor{display:flex;align-items:center;height:100%;width:100%}.value-spec-editor__reset-btn{display:flex;align-items:center;justify-content:center;flex-grow:0;flex-shrink:0;height:2.8rem;width:2.8rem;background:var(--color-dark-grey-200);border-radius:0 50% 50% 0}.value-spec-editor__reset-btn svg{font-size:1.8rem;color:var(--color-light-grey-400)}.value-spec-editor__reset-btn:hover svg{color:var(--color-light-grey-200)}.value-spec-editor__enum-selector{width:100%}.value-spec-editor ::-webkit-calendar-picker-indicator{filter:invert(0.8)}.value-spec-editor--unsupported{display:flex;align-items:center;justify-content:center;width:100%;height:2.2rem;background:var(--color-dark-grey-280);border-radius:.2rem;font-size:1.1rem}.value-spec-editor__date-picker__trigger{display:flex;align-items:center;justify-content:center;width:100%;height:2.8rem;color:var(--color-light-grey-400);background:var(--color-dark-grey-100);font-size:1.2rem}.value-spec-editor__date-picker__options{min-width:29rem}.value-spec-editor__date-picker__absolute-date{padding:1rem;border-top:.1rem solid var(--color-dark-grey-50)}.value-spec-editor__date-picker__absolute-date__input{height:2.8rem;border:.1rem solid var(--color-dark-grey-300);color-scheme:dark;font-size:1.2rem}.value-spec-editor__date-picker__custom-date{display:flex;align-items:center;justify-content:center;padding:1rem;border-top:.1rem solid var(--color-dark-grey-50)}.value-spec-editor__date-picker__custom-date__input{width:100%}.value-spec-editor__date-picker__custom-date__input-label{color:var(--color-light-grey-200);margin-bottom:1rem}.value-spec-editor__date-picker__custom-date__input-text-editor{display:flex;align-items:center;height:2.8rem;width:6rem;border:.1rem solid var(--color-dark-grey-300);color:var(--color-light-grey-200);background:var(--color-dark-grey-100);text-align:center;padding:0}.value-spec-editor__date-picker__custom-date__input-dropdown{color:var(--color-light-grey-200);width:10rem;font-size:.2rem;margin-left:.5rem}.value-spec-editor__date-picker__custom-date__input-dropdown--full{width:100%;margin-left:0}.value-spec-editor__dropdown{margin-top:.5rem}.value-spec-editor__parameter{display:flex;height:2.2rem;border-radius:.2rem;margin:0;color:var(--color-light-grey-150);background:var(--color-pink-400);width:100%}.value-spec-editor__parameter__icon{display:flex;align-items:center;justify-content:center;width:2rem;min-width:2rem;background:var(--color-dark-shade-100);border-radius:.2rem 0 0 .2rem}.value-spec-editor__parameter__label{display:flex;align-items:center;user-select:none;justify-content:space-between;width:100%}.value-spec-editor__parameter__text{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;word-break:break-word;text-align:left;padding:0 1rem;font-size:1.2rem;font-weight:700;width:100%}.value-spec-editor__parameter__info{display:flex;align-items:center;cursor:help;height:2rem;width:2rem}.value-spec-editor__parameter__reset-btn{display:flex;align-items:center;justify-content:center;height:2rem;width:2rem;margin-right:.5rem}.value-spec-editor__parameter__reset-btn svg{font-size:1.8rem;color:var(--color-light-grey-200)}.value-spec-editor__input{height:100%;max-width:100%;width:100%;font-size:1.2rem;padding:0 .5rem;background:var(--color-dark-grey-100);border:.1rem solid var(--color-dark-grey-200);border-radius:0;margin-bottom:0}.value-spec-editor__toggler__btn{display:flex;align-items:center;width:100%;padding:.5rem;height:100%;border:.1rem solid var(--color-dark-grey-200)}.value-spec-editor__toggler__btn svg{font-size:2rem;color:var(--color-dark-grey-250)}.value-spec-editor__toggler__btn:hover svg{font-size:2rem;color:var(--color-dark-grey-280)}.value-spec-editor__toggler__btn[disabled] svg,.value-spec-editor__toggler__btn[disabled]:hover svg{cursor:not-allowed;color:var(--color-dark-grey-250)}.value-spec-editor__toggler__btn--toggled svg{font-size:2rem;color:var(--color-blue-150)}.value-spec-editor__toggler__btn--toggled:hover svg{font-size:2rem;color:var(--color-blue-100)}.value-spec-editor__toggler__btn--toggled[disabled] svg,.value-spec-editor__toggler__btn--toggled[disabled]:hover svg{cursor:not-allowed;color:var(--color-dark-grey-300)}.value-spec-editor__list-editor__preview{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;word-break:break-word;text-align:left;line-height:2.2rem;width:calc(100% - 1.8rem);height:2.2rem;font-size:1.1rem;font-family:"Roboto Mono",monospace;background:var(--color-dark-grey-250);padding-left:.5rem;color:var(--color-light-grey-300);cursor:pointer}.value-spec-editor__list-editor__save-button{display:flex;align-items:center;justify-content:center;height:2.8rem;width:2.8rem;min-width:2.8rem}.value-spec-editor__list-editor__save-button svg{font-size:1.2rem}.value-spec-editor__list-editor__edit-icon{display:flex;align-items:center;justify-content:center;height:2.2rem;width:2.7rem;min-width:2.7rem;background:var(--color-dark-grey-250);border-radius:0 .9rem .9rem 0}.value-spec-editor__list-editor__edit-icon svg{font-size:1.2rem;color:var(--color-light-grey-250)}.value-spec-editor:hover .value-spec-editor__list-editor__preview,.value-spec-editor:hover .value-spec-editor__list-editor__edit-icon{background:var(--color-dark-grey-300)}.value-spec-editor .selector-input__indicators,.value-spec-editor .selector-input__value-container{height:2.8rem}.value-spec-editor .selector-input__indicator-separator,.value-spec-editor .selector-input--dark__loading-indicator,.value-spec-editor .selector-menu--dark .selector-input--dark__loading-indicator,.value-spec-editor .selector-input--dark .selector-input--dark__loading-indicator{height:2.6rem}.value-spec-editor .selector-input__single-value,.value-spec-editor .selector-input--dark__single-value{height:2.8rem;top:1.7rem}.value-spec-editor .selector-input__single-value+div,.value-spec-editor .selector-input--dark__single-value+div{height:2.8rem}.value-spec-editor .selector-input--dark__input,.value-spec-editor .selector-input__input{height:2.8rem}.value-spec-editor .selector-input--dark__input input,.value-spec-editor .selector-input__input input{height:2.8rem;line-height:2.8rem}.value-spec-paramater__tooltip{border-radius:.2rem !important;background:var(--color-dark-grey-200) !important;opacity:.9 !important;transition:none}.value-spec-paramater__tooltip--right{margin:0 .5rem !important}.value-spec-paramater__tooltip__arrow{color:var(--color-dark-grey-200) !important;opacity:.9 !important}.value-spec-paramater__tooltip__content{padding:.5rem}.value-spec-paramater__tooltip__item{display:flex;align-items:center}.value-spec-paramater__tooltip__item__label{font-size:1.3rem;user-select:none;cursor:default;color:var(--color-dark-grey-500)}.value-spec-paramater__tooltip__item__value{font-size:1.3rem;user-select:none;cursor:default;font-weight:500;margin-left:.5rem}.lambda-parameter-values{padding:2rem;width:100%}.lambda-parameter-values__modal{height:65vh;width:65vh}.lambda-parameter-values__modal__body{overflow:auto;padding:2rem !important;height:60vh}.lambda-parameter-values__value__label{display:flex;align-items:center;color:var(--color-light-grey-50);margin-bottom:.5rem;line-height:2rem;cursor:default}.lambda-parameter-values__value__label__type{display:flex;align-items:center;background:var(--color-dark-grey-250);color:var(--color-light-grey-200);margin-left:.5rem;border-radius:.2rem;font-size:1rem;padding:0 .5rem;height:1.6rem;font-weight:500}.query-builder{height:100%;width:100%}.query-builder__body{height:calc(100% - 2.2rem);width:100%;display:flex}.query-builder__content{height:100%;width:100%;display:flex;flex-direction:column;background:var(--color-dark-grey-50)}.query-builder__main{height:calc(100% - 3.2rem);width:100%;padding:.3rem}.query-builder__sub-header{display:flex;align-items:center;height:3.2rem;background:var(--color-dark-grey-100);border-bottom:.1rem solid var(--color-dark-grey-80)}.query-builder__sub-header__content__icons{display:flex;align-items:center;justify-content:flex-start}.query-builder__sub-header__content__actions{display:flex;align-items:center;justify-content:flex-end;flex:1}.query-builder__sub-header__custom-action{display:flex;align-items:center;justify-content:center;height:2.2rem;padding:0 1rem;border-radius:.2rem;margin-right:.5rem;font-weight:500;border:.1rem solid var(--color-dark-grey-300)}.query-builder__sub-header__custom-action__label{font-size:1.2rem;color:var(--color-dark-grey-500)}.query-builder__sub-header__custom-action__icon{margin-left:1rem;color:var(--color-dark-grey-500)}.query-builder__sub-header__custom-action svg{cursor:pointer}.query-builder__sub-header__menu-content{overflow:hidden;white-space:nowrap}.query-builder__sub-header__custom-action-content{display:flex;align-items:center;justify-content:center}.query-builder__sub-header__custom-action-content svg{font-size:1rem;margin-left:1rem}.query-builder .panel{height:100%;padding:.3rem}.query-builder .panel__header{height:3.4rem;min-height:3.4rem;padding-left:.5rem;color:var(--color-light-grey-300);font-weight:bold;background:var(--color-dark-grey-100);border-radius:.2rem .2rem 0 0;border-top:.1rem solid var(--color-dark-grey-200)}.query-builder .panel__header__title__label{display:flex;align-items:center;justify-content:center;padding:.7rem;height:2.2rem;background:var(--color-dark-grey-280)}.query-builder .panel__header__action{color:var(--color-light-grey-400)}.query-builder .panel__header__action svg{color:var(--color-light-grey-400)}.query-builder .panel__header__action:hover svg{color:var(--color-light-grey-100)}.query-builder .panel__header__action[disabled] svg,.query-builder .panel__header__action[disabled]:hover svg{color:var(--color-dark-grey-300)}.query-builder .panel__header__action--toggled svg{color:var(--color-blue-150)}.query-builder .panel__header__action--toggled:hover svg{color:var(--color-blue-50)}.query-builder .panel__header__action--toggled[disabled] svg,.query-builder .panel__header__action--toggled[disabled]:hover svg{color:var(--color-blue-300)}.query-builder .panel__content{height:calc(100% - 3.4rem);background:var(--color-dark-grey-80);border-radius:0 0 .2rem .2rem;border-bottom:.1rem solid var(--color-dark-grey-85);box-shadow:var(--color-dark-shade-280) 0 .1rem .5rem 0}.query-builder__status-bar{display:flex;align-items:center;display:flex;justify-content:space-between;height:2.2rem;background:var(--color-blue-100);color:var(--color-light-grey-0);padding:0 .5rem 0 1rem}.query-builder__status-bar__left{height:100%;display:flex;align-items:center}.query-builder__status-bar__right{height:100%;display:flex;align-items:center}.query-builder__status-bar__action{display:flex;align-items:center;justify-content:center;cursor:pointer;background:none;height:100%;width:3rem}.query-builder__status-bar__action__toggler{color:var(--color-dark-shade-300)}.query-builder__status-bar__action__toggler--toggled{color:var(--color-light-grey-0)}.query-builder__status-bar__view-diff-btn:not([disabled]){color:var(--color-light-grey-0)}.query-builder__status-bar__view-diff-btn svg{font-size:1.8rem}.query-builder__status-bar__compile-btn{display:flex;align-items:center;justify-content:center;background:none;color:var(--color-light-grey-0);cursor:pointer;padding:0 .5rem}.query-builder__status-bar__compile-btn[disabled]{color:var(--color-dark-shade-300)}.query-builder__status-bar__compile-btn--wiggling svg{animation:hammer-wiggle .5s infinite ease;transform-origin:bottom left}@keyframes hammer-wiggle{from{transform:rotate(-7deg)}to{transform:rotate(10deg)}}.query-builder__diff-panel{height:100%;width:100%}.query-builder__diff-panel__header{display:flex;align-items:center;justify-content:flex-end;height:3.4rem;background:var(--color-dark-grey-50);padding:0 .5rem}.query-builder__diff-panel__content{height:calc(100% - 8.4rem);position:relative}.query-builder__diff-panel__actions{display:flex;align-items:center;border-top:.1rem solid var(--color-dark-grey-100);height:5rem;padding-right:1rem;justify-content:flex-end;margin:0}.query-builder__diff-panel__actions .btn{display:flex;align-items:center;justify-content:center;height:3.6rem;border-radius:.2rem;color:var(--color-light-grey-50)}.query-builder__diff-panel__mode{display:flex;align-items:center;background:var(--color-dark-grey-250);color:var(--color-light-grey-200);height:2.2rem;font-size:1.2rem;padding:.5rem 1rem;cursor:pointer}.query-builder__diff-panel__mode--selected{background:var(--color-blue-200)}.query-builder__dnd__placeholder .dnd__entry-dropzone__placeholder__content{border-color:var(--color-dark-grey-100);color:var(--color-dark-grey-300)}.query-builder__fetch__structure__modes{display:flex;align-items:center;height:100%;padding:.5rem}.query-builder__fetch__structure__mode{display:flex;align-items:center;background:var(--color-dark-grey-250);color:var(--color-light-grey-200);height:2.2rem;font-size:1.2rem;padding:.5rem 1rem;cursor:pointer}.query-builder__fetch__structure__mode--selected{background:var(--color-blue-200)}.query-builder__result .panel__content{width:100%}.query-builder__result__analytics{font-size:1.2rem;color:var(--color-dark-grey-400);margin-left:.5rem;font-family:"Roboto Mono",monospace}.query-builder__result__stale-status{display:flex;align-items:center;margin-left:1rem}.query-builder__result__stale-status__label{font-size:1.2rem;color:var(--color-yellow-200);margin-left:.5rem;font-family:"Roboto Mono",monospace}.query-builder__result__stale-status__icon{color:var(--color-yellow-200);margin-left:.5rem}.query-builder__result__limit{display:flex;align-items:center;height:100%;padding:.5rem}.query-builder__result__limit__label{display:flex;align-items:center;justify-content:center;background:var(--color-dark-grey-280);padding:0 1rem;height:2.2rem;border-radius:.2rem 0 0 .2rem;font-size:1.2rem;user-select:none}.query-builder__result__limit__input{height:2.2rem}.query-builder__result__limit__input:not(:focus){border:.1rem solid var(--color-dark-grey-250)}.query-builder__result__limit__input[disabled]{cursor:not-allowed}.query-builder__result__values{padding:0 !important;position:relative;height:100%}.query-builder__result__tds-grid{height:100%;--ag-border-color: var(--color-dark-grey-200);--ag-background-color: var(--color-dark-grey-50);--ag-foreground-color: var(--color-light-grey-200);--ag-header-background-color: var(--color-dark-grey-100);--ag-header-foreground-color: var(--color-light-grey-50);--ag-balham-active-color: var(--color-blue-200);--ag-odd-row-background-color: var(--color-dark-grey-50);--ag-even-row-background-color: var(--color-dark-grey-50);--ag-row-hover-color: var(--color-dark-blue-shade-100);--ag-row-border-color: var(--color-dark-grey-200)}.query-builder__result__header__actions{display:flex;align-items:center}.query-builder__result__stop-btn{display:flex;align-items:center;height:100%;width:12rem;margin:0 .3rem}.query-builder__result__stop-btn__label{display:flex;align-items:center;height:2.2rem;width:12rem;padding:1rem;border-radius:.2rem;justify-content:left}.query-builder__result__stop-btn__label__icon{font-size:1.2rem;color:var(--color-light-grey-180)}.query-builder__result__stop-btn__label__title{margin-left:.7rem;color:var(--color-light-grey-180);font-size:1.2rem;font-weight:500}.query-builder__result__stop-btn__label:hover .query-builder__result__stop-btn__label__icon,.query-builder__result__stop-btn__label:hover .query-builder__result__stop-btn__label__title{color:var(--color-light-grey-50)}.query-builder__result__execute-btn{display:flex;align-items:center;height:100%;width:12rem;margin:0 .3rem}.query-builder__result__execute-btn__label{display:flex;align-items:center;height:2.2rem;width:10rem;background:var(--color-blue-200);padding:1rem;border-radius:.2rem 0 0 .2rem}.query-builder__result__execute-btn__label__icon{font-size:1.2rem;color:var(--color-light-grey-180)}.query-builder__result__execute-btn__label__title{margin-left:.7rem;color:var(--color-light-grey-180);font-size:1.2rem;font-weight:500}.query-builder__result__execute-btn__dropdown-btn{display:flex;align-items:center;justify-content:center;height:2.2rem;width:2rem;background:var(--color-blue-200);border-radius:0 .2rem .2rem 0;border-left:.1rem solid var(--color-dark-shade-280)}.query-builder__result__execute-btn__dropdown-btn svg{color:var(--color-light-grey-180)}.query-builder__result__execute-btn__label:hover .query-builder__result__execute-btn__label__icon,.query-builder__result__execute-btn__label:hover .query-builder__result__execute-btn__label__title,.query-builder__result__execute-btn__dropdown-btn:hover svg{color:var(--color-light-grey-50)}.query-builder__result__execute-btn__option{width:12rem}.query-builder__result__execute-btn__label[disabled],.query-builder__result__execute-btn__dropdown-btn[disabled]{background:var(--color-dark-grey-250)}.query-builder__result__execute-btn__label[disabled] .query-builder__result__execute-btn__label__icon,.query-builder__result__execute-btn__label[disabled] .query-builder__result__execute-btn__label__title,.query-builder__result__execute-btn__dropdown-btn[disabled] svg{color:var(--color-dark-grey-500)}.query-builder__result__export__dropdown{display:flex;align-items:center;margin:0 .5rem;height:2.2rem;border:.1rem solid var(--color-dark-grey-250)}.query-builder__result__export__dropdown__label{display:flex;align-items:center;justify-content:center;flex-grow:0;flex-shrink:0;height:100%;color:var(--color-dark-grey-500);font-weight:500;font-size:1.2rem;width:5rem}.query-builder__result__export__dropdown__trigger{display:flex;align-items:center;justify-content:center;flex-grow:0;flex-shrink:0;height:100%;width:2.2rem}.query-builder__result__export__dropdown__trigger svg{color:var(--color-dark-grey-500)}.query-builder__result__export__dropdown__menu__item{display:flex;align-items:center;justify-content:center;width:7rem;height:2rem}.query-builder__icon__edit{font-size:1.2rem}.query-builder__icon__more-options{font-size:1.6rem}.query-builder__icon__query-option{font-size:1.8rem}.query-builder-panel-issue-count-badge{display:flex;align-items:center;justify-content:center;background:var(--color-red-200);height:2.2rem;padding:0 1rem;border-radius:.2rem;color:var(--color-light-grey-0);white-space:nowrap}.query-builder-panel-issue-count-badge__icon{margin-right:.5rem}.query-builder-panel-issue-count-badge__text{display:flex;align-items:center;height:100%;font-size:1rem;font-weight:700}.query-builder__tooltip{border-radius:.2rem !important;background:var(--color-dark-grey-200) !important;opacity:.9 !important;transition:none;max-height:30rem;overflow:auto}.query-builder__tooltip--right{margin:0 .5rem !important}.query-builder__tooltip__arrow{color:var(--color-dark-grey-200) !important;opacity:.9 !important}.query-builder__tooltip__content{padding:.5rem}.query-builder__tooltip__item{display:flex;line-height:1.6rem}.query-builder__tooltip__item__label{font-size:1.3rem;user-select:none;cursor:default;color:var(--color-dark-grey-500)}.query-builder__tooltip__item__value{font-size:1.3rem;user-select:none;cursor:default;font-weight:500;margin-left:.5rem;max-width:50rem;white-space:pre-line}.query-builder-property-editor__content{overflow-y:auto}.query-builder-property-editor__section{width:100%;padding:2rem}.query-builder-property-editor__section__content--empty{display:flex;align-items:center;justify-content:center;height:4rem;width:100%;margin-top:1.5rem;border:.2rem dashed var(--color-dark-grey-200);color:var(--color-dark-grey-350);font-weight:500}.query-builder-property-expression-badge{display:flex;align-items:center;width:100%;height:100%}.query-builder-property-expression-badge__content{display:flex;align-items:center;width:100%;height:2.2rem;border-radius:.2rem;color:var(--color-light-grey-0)}.query-builder-property-expression-badge__content--class{background:var(--color-purple-200)}.query-builder-property-expression-badge__content--enumeration{background:var(--color-medium-green-450)}.query-builder-property-expression-badge__content--primitive{background:var(--color-blue-200)}.query-builder-property-expression-badge__property{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;word-break:break-word;text-align:left;padding:0 1rem;font-size:1.2rem;font-weight:700;width:100%}.query-builder-property-expression-badge__property__info{display:flex;align-items:center;justify-content:center;height:2.2rem;width:2.2rem;margin:.3rem}.query-builder-property-expression-badge__property__info svg{font-size:1.2rem;color:var(--color-dark-shade-230)}.query-builder-property-expression-badge__action{width:4.6rem;min-width:4.6rem;height:2.2rem;line-height:2.2rem;font-weight:700;font-size:1rem;font-family:"Roboto Mono",monospace;color:var(--color-light-grey-200);background:var(--color-dark-shade-230)}.query-builder-property-expression-badge__action:hover{color:var(--color-light-grey-50)}.query-builder-property-expression-badge__action--error{background:var(--color-red-200);color:var(--color-light-grey-50);width:6rem;min-width:6rem;display:flex;align-items:center;justify-content:center}.query-builder-property-expression-badge__action--error svg{font-size:1rem;margin-right:.3rem}.query-builder-property-expression-badge__action--error:hover{color:var(--color-light-grey-0)}.query-builder__side-bar{display:flex;flex-direction:column;width:100%;height:100%}.query-builder__side-bar .query-builder__setup.panel{height:13.1rem}.query-builder__side-bar__content{height:calc(100% - 13.1rem)}.query-builder-text-mode__modal__content{width:100%;height:100%;background:var(--color-dark-grey-50)}.query-builder-text-mode__lambda-editor{height:100% !important;padding-top:1rem}.query-builder-text-mode__lambda-editor .monaco-editor .margin,.query-builder-text-mode__lambda-editor .monaco-editor .monaco-editor-background{background:var(--color-dark-grey-50) !important}.query-builder-text-mode__modal--has-error{border:.1rem solid var(--color-red-200) !important}.query-builder-text-mode__modal--has-error .modal__header{background:var(--color-red-200)}.query-builder-text-mode__modal--has-error .modal__title__error-badge{display:flex;align-items:center;justify-content:center;margin-right:1rem;background:var(--color-red-400);height:2.2rem;border-radius:.2rem;padding:.5rem;font-size:1.2rem;user-select:none}.query-builder__lambda-editor{border:.1rem solid var(--color-dark-grey-280)}.query-builder__lambda-editor__container{height:100%;display:flex;flex-direction:column}.query-builder__lambda-editor .monaco-editor .margin,.query-builder__lambda-editor .monaco-editor .monaco-editor-background{background:var(--color-dark-grey-50) !important}.query-builder__parameter-editor{display:flex;align-items:center;justify-content:center;height:2.8rem}.query-builder__parameter-editor__parameter{height:2.8rem;margin:.7rem 0 1.2rem;width:100%}.query-builder__unsupported-view__main{display:flex;align-items:center;justify-content:center;flex-direction:column}.query-builder__unsupported-view__summary{font-weight:500;margin-bottom:1rem}.query-builder__unsupported-view__to-text-mode__btn{height:2.8rem;width:15rem}.query-builder__setup .panel__content{height:100%}.query-builder__setup__content{padding:.5rem;border-bottom:.1rem solid var(--color-dark-grey-200);overflow:hidden;border-radius:.2rem}.query-builder__setup__config-group{width:100%}.query-builder__setup__config-group__header{display:flex;align-items:center;justify-content:space-between;height:1.6rem;padding-left:1rem;background:var(--color-blue-300);border-radius:.2rem .2rem .2rem 0}.query-builder__setup__config-group__header__title{color:var(--color-light-grey-300);font-size:1rem;font-weight:500}.query-builder__setup__config-group__header__dropdown-trigger{display:flex;align-items:center;justify-content:center;height:100%;width:3rem}.query-builder__setup__config-group__header__dropdown-trigger svg{color:var(--color-light-grey-300)}.query-builder__setup__config-group__content{display:flex;flex-direction:column;width:100%;padding:.5rem 0 0 .5rem;border-left:.5rem solid var(--color-blue-300)}.query-builder__setup__config-group__item{display:flex;align-items:center;width:100%}.query-builder__setup__config-group__item__label{display:flex;align-items:center;justify-content:center;background:var(--color-dark-grey-100);margin-right:.5rem}.query-builder__setup__config-group__item__selector{width:100%;max-width:unset}.query-builder__setup__config-group__item+.query-builder__setup__config-group__item{margin-top:.5rem}.query-builder__setup__config-group--class .query-builder__setup__config-group__header{background:var(--color-purple-400)}.query-builder__setup__config-group--class .query-builder__setup__config-group__content{padding-top:0;border-left:.5rem solid var(--color-purple-400)}.query-builder__setup__config-group--class .query-builder__setup__config-group__item__label{border:.1rem solid var(--color-purple-400)}.query-builder__setup__class-option-label{display:flex;align-items:center}.query-builder__setup__class-option-label--deprecated .query-builder__setup__class-option-label__name{text-decoration:line-through .1rem}.query-builder__setup__class-option-label__milestoning{display:flex;align-items:center;justify-content:center;cursor:default;width:2rem;font-size:1.2rem;color:var(--color-light-grey-400)}.query-builder__setup__milestoning{margin-left:.5rem}.query-builder__setup__config-group+.query-builder__setup__config-group{margin-top:.5rem}.query-builder__setup__runtime-option--custom{display:flex;align-items:center}.query-builder__setup__runtime-option--custom svg{color:var(--color-blue-100)}.query-builder__setup__runtime-option--custom__label{display:flex;align-items:center;justify-content:center;margin-left:.5rem;height:1.6rem;font-size:1.2rem;font-weight:500;background:var(--color-dark-grey-250);padding:0 .5rem;border-radius:.2rem}.query-builder__olap__columns{padding:.5rem 0}.query-builder__olap__column{display:flex;align-items:center;color:var(--color-light-grey-400);padding:0 .5rem}.query-builder__olap__column:hover{background:var(--color-dark-blue-shade-100)}.query-builder__olap__column__context-menu{display:flex;height:100%;width:100%}.query-builder__olap__column--selected-from-context-menu{background:var(--color-dark-blue-shade-100)}.query-builder__olap__column__drag-handle{display:flex;align-items:center;justify-content:center;background:var(--color-dark-grey-100);height:2.4rem;width:1.6rem;min-width:1.6rem;margin-left:.5rem}.query-builder__olap__column__drag-handle svg{color:var(--color-dark-grey-300);font-size:1.2rem}.query-builder__olap__column__drag-handle__container{display:flex;align-items:center;justify-content:center;height:3.4rem}.query-builder__olap__column__name{display:flex;align-items:center;margin-left:0 .5rem 0 .5rem;height:3.4rem;width:calc(100% - 20rem);min-width:10rem}.query-builder__olap__column__name__input{padding:.5rem;height:2.8rem;line-height:2.8rem;background:var(--color-dark-grey-100);border:.1rem solid var(--color-dark-grey-300);color:var(--color-light-grey-200)}.query-builder__olap__column__name__input:focus{border:.1rem solid var(--color-blue-200);outline:none}.query-builder__olap__column__operation{display:flex;align-items:center;padding:0 .5rem;height:3.4rem}.query-builder__olap__column__operation__operator{display:flex;align-items:center;height:2.8rem}.query-builder__olap__column__operation__operator__label{display:flex;align-items:center;justify-content:center;height:100%;padding:0 1rem;font-size:1.2rem;font-weight:500;background:var(--color-dark-grey-280);color:var(--color-light-grey-100);border-radius:.2rem 0 0 .2rem;white-space:nowrap;width:3rem}.query-builder__olap__column__operation__operator__label__agg{width:13rem}.query-builder__olap__column__operation__operator__dropdown{display:flex;align-items:center;height:100%}.query-builder__olap__column__operation__operator__badge{display:flex;align-items:center;justify-content:center;height:100%;width:2.8rem;background:var(--color-yellow-500);color:var(--color-light-grey-100)}.query-builder__olap__column__operation__operator__badge svg{font-size:1.8rem;color:var(--color-dark-grey-280)}.query-builder__olap__column__operation__operator__dropdown__option{font-size:1.1rem;height:2.8rem;font-family:"Roboto Mono",monospace}.query-builder__olap__column__operation__operator__dropdown__trigger{display:flex;align-items:center;justify-content:center;height:100%;width:1.8rem;background:var(--color-dark-grey-200);border-radius:0 .2rem .2rem 0}.query-builder__olap__column__operation__operator__dropdown__trigger svg{font-size:1.2rem;color:var(--color-light-grey-100)}.query-builder__olap__column__actions{flex-grow:0;flex-shrink:0;display:flex;align-items:center;height:100%;width:3.4rem;margin-right:.5rem}.query-builder__olap__column__action{display:flex;align-items:center;padding-left:.5rem;height:3.4rem;width:3.4rem}.query-builder__olap__column__action .query-builder__icon,.query-builder__olap__column__action svg{color:var(--color-light-grey-400)}.query-builder__olap__column__action:hover .query-builder__icon,.query-builder__olap__column__action:hover svg{color:var(--color-light-grey-100)}.query-builder__olap__column__action[disabled] .query-builder__icon,.query-builder__olap__column__action[disabled] svg{color:var(--color-dark-grey-300)}.query-builder__olap__column:hover .query-builder__olap__column__action{display:flex}.query-builder__olap__column__sortby{display:flex;align-items:center;padding:0 .5rem;height:3.4rem}.query-builder__olap__column__sortby__operator{display:flex;align-items:center;height:2.8rem}.query-builder__olap__column__sortby__operator__label{display:flex;align-items:center;justify-content:center;height:100%;padding:0 1rem;font-size:1.2rem;font-weight:500;background:var(--color-dark-grey-280);color:var(--color-light-grey-100);border-radius:.2rem 0 0 .2rem;white-space:nowrap;width:3rem}.query-builder__olap__column__sortby__operator__dropdown{display:flex;align-items:center;height:100%}.query-builder__olap__column__sortby__operator__dropdown__option{font-size:1.1rem;height:2.8rem;font-family:"Roboto Mono",monospace}.query-builder__olap__column__sortby__operator__dropdown__trigger{display:flex;align-items:center;justify-content:center;height:100%;width:1.8rem;background:var(--color-dark-grey-200);border-radius:0 .2rem .2rem 0}.query-builder__olap__column__sortby__operator__dropdown__trigger svg{font-size:1.2rem;color:var(--color-light-grey-100)}.query-builder__olap__column__sortby__operator__badge{display:flex;align-items:center;justify-content:center;height:100%;width:2.8rem;background:var(--color-dark-grey-280);color:var(--color-light-grey-100)}.query-builder__olap__column__sortby__operator__badge svg{font-size:1.8rem}.query-builder__olap__column__sortby__operator__badge--activated{border-radius:0;background:var(--color-purple-50)}.query-builder__olap__column__sortby__operator__badge--activated svg{font-size:1.8rem;color:var(--color-dark-grey-280)}.query-builder__olap__column__sortby__none{display:flex;align-items:center;justify-content:center;height:100%;padding:0 1rem;font-size:1.2rem;font-weight:500;background:var(--color-dark-grey-100);color:var(--color-light-grey-100);border-radius:.2rem 0 0 .2rem;white-space:nowrap;width:13rem}.query-builder__olap__column__window{display:flex;align-items:center;height:3.4rem}.query-builder__olap__column__window__content{display:flex;height:2.8rem;background:var(--color-dark-grey-200);border-radius:.2rem}.query-builder__olap__column__window__content__label{padding:1rem;display:flex;justify-content:center;color:var(--color-light-grey-100);font-weight:bold;height:2.8rem;align-items:center}.query-builder__olap__column__window__popover{padding:1rem;min-width:40rem}.query-builder__olap__column__window__operator__badge{display:flex;align-items:center;justify-content:center;height:100%;width:2.8rem;background:var(--color-orange-150);color:var(--color-light-grey-100);border-radius:.2rem 0 0 .2rem}.query-builder__olap__column__window__operator__badge svg{font-size:1.8rem;color:var(--color-dark-grey-280)}.query-builder__olap__tds__column{display:flex;align-items:center;width:10rem;height:2.8rem}.query-builder__olap__tds__column-badge{display:flex;align-items:center;width:100%;height:100%}.query-builder__olap__tds__column-badge__content{display:flex;align-items:center;width:100%;height:2.8rem;background:var(--color-dark-grey-100);color:var(--color-light-grey-0)}.query-builder__olap__tds__column-badge__property{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;word-break:break-word;text-align:left;padding:0 1rem;font-size:1.2rem;font-weight:700;width:100%;text-align:center}.query-builder__olap__tds__column-badge__type{height:100%;width:2.2rem;display:flex;align-items:center;justify-content:center;min-width:2.2rem;border-radius:.2rem 0 0 .2rem}.query-builder__olap__tds__column-badge__type--enumeration{background:var(--color-medium-green-450)}.query-builder__olap__tds__column-badge__type--primitive{background:var(--color-blue-200)}.query-builder__olap__tds__column__options{display:flex;width:100%;padding-left:0}.query-builder__olap__tds__column__dropdown{max-width:45rem;width:100%}.query-builder__olap__tds__column__remove-btn{display:flex;align-items:center;justify-content:center;flex:2.8rem 0 0;height:2.8rem;color:var(--color-light-grey-200);background:var(--color-dark-grey-200);border-radius:.2rem;margin-left:.5rem;cursor:pointer}.query-builder__olap__modal{overflow:hidden}.query-builder__olap__modal__body{overflow:auto;padding:1rem;padding-bottom:1.5rem}.query-builder__explorer .backdrop__element{z-index:101}.query-builder__explorer__header__action--active.panel__header__action:hover svg,.query-builder__explorer__header__action--active.panel__header__action svg{color:var(--color-light-grey-100)}.query-builder__explorer__content{overflow-y:auto;padding:.5rem 0}.query-builder__explorer--on-backdrop{z-index:1}.query-builder__explorer__preview-data-modal{width:auto;height:auto;min-width:30vw}.query-builder__explorer__preview-data-modal__body{display:flex;align-items:center;justify-content:center;padding:2rem}.query-builder__explorer__preview-data-modal__body .table{width:100%;color:var(--color-light-grey-400);font-family:"Roboto Mono",monospace}.query-builder__parameters .panel__header{border-top:.1rem solid var(--color-dark-grey-200)}.query-builder__parameters__content{overflow-y:auto;padding:.5rem 0}.query-builder__parameters__modal__body{overflow:auto;padding:2rem !important;height:60vh}.query-builder__parameters__modal{height:65vh;width:65vh}.query-builder__parameters__values__editor__modal{height:65vh;width:65vh}.query-builder__parameters__value__label{display:flex;align-items:center;color:var(--color-light-grey-50);margin-bottom:.5rem;line-height:2rem;cursor:default}.query-builder__parameters__parameter{display:flex;align-items:center;justify-content:center;width:100%;height:2.8rem;cursor:pointer}.query-builder__parameters__parameter__actions{display:flex;height:2rem;padding-right:.5rem}.query-builder__parameters__parameter__action{display:flex;align-items:center;justify-content:center;height:2rem;width:2rem}.query-builder__parameters__parameter__action svg{font-size:1.3rem;color:var(--color-light-grey-400)}.query-builder__parameters__parameter__action:hover svg{color:var(--color-light-grey-200)}.query-builder__parameters__parameter__action[disabled] svg{color:var(--color-dark-grey-300)}.query-builder__parameters__parameter__content{display:flex;align-items:center;height:100%;width:calc(100% - 3.3rem)}.query-builder__parameters__parameter__icon{display:flex;align-items:center;justify-content:center;width:3rem;min-width:3rem;padding-left:1rem;padding-right:.5rem;height:2.2rem;color:var(--color-pink-400)}.query-builder__parameters__parameter-icon{display:flex;justify-content:center;width:1.5rem;min-width:1.5rem}.query-builder__parameters__parameter__label{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;word-break:break-word;text-align:left;display:flex;color:var(--color-light-grey-400);height:2.2rem;line-height:2.2rem}.query-builder__parameters__parameter__type{display:flex;align-items:center}.query-builder__parameters__parameter__type__label{display:flex;align-items:center;background:var(--color-dark-grey-250);color:var(--color-light-grey-200);margin-left:.5rem;border-radius:.2rem;font-size:1rem;padding:0 .5rem;height:1.6rem;font-weight:500}.query-builder__parameters__parameter__name{height:100%;width:100%}.query-builder__parameters__parameter__name__input{padding:.5rem;height:2.8rem;line-height:2.8rem;background:var(--color-dark-grey-100);border:.1rem solid var(--color-dark-grey-300);color:var(--color-light-grey-200)}.query-builder__parameters__parameter:hover{background:var(--color-dark-blue-shade-100)}.query-builder__parameters__value__editor{height:2.8rem}.query-builder__parameters__value__editor input{font-size:1.4rem !important}.query-builder-explorer-tree__root{padding:.5rem 0}.query-builder-explorer-tree__node__icon{width:4rem;min-width:4rem}.query-builder-explorer-tree__expand-icon,.query-builder-explorer-tree__type-icon{display:flex;align-items:center;justify-content:center;width:1.7rem;min-width:1.7rem;height:1.4rem}.query-builder-explorer-tree__expand-icon svg{font-size:1rem;color:var(--color-light-grey-200)}.query-builder-explorer-tree__node__container:hover{background:var(--color-dark-blue-shade-100)}.query-builder-explorer-tree__node__container:hover .query-builder-explorer-tree__node__action svg{color:var(--color-light-grey-400)}.query-builder-explorer-tree__node__container--selected-from-context-menu{background:var(--color-dark-blue-shade-100)}.query-builder-explorer-tree__node__container--selected{background:var(--color-light-blue-450)}.query-builder-explorer-tree__node__label{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;word-break:break-word;text-align:left;height:2rem;line-height:2rem;min-width:0;color:var(--color-light-grey-400);user-select:none}.query-builder-explorer-tree__node__label--property__name{display:inline-flex}.query-builder-explorer-tree__node__label--deprecated{text-decoration:line-through .1rem}.query-builder-explorer-tree__node__label--with-action{width:calc(100% - 2rem)}.query-builder-explorer-tree__node__label--with-preview{width:calc(100% - 4rem)}.query-builder-explorer-tree__node__label__derived-property{display:inline-flex;font-weight:700;font-size:1.1rem;font-family:"Roboto Mono",monospace;color:var(--color-light-grey-400);height:2rem;line-height:2rem;margin-left:.5rem}.query-builder-explorer-tree__node__label__multiple{display:inline-flex;font-weight:700;font-size:1.6rem;font-family:"Roboto Mono",monospace;height:2rem;line-height:2rem;margin-left:.5rem;color:var(--color-yellow-200);vertical-align:text-top}.query-builder-explorer-tree__node__actions{display:flex;height:2rem;padding-right:.5rem}.query-builder-explorer-tree__node__action{display:flex;align-items:center;justify-content:center;height:2rem;width:2rem}.query-builder-explorer-tree__node__action svg{font-size:1.3rem;color:var(--color-dark-blue-shade-100)}.query-builder-explorer-tree__node__action:hover svg{color:var(--color-light-grey-200)}.query-builder-explorer-tree__node__action[disabled] svg{color:var(--color-dark-grey-300)}.query-builder-explorer-tree__icon{color:var(--color-primitive)}.query-builder-explorer-tree__icon__boolean,.query-builder-explorer-tree__icon__number,.query-builder-explorer-tree__icon__time{font-size:1.2rem}.query-builder-explorer-tree__node__container--unmapped .query-builder-explorer-tree__node__label,.query-builder-explorer-tree__node__container--unmapped .query-builder-explorer-tree__type-icon .icon,.query-builder-explorer-tree__node__container--unmapped .query-builder-explorer-tree__type-icon .icon svg,.query-builder-explorer-tree__node__container--unmapped .query-builder-explorer-tree__type-icon .query-builder-explorer-tree__icon,.query-builder-explorer-tree__node__container--unmapped .query-builder-explorer-tree__node__label__derived-property,.query-builder-explorer-tree__node__container--unmapped .query-builder-explorer-tree__node__label__multiple{color:var(--color-dark-grey-350)}.query-builder-explorer-tree__node__container--highlighted .query-builder-explorer-tree__node__label,.query-builder-explorer-tree__node__container--highlighted .query-builder-explorer-tree__node__label__derived-property,.query-builder-explorer-tree__node__container--highlighted .query-builder-explorer-tree__node__label__multiple{color:var(--color-skin-200)}.query-builder-explorer-tree__node__info{cursor:help}.query-builder-filter-tree__root{padding:.5rem 0}.query-builder-filter-tree__expand-icon{display:flex;align-items:center;justify-content:flex-start;color:var(--color-light-grey-200);width:1.5rem;min-width:1.5rem;margin-right:.5rem}.query-builder-filter-tree__expand-icon svg{font-size:1rem}.query-builder-filter-tree__node__container{height:3.3rem}.query-builder-filter-tree__node__container:hover{background:var(--color-dark-blue-shade-100)}.query-builder-filter-tree__node__container--selected,.query-builder-filter-tree__node__container--selected:hover{background:var(--color-blue-500)}.query-builder-filter-tree__node__container--selected-from-context-menu{background:var(--color-dark-blue-shade-100)}.query-builder-filter-tree__node__container--no-hover:hover{background:rgba(0,0,0,0) !important}.query-builder-filter-tree__node__content{display:flex;align-items:center;height:100%;width:calc(100% - 3.9rem)}.query-builder-filter-tree__node__actions{display:flex;align-items:center;height:100%;width:2.8rem}.query-builder-filter-tree__node__action{display:flex;align-items:center;justify-content:center;height:100%;width:2.8rem}.query-builder-filter-tree__node__action svg{color:var(--color-light-grey-400)}.query-builder-filter-tree__node__action:hover svg{color:var(--color-light-grey-200)}.query-builder-filter-tree__node__label{width:100%;height:3.4rem;line-height:3.4rem;display:flex;min-width:0;white-space:normal;flex:0 0 auto;color:var(--color-light-grey-400);user-select:none}.query-builder-filter-tree__node__label--expandable{width:calc(100% - 1.5rem)}.query-builder-filter-tree__node__label__content{display:flex;align-items:center;width:100%;height:100%}.query-builder-filter-tree__group-node{display:flex;align-items:center;height:2.2rem;border-radius:.2rem}.query-builder-filter-tree__group-node__label{display:flex;align-items:center;width:4.5rem;min-width:4.5rem;font-weight:700;font-size:1.2rem;padding-left:1rem;text-transform:uppercase;color:var(--color-light-grey-50)}.query-builder-filter-tree__group-node__action{display:flex;align-items:center;justify-content:center;height:100%;min-width:2rem;width:2rem;background:var(--color-dark-shade-200);padding:0 .2rem}.query-builder-filter-tree__group-node__action svg{font-size:1rem;color:var(--color-light-grey-200)}.query-builder-filter-tree__group-node__action:hover svg{color:var(--color-light-grey-50)}.query-builder-filter-tree__group-node--and{background:var(--color-dark-grey-280)}.query-builder-filter-tree__group-node--or{background:var(--color-magenta-300)}.query-builder-filter-tree__blank-node{display:flex;align-items:center;justify-content:center;margin:.3rem 0;width:100%;border:.2rem dashed var(--color-dark-grey-100);font-size:1.2rem;font-weight:700;color:var(--color-dark-grey-300);height:2.8rem}.query-builder-filter-tree__node__container--selected .query-builder-filter-tree__blank-node,.query-builder-filter-tree__node__container--selected:hover .query-builder-filter-tree__blank-node,.query-builder-filter-tree__node__container:hover .query-builder-filter-tree__blank-node{border:.2rem dashed var(--color-dark-grey-300);color:var(--color-dark-grey-400)}.query-builder-filter-tree__condition-node{display:flex;align-items:center;width:100%;height:100%}.query-builder-filter-tree__condition-node__property{display:flex;align-items:center;width:calc(50% - 3rem);height:2.8rem}.query-builder-filter-tree__condition-node__operator{display:flex;align-items:center;margin:0 .5rem}.query-builder-filter-tree__condition-node__operator__label{padding:0 .5rem;font-weight:500;background:var(--color-dark-grey-280);height:2.2rem;color:var(--color-light-grey-100);border-radius:.2rem 0 0 .2rem;font-size:1.2rem;line-height:2.2rem;white-space:nowrap}.query-builder-filter-tree__condition-node__operator__dropdown__trigger{display:flex;align-items:center;justify-content:center;padding:0 .3rem;font-weight:500;background:var(--color-dark-grey-200);height:2.2rem;border-radius:0 .2rem .2rem 0}.query-builder-filter-tree__condition-node__operator__dropdown__trigger svg{color:var(--color-light-grey-100);font-size:1.2rem}.query-builder-filter-tree__condition-node__operator__dropdown__option{font-size:1.1rem;height:2.8rem;font-family:"Roboto Mono",monospace}.query-builder-filter-tree__condition-node__value{display:flex;align-items:center;justify-content:center;flex-grow:1;height:2.8rem;border-radius:.2rem;font-size:1.2rem;font-weight:500}.query-builder-post-filter-tree__root{padding:.5rem 0}.query-builder-post-filter-tree__expand-icon{display:flex;align-items:center;justify-content:flex-start;color:var(--color-light-grey-200);width:1.5rem;min-width:1.5rem;margin-right:.5rem}.query-builder-post-filter-tree__expand-icon svg{font-size:1rem}.query-builder-post-filter-tree__node__container{height:3.3rem}.query-builder-post-filter-tree__node__container:hover{background:var(--color-dark-blue-shade-100)}.query-builder-post-filter-tree__node__container--selected,.query-builder-post-filter-tree__node__container--selected:hover{background:var(--color-blue-500)}.query-builder-post-filter-tree__node__container--selected-from-context-menu{background:var(--color-dark-blue-shade-100)}.query-builder-post-filter-tree__node__container--no-hover:hover{background:rgba(0,0,0,0) !important}.query-builder-post-filter-tree__node__content{display:flex;align-items:center;height:100%;width:calc(100% - 3.9rem)}.query-builder-post-filter-tree__node__actions{display:flex;align-items:center;height:100%;width:2.8rem}.query-builder-post-filter-tree__node__action{display:flex;align-items:center;justify-content:center;height:100%;width:2.8rem}.query-builder-post-filter-tree__node__action svg{color:var(--color-light-grey-400)}.query-builder-post-filter-tree__node__action:hover svg{color:var(--color-light-grey-200)}.query-builder-post-filter-tree__node__label{width:100%;height:3.4rem;line-height:3.4rem;display:flex;min-width:0;white-space:normal;flex:0 0 auto;color:var(--color-light-grey-400);user-select:none}.query-builder-post-filter-tree__node__label--expandable{width:calc(100% - 1.5rem)}.query-builder-post-filter-tree__node__label__content{display:flex;align-items:center;width:100%;height:100%}.query-builder-post-filter-tree__group-node{display:flex;align-items:center;height:2.2rem;border-radius:.2rem}.query-builder-post-filter-tree__group-node__label{display:flex;align-items:center;width:4.5rem;min-width:4.5rem;font-weight:700;font-size:1.2rem;padding-left:1rem;text-transform:uppercase;color:var(--color-light-grey-50)}.query-builder-post-filter-tree__group-node__action{display:flex;align-items:center;justify-content:center;height:100%;min-width:2rem;width:2rem;background:var(--color-dark-shade-200);padding:0 .2rem}.query-builder-post-filter-tree__group-node__action svg{font-size:1rem;color:var(--color-light-grey-200)}.query-builder-post-filter-tree__group-node__action:hover svg{color:var(--color-light-grey-50)}.query-builder-post-filter-tree__group-node--and{background:var(--color-dark-grey-280)}.query-builder-post-filter-tree__group-node--or{background:var(--color-magenta-300)}.query-builder-post-filter-tree__blank-node{display:flex;align-items:center;justify-content:center;margin:.3rem 0;width:100%;border:.2rem dashed var(--color-dark-grey-100);font-size:1.2rem;font-weight:700;color:var(--color-dark-grey-300);height:2.8rem}.query-builder-post-filter-tree__node__container--selected .query-builder-post-filter-tree__blank-node,.query-builder-post-filter-tree__node__container--selected:hover .query-builder-post-filter-tree__blank-node,.query-builder-post-filter-tree__node__container:hover .query-builder-post-filter-tree__blank-node{border:.2rem dashed var(--color-dark-grey-300);color:var(--color-dark-grey-400)}.query-builder-post-filter-tree__condition-node{display:flex;align-items:center;width:100%;height:100%}.query-builder-post-filter-tree__condition-node__property{display:flex;align-items:center;width:calc(50% - 3rem);height:2.8rem}.query-builder-post-filter-tree__condition-node__operator{display:flex;align-items:center;margin:0 .5rem}.query-builder-post-filter-tree__condition-node__operator__label{padding:0 .5rem;font-weight:500;background:var(--color-dark-grey-280);height:2.2rem;color:var(--color-light-grey-100);border-radius:.2rem 0 0 .2rem;font-size:1.2rem;line-height:2.2rem;white-space:nowrap}.query-builder-post-filter-tree__condition-node__operator__dropdown__trigger{display:flex;align-items:center;justify-content:center;padding:0 .3rem;font-weight:500;background:var(--color-dark-grey-200);height:2.2rem;border-radius:0 .2rem .2rem 0}.query-builder-post-filter-tree__condition-node__operator__dropdown__trigger svg{color:var(--color-light-grey-100);font-size:1.2rem}.query-builder-post-filter-tree__condition-node__operator__dropdown__option{font-size:1.1rem;height:2.8rem;font-family:"Roboto Mono",monospace}.query-builder-post-filter-tree__condition-node__value{display:flex;align-items:center;justify-content:center;flex-grow:1;height:2.8rem;border-radius:.2rem;font-size:1.2rem;font-weight:500}.query-builder-column-badge{display:flex;align-items:center;width:100%;height:100%}.query-builder-column-badge__content{display:flex;align-items:center;width:100%;height:2.2rem;border-radius:.2rem;background:var(--color-dark-grey-100)}.query-builder-column-badge__icon{color:var(--color-dark-shade-230)}.query-builder-column-badge__type{height:2.2rem;width:2.2rem;display:flex;align-items:center;justify-content:center;min-width:2.2rem;border-radius:.2rem 0 0 .2rem}.query-builder-column-badge__type--class{background:var(--color-purple-200)}.query-builder-column-badge__type--enumeration{background:var(--color-medium-green-450)}.query-builder-column-badge__type--primitive{background:var(--color-blue-200)}.query-builder-column-badge__property{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;word-break:break-word;text-align:left;padding:0 1rem;font-size:1.2rem;font-weight:700;width:100%}.query-builder-column-badge__property__info{display:flex;align-items:center;justify-content:center;height:2.2rem;width:2.2rem;margin:.3rem}.query-builder-column-badge__property__info svg{font-size:1.2rem;color:var(--color-light-grey-400)}.query-builder-column-badge__action{width:4.6rem;min-width:4.6rem;height:2.2rem;line-height:2.2rem;font-weight:700;font-size:1rem;font-family:"Roboto Mono",monospace;color:var(--color-light-grey-200);background:var(--color-dark-shade-230)}.query-builder-column-badge__action:hover{color:var(--color-light-grey-50)}.query-builder-column-badge__action--error{background:var(--color-red-200);color:var(--color-light-grey-50);width:6rem;min-width:6rem;display:flex;align-items:center;justify-content:center}.query-builder-column-badge__action--error svg{font-size:1rem;margin-right:.3rem}.query-builder-column-badge__action--error:hover{color:var(--color-light-grey-0)}.query-builder__projection__toolbar{display:flex;align-items:center;justify-content:flex-end;height:2.8rem;padding:0 1rem;font-size:1.2rem;border-bottom:.1rem solid var(--color-dark-grey-100)}.query-builder__projection__content{height:calc(100% - 2.8rem);width:100%}.query-builder__projection__columns{padding:.5rem 0}.query-builder__projection__column{display:flex;align-items:center;color:var(--color-light-grey-400);padding:0 .5rem}.query-builder__projection__column:hover{background:var(--color-dark-blue-shade-100)}.query-builder__projection__column__context-menu{display:flex;height:100%;width:100%}.query-builder__projection__column--selected-from-context-menu{background:var(--color-dark-blue-shade-100)}.query-builder__projection__column__drag-handle{display:flex;align-items:center;justify-content:center;background:var(--color-dark-grey-100);height:2.4rem;width:1.6rem;min-width:1.6rem;margin-left:.5rem}.query-builder__projection__column__drag-handle svg{color:var(--color-dark-grey-300);font-size:1.2rem}.query-builder__projection__column__drag-handle__container{display:flex;align-items:center;justify-content:center;height:3.4rem}.query-builder__projection__column__derivation{height:100%;width:100%;padding:.3rem}.query-builder__projection__column__derivation .lambda-editor__error-feedback{background:var(--color-red-200)}.query-builder__projection__column__name{display:flex;align-items:center;margin-left:.5rem;height:3.4rem}.query-builder__projection__column__name__input{padding:.5rem;width:20rem;height:2.8rem;line-height:2.8rem;background:var(--color-dark-grey-100);border:.1rem solid var(--color-dark-grey-300);color:var(--color-light-grey-200)}.query-builder__projection__column__name__input:focus{border:.1rem solid var(--color-blue-200);outline:none}.query-builder__projection__column__name__property{display:flex;align-items:center;margin:0 .5rem;width:calc(100% - 20.5rem);height:2.8rem}.query-builder__projection__column__value{display:flex;align-items:center;height:100%;width:100%}.query-builder__projection__column__value__property{display:flex;align-items:center;height:3.4rem;width:100%;margin:0 .5rem}.query-builder__projection__column__aggregate{display:flex;align-items:center;height:3.4rem}.query-builder__projection__column__aggregate__operator{display:flex;align-items:center;height:2.8rem}.query-builder__projection__column__aggregate__operator__label{display:flex;align-items:center;justify-content:center;height:100%;padding:0 1rem;font-size:1.2rem;font-weight:500;background:var(--color-dark-grey-280);color:var(--color-light-grey-100);border-radius:.2rem 0 0 .2rem;white-space:nowrap}.query-builder__projection__column__aggregate__operator__dropdown{display:flex;align-items:center;height:100%}.query-builder__projection__column__aggregate__operator__dropdown__option{font-size:1.1rem;height:2.8rem;font-family:"Roboto Mono",monospace}.query-builder__projection__column__aggregate__operator__dropdown__trigger{display:flex;align-items:center;justify-content:center;height:100%;width:1.8rem;background:var(--color-dark-grey-200);border-radius:0 .2rem .2rem 0}.query-builder__projection__column__aggregate__operator__dropdown__trigger svg{font-size:1.2rem;color:var(--color-light-grey-100)}.query-builder__projection__column__aggregate__operator__badge{display:flex;align-items:center;justify-content:center;height:100%;width:2.8rem;background:var(--color-dark-grey-280);color:var(--color-light-grey-100);border-radius:.2rem 0 0 .2rem}.query-builder__projection__column__aggregate__operator__badge svg{font-size:1.8rem}.query-builder__projection__column__aggregate__operator__badge--activated{border-radius:0;background:var(--color-yellow-200)}.query-builder__projection__column__aggregate__operator__badge--activated svg{color:var(--color-dark-grey-280)}.query-builder__projection__column__actions{display:flex;align-items:center;height:100%;width:3.4rem}.query-builder__projection__column__action{display:flex;align-items:center;justify-content:center;height:3.4rem;width:3.4rem}.query-builder__projection__column__action .query-builder__icon,.query-builder__projection__column__action svg{color:var(--color-light-grey-400)}.query-builder__projection__column__action:hover .query-builder__icon,.query-builder__projection__column__action:hover svg{color:var(--color-light-grey-100)}.query-builder__projection__column__action[disabled] .query-builder__icon,.query-builder__projection__column__action[disabled] svg{color:var(--color-dark-grey-300)}.query-builder__projection__column:hover .query-builder__projection__column__action{display:flex}.query-builder__projection__modal__body{overflow:auto}.query-builder__projection__options{padding:2rem;width:100%}.query-builder__projection__options__sort{display:flex;width:100%;margin-bottom:1rem}.query-builder__projection__options__sort__dropdown{max-width:45rem;width:100%;margin-right:.5rem}.query-builder__projection__options__sort__type-btn{color:var(--color-light-grey-200)}.query-builder__projection__options__sort__remove-btn{display:flex;align-items:center;justify-content:center;flex:2.8rem 0 0;height:2.8rem;color:var(--color-light-grey-200);background:var(--color-dark-grey-200);border-radius:.2rem;margin-left:.5rem;cursor:pointer}.query-builder-graph-fetch-tree{height:100%;width:100%;display:flex;flex-direction:column}.query-builder-graph-fetch-tree__toolbar{display:flex;align-items:center;justify-content:flex-end;height:2.8rem;padding:0 1rem;font-size:1.2rem;border-bottom:.1rem solid var(--color-dark-grey-100)}.query-builder-graph-fetch-tree__toolbar__hint-icon{display:flex;align-items:center;justify-content:center;width:3rem}.query-builder-graph-fetch-tree__toolbar__hint-icon svg{color:var(--color-dark-grey-500)}.query-builder-graph-fetch-tree__container{height:calc(100% - 2.8rem);width:100%;padding:.5rem 0}.query-builder-graph-fetch-tree__node__container{display:flex;width:100%;height:2.8rem}.query-builder-graph-fetch-tree__node__container:hover{background:var(--color-dark-blue-shade-100)}.query-builder-graph-fetch-tree__node__content{display:flex;align-items:center;height:100%;width:calc(100% - 3.3rem)}.query-builder-graph-fetch-tree__node__actions{display:flex;align-items:center;height:100%;padding-right:.5rem}.query-builder-graph-fetch-tree__node__action{display:flex;align-items:center;justify-content:center;width:3.4rem;height:3.4rem}.query-builder-graph-fetch-tree__node__action svg{color:var(--color-light-grey-400)}.query-builder-graph-fetch-tree__node__action:hover svg{color:var(--color-light-grey-200)}.query-builder-graph-fetch-tree__node__icon{width:4.5rem;min-width:4.5rem}.query-builder-graph-fetch-tree__expand-icon,.query-builder-graph-fetch-tree__type-icon{display:flex;justify-content:center;width:1.5rem;min-width:1.5rem}.query-builder-graph-fetch-tree__expand-icon svg{color:var(--color-light-grey-200);font-size:1.2rem}.query-builder-graph-fetch-tree__node__label{display:flex;color:var(--color-light-grey-400)}.query-builder-graph-fetch-tree__node__sub-type,.query-builder-graph-fetch-tree__node__type{display:flex;align-items:center}.query-builder-graph-fetch-tree__node__sub-type__label,.query-builder-graph-fetch-tree__node__type__label{display:flex;align-items:center;margin-left:.5rem;border-radius:.2rem;font-size:1rem;padding:0 .5rem;height:1.6rem;font-weight:500}.query-builder-graph-fetch-tree__node__type__label{background:var(--color-dark-grey-250);color:var(--color-light-grey-200)}.query-builder-graph-fetch-tree__node__sub-type__label{background:var(--color-light-grey-400);color:var(--color-dark-grey-250);border-radius:.2rem 1.4rem 1.4rem .2rem;padding-right:.7rem}.query-builder__functions-explorer__tree__root{padding:.5rem 0}.query-builder__functions-explorer__tree__node__icon{width:4rem;min-width:4rem}.query-builder__functions-explorer__tree__expand-icon,.query-builder__functions-explorer__tree__type-icon{display:flex;align-items:center;justify-content:center;width:1.7rem;min-width:1.7rem;height:1.4rem}.query-builder__functions-explorer__tree__node__container:hover{background:var(--color-dark-blue-shade-100)}.query-builder__functions-explorer__tree__node__label--with-action{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;word-break:break-word;text-align:left;height:2rem;line-height:2rem;min-width:0;color:var(--color-light-grey-400);user-select:none;width:calc(100% - 2rem)}.query-builder__functions-explorer__tree__node__actions{display:flex;height:2rem;padding-right:.5rem}.query-builder__functions-explorer__tree__node__action{display:flex;align-items:center;justify-content:center;height:2rem;width:2rem}.query-builder__functions-explorer__tree__node__action svg{font-size:1.3rem;color:var(--color-light-grey-400)}.query-builder__functions-explorer__tree__node__action:hover svg{color:var(--color-light-grey-200)}.query-builder__functions-explorer__tree__node__action[disabled] svg{color:var(--color-dark-grey-300)}.query-builder__functions-explorer__tree__node__info{cursor:help}.query-builder__functions-explorer__content{padding:.5rem 0}.query-builder__functions-explorer__custom-icon svg{font-size:2rem}.query-builder__functions-explorer__separator{height:.1rem;width:100%;background:var(--color-dark-grey-250);margin:.5rem 0}.query-builder__functions-explorer__function{display:flex;align-items:center;justify-content:center;width:100%;height:2.8rem;cursor:pointer}.query-builder__functions-explorer__function__actions{display:flex;height:2rem;padding-right:.5rem}.query-builder__functions-explorer__function__action{display:flex;align-items:center;justify-content:center;height:2rem;width:2rem}.query-builder__functions-explorer__function__action svg{font-size:1.3rem;color:var(--color-light-grey-400)}.query-builder__functions-explorer__function__action:hover svg{color:var(--color-light-grey-200)}.query-builder__functions-explorer__function__action[disabled] svg{color:var(--color-dark-grey-300)}.query-builder__functions-explorer__function__node__info{cursor:help}.query-builder__functions-explorer__function__content{display:flex;align-items:center;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;word-break:break-word;text-align:left;height:100%;width:100%}.query-builder__functions-explorer__function__icon{display:flex;align-items:center;justify-content:center;width:3rem;min-width:3rem;padding-left:1rem;padding-right:.5rem;height:2.2rem;color:var(--color-pink-400)}.query-builder__functions-explorer__function-icon{display:flex;justify-content:center;width:1.5rem;min-width:1.5rem}.query-builder__functions-explorer__function__label{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;word-break:break-word;text-align:left;height:2rem;line-height:2rem;min-width:0;color:var(--color-light-grey-400);user-select:none}.query-builder__functions-explorer__function:hover{background:var(--color-dark-blue-shade-100)}.query-builder-property-search-panel{height:50vh;width:40vw;pointer-events:all}.query-builder-property-search-panel__container{pointer-events:none}.query-builder-property-search-panel__container__root{border-radius:0}.query-builder-property-search-panel__container--hidden{visibility:hidden}.query-builder-property-search-panel__node__container:hover{background:var(--color-dark-blue-shade-100)}.query-builder-property-search-panel__node__container:hover svg{color:var(--color-light-grey-400)}.query-builder-property-search-panel__content{height:calc(100% - 4.4rem);overflow-y:auto}.query-builder-property-search-panel__filter__element{display:flex;align-items:center;cursor:pointer}.query-builder-property-search-panel__node__icon{width:4rem;min-width:4rem}.query-builder-property-search-panel__type-icon{display:flex;align-items:center;justify-content:center;width:1.7rem;min-width:1.7rem;height:1.4rem}.query-builder-property-search-panel__node__label{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;word-break:break-word;text-align:left;height:2rem;line-height:2rem;min-width:0;color:var(--color-light-grey-400);user-select:none}.query-builder-property-search-panel__node__label--with-action{width:calc(100% - 2rem)}.query-builder-property-search-panel__node__label__multiple{display:inline-flex;font-weight:700;font-size:1.6rem;font-family:"Roboto Mono",monospace;height:2rem;line-height:2rem;margin-left:.5rem;color:var(--color-yellow-200);vertical-align:text-top}.query-builder-property-search-panel__node__actions{display:flex;height:2rem;padding-right:.5rem}.query-builder-property-search-panel__node__action{display:flex;align-items:center;justify-content:center;height:2rem;width:2rem}.query-builder-property-search-panel__node__action svg{font-size:1.3rem;color:var(--color-dark-blue-shade-100)}.query-builder-property-search-panel__node__action:hover svg{color:var(--color-light-grey-200)}.query-builder-property-search-panel__node__action[disabled] svg{color:var(--color-dark-grey-300)}.query-builder-property-search-panel__node__info{cursor:help}.query-builder-property-search-panel__header{display:flex;align-items:center;justify-content:center;padding:.5rem;border-bottom:.1rem solid var(--color-dark-grey-250);height:4.4rem;position:relative}.query-builder-property-search-panel__close-btn{height:2.8rem;width:2.8rem;margin-left:.5rem}.query-builder-property-search-panel__input{font-size:1.3rem;height:2.8rem;padding-right:2.8rem;padding-left:1rem;width:100%;background:var(--color-dark-grey-85);border-radius:.2rem;border:.1rem solid var(--color-dark-grey-200)}.query-builder-property-search-panel__input__container{display:flex;align-items:center;justify-content:center;position:relative;height:2.8rem;width:100%}.query-builder-property-search-panel__input--searching{padding-right:9rem}.query-builder-property-search-panel__input__search__count{display:flex;align-items:center;justify-content:center;position:absolute;right:5.3rem;border-radius:.8rem;height:1.6rem;padding:0 .5rem;font-size:1.1rem;font-weight:700;background:var(--color-yellow-100);color:var(--color-dark-grey-280);user-select:none;cursor:default}.query-builder-property-search-panel__input__search__icon{display:flex;align-items:center;justify-content:center;position:absolute;right:.3rem;height:2.8rem;width:2.8rem}.query-builder-property-search-panel__input__search__icon svg{color:var(--color-light-shade-100)}.query-builder-property-search-panel__input__search__config__trigger{display:flex;align-items:center;justify-content:center;position:absolute;right:3.1rem;height:2.8rem;width:1.8rem;cursor:pointer}.query-builder-property-search-panel__input__search__config__trigger svg{color:var(--color-dark-grey-400)}.query-builder-property-search-panel__input__search__config__trigger--toggled svg,.query-builder-property-search-panel__input__search__config__trigger:hover svg{color:var(--color-dark-grey-500)}.query-builder-property-search-panel__input__search__config__trigger--active svg,.query-builder-property-search-panel__input__search__config__trigger--active:hover svg{color:var(--color-blue-150)}.query-builder-property-search-panel__input__clear-btn{display:flex;align-items:center;justify-content:center;position:absolute;right:.3rem;height:2.8rem;width:2.8rem}.query-builder-property-search-panel__input__clear-btn svg{color:var(--color-dark-grey-400)}.query-builder-property-search-panel__input__clear-btn:hover svg{color:var(--color-dark-grey-500)}.query-builder-property-search-panel__form__section{cursor:default;margin:.5rem 0 3rem}.query-builder-property-search-panel__form__section__header__label{display:flex;align-items:center;font-weight:500;color:var(--color-light-grey-50);margin-bottom:.5rem;line-height:2rem;cursor:default}.query-builder-property-search-panel__form__section__toggler{display:flex;align-items:center;cursor:pointer}.query-builder-property-search-panel__form__section__toggler__btn{align-self:flex-start;padding-top:.2rem}.query-builder-property-search-panel__form__section__toggler__btn svg{font-size:2rem;color:var(--color-dark-grey-250)}.query-builder-property-search-panel__form__section__toggler__btn:hover svg{font-size:2rem;color:var(--color-dark-grey-280)}.query-builder-property-search-panel__form__section__toggler__btn[disabled] svg,.query-builder-property-search-panel__form__section__toggler__btn[disabled]:hover svg{cursor:not-allowed;color:var(--color-dark-grey-250)}.query-builder-property-search-panel__form__section__toggler__btn--toggled svg{font-size:2rem;color:var(--color-blue-150)}.query-builder-property-search-panel__form__section__toggler__btn--toggled:hover svg{font-size:2rem;color:var(--color-blue-100)}.query-builder-property-search-panel__form__section__toggler__btn--toggled[disabled] svg,.query-builder-property-search-panel__form__section__toggler__btn--toggled[disabled]:hover svg{cursor:not-allowed;color:var(--color-dark-grey-300)}.query-builder-property-search-panel__form__section__toggler__prompt{word-break:break-word;margin-left:.8rem;color:var(--color-light-grey-400);line-height:2rem;cursor:pointer}.query-builder-property-search-panel__config,.query-builder-property-search-panel__results{height:100%;padding:1rem;overflow-y:auto}.query-builder-property-search-panel__result-placeholder{cursor:default;user-select:none}.query-builder-property-search-panel__result-placeholder__text{color:var(--color-dark-grey-500);font-weight:700}.query-builder-property-search-panel__result-placeholder__placeholder{color:var(--color-dark-grey-300);margin-top:1rem}.query-builder__setup__service .query-builder__setup.panel{height:9.8rem}.query-builder__setup__service .query-builder__side-bar__content{height:calc(100% - 9.8rem)}.query-builder__setup__service--with-mutiple-execution .query-builder__setup.panel{height:13.1rem}.query-builder__setup__service--with-mutiple-execution .query-builder__side-bar__content{height:calc(100% - 13.1rem)}.query-builder__setup__service__icon__service{color:var(--color-blue-50)}.query-builder__setup__service__icon__execution-context{color:var(--color-lime-75)}.query-setup__service-option{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;word-break:break-word;text-align:left;display:inline-flex}.query-setup__service-option__path{font-size:1.2rem;color:var(--color-dark-grey-400);margin-left:.5rem;line-height:1.4rem}.query-setup__service-option__pattern{color:var(--color-dark-grey-200);margin-left:.5rem;line-height:1.4rem;background:var(--color-yellow-100);border-radius:.2rem;padding:0 .5rem;font-size:1rem;font-weight:700;font-family:"Roboto Mono",monospace}.query-setup__service-option__gav{font-size:1.2rem;color:var(--color-blue-50);margin-left:.5rem;line-height:1.4rem}/*# sourceMappingURL=index.css.map */
|
package/lib/package.json
CHANGED
@@ -15,7 +15,7 @@
|
|
15
15
|
*/
|
16
16
|
import { AbstractPropertyExpression, type ValueSpecification } from '@finos/legend-graph';
|
17
17
|
import type { QueryBuilderState } from './QueryBuilderState.js';
|
18
|
-
export declare const buildPropertyExpressionChain: (propertyExpression: AbstractPropertyExpression, queryBuilderState: QueryBuilderState, TEMPORARY__disableDatePropagation?: boolean) => ValueSpecification;
|
18
|
+
export declare const buildPropertyExpressionChain: (propertyExpression: AbstractPropertyExpression, queryBuilderState: QueryBuilderState, lambdaParameterName: string, TEMPORARY__disableDatePropagation?: boolean) => ValueSpecification;
|
19
19
|
export declare type LambdaFunctionBuilderOption = {
|
20
20
|
/**
|
21
21
|
* Set queryBuilderState to `true` when we construct query for execution within the app.
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderValueSpecificationBuilderHelper.d.ts","sourceRoot":"","sources":["../../src/stores/QueryBuilderValueSpecificationBuilderHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,0BAA0B,
|
1
|
+
{"version":3,"file":"QueryBuilderValueSpecificationBuilderHelper.d.ts","sourceRoot":"","sources":["../../src/stores/QueryBuilderValueSpecificationBuilderHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,0BAA0B,EAS1B,KAAK,kBAAkB,EACxB,MAAM,qBAAqB,CAAC;AAQ7B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAkGhE,eAAO,MAAM,4BAA4B,uBACnB,0BAA0B,qBAC3B,iBAAiB,uBACf,MAAM,sCAOS,OAAO,KAC1C,kBAyFF,CAAC;AAEF,oBAAY,2BAA2B,GAAG;IACxC;;;OAGG;IACH,wBAAwB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC/C,qBAAqB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CAC7C,CAAC"}
|
@@ -13,7 +13,7 @@
|
|
13
13
|
* See the License for the specific language governing permissions and
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
|
-
import { AbstractPropertyExpression, Class, DerivedProperty, getMilestoneTemporalStereotype, INTERNAL__PropagatedValue, matchFunctionName, MILESTONING_STEREOTYPE, SimpleFunctionExpression, } from '@finos/legend-graph';
|
16
|
+
import { AbstractPropertyExpression, Class, DerivedProperty, getMilestoneTemporalStereotype, INTERNAL__PropagatedValue, matchFunctionName, MILESTONING_STEREOTYPE, SimpleFunctionExpression, VariableExpression, } from '@finos/legend-graph';
|
17
17
|
import { getNullableFirstElement, guaranteeNonNullable, guaranteeType, } from '@finos/legend-shared';
|
18
18
|
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../graphManager/QueryBuilderSupportedFunctions.js';
|
19
19
|
import { getDerivedPropertyMilestoningSteoreotype } from './QueryBuilderPropertyEditorState.js';
|
@@ -90,7 +90,7 @@ const isDefaultDatePropagationSupported = (currentPropertyExpression, queryBuild
|
|
90
90
|
}
|
91
91
|
return false;
|
92
92
|
};
|
93
|
-
export const buildPropertyExpressionChain = (propertyExpression, queryBuilderState,
|
93
|
+
export const buildPropertyExpressionChain = (propertyExpression, queryBuilderState, lambdaParameterName,
|
94
94
|
/**
|
95
95
|
* As of now, we don't support date propagation for aggregation-class functions
|
96
96
|
* so we have this temporary flag to disable date propagation, there could be other
|
@@ -158,6 +158,10 @@ TEMPORARY__disableDatePropagation) => {
|
|
158
158
|
currentExpression = getNullableFirstElement(currentExpression.parametersValues);
|
159
159
|
}
|
160
160
|
}
|
161
|
+
// Update the root lambda name based on the parent's lambda parameter name.
|
162
|
+
if (currentExpression instanceof VariableExpression) {
|
163
|
+
currentExpression.name = lambdaParameterName;
|
164
|
+
}
|
161
165
|
return newPropertyExpression;
|
162
166
|
};
|
163
167
|
//# sourceMappingURL=QueryBuilderValueSpecificationBuilderHelper.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderValueSpecificationBuilderHelper.js","sourceRoot":"","sources":["../../src/stores/QueryBuilderValueSpecificationBuilderHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,0BAA0B,EAC1B,KAAK,EACL,eAAe,EACf,8BAA8B,EAC9B,yBAAyB,EACzB,iBAAiB,EACjB,sBAAsB,EACtB,wBAAwB,
|
1
|
+
{"version":3,"file":"QueryBuilderValueSpecificationBuilderHelper.js","sourceRoot":"","sources":["../../src/stores/QueryBuilderValueSpecificationBuilderHelper.ts"],"names":[],"m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AAM;4BACL,yBAAyB,CAAC,gBAAgB,GAAG;gCAC3C,oBAAoB,CAClB,aAAa,CAAC,iBAAiB,EAAE,0BAA0B,CAAC;qCACzD,gBAAgB,CAAC,CAAC,CAAC,CACvB;6BACF,CAAC;yBACH;qBACF;yBAAM;wBACL,yBAAyB,CAAC,gBAAgB,CAAC,KAAK,GAAG,CAAC,CAAC;4BACnD,cAAc,CAAC,QAAQ,EAAE,CAAC;qBAC7B;iBACF;YACH,CAAC,CAAC,CAAC;SACJ;QACD,iBAAiB,GAAG,cAAc,CAAC;QACnC,oGAAoG;QACpG,kDAAkD;QAClD,OACE,iBAAiB,YAAY,wBAAwB;YACrD,iBAAiB,CACf,iBAAiB,CAAC,YAAY,EAC9B,iCAAiC,CAAC,OAAO,CAC1C,EACD;YACA,iBAAiB,GAAG,uBAAuB,CACzC,iBAAiB,CAAC,gBAAgB,CACnC,CAAC;SACH;KACF;IAED,2EAA2E;IAC3E,IAAI,iBAAiB,YAAY,kBAAkB,EAAE;QACnD,iBAAiB,CAAC,IAAI,GAAG,mBAAmB,CAAC;KAC9C;IACD,OAAO,qBAAqB,CAAC;AAC/B,CAAC,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderProjectionValueSpecificationBuilder.d.ts","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,cAAc,EAcpB,MAAM,qBAAqB,CAAC;AAS7B,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAmHvE,eAAO,MAAM,gBAAgB,aACjB,oBAAoB,kBACd,cAAc,YACpB;IACR;;;OAGG;IACH,wBAAwB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC/C,qBAAqB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CAC7C,KACA,
|
1
|
+
{"version":3,"file":"QueryBuilderProjectionValueSpecificationBuilder.d.ts","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,cAAc,EAcpB,MAAM,qBAAqB,CAAC;AAS7B,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAmHvE,eAAO,MAAM,gBAAgB,aACjB,oBAAoB,kBACd,cAAc,YACpB;IACR;;;OAGG;IACH,wBAAwB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC/C,qBAAqB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CAC7C,KACA,IAsNF,CAAC"}
|
package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.js
CHANGED
@@ -98,7 +98,7 @@ export const appendProjection = (tdsState, lambdaFunction, options) => {
|
|
98
98
|
let columnLambda;
|
99
99
|
if (projectionColumnState instanceof QueryBuilderSimpleProjectionColumnState) {
|
100
100
|
columnLambda = buildGenericLambdaFunctionInstanceValue(projectionColumnState.lambdaParameterName, [
|
101
|
-
buildPropertyExpressionChain(projectionColumnState.propertyExpressionState.propertyExpression, projectionColumnState.propertyExpressionState.queryBuilderState, true),
|
101
|
+
buildPropertyExpressionChain(projectionColumnState.propertyExpressionState.propertyExpression, projectionColumnState.propertyExpressionState.queryBuilderState, projectionColumnState.lambdaParameterName, true),
|
102
102
|
], queryBuilderState.graphManagerState.graph);
|
103
103
|
}
|
104
104
|
else if (projectionColumnState instanceof
|
@@ -151,7 +151,7 @@ export const appendProjection = (tdsState, lambdaFunction, options) => {
|
|
151
151
|
let columnLambda;
|
152
152
|
if (projectionColumnState instanceof QueryBuilderSimpleProjectionColumnState) {
|
153
153
|
columnLambda = buildGenericLambdaFunctionInstanceValue(projectionColumnState.lambdaParameterName, [
|
154
|
-
buildPropertyExpressionChain(projectionColumnState.propertyExpressionState.propertyExpression, projectionColumnState.propertyExpressionState.queryBuilderState),
|
154
|
+
buildPropertyExpressionChain(projectionColumnState.propertyExpressionState.propertyExpression, projectionColumnState.propertyExpressionState.queryBuilderState, projectionColumnState.lambdaParameterName),
|
155
155
|
], queryBuilderState.graphManagerState.graph);
|
156
156
|
}
|
157
157
|
else if (projectionColumnState instanceof
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderProjectionValueSpecificationBuilder.js","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,uBAAuB,EACvB,0BAA0B,EAC1B,WAAW,EACX,4BAA4B,EAC5B,sBAAsB,EACtB,wBAAwB,EAExB,mCAAmC,EACnC,iCAAiC,EACjC,qBAAqB,EACrB,iCAAiC,EACjC,iBAAiB,EACjB,aAAa,GACd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,oBAAoB,EACpB,yBAAyB,GAC1B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,2CAA2C,EAC3C,uCAAuC,GACxC,MAAM,wCAAwC,CAAC;AAEhD,OAAO,EACL,gBAAgB,GAGjB,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAAE,iCAAiC,EAAE,MAAM,4DAA4D,CAAC;AAC/G,OAAO,EAAE,uCAAuC,EAAE,MAAM,kDAAkD,CAAC;AAC3G,OAAO,EAAE,4BAA4B,EAAE,MAAM,yDAAyD,CAAC;AACvG,OAAO,EAAE,sBAAsB,EAAE,MAAM,qEAAqE,CAAC;AAC7G,OAAO,EAAE,gBAAgB,EAAE,MAAM,mEAAmE,CAAC;AAErG,MAAM,mBAAmB,GAAG,CAC1B,eAAgC,EACN,EAAE;IAC5B,MAAM,kBAAkB,GAAG,IAAI,wBAAwB,CACrD,0BAA0B,CACxB,eAAe,CAAC,QAAQ,KAAK,gBAAgB,C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CAAC,iBAAiB,CAAC,KAAK,CAAC,eAAe,CACvD,QAAQ,CAAC,iBAAiB,CAAC,MAAM,EACjC,QAAQ,CAAC,iBAAiB,CAAC,MAAM,CAClC,CACF,CAAC;QACF,QAAQ,CAAC,iBAAiB,CAAC,OAAO,CAAC,CAAC,qBAAqB,EAAE,EAAE;YAC3D,eAAe;YACf,MAAM,QAAQ,GAAG,IAAI,sBAAsB,CACzC,4BAA4B,CAAC,MAAM,CACjC,IAAI,WAAW,CAAC,aAAa,CAAC,MAAM,CAAC,CACtC,CACF,CAAC;YACF,QAAQ,CAAC,MAAM,CAAC,IAAI,CAAC,qBAAqB,CAAC,UAAU,CAAC,CAAC;YACvD,UAAU,CAAC,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;YAEjC,oBAAoB;YACpB,IAAI,YAAgC,CAAC;YACrC,IACE,qBAAqB,YAAY,uCAAuC,EACxE;gBACA,YAAY,GAAG,uCAAuC,CACpD,qBAAqB,CAAC,mBAAmB,EACzC;oBACE,4BAA4B,CAC1B,qBAAqB,CAAC,uBAAuB,CAAC,kBAAkB,EAChE,qBAAqB,CAAC,uBAAuB,CAAC,iBAAiB,
|
1
|
+
{"version":3,"file":"QueryBuilderProjectionValueSpecificationBuilder.js","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,uBAAuB,EACvB,0BAA0B,EAC1B,WAAW,EACX,4BAA4B,EAC5B,sBAAsB,EACtB,wBAAwB,EAExB,mCAAmC,EACnC,iCAAiC,EACjC,qBAAqB,EACrB,iCAAiC,EACjC,iBAAiB,EACjB,aAAa,GACd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,oBAAoB,EACpB,yBAAyB,GAC1B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,2CAA2C,EAC3C,uCAAuC,GACxC,MAAM,wCA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,iBAAiB,EAC/D,qBAAqB,CAAC,mBAAmB,CAC1C;iBACF,EACD,iBAAiB,CAAC,iBAAiB,CAAC,KAAK,CAC1C,CAAC;aACH;iBAAM,IACL,qBAAqB;gBACrB,2CAA2C,EAC3C;gBACA,YAAY,GAAG,IAAI,mCAAmC,CACpD,iCAAiC,CAC/B,qBAAqB,CACnB,qBAAqB,CAAC,MAAM,EAC5B,IAAI,iCAAiC;gBACnC,iDAAiD;gBACjD,EAAE,CACH;qBACE,6BAA6B,CAC5B,OAAO,CAAC,OAAO,EAAE,qBAAqB,CAAC,CACxC;qBACA,KAAK,EAAE,CACX,CACF,CACF,CAAC;aACH;iBAAM;gBACL,MAAM,IAAI,yBAAyB,CACjC,8EAA8E,EAC9E,qBAAqB,CACtB,CAAC;aACH;YACD,UAAU,CAAC,MAAM,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QACvC,CAAC,CAAC,CAAC;QACH,eAAe,CAAC,gBAAgB,GAAG;YACjC,mBAAmB;YACnB,UAAU;YACV,UAAU;SACX,CAAC;QACF,cAAc,CAAC,kBAAkB,CAAC,CAAC,CAAC,GAAG,eAAe,CAAC;KACxD;IAED,oBAAoB;IACpB,sBAAsB,CAAC,QAAQ,CAAC,gBAAgB,EAAE,cAAc,CAAC,CAAC;IAElE,oBAAoB;IACpB,gBAAgB,CAAC,QAAQ,CAAC,eAAe,EAAE,cAAc,CAAC,CAAC;IAE3D,6BAA6B;IAC7B,uBAAuB,CAAC,QAAQ,CAAC,sBAAsB,EAAE,cAAc,EAAE;QACvE,eAAe,EAAE,OAAO,EAAE,wBAAwB;YAChD,CAAC,CAAC,iBAAiB,CAAC,WAAW,CAAC,YAAY;YAC5C,CAAC,CAAC,SAAS;KACd,CAAC,CAAC;AACL,CAAC,CAAC"}
|
package/lib/stores/filter/operators/QueryBuilderFilterOperatorValueSpecificationBuilder.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderFilterOperatorValueSpecificationBuilder.d.ts","sourceRoot":"","sources":["../../../../src/stores/filter/operators/QueryBuilderFilterOperatorValueSpecificationBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,kBAAkB,EAMvB,wBAAwB,EAEzB,MAAM,qBAAqB,CAAC;AAO7B,OAAO,EACL,oBAAoB,EACpB,KAAK,uBAAuB,EAC7B,MAAM,+BAA+B,CAAC;AAGvC,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;
|
1
|
+
{"version":3,"file":"QueryBuilderFilterOperatorValueSpecificationBuilder.d.ts","sourceRoot":"","sources":["../../../../src/stores/filter/operators/QueryBuilderFilterOperatorValueSpecificationBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,kBAAkB,EAMvB,wBAAwB,EAEzB,MAAM,qBAAqB,CAAC;AAO7B,OAAO,EACL,oBAAoB,EACpB,KAAK,uBAAuB,EAC7B,MAAM,+BAA+B,CAAC;AAGvC,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AA8KnF,eAAO,MAAM,8BAA8B,yBACnB,oBAAoB,4BAChB,MAAM,KAC/B,kBAqBF,CAAC;AAkLF,eAAO,MAAM,yBAAyB,gBACvB,uBAAuB,cACxB,wBAAwB,4BACV,MAAM,YACtB,0BAA0B,2BAOnC,oBAAoB,GAAG,SA4EzB,CAAC"}
|
@@ -36,7 +36,7 @@ const buildFilterConditionExpressionWithExists = (filterConditionState, operator
|
|
36
36
|
assertTrue(filterConditionState.propertyExpressionState.requiresExistsHandling);
|
37
37
|
// 1. Decompose property expression
|
38
38
|
const expressions = [];
|
39
|
-
let currentPropertyExpression = buildPropertyExpressionChain(filterConditionState.propertyExpressionState.propertyExpression, filterConditionState.propertyExpressionState.queryBuilderState);
|
39
|
+
let currentPropertyExpression = buildPropertyExpressionChain(filterConditionState.propertyExpressionState.propertyExpression, filterConditionState.propertyExpressionState.queryBuilderState, filterConditionState.filterState.lambdaParameterName);
|
40
40
|
while (currentPropertyExpression instanceof AbstractPropertyExpression ||
|
41
41
|
(currentPropertyExpression instanceof SimpleFunctionExpression &&
|
42
42
|
matchFunctionName(currentPropertyExpression.functionName, QUERY_BUILDER_SUPPORTED_FUNCTIONS.SUBTYPE))) {
|
@@ -120,7 +120,7 @@ export const buildFilterConditionExpression = (filterConditionState, operatorFun
|
|
120
120
|
return buildFilterConditionExpressionWithExists(filterConditionState, operatorFunctionFullPath);
|
121
121
|
}
|
122
122
|
const expression = new SimpleFunctionExpression(extractElementNameFromPath(operatorFunctionFullPath));
|
123
|
-
const propertyExpression = buildPropertyExpressionChain(filterConditionState.propertyExpressionState.propertyExpression, filterConditionState.propertyExpressionState.queryBuilderState);
|
123
|
+
const propertyExpression = buildPropertyExpressionChain(filterConditionState.propertyExpressionState.propertyExpression, filterConditionState.propertyExpressionState.queryBuilderState, filterConditionState.filterState.lambdaParameterName);
|
124
124
|
expression.parametersValues.push(guaranteeNonNullable(propertyExpression));
|
125
125
|
// NOTE: there are simple operators which do not require any params (e.g. isEmpty)
|
126
126
|
if (filterConditionState.value) {
|
package/lib/stores/filter/operators/QueryBuilderFilterOperatorValueSpecificationBuilder.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderFilterOperatorValueSpecificationBuilder.js","sourceRoot":"","sources":["../../../../src/stores/filter/operators/QueryBuilderFilterOperatorValueSpecificationBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,0BAA0B,EAC1B,iBAAiB,EACjB,2BAA2B,EAC3B,kBAAkB,EAClB,0BAA0B,EAC1B,wBAAwB,EACxB,YAAY,GACb,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,aAAa,EACb,oBAAoB,EACpB,UAAU,EACV,+BAA+B,GAChC,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,oBAAo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OAAO,SAAS,CAAC;AACnB,CAAC,CAAC"}
|
1
|
+
{"version":3,"file":"QueryBuilderFilterOperatorValueSpecificationBuilder.js","sourceRoot":"","sources":["../../../../src/stores/filter/operators/QueryBuilderFilterOperatorValueSpecificationBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,0BAA0B,EAC1B,iBAAiB,EACjB,2BAA2B,EAC3B,kBAAkB,EAClB,0BAA0B,EAC1B,wBAAwB,EACxB,YAAY,GACb,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,aAAa,EACb,oBAAoB,EACpB,UAAU,EACV,+BAA+B,GAChC,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,oBAAoB,GAErB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,iCAAiC,EAAE,MAAM,yDAAyD,CAAC;AAC5G,OAAO,EAAE,uCAAuC,EAAE,MAAM,+CAA+C,CAAC;AAExG,OAAO,EAAE,4BAA4B,EAAE,MAAM,sDAAsD,CAAC;AAEpG,MAAM,kCAAkC,GAAG,CACzC,kBAA8C,EAC1B,EAAE;IACtB,IAAI,iBAAiB,GAAuB,kBAAkB,CAAC;IAC/D,OAAO,iBAAiB,YAAY,0BAA0B,EAAE;QAC9D,iBAAiB,GAAG,oBAAoB,CACtC,iBAAiB,CAAC,gBAAgB,CAAC,CAAC,CAAC,CACtC,CAAC;QACF,oGAAoG;QACpG,kDAAkD;QAClD,OACE,iBAAiB,YAAY,wBAAwB;YACrD,iBAAiB,CACf,iBAAiB,CAAC,YAAY,EAC9B,iCAAiC,CAAC,OAAO,CAC1C,EACD;YACA,iBAAiB,GAAG,oBAAoB,CACtC,iBAAiB,CAAC,gBAAgB,CAAC,CAAC,CAAC,CACtC,CAAC;SACH;KACF;IACD,OAAO,aAAa,CAAC,iBAAiB,EAAE,kBAAkB,CAAC,CAAC;AAC9D,CAAC,CAAC;AAEF,MAAM,wCAAwC,GAAG,CAC/C,oBAA0C,E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,oBAAoB,IAAI,0BAA0B,EAAE;QACtD,UAAU,CACR,QAAQ,CAAC,uCAAuC,CAAC,oBAAoB,CAAC,EACtE,iBAAiB,0BAA0B,CACzC,wBAAwB,CACzB,yDAAyD,CAC3D,CAAC;QACF,oBAAoB,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC;QAC3C,oBAAoB,CAAC,QAAQ,CAC3B,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,0BAA0B,CAAC,gBAAgB,CAAC,CAAC,CAAC,CACxE,CAAC;QACF,IAAI,CAAC,QAAQ,CAAC,oCAAoC,CAAC,oBAAoB,CAAC,EAAE;YACxE,oBAAoB,CAAC,QAAQ,CAC3B,QAAQ,CAAC,8BAA8B,CAAC,oBAAoB,CAAC,CAC9D,CAAC;SACH;QACD,OAAO,oBAAoB,CAAC;KAC7B;IACD,OAAO,SAAS,CAAC;AACnB,CAAC,CAAC"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@finos/legend-query-builder",
|
3
|
-
"version": "0.4.
|
3
|
+
"version": "0.4.3",
|
4
4
|
"description": "Legend query builder core",
|
5
5
|
"keywords": [
|
6
6
|
"legend",
|
@@ -44,9 +44,9 @@
|
|
44
44
|
"@ag-grid-community/client-side-row-model": "28.2.1",
|
45
45
|
"@ag-grid-community/core": "28.2.1",
|
46
46
|
"@ag-grid-community/react": "28.2.1",
|
47
|
-
"@finos/legend-application": "10.0.
|
47
|
+
"@finos/legend-application": "10.0.7",
|
48
48
|
"@finos/legend-art": "5.0.4",
|
49
|
-
"@finos/legend-graph": "20.0.
|
49
|
+
"@finos/legend-graph": "20.0.1",
|
50
50
|
"@finos/legend-server-depot": "4.1.5",
|
51
51
|
"@finos/legend-shared": "6.2.1",
|
52
52
|
"@finos/legend-storage": "3.0.16",
|
@@ -51,6 +51,10 @@ export const QueryBuilderNavigationBlocker = observer(
|
|
51
51
|
],
|
52
52
|
});
|
53
53
|
},
|
54
|
+
() =>
|
55
|
+
applicationStore.notifyWarning(
|
56
|
+
`Navigation from the query builder is blocked`,
|
57
|
+
),
|
54
58
|
);
|
55
59
|
return (): void => {
|
56
60
|
applicationStore.navigator.unblockNavigation();
|
@@ -14,7 +14,6 @@
|
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
16
|
|
17
|
-
import { useState } from 'react';
|
18
17
|
import { observer } from 'mobx-react-lite';
|
19
18
|
import type { QueryBuilderState } from '../stores/QueryBuilderState.js';
|
20
19
|
import {
|
@@ -40,11 +39,12 @@ import {
|
|
40
39
|
} from '../stores/QueryBuilderParametersState.js';
|
41
40
|
import {
|
42
41
|
type Type,
|
43
|
-
MULTIPLICITY_INFINITE,
|
44
42
|
VariableExpression,
|
45
43
|
GenericTypeExplicitReference,
|
46
44
|
GenericType,
|
47
45
|
PrimitiveType,
|
46
|
+
Multiplicity,
|
47
|
+
getMultiplicityPrettyDescription,
|
48
48
|
} from '@finos/legend-graph';
|
49
49
|
import {
|
50
50
|
type PackageableElementOption,
|
@@ -55,10 +55,22 @@ import {
|
|
55
55
|
import { useDrag } from 'react-dnd';
|
56
56
|
import { generateEnumerableNameFromToken } from '@finos/legend-shared';
|
57
57
|
import { DEFAULT_VARIABLE_NAME } from '../stores/QueryBuilderConfig.js';
|
58
|
-
import {
|
58
|
+
import {
|
59
|
+
valueSpecification_setMultiplicity,
|
60
|
+
variableExpression_setName,
|
61
|
+
} from '../stores/shared/ValueSpecificationModifierHelper.js';
|
59
62
|
import { LambdaParameterState } from '../stores/shared/LambdaParameterState.js';
|
60
63
|
import { LambdaParameterValuesEditor } from './shared/LambdaParameterValuesEditor.js';
|
61
64
|
|
65
|
+
type MultiplicityOption = { label: string; value: Multiplicity };
|
66
|
+
|
67
|
+
const buildMultiplicityOption = (
|
68
|
+
multiplicity: Multiplicity,
|
69
|
+
): MultiplicityOption => ({
|
70
|
+
label: getMultiplicityPrettyDescription(multiplicity),
|
71
|
+
value: multiplicity,
|
72
|
+
});
|
73
|
+
|
62
74
|
const VariableExpressionEditor = observer(
|
63
75
|
(props: {
|
64
76
|
queryBuilderState: QueryBuilderState;
|
@@ -89,6 +101,7 @@ const VariableExpressionEditor = observer(
|
|
89
101
|
const variableType =
|
90
102
|
lambdaParameterState.variableType ?? PrimitiveType.STRING;
|
91
103
|
const selectedType = buildElementOption(variableType);
|
104
|
+
const selectedMultiplicity = buildMultiplicityOption(multiplity);
|
92
105
|
const typeOptions: PackageableElementOption<Type>[] =
|
93
106
|
queryBuilderState.graphManagerState.graph.primitiveTypes
|
94
107
|
.map(buildElementOption)
|
@@ -104,37 +117,16 @@ const VariableExpressionEditor = observer(
|
|
104
117
|
};
|
105
118
|
|
106
119
|
// multiplicity
|
107
|
-
const
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
multiplity.upperBound === undefined
|
118
|
-
? MULTIPLICITY_INFINITE
|
119
|
-
: multiplity.upperBound.toString(),
|
120
|
-
);
|
121
|
-
const changeUpperBound: React.ChangeEventHandler<HTMLInputElement> = (
|
122
|
-
event,
|
123
|
-
) => {
|
124
|
-
const value = event.target.value;
|
125
|
-
if (
|
126
|
-
value === MULTIPLICITY_INFINITE ||
|
127
|
-
value === '' ||
|
128
|
-
!isNaN(parseInt(value, 10))
|
129
|
-
) {
|
130
|
-
lambdaParameterState.changeMultiplicity(
|
131
|
-
varState,
|
132
|
-
multiplity.lowerBound,
|
133
|
-
value === MULTIPLICITY_INFINITE || value === ''
|
134
|
-
? undefined
|
135
|
-
: parseInt(value, 10),
|
136
|
-
);
|
137
|
-
setUppBound(value);
|
120
|
+
const validParamMultiplicityList = [
|
121
|
+
Multiplicity.ONE,
|
122
|
+
Multiplicity.ZERO_ONE,
|
123
|
+
Multiplicity.ZERO_MANY,
|
124
|
+
];
|
125
|
+
const multilicityOptions: MultiplicityOption[] =
|
126
|
+
validParamMultiplicityList.map(buildMultiplicityOption);
|
127
|
+
const changeMultiplicity = (val: MultiplicityOption): void => {
|
128
|
+
if (multiplity !== val.value) {
|
129
|
+
valueSpecification_setMultiplicity(varState, val.value);
|
138
130
|
}
|
139
131
|
};
|
140
132
|
|
@@ -202,19 +194,17 @@ const VariableExpressionEditor = observer(
|
|
202
194
|
The multiplity determines how many values a parameter can have.
|
203
195
|
Default is set to mandatory single vlue.
|
204
196
|
</div>
|
205
|
-
<
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
value={
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
value={upperBound}
|
217
|
-
onChange={changeUpperBound}
|
197
|
+
<CustomSelectorInput
|
198
|
+
placeholder="Choose a multiplicity..."
|
199
|
+
options={multilicityOptions}
|
200
|
+
onChange={changeMultiplicity}
|
201
|
+
value={selectedMultiplicity}
|
202
|
+
hasError={
|
203
|
+
!validParamMultiplicityList.includes(
|
204
|
+
selectedMultiplicity.value,
|
205
|
+
)
|
206
|
+
}
|
207
|
+
darkMode={!applicationStore.TEMPORARY__isLightThemeEnabled}
|
218
208
|
/>
|
219
209
|
</div>
|
220
210
|
</ModalBody>
|
@@ -23,6 +23,7 @@ import {
|
|
23
23
|
matchFunctionName,
|
24
24
|
MILESTONING_STEREOTYPE,
|
25
25
|
SimpleFunctionExpression,
|
26
|
+
VariableExpression,
|
26
27
|
type ValueSpecification,
|
27
28
|
} from '@finos/legend-graph';
|
28
29
|
import {
|
@@ -133,6 +134,7 @@ const isDefaultDatePropagationSupported = (
|
|
133
134
|
export const buildPropertyExpressionChain = (
|
134
135
|
propertyExpression: AbstractPropertyExpression,
|
135
136
|
queryBuilderState: QueryBuilderState,
|
137
|
+
lambdaParameterName: string,
|
136
138
|
/**
|
137
139
|
* As of now, we don't support date propagation for aggregation-class functions
|
138
140
|
* so we have this temporary flag to disable date propagation, there could be other
|
@@ -223,6 +225,11 @@ export const buildPropertyExpressionChain = (
|
|
223
225
|
);
|
224
226
|
}
|
225
227
|
}
|
228
|
+
|
229
|
+
// Update the root lambda name based on the parent's lambda parameter name.
|
230
|
+
if (currentExpression instanceof VariableExpression) {
|
231
|
+
currentExpression.name = lambdaParameterName;
|
232
|
+
}
|
226
233
|
return newPropertyExpression;
|
227
234
|
};
|
228
235
|
|
package/src/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.ts
CHANGED
@@ -225,6 +225,7 @@ export const appendProjection = (
|
|
225
225
|
buildPropertyExpressionChain(
|
226
226
|
projectionColumnState.propertyExpressionState.propertyExpression,
|
227
227
|
projectionColumnState.propertyExpressionState.queryBuilderState,
|
228
|
+
projectionColumnState.lambdaParameterName,
|
228
229
|
true,
|
229
230
|
),
|
230
231
|
],
|
@@ -325,6 +326,7 @@ export const appendProjection = (
|
|
325
326
|
buildPropertyExpressionChain(
|
326
327
|
projectionColumnState.propertyExpressionState.propertyExpression,
|
327
328
|
projectionColumnState.propertyExpressionState.queryBuilderState,
|
329
|
+
projectionColumnState.lambdaParameterName,
|
328
330
|
),
|
329
331
|
],
|
330
332
|
queryBuilderState.graphManagerState.graph,
|
@@ -78,6 +78,7 @@ const buildFilterConditionExpressionWithExists = (
|
|
78
78
|
buildPropertyExpressionChain(
|
79
79
|
filterConditionState.propertyExpressionState.propertyExpression,
|
80
80
|
filterConditionState.propertyExpressionState.queryBuilderState,
|
81
|
+
filterConditionState.filterState.lambdaParameterName,
|
81
82
|
);
|
82
83
|
while (
|
83
84
|
currentPropertyExpression instanceof AbstractPropertyExpression ||
|
@@ -225,6 +226,7 @@ export const buildFilterConditionExpression = (
|
|
225
226
|
const propertyExpression = buildPropertyExpressionChain(
|
226
227
|
filterConditionState.propertyExpressionState.propertyExpression,
|
227
228
|
filterConditionState.propertyExpressionState.queryBuilderState,
|
229
|
+
filterConditionState.filterState.lambdaParameterName,
|
228
230
|
);
|
229
231
|
expression.parametersValues.push(guaranteeNonNullable(propertyExpression));
|
230
232
|
// NOTE: there are simple operators which do not require any params (e.g. isEmpty)
|