Quasi-optimal convergence rates for adaptive boundary element methods with data approximation, part I : weakly-singular integral equation