import{h as K}from"./chunk-2UZANWCT.js";import"./chunk-2JONWNYA.js";import"./chunk-FVG4OCAJ.js";import"./chunk-B47LJMRU.js";import"./chunk-PB7QIE4O.js";import"./chunk-S2V6IA2C.js";import"./chunk-2UBKXA5Q.js";import"./chunk-SPDRGHFO.js";import"./chunk-ZBEJAM5I.js";import"./chunk-N2PQ6HLD.js";import"./chunk-RYOTKPRJ.js";import"./chunk-ORQ34GH7.js";import{a as $}from"./chunk-DZT3OJCU.js";import"./chunk-7SMWJ3GR.js";import"./chunk-P2NRYBYH.js";import"./chunk-XXO64O37.js";import"./chunk-M7AISLOK.js";import"./chunk-URVBFPQY.js";import"./chunk-OP2OM2NB.js";import"./chunk-YFKO2YMD.js";import"./chunk-KMX5PVQZ.js";import{a as B,b as E,c as j,e as V,f as P,h as q,i as J,k as L,l as U,n as z,q as G}from"./chunk-H7ZIYAN2.js";import{c as k}from"./chunk-D5M6Y5VI.js";import"./chunk-PFQHIQUX.js";import"./chunk-3CODJNWE.js";import{z as N}from"./chunk-HJB5ICMZ.js";import"./chunk-QU4JA34D.js";import"./chunk-TAYSHZWB.js";import"./chunk-GDIYNKGM.js";import"./chunk-L4FY67IO.js";import"./chunk-7WODUV7D.js";import{g as H,h as A}from"./chunk-WWV256XH.js";import"./chunk-EP2DJHVF.js";import"./chunk-S3JIFK7T.js";import"./chunk-EQ67X7AF.js";import"./chunk-LMRN7T6T.js";import"./chunk-IVW2C32D.js";import{c as R}from"./chunk-KANMOB5U.js";import"./chunk-D3YCQTGW.js";import"./chunk-OBT56KUD.js";import"./chunk-NMCXU7N6.js";import{$b as I,Aa as w,Ba as u,Bc as s,Dc as y,Eb as D,Jc as C,Nb as v,Rb as r,Wa as M,_b as _,ac as S,bc as c,cc as l,dc as p,ec as g,fc as x,jd as T,ld as F,oc as h,sb as n,tb as d,u as b}from"./chunk-IYD54RT7.js";import"./chunk-RVFOIZLJ.js";function X(e,t){if(e&1&&(c(0,"mat-header-cell",6),s(1),l()),e&2){let m=h().$index,a=h();r("matTooltip",a.columnMetaData()[m].tooltip),n(),y(" ",a.columnMetaData()[m].displayName," ")}}function Y(e,t){if(e&1&&(c(0,"mat-cell"),s(1),l()),e&2){let m=t.$implicit,a=h().$implicit;n(),y(" ",m[a]," ")}}function Z(e,t){if(e&1&&(g(0,1),v(1,X,2,2,"mat-header-cell",4)(2,Y,2,1,"mat-cell",5),x()),e&2){let m=t.$implicit;r("matColumnDef",m)}}function ee(e,t){e&1&&p(0,"mat-header-row",7)}function te(e,t){e&1&&p(0,"mat-row",8)}var O=(()=>{let t=class t{constructor(){this.content=M.required(),this.dataSource=new G,this._updateDataSource=F(()=>{this.dataSource.data=this.content()}),this.columnMetaData=D([{key:"id",tooltip:"Artifact Id of Artifact",displayName:"Id",hasInteraction:!1,hasFooterInteraction:!1},{key:"name",tooltip:"Name of Artifact",displayName:"Name",hasInteraction:!1,hasFooterInteraction:!1}]),this.displayedColumns=T(()=>this.columnMetaData().map(a=>a.key))}};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=u({type:t,selectors:[["osee-named-id-table"]],inputs:{content:[w.SignalBased,"content"]},standalone:!0,features:[C],decls:5,vars:4,consts:[[3,"dataSource"],[3,"matColumnDef"],["class","tw-text-primary-500",4,"matHeaderRowDef","matHeaderRowDefSticky"],["class",`
			 even:tw-bg-background-background hover:tw-bg-background-hover hover:tw-font-extrabold
			`,4,"matRowDef","matRowDefColumns"],[3,"matTooltip",4,"matHeaderCellDef"],[4,"matCellDef"],[3,"matTooltip"],[1,"tw-text-primary-500"],[1,"even:tw-bg-background-background","hover:tw-bg-background-hover","hover:tw-font-extrabold"]],template:function(o,i){o&1&&(c(0,"mat-table",0),I(1,Z,3,1,"ng-container",1,_),v(3,ee,1,0,"mat-header-row",2)(4,te,1,0,"mat-row",3),l()),o&2&&(r("dataSource",i.dataSource),n(),S(i.displayedColumns()),n(2),r("matHeaderRowDef",i.displayedColumns())("matHeaderRowDefSticky",!0),n(),r("matRowDefColumns",i.displayedColumns()))},dependencies:[B,U,J,z,L,V,P,j,q,E,$,N],encapsulation:2,changeDetection:0});let e=t;return e})();var ae=(()=>{let t=class t{constructor(a,o,i,Q){this.route=a,this.ui=o,this.reportsService=i,this.branchService=Q,this.branchName=this.branchService.currentBranch.pipe(b(f=>f.name)),this._impactedConnections$=this.reportsService.impactedConnectionsArtifacts,this.impactedConnections=k(this._impactedConnections$,{initialValue:[]}),this.route.paramMap.subscribe(f=>{this.ui.idValue=f.get("branchId")||"",this.ui.typeValue=f.get("branchType")||""})}};t.\u0275fac=function(o){return new(o||t)(d(R),d(H),d(K),d(A))},t.\u0275cmp=u({type:t,selectors:[["osee-impacted-connections-report"]],standalone:!0,features:[C],decls:3,vars:1,consts:[[1,"mat-h3"],[3,"content"]],template:function(o,i){o&1&&(c(0,"div",0),s(1,"Impacted Connections:"),l(),p(2,"osee-named-id-table",1)),o&2&&(n(2),r("content",i.impactedConnections()))},dependencies:[O],encapsulation:2});let e=t;return e})(),we=ae;export{ae as ImpactedConnectionsReportComponent,we as default};
