The EU and the UK published on Saturday the full text of their post-Brexit deal as the clock was ticking on its approval by January 1.