diff --git a/bower.json b/bower.json index d8bac4bf5..104ef74f7 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "intl-tel-input", - "version": "5.8.7", + "version": "6.0.0", "main": [ "./build/js/intlTelInput.min.js", "./lib/libphonenumber/build/utils.js", diff --git a/build/js/intlTelInput.js b/build/js/intlTelInput.js index 84cf92eaa..1292c926b 100644 --- a/build/js/intlTelInput.js +++ b/build/js/intlTelInput.js @@ -1,5 +1,5 @@ /* -International Telephone Input v5.8.7 +International Telephone Input v6.0.0 https://github.com/Bluefieldscom/intl-tel-input.git */ // wrap in UMD - see https://github.com/umdjs/umd/blob/master/jqueryPlugin.js diff --git a/build/js/intlTelInput.min.js b/build/js/intlTelInput.min.js index ebbe43c15..a2447357c 100644 --- a/build/js/intlTelInput.min.js +++ b/build/js/intlTelInput.min.js @@ -1,5 +1,5 @@ /* -International Telephone Input v5.8.7 +International Telephone Input v6.0.0 https://github.com/Bluefieldscom/intl-tel-input.git */ !function(a){"function"==typeof define&&define.amd?define(["jquery"],function(b){a(b,window,document)}):a(jQuery,window,document)}(function(a,b,c,d){"use strict";function e(b,c){this.a=b,c&&(a.extend(c, c, {a:c.autoFormat,h:c.autoHideDialCode,d:c.defaultCountry,i:c.ipinfoToken,n:c.nationalMode,t:c.numberType,o:c.onlyCountries,p:c.preferredCountries,v:c.preventInvalidNumbers,u:c.utilsScript})),this.b=a.extend({},h,c),this.c=h,this.ns="."+f+g++,this.d=Boolean(b.setSelectionRange),this.e=Boolean(a(b).attr("placeholder")),this.f=f}var f="intlTelInput",g=1,h={allowExtensions:!1,a:!0,autoPlaceholder:!0,h:!0,d:"",geoIpLookup:null,n:!0,t:"MOBILE",o:[],p:["us","gb"],u:""},i={b:38,c:40,d:13,e:27,f:43,A:65,Z:90,g:48,h:57,i:32,Bi:8,TAB:9,k:46,l:17,m:91,n:224},j=!1;a(b).load(function(){j=!0}),e.prototype={_init:function(){return this.b.n&&(this.b.h=!1),navigator.userAgent.match(/IEMobile/i)&&(this.b.a=!1),this.isMobile=/Android.+Mobile|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),this.autoCountryDeferred=new a.Deferred,this.utilsScriptDeferred=new a.Deferred,this._b(),this._f(),this._h(),this._i(),this._initRequests(),[this.autoCountryDeferred,this.utilsScriptDeferred]},_b:function(){this._d(),this._e()},_c:function(a,b,c){b in this.m||(this.m[b]=[]);var d=c||0;this.m[b][d]=a},_d:function(){var b;if(this.b.o.length){for(b=0;b",{"class":"intl-tel-input"})),this.flagsContainer=a("
",{"class":"flag-dropdown"}).insertBefore(this.g);var b=a("
",{tabindex:"0","class":"selected-flag"}).appendTo(this.flagsContainer);this.h=a("
",{"class":"iti-flag"}).appendTo(b),a("
",{"class":"arrow"}).appendTo(b),this.isMobile?this.i=a("