/**
 * @since Last modified: 2024-07-11 09:30:49
 * @constant optBubble
 * @description Comparison table of attributes and parameters of base class.
 */
'use strict';
import ax from '../ax';
import prefix from '../global/prefix';
import optBase from './optBase';
const optBubble = [
    {
        attr: 'heading',
        prop: 'heading',
        value: '',
    },
    {
        attr: 'divider',
        prop: 'divider',
        value: false,
    },
    {
        attr: 'duration',
        prop: 'duration',
        value: 0,
    },
    {
        attr: 'asleep',
        prop: 'asleep',
        value: false,
    },
    {
        attr: 'dead-show',
        prop: 'deadShow',
        value: false,
    },
    {
        attr: 'keep-show',
        prop: 'keepShow',
        value: false,
    },
    {
        attr: 'classes',
        prop: 'classes',
        value: '',
    },
    {
        attr: 'padding',
        prop: 'padding',
        value: true,
    },
    {
        attr: 'content',
        prop: 'content',
        value: '',
    },
    {
        attr: 'cont-type',
        prop: 'contType',
        value: 'text',
    },
    {
        attr: 'cont-data',
        prop: 'contData',
        value: {},
    },
    {
        attr: 'ajax',
        prop: 'ajax',
        value: {},
    },
    {
        attr: 'act-class',
        prop: 'actClass',
        value: ax.config.actClass,
    },
    {
        attr: 'tpl-str',
        prop: 'tplStr',
        value: '',
    },
    {
        attr: 'tpl-eng',
        prop: 'tplEng',
        value: null,
    },
    {
        attr: 'z-index',
        prop: 'zIndex',
        value: 0,
    },
    {
        attr: 'dedicated',
        prop: 'dedicated',
        value: false,
    },
    {
        attr: 'media',
        prop: 'media',
        value: {
            caption: '',
            brief: '',
        },
    },
    {
        attr: 'list',
        prop: 'list',
        value: {
            type: '',
            selector: `.${prefix}bulletin`,
            parentNode: 'ul',
            childNode: 'li',
            paddingless: false,
            hoverable: false,
            divisible: false,
            multiline: false,
            cols: 0,
            lines: '',
            fillable: false,
            radioFill: false,
        },
    },
    {
        attr: 'tools',
        prop: 'tools',
        value: {
            enable: true,
            placement: 'inside',
            children: ['close']
        },
        /* tools: {
             enable: true,
             placement: 'inside',
             children: [],
         }, */
    },
    {
        attr: 'footer',
        prop: 'footer',
        value: {
            enable: true,
            layout: 'plain',
            note: false,
            divider: false,
            padding: false,
            children: ['cancel', 'confirm']
        }
        /* footer:{
            enable: true,
            layout: 'plain',
            attrs: {},
            note: {
                enable: false,
                nodeName: '',
                html: '',
                attrs: {}
            },
            divider: {
                enable: false,
                nodeName: '',
                attrs: {}
            },
            padding: {
                enable: false,
                nodeName: '',
                attrs: {}
            },
            children: [],
        }, */
    },
    {
        attr: 'b4-show',
        prop: 'b4Show',
        value: null,
    },
    {
        attr: 'b4-hide',
        prop: 'b4Hide',
        value: null,
    },
    {
        attr: 'b4-fill',
        prop: 'b4Fill',
        value: null,
    },
    {
        attr: 'b4-confirm',
        prop: 'b4Confirm',
        value: null,
    },
    {
        attr: 'b4-cancel',
        prop: 'b4Cancel',
        value: null,
    },
    {
        attr: 'on-show',
        prop: 'onShow',
        value: null,
    },
    {
        attr: 'on-hide',
        prop: 'onHide',
        value: null,
    },
    {
        attr: 'on-valid',
        prop: 'onValid',
        value: null,
    },
    {
        attr: 'on-updatecont',
        prop: 'onUpdateCont',
        value: null,
    },
    {
        attr: 'on-transfer',
        prop: 'onTransfer',
        value: null,
    },
    {
        attr: 'on-confirm',
        prop: 'onConfirm',
        value: null,
    },
    {
        attr: 'on-cancel',
        prop: 'onCancel',
        value: null,
    },
    {
        attr: 'on-request',
        prop: 'onRequest',
        value: null
    },
    ...optBase
];
export default optBubble;
