/**
 * @since Last modified: 2024-08-05 23:54:56
 * @constant optDrag
 * @description  The attrs and props comparison table of Drag module.
 */
'use strict';
import optBase from './optBase';
import unique from '../utils/unique';
const optDrag = unique([
    {
        attr: 'drops',
        prop: 'drops',
        value: '[droppable]',
    },
    {
        attr: 'parent',
        prop: 'parent',
        value: null,
    },
    {
        attr: 'data',
        prop: 'data',
        value: {},
    },
    {
        attr: 'mode',
        prop: 'mode',
        value: 'cut',
    },
    {
        attr: 'purpose',
        prop: 'purpose',
        value: 'sort',
    },
    {
        attr: 'point',
        prop: 'point',
        value: {
            before: ['t/3'],
            after: ['b/3'],
        },
    },
    {
        attr: 'holder',
        prop: 'holder',
        value: {
            from: false,
            to: false,
        },
    },
    {
        attr: 'arrow',
        prop: 'arrow',
        value: {
            enable: false,
            icon: '_icon-right',
            placement: 'left',
        },
    },
    {
        attr: 'gesture',
        prop: 'gesture',
        value: {},
    },
    {
        attr: 'delay',
        prop: 'delay',
        value: 50,
    },
    {
        attr: 'duration',
        prop: 'duration',
        value: 200,
    },
    {
        attr: 'b4-drop',
        prop: 'b4Drop',
        value: null,
    },
    {
        attr: 'on-dropping',
        prop: 'onDropping',
        value: null,
    },
    {
        attr: 'on-dropped',
        prop: 'onDropped',
        value: null,
    },
    {
        attr: 'on-dragstart',
        prop: 'onDragStart',
        value: null,
    },
    {
        attr: 'on-dragmove',
        prop: 'onDragMove',
        value: null,
    },
    {
        attr: 'on-dragend',
        prop: 'onDragEnd',
        value: null,
    },
    {
        attr: 'on-dragcancel',
        prop: 'onDragCancel',
        value: null,
    },
    ...optBase
], 'attr');
export default optDrag;
