CN-1317 fix: 调整npm location地图逻辑
1.地图右上角筛选框只提供有数据的选项; 2.更新“国家名称-code”的字典; 3.少数国家/地区无下钻地理数据的,只缩放而不下钻,并提示暂无地图数据;
This commit is contained in:
@@ -1884,495 +1884,471 @@ export const chartColor6 = ['#E99F67', '#D9C74B']
|
|||||||
export const iso36112 = {
|
export const iso36112 = {
|
||||||
[storageKey.iso36112Capital]: 'data/countriesWithCapital',
|
[storageKey.iso36112Capital]: 'data/countriesWithCapital',
|
||||||
[storageKey.iso36112WorldLow]: 'worldChinaLow',
|
[storageKey.iso36112WorldLow]: 'worldChinaLow',
|
||||||
XK: 'kosovoLow',
|
AD: 'andorraLow',
|
||||||
IE: 'irelandLow',
|
|
||||||
MM: 'myanmarLow',
|
|
||||||
TZ: 'tanzaniaLow',
|
|
||||||
BS: 'bahamasLow',
|
|
||||||
DM: 'dominicaLow',
|
|
||||||
VC: 'saintVincentLow',
|
|
||||||
BG: 'bulgariaLow',
|
|
||||||
SK: 'slovakiaLow',
|
|
||||||
UZ: 'uzbekistanLow',
|
|
||||||
IS: 'icelandLow',
|
|
||||||
CA: 'canadaLow',
|
|
||||||
AT: 'austriaLow',
|
|
||||||
DO: 'dominicanRepublicLow',
|
|
||||||
MY: 'malaysiaLow',
|
|
||||||
BW: 'botswanaLow',
|
|
||||||
SH: 'saintHelenaLow',
|
|
||||||
NO: 'norway2020Low',
|
|
||||||
CF: 'centralAfricanRepublicLow',
|
|
||||||
GA: 'gabonLow',
|
|
||||||
GD: 'grenadaLow',
|
|
||||||
RU: 'russiaLow',
|
|
||||||
FR: 'franceLow',
|
|
||||||
TJ: 'tajikistanLow',
|
|
||||||
CU: 'cubaLow',
|
|
||||||
NP: 'nepalLow',
|
|
||||||
ZW: 'zimbabweLow',
|
|
||||||
CW: 'curacaoLow',
|
|
||||||
GW: 'guineaBissauLow',
|
|
||||||
EE: 'estoniaLow',
|
|
||||||
AG: 'antiguaBarbudaLow',
|
|
||||||
TT: 'trinidadTobagoLow',
|
|
||||||
BF: 'burkinaFasoLow',
|
|
||||||
LI: 'liechtensteinLow',
|
|
||||||
OM: 'omanLow',
|
|
||||||
GY: 'guyanaLow',
|
|
||||||
GR: 'greeceLow',
|
|
||||||
KG: 'kyrgyzstanLow',
|
|
||||||
SD: 'sudanLow',
|
|
||||||
AE: 'uaeLow',
|
AE: 'uaeLow',
|
||||||
KY: 'caymanIslandsLow',
|
|
||||||
LA: 'laosLow',
|
|
||||||
LT: 'lithuaniaLow',
|
|
||||||
UG: 'ugandaLow',
|
|
||||||
MR: 'mauritaniaLow',
|
|
||||||
SS: 'southSudan2015Low',
|
|
||||||
SI: 'sloveniaLow',
|
|
||||||
MX: 'mexicoLow',
|
|
||||||
GH: 'ghanaLow',
|
|
||||||
GN: 'guineaLow',
|
|
||||||
BB: 'barbadosLow',
|
|
||||||
HN: 'hondurasLow',
|
|
||||||
SN: 'senegalLow',
|
|
||||||
BD: 'bangladeshLow',
|
|
||||||
BQ: 'bonaireSintEustatiusSabaLow',
|
|
||||||
CC: 'cocosKeelingLow',
|
|
||||||
HR: 'croatiaLow',
|
|
||||||
PL: 'polandLow',
|
|
||||||
ST: 'saoTomePrincipeLow',
|
|
||||||
TC: 'turksCaicosLow',
|
|
||||||
GT: 'guatemalaLow',
|
|
||||||
IT: 'italyLow',
|
|
||||||
RW: 'rwandaLow',
|
|
||||||
LC: 'saintLuciaLow',
|
|
||||||
TL: 'timorLesteLow',
|
|
||||||
CZ: 'czechiaLow',
|
|
||||||
GQ: 'equatorialGuineaLow',
|
|
||||||
FJ: 'fijiEastLow',
|
|
||||||
MA: 'moroccoLow',
|
|
||||||
DJ: 'djiboutiLow',
|
|
||||||
NE: 'nigerLow',
|
|
||||||
LV: 'latviaLow',
|
|
||||||
RS: 'serbiaLow',
|
|
||||||
PE: 'peruLow',
|
|
||||||
SE: 'swedenLow',
|
|
||||||
GE: 'georgiaLow',
|
|
||||||
DE: 'bosniaHerzegovinaLow',
|
|
||||||
AF: 'afghanistanLow',
|
AF: 'afghanistanLow',
|
||||||
AR: 'argentinaLow',
|
AG: 'antiguaBarbudaLow',
|
||||||
KE: 'kenyaLow',
|
|
||||||
AS: 'americanSamoaLow',
|
|
||||||
FI: 'finlandLow',
|
|
||||||
IR: 'iranLow',
|
|
||||||
UY: 'uruguayLow',
|
|
||||||
SA: 'saudiArabiaLow',
|
|
||||||
EC: 'ecuadorLow',
|
|
||||||
AW: 'arubaLow',
|
|
||||||
ZA: 'southAfricaLow',
|
|
||||||
PM: 'stPierreMiquelonLow',
|
|
||||||
SC: 'seychellesLow',
|
|
||||||
MG: 'madagascarProvinceLow',
|
|
||||||
YE: 'yemenLow',
|
|
||||||
BR: 'brazilLow',
|
|
||||||
ML: 'maliLow',
|
|
||||||
CL: 'chileLow',
|
|
||||||
LB: 'lebanonLow',
|
|
||||||
DZ: 'algeriaLow',
|
|
||||||
FO: 'faroeIslandsLow',
|
|
||||||
VE: 'venezuelaLow',
|
|
||||||
CR: 'costaRicaLow',
|
|
||||||
GP: 'guadeloupeLow',
|
|
||||||
SV: 'elSalvadorLow',
|
|
||||||
LK: 'sriLankaLow',
|
|
||||||
KZ: 'kazakhstanLow',
|
|
||||||
NL: 'netherlandsLow',
|
|
||||||
GM: 'gambiaLow',
|
|
||||||
TR: 'turkeyLow',
|
|
||||||
BE: 'belgiumLow',
|
|
||||||
PA: 'panamaLow',
|
|
||||||
AZ: 'azerbaijanLow',
|
|
||||||
PT: 'portugalLow',
|
|
||||||
VA: 'vaticanLow',
|
|
||||||
MW: 'malawiLow',
|
|
||||||
KN: 'stKittsNevisLow',
|
|
||||||
NI: 'nicaraguaLow',
|
|
||||||
MD: 'moldovaLow',
|
|
||||||
IN: 'indiaLow',
|
|
||||||
MZ: 'mozambiqueLow',
|
|
||||||
WS: 'samoaLow',
|
|
||||||
ET: 'ethiopiaLow',
|
|
||||||
MV: 'maldivesLow',
|
|
||||||
TH: 'thailandLow',
|
|
||||||
PH: 'philippinesLow',
|
|
||||||
MQ: 'martiniqueLow',
|
|
||||||
KP: 'northKoreaLow',
|
|
||||||
PR: 'puertoRicoLow',
|
|
||||||
CV: 'capeVerdeLow',
|
|
||||||
TG: 'togoLow',
|
|
||||||
AL: 'albaniaLow',
|
|
||||||
SJ: 'svalbardLow',
|
|
||||||
BH: 'bahrainLow',
|
|
||||||
AU: 'australiaLow',
|
|
||||||
BI: 'burundiLow',
|
|
||||||
QA: 'qatarLow',
|
|
||||||
TD: 'chadLow',
|
|
||||||
BZ: 'belizeLow',
|
|
||||||
GS: 'georgiaSouthOssetiaLow',
|
|
||||||
MS: 'montserratLow',
|
|
||||||
BM: 'bermudaLow',
|
|
||||||
ZM: 'zambiaLow',
|
|
||||||
JP: 'japanLow',
|
|
||||||
JO: 'jordanLow',
|
|
||||||
BT: 'bhutanLow',
|
|
||||||
NZ: 'newZealandLow',
|
|
||||||
MK: 'northMacedoniaLow',
|
|
||||||
TN: 'tunisiaLow',
|
|
||||||
BL: 'stBarthelemyLow',
|
|
||||||
PY: 'paraguayLow',
|
|
||||||
ID: 'indonesiaLow',
|
|
||||||
HT: 'haitiLow',
|
|
||||||
FK: 'falklandIslandsLow',
|
|
||||||
MP: 'northernMarianaLow',
|
|
||||||
PS: 'palestineLow',
|
|
||||||
CD: 'congoDRLow',
|
|
||||||
AM: 'armeniaLow',
|
|
||||||
DK: 'denmarkLow',
|
|
||||||
NG: 'nigeriaLow',
|
|
||||||
RO: 'romaniaLow',
|
|
||||||
ER: 'eritreaLow',
|
|
||||||
BN: 'bruneiDarussalamLow',
|
|
||||||
AO: 'angolaLow',
|
|
||||||
BA: 'bosniaHerzegovinaCantonsLow',
|
|
||||||
PK: 'pakistanLow',
|
|
||||||
GL: 'greenlandLow',
|
|
||||||
TM: 'turkmenistanLow',
|
|
||||||
BJ: 'beninLow',
|
|
||||||
CI: 'cotedIvoireLow',
|
|
||||||
CN: 'chinaLow',
|
|
||||||
CH: 'switzerlandLow',
|
|
||||||
VG: 'britishVirginIslandsLow',
|
|
||||||
VI: 'usVirginIslandsLow',
|
|
||||||
IL: 'israelLow',
|
|
||||||
SR: 'surinameLow',
|
|
||||||
CO: 'colombiaLow',
|
|
||||||
MT: 'maltaLow',
|
|
||||||
CM: 'cameroonLow',
|
|
||||||
LY: 'libyaLow',
|
|
||||||
IQ: 'iraqLow',
|
|
||||||
UA: 'ukraineLow',
|
|
||||||
VN: 'vietnamLow',
|
|
||||||
KH: 'cambodiaLow',
|
|
||||||
AI: 'anguillaLow',
|
AI: 'anguillaLow',
|
||||||
ME: 'montenegroLow',
|
AL: 'albaniaLow',
|
||||||
SB: 'solomonIslandsLow',
|
AM: 'armeniaLow',
|
||||||
KR: 'southKoreaLow',
|
AO: 'angolaLow',
|
||||||
GB: 'ukLow',
|
AR: 'argentinaLow',
|
||||||
SG: 'singaporeLow',
|
AS: 'americanSamoaLow',
|
||||||
EG: 'egyptLow',
|
AT: 'austriaLow',
|
||||||
CY: 'cyprusLow',
|
AU: 'australiaLow',
|
||||||
KM: 'comorosLow',
|
AW: 'arubaLow',
|
||||||
GU: 'guamLow',
|
AZ: 'azerbaijanLow',
|
||||||
HK: 'hongKongLow',
|
BA: 'bosniaHerzegovinaCantonsLow',
|
||||||
SO: 'somaliaLow',
|
BB: 'barbadosLow',
|
||||||
NA: 'namibiaLow',
|
BD: 'bangladeshLow',
|
||||||
HU: 'hungaryLow',
|
BE: 'belgiumLow',
|
||||||
BY: 'belarusLow',
|
BF: 'burkinaFasoLow',
|
||||||
|
BG: 'bulgariaLow',
|
||||||
|
BH: 'bahrainLow',
|
||||||
|
BI: 'burundiLow',
|
||||||
|
BJ: 'beninLow',
|
||||||
|
BL: 'stBarthelemyLow',
|
||||||
|
BM: 'bermudaLow',
|
||||||
|
BN: 'bruneiDarussalamLow',
|
||||||
BO: 'boliviaLow',
|
BO: 'boliviaLow',
|
||||||
|
BQ: 'bonaireSintEustatiusSabaLow',
|
||||||
|
BR: 'brazilLow',
|
||||||
|
BS: 'bahamasLow',
|
||||||
|
BT: 'bhutanLow',
|
||||||
|
BW: 'botswanaLow',
|
||||||
|
BY: 'belarusLow',
|
||||||
|
BZ: 'belizeLow',
|
||||||
|
CA: 'canadaLow',
|
||||||
|
CC: 'cocosKeelingLow',
|
||||||
|
CD: 'congoDRLow',
|
||||||
|
CF: 'centralAfricanRepublicLow',
|
||||||
|
CG: 'congoLow',
|
||||||
|
CH: 'switzerlandLow',
|
||||||
|
CI: 'cotedIvoireLow',
|
||||||
|
CL: 'chileLow',
|
||||||
|
CM: 'cameroonLow',
|
||||||
|
CN: 'chinaLow',
|
||||||
|
CO: 'colombiaLow',
|
||||||
|
CR: 'costaRicaLow',
|
||||||
|
CU: 'cubaLow',
|
||||||
|
CV: 'capeVerdeLow',
|
||||||
|
CW: 'curacaoLow',
|
||||||
|
CY: 'cyprusLow',
|
||||||
|
CZ: 'czechiaLow',
|
||||||
|
DE: 'bosniaHerzegovinaLow',
|
||||||
|
DJ: 'djiboutiLow',
|
||||||
|
DK: 'denmarkLow',
|
||||||
|
DM: 'dominicaLow',
|
||||||
|
DO: 'dominicanRepublicLow',
|
||||||
|
DZ: 'algeriaLow',
|
||||||
|
EC: 'ecuadorLow',
|
||||||
|
EE: 'estoniaLow',
|
||||||
|
EG: 'egyptLow',
|
||||||
|
ER: 'eritreaLow',
|
||||||
|
ES: 'spainLow',
|
||||||
|
ET: 'ethiopiaLow',
|
||||||
|
FI: 'finlandLow',
|
||||||
|
FJ: 'fijiEastLow',
|
||||||
|
FK: 'falklandIslandsLow',
|
||||||
|
FO: 'faroeIslandsLow',
|
||||||
|
FR: 'franceLow',
|
||||||
|
GA: 'gabonLow',
|
||||||
|
GB: 'ukLow',
|
||||||
|
GD: 'grenadaLow',
|
||||||
|
GE: 'georgiaLow',
|
||||||
GF: 'frenchGuianaLow',
|
GF: 'frenchGuianaLow',
|
||||||
US: 'usaLow',
|
GH: 'ghanaLow',
|
||||||
|
GL: 'greenlandLow',
|
||||||
|
GM: 'gambiaLow',
|
||||||
|
GN: 'guineaLow',
|
||||||
|
GP: 'guadeloupeLow',
|
||||||
|
GQ: 'equatorialGuineaLow',
|
||||||
|
GR: 'greeceLow',
|
||||||
|
GS: 'georgiaSouthOssetiaLow',
|
||||||
|
GT: 'guatemalaLow',
|
||||||
|
GU: 'guamLow',
|
||||||
|
GW: 'guineaBissauLow',
|
||||||
|
GY: 'guyanaLow',
|
||||||
|
HK: 'hongKongLow',
|
||||||
|
HN: 'hondurasLow',
|
||||||
|
HR: 'croatiaLow',
|
||||||
|
HT: 'haitiLow',
|
||||||
|
HU: 'hungaryLow',
|
||||||
|
ID: 'indonesiaLow',
|
||||||
|
IE: 'irelandLow',
|
||||||
|
IL: 'israelLow',
|
||||||
|
IN: 'indiaLow',
|
||||||
|
IO: 'britishIndianOceanTerritoryLow',
|
||||||
|
IQ: 'iraqLow',
|
||||||
|
IR: 'iranLow',
|
||||||
|
IS: 'icelandLow',
|
||||||
|
IT: 'italyLow',
|
||||||
|
JM: 'jamaicaLow',
|
||||||
|
JO: 'jordanLow',
|
||||||
|
JP: 'japanLow',
|
||||||
|
KE: 'kenyaLow',
|
||||||
|
KG: 'kyrgyzstanLow',
|
||||||
|
KH: 'cambodiaLow',
|
||||||
|
KM: 'comorosLow',
|
||||||
|
KN: 'stKittsNevisLow',
|
||||||
|
KP: 'northKoreaLow',
|
||||||
|
KR: 'southKoreaLow',
|
||||||
|
KW: 'kuwaitLow',
|
||||||
|
KY: 'caymanIslandsLow',
|
||||||
|
KZ: 'kazakhstanLow',
|
||||||
|
LA: 'laosLow',
|
||||||
|
LB: 'lebanonLow',
|
||||||
|
LC: 'saintLuciaLow',
|
||||||
|
LI: 'liechtensteinLow',
|
||||||
|
LK: 'sriLankaLow',
|
||||||
|
LR: 'liberiaLow',
|
||||||
|
LS: 'lesothoLow',
|
||||||
|
LT: 'lithuaniaLow',
|
||||||
|
LU: 'luxembourgLow',
|
||||||
|
LV: 'latviaLow',
|
||||||
|
LY: 'libyaLow',
|
||||||
|
MA: 'moroccoLow',
|
||||||
|
MD: 'moldovaLow',
|
||||||
|
ME: 'montenegroLow',
|
||||||
|
MG: 'madagascarProvinceLow',
|
||||||
|
MK: 'northMacedoniaLow',
|
||||||
|
ML: 'maliLow',
|
||||||
|
MM: 'myanmarLow',
|
||||||
|
MN: 'mongoliaLow',
|
||||||
|
MP: 'northernMarianaLow',
|
||||||
|
MQ: 'martiniqueLow',
|
||||||
|
MR: 'mauritaniaLow',
|
||||||
|
MS: 'montserratLow',
|
||||||
|
MT: 'maltaLow',
|
||||||
|
MU: 'mauritiusLow',
|
||||||
|
MV: 'maldivesLow',
|
||||||
|
MW: 'malawiLow',
|
||||||
|
MX: 'mexicoLow',
|
||||||
|
MY: 'malaysiaLow',
|
||||||
|
MZ: 'mozambiqueLow',
|
||||||
|
NA: 'namibiaLow',
|
||||||
|
NE: 'nigerLow',
|
||||||
|
NG: 'nigeriaLow',
|
||||||
|
NI: 'nicaraguaLow',
|
||||||
|
NL: 'netherlandsLow',
|
||||||
|
NO: 'norway2020Low',
|
||||||
|
NP: 'nepalLow',
|
||||||
|
NZ: 'newZealandLow',
|
||||||
|
OM: 'omanLow',
|
||||||
|
PA: 'panamaLow',
|
||||||
|
PE: 'peruLow',
|
||||||
|
PF: 'frenchPolynesiaLow',
|
||||||
|
PH: 'philippinesLow',
|
||||||
|
PK: 'pakistanLow',
|
||||||
|
PL: 'polandLow',
|
||||||
|
PM: 'stPierreMiquelonLow',
|
||||||
|
PR: 'puertoRicoLow',
|
||||||
|
PS: 'palestineLow',
|
||||||
|
PT: 'portugalLow',
|
||||||
|
PY: 'paraguayLow',
|
||||||
|
QA: 'qatarLow',
|
||||||
|
RO: 'romaniaLow',
|
||||||
|
RS: 'serbiaLow',
|
||||||
|
RU: 'russiaLow',
|
||||||
|
RW: 'rwandaLow',
|
||||||
|
SA: 'saudiArabiaLow',
|
||||||
|
SB: 'solomonIslandsLow',
|
||||||
|
SC: 'seychellesLow',
|
||||||
|
SD: 'sudanLow',
|
||||||
|
SE: 'swedenLow',
|
||||||
|
SG: 'singaporeLow',
|
||||||
|
SH: 'saintHelenaLow',
|
||||||
|
SI: 'sloveniaLow',
|
||||||
|
SJ: 'svalbardLow',
|
||||||
|
SK: 'slovakiaLow',
|
||||||
SL: 'sierraLeoneLow',
|
SL: 'sierraLeoneLow',
|
||||||
SM: 'sanMarinoLow',
|
SM: 'sanMarinoLow',
|
||||||
AD: 'andorraLow',
|
SN: 'senegalLow',
|
||||||
ES: 'spainLow',
|
SO: 'somaliaLow',
|
||||||
KW: 'kuwaitLow',
|
SR: 'surinameLow',
|
||||||
CG: 'congoLow',
|
SS: 'southSudan2015Low',
|
||||||
LU: 'luxembourgLow',
|
ST: 'saoTomePrincipeLow',
|
||||||
JM: 'jamaicaLow',
|
SV: 'elSalvadorLow',
|
||||||
SY: 'syriaLow',
|
SY: 'syriaLow',
|
||||||
SZ: 'eswatiniLow',
|
SZ: 'eswatiniLow',
|
||||||
MN: 'mongoliaLow'
|
TC: 'turksCaicosLow',
|
||||||
|
TD: 'chadLow',
|
||||||
|
TG: 'togoLow',
|
||||||
|
TH: 'thailandLow',
|
||||||
|
TJ: 'tajikistanLow',
|
||||||
|
TL: 'timorLesteLow',
|
||||||
|
TM: 'turkmenistanLow',
|
||||||
|
TN: 'tunisiaLow',
|
||||||
|
TR: 'turkeyLow',
|
||||||
|
TT: 'trinidadTobagoLow',
|
||||||
|
TZ: 'tanzaniaLow',
|
||||||
|
UA: 'ukraineLow',
|
||||||
|
UG: 'ugandaLow',
|
||||||
|
US: 'usaLow',
|
||||||
|
UY: 'uruguayLow',
|
||||||
|
UZ: 'uzbekistanLow',
|
||||||
|
VA: 'vaticanLow',
|
||||||
|
VC: 'saintVincentLow',
|
||||||
|
VE: 'venezuelaLow',
|
||||||
|
VG: 'britishVirginIslandsLow',
|
||||||
|
VI: 'usVirginIslandsLow',
|
||||||
|
VN: 'vietnamLow',
|
||||||
|
WS: 'samoaLow',
|
||||||
|
XK: 'kosovoLow',
|
||||||
|
YE: 'yemenLow',
|
||||||
|
ZA: 'southAfricaLow',
|
||||||
|
ZM: 'zambiaLow',
|
||||||
|
ZW: 'zimbabweLow'
|
||||||
}
|
}
|
||||||
|
|
||||||
export const countryNameIdMapping = {
|
export const countryNameIdMapping = {
|
||||||
'Private IP': 'CN',
|
"Private IP": "CN",
|
||||||
Andorra: 'AD',
|
"Andorra": "AD",
|
||||||
'United Arab Emirates': 'AE',
|
"United Arab Emirates": "AE",
|
||||||
Afghanistan: 'AF',
|
"Afghanistan": "AF",
|
||||||
'Antigua and Barbuda': 'AG',
|
"Antigua and Barbuda": "AG",
|
||||||
Anguilla: 'AI',
|
"Anguilla": "AI",
|
||||||
Albania: 'AL',
|
"Albania": "AL",
|
||||||
Armenia: 'AM',
|
"Armenia": "AM",
|
||||||
Angola: 'AO',
|
"Angola": "AO",
|
||||||
Antarctica: 'AQ',
|
"Argentina": "AR",
|
||||||
Argentina: 'AR',
|
"American Samoa": "AS",
|
||||||
'American Samoa': 'AS',
|
"Austria": "AT",
|
||||||
Austria: 'AT',
|
"Australia": "AU",
|
||||||
Australia: 'AU',
|
"Aruba": "AW",
|
||||||
Aruba: 'AW',
|
"Ahvenanmaa": "AX", // TODO 芬兰自治区阿兰群岛,无下钻数据
|
||||||
Ahvenanmaa: 'AX',
|
"Azerbaijan": "AZ",
|
||||||
'Åland Islands': 'AX',
|
"Bosnia and Herzegovina": "BA",
|
||||||
Azerbaijan: 'AZ',
|
"Barbados": "BB",
|
||||||
'Bosnia and Herzegovina': 'BA',
|
"Bangladesh": "BD",
|
||||||
Barbados: 'BB',
|
"Belgium": "BE",
|
||||||
Bangladesh: 'BD',
|
"Burkina Faso": "BF",
|
||||||
Belgium: 'BE',
|
"Bulgaria": "BG",
|
||||||
'Burkina Faso': 'BF',
|
"Bahrain": "BH",
|
||||||
Bulgaria: 'BG',
|
"Burundi": "BI",
|
||||||
Bahrain: 'BH',
|
"Benin": "BJ",
|
||||||
Burundi: 'BI',
|
"Saint Barthelemy": "BL",
|
||||||
Benin: 'BJ',
|
"Bermuda": "BM",
|
||||||
'Saint Barthelemy': 'BL',
|
"Brunei Darussalam": "BN",
|
||||||
Bermuda: 'BM',
|
"Bolivia": "BO",
|
||||||
Brunei: 'BN',
|
"Caribbean Netherlands": "BQ",
|
||||||
'Brunei Darussalam': 'BN',
|
"Brazil": "BR",
|
||||||
Bolivia: 'BO',
|
"Bahamas": "BS",
|
||||||
'Bonaire, Sint Eustatius, and Saba': 'BQ',
|
"Bhutan": "BT",
|
||||||
'Caribbean Netherlands': 'BQ',
|
"Bouvet Island": "BV", // TODO 挪威领地布维岛,下钻地图数据缺失
|
||||||
Brazil: 'BR',
|
"Botswana": "BW",
|
||||||
Bahamas: 'BS',
|
"Belarus": "BY",
|
||||||
Bhutan: 'BT',
|
"Belize": "BZ",
|
||||||
'Bouvet Island': 'BV',
|
"Canada": "CA",
|
||||||
Botswana: 'BW',
|
"Cocos (Keeling) Islands": "CC",
|
||||||
Belarus: 'BY',
|
"Democratic Republic of the Congo": "CD",
|
||||||
Belize: 'BZ',
|
"Central African Republic": "CF",
|
||||||
Canada: 'CA',
|
"Republic of the Congo": "CG",
|
||||||
'Cocos (Keeling) Islands': 'CC',
|
"Switzerland": "CH",
|
||||||
'Democratic Republic of the Congo': 'CD',
|
"Cote D'Ivoire": "CI",
|
||||||
'DR Congo': 'CD',
|
"Cook Islands": "CK", // TODO 新西兰的库克群岛,下钻地图数据缺失
|
||||||
'Central African Republic': 'CF',
|
"Chile": "CL",
|
||||||
'Congo Republic': 'CG',
|
"Cameroon": "CM",
|
||||||
'Republic of the Congo': 'CG',
|
"China": "CN",
|
||||||
Switzerland: 'CH',
|
"Colombia": "CO",
|
||||||
"Cote D'Ivoire": 'CI',
|
"Costa Rica": "CR",
|
||||||
'Ivory Coast': 'CI',
|
"Cuba": "CU",
|
||||||
'Cook Islands': 'CK',
|
"Cape Verde": "CV",
|
||||||
Chile: 'CL',
|
"Curaao": "CW",
|
||||||
Cameroon: 'CM',
|
"Christmas Island": "CX", // TODO 澳大利亚的圣诞到,下钻地图数据缺失
|
||||||
China: 'CN',
|
"Cyprus": "CY",
|
||||||
Colombia: 'CO',
|
"Czech Republic": "CZ",
|
||||||
'Costa Rica': 'CR',
|
"Germany": "DE",
|
||||||
Cuba: 'CU',
|
"Djibouti": "DJ",
|
||||||
'Cabo Verde': 'CV',
|
"Denmark": "DK",
|
||||||
'Cape Verde': 'CV',
|
"Dominica": "DM",
|
||||||
Curaao: 'CW',
|
"Dominican Republic": "DO",
|
||||||
Curaçao: 'CW',
|
"Algeria": "DZ",
|
||||||
'Christmas Island': 'CX',
|
"Ecuador": "EC",
|
||||||
Cyprus: 'CY',
|
"Estonia": "EE",
|
||||||
'Czech Republic': 'CZ',
|
"Egypt": "EG",
|
||||||
Czechia: 'CZ',
|
"Western Sahara": "EH", // TODO 西撒哈拉地区,下钻地图数据缺失
|
||||||
Germany: 'DE',
|
"Eritrea": "ER",
|
||||||
Djibouti: 'DJ',
|
"Spain": "ES",
|
||||||
Denmark: 'DK',
|
"Ethiopia": "ET",
|
||||||
Dominica: 'DM',
|
"Finland": "FI",
|
||||||
'Dominican Republic': 'DO',
|
"Fiji": "FJ",
|
||||||
Algeria: 'DZ',
|
"Falkland Islands": "FK",
|
||||||
Ecuador: 'EC',
|
"Micronesia": "FM", // TODO 密克罗尼西亚联邦,下钻地图数据缺失
|
||||||
Estonia: 'EE',
|
"Faroe Islands": "FO",
|
||||||
Egypt: 'EG',
|
"France": "FR",
|
||||||
'Western Sahara': 'EH',
|
"Gabon": "GA",
|
||||||
Eritrea: 'ER',
|
"United Kingdom": "GB",
|
||||||
Spain: 'ES',
|
"Grenada": "GD",
|
||||||
Ethiopia: 'ET',
|
"Georgia": "GE",
|
||||||
Finland: 'FI',
|
"French Guiana": "GF",
|
||||||
Fiji: 'FJ',
|
"Guernsey": "GG", // TODO 英属根西岛,下钻地图数据缺失
|
||||||
'Falkland Islands': 'FK',
|
"Ghana": "GH",
|
||||||
'Federated States of Micronesia': 'FM',
|
"Gibraltar": "GI", // TODO 英属直布罗陀,下钻地图数据缺失
|
||||||
Micronesia: 'FM',
|
"Greenland": "GL",
|
||||||
'Faroe Islands': 'FO',
|
"Gambia": "GM",
|
||||||
France: 'FR',
|
"Guinea": "GN",
|
||||||
Gabon: 'GA',
|
"Guadeloupe": "GP",
|
||||||
'United Kingdom': 'GB',
|
"Equatorial Guinea": "GQ",
|
||||||
Grenada: 'GD',
|
"Greece": "GR",
|
||||||
Georgia: 'GE',
|
"South Georgia and The South Sandwich Islands": "GS",
|
||||||
'French Guiana': 'GF',
|
"Guatemala": "GT",
|
||||||
Guernsey: 'GG',
|
"Guam": "GU",
|
||||||
Ghana: 'GH',
|
"Guinea-Bissau": "GW",
|
||||||
Gibraltar: 'GI',
|
"Guyana": "GY",
|
||||||
Greenland: 'GL',
|
"Heard Island and McDonald Islands": "HM", // TODO 澳大利亚领地赫德岛和麦克唐纳群岛,下钻地图数据缺失
|
||||||
Gambia: 'GM',
|
"Honduras": "HN",
|
||||||
Guinea: 'GN',
|
"Croatia": "HR",
|
||||||
Guadeloupe: 'GP',
|
"Haiti": "HT",
|
||||||
'Equatorial Guinea': 'GQ',
|
"Hungary": "HU",
|
||||||
Greece: 'GR',
|
"Indonesia": "ID",
|
||||||
'South Georgia and The South Sandwich Islands': 'GS',
|
"Ireland": "IE",
|
||||||
Guatemala: 'GT',
|
"Israel": "IL",
|
||||||
Guam: 'GU',
|
"Isle of Man": "IM", // TODO 英属马恩岛,下钻地图数据缺失
|
||||||
'Guinea-Bissau': 'GW',
|
"India": "IN",
|
||||||
Guyana: 'GY',
|
"British Indian Ocean Territory": "IO",
|
||||||
'Hong Kong': 'HK',
|
"Iraq": "IQ",
|
||||||
'Heard and McDonald Islands': 'HM',
|
"Iran": "IR",
|
||||||
'Heard Island and McDonald Islands': 'HM',
|
"Iceland": "IS",
|
||||||
Honduras: 'HN',
|
"Italy": "IT",
|
||||||
Croatia: 'HR',
|
"Jersey": "JE", // TODO 英属泽西岛,下钻地图数据缺失
|
||||||
Haiti: 'HT',
|
"Jamaica": "JM",
|
||||||
Hungary: 'HU',
|
"Jordan": "JO",
|
||||||
Indonesia: 'ID',
|
"Japan": "JP",
|
||||||
Ireland: 'IE',
|
"Kenya": "KE",
|
||||||
Israel: 'IL',
|
"Kyrgyzstan": "KG",
|
||||||
'Isle of Man': 'IM',
|
"Cambodia": "KH",
|
||||||
India: 'IN',
|
"Kiribati": "KI", // TODO 基里巴斯共和国,下钻地图数据缺失
|
||||||
'British Indian Ocean Territory': 'IO',
|
"Comoros": "KM",
|
||||||
Iraq: 'IQ',
|
"Saint Kitts and Nevis": "KN",
|
||||||
Iran: 'IR',
|
"North Korea": "KP",
|
||||||
Iceland: 'IS',
|
"South Korea": "KR",
|
||||||
Italy: 'IT',
|
"Kuwait": "KW",
|
||||||
Jersey: 'JE',
|
"Cayman Islands": "KY",
|
||||||
Jamaica: 'JM',
|
"Kazakhstan": "KZ",
|
||||||
Jordan: 'JO',
|
"Laos": "LA",
|
||||||
Japan: 'JP',
|
"Lebanon": "LB",
|
||||||
Kenya: 'KE',
|
"Saint Lucia": "LC",
|
||||||
Kyrgyzstan: 'KG',
|
"Liechtenstein": "LI",
|
||||||
Cambodia: 'KH',
|
"Sri Lanka": "LK",
|
||||||
Kiribati: 'KI',
|
"Liberia": "LR",
|
||||||
Comoros: 'KM',
|
"Lesotho": "LS",
|
||||||
'Saint Kitts and Nevis': 'KN',
|
"Lithuania": "LT",
|
||||||
'St Kitts and Nevis': 'KN',
|
"Luxembourg": "LU",
|
||||||
'North Korea': 'KP',
|
"Latvia": "LV",
|
||||||
'South Korea': 'KR',
|
"Libya": "LY",
|
||||||
Kuwait: 'KW',
|
"Morocco": "MA",
|
||||||
'Cayman Islands': 'KY',
|
"Monaco": "MC", // TODO 摩纳哥,2平方公里,下钻地图数据缺失
|
||||||
Kazakhstan: 'KZ',
|
"Moldova": "MD",
|
||||||
Laos: 'LA',
|
"Montenegro": "ME",
|
||||||
Lebanon: 'LB',
|
"Saint Martin": "MF", // TODO 法属圣马丁,下钻地图数据缺失
|
||||||
'Saint Lucia': 'LC',
|
"Madagascar": "MG",
|
||||||
Liechtenstein: 'LI',
|
"Marshall Islands": "MH", // TODO 马绍尔群岛共和国,下钻地图数据缺失
|
||||||
'Sri Lanka': 'LK',
|
"The Republic of North Macedonia": "MK",
|
||||||
Liberia: 'LR',
|
"Mali": "ML",
|
||||||
Lesotho: 'LS',
|
"Myanmar": "MM",
|
||||||
Lithuania: 'LT',
|
"Mongolia": "MN",
|
||||||
Luxembourg: 'LU',
|
"Northern Mariana Islands": "MP",
|
||||||
Latvia: 'LV',
|
"Martinique": "MQ",
|
||||||
Libya: 'LY',
|
"Mauritania": "MR",
|
||||||
Morocco: 'MA',
|
"Montserrat": "MS",
|
||||||
Monaco: 'MC',
|
"Malta": "MT",
|
||||||
Moldova: 'MD',
|
"Mauritius": "MU",
|
||||||
Montenegro: 'ME',
|
"Maldives": "MV",
|
||||||
'Saint Martin': 'MF',
|
"Malawi": "MW",
|
||||||
Madagascar: 'MG',
|
"Mexico": "MX",
|
||||||
'Marshall Islands': 'MH',
|
"Malaysia": "MY",
|
||||||
'North Macedonia': 'MK',
|
"Mozambique": "MZ",
|
||||||
'The Republic of North Macedonia': 'MK',
|
"Namibia": "NA",
|
||||||
Mali: 'ML',
|
"New Caledonia": "NC", // TODO 法属新喀里多尼亚,下钻地图数据缺失
|
||||||
Myanmar: 'MM',
|
"Niger": "NE",
|
||||||
Mongolia: 'MN',
|
"Norfolk Island": "NF", // TODO 澳大利亚属诺福克岛,下钻地图数据缺失
|
||||||
Macao: 'MO',
|
"Nigeria": "NG",
|
||||||
'Northern Mariana Islands': 'MP',
|
"Nicaragua": "NI",
|
||||||
Martinique: 'MQ',
|
"The Netherlands": "NL",
|
||||||
Mauritania: 'MR',
|
"Norway": "NO",
|
||||||
Montserrat: 'MS',
|
"Nepal": "NP",
|
||||||
Malta: 'MT',
|
"Nauru": "NR", // TODO 瑙鲁共和国,下钻地图数据缺失
|
||||||
Mauritius: 'MU',
|
"Niue": "NU", // TODO 新西兰属纽埃岛,下钻地图数据缺失
|
||||||
Maldives: 'MV',
|
"New Zealand": "NZ",
|
||||||
Malawi: 'MW',
|
"Oman": "OM",
|
||||||
Mexico: 'MX',
|
"Panama": "PA",
|
||||||
Malaysia: 'MY',
|
"Peru": "PE",
|
||||||
Mozambique: 'MZ',
|
"French Polynesia": "PF",
|
||||||
Namibia: 'NA',
|
"Papua New Guinea": "PG", // TODO 巴布亚新几内亚,下钻地图数据缺失
|
||||||
'New Caledonia': 'NC',
|
"Philippines": "PH",
|
||||||
Niger: 'NE',
|
"Pakistan": "PK",
|
||||||
'Norfolk Island': 'NF',
|
"Poland": "PL",
|
||||||
Nigeria: 'NG',
|
"Saint-Pierre and Miquelon": "PM",
|
||||||
Nicaragua: 'NI',
|
"Pitcairn": "PN", // TODO 英属皮特凯恩群岛,下钻地图数据缺失
|
||||||
Netherlands: 'NL',
|
"Puerto Rico": "PR",
|
||||||
'The Netherlands': 'NL',
|
"Palestine": "PS",
|
||||||
Norway: 'NO',
|
"Portugal": "PT",
|
||||||
Nepal: 'NP',
|
"Palau": "PW", // TODO 帕劳共和国,下钻地图数据缺失
|
||||||
Nauru: 'NR',
|
"Paraguay": "PY",
|
||||||
Niue: 'NU',
|
"Qatar": "QA",
|
||||||
'New Zealand': 'NZ',
|
"Reunion": "RE", // TODO 法属留尼汪岛,下钻地图数据缺失
|
||||||
Oman: 'OM',
|
"Romania": "RO",
|
||||||
Panama: 'PA',
|
"Serbia": "RS",
|
||||||
Peru: 'PE',
|
"Russia": "RU",
|
||||||
'French Polynesia': 'PF',
|
"Rwanda": "RW",
|
||||||
'Papua New Guinea': 'PG',
|
"Saudi Arabia": "SA",
|
||||||
Philippines: 'PH',
|
"Solomon Islands": "SB",
|
||||||
Pakistan: 'PK',
|
"Seychelles": "SC",
|
||||||
Poland: 'PL',
|
"Sudan": "SD",
|
||||||
'Saint Pierre and Miquelon': 'PM',
|
"Sweden": "SE",
|
||||||
'Saint-Pierre and Miquelon': 'PM',
|
"Singapore": "SG",
|
||||||
Pitcairn: 'PN',
|
"Saint Helena": "SH",
|
||||||
'Pitcairn Islands': 'PN',
|
"Slovenia": "SI",
|
||||||
'Puerto Rico': 'PR',
|
"Svalbard and Jan Mayen": "SJ",
|
||||||
Palestine: 'PS',
|
"Slovakia": "SK",
|
||||||
Portugal: 'PT',
|
"Sierra Leone": "SL",
|
||||||
Palau: 'PW',
|
"San Marino": "SM",
|
||||||
Paraguay: 'PY',
|
"Senegal": "SN",
|
||||||
Qatar: 'QA',
|
"Somalia": "SO",
|
||||||
Reunion: 'RE',
|
"Suriname": "SR",
|
||||||
Romania: 'RO',
|
"South Sudan": "SS",
|
||||||
Serbia: 'RS',
|
"Sao Tome and Principe": "ST",
|
||||||
Russia: 'RU',
|
"El Salvador": "SV",
|
||||||
Rwanda: 'RW',
|
"Sint Maarten": "SX", // TODO 荷兰属圣马丁,下钻地图数据缺失
|
||||||
'Saudi Arabia': 'SA',
|
"Syria": "SY",
|
||||||
'Solomon Islands': 'SB',
|
"Swaziland": "SZ",
|
||||||
Seychelles: 'SC',
|
"Turks and Caicos Islands": "TC",
|
||||||
Sudan: 'SD',
|
"Chad": "TD",
|
||||||
Sweden: 'SE',
|
"French Southern and Antarctic Lands": "TF", // TODO 法属南部和南极领地,下钻地图数据缺失
|
||||||
Singapore: 'SG',
|
"Togo": "TG",
|
||||||
'Saint Helena': 'SH',
|
"Thailand": "TH",
|
||||||
Slovenia: 'SI',
|
"Tajikistan": "TJ",
|
||||||
'Svalbard and Jan Mayen': 'SJ',
|
"Tokelau": "TK", // TODO 新西兰属托克劳群岛,下钻地图数据缺失
|
||||||
Slovakia: 'SK',
|
"East Timor": "TL",
|
||||||
'Sierra Leone': 'SL',
|
"Turkmenistan": "TM",
|
||||||
'San Marino': 'SM',
|
"Tunisia": "TN",
|
||||||
Senegal: 'SN',
|
"Tonga": "TO", // TODO 汤加共和国,下钻地图数据缺失
|
||||||
Somalia: 'SO',
|
"Turkey": "TR",
|
||||||
Suriname: 'SR',
|
"Trinidad and Tobago": "TT",
|
||||||
'South Sudan': 'SS',
|
"Tuvalu": "TV", // TODO 图瓦卢,下钻地图数据缺失
|
||||||
'Sao Tome and Principe': 'ST',
|
"Tanzania": "TZ",
|
||||||
'El Salvador': 'SV',
|
"Ukraine": "UA",
|
||||||
'Sint Maarten': 'SX',
|
"Uganda": "UG",
|
||||||
Syria: 'SY',
|
"US Minor Outlying Islands": "UM", // TODO 美国本土外小岛屿,一共9座,分布很散,上层坐标缺失,下钻地图数据缺失
|
||||||
Eswatini: 'SZ',
|
"United States": "US",
|
||||||
Swaziland: 'SZ',
|
"Uruguay": "UY",
|
||||||
'Turks and Caicos Islands': 'TC',
|
"Uzbekistan": "UZ",
|
||||||
Chad: 'TD',
|
"Vatican City": "VA",
|
||||||
'French Southern and Antarctic Lands': 'TF',
|
"Saint Vincent and the Grenadines": "VC",
|
||||||
'French Southern Territories': 'TF',
|
"Venezuela": "VE",
|
||||||
Togo: 'TG',
|
"British Virgin Islands": "VG",
|
||||||
Thailand: 'TH',
|
"United States Virgin Islands": "VI",
|
||||||
Tajikistan: 'TJ',
|
"Viet Nam": "VN",
|
||||||
Tokelau: 'TK',
|
"Vanuatu": "VU", // TODO 瓦努阿图共和国,下钻地图数据缺失
|
||||||
'East Timor': 'TL',
|
"Wallis and Futuna": "WF", // TODO 法属瓦利斯和富图纳群岛,下钻地图数据缺失
|
||||||
'Timor-Leste': 'TL',
|
"Samoa": "WS",
|
||||||
Turkmenistan: 'TM',
|
"The Republic of Kosovo": "XK",
|
||||||
Tunisia: 'TN',
|
"Yemen": "YE",
|
||||||
Tonga: 'TO',
|
"Mayotte": "YT", // TODO 法属马约特岛,下钻地图数据缺失
|
||||||
Turkey: 'TR',
|
"South Africa": "ZA",
|
||||||
'Trinidad and Tobago': 'TT',
|
"Zambia": "ZM",
|
||||||
Tuvalu: 'TV',
|
"Zimbabwe": "ZW"
|
||||||
Taiwan: 'TW',
|
|
||||||
Tanzania: 'TZ',
|
|
||||||
Ukraine: 'UA',
|
|
||||||
Uganda: 'UG',
|
|
||||||
'US Minor Outlying Islands': 'UM',
|
|
||||||
'US-Outlying Islands': 'UM',
|
|
||||||
Unknown: 'Unknown',
|
|
||||||
'United States': 'US',
|
|
||||||
Uruguay: 'UY',
|
|
||||||
Uzbekistan: 'UZ',
|
|
||||||
'Vatican City': 'VA',
|
|
||||||
'Saint Vincent and the Grenadines': 'VC',
|
|
||||||
'St Vincent and Grenadines': 'VC',
|
|
||||||
Venezuela: 'VE',
|
|
||||||
'British Virgin Islands': 'VG',
|
|
||||||
'United States Virgin Islands': 'VI',
|
|
||||||
'US-Virgin Islands': 'VI',
|
|
||||||
'Viet Nam': 'VN',
|
|
||||||
Vietnam: 'VN',
|
|
||||||
Vanuatu: 'VU',
|
|
||||||
'Wallis and Futuna': 'WF',
|
|
||||||
Samoa: 'WS',
|
|
||||||
Kosovo: 'XK',
|
|
||||||
'The Republic of Kosovo': 'XK',
|
|
||||||
Yemen: 'YE',
|
|
||||||
Mayotte: 'YT',
|
|
||||||
'South Africa': 'ZA',
|
|
||||||
Zambia: 'ZM',
|
|
||||||
Zimbabwe: 'ZW'
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export const reg = {
|
export const reg = {
|
||||||
|
|||||||
@@ -1,994 +0,0 @@
|
|||||||
export default [
|
|
||||||
{
|
|
||||||
value: 'Afghanistan',
|
|
||||||
label: 'Afghanistan'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Albania',
|
|
||||||
label: 'Albania'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Algeria',
|
|
||||||
label: 'Algeria'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'American Samoa',
|
|
||||||
label: 'American Samoa'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Andorra',
|
|
||||||
label: 'Andorra'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Angola',
|
|
||||||
label: 'Angola'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Anguilla',
|
|
||||||
label: 'Anguilla'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Antarctica',
|
|
||||||
label: 'Antarctica'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Antigua and Barbuda',
|
|
||||||
label: 'Antigua and Barbuda'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Argentina',
|
|
||||||
label: 'Argentina'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Armenia',
|
|
||||||
label: 'Armenia'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Aruba',
|
|
||||||
label: 'Aruba'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Australia',
|
|
||||||
label: 'Australia'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Austria',
|
|
||||||
label: 'Austria'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Azerbaijan',
|
|
||||||
label: 'Azerbaijan'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Bahamas (the)',
|
|
||||||
label: 'Bahamas (the)'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Bahrain',
|
|
||||||
label: 'Bahrain'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Bangladesh',
|
|
||||||
label: 'Bangladesh'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Barbados',
|
|
||||||
label: 'Barbados'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Belarus',
|
|
||||||
label: 'Belarus'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Belgium',
|
|
||||||
label: 'Belgium'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Belize',
|
|
||||||
label: 'Belize'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Benin',
|
|
||||||
label: 'Benin'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Bermuda',
|
|
||||||
label: 'Bermuda'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Åland Islands',
|
|
||||||
label: 'Åland Islands'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Bhutan',
|
|
||||||
label: 'Bhutan'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Bolivia (Plurinational State of)',
|
|
||||||
label: 'Bolivia (Plurinational State of)'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Bonaire, Sint Eustatius and Saba',
|
|
||||||
label: 'Bonaire, Sint Eustatius and Saba'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Bosnia and Herzegovina',
|
|
||||||
label: 'Bosnia and Herzegovina'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Botswana',
|
|
||||||
label: 'Botswana'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Bouvet Island',
|
|
||||||
label: 'Bouvet Island'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Brazil',
|
|
||||||
label: 'Brazil'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'British Indian Ocean Territory (the)',
|
|
||||||
label: 'British Indian Ocean Territory (the)'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Brunei Darussalam',
|
|
||||||
label: 'Brunei Darussalam'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Bulgaria',
|
|
||||||
label: 'Bulgaria'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Burkina Faso',
|
|
||||||
label: 'Burkina Faso'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Burundi',
|
|
||||||
label: 'Burundi'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Cabo Verde',
|
|
||||||
label: 'Cabo Verde'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Cambodia',
|
|
||||||
label: 'Cambodia'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Cameroon',
|
|
||||||
label: 'Cameroon'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Canada',
|
|
||||||
label: 'Canada'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Cayman Islands (the)',
|
|
||||||
label: 'Cayman Islands (the)'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Central African Republic (the)',
|
|
||||||
label: 'Central African Republic (the)'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Chad',
|
|
||||||
label: 'Chad'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Chile',
|
|
||||||
label: 'Chile'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'China',
|
|
||||||
label: 'China'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Christmas Island',
|
|
||||||
label: 'Christmas Island'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Cocos (Keeling) Islands (the)',
|
|
||||||
label: 'Cocos (Keeling) Islands (the)'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Colombia',
|
|
||||||
label: 'Colombia'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Comoros (the)',
|
|
||||||
label: 'Comoros (the)'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Congo (the Democratic Republic of the)',
|
|
||||||
label: 'Congo (the Democratic Republic of the)'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Congo (the)',
|
|
||||||
label: 'Congo (the)'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Cook Islands (the)',
|
|
||||||
label: 'Cook Islands (the)'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Costa Rica',
|
|
||||||
label: 'Costa Rica'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Croatia',
|
|
||||||
label: 'Croatia'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Cuba',
|
|
||||||
label: 'Cuba'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Curaçao',
|
|
||||||
label: 'Curaçao'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Cyprus',
|
|
||||||
label: 'Cyprus'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Czech Republic',
|
|
||||||
label: 'Czech Republic'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: "Côte d'Ivoire",
|
|
||||||
label: "Côte d'Ivoire"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Denmark',
|
|
||||||
label: 'Denmark'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Djibouti',
|
|
||||||
label: 'Djibouti'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Dominica',
|
|
||||||
label: 'Dominica'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Dominican Republic (the)',
|
|
||||||
label: 'Dominican Republic (the)'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Ecuador',
|
|
||||||
label: 'Ecuador'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Egypt',
|
|
||||||
label: 'Egypt'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'El Salvador',
|
|
||||||
label: 'El Salvador'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Equatorial Guinea',
|
|
||||||
label: 'Equatorial Guinea'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Eritrea',
|
|
||||||
label: 'Eritrea'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Estonia',
|
|
||||||
label: 'Estonia'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Eswatini',
|
|
||||||
label: 'Eswatini'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Ethiopia',
|
|
||||||
label: 'Ethiopia'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Falkland Islands (the) [Malvinas]',
|
|
||||||
label: 'Falkland Islands (the) [Malvinas]'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Faroe Islands (the)',
|
|
||||||
label: 'Faroe Islands (the)'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Fiji',
|
|
||||||
label: 'Fiji'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Finland',
|
|
||||||
label: 'Finland'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'France',
|
|
||||||
label: 'France'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'French Guiana',
|
|
||||||
label: 'French Guiana'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'French Polynesia',
|
|
||||||
label: 'French Polynesia'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'French Southern Territories (the)',
|
|
||||||
label: 'French Southern Territories (the)'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Gabon',
|
|
||||||
label: 'Gabon'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Gambia (the)',
|
|
||||||
label: 'Gambia (the)'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Georgia',
|
|
||||||
label: 'Georgia'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Germany',
|
|
||||||
label: 'Germany'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Ghana',
|
|
||||||
label: 'Ghana'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Gibraltar',
|
|
||||||
label: 'Gibraltar'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Greece',
|
|
||||||
label: 'Greece'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Greenland',
|
|
||||||
label: 'Greenland'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Grenada',
|
|
||||||
label: 'Grenada'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Guadeloupe',
|
|
||||||
label: 'Guadeloupe'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Guam',
|
|
||||||
label: 'Guam'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Guatemala',
|
|
||||||
label: 'Guatemala'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Guernsey',
|
|
||||||
label: 'Guernsey'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Guinea',
|
|
||||||
label: 'Guinea'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Guinea-Bissau',
|
|
||||||
label: 'Guinea-Bissau'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Guyana',
|
|
||||||
label: 'Guyana'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Haiti',
|
|
||||||
label: 'Haiti'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Heard Island and McDonald Islands',
|
|
||||||
label: 'Heard Island and McDonald Islands'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Holy See (the)',
|
|
||||||
label: 'Holy See (the)'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Honduras',
|
|
||||||
label: 'Honduras'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Hong Kong',
|
|
||||||
label: 'Hong Kong'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Hungary',
|
|
||||||
label: 'Hungary'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Iceland',
|
|
||||||
label: 'Iceland'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'India',
|
|
||||||
label: 'India'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Indonesia',
|
|
||||||
label: 'Indonesia'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Iran (Islamic Republic of)',
|
|
||||||
label: 'Iran (Islamic Republic of)'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Iraq',
|
|
||||||
label: 'Iraq'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Ireland',
|
|
||||||
label: 'Ireland'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Isle of Man',
|
|
||||||
label: 'Isle of Man'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Israel',
|
|
||||||
label: 'Israel'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Italy',
|
|
||||||
label: 'Italy'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Jamaica',
|
|
||||||
label: 'Jamaica'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Japan',
|
|
||||||
label: 'Japan'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Jersey',
|
|
||||||
label: 'Jersey'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Jordan',
|
|
||||||
label: 'Jordan'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Kazakhstan',
|
|
||||||
label: 'Kazakhstan'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Kenya',
|
|
||||||
label: 'Kenya'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Kiribati',
|
|
||||||
label: 'Kiribati'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Korea',
|
|
||||||
label: 'Korea'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Kuwait',
|
|
||||||
label: 'Kuwait'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Kyrgyzstan',
|
|
||||||
label: 'Kyrgyzstan'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: "Lao People's Democratic Republic (the)",
|
|
||||||
label: "Lao People's Democratic Republic (the)"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Latvia',
|
|
||||||
label: 'Latvia'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Lebanon',
|
|
||||||
label: 'Lebanon'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Lesotho',
|
|
||||||
label: 'Lesotho'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Liberia',
|
|
||||||
label: 'Liberia'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Libya',
|
|
||||||
label: 'Libya'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Liechtenstein',
|
|
||||||
label: 'Liechtenstein'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Lithuania',
|
|
||||||
label: 'Lithuania'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Luxembourg',
|
|
||||||
label: 'Luxembourg'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Macao',
|
|
||||||
label: 'Macao'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Madagascar',
|
|
||||||
label: 'Madagascar'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Malawi',
|
|
||||||
label: 'Malawi'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Malaysia',
|
|
||||||
label: 'Malaysia'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Maldives',
|
|
||||||
label: 'Maldives'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Mali',
|
|
||||||
label: 'Mali'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Malta',
|
|
||||||
label: 'Malta'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Marshall Islands (the)',
|
|
||||||
label: 'Marshall Islands (the)'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Martinique',
|
|
||||||
label: 'Martinique'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Mauritania',
|
|
||||||
label: 'Mauritania'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Mauritius',
|
|
||||||
label: 'Mauritius'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Mayotte',
|
|
||||||
label: 'Mayotte'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Mexico',
|
|
||||||
label: 'Mexico'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Micronesia (Federated States of)',
|
|
||||||
label: 'Micronesia (Federated States of)'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Moldova (the Republic of)',
|
|
||||||
label: 'Moldova (the Republic of)'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Monaco',
|
|
||||||
label: 'Monaco'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Mongolia',
|
|
||||||
label: 'Mongolia'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Montenegro',
|
|
||||||
label: 'Montenegro'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Montserrat',
|
|
||||||
label: 'Montserrat'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Morocco',
|
|
||||||
label: 'Morocco'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Mozambique',
|
|
||||||
label: 'Mozambique'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Myanmar',
|
|
||||||
label: 'Myanmar'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Namibia',
|
|
||||||
label: 'Namibia'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Nauru',
|
|
||||||
label: 'Nauru'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Nepal',
|
|
||||||
label: 'Nepal'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Netherlands',
|
|
||||||
label: 'Netherlands'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'New Caledonia',
|
|
||||||
label: 'New Caledonia'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'New Zealand',
|
|
||||||
label: 'New Zealand'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Nicaragua',
|
|
||||||
label: 'Nicaragua'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Niger',
|
|
||||||
label: 'Niger'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Nigeria',
|
|
||||||
label: 'Nigeria'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Niue',
|
|
||||||
label: 'Niue'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Norfolk Island',
|
|
||||||
label: 'Norfolk Island'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'North Macedonia',
|
|
||||||
label: 'North Macedonia'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Northern Mariana Islands (the)',
|
|
||||||
label: 'Northern Mariana Islands (the)'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Norway',
|
|
||||||
label: 'Norway'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Oman',
|
|
||||||
label: 'Oman'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Pakistan',
|
|
||||||
label: 'Pakistan'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Palau',
|
|
||||||
label: 'Palau'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Palestine, State of',
|
|
||||||
label: 'Palestine, State of'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Panama',
|
|
||||||
label: 'Panama'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Papua New Guinea',
|
|
||||||
label: 'Papua New Guinea'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Paraguay',
|
|
||||||
label: 'Paraguay'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Peru',
|
|
||||||
label: 'Peru'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Philippines',
|
|
||||||
label: 'Philippines'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Pitcairn',
|
|
||||||
label: 'Pitcairn'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Poland',
|
|
||||||
label: 'Poland'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Portugal',
|
|
||||||
label: 'Portugal'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Puerto Rico',
|
|
||||||
label: 'Puerto Rico'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Qatar',
|
|
||||||
label: 'Qatar'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Romania',
|
|
||||||
label: 'Romania'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Russian Federation',
|
|
||||||
label: 'Russian Federation'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Rwanda',
|
|
||||||
label: 'Rwanda'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Réunion',
|
|
||||||
label: 'Réunion'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Saint Barthélemy',
|
|
||||||
label: 'Saint Barthélemy'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Saint Helena, Ascension and Tristan da Cunha',
|
|
||||||
label: 'Saint Helena, Ascension and Tristan da Cunha'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Saint Kitts and Nevis',
|
|
||||||
label: 'Saint Kitts and Nevis'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Saint Lucia',
|
|
||||||
label: 'Saint Lucia'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Saint Martin',
|
|
||||||
label: 'Saint Martin'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Saint Pierre and Miquelon',
|
|
||||||
label: 'Saint Pierre and Miquelon'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Saint Vincent and the Grenadines',
|
|
||||||
label: 'Saint Vincent and the Grenadines'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Samoa',
|
|
||||||
label: 'Samoa'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'San Marino',
|
|
||||||
label: 'San Marino'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Sao Tome and Principe',
|
|
||||||
label: 'Sao Tome and Principe'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Saudi Arabia',
|
|
||||||
label: 'Saudi Arabia'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Senegal',
|
|
||||||
label: 'Senegal'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Serbia',
|
|
||||||
label: 'Serbia'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Seychelles',
|
|
||||||
label: 'Seychelles'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Sierra Leone',
|
|
||||||
label: 'Sierra Leone'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Singapore',
|
|
||||||
label: 'Singapore'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Sint Maarten',
|
|
||||||
label: 'Sint Maarten'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Slovakia',
|
|
||||||
label: 'Slovakia'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Slovenia',
|
|
||||||
label: 'Slovenia'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Solomon Islands',
|
|
||||||
label: 'Solomon Islands'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Somalia',
|
|
||||||
label: 'Somalia'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'South Africa',
|
|
||||||
label: 'South Africa'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'South Georgia and the South Sandwich Islands',
|
|
||||||
label: 'South Georgia and the South Sandwich Islands'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'South Sudan',
|
|
||||||
label: 'South Sudan'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Spain',
|
|
||||||
label: 'Spain'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Sri Lanka',
|
|
||||||
label: 'Sri Lanka'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Sudan',
|
|
||||||
label: 'Sudan'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Suriname',
|
|
||||||
label: 'Suriname'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Svalbard and Jan Mayen',
|
|
||||||
label: 'Svalbard and Jan Mayen'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Sweden',
|
|
||||||
label: 'Sweden'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Switzerland',
|
|
||||||
label: 'Switzerland'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Syrian Arab Republic',
|
|
||||||
label: 'Syrian Arab Republic'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Taiwan',
|
|
||||||
label: 'Taiwan'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Tajikistan',
|
|
||||||
label: 'Tajikistan'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Tanzania, the United Republic of',
|
|
||||||
label: 'Tanzania, the United Republic of'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Thailand',
|
|
||||||
label: 'Thailand'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Timor-Leste',
|
|
||||||
label: 'Timor-Leste'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Togo',
|
|
||||||
label: 'Togo'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Tokelau',
|
|
||||||
label: 'Tokelau'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Tonga',
|
|
||||||
label: 'Tonga'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Trinidad and Tobago',
|
|
||||||
label: 'Trinidad and Tobago'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Tunisia',
|
|
||||||
label: 'Tunisia'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Turkey',
|
|
||||||
label: 'Turkey'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Turkmenistan',
|
|
||||||
label: 'Turkmenistan'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Turks and Caicos Islands',
|
|
||||||
label: 'Turks and Caicos Islands'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Tuvalu',
|
|
||||||
label: 'Tuvalu'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Uganda',
|
|
||||||
label: 'Uganda'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Ukraine',
|
|
||||||
label: 'Ukraine'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'United Arab Emirates',
|
|
||||||
label: 'United Arab Emirates'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'United Kingdom of Great Britain and Northern Ireland',
|
|
||||||
label: 'United Kingdom of Great Britain and Northern Ireland'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'United States Minor Outlying Islands',
|
|
||||||
label: 'United States Minor Outlying Islands'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'United States',
|
|
||||||
label: 'United States'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Uruguay',
|
|
||||||
label: 'Uruguay'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Uzbekistan',
|
|
||||||
label: 'Uzbekistan'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Vanuatu',
|
|
||||||
label: 'Vanuatu'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Venezuela (Bolivarian Republic of)',
|
|
||||||
label: 'Venezuela (Bolivarian Republic of)'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Viet Nam',
|
|
||||||
label: 'Viet Nam'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Virgin Islands (British)',
|
|
||||||
label: 'Virgin Islands (British)'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Virgin Islands (U.S.)',
|
|
||||||
label: 'Virgin Islands (U.S.)'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Wallis and Futuna',
|
|
||||||
label: 'Wallis and Futuna'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Western Sahara*',
|
|
||||||
label: 'Western Sahara*'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Yemen',
|
|
||||||
label: 'Yemen'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Zambia',
|
|
||||||
label: 'Zambia'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 'Zimbabwe',
|
|
||||||
label: 'Zimbabwe'
|
|
||||||
}
|
|
||||||
]
|
|
||||||
@@ -25,7 +25,7 @@
|
|||||||
:popper-append-to-body="false"
|
:popper-append-to-body="false"
|
||||||
>
|
>
|
||||||
<template #prefix><i class="cn-icon cn-icon-location" style="color: #575757;"></i></template>
|
<template #prefix><i class="cn-icon cn-icon-location" style="color: #575757;"></i></template>
|
||||||
<el-option v-for="(country, index) in locationOptions" :key="index" :value="country.value">{{country.label}}</el-option>
|
<el-option v-for="country in showLocationOptions" :key="country" :value="country">{{country}}</el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
</div>
|
</div>
|
||||||
<div class="map-legend">
|
<div class="map-legend">
|
||||||
@@ -50,8 +50,7 @@ import { shallowRef } from 'vue'
|
|||||||
import * as am4Core from '@amcharts/amcharts4/core'
|
import * as am4Core from '@amcharts/amcharts4/core'
|
||||||
import * as am4Maps from '@amcharts/amcharts4/maps'
|
import * as am4Maps from '@amcharts/amcharts4/maps'
|
||||||
import { computeScore, getGeoData } from '@/utils/tools'
|
import { computeScore, getGeoData } from '@/utils/tools'
|
||||||
import { countryNameIdMapping, storageKey, unitTypes } from '@/utils/constants'
|
import { countryNameIdMapping, storageKey, unitTypes, iso36112 } from '@/utils/constants'
|
||||||
import locationOptions from '@/views/charts2/charts/locationOptions'
|
|
||||||
import { valueToRangeValue } from '@/utils/unit-convert'
|
import { valueToRangeValue } from '@/utils/unit-convert'
|
||||||
import { getSecond } from '@/utils/date-util'
|
import { getSecond } from '@/utils/date-util'
|
||||||
import { api } from '@/utils/api'
|
import { api } from '@/utils/api'
|
||||||
@@ -65,7 +64,7 @@ export default {
|
|||||||
components: { ChartError },
|
components: { ChartError },
|
||||||
data () {
|
data () {
|
||||||
return {
|
return {
|
||||||
locationOptions,
|
showLocationOptions: [],
|
||||||
myChart: null,
|
myChart: null,
|
||||||
polygonSeries: null,
|
polygonSeries: null,
|
||||||
countrySeries: null,
|
countrySeries: null,
|
||||||
@@ -228,6 +227,13 @@ export default {
|
|||||||
color: this.scoreColor(r.tooltip.data.score),
|
color: this.scoreColor(r.tooltip.data.score),
|
||||||
border: this.scoreColor(r.tooltip.data.score)
|
border: this.scoreColor(r.tooltip.data.score)
|
||||||
}))
|
}))
|
||||||
|
if (!this.location) {
|
||||||
|
this.filterLocationOptions(_data)
|
||||||
|
}
|
||||||
|
},
|
||||||
|
filterLocationOptions (data) {
|
||||||
|
const showLocationOptions = Object.keys(countryNameIdMapping).filter(c => data.some(d => d.countryRegion === c))
|
||||||
|
this.showLocationOptions = Array.from(new Set(showLocationOptions))
|
||||||
},
|
},
|
||||||
scoreColor (score) {
|
scoreColor (score) {
|
||||||
if (score >= 0 && score <= 2) {
|
if (score >= 0 && score <= 2) {
|
||||||
@@ -352,6 +358,7 @@ export default {
|
|||||||
if (countryId) {
|
if (countryId) {
|
||||||
const targetMapObject = this.polygonSeries.getPolygonById(countryId)
|
const targetMapObject = this.polygonSeries.getPolygonById(countryId)
|
||||||
targetMapObject.series.chart.zoomToMapObject(targetMapObject)
|
targetMapObject.series.chart.zoomToMapObject(targetMapObject)
|
||||||
|
if (iso36112[countryId]) {
|
||||||
const geoData = await getGeoData(countryId)
|
const geoData = await getGeoData(countryId)
|
||||||
if (geoData) {
|
if (geoData) {
|
||||||
if (!this.countrySeries) {
|
if (!this.countrySeries) {
|
||||||
@@ -379,6 +386,9 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
this.$message.warning(this.$t('tip.noDetailMap'))
|
this.$message.warning(this.$t('tip.noDetailMap'))
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
this.$message.warning(this.$t('tip.noDetailMap'))
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user