Make DAST scanner 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 `DastScannerProfileForm` component - [x] Emit `success` and `cancel` event handlers - [x] Listen to these event the parent components - [x] Move redirection logic to the parent component - [x] Make submit button's disabled state as per the design specs - [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_scanner_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] Cover spec for submit disabled state - [x] Write integration spec for `dast_scanner_profiles_bundle.js`
issue