// #region Imports
import { html } from '../../../../Dom/Html';
import { when } from '../../../Directives/Directives';
// #endregion
/**
 * The template of the {@link DialogContentElement}.
 *
 * @public
 */
export function dialogContentElementTemplate(e) {
    return html `
        <mosaik-scroll part="scroll">
            <slot>
                ${when(e.text.trim().length > 0, () => html `
                <mosaik-text part="contentText"
                             .text="${e.text.trim()}"
                             .formatter="${e.formatter}"
                             .wrap="${true}"></mosaik-text>
                `)}
            </slot>
        </mosaik-scroll>
    `;
}
//# sourceMappingURL=DialogContentElementTemplate.js.map