@anncic-api/event 1.1.27 → 1.1.28

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_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
+ 'use strict';var a0_0xa07175=a0_0xb6f6;(function(_0x1f6f3c,_0x1a39e9){var _0x33de9d=a0_0xb6f6,_0x492441=_0x1f6f3c();while(!![]){try{var _0x455d4d=parseInt(_0x33de9d(0x152))/0x1*(parseInt(_0x33de9d(0x15f))/0x2)+parseInt(_0x33de9d(0x14e))/0x3*(parseInt(_0x33de9d(0x167))/0x4)+parseInt(_0x33de9d(0x151))/0x5+parseInt(_0x33de9d(0x164))/0x6*(-parseInt(_0x33de9d(0x160))/0x7)+-parseInt(_0x33de9d(0x159))/0x8+-parseInt(_0x33de9d(0x169))/0x9*(parseInt(_0x33de9d(0x16a))/0xa)+parseInt(_0x33de9d(0x154))/0xb;if(_0x455d4d===_0x1a39e9)break;else _0x492441['push'](_0x492441['shift']());}catch(_0x2d23d9){_0x492441['push'](_0x492441['shift']());}}}(a0_0x5a2a,0x2219e));var __decorate=this&&this['__decorate']||function(_0x4d006d,_0x13e195,_0x2bdced,_0x5474bf){var _0x57211c=a0_0xb6f6,_0x1c34d2=arguments[_0x57211c(0x165)],_0x47fa5e=_0x1c34d2<0x3?_0x13e195:_0x5474bf===null?_0x5474bf=Object[_0x57211c(0x162)](_0x13e195,_0x2bdced):_0x5474bf,_0x2907b7;if(typeof Reflect===_0x57211c(0x15a)&&typeof Reflect['decorate']==='function')_0x47fa5e=Reflect[_0x57211c(0x166)](_0x4d006d,_0x13e195,_0x2bdced,_0x5474bf);else{for(var _0x46d938=_0x4d006d[_0x57211c(0x165)]-0x1;_0x46d938>=0x0;_0x46d938--)if(_0x2907b7=_0x4d006d[_0x46d938])_0x47fa5e=(_0x1c34d2<0x3?_0x2907b7(_0x47fa5e):_0x1c34d2>0x3?_0x2907b7(_0x13e195,_0x2bdced,_0x47fa5e):_0x2907b7(_0x13e195,_0x2bdced))||_0x47fa5e;}return _0x1c34d2>0x3&&_0x47fa5e&&Object[_0x57211c(0x15d)](_0x13e195,_0x2bdced,_0x47fa5e),_0x47fa5e;},__metadata=this&&this[a0_0xa07175(0x158)]||function(_0x34e7ea,_0x3f96bb){var _0x1a730d=a0_0xa07175;if(typeof Reflect===_0x1a730d(0x15a)&&typeof Reflect[_0x1a730d(0x150)]===_0x1a730d(0x157))return Reflect[_0x1a730d(0x150)](_0x34e7ea,_0x3f96bb);};function a0_0xb6f6(_0x324d99,_0x5ec2fd){var _0x5a2a32=a0_0x5a2a();return a0_0xb6f6=function(_0xb6f6f0,_0x58aa12){_0xb6f6f0=_0xb6f6f0-0x14e;var _0x5f4406=_0x5a2a32[_0xb6f6f0];return _0x5f4406;},a0_0xb6f6(_0x324d99,_0x5ec2fd);}Object[a0_0xa07175(0x15d)](exports,a0_0xa07175(0x163),{'value':!![]}),exports[a0_0xa07175(0x168)]=void 0x0;function a0_0x5a2a(){var _0x520046=['length','decorate','536ULtAcB','CustomConfiguration','369SkAlfl','35740zSPMEQ','@midwayjs/core','decorator','2274FxKSpl','MidwayConfigService','metadata','784845PcmGMk','144817YairGv','prototype','3695626HihXpK','Inject','@midwayjs/decorator','function','__metadata','2064064akHuNb','object','design:type','config','defineProperty','MidwayDecoratorService','2zkflQJ','91zNFedX','anncic-api:event','getOwnPropertyDescriptor','__esModule','90048AASjIW'];a0_0x5a2a=function(){return _0x520046;};return a0_0x5a2a();}const decorator_1=require(a0_0xa07175(0x156)),core_1=require(a0_0xa07175(0x16b));let CustomConfiguration=class CustomConfiguration{async['onReady'](){}};__decorate([(0x0,decorator_1['Inject'])(),__metadata(a0_0xa07175(0x15b),core_1[a0_0xa07175(0x14f)])],CustomConfiguration['prototype'],a0_0xa07175(0x15c),void 0x0),__decorate([(0x0,decorator_1[a0_0xa07175(0x155)])(),__metadata(a0_0xa07175(0x15b),core_1[a0_0xa07175(0x15e)])],CustomConfiguration[a0_0xa07175(0x153)],a0_0xa07175(0x16c),void 0x0),CustomConfiguration=__decorate([(0x0,decorator_1['Configuration'])({'conflictCheck':![],'namespace':a0_0xa07175(0x161)})],CustomConfiguration),exports[a0_0xa07175(0x168)]=CustomConfiguration;
@@ -1 +1 @@
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;};};
1
+ 'use strict';const a1_0x42c6c1=a1_0x32f0;(function(_0x4ebcd7,_0x3f3d58){const _0x2871af=a1_0x32f0,_0xacfef4=_0x4ebcd7();while(!![]){try{const _0x41098f=parseInt(_0x2871af(0x1b7))/0x1+-parseInt(_0x2871af(0x1b9))/0x2+parseInt(_0x2871af(0x1b4))/0x3*(parseInt(_0x2871af(0x1c3))/0x4)+-parseInt(_0x2871af(0x1b8))/0x5+parseInt(_0x2871af(0x1bb))/0x6*(parseInt(_0x2871af(0x1bc))/0x7)+-parseInt(_0x2871af(0x1af))/0x8+parseInt(_0x2871af(0x1b5))/0x9*(-parseInt(_0x2871af(0x1b6))/0xa);if(_0x41098f===_0x3f3d58)break;else _0xacfef4['push'](_0xacfef4['shift']());}catch(_0xe017){_0xacfef4['push'](_0xacfef4['shift']());}}}(a1_0xb28d,0x55eaa));function a1_0xb28d(){const _0x375040=['EVENT_KEY','17880BBoWjL','4641072ZhHPAt','@midwayjs/decorator','attachClassMetadata','Provide','Scope','402hQiccw','36954JGnIZM','120tHgFoG','125511RETElF','1810425mcWjqt','52782Kbnzdr','saveModule','30EKLgWL','903427vSkyNA','Event','EVENT_ON_KEY','ScopeEnum','__esModule','defineProperty'];a1_0xb28d=function(){return _0x375040;};return a1_0xb28d();}Object[a1_0x42c6c1(0x1c1)](exports,a1_0x42c6c1(0x1c0),{'value':!![]}),exports[a1_0x42c6c1(0x1bd)]=void 0x0;const decorator_1=require(a1_0x42c6c1(0x1b0)),interface_1=require('../interface');function a1_0x32f0(_0x368932,_0x2d0b6e){const _0xb28d46=a1_0xb28d();return a1_0x32f0=function(_0x32f047,_0xfe47d3){_0x32f047=_0x32f047-0x1af;let _0x245528=_0xb28d46[_0x32f047];return _0x245528;},a1_0x32f0(_0x368932,_0x2d0b6e);}function Event(){return _0x379b28=>{const _0x53b401=a1_0x32f0;(0x0,decorator_1[_0x53b401(0x1b2)])()(_0x379b28),(0x0,decorator_1[_0x53b401(0x1ba)])(interface_1[_0x53b401(0x1c2)],_0x379b28),(0x0,decorator_1[_0x53b401(0x1b3)])(decorator_1[_0x53b401(0x1bf)]['Request'],{'allowDowngrade':!![]})(_0x379b28);};}exports['Event']=Event,Event['On']=function(_0xbefc5a,_0x597bcb=0x0){return(_0x38a5ab,_0x2b5c77,_0x1bf9d7)=>{const _0x169997=a1_0x32f0;return(0x0,decorator_1[_0x169997(0x1b1)])(interface_1[_0x169997(0x1be)],{'name':_0xbefc5a,'priority':_0x597bcb,'propertyKey':_0x2b5c77,'descriptor':_0x1bf9d7},_0x38a5ab),_0x1bf9d7;};};
package/dist/index.js CHANGED
@@ -1 +1 @@
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'];}});
1
+ 'use strict';var a2_0x1b93c5=a2_0x2ac8;function a2_0x2ac8(_0x549a90,_0x20c0bc){var _0x1487e4=a2_0x1487();return a2_0x2ac8=function(_0x2ac88e,_0x3d5595){_0x2ac88e=_0x2ac88e-0x6d;var _0x5b7e2c=_0x1487e4[_0x2ac88e];return _0x5b7e2c;},a2_0x2ac8(_0x549a90,_0x20c0bc);}(function(_0x118054,_0x360b4b){var _0x16a10d=a2_0x2ac8,_0x4a8880=_0x118054();while(!![]){try{var _0x359998=parseInt(_0x16a10d(0x76))/0x1+-parseInt(_0x16a10d(0x7d))/0x2+parseInt(_0x16a10d(0x7c))/0x3+parseInt(_0x16a10d(0x70))/0x4*(parseInt(_0x16a10d(0x73))/0x5)+-parseInt(_0x16a10d(0x6e))/0x6*(-parseInt(_0x16a10d(0x6f))/0x7)+-parseInt(_0x16a10d(0x75))/0x8+-parseInt(_0x16a10d(0x7b))/0x9*(parseInt(_0x16a10d(0x6d))/0xa);if(_0x359998===_0x360b4b)break;else _0x4a8880['push'](_0x4a8880['shift']());}catch(_0x5868c6){_0x4a8880['push'](_0x4a8880['shift']());}}}(a2_0x1487,0x6e588));Object['defineProperty'](exports,a2_0x1b93c5(0x7a),{'value':!![]}),exports[a2_0x1b93c5(0x72)]=exports['EventService']=exports[a2_0x1b93c5(0x7e)]=void 0x0;var Event_1=require(a2_0x1b93c5(0x79));Object[a2_0x1b93c5(0x71)](exports,a2_0x1b93c5(0x7e),{'enumerable':!![],'get':function(){var _0x2ca625=a2_0x1b93c5;return Event_1[_0x2ca625(0x7e)];}});var EventService_1=require(a2_0x1b93c5(0x78));Object['defineProperty'](exports,a2_0x1b93c5(0x74),{'enumerable':!![],'get':function(){return EventService_1['EventService'];}});var configuration_1=require('./configuration');function a2_0x1487(){var _0x5b61f1=['EventService','6845128Oswsyq','272170AMmIRn','CustomConfiguration','./service/EventService','./decorator/Event','__esModule','9EduWTn','1056396CZEfNu','531020TmLYls','Event','926020ERILNd','1698tyPubA','7469omEUUu','136VHyNUi','defineProperty','Configuration','108745BaYjUc'];a2_0x1487=function(){return _0x5b61f1;};return a2_0x1487();}Object[a2_0x1b93c5(0x71)](exports,a2_0x1b93c5(0x72),{'enumerable':!![],'get':function(){var _0x5bce06=a2_0x1b93c5;return configuration_1[_0x5bce06(0x77)];}});
package/dist/interface.js CHANGED
@@ -1 +1 @@
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
+ 'use strict';var a3_0x44f7e0=a3_0x51a5;function a3_0x51a5(_0x6c92b9,_0x3449da){var _0x4b076a=a3_0x4b07();return a3_0x51a5=function(_0x51a533,_0x20834d){_0x51a533=_0x51a533-0x66;var _0x23cfb0=_0x4b076a[_0x51a533];return _0x23cfb0;},a3_0x51a5(_0x6c92b9,_0x3449da);}(function(_0x36d539,_0x2ea18c){var _0x4d0584=a3_0x51a5,_0x23b0c1=_0x36d539();while(!![]){try{var _0x250cf3=-parseInt(_0x4d0584(0x70))/0x1+-parseInt(_0x4d0584(0x68))/0x2+parseInt(_0x4d0584(0x6f))/0x3*(parseInt(_0x4d0584(0x6e))/0x4)+parseInt(_0x4d0584(0x66))/0x5+-parseInt(_0x4d0584(0x6c))/0x6+-parseInt(_0x4d0584(0x71))/0x7+parseInt(_0x4d0584(0x6b))/0x8;if(_0x250cf3===_0x2ea18c)break;else _0x23b0c1['push'](_0x23b0c1['shift']());}catch(_0x11bc12){_0x23b0c1['push'](_0x23b0c1['shift']());}}}(a3_0x4b07,0xb10b7));function a3_0x4b07(){var _0x2d6c17=['7170520UapHRB','6446185GEWlNz','EVENT_KEY','1638388oiSzRg','EVENT_ON_KEY','__esModule','21917464mvnJda','4265088RqrkBq','anncic-api:event:on','4SgUfhp','332436bSmhRB','860155LFocIj'];a3_0x4b07=function(){return _0x2d6c17;};return a3_0x4b07();}Object['defineProperty'](exports,a3_0x44f7e0(0x6a),{'value':!![]}),exports[a3_0x44f7e0(0x69)]=exports[a3_0x44f7e0(0x67)]=void 0x0,exports['EVENT_KEY']='anncic-api:event',exports[a3_0x44f7e0(0x69)]=a3_0x44f7e0(0x6d);
@@ -1 +1 @@
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;
1
+ 'use strict';const a4_0x5231d9=a4_0x2027;(function(_0x2ba092,_0x2dff70){const _0x3024d3=a4_0x2027,_0x3053f0=_0x2ba092();while(!![]){try{const _0x4acc90=parseInt(_0x3024d3(0x1a5))/0x1*(parseInt(_0x3024d3(0x18c))/0x2)+parseInt(_0x3024d3(0x1b2))/0x3+-parseInt(_0x3024d3(0x19c))/0x4*(parseInt(_0x3024d3(0x1b0))/0x5)+-parseInt(_0x3024d3(0x189))/0x6*(-parseInt(_0x3024d3(0x1a1))/0x7)+parseInt(_0x3024d3(0x1a6))/0x8+parseInt(_0x3024d3(0x192))/0x9+parseInt(_0x3024d3(0x1ae))/0xa*(-parseInt(_0x3024d3(0x1a4))/0xb);if(_0x4acc90===_0x2dff70)break;else _0x3053f0['push'](_0x3053f0['shift']());}catch(_0xc35919){_0x3053f0['push'](_0x3053f0['shift']());}}}(a4_0x4e0a,0x50019));var __decorate=this&&this[a4_0x5231d9(0x187)]||function(_0x560204,_0x25e62,_0x24b92d,_0x286026){const _0x452c6f=a4_0x5231d9;var _0x47fb11=arguments[_0x452c6f(0x18d)],_0x314d37=_0x47fb11<0x3?_0x25e62:_0x286026===null?_0x286026=Object[_0x452c6f(0x19e)](_0x25e62,_0x24b92d):_0x286026,_0xadb3f0;if(typeof Reflect===_0x452c6f(0x1ad)&&typeof Reflect[_0x452c6f(0x190)]==='function')_0x314d37=Reflect[_0x452c6f(0x190)](_0x560204,_0x25e62,_0x24b92d,_0x286026);else{for(var _0x483dc9=_0x560204[_0x452c6f(0x18d)]-0x1;_0x483dc9>=0x0;_0x483dc9--)if(_0xadb3f0=_0x560204[_0x483dc9])_0x314d37=(_0x47fb11<0x3?_0xadb3f0(_0x314d37):_0x47fb11>0x3?_0xadb3f0(_0x25e62,_0x24b92d,_0x314d37):_0xadb3f0(_0x25e62,_0x24b92d))||_0x314d37;}return _0x47fb11>0x3&&_0x314d37&&Object[_0x452c6f(0x1ab)](_0x25e62,_0x24b92d,_0x314d37),_0x314d37;},__metadata=this&&this['__metadata']||function(_0x194da5,_0x54b404){const _0x179f12=a4_0x5231d9;if(typeof Reflect===_0x179f12(0x1ad)&&typeof Reflect['metadata']===_0x179f12(0x1a3))return Reflect['metadata'](_0x194da5,_0x54b404);};function a4_0x4e0a(){const _0x5471f6=['App','../interface','listModule','listevent','183484MjfSbT','getApplicationContext','getOwnPropertyDescriptor','priority','prototype','2876993opyPsf','Scope','function','17380QdLqTQ','266281LwzDxq','308744oQoLhR','app','emit','getAsync','EventService','defineProperty','once','object','7940ZzBCwH','push','30BfLtrL','design:type','814350jJpPzt','Provide','getClassMetadata','__decorate','off','6RNNmwR','bind','name','4hbjAbM','length','propertyKey','getListevent','decorate','@midwayjs/decorator','5434623ILUlpO','init','__esModule','Singleton','EVENT_KEY','resolve'];a4_0x4e0a=function(){return _0x5471f6;};return a4_0x4e0a();}Object['defineProperty'](exports,a4_0x5231d9(0x194),{'value':!![]}),exports[a4_0x5231d9(0x1aa)]=void 0x0;const collect_js_1=require('collect.js'),decorator_1=require(a4_0x5231d9(0x191)),interface_1=require(a4_0x5231d9(0x199));function a4_0x2027(_0x1c7da0,_0x56f91a){const _0x4e0ae6=a4_0x4e0a();return a4_0x2027=function(_0x2027f1,_0x5008b6){_0x2027f1=_0x2027f1-0x185;let _0x2f329e=_0x4e0ae6[_0x2027f1];return _0x2f329e;},a4_0x2027(_0x1c7da0,_0x56f91a);}let EventService=class EventService{constructor(){this['init']=![];}async['getListevent'](_0x41f813){const _0x2f0dc3=a4_0x5231d9;if(!this[_0x2f0dc3(0x193)]){this[_0x2f0dc3(0x193)]=!![],this[_0x2f0dc3(0x19b)]={};for(const _0x410207 of(0x0,decorator_1[_0x2f0dc3(0x19a)])(interface_1[_0x2f0dc3(0x196)])||[]){const _0x550259=await this[_0x2f0dc3(0x1a7)][_0x2f0dc3(0x19d)]()[_0x2f0dc3(0x1a9)](_0x410207);for(const _0x2da8a8 of(0x0,decorator_1[_0x2f0dc3(0x186)])(interface_1['EVENT_ON_KEY'],_0x410207)||[]){typeof(_0x550259[_0x2da8a8[_0x2f0dc3(0x18e)]]==_0x2f0dc3(0x1a3))&&(!this[_0x2f0dc3(0x19b)][_0x2da8a8[_0x2f0dc3(0x18b)]]&&(this[_0x2f0dc3(0x19b)][_0x2da8a8[_0x2f0dc3(0x18b)]]=[]),this[_0x2f0dc3(0x19b)][_0x2da8a8[_0x2f0dc3(0x18b)]][_0x2f0dc3(0x1af)]({'priority':_0x2da8a8[_0x2f0dc3(0x19f)],'resolve':_0x550259[_0x2da8a8['propertyKey']][_0x2f0dc3(0x18a)](_0x550259),'propertyKey':_0x410207['name']+'@'+_0x2da8a8['propertyKey']}));}}for(const _0x3be637 in this['listevent']){this[_0x2f0dc3(0x19b)][_0x3be637]=(0x0,collect_js_1['default'])(this[_0x2f0dc3(0x19b)][_0x3be637])['sortByDesc'](_0x2f0dc3(0x19f))['all']();}}return _0x41f813?this[_0x2f0dc3(0x19b)][_0x41f813]||[]:this[_0x2f0dc3(0x19b)];}async['emit'](_0x3f4f09,..._0x3dc51e){const _0x2fbe3a=a4_0x5231d9;var _0x118458,_0x46ce4a;await this[_0x2fbe3a(0x18f)]();for(let _0x217400 in(_0x118458=this['listevent'])===null||_0x118458===void 0x0?void 0x0:_0x118458[_0x3f4f09]){const _0x320583=(_0x46ce4a=this[_0x2fbe3a(0x19b)][_0x3f4f09])===null||_0x46ce4a===void 0x0?void 0x0:_0x46ce4a[_0x217400];(_0x320583===null||_0x320583===void 0x0?void 0x0:_0x320583['resolve'])&&typeof(_0x320583===null||_0x320583===void 0x0?void 0x0:_0x320583[_0x2fbe3a(0x197)])==_0x2fbe3a(0x1a3)&&await _0x320583[_0x2fbe3a(0x197)](..._0x3dc51e);}}async[a4_0x5231d9(0x1ac)](_0x58ff44,..._0x449499){const _0x325129=a4_0x5231d9;return await this[_0x325129(0x18f)](),await this[_0x325129(0x1a8)](_0x58ff44,..._0x449499),this['off'](_0x58ff44);}async[a4_0x5231d9(0x188)](_0x578a23){const _0x693315=a4_0x5231d9;return await this[_0x693315(0x18f)](),this['listevent'][_0x578a23]&&delete this['listevent'][_0x578a23],!!this[_0x693315(0x19b)][_0x578a23];}};__decorate([(0x0,decorator_1[a4_0x5231d9(0x198)])(),__metadata(a4_0x5231d9(0x1b1),Object)],EventService[a4_0x5231d9(0x1a0)],a4_0x5231d9(0x1a7),void 0x0),EventService=__decorate([(0x0,decorator_1[a4_0x5231d9(0x185)])('event'),(0x0,decorator_1[a4_0x5231d9(0x1a2)])(decorator_1['ScopeEnum'][a4_0x5231d9(0x195)])],EventService),exports[a4_0x5231d9(0x1aa)]=EventService;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anncic-api/event",
3
- "version": "1.1.27",
3
+ "version": "1.1.28",
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": "f15bfeb6ef32d8278422f69e643c86ab544fdbd9"
24
+ "gitHead": "fbfe0d5e3fd0647795ef3b009aae3f43eaa4f618"
25
25
  }