Make DAST site profile form composable
This is to facilitate Inline DAST Profiles Implementation, part of https://gitlab.com/groups/gitlab-org/-/epics/5469. ### Implementation Plan - [x] Update `DastSiteProfileForm` component - [x] Create `success` and `cancel` custom event handlers - [x] Use them in the parent components - [x] Move redirection logic to the parent component - [x] Add `showHeader` prop - [x] Set it enabled by default - [x] Use it to show the form heading conditionally - [x] Update `ee/app/views/projects/security/dast_site_profiles/edit.html.haml` - [x] Make sure the property names match the graphql fields - [x] Specs / Test coverage * [x] Add specs for event handlers * [x] Add a spec for showHeader prop * [x] Write feature spec for `dast_site_profiles_form`
issue