@anncic-api/event 1.2.3 → 1.2.4

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_0x48d909=a0_0x1d86;(function(_0x12f8a1,_0x5331b3){var _0x5bbad7=a0_0x1d86,_0x5940e3=_0x12f8a1();while(!![]){try{var _0x32688d=parseInt(_0x5bbad7(0x1df))/0x1+-parseInt(_0x5bbad7(0x1e6))/0x2*(-parseInt(_0x5bbad7(0x1d8))/0x3)+parseInt(_0x5bbad7(0x1d2))/0x4+-parseInt(_0x5bbad7(0x1e2))/0x5+-parseInt(_0x5bbad7(0x1db))/0x6+parseInt(_0x5bbad7(0x1d0))/0x7+-parseInt(_0x5bbad7(0x1d5))/0x8;if(_0x32688d===_0x5331b3)break;else _0x5940e3['push'](_0x5940e3['shift']());}catch(_0x10c355){_0x5940e3['push'](_0x5940e3['shift']());}}}(a0_0x103f,0xb423c));var __decorate=this&&this['__decorate']||function(_0x568bcd,_0x41b8d9,_0x18e320,_0x436817){var _0x3d16fd=a0_0x1d86,_0x52df6f=arguments[_0x3d16fd(0x1d7)],_0x5f0118=_0x52df6f<0x3?_0x41b8d9:_0x436817===null?_0x436817=Object[_0x3d16fd(0x1d9)](_0x41b8d9,_0x18e320):_0x436817,_0x15c8a5;if(typeof Reflect===_0x3d16fd(0x1e8)&&typeof Reflect[_0x3d16fd(0x1d4)]==='function')_0x5f0118=Reflect['decorate'](_0x568bcd,_0x41b8d9,_0x18e320,_0x436817);else{for(var _0x3c2431=_0x568bcd[_0x3d16fd(0x1d7)]-0x1;_0x3c2431>=0x0;_0x3c2431--)if(_0x15c8a5=_0x568bcd[_0x3c2431])_0x5f0118=(_0x52df6f<0x3?_0x15c8a5(_0x5f0118):_0x52df6f>0x3?_0x15c8a5(_0x41b8d9,_0x18e320,_0x5f0118):_0x15c8a5(_0x41b8d9,_0x18e320))||_0x5f0118;}return _0x52df6f>0x3&&_0x5f0118&&Object[_0x3d16fd(0x1dc)](_0x41b8d9,_0x18e320,_0x5f0118),_0x5f0118;},__metadata=this&&this[a0_0x48d909(0x1e1)]||function(_0x39b9e0,_0x3d376e){var _0x588f68=a0_0x48d909;if(typeof Reflect===_0x588f68(0x1e8)&&typeof Reflect[_0x588f68(0x1e9)]===_0x588f68(0x1e7))return Reflect[_0x588f68(0x1e9)](_0x39b9e0,_0x3d376e);};Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[a0_0x48d909(0x1e4)]=void 0x0;const core_1=require(a0_0x48d909(0x1de)),core_2=require(a0_0x48d909(0x1de));function a0_0x1d86(_0xb01780,_0x4cae48){var _0x103fbe=a0_0x103f();return a0_0x1d86=function(_0x1d868a,_0x2e6b20){_0x1d868a=_0x1d868a-0x1d0;var _0x570571=_0x103fbe[_0x1d868a];return _0x570571;},a0_0x1d86(_0xb01780,_0x4cae48);}let CustomConfiguration=class CustomConfiguration{async[a0_0x48d909(0x1e5)](){}};function a0_0x103f(){var _0x3f25ae=['prototype','length','1159731cCBfgk','getOwnPropertyDescriptor','MidwayConfigService','1569612BxJSwM','defineProperty','design:type','@midwayjs/core','318419xLZEul','MidwayDecoratorService','__metadata','1949285SlStOb','Inject','CustomConfiguration','onReady','4pZdmIt','function','object','metadata','9563232MtygCd','anncic-api:event','4857612SUDsyn','config','decorate','18262728NGhBLw'];a0_0x103f=function(){return _0x3f25ae;};return a0_0x103f();}__decorate([(0x0,core_1[a0_0x48d909(0x1e3)])(),__metadata(a0_0x48d909(0x1dd),core_2[a0_0x48d909(0x1da)])],CustomConfiguration[a0_0x48d909(0x1d6)],a0_0x48d909(0x1d3),void 0x0),__decorate([(0x0,core_1[a0_0x48d909(0x1e3)])(),__metadata(a0_0x48d909(0x1dd),core_2[a0_0x48d909(0x1e0)])],CustomConfiguration['prototype'],'decorator',void 0x0),CustomConfiguration=__decorate([(0x0,core_1['Configuration'])({'conflictCheck':![],'namespace':a0_0x48d909(0x1d1)})],CustomConfiguration),exports[a0_0x48d909(0x1e4)]=CustomConfiguration;
1
+ 'use strict';var a0_0x175093=a0_0x3095;function a0_0x1f8c(){var _0x189773=['MidwayDecoratorService','anncic-api:event','157881qLxoFf','599736pyknaz','defineProperty','length','__metadata','13GhSDZp','__decorate','18uCxxHb','decorate','getOwnPropertyDescriptor','733018zOGpso','function','metadata','152868TBvUCN','MidwayConfigService','@midwayjs/core','21wmUgRK','410vbbmMr','3260jymNzQ','object','544608GICREN','78053mIleUa','config','design:type','10AUJWeZ','prototype','CustomConfiguration','Configuration','50hHqCSY'];a0_0x1f8c=function(){return _0x189773;};return a0_0x1f8c();}(function(_0x24bfd1,_0x187e35){var _0xbcae5=a0_0x3095,_0x4dd81d=_0x24bfd1();while(!![]){try{var _0x43492c=parseInt(_0xbcae5(0x1cb))/0x1+parseInt(_0xbcae5(0x1af))/0x2*(parseInt(_0xbcae5(0x1b6))/0x3)+parseInt(_0xbcae5(0x1c8))/0x4*(-parseInt(_0xbcae5(0x1c7))/0x5)+parseInt(_0xbcae5(0x1ca))/0x6*(-parseInt(_0xbcae5(0x1c6))/0x7)+parseInt(_0xbcae5(0x1b7))/0x8*(-parseInt(_0xbcae5(0x1bd))/0x9)+parseInt(_0xbcae5(0x1b3))/0xa*(parseInt(_0xbcae5(0x1c0))/0xb)+parseInt(_0xbcae5(0x1c3))/0xc*(-parseInt(_0xbcae5(0x1bb))/0xd);if(_0x43492c===_0x187e35)break;else _0x4dd81d['push'](_0x4dd81d['shift']());}catch(_0x4e0c2e){_0x4dd81d['push'](_0x4dd81d['shift']());}}}(a0_0x1f8c,0x2a21b));var __decorate=this&&this[a0_0x175093(0x1bc)]||function(_0x25ea88,_0x10a2b8,_0x5b3182,_0x157a3d){var _0x74e49c=a0_0x175093,_0x2f7438=arguments['length'],_0x5c0114=_0x2f7438<0x3?_0x10a2b8:_0x157a3d===null?_0x157a3d=Object[_0x74e49c(0x1bf)](_0x10a2b8,_0x5b3182):_0x157a3d,_0x3e97a2;if(typeof Reflect===_0x74e49c(0x1c9)&&typeof Reflect[_0x74e49c(0x1be)]===_0x74e49c(0x1c1))_0x5c0114=Reflect[_0x74e49c(0x1be)](_0x25ea88,_0x10a2b8,_0x5b3182,_0x157a3d);else{for(var _0x3f34c1=_0x25ea88[_0x74e49c(0x1b9)]-0x1;_0x3f34c1>=0x0;_0x3f34c1--)if(_0x3e97a2=_0x25ea88[_0x3f34c1])_0x5c0114=(_0x2f7438<0x3?_0x3e97a2(_0x5c0114):_0x2f7438>0x3?_0x3e97a2(_0x10a2b8,_0x5b3182,_0x5c0114):_0x3e97a2(_0x10a2b8,_0x5b3182))||_0x5c0114;}return _0x2f7438>0x3&&_0x5c0114&&Object[_0x74e49c(0x1b8)](_0x10a2b8,_0x5b3182,_0x5c0114),_0x5c0114;},__metadata=this&&this[a0_0x175093(0x1ba)]||function(_0x41b884,_0x530557){var _0x5765da=a0_0x175093;if(typeof Reflect==='object'&&typeof Reflect[_0x5765da(0x1c2)]===_0x5765da(0x1c1))return Reflect[_0x5765da(0x1c2)](_0x41b884,_0x530557);};Object[a0_0x175093(0x1b8)](exports,'__esModule',{'value':!![]}),exports['CustomConfiguration']=void 0x0;function a0_0x3095(_0x395237,_0x1c03ba){var _0x1f8c70=a0_0x1f8c();return a0_0x3095=function(_0x309500,_0x59db4d){_0x309500=_0x309500-0x1af;var _0x30a85e=_0x1f8c70[_0x309500];return _0x30a85e;},a0_0x3095(_0x395237,_0x1c03ba);}const core_1=require(a0_0x175093(0x1c5)),core_2=require(a0_0x175093(0x1c5));let CustomConfiguration=class CustomConfiguration{async['onReady'](){}};__decorate([(0x0,core_1['Inject'])(),__metadata(a0_0x175093(0x1cd),core_2[a0_0x175093(0x1c4)])],CustomConfiguration[a0_0x175093(0x1b0)],a0_0x175093(0x1cc),void 0x0),__decorate([(0x0,core_1['Inject'])(),__metadata('design:type',core_2[a0_0x175093(0x1b4)])],CustomConfiguration['prototype'],'decorator',void 0x0),CustomConfiguration=__decorate([(0x0,core_1[a0_0x175093(0x1b2)])({'conflictCheck':![],'namespace':a0_0x175093(0x1b5)})],CustomConfiguration),exports[a0_0x175093(0x1b1)]=CustomConfiguration;
@@ -1 +1 @@
1
- 'use strict';const a1_0x29d866=a1_0x3d8a;function a1_0x3d8a(_0x303619,_0x2e386f){const _0x5c3956=a1_0x5c39();return a1_0x3d8a=function(_0x3d8a8b,_0x5130a6){_0x3d8a8b=_0x3d8a8b-0x169;let _0x4ed93e=_0x5c3956[_0x3d8a8b];return _0x4ed93e;},a1_0x3d8a(_0x303619,_0x2e386f);}(function(_0x490fe9,_0x2ef8bb){const _0xbb43d8=a1_0x3d8a,_0xbc9525=_0x490fe9();while(!![]){try{const _0xe1cc78=-parseInt(_0xbb43d8(0x16e))/0x1*(parseInt(_0xbb43d8(0x181))/0x2)+-parseInt(_0xbb43d8(0x17b))/0x3*(parseInt(_0xbb43d8(0x16b))/0x4)+parseInt(_0xbb43d8(0x17f))/0x5*(-parseInt(_0xbb43d8(0x17a))/0x6)+-parseInt(_0xbb43d8(0x177))/0x7*(parseInt(_0xbb43d8(0x16f))/0x8)+parseInt(_0xbb43d8(0x176))/0x9*(parseInt(_0xbb43d8(0x17e))/0xa)+-parseInt(_0xbb43d8(0x17d))/0xb*(-parseInt(_0xbb43d8(0x16c))/0xc)+parseInt(_0xbb43d8(0x16d))/0xd*(parseInt(_0xbb43d8(0x174))/0xe);if(_0xe1cc78===_0x2ef8bb)break;else _0xbc9525['push'](_0xbc9525['shift']());}catch(_0x381592){_0xbc9525['push'](_0xbc9525['shift']());}}}(a1_0x5c39,0xc8fcd));Object['defineProperty'](exports,a1_0x29d866(0x171),{'value':!![]}),exports[a1_0x29d866(0x179)]=void 0x0;function a1_0x5c39(){const _0x301498=['16027AdPlfq','4518470PzYNyc','215QBWrFP','EVENT_KEY','11226RxVIMQ','@midwayjs/core','EVENT_ON_KEY','86292ybXTAB','468dfFERU','6162JdTcCO','75DnVQzc','20576dQdbAk','saveModule','__esModule','../interface','Provide','70042OchHUk','Scope','18uJlvEj','3402jPJwTo','ScopeEnum','Event','17556RAVywP','99KjHAlq','Request'];a1_0x5c39=function(){return _0x301498;};return a1_0x5c39();}const core_1=require(a1_0x29d866(0x169)),interface_1=require(a1_0x29d866(0x172));function Event(){return _0x51f386=>{const _0x30de63=a1_0x3d8a;(0x0,core_1[_0x30de63(0x173)])()(_0x51f386),(0x0,core_1[_0x30de63(0x170)])(interface_1[_0x30de63(0x180)],_0x51f386),(0x0,core_1[_0x30de63(0x175)])(core_1[_0x30de63(0x178)][_0x30de63(0x17c)],{'allowDowngrade':!![]})(_0x51f386);};}exports['Event']=Event,Event['On']=function(_0x66d72d,_0x148e05=0x0){return(_0x1bd964,_0x1044e4,_0x25d337)=>{const _0x1f0206=a1_0x3d8a;return(0x0,core_1['attachClassMetadata'])(interface_1[_0x1f0206(0x16a)],{'name':_0x66d72d,'priority':_0x148e05,'propertyKey':_0x1044e4,'descriptor':_0x25d337},_0x1bd964),_0x25d337;};};
1
+ 'use strict';const a1_0x2007c0=a1_0x43cd;(function(_0x9d09ad,_0x361506){const _0x1aa595=a1_0x43cd,_0x507aa7=_0x9d09ad();while(!![]){try{const _0x2932b3=parseInt(_0x1aa595(0x1cb))/0x1*(parseInt(_0x1aa595(0x1c0))/0x2)+-parseInt(_0x1aa595(0x1c6))/0x3*(parseInt(_0x1aa595(0x1b5))/0x4)+parseInt(_0x1aa595(0x1b7))/0x5*(parseInt(_0x1aa595(0x1c4))/0x6)+-parseInt(_0x1aa595(0x1bc))/0x7*(parseInt(_0x1aa595(0x1ca))/0x8)+-parseInt(_0x1aa595(0x1c9))/0x9*(parseInt(_0x1aa595(0x1bd))/0xa)+parseInt(_0x1aa595(0x1b6))/0xb*(-parseInt(_0x1aa595(0x1b8))/0xc)+parseInt(_0x1aa595(0x1ba))/0xd*(parseInt(_0x1aa595(0x1c3))/0xe);if(_0x2932b3===_0x361506)break;else _0x507aa7['push'](_0x507aa7['shift']());}catch(_0x3f980e){_0x507aa7['push'](_0x507aa7['shift']());}}}(a1_0x5401,0xe5c8e));function a1_0x43cd(_0x43665f,_0x5c2fbb){const _0x540137=a1_0x5401();return a1_0x43cd=function(_0x43cd84,_0x3a68b7){_0x43cd84=_0x43cd84-0x1b5;let _0x4f27bd=_0x540137[_0x43cd84];return _0x4f27bd;},a1_0x43cd(_0x43665f,_0x5c2fbb);}Object[a1_0x2007c0(0x1bb)](exports,a1_0x2007c0(0x1c1),{'value':!![]}),exports[a1_0x2007c0(0x1c5)]=void 0x0;const core_1=require('@midwayjs/core'),interface_1=require(a1_0x2007c0(0x1bf));function Event(){return _0x4d4701=>{const _0x229c6f=a1_0x43cd;(0x0,core_1[_0x229c6f(0x1c7)])()(_0x4d4701),(0x0,core_1[_0x229c6f(0x1c8)])(interface_1[_0x229c6f(0x1b9)],_0x4d4701),(0x0,core_1['Scope'])(core_1['ScopeEnum'][_0x229c6f(0x1c2)],{'allowDowngrade':!![]})(_0x4d4701);};}function a1_0x5401(){const _0x263250=['1239026osPEsd','__esModule','Request','15444590TdYlEo','60YCQgZh','Event','5220eegOJA','Provide','saveModule','9arDKWc','2748792wCOBXl','1oRiUnQ','424ltPPuK','737xqhGnZ','839455booSnG','314268TuYFgG','EVENT_KEY','39GUfAyb','defineProperty','21fnxbjc','16968800kRHSnt','EVENT_ON_KEY','../interface'];a1_0x5401=function(){return _0x263250;};return a1_0x5401();}exports[a1_0x2007c0(0x1c5)]=Event,Event['On']=function(_0x4d861f,_0xc7481b=0x0){return(_0xbeea11,_0x23bfc6,_0x4f070b)=>{const _0x55e829=a1_0x43cd;return(0x0,core_1['attachClassMetadata'])(interface_1[_0x55e829(0x1be)],{'name':_0x4d861f,'priority':_0xc7481b,'propertyKey':_0x23bfc6,'descriptor':_0x4f070b},_0xbeea11),_0x4f070b;};};
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';var a2_0x27c1dd=a2_0x1f91;(function(_0x2a0d33,_0x431a4f){var _0x4d06cb=a2_0x1f91,_0xe443bf=_0x2a0d33();while(!![]){try{var _0x133094=parseInt(_0x4d06cb(0xac))/0x1+parseInt(_0x4d06cb(0xb2))/0x2*(parseInt(_0x4d06cb(0xb3))/0x3)+-parseInt(_0x4d06cb(0xa7))/0x4*(parseInt(_0x4d06cb(0xa4))/0x5)+-parseInt(_0x4d06cb(0xae))/0x6*(-parseInt(_0x4d06cb(0xb1))/0x7)+parseInt(_0x4d06cb(0xaa))/0x8*(parseInt(_0x4d06cb(0xad))/0x9)+parseInt(_0x4d06cb(0xb0))/0xa+-parseInt(_0x4d06cb(0xaf))/0xb;if(_0x133094===_0x431a4f)break;else _0xe443bf['push'](_0xe443bf['shift']());}catch(_0x347462){_0xe443bf['push'](_0xe443bf['shift']());}}}(a2_0x1766,0xab64a));function a2_0x1766(){var _0x120309=['./decorator/Event','8eNWnGt','defineProperty','1034527psYlyd','2960109grmBgC','6EjnhlX','59202xvMjIv','3446310mYmpdk','1099672ZKQXCz','20734xGtPUl','3NPohlg','EventService','5hkNloA','CustomConfiguration','./service/EventService','4672456pNHFvc','Event'];a2_0x1766=function(){return _0x120309;};return a2_0x1766();}Object[a2_0x27c1dd(0xab)](exports,'__esModule',{'value':!![]}),exports['Configuration']=exports[a2_0x27c1dd(0xa3)]=exports['Event']=void 0x0;var Event_1=require(a2_0x27c1dd(0xa9));Object[a2_0x27c1dd(0xab)](exports,a2_0x27c1dd(0xa8),{'enumerable':!![],'get':function(){return Event_1['Event'];}});var EventService_1=require(a2_0x27c1dd(0xa6));Object[a2_0x27c1dd(0xab)](exports,a2_0x27c1dd(0xa3),{'enumerable':!![],'get':function(){var _0x1b9d6c=a2_0x27c1dd;return EventService_1[_0x1b9d6c(0xa3)];}});function a2_0x1f91(_0x1faf8,_0x2a7e72){var _0x176698=a2_0x1766();return a2_0x1f91=function(_0x1f91f3,_0x5bc05f){_0x1f91f3=_0x1f91f3-0xa3;var _0x1fe184=_0x176698[_0x1f91f3];return _0x1fe184;},a2_0x1f91(_0x1faf8,_0x2a7e72);}var configuration_1=require('./configuration');Object[a2_0x27c1dd(0xab)](exports,'Configuration',{'enumerable':!![],'get':function(){var _0x3d6fd9=a2_0x27c1dd;return configuration_1[_0x3d6fd9(0xa5)];}});
1
+ 'use strict';var a2_0x176363=a2_0x24a6;function a2_0x44d9(){var _0x31f79a=['9vNpiBv','./configuration','Configuration','867990wHFkkV','./decorator/Event','6145204aOaqdz','2430Yawqqg','Event','3677535PJBLkL','4472490urQzyh','4mxgFfC','2071578NgziwF','EventService','98zqUWrH','5290976tSLPTc','defineProperty'];a2_0x44d9=function(){return _0x31f79a;};return a2_0x44d9();}(function(_0x38afc3,_0x315421){var _0x12f282=a2_0x24a6,_0x1a4626=_0x38afc3();while(!![]){try{var _0x3bf29f=-parseInt(_0x12f282(0xea))/0x1+parseInt(_0x12f282(0xe1))/0x2*(parseInt(_0x12f282(0xe2))/0x3)+-parseInt(_0x12f282(0xec))/0x4+parseInt(_0x12f282(0xdf))/0x5+parseInt(_0x12f282(0xed))/0x6*(parseInt(_0x12f282(0xe4))/0x7)+parseInt(_0x12f282(0xe5))/0x8+parseInt(_0x12f282(0xe7))/0x9*(parseInt(_0x12f282(0xe0))/0xa);if(_0x3bf29f===_0x315421)break;else _0x1a4626['push'](_0x1a4626['shift']());}catch(_0x17d9d7){_0x1a4626['push'](_0x1a4626['shift']());}}}(a2_0x44d9,0xc9cbf));Object[a2_0x176363(0xe6)](exports,'__esModule',{'value':!![]}),exports[a2_0x176363(0xe9)]=exports[a2_0x176363(0xe3)]=exports[a2_0x176363(0xee)]=void 0x0;var Event_1=require(a2_0x176363(0xeb));Object['defineProperty'](exports,'Event',{'enumerable':!![],'get':function(){var _0x258ea1=a2_0x176363;return Event_1[_0x258ea1(0xee)];}});var EventService_1=require('./service/EventService');function a2_0x24a6(_0x5773e1,_0x2383b1){var _0x44d9f5=a2_0x44d9();return a2_0x24a6=function(_0x24a6fa,_0xd02f14){_0x24a6fa=_0x24a6fa-0xdf;var _0x1a8dae=_0x44d9f5[_0x24a6fa];return _0x1a8dae;},a2_0x24a6(_0x5773e1,_0x2383b1);}Object[a2_0x176363(0xe6)](exports,a2_0x176363(0xe3),{'enumerable':!![],'get':function(){return EventService_1['EventService'];}});var configuration_1=require(a2_0x176363(0xe8));Object['defineProperty'](exports,'Configuration',{'enumerable':!![],'get':function(){return configuration_1['CustomConfiguration'];}});
package/dist/interface.js CHANGED
@@ -1 +1 @@
1
- 'use strict';var a3_0x18b66d=a3_0x353d;function a3_0x353d(_0x4488a5,_0x4764ef){var _0x56c611=a3_0x56c6();return a3_0x353d=function(_0x353d3e,_0x867cda){_0x353d3e=_0x353d3e-0x12d;var _0x2458b2=_0x56c611[_0x353d3e];return _0x2458b2;},a3_0x353d(_0x4488a5,_0x4764ef);}(function(_0xa1f8ff,_0x2b911f){var _0x6661b8=a3_0x353d,_0x5287c3=_0xa1f8ff();while(!![]){try{var _0x4893b9=parseInt(_0x6661b8(0x12e))/0x1*(parseInt(_0x6661b8(0x138))/0x2)+parseInt(_0x6661b8(0x137))/0x3*(-parseInt(_0x6661b8(0x13b))/0x4)+-parseInt(_0x6661b8(0x13d))/0x5*(parseInt(_0x6661b8(0x132))/0x6)+parseInt(_0x6661b8(0x131))/0x7+parseInt(_0x6661b8(0x139))/0x8*(-parseInt(_0x6661b8(0x12d))/0x9)+-parseInt(_0x6661b8(0x136))/0xa+parseInt(_0x6661b8(0x130))/0xb;if(_0x4893b9===_0x2b911f)break;else _0x5287c3['push'](_0x5287c3['shift']());}catch(_0x1a6a67){_0x5287c3['push'](_0x5287c3['shift']());}}}(a3_0x56c6,0xee2ab));Object[a3_0x18b66d(0x13c)](exports,a3_0x18b66d(0x135),{'value':!![]}),exports[a3_0x18b66d(0x133)]=exports[a3_0x18b66d(0x13a)]=void 0x0,exports[a3_0x18b66d(0x13a)]=a3_0x18b66d(0x134),exports[a3_0x18b66d(0x133)]=a3_0x18b66d(0x12f);function a3_0x56c6(){var _0x44cdd5=['42508hkHXge','9162024dIuwST','EVENT_KEY','15332rnEBJs','defineProperty','9747845DDqDfC','9xVyyIo','76PyLTzl','anncic-api:event:on','48635345hntwyo','3184188mQHpoZ','6fQZUpA','EVENT_ON_KEY','anncic-api:event','__esModule','18654450vlUugF','435KtVvLt'];a3_0x56c6=function(){return _0x44cdd5;};return a3_0x56c6();}
1
+ 'use strict';var a3_0x5cf184=a3_0x7149;function a3_0x7149(_0x1b6fbc,_0x499bc9){var _0x5314ee=a3_0x5314();return a3_0x7149=function(_0x714972,_0x350710){_0x714972=_0x714972-0x98;var _0x62a15e=_0x5314ee[_0x714972];return _0x62a15e;},a3_0x7149(_0x1b6fbc,_0x499bc9);}function a3_0x5314(){var _0xda867e=['57164aJPLgg','EVENT_ON_KEY','246617kftpOf','anncic-api:event:on','anncic-api:event','6998464GJZfvM','565wRpVps','18iXbSEQ','241638NzMRcC','1221420VbWaNr','2927862OGJzHk','EVENT_KEY','__esModule','defineProperty','901320zEacDx'];a3_0x5314=function(){return _0xda867e;};return a3_0x5314();}(function(_0x51ee52,_0x72f8bb){var _0x39e913=a3_0x7149,_0x50db86=_0x51ee52();while(!![]){try{var _0x5b6593=-parseInt(_0x39e913(0xa6))/0x1+parseInt(_0x39e913(0x9e))/0x2+parseInt(_0x39e913(0x9d))/0x3+-parseInt(_0x39e913(0xa4))/0x4*(parseInt(_0x39e913(0x9b))/0x5)+parseInt(_0x39e913(0x9f))/0x6+-parseInt(_0x39e913(0xa3))/0x7+parseInt(_0x39e913(0x9a))/0x8*(parseInt(_0x39e913(0x9c))/0x9);if(_0x5b6593===_0x72f8bb)break;else _0x50db86['push'](_0x50db86['shift']());}catch(_0x4128c8){_0x50db86['push'](_0x50db86['shift']());}}}(a3_0x5314,0xe525d));Object[a3_0x5cf184(0xa2)](exports,a3_0x5cf184(0xa1),{'value':!![]}),exports[a3_0x5cf184(0xa5)]=exports['EVENT_KEY']=void 0x0,exports[a3_0x5cf184(0xa0)]=a3_0x5cf184(0x99),exports['EVENT_ON_KEY']=a3_0x5cf184(0x98);
@@ -1 +1 @@
1
- 'use strict';const a4_0x3953a2=a4_0x59c5;(function(_0x2642e6,_0x3025e5){const _0xf318ce=a4_0x59c5,_0x29e752=_0x2642e6();while(!![]){try{const _0x1c0279=-parseInt(_0xf318ce(0x109))/0x1*(parseInt(_0xf318ce(0x106))/0x2)+parseInt(_0xf318ce(0xfb))/0x3+parseInt(_0xf318ce(0x103))/0x4+-parseInt(_0xf318ce(0x105))/0x5+parseInt(_0xf318ce(0xfa))/0x6*(parseInt(_0xf318ce(0xf4))/0x7)+-parseInt(_0xf318ce(0x113))/0x8+parseInt(_0xf318ce(0xec))/0x9;if(_0x1c0279===_0x3025e5)break;else _0x29e752['push'](_0x29e752['shift']());}catch(_0x13bb36){_0x29e752['push'](_0x29e752['shift']());}}}(a4_0x57c7,0x62df9));var __decorate=this&&this['__decorate']||function(_0x3ba82d,_0x97bcc,_0x55a04d,_0x29f539){const _0x582bcc=a4_0x59c5;var _0x1bcd39=arguments[_0x582bcc(0xf2)],_0x2f352b=_0x1bcd39<0x3?_0x97bcc:_0x29f539===null?_0x29f539=Object[_0x582bcc(0x107)](_0x97bcc,_0x55a04d):_0x29f539,_0x1566e5;if(typeof Reflect==='object'&&typeof Reflect['decorate']===_0x582bcc(0xf0))_0x2f352b=Reflect[_0x582bcc(0xff)](_0x3ba82d,_0x97bcc,_0x55a04d,_0x29f539);else{for(var _0x39c887=_0x3ba82d[_0x582bcc(0xf2)]-0x1;_0x39c887>=0x0;_0x39c887--)if(_0x1566e5=_0x3ba82d[_0x39c887])_0x2f352b=(_0x1bcd39<0x3?_0x1566e5(_0x2f352b):_0x1bcd39>0x3?_0x1566e5(_0x97bcc,_0x55a04d,_0x2f352b):_0x1566e5(_0x97bcc,_0x55a04d))||_0x2f352b;}return _0x1bcd39>0x3&&_0x2f352b&&Object[_0x582bcc(0x10c)](_0x97bcc,_0x55a04d,_0x2f352b),_0x2f352b;},__metadata=this&&this['__metadata']||function(_0x31b1c3,_0xee500){const _0x1bd40b=a4_0x59c5;if(typeof Reflect===_0x1bd40b(0x10f)&&typeof Reflect[_0x1bd40b(0xeb)]==='function')return Reflect['metadata'](_0x31b1c3,_0xee500);};function a4_0x57c7(){const _0x6c0a5d=['@midwayjs/core','24rKkZGV','641445cREGzX','all','listModule','../interface','decorate','prototype','EventService','name','649000UVIcuC','bind','2561160iPdiTt','71762zHsskg','getOwnPropertyDescriptor','Provide','13HHpucJ','event','collect.js','defineProperty','getAsync','init','object','design:type','off','priority','4342064jkLPID','sortByDesc','push','metadata','7590663TYonXj','emit','getListevent','propertyKey','function','App','length','resolve','1237173hQICXD','ScopeEnum','listevent','app','default'];a4_0x57c7=function(){return _0x6c0a5d;};return a4_0x57c7();}Object[a4_0x3953a2(0x10c)](exports,'__esModule',{'value':!![]}),exports[a4_0x3953a2(0x101)]=void 0x0;const collect_js_1=require(a4_0x3953a2(0x10b)),core_1=require(a4_0x3953a2(0xf9)),interface_1=require(a4_0x3953a2(0xfe));function a4_0x59c5(_0x19ac02,_0x1fdb3f){const _0x57c7cd=a4_0x57c7();return a4_0x59c5=function(_0x59c507,_0x2d83f3){_0x59c507=_0x59c507-0xeb;let _0x488d4f=_0x57c7cd[_0x59c507];return _0x488d4f;},a4_0x59c5(_0x19ac02,_0x1fdb3f);}let EventService=class EventService{constructor(){const _0x35274a=a4_0x3953a2;this[_0x35274a(0x10e)]=![];}async[a4_0x3953a2(0xee)](_0x14f585){const _0x240c0e=a4_0x3953a2;if(!this[_0x240c0e(0x10e)]){this[_0x240c0e(0x10e)]=!![],this[_0x240c0e(0xf6)]={};for(const _0x1e60d9 of(0x0,core_1[_0x240c0e(0xfd)])(interface_1['EVENT_KEY'])||[]){const _0x5ddd5f=await this[_0x240c0e(0xf7)]['getApplicationContext']()[_0x240c0e(0x10d)](_0x1e60d9);for(const _0x474dcc of(0x0,core_1['getClassMetadata'])(interface_1['EVENT_ON_KEY'],_0x1e60d9)||[]){typeof(_0x5ddd5f[_0x474dcc[_0x240c0e(0xef)]]=='function')&&(!this[_0x240c0e(0xf6)][_0x474dcc[_0x240c0e(0x102)]]&&(this[_0x240c0e(0xf6)][_0x474dcc[_0x240c0e(0x102)]]=[]),this[_0x240c0e(0xf6)][_0x474dcc[_0x240c0e(0x102)]][_0x240c0e(0x115)]({'priority':_0x474dcc[_0x240c0e(0x112)],'resolve':_0x5ddd5f[_0x474dcc[_0x240c0e(0xef)]][_0x240c0e(0x104)](_0x5ddd5f),'propertyKey':_0x1e60d9[_0x240c0e(0x102)]+'@'+_0x474dcc['propertyKey']}));}}for(const _0x41e3ea in this[_0x240c0e(0xf6)]){this[_0x240c0e(0xf6)][_0x41e3ea]=(0x0,collect_js_1[_0x240c0e(0xf8)])(this['listevent'][_0x41e3ea])[_0x240c0e(0x114)](_0x240c0e(0x112))[_0x240c0e(0xfc)]();}}return _0x14f585?this[_0x240c0e(0xf6)][_0x14f585]||[]:this['listevent'];}async['emit'](_0x1222c6,..._0x340fa9){const _0x285498=a4_0x3953a2;var _0x3056d7,_0x3f5a65;await this[_0x285498(0xee)]();for(let _0x35b0b5 in(_0x3056d7=this[_0x285498(0xf6)])===null||_0x3056d7===void 0x0?void 0x0:_0x3056d7[_0x1222c6]){const _0xfefca1=(_0x3f5a65=this['listevent'][_0x1222c6])===null||_0x3f5a65===void 0x0?void 0x0:_0x3f5a65[_0x35b0b5];(_0xfefca1===null||_0xfefca1===void 0x0?void 0x0:_0xfefca1[_0x285498(0xf3)])&&typeof(_0xfefca1===null||_0xfefca1===void 0x0?void 0x0:_0xfefca1[_0x285498(0xf3)])==_0x285498(0xf0)&&await _0xfefca1[_0x285498(0xf3)](..._0x340fa9);}}async['once'](_0xc59bf,..._0x284c99){const _0x31dea2=a4_0x3953a2;return await this[_0x31dea2(0xee)](),await this[_0x31dea2(0xed)](_0xc59bf,..._0x284c99),this[_0x31dea2(0x111)](_0xc59bf);}async['off'](_0x4add58){const _0x572780=a4_0x3953a2;return await this['getListevent'](),this[_0x572780(0xf6)][_0x4add58]&&delete this[_0x572780(0xf6)][_0x4add58],!!this['listevent'][_0x4add58];}};__decorate([(0x0,core_1[a4_0x3953a2(0xf1)])(),__metadata(a4_0x3953a2(0x110),Object)],EventService[a4_0x3953a2(0x100)],a4_0x3953a2(0xf7),void 0x0),EventService=__decorate([(0x0,core_1[a4_0x3953a2(0x108)])(a4_0x3953a2(0x10a)),(0x0,core_1['Scope'])(core_1[a4_0x3953a2(0xf5)]['Singleton'])],EventService),exports[a4_0x3953a2(0x101)]=EventService;
1
+ 'use strict';const a4_0x593d59=a4_0x46c9;function a4_0x46c9(_0x327c0a,_0x5edbc3){const _0x1e33ac=a4_0x1e33();return a4_0x46c9=function(_0x46c93f,_0x142be4){_0x46c93f=_0x46c93f-0xe1;let _0x4d5b2d=_0x1e33ac[_0x46c93f];return _0x4d5b2d;},a4_0x46c9(_0x327c0a,_0x5edbc3);}(function(_0x4d52b1,_0x2fa6cb){const _0x407a84=a4_0x46c9,_0x3ceac4=_0x4d52b1();while(!![]){try{const _0x11eacd=-parseInt(_0x407a84(0xfb))/0x1*(-parseInt(_0x407a84(0xed))/0x2)+-parseInt(_0x407a84(0xe6))/0x3+-parseInt(_0x407a84(0x107))/0x4*(-parseInt(_0x407a84(0xfe))/0x5)+parseInt(_0x407a84(0x101))/0x6+-parseInt(_0x407a84(0xe3))/0x7*(parseInt(_0x407a84(0xf8))/0x8)+-parseInt(_0x407a84(0xf2))/0x9*(parseInt(_0x407a84(0xff))/0xa)+parseInt(_0x407a84(0xeb))/0xb*(parseInt(_0x407a84(0xe7))/0xc);if(_0x11eacd===_0x2fa6cb)break;else _0x3ceac4['push'](_0x3ceac4['shift']());}catch(_0x233762){_0x3ceac4['push'](_0x3ceac4['shift']());}}}(a4_0x1e33,0x78bbb));var __decorate=this&&this[a4_0x593d59(0xf1)]||function(_0x1b7d3c,_0x5ce4d1,_0x13b3c0,_0x23fc15){const _0x5d2298=a4_0x593d59;var _0x2ee7df=arguments[_0x5d2298(0x105)],_0x4dfdc7=_0x2ee7df<0x3?_0x5ce4d1:_0x23fc15===null?_0x23fc15=Object[_0x5d2298(0x100)](_0x5ce4d1,_0x13b3c0):_0x23fc15,_0x239103;if(typeof Reflect===_0x5d2298(0x10e)&&typeof Reflect[_0x5d2298(0xf7)]===_0x5d2298(0xfc))_0x4dfdc7=Reflect[_0x5d2298(0xf7)](_0x1b7d3c,_0x5ce4d1,_0x13b3c0,_0x23fc15);else{for(var _0x1211b0=_0x1b7d3c[_0x5d2298(0x105)]-0x1;_0x1211b0>=0x0;_0x1211b0--)if(_0x239103=_0x1b7d3c[_0x1211b0])_0x4dfdc7=(_0x2ee7df<0x3?_0x239103(_0x4dfdc7):_0x2ee7df>0x3?_0x239103(_0x5ce4d1,_0x13b3c0,_0x4dfdc7):_0x239103(_0x5ce4d1,_0x13b3c0))||_0x4dfdc7;}return _0x2ee7df>0x3&&_0x4dfdc7&&Object[_0x5d2298(0xe9)](_0x5ce4d1,_0x13b3c0,_0x4dfdc7),_0x4dfdc7;},__metadata=this&&this[a4_0x593d59(0xe1)]||function(_0x4cb3a5,_0x39558b){const _0x40f0d5=a4_0x593d59;if(typeof Reflect===_0x40f0d5(0x10e)&&typeof Reflect[_0x40f0d5(0xf5)]===_0x40f0d5(0xfc))return Reflect['metadata'](_0x4cb3a5,_0x39558b);};Object[a4_0x593d59(0xe9)](exports,a4_0x593d59(0x10a),{'value':!![]}),exports[a4_0x593d59(0xfa)]=void 0x0;const collect_js_1=require(a4_0x593d59(0x10d)),core_1=require('@midwayjs/core'),interface_1=require('../interface');let EventService=class EventService{constructor(){this['init']=![];}async[a4_0x593d59(0x108)](_0xafa7ca){const _0x51f72a=a4_0x593d59;if(!this['init']){this[_0x51f72a(0xea)]=!![],this[_0x51f72a(0xe8)]={};for(const _0x5c11f0 of(0x0,core_1[_0x51f72a(0xe4)])(interface_1[_0x51f72a(0xfd)])||[]){const _0x212700=await this[_0x51f72a(0xee)][_0x51f72a(0xf4)]()[_0x51f72a(0xf3)](_0x5c11f0);for(const _0x2db77a of(0x0,core_1['getClassMetadata'])(interface_1[_0x51f72a(0x102)],_0x5c11f0)||[]){typeof(_0x212700[_0x2db77a['propertyKey']]=='function')&&(!this[_0x51f72a(0xe8)][_0x2db77a[_0x51f72a(0xef)]]&&(this[_0x51f72a(0xe8)][_0x2db77a['name']]=[]),this['listevent'][_0x2db77a['name']][_0x51f72a(0xec)]({'priority':_0x2db77a[_0x51f72a(0x103)],'resolve':_0x212700[_0x2db77a['propertyKey']]['bind'](_0x212700),'propertyKey':_0x5c11f0[_0x51f72a(0xef)]+'@'+_0x2db77a[_0x51f72a(0xe5)]}));}}for(const _0x599e49 in this['listevent']){this[_0x51f72a(0xe8)][_0x599e49]=(0x0,collect_js_1[_0x51f72a(0x10b)])(this[_0x51f72a(0xe8)][_0x599e49])[_0x51f72a(0x10c)](_0x51f72a(0x103))[_0x51f72a(0x106)]();}}return _0xafa7ca?this[_0x51f72a(0xe8)][_0xafa7ca]||[]:this[_0x51f72a(0xe8)];}async['emit'](_0x31355f,..._0x261fec){const _0x3cd4ef=a4_0x593d59;var _0x1f4271,_0x103998;await this[_0x3cd4ef(0x108)]();for(let _0x5e3ac5 in(_0x1f4271=this[_0x3cd4ef(0xe8)])===null||_0x1f4271===void 0x0?void 0x0:_0x1f4271[_0x31355f]){const _0x3d09bf=(_0x103998=this[_0x3cd4ef(0xe8)][_0x31355f])===null||_0x103998===void 0x0?void 0x0:_0x103998[_0x5e3ac5];(_0x3d09bf===null||_0x3d09bf===void 0x0?void 0x0:_0x3d09bf['resolve'])&&typeof(_0x3d09bf===null||_0x3d09bf===void 0x0?void 0x0:_0x3d09bf[_0x3cd4ef(0x104)])==_0x3cd4ef(0xfc)&&await _0x3d09bf[_0x3cd4ef(0x104)](..._0x261fec);}}async['once'](_0x318356,..._0x581f63){const _0x35118a=a4_0x593d59;return await this[_0x35118a(0x108)](),await this[_0x35118a(0x10f)](_0x318356,..._0x581f63),this['off'](_0x318356);}async['off'](_0x5ca42e){const _0x5565d4=a4_0x593d59;return await this[_0x5565d4(0x108)](),this[_0x5565d4(0xe8)][_0x5ca42e]&&delete this[_0x5565d4(0xe8)][_0x5ca42e],!!this['listevent'][_0x5ca42e];}};function a4_0x1e33(){const _0x524e04=['function','EVENT_KEY','249430PHBhKP','61990ZQuYXW','getOwnPropertyDescriptor','4261344KqqpKx','EVENT_ON_KEY','priority','resolve','length','all','20EcwTsp','getListevent','Scope','__esModule','default','sortByDesc','collect.js','object','emit','__metadata','Provide','4333616Eognng','listModule','propertyKey','2810751OHZXrT','559644Yzcyzn','listevent','defineProperty','init','396TcKcvK','push','80EYhqfH','app','name','prototype','__decorate','1278BJXkOb','getAsync','getApplicationContext','metadata','App','decorate','8kxbZvy','design:type','EventService','7305eDhyXD'];a4_0x1e33=function(){return _0x524e04;};return a4_0x1e33();}__decorate([(0x0,core_1[a4_0x593d59(0xf6)])(),__metadata(a4_0x593d59(0xf9),Object)],EventService[a4_0x593d59(0xf0)],a4_0x593d59(0xee),void 0x0),EventService=__decorate([(0x0,core_1[a4_0x593d59(0xe2)])('event'),(0x0,core_1[a4_0x593d59(0x109)])(core_1['ScopeEnum']['Singleton'])],EventService),exports['EventService']=EventService;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anncic-api/event",
3
- "version": "1.2.3",
3
+ "version": "1.2.4",
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": "425478059fdc37cb53af3b1c9022d4cbc116b656"
24
+ "gitHead": "af11934ea551318271915382e87a8d8b4b2c3d40"
25
25
  }