ingeniuscliq-core 0.5.32 → 0.5.34

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.
Files changed (34) hide show
  1. package/dist/_virtual/_commonjsHelpers.js +5 -0
  2. package/dist/_virtual/index.js +7 -0
  3. package/dist/_virtual/index2.js +3 -0
  4. package/dist/_virtual/index3.js +3 -0
  5. package/dist/components/common/form/FormPhone.d.ts +23 -0
  6. package/dist/components/common/form/FormPhone.d.ts.map +1 -0
  7. package/dist/components/common/form/FormPhone.js +129 -0
  8. package/dist/components/common/form/index.d.ts +1 -0
  9. package/dist/components/common/form/index.d.ts.map +1 -1
  10. package/dist/components/templates/CoreHomeLayout.js +1 -0
  11. package/dist/components/templates/CorePreviewLayout.js +1 -0
  12. package/dist/index.js +1 -0
  13. package/dist/modules/CoreShipment/classes/CoreShipmentBuilder.d.ts +1 -1
  14. package/dist/modules/CoreShipment/classes/CoreShipmentBuilder.d.ts.map +1 -1
  15. package/dist/modules/CoreShipment/classes/CoreShipmentBuilder.js +9 -6
  16. package/dist/modules/CoreShipment/services/base.d.ts +13 -1
  17. package/dist/modules/CoreShipment/services/base.d.ts.map +1 -1
  18. package/dist/modules/CoreShipment/types/CoreShipment.d.ts +14 -1
  19. package/dist/modules/CoreShipment/types/CoreShipment.d.ts.map +1 -1
  20. package/dist/node_modules/diacritics/index.js +327 -0
  21. package/dist/node_modules/i18n-iso-countries/codes.json.js +3 -0
  22. package/dist/node_modules/i18n-iso-countries/index.js +409 -0
  23. package/dist/node_modules/i18n-iso-countries/langs/en.json.js +8 -0
  24. package/dist/node_modules/i18n-iso-countries/langs/es.json.js +8 -0
  25. package/dist/node_modules/i18n-iso-countries/supportedLocales.json.js +82 -0
  26. package/dist/node_modules/libphonenumber-js/es6/getCountries.js +7 -0
  27. package/dist/node_modules/libphonenumber-js/es6/helpers/isObject.js +6 -0
  28. package/dist/node_modules/libphonenumber-js/es6/metadata.js +602 -0
  29. package/dist/node_modules/libphonenumber-js/es6/tools/semver-compare.js +28 -0
  30. package/dist/node_modules/libphonenumber-js/metadata.min.json.js +6 -0
  31. package/dist/node_modules/libphonenumber-js/min/exports/getCountries.js +8 -0
  32. package/dist/node_modules/libphonenumber-js/min/exports/getCountryCallingCode.js +8 -0
  33. package/dist/node_modules/libphonenumber-js/min/exports/withMetadataArgument.js +12 -0
  34. package/package.json +1 -1
