- added .editorconfig - updated package.json & build/npm/Plugins.js according to the following changes - updated dev dependencies to clear audits - updated daterangepicker - updated overlayScrollbars - moved flot (0.8.2) to flot-old for plugins - updated flot - updated fullcalendar - replaced icheck with icheck-bootstrap & updated demo files - added icheck-bootstrap color overrides - updated inputmask - updated ion-rangeslider - updated jquery-ui - updated bootstrap-slider tweaks & demo files - replaced jvectormap with jqvmap & updated demo files - added jquery-mapael & replaced in index2 jvectormap - updated jquery-knob - replaced pace with pace-progress - updated select2 & demo files - replaced jquery.sparkline with sparklines & updated demo files and removed jquery.sparkline demo section
33 lines
1.3 KiB
JavaScript
33 lines
1.3 KiB
JavaScript
/*!
|
|
* bindings/inputmask.binding.js
|
|
* https://github.com/RobinHerbots/Inputmask
|
|
* Copyright (c) 2010 - 2019 Robin Herbots
|
|
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
|
|
* Version: 4.0.8
|
|
*/
|
|
|
|
(function(factory) {
|
|
if (typeof define === "function" && define.amd) {
|
|
define([ "jquery", "../inputmask", "../global/window" ], factory);
|
|
} else if (typeof exports === "object") {
|
|
module.exports = factory(require("jquery"), require("../inputmask"), require("../global/window"));
|
|
} else {
|
|
factory(jQuery, window.Inputmask, window);
|
|
}
|
|
})(function($, Inputmask, window) {
|
|
$(window.document).ajaxComplete(function(event, xmlHttpRequest, ajaxOptions) {
|
|
if ($.inArray("html", ajaxOptions.dataTypes) !== -1) {
|
|
$(".inputmask, [data-inputmask], [data-inputmask-mask], [data-inputmask-alias]").each(function(ndx, lmnt) {
|
|
if (lmnt.inputmask === undefined) {
|
|
Inputmask().mask(lmnt);
|
|
}
|
|
});
|
|
}
|
|
}).ready(function() {
|
|
$(".inputmask, [data-inputmask], [data-inputmask-mask], [data-inputmask-alias]").each(function(ndx, lmnt) {
|
|
if (lmnt.inputmask === undefined) {
|
|
Inputmask().mask(lmnt);
|
|
}
|
|
});
|
|
});
|
|
}); |