import { UMB_BULK_TRASH_WITH_RELATION_CONFIRM_MODAL } from './modal/constants.js';
import { umbOpenModal } from '../../../../core/modal/index.js';
import { UmbTrashEntityBulkAction } from '../../../../core/recycle-bin/index.js';
export class UmbBulkTrashWithRelationEntityAction extends UmbTrashEntityBulkAction {
    async _confirmTrash() {
        await umbOpenModal(this, UMB_BULK_TRASH_WITH_RELATION_CONFIRM_MODAL, {
            data: {
                uniques: this.selection,
                itemRepositoryAlias: this.args.meta.itemRepositoryAlias,
                referenceRepositoryAlias: this.args.meta.referenceRepositoryAlias,
            },
        });
    }
}
export { UmbBulkTrashWithRelationEntityAction as api };
