|
|
@@ -3,7 +3,7 @@
|
|
|
* https://github.com/RobinHerbots/jquery.inputmask
|
|
|
* Copyright (c) 2010 - 2016 Robin Herbots
|
|
|
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
|
|
|
-* Version: 3.3.4-48
|
|
|
+* Version: 3.3.4-52
|
|
|
*/
|
|
|
!function(factory) {
|
|
|
"function" == typeof define && define.amd ? define("inputmask", [ "inputmask.dependencyLib" ], factory) : "object" == typeof exports ? module.exports = factory(require("./inputmask.dependencyLib")) : factory(window.dependencyLib || jQuery);
|
|
|
@@ -501,7 +501,8 @@
|
|
|
}
|
|
|
function isValid(pos, c, strict, fromSetValid, fromAlternate) {
|
|
|
function isSelection(posObj) {
|
|
|
- return isRTL ? posObj.begin - posObj.end > 1 || posObj.begin - posObj.end === 1 && opts.insertMode : posObj.end - posObj.begin > 1 || posObj.end - posObj.begin === 1 && opts.insertMode;
|
|
|
+ var selection = isRTL ? posObj.begin - posObj.end > 1 || posObj.begin - posObj.end === 1 && opts.insertMode : posObj.end - posObj.begin > 1 || posObj.end - posObj.begin === 1 && opts.insertMode;
|
|
|
+ return selection && 0 === posObj.begin && posObj.end === getMaskSet().maskLength ? "full" : selection;
|
|
|
}
|
|
|
function _isValid(position, c, strict) {
|
|
|
var rslt = !1;
|