"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
Object.defineProperty(exports, "getItemStatus", {
    enumerable: true,
    get: function() {
        return getItemStatus;
    }
});
const getItemStatus = ({ isUncontrolled, current, status, index, item })=>{
    if (item.disabled) {
        return 'inactive';
    }
    if (!isUncontrolled) {
        return status || item.status || 'inactive';
    }
    if (current > index) {
        return 'completed';
    }
    if (current === index) {
        return status || 'active';
    }
    return 'inactive';
};
