@comparaonline/ui-validation
Advanced tools
Comparing version 0.0.4-alpha.0 to 0.0.5-alpha.0
@@ -1,2 +0,2 @@ | ||
module.exports=function(e){var r={};function t(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,t),o.l=!0,o.exports}return t.m=e,t.c=r,t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:n})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,r){if(1&r&&(e=t(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(t.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var o in e)t.d(n,o,function(r){return e[r]}.bind(null,o));return n},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},t.p="",t(t.s=1)}([function(e,r){e.exports=require("tslib")},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=t(0);n.__exportStar(t(2),r),n.__exportStar(t(3),r);var o=t(4);r.ErrorField=o.ErrorField;var u=t(7);r.replacer=u.replacer},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0});r.required=function(e){return e&&e.toString().trim()?void 0:{errorCode:"required",params:{}}};var n=function(e){if(e)return isNaN(Number.parseFloat(e))?{errorCode:"numeric",params:{}}:void 0};r.numeric=n;var o=function(e){return function(r){var t=Number.parseFloat(r);return!isNaN(t)&&t>=e?void 0:{errorCode:"min",params:{minValue:e}}}};r.min=o;var u=function(e){return function(r){var t=Number.parseFloat(r);return!isNaN(t)&&t>=e?void 0:{errorCode:"max",params:{maxValue:e}}}};r.max=u;r.inRange=function(e,r){return function(t){return n(t)&&o(e)(t)&&u(r)(t)?{errorCode:"inRange",params:{minValue:e,maxValue:r}}:void 0}}},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=function(e,r){return function(t){return new Promise(function(n,o){return Promise.resolve(t(e,r)).then(function(e){return e?o(e):n()})})}};r.promisifyValidator=n;r.validateWith=function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return function(r,t){return Promise.all(e.map(n(r,t))).then(function(){}).catch(function(e){return e})}}},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=t(0),o=n.__importDefault(t(5)),u=n.__importDefault(t(6));r.ErrorField=function(e){var r=e.errorMessage;return o.default.createElement(u.default,null,r)}},function(e,r){e.exports=require("react")},function(e,r){e.exports=require("@material-ui/core/FormHelperText")},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=function(e){return{word:e,regexp:new RegExp("{{"+e+"}}","gm")}};r.replacer=function(e,r){return void 0===e&&(e=""),Object.keys(r).map(n).reduce(function(e,t){return e.replace(t.regexp,r[t.word])},e)}}]); | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vd2VicGFjay9ib290c3RyYXAiLCJ3ZWJwYWNrOi8vL2V4dGVybmFsIFwidHNsaWJcIiIsIndlYnBhY2s6Ly8vLi9zcmMvaW5kZXgudHMiLCJ3ZWJwYWNrOi8vLy4vc3JjL3ZhbGlkYXRpb25zLnRzIiwid2VicGFjazovLy8uL3NyYy92YWxpZGF0ZVdpdGgudHMiLCJ3ZWJwYWNrOi8vLy4vc3JjL0Vycm9yRmllbGQudHN4Iiwid2VicGFjazovLy9leHRlcm5hbCBcInJlYWN0XCIiLCJ3ZWJwYWNrOi8vL2V4dGVybmFsIFwiQG1hdGVyaWFsLXVpL2NvcmUvRm9ybUhlbHBlclRleHRcIiIsIndlYnBhY2s6Ly8vLi9zcmMvcmVwbGFjZXIudHMiXSwibmFtZXMiOlsiaW5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Y2N1bSwgY3VycikgPT4gYWNjdW0ucmVwbGFjZShjdXJyLnJlZ2V4cCwgcGFyYW1zW2N1cnIud29yZF0pLFxuICAgICAgdGV4dFxuICAgICk7XG5cbmV4cG9ydCB7IHJlcGxhY2VyIH07XG4iXSwic291cmNlUm9vdCI6IiJ9 | ||
module.exports=function(e){var r={};function t(n){if(r[n])return r[n].exports;var u=r[n]={i:n,l:!1,exports:{}};return e[n].call(u.exports,u,u.exports,t),u.l=!0,u.exports}return t.m=e,t.c=r,t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:n})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,r){if(1&r&&(e=t(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(t.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var u in e)t.d(n,u,function(r){return e[r]}.bind(null,u));return n},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},t.p="",t(t.s=0)}([function(e,r,t){"use strict";function n(e){for(var t in e)r.hasOwnProperty(t)||(r[t]=e[t])}Object.defineProperty(r,"__esModule",{value:!0}),n(t(1)),n(t(2));var u=t(3);r.ErrorField=u.ErrorField;var o=t(6);r.replacer=o.replacer},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0});r.required=function(e){return e&&e.toString().trim()?void 0:{errorCode:"required",params:{}}};var n=function(e){if(e)return isNaN(Number.parseFloat(e))?{errorCode:"numeric",params:{}}:void 0};r.numeric=n;var u=function(e){return function(r){var t=Number.parseFloat(r);return!isNaN(t)&&t>=e?void 0:{errorCode:"min",params:{minValue:e}}}};r.min=u;var o=function(e){return function(r){var t=Number.parseFloat(r);return!isNaN(t)&&t>=e?void 0:{errorCode:"max",params:{maxValue:e}}}};r.max=o;r.inRange=function(e,r){return function(t){return n(t)&&u(e)(t)&&o(r)(t)?{errorCode:"inRange",params:{minValue:e,maxValue:r}}:void 0}}},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=function(e,r){return function(t){return new Promise(function(n,u){return Promise.resolve(t(e,r)).then(function(e){return e?u(e):n()})})}};r.promisifyValidator=n;r.validateWith=function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return function(r,t){return Promise.all(e.map(n(r,t))).then(function(){}).catch(function(e){return e})}}},function(e,r,t){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0});var u=n(t(4)),o=n(t(5));r.ErrorField=function(e){var r=e.errorMessage;return u.default.createElement(o.default,null,r)}},function(e,r){e.exports=require("react")},function(e,r){e.exports=require("@material-ui/core/FormHelperText")},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=function(e){return{word:e,regexp:new RegExp("{{"+e+"}}","gm")}};r.replacer=function(e,r){return void 0===e&&(e=""),Object.keys(r).map(n).reduce(function(e,t){return e.replace(t.regexp,r[t.word])},e)}}]); | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vd2VicGFjay9ib290c3RyYXAiLCJ3ZWJwYWNrOi8vLy4vc3JjL2luZGV4LnRzIiwid2VicGFjazovLy8uL3NyYy92YWxpZGF0aW9ucy50cyIsIndlYnBhY2s6Ly8vLi9zcmMvdmFsaWRhdGVXaXRoLnRzIiwid2VicGFjazovLy8uL3NyYy9FcnJvckZpZWxkLnRzeCIsIndlYnBhY2s6Ly8vZXh0ZXJuYWwgXCJyZWFjdFwiIiwid2VicGFjazovLy9leHRlcm5hbCBcIkBtYXRlcmlhbC11aS9jb3JlL0Zvcm1IZWxwZXJUZXh0XC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B9O1xuIl0sInNvdXJjZVJvb3QiOiIifQ== |
{ | ||
"name": "@comparaonline/ui-validation", | ||
"version": "0.0.4-alpha.0", | ||
"version": "0.0.5-alpha.0", | ||
"main": "dist/ui-validation.js", | ||
@@ -44,3 +44,3 @@ "types": "dist/index.d.ts", | ||
}, | ||
"gitHead": "7bb6f5ad26b908fdade40ff8fadaaf33191bdf0a" | ||
"gitHead": "3d6c464dbfad1a73da603edde186286c6c1e0572" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
22744