// #region Imports
import { html } from '../../../../Dom/Html';
import { when } from '../../../Directives/Directives';
// #endregion
/**
 * The template of the `SheetContentElement`.
 *
 * @public
 */
export function sheetContentElementTemplate(e) {
    return html `
        <mosaik-scroll part="scroll"
                       .orientation="${'vertical'}">
            <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=SheetContentElementTemplate.js.map