refactor(ivy): replace enter / leave view with selectView (#32263)

After a series of recent refactorings `enterView` and `leaveView` became
identical. This PR merges both into one concept of view selectio (similar
to a node selection). This reduces number of concepts and code size.

PR Close #32263
This commit is contained in:
Pawel Kozlowski
2019-08-22 11:43:24 +02:00
committed by atscott
parent e3422e0aed
commit e63a7b0532
10 changed files with 35 additions and 54 deletions

View File

@ -248,9 +248,6 @@
{
"name": "elementCreate"
},
{
"name": "enterView"
},
{
"name": "executeCheckHooks"
},
@ -488,9 +485,6 @@
{
"name": "isStylingValueDefined"
},
{
"name": "leaveView"
},
{
"name": "locateHostElement"
},
@ -596,6 +590,9 @@
{
"name": "selectInternal"
},
{
"name": "selectView"
},
{
"name": "setActiveHostElement"
},

View File

@ -206,9 +206,6 @@
{
"name": "domRendererFactory3"
},
{
"name": "enterView"
},
{
"name": "executeCheckHooks"
},
@ -359,9 +356,6 @@
{
"name": "isRootView"
},
{
"name": "leaveView"
},
{
"name": "locateHostElement"
},
@ -437,6 +431,9 @@
{
"name": "selectInternal"
},
{
"name": "selectView"
},
{
"name": "setActiveHostElement"
},

View File

@ -629,9 +629,6 @@
{
"name": "elementPropertyInternal"
},
{
"name": "enterView"
},
{
"name": "executeCheckHooks"
},
@ -1058,9 +1055,6 @@
{
"name": "iterateListLike"
},
{
"name": "leaveView"
},
{
"name": "listenerInternal"
},
@ -1256,6 +1250,9 @@
{
"name": "selectInternal"
},
{
"name": "selectView"
},
{
"name": "setActiveHostElement"
},