J-10 is based on Israeli Lavi project which was abandoned under US pressure. Israel sold it to China for approx $500 million.
It has no Russian technology or input.
JF-17 is the Russian Izdelye-33, abandoned in 1986. No prototype got ever built. Preliminary research, technology and windtunnel tests were completed before China purchased tho whole project and called it FC-1.
Pakistan sent a whole dedicated team of engineers to China, some were even taught to speak Mandarin. Our technical input was restricted, its basically a Chinese project co-funded by Pakistan in order to have our first experience of developing a fighter from scratch. As I stated earlier, our team which had almost two decades of flying experience with the F-16 did assist with developing the flight envelope and integration of western systems into it. The Thunder flies like a F-16 and block III is expected to come quite close to block 52+Aesa.
What we got in return is a capable fighter and full ToT. Early batches were assembled in Kama, now they're being co-produced. When the block III arrives, PAC will be manufacturing 52% of the airframe and parts of avionics.