PageSourceSearch

https://evpulse.netlify.app/834.14241407d4b1722d.js

js evpulse.netlify.app collected 2026-10-03 10:43:38 UTC 48,162 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkevpulse=self.webpackChunkevpulse||[]).push([[834],{9296:(w,y,s)=>{s.d(y,{p:()=>d});var e=s(1777);const h=(0,e.oQ)([(0,e.oB)({opacity:"{{opacity}}",transform:"scale({{scale}}) translate3d({{x}}, {{y}}, {{z}})"}),(0,e.jt)("{{duration}} {{delay}} cubic-bezier(0.0, 0.0, 0.2, 1)",(0,e.oB)("*"))],{params:{duration:"200ms",delay:"0ms",opacity:"0",scale:"1",x:"0",y:"0",z:"0"}}),d=[(0,e.X$)("animate",[(0,e.eR)("void => *",[(0,e._7)(h)])]),(0,e.X$)("animateStagger",[(0,e.SB)("50",(0,e.oB)("*")),(0,e.SB)("100",(0,e.oB)("*")),(0,e.SB)("200",(0,e.oB)("*")),(0,e.eR)("void => 50",(0,e.IO)("@*",[(0,e.EY)("50ms",[(0,e.pV)()])],{optional:!0})),(0,e.eR)("void => 100",(0,e.IO)("@*",[(0,e.EY)("100ms",[(0,e.pV)()])],{optional:!0})),(0,e.eR)("void => 200",(0,e.IO)("@*",[(0,e.EY)("200ms",[(0,e.pV)()])],{optional:!0}))]),(0,e.X$)("fadeInOut",[(0,e.SB)("0, void",(0,e.oB)({opacity:0})),(0,e.SB)("1, *",(0,e.oB)({opacity:1})),(0,e.eR)("1 => 0",(0,e.jt)("300ms ease-out")),(0,e.eR)("0 => 1",(0,e.jt)("300ms ease-in")),(0,e.eR)("void <=> *",(0,e.jt)("300ms ease-in"))]),(0,e.X$)("slideInOut",[(0,e.SB)("0",(0,e.oB)({height:"0px"})),(0,e.SB)("1",(0,e.oB)({height:"*"})),(0,e.eR)("1 => 0",(0,e.jt)("300ms ease-out")),(0,e.eR)("0 => 1",(0,e.jt)("300ms ease-in"))]),(0,e.X$)("slideIn",[(0,e.eR)("void => left",[(0,e.oB)({transform:"translateX(100%)"}),(0,e.jt)("300ms ease-in",(0,e.oB)({transform:"translateX(0)"}))]),(0,e.eR)("left => void",[(0,e.oB)({transform:"translateX(0)"}),(0,e.jt)("300ms ease-in",(0,e.oB)({transform:"translateX(-100%)"}))]),(0,e.eR)("void => right",[(0,e.oB)({transform:"translateX(-100%)"}),(0,e.jt)("300ms ease-in",(0,e.oB)({transform:"translateX(0)"}))]),(0,e.eR)("right => void",[(0,e.oB)({transform:"translateX(0)"}),(0,e.jt)("300ms ease-in",(0,e.oB)({transform:"translateX(100%)"}))])]),(0,e.X$)("slideInLeft",[(0,e.SB)("void",(0,e.oB)({transform:"translateX(-100%)"})),(0,e.SB)("*",(0,e.oB)({transform:"translateX(0)"})),(0,e.eR)("void => *",(0,e.jt)("300ms")),(0,e.eR)("* => void",(0,e.jt)("300ms"))]),(0,e.X$)("slideInRight",[(0,e.SB)("void",(0,e.oB)({transform:"translateX(100%)"})),(0,e.SB)("*",(0,e.oB)({transform:"translateX(0)"})),(0,e.eR)("void => *",(0,e.jt)("300ms")),(0,e.eR)("* => void",(0,e.jt)("300ms"))]),(0,e.X$)("slideInTop",[(0,e.SB)("void",(0,e.oB)({transform:"translateY(-100%)"})),(0,e.SB)("*",(0,e.oB)({transform:"translateY(0)"})),(0,e.eR)("void => *",(0,e.jt)("300ms")),(0,e.eR)("* => void",(0,e.jt)("300ms"))]),(0,e.X$)("slideInBottom",[(0,e.SB)("void",(0,e.oB)({transform:"translateY(100%)"})),(0,e.SB)("*",(0,e.oB)({transform:"translateY(0)"})),(0,e.eR)("void => *",(0,e.jt)("300ms")),(0,e.eR)("* => void",(0,e.jt)("300ms"))]),(0,e.X$)("expandCollapse",[(0,e.SB)("void",(0,e.oB)({height:"0px"})),(0,e.SB)("*",(0,e.oB)({height:"*"})),(0,e.eR)("void => *",(0,e.jt)("300ms ease-out")),(0,e.eR)("* => void",(0,e.jt)("300ms ease-in"))]),(0,e.X$)("routerTransitionLeft",[(0,e.eR)("* => *",[(0,e.IO)("content > :enter, content > :leave",[(0,e.oB)({position:"absolute",top:0,bottom:0,left:0,right:0})],{optional:!0}),(0,e.IO)("content > :enter",[(0,e.oB)({transform:"translateX(100%)",opacity:0})],{optional:!0}),(0,e.vP)([(0,e.ru)([(0,e.IO)("content > :leave",[(0,e.oB)({transform:"translateX(0)",opacity:1}),(0,e.jt)("600ms cubic-bezier(0.0, 0.0, 0.2, 1)",(0,e.oB)({transform:"translateX(-100%)",opacity:0}))],{optional:!0}),(0,e.IO)("content > :enter",[(0,e.oB)({transform:"translateX(100%)"}),(0,e.jt)("600ms cubic-bezier(0.0, 0.0, 0.2, 1)",(0,e.oB)({transform:"translateX(0%)",opacity:1}))],{optional:!0})]),(0,e.IO)("content > :leave",(0,e.pV)(),{optional:!0}),(0,e.IO)("content > :enter",(0,e.pV)(),{optional:!0})])])]),(0,e.X$)("routerTransitionRight",[(0,e.eR)("* => *",[(0,e.IO)("content > :enter, content > :leave",[(0,e.oB)({position:"absolute",top:0,bottom:0,left:0,right:0})],{optional:!0}),(0,e.IO)("content > :enter",[(0,e.oB)({transform:"translateX(-100%)",opacity:0})],{optional:!0}),(0,e.vP)([(0,e.ru)([(0,e.IO)("content > :leave",[(0,e.oB)({transform:"translateX(0)",opacity:1}),(0,e.jt)("600ms cubic-bezier(0.0, 0.0, 0.2, 1)",(0,e.oB)({transform:"translateX(100%)",opacity:0}
1))],{optional:!0}),(0,e.IO)("content > :enter",[(0,e.oB)({transform:"translateX(-100%)"}),(0,e.jt)("600ms cubic-bezier(0.0, 0.0, 0.2, 1)",(0,e.oB)({transform:"translateX(0%)",opacity:1}))],{optional:!0})]),(0,e.IO)("content > :leave",(0,e.pV)(),{optional:!0}),(0,e.IO)("content > :enter",(0,e.pV)(),{optional:!0})])])]),(0,e.X$)("routerTransitionUp",[(0,e.eR)("* => *",[(0,e.IO)("content > :enter, content > :leave",[(0,e.oB)({position:"absolute",top:0,bottom:0,left:0,right:0})],{optional:!0}),(0,e.IO)("content > :enter",[(0,e.oB)({transform:"translateY(100%)",opacity:0})],{optional:!0}),(0,e.ru)([(0,e.IO)("content > :leave",[(0,e.oB)({transform:"translateY(0)",opacity:1}),(0,e.jt)("600ms cubic-bezier(0.0, 0.0, 0.2, 1)",(0,e.oB)({transform:"translateY(-100%)",opacity:0}))],{optional:!0}),(0,e.IO)("content > :enter",[(0,e.oB)({transform:"translateY(100%)"}),(0,e.jt)("600ms cubic-bezier(0.0, 0.0, 0.2, 1)",(0,e.oB)({transform:"translateY(0%)",opacity:1}))],{optional:!0})]),(0,e.IO)("content > :leave",(0,e.pV)(),{optional:!0}),(0,e.IO)("content > :enter",(0,e.pV)(),{optional:!0})])]),(0,e.X$)("routerTransitionDown",[(0,e.eR)("* => *",[(0,e.IO)("content > :enter, content > :leave",[(0,e.oB)({position:"absolute",top:0,bottom:0,left:0,right:0})],{optional:!0}),(0,e.IO)("content > :enter",[(0,e.oB)({transform:"translateY(-100%)",opacity:0})],{optional:!0}),(0,e.vP)([(0,e.ru)([(0,e.IO)("content > :leave",[(0,e.oB)({transform:"translateY(0)",opacity:1}),(0,e.jt)("600ms cubic-bezier(0.0, 0.0, 0.2, 1)",(0,e.oB)({transform:"translateY(100%)",opacity:0}))],{optional:!0}),(0,e.IO)("content > :enter",[(0,e.oB)({transform:"translateY(-100%)"}),(0,e.jt)("600ms cubic-bezier(0.0, 0.0, 0.2, 1)",(0,e.oB)({transform:"translateY(0%)",opacity:1}))],{optional:!0})]),(0,e.IO)("content > :leave",(0,e.pV)(),{optional:!0}),(0,e.IO)("content > :enter",(0,e.pV)(),{optional:!0})])])]),(0,e.X$)("routerTransitionFade",[(0,e.eR)("* => *",(0,e.ru)([(0,e.IO)("content > :enter, content > :leave ",[(0,e.oB)({position:"absolute",top:0,bottom:0,left:0,right:0})],{optional:!0}),(0,e.IO)("content > :enter",[(0,e.oB)({opacity:0})],{optional:!0}),(0,e.IO)("content > :leave",[(0,e.oB)({opacity:1}),(0,e.jt)("300ms cubic-bezier(0.0, 0.0, 0.2, 1)",(0,e.oB)({opacity:0}))],{optional:!0}),(0,e.IO)("content > :enter",[(0,e.oB)({opacity:0}),(0,e.jt)("300ms cubic-bezier(0.0, 0.0, 0.2, 1)",(0,e.oB)({opacity:1}))],{optional:!0}),(0,e.IO)("content > :enter",(0,e.pV)(),{optional:!0}),(0,e.IO)("content > :leave",(0,e.pV)(),{optional:!0})]))]),(0,e.X$)("items",[(0,e.eR)(":enter",[(0,e.oB)({transform:"scale(0.5)",opacity:0}),(0,e.jt)("500ms cubic-bezier(.8, -0.6, 0.2, 1.5)",(0,e.oB)({transform:"scale(1)",opacity:1}))])]),(0,e.X$)("list",[(0,e.eR)(":enter",[(0,e.IO)("@items",(0,e.EY)(200,(0,e.pV)()))])])]},4973:(w,y,s)=>{s.d(y,{p:()=>h});var e=s(5e3);let h=(()=>{class d{transform(r){if(0===r)return"0 B";const p=Math.floor(Math.log(r)/Math.log(1024));return(r/Math.pow(1024,p)).toFixed(2)+" "+["B","KB","MB","GB","TB"][p]}}return d.\u0275fac=function(r){return new(r||d)},d.\u0275pipe=e.Yjl({name:"fileSize",type:d,pure:!0}),d})()},9254:(w,y,s)=>{s.d(y,{J:()=>m});var e=s(8929),h=s(7625),d=s(5e3);let m=(()=>{class r{constructor(){this.destroy$=new e.xQ,this.subClassConstructor=this.constructor,this.subClassNgOnInit=this.ngOnInit,(this.isEmptyConstructor()||0!==arguments.length)&&this.throwError("Un composant UI ne doit injecter de services"),this.subClassNgOnInit&&this.throwError("Le composant UI ne doit pas utiliser ngOnInit. seulement des entr\xe9es/sorties"),this.subClassNgOnDestroy=this.ngOnDestroy,this.ngOnDestroy=()=>{this.subClassNgOnDestroy(),this.unsunscribe()}}ngOnDestroy(){}takeUntilComponentDestroy(){return(0,h.R)(this.destroy$)}unsunscribe(){this.destroy$.isStopped||(this.destroy$.next(),this.destroy$.complete())}isEmptyConstructor(){return")"!==this.subClassConstructor.toString().split("(")[1][0]}throwError(p){throw new Error(`Le composant "${this.subClassConstructor.name}" est un composant UI , ${p}.`)}}return r.\u0275fac=function(p){return new(p||r)},r.\u0275cmp=d.Xpm({type:r,selectors:[["ng-component"]],decls:0,vars:0,template:function(p,A){},encapsulation:2}),r})()},7122:(w,y,s)=>{s.d(y,{z:()=>e});const e={items:[],total_elements:0,total_pages:0,current_page:0,page_size:100}},1226:(w,y,s)=>{s.d(y,{C:()=>A});
1var e=s(591),h=s(5154),d=s(279),m=s(7122),r=s(5e3),f=s(4555),p=s(5719);let A=(()=>{class x{constructor(_,C){this._httpClient=_,this.endpoints=C,this.datagouvResources=m.z,this.onDatagouvResourcesChanged$=new e.X(m.z),this.onCurrentDatagouvResourceChanged$=new e.X(null),this.onDatagouvResourcesChanged$=new e.X([]),this.onCurrentDatagouvResourceChanged$=new e.X(null)}resolve(_,C){return new Promise((T,O)=>{Promise.all([this.getDatagouResources()]).then(()=>T(this.datagouvResources)).catch(M=>{T({error:M})})})}getDatagouResources(_={}){return _=Object.assign({},d.t2,_),console.log("IrveStaticsService.loadIRVERecords:",_),new Promise((C,T)=>{this._httpClient.get(this.endpoints.createIRVEStaticsEndpoint(_),{observe:"response"}).pipe((0,h.d)(1)).subscribe(O=>{this.datagouvResources=O.body,this.onDatagouvResourcesChanged$.next(this.datagouvResources),C(this.datagouvResources)},T)})}}return x.\u0275fac=function(_){return new(_||x)(r.LFG(f.E),r.LFG(p.n))},x.\u0275prov=r.Yz7({token:x,factory:x.\u0275fac}),x})()},279:(w,y,s)=>{s.d(y,{EG:()=>d,Gx:()=>e,VT:()=>p,Zk:()=>f,_9:()=>r,nK:()=>A,sX:()=>x,t2:()=>h,vL:()=>m});const e={pageIndex:1,pageSize:100,uri:"/data"},h={pageIndex:1,pageSize:100,uri:"/datasets"},d={pageIndex:1,pageSize:100,uri:"/etl/extract"},m={pageIndex:1,pageSize:100,uri:"/activities"},r={pageIndex:1,pageSize:100,uri:"/stations"},f=p();function p(t=1,_=0){return{pageIndex:t,pageSize:_,uri:"/stations"}}function A(t){return{pageIndex:1,pageSize:100,uri:`/localisations/${t}`}}function x(t){return{pageIndex:1,pageSize:100,uri:`/activities/${t}/logs`}}},5834:(w,y,s)=>{s.r(y),s.d(y,{IrveActivitiesModule:()=>oe});var e=s(4662),h=s(325),d=s(4963),m=s(7122),r=s(449),f=s(1086),p=s(4850);class A extends r.o2{constructor(a){super(),this.activityService=a}connect(a){return this.activityService?this.activityService.onActivitiesChanged$.pipe((0,p.U)(i=>i.items)):(0,f.of)([])}disconnect(a){}}class x extends r.o2{constructor(a){super(),this.activityService=a}connect(a){return this.activityService?this.activityService.onActivityLogsChanged$.pipe((0,p.U)(i=>i.items)):(0,f.of)([])}disconnect(a){}}var t=s(5e3),_=s(591),C=s(1737),T=s(2868),O=s(7221),M=s(5154),N=s(279),it=s(4555),nt=s(5719);let Z=(()=>{class n{constructor(i,o){this._httpClient=i,this.endpoints=o,this.activities=m.z,this.activityLogs=m.z,this.onActivitiesChanged$=new _.X(m.z),this.onActivityLogsChanged$=new _.X(m.z),this.onCurrentActivityChanged$=new _.X(null)}resolve(i,o){return this.routeParams=i.params,console.table(this.routeParams),new Promise((c,v)=>{Promise.all([this.loadActivities().toPromise()]).then(()=>c(this.activities)).catch(U=>{c({error:U})})})}loadActivities(){const i=this.routeParams.type,o=this.routeParams.status;return i?(i?this.filterActivitiesByType(i):this.getActivities()).pipe((0,T.b)(U=>{this.activities=U,this.onActivitiesChanged$.next(this.activities)})):(o?this.filterActivitiesByStatus(o):this.getActivities()).pipe((0,T.b)(v=>{this.activities=v,this.onActivitiesChanged$.next(this.activities)}))}loadActivityLogs(i){this.doHttpGet((0,N.sX)(i)).subscribe(o=>{console.table(o),this.activityLogs=o,this.onActivityLogsChanged$.next(this.activityLogs)})}getActivities(){return this.doHttpGet(N.vL)}filterActivitiesByType(i){return this.doHttpGet({pageIndex:1,pageSize:100,type:this._mapActivityName(i),uri:"/activities/search"})}filterActivitiesByStatus(i){return this.doHttpGet({pageIndex:1,pageSize:100,status:i,uri:"/activities/search"})}doHttpGet(i){return this._httpClient.get(this.endpoints.createIRVEStaticsEndpoint(i),{observe:"response"}).pipe((0,p.U)(o=>o.body),(0,O.K)(o=>(console.error("Error:",o),(0,C._)("An error occurred"))),(0,M.d)(1))}_mapActivityName(i){return{import:"import-irve-static-data",load:"load-irve-static-data-job",inject:"inject-static-data-job"}[i]||i}}return n.\u0275fac=function(i){return new(i||n)(t.LFG(it.E),t.LFG(nt.n))},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac}),n})();var X=s(6026),u=s(9808),g=s(7093),B=s(3322),L=s(7423),I=s(5245),P=s(2638),D=s(6087),S=s(4847),q=s(9296),R=s(9254);const H={type:"Activit\xe9",start_time:"D\xe9but du traitement",end_time:"Fin du traitement",status:"Statut"},ot=Object.keys(H);var Q=s(4338),k=s(7446),z=s(508),l=s(2075),J=s(7238);function at(n,a){1&n&&(t.TgZ(0,"div",9),t._uU(1,"\n  "),t.TgZ(2,"span",10),t._uU(3,"Aucune activit\xe9 n'est trouv\xe9e!"),t.qZA(),t._uU(4,"\n"),t.qZA())}function st(n,a){if(1&n&&(t.TgZ(0,"mat-header-cell",14),t._uU(1),t.qZA()),2&n){const i=t.oxw().$implicit,o=t.oxw();
1t.xp6(1),t.Oqu(o.columnLabels[i])}}function ct(n,a){if(1&n&&(t.ynx(0),t._uU(1,"\n          "),t._UZ(2,"mat-checkbox",18),t._uU(3,"\n        "),t.BQk()),2&n){const i=t.oxw().$implicit,o=t.oxw().$implicit;t.xp6(2),t.Q6J("checked",i[o])}}function rt(n,a){if(1&n&&(t.ynx(0),t._uU(1),t.ALo(2,"date"),t.BQk()),2&n){const i=t.oxw().$implicit,o=t.oxw().$implicit;t.xp6(1),t.hij("\n          ",t.xi3(2,1,i[o],"dd/MM/yyyy HH:mm:ss"),"\n        ")}}function lt(n,a){if(1&n&&(t.ynx(0),t._uU(1),t.ALo(2,"date"),t.BQk()),2&n){const i=t.oxw().$implicit,o=t.oxw().$implicit;t.xp6(1),t.hij("\n          ",t.xi3(2,1,i[o],"dd/MM/yyyy HH:mm:ss"),"\n        ")}}function ut(n,a){if(1&n&&(t.ynx(0),t._uU(1,"\n          "),t.TgZ(2,"div",19),t._uU(3,"\n            "),t._UZ(4,"div",20),t._uU(5,"\n            "),t.TgZ(6,"div",21),t._uU(7),t.qZA(),t._uU(8,"\n          "),t.qZA(),t._uU(9,"\n        "),t.BQk()),2&n){const i=t.oxw().$implicit,o=t.oxw().$implicit,c=t.oxw();t.xp6(4),t.Q6J("ngClass",c.statusToColorClass(i[o])),t.xp6(3),t.hij(" ",i[o],"")}}function mt(n,a){if(1&n){const i=t.EpF();t.ynx(0),t._uU(1,"\n\n          "),t.TgZ(2,"button",22),t.NdJ("click",function(c){t.CHM(i);const v=t.oxw().$implicit,U=t.oxw(2);return c.stopPropagation(),t.KtG(U.importItemTriggered(v))}),t._uU(3,"\n            "),t.TgZ(4,"mat-icon"),t._uU(5,"cloud_download"),t.qZA(),t._uU(6,"\n          "),t.qZA(),t._uU(7,"\n        "),t.BQk()}if(2&n){const i=t.oxw().$implicit;t.xp6(2),t.Q6J("disabled",i.processed)}}function pt(n,a){if(1&n&&(t.ynx(0),t._uU(1),t.BQk()),2&n){const i=t.oxw().$implicit,o=t.oxw().$implicit;t.xp6(1),t.Oqu(i[o])}}function dt(n,a){if(1&n&&(t.TgZ(0,"mat-cell",15),t._uU(1,"\n\n        "),t.YNc(2,ct,4,1,"ng-container",16),t._uU(3,"\n\n        "),t.YNc(4,rt,3,4,"ng-container",16),t._uU(5,"\n\n        "),t.YNc(6,lt,3,4,"ng-container",16),t._uU(7,"\n\n        "),t.YNc(8,ut,10,2,"ng-container",16),t._uU(9,"\n\n        "),t.YNc(10,mt,8,1,"ng-container",16),t._uU(11,"\n\n        "),t.YNc(12,pt,2,1,"ng-container",17),t._uU(13,"\n      "),t.qZA()),2&n){const i=t.oxw().$implicit;t.Q6J("ngSwitch",i),t.xp6(2),t.Q6J("ngSwitchCase","processed"),t.xp6(2),t.Q6J("ngSwitchCase","start_time"),t.xp6(2),t.Q6J("ngSwitchCase","end_time"),t.xp6(2),t.Q6J("ngSwitchCase","status"),t.xp6(2),t.Q6J("ngSwitchCase","actions")}}function _t(n,a){1&n&&(t.ynx(0,11),t._uU(1,"\n\n      "),t.YNc(2,st,2,1,"mat-header-cell",12),t._uU(3,"\n\n      "),t.YNc(4,dt,14,6,"mat-cell",13),t._uU(5,"\n    "),t.BQk()),2&n&&t.Q6J("matColumnDef",a.$implicit)}function gt(n,a){1&n&&t._UZ(0,"mat-header-row")}const vt=function(){return{y:"100%"}},yt=function(n){return{value:"*",params:n}},ht=function(n){return{"accent-50":n}};function ft(n,a){if(1&n){const i=t.EpF();t.TgZ(0,"mat-row",23),t.NdJ("click",function(c){const U=t.CHM(i).$implicit,Y=t.oxw();return c.stopPropagation(),t.KtG(Y.rowSelectedTriggered(U))}),t.qZA()}if(2&n){const i=a.$implicit,o=t.oxw();t.Q6J("@animate",t.VKq(3,yt,t.DdM(2,vt)))("ngClass",t.VKq(5,ht,o.isSelected(i)))}}function Ut(n,a){1&n&&(t.TgZ(0,"div"),t._uU(1,"\n  "),t.TgZ(2,"p"),t._uU(3,"Chargement en cours..."),t.qZA(),t._uU(4,"\n"),t.qZA())}const xt=function(){return{value:"50"}},At=function(){return[]};let G=(()=>{class n extends R.J{constructor(){super(),this.dataSource=new A,this.datasetResourcePage=m.z,this.onRowSelect=new t.vpe,this.onStartImport=new t.vpe,this.onPageChanged=new t.vpe,this.pageSizeOptions=[1,2,5,10,25,50,100],this.hidePageSize=!1,this.showPageSizeOptions=!0,this.showFirstLastButtons=!0,this.disabled=!1,this.displayedColumns=ot,this.columnLabels=H}ngAfterViewInit(){this.paginator.page.pipe(this.takeUntilComponentDestroy()).subscribe(i=>{this.onPageChanged.emit(i)})}importItemTriggered(i){this.onStartImport.emit(i)}rowSelectedTriggered(i){this.onRowSelect.emit(i)}isSelected(i){return this.selection.isSelected(i)}get pageIndex(){return this.datasetResourcePage.current_page-1}statusToColorClass(i){return Q.m.statusToColorClass(i)}}return n.\u0275fac=function(i){return new(i||n)},n.\u0275cmp=t.Xpm({type:n,selectors:[["activity-list"]],viewQuery:function(i,o){if(1&i&&(t.Gf(D.NW,7),t.Gf(S.YE,7)),2&i){let c;t.iGM(c=t.CRH())&&(o.paginator=c.first),t.iGM(c=t.CRH())&&(o.sort=c.first)}},inputs:{dataSource:"dataSource",datasetResourcePage:"datasetResourcePage",selection:"selection"},outputs:{onRowSelect:"onRowSelect",onStartImport:"onStartImport",onPageChanged:"onPageChanged"},features:[t.qOj],decls:20,vars:17,consts:[["fxLayout","column","fxLayoutAlign","center center","fxFlexFill","",4,"ngIf"],["fxFlexLayout","column",1,"activities-list"],["matSort","",3,"dataSource"],[3,"matColumnDef",4,"ngFor","ngForOf"],[4,"matHeaderRowDef","matHeaderRowDefSticky"],["matRipple","","class","activity",3,"ngClass","click",4,"matRowDef","matRowDefColumns"],[4,"ngIf"],["aria-label","Select page",1,"paginator",3,"disabled","showFirstLastButtons","pageSizeOptions","hidePageSize","length","pageSize","pageIndex"],["paginator",""],["fxLayout","column","fxLayoutAlign","center center","fxFlexFill",""],[1,"no-todos-text","hint-text"],[3,"matColumnDef"],["mat-sort-header","",4,"matHeaderCellDef"],[3,"ngSwitch",4,"matCellDef"],["mat-sort-header",""],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],["disabled","","matTooltip","Importer ou en attente..",3,"checked"],["fxLayout","row","fxLayoutAlign","start center",1,"status"],[1,"status-color",3,"ngClass"],[1,"shipment-status-name"],["mat-stroked-button","","color","accent","matTooltip","Lancer l'import",3,"disabled","click"],["matRipple","",1,"activity",3,"ngClass","click"]],template:function(i,o){1&i&&(t.YNc(0,at,5,0,"div",0),t._uU(1,"\n\n"),t.TgZ(2,"div",1),t._uU(3,"\n  "),t.TgZ(4,"mat-table",2),t._uU(5,"\n    "),t.YNc(6,_t,6,1,"ng-container",3),t._uU(7,"\n\n    "),t.YNc(8,gt,1,0,"mat-header-row",4),t._uU(9,"\n\n    "),t.YNc(10,ft,1,7,"mat-row",5),t._uU(11,"\n  "),t.qZA(),t._uU(12,"\n"),t.qZA(),t._uU(13,"\n\n"),t.YNc(14,Ut,5,0,"div",6),t._uU(15,"\n\n"),t.TgZ(16,"mat-paginator",7,8),t._uU(18,"\n"),t.qZA(),t._uU(19,"\n\n\n")),2&i&&(t.Q6J("ngIf",!o.datasetResourcePage.total_elements),t.xp6(2),t.Q6J("@animateStagger",t.DdM(15,xt)),t.xp6(2),t.Q6J("dataSource",o.dataSource),t.xp6(2),t.Q6J("ngForOf",o.displayedColumns),t.xp6(2),t.Q6J("matHeaderRowDef",o.displayedColumns)("matHeaderRowDefSticky",!0),t.xp6(2),t.Q6J("matRowDefColumns",o.displayedColumns),t.xp6(4),t.Q6J("ngIf",!o.dataSource),t.xp6(2),t.Q6J("disabled",o.disabled)("showFirstLastButtons",o.show
1FirstLastButtons)("pageSizeOptions",o.showPageSizeOptions?o.pageSizeOptions:t.DdM(16,At))("hidePageSize",o.hidePageSize)("length",o.datasetResourcePage.total_elements)("pageSize",o.datasetResourcePage.page_size)("pageIndex",o.pageIndex))},dependencies:[u.mk,u.sg,u.O5,u.RF,u.n9,u.ED,g.xw,g.Wh,g.s9,B.oO,L.lW,k.oG,I.Hw,D.NW,z.wG,S.YE,S.nU,l.BZ,l.fO,l.as,l.w1,l.Dz,l.nj,l.ge,l.ev,l.XQ,l.Gk,J.gM,u.uU],styles:["activity-list{display:flex;flex:1 0 auto;flex-direction:column;position:relative;padding:0;overflow-y:hidden;-webkit-overflow-scrolling:touch;height:100%;border-right:1px solid}activity-list .no-todos-text{font-size:24px;font-weight:300}@media screen and (max-width: 599px){activity-list{overflow-y:auto}}activity-list>.activities-list{flex:1 1 0;border-bottom:1px solid rgba(0,0,0,.12);overflow:auto;-webkit-overflow-scrolling:touch}@media screen and (max-width: 599px){activity-list>.activities-list{flex:1 1 auto}}activity-list>.activities-list .mat-header-row{min-height:64px}activity-list>.activities-list .mat-cell{min-width:0;display:flex;align-items:center}activity-list>.activities-list .mat-column-type{flex:1;font-weight:600}activity-list>.activities-list .mat-column-start_time{flex:1}activity-list>.activities-list .mat-column-end_time{flex:1}activity-list>.activities-list .mat-column-status{flex:1;justify-content:end}activity-list>.activities-list .mat-column-status .status{background-color:#00000014;font-size:11px;border-radius:8px;margin:8px 4px 0 0;padding:3px 8px}activity-list>.activities-list .mat-column-status .status .status-color{width:8px;height:8px;margin-right:8px;border-radius:50%}activity-list>.activities-list .mat-column-sent_from{text-align:center}activity-list>.activities-list .selected,activity-list>.activities-list .mat-row:hover{background-color:#f1f5f9}activity-list>.activities-list .activity{position:relative;cursor:pointer;height:64px}\n"],encapsulation:2,data:{animation:q.p},changeDetection:0}),n})();const E=function(){return["active","accent"]},V=function(){return["active","accent-900"]};let Tt=(()=>{class n extends R.J{constructor(){super()}}return n.\u0275fac=function(i){return new(i||n)},n.\u0275cmp=t.Xpm({type:n,selectors:[["activity-main-sidebar"]],features:[t.qOj],decls:117,vars:18,consts:[["fxLayout","column","fxLayoutAlign","space-between start",1,"header","px-24","py-32","pb-4"],["fxLayout","column","fxLayoutAlign","start start",1,"title"],["fxLayout","row","fxLayoutAlign","start center",1,"logo","mb-md-0"],[1,"logo-icon","s-32","mr-16"],[1,"mat-display-1","kanit-font","mb-0","mb-md-0"],[1,"fill-space"],["mat-icon-button","","fxHide","","fxShow.lt-md","",1,"ml-16"],[1,"mat-18"],[1,"subtitle","secondary-text"],["mat-flat-button","","matTooltip","Actualiser la liste des activit\xe9s",1,"my-24","primary","w-100-p"],[1,"mr-8"],[1,"mr-8px","mt-24","mt-md-0"],[1,"content"],[1,"nav"],[1,"nav-item"],["matRipple","",1,"nav-link",3,"routerLink","routerLinkActive"],[1,"nav-link-icon"],[1,"nav-subheader"],["color","warn",1,"nav-link-icon"]],template:function(i,o){1&i&&(t.TgZ(0,"div",0),t._uU(1,"\n  "),t._uU(2,"\n  "),t.TgZ(3,"div",1),t._uU(4,"\n    "),t.TgZ(5,"div",2),t._uU(6,"\n      "),t.TgZ(7,"mat-icon",3),t._uU(8,"\n        task_alt\n      "),t.qZA(),t._uU(9,"\n      "),t.TgZ(10,"span",4),t._uU(11,"\n        Activit\xe9s\n      "),t.qZA(),t._uU(12,"\n      "),t._UZ(13,"span",5),t._uU(14,"\n      "),t.TgZ(15,"button",6),t._uU(16,"\n        "),t.TgZ(17,"mat-icon",7),t._uU(18,"arrow_back"),t.qZA(),t._uU(19,"\n      "),t.qZA(),t._uU(20,"\n    "),t.qZA(),t._uU(21,"\n    "),t.TgZ(22,"div",8),t._uU(23,"\n      "),t.TgZ(24,"span"),t._uU(25,"Rapport d'activit\xe9s IRVE"),t.qZA(),t._uU(26,"\n    "),t.qZA(),t._uU(27,"\n  "),t.qZA(),t._uU(28,"\n  "),t._uU(29,"\n\n  "),t.TgZ(30,"button",9),t._uU(31,"\n    "),t.TgZ(32,"mat-icon",10),t._uU(33,"refresh"),t.qZA(),t._uU(34,"\n    "),t.TgZ(35,"span",11),t._uU(36,"Actualiser"),t.qZA(),t._uU(37,"\n  "),t.qZA(),t._uU(38,"\n\n"),t.qZA(),t._uU(39,"\n"),t._uU(40,"\n"),t._uU(41,"\n"),t.TgZ(42,"div",12),t._uU(43,"\n\n  "),t.TgZ(44,"div",13),t._uU(45,"\n\n    "),t.TgZ(46,"div",14),t._uU(47,"\n      "),t.TgZ(48,"a",15),t._uU(49,"\n        "),t.TgZ(50,"mat-icon",16),t._uU(51,"view_headline"),t.qZA(),t._uU(52,"\n        "),t.TgZ(53,"span"),t._uU(54,"Tous"),t.qZA(),t._uU(55,"\n      "),t.qZA(),t._uU(56,"\n    "),t.qZA(),t._uU(57,"\n\n    "),t.TgZ(58,"div",17),t._uU(59,"TACHES"),t.qZA(),t._uU(60,"\n\n    "),t.TgZ(61,"div",14),t._uU(62,"\n\n      "),t.TgZ(63,"a",15),t._uU(64,"\n        "),t.TgZ(65,"mat-icon",16),t._uU(66,"cloud_download"),t.qZA(),t._uU(67,"\n        "),t.TgZ(68,"span"),t._uU(69,"Chargement"),t.qZA(),t._uU(70,"\n      "),t.qZA(),t._uU(71,"\n\n      "),t.TgZ(72,"a",15),t._uU(73,"\n        "),t.TgZ(74,"mat-icon",16),t._uU(75,"dataset"),t.qZA(),t._uU(76,"\n        "),t.TgZ(77,"span"),t._uU(78,"Import"),t.qZA(),t._uU(79,"\n      "),t.qZA(),t._uU(80,"\n      "),t.TgZ(81,"a",15),t._uU(82,"\n        "),t.TgZ(83,"mat-icon",16),t._uU(84,"transform"),t.qZA(),t._uU(85,"\n        "),t.TgZ(86,"span"),t._uU(87,"Injection"),t.qZA(),t._uU(88,"\n      "),t.qZA(),t._uU(89,"\n    "),t.qZA(),t._uU(90,"\n\n    "),t.TgZ(91,"div",17),t._uU(92,"STATUT"),t.qZA(),t._uU(93,"\n    "),t.TgZ(94,"div",14),t._uU(95,"\n      "),t.TgZ(96,"a",15),t._uU(97,"\n        "),t.TgZ(98,"mat-icon",16),t._uU(99,"done"),t.qZA(),t._uU(100,"\n        "),t.TgZ(101,"span"),t._uU(102,"Termin\xe9"),t.qZA(),t._uU(103,"\n      "),t.qZA(),t._uU(104,"\n      "),t.TgZ(105,"a",15),t._uU(106,"\n        "),t.TgZ(107,"mat-icon",18),t._uU(108,"report_problem"),t.qZA(),t._uU(109,"\n        "),t.TgZ(110,"span"),t._uU(111,"En erreur"),t.qZA(),t._uU(112,"\n      "),t.qZA(),t._uU(113,"\n    "),t.qZA(),t._uU(114,"\n\n  "),t.qZA(),t._uU(115,"\n\n"),t.qZA(),t._uU(116,"\n")),2&i&&(t.xp6(48),t.Q6J("routerLink","/irve-statics/activities/all")("routerLinkActive",t.DdM(12,E)),t.xp6(15),t.Q6J("routerLink","/irve-statics/activities/type/load")("routerLinkActive",t.DdM(13,E)),t.xp6(9),t.Q6J("routerLink","/irve-statics/activities/type/import")("routerLinkActive",t.DdM(14,E)),t.xp6(9),t.Q6J("routerLink","/irve-statics/activities/type/inject")("routerLinkActive",t.DdM(15,E)),t.xp6(15),t.Q6J("routerLink","/irve-statics/activities/status/completed")("routerLinkActive",t.DdM(16,V)),t.xp6(9),t.Q6J("routerLink","/irve-statics/activities/status/failed")("routerLinkActive",t.DdM(17,V)))},dependencies:[h.yS,h.Od,g.xw,g.Wh,B.b8,L.lW,I.Hw,z.wG,J.gM],styles:["activity-main-sidebar{display:flex;flex:1 0 auto;flex-direction:column;height:100%}activity-main-sidebar .header{padding:32px 0;height:192px;min-height:192px;max-height:192px;width:100%;display:flex;flex:1 1 100%}activity-main-sidebar .header .title{flex:1 1 auto;width:100%}activity-main-sidebar .header .logo{width:100%}activity-main-sidebar .header .logo .logo-icon{margin:0 16px 0 0}activity-main-sidebar .header .logo .logo-text{font-size:24px;line-height:24px}activity-main-sidebar .header .account{width:100%}\n"],encapsulation:2}),n})();const $={timestamp:"Horodatage",level:"Niveau",message:"Message"},K=Object.keys($);var Zt=s(4834),j=s(4623),wt=s(4594),Ct=s(4973);const St=function(){return{delay:"300ms",scale:"0.2"}},F=function(n){return{value:"*",params:n}},Lt=function(){return{delay:"400ms"}};function It(n,a){1&n&&(t.TgZ(0,"div",9),t._uU(1,"\n  "),t.TgZ(2,"mat-icon",10),t._uU(3,"description\n  "),t.qZA(),t._uU(4,"\n  "),t.TgZ(5,"span",11),t._uU(6,"\n      Aune entr\xe9e de journalisation !\n  "),t.qZA(),t._uU(7,"\n"),t.qZA()),2&n&&(t.xp6(2),t.Q6J("@animate",t.VKq(3,F,t.DdM(2,St))),t.xp6(3),t.Q6J("@animate",t.VKq(6,F,t.DdM(5,Lt))))}function bt(n,a){if(1&n&&(t.TgZ(0,"mat-header-cell",15),t._uU(1),t.qZA()),2&n){const i=t.oxw().$implicit,o=t.oxw();
1t.xp6(1),t.Oqu(o.columnLabels[i])}}function Ot(n,a){if(1&n&&(t.ynx(0),t._uU(1,"\n          "),t._UZ(2,"mat-checkbox",19),t._uU(3,"\n        "),t.BQk()),2&n){const i=t.oxw().$implicit,o=t.oxw().$implicit;t.xp6(2),t.Q6J("checked",i[o])}}function Bt(n,a){if(1&n&&(t.ynx(0),t._uU(1),t.ALo(2,"date"),t.BQk()),2&n){const i=t.oxw().$implicit,o=t.oxw().$implicit;t.xp6(1),t.hij("\n          ",t.xi3(2,1,i[o],"dd/MM/yyyy HH:mm:ss"),"\n        ")}}function Dt(n,a){if(1&n&&(t.ynx(0),t._uU(1),t.ALo(2,"date"),t.BQk()),2&n){const i=t.oxw().$implicit,o=t.oxw().$implicit;t.xp6(1),t.hij("\n          ",t.xi3(2,1,i[o],"dd/MM/yyyy HH:mm:ss"),"\n        ")}}function Rt(n,a){if(1&n&&(t.ynx(0),t._uU(1),t.ALo(2,"fileSize"),t.BQk()),2&n){const i=t.oxw().$implicit,o=t.oxw().$implicit;t.xp6(1),t.hij("\n          ",t.lcZ(2,1,i[o]),"\n        ")}}function Et(n,a){if(1&n){const i=t.EpF();t.ynx(0),t._uU(1,"\n          "),t.TgZ(2,"button",20),t.NdJ("click",function(c){t.CHM(i);const v=t.oxw().$implicit,U=t.oxw(2);return c.stopPropagation(),t.KtG(U.importItemTriggered(v))}),t._uU(3,"\n            "),t.TgZ(4,"mat-icon"),t._uU(5,"cloud_download"),t.qZA(),t._uU(6,"\n          "),t.qZA(),t._uU(7,"\n        "),t.BQk()}if(2&n){const i=t.oxw().$implicit;t.xp6(2),t.Q6J("disabled",i.processed)}}function Mt(n,a){if(1&n&&(t.ynx(0),t._uU(1),t.BQk()),2&n){const i=t.oxw().$implicit,o=t.oxw().$implicit;t.xp6(1),t.Oqu(i[o])}}function Pt(n,a){if(1&n&&(t.TgZ(0,"mat-cell",16),t._uU(1,"\n\n        "),t.YNc(2,Ot,4,1,"ng-container",17),t._uU(3,"\n\n        "),t.YNc(4,Bt,3,4,"ng-container",17),t._uU(5,"\n\n        "),t.YNc(6,Dt,3,4,"ng-container",17),t._uU(7,"\n\n        "),t.YNc(8,Rt,3,3,"ng-container",17),t._uU(9,"\n\n        "),t.YNc(10,Et,8,1,"ng-container",17),t._uU(11,"\n\n        "),t.YNc(12,Mt,2,1,"ng-container",18),t._uU(13,"\n      "),t.qZA()),2&n){const i=t.oxw().$implicit;t.Q6J("ngSwitch",i),t.xp6(2),t.Q6J("ngSwitchCase","processed"),t.xp6(2),t.Q6J("ngSwitchCase","timestamp"),t.xp6(2),t.Q6J("ngSwitchCase","end_time"),t.xp6(2),t.Q6J("ngSwitchCase","filesize"),t.xp6(2),t.Q6J("ngSwitchCase","actions")}}function qt(n,a){1&n&&(t.ynx(0,12),t._uU(1,"\n\n      "),t.YNc(2,bt,2,1,"mat-header-cell",13),t._uU(3,"\n\n      "),t.YNc(4,Pt,14,6,"mat-cell",14),t._uU(5,"\n    "),t.BQk()),2&n&&t.Q6J("matColumnDef",a.$implicit)}function Qt(n,a){1&n&&t._UZ(0,"mat-header-row")}const zt=function(){return{y:"100%"}};function Jt(n,a){if(1&n){const i=t.EpF();t.TgZ(0,"mat-row",21),t.NdJ("click",function(c){const U=t.CHM(i).$implicit,Y=t.oxw();return c.stopPropagation(),t.KtG(Y.rowSelectedTriggered(U))}),t.qZA()}2&n&&t.Q6J("@animate",t.VKq(2,F,t.DdM(1,zt)))}function $t(n,a){1&n&&(t.TgZ(0,"div"),t._uU(1,"\n  "),t.TgZ(2,"p"),t._uU(3,"Chargement en cours..."),t.qZA(),t._uU(4,"\n"),t.qZA())}const jt=function(){return{value:"50"}},Ft=function(){return[]};let W=(()=>{class n extends R.J{constructor(){super(),this.onRowSelect=new t.vpe,this.onStartImport=new t.vpe,this.onPageChanged=new t.vpe,this.pageSizeOptions=[1,2,5,10,25,50,100],this.hidePageSize=!1,this.showPageSizeOptions=!0,this.showFirstLastButtons=!0,this.disabled=!1,this.displayedColumns=K,this.columnLabels=$}ngAfterViewInit(){this.paginator.page.pipe(this.takeUntilComponentDestroy()).subscribe(i=>{this.onPageChanged.emit(i)})}importItemTriggered(i){this.onStartImport.emit(i)}rowSelectedTriggered(i){this.onRowSelect.emit(i)}get pageIndex(){return this.page.current_page-1}}return n.\u0275fac=function(i){return new(i||n)},n.\u0275cmp=t.Xpm({type:n,selectors:[["activity-logs-list"]],viewQuery:function(i,o){if(1&i&&(t.Gf(D.NW,7),t.Gf(S.YE,7)),2&i){let c;t.iGM(c=t.CRH())&&(o.paginator=c.first),t.iGM(c=t.CRH())&&(o.sort=c.first)}},inputs:{dataSource:"dataSource",page:"page"},outputs:{onRowSelect:"onRowSelect",onStartImport:"onStartImport",onPageChanged:"onPageChanged"},features:[t.qOj],decls:20,vars:17,consts:[["fxLayout","column","fxLayoutAlign","center center","fxFlexFill","",4,"ngIf"],["fxFlexLayout","column",1,"logs-list"],["matSort","",3,"dataSource"],[3,"matColumnDef",4,"ngFor","ngForOf"],[4,"matHeaderRowDef","matHeaderRowDefSticky"],["class","log",3,"click",4,"matRowDef","matRowDefColumns"],[4,"ngIf"],["aria-label","Select page",1,"paginator",3,"disabled","showFirstLastButtons","pageSizeOptions","hidePageSize","length","pageSize","pageIndex"],["paginator",""],["fxLayout","column","fxLayoutAlign","center center","fxFlexFill",""],[1,"s-120","mb
1-12","select-todo-icon","hint-text"],[1,"hint-text","mat-h1","select-todo-text"],[3,"matColumnDef"],["mat-sort-header","",4,"matHeaderCellDef"],[3,"ngSwitch",4,"matCellDef"],["mat-sort-header",""],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],["disabled","","matTooltip","Importer ou en attente..",3,"checked"],["mat-stroked-button","","color","accent","matTooltip","Lancer l'import",3,"disabled","click"],[1,"log",3,"click"]],template:function(i,o){1&i&&(t.YNc(0,It,8,8,"div",0),t._uU(1,"\n\n"),t.TgZ(2,"div",1),t._uU(3,"\n\n  "),t.TgZ(4,"mat-table",2),t._uU(5,"\n    "),t.YNc(6,qt,6,1,"ng-container",3),t._uU(7,"\n\n    "),t.YNc(8,Qt,1,0,"mat-header-row",4),t._uU(9,"\n    "),t.YNc(10,Jt,1,4,"mat-row",5),t._uU(11,"\n  "),t.qZA(),t._uU(12,"\n"),t.qZA(),t._uU(13,"\n\n"),t.YNc(14,$t,5,0,"div",6),t._uU(15,"\n\n"),t.TgZ(16,"mat-paginator",7,8),t._uU(18,"\n"),t.qZA(),t._uU(19,"\n\n\n")),2&i&&(t.Q6J("ngIf",!o.page.total_elements),t.xp6(2),t.Q6J("@animateStagger",t.DdM(15,jt)),t.xp6(2),t.Q6J("dataSource",o.dataSource),t.xp6(2),t.Q6J("ngForOf",o.displayedColumns),t.xp6(2),t.Q6J("matHeaderRowDef",o.displayedColumns)("matHeaderRowDefSticky",!0),t.xp6(2),t.Q6J("matRowDefColumns",o.displayedColumns),t.xp6(4),t.Q6J("ngIf",!o.dataSource),t.xp6(2),t.Q6J("disabled",o.disabled)("showFirstLastButtons",o.showFirstLastButtons)("pageSizeOptions",o.showPageSizeOptions?o.pageSizeOptions:t.DdM(16,Ft))("hidePageSize",o.hidePageSize)("length",o.page.total_elements)("pageSize",o.page.page_size)("pageIndex",o.pageIndex))},dependencies:[u.sg,u.O5,u.RF,u.n9,u.ED,g.xw,g.Wh,g.s9,L.lW,k.oG,I.Hw,D.NW,S.YE,S.nU,l.BZ,l.fO,l.as,l.w1,l.Dz,l.nj,l.ge,l.ev,l.XQ,l.Gk,J.gM,u.uU,Ct.p],styles:["activity-logs-list{display:flex;flex:0 1 auto;flex-direction:column;position:relative;padding:0;overflow-y:hidden;-webkit-overflow-scrolling:touch;height:100%}activity-logs-list .no-todos-text{font-size:24px;font-weight:300}@media screen and (max-width: 599px){activity-logs-list{overflow-y:auto}}activity-logs-list>.logs-list{flex:1 1 0;border-bottom:1px solid rgba(0,0,0,.12);overflow:auto;-webkit-overflow-scrolling:touch}@media screen and (max-width: 599px){activity-logs-list>.logs-list{flex:1 1 auto}}activity-logs-list>.logs-list .mat-header-row{min-height:64px}activity-logs-list>.logs-list .mat-cell{min-width:0;display:flex;align-items:center}activity-logs-list>.logs-list .mat-column-timestamp{flex:0 1 150px}activity-logs-list>.logs-list .mat-column-level{flex:0 1 75px;text-align:center}activity-logs-list>.logs-list .mat-column-message{overflow:auto}activity-logs-list>.logs-list .selected,activity-logs-list>.logs-list .mat-row:hover{background-color:#f1f5f9}activity-logs-list>.logs-list .log{position:relative;cursor:pointer}\n"],encapsulation:2,data:{animation:q.p},changeDetection:0}),n})();const Yt=function(){return{delay:"300ms",scale:"0.2"}},tt=function(n){return{value:"*",params:n}},Nt=function(){return{delay:"400ms"}};function Xt(n,a){1&n&&(t.TgZ(0,"div",2),t._uU(1,"\n  "),t.TgZ(2,"mat-icon",3),t._uU(3,"task_alt\n  "),t.qZA(),t._uU(4,"\n  "),t.TgZ(5,"span",4),t._uU(6,"\n    Selectionner une Activit\xe9!\n  "),t.qZA(),t._uU(7,"\n\n"),t.qZA()),2&n&&(t.xp6(2),t.Q6J("@animate",t.VKq(3,tt,t.DdM(2,Yt))),t.xp6(3),t.Q6J("@animate",t.VKq(6,tt,t.DdM(5,Nt))))}function Ht(n,a){if(1&n&&(t.TgZ(0,"div",13),t._uU(1,"\n\n    "),t.TgZ(2,"div",14),t._uU(3,"\n      "),t.TgZ(4,"mat-list"),t._uU(5,"\n        "),t.TgZ(6,"mat-list-item"),t._uU(7,"\n          "),t.TgZ(8,"mat-icon",15),t._uU(9,"schedule"),t.qZA(),t._uU(10,"\n          "),t.TgZ(11,"h4",16),t._uU(12,"Date de d\xe9but"),t.qZA(),t._uU(13,"\n          "),t.TgZ(14,"p",16),t._uU(15),t.ALo(16,"date"),t.qZA(),t._uU(17,"\n        "),t.qZA(),t._uU(18,"\n\n        "),t.TgZ(19,"mat-list-item"),t._uU(20,"\n          "),t.TgZ(21,"mat-icon",15),t._uU(22,"schedule"),t.qZA(),t._uU(23,"\n          "),t.TgZ(24,"h4",16),t._uU(25,"Date de fin"),t.qZA(),t._uU(26,"\n          "),t.TgZ(27,"p",16),t._uU(28),t.ALo(29,"date"),t.qZA(),t._uU(30,"\n        "),t.qZA(),t._uU(31,"\n\n        "),t.TgZ(32,"mat-list-item"),t._uU(33,"\n          "),t.TgZ(34,"mat-icon",15),t._uU(35,"dataset"),t.qZA(),t._uU(36,"\n          "),t.TgZ(37,"h4",16),t._uU(38,"Enrogistrement(s) trait\xe9(s)"),t.qZA(),t._uU(39,"\n          "),t.TgZ(40,"p",16),t._uU(41),t.qZA(),t._uU(42,"\n        "),t.qZA(),t._uU(43,"\n\n        "),t.TgZ(44,"mat-list-item"),t._uU(45,"\n          "),t.TgZ(46,"mat-icon",15),t._uU(47,"dataset"),t.qZA(),t._uU(48,"\n          "),t.TgZ(49,"h4",16),t._uU(50,"Enrogistrement(s) import\xe9(s)"),t.qZA(),t._uU(51,"\n          "),t.TgZ(52,"p",16),t._uU(53),t.qZA(),t._uU(54,"\n        "),t.qZA(),t._uU(55,"\n\n      "),t.qZA(),t._uU(56,"\n    "),t.qZA(),t._uU(57,"\n\n    "),t.TgZ(58,"div",14),t._uU(59,"\n      "),t.TgZ(60,"mat-list"),t._uU(61,"\n\n        "),t.TgZ(62,"mat-list-item"),t._uU(63,"\n          "),t.TgZ(64,"mat-icon",15),t._uU(65,"assignment"),t.qZA(),t._uU(66,"\n          "),t.TgZ(67,"h4",16),t._uU(68,"Type"),t.qZA(),t._uU(69,"\n          "),t.TgZ(70,"p",16),t._uU(71),t.qZA(),t._uU(72,"\n        "),t.qZA(),t._uU(73,"\n\n        "),t.TgZ(74,"mat-list-item"),t._uU(75,"\n          "),t.TgZ(76,"mat-icon",15),t._uU(77,"info"),t.qZA(),t._uU(78,"\n          "),t.TgZ(79,"h4",16),t._uU(80,"Statut"),t.qZA(),t._uU(81,"\n          "),t.TgZ(82,"p",16),t._uU(83),t.qZA(),t._uU(84,"\n        "),t.qZA(),t._uU(85,"\n\n        "),t.TgZ(86,"mat-list-item"),t._uU(87,"\n          "),t.TgZ(88,"mat-icon",15),t._uU(89,"error"),t.qZA(),t._uU(90,"\n          "),t.TgZ(91,"h4",16),t._uU(92,"Nombre d'erreurs"),t.qZA(),t._uU(93,"\n          "),t.TgZ(94,"p",16),t._uU(95),t.qZA(),t._uU(96,"\n        "),t.qZA(),t._uU(97,"\n\n      "),t.qZA(),t._uU(98,"\n    "),t.qZA(),t._uU(99,"\n\n  "),t.qZA()),2&n){const i=t.oxw(2);t.xp6(15),t.Oqu(t.xi3(16,7,i.activity.start_time,"dd/MM/yyyy HH:mm:ss")),t.xp6(13),t.Oqu(t.xi3(29,10,i.activity.end_time,"dd/MM/yyyy HH:mm:ss")),t.xp6(13),t.Oqu(i.activity.total_records),t.xp6(12),t.Oqu(i.activity.inserted_records),t.xp6(18),t.Oqu(i.activity.type),t.xp6(12),t.Oqu(i.activity.status),t.xp6(12),t.Oqu(i.activity.error_records)}}function kt(n,a){if(1&n){const i=t.EpF();t.TgZ(0,"div",5),t._uU(1,"\n  "),t.TgZ(2,"mat-toolbar",6),t._uU(3,"\n    "),t.TgZ(4,"button",7),t._uU(5,"\n      "),t.TgZ(6,"mat-icon"),t._uU(7),t.qZA(),t._uU(8,"\n    "),t.qZA(),t._uU(9,"\n    "),t.TgZ(10,"span"),t._uU(11),t.qZA(),t._uU(12,"\n    "),t._UZ(13,"span",8),t._uU(14,"\n    "),t.TgZ(15,"button",9),t.NdJ("click",function(){t.CHM(i);const c=t.oxw();return t.KtG(c.close())}),t._uU(16,"\n      "),t.TgZ(17,"mat-icon"),t._uU(18,"close"),t.qZA(),t._uU(19,"\n    "),t.qZA(),t._uU(20,"\n  "),t.qZA(),t._uU(21,"\n\n  "),t.YNc(22,Ht,100,13,"div",10),t._uU(23,"\n  "),t._UZ(24,"mat-divider"),t._uU(25,"\n\n  "),t.TgZ(26,"activity-logs-list",11),t.NdJ("onPageChanged",function(c){t.CHM(i);const v=t.oxw();
1return t.KtG(v.pageChanged(c))})("onRowSelect",function(c){t.CHM(i);const v=t.oxw();return t.KtG(v.setCurrentLog(c))}),t._uU(27,"\n  "),t.qZA(),t._uU(28,"\n\n  "),t.TgZ(29,"div",12),t._uU(30),t.ALo(31,"json"),t.qZA(),t._uU(32,"\n\n\n\n"),t.qZA()}if(2&n){const i=t.oxw();t.xp6(2),t.Q6J("ngClass",i.statusToColorClass(i.activity.status)),t.xp6(5),t.Oqu(i.statusToIcon(i.activity.status)),t.xp6(4),t.AsE("",i.activity.type," (ID: ",i.activity.id,")"),t.xp6(11),t.Q6J("ngIf",i.activity&&!i.currentLog),t.xp6(4),t.Q6J("dataSource",i.dataSource)("page",i.page),t.xp6(4),t.hij("\n    ",t.lcZ(31,8,i.currentLog),"\n  ")}}let Gt=(()=>{class n extends R.J{constructor(){super(),this.page=m.z,this.pageSizeOptions=[1,2,5,10,25,50,100],this.hidePageSize=!1,this.showPageSizeOptions=!0,this.showFirstLastButtons=!0,this.displayedColumns=K,this.columnLabels=$,this.onClose=new t.vpe}statusToColorClass(i){return Q.m.statusToColorClass(i)}statusToIcon(i){return Q.m.statusToIcon(i)}pageChanged(i){console.log(i)}setCurrentLog(i){this.currentLog=i}close(){this.onClose.emit(this.activity),this.currentLog=null}}return n.\u0275fac=function(i){return new(i||n)},n.\u0275cmp=t.Xpm({type:n,selectors:[["activity-details"]],inputs:{dataSource:"dataSource",page:"page",activity:"activity"},outputs:{onClose:"onClose"},features:[t.qOj],decls:4,vars:2,consts:[["class","details-card","fxLayout","column","fxLayoutAlign","center center","fxFlex","",4,"ngIf"],["fxLayout","column","fxFlex","",4,"ngIf"],["fxLayout","column","fxLayoutAlign","center center","fxFlex","",1,"details-card"],[1,"s-120","mb-12","select-todo-icon","hint-text"],[1,"hint-text","mat-h1","select-todo-text"],["fxLayout","column","fxFlex",""],[3,"ngClass"],["mat-icon-button","","aria-label","Example icon-button with menu icon"],[1,"fill-space"],["mat-icon-button","",3,"click"],["fxLayout","row","fxLayoutAlign","space-between","class","px-32",4,"ngIf"],["fxFlex","",3,"dataSource","page","onPageChanged","onRowSelect"],[1,"current-log"],["fxLayout","row","fxLayoutAlign","space-between",1,"px-32"],["fxLayout","column"],["mat-list-icon",""],["mat-line",""]],template:function(i,o){1&i&&(t.YNc(0,Xt,8,8,"div",0),t._uU(1,"\n\n"),t.YNc(2,kt,33,10,"div",1),t._uU(3,"\n")),2&i&&(t.Q6J("ngIf",!o.activity),t.xp6(2),t.Q6J("ngIf",o.activity))},dependencies:[u.mk,u.O5,g.xw,g.Wh,g.yH,B.oO,L.lW,Zt.d,z.X2,I.Hw,j.i$,j.Tg,j.Nh,wt.Ye,W,u.Ts,u.uU],styles:["activity-details{display:flex;flex:0 1 auto;flex-direction:column;position:relative;padding:0;overflow-y:hidden;-webkit-overflow-scrolling:touch;height:100%}\n"],encapsulation:2,data:{animation:q.p},changeDetection:0}),n})();const Vt=function(n){return{"current-activity-selected":n}};let b=(()=>{class n extends d.E{constructor(i,o){super(),this.irveActivityService=i,this.notificationService=o,this.activities=m.z,this.activityLogs=m.z,this.messages=[],this.activityListDatasource=new A(i),this.activityLogsListDatasource=new x(i),this.selection=new r.Ov(!1,[])}ngOnInit(){this.irveActivityService.onActivitiesChanged$.pipe(this.takeUntilComponentDestroy()).subscribe(i=>this.activities=i),this.irveActivityService.onActivityLogsChanged$.pipe(this.takeUntilComponentDestroy()).subscribe(i=>this.activityLogs=i),this.notificationService.connect().pipe(this.takeUntilComponentDestroy()).subscribe(i=>{this.messages.push(i),console.table(this.messages),this.irveActivityService.loadActivities()})}sendMessage(){this.notificationService.send({data:"zab"})}deselectCurrentActibity(){this.selection.clear(),this.currentActivity=null}loadActivityLogs(i){i&&(this.currentActivity=i,this.selection.toggle(i),this.irveActivityService.loadActivityLogs(i.id))}}return n.\u0275fac=function(i){return new(i||n)(t.Y36(Z),t.Y36(X.m))},n.\u0275cmp=t.Xpm({type:n,selectors:[["irve-activities"]],features:[t.qOj],decls:50,vars:10,consts:[["id","irve-activities",1,"page-layout","carded","fullwidth",2,"background-color","transparent!important"],[1,"drawer-content"],[1,"center"],["fxLayout","column","fxLayoutAlign","start","fxLayout.gt-sm","column","fxLayoutAlign.gt-sm","start",1,"header","p-32"],["fxLayout","row","fxLayoutAlign","start center",1,"mt-md-0"],[1,"fill-space"],["mat-flat-button","","color","primary",1,"py-4","line-height-32",3,"click"],[1,"font-size-24"],[1,"content-card",3,"ngClass"],["fxFlexAlign","row",1,"content"],["fxFlex","",3,"dataSource","datasetResourcePage","selection","onRowSelect"],["fxFlex","",3,"activity","dataSource","page","onClose"],["position","start","mode","side",1,"left-sidebar",3,"opened"],["leftDrawer",""]],template:function(i,o){1&i&&(t.TgZ(0,"mat-drawer-container",0),t._uU(1,"\n  "),t.TgZ(2,"mat-drawer-content",1),t._uU(3,"\n\n    "),t.TgZ(4,"div",2),t._uU(5,"\n      "),t._uU(6,"\n      "),t.TgZ(7,"div",3),t._uU(8,"\n        "),t._uU(9,"\n        "),t.TgZ(10,"div",4),t._uU(11,"\n          "),t._uU(12,"\n          "),t._UZ(13,"span",5),t._uU(14,"\n          "),t.TgZ(15,"button",6),t.NdJ("click",function(){return o.sendMessage()}),t._uU(16,"\n            "),t.TgZ(17,"mat-icon",7),t._uU(18,"refresh"),t.qZA(),t._uU(19,"\n          "),t.qZA(),t._uU(20,"\n        "),t.qZA(),t._uU(21,"\n        "),t._uU(22,"\n      "),t.qZA(),t._uU(23,"\n      "),t._uU(24,"\n\n      "),t._uU(25,"\n      "),t.TgZ(26,"div",8),t._uU(27,"\n        "),t._uU(28,"\n        "),t.TgZ(29,"div",9),t._uU(30,"\n          "),t.TgZ(31,"activity-list",10),t.NdJ("onRowSelect",function(v){return o.loadActivityLogs(v)}),t._uU(32,"\n          "),t.qZA(),t._uU(33,"\n\n          "),t.TgZ(34,"activity-details",11),t.NdJ("onClose",function(){return o.deselectCurrentActibity()}),t._uU(35,"\n          "),t.qZA(),t._uU(36,"\n        "),t.qZA(),t._uU(37,"\n      "),t.qZA(),t._uU(38,"\n      "),t._uU(39,"\n    "),t.qZA(),t._uU(40,"\n    "),t._uU(41,"\n  "),t.qZA(),t._uU(42,"\n\n  "),t.TgZ(43,"mat-drawer",12,13),t._uU(45,"\n    "),t._UZ(46,"activity-main-sidebar"),t._uU(47,"\n  "),t.qZA(),t._uU(48,"\n\n"),t.qZA(),t._uU(49,"\n")),2&i&&(t.xp6(26),t.Q6J("ngClass",t.VKq(8,Vt,o.currentActivity)),t.xp6(5),t.Q6J("dataSource",o.activityListDatasource)("datasetResourcePage",o.activities)("selection",o.selection),t.xp6(3),t.Q6J("activity",o.currentActivity)("dataSource",o.activityLogsListDatasource)("page",o.activityLogs),t.xp6(9),t.Q6J("opened","true"))},dependencies:[u.mk,g.xw,g.Wh,g.XD,g.yH,B.oO,L.lW,I.Hw,P.jA,P.kh,P.LW,G,Tt,Gt],styles:["#irve-activities>.mat-sidenav-content,#irve-activities>.mat-drawer-content{display:flex;flex:1 1 auto;flex-direction:row;min-height:100%;max-width:100%;height:100%}#irve-activities>.mat-sidenav-content .center,#irve-activities>.mat-drawer-content .center{padding:0!important}#irve-activities>.mat-sidenav-content .center .content-card,#irve-activities>.mat-drawer-content .center .content-card{border-radius:0!important}@media screen and (max-width: 1919px){#irve-activities>.mat-sidenav-content .center .content-card activity-list,#irve-activities>.mat-drawer-content .center .content-card activity-list{border-right:0}#irve-activities>.mat-sidenav-content .center .content-card activity-list,#irve-activities>.mat-sidenav-content .center .content-card activity-details,#irve-activities>.mat-drawer-content .center .content-card activity-list,#irve-activities>.mat-drawer-content .center .content-card activity-details{flex:1 0 100%}#irve-activities>.mat-sidenav-content .center .content-card activity-details,#irve-activities>.mat-drawer-content .center .content-card activity-details{display:none!important}#irve-activities>.mat-sidenav-content .center .content-card.current-activity-selected .content activity-list,#irve-activities>.mat-drawer-content .center .content-card.current-activity-selected .content activity-list{display:none!important}#irve-activities>.mat-sidenav-content .center .content-card.current-activity-selected .content activity-details,#irve-activities>.mat-drawer-content .center .content-card.current-activity-selected .content activity-details{display:flex!important}}#irve-activities .mat-drawer-side{border:none}#irve-activities>.left-sidebar{display:flex;flex-direction:column;width:100%;min-width:100%;overflow:hidden;border-right:1px solid}@media screen and (min-width: 960px){#irve-activities>.left-sidebar{min-width:0!important;max-width:280px!important;width:280px!important}}\n"],encapsulation:2}),n})();const Kt=[{path:"all",component:b,resolve:{activities:Z},data:{title:"Irve-activities",roles:["Manager"]}},{path:"all/:activityId",component:b,resolve:{activities:Z},data:{title:"Irve-activities",roles:["Manager"]}},{path:"type/:type",component:b,resolve:{activities:Z},data:{title:"Irve-activities",roles:["Manager"]}},{path:"type/:type/:activityId",component:b,resolve:{activities:Z},data:{title:"Irve-activities",roles:["Manager"]}},{path:"status/:status",component:b,resolve:{activities:Z},data:{title:"Irve-activities",roles:["Manager"]}},{path:"**",redirectTo:"all"}];let Wt=(()=>{class n{}return n.\u0275fac=function(i){return new(i||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[h.Bz.forChild(Kt),h.Bz]}),n})();var te=s(1226);let ee=(()=>{class n{}return n.\u0275fac=function(i){return new(i||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({providers:[te.C],imports:[e.h]}),n})(),ie=(()=>{class n{}return n.\u0275fac=function(i){return new(i||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[e.h]}),n})(),et=(()=>{class n{}return n.\u0275fac=function(i){return new(i||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[e.h]}),n})(),ne=(()=>{class n{}return n.\u0275fac=function(i){return new(i||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[e.h,et]}),n})(),oe=(()=>{class n{}return n.\u0275fac=function(i){return new(i||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({providers:[Z,X.m],imports:[e.h,Wt,ee,ie,ne,et]}),n})()}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.