// #region Imports
import { html } from '../../../../Dom/Html';
import { when } from '../../../Directives/Directives';
// #endregion
/**
 * The template of the {@link CardTitleElement}.
 *
 * @public
 */
export function cardTitleElementTemplate(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}"
                         .lang="${e.lang}"></mosaik-text>
            `)}
        </slot>
    `;
}
//# sourceMappingURL=CardTitleElementTemplate.js.map