Add inline forms support in DAST profile selector component

This is to facilitate Inline DAST Profiles Implementation, part of &5469 (closed).

Implementation Plan

Inline form via slots
  • Add the profile-form slot to profile_selector.vue
  • Include DastScannerProfileForm to scanner_profile_selector.vue
    • Pass it via slot profile-form
    • Handle success / cancel events
  • Include DastSiteProfileForm to site_profile_selector.vue
    • Pass it via slot profile-form
    • Handle success / cancel events
Links and state
  • Update link for create button
    • handle form new state
  • Update link for edit icon
    • handle form edit state
Test coverage
  • Add specs to cover edit and new state
  • Add specs to cover profile-form slot
  • Add specs to cover form success and cancel
Edited by Dheeraj Joshi