The conditional perfect, would have, refers to a missed opportunity or unfulfilled desire in the past.Note that this is often followed by an reason.For example:
- I would have completed my graduation. (Reason:If i hadn't faced a financial situation. )
2.I would have completed my project.(Reason:but there was no electricity)
"Would like " is used to mean "want"(It refers to 'desire' in a polite way)For example:
I would like to drink coffee.(It refers to present desire of the speaker)
I would have liked to drink coffee.(It refers to the past desire of the speaker which wasn't fulfilled)
"Would have liked" also carries a sense of a past intention.For example:
If there had been a piece of cake, I would have liked it.('I would have liked' here refers to the intention of the speaker which was in the past)
There is a piece of cake, I would like it (It refers to the present desire of the speaker)
Conclusion: Having studied about 'would like' and would have liked', I can say 'would have liked' is grammatically correct in the context You have provided.so,It should be:
"she would have liked to surprise him."
See http://dictionary.cambridge.org/grammar/british-grammar/would-like
See https://www.grammarly.com/answers/questions/1559-i-would-like-or-i-would-want/