{"version":3,"file":"AppBaseForm.CDpcSF2a.mjs","names":["AppBaseForm","useState","useCallback","error"],"sources":["https:/framerusercontent.com/modules/2GldMQSlHsf2xrmYNSK6/U6w9qyyiAEzYV1SyFpKi/AppBaseForm.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useCallback,useState}from\"react\";import{addPropertyControls,ControlType,withCSS,useRouter,inferInitialRouteFromPath}from\"framer\";import{motion,useAnimationControls}from\"framer-motion\";function isExternalURL(url){try{return!!new URL(url);}catch{}try{return!!new URL(`https://${url}`);}catch{}return false;}/**\n * Increment the number whenever shipping a new version to customers.\n * This will ensure that multiple versions of this component can exist\n * in the same project without css rules overlapping. Only use valid css class characters.\n */const VERSION=\"v1\";/**\n * AppBaseForm\n * By Joel Whitaker\n *\n * @framerDisableUnlink\n *\n * @framerIntrinsicWidth 300\n * @framerIntrinsicHeight 40\n *\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight any\n */const AppBaseForm=withCSS(function AppBaseForm({label,input,button,link,gap,displayAsterix,style,inputs,defaultValues,hiddenFields,onSubmit}){const[error,setError]=useState(null);const[success,setSuccess]=useState(null);const[isLoading,setLoading]=useState(false);const[focus,setFocus]=useState(null);// Input Padding\nconst{paddingPerSide:inputPaddingPerSide,paddingTop:inputPaddingTop,paddingRight:inputPaddingRight,paddingBottom:inputPaddingBottom,paddingLeft:inputPaddingLeft,padding:inputPadding,borderRadius:inputBorderRadius,borderObject:inputBorderObject,focusObject:inputFocusObject,shadowObject:inputShadowObject,height:inputHeight,fixedHeight:inputFixedHeight}=input;const{paddingPerSide:labelPaddingPerSide,paddingTop:labelPaddingTop,paddingRight:labelPaddingRight,paddingBottom:labelPaddingBottom,paddingLeft:labelPaddingLeft,padding:labelPadding,borderRadius:labelBorderRadius,borderObject:labelBorderObject,shadowObject:labelShadowObject}=label;const{buttonPaddingPerSide,buttonPaddingTop,buttonPaddingRight,buttonPaddingBottom,buttonPaddingLeft,buttonPadding}=button;const labelPaddingValue=labelPaddingPerSide?`${labelPaddingTop}px ${labelPaddingRight}px ${labelPaddingBottom}px ${labelPaddingLeft}px`:`${labelPadding}px ${labelPadding}px ${labelPadding}px ${labelPadding}px`;const inputPaddingValue=inputPaddingPerSide?`${inputPaddingTop}px ${inputPaddingRight}px ${inputPaddingBottom}px ${inputPaddingLeft}px`:`${inputPadding}px ${inputPadding}px ${inputPadding}px ${inputPadding}px`;const buttonPaddingValue=buttonPaddingPerSide?`${buttonPaddingTop}px ${buttonPaddingRight}px ${buttonPaddingBottom}px ${buttonPaddingLeft}px`:`${buttonPadding}px ${buttonPadding}px ${buttonPadding}px ${buttonPadding}px`;const router=useRouter();const replacePlaceholders=(urlTemplate,jsonData)=>{return urlTemplate===null||urlTemplate===void 0?void 0:urlTemplate.replace(/{(\\w+)}/g,function(match,key){return jsonData[key]!==undefined?jsonData[key]:match;});};const onSuccess=(message,formDataJSON)=>{/* Reset */setLoading(false);setError(null);setFocus(null);console.log(\"On Success\");if(link){const[path,hash]=link.split(\"#\");const parsedHash=replacePlaceholders(hash,formDataJSON);const{routeId,pathVariables}=inferInitialRouteFromPath(router.routes,path);if(routeId){router.navigate(routeId,parsedHash,pathVariables);}if(isExternalURL(link)){console.error(\"External redirect not supported, please contact the website owner.\");}}else{setSuccess(message||\"Success\");}};const isFocus=name=>{return focus===name;};const handleFocus=useCallback(event=>{setFocus(event.target.name);},[]);const handleBlur=useCallback(event=>{setFocus(null);setError(null);setSuccess(null);},[]);function displayError(){return!isLoading&&error;}function displaySuccess(){return!isLoading&&success;}const handleSubmit=useCallback(async event=>{event.preventDefault();// Prevent submitting while submitting\nif(isLoading)return;setLoading(true);setError(null);setSuccess(null);const formData=new FormData(event.target);const formDataJSON=Object.fromEntries(formData.entries());if(typeof onSubmit===\"function\"){try{const{ok,message}=await onSubmit(formDataJSON);if(!ok){setLoading(false);setError(message);formControls.start(\"error\");return false;}event.target.reset();onSuccess(message,formDataJSON);}catch(error){console.error(\"Error during onSubmit:\",error);}finally{setLoading(false);}}else{setLoading(false);}},[onSubmit,isLoading]);// Animation\nconst formControls=useAnimationControls();// Input Box Shadow Stylees\nconst inputFocusStylesFrom=input.focusObject?`inset 0 0 0 ${inputFocusObject.focusWidthFrom}px ${inputFocusObject.focusColor}`:null;const inputFocusStylesTo=input.focusObject?`inset 0 0 0 ${inputFocusObject.focusWidthTo}px ${inputFocusObject.focusColor}`:null;const inputShadowStyles=input.shadowObject?`${inputShadowObject.shadowX}px ${inputShadowObject.shadowY}px ${inputShadowObject.shadowBlur}px ${inputShadowObject.shadowColor}`:null;const inputBorderStyles=input.borderObject?`inset 0 0 0 ${inputBorderObject.borderWidth}px ${inputBorderObject.borderColor}`:null;// Label Border Styles\nconst labelShadowStyles=label.shadowObject?`${labelShadowObject.shadowX}px ${labelShadowObject.shadowY}px ${labelShadowObject.shadowBlur}px ${labelShadowObject.shadowColor}`:null;const labelBorderStyles=label.borderObject?`inset 0 0 0 ${labelBorderObject.borderWidth}px ${labelBorderObject.borderColor}`:null;// Shake or wiggle as error\nconst formVariants={default:{x:0},error:{x:[0,-4,4,0],transition:{duration:.2}}};const inputVariants={default:{boxShadow:dynamicBoxShadow(inputFocusStylesFrom,inputShadowStyles,inputBorderStyles)},focused:{boxShadow:dynamicBoxShadow(inputFocusStylesTo,inputShadowStyles,inputBorderStyles)}};const requiredFlag=isRequired=>{if(isRequired){return /*#__PURE__*/_jsx(\"span\",{children:\"*\"});}return null;};const baseInput=field=>{const type=(hiddenFields===null||hiddenFields===void 0?void 0:hiddenFields.includes(field.name))?\"hidden\":field.type;return /*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\"},children:[label.display&&/*#__PURE__*/_jsxs(\"label\",{htmlFor:field.name,hidden:hiddenFields===null||hiddenFields===void 0?void 0:hiddenFields.includes(field.name),style:{padding:labelPaddingValue,marginBottom:\"0.25rem\",borderRadius:labelBorderRadius,fontSize:16,...label.font,background:label.fill,color:label.color,boxShadow:dynamicBoxShadow(labelShadowStyles,labelBorderStyles)},children:[field.label,displayAsterix&&requiredFlag(field.required)]}),/*#__PURE__*/_jsx(motion.input,{type:type,name:field.name,placeholder:(field===null||field===void 0?void 0:field.placeholder)||\"\",defaultValue:defaultValues===null||defaultValues===void 0?void 0:defaultValues[field.name],className:`${VERSION} framer-custom-input`,onFocus:handleFocus,onBlur:handleBlur,autoComplete:\"off\",autoCapitalize:\"off\",autoCorrect:\"off\",spellCheck:\"false\",style:{...defaultStyle,padding:inputPaddingValue,borderRadius:inputBorderRadius,fontSize:16,...input.font,background:input.fill,height:inputHeight?\"auto\":inputFixedHeight,color:input.color,boxShadow:dynamicBoxShadow(inputFocusStylesFrom,inputShadowStyles,inputBorderStyles)},variants:inputVariants,initial:false,animate:isFocus(field.name)?\"focused\":\"default\",transition:{duration:.3}})]});};const checkboxInput=field=>{return /*#__PURE__*/_jsx(\"div\",{children:/*#__PURE__*/_jsxs(\"label\",{style:{display:\"flex\",alignItems:\"center\",fontSize:16,...label.font,background:label.fill,color:label.color},children:[/*#__PURE__*/_jsx(motion.input,{name:field.name,type:\"checkbox\",value:field.value||\"on\",required:field.required,defaultChecked:defaultValues===null||defaultValues===void 0?void 0:defaultValues[field.name],style:{margin:\"0px 8px 0px 4px\"}}),field.label]})});};const inputsHTML=inputs===null||inputs===void 0?void 0:inputs.map(field=>{if(field.type===\"checkbox\"){return checkboxInput(field);}else{return baseInput(field);}});return /*#__PURE__*/_jsx(motion.div,{style:{...style,...containerStyles,\"--framer-custom-placeholder-color\":input.placeholderColor},variants:formVariants,animate:formControls,children:/*#__PURE__*/_jsxs(\"form\",{style:{width:\"100%\",height:\"auto\",display:\"flex\",position:\"relative\",flexDirection:\"column\",color:button.color,gap:gap},onSubmit:handleSubmit,method:\"POST\",children:[inputsHTML,!button.shouldAppear&&isLoading&&/*#__PURE__*/_jsx(Spinner,{shouldAppear:button.shouldAppear,paddingPerSide:inputPaddingPerSide,paddingTop:inputPaddingTop,paddingRight:inputPaddingRight,padding:inputPadding,color:input.color}),/*#__PURE__*/_jsxs(\"div\",{children:[button.shouldAppear&&/*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\"},children:[/*#__PURE__*/_jsx(motion.input,{type:\"submit\",value:button.label,style:{...defaultStyle,width:\"100%\",height:inputHeight?\"100%\":inputFixedHeight,cursor:\"pointer\",padding:buttonPaddingValue,borderRadius:inputBorderRadius,fontSize:16,...button.buttonFont,background:button.fill,color:button.color,zIndex:1,boxShadow:getButtonShadow(button)}}),isLoading&&/*#__PURE__*/_jsx(\"div\",{style:{borderRadius:inputBorderRadius,position:\"absolute\",display:\"flex\",justifyContent:\"center\",alignItems:\"center\",width:\"100%\",height:\"100%\",inset:0,zIndex:2,color:button.color,background:button.fill},children:/*#__PURE__*/_jsx(Spinner,{color:button.color})})]}),/*#__PURE__*/_jsx(motion.div,{animate:{scale:displaySuccess()?1:0,opacity:displaySuccess()?1:0,height:displaySuccess()?\"auto\":0},initial:{scale:0,opacity:0,height:0},transition:{duration:.5},children:/*#__PURE__*/_jsx(\"div\",{style:{paddingTop:gap},children:/*#__PURE__*/_jsx(\"div\",{style:{...successStyle,borderRadius:inputBorderRadius},children:success})})}),/*#__PURE__*/_jsx(motion.div,{animate:{scale:displayError()?1:0,opacity:displayError()?1:0,height:displayError()?\"auto\":0},initial:{scale:0,opacity:0,height:0},transition:{duration:.5},children:/*#__PURE__*/_jsx(\"div\",{style:{paddingTop:gap},children:/*#__PURE__*/_jsx(\"div\",{style:{...errorStyle,borderRadius:inputBorderRadius},children:error})})})]})]})});},[`.${VERSION}.framer-custom-input::placeholder { color: var(--framer-custom-placeholder-color) !important; }`]);const Spinner=props=>{const noButtonStyles=!props.shouldAppear?{position:\"absolute\",top:`calc(50% - 8px)`,right:props.paddingPerSide?props.paddingRight:props.padding}:{};return /*#__PURE__*/_jsx(motion.div,{style:{height:16,width:16,...noButtonStyles},initial:{rotate:0},animate:{rotate:360},transition:{duration:1,repeat:Infinity},children:/*#__PURE__*/_jsx(motion.div,{initial:{scale:0},animate:{scale:1},children:/*#__PURE__*/_jsxs(\"svg\",{xmlns:\"http://www.w3.org/2000/svg\",width:\"16\",height:\"16\",style:{fill:\"currentColor\",color:props.color},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\"})]})})});};const basePropertyControls={link:{title:\"Redirect\",type:ControlType.Link},label:{title:\"Label\",type:ControlType.Object,controls:{display:{type:ControlType.Boolean,title:\"Show\",defaultValue:true},font:{type:ControlType.Font,title:\"Font\",controls:\"extended\"},fill:{title:\"Fill\",type:ControlType.Color,defaultValue:\"transparent\"},color:{title:\"Text\",type:ControlType.Color,defaultValue:\"#000\"},padding:{title:\"Padding\",type:ControlType.FusedNumber,toggleKey:\"paddingPerSide\",toggleTitles:[\"Padding\",\"Padding per side\"],valueKeys:[\"paddingTop\",\"paddingRight\",\"paddingBottom\",\"paddingLeft\"],valueLabels:[\"T\",\"R\",\"B\",\"L\"],min:0},borderRadius:{title:\"Radius\",type:ControlType.Number,displayStepper:true,min:0},shadowObject:{type:ControlType.Object,title:\"Shadow\",optional:true,controls:{shadowColor:{title:\"Color\",type:ControlType.Color},shadowX:{title:\"Shadow X\",type:ControlType.Number,min:-100,max:100},shadowY:{title:\"Shadow Y\",type:ControlType.Number,min:-100,max:100},shadowBlur:{title:\"Shadow B\",type:ControlType.Number,min:0,max:100}}}}},input:{title:\"Input\",type:ControlType.Object,controls:{font:{type:ControlType.Font,title:\"Font\",controls:\"extended\"},placeholderColor:{title:\" \",type:ControlType.Color,defaultValue:\"rgba(0, 0, 0, 0.3)\"},fill:{title:\"Fill\",type:ControlType.Color,defaultValue:\"#EBEBEB\"},color:{title:\"Text\",type:ControlType.Color,defaultValue:\"#000\"},height:{title:\"Height\",type:ControlType.Boolean,enabledTitle:\"Auto\",disabledTitle:\"Fixed\"},fixedHeight:{title:\" \",type:ControlType.Number,displayStepper:true,min:0,defaultValue:50,hidden:props=>props.height},padding:{title:\"Padding\",type:ControlType.FusedNumber,toggleKey:\"paddingPerSide\",toggleTitles:[\"Padding\",\"Padding per side\"],defaultValue:15,valueKeys:[\"paddingTop\",\"paddingRight\",\"paddingBottom\",\"paddingLeft\"],valueLabels:[\"T\",\"R\",\"B\",\"L\"],min:0},borderRadius:{title:\"Radius\",type:ControlType.Number,displayStepper:true,min:0,defaultValue:8},focusObject:{type:ControlType.Object,title:\"Focus\",optional:true,controls:{focusWidthFrom:{title:\"From\",type:ControlType.Number,displayStepper:true,defaultValue:0},focusWidthTo:{title:\"To\",type:ControlType.Number,displayStepper:true,defaultValue:2},focusColor:{title:\"Color\",type:ControlType.Color,defaultValue:\"#09F\"}}},borderObject:{type:ControlType.Object,title:\"Border\",optional:true,controls:{borderWidth:{title:\"Width\",type:ControlType.Number,displayStepper:true,defaultValue:1},borderColor:{title:\"Color\",type:ControlType.Color,defaultValue:\"rgba(200,200,200,0.5)\"}}},shadowObject:{type:ControlType.Object,title:\"Shadow\",optional:true,controls:{shadowColor:{title:\"Color\",type:ControlType.Color,defaultValue:\"rgba(0,0,0,0.25)\"},shadowX:{title:\"Shadow X\",type:ControlType.Number,min:-100,max:100,defaultValue:0},shadowY:{title:\"Shadow Y\",type:ControlType.Number,min:-100,max:100,defaultValue:2},shadowBlur:{title:\"Shadow B\",type:ControlType.Number,min:0,max:100,defaultValue:4}}}}},button:{title:\"Button\",type:ControlType.Object,controls:{shouldAppear:{title:\"Show\",type:ControlType.Boolean,defaultValue:true},label:{title:\"Label\",type:ControlType.String,defaultValue:\"Submit\"},buttonFont:{type:ControlType.Font,title:\"Font\",controls:\"extended\"},fill:{title:\"Fill\",type:ControlType.Color,defaultValue:\"#333\"},color:{title:\"Text\",type:ControlType.Color,defaultValue:\"#FFF\"},buttonPadding:{title:\"Padding\",type:ControlType.FusedNumber,toggleKey:\"buttonPaddingPerSide\",toggleTitles:[\"Padding\",\"Padding per side\"],defaultValue:15,valueKeys:[\"buttonPaddingTop\",\"buttonPaddingRight\",\"buttonPaddingBottom\",\"buttonPaddingLeft\"],valueLabels:[\"T\",\"R\",\"B\",\"L\"],min:0},buttonShadow:{type:ControlType.Object,title:\"Shadow\",optional:true,controls:{shadowColor:{title:\"Color\",type:ControlType.Color,defaultValue:\"rgba(0,0,0,0.25)\"},shadowX:{title:\"Shadow X\",type:ControlType.Number,min:-100,max:100,defaultValue:0},shadowY:{title:\"Shadow Y\",type:ControlType.Number,min:-100,max:100,defaultValue:2},shadowBlur:{title:\"Shadow B\",type:ControlType.Number,min:0,max:100,defaultValue:4}}}}},gap:{title:\"Gap\",type:ControlType.Number,displayStepper:true,min:0,defaultValue:10}};addPropertyControls(AppBaseForm,basePropertyControls);const defaultStyle={WebkitAppearance:\"none\",appearance:\"none\",width:\"100%\",height:\"auto\",outline:\"none\",border:\"none\"};const containerStyles={position:\"relative\",width:\"100%\",height:\"100%\",display:\"flex\",justifyContent:\"center\",alignItems:\"center\"};const successStyle={padding:\"1rem\",color:\"#000000\",fontSize:\"16px\",backgroundColor:\"#F1F3F4\"};const errorStyle={padding:\"1rem\",color:\"#FFFFFF\",fontSize:\"16px\",backgroundColor:\"#E02424\"};function getButtonShadow(button){if(button.buttonShadow){return`${button.buttonShadow.shadowX}px ${button.buttonShadow.shadowY}px ${button.buttonShadow.shadowBlur}px ${button.buttonShadow.shadowColor}`;}else return\"none\";}function dynamicBoxShadow(...shadows){const output=[];shadows.forEach(shadow=>shadow&&output.push(shadow));return output.join(\", \");}export default AppBaseForm;export{basePropertyControls};\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"AppBaseForm\",\"slots\":[],\"annotations\":{\"framerIntrinsicWidth\":\"300\",\"framerDisableUnlink\":\"*\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerIntrinsicHeight\":\"40\",\"framerSupportedLayoutHeight\":\"any\",\"framerContractVersion\":\"1\"}},\"basePropertyControls\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"Input\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./AppBaseForm.map"],"mappings":"uQAAwP,SAAS,GAAc,EAAI,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,IAAI,IAAI,EAAI,MAAO,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC,IAAI,IAAI,WAAW,IAAM,MAAO,EAAE,MAAO,GAqBkvT,SAAS,GAAgB,EAAO,CAAgL,OAA5K,EAAO,aAAoB,GAAG,EAAO,aAAa,QAAQ,KAAK,EAAO,aAAa,QAAQ,KAAK,EAAO,aAAa,WAAW,KAAK,EAAO,aAAa,cAA0B,OAAQ,SAAS,EAAiB,GAAG,EAAQ,CAAC,IAAM,EAAO,EAAE,CAAsD,OAArD,EAAQ,QAAQ,GAAQ,GAAQ,EAAO,KAAK,EAAO,CAAC,CAAQ,EAAO,KAAK,KAAK,oCArBp4U,IAAwC,IAAgG,IAAuD,CAI/O,EAAQ,KAWR,EAAY,EAAQ,SAAqB,CAAC,QAAM,QAAM,SAAO,OAAK,MAAI,iBAAe,QAAM,SAAO,gBAAc,eAAa,YAAU,CAAC,GAAK,CAAC,EAAM,GAAUC,EAAS,KAAK,CAAM,CAAC,EAAQ,GAAYA,EAAS,KAAK,CAAM,CAAC,EAAU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