"use strict";(self.webpackChunkdvls=self.webpackChunkdvls||[]).push([[6567],{96567:(J,i,o)=>{o.r(i),o.d(i,{LogsSectionModule:()=>x});var p=o(73809),d=o(74954),g=o(39823),r=o(83699),u=o(24242),h=o(37096),m=o(19256),v=o(27483),C=o(2712),f=o(41841),t=o(65879),A=o(21528),y=o(40707),L=o(33259),P=o(14690),c=o(89511),S=o(23999);const T=["logsComponent"],Z=[{path:"",canActivate:[u.a,h.R,m.M,v.o],data:{licenseFeature:C.q.Pam},component:(()=>{class n 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()}static#t=this.\u0275fac=function(s){return new(s||n)(t.Y36(A.k))};static#o=this.\u0275cmp=t.Xpm({type:n,selectors:[["dps-pam-log-dashboard"]],viewQuery:function(s,a){if(1&s&&t.Gf(T,5),2&s){let l;t.iGM(l=t.CRH())&&(a.logsComponent=l.first)}},features:[t.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(s,a){1&s&&(t.TgZ(0,"dvl-page-wrapper-v2",0),t.ynx(1,1),t.TgZ(2,"p-button",2),t.NdJ("onClick",function(){return a.export()}),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"p-button",3),t.NdJ("onClick",function(){return a.search()}),t.ALo(5,"translate"),t.qZA(),t.BQk(),t._UZ(6,"dps-pam-logs",null,4),t.qZA()),2&s&&(t.Q6J("titlePage",a.titleHeader),t.xp6(2),t.s9C("pTooltip",t.lcZ(3,4,"lblExport")),t.Q6J("disabled",!a.hasData),t.xp6(2),t.s9C("pTooltip",t.lcZ(5,6,"lblRefresh")))},dependencies:[y.zx,L.u,P._,c.G,S.X]})}return n})()}];let b=(()=>{class n{static#t=this.\u0275fac=function(s){return new(s||n)};static#o=this.\u0275mod=t.oAB({type:n});static#n=this.\u0275inj=t.cJS({imports:[r.Bz.forChild(Z),r.Bz]})}return n})(),x=(()=>{class n{constructor(e){p.S.injector=e}static#t=this.\u0275fac=function(s){return new(s||n)(t.LFG(t.zs3))};static#o=this.\u0275mod=t.oAB({type:n});static#n=this.\u0275inj=t.cJS({imports:[d.m,b,g.e,c.G]})}return n})()}}]);