import { UMB_DOCUMENT_NOTIFICATIONS_MODAL } from './modal/document-notifications-modal.token.js';
import { UmbEntityActionBase } from '../../../../core/entity-action/index.js';
import { umbOpenModal } from '../../../../core/modal/index.js';
export class UmbDocumentNotificationsEntityAction extends UmbEntityActionBase {
    constructor(host, args) {
        super(host, args);
    }
    async execute() {
        await umbOpenModal(this, UMB_DOCUMENT_NOTIFICATIONS_MODAL, {
            data: { unique: this.args.unique },
        });
    }
}
export default UmbDocumentNotificationsEntityAction;
