How can I add custom ui form inputs to factor, so I can also use them in the page template api?

I took a look at the source code and as I understand, it would be possible to define a global vue component of name factor-input-${field.input}? Or is there a way using filters and callbacks?

I am missing inputs for datetime and file-attachements (e.g. restricting to specific document type).