Friaul, Triest, Venetien