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 m}from"./chunk-KANMOB5U.js";import"./chunk-D3YCQTGW.js";import"./chunk-OBT56KUD.js";import{m as S}from"./chunk-NMCXU7N6.js";import{B as h,Ba as v,Jc as a,Rb as l,Uc as n,Vc as o,dc as f,ia as g,p as u,tb as s,v as d}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,this.structureId=this.structureService.singleStructureId}ngOnInit(){d([this.route.paramMap,this.route.data,h(()=>this.router.url.includes("diff"),u(!0),u(!1))]).pipe(g(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=e.get("structureId")||"",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.singleStructureIdValue=e.get("structureId")||"",this.structureService.DiffMode=!1,this.structureService.difference=[])})}ngOnDestroy(){this.structureService.clearRows(),this.structureService.toggleDone=!0}};r.\u0275fac=function(t){return new(t||r)(s(b),s(m),s(I))},r.\u0275cmp=v({type:r,selectors:[["osee-messaging-single-structure-table"]],standalone:!0,features:[a],decls:3,vars:7,consts:[["previousLink","../../../../",3,"breadCrumb","hasFilter","structureId"]],template:function(t,i){t&1&&(f(0,"osee-structure-table",0),n(1,"async"),n(2,"async")),t&2&&l("breadCrumb",o(1,3,i.breadCrumb)||"")("hasFilter",!0)("structureId",o(2,5,i.structureId)||"")},dependencies:[p,S],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 SingleStructureTableComponent,E as default};
