/**
 * @since Last modified: 2024-09-04 22:17:56
 * @constant optProgress
 * @description  The attrs and props comparison table of Progress module.
 */
'use strict';
import optBase from './optBase';
import { T_obj } from '../../../types/ax';
import ax from '../ax';
import unique from '../utils/unique';
const optProgress: T_obj[] = unique([
    {
        attr: 'type',
        prop: 'type',
        value: 'line',
    },
    {
        attr: 'theme',
        prop: 'theme',
        value: '',
    },
    {
        attr: 'gradient',
        prop: 'gradient',
        value: false
    },
    {
        attr: 'linecap',
        prop: 'linecap',
        value: 'round',
    },
    {
        attr: 'size',
        prop: 'size',
        value: '',
    },
    {
        attr: 'thk',
        prop: 'thk',
        value: '',
    },
    {
        attr: 'classes',
        prop: 'classes',
        value: '',
    },
    {
        attr: 'range',
        prop: 'range',
        value: [0, 100],
    },
    {
        attr: 'value',
        prop: 'value',
        value: 0,
    },
    {
        attr: 'curve',
        prop: 'curve',
        value: 'easeOut',
    },
    {
        attr: 'duration',
        prop: 'duration',
        value: 0,
    },
    {
        attr: 'rotate',
        prop: 'rotate',
        value: false,
    },
    {
        attr: 'simple',
        prop: 'simple',
        value: false,
    },
    {
        attr: 'control',
        prop: 'control',
        value: false,
    },
    {
        attr: 'steps',
        prop: 'steps',
        value: [],
    },
    {
        attr: 'label',
        prop: 'label',
        value: {
            enable:true,
            template:'',
            placement:'',
            unit:'%',
            tips:false,
        },
    },
    {
        attr: 'number',
        prop: 'number',
        value: {
            type:'percent',
            trunc:true,
            emphatic:false,
        },
    },
    {
        attr: 'b4-set',
        prop: 'b4Set',
        value: null,
    },
    {
        attr: 'on-start',
        prop: 'onStart',
        value: null,
    },
    {
        attr: 'on-move',
        prop: 'onMove',
        value: null,
    },
    {
        attr: 'on-end',
        prop: 'onEnd',
        value: null,
    },
    {
        attr: 'on-zero',
        prop: 'onZero',
        value: null,
    },
    {
        attr: 'on-completed',
        prop: 'onCompleted',
        value: null,
    },
    {
        attr: 'on-set',
        prop: 'onSet',
        value: null,
    },
    {
        attr: 'on-pause',
        prop: 'onPause',
        value: null,
    },
    {
        attr: 'on-continue',
        prop: 'onContinue',
        value: null,
    },
    {
        attr: 'on-restore',
        prop: 'onRestore',
        value: null,
    },
    ...optBase
], 'attr');
export default optProgress;
