// #region Imports
import { html } from '../../../../Dom/Html';
import { when } from '../../../Directives/Directives';
// #endregion
/**
 * The template of the {@link TableElement}.
 *
 * @public
 */
export function tableElementTemplate(e) {
    return html `
        ${when(e.caption, () => html `
        <div part="caption">
            <mosaik-text .text="${e.caption}"></mosaik-text>
        </div>
        `)}
        <slot></slot>
    `;
}
//# sourceMappingURL=TableElementTemplate.js.map