// #region Imports
import { html } from '../../../../Dom/Html';
import { when } from '../../../Directives/Directives';
import { setHost } from '../../../Directives/setHost';
// #endregion
/**
 * The template of the `FlowBoardColumnItemElement`.
 *
 * @public
 */
export function flowBoardColumnItemElementTemplate(e) {
    return html `
        ${when(!e.disabled, () => html `
        <mosaik-focus-ring part="focusRing"
                           .variant="${e.variant}"
                           .visible="${e.isFocused}"
                           .controlled="${'manual'}"
                           @connected="${(x) => x.target.attach(e)}"></mosaik-focus-ring>
        `)}
        ${when(!e.disabled && e.ripple, () => html `
        <mosaik-ripple part="ripple"
                       .variant="${e.variant}"
                       @connected="${(x) => x.target.attach(e)}"></mosaik-ripple>
        `)}
        <div part="container"
             .lang="${e.lang}"
             .dir="${e.dir}">
            <div part="header">
                <div part="titleGroup">
                    <div part="title"
                         ?hidden="${!setHost(e, 'has-title', e.hasSlotContent('title'))}">
                        <slot name="title"></slot>
                    </div>
                    <div part="subtitle"
                         ?hidden="${!setHost(e, 'has-subtitle', e.hasSlotContent('subtitle'))}">
                        <slot name="subtitle"></slot>
                    </div>
                </div>
                <div part="actions"
                     ?hidden="${!setHost(e, 'has-actions', e.hasSlotContent('actions'))}">
                    <slot name="actions"></slot>
                </div>
            </div>
            <div part="meta"
                 ?hidden="${!setHost(e, 'has-meta', e.hasSlotContent('meta'))}">
                <slot name="meta"></slot>
            </div>
            <div part="footer"
                 ?hidden="${!setHost(e, 'has-footer', e.hasSlotContent('footer'))}">
                <slot name="footer"></slot>
            </div>
        </div>
    `;
}
//# sourceMappingURL=FlowBoardColumnItemElementTemplate.js.map