bimplus-webcomponents 0.0.155-29322-1 → 0.0.155-29328-1

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.
@@ -12745,8 +12745,8 @@ ${G}: ${S}`}_createAttributeGroupsFromResponse(r){let h=[],m=null;if(r.localized
12745
12745
  `],encapsulation:3})}}return p})();var H$=b8(OMe());function mHe(p,l){if(p&1){let r=la();dn(0,"lib-bimplus-buttons-row",4),Zi("buttonClicked",function(m){ir(r);let A=vn();return rr(A.buttonClicked(m))}),In()}if(p&2){let r=vn();Vn("items",r.buttonRowItems)}}function bHe(p,l){if(p&1&&(dn(0,"div",1),bs(1,"iframe",5),In()),p&2){let r=vn();cn(),Zl("id",r.wormholeSelector)}}function vHe(p,l){if(p&1){let r=la();dn(0,"span",10),Zi("click",function(m){ir(r);let A=vn().$implicit,C=vn();return rr(C.deleteAttachmentLink(A,m))})("keydown",function(m){ir(r);let A=vn().$implicit,C=vn();return rr(C.deleteAttachmentLink(A,m))}),dn(1,"div",11),ua(2,"translate"),ts(3," \u2715\uFE0E "),In()()}p&2&&(cn(),Zl("title",pa(2,1,"_Delete_attachmentlink")))}function gHe(p,l){if(p&1&&(dn(0,"div",9),ts(1),In()),p&2){let r=vn().$implicit;Zl("title",r.name),cn(),ao(" (",r.size," kB) ")}}function yHe(p,l){if(p&1&&(dn(0,"div",2),Lr(1,vHe,4,3,"span",6),dn(2,"a",7)(3,"div",8),ts(4),In(),Lr(5,gHe,2,2,"div",9),In()()),p&2){let r=l.$implicit,h=vn();cn(),Ss(h.canDeleteAttachmentLink?1:-1),cn(),Zl("href",r.link,sz),cn(),Zl("title",r.fileName),cn(),ao(" ",r.name?r.name:r.fileName," "),cn(),Ss(h.hideAttachmentSize?-1:5)}}function MHe(p,l){p&1&&(dn(0,"div",3),ts(1),ua(2,"translate"),In()),p&2&&(cn(),ao(" ",pa(2,1,"_No attachments found")," "))}var Ode=(p,l,r)=>{let h=p.map(m=>Up(r.objects.postAttachmentLink(l,JSON.stringify({attachmentId:m}))));return y8(h).pipe(w_(()=>Up(r.objects.getAttachmentLinks(l))))},F$=(()=>{class p extends w1{constructor(r,h,m,A){super(r),this.dialogService=h,this.renderer=m,this.el=A,this._rootObjectId="",this.isDestroyed=!1,this.localWormHole=!0,this.inProgress=!1,this.canCreateAttachmentLink=!0,this.listOnly=!1,this.showEmptyMessage=!0,this.hideAttachmentSize=!1,this._attachments=[],this.attachmentsChange=new Fr,this.canDeleteAttachmentLink=!0,this.project=null,this.wormholeSelector="localEmbeddedModalId",this.env="dev",this._currentObjectId$=new Du(""),this._attachmentCount=0,this.buttonRowItems=[{id:"add-documents",title:this.translateService.instant("_Add_document"),tooltip:this.translateService.instant("_Add_document"),disabled:!this.canCreateAttachmentLink,buttonStyle:"primary"}],this.documentSelection=null,this.isOpened=!1,this.embeddedModalContainer="embedded-modal",this.shadowRootElement=this.el.nativeElement.shadowRoot}set attachments(r){this._attachments=r,this.onAttachmentsChange()}get attachments(){return this._attachments}onAttachmentsChange(){this.api&&(this._attachments=this.decorateAttachmentLinks(this.api,this._attachments))}set rootObjectId(r){this._currentObjectId$.next(r),this._rootObjectId=r}get rootObjectId(){return this._rootObjectId}ngOnInit(){this.listOnly||this._currentObjectId$.subscribe({next:r=>{this._createAttachmentLinkStructure(r)}})}ngOnDestroy(){this.isDestroyed=!0}fmt(r,...h){let m=0;return r.replace(/%@(\d+)?/g,(A,C)=>{let G=C?parseInt(C,10)-1:m++,S=h[G];return S===null?"(null)":S===void 0?"":S.toString()})}_decorateLink(r,h){let m={id:h.id,name:h.name,fileName:h.fileName,size:h.size,link:h.link,fileNameShort:"",extension:"",objectIds:[],version:h.version,sizeMB:""},A=r.getAccessToken(),G=r.getApiTeamUrl()+"attachments/%@/versions/%@/download",S=!1;if(m.size=parseFloat((h.size/1e3).toFixed(2)),m.link=`${this.fmt(G,h.id,h.version)}?api-token=${A}${S?"":"&openInBrowser=true"}`,h.fileName.length>20){let H=h.fileName.split(".");H.length>1?(m.fileNameShort=H.slice(0,-1).join("."),m.extension="."+H.slice(-1)):m.fileNameShort=h.fileName}else m.fileNameShort=h.fileName;return m.objectIds=[this._currentObjectId$.value],m}decorateAttachmentLinks(r,h){let m=h.map(A=>this._decorateLink(r,A));return m.sort((A,C)=>A.fileName.toLowerCase()<C.fileName.toLowerCase()?-1:A.fileName.toLowerCase()>C.fileName.toLowerCase()?1:0),m}_createAttachmentLinkStructure(r){this._loadAttachmentLinkStructure(r)?.subscribe({next:h=>{if(h&&(this._attachmentCount=h?.length,this.api)){let m=this.decorateAttachmentLinks(this.api,h);m&&(this._attachments=m)}}})}_loadAttachmentLinkStructure(r){if(this.api&&r)return Up(this.api.objects.getAttachmentLinks(r))}setModalVisibility(r=!0){if(!this.wormholeSelector)return;let h=this.localWormHole?this.shadowRootElement.querySelector("#"+this.wormholeSelector):document.getElementById(this.wormholeSelector);h&&(this.localWormHole?h.parentElement&&this.renderer.setStyle(h.parentElement,"display",r?"block":"none"):this.renderer.setStyle(h.parentElement,"display",r?"block":"none"),this.isOpened=r)}closeEmbeddedModalFileSelection(){this.setModalVisibility(!1)}_addLink(r,h){let m=h.filter(A=>!this.attachments.find(C=>C.id===A));if(m.length){if(this.inProgress){console.log("in progress");return}this.inProgress=!0,m.forEach(A=>{console.log("new attachment id:",A)}),Ode(m,this.rootObjectId,r).subscribe({next:A=>{this._attachments=this.decorateAttachmentLinks(r,A),this.inProgress=!1,this.attachmentsChange.emit(m)},error:A=>{console.error("Failed to add or reload attachments:",A),this.inProgress=!1}})}}createAttachmentLink(r){console.log("createAttachmentLink"),this.localWormHole=this.wormholeSelector==="localEmbeddedModalId";let h=m=>{let A=typeof m=="string"?[m]:m,C=A&&A.length>0;this.isDestroyed||(this.closeEmbeddedModalFileSelection(),C&&this._addLink(r,A))};typeof h!="function"||!this.project||!this.api||setTimeout(()=>{let m=window.location.href.includes("localhost"),A="";if(m&&(A=this.api?.getAccessToken(),!A))return;let C=new H$.ExternalClient("BImplusNGXComponentClient");C?.initialize();let G={};if(!m){let H=window.location.pathname.replace(/\/viewer\/$/,"/");H=H.replace(/\/connexis\/$/,"/"),G.baseUrl=window.location.origin+H}let S=H$.BimFilesSelect;if(this.wormholeSelector){let H=new S(this.wormholeSelector,A,C,this.env,G);if(!H)return;H.onAttachmentSelected=h,this.project&&(this.localWormHole?H.loadShadowRoot(this.shadowRootElement,this.project.teamSlug,this.project.id):H.load(this.project.teamSlug,this.project.id)),this.setModalVisibility(!0)}},200)}_deleteAttachmentLink(r,h,m){m.stopPropagation(),m.preventDefault();let A=r.objects,C=this._currentObjectId$.value;Up(r.objects.deleteAttachmentLink(this.rootObjectId,h)).pipe(Qy(()=>Up(A.getAttachmentLinks(C)))).subscribe({next:G=>{this.api&&(this._attachments=this.decorateAttachmentLinks(this.api,G))},error:G=>{console.error("Failed to delete or reload attachments:",G)}})}deleteAttachmentLink(r,h){if(!this.api||!r)return;let m=this.api;this.dialogService.open(AMe,{options:{position:"middle",positionOptions:{},overlayClickEnabled:!1,overlayVisibilityEnabled:!0,draggable:!0},data:{title:this.translateService.instant("_Delete_attachmentlink"),message:this.translateService.instant("_Attachmentlink_delete_confirmation_message"),acceptButtonLocalizedString:"_Delete",acceptCallback:()=>{this._deleteAttachmentLink(m,r.id,h)}}})}buttonClicked(r){if(!this.api)return;let h=this.api;r.id=="add-documents"&&this.createAttachmentLink(h)}static{this.\u0275fac=function(h){return new(h||p)($i(Wa),$i(H_),$i(az),$i(m0))}}static{this.\u0275cmp=vs({type:p,selectors:[["lib-links-to-documents"]],inputs:{api:"api",canCreateAttachmentLink:"canCreateAttachmentLink",listOnly:[2,"listOnly","listOnly",ls],showEmptyMessage:[2,"showEmptyMessage","showEmptyMessage",ls],hideAttachmentSize:[2,"hideAttachmentSize","hideAttachmentSize",ls],attachments:"attachments",canDeleteAttachmentLink:"canDeleteAttachmentLink",project:"project",wormholeSelector:"wormholeSelector",env:"env",rootObjectId:"rootObjectId"},outputs:{attachmentsChange:"attachmentsChange"},standalone:!0,features:[ap,Ll,gs],decls:6,vars:3,consts:[[3,"items"],[1,"embedded-modal-container"],[1,"attachment-row"],[1,"bim-attachment-not-found"],[3,"buttonClicked","items"],[3,"id","title"],[1,"bim-attachment-delete-button"],["target","_blank","rel","noopener noreferrer",1,"bim-attachmentlink-item",3,"href"],[1,"bim-attachment-name",3,"title"],[1,"bim-attachment-size",3,"title"],[1,"bim-attachment-delete-button",3,"click","keydown"],[3,"title"]],template:function(h,m){h&1&&(Lr(0,mHe,1,1,"lib-bimplus-buttons-row",0)(1,bHe,2,1,"div",1),dn(2,"lib-bimplus-scrollable-container"),Lf(3,yHe,6,5,"div",2,$y),Lr(5,MHe,3,3,"div",3),In()),h&2&&(Ss(m.canCreateAttachmentLink&&!m.listOnly?0:-1),cn(),Ss(m.wormholeSelector==="localEmbeddedModalId"?1:-1),cn(2),Sf(m._attachments),cn(2),Ss(!m._attachments.length&&m.showEmptyMessage?5:-1))},dependencies:[Sl,f1,zw,RI],styles:[`.text-selected{color:var(--text-highlight-text-color-enabled)}.ui-icon22px{width:2.2rem;height:2.2rem;display:inline-block;float:right;border-radius:.4rem;background-position:center center;background-repeat:no-repeat;cursor:pointer}.ui-icon-sidemenu{width:2.4rem;height:2.4rem;background-size:1.8rem 1.8rem;background-position:center center;background-repeat:no-repeat}.touch-ui-icon-sidemenu{width:2.4rem;height:2.4rem;background-size:1.8rem 1.8rem;background-position:center center;background-repeat:no-repeat;width:3.2rem;height:3.2rem}.ui-icon-sidemenu-important{width:2.4rem!important;height:2.4rem!important;background-size:1.8rem 1.8rem!important;background-position:center center;background-repeat:no-repeat}lib-bimplus-buttons-row{flex:0;--button-row-margin-right: .8rem}.attachment-row{margin:var(--attachment-row-margin, 0 .8rem);border-bottom:var(--attachment-row-border-bottom, solid .1rem var(--details-controls-attachment-item-border-color))}.bim-attachment-delete-button{color:var(--bim-attachment-delete-button, var(--details-controls-attachment-delete-button-text-color));font-weight:var(--bim-attachment-delete-button-font-weight, normal);float:right;margin-left:auto;cursor:pointer;margin-top:.2rem}.bim-attachment-delete-button:hover{color:var(--ui-text-1-color)}.bim-attachment-delete-button div{width:3.2rem;text-align:center}a.bim-attachmentlink-item,a.bim-attachmentlink-item:hover,a.bim-attachmentlink-item:visited{color:var(--dark-gray-color)}.bim-attachment-item,.bim-attachmentlink-item{display:flex;cursor:pointer;line-height:2.5rem;padding-left:var(--bim-attachmentlink-item-left-padding, 3.6rem);background-size:var(--bim-attachment-item-background-size, auto);background-repeat:no-repeat;background-position:var(--bim-attachment-item-background-position, .8rem center);background-image:var(--bim-attachment-item-background-image, url("./assets/icn_grid_attachments.png"));text-decoration:none!important}.bim-attachment-item .bim-attachment-name,.bim-attachmentlink-item .bim-attachment-name{padding-left:var(--bim-attachment-name-padding, 0 0 0 1rem);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bim-attachment-item .bim-attachment-extension,.bim-attachmentlink-item .bim-attachment-extension{white-space:nowrap}.bim-attachment-item .bim-attachment-size,.bim-attachmentlink-item .bim-attachment-size{padding-left:.5rem;white-space:nowrap;margin-right:.4rem}.bim-attachment-not-found{padding:2.5rem .5rem;color:var(--details-controls-details-not-found-text-color);text-align:center}.embedded-modal-container{display:none;box-sizing:content-box;position:fixed;inset:0;background-color:var(--portal-modal-background-color-overlay);padding:6% 9%}.embedded-modal-container iframe{width:100%;height:100%;outline:0;border:0;-webkit-box-shadow:0 0 .5rem var(--embedded-modal-shadow-color),0 0 .5rem var(--embedded-modal-shadow-color);-moz-box-shadow:0 0 .5rem var(--embedded-modal-shadow-color),0 0 .5rem var(--embedded-modal-shadow-color);box-shadow:0 0 .5rem var(--embedded-modal-shadow-color),0 0 .5rem var(--embedded-modal-shadow-color)}
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
- `],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}
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}.tab-element[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:20px;height:20px}.tab-element.disabled[_ngcontent-%COMP%]{opacity:.5;cursor:not-allowed}.underline-switcher[_ngcontent-%COMP%]{width:100%;height:.2rem;margin-top:.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-repeat:no-repeat;background-size:1.8rem;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
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}
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}
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-29328-1",
4
4
  "license": "MIT",
5
5
  "author": "",
6
6
  "description": "bim+ webcomponents library",