@finos/legend-query-builder 4.0.4 → 4.0.6

Sign up to get free protection for your applications and to get access to all the features.
package/lib/index.css CHANGED
@@ -1 +1,17 @@
1
+ /** @license @finos/legend-query-builder v4.0.6
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
+
1
17
  .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%;background:var(--color-dark-grey-300)}.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;height:100%;align-items:flex-start;padding:.5rem;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);font-size:1rem;font-weight:500;cursor:default;user-select:none}.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__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}.lambda-editor--dark{border:.1rem solid var(--color-dark-grey-280)}.lambda-editor--dark .monaco-editor .margin,.lambda-editor--dark .monaco-editor .monaco-editor-background{background:var(--color-dark-grey-50) !important}.lambda-editor--dark .lambda-editor__editor__input{background:var(--color-dark-grey-50)}.lambda-editor--dark .lambda-editor__editor__info{background:var(--color-dark-grey-50);border-left:.1rem solid var(--color-dark-grey-85)}.lambda-editor--dark .lambda-editor__error-feedback{background:var(--color-red-200)}.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{display:flex;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{display:flex}.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__content__container .tree-view__node__icon{padding:0}.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;z-index:1}.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__sql__modal{overflow:auto}.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__sql__actions{height:2.2rem;padding:0 .7rem}.query-builder__result__sql__actions svg{font-size:1.8rem}.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__sql__container{width:95%;margin:1% auto 0}.query-builder__sql__container__icon svg{margin-left:.5rem;color:var(--color-light-grey-400) !important}.query-builder__sql__container__icon svg:hover{color:var(--color-white)}.query-builder__sql__container__table{width:100%}.query-builder__sql__container__item{width:100%;border:.1rem solid var(--color-dark-grey-300);border-radius:.3rem;font-family:monospace;font-size:1.3rem;padding:1rem;margin:5px 0;line-height:1.8rem}.query-builder__sql__container__item .decorationsOverviewRuler{display:none !important}.query-builder__sql__container__item__label{color:var(--color-light-grey-400)}.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__container{display:flex;align-items:center;justify-content:center;height:3.4rem}.query-builder__olap__column__drag-handle__container .dnd__entry-drag-handle{background:var(--color-dark-grey-200)}.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__container{display:flex;align-items:center;justify-content:center;height:3.4rem}.query-builder__projection__column__drag-handle__container .dnd__entry-drag-handle{background:var(--color-dark-grey-200)}.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:40vw;height:75rem;padding:0;overflow:hidden}.query-builder-graph-fetch-config .input{width:100%}.query-builder-graph-fetch-config__content{height:65rem}.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": "4.0.4",
3
+ "version": "4.0.6",
4
4
  "description": "Legend query builder core",
5
5
  "keywords": [
6
6
  "legend",
@@ -16,6 +16,11 @@
16
16
  import { type Hashable } from '@finos/legend-shared';
17
17
  import type { QueryBuilderState } from './QueryBuilderState.js';
18
18
  import { type LambdaParameterState, LambdaParametersState } from './shared/LambdaParameterState.js';
19
+ import type { ValueSpecification, VariableExpression } from '@finos/legend-graph';
20
+ export interface QueryBuilderParameterValue {
21
+ variable: string | VariableExpression;
22
+ value: ValueSpecification | undefined;
23
+ }
19
24
  export declare class QueryBuilderParametersState extends LambdaParametersState implements Hashable {
20
25
  readonly queryBuilderState: QueryBuilderState;
21
26
  selectedParameter: LambdaParameterState | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderParametersState.d.ts","sourceRoot":"","sources":["../../src/stores/QueryBuilderParametersState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,KAAK,QAAQ,EAAa,MAAM,sBAAsB,CAAC;AAGhE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAChE,OAAO,EACL,KAAK,oBAAoB,EACzB,qBAAqB,EACtB,MAAM,kCAAkC,CAAC;AAE1C,qBAAa,2BACX,SAAQ,qBACR,YAAW,QAAQ;IAEnB,QAAQ,CAAC,iBAAiB,EAAE,iBAAiB,CAAC;IAE9C,iBAAiB,EAAE,oBAAoB,GAAG,SAAS,CAAC;gBAExC,iBAAiB,EAAE,iBAAiB;IAiBhD,IAAa,QAAQ,IAAI,MAAM,CAK9B;IAED,oBAAoB,CAAC,GAAG,EAAE,oBAAoB,GAAG,SAAS,GAAG,IAAI;CAGlE"}
1
+ {"version":3,"file":"QueryBuilderParametersState.d.ts","sourceRoot":"","sources":["../../src/stores/QueryBuilderParametersState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,KAAK,QAAQ,EAAa,MAAM,sBAAsB,CAAC;AAGhE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAChE,OAAO,EACL,KAAK,oBAAoB,EACzB,qBAAqB,EACtB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,KAAK,EACV,kBAAkB,EAClB,kBAAkB,EACnB,MAAM,qBAAqB,CAAC;AAE7B,MAAM,WAAW,0BAA0B;IACzC,QAAQ,EAAE,MAAM,GAAG,kBAAkB,CAAC;IACtC,KAAK,EAAE,kBAAkB,GAAG,SAAS,CAAC;CACvC;AAED,qBAAa,2BACX,SAAQ,qBACR,YAAW,QAAQ;IAEnB,QAAQ,CAAC,iBAAiB,EAAE,iBAAiB,CAAC;IAE9C,iBAAiB,EAAE,oBAAoB,GAAG,SAAS,CAAC;gBAExC,iBAAiB,EAAE,iBAAiB;IAiBhD,IAAa,QAAQ,IAAI,MAAM,CAK9B;IAED,oBAAoB,CAAC,GAAG,EAAE,oBAAoB,GAAG,SAAS,GAAG,IAAI;CAGlE"}
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderParametersState.js","sourceRoot":"","sources":["../../src/stores/QueryBuilderParametersState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAiB,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AACpE,OAAO,EAAE,kCAAkC,EAAE,MAAM,iCAAiC,CAAC;AAErF,OAAO,EAEL,qBAAqB,GACtB,MAAM,kCAAkC,CAAC;AAE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AAe,EAAE,UAAU;YAC3B,YAAY,EAAE,MAAM;YACpB,eAAe,EAAE,MAAM;YACvB,aAAa,EAAE,MAAM;YACrB,iBAAiB,EAAE,UAAU;YAC7B,oBAAoB,EAAE,MAAM;YAC5B,QAAQ,EAAE,QAAQ;SACnB,CAAC,CAAC;QAEH,IAAI,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;IAC7C,CAAC;IAED,IAAa,QAAQ;QACnB,OAAO,SAAS,CAAC;YACf,kCAAkC,CAAC,gBAAgB;YACnD,SAAS,CAAC,IAAI,CAAC,eAAe,CAAC;SAChC,CAAC,CAAC;IACL,CAAC;IAED,oBAAoB,CAAC,GAAqC;QACxD,IAAI,CAAC,iBAAiB,GAAG,GAAG,CAAC;IAC/B,CAAC;CACF"}
@@ -21,7 +21,7 @@ import { QueryBuilderTextEditorState } from './QueryBuilderTextEditorState.js';
21
21
  import { QueryBuilderExplorerState } from './explorer/QueryBuilderExplorerState.js';
22
22
  import { QueryBuilderResultState } from './QueryBuilderResultState.js';
23
23
  import { QueryBuilderUnsupportedQueryState } from './QueryBuilderUnsupportedQueryState.js';
24
- import { type Class, type Mapping, type Runtime, type GraphManagerState, RawLambda, VariableExpression, ObserverContext, type Type } from '@finos/legend-graph';
24
+ import { type Class, type Mapping, type Runtime, type GraphManagerState, RawLambda, VariableExpression, ObserverContext, type ValueSpecification, type Type } from '@finos/legend-graph';
25
25
  import type { CommandRegistrar, GenericLegendApplicationStore } from '@finos/legend-application';
26
26
  import { QueryFunctionsExplorerState } from './explorer/QueryFunctionsExplorerState.js';
27
27
  import { QueryBuilderParametersState } from './QueryBuilderParametersState.js';
@@ -93,18 +93,20 @@ export declare abstract class QueryBuilderState implements CommandRegistrar {
93
93
  keepQueryContent?: boolean;
94
94
  }): void;
95
95
  changeRuntime(val: Runtime): void;
96
+ getCurrentParameterValues(): Map<string, ValueSpecification> | undefined;
96
97
  buildQuery(options?: {
97
98
  keepSourceInformation: boolean;
98
99
  }): RawLambda;
99
100
  buildFromQuery(): RawLambda;
100
101
  getQueryReturnType(): Type;
101
- initializeWithQuery(query: RawLambda): void;
102
+ initializeWithQuery(query: RawLambda, defaultParameterValues?: Map<string, ValueSpecification>): void;
102
103
  /**
103
104
  * Process the provided query, and rebuild the query builder state.
104
105
  */
