A magnitude-7.7 earthquake strikes off the coast of Indonesia in the Flores region, damaging buildings and triggering an early tsunami warning that has since been cancelled.