@fto-consult/expo-ui 2.16.5 → 2.16.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,244 +1,244 @@
1
- INSERT INTO countries(code,name,dialCode)
2
- VALUES
3
- ('AF','Afghanistan (‫افغانستان‬‎)','93'),
4
- ('AL','Albania (Shqipëri)','355'),
5
- ('DZ','Algeria (‫الجزائر‬‎)','213'),
6
- ('AS','American Samoa','1684'),
7
- ('AD','Andorra','376'),
8
- ('AO','Angola','244'),
9
- ('AI','Anguilla','1264'),
10
- ('AG','Antigua and Barbuda','1268'),
11
- ('AR','Argentina','54'),
12
- ('AM','Armenia (Հայաստան)','374'),
13
- ('AW','Aruba','297'),
14
- ('AU','Australia','61'),
15
- ('AT','Austria (Österreich)','43'),
16
- ('AZ','Azerbaijan (Azərbaycan)','994'),
17
- ('BS','Bahamas','1242'),
18
- ('BH','Bahrain (‫البحرين‬‎)','973'),
19
- ('BD','Bangladesh (বাংলাদেশ)','880'),
20
- ('BB','Barbados','1246'),
21
- ('BY','Belarus (Беларусь)','375'),
22
- ('BE','Belgium (België)','32'),
23
- ('BZ','Belize','501'),
24
- ('BJ','Benin (Bénin)','229'),
25
- ('BM','Bermuda','1441'),
26
- ('BT','Bhutan (འབྲུག)','975'),
27
- ('BO','Bolivia','591'),
28
- ('BA','Bosnia and Herzegovina (Босна и Херцеговина)','387'),
29
- ('BW','Botswana','267'),
30
- ('BR','Brazil (Brasil)','55'),
31
- ('IO','British Indian Ocean Territory','246'),
32
- ('VG','British Virgin Islands','1284'),
33
- ('BN','Brunei','673'),
34
- ('BG','Bulgaria (България)','359'),
35
- ('BF','Burkina Faso','226'),
36
- ('BI','Burundi (Uburundi)','257'),
37
- ('KH','Cambodia (កម្ពុជា)','855'),
38
- ('CM','Cameroon (Cameroun)','237'),
39
- ('CA','Canada','1'),
40
- ('CV','Cape Verde (Kabu Verdi)','238'),
41
- ('BQ','Caribbean Netherlands','599'),
42
- ('KY','Cayman Islands','1345'),
43
- ('CF','Central African Republic (République centrafricaine)','236'),
44
- ('TD','Chad (Tchad)','235'),
45
- ('CL','Chile','56'),
46
- ('CN','China (中国)','86'),
47
- ('CX','Christmas Island','61'),
48
- ('CC','Cocos (Keeling) Islands','61'),
49
- ('CO','Colombia','57'),
50
- ('KM','Comoros (‫جزر القمر‬‎)','269'),
51
- ('CD','Congo (DRC) (Jamhuri ya Kidemokrasia ya Kongo)','243'),
52
- ('CG','Congo (Republic) (Congo-Brazzaville)','242'),
53
- ('CK','Cook Islands','682'),
54
- ('CR','Costa Rica','506'),
55
- ('CI','Côte d’Ivoire','225'),
56
- ('HR','Croatia (Hrvatska)','385'),
57
- ('CU','Cuba','53'),
58
- ('CW','Curaçao','599'),
59
- ('CY','Cyprus (Κύπρος)','357'),
60
- ('CZ','Czech Republic (Česká republika)','420'),
61
- ('DK','Denmark (Danmark)','45'),
62
- ('DJ','Djibouti','253'),
63
- ('DM','Dominica','1767'),
64
- ('DO','Dominican Republic (República Dominicana)','1'),
65
- ('EC','Ecuador','593'),
66
- ('EG','Egypt (‫مصر‬‎)','20'),
67
- ('SV','El Salvador','503'),
68
- ('GQ','Equatorial Guinea (Guinea Ecuatorial)','240'),
69
- ('ER','Eritrea','291'),
70
- ('EE','Estonia (Eesti)','372'),
71
- ('ET','Ethiopia','251'),
72
- ('FK','Falkland Islands (Islas Malvinas)','500'),
73
- ('FO','Faroe Islands (Føroyar)','298'),
74
- ('FJ','Fiji','679'),
75
- ('FI','Finland (Suomi)','358'),
76
- ('FR','France','33'),
77
- ('GF','French Guiana (Guyane française)','594'),
78
- ('PF','French Polynesia (Polynésie française)','689'),
79
- ('GA','Gabon','241'),
80
- ('GM','Gambia','220'),
81
- ('GE','Georgia (საქართველო)','995'),
82
- ('DE','Germany (Deutschland)','49'),
83
- ('GH','Ghana (Gaana)','233'),
84
- ('GI','Gibraltar','350'),
85
- ('GR','Greece (Ελλάδα)','30'),
86
- ('GL','Greenland (Kalaallit Nunaat)','299'),
87
- ('GD','Grenada','1473'),
88
- ('GP','Guadeloupe','590'),
89
- ('GU','Guam','1671'),
90
- ('GT','Guatemala','502'),
91
- ('GG','Guernsey','44'),
92
- ('GN','Guinea (Guinée)','224'),
93
- ('GW','Guinea-Bissau (Guiné Bissau)','245'),
94
- ('GY','Guyana','592'),
95
- ('HT','Haiti','509'),
96
- ('HN','Honduras','504'),
97
- ('HK','Hong Kong (香港)','852'),
98
- ('HU','Hungary (Magyarország)','36'),
99
- ('IS','Iceland (Ísland)','354'),
100
- ('IN','India (भारत)','91'),
101
- ('ID','Indonesia','62'),
102
- ('IR','Iran (‫ایران‬‎)','98'),
103
- ('IQ','Iraq (‫العراق‬‎)','964'),
104
- ('IE','Ireland','353'),
105
- ('IM','Isle of Man','44'),
106
- ('IL','Israel (‫ישראל‬‎)','972'),
107
- ('IT','Italy (Italia)','39'),
108
- ('JM','Jamaica','1876'),
109
- ('JP','Japan (日本)','81'),
110
- ('JE','Jersey','44'),
111
- ('JO','Jordan (‫الأردن‬‎)','962'),
112
- ('KZ','Kazakhstan (Казахстан)','77'),
113
- ('KE','Kenya','254'),
114
- ('KI','Kiribati','686'),
115
- ('KW','Kuwait (‫الكويت‬‎)','965'),
116
- ('KG','Kyrgyzstan (Кыргызстан)','996'),
117
- ('LA','Laos (ລາວ)','856'),
118
- ('LV','Latvia (Latvija)','371'),
119
- ('LB','Lebanon (‫لبنان‬‎)','961'),
120
- ('LS','Lesotho','266'),
121
- ('LR','Liberia','231'),
122
- ('LY','Libya (‫ليبيا‬‎)','218'),
123
- ('LI','Liechtenstein','423'),
124
- ('LT','Lithuania (Lietuva)','370'),
125
- ('LU','Luxembourg','352'),
126
- ('MO','Macau (澳門)','853'),
127
- ('MK','Macedonia (FYROM) (Македонија)','389'),
128
- ('MG','Madagascar (Madagasikara)','261'),
129
- ('MW','Malawi','265'),
130
- ('MY','Malaysia','60'),
131
- ('MV','Maldives','960'),
132
- ('ML','Mali','223'),
133
- ('MT','Malta','356'),
134
- ('MH','Marshall Islands','692'),
135
- ('MQ','Martinique','596'),
136
- ('MR','Mauritania (‫موريتانيا‬‎)','222'),
137
- ('MU','Mauritius (Moris)','230'),
138
- ('YT','Mayotte','262'),
139
- ('MX','Mexico (México)','52'),
140
- ('FM','Micronesia','691'),
141
- ('MD','Moldova (Republica Moldova)','373'),
142
- ('MC','Monaco','377'),
143
- ('MN','Mongolia (Монгол)','976'),
144
- ('ME','Montenegro (Crna Gora)','382'),
145
- ('MS','Montserrat','1664'),
146
- ('MA','Morocco (‫المغرب‬‎)','212'),
147
- ('MZ','Mozambique (Moçambique)','258'),
148
- ('MM','Myanmar (Burma)','95'),
149
- ('NA','Namibia (Namibië)','264'),
150
- ('NR','Nauru','674'),
151
- ('NP','Nepal (नेपाल)','977'),
152
- ('NL','Netherlands (Nederland)','31'),
153
- ('NC','New Caledonia (Nouvelle-Calédonie)','687'),
154
- ('NZ','New Zealand','64'),
155
- ('NI','Nicaragua','505'),
156
- ('NE','Niger (Nijar)','227'),
157
- ('NG','Nigeria','234'),
158
- ('NU','Niue','683'),
159
- ('NF','Norfolk Island','672'),
160
- ('KP','North Korea (조선 민주주의 인민 공화국)','850'),
161
- ('MP','Northern Mariana Islands','1670'),
162
- ('NO','Norway (Norge)','47'),
163
- ('OM','Oman (‫عُمان‬‎)','968'),
164
- ('PK','Pakistan (‫پاکستان‬‎)','92'),
165
- ('PW','Palau','680'),
166
- ('PS','Palestine (‫فلسطين‬‎)','970'),
167
- ('PA','Panama (Panamá)','507'),
168
- ('PG','Papua New Guinea','675'),
169
- ('PY','Paraguay','595'),
170
- ('PE','Peru (Perú)','51'),
171
- ('PH','Philippines','63'),
172
- ('PL','Poland (Polska)','48'),
173
- ('PT','Portugal','351'),
174
- ('PR','Puerto Rico','1'),
175
- ('QA','Qatar (‫قطر‬‎)','974'),
176
- ('RE','Réunion (La Réunion)','262'),
177
- ('RO','Romania (România)','40'),
178
- ('RU','Russia (Россия)','7'),
179
- ('RW','Rwanda','250'),
180
- ('BL','Saint Barthélemy (Saint-Barthélemy)','590'),
181
- ('SH','Saint Helena','290'),
182
- ('KN','Saint Kitts and Nevis','1869'),
183
- ('LC','Saint Lucia','1758'),
184
- ('MF','Saint Martin (Saint-Martin (partie française))','590'),
185
- ('PM','Saint Pierre and Miquelon (Saint-Pierre-et-Miquelon)','508'),
186
- ('VC','Saint Vincent and the Grenadines','1784'),
187
- ('WS','Samoa','685'),
188
- ('SM','San Marino','378'),
189
- ('ST','São Tomé and Príncipe (São Tomé e Príncipe)','239'),
190
- ('SA','Saudi Arabia (‫المملكة العربية السعودية‬‎)','966'),
191
- ('SN','Senegal (Sénégal)','221'),
192
- ('RS','Serbia (Србија)','381'),
193
- ('SC','Seychelles','248'),
194
- ('SL','Sierra Leone','232'),
195
- ('SG','Singapore','65'),
196
- ('SX','Sint Maarten','1721'),
197
- ('SK','Slovakia (Slovensko)','421'),
198
- ('SI','Slovenia (Slovenija)','386'),
199
- ('SB','Solomon Islands','677'),
200
- ('SO','Somalia (Soomaaliya)','252'),
201
- ('ZA','South Africa','27'),
202
- ('KR','South Korea (대한민국)','82'),
203
- ('SS','South Sudan (‫جنوب السودان‬‎)','211'),
204
- ('ES','Spain (España)','34'),
205
- ('LK','Sri Lanka (ශ්‍රී ලංකාව)','94'),
206
- ('SD','Sudan (‫السودان‬‎)','249'),
207
- ('SR','Suriname','597'),
208
- ('SJ','Svalbard and Jan Mayen','47'),
209
- ('SZ','Swaziland','268'),
210
- ('SE','Sweden (Sverige)','46'),
211
- ('CH','Switzerland (Schweiz)','41'),
212
- ('SY','Syria (‫سوريا‬‎)','963'),
213
- ('TW','Taiwan (台灣)','886'),
214
- ('TJ','Tajikistan','992'),
215
- ('TZ','Tanzania','255'),
216
- ('TH','Thailand (ไทย)','66'),
217
- ('TL','Timor-Leste','670'),
218
- ('TG','Togo','228'),
219
- ('TK','Tokelau','690'),
220
- ('TO','Tonga','676'),
221
- ('TT','Trinidad and Tobago','1868'),
222
- ('TN','Tunisia (‫تونس‬‎)','216'),
223
- ('TR','Turkey (Türkiye)','90'),
224
- ('TM','Turkmenistan','993'),
225
- ('TC','Turks and Caicos Islands','1649'),
226
- ('TV','Tuvalu','688'),
227
- ('VI','U.S. Virgin Islands','1340'),
228
- ('UG','Uganda','256'),
229
- ('UA','Ukraine (Україна)','380'),
230
- ('AE','United Arab Emirates (‫الإمارات العربية المتحدة‬‎)','971'),
231
- ('GB','United Kingdom','44'),
232
- ('US','United States','1'),
233
- ('UY','Uruguay','598'),
234
- ('UZ','Uzbekistan (Oʻzbekiston)','998'),
235
- ('VU','Vanuatu','678'),
236
- ('VA','Vatican City (Città del Vaticano)','39'),
237
- ('VE','Venezuela','58'),
238
- ('VN','Vietnam (Việt Nam)','84'),
239
- ('WF','Wallis and Futuna','681'),
240
- ('EH','Western Sahara (‫الصحراء الغربية‬‎)','212'),
241
- ('YE','Yemen (‫اليمن‬‎)','967'),
242
- ('ZM','Zambia','260'),
243
- ('ZW','Zimbabwe','263'),
1
+ INSERT INTO countries(code,name,dialCode)
2
+ VALUES
3
+ ('AF','Afghanistan (‫افغانستان‬‎)','93'),
4
+ ('AL','Albania (Shqipëri)','355'),
5
+ ('DZ','Algeria (‫الجزائر‬‎)','213'),
6
+ ('AS','American Samoa','1684'),
7
+ ('AD','Andorra','376'),
8
+ ('AO','Angola','244'),
9
+ ('AI','Anguilla','1264'),
10
+ ('AG','Antigua and Barbuda','1268'),
11
+ ('AR','Argentina','54'),
12
+ ('AM','Armenia (Հայաստան)','374'),
13
+ ('AW','Aruba','297'),
14
+ ('AU','Australia','61'),
15
+ ('AT','Austria (Österreich)','43'),
16
+ ('AZ','Azerbaijan (Azərbaycan)','994'),
17
+ ('BS','Bahamas','1242'),
18
+ ('BH','Bahrain (‫البحرين‬‎)','973'),
19
+ ('BD','Bangladesh (বাংলাদেশ)','880'),
20
+ ('BB','Barbados','1246'),
21
+ ('BY','Belarus (Беларусь)','375'),
22
+ ('BE','Belgium (België)','32'),
23
+ ('BZ','Belize','501'),
24
+ ('BJ','Benin (Bénin)','229'),
25
+ ('BM','Bermuda','1441'),
26
+ ('BT','Bhutan (འབྲུག)','975'),
27
+ ('BO','Bolivia','591'),
28
+ ('BA','Bosnia and Herzegovina (Босна и Херцеговина)','387'),
29
+ ('BW','Botswana','267'),
30
+ ('BR','Brazil (Brasil)','55'),
31
+ ('IO','British Indian Ocean Territory','246'),
32
+ ('VG','British Virgin Islands','1284'),
33
+ ('BN','Brunei','673'),
34
+ ('BG','Bulgaria (България)','359'),
35
+ ('BF','Burkina Faso','226'),
36
+ ('BI','Burundi (Uburundi)','257'),
37
+ ('KH','Cambodia (កម្ពុជា)','855'),
38
+ ('CM','Cameroon (Cameroun)','237'),
39
+ ('CA','Canada','1'),
40
+ ('CV','Cape Verde (Kabu Verdi)','238'),
41
+ ('BQ','Caribbean Netherlands','599'),
42
+ ('KY','Cayman Islands','1345'),
43
+ ('CF','Central African Republic (République centrafricaine)','236'),
44
+ ('TD','Chad (Tchad)','235'),
45
+ ('CL','Chile','56'),
46
+ ('CN','China (中国)','86'),
47
+ ('CX','Christmas Island','61'),
48
+ ('CC','Cocos (Keeling) Islands','61'),
49
+ ('CO','Colombia','57'),
50
+ ('KM','Comoros (‫جزر القمر‬‎)','269'),
51
+ ('CD','Congo (DRC) (Jamhuri ya Kidemokrasia ya Kongo)','243'),
52
+ ('CG','Congo (Republic) (Congo-Brazzaville)','242'),
53
+ ('CK','Cook Islands','682'),
54
+ ('CR','Costa Rica','506'),
55
+ ('CI','Côte d’Ivoire','225'),
56
+ ('HR','Croatia (Hrvatska)','385'),
57
+ ('CU','Cuba','53'),
58
+ ('CW','Curaçao','599'),
59
+ ('CY','Cyprus (Κύπρος)','357'),
60
+ ('CZ','Czech Republic (Česká republika)','420'),
61
+ ('DK','Denmark (Danmark)','45'),
62
+ ('DJ','Djibouti','253'),
63
+ ('DM','Dominica','1767'),
64
+ ('DO','Dominican Republic (República Dominicana)','1'),
65
+ ('EC','Ecuador','593'),
66
+ ('EG','Egypt (‫مصر‬‎)','20'),
67
+ ('SV','El Salvador','503'),
68
+ ('GQ','Equatorial Guinea (Guinea Ecuatorial)','240'),
69
+ ('ER','Eritrea','291'),
70
+ ('EE','Estonia (Eesti)','372'),
71
+ ('ET','Ethiopia','251'),
72
+ ('FK','Falkland Islands (Islas Malvinas)','500'),
73
+ ('FO','Faroe Islands (Føroyar)','298'),
74
+ ('FJ','Fiji','679'),
75
+ ('FI','Finland (Suomi)','358'),
76
+ ('FR','France','33'),
77
+ ('GF','French Guiana (Guyane française)','594'),
78
+ ('PF','French Polynesia (Polynésie française)','689'),
79
+ ('GA','Gabon','241'),
80
+ ('GM','Gambia','220'),
81
+ ('GE','Georgia (საქართველო)','995'),
82
+ ('DE','Germany (Deutschland)','49'),
83
+ ('GH','Ghana (Gaana)','233'),
84
+ ('GI','Gibraltar','350'),
85
+ ('GR','Greece (Ελλάδα)','30'),
86
+ ('GL','Greenland (Kalaallit Nunaat)','299'),
87
+ ('GD','Grenada','1473'),
88
+ ('GP','Guadeloupe','590'),
89
+ ('GU','Guam','1671'),
90
+ ('GT','Guatemala','502'),
91
+ ('GG','Guernsey','44'),
92
+ ('GN','Guinea (Guinée)','224'),
93
+ ('GW','Guinea-Bissau (Guiné Bissau)','245'),
94
+ ('GY','Guyana','592'),
95
+ ('HT','Haiti','509'),
96
+ ('HN','Honduras','504'),
97
+ ('HK','Hong Kong (香港)','852'),
98
+ ('HU','Hungary (Magyarország)','36'),
99
+ ('IS','Iceland (Ísland)','354'),
100
+ ('IN','India (भारत)','91'),
101
+ ('ID','Indonesia','62'),
102
+ ('IR','Iran (‫ایران‬‎)','98'),
103
+ ('IQ','Iraq (‫العراق‬‎)','964'),
104
+ ('IE','Ireland','353'),
105
+ ('IM','Isle of Man','44'),
106
+ ('IL','Israel (‫ישראל‬‎)','972'),
107
+ ('IT','Italy (Italia)','39'),
108
+ ('JM','Jamaica','1876'),
109
+ ('JP','Japan (日本)','81'),
110
+ ('JE','Jersey','44'),
111
+ ('JO','Jordan (‫الأردن‬‎)','962'),
112
+ ('KZ','Kazakhstan (Казахстан)','77'),
113
+ ('KE','Kenya','254'),
114
+ ('KI','Kiribati','686'),
115
+ ('KW','Kuwait (‫الكويت‬‎)','965'),
116
+ ('KG','Kyrgyzstan (Кыргызстан)','996'),
117
+ ('LA','Laos (ລາວ)','856'),
118
+ ('LV','Latvia (Latvija)','371'),
119
+ ('LB','Lebanon (‫لبنان‬‎)','961'),
120
+ ('LS','Lesotho','266'),
121
+ ('LR','Liberia','231'),
122
+ ('LY','Libya (‫ليبيا‬‎)','218'),
123
+ ('LI','Liechtenstein','423'),
124
+ ('LT','Lithuania (Lietuva)','370'),
125
+ ('LU','Luxembourg','352'),
126
+ ('MO','Macau (澳門)','853'),
127
+ ('MK','Macedonia (FYROM) (Македонија)','389'),
128
+ ('MG','Madagascar (Madagasikara)','261'),
129
+ ('MW','Malawi','265'),
130
+ ('MY','Malaysia','60'),
131
+ ('MV','Maldives','960'),
132
+ ('ML','Mali','223'),
133
+ ('MT','Malta','356'),
134
+ ('MH','Marshall Islands','692'),
135
+ ('MQ','Martinique','596'),
136
+ ('MR','Mauritania (‫موريتانيا‬‎)','222'),
137
+ ('MU','Mauritius (Moris)','230'),
138
+ ('YT','Mayotte','262'),
139
+ ('MX','Mexico (México)','52'),
140
+ ('FM','Micronesia','691'),
141
+ ('MD','Moldova (Republica Moldova)','373'),
142
+ ('MC','Monaco','377'),
143
+ ('MN','Mongolia (Монгол)','976'),
144
+ ('ME','Montenegro (Crna Gora)','382'),
145
+ ('MS','Montserrat','1664'),
146
+ ('MA','Morocco (‫المغرب‬‎)','212'),
147
+ ('MZ','Mozambique (Moçambique)','258'),
148
+ ('MM','Myanmar (Burma)','95'),
149
+ ('NA','Namibia (Namibië)','264'),
150
+ ('NR','Nauru','674'),
151
+ ('NP','Nepal (नेपाल)','977'),
152
+ ('NL','Netherlands (Nederland)','31'),
153
+ ('NC','New Caledonia (Nouvelle-Calédonie)','687'),
154
+ ('NZ','New Zealand','64'),
155
+ ('NI','Nicaragua','505'),
156
+ ('NE','Niger (Nijar)','227'),
157
+ ('NG','Nigeria','234'),
158
+ ('NU','Niue','683'),
159
+ ('NF','Norfolk Island','672'),
160
+ ('KP','North Korea (조선 민주주의 인민 공화국)','850'),
161
+ ('MP','Northern Mariana Islands','1670'),
162
+ ('NO','Norway (Norge)','47'),
163
+ ('OM','Oman (‫عُمان‬‎)','968'),
164
+ ('PK','Pakistan (‫پاکستان‬‎)','92'),
165
+ ('PW','Palau','680'),
166
+ ('PS','Palestine (‫فلسطين‬‎)','970'),
167
+ ('PA','Panama (Panamá)','507'),
168
+ ('PG','Papua New Guinea','675'),
169
+ ('PY','Paraguay','595'),
170
+ ('PE','Peru (Perú)','51'),
171
+ ('PH','Philippines','63'),
172
+ ('PL','Poland (Polska)','48'),
173
+ ('PT','Portugal','351'),
174
+ ('PR','Puerto Rico','1'),
175
+ ('QA','Qatar (‫قطر‬‎)','974'),
176
+ ('RE','Réunion (La Réunion)','262'),
177
+ ('RO','Romania (România)','40'),
178
+ ('RU','Russia (Россия)','7'),
179
+ ('RW','Rwanda','250'),
180
+ ('BL','Saint Barthélemy (Saint-Barthélemy)','590'),
181
+ ('SH','Saint Helena','290'),
182
+ ('KN','Saint Kitts and Nevis','1869'),
183
+ ('LC','Saint Lucia','1758'),
184
+ ('MF','Saint Martin (Saint-Martin (partie française))','590'),
185
+ ('PM','Saint Pierre and Miquelon (Saint-Pierre-et-Miquelon)','508'),
186
+ ('VC','Saint Vincent and the Grenadines','1784'),
187
+ ('WS','Samoa','685'),
188
+ ('SM','San Marino','378'),
189
+ ('ST','São Tomé and Príncipe (São Tomé e Príncipe)','239'),
190
+ ('SA','Saudi Arabia (‫المملكة العربية السعودية‬‎)','966'),
191
+ ('SN','Senegal (Sénégal)','221'),
192
+ ('RS','Serbia (Србија)','381'),
193
+ ('SC','Seychelles','248'),
194
+ ('SL','Sierra Leone','232'),
195
+ ('SG','Singapore','65'),
196
+ ('SX','Sint Maarten','1721'),
197
+ ('SK','Slovakia (Slovensko)','421'),
198
+ ('SI','Slovenia (Slovenija)','386'),
199
+ ('SB','Solomon Islands','677'),
200
+ ('SO','Somalia (Soomaaliya)','252'),
201
+ ('ZA','South Africa','27'),
202
+ ('KR','South Korea (대한민국)','82'),
203
+ ('SS','South Sudan (‫جنوب السودان‬‎)','211'),
204
+ ('ES','Spain (España)','34'),
205
+ ('LK','Sri Lanka (ශ්‍රී ලංකාව)','94'),
206
+ ('SD','Sudan (‫السودان‬‎)','249'),
207
+ ('SR','Suriname','597'),
208
+ ('SJ','Svalbard and Jan Mayen','47'),
209
+ ('SZ','Swaziland','268'),
210
+ ('SE','Sweden (Sverige)','46'),
211
+ ('CH','Switzerland (Schweiz)','41'),
212
+ ('SY','Syria (‫سوريا‬‎)','963'),
213
+ ('TW','Taiwan (台灣)','886'),
214
+ ('TJ','Tajikistan','992'),
215
+ ('TZ','Tanzania','255'),
216
+ ('TH','Thailand (ไทย)','66'),
217
+ ('TL','Timor-Leste','670'),
218
+ ('TG','Togo','228'),
219
+ ('TK','Tokelau','690'),
220
+ ('TO','Tonga','676'),
221
+ ('TT','Trinidad and Tobago','1868'),
222
+ ('TN','Tunisia (‫تونس‬‎)','216'),
223
+ ('TR','Turkey (Türkiye)','90'),
224
+ ('TM','Turkmenistan','993'),
225
+ ('TC','Turks and Caicos Islands','1649'),
226
+ ('TV','Tuvalu','688'),
227
+ ('VI','U.S. Virgin Islands','1340'),
228
+ ('UG','Uganda','256'),
229
+ ('UA','Ukraine (Україна)','380'),
230
+ ('AE','United Arab Emirates (‫الإمارات العربية المتحدة‬‎)','971'),
231
+ ('GB','United Kingdom','44'),
232
+ ('US','United States','1'),
233
+ ('UY','Uruguay','598'),
234
+ ('UZ','Uzbekistan (Oʻzbekiston)','998'),
235
+ ('VU','Vanuatu','678'),
236
+ ('VA','Vatican City (Città del Vaticano)','39'),
237
+ ('VE','Venezuela','58'),
238
+ ('VN','Vietnam (Việt Nam)','84'),
239
+ ('WF','Wallis and Futuna','681'),
240
+ ('EH','Western Sahara (‫الصحراء الغربية‬‎)','212'),
241
+ ('YE','Yemen (‫اليمن‬‎)','967'),
242
+ ('ZM','Zambia','260'),
243
+ ('ZW','Zimbabwe','263'),
244
244
  ('AX','Åland Islands','358')
