1import{at as m,a as c,r,t as u,j as d}from"./app-Cmw2D6MA.js";import{F as f}from"./FiliereService-DUIKEclu.js";import{h as y}from"./errorHandler-BCrdmXVj.js";import{S}from"./SelectionStep-667-VBD5.js";import"./ApiRoute-BN4CwzK7.js";const v=()=>{const{id:i,idU:s,idD:t}=m(),a=c(),[n,o]=r.useState(!0),[l,p]=r.useState([]);return r.useEffect(()=>{(async()=>{o(!0);try{const e=await f.listeByDepartement(t);p((e==null?void 0:e.filieres)||[])}catch(e){y(e),u.error("Erreur lors du chargement des filières.")}finally{o(!1)}})()},[t]),d.jsx(S,{title:"Sélection de la filière",stepLabel:"Ãtape 2/4 : Choisir une filière",breadcrumb:[{label:"Pays",href:"/admin/pays"},{label:"Propositions",href:`/admin/pays/${i}/universites/${s}/propositions-documents`},{label:"Filière"}],items:l,loading:n,emptyText:"Aucune filière disponible.",onBack:()=>a(`/admin/pays/${i}/universites/${s}/propositions-documents/selection/departement`),onNext:e=>a(`/admin/pays/${i}/universites/${s}/propositions-documents/selection/semestre/${t}/${e}`)})};export{v as default};
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.