PageSourceSearch

https://espaceclient.baudelet-environnement.fr/chunk-R2PZO4GV.js

js baudelet-environnement.fr collected 2026-10-07 23:46:25 UTC 5,269 bytes, 1 lines download raw bytes

1import{a as ct,b as mt}from"./chunk-NM64KK6R.js";import{a as x,b as w,c as st,d as k,e as z,f as M,g as at,h as P,k as nt}from"./chunk-BQE3O7QZ.js";import{a as Z,b as _,c as tt,d as et,e as it,f as ot}from"./chunk-ZQDEPWXF.js";import"./chunk-7VDL3YHR.js";import{d as rt}from"./chunk-HWDQ6QWG.js";import"./chunk-7GM6MHK2.js";import{d as Y}from"./chunk-HJT3HFVZ.js";import"./chunk-T7ASFPL3.js";import"./chunk-E2PRCIO2.js";import{a as F}from"./chunk-LQOZU5WB.js";import{a as X}from"./chunk-VOMVWTWF.js";import"./chunk-NGL5WVXO.js";import"./chunk-4ADFFCYA.js";import"./chunk-U4WE42C6.js";import{a as I,c as J,g as K,h as b,k as Q}from"./chunk-WE2ISEL4.js";import"./chunk-NP6OI7J6.js";import"./chunk-2C3WUUOE.js";import{a as V}from"./chunk-C5T26E4S.js";import{b as q}from"./chunk-BYCOWWCA.js";import{a as m,b as n,c as f,d as B}from"./chunk-QGWXUQ7J.js";import{q as d,r as $,v as H,x as h,y}from"./chunk-7ZZOGKSF.js";import{b as O}from"./chunk-D74IVOWM.js";import"./chunk-4KETEAXU.js";import{F as C,H as j,a as l,b as S,ea as v,ia as g,ma as a,q as L,r as G,ra as r,sa as W,v as N,x as u}from"./chunk-OPD4GJAN.js";var yt={loading:!1,loaded:!1,errors:null,data:{}},Ft=y(yt,h(x,t=>S(l({},t),{loading:!0,loaded:!1})),h(w,(t,{data:c})=>S(l({},t),{data:c,loading:!1,loaded:!0})));function ft(t,c){return Ft(t,c)}var Et={data:null,loaded:!1,loading:!1,errors:null},Rt=y(Et,h(k,t=>S(l({},t),{data:null,loading:!0})),h(z,(t,{data:c})=>S(l({},t),{data:c,loading:!1,loaded:!0})),h(M,(t,{errors:c})=>S(l({},t),{loading:!1,loaded:!0,errors:c})),h(X,t=>S(l({},t),{loaded:!1})));function pt(t,c){return Rt(t,c)}var $t={data:[]},It=y($t,h(P,(t,{data:c})=>({data:c})));function lt(t,c){return It(t,c)}var dt=(()=>{class t{constructor(i,e,s){this.action$=i,this.routerService=e,this.store=s,this.routerNavigationTeamList$=m(()=>this.action$.pipe(f(J),C(o=>o.payload.routerState.url.startsWith("/teams")),g(this.store.select(K),this.store.select(Q)),u(([o,p,R])=>{let A=p.queryParams.filters??"";return A?this.routerService.deSerializeParams(A).pipe(u(jt=>[Y({payload:jt})])):L()})))}static{this.\u0275fac=function(e){return new(e||t)(r(n),r(F),r(d))}}static{this.\u0275prov=a({token:t,factory:t.\u0275fac})}}return t})();var ht=(()=>{class t{constructor(i,e,s){this.actions$=i,this.routerService=e,this.store=s,this.changeFiltersTeamList$=m(()=>this.actions$.pipe(f(ct),g(this.store.pipe($(b))),u(([o,p])=>this.routerService.serializeParams(o.payload).pipe(u(R=>{let A=p?.split("?")[0];return[I({path:[A],query:{filters:R}})]})))))}static{this.\u0275fac=function(e){return new(e||t)(r(n),r(F),r(d))}}static{this.\u0275prov=a({token:t,factory:t.\u0275fac})}}return t})();var St=(()=>{class t{constructor(i,e,s){this.actions$=i,this.routerService=e,this.store=s,this.changeStatusTeamList$=m(()=>this.actions$.pipe(f(mt),g(this.store.pipe($(b))),u(([o,p])=>this.routerService.serializeParams(o.payload).pipe(u(R=>{let A=p?.split("?")[0];return[I({path:[A],query:{filters:R}})]})))))}static{this.\u0275fac=function(e){return new(e||t)(r(n),r(F),r(d))}}static{this.\u0275prov=a({token:t,factory:t.\u0275fac})}}return t})();var gt=(()=>{class t{constructor(i,e,s){this.action$=i,this.contactSingleService=e,this.store=s,this.getAuthorisationAccessFilter=m(()=>this.action$.pipe(f(x),v(()=>this.contactSingleService.getAuthorisationAccessFilter().pipe(v(o=>[w({data:o})]),j(o=>L(st({error:o})))))))}static{this.\u0275fac=function(e){return new(e||t)(r(n),r(rt),r(d))}}static{this.\u0275prov=a({token:t,factory:t.\u0275fac})}}return t})();var vt=(()=>{class t{constructor(){this.httpClient=W(O),this.authenticationService=W(V)}loadSites(){let i={page:0,per_page:1e5,sort_field:"",sort_type:"asc",filters:{}},e=`${q.boraEndpoint.baseURL}${q.boraEndpoint.getChantiers}`,s=this.authenticationService.getCredentials(),o=l(l({},s),i);return this.httpClient.post(e,o).pipe(N(p=>({results:p.result[0].results})),j(p=>G(p)))}static{this.\u0275fac=function(e){return new(e||t)}}static{this.\u0275prov=a({token:t,factory:t.\u0275fac,providedIn:"any"})}}return t})();var At=(()=>{class t{constructor(i,e){this.actions$=i,this.sitesService=e,this.loadSites$=m(()=>this.actions$.pipe(f(k),v(s=>this.sitesService.loadSites().pipe(u(o=>[z({data:o})]),j(o=>L(M({errors:o})))))))}static{this.\u0275fac=function(e){return new(e||t)(r(n),r(vt))}}static{this.\u0275prov=a({token:t,factory:t.\u0275fac})}}return t})();var Lt=(()=>
1{class t{constructor(i,e){this.action$=i,this.store=e,this.getSitesSelected$=m(()=>this.action$.pipe(f(at),g(this.store.select(nt)),C(([,s])=>!!s&&s.length>0),v(([,s])=>{if(s){let o=s.map(p=>p.Id);return[P({data:o})]}return[]})))}static{this.\u0275fac=function(e){return new(e||t)(r(n),r(d))}}static{this.\u0275prov=a({token:t,factory:t.\u0275fac})}}return t})();var U=[H("team",{list:Z,details:_,detailsActions:tt,authorizationList:ft,sites:pt,sitesSelected:lt}),B([et,it,dt,ht,St,gt,At,Lt,ot])];var nr=[{path:"",providers:U,loadComponent:()=>import("./chunk-ZGF5IPTQ.js").then(t=>t.TeamListComponent)},{path:"add",providers:U,loadComponent:()=>import("./chunk-DQFASNXG.js").then(t=>t.ContactSingleComponent),data:{mode:"add"}},{path:"details/:id",providers:U,loadComponent:()=>import("./chunk-DQFASNXG.js").then(t=>t.ContactSingleComponent),data:{mode:"edit"}}];export{nr as teamRoutes};

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.