As this obviously isn't out of the box then you will need to write a GUI Extension.
My post here may offer some starting points: How to disable translation property based on Bundle Type?
I would also recommend you confirm what you've tried/read/thought about thus far and I can add more detail to this response.
Some simple questions come to mind immediately which makes me think there could be a lot more detail in here.
- are you expecting the resolving to happen every time someone opens the bundle? what if there are 500 components in that bundle?
- have you considered link resolving in here to be certain what pages will be published/unpublished
There are a lot more challenges with this but we should first understand what you've already thought about so advisors don't re-invent the wheel.