The main-belt comets: The Pan-STARRS1 perspective