bimplus-webcomponents 0.0.203 → 0.0.205

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.
@@ -9507,7 +9507,7 @@ ${G}: ${de}`}_createAttributeGroupsFromResponse(s){let c=[],b=null;if(s.localize
9507
9507
  `],encapsulation:3});let l=a;return l})();var g5e=(()=>{let a=class a{get title(){return this._title}set title(s){this._title=s}get message(){return this._message}set message(s){this._message=s}constructor(){this.dialogService=Ut(Lg),this.translateService=Ut(gu),this._title="",this._message="",this.acceptButtonLocalizedString="_Accept",this.cancelButtonLocalizedString="_Cancel",this.buttons=[];let s=this.dialogService.inputData;s&&(this.title=s.title||"",this.message=s.message||"",this.acceptButtonLocalizedString=s.acceptButtonLocalizedString||"_Accept",this.cancelButtonLocalizedString=s.cancelButtonLocalizedString||"_Cancel",this.acceptCallback=s.acceptCallback),this.initializeButtons()}initializeButtons(){this.buttons=[{id:"accept",title:this.translateService.instant(this.acceptButtonLocalizedString),tooltip:this.translateService.instant(this.acceptButtonLocalizedString),disabled:!1,buttonStyle:"primary"},{id:"cancel",title:this.translateService.instant(this.cancelButtonLocalizedString),tooltip:this.translateService.instant(this.cancelButtonLocalizedString),disabled:!1,buttonStyle:"secondary"}]}close(){this.dialogService.close(),document.activeElement?.blur()}keypressClose(s){(s.key==="Escape"||s.key==="Esc")&&this.dialogService.close()}buttonRowButtonClicked(s){this.dialogService.close(),s.id==="accept"&&this.acceptCallback?.()}handleKeydown(s){(s.key==="Escape"||s.key==="Esc")&&this.close()}};a.\u0275fac=function(c){return new(c||a)},a.\u0275cmp=Li({type:a,selectors:[["lib-bimplus-overlay-dialog-confirm"]],hostBindings:function(c,b){c&1&&Kn("keydown",function(X){return b.handleKeydown(X)},Nd)},inputs:{title:"title",message:"message"},decls:10,vars:3,consts:[[1,"overlay-dialog-container"],[1,"header"],[1,"icon"],[1,"title-text"],[1,"close-button",3,"click","keydown"],[1,"content"],[1,"text",3,"innerHTML"],[1,"buttons"],[3,"buttonClicked","items"]],template:function(c,b){c&1&&(Rt(0,"div",0)(1,"div",1),qi(2,"div",2),Rt(3,"div",3),Bi(4),Bt(),Rt(5,"div",4),Kn("click",function(){return b.close()})("keydown",function(X){return b.keypressClose(X)}),Bt()(),Rt(6,"div",5),qi(7,"div",6),Rt(8,"div",7)(9,"lib-bimplus-buttons-row",8),Kn("buttonClicked",function(X){return b.buttonRowButtonClicked(X)}),Bt()()()()),c&2&&(_t(4),Kr(" ",b.title," "),_t(3),tn("innerHTML",b.message,O2),_t(2),tn("items",b.buttons))},dependencies:[la,af],styles:[`.overlay-dialog-container{min-height:13.6rem;min-width:60rem;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)}.overlay-dialog-container .header{background-color:var(--color-help-popup-title-background);height:3.2rem;display:inline-flex;align-items:center}.overlay-dialog-container .header .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 .header .title-text{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 .header .close-button{width:3.2rem;height:3.2rem;background:url("./assets/bimplus_Components_Overlay_Dialog_Cross_White.svg") no-repeat center center;background-size:2.2rem;cursor:pointer;margin:0 0 0 auto;padding-right:1.6rem;border:none}.overlay-dialog-container .content{background-color:var(--main-menu-text-default);display:flex;flex-direction:column;flex-grow:1}.overlay-dialog-container .content .text{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;flex:1;display:flex;flex-direction:column}.overlay-dialog-container .content .text .warning-title{line-height:2.4rem}.overlay-dialog-container .content .text .warning-message{line-height:1.6rem}.overlay-dialog-container .content .buttons{padding:1.6rem}
9508
9508
  `],encapsulation:3});let l=a;return l})();var Ate=K3(y5e());var Ote=(()=>{let a=class a{constructor(){}fmt(s,...c){let b=0;return s.replace(/%@(\d+)?/g,(E,X)=>{let G=X?parseInt(X,10)-1:b++,de=c[G];return de===null?"(null)":de===void 0?"":de.toString()})}decorateLink(s,c,b){let E={id:c.id,name:c.name,fileName:c.fileName,size:c.size,link:c.link,fileNameShort:"",extension:"",objectIds:b,version:c.version,sizeMB:""},X=s.getAccessToken(),de=s.getApiTeamUrl()+"attachments/%@/versions/%@/download",fe=!1;if(E.size=parseFloat((c.size/1e3).toFixed(2)),E.link=`${this.fmt(de,c.id,c.version)}?api-token=${X}${fe?"":"&openInBrowser=true"}`,c.fileName.length>20){let xe=c.fileName.split(".");xe.length>1?(E.fileNameShort=xe.slice(0,-1).join("."),E.extension="."+xe.slice(-1)):E.fileNameShort=c.fileName}else E.fileNameShort=c.fileName;return E}};a.\u0275fac=function(c){return new(c||a)},a.\u0275prov=fr({token:a,factory:a.\u0275fac,providedIn:"root"});let l=a;return l})();function YJe(l,a){if(l&1){let o=wr();Rt(0,"lib-bimplus-buttons-row",5),Kn("buttonClicked",function(c){Qn(o);let b=zt();return Zn(b.buttonClicked(c))}),Bt()}if(l&2){let o=zt();tn("items",o.buttonRowItems)}}function XJe(l,a){if(l&1&&(Rt(0,"div",2),qi(1,"iframe",6),Bt()),l&2){let o=zt();_t(),tn("id",_a(o.wormholeSelector))}}function QJe(l,a){l&1&&(Rt(0,"div",3),Bi(1),Hr(2,"translate"),Bt()),l&2&&(_t(),Kr(" ",jr(2,1,"_No_attachmentlinks_found")," "))}function ZJe(l,a){if(l&1){let o=wr();Rt(0,"span",12),Kn("click",function(c){Qn(o);let b=zt().$implicit,E=zt(2);return Zn(E.deleteAttachmentLink(b,c))})("keydown",function(c){Qn(o);let b=zt().$implicit,E=zt(2);return Zn(E.deleteAttachmentLink(b,c))}),Rt(1,"div",13),Hr(2,"translate"),Bi(3," \u2715\uFE0E "),Bt()()}l&2&&(_t(),tn("title",_a(jr(2,2,"_Delete_attachmentlink"))))}function JJe(l,a){if(l&1&&(Rt(0,"div",11),Bi(1),Bt()),l&2){let o=zt().$implicit;tn("title",_a(o.name)),_t(),Kr(" (",o.size," kB) ")}}function KJe(l,a){if(l&1&&(Rt(0,"div",7),Qi(1,ZJe,4,4,"span",8),Rt(2,"a",9)(3,"div",10),Bi(4),Bt(),Qi(5,JJe,2,3,"div",11),Bt()()),l&2){let o=a.$implicit,s=zt(2);_t(),Zi(s.canDeleteAttachmentLink?1:-1),_t(),tn("href",_a(o.link),uO),_t(),tn("title",_a(o.fileName)),_t(),Kr(" ",o.name?o.name:o.fileName," "),_t(),Zi(s.hideAttachmentSize?-1:5)}}function $Je(l,a){if(l&1&&(Rt(0,"div",4)(1,"lib-bimplus-scrollable-container"),Yl(2,KJe,6,7,"div",7,q1),Bt()()),l&2){let o=zt();_t(2),Xl(o._attachments)}}var spe=(l,a,o)=>{let s=l.map(c=>Js(o.objects.postAttachmentLink(a,JSON.stringify({attachmentId:c}))));return iO(s).pipe(Mb(()=>Js(o.objects.getAttachmentLinks(a))))},M5e=(()=>{let a=class a extends sl{constructor(){super(),this.dialogService=Ut(Lg),this.renderer=Ut(Pd),this.el=Ut(Do),this.decorators=Ut(Ote),this._rootObjectId="",this.isDestroyed=!1,this.localWormHole=!0,this.inProgress=!1,this.canCreateAttachmentLink=!0,this.listOnly=!1,this.showEmptyMessage=!0,this.hideAttachmentSize=!1,this.inputBaseUrl="",this._attachments=[],this.attachmentsChange=new ai,this.attachmentsLinkChange=new ai,this.canDeleteAttachmentLink=!0,this.project=null,this.wormholeSelector="localEmbeddedModalId",this.env="dev",this._currentObjectId$=new ps(""),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(s){this._attachments=s,this.onAttachmentsChange()}get attachments(){return this._attachments}onAttachmentsChange(){this.api&&this.rootObjectId&&(this._attachments=this.decorateAttachmentLinks(this.api,this._attachments))}set rootObjectId(s){s&&(this._currentObjectId$.next(s),this._rootObjectId=s)}get rootObjectId(){return this._rootObjectId}ngOnInit(){this.listOnly||this._currentObjectId$.subscribe({next:s=>{this._createAttachmentLinkStructure(s)}})}ngOnDestroy(){this.isDestroyed=!0}decorateAttachmentId(s){return{id:s.id,name:s.name,nameShort:s.name,url:"",iconClass:"",iconTitle:"",type:"AttachmentLink",deleteButtonTitle:""}}decorateAttachmentLinks(s,c){let b=c.map(E=>this.decorators.decorateLink(s,E,[this._currentObjectId$.value]));return b.sort((E,X)=>E.fileName.toLowerCase()<X.fileName.toLowerCase()?-1:E.fileName.toLowerCase()>X.fileName.toLowerCase()?1:0),b}_createAttachmentLinkStructure(s){this._loadAttachmentLinkStructure(s)?.subscribe({next:c=>{if(c&&(this._attachmentCount=c?.length,this.api)){let b=this.decorateAttachmentLinks(this.api,c);b&&(this._attachments=b)}}})}_loadAttachmentLinkStructure(s){if(this.api&&s)return Js(this.api.objects.getAttachmentLinks(s))}setModalVisibility(s=!0){if(!this.wormholeSelector)return;let c=this.localWormHole?this.shadowRootElement.querySelector("#"+this.wormholeSelector):document.getElementById(this.wormholeSelector);c&&(this.localWormHole?c.parentElement&&this.renderer.setStyle(c.parentElement,"display",s?"block":"none"):this.renderer.setStyle(c.parentElement,"display",s?"block":"none"),this.isOpened=s)}closeEmbeddedModalFileSelection(){this.setModalVisibility(!1)}_addLink(s,c){let b=c.filter(E=>!this.attachments.find(X=>X.id===E));if(b.length){if(this.inProgress){console.log("in progress");return}if(!this.rootObjectId){let E=b.map(X=>Js(s.objects.get(X,0,void 0,void 0,void 0,void 0)));iO(E).subscribe({next:X=>{X?.forEach(de=>{de?.id&&!this.attachments.find(fe=>fe?.id===de.id)&&this._attachments.push(de)});let G=this._attachments.map(de=>this.decorateAttachmentId(de));this.attachmentsLinkChange.emit(G)},error:X=>{console.error("Error occurred during requests:",X),this._attachments=[]}});return}this.inProgress=!0,spe(b,this.rootObjectId,s).subscribe({next:E=>{this._attachments=this.decorateAttachmentLinks(s,E),this.inProgress=!1,this.attachmentsChange.emit(b)},error:E=>{console.error("Failed to add or reload attachments:",E),this.inProgress=!1}})}}createAttachmentLink(s){console.log("createAttachmentLink"),this.localWormHole=this.wormholeSelector==="localEmbeddedModalId";let c=b=>{let E=typeof b=="string"?[b]:b,X=E&&E.length>0;this.isDestroyed||(this.closeEmbeddedModalFileSelection(),X&&this._addLink(s,E))};typeof c!="function"||!this.project||!this.api||setTimeout(()=>{let b=window.location.href.includes("localhost"),E="";if(E=this.api?.getAccessToken(),!E&&(E=window.localStorage.getItem("access_token"),!E))return;let X=new Ate.ExternalClient("BImplusNGXComponentClient");X?.initialize();let G={};if(!b){let fe=window.location.pathname.replace(/\/viewer\/$/,"/");fe=fe.replace(/\/connexis\/$/,"/"),G.baseUrl=this.inputBaseUrl?this.inputBaseUrl:window.location.origin+fe}let de=Ate.BimFilesSelect;if(this.wormholeSelector){let fe=new de(this.wormholeSelector,E,X,this.env,G);if(!fe)return;fe.onAttachmentSelected=c,this.project&&(this.localWormHole?fe.loadShadowRoot(this.shadowRootElement,this.project.teamSlug,this.project.id):fe.load(this.project.teamSlug,this.project.id)),this.setModalVisibility(!0)}},200)}_deleteAttachmentLink(s,c,b){b.stopPropagation(),b.preventDefault();let E=s.objects,X=this._currentObjectId$.value;Js(s.objects.deleteAttachmentLink(this.rootObjectId,c)).pipe(F1(()=>Js(E.getAttachmentLinks(X)))).subscribe({next:G=>{if(this.api){this._attachments=this.decorateAttachmentLinks(this.api,G);let de=this._attachments?.map(fe=>this.decorateAttachmentId(fe));this.attachmentsLinkChange.emit(de)}},error:G=>{console.error("Failed to delete or reload attachments:",G)}})}deleteAttachmentLink(s,c){if(!this.api||!s)return;let b=this.api;this.dialogService.open(g5e,{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(b,s.id,c)}}})}buttonClicked(s){if(!this.api)return;let c=this.api;s.id=="add-documents"&&this.createAttachmentLink(c)}};a.\u0275fac=function(c){return new(c||a)},a.\u0275cmp=Li({type:a,selectors:[["lib-links-to-documents"]],inputs:{api:"api",canCreateAttachmentLink:"canCreateAttachmentLink",listOnly:[2,"listOnly","listOnly",mo],showEmptyMessage:[2,"showEmptyMessage","showEmptyMessage",mo],hideAttachmentSize:[2,"hideAttachmentSize","hideAttachmentSize",mo],inputBaseUrl:"inputBaseUrl",attachments:"attachments",canDeleteAttachmentLink:"canDeleteAttachmentLink",project:"project",wormholeSelector:"wormholeSelector",env:"env",rootObjectId:"rootObjectId"},outputs:{attachmentsChange:"attachmentsChange",attachmentsLinkChange:"attachmentsLinkChange"},features:[Jo],decls:5,vars:3,consts:[[1,"links-to-documents"],[3,"items"],[1,"embedded-modal-container"],["data-test","no-attachment-links",1,"bim-attachment-not-found"],[1,"scrollable-content-container"],[3,"buttonClicked","items"],[3,"id","title"],[1,"attachment-row"],[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(c,b){c&1&&(Rt(0,"div",0),Qi(1,YJe,1,1,"lib-bimplus-buttons-row",1),Qi(2,XJe,2,2,"div",2),Qi(3,QJe,3,3,"div",3)(4,$Je,4,0,"div",4),Bt()),c&2&&(_t(),Zi(b.canCreateAttachmentLink&&!b.listOnly?1:-1),_t(),Zi(b.wormholeSelector==="localEmbeddedModalId"?2:-1),_t(),Zi(!b._attachments.length&&b.showEmptyMessage?3:4))},dependencies:[la,Cl,lm,af],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-scrollable-container{--scrollable-container-paddin-right: 0}lib-bimplus-buttons-row{flex:0;--button-row-margin-top: 0;--button-row-margin-right: .8rem;--button-row-margin-bottom: 1.4rem;--button-row-margin-left: 0}.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))}.links-to-documents{display:flex;flex:1;flex-direction:column}.links-to-documents .scrollable-content-container{position:relative;flex:1}.links-to-documents .scrollable-content-container lib-bimplus-scrollable-container{position:absolute;top:0;bottom:0;width:100%}.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.webp"));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)}
9509
9509
  `],encapsulation:3});let l=a;return l})();var _5e=(()=>{let a=class a{get title(){return this._title}set title(s){this._title=s}get message(){return this._message}set message(s){this._message=s}constructor(){this.dialogService=Ut(Lg),this.translateService=Ut(gu),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(s){(s.key==="Escape"||s.key==="Esc")&&this.close()}buttonRowButtonClicked(){this.close(),this.acceptCallback?.()}handleKeydown(s){(s.key==="Escape"||s.key==="Esc")&&this.close()}};a.\u0275fac=function(c){return new(c||a)},a.\u0275cmp=Li({type:a,selectors:[["lib-bimplus-overlay-dialog-error"]],hostBindings:function(c,b){c&1&&Kn("keydown",function(X){return b.handleKeydown(X)},Nd)},inputs:{title:"title",message:"message"},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(c,b){c&1&&(Rt(0,"div",0)(1,"div",1),qi(2,"div",2),Rt(3,"div",3),Bi(4),Bt(),Rt(5,"div",4),Kn("click",function(){return b.close()})("keypress",function(X){return b.keypressClose(X)}),Bt()(),Rt(6,"div",5)(7,"div",6),Bi(8),Bt(),Rt(9,"div",7)(10,"lib-bimplus-buttons-row",8),Kn("buttonClicked",function(){return b.buttonRowButtonClicked()}),Bt()()()()),c&2&&(_t(4),Kr(" ",b.title," "),_t(4),Kr(" ",b.message," "),_t(2),tn("items",b.buttons))},dependencies:[sa,la,af],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}
9510
- `],encapsulation:3});let l=a;return l})();var Ete=[{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"}],Ste=new Br("bimplus-tabs-switcher-config");var VX=(()=>{let a=class a{setActiveTab(s){this.activeTab.next(s)}constructor(){this.bimplusTabsSwitcherConfig=Ut(Ste,{optional:!0}),this.tabSwitcherElements=new ps(Ete),this.tabSwitcherElements$=this.tabSwitcherElements.asObservable(),this.activeTab=new ho,this.activeTab$=this.activeTab.asObservable(),this.bimplusTabsSwitcherConfig?.defaultTabsSwitcherElements&&this.tabSwitcherElements.next(this.bimplusTabsSwitcherConfig.defaultTabsSwitcherElements)}};a.\u0275fac=function(c){return new(c||a)},a.\u0275prov=fr({token:a,factory:a.\u0275fac});let l=a;return l})();var TJe=(l,a)=>({"underline-switcher":!0,highlight:l,hovering:a}),eKe="../../../../../../",Cte=(()=>{let a=class a{set activeTab(s){s&&this.bimplusTabsSwitcherService.setActiveTab(s)}constructor(){this.bimplusTabsSwitcherConfig=Ut(Ste,{optional:!0}),this.bimplusTabsSwitcherService=Ut(VX),this.imageBaseSrc=eKe,this.activeTabChange=new ai,this.activeTabSignal=gee(this.bimplusTabsSwitcherService.activeTab$),this.isActive=rf(()=>this.activeTabSignal()===this.bimplusTabComponentModel.id),this.isDisabled=Bo(!1),this.imgName=rf(()=>this.isActive()?this.bimplusTabComponentModel.img.active:this.bimplusTabComponentModel.img.default),this.onHoverOver=Bo(!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))}};a.\u0275fac=function(c){return new(c||a)},a.\u0275cmp=Li({type:a,selectors:[["lib-bimplus-tab"]],hostBindings:function(c,b){c&1&&Kn("mouseenter",function(){return b.onMouseEnter()})("mouseleave",function(){return b.onMouseLeave()})},inputs:{bimplusTabComponentModel:"bimplusTabComponentModel",imageBaseSrc:"imageBaseSrc",activeTab:"activeTab"},outputs:{activeTabChange:"activeTabChange"},decls:4,vars:14,consts:[[1,"tab-element",3,"click","keypress","title"],[3,"src","alt"],[3,"ngClass"]],template:function(c,b){c&1&&(Rt(0,"div",0),Hr(1,"translate"),Kn("click",function(){return!b.isDisabled()&&b.activate()})("keypress",function(){return!b.isDisabled()&&b.activate()}),qi(2,"img",1)(3,"div",2),Bt()),c&2&&(Oo("disabled",b.isDisabled()),tn("title",jr(1,9,b.bimplusTabComponentModel.title)),_t(2),tn("src",Jce("",b.imageBaseSrc,"assets/images/default/",b.imgName(),".svg"),uO)("alt",b.imgName()),_t(),tn("ngClass",kf(11,TJe,b.isActive(),b.onHoverOver())),Ko("data-test","underline-switcher-"+b.bimplusTabComponentModel.id))},dependencies:[gl,la,Cl],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: #00A01D;--color-table-transparent: #46494D;--color-spinner-wheel-border: #EF001C;--color-modelviewer-open-file-footer: #46494D;--color-file-view-canvas-background: #B8BBBF;--color-file-view-canvas-background-dark: #676869;--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: #B8BBBF;--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}"]});let l=a;return l})();var tKe=["*"],nKe=(l,a)=>({active:l,default:a}),iKe=(l,a,o)=>({id:l,title:a,img:o}),rKe=(l,a)=>a.id;function oKe(l,a){if(l&1){let o=wr();Rt(0,"lib-bimplus-tab",2),Kn("activeTabChange",function(c){Qn(o);let b=zt();return Zn(b.activeTabChange.emit(c))}),Bt()}if(l&2){let o=a.$implicit,s=zt();tn("activeTab",s.activeTab)("imageBaseSrc",s.baseHref)("bimplusTabComponentModel",rm(7,iKe,o.id,o.title,kf(4,nKe,o.img.active,o.img.default))),Ko("data-test",o.id)}}var Dte=(()=>{let a=class a{constructor(){this.bimplusTabsSwitcherService=Ut(VX,{optional:!0,skipSelf:!0}),this.activeTabChange=new ai,this.baseHref=Ut(ST,{optional:!0}),this.bimplusTabsSwitcherService?this.tabSwitcherElements=gee(this.bimplusTabsSwitcherService.tabSwitcherElements$):this.tabSwitcherElements=Bo(Ete).asReadonly()}};a.\u0275fac=function(c){return new(c||a)},a.\u0275cmp=Li({type:a,selectors:[["lib-bimplus-tabs-switcher"]],inputs:{activeTab:"activeTab"},outputs:{activeTabChange:"activeTabChange"},features:[aa([VX])],ngContentSelectors:tKe,decls:4,vars:0,consts:[[1,"tabswitcher-container"],[3,"activeTab","imageBaseSrc","bimplusTabComponentModel"],[3,"activeTabChange","activeTab","imageBaseSrc","bimplusTabComponentModel"]],template:function(c,b){c&1&&(zu(),Rt(0,"div",0),Yl(1,oKe,1,11,"lib-bimplus-tab",1,rKe),$s(3),Bt()),c&2&&(_t(),Xl(b.tabSwitcherElements()))},dependencies:[Cte],styles:[`.tabswitcher-container{display:flex;align-items:center;justify-content:flex-start;width:100%;height:20px}
9510
+ `],encapsulation:3});let l=a;return l})();var Ete=[{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"}],Ste=new Br("bimplus-tabs-switcher-config");var VX=(()=>{let a=class a{setActiveTab(s){this.activeTab.next(s)}constructor(){this.bimplusTabsSwitcherConfig=Ut(Ste,{optional:!0}),this.tabSwitcherElements=new ps(Ete),this.tabSwitcherElements$=this.tabSwitcherElements.asObservable(),this.activeTab=new ho,this.activeTab$=this.activeTab.asObservable(),this.bimplusTabsSwitcherConfig?.defaultTabsSwitcherElements&&this.tabSwitcherElements.next(this.bimplusTabsSwitcherConfig.defaultTabsSwitcherElements)}};a.\u0275fac=function(c){return new(c||a)},a.\u0275prov=fr({token:a,factory:a.\u0275fac});let l=a;return l})();var TJe=(l,a)=>({"underline-switcher":!0,highlight:l,hovering:a}),eKe="../../../../../../",Cte=(()=>{let a=class a{set activeTab(s){s&&this.bimplusTabsSwitcherService.setActiveTab(s)}constructor(){this.bimplusTabsSwitcherConfig=Ut(Ste,{optional:!0}),this.bimplusTabsSwitcherService=Ut(VX),this.imageBaseSrc=eKe,this.activeTabChange=new ai,this.activeTabSignal=gee(this.bimplusTabsSwitcherService.activeTab$),this.isActive=rf(()=>this.activeTabSignal()===this.bimplusTabComponentModel.id),this.isDisabled=Bo(!1),this.imgName=rf(()=>this.isActive()?this.bimplusTabComponentModel.img.active:this.bimplusTabComponentModel.img.default),this.onHoverOver=Bo(!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))}};a.\u0275fac=function(c){return new(c||a)},a.\u0275cmp=Li({type:a,selectors:[["lib-bimplus-tab"]],hostBindings:function(c,b){c&1&&Kn("mouseenter",function(){return b.onMouseEnter()})("mouseleave",function(){return b.onMouseLeave()})},inputs:{bimplusTabComponentModel:"bimplusTabComponentModel",imageBaseSrc:"imageBaseSrc",activeTab:"activeTab"},outputs:{activeTabChange:"activeTabChange"},decls:4,vars:14,consts:[[1,"tab-element",3,"click","keypress","title"],[3,"src","alt"],[3,"ngClass"]],template:function(c,b){c&1&&(Rt(0,"div",0),Hr(1,"translate"),Kn("click",function(){return!b.isDisabled()&&b.activate()})("keypress",function(){return!b.isDisabled()&&b.activate()}),qi(2,"img",1)(3,"div",2),Bt()),c&2&&(Oo("disabled",b.isDisabled()),tn("title",jr(1,9,b.bimplusTabComponentModel.title)),_t(2),tn("src",Jce("",b.imageBaseSrc,"assets/images/default/",b.imgName(),".svg"),uO)("alt",b.imgName()),_t(),tn("ngClass",kf(11,TJe,b.isActive(),b.onHoverOver())),Ko("data-test","underline-switcher-"+b.bimplusTabComponentModel.id))},dependencies:[gl,la,Cl],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-progress-shadow: rgba(0, 0, 0, .1);--color-progress-bar-shadow: rgba(0, 0, 0, .15);--color-button-active-not-disabled: rgba(0, 0, 0, .125);--color-panel-shadow: rgba(0, 0, 0, .05);--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: #00A01D;--color-table-transparent: #46494D;--color-spinner-wheel-border: #EF001C;--color-modelviewer-open-file-footer: #46494D;--color-file-view-canvas-background: #B8BBBF;--color-file-view-canvas-background-dark: #676869;--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: #B8BBBF;--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-modal-content-shadow: rgba(255, 255, 255, .5);--color-modal-content-border: 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-form-control-shadow: rgba(0, 0, 0, .075);--color2-form-control-shadow: rgba(80, 168, 255, .6);--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}"]});let l=a;return l})();var tKe=["*"],nKe=(l,a)=>({active:l,default:a}),iKe=(l,a,o)=>({id:l,title:a,img:o}),rKe=(l,a)=>a.id;function oKe(l,a){if(l&1){let o=wr();Rt(0,"lib-bimplus-tab",2),Kn("activeTabChange",function(c){Qn(o);let b=zt();return Zn(b.activeTabChange.emit(c))}),Bt()}if(l&2){let o=a.$implicit,s=zt();tn("activeTab",s.activeTab)("imageBaseSrc",s.baseHref)("bimplusTabComponentModel",rm(7,iKe,o.id,o.title,kf(4,nKe,o.img.active,o.img.default))),Ko("data-test",o.id)}}var Dte=(()=>{let a=class a{constructor(){this.bimplusTabsSwitcherService=Ut(VX,{optional:!0,skipSelf:!0}),this.activeTabChange=new ai,this.baseHref=Ut(ST,{optional:!0}),this.bimplusTabsSwitcherService?this.tabSwitcherElements=gee(this.bimplusTabsSwitcherService.tabSwitcherElements$):this.tabSwitcherElements=Bo(Ete).asReadonly()}};a.\u0275fac=function(c){return new(c||a)},a.\u0275cmp=Li({type:a,selectors:[["lib-bimplus-tabs-switcher"]],inputs:{activeTab:"activeTab"},outputs:{activeTabChange:"activeTabChange"},features:[aa([VX])],ngContentSelectors:tKe,decls:4,vars:0,consts:[[1,"tabswitcher-container"],[3,"activeTab","imageBaseSrc","bimplusTabComponentModel"],[3,"activeTabChange","activeTab","imageBaseSrc","bimplusTabComponentModel"]],template:function(c,b){c&1&&(zu(),Rt(0,"div",0),Yl(1,oKe,1,11,"lib-bimplus-tab",1,rKe),$s(3),Bt()),c&2&&(_t(),Xl(b.tabSwitcherElements()))},dependencies:[Cte],styles:[`.tabswitcher-container{display:flex;align-items:center;justify-content:flex-start;width:100%;height:20px}
9511
9511
  `],encapsulation:3,changeDetection:0});let l=a;return l})();var aKe=1e3,sKe={KB:"kB",GB:"gib",MB:"mb"},I5e=(()=>{let a=class a extends KY{transform(s,c=sKe.KB,b="1.2-2",E=aKe){if(!this.isNumber(s))throw new Error("[BitConverterPipe]: value is not a number");let X=this.getSizeFromBites(s,c,E),G=super.transform(X,b);return G??=s.toString(),`(${G} ${c})`}getSizeFromBites(s,c,b){switch(c){case"kB":return s/b;case"mb":return s/(b*b);case"gib":return s/(b*b*b);default:return s}}isNumber(s){return typeof s=="number"&&!isNaN(s)}};a.\u0275fac=(()=>{let s;return function(b){return(s||(s=H1(a)))(b||a)}})(),a.\u0275pipe=Rp({name:"bitConverter",type:a,pure:!0});let l=a;return l})();var sz=new Br("bimplus-attachments-config"),YX=class{constructor(a){this.id=a.id??"",this.fileName=a.fileName??"",this.size=a.size??0}},lpe=class lpe{static create(a){return this.attachment=new YX(a),this}static setId(a){return this.attachment.id=a,this}static setFileName(a){return this.attachment.fileName=a,this}static setSize(a){return this.attachment.size=a,this}static setFile(a){return this.attachment.file=a,this}static build(){let a=structuredClone(this.attachment);return this.attachment=new YX({}),a}};lpe.attachment=new YX({});var XX=lpe;var lKe=["attachmentSizeRef"],uKe=["attachmentNameRef"];function cKe(l,a){if(l&1&&(Rt(0,"span",4),Bi(1),Hr(2,"bitConverter"),Bt()),l&2){let o=zt();_t(),Ya(_T(2,1,o.attachment.size,"kB","1.2-2"))}}function dKe(l,a){if(l&1&&(Rt(0,"span"),Bi(1),Bt(),Rt(2,"div",4,1),Bi(4),Hr(5,"bitConverter"),Bt()),l&2){let o=zt();_t(),Kr("",o.type," "),_t(3),Kr(" ",_T(5,2,o.attachment.size,"kB","1.2-2")," ")}}function pKe(l,a){if(l&1){let o=wr();Rt(0,"span",6),Hr(1,"translate"),Kn("click",function(){Qn(o);let c=zt();return Zn(c.deleteAttachment.emit(c.attachment))})("keypress",function(c){return Qn(o),Zn(c.preventDefault())}),Rt(2,"span",7),Bi(3,"\u2715\uFE0E"),Bt()()}l&2&&tn("title",_a(jr(1,2,"_Delete attachment")))}var w5e=30,fKe=28,O5e=(()=>{let a=class a{constructor(){this.deleteAttachment=new ai,this.getAttachment=new ai,this.parentWidthSignal=Bo(void 0),this.attachmentSizeWidth=Bo(0),this.nameIsFullyVisible=Bo(!1),this.config=Ut(sz,{optional:!0}),this.hideSize=!!this.config?.hideAttachmentSize,this.nameInfoLineWidth=rf(()=>{let s=this.parentWidthSignal(),c=this.attachmentSizeWidth(),b=this.nameIsFullyVisible();return s?b?s-w5e:s-c-(w5e+fKe):0})}set parentWidth(s){s&&this.parentWidthSignal.set(s)}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 s={root:null,rootMargin:"0px",threshold:1},c=b=>b.forEach(({intersectionRect:E,boundingClientRect:X})=>{let G=E.width===X.width;this.nameIsFullyVisible.set(G)});this.intersectionObserver=new IntersectionObserver(c,s)}};a.\u0275fac=function(c){return new(c||a)},a.\u0275cmp=Li({type:a,selectors:[["lib-bimplus-attachment-item"]],viewQuery:function(c,b){if(c&1&&(fs(lKe,5),fs(uKe,5)),c&2){let E;ra(E=oa())&&(b.attachmentSizeRef=E.first),ra(E=oa())&&(b.attachmentNameRef=E.first)}},inputs:{closeIconTemplate:"closeIconTemplate",attachment:"attachment",parentWidth:"parentWidth"},outputs:{deleteAttachment:"deleteAttachment",getAttachment:"getAttachment"},decls:8,vars:8,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(c,b){if(c&1){let E=wr();Rt(0,"div",2)(1,"div",3),Kn("click",function(){return Qn(E),Zn(b.getAttachment.emit(b.attachment))})("keypress",function(G){return Qn(E),Zn(G.preventDefault())}),Rt(2,"span",null,0),Bi(4),Bt(),Qi(5,cKe,3,5,"span",4),Bt(),Qi(6,dKe,6,6),Qi(7,pKe,4,4,"span",5),Bt()}c&2&&(_t(),h0("width",b.nameInfoLineWidth(),"px"),tn("title",_a(b.attachment.fileName)),_t(3),Ya(b.attachment.fileName),_t(),Zi(b.nameIsFullyVisible()&&!b.hideSize?5:-1),_t(),Zi(!b.nameIsFullyVisible()&&!b.hideSize?6:-1),_t(),Zi(b.config!=null&&b.config.hideDeleteAttachmentButton?-1:7))},dependencies:[I5e,la,Cl],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.webp"));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:2.5rem;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}']});let l=a;return l})();var hKe=["attachmentListRef"],mKe=["fileInput"],A5e=(l,a)=>a.id;function vKe(l,a){if(l&1){let o=wr();Rt(0,"input",7,0),Kn("change",function(c){Qn(o);let b=Ac(1),E=zt();return Zn(E.onFileChanged(c,b))}),Bt()}}function bKe(l,a){if(l&1){let o=wr();Rt(0,"lib-bimplus-buttons-row",8),Kn("fileChanged",function(c){Qn(o);let b=zt();return Zn(b.onFileChanged(c))}),Bt()}if(l&2){let o=zt();tn("items",(o.config==null?null:o.config.buttons)??o.buttons)("isMultiple",!0)}}function gKe(l,a){l&1&&(Rt(0,"div",9),Bi(1),Hr(2,"translate"),Bt()),l&2&&(_t(),Ya(jr(2,1,"_No attachments found")))}function yKe(l,a){if(l&1&&Qi(0,gKe,3,3,"div",9),l&2){let o=zt(2);Zi(o.config!=null&&o.config.showNoAttachmentsFound?0:-1)}}function MKe(l,a){if(l&1){let o=wr();Rt(0,"lib-bimplus-attachment-item",11),Kn("deleteAttachment",function(c){Qn(o);let b=zt(3);return Zn(b.deleteAttachment.emit(c))})("getAttachment",function(c){Qn(o);let b=zt(3);return Zn(b.getAttachment.emit(c))}),Bt()}if(l&2){let o=a.$implicit,s=zt(3);tn("closeIconTemplate",s.closeIconTemplate)("parentWidth",s.attachmentListWidth())("attachment",o),Ko("data-test",o.id)}}function _Ke(l,a){if(l&1&&Yl(0,MKe,1,4,"lib-bimplus-attachment-item",10,A5e),l&2){let o=zt(2);Xl(o.attachments)}}function IKe(l,a){if(l&1&&(Rt(0,"section",5,1),Qi(2,yKe,1,1)(3,_Ke,2,0),Bt()),l&2){let o=zt();_t(2),Zi(o.attachments.length?3:2)}}function wKe(l,a){l&1&&(Rt(0,"div",9),Bi(1),Hr(2,"translate"),Bt()),l&2&&(_t(),Ya(jr(2,1,"_No attachments found")))}function OKe(l,a){if(l&1&&Qi(0,wKe,3,3,"div",9),l&2){let o=zt(2);Zi(o.config!=null&&o.config.showNoAttachmentsFound?0:-1)}}function AKe(l,a){if(l&1){let o=wr();Rt(0,"lib-bimplus-attachment-item",11),Kn("deleteAttachment",function(c){Qn(o);let b=zt(3);return Zn(b.deleteAttachment.emit(c))})("getAttachment",function(c){Qn(o);let b=zt(3);return Zn(b.getAttachment.emit(c))}),Bt()}if(l&2){let o=a.$implicit,s=zt(3);tn("closeIconTemplate",s.closeIconTemplate)("parentWidth",s.attachmentListWidth())("attachment",o),Ko("data-test",o.id)}}function EKe(l,a){if(l&1&&Yl(0,AKe,1,4,"lib-bimplus-attachment-item",10,A5e),l&2){let o=zt(2);Xl(o.attachments)}}function SKe(l,a){if(l&1&&(Rt(0,"div",6)(1,"lib-bimplus-scrollable-container")(2,"section",5,1),Qi(4,OKe,1,1)(5,EKe,2,0),Bt()()()),l&2){let o=zt();_t(4),Zi(o.attachments.length?5:4)}}var zte=(()=>{let a=class a extends sl{constructor(){super(...arguments),this.api=null,this.attachments=[],this.listOnly=!1,this.deleteAttachment=new ai,this.addAttachment=new ai,this.getAttachment=new ai,this.config=Ut(sz,{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=Bo(void 0)}open(){this.fileInput.nativeElement.click()}ngAfterViewInit(){this.createResizeObserver(),this.resizeObserver.observe(this.attachmentListRef.nativeElement)}ngOnDestroy(){this.resizeObserver.unobserve(this.attachmentListRef.nativeElement)}onFileChanged(s,c){let b=[];if(s instanceof FileList)b=Array.from(s);else if(s instanceof Event){let E=s.target;E?.files&&(b=Array.from(E.files))}for(let E of b)E instanceof File&&this.addAttachment.emit(E);c&&(c.value="")}createResizeObserver(){this.resizeObserver=new ResizeObserver(s=>{let{width:c}=s[0].contentRect;this.attachmentListWidth.set(c)})}};a.\u0275fac=(()=>{let s;return function(b){return(s||(s=H1(a)))(b||a)}})(),a.\u0275cmp=Li({type:a,selectors:[["lib-bimplus-attachments"]],viewQuery:function(c,b){if(c&1&&(fs(hKe,5),fs(mKe,5)),c&2){let E;ra(E=oa())&&(b.attachmentListRef=E.first),ra(E=oa())&&(b.fileInput=E.first)}},inputs:{api:"api",attachments:"attachments",closeIconTemplate:"closeIconTemplate",listOnly:[2,"listOnly","listOnly",mo]},outputs:{deleteAttachment:"deleteAttachment",addAttachment:"addAttachment",getAttachment:"getAttachment"},features:[Jo],decls:5,vars:2,consts:[["fileInput",""],["attachmentListRef",""],[1,"bim-attachments"],["hidden","","type","file","multiple",""],[3,"items","isMultiple"],[1,"bim-attachments-list"],[1,"scrollable-content-container"],["hidden","","type","file","multiple","",3,"change"],[3,"fileChanged","items","isMultiple"],["data-test","no-attachments",1,"bim-attachments-list-empty"],[3,"closeIconTemplate","parentWidth","attachment"],[3,"deleteAttachment","getAttachment","closeIconTemplate","parentWidth","attachment"]],template:function(c,b){c&1&&(Rt(0,"div",2),Qi(1,vKe,2,0,"input",3)(2,bKe,1,2,"lib-bimplus-buttons-row",4),Qi(3,IKe,4,1,"section",5)(4,SKe,6,1,"div",6),Bt()),c&2&&(_t(),Zi(b.listOnly?1:2),_t(2),Zi(b.listOnly?3:4))},dependencies:[la,Cl,af,O5e,lm],styles:[`lib-bimplus-buttons-row{--button-row-margin-top: 0;--button-row-margin-right: 0;--button-row-margin-bottom: 1.4rem;--button-row-margin-left: 0}lib-bimplus-scrollable-container{--scrollable-container-paddin-right: 0}.bim-attachments{display:flex;flex:1;flex-direction:column}.bim-attachments .scrollable-content-container{position:relative;flex:1}.bim-attachments .scrollable-content-container lib-bimplus-scrollable-container{position:absolute;top:0;bottom:0;width:100%}.bim-attachments-list{color:#84888c;cursor:pointer}.bim-attachments-list-empty{padding:2.5rem .5rem;color:var(--details-controls-details-not-found-text-color);text-align:center}
9512
9512
  `],encapsulation:3,changeDetection:0});let l=a;return l})();var QX=(()=>{let a=class a{getAttachment(s){let c;return s instanceof File?c=XX.setFile(s).setFileName(s.name).build():c=XX.create(s).build(),c}download(s,c){let b=document.createElement("a");b.rel="noopener noreferrer",b.target="_blank",b.href=s,b.download=c,b.click()}};a.\u0275fac=function(c){return new(c||a)},a.\u0275prov=fr({token:a,factory:a.\u0275fac,providedIn:"root"});let l=a;return l})();var E5e="delete",CKe="cancel",Rte=(()=>{let a=class a{get title(){return this._title}set title(s){this._title=s}get message(){return this._message}set message(s){this._message=s}constructor(){this.dialogService=Ut(Lg),this.translateService=Ut(gu),this._title="",this._message="",this.buttons=[{id:E5e,title:this.translateService.instant("_Delete"),tooltip:this.translateService.instant("_Delete"),disabled:!1,buttonStyle:"primary"},{id:CKe,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(s){(s.key==="Escape"||s.key==="Esc")&&this.dialogService.close()}buttonRowButtonClicked(s){this.dialogService.close(),s.id===E5e&&this.acceptCallback?.()}handleKeydown(s){(s.key==="Escape"||s.key==="Esc")&&this.close()}};a.\u0275fac=function(c){return new(c||a)},a.\u0275cmp=Li({type:a,selectors:[["lib-bimplus-overlay-dialog-delete"]],hostBindings:function(c,b){c&1&&Kn("keydown",function(X){return b.handleKeydown(X)},Nd)},inputs:{title:"title",message:"message"},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(c,b){c&1&&(Rt(0,"div",0)(1,"div",1),qi(2,"div",2),Rt(3,"div",3),Bi(4),Bt(),Rt(5,"div",4),Kn("click",function(){return b.close()})("keypress",function(X){return b.keypressClose(X)}),Bt()(),Rt(6,"div",5),qi(7,"div",6),Rt(8,"div",7)(9,"lib-bimplus-buttons-row",8),Kn("buttonClicked",function(X){return b.buttonRowButtonClicked(X)}),Bt()()()()),c&2&&(_t(4),Kr(" ",b.title," "),_t(3),tn("innerHTML",b.message,O2),_t(2),tn("items",b.buttons))},dependencies:[la,af],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}
9513
9513
  `],encapsulation:3});let l=a;return l})();var S5e=(()=>{let a=class a{set autoResizeMinRows(s){this._autoResizeMinRows=s>0?s:1,this.currentRows=this.currentRows<s?s:this.currentRows,this.input.rows=s}get autoResizeMinRows(){return this._autoResizeMinRows}set autoResizeMaxRows(s){this._autoResizeMaxRows=s<1?1:s}get autoResizeMaxRows(){return this._autoResizeMaxRows}set libAutoResizeTextarea(s){this._libAutoResizeTextarea=s}get libAutoResizeTextarea(){return this._libAutoResizeTextarea}constructor(){this.el=Ut(Do),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 s=window.getComputedStyle(this.input,null),c=s.getPropertyValue("line-height"),b=0;c==="normal"?b=(parseFloat(s.getPropertyValue("font-size"))||16)*1.14:b=parseFloat(c),this.avgLineHeight=Math.trunc(b)}updateRows(){this.offsetHeight<=0&&(this.offsetHeight=this.input.scrollHeight),this.input.rows=this._autoResizeMinRows;let s=Math.floor((this.input.scrollHeight-this.offsetHeight)/this.avgLineHeight),c=this._autoResizeMinRows+s;this.input.rows=c>this._autoResizeMaxRows?this._autoResizeMaxRows:c}};a.\u0275fac=function(c){return new(c||a)},a.\u0275dir=Eo({type:a,selectors:[["","libAutoResizeTextarea",""]],hostBindings:function(c,b){c&1&&Kn("input",function(){return b.onInput()})},inputs:{autoResizeMinRows:"autoResizeMinRows",autoResizeMaxRows:"autoResizeMaxRows",libAutoResizeTextarea:"libAutoResizeTextarea"}});let l=a;return l})();function DKe(l,a){if(l&1){let o=wr();Rt(0,"textarea",2),Hr(1,"translate"),Kn("keydown",function(c){Qn(o);let b=zt();return Zn(b.onKeydown(c))}),Bt()}if(l&2){let o=zt();tn("formControl",o.textareaControl)("placeholder",jr(1,8,o.placeholder))("name",o.name)("readonly",o.readonly)("required",o.required)("libAutoResizeTextarea",o.activeAutoResizeTextarea)("autoResizeMinRows",o.minRows)("autoResizeMaxRows",o.maxRows)}}function zKe(l,a){if(l&1){let o=wr();Rt(0,"textarea",3),Kn("keydown",function(c){Qn(o);let b=zt();return Zn(b.onKeydown(c))}),Bt()}if(l&2){let o=zt();tn("formControl",o.textareaControl)("placeholder",o.placeholder)("name",o.name)("readonly",o.readonly)("required",o.required)("rows",o.rows)}}var Lte=(()=>{let a=class a{set name(s){this._name=s}get name(){return this._name}set placeholder(s){this._placeholder=s}get placeholder(){return this._placeholder}set readonly(s){this._readonly=s}get readonly(){return this._readonly}set required(s){this._required=s}get required(){return this._required}set minRows(s){this._minRows=s}get minRows(){return this._minRows}set maxRows(s){this._maxRows=s}get maxRows(){return this._maxRows}set activeAutoResizeTextarea(s){this._activeAutoResizeTextarea=s}get activeAutoResizeTextarea(){return this._activeAutoResizeTextarea}set clearValue(s){s?(this.textareaControl.reset(),this._clearValue=!1):this._clearValue=s}get clearValue(){return this._clearValue}set rows(s){this._rows=s}get rows(){return this._rows}constructor(){this.textareaControl=new J4,this.textAreaValueChange=new ai,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(s=>{this.textAreaValueChange.emit(s)})}getTextareaValue(){return this.textareaControl.value}onKeydown(s){return["<",">"].includes(s.key)?(s.preventDefault(),!1):!0}ngOnDestroy(){this._textareaSubscription?.unsubscribe()}};a.\u0275fac=function(c){return new(c||a)},a.\u0275cmp=Li({type:a,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"},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(c,b){c&1&&Qi(0,DKe,2,10,"textarea",0)(1,zKe,1,6,"textarea",1),c&2&&Zi(b.activeAutoResizeTextarea?0:1)},dependencies:[am,zH,E2,Z0e,Q0e,S5e,la,Cl],styles:["textarea[_ngcontent-%COMP%]{font-size:1.28rem;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;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}textarea[_ngcontent-%COMP%]::placeholder{color:var(--dark-gray-color)}"]});let l=a;return l})();function RKe(l,a){if(l&1&&(Rt(0,"div",2)(1,"div",9),Bi(2),Bt()()),l&2){let o=zt(2);_t(2),Ya(o.isActUserAuthor?"":o.displayname)}}function LKe(l,a){if(l&1){let o=wr();Rt(0,"div",10),Kn("click",function(){Qn(o);let c=zt(2);return Zn(c.close())})("keydown",function(c){Qn(o);let b=zt(2);return Zn(b.onKeyPress(c))}),Bt()}}function xKe(l,a){if(l&1&&(Rt(0,"div",4),Bi(1),Bt()),l&2){let o=zt(2);_t(),Ya(o.message)}}function NKe(l,a){if(l&1){let o=wr();Rt(0,"lib-bimplus-attachments",11),Kn("getAttachment",function(c){Qn(o);let b=zt(2);return Zn(b.getAttachment.emit(c))}),Bt()}if(l&2){let o=zt(2);tn("attachments",o.attachments)}}function PKe(l,a){if(l&1&&(Rt(0,"a",6),qi(1,"div",12),Hr(2,"translate"),Rt(3,"div",13),Bi(4),Bt()()),l&2){let o=a.$implicit;tn("href",_a(o.link),uO),_t(),tn("title",_a(jr(2,7,"_Attachment_link"))),_t(2),tn("title",_a(o.name)),_t(),Ya(o.name)}}function BKe(l,a){if(l&1&&Lo(0,PKe,5,9,"a",7),l&2){let o=zt(2);tn("ngForOf",o.attachmentLinkItems)}}function FKe(l,a){if(l&1&&(Rt(0,"a",6),qi(1,"div",14),Hr(2,"translate"),Rt(3,"div",13),Bi(4),Bt()()),l&2){let o=a.$implicit;tn("href",_a(o.url),uO),_t(),tn("title",_a(jr(2,7,"_Hyperlink"))),_t(2),tn("title",_a(o.url)),_t(),Ya(o.name)}}function kKe(l,a){if(l&1&&(Rt(0,"div",8),Bi(1),Bt()),l&2){let o=zt(2);_t(),Kr(" ",o.date," ")}}function HKe(l,a){if(l&1&&(Rt(0,"div",1),Qi(1,RKe,3,1,"div",2),Qi(2,LKe,1,0,"div",3),Qi(3,xKe,2,1,"div",4),Qi(4,NKe,1,1,"lib-bimplus-attachments",5),Qi(5,BKe,1,1,"a",6),Lo(6,FKe,5,9,"a",7),Qi(7,kKe,2,1,"div",8),Bt()),l&2){let o=zt();ef(o.isActUserAuthor?"author":""),_t(),Zi(o.isActUserAuthor?-1:1),_t(),Zi(o.isActUserAuthor?2:-1),_t(),Zi(o.message!==void 0?3:-1),_t(),Zi(o.attachments.length?4:-1),_t(),Zi(o.attachmentLinkItems.length?5:-1),_t(),tn("ngForOf",o.hyperlinks),_t(),Zi(o.date&&o.date.length>0?7:-1)}}var qKe={hideDeleteAttachmentButton:!0,hideAttachmentSize:!0},xte=(()=>{let a=class a{constructor(){this.outputActionCommentEvent=new ai,this.getAttachment=new ai,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(s){this._message=s}get message(){return this._message}set date(s){let c=new Intl.DateTimeFormat(void 0,{timeStyle:"short"}).format(new Date(s));this._date=c}get date(){return this._date}set action(s){this._action=s}get action(){return this._action}set commentId(s){this._commentId=s}get commentId(){return this._commentId}set isActUserAuthor(s){this._isActUserAuthor=s}get isActUserAuthor(){return this._isActUserAuthor}set displayname(s){this._displayname=s}get displayname(){return this._displayname}emitAction(s){this.outputActionCommentEvent.emit(s)}close(){let s={action:this.action,data:{commentId:this.commentId}};this.emitAction(s)}onKeyPress(s){(s.key==="Escape"||s.key==="Esc")&&this.close()}formatTime(s){let c=window.navigator.language,b=new Date(s);return c.includes("en")?QY(b,"hh:mm a",c):QY(b,"hh:mm",c)}};a.\u0275fac=function(c){return new(c||a)},a.\u0275cmp=Li({type:a,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"},features:[aa([{provide:sz,useValue:qKe}])],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"],["listOnly","",3,"attachments"],["target","_blank",1,"item-row",3,"href"],["class","item-row","target","_blank",3,"href",4,"ngFor","ngForOf"],[1,"comment-item-date"],[1,"comment-title"],[1,"comment-close",3,"click","keydown"],["listOnly","",3,"getAttachment","attachments"],[1,"attachment-link-icon",3,"title"],[1,"text",3,"title"],[1,"link-icon",3,"title"]],template:function(c,b){c&1&&Qi(0,HKe,8,9,"div",0),c&2&&Zi(b.message!==void 0?0:-1)},dependencies:[W1,Cl,zte],styles:[`.new-comment-attachment{display:flex;align-items:center;gap:.4rem}.new-comment-attachment .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}.attachment-link-icon{background:url("./assets/Attachmentlink_18_gray.svg") no-repeat center;width:1.8rem;height:1.8rem;cursor:pointer;display:flex}.item-row{display:flex;gap:.2rem;align-items:center;line-height:2.4rem}.comment-item-container{font:400 1.28rem Source Sans Pro,Helvetica,Arial,tahoma,sans-serif;background-color:var(--comments-list-item-container-background-color);border-radius:.4rem;margin:1rem 8rem 1rem 1rem;padding:.8rem}.comment-item-container.author{background-color:var(--comments-item-comment-author-background-color);margin:1rem 1rem 1rem 8rem}.comment-item-container a{text-decoration:none!important;color:var(--ui-text-1-color)}.comment-item-container .comment-header{display:inline-flex;justify-content:space-between;align-items:center;width:100%}.comment-item-container .comment-header .comment-title{font-weight:700}.comment-item-container .comment-close{background:url("./assets/bimplus_WebIcons_Cross.svg") no-repeat center;background-size:2rem;height:2rem;width:2rem;border:none;cursor:unset;float:right}.comment-item-container .comment-close:hover{cursor:pointer}.comment-item-container .comment-item-text{margin:.8rem 0;word-break:break-all;color:var(--ui-text-1-color)}.comment-item-container .hyperlink .link-icon{background-size:1.8rem}.comment-item-container .comment-attachments-list{line-height:2.4rem;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;color:var(--ui-text-1-color)}.comment-item-container .comment-attachments-list .attachment-object-item{width:100%}.comment-item-container .comment-attachments-list .attachment-object-item .attachment-object-link{display:inline-flex;align-items:center}.comment-item-container .comment-attachments-list .attachment-icon,.comment-item-container .comment-attachments-list .links-icon,.comment-item-container .comment-attachments-list .attachmentLink-icon{width:1.5rem;height:1.5rem;margin:0 .2rem}.comment-item-container .comment-attachments-list .tab-attachments{background:url("./assets/Attachment_18_gray.svg") no-repeat center}.comment-item-container .comment-attachments-list .tab-attachmentlinks{background:url("./assets/Attachmentlink_18_gray.svg") no-repeat center}.comment-item-container .comment-attachments-list .tab-hyperlinks{background:url("./assets/Links_18_gray.svg") no-repeat center}.comment-item-container .comment-attachments-list .icon:hover{cursor:pointer}.comment-item-container .comment-item-date{text-align:end;color:var(--comments-list-item-date-color)}lib-bimplus-attachments{--bim-attachment-item-border-bottom: none;--bim-attachment-item-background-position: 0 center;--bim-attachment-item-padding-left: 1.3rem;--bim-attachment-item-background-image: url("./assets/Attachment_18_gray.svg");--bim-attachment-item-background-size: 1.8rem}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}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bimplus-webcomponents",
3
- "version": "0.0.203",
3
+ "version": "0.0.205",
4
4
  "license": "MIT",
5
5
  "author": "",
6
6
  "description": "bim+ webcomponents library",