105
106
  rebuildWithQuery(query: RawLambda, options?: {
106
107
  preserveParameterValues?: boolean | undefined;
107
108
  preserveResult?: boolean | undefined;
109
+ defaultParameterValues?: Map<string, ValueSpecification> | undefined;
108
110
  }): void;
109
111
  compileQuery(): GeneratorFn<void>;
110
112
  get allValidationIssues(): string[];
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderState.d.ts","sourceRoot":"","sources":["../../src/stores/QueryBuilderState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAUH,OAAO,EACL,KAAK,WAAW,EAMhB,WAAW,EAGZ,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,EAAE,+BAA+B,EAAE,MAAM,sDAAsD,CAAC;AACvG,OAAO,EAEL,2BAA2B,EAC5B,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,yBAAyB,EAAE,MAAM,yCAAyC,CAAC;AACpF,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AAKvE,OAAO,EAAE,iCAAiC,EAAE,MAAM,wCAAwC,CAAC;AAC3F,OAAO,EACL,KAAK,KAAK,EACV,KAAK,OAAO,EACZ,KAAK,OAAO,EACZ,KAAK,iBAAiB,EAKtB,SAAS,EACT,kBAAkB,EAElB,eAAe,EAMf,KAAK,IAAI,EAQV,MAAM,qBAAqB,CAAC;AAE7B,OAAO,KAAK,EACV,gBAAgB,EAChB,6BAA6B,EAC9B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,2BAA2B,EAAE,MAAM,2CAA2C,CAAC;AACxF,OAAO,EAAE,2BAA2B,EAAE,MAAM,kCAAkC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,SAAS,CAAC;QAC9C,cAAc,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;QACrC,sBAAsB,CAAC,EAAE,GAAG,CAAC,MAAM,EAAE,kBAAkB,CAAC,GAAG,SAAS,CAAC;KACtE,GACA,IAAI;IAyEN,YAAY,IAAI,WAAW,CAAC,IAAI,CAAC;IAwFlC,IAAI,mBAAmB,IAAI,MAAM,EAAE,CAElC;IAED;;;;OAIG;IACH,kCAAkC,IAAI,iBAAiB;IAYvD,IAAI,QAAQ,IAAI,MAAM,CAWrB;CACF;AAED;;;;;;;;;GASG;AACH,qBAAa,gCAAiC,SAAQ,iBAAiB;CAAG"}
@@ -25,7 +25,7 @@ import { QueryBuilderUnsupportedQueryState } from './QueryBuilderUnsupportedQuer
25
25
  import { GRAPH_MANAGER_EVENT, CompilationError, extractSourceInformationCoordinates, LambdaFunctionInstanceValue, RawLambda, VariableExpression, observe_ValueSpecification, ObserverContext, isStubbed_RawLambda, buildLambdaVariableExpressions, buildRawLambdaFromLambdaFunction, PrimitiveType, SimpleFunctionExpression, extractElementNameFromPath, SUPPORTED_FUNCTIONS, PackageableElementExplicitReference, InstanceValue, Multiplicity, RuntimePointer, } from '@finos/legend-graph';
