import{b as p}from"./chunk-SNZVWLQQ.js";import{a as I}from"./chunk-IWE4JFXM.js";import"./chunk-4P5AJQJJ.js";import"./chunk-ZWHK5YDX.js";import"./chunk-WL5LMZZA.js";import"./chunk-5YZW47FK.js";import"./chunk-ZSNLO3TX.js";import"./chunk-2JONWNYA.js";import"./chunk-FVG4OCAJ.js";import"./chunk-MX3BGMF7.js";import"./chunk-B47LJMRU.js";import"./chunk-TS5XAMXE.js";import"./chunk-EHV5JSNA.js";import"./chunk-5VEBEOBK.js";import"./chunk-S2V6IA2C.js";import"./chunk-QG2WC3H3.js";import"./chunk-6KEUYGBO.js";import"./chunk-ZBEJAM5I.js";import"./chunk-N2PQ6HLD.js";import"./chunk-RYOTKPRJ.js";import"./chunk-ORQ34GH7.js";import"./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"./chunk-H7ZIYAN2.js";import"./chunk-D5M6Y5VI.js";import"./chunk-PFQHIQUX.js";import"./chunk-3CODJNWE.js";import"./chunk-HJB5ICMZ.js";import"./chunk-QU4JA34D.js";import"./chunk-TAYSHZWB.js";import"./chunk-GDIYNKGM.js";import"./chunk-L4FY67IO.js";import"./chunk-7WODUV7D.js";import"./chunk-CX23ZL4L.js";import"./chunk-EP2DJHVF.js";import"./chunk-ZVZZ3QVR.js";import"./chunk-EQ67X7AF.js";import"./chunk-LMRN7T6T.js";import"./chunk-KHAMQZND.js";import{c as b,e as S}from"./chunk-KANMOB5U.js";import"./chunk-D3YCQTGW.js";import"./chunk-OBT56KUD.js";import{m}from"./chunk-NMCXU7N6.js";import{B as o,Ba as d,Jc as f,Rb as v,Uc as g,Vc as l,dc as a,ia as h,p as u,tb as s,v as n}from"./chunk-IYD54RT7.js";import"./chunk-RVFOIZLJ.js";var y=(()=>{let r=class r{constructor(e,t,i){this.route=e,this.router=t,this.structureService=i,this.breadCrumb=this.structureService.breadCrumbs}ngOnDestroy(){this.structureService.clearRows(),this.structureService.toggleDone=!0}ngOnInit(){n([this.route.paramMap,this.route.data,o(()=>this.router.url.includes("diff"),u(!0),u(!1))]).pipe(h(this.structureService.done)).subscribe(([e,t,i])=>{i?(this.structureService.BranchType=e.get("branchType")||"",this.structureService.branchId=e.get("branchId")||"",this.structureService.messageId=e.get("messageId")||"",this.structureService.subMessageId=e.get("subMessageId")||"",this.structureService.connection=e.get("connection")||"",this.structureService.singleStructureIdValue="",this.structureService.difference=t?.diff,this.structureService.DiffMode=!0):(this.structureService.BranchType=e.get("branchType")||"",this.structureService.branchId=e.get("branchId")||"",this.structureService.messageId=e.get("messageId")||"",this.structureService.subMessageId=e.get("subMessageId")||"",this.structureService.connection=e.get("connection")||"",this.structureService.BreadCrumb=e.get("name")||"",this.structureService.singleStructureIdValue="",this.structureService.DiffMode=!1,this.structureService.difference=[])})}};r.\u0275fac=function(t){return new(t||r)(s(b),s(S),s(I))},r.\u0275cmp=d({type:r,selectors:[["osee-messaging-multi-structure-table-page"]],standalone:!0,features:[f],decls:2,vars:4,consts:[["previousLink","../../../",3,"breadCrumb","hasFilter"]],template:function(t,i){t&1&&(a(0,"osee-structure-table",0),g(1,"async")),t&2&&v("breadCrumb",l(1,2,i.breadCrumb)||"")("hasFilter",!0)},dependencies:[p,m],styles:["[_nghost-%COMP%]{height:94vh;min-height:calc(94vh - 10%);max-height:94vh;width:100vw;min-width:calc(100vw - 10%);display:inline-block}"]});let c=r;return c})(),E=y;export{y as MultiStructureTableComponent,E as default};
