{"version":3,"file":"FormSpark_2.CNDIaJoY.mjs","names":["useState","useMemo","useCallback"],"sources":["https:/framerusercontent.com/modules/uUvGkP3BMeGydHX5889h/nBQjyMXfixJyWKNDZNzP/FormSpark_2.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";import{containerStyles,usePadding,useRadius,paddingControl,borderRadiusControl,fontControls,useFontControls}from\"https://framer.com/m/framer/default-utils.js@^0.45.0\";import{useCallback,useMemo,useState}from\"react\";const emailRegex=/^(([^<>()[\\]\\\\.,;:\\s@\"]+(\\.[^<>()[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/;const validateEmail=email=>{return emailRegex.test(String(email).toLowerCase());};// ✅ Basic phone validation (optional):\n// - erlaubt Zahlen, Leerzeichen, +, (), -, /\n// - min. 6 Zeichen\nconst phoneRegex=/^[0-9+()\\/\\s-]{6,}$/;const validatePhone=phone=>phoneRegex.test(String(phone));const FormSpark=({formId,withName,nameField:name,withEmail,email,withPhone,phone,withMessage,message,layout,inputs,button,style,gap,onSubmit,...props})=>{const[nameValue,setName]=useState(name?.value);const[emailValue,setEmail]=useState(email?.value);const[phoneValue,setPhone]=useState(phone?.value)// ✅ neu\n;const[messageValue,setMessage]=useState(message?.value);const[isNameError,setNameError]=useState(false);const[isEmailError,setEmailError]=useState(false);const[isPhoneError,setPhoneError]=useState(false)// ✅ neu\n;const[isMessageError,setMessageError]=useState(false);const[isLoading,setLoading]=useState(false);const[isSuccess,setSuccess]=useState(false);const[isPrivacyChecked,setPrivacyChecked]=useState(false);const[isPrivacyError,setPrivacyError]=useState(false);const isCanvas=useMemo(()=>{return RenderTarget.current()===RenderTarget.canvas;},[]);const gridTemplateRows=useMemo(()=>{const rows=[];// ✅ angepasst: falls irgend eins der oberen Felder aktiv ist\nif(withName||withEmail||withPhone||withMessage){rows.push(\"max-content\");}if(withMessage){rows.push(\"1fr\");}return[...rows,\"max-content\"].join(\" \");},[withName,withEmail,withPhone,withMessage]);const gridTemplateColumns=useMemo(()=>{if(layout===\"horizontal\"&&!withMessage&&(withName&&!withEmail&&!withPhone||withEmail&&!withName&&!withPhone||withPhone&&!withName&&!withEmail)){return\"1fr max-content\";}return\"1fr\";},[withName,withEmail,withPhone,withMessage,layout]);const{fontFamily,fontSize,fontWeight}=useFontControls(props);const borderRadius=useRadius(props);const paddingValue=usePadding(props);const validateForm=useCallback(()=>{let error=false;setNameError(false);setEmailError(false);setPhoneError(false)// ✅ neu\n;setMessageError(false);setPrivacyError(false);if(withName&&!nameValue){setNameError(true);error=true;}if(withEmail&&(!emailValue||!validateEmail(emailValue))){setEmailError(true);error=true;}// ✅ Telefon ist OPTIONAL: nur prüfen, wenn Feld aktiv UND ausgefüllt,\n// damit du es nicht verpflichtend machst.\n// Wenn du es verpflichtend willst: \"if (withPhone && !phoneValue) ...\"\nif(withPhone&&phoneValue&&!validatePhone(phoneValue)){setPhoneError(true);error=true;}if(withMessage&&!messageValue){setMessageError(true);error=true;}if(!isPrivacyChecked){setPrivacyError(true);error=true;}return error;},[withName,withEmail,withPhone,withMessage,nameValue,emailValue,phoneValue,messageValue,isPrivacyChecked]);const handleSubmit=useCallback(event=>{setLoading(true);event.preventDefault();if(validateForm()){setLoading(false);}else{const data=new FormData(event.target);const entries=Object.fromEntries(data.entries());fetch(`https://api.formspark.io/${formId}`,{method:\"POST\",headers:{\"Content-Type\":\"application/json\",Accept:\"application/json\"},body:JSON.stringify(entries)}).then(()=>{setSuccess(true);onSubmit?.();}).catch(()=>setLoading(false));}},[formId,onSubmit,validateForm]);const handleNameChange=useCallback(event=>{setNameError(false);setName(event.target.value);},[]);const handleEmailChange=useCallback(event=>{setEmailError(false);setEmail(event.target.value);},[]);const handlePhoneChange=useCallback(event=>{setPhoneError(false);setPhone(event.target.value);},[]);const handleMessageChange=useCallback(event=>{setMessageError(false);setMessage(event.target.value);},[]);const handlePrivacyChange=useCallback(event=>{setPrivacyError(false);setPrivacyChecked(event.target.checked);},[]);return /*#__PURE__*/_jsx(\"div\",{style:{...style,...containerStyles,flexDirection:\"column\",\"--framer-formspark-placeholder-color\":inputs.placeholderColor},children:isSuccess?/*#__PURE__*/_jsx(\"div\",{style:{height:\"60px\",width:\"60px\",background:button.fill,color:button.color,borderRadius:\"50%\",display:\"flex\",justifyContent:\"center\",alignItems:\"center\"},children:/*#__PURE__*/_jsx(\"svg\",{xmlns:\"http://www.w3.org/2000/svg\",width:\"28\",height:\"28\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M 2 14 L 10 22 L 26 6\",fill:\"transparent\",strokeWidth:\"4\",stroke:\"currentColor\",strokeLinecap:\"round\"})})}):/*#__PURE__*/_jsxs(\"form\",{style:{display:\"grid\",gridTemplateRows,gridTemplateColumns,gap,width:\"100%\",height:\"100%\"},onSubmit:handleSubmit,method:\"POST\",children:[(withName||withEmail||withPhone)&&/*#__PURE__*/_jsxs(\"div\",{style:{width:\"100%\",display:\"grid\",gridAutoFlow:layout===\"horizontal\"?\"column\":\"row\",gap},children:[withName&&/*#__PURE__*/_jsx(\"input\",{className:\"framer-formspark-input\",type:\"text\",name:\"name\",placeholder:name.placeholder,autoComplete:\"name\",value:isCanvas?name.value:nameValue,onChange:handleNameChange,style:{...defaultStyle,padding:paddingValue,borderRadius,fontFamily,fontWeight,fontSize,background:inputs.fill,color:inputs.color,boxShadow:`inset 0 0 0 1px ${isNameError?inputs.error:\"transparent\"}`}}),withEmail&&/*#__PURE__*/_jsx(\"input\",{className:\"framer-formspark-input\",type:\"email\",name:\"email\",placeholder:email.placeholder,autoComplete:\"email\",value:isCanvas?email.value:emailValue,onChange:handleEmailChange,style:{...defaultStyle,padding:paddingValue,borderRadius,fontFamily,fontWeight,fontSize,background:inputs.fill,color:inputs.color,boxShadow:`inset 0 0 0 1px ${isEmailError?inputs.error:\"transparent\"}`}}),withPhone&&/*#__PURE__*/_jsx(\"input\",{className:\"framer-formspark-input\",type:\"tel\",name:\"phone\",placeholder:phone.placeholder,autoComplete:\"tel\",value:isCanvas?phone.value:phoneValue,onChange:handlePhoneChange,style:{...defaultStyle,padding:paddingValue,borderRadius,fontFamily,fontWeight,fontSize,background:inputs.fill,color:inputs.color,boxShadow:`inset 0 0 0 1px ${isPhoneError?inputs.error:\"transparent\"}`}})]}),withMessage&&/*#__PURE__*/_jsx(\"textarea\",{className:\"framer-formspark-input\",placeholder:message.placeholder,name:\"message\",value:isCanvas?message.value:messageValue,onChange:handleMessageChange,style:{...defaultStyle,minHeight:0,padding:paddingValue,resize:\"vertical\",borderRadius,background:inputs.fill,fontFamily,fontWeight,fontSize,color:inputs.color,boxShadow:`inset 0 0 0 1px ${isMessageError?inputs.error:\"transparent\"}`}}),/*#__PURE__*/_jsxs(\"label\",{style:{color:inputs.color,marginTop:\"10px\"},children:[/*#__PURE__*/_jsx(\"input\",{type:\"checkbox\",name:\"privacy\",checked:isPrivacyChecked,onChange:handlePrivacyChange,style:{marginRight:\"10px\"}}),\"Ich habe die\",\" \",/*#__PURE__*/_jsx(\"a\",{href:\"/datenschutzerklaerung\",target:\"_blank\",style:{color:inputs.color,textDecoration:\"underline\"},children:\"Datenschutzerkl\\xe4rung\"}),\" \",\"gelesen und stimme zu, dass meine Angaben zur Kontaktaufnahme und f\\xfcr R\\xfcckfragen gespeichert werden.\"]}),isPrivacyError&&/*#__PURE__*/_jsx(\"div\",{style:{color:\"red\",marginTop:\"10px\"},children:\"Bitte akzeptieren Sie die Datenschutzerkl\\xe4rung.\"}),/*#__PURE__*/_jsxs(\"div\",{children:[/*#__PURE__*/_jsx(\"input\",{type:\"submit\",value:button.label,disabled:!isPrivacyChecked,style:{...defaultStyle,borderRadius,padding:paddingValue,fontFamily,fontWeight:button.fontWeight,fontSize,background:button.fill,cursor:\"pointer\",color:button.color,zIndex:1}}),isLoading&&/*#__PURE__*/_jsx(\"div\",{style:{borderRadius,position:\"absolute\",display:\"flex\",justifyContent:\"center\",alignItems:\"center\",width:\"100%\",height:\"100%\",left:0,top:0,zIndex:2,color:button.color,background:button.fill},children:/*#__PURE__*/_jsx(\"div\",{style:{height:16,width:16},className:\"spinner\",children:/*#__PURE__*/_jsxs(\"svg\",{xmlns:\"http://www.w3.org/2000/svg\",width:\"16\",height:\"16\",children:[/*#__PURE__*/_jsx(\"path\",{d:\"M 8 0 C 3.582 0 0 3.582 0 8 C 0 12.419 3.582 16 8 16 C 12.418 16 16 12.419 16 8 C 15.999 3.582 12.418 0 8 0 Z M 8 14 C 4.687 14 2 11.314 2 8 C 2 4.687 4.687 2 8 2 C 11.314 2 14 4.687 14 8 C 14 11.314 11.314 14 8 14 Z\",fill:\"currentColor\",opacity:\"0.2\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M 8 0 C 12.418 0 15.999 3.582 16 8 C 16 8 16 9 15 9 C 14 9 14 8 14 8 C 14 4.687 11.314 2 8 2 C 4.687 2 2 4.687 2 8 C 2 8 2 9 1 9 C 0 9 0 8 0 8 C 0 3.582 3.582 0 8 0 Z\",fill:\"currentColor\"})]})})})]})]})});};FormSpark.defaultProps={fontSize:16,fontFamily:\"Inter\",fontWeight:400,padding:15,paddingTop:15,paddingBottom:15,paddingLeft:15,paddingRight:15,borderRadius:8,topLeftRadius:8,topRightRadius:8,bottomRightRadius:8,bottomLeftRadius:8,gap:15,nameField:{value:undefined,placeholder:\"Name\"},email:{value:undefined,placeholder:\"Email\"},phone:{value:undefined,placeholder:\"Telefon\"},message:{value:undefined,placeholder:\"Message\"},inputs:{fill:\"#EBEBEB\",color:\"#000\",placeholderColor:\"rgba(0, 0, 0, 0.5)\",error:\"#EE4444\"},layout:{fill:\"#EBEBEB\",color:\"#000\",placeholderColor:\"rgba(0, 0, 0, 0.5)\",error:\"#EE4444\"},button:{label:\"Nachricht absenden\",fontWeight:600,fill:\"#000\",color:\"#FFF\"}};addPropertyControls(FormSpark,{formId:{title:\"ID\",placeholder:\"7PbPpGN3\",type:ControlType.String,description:\"Create a [FormSpark](https://formspark.io/) account, add a new form and copy its ID. [Learn more…](https://www.framer.com/sites/integrations/formspark/)\"},withName:{title:\"Name\",type:ControlType.Boolean,enabledTitle:\"Show\",disabledTitle:\"Hide\",defaultValue:true},nameField:{title:\" \",type:ControlType.Object,controls:{placeholder:{title:\"Placeholder\",type:ControlType.String,defaultValue:\"Name\"},value:{title:\"Value\",type:ControlType.String,defaultValue:\"\"}},hidden:props=>!props.withName},withEmail:{title:\"Email\",type:ControlType.Boolean,enabledTitle:\"Show\",disabledTitle:\"Hide\",defaultValue:true},email:{title:\" \",type:ControlType.Object,controls:{placeholder:{title:\"Placeholder\",type:ControlType.String,defaultValue:\"Email\"},value:{title:\"Value\",type:ControlType.String}},hidden:props=>!props.withEmail},// ✅ neu: Telefon Controls\nwithPhone:{title:\"Telefon\",type:ControlType.Boolean,enabledTitle:\"Show\",disabledTitle:\"Hide\",defaultValue:true},phone:{title:\" \",type:ControlType.Object,controls:{placeholder:{title:\"Placeholder\",type:ControlType.String,defaultValue:\"Telefon\"},value:{title:\"Value\",type:ControlType.String}},hidden:props=>!props.withPhone},withMessage:{title:\"Message\",type:ControlType.Boolean,enabledTitle:\"Show\",disabledTitle:\"Hide\",defaultValue:true},message:{title:\" \",type:ControlType.Object,controls:{placeholder:{title:\"Placeholder\",type:ControlType.String,defaultValue:\"Message\"},value:{title:\"Value\",type:ControlType.String}},hidden:props=>!props.withMessage},layout:{title:\"Layout\",type:ControlType.Enum,options:[\"horizontal\",\"vertical\"],displaySegmentedControl:true,defaultValue:\"horizontal\"},inputs:{title:\"Inputs\",type:ControlType.Object,controls:{fill:{title:\"Fill\",type:ControlType.Color,defaultValue:\"#EBEBEB\"},color:{title:\"Text\",type:ControlType.Color,defaultValue:\"#000\"},placeholderColor:{title:\"Placeholder\",type:ControlType.Color,defaultValue:\"rgba(0, 0, 0, 0.5)\"},error:{title:\"Error\",type:ControlType.Color,defaultValue:\"#EE4444\"}}},button:{title:\"Button\",type:ControlType.Object,controls:{label:{title:\"Label\",type:ControlType.String,defaultValue:\"Nachricht absenden\"},fontWeight:{...fontControls.fontWeight,defaultValue:600},fill:{title:\"Fill\",type:ControlType.Color,defaultValue:\"#000\"},color:{title:\"Text\",type:ControlType.Color,defaultValue:\"#FFF\"}}},...fontControls,fontSize:{title:\"Font Size\",type:ControlType.Number,displayStepper:true,defaultValue:16},...paddingControl,...borderRadiusControl,gap:{title:\"Gap\",type:ControlType.Number,displayStepper:true,min:0},onSubmit:{type:ControlType.EventHandler}});const defaultStyle={WebkitAppearance:\"none\",display:\"inline-block\",width:\"100%\",lineHeight:\"1.4em\",outline:\"none\",border:\"none\"};export default FormSpark;\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FormSpark\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./FormSpark_2.map"],"mappings":"8UAAyD,IAAiE,IAAuK,IAAgD,CAAM,EAAW,wJAA8J,EAAc,GAAe,EAAW,KAAK,OAAO,EAAM,CAAC,aAAa,CAAC,CAGnkB,EAAW,sBAA4B,EAAc,GAAO,EAAW,KAAK,OAAO,EAAM,CAAC,CAAO,GAAW,CAAC,SAAO,WAAS,UAAU,EAAK,YAAU,QAAM,YAAU,QAAM,cAAY,UAAQ,SAAO,SAAO,SAAO,QAAM,MAAI,WAAS,GAAG,KAAS,CAAC,GAAK,CAAC,EAAU,GAASA,EAAS,GAAM,MAAM,CAAM,CAAC,EAAW,IAAUA,EAAS,GAAO,MAAM,CAAM,CAAC,EAAW,GAAUA,EAAS,GAAO,MAAM,CACvY,CAAC,EAAa,GAAYA,EAAS,GAAS,MAAM,CAAM,CAAC,EAAY,GAAcA,EAAS,GAAM,CAAM,CAAC,GAAa,GAAeA,EAAS,GAAM,CAAM,CAAC,GAAa,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