Since male Senegal Chameleons have a pronounced hemipenal bulge, I’d likely say this is a female.
Unfortunately most, if not all, Senegal Chameleons are wild caught, meaning your little girl was born in the wild and shipped here. The entire process causes undue stress which when they finally arrive in their final destination (your cage) they are very sickly. It would also explain why the pet shop didn’t know any better.
Flies, while maybe not the most nutritionally sound insect, are great for getting picky eaters to eat. Also green bugs (katydids, mantids etc.) are also eye catching. My wild caught Senegals never seemed to recognize silkworms or hornworms as food, maybe because they didn’t come across them in the wild, but that is my experience only. They are good and squishy if your girl likes them.
I do have a blog written about acclimating wild caughts. Perhaps you will find some of this helpful.
https://www.chameleonforums.com/blogs/entry/dealing-with-a-wild-caught-chameleon.776/
Senegals are also a fairly shy species so adding some more cover would be helpful. Real plants will help hold the water and humidity better than plastic ones. Keep handling to a minimum. Real sun also does wonders so if you can get her outside that would be beneficial.
Panacur is a great dewormer because it is relatively safe and takes care of a large number of parasites. One of the problems with the Panacur is it does cause inappetence (a problem you are already experiencing) and it can be hard on the kidneys if they aren’t getting enough water. 10 seconds every couple of hours is not enough water for a healthy chameleon so, aside from being on the Panacur, you should make those times longer. I suggest some rehydrating showers to start.
We have written a short article on medications that you might find helpful:
https://www.chameleonforums.com/care/health/vet/