@anncic-api/validator 1.0.8 → 1.0.13

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.
@@ -2,19 +2,14 @@ import * as Joi from "joi";
2
2
  import { MidwayI18nServiceSingleton } from '@midwayjs/i18n';
3
3
  export declare class ValidatorService {
4
4
  protected i18nConfig: any;
5
- protected validateConfig: any;
5
+ protected validatorConfig: any;
6
6
  protected i18nService: MidwayI18nServiceSingleton;
7
7
  protected messages: {};
8
- function(): Promise<void>;
8
+ init(): Promise<void>;
9
9
  getSchema<T extends new (...args: any[]) => any>(ClzType: T): Joi.ObjectSchema<any> | undefined;
10
- validateWithSchema<T>(schema: Joi.ObjectSchema<any>, value: any, options?: {
11
- locale?: string;
12
- errorStatus?: number;
13
- validationOptions?: Joi.ValidationOptions;
14
- }): any | undefined;
15
- validate<T extends new (...args: any[]) => any>(ClzType: T, value: any, options?: {
10
+ validator<T extends new (...args: any[]) => any>(ClzType: T | Joi.ObjectSchema<any>, value: any, options?: {
16
11
  errorStatus?: number;
17
12
  locale?: string;
18
13
  validationOptions?: Joi.ValidationOptions;
19
- }): any | undefined;
14
+ }): any;
20
15
  }