@@ -10,7 +10,7 @@ const defaultSelectable = canTextBeSelectable();
10
10
 
11
11
  export const EllipsizeMode = {'head':'head','middle':'middle', 'tail':'tail' , 'clip':'clip'}
12
12
 
13
- const LabelComponent = React.forwardRef(({ children,upperCase,fontSize,testID,wrap,nativeID,wrapText,error,underlined,splitText,secondary,primary,bold,textBold,disabled,text,style,...rest},ref)=> {
13
+ const LabelComponent = React.forwardRef(({ children,color,upperCase,fontSize,testID,wrap,nativeID,wrapText,error,underlined,splitText,secondary,primary,bold,textBold,disabled,text,style,...rest},ref)=> {
14
14
  children = defaultVal(children,text);
15
15
  let isText = false;
16
16
  if(!React.isValidElement(children) && Array.isArray(children) && children.length){
@@ -37,6 +37,9 @@ const LabelComponent = React.forwardRef(({ children,upperCase,fontSize,testID,wr
37
37
  if(underlined){
38
38
  r1.textDecorationLine = 'underline';
39
39
  }
40
+ if(Colors.isValid(color)){
41
+ r1.color = color;
42
+ }
40
43
 
41
44
  style = Object.assign({},StyleSheet.flatten(style));
42
45
  testID = defaultStr(testID,"RN_LabelComponent");
@@ -101,6 +104,7 @@ LabelComponentExported.propTypes = {
101
104
  primary : PropTypes.bool,
102
105
  error : PropTypes.bool,///si le label est liée à une text field sur laquelle il y a erreur
103
106
  secondary : PropTypes.bool,
107
+ color : PropTypes.bool,
104
108
  selectable : PropTypes.bool, //si le texte est sélectionnable
105
109
  underlined : PropTypes.bool,//si le style underlined sera appliqué au label
106
110
  splitText : PropTypes.bool,///si le texte lorsqu'il est long sera splité
@@ -1,4 +1,3 @@
1
- import { Component } from "react";
2
1
  import {isNativeMobile} from "$cplatform";
3
2
  import View from "$ecomponents/View";
4
3
  import React from "$react";
@@ -80,7 +79,7 @@ const styles = StyleSheet.create({
80
79
  },
81
80
  small : {
82
81
  fontSize:remToPixel(2.5),
83
- marginLeft:isNativeMobile()? -25 : -20
82
+ marginLeft:isNativeMobile()? -15 : -10
84
83
  },
85
84
  medium : {
86
85
  fontSize:remToPixel(3),
@@ -59,7 +59,7 @@ export default function DatabaseStatisticContainer (props){
59
59
  left = {(aProps)=>{
60
60
  return <Avatar suffix={index} {...aProps} icon= {icon} size={40} label={title}/>
61
61
  }}
62
- title = {<Label splitText numberOfLines={1} primary style={[{fontSize:15}]}>{title}</Label>}
62
+ title = {<Label splitText numberOfLines={1} color={theme.colors.primaryOnSurface} style={[{fontSize:15}]}>{title}</Label>}
63
63
  titleProps = {{primary : true}}
64
64
  description = {isLoading?<View style={[theme.styles.justifyContentFlexStart,theme.styles.alignItemsFlexStart]}>
65
65
  <ActivityIndicator color={theme.colors.primary}/>
@@ -30,9 +30,9 @@ const UserProfileAvatarComponent = React.forwardRef(({drawerRef,chevronIconProps
30
30
  return typeof cb =='function'? cb() : null;
31
31
  }
32
32
  if(withLabel === undefined){
33
- withLabel = theme.showAvatarProfileOnDrawer;
33
+ withLabel = theme.showProfilAvatarOnDrawer;
34
34
  }
35
- withLabel = withLabel !== false ? true : false;
35
+ withLabel = withLabel !== false ? true : false;
36
36
  props.src = u.avatar;
37
37
  size = defaultNumber(size,!withLabel?40:40);
38
38
  const userPseudo = Auth.getUserPseudo();
@@ -46,9 +46,9 @@ const UserProfileAvatarComponent = React.forwardRef(({drawerRef,chevronIconProps
46
46
  });
47
47
  };
48
48
  const tooltip = "Pressez longtemps pour définir un identifiant unique pour l'appareil";
49
- const children = <View style={styles.labelContainer}>
49
+ const children = <View style={[styles.labelContainer,!withLabel && theme.styles.justifyContentCenter]}>
50
50
  <Label splitText numberOfLines={1} style={{color:theme.colors.primaryOnSurface,fontSize:15}}>{pseudo}</Label>
51
- <Label splitText numberOfLines={1} style={{fontSize:12,color:theme.colors.secondaryOnSurface,marginTop:6}}>
51
+ <Label splitText numberOfLines={1} style={[{fontSize:12,color:theme.colors.secondaryOnSurface,marginTop:6},!withLabel && {textAlign:'center'}]}>
52
52
  {label}
53
53
  </Label>
54
54
  {deviceName && <Label.withRef textBold splitText title={"Identifiant unique de l'application, installé sur cet appareil"} ref={deviceNameRef} secondary style={{fontSize:10}}>
@@ -53,6 +53,7 @@ export default function MainScreenScreenWithOrWithoutAuthContainer(props) {
53
53
  testID,
54
54
  profilAvatarProps,
55
55
  profilAvatarContainerProps,
56
+ withProfilAvatarOnAppBar:cWithPorilAvatarOnAppbar,
56
57
  renderChildren,
57
58
  renderProfilAvatar,
58
59
  ...rest
@@ -88,7 +89,7 @@ export default function MainScreenScreenWithOrWithoutAuthContainer(props) {
88
89
  if(authRequired === false){
89
90
  withFab = false;
90
91
  }
91
- const withProfilAvatarOnAppBar = withDrawer && !theme.showAvatarProfileOnDrawer ? true : false;
92
+ const withProfilAvatarOnAppBar = cWithPorilAvatarOnAppbar !== false && withDrawer && !theme.showProfilAvatarOnDrawer ? true : false;
92
93
  React.useEffect(() => {
93
94
  if((title||subtitle) && navigation && navigation.setOptions){
94
95
  const appName = APP.getName().toUpperCase();
@@ -7,7 +7,6 @@ import Auth from "$cauth";
7
7
  import Login from "$eauth/Login";
8
8
  import {navigate} from "$cnavigation";
9
9
  import theme from "$theme";
10
- import Label from "$ecomponents/Label";
11
10
  import Logo from "$ecomponents/Logo";
12
11
 
13
12
  const DrawerNavigator = React.forwardRef(({content,children,state,...props},ref)=>{
@@ -15,7 +14,7 @@ const DrawerNavigator = React.forwardRef(({content,children,state,...props},ref)
15
14
  const mergedRefs = React.useMergeRefs(drawerRef,ref);
16
15
  const headerCB = ({isMinimized})=>{
17
16
  if(isMinimized) return null;
18
- if(!theme.showAvatarProfileOnDrawer){
17
+ if(!theme.showProfilAvatarOnDrawer){
19
18
  return <Logo height = {70} withImage = {false} style={[theme.styles.justifyContentFlexStart,{maxWidth:220,overflow:'hidden'}]}/>
20
19
  }
21
20
  return <ProfilAvatar ref={uProfileRef} drawerRef={drawerRef}/>;
@@ -12,7 +12,7 @@ import { screenName as aboutScreenName} from "$escreens/Help/About";
12
12
  import theme from "$theme";
13
13
 
14
14
  export const getItems = (force)=>{
15
- const name = !theme.showAvatarProfileOnDrawer ? 'Dashboard' : APP.getName();
15
+ const name = !theme.showProfilAvatarOnDrawer ? 'Dashboard' : APP.getName();
16
16
  const itx = typeof items === "function" ? items() : items;
17
17
  const handleHelp = appConfig.get("handleHelpScreen") !== false ? true : false;
18
18
  const r = [
@@ -39,7 +39,7 @@ export const getItems = (force)=>{
39
39
  items : [
40
40
  {
41
41
  icon : 'help',
42
- label : 'A propos de '+name,
42
+ label : 'A propos de '+APP.getName(),
43
43
  routeName : aboutScreenName,
44
44
  }
45
45
  ]