Dialog component for new user registration. Normalizes birthday values and maps form fields to backend expectations.
API service for HTTP calls.
Material dialog reference for closing the dialog.
Snackbar for user feedback.
Material dialog service (used to open login after error).
Prevents duplicate submissions.
Form model bound to the template.
Submit the registration form to the API. Shows success feedback and closes the dialog, or displays error details.
Optional
Optional Angular form reference (for future validation hooks).
Dialog component for new user registration. Normalizes birthday values and maps form fields to backend expectations.