@aveonline/ui-react 2.30.15 → 2.30.17

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,4 +1,5 @@
1
1
  declare type IContinent = 'Africa' | 'America' | 'Asia' | 'Europa' | 'Oceania' | 'Africa Central' | 'Africa del Norte' | 'Africa del Sur' | 'Africa Occidental' | 'Africa Oriental' | 'America Central' | 'America del Norte' | 'America del Sur' | 'Asia Central' | 'Asia Meridional' | 'Asia Occidental' | 'Asia Oriental' | 'Sudeste Asiatico' | 'Australia y Nueva Zelanda' | 'Caribe' | 'Europa Central' | 'Europa del Este' | 'Europa del Norte' | 'Europa del Sur' | 'Europa Occidental' | 'Melanesia' | 'Micronesia' | 'Polinesia';
2
+ declare type ICodeIso = '' | 'AD' | 'AE' | 'AF' | 'AG' | 'AL' | 'AM' | 'AO' | 'AR' | 'AT' | 'AU' | 'AZ' | 'BA' | 'BB' | 'BD' | 'BE' | 'BF' | 'BG' | 'BH' | 'BI' | 'BJ' | 'BN' | 'BO' | 'BR' | 'BS' | 'BT' | 'BW' | 'BY' | 'BZ' | 'CA' | 'CD' | 'CF' | 'CG' | 'CH' | 'CI' | 'CL' | 'CM' | 'CN' | 'CO' | 'CR' | 'CU' | 'CV' | 'CY' | 'CZ' | 'DE' | 'DJ' | 'DK' | 'DM' | 'DO' | 'DZ' | 'EC' | 'EE' | 'EG' | 'ER' | 'ES' | 'ET' | 'FI' | 'FJ' | 'FM' | 'FR' | 'GA' | 'GB' | 'GD' | 'GE' | 'GH' | 'GM' | 'GN' | 'GQ' | 'GR' | 'GT' | 'GW' | 'GY' | 'HN' | 'HR' | 'HT' | 'HU' | 'ID' | 'IE' | 'IL' | 'IN' | 'IQ' | 'IR' | 'IS' | 'IT' | 'JM' | 'JO' | 'JP' | 'KE' | 'KG' | 'KH' | 'KI' | 'KM' | 'KN' | 'KP' | 'KR' | 'KW' | 'KZ' | 'LA' | 'LB' | 'LC' | 'LI' | 'LK' | 'LR' | 'LS' | 'LT' | 'LU' | 'LV' | 'LY' | 'MA' | 'MC' | 'MD' | 'ME' | 'MG' | 'MH' | 'ML' | 'MM' | 'MN' | 'MR' | 'MT' | 'MU' | 'MV' | 'MW' | 'MX' | 'MY' | 'MZ' | 'NA' | 'NE' | 'NG' | 'NI' | 'NL' | 'NO' | 'NP' | 'NR' | 'NZ' | 'OM' | 'PA' | 'PE' | 'PG' | 'PH' | 'PK' | 'PL' | 'PT' | 'PW' | 'PY' | 'QA' | 'RO' | 'RS' | 'RU' | 'RW' | 'SA' | 'SB' | 'SC' | 'SD' | 'SE' | 'SG' | 'SI' | 'SK' | 'SL' | 'SM' | 'SN' | 'SO' | 'SR' | 'SS' | 'ST' | 'SV' | 'SY' | 'SZ' | 'TD' | 'TG' | 'TH' | 'TJ' | 'TL' | 'TM' | 'TN' | 'TO' | 'TR' | 'TT' | 'TV' | 'TZ' | 'UA' | 'UG' | 'US' | 'UY' | 'UZ' | 'VA' | 'VC' | 'VE' | 'VN' | 'VU' | 'WS' | 'YE' | 'ZA' | 'ZM' | 'ZW';
2
3
  interface ICountry {
3
4
  nameCountry: string;
4
5
  codeIso: string;
@@ -7,6 +8,199 @@ interface ICountry {
7
8
  }
8
9
  interface ISelectCountry {
9
10
  continent?: IContinent[];
11
+ /**
12
+ * AD: 'Andorra',
13
+ AF: 'Afganistan',
14
+ AG: 'Antigua y Barbuda',
15
+ AL: 'Albania',
16
+ AM: 'Armenia',
17
+ AO: 'Angola',
18
+ AR: 'Argentina',
19
+ AT: 'Austria',
20
+ AU: 'Australia',
21
+ AZ: 'Azerbaiyán',
22
+ BA: 'Bosnia y Herzegovina',
23
+ BB: 'Barbados',
24
+ BD: 'Bangladés',
25
+ BE: 'Bélgica',
26
+ BF: 'Burkina Faso',
27
+ BG: 'Bulgaria',
28
+ BH: 'Baréin',
29
+ BI: 'Burundi',
30
+ BJ: 'Benín',
31
+ BN: 'Brunéi',
32
+ BO: 'Bolivia',
33
+ BR: 'Brasil',
34
+ BS: 'Bahamas',
35
+ BT: 'Bután',
36
+ BW: 'Botsuana',
37
+ BY: 'Bielorrusia',
38
+ BZ: 'Belice',
39
+ CA: 'Canadá',
40
+ CD: 'República Democrática del Congo',
41
+ CF: 'República Centroafricana',
42
+ CG: 'República del Congo',
43
+ CI: 'Costa de Marfil',
44
+ CL: 'Chile',
45
+ CM: 'Camerún',
46
+ CN: 'China',
47
+ CO: 'Colombia',
48
+ CR: 'Costa Rica',
49
+ CU: 'Cuba',
50
+ CV: 'Cabo Verde',
51
+ CY: 'Chipre',
52
+ CZ: 'República Checa',
53
+ DJ: 'Yibuti',
54
+ DK: 'Dinamarca',
55
+ DM: 'Dominica',
56
+ DO: 'República Dominicana',
57
+ DZ: 'Argelia',
58
+ EC: 'Ecuador',
59
+ EE: 'Estonia',
60
+ EG: 'Egipto',
61
+ ER: 'Eritrea',
62
+ ES: 'España',
63
+ ET: 'Etiopía',
64
+ FI: 'Finlandia',
65
+ FJ: 'Fiyi',
66
+ FM: 'Micronesia',
67
+ FR: 'Francia',
68
+ GA: 'Gabón',
69
+ GB: 'Reino Unido',
70
+ GD: 'Granada',
71
+ GE: 'Georgia',
72
+ GH: 'Ghana',
73
+ GM: 'Gambia',
74
+ GN: 'Guinea',
75
+ GQ: 'Guinea Ecuatorial',
76
+ GR: 'Grecia',
77
+ GT: 'Guatemala',
78
+ GW: 'Guinea-Bisáu',
79
+ GY: 'Guyana',
80
+ HN: 'Honduras',
81
+ HR: 'Croacia',
82
+ HT: 'Haití',
83
+ HU: 'Hungría',
84
+ ID: 'Indonesia',
85
+ IE: 'Irlanda',
86
+ IL: 'Israel',
87
+ IN: 'India',
88
+ IQ: 'Irak',
89
+ IR: 'Irán',
90
+ IS: 'Islandia',
91
+ IT: 'Italia',
92
+ JM: 'Jamaica',
93
+ JO: 'Jordania',
94
+ JP: 'Japón',
95
+ KE: 'Kenia',
96
+ KG: 'Kirguistán',
97
+ KH: 'Camboya',
98
+ KI: 'Kiribati',
99
+ KM: 'Comoras',
100
+ KN: 'San Cristóbal y Nieves',
101
+ KP: 'Corea del Norte',
102
+ KR: 'Corea del Sur',
103
+ KW: 'Kuwait',
104
+ KZ: 'Kazajistán',
105
+ LA: 'Laos',
106
+ LB: 'Líbano',
107
+ LC: 'Santa Lucía',
108
+ LI: 'Liechtenstein',
109
+ LK: 'Sri Lanka',
110
+ LR: 'Liberia',
111
+ LS: 'Lesoto',
112
+ LT: 'Lituania',
113
+ LU: 'Luxemburgo',
114
+ LV: 'Letonia',
115
+ LY: 'Libia',
116
+ MA: 'Marruecos',
117
+ MC: 'Mónaco',
118
+ MD: 'Moldavia',
119
+ ME: 'Montenegro',
120
+ MG: 'Madagascar',
121
+ MH: 'Islas Marshall',
122
+ ML: 'Malí',
123
+ MM: 'Birmania',
124
+ MN: 'Mongolia',
125
+ MR: 'Mauritania',
126
+ MT: 'Malta',
127
+ MU: 'Mauricio',
128
+ MV: 'Maldivas',
129
+ MW: 'Malaui',
130
+ MX: 'México',
131
+ MY: 'Malasia',
132
+ MZ: 'Mozambique',
133
+ NA: 'Namibia',
134
+ NE: 'Níger',
135
+ NG: 'Nigeria',
136
+ NI: 'Nicaragua',
137
+ NL: 'Países Bajos',
138
+ NO: 'Noruega',
139
+ NP: 'Nepal',
140
+ NR: 'Nauru',
141
+ NZ: 'Nueva Zelanda',
142
+ OM: 'Omán',
143
+ PA: 'Panamá',
144
+ PE: 'Perú',
145
+ PG: 'Papúa Nueva Guinea',
146
+ PH: 'Filipinas',
147
+ PK: 'Pakistán',
148
+ PL: 'Polonia',
149
+ PT: 'Portugal',
150
+ PW: 'Palaos',
151
+ PY: 'Paraguay',
152
+ QA: 'Catar',
153
+ RO: 'Rumanía',
154
+ RS: 'Serbia',
155
+ RU: 'Rusia',
156
+ RW: 'Ruanda',
157
+ SA: 'Arabia Saudita',
158
+ SB: 'Islas Salomón',
159
+ SC: 'Seychelles',
160
+ SD: 'Sudán',
161
+ SE: 'Suecia',
162
+ SG: 'Singapur',
163
+ SI: 'Eslovenia',
164
+ SK: 'Eslovaquia',
165
+ SL: 'Sierra Leona',
166
+ SM: 'San Marino',
167
+ SN: 'Senegal',
168
+ SO: 'Somalia',
169
+ SR: 'Surinam',
170
+ SS: 'Sudán del Sur',
171
+ ST: 'Santo Tomé y Príncipe',
172
+ SV: 'El Salvador',
173
+ SY: 'Siria',
174
+ SZ: 'Esuatini',
175
+ TD: 'Chad',
176
+ TG: 'Togo',
177
+ TH: 'Tailandia',
178
+ TJ: 'Tayikistán',
179
+ TL: 'Timor Oriental',
180
+ TM: 'Turkmenistán',
181
+ TN: 'Túnez',
182
+ TO: 'Tonga',
183
+ TR: 'Turquía',
184
+ TT: 'Trinidad y Tobago',
185
+ TV: 'Tuvalu',
186
+ TZ: 'Tanzania',
187
+ UA: 'Ucrania',
188
+ UG: 'Uganda',
189
+ US: 'Estados Unidos',
190
+ UY: 'Uruguay',
191
+ UZ: 'Uzbekistán',
192
+ VA: 'Ciudad del Vaticano',
193
+ VC: 'San Vicente y las Granadinas',
194
+ VE: 'Venezuela',
195
+ VN: 'Vietnam',
196
+ VU: 'Vanuatu',
197
+ WS: 'Samoa',
198
+ YE: 'Yemen',
199
+ ZA: 'Sudáfrica',
200
+ ZM: 'Zambia',
201
+ ZW: 'Zimbabue'
202
+ */
203
+ defaultValueCountry?: ICodeIso;
10
204
  classnameSelect?: string;
11
205
  }
12
206
  export type { ICountry, IContinent, ISelectCountry };
@@ -4,5 +4,5 @@ import { ISelectCountry } from './ISelectCountry';
4
4
  * Molecule: SelectCountry
5
5
  * Select lets merchants choose one option from an options menu. Consider select when you have 4 or more options, to avoid cluttering the interface.
6
6
  */
7
- declare function SelectCountry({ id, name, placeholder, defaultValue, isDisabled, error, isSearchable, helpText, onChange, isClearable, isError, showErrorText, onBlur, menuIsOpen, value, instanceId, loadingMessage, noOptionsMessage, logo, iconTooltip, continent, classnameSelect }: Omit<ISelect, 'options'> & ISelectCountry): JSX.Element;
7
+ declare function SelectCountry({ id, name, placeholder, isDisabled, error, isSearchable, helpText, onChange, isClearable, isError, showErrorText, onBlur, menuIsOpen, value, instanceId, loadingMessage, noOptionsMessage, logo, iconTooltip, continent, classnameSelect, defaultValueCountry }: Omit<ISelect, 'options' | 'defaultValue'> & ISelectCountry): JSX.Element;
8
8
  export default SelectCountry;