import { r as registerInstance, h } from './index-b13326fc.js';
import { E as ElementQuestionBase } from './element-question-base-275076e1.js';
var ElementIconEditor = /** @class */ (function () {
    function ElementIconEditor(hostRef) {
        registerInstance(this, hostRef);
    }
    ElementIconEditor.prototype.prop = function (path, options) {
        if (options === void 0) { options = {}; }
        return this.handler.prop(path, Object.assign({}, options));
    };
    ElementIconEditor.prototype.render = function () {
        return (h(ElementQuestionBase, { t: this.t, question: this.prop('question', { localize: true }), required: this.prop('required') }, h("bce-option-creator", Object.assign({}, this.prop('options'), { "allow-color": true, label: this.t('me-element-icon'), t: this.t })), h("slot", null)));
    };
    return ElementIconEditor;
}());
export { ElementIconEditor as bce_element_icon_editor };
