You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 23, 2021. It is now read-only.
!function(r,n,t){"use strict";n.module("ngToolqit",["ng"]).filter("range",function(){return function(r,n){if("object"!=typeof r)throw new Error("Filter input must be an empty array.");n=parseInt(n);for(var t=0;n>t;t++)r.push(t);return r}}),n.module("ngToolqit").directive("format",["$browser",function(r){function n(n,e,i,o){if(!i.formatRules)throw new Error("Missing format rules.");o.$formatters.push(function(r){return t(r,i.formatRules)}),o.$parsers.push(function(r){return r=t(r,i.formatRules),e.val(r),r});var u=function(){e.val(t(e.val(),i.formatRules))};e.bind("change",u),e.bind("keydown",function(){r.defer(u)}),e.bind("cut paste",function(){r.defer(u)})}function t(r,n){if(!r||r===e)return r;"string"!=typeof r&&(r=r.toString());var t={9:"[0-9]",a:"[a-zA-Z]","*":"[a-zA-Z0-9]"},i=n,o="";for(var u in t)"*"===u&&(u="\\*"),i=i.replace(new RegExp(u,"g"),t[u]);if(r=r.substring(0,n.length),r.match(i))return r;var a=r.split(""),f=n.split("");return a.filter(function(r,n){return t[f[n]]||(o+=f[n],r!==f[n])?r.match(t[f[n]])?(o+=r,!0):!1:!0}),e=o,o}var e=null;return{require:"ngModel",link:n}}])}(window,window.angular);