1import{d as C,f as i,g as l,F as g,r as j,o,t,i as L,_ as z}from"./DrCUfG-M.js";const B={key:0,class:"flex flex-row flex-wrap gap-4 lg:w-6/12 md:w-10/12 mx-auto my-12 lg:justify-center md:justify-start px-4"},F={key:0,class:"field-block"},M=["for"],P=["id","v-model"],T={key:1,class:"field-block"},N=["for"],S=["id","v-model"],V={key:2,class:"field-block"},W=["for"],D=["id","v-model"],E=["value"],H={key:3},I=["for"],q={key:4},A={key:5},G=["for"],J={key:6,class:"field-block"},K=["for"],O=["id","v-model"],Q={key:7},R={for:"item.field.id",class:"custom-file-upload"},U={key:8},X={key:9},Y={key:10},Z={key:11},$={key:1},ee=C({__name:"T3CePowermail_pi1",props:{data:{},header:{},headerLayout:{},headerPosition:{},headerLink:{},subheader:{},uid:{},index:{},appearance:{}},setup(le){return(s,d)=>s.data.form.fields.pages.length>0?(o(),i("div",B,[l("form",{class:"w-full flex flex-col gap-4",id:"",onSubmit:d[0]||(d[0]=()=>{}),action:"",method:"post"},[(o(!0),i(g,null,j(s.data.form.fields.pages[1].fields,(e,de)=>{var a,r,f,p,u,y,_,b,c,v,k,h,m,x,w;return o(),i("div",{class:"",key:e.field.id},[e.field.type==="text"?(o(),i("div",F,[l("label",{class:"label",for:e.field.id},t((r=(a=e.field)==null?void 0:a.label)==null?void 0:r.title),9,M),l("input",{id:e.field.id,"v-model":s.name,type:"text",name:"name"},null,8,P)])):e.field.type==="textarea"?(o(),i("div",T,[l("label",{class:"label",for:e.field.id},t((p=(f=e.field)==null?void 0:f.label)==null?void 0:p.title),9,N),l("input",{id:e.field.id,"v-model":s.description,type:"textarea",name:"description"},null,8,S)])):e.field.type==="select"?(o(),i("div",V,[l("label",{class:"label",for:e.field.id},t((y=(u=e.field)==null?void 0:u.label)==null?void 0:y.title),9,W),l("select",{id:e.field.id,"v-model":s.description,name:"description"},[d[1]||(d[1]=l("option",{disabled:"",value:""},"Wybierz jednÄ
opcjÄ",-1)),(o(!0),i(g,null,j((_=e.field)==null?void 0:_.options,n=>(o(),i("option",{key:n.value,value:n.value},t(n.label||n.value),9,E))),128))],8,D)])):e.field.type==="checkbox"?(o(),i("div",H,[l("label",{class:"label",for:e.field.id},t((c=(b=e.field)==null?void 0:b.label)==null?void 0:c.title),9,I),d[2]||(d[2]=l("input",{type:"checkbox",name:"agree"},null,-1))])):e.field.type==="check"?(o(),i("div",q)):e.field.type==="date"?(o(),i("div",A,[l("label",{for:e.field.id},t((k=(v=e.field)==null?void 0:v.label)==null?void 0:k.title),9,G),d[3]||(d[3]=l("input",{type:"datetime-local",name:"datetime"},null,-1))])):e.field.type==="email"?(o(),i("div",J,[l("label",{class:"label",for:e.field.id},t((m=(h=e.field)==null?void 0:h.label)==null?void 0:m.title),9,K),l("input",{id:e.field.id,"v-model":s.email,type:"email",name:"email"},null,8,O)])):e.field.type==="file"?(o(),i("div",Q,[l("label",R,t((w=(x=e.field)==null?void 0:x.label)==null?void 0:w.title),1),d[4]||(d[4]=l("input",{id:"item.field.id",type:"file"},null,-1))])):e.field.type==="hidden"?(o(),i("div",U,d[5]||(d[5]=[l("p",null,"hidden",-1)]))):e.field.type==="submit"?(o(),i("div",X,d[6]||(d[6]=[l("button",{type:"submit",class:"form-btn"},[L(" WyÅlij zgÅoszenie "),l("i",null,[l("svg",{width:"40",height:"40",viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[l("path",{d:"M7.82422 20H30.4329M30.4329 20L23.9733 26.087M30.4329 20L23.9733 13.9131",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}),l("circle",{cx:"20",cy:"20",r:"19",stroke:"currentColor","stroke-width":"2"})])])],-1)]))):e.field.type==="url"?(o(),i("div",Y,d[7]||(d[7]=[l("p",null,"url",-1)]))):(o(),i("div",Z,d[8]||(d[8]=[l("p",null,"other type",-1)])))])}),128))],32)])):(o(),i("div",$,d[9]||(d[9]=[l("p",null," Formularz nie posiada żadnych pól! ",-1)])))}}),oe=z(ee,[["__scopeId","data-v-cbbfa6ed"]]);export{oe 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.