        (activityDeleted)="onDeleteActivity($event)"
        (activityToClone)="onCloneActivity($event)"
        (activityToUpdate)="onUpdateActivity($event)"
        (export)="onExport()"
        (exportDrafts)="onExportDrafts($event)"
        (import)="onImport()"
        (importDividends)="onImportDividends()"
        (pageChanged)="onChangePage($event)"
        (sortChanged)="onSortChanged($event)"
      />
    </div>
  </div>

  @if (
    !hasImpersonationId &&
    hasPermissionToCreateActivity &&
    