'use strict';

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

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

const ElementVideoEditor = class {
    constructor(hostRef) {
        index$1.registerInstance(this, hostRef);
        this.label = {
            name: 'Audio',
            labelAutoplay: 'Autoplay'
        };
    }
    prop(path, options = {}) {
        return this.handler.prop(path, Object.assign(Object.assign({}, options), { label: this.label }));
    }
    render() {
        return [
            index$1.h("bce-switch", Object.assign({}, this.prop('autoplay'))),
            index$1.h("bce-upload", Object.assign({}, this.prop('location'), { accept: "video/*" })),
            index$1.h("slot", null)
        ];
    }
};

exports.bce_element_video_editor = ElementVideoEditor;
