// #region Imports
import { html } from '../../../../Dom/Html';
import { when } from '../../../Directives/Directives';
// #endregion
/**
 * The template of the {@link DrawerHeaderTextElement}.
 *
 * @public
 */
export function drawerHeaderTextElementTemplate(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=DrawerHeaderTextElementTemplate.js.map