AdminLTE/plugins/inputmask/inputmask.min.js

8 lines
94 KiB
JavaScript
Raw Normal View History

2020-04-01 22:52:43 +00:00
/*!
* dist/inputmask.min
* https://github.com/RobinHerbots/Inputmask
* Copyright (c) 2010 - 2021 Robin Herbots
2020-04-01 22:52:43 +00:00
* Licensed under the MIT license
* Version: 5.0.6
2020-04-01 22:52:43 +00:00
*/
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var a=t();for(var i in a)("object"==typeof exports?exports:e)[i]=a[i]}}(this,(function(){return function(){"use strict";var e={4528:function(e){e.exports=JSON.parse('{"BACKSPACE":8,"BACKSPACE_SAFARI":127,"DELETE":46,"DOWN":40,"END":35,"ENTER":13,"ESCAPE":27,"HOME":36,"INSERT":45,"LEFT":37,"PAGE_DOWN":34,"PAGE_UP":33,"RIGHT":39,"SPACE":32,"TAB":9,"UP":38,"X":88,"Z":90,"CONTROL":17,"PAUSE/BREAK":19,"WINDOWS_LEFT":91,"WINDOWS_RIGHT":92,"KEY_229":229}')},8741:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=!("undefined"==typeof window||!window.document||!window.document.createElement);t.default=a},3976:function(e,t,a){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i,n=(i=a(4528))&&i.__esModule?i:{default:i};var r={_maxTestPos:500,placeholder:"_",optionalmarker:["[","]"],quantifiermarker:["{","}"],groupmarker:["(",")"],alternatormarker:"|",escapeChar:"\\",mask:null,regex:null,oncomplete:function(){},onincomplete:function(){},oncleared:function(){},repeat:0,greedy:!1,autoUnmask:!1,removeMaskOnSubmit:!1,clearMaskOnLostFocus:!0,insertMode:!0,insertModeVisual:!0,clearIncomplete:!1,alias:null,onKeyDown:function(){},onBeforeMask:null,onBeforePaste:function(e,t){return"function"==typeof t.onBeforeMask?t.onBeforeMask.call(this,e,t):e},onBeforeWrite:null,onUnMask:null,showMaskOnFocus:!0,showMaskOnHover:!0,onKeyValidation:function(){},skipOptionalPartCharacter:" ",numericInput:!1,rightAlign:!1,undoOnEscape:!0,radixPoint:"",_radixDance:!1,groupSeparator:"",keepStatic:null,positionCaretOnTab:!0,tabThrough:!1,supportsInputType:["text","tel","url","password","search"],ignorables:[n.default.BACKSPACE,n.default.TAB,n.default["PAUSE/BREAK"],n.default.ESCAPE,n.default.PAGE_UP,n.default.PAGE_DOWN,n.default.END,n.default.HOME,n.default.LEFT,n.default.UP,n.default.RIGHT,n.default.DOWN,n.default.INSERT,n.default.DELETE,93,112,113,114,115,116,117,118,119,120,121,122,123,0,229],isComplete:null,preValidation:null,postValidation:null,staticDefinitionSymbol:void 0,jitMasking:!1,nullable:!0,inputEventOnly:!1,noValuePatching:!1,positionCaretOnClick:"lvp",casing:null,inputmode:"text",importDataAttributes:!0,shiftPositions:!0,usePrototypeDefinitions:!0,validationEventTimeOut:3e3};t.default=r},7392:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={9:{validator:"[0-9\uff10-\uff19]",definitionSymbol:"*"},a:{validator:"[A-Za-z\u0410-\u044f\u0401\u0451\xc0-\xff\xb5]",definitionSymbol:"*"},"*":{validator:"[0-9\uff10-\uff19A-Za-z\u0410-\u044f\u0401\u0451\xc0-\xff\xb5]"}}},253:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,a){if(void 0===a)return e.__data?e.__data[t]:null;e.__data=e.__data||{},e.__data[t]=a}},3776:function(e,t,a){Object.defineProperty(t,"__esModule",{value:!0}),t.on=function(e,t){function a(e,a){n.addEventListener?n.addEventListener(e,t,!1):n.attachEvent&&n.attachEvent("on"+e,t),i[e]=i[e]||{},i[e][a]=i[e][a]||[],i[e][a].push(t)}if(u(this[0]))for(var i=this[0].eventRegistry,n=this[0],r=e.split(" "),o=0;o<r.length;o++){var s=r[o].split("."),l=s[0],c=s[1]||"global";a(l,c)}return this},t.off=function(e,t){var a,i;function n(e,t,n){if(e in a==!0)if(i.removeEventListener?i.removeEventListener(e,n,!1):i.detachEvent&&i.detachEvent("on"+e,n),"global"===t)for(var r in a[e])a[e][r].splice(a[e][r].indexOf(n),1);else a[e][t].splice(a[e][t].indexOf(n),1)}function r(e,i){var n,r,o=[];if(e.length>0)if(void 0===t)for(n=0,r=a[e][i].length;n<r;n++)o.push({ev:e,namespace:i&&i.length>0?i:"global",handler:a[e][i][n]});else o.push({ev:e,namespace:i&&i.length>0?i:"global",handler:t});else if(i.length>0)for(var s in a)for(var l in a[s])if(l===i)if(void 0===t)for(n=0,r=a[s][l].length;n<r;n++)o.push({ev:s,namespace:l,handler:a[s][l][n]});else o.push({ev:s,namespace:l,handler:t});return o}if(u(this[0])&&e){a=this[0].eventRegistry,i=this[0];for(var o=e.split(" "),s=0;s<o.length;s++)for(va