26
26
  import { buildLambdaFunction } from './QueryBuilderValueSpecificationBuilder.js';
27
27
  import { QueryFunctionsExplorerState } from './explorer/QueryFunctionsExplorerState.js';
28
- import { QueryBuilderParametersState } from './QueryBuilderParametersState.js';
28
+ import { QueryBuilderParametersState, } from './QueryBuilderParametersState.js';
29
29
  import { getQueryBuilderCoreFilterOperators } from './filter/QueryBuilderFilterOperatorLoader.js';
30
30
  import { QueryBuilderChangeDetectionState } from './QueryBuilderChangeDetectionState.js';
31
31
  import { QueryBuilderMilestoningState } from './milestoning/QueryBuilderMilestoningState.js';
@@ -255,6 +255,19 @@ export class QueryBuilderState {
255
255
  this.resetQueryResult();
256
256
  this.setRuntimeValue(val);
257
257
  }
258
+ getCurrentParameterValues() {
259
+ if (this.parametersState.parameterStates.length) {
260
+ const result = new Map();
261
+ this.parametersState.parameterStates.forEach((paramState) => {
262
+ const val = paramState.value;
263
+ if (val) {
264
+ result.set(paramState.variableName, val);
265
+ }
266
+ });
267
+ return result;
268
+ }
269
+ return undefined;
270
+ }
258
271
  buildQuery(options) {
259
272
  if (!this.isQuerySupported) {
260
273
  const parameters = this.parametersState.parameterStates.map((e) => this.graphManagerState.graphManager.serializeValueSpecification(e.parameter));
@@ -295,8 +308,10 @@ export class QueryBuilderState {
295
308
  }
296
309
  return PrimitiveType.STRING;
297
310
  }
298
- initializeWithQuery(query) {
299
- this.rebuildWithQuery(query);
311
+ initializeWithQuery(query, defaultParameterValues) {
312
+ this.rebuildWithQuery(query, {
313
+ defaultParameterValues,
314
+ });
300
315
  this.resetQueryResult();
301
316
  this.changeDetectionState.initialize(query);
302
317
  }
@@ -304,20 +319,35 @@ export class QueryBuilderState {
304
319
  * Process the provided query, and rebuild the query builder state.
305
320
  */
306
321
  rebuildWithQuery(query, options) {
307
- const previousStateParameterValues = new Map();
322
+ let previousStateParameterValues = undefined;
308
323
  try {
324
+ const paramValues = new Map();
309
325
  if (options?.preserveParameterValues) {
310
- // Preserving parameter values
311
326
  this.parametersState.parameterStates.forEach((ps) => {
312
- previousStateParameterValues.set(ps.parameter, ps.value);
327
+ paramValues.set(ps.parameter.name, {
328
+ variable: ps.parameter,
329
+ value: ps.value,
330
+ });
331
+ });
332
+ previousStateParameterValues = paramValues;
333
+ }
334
+ else if (options?.defaultParameterValues?.size) {
335
+ Array.from(options.defaultParameterValues.entries()).forEach(([k, v]) => {
336
+ paramValues.set(k, {
337
+ variable: k,
338
+ value: v,
339
+ });
313
340
  });
341
+ previousStateParameterValues = paramValues;
314
342
  }
315
343
  this.resetQueryResult({ preserveResult: options?.preserveResult });
316
344
  this.resetQueryContent();
317
345
  if (!isStubbed_RawLambda(query)) {
318
346
  const valueSpec = observe_ValueSpecification(this.graphManagerState.graphManager.buildValueSpecification(this.graphManagerState.graphManager.serializeRawValueSpecification(query), this.graphManagerState.graph), this.observerContext);
319
347
  const compiledValueSpecification = guaranteeType(valueSpec, LambdaFunctionInstanceValue, `Can't build query state: query builder only support lambda`);
320
- processQueryLambdaFunction(guaranteeNonNullable(compiledValueSpecification.values[0]), this, previousStateParameterValues);
348
+ processQueryLambdaFunction(guaranteeNonNullable(compiledValueSpecification.values[0]), this, {
349
+ parameterValues: previousStateParameterValues,
350
+ });
321
351
  }
322
352
  if (this.parametersState.parameterStates.length > 0) {
323
353
  this.setShowParametersPanel(true);
@@ -333,7 +363,9 @@ export class QueryBuilderState {
333
363
  const parameters = buildLambdaVariableExpressions(query, this.graphManagerState)
334
364
  .map((param) => observe_ValueSpecification(param, this.observerContext))
335
365
  .filter(filterByType(VariableExpression));
336
- processParameters(parameters, this, previousStateParameterValues);
366
+ processParameters(parameters, this, {
367
+ parameterValues: previousStateParameterValues,
368
+ });
337
369
  }
338
370
  }
339
371
  *compileQuery() {
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderState.js","sourceRoot":"","sources":["../../src/stores/QueryBuilderState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,MAAM,EACN,IAAI,EACJ,UAAU,EACV,cAAc,EACd,QAAQ,EACR,UAAU,GACX,MAAM,MAAM,CAAC;AACd,OAAO,EAEL,QAAQ,EACR,iBAAiB,EACjB,oBAAoB,EACpB,aAAa,EACb,YAAY,EACZ,WAAW,EACX,SAAS,EACT,UAAU,GACX,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,EAAE,+BAA+B,EAAE,MAAM,sDAAsD,CAAC;AACvG,OAAO,EACL,0BAA0B,EAC1B,2BAA2B,GAC5B,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,yBAAyB,EAAE,MAAM,yCAAyC,CAAC;AACpF,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AACvE,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CAAC,CAAC;IACL,CAAC;CACF;AAED;;;;;;;;;GASG;AACH,MAAM,OAAO,gCAAiC,SAAQ,iBAAiB;CAAG"}
@@ -14,7 +14,8 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  import type { QueryBuilderState } from './QueryBuilderState.js';
17
- import { type EnumValueInstanceValue, type FunctionExpression, type GraphFetchTreeInstanceValue, type ValueSpecificationVisitor, type InstanceValue, type INTERNAL__UnknownValueSpecification, type LambdaFunction, type KeyExpressionInstanceValue, type CollectionInstanceValue, type LambdaFunctionInstanceValue, PrimitiveInstanceValue, SimpleFunctionExpression, type VariableExpression, type AbstractPropertyExpression, type INTERNAL__PropagatedValue, type ValueSpecification } from '@finos/legend-graph';
17
+ import { type EnumValueInstanceValue, type FunctionExpression, type GraphFetchTreeInstanceValue, type ValueSpecificationVisitor, type InstanceValue, type INTERNAL__UnknownValueSpecification, type LambdaFunction, type KeyExpressionInstanceValue, type CollectionInstanceValue, type LambdaFunctionInstanceValue, PrimitiveInstanceValue, SimpleFunctionExpression, VariableExpression, type AbstractPropertyExpression, type INTERNAL__PropagatedValue, type ValueSpecification } from '@finos/legend-graph';
18
+ import type { QueryBuilderParameterValue } from './QueryBuilderParametersState.js';
18
19
  /**
19
20
  * This is the value specification processor (a.k.a state builder) for query builder.
20
21
  *
@@ -115,6 +116,10 @@ export declare class QueryBuilderValueSpecificationProcessor implements ValueSpe
115
116
  visit_LambdaFunctionInstanceValue(valueSpecification: LambdaFunctionInstanceValue): void;
116
117
  visit_GraphFetchTreeInstanceValue(valueSpecification: GraphFetchTreeInstanceValue): void;
117
118
  }
118
- export declare const processParameters: (parameters: VariableExpression[], queryBuilderState: QueryBuilderState, parameterValues?: Map<VariableExpression, ValueSpecification | undefined>) => void;
119
- export declare const processQueryLambdaFunction: (lambdaFunction: LambdaFunction, queryBuilderState: QueryBuilderState, parameterValues?: Map<VariableExpression, ValueSpecification | undefined>) => void;
119
+ export declare const processParameters: (parameters: VariableExpression[], queryBuilderState: QueryBuilderState, options?: {
120
+ parameterValues?: Map<string, QueryBuilderParameterValue> | undefined;
121
+ }) => void;
122
+ export declare const processQueryLambdaFunction: (lambdaFunction: LambdaFunction, queryBuilderState: QueryBuilderState, parameterOptions?: {
123
+ parameterValues?: Map<string, QueryBuilderParameterValue> | undefined;
124
+ }) => void;
120
125
  //# sourceMappingURL=QueryBuilderStateBuilder.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderStateBuilder.d.ts","sourceRoot":"","sources":["../../src/stores/QueryBuilderStateBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAWH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAChE,OAAO,EACL,KAAK,sBAAsB,EAC3B,KAAK,kBAAkB,EACvB,KAAK,2BAA2B,EAChC,KAAK,yBAAyB,EAC9B,KAAK,aAAa,EAClB,KAAK,mCAAmC,EACxC,KAAK,cAAc,EACnB,KAAK,0BAA0B,EAG/B,KAAK,uBAAuB,EAC5B,KAAK,2BAA2B,EAChC,sBAAsB,EACtB,wBAAwB,EACxB,KAAK,kBAAkB,EACvB,KAAK,0BAA0B,EAE/B,KAAK,yBAAyB,EAC9B,KAAK,kBAAkB,EAExB,MAAM,qBAAqB,CAAC;AAkG7B;;;;;;;;;;;;;GAaG;AACH,qBAAa,uCACX,YAAW,yBAAyB,CAAC,IAAI,CAAC;IAE1C,QAAQ,CAAC,iBAAiB,EAAE,iBAAiB,CAAC;IAC9C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA4DG;IACH,QAAQ,CAAC,gBAAgB,CAAC,EAAE,wBAAwB,GAAG,SAAS,CAAC;IACjE,QAAQ,CAAC,YAAY,EAAE,cAAc,CAAC;IAEtC,OAAO;IAUP,MAAM,CAAC,OAAO,CACZ,kBAAkB,EAAE,kBAAkB,EACtC,YAAY,EAAE,cAAc,EAC5B,iBAAiB,EAAE,i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BP,+BAA+B,CAC7B,kBAAkB,EAAE,yBAAyB,GAC5C,IAAI;IAIP,wBAAwB,CAAC,kBAAkB,EAAE,kBAAkB,GAAG,IAAI;IAItE,8BAA8B,CAC5B,kBAAkB,EAAE,wBAAwB,GAC3C,IAAI;IA+PP,wBAAwB,CAAC,kBAAkB,EAAE,kBAAkB,GAAG,IAAI;IAItE,gCAAgC,CAC9B,kBAAkB,EAAE,0BAA0B,GAC7C,IAAI;IA4BP,mBAAmB,CAAC,kBAAkB,EAAE,aAAa,GAAG,IAAI;IAI5D,gCAAgC,CAC9B,kBAAkB,EAAE,0BAA0B,GAC7C,IAAI;IAIP,6BAA6B,CAC3B,kBAAkB,EAAE,uBAAuB,GAC1C,IAAI;IAIP,4BAA4B,CAC1B,kBAAkB,EAAE,sBAAsB,GACzC,IAAI;IAIP,4BAA4B,CAC1B,kBAAkB,EAAE,sBAAsB,GACzC,IAAI;IAIP,iCAAiC,CAC/B,kBAAkB,EAAE,2BAA2B,GAC9C,IAAI;IAcP,iCAAiC,CAC/B,kBAAkB,EAAE,2BAA2B,GAC9C,IAAI;CAGR;AAED,eAAO,MAAM,iBAAiB,eAChB,kBAAkB,EAAE,qBACb,iBAAiB,YAC1B;IACR,eAAe,CAAC,EAAE,IAAI,MAAM,EAAE,0BAA0B,CAAC,GAAG,SAAS,CAAC;CACvE,KACA,IAuCF,CAAC;AAEF,eAAO,MAAM,0BAA0B,mBACrB,cAAc,qBACX,iBAAiB,qBACjB;IACjB,eAAe,CAAC,EAAE,IAAI,MAAM,EAAE,0BAA0B,CAAC,GAAG,SAAS,CAAC;CACvE,KACA,IAeF,CAAC"}
@@ -13,8 +13,8 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- import { assertNonNullable, assertTrue, assertType, guaranteeIsString, guaranteeNonNullable, guaranteeType, UnsupportedOperationError, } from '@finos/legend-shared';
17
- import { matchFunctionName, Class, PrimitiveInstanceValue, SimpleFunctionExpression, getMilestoneTemporalStereotype, SUPPORTED_FUNCTIONS, } from '@finos/legend-graph';
16
+ import { assertNonNullable, assertTrue, assertType, guaranteeIsString, guaranteeNonNullable, guaranteeType, isString, UnsupportedOperationError, } from '@finos/legend-shared';
17
+ import { matchFunctionName, Class, PrimitiveInstanceValue, SimpleFunctionExpression, VariableExpression, getMilestoneTemporalStereotype, SUPPORTED_FUNCTIONS, isSuperType, } from '@finos/legend-graph';
18
18
  import { processTDSPostFilterExpression } from './fetch-structure/tds/post-filter/QueryBuilderPostFilterStateBuilder.js';
19
19
  import { processFilterExpression } from './filter/QueryBuilderFilterStateBuilder.js';
20
20
  import { processTDSAggregateExpression, processTDSGroupByExpression, } from './fetch-structure/tds/aggregation/QueryBuilderAggregationStateBuilder.js';
@@ -317,14 +317,26 @@ export class QueryBuilderValueSpecificationProcessor {
317
317
  throw new UnsupportedOperationError();
318
318
  }
319
319
  }
320
- export const processParameters = (parameters, queryBuilderState, parameterValues) => {
320
+ export const processParameters = (parameters, queryBuilderState, options) => {
321
321
  const queryParameterState = queryBuilderState.parametersState;
322
322
  parameters.forEach((parameter) => {
323
323
  let matchingParameterValue;
324
- if (parameterValues) {
325
- Array.from(parameterValues.entries()).forEach(([key, value]) => {
326
- if (checkIfEquivalent(key, parameter)) {
327
- matchingParameterValue = value;
324
+ if (options?.parameterValues) {
325
+ Array.from(options.parameterValues.entries()).forEach(([key, value]) => {
326
+ const variable = value.variable;
327
+ if (variable instanceof VariableExpression &&
328
+ checkIfEquivalent(variable, parameter)) {
329
+ matchingParameterValue = value.value;
330
+ }
331
+ else if (isString(variable) && variable === parameter.name) {
332
+ // TODO: we may want to do further checks here like multiplicity checks
333
+ const instanceType = value.value?.genericType?.value.rawType;
334
+ const paramType = parameter.genericType?.value.rawType;
335
+ if (instanceType &&
336
+ paramType &&
337
+ isSuperType(paramType, instanceType)) {
338
+ matchingParameterValue = value.value;
339
+ }
328
340
  }
329
341
  });
330
342
  }
@@ -339,9 +351,9 @@ export const processParameters = (parameters, queryBuilderState, parameterValues
339
351
  });
340
352
  queryBuilderState.parametersState = queryParameterState;
341
353
  };
342
- export const processQueryLambdaFunction = (lambdaFunction, queryBuilderState, parameterValues) => {
354
+ export const processQueryLambdaFunction = (lambdaFunction, queryBuilderState, parameterOptions) => {
343
355
  if (lambdaFunction.functionType.parameters.length) {
344
- processParameters(lambdaFunction.functionType.parameters, queryBuilderState, parameterValues);
356
+ processParameters(lambdaFunction.functionType.parameters, queryBuilderState, parameterOptions);
345
357
  }
346
358
  lambdaFunction.expressionSequence.map((expression) => QueryBuilderValueSpecificationProcessor.process(expression, lambdaFunction, queryBuilderState));
347
359
  };
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderStateBuilder.js","sourceRoot":"","sources":["../../src/stores/QueryBuilderStateBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,iBAAiB,EACjB,UAAU,EACV,UAAU,EACV,iBAAiB,EACjB,oBAAoB,EACpB,aAAa,EACb,yBAAyB,GAC1B,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EASL,iBAAiB,EACjB,KAAK,EAGL,sBAAsB,EACtB,wBAAwB,EAGxB,8BAA8B,EAG9B,mBAAmB,GACpB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,8BAA8B,EAAE,MAAM,yEAAyE,CAAC;AACzH,OAAO,EAAE,uBAAuB,EAAE,MAAM,4CAA4C,CAAC;AACrF,OAAO,EACL,6BAA6B,EAC7B,2BAA2B,GAC5B,MAAM,0EAA0E,CAAC;AAClF,OAAO,EACL,2BAA2B,EAC3B,sCAAsC,EACtC,oCAAoC,GACrC,MAAM,yEAAyE,CAAC;AACjF,OAAO,EACL,4BAA4B,EAC5B,2BAA2B,EAC3B,4CAA4C,EAC5C,wCAAwC,EACxC,iCAAiC,EACjC,wBAAwB,EACxB,wBAAwB,GACzB,MAAM,wEAAwE,CAAC;AAChF,OAAO,EACL,iCAAiC,EACjC,sDAAsD,GACvD,M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AAC,CAAC,CAAC;SACJ;QACD,MAAM,cAAc,GAAG,IAAI,oBAAoB,CAC7C,SAAS,EACT,iBAAiB,CAAC,eAAe,EACjC,iBAAiB,CAAC,iBAAiB,CAAC,KAAK,CAC1C,CAAC;QACF,IAAI,sBAAsB,EAAE;YAC1B,cAAc,CAAC,QAAQ,CAAC,sBAAsB,CAAC,CAAC;SACjD;aAAM;YACL,cAAc,CAAC,kBAAkB,EAAE,CAAC;SACrC;QACD,mBAAmB,CAAC,YAAY,CAAC,cAAc,CAAC,CAAC;IACnD,CAAC,CAAC,CAAC;IACH,iBAAiB,CAAC,eAAe,GAAG,mBAAmB,CAAC;AAC1D,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,0BAA0B,GAAG,CACxC,cAA8B,EAC9B,iBAAoC,EACpC,eAAyE,EACnE,EAAE;IACR,IAAI,cAAc,CAAC,YAAY,CAAC,UAAU,CAAC,MAAM,EAAE;QACjD,iBAAiB,CACf,cAAc,CAAC,YAAY,CAAC,UAAU,EACtC,iBAAiB,EACjB,eAAe,CAChB,CAAC;KACH;IACD,cAAc,CAAC,kBAAkB,CAAC,GAAG,CAAC,CAAC,UAAU,EAAE,EAAE,CACnD,uCAAuC,CAAC,OAAO,CAC7C,UAAU,EACV,cAAc,EACd,iBAAiB,CAClB,CACF,CAAC;AACJ,CAAC,CAAC"}
1
+ {"version":3,"file":"QueryBuilderStateBuilder.js","sourceRoot":"","sources":["../../src/stores/QueryBuilderStateBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,iBAAiB,EACjB,UAAU,EACV,UAAU,EACV,iBAAiB,EACjB,oBAAoB,EACpB,aAAa,EACb,QAAQ,EACR,yBAAyB,GAC1B,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EASL,iBAAiB,EACjB,KAAK,EAGL,sBAAsB,EACtB,wBAAwB,EACxB,kBAAkB,EAElB,8BAA8B,EAG9B,mBAAmB,EACnB,WAAW,GACZ,M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AC,kBAAkB,EAAE,CAAC;SACrC;QACD,mBAAmB,CAAC,YAAY,CAAC,cAAc,CAAC,CAAC;IACnD,CAAC,CAAC,CAAC;IACH,iBAAiB,CAAC,eAAe,GAAG,mBAAmB,CAAC;AAC1D,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,0BAA0B,GAAG,CACxC,cAA8B,EAC9B,iBAAoC,EACpC,gBAEC,EACK,EAAE;IACR,IAAI,cAAc,CAAC,YAAY,CAAC,UAAU,CAAC,MAAM,EAAE;QACjD,iBAAiB,CACf,cAAc,CAAC,YAAY,CAAC,UAAU,EACtC,iBAAiB,EACjB,gBAAgB,CACjB,CAAC;KACH;IACD,cAAc,CAAC,kBAAkB,CAAC,GAAG,CAAC,CAAC,UAAU,EAAE,EAAE,CACnD,uCAAuC,CAAC,OAAO,CAC7C,UAAU,EACV,cAAc,EACd,iBAAiB,CAClB,CACF,CAAC;AACJ,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-query-builder",
3
- "version": "4.0.4",
3
+ "version": "4.0.6",
4
4
  "description": "Legend query builder core",
5
5
  "keywords": [
6
6
  "legend",
@@ -42,13 +42,13 @@
42
42
  "test:watch": "jest --watch"
43
43
  },
44
44
  "dependencies": {
45
- "@finos/legend-application": "15.0.17",
46
- "@finos/legend-art": "7.0.18",
47
- "@finos/legend-graph": "30.0.1",
48
- "@finos/legend-lego": "1.0.14",
49
- "@finos/legend-server-depot": "6.0.10",
50
- "@finos/legend-shared": "10.0.9",
51
- "@finos/legend-storage": "3.0.59",
45
+ "@finos/legend-application": "15.0.19",
46
+ "@finos/legend-art": "7.0.19",
47
+ "@finos/legend-graph": "30.0.3",
48
+ "@finos/legend-lego": "1.0.16",
49
+ "@finos/legend-server-depot": "6.0.11",
50
+ "@finos/legend-shared": "10.0.10",
51
+ "@finos/legend-storage": "3.0.60",
52
52
  "@testing-library/react": "14.0.0",
53
53
  "@types/react": "18.2.7",
54
54
  "@types/react-dom": "18.2.4",
@@ -22,6 +22,15 @@ import {
22
22
  type LambdaParameterState,
23
23
  LambdaParametersState,
24
24
  } from './shared/LambdaParameterState.js';
25
+ import type {
26
+ ValueSpecification,
27
+ VariableExpression,
28
+ } from '@finos/legend-graph';
29
+
30
+ export interface QueryBuilderParameterValue {
31
+ variable: string | VariableExpression;
32
+ value: ValueSpecification | undefined;
33
+ }
25
34
 
26
35
  export class QueryBuilderParametersState
27
36
  extends LambdaParametersState
@@ -79,7 +79,10 @@ import type {
79
79
  GenericLegendApplicationStore,
80
80
  } from '@finos/legend-application';
81
81
  import { QueryFunctionsExplorerState } from './explorer/QueryFunctionsExplorerState.js';
82
- import { QueryBuilderParametersState } from './QueryBuilderParametersState.js';
82
+ import {
83
+ QueryBuilderParametersState,
84
+ type QueryBuilderParameterValue,
85
+ } from './QueryBuilderParametersState.js';
83
86
  import type { QueryBuilderFilterOperator } from './filter/QueryBuilderFilterOperator.js';
84
87
  import { getQueryBuilderCoreFilterOperators } from './filter/QueryBuilderFilterOperatorLoader.js';
85
88
  import { QueryBuilderChangeDetectionState } from './QueryBuilderChangeDetectionState.js';
@@ -371,6 +374,20 @@ export abstract class QueryBuilderState implements CommandRegistrar {
371
374
  this.setRuntimeValue(val);
372
375
  }
373
376
 
377
+ getCurrentParameterValues(): Map<string, ValueSpecification> | undefined {
378
+ if (this.parametersState.parameterStates.length) {
379
+ const result = new Map<string, ValueSpecification>();
380
+ this.parametersState.parameterStates.forEach((paramState) => {
381
+ const val = paramState.value;
382
+ if (val) {
383
+ result.set(paramState.variableName, val);
384
+ }
385
+ });
386
+ return result;
387
+ }
388
+ return undefined;
389
+ }
390
+
374
391
  buildQuery(options?: { keepSourceInformation: boolean }): RawLambda {
375
392
  if (!this.isQuerySupported) {
376
393
  const parameters = this.parametersState.parameterStates.map((e) =>
@@ -444,8 +461,13 @@ export abstract class QueryBuilderState implements CommandRegistrar {
444
461
  return PrimitiveType.STRING;
445
462
  }
446
463
 
447
- initializeWithQuery(query: RawLambda): void {
448
- this.rebuildWithQuery(query);
464
+ initializeWithQuery(
465
+ query: RawLambda,
466
+ defaultParameterValues?: Map<string, ValueSpecification>,
467
+ ): void {
468
+ this.rebuildWithQuery(query, {
469
+ defaultParameterValues,
470
+ });
449
471
  this.resetQueryResult();
450
472
  this.changeDetectionState.initialize(query);
451
473
  }
@@ -458,18 +480,32 @@ export abstract class QueryBuilderState implements CommandRegistrar {
458
480
  options?: {
459
481
  preserveParameterValues?: boolean | undefined;
460
482
  preserveResult?: boolean | undefined;
483
+ defaultParameterValues?: Map<string, ValueSpecification> | undefined;
461
484
  },
462
485
  ): void {
463
- const previousStateParameterValues = new Map<
464
- VariableExpression,
465
- ValueSpecification | undefined
466
- >();
486
+ let previousStateParameterValues:
487
+ | Map<string, QueryBuilderParameterValue>
488
+ | undefined = undefined;
467
489
  try {
490
+ const paramValues = new Map<string, QueryBuilderParameterValue>();
468
491
  if (options?.preserveParameterValues) {
469
- // Preserving parameter values
470
492
  this.parametersState.parameterStates.forEach((ps) => {
471
- previousStateParameterValues.set(ps.parameter, ps.value);
493
+ paramValues.set(ps.parameter.name, {
494
+ variable: ps.parameter,
495
+ value: ps.value,
496
+ });
472
497
  });
498
+ previousStateParameterValues = paramValues;
499
+ } else if (options?.defaultParameterValues?.size) {
500
+ Array.from(options.defaultParameterValues.entries()).forEach(
501
+ ([k, v]) => {
502
+ paramValues.set(k, {
503
+ variable: k,
504
+ value: v,
505
+ });
506
+ },
507
+ );
508
+ previousStateParameterValues = paramValues;
473
509
  }
474
510
  this.resetQueryResult({ preserveResult: options?.preserveResult });
475
511
  this.resetQueryContent();
@@ -492,7 +528,9 @@ export abstract class QueryBuilderState implements CommandRegistrar {
492
528
  processQueryLambdaFunction(
493
529
  guaranteeNonNullable(compiledValueSpecification.values[0]),
494
530
  this,
495
- previousStateParameterValues,
531
+ {
532
+ parameterValues: previousStateParameterValues,
533
+ },
496
534
  );
497
535
  }
498
536
  if (this.parametersState.parameterStates.length > 0) {
@@ -511,7 +549,9 @@ export abstract class QueryBuilderState implements CommandRegistrar {
511
549
  )
512
550
  .map((param) => observe_ValueSpecification(param, this.observerContext))
513
551
  .filter(filterByType(VariableExpression));
514
- processParameters(parameters, this, previousStateParameterValues);
552
+ processParameters(parameters, this, {
553
+ parameterValues: previousStateParameterValues,
554
+ });
515
555
  }
516
556
  }
517
557
 
@@ -21,6 +21,7 @@ import {
21
21
  guaranteeIsString,
22
22
  guaranteeNonNullable,
23
23
  guaranteeType,
24
+ isString,
24
25
  UnsupportedOperationError,
25
26
  } from '@finos/legend-shared';
26
27
  import type { QueryBuilderState } from './QueryBuilderState.js';
@@ -39,12 +40,13 @@ import {
39
40
  type LambdaFunctionInstanceValue,
40
41
  PrimitiveInstanceValue,
41
42
  SimpleFunctionExpression,
42
- type VariableExpression,
43
+ VariableExpression,
43
44
  type AbstractPropertyExpression,
44
45
  getMilestoneTemporalStereotype,
45
46
  type INTERNAL__PropagatedValue,
46
47
  type ValueSpecification,
47
48
  SUPPORTED_FUNCTIONS,
49
+ isSuperType,
48
50
  } from '@finos/legend-graph';
49
51
  import { processTDSPostFilterExpression } from './fetch-structure/tds/post-filter/QueryBuilderPostFilterStateBuilder.js';
50
52
  import { processFilterExpression } from './filter/QueryBuilderFilterStateBuilder.js';
@@ -75,6 +77,7 @@ import { processTDS_OLAPGroupByExpression } from './fetch-structure/tds/window/Q
75
77
  import { processWatermarkExpression } from './watermark/QueryBuilderWatermarkStateBuilder.js';
76
78
  import { QueryBuilderConstantExpressionState } from './QueryBuilderConstantsState.js';
77
79
  import { checkIfEquivalent } from './milestoning/QueryBuilderMilestoningHelper.js';
80
+ import type { QueryBuilderParameterValue } from './QueryBuilderParametersState.js';
78
81
 
79
82
  const processGetAllExpression = (
80
83
  expression: SimpleFunctionExpression,
@@ -654,15 +657,32 @@ export class QueryBuilderValueSpecificationProcessor
654
657
  export const processParameters = (
655
658
  parameters: VariableExpression[],
656
659
  queryBuilderState: QueryBuilderState,
657
- parameterValues?: Map<VariableExpression, ValueSpecification | undefined>,
660
+ options?: {
661
+ parameterValues?: Map<string, QueryBuilderParameterValue> | undefined;
662
+ },
658
663
  ): void => {
659
664
  const queryParameterState = queryBuilderState.parametersState;
660
665
  parameters.forEach((parameter) => {
661
666
  let matchingParameterValue: ValueSpecification | undefined;
662
- if (parameterValues) {
663
- Array.from(parameterValues.entries()).forEach(([key, value]) => {
664
- if (checkIfEquivalent(key, parameter)) {
665
- matchingParameterValue = value;
667
+ if (options?.parameterValues) {
668
+ Array.from(options.parameterValues.entries()).forEach(([key, value]) => {
669
+ const variable = value.variable;
670
+ if (
671
+ variable instanceof VariableExpression &&
672
+ checkIfEquivalent(variable, parameter)
673
+ ) {
674
+ matchingParameterValue = value.value;
675
+ } else if (isString(variable) && variable === parameter.name) {
676
+ // TODO: we may want to do further checks here like multiplicity checks
677
+ const instanceType = value.value?.genericType?.value.rawType;
678
+ const paramType = parameter.genericType?.value.rawType;
679
+ if (
680
+ instanceType &&
681
+ paramType &&
682
+ isSuperType(paramType, instanceType)
683
+ ) {
684
+ matchingParameterValue = value.value;
685
+ }
666
686
  }
667
687
  });
668
688
  }
@@ -684,13 +704,15 @@ export const processParameters = (
684
704
  export const processQueryLambdaFunction = (
685
705
  lambdaFunction: LambdaFunction,
686
706
  queryBuilderState: QueryBuilderState,
687
- parameterValues?: Map<VariableExpression, ValueSpecification | undefined>,
707
+ parameterOptions?: {
708
+ parameterValues?: Map<string, QueryBuilderParameterValue> | undefined;
709
+ },
688
710
  ): void => {
689
711
  if (lambdaFunction.functionType.parameters.length) {
690
712
  processParameters(
691
713
  lambdaFunction.functionType.parameters,
692
714
  queryBuilderState,
693
- parameterValues,
715
+ parameterOptions,
694
716
  );
695
717
  }
696
718
  lambdaFunction.expressionSequence.map((expression) =>