@rh-support/components 2.0.11 → 2.0.12-beta.0
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.
- package/lib/cjs/ConfirmationModal/ConfirmationDialog.d.ts +4 -1
- package/lib/cjs/ConfirmationModal/ConfirmationDialog.d.ts.map +1 -1
- package/lib/cjs/ConfirmationModal/ConfirmationDialog.js +2 -1
- package/lib/cjs/LoadingDots/LoadingDots.js +1 -1
- package/lib/cjs/PhoneInput/CountryData.d.ts +3 -0
- package/lib/cjs/PhoneInput/CountryData.d.ts.map +1 -0
- package/lib/cjs/PhoneInput/CountryData.js +590 -0
- package/lib/cjs/PhoneInput/PhoneInput.d.ts +14 -0
- package/lib/cjs/PhoneInput/PhoneInput.d.ts.map +1 -0
- package/lib/cjs/PhoneInput/PhoneInput.js +199 -0
- package/lib/cjs/PhoneInput/PhoneInput.scss +744 -0
- package/lib/cjs/PhoneInput/flags.png +0 -0
- package/lib/cjs/PhoneInput/index.d.ts +2 -0
- package/lib/cjs/PhoneInput/index.d.ts.map +1 -0
- package/lib/cjs/PhoneInput/index.js +13 -0
- package/lib/cjs/index.d.ts +1 -0
- package/lib/cjs/index.d.ts.map +1 -1
- package/lib/cjs/index.js +1 -0
- package/lib/esm/ConfirmationModal/ConfirmationDialog.d.ts +4 -1
- package/lib/esm/ConfirmationModal/ConfirmationDialog.d.ts.map +1 -1
- package/lib/esm/ConfirmationModal/ConfirmationDialog.js +3 -2
- package/lib/esm/LoadingDots/LoadingDots.js +1 -1
- package/lib/esm/PhoneInput/CountryData.d.ts +3 -0
- package/lib/esm/PhoneInput/CountryData.d.ts.map +1 -0
- package/lib/esm/PhoneInput/CountryData.js +588 -0
- package/lib/esm/PhoneInput/PhoneInput.d.ts +14 -0
- package/lib/esm/PhoneInput/PhoneInput.d.ts.map +1 -0
- package/lib/esm/PhoneInput/PhoneInput.js +173 -0
- package/lib/esm/PhoneInput/PhoneInput.scss +744 -0
- package/lib/esm/PhoneInput/flags.png +0 -0
- package/lib/esm/PhoneInput/index.d.ts +2 -0
- package/lib/esm/PhoneInput/index.d.ts.map +1 -0
- package/lib/esm/PhoneInput/index.js +1 -0
- package/lib/esm/index.d.ts +1 -0
- package/lib/esm/index.d.ts.map +1 -1
- package/lib/esm/index.js +1 -0
- package/package.json +12 -9
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { ButtonVariant } from '@patternfly/react-core';
|
|
2
|
+
import { ButtonVariant, ModalVariant } from '@patternfly/react-core';
|
|
3
3
|
export interface ConfirmationOptions {
|
|
4
4
|
catchOnCancel?: boolean;
|
|
5
5
|
title?: string;
|
|
@@ -8,11 +8,13 @@ export interface ConfirmationOptions {
|
|
|
8
8
|
confirmButtonVariant?: ButtonVariant;
|
|
9
9
|
cancelText?: string;
|
|
10
10
|
cancelButtonVariant?: ButtonVariant;
|
|
11
|
+
modalVariant?: ModalVariant;
|
|
11
12
|
}
|
|
12
13
|
interface IProps extends ConfirmationOptions {
|
|
13
14
|
open: boolean;
|
|
14
15
|
onConfirm: () => void;
|
|
15
16
|
onClose: () => void;
|
|
17
|
+
modalVariant?: ModalVariant;
|
|
16
18
|
}
|
|
17
19
|
declare function ConfirmationDialog(props: IProps): JSX.Element;
|
|
18
20
|
declare namespace ConfirmationDialog {
|
|
@@ -21,6 +23,7 @@ declare namespace ConfirmationDialog {
|
|
|
21
23
|
cancelText: string;
|
|
22
24
|
confirmButtonVariant: ButtonVariant;
|
|
23
25
|
cancelButtonVariant: ButtonVariant;
|
|
26
|
+
modalVariant: ModalVariant;
|
|
24
27
|
};
|
|
25
28
|
}
|
|
26
29
|
export { ConfirmationDialog };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConfirmationDialog.d.ts","sourceRoot":"","sources":["../../../src/ConfirmationModal/ConfirmationDialog.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAU,aAAa,EAAS,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"ConfirmationDialog.d.ts","sourceRoot":"","sources":["../../../src/ConfirmationModal/ConfirmationDialog.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAU,aAAa,EAAS,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAIpF,MAAM,WAAW,mBAAmB;IAChC,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,MAAM,GAAG,GAAG,CAAC,OAAO,CAAC;IAClC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,oBAAoB,CAAC,EAAE,aAAa,CAAC;IACrC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,mBAAmB,CAAC,EAAE,aAAa,CAAC;IACpC,YAAY,CAAC,EAAE,YAAY,CAAC;CAC/B;AAED,UAAU,MAAO,SAAQ,mBAAmB;IACxC,IAAI,EAAE,OAAO,CAAC;IACd,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,YAAY,CAAC,EAAE,YAAY,CAAC;CAC/B;AAUD,iBAAS,kBAAkB,CAAC,KAAK,EAAE,MAAM,eAsBxC;kBAtBQ,kBAAkB;;;;;;;;;AAwB3B,OAAO,EAAE,kBAAkB,EAAE,CAAC"}
|
|
@@ -12,10 +12,11 @@ const defaultProps = {
|
|
|
12
12
|
cancelText: 'Cancel',
|
|
13
13
|
confirmButtonVariant: react_core_1.ButtonVariant.primary,
|
|
14
14
|
cancelButtonVariant: react_core_1.ButtonVariant.link,
|
|
15
|
+
modalVariant: react_core_1.ModalVariant.medium,
|
|
15
16
|
};
|
|
16
17
|
function ConfirmationDialog(props) {
|
|
17
18
|
const { t } = react_i18next_1.useTranslation();
|
|
18
|
-
return (react_1.default.createElement(react_core_1.Modal, {
|
|
19
|
+
return (react_1.default.createElement(react_core_1.Modal, { variant: props.modalVariant, "aria-describedby": "se-confirm-dialog", "aria-label": t('confirmation modal'), title: props.title || '', isOpen: props.open, onClose: props.onClose, actions: [
|
|
19
20
|
react_1.default.createElement(react_core_1.Button, { key: "confirm", onClick: props.onConfirm, variant: props.confirmButtonVariant },
|
|
20
21
|
react_1.default.createElement(react_i18next_1.Trans, null, props.confirmText)),
|
|
21
22
|
react_1.default.createElement(react_core_1.Button, { key: "cancel", onClick: props.onClose, variant: props.cancelButtonVariant },
|
|
@@ -19,7 +19,7 @@ function LoadingDots(props) {
|
|
|
19
19
|
react_1.default.createElement("span", null, ".")),
|
|
20
20
|
react_1.default.createElement("p", { className: "sr-only" },
|
|
21
21
|
react_1.default.createElement(react_i18next_1.Trans, null, "Loading...")))),
|
|
22
|
-
props.message && props.show && react_1.default.createElement("
|
|
22
|
+
props.message && props.show && react_1.default.createElement("p", { className: "pf-u-text-align-center pf-u-my-md" }, props.message)));
|
|
23
23
|
}
|
|
24
24
|
exports.LoadingDots = LoadingDots;
|
|
25
25
|
LoadingDots.defaultProps = defaultProps;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CountryData.d.ts","sourceRoot":"","sources":["../../../src/PhoneInput/CountryData.ts"],"names":[],"mappings":"AAkBA,QAAA,MAAM,WAAW,kCAyjBhB,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -0,0 +1,590 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Country model:
|
|
3
|
+
// [
|
|
4
|
+
// Country name,
|
|
5
|
+
// Regions,
|
|
6
|
+
// iso2 code,
|
|
7
|
+
// International dial code,
|
|
8
|
+
// Format (if available),
|
|
9
|
+
// Order priority (if >1 country with same dial code),
|
|
10
|
+
// Area codes (if >1 country with same dial code)
|
|
11
|
+
// ]
|
|
12
|
+
//
|
|
13
|
+
// Regions:
|
|
14
|
+
// ['america', 'europe', 'asia', 'oceania', 'africa']
|
|
15
|
+
//
|
|
16
|
+
// Sub-regions:
|
|
17
|
+
// ['north-america', 'south-america', 'central-america', 'carribean',
|
|
18
|
+
// 'eu-union', 'ex-ussr', 'ex-yugos', 'baltic', 'middle-east', 'north-africa']
|
|
19
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20
|
+
const CountryData = [
|
|
21
|
+
['Afghanistan', ['asia'], 'af', '93'],
|
|
22
|
+
['Albania', ['europe'], 'al', '355'],
|
|
23
|
+
['Algeria', ['africa', 'north-africa'], 'dz', '213'],
|
|
24
|
+
['Andorra', ['europe'], 'ad', '376'],
|
|
25
|
+
['Angola', ['africa'], 'ao', '244'],
|
|
26
|
+
['Antigua and Barbuda', ['america', 'carribean'], 'ag', '1268'],
|
|
27
|
+
[
|
|
28
|
+
'Argentina',
|
|
29
|
+
['america', 'south-america'],
|
|
30
|
+
'ar',
|
|
31
|
+
'54',
|
|
32
|
+
'(..) ........',
|
|
33
|
+
0,
|
|
34
|
+
[
|
|
35
|
+
'11',
|
|
36
|
+
'221',
|
|
37
|
+
'223',
|
|
38
|
+
'261',
|
|
39
|
+
'264',
|
|
40
|
+
'2652',
|
|
41
|
+
'280',
|
|
42
|
+
'2905',
|
|
43
|
+
'291',
|
|
44
|
+
'2920',
|
|
45
|
+
'2966',
|
|
46
|
+
'299',
|
|
47
|
+
'341',
|
|
48
|
+
'342',
|
|
49
|
+
'343',
|
|
50
|
+
'351',
|
|
51
|
+
'376',
|
|
52
|
+
'379',
|
|
53
|
+
'381',
|
|
54
|
+
'3833',
|
|
55
|
+
'385',
|
|
56
|
+
'387',
|
|
57
|
+
'388',
|
|
58
|
+
],
|
|
59
|
+
],
|
|
60
|
+
['Armenia', ['asia', 'ex-ussr'], 'am', '374', '.. ......'],
|
|
61
|
+
['Aruba', ['america', 'carribean'], 'aw', '297'],
|
|
62
|
+
[
|
|
63
|
+
'Australia',
|
|
64
|
+
['oceania'],
|
|
65
|
+
'au',
|
|
66
|
+
'61',
|
|
67
|
+
'(..) .... ....',
|
|
68
|
+
0,
|
|
69
|
+
['2', '3', '4', '7', '8', '02', '03', '04', '07', '08'],
|
|
70
|
+
],
|
|
71
|
+
['Austria', ['europe', 'eu-union'], 'at', '43'],
|
|
72
|
+
['Azerbaijan', ['asia', 'ex-ussr'], 'az', '994', '(..) ... .. ..'],
|
|
73
|
+
['Bahamas', ['america', 'carribean'], 'bs', '1242'],
|
|
74
|
+
['Bahrain', ['middle-east'], 'bh', '973'],
|
|
75
|
+
['Bangladesh', ['asia'], 'bd', '880'],
|
|
76
|
+
['Barbados', ['america', 'carribean'], 'bb', '1246'],
|
|
77
|
+
['Belarus', ['europe', 'ex-ussr'], 'by', '375', '(..) ... .. ..'],
|
|
78
|
+
['Belgium', ['europe', 'eu-union'], 'be', '32', '... .. .. ..'],
|
|
79
|
+
['Belize', ['america', 'central-america'], 'bz', '501'],
|
|
80
|
+
['Benin', ['africa'], 'bj', '229'],
|
|
81
|
+
['Bhutan', ['asia'], 'bt', '975'],
|
|
82
|
+
['Bolivia', ['america', 'south-america'], 'bo', '591'],
|
|
83
|
+
['Bosnia and Herzegovina', ['europe', 'ex-yugos'], 'ba', '387'],
|
|
84
|
+
['Botswana', ['africa'], 'bw', '267'],
|
|
85
|
+
['Brazil', ['america', 'south-america'], 'br', '55', '(..) .........'],
|
|
86
|
+
['British Indian Ocean Territory', ['asia'], 'io', '246'],
|
|
87
|
+
['Brunei', ['asia'], 'bn', '673'],
|
|
88
|
+
['Bulgaria', ['europe', 'eu-union'], 'bg', '359'],
|
|
89
|
+
['Burkina Faso', ['africa'], 'bf', '226'],
|
|
90
|
+
['Burundi', ['africa'], 'bi', '257'],
|
|
91
|
+
['Cambodia', ['asia'], 'kh', '855'],
|
|
92
|
+
['Cameroon', ['africa'], 'cm', '237'],
|
|
93
|
+
[
|
|
94
|
+
'Canada',
|
|
95
|
+
['america', 'north-america'],
|
|
96
|
+
'ca',
|
|
97
|
+
'1',
|
|
98
|
+
'(...) ...-....',
|
|
99
|
+
1,
|
|
100
|
+
[
|
|
101
|
+
'204',
|
|
102
|
+
'226',
|
|
103
|
+
'236',
|
|
104
|
+
'249',
|
|
105
|
+
'250',
|
|
106
|
+
'289',
|
|
107
|
+
'306',
|
|
108
|
+
'343',
|
|
109
|
+
'365',
|
|
110
|
+
'387',
|
|
111
|
+
'403',
|
|
112
|
+
'416',
|
|
113
|
+
'418',
|
|
114
|
+
'431',
|
|
115
|
+
'437',
|
|
116
|
+
'438',
|
|
117
|
+
'450',
|
|
118
|
+
'506',
|
|
119
|
+
'514',
|
|
120
|
+
'519',
|
|
121
|
+
'548',
|
|
122
|
+
'579',
|
|
123
|
+
'581',
|
|
124
|
+
'587',
|
|
125
|
+
'604',
|
|
126
|
+
'613',
|
|
127
|
+
'639',
|
|
128
|
+
'647',
|
|
129
|
+
'672',
|
|
130
|
+
'705',
|
|
131
|
+
'709',
|
|
132
|
+
'742',
|
|
133
|
+
'778',
|
|
134
|
+
'780',
|
|
135
|
+
'782',
|
|
136
|
+
'807',
|
|
137
|
+
'819',
|
|
138
|
+
'825',
|
|
139
|
+
'867',
|
|
140
|
+
'873',
|
|
141
|
+
'902',
|
|
142
|
+
'905',
|
|
143
|
+
],
|
|
144
|
+
],
|
|
145
|
+
['Cape Verde', ['africa'], 'cv', '238'],
|
|
146
|
+
['Caribbean Netherlands', ['america', 'carribean'], 'bq', '599', '', 1],
|
|
147
|
+
['Central African Republic', ['africa'], 'cf', '236'],
|
|
148
|
+
['Chad', ['africa'], 'td', '235'],
|
|
149
|
+
['Chile', ['america', 'south-america'], 'cl', '56'],
|
|
150
|
+
['China', ['asia'], 'cn', '86', '..-.........'],
|
|
151
|
+
['Colombia', ['america', 'south-america'], 'co', '57', '... ... ....'],
|
|
152
|
+
['Comoros', ['africa'], 'km', '269'],
|
|
153
|
+
['Congo', ['africa'], 'cd', '243'],
|
|
154
|
+
['Congo', ['africa'], 'cg', '242'],
|
|
155
|
+
['Costa Rica', ['america', 'central-america'], 'cr', '506', '....-....'],
|
|
156
|
+
['Côte d’Ivoire', ['africa'], 'ci', '225', '.. .. .. ..'],
|
|
157
|
+
['Croatia', ['europe', 'eu-union', 'ex-yugos'], 'hr', '385'],
|
|
158
|
+
['Cuba', ['america', 'carribean'], 'cu', '53'],
|
|
159
|
+
['Curaçao', ['america', 'carribean'], 'cw', '599', '', 0],
|
|
160
|
+
['Cyprus', ['europe', 'eu-union'], 'cy', '357', '.. ......'],
|
|
161
|
+
['Czech Republic', ['europe', 'eu-union'], 'cz', '420', '... ... ...'],
|
|
162
|
+
['Denmark', ['europe', 'eu-union', 'baltic'], 'dk', '45', '.. .. .. ..'],
|
|
163
|
+
['Djibouti', ['africa'], 'dj', '253'],
|
|
164
|
+
['Dominica', ['america', 'carribean'], 'dm', '1767'],
|
|
165
|
+
['Dominican Republic', ['america', 'carribean'], 'do', '1', '', 2, ['809', '829', '849']],
|
|
166
|
+
['Ecuador', ['america', 'south-america'], 'ec', '593'],
|
|
167
|
+
['Egypt', ['africa', 'north-africa'], 'eg', '20'],
|
|
168
|
+
['El Salvador', ['america', 'central-america'], 'sv', '503', '....-....'],
|
|
169
|
+
['Equatorial Guinea', ['africa'], 'gq', '240'],
|
|
170
|
+
['Eritrea', ['africa'], 'er', '291'],
|
|
171
|
+
['Estonia', ['europe', 'eu-union', 'ex-ussr', 'baltic'], 'ee', '372', '.... ......'],
|
|
172
|
+
['Ethiopia', ['africa'], 'et', '251'],
|
|
173
|
+
['Fiji', ['oceania'], 'fj', '679'],
|
|
174
|
+
['Finland', ['europe', 'eu-union', 'baltic'], 'fi', '358', '.. ... .. ..'],
|
|
175
|
+
['France', ['europe', 'eu-union'], 'fr', '33', '. .. .. .. ..'],
|
|
176
|
+
['French Guiana', ['america', 'south-america'], 'gf', '594'],
|
|
177
|
+
['French Polynesia', ['oceania'], 'pf', '689'],
|
|
178
|
+
['Gabon', ['africa'], 'ga', '241'],
|
|
179
|
+
['Gambia', ['africa'], 'gm', '220'],
|
|
180
|
+
['Georgia', ['asia', 'ex-ussr'], 'ge', '995'],
|
|
181
|
+
['Germany', ['europe', 'eu-union', 'baltic'], 'de', '49', '.... ........'],
|
|
182
|
+
['Ghana', ['africa'], 'gh', '233'],
|
|
183
|
+
['Greece', ['europe', 'eu-union'], 'gr', '30'],
|
|
184
|
+
['Grenada', ['america', 'carribean'], 'gd', '1473'],
|
|
185
|
+
['Guadeloupe', ['america', 'carribean'], 'gp', '590', '', 0],
|
|
186
|
+
['Guam', ['oceania'], 'gu', '1671'],
|
|
187
|
+
['Guatemala', ['america', 'central-america'], 'gt', '502', '....-....'],
|
|
188
|
+
['Guinea', ['africa'], 'gn', '224'],
|
|
189
|
+
['Guinea-Bissau', ['africa'], 'gw', '245'],
|
|
190
|
+
['Guyana', ['america', 'south-america'], 'gy', '592'],
|
|
191
|
+
['Haiti', ['america', 'carribean'], 'ht', '509', '....-....'],
|
|
192
|
+
['Honduras', ['america', 'central-america'], 'hn', '504'],
|
|
193
|
+
['Hong Kong', ['asia'], 'hk', '852', '.... ....'],
|
|
194
|
+
['Hungary', ['europe', 'eu-union'], 'hu', '36'],
|
|
195
|
+
['Iceland', ['europe'], 'is', '354', '... ....'],
|
|
196
|
+
['India', ['asia'], 'in', '91', '.....-.....'],
|
|
197
|
+
['Indonesia', ['asia'], 'id', '62'],
|
|
198
|
+
['Iran', ['middle-east'], 'ir', '98', '... ... ....'],
|
|
199
|
+
['Iraq', ['middle-east'], 'iq', '964'],
|
|
200
|
+
['Ireland', ['europe', 'eu-union'], 'ie', '353', '.. .......'],
|
|
201
|
+
['Israel', ['middle-east'], 'il', '972', '... ... ....'],
|
|
202
|
+
['Italy', ['europe', 'eu-union'], 'it', '39', '... .......', 0],
|
|
203
|
+
['Jamaica', ['america', 'carribean'], 'jm', '1876'],
|
|
204
|
+
['Japan', ['asia'], 'jp', '81', '.. .... ....'],
|
|
205
|
+
['Jordan', ['middle-east'], 'jo', '962'],
|
|
206
|
+
[
|
|
207
|
+
'Kazakhstan',
|
|
208
|
+
['asia', 'ex-ussr'],
|
|
209
|
+
'kz',
|
|
210
|
+
'7',
|
|
211
|
+
'... ...-..-..',
|
|
212
|
+
1,
|
|
213
|
+
['310', '311', '312', '313', '315', '318', '321', '324', '325', '326', '327', '336', '7172', '73622'],
|
|
214
|
+
],
|
|
215
|
+
['Kenya', ['africa'], 'ke', '254'],
|
|
216
|
+
['Kiribati', ['oceania'], 'ki', '686'],
|
|
217
|
+
['Kosovo', ['europe', 'ex-yugos'], 'xk', '383'],
|
|
218
|
+
['Kuwait', ['middle-east'], 'kw', '965'],
|
|
219
|
+
['Kyrgyzstan', ['asia', 'ex-ussr'], 'kg', '996', '... ... ...'],
|
|
220
|
+
['Laos', ['asia'], 'la', '856'],
|
|
221
|
+
['Latvia', ['europe', 'eu-union', 'ex-ussr', 'baltic'], 'lv', '371', '.. ... ...'],
|
|
222
|
+
['Lebanon', ['middle-east'], 'lb', '961'],
|
|
223
|
+
['Lesotho', ['africa'], 'ls', '266'],
|
|
224
|
+
['Liberia', ['africa'], 'lr', '231'],
|
|
225
|
+
['Libya', ['africa', 'north-africa'], 'ly', '218'],
|
|
226
|
+
['Liechtenstein', ['europe'], 'li', '423'],
|
|
227
|
+
['Lithuania', ['europe', 'eu-union', 'ex-ussr', 'baltic'], 'lt', '370'],
|
|
228
|
+
['Luxembourg', ['europe', 'eu-union'], 'lu', '352'],
|
|
229
|
+
['Macau', ['asia'], 'mo', '853'],
|
|
230
|
+
['Macedonia', ['europe', 'ex-yugos'], 'mk', '389'],
|
|
231
|
+
['Madagascar', ['africa'], 'mg', '261'],
|
|
232
|
+
['Malawi', ['africa'], 'mw', '265'],
|
|
233
|
+
['Malaysia', ['asia'], 'my', '60', '..-....-....'],
|
|
234
|
+
['Maldives', ['asia'], 'mv', '960'],
|
|
235
|
+
['Mali', ['africa'], 'ml', '223'],
|
|
236
|
+
['Malta', ['europe', 'eu-union'], 'mt', '356'],
|
|
237
|
+
['Marshall Islands', ['oceania'], 'mh', '692'],
|
|
238
|
+
['Martinique', ['america', 'carribean'], 'mq', '596'],
|
|
239
|
+
['Mauritania', ['africa'], 'mr', '222'],
|
|
240
|
+
['Mauritius', ['africa'], 'mu', '230'],
|
|
241
|
+
[
|
|
242
|
+
'Mexico',
|
|
243
|
+
['america', 'central-america'],
|
|
244
|
+
'mx',
|
|
245
|
+
'52',
|
|
246
|
+
'... ... ....',
|
|
247
|
+
0,
|
|
248
|
+
['55', '81', '33', '656', '664', '998', '774', '229'],
|
|
249
|
+
],
|
|
250
|
+
['Micronesia', ['oceania'], 'fm', '691'],
|
|
251
|
+
['Moldova', ['europe'], 'md', '373', '(..) ..-..-..'],
|
|
252
|
+
['Monaco', ['europe'], 'mc', '377'],
|
|
253
|
+
['Mongolia', ['asia'], 'mn', '976'],
|
|
254
|
+
['Montenegro', ['europe', 'ex-yugos'], 'me', '382'],
|
|
255
|
+
['Morocco', ['africa', 'north-africa'], 'ma', '212'],
|
|
256
|
+
['Mozambique', ['africa'], 'mz', '258'],
|
|
257
|
+
['Myanmar', ['asia'], 'mm', '95'],
|
|
258
|
+
['Namibia', ['africa'], 'na', '264'],
|
|
259
|
+
['Nauru', ['africa'], 'nr', '674'],
|
|
260
|
+
['Nepal', ['asia'], 'np', '977'],
|
|
261
|
+
['Netherlands', ['europe', 'eu-union'], 'nl', '31', '.. ........'],
|
|
262
|
+
['New Caledonia', ['oceania'], 'nc', '687'],
|
|
263
|
+
['New Zealand', ['oceania'], 'nz', '64', '...-...-....'],
|
|
264
|
+
['Nicaragua', ['america', 'central-america'], 'ni', '505'],
|
|
265
|
+
['Niger', ['africa'], 'ne', '227'],
|
|
266
|
+
['Nigeria', ['africa'], 'ng', '234'],
|
|
267
|
+
['North Korea', ['asia'], 'kp', '850'],
|
|
268
|
+
['Norway', ['europe', 'baltic'], 'no', '47', '... .. ...'],
|
|
269
|
+
['Oman', ['middle-east'], 'om', '968'],
|
|
270
|
+
['Pakistan', ['asia'], 'pk', '92', '...-.......'],
|
|
271
|
+
['Palau', ['oceania'], 'pw', '680'],
|
|
272
|
+
['Palestine', ['middle-east'], 'ps', '970'],
|
|
273
|
+
['Panama', ['america', 'central-america'], 'pa', '507'],
|
|
274
|
+
['Papua New Guinea', ['oceania'], 'pg', '675'],
|
|
275
|
+
['Paraguay', ['america', 'south-america'], 'py', '595'],
|
|
276
|
+
['Peru', ['america', 'south-america'], 'pe', '51'],
|
|
277
|
+
['Philippines', ['asia'], 'ph', '63', '.... .......'],
|
|
278
|
+
['Poland', ['europe', 'eu-union', 'baltic'], 'pl', '48', '...-...-...'],
|
|
279
|
+
['Portugal', ['europe', 'eu-union'], 'pt', '351'],
|
|
280
|
+
['Puerto Rico', ['america', 'carribean'], 'pr', '1', '', 3, ['787', '939']],
|
|
281
|
+
['Qatar', ['middle-east'], 'qa', '974'],
|
|
282
|
+
['Réunion', ['africa'], 're', '262'],
|
|
283
|
+
['Romania', ['europe', 'eu-union'], 'ro', '40'],
|
|
284
|
+
['Russia', ['europe', 'asia', 'ex-ussr', 'baltic'], 'ru', '7', '(...) ...-..-..', 0],
|
|
285
|
+
['Rwanda', ['africa'], 'rw', '250'],
|
|
286
|
+
['Saint Kitts and Nevis', ['america', 'carribean'], 'kn', '1869'],
|
|
287
|
+
['Saint Lucia', ['america', 'carribean'], 'lc', '1758'],
|
|
288
|
+
['Saint Vincent and the Grenadines', ['america', 'carribean'], 'vc', '1784'],
|
|
289
|
+
['Samoa', ['oceania'], 'ws', '685'],
|
|
290
|
+
['San Marino', ['europe'], 'sm', '378'],
|
|
291
|
+
['São Tomé and Príncipe', ['africa'], 'st', '239'],
|
|
292
|
+
['Saudi Arabia', ['middle-east'], 'sa', '966'],
|
|
293
|
+
['Senegal', ['africa'], 'sn', '221'],
|
|
294
|
+
['Serbia', ['europe', 'ex-yugos'], 'rs', '381'],
|
|
295
|
+
['Seychelles', ['africa'], 'sc', '248'],
|
|
296
|
+
['Sierra Leone', ['africa'], 'sl', '232'],
|
|
297
|
+
['Singapore', ['asia'], 'sg', '65', '....-....'],
|
|
298
|
+
['Slovakia', ['europe', 'eu-union'], 'sk', '421'],
|
|
299
|
+
['Slovenia', ['europe', 'eu-union', 'ex-yugos'], 'si', '386'],
|
|
300
|
+
['Solomon Islands', ['oceania'], 'sb', '677'],
|
|
301
|
+
['Somalia', ['africa'], 'so', '252'],
|
|
302
|
+
['South Africa', ['africa'], 'za', '27'],
|
|
303
|
+
['South Korea', ['asia'], 'kr', '82', '... .... ....'],
|
|
304
|
+
['South Sudan', ['africa', 'north-africa'], 'ss', '211'],
|
|
305
|
+
['Spain', ['europe', 'eu-union'], 'es', '34', '... ... ...'],
|
|
306
|
+
['Sri Lanka', ['asia'], 'lk', '94'],
|
|
307
|
+
['Sudan', ['africa'], 'sd', '249'],
|
|
308
|
+
['Suriname', ['america', 'south-america'], 'sr', '597'],
|
|
309
|
+
['Swaziland', ['africa'], 'sz', '268'],
|
|
310
|
+
['Sweden', ['europe', 'eu-union', 'baltic'], 'se', '46', '(...) ...-...'],
|
|
311
|
+
['Switzerland', ['europe'], 'ch', '41', '.. ... .. ..'],
|
|
312
|
+
['Syria', ['middle-east'], 'sy', '963'],
|
|
313
|
+
['Taiwan', ['asia'], 'tw', '886'],
|
|
314
|
+
['Tajikistan', ['asia', 'ex-ussr'], 'tj', '992'],
|
|
315
|
+
['Tanzania', ['africa'], 'tz', '255'],
|
|
316
|
+
['Thailand', ['asia'], 'th', '66'],
|
|
317
|
+
['Timor-Leste', ['asia'], 'tl', '670'],
|
|
318
|
+
['Togo', ['africa'], 'tg', '228'],
|
|
319
|
+
['Tonga', ['oceania'], 'to', '676'],
|
|
320
|
+
['Trinidad and Tobago', ['america', 'carribean'], 'tt', '1868'],
|
|
321
|
+
['Tunisia', ['africa', 'north-africa'], 'tn', '216'],
|
|
322
|
+
['Turkey', ['europe'], 'tr', '90', '... ... .. ..'],
|
|
323
|
+
['Turkmenistan', ['asia', 'ex-ussr'], 'tm', '993'],
|
|
324
|
+
['Tuvalu', ['asia'], 'tv', '688'],
|
|
325
|
+
['Uganda', ['africa'], 'ug', '256'],
|
|
326
|
+
['Ukraine', ['europe', 'ex-ussr'], 'ua', '380', '(..) ... .. ..'],
|
|
327
|
+
['United Arab Emirates', ['middle-east'], 'ae', '971'],
|
|
328
|
+
['United Kingdom', ['europe', 'eu-union'], 'gb', '44', '.... ......'],
|
|
329
|
+
[
|
|
330
|
+
'United States',
|
|
331
|
+
['america', 'north-america'],
|
|
332
|
+
'us',
|
|
333
|
+
'1',
|
|
334
|
+
'(...) ...-....',
|
|
335
|
+
0,
|
|
336
|
+
[
|
|
337
|
+
'907',
|
|
338
|
+
'205',
|
|
339
|
+
'251',
|
|
340
|
+
'256',
|
|
341
|
+
'334',
|
|
342
|
+
'479',
|
|
343
|
+
'501',
|
|
344
|
+
'870',
|
|
345
|
+
'480',
|
|
346
|
+
'520',
|
|
347
|
+
'602',
|
|
348
|
+
'623',
|
|
349
|
+
'928',
|
|
350
|
+
'209',
|
|
351
|
+
'213',
|
|
352
|
+
'310',
|
|
353
|
+
'323',
|
|
354
|
+
'408',
|
|
355
|
+
'415',
|
|
356
|
+
'510',
|
|
357
|
+
'530',
|
|
358
|
+
'559',
|
|
359
|
+
'562',
|
|
360
|
+
'619',
|
|
361
|
+
'626',
|
|
362
|
+
'650',
|
|
363
|
+
'661',
|
|
364
|
+
'707',
|
|
365
|
+
'714',
|
|
366
|
+
'760',
|
|
367
|
+
'805',
|
|
368
|
+
'818',
|
|
369
|
+
'831',
|
|
370
|
+
'858',
|
|
371
|
+
'909',
|
|
372
|
+
'916',
|
|
373
|
+
'925',
|
|
374
|
+
'949',
|
|
375
|
+
'951',
|
|
376
|
+
'303',
|
|
377
|
+
'719',
|
|
378
|
+
'970',
|
|
379
|
+
'203',
|
|
380
|
+
'860',
|
|
381
|
+
'202',
|
|
382
|
+
'302',
|
|
383
|
+
'239',
|
|
384
|
+
'305',
|
|
385
|
+
'321',
|
|
386
|
+
'352',
|
|
387
|
+
'386',
|
|
388
|
+
'407',
|
|
389
|
+
'561',
|
|
390
|
+
'727',
|
|
391
|
+
'772',
|
|
392
|
+
'813',
|
|
393
|
+
'850',
|
|
394
|
+
'863',
|
|
395
|
+
'904',
|
|
396
|
+
'941',
|
|
397
|
+
'954',
|
|
398
|
+
'229',
|
|
399
|
+
'404',
|
|
400
|
+
'478',
|
|
401
|
+
'706',
|
|
402
|
+
'770',
|
|
403
|
+
'912',
|
|
404
|
+
'808',
|
|
405
|
+
'319',
|
|
406
|
+
'515',
|
|
407
|
+
'563',
|
|
408
|
+
'641',
|
|
409
|
+
'712',
|
|
410
|
+
'208',
|
|
411
|
+
'217',
|
|
412
|
+
'309',
|
|
413
|
+
'312',
|
|
414
|
+
'618',
|
|
415
|
+
'630',
|
|
416
|
+
'708',
|
|
417
|
+
'773',
|
|
418
|
+
'815',
|
|
419
|
+
'847',
|
|
420
|
+
'219',
|
|
421
|
+
'260',
|
|
422
|
+
'317',
|
|
423
|
+
'574',
|
|
424
|
+
'765',
|
|
425
|
+
'812',
|
|
426
|
+
'316',
|
|
427
|
+
'620',
|
|
428
|
+
'785',
|
|
429
|
+
'913',
|
|
430
|
+
'270',
|
|
431
|
+
'502',
|
|
432
|
+
'606',
|
|
433
|
+
'859',
|
|
434
|
+
'225',
|
|
435
|
+
'318',
|
|
436
|
+
'337',
|
|
437
|
+
'504',
|
|
438
|
+
'985',
|
|
439
|
+
'413',
|
|
440
|
+
'508',
|
|
441
|
+
'617',
|
|
442
|
+
'781',
|
|
443
|
+
'978',
|
|
444
|
+
'301',
|
|
445
|
+
'410',
|
|
446
|
+
'207',
|
|
447
|
+
'231',
|
|
448
|
+
'248',
|
|
449
|
+
'269',
|
|
450
|
+
'313',
|
|
451
|
+
'517',
|
|
452
|
+
'586',
|
|
453
|
+
'616',
|
|
454
|
+
'734',
|
|
455
|
+
'810',
|
|
456
|
+
'906',
|
|
457
|
+
'989',
|
|
458
|
+
'218',
|
|
459
|
+
'320',
|
|
460
|
+
'507',
|
|
461
|
+
'612',
|
|
462
|
+
'651',
|
|
463
|
+
'763',
|
|
464
|
+
'952',
|
|
465
|
+
'314',
|
|
466
|
+
'417',
|
|
467
|
+
'573',
|
|
468
|
+
'636',
|
|
469
|
+
'660',
|
|
470
|
+
'816',
|
|
471
|
+
'228',
|
|
472
|
+
'601',
|
|
473
|
+
'662',
|
|
474
|
+
'406',
|
|
475
|
+
'252',
|
|
476
|
+
'336',
|
|
477
|
+
'704',
|
|
478
|
+
'828',
|
|
479
|
+
'910',
|
|
480
|
+
'919',
|
|
481
|
+
'701',
|
|
482
|
+
'308',
|
|
483
|
+
'402',
|
|
484
|
+
'603',
|
|
485
|
+
'201',
|
|
486
|
+
'609',
|
|
487
|
+
'732',
|
|
488
|
+
'856',
|
|
489
|
+
'908',
|
|
490
|
+
'973',
|
|
491
|
+
'505',
|
|
492
|
+
'575',
|
|
493
|
+
'702',
|
|
494
|
+
'775',
|
|
495
|
+
'212',
|
|
496
|
+
'315',
|
|
497
|
+
'516',
|
|
498
|
+
'518',
|
|
499
|
+
'585',
|
|
500
|
+
'607',
|
|
501
|
+
'631',
|
|
502
|
+
'716',
|
|
503
|
+
'718',
|
|
504
|
+
'845',
|
|
505
|
+
'914',
|
|
506
|
+
'216',
|
|
507
|
+
'330',
|
|
508
|
+
'419',
|
|
509
|
+
'440',
|
|
510
|
+
'513',
|
|
511
|
+
'614',
|
|
512
|
+
'740',
|
|
513
|
+
'937',
|
|
514
|
+
'405',
|
|
515
|
+
'580',
|
|
516
|
+
'918',
|
|
517
|
+
'503',
|
|
518
|
+
'541',
|
|
519
|
+
'215',
|
|
520
|
+
'412',
|
|
521
|
+
'570',
|
|
522
|
+
'610',
|
|
523
|
+
'717',
|
|
524
|
+
'724',
|
|
525
|
+
'814',
|
|
526
|
+
'401',
|
|
527
|
+
'803',
|
|
528
|
+
'843',
|
|
529
|
+
'864',
|
|
530
|
+
'605',
|
|
531
|
+
'423',
|
|
532
|
+
'615',
|
|
533
|
+
'731',
|
|
534
|
+
'865',
|
|
535
|
+
'901',
|
|
536
|
+
'931',
|
|
537
|
+
'210',
|
|
538
|
+
'214',
|
|
539
|
+
'254',
|
|
540
|
+
'281',
|
|
541
|
+
'325',
|
|
542
|
+
'361',
|
|
543
|
+
'409',
|
|
544
|
+
'432',
|
|
545
|
+
'512',
|
|
546
|
+
'713',
|
|
547
|
+
'806',
|
|
548
|
+
'817',
|
|
549
|
+
'830',
|
|
550
|
+
'903',
|
|
551
|
+
'915',
|
|
552
|
+
'936',
|
|
553
|
+
'940',
|
|
554
|
+
'956',
|
|
555
|
+
'972',
|
|
556
|
+
'979',
|
|
557
|
+
'435',
|
|
558
|
+
'801',
|
|
559
|
+
'276',
|
|
560
|
+
'434',
|
|
561
|
+
'540',
|
|
562
|
+
'703',
|
|
563
|
+
'757',
|
|
564
|
+
'804',
|
|
565
|
+
'802',
|
|
566
|
+
'206',
|
|
567
|
+
'253',
|
|
568
|
+
'360',
|
|
569
|
+
'425',
|
|
570
|
+
'509',
|
|
571
|
+
'262',
|
|
572
|
+
'414',
|
|
573
|
+
'608',
|
|
574
|
+
'715',
|
|
575
|
+
'920',
|
|
576
|
+
'304',
|
|
577
|
+
'307',
|
|
578
|
+
],
|
|
579
|
+
],
|
|
580
|
+
['Uruguay', ['america', 'south-america'], 'uy', '598'],
|
|
581
|
+
['Uzbekistan', ['asia', 'ex-ussr'], 'uz', '998', '.. ... .. ..'],
|
|
582
|
+
['Vanuatu', ['oceania'], 'vu', '678'],
|
|
583
|
+
['Vatican City', ['europe'], 'va', '39', '.. .... ....', 1],
|
|
584
|
+
['Venezuela', ['america', 'south-america'], 've', '58'],
|
|
585
|
+
['Vietnam', ['asia'], 'vn', '84'],
|
|
586
|
+
['Yemen', ['middle-east'], 'ye', '967'],
|
|
587
|
+
['Zambia', ['africa'], 'zm', '260'],
|
|
588
|
+
['Zimbabwe', ['africa'], 'zw', '263'],
|
|
589
|
+
];
|
|
590
|
+
exports.default = CountryData;
|