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

const ElementDownloadEditor = class {
    constructor(hostRef) {
        registerInstance(this, hostRef);
        this.label = {
            name: 'Download',
            placeholderText: 'File description'
        };
    }
    prop(path, options = {}) {
        return this.handler.prop(path, Object.assign(Object.assign({}, options), { label: this.label }));
    }
    render() {
        return [
            h("bce-input", Object.assign({ type: "text" }, this.prop('text', { localize: true }))),
            h("bce-upload", Object.assign({}, this.prop('location'))),
            h("slot", null)
        ];
    }
};

export { ElementDownloadEditor as bce_element_download_editor };
