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