import { r as registerInstance, h } from './index-b13326fc.js';

const ElementDownloadEditor = class {
    constructor(hostRef) {
        registerInstance(this, hostRef);
    }
    prop(path, options = {}) {
        return this.handler.prop(path, Object.assign({}, options));
    }
    render() {
        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)
        ];
    }
};

export { ElementDownloadEditor as bce_element_download_editor };
