import { r as registerInstance, h } from './index-d0047af2.js';
var ElementImageEditor = /** @class */ (function () {
    function ElementImageEditor(hostRef) {
        registerInstance(this, hostRef);
        this.label = {
            name: 'Image'
        };
    }
    ElementImageEditor.prototype.prop = function (path, options) {
        if (options === void 0) { options = {}; }
        return this.handler.prop(path, Object.assign(Object.assign({}, options), { label: this.label }));
    };
    ElementImageEditor.prototype.render = function () {
        return [
            h("bce-upload", Object.assign({ accept: "image/*" }, this.prop('location'))),
            h("slot", null)
        ];
    };
    return ElementImageEditor;
}());
export { ElementImageEditor as bce_element_image_editor };
