/**
 * @since Last modified: 2024-07-11 09:30:49
 * @constant optRetrieval
 * @description  The attrs and props comparison table of Retrieval module.
 */
'use strict';
import optBase from './optBase';
import unique from '../utils/unique';
import ax from '../ax';
import prefix from '../global/prefix';
const optRetrieval = unique([
    {
        attr: 'keys',
        prop: 'keys',
        value: '',
    },
    {
        attr: 'props',
        prop: 'props',
        value: 'label',
    },
    {
        attr: 'fuzzy',
        prop: 'fuzzy',
        value: true,
    },
    {
        attr: 'order',
        prop: 'order',
        value: '',
    },
    {
        attr: 'limit',
        prop: 'limit',
        value: 0,
    },
    {
        attr: 'ignore',
        prop: 'ignore',
        value: true,
    },
    {
        attr: 'hyphen',
        prop: 'hyphen',
        value: ax.config.splitHyphen,
    },
    {
        attr: 'null-handle',
        prop: 'nullHandle',
        value: 'reset',
    },
    {
        attr: 'highlight',
        prop: 'highlight',
        value: {
            enable: false,
            props: 'label',
            node: 'i',
            classes: `${prefix}c-issue`,
        },
    },
    {
        attr: 'content',
        prop: 'content',
        value: '',
    },
    {
        attr: 'cont-type',
        prop: 'contType',
        value: 'text',
    },
    {
        attr: 'cont-data',
        prop: 'contData',
        value: {},
    },
    {
        attr: 'ajax',
        prop: 'ajax',
        value: {},
    },
    {
        attr: 'target',
        prop: 'target',
        value: '',
    },
    {
        attr: 'editor',
        prop: 'editor',
        value: '',
    },
    {
        attr: 'trigger',
        prop: 'trigger',
        value: 'input',
    },
    {
        attr: 'delay',
        prop: 'delay',
        value: 200,
    },
    {
        attr: 'status',
        prop: 'status',
        value: {
            enable: false,
            placement: 'list-top',
        },
    },
    {
        attr: 'tpl-str',
        prop: 'tplStr',
        value: '',
    },
    {
        attr: 'tpl-eng',
        prop: 'tplEng',
        value: null,
    },
    {
        attr: 'classes',
        prop: 'classes',
        value: '',
    },
    {
        attr: 'list',
        prop: 'list',
        value: {
            type: 'custom',
            childNode: 'div',
            paddingless: false,
            hoverable: false,
            divisible: false,
            multiline: false,
            fillable: false,
            radioFill: false,
        },
    },
    {
        attr: 'b4-fill',
        prop: 'b4Fill',
        value: null,
    },
    {
        attr: 'on-render',
        prop: 'onRender',
        value: null,
    },
    {
        attr: 'on-search',
        prop: 'onSearch',
        value: null
    },
    {
        attr: 'on-request',
        prop: 'onRequest',
        value: null
    },
    {
        attr: 'on-updatecont',
        prop: 'onUpdateCont',
        value: null
    },
    ...optBase
], 'attr');
export default optRetrieval;
