The space of bounded variation with infinite-dimensional codomain