import { r as registerInstance, h } from './index-d0047af2.js';
import { E as ElementQuestionBase } from './element-question-base-5ebd9dee.js';

const ElementSliderEditor = class {
    constructor(hostRef) {
        registerInstance(this, hostRef);
        this.label = {
            name: 'Header',
            labelQuestion: 'Formulate your question',
            labelRequired: 'Required',
            labelStep: 'Step size',
            labelMin: 'Min',
            labelMax: 'Max',
            labelMinText: 'Text left',
            labelMaxText: 'Text right'
        };
    }
    prop(path, options = {}) {
        return this.handler.prop(path, Object.assign(Object.assign({}, options), { label: this.label }));
    }
    render() {
        return (h(ElementQuestionBase, { question: this.prop('question', { localize: true }), required: this.prop('required') }, h("bce-input", Object.assign({ type: "number" }, this.prop('step'))), h("bce-input", Object.assign({ type: "number" }, this.prop('min'))), h("bce-input", Object.assign({ type: "number" }, this.prop('max'))), h("bce-input", Object.assign({ type: "text" }, this.prop('minText', { localize: true }))), h("bce-input", Object.assign({ type: "text" }, this.prop('maxText', { localize: true }))), h("slot", null)));
    }
};

export { ElementSliderEditor as bce_element_slider_editor };
