PageSourceSearch

https://acafrance.org/8644.82930599680e6b80686c.js

js acafrance.org collected 2026-10-02 21:28:49 UTC 20,348 bytes, 1 lines download raw bytes

1(self.webpackChunkaca_france=self.webpackChunkaca_france||[]).push([[8644],{47621:(t,e,n)=>{"use strict";n.d(e,{G:()=>i,T:()=>s});var r=n(35366),i=function(){function t(t,e,n){this.el=t,this.vcr=e,this.renderer=n,this.dtOptions={}}return t.prototype.ngOnInit=function(){var t=this;this.dtTrigger?this.dtTrigger.subscribe(function(e){t.displayTable(e)}):this.displayTable(null)},t.prototype.ngOnDestroy=function(){this.dtTrigger&&this.dtTrigger.unsubscribe(),this.dt&&this.dt.destroy(!0)},t.prototype.displayTable=function(t){var e=this;t&&(this.dtOptions=t),this.dtInstance=new Promise(function(t,n){Promise.resolve(e.dtOptions).then(function(r){0===Object.keys(r).length&&0===$("tbody tr",e.el.nativeElement).length?n("Both the table and dtOptions cannot be empty"):setTimeout(function(){var n={rowCallback:function(t,n,i){if(r.columns){var o=r.columns;e.applyNgPipeTransform(t,o),e.applyNgRefTemplate(t,o,n)}r.rowCallback&&r.rowCallback(t,n,i)}};n=Object.assign({},r,n),e.dt=$(e.el.nativeElement).DataTable(n),t(e.dt)})})})},t.prototype.applyNgPipeTransform=function(t,e){e.filter(function(t){return t.ngPipeInstance&&!t.ngTemplateRef}).forEach(function(n){var r=n.ngPipeInstance,i=e.findIndex(function(t){return t.data===n.data}),o=t.childNodes.item(i),s=$(o).text(),a=r.transform(s);$(o).text(a)})},t.prototype.applyNgRefTemplate=function(t,e,n){var r=this;e.filter(function(t){return t.ngTemplateRef&&!t.ngPipeInstance}).forEach(function(i){var o=i.ngTemplateRef,s=o.ref,a=o.context,l=e.findIndex(function(t){return t.data===i.data}),c=t.childNodes.item(l);$(c).html("");var u=Object.assign({},a,null==a?void 0:a.userData,{adtData:n}),d=r.vcr.createEmbeddedView(s,u);r.renderer.appendChild(c,d.rootNodes[0])})},t.\u0275fac=function(e){return new(e||t)(r.Y36(r.SBq),r.Y36(r.s_b),r.Y36(r.Qsj))},t.\u0275dir=r.lG2({type:t,selectors:[["","datatable",""]],inputs:{dtOptions:"dtOptions",dtTrigger:"dtTrigger"}}),t}(),o=n(61116),s=function(){function t(){}return t.forRoot=function(){return{ngModule:t}},t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[o.ez]]}),t}()},98644:(t,e,n)=>{"use strict";n.r(e),n.d(e,{UsersModule:()=>$});var r=n(61116),i=n(20766),o=n(35366);let s=(()=>{class t{constructor(){}ngOnInit(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=o.Xpm({type:t,selectors:[["app-users"]],decls:1,vars:0,template:function(t,e){1&t&&o._UZ(0,"router-outlet")},directives:[i.lC],styles:[""]}),t})();var a=n(16304),l=n(31041),c=n(529),u=n(50799),d=n(42693),p=n(63589),m=n(75379),g=n(77307);function f(t,e){if(1&t&&o._UZ(0,"input",29),2&t){const t=o.oxw().$implicit;o.s9C("formControlName",t.formControlName),o.s9C("type",t.type),o.s9C("placeholder",t.placeHolder)}}function h(t,e){if(1&t&&o._UZ(0,"input",29),2&t){const t=o.oxw().$implicit,e=o.oxw();o.s9C("formControlName",t.formControlName),o.s9C("placeholder",t.placeHolder),o.Q6J("type",e.isView?"text":"password")}}function A(t,e){if(1&t){const t=o.EpF();o.TgZ(0,"i",30),o.NdJ("click",function(){o.CHM(t);const e=o.oxw(2);return e.isView=!e.isView}),o.qZA()}}function T(t,e){if(1&t&&(o.TgZ(0,"option",35),o._uU(1),o.qZA()),2&t){const t=e.$implicit;o.s9C("value",t.ID),o.xp6(1),o.hij(" ",t.LABEL," ")}}function Z(t,e){if(1&t&&(o.ynx(0),o.TgZ(1,"select",31),o.TgZ(2,"option",32),o._uU(3),o.qZA(),o.YNc(4,T,2,2,"option",33),o.TgZ(5,"option",34),o._uU(6,"Autres"),o.qZA(),o.qZA(),o.BQk()),2&t){const t=o.oxw().$implicit,e=o.oxw();o.xp6(1),o.s9C("formControlName",t.formControlName),o.xp6(2),o.hij(" ",t.placeHolder," "),o.xp6(1),o.Q6J("ngForOf",e.options[t.formControlName])}}function E(t,e){if(1&t&&(o.TgZ(0,"em",36),o._uU(1),o.qZA()),2&t){const t=o.oxw().$implicit;o.xp6(1),o.Oqu(t.errorMsg)}}function I(t,e){if(1&t){const t=o.EpF();o.TgZ(0,"div",37),o.TgZ(1,"span",38),o.NdJ("click",function(){return o.CHM(t),o.oxw(2).generateP()}),o._uU(2,"G\xe9n\xe9rer un mot de passe"),o.qZA(),o.qZA()}}function N(t,e){1&t&&o._UZ(0,"hr")}function b(t,e){if(1&t&&(o.TgZ(0,"div"),o.TgZ(1,"div",23),o.TgZ(2,"label",24),o._UZ(3,"i"),o._uU(4),o.qZA(),o.YNc(5,f,1,3,"input",25),o.YNc(6,h,1,3,"input",25),o.YNc(7,A,1,0,"i",26),o.YNc(8,Z,7,3,"ng-container",27),o.qZA(),o.YNc(9,E,2,1,"em",11),o.YNc(10,I,3,0,"div",28),o.YNc(11,N,1,0,"hr",27),o.qZA()),2&t){const t=e.$implicit,n=e.index,r=o.oxw();o.xp6(3),o.Gre("fas ",t.icon," fa-lg me-3"),o.xp6(1),o.Oqu(t.placeHolder),o.xp6(1),o.Q6J("ngIf","text"==t.type),o.xp6(1),o.Q6J("ngIf","password"==t.type),o.xp6(1),o.Q6J("ngIf","password"==t.type),o.xp6(1),o.Q6J("ngIf","password"!==t.type&&"text"!==t.type),o.xp6(1),o.Q6J("ngIf","INVALID"==r.signFormAdmin.controls[t.formControlName].status&&r.signFormAdmin.controls[t.formControlName].touched),o.xp6(1),o.Q6J("ngIf",1==n),o.xp6(1),o.Q6J("ngIf",1==n)}}function x(t,e){1&t&&(o.TgZ(0,"div",12),o._UZ(1,"i",14),o._UZ(2,"input",39),o.qZA())}function v(t,e){1&t&&(o.TgZ(0,"em",36),o._uU(1,"Merci de renseigner un \xe9tablissement"),o.qZA())}function _(t,e){if(1&t){const t=o.EpF();o.ynx(0),o.TgZ(1,"p",41),o.TgZ(2,"span"),o._UZ(3,"i",42),o._uU(4),o.qZA(),o.TgZ(5,"i",43),o.NdJ("click",function(){const e=o.CHM(t).$implicit;return o.oxw(2).updateDroit(e)}),o.qZA(),o.qZA(),o._UZ(6,"hr",44),o.BQk()}if(2&t){const t=e.$implicit;o.xp6(1),o.Q6J("ngClass",t.can.CanRead?"text-success fw-bold":"text-danger"),o.xp6(2),o.Gre("fa ",t.page.icon," me-3"),o.xp6(1),o.Oqu(t.page.name),o.xp6(1),o.Q6J("ngClass",t.can.CanRead?"fa-eye ":"fa-eye-slash")}}
1function y(t,e){if(1&t&&(o.ynx(0),o.TgZ(1,"p",40),o._uU(2),o.qZA(),o.YNc(3,_,7,6,"ng-container",9),o.BQk()),2&t){const t=e.$implicit;o.xp6(2),o.hij(" ",t.folderName," "),o.xp6(1),o.Q6J("ngForOf",t.pages)}}let S=(()=>{class t{constructor(t,e,n,r,i,o){this.router=t,this.route=e,this.formBuilder=n,this.http=r,this.aas=i,this._snackBar=o,this.isView=!1,this.labelForm=U,this.options={},this.error="",this.labelAdhesion=[{placeHolder:"Num\xe9ro membre",formControlName:"NUMBER"}]}getUserById(){this.http.get(`${c.N.urlApi}/v1/users/${this.idUser}`).subscribe(t=>{this.user=t,this.signFormAdmin.patchValue(this.user),this.getAdhesionByUser()})}getAdhesionByUser(){this.http.get(`${c.N.urlApi}/v1/adhesion/${this.idUser}/ID_USER`).subscribe(t=>{this.adhesion=t,console.log(this.adhesion),0==this.adhesion.length&&(this.adhesion=void 0)})}updateUser(t,e){var n=this;let r={};t.length>0?r[t]=e:r=this.signFormAdmin.value,this.http.put(`${c.N.urlApi}/v1/users/${this.idUser}`,r).toPromise().then(function(){var t=(0,a.Z)(function*(t){n.router.navigate(["/admin/settings/users/list"])});return function(e){return t.apply(this,arguments)}}())}creatUser(){let t=this.signFormAdmin.value;t.LOGIN=t.MAIL,t.ID_ETABLISSEMENT=parseInt(t.ID_ETABLISSEMENT),-1==t.ID_ETABLISSEMENT&&(t.ID_ETABLISSEMENT=null),t.ID_PAYS=parseInt(t.ID_PAYS),this.http.post(`${c.N.urlApi}/v1/users`,t).subscribe(t=>{this.router.navigate(["/admin/settings/users/list"])},t=>{t.error&&(this.error=t.error.error)})}generateP(){var t,e=Math.random().toString(36).slice(2)+Math.random().toString(36).toUpperCase().slice(2);null===(t=this.signFormAdmin.get("PASSWORD"))||void 0===t||t.patchValue(e)}submit(){this.signFormAdmin.value.LOGIN=this.signFormAdmin.value.MAIL,"VALID"==this.signFormAdmin.status&&(-1==this.signFormAdmin.value.ID_ETABLISSEMENT&&(this.signFormAdmin.value.ID_ETABLISSEMENT=null),0==this.idUser?this.creatUser():this.updateUser("",!1))}initForm(){this.signFormAdmin=this.formBuilder.group({LOGIN:[""],MAIL:["",l.kI.compose([l.kI.required,l.kI.email])],FIRSTNAME:["",l.kI.compose([l.kI.required,l.kI.minLength(1)])],LASTNAME:["",l.kI.compose([l.kI.required,l.kI.minLength(1)])],PASSWORD:["",l.kI.compose([l.kI.required,l.kI.minLength(7)])],ADRESSE:[""],VILLE:[""],CODE_POSTAL:[""],ID_PAYS:[0],FONCTION:[""],TELEPHONE:[""],FIXE_PHONE:[""],MOBILE:[""],ID_ETABLISSEMENT:[-1],ETABLISSEMENT_AUTRE:[null],IS_REFERENT:[""],IS_ABONNE:[""],ID_ROLE:[1]})}loadEtablissement(){this.http.get(`${c.N.urlApi}/v1/etablissement`).subscribe(t=>{this.options.ID_ETABLISSEMENT=t})}loadCountry(){this.http.get(`${c.N.urlApi}/v1/country`).subscribe(t=>{this.options.ID_PAYS=t})}updateDroit(t){var e=this;return(0,a.Z)(function*(){let n=t.can;if(n){let r={idPage:t.page.idPage,can:{CanCreate:!n.CanCreate,CanDelete:!n.CanDelete,CanRead:!n.CanRead,CanUpdate:!n.CanUpdate}};(yield e.aas.updateRight(e.idUser,r)).subscribe(function(){var n=(0,a.Z)(function*(n){n?(t.can.CanRead=!t.can.CanRead,e._snackBar.open("enregistr\xe9","\ud83d\udc9a",{duration:2e3})):e._snackBar.open("erreur","!",{duration:2e3})});return function(t){return n.apply(this,arguments)}}())}})()}ngOnInit(){var t=this;return(0,a.Z)(function*(){t.initForm(),t.loadCountry(),t.loadEtablissement(),t.route.params.subscribe(function(){var e=(0,a.Z)(function*(e){var n,r;t.idUser=e.id,0==e.id?(null===(n=t.signFormAdmin.get("LOGIN"))||void 0===n||n.patchValue(""),null===(r=t.signFormAdmin.get("PASSWORD"))||void 0===r||r.patchValue("")):(t.getUserById(),t.rights$=yield t.aas.loadRight(t.idUser))});return function(t){return e.apply(this,arguments)}}())})()}}return t.\u0275fac=function(e){return new(e||t)(o.Y36(i.F0),o.Y36(i.gz),o.Y36(l.qu),o.Y36(d.eN),o.Y36(u.Y),o.Y36(p.ux))},t.\u0275cmp=o.Xpm({type:t,selectors:[["app-edit"]],decls:40,vars:9,consts:[[1,"d-flex","align-items-center","justify-content-between","mt-3","mb-5"],[1,"text-center"],[2,"visibility","hidden"],[1,"row",3,"formGroup"],[1,"text-danger","text-center"],[1,"col-12","col-md-7"],[1,"card-edit","bg-white"],[1,"card-title"],[1,"container","p-5","pt-4"],[4,"ngFor","ngForOf"],["class","d-flex align-items-center",4,"ngIf"],["class","text-danger",4,"ngIf"],[1,"d-flex","align-items-center"],[1,"form-check-label","me-3"],[1,"fas","fa-building","fa-lg","me-3"],["formControlName","IS_REFERENT","type","checkbox",1,"form-check-input"],[1,"d-flex","align-items-center","mt-3"],[1,"fas","fa-address-card","me-3"],["formControlName","IS_ABONNE","type","checkbox",1,"form-check-input"],[1,"col-12","col-md-5"],[1,"container","p-5","py-3"],[1,"col-12","text-center","my-3"],["type","submit",1,"btn","btn-primary","mx-3",3,"click"],[1,"d-flex","align-items-center","position-relative"],[1,"form-label","w-25"],["class","form-control my-2",3,"formControlName","type","placeholder",4,"ngIf"],["class","fas fa-eye position-absolute top-50 end-0 translate-middle","type","button",3,"click",4,"ngIf"],[4,"ngIf"],["class","d-flex",4,"ngIf"],[1,"form-control","my-2",3,"formControlName","type","placeholder"],["type","button",1,"fas","fa-eye","position-absolute","top-50","end-0","translate-middle",3,"click"],[1,"form-control","my-3",3,"formControlName"],["readonly","","selected","","hidden","","value","-1"],[3,"value",4,"ngFor","ngForOf"],["value","null"],[3,"value"],[1,"text-danger"],[1,"d-flex"],["type","button",1,"badge","bg-light","text-dark","ms-auto",3,"click"],["formControlName","ETABLISSEMENT_AUTRE","type","text","placeholder","Etablissement Autre",1,"form-control"],[1,"mb-1","mt-3"],[1,"mb-0","ms-5","d-flex",3,"ngClass"],["aria-hidden","true","role","button"],["aria-hidden","true","role","button",1,"fa","ms-auto",3,"ngClass","click"],[2,"margin","6px"]],template:function(t,e){1&t&&(o.TgZ(0,"div",0),o._UZ(1,"app-btn-retour"),o.TgZ(2,"h2",1),o._uU(3),o.qZA(),o._UZ(4,"button",2),o.qZA(),o.TgZ(5,"form",3),o.TgZ(6,"strong",4),o._uU(7),o.qZA(),o.TgZ(8,"div",5),o.TgZ(9,"div",6),o.TgZ(10,"h5",7),o.TgZ(11,"mat-icon"),o._uU(12,"information"),o.qZA(),o._uU(13," Info compte utilisateur "),o.qZA(),o.TgZ(14,"div",8),o.YNc(15,b,12,11,"div",9),o.YNc(16,x,3,0,"div",10),o.YNc(17,v,2,0,"em",11),o.TgZ(18,"div",12),o.TgZ(19,"label",13),o._UZ(20,"i",14),o._uU(21,"R\xe9f\xe9rent"),o.qZA(),o._UZ(22,"input",15),o.qZA(),o.TgZ(23,"div",16),o.TgZ(24,"label",13),o._UZ(25,"i",17),o._uU(26,"Abonnement"),o.qZA(),o._UZ(27,"input",18),o.qZA(),o.qZA(),o.qZA(),o.qZA(),o.TgZ(28,"div",19),o.TgZ(29,"div",6),o.TgZ(30,"h5",7),o.TgZ(31,"mat-icon"),o._uU(32,"information"),o.qZA(),o._uU(33," Droits de gestion "),o.qZA(),o.TgZ(34,"div",20),o.YNc(35,y,4,2,"ng-container",9),o.ALo(36,"async"),o.qZA(),o.qZA(),o.qZA(),o.TgZ(37,"div",21),o.TgZ(38,"button",22),o.NdJ("click",function(){return e.submit()}),o._uU(39," Enregistrer "),o.qZA(),o.qZA(),o.qZA()),2&t&&(o.xp6(3),o.hij(" ",0==e.idUser?"Ajouter un admin":"Editer un admin"," "),o.xp6(2),o.Q6J("formGroup",e.signFormAdmin),o.xp6(2),o.Oqu(e.error),o.xp6(8),o.Q6J("ngForOf",e.labelForm),o.xp6(1),o.Q6J("ngIf","null"==e.signFormAdmin.value.ID_ETABLISSEMENT),o.xp6(1),o.Q6J("ngIf","null"==e.signFormAdmin.value.ID_ETABLISSEMENT&&""==e.signFormAdmin.value.
1ETABLISSEMENT_AUTRE&&e.signFormAdmin.controls.ETABLISSEMENT_AUTRE.touched),o.xp6(18),o.Q6J("ngForOf",o.lcZ(36,7,e.rights$)))},directives:[m.z,l._Y,l.JL,l.sg,g.Hw,r.sg,r.O5,l.Wl,l.JJ,l.u,l.Fj,l.EJ,l.YN,l.Kr,r.mk],pipes:[r.Ov],styles:[""]}),t})();const U=[{type:"text",placeHolder:"Adresse mail *",formControlName:"MAIL",icon:"fa-user",errorMsg:"Merci de renseigner une adresse mail inutilis\xe9e valide"},{type:"password",placeHolder:"Mot de passe *",formControlName:"PASSWORD",icon:"fa-key",errorMsg:"Merci de renseigner un mot de passe de minimum 7 caract\xe8res"},{type:"text",placeHolder:"Nom *",formControlName:"LASTNAME",icon:"fa-user",errorMsg:"Merci de renseigner un nom"},{type:"text",placeHolder:"Pr\xe9nom *",formControlName:"FIRSTNAME",icon:"fa-user",errorMsg:"Merci de renseigner pr\xe9nom"},{type:"text",placeHolder:"Fonction",formControlName:"FONCTION",icon:"fa-user"},{type:"text",placeHolder:"Adresse",formControlName:"ADRESSE",icon:"fa-address-card",errorMsg:"Merci de renseigner une adresse"},{type:"text",placeHolder:"Ville",formControlName:"VILLE",icon:"fa-address-card",errorMsg:"Merci de renseigner une ville"},{type:"text",placeHolder:"Code Postal",formControlName:"CODE_POSTAL",icon:"fa-address-card",errorMsg:"Merci de renseigner un code postal"},{type:"select",placeHolder:"Pays",formControlName:"ID_PAYS",icon:"fa-address-card"},{type:"text",placeHolder:"T\xe9l\xe9phone",formControlName:"TELEPHONE",icon:"fa-phone"},{type:"text",placeHolder:"T\xe9l\xe9phone fixe",formControlName:"FIXE_PHONE",icon:"fa-phone"},{type:"text",placeHolder:"Mobile",formControlName:"MOBILE",icon:"fa-phone"},{type:"select",placeHolder:"Etablissement",formControlName:"ID_ETABLISSEMENT",icon:"fa-building"}];var C=n(47621),L=n(55959),q=n(84369),M=n(22797),k=n(92762),F=n(24311);const O=function(t){return[t]};function R(t,e){if(1&t){const t=o.EpF();o.TgZ(0,"tr",5),o.TgZ(1,"td"),o.TgZ(2,"a",6),o._UZ(3,"i",7),o.qZA(),o.TgZ(4,"span",8),o._uU(5),o.qZA(),o.qZA(),o.TgZ(6,"td",8),o._uU(7),o.qZA(),o.TgZ(8,"td",8),o._uU(9),o.qZA(),o.TgZ(10,"td"),o.TgZ(11,"mat-button-toggle-group",9),o.TgZ(12,"mat-button-toggle",10),o.NdJ("click",function(){const e=o.CHM(t).$implicit;return o.oxw().updateUser(e.ID_USER,"PUBLIER",!0)}),o._UZ(13,"i",11),o.qZA(),o.TgZ(14,"mat-button-toggle",12),o.NdJ("click",function(){const e=o.CHM(t).$implicit;return o.oxw().updateUser(e.ID_USER,"PUBLIER",!1)}),o._UZ(15,"i",13),o.qZA(),o.qZA(),o.qZA(),o.qZA()}if(2&t){const t=e.$implicit;o.xp6(2),o.MGl("href","mailto:",t.MAIL,"",o.LSH),o.xp6(2),o.Q6J("routerLink",o.VKq(8,O,"edit/"+t.ID_USER)),o.xp6(1),o.hij(" ",t.MAIL," "),o.xp6(1),o.Q6J("routerLink",o.VKq(10,O,"edit/"+t.ID_USER)),o.xp6(1),o.Oqu(t.FIRSTNAME),o.xp6(1),o.Q6J("routerLink",o.VKq(12,O,"edit/"+t.ID_USER)),o.xp6(1),o.Oqu(t.LASTNAME),o.xp6(2),o.s9C("value",t.PUBLIER)}}const w=function(){return["edit/0"]},B=[{path:"",component:s,children:[{path:"",redirectTo:"list"},{path:"list",component:(()=>{class t{constructor(t,e,n,r){this.route=t,this.router=e,this.http=n,this.fb=r,this.users=[],this.usersF=[],this.options={ID_ETABLISSEMENT:[]},this.dtTrigger=new L.xQ,this.dtOptions={},this.dtInitialized=!1}updateUser(t,e,n){var r=this;let i={};i[e]=n,this.http.put(`${c.N.urlApi}/v1/users/${t}`,i).toPromise().then(function(){var t=(0,a.Z)(function*(t){yield r.loadUsers()});return function(e){return t.apply(this,arguments)}}())}loadUsers(){this.dtOptions={order:[],retrieve:!0,pagingType:"full_numbers",pageLength:10,searching:!0,language:{lengthMenu:"",zeroRecords:"Aucun enregistrement",info:"Enregistrements _START_ \xe0 _END_ sur _TOTAL_",infoEmpty:"Aucun enregistrement",paginate:{first:"<<",last:">>",next:">",previous:"<"}}},this.http.get(`${c.N.urlApi}/v1/users`).toPromise().then(t=>{this.users=t.filter(t=>1==t.ID_ROLE),this.searchForm()}).catch(t=>{console.log(t)})}searchForm(){let t=this.users,e=this.formSearch.value;[!0,!1].includes(e.PUBLIER)&&(t=t.filter(t=>t.PUBLIER==e.PUBLIER)),t=t.filter(t=>t.FIRSTNAME.toLowerCase().includes(e.FIRSTNAME.toLowerCase())),t=t.filter(t=>t.LASTNAME.toLowerCase().includes(e.LASTNAME.toLowerCase())),t=t.filter(t=>t.MAIL.toLowerCase().includes(e.MAIL.toLowerCase())),this.usersF=t,this.dtInitialized?this.rerender():(this.dtInitialized=!0,this.dtTrigger.next())}initFormSearch(){this.loadEtablissement(),this.formSearch=this.fb.group({PUBLIER:[void 0],MAIL:[""],LASTNAME:[""],FIRSTNAME:[""],ID_ETABLISSEMENT:[void 0]}),this.loadUsers()}loadEtablissement(){this.http.get(`${c.N.urlApi}/v1/etablissement`).subscribe(t=>{this.options.ID_ETABLISSEMENT=t})}rerender(){this.dtElements&&this.dtElements.dtInstance.then(t=>{t&&t.destroy(),this.dtTrigger.next()})}ngOnInit(){this.initFormSearch()}}return t.\u0275fac=function(e){return new(e||t)(o.Y36(i.gz),o.Y36(i.F0),o.Y36(d.eN),o.Y36(l.qu))},t.\u0275cmp=o.Xpm({type:t,selectors:[["app-list"]],viewQuery:function(t,e){if(1&t&&o.Gf(C.G,5),2&t){let t;o.iGM(t=o.CRH())&&(e.dtElements=t.first)}},decls:19,vars:5,consts:[[1,"d-flex","my-3","position-relative","justify-content-center"],["mat-raised-button","",1,"btn-blue","position-absolute","start-0","fw-bold",3,"routerLink"],[1,"mt-5"],["datatable","",1,"row-border","hover",3,"dtOptions","dtTrigger"],["style","cursor: pointer",4,"ngFor","ngForOf"],[2,"cursor","pointer"],[1,"text-dark",3,"href"],[1,"fas","fa-envelope"],[3,"routerLink"],["aria-label","Font Style",3,"value"],["matTooltip","Valider ","value","true",1,"TrueSelected",3,"click"],[1,"fa","fa-check","text-success"],["matTooltip","Refuser ","value","false",1,"FalseSelected",3,"click"],[1,"fa","fa-times","text-danger"]],template:function(t,e){1&t&&(o.TgZ(0,"div",0),o.TgZ(1,"button",1),o._uU(2," + Nouveau "),o.qZA(),o.TgZ(3,"h2"),o._uU(4,"Liste des administrateurs"),o.qZA(),o.qZA(),o.TgZ(5,"mat-card",2),o.TgZ(6,"table",3),o.TgZ(7,"thead"),o.TgZ(8,"tr"),o.TgZ(9,"th"),o._uU(10,"Email"),o.qZA(),o.TgZ(11,"th"),o._uU(12,"Pr\xe9nom"),o.qZA(),o.TgZ(13,"th"),o._uU(14,"Nom"),o.qZA(),o.TgZ(15,"th"),o._uU(16,"Valider"),o.qZA(),o.qZA(),o.qZA(),o.TgZ(17,"tbody"),o.YNc(18,R,16,14,"tr",4),o.qZA(),o.qZA(),o.qZA()),2&t&&(o.xp6(1),o.Q6J("routerLink",o.DdM(4,w)),o.xp6(5),o.Q6J("dtOptions",e.dtOptions)("dtTrigger",e.dtTrigger),o.xp6(12),o.Q6J("ngForOf",e.usersF))},directives:[q.lW,i.rH,M.a8,C.G,r.sg,k.A9,k.Yi,F.gM],styles:[".mat-button-toggle-label-content{line-height:2!important}  .mat-button-toggle-checked.TrueSelected{color:#fff!important;background:#198754!important}  .mat-button-toggle-checked.TrueSelected i{color:#fff!important}  .mat-button-toggle-checked.FalseSelected{color:#fff!important;background:rgba(255,0,0,.795)!important}  .mat-button-toggle-checked.FalseSelected i{color:#fff!important}"]}),t})()},{path:"edit",component:S},{path:"list/edit/:id",component:S}]}];let D=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[i.Bz.forChild(B)],i.Bz]}),t})();var P=n(28094),J=n(29282),Y=n(81417);let $=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[r.ez,D,P.q,l.UX,J.JX,C.T,Y.m]]}),t})()},75379:(t,e,n)=>{"use strict";n.d(e,{z:()=>o});var r=n(35366),i=n(61116);let o=(()=>{class t{constructor(t){this._location=t,this.text="Retour"}ngOnInit(){}goBack(){this._location.back()}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(i.Ye))},t.\u0275cmp=r.Xpm({type:t,selectors:[["app-btn-retour"]],inputs:{text:"text"},decls:3,vars:1,consts:[[1,"btn","fw-bold","opacity-75","bg-white","d-flex","align-items-center",3,"click"],[1,"fas","fa-chevron-left","me-1"]],template:function(t,e){1&t&&(r.TgZ(0,"button",0),r.NdJ("click",function(){return e.goBack()}),r._UZ(1,"i",1),r._uU(2),r.qZA()),2&t&&(r.xp6(2),r.hij(" ",e.text,"\n"))},styles:["button[_ngcontent-%COMP%]{box-shadow:0 3px 1px -2px #0003,0 2px 2px 0 #00000024,0 1px 5px 0 #0000001f}"]}),t})()}}]);

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.