@anncic-api/validator 3.4.9 → 3.4.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- const a0_0x5c0de4=a0_0x4103;function a0_0x4103(_0x2a82b1,_0x2849a5){const _0xa1271=a0_0x133b();return a0_0x4103=function(_0x578b07,_0x51788e){_0x578b07=_0x578b07-0xe3;let _0x133b83=_0xa1271[_0x578b07];return _0x133b83;},a0_0x4103(_0x2a82b1,_0x2849a5);}(function(_0x1e7f24,_0x45229f){const _0x254a26=a0_0x4103,_0x225962=_0x1e7f24();while(!![]){try{const _0x2c853=-parseInt(_0x254a26(0xe8))/0x1*(-parseInt(_0x254a26(0xe5))/0x2)+-parseInt(_0x254a26(0xf1))/0x3*(-parseInt(_0x254a26(0xf6))/0x4)+-parseInt(_0x254a26(0xf5))/0x5+-parseInt(_0x254a26(0xee))/0x6+parseInt(_0x254a26(0xe6))/0x7*(parseInt(_0x254a26(0xe9))/0x8)+parseInt(_0x254a26(0xef))/0x9+-parseInt(_0x254a26(0xe4))/0xa;if(_0x2c853===_0x45229f)break;else _0x225962['push'](_0x225962['shift']());}catch(_0x5e1c57){_0x225962['push'](_0x225962['shift']());}}}(a0_0x133b,0x779fe));function a0_0x133b(){const _0x15444d=['ValidatorError','defineProperty','constructor','string','2605170eLGSqD','5362551MKTcjL','../../locales/zh_CN.json','357444RjSOUu','PARAMS','apply','search','2043390glgpww','28bmPexf','../exception/ValidatorError','13897220yoCfSu','362HbhYxN','11585VZtaUE','toString','3832InWCpx','2896niKOHj'];a0_0x133b=function(){return _0x15444d;};return a0_0x133b();}const a0_0x51788e=(function(){let _0x1b6593=!![];return function(_0x19a823,_0x3ccba3){const _0x51c699=_0x1b6593?function(){const _0x2434df=a0_0x4103;if(_0x3ccba3){const _0x4b67ad=_0x3ccba3[_0x2434df(0xf3)](_0x19a823,arguments);return _0x3ccba3=null,_0x4b67ad;}}:function(){};return _0x1b6593=![],_0x51c699;};}()),a0_0x578b07=a0_0x51788e(this,function(){const _0xde0e01=a0_0x4103;return a0_0x578b07[_0xde0e01(0xe7)]()['search']('(((.+)+)+)+$')[_0xde0e01(0xe7)]()[_0xde0e01(0xec)](a0_0x578b07)[_0xde0e01(0xf4)]('(((.+)+)+)+$');});a0_0x578b07();'use strict';Object[a0_0x5c0de4(0xeb)](exports,'__esModule',{'value':!![]});const ValidatorError_1=require(a0_0x5c0de4(0xe3));exports['default']={'validator':{'errorStatus':ValidatorError_1[a0_0x5c0de4(0xea)][a0_0x5c0de4(0xf2)],'validationOptions':{'allowUnknown':!![],'stripUnknown':!![],'dateFormat':a0_0x5c0de4(0xed)}},'i18n':{'localeTable':{'en_US':{'validator':require('../../locales/en_US.json')},'zh_CN':{'validator':require(a0_0x5c0de4(0xf0))}}}};
1
+ const a0_0x12036c=a0_0x1eb5;(function(_0x24ce75,_0x3edccd){const _0x20a177=a0_0x1eb5,_0x5860d0=_0x24ce75();while(!![]){try{const _0x4b97e0=parseInt(_0x20a177(0x160))/0x1+-parseInt(_0x20a177(0x16c))/0x2+-parseInt(_0x20a177(0x166))/0x3*(-parseInt(_0x20a177(0x167))/0x4)+parseInt(_0x20a177(0x16f))/0x5+-parseInt(_0x20a177(0x162))/0x6*(-parseInt(_0x20a177(0x163))/0x7)+parseInt(_0x20a177(0x16b))/0x8*(parseInt(_0x20a177(0x165))/0x9)+parseInt(_0x20a177(0x16a))/0xa*(-parseInt(_0x20a177(0x170))/0xb);if(_0x4b97e0===_0x3edccd)break;else _0x5860d0['push'](_0x5860d0['shift']());}catch(_0x42adf0){_0x5860d0['push'](_0x5860d0['shift']());}}}(a0_0x22f2,0x8b9c1));const a0_0x59e421=(function(){let _0x141711=!![];return function(_0x125445,_0x4598c4){const _0x6ee267=_0x141711?function(){const _0x508cd1=a0_0x1eb5;if(_0x4598c4){const _0xc0be7b=_0x4598c4[_0x508cd1(0x161)](_0x125445,arguments);return _0x4598c4=null,_0xc0be7b;}}:function(){};return _0x141711=![],_0x6ee267;};}()),a0_0x39571e=a0_0x59e421(this,function(){const _0x3c1409=a0_0x1eb5;return a0_0x39571e[_0x3c1409(0x172)]()[_0x3c1409(0x164)]('(((.+)+)+)+$')[_0x3c1409(0x172)]()[_0x3c1409(0x16e)](a0_0x39571e)[_0x3c1409(0x164)]('(((.+)+)+)+$');});function a0_0x1eb5(_0x5a34ed,_0x5e8190){const _0x53526f=a0_0x22f2();return a0_0x1eb5=function(_0x39571e,_0x59e421){_0x39571e=_0x39571e-0x15f;let _0x22f284=_0x53526f[_0x39571e];return _0x22f284;},a0_0x1eb5(_0x5a34ed,_0x5e8190);}a0_0x39571e();'use strict';Object[a0_0x12036c(0x16d)](exports,a0_0x12036c(0x169),{'value':!![]});function a0_0x22f2(){const _0x37ae91=['ValidatorError','160974HaQICl','apply','803178rmaRgV','28BLZFHO','search','5013693leZuZy','1347HkVWwH','10084VrdwgP','string','__esModule','10790pLAwxz','16HJoTpX','159574umiOSR','defineProperty','constructor','5183775gbJVDq','33924mPGtdc','default','toString','../../locales/en_US.json','../exception/ValidatorError'];a0_0x22f2=function(){return _0x37ae91;};return a0_0x22f2();}const ValidatorError_1=require(a0_0x12036c(0x174));exports[a0_0x12036c(0x171)]={'validator':{'errorStatus':ValidatorError_1[a0_0x12036c(0x15f)]['PARAMS'],'validationOptions':{'allowUnknown':!![],'stripUnknown':!![],'dateFormat':a0_0x12036c(0x168)}},'i18n':{'localeTable':{'en_US':{'validator':require(a0_0x12036c(0x173))},'zh_CN':{'validator':require('../../locales/zh_CN.json')}}}};
@@ -1 +1 @@
1
- const a1_0x5677a6=a1_0xa2f2;(function(_0x21f34e,_0x5b2b17){const _0x236acf=a1_0xa2f2,_0x3b9e8b=_0x21f34e();while(!![]){try{const _0x43feee=parseInt(_0x236acf(0xfe))/0x1+parseInt(_0x236acf(0xe7))/0x2+parseInt(_0x236acf(0xd4))/0x3*(parseInt(_0x236acf(0xd5))/0x4)+parseInt(_0x236acf(0xe0))/0x5+parseInt(_0x236acf(0xf1))/0x6*(-parseInt(_0x236acf(0xd7))/0x7)+-parseInt(_0x236acf(0xd9))/0x8*(parseInt(_0x236acf(0xe4))/0x9)+parseInt(_0x236acf(0xf3))/0xa;if(_0x43feee===_0x5b2b17)break;else _0x3b9e8b['push'](_0x3b9e8b['shift']());}catch(_0x53671e){_0x3b9e8b['push'](_0x3b9e8b['shift']());}}}(a1_0x2c5a,0x7f30f));function a1_0xa2f2(_0x26b01c,_0x56552f){const _0x528861=a1_0x2c5a();return a1_0xa2f2=function(_0x13eefe,_0x558125){_0x13eefe=_0x13eefe-0xca;let _0x2c5a82=_0x528861[_0x13eefe];return _0x2c5a82;},a1_0xa2f2(_0x26b01c,_0x56552f);}const a1_0x558125=(function(){let _0x29d0f1=!![];return function(_0x3d001c,_0x5bafd7){const _0x1720ba=_0x29d0f1?function(){if(_0x5bafd7){const _0x2c0ffd=_0x5bafd7['apply'](_0x3d001c,arguments);return _0x5bafd7=null,_0x2c0ffd;}}:function(){};return _0x29d0f1=![],_0x1720ba;};}()),a1_0x13eefe=a1_0x558125(this,function(){const _0x5a5eba=a1_0xa2f2;return a1_0x13eefe['toString']()[_0x5a5eba(0xd6)](_0x5a5eba(0xee))[_0x5a5eba(0xe8)]()[_0x5a5eba(0x101)](a1_0x13eefe)[_0x5a5eba(0xd6)]('(((.+)+)+)+$');});function a1_0x2c5a(){const _0x3da93e=['design:type','Inject','@midwayjs/core','1297785hJlJhL','validator','params','getSchema','9PyLeYX','decorator','function','257062tHpJVl','toString','REQUEST_OBJ_CTX_KEY','find','method','MidwayDecoratorService','I18N_ATTR_KEY','(((.+)+)+)+$','prototype','assign','8022PNQeST','object','1661460DAYiFg','length','./interface','defineProperty','ValidatorService','metadata','bound\x20dispatch','getAttr','request','body','getClassMetadata','295528gOgsIQ','./service/ValidatorService','locale','constructor','undefined','splice','getMethodParamTypes','anncic-api:validator','./config/config.default','CustomConfiguration','onReady','target','@midwayjs/i18n','req','methodArgs','34362WQNEgy','268NqJSOe','search','4802NzNYrO','propertyName','1432184CZLgxa','res','__metadata','args'];a1_0x2c5a=function(){return _0x3da93e;};return a1_0x2c5a();}a1_0x13eefe();'use strict';var __decorate=this&&this['__decorate']||function(_0x2494fa,_0x3e99a6,_0xf142d8,_0x1fee36){const _0x4cb439=a1_0xa2f2;var _0x4fe686=arguments[_0x4cb439(0xf4)],_0x3f1372=_0x4fe686<0x3?_0x3e99a6:_0x1fee36===null?_0x1fee36=Object['getOwnPropertyDescriptor'](_0x3e99a6,_0xf142d8):_0x1fee36,_0x2bfc06;if(typeof Reflect===_0x4cb439(0xf2)&&typeof Reflect['decorate']===_0x4cb439(0xe6))_0x3f1372=Reflect['decorate'](_0x2494fa,_0x3e99a6,_0xf142d8,_0x1fee36);else{for(var _0x4ec64e=_0x2494fa[_0x4cb439(0xf4)]-0x1;_0x4ec64e>=0x0;_0x4ec64e--)if(_0x2bfc06=_0x2494fa[_0x4ec64e])_0x3f1372=(_0x4fe686<0x3?_0x2bfc06(_0x3f1372):_0x4fe686>0x3?_0x2bfc06(_0x3e99a6,_0xf142d8,_0x3f1372):_0x2bfc06(_0x3e99a6,_0xf142d8))||_0x3f1372;}return _0x4fe686>0x3&&_0x3f1372&&Object[_0x4cb439(0xf6)](_0x3e99a6,_0xf142d8,_0x3f1372),_0x3f1372;},__metadata=this&&this[a1_0x5677a6(0xdb)]||function(_0x494efb,_0x1c934a){const _0xe1a365=a1_0x5677a6;if(typeof Reflect==='object'&&typeof Reflect[_0xe1a365(0xf8)]===_0xe1a365(0xe6))return Reflect[_0xe1a365(0xf8)](_0x494efb,_0x1c934a);};Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[a1_0x5677a6(0xce)]=void 0x0;const i18n_1=require(a1_0x5677a6(0xd1)),core_1=require(a1_0x5677a6(0xdf)),core_2=require('@midwayjs/core'),interface_1=require(a1_0x5677a6(0xf5)),ValidatorService_1=require(a1_0x5677a6(0xff)),i18n=require(a1_0x5677a6(0xd1)),anncic=require('@anncic-api/core'),ConfigDefault=require(a1_0x5677a6(0xcd));let CustomConfiguration=class CustomConfiguration{async[a1_0x5677a6(0xcf)](){this['decorator']['registerMethodHandler'](interface_1['VALIDATOR_KEY'],_0x42c664=>{const _0xf83576=a1_0xa2f2,_0x9b65ae=_0x42c664[_0xf83576(0xf8)],_0x20e081=(0x0,core_2[_0xf83576(0xcb)])(_0x42c664['target'],_0x42c664[_0xf83576(0xd8)]);return{'before':_0x33a619=>{const _0x300089=_0xf83576;var _0x4978ba,_0x5d913e,_0x4dee42,_0x7586bd,_0x381233,_0x2bcbcb,_0x2d4818,_0x3693c6,_0x42c873,_0x57766b,_0x17daa6,_0x570d91,_0x4b80e3;const _0x258c41=_0x33a619[_0x300089(0xd0)][core_1[_0x300089(0xe9)]],_0x26aeb7=Object[_0x300089(0xf0)]({},((_0x4978ba=_0x258c41===null||_0x258c41===void 0x0?void 0x0:_0x258c41[_0x300089(0xfb)])===null||_0x4978ba===void 0x0?void 0x0:_0x4978ba['query'])||{},((_0x5d913e=_0x258c41===null||_0x258c41===void 0x0?void 0x0:_0x258c41['request'])===null||_0x5d913e===void 0x0?void 0x0:_0x5d913e[_0x300089(0xfc)])||{}),_0x494910=((0x0,core_2[_0x300089(0xfd)])(interface_1['VALIDATOR_KEY'],_0x33a619['target'])||[])[_0x300089(0xea)](_0x554919=>_0x554919[_0x300089(0xeb)]==_0x33a619['methodName']);!(_0x9b65ae===null||_0x9b65ae===void 0x0?void 0x0:_0x9b65ae[_0x300089(0x100)])&&_0x258c41&&_0x258c41[_0x300089(0xfa)]&&(_0x9b65ae[_0x300089(0x100)]=_0x258c41[_0x300089(0xfa)](i18n_1[_0x300089(0xed)]));for(let _0x501b6a=0x0;_0x501b6a<_0x20e081[_0x300089(0xf4)];_0x501b6a++){const _0x4d4689=_0x20e081[_0x501b6a],_0x5e4cf2=this[_0x300089(0xf7)][_0x300089(0xe3)](_0x4d4689);if(_0x5e4cf2){if(typeof _0x33a619[_0x300089(0xdc)][_0x501b6a]==_0x300089(0x102)||((_0x4dee42=_0x33a619[_0x300089(0xdc)][_0x501b6a])===null||_0x4dee42===void 0x0?void 0x0:_0x4dee42[_0x300089(0xfb)])&&((_0x7586bd=_0x33a619[_0x300089(0xdc)][_0x501b6a])===null||_0x7586bd===void 0x0?void 0x0:_0x7586bd[_0x300089(0xda)])&&((_0x381233=_0x33a619[_0x300089(0xdc)][_0x501b6a])===null||_0x381233===void 0x0?void 0x0:_0x381233[_0x300089(0xd2)]))_0x33a619[_0x300089(0xdc)][_0x501b6a]=_0x26aeb7;else((_0x2bcbcb=_0x33a619[_0x300089(0xdc)][_0x501b6a])===null||_0x2bcbcb===void 0x0?void 0x0:_0x2bcbcb['name'])==_0x300089(0xf9)&&_0x33a619[_0x300089(0xdc)][_0x300089(0xca)](_0x501b6a,0x0,_0x26aeb7);const _0x531328=this['ValidatorService'][_0x300089(0xe1)](_0x5e4cf2,_0x33a619['args'][_0x501b6a],_0x9b65ae);_0x531328&&(_0x33a619[_0x300089(0xdc)][_0x501b6a]=_0x531328);}else{if((_0x494910===null||_0x494910===void 0x0?void 0x0:_0x494910[_0x300089(0xd3)][_0x501b6a])&&((_0x2d4818=_0x33a619[_0x300089(0xdc)][_0x501b6a])===null||_0x2d4818===void 0x0?void 0x0:_0x2d4818[_0x300089(0xe2)])&&typeof _0x33a619[_0x300089(0xdc)][_0x501b6a]['param']==_0x300089(0xe6)&&((_0x3693c6=_0x258c41===null||_0x258c41===void 0x0?void 0x0:_0x258c41['params'])===null||_0x3693c6===void 0x0?void 0x0:_0x3693c6[_0x494910['methodArgs'][_0x501b6a]]))_0x33a619[_0x300089(0xdc)][_0x501b6a]=_0x4d4689((_0x42c873=_0x258c41===null||_0x258c41===void 0x0?void 0x0:_0x258c41[_0x300089(0xe2)])===null||_0x42c873===void 0x0?void 0x0:_0x42c873[_0x494910[_0x300089(0xd3)][_0x501b6a]]);else(_0x494910===null||_0x494910===void 0x0?void 0x0:_0x494910['methodArgs'][_0x501b6a])&&((_0x17daa6=(_0x57766b=_0x33a619[_0x300089(0xdc)][_0x501b6a])===null||_0x57766b===void 0x0?void 0x0:_0x57766b[_0x300089(0xe2)])===null||_0x17daa6===void 0x0?void 0x0:_0x17daa6[_0x494910['methodArgs'][_0x501b6a]])&&(_0x33a619[_0x300089(0xdc)][_0x501b6a]=(_0x4b80e3=(_0x570d91=_0x33a619[_0x300089(0xdc)][_0x501b6a])===null||_0x570d91===void 0x0?void 0x0:_0x570d91['params'])===null||_0x4b80e3===void 0x0?void 0x0:_0x4b80e3[_0x494910[_0x300089(0xd3)][_0x501b6a]]);}}},'afterThrow':(_0x135ba7,_0x15f1a5)=>{throw _0x15f1a5;}};});}};exports[a1_0x5677a6(0xce)]=CustomConfiguration,__decorate([(0x0,core_2[a1_0x5677a6(0xde)])(),__metadata(a1_0x5677a6(0xdd),core_1[a1_0x5677a6(0xec)])],CustomConfiguration['prototype'],a1_0x5677a6(0xe5),void 0x0),__decorate([(0x0,core_2[a1_0x5677a6(0xde)])(),__metadata(a1_0x5677a6(0xdd),ValidatorService_1['ValidatorService'])],CustomConfiguration[a1_0x5677a6(0xef)],a1_0x5677a6(0xf7),void 0x0),exports[a1_0x5677a6(0xce)]=CustomConfiguration=__decorate([(0x0,core_2['Configuration'])({'conflictCheck':![],'imports':[i18n,anncic],'namespace':a1_0x5677a6(0xcc),'importConfigs':[{'default':ConfigDefault}]})],CustomConfiguration);
1
+ const a1_0x1adf5a=a1_0x1923;(function(_0x3dda6d,_0x10e58e){const _0x296af2=a1_0x1923,_0x5b03bb=_0x3dda6d();while(!![]){try{const _0x235036=-parseInt(_0x296af2(0xf8))/0x1+parseInt(_0x296af2(0x117))/0x2+parseInt(_0x296af2(0x128))/0x3+parseInt(_0x296af2(0xfd))/0x4+parseInt(_0x296af2(0x116))/0x5*(-parseInt(_0x296af2(0xf2))/0x6)+-parseInt(_0x296af2(0x127))/0x7*(parseInt(_0x296af2(0xff))/0x8)+parseInt(_0x296af2(0x121))/0x9;if(_0x235036===_0x10e58e)break;else _0x5b03bb['push'](_0x5b03bb['shift']());}catch(_0x14eade){_0x5b03bb['push'](_0x5b03bb['shift']());}}}(a1_0x156c,0x33889));function a1_0x156c(){const _0x26f402=['apply','search','registerMethodHandler','validator','metadata','decorate','toString','function','166860qxEaoy','body','name','(((.+)+)+)+$','./service/ValidatorService','res','105heyZDJ','1214097XKyuXH','length','prototype','ValidatorService','defineProperty','params','decorator','6wuDSJH','methodName','target','locale','getSchema','splice','87076RPREFJ','Inject','methodArgs','method','request','933700vkQULx','assign','78400MAYqLN','getAttr','MidwayDecoratorService','undefined','find','./interface','args','I18N_ATTR_KEY','CustomConfiguration','query','constructor','object','onReady','Configuration','__esModule','bound\x20dispatch','./config/config.default','getClassMetadata','@midwayjs/i18n','design:type','@midwayjs/core','param','@anncic-api/core','1552675KNqEsG','198056wWUtGL','propertyName'];a1_0x156c=function(){return _0x26f402;};return a1_0x156c();}const a1_0x151647=(function(){let _0x1958d0=!![];return function(_0x599650,_0x4bd7d2){const _0x25b881=_0x1958d0?function(){const _0xdb2299=a1_0x1923;if(_0x4bd7d2){const _0x355a6a=_0x4bd7d2[_0xdb2299(0x119)](_0x599650,arguments);return _0x4bd7d2=null,_0x355a6a;}}:function(){};return _0x1958d0=![],_0x25b881;};}()),a1_0x99c1c6=a1_0x151647(this,function(){const _0x10321f=a1_0x1923;return a1_0x99c1c6[_0x10321f(0x11f)]()[_0x10321f(0x11a)](_0x10321f(0x124))[_0x10321f(0x11f)]()[_0x10321f(0x109)](a1_0x99c1c6)[_0x10321f(0x11a)](_0x10321f(0x124));});a1_0x99c1c6();'use strict';var __decorate=this&&this['__decorate']||function(_0xe8c7ef,_0x375e0f,_0x446111,_0x39e860){const _0x472143=a1_0x1923;var _0x518fe6=arguments[_0x472143(0xec)],_0x279f2e=_0x518fe6<0x3?_0x375e0f:_0x39e860===null?_0x39e860=Object['getOwnPropertyDescriptor'](_0x375e0f,_0x446111):_0x39e860,_0x3954ec;if(typeof Reflect===_0x472143(0x10a)&&typeof Reflect[_0x472143(0x11e)]===_0x472143(0x120))_0x279f2e=Reflect[_0x472143(0x11e)](_0xe8c7ef,_0x375e0f,_0x446111,_0x39e860);else{for(var _0x3af55b=_0xe8c7ef[_0x472143(0xec)]-0x1;_0x3af55b>=0x0;_0x3af55b--)if(_0x3954ec=_0xe8c7ef[_0x3af55b])_0x279f2e=(_0x518fe6<0x3?_0x3954ec(_0x279f2e):_0x518fe6>0x3?_0x3954ec(_0x375e0f,_0x446111,_0x279f2e):_0x3954ec(_0x375e0f,_0x446111))||_0x279f2e;}return _0x518fe6>0x3&&_0x279f2e&&Object[_0x472143(0xef)](_0x375e0f,_0x446111,_0x279f2e),_0x279f2e;},__metadata=this&&this['__metadata']||function(_0x2f1000,_0x5bec8b){const _0x325115=a1_0x1923;if(typeof Reflect===_0x325115(0x10a)&&typeof Reflect[_0x325115(0x11d)]===_0x325115(0x120))return Reflect[_0x325115(0x11d)](_0x2f1000,_0x5bec8b);};Object[a1_0x1adf5a(0xef)](exports,a1_0x1adf5a(0x10d),{'value':!![]}),exports[a1_0x1adf5a(0x107)]=void 0x0;function a1_0x1923(_0x1f5166,_0x2dc904){const _0x76db2e=a1_0x156c();return a1_0x1923=function(_0x99c1c6,_0x151647){_0x99c1c6=_0x99c1c6-0xec;let _0x156c6d=_0x76db2e[_0x99c1c6];return _0x156c6d;},a1_0x1923(_0x1f5166,_0x2dc904);}const i18n_1=require(a1_0x1adf5a(0x111)),core_1=require('@midwayjs/core'),core_2=require(a1_0x1adf5a(0x113)),interface_1=require(a1_0x1adf5a(0x104)),ValidatorService_1=require(a1_0x1adf5a(0x125)),i18n=require(a1_0x1adf5a(0x111)),anncic=require(a1_0x1adf5a(0x115)),ConfigDefault=require(a1_0x1adf5a(0x10f));let CustomConfiguration=class CustomConfiguration{async[a1_0x1adf5a(0x10b)](){const _0x2b9e31=a1_0x1adf5a;this[_0x2b9e31(0xf1)][_0x2b9e31(0x11b)](interface_1['VALIDATOR_KEY'],_0x55e916=>{const _0x989f2e=_0x2b9e31,_0x1d6512=_0x55e916[_0x989f2e(0x11d)],_0x3ad483=(0x0,core_2['getMethodParamTypes'])(_0x55e916[_0x989f2e(0xf4)],_0x55e916[_0x989f2e(0x118)]);return{'before':_0x40757e=>{const _0x1442b4=_0x989f2e;var _0x266c75,_0x5b9bc8,_0x5a7217,_0x58e1ff,_0xbd98fb,_0x254e9e,_0x1496b6,_0x58434d,_0x486de4,_0x5f05cd,_0x10fec1,_0x3d8cdc,_0x47e5ca;const _0x5d6443=_0x40757e['target'][core_1['REQUEST_OBJ_CTX_KEY']],_0x13e87f=Object[_0x1442b4(0xfe)]({},((_0x266c75=_0x5d6443===null||_0x5d6443===void 0x0?void 0x0:_0x5d6443[_0x1442b4(0xfc)])===null||_0x266c75===void 0x0?void 0x0:_0x266c75[_0x1442b4(0x108)])||{},((_0x5b9bc8=_0x5d6443===null||_0x5d6443===void 0x0?void 0x0:_0x5d6443['request'])===null||_0x5b9bc8===void 0x0?void 0x0:_0x5b9bc8[_0x1442b4(0x122)])||{}),_0x4fac51=((0x0,core_2[_0x1442b4(0x110)])(interface_1['VALIDATOR_KEY'],_0x40757e['target'])||[])[_0x1442b4(0x103)](_0xfe415=>_0xfe415[_0x1442b4(0xfb)]==_0x40757e[_0x1442b4(0xf3)]);!(_0x1d6512===null||_0x1d6512===void 0x0?void 0x0:_0x1d6512[_0x1442b4(0xf5)])&&_0x5d6443&&_0x5d6443[_0x1442b4(0x100)]&&(_0x1d6512[_0x1442b4(0xf5)]=_0x5d6443[_0x1442b4(0x100)](i18n_1[_0x1442b4(0x106)]));for(let _0xfd9359=0x0;_0xfd9359<_0x3ad483[_0x1442b4(0xec)];_0xfd9359++){const _0x23236d=_0x3ad483[_0xfd9359],_0x218d98=this[_0x1442b4(0xee)][_0x1442b4(0xf6)](_0x23236d);if(_0x218d98){if(typeof _0x40757e[_0x1442b4(0x105)][_0xfd9359]==_0x1442b4(0x102)||((_0x5a7217=_0x40757e['args'][_0xfd9359])===null||_0x5a7217===void 0x0?void 0x0:_0x5a7217[_0x1442b4(0xfc)])&&((_0x58e1ff=_0x40757e[_0x1442b4(0x105)][_0xfd9359])===null||_0x58e1ff===void 0x0?void 0x0:_0x58e1ff[_0x1442b4(0x126)])&&((_0xbd98fb=_0x40757e[_0x1442b4(0x105)][_0xfd9359])===null||_0xbd98fb===void 0x0?void 0x0:_0xbd98fb['req']))_0x40757e['args'][_0xfd9359]=_0x13e87f;else((_0x254e9e=_0x40757e[_0x1442b4(0x105)][_0xfd9359])===null||_0x254e9e===void 0x0?void 0x0:_0x254e9e[_0x1442b4(0x123)])==_0x1442b4(0x10e)&&_0x40757e[_0x1442b4(0x105)][_0x1442b4(0xf7)](_0xfd9359,0x0,_0x13e87f);const _0x42c7d7=this[_0x1442b4(0xee)][_0x1442b4(0x11c)](_0x218d98,_0x40757e['args'][_0xfd9359],_0x1d6512);_0x42c7d7&&(_0x40757e['args'][_0xfd9359]=_0x42c7d7);}else{if((_0x4fac51===null||_0x4fac51===void 0x0?void 0x0:_0x4fac51['methodArgs'][_0xfd9359])&&((_0x1496b6=_0x40757e[_0x1442b4(0x105)][_0xfd9359])===null||_0x1496b6===void 0x0?void 0x0:_0x1496b6[_0x1442b4(0xf0)])&&typeof _0x40757e['args'][_0xfd9359][_0x1442b4(0x114)]==_0x1442b4(0x120)&&((_0x58434d=_0x5d6443===null||_0x5d6443===void 0x0?void 0x0:_0x5d6443[_0x1442b4(0xf0)])===null||_0x58434d===void 0x0?void 0x0:_0x58434d[_0x4fac51[_0x1442b4(0xfa)][_0xfd9359]]))_0x40757e[_0x1442b4(0x105)][_0xfd9359]=_0x23236d((_0x486de4=_0x5d6443===null||_0x5d6443===void 0x0?void 0x0:_0x5d6443[_0x1442b4(0xf0)])===null||_0x486de4===void 0x0?void 0x0:_0x486de4[_0x4fac51[_0x1442b4(0xfa)][_0xfd9359]]);else(_0x4fac51===null||_0x4fac51===void 0x0?void 0x0:_0x4fac51['methodArgs'][_0xfd9359])&&((_0x10fec1=(_0x5f05cd=_0x40757e['args'][_0xfd9359])===null||_0x5f05cd===void 0x0?void 0x0:_0x5f05cd[_0x1442b4(0xf0)])===null||_0x10fec1===void 0x0?void 0x0:_0x10fec1[_0x4fac51['methodArgs'][_0xfd9359]])&&(_0x40757e[_0x1442b4(0x105)][_0xfd9359]=(_0x47e5ca=(_0x3d8cdc=_0x40757e['args'][_0xfd9359])===null||_0x3d8cdc===void 0x0?void 0x0:_0x3d8cdc[_0x1442b4(0xf0)])===null||_0x47e5ca===void 0x0?void 0x0:_0x47e5ca[_0x4fac51['methodArgs'][_0xfd9359]]);}}},'afterThrow':(_0x2a6ae8,_0x5674b3)=>{throw _0x5674b3;}};});}};exports[a1_0x1adf5a(0x107)]=CustomConfiguration,__decorate([(0x0,core_2['Inject'])(),__metadata(a1_0x1adf5a(0x112),core_1[a1_0x1adf5a(0x101)])],CustomConfiguration['prototype'],a1_0x1adf5a(0xf1),void 0x0),__decorate([(0x0,core_2[a1_0x1adf5a(0xf9)])(),__metadata(a1_0x1adf5a(0x112),ValidatorService_1[a1_0x1adf5a(0xee)])],CustomConfiguration[a1_0x1adf5a(0xed)],'ValidatorService',void 0x0),exports['CustomConfiguration']=CustomConfiguration=__decorate([(0x0,core_2[a1_0x1adf5a(0x10c)])({'conflictCheck':![],'imports':[i18n,anncic],'namespace':'anncic-api:validator','importConfigs':[{'default':ConfigDefault}]})],CustomConfiguration);
@@ -1 +1 @@
1
- const a2_0xb1c4f7=a2_0x4cc8;function a2_0x4cc8(_0x3fbea7,_0x3c6550){const _0x2b4c2f=a2_0x4463();return a2_0x4cc8=function(_0x3a456b,_0x72efd2){_0x3a456b=_0x3a456b-0xc1;let _0x44634b=_0x2b4c2f[_0x3a456b];return _0x44634b;},a2_0x4cc8(_0x3fbea7,_0x3c6550);}(function(_0x557f23,_0x1b1e59){const _0x318348=a2_0x4cc8,_0x28f8f1=_0x557f23();while(!![]){try{const _0x627004=-parseInt(_0x318348(0xe1))/0x1*(-parseInt(_0x318348(0xd9))/0x2)+-parseInt(_0x318348(0xe4))/0x3*(parseInt(_0x318348(0xca))/0x4)+parseInt(_0x318348(0xc3))/0x5+parseInt(_0x318348(0xd4))/0x6*(-parseInt(_0x318348(0xd7))/0x7)+parseInt(_0x318348(0xd1))/0x8+-parseInt(_0x318348(0xe0))/0x9+parseInt(_0x318348(0xcb))/0xa;if(_0x627004===_0x1b1e59)break;else _0x28f8f1['push'](_0x28f8f1['shift']());}catch(_0xc30a29){_0x28f8f1['push'](_0x28f8f1['shift']());}}}(a2_0x4463,0xdb2fb));const a2_0x72efd2=(function(){let _0x49a602=!![];return function(_0xd4fcd7,_0x543c5){const _0x5f345b=_0x49a602?function(){const _0x326527=a2_0x4cc8;if(_0x543c5){const _0x216ec0=_0x543c5[_0x326527(0xd8)](_0xd4fcd7,arguments);return _0x543c5=null,_0x216ec0;}}:function(){};return _0x49a602=![],_0x5f345b;};}()),a2_0x3a456b=a2_0x72efd2(this,function(){const _0x3577bf=a2_0x4cc8;return a2_0x3a456b[_0x3577bf(0xcf)]()[_0x3577bf(0xda)](_0x3577bf(0xe7))[_0x3577bf(0xcf)]()[_0x3577bf(0xc5)](a2_0x3a456b)[_0x3577bf(0xda)](_0x3577bf(0xe7));});a2_0x3a456b();function a2_0x4463(){const _0xef006=['isSchema','defineProperty','attachClassMetadata','toString','saveClassMetadata','7680920lxvgua','Array','getClassMetadata','53166MnAgtg','keys','name','952iwJwyw','apply','1219298eIPijv','search','description','object','function','array','joi','6798195Irfttj','1EAmMaY','extend','../interface','3507597vWkYqh','items','getPropertyType','(((.+)+)+)+$','Rule','RULES_KEY','RuleType','8956170TfawJP','label','constructor','@joi/date','__esModule','map','meta','4dRDqgj','6664390nRQiGH'];a2_0x4463=function(){return _0xef006;};return a2_0x4463();}'use strict';Object[a2_0xb1c4f7(0xcd)](exports,a2_0xb1c4f7(0xc7),{'value':!![]}),exports[a2_0xb1c4f7(0xe8)]=exports[a2_0xb1c4f7(0xc2)]=void 0x0;const joi=require(a2_0xb1c4f7(0xdf)),date_1=require(a2_0xb1c4f7(0xc6)),core_1=require('@midwayjs/core'),interface_1=require(a2_0xb1c4f7(0xe3));exports[a2_0xb1c4f7(0xc2)]=joi[a2_0xb1c4f7(0xe2)](date_1['default']);function Rule(_0x2941d2,_0x4ac6d3,_0xb24ed0=''){return(_0x1edebc,_0x3c7a6b)=>{const _0x37ce63=a2_0x4cc8;var _0xc4c30a;if(_0x3c7a6b)!joi[_0x37ce63(0xcc)](_0x4ac6d3)&&(_0x4ac6d3===null||_0x4ac6d3===void 0x0?void 0x0:_0x4ac6d3[_0x37ce63(0xd6)])&&(_0x4ac6d3=joi[_0x37ce63(0xdc)]((0x0,core_1[_0x37ce63(0xd3)])(interface_1[_0x37ce63(0xc1)],_0x4ac6d3))[_0x37ce63(0xc9)]({'id':_0x4ac6d3[_0x37ce63(0xd6)]}),(0x0,core_1[_0x37ce63(0xe6)])(_0x1edebc,_0x3c7a6b)[_0x37ce63(0xd6)]===_0x37ce63(0xd2)&&(_0x4ac6d3=joi[_0x37ce63(0xde)]()[_0x37ce63(0xe5)](_0x4ac6d3))),joi[_0x37ce63(0xcc)](_0x4ac6d3)&&(_0x2941d2&&typeof(_0x4ac6d3===null||_0x4ac6d3===void 0x0?void 0x0:_0x4ac6d3[_0x37ce63(0xc4)])==_0x37ce63(0xdd)&&(_0x4ac6d3=_0x4ac6d3['label'](_0x2941d2)),_0xb24ed0&&typeof(_0x4ac6d3===null||_0x4ac6d3===void 0x0?void 0x0:_0x4ac6d3[_0x37ce63(0xdb)])==_0x37ce63(0xdd)&&(_0x4ac6d3=_0x4ac6d3[_0x37ce63(0xdb)](_0xb24ed0)),(0x0,core_1[_0x37ce63(0xce)])(interface_1[_0x37ce63(0xc1)],_0x4ac6d3,_0x1edebc,_0x3c7a6b));else{const _0x342cee=(0x0,core_1[_0x37ce63(0xd3)])(interface_1[_0x37ce63(0xc1)],_0x4ac6d3);if(_0x342cee){let _0xf922b9=(_0xc4c30a=(0x0,core_1['getClassMetadata'])(interface_1[_0x37ce63(0xc1)],_0x1edebc))!==null&&_0xc4c30a!==void 0x0?_0xc4c30a:{};Object[_0x37ce63(0xd5)](_0x342cee)[_0x37ce63(0xc8)](_0x5f4dca=>{!_0xf922b9[_0x5f4dca]&&(_0xf922b9[_0x5f4dca]=_0x342cee[_0x5f4dca]);}),(0x0,core_1[_0x37ce63(0xd0)])(interface_1[_0x37ce63(0xc1)],_0xf922b9,_0x1edebc);}}};}exports['Rule']=Rule;
1
+ const a2_0x5c4d90=a2_0x1b10;(function(_0x3e0ac7,_0x22884f){const _0xc1651b=a2_0x1b10,_0x309486=_0x3e0ac7();while(!![]){try{const _0x102a54=parseInt(_0xc1651b(0xa4))/0x1+parseInt(_0xc1651b(0x9f))/0x2+parseInt(_0xc1651b(0x8b))/0x3+parseInt(_0xc1651b(0x89))/0x4*(-parseInt(_0xc1651b(0x95))/0x5)+-parseInt(_0xc1651b(0xa6))/0x6+-parseInt(_0xc1651b(0x87))/0x7+parseInt(_0xc1651b(0x84))/0x8*(parseInt(_0xc1651b(0x88))/0x9);if(_0x102a54===_0x22884f)break;else _0x309486['push'](_0x309486['shift']());}catch(_0x39b09e){_0x309486['push'](_0x309486['shift']());}}}(a2_0x255a,0xdf397));const a2_0x1f5500=(function(){let _0x1e849d=!![];return function(_0x43adae,_0x28f9ef){const _0x256e50=_0x1e849d?function(){const _0x5dcf3b=a2_0x1b10;if(_0x28f9ef){const _0x1b362a=_0x28f9ef[_0x5dcf3b(0xa3)](_0x43adae,arguments);return _0x28f9ef=null,_0x1b362a;}}:function(){};return _0x1e849d=![],_0x256e50;};}()),a2_0x3d6db9=a2_0x1f5500(this,function(){const _0x1367a7=a2_0x1b10;return a2_0x3d6db9['toString']()[_0x1367a7(0x94)](_0x1367a7(0x8e))[_0x1367a7(0x92)]()[_0x1367a7(0x9d)](a2_0x3d6db9)[_0x1367a7(0x94)](_0x1367a7(0x8e));});a2_0x3d6db9();function a2_0x1b10(_0x18778d,_0x197b44){const _0x181fbd=a2_0x255a();return a2_0x1b10=function(_0x3d6db9,_0x1f5500){_0x3d6db9=_0x3d6db9-0x81;let _0x255af0=_0x181fbd[_0x3d6db9];return _0x255af0;},a2_0x1b10(_0x18778d,_0x197b44);}'use strict';Object[a2_0x5c4d90(0x8d)](exports,a2_0x5c4d90(0x81),{'value':!![]}),exports['Rule']=exports[a2_0x5c4d90(0x90)]=void 0x0;const joi=require(a2_0x5c4d90(0x93)),date_1=require(a2_0x5c4d90(0x98)),core_1=require(a2_0x5c4d90(0xa1)),interface_1=require('../interface');function a2_0x255a(){const _0xb7a7cc=['RULES_KEY','@joi/date','isSchema','meta','extend','name','constructor','Rule','1984468GUogdb','Array','@midwayjs/core','getPropertyType','apply','395297EtwqZU','array','7381524VAVfAw','__esModule','map','attachClassMetadata','5732656OOvMAV','getClassMetadata','description','6420190bDKuax','18PYlteH','460540ZcCSDZ','items','4522623rKtliB','keys','defineProperty','(((.+)+)+)+$','label','RuleType','saveClassMetadata','toString','joi','search','55AMCaHA','object'];a2_0x255a=function(){return _0xb7a7cc;};return a2_0x255a();}exports[a2_0x5c4d90(0x90)]=joi[a2_0x5c4d90(0x9b)](date_1['default']);function Rule(_0x57bffc,_0x201390,_0x941111=''){return(_0x2f0b7f,_0x51f588)=>{const _0x277f0a=a2_0x1b10;var _0x3650fa;if(_0x51f588)!joi[_0x277f0a(0x99)](_0x201390)&&(_0x201390===null||_0x201390===void 0x0?void 0x0:_0x201390[_0x277f0a(0x9c)])&&(_0x201390=joi[_0x277f0a(0x96)]((0x0,core_1['getClassMetadata'])(interface_1[_0x277f0a(0x97)],_0x201390))[_0x277f0a(0x9a)]({'id':_0x201390[_0x277f0a(0x9c)]}),(0x0,core_1[_0x277f0a(0xa2)])(_0x2f0b7f,_0x51f588)['name']===_0x277f0a(0xa0)&&(_0x201390=joi[_0x277f0a(0xa5)]()[_0x277f0a(0x8a)](_0x201390))),joi[_0x277f0a(0x99)](_0x201390)&&(_0x57bffc&&typeof(_0x201390===null||_0x201390===void 0x0?void 0x0:_0x201390['label'])=='function'&&(_0x201390=_0x201390[_0x277f0a(0x8f)](_0x57bffc)),_0x941111&&typeof(_0x201390===null||_0x201390===void 0x0?void 0x0:_0x201390[_0x277f0a(0x86)])=='function'&&(_0x201390=_0x201390['description'](_0x941111)),(0x0,core_1[_0x277f0a(0x83)])(interface_1['RULES_KEY'],_0x201390,_0x2f0b7f,_0x51f588));else{const _0x22e8d7=(0x0,core_1[_0x277f0a(0x85)])(interface_1[_0x277f0a(0x97)],_0x201390);if(_0x22e8d7){let _0x98be95=(_0x3650fa=(0x0,core_1[_0x277f0a(0x85)])(interface_1[_0x277f0a(0x97)],_0x2f0b7f))!==null&&_0x3650fa!==void 0x0?_0x3650fa:{};Object[_0x277f0a(0x8c)](_0x22e8d7)[_0x277f0a(0x82)](_0x37ddda=>{!_0x98be95[_0x37ddda]&&(_0x98be95[_0x37ddda]=_0x22e8d7[_0x37ddda]);}),(0x0,core_1[_0x277f0a(0x91)])(interface_1['RULES_KEY'],_0x98be95,_0x2f0b7f);}}};}exports[a2_0x5c4d90(0x9e)]=Rule;
@@ -1 +1 @@
1
- const a3_0x589638=a3_0x5e98;(function(_0x403b77,_0x274c8b){const _0x246f29=a3_0x5e98,_0x4bc2e2=_0x403b77();while(!![]){try{const _0x1a52a9=parseInt(_0x246f29(0x18c))/0x1+-parseInt(_0x246f29(0x180))/0x2*(-parseInt(_0x246f29(0x188))/0x3)+-parseInt(_0x246f29(0x190))/0x4+parseInt(_0x246f29(0x17d))/0x5+parseInt(_0x246f29(0x18d))/0x6*(parseInt(_0x246f29(0x18f))/0x7)+-parseInt(_0x246f29(0x18a))/0x8*(parseInt(_0x246f29(0x189))/0x9)+parseInt(_0x246f29(0x179))/0xa;if(_0x1a52a9===_0x274c8b)break;else _0x4bc2e2['push'](_0x4bc2e2['shift']());}catch(_0x556655){_0x4bc2e2['push'](_0x4bc2e2['shift']());}}}(a3_0x3ab7,0x683b4));const a3_0x482cd1=(function(){let _0x130562=!![];return function(_0x1da030,_0x116205){const _0x131cdb=_0x130562?function(){const _0x48c628=a3_0x5e98;if(_0x116205){const _0x237240=_0x116205[_0x48c628(0x186)](_0x1da030,arguments);return _0x116205=null,_0x237240;}}:function(){};return _0x130562=![],_0x131cdb;};}()),a3_0x3609ac=a3_0x482cd1(this,function(){const _0x4ac59b=a3_0x5e98;return a3_0x3609ac['toString']()['search'](_0x4ac59b(0x18e))[_0x4ac59b(0x17c)]()[_0x4ac59b(0x181)](a3_0x3609ac)[_0x4ac59b(0x187)](_0x4ac59b(0x18e));});function a3_0x3ab7(){const _0x4f3114=['9EhcFze','5294824pGNnTv','@midwayjs/core','29411tbFTme','30jjuqPr','(((.+)+)+)+$','740915RZuifI','1622184FnOrQs','defineProperty','match','3575230gjgZfr','createCustomMethodDecorator','../interface','toString','598575szVwCu','Validator','prototype','2XeHTQe','constructor','VALIDATOR_KEY','function','getFuncArgs','replace','apply','search','1375371LkuWRP'];a3_0x3ab7=function(){return _0x4f3114;};return a3_0x3ab7();}a3_0x3609ac();function a3_0x5e98(_0x55da9a,_0x4a90c7){const _0x9bacf7=a3_0x3ab7();return a3_0x5e98=function(_0x3609ac,_0x482cd1){_0x3609ac=_0x3609ac-0x177;let _0x3ab753=_0x9bacf7[_0x3609ac];return _0x3ab753;},a3_0x5e98(_0x55da9a,_0x4a90c7);}'use strict';Object[a3_0x589638(0x177)](exports,'__esModule',{'value':!![]}),exports[a3_0x589638(0x184)]=exports['Validator']=void 0x0;const core_1=require(a3_0x589638(0x18b)),interface_1=require(a3_0x589638(0x17b));function Validator(_0x103fab={}){return(_0x2c8026,_0x1d3282,_0x424379)=>{const _0x14e67e=a3_0x5e98,_0x487af3=getFuncArgs(_0x2c8026[_0x1d3282]);(0x0,core_1['attachClassMetadata'])(interface_1[_0x14e67e(0x182)],{'method':_0x1d3282,'methodArgs':_0x487af3},_0x2c8026),(0x0,core_1[_0x14e67e(0x17a)])(interface_1[_0x14e67e(0x182)],_0x103fab)(_0x2c8026,_0x1d3282,_0x424379);};}exports[a3_0x589638(0x17e)]=Validator;function getFuncArgs(_0x2c651e){const _0x474306=a3_0x589638;if(typeof _0x2c651e==_0x474306(0x183)){const _0x292c02=/=>.*$/mg,_0x1e1314=/=[^,)]+/mg,_0x3056ae=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/mg,_0xf851f9=(_0x2c651e[_0x474306(0x17f)]?_0x2c651e[_0x474306(0x17f)][_0x474306(0x181)][_0x474306(0x17c)]():_0x2c651e[_0x474306(0x17c)]())[_0x474306(0x185)](_0x3056ae,'')['replace'](_0x292c02,'')['replace'](_0x1e1314,''),_0x3525d1=_0xf851f9['slice'](_0xf851f9['indexOf']('(')+0x1,_0xf851f9['indexOf'](')'))[_0x474306(0x178)](/([^\s,]+)/g)||[];return _0x3525d1;}}exports[a3_0x589638(0x184)]=getFuncArgs;
1
+ const a3_0x350822=a3_0x25d0;(function(_0x4779a3,_0x511146){const _0x118308=a3_0x25d0,_0x3332d3=_0x4779a3();while(!![]){try{const _0x5c2b02=-parseInt(_0x118308(0x1cd))/0x1*(parseInt(_0x118308(0x1d3))/0x2)+-parseInt(_0x118308(0x1d8))/0x3*(parseInt(_0x118308(0x1d5))/0x4)+parseInt(_0x118308(0x1c8))/0x5*(-parseInt(_0x118308(0x1db))/0x6)+parseInt(_0x118308(0x1d0))/0x7*(-parseInt(_0x118308(0x1c5))/0x8)+parseInt(_0x118308(0x1d7))/0x9+-parseInt(_0x118308(0x1da))/0xa+parseInt(_0x118308(0x1d2))/0xb;if(_0x5c2b02===_0x511146)break;else _0x3332d3['push'](_0x3332d3['shift']());}catch(_0x1d4fc7){_0x3332d3['push'](_0x3332d3['shift']());}}}(a3_0x1a8b,0x603b1));const a3_0x53dcc3=(function(){let _0x17ce6c=!![];return function(_0x250a99,_0x2b8744){const _0x3f2c03=_0x17ce6c?function(){if(_0x2b8744){const _0x4baadc=_0x2b8744['apply'](_0x250a99,arguments);return _0x2b8744=null,_0x4baadc;}}:function(){};return _0x17ce6c=![],_0x3f2c03;};}()),a3_0x5246b7=a3_0x53dcc3(this,function(){const _0x26e4d1=a3_0x25d0;return a3_0x5246b7['toString']()[_0x26e4d1(0x1d6)](_0x26e4d1(0x1c7))[_0x26e4d1(0x1c3)]()[_0x26e4d1(0x1d1)](a3_0x5246b7)['search'](_0x26e4d1(0x1c7));});function a3_0x25d0(_0x211bef,_0x3fb851){const _0x9b78d4=a3_0x1a8b();return a3_0x25d0=function(_0x5246b7,_0x53dcc3){_0x5246b7=_0x5246b7-0x1c2;let _0x1a8b19=_0x9b78d4[_0x5246b7];return _0x1a8b19;},a3_0x25d0(_0x211bef,_0x3fb851);}a3_0x5246b7();'use strict';Object['defineProperty'](exports,a3_0x350822(0x1ce),{'value':!![]}),exports['getFuncArgs']=exports[a3_0x350822(0x1d9)]=void 0x0;const core_1=require(a3_0x350822(0x1d4)),interface_1=require('../interface');function a3_0x1a8b(){const _0x436002=['search','6763158viaGiE','23553shnBDI','Validator','2310790ebxnIh','4601442knxmWS','attachClassMetadata','toString','VALIDATOR_KEY','163552IjYTIi','getFuncArgs','(((.+)+)+)+$','5kvuKIO','replace','match','createCustomMethodDecorator','indexOf','19542wluMOG','__esModule','prototype','154UssUSb','constructor','12941192fUGYLj','8ydkfEM','@midwayjs/core','4eikhoG'];a3_0x1a8b=function(){return _0x436002;};return a3_0x1a8b();}function Validator(_0x516092={}){return(_0x2bd3e8,_0x83da99,_0x3d23d3)=>{const _0x2eb2d5=a3_0x25d0,_0x1a1f4f=getFuncArgs(_0x2bd3e8[_0x83da99]);(0x0,core_1[_0x2eb2d5(0x1c2)])(interface_1[_0x2eb2d5(0x1c4)],{'method':_0x83da99,'methodArgs':_0x1a1f4f},_0x2bd3e8),(0x0,core_1[_0x2eb2d5(0x1cb)])(interface_1[_0x2eb2d5(0x1c4)],_0x516092)(_0x2bd3e8,_0x83da99,_0x3d23d3);};}exports[a3_0x350822(0x1d9)]=Validator;function getFuncArgs(_0x194ddc){const _0x4d2ff3=a3_0x350822;if(typeof _0x194ddc=='function'){const _0x4f8053=/=>.*$/mg,_0x1c9648=/=[^,)]+/mg,_0x4dfc34=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/mg,_0x5087b8=(_0x194ddc['prototype']?_0x194ddc[_0x4d2ff3(0x1cf)]['constructor']['toString']():_0x194ddc[_0x4d2ff3(0x1c3)]())[_0x4d2ff3(0x1c9)](_0x4dfc34,'')[_0x4d2ff3(0x1c9)](_0x4f8053,'')[_0x4d2ff3(0x1c9)](_0x1c9648,''),_0x10dfbd=_0x5087b8['slice'](_0x5087b8[_0x4d2ff3(0x1cc)]('(')+0x1,_0x5087b8[_0x4d2ff3(0x1cc)](')'))[_0x4d2ff3(0x1ca)](/([^\s,]+)/g)||[];return _0x10dfbd;}}exports[a3_0x350822(0x1c6)]=getFuncArgs;
@@ -1 +1 @@
1
- var a4_0xc74338=a4_0x6d82;(function(_0x24d445,_0x4e5664){var _0x57fe9d=a4_0x6d82,_0x27e5f4=_0x24d445();while(!![]){try{var _0x4bef0d=-parseInt(_0x57fe9d(0x7a))/0x1+parseInt(_0x57fe9d(0x71))/0x2*(-parseInt(_0x57fe9d(0x7d))/0x3)+-parseInt(_0x57fe9d(0x75))/0x4*(-parseInt(_0x57fe9d(0x70))/0x5)+-parseInt(_0x57fe9d(0x78))/0x6+parseInt(_0x57fe9d(0x7c))/0x7+-parseInt(_0x57fe9d(0x88))/0x8*(parseInt(_0x57fe9d(0x73))/0x9)+parseInt(_0x57fe9d(0x85))/0xa*(parseInt(_0x57fe9d(0x80))/0xb);if(_0x4bef0d===_0x4e5664)break;else _0x27e5f4['push'](_0x27e5f4['shift']());}catch(_0x2efef6){_0x27e5f4['push'](_0x27e5f4['shift']());}}}(a4_0xbc93,0x85041));var a4_0x44eb66=(function(){var _0x44cecd=!![];return function(_0x34f834,_0x518a76){var _0x4bd9ea=_0x44cecd?function(){var _0x4d38fc=a4_0x6d82;if(_0x518a76){var _0x5b036d=_0x518a76[_0x4d38fc(0x77)](_0x34f834,arguments);return _0x518a76=null,_0x5b036d;}}:function(){};return _0x44cecd=![],_0x4bd9ea;};}()),a4_0x208085=a4_0x44eb66(this,function(){var _0x137a1a=a4_0x6d82;return a4_0x208085['toString']()[_0x137a1a(0x7f)](_0x137a1a(0x89))[_0x137a1a(0x7e)]()[_0x137a1a(0x74)](a4_0x208085)[_0x137a1a(0x7f)]('(((.+)+)+)+$');});a4_0x208085();'use strict';var __decorate=this&&this[a4_0xc74338(0x79)]||function(_0x307e99,_0x5e316f,_0x32b662,_0x2cffdd){var _0x3b565a=a4_0xc74338,_0x44a2d8=arguments[_0x3b565a(0x8e)],_0x2e574c=_0x44a2d8<0x3?_0x5e316f:_0x2cffdd===null?_0x2cffdd=Object[_0x3b565a(0x72)](_0x5e316f,_0x32b662):_0x2cffdd,_0xaf7ea9;if(typeof Reflect==='object'&&typeof Reflect['decorate']===_0x3b565a(0x8d))_0x2e574c=Reflect[_0x3b565a(0x7b)](_0x307e99,_0x5e316f,_0x32b662,_0x2cffdd);else{for(var _0x732028=_0x307e99[_0x3b565a(0x8e)]-0x1;_0x732028>=0x0;_0x732028--)if(_0xaf7ea9=_0x307e99[_0x732028])_0x2e574c=(_0x44a2d8<0x3?_0xaf7ea9(_0x2e574c):_0x44a2d8>0x3?_0xaf7ea9(_0x5e316f,_0x32b662,_0x2e574c):_0xaf7ea9(_0x5e316f,_0x32b662))||_0x2e574c;}return _0x44a2d8>0x3&&_0x2e574c&&Object[_0x3b565a(0x83)](_0x5e316f,_0x32b662,_0x2e574c),_0x2e574c;},__metadata=this&&this[a4_0xc74338(0x6e)]||function(_0x4d2396,_0x5e2db1){var _0x4d7bae=a4_0xc74338;if(typeof Reflect===_0x4d7bae(0x8a)&&typeof Reflect[_0x4d7bae(0x86)]==='function')return Reflect[_0x4d7bae(0x86)](_0x4d2396,_0x5e2db1);};Object[a4_0xc74338(0x83)](exports,a4_0xc74338(0x8c),{'value':!![]}),exports[a4_0xc74338(0x6f)]=void 0x0;const core_1=require(a4_0xc74338(0x81));function a4_0xbc93(){var _0x4d9578=['@anncic-api/core','NOFIND_SCHEMA','defineProperty','PARAMS','13633670xAiNJv','metadata','design:type','8ABYkwR','(((.+)+)+)+$','object','参数验证失败','__esModule','function','length','__metadata','ValidatorError','11055fVgXkA','28kbPJPC','getOwnPropertyDescriptor','5916825dXOTvH','constructor','888ZrVWEU','AnnErrorMsg','apply','49950RqPxwQ','__decorate','290373aFBWqZ','decorate','2197223jnZsOY','142959xyYaEg','toString','search','11yiTEgC'];a4_0xbc93=function(){return _0x4d9578;};return a4_0xbc93();}class ValidatorError extends AnnError{}function a4_0x6d82(_0x159e78,_0x22ee23){var _0x3ebd7d=a4_0xbc93();return a4_0x6d82=function(_0x208085,_0x44eb66){_0x208085=_0x208085-0x6e;var _0xbc9380=_0x3ebd7d[_0x208085];return _0xbc9380;},a4_0x6d82(_0x159e78,_0x22ee23);}exports[a4_0xc74338(0x6f)]=ValidatorError,ValidatorError['PARAMS']=0x18c1e,ValidatorError[a4_0xc74338(0x82)]=0x18c1c,__decorate([(0x0,core_1['AnnErrorMsg'])(a4_0xc74338(0x8b)),__metadata(a4_0xc74338(0x87),Object)],ValidatorError,a4_0xc74338(0x84),void 0x0),__decorate([(0x0,core_1[a4_0xc74338(0x76)])(a4_0xc74338(0x8b)),__metadata(a4_0xc74338(0x87),Object)],ValidatorError,a4_0xc74338(0x82),void 0x0);
1
+ var a4_0x132d2c=a4_0x4c58;function a4_0x4c58(_0x58fc0a,_0x3ad7bc){var _0x175383=a4_0x9bc6();return a4_0x4c58=function(_0x29f7c4,_0x5da718){_0x29f7c4=_0x29f7c4-0x11c;var _0x9bc6cb=_0x175383[_0x29f7c4];return _0x9bc6cb;},a4_0x4c58(_0x58fc0a,_0x3ad7bc);}(function(_0x328bba,_0x44ced9){var _0x2356ce=a4_0x4c58,_0x478546=_0x328bba();while(!![]){try{var _0x1e6e71=-parseInt(_0x2356ce(0x12e))/0x1*(parseInt(_0x2356ce(0x124))/0x2)+-parseInt(_0x2356ce(0x122))/0x3*(-parseInt(_0x2356ce(0x11f))/0x4)+-parseInt(_0x2356ce(0x136))/0x5*(-parseInt(_0x2356ce(0x13f))/0x6)+parseInt(_0x2356ce(0x127))/0x7*(-parseInt(_0x2356ce(0x12d))/0x8)+-parseInt(_0x2356ce(0x13c))/0x9*(parseInt(_0x2356ce(0x126))/0xa)+parseInt(_0x2356ce(0x131))/0xb*(parseInt(_0x2356ce(0x139))/0xc)+parseInt(_0x2356ce(0x138))/0xd*(-parseInt(_0x2356ce(0x130))/0xe);if(_0x1e6e71===_0x44ced9)break;else _0x478546['push'](_0x478546['shift']());}catch(_0x28313b){_0x478546['push'](_0x478546['shift']());}}}(a4_0x9bc6,0xe1f73));var a4_0x5da718=(function(){var _0x3bc1f1=!![];return function(_0x19af69,_0x11269e){var _0x41c1ca=_0x3bc1f1?function(){var _0x4faf4d=a4_0x4c58;if(_0x11269e){var _0x257b08=_0x11269e[_0x4faf4d(0x125)](_0x19af69,arguments);return _0x11269e=null,_0x257b08;}}:function(){};return _0x3bc1f1=![],_0x41c1ca;};}()),a4_0x29f7c4=a4_0x5da718(this,function(){var _0x396fad=a4_0x4c58;return a4_0x29f7c4[_0x396fad(0x13e)]()[_0x396fad(0x121)](_0x396fad(0x13b))[_0x396fad(0x13e)]()[_0x396fad(0x12b)](a4_0x29f7c4)[_0x396fad(0x121)]('(((.+)+)+)+$');});a4_0x29f7c4();'use strict';var __decorate=this&&this[a4_0x132d2c(0x12a)]||function(_0x270cae,_0x3f9032,_0x1b2ab0,_0x10072c){var _0x7db3f0=a4_0x132d2c,_0x309b2b=arguments['length'],_0x5143e4=_0x309b2b<0x3?_0x3f9032:_0x10072c===null?_0x10072c=Object[_0x7db3f0(0x135)](_0x3f9032,_0x1b2ab0):_0x10072c,_0x17c67c;if(typeof Reflect===_0x7db3f0(0x132)&&typeof Reflect[_0x7db3f0(0x120)]===_0x7db3f0(0x11d))_0x5143e4=Reflect[_0x7db3f0(0x120)](_0x270cae,_0x3f9032,_0x1b2ab0,_0x10072c);else{for(var _0x47fd49=_0x270cae[_0x7db3f0(0x11c)]-0x1;_0x47fd49>=0x0;_0x47fd49--)if(_0x17c67c=_0x270cae[_0x47fd49])_0x5143e4=(_0x309b2b<0x3?_0x17c67c(_0x5143e4):_0x309b2b>0x3?_0x17c67c(_0x3f9032,_0x1b2ab0,_0x5143e4):_0x17c67c(_0x3f9032,_0x1b2ab0))||_0x5143e4;}return _0x309b2b>0x3&&_0x5143e4&&Object[_0x7db3f0(0x12c)](_0x3f9032,_0x1b2ab0,_0x5143e4),_0x5143e4;},__metadata=this&&this[a4_0x132d2c(0x133)]||function(_0x25a432,_0x5b855e){var _0x147a21=a4_0x132d2c;if(typeof Reflect===_0x147a21(0x132)&&typeof Reflect[_0x147a21(0x12f)]==='function')return Reflect[_0x147a21(0x12f)](_0x25a432,_0x5b855e);};Object[a4_0x132d2c(0x12c)](exports,a4_0x132d2c(0x11e),{'value':!![]}),exports['ValidatorError']=void 0x0;const core_1=require(a4_0x132d2c(0x123));class ValidatorError extends AnnError{}exports[a4_0x132d2c(0x134)]=ValidatorError,ValidatorError[a4_0x132d2c(0x129)]=0x18c1e,ValidatorError[a4_0x132d2c(0x13a)]=0x18c1c,__decorate([(0x0,core_1[a4_0x132d2c(0x137)])(a4_0x132d2c(0x128)),__metadata('design:type',Object)],ValidatorError,a4_0x132d2c(0x129),void 0x0),__decorate([(0x0,core_1[a4_0x132d2c(0x137)])(a4_0x132d2c(0x128)),__metadata(a4_0x132d2c(0x13d),Object)],ValidatorError,a4_0x132d2c(0x13a),void 0x0);function a4_0x9bc6(){var _0x3f06d5=['function','__esModule','1210200kZotZd','decorate','search','18dFAvJe','@anncic-api/core','272962Cahken','apply','310jPWEKI','14MvEPMo','参数验证失败','PARAMS','__decorate','constructor','defineProperty','5706648KykbaT','1vhoXjc','metadata','112QAqmyt','11NCxQAv','object','__metadata','ValidatorError','getOwnPropertyDescriptor','645AJslXa','AnnErrorMsg','1518257hgyiJj','20045904QowRrQ','NOFIND_SCHEMA','(((.+)+)+)+$','262449aFWkTQ','design:type','toString','39126fxKVKs','length'];a4_0x9bc6=function(){return _0x3f06d5;};return a4_0x9bc6();}
@@ -1 +1 @@
1
- const a5_0x1faac4=a5_0x5019;(function(_0x389d95,_0x18aa11){const _0x63d3cf=a5_0x5019,_0x5a80cd=_0x389d95();while(!![]){try{const _0x3cb63d=parseInt(_0x63d3cf(0x206))/0x1*(-parseInt(_0x63d3cf(0x1f8))/0x2)+-parseInt(_0x63d3cf(0x1f5))/0x3*(-parseInt(_0x63d3cf(0x203))/0x4)+parseInt(_0x63d3cf(0x1f3))/0x5*(-parseInt(_0x63d3cf(0x1f1))/0x6)+-parseInt(_0x63d3cf(0x1fb))/0x7+parseInt(_0x63d3cf(0x1f4))/0x8*(parseInt(_0x63d3cf(0x1f6))/0x9)+parseInt(_0x63d3cf(0x1f2))/0xa+parseInt(_0x63d3cf(0x201))/0xb*(parseInt(_0x63d3cf(0x1ff))/0xc);if(_0x3cb63d===_0x18aa11)break;else _0x5a80cd['push'](_0x5a80cd['shift']());}catch(_0x34890a){_0x5a80cd['push'](_0x5a80cd['shift']());}}}(a5_0x4929,0x95211));function a5_0x5019(_0x24ab29,_0x2d963e){const _0x306ff3=a5_0x4929();return a5_0x5019=function(_0x29f8d0,_0x5aa090){_0x29f8d0=_0x29f8d0-0x1f0;let _0x49296a=_0x306ff3[_0x29f8d0];return _0x49296a;},a5_0x5019(_0x24ab29,_0x2d963e);}const a5_0x5aa090=(function(){let _0x321495=!![];return function(_0x1984c4,_0x13cef2){const _0x11719f=_0x321495?function(){const _0x1ce36b=a5_0x5019;if(_0x13cef2){const _0x54990b=_0x13cef2[_0x1ce36b(0x1fd)](_0x1984c4,arguments);return _0x13cef2=null,_0x54990b;}}:function(){};return _0x321495=![],_0x11719f;};}()),a5_0x29f8d0=a5_0x5aa090(this,function(){const _0x44fffb=a5_0x5019;return a5_0x29f8d0[_0x44fffb(0x204)]()[_0x44fffb(0x1fc)](_0x44fffb(0x200))[_0x44fffb(0x204)]()['constructor'](a5_0x29f8d0)[_0x44fffb(0x1fc)](_0x44fffb(0x200));});a5_0x29f8d0();'use strict';function a5_0x4929(){const _0xf50b05=['12010260BFeAzG','3685870UgBjrb','16uKbECM','3LqAaci','1153674KPxFsk','saveClassMetadata','120qxqEuN','RULES_KEY','prototype','6129858LevYBR','search','apply','__esModule','5869128NaiZzv','(((.+)+)+)+$','11PoZTQB','PickDto','1661556ebQXMw','toString','OmitDto','2303rWuaVi','getClassExtendedMetadata','6jbgAYP'];a5_0x4929=function(){return _0xf50b05;};return a5_0x4929();}Object['defineProperty'](exports,a5_0x1faac4(0x1fe),{'value':!![]}),exports[a5_0x1faac4(0x205)]=exports[a5_0x1faac4(0x202)]=void 0x0;const core_1=require('@midwayjs/core'),interface_1=require('../interface');function PickDto(_0x307fc6,_0x2470bd){const _0x5364ed=a5_0x1faac4,_0x4f9dec=function(){};_0x4f9dec[_0x5364ed(0x1fa)]=_0x307fc6[_0x5364ed(0x1fa)];const _0x42f554=(0x0,core_1[_0x5364ed(0x1f0)])(interface_1[_0x5364ed(0x1f9)],_0x307fc6),_0x396f9d={};for(const _0xf731ac of _0x2470bd){_0x42f554[_0xf731ac]&&(_0x396f9d[_0xf731ac]=_0x42f554[_0xf731ac]);}return(0x0,core_1[_0x5364ed(0x1f7)])(interface_1['RULES_KEY'],_0x396f9d,_0x4f9dec),_0x4f9dec;}exports[a5_0x1faac4(0x202)]=PickDto;function OmitDto(_0x4f6e49,_0xf7774){const _0x4b8660=a5_0x1faac4,_0x41f2a5=function(){};_0x41f2a5[_0x4b8660(0x1fa)]=_0x4f6e49['prototype'];const _0x10fce9=(0x0,core_1[_0x4b8660(0x1f0)])(interface_1[_0x4b8660(0x1f9)],_0x4f6e49),_0x5eee0d=Object['assign']({},_0x10fce9);for(const _0x1fbcfa of _0xf7774){delete _0x5eee0d[_0x1fbcfa];}return(0x0,core_1['saveClassMetadata'])(interface_1[_0x4b8660(0x1f9)],_0x5eee0d,_0x41f2a5),_0x41f2a5;}exports[a5_0x1faac4(0x205)]=OmitDto;
1
+ const a5_0x5419ab=a5_0xc106;function a5_0xc106(_0x5ed180,_0x18c9c7){const _0x8367c7=a5_0x449e();return a5_0xc106=function(_0x429830,_0x4bd99a){_0x429830=_0x429830-0xea;let _0x449e30=_0x8367c7[_0x429830];return _0x449e30;},a5_0xc106(_0x5ed180,_0x18c9c7);}function a5_0x449e(){const _0x298e49=['393888ZGWbse','610765hDDgRG','171724RaKvUz','159774ZGTegu','PickDto','apply','getClassExtendedMetadata','assign','saveClassMetadata','3470KgxMLa','search','../interface','toString','22041rZJzVZ','prototype','64Swgfrs','(((.+)+)+)+$','13468ZXCZsl','15xVGPnm','RULES_KEY','77898CbXLFC','@midwayjs/core','__esModule','OmitDto'];a5_0x449e=function(){return _0x298e49;};return a5_0x449e();}(function(_0x5353cf,_0x1e90ff){const _0xcdcd10=a5_0xc106,_0x24b0d5=_0x5353cf();while(!![]){try{const _0x47b271=-parseInt(_0xcdcd10(0xf7))/0x1+-parseInt(_0xcdcd10(0xf4))/0x2+parseInt(_0xcdcd10(0xee))/0x3*(-parseInt(_0xcdcd10(0xf6))/0x4)+-parseInt(_0xcdcd10(0xf5))/0x5+-parseInt(_0xcdcd10(0xf0))/0x6+parseInt(_0xcdcd10(0xed))/0x7*(parseInt(_0xcdcd10(0xeb))/0x8)+parseInt(_0xcdcd10(0x101))/0x9*(parseInt(_0xcdcd10(0xfd))/0xa);if(_0x47b271===_0x1e90ff)break;else _0x24b0d5['push'](_0x24b0d5['shift']());}catch(_0x43edc6){_0x24b0d5['push'](_0x24b0d5['shift']());}}}(a5_0x449e,0x26bde));const a5_0x4bd99a=(function(){let _0x30dd97=!![];return function(_0x4f5636,_0x8ba62a){const _0x66c348=_0x30dd97?function(){const _0x200476=a5_0xc106;if(_0x8ba62a){const _0x31c79b=_0x8ba62a[_0x200476(0xf9)](_0x4f5636,arguments);return _0x8ba62a=null,_0x31c79b;}}:function(){};return _0x30dd97=![],_0x66c348;};}()),a5_0x429830=a5_0x4bd99a(this,function(){const _0x3c46ee=a5_0xc106;return a5_0x429830[_0x3c46ee(0x100)]()[_0x3c46ee(0xfe)]('(((.+)+)+)+$')[_0x3c46ee(0x100)]()['constructor'](a5_0x429830)[_0x3c46ee(0xfe)](_0x3c46ee(0xec));});a5_0x429830();'use strict';Object['defineProperty'](exports,a5_0x5419ab(0xf2),{'value':!![]}),exports[a5_0x5419ab(0xf3)]=exports[a5_0x5419ab(0xf8)]=void 0x0;const core_1=require(a5_0x5419ab(0xf1)),interface_1=require(a5_0x5419ab(0xff));function PickDto(_0x5f4796,_0x541bf2){const _0x5ae0d6=a5_0x5419ab,_0x432c61=function(){};_0x432c61[_0x5ae0d6(0xea)]=_0x5f4796['prototype'];const _0x26e62b=(0x0,core_1[_0x5ae0d6(0xfa)])(interface_1[_0x5ae0d6(0xef)],_0x5f4796),_0xbf52fd={};for(const _0x4f024b of _0x541bf2){_0x26e62b[_0x4f024b]&&(_0xbf52fd[_0x4f024b]=_0x26e62b[_0x4f024b]);}return(0x0,core_1[_0x5ae0d6(0xfc)])(interface_1[_0x5ae0d6(0xef)],_0xbf52fd,_0x432c61),_0x432c61;}exports['PickDto']=PickDto;function OmitDto(_0x58cd4f,_0x120f8){const _0x5d9301=a5_0x5419ab,_0xd4cd02=function(){};_0xd4cd02[_0x5d9301(0xea)]=_0x58cd4f['prototype'];const _0x137bc5=(0x0,core_1[_0x5d9301(0xfa)])(interface_1[_0x5d9301(0xef)],_0x58cd4f),_0x1070bf=Object[_0x5d9301(0xfb)]({},_0x137bc5);for(const _0x36c268 of _0x120f8){delete _0x1070bf[_0x36c268];}return(0x0,core_1['saveClassMetadata'])(interface_1['RULES_KEY'],_0x1070bf,_0xd4cd02),_0xd4cd02;}exports[a5_0x5419ab(0xf3)]=OmitDto;
@@ -1 +1 @@
1
- const a6_0x1b2da6=a6_0xb5b1;(function(_0x4022bb,_0x58fe65){const _0x13a7b7=a6_0xb5b1,_0x1bd26b=_0x4022bb();while(!![]){try{const _0x527dd2=parseInt(_0x13a7b7(0xe5))/0x1*(parseInt(_0x13a7b7(0xea))/0x2)+-parseInt(_0x13a7b7(0xf2))/0x3+parseInt(_0x13a7b7(0xed))/0x4*(parseInt(_0x13a7b7(0xe7))/0x5)+parseInt(_0x13a7b7(0xef))/0x6*(-parseInt(_0x13a7b7(0xf4))/0x7)+parseInt(_0x13a7b7(0xf6))/0x8+parseInt(_0x13a7b7(0xe2))/0x9+-parseInt(_0x13a7b7(0xe3))/0xa;if(_0x527dd2===_0x58fe65)break;else _0x1bd26b['push'](_0x1bd26b['shift']());}catch(_0x42b055){_0x1bd26b['push'](_0x1bd26b['shift']());}}}(a6_0x756f,0x609e7));function a6_0xb5b1(_0x1ebaf6,_0x190143){const _0x4d144e=a6_0x756f();return a6_0xb5b1=function(_0x57df32,_0x2cbae4){_0x57df32=_0x57df32-0xe2;let _0x756fc=_0x4d144e[_0x57df32];return _0x756fc;},a6_0xb5b1(_0x1ebaf6,_0x190143);}const a6_0x2cbae4=(function(){let _0x4fe1ce=!![];return function(_0x40bddc,_0x585590){const _0x37fb6c=_0x4fe1ce?function(){const _0x242351=a6_0xb5b1;if(_0x585590){const _0x59511f=_0x585590[_0x242351(0xe6)](_0x40bddc,arguments);return _0x585590=null,_0x59511f;}}:function(){};return _0x4fe1ce=![],_0x37fb6c;};}()),a6_0x57df32=a6_0x2cbae4(this,function(){const _0x3568a5=a6_0xb5b1;return a6_0x57df32[_0x3568a5(0xf7)]()['search']('(((.+)+)+)+$')[_0x3568a5(0xf7)]()[_0x3568a5(0xf8)](a6_0x57df32)[_0x3568a5(0xf5)](_0x3568a5(0xe9));});a6_0x57df32();'use strict';Object[a6_0x1b2da6(0xe8)](exports,'__esModule',{'value':!![]}),exports[a6_0x1b2da6(0xee)]=void 0x0;const Joi=require(a6_0x1b2da6(0xf0)),core_1=require(a6_0x1b2da6(0xec)),interface_1=require(a6_0x1b2da6(0xf1));function a6_0x756f(){const _0x44e94d=['6979221OkCUgV','18537450SOtaBU','object','299716CqGras','apply','3210aBYrro','defineProperty','(((.+)+)+)+$','2mATjPe','getClassExtendedMetadata','@midwayjs/core','3988ICCldU','getSchema','20478UBJXzK','joi','../interface','136809odwWpr','RULES_KEY','70aefpHC','search','4911760EUUlFK','toString','constructor'];a6_0x756f=function(){return _0x44e94d;};return a6_0x756f();}function getSchema(_0x305200){const _0x540c19=a6_0x1b2da6,_0x15af74=(0x0,core_1[_0x540c19(0xeb)])(interface_1[_0x540c19(0xf3)],_0x305200);if(_0x15af74)return Joi[_0x540c19(0xe4)](_0x15af74);}exports[a6_0x1b2da6(0xee)]=getSchema;
1
+ const a6_0x4226ed=a6_0x3ab9;(function(_0x59ebc9,_0x2d9547){const _0x2aa5ca=a6_0x3ab9,_0xcecac3=_0x59ebc9();while(!![]){try{const _0x38c4ed=-parseInt(_0x2aa5ca(0x185))/0x1*(parseInt(_0x2aa5ca(0x180))/0x2)+parseInt(_0x2aa5ca(0x188))/0x3+-parseInt(_0x2aa5ca(0x178))/0x4*(-parseInt(_0x2aa5ca(0x181))/0x5)+parseInt(_0x2aa5ca(0x176))/0x6+parseInt(_0x2aa5ca(0x17b))/0x7*(parseInt(_0x2aa5ca(0x18a))/0x8)+parseInt(_0x2aa5ca(0x179))/0x9*(parseInt(_0x2aa5ca(0x177))/0xa)+parseInt(_0x2aa5ca(0x183))/0xb*(-parseInt(_0x2aa5ca(0x182))/0xc);if(_0x38c4ed===_0x2d9547)break;else _0xcecac3['push'](_0xcecac3['shift']());}catch(_0x17d1bf){_0xcecac3['push'](_0xcecac3['shift']());}}}(a6_0x15cb,0x71d95));function a6_0x3ab9(_0x4d4228,_0x526986){const _0x2775be=a6_0x15cb();return a6_0x3ab9=function(_0x54a074,_0x4bcb7){_0x54a074=_0x54a074-0x174;let _0x15cb71=_0x2775be[_0x54a074];return _0x15cb71;},a6_0x3ab9(_0x4d4228,_0x526986);}function a6_0x15cb(){const _0x2b5a57=['__esModule','apply','defineProperty','constructor','4996500neqYtn','20GQZdJN','636108EWtzEH','1156203JYBHNw','search','5184788ZvgkLa','@midwayjs/core','RULES_KEY','toString','../interface','86902NRDpkb','5LcwaRQ','21452604qTNcJJ','11SHDgnG','object','4MoUdMb','getClassExtendedMetadata','(((.+)+)+)+$','1315353VcgXzD','getSchema','8EPhMpP'];a6_0x15cb=function(){return _0x2b5a57;};return a6_0x15cb();}const a6_0x4bcb7=(function(){let _0x415821=!![];return function(_0x175c09,_0x4980be){const _0x466ff0=_0x415821?function(){const _0x392bac=a6_0x3ab9;if(_0x4980be){const _0x4def1c=_0x4980be[_0x392bac(0x18c)](_0x175c09,arguments);return _0x4980be=null,_0x4def1c;}}:function(){};return _0x415821=![],_0x466ff0;};}()),a6_0x54a074=a6_0x4bcb7(this,function(){const _0x39039b=a6_0x3ab9;return a6_0x54a074['toString']()[_0x39039b(0x17a)](_0x39039b(0x187))[_0x39039b(0x17e)]()[_0x39039b(0x175)](a6_0x54a074)[_0x39039b(0x17a)](_0x39039b(0x187));});a6_0x54a074();'use strict';Object[a6_0x4226ed(0x174)](exports,a6_0x4226ed(0x18b),{'value':!![]}),exports[a6_0x4226ed(0x189)]=void 0x0;const Joi=require('joi'),core_1=require(a6_0x4226ed(0x17c)),interface_1=require(a6_0x4226ed(0x17f));function getSchema(_0x1f3f01){const _0x5281b1=a6_0x4226ed,_0xbd3b01=(0x0,core_1[_0x5281b1(0x186)])(interface_1[_0x5281b1(0x17d)],_0x1f3f01);if(_0xbd3b01)return Joi[_0x5281b1(0x184)](_0xbd3b01);}exports['getSchema']=getSchema;
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- var a7_0xe57516=a7_0x9d6f;(function(_0x4858ee,_0x4dacf0){var _0x44ee6f=a7_0x9d6f,_0x20e8b1=_0x4858ee();while(!![]){try{var _0x170034=parseInt(_0x44ee6f(0x142))/0x1+parseInt(_0x44ee6f(0x136))/0x2+parseInt(_0x44ee6f(0x156))/0x3*(parseInt(_0x44ee6f(0x137))/0x4)+parseInt(_0x44ee6f(0x13d))/0x5*(-parseInt(_0x44ee6f(0x14c))/0x6)+-parseInt(_0x44ee6f(0x150))/0x7*(parseInt(_0x44ee6f(0x135))/0x8)+parseInt(_0x44ee6f(0x151))/0x9*(parseInt(_0x44ee6f(0x144))/0xa)+-parseInt(_0x44ee6f(0x147))/0xb;if(_0x170034===_0x4dacf0)break;else _0x20e8b1['push'](_0x20e8b1['shift']());}catch(_0x46234c){_0x20e8b1['push'](_0x20e8b1['shift']());}}}(a7_0x5291,0x251f4));var a7_0x159be5=(function(){var _0x4867de=!![];return function(_0x1bcf89,_0x4da26d){var _0x236680=_0x4867de?function(){var _0x4d404c=a7_0x9d6f;if(_0x4da26d){var _0x4d106d=_0x4da26d[_0x4d404c(0x148)](_0x1bcf89,arguments);return _0x4da26d=null,_0x4d106d;}}:function(){};return _0x4867de=![],_0x236680;};}()),a7_0x2e1cac=a7_0x159be5(this,function(){var _0x2d41ea=a7_0x9d6f;return a7_0x2e1cac[_0x2d41ea(0x157)]()[_0x2d41ea(0x153)]('(((.+)+)+)+$')[_0x2d41ea(0x157)]()[_0x2d41ea(0x15c)](a7_0x2e1cac)[_0x2d41ea(0x153)](_0x2d41ea(0x14f));});function a7_0x9d6f(_0x43b938,_0x27d8e0){var _0x26e455=a7_0x5291();return a7_0x9d6f=function(_0x2e1cac,_0x159be5){_0x2e1cac=_0x2e1cac-0x134;var _0x5291fb=_0x26e455[_0x2e1cac];return _0x5291fb;},a7_0x9d6f(_0x43b938,_0x27d8e0);}a7_0x2e1cac();'use strict';var __createBinding=this&&this[a7_0xe57516(0x158)]||(Object['create']?function(_0x1db829,_0x504da1,_0x55311b,_0x1709dd){var _0xe79d40=a7_0xe57516;if(_0x1709dd===undefined)_0x1709dd=_0x55311b;var _0x48116c=Object[_0xe79d40(0x15a)](_0x504da1,_0x55311b);(!_0x48116c||(_0xe79d40(0x14b)in _0x48116c?!_0x504da1['__esModule']:_0x48116c[_0xe79d40(0x15b)]||_0x48116c[_0xe79d40(0x13a)]))&&(_0x48116c={'enumerable':!![],'get':function(){return _0x504da1[_0x55311b];}}),Object[_0xe79d40(0x14d)](_0x1db829,_0x1709dd,_0x48116c);}:function(_0x3609d4,_0x379e89,_0x57ee73,_0x1c8a36){if(_0x1c8a36===undefined)_0x1c8a36=_0x57ee73;_0x3609d4[_0x1c8a36]=_0x379e89[_0x57ee73];}),__exportStar=this&&this[a7_0xe57516(0x13f)]||function(_0x39772a,_0x58ac16){var _0x40adad=a7_0xe57516;for(var _0x5c99d1 in _0x39772a)if(_0x5c99d1!==_0x40adad(0x140)&&!Object[_0x40adad(0x143)][_0x40adad(0x146)][_0x40adad(0x159)](_0x58ac16,_0x5c99d1))__createBinding(_0x58ac16,_0x39772a,_0x5c99d1);};Object['defineProperty'](exports,a7_0xe57516(0x138),{'value':!![]}),exports[a7_0xe57516(0x134)]=exports[a7_0xe57516(0x141)]=exports[a7_0xe57516(0x13c)]=exports[a7_0xe57516(0x154)]=exports[a7_0xe57516(0x13e)]=exports[a7_0xe57516(0x139)]=void 0x0,__exportStar(require('./interface'),exports),__exportStar(require(a7_0xe57516(0x14e)),exports),__exportStar(require('./helper/getSchema'),exports);function a7_0x5291(){var _0x584d7c=['34599ZYQxdE','toString','__createBinding','call','getOwnPropertyDescriptor','writable','constructor','Configuration','529616xDZjcZ','299062TFiNKf','4PsDQZs','__esModule','Validator','configurable','./decorator/Rule','ValidatorError','5YbsoCe','Rule','__exportStar','default','ValidatorService','284348AffCdn','prototype','30oMhEHE','./decorator/Validator','hasOwnProperty','2136563SMrgUz','apply','./exception/ValidatorError','./service/ValidatorService','get','518652paBjWa','defineProperty','./helper/dtoHelper','(((.+)+)+)+$','7PJHIKv','160551mryLFb','./configuration','search','RuleType','CustomConfiguration'];a7_0x5291=function(){return _0x584d7c;};return a7_0x5291();}var Validator_1=require(a7_0xe57516(0x145));Object[a7_0xe57516(0x14d)](exports,a7_0xe57516(0x139),{'enumerable':!![],'get':function(){var _0x292dfe=a7_0xe57516;return Validator_1[_0x292dfe(0x139)];}});var Rule_1=require(a7_0xe57516(0x13b));Object[a7_0xe57516(0x14d)](exports,a7_0xe57516(0x13e),{'enumerable':!![],'get':function(){var _0x26d0bb=a7_0xe57516;return Rule_1[_0x26d0bb(0x13e)];}}),Object['defineProperty'](exports,'RuleType',{'enumerable':!![],'get':function(){return Rule_1['RuleType'];}});var ValidatorError_1=require(a7_0xe57516(0x149));Object[a7_0xe57516(0x14d)](exports,'ValidatorError',{'enumerable':!![],'get':function(){return ValidatorError_1['ValidatorError'];}});var ValidatorService_1=require(a7_0xe57516(0x14a));Object[a7_0xe57516(0x14d)](exports,a7_0xe57516(0x141),{'enumerable':!![],'get':function(){var _0x448e77=a7_0xe57516;return ValidatorService_1[_0x448e77(0x141)];}});var configuration_1=require(a7_0xe57516(0x152));Object['defineProperty'](exports,'Configuration',{'enumerable':!![],'get':function(){var _0x352e77=a7_0xe57516;return configuration_1[_0x352e77(0x155)];}});
1
+ var a7_0x39b17d=a7_0x2443;(function(_0x1e8f71,_0x20c554){var _0x57e488=a7_0x2443,_0x3aa6ba=_0x1e8f71();while(!![]){try{var _0x502113=parseInt(_0x57e488(0x15b))/0x1*(parseInt(_0x57e488(0x15d))/0x2)+parseInt(_0x57e488(0x145))/0x3*(-parseInt(_0x57e488(0x156))/0x4)+parseInt(_0x57e488(0x15a))/0x5*(parseInt(_0x57e488(0x13e))/0x6)+parseInt(_0x57e488(0x14d))/0x7+parseInt(_0x57e488(0x153))/0x8*(-parseInt(_0x57e488(0x13c))/0x9)+-parseInt(_0x57e488(0x155))/0xa+parseInt(_0x57e488(0x150))/0xb*(parseInt(_0x57e488(0x151))/0xc);if(_0x502113===_0x20c554)break;else _0x3aa6ba['push'](_0x3aa6ba['shift']());}catch(_0x3965dc){_0x3aa6ba['push'](_0x3aa6ba['shift']());}}}(a7_0x13a5,0xd4dad));var a7_0x267e8f=(function(){var _0x14f472=!![];return function(_0x3719c9,_0x34c96a){var _0x3d4d7d=_0x14f472?function(){if(_0x34c96a){var _0x4547a3=_0x34c96a['apply'](_0x3719c9,arguments);return _0x34c96a=null,_0x4547a3;}}:function(){};return _0x14f472=![],_0x3d4d7d;};}()),a7_0x4f8eb6=a7_0x267e8f(this,function(){var _0x147e5c=a7_0x2443;return a7_0x4f8eb6[_0x147e5c(0x14f)]()[_0x147e5c(0x140)](_0x147e5c(0x13d))[_0x147e5c(0x14f)]()['constructor'](a7_0x4f8eb6)[_0x147e5c(0x140)]('(((.+)+)+)+$');});function a7_0x2443(_0x45d295,_0x9258bb){var _0x27d28c=a7_0x13a5();return a7_0x2443=function(_0x4f8eb6,_0x267e8f){_0x4f8eb6=_0x4f8eb6-0x13c;var _0x13a53e=_0x27d28c[_0x4f8eb6];return _0x13a53e;},a7_0x2443(_0x45d295,_0x9258bb);}a7_0x4f8eb6();'use strict';var __createBinding=this&&this[a7_0x39b17d(0x15c)]||(Object[a7_0x39b17d(0x14b)]?function(_0x2440b3,_0x168749,_0x2ff651,_0x5d5882){var _0x15435f=a7_0x39b17d;if(_0x5d5882===undefined)_0x5d5882=_0x2ff651;var _0x44eb44=Object[_0x15435f(0x158)](_0x168749,_0x2ff651);(!_0x44eb44||(_0x15435f(0x14e)in _0x44eb44?!_0x168749['__esModule']:_0x44eb44[_0x15435f(0x154)]||_0x44eb44[_0x15435f(0x147)]))&&(_0x44eb44={'enumerable':!![],'get':function(){return _0x168749[_0x2ff651];}}),Object['defineProperty'](_0x2440b3,_0x5d5882,_0x44eb44);}:function(_0x9e6012,_0x4e1ffc,_0x40c752,_0x1823e0){if(_0x1823e0===undefined)_0x1823e0=_0x40c752;_0x9e6012[_0x1823e0]=_0x4e1ffc[_0x40c752];}),__exportStar=this&&this[a7_0x39b17d(0x162)]||function(_0x5094de,_0x2791b4){var _0x11d81f=a7_0x39b17d;for(var _0x54e2bc in _0x5094de)if(_0x54e2bc!==_0x11d81f(0x161)&&!Object['prototype'][_0x11d81f(0x149)][_0x11d81f(0x14c)](_0x2791b4,_0x54e2bc))__createBinding(_0x2791b4,_0x5094de,_0x54e2bc);};Object['defineProperty'](exports,a7_0x39b17d(0x141),{'value':!![]}),exports[a7_0x39b17d(0x15f)]=exports[a7_0x39b17d(0x13f)]=exports[a7_0x39b17d(0x160)]=exports[a7_0x39b17d(0x146)]=exports[a7_0x39b17d(0x148)]=exports[a7_0x39b17d(0x14a)]=void 0x0,__exportStar(require('./interface'),exports),__exportStar(require(a7_0x39b17d(0x152)),exports),__exportStar(require(a7_0x39b17d(0x159)),exports);var Validator_1=require(a7_0x39b17d(0x144));function a7_0x13a5(){var _0x1be5a6=['./configuration','getOwnPropertyDescriptor','./helper/getSchema','3095iyXfAb','1RNDMsd','__createBinding','2338348GImJVA','defineProperty','Configuration','ValidatorError','default','__exportStar','45YazIny','(((.+)+)+)+$','3840ZJWzKr','ValidatorService','search','__esModule','./exception/ValidatorError','CustomConfiguration','./decorator/Validator','3519iMnvsc','RuleType','configurable','Rule','hasOwnProperty','Validator','create','call','4986142uAOVye','get','toString','355553xySSxi','804xqMngh','./helper/dtoHelper','2115376Frjblq','writable','9132710NDqmML','4556AaHCYF'];a7_0x13a5=function(){return _0x1be5a6;};return a7_0x13a5();}Object[a7_0x39b17d(0x15e)](exports,a7_0x39b17d(0x14a),{'enumerable':!![],'get':function(){var _0x3aba89=a7_0x39b17d;return Validator_1[_0x3aba89(0x14a)];}});var Rule_1=require('./decorator/Rule');Object['defineProperty'](exports,a7_0x39b17d(0x148),{'enumerable':!![],'get':function(){var _0x6edf2b=a7_0x39b17d;return Rule_1[_0x6edf2b(0x148)];}}),Object[a7_0x39b17d(0x15e)](exports,a7_0x39b17d(0x146),{'enumerable':!![],'get':function(){return Rule_1['RuleType'];}});var ValidatorError_1=require(a7_0x39b17d(0x142));Object[a7_0x39b17d(0x15e)](exports,a7_0x39b17d(0x160),{'enumerable':!![],'get':function(){var _0x3169ba=a7_0x39b17d;return ValidatorError_1[_0x3169ba(0x160)];}});var ValidatorService_1=require('./service/ValidatorService');Object['defineProperty'](exports,a7_0x39b17d(0x13f),{'enumerable':!![],'get':function(){return ValidatorService_1['ValidatorService'];}});var configuration_1=require(a7_0x39b17d(0x157));Object[a7_0x39b17d(0x15e)](exports,a7_0x39b17d(0x15f),{'enumerable':!![],'get':function(){var _0x50fd00=a7_0x39b17d;return configuration_1[_0x50fd00(0x143)];}});
package/dist/interface.js CHANGED
@@ -1 +1 @@
1
- var a8_0x2415e7=a8_0x5ca2;function a8_0x2f49(){var _0x49477f=['6498690cgcsSx','1271045QaDTYg','toString','(((.+)+)+)+$','__esModule','RULES_KEY','VALIDATOR_KEY','6jgcspC','329JNZcRN','746548TFnPzS','anncic-api:validator:validator','1459899MgpGsm','1185228FYiYRz','constructor','80176iSqYed','defineProperty','2bjUfYc','2512704nmhxMl','apply'];a8_0x2f49=function(){return _0x49477f;};return a8_0x2f49();}(function(_0xbdf2e2,_0x5973c2){var _0x1f5b1c=a8_0x5ca2,_0x3d93a5=_0xbdf2e2();while(!![]){try{var _0x4a4aee=-parseInt(_0x1f5b1c(0x10a))/0x1*(parseInt(_0x1f5b1c(0x111))/0x2)+-parseInt(_0x1f5b1c(0x10c))/0x3+parseInt(_0x1f5b1c(0x112))/0x4+-parseInt(_0x1f5b1c(0x115))/0x5*(parseInt(_0x1f5b1c(0x108))/0x6)+-parseInt(_0x1f5b1c(0x109))/0x7*(-parseInt(_0x1f5b1c(0x10f))/0x8)+parseInt(_0x1f5b1c(0x10d))/0x9+parseInt(_0x1f5b1c(0x114))/0xa;if(_0x4a4aee===_0x5973c2)break;else _0x3d93a5['push'](_0x3d93a5['shift']());}catch(_0x3d2342){_0x3d93a5['push'](_0x3d93a5['shift']());}}}(a8_0x2f49,0x600a5));var a8_0x47bdc5=(function(){var _0x522872=!![];return function(_0x18aa19,_0x4a32b2){var _0xe505c4=_0x522872?function(){var _0x281a0e=a8_0x5ca2;if(_0x4a32b2){var _0x169dc7=_0x4a32b2[_0x281a0e(0x113)](_0x18aa19,arguments);return _0x4a32b2=null,_0x169dc7;}}:function(){};return _0x522872=![],_0xe505c4;};}()),a8_0x3fec72=a8_0x47bdc5(this,function(){var _0x17f9b2=a8_0x5ca2;return a8_0x3fec72[_0x17f9b2(0x116)]()['search'](_0x17f9b2(0x117))[_0x17f9b2(0x116)]()[_0x17f9b2(0x10e)](a8_0x3fec72)['search']('(((.+)+)+)+$');});a8_0x3fec72();'use strict';function a8_0x5ca2(_0x52f0c2,_0x47780e){var _0x242dc4=a8_0x2f49();return a8_0x5ca2=function(_0x3fec72,_0x47bdc5){_0x3fec72=_0x3fec72-0x106;var _0x2f494f=_0x242dc4[_0x3fec72];return _0x2f494f;},a8_0x5ca2(_0x52f0c2,_0x47780e);}Object[a8_0x2415e7(0x110)](exports,a8_0x2415e7(0x118),{'value':!![]}),exports[a8_0x2415e7(0x107)]=exports[a8_0x2415e7(0x106)]=void 0x0,exports[a8_0x2415e7(0x106)]='anncic-api:validator:rules',exports['VALIDATOR_KEY']=a8_0x2415e7(0x10b);
1
+ var a8_0x68c26a=a8_0x21ff;function a8_0x21ff(_0x1d5994,_0x32b288){var _0x18d0d6=a8_0x70d7();return a8_0x21ff=function(_0x1f9438,_0x352aa1){_0x1f9438=_0x1f9438-0xe9;var _0x70d793=_0x18d0d6[_0x1f9438];return _0x70d793;},a8_0x21ff(_0x1d5994,_0x32b288);}(function(_0x316300,_0x5da148){var _0x5381a5=a8_0x21ff,_0x3ad6ea=_0x316300();while(!![]){try{var _0x2e8c94=-parseInt(_0x5381a5(0xef))/0x1+parseInt(_0x5381a5(0xec))/0x2*(-parseInt(_0x5381a5(0xf4))/0x3)+parseInt(_0x5381a5(0xeb))/0x4*(-parseInt(_0x5381a5(0xf0))/0x5)+parseInt(_0x5381a5(0xf6))/0x6*(parseInt(_0x5381a5(0xfd))/0x7)+-parseInt(_0x5381a5(0xe9))/0x8*(-parseInt(_0x5381a5(0xea))/0x9)+-parseInt(_0x5381a5(0xf3))/0xa+parseInt(_0x5381a5(0xf9))/0xb*(parseInt(_0x5381a5(0xf8))/0xc);if(_0x2e8c94===_0x5da148)break;else _0x3ad6ea['push'](_0x3ad6ea['shift']());}catch(_0x1f8fb7){_0x3ad6ea['push'](_0x3ad6ea['shift']());}}}(a8_0x70d7,0x1aa5b));var a8_0x352aa1=(function(){var _0x10c0a1=!![];return function(_0x5de69e,_0xeca017){var _0x98ff63=_0x10c0a1?function(){var _0x2555df=a8_0x21ff;if(_0xeca017){var _0x284f70=_0xeca017[_0x2555df(0xf2)](_0x5de69e,arguments);return _0xeca017=null,_0x284f70;}}:function(){};return _0x10c0a1=![],_0x98ff63;};}()),a8_0x1f9438=a8_0x352aa1(this,function(){var _0x19a70d=a8_0x21ff;return a8_0x1f9438['toString']()[_0x19a70d(0xed)](_0x19a70d(0xfa))['toString']()[_0x19a70d(0xee)](a8_0x1f9438)[_0x19a70d(0xed)](_0x19a70d(0xfa));});a8_0x1f9438();'use strict';function a8_0x70d7(){var _0x37d5ec=['apply','1250500mezIpZ','30jjjOEz','defineProperty','2220inMXzO','VALIDATOR_KEY','7972500MgxGXG','11MYMOPR','(((.+)+)+)+$','RULES_KEY','anncic-api:validator:validator','1057eDNKfK','36688JVUzYH','27VUSHye','793720QCbEoR','32836gyPFQq','search','constructor','137196Qvzzxn','5NblZqB','anncic-api:validator:rules'];a8_0x70d7=function(){return _0x37d5ec;};return a8_0x70d7();}Object[a8_0x68c26a(0xf5)](exports,'__esModule',{'value':!![]}),exports[a8_0x68c26a(0xf7)]=exports[a8_0x68c26a(0xfb)]=void 0x0,exports[a8_0x68c26a(0xfb)]=a8_0x68c26a(0xf1),exports[a8_0x68c26a(0xf7)]=a8_0x68c26a(0xfc);
@@ -1 +1 @@
1
- function a9_0x1f64(){const _0x3d5e90=['3725124ViCvyj','forEach','type','errors','1pkjEjo','validator','function','__decorate','keys','Init','prototype','@midwayjs/core','defaultLocale','object','PARAMS','getOwnPropertyDescriptor','4439148SnwQRe','i18nConfig','messages','Provide','60UzqsHr','Scope','validationOptions','MidwayI18nServiceSingleton','(((.+)+)+)+$','4XZXEdh','key','message','schema','ValidatorService','design:type','metadata','239354RTeFON','i18nService','NOFIND_SCHEMA','value','fromEntries','getSchema','assign','getClassExtendedMetadata','date','language','toString','Config','ValidatorError','__metadata','constructor','905905SNTWna','validate','defineProperty','isSchema','length','init','decorate','locale','search','2806326bbJkdT','error','8593160mcYDJw','localeTable','@midwayjs/i18n','getLocaleMapping','Singleton','formatLocale','参数验证失败','../exception/ValidatorError','1928121aUeiuc','Inject'];a9_0x1f64=function(){return _0x3d5e90;};return a9_0x1f64();}const a9_0x57be00=a9_0x45a0;(function(_0x4d28ec,_0x8e2438){const _0x551822=a9_0x45a0,_0x256378=_0x4d28ec();while(!![]){try{const _0x2abcd6=parseInt(_0x551822(0x15b))/0x1*(-parseInt(_0x551822(0x133))/0x2)+-parseInt(_0x551822(0x155))/0x3+-parseInt(_0x551822(0x12c))/0x4*(parseInt(_0x551822(0x142))/0x5)+-parseInt(_0x551822(0x157))/0x6+-parseInt(_0x551822(0x123))/0x7+parseInt(_0x551822(0x14d))/0x8+parseInt(_0x551822(0x14b))/0x9*(parseInt(_0x551822(0x127))/0xa);if(_0x2abcd6===_0x8e2438)break;else _0x256378['push'](_0x256378['shift']());}catch(_0x3919d5){_0x256378['push'](_0x256378['shift']());}}}(a9_0x1f64,0xb63ce));const a9_0x24bd50=(function(){let _0x4ccacc=!![];return function(_0x338306,_0x2f9437){const _0x1a6cde=_0x4ccacc?function(){if(_0x2f9437){const _0x402e70=_0x2f9437['apply'](_0x338306,arguments);return _0x2f9437=null,_0x402e70;}}:function(){};return _0x4ccacc=![],_0x1a6cde;};}()),a9_0x283e26=a9_0x24bd50(this,function(){const _0x263bfc=a9_0x45a0;return a9_0x283e26[_0x263bfc(0x13d)]()['search'](_0x263bfc(0x12b))[_0x263bfc(0x13d)]()[_0x263bfc(0x141)](a9_0x283e26)[_0x263bfc(0x14a)](_0x263bfc(0x12b));});a9_0x283e26();function a9_0x45a0(_0x1253f7,_0x38ab52){const _0x2f9251=a9_0x1f64();return a9_0x45a0=function(_0x283e26,_0x24bd50){_0x283e26=_0x283e26-0x118;let _0x1f6403=_0x2f9251[_0x283e26];return _0x1f6403;},a9_0x45a0(_0x1253f7,_0x38ab52);}'use strict';var __decorate=this&&this[a9_0x57be00(0x11a)]||function(_0x4a98ee,_0x3d9078,_0x36ec08,_0x27a1fc){const _0x59bd75=a9_0x57be00;var _0x32d795=arguments[_0x59bd75(0x146)],_0x5bb19d=_0x32d795<0x3?_0x3d9078:_0x27a1fc===null?_0x27a1fc=Object[_0x59bd75(0x122)](_0x3d9078,_0x36ec08):_0x27a1fc,_0x26f01c;if(typeof Reflect===_0x59bd75(0x120)&&typeof Reflect[_0x59bd75(0x148)]==='function')_0x5bb19d=Reflect[_0x59bd75(0x148)](_0x4a98ee,_0x3d9078,_0x36ec08,_0x27a1fc);else{for(var _0x31bfef=_0x4a98ee[_0x59bd75(0x146)]-0x1;_0x31bfef>=0x0;_0x31bfef--)if(_0x26f01c=_0x4a98ee[_0x31bfef])_0x5bb19d=(_0x32d795<0x3?_0x26f01c(_0x5bb19d):_0x32d795>0x3?_0x26f01c(_0x3d9078,_0x36ec08,_0x5bb19d):_0x26f01c(_0x3d9078,_0x36ec08))||_0x5bb19d;}return _0x32d795>0x3&&_0x5bb19d&&Object[_0x59bd75(0x144)](_0x3d9078,_0x36ec08,_0x5bb19d),_0x5bb19d;},__metadata=this&&this[a9_0x57be00(0x140)]||function(_0x520cf2,_0x4e1d35){const _0x192ba5=a9_0x57be00;if(typeof Reflect==='object'&&typeof Reflect[_0x192ba5(0x132)]===_0x192ba5(0x119))return Reflect[_0x192ba5(0x132)](_0x520cf2,_0x4e1d35);};Object[a9_0x57be00(0x144)](exports,'__esModule',{'value':!![]}),exports['ValidatorService']=void 0x0;const Joi=require('joi'),i18n_1=require(a9_0x57be00(0x14f)),core_1=require(a9_0x57be00(0x11e)),interface_1=require('../interface'),ValidatorError_1=require(a9_0x57be00(0x154));let ValidatorService=class ValidatorService{constructor(){const _0x69abb4=a9_0x57be00;this[_0x69abb4(0x125)]={};}async[a9_0x57be00(0x147)](){const _0x29886b=a9_0x57be00,_0xb32419=Object[_0x29886b(0x11b)](this[_0x29886b(0x124)][_0x29886b(0x14e)]);_0xb32419[_0x29886b(0x158)](_0x1eed6a=>{const _0x5cfa70=_0x29886b;this[_0x5cfa70(0x125)][(0x0,i18n_1[_0x5cfa70(0x152)])(_0x1eed6a)]=Object[_0x5cfa70(0x137)](this[_0x5cfa70(0x134)][_0x5cfa70(0x150)](_0x1eed6a,_0x5cfa70(0x118)));});}[a9_0x57be00(0x138)](_0x3c1d26){const _0x101250=a9_0x57be00,_0x52003a=(0x0,core_1[_0x101250(0x13a)])(interface_1['RULES_KEY'],_0x3c1d26);return _0x52003a?Joi[_0x101250(0x120)](_0x52003a):undefined;}[a9_0x57be00(0x118)](_0x27e143,_0x7f6c47,_0x3fbb2b={}){const _0x3185c2=a9_0x57be00;var _0x6fa0be,_0x48bd62,_0x451931,_0x5e5c20,_0x1a1cfc,_0x4fd689;const _0x3313e0=Joi[_0x3185c2(0x145)](_0x27e143)?_0x27e143:this['getSchema'](_0x27e143);if(!_0x3313e0)throw new AnnError(ValidatorError_1[_0x3185c2(0x13f)][_0x3185c2(0x135)]);_0x3fbb2b[_0x3185c2(0x129)]=Object[_0x3185c2(0x139)]((_0x6fa0be=this['validatorConfig']['validationOptions'])!==null&&_0x6fa0be!==void 0x0?_0x6fa0be:{},{'messages':this[_0x3185c2(0x125)]},_0x3fbb2b[_0x3185c2(0x129)]||{}),_0x3fbb2b[_0x3185c2(0x129)][_0x3185c2(0x15a)]=_0x3fbb2b['validationOptions'][_0x3185c2(0x15a)]||{},_0x3fbb2b[_0x3185c2(0x129)]['errors'][_0x3185c2(0x13c)]=(0x0,i18n_1['formatLocale'])(this[_0x3185c2(0x134)]['getAvailableLocale'](_0x3fbb2b[_0x3185c2(0x129)]['errors'][_0x3185c2(0x13c)]||_0x3fbb2b[_0x3185c2(0x149)]||this[_0x3185c2(0x124)][_0x3185c2(0x11f)],_0x3185c2(0x118)));const _0x64dab7=_0x3313e0[_0x3185c2(0x143)](_0x7f6c47,_0x3fbb2b[_0x3185c2(0x129)]);if(_0x64dab7===null||_0x64dab7===void 0x0?void 0x0:_0x64dab7['error']){if(_0x64dab7[_0x3185c2(0x14c)]instanceof AnnError)throw _0x64dab7[_0x3185c2(0x14c)];else{if(_0x64dab7['error']instanceof Error)throw new AnnError(ValidatorError_1[_0x3185c2(0x13f)]['PARAMS'],{'message':((_0x48bd62=_0x64dab7['error'])===null||_0x48bd62===void 0x0?void 0x0:_0x48bd62[_0x3185c2(0x12e)])||_0x3185c2(0x153)});else throw new AnnError(ValidatorError_1['ValidatorError'][_0x3185c2(0x121)],{'message':((_0x1a1cfc=(_0x5e5c20=(_0x451931=_0x64dab7[_0x3185c2(0x14c)])===null||_0x451931===void 0x0?void 0x0:_0x451931['details'])===null||_0x5e5c20===void 0x0?void 0x0:_0x5e5c20[0x0])===null||_0x1a1cfc===void 0x0?void 0x0:_0x1a1cfc[_0x3185c2(0x12e)])||_0x3185c2(0x153)});}}if(_0x64dab7===null||_0x64dab7===void 0x0?void 0x0:_0x64dab7[_0x3185c2(0x136)]){const _0x37e347=(_0x4fd689=_0x3313e0===null||_0x3313e0===void 0x0?void 0x0:_0x3313e0['$_terms'])===null||_0x4fd689===void 0x0?void 0x0:_0x4fd689['keys'],_0x5cfe1b=function(_0x366346,_0x5637f2){const _0x1127d4=_0x3185c2;var _0x4b26b7,_0x2629d1,_0x5be2e9,_0x6af4b6,_0x3e6bca,_0x1c02d9,_0x47ea03,_0x4c3d10,_0x4f9ddc,_0x30f4d2,_0x23f86a;for(let _0x41e86b in _0x366346){if(_0x5637f2[(_0x4b26b7=_0x366346[_0x41e86b])===null||_0x4b26b7===void 0x0?void 0x0:_0x4b26b7[_0x1127d4(0x12d)]]&&((_0x5be2e9=(_0x2629d1=_0x366346[_0x41e86b])===null||_0x2629d1===void 0x0?void 0x0:_0x2629d1[_0x1127d4(0x12f)])===null||_0x5be2e9===void 0x0?void 0x0:_0x5be2e9['type'])){if(((_0x3e6bca=(_0x6af4b6=_0x366346[_0x41e86b])===null||_0x6af4b6===void 0x0?void 0x0:_0x6af4b6['schema'])===null||_0x3e6bca===void 0x0?void 0x0:_0x3e6bca[_0x1127d4(0x159)])==_0x1127d4(0x120))_0x5637f2[_0x366346[_0x41e86b]['key']]=_0x5cfe1b((_0x47ea03=(_0x1c02d9=_0x366346[_0x41e86b])===null||_0x1c02d9===void 0x0?void 0x0:_0x1c02d9[_0x1127d4(0x12f)]['$_terms'])===null||_0x47ea03===void 0x0?void 0x0:_0x47ea03[_0x1127d4(0x11b)],_0x5637f2[_0x366346[_0x41e86b][_0x1127d4(0x12d)]]);else{if(_0x366346[_0x41e86b][_0x1127d4(0x12f)]['type']==_0x1127d4(0x13b)&&_0x64dab7[_0x1127d4(0x136)][(_0x4c3d10=_0x366346[_0x41e86b])===null||_0x4c3d10===void 0x0?void 0x0:_0x4c3d10[_0x1127d4(0x12d)]]){const _0x390e0b=((_0x23f86a=(_0x30f4d2=(_0x4f9ddc=_0x366346[_0x41e86b])===null||_0x4f9ddc===void 0x0?void 0x0:_0x4f9ddc[_0x1127d4(0x12f)])===null||_0x30f4d2===void 0x0?void 0x0:_0x30f4d2['_flags'])===null||_0x23f86a===void 0x0?void 0x0:_0x23f86a['format'])||'YYYY-MM-DD\x20HH:mm:ss';_0x5637f2[_0x366346[_0x41e86b][_0x1127d4(0x12d)]]=dayjs(_0x64dab7[_0x1127d4(0x136)][_0x366346[_0x41e86b][_0x1127d4(0x12d)]])['format'](_0x390e0b);}}}}return _0x5637f2;};return _0x5cfe1b(_0x37e347,_0x64dab7['value']);}throw new AnnError(ValidatorError_1[_0x3185c2(0x13f)][_0x3185c2(0x121)]);}};exports[a9_0x57be00(0x130)]=ValidatorService,__decorate([(0x0,core_1['Config'])('i18n'),__metadata('design:type',Object)],ValidatorService[a9_0x57be00(0x11d)],a9_0x57be00(0x124),void 0x0),__decorate([(0x0,core_1[a9_0x57be00(0x13e)])('validator'),__metadata(a9_0x57be00(0x131),Object)],ValidatorService[a9_0x57be00(0x11d)],'validatorConfig',void 0x0),__decorate([(0x0,core_1[a9_0x57be00(0x156)])(),__metadata(a9_0x57be00(0x131),i18n_1[a9_0x57be00(0x12a)])],ValidatorService[a9_0x57be00(0x11d)],'i18nService',void 0x0),__decorate([(0x0,core_1[a9_0x57be00(0x11c)])(),__metadata(a9_0x57be00(0x131),Function),__metadata('design:paramtypes',[]),__metadata('design:returntype',Promise)],ValidatorService[a9_0x57be00(0x11d)],'init',null),exports[a9_0x57be00(0x130)]=ValidatorService=__decorate([(0x0,core_1[a9_0x57be00(0x126)])(a9_0x57be00(0x118)),(0x0,core_1[a9_0x57be00(0x128)])(core_1['ScopeEnum'][a9_0x57be00(0x151)])],ValidatorService);
1
+ function a9_0x5bdb(_0x17b69e,_0x510048){const _0x28de90=a9_0x5543();return a9_0x5bdb=function(_0x223cb6,_0x7ebbfc){_0x223cb6=_0x223cb6-0x65;let _0x5543f7=_0x28de90[_0x223cb6];return _0x5543f7;},a9_0x5bdb(_0x17b69e,_0x510048);}const a9_0x51b99a=a9_0x5bdb;(function(_0x1207d8,_0x310e43){const _0x49c1b4=a9_0x5bdb,_0x24663f=_0x1207d8();while(!![]){try{const _0x53e12b=parseInt(_0x49c1b4(0x9c))/0x1+-parseInt(_0x49c1b4(0x71))/0x2*(-parseInt(_0x49c1b4(0x85))/0x3)+-parseInt(_0x49c1b4(0x70))/0x4+-parseInt(_0x49c1b4(0x8b))/0x5+parseInt(_0x49c1b4(0x6d))/0x6+parseInt(_0x49c1b4(0xa2))/0x7+parseInt(_0x49c1b4(0x9d))/0x8*(-parseInt(_0x49c1b4(0x94))/0x9);if(_0x53e12b===_0x310e43)break;else _0x24663f['push'](_0x24663f['shift']());}catch(_0x3ecd30){_0x24663f['push'](_0x24663f['shift']());}}}(a9_0x5543,0xa1d29));const a9_0x7ebbfc=(function(){let _0x111429=!![];return function(_0x27e0c7,_0x3a3ef3){const _0x1372ce=_0x111429?function(){const _0x576cbd=a9_0x5bdb;if(_0x3a3ef3){const _0x8dc948=_0x3a3ef3[_0x576cbd(0x93)](_0x27e0c7,arguments);return _0x3a3ef3=null,_0x8dc948;}}:function(){};return _0x111429=![],_0x1372ce;};}()),a9_0x223cb6=a9_0x7ebbfc(this,function(){const _0x143e90=a9_0x5bdb;return a9_0x223cb6[_0x143e90(0x9f)]()[_0x143e90(0xaf)](_0x143e90(0x99))[_0x143e90(0x9f)]()[_0x143e90(0xa0)](a9_0x223cb6)[_0x143e90(0xaf)](_0x143e90(0x99));});a9_0x223cb6();'use strict';var __decorate=this&&this[a9_0x51b99a(0x73)]||function(_0x5b117f,_0x1ada0c,_0xf66bef,_0x3e9d65){const _0x12b86c=a9_0x51b99a;var _0x448901=arguments[_0x12b86c(0x9a)],_0x1b1cfe=_0x448901<0x3?_0x1ada0c:_0x3e9d65===null?_0x3e9d65=Object[_0x12b86c(0x6f)](_0x1ada0c,_0xf66bef):_0x3e9d65,_0x4f4921;if(typeof Reflect===_0x12b86c(0x8d)&&typeof Reflect[_0x12b86c(0x65)]===_0x12b86c(0x6e))_0x1b1cfe=Reflect['decorate'](_0x5b117f,_0x1ada0c,_0xf66bef,_0x3e9d65);else{for(var _0x5c2c4a=_0x5b117f[_0x12b86c(0x9a)]-0x1;_0x5c2c4a>=0x0;_0x5c2c4a--)if(_0x4f4921=_0x5b117f[_0x5c2c4a])_0x1b1cfe=(_0x448901<0x3?_0x4f4921(_0x1b1cfe):_0x448901>0x3?_0x4f4921(_0x1ada0c,_0xf66bef,_0x1b1cfe):_0x4f4921(_0x1ada0c,_0xf66bef))||_0x1b1cfe;}return _0x448901>0x3&&_0x1b1cfe&&Object[_0x12b86c(0x77)](_0x1ada0c,_0xf66bef,_0x1b1cfe),_0x1b1cfe;},__metadata=this&&this[a9_0x51b99a(0x90)]||function(_0x346f84,_0x542f85){const _0x58f862=a9_0x51b99a;if(typeof Reflect===_0x58f862(0x8d)&&typeof Reflect[_0x58f862(0x74)]===_0x58f862(0x6e))return Reflect['metadata'](_0x346f84,_0x542f85);};Object['defineProperty'](exports,a9_0x51b99a(0x9e),{'value':!![]}),exports['ValidatorService']=void 0x0;const Joi=require(a9_0x51b99a(0x7f)),i18n_1=require(a9_0x51b99a(0x7e)),core_1=require(a9_0x51b99a(0x9b)),interface_1=require('../interface'),ValidatorError_1=require(a9_0x51b99a(0x82));let ValidatorService=class ValidatorService{constructor(){const _0x2a221a=a9_0x51b99a;this[_0x2a221a(0xa6)]={};}async['init'](){const _0x45a3e7=a9_0x51b99a,_0x31559a=Object[_0x45a3e7(0x6b)](this[_0x45a3e7(0x7b)][_0x45a3e7(0x92)]);_0x31559a[_0x45a3e7(0x66)](_0x373057=>{const _0x11c443=_0x45a3e7;this[_0x11c443(0xa6)][(0x0,i18n_1[_0x11c443(0xa7)])(_0x373057)]=Object['fromEntries'](this[_0x11c443(0x79)]['getLocaleMapping'](_0x373057,_0x11c443(0x68)));});}['getSchema'](_0x512a5d){const _0x3d4a1a=(0x0,core_1['getClassExtendedMetadata'])(interface_1['RULES_KEY'],_0x512a5d);return _0x3d4a1a?Joi['object'](_0x3d4a1a):undefined;}[a9_0x51b99a(0x68)](_0xf8627f,_0x40559d,_0x1d7a74={}){const _0x5710f2=a9_0x51b99a;var _0x1c093d,_0x2e04c2,_0x5cb1a5,_0x31638e,_0x318d36,_0x1edb3e;const _0x55abf3=Joi[_0x5710f2(0x89)](_0xf8627f)?_0xf8627f:this[_0x5710f2(0x98)](_0xf8627f);if(!_0x55abf3)throw new AnnError(ValidatorError_1[_0x5710f2(0x78)][_0x5710f2(0xb0)]);_0x1d7a74['validationOptions']=Object[_0x5710f2(0x95)]((_0x1c093d=this[_0x5710f2(0xa5)]['validationOptions'])!==null&&_0x1c093d!==void 0x0?_0x1c093d:{},{'messages':this[_0x5710f2(0xa6)]},_0x1d7a74['validationOptions']||{}),_0x1d7a74[_0x5710f2(0x87)][_0x5710f2(0xa3)]=_0x1d7a74['validationOptions'][_0x5710f2(0xa3)]||{},_0x1d7a74[_0x5710f2(0x87)][_0x5710f2(0xa3)][_0x5710f2(0xa9)]=(0x0,i18n_1[_0x5710f2(0xa7)])(this[_0x5710f2(0x79)][_0x5710f2(0xa4)](_0x1d7a74[_0x5710f2(0x87)][_0x5710f2(0xa3)]['language']||_0x1d7a74[_0x5710f2(0x96)]||this['i18nConfig'][_0x5710f2(0xab)],'validator'));const _0x3d7081=_0x55abf3[_0x5710f2(0x86)](_0x40559d,_0x1d7a74[_0x5710f2(0x87)]);if(_0x3d7081===null||_0x3d7081===void 0x0?void 0x0:_0x3d7081[_0x5710f2(0x67)]){if(_0x3d7081['error']instanceof AnnError)throw _0x3d7081[_0x5710f2(0x67)];else{if(_0x3d7081['error']instanceof Error)throw new AnnError(ValidatorError_1[_0x5710f2(0x78)][_0x5710f2(0x8c)],{'message':((_0x2e04c2=_0x3d7081[_0x5710f2(0x67)])===null||_0x2e04c2===void 0x0?void 0x0:_0x2e04c2[_0x5710f2(0xa8)])||_0x5710f2(0x8a)});else throw new AnnError(ValidatorError_1['ValidatorError'][_0x5710f2(0x8c)],{'message':((_0x318d36=(_0x31638e=(_0x5cb1a5=_0x3d7081[_0x5710f2(0x67)])===null||_0x5cb1a5===void 0x0?void 0x0:_0x5cb1a5[_0x5710f2(0x83)])===null||_0x31638e===void 0x0?void 0x0:_0x31638e[0x0])===null||_0x318d36===void 0x0?void 0x0:_0x318d36['message'])||_0x5710f2(0x8a)});}}if(_0x3d7081===null||_0x3d7081===void 0x0?void 0x0:_0x3d7081[_0x5710f2(0x6c)]){const _0x5a3acf=(_0x1edb3e=_0x55abf3===null||_0x55abf3===void 0x0?void 0x0:_0x55abf3[_0x5710f2(0x88)])===null||_0x1edb3e===void 0x0?void 0x0:_0x1edb3e['keys'],_0x42e30a=function(_0x189975,_0x339d06){const _0x5d3a35=_0x5710f2;var _0x148708,_0x3ed6f9,_0x16385e,_0x353ff6,_0x2cfb43,_0x272d95,_0x55a8eb,_0x2b7903,_0x1c6762,_0x1ff7d0,_0x2969f4;for(let _0x736285 in _0x189975){if(_0x339d06[(_0x148708=_0x189975[_0x736285])===null||_0x148708===void 0x0?void 0x0:_0x148708[_0x5d3a35(0x75)]]&&((_0x16385e=(_0x3ed6f9=_0x189975[_0x736285])===null||_0x3ed6f9===void 0x0?void 0x0:_0x3ed6f9[_0x5d3a35(0x91)])===null||_0x16385e===void 0x0?void 0x0:_0x16385e['type'])){if(((_0x2cfb43=(_0x353ff6=_0x189975[_0x736285])===null||_0x353ff6===void 0x0?void 0x0:_0x353ff6[_0x5d3a35(0x91)])===null||_0x2cfb43===void 0x0?void 0x0:_0x2cfb43[_0x5d3a35(0x8e)])==_0x5d3a35(0x8d))_0x339d06[_0x189975[_0x736285][_0x5d3a35(0x75)]]=_0x42e30a((_0x55a8eb=(_0x272d95=_0x189975[_0x736285])===null||_0x272d95===void 0x0?void 0x0:_0x272d95[_0x5d3a35(0x91)][_0x5d3a35(0x88)])===null||_0x55a8eb===void 0x0?void 0x0:_0x55a8eb[_0x5d3a35(0x6b)],_0x339d06[_0x189975[_0x736285][_0x5d3a35(0x75)]]);else{if(_0x189975[_0x736285][_0x5d3a35(0x91)][_0x5d3a35(0x8e)]==_0x5d3a35(0x81)&&_0x3d7081[_0x5d3a35(0x6c)][(_0x2b7903=_0x189975[_0x736285])===null||_0x2b7903===void 0x0?void 0x0:_0x2b7903['key']]){const _0x281311=((_0x2969f4=(_0x1ff7d0=(_0x1c6762=_0x189975[_0x736285])===null||_0x1c6762===void 0x0?void 0x0:_0x1c6762['schema'])===null||_0x1ff7d0===void 0x0?void 0x0:_0x1ff7d0[_0x5d3a35(0x97)])===null||_0x2969f4===void 0x0?void 0x0:_0x2969f4[_0x5d3a35(0x69)])||_0x5d3a35(0x80);_0x339d06[_0x189975[_0x736285][_0x5d3a35(0x75)]]=dayjs(_0x3d7081[_0x5d3a35(0x6c)][_0x189975[_0x736285]['key']])[_0x5d3a35(0x69)](_0x281311);}}}}return _0x339d06;};return _0x42e30a(_0x5a3acf,_0x3d7081['value']);}throw new AnnError(ValidatorError_1[_0x5710f2(0x78)]['PARAMS']);}};exports[a9_0x51b99a(0x7a)]=ValidatorService,__decorate([(0x0,core_1[a9_0x51b99a(0x6a)])(a9_0x51b99a(0xaa)),__metadata('design:type',Object)],ValidatorService[a9_0x51b99a(0x72)],a9_0x51b99a(0x7b),void 0x0),__decorate([(0x0,core_1['Config'])(a9_0x51b99a(0x68)),__metadata('design:type',Object)],ValidatorService['prototype'],'validatorConfig',void 0x0),__decorate([(0x0,core_1[a9_0x51b99a(0xae)])(),__metadata(a9_0x51b99a(0x7c),i18n_1[a9_0x51b99a(0xac)])],ValidatorService['prototype'],a9_0x51b99a(0x79),void 0x0),__decorate([(0x0,core_1['Init'])(),__metadata(a9_0x51b99a(0x7c),Function),__metadata(a9_0x51b99a(0x8f),[]),__metadata(a9_0x51b99a(0x76),Promise)],ValidatorService[a9_0x51b99a(0x72)],a9_0x51b99a(0xa1),null),exports[a9_0x51b99a(0x7a)]=ValidatorService=__decorate([(0x0,core_1[a9_0x51b99a(0x84)])(a9_0x51b99a(0x68)),(0x0,core_1[a9_0x51b99a(0x7d)])(core_1['ScopeEnum'][a9_0x51b99a(0xad)])],ValidatorService);function a9_0x5543(){const _0x42ba8b=['type','design:paramtypes','__metadata','schema','localeTable','apply','32463JXVDFF','assign','locale','_flags','getSchema','(((.+)+)+)+$','length','@midwayjs/core','1318787EAKoNg','480NOKjQh','__esModule','toString','constructor','init','322686aggGqG','errors','getAvailableLocale','validatorConfig','messages','formatLocale','message','language','i18n','defaultLocale','MidwayI18nServiceSingleton','Singleton','Inject','search','NOFIND_SCHEMA','decorate','forEach','error','validator','format','Config','keys','value','1081056GGarly','function','getOwnPropertyDescriptor','3823216GPakFT','4652UamVAZ','prototype','__decorate','metadata','key','design:returntype','defineProperty','ValidatorError','i18nService','ValidatorService','i18nConfig','design:type','Scope','@midwayjs/i18n','joi','YYYY-MM-DD\x20HH:mm:ss','date','../exception/ValidatorError','details','Provide','1011LWeArL','validate','validationOptions','$_terms','isSchema','参数验证失败','2469370zDNsYo','PARAMS','object'];a9_0x5543=function(){return _0x42ba8b;};return a9_0x5543();}
package/index.d.ts CHANGED
@@ -1,10 +1,10 @@
1
-
2
- export * from './dist/index';
3
-
4
- declare module 'joi' {
5
-
6
- interface DateSchema {
7
- format(format: string | string[]): this;
8
- utc(): this;
9
- }
1
+
2
+ export * from './dist/index';
3
+
4
+ declare module 'joi' {
5
+
6
+ interface DateSchema {
7
+ format(format: string | string[]): this;
8
+ utc(): this;
9
+ }
10
10
  }
@@ -1,116 +1,116 @@
1
- {
2
- "alternatives.all": "{{#label}} does not match all of the required types",
3
- "alternatives.any": "{{#label}} does not match any of the allowed types",
4
- "alternatives.match": "{{#label}} does not match any of the allowed types",
5
- "alternatives.one": "{{#label}} matches more than one allowed type",
6
- "alternatives.types": "{{#label}} must be one of {{#types}}",
7
- "any.custom": "{{#label}} failed custom validation because {{#error.message}}",
8
- "any.default": "{{#label}} threw an error when running default method",
9
- "any.failover": "{{#label}} threw an error when running failover method",
10
- "any.invalid": "{{#label}} contains an invalid value",
11
- "any.only": "{{#label}} must be {if(#valids.length == 1, \"\", \"one of \")}{{#valids}}",
12
- "any.ref": "{{#label}} {{#arg}} references {{:#ref}} which {{#reason}}",
13
- "any.required": "{{#label}} is required",
14
- "any.unknown": "{{#label}} is not allowed",
15
- "array.base": "{{#label}} must be an array",
16
- "array.excludes": "{{#label}} contains an excluded value",
17
- "array.hasKnown": "{{#label}} does not contain at least one required match for type {:#patternLabel}",
18
- "array.hasUnknown": "{{#label}} does not contain at least one required match",
19
- "array.includes": "{{#label}} does not match any of the allowed types",
20
- "array.includesRequiredBoth": "{{#label}} does not contain {{#knownMisses}} and {{#unknownMisses}} other required value(s)",
21
- "array.includesRequiredKnowns": "{{#label}} does not contain {{#knownMisses}}",
22
- "array.includesRequiredUnknowns": "{{#label}} does not contain {{#unknownMisses}} required value(s)",
23
- "array.length": "{{#label}} must contain {{#limit}} items",
24
- "array.max": "{{#label}} must contain less than or equal to {{#limit}} items",
25
- "array.min": "{{#label}} must contain at least {{#limit}} items",
26
- "array.orderedLength": "{{#label}} must contain at most {{#limit}} items",
27
- "array.sort": "{{#label}} must be sorted in {#order} order by {{#by}}",
28
- "array.sort.mismatching": "{{#label}} cannot be sorted due to mismatching types",
29
- "array.sort.unsupported": "{{#label}} cannot be sorted due to unsupported type {#type}",
30
- "array.sparse": "{{#label}} must not be a sparse array item",
31
- "array.unique": "{{#label}} contains a duplicate value",
32
- "binary.base": "{{#label}} must be a buffer or a string",
33
- "binary.length": "{{#label}} must be {{#limit}} bytes",
34
- "binary.max": "{{#label}} must be less than or equal to {{#limit}} bytes",
35
- "binary.min": "{{#label}} must be at least {{#limit}} bytes",
36
- "boolean.base": "{{#label}} must be a boolean",
37
- "date.base": "{{#label}} must be a valid date",
38
- "date.format": "{{#label}} must be in {msg(\"date.format.\" + #format) || #format} format",
39
- "date.greater": "{{#label}} must be greater than {{:#limit}}",
40
- "date.less": "{{#label}} must be less than {{:#limit}}",
41
- "date.max": "{{#label}} must be less than or equal to {{:#limit}}",
42
- "date.min": "{{#label}} must be greater than or equal to {{:#limit}}",
43
- "date.format.iso": "ISO 8601 date",
44
- "date.format.javascript": "timestamp or number of milliseconds",
45
- "date.format.unix": "timestamp or number of seconds",
46
- "function.arity": "{{#label}} must have an arity of {{#n}}",
47
- "function.class": "{{#label}} must be a class",
48
- "function.maxArity": "{{#label}} must have an arity lesser or equal to {{#n}}",
49
- "function.minArity": "{{#label}} must have an arity greater or equal to {{#n}}",
50
- "object.and": "{{#label}} contains {{#presentWithLabels}} without its required peers {{#missingWithLabels}}",
51
- "object.assert": "{{#label}} is invalid because {if(#subject.key, `\"` + #subject.key + `\" failed to ` + (#message || \"pass the assertion test\"), #message || \"the assertion failed\")}",
52
- "object.base": "{{#label}} must be of type {{#type}}",
53
- "object.instance": "{{#label}} must be an instance of {{:#type}}",
54
- "object.length": "{{#label}} must have {{#limit}} key{if(#limit == 1, \"\", \"s\")}",
55
- "object.max": "{{#label}} must have less than or equal to {{#limit}} key{if(#limit == 1, \"\", \"s\")}",
56
- "object.min": "{{#label}} must have at least {{#limit}} key{if(#limit == 1, \"\", \"s\")}",
57
- "object.missing": "{{#label}} must contain at least one of {{#peersWithLabels}}",
58
- "object.nand": "{{:#mainWithLabel}} must not exist simultaneously with {{#peersWithLabels}}",
59
- "object.oxor": "{{#label}} contains a conflict between optional exclusive peers {{#peersWithLabels}}",
60
- "object.pattern.match": "{{#label}} keys failed to match pattern requirements",
61
- "object.refType": "{{#label}} must be a Joi reference",
62
- "object.regex": "{{#label}} must be a RegExp object",
63
- "object.rename.multiple": "{{#label}} cannot rename {{:#from}} because multiple renames are disabled and another key was already renamed to {{:#to}}",
64
- "object.rename.override": "{{#label}} cannot rename {{:#from}} because override is disabled and target {{:#to}} exists",
65
- "object.schema": "{{#label}} must be a Joi schema of {{#type}} type",
66
- "object.unknown": "{{#label}} is not allowed",
67
- "object.with": "{{:#mainWithLabel}} missing required peer {{:#peerWithLabel}}",
68
- "object.without": "{{:#mainWithLabel}} conflict with forbidden peer {{:#peerWithLabel}}",
69
- "object.xor": "{{#label}} contains a conflict between exclusive peers {{#peersWithLabels}}",
70
- "number.base": "{{#label}} must be a number",
71
- "number.greater": "{{#label}} must be greater than {{#limit}}",
72
- "number.infinity": "{{#label}} cannot be infinity",
73
- "number.integer": "{{#label}} must be an integer",
74
- "number.less": "{{#label}} must be less than {{#limit}}",
75
- "number.max": "{{#label}} must be less than or equal to {{#limit}}",
76
- "number.min": "{{#label}} must be greater than or equal to {{#limit}}",
77
- "number.multiple": "{{#label}} must be a multiple of {{#multiple}}",
78
- "number.negative": "{{#label}} must be a negative number",
79
- "number.port": "{{#label}} must be a valid port",
80
- "number.positive": "{{#label}} must be a positive number",
81
- "number.precision": "{{#label}} must have no more than {{#limit}} decimal places",
82
- "number.unsafe": "{{#label}} must be a safe number",
83
- "string.alphanum": "{{#label}} must only contain alpha-numeric characters",
84
- "string.base": "{{#label}} must be a string",
85
- "string.base64": "{{#label}} must be a valid base64 string",
86
- "string.creditCard": "{{#label}} must be a credit card",
87
- "string.dataUri": "{{#label}} must be a valid dataUri string",
88
- "string.domain": "{{#label}} must contain a valid domain name",
89
- "string.email": "{{#label}} must be a valid email",
90
- "string.empty": "{{#label}} is not allowed to be empty",
91
- "string.guid": "{{#label}} must be a valid GUID",
92
- "string.hex": "{{#label}} must only contain hexadecimal characters",
93
- "string.hexAlign": "{{#label}} hex decoded representation must be byte aligned",
94
- "string.hostname": "{{#label}} must be a valid hostname",
95
- "string.ip": "{{#label}} must be a valid ip address with a {{#cidr}} CIDR",
96
- "string.ipVersion": "{{#label}} must be a valid ip address of one of the following versions {{#version}} with a {{#cidr}} CIDR",
97
- "string.isoDate": "{{#label}} must be in iso format",
98
- "string.isoDuration": "{{#label}} must be a valid ISO 8601 duration",
99
- "string.length": "{{#label}} length must be {{#limit}} characters long",
100
- "string.lowercase": "{{#label}} must only contain lowercase characters",
101
- "string.max": "{{#label}} length must be less than or equal to {{#limit}} characters long",
102
- "string.min": "{{#label}} length must be at least {{#limit}} characters long",
103
- "string.normalize": "{{#label}} must be unicode normalized in the {{#form}} form",
104
- "string.token": "{{#label}} must only contain alpha-numeric and underscore characters",
105
- "string.pattern.base": "{{#label}} with value {:[.]} fails to match the required pattern: {{#regex}}",
106
- "string.pattern.name": "{{#label}} with value {:[.]} fails to match the {{#name}} pattern",
107
- "string.pattern.invert.base": "{{#label}} with value {:[.]} matches the inverted pattern: {{#regex}}",
108
- "string.pattern.invert.name": "{{#label}} with value {:[.]} matches the inverted {{#name}} pattern",
109
- "string.trim": "{{#label}} must not have leading or trailing whitespace",
110
- "string.uri": "{{#label}} must be a valid uri",
111
- "string.uriCustomScheme": "{{#label}} must be a valid uri with a scheme matching the {{#scheme}} pattern",
112
- "string.uriRelativeOnly": "{{#label}} must be a valid relative uri",
113
- "string.uppercase": "{{#label}} must only contain uppercase characters",
114
- "symbol.base": "{{#label}} must be a symbol",
115
- "symbol.map": "{{#label}} must be one of {{#map}}"
116
- }
1
+ {
2
+ "alternatives.all": "{{#label}} does not match all of the required types",
3
+ "alternatives.any": "{{#label}} does not match any of the allowed types",
4
+ "alternatives.match": "{{#label}} does not match any of the allowed types",
5
+ "alternatives.one": "{{#label}} matches more than one allowed type",
6
+ "alternatives.types": "{{#label}} must be one of {{#types}}",
7
+ "any.custom": "{{#label}} failed custom validation because {{#error.message}}",
8
+ "any.default": "{{#label}} threw an error when running default method",
9
+ "any.failover": "{{#label}} threw an error when running failover method",
10
+ "any.invalid": "{{#label}} contains an invalid value",
11
+ "any.only": "{{#label}} must be {if(#valids.length == 1, \"\", \"one of \")}{{#valids}}",
12
+ "any.ref": "{{#label}} {{#arg}} references {{:#ref}} which {{#reason}}",
13
+ "any.required": "{{#label}} is required",
14
+ "any.unknown": "{{#label}} is not allowed",
15
+ "array.base": "{{#label}} must be an array",
16
+ "array.excludes": "{{#label}} contains an excluded value",
17
+ "array.hasKnown": "{{#label}} does not contain at least one required match for type {:#patternLabel}",
18
+ "array.hasUnknown": "{{#label}} does not contain at least one required match",
19
+ "array.includes": "{{#label}} does not match any of the allowed types",
20
+ "array.includesRequiredBoth": "{{#label}} does not contain {{#knownMisses}} and {{#unknownMisses}} other required value(s)",
21
+ "array.includesRequiredKnowns": "{{#label}} does not contain {{#knownMisses}}",
22
+ "array.includesRequiredUnknowns": "{{#label}} does not contain {{#unknownMisses}} required value(s)",
23
+ "array.length": "{{#label}} must contain {{#limit}} items",
24
+ "array.max": "{{#label}} must contain less than or equal to {{#limit}} items",
25
+ "array.min": "{{#label}} must contain at least {{#limit}} items",
26
+ "array.orderedLength": "{{#label}} must contain at most {{#limit}} items",
27
+ "array.sort": "{{#label}} must be sorted in {#order} order by {{#by}}",
28
+ "array.sort.mismatching": "{{#label}} cannot be sorted due to mismatching types",
29
+ "array.sort.unsupported": "{{#label}} cannot be sorted due to unsupported type {#type}",
30
+ "array.sparse": "{{#label}} must not be a sparse array item",
31
+ "array.unique": "{{#label}} contains a duplicate value",
32
+ "binary.base": "{{#label}} must be a buffer or a string",
33
+ "binary.length": "{{#label}} must be {{#limit}} bytes",
34
+ "binary.max": "{{#label}} must be less than or equal to {{#limit}} bytes",
35
+ "binary.min": "{{#label}} must be at least {{#limit}} bytes",
36
+ "boolean.base": "{{#label}} must be a boolean",
37
+ "date.base": "{{#label}} must be a valid date",
38
+ "date.format": "{{#label}} must be in {msg(\"date.format.\" + #format) || #format} format",
39
+ "date.greater": "{{#label}} must be greater than {{:#limit}}",
40
+ "date.less": "{{#label}} must be less than {{:#limit}}",
41
+ "date.max": "{{#label}} must be less than or equal to {{:#limit}}",
42
+ "date.min": "{{#label}} must be greater than or equal to {{:#limit}}",
43
+ "date.format.iso": "ISO 8601 date",
44
+ "date.format.javascript": "timestamp or number of milliseconds",
45
+ "date.format.unix": "timestamp or number of seconds",
46
+ "function.arity": "{{#label}} must have an arity of {{#n}}",
47
+ "function.class": "{{#label}} must be a class",
48
+ "function.maxArity": "{{#label}} must have an arity lesser or equal to {{#n}}",
49
+ "function.minArity": "{{#label}} must have an arity greater or equal to {{#n}}",
50
+ "object.and": "{{#label}} contains {{#presentWithLabels}} without its required peers {{#missingWithLabels}}",
51
+ "object.assert": "{{#label}} is invalid because {if(#subject.key, `\"` + #subject.key + `\" failed to ` + (#message || \"pass the assertion test\"), #message || \"the assertion failed\")}",
52
+ "object.base": "{{#label}} must be of type {{#type}}",
53
+ "object.instance": "{{#label}} must be an instance of {{:#type}}",
54
+ "object.length": "{{#label}} must have {{#limit}} key{if(#limit == 1, \"\", \"s\")}",
55
+ "object.max": "{{#label}} must have less than or equal to {{#limit}} key{if(#limit == 1, \"\", \"s\")}",
56
+ "object.min": "{{#label}} must have at least {{#limit}} key{if(#limit == 1, \"\", \"s\")}",
57
+ "object.missing": "{{#label}} must contain at least one of {{#peersWithLabels}}",
58
+ "object.nand": "{{:#mainWithLabel}} must not exist simultaneously with {{#peersWithLabels}}",
59
+ "object.oxor": "{{#label}} contains a conflict between optional exclusive peers {{#peersWithLabels}}",
60
+ "object.pattern.match": "{{#label}} keys failed to match pattern requirements",
61
+ "object.refType": "{{#label}} must be a Joi reference",
62
+ "object.regex": "{{#label}} must be a RegExp object",
63
+ "object.rename.multiple": "{{#label}} cannot rename {{:#from}} because multiple renames are disabled and another key was already renamed to {{:#to}}",
64
+ "object.rename.override": "{{#label}} cannot rename {{:#from}} because override is disabled and target {{:#to}} exists",
65
+ "object.schema": "{{#label}} must be a Joi schema of {{#type}} type",
66
+ "object.unknown": "{{#label}} is not allowed",
67
+ "object.with": "{{:#mainWithLabel}} missing required peer {{:#peerWithLabel}}",
68
+ "object.without": "{{:#mainWithLabel}} conflict with forbidden peer {{:#peerWithLabel}}",
69
+ "object.xor": "{{#label}} contains a conflict between exclusive peers {{#peersWithLabels}}",
70
+ "number.base": "{{#label}} must be a number",
71
+ "number.greater": "{{#label}} must be greater than {{#limit}}",
72
+ "number.infinity": "{{#label}} cannot be infinity",
73
+ "number.integer": "{{#label}} must be an integer",
74
+ "number.less": "{{#label}} must be less than {{#limit}}",
75
+ "number.max": "{{#label}} must be less than or equal to {{#limit}}",
76
+ "number.min": "{{#label}} must be greater than or equal to {{#limit}}",
77
+ "number.multiple": "{{#label}} must be a multiple of {{#multiple}}",
78
+ "number.negative": "{{#label}} must be a negative number",
79
+ "number.port": "{{#label}} must be a valid port",
80
+ "number.positive": "{{#label}} must be a positive number",
81
+ "number.precision": "{{#label}} must have no more than {{#limit}} decimal places",
82
+ "number.unsafe": "{{#label}} must be a safe number",
83
+ "string.alphanum": "{{#label}} must only contain alpha-numeric characters",
84
+ "string.base": "{{#label}} must be a string",
85
+ "string.base64": "{{#label}} must be a valid base64 string",
86
+ "string.creditCard": "{{#label}} must be a credit card",
87
+ "string.dataUri": "{{#label}} must be a valid dataUri string",
88
+ "string.domain": "{{#label}} must contain a valid domain name",
89
+ "string.email": "{{#label}} must be a valid email",
90
+ "string.empty": "{{#label}} is not allowed to be empty",
91
+ "string.guid": "{{#label}} must be a valid GUID",
92
+ "string.hex": "{{#label}} must only contain hexadecimal characters",
93
+ "string.hexAlign": "{{#label}} hex decoded representation must be byte aligned",
94
+ "string.hostname": "{{#label}} must be a valid hostname",
95
+ "string.ip": "{{#label}} must be a valid ip address with a {{#cidr}} CIDR",
96
+ "string.ipVersion": "{{#label}} must be a valid ip address of one of the following versions {{#version}} with a {{#cidr}} CIDR",
97
+ "string.isoDate": "{{#label}} must be in iso format",
98
+ "string.isoDuration": "{{#label}} must be a valid ISO 8601 duration",
99
+ "string.length": "{{#label}} length must be {{#limit}} characters long",
100
+ "string.lowercase": "{{#label}} must only contain lowercase characters",
101
+ "string.max": "{{#label}} length must be less than or equal to {{#limit}} characters long",
102
+ "string.min": "{{#label}} length must be at least {{#limit}} characters long",
103
+ "string.normalize": "{{#label}} must be unicode normalized in the {{#form}} form",
104
+ "string.token": "{{#label}} must only contain alpha-numeric and underscore characters",
105
+ "string.pattern.base": "{{#label}} with value {:[.]} fails to match the required pattern: {{#regex}}",
106
+ "string.pattern.name": "{{#label}} with value {:[.]} fails to match the {{#name}} pattern",
107
+ "string.pattern.invert.base": "{{#label}} with value {:[.]} matches the inverted pattern: {{#regex}}",
108
+ "string.pattern.invert.name": "{{#label}} with value {:[.]} matches the inverted {{#name}} pattern",
109
+ "string.trim": "{{#label}} must not have leading or trailing whitespace",
110
+ "string.uri": "{{#label}} must be a valid uri",
111
+ "string.uriCustomScheme": "{{#label}} must be a valid uri with a scheme matching the {{#scheme}} pattern",
112
+ "string.uriRelativeOnly": "{{#label}} must be a valid relative uri",
113
+ "string.uppercase": "{{#label}} must only contain uppercase characters",
114
+ "symbol.base": "{{#label}} must be a symbol",
115
+ "symbol.map": "{{#label}} must be one of {{#map}}"
116
+ }
@@ -1,116 +1,116 @@
1
- {
2
- "alternatives.all": "{{#label}} 不能匹配上所以可选项",
3
- "alternatives.any": "{{#label}} 不能匹配上任何可选项",
4
- "alternatives.match": "{{#label}} 不能匹配上任何可选项",
5
- "alternatives.one": "{{#label}} 匹配超过一个可选项",
6
- "alternatives.types": "{{#label}} 必须是 {{#types}}",
7
- "any.custom": "{{#label}} 自定义校验失败,原因为 {{#error.message}}",
8
- "any.default": "{{#label}} 运行默认函数时出错",
9
- "any.failover": "{{#label}} 运行 failover 函数时出错",
10
- "any.invalid": "{{#label}} 不是可选值",
11
- "any.only": "{{#label}} 必须是 {{#valids}} {if(#valids.length == 1, \"\", \"中的一个\")}",
12
- "any.ref": "{{#label}} {{#arg}} 引用 {{:#ref}} 其中 {{#reason}}",
13
- "any.required": "{{#label}} 不能为空",
14
- "any.unknown": "{{#label}} 参数错误",
15
- "array.base": "{{#label}} 必须是数组",
16
- "array.excludes": "{{#label}} 包含非法的值",
17
- "array.hasKnown": "{{#label}} 中至少一个类型为 {:#patternLabel} 的选项",
18
- "array.hasUnknown": "{{#label}} 中至少有一个选项",
19
- "array.includes": "{{#label}} 不能匹配任何可选项",
20
- "array.includesRequiredBoth": "{{#label}} 不包含 {{#knownMisses}} 及 {{#unknownMisses}} 个必选项",
21
- "array.includesRequiredKnowns": "{{#label}} 不包含 {{#knownMisses}} 等必选项",
22
- "array.includesRequiredUnknowns": "{{#label}} 不包含 {{#unknownMisses}} 个必选项",
23
- "array.length": "{{#label}} 必须正好包含 {{#limit}} 个成员",
24
- "array.max": "{{#label}} 最多包含 {{#limit}} 个成员",
25
- "array.min": "{{#label}} 至少包含 {{#limit}} 个成员",
26
- "array.orderedLength": "{{#label}} 必须至少包含 {{#limit}} 个成员",
27
- "array.sort": "{{#label}} 必须按 {#order} 顺序按 {{#by}} 排序",
28
- "array.sort.mismatching": "{{#label}} 由于类型不匹配而无法排序",
29
- "array.sort.unsupported": "{{#label}} 类型 {#type} 不支持排序",
30
- "array.sparse": "{{#label}} 不能包含未定义成员",
31
- "array.unique": "{{#label}} 是重复的成员",
32
- "binary.base": "{{#label}} 必须是一段内容",
33
- "binary.length": "{{#label}} 至少包含 {{#limit}} 个字节",
34
- "binary.max": "{{#label}} 最多包含 {{#limit}} 个字节",
35
- "binary.min": "{{#label}} 至少包含 {{#limit}} 个字节",
36
- "boolean.base": "{{#label}} 必须是 bool 值",
37
- "date.base": "{{#label}} 必须是毫秒数或者有效的时间字符串",
38
- "date.format": "{{#label}} 必须是以下格式的字符串 {msg(\"date.format.\" + #format) || #format}",
39
- "date.greater": "{{#label}} 必须晚于 {{:#limit}}",
40
- "date.less": "{{#label}} 必须早于 {{:#limit}}",
41
- "date.max": "{{#label}} 必须早于 {{:#limit}}",
42
- "date.min": "{{#label}} 必须晚于 {{:#limit}}",
43
- "date.format.iso": "必须是有效的\"ISO 8601\"格式的时间",
44
- "date.format.javascript": "必须是有效的时间戳或者毫秒数",
45
- "date.format.unix": "必须是有效的时间戳或者秒数",
46
- "function.arity": "{{#label}} 必须正好拥有 {{#n}} 个参数",
47
- "function.class": "{{#label}} 必须是对象类",
48
- "function.maxArity": "{{#label}} 必须最多拥有 {{#n}} 个参数",
49
- "function.minArity": "{{#label}} 必须至少拥有 {{#n}} 个参数",
50
- "object.and": "{{#label}} 当前 {{#presentWithLabels}} 需要有对应的 {{#missingWithLabels}}",
51
- "object.assert": "{{#label}} 无效,原因为 {if(#subject.key, `\"` + #subject.key + `\" failed to ` + (#message || \"pass the assertion test\"), #message || \"the assertion failed\")}",
52
- "object.base": "{{#label}} 必须是一个对象 {{#type}}",
53
- "object.instance": "{{#label}} 必须是一个 {{:#type}} 的实例",
54
- "object.length": "{{#label}} 必须正好包含 {{#limit}} 个子对象",
55
- "object.max": "{{#label}} 最多包含 {{#limit}} 个子对象",
56
- "object.min": "{{#label}} 至少包含 {{#limit}} 个子对象",
57
- "object.missing": "{{#label}} 没有对应的 {{#peersWithLabels}}",
58
- "object.nand": "{{:#mainWithLabel}} 不得与 {{#peersWithLabels}} 同时存在",
59
- "object.oxor": "{{#label}} 和 {{#peerWithLabels}} 有冲突",
60
- "object.pattern.match": "{{#label}} 键匹配失败",
61
- "object.refType": "{{#label}} 必须是 Joi 引用",
62
- "object.regex": "{{#label}} 必须是正则对象",
63
- "object.rename.multiple": "{{#label}} 无法重命名 {{:#from}} 因为多次重命名被禁用并且另一个键已经重命名为 {{:#to}}",
64
- "object.rename.override": "{{#label}} 无法重命名 {{:#from}} 因为覆盖被禁用并且目标 {{:#to}} 存在",
65
- "object.schema": "{{#label}} 必须是 {{#type}} 类型的 Joi Schema",
66
- "object.unknown": "{{#label}} 不被允许",
67
- "object.with": "{{:#mainWithLabel}} 缺少必需的对等方 {{:#peerWithLabel}}",
68
- "object.without": "{{:#mainWithLabel}} 与禁止的节点冲突 {{:#peerWithLabel}}",
69
- "object.xor": "{{#label}} 包含独占对等体之间的冲突 {{#peersWithLabels}}",
70
- "number.base": "{{#label}} 必须是数值",
71
- "number.greater": "{{#label}} 必须大于 {{#limit}}",
72
- "number.infinity": "{{#label}} 不能是无穷大",
73
- "number.integer": "{{#label}} 必须是整数",
74
- "number.less": "{{#label}} 必须小于 {{#limit}}",
75
- "number.max": "{{#label}} 必须小于或等于 {{#limit}}",
76
- "number.min": "{{#label}} 必须大于或等于 {{#limit}}",
77
- "number.multiple": "{{#label}} 必须是 {{#multiple}} 的倍数",
78
- "number.negative": "{{#label}} 必须是负数",
79
- "number.port": "{{#label}} 必须是有效的端口号",
80
- "number.positive": "{{#label}} 必须是正数",
81
- "number.precision": "{{#label}} 必须有 {{#limit}} 位小数",
82
- "number.unsafe": "{{#label}} 必须是安全号码",
83
- "string.alphanum": "{{#label}} must only contain alpha-numeric characters",
84
- "string.base": "{{#label}} 必须是字符串",
85
- "string.base64": "{{#label}} 必须是有效的 base64 字符串",
86
- "string.creditCard": "{{#label}} 必须是有效的信用卡号",
87
- "string.dataUri": "{{#label}} 必须是有效的 dataUri 字符串",
88
- "string.domain": "{{#label}} 必须包含有效的域名",
89
- "string.email": "{{#label}} 必须是有效的电子邮件",
90
- "string.empty": "{{#label}} 不能为空",
91
- "string.guid": "{{#label}} 必须是有效的 GUID",
92
- "string.hex": "{{#label}} 只能包含十六进制字符",
93
- "string.hexAlign": "{{#label}} 十六进制解码表示必须字节对齐",
94
- "string.hostname": "{{#label}} 必须是有效的主机名",
95
- "string.ip": "{{#label}} 必须是具有 {{#cidr}} CIDR 的有效 IP 地址",
96
- "string.ipVersion": "{{#label}} 必须是以下版本之一的有效 IP 地址 {{#version}} 和 {{#cidr}} CIDR",
97
- "string.isoDate": "{{#label}} 必须是 iso 格式",
98
- "string.isoDuration": "{{#label}} 必须是有效的 ISO 8601 持续时间",
99
- "string.length": "{{#label}} 长度必须为 {{#limit}} 个字符长",
100
- "string.lowercase": "{{#label}} 只能包含小写字符",
101
- "string.max": "{{#label}} 长度必须小于或等于 {{#limit}} 个字符长",
102
- "string.min": "{{#label}} 长度必须至少为 {{#limit}} 个字符长",
103
- "string.normalize": "{{#label}} 必须以 {{#form}} 形式进行 unicode 规范化",
104
- "string.token": "{{#label}} 只能包含字母数字和下划线字符",
105
- "string.pattern.base": "{{#label}} 的值为 {:[.]} 未能匹配所需的模式:{{#regex}}",
106
- "string.pattern.name": "{{#label}} 值为 {:[.]} 未能匹配 {{#name}} 模式",
107
- "string.pattern.invert.base": "{{#label}} 与值 {:[.]} 匹配反转模式:{{#regex}}",
108
- "string.pattern.invert.name": "{{#label}} 与值 {:[.]} 匹配倒置的 {{#name}} 模式",
109
- "string.trim": "{{#label}} 不得前后空格",
110
- "string.uri": "{{#label}} 必须是有效的 uri",
111
- "string.uriCustomScheme": "{{#label}} 必须是有效的 uri,其方案与 {{#scheme}} 模式匹配",
112
- "string.uriRelativeOnly": "{{#label}} 必须是有效的相对 uri",
113
- "string.uppercase": "{{#label}} 只能包含大写字符",
114
- "symbol.base": "{{#label}} 必须是符号",
115
- "symbol.map": "{{#label}} 必须是 {{#map}} 之一"
116
- }
1
+ {
2
+ "alternatives.all": "{{#label}} 不能匹配上所以可选项",
3
+ "alternatives.any": "{{#label}} 不能匹配上任何可选项",
4
+ "alternatives.match": "{{#label}} 不能匹配上任何可选项",
5
+ "alternatives.one": "{{#label}} 匹配超过一个可选项",
6
+ "alternatives.types": "{{#label}} 必须是 {{#types}}",
7
+ "any.custom": "{{#label}} 自定义校验失败,原因为 {{#error.message}}",
8
+ "any.default": "{{#label}} 运行默认函数时出错",
9
+ "any.failover": "{{#label}} 运行 failover 函数时出错",
10
+ "any.invalid": "{{#label}} 不是可选值",
11
+ "any.only": "{{#label}} 必须是 {{#valids}} {if(#valids.length == 1, \"\", \"中的一个\")}",
12
+ "any.ref": "{{#label}} {{#arg}} 引用 {{:#ref}} 其中 {{#reason}}",
13
+ "any.required": "{{#label}} 不能为空",
14
+ "any.unknown": "{{#label}} 参数错误",
15
+ "array.base": "{{#label}} 必须是数组",
16
+ "array.excludes": "{{#label}} 包含非法的值",
17
+ "array.hasKnown": "{{#label}} 中至少一个类型为 {:#patternLabel} 的选项",
18
+ "array.hasUnknown": "{{#label}} 中至少有一个选项",
19
+ "array.includes": "{{#label}} 不能匹配任何可选项",
20
+ "array.includesRequiredBoth": "{{#label}} 不包含 {{#knownMisses}} 及 {{#unknownMisses}} 个必选项",
21
+ "array.includesRequiredKnowns": "{{#label}} 不包含 {{#knownMisses}} 等必选项",
22
+ "array.includesRequiredUnknowns": "{{#label}} 不包含 {{#unknownMisses}} 个必选项",
23
+ "array.length": "{{#label}} 必须正好包含 {{#limit}} 个成员",
24
+ "array.max": "{{#label}} 最多包含 {{#limit}} 个成员",
25
+ "array.min": "{{#label}} 至少包含 {{#limit}} 个成员",
26
+ "array.orderedLength": "{{#label}} 必须至少包含 {{#limit}} 个成员",
27
+ "array.sort": "{{#label}} 必须按 {#order} 顺序按 {{#by}} 排序",
28
+ "array.sort.mismatching": "{{#label}} 由于类型不匹配而无法排序",
29
+ "array.sort.unsupported": "{{#label}} 类型 {#type} 不支持排序",
30
+ "array.sparse": "{{#label}} 不能包含未定义成员",
31
+ "array.unique": "{{#label}} 是重复的成员",
32
+ "binary.base": "{{#label}} 必须是一段内容",
33
+ "binary.length": "{{#label}} 至少包含 {{#limit}} 个字节",
34
+ "binary.max": "{{#label}} 最多包含 {{#limit}} 个字节",
35
+ "binary.min": "{{#label}} 至少包含 {{#limit}} 个字节",
36
+ "boolean.base": "{{#label}} 必须是 bool 值",
37
+ "date.base": "{{#label}} 必须是毫秒数或者有效的时间字符串",
38
+ "date.format": "{{#label}} 必须是以下格式的字符串 {msg(\"date.format.\" + #format) || #format}",
39
+ "date.greater": "{{#label}} 必须晚于 {{:#limit}}",
40
+ "date.less": "{{#label}} 必须早于 {{:#limit}}",
41
+ "date.max": "{{#label}} 必须早于 {{:#limit}}",
42
+ "date.min": "{{#label}} 必须晚于 {{:#limit}}",
43
+ "date.format.iso": "必须是有效的\"ISO 8601\"格式的时间",
44
+ "date.format.javascript": "必须是有效的时间戳或者毫秒数",
45
+ "date.format.unix": "必须是有效的时间戳或者秒数",
46
+ "function.arity": "{{#label}} 必须正好拥有 {{#n}} 个参数",
47
+ "function.class": "{{#label}} 必须是对象类",
48
+ "function.maxArity": "{{#label}} 必须最多拥有 {{#n}} 个参数",
49
+ "function.minArity": "{{#label}} 必须至少拥有 {{#n}} 个参数",
50
+ "object.and": "{{#label}} 当前 {{#presentWithLabels}} 需要有对应的 {{#missingWithLabels}}",
51
+ "object.assert": "{{#label}} 无效,原因为 {if(#subject.key, `\"` + #subject.key + `\" failed to ` + (#message || \"pass the assertion test\"), #message || \"the assertion failed\")}",
52
+ "object.base": "{{#label}} 必须是一个对象 {{#type}}",
53
+ "object.instance": "{{#label}} 必须是一个 {{:#type}} 的实例",
54
+ "object.length": "{{#label}} 必须正好包含 {{#limit}} 个子对象",
55
+ "object.max": "{{#label}} 最多包含 {{#limit}} 个子对象",
56
+ "object.min": "{{#label}} 至少包含 {{#limit}} 个子对象",
57
+ "object.missing": "{{#label}} 没有对应的 {{#peersWithLabels}}",
58
+ "object.nand": "{{:#mainWithLabel}} 不得与 {{#peersWithLabels}} 同时存在",
59
+ "object.oxor": "{{#label}} 和 {{#peerWithLabels}} 有冲突",
60
+ "object.pattern.match": "{{#label}} 键匹配失败",
61
+ "object.refType": "{{#label}} 必须是 Joi 引用",
62
+ "object.regex": "{{#label}} 必须是正则对象",
63
+ "object.rename.multiple": "{{#label}} 无法重命名 {{:#from}} 因为多次重命名被禁用并且另一个键已经重命名为 {{:#to}}",
64
+ "object.rename.override": "{{#label}} 无法重命名 {{:#from}} 因为覆盖被禁用并且目标 {{:#to}} 存在",
65
+ "object.schema": "{{#label}} 必须是 {{#type}} 类型的 Joi Schema",
66
+ "object.unknown": "{{#label}} 不被允许",
67
+ "object.with": "{{:#mainWithLabel}} 缺少必需的对等方 {{:#peerWithLabel}}",
68
+ "object.without": "{{:#mainWithLabel}} 与禁止的节点冲突 {{:#peerWithLabel}}",
69
+ "object.xor": "{{#label}} 包含独占对等体之间的冲突 {{#peersWithLabels}}",
70
+ "number.base": "{{#label}} 必须是数值",
71
+ "number.greater": "{{#label}} 必须大于 {{#limit}}",
72
+ "number.infinity": "{{#label}} 不能是无穷大",
73
+ "number.integer": "{{#label}} 必须是整数",
74
+ "number.less": "{{#label}} 必须小于 {{#limit}}",
75
+ "number.max": "{{#label}} 必须小于或等于 {{#limit}}",
76
+ "number.min": "{{#label}} 必须大于或等于 {{#limit}}",
77
+ "number.multiple": "{{#label}} 必须是 {{#multiple}} 的倍数",
78
+ "number.negative": "{{#label}} 必须是负数",
79
+ "number.port": "{{#label}} 必须是有效的端口号",
80
+ "number.positive": "{{#label}} 必须是正数",
81
+ "number.precision": "{{#label}} 必须有 {{#limit}} 位小数",
82
+ "number.unsafe": "{{#label}} 必须是安全号码",
83
+ "string.alphanum": "{{#label}} must only contain alpha-numeric characters",
84
+ "string.base": "{{#label}} 必须是字符串",
85
+ "string.base64": "{{#label}} 必须是有效的 base64 字符串",
86
+ "string.creditCard": "{{#label}} 必须是有效的信用卡号",
87
+ "string.dataUri": "{{#label}} 必须是有效的 dataUri 字符串",
88
+ "string.domain": "{{#label}} 必须包含有效的域名",
89
+ "string.email": "{{#label}} 必须是有效的电子邮件",
90
+ "string.empty": "{{#label}} 不能为空",
91
+ "string.guid": "{{#label}} 必须是有效的 GUID",
92
+ "string.hex": "{{#label}} 只能包含十六进制字符",
93
+ "string.hexAlign": "{{#label}} 十六进制解码表示必须字节对齐",
94
+ "string.hostname": "{{#label}} 必须是有效的主机名",
95
+ "string.ip": "{{#label}} 必须是具有 {{#cidr}} CIDR 的有效 IP 地址",
96
+ "string.ipVersion": "{{#label}} 必须是以下版本之一的有效 IP 地址 {{#version}} 和 {{#cidr}} CIDR",
97
+ "string.isoDate": "{{#label}} 必须是 iso 格式",
98
+ "string.isoDuration": "{{#label}} 必须是有效的 ISO 8601 持续时间",
99
+ "string.length": "{{#label}} 长度必须为 {{#limit}} 个字符长",
100
+ "string.lowercase": "{{#label}} 只能包含小写字符",
101
+ "string.max": "{{#label}} 长度必须小于或等于 {{#limit}} 个字符长",
102
+ "string.min": "{{#label}} 长度必须至少为 {{#limit}} 个字符长",
103
+ "string.normalize": "{{#label}} 必须以 {{#form}} 形式进行 unicode 规范化",
104
+ "string.token": "{{#label}} 只能包含字母数字和下划线字符",
105
+ "string.pattern.base": "{{#label}} 的值为 {:[.]} 未能匹配所需的模式:{{#regex}}",
106
+ "string.pattern.name": "{{#label}} 值为 {:[.]} 未能匹配 {{#name}} 模式",
107
+ "string.pattern.invert.base": "{{#label}} 与值 {:[.]} 匹配反转模式:{{#regex}}",
108
+ "string.pattern.invert.name": "{{#label}} 与值 {:[.]} 匹配倒置的 {{#name}} 模式",
109
+ "string.trim": "{{#label}} 不得前后空格",
110
+ "string.uri": "{{#label}} 必须是有效的 uri",
111
+ "string.uriCustomScheme": "{{#label}} 必须是有效的 uri,其方案与 {{#scheme}} 模式匹配",
112
+ "string.uriRelativeOnly": "{{#label}} 必须是有效的相对 uri",
113
+ "string.uppercase": "{{#label}} 只能包含大写字符",
114
+ "symbol.base": "{{#label}} 必须是符号",
115
+ "symbol.map": "{{#label}} 必须是 {{#map}} 之一"
116
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anncic-api/validator",
3
- "version": "3.4.9",
3
+ "version": "3.4.12",
4
4
  "main": "./dist/index.js",
5
5
  "typings": "index.d.ts",
6
6
  "license": "MIT",
@@ -17,7 +17,7 @@
17
17
  "build": "tsc && javascript-obfuscator ./dist --output ./dist --config obfuscator.json"
18
18
  },
19
19
  "dependencies": {
20
- "@anncic-api/core": "^3.4.9",
20
+ "@anncic-api/core": "^3.4.12",
21
21
  "@joi/date": "^2.1.0",
22
22
  "joi": "^17.11.0"
23
23
  },
@@ -26,5 +26,5 @@
26
26
  "javascript-obfuscator": "^4.0.2",
27
27
  "typescript": "^5.1.3"
28
28
  },
29
- "gitHead": "6d493e304dc1e1bed59f5e66f49fdb01e46c616d"
29
+ "gitHead": "4698311c376ed7380293578bff0c8752db465352"
30
30
  }