/**
 * @since Last modified: 2024-09-04 19:39:53
 * @constant optValid
 * @description  The attrs and props comparison table of Valid module.
 */
'use strict';
import optBase from './optBase';
import unique from '../utils/unique';
const optValid = unique([
    {
        attr: 'label',
        prop: 'label',
        value: '',
    },
    {
        attr: 'placement',
        prop: 'placement',
        value: '',
    },
    {
        attr: 'icon-show',
        prop: 'iconShow',
        value: true,
    },
    {
        attr: 'type',
        prop: 'type',
        value: 'required',
    },
    {
        attr: 'extend',
        prop: 'extend',
        value: {},
    },
    {
        attr: 'parent',
        prop: 'parent',
        value: '',
    },
    {
        attr: 'classes',
        prop: 'classes',
        value: '',
    },
    {
        attr: 'ajax',
        prop: 'ajax',
        value: {},
    },
    {
        attr: 'fail',
        prop: 'fail',
        value: '',
    },
    {
        attr: 'succ',
        prop: 'succ',
        value: '',
    },
    {
        attr: 'separator',
        prop: 'separator',
        value: ',',
    },
    {
        attr: 'style-host',
        prop: 'styleHost',
        value: false,
    },
    {
        attr: 'succ-show',
        prop: 'succShow',
        value: true,
    },
    {
        attr: 'node-name',
        prop: 'nodeName',
        value: 'div',
    },
    {
        attr: 'message',
        prop: 'message',
        value: {},
    },
    {
        attr: 'popup',
        prop: 'popup',
        value: {},
    },
    {
        attr: 'reg-local',
        prop: 'regLocal',
        value: '',
    },
    {
        attr: 'reg-chars',
        prop: 'regChars',
        value: '',
    },
    {
        attr: 'length-str',
        prop: 'lengthStr',
        value: 6,
    },
    {
        attr: 'trigger',
        prop: 'trigger',
        value: 'blur',
    },
    {
        attr: 'ajax',
        prop: 'ajax',
        value: {},
    },
    {
        attr: 'on-trigger',
        prop: 'onTrigger',
        value: null,
    },
    {
        attr: 'on-change',
        prop: 'onChange',
        value: null,
    },
    {
        attr: 'on-show',
        prop: 'onShow',
        value: null
    },
    {
        attr: 'on-hide',
        prop: 'onHide',
        value: null
    },
    ...optBase
], 'attr');
export default optValid;
