import { html, slotted, ViewTemplate, when } from '@ni/fast-element';
import { endSlotTemplate, startSlotTemplate } from '@ni/fast-foundation';
export const template = (context, definition) => html `
    <template slot="end">
        ${when(x => x.defaultSlottedElements.length > 0, html `
            <div class="separator"></div>
        `)}
        ${startSlotTemplate(context, definition)}
        <slot
            ${slotted({
    filter: (n) => n instanceof HTMLElement,
    property: 'defaultSlottedElements',
})}
        >
        </slot>
        ${endSlotTemplate(context, definition)}
    </template>
`;
//# sourceMappingURL=template.js.map