Does a compression valve come with the tub insert and compression sleeve or they have to be acquired separately?
A worker at the tool store can tell you for sure, but generally compression fittings include everything you need to complete the connection, assuming you choose the correct fitting.  The tube insert appears to be a brass tube sticking out of the compression nut in the picture.  Your diagram shows the parts separately because it is a guide designed to aid in a minimal repair.