'use strict';

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

const index$1 = require('./index-578e90b1.js');
const elementQuestionBase = require('./element-question-base-0c6e17d9.js');

const ElementIconEditor = class {
    constructor(hostRef) {
        index$1.registerInstance(this, hostRef);
    }
    prop(path, options = {}) {
        return this.handler.prop(path, Object.assign({}, options));
    }
    render() {
        return (index$1.h(elementQuestionBase.ElementQuestionBase, { t: this.t, question: this.prop('question', { localize: true }), required: this.prop('required') }, index$1.h("bce-option-creator", Object.assign({}, this.prop('options'), { "allow-color": true, label: this.t('me-element-icon'), t: this.t })), index$1.h("slot", null)));
    }
};

exports.bce_element_icon_editor = ElementIconEditor;
