1import{_ as b,al as k,bn as $,c as d,w as s,X as L,r as g,bo as R,o as l,e as o,b as f,x as m,g as p,t}from"./index-DcN32Kdt.js";import{s as y}from"./index-B0uThlB9.js";import"./event-bus-CGRXT3Tn.js";const c={components:{RouterLink:$},methods:{getChoiceLabel:k,getTrainingRoute(e){return this.routeExists("iff_trainings_details")?{name:"iff_trainings_details",params:{trainingId:e.session.training.id}}:(console.log("route not found"),null)},getSessionRoute(e){return this.routeExists("iff_sessions_details")?{name:"iff_sessions_details",params:{trainingSessionId:e.session.id}}:(console.log("route not found"),null)},routeExists(e){try{if(this.$router.getRoutes().find(r=>r.name===e)){const r=this.$router.resolve({name:e});return r&&r.name===e}return!1}catch{return!1}}},created(){this.setListPath(L.entrypoint+"/"+this.$route.params.personId+"/speakers").getList().getListMapping()}};y.link(c,{namespace:R.namespace,operations:["list"],data:{test:{name:"test"}}});const C=c,v={key:1},S={key:1};function T(e,a,r,w,E,M){const u=g("RouterLink"),i=g("md-table-cell"),h=g("organization"),_=g("preconfigured-list");return l(),d(_,{class:"embeddedList",loading:e.listLoading,items:e.items,selectable:!1,pagination:e.pagination,"on-order-change":e.changeOrder,"on-page-change":e.getPage,"on-limit-change":e.changeLimit},{"md-table-row-inner":s(({item:n})=>[o(i,{"md-label":"Formation"},{default:s(()=>[e.getTrainingRoute(n)?(l(),d(u,{key:0,to:e.getTrainingRoute(n),onClick:a[0]||(a[0]=m(()=>{},["prevent","stop"]))},{default:s(()=>[p(t(e.$prop(n,"session.training.identifier")),1)]),_:2},1032,["to"])):(l(),f("span",v,t(e.$prop(n,"session.training.identifier")),1))]),_:2},1024),o(i,{"md-label":"Session"},{default:s(()=>[e.getSessionRoute(n)?(l(),d(u,{key:0,to:e.getSessionRoute(n),onClick:a[1]||(a[1]=m(()=>{},["prevent","stop"]))},{default:s(()=>[p(t(e.$prop(n,"session.name")),1)]),_:2},1032,["to"])):(l(),f("span",S,t(e.$prop(n,"session.name")),1))]),_:2},1024),o(i,{"md-label":"Organisation"},{default:s(()=>[o(h,{value:n.session.organization},null,8,["value"])]),_:2},1024),o(i,{"md-label":"Type"},{default:s(()=>[p(t(e.$prop(n,"session.training.type.name")),1)]),_:2},1024),o(i,{"md-label":"Nature"},{default:s(()=>[p(t(e.$prop(n,"session.training.nature.name")),1)]),_:2},1024),o(i,{"md-label":"Statut"},{default:s(()=>[p(t(e.listMapping&&e.getChoiceLabel(e.listMapping,n.status,"status")||"--"),1)]),_:2},1024)]),_:1},8,["loading","items","pagination","on-order-change","on-page-change","on-limit-change"])}const O=b(C,[["render",T]]);export{O 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.