import{c as S}from"./FormElementComponent-C16iBOay.js";import"./helpers-DDTkKuvc.js";import"./iframe-DSGyX7_4.js";import"./preload-helper-C1FmrZbK.js";import"./ButtonComponent-C1nc5If8.js";import"./LabelComponent-Dk2fHkbf.js";import"./InputCheckboxRadioComponent-B1PHywwJ.js";import"./InputSelectComponent-Dm-3RQBo.js";const R={title:"Components/Form Element",args:{inputType:"text"},argTypes:{inputType:{control:"select",options:["text","checkbox","radio","select","password","textarea"]}}},n=({...y})=>S({...y}),e=n.bind({});e.args={placeholder:"Platzhalter"};const r=n.bind({});r.args={inputType:"checkbox",label:'Ich akzeptiere die <a href="#">Datenschutzbestimmungen</a>.'};const t=n.bind({});t.args={inputType:"radio",label:"Option 1"};const a=n.bind({});a.args={inputType:"select",label:"Auswahl"};const o=n.bind({});o.args={inputType:"textarea",label:"Ihre Nachricht"};var s,m,c;e.parameters={...e.parameters,docs:{...(s=e.parameters)==null?void 0:s.docs,source:{originalSource:`({
  ...args
}) => {
  return createFormElement({
    ...args
  });
}`,...(c=(m=e.parameters)==null?void 0:m.docs)==null?void 0:c.source}}};var p,l,i;r.parameters={...r.parameters,docs:{...(p=r.parameters)==null?void 0:p.docs,source:{originalSource:`({
  ...args
}) => {
  return createFormElement({
    ...args
  });
}`,...(i=(l=r.parameters)==null?void 0:l.docs)==null?void 0:i.source}}};var u,d,g;t.parameters={...t.parameters,docs:{...(u=t.parameters)==null?void 0:u.docs,source:{originalSource:`({
  ...args
}) => {
  return createFormElement({
    ...args
  });
}`,...(g=(d=t.parameters)==null?void 0:d.docs)==null?void 0:g.source}}};var E,F,b;a.parameters={...a.parameters,docs:{...(E=a.parameters)==null?void 0:E.docs,source:{originalSource:`({
  ...args
}) => {
  return createFormElement({
    ...args
  });
}`,...(b=(F=a.parameters)==null?void 0:F.docs)==null?void 0:b.source}}};var x,h,T;o.parameters={...o.parameters,docs:{...(x=o.parameters)==null?void 0:x.docs,source:{originalSource:`({
  ...args
}) => {
  return createFormElement({
    ...args
  });
}`,...(T=(h=o.parameters)==null?void 0:h.docs)==null?void 0:T.source}}};const A=["TextFormElement","CheckboxFormElement","RadioFormElement","SelectFormElement","TextareaFormElement"];export{r as CheckboxFormElement,t as RadioFormElement,a as SelectFormElement,e as TextFormElement,o as TextareaFormElement,A as __namedExportsOrder,R as default};
