PageSourceSearch

https://evpulse.netlify.app/704.4fb0b366d563520f.js

js evpulse.netlify.app collected 2026-10-03 10:43:24 UTC 16,816 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkevpulse=self.webpackChunkevpulse||[]).push([[704],{1704:(Vt,U,r)=>{r.r(U),r.d(U,{IvreDashboardModule:()=>wt});var x=r(4662),E=r(1226),p=r(591),M=r(279),l=r(7122),N=r(5154),t=r(5e3),Q=r(4555),$=r(5719),g=r(9808);let O=(()=>{class n{constructor(e,o,s,c){this._httpClient=e,this.endpoints=o,this._location=s,this.datasetResourcesService=c,this.irveRecords=l.z,this.irveErrorRecords=l.z,this.onIrveRecordsChanged$=new p.X(l.z),this.onCurrentIvreRecordChanged$=new p.X(l.z),this.onirveErrorRecordsChanged$=new p.X(l.z)}resolve(e,o){return this.routeParams=e.params,new Promise((s,c)=>{Promise.all([this.loadIRVERecords(),this.loadIRVEErrorRecords(),this.datasetResourcesService.getDatagouResources()]).then(()=>{this.routeParams.id&&this.routeParams.action?this.setCurrentIrveRecord(this.routeParams.id,this.routeParams.action):this.setCurrentIrveRecord(this.routeParams.id),s({resources:this.datasetResourcesService.datagouvResources,imported:this.irveRecords,errors:this.irveErrorRecords})}).catch(d=>{console.error("Resolving ERROR ",d),this.irveRecords=l.z,this.irveErrorRecords=l.z,this.datasetResourcesService.onDatagouvResourcesChanged$.next(l.z),this.onIrveRecordsChanged$.next(l.z),this.onirveErrorRecordsChanged$.next(l.z),s({error:d})})})}loadIRVERecords(e={}){return e=Object.assign({},M.Gx,e),console.log("IrveStaticsService.loadIRVERecords:",e),new Promise((o,s)=>{this._httpClient.get(this.endpoints.createIRVEStaticsEndpoint(e),{observe:"response"}).pipe((0,N.d)(1)).subscribe(c=>{this.irveRecords=c.body,this.irveRecords.current_page=this.irveRecords.current_page,console.log("IrveStaticsService.loadIRVERecords: Loaded",this.irveRecords),this.onIrveRecordsChanged$.next(this.irveRecords),o(this.irveRecords)},s)})}loadIRVEErrorRecords(e={}){return e.uri="/errors",e=Object.assign({},M.Gx,e),console.log("IrveStaticsService.loadIRVERecords:",e),new Promise((o,s)=>{this._httpClient.get(this.endpoints.createIRVEStaticsEndpoint(e),{observe:"response"}).pipe((0,N.d)(1)).subscribe(c=>{console.log("IrveStaticsService.loadIRVERRORRecords: Loaded",c.body),this.irveErrorRecords=c.body,this.onirveErrorRecordsChanged$.next(this.irveErrorRecords),o(this.irveErrorRecords)},s)})}setCurrentIrveRecord(e,o=null,s=["*"]){if(e){const c=this.irveRecords.items.find(d=>d.id==e);this._location.go("irve-statics/"+e+"/"+o),this.createEpulsEvent({action:o,data:c,tags:s})}else this._location.go("irve-statics/"),this.createEpulsEvent(null)}createEpulsEvent(e){this.onCurrentIvreRecordChanged$.next(e)}}return n.\u0275fac=function(e){return new(e||n)(t.LFG(Q.E),t.LFG($.n),t.LFG(g.Ye),t.LFG(E.C))},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();var H=r(3477),j=r(1957),v=(r(3075),r(6087),r(4847),r(8929),r(7625)),f=(r(449),r(6787),r(5254),r(1086)),y=(r(7545),r(7221),r(4850)),w=(r(537),r(1275)),C=r(325),I=r(7093),V=r(7423),z=(r(7446),r(4834),r(7322),r(5245));r(2181),r(508),r(2075),r(7238);let Et=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({providers:[E.C],imports:[x.h]}),n})();var Ot=r(9199),G=r(5113),ft=r(9296),F=r(9090),Rt=r(4963),Tt=r(8369),At=r(3055),St=r(6947),Dt=r(4394),J=r(3954),D=r(2638),Pt=r(112),Ut=r(6139),xt=r(338);const Mt=["rightDrawer"],B=function(){return{y:"100%"}},P=function(n){return{value:"*",params:n}};function Nt(n,i){if(1&n&&(t.TgZ(0,"mat-grid-tile",26),t._uU(1,"\n                "),t._UZ(2,"epuls-tile",27),t._uU(3,"\n              "),t.qZA()),2&n){const e=i.$implicit;t.Q6J("colspan",e.cols)("rowspan",e.rows)("@animate",t.VKq(6,P,t.DdM(5,B))),t.xp6(2),t.Q6J("severity",e.severity)("data",e)}}const Lt=function(){return{x:"50px"}},bt=function(){return{value:"50"}},yt=[{path:"",component:(()=>{class n extends Rt.E{constructor(e,o,s,c,d,h,_,u,R){super(u),this.route=e,this.irveStaticsService=o,this.mediaQery=s,this.sideNaveService=c,this.breakpointObserver=d,this.datasetResourcesService=h,this.snackService=_,this.backendHealthService=u,this.router=R,this.datasetListPage=l.z,this.irveRecords=l.z,this.irveErrorRecords=l.z,this.data={title:"Datasets: IRVE",mainValue:21,mainValueLabel:"Due Tasks",secondaryValue:13},this.cols=4,this.cards=(0,f.of)([]),this.isHandset$=this.mediaQery.isHandset$,this.datasetListDataSource=new Tt.A(this.datasetResourcesService),this.cards=this.breakpointObserver.observe(G.u3.Handset).pipe((0,y.U)(({matches:T})=>T?(this.cols=1,[{onClick:()=>{this.router.navigate(["/dataset"])},title:"Datasets: IRVE",mainValue:this.datasetListPage.total_elements,mainValueLabel:"Point d'Acc\xe8s National aux donn\xe9es de mobilit\xe9s",secondaryValue:"",severity:"info",cols:1,rows:1},{title:"Points de recharge ",mainValue:this.irveRecords.total_elements,mainValueLabel:"Points de recharge ",secondaryValue:13,severity:"info",cols:1,rows:1},{title:"Erreurs",mainValue:this.irveErrorRecords.total_elements,mainValueLabel:"Erreurs",secondaryValue:13,severity:"error",cols:1,rows:1},{title:"Total import",mainValue:21,mainValueLabel:"Total import ",secondaryValue:13,severity:"success",cols:1,rows:1}]):(this.cols=4,[{onClick:()=>{this.router.navigate(["/irve-statics/dataset"])},title:"Datasets: IRVE",mainValue:this.datasetListPage.total_elements,mainValueLabel:"Point d'Acc\xe8s National aux donn\xe9es de mobilit\xe9s",secondaryValue:"",severity:"info",cols:1,rows:1},{title:"Points de recharge ",mainValue:this.irveRecords.total_elements,mainValueLabel:"Points de recharge ",severity:"info",cols:1,rows:1},{title:"Erreurs",mainValue:this.irveErrorRecords.total_elements,mainValueLabel:"Erreurs",severity:"error",cols:1,rows:1},{title:"Total import",mainValue:21,mainValueLabel:"Total import ",severity:"success",cols:1,rows:1}]))),this.dataseResourceListTile={title:"Datasets IRVE",cols:this.cols>1?this.cols:1,rows:2}}ngOnInit(){super.ngOnInit(),this.route.data.pipe(this.takeUntilComponentDestroy()).subscribe(e=>{var o,s,c;e.irveRecords.error?(this.irveRecords=l.z,this.irveErrorRecords=l.z,this.datasetListPage=l.z,this.snackService.error("Une erreur est survenue lors du chargement de la liste des contacts","Recharger la page").pipe((0,v.R)(this.destroy$)).subscribe(d=>
1{this.irveStaticsService.resolve(this.route.snapshot,null)})):(this.irveRecords=null===(o=e.irveRecords)||void 0===o?void 0:o.imported,this.irveErrorRecords=null===(s=e.irveRecords)||void 0===s?void 0:s.errors,this.datasetListPage=null===(c=e.irveRecords)||void 0===c?void 0:c.resources)}),this.irveStaticsService.onCurrentIvreRecordChanged$.pipe((0,v.R)(this.destroy$)).subscribe(e=>{if(e)switch(e.action){case"delete":this.deleteContact(e.data);break;case"save":this.save(e.data);break;case"new":this.add(e.data)}}),this.irveStaticsService.onIrveRecordsChanged$.pipe((0,v.R)(this.destroy$)).subscribe(e=>{console.log("this.irveRecords = page",e),this.irveRecords=e}),this.irveStaticsService.onirveErrorRecordsChanged$.pipe((0,v.R)(this.destroy$)).subscribe(e=>{console.log("IRVE ERRORS = page",e),this.irveErrorRecords=e}),this.sideNaveService.setSidnav(F.A.IRVE_STATIC_RECORD_SIDNAV,this.rightDrawer)}onBackEndStateChanged(e){}add(e){console.log("Method not implemented.")}save(e){console.log("Method not implemented.")}deleteContact(e){console.log("Method not implemented.")}newIrveRecors(){}getDatasetLastUpdate(){var e;return` D\xe9rniere mis \xe0 jour sur le Point d'Acc\xe8s National aux donn\xe9es de mobilit\xe9s : ${w.D.dateFormat(null===(e=this.datasetListPage.items[0])||void 0===e?void 0:e.dataset_updated)}`}refreshDatasetResources(){this.datasetResourcesService.getDatagouResources().catch(e=>this.snackService.error(e.msg))}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(C.gz),t.Y36(O),t.Y36(At.h),t.Y36(F.A),t.Y36(G.Yg),t.Y36(E.C),t.Y36(St.f),t.Y36(Dt.A),t.Y36(C.F0))},n.\u0275cmp=t.Xpm({type:n,selectors:[["irve-statics"]],viewQuery:function(e,o){if(1&e&&t.Gf(Mt,7),2&e){let s;t.iGM(s=t.CRH())&&(o.rightDrawer=s.first)}},features:[t.qOj],decls:92,vars:26,consts:[["id","irve-records",1,"page-layout","carded","fullwidth",2,"background-color","transparent!important"],[1,"drawer-content"],[1,"top-bg"],[1,"center"],["fxLayout","column","fxLayoutAlign","start","fxLayout.gt-sm","column","fxLayoutAlign.gt-sm","start",1,"header","py-24"],["fxLayout","row","fxLayoutAlign","start center",1,"mt-md-0"],["fxLayout","column","fxLayoutAlign","start start"],["fxLayout","row","fxLayoutAlign","start center",1,"mat-headline","kanit-font","mb-0","mb-md-0"],["color","primary",1,"mr-8"],[1,"subtitle","secondary-text"],[1,"fill-space"],["mat-flat-button","","color","primary",1,"py-4","px-8","line-height-32",3,"click"],[1,"font-size-24"],[1,"px-8","font-size-16","text-bold"],[1,""],[1,"content"],[1,"grid-container"],["rowHeight","245px",3,"cols"],["fxLayout","row",3,"colspan","rowspan",4,"ngFor","ngForOf"],[3,"colspan","rowspan"],[3,"showSubComponent","data"],["subtitle","",1,"secondary-text","font-size-12"],[3,"dataSource","datasetResourcePage"],[1,"m-32"],["position","end",1,"right-sidebar",3,"mode","opened"],["rightDrawer",""],["fxLayout","row",3,"colspan","rowspan"],["fxFlex","",3,"severity","data"]],template:function(e,o){1&e&&(t.TgZ(0,"mat-drawer-container",0),t._uU(1,"\n  "),t.TgZ(2,"mat-drawer-content",1),t._uU(3,"\n    "),t._uU(4,"\n    "),t._UZ(5,"div",2),t._uU(6,"\n    "),t._uU(7,"\n    "),t._uU(8,"\n    "),t.TgZ(9,"div",3),t._uU(10,"\n      "),t._uU(11,"\n      "),t.TgZ(12,"div",4),t._uU(13,"\n        "),t._uU(14,"\n        "),t.TgZ(15,"div",5),t._uU(16,"\n          "),t.TgZ(17,"div",6),t._uU(18,"\n            "),t.TgZ(19,"div",7),t._uU(20,"\n              "),t.TgZ(21,"mat-icon",8),t._uU(22,"ev_station"),t.qZA(),t._uU(23,"\n              Infrastructures de Recharge pour V\xe9hicules \xc9lectriques - IRVE\n            "),t.qZA(),t._uU(24,"\n            "),t.TgZ(25,"div",9),t._uU(26,"\n              "),t.TgZ(27,"span"),t._uU(28),t.qZA(),t._uU(29,"\n            "),t.qZA(),t._uU(30,"\n          "),t.qZA(),t._uU(31,"\n          "),t._UZ(32,"span",10),t._uU(33,"\n          "),t.TgZ(34,"button",11),t.NdJ("click",function(){return o.refreshDatasetResources()}),t._uU(35,"\n            "),t.TgZ(36,"mat-icon",12),t._uU(37,"refresh"),t.qZA(),t._uU(38,"\n            "),t.TgZ(39,"span",13),t._uU(40,"Actualiser"),t.qZA(),t._uU(41,"\n          "),t.qZA(),t._uU(42,"\n        "),t.qZA(),t._uU(43,"\n        "),t._uU(44,"\n      "),t.qZA(),t._uU(45,"\n      "),t._uU(46,"\n\n      "),t._uU(47,"\n      "),t.TgZ(48,"div",14),t._uU(49,"\n        "),t.TgZ(50,"div",15),t._uU(51,"\n          "),t._uU(52,"\n\n          "),t.TgZ(53,"div",16),t._uU(54,"\n\n            "),t.TgZ(55,"mat-grid-list",17),t._uU(56,"\n              "),t._uU(57,"\n              "),t.YNc(58,Nt,4,8,"mat-grid-tile",18),t.ALo(59,"async"),t._uU(60,"\n\n              "),t._uU(61,"\n              "),t.TgZ(62,"mat-grid-tile",19),t._uU(63,"\n                "),t.TgZ(64,"epuls-tile",20),t._uU(65,"\n                  "),t.TgZ(66,"span",21),t._uU(67),t.qZA(),t._uU(68,"\n                  "),t.TgZ(69,"dataset-resources-list",22),t._uU(70,"\n                  "),t.qZA(),t._uU(71,"\n                "),t.qZA(),t._uU(72,"\n              "),t.qZA(),t._uU(73,"\n            "),t.qZA(),t._uU(74,"\n          "),t.qZA(),t._uU(75,"\n\n        "),t.qZA(),t._uU(76,"\n      "),t.qZA(),t._uU(77,"\n      "),t._UZ(78,"div",23),t._uU(79,"\n      "),t._uU(80,"\n    "),t.qZA(),t._uU(81,"\n    "),t._uU(82,"\n  "),t.qZA(),t._uU(83,"\n\n  "),t.TgZ(84,"mat-drawer",24,25),t.ALo(86,"async"),t._uU(87,"\n    "),t._UZ(88,"irve-record-editor"),t._uU(89,"\n  "),t.qZA(),t._uU(90,"\n"),t.qZA(),t._uU(91,"\n")),2&e&&(t.xp6(17),t.Q6J("@animate",t.VKq(20,P,t.DdM(19,Lt))),t.xp6(11),t.hij("",o.irveRecords.total_elements," - Points de recharge"),t.xp6(27),t.Q6J("cols",o.cols)("@animateStagger",t.DdM(22,bt)),t.xp6(3),t.Q6J("ngForOf",t.lcZ(59,15,o.cards)),t.xp6(4),t.Q6J("colspan",o.dataseResourceListTile.cols)("rowspan",o.dataseResourceListTile.rows)("@animate",t.VKq(24,P,t.DdM(23,B))),t.xp6(2),t.Q6J("showSubComponent",!0)("data",o.dataseResourceListTile),t.xp6(3),t.hij("\n                    ",o.getDatasetLastUpdate(),"\n                  "),t.xp6(2),t.Q6J("dataSource",o.datasetListDataSource)("datasetResourcePage",o.datasetListPage),t.xp6(15),t.Q6J("mode",t.lcZ(86,17,o.isHandset$)?"over":"side")("opened",!1))},dependencies:[g.sg,I.xw,I.Wh,I.yH,V.lW,J.Il,J.DX,z.Hw,D.jA,D.kh,D.LW,Pt.U,Ut.v,xt.o,g.Ov],styles:["#irve-records[_ngcontent-%COMP%]{width:100%}#irve-records[_ngcontent-%COMP%] > .mat-sidenav-content[_ngcontent-%COMP%], #irve-records[_ngcontent-%COMP%] > .mat-drawer-content[_ngcontent-%COMP%]{display:flex;flex:1 1 auto;flex-direction:row;min-height:100%;max-width:100%;height:100%}#irve-records[_ngcontent-%COMP%] >
1 .mat-sidenav-content[_ngcontent-%COMP%]   .top-bg[_ngcontent-%COMP%], #irve-records[_ngcontent-%COMP%] > .mat-drawer-content[_ngcontent-%COMP%]   .top-bg[_ngcontent-%COMP%]{position:absolute;z-index:-1;top:0;right:0;left:0;height:200px}@media screen and (max-width: 959px){#irve-records[_ngcontent-%COMP%] > .mat-sidenav-content[_ngcontent-%COMP%]   .top-bg[_ngcontent-%COMP%], #irve-records[_ngcontent-%COMP%] > .mat-drawer-content[_ngcontent-%COMP%]   .top-bg[_ngcontent-%COMP%]{height:256px}}@media screen and (max-width: 959px){#irve-records[_ngcontent-%COMP%] > .mat-sidenav-content[_ngcontent-%COMP%]   .center[_ngcontent-%COMP%], #irve-records[_ngcontent-%COMP%] > .mat-drawer-content[_ngcontent-%COMP%]   .center[_ngcontent-%COMP%]{padding-right:0}}#irve-records[_ngcontent-%COMP%] > .mat-sidenav-content[_ngcontent-%COMP%]   .center[_ngcontent-%COMP%] > .content-card[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%], #irve-records[_ngcontent-%COMP%] > .mat-drawer-content[_ngcontent-%COMP%]   .center[_ngcontent-%COMP%] > .content-card[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]{display:flex;min-height:0;flex-grow:1;overflow:auto}#irve-records[_ngcontent-%COMP%] > .mat-sidenav-content[_ngcontent-%COMP%]   .center[_ngcontent-%COMP%] > .content-card.current-shipment-selected[_ngcontent-%COMP%]   .toolbar[_ngcontent-%COMP%], #irve-records[_ngcontent-%COMP%] > .mat-drawer-content[_ngcontent-%COMP%]   .center[_ngcontent-%COMP%] > .content-card.current-shipment-selected[_ngcontent-%COMP%]   .toolbar[_ngcontent-%COMP%]{padding-left:16px!important}#irve-records[_ngcontent-%COMP%] > .mat-sidenav-content[_ngcontent-%COMP%]   .center[_ngcontent-%COMP%] > .content-card.current-shipment-selected[_ngcontent-%COMP%]   .toolbar[_ngcontent-%COMP%]   .todo-selection[_ngcontent-%COMP%], #irve-records[_ngcontent-%COMP%] > .mat-drawer-content[_ngcontent-%COMP%]   .center[_ngcontent-%COMP%] > .content-card.current-shipment-selected[_ngcontent-%COMP%]   .toolbar[_ngcontent-%COMP%]   .todo-selection[_ngcontent-%COMP%]{display:none!important}#irve-records[_ngcontent-%COMP%] > .mat-sidenav-content[_ngcontent-%COMP%]   .center[_ngcontent-%COMP%] > .content-card.current-shipment-selected[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]   shipments-list[_ngcontent-%COMP%], #irve-records[_ngcontent-%COMP%] > .mat-drawer-content[_ngcontent-%COMP%]   .center[_ngcontent-%COMP%] > .content-card.current-shipment-selected[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]   shipments-list[_ngcontent-%COMP%]{display:none!important}#irve-records[_ngcontent-%COMP%] > .mat-sidenav-content[_ngcontent-%COMP%]   .center[_ngcontent-%COMP%] > .content-card.current-shipment-selected[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]   shipment-details[_ngcontent-%COMP%], #irve-records[_ngcontent-%COMP%] > .mat-drawer-content[_ngcontent-%COMP%]   .center[_ngcontent-%COMP%] > .content-card.current-shipment-selected[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]   shipment-details[_ngcontent-%COMP%]{display:flex!important}#irve-records[_ngcontent-%COMP%]   .mat-drawer-side[_ngcontent-%COMP%]{border:none}#irve-records[_ngcontent-%COMP%] > .right-sidebar[_ngcontent-%COMP%]{display:flex;flex-direction:column;width:100%;min-width:100%;overflow:hidden;border-left:1px solid}@media screen and (min-width: 960px){#irve-records[_ngcontent-%COMP%] > .right-sidebar[_ngcontent-%COMP%]{min-width:0!important;max-width:640px!important;width:640px!important}}.grid-container[_ngcontent-%COMP%]{flex:1 100%}.dashboard-card[_ngcontent-%COMP%]{position:absolute;inset:15px}.more-button[_ngcontent-%COMP%]{position:absolute;top:5px;right:10px}.dashboard-card-content[_ngcontent-%COMP%]{text-align:center}"],data:{animation:ft.p}}),n})(),resolve:{irveRecords:O},data:{title:"IRVE-STATIC-RECORDS",roles:["Manager"]}}];let Zt=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[C.Bz.forChild(yt),C.Bz]}),n})(),wt=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({providers:[O,E.C],imports:[x.h,Ot.k,H.s,Zt,Et,j.m]}),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.