toolbox-x 2.4.4 → 2.4.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.
- package/CHANGELOG.md +15 -0
- package/dist/{Color-D6qMZgDm.d.mts → Color-B94hFsf4.d.mts} +1 -1
- package/dist/{Color-SUPeP6fO.d.cts → Color-CSi8fu6f.d.cts} +1 -1
- package/dist/{Stylog-B8sKWvn_.d.mts → Stylog-CFsO-yrJ.d.cts} +1 -1
- package/dist/{Stylog-DdPP_CJf.d.cts → Stylog-DyGx1l54.d.mts} +1 -1
- package/dist/{area-kW5kJaQq.d.cts → area-CQG9fGeG.d.cts} +1 -1
- package/dist/{area-CaK6hFzW.d.mts → area-XvKQTCT6.d.mts} +1 -1
- package/dist/{array-CbAKXvhH.d.mts → array-9ewbYFv0.d.mts} +1 -1
- package/dist/{array-EVkwcL_k.d.cts → array-DilGQJmC.d.cts} +1 -1
- package/dist/{basics-CUzK7wFN.cjs → basics-BGu9ygZK.cjs} +6 -6
- package/dist/{basics-KYRpMQNe.mjs → basics-Bd2mj0uG.mjs} +6 -6
- package/dist/{basics-BuHQJCNG.d.mts → basics-RNENr17b.d.mts} +13 -4
- package/dist/{basics-CLwtIxap.d.cts → basics-WMFx1CZ0.d.cts} +13 -4
- package/dist/{case-Ce8HJI8I.d.mts → case-C5giLKOG.d.mts} +1 -1
- package/dist/{case-BmB2aGyp.d.cts → case-Ts8jV2Wz.d.cts} +1 -1
- package/dist/change-case.d.cts +1 -1
- package/dist/change-case.d.mts +1 -1
- package/dist/colors/index.d.cts +2 -2
- package/dist/colors/index.d.mts +2 -2
- package/dist/constants.d.cts +1 -1
- package/dist/constants.d.mts +1 -1
- package/dist/converter/index.d.cts +2 -2
- package/dist/converter/index.d.mts +2 -2
- package/dist/date/index.d.cts +1 -1
- package/dist/date/index.d.mts +1 -1
- package/dist/dom/index.cjs +2 -2
- package/dist/dom/index.d.cts +5 -5
- package/dist/dom/index.d.mts +5 -5
- package/dist/dom/index.mjs +2 -2
- package/dist/{form-D_5I437n.d.mts → form-CbfeSccF.d.cts} +3 -3
- package/dist/{form-DhsFvo_D.d.cts → form-Dd-YP3DS.d.mts} +3 -3
- package/dist/guards/index.cjs +2 -2
- package/dist/guards/index.d.cts +4 -4
- package/dist/guards/index.d.mts +4 -4
- package/dist/guards/index.mjs +2 -2
- package/dist/hash/index.cjs +1 -1
- package/dist/hash/index.d.cts +4 -4
- package/dist/hash/index.d.mts +4 -4
- package/dist/hash/index.mjs +1 -1
- package/dist/{hash-2mygGWLk.d.mts → hash-BCZWgYS7.d.mts} +1 -1
- package/dist/{hash-DHawpylk.d.cts → hash-DDlZ_kb-.d.cts} +1 -1
- package/dist/http-status/index.d.cts +2 -2
- package/dist/http-status/index.d.mts +2 -2
- package/dist/{http-status-BXNuC-33.d.mts → http-status-DRA3A_qa.d.mts} +1 -1
- package/dist/{http-status-CpYDj2wq.d.cts → http-status-JhjgqpW3.d.cts} +1 -1
- package/dist/{object-DyVg8BFt.d.cts → index-C_v1d6lq.d.cts} +1614 -1610
- package/dist/{object-DyVg8BFt.d.mts → index-C_v1d6lq.d.mts} +1614 -1610
- package/dist/{index-D00Uqm9S.d.cts → index-Cs1P7sOW.d.mts} +2 -2
- package/dist/{index-BbBnKdBb.d.mts → index-VeKwBmaa.d.cts} +2 -2
- package/dist/index.cjs +3 -3
- package/dist/index.d.cts +7 -7
- package/dist/index.d.mts +7 -7
- package/dist/index.mjs +3 -3
- package/dist/paginator.cjs +2 -2
- package/dist/paginator.d.cts +5 -5
- package/dist/paginator.d.mts +5 -5
- package/dist/paginator.mjs +2 -2
- package/dist/{query-iJflCkq1.cjs → query-Bo-_PC3j.cjs} +1 -1
- package/dist/{query-B8VPCIKA.mjs → query-CLkSagHs.mjs} +1 -1
- package/dist/{query-BMtRmMSC.d.cts → query-Dh3MANjJ.d.mts} +2 -2
- package/dist/{query-C-r5ZbO-.d.mts → query-ke72ZE4p.d.cts} +2 -2
- package/dist/{string-edtZyJHf.d.mts → string-COB8mrdF.d.mts} +14 -3
- package/dist/{string-Ok_IMpHP.d.cts → string-s6NO_UGp.d.cts} +14 -3
- package/dist/stylog/index.d.cts +2 -2
- package/dist/stylog/index.d.mts +2 -2
- package/dist/types/array.d.cts +1 -1
- package/dist/types/array.d.mts +1 -1
- package/dist/types/colors.d.cts +1 -1
- package/dist/types/colors.d.mts +1 -1
- package/dist/types/converter.d.cts +1 -1
- package/dist/types/converter.d.mts +1 -1
- package/dist/types/date.d.cts +1 -1
- package/dist/types/date.d.mts +1 -1
- package/dist/types/form.d.cts +1 -1
- package/dist/types/form.d.mts +1 -1
- package/dist/types/hash.d.cts +1 -1
- package/dist/types/hash.d.mts +1 -1
- package/dist/types/http-status.d.cts +1 -1
- package/dist/types/http-status.d.mts +1 -1
- package/dist/types/index.d.cts +2 -2
- package/dist/types/index.d.mts +2 -2
- package/dist/types/number.d.cts +1 -1
- package/dist/types/number.d.mts +1 -1
- package/dist/types/object.d.cts +1 -1
- package/dist/types/object.d.mts +1 -1
- package/dist/types/pluralizer.d.cts +1 -1
- package/dist/types/pluralizer.d.mts +1 -1
- package/dist/types/string.d.cts +2 -2
- package/dist/types/string.d.mts +2 -2
- package/dist/types/stylog.d.cts +1 -1
- package/dist/types/stylog.d.mts +1 -1
- package/dist/types/utils.d.cts +1 -1
- package/dist/types/utils.d.mts +1 -1
- package/dist/{utils-BxZGABHS.cjs → utils-BzeK3wO9.cjs} +14 -7
- package/dist/{utils-DcRr0A7B.mjs → utils-DnyVgO8p.mjs} +14 -7
- package/dist/{uuid-CMNRM9NO.d.cts → uuid-B0xPyeI7.d.cts} +3 -2
- package/dist/{uuid-DvQsIl9p.d.mts → uuid-DCvH3YMX.d.mts} +3 -2
- package/package.json +1 -1
|
@@ -14,1210 +14,6 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
//#region src/object/countries.d.ts
|
|
18
|
-
/** List of countries with full-name, country code, ISO country code (both 2 & 3 character) */
|
|
19
|
-
declare const COUNTRIES: readonly [{
|
|
20
|
-
readonly country_name: "Afghanistan";
|
|
21
|
-
readonly country_code: "93";
|
|
22
|
-
readonly iso_code_short: "AF";
|
|
23
|
-
readonly iso_code: "AFG";
|
|
24
|
-
}, {
|
|
25
|
-
readonly country_name: "Albania";
|
|
26
|
-
readonly country_code: "355";
|
|
27
|
-
readonly iso_code_short: "AL";
|
|
28
|
-
readonly iso_code: "ALB";
|
|
29
|
-
}, {
|
|
30
|
-
readonly country_name: "Algeria";
|
|
31
|
-
readonly country_code: "213";
|
|
32
|
-
readonly iso_code_short: "DZ";
|
|
33
|
-
readonly iso_code: "DZA";
|
|
34
|
-
}, {
|
|
35
|
-
readonly country_name: "American Samoa";
|
|
36
|
-
readonly country_code: "1-684";
|
|
37
|
-
readonly iso_code_short: "AS";
|
|
38
|
-
readonly iso_code: "ASM";
|
|
39
|
-
}, {
|
|
40
|
-
readonly country_name: "Andorra";
|
|
41
|
-
readonly country_code: "376";
|
|
42
|
-
readonly iso_code_short: "AD";
|
|
43
|
-
readonly iso_code: "AND";
|
|
44
|
-
}, {
|
|
45
|
-
readonly country_name: "Angola";
|
|
46
|
-
readonly country_code: "244";
|
|
47
|
-
readonly iso_code_short: "AO";
|
|
48
|
-
readonly iso_code: "AGO";
|
|
49
|
-
}, {
|
|
50
|
-
readonly country_name: "Anguilla";
|
|
51
|
-
readonly country_code: "1-264";
|
|
52
|
-
readonly iso_code_short: "AI";
|
|
53
|
-
readonly iso_code: "AIA";
|
|
54
|
-
}, {
|
|
55
|
-
readonly country_name: "Antarctica";
|
|
56
|
-
readonly country_code: "672";
|
|
57
|
-
readonly iso_code_short: "AQ";
|
|
58
|
-
readonly iso_code: "ATA";
|
|
59
|
-
}, {
|
|
60
|
-
readonly country_name: "Antigua and Barbuda";
|
|
61
|
-
readonly country_code: "1-268";
|
|
62
|
-
readonly iso_code_short: "AG";
|
|
63
|
-
readonly iso_code: "ATG";
|
|
64
|
-
}, {
|
|
65
|
-
readonly country_name: "Argentina";
|
|
66
|
-
readonly country_code: "54";
|
|
67
|
-
readonly iso_code_short: "AR";
|
|
68
|
-
readonly iso_code: "ARG";
|
|
69
|
-
}, {
|
|
70
|
-
readonly country_name: "Armenia";
|
|
71
|
-
readonly country_code: "374";
|
|
72
|
-
readonly iso_code_short: "AM";
|
|
73
|
-
readonly iso_code: "ARM";
|
|
74
|
-
}, {
|
|
75
|
-
readonly country_name: "Aruba";
|
|
76
|
-
readonly country_code: "297";
|
|
77
|
-
readonly iso_code_short: "AW";
|
|
78
|
-
readonly iso_code: "ABW";
|
|
79
|
-
}, {
|
|
80
|
-
readonly country_name: "Australia";
|
|
81
|
-
readonly country_code: "61";
|
|
82
|
-
readonly iso_code_short: "AU";
|
|
83
|
-
readonly iso_code: "AUS";
|
|
84
|
-
}, {
|
|
85
|
-
readonly country_name: "Austria";
|
|
86
|
-
readonly country_code: "43";
|
|
87
|
-
readonly iso_code_short: "AT";
|
|
88
|
-
readonly iso_code: "AUT";
|
|
89
|
-
}, {
|
|
90
|
-
readonly country_name: "Azerbaijan";
|
|
91
|
-
readonly country_code: "994";
|
|
92
|
-
readonly iso_code_short: "AZ";
|
|
93
|
-
readonly iso_code: "AZE";
|
|
94
|
-
}, {
|
|
95
|
-
readonly country_name: "Bahamas";
|
|
96
|
-
readonly country_code: "1-242";
|
|
97
|
-
readonly iso_code_short: "BS";
|
|
98
|
-
readonly iso_code: "BHS";
|
|
99
|
-
}, {
|
|
100
|
-
readonly country_name: "Bahrain";
|
|
101
|
-
readonly country_code: "973";
|
|
102
|
-
readonly iso_code_short: "BH";
|
|
103
|
-
readonly iso_code: "BHR";
|
|
104
|
-
}, {
|
|
105
|
-
readonly country_name: "Bangladesh";
|
|
106
|
-
readonly country_code: "880";
|
|
107
|
-
readonly iso_code_short: "BD";
|
|
108
|
-
readonly iso_code: "BGD";
|
|
109
|
-
}, {
|
|
110
|
-
readonly country_name: "Barbados";
|
|
111
|
-
readonly country_code: "1-246";
|
|
112
|
-
readonly iso_code_short: "BB";
|
|
113
|
-
readonly iso_code: "BRB";
|
|
114
|
-
}, {
|
|
115
|
-
readonly country_name: "Belarus";
|
|
116
|
-
readonly country_code: "375";
|
|
117
|
-
readonly iso_code_short: "BY";
|
|
118
|
-
readonly iso_code: "BLR";
|
|
119
|
-
}, {
|
|
120
|
-
readonly country_name: "Belgium";
|
|
121
|
-
readonly country_code: "32";
|
|
122
|
-
readonly iso_code_short: "BE";
|
|
123
|
-
readonly iso_code: "BEL";
|
|
124
|
-
}, {
|
|
125
|
-
readonly country_name: "Belize";
|
|
126
|
-
readonly country_code: "501";
|
|
127
|
-
readonly iso_code_short: "BZ";
|
|
128
|
-
readonly iso_code: "BLZ";
|
|
129
|
-
}, {
|
|
130
|
-
readonly country_name: "Benin";
|
|
131
|
-
readonly country_code: "229";
|
|
132
|
-
readonly iso_code_short: "BJ";
|
|
133
|
-
readonly iso_code: "BEN";
|
|
134
|
-
}, {
|
|
135
|
-
readonly country_name: "Bermuda";
|
|
136
|
-
readonly country_code: "1-441";
|
|
137
|
-
readonly iso_code_short: "BM";
|
|
138
|
-
readonly iso_code: "BMU";
|
|
139
|
-
}, {
|
|
140
|
-
readonly country_name: "Bhutan";
|
|
141
|
-
readonly country_code: "975";
|
|
142
|
-
readonly iso_code_short: "BT";
|
|
143
|
-
readonly iso_code: "BTN";
|
|
144
|
-
}, {
|
|
145
|
-
readonly country_name: "Bolivia";
|
|
146
|
-
readonly country_code: "591";
|
|
147
|
-
readonly iso_code_short: "BO";
|
|
148
|
-
readonly iso_code: "BOL";
|
|
149
|
-
}, {
|
|
150
|
-
readonly country_name: "Bosnia and Herzegovina";
|
|
151
|
-
readonly country_code: "387";
|
|
152
|
-
readonly iso_code_short: "BA";
|
|
153
|
-
readonly iso_code: "BIH";
|
|
154
|
-
}, {
|
|
155
|
-
readonly country_name: "Botswana";
|
|
156
|
-
readonly country_code: "267";
|
|
157
|
-
readonly iso_code_short: "BW";
|
|
158
|
-
readonly iso_code: "BWA";
|
|
159
|
-
}, {
|
|
160
|
-
readonly country_name: "Brazil";
|
|
161
|
-
readonly country_code: "55";
|
|
162
|
-
readonly iso_code_short: "BR";
|
|
163
|
-
readonly iso_code: "BRA";
|
|
164
|
-
}, {
|
|
165
|
-
readonly country_name: "British Indian Ocean Territory";
|
|
166
|
-
readonly country_code: "246";
|
|
167
|
-
readonly iso_code_short: "IO";
|
|
168
|
-
readonly iso_code: "IOT";
|
|
169
|
-
}, {
|
|
170
|
-
readonly country_name: "British Virgin Islands";
|
|
171
|
-
readonly country_code: "1-284";
|
|
172
|
-
readonly iso_code_short: "VG";
|
|
173
|
-
readonly iso_code: "VGB";
|
|
174
|
-
}, {
|
|
175
|
-
readonly country_name: "Brunei";
|
|
176
|
-
readonly country_code: "673";
|
|
177
|
-
readonly iso_code_short: "BN";
|
|
178
|
-
readonly iso_code: "BRN";
|
|
179
|
-
}, {
|
|
180
|
-
readonly country_name: "Bulgaria";
|
|
181
|
-
readonly country_code: "359";
|
|
182
|
-
readonly iso_code_short: "BG";
|
|
183
|
-
readonly iso_code: "BGR";
|
|
184
|
-
}, {
|
|
185
|
-
readonly country_name: "Burkina Faso";
|
|
186
|
-
readonly country_code: "226";
|
|
187
|
-
readonly iso_code_short: "BF";
|
|
188
|
-
readonly iso_code: "BFA";
|
|
189
|
-
}, {
|
|
190
|
-
readonly country_name: "Burundi";
|
|
191
|
-
readonly country_code: "257";
|
|
192
|
-
readonly iso_code_short: "BI";
|
|
193
|
-
readonly iso_code: "BDI";
|
|
194
|
-
}, {
|
|
195
|
-
readonly country_name: "Cambodia";
|
|
196
|
-
readonly country_code: "855";
|
|
197
|
-
readonly iso_code_short: "KH";
|
|
198
|
-
readonly iso_code: "KHM";
|
|
199
|
-
}, {
|
|
200
|
-
readonly country_name: "Cameroon";
|
|
201
|
-
readonly country_code: "237";
|
|
202
|
-
readonly iso_code_short: "CM";
|
|
203
|
-
readonly iso_code: "CMR";
|
|
204
|
-
}, {
|
|
205
|
-
readonly country_name: "Canada";
|
|
206
|
-
readonly country_code: "1";
|
|
207
|
-
readonly iso_code_short: "CA";
|
|
208
|
-
readonly iso_code: "CAN";
|
|
209
|
-
}, {
|
|
210
|
-
readonly country_name: "Cape Verde";
|
|
211
|
-
readonly country_code: "238";
|
|
212
|
-
readonly iso_code_short: "CV";
|
|
213
|
-
readonly iso_code: "CPV";
|
|
214
|
-
}, {
|
|
215
|
-
readonly country_name: "Cayman Islands";
|
|
216
|
-
readonly country_code: "1-345";
|
|
217
|
-
readonly iso_code_short: "KY";
|
|
218
|
-
readonly iso_code: "CYM";
|
|
219
|
-
}, {
|
|
220
|
-
readonly country_name: "Central African Republic";
|
|
221
|
-
readonly country_code: "236";
|
|
222
|
-
readonly iso_code_short: "CF";
|
|
223
|
-
readonly iso_code: "CAF";
|
|
224
|
-
}, {
|
|
225
|
-
readonly country_name: "Chad";
|
|
226
|
-
readonly country_code: "235";
|
|
227
|
-
readonly iso_code_short: "TD";
|
|
228
|
-
readonly iso_code: "TCD";
|
|
229
|
-
}, {
|
|
230
|
-
readonly country_name: "Chile";
|
|
231
|
-
readonly country_code: "56";
|
|
232
|
-
readonly iso_code_short: "CL";
|
|
233
|
-
readonly iso_code: "CHL";
|
|
234
|
-
}, {
|
|
235
|
-
readonly country_name: "China";
|
|
236
|
-
readonly country_code: "86";
|
|
237
|
-
readonly iso_code_short: "CN";
|
|
238
|
-
readonly iso_code: "CHN";
|
|
239
|
-
}, {
|
|
240
|
-
readonly country_name: "Christmas Island";
|
|
241
|
-
readonly country_code: "61";
|
|
242
|
-
readonly iso_code_short: "CX";
|
|
243
|
-
readonly iso_code: "CXR";
|
|
244
|
-
}, {
|
|
245
|
-
readonly country_name: "Cocos Islands";
|
|
246
|
-
readonly country_code: "61";
|
|
247
|
-
readonly iso_code_short: "CC";
|
|
248
|
-
readonly iso_code: "CCK";
|
|
249
|
-
}, {
|
|
250
|
-
readonly country_name: "Colombia";
|
|
251
|
-
readonly country_code: "57";
|
|
252
|
-
readonly iso_code_short: "CO";
|
|
253
|
-
readonly iso_code: "COL";
|
|
254
|
-
}, {
|
|
255
|
-
readonly country_name: "Comoros";
|
|
256
|
-
readonly country_code: "269";
|
|
257
|
-
readonly iso_code_short: "KM";
|
|
258
|
-
readonly iso_code: "COM";
|
|
259
|
-
}, {
|
|
260
|
-
readonly country_name: "Cook Islands";
|
|
261
|
-
readonly country_code: "682";
|
|
262
|
-
readonly iso_code_short: "CK";
|
|
263
|
-
readonly iso_code: "COK";
|
|
264
|
-
}, {
|
|
265
|
-
readonly country_name: "Costa Rica";
|
|
266
|
-
readonly country_code: "506";
|
|
267
|
-
readonly iso_code_short: "CR";
|
|
268
|
-
readonly iso_code: "CRI";
|
|
269
|
-
}, {
|
|
270
|
-
readonly country_name: "Croatia";
|
|
271
|
-
readonly country_code: "385";
|
|
272
|
-
readonly iso_code_short: "HR";
|
|
273
|
-
readonly iso_code: "HRV";
|
|
274
|
-
}, {
|
|
275
|
-
readonly country_name: "Cuba";
|
|
276
|
-
readonly country_code: "53";
|
|
277
|
-
readonly iso_code_short: "CU";
|
|
278
|
-
readonly iso_code: "CUB";
|
|
279
|
-
}, {
|
|
280
|
-
readonly country_name: "Curacao";
|
|
281
|
-
readonly country_code: "599";
|
|
282
|
-
readonly iso_code_short: "CW";
|
|
283
|
-
readonly iso_code: "CUW";
|
|
284
|
-
}, {
|
|
285
|
-
readonly country_name: "Cyprus";
|
|
286
|
-
readonly country_code: "357";
|
|
287
|
-
readonly iso_code_short: "CY";
|
|
288
|
-
readonly iso_code: "CYP";
|
|
289
|
-
}, {
|
|
290
|
-
readonly country_name: "Czech Republic";
|
|
291
|
-
readonly country_code: "420";
|
|
292
|
-
readonly iso_code_short: "CZ";
|
|
293
|
-
readonly iso_code: "CZE";
|
|
294
|
-
}, {
|
|
295
|
-
readonly country_name: "Democratic Republic of the Congo";
|
|
296
|
-
readonly country_code: "243";
|
|
297
|
-
readonly iso_code_short: "CD";
|
|
298
|
-
readonly iso_code: "COD";
|
|
299
|
-
}, {
|
|
300
|
-
readonly country_name: "Denmark";
|
|
301
|
-
readonly country_code: "45";
|
|
302
|
-
readonly iso_code_short: "DK";
|
|
303
|
-
readonly iso_code: "DNK";
|
|
304
|
-
}, {
|
|
305
|
-
readonly country_name: "Djibouti";
|
|
306
|
-
readonly country_code: "253";
|
|
307
|
-
readonly iso_code_short: "DJ";
|
|
308
|
-
readonly iso_code: "DJI";
|
|
309
|
-
}, {
|
|
310
|
-
readonly country_name: "Dominica";
|
|
311
|
-
readonly country_code: "1-767";
|
|
312
|
-
readonly iso_code_short: "DM";
|
|
313
|
-
readonly iso_code: "DMA";
|
|
314
|
-
}, {
|
|
315
|
-
readonly country_name: "Dominican Republic";
|
|
316
|
-
readonly country_code: "1-809, 1-829, 1-849";
|
|
317
|
-
readonly iso_code_short: "DO";
|
|
318
|
-
readonly iso_code: "DOM";
|
|
319
|
-
}, {
|
|
320
|
-
readonly country_name: "East Timor";
|
|
321
|
-
readonly country_code: "670";
|
|
322
|
-
readonly iso_code_short: "TL";
|
|
323
|
-
readonly iso_code: "TLS";
|
|
324
|
-
}, {
|
|
325
|
-
readonly country_name: "Ecuador";
|
|
326
|
-
readonly country_code: "593";
|
|
327
|
-
readonly iso_code_short: "EC";
|
|
328
|
-
readonly iso_code: "ECU";
|
|
329
|
-
}, {
|
|
330
|
-
readonly country_name: "Egypt";
|
|
331
|
-
readonly country_code: "20";
|
|
332
|
-
readonly iso_code_short: "EG";
|
|
333
|
-
readonly iso_code: "EGY";
|
|
334
|
-
}, {
|
|
335
|
-
readonly country_name: "El Salvador";
|
|
336
|
-
readonly country_code: "503";
|
|
337
|
-
readonly iso_code_short: "SV";
|
|
338
|
-
readonly iso_code: "SLV";
|
|
339
|
-
}, {
|
|
340
|
-
readonly country_name: "Equatorial Guinea";
|
|
341
|
-
readonly country_code: "240";
|
|
342
|
-
readonly iso_code_short: "GQ";
|
|
343
|
-
readonly iso_code: "GNQ";
|
|
344
|
-
}, {
|
|
345
|
-
readonly country_name: "Eritrea";
|
|
346
|
-
readonly country_code: "291";
|
|
347
|
-
readonly iso_code_short: "ER";
|
|
348
|
-
readonly iso_code: "ERI";
|
|
349
|
-
}, {
|
|
350
|
-
readonly country_name: "Estonia";
|
|
351
|
-
readonly country_code: "372";
|
|
352
|
-
readonly iso_code_short: "EE";
|
|
353
|
-
readonly iso_code: "EST";
|
|
354
|
-
}, {
|
|
355
|
-
readonly country_name: "Ethiopia";
|
|
356
|
-
readonly country_code: "251";
|
|
357
|
-
readonly iso_code_short: "ET";
|
|
358
|
-
readonly iso_code: "ETH";
|
|
359
|
-
}, {
|
|
360
|
-
readonly country_name: "Falkland Islands";
|
|
361
|
-
readonly country_code: "500";
|
|
362
|
-
readonly iso_code_short: "FK";
|
|
363
|
-
readonly iso_code: "FLK";
|
|
364
|
-
}, {
|
|
365
|
-
readonly country_name: "Faroe Islands";
|
|
366
|
-
readonly country_code: "298";
|
|
367
|
-
readonly iso_code_short: "FO";
|
|
368
|
-
readonly iso_code: "FRO";
|
|
369
|
-
}, {
|
|
370
|
-
readonly country_name: "Fiji";
|
|
371
|
-
readonly country_code: "679";
|
|
372
|
-
readonly iso_code_short: "FJ";
|
|
373
|
-
readonly iso_code: "FJI";
|
|
374
|
-
}, {
|
|
375
|
-
readonly country_name: "Finland";
|
|
376
|
-
readonly country_code: "358";
|
|
377
|
-
readonly iso_code_short: "FI";
|
|
378
|
-
readonly iso_code: "FIN";
|
|
379
|
-
}, {
|
|
380
|
-
readonly country_name: "France";
|
|
381
|
-
readonly country_code: "33";
|
|
382
|
-
readonly iso_code_short: "FR";
|
|
383
|
-
readonly iso_code: "FRA";
|
|
384
|
-
}, {
|
|
385
|
-
readonly country_name: "French Polynesia";
|
|
386
|
-
readonly country_code: "689";
|
|
387
|
-
readonly iso_code_short: "PF";
|
|
388
|
-
readonly iso_code: "PYF";
|
|
389
|
-
}, {
|
|
390
|
-
readonly country_name: "Gabon";
|
|
391
|
-
readonly country_code: "241";
|
|
392
|
-
readonly iso_code_short: "GA";
|
|
393
|
-
readonly iso_code: "GAB";
|
|
394
|
-
}, {
|
|
395
|
-
readonly country_name: "Gambia";
|
|
396
|
-
readonly country_code: "220";
|
|
397
|
-
readonly iso_code_short: "GM";
|
|
398
|
-
readonly iso_code: "GMB";
|
|
399
|
-
}, {
|
|
400
|
-
readonly country_name: "Georgia";
|
|
401
|
-
readonly country_code: "995";
|
|
402
|
-
readonly iso_code_short: "GE";
|
|
403
|
-
readonly iso_code: "GEO";
|
|
404
|
-
}, {
|
|
405
|
-
readonly country_name: "Germany";
|
|
406
|
-
readonly country_code: "49";
|
|
407
|
-
readonly iso_code_short: "DE";
|
|
408
|
-
readonly iso_code: "DEU";
|
|
409
|
-
}, {
|
|
410
|
-
readonly country_name: "Ghana";
|
|
411
|
-
readonly country_code: "233";
|
|
412
|
-
readonly iso_code_short: "GH";
|
|
413
|
-
readonly iso_code: "GHA";
|
|
414
|
-
}, {
|
|
415
|
-
readonly country_name: "Gibraltar";
|
|
416
|
-
readonly country_code: "350";
|
|
417
|
-
readonly iso_code_short: "GI";
|
|
418
|
-
readonly iso_code: "GIB";
|
|
419
|
-
}, {
|
|
420
|
-
readonly country_name: "Greece";
|
|
421
|
-
readonly country_code: "30";
|
|
422
|
-
readonly iso_code_short: "GR";
|
|
423
|
-
readonly iso_code: "GRC";
|
|
424
|
-
}, {
|
|
425
|
-
readonly country_name: "Greenland";
|
|
426
|
-
readonly country_code: "299";
|
|
427
|
-
readonly iso_code_short: "GL";
|
|
428
|
-
readonly iso_code: "GRL";
|
|
429
|
-
}, {
|
|
430
|
-
readonly country_name: "Grenada";
|
|
431
|
-
readonly country_code: "1-473";
|
|
432
|
-
readonly iso_code_short: "GD";
|
|
433
|
-
readonly iso_code: "GRD";
|
|
434
|
-
}, {
|
|
435
|
-
readonly country_name: "Guam";
|
|
436
|
-
readonly country_code: "1-671";
|
|
437
|
-
readonly iso_code_short: "GU";
|
|
438
|
-
readonly iso_code: "GUM";
|
|
439
|
-
}, {
|
|
440
|
-
readonly country_name: "Guatemala";
|
|
441
|
-
readonly country_code: "502";
|
|
442
|
-
readonly iso_code_short: "GT";
|
|
443
|
-
readonly iso_code: "GTM";
|
|
444
|
-
}, {
|
|
445
|
-
readonly country_name: "Guernsey";
|
|
446
|
-
readonly country_code: "44-1481";
|
|
447
|
-
readonly iso_code_short: "GG";
|
|
448
|
-
readonly iso_code: "GGY";
|
|
449
|
-
}, {
|
|
450
|
-
readonly country_name: "Guinea";
|
|
451
|
-
readonly country_code: "224";
|
|
452
|
-
readonly iso_code_short: "GN";
|
|
453
|
-
readonly iso_code: "GIN";
|
|
454
|
-
}, {
|
|
455
|
-
readonly country_name: "Guinea-Bissau";
|
|
456
|
-
readonly country_code: "245";
|
|
457
|
-
readonly iso_code_short: "GW";
|
|
458
|
-
readonly iso_code: "GNB";
|
|
459
|
-
}, {
|
|
460
|
-
readonly country_name: "Guyana";
|
|
461
|
-
readonly country_code: "592";
|
|
462
|
-
readonly iso_code_short: "GY";
|
|
463
|
-
readonly iso_code: "GUY";
|
|
464
|
-
}, {
|
|
465
|
-
readonly country_name: "Haiti";
|
|
466
|
-
readonly country_code: "509";
|
|
467
|
-
readonly iso_code_short: "HT";
|
|
468
|
-
readonly iso_code: "HTI";
|
|
469
|
-
}, {
|
|
470
|
-
readonly country_name: "Honduras";
|
|
471
|
-
readonly country_code: "504";
|
|
472
|
-
readonly iso_code_short: "HN";
|
|
473
|
-
readonly iso_code: "HND";
|
|
474
|
-
}, {
|
|
475
|
-
readonly country_name: "Hong Kong";
|
|
476
|
-
readonly country_code: "852";
|
|
477
|
-
readonly iso_code_short: "HK";
|
|
478
|
-
readonly iso_code: "HKG";
|
|
479
|
-
}, {
|
|
480
|
-
readonly country_name: "Hungary";
|
|
481
|
-
readonly country_code: "36";
|
|
482
|
-
readonly iso_code_short: "HU";
|
|
483
|
-
readonly iso_code: "HUN";
|
|
484
|
-
}, {
|
|
485
|
-
readonly country_name: "Iceland";
|
|
486
|
-
readonly country_code: "354";
|
|
487
|
-
readonly iso_code_short: "IS";
|
|
488
|
-
readonly iso_code: "ISL";
|
|
489
|
-
}, {
|
|
490
|
-
readonly country_name: "India";
|
|
491
|
-
readonly country_code: "91";
|
|
492
|
-
readonly iso_code_short: "IN";
|
|
493
|
-
readonly iso_code: "IND";
|
|
494
|
-
}, {
|
|
495
|
-
readonly country_name: "Indonesia";
|
|
496
|
-
readonly country_code: "62";
|
|
497
|
-
readonly iso_code_short: "ID";
|
|
498
|
-
readonly iso_code: "IDN";
|
|
499
|
-
}, {
|
|
500
|
-
readonly country_name: "Iran";
|
|
501
|
-
readonly country_code: "98";
|
|
502
|
-
readonly iso_code_short: "IR";
|
|
503
|
-
readonly iso_code: "IRN";
|
|
504
|
-
}, {
|
|
505
|
-
readonly country_name: "Iraq";
|
|
506
|
-
readonly country_code: "964";
|
|
507
|
-
readonly iso_code_short: "IQ";
|
|
508
|
-
readonly iso_code: "IRQ";
|
|
509
|
-
}, {
|
|
510
|
-
readonly country_name: "Ireland";
|
|
511
|
-
readonly country_code: "353";
|
|
512
|
-
readonly iso_code_short: "IE";
|
|
513
|
-
readonly iso_code: "IRL";
|
|
514
|
-
}, {
|
|
515
|
-
readonly country_name: "Isle of Man";
|
|
516
|
-
readonly country_code: "44-1624";
|
|
517
|
-
readonly iso_code_short: "IM";
|
|
518
|
-
readonly iso_code: "IMN";
|
|
519
|
-
}, {
|
|
520
|
-
readonly country_name: "Israel";
|
|
521
|
-
readonly country_code: "972";
|
|
522
|
-
readonly iso_code_short: "IL";
|
|
523
|
-
readonly iso_code: "ISR";
|
|
524
|
-
}, {
|
|
525
|
-
readonly country_name: "Italy";
|
|
526
|
-
readonly country_code: "39";
|
|
527
|
-
readonly iso_code_short: "IT";
|
|
528
|
-
readonly iso_code: "ITA";
|
|
529
|
-
}, {
|
|
530
|
-
readonly country_name: "Ivory Coast";
|
|
531
|
-
readonly country_code: "225";
|
|
532
|
-
readonly iso_code_short: "CI";
|
|
533
|
-
readonly iso_code: "CIV";
|
|
534
|
-
}, {
|
|
535
|
-
readonly country_name: "Jamaica";
|
|
536
|
-
readonly country_code: "1-876";
|
|
537
|
-
readonly iso_code_short: "JM";
|
|
538
|
-
readonly iso_code: "JAM";
|
|
539
|
-
}, {
|
|
540
|
-
readonly country_name: "Japan";
|
|
541
|
-
readonly country_code: "81";
|
|
542
|
-
readonly iso_code_short: "JP";
|
|
543
|
-
readonly iso_code: "JPN";
|
|
544
|
-
}, {
|
|
545
|
-
readonly country_name: "Jersey";
|
|
546
|
-
readonly country_code: "44-1534";
|
|
547
|
-
readonly iso_code_short: "JE";
|
|
548
|
-
readonly iso_code: "JEY";
|
|
549
|
-
}, {
|
|
550
|
-
readonly country_name: "Jordan";
|
|
551
|
-
readonly country_code: "962";
|
|
552
|
-
readonly iso_code_short: "JO";
|
|
553
|
-
readonly iso_code: "JOR";
|
|
554
|
-
}, {
|
|
555
|
-
readonly country_name: "Kazakhstan";
|
|
556
|
-
readonly country_code: "7";
|
|
557
|
-
readonly iso_code_short: "KZ";
|
|
558
|
-
readonly iso_code: "KAZ";
|
|
559
|
-
}, {
|
|
560
|
-
readonly country_name: "Kenya";
|
|
561
|
-
readonly country_code: "254";
|
|
562
|
-
readonly iso_code_short: "KE";
|
|
563
|
-
readonly iso_code: "KEN";
|
|
564
|
-
}, {
|
|
565
|
-
readonly country_name: "Kiribati";
|
|
566
|
-
readonly country_code: "686";
|
|
567
|
-
readonly iso_code_short: "KI";
|
|
568
|
-
readonly iso_code: "KIR";
|
|
569
|
-
}, {
|
|
570
|
-
readonly country_name: "Kosovo";
|
|
571
|
-
readonly country_code: "383";
|
|
572
|
-
readonly iso_code_short: "XK";
|
|
573
|
-
readonly iso_code: "XKX";
|
|
574
|
-
}, {
|
|
575
|
-
readonly country_name: "Kuwait";
|
|
576
|
-
readonly country_code: "965";
|
|
577
|
-
readonly iso_code_short: "KW";
|
|
578
|
-
readonly iso_code: "KWT";
|
|
579
|
-
}, {
|
|
580
|
-
readonly country_name: "Kyrgyzstan";
|
|
581
|
-
readonly country_code: "996";
|
|
582
|
-
readonly iso_code_short: "KG";
|
|
583
|
-
readonly iso_code: "KGZ";
|
|
584
|
-
}, {
|
|
585
|
-
readonly country_name: "Laos";
|
|
586
|
-
readonly country_code: "856";
|
|
587
|
-
readonly iso_code_short: "LA";
|
|
588
|
-
readonly iso_code: "LAO";
|
|
589
|
-
}, {
|
|
590
|
-
readonly country_name: "Latvia";
|
|
591
|
-
readonly country_code: "371";
|
|
592
|
-
readonly iso_code_short: "LV";
|
|
593
|
-
readonly iso_code: "LVA";
|
|
594
|
-
}, {
|
|
595
|
-
readonly country_name: "Lebanon";
|
|
596
|
-
readonly country_code: "961";
|
|
597
|
-
readonly iso_code_short: "LB";
|
|
598
|
-
readonly iso_code: "LBN";
|
|
599
|
-
}, {
|
|
600
|
-
readonly country_name: "Lesotho";
|
|
601
|
-
readonly country_code: "266";
|
|
602
|
-
readonly iso_code_short: "LS";
|
|
603
|
-
readonly iso_code: "LSO";
|
|
604
|
-
}, {
|
|
605
|
-
readonly country_name: "Liberia";
|
|
606
|
-
readonly country_code: "231";
|
|
607
|
-
readonly iso_code_short: "LR";
|
|
608
|
-
readonly iso_code: "LBR";
|
|
609
|
-
}, {
|
|
610
|
-
readonly country_name: "Libya";
|
|
611
|
-
readonly country_code: "218";
|
|
612
|
-
readonly iso_code_short: "LY";
|
|
613
|
-
readonly iso_code: "LBY";
|
|
614
|
-
}, {
|
|
615
|
-
readonly country_name: "Liechtenstein";
|
|
616
|
-
readonly country_code: "423";
|
|
617
|
-
readonly iso_code_short: "LI";
|
|
618
|
-
readonly iso_code: "LIE";
|
|
619
|
-
}, {
|
|
620
|
-
readonly country_name: "Lithuania";
|
|
621
|
-
readonly country_code: "370";
|
|
622
|
-
readonly iso_code_short: "LT";
|
|
623
|
-
readonly iso_code: "LTU";
|
|
624
|
-
}, {
|
|
625
|
-
readonly country_name: "Luxembourg";
|
|
626
|
-
readonly country_code: "352";
|
|
627
|
-
readonly iso_code_short: "LU";
|
|
628
|
-
readonly iso_code: "LUX";
|
|
629
|
-
}, {
|
|
630
|
-
readonly country_name: "Macau";
|
|
631
|
-
readonly country_code: "853";
|
|
632
|
-
readonly iso_code_short: "MO";
|
|
633
|
-
readonly iso_code: "MAC";
|
|
634
|
-
}, {
|
|
635
|
-
readonly country_name: "Macedonia";
|
|
636
|
-
readonly country_code: "389";
|
|
637
|
-
readonly iso_code_short: "MK";
|
|
638
|
-
readonly iso_code: "MKD";
|
|
639
|
-
}, {
|
|
640
|
-
readonly country_name: "Madagascar";
|
|
641
|
-
readonly country_code: "261";
|
|
642
|
-
readonly iso_code_short: "MG";
|
|
643
|
-
readonly iso_code: "MDG";
|
|
644
|
-
}, {
|
|
645
|
-
readonly country_name: "Malawi";
|
|
646
|
-
readonly country_code: "265";
|
|
647
|
-
readonly iso_code_short: "MW";
|
|
648
|
-
readonly iso_code: "MWI";
|
|
649
|
-
}, {
|
|
650
|
-
readonly country_name: "Malaysia";
|
|
651
|
-
readonly country_code: "60";
|
|
652
|
-
readonly iso_code_short: "MY";
|
|
653
|
-
readonly iso_code: "MYS";
|
|
654
|
-
}, {
|
|
655
|
-
readonly country_name: "Maldives";
|
|
656
|
-
readonly country_code: "960";
|
|
657
|
-
readonly iso_code_short: "MV";
|
|
658
|
-
readonly iso_code: "MDV";
|
|
659
|
-
}, {
|
|
660
|
-
readonly country_name: "Mali";
|
|
661
|
-
readonly country_code: "223";
|
|
662
|
-
readonly iso_code_short: "ML";
|
|
663
|
-
readonly iso_code: "MLI";
|
|
664
|
-
}, {
|
|
665
|
-
readonly country_name: "Malta";
|
|
666
|
-
readonly country_code: "356";
|
|
667
|
-
readonly iso_code_short: "MT";
|
|
668
|
-
readonly iso_code: "MLT";
|
|
669
|
-
}, {
|
|
670
|
-
readonly country_name: "Marshall Islands";
|
|
671
|
-
readonly country_code: "692";
|
|
672
|
-
readonly iso_code_short: "MH";
|
|
673
|
-
readonly iso_code: "MHL";
|
|
674
|
-
}, {
|
|
675
|
-
readonly country_name: "Mauritania";
|
|
676
|
-
readonly country_code: "222";
|
|
677
|
-
readonly iso_code_short: "MR";
|
|
678
|
-
readonly iso_code: "MRT";
|
|
679
|
-
}, {
|
|
680
|
-
readonly country_name: "Mauritius";
|
|
681
|
-
readonly country_code: "230";
|
|
682
|
-
readonly iso_code_short: "MU";
|
|
683
|
-
readonly iso_code: "MUS";
|
|
684
|
-
}, {
|
|
685
|
-
readonly country_name: "Mayotte";
|
|
686
|
-
readonly country_code: "262";
|
|
687
|
-
readonly iso_code_short: "YT";
|
|
688
|
-
readonly iso_code: "MYT";
|
|
689
|
-
}, {
|
|
690
|
-
readonly country_name: "Mexico";
|
|
691
|
-
readonly country_code: "52";
|
|
692
|
-
readonly iso_code_short: "MX";
|
|
693
|
-
readonly iso_code: "MEX";
|
|
694
|
-
}, {
|
|
695
|
-
readonly country_name: "Micronesia";
|
|
696
|
-
readonly country_code: "691";
|
|
697
|
-
readonly iso_code_short: "FM";
|
|
698
|
-
readonly iso_code: "FSM";
|
|
699
|
-
}, {
|
|
700
|
-
readonly country_name: "Moldova";
|
|
701
|
-
readonly country_code: "373";
|
|
702
|
-
readonly iso_code_short: "MD";
|
|
703
|
-
readonly iso_code: "MDA";
|
|
704
|
-
}, {
|
|
705
|
-
readonly country_name: "Monaco";
|
|
706
|
-
readonly country_code: "377";
|
|
707
|
-
readonly iso_code_short: "MC";
|
|
708
|
-
readonly iso_code: "MCO";
|
|
709
|
-
}, {
|
|
710
|
-
readonly country_name: "Mongolia";
|
|
711
|
-
readonly country_code: "976";
|
|
712
|
-
readonly iso_code_short: "MN";
|
|
713
|
-
readonly iso_code: "MNG";
|
|
714
|
-
}, {
|
|
715
|
-
readonly country_name: "Montenegro";
|
|
716
|
-
readonly country_code: "382";
|
|
717
|
-
readonly iso_code_short: "ME";
|
|
718
|
-
readonly iso_code: "MNE";
|
|
719
|
-
}, {
|
|
720
|
-
readonly country_name: "Montserrat";
|
|
721
|
-
readonly country_code: "1-664";
|
|
722
|
-
readonly iso_code_short: "MS";
|
|
723
|
-
readonly iso_code: "MSR";
|
|
724
|
-
}, {
|
|
725
|
-
readonly country_name: "Morocco";
|
|
726
|
-
readonly country_code: "212";
|
|
727
|
-
readonly iso_code_short: "MA";
|
|
728
|
-
readonly iso_code: "MAR";
|
|
729
|
-
}, {
|
|
730
|
-
readonly country_name: "Mozambique";
|
|
731
|
-
readonly country_code: "258";
|
|
732
|
-
readonly iso_code_short: "MZ";
|
|
733
|
-
readonly iso_code: "MOZ";
|
|
734
|
-
}, {
|
|
735
|
-
readonly country_name: "Myanmar";
|
|
736
|
-
readonly country_code: "95";
|
|
737
|
-
readonly iso_code_short: "MM";
|
|
738
|
-
readonly iso_code: "MMR";
|
|
739
|
-
}, {
|
|
740
|
-
readonly country_name: "Namibia";
|
|
741
|
-
readonly country_code: "264";
|
|
742
|
-
readonly iso_code_short: "NA";
|
|
743
|
-
readonly iso_code: "NAM";
|
|
744
|
-
}, {
|
|
745
|
-
readonly country_name: "Nauru";
|
|
746
|
-
readonly country_code: "674";
|
|
747
|
-
readonly iso_code_short: "NR";
|
|
748
|
-
readonly iso_code: "NRU";
|
|
749
|
-
}, {
|
|
750
|
-
readonly country_name: "Nepal";
|
|
751
|
-
readonly country_code: "977";
|
|
752
|
-
readonly iso_code_short: "NP";
|
|
753
|
-
readonly iso_code: "NPL";
|
|
754
|
-
}, {
|
|
755
|
-
readonly country_name: "Netherlands";
|
|
756
|
-
readonly country_code: "31";
|
|
757
|
-
readonly iso_code_short: "NL";
|
|
758
|
-
readonly iso_code: "NLD";
|
|
759
|
-
}, {
|
|
760
|
-
readonly country_name: "Netherlands Antilles";
|
|
761
|
-
readonly country_code: "599";
|
|
762
|
-
readonly iso_code_short: "AN";
|
|
763
|
-
readonly iso_code: "ANT";
|
|
764
|
-
}, {
|
|
765
|
-
readonly country_name: "New Caledonia";
|
|
766
|
-
readonly country_code: "687";
|
|
767
|
-
readonly iso_code_short: "NC";
|
|
768
|
-
readonly iso_code: "NCL";
|
|
769
|
-
}, {
|
|
770
|
-
readonly country_name: "New Zealand";
|
|
771
|
-
readonly country_code: "64";
|
|
772
|
-
readonly iso_code_short: "NZ";
|
|
773
|
-
readonly iso_code: "NZL";
|
|
774
|
-
}, {
|
|
775
|
-
readonly country_name: "Nicaragua";
|
|
776
|
-
readonly country_code: "505";
|
|
777
|
-
readonly iso_code_short: "NI";
|
|
778
|
-
readonly iso_code: "NIC";
|
|
779
|
-
}, {
|
|
780
|
-
readonly country_name: "Niger";
|
|
781
|
-
readonly country_code: "227";
|
|
782
|
-
readonly iso_code_short: "NE";
|
|
783
|
-
readonly iso_code: "NER";
|
|
784
|
-
}, {
|
|
785
|
-
readonly country_name: "Nigeria";
|
|
786
|
-
readonly country_code: "234";
|
|
787
|
-
readonly iso_code_short: "NG";
|
|
788
|
-
readonly iso_code: "NGA";
|
|
789
|
-
}, {
|
|
790
|
-
readonly country_name: "Niue";
|
|
791
|
-
readonly country_code: "683";
|
|
792
|
-
readonly iso_code_short: "NU";
|
|
793
|
-
readonly iso_code: "NIU";
|
|
794
|
-
}, {
|
|
795
|
-
readonly country_name: "North Korea";
|
|
796
|
-
readonly country_code: "850";
|
|
797
|
-
readonly iso_code_short: "KP";
|
|
798
|
-
readonly iso_code: "PRK";
|
|
799
|
-
}, {
|
|
800
|
-
readonly country_name: "Northern Mariana Islands";
|
|
801
|
-
readonly country_code: "1-670";
|
|
802
|
-
readonly iso_code_short: "MP";
|
|
803
|
-
readonly iso_code: "MNP";
|
|
804
|
-
}, {
|
|
805
|
-
readonly country_name: "Norway";
|
|
806
|
-
readonly country_code: "47";
|
|
807
|
-
readonly iso_code_short: "NO";
|
|
808
|
-
readonly iso_code: "NOR";
|
|
809
|
-
}, {
|
|
810
|
-
readonly country_name: "Oman";
|
|
811
|
-
readonly country_code: "968";
|
|
812
|
-
readonly iso_code_short: "OM";
|
|
813
|
-
readonly iso_code: "OMN";
|
|
814
|
-
}, {
|
|
815
|
-
readonly country_name: "Pakistan";
|
|
816
|
-
readonly country_code: "92";
|
|
817
|
-
readonly iso_code_short: "PK";
|
|
818
|
-
readonly iso_code: "PAK";
|
|
819
|
-
}, {
|
|
820
|
-
readonly country_name: "Palau";
|
|
821
|
-
readonly country_code: "680";
|
|
822
|
-
readonly iso_code_short: "PW";
|
|
823
|
-
readonly iso_code: "PLW";
|
|
824
|
-
}, {
|
|
825
|
-
readonly country_name: "Palestine";
|
|
826
|
-
readonly country_code: "970";
|
|
827
|
-
readonly iso_code_short: "PS";
|
|
828
|
-
readonly iso_code: "PSE";
|
|
829
|
-
}, {
|
|
830
|
-
readonly country_name: "Panama";
|
|
831
|
-
readonly country_code: "507";
|
|
832
|
-
readonly iso_code_short: "PA";
|
|
833
|
-
readonly iso_code: "PAN";
|
|
834
|
-
}, {
|
|
835
|
-
readonly country_name: "Papua New Guinea";
|
|
836
|
-
readonly country_code: "675";
|
|
837
|
-
readonly iso_code_short: "PG";
|
|
838
|
-
readonly iso_code: "PNG";
|
|
839
|
-
}, {
|
|
840
|
-
readonly country_name: "Paraguay";
|
|
841
|
-
readonly country_code: "595";
|
|
842
|
-
readonly iso_code_short: "PY";
|
|
843
|
-
readonly iso_code: "PRY";
|
|
844
|
-
}, {
|
|
845
|
-
readonly country_name: "Peru";
|
|
846
|
-
readonly country_code: "51";
|
|
847
|
-
readonly iso_code_short: "PE";
|
|
848
|
-
readonly iso_code: "PER";
|
|
849
|
-
}, {
|
|
850
|
-
readonly country_name: "Philippines";
|
|
851
|
-
readonly country_code: "63";
|
|
852
|
-
readonly iso_code_short: "PH";
|
|
853
|
-
readonly iso_code: "PHL";
|
|
854
|
-
}, {
|
|
855
|
-
readonly country_name: "Pitcairn";
|
|
856
|
-
readonly country_code: "64";
|
|
857
|
-
readonly iso_code_short: "PN";
|
|
858
|
-
readonly iso_code: "PCN";
|
|
859
|
-
}, {
|
|
860
|
-
readonly country_name: "Poland";
|
|
861
|
-
readonly country_code: "48";
|
|
862
|
-
readonly iso_code_short: "PL";
|
|
863
|
-
readonly iso_code: "POL";
|
|
864
|
-
}, {
|
|
865
|
-
readonly country_name: "Portugal";
|
|
866
|
-
readonly country_code: "351";
|
|
867
|
-
readonly iso_code_short: "PT";
|
|
868
|
-
readonly iso_code: "PRT";
|
|
869
|
-
}, {
|
|
870
|
-
readonly country_name: "Puerto Rico";
|
|
871
|
-
readonly country_code: "1-787, 1-939";
|
|
872
|
-
readonly iso_code_short: "PR";
|
|
873
|
-
readonly iso_code: "PRI";
|
|
874
|
-
}, {
|
|
875
|
-
readonly country_name: "Qatar";
|
|
876
|
-
readonly country_code: "974";
|
|
877
|
-
readonly iso_code_short: "QA";
|
|
878
|
-
readonly iso_code: "QAT";
|
|
879
|
-
}, {
|
|
880
|
-
readonly country_name: "Republic of the Congo";
|
|
881
|
-
readonly country_code: "242";
|
|
882
|
-
readonly iso_code_short: "CG";
|
|
883
|
-
readonly iso_code: "COG";
|
|
884
|
-
}, {
|
|
885
|
-
readonly country_name: "Reunion";
|
|
886
|
-
readonly country_code: "262";
|
|
887
|
-
readonly iso_code_short: "RE";
|
|
888
|
-
readonly iso_code: "REU";
|
|
889
|
-
}, {
|
|
890
|
-
readonly country_name: "Romania";
|
|
891
|
-
readonly country_code: "40";
|
|
892
|
-
readonly iso_code_short: "RO";
|
|
893
|
-
readonly iso_code: "ROU";
|
|
894
|
-
}, {
|
|
895
|
-
readonly country_name: "Russia";
|
|
896
|
-
readonly country_code: "7";
|
|
897
|
-
readonly iso_code_short: "RU";
|
|
898
|
-
readonly iso_code: "RUS";
|
|
899
|
-
}, {
|
|
900
|
-
readonly country_name: "Rwanda";
|
|
901
|
-
readonly country_code: "250";
|
|
902
|
-
readonly iso_code_short: "RW";
|
|
903
|
-
readonly iso_code: "RWA";
|
|
904
|
-
}, {
|
|
905
|
-
readonly country_name: "Saint Barthelemy";
|
|
906
|
-
readonly country_code: "590";
|
|
907
|
-
readonly iso_code_short: "BL";
|
|
908
|
-
readonly iso_code: "BLM";
|
|
909
|
-
}, {
|
|
910
|
-
readonly country_name: "Saint Helena";
|
|
911
|
-
readonly country_code: "290";
|
|
912
|
-
readonly iso_code_short: "SH";
|
|
913
|
-
readonly iso_code: "SHN";
|
|
914
|
-
}, {
|
|
915
|
-
readonly country_name: "Saint Kitts and Nevis";
|
|
916
|
-
readonly country_code: "1-869";
|
|
917
|
-
readonly iso_code_short: "KN";
|
|
918
|
-
readonly iso_code: "KNA";
|
|
919
|
-
}, {
|
|
920
|
-
readonly country_name: "Saint Lucia";
|
|
921
|
-
readonly country_code: "1-758";
|
|
922
|
-
readonly iso_code_short: "LC";
|
|
923
|
-
readonly iso_code: "LCA";
|
|
924
|
-
}, {
|
|
925
|
-
readonly country_name: "Saint Martin";
|
|
926
|
-
readonly country_code: "590";
|
|
927
|
-
readonly iso_code_short: "MF";
|
|
928
|
-
readonly iso_code: "MAF";
|
|
929
|
-
}, {
|
|
930
|
-
readonly country_name: "Saint Pierre and Miquelon";
|
|
931
|
-
readonly country_code: "508";
|
|
932
|
-
readonly iso_code_short: "PM";
|
|
933
|
-
readonly iso_code: "SPM";
|
|
934
|
-
}, {
|
|
935
|
-
readonly country_name: "Saint Vincent and the Grenadines";
|
|
936
|
-
readonly country_code: "1-784";
|
|
937
|
-
readonly iso_code_short: "VC";
|
|
938
|
-
readonly iso_code: "VCT";
|
|
939
|
-
}, {
|
|
940
|
-
readonly country_name: "Samoa";
|
|
941
|
-
readonly country_code: "685";
|
|
942
|
-
readonly iso_code_short: "WS";
|
|
943
|
-
readonly iso_code: "WSM";
|
|
944
|
-
}, {
|
|
945
|
-
readonly country_name: "San Marino";
|
|
946
|
-
readonly country_code: "378";
|
|
947
|
-
readonly iso_code_short: "SM";
|
|
948
|
-
readonly iso_code: "SMR";
|
|
949
|
-
}, {
|
|
950
|
-
readonly country_name: "Sao Tome and Principe";
|
|
951
|
-
readonly country_code: "239";
|
|
952
|
-
readonly iso_code_short: "ST";
|
|
953
|
-
readonly iso_code: "STP";
|
|
954
|
-
}, {
|
|
955
|
-
readonly country_name: "Saudi Arabia";
|
|
956
|
-
readonly country_code: "966";
|
|
957
|
-
readonly iso_code_short: "SA";
|
|
958
|
-
readonly iso_code: "SAU";
|
|
959
|
-
}, {
|
|
960
|
-
readonly country_name: "Senegal";
|
|
961
|
-
readonly country_code: "221";
|
|
962
|
-
readonly iso_code_short: "SN";
|
|
963
|
-
readonly iso_code: "SEN";
|
|
964
|
-
}, {
|
|
965
|
-
readonly country_name: "Serbia";
|
|
966
|
-
readonly country_code: "381";
|
|
967
|
-
readonly iso_code_short: "RS";
|
|
968
|
-
readonly iso_code: "SRB";
|
|
969
|
-
}, {
|
|
970
|
-
readonly country_name: "Seychelles";
|
|
971
|
-
readonly country_code: "248";
|
|
972
|
-
readonly iso_code_short: "SC";
|
|
973
|
-
readonly iso_code: "SYC";
|
|
974
|
-
}, {
|
|
975
|
-
readonly country_name: "Sierra Leone";
|
|
976
|
-
readonly country_code: "232";
|
|
977
|
-
readonly iso_code_short: "SL";
|
|
978
|
-
readonly iso_code: "SLE";
|
|
979
|
-
}, {
|
|
980
|
-
readonly country_name: "Singapore";
|
|
981
|
-
readonly country_code: "65";
|
|
982
|
-
readonly iso_code_short: "SG";
|
|
983
|
-
readonly iso_code: "SGP";
|
|
984
|
-
}, {
|
|
985
|
-
readonly country_name: "Sint Maarten";
|
|
986
|
-
readonly country_code: "1-721";
|
|
987
|
-
readonly iso_code_short: "SX";
|
|
988
|
-
readonly iso_code: "SXM";
|
|
989
|
-
}, {
|
|
990
|
-
readonly country_name: "Slovakia";
|
|
991
|
-
readonly country_code: "421";
|
|
992
|
-
readonly iso_code_short: "SK";
|
|
993
|
-
readonly iso_code: "SVK";
|
|
994
|
-
}, {
|
|
995
|
-
readonly country_name: "Slovenia";
|
|
996
|
-
readonly country_code: "386";
|
|
997
|
-
readonly iso_code_short: "SI";
|
|
998
|
-
readonly iso_code: "SVN";
|
|
999
|
-
}, {
|
|
1000
|
-
readonly country_name: "Solomon Islands";
|
|
1001
|
-
readonly country_code: "677";
|
|
1002
|
-
readonly iso_code_short: "SB";
|
|
1003
|
-
readonly iso_code: "SLB";
|
|
1004
|
-
}, {
|
|
1005
|
-
readonly country_name: "Somalia";
|
|
1006
|
-
readonly country_code: "252";
|
|
1007
|
-
readonly iso_code_short: "SO";
|
|
1008
|
-
readonly iso_code: "SOM";
|
|
1009
|
-
}, {
|
|
1010
|
-
readonly country_name: "South Africa";
|
|
1011
|
-
readonly country_code: "27";
|
|
1012
|
-
readonly iso_code_short: "ZA";
|
|
1013
|
-
readonly iso_code: "ZAF";
|
|
1014
|
-
}, {
|
|
1015
|
-
readonly country_name: "South Korea";
|
|
1016
|
-
readonly country_code: "82";
|
|
1017
|
-
readonly iso_code_short: "KR";
|
|
1018
|
-
readonly iso_code: "KOR";
|
|
1019
|
-
}, {
|
|
1020
|
-
readonly country_name: "South Sudan";
|
|
1021
|
-
readonly country_code: "211";
|
|
1022
|
-
readonly iso_code_short: "SS";
|
|
1023
|
-
readonly iso_code: "SSD";
|
|
1024
|
-
}, {
|
|
1025
|
-
readonly country_name: "Spain";
|
|
1026
|
-
readonly country_code: "34";
|
|
1027
|
-
readonly iso_code_short: "ES";
|
|
1028
|
-
readonly iso_code: "ESP";
|
|
1029
|
-
}, {
|
|
1030
|
-
readonly country_name: "Sri Lanka";
|
|
1031
|
-
readonly country_code: "94";
|
|
1032
|
-
readonly iso_code_short: "LK";
|
|
1033
|
-
readonly iso_code: "LKA";
|
|
1034
|
-
}, {
|
|
1035
|
-
readonly country_name: "Sudan";
|
|
1036
|
-
readonly country_code: "249";
|
|
1037
|
-
readonly iso_code_short: "SD";
|
|
1038
|
-
readonly iso_code: "SDN";
|
|
1039
|
-
}, {
|
|
1040
|
-
readonly country_name: "Suriname";
|
|
1041
|
-
readonly country_code: "597";
|
|
1042
|
-
readonly iso_code_short: "SR";
|
|
1043
|
-
readonly iso_code: "SUR";
|
|
1044
|
-
}, {
|
|
1045
|
-
readonly country_name: "Svalbard and Jan Mayen";
|
|
1046
|
-
readonly country_code: "47";
|
|
1047
|
-
readonly iso_code_short: "SJ";
|
|
1048
|
-
readonly iso_code: "SJM";
|
|
1049
|
-
}, {
|
|
1050
|
-
readonly country_name: "Swaziland";
|
|
1051
|
-
readonly country_code: "268";
|
|
1052
|
-
readonly iso_code_short: "SZ";
|
|
1053
|
-
readonly iso_code: "SWZ";
|
|
1054
|
-
}, {
|
|
1055
|
-
readonly country_name: "Sweden";
|
|
1056
|
-
readonly country_code: "46";
|
|
1057
|
-
readonly iso_code_short: "SE";
|
|
1058
|
-
readonly iso_code: "SWE";
|
|
1059
|
-
}, {
|
|
1060
|
-
readonly country_name: "Switzerland";
|
|
1061
|
-
readonly country_code: "41";
|
|
1062
|
-
readonly iso_code_short: "CH";
|
|
1063
|
-
readonly iso_code: "CHE";
|
|
1064
|
-
}, {
|
|
1065
|
-
readonly country_name: "Syria";
|
|
1066
|
-
readonly country_code: "963";
|
|
1067
|
-
readonly iso_code_short: "SY";
|
|
1068
|
-
readonly iso_code: "SYR";
|
|
1069
|
-
}, {
|
|
1070
|
-
readonly country_name: "Taiwan";
|
|
1071
|
-
readonly country_code: "886";
|
|
1072
|
-
readonly iso_code_short: "TW";
|
|
1073
|
-
readonly iso_code: "TWN";
|
|
1074
|
-
}, {
|
|
1075
|
-
readonly country_name: "Tajikistan";
|
|
1076
|
-
readonly country_code: "992";
|
|
1077
|
-
readonly iso_code_short: "TJ";
|
|
1078
|
-
readonly iso_code: "TJK";
|
|
1079
|
-
}, {
|
|
1080
|
-
readonly country_name: "Tanzania";
|
|
1081
|
-
readonly country_code: "255";
|
|
1082
|
-
readonly iso_code_short: "TZ";
|
|
1083
|
-
readonly iso_code: "TZA";
|
|
1084
|
-
}, {
|
|
1085
|
-
readonly country_name: "Thailand";
|
|
1086
|
-
readonly country_code: "66";
|
|
1087
|
-
readonly iso_code_short: "TH";
|
|
1088
|
-
readonly iso_code: "THA";
|
|
1089
|
-
}, {
|
|
1090
|
-
readonly country_name: "Togo";
|
|
1091
|
-
readonly country_code: "228";
|
|
1092
|
-
readonly iso_code_short: "TG";
|
|
1093
|
-
readonly iso_code: "TGO";
|
|
1094
|
-
}, {
|
|
1095
|
-
readonly country_name: "Tokelau";
|
|
1096
|
-
readonly country_code: "690";
|
|
1097
|
-
readonly iso_code_short: "TK";
|
|
1098
|
-
readonly iso_code: "TKL";
|
|
1099
|
-
}, {
|
|
1100
|
-
readonly country_name: "Tonga";
|
|
1101
|
-
readonly country_code: "676";
|
|
1102
|
-
readonly iso_code_short: "TO";
|
|
1103
|
-
readonly iso_code: "TON";
|
|
1104
|
-
}, {
|
|
1105
|
-
readonly country_name: "Trinidad and Tobago";
|
|
1106
|
-
readonly country_code: "1-868";
|
|
1107
|
-
readonly iso_code_short: "TT";
|
|
1108
|
-
readonly iso_code: "TTO";
|
|
1109
|
-
}, {
|
|
1110
|
-
readonly country_name: "Tunisia";
|
|
1111
|
-
readonly country_code: "216";
|
|
1112
|
-
readonly iso_code_short: "TN";
|
|
1113
|
-
readonly iso_code: "TUN";
|
|
1114
|
-
}, {
|
|
1115
|
-
readonly country_name: "Turkey";
|
|
1116
|
-
readonly country_code: "90";
|
|
1117
|
-
readonly iso_code_short: "TR";
|
|
1118
|
-
readonly iso_code: "TUR";
|
|
1119
|
-
}, {
|
|
1120
|
-
readonly country_name: "Turkmenistan";
|
|
1121
|
-
readonly country_code: "993";
|
|
1122
|
-
readonly iso_code_short: "TM";
|
|
1123
|
-
readonly iso_code: "TKM";
|
|
1124
|
-
}, {
|
|
1125
|
-
readonly country_name: "Turks and Caicos Islands";
|
|
1126
|
-
readonly country_code: "1-649";
|
|
1127
|
-
readonly iso_code_short: "TC";
|
|
1128
|
-
readonly iso_code: "TCA";
|
|
1129
|
-
}, {
|
|
1130
|
-
readonly country_name: "Tuvalu";
|
|
1131
|
-
readonly country_code: "688";
|
|
1132
|
-
readonly iso_code_short: "TV";
|
|
1133
|
-
readonly iso_code: "TUV";
|
|
1134
|
-
}, {
|
|
1135
|
-
readonly country_name: "U.S. Virgin Islands";
|
|
1136
|
-
readonly country_code: "1-340";
|
|
1137
|
-
readonly iso_code_short: "VI";
|
|
1138
|
-
readonly iso_code: "VIR";
|
|
1139
|
-
}, {
|
|
1140
|
-
readonly country_name: "Uganda";
|
|
1141
|
-
readonly country_code: "256";
|
|
1142
|
-
readonly iso_code_short: "UG";
|
|
1143
|
-
readonly iso_code: "UGA";
|
|
1144
|
-
}, {
|
|
1145
|
-
readonly country_name: "Ukraine";
|
|
1146
|
-
readonly country_code: "380";
|
|
1147
|
-
readonly iso_code_short: "UA";
|
|
1148
|
-
readonly iso_code: "UKR";
|
|
1149
|
-
}, {
|
|
1150
|
-
readonly country_name: "United Arab Emirates";
|
|
1151
|
-
readonly country_code: "971";
|
|
1152
|
-
readonly iso_code_short: "AE";
|
|
1153
|
-
readonly iso_code: "ARE";
|
|
1154
|
-
}, {
|
|
1155
|
-
readonly country_name: "United Kingdom";
|
|
1156
|
-
readonly country_code: "44";
|
|
1157
|
-
readonly iso_code_short: "GB";
|
|
1158
|
-
readonly iso_code: "GBR";
|
|
1159
|
-
}, {
|
|
1160
|
-
readonly country_name: "United States";
|
|
1161
|
-
readonly country_code: "1";
|
|
1162
|
-
readonly iso_code_short: "US";
|
|
1163
|
-
readonly iso_code: "USA";
|
|
1164
|
-
}, {
|
|
1165
|
-
readonly country_name: "Uruguay";
|
|
1166
|
-
readonly country_code: "598";
|
|
1167
|
-
readonly iso_code_short: "UY";
|
|
1168
|
-
readonly iso_code: "URY";
|
|
1169
|
-
}, {
|
|
1170
|
-
readonly country_name: "Uzbekistan";
|
|
1171
|
-
readonly country_code: "998";
|
|
1172
|
-
readonly iso_code_short: "UZ";
|
|
1173
|
-
readonly iso_code: "UZB";
|
|
1174
|
-
}, {
|
|
1175
|
-
readonly country_name: "Vanuatu";
|
|
1176
|
-
readonly country_code: "678";
|
|
1177
|
-
readonly iso_code_short: "VU";
|
|
1178
|
-
readonly iso_code: "VUT";
|
|
1179
|
-
}, {
|
|
1180
|
-
readonly country_name: "Vatican";
|
|
1181
|
-
readonly country_code: "379";
|
|
1182
|
-
readonly iso_code_short: "VA";
|
|
1183
|
-
readonly iso_code: "VAT";
|
|
1184
|
-
}, {
|
|
1185
|
-
readonly country_name: "Venezuela";
|
|
1186
|
-
readonly country_code: "58";
|
|
1187
|
-
readonly iso_code_short: "VE";
|
|
1188
|
-
readonly iso_code: "VEN";
|
|
1189
|
-
}, {
|
|
1190
|
-
readonly country_name: "Vietnam";
|
|
1191
|
-
readonly country_code: "84";
|
|
1192
|
-
readonly iso_code_short: "VN";
|
|
1193
|
-
readonly iso_code: "VNM";
|
|
1194
|
-
}, {
|
|
1195
|
-
readonly country_name: "Wallis and Futuna";
|
|
1196
|
-
readonly country_code: "681";
|
|
1197
|
-
readonly iso_code_short: "WF";
|
|
1198
|
-
readonly iso_code: "WLF";
|
|
1199
|
-
}, {
|
|
1200
|
-
readonly country_name: "Western Sahara";
|
|
1201
|
-
readonly country_code: "212";
|
|
1202
|
-
readonly iso_code_short: "EH";
|
|
1203
|
-
readonly iso_code: "ESH";
|
|
1204
|
-
}, {
|
|
1205
|
-
readonly country_name: "Yemen";
|
|
1206
|
-
readonly country_code: "967";
|
|
1207
|
-
readonly iso_code_short: "YE";
|
|
1208
|
-
readonly iso_code: "YEM";
|
|
1209
|
-
}, {
|
|
1210
|
-
readonly country_name: "Zambia";
|
|
1211
|
-
readonly country_code: "260";
|
|
1212
|
-
readonly iso_code_short: "ZM";
|
|
1213
|
-
readonly iso_code: "ZMB";
|
|
1214
|
-
}, {
|
|
1215
|
-
readonly country_name: "Zimbabwe";
|
|
1216
|
-
readonly country_code: "263";
|
|
1217
|
-
readonly iso_code_short: "ZW";
|
|
1218
|
-
readonly iso_code: "ZWE";
|
|
1219
|
-
}];
|
|
1220
|
-
//#endregion
|
|
1221
17
|
//#region src/date/constants.d.ts
|
|
1222
18
|
/** Array of strings containing all the seven week-day names, starting with `Sunday` */
|
|
1223
19
|
declare const DAYS: readonly ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"];
|
|
@@ -6470,210 +5266,1621 @@ declare const BN_DIGITS: Readonly<{
|
|
|
6470
5266
|
readonly '\u09EF': 9;
|
|
6471
5267
|
}>;
|
|
6472
5268
|
//#endregion
|
|
6473
|
-
//#region src/number/Unit.d.ts
|
|
5269
|
+
//#region src/number/Unit.d.ts
|
|
5270
|
+
/**
|
|
5271
|
+
* @class Class to handle conversions between various types of units.
|
|
5272
|
+
*
|
|
5273
|
+
* Includes static methods for:
|
|
5274
|
+
* - Length: meters, feet, kilometers, miles
|
|
5275
|
+
* - Mass: kilograms, pounds, grams, ounces
|
|
5276
|
+
* - Temperature: Celsius, Fahrenheit, Kelvin
|
|
5277
|
+
* - Volume: liters, gallons
|
|
5278
|
+
* - Area: square meters, square feet
|
|
5279
|
+
* - Speed: km/h, mph
|
|
5280
|
+
* - Time: hours, minutes, seconds, days
|
|
5281
|
+
* - Digital Storage: kilobytes, megabytes, gigabytes
|
|
5282
|
+
* - Energy: joules, calories
|
|
5283
|
+
* - Pressure: atm, pascals
|
|
5284
|
+
* - Frequency: Hz, kHz
|
|
5285
|
+
*
|
|
5286
|
+
* @remarks For more robust unit conversion, please use the `Converter` function which provides category-specific conversion classes.
|
|
5287
|
+
*/
|
|
5288
|
+
declare class Unit {
|
|
5289
|
+
#private;
|
|
5290
|
+
/**
|
|
5291
|
+
* * Creates an instance of the Unit class.
|
|
5292
|
+
* @param value The numeric value to work with.
|
|
5293
|
+
* @param unit The unit type of the value (e.g., 'kg', 'm', 'kb').
|
|
5294
|
+
*/
|
|
5295
|
+
constructor(value: number, unit?: UnitKey);
|
|
5296
|
+
/**
|
|
5297
|
+
* @instance Returns the original value with unit (if passed in the constructor).
|
|
5298
|
+
* @returns A string in the format "value unit".
|
|
5299
|
+
*/
|
|
5300
|
+
toString(): string;
|
|
5301
|
+
/**
|
|
5302
|
+
* @instance Converts using scientific prefixes (e.g., kB to MB, mg to g).
|
|
5303
|
+
*
|
|
5304
|
+
* @param fromPrefix The SI prefix of the source unit.
|
|
5305
|
+
* @param toPrefix The SI prefix of the target unit.
|
|
5306
|
+
* @returns The converted numeric value.
|
|
5307
|
+
*/
|
|
5308
|
+
convertByPrefix(fromPrefix: SIPrefix, toPrefix: SIPrefix): number;
|
|
5309
|
+
/**
|
|
5310
|
+
* @instance Converts from prefixed unit string to another (e.g., kB to MB, mg to g).
|
|
5311
|
+
*
|
|
5312
|
+
* @param from Prefixed unit string (e.g., 'kB', 'mg').
|
|
5313
|
+
* @param to Target prefixed unit string (e.g., 'MB', 'g').
|
|
5314
|
+
* @returns The converted numeric value.
|
|
5315
|
+
*/
|
|
5316
|
+
convertFromTo(from: string, to: string): number;
|
|
5317
|
+
/**
|
|
5318
|
+
* @instance Converts the value using a static method name from the `Unit` class.
|
|
5319
|
+
*
|
|
5320
|
+
* - **N.B.** *Provides IntelliSense and type safety for method selection.*
|
|
5321
|
+
*
|
|
5322
|
+
* @param methodName - A static `Unit` method that accepts a number and returns a number.
|
|
5323
|
+
* @returns The converted numeric value.
|
|
5324
|
+
*/
|
|
5325
|
+
convert(methodName: UnitNumberMethods): number;
|
|
5326
|
+
/**
|
|
5327
|
+
* @static Converts a value using scientific prefixes (e.g., kB to MB, mg to g).
|
|
5328
|
+
*
|
|
5329
|
+
* @param value The value to convert.
|
|
5330
|
+
* @param fromPrefix The SI prefix of the source unit.
|
|
5331
|
+
* @param toPrefix The SI prefix of the target unit.
|
|
5332
|
+
* @returns The converted numeric value.
|
|
5333
|
+
*/
|
|
5334
|
+
static convertByPrefix(value: number, fromPrefix: SIPrefix, toPrefix: SIPrefix): number;
|
|
5335
|
+
/**
|
|
5336
|
+
* @static Converts from prefixed unit string to another (e.g., kB to MB, mg to g).
|
|
5337
|
+
*
|
|
5338
|
+
* @param value The numeric value.
|
|
5339
|
+
* @param from Prefixed unit string (e.g., 'kB', 'mg').
|
|
5340
|
+
* @param to Target prefixed unit string (e.g., 'MB', 'g').
|
|
5341
|
+
* @returns The converted numeric value.
|
|
5342
|
+
*/
|
|
5343
|
+
static convertFromTo(value: number, from: string, to: string): number;
|
|
5344
|
+
/** Converts meters to feet. */
|
|
5345
|
+
static metersToFeet(m: number): number;
|
|
5346
|
+
/** Converts feet to meters. */
|
|
5347
|
+
static feetToMeters(ft: number): number;
|
|
5348
|
+
/** Converts kilometers to miles. */
|
|
5349
|
+
static kmToMiles(km: number): number;
|
|
5350
|
+
/** Converts miles to kilometers. */
|
|
5351
|
+
static milesToKm(mi: number): number;
|
|
5352
|
+
/** Converts kilograms to pounds. */
|
|
5353
|
+
static kgToLbs(kg: number): number;
|
|
5354
|
+
/** Converts pounds to kilograms. */
|
|
5355
|
+
static lbsToKg(lbs: number): number;
|
|
5356
|
+
/** Converts grams to ounces. */
|
|
5357
|
+
static gramsToOunces(g: number): number;
|
|
5358
|
+
/** Converts ounces to grams. */
|
|
5359
|
+
static ouncesToGrams(oz: number): number;
|
|
5360
|
+
/** Converts Celsius to Fahrenheit. */
|
|
5361
|
+
static celsiusToFahrenheit(c: number): number;
|
|
5362
|
+
/** Converts Fahrenheit to Celsius. */
|
|
5363
|
+
static fahrenheitToCelsius(f: number): number;
|
|
5364
|
+
/** Converts Celsius to Kelvin. */
|
|
5365
|
+
static celsiusToKelvin(c: number): number;
|
|
5366
|
+
/** Converts Kelvin to Celsius. */
|
|
5367
|
+
static kelvinToCelsius(k: number): number;
|
|
5368
|
+
/** Converts Fahrenheit to Kelvin. */
|
|
5369
|
+
static fahrenheitToKelvin(f: number): number;
|
|
5370
|
+
/** Converts Kelvin to Fahrenheit. */
|
|
5371
|
+
static kelvinToFahrenheit(k: number): number;
|
|
5372
|
+
/** Converts milliliters to liters. */
|
|
5373
|
+
static mlToLiters(ml: number): number;
|
|
5374
|
+
/** Converts liters to milliliters. */
|
|
5375
|
+
static litersToMl(l: number): number;
|
|
5376
|
+
/** Converts gallons to milliliters. */
|
|
5377
|
+
static gallonsToMl(gal: number): number;
|
|
5378
|
+
/** Converts milliliters to gallons. */
|
|
5379
|
+
static mlToGallons(ml: number): number;
|
|
5380
|
+
/** Converts liters to gallons. */
|
|
5381
|
+
static litersToGallons(l: number): number;
|
|
5382
|
+
/** Converts gallons to liters. */
|
|
5383
|
+
static gallonsToLiters(gal: number): number;
|
|
5384
|
+
/** Converts square meters to square feet. */
|
|
5385
|
+
static sqmToSqft(sqm: number): number;
|
|
5386
|
+
/** Converts square feet to square meters. */
|
|
5387
|
+
static sqftToSqm(sqft: number): number;
|
|
5388
|
+
/** Converts kilometers per hour to miles per hour. */
|
|
5389
|
+
static kmphToMph(kmph: number): number;
|
|
5390
|
+
/** Converts miles per hour to kilometers per hour. */
|
|
5391
|
+
static mphToKmph(mph: number): number;
|
|
5392
|
+
/** Converts minutes to hours. */
|
|
5393
|
+
static minutesToHours(min: number): number;
|
|
5394
|
+
/** Converts seconds to minutes. */
|
|
5395
|
+
static secondsToMinutes(sec: number): number;
|
|
5396
|
+
/** Converts hours to days. */
|
|
5397
|
+
static hoursToDays(hr: number): number;
|
|
5398
|
+
/** Converts hours to minutes. */
|
|
5399
|
+
static hoursToMinutes(h: number): number;
|
|
5400
|
+
/** Converts minutes to seconds. */
|
|
5401
|
+
static minutesToSeconds(m: number): number;
|
|
5402
|
+
/** Converts days to hours. */
|
|
5403
|
+
static daysToHours(d: number): number;
|
|
5404
|
+
/** Converts megabytes to gigabytes. */
|
|
5405
|
+
static mbToGb(mb: number): number;
|
|
5406
|
+
/** Converts gigabytes to megabytes. */
|
|
5407
|
+
static gbToMb(gb: number): number;
|
|
5408
|
+
/** Converts kilobytes to megabytes. */
|
|
5409
|
+
static kbToMb(kb: number): number;
|
|
5410
|
+
/** Converts kilobytes to gigabytes. */
|
|
5411
|
+
static kbToGb(kb: number): number;
|
|
5412
|
+
/** Converts gigabytes to kilobytes. */
|
|
5413
|
+
static gbToKb(gb: number): number;
|
|
5414
|
+
/** Converts bytes to kilobytes. */
|
|
5415
|
+
static bytesToKb(bytes: number): number;
|
|
5416
|
+
/** Converts kilobytes to bytes. */
|
|
5417
|
+
static kbToBytes(kb: number): number;
|
|
5418
|
+
/** Converts megabytes to kilobytes. */
|
|
5419
|
+
static mbToKb(mb: number): number;
|
|
5420
|
+
/** Converts gigabytes to terabytes. */
|
|
5421
|
+
static gbToTb(gb: number): number;
|
|
5422
|
+
/** Converts terabytes to gigabytes. */
|
|
5423
|
+
static tbToGb(tb: number): number;
|
|
5424
|
+
/** Converts joules to calories. */
|
|
5425
|
+
static joulesToCalories(j: number): number;
|
|
5426
|
+
/** Converts calories to joules. */
|
|
5427
|
+
static caloriesToJoules(cal: number): number;
|
|
5428
|
+
/** Converts calories to kilojoules. */
|
|
5429
|
+
static caloriesToKJoules(cal: number): number;
|
|
5430
|
+
/** Converts kilojoules to calories. */
|
|
5431
|
+
static kJoulesToCalories(kj: number): number;
|
|
5432
|
+
/** Converts atmospheres to pascals. */
|
|
5433
|
+
static atmToPascal(atm: number): number;
|
|
5434
|
+
/** Converts pascals to atmospheres. */
|
|
5435
|
+
static pascalToAtm(pa: number): number;
|
|
5436
|
+
/** Converts bar to pascals. */
|
|
5437
|
+
static barToPascal(bar: number): number;
|
|
5438
|
+
/** Converts pascals to bar. */
|
|
5439
|
+
static pascalToBar(pa: number): number;
|
|
5440
|
+
/** Converts hertz to kilohertz. */
|
|
5441
|
+
static hzToKHz(hz: number): number;
|
|
5442
|
+
/** Converts kilohertz to hertz. */
|
|
5443
|
+
static kHzToHz(khz: number): number;
|
|
5444
|
+
/** Converts hertz to megahertz. */
|
|
5445
|
+
static hzToMHz(hz: number): number;
|
|
5446
|
+
/** Converts megahertz to hertz. */
|
|
5447
|
+
static mHzToHz(mhz: number): number;
|
|
5448
|
+
/** Converts kilohertz to megahertz. */
|
|
5449
|
+
static kHzToMHz(khz: number): number;
|
|
5450
|
+
/** Converts megahertz to kilohertz. */
|
|
5451
|
+
static mHzToKHz(mhz: number): number;
|
|
5452
|
+
/** Converts centimeters to meters. */
|
|
5453
|
+
static cmToMeters(cm: number): number;
|
|
5454
|
+
/** Converts meters to centimeters. */
|
|
5455
|
+
static metersToCm(m: number): number;
|
|
5456
|
+
/** Converts millimeters to meters. */
|
|
5457
|
+
static mmToMeters(mm: number): number;
|
|
5458
|
+
/** Converts meters to millimeters. */
|
|
5459
|
+
static metersToMm(m: number): number;
|
|
5460
|
+
/** Converts square kilometers to square meters. */
|
|
5461
|
+
static sqkmToSqm(sqkm: number): number;
|
|
5462
|
+
/** Converts square meters to square kilometers. */
|
|
5463
|
+
static sqmToSqkm(sqm: number): number;
|
|
5464
|
+
/** Converts square feet to square inches. */
|
|
5465
|
+
static sqftToSqin(sqft: number): number;
|
|
5466
|
+
/** Converts square inches to square feet. */
|
|
5467
|
+
static sqinToSqft(sqin: number): number;
|
|
5468
|
+
/** Converts watts to kilowatts. */
|
|
5469
|
+
static wattsToKw(w: number): number;
|
|
5470
|
+
/** Converts kilowatts to watts. */
|
|
5471
|
+
static kwToWatts(kw: number): number;
|
|
5472
|
+
}
|
|
5473
|
+
//#endregion
|
|
5474
|
+
//#region src/object/countries.d.ts
|
|
5475
|
+
/** List of countries with full-name, country code, ISO country code (both 2 & 3 character) */
|
|
5476
|
+
declare const COUNTRIES: readonly [{
|
|
5477
|
+
readonly country_name: "Afghanistan";
|
|
5478
|
+
readonly country_code: "93";
|
|
5479
|
+
readonly iso_code_short: "AF";
|
|
5480
|
+
readonly iso_code: "AFG";
|
|
5481
|
+
}, {
|
|
5482
|
+
readonly country_name: "Albania";
|
|
5483
|
+
readonly country_code: "355";
|
|
5484
|
+
readonly iso_code_short: "AL";
|
|
5485
|
+
readonly iso_code: "ALB";
|
|
5486
|
+
}, {
|
|
5487
|
+
readonly country_name: "Algeria";
|
|
5488
|
+
readonly country_code: "213";
|
|
5489
|
+
readonly iso_code_short: "DZ";
|
|
5490
|
+
readonly iso_code: "DZA";
|
|
5491
|
+
}, {
|
|
5492
|
+
readonly country_name: "American Samoa";
|
|
5493
|
+
readonly country_code: "1-684";
|
|
5494
|
+
readonly iso_code_short: "AS";
|
|
5495
|
+
readonly iso_code: "ASM";
|
|
5496
|
+
}, {
|
|
5497
|
+
readonly country_name: "Andorra";
|
|
5498
|
+
readonly country_code: "376";
|
|
5499
|
+
readonly iso_code_short: "AD";
|
|
5500
|
+
readonly iso_code: "AND";
|
|
5501
|
+
}, {
|
|
5502
|
+
readonly country_name: "Angola";
|
|
5503
|
+
readonly country_code: "244";
|
|
5504
|
+
readonly iso_code_short: "AO";
|
|
5505
|
+
readonly iso_code: "AGO";
|
|
5506
|
+
}, {
|
|
5507
|
+
readonly country_name: "Anguilla";
|
|
5508
|
+
readonly country_code: "1-264";
|
|
5509
|
+
readonly iso_code_short: "AI";
|
|
5510
|
+
readonly iso_code: "AIA";
|
|
5511
|
+
}, {
|
|
5512
|
+
readonly country_name: "Antarctica";
|
|
5513
|
+
readonly country_code: "672";
|
|
5514
|
+
readonly iso_code_short: "AQ";
|
|
5515
|
+
readonly iso_code: "ATA";
|
|
5516
|
+
}, {
|
|
5517
|
+
readonly country_name: "Antigua and Barbuda";
|
|
5518
|
+
readonly country_code: "1-268";
|
|
5519
|
+
readonly iso_code_short: "AG";
|
|
5520
|
+
readonly iso_code: "ATG";
|
|
5521
|
+
}, {
|
|
5522
|
+
readonly country_name: "Argentina";
|
|
5523
|
+
readonly country_code: "54";
|
|
5524
|
+
readonly iso_code_short: "AR";
|
|
5525
|
+
readonly iso_code: "ARG";
|
|
5526
|
+
}, {
|
|
5527
|
+
readonly country_name: "Armenia";
|
|
5528
|
+
readonly country_code: "374";
|
|
5529
|
+
readonly iso_code_short: "AM";
|
|
5530
|
+
readonly iso_code: "ARM";
|
|
5531
|
+
}, {
|
|
5532
|
+
readonly country_name: "Aruba";
|
|
5533
|
+
readonly country_code: "297";
|
|
5534
|
+
readonly iso_code_short: "AW";
|
|
5535
|
+
readonly iso_code: "ABW";
|
|
5536
|
+
}, {
|
|
5537
|
+
readonly country_name: "Australia";
|
|
5538
|
+
readonly country_code: "61";
|
|
5539
|
+
readonly iso_code_short: "AU";
|
|
5540
|
+
readonly iso_code: "AUS";
|
|
5541
|
+
}, {
|
|
5542
|
+
readonly country_name: "Austria";
|
|
5543
|
+
readonly country_code: "43";
|
|
5544
|
+
readonly iso_code_short: "AT";
|
|
5545
|
+
readonly iso_code: "AUT";
|
|
5546
|
+
}, {
|
|
5547
|
+
readonly country_name: "Azerbaijan";
|
|
5548
|
+
readonly country_code: "994";
|
|
5549
|
+
readonly iso_code_short: "AZ";
|
|
5550
|
+
readonly iso_code: "AZE";
|
|
5551
|
+
}, {
|
|
5552
|
+
readonly country_name: "Bahamas";
|
|
5553
|
+
readonly country_code: "1-242";
|
|
5554
|
+
readonly iso_code_short: "BS";
|
|
5555
|
+
readonly iso_code: "BHS";
|
|
5556
|
+
}, {
|
|
5557
|
+
readonly country_name: "Bahrain";
|
|
5558
|
+
readonly country_code: "973";
|
|
5559
|
+
readonly iso_code_short: "BH";
|
|
5560
|
+
readonly iso_code: "BHR";
|
|
5561
|
+
}, {
|
|
5562
|
+
readonly country_name: "Bangladesh";
|
|
5563
|
+
readonly country_code: "880";
|
|
5564
|
+
readonly iso_code_short: "BD";
|
|
5565
|
+
readonly iso_code: "BGD";
|
|
5566
|
+
}, {
|
|
5567
|
+
readonly country_name: "Barbados";
|
|
5568
|
+
readonly country_code: "1-246";
|
|
5569
|
+
readonly iso_code_short: "BB";
|
|
5570
|
+
readonly iso_code: "BRB";
|
|
5571
|
+
}, {
|
|
5572
|
+
readonly country_name: "Belarus";
|
|
5573
|
+
readonly country_code: "375";
|
|
5574
|
+
readonly iso_code_short: "BY";
|
|
5575
|
+
readonly iso_code: "BLR";
|
|
5576
|
+
}, {
|
|
5577
|
+
readonly country_name: "Belgium";
|
|
5578
|
+
readonly country_code: "32";
|
|
5579
|
+
readonly iso_code_short: "BE";
|
|
5580
|
+
readonly iso_code: "BEL";
|
|
5581
|
+
}, {
|
|
5582
|
+
readonly country_name: "Belize";
|
|
5583
|
+
readonly country_code: "501";
|
|
5584
|
+
readonly iso_code_short: "BZ";
|
|
5585
|
+
readonly iso_code: "BLZ";
|
|
5586
|
+
}, {
|
|
5587
|
+
readonly country_name: "Benin";
|
|
5588
|
+
readonly country_code: "229";
|
|
5589
|
+
readonly iso_code_short: "BJ";
|
|
5590
|
+
readonly iso_code: "BEN";
|
|
5591
|
+
}, {
|
|
5592
|
+
readonly country_name: "Bermuda";
|
|
5593
|
+
readonly country_code: "1-441";
|
|
5594
|
+
readonly iso_code_short: "BM";
|
|
5595
|
+
readonly iso_code: "BMU";
|
|
5596
|
+
}, {
|
|
5597
|
+
readonly country_name: "Bhutan";
|
|
5598
|
+
readonly country_code: "975";
|
|
5599
|
+
readonly iso_code_short: "BT";
|
|
5600
|
+
readonly iso_code: "BTN";
|
|
5601
|
+
}, {
|
|
5602
|
+
readonly country_name: "Bolivia";
|
|
5603
|
+
readonly country_code: "591";
|
|
5604
|
+
readonly iso_code_short: "BO";
|
|
5605
|
+
readonly iso_code: "BOL";
|
|
5606
|
+
}, {
|
|
5607
|
+
readonly country_name: "Bosnia and Herzegovina";
|
|
5608
|
+
readonly country_code: "387";
|
|
5609
|
+
readonly iso_code_short: "BA";
|
|
5610
|
+
readonly iso_code: "BIH";
|
|
5611
|
+
}, {
|
|
5612
|
+
readonly country_name: "Botswana";
|
|
5613
|
+
readonly country_code: "267";
|
|
5614
|
+
readonly iso_code_short: "BW";
|
|
5615
|
+
readonly iso_code: "BWA";
|
|
5616
|
+
}, {
|
|
5617
|
+
readonly country_name: "Brazil";
|
|
5618
|
+
readonly country_code: "55";
|
|
5619
|
+
readonly iso_code_short: "BR";
|
|
5620
|
+
readonly iso_code: "BRA";
|
|
5621
|
+
}, {
|
|
5622
|
+
readonly country_name: "British Indian Ocean Territory";
|
|
5623
|
+
readonly country_code: "246";
|
|
5624
|
+
readonly iso_code_short: "IO";
|
|
5625
|
+
readonly iso_code: "IOT";
|
|
5626
|
+
}, {
|
|
5627
|
+
readonly country_name: "British Virgin Islands";
|
|
5628
|
+
readonly country_code: "1-284";
|
|
5629
|
+
readonly iso_code_short: "VG";
|
|
5630
|
+
readonly iso_code: "VGB";
|
|
5631
|
+
}, {
|
|
5632
|
+
readonly country_name: "Brunei";
|
|
5633
|
+
readonly country_code: "673";
|
|
5634
|
+
readonly iso_code_short: "BN";
|
|
5635
|
+
readonly iso_code: "BRN";
|
|
5636
|
+
}, {
|
|
5637
|
+
readonly country_name: "Bulgaria";
|
|
5638
|
+
readonly country_code: "359";
|
|
5639
|
+
readonly iso_code_short: "BG";
|
|
5640
|
+
readonly iso_code: "BGR";
|
|
5641
|
+
}, {
|
|
5642
|
+
readonly country_name: "Burkina Faso";
|
|
5643
|
+
readonly country_code: "226";
|
|
5644
|
+
readonly iso_code_short: "BF";
|
|
5645
|
+
readonly iso_code: "BFA";
|
|
5646
|
+
}, {
|
|
5647
|
+
readonly country_name: "Burundi";
|
|
5648
|
+
readonly country_code: "257";
|
|
5649
|
+
readonly iso_code_short: "BI";
|
|
5650
|
+
readonly iso_code: "BDI";
|
|
5651
|
+
}, {
|
|
5652
|
+
readonly country_name: "Cambodia";
|
|
5653
|
+
readonly country_code: "855";
|
|
5654
|
+
readonly iso_code_short: "KH";
|
|
5655
|
+
readonly iso_code: "KHM";
|
|
5656
|
+
}, {
|
|
5657
|
+
readonly country_name: "Cameroon";
|
|
5658
|
+
readonly country_code: "237";
|
|
5659
|
+
readonly iso_code_short: "CM";
|
|
5660
|
+
readonly iso_code: "CMR";
|
|
5661
|
+
}, {
|
|
5662
|
+
readonly country_name: "Canada";
|
|
5663
|
+
readonly country_code: "1";
|
|
5664
|
+
readonly iso_code_short: "CA";
|
|
5665
|
+
readonly iso_code: "CAN";
|
|
5666
|
+
}, {
|
|
5667
|
+
readonly country_name: "Cape Verde";
|
|
5668
|
+
readonly country_code: "238";
|
|
5669
|
+
readonly iso_code_short: "CV";
|
|
5670
|
+
readonly iso_code: "CPV";
|
|
5671
|
+
}, {
|
|
5672
|
+
readonly country_name: "Cayman Islands";
|
|
5673
|
+
readonly country_code: "1-345";
|
|
5674
|
+
readonly iso_code_short: "KY";
|
|
5675
|
+
readonly iso_code: "CYM";
|
|
5676
|
+
}, {
|
|
5677
|
+
readonly country_name: "Central African Republic";
|
|
5678
|
+
readonly country_code: "236";
|
|
5679
|
+
readonly iso_code_short: "CF";
|
|
5680
|
+
readonly iso_code: "CAF";
|
|
5681
|
+
}, {
|
|
5682
|
+
readonly country_name: "Chad";
|
|
5683
|
+
readonly country_code: "235";
|
|
5684
|
+
readonly iso_code_short: "TD";
|
|
5685
|
+
readonly iso_code: "TCD";
|
|
5686
|
+
}, {
|
|
5687
|
+
readonly country_name: "Chile";
|
|
5688
|
+
readonly country_code: "56";
|
|
5689
|
+
readonly iso_code_short: "CL";
|
|
5690
|
+
readonly iso_code: "CHL";
|
|
5691
|
+
}, {
|
|
5692
|
+
readonly country_name: "China";
|
|
5693
|
+
readonly country_code: "86";
|
|
5694
|
+
readonly iso_code_short: "CN";
|
|
5695
|
+
readonly iso_code: "CHN";
|
|
5696
|
+
}, {
|
|
5697
|
+
readonly country_name: "Christmas Island";
|
|
5698
|
+
readonly country_code: "61";
|
|
5699
|
+
readonly iso_code_short: "CX";
|
|
5700
|
+
readonly iso_code: "CXR";
|
|
5701
|
+
}, {
|
|
5702
|
+
readonly country_name: "Cocos Islands";
|
|
5703
|
+
readonly country_code: "61";
|
|
5704
|
+
readonly iso_code_short: "CC";
|
|
5705
|
+
readonly iso_code: "CCK";
|
|
5706
|
+
}, {
|
|
5707
|
+
readonly country_name: "Colombia";
|
|
5708
|
+
readonly country_code: "57";
|
|
5709
|
+
readonly iso_code_short: "CO";
|
|
5710
|
+
readonly iso_code: "COL";
|
|
5711
|
+
}, {
|
|
5712
|
+
readonly country_name: "Comoros";
|
|
5713
|
+
readonly country_code: "269";
|
|
5714
|
+
readonly iso_code_short: "KM";
|
|
5715
|
+
readonly iso_code: "COM";
|
|
5716
|
+
}, {
|
|
5717
|
+
readonly country_name: "Cook Islands";
|
|
5718
|
+
readonly country_code: "682";
|
|
5719
|
+
readonly iso_code_short: "CK";
|
|
5720
|
+
readonly iso_code: "COK";
|
|
5721
|
+
}, {
|
|
5722
|
+
readonly country_name: "Costa Rica";
|
|
5723
|
+
readonly country_code: "506";
|
|
5724
|
+
readonly iso_code_short: "CR";
|
|
5725
|
+
readonly iso_code: "CRI";
|
|
5726
|
+
}, {
|
|
5727
|
+
readonly country_name: "Croatia";
|
|
5728
|
+
readonly country_code: "385";
|
|
5729
|
+
readonly iso_code_short: "HR";
|
|
5730
|
+
readonly iso_code: "HRV";
|
|
5731
|
+
}, {
|
|
5732
|
+
readonly country_name: "Cuba";
|
|
5733
|
+
readonly country_code: "53";
|
|
5734
|
+
readonly iso_code_short: "CU";
|
|
5735
|
+
readonly iso_code: "CUB";
|
|
5736
|
+
}, {
|
|
5737
|
+
readonly country_name: "Curacao";
|
|
5738
|
+
readonly country_code: "599";
|
|
5739
|
+
readonly iso_code_short: "CW";
|
|
5740
|
+
readonly iso_code: "CUW";
|
|
5741
|
+
}, {
|
|
5742
|
+
readonly country_name: "Cyprus";
|
|
5743
|
+
readonly country_code: "357";
|
|
5744
|
+
readonly iso_code_short: "CY";
|
|
5745
|
+
readonly iso_code: "CYP";
|
|
5746
|
+
}, {
|
|
5747
|
+
readonly country_name: "Czech Republic";
|
|
5748
|
+
readonly country_code: "420";
|
|
5749
|
+
readonly iso_code_short: "CZ";
|
|
5750
|
+
readonly iso_code: "CZE";
|
|
5751
|
+
}, {
|
|
5752
|
+
readonly country_name: "Democratic Republic of the Congo";
|
|
5753
|
+
readonly country_code: "243";
|
|
5754
|
+
readonly iso_code_short: "CD";
|
|
5755
|
+
readonly iso_code: "COD";
|
|
5756
|
+
}, {
|
|
5757
|
+
readonly country_name: "Denmark";
|
|
5758
|
+
readonly country_code: "45";
|
|
5759
|
+
readonly iso_code_short: "DK";
|
|
5760
|
+
readonly iso_code: "DNK";
|
|
5761
|
+
}, {
|
|
5762
|
+
readonly country_name: "Djibouti";
|
|
5763
|
+
readonly country_code: "253";
|
|
5764
|
+
readonly iso_code_short: "DJ";
|
|
5765
|
+
readonly iso_code: "DJI";
|
|
5766
|
+
}, {
|
|
5767
|
+
readonly country_name: "Dominica";
|
|
5768
|
+
readonly country_code: "1-767";
|
|
5769
|
+
readonly iso_code_short: "DM";
|
|
5770
|
+
readonly iso_code: "DMA";
|
|
5771
|
+
}, {
|
|
5772
|
+
readonly country_name: "Dominican Republic";
|
|
5773
|
+
readonly country_code: "1-809, 1-829, 1-849";
|
|
5774
|
+
readonly iso_code_short: "DO";
|
|
5775
|
+
readonly iso_code: "DOM";
|
|
5776
|
+
}, {
|
|
5777
|
+
readonly country_name: "East Timor";
|
|
5778
|
+
readonly country_code: "670";
|
|
5779
|
+
readonly iso_code_short: "TL";
|
|
5780
|
+
readonly iso_code: "TLS";
|
|
5781
|
+
}, {
|
|
5782
|
+
readonly country_name: "Ecuador";
|
|
5783
|
+
readonly country_code: "593";
|
|
5784
|
+
readonly iso_code_short: "EC";
|
|
5785
|
+
readonly iso_code: "ECU";
|
|
5786
|
+
}, {
|
|
5787
|
+
readonly country_name: "Egypt";
|
|
5788
|
+
readonly country_code: "20";
|
|
5789
|
+
readonly iso_code_short: "EG";
|
|
5790
|
+
readonly iso_code: "EGY";
|
|
5791
|
+
}, {
|
|
5792
|
+
readonly country_name: "El Salvador";
|
|
5793
|
+
readonly country_code: "503";
|
|
5794
|
+
readonly iso_code_short: "SV";
|
|
5795
|
+
readonly iso_code: "SLV";
|
|
5796
|
+
}, {
|
|
5797
|
+
readonly country_name: "Equatorial Guinea";
|
|
5798
|
+
readonly country_code: "240";
|
|
5799
|
+
readonly iso_code_short: "GQ";
|
|
5800
|
+
readonly iso_code: "GNQ";
|
|
5801
|
+
}, {
|
|
5802
|
+
readonly country_name: "Eritrea";
|
|
5803
|
+
readonly country_code: "291";
|
|
5804
|
+
readonly iso_code_short: "ER";
|
|
5805
|
+
readonly iso_code: "ERI";
|
|
5806
|
+
}, {
|
|
5807
|
+
readonly country_name: "Estonia";
|
|
5808
|
+
readonly country_code: "372";
|
|
5809
|
+
readonly iso_code_short: "EE";
|
|
5810
|
+
readonly iso_code: "EST";
|
|
5811
|
+
}, {
|
|
5812
|
+
readonly country_name: "Ethiopia";
|
|
5813
|
+
readonly country_code: "251";
|
|
5814
|
+
readonly iso_code_short: "ET";
|
|
5815
|
+
readonly iso_code: "ETH";
|
|
5816
|
+
}, {
|
|
5817
|
+
readonly country_name: "Falkland Islands";
|
|
5818
|
+
readonly country_code: "500";
|
|
5819
|
+
readonly iso_code_short: "FK";
|
|
5820
|
+
readonly iso_code: "FLK";
|
|
5821
|
+
}, {
|
|
5822
|
+
readonly country_name: "Faroe Islands";
|
|
5823
|
+
readonly country_code: "298";
|
|
5824
|
+
readonly iso_code_short: "FO";
|
|
5825
|
+
readonly iso_code: "FRO";
|
|
5826
|
+
}, {
|
|
5827
|
+
readonly country_name: "Fiji";
|
|
5828
|
+
readonly country_code: "679";
|
|
5829
|
+
readonly iso_code_short: "FJ";
|
|
5830
|
+
readonly iso_code: "FJI";
|
|
5831
|
+
}, {
|
|
5832
|
+
readonly country_name: "Finland";
|
|
5833
|
+
readonly country_code: "358";
|
|
5834
|
+
readonly iso_code_short: "FI";
|
|
5835
|
+
readonly iso_code: "FIN";
|
|
5836
|
+
}, {
|
|
5837
|
+
readonly country_name: "France";
|
|
5838
|
+
readonly country_code: "33";
|
|
5839
|
+
readonly iso_code_short: "FR";
|
|
5840
|
+
readonly iso_code: "FRA";
|
|
5841
|
+
}, {
|
|
5842
|
+
readonly country_name: "French Polynesia";
|
|
5843
|
+
readonly country_code: "689";
|
|
5844
|
+
readonly iso_code_short: "PF";
|
|
5845
|
+
readonly iso_code: "PYF";
|
|
5846
|
+
}, {
|
|
5847
|
+
readonly country_name: "Gabon";
|
|
5848
|
+
readonly country_code: "241";
|
|
5849
|
+
readonly iso_code_short: "GA";
|
|
5850
|
+
readonly iso_code: "GAB";
|
|
5851
|
+
}, {
|
|
5852
|
+
readonly country_name: "Gambia";
|
|
5853
|
+
readonly country_code: "220";
|
|
5854
|
+
readonly iso_code_short: "GM";
|
|
5855
|
+
readonly iso_code: "GMB";
|
|
5856
|
+
}, {
|
|
5857
|
+
readonly country_name: "Georgia";
|
|
5858
|
+
readonly country_code: "995";
|
|
5859
|
+
readonly iso_code_short: "GE";
|
|
5860
|
+
readonly iso_code: "GEO";
|
|
5861
|
+
}, {
|
|
5862
|
+
readonly country_name: "Germany";
|
|
5863
|
+
readonly country_code: "49";
|
|
5864
|
+
readonly iso_code_short: "DE";
|
|
5865
|
+
readonly iso_code: "DEU";
|
|
5866
|
+
}, {
|
|
5867
|
+
readonly country_name: "Ghana";
|
|
5868
|
+
readonly country_code: "233";
|
|
5869
|
+
readonly iso_code_short: "GH";
|
|
5870
|
+
readonly iso_code: "GHA";
|
|
5871
|
+
}, {
|
|
5872
|
+
readonly country_name: "Gibraltar";
|
|
5873
|
+
readonly country_code: "350";
|
|
5874
|
+
readonly iso_code_short: "GI";
|
|
5875
|
+
readonly iso_code: "GIB";
|
|
5876
|
+
}, {
|
|
5877
|
+
readonly country_name: "Greece";
|
|
5878
|
+
readonly country_code: "30";
|
|
5879
|
+
readonly iso_code_short: "GR";
|
|
5880
|
+
readonly iso_code: "GRC";
|
|
5881
|
+
}, {
|
|
5882
|
+
readonly country_name: "Greenland";
|
|
5883
|
+
readonly country_code: "299";
|
|
5884
|
+
readonly iso_code_short: "GL";
|
|
5885
|
+
readonly iso_code: "GRL";
|
|
5886
|
+
}, {
|
|
5887
|
+
readonly country_name: "Grenada";
|
|
5888
|
+
readonly country_code: "1-473";
|
|
5889
|
+
readonly iso_code_short: "GD";
|
|
5890
|
+
readonly iso_code: "GRD";
|
|
5891
|
+
}, {
|
|
5892
|
+
readonly country_name: "Guam";
|
|
5893
|
+
readonly country_code: "1-671";
|
|
5894
|
+
readonly iso_code_short: "GU";
|
|
5895
|
+
readonly iso_code: "GUM";
|
|
5896
|
+
}, {
|
|
5897
|
+
readonly country_name: "Guatemala";
|
|
5898
|
+
readonly country_code: "502";
|
|
5899
|
+
readonly iso_code_short: "GT";
|
|
5900
|
+
readonly iso_code: "GTM";
|
|
5901
|
+
}, {
|
|
5902
|
+
readonly country_name: "Guernsey";
|
|
5903
|
+
readonly country_code: "44-1481";
|
|
5904
|
+
readonly iso_code_short: "GG";
|
|
5905
|
+
readonly iso_code: "GGY";
|
|
5906
|
+
}, {
|
|
5907
|
+
readonly country_name: "Guinea";
|
|
5908
|
+
readonly country_code: "224";
|
|
5909
|
+
readonly iso_code_short: "GN";
|
|
5910
|
+
readonly iso_code: "GIN";
|
|
5911
|
+
}, {
|
|
5912
|
+
readonly country_name: "Guinea-Bissau";
|
|
5913
|
+
readonly country_code: "245";
|
|
5914
|
+
readonly iso_code_short: "GW";
|
|
5915
|
+
readonly iso_code: "GNB";
|
|
5916
|
+
}, {
|
|
5917
|
+
readonly country_name: "Guyana";
|
|
5918
|
+
readonly country_code: "592";
|
|
5919
|
+
readonly iso_code_short: "GY";
|
|
5920
|
+
readonly iso_code: "GUY";
|
|
5921
|
+
}, {
|
|
5922
|
+
readonly country_name: "Haiti";
|
|
5923
|
+
readonly country_code: "509";
|
|
5924
|
+
readonly iso_code_short: "HT";
|
|
5925
|
+
readonly iso_code: "HTI";
|
|
5926
|
+
}, {
|
|
5927
|
+
readonly country_name: "Honduras";
|
|
5928
|
+
readonly country_code: "504";
|
|
5929
|
+
readonly iso_code_short: "HN";
|
|
5930
|
+
readonly iso_code: "HND";
|
|
5931
|
+
}, {
|
|
5932
|
+
readonly country_name: "Hong Kong";
|
|
5933
|
+
readonly country_code: "852";
|
|
5934
|
+
readonly iso_code_short: "HK";
|
|
5935
|
+
readonly iso_code: "HKG";
|
|
5936
|
+
}, {
|
|
5937
|
+
readonly country_name: "Hungary";
|
|
5938
|
+
readonly country_code: "36";
|
|
5939
|
+
readonly iso_code_short: "HU";
|
|
5940
|
+
readonly iso_code: "HUN";
|
|
5941
|
+
}, {
|
|
5942
|
+
readonly country_name: "Iceland";
|
|
5943
|
+
readonly country_code: "354";
|
|
5944
|
+
readonly iso_code_short: "IS";
|
|
5945
|
+
readonly iso_code: "ISL";
|
|
5946
|
+
}, {
|
|
5947
|
+
readonly country_name: "India";
|
|
5948
|
+
readonly country_code: "91";
|
|
5949
|
+
readonly iso_code_short: "IN";
|
|
5950
|
+
readonly iso_code: "IND";
|
|
5951
|
+
}, {
|
|
5952
|
+
readonly country_name: "Indonesia";
|
|
5953
|
+
readonly country_code: "62";
|
|
5954
|
+
readonly iso_code_short: "ID";
|
|
5955
|
+
readonly iso_code: "IDN";
|
|
5956
|
+
}, {
|
|
5957
|
+
readonly country_name: "Iran";
|
|
5958
|
+
readonly country_code: "98";
|
|
5959
|
+
readonly iso_code_short: "IR";
|
|
5960
|
+
readonly iso_code: "IRN";
|
|
5961
|
+
}, {
|
|
5962
|
+
readonly country_name: "Iraq";
|
|
5963
|
+
readonly country_code: "964";
|
|
5964
|
+
readonly iso_code_short: "IQ";
|
|
5965
|
+
readonly iso_code: "IRQ";
|
|
5966
|
+
}, {
|
|
5967
|
+
readonly country_name: "Ireland";
|
|
5968
|
+
readonly country_code: "353";
|
|
5969
|
+
readonly iso_code_short: "IE";
|
|
5970
|
+
readonly iso_code: "IRL";
|
|
5971
|
+
}, {
|
|
5972
|
+
readonly country_name: "Isle of Man";
|
|
5973
|
+
readonly country_code: "44-1624";
|
|
5974
|
+
readonly iso_code_short: "IM";
|
|
5975
|
+
readonly iso_code: "IMN";
|
|
5976
|
+
}, {
|
|
5977
|
+
readonly country_name: "Israel";
|
|
5978
|
+
readonly country_code: "972";
|
|
5979
|
+
readonly iso_code_short: "IL";
|
|
5980
|
+
readonly iso_code: "ISR";
|
|
5981
|
+
}, {
|
|
5982
|
+
readonly country_name: "Italy";
|
|
5983
|
+
readonly country_code: "39";
|
|
5984
|
+
readonly iso_code_short: "IT";
|
|
5985
|
+
readonly iso_code: "ITA";
|
|
5986
|
+
}, {
|
|
5987
|
+
readonly country_name: "Ivory Coast";
|
|
5988
|
+
readonly country_code: "225";
|
|
5989
|
+
readonly iso_code_short: "CI";
|
|
5990
|
+
readonly iso_code: "CIV";
|
|
5991
|
+
}, {
|
|
5992
|
+
readonly country_name: "Jamaica";
|
|
5993
|
+
readonly country_code: "1-876";
|
|
5994
|
+
readonly iso_code_short: "JM";
|
|
5995
|
+
readonly iso_code: "JAM";
|
|
5996
|
+
}, {
|
|
5997
|
+
readonly country_name: "Japan";
|
|
5998
|
+
readonly country_code: "81";
|
|
5999
|
+
readonly iso_code_short: "JP";
|
|
6000
|
+
readonly iso_code: "JPN";
|
|
6001
|
+
}, {
|
|
6002
|
+
readonly country_name: "Jersey";
|
|
6003
|
+
readonly country_code: "44-1534";
|
|
6004
|
+
readonly iso_code_short: "JE";
|
|
6005
|
+
readonly iso_code: "JEY";
|
|
6006
|
+
}, {
|
|
6007
|
+
readonly country_name: "Jordan";
|
|
6008
|
+
readonly country_code: "962";
|
|
6009
|
+
readonly iso_code_short: "JO";
|
|
6010
|
+
readonly iso_code: "JOR";
|
|
6011
|
+
}, {
|
|
6012
|
+
readonly country_name: "Kazakhstan";
|
|
6013
|
+
readonly country_code: "7";
|
|
6014
|
+
readonly iso_code_short: "KZ";
|
|
6015
|
+
readonly iso_code: "KAZ";
|
|
6016
|
+
}, {
|
|
6017
|
+
readonly country_name: "Kenya";
|
|
6018
|
+
readonly country_code: "254";
|
|
6019
|
+
readonly iso_code_short: "KE";
|
|
6020
|
+
readonly iso_code: "KEN";
|
|
6021
|
+
}, {
|
|
6022
|
+
readonly country_name: "Kiribati";
|
|
6023
|
+
readonly country_code: "686";
|
|
6024
|
+
readonly iso_code_short: "KI";
|
|
6025
|
+
readonly iso_code: "KIR";
|
|
6026
|
+
}, {
|
|
6027
|
+
readonly country_name: "Kosovo";
|
|
6028
|
+
readonly country_code: "383";
|
|
6029
|
+
readonly iso_code_short: "XK";
|
|
6030
|
+
readonly iso_code: "XKX";
|
|
6031
|
+
}, {
|
|
6032
|
+
readonly country_name: "Kuwait";
|
|
6033
|
+
readonly country_code: "965";
|
|
6034
|
+
readonly iso_code_short: "KW";
|
|
6035
|
+
readonly iso_code: "KWT";
|
|
6036
|
+
}, {
|
|
6037
|
+
readonly country_name: "Kyrgyzstan";
|
|
6038
|
+
readonly country_code: "996";
|
|
6039
|
+
readonly iso_code_short: "KG";
|
|
6040
|
+
readonly iso_code: "KGZ";
|
|
6041
|
+
}, {
|
|
6042
|
+
readonly country_name: "Laos";
|
|
6043
|
+
readonly country_code: "856";
|
|
6044
|
+
readonly iso_code_short: "LA";
|
|
6045
|
+
readonly iso_code: "LAO";
|
|
6046
|
+
}, {
|
|
6047
|
+
readonly country_name: "Latvia";
|
|
6048
|
+
readonly country_code: "371";
|
|
6049
|
+
readonly iso_code_short: "LV";
|
|
6050
|
+
readonly iso_code: "LVA";
|
|
6051
|
+
}, {
|
|
6052
|
+
readonly country_name: "Lebanon";
|
|
6053
|
+
readonly country_code: "961";
|
|
6054
|
+
readonly iso_code_short: "LB";
|
|
6055
|
+
readonly iso_code: "LBN";
|
|
6056
|
+
}, {
|
|
6057
|
+
readonly country_name: "Lesotho";
|
|
6058
|
+
readonly country_code: "266";
|
|
6059
|
+
readonly iso_code_short: "LS";
|
|
6060
|
+
readonly iso_code: "LSO";
|
|
6061
|
+
}, {
|
|
6062
|
+
readonly country_name: "Liberia";
|
|
6063
|
+
readonly country_code: "231";
|
|
6064
|
+
readonly iso_code_short: "LR";
|
|
6065
|
+
readonly iso_code: "LBR";
|
|
6066
|
+
}, {
|
|
6067
|
+
readonly country_name: "Libya";
|
|
6068
|
+
readonly country_code: "218";
|
|
6069
|
+
readonly iso_code_short: "LY";
|
|
6070
|
+
readonly iso_code: "LBY";
|
|
6071
|
+
}, {
|
|
6072
|
+
readonly country_name: "Liechtenstein";
|
|
6073
|
+
readonly country_code: "423";
|
|
6074
|
+
readonly iso_code_short: "LI";
|
|
6075
|
+
readonly iso_code: "LIE";
|
|
6076
|
+
}, {
|
|
6077
|
+
readonly country_name: "Lithuania";
|
|
6078
|
+
readonly country_code: "370";
|
|
6079
|
+
readonly iso_code_short: "LT";
|
|
6080
|
+
readonly iso_code: "LTU";
|
|
6081
|
+
}, {
|
|
6082
|
+
readonly country_name: "Luxembourg";
|
|
6083
|
+
readonly country_code: "352";
|
|
6084
|
+
readonly iso_code_short: "LU";
|
|
6085
|
+
readonly iso_code: "LUX";
|
|
6086
|
+
}, {
|
|
6087
|
+
readonly country_name: "Macau";
|
|
6088
|
+
readonly country_code: "853";
|
|
6089
|
+
readonly iso_code_short: "MO";
|
|
6090
|
+
readonly iso_code: "MAC";
|
|
6091
|
+
}, {
|
|
6092
|
+
readonly country_name: "Macedonia";
|
|
6093
|
+
readonly country_code: "389";
|
|
6094
|
+
readonly iso_code_short: "MK";
|
|
6095
|
+
readonly iso_code: "MKD";
|
|
6096
|
+
}, {
|
|
6097
|
+
readonly country_name: "Madagascar";
|
|
6098
|
+
readonly country_code: "261";
|
|
6099
|
+
readonly iso_code_short: "MG";
|
|
6100
|
+
readonly iso_code: "MDG";
|
|
6101
|
+
}, {
|
|
6102
|
+
readonly country_name: "Malawi";
|
|
6103
|
+
readonly country_code: "265";
|
|
6104
|
+
readonly iso_code_short: "MW";
|
|
6105
|
+
readonly iso_code: "MWI";
|
|
6106
|
+
}, {
|
|
6107
|
+
readonly country_name: "Malaysia";
|
|
6108
|
+
readonly country_code: "60";
|
|
6109
|
+
readonly iso_code_short: "MY";
|
|
6110
|
+
readonly iso_code: "MYS";
|
|
6111
|
+
}, {
|
|
6112
|
+
readonly country_name: "Maldives";
|
|
6113
|
+
readonly country_code: "960";
|
|
6114
|
+
readonly iso_code_short: "MV";
|
|
6115
|
+
readonly iso_code: "MDV";
|
|
6116
|
+
}, {
|
|
6117
|
+
readonly country_name: "Mali";
|
|
6118
|
+
readonly country_code: "223";
|
|
6119
|
+
readonly iso_code_short: "ML";
|
|
6120
|
+
readonly iso_code: "MLI";
|
|
6121
|
+
}, {
|
|
6122
|
+
readonly country_name: "Malta";
|
|
6123
|
+
readonly country_code: "356";
|
|
6124
|
+
readonly iso_code_short: "MT";
|
|
6125
|
+
readonly iso_code: "MLT";
|
|
6126
|
+
}, {
|
|
6127
|
+
readonly country_name: "Marshall Islands";
|
|
6128
|
+
readonly country_code: "692";
|
|
6129
|
+
readonly iso_code_short: "MH";
|
|
6130
|
+
readonly iso_code: "MHL";
|
|
6131
|
+
}, {
|
|
6132
|
+
readonly country_name: "Mauritania";
|
|
6133
|
+
readonly country_code: "222";
|
|
6134
|
+
readonly iso_code_short: "MR";
|
|
6135
|
+
readonly iso_code: "MRT";
|
|
6136
|
+
}, {
|
|
6137
|
+
readonly country_name: "Mauritius";
|
|
6138
|
+
readonly country_code: "230";
|
|
6139
|
+
readonly iso_code_short: "MU";
|
|
6140
|
+
readonly iso_code: "MUS";
|
|
6141
|
+
}, {
|
|
6142
|
+
readonly country_name: "Mayotte";
|
|
6143
|
+
readonly country_code: "262";
|
|
6144
|
+
readonly iso_code_short: "YT";
|
|
6145
|
+
readonly iso_code: "MYT";
|
|
6146
|
+
}, {
|
|
6147
|
+
readonly country_name: "Mexico";
|
|
6148
|
+
readonly country_code: "52";
|
|
6149
|
+
readonly iso_code_short: "MX";
|
|
6150
|
+
readonly iso_code: "MEX";
|
|
6151
|
+
}, {
|
|
6152
|
+
readonly country_name: "Micronesia";
|
|
6153
|
+
readonly country_code: "691";
|
|
6154
|
+
readonly iso_code_short: "FM";
|
|
6155
|
+
readonly iso_code: "FSM";
|
|
6156
|
+
}, {
|
|
6157
|
+
readonly country_name: "Moldova";
|
|
6158
|
+
readonly country_code: "373";
|
|
6159
|
+
readonly iso_code_short: "MD";
|
|
6160
|
+
readonly iso_code: "MDA";
|
|
6161
|
+
}, {
|
|
6162
|
+
readonly country_name: "Monaco";
|
|
6163
|
+
readonly country_code: "377";
|
|
6164
|
+
readonly iso_code_short: "MC";
|
|
6165
|
+
readonly iso_code: "MCO";
|
|
6166
|
+
}, {
|
|
6167
|
+
readonly country_name: "Mongolia";
|
|
6168
|
+
readonly country_code: "976";
|
|
6169
|
+
readonly iso_code_short: "MN";
|
|
6170
|
+
readonly iso_code: "MNG";
|
|
6171
|
+
}, {
|
|
6172
|
+
readonly country_name: "Montenegro";
|
|
6173
|
+
readonly country_code: "382";
|
|
6174
|
+
readonly iso_code_short: "ME";
|
|
6175
|
+
readonly iso_code: "MNE";
|
|
6176
|
+
}, {
|
|
6177
|
+
readonly country_name: "Montserrat";
|
|
6178
|
+
readonly country_code: "1-664";
|
|
6179
|
+
readonly iso_code_short: "MS";
|
|
6180
|
+
readonly iso_code: "MSR";
|
|
6181
|
+
}, {
|
|
6182
|
+
readonly country_name: "Morocco";
|
|
6183
|
+
readonly country_code: "212";
|
|
6184
|
+
readonly iso_code_short: "MA";
|
|
6185
|
+
readonly iso_code: "MAR";
|
|
6186
|
+
}, {
|
|
6187
|
+
readonly country_name: "Mozambique";
|
|
6188
|
+
readonly country_code: "258";
|
|
6189
|
+
readonly iso_code_short: "MZ";
|
|
6190
|
+
readonly iso_code: "MOZ";
|
|
6191
|
+
}, {
|
|
6192
|
+
readonly country_name: "Myanmar";
|
|
6193
|
+
readonly country_code: "95";
|
|
6194
|
+
readonly iso_code_short: "MM";
|
|
6195
|
+
readonly iso_code: "MMR";
|
|
6196
|
+
}, {
|
|
6197
|
+
readonly country_name: "Namibia";
|
|
6198
|
+
readonly country_code: "264";
|
|
6199
|
+
readonly iso_code_short: "NA";
|
|
6200
|
+
readonly iso_code: "NAM";
|
|
6201
|
+
}, {
|
|
6202
|
+
readonly country_name: "Nauru";
|
|
6203
|
+
readonly country_code: "674";
|
|
6204
|
+
readonly iso_code_short: "NR";
|
|
6205
|
+
readonly iso_code: "NRU";
|
|
6206
|
+
}, {
|
|
6207
|
+
readonly country_name: "Nepal";
|
|
6208
|
+
readonly country_code: "977";
|
|
6209
|
+
readonly iso_code_short: "NP";
|
|
6210
|
+
readonly iso_code: "NPL";
|
|
6211
|
+
}, {
|
|
6212
|
+
readonly country_name: "Netherlands";
|
|
6213
|
+
readonly country_code: "31";
|
|
6214
|
+
readonly iso_code_short: "NL";
|
|
6215
|
+
readonly iso_code: "NLD";
|
|
6216
|
+
}, {
|
|
6217
|
+
readonly country_name: "Netherlands Antilles";
|
|
6218
|
+
readonly country_code: "599";
|
|
6219
|
+
readonly iso_code_short: "AN";
|
|
6220
|
+
readonly iso_code: "ANT";
|
|
6221
|
+
}, {
|
|
6222
|
+
readonly country_name: "New Caledonia";
|
|
6223
|
+
readonly country_code: "687";
|
|
6224
|
+
readonly iso_code_short: "NC";
|
|
6225
|
+
readonly iso_code: "NCL";
|
|
6226
|
+
}, {
|
|
6227
|
+
readonly country_name: "New Zealand";
|
|
6228
|
+
readonly country_code: "64";
|
|
6229
|
+
readonly iso_code_short: "NZ";
|
|
6230
|
+
readonly iso_code: "NZL";
|
|
6231
|
+
}, {
|
|
6232
|
+
readonly country_name: "Nicaragua";
|
|
6233
|
+
readonly country_code: "505";
|
|
6234
|
+
readonly iso_code_short: "NI";
|
|
6235
|
+
readonly iso_code: "NIC";
|
|
6236
|
+
}, {
|
|
6237
|
+
readonly country_name: "Niger";
|
|
6238
|
+
readonly country_code: "227";
|
|
6239
|
+
readonly iso_code_short: "NE";
|
|
6240
|
+
readonly iso_code: "NER";
|
|
6241
|
+
}, {
|
|
6242
|
+
readonly country_name: "Nigeria";
|
|
6243
|
+
readonly country_code: "234";
|
|
6244
|
+
readonly iso_code_short: "NG";
|
|
6245
|
+
readonly iso_code: "NGA";
|
|
6246
|
+
}, {
|
|
6247
|
+
readonly country_name: "Niue";
|
|
6248
|
+
readonly country_code: "683";
|
|
6249
|
+
readonly iso_code_short: "NU";
|
|
6250
|
+
readonly iso_code: "NIU";
|
|
6251
|
+
}, {
|
|
6252
|
+
readonly country_name: "North Korea";
|
|
6253
|
+
readonly country_code: "850";
|
|
6254
|
+
readonly iso_code_short: "KP";
|
|
6255
|
+
readonly iso_code: "PRK";
|
|
6256
|
+
}, {
|
|
6257
|
+
readonly country_name: "Northern Mariana Islands";
|
|
6258
|
+
readonly country_code: "1-670";
|
|
6259
|
+
readonly iso_code_short: "MP";
|
|
6260
|
+
readonly iso_code: "MNP";
|
|
6261
|
+
}, {
|
|
6262
|
+
readonly country_name: "Norway";
|
|
6263
|
+
readonly country_code: "47";
|
|
6264
|
+
readonly iso_code_short: "NO";
|
|
6265
|
+
readonly iso_code: "NOR";
|
|
6266
|
+
}, {
|
|
6267
|
+
readonly country_name: "Oman";
|
|
6268
|
+
readonly country_code: "968";
|
|
6269
|
+
readonly iso_code_short: "OM";
|
|
6270
|
+
readonly iso_code: "OMN";
|
|
6271
|
+
}, {
|
|
6272
|
+
readonly country_name: "Pakistan";
|
|
6273
|
+
readonly country_code: "92";
|
|
6274
|
+
readonly iso_code_short: "PK";
|
|
6275
|
+
readonly iso_code: "PAK";
|
|
6276
|
+
}, {
|
|
6277
|
+
readonly country_name: "Palau";
|
|
6278
|
+
readonly country_code: "680";
|
|
6279
|
+
readonly iso_code_short: "PW";
|
|
6280
|
+
readonly iso_code: "PLW";
|
|
6281
|
+
}, {
|
|
6282
|
+
readonly country_name: "Palestine";
|
|
6283
|
+
readonly country_code: "970";
|
|
6284
|
+
readonly iso_code_short: "PS";
|
|
6285
|
+
readonly iso_code: "PSE";
|
|
6286
|
+
}, {
|
|
6287
|
+
readonly country_name: "Panama";
|
|
6288
|
+
readonly country_code: "507";
|
|
6289
|
+
readonly iso_code_short: "PA";
|
|
6290
|
+
readonly iso_code: "PAN";
|
|
6291
|
+
}, {
|
|
6292
|
+
readonly country_name: "Papua New Guinea";
|
|
6293
|
+
readonly country_code: "675";
|
|
6294
|
+
readonly iso_code_short: "PG";
|
|
6295
|
+
readonly iso_code: "PNG";
|
|
6296
|
+
}, {
|
|
6297
|
+
readonly country_name: "Paraguay";
|
|
6298
|
+
readonly country_code: "595";
|
|
6299
|
+
readonly iso_code_short: "PY";
|
|
6300
|
+
readonly iso_code: "PRY";
|
|
6301
|
+
}, {
|
|
6302
|
+
readonly country_name: "Peru";
|
|
6303
|
+
readonly country_code: "51";
|
|
6304
|
+
readonly iso_code_short: "PE";
|
|
6305
|
+
readonly iso_code: "PER";
|
|
6306
|
+
}, {
|
|
6307
|
+
readonly country_name: "Philippines";
|
|
6308
|
+
readonly country_code: "63";
|
|
6309
|
+
readonly iso_code_short: "PH";
|
|
6310
|
+
readonly iso_code: "PHL";
|
|
6311
|
+
}, {
|
|
6312
|
+
readonly country_name: "Pitcairn";
|
|
6313
|
+
readonly country_code: "64";
|
|
6314
|
+
readonly iso_code_short: "PN";
|
|
6315
|
+
readonly iso_code: "PCN";
|
|
6316
|
+
}, {
|
|
6317
|
+
readonly country_name: "Poland";
|
|
6318
|
+
readonly country_code: "48";
|
|
6319
|
+
readonly iso_code_short: "PL";
|
|
6320
|
+
readonly iso_code: "POL";
|
|
6321
|
+
}, {
|
|
6322
|
+
readonly country_name: "Portugal";
|
|
6323
|
+
readonly country_code: "351";
|
|
6324
|
+
readonly iso_code_short: "PT";
|
|
6325
|
+
readonly iso_code: "PRT";
|
|
6326
|
+
}, {
|
|
6327
|
+
readonly country_name: "Puerto Rico";
|
|
6328
|
+
readonly country_code: "1-787, 1-939";
|
|
6329
|
+
readonly iso_code_short: "PR";
|
|
6330
|
+
readonly iso_code: "PRI";
|
|
6331
|
+
}, {
|
|
6332
|
+
readonly country_name: "Qatar";
|
|
6333
|
+
readonly country_code: "974";
|
|
6334
|
+
readonly iso_code_short: "QA";
|
|
6335
|
+
readonly iso_code: "QAT";
|
|
6336
|
+
}, {
|
|
6337
|
+
readonly country_name: "Republic of the Congo";
|
|
6338
|
+
readonly country_code: "242";
|
|
6339
|
+
readonly iso_code_short: "CG";
|
|
6340
|
+
readonly iso_code: "COG";
|
|
6341
|
+
}, {
|
|
6342
|
+
readonly country_name: "Reunion";
|
|
6343
|
+
readonly country_code: "262";
|
|
6344
|
+
readonly iso_code_short: "RE";
|
|
6345
|
+
readonly iso_code: "REU";
|
|
6346
|
+
}, {
|
|
6347
|
+
readonly country_name: "Romania";
|
|
6348
|
+
readonly country_code: "40";
|
|
6349
|
+
readonly iso_code_short: "RO";
|
|
6350
|
+
readonly iso_code: "ROU";
|
|
6351
|
+
}, {
|
|
6352
|
+
readonly country_name: "Russia";
|
|
6353
|
+
readonly country_code: "7";
|
|
6354
|
+
readonly iso_code_short: "RU";
|
|
6355
|
+
readonly iso_code: "RUS";
|
|
6356
|
+
}, {
|
|
6357
|
+
readonly country_name: "Rwanda";
|
|
6358
|
+
readonly country_code: "250";
|
|
6359
|
+
readonly iso_code_short: "RW";
|
|
6360
|
+
readonly iso_code: "RWA";
|
|
6361
|
+
}, {
|
|
6362
|
+
readonly country_name: "Saint Barthelemy";
|
|
6363
|
+
readonly country_code: "590";
|
|
6364
|
+
readonly iso_code_short: "BL";
|
|
6365
|
+
readonly iso_code: "BLM";
|
|
6366
|
+
}, {
|
|
6367
|
+
readonly country_name: "Saint Helena";
|
|
6368
|
+
readonly country_code: "290";
|
|
6369
|
+
readonly iso_code_short: "SH";
|
|
6370
|
+
readonly iso_code: "SHN";
|
|
6371
|
+
}, {
|
|
6372
|
+
readonly country_name: "Saint Kitts and Nevis";
|
|
6373
|
+
readonly country_code: "1-869";
|
|
6374
|
+
readonly iso_code_short: "KN";
|
|
6375
|
+
readonly iso_code: "KNA";
|
|
6376
|
+
}, {
|
|
6377
|
+
readonly country_name: "Saint Lucia";
|
|
6378
|
+
readonly country_code: "1-758";
|
|
6379
|
+
readonly iso_code_short: "LC";
|
|
6380
|
+
readonly iso_code: "LCA";
|
|
6381
|
+
}, {
|
|
6382
|
+
readonly country_name: "Saint Martin";
|
|
6383
|
+
readonly country_code: "590";
|
|
6384
|
+
readonly iso_code_short: "MF";
|
|
6385
|
+
readonly iso_code: "MAF";
|
|
6386
|
+
}, {
|
|
6387
|
+
readonly country_name: "Saint Pierre and Miquelon";
|
|
6388
|
+
readonly country_code: "508";
|
|
6389
|
+
readonly iso_code_short: "PM";
|
|
6390
|
+
readonly iso_code: "SPM";
|
|
6391
|
+
}, {
|
|
6392
|
+
readonly country_name: "Saint Vincent and the Grenadines";
|
|
6393
|
+
readonly country_code: "1-784";
|
|
6394
|
+
readonly iso_code_short: "VC";
|
|
6395
|
+
readonly iso_code: "VCT";
|
|
6396
|
+
}, {
|
|
6397
|
+
readonly country_name: "Samoa";
|
|
6398
|
+
readonly country_code: "685";
|
|
6399
|
+
readonly iso_code_short: "WS";
|
|
6400
|
+
readonly iso_code: "WSM";
|
|
6401
|
+
}, {
|
|
6402
|
+
readonly country_name: "San Marino";
|
|
6403
|
+
readonly country_code: "378";
|
|
6404
|
+
readonly iso_code_short: "SM";
|
|
6405
|
+
readonly iso_code: "SMR";
|
|
6406
|
+
}, {
|
|
6407
|
+
readonly country_name: "Sao Tome and Principe";
|
|
6408
|
+
readonly country_code: "239";
|
|
6409
|
+
readonly iso_code_short: "ST";
|
|
6410
|
+
readonly iso_code: "STP";
|
|
6411
|
+
}, {
|
|
6412
|
+
readonly country_name: "Saudi Arabia";
|
|
6413
|
+
readonly country_code: "966";
|
|
6414
|
+
readonly iso_code_short: "SA";
|
|
6415
|
+
readonly iso_code: "SAU";
|
|
6416
|
+
}, {
|
|
6417
|
+
readonly country_name: "Senegal";
|
|
6418
|
+
readonly country_code: "221";
|
|
6419
|
+
readonly iso_code_short: "SN";
|
|
6420
|
+
readonly iso_code: "SEN";
|
|
6421
|
+
}, {
|
|
6422
|
+
readonly country_name: "Serbia";
|
|
6423
|
+
readonly country_code: "381";
|
|
6424
|
+
readonly iso_code_short: "RS";
|
|
6425
|
+
readonly iso_code: "SRB";
|
|
6426
|
+
}, {
|
|
6427
|
+
readonly country_name: "Seychelles";
|
|
6428
|
+
readonly country_code: "248";
|
|
6429
|
+
readonly iso_code_short: "SC";
|
|
6430
|
+
readonly iso_code: "SYC";
|
|
6431
|
+
}, {
|
|
6432
|
+
readonly country_name: "Sierra Leone";
|
|
6433
|
+
readonly country_code: "232";
|
|
6434
|
+
readonly iso_code_short: "SL";
|
|
6435
|
+
readonly iso_code: "SLE";
|
|
6436
|
+
}, {
|
|
6437
|
+
readonly country_name: "Singapore";
|
|
6438
|
+
readonly country_code: "65";
|
|
6439
|
+
readonly iso_code_short: "SG";
|
|
6440
|
+
readonly iso_code: "SGP";
|
|
6441
|
+
}, {
|
|
6442
|
+
readonly country_name: "Sint Maarten";
|
|
6443
|
+
readonly country_code: "1-721";
|
|
6444
|
+
readonly iso_code_short: "SX";
|
|
6445
|
+
readonly iso_code: "SXM";
|
|
6446
|
+
}, {
|
|
6447
|
+
readonly country_name: "Slovakia";
|
|
6448
|
+
readonly country_code: "421";
|
|
6449
|
+
readonly iso_code_short: "SK";
|
|
6450
|
+
readonly iso_code: "SVK";
|
|
6451
|
+
}, {
|
|
6452
|
+
readonly country_name: "Slovenia";
|
|
6453
|
+
readonly country_code: "386";
|
|
6454
|
+
readonly iso_code_short: "SI";
|
|
6455
|
+
readonly iso_code: "SVN";
|
|
6456
|
+
}, {
|
|
6457
|
+
readonly country_name: "Solomon Islands";
|
|
6458
|
+
readonly country_code: "677";
|
|
6459
|
+
readonly iso_code_short: "SB";
|
|
6460
|
+
readonly iso_code: "SLB";
|
|
6461
|
+
}, {
|
|
6462
|
+
readonly country_name: "Somalia";
|
|
6463
|
+
readonly country_code: "252";
|
|
6464
|
+
readonly iso_code_short: "SO";
|
|
6465
|
+
readonly iso_code: "SOM";
|
|
6466
|
+
}, {
|
|
6467
|
+
readonly country_name: "South Africa";
|
|
6468
|
+
readonly country_code: "27";
|
|
6469
|
+
readonly iso_code_short: "ZA";
|
|
6470
|
+
readonly iso_code: "ZAF";
|
|
6471
|
+
}, {
|
|
6472
|
+
readonly country_name: "South Korea";
|
|
6473
|
+
readonly country_code: "82";
|
|
6474
|
+
readonly iso_code_short: "KR";
|
|
6475
|
+
readonly iso_code: "KOR";
|
|
6476
|
+
}, {
|
|
6477
|
+
readonly country_name: "South Sudan";
|
|
6478
|
+
readonly country_code: "211";
|
|
6479
|
+
readonly iso_code_short: "SS";
|
|
6480
|
+
readonly iso_code: "SSD";
|
|
6481
|
+
}, {
|
|
6482
|
+
readonly country_name: "Spain";
|
|
6483
|
+
readonly country_code: "34";
|
|
6484
|
+
readonly iso_code_short: "ES";
|
|
6485
|
+
readonly iso_code: "ESP";
|
|
6486
|
+
}, {
|
|
6487
|
+
readonly country_name: "Sri Lanka";
|
|
6488
|
+
readonly country_code: "94";
|
|
6489
|
+
readonly iso_code_short: "LK";
|
|
6490
|
+
readonly iso_code: "LKA";
|
|
6491
|
+
}, {
|
|
6492
|
+
readonly country_name: "Sudan";
|
|
6493
|
+
readonly country_code: "249";
|
|
6494
|
+
readonly iso_code_short: "SD";
|
|
6495
|
+
readonly iso_code: "SDN";
|
|
6496
|
+
}, {
|
|
6497
|
+
readonly country_name: "Suriname";
|
|
6498
|
+
readonly country_code: "597";
|
|
6499
|
+
readonly iso_code_short: "SR";
|
|
6500
|
+
readonly iso_code: "SUR";
|
|
6501
|
+
}, {
|
|
6502
|
+
readonly country_name: "Svalbard and Jan Mayen";
|
|
6503
|
+
readonly country_code: "47";
|
|
6504
|
+
readonly iso_code_short: "SJ";
|
|
6505
|
+
readonly iso_code: "SJM";
|
|
6506
|
+
}, {
|
|
6507
|
+
readonly country_name: "Swaziland";
|
|
6508
|
+
readonly country_code: "268";
|
|
6509
|
+
readonly iso_code_short: "SZ";
|
|
6510
|
+
readonly iso_code: "SWZ";
|
|
6511
|
+
}, {
|
|
6512
|
+
readonly country_name: "Sweden";
|
|
6513
|
+
readonly country_code: "46";
|
|
6514
|
+
readonly iso_code_short: "SE";
|
|
6515
|
+
readonly iso_code: "SWE";
|
|
6516
|
+
}, {
|
|
6517
|
+
readonly country_name: "Switzerland";
|
|
6518
|
+
readonly country_code: "41";
|
|
6519
|
+
readonly iso_code_short: "CH";
|
|
6520
|
+
readonly iso_code: "CHE";
|
|
6521
|
+
}, {
|
|
6522
|
+
readonly country_name: "Syria";
|
|
6523
|
+
readonly country_code: "963";
|
|
6524
|
+
readonly iso_code_short: "SY";
|
|
6525
|
+
readonly iso_code: "SYR";
|
|
6526
|
+
}, {
|
|
6527
|
+
readonly country_name: "Taiwan";
|
|
6528
|
+
readonly country_code: "886";
|
|
6529
|
+
readonly iso_code_short: "TW";
|
|
6530
|
+
readonly iso_code: "TWN";
|
|
6531
|
+
}, {
|
|
6532
|
+
readonly country_name: "Tajikistan";
|
|
6533
|
+
readonly country_code: "992";
|
|
6534
|
+
readonly iso_code_short: "TJ";
|
|
6535
|
+
readonly iso_code: "TJK";
|
|
6536
|
+
}, {
|
|
6537
|
+
readonly country_name: "Tanzania";
|
|
6538
|
+
readonly country_code: "255";
|
|
6539
|
+
readonly iso_code_short: "TZ";
|
|
6540
|
+
readonly iso_code: "TZA";
|
|
6541
|
+
}, {
|
|
6542
|
+
readonly country_name: "Thailand";
|
|
6543
|
+
readonly country_code: "66";
|
|
6544
|
+
readonly iso_code_short: "TH";
|
|
6545
|
+
readonly iso_code: "THA";
|
|
6546
|
+
}, {
|
|
6547
|
+
readonly country_name: "Togo";
|
|
6548
|
+
readonly country_code: "228";
|
|
6549
|
+
readonly iso_code_short: "TG";
|
|
6550
|
+
readonly iso_code: "TGO";
|
|
6551
|
+
}, {
|
|
6552
|
+
readonly country_name: "Tokelau";
|
|
6553
|
+
readonly country_code: "690";
|
|
6554
|
+
readonly iso_code_short: "TK";
|
|
6555
|
+
readonly iso_code: "TKL";
|
|
6556
|
+
}, {
|
|
6557
|
+
readonly country_name: "Tonga";
|
|
6558
|
+
readonly country_code: "676";
|
|
6559
|
+
readonly iso_code_short: "TO";
|
|
6560
|
+
readonly iso_code: "TON";
|
|
6561
|
+
}, {
|
|
6562
|
+
readonly country_name: "Trinidad and Tobago";
|
|
6563
|
+
readonly country_code: "1-868";
|
|
6564
|
+
readonly iso_code_short: "TT";
|
|
6565
|
+
readonly iso_code: "TTO";
|
|
6566
|
+
}, {
|
|
6567
|
+
readonly country_name: "Tunisia";
|
|
6568
|
+
readonly country_code: "216";
|
|
6569
|
+
readonly iso_code_short: "TN";
|
|
6570
|
+
readonly iso_code: "TUN";
|
|
6571
|
+
}, {
|
|
6572
|
+
readonly country_name: "Turkey";
|
|
6573
|
+
readonly country_code: "90";
|
|
6574
|
+
readonly iso_code_short: "TR";
|
|
6575
|
+
readonly iso_code: "TUR";
|
|
6576
|
+
}, {
|
|
6577
|
+
readonly country_name: "Turkmenistan";
|
|
6578
|
+
readonly country_code: "993";
|
|
6579
|
+
readonly iso_code_short: "TM";
|
|
6580
|
+
readonly iso_code: "TKM";
|
|
6581
|
+
}, {
|
|
6582
|
+
readonly country_name: "Turks and Caicos Islands";
|
|
6583
|
+
readonly country_code: "1-649";
|
|
6584
|
+
readonly iso_code_short: "TC";
|
|
6585
|
+
readonly iso_code: "TCA";
|
|
6586
|
+
}, {
|
|
6587
|
+
readonly country_name: "Tuvalu";
|
|
6588
|
+
readonly country_code: "688";
|
|
6589
|
+
readonly iso_code_short: "TV";
|
|
6590
|
+
readonly iso_code: "TUV";
|
|
6591
|
+
}, {
|
|
6592
|
+
readonly country_name: "U.S. Virgin Islands";
|
|
6593
|
+
readonly country_code: "1-340";
|
|
6594
|
+
readonly iso_code_short: "VI";
|
|
6595
|
+
readonly iso_code: "VIR";
|
|
6596
|
+
}, {
|
|
6597
|
+
readonly country_name: "Uganda";
|
|
6598
|
+
readonly country_code: "256";
|
|
6599
|
+
readonly iso_code_short: "UG";
|
|
6600
|
+
readonly iso_code: "UGA";
|
|
6601
|
+
}, {
|
|
6602
|
+
readonly country_name: "Ukraine";
|
|
6603
|
+
readonly country_code: "380";
|
|
6604
|
+
readonly iso_code_short: "UA";
|
|
6605
|
+
readonly iso_code: "UKR";
|
|
6606
|
+
}, {
|
|
6607
|
+
readonly country_name: "United Arab Emirates";
|
|
6608
|
+
readonly country_code: "971";
|
|
6609
|
+
readonly iso_code_short: "AE";
|
|
6610
|
+
readonly iso_code: "ARE";
|
|
6611
|
+
}, {
|
|
6612
|
+
readonly country_name: "United Kingdom";
|
|
6613
|
+
readonly country_code: "44";
|
|
6614
|
+
readonly iso_code_short: "GB";
|
|
6615
|
+
readonly iso_code: "GBR";
|
|
6616
|
+
}, {
|
|
6617
|
+
readonly country_name: "United States";
|
|
6618
|
+
readonly country_code: "1";
|
|
6619
|
+
readonly iso_code_short: "US";
|
|
6620
|
+
readonly iso_code: "USA";
|
|
6621
|
+
}, {
|
|
6622
|
+
readonly country_name: "Uruguay";
|
|
6623
|
+
readonly country_code: "598";
|
|
6624
|
+
readonly iso_code_short: "UY";
|
|
6625
|
+
readonly iso_code: "URY";
|
|
6626
|
+
}, {
|
|
6627
|
+
readonly country_name: "Uzbekistan";
|
|
6628
|
+
readonly country_code: "998";
|
|
6629
|
+
readonly iso_code_short: "UZ";
|
|
6630
|
+
readonly iso_code: "UZB";
|
|
6631
|
+
}, {
|
|
6632
|
+
readonly country_name: "Vanuatu";
|
|
6633
|
+
readonly country_code: "678";
|
|
6634
|
+
readonly iso_code_short: "VU";
|
|
6635
|
+
readonly iso_code: "VUT";
|
|
6636
|
+
}, {
|
|
6637
|
+
readonly country_name: "Vatican";
|
|
6638
|
+
readonly country_code: "379";
|
|
6639
|
+
readonly iso_code_short: "VA";
|
|
6640
|
+
readonly iso_code: "VAT";
|
|
6641
|
+
}, {
|
|
6642
|
+
readonly country_name: "Venezuela";
|
|
6643
|
+
readonly country_code: "58";
|
|
6644
|
+
readonly iso_code_short: "VE";
|
|
6645
|
+
readonly iso_code: "VEN";
|
|
6646
|
+
}, {
|
|
6647
|
+
readonly country_name: "Vietnam";
|
|
6648
|
+
readonly country_code: "84";
|
|
6649
|
+
readonly iso_code_short: "VN";
|
|
6650
|
+
readonly iso_code: "VNM";
|
|
6651
|
+
}, {
|
|
6652
|
+
readonly country_name: "Wallis and Futuna";
|
|
6653
|
+
readonly country_code: "681";
|
|
6654
|
+
readonly iso_code_short: "WF";
|
|
6655
|
+
readonly iso_code: "WLF";
|
|
6656
|
+
}, {
|
|
6657
|
+
readonly country_name: "Western Sahara";
|
|
6658
|
+
readonly country_code: "212";
|
|
6659
|
+
readonly iso_code_short: "EH";
|
|
6660
|
+
readonly iso_code: "ESH";
|
|
6661
|
+
}, {
|
|
6662
|
+
readonly country_name: "Yemen";
|
|
6663
|
+
readonly country_code: "967";
|
|
6664
|
+
readonly iso_code_short: "YE";
|
|
6665
|
+
readonly iso_code: "YEM";
|
|
6666
|
+
}, {
|
|
6667
|
+
readonly country_name: "Zambia";
|
|
6668
|
+
readonly country_code: "260";
|
|
6669
|
+
readonly iso_code_short: "ZM";
|
|
6670
|
+
readonly iso_code: "ZMB";
|
|
6671
|
+
}, {
|
|
6672
|
+
readonly country_name: "Zimbabwe";
|
|
6673
|
+
readonly country_code: "263";
|
|
6674
|
+
readonly iso_code_short: "ZW";
|
|
6675
|
+
readonly iso_code: "ZWE";
|
|
6676
|
+
}];
|
|
6677
|
+
//#endregion
|
|
6678
|
+
//#region src/types/object.d.ts
|
|
6679
|
+
/** - Generic object with `unknown` value */
|
|
6680
|
+
type StrictObject = Record<string, unknown>;
|
|
6681
|
+
/** - Generic object but with `any` value */
|
|
6682
|
+
type GenericObject = Record<string, any>;
|
|
6683
|
+
/** - A tuple of generic objects */
|
|
6684
|
+
type Objects = readonly [GenericObject, ...GenericObject[]];
|
|
6474
6685
|
/**
|
|
6475
|
-
*
|
|
6476
|
-
*
|
|
6477
|
-
* Includes static methods for:
|
|
6478
|
-
* - Length: meters, feet, kilometers, miles
|
|
6479
|
-
* - Mass: kilograms, pounds, grams, ounces
|
|
6480
|
-
* - Temperature: Celsius, Fahrenheit, Kelvin
|
|
6481
|
-
* - Volume: liters, gallons
|
|
6482
|
-
* - Area: square meters, square feet
|
|
6483
|
-
* - Speed: km/h, mph
|
|
6484
|
-
* - Time: hours, minutes, seconds, days
|
|
6485
|
-
* - Digital Storage: kilobytes, megabytes, gigabytes
|
|
6486
|
-
* - Energy: joules, calories
|
|
6487
|
-
* - Pressure: atm, pascals
|
|
6488
|
-
* - Frequency: Hz, kHz
|
|
6686
|
+
* - Prettify all object properties into a readable form.
|
|
6489
6687
|
*
|
|
6490
|
-
* @
|
|
6688
|
+
* @note It is recommended to use it only with `MergeAll<T>`, `FlattenValue<T>` and/or `FlattenLeafValue<T>`. For other other cases use {@link https://toolbox-x.nazmul-nhb.dev/docs/types/utility-types#prettifyt Prettify<T>}
|
|
6491
6689
|
*/
|
|
6492
|
-
|
|
6493
|
-
|
|
6494
|
-
|
|
6495
|
-
|
|
6496
|
-
|
|
6497
|
-
|
|
6498
|
-
|
|
6499
|
-
|
|
6500
|
-
|
|
6501
|
-
|
|
6502
|
-
|
|
6503
|
-
|
|
6504
|
-
|
|
6505
|
-
|
|
6506
|
-
|
|
6507
|
-
|
|
6508
|
-
|
|
6509
|
-
|
|
6510
|
-
|
|
6511
|
-
|
|
6512
|
-
|
|
6513
|
-
|
|
6514
|
-
|
|
6515
|
-
|
|
6516
|
-
|
|
6517
|
-
|
|
6518
|
-
|
|
6519
|
-
|
|
6520
|
-
|
|
6521
|
-
|
|
6522
|
-
|
|
6523
|
-
|
|
6524
|
-
|
|
6525
|
-
|
|
6526
|
-
|
|
6527
|
-
|
|
6528
|
-
|
|
6529
|
-
|
|
6690
|
+
type ExpandAll<T> = T extends AdvancedTypes ? T : T extends GenericObject ? { [K in keyof T]: ExpandAll<T[K]> } : T;
|
|
6691
|
+
/** - Merges all properties of the input objects into a single object type. */
|
|
6692
|
+
type MergeAll<T extends readonly GenericObject[]> = { [K in keyof $UnionToIntersection<T[number]>]: $UnionToIntersection<T[number]>[K] };
|
|
6693
|
+
/** - Dot-notation keys for flattened nested objects with `any` value (including optional properties) */
|
|
6694
|
+
type FlattenDotKey<T> = T extends AdvancedTypes ? never : T extends GenericObject ? { [K in keyof T & string]: NonNullable<T[K]> extends Function ? never : NonNullable<T[K]> extends AdvancedTypes ? K : NonNullable<T[K]> extends GenericObject ? `${K}.${FlattenDotKey<NonNullable<T[K]>>}` : `${K}` }[keyof T & string] : never;
|
|
6695
|
+
/** - Gets the value at a dot-notation key path */
|
|
6696
|
+
type DotValue<T, K extends string> = K extends `${infer P}.${infer Rest}` ? P extends keyof T ? undefined extends T[P] ? Maybe<DotValue<NonNullable<T[P]>, Rest>> : DotValue<T[P], Rest> : never : K extends keyof T ? T[K] : never;
|
|
6697
|
+
/** - Flattens the values of a nested object into a single level against the dot-notation key */
|
|
6698
|
+
type FlattenDotValue<T> = { [K in FlattenDotKey<T>]?: DotValue<T, K> };
|
|
6699
|
+
/** - Extracts only leaf-level key names (excluding objects/functions) */
|
|
6700
|
+
type FlattenLeafKey<T> = T extends AdvancedTypes ? never : T extends GenericObject ? { [K in keyof T & string]: NonNullable<T[K]> extends Function ? never : NonNullable<T[K]> extends AdvancedTypes ? K : NonNullable<T[K]> extends GenericObject ? FlattenLeafKey<T[K]> : K }[keyof T & string] : never;
|
|
6701
|
+
/** - Gets value for a flat leaf key (assumes there are no duplicates! Duplicates are merged into one), */
|
|
6702
|
+
type LeafValue<T, K extends string> = K extends keyof T ? T[K] : T extends GenericObject ? { [P in keyof T & string]: NonNullable<T[P]> extends GenericObject ? LeafValue<NonNullable<T[P]>, K> : never }[keyof T & string] : never;
|
|
6703
|
+
/** - Final flattened object with only leaf keys */
|
|
6704
|
+
type FlattenLeafValue<T> = { [K in FlattenLeafKey<T>]?: LeafValue<T, K> };
|
|
6705
|
+
/**
|
|
6706
|
+
* * Represents a value that can be used in a query object.
|
|
6707
|
+
* - Can be a primitive, an array of primitives, or a nested query object.
|
|
6708
|
+
*/
|
|
6709
|
+
type QueryObjectValue = NormalPrimitive | NormalPrimitive[] | QueryObject;
|
|
6710
|
+
/**
|
|
6711
|
+
* * Represents a query object with string keys and `QueryObjectValue` values.
|
|
6712
|
+
* - Supports nested objects and arrays.
|
|
6713
|
+
*/
|
|
6714
|
+
type QueryObject = {
|
|
6715
|
+
[key: string]: QueryObjectValue;
|
|
6716
|
+
};
|
|
6717
|
+
/** Generic query object type */
|
|
6718
|
+
type ParsedQueryGeneric = Record<string, NormalPrimitive | NormalPrimitive[]>;
|
|
6719
|
+
/** Create tuples (key-value pairs) from query string, e.g. `$QueryPairs<'hello=hola&hello=hi'>` to `["hello=hola", "hello=hi"]` */
|
|
6720
|
+
type $QueryPairs<Q extends string> = Split<Q extends `?${infer Rest}` ? Rest : Q, '&'>;
|
|
6721
|
+
/** If a provided key has multiple values, convert the values into a separate tuple, e.g. `$ValuesOfKey<['hello=hi', 'hello=bye'], 'hello'>` to `["hi", "bye"]` */
|
|
6722
|
+
type $ValuesOfKey<Pairs extends string[], K extends string> = Pairs extends [infer Head extends string, ...infer Tail extends string[]] ? Head extends `${K}=${infer V}` ? [V, ...$ValuesOfKey<Tail, K>] : $ValuesOfKey<Tail, K> : [];
|
|
6723
|
+
/** Query object parsed from a literal string */
|
|
6724
|
+
type ParsedQuery<Q extends string> = Prettify<{ [K in $QueryPairs<Q>[number] extends `${infer Key}=${string}` ? Key : never]: $ValuesOfKey<$QueryPairs<Q>, K> extends [infer Only] ? Only : $ValuesOfKey<$QueryPairs<Q>, K> }>;
|
|
6725
|
+
/** - Object type with string or number or boolean as value for each key. */
|
|
6726
|
+
type GenericObjectPrimitive = Record<string, string | number | boolean>;
|
|
6727
|
+
/** - Dot-notation keys for nested objects with unknown value (including optional properties) */
|
|
6728
|
+
type DotNotationKeyStrict<T> = T extends AdvancedTypes ? never : T extends StrictObject ? { [K in keyof T & string]: T[K] extends Function ? never : T[K] extends StrictObject ? `${K}` | `${K}.${DotNotationKey<T[K]>}` : `${K}` }[keyof T & string] : never;
|
|
6729
|
+
/** - Dot-notation keys for nested objects with `any` value (including optional properties) */
|
|
6730
|
+
type DotNotationKey<T> = T extends AdvancedTypes ? never : T extends GenericObject ? { [K in keyof T & string]: T[K] extends Function ? never : T[K] extends GenericObject ? `${K}` | `${K}.${DotNotationKey<T[K]>}` : `${K}` }[keyof T & string] : never;
|
|
6731
|
+
/** - Object keys where the value is an array (including optional properties) */
|
|
6732
|
+
type KeyForArray<T> = T extends GenericObject ? { [K in keyof T & string]: T[K] extends Function ? never : T[K] extends Array<unknown> ? K : never }[keyof T & string] : never;
|
|
6733
|
+
/** - Object keys where the value is a non-array/non-advanced type object (including optional properties) */
|
|
6734
|
+
type KeyForObject<T> = T extends AdvancedTypes ? never : T extends GenericObject ? { [K in keyof T & string]: T[K] extends Function ? never : T[K] extends GenericObject ? T[K] extends AdvancedTypes ? never : K : never }[keyof T & string] : never;
|
|
6735
|
+
/** - Extract only keys with string values from an object, including nested dot-notation keys. */
|
|
6736
|
+
type NestedKeyString<T> = T extends AdvancedTypes ? never : T extends GenericObject ? { [K in keyof T & string]: T[K] extends Function ? never : T[K] extends string ? K : T[K] extends GenericObject ? `${K}.${NestedKeyString<T[K]>}` : never }[keyof T & string] : never;
|
|
6737
|
+
/** - Extract only primitive keys from an object, including nested dot-notation keys. */
|
|
6738
|
+
type NestedPrimitiveKey<T> = T extends AdvancedTypes ? never : T extends GenericObject ? { [K in keyof T & string]: T[K] extends Function ? never : T[K] extends NormalPrimitive ? K : T[K] extends GenericObject ? `${K}.${NestedPrimitiveKey<T[K]>}` : never }[keyof T & string] : never;
|
|
6739
|
+
/** - Extract only number, string, undefined and null keys from an object, including nested dot-notation keys. */
|
|
6740
|
+
type NumericDotKey<T> = T extends AdvancedTypes ? never : T extends GenericObject ? { [K in keyof T & string]: T[K] extends Function ? never : T[K] extends Exclude<NormalPrimitive, boolean> ? K : T[K] extends GenericObject ? `${K}.${NumericDotKey<T[K]>}` : never }[keyof T & string] : never;
|
|
6741
|
+
/** - Recursively extracts all keys of an object (includes nested keys) as a union. */
|
|
6742
|
+
type DeepKeys<T extends GenericObject> = T extends AdvancedTypes ? never : keyof T | { [K in keyof T]: T[K] extends GenericObject ? DeepKeys<T[K]> : never }[keyof T];
|
|
6743
|
+
/** - Converts the union of keys from {@link DeepKeys<T>} into a tuple. */
|
|
6744
|
+
type DeepKeysTuple<T extends GenericObject> = Tuple<DeepKeys<T>>;
|
|
6745
|
+
/** - Options for `sanitizeData` utility. */
|
|
6746
|
+
interface SanitizeOptions<T, Ignored extends DotNotationKey<T>> {
|
|
6530
6747
|
/**
|
|
6531
|
-
*
|
|
6532
|
-
*
|
|
6533
|
-
*
|
|
6534
|
-
* @param fromPrefix The SI prefix of the source unit.
|
|
6535
|
-
* @param toPrefix The SI prefix of the target unit.
|
|
6536
|
-
* @returns The converted numeric value.
|
|
6748
|
+
* An array of dot-notation keys to exclude from the sanitized output.
|
|
6749
|
+
* This is only applicable when sanitizing plain objects or arrays of objects.
|
|
6750
|
+
* When applied to nested or irregular array structures, behavior may be inconsistent or partially ignored.
|
|
6537
6751
|
*/
|
|
6538
|
-
|
|
6752
|
+
keysToIgnore?: Ignored[];
|
|
6753
|
+
/** Whether to trim string values. Defaults to `true`. */
|
|
6754
|
+
trimStrings?: boolean;
|
|
6755
|
+
/** Whether to exclude nullish (`null` or `undefined`) values. Defaults to `false`. */
|
|
6756
|
+
ignoreNullish?: boolean;
|
|
6757
|
+
/** Whether to exclude all falsy values (`false`, `0`, `empty string: ''`, `null`, `undefined`. Defaults to `false`. */
|
|
6758
|
+
ignoreFalsy?: boolean;
|
|
6759
|
+
/** Whether to exclude empty object(s) and array(s) (`{}`, `[]`). Defaults to `false`. */
|
|
6760
|
+
ignoreEmpty?: boolean;
|
|
6539
6761
|
/**
|
|
6540
|
-
*
|
|
6541
|
-
*
|
|
6542
|
-
*
|
|
6543
|
-
* @param from Prefixed unit string (e.g., 'kB', 'mg').
|
|
6544
|
-
* @param to Target prefixed unit string (e.g., 'MB', 'g').
|
|
6545
|
-
* @returns The converted numeric value.
|
|
6762
|
+
* An array of dot-notation key paths that must be preserved in the sanitized output.
|
|
6763
|
+
* Use `"*"` to retain all keys. This applies primarily to plain or nested objects and arrays of objects.
|
|
6764
|
+
* When applied to nested or irregular array structures, behavior may be inconsistent or partially ignored.
|
|
6546
6765
|
*/
|
|
6547
|
-
|
|
6548
|
-
|
|
6549
|
-
|
|
6550
|
-
|
|
6551
|
-
|
|
6552
|
-
|
|
6553
|
-
|
|
6554
|
-
|
|
6555
|
-
|
|
6556
|
-
|
|
6557
|
-
|
|
6558
|
-
|
|
6559
|
-
|
|
6560
|
-
|
|
6561
|
-
|
|
6562
|
-
|
|
6563
|
-
|
|
6564
|
-
|
|
6565
|
-
|
|
6566
|
-
|
|
6567
|
-
|
|
6568
|
-
|
|
6569
|
-
|
|
6570
|
-
|
|
6571
|
-
|
|
6572
|
-
|
|
6573
|
-
|
|
6574
|
-
|
|
6575
|
-
|
|
6576
|
-
|
|
6577
|
-
|
|
6578
|
-
|
|
6579
|
-
|
|
6580
|
-
|
|
6581
|
-
|
|
6582
|
-
|
|
6583
|
-
|
|
6584
|
-
|
|
6585
|
-
|
|
6586
|
-
|
|
6587
|
-
|
|
6588
|
-
|
|
6589
|
-
|
|
6590
|
-
|
|
6591
|
-
|
|
6592
|
-
|
|
6593
|
-
|
|
6594
|
-
|
|
6595
|
-
|
|
6596
|
-
|
|
6597
|
-
|
|
6598
|
-
|
|
6599
|
-
|
|
6600
|
-
|
|
6601
|
-
|
|
6602
|
-
|
|
6603
|
-
|
|
6604
|
-
|
|
6605
|
-
|
|
6606
|
-
|
|
6607
|
-
|
|
6608
|
-
|
|
6609
|
-
|
|
6610
|
-
|
|
6611
|
-
|
|
6612
|
-
|
|
6613
|
-
|
|
6614
|
-
|
|
6615
|
-
|
|
6616
|
-
|
|
6617
|
-
|
|
6618
|
-
|
|
6619
|
-
|
|
6620
|
-
|
|
6621
|
-
|
|
6622
|
-
|
|
6623
|
-
|
|
6624
|
-
|
|
6625
|
-
|
|
6626
|
-
|
|
6627
|
-
|
|
6628
|
-
/**
|
|
6629
|
-
|
|
6630
|
-
/**
|
|
6631
|
-
|
|
6632
|
-
/** Converts calories to kilojoules. */
|
|
6633
|
-
static caloriesToKJoules(cal: number): number;
|
|
6634
|
-
/** Converts kilojoules to calories. */
|
|
6635
|
-
static kJoulesToCalories(kj: number): number;
|
|
6636
|
-
/** Converts atmospheres to pascals. */
|
|
6637
|
-
static atmToPascal(atm: number): number;
|
|
6638
|
-
/** Converts pascals to atmospheres. */
|
|
6639
|
-
static pascalToAtm(pa: number): number;
|
|
6640
|
-
/** Converts bar to pascals. */
|
|
6641
|
-
static barToPascal(bar: number): number;
|
|
6642
|
-
/** Converts pascals to bar. */
|
|
6643
|
-
static pascalToBar(pa: number): number;
|
|
6644
|
-
/** Converts hertz to kilohertz. */
|
|
6645
|
-
static hzToKHz(hz: number): number;
|
|
6646
|
-
/** Converts kilohertz to hertz. */
|
|
6647
|
-
static kHzToHz(khz: number): number;
|
|
6648
|
-
/** Converts hertz to megahertz. */
|
|
6649
|
-
static hzToMHz(hz: number): number;
|
|
6650
|
-
/** Converts megahertz to hertz. */
|
|
6651
|
-
static mHzToHz(mhz: number): number;
|
|
6652
|
-
/** Converts kilohertz to megahertz. */
|
|
6653
|
-
static kHzToMHz(khz: number): number;
|
|
6654
|
-
/** Converts megahertz to kilohertz. */
|
|
6655
|
-
static mHzToKHz(mhz: number): number;
|
|
6656
|
-
/** Converts centimeters to meters. */
|
|
6657
|
-
static cmToMeters(cm: number): number;
|
|
6658
|
-
/** Converts meters to centimeters. */
|
|
6659
|
-
static metersToCm(m: number): number;
|
|
6660
|
-
/** Converts millimeters to meters. */
|
|
6661
|
-
static mmToMeters(mm: number): number;
|
|
6662
|
-
/** Converts meters to millimeters. */
|
|
6663
|
-
static metersToMm(m: number): number;
|
|
6664
|
-
/** Converts square kilometers to square meters. */
|
|
6665
|
-
static sqkmToSqm(sqkm: number): number;
|
|
6666
|
-
/** Converts square meters to square kilometers. */
|
|
6667
|
-
static sqmToSqkm(sqm: number): number;
|
|
6668
|
-
/** Converts square feet to square inches. */
|
|
6669
|
-
static sqftToSqin(sqft: number): number;
|
|
6670
|
-
/** Converts square inches to square feet. */
|
|
6671
|
-
static sqinToSqft(sqin: number): number;
|
|
6672
|
-
/** Converts watts to kilowatts. */
|
|
6673
|
-
static wattsToKw(w: number): number;
|
|
6674
|
-
/** Converts kilowatts to watts. */
|
|
6675
|
-
static kwToWatts(kw: number): number;
|
|
6766
|
+
requiredKeys?: '*' | DotNotationKey<T>[];
|
|
6767
|
+
}
|
|
6768
|
+
/**
|
|
6769
|
+
* * Produces sanitized output data by omitting keys in `keysToIgnore` from {@link SanitizeOptions} and optionally applying partial deep nesting based on `_return` parameter.
|
|
6770
|
+
*
|
|
6771
|
+
* @remarks
|
|
6772
|
+
* - When `PoR` is `'partial'`, all nested properties become optional after path omission.
|
|
6773
|
+
* - When `PoR` is `'required'`, the resulting type keeps full property requirements.
|
|
6774
|
+
* - Intended for return type of `sanitizeData` utility.
|
|
6775
|
+
*/
|
|
6776
|
+
type SanitizedData<Data extends GenericObject, Ignored extends DotNotationKey<Data>, PoR extends PartialOrRequired> = PoR extends 'partial' ? $DeepPartial<OmitPath<Data, Ignored>> : OmitPath<Data, Ignored>;
|
|
6777
|
+
/**
|
|
6778
|
+
* * Extracts only the string keys from an object type.
|
|
6779
|
+
*
|
|
6780
|
+
* @remarks
|
|
6781
|
+
* - Useful when iterating over object keys inside template-literal-based utility types,
|
|
6782
|
+
* because TypeScript may include `symbol` keys in `keyof T`, which cannot be used in
|
|
6783
|
+
* template literal types.
|
|
6784
|
+
* - By filtering to `string`, all keys become safe for path operations.
|
|
6785
|
+
*
|
|
6786
|
+
* @example
|
|
6787
|
+
* type A = { a: number; b: string; 1: boolean; [Symbol.iterator]: () => void };
|
|
6788
|
+
* type Keys = ExtractStringKey<A>;
|
|
6789
|
+
* // Result: "a" | "b"
|
|
6790
|
+
*/
|
|
6791
|
+
type ExtractStringKey<T> = Extract<keyof T, string>;
|
|
6792
|
+
/**
|
|
6793
|
+
* * Joins a parent key and a child key into a dot-notation path.
|
|
6794
|
+
*
|
|
6795
|
+
* @remarks
|
|
6796
|
+
* - If the parent path is an empty string, the child key is returned as-is.
|
|
6797
|
+
* - Otherwise, the function produces `"parent.child"` formatting.
|
|
6798
|
+
*
|
|
6799
|
+
* @example
|
|
6800
|
+
* type A = $JoinDotKey<'', 'user'>; // "user"
|
|
6801
|
+
* type B = $JoinDotKey<'settings', 'theme'>; // "settings.theme"
|
|
6802
|
+
*/
|
|
6803
|
+
type $JoinDotKey<Parent extends string, Key extends string> = Parent extends '' ? Key : `${Parent}.${Key}`;
|
|
6804
|
+
/**
|
|
6805
|
+
* * Checks whether a dot-notation path starts with the specified prefix.
|
|
6806
|
+
*
|
|
6807
|
+
* @remarks
|
|
6808
|
+
* A path is considered a match if it is **exactly equal** to the prefix, or begins with `"prefix."`.
|
|
6809
|
+
*
|
|
6810
|
+
* @example
|
|
6811
|
+
* type A = $DoesPathStartWith<'settings.timeout', 'settings'>; // true
|
|
6812
|
+
* type B = $DoesPathStartWith<'settings', 'settings'>; // true
|
|
6813
|
+
* type C = $DoesPathStartWith<'user.name', 'settings'>; // false
|
|
6814
|
+
*/
|
|
6815
|
+
type $DoesPathStartWith<Path extends string, Prefix extends string> = Path extends Prefix | `${Prefix}.${string}` ? true : false;
|
|
6816
|
+
/** Recursive utility that removes a specific dot-notation path from an object. */
|
|
6817
|
+
type $OmitPath<T extends GenericObject, I extends string, P extends string = ''> = Prettify<{ [K in ExtractStringKey<T> as $DoesPathStartWith<$JoinDotKey<P, K>, I> extends true ? never : K]: T[K] extends GenericObject ? T[K] extends AdvancedTypes ? T[K] : $OmitPath<T[K], I, $JoinDotKey<P, K>> : T[K] }>;
|
|
6818
|
+
/**
|
|
6819
|
+
* * Removes a dot-notation path from an object type while preserving its original shape.
|
|
6820
|
+
*
|
|
6821
|
+
* @remarks
|
|
6822
|
+
* - It excludes the specified dot path, but **retains the full structure** of the parent object.
|
|
6823
|
+
* - Only the targeted property is removed.
|
|
6824
|
+
*
|
|
6825
|
+
* @example
|
|
6826
|
+
* type Input = {
|
|
6827
|
+
* settings: {
|
|
6828
|
+
* timeout: number;
|
|
6829
|
+
* theme: string;
|
|
6830
|
+
* };
|
|
6831
|
+
* version: string;
|
|
6832
|
+
* };
|
|
6833
|
+
*
|
|
6834
|
+
* type Clean = OmitPath<Input, "settings.timeout">;
|
|
6835
|
+
*
|
|
6836
|
+
* // Result:
|
|
6837
|
+
* // {
|
|
6838
|
+
* // settings: {
|
|
6839
|
+
* // theme: string;
|
|
6840
|
+
* // };
|
|
6841
|
+
* // version: string;
|
|
6842
|
+
* // }
|
|
6843
|
+
*/
|
|
6844
|
+
type OmitPath<Object extends GenericObject, Ignored extends DotNotationKey<Object>> = $OmitPath<Object, Ignored>;
|
|
6845
|
+
/** Options for `convertObjectValues` utility */
|
|
6846
|
+
interface ConvertObjectOptions<T extends GenericObject, Key extends NumericDotKey<T>, C extends 'string' | 'number'> {
|
|
6847
|
+
/** Array of keys (properties) to convert to `number` or `string` */
|
|
6848
|
+
keys: ValidArray<Key>;
|
|
6849
|
+
/** Convert selected keys to target type: `number` or `string` */
|
|
6850
|
+
convertTo: C;
|
|
6676
6851
|
}
|
|
6852
|
+
/** Transform a single property */
|
|
6853
|
+
type $ConvertProp<V, C extends 'string' | 'number'> = C extends 'string' ? V extends string | number ? string : V : C extends 'number' ? V extends string ? number : V : V;
|
|
6854
|
+
/** Extract sub-keys after prefix like `"props."` */
|
|
6855
|
+
type $SubKey<S extends string, P extends string> = S extends `${P}.${infer Rest}` ? Rest : never;
|
|
6856
|
+
/** Transformed shape of the return type of `convertObjectValues` */
|
|
6857
|
+
type ConvertedObject<T, Keys extends string, C extends 'string' | 'number'> = Prettify<{ [K in Extract<keyof T, string>]: K extends Keys ? $ConvertProp<T[K], C> : T[K] extends AdvancedTypes ? T[K] : T[K] extends GenericObject ? ConvertedObject<T[K], $SubKey<Keys, K>, C> : T[K] }>;
|
|
6858
|
+
/** Array of country information (as object) */
|
|
6859
|
+
type $Countries = (typeof COUNTRIES)[number];
|
|
6860
|
+
/**
|
|
6861
|
+
* Construct a `Record` (`object`) type with a set of properties `Key` of type `T`.
|
|
6862
|
+
*
|
|
6863
|
+
* @example
|
|
6864
|
+
* type UserRoles = 'admin' | 'editor' | 'viewer';
|
|
6865
|
+
*
|
|
6866
|
+
* type RolePermissions = $Record<UserRoles, string[]>;
|
|
6867
|
+
*
|
|
6868
|
+
* // Resulting type:
|
|
6869
|
+
* // {
|
|
6870
|
+
* // admin: string[];
|
|
6871
|
+
* // editor: string[];
|
|
6872
|
+
* // viewer: string[];
|
|
6873
|
+
* // }
|
|
6874
|
+
*
|
|
6875
|
+
* @remarks Unlike the built-in `Record<K, T>`, this type ensures that all properties are explicitly defined and expanded.
|
|
6876
|
+
*/
|
|
6877
|
+
type $Record<Key extends PropertyKey = string, T = any> = { [K in Key]: T } extends infer O ? { [K in keyof O]: O[K] } : { [K in Key]: T };
|
|
6878
|
+
/** * Represents the details (read-only) of a country, including its name, country code, and ISO codes. */
|
|
6879
|
+
type CountryDetails = Readonly<$Record<'country_name' | 'country_code' | 'iso_code_short' | 'iso_code', string>>;
|
|
6880
|
+
/**
|
|
6881
|
+
* Converts an object into a union of key-value tuples.
|
|
6882
|
+
*/
|
|
6883
|
+
type ObjectEntry<T extends GenericObject> = { [K in keyof T]: [K, T[K]] }[keyof T];
|
|
6677
6884
|
//#endregion
|
|
6678
6885
|
//#region src/types/utils.d.ts
|
|
6679
6886
|
/** Options to initialize Paginator */
|
|
@@ -7812,9 +8019,13 @@ type $Brand<B> = {
|
|
|
7812
8019
|
* const id = 'abc123' as UserId;
|
|
7813
8020
|
*/
|
|
7814
8021
|
type Branded<T, B> = T & $Brand<B>;
|
|
7815
|
-
/** Represents a value that may
|
|
8022
|
+
/** Represents a value that may be `undefined`. */
|
|
7816
8023
|
type Maybe<T> = T | undefined;
|
|
7817
|
-
/**
|
|
8024
|
+
/** Represents a value that may be `null`. */
|
|
8025
|
+
type Nullable<T> = T | null;
|
|
8026
|
+
/** Represents a value that may be `null` or `undefined`. */
|
|
8027
|
+
type Uncertain<T> = T | null | undefined;
|
|
8028
|
+
/** Utility type to flatten `Partial` type */
|
|
7818
8029
|
type FlattenPartial<T> = Partial<{ [K in keyof T]: T[K] }>;
|
|
7819
8030
|
/** Union of `number` and numeric string */
|
|
7820
8031
|
type Numeric = number | `${number}`;
|
|
@@ -7944,211 +8155,4 @@ type Serializer<T> = (value: T) => string;
|
|
|
7944
8155
|
/** Function type for deserializing a string to a value of type `T`. */
|
|
7945
8156
|
type Deserializer<T> = (value: string) => T;
|
|
7946
8157
|
//#endregion
|
|
7947
|
-
|
|
7948
|
-
/** - Generic object with `unknown` value */
|
|
7949
|
-
type StrictObject = Record<string, unknown>;
|
|
7950
|
-
/** - Generic object but with `any` value */
|
|
7951
|
-
type GenericObject = Record<string, any>;
|
|
7952
|
-
/** - A tuple of generic objects */
|
|
7953
|
-
type Objects = readonly [GenericObject, ...GenericObject[]];
|
|
7954
|
-
/**
|
|
7955
|
-
* - Prettify all object properties into a readable form.
|
|
7956
|
-
*
|
|
7957
|
-
* @note It is recommended to use it only with `MergeAll<T>`, `FlattenValue<T>` and/or `FlattenLeafValue<T>`. For other other cases use {@link https://toolbox-x.nazmul-nhb.dev/docs/types/utility-types#prettifyt Prettify<T>}
|
|
7958
|
-
*/
|
|
7959
|
-
type ExpandAll<T> = T extends AdvancedTypes ? T : T extends GenericObject ? { [K in keyof T]: ExpandAll<T[K]> } : T;
|
|
7960
|
-
/** - Merges all properties of the input objects into a single object type. */
|
|
7961
|
-
type MergeAll<T extends readonly GenericObject[]> = { [K in keyof $UnionToIntersection<T[number]>]: $UnionToIntersection<T[number]>[K] };
|
|
7962
|
-
/** - Dot-notation keys for flattened nested objects with `any` value (including optional properties) */
|
|
7963
|
-
type FlattenDotKey<T> = T extends AdvancedTypes ? never : T extends GenericObject ? { [K in keyof T & string]: NonNullable<T[K]> extends Function ? never : NonNullable<T[K]> extends AdvancedTypes ? K : NonNullable<T[K]> extends GenericObject ? `${K}.${FlattenDotKey<NonNullable<T[K]>>}` : `${K}` }[keyof T & string] : never;
|
|
7964
|
-
/** - Gets the value at a dot-notation key path */
|
|
7965
|
-
type DotValue<T, K extends string> = K extends `${infer P}.${infer Rest}` ? P extends keyof T ? undefined extends T[P] ? Maybe<DotValue<NonNullable<T[P]>, Rest>> : DotValue<T[P], Rest> : never : K extends keyof T ? T[K] : never;
|
|
7966
|
-
/** - Flattens the values of a nested object into a single level against the dot-notation key */
|
|
7967
|
-
type FlattenDotValue<T> = { [K in FlattenDotKey<T>]?: DotValue<T, K> };
|
|
7968
|
-
/** - Extracts only leaf-level key names (excluding objects/functions) */
|
|
7969
|
-
type FlattenLeafKey<T> = T extends AdvancedTypes ? never : T extends GenericObject ? { [K in keyof T & string]: NonNullable<T[K]> extends Function ? never : NonNullable<T[K]> extends AdvancedTypes ? K : NonNullable<T[K]> extends GenericObject ? FlattenLeafKey<T[K]> : K }[keyof T & string] : never;
|
|
7970
|
-
/** - Gets value for a flat leaf key (assumes there are no duplicates! Duplicates are merged into one), */
|
|
7971
|
-
type LeafValue<T, K extends string> = K extends keyof T ? T[K] : T extends GenericObject ? { [P in keyof T & string]: NonNullable<T[P]> extends GenericObject ? LeafValue<NonNullable<T[P]>, K> : never }[keyof T & string] : never;
|
|
7972
|
-
/** - Final flattened object with only leaf keys */
|
|
7973
|
-
type FlattenLeafValue<T> = { [K in FlattenLeafKey<T>]?: LeafValue<T, K> };
|
|
7974
|
-
/**
|
|
7975
|
-
* * Represents a value that can be used in a query object.
|
|
7976
|
-
* - Can be a primitive, an array of primitives, or a nested query object.
|
|
7977
|
-
*/
|
|
7978
|
-
type QueryObjectValue = NormalPrimitive | NormalPrimitive[] | QueryObject;
|
|
7979
|
-
/**
|
|
7980
|
-
* * Represents a query object with string keys and `QueryObjectValue` values.
|
|
7981
|
-
* - Supports nested objects and arrays.
|
|
7982
|
-
*/
|
|
7983
|
-
type QueryObject = {
|
|
7984
|
-
[key: string]: QueryObjectValue;
|
|
7985
|
-
};
|
|
7986
|
-
/** Generic query object type */
|
|
7987
|
-
type ParsedQueryGeneric = Record<string, NormalPrimitive | NormalPrimitive[]>;
|
|
7988
|
-
/** Create tuples (key-value pairs) from query string, e.g. `$QueryPairs<'hello=hola&hello=hi'>` to `["hello=hola", "hello=hi"]` */
|
|
7989
|
-
type $QueryPairs<Q extends string> = Split<Q extends `?${infer Rest}` ? Rest : Q, '&'>;
|
|
7990
|
-
/** If a provided key has multiple values, convert the values into a separate tuple, e.g. `$ValuesOfKey<['hello=hi', 'hello=bye'], 'hello'>` to `["hi", "bye"]` */
|
|
7991
|
-
type $ValuesOfKey<Pairs extends string[], K extends string> = Pairs extends [infer Head extends string, ...infer Tail extends string[]] ? Head extends `${K}=${infer V}` ? [V, ...$ValuesOfKey<Tail, K>] : $ValuesOfKey<Tail, K> : [];
|
|
7992
|
-
/** Query object parsed from a literal string */
|
|
7993
|
-
type ParsedQuery<Q extends string> = Prettify<{ [K in $QueryPairs<Q>[number] extends `${infer Key}=${string}` ? Key : never]: $ValuesOfKey<$QueryPairs<Q>, K> extends [infer Only] ? Only : $ValuesOfKey<$QueryPairs<Q>, K> }>;
|
|
7994
|
-
/** - Object type with string or number or boolean as value for each key. */
|
|
7995
|
-
type GenericObjectPrimitive = Record<string, string | number | boolean>;
|
|
7996
|
-
/** - Dot-notation keys for nested objects with unknown value (including optional properties) */
|
|
7997
|
-
type DotNotationKeyStrict<T> = T extends AdvancedTypes ? never : T extends StrictObject ? { [K in keyof T & string]: T[K] extends Function ? never : T[K] extends StrictObject ? `${K}` | `${K}.${DotNotationKey<T[K]>}` : `${K}` }[keyof T & string] : never;
|
|
7998
|
-
/** - Dot-notation keys for nested objects with `any` value (including optional properties) */
|
|
7999
|
-
type DotNotationKey<T> = T extends AdvancedTypes ? never : T extends GenericObject ? { [K in keyof T & string]: T[K] extends Function ? never : T[K] extends GenericObject ? `${K}` | `${K}.${DotNotationKey<T[K]>}` : `${K}` }[keyof T & string] : never;
|
|
8000
|
-
/** - Object keys where the value is an array (including optional properties) */
|
|
8001
|
-
type KeyForArray<T> = T extends GenericObject ? { [K in keyof T & string]: T[K] extends Function ? never : T[K] extends Array<unknown> ? K : never }[keyof T & string] : never;
|
|
8002
|
-
/** - Object keys where the value is a non-array/non-advanced type object (including optional properties) */
|
|
8003
|
-
type KeyForObject<T> = T extends AdvancedTypes ? never : T extends GenericObject ? { [K in keyof T & string]: T[K] extends Function ? never : T[K] extends GenericObject ? T[K] extends AdvancedTypes ? never : K : never }[keyof T & string] : never;
|
|
8004
|
-
/** - Extract only keys with string values from an object, including nested dot-notation keys. */
|
|
8005
|
-
type NestedKeyString<T> = T extends AdvancedTypes ? never : T extends GenericObject ? { [K in keyof T & string]: T[K] extends Function ? never : T[K] extends string ? K : T[K] extends GenericObject ? `${K}.${NestedKeyString<T[K]>}` : never }[keyof T & string] : never;
|
|
8006
|
-
/** - Extract only primitive keys from an object, including nested dot-notation keys. */
|
|
8007
|
-
type NestedPrimitiveKey<T> = T extends AdvancedTypes ? never : T extends GenericObject ? { [K in keyof T & string]: T[K] extends Function ? never : T[K] extends NormalPrimitive ? K : T[K] extends GenericObject ? `${K}.${NestedPrimitiveKey<T[K]>}` : never }[keyof T & string] : never;
|
|
8008
|
-
/** - Extract only number, string, undefined and null keys from an object, including nested dot-notation keys. */
|
|
8009
|
-
type NumericDotKey<T> = T extends AdvancedTypes ? never : T extends GenericObject ? { [K in keyof T & string]: T[K] extends Function ? never : T[K] extends Exclude<NormalPrimitive, boolean> ? K : T[K] extends GenericObject ? `${K}.${NumericDotKey<T[K]>}` : never }[keyof T & string] : never;
|
|
8010
|
-
/** - Recursively extracts all keys of an object (includes nested keys) as a union. */
|
|
8011
|
-
type DeepKeys<T extends GenericObject> = T extends AdvancedTypes ? never : keyof T | { [K in keyof T]: T[K] extends GenericObject ? DeepKeys<T[K]> : never }[keyof T];
|
|
8012
|
-
/** - Converts the union of keys from {@link DeepKeys<T>} into a tuple. */
|
|
8013
|
-
type DeepKeysTuple<T extends GenericObject> = Tuple<DeepKeys<T>>;
|
|
8014
|
-
/** - Options for `sanitizeData` utility. */
|
|
8015
|
-
interface SanitizeOptions<T, Ignored extends DotNotationKey<T>> {
|
|
8016
|
-
/**
|
|
8017
|
-
* An array of dot-notation keys to exclude from the sanitized output.
|
|
8018
|
-
* This is only applicable when sanitizing plain objects or arrays of objects.
|
|
8019
|
-
* When applied to nested or irregular array structures, behavior may be inconsistent or partially ignored.
|
|
8020
|
-
*/
|
|
8021
|
-
keysToIgnore?: Ignored[];
|
|
8022
|
-
/** Whether to trim string values. Defaults to `true`. */
|
|
8023
|
-
trimStrings?: boolean;
|
|
8024
|
-
/** Whether to exclude nullish (`null` or `undefined`) values. Defaults to `false`. */
|
|
8025
|
-
ignoreNullish?: boolean;
|
|
8026
|
-
/** Whether to exclude all falsy values (`false`, `0`, `empty string: ''`, `null`, `undefined`. Defaults to `false`. */
|
|
8027
|
-
ignoreFalsy?: boolean;
|
|
8028
|
-
/** Whether to exclude empty object(s) and array(s) (`{}`, `[]`). Defaults to `false`. */
|
|
8029
|
-
ignoreEmpty?: boolean;
|
|
8030
|
-
/**
|
|
8031
|
-
* An array of dot-notation key paths that must be preserved in the sanitized output.
|
|
8032
|
-
* Use `"*"` to retain all keys. This applies primarily to plain or nested objects and arrays of objects.
|
|
8033
|
-
* When applied to nested or irregular array structures, behavior may be inconsistent or partially ignored.
|
|
8034
|
-
*/
|
|
8035
|
-
requiredKeys?: '*' | DotNotationKey<T>[];
|
|
8036
|
-
}
|
|
8037
|
-
/**
|
|
8038
|
-
* * Produces sanitized output data by omitting keys in `keysToIgnore` from {@link SanitizeOptions} and optionally applying partial deep nesting based on `_return` parameter.
|
|
8039
|
-
*
|
|
8040
|
-
* @remarks
|
|
8041
|
-
* - When `PoR` is `'partial'`, all nested properties become optional after path omission.
|
|
8042
|
-
* - When `PoR` is `'required'`, the resulting type keeps full property requirements.
|
|
8043
|
-
* - Intended for return type of `sanitizeData` utility.
|
|
8044
|
-
*/
|
|
8045
|
-
type SanitizedData<Data extends GenericObject, Ignored extends DotNotationKey<Data>, PoR extends PartialOrRequired> = PoR extends 'partial' ? $DeepPartial<OmitPath<Data, Ignored>> : OmitPath<Data, Ignored>;
|
|
8046
|
-
/**
|
|
8047
|
-
* * Extracts only the string keys from an object type.
|
|
8048
|
-
*
|
|
8049
|
-
* @remarks
|
|
8050
|
-
* - Useful when iterating over object keys inside template-literal-based utility types,
|
|
8051
|
-
* because TypeScript may include `symbol` keys in `keyof T`, which cannot be used in
|
|
8052
|
-
* template literal types.
|
|
8053
|
-
* - By filtering to `string`, all keys become safe for path operations.
|
|
8054
|
-
*
|
|
8055
|
-
* @example
|
|
8056
|
-
* type A = { a: number; b: string; 1: boolean; [Symbol.iterator]: () => void };
|
|
8057
|
-
* type Keys = ExtractStringKey<A>;
|
|
8058
|
-
* // Result: "a" | "b"
|
|
8059
|
-
*/
|
|
8060
|
-
type ExtractStringKey<T> = Extract<keyof T, string>;
|
|
8061
|
-
/**
|
|
8062
|
-
* * Joins a parent key and a child key into a dot-notation path.
|
|
8063
|
-
*
|
|
8064
|
-
* @remarks
|
|
8065
|
-
* - If the parent path is an empty string, the child key is returned as-is.
|
|
8066
|
-
* - Otherwise, the function produces `"parent.child"` formatting.
|
|
8067
|
-
*
|
|
8068
|
-
* @example
|
|
8069
|
-
* type A = $JoinDotKey<'', 'user'>; // "user"
|
|
8070
|
-
* type B = $JoinDotKey<'settings', 'theme'>; // "settings.theme"
|
|
8071
|
-
*/
|
|
8072
|
-
type $JoinDotKey<Parent extends string, Key extends string> = Parent extends '' ? Key : `${Parent}.${Key}`;
|
|
8073
|
-
/**
|
|
8074
|
-
* * Checks whether a dot-notation path starts with the specified prefix.
|
|
8075
|
-
*
|
|
8076
|
-
* @remarks
|
|
8077
|
-
* A path is considered a match if it is **exactly equal** to the prefix, or begins with `"prefix."`.
|
|
8078
|
-
*
|
|
8079
|
-
* @example
|
|
8080
|
-
* type A = $DoesPathStartWith<'settings.timeout', 'settings'>; // true
|
|
8081
|
-
* type B = $DoesPathStartWith<'settings', 'settings'>; // true
|
|
8082
|
-
* type C = $DoesPathStartWith<'user.name', 'settings'>; // false
|
|
8083
|
-
*/
|
|
8084
|
-
type $DoesPathStartWith<Path extends string, Prefix extends string> = Path extends Prefix | `${Prefix}.${string}` ? true : false;
|
|
8085
|
-
/** Recursive utility that removes a specific dot-notation path from an object. */
|
|
8086
|
-
type $OmitPath<T extends GenericObject, I extends string, P extends string = ''> = Prettify<{ [K in ExtractStringKey<T> as $DoesPathStartWith<$JoinDotKey<P, K>, I> extends true ? never : K]: T[K] extends GenericObject ? T[K] extends AdvancedTypes ? T[K] : $OmitPath<T[K], I, $JoinDotKey<P, K>> : T[K] }>;
|
|
8087
|
-
/**
|
|
8088
|
-
* * Removes a dot-notation path from an object type while preserving its original shape.
|
|
8089
|
-
*
|
|
8090
|
-
* @remarks
|
|
8091
|
-
* - It excludes the specified dot path, but **retains the full structure** of the parent object.
|
|
8092
|
-
* - Only the targeted property is removed.
|
|
8093
|
-
*
|
|
8094
|
-
* @example
|
|
8095
|
-
* type Input = {
|
|
8096
|
-
* settings: {
|
|
8097
|
-
* timeout: number;
|
|
8098
|
-
* theme: string;
|
|
8099
|
-
* };
|
|
8100
|
-
* version: string;
|
|
8101
|
-
* };
|
|
8102
|
-
*
|
|
8103
|
-
* type Clean = OmitPath<Input, "settings.timeout">;
|
|
8104
|
-
*
|
|
8105
|
-
* // Result:
|
|
8106
|
-
* // {
|
|
8107
|
-
* // settings: {
|
|
8108
|
-
* // theme: string;
|
|
8109
|
-
* // };
|
|
8110
|
-
* // version: string;
|
|
8111
|
-
* // }
|
|
8112
|
-
*/
|
|
8113
|
-
type OmitPath<Object extends GenericObject, Ignored extends DotNotationKey<Object>> = $OmitPath<Object, Ignored>;
|
|
8114
|
-
/** Options for `convertObjectValues` utility */
|
|
8115
|
-
interface ConvertObjectOptions<T extends GenericObject, Key extends NumericDotKey<T>, C extends 'string' | 'number'> {
|
|
8116
|
-
/** Array of keys (properties) to convert to `number` or `string` */
|
|
8117
|
-
keys: ValidArray<Key>;
|
|
8118
|
-
/** Convert selected keys to target type: `number` or `string` */
|
|
8119
|
-
convertTo: C;
|
|
8120
|
-
}
|
|
8121
|
-
/** Transform a single property */
|
|
8122
|
-
type $ConvertProp<V, C extends 'string' | 'number'> = C extends 'string' ? V extends string | number ? string : V : C extends 'number' ? V extends string ? number : V : V;
|
|
8123
|
-
/** Extract sub-keys after prefix like `"props."` */
|
|
8124
|
-
type $SubKey<S extends string, P extends string> = S extends `${P}.${infer Rest}` ? Rest : never;
|
|
8125
|
-
/** Transformed shape of the return type of `convertObjectValues` */
|
|
8126
|
-
type ConvertedObject<T, Keys extends string, C extends 'string' | 'number'> = Prettify<{ [K in Extract<keyof T, string>]: K extends Keys ? $ConvertProp<T[K], C> : T[K] extends AdvancedTypes ? T[K] : T[K] extends GenericObject ? ConvertedObject<T[K], $SubKey<Keys, K>, C> : T[K] }>;
|
|
8127
|
-
/** Array of country information (as object) */
|
|
8128
|
-
type $Countries = (typeof COUNTRIES)[number];
|
|
8129
|
-
/**
|
|
8130
|
-
* Construct a `Record` (`object`) type with a set of properties `Key` of type `T`.
|
|
8131
|
-
*
|
|
8132
|
-
* @example
|
|
8133
|
-
* type UserRoles = 'admin' | 'editor' | 'viewer';
|
|
8134
|
-
*
|
|
8135
|
-
* type RolePermissions = $Record<UserRoles, string[]>;
|
|
8136
|
-
*
|
|
8137
|
-
* // Resulting type:
|
|
8138
|
-
* // {
|
|
8139
|
-
* // admin: string[];
|
|
8140
|
-
* // editor: string[];
|
|
8141
|
-
* // viewer: string[];
|
|
8142
|
-
* // }
|
|
8143
|
-
*
|
|
8144
|
-
* @remarks Unlike the built-in `Record<K, T>`, this type ensures that all properties are explicitly defined and expanded.
|
|
8145
|
-
*/
|
|
8146
|
-
type $Record<Key extends PropertyKey = string, T = any> = { [K in Key]: T } extends infer O ? { [K in keyof O]: O[K] } : { [K in Key]: T };
|
|
8147
|
-
/** * Represents the details (read-only) of a country, including its name, country code, and ISO codes. */
|
|
8148
|
-
type CountryDetails = Readonly<$Record<'country_name' | 'country_code' | 'iso_code_short' | 'iso_code', string>>;
|
|
8149
|
-
/**
|
|
8150
|
-
* Converts an object into a union of key-value tuples.
|
|
8151
|
-
*/
|
|
8152
|
-
type ObjectEntry<T extends GenericObject> = { [K in keyof T]: [K, T[K]] }[keyof T];
|
|
8153
|
-
//#endregion
|
|
8154
|
-
export { GenericFn as $, NumberType as $n, RenameKeys as $r, Milliseconds as $t, OmitPath as A, YearToken as An, FromMetaOptions as Ar, ClockSecond as At, AsyncFunction as B, DecimalOptions as Bn, OmitByValue as Br, DayPartConfig as Bt, LeafValue as C, TIME_ZONE_IDS as Ci, TimeZoneName as Cn, ArrayToTuple as Cr, $TimeUnitVarMap as Ct, NumericDotKey as D, VEDIC_ZODIAC_SIGNS as Di, UTCOffset as Dn, DeepPartialAll as Dr, AcademicYear as Dt, NestedPrimitiveKey as E, MONTHS as Ei, UTCMinute as En, DeepPartial as Er, $UnitAnyCase as Et, SanitizeOptions as F, BanglaDigit as Fn, KeysOfUnion as Fr, DateLike as Ft, ConditionFns as G, GetDifferenceOptions as Gn, PickByValue as Gr, GreetingConfigs as Gt, Branded as H, FrankFurter as Hn, PageListOptions as Hr, FormatOptions as Ht, SanitizedData as I, BnDigitResult as In, LooseLiteral as Ir, DateString as It, Deserializer as J, GetValueOptions as Jn, PropertyOptional as Jr, ISODateFormat as Jt, Constructor as K, GetOriginalOptions as Kn, Pop as Kr, HourMinutes as Kt, StrictObject as L, ConvertOptions as Ln, MapObjectValues as Lr, DateTimeFormatOptions as Lt, ParsedQueryGeneric as M, ZodiacSign as Mn, IsStrictObject as Mr, DateArgs as Mt, QueryObject as N, $BnOnes as Nn, Join as Nr, DateFormatOptions as Nt, ObjectEntry as O, WESTERN_ZODIAC_SIGNS as Oi, UnitWithValue as On, ExtractOptional as Or, ClockHour as Ot, QueryObjectValue as P, ApplyChangeOptions as Pn, Keyof as Pr, DateFormatToken as Pt, FlattenPartial as Q, NumberRange as Qn, RemoveNever as Qr, MSToken as Qt, AdvancedTypes as R, ConvertedDecimal as Rn, Merge as Rr, DateToken as Rt, KeyForObject as S, TIME_ZONES_NATIVE as Si, TimeZoneIdentifier as Sn, ArrayToStringOptions as Sr, $TimeUnitVar as St, NestedKeyString as T, DAYS as Ti, TimestampOptions as Tn, DeepKeyof as Tr, $UTCOffset as Tt, ClassDetails as U, FrankFurterCurrency as Un, PaginatorMeta as Ur, FormatToken as Ut, BasicPrimitive as V, Enumerate as Vn, OneOf as Vr, DayToken as Vt, ConditionFn as W, GetChangeOptions as Wn, PaginatorOptions as Wr, FromNowUnit as Wt, Expect as X, LocaleCode as Xn, ProtoMethodOptions as Xr, LocaleCalendar as Xt, Equal as Y, InversePercentageOptions as Yn, PropertyRequired as Yr, ISODateTimeString as Yt, FalsyPrimitive as Z, LooseRomanNumeral as Zn, RangeTuple as Zr, LocalesArguments as Zt, FlattenLeafKey as _, LOCALE_CODES as _i, TimeWithUnit as _n, $Subtract as _r, $ISOTimeString as _t, ConvertObjectOptions as a, RequireExactly as ai, NegativeUTCHour as an, RomanCapital as ar, NormalPrimitive as at, GenericObjectPrimitive as b, NATIVE_TZ_IDS as bi, TimeZoneId as bn, ArrayOfObjectsToStringOptions as br, $TZLabelKey as bt, DeepKeys as c, Tuple as ci, Quarter as cn, UnitKey as cr, Numeric as ct, DotNotationKeyStrict as d, ValueOf as di, SecondToken as dn, $BuildTuple as dr, Primitive as dt, Repeat as ei, MinuteToken as en, Percent as er, HasMethods as et, DotValue as f, ValueOptional as fi, TimeFormatToken as fn, $DeepPartial as fr, Serializer as ft, FlattenDotValue as g, FRANKFURTER_CURRENCIES as gi, TimeUnitValue as gn, $Range as gr, $GMTOffset as gt, FlattenDotKey as h, CURRENCY_LOCALES as hi, TimeUnit as hn, $JoinRepeat as hr, $DateUnit as ht, $Record as i, RequireBetween as ii, MonthToken as in, RangedNumbers as ir, NonNullishPrimitiveKey as it, ParsedQuery as j, ZodiacPreset as jn, Immutable as jr, ClockTime as jt, Objects as k, COUNTRIES as ki, WeekDay as kn, ExtractRequired as kr, ClockMinute as kt, DeepKeysTuple as l, TupleOf as li, RelativeDateFormatOptions as ln, UnitLabel as lr, OwnKeys as lt, ExtractStringKey as m, CURRENCY_CODES as mi, TimeToken as mn, $Forbid as mr, VoidFn as mt, $DoesPathStartWith as n, ReplaceFirst as ni, MonthName as nn, RandomNumberOptions as nr, Maybe as nt, ConvertedObject as o, RequireOnly as oi, NumberingSystem as on, RomanNumeral as or, NormalPrimitiveKey as ot, ExpandAll as p, Unit as pi, TimeOnlyFormat as pn, $Expand as pr, ValidArray as pt, DelayedFn as q, GetPercentOptions as qn, Prettify as qr, HourToken as qt, $JoinDotKey as r, RequireAtLeast as ri, MonthString as rn, RangeOptions as rr, MethodDescriptor as rt, CountryDetails as s, Split as si, PositiveUTCHour as sn, SIPrefix as sr, NullOrUndefined as st, $Countries as t, Replace as ti, MonthDateString as tn, PercentageOptions as tr, List as tt, DotNotationKey as u, TupleToUnion as ui, SafeFormat as un, UnitNumberMethods as ur, PartialOrRequired as ut, FlattenLeafValue as v, UNITS as vi, TimeZone as vn, $UnionToIntersection as vr, $LocalArguments as vt, MergeAll as w, TIME_ZONE_LABELS as wi, TimeZoneNameNative as wn, Cast as wr, $TimeZoneIdentifier as wt, KeyForArray as x, TIME_ZONES as xi, TimeZoneIdNative as xn, ArrayOfPrimitivesToStringOptions as xr, $TimeUnitKey as xt, GenericObject as y, IANA_TZ_IDS as yi, TimeZoneDetails as yn, $Without as yr, $NativeTzNameOrId as yt, Any as z, CurrencyCode as zn, Mutable as zr, DayPart as zt };
|
|
8158
|
+
export { DateFormatToken as $, Keyof as $n, KeyForObject as $r, ApplyChangeOptions as $t, Serializer as A, VEDIC_ZODIAC_SIGNS as Ai, $BuildTuple as An, ValueOf as Ar, SecondToken as At, $TimeUnitKey as B, ArrayOfPrimitivesToStringOptions as Bn, DeepKeysTuple as Br, TimeZoneIdNative as Bt, NormalPrimitiveKey as C, NATIVE_TZ_IDS as Ci, RangedNumbers as Cn, RequireBetween as Cr, MonthToken as Ct, OwnKeys as D, TIME_ZONE_LABELS as Di, UnitKey as Dn, Tuple as Dr, Quarter as Dt, Numeric as E, TIME_ZONE_IDS as Ei, SIPrefix as En, Split as Er, PositiveUTCHour as Et, $GMTOffset as F, $Range as Fn, $Record as Fr, TimeUnitValue as Ft, $UnitAnyCase as G, DeepPartial as Gn, ExtractStringKey as Gr, UTCMinute as Gt, $TimeUnitVarMap as H, ArrayToTuple as Hn, DotNotationKeyStrict as Hr, TimeZoneName as Ht, $ISOTimeString as I, $Subtract as In, ConvertObjectOptions as Ir, TimeWithUnit as It, ClockMinute as J, ExtractRequired as Jn, FlattenLeafKey as Jr, WeekDay as Jt, AcademicYear as K, DeepPartialAll as Kn, FlattenDotKey as Kr, UTCOffset as Kt, $LocalArguments as L, $UnionToIntersection as Ln, ConvertedObject as Lr, TimeZone as Lt, ValidArray as M, $Expand as Mn, $Countries as Mr, TimeOnlyFormat as Mt, VoidFn as N, $Forbid as Nn, $DoesPathStartWith as Nr, TimeToken as Nt, PartialOrRequired as O, DAYS as Oi, UnitLabel as On, TupleOf as Or, RelativeDateFormatOptions as Ot, $DateUnit as P, $JoinRepeat as Pn, $JoinDotKey as Pr, TimeUnit as Pt, DateFormatOptions as Q, Join as Qn, KeyForArray as Qr, $BnOnes as Qt, $NativeTzNameOrId as R, $Without as Rn, CountryDetails as Rr, TimeZoneDetails as Rt, NormalPrimitive as S, IANA_TZ_IDS as Si, RangeOptions as Sn, RequireAtLeast as Sr, MonthString as St, Nullable as T, TIME_ZONES_NATIVE as Ti, RomanNumeral as Tn, RequireOnly as Tr, NumberingSystem as Tt, $TimeZoneIdentifier as U, Cast as Un, DotValue as Ur, TimeZoneNameNative as Ut, $TimeUnitVar as V, ArrayToStringOptions as Vn, DotNotationKey as Vr, TimeZoneIdentifier as Vt, $UTCOffset as W, DeepKeyof as Wn, ExpandAll as Wr, TimestampOptions as Wt, ClockTime as X, Immutable as Xn, GenericObject as Xr, ZodiacPreset as Xt, ClockSecond as Y, FromMetaOptions as Yn, FlattenLeafValue as Yr, YearToken as Yt, DateArgs as Z, IsStrictObject as Zn, GenericObjectPrimitive as Zr, ZodiacSign as Zt, HasMethods as _, CURRENCY_CODES as _i, NumberRange as _n, RemoveNever as _r, MSToken as _t, Branded as a, ObjectEntry as ai, DecimalOptions as an, OmitByValue as ar, DayPartConfig as at, MethodDescriptor as b, LOCALE_CODES as bi, PercentageOptions as bn, Replace as br, MonthDateString as bt, ConditionFns as c, ParsedQuery as ci, FrankFurterCurrency as cn, PaginatorMeta as cr, FormatToken as ct, Deserializer as d, QueryObjectValue as di, GetOriginalOptions as dn, Pop as dr, HourMinutes as dt, LeafValue as ei, BanglaDigit as en, KeysOfUnion as er, DateLike as et, Equal as f, SanitizeOptions as fi, GetPercentOptions as fn, Prettify as fr, HourToken as ft, GenericFn as g, Unit as gi, LooseRomanNumeral as gn, RangeTuple as gr, LocalesArguments as gt, FlattenPartial as h, COUNTRIES as hi, LocaleCode as hn, ProtoMethodOptions as hr, LocaleCalendar as ht, BasicPrimitive as i, NumericDotKey as ii, CurrencyCode as in, Mutable as ir, DayPart as it, Uncertain as j, WESTERN_ZODIAC_SIGNS as ji, $DeepPartial as jn, ValueOptional as jr, TimeFormatToken as jt, Primitive as k, MONTHS as ki, UnitNumberMethods as kn, TupleToUnion as kr, SafeFormat as kt, Constructor as l, ParsedQueryGeneric as li, GetChangeOptions as ln, PaginatorOptions as lr, FromNowUnit as lt, FalsyPrimitive as m, StrictObject as mi, InversePercentageOptions as mn, PropertyRequired as mr, ISODateTimeString as mt, Any as n, NestedKeyString as ni, ConvertOptions as nn, MapObjectValues as nr, DateTimeFormatOptions as nt, ClassDetails as o, Objects as oi, Enumerate as on, OneOf as or, DayToken as ot, Expect as p, SanitizedData as pi, GetValueOptions as pn, PropertyOptional as pr, ISODateFormat as pt, ClockHour as q, ExtractOptional as qn, FlattenDotValue as qr, UnitWithValue as qt, AsyncFunction as r, NestedPrimitiveKey as ri, ConvertedDecimal as rn, Merge as rr, DateToken as rt, ConditionFn as s, OmitPath as si, FrankFurter as sn, PageListOptions as sr, FormatOptions as st, AdvancedTypes as t, MergeAll as ti, BnDigitResult as tn, LooseLiteral as tr, DateString as tt, DelayedFn as u, QueryObject as ui, GetDifferenceOptions as un, PickByValue as ur, GreetingConfigs as ut, List as v, CURRENCY_LOCALES as vi, NumberType as vn, RenameKeys as vr, Milliseconds as vt, NullOrUndefined as w, TIME_ZONES as wi, RomanCapital as wn, RequireExactly as wr, NegativeUTCHour as wt, NonNullishPrimitiveKey as x, UNITS as xi, RandomNumberOptions as xn, ReplaceFirst as xr, MonthName as xt, Maybe as y, FRANKFURTER_CURRENCIES as yi, Percent as yn, Repeat as yr, MinuteToken as yt, $TZLabelKey as z, ArrayOfObjectsToStringOptions as zn, DeepKeys as zr, TimeZoneId as zt };
|