Okay, let's tackle first things first. I'm a bit unclear as to the stage of transition from seeds and pellets to dark greens, carrots and some peas. And I'm also unclear as to whether you are adding calcium and magnesium via supplements or if you mean you've added foods rich in those nutrients.
As for the transition, it's important that you understand that you should never try a "hard transition" in the way that you have. I say this because parrots are not like some other animals. Some can even be stubborn enough to starve themselves to the point of death rather than making a hurried switch to a new type of food. I know you were only trying to do what is best for them, and that is commendable. But a 40 gram weight loss is alarming, especially over the course of 5 days, and an indicator that things are going terribly wrong.
Now, if I'm understanding your post correctly, it sounds as though the symptoms of toe-tapping and wing-flipping have decreased since switching over to the new diet. If so, it would appear that the symptoms were indeed due to the previous diet. But that said, if your ekkies still have not fully transitioned to their new diet you should supplement their new stuff with some of their old and make the change far more gradually.
Even if this means a temporary resurgence of toe-tapping and wing-flipping.
It's better to be dealing with those symptoms for a bit than to risk starving your ekkie. You have to prioritize risks to health. Know what I mean?
Also, if you did mean that you are providing calcium and magnesium via supplements, I would highly advise doing so ONLY at the direction of a certified avian vet who has a proven knowledge of eclectus parrots. (Unfortunately, specialized knowledge of eclectus parrots is not as common as one might hope.) For the most part, all the necessary nutrition can be provided by a fresh and varied diet. Which leads to my next point.
From what you've posted, it sounds as though your ekkies could use a greater degree of variety in their diets. This is for two reasons. One, great variety is the only way to ensure a complete and well-balanced diet when feeding fresh foods. And two, adding a tastier selection of fruits to the otherwise comparatively bland (though vitally important) mix of dark greens and such encourages them to eat more.
Here is what I currently feed Maya and Jolly: (6-8 types per feeding) various sprouts (nutritional powerhouses!), carrots and pumpkin (rich in vitamin A!), bell peppers (red, yellow, orange and green), jalapeno peppers, Jamaican peppers, chili peppers, squash (butternut, green and yellow), blueberries and pomegranates (among the most nutritious of fruits!), snap peas, broccoli (rich in vitamin C!), cactus pears, starfruit, bananas, grapes, kale, turnips, radishes, brown rice, quinoa, cucumbers, endive, dandelion (another nutritional powerhouse!), sweet potato (cooked. And another rich source of vitamin A), red swiss chard, granny smith apples, papaya, African horned melon, hominy, oatmeal (sans sugar or flavoring), kiwi, barley, calendula flowers, fennel, star anise, chamomile flowers, milk thistle, elder berries, rose hips, hibiscus, bee pollen, chocho beans and garbanzo beans, as well as Volkman's Fancy Soak and Simmer for the majority of his legumes and grains.
Twice a month, I'll give some hard-boiled egg (with the crushed shell for calcium). Slightly more frequently during a molt. And an assortment of unsalted nuts, seeds or even millet spray for their treats. (Remember that seeds are not the devil. Lol! When fed at appropriate levels, they can be beneficial. I never feed more than maybe 1 and a half teaspoons of seeds in a day.)
At first when you make all of this stuff available, there will be a lot of waste. But keep at it. Consistency and variety will eventually win them over.
Oh! The issue with the OP's ekkie turned out to be a sensitivity to passionfruit, btw. But there are lots of different possible causes of toe-tapping and wing-flipping in ekkies aside from pellets or seeds. So just to make sure you are informed about other possibilities, here are 2 threads that can get you started:
http://www.parrotforums.com/eclectus/61598-how-long-before-toe-tapping-ends.html
http://www.parrotforums.com/eclectus/61889-okay-let-s-talk-abv-pdd-toe-tapping.html
Don't hesitate to come back with more questions if you have them!