@@ -0,0 +1,409 @@
1
+ import { __exports as i18nIsoCountries } from '../../_virtual/index2.js';
2
+ import require$$0 from './codes.json.js';
3
+ import require$$1 from './supportedLocales.json.js';
4
+ import { __require as requireDiacritics } from '../diacritics/index.js';
5
+
6
+ var hasRequiredI18nIsoCountries;
7
+
8
+ function requireI18nIsoCountries () {
9
+ if (hasRequiredI18nIsoCountries) return i18nIsoCountries;
10
+ hasRequiredI18nIsoCountries = 1;
11
+ (function (exports$1) {
12
+
13
+ const codes = require$$0;
14
+ const supportedLocales = require$$1;
15
+ const removeDiacritics = requireDiacritics().remove;
16
+ const registeredLocales = {};
17
+
18
+ /*
19
+ * All codes map to ISO 3166-1 alpha-2
20
+ */
21
+ const alpha2 = {},
22
+ alpha3 = {},
23
+ numeric = {},
24
+ invertedNumeric = {};
25
+
26
+ codes.forEach(function (codeInformation) {
27
+ const s = codeInformation;
28
+ alpha2[s[0]] = s[1];
29
+ alpha3[s[1]] = s[0];
30
+ numeric[s[2]] = s[0];
31
+ invertedNumeric[s[0]] = s[2];
32
+ });
33
+
34
+ /**
35
+ * @private
36
+ * @param {number} code
37
+ */
38
+ function formatNumericCode(code) {
39
+ return String("000" + (code ? code : "")).slice(-3);
40
+ }
41
+
42
+ /**
43
+ * @private
44
+ * Avoid using obj.hasOwnProperty directly as `hasOwnProperty` could be a
45
+ * property in itself ({ hasOwnProperty: 1 }) and cause weird bugs
46
+ * https://eslint.org/docs/rules/no-prototype-builtins
47
+ */
48
+ function hasOwnProperty(object, property) {
49
+ return Object.prototype.hasOwnProperty.call(object, property);
50
+ }
51
+
52
+ /**
53
+ * @private
54
+ * Pass localeList through a filter and return a newLocaleList obj
55
+ * with the same structure of the old localeList.
56
+ *
57
+ * @param {LocalizedCountryNames} localeList Local List in raw
58
+ * @param {Function} filter callback to set filter rule
59
+ * @return {String | String[]} new filtered Local List
60
+ */
61
+ function localeFilter(localeList, filter) {
62
+ return Object.keys(localeList).reduce(function (newLocaleList, alpha2) {
63
+ const nameList = localeList[alpha2];
64
+ newLocaleList[alpha2] = filter(nameList, alpha2);
65
+ return newLocaleList;
66
+ }, {});
67
+ }
68
+
69
+ /**
70
+ * @private
71
+ * Preserve for getName & getNames
72
+ *
73
+ * @param {GetNameOptions.select} type all | official | alias
74
+ * @param countryNameList string array of country's
75
+ * official name and alias
76
+ * @return {String | String[]} of a country name
77
+ */
78
+ function filterNameBy(type, countryNameList) {
79
+ switch (type) {
80
+ case "official":
81
+ return Array.isArray(countryNameList)
82
+ ? countryNameList[0]
83
+ : countryNameList;
84
+
85
+ case "all":
86
+ return typeof countryNameList === "string"
87
+ ? [countryNameList]
88
+ : countryNameList;
89
+
90
+ case "alias":
91
+ return Array.isArray(countryNameList)
92
+ ? countryNameList[1] || countryNameList[0]
93
+ : countryNameList;
94
+
95
+ default:
96
+ throw new TypeError(
97
+ "LocaleNameType must be one of these: all, official, alias!"
98
+ );
99
+ }
100
+ }
101
+
102
+ /**
103
+ * Register countries in browsers' environment:
104
+ * @param {object} localeData
105
+ * @example countries.registerLocale(require("i18n-iso-countries/langs/en.json"));
106
+ * @return void
107
+ */
108
+ exports$1.registerLocale = function (localeData) {
109
+ if (!localeData.locale) {
110
+ throw new TypeError("Missing localeData.locale");
111
+ }
112
+
113
+ if (!localeData.countries) {
114
+ throw new TypeError("Missing localeData.countries");
115
+ }
116
+
117
+ registeredLocales[localeData.locale] = localeData.countries;
118
+ };
119
+
120
+ /*
121
+ * @param code Alpha-3 code
122
+ * @return Alpha-2 code or undefined
123
+ */
124
+ function alpha3ToAlpha2(code) {
125
+ return alpha3[code];
126
+ }
127
+ exports$1.alpha3ToAlpha2 = alpha3ToAlpha2;
128
+
129
+ /*
130
+ * @param code Alpha-2 code
131
+ * @return Alpha-3 code or undefined
132
+ */
133
+ function alpha2ToAlpha3(code) {
134
+ return alpha2[code];
135
+ }
136
+ exports$1.alpha2ToAlpha3 = alpha2ToAlpha3;
137
+
138
+ /*
139
+ * @param code Alpha-3 code
140
+ * @return Numeric code or undefined
141
+ */
142
+ function alpha3ToNumeric(code) {
143
+ return invertedNumeric[alpha3ToAlpha2(code)];
144
+ }
145
+ exports$1.alpha3ToNumeric = alpha3ToNumeric;
146
+
147
+ /*
148
+ * @param code Alpha-2 code
149
+ * @return Numeric code or undefined
150
+ */
151
+ function alpha2ToNumeric(code) {
152
+ return invertedNumeric[code];
153
+ }
154
+ exports$1.alpha2ToNumeric = alpha2ToNumeric;
155
+
156
+ /*
157
+ * @param code Numeric code
158
+ * @return Alpha-3 code or undefined
159
+ */
160
+ function numericToAlpha3(code) {
161
+ const padded = formatNumericCode(code);
162
+ return alpha2ToAlpha3(numeric[padded]);
163
+ }
164
+ exports$1.numericToAlpha3 = numericToAlpha3;
165
+
166
+ /*
167
+ * @param code Numeric code
168
+ * @return Alpha-2 code or undefined
169
+ */
170
+ function numericToAlpha2(code) {
171
+ const padded = formatNumericCode(code);
172
+ return numeric[padded];
173
+ }
174
+ exports$1.numericToAlpha2 = numericToAlpha2;
175
+
176
+ /*
177
+ * @param code ISO 3166-1 alpha-2, alpha-3 or numeric code
178
+ * @return ISO 3166-1 alpha-3
179
+ */
180
+ function toAlpha3(code) {
181
+ if (typeof code === "string") {
182
+ if (/^[0-9]*$/.test(code)) {
183
+ return numericToAlpha3(code);
184
+ }
185
+ if (code.length === 2) {
186
+ return alpha2ToAlpha3(code.toUpperCase());
187
+ }
188
+ if (code.length === 3) {
189
+ return code.toUpperCase();
190
+ }
191
+ }
192
+ if (typeof code === "number") {
193
+ return numericToAlpha3(code);
194
+ }
195
+ return undefined;
196
+ }
197
+ exports$1.toAlpha3 = toAlpha3;
198
+
199
+ /*
200
+ * @param code ISO 3166-1 alpha-2, alpha-3 or numeric code
201
+ * @return ISO 3166-1 alpha-2
202
+ */
203
+ function toAlpha2(code) {
204
+ if (typeof code === "string") {
205
+ if (/^[0-9]*$/.test(code)) {
206
+ return numericToAlpha2(code);
207
+ }
208
+ if (code.length === 2) {
209
+ return code.toUpperCase();
210
+ }
211
+ if (code.length === 3) {
212
+ return alpha3ToAlpha2(code.toUpperCase());
213
+ }
214
+ }
215
+ if (typeof code === "number") {
216
+ return numericToAlpha2(code);
217
+ }
218
+ return undefined;
219
+ }
220
+ exports$1.toAlpha2 = toAlpha2;
221
+
222
+ /**
223
+ * @param {string | number | Alpha2Code | Alpha3Code} code
224
+ * @param {String} lang language for country name
225
+ * @param {GetNameOptions} options
226
+ * @return {String | String[] | undefined} name
227
+ */
228
+ exports$1.getName = function (code, lang, options = {}) {
229
+ if (!("select" in options)) {
230
+ options.select = "official";
231
+ }
232
+ try {
233
+ const codeMaps = registeredLocales[lang.toLowerCase()];
234
+ const nameList = codeMaps[toAlpha2(code)];
235
+ return filterNameBy(options.select, nameList);
236
+ } catch (err) {
237
+ return undefined;
238
+ }
239
+ };
240
+
241
+ /**
242
+ * @param {String} lang language for country names
243
+ * @param {GetNameOptions} options getNames Options
244
+ * @return {LocalizedCountryNames} country code
245
+ * mapped to county name
246
+ */
247
+ exports$1.getNames = function (lang, options = {}) {
248
+ if (!("select" in options)) {
249
+ options.select = "official";
250
+ }
251
+ const localeList = registeredLocales[lang.toLowerCase()];
252
+ if (localeList === undefined) return {};
253
+ return localeFilter(localeList, function (nameList) {
254
+ return filterNameBy(options.select, nameList);
255
+ });
256
+ };
257
+
258
+ /*
259
+ * @param name name
260
+ * @param lang language for country name
261
+ * @return ISO 3166-1 alpha-2 or undefined
262
+ */
263
+ exports$1.getAlpha2Code = function (name, lang) {
264
+ const normalizeString = (string) => string.toLowerCase();
265
+ const areSimilar = (a, b) => normalizeString(a) === normalizeString(b);
266
+
267
+ try {
268
+ const codenames = registeredLocales[lang.toLowerCase()];
269
+ for (const p in codenames) {
270
+ if (!hasOwnProperty(codenames, p)) {
271
+ continue;
272
+ }
273
+ if (typeof codenames[p] === "string") {
274
+ if (areSimilar(codenames[p], name)) {
275
+ return p;
276
+ }
277
+ }
278
+ if (Array.isArray(codenames[p])) {
279
+ for (const mappedName of codenames[p]) {
280
+ if (areSimilar(mappedName, name)) {
281
+ return p;
282
+ }
283
+ }
284
+ }
285
+ }
286
+ return undefined;
287
+ } catch (err) {
288
+ return undefined;
289
+ }
290
+ };
291
+
292
+ /*
293
+ * @param name name
294
+ * @param lang language for country name
295
+ * @return ISO 3166-1 alpha-2 or undefined
296
+ */
297
+ exports$1.getSimpleAlpha2Code = function (name, lang) {
298
+ const normalizeString = (string) => removeDiacritics(string.toLowerCase());
299
+ const areSimilar = (a, b) => normalizeString(a) === normalizeString(b);
300
+
301
+ try {
302
+ const codenames = registeredLocales[lang.toLowerCase()];
303
+ for (const p in codenames) {
304
+ if (!hasOwnProperty(codenames, p)) {
305
+ continue;
306
+ }
307
+ if (typeof codenames[p] === "string") {
308
+ if (areSimilar(codenames[p], name)) {
309
+ return p;
310
+ }
311
+ }
312
+ if (Array.isArray(codenames[p])) {
313
+ for (const mappedName of codenames[p]) {
314
+ if (areSimilar(mappedName, name)) {
315
+ return p;
316
+ }
317
+ }
318
+ }
319
+ }
320
+ return undefined;
321
+ } catch (err) {
322
+ return undefined;
323
+ }
324
+ };
325
+
326
+ /*
327
+ * @return Object of alpha-2 codes mapped to alpha-3 codes
328
+ */
329
+ exports$1.getAlpha2Codes = function () {
330
+ return alpha2;
331
+ };
332
+
333
+ /*
334
+ * @param name name
335
+ * @param lang language for country name
336
+ * @return ISO 3166-1 alpha-3 or undefined
337
+ */
338
+ exports$1.getAlpha3Code = function (name, lang) {
339
+ const alpha2 = exports$1.getAlpha2Code(name, lang);
340
+ if (alpha2) {
341
+ return exports$1.toAlpha3(alpha2);
342
+ } else {
343
+ return undefined;
344
+ }
345
+ };
346
+
347
+ /*
348
+ * @param name name
349
+ * @param lang language for country name
350
+ * @return ISO 3166-1 alpha-3 or undefined
351
+ */
352
+ exports$1.getSimpleAlpha3Code = function (name, lang) {
353
+ const alpha2 = exports$1.getSimpleAlpha2Code(name, lang);
354
+ if (alpha2) {
355
+ return exports$1.toAlpha3(alpha2);
356
+ } else {
357
+ return undefined;
358
+ }
359
+ };
360
+
361
+ /*
362
+ * @return Object of alpha-3 codes mapped to alpha-2 codes
363
+ */
364
+ exports$1.getAlpha3Codes = function () {
365
+ return alpha3;
366
+ };
367
+
368
+ /*
369
+ * @return Object of numeric codes mapped to alpha-2 codes
370
+ */
371
+ exports$1.getNumericCodes = function () {
372
+ return numeric;
373
+ };
374
+
375
+ /*
376
+ * @return Array of registered languages
377
+ */
378
+ exports$1.langs = function () {
379
+ return Object.keys(registeredLocales);
380
+ };
381
+
382
+ /*
383
+ * @return Array of supported languages
384
+ */
385
+ exports$1.getSupportedLanguages = function () {
386
+ return supportedLocales;
387
+ };
388
+
389
+ /*
390
+ * @param code ISO 3166-1 alpha-2, alpha-3 or numeric code
391
+ * @return Boolean
392
+ */
393
+ exports$1.isValid = function (code) {
394
+ if (!code) {
395
+ return false;
396
+ }
397
+
398
+ const coerced = code.toString().toUpperCase();
399
+ return (
400
+ hasOwnProperty(alpha3, coerced) ||
401
+ hasOwnProperty(alpha2, coerced) ||
402
+ hasOwnProperty(numeric, coerced)
403
+ );
404
+ };
405
+ } (i18nIsoCountries));
406
+ return i18nIsoCountries;
407
+ }
408
+
409
+ export { requireI18nIsoCountries as __require };
@@ -0,0 +1,8 @@
1
+ const locale = "en";
2
+ const countries = {"AF":"Afghanistan","AL":"Albania","DZ":"Algeria","AS":"American Samoa","AD":"Andorra","AO":"Angola","AI":"Anguilla","AQ":"Antarctica","AG":"Antigua and Barbuda","AR":"Argentina","AM":"Armenia","AW":"Aruba","AU":"Australia","AT":"Austria","AZ":"Azerbaijan","BS":"Bahamas","BH":"Bahrain","BD":"Bangladesh","BB":"Barbados","BY":"Belarus","BE":"Belgium","BZ":"Belize","BJ":"Benin","BM":"Bermuda","BT":"Bhutan","BO":"Bolivia","BA":"Bosnia and Herzegovina","BW":"Botswana","BV":"Bouvet Island","BR":"Brazil","IO":"British Indian Ocean Territory","BN":"Brunei Darussalam","BG":"Bulgaria","BF":"Burkina Faso","BI":"Burundi","KH":"Cambodia","CM":"Cameroon","CA":"Canada","CV":"Cape Verde","KY":"Cayman Islands","CF":"Central African Republic","TD":"Chad","CL":"Chile","CN":["People's Republic of China","China"],"CX":"Christmas Island","CC":"Cocos (Keeling) Islands","CO":"Colombia","KM":"Comoros","CG":["Republic of the Congo","Congo"],"CD":["Democratic Republic of the Congo","Congo"],"CK":"Cook Islands","CR":"Costa Rica","CI":["Cote d'Ivoire","Côte d'Ivoire","Ivory Coast"],"HR":"Croatia","CU":"Cuba","CY":"Cyprus","CZ":["Czech Republic","Czechia"],"DK":"Denmark","DJ":"Djibouti","DM":"Dominica","DO":"Dominican Republic","EC":"Ecuador","EG":"Egypt","SV":"El Salvador","GQ":"Equatorial Guinea","ER":"Eritrea","EE":"Estonia","ET":"Ethiopia","FK":"Falkland Islands (Malvinas)","FO":"Faroe Islands","FJ":"Fiji","FI":"Finland","FR":"France","GF":"French Guiana","PF":"French Polynesia","TF":"French Southern Territories","GA":"Gabon","GM":["Republic of The Gambia","The Gambia","Gambia"],"GE":"Georgia","DE":"Germany","GH":"Ghana","GI":"Gibraltar","GR":"Greece","GL":"Greenland","GD":"Grenada","GP":"Guadeloupe","GU":"Guam","GT":"Guatemala","GN":"Guinea","GW":"Guinea-Bissau","GY":"Guyana","HT":"Haiti","HM":"Heard Island and McDonald Islands","VA":"Holy See (Vatican City State)","HN":"Honduras","HK":"Hong Kong","HU":"Hungary","IS":"Iceland","IN":"India","ID":"Indonesia","IR":["Islamic Republic of Iran","Iran"],"IQ":"Iraq","IE":"Ireland","IL":"Israel","IT":"Italy","JM":"Jamaica","JP":"Japan","JO":"Jordan","KZ":"Kazakhstan","KE":"Kenya","KI":"Kiribati","KP":"North Korea","KR":["South Korea","Korea, Republic of","Republic of Korea"],"KW":"Kuwait","KG":"Kyrgyzstan","LA":"Lao People's Democratic Republic","LV":"Latvia","LB":"Lebanon","LS":"Lesotho","LR":"Liberia","LY":"Libya","LI":"Liechtenstein","LT":"Lithuania","LU":"Luxembourg","MO":"Macao","MG":"Madagascar","MW":"Malawi","MY":"Malaysia","MV":"Maldives","ML":"Mali","MT":"Malta","MH":"Marshall Islands","MQ":"Martinique","MR":"Mauritania","MU":"Mauritius","YT":"Mayotte","MX":"Mexico","FM":"Micronesia, Federated States of","MD":"Moldova, Republic of","MC":"Monaco","MN":"Mongolia","MS":"Montserrat","MA":"Morocco","MZ":"Mozambique","MM":"Myanmar","NA":"Namibia","NR":"Nauru","NP":"Nepal","NL":["Netherlands","The Netherlands","Netherlands (Kingdom of the)"],"NC":"New Caledonia","NZ":"New Zealand","NI":"Nicaragua","NE":"Niger","NG":"Nigeria","NU":"Niue","NF":"Norfolk Island","MK":["The Republic of North Macedonia","North Macedonia"],"MP":"Northern Mariana Islands","NO":"Norway","OM":"Oman","PK":"Pakistan","PW":"Palau","PS":["State of Palestine","Palestine"],"PA":"Panama","PG":"Papua New Guinea","PY":"Paraguay","PE":"Peru","PH":"Philippines","PN":["Pitcairn","Pitcairn Islands"],"PL":"Poland","PT":"Portugal","PR":"Puerto Rico","QA":"Qatar","RE":"Reunion","RO":"Romania","RU":["Russian Federation","Russia"],"RW":"Rwanda","SH":"Saint Helena","KN":"Saint Kitts and Nevis","LC":"Saint Lucia","PM":"Saint Pierre and Miquelon","VC":"Saint Vincent and the Grenadines","WS":"Samoa","SM":"San Marino","ST":"Sao Tome and Principe","SA":"Saudi Arabia","SN":"Senegal","SC":"Seychelles","SL":"Sierra Leone","SG":"Singapore","SK":"Slovakia","SI":"Slovenia","SB":"Solomon Islands","SO":"Somalia","ZA":"South Africa","GS":"South Georgia and the South Sandwich Islands","ES":"Spain","LK":"Sri Lanka","SD":"Sudan","SR":"Suriname","SJ":"Svalbard and Jan Mayen","SZ":"Eswatini","SE":"Sweden","CH":"Switzerland","SY":"Syrian Arab Republic","TW":["Taiwan, Province of China","Taiwan"],"TJ":"Tajikistan","TZ":["United Republic of Tanzania","Tanzania"],"TH":"Thailand","TL":"Timor-Leste","TG":"Togo","TK":"Tokelau","TO":"Tonga","TT":"Trinidad and Tobago","TN":"Tunisia","TR":["Türkiye","Turkey"],"TM":"Turkmenistan","TC":"Turks and Caicos Islands","TV":"Tuvalu","UG":"Uganda","UA":"Ukraine","AE":["United Arab Emirates","UAE"],"GB":["United Kingdom","UK","Great Britain"],"US":["United States of America","United States","USA","U.S.A.","US","U.S."],"UM":"United States Minor Outlying Islands","UY":"Uruguay","UZ":"Uzbekistan","VU":"Vanuatu","VE":"Venezuela","VN":"Vietnam","VG":"Virgin Islands, British","VI":"Virgin Islands, U.S.","WF":"Wallis and Futuna","EH":"Western Sahara","YE":"Yemen","ZM":"Zambia","ZW":"Zimbabwe","AX":["Åland Islands","Aland Islands"],"BQ":"Bonaire, Sint Eustatius and Saba","CW":"Curaçao","GG":"Guernsey","IM":"Isle of Man","JE":"Jersey","ME":"Montenegro","BL":"Saint Barthélemy","MF":"Saint Martin (French part)","RS":"Serbia","SX":"Sint Maarten (Dutch part)","SS":"South Sudan","XK":"Kosovo"};
3
+ const enLocale = {
4
+ locale,
5
+ countries,
6
+ };
7
+
8
+ export { countries, enLocale as default, locale };
@@ -0,0 +1,8 @@
1
+ const locale = "es";
2
+ const countries = {"AF":"Afganistán","AL":"Albania","DZ":"Argelia","AS":"Samoa Americana","AD":"Andorra","AO":"Angola","AI":"Anguila","AQ":"Antártida","AG":"Antigua y Barbuda","AR":"Argentina","AM":"Armenia","AW":"Aruba","AU":"Australia","AT":"Austria","AZ":"Azerbaiyán","BS":"Bahamas","BH":"Bahrein","BD":"Bangladesh","BB":"Barbados","BY":"Bielorrusia","BE":"Bélgica","BZ":"Belice","BJ":"Benin","BM":"Bermudas","BT":"Bután","BO":"Bolivia","BA":"Bosnia y Herzegovina","BW":"Botswana","BV":"Isla Bouvet","BR":"Brasil","IO":"Territorio Británico del Océano Índico","BN":"Brunei Darussalam","BG":"Bulgaria","BF":"Burkina Faso","BI":"Burundi","KH":"Camboya","CM":"Camerún","CA":"Canadá","CV":"Cabo Verde","KY":"Islas Caimán","CF":"República Centroafricana","TD":"Chad","CL":"Chile","CN":"China","CX":"Isla de Navidad","CC":"Islas Cocos (Keeling)","CO":"Colombia","KM":"Comoras","CG":"Congo","CD":"Congo (República Democrática del)","CK":"Islas Cook","CR":"Costa Rica","CI":"Costa de Marfil","HR":"Croacia","CU":"Cuba","CY":"Chipre","CZ":"República Checa","DK":"Dinamarca","DJ":"Yibuti","DM":"Dominica","DO":"República Dominicana","EC":"Ecuador","EG":"Egipto","SV":"El Salvador","GQ":"Guinea Ecuatorial","ER":"Eritrea","EE":"Estonia","ET":"Etiopía","FK":"Islas Malvinas","FO":"Islas Feroe","FJ":"Fiji","FI":"Finlandia","FR":"Francia","GF":"Guayana Francesa","PF":"Polinesia Francesa","TF":"Tierras Australes Francesas","GA":"Gabón","GM":"Gambia","GE":"Georgia","DE":"Alemania","GH":"Ghana","GI":"Gibraltar","GR":"Grecia","GL":"Groenlandia","GD":"Granada","GP":"Guadalupe","GU":"Guam","GT":"Guatemala","GN":"Guinea","GW":"Guinea Bissau","GY":"Guyana","HT":"Haití","HM":"Heard e Islas McDonald","VA":"Santa Sede","HN":"Honduras","HK":"Hong Kong","HU":"Hungría","IS":"Islandia","IN":"India","ID":"Indonesia","IR":["Irán","República Islámica de Irán"],"IQ":"Iraq","IE":"Irlanda","IL":"Israel","IT":"Italia","JM":"Jamaica","JP":"Japón","JO":"Jordania","KZ":"Kazajistán","KE":"Kenia","KI":"Kiribati","KP":"República Popular Democrática de Corea","KR":"República de Corea","KW":"Kuwait","KG":"Kirguistán","LA":"República Democrática Popular de Lao","LV":"Letonia","LB":"Líbano","LS":"Lesoto","LR":"Liberia","LY":"Libia","LI":"Liechtenstein","LT":"Lituania","LU":"Luxemburgo","MO":"Macao","MK":"Macedonia del Norte","MG":"Madagascar","MW":"Malaui","MY":"Malasia","MV":"Maldivas","ML":"Malí","MT":"Malta","MH":"Islas Marshall","MQ":"Martinica","MR":"Mauritania","MU":"Mauricio","YT":"Mayotte","MX":"México","FM":"Micronesia","MD":"Moldavia","MC":"Mónaco","MN":"Mongolia","MS":"Montserrat","MA":"Marruecos","MZ":"Mozambique","MM":"Myanmar","NA":"Namibia","NR":"Nauru","NP":"Nepal","NL":"Países Bajos","NC":"Nueva Caledonia","NZ":"Nueva Zelanda","NI":"Nicaragua","NE":"Níger","NG":"Nigeria","NU":"Niue","NF":"Isla Norfolk","MP":"Islas Marianas del Norte","NO":"Noruega","OM":"Omán","PK":"Pakistán","PW":"Palau","PS":"Palestina","PA":"Panamá","PG":"Papua Nueva Guinea","PY":"Paraguay","PE":"Perú","PH":"Filipinas","PN":"Pitcairn","PL":"Polonia","PT":"Portugal","PR":"Puerto Rico","QA":"Catar","RE":"Reunión","RO":"Rumanía","RU":"Rusia","RW":"Ruanda","SH":"Santa Helena, Ascensión y Tristán de Acuña","KN":"Saint Kitts y Nevis","LC":"Santa Lucía","PM":"San Pedro y Miquelón","VC":"San Vicente y las Granadinas","WS":"Samoa","SM":"San Marino","ST":"Santo Tomé y Príncipe","SA":"Arabia Saudita","SN":"Senegal","SC":"Seychelles","SL":"Sierra Leona","SG":"Singapur","SK":"Eslovaquia","SI":"Eslovenia","SB":"Islas Salomón","SO":"Somalia","ZA":"Sudáfrica","GS":"Georgia del Sur y las Islas Sandwich del Sur","ES":"España","LK":"Sri Lanka","SD":"Sudán","SR":"Suriname","SJ":"Svalbard y Jan Mayen","SZ":"Esuatini","SE":"Suecia","CH":"Suiza","SY":"República Árabe Siria","TW":"Taiwán","TJ":"Tayikistán","TZ":"Tanzania","TH":"Tailandia","TL":"Timor-Leste","TG":"Togo","TK":"Tokelau","TO":"Tonga","TT":"Trinidad y Tobago","TN":"Túnez","TR":"Turquía","TM":"Turkmenistán","TC":"Islas Turcas y Caicos","TV":"Tuvalu","UG":"Uganda","UA":"Ucrania","AE":"Emiratos Árabes Unidos","GB":"Reino Unido","US":"Estados Unidos","UM":"Islas Ultramarinas Menores de los Estados Unidos","UY":"Uruguay","UZ":"Uzbekistán","VU":"Vanuatu","VE":"Venezuela","VN":"Vietnam","VG":"Islas Vírgenes británicas","VI":"Islas Vírgenes de los Estados Unidos","WF":"Wallis y Futuna","EH":"Sahara Occidental","YE":"Yemen","ZM":"Zambia","ZW":"Zimbabue","AX":"Islas Åland","BQ":"Bonaire, San Eustaquio y Saba","CW":"Curaçao","GG":"Guernsey","IM":"Isla de Man","JE":"Jersey","ME":"Montenegro","BL":"Saint Barthélemy","MF":"Saint Martin (francesa)","RS":"Serbia","SX":"Sint Maarten (neerlandesa)","SS":"Sudán del Sur","XK":"Kosovo"};
3
+ const esLocale = {
4
+ locale,
5
+ countries,
6
+ };
7
+
8
+ export { countries, esLocale as default, locale };
@@ -0,0 +1,82 @@
1
+ const require$$1 = [
2
+ "br",
3
+ "cy",
4
+ "dv",
5
+ "sw",
6
+ "eu",
7
+ "af",
8
+ "am",
9
+ "ha",
10
+ "ku",
11
+ "ml",
12
+ "mt",
13
+ "no",
14
+ "ps",
15
+ "sd",
16
+ "so",
17
+ "sq",
18
+ "ta",
19
+ "tg",
20
+ "tt",
21
+ "ug",
22
+ "ur",
23
+ "vi",
24
+ "ar",
25
+ "az",
26
+ "be",
27
+ "bg",
28
+ "bn",
29
+ "bs",
30
+ "ca",
31
+ "cs",
32
+ "da",
33
+ "de",
34
+ "el",
35
+ "en",
36
+ "es",
37
+ "et",
38
+ "fa",
39
+ "fi",
40
+ "fr",
41
+ "ga",
42
+ "gl",
43
+ "he",
44
+ "hi",
45
+ "hr",
46
+ "hu",
47
+ "hy",
48
+ "id",
49
+ "is",
50
+ "it",
51
+ "ja",
52
+ "ka",
53
+ "kk",
54
+ "km",
55
+ "ko",
56
+ "ky",
57
+ "lt",
58
+ "lv",
59
+ "mk",
60
+ "mn",
61
+ "mr",
62
+ "ms",
63
+ "nb",
64
+ "nl",
65
+ "nn",
66
+ "pl",
67
+ "pt",
68
+ "ro",
69
+ "ru",
70
+ "sk",
71
+ "sl",
72
+ "sr",
73
+ "sv",
74
+ "th",
75
+ "tk",
76
+ "tr",
77
+ "uk",
78
+ "uz",
79
+ "zh"
80
+ ];
81
+
82
+ export { require$$1 as default };
@@ -0,0 +1,7 @@
1
+ import Metadata from './metadata.js';
2
+
3
+ function getCountries(metadata) {
4
+ return new Metadata(metadata).getCountries();
5
+ }
6
+
7
+ export { getCountries as default };
@@ -0,0 +1,6 @@
1
+ var objectConstructor = {}.constructor;
2
+ function isObject(object) {
3
+ return object !== undefined && object !== null && object.constructor === objectConstructor;
4
+ }
5
+
6
+ export { isObject as default };