import{a as Yt}from"./chunk-Q4IDWMEP.js";import{a as Lt,b as At,c as Bt,h as Ot}from"./chunk-SW6TIOUL.js";import{a as Qt,b as Nt,c as Ht}from"./chunk-5ZQVRLBV.js";import{a as Rt}from"./chunk-DHU5XAWV.js";import{a as te}from"./chunk-I4KBB6KC.js";import{a as $,b as S}from"./chunk-VFUN7IXN.js";import{A,B as nt,m as Pt,n as Ft,o as I,p as L,q as K,r as U,s as J,t as Y,u as Z,v as X,w as tt,x as et,y as it,z as at}from"./chunk-IBM7YVRT.js";import{a as ft,d as E}from"./chunk-GLZZNBFH.js";import"./chunk-IIYQPZAL.js";import{a as Zt,c as Xt,e as ot}from"./chunk-GKVOUPXH.js";import{b as R,c as M}from"./chunk-SX3TFIJX.js";import{b as Kt,i as Ut,j as Jt,k}from"./chunk-KC6GENB3.js";import{Aa as vt,Ba as H,Ca as Ct,Da as Tt,Ea as xt,Fa as yt,Ga as wt,Ha as kt,Ia as Mt,J as jt,Ka as W,La as D,Ma as It,Na as P,O as ut,Oa as St,Pa as Et,Sa as F,Ta as Dt,X as ht,qa as _t,sa as h,va as O,wa as N,ya as gt}from"./chunk-BHGY27BE.js";import{j as pt,k as bt,o as w}from"./chunk-ZEDFMZ3B.js";import{$ as $t,$a as y,Ab as _,Jb as g,Rb as V,Sb as G,Tb as j,Ub as ct,Vb as n,Wb as u,Xb as q,Yb as Q,Zb as x,_a as o,_b as v,ha as T,ia as Wt,lb as s,nb as d,oa as mt,pa as st,tb as rt,ub as lt,vb as dt,wb as e,xb as a,yb as m,zb as f}from"./chunk-PEWEDMBK.js";var B=(()=>{let i=class i{};i.\u0275fac=function(r){return new(r||i)},i.\u0275mod=Wt({type:i}),i.\u0275inj=$t({imports:[jt,jt]});let t=i;return t})();function Ce(t,i){t&1&&(e(0,"div",33),mt(),e(1,"svg",34),m(2,"use",35),a(),st(),e(3,"strong"),n(4," Service cr\xE9\xE9 avec succ\xE8s."),a()())}function Te(t,i){if(t&1&&(e(0,"mat-option",36),n(1),a()),t&2){let l=i.$implicit;d("value",l),o(),u(l)}}var ie=(()=>{let i=class i{onSubmit(){throw new Error("Method not implemented.")}login(){throw new Error("Method not implemented.")}constructor(p,r,c){this.fb=p,this.authservice=r,this.router=c,this.hide=!0,this.tpeForm=this.fb.group({date:["",h.required],transaction:["",h.required],tpe:["",h.required],groupe:["",h.required],montant:["",h.required],telephone:["",h.required],status:["",h.required]})}ngOnInit(){this.tpeForm=this.fb.group({date:this.fb.control(""),transaction:this.fb.control(""),tpe:this.fb.control(""),groupe:this.fb.control(""),montant:this.fb.control(""),telephone:this.fb.control(""),status:this.fb.control("")})}};i.\u0275fac=function(r){return new(r||i)(y(W),y(Yt),y(Jt))},i.\u0275cmp=T({type:i,selectors:[["bgui-create-tpe"]],standalone:!0,features:[Q([ut()]),x],decls:67,vars:4,consts:[[1,"content","sm-gutter"],[1,"page-title","mb-20"],[2,"margin-bottom","25px"],[1,"row"],["class","alert alert-success custom-alert","role","alert",4,"ngIf"],[1,"col-md-12","col-vlg-12","m-b-10"],[1,"row-fluid"],[1,"span12"],[1,"grid","simple"],[1,"card"],[1,"card-title"],[1,"card-body","m-3"],[1,"login-container"],[1,"example-form",3,"formGroup","ngSubmit"],[1,"form-row"],["appearance","outline",1,"example-full-width"],["required","","matInput","",3,"matDatepicker"],["hidden","true"],["matIconSuffix","",3,"for"],["picker",""],["required","","matInput","","placeholder","Transaction","formControlName","transaction"],["required","","matInput","","placeholder","TPE","formControlName","tpe"],["required","","matInput","","placeholder","Groupe","formControlName","groupe"],["required","","matInput","","type","number","placeholder","Montant","formControlName","montant"],["required","","matInput","","placeholder","T\xE9l\xE9phone","formControlName","telephone"],["required",""],[1,"form-actions"],["mat-raised-button","","color","","type","submit","routerLink","/tpe/view-tpe"],[1,"fa","fa-arrow-left","m-1"],["mat-raised-button","","color","primary","type","submit"],[1,"fa","fa-save","m-1"],["mat-raised-button","","color","danger","routerLink","/tpe/view-tpe","type","submit"],[1,"fa","fa-times","m-1"],["role","alert",1,"alert","alert-success","custom-alert"],["width","20","height","10","role","img","aria-label","Success:",1,"bi","flex-shrink-0","me-1"],[0,"xlink","href","#check-circle-fill"],[3,"value"]],template:function(r,c){if(r&1&&(e(0,"div",0)(1,"div",1)(2,"h4",2),n(3,"Ajouter un Tpe"),a()(),e(4,"div",3),s(5,Ce,5,0,"div",4),e(6,"div",5)(7,"div",6)(8,"div",7)(9,"div",8)(10,"div",9)(11,"div",10)(12,"div",11)(13,"mat-dialog-content",12)(14,"form",13),g("ngSubmit",function(){return c.onSubmit()}),e(15,"div",14)(16,"mat-form-field",15)(17,"mat-label"),n(18,"date"),a(),m(19,"input",16),e(20,"mat-hint",17),n(21,"dd/MM/yyyy"),a(),m(22,"mat-datepicker-toggle",18)(23,"mat-datepicker",null,19),a(),e(25,"mat-form-field",15),m(26,"input",20),e(27,"mat-label"),n(28,"Transaction"),a()()(),e(29,"div",14)(30,"mat-form-field",15),m(31,"input",21),e(32,"mat-label"),n(33,"TPE"),a()(),e(34,"mat-form-field",15),m(35,"input",22),e(36,"mat-label"),n(37,"Groupe"),a()()(),e(38,"div",14)(39,"mat-form-field",15),m(40,"input",23),e(41,"mat-label"),n(42,"Montant"),a()(),e(43,"mat-form-field",15),m(44,"input",24),e(45,"mat-label"),n(46,"T\xE9l\xE9phone"),a()()(),e(47,"mat-form-field",15)(48,"mat-label"),n(49,"Status"),a(),e(50,"mat-select",25)(51,"mat-option"),n(52,"None"),a(),lt(53,Te,2,2,"mat-option",36,rt),a()(),e(55,"div",26)(56,"button",27),n(57," Retour"),m(58,"i",28),a(),e(59,"div",26)(60,"button",29),n(61," Enregistrer"),m(62,"i",30),a()(),e(63,"div",26)(64,"button",31),n(65," Annuler"),m(66,"i",32),a()()()()()()()()()()()()()()),r&2){let b=ct(24);o(5),d("ngIf",c.showAlert),o(9),d("formGroup",c.tpeForm),o(5),d("matDatepicker",b),o(3),d("for",b),o(31),dt(c.status)}},dependencies:[w,bt,E,ft,S,B,A,M,R,F,P,St,Et,k,D,H,_t,Ct,O,N,Mt,ot,L,Ht,Nt,It,Tt,xt,Dt,Ft,Pt,ht,Ot,Lt,At,Bt],styles:[".login-container[_ngcontent-%COMP%]{width:100%;max-width:600px;margin:0 auto}.example-form[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:16px}.form-row[_ngcontent-%COMP%]{display:flex;gap:16px}.form-row[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%]{flex:1}.form-actions[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center}"]});let t=i;return t})();function xe(t,i){t&1&&(e(0,"div",33),mt(),e(1,"svg",34),m(2,"use",35),a(),st(),e(3,"strong"),n(4," Service cr\xE9\xE9 avec succ\xE8s."),a()())}function ye(t,i){if(t&1&&(e(0,"mat-option",36),n(1),a()),t&2){let l=i.$implicit;d("value",l),o(),u(l)}}var ae=(()=>{let i=class i{onSubmit(){throw new Error("Method not implemented.")}login(){throw new Error("Method not implemented.")}constructor(p){this.fb=p,this.hide=!0,this.tpeForm=this.fb.group({date:["",h.required],transaction:["",h.required],tpe:["",h.required],groupe:["",h.required],montant:["",h.required],telephone:["",h.required],status:["",h.required]})}ngOnInit(){this.tpeForm=this.fb.group({date:this.fb.control(""),transaction:this.fb.control(""),tpe:this.fb.control(""),groupe:this.fb.control(""),montant:this.fb.control(""),telephone:this.fb.control(""),status:this.fb.control("")})}};i.\u0275fac=function(r){return new(r||i)(y(W))},i.\u0275cmp=T({type:i,selectors:[["bgui-edit-tpe"]],standalone:!0,features:[Q([ut()]),x],decls:67,vars:4,consts:[[1,"content","sm-gutter"],[1,"page-title","mb-20"],[2,"margin-bottom","25px"],[1,"row"],["class","alert alert-success custom-alert","role","alert",4,"ngIf"],[1,"col-md-12","col-vlg-12","m-b-10"],[1,"row-fluid"],[1,"span12"],[1,"grid","simple"],[1,"card"],[1,"card-title"],[1,"card-body","m-3"],[1,"login-container"],[1,"example-form",3,"formGroup","ngSubmit"],[1,"form-row"],["appearance","outline",1,"example-full-width"],["required","","matInput","",3,"matDatepicker"],["hidden","true"],["matIconSuffix","",3,"for"],["picker",""],["required","","matInput","","placeholder","Transaction","formControlName","transaction"],["required","","matInput","","placeholder","TPE","formControlName","tpe"],["required","","matInput","","placeholder","Groupe","formControlName","groupe"],["required","","matInput","","type","number","placeholder","Montant","formControlName","montant"],["required","","matInput","","placeholder","T\xE9l\xE9phone","formControlName","telephone"],["required",""],[1,"form-actions"],["mat-raised-button","","color","","type","submit","routerLink","/tpe/view-tpe"],[1,"fa","fa-arrow-left","m-1"],["mat-raised-button","","color","primary","type","submit"],[1,"fa","fa-save","m-1"],["mat-raised-button","","color","danger","routerLink","/tpe/view-tpe","type","submit"],[1,"fa","fa-times","m-1"],["role","alert",1,"alert","alert-success","custom-alert"],["width","20","height","10","role","img","aria-label","Success:",1,"bi","flex-shrink-0","me-1"],[0,"xlink","href","#check-circle-fill"],[3,"value"]],template:function(r,c){if(r&1&&(e(0,"div",0)(1,"div",1)(2,"h4",2),n(3,"Ajouter un Tpe"),a()(),e(4,"div",3),s(5,xe,5,0,"div",4),e(6,"div",5)(7,"div",6)(8,"div",7)(9,"div",8)(10,"div",9)(11,"div",10)(12,"div",11)(13,"mat-dialog-content",12)(14,"form",13),g("ngSubmit",function(){return c.onSubmit()}),e(15,"div",14)(16,"mat-form-field",15)(17,"mat-label"),n(18,"date"),a(),m(19,"input",16),e(20,"mat-hint",17),n(21,"dd/MM/yyyy"),a(),m(22,"mat-datepicker-toggle",18)(23,"mat-datepicker",null,19),a(),e(25,"mat-form-field",15),m(26,"input",20),e(27,"mat-label"),n(28,"Transaction"),a()()(),e(29,"div",14)(30,"mat-form-field",15),m(31,"input",21),e(32,"mat-label"),n(33,"TPE"),a()(),e(34,"mat-form-field",15),m(35,"input",22),e(36,"mat-label"),n(37,"Groupe"),a()()(),e(38,"div",14)(39,"mat-form-field",15),m(40,"input",23),e(41,"mat-label"),n(42,"Montant"),a()(),e(43,"mat-form-field",15),m(44,"input",24),e(45,"mat-label"),n(46,"T\xE9l\xE9phone"),a()()(),e(47,"mat-form-field",15)(48,"mat-label"),n(49,"Status"),a(),e(50,"mat-select",25)(51,"mat-option"),n(52,"None"),a(),lt(53,ye,2,2,"mat-option",36,rt),a()(),e(55,"div",26)(56,"button",27),n(57," Retour"),m(58,"i",28),a(),e(59,"div",26)(60,"button",29),n(61," Enregistrer"),m(62,"i",30),a()(),e(63,"div",26)(64,"button",31),n(65," Annuler"),m(66,"i",32),a()()()()()()()()()()()()()()),r&2){let b=ct(24);o(5),d("ngIf",c.showAlert),o(9),d("formGroup",c.tpeForm),o(5),d("matDatepicker",b),o(3),d("for",b),o(31),dt(c.status)}},dependencies:[w,bt,E,ft,S,B,A,M,R,F,P,St,Et,k,D,H,_t,Ct,O,N,Mt,ot,L,Ht,Nt,It,Tt,xt,Dt,Ft,Pt,ht,Ot,Lt,At,Bt]});let t=i;return t})();var we=()=>["/tpe/view-tpe"],ne=(()=>{let i=class i{};i.\u0275fac=function(r){return new(r||i)},i.\u0275cmp=T({type:i,selectors:[["bgui-tpe"]],standalone:!0,features:[Q([Rt]),x],decls:12,vars:2,consts:[[1,"card-body","mb-4"],[1,"row"],[1,"col-md-2"],[1,"d-flex","justify-content-between","align-items-center",2,"color","white"],["aria-label","breadcrumb"],[1,"breadcrumb"],[1,"breadcrumb-item"],["href","#",3,"routerLink"],[1,"w-100"]],template:function(r,c){r&1&&(e(0,"div",0)(1,"div",1),m(2,"div",2),e(3,"div",3)(4,"nav",4)(5,"ol",5)(6,"li",6)(7,"a",7),n(8,"Tpe"),a()()()()()()(),e(9,"mat-card",8)(10,"mat-card-content"),m(11,"router-outlet"),a()()),r&2&&(o(7),d("routerLink",v(1,we)))},dependencies:[w,M,ot,Zt,Xt,Ut,k],styles:[".card[_ngcontent-%COMP%]{border-radius:0!important;background-color:#ffffff61}.text[_ngcontent-%COMP%], .bold-text[_ngcontent-%COMP%]{color:#000;font-weight:700;font-size:16px}.col-md-2[_ngcontent-%COMP%]{flex:0 0 auto;width:33%!important}button[_ngcontent-%COMP%], a[_ngcontent-%COMP%]{border-radius:0!important}.example-form[_ngcontent-%COMP%]{width:500%;max-width:1000px;margin:auto}.example-full-width[_ngcontent-%COMP%]{width:100%}.form-group-width[_ngcontent-%COMP%]{max-width:800px}.group-width[_ngcontent-%COMP%]{max-width:400px}.card-body[_ngcontent-%COMP%]{background-color:#edeff7;height:50px;align-content:center;margin-right:10px!important}"]});let t=i;return t})();function ke(t,i){if(t&1&&(e(0,"option",44),n(1),a()),t&2){let l=i.$implicit;d("ngValue",l),o(),q(" ",l.code," ")}}function Me(t,i){if(t&1&&(e(0,"option",44),n(1),a()),t&2){let l=i.$implicit;d("ngValue",l),o(),q(" ",l.nom_service," ")}}function Ie(t,i){t&1&&(e(0,"mat-header-cell",45),n(1,"Date"),a())}function Se(t,i){if(t&1&&(e(0,"mat-cell"),n(1),a()),t&2){let l=i.$implicit;o(),u(l.date)}}function Ee(t,i){t&1&&(e(0,"mat-header-cell",45),n(1,"Transaction"),a())}function De(t,i){if(t&1&&(e(0,"mat-cell"),n(1),a()),t&2){let l=i.$implicit;o(),u(l.transaction)}}function Pe(t,i){t&1&&(e(0,"mat-header-cell",45),n(1,"TPE"),a())}function Fe(t,i){if(t&1&&(e(0,"mat-cell"),n(1),a()),t&2){let l=i.$implicit;o(),u(l.tpe)}}function Re(t,i){t&1&&(e(0,"mat-header-cell",45),n(1,"Groupe"),a())}function Le(t,i){if(t&1&&(e(0,"mat-cell"),n(1),a()),t&2){let l=i.$implicit;o(),u(l.groupe)}}function Ae(t,i){t&1&&(e(0,"mat-header-cell",45),n(1,"Montant"),a())}function Be(t,i){if(t&1&&(e(0,"mat-cell"),n(1),a()),t&2){let l=i.$implicit;o(),u(l.montant)}}function Oe(t,i){t&1&&(e(0,"mat-header-cell",45),n(1,"T\xE9l\xE9phone"),a())}function Ne(t,i){if(t&1&&(e(0,"mat-cell"),n(1),a()),t&2){let l=i.$implicit;o(),u(l.telephone)}}function He(t,i){t&1&&(e(0,"mat-header-cell",45),n(1,"Status"),a())}function Ve(t,i){if(t&1&&(e(0,"mat-cell"),n(1),a()),t&2){let l=i.$implicit;o(),u(l.status)}}function Ge(t,i){t&1&&(e(0,"mat-header-cell",45),n(1,"Actions"),a())}var oe=()=>["/tpe/edit-tpe"];function je(t,i){t&1&&(e(0,"mat-cell")(1,"div",46)(2,"button",47)(3,"mat-icon",48),n(4,"edit"),a()(),e(5,"button",49)(6,"mat-icon",48),n(7,"delete"),a()()()()),t&2&&(o(2),d("routerLink",v(2,oe)),o(3),d("routerLink",v(3,oe)))}function Qe(t,i){t&1&&m(0,"mat-header-row")}function ze(t,i){t&1&&m(0,"mat-row")}var qe=()=>["/tpe/create-tpe"],$e=()=>[5,10,20],ce=(()=>{let i=class i{onExport(){throw new Error("Method not implemented.")}onSearch(){throw new Error("Method not implemented.")}onDelete(p){throw new Error("Method not implemented.")}constructor(p,r,c,b,C,he){this.http=p,this.snackBar=r,this.dialog=c,this.userService=b,this.fb=C,this.matdialog=he,this.tpe=[{date:"2023-06-18",transaction:"Transaction 1",tpe:"TPE 1",groupe:"Groupe 1",montant:100,telephone:"1234567890",status:"INVALIDE"},{date:"2023-06-19",transaction:"Transaction 2",tpe:"TPE 2",groupe:"Groupe 2",montant:200,telephone:"0987654321",status:"VALIDE"},{date:"2023-06-20",transaction:"Transaction 3",tpe:"TPE 3",groupe:"Groupe 3",montant:150,telephone:"0123456789",status:"INVALIDE"},{date:"2023-06-21",transaction:"Transaction 4",tpe:"TPE 4",groupe:"Groupe 4",montant:180,telephone:"9876543210",status:"VALIDE"},{date:"2023-06-18",transaction:"Transaction 1",tpe:"TPE 1",groupe:"Groupe 1",montant:100,telephone:"1234567890",status:"INVALIDE"},{date:"2023-06-19",transaction:"Transaction 2",tpe:"TPE 2",groupe:"Groupe 2",montant:200,telephone:"0987654321",status:"VALIDE"},{date:"2023-06-20",transaction:"Transaction 3",tpe:"TPE 3",groupe:"Groupe 3",montant:150,telephone:"0123456789",status:"INVALIDE"},{date:"2023-06-21",transaction:"Transaction 4",tpe:"TPE 4",groupe:"Groupe 4",montant:180,telephone:"9876543210",status:"VALIDE"},{date:"2023-06-22",transaction:"Transaction 5",tpe:"TPE 5",groupe:"Groupe 5",montant:120,telephone:"5555555555",status:"VALIDE"},{date:"2023-06-23",transaction:"Transaction 6",tpe:"TPE 6",groupe:"Groupe 6",montant:250,telephone:"6666666666",status:"INVALIDE"},{date:"2023-06-24",transaction:"Transaction 7",tpe:"TPE 7",groupe:"Groupe 7",montant:300,telephone:"7777777777",status:"VALIDE"},{date:"2023-06-25",transaction:"Transaction 8",tpe:"TPE 8",groupe:"Groupe 8",montant:280,telephone:"8888888888",status:"INVALIDE"},{date:"2023-06-26",transaction:"Transaction 9",tpe:"TPE 9",groupe:"Groupe 9",montant:150,telephone:"9999999999",status:"VALIDE"}],this.dataSource=new nt(this.tpe),this.displayedColumns=["date","transaction","tpe","groupe","montant","telephone","status","action"],this.tpeForm=this.fb.group({date:["",h.required],transaction:["",h.required],tpe:["",h.required],groupe:["",h.required],montant:["",h.required],telephone:["",h.required],status:["",h.required]})}ngAfterViewInit(){this.dataSource.paginator=this.paginator}applyFilter(p){let r=p.target.value;this.dataSource.filter=r.trim().toLowerCase()}onSubmit(){this.tpeForm.valid?console.log("Form submitted:",this.tpeForm.value):console.error("Form is invalid")}};i.\u0275fac=function(r){return new(r||i)(y(Kt),y(te),y(Qt),y(Rt),y(W),y(Qt))},i.\u0275cmp=T({type:i,selectors:[["bgui-view-tpe"]],viewQuery:function(r,c){if(r&1&&V(I,5),r&2){let b;G(b=j())&&(c.paginator=b.first)}},standalone:!0,features:[x],decls:78,vars:11,consts:[[1,"page-title"],[1,"row"],[1,"col-md-12","col-vlg-12","m-b-10"],[1,"grid","simple"],[1,"card"],[1,"card-title"],[1,"card-body","m-3"],[1,"col-md-2","form-group-width"],[1,"form-group"],["for","operateurs"],["id","operateurs","name","selectedOperateur",1,"form-control","filtre",3,"ngModel","ngModelChange"],["value",""],[3,"ngValue",4,"ngFor","ngForOf"],["for","services"],["id","services","name","selectedService",1,"form-control","filtre",3,"ngModel","ngModelChange"],[1,"col-md-2","group-width"],[1,"btn","btn-primary","btn-sm","mt-4","form-control",3,"click"],[1,"fa","fa-search","m-1"],[1,"content","sm-gutter"],[1,"row-fluid"],[1,"span12"],[1,"page-title","d-flex","justify-content-between"],[1,"col-m-5","text-right"],[1,"btn","btn-secondary","m-5",2,"border-radius","15px"],[1,"fa","fa-download","m-1"],[1,"btn","btn-sl","btn-success","m-5",2,"border-radius","15px",3,"routerLink"],[1,"example-container","mat-elevation-z8",2,"margin-top","40px"],["appearance","outline"],["matInput","","placeholder","Ex. ium",3,"keyup"],["input",""],["matSort","",1,"mat-elevation-z8",3,"dataSource"],["matColumnDef","date"],["mat-sort-header","","class","bold-text",4,"matHeaderCellDef"],[4,"matCellDef"],["matColumnDef","transaction"],["matColumnDef","tpe"],["matColumnDef","groupe"],["matColumnDef","montant"],["matColumnDef","telephone"],["matColumnDef","status"],["matColumnDef","action"],[4,"matHeaderRowDef"],[4,"matRowDef","matRowDefColumns"],["showFirstLastButtons","",3,"pageSizeOptions"],[3,"ngValue"],["mat-sort-header","",1,"bold-text"],["role","group",1,"btn-group"],["type","button",1,"btn","btn-primary","m-1",3,"routerLink"],[1,"mat-icon"],["type","button",1,"btn","btn-danger","m-1",3,"routerLink"]],template:function(r,c){r&1&&(e(0,"div",0)(1,"h4"),n(2,"TPE"),a()(),e(3,"div",1)(4,"div",2)(5,"div",3)(6,"div",4)(7,"div",5)(8,"div",6)(9,"form")(10,"div",1)(11,"div",7)(12,"div",8)(13,"label",9),n(14,"Groupe"),a(),e(15,"select",10),g("ngModelChange",function(C){return c.tpe=C}),e(16,"option",11),n(17,"choisir un Tpe"),a(),s(18,ke,2,2,"option",12),a()()(),e(19,"div",7)(20,"div",8)(21,"label",13),n(22,"Status"),a(),e(23,"select",14),g("ngModelChange",function(C){return c.tpe=C}),e(24,"option",11),n(25,"choisir un Status"),a(),s(26,Me,2,2,"option",12),a()()(),e(27,"div",15)(28,"button",16),g("click",function(){return c.onSearch()}),n(29," Recherche "),m(30,"i",17),a()()()()()()()()()(),e(31,"div",18)(32,"div",1)(33,"div",2)(34,"div",19)(35,"div",20)(36,"div",3)(37,"div",21)(38,"div",22)(39,"button",23),n(40," Exporter "),m(41,"i",24),a()(),e(42,"button",25),n(43," Ajouter "),a()(),e(44,"div",26)(45,"mat-form-field",27)(46,"mat-label"),n(47,"Filter"),a(),e(48,"input",28,29),g("keyup",function(C){return c.applyFilter(C)}),a()(),e(50,"mat-table",30),f(51,31),s(52,Ie,2,0,"mat-header-cell",32)(53,Se,2,1,"mat-cell",33),_(),f(54,34),s(55,Ee,2,0,"mat-header-cell",32)(56,De,2,1,"mat-cell",33),_(),f(57,35),s(58,Pe,2,0,"mat-header-cell",32)(59,Fe,2,1,"mat-cell",33),_(),f(60,36),s(61,Re,2,0,"mat-header-cell",32)(62,Le,2,1,"mat-cell",33),_(),f(63,37),s(64,Ae,2,0,"mat-header-cell",32)(65,Be,2,1,"mat-cell",33),_(),f(66,38),s(67,Oe,2,0,"mat-header-cell",32)(68,Ne,2,1,"mat-cell",33),_(),f(69,39),s(70,He,2,0,"mat-header-cell",32)(71,Ve,2,1,"mat-cell",33),_(),f(72,40),s(73,Ge,2,0,"mat-header-cell",32)(74,je,8,4,"mat-cell",33),_(),s(75,Qe,1,0,"mat-header-row",41)(76,ze,1,0,"mat-row",42),a(),m(77,"mat-paginator",43),a()()()()()()()),r&2&&(o(15),d("ngModel",c.tpe),o(3),d("ngForOf",c.tpe),o(5),d("ngModel",c.tpe),o(3),d("ngForOf",c.tpe),o(16),d("routerLink",v(9,qe)),o(8),d("dataSource",c.dataSource),o(25),d("matHeaderRowDef",c.displayedColumns),o(),d("matRowDefColumns",c.displayedColumns),o(),d("pageSizeOptions",v(10,$e)))},dependencies:[w,pt,E,S,$,B,A,K,J,tt,Y,U,et,Z,X,it,at,M,R,F,P,k,D,H,wt,kt,yt,O,N,vt,gt,L,I],styles:[".card[_ngcontent-%COMP%]{border-radius:0!important;background-color:#ffffff61}.text[_ngcontent-%COMP%], .bold-text[_ngcontent-%COMP%]{color:#000;font-weight:700;font-size:16px}.col-md-2[_ngcontent-%COMP%]{flex:0 0 auto;width:33%!important}button[_ngcontent-%COMP%], a[_ngcontent-%COMP%]{border-radius:0!important}.example-form[_ngcontent-%COMP%]{width:500%;max-width:1000px;margin:auto}.example-full-width[_ngcontent-%COMP%]{width:100%}.form-group-width[_ngcontent-%COMP%]{max-width:800px}.group-width[_ngcontent-%COMP%]{max-width:400px}"]});let t=i;return t})();function We(t,i){if(t&1&&(e(0,"option",44),n(1),a()),t&2){let l=i.$implicit;d("ngValue",l),o(),q(" ",l.code," ")}}function Ke(t,i){if(t&1&&(e(0,"option",44),n(1),a()),t&2){let l=i.$implicit;d("ngValue",l),o(),q(" ",l.nom_service," ")}}function Ue(t,i){t&1&&(e(0,"mat-header-cell",45),n(1," Groupe "),a())}function Je(t,i){if(t&1&&(e(0,"mat-cell"),n(1),a()),t&2){let l=i.$implicit;o(),u(l.groupe)}}function Ye(t,i){t&1&&(e(0,"mat-header-cell",45),n(1," Nom "),a())}function Ze(t,i){if(t&1&&(e(0,"mat-cell"),n(1),a()),t&2){let l=i.$implicit;o(),u(l.nom)}}function Xe(t,i){t&1&&(e(0,"mat-header-cell",45),n(1," Service "),a())}function ti(t,i){if(t&1&&(e(0,"mat-cell"),n(1),a()),t&2){let l=i.$implicit;o(),u(l.service)}}function ei(t,i){t&1&&(e(0,"mat-header-cell",45),n(1," Solde "),a())}function ii(t,i){if(t&1&&(e(0,"mat-cell"),n(1),a()),t&2){let l=i.$implicit;o(),u(l.solde)}}function ai(t,i){t&1&&(e(0,"mat-header-cell",45),n(1," Fonction "),a())}function ni(t,i){if(t&1&&(e(0,"mat-cell"),n(1),a()),t&2){let l=i.$implicit;o(),u(l.fonction)}}function oi(t,i){t&1&&(e(0,"mat-header-cell",45),n(1," Statut "),a())}function ri(t,i){if(t&1&&(e(0,"mat-cell"),n(1),a()),t&2){let l=i.$implicit;o(),u(l.statut)}}function li(t,i){t&1&&(e(0,"mat-header-cell",45),n(1," Activit\xE9 "),a())}function di(t,i){if(t&1&&(e(0,"mat-cell"),n(1),a()),t&2){let l=i.$implicit;o(),u(l.activite)}}function ci(t,i){t&1&&(e(0,"mat-header-cell",45),n(1," Actions "),a())}var me=()=>["/element/edit-element"];function mi(t,i){t&1&&(e(0,"mat-cell")(1,"div",46)(2,"button",47)(3,"mat-icon",48),n(4,"edit"),a()(),e(5,"button",49)(6,"mat-icon",48),n(7,"delete"),a()()()()),t&2&&(o(2),d("routerLink",v(2,me)),o(3),d("routerLink",v(3,me)))}function si(t,i){t&1&&m(0,"mat-header-row")}function pi(t,i){t&1&&m(0,"mat-row")}var bi=()=>["/element/create-element"],ui=()=>[5,10,50,100,200],hi=[{groupe:"A",nom:"John Doe",service:"Service A",solde:1e3,fonction:"Fonction 1",statut:"Actif",activite:"Activit\xE9 1"},{groupe:"B",nom:"Jane Doe",service:"Service B",solde:2e3,fonction:"Fonction 2",statut:"Inactif",activite:"Activit\xE9 2"},{groupe:"C",nom:"Bob Smith",service:"Service C",solde:3e3,fonction:"Fonction 3",statut:"Actif",activite:"Activit\xE9 3"},{groupe:"C",nom:"John Doe",service:"Service A",solde:1e3,fonction:"Fonction 1",statut:"Actif",activite:"Activit\xE9 1"},{groupe:"B",nom:"Jane Doe",service:"Service B",solde:2e3,fonction:"Fonction 2",statut:"Inactif",activite:"Activit\xE9 2"},{groupe:"A",nom:"Bob Smith",service:"Service A",solde:3500,fonction:"Fonction 3",statut:"Actif",activite:"Activit\xE9 3"}],se=(()=>{let i=class i{constructor(){this.displayedColumns=["groupe","nom","service","solde","fonction","statut","activite","action"],this.dataSource=new nt(hi)}onSearch(){throw new Error("Method not implemented.")}applyFilter(p){let r=p.target.value;this.dataSource.filter=r.trim().toLowerCase()}ngAfterViewInit(){this.dataSource.paginator=this.paginator}};i.\u0275fac=function(r){return new(r||i)},i.\u0275cmp=T({type:i,selectors:[["bgui-gerer-mes-tpe"]],viewQuery:function(r,c){if(r&1&&V(I,5),r&2){let b;G(b=j())&&(c.paginator=b.first)}},standalone:!0,features:[x],decls:78,vars:11,consts:[[1,"page-title"],[1,"row"],[1,"col-md-12","col-vlg-12","m-b-10"],[1,"grid","simple"],[1,"card"],[1,"card-title"],[1,"card-body","m-3"],[1,"col-md-2","form-group-width"],[1,"form-group"],["for","operateurs"],["id","operateurs","name","selectedOperateur",1,"form-control","filtre",3,"ngModel","ngModelChange"],["value",""],[3,"ngValue",4,"ngFor","ngForOf"],["for","services"],["id","services","name","selectedService",1,"form-control","filtre",3,"ngModel","ngModelChange"],[1,"col-md-2","group-width"],[1,"btn","btn-primary","btn-sm","mt-4","form-control",3,"click"],[1,"fa","fa-search","m-1"],[1,"content","sm-gutter"],[1,"row-fluid"],[1,"span12"],[1,"page-title","d-flex","justify-content-between"],[1,"col-m-5","text-right"],[1,"btn","btn-secondary","m-5",2,"border-radius","15px"],[1,"fa","fa-download","m-1"],["hidden","true",1,"btn","btn-sl","btn-success","m-5",2,"border-radius","15px",3,"routerLink"],[1,"example-container","mat-elevation-z8",2,"margin-top","40px"],["appearance","outline"],["matInput","","placeholder","Ex. John Doe",3,"keyup"],["input",""],["mat-table","","matSort","",1,"mat-elevation-z8",3,"dataSource"],["matColumnDef","groupe"],["mat-sort-header","","class","bold-text",4,"matHeaderCellDef"],[4,"matCellDef"],["matColumnDef","nom"],["matColumnDef","service"],["matColumnDef","solde"],["matColumnDef","fonction"],["matColumnDef","statut"],["matColumnDef","activite"],["matColumnDef","action"],[4,"matHeaderRowDef"],[4,"matRowDef","matRowDefColumns"],["showFirstLastButtons","",3,"pageSizeOptions"],[3,"ngValue"],["mat-sort-header","",1,"bold-text"],["role","group",1,"btn-group"],["type","button",1,"btn","btn-primary","m-1",3,"routerLink"],[1,"mat-icon"],["type","button",1,"btn","btn-danger","m-1",3,"routerLink"]],template:function(r,c){r&1&&(e(0,"div",0)(1,"h4"),n(2,"G\xE9rer mes TPE"),a()(),e(3,"div",1)(4,"div",2)(5,"div",3)(6,"div",4)(7,"div",5)(8,"div",6)(9,"form")(10,"div",1)(11,"div",7)(12,"div",8)(13,"label",9),n(14,"Groupe"),a(),e(15,"select",10),g("ngModelChange",function(C){return c.element=C}),e(16,"option",11),n(17,"choisir un groupe"),a(),s(18,We,2,2,"option",12),a()()(),e(19,"div",7)(20,"div",8)(21,"label",13),n(22,"Status"),a(),e(23,"select",14),g("ngModelChange",function(C){return c.element=C}),e(24,"option",11),n(25,"choisir un Status"),a(),s(26,Ke,2,2,"option",12),a()()(),e(27,"div",15)(28,"button",16),g("click",function(){return c.onSearch()}),n(29," Recherche "),m(30,"i",17),a()()()()()()()()()(),e(31,"div",18)(32,"div",1)(33,"div",2)(34,"div",19)(35,"div",20)(36,"div",3)(37,"div",21)(38,"div",22)(39,"button",23),n(40," Exporter "),m(41,"i",24),a()(),e(42,"button",25),n(43," Ajouter "),a()(),e(44,"div",26)(45,"mat-form-field",27)(46,"mat-label"),n(47,"Filtrer"),a(),e(48,"input",28,29),g("keyup",function(C){return c.applyFilter(C)}),a()(),e(50,"table",30),f(51,31),s(52,Ue,2,0,"mat-header-cell",32)(53,Je,2,1,"mat-cell",33),_(),f(54,34),s(55,Ye,2,0,"mat-header-cell",32)(56,Ze,2,1,"mat-cell",33),_(),f(57,35),s(58,Xe,2,0,"mat-header-cell",32)(59,ti,2,1,"mat-cell",33),_(),f(60,36),s(61,ei,2,0,"mat-header-cell",32)(62,ii,2,1,"mat-cell",33),_(),f(63,37),s(64,ai,2,0,"mat-header-cell",32)(65,ni,2,1,"mat-cell",33),_(),f(66,38),s(67,oi,2,0,"mat-header-cell",32)(68,ri,2,1,"mat-cell",33),_(),f(69,39),s(70,li,2,0,"mat-header-cell",32)(71,di,2,1,"mat-cell",33),_(),f(72,40),s(73,ci,2,0,"mat-header-cell",32)(74,mi,8,4,"mat-cell",33),_(),s(75,si,1,0,"mat-header-row",41)(76,pi,1,0,"mat-row",42),a(),m(77,"mat-paginator",43),a()()()()()()()),r&2&&(o(15),d("ngModel",c.element),o(3),d("ngForOf",c.element),o(5),d("ngModel",c.element),o(3),d("ngForOf",c.element),o(16),d("routerLink",v(9,bi)),o(8),d("dataSource",c.dataSource),o(25),d("matHeaderRowDef",c.displayedColumns),o(),d("matRowDefColumns",c.displayedColumns),o(),d("pageSizeOptions",v(10,ui)))},dependencies:[w,pt,E,S,$,B,A,K,J,tt,Y,U,et,Z,X,it,at,M,R,F,P,k,D,H,wt,kt,yt,O,N,vt,gt,L,I],styles:[".card[_ngcontent-%COMP%]{border-radius:0!important;background-color:#ffffff61}.text[_ngcontent-%COMP%], .bold-text[_ngcontent-%COMP%]{color:#000;font-weight:700;font-size:16px}.col-md-2[_ngcontent-%COMP%]{flex:0 0 auto;width:33%!important}button[_ngcontent-%COMP%], a[_ngcontent-%COMP%]{border-radius:0!important}.example-form[_ngcontent-%COMP%]{width:500%;max-width:1000px;margin:auto}.example-full-width[_ngcontent-%COMP%]{width:100%}.form-group-width[_ngcontent-%COMP%]{max-width:800px}.group-width[_ngcontent-%COMP%]{max-width:400px}"]});let t=i;return t})();function fi(t,i){t&1&&(e(0,"mat-header-cell",26),n(1," Date Creation "),a())}function _i(t,i){if(t&1&&(e(0,"mat-cell"),n(1),a()),t&2){let l=i.$implicit;o(),u(l.date)}}function gi(t,i){t&1&&(e(0,"mat-header-cell",26),n(1," Nom "),a())}function vi(t,i){if(t&1&&(e(0,"mat-cell"),n(1),a()),t&2){let l=i.$implicit;o(),u(l.nom)}}function Ci(t,i){t&1&&(e(0,"mat-header-cell",26),n(1," Description "),a())}function Ti(t,i){if(t&1&&(e(0,"mat-cell"),n(1),a()),t&2){let l=i.$implicit;o(),u(l.description)}}function xi(t,i){t&1&&(e(0,"mat-header-cell",26),n(1," Actions "),a())}var pe=()=>["/element/edit-element"];function yi(t,i){t&1&&(e(0,"mat-cell")(1,"div",27)(2,"button",28)(3,"mat-icon",29),n(4,"edit"),a()(),e(5,"button",30)(6,"mat-icon",29),n(7,"delete"),a()()()()),t&2&&(o(2),d("routerLink",v(2,pe)),o(3),d("routerLink",v(3,pe)))}function wi(t,i){t&1&&m(0,"mat-header-row")}function ki(t,i){t&1&&m(0,"mat-row")}var Mi=()=>["/element/create-element"],Ii=()=>[5,10,50,100,200],Si=[{date:"10-10-2024",nom:"John Doe",description:"description A"},{date:"10-10-2024",nom:"Jane Doe",description:"description B"},{date:"17-10-2024",nom:"Bob Smith",description:"description C"},{date:"10-10-2024",nom:"John Doe",description:"description A"},{date:"19-10-2024",nom:"Jane Doe",description:"description B"},{date:"10-10-2024",nom:"Bob Smith",description:"description A"}],be=(()=>{let i=class i{constructor(){this.displayedColumns=["date","nom","description"],this.dataSource=new nt(Si)}onSearch(){throw new Error("Method not implemented.")}applyFilter(p){let r=p.target.value;this.dataSource.filter=r.trim().toLowerCase()}ngAfterViewInit(){this.dataSource.paginator=this.paginator}};i.\u0275fac=function(r){return new(r||i)},i.\u0275cmp=T({type:i,selectors:[["bgui-groupe-tpe"]],viewQuery:function(r,c){if(r&1&&V(I,5),r&2){let b;G(b=j())&&(c.paginator=b.first)}},standalone:!0,features:[x],decls:38,vars:7,consts:[[1,"page-title"],[1,"content","sm-gutter"],[1,"row"],[1,"col-md-12","col-vlg-12","m-b-10"],[1,"row-fluid"],[1,"span12"],[1,"grid","simple"],[1,"page-title","d-flex","justify-content-between"],[1,"col-m-5","text-right"],[1,"btn","btn-secondary","m-5",2,"border-radius","15px"],[1,"fa","fa-download","m-1"],[1,"btn","btn-sl","btn-success","m-5",2,"border-radius","15px",3,"routerLink"],[1,"example-container","mat-elevation-z8",2,"margin-top","40px"],["appearance","outline"],["matInput","","placeholder","Ex. Date cr\xE9ation, Nom, Description",3,"keyup"],["input",""],["mat-table","","matSort","",1,"mat-elevation-z8",3,"dataSource"],["matColumnDef","date"],["mat-sort-header","","class","bold-text",4,"matHeaderCellDef"],[4,"matCellDef"],["matColumnDef","nom"],["matColumnDef","description"],["matColumnDef","action"],[4,"matHeaderRowDef"],[4,"matRowDef","matRowDefColumns"],["showFirstLastButtons","",3,"pageSizeOptions"],["mat-sort-header","",1,"bold-text"],["role","group",1,"btn-group"],["type","button",1,"btn","btn-primary","m-1",3,"routerLink"],[1,"mat-icon"],["type","button",1,"btn","btn-danger","m-1",3,"routerLink"]],template:function(r,c){r&1&&(e(0,"div",0)(1,"h4"),n(2,"G\xE9rer mes TPE"),a()(),e(3,"div",1)(4,"div",2)(5,"div",3)(6,"div",4)(7,"div",5)(8,"div",6)(9,"div",7)(10,"div",8)(11,"button",9),n(12," Exporter "),m(13,"i",10),a()(),e(14,"button",11),n(15," Ajouter "),a()(),e(16,"div",12)(17,"mat-form-field",13)(18,"mat-label"),n(19,"Filtrer"),a(),e(20,"input",14,15),g("keyup",function(C){return c.applyFilter(C)}),a()(),e(22,"table",16),f(23,17),s(24,fi,2,0,"mat-header-cell",18)(25,_i,2,1,"mat-cell",19),_(),f(26,20),s(27,gi,2,0,"mat-header-cell",18)(28,vi,2,1,"mat-cell",19),_(),f(29,21),s(30,Ci,2,0,"mat-header-cell",18)(31,Ti,2,1,"mat-cell",19),_(),f(32,22),s(33,xi,2,0,"mat-header-cell",18)(34,yi,8,4,"mat-cell",19),_(),s(35,wi,1,0,"mat-header-row",23)(36,ki,1,0,"mat-row",24),a(),m(37,"mat-paginator",25),a()()()()()()()),r&2&&(o(14),d("routerLink",v(5,Mi)),o(8),d("dataSource",c.dataSource),o(13),d("matHeaderRowDef",c.displayedColumns),o(),d("matRowDefColumns",c.displayedColumns),o(),d("pageSizeOptions",v(6,Ii)))},dependencies:[w,E,S,$,B,A,K,J,tt,Y,U,et,Z,X,it,at,M,R,F,P,k,D,L,I],styles:[".card[_ngcontent-%COMP%]{border-radius:0!important;background-color:#ffffff61}.text[_ngcontent-%COMP%], .bold-text[_ngcontent-%COMP%]{color:#000;font-weight:700;font-size:16px}.col-md-2[_ngcontent-%COMP%]{flex:0 0 auto;width:33%!important}button[_ngcontent-%COMP%], a[_ngcontent-%COMP%]{border-radius:0!important}.example-form[_ngcontent-%COMP%]{width:500%;max-width:1000px;margin:auto}.example-full-width[_ngcontent-%COMP%]{width:100%}.form-group-width[_ngcontent-%COMP%]{max-width:800px}.group-width[_ngcontent-%COMP%]{max-width:400px}"]});let t=i;return t})();var ue=(()=>{let i=class i{};i.\u0275fac=function(r){return new(r||i)},i.\u0275cmp=T({type:i,selectors:[["bgui-transaction-tpe"]],standalone:!0,features:[x],decls:2,vars:0,template:function(r,c){r&1&&(e(0,"p"),n(1,"transaction-tpe works!"),a())}});let t=i;return t})();var Ln=[{path:"",component:ne,children:[{path:"",redirectTo:"view-tpe",pathMatch:"full"},{path:"view-tpe",component:ce},{path:"create-tpe",component:ie},{path:"edit-tep/:id",component:ae},{path:"gerer-mes-tpe",component:se},{path:"groupe-tpe",component:be},{path:"transaction-tpe",component:ue}]}];export{Ln as tpeRoutes};