{"version":3,"file":"SignUp.CfdYJfE1.mjs","names":["useProject","useUser","useState","useMemo","signUp","__esmMin","init_ssg_sandbox_shims","window","_e","pe","p","ce","init_npm_react_18_3_1","withCSS","init_framer_DxfB3JJo","addPropertyControls","ControlType","W","init_framerauth","Kn","fn","safeParseCustomFields","init_BaseForm","basePropertyControls","BaseForm","baseInputs","formId","defaultButtonLabel","buttonLabelKey","SignUp","validatePassword","snakeToCamel","inputsPropertyControls","exportBasePropertyControls","init_SignUp","init_jsx_runtime","baseProps","projectLoading","customFields","setCustomFields","isDisabled","user","fetchProject","project","safeCustomFields","field","inputs","setInputs","input","buttonProps","passwordValidationShadowStyles","passwordValidation","setPasswordValidation","newInputs","inputControlName","inputField","render","hidden","displayName","placeholder","renderValidationMessage","isValid","message","handleOnChange","onSubmit","customInputFieldFormData","formData","customInputFormData","value","customField","validateResult","v","signUpData","formMarkup","refinedCustomFields","refinedFields","refinedField","overrides","customFieldDefaultValues","defaultValues","regex","password","str","index","word","props"],"sources":["https:/framerusercontent.com/modules/n4vXQ1ryOvZX7OgCbnKE/xqGkzFDH9v9lTni0JjoQ/SignUp.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useEffect,useMemo,useState}from\"react\";import{addPropertyControls,ControlType,withCSS}from\"framer\";import{useProject,useUser,signUp}from\"https://cdn.jsdelivr.net/npm/@framerauth/sdk@2/dist/framerauth.mjs\";import BaseForm,{basePropertyControls,safeParseCustomFields}from\"https://framerusercontent.com/modules/tU0OhNHakDNO2P6BFnP9/J4dB1XKps8sUUI6R9wpl/BaseForm.js\";//////////////////////////////////\n/////// FORM CONFIGURATION ///////\n//////////////////////////////////\n// Define inputs\nconst baseInputs=[{displayName:\"Name\",name:\"name\",type:\"string\",required:true,overridable:false,placeholder:\"Name\",render:true,hidden:false},{displayName:\"Email\",name:\"email\",type:\"string\",format:\"email\",required:true,overridable:false,placeholder:\"Email\",render:true,hidden:false},{displayName:\"Password\",name:\"password\",type:\"string\",format:\"password\",required:true,overridable:false,placeholder:\"Password\",render:true,hidden:false}];const formId=\"sign_up\"// Unique form ID for this form.\n;const defaultButtonLabel=\"Sign Up\"// Default submit button label on this form.\n;const exposePasswordVisibilityToggle=true// Expose password visibility toggle property for password inputs.\n;const exposePasswordValidator=true// Expose password validator property for password inputs.\n;const buttonLabelKey=`${formId}_button_label`;/**\n * SignUp.tsx\n * By Joel Whitaker\n *\n * @framerDisableUnlink\n *\n * @framerIntrinsicWidth 300\n * @framerIntrinsicHeight 40\n *\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight any\n */const SignUp=withCSS(function SignUp({...baseProps}){const{project,isLoading:projectLoading,fetchProject}=useProject();const{user}=useUser();const[customFields,setCustomFields]=useState([]);const isDisabled=useMemo(()=>{// If the user is logged in, we disable the sign in form.\nif(!!user){return true;}return false;},[user]);useEffect(()=>{if(!window?.FramerAuth){fetchProject();}},[]);useEffect(()=>{if(project&&project?.customFields.length>0){const safeCustomFields=safeParseCustomFields(project?.customFields);if(safeCustomFields.success){setCustomFields(safeCustomFields.data.map(field=>({...field})));}}},[project]);// We can override inputs with property controls.\nconst[inputs,setInputs]=useState(baseInputs.filter(input=>{return baseProps.inputFields[input.name]?.render||true;}));const buttonProps=useMemo(()=>{// Map button label to button\n// This is to avoid style copy-pasting of the button label.\nreturn{...baseProps.button,label:baseProps.button[buttonLabelKey]};},[baseProps.button,baseProps.button[buttonLabelKey]]);const passwordValidationShadowStyles=baseProps.passwordValidator.shadowObject?`${baseProps.passwordValidator.shadowObject}`:null;const[passwordValidation,setPasswordValidation]=useState({uppercase:false,lowercase:false,digit:false,special:false,length:false});useEffect(()=>{// Map input labels to inputs\nif(baseProps.inputFields){const newInputs=[];baseInputs.forEach((input,_idx)=>{const inputControlName=snakeToCamel(input.name);if(!(inputControlName in baseProps.inputFields)){// If the input is not in the inputFields object, skip it.\nreturn;}const inputField=baseProps.inputFields[inputControlName];const render=inputField.render||true;const hidden=inputField.hidden||false;const displayName=inputField.displayName;const placeholder=displayName;if(render===true){newInputs.push({...input,hidden,displayName,placeholder});}});setInputs(newInputs);}},[undefined,baseProps.inputFields]);const renderValidationMessage=(message,isValid)=>/*#__PURE__*/_jsxs(\"div\",{style:{color:baseProps.passwordValidator.color||baseProps.label.color,...baseProps.passwordValidator.font||baseProps.label.font,opacity:isValid?1:.5,display:\"flex\",alignItems:\"center\"},children:[isValid?/*#__PURE__*/_jsx(\"svg\",{xmlns:\"http://www.w3.org/2000/svg\",width:\"16\",height:\"16\",fill:\"currentColor\",viewBox:\"0 0 16 16\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M13.78 4.22a.75.75 0 010 1.06l-7.25 7.25a.75.75 0 01-1.06 0L2.22 9.28a.75.75 0 011.06-1.06L6 10.94l6.72-6.72a.75.75 0 011.06 0z\"})}):/*#__PURE__*/_jsx(\"svg\",{xmlns:\"http://www.w3.org/2000/svg\",width:\"16\",height:\"16\",fill:\"currentColor\",viewBox:\"0 0 16 16\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M7.47 6.97L4.22 3.72a.75.75 0 00-1.06 1.06L6.38 8l-3.22 3.22a.75.75 0 101.06 1.06L7.47 9.06l3.25 3.25a.75.75 0 001.06-1.06L8.53 8l3.25-3.25a.75.75 0 00-1.06-1.06L7.47 6.94v.03z\"})}),\" \",/*#__PURE__*/_jsx(\"span\",{style:{flex:1,marginLeft:\"5px\",textAlign:baseProps.passwordValidator.font?.textAlign||baseProps.label.font?.textAlign},children:message})]});const handleOnChange=field=>{if(field.name===\"password\"){// Validate password whenever the input value is changed, eg when user is typing\nsetPasswordValidation(validatePassword(field.value));}};const onSubmit=async formData=>{const customInputFieldFormData=formData;const customInputFormData={};customFields.forEach(customField=>{let value=customInputFieldFormData[customField.name];if(customField.type===\"boolean\"){value=value===\"on\"||typeof value===\"boolean\"&&value===true;}else if(customField.type===\"number\"){value=Number(value);}else{value=String(value);}customInputFormData[customField.name]=value;});// Test password validation\nconst validateResult=validatePassword(formData.password);if(Object.values(validateResult).some(v=>v===false)){setPasswordValidation(validateResult);return{ok:false,message:\"Password does not meet requirements.\"};}const signUpData=await signUp({email:formData.email,password:formData.password,name:formData.name.trim(),...customInputFormData});if(signUpData.error){return{ok:false,message:signUpData.error.message};}return{ok:true,message:\"Account created successfully.\"};};const formMarkup=useMemo(()=>{// The trick below hides/shows inputs based on the current step.\n// This is a hack to avoid issues with different numbers of hooks.\n// This can be made more dynamic. Would require the passwordInput sub-component\n// in AuthBaseForm to be a controlled component with no hook to toggle visibility inside the component\nconst refinedCustomFields=customFields.map(field=>({// For custom fields, make sure the placeholder is always set\n    // - either based on the given placeholder, or the displayName as a fallback.\n    ...field,placeholder:field.placeholder||field.displayName}));const allFields=[...inputs,...refinedCustomFields];const refinedFields=allFields.map(field=>{let refinedField=field;if(field.overridable){const overrides=baseProps.inputFields[field.name];if(overrides){refinedField={...refinedField,...overrides};}}return refinedField;}).filter(input=>input.render!==false);const customFieldDefaultValues={};customFields.forEach(customField=>{if(customField.defaultValue!==null&&customField.defaultValue!==undefined){customFieldDefaultValues[customField.name]=customField.defaultValue;}});const defaultValues=user||customFieldDefaultValues;return /*#__PURE__*/_jsx(BaseForm,{...baseProps,isInitializing:projectLoading,isDisabled:isDisabled,fields:refinedFields,onSubmit:onSubmit,onInputChange:handleOnChange,defaultValues:{...defaultValues},button:buttonProps});},[baseProps,inputs,customFields,isDisabled,user])// Only re-compute the form when the step changes.\n;return /*#__PURE__*/_jsxs(\"div\",{style:{width:\"100%\",height:\"auto\",display:\"flex\",flexDirection:\"column\",position:\"relative\",gap:baseProps.gap},children:[formMarkup,!projectLoading&&baseProps.displayPasswordValidator&&!isDisabled&&/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",borderRadius:baseProps.passwordValidator.borderRadius,background:baseProps.passwordValidator.fill,padding:baseProps.passwordValidator.padding,gap:baseProps.passwordValidator.gap,boxShadow:passwordValidationShadowStyles||\"none\",...baseProps.passwordValidator.borderObject||{}},children:[renderValidationMessage(// \"At least 8 characters\",\nbaseProps.passwordValidator.labels.length,passwordValidation.length),renderValidationMessage(// \"At least one uppercase letter\",\nbaseProps.passwordValidator.labels.uppercase,passwordValidation.uppercase),renderValidationMessage(// \"At least one lowercase letter\",\nbaseProps.passwordValidator.labels.lowercase,passwordValidation.lowercase),renderValidationMessage(// \"At least one digit\",\nbaseProps.passwordValidator.labels.digit,passwordValidation.digit),renderValidationMessage(// \"At least one special character\",\nbaseProps.passwordValidator.labels.special,passwordValidation.special)]})]});},[]);const validatePassword=password=>{const regex={uppercase:/[A-Z]/,lowercase:/[a-z]/,digit:/\\d/,special:/\\W|_/,length:/.{8,}/};return{uppercase:regex.uppercase.test(password),lowercase:regex.lowercase.test(password),digit:regex.digit.test(password),special:regex.special.test(password),length:regex.length.test(password)};};const snakeToCamel=str=>{return str.split(\"_\").map((word,index)=>{if(index===0){return word;}return word.charAt(0).toUpperCase()+word.slice(1);}).join(\"\");};// Here we can override property controls if we don't want to expose them to the user.\n// We generate the inputs property controls dynamically based on the inputs array.\nconst inputsPropertyControls={};baseInputs.forEach((input,_idx)=>{const inputControlName=snakeToCamel(input.name);inputsPropertyControls[inputControlName]={title:`${input.displayName}`,type:ControlType.Object,controls:{render:input.overridable===true?{title:\"Render\",type:ControlType.Boolean,defaultValue:true}:undefined,hidden:input.overridable===true?{title:\"Hidden\",type:ControlType.Boolean,defaultValue:false,hidden:props=>props.render===true}:undefined,displayName:{title:\"Display Name\",type:ControlType.String,defaultValue:input.displayName,hidden:props=>props.render===true&&props.hidden===false}}};});const exportBasePropertyControls={...basePropertyControls,link:{title:\"Redirect\",type:ControlType.Link},inputFields:{title:\"Fields\",type:ControlType.Object,controls:inputsPropertyControls},input:{...basePropertyControls.input,controls:{...basePropertyControls.input.controls,icon:exposePasswordVisibilityToggle?{type:ControlType.Object,title:\"Icon\",controls:{showPasswordVisibilityIcon:{title:\"Activated\",type:ControlType.Boolean,defaultValue:true},color:{title:\"Color\",type:ControlType.Color,defaultValue:\"#000\",hidden:props=>!props.showPasswordVisibilityIcon}}}:undefined}},button:{// Inject default button label\n...basePropertyControls.button,controls:{...basePropertyControls.button.controls,label:undefined,[buttonLabelKey]:{...basePropertyControls.button.controls.label,defaultValue:defaultButtonLabel}}},displayPasswordValidator:{title:\"Password Validator\",type:ControlType.Boolean,defaultValue:true,hidden:!exposePasswordValidator},passwordValidator:{title:\"Password Validator\",type:ControlType.Object,hidden:props=>!exposePasswordValidator||!props.displayPasswordValidator,controls:{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.Padding},gap:{title:\"Gap\",type:ControlType.Number,defaultValue:10,min:0},borderRadius:{title:\"Radius\",type:ControlType.BorderRadius},labels:{type:ControlType.Object,title:\"Labels\",controls:{length:{title:\"Length\",type:ControlType.String,defaultValue:\"At least 8 characters\"},uppercase:{title:\"Uppercase\",type:ControlType.String,defaultValue:\"At least one uppercase letter\"},lowercase:{title:\"Lowercase\",type:ControlType.String,defaultValue:\"At least one lowercase letter\"},digit:{title:\"Digit\",type:ControlType.String,defaultValue:\"At least one digit\"},special:{title:\"Special\",type:ControlType.String,defaultValue:\"At least one special character\"}}},borderObject:{type:ControlType.Border,title:\"Border\",optional:true,defaultValue:{borderWidth:0,borderStyle:\"solid\",borderColor:\"rgba(200,200,200,0.5)\"}},shadowObject:{type:ControlType.BoxShadow,title:\"Shadow\",optional:true}}}};// @ts-ignore - TS doesn't like our basePropertyControls type.\naddPropertyControls(SignUp,exportBasePropertyControls);SignUp.defaultProps={...BaseForm.defaultProps,...SignUp.defaultProps};export default SignUp;\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"SignUp\",\"slots\":[],\"annotations\":{\"framerDisableUnlink\":\"*\",\"framerIntrinsicWidth\":\"300\",\"framerSupportedLayo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