import { html, ref } from '@ni/fast-element';
export const template = html `
    <dialog
        ${ref('dialog')}
        aria-label="${x => x.ariaLabel}"
        @cancel="${(x, c) => x.cancelHandler(c.event)}"
        @close="${(x, c) => x.closeHandler(c.event)}"
        closedby="${x => (x.preventDismiss ? 'none' : 'closerequest')}"
    >
        <div class="dialog-contents">
            <slot></slot>
        </div>
    </dialog>
`;
//# sourceMappingURL=template.js.map