You can download the On-Premise installation package and find then in the path below. “~\Dynamics.365.BC.21531.W1.DVD\Applications\BaseApp\Source”
In addition, these files are also included in the Docker version. Hope this will help.