@@ -1 +1 @@
1
- 'use strict';const a10_0x27d444=a10_0xd7c6;(function(_0x2931d5,_0x4e23de){const _0x30cefd=a10_0xd7c6,_0x47ec40=_0x2931d5();while(!![]){try{const _0x1ec4e3=-parseInt(_0x30cefd(0x1c2))/0x1+-parseInt(_0x30cefd(0x1b8))/0x2*(-parseInt(_0x30cefd(0x1b0))/0x3)+-parseInt(_0x30cefd(0x1d4))/0x4+-parseInt(_0x30cefd(0x1d5))/0x5*(-parseInt(_0x30cefd(0x1c4))/0x6)+-parseInt(_0x30cefd(0x1a4))/0x7+parseInt(_0x30cefd(0x1dd))/0x8*(-parseInt(_0x30cefd(0x1cd))/0x9)+parseInt(_0x30cefd(0x1bd))/0xa;if(_0x1ec4e3===_0x4e23de)break;else _0x47ec40['push'](_0x47ec40['shift']());}catch(_0x3b4531){_0x47ec40['push'](_0x47ec40['shift']());}}}(a10_0x101b,0x3947e));var __decorate=this&&this[a10_0x27d444(0x1cb)]||function(_0x4afe10,_0x37b6d7,_0x3eae84,_0x59e139){const _0x13b358=a10_0x27d444;var _0x4d335b=arguments[_0x13b358(0x1b1)],_0x331eeb=_0x4d335b<0x3?_0x37b6d7:_0x59e139===null?_0x59e139=Object[_0x13b358(0x1ab)](_0x37b6d7,_0x3eae84):_0x59e139,_0x4f08a1;if(typeof Reflect===_0x13b358(0x1db)&&typeof Reflect[_0x13b358(0x1b5)]===_0x13b358(0x1ca))_0x331eeb=Reflect[_0x13b358(0x1b5)](_0x4afe10,_0x37b6d7,_0x3eae84,_0x59e139);else{for(var _0x20e392=_0x4afe10[_0x13b358(0x1b1)]-0x1;_0x20e392>=0x0;_0x20e392--)if(_0x4f08a1=_0x4afe10[_0x20e392])_0x331eeb=(_0x4d335b<0x3?_0x4f08a1(_0x331eeb):_0x4d335b>0x3?_0x4f08a1(_0x37b6d7,_0x3eae84,_0x331eeb):_0x4f08a1(_0x37b6d7,_0x3eae84))||_0x331eeb;}return _0x4d335b>0x3&&_0x331eeb&&Object[_0x13b358(0x1dc)](_0x37b6d7,_0x3eae84,_0x331eeb),_0x331eeb;},__metadata=this&&this[a10_0x27d444(0x1bb)]||function(_0x2d4f2c,_0x567e80){const _0x5d4b2a=a10_0x27d444;if(typeof Reflect===_0x5d4b2a(0x1db)&&typeof Reflect[_0x5d4b2a(0x1bc)]===_0x5d4b2a(0x1ca))return Reflect[_0x5d4b2a(0x1bc)](_0x2d4f2c,_0x567e80);};Object[a10_0x27d444(0x1dc)](exports,a10_0x27d444(0x1a9),{'value':!![]}),exports[a10_0x27d444(0x1d9)]=void 0x0;const Joi=require(a10_0x27d444(0x1a8)),i18n_1=require(a10_0x27d444(0x1b7)),decorator_1=require(a10_0x27d444(0x19d)),interface_1=require(a10_0x27d444(0x1b9)),ValidatorError_1=require(a10_0x27d444(0x1c1));function a10_0xd7c6(_0x23ec4c,_0x2202f3){const _0x101b16=a10_0x101b();return a10_0xd7c6=function(_0xd7c611,_0x5a8e66){_0xd7c611=_0xd7c611-0x19b;let _0x1abefb=_0x101b16[_0xd7c611];return _0x1abefb;},a10_0xd7c6(_0x23ec4c,_0x2202f3);}let ValidatorService=class ValidatorService{constructor(){const _0x4af20=a10_0x27d444;this[_0x4af20(0x1a0)]={};}async[a10_0x27d444(0x1ca)](){const _0x4cf515=a10_0x27d444,_0x282317=Object[_0x4cf515(0x1b3)](this[_0x4cf515(0x1d3)][_0x4cf515(0x1c3)]);_0x282317[_0x4cf515(0x1d8)](_0x5720cb=>{const _0x11e782=_0x4cf515;this[_0x11e782(0x1a0)][(0x0,i18n_1[_0x11e782(0x1d2)])(_0x5720cb)]=Object[_0x11e782(0x1ad)](this['i18nService'][_0x11e782(0x1c7)](_0x5720cb,_0x11e782(0x1be)));});}['getSchema'](_0x1542c5){const _0xbf7f08=a10_0x27d444,_0x1511f5=(0x0,decorator_1[_0xbf7f08(0x1c6)])(interface_1[_0xbf7f08(0x1ba)],_0x1542c5);return _0x1511f5?Joi[_0xbf7f08(0x1db)](_0x1511f5):undefined;}[a10_0x27d444(0x1ce)](_0x637d8d,_0x17084a,_0x1f9191={}){const _0x17632e=a10_0x27d444;var _0x195862,_0x14a406;_0x1f9191['validationOptions']=Object[_0x17632e(0x1aa)]((_0x195862=this[_0x17632e(0x1a6)][_0x17632e(0x1af)])!==null&&_0x195862!==void 0x0?_0x195862:{},{'messages':this[_0x17632e(0x1a0)]},_0x1f9191[_0x17632e(0x1af)]||{}),_0x1f9191[_0x17632e(0x1af)][_0x17632e(0x1ae)]=_0x1f9191[_0x17632e(0x1af)]['errors']||{},_0x1f9191[_0x17632e(0x1af)][_0x17632e(0x1ae)]['language']=(0x0,i18n_1[_0x17632e(0x1d2)])(this[_0x17632e(0x19f)][_0x17632e(0x1b2)](_0x1f9191[_0x17632e(0x1af)]['errors'][_0x17632e(0x1ac)]||_0x1f9191['locale']||this[_0x17632e(0x1d3)][_0x17632e(0x1d7)],_0x17632e(0x1be)));const _0x11b5db=_0x637d8d[_0x17632e(0x1be)](_0x17084a,_0x1f9191[_0x17632e(0x1af)]);if(_0x11b5db===null||_0x11b5db===void 0x0?void 0x0:_0x11b5db['error'])throw new AnnError(ValidatorError_1['ValidatorError'][_0x17632e(0x1a1)],{'validator':_0x11b5db[_0x17632e(0x1c0)]});else{if(_0x11b5db===null||_0x11b5db===void 0x0?void 0x0:_0x11b5db['value']){const _0x3555fd=(_0x14a406=_0x637d8d===null||_0x637d8d===void 0x0?void 0x0:_0x637d8d['$_terms'])===null||_0x14a406===void 0x0?void 0x0:_0x14a406[_0x17632e(0x1b3)],_0x3fad04=function(_0x61bd43,_0x5b930d){const _0xe91afd=_0x17632e;var _0xfe3714,_0x1d92aa,_0x19e39d,_0x298c81,_0x2a417c,_0x4a07d1,_0x4d3e40,_0x38655e,_0x239ba8,_0x46010d,_0x1b1511;for(let _0x2eb07e in _0x61bd43){if(_0x5b930d[(_0xfe3714=_0x61bd43[_0x2eb07e])===null||_0xfe3714===void 0x0?void 0x0:_0xfe3714['key']]&&((_0x19e39d=(_0x1d92aa=_0x61bd43[_0x2eb07e])===null||_0x1d92aa===void 0x0?void 0x0:_0x1d92aa[_0xe91afd(0x1a7)])===null||_0x19e39d===void 0x0?void 0x0:_0x19e39d['type'])){if(((_0x2a417c=(_0x298c81=_0x61bd43[_0x2eb07e])===null||_0x298c81===void 0x0?void 0x0:_0x298c81[_0xe91afd(0x1a7)])===null||_0x2a417c===void 0x0?void 0x0:_0x2a417c[_0xe91afd(0x1d0)])==_0xe91afd(0x1db))_0x5b930d[_0x61bd43[_0x2eb07e]['key']]=_0x3fad04((_0x4d3e40=(_0x4a07d1=_0x61bd43[_0x2eb07e])===null||_0x4a07d1===void 0x0?void 0x0:_0x4a07d1[_0xe91afd(0x1a7)][_0xe91afd(0x1c8)])===null||_0x4d3e40===void 0x0?void 0x0:_0x4d3e40[_0xe91afd(0x1b3)],_0x5b930d[_0x61bd43[_0x2eb07e][_0xe91afd(0x1cf)]]);else{if(_0x61bd43[_0x2eb07e][_0xe91afd(0x1a7)][_0xe91afd(0x1d0)]==_0xe91afd(0x19b)&&_0x11b5db[_0xe91afd(0x1cc)][(_0x38655e=_0x61bd43[_0x2eb07e])===null||_0x38655e===void 0x0?void 0x0:_0x38655e[_0xe91afd(0x1cf)]]){const _0x88e2fb=((_0x1b1511=(_0x46010d=(_0x239ba8=_0x61bd43[_0x2eb07e])===null||_0x239ba8===void 0x0?void 0x0:_0x239ba8[_0xe91afd(0x1a7)])===null||_0x46010d===void 0x0?void 0x0:_0x46010d[_0xe91afd(0x19c)])===null||_0x1b1511===void 0x0?void 0x0:_0x1b1511[_0xe91afd(0x1a5)])||_0xe91afd(0x1de);_0x5b930d[_0x61bd43[_0x2eb07e][_0xe91afd(0x1cf)]]=dayjs(_0x11b5db[_0xe91afd(0x1cc)][_0x61bd43[_0x2eb07e][_0xe91afd(0x1cf)]])['format'](_0x88e2fb);}}}}return _0x5b930d;};return _0x3fad04(_0x3555fd,_0x11b5db[_0x17632e(0x1cc)]);}}return undefined;}[a10_0x27d444(0x1be)](_0x44e6bb,_0x543ab7,_0x3149c2={}){const _0x34f8df=a10_0x27d444,_0x1cbe3e=this[_0x34f8df(0x19e)](_0x44e6bb);return _0x1cbe3e?this['validateWithSchema'](_0x1cbe3e,_0x543ab7,_0x3149c2):undefined;}};__decorate([(0x0,decorator_1[a10_0x27d444(0x1c9)])('i18n'),__metadata('design:type',Object)],ValidatorService[a10_0x27d444(0x1a3)],a10_0x27d444(0x1d3),void 0x0),__decorate([(0x0,decorator_1[a10_0x27d444(0x1c9)])(a10_0x27d444(0x1be)),__metadata(a10_0x27d444(0x1a2),Object)],ValidatorService[a10_0x27d444(0x1a3)],'validateConfig',void 0x0),__decorate([(0x0,decorator_1[a10_0x27d444(0x1bf)])(),__metadata(a10_0x27d444(0x1a2),i18n_1[a10_0x27d444(0x1c5)])],ValidatorService['prototype'],'i18nService',void 0x0),__decorate([(0x0,decorator_1[a10_0x27d444(0x1d1)])(),__metadata('design:type',Function),__metadata(a10_0x27d444(0x1da),[]),__metadata(a10_0x27d444(0x1b6),Promise)],ValidatorService[a10_0x27d444(0x1a3)],a10_0x27d444(0x1ca),null),ValidatorService=__decorate([(0x0,decorator_1[a10_0x27d444(0x1b4)])(a10_0x27d444(0x1be)),(0x0,decorator_1[a10_0x27d444(0x1d6)])(decorator_1['ScopeEnum']['Singleton'])],ValidatorService),exports[a10_0x27d444(0x1d9)]=ValidatorService;function a10_0x101b(){const _0x2363c6=['../interface','RULES_KEY','__metadata','metadata','6801130TthuIz','validate','Inject','error','../exception/ValidatorError','170353mNLsmp','localeTable','75294QZFhWw','MidwayI18nServiceSingleton','getClassExtendedMetadata','getLocaleMapping','$_terms','Config','function','__decorate','value','9XjvHmg','validateWithSchema','key','type','Init','formatLocale','i18nConfig','646820yTNrLk','10oZehYw','Scope','defaultLocale','forEach','ValidatorService','design:paramtypes','object','defineProperty','2448808kyQVDW','YYYY-MM-DD\x20HH:mm:ss','date','_flags','@midwayjs/decorator','getSchema','i18nService','messages','PARAMS','design:type','prototype','268996ibIduu','format','validateConfig','schema','joi','__esModule','assign','getOwnPropertyDescriptor','language','fromEntries','errors','validationOptions','417oTnEJr','length','getAvailableLocale','keys','Provide','decorate','design:returntype','@midwayjs/i18n','2964KZwmHz'];a10_0x101b=function(){return _0x2363c6;};return a10_0x101b();}
1
+ 'use strict';const a10_0x8f918c=a10_0x21a8;(function(_0x313467,_0x5c12fe){const _0xb83505=a10_0x21a8,_0x5666ab=_0x313467();while(!![]){try{const _0x2b02dc=-parseInt(_0xb83505(0xa4))/0x1+-parseInt(_0xb83505(0xaa))/0x2+parseInt(_0xb83505(0x8e))/0x3+parseInt(_0xb83505(0x97))/0x4+-parseInt(_0xb83505(0x8d))/0x5*(-parseInt(_0xb83505(0xb4))/0x6)+parseInt(_0xb83505(0xbd))/0x7*(parseInt(_0xb83505(0xa0))/0x8)+-parseInt(_0xb83505(0xa8))/0x9;if(_0x2b02dc===_0x5c12fe)break;else _0x5666ab['push'](_0x5666ab['shift']());}catch(_0x447e31){_0x5666ab['push'](_0x5666ab['shift']());}}}(a10_0x2a1e,0x7297e));function a10_0x2a1e(){const _0x6fd47c=['21718NXfzvX','design:type','i18nService','RULES_KEY','assign','@midwayjs/i18n','Config','validationOptions','__esModule','type','12YrfHde','localeTable','../interface','__metadata','locale','defineProperty','function','prototype','key','8498bpSoAM','keys','forEach','i18nConfig','YYYY-MM-DD\x20HH:mm:ss','getOwnPropertyDescriptor','validator','getAvailableLocale','NOFIND_SCHEMA','language','length','__decorate','date','$_terms','joi','validatorConfig','ValidatorError','Singleton','getSchema','1286735qdsxey','2485932hAUAGV','i18n','design:returntype','PARAMS','object','ScopeEnum','getLocaleMapping','decorate','schema','1662860pxOUtC','messages','value','getClassExtendedMetadata','formatLocale','errors','Inject','defaultLocale','format','3272dLsdyA','../exception/ValidatorError','@midwayjs/decorator','Scope','149230WyzEzq','error','design:paramtypes','init','14635044XFfiKy','ValidatorService'];a10_0x2a1e=function(){return _0x6fd47c;};return a10_0x2a1e();}var __decorate=this&&this[a10_0x8f918c(0xc8)]||function(_0x3f1ce5,_0x9156c8,_0x5d192d,_0x5ef1fe){const _0x677190=a10_0x8f918c;var _0x558fb3=arguments[_0x677190(0xc7)],_0xaf70b5=_0x558fb3<0x3?_0x9156c8:_0x5ef1fe===null?_0x5ef1fe=Object[_0x677190(0xc2)](_0x9156c8,_0x5d192d):_0x5ef1fe,_0x13b894;if(typeof Reflect==='object'&&typeof Reflect[_0x677190(0x95)]===_0x677190(0xba))_0xaf70b5=Reflect[_0x677190(0x95)](_0x3f1ce5,_0x9156c8,_0x5d192d,_0x5ef1fe);else{for(var _0x313e55=_0x3f1ce5[_0x677190(0xc7)]-0x1;_0x313e55>=0x0;_0x313e55--)if(_0x13b894=_0x3f1ce5[_0x313e55])_0xaf70b5=(_0x558fb3<0x3?_0x13b894(_0xaf70b5):_0x558fb3>0x3?_0x13b894(_0x9156c8,_0x5d192d,_0xaf70b5):_0x13b894(_0x9156c8,_0x5d192d))||_0xaf70b5;}return _0x558fb3>0x3&&_0xaf70b5&&Object[_0x677190(0xb9)](_0x9156c8,_0x5d192d,_0xaf70b5),_0xaf70b5;},__metadata=this&&this[a10_0x8f918c(0xb7)]||function(_0x5825fe,_0x58750f){const _0x3802ec=a10_0x8f918c;if(typeof Reflect===_0x3802ec(0x92)&&typeof Reflect['metadata']===_0x3802ec(0xba))return Reflect['metadata'](_0x5825fe,_0x58750f);};function a10_0x21a8(_0x2cb22b,_0x2bfcaf){const _0x2a1ed6=a10_0x2a1e();return a10_0x21a8=function(_0x21a8be,_0xa5380a){_0x21a8be=_0x21a8be-0x8d;let _0xdbf92b=_0x2a1ed6[_0x21a8be];return _0xdbf92b;},a10_0x21a8(_0x2cb22b,_0x2bfcaf);}Object['defineProperty'](exports,a10_0x8f918c(0xb2),{'value':!![]}),exports[a10_0x8f918c(0xa9)]=void 0x0;const Joi=require(a10_0x8f918c(0xcb)),i18n_1=require(a10_0x8f918c(0xaf)),decorator_1=require(a10_0x8f918c(0xa2)),interface_1=require(a10_0x8f918c(0xb6)),ValidatorError_1=require(a10_0x8f918c(0xa1));let ValidatorService=class ValidatorService{constructor(){const _0x1a71e8=a10_0x8f918c;this[_0x1a71e8(0x98)]={};}async[a10_0x8f918c(0xa7)](){const _0x4da979=a10_0x8f918c,_0x2c9e9d=Object[_0x4da979(0xbe)](this[_0x4da979(0xc0)][_0x4da979(0xb5)]);_0x2c9e9d[_0x4da979(0xbf)](_0x1c2d70=>{const _0x584962=_0x4da979;this[_0x584962(0x98)][(0x0,i18n_1[_0x584962(0x9b)])(_0x1c2d70)]=Object['fromEntries'](this[_0x584962(0xac)][_0x584962(0x94)](_0x1c2d70,_0x584962(0xc3)));});}[a10_0x8f918c(0xcf)](_0x558c64){const _0x281490=a10_0x8f918c,_0x3a0bd5=(0x0,decorator_1[_0x281490(0x9a)])(interface_1[_0x281490(0xad)],_0x558c64);return _0x3a0bd5?Joi['object'](_0x3a0bd5):undefined;}[a10_0x8f918c(0xc3)](_0x3fd4fa,_0x5adeee,_0x3ea19a={}){const _0x13fa76=a10_0x8f918c;var _0x85aa2d,_0x3e3847;const _0x16c1f4=Joi['isSchema'](_0x3fd4fa)?_0x3fd4fa:this[_0x13fa76(0xcf)](_0x3fd4fa);if(!_0x16c1f4)throw new AnnError(ValidatorError_1['ValidatorError'][_0x13fa76(0xc5)]);_0x3ea19a[_0x13fa76(0xb1)]=Object[_0x13fa76(0xae)]((_0x85aa2d=this['validatorConfig'][_0x13fa76(0xb1)])!==null&&_0x85aa2d!==void 0x0?_0x85aa2d:{},{'messages':this[_0x13fa76(0x98)]},_0x3ea19a['validationOptions']||{}),_0x3ea19a[_0x13fa76(0xb1)][_0x13fa76(0x9c)]=_0x3ea19a['validationOptions'][_0x13fa76(0x9c)]||{},_0x3ea19a['validationOptions'][_0x13fa76(0x9c)][_0x13fa76(0xc6)]=(0x0,i18n_1[_0x13fa76(0x9b)])(this[_0x13fa76(0xac)][_0x13fa76(0xc4)](_0x3ea19a[_0x13fa76(0xb1)][_0x13fa76(0x9c)][_0x13fa76(0xc6)]||_0x3ea19a[_0x13fa76(0xb8)]||this[_0x13fa76(0xc0)][_0x13fa76(0x9e)],_0x13fa76(0xc3)));const _0x59c2d1=_0x16c1f4['validate'](_0x5adeee,_0x3ea19a['validationOptions']);if(_0x59c2d1===null||_0x59c2d1===void 0x0?void 0x0:_0x59c2d1[_0x13fa76(0xa5)])throw new AnnError(ValidatorError_1['ValidatorError']['PARAMS'],{'validator':_0x59c2d1['error']});if(_0x59c2d1===null||_0x59c2d1===void 0x0?void 0x0:_0x59c2d1[_0x13fa76(0x99)]){const _0x183aeb=(_0x3e3847=_0x16c1f4===null||_0x16c1f4===void 0x0?void 0x0:_0x16c1f4[_0x13fa76(0xca)])===null||_0x3e3847===void 0x0?void 0x0:_0x3e3847['keys'],_0x182241=function(_0x51a35c,_0x428197){const _0x3bf26d=_0x13fa76;var _0x2e41cc,_0x409764,_0xd980c4,_0x5b3926,_0x35dd89,_0x205455,_0x4059f7,_0x809ef9,_0x508442,_0x20ace3,_0x381219;for(let _0x1db698 in _0x51a35c){if(_0x428197[(_0x2e41cc=_0x51a35c[_0x1db698])===null||_0x2e41cc===void 0x0?void 0x0:_0x2e41cc[_0x3bf26d(0xbc)]]&&((_0xd980c4=(_0x409764=_0x51a35c[_0x1db698])===null||_0x409764===void 0x0?void 0x0:_0x409764[_0x3bf26d(0x96)])===null||_0xd980c4===void 0x0?void 0x0:_0xd980c4[_0x3bf26d(0xb3)])){if(((_0x35dd89=(_0x5b3926=_0x51a35c[_0x1db698])===null||_0x5b3926===void 0x0?void 0x0:_0x5b3926['schema'])===null||_0x35dd89===void 0x0?void 0x0:_0x35dd89['type'])==_0x3bf26d(0x92))_0x428197[_0x51a35c[_0x1db698][_0x3bf26d(0xbc)]]=_0x182241((_0x4059f7=(_0x205455=_0x51a35c[_0x1db698])===null||_0x205455===void 0x0?void 0x0:_0x205455['schema'][_0x3bf26d(0xca)])===null||_0x4059f7===void 0x0?void 0x0:_0x4059f7[_0x3bf26d(0xbe)],_0x428197[_0x51a35c[_0x1db698]['key']]);else{if(_0x51a35c[_0x1db698]['schema']['type']==_0x3bf26d(0xc9)&&_0x59c2d1[_0x3bf26d(0x99)][(_0x809ef9=_0x51a35c[_0x1db698])===null||_0x809ef9===void 0x0?void 0x0:_0x809ef9[_0x3bf26d(0xbc)]]){const _0x452322=((_0x381219=(_0x20ace3=(_0x508442=_0x51a35c[_0x1db698])===null||_0x508442===void 0x0?void 0x0:_0x508442[_0x3bf26d(0x96)])===null||_0x20ace3===void 0x0?void 0x0:_0x20ace3['_flags'])===null||_0x381219===void 0x0?void 0x0:_0x381219[_0x3bf26d(0x9f)])||_0x3bf26d(0xc1);_0x428197[_0x51a35c[_0x1db698][_0x3bf26d(0xbc)]]=dayjs(_0x59c2d1['value'][_0x51a35c[_0x1db698]['key']])[_0x3bf26d(0x9f)](_0x452322);}}}}return _0x428197;};return _0x182241(_0x183aeb,_0x59c2d1['value']);}throw new AnnError(ValidatorError_1[_0x13fa76(0xcd)][_0x13fa76(0x91)]);}};__decorate([(0x0,decorator_1[a10_0x8f918c(0xb0)])(a10_0x8f918c(0x8f)),__metadata(a10_0x8f918c(0xab),Object)],ValidatorService['prototype'],a10_0x8f918c(0xc0),void 0x0),__decorate([(0x0,decorator_1[a10_0x8f918c(0xb0)])(a10_0x8f918c(0xc3)),__metadata(a10_0x8f918c(0xab),Object)],ValidatorService[a10_0x8f918c(0xbb)],a10_0x8f918c(0xcc),void 0x0),__decorate([(0x0,decorator_1[a10_0x8f918c(0x9d)])(),__metadata(a10_0x8f918c(0xab),i18n_1['MidwayI18nServiceSingleton'])],ValidatorService['prototype'],'i18nService',void 0x0),__decorate([(0x0,decorator_1['Init'])(),__metadata(a10_0x8f918c(0xab),Function),__metadata(a10_0x8f918c(0xa6),[]),__metadata(a10_0x8f918c(0x90),Promise)],ValidatorService[a10_0x8f918c(0xbb)],a10_0x8f918c(0xa7),null),ValidatorService=__decorate([(0x0,decorator_1['Provide'])(a10_0x8f918c(0xc3)),(0x0,decorator_1[a10_0x8f918c(0xa3)])(decorator_1[a10_0x8f918c(0x93)][a10_0x8f918c(0xce)])],ValidatorService),exports[a10_0x8f918c(0xa9)]=ValidatorService;