A burglary has left children and staff at a Flintshire primary school 'deeply saddened'.