/**
 * @since Last modified: 2024-07-11 09:30:49
 * @constant optMenu
 * @description  The attrs and props comparison table of Menu module.
 */
'use strict';
import optBase from './optBase';
import unique from '../utils/unique';
const optMenu = unique([
    {
        attr: 'content',
        prop: 'content',
        value: '',
    },
    {
        attr: 'cont-type',
        prop: 'contType',
        value: 'text',
    },
    {
        attr: 'cont-data',
        prop: 'contData',
        value: {},
    },
    {
        attr: 'ajax',
        prop: 'ajax',
        value: {},
    },
    {
        attr: 'dispose',
        prop: 'dispose',
        value: false,
    },
    {
        attr: 'active',
        prop: 'active',
        value: '',
    },
    {
        attr: 'disabled',
        prop: 'disabled',
        value: '',
    },
    {
        attr: 'trigger',
        prop: 'trigger',
        value: 'click',
    },
    {
        attr: 'duration',
        prop: 'duration',
        value: 0,
    },
    {
        attr: 'max',
        prop: 'max',
        value: 0,
    },
    {
        attr: 'embed',
        prop: 'embed',
        value: false,
    },
    {
        attr: 'slider',
        prop: 'slider',
        value: {
            enable: false,
            arrowShow: false,
            options: {
                slides: 'auto',
                scroll: {
                    drift: { mode: 'free', coef: 1 }
                }
            },
        },
    },
    {
        attr: 'menu',
        prop: 'menu',
        value: {
            enable: false,
            options: {
                columns: 4,
                size: 'lg',
            }
        },
    },
    {
        attr: 'col',
        prop: 'col',
        value: {
            enable: false,
            position: 'left',
        },
    },
    {
        attr: 'classes',
        prop: 'classes',
        value: '',
    },
    {
        attr: 'add-active',
        prop: 'addActive',
        value: true,
    },
    {
        attr: 'tools',
        prop: 'tools',
        value: {
            enable: false,
            children: [],
        },
    },
    {
        attr: 'layout',
        prop: 'layout',
        value: 'lamp',
    },
    {
        attr: 'render',
        prop: 'render',
        value: {
            head: 'ul',
            body: 'ul',
            headChild: 'li',
            bodyChild: 'li',
        },
    },
    {
        attr: 'sticky',
        prop: 'sticky',
        value: 0,
    },
    {
        attr: 'on-rendered',
        prop: 'onRendered',
        value: null,
    },
    {
        attr: 'on-planted',
        prop: 'onPlanted',
        value: null,
    },
    {
        attr: 'on-trigger',
        prop: 'onTrigger',
        value: null
    },
    {
        attr: 'on-add',
        prop: 'onAdd',
        value: null
    },
    {
        attr: 'on-beforeremove',
        prop: 'onBeforeRemove',
        value: null
    },
    {
        attr: 'on-remove',
        prop: 'onRemove',
        value: null
    },
    {
        attr: 'on-disable',
        prop: 'onDisable',
        value: null
    },
    {
        attr: 'on-enable',
        prop: 'onEnable',
        value: null
    },
    {
        attr: 'on-disableAll',
        prop: 'onDisableAll',
        value: null
    },
    {
        attr: 'on-enableAll',
        prop: 'onEnableAll',
        value: null
    },
    {
        attr: 'on-active',
        prop: 'onActive',
        value: null
    },
    {
        attr: 'on-updatecont',
        prop: 'onUpdateCont',
        value: null
    },
    {
        attr: 'on-request',
        prop: 'onRequest',
        value: null
    },
    ...optBase
], 'attr');
export default optMenu;
