To dream that you are slapped indicates carelessness. You either feel unappreciated or betrayed.
To dream that you slap someone suggests that you are harboring some repressed anger and deep-seated rage.
Dreaming of someone slapping someone else implies that you are not taking responsibility or stepping up to resolve issues that concern you in your waking life. You tend to watch things happen instead of taking control.