import { __esDecorate, __runInitializers } from "tslib";
import { html, LitElement } from 'lit';
import { property } from 'lit/decorators.js';
export var DividerType;
(function (DividerType) {
    DividerType["full"] = "full";
    DividerType["inset"] = "inset";
    DividerType["middle"] = "middle";
})(DividerType || (DividerType = {}));
let UiDivider = (() => {
    let _classSuper = LitElement;
    let _type_decorators;
    let _type_initializers = [];
    let _type_extraInitializers = [];
    let _vertical_decorators;
    let _vertical_initializers = [];
    let _vertical_extraInitializers = [];
    return class UiDivider extends _classSuper {
        static {
            const _metadata = typeof Symbol === "function" && Symbol.metadata ? Object.create(_classSuper[Symbol.metadata] ?? null) : void 0;
            _type_decorators = [property({ type: String, reflect: true })];
            _vertical_decorators = [property({ type: Boolean, reflect: true })];
            __esDecorate(this, null, _type_decorators, { kind: "accessor", name: "type", static: false, private: false, access: { has: obj => "type" in obj, get: obj => obj.type, set: (obj, value) => { obj.type = value; } }, metadata: _metadata }, _type_initializers, _type_extraInitializers);
            __esDecorate(this, null, _vertical_decorators, { kind: "accessor", name: "vertical", static: false, private: false, access: { has: obj => "vertical" in obj, get: obj => obj.vertical, set: (obj, value) => { obj.vertical = value; } }, metadata: _metadata }, _vertical_initializers, _vertical_extraInitializers);
            if (_metadata) Object.defineProperty(this, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
        }
        #type_accessor_storage = __runInitializers(this, _type_initializers, void 0);
        /**
         * The predefined type of the divider.
         * @attribute
         */
        get type() { return this.#type_accessor_storage; }
        set type(value) { this.#type_accessor_storage = value; }
        #vertical_accessor_storage = (__runInitializers(this, _type_extraInitializers), __runInitializers(this, _vertical_initializers, false));
        /**
         * Whether to render the divider as a vertical separation.
         * @attribute
         */
        get vertical() { return this.#vertical_accessor_storage; }
        set vertical(value) { this.#vertical_accessor_storage = value; }
        constructor() {
            super();
            __runInitializers(this, _vertical_extraInitializers);
            this.type = DividerType.full;
        }
        connectedCallback() {
            super.connectedCallback();
            if (!this.hasAttribute('role')) {
                this.setAttribute('role', 'presentation');
            }
        }
        render() {
            return html `<div class="container"></div>`;
        }
    };
})();
/**
 * A divider element.
 */
export default UiDivider;
//# sourceMappingURL=Divider.element.js.map