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