import { r as registerInstance, h } from './index-b13326fc.js';
var ElementDownloadEditor = /** @class */ (function () {
    function ElementDownloadEditor(hostRef) {
        registerInstance(this, hostRef);
    }
    ElementDownloadEditor.prototype.prop = function (path, options) {
        if (options === void 0) { options = {}; }
        return this.handler.prop(path, Object.assign({}, options));
    };
    ElementDownloadEditor.prototype.render = function () {
        return [
            h("bce-input", Object.assign({}, this.prop('text', { localize: true }), { placeholder: this.t('me-element-download-placeholder'), type: "text" })),
            h("bce-upload", Object.assign({}, this.prop('location'))),
            h("slot", null)
        ];
    };
    return ElementDownloadEditor;
}());
export { ElementDownloadEditor as bce_element_download_editor };
