bimplus-webcomponents 0.0.155-29322-1 → 0.0.155-29322-2

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.
@@ -12746,9 +12746,9 @@ ${G}: ${S}`}_createAttributeGroupsFromResponse(r){let h=[],m=null;if(r.localized
12746
12746
  `],encapsulation:3})}}return p})();var _Me=(()=>{class p{constructor(){this.placeholder="",this.enterKeyPressed=new Fr,this.value="",this.isDisabled=!1,this.onChange=r=>{},this.onTouched=()=>{}}writeValue(r){this.value=r}registerOnChange(r){this.onChange=r}registerOnTouched(r){this.onTouched=r}setDisabledState(r){this.isDisabled=r}handleInput(r){let h=r.target;this.value=h.value,this.onChange(this.value)}handleBlur(){this.onTouched()}handleKeydown(r){r.key==="Enter"&&this.enterKeyPressed.emit()}static{this.\u0275fac=function(h){return new(h||p)}}static{this.\u0275cmp=vs({type:p,selectors:[["lib-bimplus-input-text-field"]],inputs:{placeholder:"placeholder"},outputs:{enterKeyPressed:"enterKeyPressed"},standalone:!0,features:[A0([{provide:cR,useExisting:R_(()=>p),multi:!0}]),gs],decls:1,vars:3,consts:[["type","text",1,"text-input",3,"input","blur","keydown","value","disabled","placeholder"]],template:function(h,m){h&1&&(dn(0,"input",0),Zi("input",function(C){return m.handleInput(C)})("blur",function(){return m.handleBlur()})("keydown",function(C){return m.handleKeydown(C)}),In()),h&2&&Vn("value",m.value)("disabled",m.isDisabled)("placeholder",m.placeholder)},dependencies:[mH,Sl],styles:[`.text-input{width:100%;box-sizing:border-box;margin-top:.2rem;padding:.2rem .4rem .2rem .3rem;border-radius:0;border:.1rem solid;outline:none;border-color:var(--issue-details-view-select-border-color);background-color:var(--issue-details-view-select-background-color);font-size:1em;font-family:Source Sans Pro,Helvetica,Arial,tahoma,sans-serif;font-weight:400}.text-input:hover{background-color:var(--control-background-hover-color)}
12747
12747
  `],encapsulation:3})}}return p})();var TMe=(()=>{class p{get title(){return this._title}set title(r){this._title=r}get message(){return this._message}set message(r){this._message=r}constructor(r,h){this.dialogService=r,this.translateService=h,this._title="",this._message="",this.buttons=[{id:"errorDialogAcceptButton",title:this.translateService.instant("_Ok"),tooltip:this.translateService.instant("_Ok"),disabled:!1,buttonStyle:"primary"}],this._data=this.dialogService.inputData,this._title=this._data?.title||"",this._message=this._data?.message||""}close(){this.dialogService.close()}keypressClose(r){(r.key==="Escape"||r.key==="Esc")&&this.close()}buttonRowButtonClicked(){this.close(),this.acceptCallback?.()}handleKeydown(r){(r.key==="Escape"||r.key==="Esc")&&this.close()}static{this.\u0275fac=function(h){return new(h||p)($i(H_),$i(Wa))}}static{this.\u0275cmp=vs({type:p,selectors:[["lib-bimplus-overlay-dialog-error"]],hostBindings:function(h,m){h&1&&Zi("keydown",function(C){return m.handleKeydown(C)},!1,EI)},inputs:{title:"title",message:"message"},standalone:!0,features:[gs],decls:11,vars:3,consts:[[1,"overlay-dialog-container"],[1,"overlay-dialog-container_title"],[1,"overlay-dialog-container_title_icon"],[1,"overlay-dialog-container_title_msg"],[1,"overlay-dialog-container_title_close",3,"click","keypress"],[1,"overlay-dialog-container_content"],[1,"overlay-dialog-container_content_msg"],[1,"buttons"],[3,"buttonClicked","items"]],template:function(h,m){h&1&&(dn(0,"div",0)(1,"div",1),bs(2,"div",2),dn(3,"div",3),ts(4),In(),dn(5,"div",4),Zi("click",function(){return m.close()})("keypress",function(C){return m.keypressClose(C)}),In()(),dn(6,"div",5)(7,"div",6),ts(8),In(),dn(9,"div",7)(10,"lib-bimplus-buttons-row",8),Zi("buttonClicked",function(){return m.buttonRowButtonClicked()}),In()()()()),h&2&&(cn(4),ao(" ",m.title," "),cn(4),ao(" ",m.message," "),cn(2),Vn("items",m.buttons))},dependencies:[Cl,Sl,RI],styles:[`.overlay-dialog-container{display:inline-flex;flex-direction:column;box-shadow:0 .4rem .8rem 0 var(--card-box-shadow-color),0 .6rem 2rem 0 var(--card-box-shadow-color);min-width:37.6rem;max-width:60rem}.overlay-dialog-container .overlay-dialog-container_title{background-color:var(--color-help-popup-title-background);height:3.2rem;display:inline-flex;align-items:center}.overlay-dialog-container .overlay-dialog-container_title .overlay-dialog-container_title_icon{width:1.8rem;height:1.8rem;background:url("./assets/bimplus_Components_Overlay_Dialog_Error_Title.svg") no-repeat center center;padding:0 1.6rem}.overlay-dialog-container .overlay-dialog-container_title .overlay-dialog-container_title_msg{color:var(--main-menu-text-default);font:700 1.3832rem Source Sans Pro,Helvetica,Arial,tahoma,sans-serif;text-transform:capitalize;margin-bottom:.2rem}.overlay-dialog-container .overlay-dialog-container_title .overlay-dialog-container_title_close{width:1.8rem;height:1.8rem;background:url("./assets/bimplus_Components_Overlay_Dialog_Cross_White.svg") no-repeat center center;cursor:default;margin:0 0 0 auto;padding-right:1.6rem}.overlay-dialog-container .overlay-dialog-container_title .overlay-dialog-container_title_close:hover{cursor:pointer}.overlay-dialog-container .content .warning-title{line-height:2.4rem}.overlay-dialog-container .content .warning-message{line-height:1.6rem}.overlay-dialog-container .overlay-dialog-container_content{background-color:var(--main-menu-text-default);flex-grow:1}.overlay-dialog-container .overlay-dialog-container_content .overlay-dialog-container_content_msg{color:var(--color-help-popup-title-background);font:400 1.28rem Source Sans Pro,Helvetica,Arial,tahoma,sans-serif;padding-top:.8rem;padding-left:1.6rem}.overlay-dialog-container .overlay-dialog-container_content .buttons{padding:1.6rem}
12748
12748
  `],encapsulation:3})}}return p})();var k$=[{id:"object-properties",img:{default:"ic_models",active:"ic_models_maincolor"},title:"_Object properties"},{id:"comments",img:{default:"Comments_18_gray",active:"Comments_18_maincolor"},title:"_Comments"},{id:"attachments",img:{default:"Attachment_18_gray",active:"Attachment_18_maincolor"},title:"_Attachments"},{id:"hyperlinks",img:{default:"Links_18_gray",active:"Links_18_maincolor"},title:"hyperlinks"},{id:"links-to-documents",img:{default:"Attachmentlink_18_gray",active:"Attachmentlink_18_maincolor"},title:"_Links_to_documents"}],q$=new kl("bimplus-tabs-switcher-config");var wF=(()=>{class p{setActiveTab(r){this.activeTab.next(r)}constructor(r){this.bimplusTabsSwitcherConfig=r,this.tabSwitcherElements=new Du(k$),this.tabSwitcherElements$=this.tabSwitcherElements.asObservable(),this.activeTab=new ad,this.activeTab$=this.activeTab.asObservable(),this.bimplusTabsSwitcherConfig?.defaultTabsSwitcherElements&&this.tabSwitcherElements.next(this.bimplusTabsSwitcherConfig.defaultTabsSwitcherElements)}static{this.\u0275fac=function(h){return new(h||p)(el(q$,8))}}static{this.\u0275prov=nl({token:p,factory:p.\u0275fac})}}return p})();var IHe=(p,l)=>({"underline-switcher":!0,highlight:p,hovering:l}),wHe="../../../../../../",W$=(()=>{class p{set activeTab(r){r&&this.bimplusTabsSwitcherService.setActiveTab(r)}constructor(r,h){this.bimplusTabsSwitcherConfig=r,this.bimplusTabsSwitcherService=h,this.imageBaseSrc=wHe,this.activeTabChange=new Fr,this.activeTabSignal=$Y(this.bimplusTabsSwitcherService.activeTab$),this.isActive=CI(()=>this.activeTabSignal()===this.bimplusTabComponentModel.id),this.isDisabled=hl(!1),this.imgName=CI(()=>this.isActive()?this.bimplusTabComponentModel.img.active:this.bimplusTabComponentModel.img.default),this.onHoverOver=hl(!1),this.isAllDisabled=this.bimplusTabsSwitcherConfig?.disabled?.all??!1,this.isAllDisabled&&this.isDisabled.set(!0)}onMouseEnter(){this.onHoverOver.set(!0)}onMouseLeave(){this.onHoverOver.set(!1)}ngOnInit(){!this.isAllDisabled&&this.bimplusTabsSwitcherConfig?.disabled?.id&&this.isDisabled.set(this.bimplusTabsSwitcherConfig.disabled?.id===this.bimplusTabComponentModel.id)}activate(){this.isDisabled()||(this.bimplusTabsSwitcherService.setActiveTab(this.bimplusTabComponentModel.id),this.activeTabChange.emit(this.bimplusTabComponentModel.id))}static{this.\u0275fac=function(h){return new(h||p)($i(q$,8),$i(wF))}}static{this.\u0275cmp=vs({type:p,selectors:[["lib-bimplus-tab"]],hostBindings:function(h,m){h&1&&Zi("mouseenter",function(){return m.onMouseEnter()})("mouseleave",function(){return m.onMouseLeave()})},inputs:{bimplusTabComponentModel:"bimplusTabComponentModel",imageBaseSrc:"imageBaseSrc",activeTab:"activeTab"},outputs:{activeTabChange:"activeTabChange"},standalone:!0,features:[gs],decls:4,vars:14,consts:[[1,"tab-element",3,"click","keypress","title"],[3,"src","alt"],[3,"ngClass"]],template:function(h,m){h&1&&(dn(0,"div",0),ua(1,"translate"),Zi("click",function(){return!m.isDisabled()&&m.activate()})("keypress",function(){return!m.isDisabled()&&m.activate()}),bs(2,"img",1)(3,"div",2),In()),h&2&&(h1("disabled",m.isDisabled()),Vn("title",pa(1,9,m.bimplusTabComponentModel.title)),cn(2),I1e("src","",m.imageBaseSrc,"assets/images/default/",m.imgName(),".svg",sz),Vn("alt",m.imgName()),cn(),Vn("ngClass",zI(11,IHe,m.isActive(),m.onHoverOver())),K0("data-test","underline-switcher-"+m.bimplusTabComponentModel.id))},dependencies:[oc,Sl,f1],styles:["[_ngcontent-%COMP%]:root{--color-brand-dark: #033A68;--color-brand-white: #FFF;--color-main-background: #FFF;--color-brand-primary: #06C;--color-brand-light: #B4DAFF;--color-main-error: #D1000D;--color-main-warning: #FEA400;--color-main-info: #0297E3;--color-background-body_default: #F7F7F7;--color-background-body_modify: #F0F8FF;--color-background-cover_popup: #2F31333F;--color-background-layer-1: #FFF;--color-background-layer-2: #F7F7F7;--color-background-layer-3: #E1E5E8;--color-background-layer-4: #87C1FF;--color-background-layer-5: #06C;--color-background-layer-6: #DEF0FF;--color-background-quickfilter: #004AA4;--color-checkbox-backgroud-hover: #B4DAFF;--color-background-button-primary-enabled: #06C;--color-background-button-primary-hover: #004AA4;--color-background-button-primary-pressed: #002C70;--color-background-button-primary-disabled: #D3D7DB;--color-button-primary-disabled: #FFF;--color-background-button-secondary-enabled: #FFF;--color-background-button-secondary-hover: #DEF0FF;--color-background-button-secondary-pressed: #DEF0FF;--color-background-button-secondary-disabled: #FFF;--color-background-button-tertiary-enabled: #DEF0FF;--color-background-button-tertiary-hover: #B4DAFF;--color-background-button-tertiary-pressed: #A0CEFF;--color-background-button-tertiary-disabled: #DEF0FF;--color-background-chip-open: #ECEFF1;--color-background-chip-in-progress: #B2E4FC;--color-background-chip-on-hold: #FFF9BF;--color-background-chip-resolved: #CBF6C8;--color-background-chip-cancelled: #FFC7CD;--color-background-menu-enabled: #FFF;--color-background-menu-hover: #F7F7F7;--color-background-menu-pressed: #E1E5E8;--color-background-menu-selected: #B4DAFF;--color-background-sidebar-allplan: #000;--color-background-sidebar-default: #232526;--color-background-sidebar-hover: #2F3133;--color-background-sidebar-pressed: #46494D;--color-background-table-header: #DEF0FF;--color-background-table-row: #F7F7F7;--color-background-table-row_hover: #E1E5E8;--color-background-table-line: #FFF;--color-background-table-sub: #F9F9F9;--color-background-table-sub_hover: #ECEFF1;--color-background-calender-default: #FFF;--color-background-calender-selected: #B4DAFF;--color-background-calender-focused: #148CF6;--color-background-calender-weekend: #D3D7DB;--color-background-toaster-error: #FFC7CD;--color-background-toaster-warning: #FFFDE5;--color-background-toaster-success: #EAFCE9;--color-background-toaster-info: #B2E4FC;--color-border-default: #D3D7DB;--color-border-hover: #84888C;--color-border-focus: #06C;--color-border-error-dark: #AC0000;--color-border-error-default: #FE0019;--color-border-warning-dark: #E36C03;--color-border-warning-default: #FEA400;--color-border-success-dark: #006602;--color-border-success-default: #0ADB3B;--color-border-info-dark: #004AA4;--color-border-info-default: #329AFF;--color-border-highlight: #06C;--color-border-quickfilter: #004AA4;--color-border-button-disabled: #D3D7DB;--color-border-calender-default: #FFF;--color-border-calender-selected: #87C1FF;--color-border-calender-focused: #148CF6;--color-border-input-default: #D3D7DB;--color-border-input-hover: #84888C;--color-border-input-focus: #06C;--color-border-input-focus-shadow: 0px 0px 4px 0px var(--color-brand-primary);--color-border-input-error-dark: #C40000;--color-border-input-error-default: #FE0019;--color-border-input-warning-dark: #FD7700;--color-border-input-warning-default: #FEA400;--color-border-input-success-dark: #007D02;--color-border-input-success-default: #0ADB3B;--color-border-input-info-dark: #004AA4;--color-border-input-info-default: #329AFF;--color-border-input-disabled: #D3D7DB;--color-border-chip-open: #46494D;--color-border-chip-in-progress: #033A68;--color-border-chip-on-hold: #E36C03;--color-border-chip-resolved: #006602;--color-border-chip-cancelled: #AC0000;--color-icon-default: #2F3133;--color-icon-primary: #06C;--color-icon-on-primary: #FFF;--color-icon-muted: #676869;--color-icon-highlight: #50A8FF;--color-text-body: #232526;--color-text-muted: #676869;--color-text-highlight-light: #06C;--color-text-on-primary: #FFF;--color-text-hint: #84888C;--color-text-highlight-dark: #50A8FF;--color-text-link-default: #06C;--color-text-link-pressed: #004AA4;--color-text-feedback-error-default: #FE0019;--color-text-feedback-error-dark: #AC0000;--color-text-feedback-warning-default: #FEA400;--color-text-feedback-warning-dark: #FD7700;--color-text-feedback-success-default: #0ADB3B;--color-text-feedback-success-dark: #007D02;--color-text-feedback-info-default: #329AFF;--color-text-feedback-info-dark: #004AA4;--color-text-button-primary-disabled: #F7F7F7;--color-text-button-secondary-disabled: #A0CEFF;--color-text-button-tritiary-disabled: #A0CEFF;--color-logo-dark: #033A68;--color-logo-brand: #06C;--color-logo-light: #329AFF;--color-logo-black: #2F3133;--color-fill-success: #0ADB3B;--color-fill-error: #FE0019;--color-fill-color: #84888C;--color-line-devider: #B8BBBF;--color-illustrations-color2: #50A8FF;--color-illustrations-color4: #E3BD9A;--color-illustrations-color5: #033A68;--color-illustrations-color6: #000;--color-illustrations-color7: #FEBD00;--color-illustrations-color8: #FD7700;--color-illustrations-color9: #D3D7DB;--color-illustrations-color10: #ECEFF1;--color-illustrations-color11: #84888C;--spacing-base: 4px;--spacing-x2: 8px;--spacing-x3: 12px;--spacing-x4: 16px;--spacing-x5: 20px;--spacing-x6: 24px;--spacing-x7: 28px;--spacing-x8: 32px;--spacing-x9: 36px;--spacing-x10: 40px;--spacing-x15: 60px;--spacing-x20: 80px;--spacing-none: 0px;--border-radius-minimum: 2px;--border-radius-base: 4px;--border-radius-x2: 8px;--border-radius-x3: 12px;--border-radius-x4: 16px;--border-radius-x5: 20px;--border-radius-none: 0px;--size-base: 4px;--size-x2: 8px;--size-x3: 12px;--size-x4: 16px;--size-x5: 20px;--size-x10: 40px;--size-x20: 80px;--drop-shadow-default: 3px 3px 12px 0px var(--drop-shadow-default-background-color);--drop-shadow-input: 0px 0px 4px 0px var(--brand-blue-800);--spacing-card-padding: 20px;--input-padding: var(--spacing-x3);--font-family-default: arial, helvetiva, sans serif;--font-weight-bold: bold;--font-weight-regular: normal;--font-size-heading-1: 56px;--font-size-heading-2: 40px;--font-size-heading-3: 32px;--font-size-heading-4: 24px;--font-size-large: 20px;--font-size-normal: 16px;--font-size-medium: 14px;--font-size-small: 12px;--font-size-smaller: 11px;--font-size-mobile-heading-1: 36px;--font-size-mobile-heading-2: 28px;--font-size-mobile-heading-3: 24px;--font-size-mobile-heading-4: 20px;--font-size-mobile-large: 18px;--font-size-mobile-normal: 16px;--font-size-mobile-medium: 14px;--font-size-mobile-small: 12px;--font-size-mobile-smaller: 11px;--color-project-view-link-hovered: #329AFF;--color-brand-air: #DEF0FF;--color-datepicker-background: #ECEFF1;--color-datepicker-border-hover: #84888C;--color-datepicker-border: #84888C;--color-datepicker-disabled: #84888C;--color-datepicker: #84888C;--color-datepicker-container-error-background: #FFF;--color-datepicker-background-disabled: #FFF;--color-background-general: #ECEFF1;--color-border-general: #ECEFF1;--color-background-general-disabled: #FFF;--color-jstree-search: #AC0000;--color-jstree-search-background-focus: #FFF;--color-jstree-multiselect-tree: #46494D;--color-jstree-colorpicker-border-disabled: #84888C;--color-jstree-checkbox-divider: #84888C;--color-jstree-anchor-clicked: #06C;--color-jstree-custom-buttons-draggable-background-hovered: #E1E5E8;--color-jstree-body-istouch-anchor-background: #E1E5E8;--color-jstree-body-istouch-li-background-hovered: #E1E5E8;--color-colorpicker-trigger-border: #84888C;--color-colorpicker-color-border: #84888C;--color-colorpicker-modable-slider-border: #84888C;--color-colorpicker-colorpreview-border: #84888C;--color-colorpicker-default-opaque-chessboard-container-background: #FFF;--color-widget-header: #46494D;--color-widget-header-background: #F7F7F7;--color-pdmodal-select: #FFF;--color-pdmodal-select-background: #46494D;--color-pdmodal-select-background-highlighted: #676869;--color-pdmodal-select-disabled: #84888C;--color-pdmodal-checkbox-title-disabled: #84888C;--color-pdmodal-secondary-button-border-disabled: #84888C;--color-pdmodal-secondary-button-background-disabled: #84888C;--color-pdmodal-secondary-button-disabled: #84888C;--color-pdmodal-content-background: #FFF;--color-modal-header-border: #E1E5E8;--color-ui-slider-range-background: #46494D;--color-tabs-panel-title: #46494D;--color-structure-details-list-value: #46494D;--color-structure-details-pin-invisible: #84888C;--color-structure-details-name-border: #84888C;--color-structure-details-button-border-bottom: #84888C;--color-structure-details-pin-border: #B8BBBF;--color-structure-details-list-value-background-hover-disabled: #FFF;--color-structure-details-comment: #B8BBBF;--color-structure-details-modified: #B8BBBF;--color-structure-details-img-background: #FFF;--color-structure-details-img-selobj-background: #FFF;--color-structure-details-input-text-short-color-hover-enabled: #000;--color-structure-history-input-border-hover: #84888C;--color-context-menu-item-disabled: #46494D;--color-context-menu-background: #FFF;--color-context-menu-close-icon: #FFF;--color-context-menu-list-background: #FFF;--color-context-menu-list-border: #B8BBBF;--color-context-menu-item-label: #46494D;--color-context-menu-item-background-hover: #F7F7F7;--color-help-popup-title-background: #46494D;--color-help-popup-title: #FFF;--color-help-popup-close-button: #FFF;--color-popup-dialog-modal-subbody-row-disabled: #84888C;--color-popup-dialog-textarea-border: #84888C;--color-popup-dialog-textarea-border-hover: #84888C;--color-popup-dialog-textarea-background-hover: #F7F7F7;--color-popup-dialog-textarea-disabled: #84888C;--color-popup-dialog-textinput-disabled: #84888C;--color-popup-dialog-textinput-border: #84888C;--color-popup-dialog-text-input-wrapper-disabled: #84888C;--color-popup-dialog-bkg: #FFF;--color-popup-dialog-title: #FFF;--color-popup-menu-content-background: #FFF;--color-popupwin-item-color-disabled: #84888C;--color-popupwin-item-color-disabled-hover: #84888C;--color-clashdetection-activate-footer: #46494D;--color-clashdetection-newclashset-header: #46494D;--color-clashdetection-tolerance-border: #84888C;--color-clashdetection-tolerance-input-border-hover: #84888C;--color-clashdetection-description-tolerance-border: #84888C;--color-clashdetection-button: #FFF;--color-revisions-title-background: #46494D;--color-revisions-popupwin-content-background: #FFF;--color-revisions-title: #FFF;--color-revisions-popupwin-close-button: #FFF;--color-top-menu-toolbar-user: #46494D;--color-top-menu-toolbar-company: #46494D;--color-power-select-multiple-remove-btn: #46494D;--color-power-select-multiple-options-btn: #676869;--color-power-select-multiple-options-background: #FFF;--color-power-select-trigger: #84888C;--color-power-select-trigger-disabled: #84888C;--color-power-select-trigger-hover: #84888C;--color-power-select-trigger-border-hover: #84888C;--color-power-select-trigger-status-border: #84888C;--color-power-select-trigger-border: #84888C;--color-power-select-placeholder: #84888C;--color-power-select-status-border: #84888C;--color-power-select-search-border: #06C;--color-combobox-objectproperty-disabled-power-select-triger-background: #ECEFF1;--color-input-webkit-autofill: #46494D;--color-forms-input-webkit-autofill: #FFF;--color-ui-text-1: #46494D;--color-dark-gray: #46494D;--color-midle-gray: #676869;--color-pdmodal-select-dropdown: #676869;--color-center-menu-border: #676869;--color-center-menu-submenu-border: #84888C;--color-center-menu-background: #FFF;--color-center-menu-active-color-hovered: #06C;--color-text-main-menu-app-item-enabled: #000;--color-obj-prop-view-list: #676869;--color-obj-prop-table-value-border: #84888C;--color-table-text-search: #676869;--color-table-row-selected-border-color: #B8BBBF;--color-table-toolbar-text-search-border-color: #B8BBBF;--color-table-toolbar-text-search-background-color: #FFF;--color-table-container-text-search-border-color: #B8BBBF;--color-table-columns-selection-border-color: #B8BBBF;--color-table-portal-border-color: #B8BBBF;--color-table-portal-border: #B8BBBF;--color-table-portal-toolbar-border-color: #B8BBBF;--color-table-portal-border-two: #D3D7DB;--color-table-portal-border-three: #06C;--color-table-portal-background: #84888C;--color-table-portal-background-two: #F7F7F7;--color-table-portal-toolbar-border: #B8BBBF;--color-table-portal: #000;--color-table-portal-two: #FFF;--color-table-portal-three: #B8BBBF;--color-table-portal-four: #46494D;--color-table-stripe-dark: #B8BBBF;--color-sidemenu-background: #676869;--color-sidemenu-navigation-background: #F7F7F7;--color-sidemenu-navigation-row-a: #000;--color-sidemenu-navigation-row-a-active: #B4DAFF;--color-sidemenu-navigation-parent-row-disabled: #B8BBBF;--color-sidemenu-navigation-parent-container-hovered: #B4DAFF;--color-sidemenu-navigation-parent-row-hovered: #B4DAFF;--color-sidemenu-navigation-projectinfo-thumbnail-projectname-container-background: var(--color-neutral-white-transparency90);--color-form-control-placeholder: #676869;--color-form-help-block: #676869;--color-form-control: #46494D;--color-form-control-border: #676869;--color-components-form-control: #E1E5E8;--color-components-form-control-text-field-description: #E1E5E8;--color-components-form-control-text-field-control: #E1E5E8;--color-components-form-control-border: #FFF;--color-components-form-control-white-background: #FFF;--color-components-form-control-text-underline-link-border: #FFF;--color-components-form-control-white-border: #000;--color-components-form-control-white: #000;--color-components-form-control-white-border-disabled: #000;--color-login-button-error-background: #676869;--color-modable-slider-background: #676869;--color-project-list-text: #676869;--color-project-list-border: #E1E5E8;--color-project-list-font: #46494D;--color-embedded-modal-shadow: #676869;--color-embbedded-table-border: #84888C;--color-embedded-table-sorted-arrow: #84888C;--color-embbedded-table-head-background: #E1E5E8;--color-embedded-table-tbody-tr-nth-of-type: #ECEFF1;--color-browser-banner-warning-shadow: #676869;--color-form-control-placeholder-disabled: #84888C;--color-app-footer-wormhole-destination-border: #84888C;--color-comments-list-item-date: #84888C;--color-comments-list-item-container-background: #E1E5E8;--color-background-table-portal-header: #84888C;--color-table-row-border-color: #84888C;--color-overlay-progress-step-background: #84888C;--color-overlay-progress-arrow: #84888C;--color-new-overlay-cover-background: #84888C;--color-overlay-message: #FFF;--color-middle-light-gray: #84888C;--color-issue-details-select-border: #84888C;--color-issue-details-bulk-set: #84888C;--color-issue-details-img-selobj-background: #FFF;--color-issue-details-view-select-background: #FFF;--color-issue-emailcc-dropdown-background: #ECEFF1;--color-drofus-settings-list-value-input-disabled: #84888C;--color-drofus-settings-list-value-input-background-disabled: #FFF;--color-file-view-border: #84888C;--color-navigation-map-floating-panel-border: #84888C;--color-reports-container-date: #84888C;--color-reports-container-task-report-border: #84888C;--color-floating-panel-border: #84888C;--color-render-info: #84888C;--color-qto-table-resize-handler-border: #84888C;--color-qto-table-resize-handler-background: #ECEFF1;--app-footer-wormhole-destination-border-color: #84888C;--color-slideshow-slide-name-edit-border: #84888C;--color-slideshow-slide-name-edit-border-hover: #84888C;--color-slideshow-slide-name-edit-background-focus: #DEF0FF;--color-slideshow-hr-background: #E1E5E8;--color-slide-list-item-image-background: #E1E5E8;--color-control-color-disabled: #84888C;--color-control-normal-background: #FFF;--color-projectinfo-grid-column-background: #84888C;--color-projectinfo-grid-toolbar-background: #E1E5E8;--color-projectinfo-grid-column-resizer-background: #FFF;--color-projectinfo-grid-content-nth-child-background: #FFF;--color-kpi-chart-settings-border: #B8BBBF;--color-left-menu-content-border: #B8BBBF;--color-right-menu-content-border: #B8BBBF;--color-details-object-list-border: #B8BBBF;--color-drofus-settings-list-value-input-border-disabled: #B8BBBF;--color-underline-switcher-item-highlight-hover: #B8BBBF;--color-underline-switcher-highlight-background: #E1E5E8;--color-underline-switcher-item-highlight-hover-disabled: #ECEFF1;--color-sidebar-divider-border: #B8BBBF;--color-sidebar-item-name-disabled: #B8BBBF;--color-object-scenes-tiles-divider-background: #E1E5E8;--color-object-scenes-tiles-divider-border: #E1E5E8;--color-portal-modal-select: #46494D;--color-portal-modal-select-disabled: #E1E5E8;--color-portal-modal-header-border: #E1E5E8;--color-portal-modal-content-header: #FFF;--color-portal-modal-content-header-background: #46494D;--color-portal-modal-content-header-h1: #FFF;--color-portal-modal-content-row-disabled: #ECEFF1;--color-portal-modal-power-select-trigger: #46494D;--color-portal-modal-power-select-trigger-disabled: #B8BBBF;--color-portal-modal-power-select-trigger-border-hovered: #ECEFF1;--color-portal-modal-power-select-trigger-background-hovered: #F9F9F9;--color-portal-modal-power-select-trigger-border-disabled: #F7F7F7;--color-portal-modal-power-select-trigger-background-disabled: #FFF;--color-portal-modal-power-select-status-icon-border: #B8BBBF;--color-portal-modal-power-select-placeholder: #B8BBBF;--color-portal-modal-close-button: #FFF;--color-overlay-set-items-background: #E1E5E8;--color-project-details-bottom-buttons-background: #E1E5E8;--color-four-oh-four-pill-btn--color: #ECEFF1;--color-ui-background-2: #ECEFF1;--color-pd-project-progress-background: #ECEFF1;--color-pd-project-progress-background-two: #FFF;--color-pd-project-anchor-button: #FFF;--color-pd-project-edit-button: #FFF;--color-alternate-row-background: #ECEFF1;--color-control-background-hover: #ECEFF1;--color-table-settings-stripe-background: #ECEFF1;--color-radio-button-group-border: #FFF;--color-radio-button-group-background: #FFF;--color-radio-button-group-input-color-disabled: #84888C;--color-header-global-warning: #FFF;--color-header-global-warning-anchor: #FFF;--color-header-global-warning-background: #FFF;--color-project-menu-background: #F7F7F7;--color-progress-circle-background: #FFF;--color-progress-circle-loader-background: #FFF;--color-project-table-content-background: #FFF;--color-project-table-content-select: #000;--color-project-files-table-content-background: #FFF;--color-project-filter-content-border: #D3D7DB;--color-project-filter-content-background: #FFF;--color-workflow-background-seven: #FEA400;--color-table-portal-background-one: #00B528;--color-propertymanager-jstree-content-search: #C40000;--color-propertymanager-loading-background: rgba(0, 0, 0, .5);--color-propertymanager-loading-message: #FFF;--color-propertymanager-content-background: #FFF;--color-propertymanager-object-tree-content-background: #FFF;--color-propertymanager-object-tree-scrollable-border: #D3D7DB;--color-propertymanager-sets-loading-background: rgba(0, 0, 0, .5);--color-propertymanager-sets-loading-message: #FFF;--color-propertymanager-sets-content-background: #FFF;--color-propertymanager-sets-content-scrollable-border: #D3D7DB;--color-sg-checkbox: #46494D;--color-propertymanager-sets-sg-checkbox: #46494D;--color-propertymanager-structure-select-border: #D3D7DB;--color-workflow-background-eight: #0374BB;--color-fast-scroll-box-shadow: rgba(0, 0, 0, .5);--color-header-global-warning-top-menu-webkit-box-shadow: rgba(0, 0, 0, .25);--color-header-global-warning-top-menu-moz-box-shadow: rgba(0, 0, 0, .25);--color-header-global-warning-top-menu-box-shadow: rgba(0, 0, 0, .25);--color-table-loader-fountain-background: #FFF;--color-object-props-table-value-textfield-background: #FFF;--color-object-props-subheader-background: #FFF;--color-progress-bar: #FFF;--color-status-bar: #FFF;--color-browser-warning-info-background: #FFF;--color-modal-dialog-content-background: #FFF;--color-modal-dialog-content-button-border: #D1000D;--color-card-box-shadow-title: #FFF;--color-card-box-shadow-subheading: #FFF;--color-card-box-shadow-row: #FFF;--color-card-box-shadow-message: #FFF;--color-card-box-shadow-advanced: #FFF;--color-card-box-shadow-anchor: #FFF;--color-sg-checkbox-span: #FFF;--color-new-overlay-finished-background: #008080;--color-table-transparent: #46494D;--color-spinner-wheel-border: #EF001C;--color-modelviewer-open-file-footer: #46494D;--color-file-view-canvas-background: #84888C;--color-table-scrollable-background: #ECEFF1;--color-table-header-row-cell-background: #FFF;--color-project-team-selector-thumbnail-fade-background: #46494D;--color-alert-danger-simple: #F00;--color-renderer-viewport-background: #B8BBBF;--color-breadcrumbs-dropdown-hover-background: #ECEFF1;--color-notify-modal-server-warning-background: #46494D;--color-notify-modal-checkbox-span-border: #46494D;--color-notify-modal-checkbox-span: #FFF;--color-notify-modal-input-checked-border: #025499;--color-dashboard-tile-bottom-bar-background-hover: #ECEFF1;--color-dashboard-tile-top-bar-background: #84888C;--color-filter-panel-actions-border: #E1E5E8;--color-folder-access-rights-list-member-groups: #676869;--color-folder-access-rights-member-rights-background: #E1E5E8;--color-generic-view-tiles-content-background: #FFF;--color-generic-view-tiles-search-background: #E1E5E8;--color-generic-view-tiles-search-border: #E1E5E8;--color-dropdown-content-border: #84888C;--color-dropdown-item-border: #D3D7DB;--color-dropdown-item: #FFF;--color-dropdown-item-icon-flag-border: #46494D;--color-dropdown-item-title-disabled: #84888C;--color-objects-container-properties-content-background: #46494D;--color-password-show-icon-active: #000;--color-portal-modal-btn-default-border: #84888C;--color-portal-modal-select-background: #FFF;--color-project-members-table-content-background: #FFF;--color-project-table-toolbar: #84888C;--color-project-table-body-background-hovered: #B4DAFF;--color-project-table-body-selected-background-hovered: #B4DAFF;--color-project-view-map-content-background: #FFF;--color-project-view-map-content-toolbar: #000;--color-objects-container-center-panel-loading-overlay-background: rgba(0, 0, 0, .5);--color-content-sidebar-background: #FFF;--color-custom-filter-attribute-name: #84888C;--color-custom-filter-selected-attributes-empty: #B8BBBF;--custom-filter-attributes-picker-border-color: #E1E5E8;--color-tab-icon-gray-background: #D3D7DB;--color-tab-icon-white-background: #FFF;--color-tabs-panel-content-background: #F7F7F7;--color-tabs-panel-content-span: #46494D;--color-tabs-panel-control-background: #F7F7F7;--color-tabs-panel-collapsed-background: #F7F7F7;--color-tabs-panel-collapsed-navigation-background: #46494D;--color-tabs-panel-navigation-border: #46494D;--color-tabs-panel-navigation-background: #F7F7F7;--color-tabs-panel-grouping-icon-backround: #F7F7F7;--color-tab-content-background: #FFF;--color-tab-content-title-border: #46494D;--color-tab-content-button: #46494D;--color-tab-content-button-background: #FFF;--color-tab-content-cell-infoicon-background: #FFF;--color-tasks-overview-dot-open-background: #D1000D;--color-tasks-overview-dot-open65-background: rgba(209, 0, 13, .65);--color-tasks-overview-dot-open5-background: rgba(209, 0, 13, .5);--color-tasks-overview-dot-open-custom-background: #FFC7CD;--color-tasks-overview-dot-background-disabled: #D3D7DB;--color-tasks-overview-dot-solved-background: #00A01D;--color-tasks-overview-dot-solved65-background: rgba(0, 160, 29, .65);--color-tasks-overview-dot-solved55-background: rgba(0, 160, 29, .55);--color-tasks-overview-dot-solved-custom-background: #A7EFA4;--color-tasks-overview-dot-closed-background: #025499;--color-tasks-overview-dot-background-undefined: #84888C;--color-upload-image: #FFF;--color-upload-image-background: #0385CF;--color-upload-image-text-shadow: #0374BB;--color-upload-image-border: #025499;--color-dashboard-application-buttons-days-left: #06C;--color-dashboard-info-box-background: #ECEFF1;--color-dashboard-detail-box-subtitle: #06C;--color-dashboard-documentation-title-underline: #ECEFF1;--color-dashboard-message-item-background: #FFF;--color-dashboard-message-title: #46494D;--color-dashboard-message-content: #FFF;--color-dashboard-message-messagelink: #FFF;--color-dashboard-message-messagelink-hover-focus: #FFF;--color-link-inline: #06C;--color-darkmode-leaflet-container-background: #ECEFF1;--color-dashboard-application-buttons-link-button: #06C;--color-dashboard-application-buttons-link-buttontext-decoration: #06C;--color-dashboard-application-container-multiarticle-body: #46494D;--color-dashboard-application-container-article-breadcrumbs: #46494D;--color-dashboard-application-container-nobullets: #ECEFF1;--color-dashboard-application-container-promo-msg: #06C;--color-dashboard-cover-bottom-background-linear-gradient-one: rgba(236, 239, 241, 0);--color-dashboard-cover-bottom-background-linear-gradient-two: #ECEFF1;--color-dashboard-textpanel-subtitle: #84888C;--color-files-modal-with-separator-border: #84888C;--color-footer-border: #84888C;--color-footer-body-background: #FFF;--color-footer-list-item: #000;--color-portal-project-tab-toolbar-btn-default: #84888C;--color-portal-project-tab-toolbar-btn-group: #84888C;--color-table-portal-toolbar: #84888C;--color-table-portal-table-footer-btn-group-button: #84888C;--color-table-portal-table-footer-btn-group: #D3D7DB;--color-project-settings-title-main: #46494D;--color-project-settings-property-message: #46494D;--color-project-settings-property-input-border: #D3D7DB;--color-project-settings-property-input-background: #FFF;--color-project-settings-property-datepicker-container-border-hover: #84888C;--color-shareddocuments-modal-file-list-row-odd-color: #46494D;--color-shareddocuments-modal-file-list-row-even-color: #FFF;--color-tabs-pd-project-btn-border: #84888C;--tabs-pd-project-btn-group-color: #84888C;--color-tabs-pd-project-btn-group-border: #84888C;--color-pd-project-tabs-li-background: #84888C;--color-pd-project-tabs-li-a-background: #ECEFF1;--color-upload-dlg-vertical-line-separator-background: #84888C;--color-touch-upload-dlg-has-error-border: #D1000D;--color-progress-circle-span: #004AA4;--color-value-bar-border: #004AA4;--color-progress-circle-over50-first50-bar-background: #004AA4;--color-upload-dlg-loader-background: #004AA4;--color-upload-dlg-loader-second-background: #FFF;--color-portal-properties-table-combo-color-disabled: #B8BBBF;--color-portal-properties-table-combo-border-color-disabled: #B8BBBF;--color-portal-properties-content-background: #FFF;--color-portal-content-buttons-background: #ECEFF1;--color-portal-properties-string-select-color-disabled: #ECEFF1;--color-upload-dlg-upload-model-name-border: #84888C;--color-upload-color-dlg-upload-model-name-background: #FFF;--color-upload-dlg-transparent-background: #000;--color-user-expiration-background: #FFF;--color-user-expiration-header-background: #06C;--color-user-expiration-body: #000;--color-four-oh-four-message: #FFF;--color-four-oh-four-background: #0297E3;--color-card-border: #D3D7DB;--color-login-description-text: #000;--color-card: #46494D;--color-form-group: #84888C;--color-form-group-two: #46494D;--color-ember-power: #46494D;--color-ember-power-two: #D3D7DB;--color-form-control-background: #FFF;--color-form-control-border-two: #D3D7DB;--color-project-view-table-content-background: #FFF;--color-project-view-table-tbody-recycle-bin: #84888C;--color-email-text: #84888C;--color-primary-button-text-two: #FFF;--color-background-button-primary-two-disabled: #B8BBBF;--color-download-attachment-a-border-bottom: #46494D;--color-pm-tabs: #ECEFF1;--color-pm-content-background: #FFF;--color-pm-content-background-two: #84888C;--color-pm-content-border: #D3D7DB;--color-pm-content-border-two: #000;--color-project-image: #46494D;--color-project-image-border: #46494D;--color-select-background: #46494D;--color-select-border: #B8BBBF;--color-select: #FFF;--color-select-two: #84888C;--color-termofuse: #000;--color-termofuse-background: #FFF;--color-termofuse-border: #B8BBBF;--color-user-background: #FFF;--color-workflow-border: #B8BBBF;--color-workflow-border-two: #F7F7F7;--color-workflow-border-three: #46494D;--color-workflow: #46494D;--color-workflow-two: #FFF;--color-workflow-background: #FFF;--color-workflow-background-two: #F7F7F7;--color-workflow-background-three: #F0F8FF;--color-workflow-background-four: #B8BBBF;--color-workflow-disabled: #B8BBBF;--color-workflow-background-five: #00B528;--color-workflow-background-six: #FE0019;--color-table-pagination: #06C;--color-table-tables-container: #84888C;--color-table-tables-container-two: #46494D;--color-table-tables-container-three: #ECEFF1;--color-pagination-wrapper: #46494D;--color-table-embedded: #000;--color-table-embedded-background: #FFF;--color-table-loader-background: #000;--color-search-bar-border: #84888C;--color-search-bar-background-hovered: #F7F7F7;--color-search-bar-color-hovered: #46494D;--color-search-bar-button-background: #FFF;--color-search-bar-button-glyphicon: #84888C;--color-search-bar-button-glyphicon-focused: #46494D;--color-uni-search-bar-border: #84888C;--color-uni-search-bar-background: #FFF;--color-uni-search-bar-background-hovered: #F7F7F7;--color-uni-search-bar-color-hovered: #46494D;--color-uni-search-bar-input-background-hovered: #F7F7F7;--color-uni-search-bar-glyphicon-hovered: #84888C;--color-uni-search-bar-clear-icon-background-hovered: #F7F7F7;--color-uni-search-bar-background-focused: #FFF;--color-uni-search-bar-color-focused: #46494D;--color-uni-search-bar-border-focused: #06C;--color-uni-search-bar-input-background-focused: #FFF;--color-uni-search-bar-glyphicon-focused: #46494D;--color-uni-search-bar-typing: #46494D;--color-select-grouping-button-sort-menu-opened-background: #ECEFF1;--color-select-grouping-list-background: #F7F7F7;--color-select-grouping-box-shadow: rgba(0, 0, 0, .5);--color-sizes-overview-separator-background: #B8BBBF;--color-sizes-overview-dot: #025499;--color-background-status-message: #000;--color-status-message-close-button: #FFF;--color-custom-filter-selected-attributes-sortable-background: rgba(132, 136, 140, .1);--color-clashdetection-empty-line-image-background: rgba(0, 0, 0, .5);--colors-neutral-grey-700-transparency1: rgba(70, 73, 77, .2);--color-project-team-selector-thumbnail-fade-background2: rgba(70, 73, 77, .2);--color-project-team-selector-thumbnail-fade-background8: rgba(70, 73, 77, .8);--color-left-menu-content-sidebar-topmenu-background: rgba(236, 239, 241, .8);--color-spinner-container-background: rgba(0, 0, 0, .3);--color-debug-background: rgba(0, 0, 0, 1);--color-jstree-selection-undetermined: rgba(0, 102, 204, .549);--color-portal-navbar-box-shadow: rgba(0, 0, 0, .26);--color-portal-navbar: #000;--color-tile-item-box-background: #FFF;--color-tile-item-box-share-background: #FFF;--color-tile-item-box-lock-background: #FFF;--color-tile-item-box-lock-name-background: #FFF;--color-tile-item-box-recycle-bin: #84888C;--color-tile-item-box-body-background: #B4DAFF;--color-toaster-box-shadow: rgba(0, 0, 0, .5);--color-background-toaster-message: #FFF;--color-background-toaster-message-info: #0385CF;--color-background-toaster-message-warning: #FFE9EC;--color-border-toaster-message-warning: #FFC7CD;--color-tree-control-background: #ECEFF1;--color-tree-control-border: #000;--color-tree-control-sortable-placeholder-background: #ECEFF1;--color-tree-control-container: #000;--color-tree-control-node-container-border: #ECEFF1;--color-tree-control-node-container-even-background: #F7F7F7;--color-tree-control-node-container-odd-background: #FFF;--color-tree-control-node-container-color-hovered: #004AA4;--color-tree-control-node-drag-over-background: #B2E4FC;--color-tree-control-node-drag-over-background-forbidden: #F89090;--color-tree-control-node-selected: #000;--color-tree-control-objecttype-node-background: #27B3F5;--color-tree-control-drop-after-background: #B2E4FC;--color-tree-control-drop-after-forbidden-background: #F89090;--color-ember-power-select-border: #D3D7DB;--color-ember-power-select-placeholder: #46494D;--color-ember-power-select-highlighted-background: #F7F7F7;--color-ember-power-select-highlighted: #46494D;--color-ember-power-select-selected-background: #FFF;--color-ember-power-select-trigger-icon: #46494D;--color-ember-power-background: #F7F7F7;--color-ember-power-two-background: #FFF;--color-ember-power-three-background: #ECEFF1;--color-ember-power-four-background: #F0F8FF;--color-ember-power-border: #D3D7DB;--color-ember-power-border-two: #84888C;--color-ember-power-border-three: #46494D;--color-forms: #46494D;--color-forms-box-shadow: #FFF;--color-forms-box-shadow-two: #F7F7F7;--color-forms-box-shadow-three: #B4DAFF;--color-form-border: #84888C;--color-app-background: #FFF;--color-app-border: #FFF;--color-app-box-shadow: #84888C;--color-app: #84888C;--color-app-background-two: #F7F7F7;--color-app-two: #46494D;--color-app-background-three: #ECEFF1;--color-app-three: #000;--color-app-four: #06C;--color-m-forms-background: #F7F7F7;--color-m-forms-border: #D3D7DB;--color-center-menu-circle-border-background: rgba(103, 104, 105, .5);--color-issues-data-grid-background: rgba(255, 255, 255, .5);--color-panel-background-opaque: rgba(255, 255, 255, 1);--color-main-background-transparent: rgba(255, 255, 255, 0);--color-main-background-transparent-90: rgba(255, 255, 255, .9);--color-panel-background: rgba(255, 255, 255, .8);--color-background-table-portal-toolbar: rgba(255, 255, 255, .8);--color-project-view-props-background: rgba(255, 255, 255, .7);--color-variantype-popupwin-content-background: rgba(255, 255, 255, .5);--color-popup-dialog-shadow: rgba(255, 255, 255, .5);--color-loader-background: rgba(255, 255, 255, 0);--color-browser-banner-background: rgba(255, 255, 255, .6);--color-center-menu-sub-menu-dead-zone-background: rgba(255, 255, 255, 0);--color-modal-overlay-background: rgba(255, 255, 255, .6);--color-four-oh-four-pill-background-btn: rgba(236, 239, 241, .9);--color-background-overlay: rgba(70, 73, 77, .301);--color-params-block-text-item-border-bottom: rgba(132, 136, 140, .5);--color-background-overlay-clear: rgba(70, 73, 77, .251);--color-center-menu-circle-background: rgba(70, 73, 77, .9);--color-section-cut-settings-background-disabled: rgba(255, 255, 255, .5);--color-section-cut-settings-dialog-background: #FFF;--color-floating-panel-block-item: rgba(0, 0, 0, 1);--color-modable-slider-transparent-background: rgba(132, 136, 140, .5);--color-scene-selector-background: rgba(236, 239, 241, .8);--color-spinner-border: rgba(0, 102, 204, 1);--color-params-block-text-item-active: rgba(0, 102, 204, .5);--color-clashdetection-filter-selection-head-background: rgba(255, 255, 255, .5);--color-issue-details-input-name-background-disabled: rgba(0, 0, 0, 0);--color-window-resize-handler-arrow-background: rgba(255, 255, 255, .58);--color-structure-details-input-name-background-disabled: rgba(0, 0, 0, 0);--color-projectinfo-grid-header-background: rgba(236, 239, 241, .8);--color-projectinfo-grid-content-border: rgba(0, 0, 0, .1);--color-projectinfo-grid-content-resizer-fill-background: rgba(0, 0, 0, .1);--color-projectinfo-grid-content-groupheader-background: rgba(0, 0, 0, .05);--color-projectinfo-grid-content-group-title-background: rgba(0, 0, 0, .06);--color-projectinfo-grid-content-data-background: rgba(0, 0, 0, .06);--color-drop-shadow-default-background: rgba(0, 0, 0, .15);--color-neutral-white-transparency0: rgba(255, 255, 255, 0);--color-neutral-white-transparency50: rgba(255, 255, 255, .5);--color-neutral-white-transparency70: rgba(255, 255, 255, .7);--color-neutral-white-transparency80: rgba(255, 255, 255, .8);--color-neutral-white-transparency90: rgba(255, 255, 255, .9);--color-neutral-black-transparency05: rgba(0, 0, 0, .05);--color-neutral-black-transparency15: rgba(0, 0, 0, .15);--color-neutral-black-transparency20: rgba(0, 0, 0, .2);--color-neutral-black-transparency25: rgba(0, 0, 0, .25);--color-neutral-black-transparency30: rgba(0, 0, 0, .3);--color-neutral-black-transparency40: rgba(0, 0, 0, .4);--color-neutral-black-transparency50: rgba(0, 0, 0, .5);--color-neutral-black-transparency90: rgba(0, 0, 0, .9);--colors-neutral-grey-50-transparency50: rgba(247, 247, 247, .5);--colors-neutral-grey-50-transparency60: rgba(247, 247, 247, .6);--colors-neutral-grey-50-transparency80: rgba(247, 247, 247, .8);--color-objects-container-upload-image-cover-gradient5: rgba(247, 247, 247, .5);--color-sidemenu-navigation-projectinfo-thumbnail-background: rgba(0, 0, 0, .6);--color-objects-container-upload-image-cover-gradient8: rgba(247, 247, 247, .8);--color-neutral-black-transparency80: rgba(0, 0, 0, .8);--color-portal-modal-destination-border: rgba(0, 0, 0, .2);--color-dashboard-message-content-container: rgba(0, 0, 0, .5);--color-dashboard-info-box-hover-box-shadow: rgba(0, 0, 0, .3);--color-user-expiration-box-shadow: rgba(0, 0, 0, .4);--color-form-control-has-error: rgba(0, 0, 0, .075);--color-project-image-background: rgba(0, 0, 0, .05);--color-project-image-background-two: rgba(255, 255, 255, .9);--color-table-portal-box-shadow: rgba(0, 0, 0, .075);--color-typography-background-gradient-one-color: rgba(0, 0, 0, 0);--color-typography-background-gradient-two-color: rgba(0, 0, 0, .9);--color-modal-dialog-background-color-overlay: rgba(0, 0, 0, .3);--color-modal-dialog-upload-button-label: #D1000D;--color-main-box-shadow08: rgba(0, 0, 0, .08);--color-main-box-shadow30: rgba(0, 0, 0, .3);--color-main-box-shadow50: rgba(0, 0, 0, .5);--color-app-background-four: rgba(0, 0, 0, .2);--color-sidenav-drawer-content-header-background-color-enabled: rgba(247, 247, 247, .8);--color-project-info-upload-image-cover-gradient8: rgba(70, 73, 77, .8);--color-project-info-upload-image-cover-gradient5: rgba(70, 73, 77, .5);--color-neutral-grey-500-transparency06: rgba(132, 136, 140, .06)}.tab-element[_ngcontent-%COMP%]{width:4.2rem;cursor:pointer;border-radius:.1rem;display:flex;justify-content:center;align-items:center;flex-direction:column;padding-top:.6rem}.tab-element[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:1.8rem;height:1.8rem}.tab-element.disabled[_ngcontent-%COMP%]{opacity:.5;cursor:not-allowed}.underline-switcher[_ngcontent-%COMP%]{width:100%;height:.2rem;border-radius:.1rem;transition:all .15s ease-in;border-bottom:.2rem solid #E1E5E8}.underline-switcher.highlight[_ngcontent-%COMP%]{border-bottom-width:.2rem;border-bottom-style:solid;border-bottom-color:#06c!important}.underline-switcher.hovering[_ngcontent-%COMP%]{border-bottom-color:#b8bbbf}"]})}}return p})();var AHe=["*"],OHe=(p,l)=>l.id,_He=(p,l)=>({active:p,default:l}),THe=(p,l,r)=>({id:p,title:l,img:r});function EHe(p,l){if(p&1){let r=la();dn(0,"lib-bimplus-tab",2),Zi("activeTabChange",function(m){ir(r);let A=vn();return rr(A.activeTabChange.emit(m))}),In()}if(p&2){let r=l.$implicit,h=vn();Vn("activeTab",h.activeTab)("imageBaseSrc",h.baseHref)("bimplusTabComponentModel",tM(7,THe,r.id,r.title,zI(4,_He,r.img.active,r.img.default))),K0("data-test",r.id)}}var U$=(()=>{class p{constructor(r){this.bimplusTabsSwitcherService=r,this.activeTabChange=new Fr,this.baseHref=Fl(gbe,{optional:!0}),this.bimplusTabsSwitcherService?this.tabSwitcherElements=$Y(this.bimplusTabsSwitcherService.tabSwitcherElements$):this.tabSwitcherElements=hl(k$).asReadonly()}static{this.\u0275fac=function(h){return new(h||p)($i(wF,12))}}static{this.\u0275cmp=vs({type:p,selectors:[["lib-bimplus-tabs-switcher"]],inputs:{activeTab:"activeTab"},outputs:{activeTabChange:"activeTabChange"},standalone:!0,features:[A0([wF]),gs],ngContentSelectors:AHe,decls:4,vars:0,consts:[[1,"tabswitcher-container"],[3,"activeTab","imageBaseSrc","bimplusTabComponentModel"],[3,"activeTabChange","activeTab","imageBaseSrc","bimplusTabComponentModel"]],template:function(h,m){h&1&&(iv(),dn(0,"div",0),Lf(1,EHe,1,11,"lib-bimplus-tab",1,OHe),rf(3),In()),h&2&&(cn(),Sf(m.tabSwitcherElements()))},dependencies:[W$],styles:[`.tabswitcher-container{display:flex;align-items:center;justify-content:flex-start;width:100%;height:20px}
12749
- `],encapsulation:3,changeDetection:0})}}return p})();var AF=1024,zHe={KB:"kB",GB:"gib",MB:"mb"},zMe=(()=>{class p extends Obe{transform(r,h=zHe.KB,m="1.2-2"){if(!this.isNumber(r))throw new Error("[BitConverterPipe]: value is not a number");let A=this.getSizeFromBites(r,h),C=super.transform(A,m);return C??=r.toString(),`(${C} ${h})`}getSizeFromBites(r,h){switch(h){case"kB":return r/AF;case"mb":return r/(AF*AF);case"gib":return r/(AF*AF*AF);default:return r}}isNumber(r){return typeof r=="number"&&!isNaN(r)}static{this.\u0275fac=(()=>{let r;return function(m){return(r||(r=RO(p)))(m||p)}})()}static{this.\u0275pipe=qO({name:"bitConverter",type:p,pure:!0,standalone:!0})}}return p})();var HR=new kl("bimplus-attachments-config"),GX=class{constructor(l){this.id=l.id??"",this.fileName=l.fileName??"",this.size=l.size??0}},jX=class{static{this.attachment=new GX({})}static create(l){return this.attachment=new GX(l),this}static setId(l){return this.attachment.id=l,this}static setFileName(l){return this.attachment.fileName=l,this}static setSize(l){return this.attachment.size=l,this}static setFile(l){return this.attachment.file=l,this}static build(){let l=structuredClone(this.attachment);return this.attachment=new GX({}),l}};var CHe=["attachmentSizeRef"],DHe=["attachmentNameRef"];function LHe(p,l){if(p&1&&(dn(0,"span",4),ts(1),ua(2,"bitConverter"),In()),p&2){let r=vn();cn(),H0(pa(2,1,r.attachment.size))}}function SHe(p,l){if(p&1&&(dn(0,"span"),ts(1),In(),dn(2,"div",4,1),ts(4),ua(5,"bitConverter"),In()),p&2){let r=vn();cn(),ao("",r.type," "),cn(3),ao(" ",pa(5,2,r.attachment.size)," ")}}function xHe(p,l){if(p&1){let r=la();dn(0,"span",6),ua(1,"translate"),Zi("click",function(){ir(r);let m=vn();return rr(m.deleteAttachment.emit(m.attachment))})("keypress",function(m){return ir(r),rr(m.preventDefault())}),dn(2,"span",7),ts(3,"\u2715\uFE0E"),In()()}p&2&&Zl("title",pa(1,1,"_Delete attachment"))}var CMe=30,RHe=28,DMe=(()=>{class p{constructor(){this.deleteAttachment=new Fr,this.getAttachment=new Fr,this.parentWidthSignal=hl(void 0),this.attachmentSizeWidth=hl(0),this.nameIsfullyVisible=hl(!1),this.config=Fl(HR,{optional:!0}),this.hideSize=!!this.config?.hideAttachmentSize,this.nameInfoLineWidth=CI(()=>{let r=this.parentWidthSignal(),h=this.attachmentSizeWidth(),m=this.nameIsfullyVisible();return r?m?r-CMe:r-h-(CMe+RHe):0})}set parentWidth(r){r&&this.parentWidthSignal.set(r)}get type(){return`.${this.attachment.fileName.split(".").at(-1)}`}ngAfterViewInit(){this.attachmentSizeRef&&(this.attachmentSizeWidth.set(+this.attachmentSizeRef.nativeElement.clientWidth),this.createIntersectionObserver(),this.intersectionObserver.observe(this.attachmentNameRef.nativeElement))}ngOnDestroy(){this.intersectionObserver?.unobserve(this.attachmentNameRef.nativeElement)}createIntersectionObserver(){let r={root:null,rootMargin:"0px",threshold:1},h=m=>m.forEach(({intersectionRatio:A})=>this.nameIsfullyVisible.set(A===1));this.intersectionObserver=new IntersectionObserver(h,r)}static{this.\u0275fac=function(h){return new(h||p)}}static{this.\u0275cmp=vs({type:p,selectors:[["lib-bimplus-attachment-item"]],viewQuery:function(h,m){if(h&1&&(d2(CHe,5),d2(DHe,5)),h&2){let A;Su(A=xu())&&(m.attachmentSizeRef=A.first),Su(A=xu())&&(m.attachmentNameRef=A.first)}},inputs:{closeIconTemplate:"closeIconTemplate",attachment:"attachment",parentWidth:"parentWidth"},outputs:{deleteAttachment:"deleteAttachment",getAttachment:"getAttachment"},standalone:!0,features:[gs],decls:8,vars:7,consts:[["attachmentNameRef",""],["attachmentSizeRef",""],[1,"bim-attachment-item"],["data-test","bim-attachment",1,"bim-attachment-name",3,"click","keypress","title"],[1,"bim-attachment-size"],["data-test","delete-attachment-btn",1,"bim-attachment-delete-button",3,"title"],["data-test","delete-attachment-btn",1,"bim-attachment-delete-button",3,"click","keypress","title"],[1,"icon"]],template:function(h,m){if(h&1){let A=la();dn(0,"div",2)(1,"div",3),Zi("click",function(){return ir(A),rr(m.getAttachment.emit(m.attachment))})("keypress",function(G){return ir(A),rr(G.preventDefault())}),dn(2,"span",null,0),ts(4),In(),Lr(5,LHe,3,3,"span",4),In(),Lr(6,SHe,6,4)(7,xHe,4,3,"span",5),In()}h&2&&(cn(),Wv("width",m.nameInfoLineWidth(),"px"),Zl("title",m.attachment.fileName),cn(3),H0(m.attachment.fileName),cn(),Ss(m.nameIsfullyVisible()&&!m.hideSize?5:-1),cn(),Ss(!m.nameIsfullyVisible()&&!m.hideSize?6:-1),cn(),Ss(m.config!=null&&m.config.hideDeleteAttachmentButton?-1:7))},dependencies:[zMe,Sl,f1],styles:['.bim-attachment-item[_ngcontent-%COMP%]{border-bottom:var(--bim-attachment-item-border-bottom, .1rem solid var(--bim-attachment-item-border-bottom-color, #B8BBBF));line-height:2.5rem;display:flex;align-items:center;justify-content:space-between;color:#46494d;padding-left:var(--bim-attachment-item-padding-left, 2.6rem);background-image:var(--bim-attachment-item-background-image, url("./assets/icn_grid_attachments.png"));background-size:var(--bim-attachment-item-background-size, auto);background-repeat:no-repeat;background-position:var(--bim-attachment-item-background-position, .8rem center)}.bim-attachment-item[_ngcontent-%COMP%] .bim-attachment-name[_ngcontent-%COMP%]{padding-left:1rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bim-attachment-item[_ngcontent-%COMP%] .bim-attachment-size[_ngcontent-%COMP%]{padding-left:.5rem;white-space:nowrap;margin-right:.4rem}.bim-attachment-item[_ngcontent-%COMP%] .bim-attachment-delete-button[_ngcontent-%COMP%]{width:30px;cursor:pointer;margin-left:auto}.bim-attachment-item[_ngcontent-%COMP%] .bim-attachment-delete-button[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{font-weight:var(--bim-attachment-delete-button-icon-font-weight, normal);color:var(--bim-attachment-delete-button-icon-color, #B8BBBF)}.bim-attachment-item[_ngcontent-%COMP%] .bim-attachment-delete-button[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]:hover{color:#46494d}']})}}return p})();var NHe=["attachmentListRef"],PHe=["fileInput"],BHe=(p,l)=>l.id;function HHe(p,l){if(p&1){let r=la();dn(0,"input",5,1),Zi("change",function(m){ir(r);let A=xf(1),C=vn();return rr(C.onFileChanged(m,A))}),In()}}function FHe(p,l){if(p&1){let r=la();dn(0,"lib-bimplus-buttons-row",6),Zi("fileChanged",function(m){ir(r);let A=vn();return rr(A.onFileChanged(m))}),In()}if(p&2){let r,h=vn();Vn("items",(r=h.config==null?null:h.config.buttons)!==null&&r!==void 0?r:h.buttons)}}function kHe(p,l){p&1&&(dn(0,"p",7),ts(1),ua(2,"translate"),In()),p&2&&(cn(),H0(pa(2,1,"_No attachments found")))}function qHe(p,l){if(p&1&&Lr(0,kHe,3,3,"p",7),p&2){let r=vn();Ss(r.config!=null&&r.config.showNoAttachmentsFound?0:-1)}}function WHe(p,l){if(p&1){let r=la();dn(0,"lib-bimplus-attachment-item",9),Zi("deleteAttachment",function(m){ir(r);let A=vn(2);return rr(A.deleteAttachment.emit(m))})("getAttachment",function(m){ir(r);let A=vn(2);return rr(A.getAttachment.emit(m))}),In()}if(p&2){let r=l.$implicit,h=vn(2);Vn("closeIconTemplate",h.closeIconTemplate)("parentWidth",h.attachmentListWidth())("attachment",r),K0("data-test",r.id)}}function UHe(p,l){if(p&1&&Lf(0,WHe,1,4,"lib-bimplus-attachment-item",8,BHe),p&2){let r=vn();Sf(r.attachments)}}var G$=(()=>{class p extends w1{constructor(){super(...arguments),this.api=null,this.attachments=[],this.listOnly=!1,this.deleteAttachment=new Fr,this.addAttachment=new Fr,this.getAttachment=new Fr,this.config=Fl(HR,{optional:!0}),this.buttons=[{id:"add-attachment",title:this.translateService.instant("_Add attachment"),tooltip:this.translateService.instant("_Add attachment"),disabled:!1,buttonStyle:"primary",type:"file"}],this.attachmentListWidth=hl(void 0)}open(){this.fileInput.nativeElement.click()}ngAfterViewInit(){this.createResizeObserver(),this.resizeObserver.observe(this.attachmentListRef.nativeElement)}ngOnDestroy(){this.resizeObserver.unobserve(this.attachmentListRef.nativeElement)}onFileChanged(r,h){if(r instanceof File){this.addAttachment.emit(r);return}let m=r.target.files[0];this.addAttachment.emit(m),h&&(h.value="")}createResizeObserver(){this.resizeObserver=new ResizeObserver(r=>{let{width:h}=r[0].contentRect;this.attachmentListWidth.set(h)})}static{this.\u0275fac=(()=>{let r;return function(m){return(r||(r=RO(p)))(m||p)}})()}static{this.\u0275cmp=vs({type:p,selectors:[["lib-bimplus-attachments"]],viewQuery:function(h,m){if(h&1&&(d2(NHe,5),d2(PHe,5)),h&2){let A;Su(A=xu())&&(m.attachmentListRef=A.first),Su(A=xu())&&(m.fileInput=A.first)}},inputs:{api:"api",attachments:"attachments",closeIconTemplate:"closeIconTemplate",listOnly:[2,"listOnly","listOnly",ls]},outputs:{deleteAttachment:"deleteAttachment",addAttachment:"addAttachment",getAttachment:"getAttachment"},standalone:!0,features:[ap,Ll,gs],decls:6,vars:2,consts:[["attachmentListRef",""],["fileInput",""],["hidden","","type","file"],[3,"items"],[1,"bim-attachments-list"],["hidden","","type","file",3,"change"],[3,"fileChanged","items"],["data-test","no-attachments",1,"bim-attachments-list-empty"],[3,"closeIconTemplate","parentWidth","attachment"],[3,"deleteAttachment","getAttachment","closeIconTemplate","parentWidth","attachment"]],template:function(h,m){h&1&&(Lr(0,HHe,2,0,"input",2)(1,FHe,1,1,"lib-bimplus-buttons-row",3),dn(2,"section",4,0),Lr(4,qHe,1,1)(5,UHe,2,0),In()),h&2&&(Ss(m.listOnly?0:1),cn(4),Ss(m.attachments.length?5:4))},dependencies:[Sl,f1,RI,DMe],styles:[`lib-bimplus-buttons-row{--button-row-margin-right: .8rem}.bim-attachments-list{color:#84888c;cursor:pointer}.bim-attachments-list-empty{text-align:center}
12749
+ `],encapsulation:3,changeDetection:0})}}return p})();var AF=1024,zHe={KB:"kB",GB:"gib",MB:"mb"},zMe=(()=>{class p extends Obe{transform(r,h=zHe.KB,m="1.2-2"){if(!this.isNumber(r))throw new Error("[BitConverterPipe]: value is not a number");let A=this.getSizeFromBites(r,h),C=super.transform(A,m);return C??=r.toString(),`(${C} ${h})`}getSizeFromBites(r,h){switch(h){case"kB":return r/AF;case"mb":return r/(AF*AF);case"gib":return r/(AF*AF*AF);default:return r}}isNumber(r){return typeof r=="number"&&!isNaN(r)}static{this.\u0275fac=(()=>{let r;return function(m){return(r||(r=RO(p)))(m||p)}})()}static{this.\u0275pipe=qO({name:"bitConverter",type:p,pure:!0,standalone:!0})}}return p})();var HR=new kl("bimplus-attachments-config"),GX=class{constructor(l){this.id=l.id??"",this.fileName=l.fileName??"",this.size=l.size??0}},jX=class{static{this.attachment=new GX({})}static create(l){return this.attachment=new GX(l),this}static setId(l){return this.attachment.id=l,this}static setFileName(l){return this.attachment.fileName=l,this}static setSize(l){return this.attachment.size=l,this}static setFile(l){return this.attachment.file=l,this}static build(){let l=structuredClone(this.attachment);return this.attachment=new GX({}),l}};var CHe=["attachmentSizeRef"],DHe=["attachmentNameRef"];function LHe(p,l){if(p&1&&(dn(0,"span",4),ts(1),ua(2,"bitConverter"),In()),p&2){let r=vn();cn(),H0(pa(2,1,r.attachment.size))}}function SHe(p,l){if(p&1&&(dn(0,"span"),ts(1),In(),dn(2,"div",4,1),ts(4),ua(5,"bitConverter"),In()),p&2){let r=vn();cn(),ao("",r.type," "),cn(3),ao(" ",pa(5,2,r.attachment.size)," ")}}function xHe(p,l){if(p&1){let r=la();dn(0,"span",6),ua(1,"translate"),Zi("click",function(){ir(r);let m=vn();return rr(m.deleteAttachment.emit(m.attachment))})("keypress",function(m){return ir(r),rr(m.preventDefault())}),dn(2,"span",7),ts(3,"\u2715\uFE0E"),In()()}p&2&&Zl("title",pa(1,1,"_Delete attachment"))}var CMe=30,RHe=28,DMe=(()=>{class p{constructor(){this.deleteAttachment=new Fr,this.getAttachment=new Fr,this.parentWidthSignal=hl(void 0),this.attachmentSizeWidth=hl(0),this.nameIsfullyVisible=hl(!1),this.config=Fl(HR,{optional:!0}),this.hideSize=!!this.config?.hideAttachmentSize,this.nameInfoLineWidth=CI(()=>{let r=this.parentWidthSignal(),h=this.attachmentSizeWidth(),m=this.nameIsfullyVisible();return r?m?r-CMe:r-h-(CMe+RHe):0})}set parentWidth(r){r&&this.parentWidthSignal.set(r)}get type(){return`.${this.attachment.fileName.split(".").at(-1)}`}ngAfterViewInit(){this.attachmentSizeRef&&(this.attachmentSizeWidth.set(+this.attachmentSizeRef.nativeElement.clientWidth),this.createIntersectionObserver(),this.intersectionObserver.observe(this.attachmentNameRef.nativeElement))}ngOnDestroy(){this.intersectionObserver?.unobserve(this.attachmentNameRef.nativeElement)}createIntersectionObserver(){let r={root:null,rootMargin:"0px",threshold:1},h=m=>m.forEach(({intersectionRatio:A})=>this.nameIsfullyVisible.set(A===1));this.intersectionObserver=new IntersectionObserver(h,r)}static{this.\u0275fac=function(h){return new(h||p)}}static{this.\u0275cmp=vs({type:p,selectors:[["lib-bimplus-attachment-item"]],viewQuery:function(h,m){if(h&1&&(d2(CHe,5),d2(DHe,5)),h&2){let A;Su(A=xu())&&(m.attachmentSizeRef=A.first),Su(A=xu())&&(m.attachmentNameRef=A.first)}},inputs:{closeIconTemplate:"closeIconTemplate",attachment:"attachment",parentWidth:"parentWidth"},outputs:{deleteAttachment:"deleteAttachment",getAttachment:"getAttachment"},standalone:!0,features:[gs],decls:8,vars:7,consts:[["attachmentNameRef",""],["attachmentSizeRef",""],[1,"bim-attachment-item"],["data-test","bim-attachment",1,"bim-attachment-name",3,"click","keypress","title"],[1,"bim-attachment-size"],["data-test","delete-attachment-btn",1,"bim-attachment-delete-button",3,"title"],["data-test","delete-attachment-btn",1,"bim-attachment-delete-button",3,"click","keypress","title"],[1,"icon"]],template:function(h,m){if(h&1){let A=la();dn(0,"div",2)(1,"div",3),Zi("click",function(){return ir(A),rr(m.getAttachment.emit(m.attachment))})("keypress",function(G){return ir(A),rr(G.preventDefault())}),dn(2,"span",null,0),ts(4),In(),Lr(5,LHe,3,3,"span",4),In(),Lr(6,SHe,6,4)(7,xHe,4,3,"span",5),In()}h&2&&(cn(),Wv("width",m.nameInfoLineWidth(),"px"),Zl("title",m.attachment.fileName),cn(3),H0(m.attachment.fileName),cn(),Ss(m.nameIsfullyVisible()&&!m.hideSize?5:-1),cn(),Ss(!m.nameIsfullyVisible()&&!m.hideSize?6:-1),cn(),Ss(m.config!=null&&m.config.hideDeleteAttachmentButton?-1:7))},dependencies:[zMe,Sl,f1],styles:['.bim-attachment-item[_ngcontent-%COMP%]{border-bottom:var(--bim-attachment-item-border-bottom, .1rem solid var(--bim-attachment-item-border-bottom-color, #B8BBBF));line-height:2.5rem;display:flex;align-items:center;justify-content:space-between;color:#46494d;padding-left:var(--bim-attachment-item-padding-left, 2.6rem);background-image:var(--bim-attachment-item-background-image, url("./assets/icn_grid_attachments.png"));background-size:var(--bim-attachment-item-background-size, 1.8rem);background-repeat:no-repeat;background-position:var(--bim-attachment-item-background-position, .8rem center)}.bim-attachment-item[_ngcontent-%COMP%] .bim-attachment-name[_ngcontent-%COMP%]{padding-left:1rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bim-attachment-item[_ngcontent-%COMP%] .bim-attachment-size[_ngcontent-%COMP%]{padding-left:.5rem;white-space:nowrap;margin-right:.4rem}.bim-attachment-item[_ngcontent-%COMP%] .bim-attachment-delete-button[_ngcontent-%COMP%]{width:30px;cursor:pointer;margin-left:auto}.bim-attachment-item[_ngcontent-%COMP%] .bim-attachment-delete-button[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{font-weight:var(--bim-attachment-delete-button-icon-font-weight, normal);color:var(--bim-attachment-delete-button-icon-color, #B8BBBF)}.bim-attachment-item[_ngcontent-%COMP%] .bim-attachment-delete-button[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]:hover{color:#46494d}']})}}return p})();var NHe=["attachmentListRef"],PHe=["fileInput"],BHe=(p,l)=>l.id;function HHe(p,l){if(p&1){let r=la();dn(0,"input",5,1),Zi("change",function(m){ir(r);let A=xf(1),C=vn();return rr(C.onFileChanged(m,A))}),In()}}function FHe(p,l){if(p&1){let r=la();dn(0,"lib-bimplus-buttons-row",6),Zi("fileChanged",function(m){ir(r);let A=vn();return rr(A.onFileChanged(m))}),In()}if(p&2){let r,h=vn();Vn("items",(r=h.config==null?null:h.config.buttons)!==null&&r!==void 0?r:h.buttons)}}function kHe(p,l){p&1&&(dn(0,"p",7),ts(1),ua(2,"translate"),In()),p&2&&(cn(),H0(pa(2,1,"_No attachments found")))}function qHe(p,l){if(p&1&&Lr(0,kHe,3,3,"p",7),p&2){let r=vn();Ss(r.config!=null&&r.config.showNoAttachmentsFound?0:-1)}}function WHe(p,l){if(p&1){let r=la();dn(0,"lib-bimplus-attachment-item",9),Zi("deleteAttachment",function(m){ir(r);let A=vn(2);return rr(A.deleteAttachment.emit(m))})("getAttachment",function(m){ir(r);let A=vn(2);return rr(A.getAttachment.emit(m))}),In()}if(p&2){let r=l.$implicit,h=vn(2);Vn("closeIconTemplate",h.closeIconTemplate)("parentWidth",h.attachmentListWidth())("attachment",r),K0("data-test",r.id)}}function UHe(p,l){if(p&1&&Lf(0,WHe,1,4,"lib-bimplus-attachment-item",8,BHe),p&2){let r=vn();Sf(r.attachments)}}var G$=(()=>{class p extends w1{constructor(){super(...arguments),this.api=null,this.attachments=[],this.listOnly=!1,this.deleteAttachment=new Fr,this.addAttachment=new Fr,this.getAttachment=new Fr,this.config=Fl(HR,{optional:!0}),this.buttons=[{id:"add-attachment",title:this.translateService.instant("_Add attachment"),tooltip:this.translateService.instant("_Add attachment"),disabled:!1,buttonStyle:"primary",type:"file"}],this.attachmentListWidth=hl(void 0)}open(){this.fileInput.nativeElement.click()}ngAfterViewInit(){this.createResizeObserver(),this.resizeObserver.observe(this.attachmentListRef.nativeElement)}ngOnDestroy(){this.resizeObserver.unobserve(this.attachmentListRef.nativeElement)}onFileChanged(r,h){if(r instanceof File){this.addAttachment.emit(r);return}let m=r.target.files[0];this.addAttachment.emit(m),h&&(h.value="")}createResizeObserver(){this.resizeObserver=new ResizeObserver(r=>{let{width:h}=r[0].contentRect;this.attachmentListWidth.set(h)})}static{this.\u0275fac=(()=>{let r;return function(m){return(r||(r=RO(p)))(m||p)}})()}static{this.\u0275cmp=vs({type:p,selectors:[["lib-bimplus-attachments"]],viewQuery:function(h,m){if(h&1&&(d2(NHe,5),d2(PHe,5)),h&2){let A;Su(A=xu())&&(m.attachmentListRef=A.first),Su(A=xu())&&(m.fileInput=A.first)}},inputs:{api:"api",attachments:"attachments",closeIconTemplate:"closeIconTemplate",listOnly:[2,"listOnly","listOnly",ls]},outputs:{deleteAttachment:"deleteAttachment",addAttachment:"addAttachment",getAttachment:"getAttachment"},standalone:!0,features:[ap,Ll,gs],decls:6,vars:2,consts:[["attachmentListRef",""],["fileInput",""],["hidden","","type","file"],[3,"items"],[1,"bim-attachments-list"],["hidden","","type","file",3,"change"],[3,"fileChanged","items"],["data-test","no-attachments",1,"bim-attachments-list-empty"],[3,"closeIconTemplate","parentWidth","attachment"],[3,"deleteAttachment","getAttachment","closeIconTemplate","parentWidth","attachment"]],template:function(h,m){h&1&&(Lr(0,HHe,2,0,"input",2)(1,FHe,1,1,"lib-bimplus-buttons-row",3),dn(2,"section",4,0),Lr(4,qHe,1,1)(5,UHe,2,0),In()),h&2&&(Ss(m.listOnly?0:1),cn(4),Ss(m.attachments.length?5:4))},dependencies:[Sl,f1,RI,DMe],styles:[`lib-bimplus-buttons-row{--button-row-margin-right: .8rem}.bim-attachments-list{color:#84888c;cursor:pointer}.bim-attachments-list-empty{text-align:center}
12750
12750
  `],encapsulation:3,changeDetection:0})}}return p})();var OF=(()=>{class p{getAttachment(r){let h;return r instanceof File?h=jX.setFile(r).setFileName(r.name).build():h=jX.create(r).build(),h}download(r,h){let m=document.createElement("a");m.rel="noopener noreferrer",m.target="_blank",m.href=r,m.download=h,m.click()}static{this.\u0275fac=function(h){return new(h||p)}}static{this.\u0275prov=nl({token:p,factory:p.\u0275fac,providedIn:"root"})}}return p})();var LMe="delete",jHe="cancel",j$=(()=>{class p{get title(){return this._title}set title(r){this._title=r}get message(){return this._message}set message(r){this._message=r}constructor(r,h){this.dialogService=r,this.translateService=h,this._title="",this._message="",this.buttons=[{id:LMe,title:this.translateService.instant("_Delete"),tooltip:this.translateService.instant("_Delete"),disabled:!1,buttonStyle:"primary"},{id:jHe,title:this.translateService.instant("_Cancel"),tooltip:this.translateService.instant("_Cancel"),disabled:!1,buttonStyle:"secondary"}],this.data=this.dialogService.inputData,this.data&&(this._title=this.data.title||"",this._message=this.data.message||"",this.acceptCallback=this.data.acceptCallback)}close(){this.dialogService.close()}keypressClose(r){(r.key==="Escape"||r.key==="Esc")&&this.dialogService.close()}buttonRowButtonClicked(r){this.dialogService.close(),r.id===LMe&&this.acceptCallback?.()}handleKeydown(r){(r.key==="Escape"||r.key==="Esc")&&this.close()}static{this.\u0275fac=function(h){return new(h||p)($i(H_),$i(Wa))}}static{this.\u0275cmp=vs({type:p,selectors:[["lib-bimplus-overlay-dialog-delete"]],hostBindings:function(h,m){h&1&&Zi("keydown",function(C){return m.handleKeydown(C)},!1,EI)},inputs:{title:"title",message:"message"},standalone:!0,features:[gs],decls:10,vars:3,consts:[[1,"overlay-dialog-container"],[1,"overlay-dialog-container_title"],[1,"overlay-dialog-container_title_icon"],[1,"overlay-dialog-container_title_msg"],[1,"overlay-dialog-container_title_close",3,"click","keypress"],[1,"overlay-dialog-container_content"],[1,"overlay-dialog-container_content_msg",3,"innerHTML"],[1,"buttons"],[3,"buttonClicked","items"]],template:function(h,m){h&1&&(dn(0,"div",0)(1,"div",1),bs(2,"div",2),dn(3,"div",3),ts(4),In(),dn(5,"div",4),Zi("click",function(){return m.close()})("keypress",function(C){return m.keypressClose(C)}),In()(),dn(6,"div",5),bs(7,"div",6),dn(8,"div",7)(9,"lib-bimplus-buttons-row",8),Zi("buttonClicked",function(C){return m.buttonRowButtonClicked(C)}),In()()()()),h&2&&(cn(4),ao(" ",m.title," "),cn(3),Vn("innerHTML",m.message,P_),cn(2),Vn("items",m.buttons))},dependencies:[Sl,RI],styles:[`.overlay-dialog-container{display:inline-flex;flex-direction:column;box-shadow:0 .4rem .8rem 0 var(--card-box-shadow-color),0 .6rem 2rem 0 var(--card-box-shadow-color);min-width:45rem;max-width:60rem;width:100vw}.overlay-dialog-container .overlay-dialog-container_title{background-color:var(--color-help-popup-title-background);display:inline-flex;align-items:center;height:3.2rem}.overlay-dialog-container .overlay-dialog-container_title .overlay-dialog-container_title_icon{width:1.8rem;height:1.8rem;background:url("./assets/bimplus_Components_Overlay_Dialog_Warning_Title.svg") no-repeat center center;padding:0 1.6rem}.overlay-dialog-container .overlay-dialog-container_title .overlay-dialog-container_title_msg{color:var(--main-menu-text-default);font:700 1.3832rem Source Sans Pro,Helvetica,Arial,tahoma,sans-serif;text-transform:capitalize;margin-bottom:.2rem}.overlay-dialog-container .overlay-dialog-container_title .overlay-dialog-container_title_close{width:1.8rem;height:1.8rem;background:url("./assets/bimplus_Components_Overlay_Dialog_Cross_White.svg") no-repeat center center;cursor:default;margin:0 0 0 auto;padding-right:1.6rem}.overlay-dialog-container .overlay-dialog-container_title .overlay-dialog-container_title_close:hover{cursor:pointer}.overlay-dialog-container .content .warning-title{line-height:2.4rem}.overlay-dialog-container .content .warning-message{line-height:1.6rem}.overlay-dialog-container .overlay-dialog-container_content{background-color:var(--main-menu-text-default);flex-grow:1}.overlay-dialog-container .overlay-dialog-container_content .overlay-dialog-container_content_msg{color:var(--color-help-popup-title-background);font:400 1.28rem Source Sans Pro,Helvetica,Arial,tahoma,sans-serif;padding-top:.8rem;padding-left:1.6rem}.overlay-dialog-container .buttons{padding:1.6rem}
12751
- `],encapsulation:3})}}return p})();var SMe=(()=>{class p{set autoResizeMinRows(r){this._autoResizeMinRows=r>0?r:1,this.currentRows=this.currentRows<r?r:this.currentRows,this.input.rows=r}get autoResizeMinRows(){return this._autoResizeMinRows}set autoResizeMaxRows(r){this._autoResizeMaxRows=r<1?1:r}get autoResizeMaxRows(){return this._autoResizeMaxRows}set libAutoResizeTextarea(r){this._libAutoResizeTextarea=r}get libAutoResizeTextarea(){return this._libAutoResizeTextarea}constructor(r){this.el=r,this._libAutoResizeTextarea=!1,this._autoResizeMinRows=1,this._autoResizeMaxRows=1,this.currentRows=1,this.offsetHeight=0,this.avgLineHeight=0,this.input=this.el.nativeElement}onInput(){this.libAutoResizeTextarea&&(this.calculateLineHeight(),this.updateRows())}calculateLineHeight(){let r=window.getComputedStyle(this.input,null),h=r.getPropertyValue("line-height"),m=0;h==="normal"?m=(parseFloat(r.getPropertyValue("font-size"))||16)*1.14:m=parseFloat(h),this.avgLineHeight=Math.trunc(m)}updateRows(){this.offsetHeight<=0&&(this.offsetHeight=this.input.scrollHeight),this.input.rows=this._autoResizeMinRows;let r=Math.floor((this.input.scrollHeight-this.offsetHeight)/this.avgLineHeight),h=this._autoResizeMinRows+r;this.input.rows=h>this._autoResizeMaxRows?this._autoResizeMaxRows:h}static{this.\u0275fac=function(h){return new(h||p)($i(m0))}}static{this.\u0275dir=F0({type:p,selectors:[["","libAutoResizeTextarea",""]],hostBindings:function(h,m){h&1&&Zi("input",function(){return m.onInput()})},inputs:{autoResizeMinRows:"autoResizeMinRows",autoResizeMaxRows:"autoResizeMaxRows",libAutoResizeTextarea:"libAutoResizeTextarea"},standalone:!0})}}return p})();function VHe(p,l){if(p&1){let r=la();dn(0,"textarea",2),ua(1,"translate"),Zi("keydown",function(m){ir(r);let A=vn();return rr(A.onKeydown(m))}),In()}if(p&2){let r=vn();Vn("formControl",r.textareaControl)("placeholder",pa(1,8,r.placeholder))("name",r.name)("readonly",r.readonly)("required",r.required)("libAutoResizeTextarea",r.activeAutoResizeTextarea)("autoResizeMinRows",r.minRows)("autoResizeMaxRows",r.maxRows)}}function YHe(p,l){if(p&1){let r=la();dn(0,"textarea",3),Zi("keydown",function(m){ir(r);let A=vn();return rr(A.onKeydown(m))}),In()}if(p&2){let r=vn();Vn("formControl",r.textareaControl)("placeholder",r.placeholder)("name",r.name)("readonly",r.readonly)("required",r.required)("rows",r.rows)}}var V$=(()=>{class p{set name(r){this._name=r}get name(){return this._name}set placeholder(r){this._placeholder=r}get placeholder(){return this._placeholder}set readonly(r){this._readonly=r}get readonly(){return this._readonly}set required(r){this._required=r}get required(){return this._required}set minRows(r){this._minRows=r}get minRows(){return this._minRows}set maxRows(r){this._maxRows=r}get maxRows(){return this._maxRows}set activeAutoResizeTextarea(r){this._activeAutoResizeTextarea=r}get activeAutoResizeTextarea(){return this._activeAutoResizeTextarea}set clearValue(r){r?(this.textareaControl.reset(),this._clearValue=!1):this._clearValue=r}get clearValue(){return this._clearValue}set rows(r){this._rows=r}get rows(){return this._rows}constructor(){this.textareaControl=new nB,this.textAreaValueChange=new Fr,this._name="",this._placeholder="",this._readonly=!1,this._required=!1,this._rows=1,this._activeAutoResizeTextarea=!1,this._minRows=1,this._maxRows=1,this._clearValue=!1}ngOnInit(){this._textareaSubscription=this.textareaControl.valueChanges.subscribe(r=>{this.textAreaValueChange.emit(r)})}getTextareaValue(){return this.textareaControl.value}onKeydown(r){return["<",">"].includes(r.key)?(r.preventDefault(),!1):!0}ngOnDestroy(){this._textareaSubscription?.unsubscribe()}static{this.\u0275fac=function(h){return new(h||p)}}static{this.\u0275cmp=vs({type:p,selectors:[["lib-bimplus-textarea"]],inputs:{name:"name",placeholder:"placeholder",readonly:"readonly",required:"required",minRows:"minRows",maxRows:"maxRows",activeAutoResizeTextarea:"activeAutoResizeTextarea",clearValue:"clearValue",rows:"rows"},outputs:{textAreaValueChange:"textAreaValueChange"},standalone:!0,features:[gs],decls:2,vars:1,consts:[[3,"formControl","placeholder","name","readonly","required","libAutoResizeTextarea","autoResizeMinRows","autoResizeMaxRows"],[3,"formControl","placeholder","name","readonly","required","rows"],[3,"keydown","formControl","placeholder","name","readonly","required","libAutoResizeTextarea","autoResizeMinRows","autoResizeMaxRows"],[3,"keydown","formControl","placeholder","name","readonly","required","rows"]],template:function(h,m){h&1&&Lr(0,VHe,2,10,"textarea",0)(1,YHe,1,6,"textarea",1),h&2&&Ss(m.activeAutoResizeTextarea?0:1)},dependencies:[mH,_K,bL,fce,pce,SMe,Sl,f1],styles:["textarea[_ngcontent-%COMP%]{font-size:1em;font-family:Source Sans Pro,Helvetica,Arial,tahoma,sans-serif;font-weight:400;padding:.4rem .4rem .4rem .3rem;border-radius:0;border:.1rem solid;border-color:var(--issue-details-view-select-border-color);background-color:var(--issue-details-view-select-background-color);resize:none;width:calc(100% - .8rem);margin-right:.8rem;margin-top:.2rem;box-sizing:border-box;white-space:normal;line-height:1.6rem}textarea[_ngcontent-%COMP%]:hover{background-color:var(--control-background-hover-color);border-radius:0;border:.1rem solid;border-color:var(--issue-details-view-select-border-color)}textarea[_ngcontent-%COMP%]:focus-visible{border-radius:0;border:.1rem solid;border-color:var(--issue-details-view-select-border-color);outline:none}"]})}}return p})();function XHe(p,l){if(p&1&&(dn(0,"div",2)(1,"div",9),ts(2),In()()),p&2){let r=vn(2);cn(2),H0(r.isActUserAuthor?"":r.displayname)}}function QHe(p,l){if(p&1){let r=la();dn(0,"div",10),Zi("click",function(){ir(r);let m=vn(2);return rr(m.close())})("keydown",function(m){ir(r);let A=vn(2);return rr(A.onKeyPress(m))}),In()}}function ZHe(p,l){if(p&1&&(dn(0,"div",4),ts(1),In()),p&2){let r=vn(2);cn(),H0(r.message)}}function KHe(p,l){if(p&1&&(dn(0,"a",11),bs(1,"div",12),ua(2,"translate"),dn(3,"div",13),ts(4),In()()),p&2){let r=l.$implicit;Zl("href",r.url,sz),cn(),Zl("title",pa(2,4,"_Hyperlink")),cn(2),Zl("title",r.url),cn(),H0(r.name)}}function JHe(p,l){if(p&1){let r=la();dn(0,"lib-bimplus-attachments",14),Zi("getAttachment",function(m){ir(r);let A=vn(2);return rr(A.getAttachment.emit(m))}),In()}if(p&2){let r=vn(2);Vn("attachments",r.attachments)}}function $He(p,l){if(p&1&&bs(0,"lib-links-to-documents",7),p&2){let r=vn(2);Vn("api",r.api)("attachments",r.attachmentLinkItems)("canCreateAttachmentLink",!1)("canDeleteAttachmentLink",!1)}}function eFe(p,l){if(p&1&&(dn(0,"div",8),ts(1),In()),p&2){let r=vn(2);cn(),ao(" ",r.date," ")}}function tFe(p,l){if(p&1&&(dn(0,"div",1),Lr(1,XHe,3,1,"div",2)(2,QHe,1,0,"div",3)(3,ZHe,2,1,"div",4)(4,KHe,5,6,"a",5)(5,JHe,1,1,"lib-bimplus-attachments",6)(6,$He,1,4,"lib-links-to-documents",7)(7,eFe,2,1,"div",8),In()),p&2){let r=vn();tB(r.isActUserAuthor?"author":""),cn(),Ss(r.isActUserAuthor?-1:1),cn(),Ss(r.isActUserAuthor?2:-1),cn(),Ss(r.message!==void 0?3:-1),cn(),Vn("ngForOf",r.hyperlinks),cn(),Ss(r.attachments.length?5:-1),cn(),Ss(r.attachmentLinkItems.length?6:-1),cn(),Ss(r.date&&r.date.length>0?7:-1)}}var nFe={hideDeleteAttachmentButton:!0,hideAttachmentSize:!0},Y$=(()=>{class p{constructor(){this.outputActionCommentEvent=new Fr,this.getAttachment=new Fr,this._message=void 0,this.api=null,this.attachmentLinkItems=[],this._date="",this._action="close",this._commentId="",this._isActUserAuthor=!0,this._displayname="",this.hyperlinks=[],this.attachments=[]}set message(r){this._message=r}get message(){return this._message}set date(r){let h=new Intl.DateTimeFormat(void 0,{timeStyle:"short"}).format(new Date(r));this._date=h}get date(){return this._date}set action(r){this._action=r}get action(){return this._action}set commentId(r){this._commentId=r}get commentId(){return this._commentId}set isActUserAuthor(r){this._isActUserAuthor=r}get isActUserAuthor(){return this._isActUserAuthor}set displayname(r){this._displayname=r}get displayname(){return this._displayname}emitAction(r){this.outputActionCommentEvent.emit(r)}close(){let r={action:this.action,data:{commentId:this.commentId}};this.emitAction(r)}onKeyPress(r){(r.key==="Escape"||r.key==="Esc")&&this.close()}formatTime(r){let h=window.navigator.language,m=new Date(r);return h.includes("en")?rK(m,"hh:mm a",h):rK(m,"hh:mm",h)}static{this.\u0275fac=function(h){return new(h||p)}}static{this.\u0275cmp=vs({type:p,selectors:[["lib-bimplus-comment"]],inputs:{api:"api",attachmentLinkItems:"attachmentLinkItems",message:"message",date:"date",action:"action",commentId:"commentId",isActUserAuthor:"isActUserAuthor",displayname:"displayname",hyperlinks:"hyperlinks",attachments:"attachments"},outputs:{outputActionCommentEvent:"outputActionCommentEvent",getAttachment:"getAttachment"},standalone:!0,features:[A0([{provide:HR,useValue:nFe}]),gs],decls:1,vars:1,consts:[[1,"comment-item-container",3,"class"],[1,"comment-item-container"],[1,"comment-header"],[1,"comment-close"],[1,"comment-item-text"],["class","hyperlink","target","_blank",3,"href",4,"ngFor","ngForOf"],["listOnly","",3,"attachments"],["listOnly","","hideAttachmentSize","","showEmptyMessage","false",3,"api","attachments","canCreateAttachmentLink","canDeleteAttachmentLink"],[1,"comment-item-date"],[1,"comment-title"],[1,"comment-close",3,"click","keydown"],["target","_blank",1,"hyperlink",3,"href"],[1,"link-icon",3,"title"],[1,"text",3,"title"],["listOnly","",3,"getAttachment","attachments"]],template:function(h,m){h&1&&Lr(0,tFe,8,9,"div",0),h&2&&Ss(m.message!==void 0?0:-1)},dependencies:[h2,f1,G$,F$],styles:[`.hyperlink{display:flex;align-items:center;gap:.4rem}.hyperlink .text{line-height:2.4rem;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.link-icon{background:url("./assets/Links_18_gray.svg") no-repeat center;width:1.8rem;height:1.8rem;cursor:pointer;display:flex}.comment-item-container{font:400 1.28rem Source Sans Pro,Helvetica,Arial,tahoma,sans-serif;background-color:var(--comments-list-item-container-background-color);border-radius:.4rem;margin:1rem 8rem 1rem 1rem;padding:.8rem}.comment-item-container.author{background-color:var(--comments-item-comment-author-background-color);margin:1rem 1rem 1rem 8rem}.comment-item-container a{text-decoration:none!important;color:var(--ui-text-1-color)}.comment-item-container .comment-header{display:inline-flex;justify-content:space-between;align-items:center;width:100%}.comment-item-container .comment-header .comment-title{font-weight:700}.comment-item-container .comment-close{background:url("./assets/bimplus_WebIcons_Cross.svg") no-repeat center;background-size:2rem;height:2rem;width:2rem;border:none;cursor:unset;float:right}.comment-item-container .comment-close:hover{cursor:pointer}.comment-item-container .comment-item-text{margin:.8rem 0;word-break:break-all;color:var(--ui-text-1-color)}.comment-item-container .comment-attachments-list{line-height:2.4rem;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;color:var(--ui-text-1-color)}.comment-item-container .comment-attachments-list .attachment-object-item{width:100%}.comment-item-container .comment-attachments-list .attachment-object-item .attachment-object-link{display:inline-flex;align-items:center}.comment-item-container .comment-attachments-list .attachment-icon,.comment-item-container .comment-attachments-list .links-icon,.comment-item-container .comment-attachments-list .attachmentLink-icon{width:1.5rem;height:1.5rem;margin:0 .2rem}.comment-item-container .comment-attachments-list .tab-attachments{background:url("./assets/Attachment_18_gray.svg") no-repeat center}.comment-item-container .comment-attachments-list .tab-attachmentlinks{background:url("./assets/Attachmentlink_18_gray.svg") no-repeat center}.comment-item-container .comment-attachments-list .tab-hyperlinks{background:url("./assets/Links_18_gray.svg") no-repeat center}.comment-item-container .comment-attachments-list .icon:hover{cursor:pointer}.comment-item-container .comment-item-date{text-align:end;color:var(--comments-list-item-date-color)}lib-bimplus-attachments{--bim-attachment-item-border-bottom: none;--bim-attachment-item-background-position: 0 center;--bim-attachment-item-padding-left: 1.3rem;--bim-attachment-item-background-image: url("./assets/Attachment_18_gray.svg")}lib-links-to-documents{--bim-attachment-name-padding: 0;--bim-attachment-item-background-position: 0;--attachment-row-border-bottom: none;--bim-attachment-item-background-image: url("./assets/Attachmentlink_18_gray.svg");--bim-attachment-delete-button: #444;--attachment-row-margin: 0;--bim-attachment-item-background-size: 1.8rem;--bim-attachment-delete-button-font-weight: bold;--bim-attachmentlink-item-left-padding: 2.3rem}
12751
+ `],encapsulation:3})}}return p})();var SMe=(()=>{class p{set autoResizeMinRows(r){this._autoResizeMinRows=r>0?r:1,this.currentRows=this.currentRows<r?r:this.currentRows,this.input.rows=r}get autoResizeMinRows(){return this._autoResizeMinRows}set autoResizeMaxRows(r){this._autoResizeMaxRows=r<1?1:r}get autoResizeMaxRows(){return this._autoResizeMaxRows}set libAutoResizeTextarea(r){this._libAutoResizeTextarea=r}get libAutoResizeTextarea(){return this._libAutoResizeTextarea}constructor(r){this.el=r,this._libAutoResizeTextarea=!1,this._autoResizeMinRows=1,this._autoResizeMaxRows=1,this.currentRows=1,this.offsetHeight=0,this.avgLineHeight=0,this.input=this.el.nativeElement}onInput(){this.libAutoResizeTextarea&&(this.calculateLineHeight(),this.updateRows())}calculateLineHeight(){let r=window.getComputedStyle(this.input,null),h=r.getPropertyValue("line-height"),m=0;h==="normal"?m=(parseFloat(r.getPropertyValue("font-size"))||16)*1.14:m=parseFloat(h),this.avgLineHeight=Math.trunc(m)}updateRows(){this.offsetHeight<=0&&(this.offsetHeight=this.input.scrollHeight),this.input.rows=this._autoResizeMinRows;let r=Math.floor((this.input.scrollHeight-this.offsetHeight)/this.avgLineHeight),h=this._autoResizeMinRows+r;this.input.rows=h>this._autoResizeMaxRows?this._autoResizeMaxRows:h}static{this.\u0275fac=function(h){return new(h||p)($i(m0))}}static{this.\u0275dir=F0({type:p,selectors:[["","libAutoResizeTextarea",""]],hostBindings:function(h,m){h&1&&Zi("input",function(){return m.onInput()})},inputs:{autoResizeMinRows:"autoResizeMinRows",autoResizeMaxRows:"autoResizeMaxRows",libAutoResizeTextarea:"libAutoResizeTextarea"},standalone:!0})}}return p})();function VHe(p,l){if(p&1){let r=la();dn(0,"textarea",2),ua(1,"translate"),Zi("keydown",function(m){ir(r);let A=vn();return rr(A.onKeydown(m))}),In()}if(p&2){let r=vn();Vn("formControl",r.textareaControl)("placeholder",pa(1,8,r.placeholder))("name",r.name)("readonly",r.readonly)("required",r.required)("libAutoResizeTextarea",r.activeAutoResizeTextarea)("autoResizeMinRows",r.minRows)("autoResizeMaxRows",r.maxRows)}}function YHe(p,l){if(p&1){let r=la();dn(0,"textarea",3),Zi("keydown",function(m){ir(r);let A=vn();return rr(A.onKeydown(m))}),In()}if(p&2){let r=vn();Vn("formControl",r.textareaControl)("placeholder",r.placeholder)("name",r.name)("readonly",r.readonly)("required",r.required)("rows",r.rows)}}var V$=(()=>{class p{set name(r){this._name=r}get name(){return this._name}set placeholder(r){this._placeholder=r}get placeholder(){return this._placeholder}set readonly(r){this._readonly=r}get readonly(){return this._readonly}set required(r){this._required=r}get required(){return this._required}set minRows(r){this._minRows=r}get minRows(){return this._minRows}set maxRows(r){this._maxRows=r}get maxRows(){return this._maxRows}set activeAutoResizeTextarea(r){this._activeAutoResizeTextarea=r}get activeAutoResizeTextarea(){return this._activeAutoResizeTextarea}set clearValue(r){r?(this.textareaControl.reset(),this._clearValue=!1):this._clearValue=r}get clearValue(){return this._clearValue}set rows(r){this._rows=r}get rows(){return this._rows}constructor(){this.textareaControl=new nB,this.textAreaValueChange=new Fr,this._name="",this._placeholder="",this._readonly=!1,this._required=!1,this._rows=1,this._activeAutoResizeTextarea=!1,this._minRows=1,this._maxRows=1,this._clearValue=!1}ngOnInit(){this._textareaSubscription=this.textareaControl.valueChanges.subscribe(r=>{this.textAreaValueChange.emit(r)})}getTextareaValue(){return this.textareaControl.value}onKeydown(r){return["<",">"].includes(r.key)?(r.preventDefault(),!1):!0}ngOnDestroy(){this._textareaSubscription?.unsubscribe()}static{this.\u0275fac=function(h){return new(h||p)}}static{this.\u0275cmp=vs({type:p,selectors:[["lib-bimplus-textarea"]],inputs:{name:"name",placeholder:"placeholder",readonly:"readonly",required:"required",minRows:"minRows",maxRows:"maxRows",activeAutoResizeTextarea:"activeAutoResizeTextarea",clearValue:"clearValue",rows:"rows"},outputs:{textAreaValueChange:"textAreaValueChange"},standalone:!0,features:[gs],decls:2,vars:1,consts:[[3,"formControl","placeholder","name","readonly","required","libAutoResizeTextarea","autoResizeMinRows","autoResizeMaxRows"],[3,"formControl","placeholder","name","readonly","required","rows"],[3,"keydown","formControl","placeholder","name","readonly","required","libAutoResizeTextarea","autoResizeMinRows","autoResizeMaxRows"],[3,"keydown","formControl","placeholder","name","readonly","required","rows"]],template:function(h,m){h&1&&Lr(0,VHe,2,10,"textarea",0)(1,YHe,1,6,"textarea",1),h&2&&Ss(m.activeAutoResizeTextarea?0:1)},dependencies:[mH,_K,bL,fce,pce,SMe,Sl,f1],styles:["textarea[_ngcontent-%COMP%]{font-size:1em;font-family:Source Sans Pro,Helvetica,Arial,tahoma,sans-serif;font-weight:400;padding:.4rem .4rem .4rem .3rem;border-radius:0;border:.1rem solid;border-color:var(--issue-details-view-select-border-color);background-color:var(--issue-details-view-select-background-color);resize:none;width:calc(100% - .8rem);margin-right:.8rem;margin-top:.2rem;box-sizing:border-box;white-space:normal;line-height:1.6rem}textarea[_ngcontent-%COMP%]:hover{background-color:var(--control-background-hover-color);border-radius:0;border:.1rem solid;border-color:var(--issue-details-view-select-border-color)}textarea[_ngcontent-%COMP%]:focus-visible{border-radius:0;border:.1rem solid;border-color:var(--issue-details-view-select-border-color);outline:none}"]})}}return p})();function XHe(p,l){if(p&1&&(dn(0,"div",2)(1,"div",9),ts(2),In()()),p&2){let r=vn(2);cn(2),H0(r.isActUserAuthor?"":r.displayname)}}function QHe(p,l){if(p&1){let r=la();dn(0,"div",10),Zi("click",function(){ir(r);let m=vn(2);return rr(m.close())})("keydown",function(m){ir(r);let A=vn(2);return rr(A.onKeyPress(m))}),In()}}function ZHe(p,l){if(p&1&&(dn(0,"div",4),ts(1),In()),p&2){let r=vn(2);cn(),H0(r.message)}}function KHe(p,l){if(p&1&&(dn(0,"a",11),bs(1,"div",12),ua(2,"translate"),dn(3,"div",13),ts(4),In()()),p&2){let r=l.$implicit;Zl("href",r.url,sz),cn(),Zl("title",pa(2,4,"_Hyperlink")),cn(2),Zl("title",r.url),cn(),H0(r.name)}}function JHe(p,l){if(p&1){let r=la();dn(0,"lib-bimplus-attachments",14),Zi("getAttachment",function(m){ir(r);let A=vn(2);return rr(A.getAttachment.emit(m))}),In()}if(p&2){let r=vn(2);Vn("attachments",r.attachments)}}function $He(p,l){if(p&1&&bs(0,"lib-links-to-documents",7),p&2){let r=vn(2);Vn("api",r.api)("attachments",r.attachmentLinkItems)("canCreateAttachmentLink",!1)("canDeleteAttachmentLink",!1)}}function eFe(p,l){if(p&1&&(dn(0,"div",8),ts(1),In()),p&2){let r=vn(2);cn(),ao(" ",r.date," ")}}function tFe(p,l){if(p&1&&(dn(0,"div",1),Lr(1,XHe,3,1,"div",2)(2,QHe,1,0,"div",3)(3,ZHe,2,1,"div",4)(4,KHe,5,6,"a",5)(5,JHe,1,1,"lib-bimplus-attachments",6)(6,$He,1,4,"lib-links-to-documents",7)(7,eFe,2,1,"div",8),In()),p&2){let r=vn();tB(r.isActUserAuthor?"author":""),cn(),Ss(r.isActUserAuthor?-1:1),cn(),Ss(r.isActUserAuthor?2:-1),cn(),Ss(r.message!==void 0?3:-1),cn(),Vn("ngForOf",r.hyperlinks),cn(),Ss(r.attachments.length?5:-1),cn(),Ss(r.attachmentLinkItems.length?6:-1),cn(),Ss(r.date&&r.date.length>0?7:-1)}}var nFe={hideDeleteAttachmentButton:!0,hideAttachmentSize:!0},Y$=(()=>{class p{constructor(){this.outputActionCommentEvent=new Fr,this.getAttachment=new Fr,this._message=void 0,this.api=null,this.attachmentLinkItems=[],this._date="",this._action="close",this._commentId="",this._isActUserAuthor=!0,this._displayname="",this.hyperlinks=[],this.attachments=[]}set message(r){this._message=r}get message(){return this._message}set date(r){let h=new Intl.DateTimeFormat(void 0,{timeStyle:"short"}).format(new Date(r));this._date=h}get date(){return this._date}set action(r){this._action=r}get action(){return this._action}set commentId(r){this._commentId=r}get commentId(){return this._commentId}set isActUserAuthor(r){this._isActUserAuthor=r}get isActUserAuthor(){return this._isActUserAuthor}set displayname(r){this._displayname=r}get displayname(){return this._displayname}emitAction(r){this.outputActionCommentEvent.emit(r)}close(){let r={action:this.action,data:{commentId:this.commentId}};this.emitAction(r)}onKeyPress(r){(r.key==="Escape"||r.key==="Esc")&&this.close()}formatTime(r){let h=window.navigator.language,m=new Date(r);return h.includes("en")?rK(m,"hh:mm a",h):rK(m,"hh:mm",h)}static{this.\u0275fac=function(h){return new(h||p)}}static{this.\u0275cmp=vs({type:p,selectors:[["lib-bimplus-comment"]],inputs:{api:"api",attachmentLinkItems:"attachmentLinkItems",message:"message",date:"date",action:"action",commentId:"commentId",isActUserAuthor:"isActUserAuthor",displayname:"displayname",hyperlinks:"hyperlinks",attachments:"attachments"},outputs:{outputActionCommentEvent:"outputActionCommentEvent",getAttachment:"getAttachment"},standalone:!0,features:[A0([{provide:HR,useValue:nFe}]),gs],decls:1,vars:1,consts:[[1,"comment-item-container",3,"class"],[1,"comment-item-container"],[1,"comment-header"],[1,"comment-close"],[1,"comment-item-text"],["class","hyperlink","target","_blank",3,"href",4,"ngFor","ngForOf"],["listOnly","",3,"attachments"],["listOnly","","hideAttachmentSize","","showEmptyMessage","false",3,"api","attachments","canCreateAttachmentLink","canDeleteAttachmentLink"],[1,"comment-item-date"],[1,"comment-title"],[1,"comment-close",3,"click","keydown"],["target","_blank",1,"hyperlink",3,"href"],[1,"link-icon",3,"title"],[1,"text",3,"title"],["listOnly","",3,"getAttachment","attachments"]],template:function(h,m){h&1&&Lr(0,tFe,8,9,"div",0),h&2&&Ss(m.message!==void 0?0:-1)},dependencies:[h2,f1,G$,F$],styles:[`.hyperlink{display:flex;align-items:center;gap:.4rem}.hyperlink .text{line-height:2.4rem;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.link-icon{background:url("./assets/Links_18_gray.svg") no-repeat center;width:1.8rem;height:1.8rem;cursor:pointer;display:flex}.comment-item-container{font:400 1.28rem Source Sans Pro,Helvetica,Arial,tahoma,sans-serif;background-color:var(--comments-list-item-container-background-color);border-radius:.4rem;margin:1rem 8rem 1rem 1rem;padding:.8rem}.comment-item-container.author{background-color:var(--comments-item-comment-author-background-color);margin:1rem 1rem 1rem 8rem}.comment-item-container a{text-decoration:none!important;color:var(--ui-text-1-color)}.comment-item-container .comment-header{display:inline-flex;justify-content:space-between;align-items:center;width:100%}.comment-item-container .comment-header .comment-title{font-weight:700}.comment-item-container .comment-close{background:url("./assets/bimplus_WebIcons_Cross.svg") no-repeat center;background-size:2rem;height:2rem;width:2rem;border:none;cursor:unset;float:right}.comment-item-container .comment-close:hover{cursor:pointer}.comment-item-container .comment-item-text{margin:.8rem 0;word-break:break-all;color:var(--ui-text-1-color)}.comment-item-container .hyperlink .link-icon{background-size:1.8rem}.comment-item-container .comment-attachments-list{line-height:2.4rem;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;color:var(--ui-text-1-color)}.comment-item-container .comment-attachments-list .attachment-object-item{width:100%}.comment-item-container .comment-attachments-list .attachment-object-item .attachment-object-link{display:inline-flex;align-items:center}.comment-item-container .comment-attachments-list .attachment-icon,.comment-item-container .comment-attachments-list .links-icon,.comment-item-container .comment-attachments-list .attachmentLink-icon{width:1.5rem;height:1.5rem;margin:0 .2rem}.comment-item-container .comment-attachments-list .tab-attachments{background:url("./assets/Attachment_18_gray.svg") no-repeat center}.comment-item-container .comment-attachments-list .tab-attachmentlinks{background:url("./assets/Attachmentlink_18_gray.svg") no-repeat center}.comment-item-container .comment-attachments-list .tab-hyperlinks{background:url("./assets/Links_18_gray.svg") no-repeat center}.comment-item-container .comment-attachments-list .icon:hover{cursor:pointer}.comment-item-container .comment-item-date{text-align:end;color:var(--comments-list-item-date-color)}lib-bimplus-attachments{--bim-attachment-item-border-bottom: none;--bim-attachment-item-background-position: 0 center;--bim-attachment-item-padding-left: 1.3rem;--bim-attachment-item-background-image: url("./assets/Attachment_18_gray.svg")}lib-links-to-documents{--bim-attachment-name-padding: 0;--bim-attachment-item-background-position: 0;--attachment-row-border-bottom: none;--bim-attachment-item-background-image: url("./assets/Attachmentlink_18_gray.svg");--bim-attachment-delete-button: #444;--attachment-row-margin: 0;--bim-attachment-item-background-size: 1.8rem;--bim-attachment-delete-button-font-weight: bold;--bim-attachmentlink-item-left-padding: 2.3rem}
12752
12752
  `],encapsulation:3})}}return p})();var X$=(()=>{class p{constructor(){this.bimplusAttachmentsService=Fl(OF)}deleteComment(r){return Up(this.api.comments.delete(r))}downloadAttachment(r){let{id:h,fileName:m}=r;if(!this.api)return;let A=this.api,C=`${A.getApiTeamUrl()}attachments/${h}/download?api-token=${A.getAccessToken()}&openInBrowser=true`;this.bimplusAttachmentsService.download(C,m)}postComments(r,h,m,A,C){return Up(this.api.objects.postComment(r,h)).pipe(Qy(G=>{let{id:S}=G,H=A.map(ee=>{let te=new FormData;return te.append("file",ee.file),te.append("name",ee.fileName),te.append("size",ee.file.size.toString()),te.append("type",ee.file.type),te.append("objectId",r),te});return zf(H).pipe(ip(ee=>({formData:ee,id:S})))}),Qy(({id:G,formData:S})=>{let H=function(){console.info("")},ee=S?.map(te=>Up(this.api.objects.postAttachment(G,te,H,"")));return ee?.length?y8(ee).pipe(ip(()=>G)):zf(G)}),Qy(G=>Ode(C,G,this.api).pipe(ip(()=>G))),Qy(G=>this.manageHyperLinks(G,m)),rY(null),LQ())}loadComments(r){return Up(this.api.objects.getComments(r))}manageHyperLinks(r,h){let m=[];return h.forEach(A=>{let C=JSON.stringify(A),G=this.api?.objects.postHyperlink(r,C).catch(S=>{console.log(S)});m.push(G)}),Up(Promise.all(m))}static{this.\u0275fac=function(h){return new(h||p)}}static{this.\u0275prov=nl({token:p,factory:p.\u0275fac})}}return p})();var Q$=(()=>{class p{constructor(){this._statusBarData=new Du({title:"",statusBarVisible:!1})}get statusBarVisible(){return this._statusBarData.value.statusBarVisible}get title(){return this._statusBarData.value.title}get statusBarData(){return this._statusBarData.value}get statusBarDataSubscription(){return this._statusBarData}setStatusBarData(r){this._statusBarData.next(r)}static{this.\u0275fac=function(h){return new(h||p)}}static{this.\u0275prov=nl({token:p,factory:p.\u0275fac,providedIn:"root"})}}return p})();var RMe=()=>[];function rFe(p,l){if(p&1){let r=la();dn(0,"div",22),bs(1,"div",23),dn(2,"div",24),ts(3),In(),dn(4,"span",25),ua(5,"translate"),Zi("click",function(){let m=ir(r).$implicit,A=vn(3);return rr(A.removeIntermediateHyperlink(m))})("keydown",function(m){let A=ir(r).$implicit,C=vn(3);return rr(C.removeIntermediateHyperlinkKeypress(m,A))}),In()()}if(p&2){let r=l.$implicit;Zl("title",r.url),cn(),Zl("title",r.url),cn(2),H0(r.name),cn(),Zl("title",pa(5,4,"_Hyperlink delete confirmation title"))}}function sFe(p,l){if(p&1&&(dn(0,"div",7),Lr(1,rFe,6,6,"div",21),In()),p&2){let r=vn(2);cn(),Vn("ngForOf",r.intermediateHyperlinks)}}function aFe(p,l){if(p&1){let r=la();dn(0,"form",8)(1,"div",26),bs(2,"div",27),dn(3,"lib-bimplus-input-text-field",28),ua(4,"translate"),Zi("enterKeyPressed",function(){ir(r);let m=vn(2);return rr(m.onEnterKeyPressedInHyperlinkForm())}),In()(),dn(5,"div",26),bs(6,"div",29),dn(7,"lib-bimplus-input-text-field",30),ua(8,"translate"),Zi("enterKeyPressed",function(){ir(r);let m=vn(2);return rr(m.onEnterKeyPressedInHyperlinkForm())}),In()(),dn(9,"lib-bimplus-buttons-row",17),Zi("buttonClicked",function(m){ir(r);let A=vn(2);return rr(A.hyperlinkButtonRowButtonClicked(m))}),In()()}if(p&2){let r=vn(2);Vn("formGroup",r.hyperlinkForm),cn(3),Zl("placeholder",pa(4,4,"_Name")),cn(4),Zl("placeholder",pa(8,6,"_URL")),cn(2),Vn("items",r.hyperlinkButtonRowItems)}}function oFe(p,l){if(p&1&&(dn(0,"div",31),ts(1),In()),p&2){let r=vn().$implicit,h=vn(2);cn(),ao(" ",h.formatDate(r.createdAt)," ")}}function lFe(p,l){if(p&1){let r=la();Lr(0,oFe,2,1,"div",31),dn(1,"lib-bimplus-comment",32),Zi("outputActionCommentEvent",function(m){ir(r);let A=vn(2);return rr(A.handleActionCommentEvent(m))})("getAttachment",function(m){ir(r);let A=vn(2);return rr(A.onGetAttachment(m))}),In()}if(p&2){let r,h,m=l.$implicit,A=vn(2);Ss(m.createdAt&&A.isSameDate(m.createdAt)?0:-1),cn(),Vn("message",m.text)("api",A.api)("date",m.createdAt?m.createdAt:"")("commentId",m.id)("attachments",(r=m.attachments)!==null&&r!==void 0?r:LY(10,RMe))("attachmentLinkItems",(h=m.attachmentLinks)!==null&&h!==void 0?h:LY(11,RMe))("hyperlinks",m.hyperlinks)("isActUserAuthor",A.isActUserAuthor(m))("displayname",A.displayName(m))}}function cFe(p,l){if(p&1){let r=la();dn(0,"div",2)(1,"div",3)(2,"lib-bimplus-textarea",4),Zi("textAreaValueChange",function(m){ir(r);let A=vn();return rr(A.onTextareaValueChange(m))}),In()(),dn(3,"lib-bimplus-attachments",5,0),Zi("addAttachment",function(m){ir(r);let A=vn();return rr(A.onAddAttachment(m))})("deleteAttachment",function(m){ir(r);let A=vn();return rr(A.onDeleteAttachment(m))}),In(),dn(5,"lib-links-to-documents",6,1),Zi("attachmentsChange",function(m){ir(r);let A=vn();return rr(A.onAttachmentsChange(m))}),In(),Lr(7,sFe,2,1,"div",7)(8,aFe,10,8,"form",8),dn(9,"div",9)(10,"div",10),bs(11,"div",11),dn(12,"div",12),ua(13,"translate"),Zi("click",function(){ir(r);let m=xf(4);return rr(m.open())})("keydown",function(){ir(r);let m=xf(4);return rr(m.open())}),In(),dn(14,"div",13),ua(15,"translate"),Zi("click",function(){ir(r);let m=vn();return rr(m.addHyperlinkIconClicked())})("keydown",function(m){ir(r);let A=vn();return rr(A.addHyperlinkIconKeypress(m))}),In(),dn(16,"div",14),ua(17,"translate"),Zi("click",function(){ir(r);let m=xf(6),A=vn();return rr(m.createAttachmentLink(A.api))})("keydown",function(){ir(r);let m=xf(6),A=vn();return rr(m.createAttachmentLink(A.api))}),In(),bs(18,"div",15),In(),dn(19,"div",16)(20,"lib-bimplus-buttons-row",17),Zi("buttonClicked",function(m){ir(r);let A=vn();return rr(A.buttonRowButtonClicked(m))}),In()()(),bs(21,"div",18),dn(22,"div",19)(23,"lib-bimplus-scrollable-container"),Lf(24,lFe,2,12,"lib-bimplus-comment",20,$y),ua(26,"async"),In()()()}if(p&2){let r=vn();cn(2),Vn("placeholder",r.placeholder)("name",r.name)("readonly",r.readonly)("activeAutoResizeTextarea",!0)("minRows",r.minRows)("maxRows",r.maxRows)("clearValue",r.clearTextareaValue()),cn(),Vn("attachments",r.attachmentsState()),cn(2),Vn("attachments",r.attachmentLinkItems)("api",r.api)("project",r.project)("rootObjectId",r.rootObjectId)("canCreateAttachmentLink",!0)("canDeleteAttachmentLink",!0)("wormholeSelector",r.wormholeSelector)("env",r.env),cn(2),Ss(r.intermediateHyperlinks.length?7:-1),cn(),Ss(r.isAddingHyperlink?8:-1),cn(4),Vn("title",pa(13,22,"_Add attachment")),cn(2),Vn("title",pa(15,24,"_Add hyperlink")),cn(2),Vn("title",pa(17,26,"_Add_attachment_link")),cn(4),Vn("items",r.buttonRowItems),cn(4),Sf(pa(26,28,r.commentsList$))}}var uFe={showNoAttachmentsFound:!1,hideAttachmentSize:!0},NMe=(()=>{class p extends w1{set rootObjectId(r){this._rootObjectId=r}get rootObjectId(){return this._rootObjectId}set userId(r){this._userId=r}get userId(){return this._userId}constructor(r,h,m,A,C,G,S){super(h),this.dialogService=r,this.datePipe=m,this.formBuilder=A,this.bimplusAttachmentsService=C,this.bimplusObjectCommentsListService=G,this.statusBarService=S,this.project=null,this.wormholeSelector="localEmbeddedModalId",this.env="prod",this.attachmentLinkItems=[],this.commentsList$=new Du([]),this.loading=hl(!1),this.attachmentsState=hl([]),this.buttonRowItems=[],this.hyperlinkButtonRowItems=[],this.textAreaValue=null,this.lastShownDate="",this.placeholder="",this.name="",this.readonly=!1,this.autoResizeTextarea=!0,this.minRows=3,this.maxRows=10,this.clearValue=!1,this.statusBarTitleMessage=this.translateService.instant("_Loading"),this.newAttachmentIDs=[],this.isAddingHyperlink=!1,this.intermediateHyperlinks=[],this._rootObjectId="",this._userId="",this.hyperlinkForm=this.formBuilder.group({name:["",[]],url:["",[hH.required,hH.pattern(/^[^<>]*$/),hH.pattern(/^(?!\s*$).+/)]]})}ngOnInit(){this.bimplusObjectCommentsListService.api=this.api,this.loadComments();let r=[{id:"submit",title:this.translateService.instant("_Add comment"),tooltip:this.translateService.instant("_Add comment"),disabled:!this.textAreaValue,buttonStyle:"primary"}];this.placeholder=this.translateService.instant("_Place comment text here"),this.name=this.translateService.instant("comment"),this.buttonRowItems=r,this.hyperlinkButtonRowItems.push({id:"cancel-hyperlink",title:this.translateService.instant("_Cancel"),tooltip:this.translateService.instant("_Cancel"),disabled:!1,buttonStyle:"primary"},{id:"add-hyperlink",title:this.translateService.instant("_Add hyperlink"),tooltip:this.translateService.instant("_Add hyperlink"),disabled:!0,buttonStyle:"primary"}),this.hyperlinkForm.statusChanges.subscribe(h=>{this.hyperlinkButtonRowItems[1].disabled=h!=="VALID"})}ngOnChanges(r){r.rootObjectId&&!r.rootObjectId.firstChange&&this.loadComments()}onAttachmentsChange(r){this.newAttachmentIDs=[...this.newAttachmentIDs,...r]}onAddAttachment(r){let h=this.bimplusAttachmentsService.getAttachment(r);this.attachmentsState.update(m=>[...m,h])}onDeleteAttachment(r){this.attachmentsState.update(h=>h.filter(m=>m!==r))}onGetAttachment(r){this.bimplusObjectCommentsListService.downloadAttachment(r)}onTextareaValueChange(r){this.textAreaValue=r,this.buttonRowItems[0].disabled=!r}handleActionCommentEvent(r){if(r.action==="delete"){let h=r.data;this.openDialogDeleteComment(h.commentId)}}actionDialogClose(r){this.dialogService.close(r)}openDialogDeleteComment(r){this.dialogService.open(j$,{options:{position:"middle",positionOptions:{},overlayClickEnabled:!1,overlayVisibilityEnabled:!0,draggable:!0},data:{title:this.translateService.instant("_Comment delete confirmation title"),message:this.translateService.instant("_Comment delete confirmation message"),acceptCallback:()=>{this.deleteComment(r)}}})}isSameDate(r){if(!r)return!1;let h=this.datePipe.transform(r,"shortDate");return this.lastShownDate===h?!1:(this.lastShownDate=r,!0)}buttonRowButtonClicked(r){if(r.id==="submit"){if(!this.api||!this.rootObjectId)return;this.loading.set(!0);let h={text:this.textAreaValue,objectId:this.rootObjectId},m=JSON.stringify(h);this.statusBarService.setStatusBarData({statusBarVisible:!0,title:this.translateService.instant("_Creating new comment")}),this.bimplusObjectCommentsListService.postComments(this.rootObjectId,m,this.getHyperlinks(this.rootObjectId),this.attachmentsState(),this.newAttachmentIDs).pipe(Qy(()=>this.bimplusObjectCommentsListService.loadComments(this.rootObjectId))).subscribe({next:A=>this.commentsList$.next(A),complete:()=>{this.attachmentsState.set([]),this.intermediateHyperlinks=[],this.textAreaValue=null,this.clearValue=!0,this.buttonRowItems[0].disabled=!0,this.loading.set(!1),this.statusBarService.setStatusBarData({statusBarVisible:!1,title:""})}})}}hyperlinkButtonRowButtonClicked(r){r.id==="add-hyperlink"?this.addIntermediateHyperlink():r.id==="cancel-hyperlink"&&(this.hyperlinkForm.reset(),this.isAddingHyperlink=!1)}addIntermediateHyperlink(){if(!this.hyperlinkForm.valid)return;let r=this.hyperlinkForm.value.url.trim();RegExp(/^http(s?):\/\//).exec(r)||(r="https://"+r);let h=this.hyperlinkForm.value.name?.trim()??"";h===""&&(h=r),h=h?.replace(/^http(s?):\/\//,""),this.intermediateHyperlinks.push({name:h,url:r}),this.hyperlinkForm.reset(),this.isAddingHyperlink=!1}deleteComment(r){this.statusBarService.setStatusBarData({statusBarVisible:!0,title:this.translateService.instant("_Deleting the comment")}),this.bimplusObjectCommentsListService.deleteComment(r).subscribe(()=>this.loadComments())}addHyperlinkIconClicked(){this.isAddingHyperlink=!this.isAddingHyperlink}addHyperlinkIconKeypress(r){(r.key==="Enter"||r.key===" ")&&this.addHyperlinkIconClicked()}removeIntermediateHyperlink(r){this.intermediateHyperlinks=this.intermediateHyperlinks.filter(h=>h!==r)}removeIntermediateHyperlinkKeypress(r,h){(r.key==="Enter"||r.key===" ")&&this.removeIntermediateHyperlink(h)}isActUserAuthor(r){return r.author?.id===this.userId}displayName(r){return r.author?.displayname?r.author?.displayname:""}formatDate(r){if(window.navigator.language.includes("en")){let m=new Date(r);return m.getMonth()+"/"+m.getDate()+"/"+m.getFullYear()}return new Intl.DateTimeFormat(void 0,{dateStyle:"short"}).format(new Date(r))}clearTextareaValue(){return this.clearValue}loadComments(){this.statusBarService.setStatusBarData({statusBarVisible:!0,title:this.translateService.instant("_Loading comments list")}),this.loading.set(!0),this.bimplusObjectCommentsListService.loadComments(this.rootObjectId).subscribe({next:r=>this.commentsList$.next(r),complete:()=>{this.loading.set(!1),this.statusBarService.setStatusBarData({statusBarVisible:!1,title:""})}})}getHyperlinks(r){return this.intermediateHyperlinks.map(h=>lb(V1({},h),{objectId:r}))}onEnterKeyPressedInHyperlinkForm(){this.addIntermediateHyperlink()}static{this.\u0275fac=function(h){return new(h||p)($i(H_),$i(Wa),$i(aK),$i(yve),$i(OF),$i(X$),$i(Q$))}}static{this.\u0275cmp=vs({type:p,selectors:[["lib-bimplus-object-comments-list"]],inputs:{api:"api",project:"project",wormholeSelector:"wormholeSelector",env:"env",attachmentLinkItems:"attachmentLinkItems",rootObjectId:"rootObjectId",userId:"userId"},standalone:!0,features:[A0([aK,X$,OF,{provide:HR,useValue:uFe}]),Ll,p2,gs],decls:1,vars:1,consts:[["attachments",""],["linksToDocuments",""],[1,"comment-tab-container"],[1,"textarea-container"],[3,"textAreaValueChange","placeholder","name","readonly","activeAutoResizeTextarea","minRows","maxRows","clearValue"],["listOnly","",3,"addAttachment","deleteAttachment","attachments"],["listOnly","","hideAttachmentSize","","showEmptyMessage","false",3,"attachmentsChange","attachments","api","project","rootObjectId","canCreateAttachmentLink","canDeleteAttachmentLink","wormholeSelector","env"],[1,"intermediate-hyperlinks-list"],[1,"hyperlink-input-form",3,"formGroup"],[1,"comments-tab-attachments-section"],[1,"comments-attachments-list"],[1,"tab-attachments","icon","attachments-icon","hidden"],[1,"attachment-icon","icon-small","interactive",3,"click","keydown","title"],[1,"link-icon","icon-small","interactive",3,"click","keydown","title"],[1,"link-document-icon","icon-small","interactive",3,"click","keydown","title"],[1,"tab-attachmentlinks","icon","attachments-icon","hidden"],[1,"add-comment"],[3,"buttonClicked","items"],[1,"comments-separator"],[1,"scrollable-content-container"],["action","delete",3,"message","api","date","commentId","attachments","attachmentLinkItems","hyperlinks","isActUserAuthor","displayname"],["class","intermediate-hyperlink",3,"title",4,"ngFor","ngForOf"],[1,"intermediate-hyperlink",3,"title"],[1,"link-icon","icon-small",3,"title"],[1,"text"],[1,"cancel-icon",3,"click","keydown","title"],[1,"hyperlink-input-row"],[1,"link-icon","icon-next-to-text-input"],["formControlName","name",1,"flex-grow",3,"enterKeyPressed","placeholder"],[1,"icon-next-to-text-input"],["formControlName","url",1,"flex-grow",3,"enterKeyPressed","placeholder"],[1,"comment-list-date"],["action","delete",3,"outputActionCommentEvent","getAttachment","message","api","date","commentId","attachments","attachmentLinkItems","hyperlinks","isActUserAuthor","displayname"]],template:function(h,m){h&1&&Lr(0,cFe,27,30,"div",2),h&2&&Ss(m.loading()?-1:0)},dependencies:[h2,V$,Y$,RI,Sl,f1,zw,_Me,G$,F$,uR,vve,bL,dve,mH,dce,hce,Abe],styles:[`:host{height:100%;display:flex;flex-direction:column;flex:1}.link-icon{background:url("./assets/Links_18_gray.svg") no-repeat center}.attachment-icon{background:url("./assets/Attachment_18_gray.svg") no-repeat center}.link-document-icon{background:url("./assets/Attachmentlink_18_gray.svg") no-repeat center}.icon{height:2rem;width:2rem;margin:0 .2rem}.icon-small{height:100%;width:1.8rem;margin:0 .2rem}.icon-next-to-text-input{width:1.8rem;margin:.3rem .2rem 0}.interactive{cursor:pointer}.flex{display:flex}.flex-grow{flex-grow:1}.hyperlink-input-row{display:flex;gap:.2rem}.intermediate-hyperlinks-list{margin:0 .6rem .2rem 0}.intermediate-hyperlink{padding-left:.8rem;display:grid;grid-template-columns:auto 1fr auto;column-gap:.4rem}.intermediate-hyperlink .text{line-height:2.4rem;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.intermediate-hyperlink .cancel-icon{flex:1;background:url("./assets/bimplus_WebIcons_Cross.svg") no-repeat center;background-size:1.8rem;width:3.2rem;max-width:3.2rem;cursor:pointer}.hyperlink-input-form{padding-left:.8rem;padding-right:.8rem;display:flex;flex-direction:column;gap:.2rem}.comment-tab-container{height:100%;display:flex;flex-direction:column;flex:1}.comment-tab-container .scrollable-content-container{position:relative;flex:1;width:100%}.comment-tab-container .scrollable-content-container lib-bimplus-scrollable-container{position:absolute;top:0;bottom:0;flex:1;width:100%}.comment-tab-container .textarea-container{margin-left:.8rem}.comment-tab-container .comments-tab-attachments-section{display:inline-flex;width:100%;justify-content:space-between;margin:1rem .8rem .8rem 0}.comment-tab-container .comments-tab-attachments-section .comments-attachments-list{align-items:center;margin-left:.8rem}.comment-tab-container .comments-tab-attachments-section .add-comment{display:inline-flex;align-items:center;margin-right:.8rem}.comment-tab-container .comments-attachments-list{display:inline-flex}.comment-tab-container .comments-attachments-list .attachments-icon{height:2rem;width:2rem;margin:0 .2rem;cursor:pointer}.comment-tab-container .comments-attachments-list .tab-attachments{background:url("./assets/Attachment_18_gray.svg") no-repeat center}.comment-tab-container .comments-attachments-list .tab-attachmentlinks{background:url("./assets/Attachmentlink_18_gray.svg") no-repeat center}.comment-tab-container .comments-attachments-list .tab-hyperlinks{background:url("./assets/Links_18_gray.svg") no-repeat center}.comment-tab-container .comments-separator{margin:0 .8rem .8rem;border-bottom:solid .1rem var(--comments-chat-comments-separator-border-color)}.comment-tab-container textarea::-webkit-scrollbar-track{background-color:var(--main-menu-apps-container-background-color-enabled)}.comment-tab-container textarea::-webkit-scrollbar-thumb{background-color:var(--propertymanager-object-tree-scrollable-border-color);border-radius:5px}.comment-tab-container textarea::-webkit-scrollbar{width:7px;background:var(--storage-info-placeholder-text-color-enabled)}.comment-tab-container .comment-list-date{text-align:center}.comment-tab-container .hidden{display:none}lib-bimplus-attachments{--bim-attachment-item-border-bottom: none;--bim-attachment-delete-button-icon-color: #444;--bim-attachment-delete-button-icon-font-weight: bold;--bim-attachment-item-background-image: url("./assets/Attachment_18_gray.svg")}lib-links-to-documents{--attachment-row-border-bottom: none;--bim-attachment-item-background-image: url("./assets/Attachmentlink_18_gray.svg");--bim-attachment-delete-button: #444;--attachment-row-margin: 0;--bim-attachment-item-background-size: 1.8rem;--bim-attachment-delete-button-font-weight: bold}
12753
12753
  `],encapsulation:3,changeDetection:0})}}return p})();var PMe=(()=>{class p{get title(){return this._title}constructor(r){this.statusBarService=r,this._title=""}ngOnInit(){this.statusBarService.statusBarDataSubscription.subscribe(r=>{this._title=r.title})}closeClick(){this.statusBarService.setStatusBarData({title:"",statusBarVisible:!1})}closeKeyDown(r){(r.key==="Enter"||r.key==="Escape")&&this.closeClick()}static{this.\u0275fac=function(h){return new(h||p)($i(Q$))}}static{this.\u0275cmp=vs({type:p,selectors:[["lib-bimplus-status-bar"]],standalone:!0,features:[gs],decls:3,vars:1,consts:[[1,"statusBar-container"],[1,"status-bar-text",3,"innerHTML"],["title","Close",1,"close-button",3,"click","keydown"]],template:function(h,m){h&1&&(dn(0,"div",0),bs(1,"span",1),dn(2,"div",2),Zi("click",function(){return m.closeClick()})("keydown",function(C){return m.closeKeyDown(C)}),In()()),h&2&&(cn(),Vn("innerHTML",m.title,P_))},styles:[`.statusBar-container{display:flex;align-items:center;position:fixed;box-sizing:border-box;left:0;color:var(--status-bar-color);width:100%;height:3.3rem;line-height:1.7;padding:.5rem 3.5rem;background:url("./assets/progress-spinner.svg") no-repeat var(--clashdetection-empty-line-image-background-color);background-position:.2rem .2rem;background-size:3rem 3rem;bottom:0;will-change:opacity transform;animation:fade_in 1s cubic-bezier(.14,.18,.16,1.02) infinite;animation-iteration-count:1;z-index:2}.statusBar-container.hidden{display:none}.close-button{position:absolute;right:0;color:var(--status-bar-close-button-color);width:3.2rem;height:3.2rem;flex-grow:0;flex-shrink:0;background:url("./assets/bimplus_Components_Overlay_Dialog_Cross_White.svg") no-repeat;background-position:center;cursor:pointer}@keyframes fade_in{0%,14%{opacity:0;transform:translateY(1rem) scale(.95)}15%{opacity:.25}30%,to{opacity:1;transform:translateY(0) scale(1)}}
12754
12754
  `],encapsulation:3})}}return p})();var pFe=typeof global=="object"&&global&&global.Object===Object&&global,BMe=pFe;var dFe=typeof self=="object"&&self&&self.Object===Object&&self,hFe=BMe||dFe||Function("return this")(),Z$=hFe;var fFe=Z$.Symbol,_F=fFe;var HMe=Object.prototype,mFe=HMe.hasOwnProperty,bFe=HMe.toString,VX=_F?_F.toStringTag:void 0;function vFe(p){var l=mFe.call(p,VX),r=p[VX];try{p[VX]=void 0;var h=!0}catch{}var m=bFe.call(p);return h&&(l?p[VX]=r:delete p[VX]),m}var FMe=vFe;var gFe=Object.prototype,yFe=gFe.toString;function MFe(p){return yFe.call(p)}var kMe=MFe;var IFe="[object Null]",wFe="[object Undefined]",qMe=_F?_F.toStringTag:void 0;function AFe(p){return p==null?p===void 0?wFe:IFe:qMe&&qMe in Object(p)?FMe(p):kMe(p)}var WMe=AFe;function OFe(p){return p!=null&&typeof p=="object"}var UMe=OFe;var _Fe="[object Symbol]";function TFe(p){return typeof p=="symbol"||UMe(p)&&WMe(p)==_Fe}var GMe=TFe;var EFe=/\s/;function zFe(p){for(var l=p.length;l--&&EFe.test(p.charAt(l)););return l}var jMe=zFe;var CFe=/^\s+/;function DFe(p){return p&&p.slice(0,jMe(p)+1).replace(CFe,"")}var VMe=DFe;function LFe(p){var l=typeof p;return p!=null&&(l=="object"||l=="function")}var _B=LFe;var YMe=NaN,SFe=/^[-+]0x[0-9a-f]+$/i,xFe=/^0b[01]+$/i,RFe=/^0o[0-7]+$/i,NFe=parseInt;function PFe(p){if(typeof p=="number")return p;if(GMe(p))return YMe;if(_B(p)){var l=typeof p.valueOf=="function"?p.valueOf():p;p=_B(l)?l+"":l}if(typeof p!="string")return p===0?p:+p;p=VMe(p);var r=xFe.test(p);return r||RFe.test(p)?NFe(p.slice(2),r?2:8):SFe.test(p)?YMe:+p}var _de=PFe;var BFe=function(){return Z$.Date.now()},K$=BFe;var HFe="Expected a function",FFe=Math.max,kFe=Math.min;function qFe(p,l,r){var h,m,A,C,G,S,H=0,ee=!1,te=!1,Oe=!0;if(typeof p!="function")throw new TypeError(HFe);l=_de(l)||0,_B(r)&&(ee=!!r.leading,te="maxWait"in r,A=te?FFe(_de(r.maxWait)||0,l):A,Oe="trailing"in r?!!r.trailing:Oe);function Ne(tn){var Ni=h,Ei=m;return h=m=void 0,H=tn,C=p.apply(Ei,Ni),C}function Ze(tn){return H=tn,G=setTimeout(Dt,l),ee?Ne(tn):C}function ft(tn){var Ni=tn-S,Ei=tn-H,Di=l-Ni;return te?kFe(Di,A-Ei):Di}function xt(tn){var Ni=tn-S,Ei=tn-H;return S===void 0||Ni>=l||Ni<0||te&&Ei>=A}function Dt(){var tn=K$();if(xt(tn))return Ct(tn);G=setTimeout(Dt,ft(tn))}function Ct(tn){return G=void 0,Oe&&h?Ne(tn):(h=m=void 0,C)}function Qn(){G!==void 0&&clearTimeout(G),H=0,h=S=m=G=void 0}function Fn(){return G===void 0?C:Ct(K$())}function yi(){var tn=K$(),Ni=xt(tn);if(h=arguments,m=this,S=tn,Ni){if(G===void 0)return Ze(S);if(te)return clearTimeout(G),G=setTimeout(Dt,l),Ne(S)}return G===void 0&&(G=setTimeout(Dt,l)),C}return yi.cancel=Qn,yi.flush=Fn,yi}var TB=qFe;var WFe="Expected a function";function UFe(p,l,r){var h=!0,m=!0;if(typeof p!="function")throw new TypeError(WFe);return _B(r)&&(h="leading"in r?!!r.leading:h,m="trailing"in r?!!r.trailing:m),TB(p,l,{leading:h,maxWait:l,trailing:m})}var Tde=UFe;var EF=function(){return EF=Object.assign||function(l){for(var r,h=1,m=arguments.length;h<m;h++){r=arguments[h];for(var A in r)Object.prototype.hasOwnProperty.call(r,A)&&(l[A]=r[A])}return l},EF.apply(this,arguments)};function ZMe(p){return!p||!p.ownerDocument||!p.ownerDocument.defaultView?window:p.ownerDocument.defaultView}function KMe(p){return!p||!p.ownerDocument?document:p.ownerDocument}var JMe=function(p){var l={},r=Array.prototype.reduce.call(p,function(h,m){var A=m.name.match(/data-simplebar-(.+)/);if(A){var C=A[1].replace(/\W+(.)/g,function(G,S){return S.toUpperCase()});switch(m.value){case"true":h[C]=!0;break;case"false":h[C]=!1;break;case void 0:h[C]=!0;break;default:h[C]=m.value}}return h},l);return r};function $Me(p,l){var r;p&&(r=p.classList).add.apply(r,l.split(" "))}function eIe(p,l){p&&l.split(" ").forEach(function(r){p.classList.remove(r)})}function tIe(p){return".".concat(p.split(" ").join("."))}var zde=!!(typeof window<"u"&&window.document&&window.document.createElement),GFe=Object.freeze({__proto__:null,addClasses:$Me,canUseDOM:zde,classNamesToQuery:tIe,getElementDocument:KMe,getElementWindow:ZMe,getOptions:JMe,removeClasses:eIe}),TF=null,XMe=null;zde&&window.addEventListener("resize",function(){XMe!==window.devicePixelRatio&&(XMe=window.devicePixelRatio,TF=null)});function QMe(){if(TF===null){if(typeof document>"u")return TF=0,TF;var p=document.body,l=document.createElement("div");l.classList.add("simplebar-hide-scrollbar"),p.appendChild(l);var r=l.getBoundingClientRect().right;p.removeChild(l),TF=r}return TF}var FR=ZMe,Ede=KMe,jFe=JMe,kR=$Me,qR=eIe,W_=tIe,YX=function(){function p(l,r){r===void 0&&(r={});var h=this;if(this.removePreventClickId=null,this.minScrollbarWidth=20,this.stopScrollDelay=175,this.isScrolling=!1,this.isMouseEntering=!1,this.isDragging=!1,this.scrollXTicking=!1,this.scrollYTicking=!1,this.wrapperEl=null,this.contentWrapperEl=null,this.contentEl=null,this.offsetEl=null,this.maskEl=null,this.placeholderEl=null,this.heightAutoObserverWrapperEl=null,this.heightAutoObserverEl=null,this.rtlHelpers=null,this.scrollbarWidth=0,this.resizeObserver=null,this.mutationObserver=null,this.elStyles=null,this.isRtl=null,this.mouseX=0,this.mouseY=0,this.onMouseMove=function(){},this.onWindowResize=function(){},this.onStopScrolling=function(){},this.onMouseEntered=function(){},this.onScroll=function(){var m=FR(h.el);h.scrollXTicking||(m.requestAnimationFrame(h.scrollX),h.scrollXTicking=!0),h.scrollYTicking||(m.requestAnimationFrame(h.scrollY),h.scrollYTicking=!0),h.isScrolling||(h.isScrolling=!0,kR(h.el,h.classNames.scrolling)),h.showScrollbar("x"),h.showScrollbar("y"),h.onStopScrolling()},this.scrollX=function(){h.axis.x.isOverflowing&&h.positionScrollbar("x"),h.scrollXTicking=!1},this.scrollY=function(){h.axis.y.isOverflowing&&h.positionScrollbar("y"),h.scrollYTicking=!1},this._onStopScrolling=function(){qR(h.el,h.classNames.scrolling),h.options.autoHide&&(h.hideScrollbar("x"),h.hideScrollbar("y")),h.isScrolling=!1},this.onMouseEnter=function(){h.isMouseEntering||(kR(h.el,h.classNames.mouseEntered),h.showScrollbar("x"),h.showScrollbar("y"),h.isMouseEntering=!0),h.onMouseEntered()},this._onMouseEntered=function(){qR(h.el,h.classNames.mouseEntered),h.options.autoHide&&(h.hideScrollbar("x"),h.hideScrollbar("y")),h.isMouseEntering=!1},this._onMouseMove=function(m){h.mouseX=m.clientX,h.mouseY=m.clientY,(h.axis.x.isOverflowing||h.axis.x.forceVisible)&&h.onMouseMoveForAxis("x"),(h.axis.y.isOverflowing||h.axis.y.forceVisible)&&h.onMouseMoveForAxis("y")},this.onMouseLeave=function(){h.onMouseMove.cancel(),(h.axis.x.isOverflowing||h.axis.x.forceVisible)&&h.onMouseLeaveForAxis("x"),(h.axis.y.isOverflowing||h.axis.y.forceVisible)&&h.onMouseLeaveForAxis("y"),h.mouseX=-1,h.mouseY=-1},this._onWindowResize=function(){h.scrollbarWidth=h.getScrollbarWidth(),h.hideNativeScrollbar()},this.onPointerEvent=function(m){if(!(!h.axis.x.track.el||!h.axis.y.track.el||!h.axis.x.scrollbar.el||!h.axis.y.scrollbar.el)){var A,C;h.axis.x.track.rect=h.axis.x.track.el.getBoundingClientRect(),h.axis.y.track.rect=h.axis.y.track.el.getBoundingClientRect(),(h.axis.x.isOverflowing||h.axis.x.forceVisible)&&(A=h.isWithinBounds(h.axis.x.track.rect)),(h.axis.y.isOverflowing||h.axis.y.forceVisible)&&(C=h.isWithinBounds(h.axis.y.track.rect)),(A||C)&&(m.stopPropagation(),m.type==="pointerdown"&&m.pointerType!=="touch"&&(A&&(h.axis.x.scrollbar.rect=h.axis.x.scrollbar.el.getBoundingClientRect(),h.isWithinBounds(h.axis.x.scrollbar.rect)?h.onDragStart(m,"x"):h.onTrackClick(m,"x")),C&&(h.axis.y.scrollbar.rect=h.axis.y.scrollbar.el.getBoundingClientRect(),h.isWithinBounds(h.axis.y.scrollbar.rect)?h.onDragStart(m,"y"):h.onTrackClick(m,"y"))))}},this.drag=function(m){var A,C,G,S,H,ee,te,Oe,Ne,Ze,ft;if(!(!h.draggedAxis||!h.contentWrapperEl)){var xt,Dt=h.axis[h.draggedAxis].track,Ct=(C=(A=Dt.rect)===null||A===void 0?void 0:A[h.axis[h.draggedAxis].sizeAttr])!==null&&C!==void 0?C:0,Qn=h.axis[h.draggedAxis].scrollbar,Fn=(S=(G=h.contentWrapperEl)===null||G===void 0?void 0:G[h.axis[h.draggedAxis].scrollSizeAttr])!==null&&S!==void 0?S:0,yi=parseInt((ee=(H=h.elStyles)===null||H===void 0?void 0:H[h.axis[h.draggedAxis].sizeAttr])!==null&&ee!==void 0?ee:"0px",10);m.preventDefault(),m.stopPropagation(),h.draggedAxis==="y"?xt=m.pageY:xt=m.pageX;var tn=xt-((Oe=(te=Dt.rect)===null||te===void 0?void 0:te[h.axis[h.draggedAxis].offsetAttr])!==null&&Oe!==void 0?Oe:0)-h.axis[h.draggedAxis].dragOffset;tn=h.draggedAxis==="x"&&h.isRtl?((Ze=(Ne=Dt.rect)===null||Ne===void 0?void 0:Ne[h.axis[h.draggedAxis].sizeAttr])!==null&&Ze!==void 0?Ze:0)-Qn.size-tn:tn;var Ni=tn/(Ct-Qn.size),Ei=Ni*(Fn-yi);h.draggedAxis==="x"&&h.isRtl&&(Ei=!((ft=p.getRtlHelpers())===null||ft===void 0)&&ft.isScrollingToNegative?-Ei:Ei),h.contentWrapperEl[h.axis[h.draggedAxis].scrollOffsetAttr]=Ei}},this.onEndDrag=function(m){h.isDragging=!1;var A=Ede(h.el),C=FR(h.el);m.preventDefault(),m.stopPropagation(),qR(h.el,h.classNames.dragging),h.onStopScrolling(),A.removeEventListener("mousemove",h.drag,!0),A.removeEventListener("mouseup",h.onEndDrag,!0),h.removePreventClickId=C.setTimeout(function(){A.removeEventListener("click",h.preventClick,!0),A.removeEventListener("dblclick",h.preventClick,!0),h.removePreventClickId=null})},this.preventClick=function(m){m.preventDefault(),m.stopPropagation()},this.el=l,this.options=EF(EF({},p.defaultOptions),r),this.classNames=EF(EF({},p.defaultOptions.classNames),r.classNames),this.axis={x:{scrollOffsetAttr:"scrollLeft",sizeAttr:"width",scrollSizeAttr:"scrollWidth",offsetSizeAttr:"offsetWidth",offsetAttr:"left",overflowAttr:"overflowX",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}},y:{scrollOffsetAttr:"scrollTop",sizeAttr:"height",scrollSizeAttr:"scrollHeight",offsetSizeAttr:"offsetHeight",offsetAttr:"top",overflowAttr:"overflowY",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}}},typeof this.el!="object"||!this.el.nodeName)throw new Error("Argument passed to SimpleBar must be an HTML element instead of ".concat(this.el));this.onMouseMove=Tde(this._onMouseMove,64),this.onWindowResize=TB(this._onWindowResize,64,{leading:!0}),this.onStopScrolling=TB(this._onStopScrolling,this.stopScrollDelay),this.onMouseEntered=TB(this._onMouseEntered,this.stopScrollDelay),this.init()}return p.getRtlHelpers=function(){if(p.rtlHelpers)return p.rtlHelpers;var l=document.createElement("div");l.innerHTML='<div class="simplebar-dummy-scrollbar-size"><div></div></div>';var r=l.firstElementChild,h=r?.firstElementChild;if(!h)return null;document.body.appendChild(r),r.scrollLeft=0;var m=p.getOffset(r),A=p.getOffset(h);r.scrollLeft=-999;var C=p.getOffset(h);return document.body.removeChild(r),p.rtlHelpers={isScrollOriginAtZero:m.left!==A.left,isScrollingToNegative:A.left!==C.left},p.rtlHelpers},p.prototype.getScrollbarWidth=function(){try{return this.contentWrapperEl&&getComputedStyle(this.contentWrapperEl,"::-webkit-scrollbar").display==="none"||"scrollbarWidth"in document.documentElement.style||"-ms-overflow-style"in document.documentElement.style?0:QMe()}catch{return QMe()}},p.getOffset=function(l){var r=l.getBoundingClientRect(),h=Ede(l),m=FR(l);return{top:r.top+(m.pageYOffset||h.documentElement.scrollTop),left:r.left+(m.pageXOffset||h.documentElement.scrollLeft)}},p.prototype.init=function(){zde&&(this.initDOM(),this.rtlHelpers=p.getRtlHelpers(),this.scrollbarWidth=this.getScrollbarWidth(),this.recalculate(),this.initListeners())},p.prototype.initDOM=function(){var l,r;this.wrapperEl=this.el.querySelector(W_(this.classNames.wrapper)),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector(W_(this.classNames.contentWrapper)),this.contentEl=this.options.contentNode||this.el.querySelector(W_(this.classNames.contentEl)),this.offsetEl=this.el.querySelector(W_(this.classNames.offset)),this.maskEl=this.el.querySelector(W_(this.classNames.mask)),this.placeholderEl=this.findChild(this.wrapperEl,W_(this.classNames.placeholder)),this.heightAutoObserverWrapperEl=this.el.querySelector(W_(this.classNames.heightAutoObserverWrapperEl)),this.heightAutoObserverEl=this.el.querySelector(W_(this.classNames.heightAutoObserverEl)),this.axis.x.track.el=this.findChild(this.el,"".concat(W_(this.classNames.track)).concat(W_(this.classNames.horizontal))),this.axis.y.track.el=this.findChild(this.el,"".concat(W_(this.classNames.track)).concat(W_(this.classNames.vertical))),this.axis.x.scrollbar.el=((l=this.axis.x.track.el)===null||l===void 0?void 0:l.querySelector(W_(this.classNames.scrollbar)))||null,this.axis.y.scrollbar.el=((r=this.axis.y.track.el)===null||r===void 0?void 0:r.querySelector(W_(this.classNames.scrollbar)))||null,this.options.autoHide||(kR(this.axis.x.scrollbar.el,this.classNames.visible),kR(this.axis.y.scrollbar.el,this.classNames.visible))},p.prototype.initListeners=function(){var l=this,r,h=FR(this.el);if(this.el.addEventListener("mouseenter",this.onMouseEnter),this.el.addEventListener("pointerdown",this.onPointerEvent,!0),this.el.addEventListener("mousemove",this.onMouseMove),this.el.addEventListener("mouseleave",this.onMouseLeave),(r=this.contentWrapperEl)===null||r===void 0||r.addEventListener("scroll",this.onScroll),h.addEventListener("resize",this.onWindowResize),!!this.contentEl){if(window.ResizeObserver){var m=!1,A=h.ResizeObserver||ResizeObserver;this.resizeObserver=new A(function(){m&&h.requestAnimationFrame(function(){l.recalculate()})}),this.resizeObserver.observe(this.el),this.resizeObserver.observe(this.contentEl),h.requestAnimationFrame(function(){m=!0})}this.mutationObserver=new h.MutationObserver(function(){h.requestAnimationFrame(function(){l.recalculate()})}),this.mutationObserver.observe(this.contentEl,{childList:!0,subtree:!0,characterData:!0})}},p.prototype.recalculate=function(){if(!(!this.heightAutoObserverEl||!this.contentEl||!this.contentWrapperEl||!this.wrapperEl||!this.placeholderEl)){var l=FR(this.el);this.elStyles=l.getComputedStyle(this.el),this.isRtl=this.elStyles.direction==="rtl";var r=this.contentEl.offsetWidth,h=this.heightAutoObserverEl.offsetHeight<=1,m=this.heightAutoObserverEl.offsetWidth<=1||r>0,A=this.contentWrapperEl.offsetWidth,C=this.elStyles.overflowX,G=this.elStyles.overflowY;this.contentEl.style.padding="".concat(this.elStyles.paddingTop," ").concat(this.elStyles.paddingRight," ").concat(this.elStyles.paddingBottom," ").concat(this.elStyles.paddingLeft),this.wrapperEl.style.margin="-".concat(this.elStyles.paddingTop," -").concat(this.elStyles.paddingRight," -").concat(this.elStyles.paddingBottom," -").concat(this.elStyles.paddingLeft);var S=this.contentEl.scrollHeight,H=this.contentEl.scrollWidth;this.contentWrapperEl.style.height=h?"auto":"100%",this.placeholderEl.style.width=m?"".concat(r||H,"px"):"auto",this.placeholderEl.style.height="".concat(S,"px");var ee=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=r!==0&&H>r,this.axis.y.isOverflowing=S>ee,this.axis.x.isOverflowing=C==="hidden"?!1:this.axis.x.isOverflowing,this.axis.y.isOverflowing=G==="hidden"?!1:this.axis.y.isOverflowing,this.axis.x.forceVisible=this.options.forceVisible==="x"||this.options.forceVisible===!0,this.axis.y.forceVisible=this.options.forceVisible==="y"||this.options.forceVisible===!0,this.hideNativeScrollbar();var te=this.axis.x.isOverflowing?this.scrollbarWidth:0,Oe=this.axis.y.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&H>A-Oe,this.axis.y.isOverflowing=this.axis.y.isOverflowing&&S>ee-te,this.axis.x.scrollbar.size=this.getScrollbarSize("x"),this.axis.y.scrollbar.size=this.getScrollbarSize("y"),this.axis.x.scrollbar.el&&(this.axis.x.scrollbar.el.style.width="".concat(this.axis.x.scrollbar.size,"px")),this.axis.y.scrollbar.el&&(this.axis.y.scrollbar.el.style.height="".concat(this.axis.y.scrollbar.size,"px")),this.positionScrollbar("x"),this.positionScrollbar("y"),this.toggleTrackVisibility("x"),this.toggleTrackVisibility("y")}},p.prototype.getScrollbarSize=function(l){var r,h;if(l===void 0&&(l="y"),!this.axis[l].isOverflowing||!this.contentEl)return 0;var m=this.contentEl[this.axis[l].scrollSizeAttr],A=(h=(r=this.axis[l].track.el)===null||r===void 0?void 0:r[this.axis[l].offsetSizeAttr])!==null&&h!==void 0?h:0,C=A/m,G;return G=Math.max(~~(C*A),this.options.scrollbarMinSize),this.options.scrollbarMaxSize&&(G=Math.min(G,this.options.scrollbarMaxSize)),G},p.prototype.positionScrollbar=function(l){var r,h,m;l===void 0&&(l="y");var A=this.axis[l].scrollbar;if(!(!this.axis[l].isOverflowing||!this.contentWrapperEl||!A.el||!this.elStyles)){var C=this.contentWrapperEl[this.axis[l].scrollSizeAttr],G=((r=this.axis[l].track.el)===null||r===void 0?void 0:r[this.axis[l].offsetSizeAttr])||0,S=parseInt(this.elStyles[this.axis[l].sizeAttr],10),H=this.contentWrapperEl[this.axis[l].scrollOffsetAttr];H=l==="x"&&this.isRtl&&(!((h=p.getRtlHelpers())===null||h===void 0)&&h.isScrollOriginAtZero)?-H:H,l==="x"&&this.isRtl&&(H=!((m=p.getRtlHelpers())===null||m===void 0)&&m.isScrollingToNegative?H:-H);var ee=H/(C-S),te=~~((G-A.size)*ee);te=l==="x"&&this.isRtl?-te+(G-A.size):te,A.el.style.transform=l==="x"?"translate3d(".concat(te,"px, 0, 0)"):"translate3d(0, ".concat(te,"px, 0)")}},p.prototype.toggleTrackVisibility=function(l){l===void 0&&(l="y");var r=this.axis[l].track.el,h=this.axis[l].scrollbar.el;!r||!h||!this.contentWrapperEl||(this.axis[l].isOverflowing||this.axis[l].forceVisible?(r.style.visibility="visible",this.contentWrapperEl.style[this.axis[l].overflowAttr]="scroll",this.el.classList.add("".concat(this.classNames.scrollable,"-").concat(l))):(r.style.visibility="hidden",this.contentWrapperEl.style[this.axis[l].overflowAttr]="hidden",this.el.classList.remove("".concat(this.classNames.scrollable,"-").concat(l))),this.axis[l].isOverflowing?h.style.display="block":h.style.display="none")},p.prototype.showScrollbar=function(l){l===void 0&&(l="y"),this.axis[l].isOverflowing&&!this.axis[l].scrollbar.isVisible&&(kR(this.axis[l].scrollbar.el,this.classNames.visible),this.axis[l].scrollbar.isVisible=!0)},p.prototype.hideScrollbar=function(l){l===void 0&&(l="y"),!this.isDragging&&this.axis[l].isOverflowing&&this.axis[l].scrollbar.isVisible&&(qR(this.axis[l].scrollbar.el,this.classNames.visible),this.axis[l].scrollbar.isVisible=!1)},p.prototype.hideNativeScrollbar=function(){this.offsetEl&&(this.offsetEl.style[this.isRtl?"left":"right"]=this.axis.y.isOverflowing||this.axis.y.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px",this.offsetEl.style.bottom=this.axis.x.isOverflowing||this.axis.x.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px")},p.prototype.onMouseMoveForAxis=function(l){l===void 0&&(l="y");var r=this.axis[l];!r.track.el||!r.scrollbar.el||(r.track.rect=r.track.el.getBoundingClientRect(),r.scrollbar.rect=r.scrollbar.el.getBoundingClientRect(),this.isWithinBounds(r.track.rect)?(this.showScrollbar(l),kR(r.track.el,this.classNames.hover),this.isWithinBounds(r.scrollbar.rect)?kR(r.scrollbar.el,this.classNames.hover):qR(r.scrollbar.el,this.classNames.hover)):(qR(r.track.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(l)))},p.prototype.onMouseLeaveForAxis=function(l){l===void 0&&(l="y"),qR(this.axis[l].track.el,this.classNames.hover),qR(this.axis[l].scrollbar.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(l)},p.prototype.onDragStart=function(l,r){var h;r===void 0&&(r="y"),this.isDragging=!0;var m=Ede(this.el),A=FR(this.el),C=this.axis[r].scrollbar,G=r==="y"?l.pageY:l.pageX;this.axis[r].dragOffset=G-(((h=C.rect)===null||h===void 0?void 0:h[this.axis[r].offsetAttr])||0),this.draggedAxis=r,kR(this.el,this.classNames.dragging),m.addEventListener("mousemove",this.drag,!0),m.addEventListener("mouseup",this.onEndDrag,!0),this.removePreventClickId===null?(m.addEventListener("click",this.preventClick,!0),m.addEventListener("dblclick",this.preventClick,!0)):(A.clearTimeout(this.removePreventClickId),this.removePreventClickId=null)},p.prototype.onTrackClick=function(l,r){var h=this,m,A,C,G;r===void 0&&(r="y");var S=this.axis[r];if(!(!this.options.clickOnTrack||!S.scrollbar.el||!this.contentWrapperEl)){l.preventDefault();var H=FR(this.el);this.axis[r].scrollbar.rect=S.scrollbar.el.getBoundingClientRect();var ee=this.axis[r].scrollbar,te=(A=(m=ee.rect)===null||m===void 0?void 0:m[this.axis[r].offsetAttr])!==null&&A!==void 0?A:0,Oe=parseInt((G=(C=this.elStyles)===null||C===void 0?void 0:C[this.axis[r].sizeAttr])!==null&&G!==void 0?G:"0px",10),Ne=this.contentWrapperEl[this.axis[r].scrollOffsetAttr],Ze=r==="y"?this.mouseY-te:this.mouseX-te,ft=Ze<0?-1:1,xt=ft===-1?Ne-Oe:Ne+Oe,Dt=40,Ct=function(){h.contentWrapperEl&&(ft===-1?Ne>xt&&(Ne-=Dt,h.contentWrapperEl[h.axis[r].scrollOffsetAttr]=Ne,H.requestAnimationFrame(Ct)):Ne<xt&&(Ne+=Dt,h.contentWrapperEl[h.axis[r].scrollOffsetAttr]=Ne,H.requestAnimationFrame(Ct)))};Ct()}},p.prototype.getContentElement=function(){return this.contentEl},p.prototype.getScrollElement=function(){return this.contentWrapperEl},p.prototype.removeListeners=function(){var l=FR(this.el);this.el.removeEventListener("mouseenter",this.onMouseEnter),this.el.removeEventListener("pointerdown",this.onPointerEvent,!0),this.el.removeEventListener("mousemove",this.onMouseMove),this.el.removeEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl&&this.contentWrapperEl.removeEventListener("scroll",this.onScroll),l.removeEventListener("resize",this.onWindowResize),this.mutationObserver&&this.mutationObserver.disconnect(),this.resizeObserver&&this.resizeObserver.disconnect(),this.onMouseMove.cancel(),this.onWindowResize.cancel(),this.onStopScrolling.cancel(),this.onMouseEntered.cancel()},p.prototype.unMount=function(){this.removeListeners()},p.prototype.isWithinBounds=function(l){return this.mouseX>=l.left&&this.mouseX<=l.left+l.width&&this.mouseY>=l.top&&this.mouseY<=l.top+l.height},p.prototype.findChild=function(l,r){var h=l.matches||l.webkitMatchesSelector||l.mozMatchesSelector||l.msMatchesSelector;return Array.prototype.filter.call(l.children,function(m){return h.call(m,r)})[0]},p.rtlHelpers=null,p.defaultOptions={forceVisible:!1,clickOnTrack:!0,scrollbarMinSize:25,scrollbarMaxSize:0,ariaLabel:"scrollable content",tabIndex:0,classNames:{contentEl:"simplebar-content",contentWrapper:"simplebar-content-wrapper",offset:"simplebar-offset",mask:"simplebar-mask",wrapper:"simplebar-wrapper",placeholder:"simplebar-placeholder",scrollbar:"simplebar-scrollbar",track:"simplebar-track",heightAutoObserverWrapperEl:"simplebar-height-auto-observer-wrapper",heightAutoObserverEl:"simplebar-height-auto-observer",visible:"simplebar-visible",horizontal:"simplebar-horizontal",vertical:"simplebar-vertical",hover:"simplebar-hover",dragging:"simplebar-dragging",scrolling:"simplebar-scrolling",scrollable:"simplebar-scrollable",mouseEntered:"simplebar-mouse-entered"},scrollableNode:null,contentNode:null,autoHide:!0},p.getOptions=jFe,p.helpers=GFe,p}();var Dde=function(p,l){return Dde=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,h){r.__proto__=h}||function(r,h){for(var m in h)Object.prototype.hasOwnProperty.call(h,m)&&(r[m]=h[m])},Dde(p,l)};function VFe(p,l){if(typeof l!="function"&&l!==null)throw new TypeError("Class extends value "+String(l)+" is not a constructor or null");Dde(p,l);function r(){this.constructor=p}p.prototype=l===null?Object.create(l):(r.prototype=l.prototype,new r)}var Lde=YX.helpers,Cde=Lde.getOptions,xz=Lde.addClasses,YFe=Lde.canUseDOM,nIe=function(p){VFe(l,p);function l(){for(var r=[],h=0;h<arguments.length;h++)r[h]=arguments[h];var m=p.apply(this,r)||this;return l.instances.set(r[0],m),m}return l.initDOMLoadedElements=function(){document.removeEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.removeEventListener("load",this.initDOMLoadedElements),Array.prototype.forEach.call(document.querySelectorAll("[data-simplebar]"),function(r){r.getAttribute("data-simplebar")!=="init"&&!l.instances.has(r)&&new l(r,Cde(r.attributes))})},l.removeObserver=function(){var r;(r=l.globalObserver)===null||r===void 0||r.disconnect()},l.prototype.initDOM=function(){var r=this,h,m,A;if(!Array.prototype.filter.call(this.el.children,function(S){return S.classList.contains(r.classNames.wrapper)}).length){for(this.wrapperEl=document.createElement("div"),this.contentWrapperEl=document.createElement("div"),this.offsetEl=document.createElement("div"),this.maskEl=document.createElement("div"),this.contentEl=document.createElement("div"),this.placeholderEl=document.createElement("div"),this.heightAutoObserverWrapperEl=document.createElement("div"),this.heightAutoObserverEl=document.createElement("div"),xz(this.wrapperEl,this.classNames.wrapper),xz(this.contentWrapperEl,this.classNames.contentWrapper),xz(this.offsetEl,this.classNames.offset),xz(this.maskEl,this.classNames.mask),xz(this.contentEl,this.classNames.contentEl),xz(this.placeholderEl,this.classNames.placeholder),xz(this.heightAutoObserverWrapperEl,this.classNames.heightAutoObserverWrapperEl),xz(this.heightAutoObserverEl,this.classNames.heightAutoObserverEl);this.el.firstChild;)this.contentEl.appendChild(this.el.firstChild);this.contentWrapperEl.appendChild(this.contentEl),this.offsetEl.appendChild(this.contentWrapperEl),this.maskEl.appendChild(this.offsetEl),this.heightAutoObserverWrapperEl.appendChild(this.heightAutoObserverEl),this.wrapperEl.appendChild(this.heightAutoObserverWrapperEl),this.wrapperEl.appendChild(this.maskEl),this.wrapperEl.appendChild(this.placeholderEl),this.el.appendChild(this.wrapperEl),(h=this.contentWrapperEl)===null||h===void 0||h.setAttribute("tabindex",this.options.tabIndex.toString()),(m=this.contentWrapperEl)===null||m===void 0||m.setAttribute("role","region"),(A=this.contentWrapperEl)===null||A===void 0||A.setAttribute("aria-label",this.options.ariaLabel)}if(!this.axis.x.track.el||!this.axis.y.track.el){var C=document.createElement("div"),G=document.createElement("div");xz(C,this.classNames.track),xz(G,this.classNames.scrollbar),C.appendChild(G),this.axis.x.track.el=C.cloneNode(!0),xz(this.axis.x.track.el,this.classNames.horizontal),this.axis.y.track.el=C.cloneNode(!0),xz(this.axis.y.track.el,this.classNames.vertical),this.el.appendChild(this.axis.x.track.el),this.el.appendChild(this.axis.y.track.el)}YX.prototype.initDOM.call(this),this.el.setAttribute("data-simplebar","init")},l.prototype.unMount=function(){YX.prototype.unMount.call(this),l.instances.delete(this.el)},l.initHtmlApi=function(){this.initDOMLoadedElements=this.initDOMLoadedElements.bind(this),typeof MutationObserver<"u"&&(this.globalObserver=new MutationObserver(l.handleMutations),this.globalObserver.observe(document,{childList:!0,subtree:!0})),document.readyState==="complete"||document.readyState!=="loading"&&!document.documentElement.doScroll?window.setTimeout(this.initDOMLoadedElements):(document.addEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.addEventListener("load",this.initDOMLoadedElements))},l.handleMutations=function(r){r.forEach(function(h){h.addedNodes.forEach(function(m){m.nodeType===1&&(m.hasAttribute("data-simplebar")?!l.instances.has(m)&&document.documentElement.contains(m)&&new l(m,Cde(m.attributes)):m.querySelectorAll("[data-simplebar]").forEach(function(A){A.getAttribute("data-simplebar")!=="init"&&!l.instances.has(A)&&document.documentElement.contains(A)&&new l(A,Cde(A.attributes))}))}),h.removedNodes.forEach(function(m){var A;m.nodeType===1&&(m.getAttribute("data-simplebar")==="init"?!document.documentElement.contains(m)&&((A=l.instances.get(m))===null||A===void 0||A.unMount()):Array.prototype.forEach.call(m.querySelectorAll('[data-simplebar="init"]'),function(C){var G;!document.documentElement.contains(C)&&((G=l.instances.get(C))===null||G===void 0||G.unMount())}))})})},l.instances=new WeakMap,l}(YX);YFe&&nIe.initHtmlApi();var XFe=b8(xde(),1),BMn=b8(rIe(),1);var Bde=b8(sIe(),1);var lIe=b8(aIe(),1);var Hde=function(p){return p.BimplusViewer="bimplusViewer",p.ModelViewerBlack="modelViewerBlack",p.ModelViewer="modelViewer",p.ConnexisViewer="connexisViewer",p.ConnexisViewerBlack="connexisViewerBlack",p}(Hde||{});var HMn=Math.PI/180,FMn=2*Math.PI;var kMn=new kl("bimplus-tabs-switcher-config");var qMn=new kl("bimplus-attachments-config"),XX=class{constructor(l){this.id=l.id??"",this.fileName=l.fileName??"",this.size=l.size??0}},oIe=class{static{this.attachment=new XX({})}static create(l){return this.attachment=new XX(l),this}static setId(l){return this.attachment.id=l,this}static setFileName(l){return this.attachment.fileName=l,this}static setSize(l){return this.attachment.size=l,this}static setFile(l){return this.attachment.file=l,this}static build(){let l=structuredClone(this.attachment);return this.attachment=new XX({}),l}};var QFe=()=>({active:"bimplus_Components_Connexis_Active",default:"bimplus_Components_Connexis_Disabled"}),ZFe=p=>({id:"commentsd",title:"test",img:p});function KFe(p,l){if(p&1){let r=la();dn(0,"lib-bimplus-main-menu",22),Zi("bimplusMainMenuClicked",function(m){ir(r);let A=vn();return rr(A.bimplusMainMenuClicked(m))})("bimplusMainMenuOverlayClicked",function(){ir(r);let m=vn();return rr(m.bimplusMainMenuOverlayClicked())}),In()}if(p&2){let r=vn();Vn("selectedLanguage",r.languageStringsService.currentLanguage)("localizedStrings",r.languageStringsService.currentLanguageStrings)("isTouch",r.isTouch)("showHorizontalMenuIcons",r.isTouch)("appsWithInfo",r.appsWithInfo)("appsOrder",r.appsOrder)("menuItemsOrder",r.menuItemsOrder)}}var cIe=(()=>{class p{constructor(r,h){this.translateService=r,this.languageStringsService=h,this.logoState=Hde.BimplusViewer,this.isTouch=!1,this.isBimplusMainMenuVisible=!0,this.isNavbarMenuActive=!0,this.selectedZoom="100",this.messages="",this.contextMenuItems=[],this.contextMenuData=[],this.treeData=[],this.treeDataStringified=null,this.treeDataContextMenu=null,this.appsWithInfo=["portalSelectProjectBtn","portalBimUsers","portalBimModels"],this.appsOrder=["portalBimUsers","portalBimModels","portalBimDocuments","portalBimProjectSettings","portalBimProcesses","dividerprojectmanagement","portalBimViewerBtn","portalCloudViewerBtn","portalConnexisBtn","portalBimAutoconverterBtn","dividerapps","portalTeamManagementBtn","portalPropertyManagerBtn"],this.menuItemsOrder=["portalBimUsers","portalBimModels","portalBimDocuments","portalBimProjectSettings","portalBimProcesses"],this.showDialog=!1,this.activeTab=hl("object-properties"),this.languageStringsService.currentLanguage$.pipe(CH()).subscribe({next:m=>{this.translateService.use(m)}}),this.languageStringsService.currentLanguageStrings$.pipe(CH()).subscribe({next:m=>{this.translateService.setTranslation(this.languageStringsService.currentLanguage,m)}})}log(r,h,m,A){let C=`EVENT : ${r}. `+(m?`INDEX: ${h?.detail?.index} ACTION: ${h?.detail?.action}`:`VALUE: ${h?.detail}`);(A?()=>window.alert(C):()=>console.log(C))()}ngOnInit(){this.initLanguage(),window.BimPlus={bimplusNavbarClicked:r=>{this.log("Navbar clicked",r),r?.detail==="menu"&&(this.isNavbarMenuActive=!this.isNavbarMenuActive)}},this.initMessages(),this.initContextMenu()}bimplusLanguageSelected(r){this.log("bimplusLanguageSelected",{detail:r}),this._switchLanguage(r)}onActiveTab(r){this.log("onActiveTab",{detail:r},!1)}_switchLanguage(r){r&&this.languageStringsService.setCurrentLanguage(r)}bimplusUserMenuClicked(r){this.log("bimplusUserMenuClicked",r,!0)}bimplusTouchModeSelected(r){this.log("bimplusTouchModeSelected",{detail:r}),this.isTouch=r==="touch"}bimplusMainMenuClicked(r){this.log("bimplusUserMenuClicked",{detail:r},!0,!0)}bimplusMainMenuOverlayClicked(){this.log("bimplusMainMenuOverlayClicked",{detail:""},!1,!0)}bimplusStorageInfoClicked(r){this.log("bimplusStorageInfoClicked",{detail:r},!1,!0)}bimplusContactClicked(r){this.log("bimplusContactClicked",{detail:r},!1,!0)}bimplusZoomSelected(r){this.log("bimplusZoomSelected",{detail:r}),this.selectedZoom=r;let h=62.5*(Number(r)/100),m=document.querySelector("html");m&&(m.style.fontSize=h+"%")}bimplusNotifyDeleteMessage(r){let h=JSON.parse(r),m=this.messages&&JSON.parse(this.messages)?.messages?.filter?.(A=>A.id!==h.id);this.messages=m&&JSON.stringify({messages:m})||""}bimplusNotifyDeleteAllMessages(){this.messages=""}bimplusNotifyMessageAction(r){this.log("This is notify message action handler",{detail:r},!1,!0)}selectedNodes(r){this.log("selectedNodes",{detail:JSON.stringify(r)})}initLanguage(){this.languageStringsService.languageFilesUri="/assets/languages",this._switchLanguage("en")}initMessages(){this.messages=JSON.stringify({messages:[{id:"ALFA",type:"info",title:"Import successful",text:"kolizia.ifc has been imported",linkText:"Click here to open the project",link:"#/"},{id:"BETA",type:"info",title:"Clash detection done",text:"Clash detection on the project House1 with preset has been done.",linkText:"Click here to open the project"},{id:"OMEGA",type:"info",title:"Model export finished",text:"",linkText:"Click here to download `00 EMPTY__revision_comparison1.ifc` model."},{id:"OMEGA1",type:"info",title:"Model export finished",text:"Structural model included. Reinforcement of Hospital.ifc has been imported.",linkText:["Click here to download `XXXX` model.","Click here to download `YYYYY` model."],links:["#/1","#/2"]},{id:"TEST3",type:"info",title:"Clash detection done",text:"Clash detection on the project Bridge with preset has been done."},{id:"TEST4",type:"info",title:"Clash detection done",text:"Clash detection on the project Bridge with preset has been done."},{id:"TEST5",type:"info",title:"Clash detection done",text:"Clash detection on the project Bridge with preset has been done."},{id:"TEST6",type:"info",title:"Clash detection done",text:"Clash detection on the project Bridge with preset has been done."}]})}initContextMenu(){this.contextMenuItems=[{id:"openFile",title:"Open file",icon:"./favicon.ico",tooltip:"Open file tooltip",disabled:()=>!0},{id:"separator"},{id:"closeFile",title:"Close file",icon:"./favicon.ico",disabled:()=>!0},{id:"deleteFile",title:"Delete file",icon:"./favicon.ico"},{id:"separator"},{id:"renameFile",title:"Rename file",icon:"./favicon.ico",action:r=>{console.log(r)},tooltip:"Rename file tooltip"},{id:"renameFile",title:"Looooooooooooooooooooooooooooooooooooooooooooooooooooong item name",icon:"./favicon.ico",action:r=>{console.log(r)},tooltip:"Looooooooooooooooooooooooooooooooooooooooooooooooooooong item name"}],this.contextMenuData=[{name:"Folder 5",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-23",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-00",children:[{name:"File 3 - 3 - 3",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-24",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-23"}]}]}setupTreeData(r){let h=[];switch(r){case"Folders3":h.push({name:"Folders3",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-00",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07",children:[{name:"Folder 1",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-01",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-00",children:[{name:"Folder 1 - 1 very looooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooong name",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-02",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-01",children:[{name:"File 1 - 1 - 1",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-03",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-02"},{name:"File 1 - 1 - 2",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-04",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-02"},{name:"File 1 - 1 - 3",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-05",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-02"}]},{name:"File 1 - 2",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-06",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-01"},{name:"File 1 - 3",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-07",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-01"}]},{name:"Folder 4",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-22",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-00",children:[]},{name:"Folder 5",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-23",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-00",children:[{name:"File 3 - 3 - 3",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-24",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-23"},{name:"File 3 - 3 - 3",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-25",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-23"}]}]});break;case"Folders2":h.push({name:"Folders2",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-00",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07",children:[{name:"Folder 1",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-01",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-00",children:[{name:"Folder 1 - 1",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-02",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-01",children:[{name:"File 1 - 1 - 1",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-03",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-02"},{name:"File 1 - 1 - 2",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-04",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-02"},{name:"File 1 - 1 - 3",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-05",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-02"}]},{name:"Folder 1 - 2",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-06",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-01",children:[]},{name:"Folder 1 - 3",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-07",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-01",children:[]}]},{name:"Folder 2",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-08",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-00",children:[{name:"File 2 - 1",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-09",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-08"},{name:"Folder 2 - 2",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-10",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-08",children:[{name:"File 2 - 2 - 1",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-11",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-10"},{name:"File 2 - 2 - 2",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-12",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-10"},{name:"File 2 - 2 - 3",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-13",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-10"}]},{name:"File 2 - 3",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-14",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-08"}]},{name:"Folder 3",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-15",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-00",children:[{name:"File 3 - 1",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-16",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-15"},{name:"File 3 - 2",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-17",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-15"},{name:"Folder 3 - 3",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-18",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-15",children:[{name:"File 3 - 3 - 1",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-19",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-18"},{name:"File 3 - 3 - 2",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-20",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-18"},{name:"File 3 - 3 - 3",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-21",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-18"}]}]},{name:"Folder 4",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-22",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-00",children:[]},{name:"Folder 5",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-23",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-00",children:[{name:"File 3 - 3 - 3",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-24",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-23"}]}]});break;default:h.push({id:"dbc08cd2-9f50-465b-9b54-da29c4988d07",children:[{id:"78b8109a-aac3-4307-8ddb-745a64710d36",children:[],folderRole:{id:"a124a637-55a4-4e4e-ab24-777d96b320a0",name:"Folder_Admin"},roleSetByUser:!1,parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07",name:"General folder",type:"DocumentFolder",number:1,level:1,createdAt:"2023-01-19T05:40:37.3",creator:{id:"9edf8528-b21f-b332-4785-6d5cc0b96e1f",email:"jgaba@allplan.com",firstname:"J\xE1n",lastname:"G\xE1ba"},changed:"2023-01-19T05:40:37.3",changedBy:{id:"9edf8528-b21f-b332-4785-6d5cc0b96e1f",email:"jgaba@allplan.com",firstname:"J\xE1n",lastname:"G\xE1ba"}},{id:"123756a8-c06f-4954-8851-93f95b1629c1",children:[{id:"36a92f23-98e7-42db-b150-b0dae491d355",children:[{id:"2bbfbce5-beb8-49b1-bbef-430b061318c9",structureElementId:"86b65d1e-0490-45f2-abd6-402a176bc219",parent:"36a92f23-98e7-42db-b150-b0dae491d355",name:"Allplan_QTO-QTO-2024-02-16-08-27-15.xlsx",type:"Attachment",number:0,level:3},{id:"9eb72c59-f019-4679-9bf4-07f8055388d4",structureElementId:"cc9c8694-4d70-4066-9475-d4375e67d7a0",parent:"36a92f23-98e7-42db-b150-b0dae491d355",name:"Allplan_QTO-QTO-2024-02-16-08-24-49.xlsx",type:"Attachment",number:0,level:3}],folderRole:{id:"a124a637-55a4-4e4e-ab24-777d96b320a0",name:"Folder_Admin"},roleSetByUser:!1,restricted:1,parent:"123756a8-c06f-4954-8851-93f95b1629c1",name:"ELEMENTS",type:"DocumentFolder",number:1,level:2,createdAt:"2023-01-19T05:40:37.3",creator:{id:"9edf8528-b21f-b332-4785-6d5cc0b96e1f",email:"jgaba@allplan.com",firstname:"J\xE1n",lastname:"G\xE1ba"},changed:"2023-01-19T05:40:37.3",changedBy:{id:"9edf8528-b21f-b332-4785-6d5cc0b96e1f",email:"jgaba@allplan.com",firstname:"J\xE1n",lastname:"G\xE1ba"}},{id:"73ad9d94-3ace-4124-b533-b4e2cbe07ab1",children:[],folderRole:{id:"a124a637-55a4-4e4e-ab24-777d96b320a0",name:"Folder_Admin"},roleSetByUser:!1,restricted:1,parent:"123756a8-c06f-4954-8851-93f95b1629c1",name:"IFC",type:"DocumentFolder",number:2,level:2,createdAt:"2023-01-19T05:40:37.3",creator:{id:"9edf8528-b21f-b332-4785-6d5cc0b96e1f",email:"jgaba@allplan.com",firstname:"J\xE1n",lastname:"G\xE1ba"},changed:"2023-01-19T05:40:37.3",changedBy:{id:"9edf8528-b21f-b332-4785-6d5cc0b96e1f",email:"jgaba@allplan.com",firstname:"J\xE1n",lastname:"G\xE1ba"}},{id:"0378d1be-7b77-4705-a347-adda0ec04674",children:[],folderRole:{id:"a124a637-55a4-4e4e-ab24-777d96b320a0",name:"Folder_Admin"},roleSetByUser:!1,restricted:1,parent:"123756a8-c06f-4954-8851-93f95b1629c1",name:"LOG",type:"DocumentFolder",number:3,level:2,createdAt:"2023-01-19T05:40:37.3",creator:{id:"9edf8528-b21f-b332-4785-6d5cc0b96e1f",email:"jgaba@allplan.com",firstname:"J\xE1n",lastname:"G\xE1ba"},changed:"2023-01-19T05:40:37.3",changedBy:{id:"9edf8528-b21f-b332-4785-6d5cc0b96e1f",email:"jgaba@allplan.com",firstname:"J\xE1n",lastname:"G\xE1ba"}},{id:"abfd2209-225b-452d-91c9-d33269e47334",children:[],folderRole:{id:"a124a637-55a4-4e4e-ab24-777d96b320a0",name:"Folder_Admin"},roleSetByUser:!1,restricted:1,parent:"123756a8-c06f-4954-8851-93f95b1629c1",name:"ISSUES",type:"DocumentFolder",number:4,level:2,createdAt:"2023-01-19T05:40:37.3",creator:{id:"9edf8528-b21f-b332-4785-6d5cc0b96e1f",email:"jgaba@allplan.com",firstname:"J\xE1n",lastname:"G\xE1ba"},changed:"2023-01-19T05:40:37.3",changedBy:{id:"9edf8528-b21f-b332-4785-6d5cc0b96e1f",email:"jgaba@allplan.com",firstname:"J\xE1n",lastname:"G\xE1ba"}},{id:"094c8e91-7023-4c1e-8afb-6480d34cd4d1",children:[],folderRole:{id:"a124a637-55a4-4e4e-ab24-777d96b320a0",name:"Folder_Admin"},roleSetByUser:!1,restricted:1,parent:"123756a8-c06f-4954-8851-93f95b1629c1",name:"SLIDESHOWS",type:"DocumentFolder",number:5,level:2,createdAt:"2023-01-19T05:40:37.3",creator:{id:"9edf8528-b21f-b332-4785-6d5cc0b96e1f",email:"jgaba@allplan.com",firstname:"J\xE1n",lastname:"G\xE1ba"},changed:"2023-01-19T05:40:37.3",changedBy:{id:"9edf8528-b21f-b332-4785-6d5cc0b96e1f",email:"jgaba@allplan.com",firstname:"J\xE1n",lastname:"G\xE1ba"}},{id:"d5d9ea2f-0337-4321-8917-3d485a76247a",children:[],color:4285988983,folderRole:{id:"a124a637-55a4-4e4e-ab24-777d96b320a0",name:"Folder_Admin"},roleSetByUser:!1,restricted:1,parent:"123756a8-c06f-4954-8851-93f95b1629c1",name:"OTHER MODELS",type:"DocumentFolder",number:6,level:2,createdAt:"2023-01-19T05:40:37.3",creator:{id:"9edf8528-b21f-b332-4785-6d5cc0b96e1f",email:"jgaba@allplan.com",firstname:"J\xE1n",lastname:"G\xE1ba"},changed:"2023-01-19T05:40:37.3",changedBy:{id:"9edf8528-b21f-b332-4785-6d5cc0b96e1f",email:"jgaba@allplan.com",firstname:"J\xE1n",lastname:"G\xE1ba"}}],folderRole:{id:"a124a637-55a4-4e4e-ab24-777d96b320a0",name:"Folder_Admin"},roleSetByUser:!1,restricted:1,parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07",name:"MY DOCUMENTS",type:"DocumentFolder",number:2,level:1,createdAt:"2023-01-19T05:40:37.3",creator:{id:"9edf8528-b21f-b332-4785-6d5cc0b96e1f",email:"jgaba@allplan.com",firstname:"J\xE1n",lastname:"G\xE1ba"},changed:"2023-01-19T05:40:37.3",changedBy:{id:"9edf8528-b21f-b332-4785-6d5cc0b96e1f",email:"jgaba@allplan.com",firstname:"J\xE1n",lastname:"G\xE1ba"}}],folderRole:{id:"a124a637-55a4-4e4e-ab24-777d96b320a0",name:"Folder_Admin"},roleSetByUser:!1,parent:"d71d6daf-1114-42c4-84ad-5807837cac7b",name:"Folders1",type:"DocumentFolder",number:0,level:0});break}r==="Folders3"?(this.treeData=h,this.treeDataStringified=null,this.treeDataContextMenu={objectContextMenuitems:[{id:"openFile",title:"Open file",icon:"./favicon.ico",tooltip:"Open file tooltip"},{id:"separator"},{id:"closeFile",title:"Close file",icon:"./favicon.ico",disabled:()=>!0},{id:"deleteFile",title:"Delete file",icon:"./favicon.ico",disabled:()=>!1},{id:"separator"},{id:"renameFile",title:"Rename file",icon:"./favicon.ico",action:m=>{console.log(m)},tooltip:"Rename file tooltip"}],folderContextMenuitems:[{id:"renameFolder",title:"Rename folder",icon:"./favicon.ico",tooltip:"Rename folder tooltip"},{id:"deletFolder",title:"Delete folder",tooltip:"Delete folder tooltip"}]}):(this.treeData=[],this.treeDataStringified=JSON.stringify(h),this.treeDataContextMenu=null)}getNode(){let h=document.querySelector("lib-bimplus-flat-tree")?.get_node?.({id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-23"},!1);console.log(h)}selectNode(){document.querySelector("lib-bimplus-flat-tree")?.select_node?.("dbc08cd2-9f50-465b-9b54-da29c4988d07-24")}static{this.\u0275fac=function(h){return new(h||p)($i(Wa),$i(sge))}}static{this.\u0275cmp=vs({type:p,selectors:[["app-root"]],standalone:!0,features:[A0([]),gs],decls:28,vars:33,consts:[[1,"bimplus-components-navbar","visible"],["isNavbarMessageVisible","false","teamInfo","test_team","projectInfo","00 Quickstart project and some very very long text","teamInfoOffset","0.9rem","isDev","true","isStage","true","isNavbarInfoVisible","true",3,"logoState","isNavbarMenuVisible","isNavbarMenuActive","isTouch"],[3,"activeTabChange","activeTab"],[3,"activeTabChange","activeTab","bimplusTabComponentModel"],["showIcons","true","triggerTitle","File context menu",3,"items","data"],[3,"bimplusNotifyMessageAction","bimplusNotifyDeleteMessage","bimplusNotifyDeleteAllMessages","selectedLanguage","localizedStrings","messages"],[3,"bimplusStorageInfoClicked","selectedLanguage","localizedStrings","usedStorage"],[3,"bimplusContactClicked"],[3,"bimplusZoomSelected","selectedZoom"],[3,"bimplusTouchModeSelected","selectedMode","selectedLanguage","localizedStrings"],[3,"bimplusLanguageSelected","selectedLanguage"],["userName","Test User","userPhotoUrl","https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTMS36RRWYaTysG471mlormL1bYN3-QIabbo30rDitKRoaDs3EA&s","buttonTitle","testuser@allplan.com","allowRcaItem","true",3,"bimplusLanguageSelected","bimplusUserMenuClicked","selectedLanguage","localizedStrings","isTouch"],["projectName","00 Quickstart project and some very very long text","projectImageUrl","https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTMS36RRWYaTysG471mlormL1bYN3-QIabbo30rDitKRoaDs3EA&s","isDev","true","isStage","true","teammembersSubscribed","true","propertymanagerSubscribed","true","projectActiveItem","projectlist","menuActiveItem","projectmembers",3,"selectedLanguage","localizedStrings","isTouch","showHorizontalMenuIcons","appsWithInfo","appsOrder","menuItemsOrder"],[1,"floating-panels-wrapper"],[3,"selectedLanguage","localizedStrings","noModelsMessage"],[1,"tree-data","tree-data-1",3,"click","keypress"],[1,"tree-data","tree-data-2",3,"click","keypress"],[1,"tree-data","tree-data-3",3,"click","keypress"],[1,"tree-data","tree-data-3","get-node",3,"click","keypress"],[1,"tree-data","tree-data-3","select-node",3,"click","keypress"],[1,"tree"],["enableSelect","true","enableParentHighlighting","true","multiSelect","true","oneLevelMultiSelect","false","showFoldersIcons","true","showObjectsIcons","true","enableDragAndDrop","true","treeTitle","FLAT TREE","paddingIndent","2.8rem",1,"flat-tree",3,"selectedNodes","treeData","treeDataStringified","contextMenus"],["projectName","00 Quickstart project and some very very long text","projectImageUrl","https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTMS36RRWYaTysG471mlormL1bYN3-QIabbo30rDitKRoaDs3EA&s","isDev","true","isStage","true","teammembersSubscribed","true","propertymanagerSubscribed","true","projectActiveItem","projectlist","menuActiveItem","projectmembers",3,"bimplusMainMenuClicked","bimplusMainMenuOverlayClicked","selectedLanguage","localizedStrings","isTouch","showHorizontalMenuIcons","appsWithInfo","appsOrder","menuItemsOrder"]],template:function(h,m){h&1&&(dn(0,"div",0)(1,"lib-bimplus-navbar",1)(2,"lib-bimplus-tabs-switcher",2),jD("activeTabChange",function(C){return fL(m.activeTab,C)||(m.activeTab=C),C}),dn(3,"lib-bimplus-tab",3),Zi("activeTabChange",function(C){return m.activeTab.set(C)}),In()(),bs(4,"lib-bimplus-context-menu",4),dn(5,"lib-bimplus-notify",5),Zi("bimplusNotifyMessageAction",function(C){return m.bimplusNotifyMessageAction(C)})("bimplusNotifyDeleteMessage",function(C){return m.bimplusNotifyDeleteMessage(C)})("bimplusNotifyDeleteAllMessages",function(){return m.bimplusNotifyDeleteAllMessages()}),In(),dn(6,"lib-bimplus-storage-info",6),Zi("bimplusStorageInfoClicked",function(C){return m.bimplusStorageInfoClicked(C)}),In(),dn(7,"lib-bimplus-contact",7),Zi("bimplusContactClicked",function(C){return m.bimplusContactClicked(C)}),In(),dn(8,"lib-bimplus-zoom",8),Zi("bimplusZoomSelected",function(C){return m.bimplusZoomSelected(C)}),In(),dn(9,"lib-bimplus-touch-menu",9),Zi("bimplusTouchModeSelected",function(C){return m.bimplusTouchModeSelected(C)}),In(),dn(10,"lib-bimplus-language-menu",10),Zi("bimplusLanguageSelected",function(C){return m.bimplusLanguageSelected(C)}),In(),dn(11,"lib-bimplus-user-menu",11),Zi("bimplusLanguageSelected",function(C){return m.bimplusLanguageSelected(C)})("bimplusUserMenuClicked",function(C){return m.bimplusUserMenuClicked(C)}),In()()(),Lr(12,KFe,1,7,"lib-bimplus-main-menu",12),dn(13,"div",13),bs(14,"lib-bimplus-floating-bar-project-navigator",14),In(),dn(15,"div",15),Zi("click",function(){return m.setupTreeData("Folders1")})("keypress",function(){return m.setupTreeData("Folders1")}),ts(16,"Folders1"),In(),dn(17,"div",16),Zi("click",function(){return m.setupTreeData("Folders2")})("keypress",function(){return m.setupTreeData("Folders2")}),ts(18,"Folders2"),In(),dn(19,"div",17),Zi("click",function(){return m.setupTreeData("Folders3")})("keypress",function(){return m.setupTreeData("Folders3")}),ts(20,"Folders3"),In(),dn(21,"div",18),Zi("click",function(){return m.getNode()})("keypress",function(){return m.getNode()}),ts(22,"get_node (from Folders3)"),In(),dn(23,"div",19),Zi("click",function(){return m.selectNode()})("keypress",function(){return m.selectNode()}),ts(24,"select_node (from Folders3)"),In(),dn(25,"div",20)(26,"lib-bimplus-scrollable-container")(27,"lib-bimplus-flat-tree",21),Zi("selectedNodes",function(C){return m.selectedNodes(C)}),In()()()),h&2&&(cn(),Vn("logoState",m.logoState)("isNavbarMenuVisible",m.isBimplusMainMenuVisible)("isNavbarMenuActive",m.isNavbarMenuActive)("isTouch",m.isTouch),cn(),GD("activeTab",m.activeTab),cn(),Vn("activeTab",m.activeTab())("bimplusTabComponentModel",$h(31,ZFe,LY(30,QFe))),cn(),Vn("items",m.contextMenuItems)("data",m.contextMenuData),cn(),Vn("selectedLanguage",m.languageStringsService.currentLanguage)("localizedStrings",m.languageStringsService.currentLanguageStrings)("messages",m.messages),cn(),Vn("selectedLanguage",m.languageStringsService.currentLanguage)("localizedStrings",m.languageStringsService.currentLanguageStrings)("usedStorage",90),cn(2),Vn("selectedZoom",m.selectedZoom),cn(),Vn("selectedMode",m.isTouch?"touch":"desktop")("selectedLanguage",m.languageStringsService.currentLanguage)("localizedStrings",m.languageStringsService.currentLanguageStrings),cn(),Vn("selectedLanguage",m.languageStringsService.currentLanguage),cn(),Vn("selectedLanguage",m.languageStringsService.currentLanguage)("localizedStrings",m.languageStringsService.currentLanguageStrings)("isTouch",m.isTouch),cn(),Ss(m.isNavbarMenuActive?12:-1),cn(2),Vn("selectedLanguage",m.languageStringsService.currentLanguage)("localizedStrings",m.languageStringsService.currentLanguageStrings)("noModelsMessage","_Loading project details"),cn(13),Vn("treeData",m.treeData)("treeDataStringified",m.treeDataStringified)("contextMenus",m.treeDataContextMenu))},dependencies:[HK,kK,qK,UK,GK,VK,QK,KK,JK,hz,yR,U$,zw,ZK,Cl,W$],styles:[`*,html{font-size:100%;margin:0;padding:0}html{font-size:62.5%}body{background-color:gray}.hidden{display:none}bimplus-main-menu{height:50vh}lib-bimplus-floating-bar-project-navigator{position:absolute}.floating-panels-wrapper{position:relative}.tree-data{background-color:#fff;font-size:1.5rem;width:fit-content;padding:.5rem;border-style:solid;border-width:.2rem;border-radius:.5rem;margin:.5rem;cursor:pointer}.tree{width:20%;height:250px}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bimplus-webcomponents",
3
- "version": "0.0.155-29322-1",
3
+ "version": "0.0.155-29322-2",
4
4
  "license": "MIT",
5
5
  "author": "",
6
6
  "description": "bim+ webcomponents library",