@anncic-api/event 1.1.43 → 1.1.47

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_0x2540f5=a0_0x544a;function a0_0x544a(_0x144129,_0x56f6be){var _0x1fb111=a0_0x1fb1();return a0_0x544a=function(_0x544a7e,_0x2d7204){_0x544a7e=_0x544a7e-0x191;var _0x37df4c=_0x1fb111[_0x544a7e];return _0x37df4c;},a0_0x544a(_0x144129,_0x56f6be);}(function(_0x3bd17f,_0x22c520){var _0x42ab32=a0_0x544a,_0x2a2303=_0x3bd17f();while(!![]){try{var _0x23277b=-parseInt(_0x42ab32(0x198))/0x1*(-parseInt(_0x42ab32(0x19a))/0x2)+parseInt(_0x42ab32(0x199))/0x3+parseInt(_0x42ab32(0x195))/0x4*(-parseInt(_0x42ab32(0x1a2))/0x5)+parseInt(_0x42ab32(0x192))/0x6+parseInt(_0x42ab32(0x197))/0x7+-parseInt(_0x42ab32(0x1a5))/0x8+parseInt(_0x42ab32(0x194))/0x9;if(_0x23277b===_0x22c520)break;else _0x2a2303['push'](_0x2a2303['shift']());}catch(_0x16df41){_0x2a2303['push'](_0x2a2303['shift']());}}}(a0_0x1fb1,0x5d77a));function a0_0x1fb1(){var _0x50f232=['__esModule','design:type','decorate','702810vUKLLZ','MidwayConfigService','2885256xsrkuO','1832McUkuh','anncic-api:event','2302111FvysHb','273131PHxYol','293496byuyJN','2YRpvQP','__decorate','function','onReady','length','prototype','metadata','@midwayjs/core','2885GIEPTR','config','defineProperty','3923576HoEAYW','Inject','@midwayjs/decorator','decorator','Configuration'];a0_0x1fb1=function(){return _0x50f232;};return a0_0x1fb1();}var __decorate=this&&this[a0_0x2540f5(0x19b)]||function(_0x546602,_0x39b86a,_0x44a099,_0x596f4b){var _0x5f10ff=a0_0x2540f5,_0x4f7922=arguments[_0x5f10ff(0x19e)],_0x1b22f3=_0x4f7922<0x3?_0x39b86a:_0x596f4b===null?_0x596f4b=Object['getOwnPropertyDescriptor'](_0x39b86a,_0x44a099):_0x596f4b,_0x475202;if(typeof Reflect==='object'&&typeof Reflect[_0x5f10ff(0x191)]===_0x5f10ff(0x19c))_0x1b22f3=Reflect[_0x5f10ff(0x191)](_0x546602,_0x39b86a,_0x44a099,_0x596f4b);else{for(var _0xdc320f=_0x546602[_0x5f10ff(0x19e)]-0x1;_0xdc320f>=0x0;_0xdc320f--)if(_0x475202=_0x546602[_0xdc320f])_0x1b22f3=(_0x4f7922<0x3?_0x475202(_0x1b22f3):_0x4f7922>0x3?_0x475202(_0x39b86a,_0x44a099,_0x1b22f3):_0x475202(_0x39b86a,_0x44a099))||_0x1b22f3;}return _0x4f7922>0x3&&_0x1b22f3&&Object[_0x5f10ff(0x1a4)](_0x39b86a,_0x44a099,_0x1b22f3),_0x1b22f3;},__metadata=this&&this['__metadata']||function(_0x190b08,_0x30e54b){var _0x4d27ef=a0_0x2540f5;if(typeof Reflect==='object'&&typeof Reflect[_0x4d27ef(0x1a0)]==='function')return Reflect[_0x4d27ef(0x1a0)](_0x190b08,_0x30e54b);};Object[a0_0x2540f5(0x1a4)](exports,a0_0x2540f5(0x1aa),{'value':!![]}),exports['CustomConfiguration']=void 0x0;const decorator_1=require(a0_0x2540f5(0x1a7)),core_1=require(a0_0x2540f5(0x1a1));let CustomConfiguration=class CustomConfiguration{async[a0_0x2540f5(0x19d)](){}};__decorate([(0x0,decorator_1[a0_0x2540f5(0x1a6)])(),__metadata(a0_0x2540f5(0x1ab),core_1[a0_0x2540f5(0x193)])],CustomConfiguration[a0_0x2540f5(0x19f)],a0_0x2540f5(0x1a3),void 0x0),__decorate([(0x0,decorator_1[a0_0x2540f5(0x1a6)])(),__metadata(a0_0x2540f5(0x1ab),core_1['MidwayDecoratorService'])],CustomConfiguration[a0_0x2540f5(0x19f)],a0_0x2540f5(0x1a8),void 0x0),CustomConfiguration=__decorate([(0x0,decorator_1[a0_0x2540f5(0x1a9)])({'conflictCheck':![],'namespace':a0_0x2540f5(0x196)})],CustomConfiguration),exports['CustomConfiguration']=CustomConfiguration;
1
+ 'use strict';var a0_0x4a3527=a0_0x490b;(function(_0x387bd9,_0x49773d){var _0x2f85f4=a0_0x490b,_0x2b9e2c=_0x387bd9();while(!![]){try{var _0x503947=-parseInt(_0x2f85f4(0xbe))/0x1*(-parseInt(_0x2f85f4(0xca))/0x2)+-parseInt(_0x2f85f4(0xd3))/0x3*(-parseInt(_0x2f85f4(0xc7))/0x4)+parseInt(_0x2f85f4(0xc5))/0x5+-parseInt(_0x2f85f4(0xc6))/0x6+-parseInt(_0x2f85f4(0xd6))/0x7+-parseInt(_0x2f85f4(0xcf))/0x8*(parseInt(_0x2f85f4(0xc9))/0x9)+-parseInt(_0x2f85f4(0xd4))/0xa*(-parseInt(_0x2f85f4(0xd1))/0xb);if(_0x503947===_0x49773d)break;else _0x2b9e2c['push'](_0x2b9e2c['shift']());}catch(_0x420010){_0x2b9e2c['push'](_0x2b9e2c['shift']());}}}(a0_0x2e30,0x593b5));var __decorate=this&&this['__decorate']||function(_0x2aa16d,_0x85a688,_0x2ba2a7,_0x168c83){var _0x5ecd67=a0_0x490b,_0x2304e0=arguments['length'],_0x5e2d0d=_0x2304e0<0x3?_0x85a688:_0x168c83===null?_0x168c83=Object[_0x5ecd67(0xc8)](_0x85a688,_0x2ba2a7):_0x168c83,_0x1739cf;if(typeof Reflect===_0x5ecd67(0xd9)&&typeof Reflect[_0x5ecd67(0xce)]===_0x5ecd67(0xd0))_0x5e2d0d=Reflect[_0x5ecd67(0xce)](_0x2aa16d,_0x85a688,_0x2ba2a7,_0x168c83);else{for(var _0x3cd736=_0x2aa16d['length']-0x1;_0x3cd736>=0x0;_0x3cd736--)if(_0x1739cf=_0x2aa16d[_0x3cd736])_0x5e2d0d=(_0x2304e0<0x3?_0x1739cf(_0x5e2d0d):_0x2304e0>0x3?_0x1739cf(_0x85a688,_0x2ba2a7,_0x5e2d0d):_0x1739cf(_0x85a688,_0x2ba2a7))||_0x5e2d0d;}return _0x2304e0>0x3&&_0x5e2d0d&&Object[_0x5ecd67(0xd8)](_0x85a688,_0x2ba2a7,_0x5e2d0d),_0x5e2d0d;},__metadata=this&&this['__metadata']||function(_0x51d834,_0x33078e){var _0x59f324=a0_0x490b;if(typeof Reflect===_0x59f324(0xd9)&&typeof Reflect['metadata']===_0x59f324(0xd0))return Reflect['metadata'](_0x51d834,_0x33078e);};Object[a0_0x4a3527(0xd8)](exports,a0_0x4a3527(0xc4),{'value':!![]}),exports[a0_0x4a3527(0xd7)]=void 0x0;function a0_0x490b(_0x2cb47f,_0x217a6c){var _0x2e30fe=a0_0x2e30();return a0_0x490b=function(_0x490b87,_0x140fa3){_0x490b87=_0x490b87-0xbe;var _0x218009=_0x2e30fe[_0x490b87];return _0x218009;},a0_0x490b(_0x2cb47f,_0x217a6c);}function a0_0x2e30(){var _0x2240ac=['40ofaSYc','function','66JhThbO','Configuration','742029aykYiT','1567560GTGTKt','prototype','3710931QSDGjT','CustomConfiguration','defineProperty','object','1BJfcSs','design:type','onReady','@midwayjs/core','@midwayjs/decorator','anncic-api:event','__esModule','2271980ybBLij','3277326wCcTXf','8yWtbtg','getOwnPropertyDescriptor','1211157NaLUKB','450188bEzhay','Inject','config','MidwayDecoratorService','decorate'];a0_0x2e30=function(){return _0x2240ac;};return a0_0x2e30();}const decorator_1=require(a0_0x4a3527(0xc2)),core_1=require(a0_0x4a3527(0xc1));let CustomConfiguration=class CustomConfiguration{async[a0_0x4a3527(0xc0)](){}};__decorate([(0x0,decorator_1[a0_0x4a3527(0xcb)])(),__metadata(a0_0x4a3527(0xbf),core_1['MidwayConfigService'])],CustomConfiguration[a0_0x4a3527(0xd5)],a0_0x4a3527(0xcc),void 0x0),__decorate([(0x0,decorator_1[a0_0x4a3527(0xcb)])(),__metadata('design:type',core_1[a0_0x4a3527(0xcd)])],CustomConfiguration[a0_0x4a3527(0xd5)],'decorator',void 0x0),CustomConfiguration=__decorate([(0x0,decorator_1[a0_0x4a3527(0xd2)])({'conflictCheck':![],'namespace':a0_0x4a3527(0xc3)})],CustomConfiguration),exports[a0_0x4a3527(0xd7)]=CustomConfiguration;
@@ -1 +1 @@
1
- 'use strict';const a1_0x3e3ff2=a1_0x1d6e;function a1_0x53d5(){const _0x23703a=['9689RfSrzE','Request','Scope','11yErrlI','Event','4734144TiOQNG','attachClassMetadata','saveModule','defineProperty','5970KFNtSW','ScopeEnum','4awxZDb','1099965OwiUdg','48NSjulJ','EVENT_KEY','16166784TaASiY','Provide','6909987ZQOIok','333CCDYWZ','2388BvAFwQ','20510FhaipJ'];a1_0x53d5=function(){return _0x23703a;};return a1_0x53d5();}(function(_0x2fa7ac,_0x1f498f){const _0x5bf554=a1_0x1d6e,_0x1c780a=_0x2fa7ac();while(!![]){try{const _0x5c9546=-parseInt(_0x5bf554(0x11f))/0x1*(parseInt(_0x5bf554(0x12c))/0x2)+parseInt(_0x5bf554(0x12b))/0x3*(parseInt(_0x5bf554(0x12a))/0x4)+-parseInt(_0x5bf554(0x128))/0x5*(-parseInt(_0x5bf554(0x11d))/0x6)+parseInt(_0x5bf554(0x11b))/0x7+parseInt(_0x5bf554(0x124))/0x8+parseInt(_0x5bf554(0x11c))/0x9*(parseInt(_0x5bf554(0x11e))/0xa)+parseInt(_0x5bf554(0x122))/0xb*(-parseInt(_0x5bf554(0x119))/0xc);if(_0x5c9546===_0x1f498f)break;else _0x1c780a['push'](_0x1c780a['shift']());}catch(_0x2ed771){_0x1c780a['push'](_0x1c780a['shift']());}}}(a1_0x53d5,0xdfd9f));function a1_0x1d6e(_0x1c65b2,_0x593d24){const _0x53d561=a1_0x53d5();return a1_0x1d6e=function(_0x1d6e37,_0x4c05b0){_0x1d6e37=_0x1d6e37-0x119;let _0x9e87fe=_0x53d561[_0x1d6e37];return _0x9e87fe;},a1_0x1d6e(_0x1c65b2,_0x593d24);}Object[a1_0x3e3ff2(0x127)](exports,'__esModule',{'value':!![]}),exports[a1_0x3e3ff2(0x123)]=void 0x0;const decorator_1=require('@midwayjs/decorator'),interface_1=require('../interface');function Event(){return _0x56f662=>{const _0x22da93=a1_0x1d6e;(0x0,decorator_1[_0x22da93(0x11a)])()(_0x56f662),(0x0,decorator_1[_0x22da93(0x126)])(interface_1[_0x22da93(0x12d)],_0x56f662),(0x0,decorator_1[_0x22da93(0x121)])(decorator_1[_0x22da93(0x129)][_0x22da93(0x120)],{'allowDowngrade':!![]})(_0x56f662);};}exports[a1_0x3e3ff2(0x123)]=Event,Event['On']=function(_0x23c949,_0x47ac2c=0x0){return(_0x2299f7,_0x3538ee,_0x224413)=>{const _0x30dbec=a1_0x1d6e;return(0x0,decorator_1[_0x30dbec(0x125)])(interface_1['EVENT_ON_KEY'],{'name':_0x23c949,'priority':_0x47ac2c,'propertyKey':_0x3538ee,'descriptor':_0x224413},_0x2299f7),_0x224413;};};
1
+ 'use strict';const a1_0x2494d7=a1_0xe55b;(function(_0x16d100,_0x1b010b){const _0x29f7ce=a1_0xe55b,_0x341042=_0x16d100();while(!![]){try{const _0x6c7c2e=parseInt(_0x29f7ce(0x114))/0x1+-parseInt(_0x29f7ce(0x10e))/0x2*(parseInt(_0x29f7ce(0x117))/0x3)+parseInt(_0x29f7ce(0x115))/0x4+parseInt(_0x29f7ce(0x108))/0x5+parseInt(_0x29f7ce(0x109))/0x6+parseInt(_0x29f7ce(0x10b))/0x7+-parseInt(_0x29f7ce(0x110))/0x8*(parseInt(_0x29f7ce(0x106))/0x9);if(_0x6c7c2e===_0x1b010b)break;else _0x341042['push'](_0x341042['shift']());}catch(_0x5e8d3f){_0x341042['push'](_0x341042['shift']());}}}(a1_0x230d,0x8e734));function a1_0xe55b(_0x375d07,_0x58a620){const _0x230d87=a1_0x230d();return a1_0xe55b=function(_0xe55b5b,_0xf28039){_0xe55b5b=_0xe55b5b-0x105;let _0x473054=_0x230d87[_0xe55b5b];return _0x473054;},a1_0xe55b(_0x375d07,_0x58a620);}Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[a1_0x2494d7(0x10f)]=void 0x0;const decorator_1=require(a1_0x2494d7(0x111)),interface_1=require(a1_0x2494d7(0x10c));function Event(){return _0x2946c2=>{const _0x2e6f3d=a1_0xe55b;(0x0,decorator_1[_0x2e6f3d(0x112)])()(_0x2946c2),(0x0,decorator_1[_0x2e6f3d(0x113)])(interface_1['EVENT_KEY'],_0x2946c2),(0x0,decorator_1[_0x2e6f3d(0x107)])(decorator_1[_0x2e6f3d(0x105)][_0x2e6f3d(0x116)],{'allowDowngrade':!![]})(_0x2946c2);};}exports['Event']=Event,Event['On']=function(_0x9e7f20,_0x1bc517=0x0){return(_0x1bed50,_0x16b64d,_0x65a170)=>{const _0x1db747=a1_0xe55b;return(0x0,decorator_1[_0x1db747(0x10d)])(interface_1[_0x1db747(0x10a)],{'name':_0x9e7f20,'priority':_0x1bc517,'propertyKey':_0x16b64d,'descriptor':_0x65a170},_0x1bed50),_0x65a170;};};function a1_0x230d(){const _0x5c6f03=['2200504UsmPsS','Request','468kuqTfz','ScopeEnum','196632QiZDte','Scope','1371025fiEmPi','5613876CNXxMb','EVENT_ON_KEY','1405047rmJDDB','../interface','attachClassMetadata','3746InjpGe','Event','496bOEnyV','@midwayjs/decorator','Provide','saveModule','269542CBrnpT'];a1_0x230d=function(){return _0x5c6f03;};return a1_0x230d();}
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';var a2_0x440f5b=a2_0x53b0;(function(_0x6a46a8,_0x47d698){var _0x24a6f8=a2_0x53b0,_0x59faae=_0x6a46a8();while(!![]){try{var _0x68e673=-parseInt(_0x24a6f8(0x1fd))/0x1*(parseInt(_0x24a6f8(0x1fb))/0x2)+parseInt(_0x24a6f8(0x1f7))/0x3+parseInt(_0x24a6f8(0x1ed))/0x4*(parseInt(_0x24a6f8(0x1f2))/0x5)+parseInt(_0x24a6f8(0x1f0))/0x6+parseInt(_0x24a6f8(0x1f5))/0x7+parseInt(_0x24a6f8(0x1fc))/0x8+-parseInt(_0x24a6f8(0x1f1))/0x9*(parseInt(_0x24a6f8(0x1ee))/0xa);if(_0x68e673===_0x47d698)break;else _0x59faae['push'](_0x59faae['shift']());}catch(_0x336c5c){_0x59faae['push'](_0x59faae['shift']());}}}(a2_0x229a,0x7f71a));Object[a2_0x440f5b(0x1f9)](exports,a2_0x440f5b(0x1ff),{'value':!![]}),exports[a2_0x440f5b(0x1ef)]=exports[a2_0x440f5b(0x1f6)]=exports[a2_0x440f5b(0x1f8)]=void 0x0;var Event_1=require(a2_0x440f5b(0x1f3));Object[a2_0x440f5b(0x1f9)](exports,a2_0x440f5b(0x1f8),{'enumerable':!![],'get':function(){var _0x136740=a2_0x440f5b;return Event_1[_0x136740(0x1f8)];}});var EventService_1=require(a2_0x440f5b(0x1fe));function a2_0x53b0(_0x2bd6fc,_0x3ab0b6){var _0x229a59=a2_0x229a();return a2_0x53b0=function(_0x53b055,_0x47a2d7){_0x53b055=_0x53b055-0x1ed;var _0x388a26=_0x229a59[_0x53b055];return _0x388a26;},a2_0x53b0(_0x2bd6fc,_0x3ab0b6);}Object['defineProperty'](exports,a2_0x440f5b(0x1f6),{'enumerable':!![],'get':function(){return EventService_1['EventService'];}});var configuration_1=require(a2_0x440f5b(0x1fa));function a2_0x229a(){var _0xb25d86=['./decorator/Event','CustomConfiguration','3700354RVfcsj','EventService','1941237uxaMXi','Event','defineProperty','./configuration','599078VbkPIb','5403712HCZaew','3QgIRss','./service/EventService','__esModule','2745296RSUUOf','12823630vTTwvA','Configuration','993006YHgvyE','9qHCuue','5pDlmEg'];a2_0x229a=function(){return _0xb25d86;};return a2_0x229a();}Object['defineProperty'](exports,a2_0x440f5b(0x1ef),{'enumerable':!![],'get':function(){var _0x4c922d=a2_0x440f5b;return configuration_1[_0x4c922d(0x1f4)];}});
1
+ 'use strict';var a2_0xad88b1=a2_0x3571;function a2_0x58e2(){var _0x186762=['1675590UFLHjb','./decorator/Event','__esModule','EventService','10XtiZmq','./service/EventService','94956ylJtyi','defineProperty','28761axzjnS','2fGMaKY','5mzgVVg','4762109zvyPUN','593760BmKVzu','Configuration','7kBSfyf','2635864FlcHMv','./configuration','CustomConfiguration','726300ikCOsh','Event'];a2_0x58e2=function(){return _0x186762;};return a2_0x58e2();}(function(_0x5b9c00,_0x101c1a){var _0x4611f6=a2_0x3571,_0x34a4e1=_0x5b9c00();while(!![]){try{var _0x523c7b=-parseInt(_0x4611f6(0xc8))/0x1+parseInt(_0x4611f6(0xcb))/0x2*(parseInt(_0x4611f6(0xca))/0x3)+-parseInt(_0x4611f6(0xce))/0x4+parseInt(_0x4611f6(0xcc))/0x5*(-parseInt(_0x4611f6(0xc2))/0x6)+parseInt(_0x4611f6(0xd0))/0x7*(parseInt(_0x4611f6(0xd1))/0x8)+-parseInt(_0x4611f6(0xc0))/0x9+-parseInt(_0x4611f6(0xc6))/0xa*(-parseInt(_0x4611f6(0xcd))/0xb);if(_0x523c7b===_0x101c1a)break;else _0x34a4e1['push'](_0x34a4e1['shift']());}catch(_0x44088c){_0x34a4e1['push'](_0x34a4e1['shift']());}}}(a2_0x58e2,0x292b4));Object[a2_0xad88b1(0xc9)](exports,a2_0xad88b1(0xc4),{'value':!![]}),exports[a2_0xad88b1(0xcf)]=exports[a2_0xad88b1(0xc5)]=exports[a2_0xad88b1(0xc1)]=void 0x0;var Event_1=require(a2_0xad88b1(0xc3));Object['defineProperty'](exports,'Event',{'enumerable':!![],'get':function(){var _0x187404=a2_0xad88b1;return Event_1[_0x187404(0xc1)];}});function a2_0x3571(_0x53e938,_0x1ef321){var _0x58e2bb=a2_0x58e2();return a2_0x3571=function(_0x3571e6,_0x524d4c){_0x3571e6=_0x3571e6-0xbf;var _0x2bafa2=_0x58e2bb[_0x3571e6];return _0x2bafa2;},a2_0x3571(_0x53e938,_0x1ef321);}var EventService_1=require(a2_0xad88b1(0xc7));Object['defineProperty'](exports,a2_0xad88b1(0xc5),{'enumerable':!![],'get':function(){var _0xd9412a=a2_0xad88b1;return EventService_1[_0xd9412a(0xc5)];}});var configuration_1=require(a2_0xad88b1(0xd2));Object['defineProperty'](exports,a2_0xad88b1(0xcf),{'enumerable':!![],'get':function(){var _0x2a4c24=a2_0xad88b1;return configuration_1[_0x2a4c24(0xbf)];}});
package/dist/interface.js CHANGED
@@ -1 +1 @@
1
- 'use strict';function a3_0x3aff(){var _0x1e99c3=['4VbGmnH','20102WrmTXr','anncic-api:event','EVENT_ON_KEY','1109238NLjFlz','729910OrlYcK','anncic-api:event:on','142473DUVrZV','8wKUFfW','24184XFodNv','6465051GkzyZx','EVENT_KEY','951307iaRnPs'];a3_0x3aff=function(){return _0x1e99c3;};return a3_0x3aff();}var a3_0xff2093=a3_0x117e;(function(_0x58229d,_0x28fb41){var _0x3f7227=a3_0x117e,_0x513fc0=_0x58229d();while(!![]){try{var _0x2894f0=-parseInt(_0x3f7227(0x161))/0x1+-parseInt(_0x3f7227(0x160))/0x2*(parseInt(_0x3f7227(0x167))/0x3)+-parseInt(_0x3f7227(0x169))/0x4+-parseInt(_0x3f7227(0x165))/0x5+-parseInt(_0x3f7227(0x164))/0x6+-parseInt(_0x3f7227(0x15f))/0x7+parseInt(_0x3f7227(0x168))/0x8*(parseInt(_0x3f7227(0x16a))/0x9);if(_0x2894f0===_0x28fb41)break;else _0x513fc0['push'](_0x513fc0['shift']());}catch(_0x22329f){_0x513fc0['push'](_0x513fc0['shift']());}}}(a3_0x3aff,0x1fd95));function a3_0x117e(_0x3322a8,_0x33400d){var _0x3aff2f=a3_0x3aff();return a3_0x117e=function(_0x117e07,_0x1a2c54){_0x117e07=_0x117e07-0x15e;var _0x23f9b6=_0x3aff2f[_0x117e07];return _0x23f9b6;},a3_0x117e(_0x3322a8,_0x33400d);}Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[a3_0xff2093(0x163)]=exports[a3_0xff2093(0x15e)]=void 0x0,exports['EVENT_KEY']=a3_0xff2093(0x162),exports[a3_0xff2093(0x163)]=a3_0xff2093(0x166);
1
+ 'use strict';var a3_0xc278d7=a3_0x7cba;(function(_0x54da51,_0x4ebc66){var _0x29a6c1=a3_0x7cba,_0x51717e=_0x54da51();while(!![]){try{var _0x5f4783=parseInt(_0x29a6c1(0x17b))/0x1+parseInt(_0x29a6c1(0x181))/0x2*(parseInt(_0x29a6c1(0x180))/0x3)+-parseInt(_0x29a6c1(0x174))/0x4+-parseInt(_0x29a6c1(0x175))/0x5*(parseInt(_0x29a6c1(0x173))/0x6)+-parseInt(_0x29a6c1(0x178))/0x7*(-parseInt(_0x29a6c1(0x177))/0x8)+-parseInt(_0x29a6c1(0x17d))/0x9+parseInt(_0x29a6c1(0x176))/0xa;if(_0x5f4783===_0x4ebc66)break;else _0x51717e['push'](_0x51717e['shift']());}catch(_0x2ec9bf){_0x51717e['push'](_0x51717e['shift']());}}}(a3_0x5bbd,0x67d44));function a3_0x7cba(_0x260684,_0x1b58c0){var _0x5bbde5=a3_0x5bbd();return a3_0x7cba=function(_0x7cba0,_0x2e8e60){_0x7cba0=_0x7cba0-0x173;var _0x2bdcb6=_0x5bbde5[_0x7cba0];return _0x2bdcb6;},a3_0x7cba(_0x260684,_0x1b58c0);}function a3_0x5bbd(){var _0x4300a5=['107368LvIrGg','154vTlktz','EVENT_ON_KEY','EVENT_KEY','416350mCeiwO','anncic-api:event','527112IejDPa','__esModule','defineProperty','4662wiozVn','588bArPZd','1266sIUwPF','1750560hTNPSS','10645QLGHGU','2022230uoHWhE'];a3_0x5bbd=function(){return _0x4300a5;};return a3_0x5bbd();}Object[a3_0xc278d7(0x17f)](exports,a3_0xc278d7(0x17e),{'value':!![]}),exports[a3_0xc278d7(0x179)]=exports[a3_0xc278d7(0x17a)]=void 0x0,exports['EVENT_KEY']=a3_0xc278d7(0x17c),exports[a3_0xc278d7(0x179)]='anncic-api:event:on';
@@ -1 +1 @@
1
- 'use strict';const a4_0x2a6a87=a4_0x4ab2;(function(_0x1cbfe0,_0x4d2cf7){const _0x39da12=a4_0x4ab2,_0x45bf2e=_0x1cbfe0();while(!![]){try{const _0x17b284=parseInt(_0x39da12(0x9e))/0x1*(parseInt(_0x39da12(0x73))/0x2)+-parseInt(_0x39da12(0x87))/0x3+parseInt(_0x39da12(0x96))/0x4*(parseInt(_0x39da12(0x7c))/0x5)+-parseInt(_0x39da12(0x98))/0x6+-parseInt(_0x39da12(0x8f))/0x7+-parseInt(_0x39da12(0x91))/0x8*(-parseInt(_0x39da12(0x88))/0x9)+parseInt(_0x39da12(0x7e))/0xa;if(_0x17b284===_0x4d2cf7)break;else _0x45bf2e['push'](_0x45bf2e['shift']());}catch(_0xb253db){_0x45bf2e['push'](_0x45bf2e['shift']());}}}(a4_0x3e99,0x88cf4));function a4_0x3e99(){const _0x45a212=['Scope','3550386pXrtLc','off','@midwayjs/decorator','getListevent','design:type','emit','3EkzmcO','Provide','propertyKey','listevent','event','501390mXNQBs','Singleton','resolve','EVENT_KEY','push','../interface','priority','function','default','814020FVczpr','length','6041930owdbVk','EVENT_ON_KEY','getOwnPropertyDescriptor','App','getApplicationContext','bind','collect.js','ScopeEnum','metadata','2561997LOHIYv','9txLlgX','decorate','__decorate','object','__esModule','app','EventService','3997567Gtkmzk','listModule','5859944Ahziut','name','getClassMetadata','init','defineProperty','12WngaXc'];a4_0x3e99=function(){return _0x45a212;};return a4_0x3e99();}var __decorate=this&&this[a4_0x2a6a87(0x8a)]||function(_0x24f6ee,_0x180555,_0x3974cf,_0x4a0ee0){const _0x13b808=a4_0x2a6a87;var _0x37b030=arguments[_0x13b808(0x7d)],_0x4cce2d=_0x37b030<0x3?_0x180555:_0x4a0ee0===null?_0x4a0ee0=Object[_0x13b808(0x80)](_0x180555,_0x3974cf):_0x4a0ee0,_0x184069;if(typeof Reflect===_0x13b808(0x8b)&&typeof Reflect[_0x13b808(0x89)]===_0x13b808(0x7a))_0x4cce2d=Reflect[_0x13b808(0x89)](_0x24f6ee,_0x180555,_0x3974cf,_0x4a0ee0);else{for(var _0x271589=_0x24f6ee[_0x13b808(0x7d)]-0x1;_0x271589>=0x0;_0x271589--)if(_0x184069=_0x24f6ee[_0x271589])_0x4cce2d=(_0x37b030<0x3?_0x184069(_0x4cce2d):_0x37b030>0x3?_0x184069(_0x180555,_0x3974cf,_0x4cce2d):_0x184069(_0x180555,_0x3974cf))||_0x4cce2d;}return _0x37b030>0x3&&_0x4cce2d&&Object['defineProperty'](_0x180555,_0x3974cf,_0x4cce2d),_0x4cce2d;},__metadata=this&&this['__metadata']||function(_0x188438,_0x44f2d5){const _0x29d88c=a4_0x2a6a87;if(typeof Reflect===_0x29d88c(0x8b)&&typeof Reflect['metadata']==='function')return Reflect[_0x29d88c(0x86)](_0x188438,_0x44f2d5);};Object[a4_0x2a6a87(0x95)](exports,a4_0x2a6a87(0x8c),{'value':!![]}),exports['EventService']=void 0x0;function a4_0x4ab2(_0xb72c19,_0x11f741){const _0x3e9984=a4_0x3e99();return a4_0x4ab2=function(_0x4ab223,_0x15b22e){_0x4ab223=_0x4ab223-0x73;let _0x2b0015=_0x3e9984[_0x4ab223];return _0x2b0015;},a4_0x4ab2(_0xb72c19,_0x11f741);}const collect_js_1=require(a4_0x2a6a87(0x84)),decorator_1=require(a4_0x2a6a87(0x9a)),interface_1=require(a4_0x2a6a87(0x78));let EventService=class EventService{constructor(){const _0x214f7d=a4_0x2a6a87;this[_0x214f7d(0x94)]=![];}async['getListevent'](_0x477e0a){const _0x16f349=a4_0x2a6a87;if(!this[_0x16f349(0x94)]){this[_0x16f349(0x94)]=!![],this['listevent']={};for(const _0x46d845 of(0x0,decorator_1[_0x16f349(0x90)])(interface_1[_0x16f349(0x76)])||[]){const _0x3af9e7=await this['app'][_0x16f349(0x82)]()['getAsync'](_0x46d845);for(const _0x373ea5 of(0x0,decorator_1[_0x16f349(0x93)])(interface_1[_0x16f349(0x7f)],_0x46d845)||[]){typeof(_0x3af9e7[_0x373ea5[_0x16f349(0xa0)]]==_0x16f349(0x7a))&&(!this['listevent'][_0x373ea5[_0x16f349(0x92)]]&&(this[_0x16f349(0xa1)][_0x373ea5[_0x16f349(0x92)]]=[]),this[_0x16f349(0xa1)][_0x373ea5['name']][_0x16f349(0x77)]({'priority':_0x373ea5['priority'],'resolve':_0x3af9e7[_0x373ea5[_0x16f349(0xa0)]][_0x16f349(0x83)](_0x3af9e7),'propertyKey':_0x46d845[_0x16f349(0x92)]+'@'+_0x373ea5[_0x16f349(0xa0)]}));}}for(const _0x1836db in this[_0x16f349(0xa1)]){this[_0x16f349(0xa1)][_0x1836db]=(0x0,collect_js_1[_0x16f349(0x7b)])(this[_0x16f349(0xa1)][_0x1836db])['sortByDesc'](_0x16f349(0x79))['all']();}}return _0x477e0a?this['listevent'][_0x477e0a]||[]:this[_0x16f349(0xa1)];}async['emit'](_0x1a8c0e,..._0x3301fc){const _0x22e6fa=a4_0x2a6a87;var _0x555b28,_0x1116a7;await this[_0x22e6fa(0x9b)]();for(let _0x60e903 in(_0x555b28=this[_0x22e6fa(0xa1)])===null||_0x555b28===void 0x0?void 0x0:_0x555b28[_0x1a8c0e]){const _0xbd8542=(_0x1116a7=this[_0x22e6fa(0xa1)][_0x1a8c0e])===null||_0x1116a7===void 0x0?void 0x0:_0x1116a7[_0x60e903];(_0xbd8542===null||_0xbd8542===void 0x0?void 0x0:_0xbd8542[_0x22e6fa(0x75)])&&typeof(_0xbd8542===null||_0xbd8542===void 0x0?void 0x0:_0xbd8542[_0x22e6fa(0x75)])=='function'&&await _0xbd8542['resolve'](..._0x3301fc);}}async['once'](_0x5028ac,..._0x1654af){const _0xf99e72=a4_0x2a6a87;return await this[_0xf99e72(0x9b)](),await this[_0xf99e72(0x9d)](_0x5028ac,..._0x1654af),this[_0xf99e72(0x99)](_0x5028ac);}async['off'](_0x258463){const _0x1b19b7=a4_0x2a6a87;return await this['getListevent'](),this[_0x1b19b7(0xa1)][_0x258463]&&delete this['listevent'][_0x258463],!!this[_0x1b19b7(0xa1)][_0x258463];}};__decorate([(0x0,decorator_1[a4_0x2a6a87(0x81)])(),__metadata(a4_0x2a6a87(0x9c),Object)],EventService['prototype'],a4_0x2a6a87(0x8d),void 0x0),EventService=__decorate([(0x0,decorator_1[a4_0x2a6a87(0x9f)])(a4_0x2a6a87(0xa2)),(0x0,decorator_1[a4_0x2a6a87(0x97)])(decorator_1[a4_0x2a6a87(0x85)][a4_0x2a6a87(0x74)])],EventService),exports[a4_0x2a6a87(0x8e)]=EventService;
1
+ 'use strict';const a4_0x5055cb=a4_0x4c08;function a4_0x4c08(_0x108cd4,_0x44009c){const _0x500595=a4_0x5005();return a4_0x4c08=function(_0x4c08ef,_0x2516fd){_0x4c08ef=_0x4c08ef-0xc7;let _0x4dd20b=_0x500595[_0x4c08ef];return _0x4dd20b;},a4_0x4c08(_0x108cd4,_0x44009c);}function a4_0x5005(){const _0x183648=['207846jUtNMW','App','EventService','getApplicationContext','propertyKey','listModule','4JXcmYb','app','getAsync','218120oFiztm','default','862239pldyYZ','length','listevent','@midwayjs/decorator','object','../interface','58697lzuaNx','decorate','ScopeEnum','Singleton','once','function','resolve','getClassMetadata','getListevent','metadata','emit','__decorate','priority','3551248EKCTmc','collect.js','__metadata','event','14wwcKuQ','name','150355wfETqg','prototype','init','off','2180752DEzClp','all','60mWRooD','defineProperty'];a4_0x5005=function(){return _0x183648;};return a4_0x5005();}(function(_0x38b2b0,_0x110400){const _0x4ac594=a4_0x4c08,_0x42301b=_0x38b2b0();while(!![]){try{const _0x31428d=parseInt(_0x4ac594(0xf1))/0x1*(-parseInt(_0x4ac594(0xd6))/0x2)+-parseInt(_0x4ac594(0xeb))/0x3*(-parseInt(_0x4ac594(0xe6))/0x4)+parseInt(_0x4ac594(0xd8))/0x5*(parseInt(_0x4ac594(0xde))/0x6)+-parseInt(_0x4ac594(0xdc))/0x7+parseInt(_0x4ac594(0xd2))/0x8+-parseInt(_0x4ac594(0xe0))/0x9+-parseInt(_0x4ac594(0xe9))/0xa;if(_0x31428d===_0x110400)break;else _0x42301b['push'](_0x42301b['shift']());}catch(_0x5d6534){_0x42301b['push'](_0x42301b['shift']());}}}(a4_0x5005,0x40a04));var __decorate=this&&this[a4_0x5055cb(0xd0)]||function(_0x18f503,_0x266f9c,_0x75331b,_0x19bde1){const _0x23f98d=a4_0x5055cb;var _0xad8cc6=arguments[_0x23f98d(0xec)],_0x41b56b=_0xad8cc6<0x3?_0x266f9c:_0x19bde1===null?_0x19bde1=Object['getOwnPropertyDescriptor'](_0x266f9c,_0x75331b):_0x19bde1,_0x356e4d;if(typeof Reflect==='object'&&typeof Reflect[_0x23f98d(0xf2)]===_0x23f98d(0xca))_0x41b56b=Reflect['decorate'](_0x18f503,_0x266f9c,_0x75331b,_0x19bde1);else{for(var _0x223f8b=_0x18f503[_0x23f98d(0xec)]-0x1;_0x223f8b>=0x0;_0x223f8b--)if(_0x356e4d=_0x18f503[_0x223f8b])_0x41b56b=(_0xad8cc6<0x3?_0x356e4d(_0x41b56b):_0xad8cc6>0x3?_0x356e4d(_0x266f9c,_0x75331b,_0x41b56b):_0x356e4d(_0x266f9c,_0x75331b))||_0x41b56b;}return _0xad8cc6>0x3&&_0x41b56b&&Object['defineProperty'](_0x266f9c,_0x75331b,_0x41b56b),_0x41b56b;},__metadata=this&&this[a4_0x5055cb(0xd4)]||function(_0x347a2c,_0x165e56){const _0x5a840a=a4_0x5055cb;if(typeof Reflect===_0x5a840a(0xef)&&typeof Reflect[_0x5a840a(0xce)]===_0x5a840a(0xca))return Reflect[_0x5a840a(0xce)](_0x347a2c,_0x165e56);};Object[a4_0x5055cb(0xdf)](exports,'__esModule',{'value':!![]}),exports['EventService']=void 0x0;const collect_js_1=require(a4_0x5055cb(0xd3)),decorator_1=require(a4_0x5055cb(0xee)),interface_1=require(a4_0x5055cb(0xf0));let EventService=class EventService{constructor(){this['init']=![];}async[a4_0x5055cb(0xcd)](_0x4c3c44){const _0x3950dd=a4_0x5055cb;if(!this[_0x3950dd(0xda)]){this['init']=!![],this[_0x3950dd(0xed)]={};for(const _0x256f4f of(0x0,decorator_1[_0x3950dd(0xe5)])(interface_1['EVENT_KEY'])||[]){const _0x112f05=await this[_0x3950dd(0xe7)][_0x3950dd(0xe3)]()[_0x3950dd(0xe8)](_0x256f4f);for(const _0x56e613 of(0x0,decorator_1[_0x3950dd(0xcc)])(interface_1['EVENT_ON_KEY'],_0x256f4f)||[]){typeof(_0x112f05[_0x56e613[_0x3950dd(0xe4)]]==_0x3950dd(0xca))&&(!this[_0x3950dd(0xed)][_0x56e613[_0x3950dd(0xd7)]]&&(this['listevent'][_0x56e613[_0x3950dd(0xd7)]]=[]),this[_0x3950dd(0xed)][_0x56e613[_0x3950dd(0xd7)]]['push']({'priority':_0x56e613['priority'],'resolve':_0x112f05[_0x56e613[_0x3950dd(0xe4)]]['bind'](_0x112f05),'propertyKey':_0x256f4f[_0x3950dd(0xd7)]+'@'+_0x56e613[_0x3950dd(0xe4)]}));}}for(const _0xf03156 in this[_0x3950dd(0xed)]){this['listevent'][_0xf03156]=(0x0,collect_js_1[_0x3950dd(0xea)])(this['listevent'][_0xf03156])['sortByDesc'](_0x3950dd(0xd1))[_0x3950dd(0xdd)]();}}return _0x4c3c44?this['listevent'][_0x4c3c44]||[]:this[_0x3950dd(0xed)];}async['emit'](_0x4d5fc4,..._0x2a1516){const _0x4c3970=a4_0x5055cb;var _0x439c85,_0x252c6c;await this['getListevent']();for(let _0x561d5a in(_0x439c85=this[_0x4c3970(0xed)])===null||_0x439c85===void 0x0?void 0x0:_0x439c85[_0x4d5fc4]){const _0x3a07a3=(_0x252c6c=this[_0x4c3970(0xed)][_0x4d5fc4])===null||_0x252c6c===void 0x0?void 0x0:_0x252c6c[_0x561d5a];(_0x3a07a3===null||_0x3a07a3===void 0x0?void 0x0:_0x3a07a3[_0x4c3970(0xcb)])&&typeof(_0x3a07a3===null||_0x3a07a3===void 0x0?void 0x0:_0x3a07a3[_0x4c3970(0xcb)])=='function'&&await _0x3a07a3[_0x4c3970(0xcb)](..._0x2a1516);}}async[a4_0x5055cb(0xc9)](_0x11c64d,..._0x13809f){const _0x225af3=a4_0x5055cb;return await this['getListevent'](),await this[_0x225af3(0xcf)](_0x11c64d,..._0x13809f),this[_0x225af3(0xdb)](_0x11c64d);}async[a4_0x5055cb(0xdb)](_0x1f57ec){const _0xd376bb=a4_0x5055cb;return await this[_0xd376bb(0xcd)](),this['listevent'][_0x1f57ec]&&delete this[_0xd376bb(0xed)][_0x1f57ec],!!this[_0xd376bb(0xed)][_0x1f57ec];}};__decorate([(0x0,decorator_1[a4_0x5055cb(0xe1)])(),__metadata('design:type',Object)],EventService[a4_0x5055cb(0xd9)],a4_0x5055cb(0xe7),void 0x0),EventService=__decorate([(0x0,decorator_1['Provide'])(a4_0x5055cb(0xd5)),(0x0,decorator_1['Scope'])(decorator_1[a4_0x5055cb(0xc7)][a4_0x5055cb(0xc8)])],EventService),exports[a4_0x5055cb(0xe2)]=EventService;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anncic-api/event",
3
- "version": "1.1.43",
3
+ "version": "1.1.47",
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": "18fc430ef2bd116eaa2f16cda9ef729473a65146"
24
+ "gitHead": "6403115fd1a06bfb4d2f2cf775c503744564ebaa"
25
25
  }