@anncic-api/event 1.1.26 → 1.1.27

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
- 'use strict';var a0_0x793fbd=a0_0x4194;(function(_0x4a0aeb,_0x127c9f){var _0x1c6682=a0_0x4194,_0x2bf892=_0x4a0aeb();while(!![]){try{var _0x12f18f=parseInt(_0x1c6682(0x101))/0x1*(parseInt(_0x1c6682(0xf0))/0x2)+-parseInt(_0x1c6682(0xf5))/0x3+-parseInt(_0x1c6682(0xf1))/0x4*(-parseInt(_0x1c6682(0xe8))/0x5)+-parseInt(_0x1c6682(0xf9))/0x6+-parseInt(_0x1c6682(0xfc))/0x7*(-parseInt(_0x1c6682(0xf6))/0x8)+-parseInt(_0x1c6682(0xfd))/0x9+parseInt(_0x1c6682(0xf7))/0xa*(parseInt(_0x1c6682(0xf8))/0xb);if(_0x12f18f===_0x127c9f)break;else _0x2bf892['push'](_0x2bf892['shift']());}catch(_0x551a82){_0x2bf892['push'](_0x2bf892['shift']());}}}(a0_0x153c,0x21dc0));function a0_0x153c(){var _0x38d2fa=['__esModule','CustomConfiguration','defineProperty','Inject','length','Configuration','getOwnPropertyDescriptor','22oKIpbY','720mKODxO','metadata','__metadata','prototype','703722FjwrUi','9664SSWuQg','140ZGGosu','90849lthYJR','1072506kiiRZF','function','decorate','1022UbKZdo','377676TPDPnE','object','design:type','@midwayjs/core','14133bbqtfv','onReady','4070RtHdSI'];a0_0x153c=function(){return _0x38d2fa;};return a0_0x153c();}function a0_0x4194(_0x41cd84,_0x1478a0){var _0x153c63=a0_0x153c();return a0_0x4194=function(_0x41941b,_0x46671f){_0x41941b=_0x41941b-0xe7;var _0x52c3bd=_0x153c63[_0x41941b];return _0x52c3bd;},a0_0x4194(_0x41cd84,_0x1478a0);}var __decorate=this&&this['__decorate']||function(_0x1b3fdf,_0x15af4b,_0x2ea2bb,_0x4338d9){var _0x47a11e=a0_0x4194,_0x296a52=arguments[_0x47a11e(0xed)],_0x1ac392=_0x296a52<0x3?_0x15af4b:_0x4338d9===null?_0x4338d9=Object[_0x47a11e(0xef)](_0x15af4b,_0x2ea2bb):_0x4338d9,_0x2fb1bb;if(typeof Reflect===_0x47a11e(0xfe)&&typeof Reflect['decorate']==='function')_0x1ac392=Reflect[_0x47a11e(0xfb)](_0x1b3fdf,_0x15af4b,_0x2ea2bb,_0x4338d9);else{for(var _0x2a2ec6=_0x1b3fdf[_0x47a11e(0xed)]-0x1;_0x2a2ec6>=0x0;_0x2a2ec6--)if(_0x2fb1bb=_0x1b3fdf[_0x2a2ec6])_0x1ac392=(_0x296a52<0x3?_0x2fb1bb(_0x1ac392):_0x296a52>0x3?_0x2fb1bb(_0x15af4b,_0x2ea2bb,_0x1ac392):_0x2fb1bb(_0x15af4b,_0x2ea2bb))||_0x1ac392;}return _0x296a52>0x3&&_0x1ac392&&Object['defineProperty'](_0x15af4b,_0x2ea2bb,_0x1ac392),_0x1ac392;},__metadata=this&&this[a0_0x793fbd(0xf3)]||function(_0x5eb36e,_0x4bac01){var _0x52560e=a0_0x793fbd;if(typeof Reflect===_0x52560e(0xfe)&&typeof Reflect[_0x52560e(0xf2)]===_0x52560e(0xfa))return Reflect[_0x52560e(0xf2)](_0x5eb36e,_0x4bac01);};Object[a0_0x793fbd(0xeb)](exports,a0_0x793fbd(0xe9),{'value':!![]}),exports[a0_0x793fbd(0xea)]=void 0x0;const decorator_1=require('@midwayjs/decorator'),core_1=require(a0_0x793fbd(0x100));let CustomConfiguration=class CustomConfiguration{async[a0_0x793fbd(0xe7)](){}};__decorate([(0x0,decorator_1[a0_0x793fbd(0xec)])(),__metadata(a0_0x793fbd(0xff),core_1['MidwayConfigService'])],CustomConfiguration[a0_0x793fbd(0xf4)],'config',void 0x0),__decorate([(0x0,decorator_1['Inject'])(),__metadata(a0_0x793fbd(0xff),core_1['MidwayDecoratorService'])],CustomConfiguration[a0_0x793fbd(0xf4)],'decorator',void 0x0),CustomConfiguration=__decorate([(0x0,decorator_1[a0_0x793fbd(0xee)])({'conflictCheck':![],'namespace':'anncic-api:event'})],CustomConfiguration),exports['CustomConfiguration']=CustomConfiguration;
1
+ 'use strict';var a0_0x5318a0=a0_0x4944;function a0_0x342a(){var _0x5d8c69=['decorator','CustomConfiguration','@midwayjs/decorator','onReady','736854rsIrGZ','defineProperty','Inject','__metadata','object','prototype','config','@midwayjs/core','metadata','Configuration','function','6414276RDKGFY','11jAdMCM','design:type','1881946yEMNoC','6285538SZWqqQ','__decorate','length','8byfUKY','4021270eKTORU','decorate','10SNnqrO','314595XFooFw','8jfeCWm','79512tGlIsD','anncic-api:event','9JqRCHh'];a0_0x342a=function(){return _0x5d8c69;};return a0_0x342a();}(function(_0x32fb5c,_0x36ce9f){var _0x490c86=a0_0x4944,_0x532083=_0x32fb5c();while(!![]){try{var _0x42f447=parseInt(_0x490c86(0x108))/0x1+parseInt(_0x490c86(0x100))/0x2+parseInt(_0x490c86(0x10a))/0x3*(parseInt(_0x490c86(0x104))/0x4)+-parseInt(_0x490c86(0x107))/0x5*(-parseInt(_0x490c86(0x111))/0x6)+parseInt(_0x490c86(0x101))/0x7*(-parseInt(_0x490c86(0x109))/0x8)+parseInt(_0x490c86(0x10c))/0x9*(parseInt(_0x490c86(0x105))/0xa)+parseInt(_0x490c86(0xfe))/0xb*(-parseInt(_0x490c86(0xfd))/0xc);if(_0x42f447===_0x36ce9f)break;else _0x532083['push'](_0x532083['shift']());}catch(_0x45d605){_0x532083['push'](_0x532083['shift']());}}}(a0_0x342a,0x7fe58));function a0_0x4944(_0x3d8e28,_0x13c6e7){var _0x342a9a=a0_0x342a();return a0_0x4944=function(_0x4944de,_0x51d055){_0x4944de=_0x4944de-0xf9;var _0x234d5a=_0x342a9a[_0x4944de];return _0x234d5a;},a0_0x4944(_0x3d8e28,_0x13c6e7);}var __decorate=this&&this[a0_0x5318a0(0x102)]||function(_0xbfd29c,_0x2e9014,_0x156d06,_0x306be1){var _0x149d21=a0_0x5318a0,_0x32ba49=arguments[_0x149d21(0x103)],_0x51bf7b=_0x32ba49<0x3?_0x2e9014:_0x306be1===null?_0x306be1=Object['getOwnPropertyDescriptor'](_0x2e9014,_0x156d06):_0x306be1,_0x2d0074;if(typeof Reflect===_0x149d21(0x115)&&typeof Reflect[_0x149d21(0x106)]===_0x149d21(0xfc))_0x51bf7b=Reflect['decorate'](_0xbfd29c,_0x2e9014,_0x156d06,_0x306be1);else{for(var _0x5acf61=_0xbfd29c[_0x149d21(0x103)]-0x1;_0x5acf61>=0x0;_0x5acf61--)if(_0x2d0074=_0xbfd29c[_0x5acf61])_0x51bf7b=(_0x32ba49<0x3?_0x2d0074(_0x51bf7b):_0x32ba49>0x3?_0x2d0074(_0x2e9014,_0x156d06,_0x51bf7b):_0x2d0074(_0x2e9014,_0x156d06))||_0x51bf7b;}return _0x32ba49>0x3&&_0x51bf7b&&Object[_0x149d21(0x112)](_0x2e9014,_0x156d06,_0x51bf7b),_0x51bf7b;},__metadata=this&&this[a0_0x5318a0(0x114)]||function(_0x1a2cd2,_0x5bb45f){var _0x3b8b35=a0_0x5318a0;if(typeof Reflect==='object'&&typeof Reflect[_0x3b8b35(0xfa)]===_0x3b8b35(0xfc))return Reflect[_0x3b8b35(0xfa)](_0x1a2cd2,_0x5bb45f);};Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[a0_0x5318a0(0x10e)]=void 0x0;const decorator_1=require(a0_0x5318a0(0x10f)),core_1=require(a0_0x5318a0(0xf9));let CustomConfiguration=class CustomConfiguration{async[a0_0x5318a0(0x110)](){}};__decorate([(0x0,decorator_1['Inject'])(),__metadata(a0_0x5318a0(0xff),core_1['MidwayConfigService'])],CustomConfiguration['prototype'],a0_0x5318a0(0x117),void 0x0),__decorate([(0x0,decorator_1[a0_0x5318a0(0x113)])(),__metadata(a0_0x5318a0(0xff),core_1['MidwayDecoratorService'])],CustomConfiguration[a0_0x5318a0(0x116)],a0_0x5318a0(0x10d),void 0x0),CustomConfiguration=__decorate([(0x0,decorator_1[a0_0x5318a0(0xfb)])({'conflictCheck':![],'namespace':a0_0x5318a0(0x10b)})],CustomConfiguration),exports[a0_0x5318a0(0x10e)]=CustomConfiguration;
@@ -1 +1 @@
1
- 'use strict';const a1_0x2fa3a4=a1_0x111d;function a1_0x111d(_0x1bf6a0,_0x225171){const _0x4cd53f=a1_0x4cd5();return a1_0x111d=function(_0x111dea,_0x46a31c){_0x111dea=_0x111dea-0x84;let _0x332032=_0x4cd53f[_0x111dea];return _0x332032;},a1_0x111d(_0x1bf6a0,_0x225171);}(function(_0x205a31,_0x4a9192){const _0x47113a=a1_0x111d,_0xbf831d=_0x205a31();while(!![]){try{const _0x10b1c6=parseInt(_0x47113a(0x90))/0x1+parseInt(_0x47113a(0x87))/0x2+parseInt(_0x47113a(0x84))/0x3*(-parseInt(_0x47113a(0x88))/0x4)+parseInt(_0x47113a(0x8d))/0x5*(parseInt(_0x47113a(0x95))/0x6)+parseInt(_0x47113a(0x94))/0x7*(-parseInt(_0x47113a(0x93))/0x8)+parseInt(_0x47113a(0x86))/0x9+-parseInt(_0x47113a(0x85))/0xa;if(_0x10b1c6===_0x4a9192)break;else _0xbf831d['push'](_0xbf831d['shift']());}catch(_0x1d9b09){_0xbf831d['push'](_0xbf831d['shift']());}}}(a1_0x4cd5,0xe6bb5));Object[a1_0x2fa3a4(0x8c)](exports,a1_0x2fa3a4(0x8e),{'value':!![]}),exports[a1_0x2fa3a4(0x89)]=void 0x0;const decorator_1=require(a1_0x2fa3a4(0x92)),interface_1=require(a1_0x2fa3a4(0x8a));function a1_0x4cd5(){const _0x1ba595=['1331620TTjEFw','1090868MfvwTg','Event','../interface','saveModule','defineProperty','910810EFEwvb','__esModule','EVENT_KEY','1581706MnYEoH','Request','@midwayjs/decorator','264FXnOrZ','333662EsDWeB','60chsRZX','6RiuOEi','15300290pJASiH','4719438KqVxsD'];a1_0x4cd5=function(){return _0x1ba595;};return a1_0x4cd5();}function Event(){return _0x513c53=>{const _0x3a7c9f=a1_0x111d;(0x0,decorator_1['Provide'])()(_0x513c53),(0x0,decorator_1[_0x3a7c9f(0x8b)])(interface_1[_0x3a7c9f(0x8f)],_0x513c53),(0x0,decorator_1['Scope'])(decorator_1['ScopeEnum'][_0x3a7c9f(0x91)],{'allowDowngrade':!![]})(_0x513c53);};}exports['Event']=Event,Event['On']=function(_0x3497d1,_0x114733=0x0){return(_0x28e40e,_0x1df5a8,_0x406ff6)=>{return(0x0,decorator_1['attachClassMetadata'])(interface_1['EVENT_ON_KEY'],{'name':_0x3497d1,'priority':_0x114733,'propertyKey':_0x1df5a8,'descriptor':_0x406ff6},_0x28e40e),_0x406ff6;};};
1
+ 'use strict';const a1_0x32007a=a1_0x6588;(function(_0x2403df,_0x3396f1){const _0x25ed0e=a1_0x6588,_0x1b6bf1=_0x2403df();while(!![]){try{const _0x1a4752=-parseInt(_0x25ed0e(0xe0))/0x1*(-parseInt(_0x25ed0e(0xe7))/0x2)+-parseInt(_0x25ed0e(0xe9))/0x3*(parseInt(_0x25ed0e(0xea))/0x4)+parseInt(_0x25ed0e(0xed))/0x5*(-parseInt(_0x25ed0e(0xe1))/0x6)+-parseInt(_0x25ed0e(0xde))/0x7+parseInt(_0x25ed0e(0xe8))/0x8+parseInt(_0x25ed0e(0xda))/0x9*(parseInt(_0x25ed0e(0xdf))/0xa)+parseInt(_0x25ed0e(0xe6))/0xb;if(_0x1a4752===_0x3396f1)break;else _0x1b6bf1['push'](_0x1b6bf1['shift']());}catch(_0x2377a4){_0x1b6bf1['push'](_0x1b6bf1['shift']());}}}(a1_0x1797,0x2dd58));Object[a1_0x32007a(0xdb)](exports,'__esModule',{'value':!![]}),exports['Event']=void 0x0;function a1_0x6588(_0x120730,_0xd34465){const _0x179799=a1_0x1797();return a1_0x6588=function(_0x6588a,_0x28af1e){_0x6588a=_0x6588a-0xd8;let _0x46ad11=_0x179799[_0x6588a];return _0x46ad11;},a1_0x6588(_0x120730,_0xd34465);}function a1_0x1797(){const _0x254e4a=['755840sAORXW','saveModule','@midwayjs/decorator','9WbEDYn','defineProperty','Request','EVENT_KEY','713181zXankz','208490zgcglw','307810vWUpiq','6kcaiEJ','../interface','attachClassMetadata','ScopeEnum','Provide','223377ypOAnD','2FZJoea','2882248ecfjAg','3iihLRZ','1073840NBfPUs','Event','Scope'];a1_0x1797=function(){return _0x254e4a;};return a1_0x1797();}const decorator_1=require(a1_0x32007a(0xd9)),interface_1=require(a1_0x32007a(0xe2));function Event(){return _0x1e3392=>{const _0x16ddb2=a1_0x6588;(0x0,decorator_1[_0x16ddb2(0xe5)])()(_0x1e3392),(0x0,decorator_1[_0x16ddb2(0xd8)])(interface_1[_0x16ddb2(0xdd)],_0x1e3392),(0x0,decorator_1[_0x16ddb2(0xec)])(decorator_1[_0x16ddb2(0xe4)][_0x16ddb2(0xdc)],{'allowDowngrade':!![]})(_0x1e3392);};}exports[a1_0x32007a(0xeb)]=Event,Event['On']=function(_0x1a42cc,_0x57e05d=0x0){return(_0xf3dd1a,_0x4170ff,_0x255495)=>{const _0x1f37ee=a1_0x6588;return(0x0,decorator_1[_0x1f37ee(0xe3)])(interface_1['EVENT_ON_KEY'],{'name':_0x1a42cc,'priority':_0x57e05d,'propertyKey':_0x4170ff,'descriptor':_0x255495},_0xf3dd1a),_0x255495;};};
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';var a2_0x3baa49=a2_0x3fa5;(function(_0x1d8453,_0xc6fa05){var _0x2bb45f=a2_0x3fa5,_0x4c7a8b=_0x1d8453();while(!![]){try{var _0x2464f9=-parseInt(_0x2bb45f(0x8a))/0x1*(-parseInt(_0x2bb45f(0x87))/0x2)+parseInt(_0x2bb45f(0x93))/0x3*(-parseInt(_0x2bb45f(0x8b))/0x4)+parseInt(_0x2bb45f(0x8d))/0x5*(-parseInt(_0x2bb45f(0x96))/0x6)+-parseInt(_0x2bb45f(0x92))/0x7*(parseInt(_0x2bb45f(0x8c))/0x8)+-parseInt(_0x2bb45f(0x97))/0x9*(parseInt(_0x2bb45f(0x90))/0xa)+parseInt(_0x2bb45f(0x85))/0xb+parseInt(_0x2bb45f(0x86))/0xc;if(_0x2464f9===_0xc6fa05)break;else _0x4c7a8b['push'](_0x4c7a8b['shift']());}catch(_0x2bdb43){_0x4c7a8b['push'](_0x4c7a8b['shift']());}}}(a2_0xb652,0x38a7b));function a2_0x3fa5(_0x1994c8,_0x2bf754){var _0xb65262=a2_0xb652();return a2_0x3fa5=function(_0x3fa5c5,_0xbe41ae){_0x3fa5c5=_0x3fa5c5-0x84;var _0x4c0017=_0xb65262[_0x3fa5c5];return _0x4c0017;},a2_0x3fa5(_0x1994c8,_0x2bf754);}Object['defineProperty'](exports,a2_0x3baa49(0x94),{'value':!![]}),exports[a2_0x3baa49(0x8e)]=exports[a2_0x3baa49(0x84)]=exports['Event']=void 0x0;var Event_1=require(a2_0x3baa49(0x8f));Object['defineProperty'](exports,a2_0x3baa49(0x88),{'enumerable':!![],'get':function(){return Event_1['Event'];}});var EventService_1=require(a2_0x3baa49(0x95));Object[a2_0x3baa49(0x89)](exports,a2_0x3baa49(0x84),{'enumerable':!![],'get':function(){var _0x27310e=a2_0x3baa49;return EventService_1[_0x27310e(0x84)];}});var configuration_1=require(a2_0x3baa49(0x91));function a2_0xb652(){var _0x35e8e0=['1473PIawxu','__esModule','./service/EventService','1410330SfanmC','374067WSTEmv','EventService','4265305QFoTtj','1720704rWOYnD','779230dFRlkI','Event','defineProperty','1HFDMbA','1648VUURjO','559448ivhtsd','5xVVpvV','Configuration','./decorator/Event','10FMNKaN','./configuration','21rKioQY'];a2_0xb652=function(){return _0x35e8e0;};return a2_0xb652();}Object[a2_0x3baa49(0x89)](exports,a2_0x3baa49(0x8e),{'enumerable':!![],'get':function(){return configuration_1['CustomConfiguration'];}});
1
+ 'use strict';var a2_0x4cc61c=a2_0x5df3;(function(_0x386b37,_0x116d5a){var _0x39e3d4=a2_0x5df3,_0x3fd746=_0x386b37();while(!![]){try{var _0x1f7001=parseInt(_0x39e3d4(0x1a5))/0x1*(parseInt(_0x39e3d4(0x1b3))/0x2)+-parseInt(_0x39e3d4(0x1b1))/0x3+-parseInt(_0x39e3d4(0x1af))/0x4+parseInt(_0x39e3d4(0x1ac))/0x5*(-parseInt(_0x39e3d4(0x1ae))/0x6)+-parseInt(_0x39e3d4(0x1b0))/0x7+-parseInt(_0x39e3d4(0x1a8))/0x8*(-parseInt(_0x39e3d4(0x1a6))/0x9)+parseInt(_0x39e3d4(0x1ad))/0xa;if(_0x1f7001===_0x116d5a)break;else _0x3fd746['push'](_0x3fd746['shift']());}catch(_0x306d10){_0x3fd746['push'](_0x3fd746['shift']());}}}(a2_0x2328,0xd8819));function a2_0x2328(){var _0x4e83e4=['Event','./service/EventService','1jCcfEF','50994JPLseP','./decorator/Event','2136Scieqb','__esModule','EventService','Configuration','71160JLjhSt','14179260VtHXku','402WtorZE','4054744AvdkEv','4061645DogshQ','999507iqttkT','defineProperty','1673390hvvHiH','./configuration'];a2_0x2328=function(){return _0x4e83e4;};return a2_0x2328();}Object[a2_0x4cc61c(0x1b2)](exports,a2_0x4cc61c(0x1a9),{'value':!![]}),exports[a2_0x4cc61c(0x1ab)]=exports[a2_0x4cc61c(0x1aa)]=exports[a2_0x4cc61c(0x1b5)]=void 0x0;var Event_1=require(a2_0x4cc61c(0x1a7));Object[a2_0x4cc61c(0x1b2)](exports,a2_0x4cc61c(0x1b5),{'enumerable':!![],'get':function(){var _0x48d5af=a2_0x4cc61c;return Event_1[_0x48d5af(0x1b5)];}});function a2_0x5df3(_0x5bc711,_0x2d1ede){var _0x2328f8=a2_0x2328();return a2_0x5df3=function(_0x5df313,_0x390d54){_0x5df313=_0x5df313-0x1a5;var _0x480de6=_0x2328f8[_0x5df313];return _0x480de6;},a2_0x5df3(_0x5bc711,_0x2d1ede);}var EventService_1=require(a2_0x4cc61c(0x1b6));Object[a2_0x4cc61c(0x1b2)](exports,a2_0x4cc61c(0x1aa),{'enumerable':!![],'get':function(){var _0x5f08e8=a2_0x4cc61c;return EventService_1[_0x5f08e8(0x1aa)];}});var configuration_1=require(a2_0x4cc61c(0x1b4));Object['defineProperty'](exports,a2_0x4cc61c(0x1ab),{'enumerable':!![],'get':function(){return configuration_1['CustomConfiguration'];}});
package/dist/interface.js CHANGED
@@ -1 +1 @@
1
- 'use strict';function a3_0x24f3(){var _0x812421=['4GXCKPj','6913506tqeHnF','111159fUORxT','__esModule','anncic-api:event:on','4457540WPGWws','318418QTNBMw','EVENT_KEY','4qWGwXm','9148952EFXomG','anncic-api:event','2010resoYj','6812939GVnbES','EVENT_ON_KEY','3125469MrvndY','defineProperty'];a3_0x24f3=function(){return _0x812421;};return a3_0x24f3();}var a3_0x28d17e=a3_0x5995;(function(_0x3c6a6b,_0x22ef08){var _0x5b43b6=a3_0x5995,_0x37c839=_0x3c6a6b();while(!![]){try{var _0x1cc018=-parseInt(_0x5b43b6(0x194))/0x1*(parseInt(_0x5b43b6(0x19a))/0x2)+parseInt(_0x5b43b6(0x192))/0x3*(parseInt(_0x5b43b6(0x19c))/0x4)+-parseInt(_0x5b43b6(0x199))/0x5+-parseInt(_0x5b43b6(0x195))/0x6+parseInt(_0x5b43b6(0x190))/0x7+-parseInt(_0x5b43b6(0x19d))/0x8+-parseInt(_0x5b43b6(0x196))/0x9*(-parseInt(_0x5b43b6(0x18f))/0xa);if(_0x1cc018===_0x22ef08)break;else _0x37c839['push'](_0x37c839['shift']());}catch(_0xb9e65f){_0x37c839['push'](_0x37c839['shift']());}}}(a3_0x24f3,0xa469d));function a3_0x5995(_0x380eec,_0xb90615){var _0x24f399=a3_0x24f3();return a3_0x5995=function(_0x5995d1,_0x5b5848){_0x5995d1=_0x5995d1-0x18f;var _0x51fa51=_0x24f399[_0x5995d1];return _0x51fa51;},a3_0x5995(_0x380eec,_0xb90615);}Object[a3_0x28d17e(0x193)](exports,a3_0x28d17e(0x197),{'value':!![]}),exports[a3_0x28d17e(0x191)]=exports[a3_0x28d17e(0x19b)]=void 0x0,exports[a3_0x28d17e(0x19b)]=a3_0x28d17e(0x19e),exports['EVENT_ON_KEY']=a3_0x28d17e(0x198);
1
+ 'use strict';function a3_0xa15a(){var _0x5bc455=['anncic-api:event','__esModule','1546518JsXgyf','defineProperty','46wVXMtR','2013utxNNy','273877uCBqaX','105044CoTpVx','EVENT_KEY','EVENT_ON_KEY','1655560dBaiFs','1837878axKHzU','8LNlSow','3209580hUfucr','anncic-api:event:on'];a3_0xa15a=function(){return _0x5bc455;};return a3_0xa15a();}var a3_0x3b1f03=a3_0x3efe;function a3_0x3efe(_0x39f3cc,_0x60f14c){var _0xa15a9c=a3_0xa15a();return a3_0x3efe=function(_0x3efe26,_0x3e54f6){_0x3efe26=_0x3efe26-0xd9;var _0x775968=_0xa15a9c[_0x3efe26];return _0x775968;},a3_0x3efe(_0x39f3cc,_0x60f14c);}(function(_0x3acd12,_0x52ce6f){var _0x49ef82=a3_0x3efe,_0x147320=_0x3acd12();while(!![]){try{var _0x4ac0de=parseInt(_0x49ef82(0xe1))/0x1+parseInt(_0x49ef82(0xdf))/0x2*(-parseInt(_0x49ef82(0xe0))/0x3)+-parseInt(_0x49ef82(0xe2))/0x4+parseInt(_0x49ef82(0xe5))/0x5+parseInt(_0x49ef82(0xdd))/0x6+parseInt(_0x49ef82(0xe6))/0x7*(-parseInt(_0x49ef82(0xe7))/0x8)+-parseInt(_0x49ef82(0xd9))/0x9;if(_0x4ac0de===_0x52ce6f)break;else _0x147320['push'](_0x147320['shift']());}catch(_0x3ea71a){_0x147320['push'](_0x147320['shift']());}}}(a3_0xa15a,0x31492));Object[a3_0x3b1f03(0xde)](exports,a3_0x3b1f03(0xdc),{'value':!![]}),exports[a3_0x3b1f03(0xe4)]=exports['EVENT_KEY']=void 0x0,exports[a3_0x3b1f03(0xe3)]=a3_0x3b1f03(0xdb),exports['EVENT_ON_KEY']=a3_0x3b1f03(0xda);
@@ -1 +1 @@
1
- 'use strict';const a4_0x5106cd=a4_0x5094;(function(_0x180740,_0x3cb2c4){const _0x3dec0b=a4_0x5094,_0x267f79=_0x180740();while(!![]){try{const _0x104a4d=-parseInt(_0x3dec0b(0x130))/0x1+parseInt(_0x3dec0b(0x11d))/0x2+-parseInt(_0x3dec0b(0x12d))/0x3+-parseInt(_0x3dec0b(0x128))/0x4*(-parseInt(_0x3dec0b(0x12e))/0x5)+-parseInt(_0x3dec0b(0x11a))/0x6*(parseInt(_0x3dec0b(0x11c))/0x7)+-parseInt(_0x3dec0b(0x118))/0x8*(parseInt(_0x3dec0b(0x133))/0x9)+parseInt(_0x3dec0b(0x114))/0xa*(parseInt(_0x3dec0b(0x123))/0xb);if(_0x104a4d===_0x3cb2c4)break;else _0x267f79['push'](_0x267f79['shift']());}catch(_0x2760e7){_0x267f79['push'](_0x267f79['shift']());}}}(a4_0x39a4,0x94114));function a4_0x5094(_0x3d4c40,_0x1e4213){const _0x39a43c=a4_0x39a4();return a4_0x5094=function(_0x509450,_0x5f5b9f){_0x509450=_0x509450-0x104;let _0x12b220=_0x39a43c[_0x509450];return _0x12b220;},a4_0x5094(_0x3d4c40,_0x1e4213);}var __decorate=this&&this[a4_0x5106cd(0x112)]||function(_0x3d69a9,_0x2f07fe,_0x28d179,_0x2b4723){const _0xb4307b=a4_0x5106cd;var _0x4b99e7=arguments[_0xb4307b(0x10a)],_0x11d05f=_0x4b99e7<0x3?_0x2f07fe:_0x2b4723===null?_0x2b4723=Object[_0xb4307b(0x122)](_0x2f07fe,_0x28d179):_0x2b4723,_0x1fb3c9;if(typeof Reflect===_0xb4307b(0x120)&&typeof Reflect[_0xb4307b(0x108)]===_0xb4307b(0x12c))_0x11d05f=Reflect['decorate'](_0x3d69a9,_0x2f07fe,_0x28d179,_0x2b4723);else{for(var _0x49aba6=_0x3d69a9[_0xb4307b(0x10a)]-0x1;_0x49aba6>=0x0;_0x49aba6--)if(_0x1fb3c9=_0x3d69a9[_0x49aba6])_0x11d05f=(_0x4b99e7<0x3?_0x1fb3c9(_0x11d05f):_0x4b99e7>0x3?_0x1fb3c9(_0x2f07fe,_0x28d179,_0x11d05f):_0x1fb3c9(_0x2f07fe,_0x28d179))||_0x11d05f;}return _0x4b99e7>0x3&&_0x11d05f&&Object[_0xb4307b(0x129)](_0x2f07fe,_0x28d179,_0x11d05f),_0x11d05f;},__metadata=this&&this[a4_0x5106cd(0x10c)]||function(_0x464063,_0x2798f8){const _0x16fc18=a4_0x5106cd;if(typeof Reflect==='object'&&typeof Reflect['metadata']===_0x16fc18(0x12c))return Reflect[_0x16fc18(0x132)](_0x464063,_0x2798f8);};Object['defineProperty'](exports,a4_0x5106cd(0x12a),{'value':!![]}),exports[a4_0x5106cd(0x119)]=void 0x0;const collect_js_1=require(a4_0x5106cd(0x107)),decorator_1=require(a4_0x5106cd(0x10e)),interface_1=require(a4_0x5106cd(0x11f));let EventService=class EventService{constructor(){const _0x42a12d=a4_0x5106cd;this[_0x42a12d(0x10f)]=![];}async[a4_0x5106cd(0x136)](_0x1288ee){const _0x58dfae=a4_0x5106cd;if(!this[_0x58dfae(0x10f)]){this[_0x58dfae(0x10f)]=!![],this[_0x58dfae(0x11e)]={};for(const _0x4cfc9f of(0x0,decorator_1[_0x58dfae(0x124)])(interface_1['EVENT_KEY'])||[]){const _0x1c9a9f=await this[_0x58dfae(0x113)][_0x58dfae(0x104)]()[_0x58dfae(0x111)](_0x4cfc9f);for(const _0x73b4f3 of(0x0,decorator_1[_0x58dfae(0x115)])(interface_1[_0x58dfae(0x135)],_0x4cfc9f)||[]){typeof(_0x1c9a9f[_0x73b4f3[_0x58dfae(0x116)]]==_0x58dfae(0x12c))&&(!this[_0x58dfae(0x11e)][_0x73b4f3[_0x58dfae(0x110)]]&&(this[_0x58dfae(0x11e)][_0x73b4f3[_0x58dfae(0x110)]]=[]),this['listevent'][_0x73b4f3['name']][_0x58dfae(0x10d)]({'priority':_0x73b4f3[_0x58dfae(0x125)],'resolve':_0x1c9a9f[_0x73b4f3[_0x58dfae(0x116)]][_0x58dfae(0x11b)](_0x1c9a9f),'propertyKey':_0x4cfc9f[_0x58dfae(0x110)]+'@'+_0x73b4f3['propertyKey']}));}}for(const _0x57359e in this[_0x58dfae(0x11e)]){this[_0x58dfae(0x11e)][_0x57359e]=(0x0,collect_js_1[_0x58dfae(0x105)])(this[_0x58dfae(0x11e)][_0x57359e])[_0x58dfae(0x126)](_0x58dfae(0x125))[_0x58dfae(0x131)]();}}return _0x1288ee?this[_0x58dfae(0x11e)][_0x1288ee]||[]:this[_0x58dfae(0x11e)];}async[a4_0x5106cd(0x12f)](_0x28e6e4,..._0x483d8d){const _0x2309d1=a4_0x5106cd;var _0x1e08c7,_0x4b8e31;await this[_0x2309d1(0x136)]();for(let _0x25dd3f in(_0x1e08c7=this['listevent'])===null||_0x1e08c7===void 0x0?void 0x0:_0x1e08c7[_0x28e6e4]){const _0x1cd5a6=(_0x4b8e31=this['listevent'][_0x28e6e4])===null||_0x4b8e31===void 0x0?void 0x0:_0x4b8e31[_0x25dd3f];(_0x1cd5a6===null||_0x1cd5a6===void 0x0?void 0x0:_0x1cd5a6[_0x2309d1(0x127)])&&typeof(_0x1cd5a6===null||_0x1cd5a6===void 0x0?void 0x0:_0x1cd5a6[_0x2309d1(0x127)])==_0x2309d1(0x12c)&&await _0x1cd5a6['resolve'](..._0x483d8d);}}async[a4_0x5106cd(0x121)](_0x45c632,..._0x83ccfe){const _0x119afc=a4_0x5106cd;return await this[_0x119afc(0x136)](),await this['emit'](_0x45c632,..._0x83ccfe),this['off'](_0x45c632);}async[a4_0x5106cd(0x10b)](_0x60746f){const _0x5b1fa3=a4_0x5106cd;return await this[_0x5b1fa3(0x136)](),this[_0x5b1fa3(0x11e)][_0x60746f]&&delete this[_0x5b1fa3(0x11e)][_0x60746f],!!this[_0x5b1fa3(0x11e)][_0x60746f];}};__decorate([(0x0,decorator_1[a4_0x5106cd(0x109)])(),__metadata('design:type',Object)],EventService['prototype'],a4_0x5106cd(0x113),void 0x0),EventService=__decorate([(0x0,decorator_1[a4_0x5106cd(0x117)])(a4_0x5106cd(0x106)),(0x0,decorator_1['Scope'])(decorator_1[a4_0x5106cd(0x12b)][a4_0x5106cd(0x134)])],EventService),exports[a4_0x5106cd(0x119)]=EventService;function a4_0x39a4(){const _0x5bd119=['795777TEzuuB','3075685wmAWsF','emit','322377Syjfgs','all','metadata','2034567ZwRgZs','Singleton','EVENT_ON_KEY','getListevent','getApplicationContext','default','event','collect.js','decorate','App','length','off','__metadata','push','@midwayjs/decorator','init','name','getAsync','__decorate','app','12012070bzdnYg','getClassMetadata','propertyKey','Provide','8mTNeLl','EventService','157272hRQDoY','bind','112IfkGHZ','46462PiENlm','listevent','../interface','object','once','getOwnPropertyDescriptor','11gxHVgg','listModule','priority','sortByDesc','resolve','4AIoVjL','defineProperty','__esModule','ScopeEnum','function'];a4_0x39a4=function(){return _0x5bd119;};return a4_0x39a4();}
1
+ 'use strict';const a4_0x384d96=a4_0x28dc;function a4_0x28c9(){const _0x40557f=['once','1706632UeVeWg','sortByDesc','2678037MeppXu','__esModule','EventService','15GdObxR','EVENT_KEY','App','getOwnPropertyDescriptor','6IsrtHy','__metadata','10625888vYYzjE','metadata','length','event','object','push','design:type','7317121eklRYG','getListevent','decorate','getApplicationContext','resolve','listevent','../interface','propertyKey','EVENT_ON_KEY','name','default','off','1ZVBShg','init','function','bind','ScopeEnum','674986QPGogp','defineProperty','30943230WhIBtS','emit','getAsync','getClassMetadata','app','2043882rsPCQL'];a4_0x28c9=function(){return _0x40557f;};return a4_0x28c9();}(function(_0x2c6f5e,_0x1d4845){const _0x56c277=a4_0x28dc,_0x417b8b=_0x2c6f5e();while(!![]){try{const _0x333b38=-parseInt(_0x56c277(0x8e))/0x1*(-parseInt(_0x56c277(0x93))/0x2)+parseInt(_0x56c277(0x9e))/0x3+parseInt(_0x56c277(0x9c))/0x4*(-parseInt(_0x56c277(0xa1))/0x5)+-parseInt(_0x56c277(0xa5))/0x6*(parseInt(_0x56c277(0xae))/0x7)+-parseInt(_0x56c277(0xa7))/0x8+parseInt(_0x56c277(0x9a))/0x9+parseInt(_0x56c277(0x95))/0xa;if(_0x333b38===_0x1d4845)break;else _0x417b8b['push'](_0x417b8b['shift']());}catch(_0x4306f2){_0x417b8b['push'](_0x417b8b['shift']());}}}(a4_0x28c9,0xdb420));var __decorate=this&&this['__decorate']||function(_0x30b500,_0x597a28,_0x40d1aa,_0x3b6531){const _0x459339=a4_0x28dc;var _0x1e1a06=arguments['length'],_0x56e4ec=_0x1e1a06<0x3?_0x597a28:_0x3b6531===null?_0x3b6531=Object[_0x459339(0xa4)](_0x597a28,_0x40d1aa):_0x3b6531,_0x55df68;if(typeof Reflect==='object'&&typeof Reflect[_0x459339(0xb0)]===_0x459339(0x90))_0x56e4ec=Reflect[_0x459339(0xb0)](_0x30b500,_0x597a28,_0x40d1aa,_0x3b6531);else{for(var _0x2e5b7a=_0x30b500[_0x459339(0xa9)]-0x1;_0x2e5b7a>=0x0;_0x2e5b7a--)if(_0x55df68=_0x30b500[_0x2e5b7a])_0x56e4ec=(_0x1e1a06<0x3?_0x55df68(_0x56e4ec):_0x1e1a06>0x3?_0x55df68(_0x597a28,_0x40d1aa,_0x56e4ec):_0x55df68(_0x597a28,_0x40d1aa))||_0x56e4ec;}return _0x1e1a06>0x3&&_0x56e4ec&&Object[_0x459339(0x94)](_0x597a28,_0x40d1aa,_0x56e4ec),_0x56e4ec;},__metadata=this&&this[a4_0x384d96(0xa6)]||function(_0x3b6f77,_0x3efd0c){const _0x4709dd=a4_0x384d96;if(typeof Reflect===_0x4709dd(0xab)&&typeof Reflect['metadata']===_0x4709dd(0x90))return Reflect[_0x4709dd(0xa8)](_0x3b6f77,_0x3efd0c);};Object[a4_0x384d96(0x94)](exports,a4_0x384d96(0x9f),{'value':!![]}),exports[a4_0x384d96(0xa0)]=void 0x0;function a4_0x28dc(_0x3f0e6b,_0x270ddd){const _0x28c9ea=a4_0x28c9();return a4_0x28dc=function(_0x28dcef,_0x421821){_0x28dcef=_0x28dcef-0x85;let _0x4526c0=_0x28c9ea[_0x28dcef];return _0x4526c0;},a4_0x28dc(_0x3f0e6b,_0x270ddd);}const collect_js_1=require('collect.js'),decorator_1=require('@midwayjs/decorator'),interface_1=require(a4_0x384d96(0x88));let EventService=class EventService{constructor(){const _0x54c53c=a4_0x384d96;this[_0x54c53c(0x8f)]=![];}async[a4_0x384d96(0xaf)](_0x337cd3){const _0x58c65b=a4_0x384d96;if(!this[_0x58c65b(0x8f)]){this[_0x58c65b(0x8f)]=!![],this['listevent']={};for(const _0x2be78c of(0x0,decorator_1['listModule'])(interface_1[_0x58c65b(0xa2)])||[]){const _0x1a47f7=await this[_0x58c65b(0x99)][_0x58c65b(0x85)]()[_0x58c65b(0x97)](_0x2be78c);for(const _0x2e8610 of(0x0,decorator_1[_0x58c65b(0x98)])(interface_1[_0x58c65b(0x8a)],_0x2be78c)||[]){typeof(_0x1a47f7[_0x2e8610['propertyKey']]==_0x58c65b(0x90))&&(!this[_0x58c65b(0x87)][_0x2e8610[_0x58c65b(0x8b)]]&&(this[_0x58c65b(0x87)][_0x2e8610[_0x58c65b(0x8b)]]=[]),this[_0x58c65b(0x87)][_0x2e8610[_0x58c65b(0x8b)]][_0x58c65b(0xac)]({'priority':_0x2e8610['priority'],'resolve':_0x1a47f7[_0x2e8610[_0x58c65b(0x89)]][_0x58c65b(0x91)](_0x1a47f7),'propertyKey':_0x2be78c[_0x58c65b(0x8b)]+'@'+_0x2e8610[_0x58c65b(0x89)]}));}}for(const _0x2bef08 in this['listevent']){this[_0x58c65b(0x87)][_0x2bef08]=(0x0,collect_js_1[_0x58c65b(0x8c)])(this[_0x58c65b(0x87)][_0x2bef08])[_0x58c65b(0x9d)]('priority')['all']();}}return _0x337cd3?this['listevent'][_0x337cd3]||[]:this['listevent'];}async['emit'](_0x13cf13,..._0x541fd6){const _0x3b9627=a4_0x384d96;var _0x24afdc,_0x22e831;await this['getListevent']();for(let _0x44a004 in(_0x24afdc=this[_0x3b9627(0x87)])===null||_0x24afdc===void 0x0?void 0x0:_0x24afdc[_0x13cf13]){const _0x2883aa=(_0x22e831=this[_0x3b9627(0x87)][_0x13cf13])===null||_0x22e831===void 0x0?void 0x0:_0x22e831[_0x44a004];(_0x2883aa===null||_0x2883aa===void 0x0?void 0x0:_0x2883aa[_0x3b9627(0x86)])&&typeof(_0x2883aa===null||_0x2883aa===void 0x0?void 0x0:_0x2883aa[_0x3b9627(0x86)])=='function'&&await _0x2883aa[_0x3b9627(0x86)](..._0x541fd6);}}async[a4_0x384d96(0x9b)](_0xccf4a3,..._0x3c9bc9){const _0xc254c5=a4_0x384d96;return await this[_0xc254c5(0xaf)](),await this[_0xc254c5(0x96)](_0xccf4a3,..._0x3c9bc9),this['off'](_0xccf4a3);}async[a4_0x384d96(0x8d)](_0x380c1c){const _0x2331a1=a4_0x384d96;return await this[_0x2331a1(0xaf)](),this['listevent'][_0x380c1c]&&delete this[_0x2331a1(0x87)][_0x380c1c],!!this[_0x2331a1(0x87)][_0x380c1c];}};__decorate([(0x0,decorator_1[a4_0x384d96(0xa3)])(),__metadata(a4_0x384d96(0xad),Object)],EventService['prototype'],'app',void 0x0),EventService=__decorate([(0x0,decorator_1['Provide'])(a4_0x384d96(0xaa)),(0x0,decorator_1['Scope'])(decorator_1[a4_0x384d96(0x92)]['Singleton'])],EventService),exports['EventService']=EventService;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anncic-api/event",
3
- "version": "1.1.26",
3
+ "version": "1.1.27",
4
4
  "main": "./dist/index.js",
5
5
  "license": "MIT",
6
6
  "files": [
@@ -21,5 +21,5 @@
21
21
  "javascript-obfuscator": "2.19.0",
22
22
  "typescript": "^4.7.4"
23
23
  },
24
- "gitHead": "27055594d8752b494835b0954f9206e40982bb82"
24
+ "gitHead": "f15bfeb6ef32d8278422f69e643c86ab544fdbd9"
25
25
  }