Input phone mask

I’m trying to make the Input component to enter a phone number like
+country code (operator number) phone number = +1(555)555-5555.
I haven’t found any ways to add masks for this. Can you help me?
I can make it with the JS, but is there a way to do it without JS?
I’d like it to look like as in the next tutorial:

Checkout the dbc.Input component at dash-bootstrap-components, noticing the type property.