import{c as u}from"./helpers-DDTkKuvc.js";const p=[{label:"Auswahl 01",value:"1"},{label:"Auswahl 02",value:"2"},{label:"Auswahl 03",value:"3"},{label:"Auswahl 04",value:"4"}],h=({classes:l="",selected:r=-1,options:s=p,id:i="username",name:c="username",isRequired:o=!0,placeholder:a="Bitte wählen"})=>{const e=u("select",l&&l.length>0?l.split(" "):[]);if(e.id=i,e.name=c,o&&(e.required=!0),a&&a.length>0){const t=u("option",[],a,e);t.disabled=!0,t.selected=!0}return s.map((t,m)=>{const n=u("option",[],t.label,e);n.value=t.value,m===r&&(n.selected=!0)}),e};export{p as I,h as c};
