import PlainAlertDialog from 'elix/src/plain/PlainAlertDialog.js' import { template, keydown } from 'elix/src/base/internal.js' import { fragmentFrom } from 'elix/src/core/htmlLiterals.js' /** * @class SePlainAlertDialog */ export default class SePlainAlertDialog extends PlainAlertDialog { /** * @function get * @returns {PlainObject} */ get [template] () { const result = super[template] // Replace the default slot with a new default slot and a button container. const defaultSlot = result.content.querySelector('#frameContent') if (defaultSlot) { defaultSlot.replaceWith(fragmentFrom.html`