{% load i18n mvp %} {# ============================================================ #} {# — dialog built around a #} {# #} {# The modal owns the , the backdrop, and the on-screen #} {# placement / sizing. Everything else — title, icon, the #} {# default (body) slot, and the actions / footer / footer_end #} {# slots — is forwarded to an inner , so a modal is #} {# laid out exactly like a card. #} {# #} {# Open / close via the native API: #} {# #} {# #} {# #} {# Props (modal-specific): #} {# id – dialog id, for showModal() / close() #} {# size – sm | md | lg | xl | full (default: md) #} {# position – top | bottom | start | end (default: daisyUI's #} {# own centred placement) #} {# closable – show an ✕ close button in the top corner #} {# class – extra classes on the inner card surface #} {# #} {# All other attributes and the title / icon / actions / #} {# footer / footer_end slots pass through to the inner .#} {# ============================================================ #}