import{c as l}from"./helpers-DDTkKuvc.js";const _=({text:a="Benutzername",forAttribute:t="name",isRequired:i=!1,isHidden:r=!1,labelType:f="not-set"})=>{let e;if(f==="text"){if(e=l("label",["mwf-textinput__label"],a),e.htmlFor=t,i){const m=l("span",["mwf-textinput__required","mwf-required"],"*",e);m.title="Pflichtfeld"}}else if(f==="checkbox")e=l("label",["mwf-checkbox__label"]),e.htmlFor=t,l("span",["mwf-checkbox__text"],a,e);else if(f==="radio")e=l("label",["mwf-radio__label"]),e.htmlFor=t,l("span",["mwf-radio__text"],a,e);else if(f==="select"){if(e=l("label",["mwf-select__label"],a),e.htmlFor=t,i){const m=l("span",["mwf-select__required","mwf-required"],"*",e);m.title="Pflichtfeld"}}else if(f==="textarea"){if(e=l("label",["mwf-textarea__label"],a),e.htmlFor=t,i){const m=l("span",["mwf-textarea__required","mwf-required"],"*",e);m.title="Pflichtfeld"}}else e=l("label",["mwf-textinput__label"],a),e.htmlFor=t;return e};export{_ as c};
