Merge changes from topic "DocumentsUI-lib" into main

* changes:
  Build DocumentsUI sources once
  Change switches on resource IDs to if statements
  Remove @SortDimensionId