@leyyo/localization 1.1.1 → 1.1.3
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/README.md +3 -3
- package/dist/base/base-localization.handler.d.ts +1 -1
- package/dist/base/base-localization.handler.js +18 -12
- package/dist/base/index.d.ts +2 -2
- package/dist/base/index.js +2 -19
- package/dist/base/index.types.js +1 -3
- package/dist/config/index.d.ts +2 -2
- package/dist/config/index.js +2 -19
- package/dist/config/index.types.d.ts +3 -5
- package/dist/config/index.types.js +1 -3
- package/dist/config/localization.config.d.ts +1 -1
- package/dist/config/localization.config.js +33 -21
- package/dist/country/country.handler.d.ts +1 -1
- package/dist/country/country.handler.js +13 -23
- package/dist/country/country.map.d.ts +2 -2
- package/dist/country/country.map.js +252 -256
- package/dist/country/index.d.ts +2 -3
- package/dist/country/index.js +2 -20
- package/dist/country/index.types.d.ts +2 -3
- package/dist/country/index.types.js +1 -3
- package/dist/exchange/exchange.handler.d.ts +1 -1
- package/dist/exchange/exchange.handler.js +14 -25
- package/dist/exchange/exchange.map.d.ts +2 -2
- package/dist/exchange/exchange.map.js +36 -9
- package/dist/exchange/index.d.ts +2 -3
- package/dist/exchange/index.js +2 -20
- package/dist/exchange/index.types.d.ts +2 -3
- package/dist/exchange/index.types.js +1 -3
- package/dist/index.d.ts +11 -7
- package/dist/index.foretell.d.ts +1 -0
- package/dist/index.foretell.js +19 -0
- package/dist/index.js +11 -24
- package/dist/index.loader.d.ts +1 -0
- package/dist/index.loader.js +13 -0
- package/dist/internal.d.ts +1 -1
- package/dist/internal.js +2 -5
- package/dist/language/index.d.ts +2 -3
- package/dist/language/index.js +2 -20
- package/dist/language/index.types.d.ts +2 -2
- package/dist/language/index.types.js +1 -3
- package/dist/language/language.handler.d.ts +1 -11
- package/dist/language/language.handler.js +13 -21
- package/dist/language/language.map.d.ts +2 -2
- package/dist/language/language.map.js +185 -189
- package/dist/literal/browser-type.d.ts +7 -0
- package/dist/literal/browser-type.js +2 -0
- package/dist/{country → literal}/country-code.d.ts +1 -1
- package/dist/literal/country-code.js +257 -0
- package/dist/literal/cpu-architecture.d.ts +7 -0
- package/dist/literal/cpu-architecture.js +20 -0
- package/dist/literal/device-type.d.ts +7 -0
- package/dist/literal/device-type.js +11 -0
- package/dist/literal/engine-type.d.ts +7 -0
- package/dist/literal/engine-type.js +23 -0
- package/dist/{exchange → literal}/exchange-code.d.ts +1 -1
- package/dist/literal/exchange-code.js +157 -0
- package/dist/literal/index.d.ts +9 -0
- package/dist/literal/index.js +9 -0
- package/dist/{language → literal}/language-code.d.ts +1 -1
- package/dist/literal/language-code.js +187 -0
- package/dist/{locale → literal}/locale-code.d.ts +1 -1
- package/dist/literal/locale-code.js +199 -0
- package/dist/{timezone → literal}/timezone-code.d.ts +1 -1
- package/dist/literal/timezone-code.js +605 -0
- package/dist/locale/index.d.ts +2 -3
- package/dist/locale/index.js +2 -20
- package/dist/locale/index.types.d.ts +2 -4
- package/dist/locale/index.types.js +1 -3
- package/dist/locale/locale.handler.d.ts +1 -17
- package/dist/locale/locale.handler.js +17 -28
- package/dist/locale/locale.map.d.ts +2 -2
- package/dist/locale/locale.map.js +84 -88
- package/dist/parser/index.d.ts +2 -2
- package/dist/parser/index.js +2 -19
- package/dist/parser/index.types.d.ts +4 -24
- package/dist/parser/index.types.js +1 -3
- package/dist/parser/localization.parser.d.ts +1 -1
- package/dist/parser/localization.parser.js +112 -111
- package/dist/timezone/index.d.ts +2 -3
- package/dist/timezone/index.js +2 -20
- package/dist/timezone/index.types.d.ts +2 -3
- package/dist/timezone/index.types.js +1 -3
- package/dist/timezone/timezone.handler.d.ts +1 -1
- package/dist/timezone/timezone.handler.js +21 -24
- package/dist/timezone/timezone.map.d.ts +2 -2
- package/dist/timezone/timezone.map.js +603 -607
- package/package.json +23 -23
- package/dist/base/base-localization.handler.js.map +0 -1
- package/dist/base/index.js.map +0 -1
- package/dist/base/index.types.js.map +0 -1
- package/dist/config/index.js.map +0 -1
- package/dist/config/index.types.js.map +0 -1
- package/dist/config/localization.config.js.map +0 -1
- package/dist/country/country-code.js +0 -19
- package/dist/country/country-code.js.map +0 -1
- package/dist/country/country.handler.js.map +0 -1
- package/dist/country/country.map.js.map +0 -1
- package/dist/country/index.js.map +0 -1
- package/dist/country/index.types.js.map +0 -1
- package/dist/exchange/exchange-code.js +0 -23
- package/dist/exchange/exchange-code.js.map +0 -1
- package/dist/exchange/exchange.handler.js.map +0 -1
- package/dist/exchange/exchange.map.js.map +0 -1
- package/dist/exchange/index.js.map +0 -1
- package/dist/exchange/index.types.js.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/internal.js.map +0 -1
- package/dist/language/index.js.map +0 -1
- package/dist/language/index.types.js.map +0 -1
- package/dist/language/language-code.js +0 -33
- package/dist/language/language-code.js.map +0 -1
- package/dist/language/language.handler.js.map +0 -1
- package/dist/language/language.map.js.map +0 -1
- package/dist/locale/index.js.map +0 -1
- package/dist/locale/index.types.js.map +0 -1
- package/dist/locale/locale-code.js +0 -25
- package/dist/locale/locale-code.js.map +0 -1
- package/dist/locale/locale.handler.js.map +0 -1
- package/dist/locale/locale.map.js.map +0 -1
- package/dist/parser/index.js.map +0 -1
- package/dist/parser/index.types.js.map +0 -1
- package/dist/parser/localization.parser.js.map +0 -1
- package/dist/timezone/index.js.map +0 -1
- package/dist/timezone/index.types.js.map +0 -1
- package/dist/timezone/timezone-code.js +0 -109
- package/dist/timezone/timezone-code.js.map +0 -1
- package/dist/timezone/timezone.handler.js.map +0 -1
- package/dist/timezone/timezone.map.js.map +0 -1
|
@@ -1,257 +1,253 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
ZA: { y: 'ZAF', n: 'South Africa', l: ['en', 'af', 'st', 'tn', 'xh', 'zu'] },
|
|
254
|
-
ZM: { y: 'ZMB', n: 'Zambia', l: ['en'] },
|
|
255
|
-
ZW: { y: 'ZWE', n: 'Zimbabwe', l: ['en', 'sn', 'nd'] },
|
|
1
|
+
export const countryMap = {
|
|
2
|
+
AD: { y: "AND", n: "Andorra", l: ["ca"] },
|
|
3
|
+
AE: { y: "ARE", n: "United Arab Emirates", l: ["ar"] },
|
|
4
|
+
AF: { y: "AFG", n: "Afghanistan", l: ["fa", "ps"] },
|
|
5
|
+
AG: { y: "ATG", n: "Antigua and Barbuda", l: ["en"] },
|
|
6
|
+
AI: { y: "AIA", n: "Anguilla", l: ["en"] },
|
|
7
|
+
AL: { y: "ALB", n: "Albania", l: ["sq"] },
|
|
8
|
+
AM: { y: "ARM", n: "Armenia", l: ["hy"] },
|
|
9
|
+
AN: { y: "ANT", n: "Netherlands Antilles", l: ["nl"] },
|
|
10
|
+
AO: { y: "AGO", n: "Angola", l: ["pt"] },
|
|
11
|
+
AQ: { y: "ATA", n: "Antarctica", l: ["en", "es", "fr", "ru"] },
|
|
12
|
+
AR: { y: "ARG", n: "Argentina", l: ["es"] },
|
|
13
|
+
AS: { y: "ASM", n: "American Samoa", l: ["en", "sm"] },
|
|
14
|
+
AT: { y: "AUT", n: "Austria", l: ["de"] },
|
|
15
|
+
AU: { y: "AUS", n: "Australia", l: ["en"] },
|
|
16
|
+
AW: { y: "ABW", n: "Aruba", l: ["nl"] },
|
|
17
|
+
AX: { y: "ALA", n: "Aland Islands", l: ["sv"] },
|
|
18
|
+
AZ: { y: "AZE", n: "Azerbaijan", l: ["az"] },
|
|
19
|
+
BA: { y: "BIH", n: "Bosnia and Herzegovina", l: ["bs", "hr", "sr"] },
|
|
20
|
+
BB: { y: "BRB", n: "Barbados", l: ["en"] },
|
|
21
|
+
BD: { y: "BGD", n: "Bangladesh", l: ["bn"] },
|
|
22
|
+
BE: { y: "BEL", n: "Belgium", l: ["nl", "fr", "de"] },
|
|
23
|
+
BF: { y: "BFA", n: "Burkina Faso", l: ["fr"] },
|
|
24
|
+
BG: { y: "BGR", n: "Bulgaria", l: ["bg"] },
|
|
25
|
+
BH: { y: "BHR", n: "Bahrein", l: ["ar"] },
|
|
26
|
+
BI: { y: "BDI", n: "Burundi", l: ["fr"] },
|
|
27
|
+
BJ: { y: "BEN", n: "Benin", l: ["fr"] },
|
|
28
|
+
BL: { y: "BLM", n: "Saint-Barthélemy", l: ["fr"] },
|
|
29
|
+
BM: { y: "BMU", n: "Bermuda", l: ["en"] },
|
|
30
|
+
BN: { y: "BRN", n: "Brunei Darussalam", l: ["ms"] },
|
|
31
|
+
BO: { y: "BOL", n: "Bolivia", l: ["es", "qu", "gn", "ay"] },
|
|
32
|
+
BQ: { y: "BES", n: "Caribbean Netherlands", l: ["nl"] },
|
|
33
|
+
BR: { y: "BRA", n: "Brazil", l: ["pt"] },
|
|
34
|
+
BS: { y: "BHS", n: "Bahamas", l: ["en"] },
|
|
35
|
+
BT: { y: "BTN", n: "Bhutan", l: ["dz"] },
|
|
36
|
+
BV: { y: "BVT", n: "Bouvet Island", l: ["no"] },
|
|
37
|
+
BW: { y: "BWA", n: "Botswana", l: ["en", "tn"] },
|
|
38
|
+
BY: { y: "BLR", n: "Belarus", l: ["be", "ru"] },
|
|
39
|
+
BZ: { y: "BLZ", n: "Belize", l: ["en"] },
|
|
40
|
+
CA: { y: "CAN", n: "Canada", l: ["en", "fr"] },
|
|
41
|
+
CC: { y: "CCK", n: "Cocos (Keeling) Islands", l: ["en"] },
|
|
42
|
+
CD: { y: "COD", n: "Democratic Republic of the Congo (Congo-Kinshasa, former Zaire)", l: ["fr"] },
|
|
43
|
+
CF: { y: "CAF", n: "Centrafrican Republic", l: ["fr", "sg"] },
|
|
44
|
+
CG: { y: "COG", n: "Republic of the Congo (Congo-Brazzaville)", l: ["fr"] },
|
|
45
|
+
CH: { y: "CHE", n: "Switzerland", l: ["de", "fr", "it", "rm"] },
|
|
46
|
+
CI: { y: "CIV", n: "Côte d'Ivoire", l: ["fr"] },
|
|
47
|
+
CK: { y: "COK", n: "Cook Islands", l: ["en"] },
|
|
48
|
+
CL: { y: "CHL", n: "Chile", l: ["es"] },
|
|
49
|
+
CM: { y: "CMR", n: "Cameroon", l: ["fr", "en"] },
|
|
50
|
+
CN: { y: "CHN", n: "China", l: ["zh"] },
|
|
51
|
+
CO: { y: "COL", n: "Colombia", l: ["es"] },
|
|
52
|
+
CR: { y: "CRI", n: "Costa Rica", l: ["es"] },
|
|
53
|
+
CS: { y: "SCG", n: "Serbia and Montenegro", l: ["sr"] },
|
|
54
|
+
CU: { y: "CUB", n: "Cuba", l: ["es"] },
|
|
55
|
+
CV: { y: "CPV", n: "Cabo Verde", l: ["pt"] },
|
|
56
|
+
CW: { y: "CUW", n: "Curaçao", l: ["nl", "en"] },
|
|
57
|
+
CX: { y: "CXR", n: "Christmas Island", l: ["en"] },
|
|
58
|
+
CY: { y: "CYP", n: "Cyprus", l: ["el", "tr"] },
|
|
59
|
+
CZ: { y: "CZE", n: "Czech Republic", l: ["cs"] },
|
|
60
|
+
DE: { y: "DEU", n: "Germany", l: ["de"] },
|
|
61
|
+
DJ: { y: "DJI", n: "Djibouti", l: ["fr", "ar", "so", "aa"] },
|
|
62
|
+
DK: { y: "DNK", n: "Denmark", l: ["da"] },
|
|
63
|
+
DM: { y: "DMA", n: "Dominica", l: ["en"] },
|
|
64
|
+
DO: { y: "DOM", n: "Dominican Republic", l: ["es"] },
|
|
65
|
+
DZ: { y: "DZA", n: "Algeria", l: ["ar"] },
|
|
66
|
+
EC: { y: "ECU", n: "Ecuador", l: ["es"] },
|
|
67
|
+
EE: { y: "EST", n: "Estonia", l: ["et"] },
|
|
68
|
+
EG: { y: "EGY", n: "Egypt", l: ["ar"] },
|
|
69
|
+
EH: { y: "ESH", n: "Western Sahara", l: ["ar", "es", "fr"] },
|
|
70
|
+
ER: { y: "ERI", n: "Eritrea", l: ["ti", "ar", "en"] },
|
|
71
|
+
ES: { y: "ESP", n: "Spain", l: ["es", "ca", "eu", "gl"] },
|
|
72
|
+
ET: { y: "ETH", n: "Ethiopia", l: ["am", "om"] },
|
|
73
|
+
FI: { y: "FIN", n: "Finland", l: ["fi", "sv", "se"] },
|
|
74
|
+
FJ: { y: "FJI", n: "Fiji", l: ["en"] },
|
|
75
|
+
FK: { y: "FLK", n: "Falkland Islands", l: ["en"] },
|
|
76
|
+
FM: { y: "FSM", n: "Micronesia (Federated States of)", l: ["en"] },
|
|
77
|
+
FO: { y: "FRO", n: "Faroe Islands", l: ["fo", "da"] },
|
|
78
|
+
FR: { y: "FRA", n: "France", l: ["fr"] },
|
|
79
|
+
GA: { y: "GAB", n: "Gabon", l: ["fr"] },
|
|
80
|
+
GB: { y: "GBR", n: "United Kingdom", l: ["en", "ga", "cy", "gd", "kw"] },
|
|
81
|
+
GD: { y: "GRD", n: "Grenada", l: ["en"] },
|
|
82
|
+
GE: { y: "GEO", n: "Georgia", l: ["ka"] },
|
|
83
|
+
GF: { y: "GUF", n: "French Guiana", l: ["fr"] },
|
|
84
|
+
GG: { y: "GGY", n: "Guernsey", l: ["en"] },
|
|
85
|
+
GH: { y: "GHA", n: "Ghana", l: ["en"] },
|
|
86
|
+
GI: { y: "GIB", n: "Gibraltar", l: ["en"] },
|
|
87
|
+
GL: { y: "GRL", n: "Greenland", l: ["kl", "da"] },
|
|
88
|
+
GM: { y: "GMB", n: "The Gambia", l: ["en"] },
|
|
89
|
+
GN: { y: "GIN", n: "Guinea", l: ["fr"] },
|
|
90
|
+
GP: { y: "GLP", n: "Guadeloupe", l: ["fr"] },
|
|
91
|
+
GQ: { y: "GNQ", n: "Equatorial Guinea", l: ["es", "fr", "pt"] },
|
|
92
|
+
GR: { y: "GRC", n: "Greece", l: ["el"] },
|
|
93
|
+
GS: { y: "SGS", n: "South Georgia and the South Sandwich Islands", l: ["en"] },
|
|
94
|
+
GT: { y: "GTM", n: "Guatemala", l: ["es"] },
|
|
95
|
+
GU: { y: "GUM", n: "Guam", l: ["en", "ch"] },
|
|
96
|
+
GW: { y: "GNB", n: "Guinea Bissau", l: ["pt"] },
|
|
97
|
+
GY: { y: "GUY", n: "Guyana", l: ["en"] },
|
|
98
|
+
HK: { y: "HKG", n: "Hong Kong (SAR of China)", l: ["zh", "en"] },
|
|
99
|
+
HM: { y: "HMD", n: "Heard Island and McDonald Islands", l: ["en"] },
|
|
100
|
+
HN: { y: "HND", n: "Honduras", l: ["es"] },
|
|
101
|
+
HR: { y: "HRV", n: "Croatia", l: ["hr"] },
|
|
102
|
+
HT: { y: "HTI", n: "Haiti", l: ["fr", "ht"] },
|
|
103
|
+
HU: { y: "HUN", n: "Hungary", l: ["hu"] },
|
|
104
|
+
ID: { y: "IDN", n: "Indonesia", l: ["id"] },
|
|
105
|
+
IE: { y: "IRL", n: "Ireland", l: ["en", "ga"] },
|
|
106
|
+
IL: { y: "ISR", n: "Israel", l: ["he"] },
|
|
107
|
+
IM: { y: "IMN", n: "Isle of Man", l: ["en"] },
|
|
108
|
+
IN: { y: "IND", n: "India", l: ["hi", "en"] },
|
|
109
|
+
IO: { y: "IOT", n: "British Indian Ocean Territory", l: ["en"] },
|
|
110
|
+
IQ: { y: "IRQ", n: "Iraq", l: ["ar", "ku"] },
|
|
111
|
+
IR: { y: "IRN", n: "Iran", l: ["fa"] },
|
|
112
|
+
IS: { y: "ISL", n: "Iceland", l: ["is"] },
|
|
113
|
+
IT: { y: "ITA", n: "Italy", l: ["it", "de", "fr"] },
|
|
114
|
+
JE: { y: "JEY", n: "Jersey", l: ["en"] },
|
|
115
|
+
JM: { y: "JAM", n: "Jamaica", l: ["en"] },
|
|
116
|
+
JO: { y: "JOR", n: "Jordan", l: ["ar"] },
|
|
117
|
+
JP: { y: "JPN", n: "Japan", l: ["ja"] },
|
|
118
|
+
KE: { y: "KEN", n: "Kenya", l: ["sw", "en"] },
|
|
119
|
+
KG: { y: "KGZ", n: "Kyrgyzstan", l: ["ky", "ru"] },
|
|
120
|
+
KH: { y: "KHM", n: "Cambodia", l: ["km"] },
|
|
121
|
+
KI: { y: "KIR", n: "Kiribati", l: ["en"] },
|
|
122
|
+
KM: { y: "COM", n: "Comores", l: ["ar", "fr", "sw"] },
|
|
123
|
+
KN: { y: "KNA", n: "Saint Kitts and Nevis", l: ["en"] },
|
|
124
|
+
KP: { y: "PRK", n: "North Korea", l: ["ko"] },
|
|
125
|
+
KR: { y: "KOR", n: "South Korea", l: ["ko", "en"] },
|
|
126
|
+
KW: { y: "KWT", n: "Kuweit", l: ["ar"] },
|
|
127
|
+
KY: { y: "CYM", n: "Cayman Islands", l: ["en"] },
|
|
128
|
+
KZ: { y: "KAZ", n: "Kazakhstan", l: ["kk", "ru"] },
|
|
129
|
+
LA: { y: "LAO", n: "Laos", l: ["lo"] },
|
|
130
|
+
LB: { y: "LBN", n: "Lebanon", l: ["ar", "fr"] },
|
|
131
|
+
LC: { y: "LCA", n: "Saint Lucia", l: ["en"] },
|
|
132
|
+
LI: { y: "LIE", n: "Liechtenstein", l: ["de"] },
|
|
133
|
+
LK: { y: "LKA", n: "Sri Lanka", l: ["si", "ta"] },
|
|
134
|
+
LR: { y: "LBR", n: "Liberia", l: ["en"] },
|
|
135
|
+
LS: { y: "LSO", n: "Lesotho", l: ["en", "st"] },
|
|
136
|
+
LT: { y: "LTU", n: "Lithuania", l: ["lt"] },
|
|
137
|
+
LU: { y: "LUX", n: "Luxembourg", l: ["lb", "fr", "de"] },
|
|
138
|
+
LV: { y: "LVA", n: "Latvia", l: ["lv"] },
|
|
139
|
+
LY: { y: "LBY", n: "Libya", l: ["ar"] },
|
|
140
|
+
MA: { y: "MAR", n: "Morocco", l: ["fr", "ar"] },
|
|
141
|
+
MC: { y: "MCO", n: "Monaco", l: ["fr"] },
|
|
142
|
+
MD: { y: "MDA", n: "Moldova", l: ["ro", "ru", "uk"] },
|
|
143
|
+
ME: { y: "MNE", n: "Montenegro", l: ["sr", "hr", "bs", "sq"] },
|
|
144
|
+
MF: { y: "MAF", n: "Saint Martin (French part)", l: ["fr"] },
|
|
145
|
+
MG: { y: "MDG", n: "Madagascar", l: ["mg", "fr"] },
|
|
146
|
+
MH: { y: "MHL", n: "Marshall Islands", l: ["en", "mh"] },
|
|
147
|
+
MK: { y: "MKD", n: "Macedonia (Former Yugoslav Republic of)", l: ["mk"] },
|
|
148
|
+
ML: { y: "MLI", n: "Mali", l: ["fr"] },
|
|
149
|
+
MM: { y: "MMR", n: "Myanmar", l: ["my"] },
|
|
150
|
+
MN: { y: "MNG", n: "Mongolia", l: ["mn"] },
|
|
151
|
+
MO: { y: "MAC", n: "Macao (SAR of China)", l: ["zh", "pt"] },
|
|
152
|
+
MP: { y: "MNP", n: "Northern Mariana Islands", l: ["en", "ch"] },
|
|
153
|
+
MQ: { y: "MTQ", n: "Martinique", l: ["fr"] },
|
|
154
|
+
MR: { y: "MRT", n: "Mauritania", l: ["ar", "fr"] },
|
|
155
|
+
MS: { y: "MSR", n: "Montserrat", l: ["en"] },
|
|
156
|
+
MT: { y: "MLT", n: "Malta", l: ["mt", "en"] },
|
|
157
|
+
MU: { y: "MUS", n: "Mauritius", l: ["fr", "en"] },
|
|
158
|
+
MV: { y: "MDV", n: "Maldives", l: ["dv"] },
|
|
159
|
+
MW: { y: "MWI", n: "Malawi", l: ["en", "ny"] },
|
|
160
|
+
MX: { y: "MEX", n: "Mexico", l: ["es"] },
|
|
161
|
+
MY: { y: "MYS", n: "Malaysia", l: ["ms"] },
|
|
162
|
+
MZ: { y: "MOZ", n: "Mozambique", l: ["pt"] },
|
|
163
|
+
NA: { y: "NAM", n: "Namibia", l: ["en", "de"] },
|
|
164
|
+
NC: { y: "NCL", n: "New Caledonia", l: ["fr"] },
|
|
165
|
+
NE: { y: "NER", n: "Niger", l: ["fr"] },
|
|
166
|
+
NF: { y: "NFK", n: "Norfolk Island", l: ["en"] },
|
|
167
|
+
NG: { y: "NGA", n: "Nigeria", l: ["en"] },
|
|
168
|
+
NI: { y: "NIC", n: "Nicaragua", l: ["es"] },
|
|
169
|
+
NL: { y: "NLD", n: "The Netherlands", l: ["nl"] },
|
|
170
|
+
NO: { y: "NOR", n: "Norway", l: ["nb", "nn", "no", "se"] },
|
|
171
|
+
NP: { y: "NPL", n: "Nepal", l: ["ne"] },
|
|
172
|
+
NR: { y: "NRU", n: "Nauru", l: ["na", "en"] },
|
|
173
|
+
NU: { y: "NIU", n: "Niue", l: ["en"] },
|
|
174
|
+
NZ: { y: "NZL", n: "New Zealand", l: ["mi", "en"] },
|
|
175
|
+
OM: { y: "OMN", n: "Oman", l: ["ar"] },
|
|
176
|
+
PA: { y: "PAN", n: "Panama", l: ["es"] },
|
|
177
|
+
PE: { y: "PER", n: "Peru", l: ["es"] },
|
|
178
|
+
PF: { y: "PYF", n: "French Polynesia", l: ["fr"] },
|
|
179
|
+
PG: { y: "PNG", n: "Papua New Guinea", l: ["en", "ho"] },
|
|
180
|
+
PH: { y: "PHL", n: "Philippines", l: ["en", "tl"] },
|
|
181
|
+
PK: { y: "PAK", n: "Pakistan", l: ["en", "ur"] },
|
|
182
|
+
PL: { y: "POL", n: "Poland", l: ["pl"] },
|
|
183
|
+
PM: { y: "SPM", n: "Saint Pierre and Miquelon", l: ["fr"] },
|
|
184
|
+
PN: { y: "PCN", n: "Pitcairn", l: ["en"] },
|
|
185
|
+
PR: { y: "PRI", n: "Puerto Rico", l: ["es", "en"] },
|
|
186
|
+
PS: { y: "PSE", n: "Palestinian Territory", l: ["ar", "he"] },
|
|
187
|
+
PT: { y: "PRT", n: "Portugal", l: ["pt"] },
|
|
188
|
+
PW: { y: "PLW", n: "Palau", l: ["en", "ja"] },
|
|
189
|
+
PY: { y: "PRY", n: "Paraguay", l: ["es", "gn"] },
|
|
190
|
+
QA: { y: "QAT", n: "Qatar", l: ["ar"] },
|
|
191
|
+
RE: { y: "REU", n: "Reunion", l: ["fr"] },
|
|
192
|
+
RO: { y: "ROU", n: "Romania", l: ["ro"] },
|
|
193
|
+
RS: { y: "SRB", n: "Serbia", l: ["sr"] },
|
|
194
|
+
RU: { y: "RUS", n: "Russia", l: ["ru"] },
|
|
195
|
+
RW: { y: "RWA", n: "Rwanda", l: ["rw", "fr", "en"] },
|
|
196
|
+
SA: { y: "SAU", n: "Saudi Arabia", l: ["ar"] },
|
|
197
|
+
SB: { y: "SLB", n: "Solomon Islands", l: ["en"] },
|
|
198
|
+
SC: { y: "SYC", n: "Seychelles", l: ["fr", "en"] },
|
|
199
|
+
SD: { y: "SDN", n: "Sudan", l: ["ar", "en"] },
|
|
200
|
+
SE: { y: "SWE", n: "Sweden", l: ["sv"] },
|
|
201
|
+
SG: { y: "SGP", n: "Singapore", l: ["zh", "en", "ms", "ta"] },
|
|
202
|
+
SH: { y: "SHN", n: "Saint Helena", l: ["en"] },
|
|
203
|
+
SI: { y: "SVN", n: "Slovenia", l: ["sl"] },
|
|
204
|
+
SJ: { y: "SJM", n: "Svalbard and Jan Mayen", l: ["no"] },
|
|
205
|
+
SK: { y: "SVK", n: "Slovakia", l: ["sk"] },
|
|
206
|
+
SL: { y: "SLE", n: "Sierra Leone", l: ["en"] },
|
|
207
|
+
SM: { y: "SMR", n: "San Marino", l: ["it"] },
|
|
208
|
+
SN: { y: "SEN", n: "Sénégal", l: ["fr"] },
|
|
209
|
+
SO: { y: "SOM", n: "Somalia", l: ["so", "ar"] },
|
|
210
|
+
SR: { y: "SUR", n: "Suriname", l: ["nl"] },
|
|
211
|
+
SS: { y: "SSD", n: "South Sudan", l: ["en"] },
|
|
212
|
+
ST: { y: "STP", n: "São Tomé and Príncipe", l: ["pt"] },
|
|
213
|
+
SV: { y: "SLV", n: "El Salvador", l: ["es"] },
|
|
214
|
+
SX: { y: "SXM", n: "Saint Martin (Dutch part)", l: ["nl", "en"] },
|
|
215
|
+
SY: { y: "SYR", n: "Syria", l: ["ar"] },
|
|
216
|
+
SZ: { y: "SWZ", n: "Swaziland", l: ["en", "ss"] },
|
|
217
|
+
TC: { y: "TCA", n: "Turks and Caicos Islands", l: ["en"] },
|
|
218
|
+
TD: { y: "TCD", n: "Chad", l: ["fr", "ar"] },
|
|
219
|
+
TF: { y: "ATF", n: "French Southern and Antarctic Lands", l: ["fr"] },
|
|
220
|
+
TG: { y: "TGO", n: "Togo", l: ["fr"] },
|
|
221
|
+
TH: { y: "THA", n: "Thailand", l: ["th"] },
|
|
222
|
+
TJ: { y: "TJK", n: "Tajikistan", l: ["tg", "ru"] },
|
|
223
|
+
TK: { y: "TKL", n: "Tokelau", l: ["en", "sm"] },
|
|
224
|
+
TL: { y: "TLS", n: "Timor-Leste", l: ["pt"] },
|
|
225
|
+
TM: { y: "TKM", n: "Turkmenistan", l: ["tk"] },
|
|
226
|
+
TN: { y: "TUN", n: "Tunisia", l: ["ar", "fr"] },
|
|
227
|
+
TO: { y: "TON", n: "Tonga", l: ["en"] },
|
|
228
|
+
TR: { y: "TUR", n: "Turkey", l: ["tr"] },
|
|
229
|
+
TT: { y: "TTO", n: "Trinidad and Tobago", l: ["en"] },
|
|
230
|
+
TV: { y: "TUV", n: "Tuvalu", l: ["en"] },
|
|
231
|
+
TW: { y: "TWN", n: "Taiwan", l: ["zh"] },
|
|
232
|
+
TZ: { y: "TZA", n: "Tanzania", l: ["sw", "en"] },
|
|
233
|
+
UA: { y: "UKR", n: "Ukraine", l: ["uk"] },
|
|
234
|
+
UG: { y: "UGA", n: "Uganda", l: ["en", "sw"] },
|
|
235
|
+
UM: { y: "UMI", n: "United States Minor Outlying Islands", l: ["en"] },
|
|
236
|
+
US: { y: "USA", n: "United States of America", l: ["en"] },
|
|
237
|
+
UY: { y: "URY", n: "Uruguay", l: ["es"] },
|
|
238
|
+
UZ: { y: "UZB", n: "Uzbekistan", l: ["uz"] },
|
|
239
|
+
VA: { y: "VAT", n: "City of the Vatican", l: ["it"] },
|
|
240
|
+
VC: { y: "VCT", n: "Saint Vincent and the Grenadines", l: ["en"] },
|
|
241
|
+
VE: { y: "VEN", n: "Venezuela", l: ["es"] },
|
|
242
|
+
VG: { y: "VGB", n: "British Virgin Islands", l: ["en"] },
|
|
243
|
+
VI: { y: "VIR", n: "United States Virgin Islands", l: ["en"] },
|
|
244
|
+
VN: { y: "VNM", n: "Vietnam", l: ["vi"] },
|
|
245
|
+
VU: { y: "VUT", n: "Vanuatu", l: ["bi", "en", "fr"] },
|
|
246
|
+
WF: { y: "WLF", n: "Wallis and Futuna", l: ["fr"] },
|
|
247
|
+
WS: { y: "WSM", n: "Samoa", l: ["sm", "en"] },
|
|
248
|
+
YE: { y: "YEM", n: "Yemen", l: ["ar"] },
|
|
249
|
+
YT: { y: "MYT", n: "Mayotte", l: ["fr"] },
|
|
250
|
+
ZA: { y: "ZAF", n: "South Africa", l: ["en", "af", "st", "tn", "xh", "zu"] },
|
|
251
|
+
ZM: { y: "ZMB", n: "Zambia", l: ["en"] },
|
|
252
|
+
ZW: { y: "ZWE", n: "Zimbabwe", l: ["en", "sn", "nd"] },
|
|
256
253
|
};
|
|
257
|
-
//# sourceMappingURL=country.map.js.map
|
package/dist/country/index.d.ts
CHANGED
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from './country.handler';
|
|
1
|
+
export * from "./index.types.js";
|
|
2
|
+
export * from "./country.handler.js";
|
package/dist/country/index.js
CHANGED
|
@@ -1,20 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./country-code"), exports);
|
|
18
|
-
__exportStar(require("./index.types"), exports);
|
|
19
|
-
__exportStar(require("./country.handler"), exports);
|
|
20
|
-
//# sourceMappingURL=index.js.map
|
|
1
|
+
export * from "./index.types.js";
|
|
2
|
+
export * from "./country.handler.js";
|