/**
 * @since Last modified: 2024-09-18 12:18:29
 * @constant optVirtualize
 * @description  The attrs and props comparison table of Virtualize module.
 */
'use strict';
import optBase from './optBase';
import { T_obj } from '../../../types/ax';
import ax from '../ax';
import unique from '../utils/unique';
const optVirtualize: T_obj[] = unique([
    {
        attr: 'axis',
        prop: 'axis',
        value: 'y',
    },
    {
        attr: 'trigger',
        prop: 'trigger',
        value: 'scroll',
    },
    {
        attr: 'spy',
        prop: 'spy',
        value: {
            enable: true,
        },
    },
    {
        attr: 'classes',
        prop: 'classes',
        value: '', 
    },
    {
        attr: 'spin',
        prop: 'spin',
        value: '<ax-spin></ax-spin>', 
    },
    {
        attr: 'size',
        prop: 'size',
        value: 0, 
    },
    {
        attr: 'spill',
        prop: 'spill',
        value: 2, 
    },
    {
        attr: 'gesture',
        prop: 'gesture',
        value: {}, 
    },
    {
        attr: 'names',
        prop: 'names',
        value: {
            wrap: 'div',
            list: 'div',
            cont:'div',
            item: 'section'
        }, 
    },
    {
        attr: 'index',
        prop: 'index',
        value: 0, 
    },
    {
        attr: 'immutable',
        prop: 'immutable',
        value: false, 
    },
    {
        attr: 'content',
        prop: 'content',
        value: ''
    },
    {
        attr: 'cont-type',
        prop: 'contType',
        value: 'text',
    },
    {
        attr: 'cont-data',
        prop: 'contData',
        value: {},
    },
    {
        attr: 'ajax',
        prop: 'ajax',
        value: {},
    },
    {
        attr: 'tpl-str',
        prop: 'tplStr',
        value: '',
    },
    {
        attr: 'tpl-eng',
        prop: 'tplEng',
        value: null,
    },
    {
        attr: 'media',
        prop: 'media',
        value: {
            caption: '',
            brief: '',
        },
    },
    {
        attr: 'b4-append',
        prop: 'b4Append',
        value: null,
    },
    {
        attr: 'b4-updateitem',
        prop: 'b4UpdateItem',
        value: null,
    },
    {
        attr: 'b4-clear',
        prop: 'b4Clear',
        value: null,
    },
    {
        attr: 'on-append',
        prop: 'onAppend',
        value: null,
    },
    {
        attr: 'on-getcont',
        prop: 'onGetCont',
        value: null,
    },
    {
        attr: 'on-exhausted',
        prop: 'onExhausted',
        value: null,
    },
    {
        attr: 'on-tostart',
        prop: 'onToStart',
        value: null,
    },
    {
        attr: 'on-toend',
        prop: 'onToEnd',
        value: null,
    },
    {
        attr: 'on-updateItem',
        prop: 'onUpdateItem',
        value: null,
    },
    {
        attr: 'on-rendered',
        prop: 'onRendered',
        value: null,
    },
    {
        attr: 'on-error',
        prop: 'onError',
        value: null,
    },
    ...optBase
], 'attr');
export default optVirtualize;
