Skip to content

Commit

Permalink
OA-17253: [GEM] Update libphonenumber to v18.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
arthutox committed Aug 9, 2023
1 parent c6adb27 commit 3cd8998
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 43 deletions.
10 changes: 8 additions & 2 deletions app/assets/javascripts/intl-tel-input.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* International Telephone Input v18.1.8
* International Telephone Input v18.2.1
* https://github.com/jackocnr/intl-tel-input.git
* Licensed under the MIT license
*/
Expand Down Expand Up @@ -1456,6 +1456,12 @@
var val = this._getFullNumber().trim();
return window.intlTelInputUtils ? intlTelInputUtils.isValidNumber(val, this.selectedCountryData.iso2) : null;
}
}, {
key: "isPossibleNumber",
value: function isPossibleNumber() {
var val = this._getFullNumber().trim();
return window.intlTelInputUtils ? intlTelInputUtils.isPossibleNumber(val, this.selectedCountryData.iso2) : null;
}
}, {
key: "setCountry",
value: function setCountry(originalCountryCode) {
Expand Down Expand Up @@ -1537,7 +1543,7 @@
// default options
intlTelInputGlobals.defaults = defaults;
// version
intlTelInputGlobals.version = "18.1.8";
intlTelInputGlobals.version = "18.2.1";
var pluginName = "intlTelInput";
// A really lightweight plugin wrapper around the constructor,
// preventing against multiple instantiations
Expand Down
Loading

0 comments on commit 3cd8998

Please sign in to comment.