<pa-button
  icon="upload"
  iconAndText
  kind="primary"
  [paPopup]="uploadMenu"
  alignPopupOnLeft>
  {{ 'stash.upload_data' | translate }}
</pa-button>
<pa-dropdown #uploadMenu>
  <pa-option
    icon="file"
    (selectOption)="upload('files')">
    {{ 'upload.files' | translate }}
  </pa-option>
  <pa-option
    icon="folder"
    (selectOption)="upload('folder')">
    {{ 'upload.folder' | translate }}
  </pa-option>
  <pa-option
    icon="link"
    (selectOption)="upload('link')">
    {{ 'upload.link' | translate }}
  </pa-option>
  <pa-option
    icon="file-empty"
    (selectOption)="upload('csv')">
    {{ 'upload.texts' | translate }}
  </pa-option>
  <pa-option
    icon="connectors"
    (selectOption)="upload('sitemap')">
    {{ 'upload.sitemap.title' | translate }}
  </pa-option>
  <pa-option
    icon="chat"
    (selectOption)="upload('qna')">
    {{ 'upload.q_and_a' | translate }}
  </pa-option>
</pa-dropdown>
