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