'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

const index$1 = require('./index-457520a1.js');

const ElementHeaderEditor = class {
    constructor(hostRef) {
        index$1.registerInstance(this, hostRef);
        this.label = {
            name: 'Header',
            placeholderText: 'Header text'
        };
    }
    prop(path, options = {}) {
        return this.handler.prop(path, Object.assign(Object.assign({}, options), { label: this.label }));
    }
    render() {
        return [
            index$1.h("bce-input", Object.assign({}, this.prop('text', { localize: true }), { type: "text" })),
            index$1.h("slot", null)
        ];
    }
};

exports.bce_element_header_editor = ElementHeaderEditor;
