@finos/legend-query-builder 3.2.2 → 3.2.4
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/components/QueryBuilder_LegendApplicationPlugin.d.ts.map +1 -1
- package/lib/components/QueryBuilder_LegendApplicationPlugin.js +7 -2
- package/lib/components/QueryBuilder_LegendApplicationPlugin.js.map +1 -1
- package/lib/components/data-access/DataAccessOverview.js +2 -2
- package/lib/components/data-access/DataAccessOverview.js.map +1 -1
- package/lib/index.css +0 -16
- package/lib/package.json +3 -3
- package/lib/stores/QueryBuilder_LegendApplicationPlugin_Extension.d.ts +2 -2
- package/lib/stores/QueryBuilder_LegendApplicationPlugin_Extension.d.ts.map +1 -1
- package/lib/stores/data-access/DataAccessState.d.ts +9 -5
- package/lib/stores/data-access/DataAccessState.d.ts.map +1 -1
- package/lib/stores/data-access/DataAccessState.js +10 -6
- package/lib/stores/data-access/DataAccessState.js.map +1 -1
- package/lib/stores/entitlements/QueryBuilderCheckEntitlementsState.d.ts.map +1 -1
- package/lib/stores/entitlements/QueryBuilderCheckEntitlementsState.js +5 -5
- package/lib/stores/entitlements/QueryBuilderCheckEntitlementsState.js.map +1 -1
- package/lib/stores/fetch-structure/tds/window/QueryBuilderWindowState.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/window/QueryBuilderWindowState.js +2 -0
- package/lib/stores/fetch-structure/tds/window/QueryBuilderWindowState.js.map +1 -1
- package/package.json +7 -7
- package/src/components/QueryBuilder_LegendApplicationPlugin.ts +10 -2
- package/src/components/data-access/DataAccessOverview.tsx +2 -2
- package/src/stores/QueryBuilder_LegendApplicationPlugin_Extension.ts +8 -2
- package/src/stores/data-access/DataAccessState.ts +30 -15
- package/src/stores/entitlements/QueryBuilderCheckEntitlementsState.ts +8 -30
- package/src/stores/fetch-structure/tds/window/QueryBuilderWindowState.ts +4 -0
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilder_LegendApplicationPlugin.d.ts","sourceRoot":"","sources":["../../src/components/QueryBuilder_LegendApplicationPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAEH,OAAO,EAGL,uBAAuB,EACvB,KAAK,yBAAyB,EAC9B,KAAK,uBAAuB,EAC5B,KAAK,8BAA8B,EACnC,KAAK,sBAAsB,EAC5B,MAAM,2BAA2B,CAAC;AAInC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAIxE,MAAM,MAAM,4BAA4B,GAAG,CACzC,iBAAiB,EAAE,iBAAiB,KACjC,KAAK,CAAC,SAAS,GAAG,SAAS,CAAC;AAEjC,qBAAa,oCAAqC,SAAQ,uBAAuB;IAC/E,MAAM,CAAC,IAAI,SAA4C;;IAMvD,OAAO,CACL,aAAa,EAAE,8BAA8B,CAAC,uBAAuB,CAAC,GACrE,IAAI;IAIE,yBAAyB,IAAI,sBAAsB,EAAE;
|
1
|
+
{"version":3,"file":"QueryBuilder_LegendApplicationPlugin.d.ts","sourceRoot":"","sources":["../../src/components/QueryBuilder_LegendApplicationPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAEH,OAAO,EAGL,uBAAuB,EACvB,KAAK,yBAAyB,EAC9B,KAAK,uBAAuB,EAC5B,KAAK,8BAA8B,EACnC,KAAK,sBAAsB,EAC5B,MAAM,2BAA2B,CAAC;AAInC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAIxE,MAAM,MAAM,4BAA4B,GAAG,CACzC,iBAAiB,EAAE,iBAAiB,KACjC,KAAK,CAAC,SAAS,GAAG,SAAS,CAAC;AAEjC,qBAAa,oCAAqC,SAAQ,uBAAuB;IAC/E,MAAM,CAAC,IAAI,SAA4C;;IAMvD,OAAO,CACL,aAAa,EAAE,8BAA8B,CAAC,uBAAuB,CAAC,GACrE,IAAI;IAIE,yBAAyB,IAAI,sBAAsB,EAAE;IAmBrD,iCAAiC,IAAI,uBAAuB,EAAE;IAM9D,mCAAmC,IAAI,yBAAyB,EAAE;CAK5E"}
|
@@ -18,7 +18,7 @@ import packageJson from '../../package.json';
|
|
18
18
|
import { QUERY_BUILDER_SETTING_CONFIG } from '../__lib__/QueryBuilderSetting.js';
|
19
19
|
import { QUERY_BUILDER_COMMAND_CONFIG } from '../stores/QueryBuilderCommand.js';
|
20
20
|
import { configureDataGridComponent } from '@finos/legend-lego/data-grid';
|
21
|
-
import { Chart as ChartJS, ArcElement, Tooltip } from 'chart.js';
|
21
|
+
import { Chart as ChartJS, ArcElement, Tooltip, LinearScale } from 'chart.js';
|
22
22
|
class QueryBuilder_LegendApplicationPlugin extends LegendApplicationPlugin {
|
23
23
|
static NAME = packageJson.extensions.applicationPlugin;
|
24
24
|
constructor() {
|
@@ -32,7 +32,12 @@ class QueryBuilder_LegendApplicationPlugin extends LegendApplicationPlugin {
|
|
32
32
|
async (applicationStore) => {
|
33
33
|
configureDataGridComponent();
|
34
34
|
// configure chart component
|
35
|
-
ChartJS.register(ArcElement, Tooltip
|
35
|
+
ChartJS.register(ArcElement, Tooltip,
|
36
|
+
// NOTE: this is a workaround for a production bundle problem where LinearScale seems to be required
|
37
|
+
// in only production build
|
38
|
+
// See https://github.com/chartjs/Chart.js/issues/10895
|
39
|
+
// See https://github.com/chartjs/Chart.js/issues/11157#issue-1592988375
|
40
|
+
LinearScale);
|
36
41
|
},
|
37
42
|
];
|
38
43
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilder_LegendApplicationPlugin.js","sourceRoot":"","sources":["../../src/components/QueryBuilder_LegendApplicationPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,0CAA0C,EAC1C,4CAA4C,EAC5C,uBAAuB,GAKxB,MAAM,2BAA2B,CAAC;AACnC,OAAO,WAAW,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AACjF,OAAO,EAAE,4BAA4B,EAAE,MAAM,kCAAkC,CAAC;AAEhF,OAAO,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAC1E,OAAO,EAAE,KAAK,IAAI,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;
|
1
|
+
{"version":3,"file":"QueryBuilder_LegendApplicationPlugin.js","sourceRoot":"","sources":["../../src/components/QueryBuilder_LegendApplicationPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,0CAA0C,EAC1C,4CAA4C,EAC5C,uBAAuB,GAKxB,MAAM,2BAA2B,CAAC;AACnC,OAAO,WAAW,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AACjF,OAAO,EAAE,4BAA4B,EAAE,MAAM,kCAAkC,CAAC;AAEhF,OAAO,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAC1E,OAAO,EAAE,KAAK,IAAI,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAM9E,MAAa,oCAAqC,SAAQ,uBAAuB;IAC/E,MAAM,CAAC,IAAI,GAAG,WAAW,CAAC,UAAU,CAAC,iBAAiB,CAAC;IAEvD;QACE,KAAK,CAAC,oCAAoC,CAAC,IAAI,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IACxE,CAAC;IAED,OAAO,CACL,aAAsE;QAEtE,aAAa,CAAC,yBAAyB,CAAC,IAAI,CAAC,CAAC;IAChD,CAAC;IAEQ,yBAAyB;QAChC,OAAO;YACL,KAAK,EAAE,gBAAgB,EAAE,EAAE;gBACzB,0BAA0B,EAAE,CAAC;gBAE7B,4BAA4B;gBAC5B,OAAO,CAAC,QAAQ,CACd,UAAU,EACV,OAAO;gBACP,oGAAoG;gBACpG,2BAA2B;gBAC3B,uDAAuD;gBACvD,wEAAwE;gBACxE,WAAW,CACZ,CAAC;YACJ,CAAC;SACF,CAAC;IACJ,CAAC;IAEQ,iCAAiC;QACxC,OAAO,0CAA0C,CAC/C,4BAA4B,CAC7B,CAAC;IACJ,CAAC;IAEQ,mCAAmC;QAC1C,OAAO,4CAA4C,CACjD,4BAA4B,CAC7B,CAAC;IACJ,CAAC;;SA1CU,oCAAoC"}
|
@@ -64,7 +64,7 @@ const DataAccessOverviewChart = observer((props) => {
|
|
64
64
|
} }), _jsxs("div", { className: "data-access-overview__chart__stats", children: [_jsxs("div", { className: "data-access-overview__chart__stats__percentage", children: [accessGrantedPercentage, "%"] }), _jsxs("div", { className: "data-access-overview__chart__stats__tally", children: [total === 0 ? 0 : accessGrantedCount, "/", total] })] })] })] }));
|
65
65
|
});
|
66
66
|
const AccessStatusCellRenderer = observer((params) => {
|
67
|
-
const { data } = params;
|
67
|
+
const { data, dataAccessState } = params;
|
68
68
|
const applicationStore = useApplicationStore();
|
69
69
|
if (!data) {
|
70
70
|
return null;
|
@@ -85,7 +85,7 @@ const AccessStatusCellRenderer = observer((params) => {
|
|
85
85
|
[]);
|
86
86
|
let action;
|
87
87
|
for (const plugin of plugins) {
|
88
|
-
action = plugin.renderer(data);
|
88
|
+
action = plugin.renderer(data, dataAccessState);
|
89
89
|
if (action) {
|
90
90
|
break;
|
91
91
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DataAccessOverview.js","sourceRoot":"","sources":["../../../src/components/data-access/DataAccessOverview.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAKhE,OAAO,EACL,eAAe,EACf,qBAAqB,EACrB,eAAe,EACf,qBAAqB,EACrB,WAAW,EACX,eAAe,EACf,IAAI,GACL,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,QAAQ,GAET,MAAM,8BAA8B,CAAC;A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BAAoB,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC;oCACzD,eAAe,EAAE,oBAAoB,CAAC,IAAI,CAAC,GAAG,CAC5C,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,KAAK,CACrB;oCACD,gBAAgB,EAAE,CAAC;oCACnB,WAAW,EAAE,CAAC;iCACf;6BACF;yBACF,EACD,OAAO,EAAE;4BACP,UAAU,EAAE,IAAI;4BAChB,WAAW,EAAE,CAAC;4BACd,mBAAmB,EAAE,KAAK;4BAC1B,MAAM,EAAE,KAAK;4BACb,OAAO,EAAE;gCACP,OAAO,EAAE;oCACP,OAAO,EAAE,KAAK,KAAK,CAAC;oCACpB,aAAa,EAAE,KAAK;oCACpB,UAAU,EAAE,CAAC;oCACb,SAAS,EAAE;wCACT,eAAe,EAAE,GAAG,EAAE,CAAC,CAAC;4CACtB,UAAU,EAAE,aAAa;4CACzB,QAAQ,EAAE,CAAC;yCACZ,CAAC;qCACH;iCACF;6BACF;yBACF,GACD,EACF,eAAK,SAAS,EAAC,oCAAoC,aACjD,eAAK,SAAS,EAAC,gDAAgD,aAC5D,uBAAuB,SACpB,EACN,eAAK,SAAS,EAAC,2CAA2C,aACvD,KAAK,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,kBAAkB,OAAG,KAAK,IACzC,IACF,IACF,IACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,wBAAwB,GAAG,QAAQ,CACvC,CACE,MAEC,EACD,EAAE;IACF,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,CAAC;
|
1
|
+
{"version":3,"file":"DataAccessOverview.js","sourceRoot":"","sources":["../../../src/components/data-access/DataAccessOverview.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EAAE,QAAQ,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AE,CAAC;iBACR;gBACD;oBACE,QAAQ,EAAE,EAAE;oBACZ,QAAQ,EAAE,IAAI;oBACd,SAAS,EAAE,IAAI;oBACf,UAAU,EAAE,eAAe;oBAC3B,kBAAkB,EAAE;wBAClB,eAAe;qBAChB;oBACD,YAAY,EAAE,wBAAwB;oBACtC,IAAI,EAAE,CAAC;iBACR;aACF,GACD,GACE,CACP,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,CAAC,MAAM,kBAAkB,GAAG,QAAQ,CACxC,CAAC,KAGA,EAAE,EAAE;IACH,MAAM,EAAE,eAAe,EAAE,OAAO,EAAE,GAAG,KAAK,CAAC;IAC3C,MAAM,gBAAgB,GAAG,mBAAmB,EAAE,CAAC;IAE/C,SAAS,CAAC,GAAG,EAAE;QACb,eAAe,CAAC,SAAS,EAAE,CAAC,KAAK,CAAC,gBAAgB,CAAC,mBAAmB,CAAC,CAAC;IAC1E,CAAC,EAAE,CAAC,gBAAgB,EAAE,eAAe,CAAC,CAAC,CAAC;IAExC,OAAO,CACL,eACE,SAAS,EAAE,IAAI,CAAC,sBAAsB,EAAE;YACtC,+BAA+B,EAAE,OAAO,CAAC,OAAO,CAAC;SAClD,CAAC,aAEF,KAAC,qBAAqB,IACpB,SAAS,EACP,eAAe,CAAC,mBAAmB,CAAC,YAAY;oBAChD,eAAe,CAAC,sBAAsB,CAAC,YAAY,GAErD,EACF,KAAC,uBAAuB,IAAC,eAAe,EAAE,eAAe,GAAI,EAC7D,KAAC,sBAAsB,IAAC,eAAe,EAAE,eAAe,GAAI,IACxD,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
package/lib/index.css
CHANGED
@@ -1,17 +1 @@
|
|
1
|
-
/** @license @finos/legend-query-builder v3.2.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
|
.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);color:var(--color-white);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__variable__info svg{color:var(--color-light-grey-400)}.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__variable{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__variable__draggable{cursor:pointer}.value-spec-editor__variable__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__variable__label{display:flex;align-items:center;user-select:none;justify-content:space-between;width:100%}.value-spec-editor__variable__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__variable__info{display:flex;align-items:center;justify-content:center;cursor:help;height:2rem;width:2rem}.value-spec-editor__variable__reset-btn{display:flex;align-items:center;justify-content:center;height:2rem;width:2rem;margin-right:.5rem}.value-spec-editor__variable__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__number__input-container{display:flex;width:100%;height:2.8rem;position:relative}.value-spec-editor__number__input{padding-right:2.8rem}.value-spec-editor__number__actions{position:absolute;right:0}.value-spec-editor__number__action{display:flex;align-items:center;justify-content:center;flex-grow:0;flex-shrink:0;height:2.8rem;width:2.8rem}.value-spec-editor__number__action svg{font-size:1.8rem;color:var(--color-light-grey-400)}.value-spec-editor__number__action:hover svg{color:var(--color-light-grey-200)}.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__expand-button{display:flex;align-items:center;justify-content:center;height:2.8rem;min-width:2.8rem}.value-spec-editor__list-editor__expand-button svg{font-size:1.2rem}.value-spec-editor__list-editor__textarea{height:50vh}.value-spec-editor__list-editor__textarea__description{color:var(--color-light-grey-400);font-size:1.2rem;font-weight:400}.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);color:var(--color-light-grey-100)}.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-loader{height:100%}.query-loader__header{padding:1rem;height:9.2rem;border-bottom:.1rem solid var(--color-dark-grey-200)}.query-loader__filter{height:2.8rem;margin-top:1rem}.query-loader__filter__toggler{display:flex;align-items:center}.query-loader__filter__extra__filters{display:flex;margin-left:.5rem}.query-loader__filter__toggler__btn{display:flex;align-items:center;justify-content:center;height:2.8rem;align-self:flex-start;border-radius:.2rem;padding:0 .5rem;font-size:1.2rem;border:.1rem solid var(--color-dark-grey-200);color:var(--color-light-grey-400);line-height:2rem;cursor:pointer}.query-loader__filter__toggler__btn+.query-loader__filter__toggler__btn{margin-left:.5rem}.query-loader__filter__toggler__btn:hover{border-color:var(--color-dark-grey-250);background:var(--color-dark-grey-100)}.query-loader__filter__toggler__btn--toggled:hover,.query-loader__filter__toggler__btn--toggled{border-color:var(--color-blue-200);color:var(--color-light-grey-50)}.query-loader__search{display:flex;align-items:center;justify-content:center;position:relative}.query-loader__search__input{height:3.4rem;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-loader__search__input__container{display:flex;align-items:center;justify-content:center;position:relative;height:3.4rem;width:100%}.query-loader__search__input--searching{padding-right:5.6rem}.query-loader__search__input__search__icon{display:flex;align-items:center;justify-content:center;position:absolute;right:.2rem;height:2.8rem;width:2.8rem}.query-loader__search__input__search__icon svg{color:var(--color-light-shade-100)}.query-loader__search__input__clear-btn{display:flex;align-items:center;justify-content:center;position:absolute;right:.2rem;height:2.8rem;width:2.8rem}.query-loader__search__input__clear-btn svg{color:var(--color-dark-grey-400)}.query-loader__search__input__clear-btn:hover svg{color:var(--color-dark-grey-500)}.query-loader__content{height:calc(100% - 9.2rem);position:relative}.query-loader__results{padding:.5rem;height:100%;overflow-y:overlay}.query-loader__results__summary{display:flex;align-items:center;font-size:1.2rem;height:2rem;margin-bottom:.5rem;color:var(--color-dark-grey-400);padding:0 .5rem;user-select:none}.query-loader__results__summary__info{font-size:1.2rem;margin-left:.5rem}.query-loader__result{display:flex;width:100%;height:5.4rem;padding:.5rem 0;border-radius:.2rem;cursor:pointer;border:.1rem solid var(--color-dark-grey-200);background:var(--color-dark-grey-100)}.query-loader__result:hover{background:var(--color-dark-grey-200)}.query-loader__result+.query-loader__result{margin-top:.5rem}.query-loader__result__content{width:calc(100% - 5rem);text-align:start}.query-loader__result__title{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;word-break:break-word;text-align:left;height:2.2rem;line-height:2.2rem;width:80%;padding:0 1rem;color:var(--color-light-grey-300);font-weight:500}.query-loader__result__title__editor{display:flex;padding:0 1rem}.query-loader__result__title__editor__input{width:80%;padding:.5rem;height:2.2rem}.query-loader__result__title__editor__actions{display:flex;margin-left:.5rem}.query-loader__result__title__editor__save-btn,.query-loader__result__title__editor__cancel-btn{font-size:1.2rem;height:2.2rem}.query-loader__result__title__editor__save-btn[disabled],.query-loader__result__title__editor__cancel-btn[disabled]{cursor:not-allowed}.query-loader__result__title__editor__cancel-btn{background:var(--color-dark-grey-100);border:.1rem solid var(--color-dark-grey-300)}.query-loader__result__title__editor__cancel-btn:hover{background:var(--color-dark-grey-250)}.query-loader__result__description{display:flex;align-items:center;padding:0 1rem;height:2.2rem;color:var(--color-dark-grey-500)}.query-loader__result__description__date__icon svg{font-size:1.2rem}.query-loader__result__description__date{margin-right:1rem;font-size:1.1rem;min-width:10.5rem;margin-left:.5rem}.query-loader__result__description__author__icon svg{font-size:1rem}.query-loader__result__description__author__name{margin-left:.5rem;color:var(--color-light-grey-500);font-size:1.1rem}.query-loader__result__description__owner{display:flex;align-items:center;justify-content:center;padding:0 .5rem;height:1.4rem;font-size:1rem;font-weight:500;color:var(--color-light-grey-50);border-radius:.2rem;background:var(--color-blue-50)}.query-loader__result__actions-menu{display:flex;align-items:center;justify-content:center;height:100%;width:2.5rem;cursor:pointer;color:var(--color-dark-grey-300)}.query-loader__result__actions-menu svg{font-size:1.6rem}.query-loader__result__actions-menu:hover svg{color:var(--color-dark-grey-400)}.query-loader__result__arrow{display:flex;align-items:center;justify-content:center;height:100%;width:2.5rem;color:var(--color-dark-grey-280)}.query-loader__dialog{margin:2vh 0}.query-loader__dialog__container{display:flex;align-items:center;justify-content:center;height:100%;width:100%}.query-loader__dialog__body{height:100%;width:60rem}.query-loader__dialog__body__content{height:100%;overflow:hidden}.query-loader__dialog__header{display:flex;align-items:center;justify-content:space-between;height:3.4rem;padding:0 1rem}.query-loader__dialog__header__close-btn{color:var(--color-light-grey-300)}.query-loader__dialog__content{height:calc(100% - 3.4rem)}.execution-plan-viewer{height:100%;width:100%}.execution-plan-viewer__content{height:100%;width:100%}.execution-plan-viewer__debug-panel{background:var(--color-dark-grey-50)}.execution-plan-viewer__debug-panel .panel__header{background:var(--color-dark-grey-250)}.execution-plan-viewer__debug-panel .panel__content{position:relative;background:var(--color-dark-grey-50)}.execution-plan-viewer__close-btn{border-color:var(--color-blue-200);background:var(--color-blue-300)}.execution-plan-viewer .panel{height:100%}.execution-plan-viewer .panel__header{color:var(--color-light-grey-400);font-weight:bold;background:var(--color-dark-grey-50)}.execution-plan-viewer .panel__header__title{max-width:calc(100% - 11rem)}.execution-plan-viewer .panel__main-header{color:var(--color-light-grey-400);font-weight:bold;background:var(--color-dark-grey-250)}.execution-plan-viewer .panel__content{position:relative;height:calc(100% - 3rem);width:100%;background:var(--color-dark-grey-50);overflow-y:hidden}.execution-plan-viewer .panel__content ::-webkit-scrollbar-thumb{background:var(--color-dark-grey-400)}.execution-plan-viewer .panel__content>div:first-child{margin-top:0}.execution-plan-viewer .panel__content__lists{height:100%;width:100%;padding:1rem;overflow:overlay}.execution-plan-viewer__tabs__header{padding-left:0}.execution-plan-viewer__tabs{height:2.8rem;z-index:1;display:flex;overflow-x:overlay;overflow-y:hidden}.execution-plan-viewer__tab{height:100%;display:inline-flex;align-items:center;justify-content:center;padding:0 1rem;border-right:.1rem solid var(--color-dark-grey-200);white-space:nowrap;cursor:pointer}.execution-plan-viewer__tab--active{color:var(--color-dark-grey-50);position:relative}.execution-plan-viewer__tab--active::after{content:"";height:.4rem;width:100%;position:absolute;bottom:0;background:var(--color-yellow-200)}.execution-plan-viewer__panel{height:100%;width:100%}.execution-plan-viewer__panel__content{overflow-y:hidden;position:relative;background:var(--color-dark-grey-50);height:calc(100% - 3.4rem)}.execution-plan-viewer__panel__header{background:var(--color-dark-grey-100);z-index:1;height:3.4rem;min-height:3.4rem;padding:0}.execution-plan-viewer__panel__header__tabs{display:flex;height:100%;overflow-x:overlay}.execution-plan-viewer__panel__header__tab{display:flex;align-items:center;padding:0 1rem;cursor:pointer;color:var(--color-light-grey-400);background:var(--color-dark-grey-80);border-right:.1rem solid var(--color-dark-grey-80)}.execution-plan-viewer__panel__header__tab--active{color:var(--color-light-grey-100);background:var(--color-dark-grey-50)}.execution-plan-viewer__panel__header__tab__content{display:flex;align-items:center;height:100%;width:100%}.execution-plan-viewer__panel__header__tab__icon{margin-right:.5rem}.execution-plan-viewer__panel__header__tab__label{color:inherit;padding:0 .5rem;white-space:nowrap}.execution-plan-viewer__panel__view-mode__type{display:flex;align-items:center;justify-content:center;width:15rem;background:var(--color-dark-grey-100);border-right:.1rem solid var(--color-dark-grey-50);border-left:.1rem solid var(--color-dark-grey-50);color:var(--color-light-grey-300);cursor:pointer}.execution-plan-viewer__panel__view-mode__type:hover{background:var(--color-dark-grey-200)}.execution-plan-viewer__panel__view-mode__type__label{display:flex;align-items:center;height:3.4rem;padding:0 .5rem;border-top:.3rem solid var(--color-yellow-200)}.execution-plan-viewer__panel__view-mode__options{width:15rem}.execution-plan-viewer__panel__view-mode__options--with-group{border:none;padding:0}.execution-plan-viewer__panel__view-mode__option__group__name{display:flex;align-items:center;justify-content:center;flex-direction:column;cursor:default;writing-mode:vertical-lr;transform:rotate(180deg);font-size:1.1rem;width:2.2rem;padding:.5rem 0}.execution-plan-viewer__panel__view-mode__option__group{display:flex;flex-direction:row}.execution-plan-viewer__panel__view-mode__option__group--native{background:var(--color-blue-100);border:.1rem solid var(--color-blue-100)}.execution-plan-viewer__panel__view-mode__option__group--native .execution-plan-viewer__panel__view-mode__option__group__name{background:var(--color-blue-100);color:var(--color-light-grey-50)}.execution-plan-viewer__panel__view-mode__option__group--generation{background:var(--color-pink-300);border:.1rem solid var(--color-pink-300)}.execution-plan-viewer__panel__view-mode__option__group--generation .execution-plan-viewer__panel__view-mode__option__group__name{background:var(--color-pink-300);color:var(--color-light-grey-50)}.execution-plan-viewer__panel__view-mode__option__group__separator{height:.2rem;width:100%}.execution-plan-viewer__panel__view-mode__option__group__options{width:100%;background:var(--color-dark-grey-100)}.execution-plan-viewer__panel__view-mode__option{display:flex;align-items:center;justify-content:center;height:2rem}.execution-plan-viewer__explorer{width:100%}.execution-plan-viewer__explorer__content__container{height:100%;background:var(--color-dark-grey-100)}.execution-plan-viewer__explorer-tree__node__container:hover{background:var(--color-dark-blue-shade-100)}.execution-plan-viewer__explorer-tree__node__container--selected,.execution-plan-viewer__explorer-tree__node__container--selected:hover{background:var(--color-light-blue-450)}.execution-plan-viewer__explorer-tree__node__icon{width:4rem;min-width:4rem}.execution-plan-viewer__explorer-tree__node__icon__expand,.execution-plan-viewer__explorer-tree__node__icon__type{width:2rem;display:flex;justify-content:center}.execution-plan-viewer__explorer-tree__node__icon__expand svg{font-size:1rem}.execution-plan-viewer__explorer-tree__node__label{color:inherit}.execution-plan-viewer__unsupported-view,.execution-node-viewer__unsupported-view{display:flex;align-items:center;justify-content:center;flex-direction:column}.execution-plan-viewer__unsupported-view__summary,.execution-node-viewer__unsupported-view__summary{font-weight:500;margin-bottom:1rem}.execution-plan-viewer__unsupported-view__to-text-mode__btn,.execution-node-viewer__unsupported-view__to-text-mode__btn{height:2.8rem;width:15rem}.data-access-overview__chart{display:flex;align-items:center;justify-content:center;height:36rem;width:100%;padding:3rem;position:relative}.data-access-overview__chart__actions{position:absolute;top:0;right:0}.data-access-overview__chart__actions__refresh-btn{display:flex;align-items:center;justify-content:center;height:2.8rem;width:2.8rem;border-radius:50%}.data-access-overview__chart__actions__refresh-btn svg{font-size:2rem}.data-access-overview__chart__container{display:flex;align-items:center;justify-content:center;height:30rem;width:30rem;position:relative}.data-access-overview__chart__stats{display:flex;align-items:center;justify-content:center;flex-direction:column;user-select:none;position:absolute}.data-access-overview__chart__stats__percentage{font-family:"Roboto Mono",monospace;font-size:6.6rem;font-weight:600}.data-access-overview__chart__stats__tally{font-family:"Roboto Mono",monospace;font-size:3.2rem}.data-access-overview__grid{height:30rem;width:100%}.data-access-overview__grid--empty{display:flex;align-items:center;justify-content:center;padding:1rem 1.5rem;font-weight:500;border-radius:.5rem;background:var(--color-dark-grey-50);color:var(--color-dark-grey-300)}.data-access-overview__grid__empty-cell{font-size:1.2rem;color:var(--color-dark-grey-280)}.data-access-overview__grid__header-cell{display:flex;align-items:center;width:100%}.data-access-overview__grid__header-cell__label{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;word-break:break-word;text-align:left}.data-access-overview__grid__last-column-header{--ag-header-column-separator-display: none}.data-access-overview__grid.ag-theme-balham-dark{--ag-font-family: "Roboto";--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)}.data-access-overview__grid .ag-header-cell-text{font-weight:700}.data-access-overview__grid .ag-cell-value{word-break:break-word}.data-access-overview__grid .ag-center-cols-viewport{background:repeating-linear-gradient(135deg, var(--color-dark-grey-50), var(--color-dark-grey-50) 0.5rem, var(--color-dark-grey-80) 0.5rem, var(--color-dark-grey-80) 1rem)}.data-access-overview__grid ::-webkit-scrollbar-track-piece{background:rgba(0,0,0,0)}.data-access-overview__grid__access-status-cell{display:flex;align-items:center;justify-content:space-between}.data-access-overview__grid__access-status-cell__content{display:flex;align-items:center}.data-access-overview__grid__access-status-cell__icon{display:flex;align-items:center;margin-right:1rem}.data-access-overview__grid__access-status-cell__icon--access-granted svg{color:var(--color-lime-150)}.data-access-overview__grid__access-status-cell__icon--access-approved svg{color:var(--color-blue-100)}.data-access-overview__grid__access-status-cell__icon--access-requested svg{color:var(--color-yellow-200)}.data-access-overview__grid__access-status-cell__icon--access-not-granted svg{color:var(--color-red-180)}.data-access-overview--compact{height:30rem;display:flex}.data-access-overview--compact .data-access-overview__chart{height:30rem;width:30rem;min-width:30rem;padding:0;margin-right:2rem}.data-access-overview--compact .data-access-overview__chart__container{height:28rem;width:28rem}.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__header{display:flex;align-items:center;height:3.2rem;background:var(--color-dark-grey-100)}.query-builder__header__statuses{display:flex;align-items:center;height:2.2rem;margin-left:.5rem;padding:0 .2rem;background:var(--color-dark-grey-200);border-radius:.2rem}.query-builder__header__status{display:flex;align-items:center;justify-content:center;height:2.2rem;width:2.2rem}.query-builder__header__status svg{color:var(--color-dark-grey-400)}.query-builder__header__status--action:hover svg{color:var(--color-light-grey-400)}.query-builder__header__status__icon--calendar{font-size:1.6rem}.query-builder__header__actions{display:flex;align-items:center;justify-content:flex-end;flex:1}.query-builder__header__advanced-dropdown{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__header__advanced-dropdown__label{font-size:1.2rem;color:var(--color-dark-grey-500)}.query-builder__header__advanced-dropdown__icon{margin-left:1rem;color:var(--color-dark-grey-500)}.query-builder__header__advanced-dropdown svg{cursor:pointer}.query-builder__header__advanced-dropdown-content{display:flex;align-items:center;justify-content:center}.query-builder__header__advanced-dropdown-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%}.query-builder__result__tds-grid.ag-theme-balham-dark{--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[disabled],.query-builder__result__export__dropdown[disabled]:hover{background:var(--color-dark-grey-250);color:var(--color-dark-grey-500)}.query-builder__result__export__dropdown:hover{color:var(--color-light-grey-50)}.query-builder__result__export__dropdown{display:flex;align-items:center;margin:0 .5rem;height:2.2rem;border:.1rem solid var(--color-dark-grey-250);background:var(--color-dark-grey-300);color:var(--color-light-grey-180)}.query-builder__result__export__dropdown__label{display:flex;align-items:center;justify-content:center;flex-grow:0;flex-shrink:0;height:100%;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__icon__query-option--small{font-size:1.4rem}.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);color:var(--color-white);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__variable-editor{display:flex;align-items:center;justify-content:center;height:2.8rem}.query-builder__variable-editor__variable{height:2.8rem;margin:.7rem 0 1.2rem;width:100%}.query-builder__parameters__value__editor{height:2.8rem}.query-builder__parameters__value__editor input{font-size:1.4rem !important}.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__data-access-overview{overflow:overlay}.query-builder__data-access-overview__container{height:100%;padding:2rem}.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 .7rem;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__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-200);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.4rem}.query-builder__olap__column__sortby__operator__badge--activated{border-radius:0;background:var(--color-yellow-200)}.query-builder__olap__column__sortby__operator__badge--activated svg{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-blue-200);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-light-grey-0)}.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__placeholder{display:flex;align-items:center;justify-content:center;color:var(--color-light-grey-400);font-family:"Roboto Mono",monospace;min-height:5vw}.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__variables .panel__header{border-top:.1rem solid var(--color-dark-grey-200)}.query-builder__variables__content{overflow-y:auto;padding:.5rem 0}.query-builder__variables__modal__body{overflow:auto;padding:2rem !important;height:60vh}.query-builder__variables__modal{height:65vh;width:65vh}.query-builder__variables__values__editor__modal{height:65vh;width:65vh}.query-builder__variables__value__label{display:flex;align-items:center;color:var(--color-light-grey-50);margin-bottom:.5rem;line-height:2rem;cursor:default}.query-builder__variables__info{display:flex;align-items:center;color:var(--color-light-grey-200);cursor:pointer}.query-builder__variables__variable{display:flex;align-items:center;justify-content:center;width:100%;height:2.8rem;cursor:pointer}.query-builder__variables__variable__actions{display:flex;height:2rem;padding-right:.5rem}.query-builder__variables__variable__action{display:flex;align-items:center;justify-content:center;height:2rem;width:2rem}.query-builder__variables__variable__action svg{font-size:1.3rem;color:var(--color-light-grey-400)}.query-builder__variables__variable__action:hover svg{color:var(--color-light-grey-200)}.query-builder__variables__variable__action[disabled] svg{color:var(--color-dark-grey-300)}.query-builder__variables__variable__content{display:flex;align-items:center;height:100%;width:calc(100% - 3.3rem)}.query-builder__variables__variable__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__variables__variable-icon{display:flex;justify-content:center;width:1.5rem;min-width:1.5rem}.query-builder__variables__variable__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__variables__variable__type{display:flex;align-items:center}.query-builder__variables__variable__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__variables__variable__name{height:100%;width:100%}.query-builder__variables__variable__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__variables__variable:hover{background:var(--color-dark-blue-shade-100)}.query-builder__constants__value{color:var(--color-blue-200);font-weight:500;padding-left:.5rem;cursor:pointer;overflow:hidden;text-overflow:ellipsis;text-decoration:underline;text-decoration-style:dotted;text-underline-position:under}.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{height:100%;width:100%}.query-builder__projection__column__container{display:flex}.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;cursor:move}.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__calendar__toggler{display:flex;align-items:center;justify-content:center;height:100%;font-size:1.2rem;font-weight:500;padding-right:1rem;background:var(--color-dark-grey-280);color:var(--color-dark-grey-500);cursor:pointer;position:relative}.query-builder__projection__column__aggregate__calendar__toggler svg{font-size:1.6rem}.query-builder__projection__column__aggregate__calendar__toggler:hover{color:var(--color-light-grey-400)}.query-builder__projection__column__aggregate__calendar__toggler--active,.query-builder__projection__column__aggregate__calendar__toggler--active:hover{color:var(--color-yellow-TEMP-2)}.query-builder__projection__column__aggregate__calendar__toggler--active::after{content:"";height:1rem;position:absolute;right:1.2rem;top:2.4rem;bottom:0;border-left:.8rem solid rgba(0,0,0,0);border-right:.8rem solid rgba(0,0,0,0);border-bottom:.8rem solid var(--color-yellow-TEMP-2)}.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-TEMP-2)}.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 .panel__content__form__section__list__item:hover{background:unset}.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__sortby{display:flex;align-items:center;justify-content:center;height:2.8rem;padding:0 1.8rem;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__projection__options__sort__sortby--btn{display:flex;align-items:center;justify-content:center;height:2.8rem;padding:0 1rem;font-size:1.2rem;font-weight:500;color:var(--color-light-grey-100);border-radius:0 .2rem .2rem 0;white-space:nowrap;width:3rem;background:var(--color-blue-200)}.query-builder__projection__options__sort__sortby--btn svg{font-size:1.4rem}.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__projection__calendar__container{display:flex;align-items:center;margin-top:.3rem;width:100%;background:var(--color-yellow-TEMP-2);border-radius:.2rem;height:3.4rem;margin-bottom:.5rem;padding:.3rem;user-select:none}.query-builder__projection__calendar__container .selector-input--dark__control,.query-builder__projection__calendar__container .selector-input--dark__control:hover{border-color:var(--color-dark-grey-100)}.query-builder__projection__calendar__container--hidden{display:none}.query-builder__projection__calendar__function{min-width:20rem}.query-builder__projection__calendar__function__label{display:flex;width:100%}.query-builder__projection__calendar__function__label__icon{color:var(--color-dark-grey-500)}.query-builder__projection__calendar__function__label__title{margin-left:.5rem;width:calc(100% - 2.8rem);white-space:nowrap}.query-builder__projection__calendar__date__column__placeholder{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;word-break:break-word;text-align:left;width:100%;height:2.8rem;line-height:2.8rem;margin:.3rem;padding:0 1rem;font-size:1.2rem;color:var(--color-dark-grey-400);background:var(--color-dark-grey-100);border-radius:.2rem}.query-builder__projection__calendar__value{min-width:15rem;margin-left:.3rem}.query-builder__projection__calendar__label{display:flex;align-items:center;justify-content:center;padding:.5rem;color:var(--color-light-grey-200)}.query-builder__projection__calendar__date__column{display:flex;align-items:center;width:100%;height:100%;display:flex;min-width:15rem}.query-builder__projection__calendar__date__column__label__box{display:flex;align-items:center;background:var(--color-dark-grey-200);width:100%;height:2.8rem;margin:.3rem;border-radius:.2rem}.query-builder__projection__calendar__date__column__prefix{display:flex;align-items:center;justify-content:center;color:var(--color-light-grey-200);width:2.8rem;font-size:1rem}.query-builder__projection__calendar__date__column__label{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;word-break:break-word;text-align:left;display:flex;align-items:center;width:calc(100% - 2.8rem);border-radius:.2rem;color:var(--color-light-grey-0);font-size:1.2rem;font-weight:700}.query-builder__projection__calendar__type{min-width:8rem}.query-builder__projection__calendar__type__option{display:flex}.query-builder__projection__calendar__type__option__icon{font-size:1.2rem;color:var(--color-dark-grey-500)}.query-builder__projection__calendar__type__option__title{display:flex;align-items:center;justify-content:center;margin-left:.5rem}.query-builder__projection__calendar__icon{display:flex;align-items:center;justify-content:center;margin-left:.5rem;margin-right:.5rem}.query-builder__projection__calendar__icon svg{font-size:1.5rem;color:var(--color-light-grey-100)}.query-builder__projection__calendar__date__column__dnd__placeholder .dnd__entry-dropzone__placeholder__content{border-color:var(--color-dark-grey-100);color:var(--color-dark-grey-300);border:.2rem dashed var(--color-dark-grey-300)}.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:space-between;height:2.8rem;margin-top:.3rem;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__actions{display:flex;align-items:center;cursor:pointer}.query-builder-graph-fetch-tree__actions__action{margin-right:1rem}.query-builder-graph-fetch-tree__actions__action-btn{display:flex;align-items:center;height:100%;margin:0 .3rem}.query-builder-graph-fetch-tree__actions__action-btn__label{display:flex;align-items:center;height:2.2rem;padding:.5rem;border-radius:.2rem 0 0 .2rem;background:var(--color-blue-200)}.query-builder-graph-fetch-tree__actions__action-btn__label__icon{font-size:1.4rem;color:var(--color-light-grey-180)}.query-builder-graph-fetch-tree__actions__action-btn__label__title{margin-left:.5rem;color:var(--color-light-grey-180);font-size:1.2rem;font-weight:500}.query-builder-graph-fetch-tree__actions__action-btn__label:hover .query-builder-graph-fetch-tree__actions__action-btn__label__icon,.query-builder-graph-fetch-tree__actions__action-btn__label:hover .query-builder-graph-fetch-tree__actions__action-btn__label__title,.query-builder-graph-fetch-tree__actions__action-btn__dropdown-btn:hover svg{color:var(--color-light-grey-50)}.query-builder-graph-fetch-tree__actions__action-btn__label[disabled],.query-builder-graph-fetch-tree__actions__action-btn__dropdown-btn[disabled]{background:var(--color-dark-grey-250)}.query-builder-graph-fetch-tree__actions__action-btn__label[disabled] .query-builder-graph-fetch-tree__actions__action-btn__label__icon,.query-builder-graph-fetch-tree__actions__action-btn__label[disabled] .query-builder-graph-fetch-tree__actions__action-btn__label__title,.query-builder-graph-fetch-tree__actions__action-btn__dropdown-btn[disabled] 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__container__tree{width:100%}.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-graph-fetch-config{width:50vw;height:65rem;padding:0;overflow:hidden}.query-builder-graph-fetch-config .input{width:100%}.query-builder-graph-fetch-config__content{height:56.4rem}.query-builder-graph-fetch-external-format{width:100%}.query-builder-graph-fetch-external-format__config-group{width:100%}.query-builder-graph-fetch-external-format__config-group__header{display:flex;align-items:center;justify-content:space-between;height:1.6rem;padding-left:1rem;background:var(--color-dark-grey-280);border-radius:.2rem .2rem .2rem 0}.query-builder-graph-fetch-external-format__config-group__header__title{color:var(--color-light-grey-300);font-size:1rem;font-weight:500}.query-builder-graph-fetch-external-format__config-group__header__dropdown-trigger{display:flex;align-items:center;justify-content:center;height:100%;width:3rem}.query-builder-graph-fetch-external-format__config-group__header__dropdown-trigger svg{color:var(--color-light-grey-300)}.query-builder-graph-fetch-external-format__config-group__content{display:flex;flex-direction:column;width:100%;padding:.5rem 0 0 .5rem;border-left:.5rem solid var(--color-dark-grey-280)}.query-builder-graph-fetch-external-format__config-group__item{display:flex;align-items:center;width:100%}.query-builder-graph-fetch-external-format__config-group__item__label{display:flex;align-items:center;justify-content:center;background:var(--color-dark-grey-100);margin-right:.5rem}.query-builder-graph-fetch-external-format__config-group__item__selector{width:100%;max-width:unset}.query-builder-graph-fetch-external-format__config-group__item+.query-builder-graph-fetch-external-format__config-group__item{margin-top:.5rem}.query-builder-graph-fetch-external-format__config-group--class .query-builder-graph-fetch-external-format__config-group__header{background:var(--color-purple-400)}.query-builder-graph-fetch-external-format__config-group--class .query-builder-graph-fetch-external-format__config-group__content{padding-top:0;border-left:.5rem solid var(--color-purple-400)}.query-builder-graph-fetch-external-format__config-group--class .query-builder-graph-fetch-external-format__config-group__item__label{border:.1rem solid var(--color-purple-400)}.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
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@finos/legend-query-builder",
|
3
|
-
"version": "3.2.
|
3
|
+
"version": "3.2.4",
|
4
4
|
"description": "Legend query builder core",
|
5
5
|
"keywords": [
|
6
6
|
"legend",
|
@@ -50,8 +50,8 @@
|
|
50
50
|
"@finos/legend-shared": "workspace:*",
|
51
51
|
"@finos/legend-storage": "workspace:*",
|
52
52
|
"@testing-library/react": "14.0.0",
|
53
|
-
"@types/react": "18.2.
|
54
|
-
"@types/react-dom": "18.2.
|
53
|
+
"@types/react": "18.2.2",
|
54
|
+
"@types/react-dom": "18.2.3",
|
55
55
|
"chart.js": "4.3.0",
|
56
56
|
"mathjs": "11.8.0",
|
57
57
|
"mobx": "6.9.0",
|
@@ -17,14 +17,14 @@
|
|
17
17
|
import type { LegendApplicationPlugin } from '@finos/legend-application';
|
18
18
|
import type { QueryBuilderState } from './QueryBuilderState.js';
|
19
19
|
import type { QuerySearchSpecification } from '@finos/legend-graph';
|
20
|
-
import type { DatasetAccessInfo } from './data-access/DataAccessState.js';
|
20
|
+
import type { DataAccessState, DatasetAccessInfo } from './data-access/DataAccessState.js';
|
21
21
|
export type LoadQueryFilterOption = {
|
22
22
|
key: string;
|
23
23
|
label: (queryBuilderState: QueryBuilderState) => string | undefined;
|
24
24
|
filterFunction: (searchSpecification: QuerySearchSpecification, queryBuilderState: QueryBuilderState) => QuerySearchSpecification;
|
25
25
|
};
|
26
26
|
export type DatasetEntitlementAccessReportActionConfiguration = {
|
27
|
-
renderer: (info: DatasetAccessInfo) => React.ReactNode;
|
27
|
+
renderer: (info: DatasetAccessInfo, dataAccessState: DataAccessState) => React.ReactNode;
|
28
28
|
};
|
29
29
|
export interface QueryBuilder_LegendApplicationPlugin_Extension extends LegendApplicationPlugin {
|
30
30
|
/**
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilder_LegendApplicationPlugin_Extension.d.ts","sourceRoot":"","sources":["../../src/stores/QueryBuilder_LegendApplicationPlugin_Extension.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAEH,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACzE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAChE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,qBAAqB,CAAC;AACpE,OAAO,KAAK,
|
1
|
+
{"version":3,"file":"QueryBuilder_LegendApplicationPlugin_Extension.d.ts","sourceRoot":"","sources":["../../src/stores/QueryBuilder_LegendApplicationPlugin_Extension.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAEH,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACzE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAChE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,qBAAqB,CAAC;AACpE,OAAO,KAAK,EACV,eAAe,EACf,iBAAiB,EAClB,MAAM,kCAAkC,CAAC;AAE1C,MAAM,MAAM,qBAAqB,GAAG;IAClC,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,CAAC,iBAAiB,EAAE,iBAAiB,KAAK,MAAM,GAAG,SAAS,CAAC;IACpE,cAAc,EAAE,CACd,mBAAmB,EAAE,wBAAwB,EAC7C,iBAAiB,EAAE,iBAAiB,KACjC,wBAAwB,CAAC;CAC/B,CAAC;AAEF,MAAM,MAAM,iDAAiD,GAAG;IAC9D,QAAQ,EAAE,CACR,IAAI,EAAE,iBAAiB,EACvB,eAAe,EAAE,eAAe,KAC7B,KAAK,CAAC,SAAS,CAAC;CACtB,CAAC;AAEF,MAAM,WAAW,8CACf,SAAQ,uBAAuB;IAC/B;;OAEG;IACH,8BAA8B,CAAC,IAAI,qBAAqB,EAAE,CAAC;IAE3D;;OAEG;IACH,oEAAoE,CAAC,IAAI,iDAAiD,EAAE,CAAC;CAC9H"}
|
@@ -14,7 +14,7 @@
|
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
16
|
import type { GenericLegendApplicationStore } from '@finos/legend-application';
|
17
|
-
import { type BasicGraphManagerState, type DatasetEntitlementReport, type DatasetSpecification } from '@finos/legend-graph';
|
17
|
+
import { type BasicGraphManagerState, type DatasetEntitlementReport, type DatasetSpecification, type RawLambda, type GraphData } from '@finos/legend-graph';
|
18
18
|
import { ActionState, type GeneratorFn } from '@finos/legend-shared';
|
19
19
|
export declare class DatasetAccessInfo {
|
20
20
|
readonly uuid: string;
|
@@ -35,16 +35,20 @@ type EntitlementCheckInfo = {
|
|
35
35
|
export declare class DataAccessState {
|
36
36
|
readonly applicationStore: GenericLegendApplicationStore;
|
37
37
|
readonly graphManagerState: BasicGraphManagerState;
|
38
|
-
readonly surveyDatasets: () => Promise<DatasetSpecification[]>;
|
39
|
-
readonly checkDatasetEntitlements: (datasets: DatasetSpecification[]) => Promise<DatasetEntitlementReport[]>;
|
40
38
|
readonly initialDatasets?: DatasetSpecification[] | undefined;
|
39
|
+
readonly mapping: string;
|
40
|
+
readonly runtime: string;
|
41
|
+
readonly graphData: GraphData;
|
42
|
+
readonly getQuery: () => Promise<RawLambda | undefined>;
|
41
43
|
readonly surveyDatasetsState: ActionState;
|
42
44
|
readonly checkEntitlementsState: ActionState;
|
43
45
|
datasets: DatasetAccessInfo[];
|
44
46
|
constructor(applicationStore: GenericLegendApplicationStore, graphManagerState: BasicGraphManagerState, options: {
|
45
47
|
initialDatasets?: DatasetSpecification[] | undefined;
|
46
|
-
|
47
|
-
|
48
|
+
mapping: string;
|
49
|
+
runtime: string;
|
50
|
+
graphData: GraphData;
|
51
|
+
getQuery: () => Promise<RawLambda | undefined>;
|
48
52
|
});
|
49
53
|
get entitlementCheckInfo(): EntitlementCheckInfo;
|
50
54
|
fetchDatasetSpecifications(): GeneratorFn<void>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DataAccessState.d.ts","sourceRoot":"","sources":["../../../src/stores/data-access/DataAccessState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,2BAA2B,CAAC;AAC/E,OAAO,EAEL,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,
|
1
|
+
{"version":3,"file":"DataAccessState.d.ts","sourceRoot":"","sources":["../../../src/stores/data-access/DataAccessState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,2BAA2B,CAAC;AAC/E,OAAO,EAEL,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,EAKzB,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,qBAA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CAAC;QAChB,OAAO,EAAE,MAAM,CAAC;QAChB,SAAS,EAAE,SAAS,CAAC;QACrB,QAAQ,EAAE,MAAM,OAAO,CAAC,SAAS,GAAG,SAAS,CAAC,CAAC;KAChD;IAqBH,IAAI,oBAAoB,IAAI,oBAAoB,CAqI/C;IAEA,0BAA0B,IAAI,WAAW,CAAC,IAAI,CAAC;IA4B/C,8BAA8B,IAAI,WAAW,CAAC,IAAI,CAAC;IA4C9C,SAAS,IAAI,OAAO,CAAC,IAAI,CAAC;IAS1B,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC;CAI/B"}
|
@@ -35,9 +35,11 @@ export class DatasetAccessInfo {
|
|
35
35
|
export class DataAccessState {
|
36
36
|
applicationStore;
|
37
37
|
graphManagerState;
|
38
|
-
surveyDatasets;
|
39
|
-
checkDatasetEntitlements;
|
40
38
|
initialDatasets;
|
39
|
+
mapping;
|
40
|
+
runtime;
|
41
|
+
graphData;
|
42
|
+
getQuery;
|
41
43
|
surveyDatasetsState = ActionState.create();
|
42
44
|
checkEntitlementsState = ActionState.create();
|
43
45
|
datasets = [];
|
@@ -52,8 +54,10 @@ export class DataAccessState {
|
|
52
54
|
this.graphManagerState = graphManagerState;
|
53
55
|
this.initialDatasets = options.initialDatasets;
|
54
56
|
this.datasets = (options.initialDatasets ?? []).map((dataset) => new DatasetAccessInfo(dataset));
|
55
|
-
this.
|
56
|
-
this.
|
57
|
+
this.mapping = options.mapping;
|
58
|
+
this.runtime = options.runtime;
|
59
|
+
this.graphData = options.graphData;
|
60
|
+
this.getQuery = options.getQuery;
|
57
61
|
}
|
58
62
|
get entitlementCheckInfo() {
|
59
63
|
const total = this.datasets.length;
|
@@ -147,7 +151,7 @@ export class DataAccessState {
|
|
147
151
|
*fetchDatasetSpecifications() {
|
148
152
|
this.surveyDatasetsState.inProgress();
|
149
153
|
try {
|
150
|
-
const datasets = (yield this.surveyDatasets());
|
154
|
+
const datasets = (yield this.graphManagerState.graphManager.surveyDatasets(this.mapping, this.runtime, (yield this.getQuery()), this.graphData));
|
151
155
|
this.datasets = datasets.map((dataset) => {
|
152
156
|
const existingDataset = this.datasets.find((ds) => ds.specification.hashCode === dataset.hashCode);
|
153
157
|
if (existingDataset) {
|
@@ -167,7 +171,7 @@ export class DataAccessState {
|
|
167
171
|
*fetchDatasetEntitlementReports() {
|
168
172
|
this.checkEntitlementsState.inProgress();
|
169
173
|
try {
|
170
|
-
const reports = (yield this.checkDatasetEntitlements(this.datasets.map((dataset) => dataset.specification)));
|
174
|
+
const reports = (yield this.graphManagerState.graphManager.checkDatasetEntitlements(this.datasets.map((dataset) => dataset.specification), this.mapping, this.runtime, (yield this.getQuery()), this.graphData));
|
171
175
|
this.datasets.forEach((dataset) => {
|
172
176
|
const matchingReport = reports.find((report) => report.dataset.hashCode === dataset.specification.hashCode);
|
173
177
|
if (matchingReport) {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DataAccessState.js","sourceRoot":"","sources":["../../../src/stores/data-access/DataAccessState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EACL,qCAAqC,EAIrC,sCAAsC,EACtC,uCAAuC,EACvC,wCAAwC,EACxC,mCAAmC,
|
1
|
+
{"version":3,"file":"DataAccessState.js","sourceRoot":"","sources":["../../../src/stores/data-access/DataAccessState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EACL,qCAAqC,EAIrC,sCAAsC,EACtC,uCAAuC,EACvC,wCAAwC,EACxC,mCAAmC,GAGpC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,WAAW,EACX,iBAAiB,EACjB,IAAI,EAEJ,mBAAmB,GACpB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,MAAM,EACN,QAAQ,EACR,IAAI,EACJ,UAAU,EACV,cAAc,EACd,UAAU,GACX,MAAM,MAAM,CAAC;AACd,OAAO,EAAE,6BAA6B,EAAE,MAAM,yCAAyC,CAAC;AAExF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,UAAU,CAAC,oBAAoB,CAAC,MAAM,CAAC,CAAC;oBACxC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;iBAC9B;YACH,CAAC,CAAC,CAAC;YACH,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC;SACnD;QAAC,OAAO,KAAK,EAAE;YACd,iBAAiB,CAAC,KAAK,CAAC,CAAC;YACzB,IAAI,CAAC,gBAAgB,CAAC,mBAAmB,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;SAC9D;gBAAS;YACR,IAAI,CAAC,sBAAsB,CAAC,QAAQ,EAAE,CAAC;SACxC;IACH,CAAC;IAED,KAAK,CAAC,SAAS;QACb,IAAI,CAAC,IAAI,CAAC,eAAe,EAAE;YACzB,MAAM,UAAU,CAAC,IAAI,CAAC,0BAA0B,EAAE,CAAC,CAAC;YACpD,MAAM,UAAU,CAAC,IAAI,CAAC,8BAA8B,EAAE,CAAC,CAAC;SACzD;aAAM;YACL,MAAM,UAAU,CAAC,IAAI,CAAC,8BAA8B,EAAE,CAAC,CAAC;SACzD;IACH,CAAC;IAED,KAAK,CAAC,OAAO;QACX,MAAM,UAAU,CAAC,IAAI,CAAC,0BAA0B,EAAE,CAAC,CAAC;QACpD,MAAM,UAAU,CAAC,IAAI,CAAC,8BAA8B,EAAE,CAAC,CAAC;IAC1D,CAAC;CACF"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderCheckEntitlementsState.d.ts","sourceRoot":"","sources":["../../../src/stores/entitlements/QueryBuilderCheckEntitlementsState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,KAAK,QAAQ,EAAa,MAAM,sBAAsB,CAAC;AAGhE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AACjE,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;
|
1
|
+
{"version":3,"file":"QueryBuilderCheckEntitlementsState.d.ts","sourceRoot":"","sources":["../../../src/stores/entitlements/QueryBuilderCheckEntitlementsState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,KAAK,QAAQ,EAAa,MAAM,sBAAsB,CAAC;AAGhE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AACjE,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AAGpE,qBAAa,kCAAmC,YAAW,QAAQ;IACjE,QAAQ,CAAC,iBAAiB,EAAE,iBAAiB,CAAC;IAE9C,eAAe,CAAC,EAAE,eAAe,GAAG,SAAS,CAAC;IAC9C,2BAA2B,UAAS;gBAExB,iBAAiB,EAAE,iBAAiB;IAWhD,8BAA8B,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI;IAwBlD,IAAI,QAAQ,IAAI,MAAM,CAKrB;CACF"}
|
@@ -17,7 +17,7 @@ import { hashArray } from '@finos/legend-shared';
|
|
17
17
|
import { makeObservable, observable, action, computed } from 'mobx';
|
18
18
|
import { QUERY_BUILDER_STATE_HASH_STRUCTURE } from '../QueryBuilderStateHashUtils.js';
|
19
19
|
import { DataAccessState } from '../data-access/DataAccessState.js';
|
20
|
-
import { RuntimePointer, InMemoryGraphData
|
20
|
+
import { RuntimePointer, InMemoryGraphData } from '@finos/legend-graph';
|
21
21
|
export class QueryBuilderCheckEntitlementsState {
|
22
22
|
queryBuilderState;
|
23
23
|
dataAccessState;
|
@@ -36,11 +36,11 @@ export class QueryBuilderCheckEntitlementsState {
|
|
36
36
|
this.dataAccessState = undefined;
|
37
37
|
if (this.queryBuilderState.mapping &&
|
38
38
|
this.queryBuilderState.runtimeValue instanceof RuntimePointer) {
|
39
|
-
const mappingPath = this.queryBuilderState.mapping.path;
|
40
|
-
const runtimePath = this.queryBuilderState.runtimeValue.packageableRuntime.value.path;
|
41
39
|
this.dataAccessState = new DataAccessState(this.queryBuilderState.applicationStore, this.queryBuilderState.graphManagerState, {
|
42
|
-
|
43
|
-
|
40
|
+
mapping: this.queryBuilderState.mapping.path,
|
41
|
+
runtime: this.queryBuilderState.runtimeValue.packageableRuntime.value.path,
|
42
|
+
getQuery: async () => this.queryBuilderState.buildQuery(),
|
43
|
+
graphData: new InMemoryGraphData(this.queryBuilderState.graphManagerState.graph),
|
44
44
|
});
|
45
45
|
}
|
46
46
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderCheckEntitlementsState.js","sourceRoot":"","sources":["../../../src/stores/entitlements/QueryBuilderCheckEntitlementsState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAiB,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AACpE,OAAO,EAAE,kCAAkC,EAAE,MAAM,kCAAkC,CAAC;AAEtF,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AACpE,OAAO,
|
1
|
+
{"version":3,"file":"QueryBuilderCheckEntitlementsState.js","sourceRoot":"","sources":["../../../src/stores/entitlements/QueryBuilderCheckEntitlementsState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAiB,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AACpE,OAAO,EAAE,kCAAkC,EAAE,MAAM,kCAAkC,CAAC;AAEtF,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AACpE,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAExE,MAAM,OAAO,kCAAkC;IACpC,iBAAiB,CAAoB;IAE9C,eAAe,CAA+B;IAC9C,2BAA2B,GAAG,KAAK,CAAC;IAEpC,YAAY,iBAAoC;QAC9C,cAAc,CAAC,IAAI,EAAE;YACnB,2BAA2B,EAAE,UAAU;YACvC,eAAe,EAAE,UAAU;YAC3B,8BAA8B,EAAE,MAAM;YACtC,QAAQ,EAAE,QAAQ;SACnB,CAAC,CAAC;QAEH,IAAI,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;IAC7C,CAAC;IAED,8BAA8B,CAAC,GAAY;QACzC,IAAI,CAAC,2BAA2B,GAAG,GAAG,CAAC;QAEvC,IAAI,CAAC,eAAe,GAAG,SAAS,CAAC;QACjC,IACE,IAAI,CAAC,iBAAiB,CAAC,OAAO;YAC9B,IAAI,CAAC,iBAAiB,CAAC,YAAY,YAAY,cAAc,EAC7D;YACA,IAAI,CAAC,eAAe,GAAG,IAAI,eAAe,CACxC,IAAI,CAAC,iBAAiB,CAAC,gBAAgB,EACvC,IAAI,CAAC,iBAAiB,CAAC,iBAAiB,EACxC;gBACE,OAAO,EAAE,IAAI,CAAC,iBAAiB,CAAC,OAAO,CAAC,IAAI;gBAC5C,OAAO,EACL,IAAI,CAAC,iBAAiB,CAAC,YAAY,CAAC,kBAAkB,CAAC,KAAK,CAAC,IAAI;gBACnE,QAAQ,EAAE,KAAK,IAAI,EAAE,CAAC,IAAI,CAAC,iBAAiB,CAAC,UAAU,EAAE;gBACzD,SAAS,EAAE,IAAI,iBAAiB,CAC9B,IAAI,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,KAAK,CAC/C;aACF,CACF,CAAC;SACH;IACH,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,kCAAkC,CAAC,wBAAwB;YAC3D,IAAI,CAAC,2BAA2B;SACjC,CAAC,CAAC;IACL,CAAC;CACF"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderWindowState.d.ts","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/window/QueryBuilderWindowState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;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E,GAAG,EAAE,MAAM,GAAG,IAAI;IAIhE,SAAS,CAAC,GAAG,EAAE,0BAA0B,GAAG,IAAI;IAIhD,YAAY,CAAC,GAAG,EAAE,0BAA0B,GAAG,IAAI;IAInD,yBAAyB,CACvB,EAAE,EAAE,8BAA8B,GACjC,0BAA0B,EAAE;IAS/B,cAAc,CAAC,QAAQ,EAAE,8BAA8B,GAAG,IAAI;
|
1
|
+
{"version":3,"file":"QueryBuilderWindowState.d.ts","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/window/QueryBuilderWindowState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAqB,KAAK,IAAI,EAAE,MAAM,qBAAqB,CAAC;AACnE,OAAO,EAML,KAAK,QAAQ,EACd,MAAM,sBAAsB,CAAC;AAI9B,OAAO,KAAK,EAAE,sCAAsC,EAAE,MAAM,oDAAoD,CAAC;AACjH,OAAO,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AAC9E,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AACvE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AAC1E,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,+CAA+C,CAAC;AAEpG,eAAO,MAAM,oCAAoC,kBAAkB,CAAC;AAEpE,MAAM,WAAW,kCAAkC;IACjD,WAAW,EAAE,0BAA0B,CAAC;CACzC;AAED,UAAU,mCAAmC;IAC3C,iBAAiB,EAAE,MAAM,CAAC;IAC1B,iBAAiB,EAAE,MAAM,CAAC;CAC3B;AAED,MAAM,MAAM,4BAA4B,GACpC,sCAAsC,GACtC,kCAAkC,CAAC;AAEvC,qBAAa,8BAA+B,YAAW,QAAQ;IAC7D,WAAW,EAAE,0BAA0B,CAAC;IACxC,QAAQ,EAAE,gBAAgB,CAAC;gBAGzB,WAAW,EAAE,0BAA0B,EACvC,QAAQ,EAAE,gBAAgB;IAa5B,c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G,SAAS,GAAG,IAAI;IAInE,YAAY,CAAC,IAAI,EAAE,MAAM,GAAG,8BAA8B,GAAG,SAAS;IAItE,eAAe,CAAC,SAAS,EAAE,6BAA6B,GAAG,IAAI;IAI/D,YAAY,CAAC,MAAM,EAAE,6BAA6B,GAAG,IAAI;IAIzD,UAAU,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,IAAI;IASpD,kBAAkB,CAAC,UAAU,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,OAAO;IAMnE,IAAI,QAAQ,IAAI,MAAM,CAKrB;CACF"}
|
@@ -190,10 +190,12 @@ export class QueryBuilderWindowColumnState extends QueryBuilderTDSColumnState {
|
|
190
190
|
: this.possibleAggregatedColumns(windowOp)[0];
|
191
191
|
if (compatibleAggCol) {
|
192
192
|
this.setOperatorState(new QueryBuilderTDS_WindowAggreationOperatorState(this.windowState, windowOp, compatibleAggCol));
|
193
|
+
this.setColumnName(`${windowOp.getLabel()} of ${compatibleAggCol.columnName}`);
|
193
194
|
}
|
194
195
|
}
|
195
196
|
else {
|
196
197
|
this.setOperatorState(new QueryBuilderTDS_WindowRankOperatorState(this.windowState, windowOp));
|
198
|
+
this.setColumnName(`${windowOp.getLabel()}`);
|
197
199
|
}
|
198
200
|
}
|
199
201
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderWindowState.js","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/window/QueryBuilderWindowState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,iBAAiB,EAAa,MAAM,qBAAqB,CAAC;AACnE,OAAO,EACL,cAAc,EACd,WAAW,EACX,oBAAoB,EACpB,SAAS,EACT,IAAI,GAEL,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AACpE,OAAO,EAAE,k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H;QACD,OAAO,EAAE,CAAC;IACZ,CAAC;IAED,cAAc,CAAC,QAAwC;QACrD,MAAM,eAAe,GAAG,IAAI,CAAC,cAAc,CAAC,QAAQ,CAAC;QACrD,MAAM,sBAAsB,GAC1B,IAAI,CAAC,cAAc;YACnB,6CAA6C;YAC3C,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,WAAW;YACjC,CAAC,CAAC,SAAS,CAAC;QAChB,IAAI,eAAe,KAAK,QAAQ,EAAE;YAChC,IAAI,QAAQ,CAAC,kBAAkB,EAAE,EAAE;gBACjC,MAAM,gBAAgB,GACpB,sBAAsB;oBACtB,QAAQ,CAAC,sBAAsB,CAAC,sBAAsB,CAAC;oBACrD,CAAC,CAAC,sBAAsB;oBACxB,CAAC,CAAC,IAAI,CAAC,yBAAyB,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC;gBAClD,IAAI,gBAAgB,EAAE;oBACpB,IAAI,CAAC,gBAAgB,CACnB,IAAI,6CAA6C,CAC/C,IAAI,CAAC,WAAW,EAChB,QAAQ,EACR,gBAAgB,CACjB,CACF,CAAC;iBACH;aACF;iBAAM;gBACL,IAAI,CAAC,gBAAgB,CACnB,IAAI,uCAAuC,CACzC,IAAI,CAAC,WAAW,EAChB,QAAQ,CACT,CACF,CAAC;
|
1
|
+
{"version":3,"file":"QueryBuilderWindowState.js","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/window/QueryBuilderWindowState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,iBAAiB,EAAa,MAAM,qBAAqB,CAAC;AACnE,OAAO,EACL,cAAc,EACd,WAAW,EACX,oBAAoB,EACpB,SAAS,EACT,IAAI,GAEL,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AACpE,OAAO,EAAE,kCAAkC,EAAE,MAAM,wCAAwC,CAA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L,CAAC;CACF"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@finos/legend-query-builder",
|
3
|
-
"version": "3.2.
|
3
|
+
"version": "3.2.4",
|
4
4
|
"description": "Legend query builder core",
|
5
5
|
"keywords": [
|
6
6
|
"legend",
|
@@ -42,16 +42,16 @@
|
|
42
42
|
"test:watch": "jest --watch"
|
43
43
|
},
|
44
44
|
"dependencies": {
|
45
|
-
"@finos/legend-application": "15.0.
|
46
|
-
"@finos/legend-art": "7.0.
|
47
|
-
"@finos/legend-graph": "28.1.
|
48
|
-
"@finos/legend-lego": "1.0.
|
45
|
+
"@finos/legend-application": "15.0.10",
|
46
|
+
"@finos/legend-art": "7.0.11",
|
47
|
+
"@finos/legend-graph": "28.1.6",
|
48
|
+
"@finos/legend-lego": "1.0.3",
|
49
49
|
"@finos/legend-server-depot": "6.0.5",
|
50
50
|
"@finos/legend-shared": "10.0.4",
|
51
51
|
"@finos/legend-storage": "3.0.54",
|
52
52
|
"@testing-library/react": "14.0.0",
|
53
|
-
"@types/react": "18.2.
|
54
|
-
"@types/react-dom": "18.2.
|
53
|
+
"@types/react": "18.2.2",
|
54
|
+
"@types/react-dom": "18.2.3",
|
55
55
|
"chart.js": "4.3.0",
|
56
56
|
"mathjs": "11.8.0",
|
57
57
|
"mobx": "6.9.0",
|
@@ -28,7 +28,7 @@ import { QUERY_BUILDER_SETTING_CONFIG } from '../__lib__/QueryBuilderSetting.js'
|
|
28
28
|
import { QUERY_BUILDER_COMMAND_CONFIG } from '../stores/QueryBuilderCommand.js';
|
29
29
|
import type { QueryBuilderState } from '../stores/QueryBuilderState.js';
|
30
30
|
import { configureDataGridComponent } from '@finos/legend-lego/data-grid';
|
31
|
-
import { Chart as ChartJS, ArcElement, Tooltip } from 'chart.js';
|
31
|
+
import { Chart as ChartJS, ArcElement, Tooltip, LinearScale } from 'chart.js';
|
32
32
|
|
33
33
|
export type CheckEntitlementEditorRender = (
|
34
34
|
queryBuilderState: QueryBuilderState,
|
@@ -53,7 +53,15 @@ export class QueryBuilder_LegendApplicationPlugin extends LegendApplicationPlugi
|
|
53
53
|
configureDataGridComponent();
|
54
54
|
|
55
55
|
// configure chart component
|
56
|
-
ChartJS.register(
|
56
|
+
ChartJS.register(
|
57
|
+
ArcElement,
|
58
|
+
Tooltip,
|
59
|
+
// NOTE: this is a workaround for a production bundle problem where LinearScale seems to be required
|
60
|
+
// in only production build
|
61
|
+
// See https://github.com/chartjs/Chart.js/issues/10895
|
62
|
+
// See https://github.com/chartjs/Chart.js/issues/11157#issue-1592988375
|
63
|
+
LinearScale,
|
64
|
+
);
|
57
65
|
},
|
58
66
|
];
|
59
67
|
}
|
@@ -127,7 +127,7 @@ const AccessStatusCellRenderer = observer(
|
|
127
127
|
dataAccessState: DataAccessState;
|
128
128
|
},
|
129
129
|
) => {
|
130
|
-
const { data } = params;
|
130
|
+
const { data, dataAccessState } = params;
|
131
131
|
const applicationStore = useApplicationStore();
|
132
132
|
|
133
133
|
if (!data) {
|
@@ -193,7 +193,7 @@ const AccessStatusCellRenderer = observer(
|
|
193
193
|
);
|
194
194
|
let action: React.ReactNode | undefined;
|
195
195
|
for (const plugin of plugins) {
|
196
|
-
action = plugin.renderer(data);
|
196
|
+
action = plugin.renderer(data, dataAccessState);
|
197
197
|
if (action) {
|
198
198
|
break;
|
199
199
|
}
|
@@ -17,7 +17,10 @@
|
|
17
17
|
import type { LegendApplicationPlugin } from '@finos/legend-application';
|
18
18
|
import type { QueryBuilderState } from './QueryBuilderState.js';
|
19
19
|
import type { QuerySearchSpecification } from '@finos/legend-graph';
|
20
|
-
import type {
|
20
|
+
import type {
|
21
|
+
DataAccessState,
|
22
|
+
DatasetAccessInfo,
|
23
|
+
} from './data-access/DataAccessState.js';
|
21
24
|
|
22
25
|
export type LoadQueryFilterOption = {
|
23
26
|
key: string;
|
@@ -29,7 +32,10 @@ export type LoadQueryFilterOption = {
|
|
29
32
|
};
|
30
33
|
|
31
34
|
export type DatasetEntitlementAccessReportActionConfiguration = {
|
32
|
-
renderer: (
|
35
|
+
renderer: (
|
36
|
+
info: DatasetAccessInfo,
|
37
|
+
dataAccessState: DataAccessState,
|
38
|
+
) => React.ReactNode;
|
33
39
|
};
|
34
40
|
|
35
41
|
export interface QueryBuilder_LegendApplicationPlugin_Extension
|
@@ -24,6 +24,8 @@ import {
|
|
24
24
|
DatasetEntitlementAccessRequestedReport,
|
25
25
|
DatasetEntitlementAccessNotGrantedReport,
|
26
26
|
DatasetEntitlementUnsupportedReport,
|
27
|
+
type RawLambda,
|
28
|
+
type GraphData,
|
27
29
|
} from '@finos/legend-graph';
|
28
30
|
import {
|
29
31
|
ActionState,
|
@@ -71,12 +73,12 @@ export class DataAccessState {
|
|
71
73
|
readonly applicationStore: GenericLegendApplicationStore;
|
72
74
|
readonly graphManagerState: BasicGraphManagerState;
|
73
75
|
|
74
|
-
readonly surveyDatasets: () => Promise<DatasetSpecification[]>;
|
75
|
-
readonly checkDatasetEntitlements: (
|
76
|
-
datasets: DatasetSpecification[],
|
77
|
-
) => Promise<DatasetEntitlementReport[]>;
|
78
|
-
|
79
76
|
readonly initialDatasets?: DatasetSpecification[] | undefined;
|
77
|
+
readonly mapping: string;
|
78
|
+
readonly runtime: string;
|
79
|
+
readonly graphData: GraphData;
|
80
|
+
readonly getQuery: () => Promise<RawLambda | undefined>;
|
81
|
+
|
80
82
|
readonly surveyDatasetsState = ActionState.create();
|
81
83
|
readonly checkEntitlementsState = ActionState.create();
|
82
84
|
|
@@ -87,10 +89,10 @@ export class DataAccessState {
|
|
87
89
|
graphManagerState: BasicGraphManagerState,
|
88
90
|
options: {
|
89
91
|
initialDatasets?: DatasetSpecification[] | undefined;
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
) => Promise<
|
92
|
+
mapping: string;
|
93
|
+
runtime: string;
|
94
|
+
graphData: GraphData;
|
95
|
+
getQuery: () => Promise<RawLambda | undefined>;
|
94
96
|
},
|
95
97
|
) {
|
96
98
|
makeObservable(this, {
|
@@ -106,8 +108,10 @@ export class DataAccessState {
|
|
106
108
|
this.datasets = (options.initialDatasets ?? []).map(
|
107
109
|
(dataset) => new DatasetAccessInfo(dataset),
|
108
110
|
);
|
109
|
-
this.
|
110
|
-
this.
|
111
|
+
this.mapping = options.mapping;
|
112
|
+
this.runtime = options.runtime;
|
113
|
+
this.graphData = options.graphData;
|
114
|
+
this.getQuery = options.getQuery;
|
111
115
|
}
|
112
116
|
|
113
117
|
get entitlementCheckInfo(): EntitlementCheckInfo {
|
@@ -249,7 +253,13 @@ export class DataAccessState {
|
|
249
253
|
this.surveyDatasetsState.inProgress();
|
250
254
|
|
251
255
|
try {
|
252
|
-
const datasets =
|
256
|
+
const datasets =
|
257
|
+
(yield this.graphManagerState.graphManager.surveyDatasets(
|
258
|
+
this.mapping,
|
259
|
+
this.runtime,
|
260
|
+
(yield this.getQuery()) as RawLambda | undefined,
|
261
|
+
this.graphData,
|
262
|
+
)) as DatasetSpecification[];
|
253
263
|
this.datasets = datasets.map((dataset) => {
|
254
264
|
const existingDataset = this.datasets.find(
|
255
265
|
(ds) => ds.specification.hashCode === dataset.hashCode,
|
@@ -271,9 +281,14 @@ export class DataAccessState {
|
|
271
281
|
this.checkEntitlementsState.inProgress();
|
272
282
|
|
273
283
|
try {
|
274
|
-
const reports =
|
275
|
-
this.
|
276
|
-
|
284
|
+
const reports =
|
285
|
+
(yield this.graphManagerState.graphManager.checkDatasetEntitlements(
|
286
|
+
this.datasets.map((dataset) => dataset.specification),
|
287
|
+
this.mapping,
|
288
|
+
this.runtime,
|
289
|
+
(yield this.getQuery()) as RawLambda | undefined,
|
290
|
+
this.graphData,
|
291
|
+
)) as DatasetEntitlementReport[];
|
277
292
|
this.datasets.forEach((dataset) => {
|
278
293
|
const matchingReport = reports.find(
|
279
294
|
(report) =>
|
@@ -19,12 +19,7 @@ import { makeObservable, observable, action, computed } from 'mobx';
|
|
19
19
|
import { QUERY_BUILDER_STATE_HASH_STRUCTURE } from '../QueryBuilderStateHashUtils.js';
|
20
20
|
import type { QueryBuilderState } from '../QueryBuilderState.js';
|
21
21
|
import { DataAccessState } from '../data-access/DataAccessState.js';
|
22
|
-
import {
|
23
|
-
RuntimePointer,
|
24
|
-
type DatasetEntitlementReport,
|
25
|
-
type DatasetSpecification,
|
26
|
-
InMemoryGraphData,
|
27
|
-
} from '@finos/legend-graph';
|
22
|
+
import { RuntimePointer, InMemoryGraphData } from '@finos/legend-graph';
|
28
23
|
|
29
24
|
export class QueryBuilderCheckEntitlementsState implements Hashable {
|
30
25
|
readonly queryBuilderState: QueryBuilderState;
|
@@ -51,34 +46,17 @@ export class QueryBuilderCheckEntitlementsState implements Hashable {
|
|
51
46
|
this.queryBuilderState.mapping &&
|
52
47
|
this.queryBuilderState.runtimeValue instanceof RuntimePointer
|
53
48
|
) {
|
54
|
-
const mappingPath = this.queryBuilderState.mapping.path;
|
55
|
-
const runtimePath =
|
56
|
-
this.queryBuilderState.runtimeValue.packageableRuntime.value.path;
|
57
49
|
this.dataAccessState = new DataAccessState(
|
58
50
|
this.queryBuilderState.applicationStore,
|
59
51
|
this.queryBuilderState.graphManagerState,
|
60
52
|
{
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
),
|
69
|
-
),
|
70
|
-
checkDatasetEntitlements: async (
|
71
|
-
datasets: DatasetSpecification[],
|
72
|
-
): Promise<DatasetEntitlementReport[]> =>
|
73
|
-
this.queryBuilderState.graphManagerState.graphManager.checkDatasetEntitlements(
|
74
|
-
datasets,
|
75
|
-
mappingPath,
|
76
|
-
runtimePath,
|
77
|
-
this.queryBuilderState.buildQuery(),
|
78
|
-
new InMemoryGraphData(
|
79
|
-
this.queryBuilderState.graphManagerState.graph,
|
80
|
-
),
|
81
|
-
),
|
53
|
+
mapping: this.queryBuilderState.mapping.path,
|
54
|
+
runtime:
|
55
|
+
this.queryBuilderState.runtimeValue.packageableRuntime.value.path,
|
56
|
+
getQuery: async () => this.queryBuilderState.buildQuery(),
|
57
|
+
graphData: new InMemoryGraphData(
|
58
|
+
this.queryBuilderState.graphManagerState.graph,
|
59
|
+
),
|
82
60
|
},
|
83
61
|
);
|
84
62
|
}
|
@@ -284,6 +284,9 @@ export class QueryBuilderWindowColumnState
|
|
284
284
|
compatibleAggCol,
|
285
285
|
),
|
286
286
|
);
|
287
|
+
this.setColumnName(
|
288
|
+
`${windowOp.getLabel()} of ${compatibleAggCol.columnName}`,
|
289
|
+
);
|
287
290
|
}
|
288
291
|
} else {
|
289
292
|
this.setOperatorState(
|
@@ -292,6 +295,7 @@ export class QueryBuilderWindowColumnState
|
|
292
295
|
windowOp,
|
293
296
|
),
|
294
297
|
);
|
298
|
+
this.setColumnName(`${windowOp.getLabel()}`);
|
295
299
|
}
|
296
300
|
}
|
297
301
|
}
|