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