{show = false;}, 100)
$dispatch('confirm-close', {
confirm_id: confirm_id,
confirm: true
});" x-show="show" @confirm-show.window="show = true;
confirm_id = $event.detail.confirm_id;
title = $event.detail.title;
body = $event.detail.body;
confirmBtnText = $event.detail.confirm_text ? $event.detail.confirm_text : 'Ok';
confirmBtnColor = $event.detail.danger ? 'bg-red-600 hover:bg-red-700' : 'bg-blue-600 hover:bg-blue-700';" style="display: none"
class="fixed inset-0 z-50 overflow-y-auto">