PageSourceSearch

https://ffessm-hdf-biosub.fr/_nuxt/DR3G3xu3.js

js ffessm-hdf-biosub.fr collected 2026-10-05 21:42:41 UTC 5,517 bytes, 1 lines download raw bytes

1import{d as w,c as l,e as s,p as y,t as n,g as r,l as m,i as h,f as x,aB as f,k,v as b,aN as V,j as t,Q as q}from"./BwpTFavE.js";const I=["id"],L=["for"],B={key:0,class:"text-red-500"},C={class:"flex-1"},$=["id","name","value","placeholder","required","rows","maxlength"],E={key:1,class:"flex items-center"},T=["id","name","type","value","placeholder","required","maxlength","autocomplete"],N={key:2,class:"mt-1 text-xs text-right text-gray-400 dark:text-gray-500"},z={key:1,class:"text-gray-500 dark:text-gray-400 text-xs mt-1 italic"},A={key:2,class:"text-red-500 dark:text-red-400 text-xs mt-1"},P=["id"],S=["for"],j={key:0,class:"text-red-500"},D={class:"flex-1 w-full"},Q=["id","name","value","placeholder","required","rows","maxlength"],F={key:1,class:"flex items-center"},G=["id","name","type","value","placeholder","required","maxlength","autocomplete"],H={key:2,class:"mt-1 text-xs text-right text-gray-400 dark:text-gray-500"},J={key:0,class:"text-gray-500 dark:text-gray-400 text-xs mt-1 italic"},K={key:1,class:"text-red-500 dark:text-red-400 text-xs mt-1"},M=w({inheritAttrs:!1,__name:"VPInput",props:{label:{},modelValue:{},type:{default:"text"},placeholder:{},required:{type:Boolean},error:{},help:{default:""},vertical:{type:Boolean,default:!1},isTextarea:{type:Boolean,default:!1},rows:{default:3},maxLength:{default:void 0},name:{},hideIcon:{type:Boolean,default:!1},autocomplete:{default:void 0},bgClass:{default:"bg-gray-50 dark:bg-gray-800"}},emits:["update:modelValue"],setup(e,{emit:O}){const a=e,v=k(()=>a.label&&a.label.length>25),g=k(()=>a.autocomplete!==void 0?a.autocomplete:a.type==="password"?a.name?.includes("new")||a.name?.includes("confirm")||a.placeholder?.toLowerCase().includes("nouveau")?"new-password":"current-password":a.type==="email"?"email":a.type==="tel"?"tel":a.name?.includes("username")||a.name?.includes("user")?"username":"off"),d=V();return(u,i)=>{const c=b;return v.value||e.vertical?(t(),l("div",{key:0,class:"relative flex flex-col",id:s(d)},[e.label?(t(),l("label",{key:0,for:s(d),class:"text-gray-600 dark:text-gray-300 text-sm mb-2 leading-tight"},[y(n(e.label)+" ",1),e.required?(t(),l("span",B,"*")):r("",!0)],8,L)):r("",!0),m("div",{class:h(["relative flex items-start px-4 py-3 rounded-sm focus-within:ring-2 focus-within:ring-[#2EC07E] dark:focus-within:ring-offset-gray-900",e.bgClass])},[m("div",C,[e.isTextarea?(t(),l("textarea",{key:0,id:s(d),name:a.name,value:e.modelValue,onInput:i[0]||(i[0]=o=>u.$emit("update:modelValue",o.target.value)),class:"w-full bg-transparent text-gray-900 dark:text-white outline-none placeholder:text-gray-400 dark:placeholder:text-gray-500 resize-y min-h-20",placeholder:e.placeholder,required:e.required,rows:e.rows,maxlength:e.maxLength},null,40,$)):(t(),l("div",E,[!e.hideIcon&&e.type==="email"?(t(),x(c,{key:0,name:"heroicons:at-symbol",class:"w-5 h-5 text-gray-400 mr-2 flex-shrink-0"})):!e.hideIcon&&e.type==="url"?(t(),x(c,{key:1,name:"heroicons:globe-alt",class:"w-5 h-5 text-gray-400 mr-2 flex-shrink-0"})):r("",!0),m("input",{id:s(d),name:a.name,type:e.type==="url"?"text":e.type,value:e.modelValue,onInput:i[1]||(i[1]=o=>u.$emit("update:modelValue",o.target.value)),class:"w-full bg-transparent text-gray-900 dark:text-white outline-none placeholder:text-gray-400 dark:placeholder:text-gray-500",placeholder:e.placeholder,required:e.required,maxlength:e.maxLength,autocomplete:g.value},null,40,T)])),e.maxLength&&e.type!=="email"&&e.type!=="url"?(t(),l("div",N,n(e.modelValue.length)+" / "+n(e.maxLength),1)):r("",!0),f(u.$slots,"append",{},void 0,!0)])],2),e.help?(t(),l("p",z,n(e.help),1)):r("",!0),e.error?(t(),l("p",A,n(e.error),1)):r("",!0)],8,I)):(t(),l("div",{key:1,class:"relative flex flex-col",id:s(d)},[m("div",{class:h(["relative flex flex-col sm:flex-row sm:items-start gap-2 sm:gap-4 px-4 py-3 rounded-sm focus-within:ring-2 focus-within:ring-[#2EC07E] dark:focus-within:ring-offset-gray-900",e.bgClass])},[e.label?(t(),l("label",{key:0,for:s(d),class:h(["text-gray-600 dark:text-gray-300 text-sm sm:w-32 flex-shrink-0",{"pt-1":e.isTextarea}])},[y(n(e.label)+" ",1),e.required?(t(),l("span",j,"*")):r("",!0)],10,S)):r("",!0),m("div",D,[e.isTextarea?(t(),l("textarea",{key:0,id:s(d),name:a.name,value:e.modelValue,onInput:i[2]||(i[2]=o=>u.$emit("update:modelValue",o.target.value)),class:"w-full bg-transparent text-gray-900 dark:text-white outline-none placeholder:text-gray-400 dark:placeholder:text-gray-500 resize-y min-h-20",placeholder:e.placeholder,required:e.required,rows:e.rows,maxlength:e.maxLength},null,40,Q)):(t(),l("div",F,[!e.hideIcon&&e.type==="email"?(t(),x(c,{key:0,name:"heroicons:at-symbol",class:"w-5 h-5 text-gray-400 mr-2 flex-shrink-0"})):!e.hideIcon&&e.type==="url"?(t(),x(c,{key:1,name:"heroicons:globe-alt",class:"w-5 h-5 text-gray-400 mr-2 flex-shrink-0"})):r("",!0),m("input",{id:s(d),name:a.name,type:e.type==="url"?"text":e.type,value:e.modelValue,onInput:i[3]||(i[3]=o=>u.$emit("update:modelValue",o.target.value)),class:"w-full bg-transparent text-gray-900 dark:text-white outline-none placeholder:text-gray-400 dark:placeholder:text-gray-500",placeholder:e.placeholder,required:e.required,maxlength:e.maxLength,autocomplete:g.value},null,40,G)])),e.maxLength&&e.type!=="email"&&e.type!=="url"?(t(),l("div",H,n(e.modelValue.length)+" / "+n(e.maxLength),1)):r("",!0),f(u.$slots,"append",{}
1,void 0,!0)])],2),e.help?(t(),l("p",J,n(e.help),1)):r("",!0),e.error?(t(),l("p",K,n(e.error),1)):r("",!0)],8,P))}}}),U=q(M,[["__scopeId","data-v-651216d6"]]);export{U as V};

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.