<popup-page>
  <popup-header
    slot="header"
    [backAction]="close"
    showBackButton
    [pageTitle]="title"
  ></popup-header>

  <vault-cipher-form-generator
    [type]="params.type"
    (valueGenerated)="onValueGenerated($event)"
  ></vault-cipher-form-generator>

  <popup-footer slot="footer">
    <button
      type="button"
      bitButton
      buttonType="primary"
      (click)="selectValue()"
      data-testid="select-button"
    >
      {{ selectButtonText }}
    </button>
  </popup-footer>
</popup-page>
