These episodes do not appear to be
panicPanic disorder
Panic disorder with agoraphobia attacks as we commonly understand them. This is not to say that anxiety is absent from them. In fact,
separationPlacenta abruptio
Separation anxiety anxiety is at the heart of many sorts of bedtime or nighttime problems. Your description indicates that, for the most part, your daughter is reacting to things she does not like, and in that sense the matter is pretty behavioral in nature. It makes sense to respond to it be letting her calm down and then proceeding with whatever has to happen (e.g., going to bed, having a bath, using sunscreen).