export var getItemStatus = function getItemStatus(param) {
    var isUncontrolled = param.isUncontrolled, current = param.current, status = param.status, index = param.index, item = param.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';
};
