Update the component function visibility based on the already resolved visibility of the property before transforming the status of the component function itself. ^KT-58184 Fixed
^KT-56551
To avoid redundant lazy resolve ^KT-56551
^KT-56550