Hi OP.
I have been in this situation but from the other side.
So my ExH hurt our daughter after a row.
I called the police.
Their standard protocol, just to let you know, is to interview both "sides". They then "suggest" that one side leaves the house to give everyone time to calm down. The police do view stuff like this as a priority and we had a police team at our house within about an hour and a half.
I was also hiding upstairs with my daughter in her locked bedroom,
You should also be aware that you may have caused significant damage to your daughter's mental health. My daughter had a lot of trouble sleeping and kept having nightmares that her dad was trying to kill her. She was prescribed diazepam and duloxetine and diagnosed with depression, and adjustment disorder.
Given that you said that she is afraid to see you it seems likely that she is having similar issues to my daughter. If you are communication with your dh please encourage him to speak to her GP. I found ours incredibly supportive.
I understand that you have mental health issues. However as a parent you need to put your children first and not either attack them or cause other mental health issues.
It is very likely your daughter will not feel safe around you or with you on the house. In my situation, the police persuaded my ExH to leave overnight but he came home very early the next morning. Me and my kids left about two hours later (he didn't notice as was on a work call) and never went back.
My DD still has anxiety attacks at the thought of going back to what was our home and we are five years on. Oh yes, she has an anxiety diagnosis now.
Please put your daughter first. Your mental health problems are not her fault.
It is likely that if you do not leave and give her space she will need to. Don't do that to her.