inviton-powerduck 0.0.108 → 0.0.110

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
- 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 Darussalam"], ["BRN", "BN", "Brunei"], ["BGR", "BG", "Bulgaria"], ["BFA", "BF", "Burkina Faso"], ["MMR", "MM", "Burma"], ["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"], ["CIV", "CI", "Ivory Coast"], ["JAM", "JM", "Jamaica"], ["JPN", "JP", "Japan"], ["JEY", "JE", "Jersey"], ["JOR", "JO", "Jordan"], ["KAZ", "KZ", "Kazakhstan"], ["KEN", "KE", "Kenya"], ["KIR", "KI", "Kiribati"], ["KP", "Democratic People's Republic of", "Korea"], ["KR", "Republic of", "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"], ["LBY", "LY", "Libyan Arab Jamahiriya"], ["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"], ["RUS", "RU", "Russian Federation"], ["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"], ["VCT", "VC", "Saint Vincent and 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"], ["KOR", "KR", "South Korea"], ["SSD", "SS", "South Sudan"], ["ESP", "ES", "Spain"], ["LKA", "LK", "Sri Lanka"], ["VCT", "VC", "St. Vincent and the Grenadines"], ["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", "Viet Nam"], ["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"]];
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 Darussalam"], ["BRN", "BN", "Brunei"], ["BGR", "BG", "Bulgaria"], ["BFA", "BF", "Burkina Faso"], ["MMR", "MM", "Burma"], ["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"], ["CIV", "CI", "Ivory Coast"], ["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"], ["LBY", "LY", "Libyan Arab Jamahiriya"], ["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"], ["RUS", "RU", "Russian Federation"], ["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"], ["VCT", "VC", "Saint Vincent and 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"], ["KOR", "KR", "South Korea"], ["SSD", "SS", "South Sudan"], ["ESP", "ES", "Spain"], ["LKA", "LK", "Sri Lanka"], ["VCT", "VC", "St. Vincent and the Grenadines"], ["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", "Viet Nam"], ["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 {
@@ -511,44 +511,46 @@ class DropdownListComponent extends TsxComponent<DropdownListArgs> implements Dr
511
511
  }
512
512
 
513
513
  setMobilePickerInputText(items: DropdownDisplayArgs[]): void {
514
- var selectedText = this.getMobileSelectionText();
515
- var textContext = $(this.$el).find(".mbl-ddl-text") as any;
516
- var isPlaceholder = items.length == 0;
517
-
518
- if (isNullOrEmpty(selectedText)) {
519
- selectedText = this.placeholder;
520
- }
514
+ this.$nextTick(() => {
515
+ let selectedText = this.getMobileSelectionText();
516
+ const textContext = $(this.$el).find(".mbl-ddl-text") as any;
517
+ const isPlaceholder = items.length == 0;
521
518
 
522
- if (isNullOrEmpty(selectedText) && this.multiselect == true) {
523
- selectedText = "[" + PowerduckState.getResourceValue('all') + "]";
524
- }
519
+ if (isNullOrEmpty(selectedText)) {
520
+ selectedText = this.placeholder;
521
+ }
525
522
 
526
- if (this.formatResult == null) {
527
- textContext.attr("title", selectedText);
528
- textContext.text(selectedText);
529
- } else {
530
- var item: any;
531
- if (items != null && items.length > 0) {
532
- item = items[0];
523
+ if (isNullOrEmpty(selectedText) && this.multiselect == true) {
524
+ selectedText = "[" + PowerduckState.getResourceValue('all') + "]";
533
525
  }
534
526
 
535
- var result = this.formatResult(item);
536
- if (isNullOrEmpty(result)) {
527
+ if (this.formatResult == null) {
537
528
  textContext.attr("title", selectedText);
538
529
  textContext.text(selectedText);
539
- } else if (result["jquery"]) {
540
- textContext.html("");
541
- textContext.append(result);
542
530
  } else {
543
- textContext.text(result as any);
531
+ let item: any;
532
+ if (items != null && items.length > 0) {
533
+ item = items[0];
534
+ }
535
+
536
+ const result = this.formatResult(item);
537
+ if (isNullOrEmpty(result)) {
538
+ textContext.attr("title", selectedText);
539
+ textContext.text(selectedText);
540
+ } else if (result["jquery"]) {
541
+ textContext.html("");
542
+ textContext.append(result);
543
+ } else {
544
+ textContext.text(result as any);
545
+ }
544
546
  }
545
- }
546
547
 
547
- if (isPlaceholder) {
548
- textContext.addClass("dd-placeholder");
549
- } else {
550
- textContext.removeClass("dd-placeholder");
551
- }
548
+ if (isPlaceholder) {
549
+ textContext.addClass("dd-placeholder");
550
+ } else {
551
+ textContext.removeClass("dd-placeholder");
552
+ }
553
+ });
552
554
  }
553
555
 
554
556
  useMobile() {
@@ -14,3 +14,7 @@
14
14
  flex: 0 0 100%;
15
15
  max-width: 100%;
16
16
  }
17
+
18
+ .cb-without-label > .form-item-wrapper {
19
+ margin-bottom: 0;
20
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "inviton-powerduck",
3
- "version": "0.0.108",
3
+ "version": "0.0.110",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "build": " vite build && vue-tsc --declaration --emitDeclarationOnly",