'use strict';

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

const index$1 = require('./index-457520a1.js');

const ElementDownloadEditor = class {
    constructor(hostRef) {
        index$1.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 [
            index$1.h("bce-input", Object.assign({ type: "text" }, this.prop('text', { localize: true }))),
            index$1.h("bce-upload", Object.assign({}, this.prop('location'))),
            index$1.h("slot", null)
        ];
    }
};

exports.bce_element_download_editor = ElementDownloadEditor;
