consul/ui-v2/app/utils/get-component-factory.js