import { h } from '@stencil/core';
import { registerField } from '../../FieldGenerator';
// component generator
const render = (field, value, errors, disabled, onFieldChange, onFieldBlur) => h("dvn-field-input-range", { disabled: disabled, field: field, errors: errors, onChange: (e) => onFieldChange(field, Number(e.detail)), onBlur: () => onFieldBlur(field), value: value });
// register 'range' field for json form generations
registerField('range', render);
export { RangeField } from './range';
