import { r as registerInstance, h } from './index-b13326fc.js';
var ElementAudioEditor = /** @class */ (function () {
    function ElementAudioEditor(hostRef) {
        registerInstance(this, hostRef);
    }
    ElementAudioEditor.prototype.prop = function (path, options) {
        if (options === void 0) { options = {}; }
        return this.handler.prop(path, Object.assign({}, options));
    };
    ElementAudioEditor.prototype.render = function () {
        return [
            h("bce-switch", Object.assign({ label: this.t('me-auto-play') }, this.prop('autoplay'))),
            h("bce-upload", Object.assign({ accept: "audio/*" }, this.prop('location'))),
            h("slot", null)
        ];
    };
    return ElementAudioEditor;
}());
export { ElementAudioEditor as bce_element_audio_editor };
