'use strict';

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

const index$1 = require('./index-578e90b1.js');
const elementQuestionBase = require('./element-question-base-0c6e17d9.js');

const ElementSliderEditor = class {
    constructor(hostRef) {
        index$1.registerInstance(this, hostRef);
    }
    prop(path, options = {}) {
        return this.handler.prop(path, Object.assign({}, options));
    }
    render() {
        return (index$1.h(elementQuestionBase.ElementQuestionBase, { t: this.t, question: this.prop('question', { localize: true }), required: this.prop('required') }, index$1.h("bce-input", Object.assign({}, this.prop('step'), { type: "number", label: this.t('step-size') })), index$1.h("bce-input", Object.assign({}, this.prop('min'), { label: this.t('min'), type: "number" })), index$1.h("bce-input", Object.assign({}, this.prop('max'), { label: this.t('max'), type: "number" })), index$1.h("bce-input", Object.assign({}, this.prop('minText', { localize: true }), { label: this.t('text-left'), type: "text" })), index$1.h("bce-input", Object.assign({}, this.prop('maxText', { localize: true }), { label: this.t('text-right'), type: "text" })), index$1.h("slot", null)));
    }
};

exports.bce_element_slider_editor = ElementSliderEditor;
