refactor(listbox): Refactor calcs used in more than one function.
refactor(listbox): Refactor calcs used in more than one function.

TemainfoSistemas/truly-ui,TemainfoSistemas/truly-ui,TemainfoSistemas/truly-ui