var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
import { UmbTextStyles } from '../../style/index.js';
import { css, html, customElement } from '../../../../external/lit/index.js';
import { UmbLitElement } from '../../lit-element/index.js';
let UmbCollectionToolbarElement = class UmbCollectionToolbarElement extends UmbLitElement {
    render() {
        return html `
			<umb-collection-action-bundle></umb-collection-action-bundle>
			${this.#renderFilterExtensions()}
			<div id="slot"><slot></slot></div>
			<umb-collection-view-bundle></umb-collection-view-bundle>
		`;
    }
    #renderFilterExtensions() {
        return html `<umb-extension-with-api-slot single type="collectionTextFilter"></umb-extension-with-api-slot>`;
    }
    static { this.styles = [
        UmbTextStyles,
        css `
			:host {
				display: flex;
				gap: var(--uui-size-space-5);
				justify-content: space-between;
				width: 100%;
			}
			#slot {
				flex: 1;
			}
		`,
    ]; }
};
UmbCollectionToolbarElement = __decorate([
    customElement('umb-collection-toolbar')
], UmbCollectionToolbarElement);
export { UmbCollectionToolbarElement };
