[Resource] Move event into component & add new dependency on it
Move FlashEvent from Cart to Resource component