Two senior Taiwanese Cabinet ministers have offered to resign , following the ruling Democratic Progressive Party 's defeat in legislative elections held last week .