1import x from"./BMnFhICf.js";import B from"./C93mPPpf.js";import $ from"./B3zrGNYq.js";import M from"./Ce5o3cix.js";import{r,a as N,h as o,c,d as S,b as m,C as u,w as C,e as D,t as A,H as F,D as s,g as a,a4 as Q,E as d,n as V,aw as z,N as H}from"./cTqHTfvr.js";import I from"./C11JtXxs.js";import"./X21horhu.js";const P={class:"AutoEvaluationFormQuestion__header"},W=["id"],R={__name:"AutoEvaluationFormQuestion",props:{title:String,id:String,description:String,error:{type:Boolean,default:!1},errorMessage:String},emits:["blur"],setup(e,{emit:p}){const _=e,f=p,i=r(),n=r(0),t=r(!1),g=()=>{t.value=!t.value,t.value&&(n.value=i.value.$el.scrollHeight)};return(L,l)=>{const v=x,y=B,h=$,w=M,b=H,k=I,E=N("split-text");return o(),c("div",{class:z(["AutoEvaluationFormQuestion",{open:a(t)}]),"data-appear-child":""},[S("div",P,[m(y,{id:e.id,label:e.title,error:e.error,errorMessage:e.errorMessage,removeLabel:!0},{default:u(()=>[C((o(),c("h4",{class:"h5-style",id:`label-${e.id}`},[D(A(e.title)+"*",1)],8,W)),[[E]]),m(v,F(_,{onBlur:l[0]||(l[0]=O=>f("blur")),"data-appear-child":""}),null,16)]),_:1},8,["id","label","error","errorMessage"]),e.description?(o(),s(b,{key:0,label:a(t)?"En savoir moins":"En savoir plus","link-style":"btn-secondary",onClick:Q(g,["prevent"]),"data-appear-child":""},{default:u(()=>[a(t)?(o(),s(w,{key:1})):(o(),s(h,{key:0}))]),_:1},8,["label"])):d("",!0)]),e.description?(o(),s(k,{key:0,ref_key:"descriptionEl",ref:i,wysiwyg:e.description,style:V({"--height":a(n)+"px"}),class:"AutoEvaluationFormQuestion__description tag-style"},null,8,["wysiwyg","style"])):d("",!0)],2)}}};export{R 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.