import { __decorate } from "tslib";
import { Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '../../../decorators';
import { EditorBase } from '../editor-base/editor-base';
/**
 * 滑动输入条编辑器
 *
 * @export
 * @class StepperEditor
 * @extends {EditorBase}
 */
let StepperEditor = class StepperEditor extends EditorBase {
    /**
     * 绘制内容
     *
     * @returns {*}
     * @memberof StepperEditor
     */
    render() {
        if (!this.editorIsLoaded) {
            return null;
        }
        return this.$createElement(this.editorComponentName, {
            props: Object.assign({ name: this.editorInstance.name, value: this.value, disabled: this.disabled }, this.customProps),
            on: { change: this.editorChange },
            style: this.customStyle
        });
    }
};
StepperEditor = __decorate([
    Component({}),
    VueLifeCycleProcessing()
], StepperEditor);
export default StepperEditor;
