@finos/legend-lego 2.0.148 → 2.0.149

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /** @license @finos/legend-lego v2.0.148
1
+ /** @license @finos/legend-lego v2.0.149
2
2
  * Copyright (c) 2020-present, Goldman Sachs
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,4 +14,4 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- @import"ag-grid-community/styles/ag-grid.css";@import"ag-grid-community/styles/ag-theme-balham.css";.fuzzy-search__advanced-config__panel{width:100%;background:var(--color-dark-grey-250)}.fuzzy-search__advanced-config__panel__header__label{display:flex;align-items:center;font-weight:500;color:var(--color-light-grey-50);background:var(--color-dark-grey-300);padding:0 1rem;line-height:2rem;font-size:1.2rem;cursor:default;user-select:none}.tab-manager{display:flex;flex:1;overflow:hidden;height:100%}.tab-manager__content{width:calc(100% - 2.8rem);display:flex;overflow-x:auto}.tab-manager__tab{display:flex;align-items:center;cursor:pointer;color:var(--color-light-grey-400);background:var(--color-dark-grey-80);border-right:.1rem solid var(--color-dark-grey-50)}.tab-manager__tab--active{color:var(--color-light-grey-100);background:var(--color-dark-grey-50)}.tab-manager__tab--dragged{filter:opacity(0.7)}.tab-manager__tab__content{display:flex;align-items:center;height:100%;width:100%}.tab-manager__tab__label{height:100%;color:inherit;padding:0 .5rem 0 1rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tab-manager__tab__close-btn{display:flex;align-items:center;justify-content:center;visibility:hidden;height:2rem;width:2rem;border-radius:.2rem;margin-right:.4rem}.tab-manager__tab__close-btn svg{color:var(--color-light-grey-200);font-size:1.2rem}.tab-manager__tab__close-btn:hover{background:var(--color-dark-grey-200)}.tab-manager__tab__pin-btn{display:flex;align-items:center;justify-content:center;height:2rem;width:2rem;border-radius:.2rem;margin-right:.4rem}.tab-manager__tab__pin-btn svg{color:var(--color-dark-grey-500);font-size:1.4rem}.tab-manager__tab__pin-btn:hover{background:var(--color-dark-grey-200)}.tab-manager__tab--active .tab-manager__tab__close-btn,.tab-manager__tab:hover .tab-manager__tab__close-btn{visibility:visible}.tab-manager__tab--active .tab-manager__tab__close-btn svg,.tab-manager__tab:hover .tab-manager__tab__close-btn svg{color:var(--color-light-grey-100)}.tab-manager__tab__dnd__placeholder{text-align:left;margin:0;padding:0 .5rem;background:var(--color-dark-grey-100)}.tab-manager__menu{min-width:15rem;max-width:30rem;height:100%;padding:0}.tab-manager__menu__toggler{display:flex;align-items:center;justify-content:center;flex-grow:0;flex-shrink:0;color:var(--color-light-grey-400);border-left:.1rem solid var(--color-dark-grey-50);height:100%;width:2.8rem}.tab-manager__menu__item{justify-content:space-between}.tab-manager__menu__item--active,.tab-manager__menu__item:not([disabled]):hover{background:var(--color-dark-grey-250)}.tab-manager__menu__item__label{text-align:left;white-space:nowrap;font-size:1.3rem;overflow:hidden;text-overflow:ellipsis}.tab-manager__menu__item__close-btn{display:flex;align-items:center;justify-content:center;flex-grow:0;flex-shrink:0;padding:.4rem;margin-left:.6rem}.tab-manager__menu__item__close-btn svg{width:1.2rem;height:1.2rem}.activity-bar__item .activity-bar__item__experimental-badge{display:flex;align-items:center;justify-content:center;position:absolute;top:.6rem;right:.6rem;height:1.6rem;width:1.6rem;border-radius:50%;background:var(--color-mauve-50);border:.1rem solid var(--color-dark-grey-280)}.activity-bar__item .activity-bar__item__experimental-badge svg{font-size:1.2rem;color:var(--color-dark-grey-280)}.undo-redo__button{display:flex;align-items:center;color:var(--color-light-blue-50);margin:0 .5rem;flex-direction:column}.undo-redo__button svg{font-size:1.1rem}.undo-redo__button__label{font-size:1.2rem;font-weight:700;display:inline-block;line-height:1}.undo-redo__button[disabled]{color:var(--color-dark-grey-500)}.documentation-link{display:inline-flex;align-self:center;color:var(--color-dark-grey-500);cursor:pointer}.documentation-link--inline{margin-left:.5rem}.documentation-link:hover{color:var(--color-light-grey-400)}.documentation-preview{display:flex;background:var(--color-dark-grey-85);border:.1rem solid var(--color-dark-grey-280);border-radius:.2rem}.documentation-preview__text{padding:1rem;width:calc(100% - 3rem);color:var(--color-light-grey-400);line-height:2rem}.documentation-preview__hint{display:flex;justify-content:center;padding:1rem 0;width:3rem}.monaco-editor *{font-size:1.4rem}.monaco-editor em{font-style:italic}.monaco-editor strong{font-weight:bold}.monaco-editor--small-font *{font-size:1.2rem}.code-editor{height:100%;width:100%}.code-editor__content{height:100%;width:100%;position:relative;background:var(--color-dark-grey-50)}.code-editor__header{display:flex;align-items:center;justify-content:right;width:100%;height:2.8rem;background:var(--color-dark-grey-50);border-bottom:.1rem solid var(--color-dark-grey-80);border-radius:.2rem .2rem 0 0}.code-editor__header__action{display:flex;align-items:center;justify-content:center;color:var(--color-dark-grey-400);height:2.8rem;width:2.8rem}.code-editor__header__action:hover{color:var(--color-dark-grey-500)}.code-editor__header__action--active,.code-editor__header__action--active:hover{color:var(--color-light-grey-300)}.code-editor__header__action svg{font-size:1.6rem}.code-editor__body{height:100%;width:100%;position:absolute;top:0;left:0;overflow:hidden}.code-editor__content--padding{border-radius:.2rem}.code-editor__content--padding .code-editor__body{border-radius:.2rem}.code-editor__content--with__header{height:calc(100% - 2.8rem)}.code-editor__content--with__header .code-editor__body{border-radius:0 0 .2rem .2rem}.packageable-element-option-label{display:flex;align-items:center}.packageable-element-option-label__tag{display:flex;align-items:center;color:var(--color-dark-grey-500);background:var(--color-light-grey-50);border:.1rem solid var(--color-light-grey-180);margin-left:1rem;border-radius:.2rem;font-size:1rem;padding:0 .5rem;height:1.6rem;font-weight:500}.packageable-element-option-label__name{display:flex;align-items:center;height:1.8rem}.packageable-element-option-label__type{margin:-1rem .8rem -1rem -1.2rem;height:3.2rem;padding-left:.5rem;background:rgba(0,0,0,0)}.packageable-element-option-label__type--system{background:var(--color-system)}.packageable-element-option-label__type--generated{background:var(--color-generated)}.packageable-element-option-label__type--dependency{background:var(--color-dependency)}.packageable-element-option-label--dark{display:flex;align-items:center;display:flex}.packageable-element-option-label--dark__tag{display:flex;align-items:center;color:var(--color-dark-grey-250);background:var(--color-dark-grey-400);margin-left:1rem;border-radius:.2rem;font-size:1rem;padding:0 .5rem;height:1.6rem;font-weight:500}.packageable-element-option-label--dark__name{display:flex;align-items:center;height:1.8rem}/*# sourceMappingURL=index.css.map */
17
+ @import"ag-grid-community/styles/ag-grid.css";@import"ag-grid-community/styles/ag-theme-balham.css";.fuzzy-search__advanced-config__panel{width:100%;background:var(--color-dark-grey-250)}.fuzzy-search__advanced-config__panel__header__label{display:flex;align-items:center;font-weight:500;color:var(--color-light-grey-50);background:var(--color-dark-grey-300);padding:0 1rem;line-height:2rem;font-size:1.2rem;cursor:default;user-select:none}.tab-manager{display:flex;flex:1;overflow:hidden;height:100%}.tab-manager__content{width:calc(100% - 2.8rem);display:flex;overflow-x:auto}.tab-manager__tab{display:flex;align-items:center;cursor:pointer;color:var(--color-light-grey-400);background:var(--color-dark-grey-80);border-right:.1rem solid var(--color-dark-grey-50)}.tab-manager__tab--active{color:var(--color-light-grey-100);background:var(--color-dark-grey-50)}.tab-manager__tab--dragged{filter:opacity(0.7)}.tab-manager__tab__content{display:flex;align-items:center;height:100%;width:100%}.tab-manager__tab__label{height:100%;color:inherit;padding:0 .5rem 0 1rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tab-manager__tab__close-btn{display:flex;align-items:center;justify-content:center;visibility:hidden;height:2rem;width:2rem;border-radius:.2rem;margin-right:.4rem}.tab-manager__tab__close-btn svg{color:var(--color-light-grey-200);font-size:1.2rem}.tab-manager__tab__close-btn:hover{background:var(--color-dark-grey-200)}.tab-manager__tab__pin-btn{display:flex;align-items:center;justify-content:center;height:2rem;width:2rem;border-radius:.2rem;margin-right:.4rem}.tab-manager__tab__pin-btn svg{color:var(--color-dark-grey-500);font-size:1.4rem}.tab-manager__tab__pin-btn:hover{background:var(--color-dark-grey-200)}.tab-manager__tab--active .tab-manager__tab__close-btn,.tab-manager__tab:hover .tab-manager__tab__close-btn{visibility:visible}.tab-manager__tab--active .tab-manager__tab__close-btn svg,.tab-manager__tab:hover .tab-manager__tab__close-btn svg{color:var(--color-light-grey-100)}.tab-manager__tab__dnd__placeholder{text-align:left;margin:0;padding:0 .5rem;background:var(--color-dark-grey-100)}.tab-manager__menu{min-width:15rem;max-width:30rem;height:100%;padding:0}.tab-manager__menu__toggler{display:flex;align-items:center;justify-content:center;flex-grow:0;flex-shrink:0;color:var(--color-light-grey-400);border-left:.1rem solid var(--color-dark-grey-50);height:100%;width:2.8rem}.tab-manager__menu__item{justify-content:space-between}.tab-manager__menu__item--active,.tab-manager__menu__item:not([disabled]):hover{background:var(--color-dark-grey-250)}.tab-manager__menu__item__label{text-align:left;white-space:nowrap;font-size:1.3rem;overflow:hidden;text-overflow:ellipsis}.tab-manager__menu__item__close-btn{display:flex;align-items:center;justify-content:center;flex-grow:0;flex-shrink:0;padding:.4rem;margin-left:.6rem}.tab-manager__menu__item__close-btn svg{width:1.2rem;height:1.2rem}.activity-bar__item .activity-bar__item__experimental-badge{display:flex;align-items:center;justify-content:center;position:absolute;top:.6rem;right:.6rem;height:1.6rem;width:1.6rem;border-radius:50%;background:var(--color-mauve-50);border:.1rem solid var(--color-dark-grey-280)}.activity-bar__item .activity-bar__item__experimental-badge svg{font-size:1.2rem;color:var(--color-dark-grey-280)}.undo-redo__button{display:flex;align-items:center;color:var(--color-light-blue-50);margin:0 .5rem;flex-direction:column}.undo-redo__button svg{font-size:1.1rem}.undo-redo__button__label{font-size:1.2rem;font-weight:700;display:inline-block;line-height:1}.undo-redo__button[disabled]{color:var(--color-dark-grey-500)}.documentation-link{display:inline-flex;align-self:center;color:var(--color-dark-grey-500);cursor:pointer}.documentation-link--inline{margin-left:.5rem}.documentation-link:hover{color:var(--color-light-grey-400)}.documentation-preview{display:flex;background:var(--color-dark-grey-85);border:.1rem solid var(--color-dark-grey-280);border-radius:.2rem}.documentation-preview__text{padding:1rem;width:calc(100% - 3rem);color:var(--color-light-grey-400);line-height:2rem}.documentation-preview__hint{display:flex;justify-content:center;padding:1rem 0;width:3rem}.monaco-editor *{font-size:1.4rem}.monaco-editor em{font-style:italic}.monaco-editor strong{font-weight:bold}.monaco-editor--small-font *{font-size:1.2rem}.code-editor{height:100%;width:100%}.code-editor__content{height:100%;width:100%;position:relative;background:var(--color-dark-grey-50)}.code-editor__header{display:flex;align-items:center;justify-content:right;width:100%;height:2.8rem;background:var(--color-dark-grey-50);border-bottom:.1rem solid var(--color-dark-grey-80);border-radius:.2rem .2rem 0 0}.code-editor__header__action{display:flex;align-items:center;justify-content:center;color:var(--color-dark-grey-400);height:2.8rem;width:2.8rem}.code-editor__header__action:hover{color:var(--color-dark-grey-500)}.code-editor__header__action--active,.code-editor__header__action--active:hover{color:var(--color-light-grey-300)}.code-editor__header__action svg{font-size:1.6rem}.code-editor__body{height:100%;width:100%;position:absolute;top:0;left:0;overflow:hidden}.code-editor__content--padding{border-radius:.2rem}.code-editor__content--padding .code-editor__body{border-radius:.2rem}.code-editor__content--with__header{height:calc(100% - 2.8rem)}.code-editor__content--with__header .code-editor__body{border-radius:0 0 .2rem .2rem}.packageable-element-option-label{display:flex;align-items:center}.packageable-element-option-label__tag{display:flex;align-items:center;color:var(--color-dark-grey-500);background:var(--color-light-grey-50);border:.1rem solid var(--color-light-grey-180);margin-left:1rem;border-radius:.2rem;font-size:1rem;padding:0 .5rem;height:1.6rem;font-weight:500}.packageable-element-option-label__name{display:flex;align-items:center;height:1.8rem}.packageable-element-option-label__type{margin:-1rem .8rem -1rem -1.2rem;height:3.2rem;padding-left:.5rem;background:rgba(0,0,0,0)}.packageable-element-option-label__type--system{background:var(--color-system)}.packageable-element-option-label__type--generated{background:var(--color-generated)}.packageable-element-option-label__type--dependency{background:var(--color-dependency)}.packageable-element-option-label--dark{display:flex;align-items:center;display:flex}.packageable-element-option-label--dark__tag{display:flex;align-items:center;color:var(--color-dark-grey-250);background:var(--color-dark-grey-400);margin-left:1rem;border-radius:.2rem;font-size:1rem;padding:0 .5rem;height:1.6rem;font-weight:500}.packageable-element-option-label--dark__name{display:flex;align-items:center;height:1.8rem}.models-documentation__viewer__wiki{display:flex;flex-direction:column;width:100%}.models-documentation__viewer__wiki__section{flex-direction:column}.models-documentation__viewer__wiki__section__header{display:flex;align-items:center;justify-content:space-between;height:3rem;border-bottom:.2rem solid var(--color-blue-100);margin-bottom:2rem;margin-top:4rem;user-select:none;color:var(--color-blue-100)}.models-documentation__viewer__wiki__section__header__label{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;word-break:normal;overflow-wrap:anywhere;text-align:left;font-size:2.4rem;text-transform:uppercase;font-weight:500}.models-documentation__viewer__wiki__section__header__anchor{display:flex;align-items:center;display:none;margin-left:.5rem;cursor:pointer}.models-documentation__viewer__wiki__section__header__anchor svg{color:var(--color-dark-grey-300)}.models-documentation__viewer__wiki__section__header__anchor:hover svg{color:var(--color-dark-grey-400)}.models-documentation__viewer__wiki__section__header:hover .models-documentation__viewer__wiki__section__header__anchor{display:inline-flex}.models-documentation__viewer__wiki__section__header__documentation{color:var(--color-blue-100)}.models-documentation__viewer__wiki__section__content{margin-bottom:3rem}.models-documentation__viewer__wiki__placeholder{display:flex;align-items:center;justify-content:center;justify-content:flex-start;width:100%;border-radius:.2rem;color:var(--color-dark-grey-300);user-select:none;height:auto;background:rgba(0,0,0,0);font-style:italic}.models-documentation__header{display:flex;align-items:center;width:100%;justify-content:space-between;height:3.8rem}.models-documentation__content{display:flex;flex-direction:row;height:50rem}.models-documentation__viewer__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)}.models-documentation__viewer__grid__empty-cell{font-size:1.2rem;color:var(--color-dark-grey-280)}.models-documentation__viewer__grid__header-cell{display:flex;align-items:center;width:100%}.models-documentation__viewer__grid__header-cell__label{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;word-break:normal;overflow-wrap:anywhere;text-align:left}.models-documentation__viewer__grid__last-column-header{--ag-header-column-separator-display: none}.models-documentation__viewer__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)}.models-documentation__viewer__grid .ag-header-cell-text{font-weight:700}.models-documentation__viewer__grid .ag-cell-value{word-break:normal;overflow-wrap:anywhere}.models-documentation__viewer__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)}.models-documentation__viewer__grid ::-webkit-scrollbar-track-piece{background:rgba(0,0,0,0)}.models-documentation__grid{width:100%}.models-documentation__grid--shrink{width:calc(100% - 25rem)}.models-documentation__grid ::-webkit-scrollbar{width:.6rem;height:.6rem}.models-documentation__grid ::-webkit-scrollbar-thumb{border:.2rem solid rgba(0,0,0,0);background-clip:content-box;border-radius:.3rem}.models-documentation__grid__cell{display:flex;align-items:center;width:100%;justify-content:space-between}.models-documentation__grid__cell__label{display:flex;align-items:center;width:calc(100% - 4rem)}.models-documentation__grid__cell__label__icon{display:flex;align-items:center;justify-content:center;flex-grow:0;flex-shrink:0;height:1.8rem;width:1.8rem;border-radius:.2rem;background:var(--color-dark-grey-100);color:var(--color-light-grey-200);font-size:1.2rem;font-family:"Roboto Mono",monospace;font-weight:900;margin-right:.5rem}.models-documentation__grid__cell__label__icon--class{background:var(--color-purple-400)}.models-documentation__grid__cell__label__icon--enumeration{background:var(--color-pink-300)}.models-documentation__grid__cell__label__icon--association{background:var(--color-green-200)}.models-documentation__grid__cell__label__icon--property{background:var(--color-blue-180)}.models-documentation__grid__cell__label__icon--enum{background:var(--color-orange-150)}.models-documentation__grid__cell__label__text{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;word-break:normal;overflow-wrap:anywhere;text-align:left}.models-documentation__grid__cell__label__derived-property-badge{display:flex;align-items:center;justify-content:center;font-size:1.2rem;font-weight:600;font-family:"Roboto Mono",monospace;margin-left:.5rem;padding:0 .2rem;height:2rem;border-radius:.2rem;background:var(--color-dark-grey-100);color:var(--color-blue-100)}.models-documentation__grid__cell__label__milestoning-badge{display:flex;align-items:center;justify-content:center;flex-grow:0;flex-shrink:0;width:2rem;margin-right:1rem}.models-documentation__grid__cell__label__milestoning-badge svg{color:var(--color-blue-150);font-size:1.2rem}.models-documentation__grid__cell__actions{display:flex;align-items:center;width:4rem}.models-documentation__grid__cell__action{display:flex;align-items:center;justify-content:center;flex-grow:0;flex-shrink:0;color:var(--color-dark-grey-350);width:2rem;height:2rem}.models-documentation__grid__cell__action:hover{color:var(--color-light-grey-400)}.models-documentation__grid__cell__action__info{font-size:1.2rem}.models-documentation__grid__element-row{background:var(--color-yellow-200);color:var(--color-dark-grey-100);--ag-row-hover-color: var(--color-yellow-100)}.models-documentation__grid__element-row .models-documentation__grid__cell__action{color:var(--color-dark-shade-300)}.models-documentation__grid__element-row .models-documentation__grid__cell__action:hover{color:var(--color-dark-shade-800)}.models-documentation__filter__toggler{display:flex;align-items:center;flex-grow:0;flex-shrink:0;height:2.8rem;border:.1rem solid var(--color-dark-grey-280);color:var(--color-dark-grey-350);margin-right:.5rem}.models-documentation__filter__toggler:hover{color:var(--color-light-grey-50)}.models-documentation__filter__toggler__icon{display:flex;align-items:center;justify-content:center;border-left:.1rem solid var(--color-dark-grey-280);width:2.8rem;height:2.8rem}.models-documentation__filter__toggler svg{font-size:1.2rem}.models-documentation__filter__panel{display:flex;flex-direction:column;width:25rem;margin-right:.5rem;border-radius:.2rem;border:.1rem solid var(--color-dark-grey-200);color:var(--color-light-grey-200)}.models-documentation__filter__group{display:flex;flex-direction:column}.models-documentation__filter__group+.models-documentation__filter__group{border-top:.1rem solid var(--color-dark-grey-200)}.models-documentation__filter__group--by-type{height:13rem}.models-documentation__filter__group--by-package{height:calc(100% - 16.2rem)}.models-documentation__filter__group__header{display:flex;align-items:center;flex-grow:0;flex-shrink:0;justify-content:space-between;height:3.2rem;padding:0 1rem;user-select:none}.models-documentation__filter__group__header__label{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;word-break:normal;overflow-wrap:anywhere;text-align:left;font-weight:500;color:var(--color-dark-grey-350)}.models-documentation__filter__group__header__actions{display:flex;align-items:center}.models-documentation__filter__group__header__reset{font-family:"Roboto Mono",monospace;font-size:1.1rem;color:var(--color-blue-150);margin-left:.5rem}.models-documentation__filter__group__header__reset:hover{color:var(--color-blue-100)}.models-documentation__filter__group__header__reset[disabled],.models-documentation__filter__group__header__reset[disabled]:hover{color:var(--color-dark-grey-350)}.models-documentation__filter__group__content{padding:.5rem;padding-top:0;overflow-y:auto}.models-documentation__filter__tree{height:100%;width:100%;display:flex;flex-direction:column}.models-documentation__filter__tree__node__container{display:flex;width:100%;height:2.2rem}.models-documentation__filter__tree__node__container:hover{background:var(--color-dark-blue-shade-100)}.models-documentation__filter__tree__node__content{display:flex;align-items:center;height:100%;width:calc(100% - 3.3rem)}.models-documentation__filter__tree__node__type-icon{display:flex;align-items:center;justify-content:center;flex-grow:0;flex-shrink:0;height:1.4rem;width:1.4rem;border-radius:.2rem;color:var(--color-light-grey-200);font-size:1rem;font-family:"Roboto Mono",monospace;font-weight:700;user-select:none;margin-left:.5rem}.models-documentation__filter__tree__node__type-icon--class{background:var(--color-purple-400)}.models-documentation__filter__tree__node__type-icon--enumeration{background:var(--color-pink-300)}.models-documentation__filter__tree__node__type-icon--association{background:var(--color-green-200)}.models-documentation__filter__tree__node__type-icon--package{color:var(--color-dark-grey-400)}.models-documentation__filter__tree__node__checker{display:flex;align-items:center;justify-content:center;flex-grow:0;flex-shrink:0;width:1.4rem;height:100%}.models-documentation__filter__tree__node__checker svg{color:var(--color-dark-grey-500);font-size:1.2rem}.models-documentation__filter__tree__node__checker:hover svg{color:var(--color-light-grey-300)}.models-documentation__filter__tree__node__expand-icon{display:flex;align-items:center;justify-content:center;flex-grow:0;flex-shrink:0;width:1.4rem;height:100%}.models-documentation__filter__tree__node__expand-icon svg{color:var(--color-light-grey-400);font-size:1.2rem}.models-documentation__filter__tree__node__label{font-size:1.2rem;color:var(--color-dark-grey-350);user-select:none;margin-left:.5rem}.models-documentation__filter__tree__node__count{display:flex;align-items:center;justify-content:center;font-family:"Roboto Mono",monospace;margin-left:.5rem;height:1.4rem;background:var(--color-light-grey-400);color:var(--color-dark-grey-400);padding:0 .3rem;border-radius:.2rem;font-size:.8rem;font-weight:700}.models-documentation__search{position:relative}.models-documentation__search__input{font-size:1.3rem;height:2.8rem;padding-right:5.6rem;padding-left:1rem;width:25rem;border-radius:.2rem;border:.1rem solid var(--color-dark-grey-200)}.models-documentation__search__input__search__icon{display:flex;align-items:center;justify-content:center;position:absolute;top:0;right:.3rem;height:2.8rem;width:2.8rem}.models-documentation__search__input__search__icon svg{color:var(--color-light-shade-100)}.models-documentation__search__input__clear-btn{display:flex;align-items:center;justify-content:center;position:absolute;top:0;right:.3rem;height:2.8rem;width:2.8rem}.models-documentation__search__input__clear-btn svg{color:var(--color-dark-grey-400)}.models-documentation__search__input__clear-btn:hover svg{color:var(--color-dark-grey-500)}.models-documentation__search__input__config__trigger{display:flex;align-items:center;justify-content:center;position:absolute;top:0;right:3.1rem;height:2.8rem;width:1.8rem;cursor:pointer}.models-documentation__search__input__config__trigger svg{color:var(--color-dark-grey-400)}.models-documentation__search__input__config__trigger--toggled svg,.models-documentation__search__input__config__trigger:hover svg{color:var(--color-dark-grey-500)}.models-documentation__search__input__config__trigger--active svg,.models-documentation__search__input__config__trigger--active:hover svg{color:var(--color-blue-150)}.models-documentation__tooltip{border-radius:.2rem !important;background:var(--color-dark-grey-200) !important;opacity:.9 !important;transition:none;max-height:30rem;overflow:auto;margin-top:.5rem !important}.models-documentation__tooltip--right{margin:0 .5rem !important}.models-documentation__tooltip__content{padding:.5rem}.models-documentation__tooltip__item{display:flex;line-height:1.6rem}.models-documentation__tooltip__item__label{font-size:1.3rem;user-select:none;cursor:default;color:var(--color-dark-grey-500)}.models-documentation__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}/*# sourceMappingURL=index.css.map */
package/lib/index.css.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sourceRoot":"","sources":["../style/_data-grid.scss","../style/application/_fuzzy-search.scss","../../../node_modules/@finos/legend-art/scss/_mixins.scss","../style/application/_tab-manager.scss","../style/application/_activity-bar.scss","../style/application/_undo-redo-button.scss","../style/application/_documentation-link.scss","../style/reset/_monaco-editor.scss","../style/_code-editor.scss","../style/graph-editor/_packageable-element-option-label.scss"],"names":[],"mappings":"AAgBQ,8CACA,sDCCR,sCACE,WACA,sCAEA,qDCQA,aACA,mBDNE,gBACA,iCACA,sCACA,eACA,iBACA,iBACA,eACA,iBEdJ,aACE,aACA,OACA,gBACA,YAEA,sBACE,0BACA,aACA,gBAGF,+BDCA,mBCEE,eACA,kCACA,qCACA,mDAEA,0BACE,kCACA,qCAGF,2BACE,oBAGF,2BDjBF,aACA,mBCmBI,YACA,WAGF,yBACE,YACA,cACA,uBACA,mBACA,gBACA,uBAGF,6BDvCF,aACA,mBACA,uBCwCI,kBACA,YACA,WACA,oBACA,mBAEA,iCACE,kCACA,iBAGF,mCACE,sCAIJ,2BD1DF,aACA,mBACA,uBC2DI,YACA,WACA,oBACA,mBAEA,+BACE,iCACA,iBAGF,iCACE,sCAIJ,4GAEE,mBAEA,oHACE,kCAIJ,oCACE,gBACA,SACA,gBACA,sCAIJ,mBACE,gBACA,gBACA,YACA,UAEA,4BDnGF,aACA,mBACA,uBA4BA,YACA,cCwEI,kCACA,kDACA,YACA,aAGF,yBACE,8BAEA,gFAEE,sCAIJ,gCACE,gBACA,mBACA,iBACA,gBACA,uBAGF,oCD9HF,aACA,mBACA,uBA4BA,YACA,cCmGI,cACA,kBAEA,wCACE,aACA,cC5IN,4DFKA,aACA,mBACA,uBEJE,kBACA,UACA,YACA,cACA,aACA,kBACA,iCACA,8CAEA,gEACE,iBACA,iCCdJ,mBHWA,aACA,mBGTE,iCACA,eACA,sBAEA,uBACE,iBAGF,0BACE,iBACA,gBACA,qBACA,cAIJ,6BACE,iCCrBJ,oBACE,oBACA,kBACA,iCACA,eAEA,4BACE,kBAIJ,0BACE,kCAGF,uBACE,aACA,qCACA,8CACA,oBAEA,6BACE,aACA,wBACA,kCACA,iBAGF,6BJXA,aACA,uBIaE,eACA,WClCJ,iBACE,iBAGF,kBACE,kBAGF,sBACE,iBAGF,6BACE,iBCZF,aACE,YACA,WAEA,sBACE,YACA,WACA,kBACA,qCAGF,qBNEA,aACA,yCMCE,WACA,cACA,qCACA,oDACA,8BAGF,6BNfA,aACA,mBACA,uBMgBE,iCACA,cACA,aAEA,mCACE,iCAGF,gFAEE,kCAGF,iCACE,iBAIJ,mBACE,YACA,WACA,kBACA,MACA,OACA,gBAGF,+BACE,oBAGF,kDACE,oBAGF,oCACE,2BAGF,uDACE,8BChEJ,kCPYE,aACA,mBOVA,uCPSA,aACA,mBOPE,iCACA,sCACA,+CACA,iBACA,oBACA,eACA,gBACA,cACA,gBAGF,wCPLA,aACA,mBOOE,cAIJ,wCACE,iCACA,cACA,mBACA,yBAEA,gDACE,+BAGF,mDACE,kCAGF,oDACE,mCAIJ,wCP/BE,aACA,mBOiCA,aAEA,6CPpCA,aACA,mBOsCE,iCACA,sCACA,iBACA,oBACA,eACA,gBACA,cACA,gBAGF,8CPjDA,aACA,mBOmDE","file":"index.css"}
1
+ {"version":3,"sourceRoot":"","sources":["../style/_data-grid.scss","../style/application/_fuzzy-search.scss","../../../node_modules/@finos/legend-art/scss/_mixins.scss","../style/application/_tab-manager.scss","../style/application/_activity-bar.scss","../style/application/_undo-redo-button.scss","../style/application/_documentation-link.scss","../style/reset/_monaco-editor.scss","../style/_code-editor.scss","../style/graph-editor/_packageable-element-option-label.scss","../style/model-documentation/_model-documentation-viewer.scss"],"names":[],"mappings":"AAgBQ,8CACA,sDCCR,sCACE,WACA,sCAEA,qDCQA,aACA,mBDNE,gBACA,iCACA,sCACA,eACA,iBACA,iBACA,eACA,iBEdJ,aACE,aACA,OACA,gBACA,YAEA,sBACE,0BACA,aACA,gBAGF,+BDCA,mBCEE,eACA,kCACA,qCACA,mDAEA,0BACE,kCACA,qCAGF,2BACE,oBAGF,2BDjBF,aACA,mBCmBI,YACA,WAGF,yBACE,YACA,cACA,uBACA,mBACA,gBACA,uBAGF,6BDvCF,aACA,mBACA,uBCwCI,kBACA,YACA,WACA,oBACA,mBAEA,iCACE,kCACA,iBAGF,mCACE,sCAIJ,2BD1DF,aACA,mBACA,uBC2DI,YACA,WACA,oBACA,mBAEA,+BACE,iCACA,iBAGF,iCACE,sCAIJ,4GAEE,mBAEA,oHACE,kCAIJ,oCACE,gBACA,SACA,gBACA,sCAIJ,mBACE,gBACA,gBACA,YACA,UAEA,4BDnGF,aACA,mBACA,uBA4BA,YACA,cCwEI,kCACA,kDACA,YACA,aAGF,yBACE,8BAEA,gFAEE,sCAIJ,gCACE,gBACA,mBACA,iBACA,gBACA,uBAGF,oCD9HF,aACA,mBACA,uBA4BA,YACA,cCmGI,cACA,kBAEA,wCACE,aACA,cC5IN,4DFKA,aACA,mBACA,uBEJE,kBACA,UACA,YACA,cACA,aACA,kBACA,iCACA,8CAEA,gEACE,iBACA,iCCdJ,mBHWA,aACA,mBGTE,iCACA,eACA,sBAEA,uBACE,iBAGF,0BACE,iBACA,gBACA,qBACA,cAIJ,6BACE,iCCrBJ,oBACE,oBACA,kBACA,iCACA,eAEA,4BACE,kBAIJ,0BACE,kCAGF,uBACE,aACA,qCACA,8CACA,oBAEA,6BACE,aACA,wBACA,kCACA,iBAGF,6BJXA,aACA,uBIaE,eACA,WClCJ,iBACE,iBAGF,kBACE,kBAGF,sBACE,iBAGF,6BACE,iBCZF,aACE,YACA,WAEA,sBACE,YACA,WACA,kBACA,qCAGF,qBNEA,aACA,yCMCE,WACA,cACA,qCACA,oDACA,8BAGF,6BNfA,aACA,mBACA,uBMgBE,iCACA,cACA,aAEA,mCACE,iCAGF,gFAEE,kCAGF,iCACE,iBAIJ,mBACE,YACA,WACA,kBACA,MACA,OACA,gBAGF,+BACE,oBAGF,kDACE,oBAGF,oCACE,2BAGF,uDACE,8BChEJ,kCPYE,aACA,mBOVA,uCPSA,aACA,mBOPE,iCACA,sCACA,+CACA,iBACA,oBACA,eACA,gBACA,cACA,gBAGF,wCPLA,aACA,mBOOE,cAIJ,wCACE,iCACA,cACA,mBACA,yBAEA,gDACE,+BAGF,mDACE,kCAGF,oDACE,mCAIJ,wCP/BE,aACA,mBOiCA,aAEA,6CPpCA,aACA,mBOsCE,iCACA,sCACA,iBACA,oBACA,eACA,gBACA,cACA,gBAGF,8CPjDA,aACA,mBOmDE,cCjEJ,oCACE,aACA,sBACA,WAEA,6CACE,sBAEA,qDRKF,aACA,mBQHI,8BACA,YACA,gDACA,mBACA,gBACA,iBACA,4BAEA,4DRIJ,mBACA,uBACA,gBACA,kBACA,uBACA,gBQNM,iBACA,yBACA,gBAGF,6DRdJ,aACA,mBQgBM,aACA,kBACA,eAEA,iEACE,iCAGF,uEACE,iCAIJ,wHACE,oBAGF,oEACE,4BAIJ,sDACE,mBAIJ,iDRlDA,aACA,mBACA,uBQmDE,2BACA,WACA,oBACA,iCACA,iBACA,YACA,yBACA,kBAKF,8BR3DA,aACA,mBQ6DE,WACA,8BACA,cAGF,+BACE,aACA,mBACA,aAKF,2CRjFA,aACA,mBACA,uBQkFE,oBACA,gBACA,oBACA,qCACA,iCAGF,gDACE,iBACA,iCAGF,iDR1FA,aACA,mBQ4FE,WAEA,wDRrFF,mBACA,uBACA,gBACA,kBACA,uBACA,gBQqFA,wDACE,2CAKF,yDACE,2BAIA,8CACA,iDACA,mDACA,yDACA,yDACA,gDACA,yDACA,0DACA,uDACA,kDAGF,yDACE,gBAGF,mDACE,kBACA,uBAGF,6DAGE,4KASF,oEACE,yBAIJ,4BACE,WAEA,oCACE,yBAGF,gDACE,YACA,aAGF,sDACE,iCACA,4BACA,oBAGF,kCRvKA,aACA,mBQyKE,WACA,8BAEA,yCR7KF,aACA,mBQ+KI,wBAGF,+CRzLF,aACA,mBACA,uBA4BA,YACA,cQ8JI,cACA,aACA,oBACA,sCACA,kCACA,iBACA,oCACA,gBACA,mBAEA,sDACE,mCAGF,4DACE,iCAGF,4DACE,kCAGF,yDACE,iCAGF,qDACE,mCAIJ,+CR5MF,mBACA,uBACA,gBACA,kBACA,uBACA,gBQ2ME,iERhOF,aACA,mBACA,uBQiOI,iBACA,gBACA,oCACA,kBACA,gBACA,YACA,oBACA,sCACA,4BAGF,4DR9OF,aACA,mBACA,uBA4BA,YACA,cQmNI,WACA,kBAEA,gEACE,4BACA,iBAIJ,2CRrPF,aACA,mBQuPI,WAGF,0CRjQF,aACA,mBACA,uBA4BA,YACA,cQsOI,iCACA,WACA,YAEA,gDACE,kCAIJ,gDACE,iBAIJ,yCACE,mCACA,iCAEA,8CAIA,mFACE,kCAEA,yFACE,kCAON,uCRhSA,aACA,mBAuBA,YACA,cQ2QE,cACA,8CACA,iCACA,mBAEA,6CACE,iCAGF,6CRnTF,aACA,mBACA,uBQoTI,mDACA,aACA,cAGF,2CACE,iBAIJ,qCACE,aACA,sBACA,YACA,mBACA,oBACA,8CACA,kCAGF,qCACE,aACA,sBAGF,0EACE,kDAGF,8CACE,aAGF,iDACE,4BAGF,6CRrVA,aACA,mBAuBA,YACA,cQgUE,8BACA,cACA,eACA,iBAGF,oDRrVA,mBACA,uBACA,gBACA,kBACA,uBACA,gBQmVE,gBACA,iCAGF,sDRtWA,aACA,mBQyWA,oDACE,oCACA,iBACA,4BACA,kBAEA,0DACE,4BAGF,kIAEE,iCAIJ,8CACE,cACA,cACA,gBAIJ,oCACE,YACA,WACA,aACA,sBAEA,qDACE,aACA,WACA,cAEA,2DACE,4CAIJ,mDRjZA,aACA,mBQmZE,YACA,0BAGF,qDR9ZA,aACA,mBACA,uBA4BA,YACA,cQmYE,cACA,aACA,oBACA,kCACA,eACA,oCACA,gBACA,iBACA,kBAEA,4DACE,mCAGF,kEACE,iCAGF,kEACE,kCAGF,8DACE,iCAIJ,mDR7bA,aACA,mBACA,uBA4BA,YACA,cQkaE,aACA,YAEA,uDACE,iCACA,iBAGF,6DACE,kCAIJ,uDR9cA,aACA,mBACA,uBA4BA,YACA,cQmbE,aACA,YAEA,2DACE,kCACA,iBAIJ,iDACE,iBACA,iCACA,iBACA,kBAGF,iDRleA,aACA,mBACA,uBQmeE,oCACA,kBACA,cACA,uCACA,iCACA,gBACA,oBACA,gBACA,gBAIJ,8BACE,kBAEA,qCACE,iBACA,cACA,qBACA,kBACA,YACA,oBACA,8CAEA,mDR7fF,aACA,mBACA,uBQ8fI,kBACA,MACA,YACA,cACA,aAEA,uDACE,mCAIJ,gDR3gBF,aACA,mBACA,uBQ4gBI,kBACA,MACA,YACA,cACA,aAEA,oDACE,iCAGF,0DACE,iCAIJ,sDR7hBF,aACA,mBACA,uBQ8hBI,kBACA,MACA,aACA,cACA,aACA,eAEA,0DACE,iCAGF,mIAEE,iCAGF,0IAEE,4BAMR,+BACE,+BACA,iDACA,sBACA,gBAEA,iBACA,cACA,4BAEA,sCACE,0BAGF,wCACE,cAGF,qCACE,aACA,mBAGF,4CACE,iBACA,iBACA,eACA,iCAGF,4CACE,iBACA,iBACA,eACA,gBACA,kBAEA,gBACA","file":"index.css"}
@@ -0,0 +1,59 @@
1
+ /**
2
+ * Copyright (c) 2025-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
+ import type { Multiplicity } from '@finos/legend-graph';
17
+ export declare class BasicDocumentationEntry {
18
+ name: string;
19
+ docs: string[];
20
+ get humanizedName(): string;
21
+ }
22
+ export declare class ModelDocumentationEntry extends BasicDocumentationEntry {
23
+ path: string;
24
+ }
25
+ export declare class ClassDocumentationEntry extends ModelDocumentationEntry {
26
+ properties: PropertyDocumentationEntry[];
27
+ milestoning?: string | undefined;
28
+ }
29
+ export declare class PropertyDocumentationEntry extends BasicDocumentationEntry {
30
+ milestoning?: string | undefined;
31
+ /**
32
+ * Make this optional for backward compatibility
33
+ *
34
+ * @backwardCompatibility
35
+ */
36
+ type?: string | undefined;
37
+ /**
38
+ * Make this optional for backward compatibility
39
+ *
40
+ * @backwardCompatibility
41
+ */
42
+ multiplicity?: Multiplicity | undefined;
43
+ }
44
+ export declare class NormalizedDocumentationEntry {
45
+ readonly uuid: string;
46
+ readonly text: string;
47
+ readonly documentation: string;
48
+ readonly elementEntry: ModelDocumentationEntry;
49
+ readonly entry: BasicDocumentationEntry;
50
+ constructor(text: string, documentation: string, elementEntry: ModelDocumentationEntry, entry: BasicDocumentationEntry);
51
+ get humanizedText(): string;
52
+ }
53
+ export declare class EnumerationDocumentationEntry extends ModelDocumentationEntry {
54
+ enumValues: BasicDocumentationEntry[];
55
+ }
56
+ export declare class AssociationDocumentationEntry extends ModelDocumentationEntry {
57
+ properties: PropertyDocumentationEntry[];
58
+ }
59
+ //# sourceMappingURL=ModelDocumentationAnalysis.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ModelDocumentationAnalysis.d.ts","sourceRoot":"","sources":["../../src/model-documentation/ModelDocumentationAnalysis.ts"],"names":[],"mappings":"AAAA;;;;;;;;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
+ * 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
+ import { prettyCONSTName, uuid } from '@finos/legend-shared';
17
+ export class BasicDocumentationEntry {
18
+ name;
19
+ docs = [];
20
+ get humanizedName() {
21
+ return prettyCONSTName(this.name);
22
+ }
23
+ }
24
+ export class ModelDocumentationEntry extends BasicDocumentationEntry {
25
+ path;
26
+ }
27
+ export class ClassDocumentationEntry extends ModelDocumentationEntry {
28
+ properties = [];
29
+ milestoning;
30
+ }
31
+ export class PropertyDocumentationEntry extends BasicDocumentationEntry {
32
+ milestoning;
33
+ /**
34
+ * Make this optional for backward compatibility
35
+ *
36
+ * @backwardCompatibility
37
+ */
38
+ type;
39
+ /**
40
+ * Make this optional for backward compatibility
41
+ *
42
+ * @backwardCompatibility
43
+ */
44
+ multiplicity;
45
+ }
46
+ export class NormalizedDocumentationEntry {
47
+ uuid = uuid();
48
+ text;
49
+ documentation;
50
+ elementEntry;
51
+ entry;
52
+ constructor(text, documentation, elementEntry, entry) {
53
+ this.text = text;
54
+ this.documentation = documentation;
55
+ this.elementEntry = elementEntry;
56
+ this.entry = entry;
57
+ }
58
+ get humanizedText() {
59
+ return prettyCONSTName(this.text);
60
+ }
61
+ }
62
+ export class EnumerationDocumentationEntry extends ModelDocumentationEntry {
63
+ enumValues = [];
64
+ }
65
+ export class AssociationDocumentationEntry extends ModelDocumentationEntry {
66
+ properties = [];
67
+ }
68
+ //# sourceMappingURL=ModelDocumentationAnalysis.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ModelDocumentationAnalysis.js","sourceRoot":"","sources":["../../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@@
1
+ /**
2
+ * Copyright (c) 2025-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
+ import { type TreeData, type TreeNodeData } from '@finos/legend-art';
17
+ import { CORE_PURE_PATH } from '@finos/legend-graph';
18
+ import { ActionState, FuzzySearchAdvancedConfigState } from '@finos/legend-shared';
19
+ import { type NormalizedDocumentationEntry, ModelDocumentationEntry } from './ModelDocumentationAnalysis.js';
20
+ import type { CommandRegistrar } from '@finos/legend-application';
21
+ export declare enum ModelsDocumentationFilterTreeNodeCheckType {
22
+ CHECKED = 0,
23
+ UNCHECKED = 1,
24
+ PARTIALLY_CHECKED = 2
25
+ }
26
+ export declare abstract class ModelsDocumentationFilterTreeNodeData implements TreeNodeData {
27
+ readonly id: string;
28
+ readonly label: string;
29
+ readonly parentNode: ModelsDocumentationFilterTreeNodeData | undefined;
30
+ isOpen: boolean;
31
+ childrenIds: string[];
32
+ childrenNodes: ModelsDocumentationFilterTreeNodeData[];
33
+ checkType: ModelsDocumentationFilterTreeNodeCheckType;
34
+ constructor(id: string, label: string, parentNode: ModelsDocumentationFilterTreeNodeData | undefined);
35
+ setIsOpen(val: boolean): void;
36
+ setCheckType(val: ModelsDocumentationFilterTreeNodeCheckType): void;
37
+ }
38
+ export declare class ModelsDocumentationFilterTreeRootNodeData extends ModelsDocumentationFilterTreeNodeData {
39
+ }
40
+ export declare class ModelsDocumentationFilterTreePackageNodeData extends ModelsDocumentationFilterTreeNodeData {
41
+ parentNode: ModelsDocumentationFilterTreeNodeData;
42
+ packagePath: string;
43
+ constructor(id: string, label: string, parentNode: ModelsDocumentationFilterTreeNodeData, packagePath: string);
44
+ }
45
+ export declare class ModelsDocumentationFilterTreeElementNodeData extends ModelsDocumentationFilterTreeNodeData {
46
+ parentNode: ModelsDocumentationFilterTreeNodeData;
47
+ elementPath: string;
48
+ typePath: CORE_PURE_PATH | undefined;
49
+ constructor(id: string, label: string, parentNode: ModelsDocumentationFilterTreeNodeData, elementPath: string, typePath: CORE_PURE_PATH | undefined);
50
+ }
51
+ export declare class ModelsDocumentationFilterTreeTypeNodeData extends ModelsDocumentationFilterTreeNodeData {
52
+ parentNode: ModelsDocumentationFilterTreeNodeData;
53
+ typePath: CORE_PURE_PATH;
54
+ constructor(id: string, label: string, parentNode: ModelsDocumentationFilterTreeNodeData, typePath: CORE_PURE_PATH);
55
+ }
56
+ export declare const trickleDownUncheckNodeChildren: (node: ModelsDocumentationFilterTreeNodeData) => void;
57
+ export declare const trickleUpUncheckNode: (node: ModelsDocumentationFilterTreeNodeData) => void;
58
+ export declare const uncheckFilterTreeNode: (node: ModelsDocumentationFilterTreeNodeData) => void;
59
+ export declare const trickleDownCheckNode: (node: ModelsDocumentationFilterTreeNodeData) => void;
60
+ export declare const trickleUpCheckNode: (node: ModelsDocumentationFilterTreeNodeData) => void;
61
+ export declare const checkFilterTreeNode: (node: ModelsDocumentationFilterTreeNodeData) => void;
62
+ export declare const uncheckAllFilterTree: (treeData: TreeData<ModelsDocumentationFilterTreeNodeData>) => void;
63
+ export declare const buildTypeFilterTreeData: () => TreeData<ModelsDocumentationFilterTreeNodeData>;
64
+ export declare const buildPackageFilterTreeData: (modelDocEntries: ModelDocumentationEntry[]) => TreeData<ModelsDocumentationFilterTreeNodeData>;
65
+ export declare abstract class ViewerModelsDocumentationState implements CommandRegistrar {
66
+ showHumanizedForm: boolean;
67
+ private searchInput?;
68
+ private readonly searchEngine;
69
+ readonly searchConfigurationState: FuzzySearchAdvancedConfigState;
70
+ readonly searchState: ActionState;
71
+ readonly elementDocs: NormalizedDocumentationEntry[];
72
+ searchText: string;
73
+ searchResults: NormalizedDocumentationEntry[];
74
+ showSearchConfigurationMenu: boolean;
75
+ packageFilterTreeData: TreeData<ModelsDocumentationFilterTreeNodeData>;
76
+ abstract registerCommands(): void;
77
+ abstract deregisterCommands(): void;
78
+ constructor(elementDocs: NormalizedDocumentationEntry[]);
79
+ get isFilterCustomized(): boolean;
80
+ get isPackageFilterCustomized(): boolean;
81
+ get filteredSearchResults(): NormalizedDocumentationEntry[];
82
+ get isTypeFilterCustomized(): boolean;
83
+ resetAllFilters(): void;
84
+ resetSearch(): void;
85
+ search(): void;
86
+ showFilterPanel: boolean;
87
+ typeFilterTreeData: TreeData<ModelsDocumentationFilterTreeNodeData>;
88
+ filterTypes: string[];
89
+ filterPaths: string[];
90
+ resetPackageFilterTreeData(): void;
91
+ hasClassDocumentation(classPath: string): boolean;
92
+ viewClassDocumentation(classPath: string): void;
93
+ updatePackageFilter(): void;
94
+ resetPackageFilter(): void;
95
+ protected performSearch(searchText: string): NormalizedDocumentationEntry[];
96
+ setShowHumanizedForm(val: boolean): void;
97
+ setSearchText(val: string): void;
98
+ setShowSearchConfigurationMenu(val: boolean): void;
99
+ setShowFilterPanel(val: boolean): void;
100
+ resetTypeFilterTreeData(): void;
101
+ updateTypeFilter(): void;
102
+ resetTypeFilter(): void;
103
+ setSearchInput(el: HTMLInputElement | undefined): void;
104
+ focusSearchInput(): void;
105
+ selectSearchInput(): void;
106
+ }
107
+ //# sourceMappingURL=ModelDocumentationState.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ModelDocumentationState.d.ts","sourceRoot":"","sources":["../../src/model-documentation/ModelDocumentationState.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,KAAK,QAAQ,EAAE,KAAK,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAAE,cAAc,EAA0B,MAAM,qBAAqB,CAAC;AAC7E,OAAO,EACL,WAAW,EA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