'use strict';

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

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

const ElementTextEditor = class {
    constructor(hostRef) {
        index$1.registerInstance(this, hostRef);
        this.label = {
            name: 'Text',
            placeholderText: ''
        };
    }
    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 }), { rows: 2, type: "textarea" })),
            index$1.h("slot", null)
        ];
    }
};

exports.bce_element_text_editor = ElementTextEditor;
