A top executive of Chinese telecoms giant Huawei is granted bail by a Canadian court, 10 days after her arrest in Vancouver at the request of US authorities sparked a diplomatic dispute.