- `registerCommandListener` documentation was wrong so that is fixed - use `uniqueIdProvider` much as possible so we are not duplicating logic - add `appRegistryService` which makes `componentRegistry` cleaner and also makes testing easier - type return type of `NativeEventsReceiver.ts` correctly - add types to `LayoutTreeParser` - `ComponentRegistry.test.tsx` refactor so it tests only things that is should and not implementation of React Native functions - fix type `center` prop to be required on `LayoutSideMenu` - add missing layout props `topTabs` and `externalComponent` - lots of minor cleaning
|
||
27 | 27 |
|
28 | 28 |
|
29 | 29 |
|
30 |
|
|
30 |
|
|
31 | 31 |
|
32 | 32 |
|
33 | 33 |
|
34 | 34 |
|
35 | 35 |
|
36 | 36 |
|
37 |
|
|
37 |
|
|
38 | 38 |
|
39 | 39 |
|
40 | 40 |
|
|
||
66 | 66 |
|
67 | 67 |
|
68 | 68 |
|
69 |
|
|
69 |
|
|
70 | 70 |
|
71 | 71 |
|
72 | 72 |
|
|
||
101 | 101 |
|
102 | 102 |
|
103 | 103 |
|
104 |
|
|
104 |
|
|
105 | 105 |
|
106 | 106 |
|
107 | 107 |
|
|
||
158 | 158 |
|
159 | 159 |
|
160 | 160 |
|
161 |
|
|
161 |
|
|
162 | 162 |
|
163 | 163 |
|
164 | 164 |
|
|
||
197 | 197 |
|
198 | 198 |
|
199 | 199 |
|
200 |
|
|
200 |
|
|
201 | 201 |
|
202 | 202 |
|
203 | 203 |
|
|
||
220 | 220 |
|
221 | 221 |
|
222 | 222 |
|
223 |
|
|
223 |
|
|
224 | 224 |
|
225 | 225 |
|
226 | 226 |
|
|
||
243 | 243 |
|
244 | 244 |
|
245 | 245 |
|
246 |
|
|
246 |
|
|
247 | 247 |
|
248 | 248 |
|
249 | 249 |
|
|
||
20 | 20 |
|
21 | 21 |
|
22 | 22 |
|
23 |
|
|
23 | 24 |
|
24 | 25 |
|
25 | 26 |
|
|
||
45 | 46 |
|
46 | 47 |
|
47 | 48 |
|
48 |
|
|
49 |
|
|
50 |
|
|
51 |
|
|
52 |
|
|
53 |
|
|
54 |
|
|
55 |
|
|
49 | 56 |
|
50 | 57 |
|
51 | 58 |
|
52 | 59 |
|
53 |
|
|
60 |
|
|
54 | 61 |
|
55 | 62 |
|
56 | 63 |
|
|
||
69 | 76 |
|
70 | 77 |
|
71 | 78 |
|
72 |
|
|
79 |
|
|
73 | 80 |
|
74 | 81 |
|
75 | 82 |
|
|
||
82 | 89 |
|
83 | 90 |
|
84 | 91 |
|
85 |
|
|
92 |
|
|
86 | 93 |
|
87 | 94 |
|
88 | 95 |
|
|
||
1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
||
2 | 2 |
|
3 | 3 |
|
4 | 4 |
|
5 |
|
|
6 |
|
|
7 |
|
|
5 |
|
|
8 | 6 |
|
9 | 7 |
|
10 | 8 |
|
|
||
19 | 17 |
|
20 | 18 |
|
21 | 19 |
|
22 |
|
|
23 |
|
|
24 |
|
|
25 |
|
|
20 |
|
|
21 |
|
|
26 | 22 |
|
|
||
1 |
|
|
2 |
|
|
1 |
|
|
3 | 2 |
|
4 | 3 |
|
5 | 4 |
|
|
||
12 | 11 |
|
13 | 12 |
|
14 | 13 |
|
15 |
|
|
14 |
|
|
16 | 15 |
|
17 | 16 |
|
18 | 17 |
|
|
||
25 | 24 |
|
26 | 25 |
|
27 | 26 |
|
28 |
|
|
27 |
|
|
29 | 28 |
|
30 | 29 |
|
31 | 30 |
|
32 |
|
|
31 |
|
|
33 | 32 |
|
34 | 33 |
|
35 | 34 |
|
36 |
|
|
35 |
|
|
37 | 36 |
|
38 | 37 |
|
39 | 38 |
|
40 |
|
|
39 |
|
|
41 | 40 |
|
42 | 41 |
|
43 | 42 |
|
44 |
|
|
43 |
|
|
45 | 44 |
|
46 | 45 |
|
47 | 46 |
|
48 |
|
|
47 |
|
|
49 | 48 |
|
50 | 49 |
|
51 | 50 |
|
52 |
|
|
51 |
|
|
53 | 52 |
|
54 | 53 |
|
55 | 54 |
|
56 |
|
|
55 |
|
|
57 | 56 |
|
58 | 57 |
|
59 | 58 |
|
60 |
|
|
59 |
|
|
61 | 60 |
|
62 | 61 |
|
63 | 62 |
|
64 |
|
|
63 |
|
|
65 | 64 |
|
66 | 65 |
|
67 | 66 |
|
68 |
|
|
67 |
|
|
69 | 68 |
|
70 | 69 |
|
71 | 70 |
|
|
||
1 | 1 |
|
2 | 2 |
|
3 | 3 |
|
4 |
|
|
4 |
|
|
5 | 5 |
|
6 | 6 |
|
7 | 7 |
|
|
||
19 | 19 |
|
20 | 20 |
|
21 | 21 |
|
22 |
|
|
22 |
|
|
23 | 23 |
|
24 | 24 |
|
25 | 25 |
|
|
||
57 | 57 |
|
58 | 58 |
|
59 | 59 |
|
60 |
|
|
61 |
|
|
62 |
|
|
63 |
|
|
60 |
|
|
61 |
|
|
62 |
|
|
63 |
|
|
64 | 64 |
|
65 | 65 |
|
66 |
|
|
67 |
|
|
66 |
|
|
67 |
|
|
68 | 68 |
|
69 | 69 |
|
70 | 70 |
|
|
||
1 | 1 |
|
2 | 2 |
|
3 | 3 |
|
4 |
|
|
5 |
|
|
4 | 6 |
|
5 | 7 |
|
6 | 8 |
|
|
||
11 | 13 |
|
12 | 14 |
|
13 | 15 |
|
14 |
|
|
16 |
|
|
15 | 17 |
|
16 | 18 |
|
17 | 19 |
|
|
||
43 | 45 |
|
44 | 46 |
|
45 | 47 |
|
46 |
|
|
47 | 48 |
|
48 | 49 |
|
49 | 50 |
|
|
||
97 | 98 |
|
98 | 99 |
|
99 | 100 |
|
100 |
|
|
101 |
|
|
102 |
|
|
103 |
|
|
104 | 101 |
|
105 | 102 |
|
106 | 103 |
|
|
||
121 | 118 |
|
122 | 119 |
|
123 | 120 |
|
124 |
|
|
125 |
|
|
126 |
|
|
127 |
|
|
128 | 121 |
|
129 | 122 |
|
130 | 123 |
|
131 | 124 |
|
132 |
|
|
133 |
|
|
125 |
|
|
126 |
|
|
134 | 127 |
|
135 | 128 |
|
136 | 129 |
|
|
||
139 | 132 |
|
140 | 133 |
|
141 | 134 |
|
142 |
|
|
135 |
|
|
143 | 136 |
|
144 | 137 |
|
145 | 138 |
|
146 |
|
|
139 |
|
|
147 | 140 |
|
148 | 141 |
|
149 | 142 |
|
150 | 143 |
|
151 |
|
|
144 |
|
|
152 | 145 |
|
153 | 146 |
|
154 | 147 |
|
|
||
157 | 150 |
|
158 | 151 |
|
159 | 152 |
|
160 |
|
|
161 |
|
|
162 |
|
|
163 | 153 |
|
164 | 154 |
|
165 | 155 |
|
|
||
180 | 170 |
|
181 | 171 |
|
182 | 172 |
|
183 |
|
|
173 |
|
|
184 | 174 |
|
185 | 175 |
|
186 | 176 |
|
|
||
257 | 247 |
|
258 | 248 |
|
259 | 249 |
|
260 |
|
|
250 |
|
|
261 | 251 |
|
262 | 252 |
|
263 | 253 |
|
|
||
268 | 258 |
|
269 | 259 |
|
270 | 260 |
|
271 |
|
|
272 |
|
|
273 |
|
|
274 |
|
|
275 |
|
|
276 |
|
|
277 |
|
|
278 |
|
|
279 |
|
|
280 |
|
|
281 |
|
|
282 |
|
|
283 |
|
|
284 |
|
|
285 |
|
|
286 |
|
|
287 |
|
|
288 |
|
|
289 |
|
|
290 |
|
|
261 |
|
|
262 |
|
|
263 |
|
|
264 |
|
|
291 | 265 |
|
292 | 266 |
|
293 | 267 |
|
|
||
297 | 271 |
|
298 | 272 |
|
299 | 273 |
|
300 |
|
|
274 |
|
|
301 | 275 |
|
302 | 276 |
|
303 | 277 |
|
|
||
1 | 1 |
|
2 | 2 |
|
3 | 3 |
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
|
|
4 | 14 |
|
5 | 15 |
|
6 | 16 |
|
7 | 17 |
|
8 | 18 |
|
9 | 19 |
|
10 |
|
|
20 |
|
|
11 | 21 |
|
12 |
|
|
22 |
|
|
13 | 23 |
|
14 |
|
|
24 |
|
|
15 | 25 |
|
16 |
|
|
26 |
|
|
17 | 27 |
|
18 |
|
|
28 |
|
|
19 | 29 |
|
20 |
|
|
30 |
|
|
21 | 31 |
|
22 |
|
|
32 |
|
|
23 | 33 |
|
24 |
|
|
34 |
|
|
25 | 35 |
|
26 | 36 |
|
27 | 37 |
|
28 | 38 |
|
29 |
|
|
39 |
|
|
30 | 40 |
|
31 | 41 |
|
32 | 42 |
|
33 | 43 |
|
34 |
|
|
44 |
|
|
35 | 45 |
|
36 | 46 |
|
37 | 47 |
|
38 |
|
|
48 |
|
|
39 | 49 |
|
40 | 50 |
|
41 | 51 |
|
42 | 52 |
|
43 |
|
|
53 |
|
|
44 | 54 |
|
45 | 55 |
|
46 | 56 |
|
47 |
|
|
48 |
|
|
49 |
|
|
50 |
|
|
57 |
|
|
51 | 58 |
|
52 | 59 |
|
53 |
|
|
54 |
|
|
55 |
|
|
56 |
|
|
57 |
|
|
58 |
|
|
60 |
|
|
59 | 61 |
|
60 | 62 |
|
61 |
|
|
62 | 63 |
|
63 | 64 |
|
64 | 65 |
|
65 | 66 |
|
66 | 67 |
|
67 | 68 |
|
68 |
|
|
69 | 69 |
|
70 | 70 |
|
71 | 71 |
|
|
||
74 | 74 |
|
75 | 75 |
|
76 | 76 |
|
77 |
|
|
77 |
|
|
78 | 78 |
|
79 | 79 |
|
80 | 80 |
|
81 | 81 |
|
82 |
|
|
82 |
|
|
83 | 83 |
|
84 | 84 |
|
85 | 85 |
|
86 |
|
|
86 |
|
|
87 | 87 |
|
88 | 88 |
|
89 | 89 |
|
90 |
|
|
91 |
|
|
90 |
|
|
91 |
|
|
92 | 92 |
|
93 | 93 |
|
94 | 94 |
|
95 |
|
|
95 |
|
|
96 | 96 |
|
97 | 97 |
|
98 | 98 |
|
99 |
|
|
99 |
|
|
100 | 100 |
|
101 | 101 |
|
102 | 102 |
|
103 | 103 |
|
104 |
|
|
104 |
|
|
105 | 105 |
|
106 | 106 |
|
107 | 107 |
|
108 |
|
|
108 |
|
|
109 | 109 |
|
110 | 110 |
|
111 | 111 |
|
112 | 112 |
|
113 |
|
|
114 |
|
|
115 |
|
|
113 |
|
|
114 |
|
|
115 |
|
|
116 | 116 |
|
117 | 117 |
|
118 | 118 |
|
119 | 119 |
|
120 |
|
|
121 |
|
|
122 |
|
|
123 |
|
|
124 |
|
|
120 |
|
|
121 |
|
|
125 | 122 |
|
126 | 123 |
|
127 | 124 |
|
|
||
1 |
|
|
2 |
|
|
3 |
|
|
4 | 1 |
|
5 | 2 |
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
6 | 7 |
|
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
8 |
|
|
13 | 9 |
|
14 |
|
|
15 |
|
|
16 |
|
|
17 |
|
|
18 |
|
|
19 |
|
|
20 |
|
|
21 |
|
|
22 |
|
|
23 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
|
|
14 |
|
|
15 |
|
|
24 | 16 |
|
25 | 17 |
|
26 |
|
|
27 |
|
|
28 |
|
|
29 |
|
|
30 |
|
|
18 |
|
|
19 |
|
|
20 |
|
|
21 |
|
|
22 |
|
|
23 |
|
|
24 |
|
|
25 |
|
|
26 |
|
|
27 |
|
|
28 |
|
|
31 | 29 |
|
32 | 30 |
|
33 | 31 |
|
34 |
|
|
35 |
|
|
36 |
|
|
37 |
|
|
38 |
|
|
32 |
|
|
33 |
|
|
34 |
|
|
35 |
|
|
39 | 36 |
|
40 | 37 |
|
41 | 38 |
|
42 |
|
|
43 |
|
|
44 |
|
|
45 |
|
|
46 |
|
|
47 |
|
|
48 |
|
|
49 |
|
|
50 |
|
|
51 |
|
|
52 |
|
|
53 |
|
|
39 |
|
|
40 |
|
|
41 |
|
|
42 |
|
|
54 | 43 |
|
55 | 44 |
|
56 | 45 |
|
|
||
58 | 47 |
|
59 | 48 |
|
60 | 49 |
|
61 |
|
|
62 |
|
|
63 |
|
|
64 |
|
|
65 |
|
|
66 |
|
|
67 |
|
|
68 |
|
|
69 | 50 |
|
|
||
1 |
|
|
1 |
|
|
2 | 2 |
|
3 | 3 |
|
4 | 4 |
|
5 |
|
|
5 | 6 |
|
6 | 7 |
|
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
|
|
8 | 14 |
|
9 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
|
|
14 |
|
|
15 |
|
|
16 |
|
|
17 |
|
|
18 |
|
|
19 |
|
|
20 |
|
|
21 |
|
|
15 | 22 |
|
16 |
|
|
23 |
|
|
24 |
|
|
25 |
|
|
26 |
|
|
27 |
|
|
28 |
|
|
29 |
|
|
30 |
|
|
31 |
|
|
17 | 32 |
|
18 | 33 |
|
19 |
|
|
34 |
|
|
20 | 35 |
|
21 | 36 |
|
22 | 37 |
|
|
||
145 | 145 |
|
146 | 146 |
|
147 | 147 |
|
148 |
|
|
148 |
|
|
149 | 149 |
|
150 | 150 |
|
151 | 151 |
|
|
||
1 | 1 |
|
2 | 2 |
|
3 | 3 |
|
4 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
5 | 7 |
|
6 | 8 |
|
7 | 9 |
|
|
||
56 | 58 |
|
57 | 59 |
|
58 | 60 |
|
59 |
|
|
60 |
|
|
61 |
|
|
62 |
|
|
61 | 63 |
|
62 | 64 |
|
63 | 65 |
|
|
||
71 | 73 |
|
72 | 74 |
|
73 | 75 |
|
74 |
|
|
76 |
|
|
75 | 77 |
|
76 | 78 |
|
77 | 79 |
|
|
||
1 |
|
|
1 |
|
|
2 |
|
|
2 | 3 |
|
3 | 4 |
|
4 | 5 |
|
5 |
|
|
6 |
|
|
6 |
|
|
7 |
|
|
7 | 8 |
|
8 | 9 |
|
9 | 10 |
|
10 | 11 |
|
11 |
|
|
12 |
|
|
12 | 13 |
|
13 | 14 |
|
14 | 15 |
|
|
||
30 | 31 |
|
31 | 32 |
|
32 | 33 |
|
34 |
|
|
35 |
|
|
36 |
|
|
33 | 37 |
|
34 |
|
|
35 |
|
|
38 |
|
|
36 | 39 |
|
37 | 40 |
|
38 | 41 |
|
39 | 42 |
|
40 | 43 |
|
41 |
|
|
44 |
|
|
42 | 45 |
|
43 | 46 |
|
44 | 47 |
|
|
||
1 |
|
|
2 | 1 |
|
2 |
|
|
3 | 3 |
|
4 |
|
|
4 |
|
|
5 | 5 |
|
6 | 6 |
|
7 |
|
|
7 |
|
|
8 |
|
|
8 | 9 |
|
9 | 10 |
|
10 |
|
|
11 |
|
|
11 |
|
|
12 |
|
|
12 | 13 |
|
13 |
|
|
14 |
|
|
14 | 15 |
|
15 | 16 |
|
16 | 17 |
|
17 |
|
|
18 |
|
|
18 |
|
|
19 |
|
|
19 | 20 |
|
20 | 21 |
|
|
||
1 | 1 |
|
2 | 2 |
|
3 | 3 |
|
4 |
|
|
4 | 5 |
|
5 | 6 |
|
6 | 7 |
|
|
||
9 | 10 |
|
10 | 11 |
|
11 | 12 |
|
12 |
|
|
13 |
|
|
13 | 14 |
|
14 | 15 |
|
15 | 16 |
|
|
||
1 |
|
|
2 |
|
|
1 | 3 |
|
2 | 4 |
|
3 | 5 |
|
|
||
16 | 18 |
|
17 | 19 |
|
18 | 20 |
|
19 |
|
|
21 |
|
|
20 | 22 |
|
21 | 23 |
|
22 | 24 |
|
23 |
|
|
25 |
|
|
24 | 26 |
|
25 | 27 |
|
26 | 28 |
|
27 |
|
|
29 |
|
|
28 | 30 |
|
29 | 31 |
|
30 | 32 |
|
31 |
|
|
33 |
|
|
32 | 34 |
|
33 | 35 |
|
34 | 36 |
|
35 |
|
|
37 |
|
|
36 | 38 |
|
37 | 39 |
|
38 | 40 |
|
39 |
|
|
41 |
|
|
40 | 42 |
|
41 | 43 |
|
42 | 44 |
|
43 |
|
|
45 |
|
|
44 | 46 |
|
45 | 47 |
|
46 | 48 |
|
47 |
|
|
49 |
|
|
48 | 50 |
|
49 | 51 |
|
50 | 52 |
|
51 |
|
|
53 |
|
|
52 | 54 |
|
53 | 55 |
|
54 | 56 |
|
55 |
|
|
57 |
|
|
56 | 58 |
|
57 | 59 |
|
58 | 60 |
|
|
||
82 | 82 |
|
83 | 83 |
|
84 | 84 |
|
85 |
|
|
85 |
|
|
86 | 86 |
|
87 | 87 |
|
88 | 88 |
|
|
||
113 | 113 |
|
114 | 114 |
|
115 | 115 |
|
116 |
|
|
117 |
|
|
118 |
|
|
119 |
|
|
120 |
|
|
121 |
|
|
122 |
|
|
123 |
|
|
124 |
|
|
125 |
|
|
126 |
|
|
127 |
|
|
128 |
|
|
129 |
|
|
130 |
|
|
116 | 131 |
|
117 | 132 |
|
118 | 133 |
|
119 | 134 |
|
120 |
|
|
135 |
|
|
121 | 136 |
|
122 | 137 |
|
123 | 138 |
|
124 | 139 |
|
140 |
|
|
141 |
|
|
142 |
|
|
143 |
|
|
144 |
|
|
145 |
|
|
146 |
|
|
147 |
|
|
148 |
|
|
149 |
|
|
150 |
|
|
151 |
|
|
152 |
|
|
153 |
|
|
154 |
|
|
155 |
|
|
156 |
|
|
157 |
|
|
158 |
|
|
125 | 159 |
|
126 | 160 |
|
127 | 161 |
|
|
||
143 | 177 |
|
144 | 178 |
|
145 | 179 |
|
180 |
|
|
181 |
|
|
182 |
|
|
183 |
|
|
184 |
|
|
185 |
|
|
186 |
|
|
187 |
|
|
146 | 188 |
|
|
||
1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
||
60 | 60 |
|
61 | 61 |
|
62 | 62 |
|
63 |
|
|
63 | 64 |
|
64 | 65 |
|
65 | 66 |
|
|
||
68 | 69 |
|
69 | 70 |
|
70 | 71 |
|
72 |
|
|
71 | 73 |
|
72 | 74 |
|
73 | 75 |
|
74 | 76 |
|
75 | 77 |
|
76 | 78 |
|
77 |
|
|
78 | 79 |
|
79 | 80 |
|
80 | 81 |
|
|
||
154 | 155 |
|
155 | 156 |
|
156 | 157 |
|
157 |
|
|
158 |
|