// #region Imports
import { html } from 'lit';
import { when } from 'lit/directives/when.js';
// #endregion
/**
 * The template of the `FlowBoardColumnComposerElement`.
 *
 * @internal
 */
export function flowBoardColumnComposerElementTemplate(e) {
    return html `
        <div part="container"
                .lang="${e.lang}"
                .dir="${e.dir}">
            ${when(!e.open, () => html `
                <div part="trigger"
                    @click="${() => e.toggle()}">
                    <slot name="trigger"></slot>
                </div>
            `, () => html `
                <div part="form"
                    @keydown="${(evt) => e.handleFormKeydown(evt)}">
                    <slot name="form"></slot>
                </div>
            `)}
        </div>
    `;
}
//# sourceMappingURL=FlowBoardColumnComposerElementTemplate.js.map