/**
 * @since Last modified: 2024/05/19 21:23:44
 * @constant optPosition
 * @description  The attrs and props comparison table of Position module.
 */
'use strict';
import optBase from './optBase';
import unique from '../utils/unique';
const optPosition = unique([
    {
        attr: 'enable',
        prop: 'enable',
        value: true,
    },
    {
        attr: 'placement',
        prop: 'placement',
        value: 'top-center',
    },
    {
        attr: 'arrow',
        prop: 'arrow',
        value: {
            enable: true,
            size: '0.5rem',
            offset: '2.8rem',
            gap: '.8rem',
        }
    },
    {
        attr: 'parent-mutation',
        prop: 'parentMutation',
        value: {
            enable: true,
            selector: document.body,
            options: {
                attributes: true,
                characterData: true,
                childList: true,
                subtree: true,
            }
        }
    },
    {
        attr: 'target-observe',
        prop: 'targetObserve',
        value: {
            enable: true,
            attrs: ['class'],
            size: true,
        }
    },
    {
        attr: 'bubble-observe',
        prop: 'bubbleObserve',
        value: {
            enable: true,
            attrs: ['class'],
            size: true,
        }
    },
    {
        attr: 'delay',
        prop: 'delay',
        value: 20,
    },
    {
        attr: 'on-transfer',
        prop: 'onTransfer',
        value: null,
    },
    {
        attr: 'on-reposition',
        prop: 'onReposition',
        value: null,
    },
    ...optBase
], 'attr');
export default optPosition;
