|
@@ -3,7 +3,7 @@
|
|
|
* https://github.com/RobinHerbots/jquery.inputmask
|
|
* https://github.com/RobinHerbots/jquery.inputmask
|
|
|
* Copyright (c) 2010 - 2016 Robin Herbots
|
|
* Copyright (c) 2010 - 2016 Robin Herbots
|
|
|
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
|
|
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
|
|
|
-* Version: 3.3.4-52
|
|
|
|
|
|
|
+* Version: 3.3.4-53
|
|
|
*/
|
|
*/
|
|
|
!function(factory) {
|
|
!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);
|
|
"function" == typeof define && define.amd ? define("inputmask", [ "inputmask.dependencyLib" ], factory) : "object" == typeof exports ? module.exports = factory(require("./inputmask.dependencyLib")) : factory(window.dependencyLib || jQuery);
|
|
@@ -89,7 +89,7 @@
|
|
|
casing: maskdef.casing,
|
|
casing: maskdef.casing,
|
|
|
def: maskdef.definitionSymbol || element,
|
|
def: maskdef.definitionSymbol || element,
|
|
|
placeholder: maskdef.placeholder,
|
|
placeholder: maskdef.placeholder,
|
|
|
- mask: element
|
|
|
|
|
|
|
+ nativeDef: element
|
|
|
}), prevMatch = mtoken.matches[position - 1];
|
|
}), prevMatch = mtoken.matches[position - 1];
|
|
|
}
|
|
}
|
|
|
mtoken.matches.splice(position++, 0, {
|
|
mtoken.matches.splice(position++, 0, {
|
|
@@ -102,7 +102,7 @@
|
|
|
casing: maskdef.casing,
|
|
casing: maskdef.casing,
|
|
|
def: maskdef.definitionSymbol || element,
|
|
def: maskdef.definitionSymbol || element,
|
|
|
placeholder: maskdef.placeholder,
|
|
placeholder: maskdef.placeholder,
|
|
|
- mask: element
|
|
|
|
|
|
|
+ nativeDef: element
|
|
|
});
|
|
});
|
|
|
} else mtoken.matches.splice(position++, 0, {
|
|
} else mtoken.matches.splice(position++, 0, {
|
|
|
fn: null,
|
|
fn: null,
|
|
@@ -112,7 +112,7 @@
|
|
|
casing: null,
|
|
casing: null,
|
|
|
def: opts.staticDefinitionSymbol || element,
|
|
def: opts.staticDefinitionSymbol || element,
|
|
|
placeholder: void 0 !== opts.staticDefinitionSymbol ? element : void 0,
|
|
placeholder: void 0 !== opts.staticDefinitionSymbol ? element : void 0,
|
|
|
- mask: element
|
|
|
|
|
|
|
+ nativeDef: element
|
|
|
}), escaped = !1;
|
|
}), escaped = !1;
|
|
|
}
|
|
}
|
|
|
function verifyGroupMarker(lastMatch, isOpenGroup) {
|
|
function verifyGroupMarker(lastMatch, isOpenGroup) {
|
|
@@ -381,7 +381,7 @@
|
|
|
for (var ndx2 = 0; ndx2 < malternateMatches.length; ndx2++) {
|
|
for (var ndx2 = 0; ndx2 < malternateMatches.length; ndx2++) {
|
|
|
var altMatch2 = malternateMatches[ndx2];
|
|
var altMatch2 = malternateMatches[ndx2];
|
|
|
if (("string" != typeof altIndex || $.inArray(altMatch.locator[altMatch.alternation].toString(), altIndexArr) !== -1) && (altMatch.match.def === altMatch2.match.def || staticCanMatchDefinition(altMatch, altMatch2))) {
|
|
if (("string" != typeof altIndex || $.inArray(altMatch.locator[altMatch.alternation].toString(), altIndexArr) !== -1) && (altMatch.match.def === altMatch2.match.def || staticCanMatchDefinition(altMatch, altMatch2))) {
|
|
|
- hasMatch = altMatch.match.mask === altMatch2.match.mask, altMatch2.locator[altMatch.alternation].toString().indexOf(altMatch.locator[altMatch.alternation]) === -1 && (altMatch2.locator[altMatch.alternation] = altMatch2.locator[altMatch.alternation] + "," + altMatch.locator[altMatch.alternation],
|
|
|
|
|
|
|
+ hasMatch = altMatch.match.nativeDef === altMatch2.match.nativeDef, altMatch2.locator[altMatch.alternation].toString().indexOf(altMatch.locator[altMatch.alternation]) === -1 && (altMatch2.locator[altMatch.alternation] = altMatch2.locator[altMatch.alternation] + "," + altMatch.locator[altMatch.alternation],
|
|
|
altMatch2.alternation = altMatch.alternation, null == altMatch.match.fn && (altMatch2.na = altMatch2.na || altMatch.locator[altMatch.alternation].toString(),
|
|
altMatch2.alternation = altMatch.alternation, null == altMatch.match.fn && (altMatch2.na = altMatch2.na || altMatch.locator[altMatch.alternation].toString(),
|
|
|
altMatch2.na.indexOf(altMatch.locator[altMatch.alternation]) === -1 && (altMatch2.na = altMatch2.na + "," + altMatch.locator[altMatch.alternation])));
|
|
altMatch2.na.indexOf(altMatch.locator[altMatch.alternation]) === -1 && (altMatch2.na = altMatch2.na + "," + altMatch.locator[altMatch.alternation])));
|
|
|
break;
|
|
break;
|