Don't lose hope just yet, first check these folders:
Each addon should have a file named after it with the extension “.lua”
Each file typically also has a backup version of itself (.bak), called “AddonName.lua.bak"
Before you do anything else, the first thing I’d recommend would be doing a complete backup of the full WTF folder somewhere else on your hard drive (or any other media).
After you’ve done the backup, you can try to find the saved variables corresponding to the addons that seem to have reset their configurations.
When you find those files, try to:
-Rename the “.lua”
file to “.lua.old”
-Rename the “.lua.bak”
After you’ve done that for the all the addons that you need, you can try to enter the game and if you’re lucky, the backups won’t be too old.
I wish you good luck, hope you didn’t lose everything. (Remember that if you have WoW installed on any other computer or directory you can also go there and grab the “.lua” files and copy them over to your local WTF folder.)
If you did lose everything, remember that there are pre-configured addon packs
that are pretty popular and might save you the trouble of configuring everything all over again, it might not be exactly what you wanted, but maybe you end up with an even better UI and like it more, who knows?