"use strict";(self.webpackChunkdvls=self.webpackChunkdvls||[]).push([[6567],{96567:(x,i,t)=>{t.r(i),t.d(i,{LogsSectionModule:()=>R});var d=t(73809),g=t(74954),p=t(39823),c=t(79092),u=t(24242),v=t(37096),m=t(19256),h=t(27483),C=t(2712),f=t(41841),o=t(65879),L=t(21528),A=t(40707),S=t(33259),y=t(89511),P=t(14690),D=t(23999);const b=["logsComponent"],T=[{path:"",canActivate:[u.a,v.R,m.M,h.o],data:{licenseFeature:C.q.Pam},component:(()=>{var n;class s extends f.H{constructor(e){super(),this.translatorService=e,this.titleHeader=[{title:this.translatorService.translate("gbReports"),link:"/reports"},{title:`${this.translatorService.translate("gbPrivilegeAccessManagement")} - ${this.translatorService.translate("lblLogs")}`}]}get hasData(){return this.logsComponent?.logs?.count>0}export(){this.logsComponent&&this.logsComponent.export()}search(){this.logsComponent&&this.logsComponent.search()}}return(n=s).\u0275fac=function(e){return new(e||n)(o.Y36(L.k))},n.\u0275cmp=o.Xpm({type:n,selectors:[["dps-pam-log-dashboard"]],viewQuery:function(e,l){if(1&e&&o.Gf(b,5),2&e){let r;o.iGM(r=o.CRH())&&(l.logsComponent=r.first)}},features:[o.qOj],decls:8,vars:8,consts:[[3,"titlePage"],["header-right",""],["styleClass","button-action","icon","di dvl-icon-export","showDelay","500","tooltipPosition","bottom",3,"pTooltip","disabled","onClick"],["styleClass","button-action","showDelay","500","tooltipPosition","bottom","icon","di dvl-icon-refresh",3,"pTooltip","onClick"],["logsComponent",""]],template:function(e,l){1&e&&(o.TgZ(0,"dvl-page-wrapper-v2",0),o.ynx(1,1),o.TgZ(2,"p-button",2),o.NdJ("onClick",function(){return l.export()}),o.ALo(3,"translate"),o.qZA(),o.TgZ(4,"p-button",3),o.NdJ("onClick",function(){return l.search()}),o.ALo(5,"translate"),o.qZA(),o.BQk(),o._UZ(6,"dps-pam-logs",null,4),o.qZA()),2&e&&(o.Q6J("titlePage",l.titleHeader),o.xp6(2),o.s9C("pTooltip",o.lcZ(3,4,"lblExport")),o.Q6J("disabled",!l.hasData),o.xp6(2),o.s9C("pTooltip",o.lcZ(5,6,"lblRefresh")))},dependencies:[A.zx,S.u,y.G,P._,D.X]}),s})()}];let Z=(()=>{var n;class s{}return(n=s).\u0275fac=function(e){return new(e||n)},n.\u0275mod=o.oAB({type:n}),n.\u0275inj=o.cJS({imports:[c.Bz.forChild(T),c.Bz]}),s})(),R=(()=>{var n;class s{constructor(e){d.S.injector=e}}return(n=s).\u0275fac=function(e){return new(e||n)(o.LFG(o.zs3))},n.\u0275mod=o.oAB({type:n}),n.\u0275inj=o.cJS({imports:[g.m,Z,p.e]}),s})()}}]);