inviton-powerduck 0.0.110 → 0.0.112
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.
|
@@ -51,7 +51,7 @@ export default class CountryUtilsBase {
|
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
static buildBasicCountryCodeArr(): Array<Array<string>> {
|
|
54
|
-
|
|
54
|
+
return [["AFG", "AF", "Afghanistan"], ["ALA", "AX", "Åland Islands"], ["ALB", "AL", "Albania"], ["DZA", "DZ", "Algeria"], ["ASM", "AS", "American Samoa"], ["AND", "AD", "Andorra"], ["AGO", "AO", "Angola"], ["AIA", "AI", "Anguilla"], ["ATA", "AQ", "Antarctica"], ["ATG", "AG", "Antigua and Barbuda"], ["ARG", "AR", "Argentina"], ["ARM", "AM", "Armenia"], ["ABW", "AW", "Aruba"], ["AUS", "AU", "Australia"], ["AUT", "AT", "Austria"], ["AZE", "AZ", "Azerbaijan"], ["BHS", "BS", "Bahamas"], ["BHR", "BH", "Bahrain"], ["BGD", "BD", "Bangladesh"], ["BRB", "BB", "Barbados"], ["BLR", "BY", "Belarus"], ["BEL", "BE", "Belgium"], ["BLZ", "BZ", "Belize"], ["BEN", "BJ", "Benin"], ["BMU", "BM", "Bermuda"], ["BTN", "BT", "Bhutan"], ["BO", "Plurinational State of", "Bolivia"], ["BOL", "BO", "Bolivia"], ["BQ", "Sint Eustatius and Saba", "Bonaire"], ["BIH", "BA", "Bosnia and Herzegovina"], ["BWA", "BW", "Botswana"], ["BVT", "BV", "Bouvet Island"], ["BRA", "BR", "Brazil"], ["IOT", "IO", "British Indian Ocean Territory"], ["BRN", "BN", "Brunei"], ["BGR", "BG", "Bulgaria"], ["BFA", "BF", "Burkina Faso"], ["BDI", "BI", "Burundi"], ["KHM", "KH", "Cambodia"], ["CMR", "CM", "Cameroon"], ["CAN", "CA", "Canada"], ["CPV", "CV", "Cape Verde"], ["CYM", "KY", "Cayman Islands"], ["CAF", "CF", "Central African Republic"], ["TCD", "TD", "Chad"], ["CHL", "CL", "Chile"], ["CHN", "CN", "China"], ["CXR", "CX", "Christmas Island"], ["CCK", "CC", "Cocos (Keeling) Islands"], ["COL", "CO", "Colombia"], ["COM", "KM", "Comoros"], ["CD", "the Democratic Republic of the", "Congo"], ["COG", "CG", "Congo"], ["COK", "CK", "Cook Islands"], ["CRI", "CR", "Costa Rica"], ["CIV", "CI", "Côte d'Ivoire"], ["HRV", "HR", "Croatia"], ["CUB", "CU", "Cuba"], ["CUW", "CW", "Curaçao"], ["CYP", "CY", "Cyprus"], ["CZE", "CZ", "Czech Republic"], ["DNK", "DK", "Denmark"], ["DJI", "DJ", "Djibouti"], ["DMA", "DM", "Dominica"], ["DOM", "DO", "Dominican Republic"], ["ECU", "EC", "Ecuador"], ["EGY", "EG", "Egypt"], ["SLV", "SV", "El Salvador"], ["GNQ", "GQ", "Equatorial Guinea"], ["ERI", "ER", "Eritrea"], ["EST", "EE", "Estonia"], ["ETH", "ET", "Ethiopia"], ["FLK", "FK", "Falkland Islands (Malvinas)"], ["FRO", "FO", "Faroe Islands"], ["FJI", "FJ", "Fiji"], ["FIN", "FI", "Finland"], ["FRA", "FR", "France"], ["GUF", "GF", "French Guiana"], ["PYF", "PF", "French Polynesia"], ["ATF", "TF", "French Southern Territories"], ["GAB", "GA", "Gabon"], ["GMB", "GM", "Gambia"], ["GEO", "GE", "Georgia"], ["DEU", "DE", "Germany"], ["GHA", "GH", "Ghana"], ["GIB", "GI", "Gibraltar"], ["GRC", "GR", "Greece"], ["GRL", "GL", "Greenland"], ["GRD", "GD", "Grenada"], ["GLP", "GP", "Guadeloupe"], ["GUM", "GU", "Guam"], ["GTM", "GT", "Guatemala"], ["GGY", "GG", "Guernsey"], ["GNB", "GW", "Guinea-Bissau"], ["GIN", "GN", "Guinea"], ["GUY", "GY", "Guyana"], ["HTI", "HT", "Haiti"], ["HMD", "HM", "Heard Island and McDonald Islands"], ["VAT", "VA", "Holy See (Vatican City State)"], ["HND", "HN", "Honduras"], ["HKG", "HK", "Hong Kong"], ["HUN", "HU", "Hungary"], ["ISL", "IS", "Iceland"], ["IND", "IN", "India"], ["IDN", "ID", "Indonesia"], ["IR", "Islamic Republic of", "Iran"], ["IRQ", "IQ", "Iraq"], ["IRL", "IE", "Ireland"], ["IMN", "IM", "Isle of Man"], ["ISR", "IL", "Israel"], ["ITA", "IT", "Italy"], ["JAM", "JM", "Jamaica"], ["JPN", "JP", "Japan"], ["JEY", "JE", "Jersey"], ["JOR", "JO", "Jordan"], ["KAZ", "KZ", "Kazakhstan"], ["KEN", "KE", "Kenya"], ["KIR", "KI", "Kiribati"], ["PRK", "KP", "North Korea"], ["KOR", "KR", "South Korea"], ["XKX", "XK", "Kosovo"], ["KWT", "KW", "Kuwait"], ["KGZ", "KG", "Kyrgyzstan"], ["LAO", "LA", "Lao People's Democratic Republic"], ["LVA", "LV", "Latvia"], ["LBN", "LB", "Lebanon"], ["LSO", "LS", "Lesotho"], ["LBR", "LR", "Liberia"], ["LBY", "LY", "Libya"], ["LIE", "LI", "Liechtenstein"], ["LTU", "LT", "Lithuania"], ["LUX", "LU", "Luxembourg"], ["MAC", "MO", "Macao"], ["MK", "the former Yugoslav Republic of", "Macedonia"], ["MDG", "MG", "Madagascar"], ["MWI", "MW", "Malawi"], ["MYS", "MY", "Malaysia"], ["MDV", "MV", "Maldives"], ["MLI", "ML", "Mali"], ["MLT", "MT", "Malta"], ["MHL", "MH", "Marshall Islands"], ["MTQ", "MQ", "Martinique"], ["MRT", "MR", "Mauritania"], ["MUS", "MU", "Mauritius"], ["MYT", "YT", "Mayotte"], ["MEX", "MX", "Mexico"], ["FM", "Federated States of", "Micronesia"], ["MD", "Republic of", "Moldova"], ["MCO", "MC", "Monaco"], ["MNG", "MN", "Mongolia"], ["MNE", "ME", "Montenegro"], ["MSR", "MS", "Montserrat"], ["MAR", "MA", "Morocco"], ["MOZ", "MZ", "Mozambique"], ["MMR", "MM", "Myanmar"], ["NAM", "NA", "Namibia"], ["NRU", "NR", "Nauru"], ["NPL", "NP", "Nepal"], ["ANT", "AN", "Netherlands Antilles"], ["NLD", "NL", "Netherlands"], ["NCL", "NC", "New Caledonia"], ["NZL", "NZ", "New Zealand"], ["NIC", "NI", "Nicaragua"], ["NER", "NE", "Niger"], ["NGA", "NG", "Nigeria"], ["NIU", "NU", "Niue"], ["NFK", "NF", "Norfolk Island"], ["MNP", "MP", "Northern Mariana Islands"], ["NOR", "NO", "Norway"], ["OMN", "OM", "Oman"], ["PAK", "PK", "Pakistan"], ["PLW", "PW", "Palau"], ["PS", "Occupied", "Palestinian Territory"], ["PAN", "PA", "Panama"], ["PNG", "PG", "Papua New Guinea"], ["PRY", "PY", "Paraguay"], ["PER", "PE", "Peru"], ["PHL", "PH", "Philippines"], ["PCN", "PN", "Pitcairn"], ["POL", "PL", "Poland"], ["PRT", "PT", "Portugal"], ["PRI", "PR", "Puerto Rico"], ["QAT", "QA", "Qatar"], ["REU", "RE", "Réunion"], ["ROU", "RO", "Romania"], ["RUS", "RU", "Russia"], ["RWA", "RW", "Rwanda"], ["BLM", "BL", "Saint Barthélemy"], ["SH", "Ascension and Tristan da Cunha", "Saint Helena"], ["KNA", "KN", "Saint Kitts and Nevis"], ["LCA", "LC", "Saint Lucia"], ["MAF", "MF", "Saint Martin (French part)"], ["SPM", "PM", "Saint Pierre and Miquelon"], ["VCT", "VC", "Saint Vincent & the Grenadines"], ["WSM", "WS", "Samoa"], ["SMR", "SM", "San Marino"], ["STP", "ST", "Sao Tome and Principe"], ["SAU", "SA", "Saudi Arabia"], ["SEN", "SN", "Senegal"], ["SRB", "RS", "Serbia"], ["SYC", "SC", "Seychelles"], ["SLE", "SL", "Sierra Leone"], ["SGP", "SG", "Singapore"], ["SXM", "SX", "Sint Maarten (Dutch part)"], ["SVK", "SK", "Slovakia"], ["SVN", "SI", "Slovenia"], ["SLB", "SB", "Solomon Islands"], ["SOM", "SO", "Somalia"], ["ZAF", "ZA", "South Africa"], ["SGS", "GS", "South Georgia and the South Sandwich Islands"], ["SSD", "SS", "South Sudan"], ["ESP", "ES", "Spain"], ["LKA", "LK", "Sri Lanka"], ["SDN", "SD", "Sudan"], ["SUR", "SR", "Suriname"], ["SJM", "SJ", "Svalbard and Jan Mayen"], ["SWZ", "SZ", "Swaziland"], ["SWE", "SE", "Sweden"], ["CHE", "CH", "Switzerland"], ["SYR", "SY", "Syrian Arab Republic"], ["TWN", "TW", "Taiwan"], ["TJK", "TJ", "Tajikistan"], ["TZ", "United Republic of", "Tanzania"], ["THA", "TH", "Thailand"], ["TLS", "TL", "Timor-Leste"], ["TGO", "TG", "Togo"], ["TKL", "TK", "Tokelau"], ["TON", "TO", "Tonga"], ["TTO", "TT", "Trinidad and Tobago"], ["TUN", "TN", "Tunisia"], ["TUR", "TR", "Turkey"], ["TKM", "TM", "Turkmenistan"], ["TCA", "TC", "Turks and Caicos Islands"], ["TUV", "TV", "Tuvalu"], ["UGA", "UG", "Uganda"], ["UKR", "UA", "Ukraine"], ["ARE", "AE", "United Arab Emirates"], ["GBR", "GB", "United Kingdom"], ["UMI", "UM", "United States Minor Outlying Islands"], ["USA", "US", "United States"], ["URY", "UY", "Uruguay"], ["UZB", "UZ", "Uzbekistan"], ["VUT", "VU", "Vanuatu"], ["VE", "Bolivarian Republic of", "Venezuela"], ["VEN", "VE", "Venezuela"], ["VNM", "VN", "Vietnam"], ["VG", "British", "Virgin Islands"], ["VI", "U.S.", "Virgin Islands"], ["WLF", "WF", "Wallis and Futuna"], ["ESH", "EH", "Western Sahara"], ["YEM", "YE", "Yemen"], ["ZMB", "ZM", "Zambia"], ["ZWE", "ZW", "Zimbabwe"]];
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
static getByThreeLetterCode(threeLetterCode: string, langCode: string): CountryData {
|
|
@@ -81,6 +81,4 @@ export default class CountryUtilsBase {
|
|
|
81
81
|
static getThreeLetterCodeFromTwoLetterCode(twoLetterCode: string, langCode: string): string {
|
|
82
82
|
return CountryUtilsBase.getByTwoLetterCode(twoLetterCode, langCode)?.id;
|
|
83
83
|
}
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
|
|
84
|
+
}
|
|
@@ -24,15 +24,19 @@ div.fieldset-control > div.fieldset-legend {
|
|
|
24
24
|
font-size: 14px;
|
|
25
25
|
font-weight: bold;
|
|
26
26
|
margin-bottom: 0px;
|
|
27
|
-
width: 35%;
|
|
28
27
|
border: 1px solid #ddd;
|
|
29
28
|
border-radius: 4px;
|
|
30
29
|
padding: 5px 5px 5px 10px;
|
|
31
30
|
background-color: #ffffff;
|
|
32
31
|
text-transform: uppercase;
|
|
33
|
-
margin-top:
|
|
32
|
+
margin-top: 0;
|
|
34
33
|
margin-bottom: 10px;
|
|
35
34
|
cursor: pointer;
|
|
35
|
+
display: inline-block;
|
|
36
|
+
transform: translateY(-28px);
|
|
37
|
+
width: 35%;
|
|
38
|
+
width: auto;
|
|
39
|
+
max-width: 80%;
|
|
36
40
|
}
|
|
37
41
|
|
|
38
42
|
div.fieldset-legend-arrow {
|
|
@@ -56,6 +60,7 @@ div.fieldset-slots {
|
|
|
56
60
|
overflow: hidden;
|
|
57
61
|
max-height: 1000000px;
|
|
58
62
|
transition: max-height 0.8s cubic-bezier(0.5, 0, 1, 0) 0s;
|
|
63
|
+
margin-top: -28px;
|
|
59
64
|
}
|
|
60
65
|
|
|
61
66
|
div.fieldset-slots-collapsed {
|