/**
 * @since Last modified: 2024-07-11 09:30:49
 * @constant optPopup
 * @description  The attrs and props comparison table of Popup module.
 */
'use strict';
import optBase from './optBase';
import { T_obj } from '../../../types/ax';
import ax from '../ax';
import unique from '../utils/unique';
import prefix from '../global/prefix';
import optBubble from './optBubble';
const optPopup: T_obj[] = unique([
    {
        attr: 'theme',
        prop: 'theme',
        value:'',
    },
    {
        attr: 'placement',
        prop: 'placement',
        value: 'top',
    },
    {
        attr: 'trigger',
        prop: 'trigger',
        value: 'hover',
    },
    {
        attr: 'page-close',
        prop: 'pageClose',
        value: true,
    },
    {
        attr: 'size',
        prop: 'size',
        value: 'md',
    },
    {
        attr: 'in',
        prop: 'in',
        value: 'fadeIn',
    },
    {
        attr: 'out',
        prop: 'out',
        value: 'fadeOut',
    },
    {
        attr: 'multiple',
        prop: 'multiple',
        value: false,
    },
    {
        attr: 'height',
        prop: 'height',
        value: '',
    },
    {
        attr: 'adaptive',
        prop: 'adaptive',
        value: true,
    },
    {
        attr: 'position',
        prop: 'position',
        value: {},
    },
    {
        attr: 'arrow',
        prop: 'arrow',
        value: {
            enable: true,
            size: '0.5rem',
            offset: '2.8rem',
            gap: '.8rem',
        }
    },
    {
        attr: 'wing',
        prop: 'wing',
        value: {
            selector: '',
            trigger: 'click',
            actClass: '',
        },
    },
    {
        attr: 'on-reposition',
        prop: 'onReposition',
        value: null,
    },
    ...optBubble
], 'attr');
export default optPopup;
