Hi, I'm not sure about the dew claws, Princess had hers taken out before I got her.
As far as your carpet, I bet she needs to have a nail trim. Maybe if you take her back to the Groomers that will help.

Princess always needs a trim, her hair & nails grow really fast.