@anncic-api/event 3.4.38 → 3.4.41

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,6 +1,6 @@
1
- import { MidwayConfigService, MidwayDecoratorService } from '@midwayjs/core';
2
- export declare class CustomConfiguration {
3
- config: MidwayConfigService;
4
- decorator: MidwayDecoratorService;
5
- onReady(): Promise<void>;
6
- }
1
+ import { MidwayConfigService, MidwayDecoratorService } from '@midwayjs/core';
2
+ export declare class CustomConfiguration {
3
+ config: MidwayConfigService;
4
+ decorator: MidwayDecoratorService;
5
+ onReady(): Promise<void>;
6
+ }
@@ -1 +1 @@
1
- var a0_0x457fc3=a0_0x4f5e;(function(_0x3aa98e,_0x361c2e){var _0x599486=a0_0x4f5e,_0x22ee77=_0x3aa98e();while(!![]){try{var _0x370afa=-parseInt(_0x599486(0xd8))/0x1*(-parseInt(_0x599486(0xc8))/0x2)+-parseInt(_0x599486(0xdd))/0x3*(parseInt(_0x599486(0xd9))/0x4)+-parseInt(_0x599486(0xc3))/0x5*(-parseInt(_0x599486(0xd0))/0x6)+-parseInt(_0x599486(0xc9))/0x7+-parseInt(_0x599486(0xd4))/0x8*(parseInt(_0x599486(0xd3))/0x9)+-parseInt(_0x599486(0xca))/0xa+-parseInt(_0x599486(0xcf))/0xb*(-parseInt(_0x599486(0xd7))/0xc);if(_0x370afa===_0x361c2e)break;else _0x22ee77['push'](_0x22ee77['shift']());}catch(_0x1aafb6){_0x22ee77['push'](_0x22ee77['shift']());}}}(a0_0x21a4,0xd2184));var a0_0xbf2841=(function(){var _0x1dc69f=!![];return function(_0x5586a3,_0x5231a0){var _0x5cf520=_0x1dc69f?function(){if(_0x5231a0){var _0x22501b=_0x5231a0['apply'](_0x5586a3,arguments);return _0x5231a0=null,_0x22501b;}}:function(){};return _0x1dc69f=![],_0x5cf520;};}()),a0_0x21c9e4=a0_0xbf2841(this,function(){var _0x4c7fb0=a0_0x4f5e;return a0_0x21c9e4[_0x4c7fb0(0xdc)]()[_0x4c7fb0(0xbd)](_0x4c7fb0(0xc4))[_0x4c7fb0(0xdc)]()[_0x4c7fb0(0xbe)](a0_0x21c9e4)[_0x4c7fb0(0xbd)]('(((.+)+)+)+$');});a0_0x21c9e4();'use strict';function a0_0x4f5e(_0x57666f,_0x1fd2c2){var _0xd82c4b=a0_0x21a4();return a0_0x4f5e=function(_0x21c9e4,_0xbf2841){_0x21c9e4=_0x21c9e4-0xbc;var _0x21a416=_0xd82c4b[_0x21c9e4];return _0x21a416;},a0_0x4f5e(_0x57666f,_0x1fd2c2);}var __decorate=this&&this[a0_0x457fc3(0xd1)]||function(_0x94bd8,_0x44a6d7,_0x235152,_0x49eabf){var _0x364226=a0_0x457fc3,_0x487998=arguments[_0x364226(0xdb)],_0x6d5ba8=_0x487998<0x3?_0x44a6d7:_0x49eabf===null?_0x49eabf=Object['getOwnPropertyDescriptor'](_0x44a6d7,_0x235152):_0x49eabf,_0x592f19;if(typeof Reflect===_0x364226(0xd6)&&typeof Reflect[_0x364226(0xde)]===_0x364226(0xcc))_0x6d5ba8=Reflect[_0x364226(0xde)](_0x94bd8,_0x44a6d7,_0x235152,_0x49eabf);else{for(var _0x39c837=_0x94bd8[_0x364226(0xdb)]-0x1;_0x39c837>=0x0;_0x39c837--)if(_0x592f19=_0x94bd8[_0x39c837])_0x6d5ba8=(_0x487998<0x3?_0x592f19(_0x6d5ba8):_0x487998>0x3?_0x592f19(_0x44a6d7,_0x235152,_0x6d5ba8):_0x592f19(_0x44a6d7,_0x235152))||_0x6d5ba8;}return _0x487998>0x3&&_0x6d5ba8&&Object[_0x364226(0xc5)](_0x44a6d7,_0x235152,_0x6d5ba8),_0x6d5ba8;},__metadata=this&&this['__metadata']||function(_0x41037f,_0x10810a){var _0x40b3b2=a0_0x457fc3;if(typeof Reflect==='object'&&typeof Reflect[_0x40b3b2(0xd2)]===_0x40b3b2(0xcc))return Reflect['metadata'](_0x41037f,_0x10810a);};Object[a0_0x457fc3(0xc5)](exports,a0_0x457fc3(0xbf),{'value':!![]}),exports[a0_0x457fc3(0xc6)]=void 0x0;const core_1=require(a0_0x457fc3(0xc7)),core_2=require(a0_0x457fc3(0xc7));function a0_0x21a4(){var _0x4ca813=['88TFgtwI','Configuration','object','24TMmQqR','87SFpArS','6116sybfck','Inject','length','toString','3189EjyoDB','decorate','config','search','constructor','__esModule','decorator','MidwayConfigService','prototype','58315pGDQrl','(((.+)+)+)+$','defineProperty','CustomConfiguration','@midwayjs/core','4306PLTEyd','2517879CKdvYF','2593610uYeUEB','design:type','function','anncic-api:event','onReady','12038510QzkSxN','522fKRKVy','__decorate','metadata','233901eyioje'];a0_0x21a4=function(){return _0x4ca813;};return a0_0x21a4();}let CustomConfiguration=class CustomConfiguration{async[a0_0x457fc3(0xce)](){}};__decorate([(0x0,core_1['Inject'])(),__metadata('design:type',core_2[a0_0x457fc3(0xc1)])],CustomConfiguration[a0_0x457fc3(0xc2)],a0_0x457fc3(0xbc),void 0x0),__decorate([(0x0,core_1[a0_0x457fc3(0xda)])(),__metadata(a0_0x457fc3(0xcb),core_2['MidwayDecoratorService'])],CustomConfiguration[a0_0x457fc3(0xc2)],a0_0x457fc3(0xc0),void 0x0),CustomConfiguration=__decorate([(0x0,core_1[a0_0x457fc3(0xd5)])({'conflictCheck':![],'namespace':a0_0x457fc3(0xcd)})],CustomConfiguration),exports[a0_0x457fc3(0xc6)]=CustomConfiguration;
1
+ var a0_0x331fc6=a0_0x40e6;(function(_0x25fcb7,_0x297c19){var _0x3280eb=a0_0x40e6,_0x2ef0b9=_0x25fcb7();while(!![]){try{var _0x5110d5=parseInt(_0x3280eb(0xe9))/0x1*(-parseInt(_0x3280eb(0xf4))/0x2)+parseInt(_0x3280eb(0xe5))/0x3*(parseInt(_0x3280eb(0xec))/0x4)+-parseInt(_0x3280eb(0xe2))/0x5+-parseInt(_0x3280eb(0xdc))/0x6*(parseInt(_0x3280eb(0xe4))/0x7)+-parseInt(_0x3280eb(0xe8))/0x8*(parseInt(_0x3280eb(0xfb))/0x9)+-parseInt(_0x3280eb(0xe1))/0xa*(-parseInt(_0x3280eb(0xf6))/0xb)+parseInt(_0x3280eb(0xf5))/0xc;if(_0x5110d5===_0x297c19)break;else _0x2ef0b9['push'](_0x2ef0b9['shift']());}catch(_0x420676){_0x2ef0b9['push'](_0x2ef0b9['shift']());}}}(a0_0x23b8,0x8a7f0));var a0_0x2d0fbc=(function(){var _0x492efe=!![];return function(_0x4395e6,_0x503e8c){var _0x112b3b=_0x492efe?function(){var _0x86e895=a0_0x40e6;if(_0x503e8c){var _0x128dba=_0x503e8c[_0x86e895(0xe6)](_0x4395e6,arguments);return _0x503e8c=null,_0x128dba;}}:function(){};return _0x492efe=![],_0x112b3b;};}()),a0_0xeaf98d=a0_0x2d0fbc(this,function(){var _0x51b363=a0_0x40e6;return a0_0xeaf98d[_0x51b363(0xf3)]()['search'](_0x51b363(0xfc))[_0x51b363(0xf3)]()[_0x51b363(0xe3)](a0_0xeaf98d)[_0x51b363(0xea)]('(((.+)+)+)+$');});a0_0xeaf98d();'use strict';function a0_0x40e6(_0x2006f8,_0xb62097){var _0x5cea22=a0_0x23b8();return a0_0x40e6=function(_0xeaf98d,_0x2d0fbc){_0xeaf98d=_0xeaf98d-0xdb;var _0x23b87b=_0x5cea22[_0xeaf98d];return _0x23b87b;},a0_0x40e6(_0x2006f8,_0xb62097);}var __decorate=this&&this['__decorate']||function(_0x142a5e,_0x475835,_0x395445,_0x1ba61f){var _0x20e61b=a0_0x40e6,_0x11f3b8=arguments[_0x20e61b(0xeb)],_0x24b711=_0x11f3b8<0x3?_0x475835:_0x1ba61f===null?_0x1ba61f=Object[_0x20e61b(0xf8)](_0x475835,_0x395445):_0x1ba61f,_0xc28e8b;if(typeof Reflect===_0x20e61b(0xdb)&&typeof Reflect[_0x20e61b(0xfa)]===_0x20e61b(0xf1))_0x24b711=Reflect[_0x20e61b(0xfa)](_0x142a5e,_0x475835,_0x395445,_0x1ba61f);else{for(var _0x3ac954=_0x142a5e[_0x20e61b(0xeb)]-0x1;_0x3ac954>=0x0;_0x3ac954--)if(_0xc28e8b=_0x142a5e[_0x3ac954])_0x24b711=(_0x11f3b8<0x3?_0xc28e8b(_0x24b711):_0x11f3b8>0x3?_0xc28e8b(_0x475835,_0x395445,_0x24b711):_0xc28e8b(_0x475835,_0x395445))||_0x24b711;}return _0x11f3b8>0x3&&_0x24b711&&Object[_0x20e61b(0xf2)](_0x475835,_0x395445,_0x24b711),_0x24b711;},__metadata=this&&this[a0_0x331fc6(0xf9)]||function(_0x2f17dd,_0x56255b){var _0x5d833e=a0_0x331fc6;if(typeof Reflect===_0x5d833e(0xdb)&&typeof Reflect[_0x5d833e(0xde)]===_0x5d833e(0xf1))return Reflect['metadata'](_0x2f17dd,_0x56255b);};Object[a0_0x331fc6(0xf2)](exports,a0_0x331fc6(0xe7),{'value':!![]}),exports[a0_0x331fc6(0xee)]=void 0x0;const core_1=require(a0_0x331fc6(0xdf)),core_2=require(a0_0x331fc6(0xdf));let CustomConfiguration=class CustomConfiguration{async['onReady'](){}};function a0_0x23b8(){var _0x1b8c5a=['constructor','301tZfFBC','366aeQaXy','apply','__esModule','8sQqayS','65pXJOXx','search','length','27800ytteKd','config','CustomConfiguration','MidwayConfigService','prototype','function','defineProperty','toString','26954dPcpjv','15556608AQaoQx','178277VnMDsP','decorator','getOwnPropertyDescriptor','__metadata','decorate','1419435jizEpp','(((.+)+)+)+$','Inject','design:type','anncic-api:event','object','51072HqLLBb','MidwayDecoratorService','metadata','@midwayjs/core','Configuration','150SUQerC','2101865sWIzaq'];a0_0x23b8=function(){return _0x1b8c5a;};return a0_0x23b8();}exports['CustomConfiguration']=CustomConfiguration,__decorate([(0x0,core_1[a0_0x331fc6(0xfd)])(),__metadata(a0_0x331fc6(0xfe),core_2[a0_0x331fc6(0xef)])],CustomConfiguration[a0_0x331fc6(0xf0)],a0_0x331fc6(0xed),void 0x0),__decorate([(0x0,core_1[a0_0x331fc6(0xfd)])(),__metadata(a0_0x331fc6(0xfe),core_2[a0_0x331fc6(0xdd)])],CustomConfiguration['prototype'],a0_0x331fc6(0xf7),void 0x0),exports[a0_0x331fc6(0xee)]=CustomConfiguration=__decorate([(0x0,core_1[a0_0x331fc6(0xe0)])({'conflictCheck':![],'namespace':a0_0x331fc6(0xff)})],CustomConfiguration);
@@ -1,4 +1,4 @@
1
- export declare function Event(): ClassDecorator;
2
- export declare namespace Event {
3
- var On: (name: string, priority?: number) => MethodDecorator;
4
- }
1
+ export declare function Event(): ClassDecorator;
2
+ export declare namespace Event {
3
+ var On: (name: string, priority?: number) => MethodDecorator;
4
+ }
@@ -1 +1 @@
1
- function a1_0x2b7c(){const _0x6e9942=['__esModule','constructor','100630VxEmnN','11GKtfXf','5645FNlesZ','170wqWQTe','apply','(((.+)+)+)+$','Provide','ScopeEnum','Scope','1428490HEHOAB','@midwayjs/core','toString','2452974flnvVm','735568JUFiDL','2000072POATjr','attachClassMetadata','search','EVENT_KEY','56WrjuBP','Request','../interface','Event','72ZfbDnG','627336opBrwo'];a1_0x2b7c=function(){return _0x6e9942;};return a1_0x2b7c();}const a1_0x5113ac=a1_0xcd3e;(function(_0x3cbb10,_0xa02499){const _0x37a0c4=a1_0xcd3e,_0x540435=_0x3cbb10();while(!![]){try{const _0x58c51e=-parseInt(_0x37a0c4(0xa2))/0x1*(-parseInt(_0x37a0c4(0xa3))/0x2)+parseInt(_0x37a0c4(0x92))/0x3+-parseInt(_0x37a0c4(0x94))/0x4+-parseInt(_0x37a0c4(0xa0))/0x5+-parseInt(_0x37a0c4(0x9d))/0x6*(parseInt(_0x37a0c4(0x98))/0x7)+-parseInt(_0x37a0c4(0x93))/0x8*(-parseInt(_0x37a0c4(0x9c))/0x9)+-parseInt(_0x37a0c4(0x8f))/0xa*(parseInt(_0x37a0c4(0xa1))/0xb);if(_0x58c51e===_0xa02499)break;else _0x540435['push'](_0x540435['shift']());}catch(_0x3815da){_0x540435['push'](_0x540435['shift']());}}}(a1_0x2b7c,0x8246a));const a1_0x2f1e5a=(function(){let _0x2af324=!![];return function(_0x5947ad,_0x151359){const _0x386376=_0x2af324?function(){const _0x4aa345=a1_0xcd3e;if(_0x151359){const _0x2f21ff=_0x151359[_0x4aa345(0xa4)](_0x5947ad,arguments);return _0x151359=null,_0x2f21ff;}}:function(){};return _0x2af324=![],_0x386376;};}()),a1_0x176625=a1_0x2f1e5a(this,function(){const _0x2c53bc=a1_0xcd3e;return a1_0x176625[_0x2c53bc(0x91)]()[_0x2c53bc(0x96)](_0x2c53bc(0xa5))[_0x2c53bc(0x91)]()[_0x2c53bc(0x9f)](a1_0x176625)['search'](_0x2c53bc(0xa5));});a1_0x176625();function a1_0xcd3e(_0x346d73,_0x3f2366){const _0x5a8b9f=a1_0x2b7c();return a1_0xcd3e=function(_0x176625,_0x2f1e5a){_0x176625=_0x176625-0x8c;let _0x2b7ce9=_0x5a8b9f[_0x176625];return _0x2b7ce9;},a1_0xcd3e(_0x346d73,_0x3f2366);}'use strict';Object['defineProperty'](exports,a1_0x5113ac(0x9e),{'value':!![]}),exports[a1_0x5113ac(0x9b)]=void 0x0;const core_1=require(a1_0x5113ac(0x90)),interface_1=require(a1_0x5113ac(0x9a));function Event(){return _0x140aa9=>{const _0x571440=a1_0xcd3e;(0x0,core_1[_0x571440(0x8c)])()(_0x140aa9),(0x0,core_1['saveModule'])(interface_1[_0x571440(0x97)],_0x140aa9),(0x0,core_1[_0x571440(0x8e)])(core_1[_0x571440(0x8d)][_0x571440(0x99)],{'allowDowngrade':!![]})(_0x140aa9);};}exports['Event']=Event,Event['On']=function(_0x29dd52,_0x3166e1=0x0){return(_0x20944d,_0x24de76,_0x468594)=>{const _0x2860bd=a1_0xcd3e;return(0x0,core_1[_0x2860bd(0x95)])(interface_1['EVENT_ON_KEY'],{'name':_0x29dd52,'priority':_0x3166e1,'propertyKey':_0x24de76,'descriptor':_0x468594},_0x20944d),_0x468594;};};
1
+ function a1_0x14dd(){const _0x2dc1c8=['EVENT_ON_KEY','defineProperty','6rDkyuv','2221272cDjnPr','245664vLUoen','../interface','380VKOndd','2MrmVfU','Scope','3368064BkxucN','297276iOTbqT','toString','3680026pthhXX','Request','Event','EVENT_KEY','(((.+)+)+)+$','search','2621968LZbJkw','249440GuNXWj','@midwayjs/core','Provide','attachClassMetadata','constructor','apply'];a1_0x14dd=function(){return _0x2dc1c8;};return a1_0x14dd();}const a1_0x4cfe76=a1_0x19c2;(function(_0x1181b4,_0x3ab8a3){const _0x5635e2=a1_0x19c2,_0x3df9f6=_0x1181b4();while(!![]){try{const _0x236447=parseInt(_0x5635e2(0xad))/0x1+-parseInt(_0x5635e2(0xaa))/0x2*(-parseInt(_0x5635e2(0xa6))/0x3)+-parseInt(_0x5635e2(0x9c))/0x4+-parseInt(_0x5635e2(0x9d))/0x5*(parseInt(_0x5635e2(0xa5))/0x6)+-parseInt(_0x5635e2(0x96))/0x7+-parseInt(_0x5635e2(0xac))/0x8+parseInt(_0x5635e2(0xa7))/0x9*(parseInt(_0x5635e2(0xa9))/0xa);if(_0x236447===_0x3ab8a3)break;else _0x3df9f6['push'](_0x3df9f6['shift']());}catch(_0x5df5f4){_0x3df9f6['push'](_0x3df9f6['shift']());}}}(a1_0x14dd,0x673ba));const a1_0x40ff25=(function(){let _0x11f8f9=!![];return function(_0x5f0c6e,_0x37bb56){const _0x1f32a6=_0x11f8f9?function(){const _0x464f74=a1_0x19c2;if(_0x37bb56){const _0x2dd3ae=_0x37bb56[_0x464f74(0xa2)](_0x5f0c6e,arguments);return _0x37bb56=null,_0x2dd3ae;}}:function(){};return _0x11f8f9=![],_0x1f32a6;};}()),a1_0x1e2f24=a1_0x40ff25(this,function(){const _0x2cd794=a1_0x19c2;return a1_0x1e2f24[_0x2cd794(0xae)]()[_0x2cd794(0x9b)]('(((.+)+)+)+$')[_0x2cd794(0xae)]()[_0x2cd794(0xa1)](a1_0x1e2f24)[_0x2cd794(0x9b)](_0x2cd794(0x9a));});a1_0x1e2f24();'use strict';Object[a1_0x4cfe76(0xa4)](exports,'__esModule',{'value':!![]}),exports[a1_0x4cfe76(0x98)]=Event;function a1_0x19c2(_0x4ad8eb,_0x59cfcb){const _0x28aef0=a1_0x14dd();return a1_0x19c2=function(_0x1e2f24,_0x40ff25){_0x1e2f24=_0x1e2f24-0x96;let _0x14dd90=_0x28aef0[_0x1e2f24];return _0x14dd90;},a1_0x19c2(_0x4ad8eb,_0x59cfcb);}const core_1=require(a1_0x4cfe76(0x9e)),interface_1=require(a1_0x4cfe76(0xa8));function Event(){return _0x291a66=>{const _0x218e36=a1_0x19c2;(0x0,core_1[_0x218e36(0x9f)])()(_0x291a66),(0x0,core_1['saveModule'])(interface_1[_0x218e36(0x99)],_0x291a66),(0x0,core_1[_0x218e36(0xab)])(core_1['ScopeEnum'][_0x218e36(0x97)],{'allowDowngrade':!![]})(_0x291a66);};}Event['On']=function(_0x3198f2,_0x4fdf94=0x0){return(_0xcd8f19,_0x59ca15,_0x30b50d)=>{const _0xfba466=a1_0x19c2;return(0x0,core_1[_0xfba466(0xa0)])(interface_1[_0xfba466(0xa3)],{'name':_0x3198f2,'priority':_0x4fdf94,'propertyKey':_0x59ca15,'descriptor':_0x30b50d},_0xcd8f19),_0x30b50d;};};
package/dist/index.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- export { Event } from './decorator/Event';
2
- export { EventService } from "./service/EventService";
3
- export { CustomConfiguration as Configuration } from './configuration';
1
+ export { Event } from './decorator/Event';
2
+ export { EventService } from "./service/EventService";
3
+ export { CustomConfiguration as Configuration } from './configuration';
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- var a2_0x2fad56=a2_0x3049;(function(_0x19c9b3,_0x24d374){var _0x70ef9f=a2_0x3049,_0x5e096c=_0x19c9b3();while(!![]){try{var _0x3138fa=parseInt(_0x70ef9f(0xdd))/0x1+-parseInt(_0x70ef9f(0xd6))/0x2*(-parseInt(_0x70ef9f(0xd5))/0x3)+-parseInt(_0x70ef9f(0xde))/0x4*(parseInt(_0x70ef9f(0xe4))/0x5)+parseInt(_0x70ef9f(0xe3))/0x6+-parseInt(_0x70ef9f(0xd4))/0x7+-parseInt(_0x70ef9f(0xd8))/0x8+parseInt(_0x70ef9f(0xd7))/0x9*(-parseInt(_0x70ef9f(0xdb))/0xa);if(_0x3138fa===_0x24d374)break;else _0x5e096c['push'](_0x5e096c['shift']());}catch(_0x199ce4){_0x5e096c['push'](_0x5e096c['shift']());}}}(a2_0x1c61,0x31122));var a2_0x161442=(function(){var _0x44e8a6=!![];return function(_0x187547,_0x73fdea){var _0xeb2816=_0x44e8a6?function(){var _0x2265cf=a2_0x3049;if(_0x73fdea){var _0x41d5c5=_0x73fdea[_0x2265cf(0xda)](_0x187547,arguments);return _0x73fdea=null,_0x41d5c5;}}:function(){};return _0x44e8a6=![],_0xeb2816;};}()),a2_0x36e8b9=a2_0x161442(this,function(){var _0x575ec6=a2_0x3049;return a2_0x36e8b9[_0x575ec6(0xd9)]()[_0x575ec6(0xe7)](_0x575ec6(0xe1))['toString']()[_0x575ec6(0xe5)](a2_0x36e8b9)['search']('(((.+)+)+)+$');});a2_0x36e8b9();'use strict';Object['defineProperty'](exports,a2_0x2fad56(0xd2),{'value':!![]}),exports['Configuration']=exports[a2_0x2fad56(0xe0)]=exports['Event']=void 0x0;var Event_1=require(a2_0x2fad56(0xdf));Object[a2_0x2fad56(0xdc)](exports,a2_0x2fad56(0xe6),{'enumerable':!![],'get':function(){return Event_1['Event'];}});var EventService_1=require('./service/EventService');Object['defineProperty'](exports,a2_0x2fad56(0xe0),{'enumerable':!![],'get':function(){var _0x33485f=a2_0x2fad56;return EventService_1[_0x33485f(0xe0)];}});function a2_0x1c61(){var _0x5574f5=['search','__esModule','CustomConfiguration','755153gAkkht','124914ZZyIxJ','14jNLQTJ','1154106hzXIrJ','1572088qTMExJ','toString','apply','10SwvHAm','defineProperty','382964CVRbbf','21788zhEPKr','./decorator/Event','EventService','(((.+)+)+)+$','Configuration','1127772SdFHlL','210tAecZj','constructor','Event'];a2_0x1c61=function(){return _0x5574f5;};return a2_0x1c61();}function a2_0x3049(_0xf25ebc,_0xc9f51b){var _0x23f19b=a2_0x1c61();return a2_0x3049=function(_0x36e8b9,_0x161442){_0x36e8b9=_0x36e8b9-0xd2;var _0x1c61f0=_0x23f19b[_0x36e8b9];return _0x1c61f0;},a2_0x3049(_0xf25ebc,_0xc9f51b);}var configuration_1=require('./configuration');Object[a2_0x2fad56(0xdc)](exports,a2_0x2fad56(0xe2),{'enumerable':!![],'get':function(){var _0x5d133c=a2_0x2fad56;return configuration_1[_0x5d133c(0xd3)];}});
1
+ var a2_0x4f750c=a2_0x1ff4;(function(_0x24cf4a,_0x2e6ea6){var _0x48a814=a2_0x1ff4,_0x20c99b=_0x24cf4a();while(!![]){try{var _0x220db5=parseInt(_0x48a814(0x19c))/0x1*(parseInt(_0x48a814(0x191))/0x2)+-parseInt(_0x48a814(0x190))/0x3+parseInt(_0x48a814(0x197))/0x4+parseInt(_0x48a814(0x18b))/0x5+parseInt(_0x48a814(0x18e))/0x6+-parseInt(_0x48a814(0x198))/0x7+-parseInt(_0x48a814(0x194))/0x8*(-parseInt(_0x48a814(0x189))/0x9);if(_0x220db5===_0x2e6ea6)break;else _0x20c99b['push'](_0x20c99b['shift']());}catch(_0x21a405){_0x20c99b['push'](_0x20c99b['shift']());}}}(a2_0x3463,0x914c5));var a2_0x508b26=(function(){var _0x58ccc2=!![];return function(_0x2997f5,_0xbd2e24){var _0x4f5fe4=_0x58ccc2?function(){var _0x400548=a2_0x1ff4;if(_0xbd2e24){var _0x54cf75=_0xbd2e24[_0x400548(0x18c)](_0x2997f5,arguments);return _0xbd2e24=null,_0x54cf75;}}:function(){};return _0x58ccc2=![],_0x4f5fe4;};}()),a2_0x36c833=a2_0x508b26(this,function(){var _0x41eda5=a2_0x1ff4;return a2_0x36c833['toString']()[_0x41eda5(0x18a)]('(((.+)+)+)+$')[_0x41eda5(0x192)]()[_0x41eda5(0x195)](a2_0x36c833)['search']('(((.+)+)+)+$');});a2_0x36c833();'use strict';Object[a2_0x4f750c(0x18d)](exports,a2_0x4f750c(0x18f),{'value':!![]}),exports['Configuration']=exports[a2_0x4f750c(0x199)]=exports[a2_0x4f750c(0x193)]=void 0x0;var Event_1=require(a2_0x4f750c(0x196));function a2_0x3463(){var _0x3dae26=['EventService','CustomConfiguration','./configuration','394047SWQNyT','Configuration','3325887gjclfg','search','3404465qWNSrX','apply','defineProperty','389910JnuXTH','__esModule','3104763BUOCPo','4oUDKsr','toString','Event','8TqEeIJ','constructor','./decorator/Event','1689568XBGpWY','4870915NbDrQv'];a2_0x3463=function(){return _0x3dae26;};return a2_0x3463();}function a2_0x1ff4(_0x2a77c1,_0x46b6d0){var _0x26f2b2=a2_0x3463();return a2_0x1ff4=function(_0x36c833,_0x508b26){_0x36c833=_0x36c833-0x188;var _0x346378=_0x26f2b2[_0x36c833];return _0x346378;},a2_0x1ff4(_0x2a77c1,_0x46b6d0);}Object[a2_0x4f750c(0x18d)](exports,a2_0x4f750c(0x193),{'enumerable':!![],'get':function(){return Event_1['Event'];}});var EventService_1=require('./service/EventService');Object['defineProperty'](exports,a2_0x4f750c(0x199),{'enumerable':!![],'get':function(){return EventService_1['EventService'];}});var configuration_1=require(a2_0x4f750c(0x19b));Object[a2_0x4f750c(0x18d)](exports,a2_0x4f750c(0x188),{'enumerable':!![],'get':function(){var _0x1743de=a2_0x4f750c;return configuration_1[_0x1743de(0x19a)];}});
@@ -1,2 +1,2 @@
1
- export declare const EVENT_KEY = "anncic-api:event";
2
- export declare const EVENT_ON_KEY = "anncic-api:event:on";
1
+ export declare const EVENT_KEY = "anncic-api:event";
2
+ export declare const EVENT_ON_KEY = "anncic-api:event:on";
package/dist/interface.js CHANGED
@@ -1 +1 @@
1
- var a3_0xe8b237=a3_0x1a67;function a3_0x1a67(_0x42cec8,_0x16e738){var _0x195f96=a3_0x4dde();return a3_0x1a67=function(_0x24ac10,_0x4b34ff){_0x24ac10=_0x24ac10-0x16d;var _0x4ddedf=_0x195f96[_0x24ac10];return _0x4ddedf;},a3_0x1a67(_0x42cec8,_0x16e738);}(function(_0xcc2720,_0x91bc02){var _0x1e1d77=a3_0x1a67,_0x58809c=_0xcc2720();while(!![]){try{var _0x2dee0c=-parseInt(_0x1e1d77(0x174))/0x1*(-parseInt(_0x1e1d77(0x176))/0x2)+parseInt(_0x1e1d77(0x17b))/0x3*(parseInt(_0x1e1d77(0x178))/0x4)+parseInt(_0x1e1d77(0x181))/0x5*(parseInt(_0x1e1d77(0x17f))/0x6)+-parseInt(_0x1e1d77(0x179))/0x7*(-parseInt(_0x1e1d77(0x175))/0x8)+-parseInt(_0x1e1d77(0x17e))/0x9+-parseInt(_0x1e1d77(0x171))/0xa+parseInt(_0x1e1d77(0x17c))/0xb*(-parseInt(_0x1e1d77(0x177))/0xc);if(_0x2dee0c===_0x91bc02)break;else _0x58809c['push'](_0x58809c['shift']());}catch(_0x4624c2){_0x58809c['push'](_0x58809c['shift']());}}}(a3_0x4dde,0x77b27));var a3_0x4b34ff=(function(){var _0x4b00a1=!![];return function(_0x30f7c9,_0x423f45){var _0xa758b2=_0x4b00a1?function(){var _0xda6873=a3_0x1a67;if(_0x423f45){var _0x5f5417=_0x423f45[_0xda6873(0x17a)](_0x30f7c9,arguments);return _0x423f45=null,_0x5f5417;}}:function(){};return _0x4b00a1=![],_0xa758b2;};}()),a3_0x24ac10=a3_0x4b34ff(this,function(){var _0x3bf977=a3_0x1a67;return a3_0x24ac10['toString']()['search'](_0x3bf977(0x17d))[_0x3bf977(0x170)]()[_0x3bf977(0x173)](a3_0x24ac10)[_0x3bf977(0x172)]('(((.+)+)+)+$');});function a3_0x4dde(){var _0x153ba1=['55qtQjwP','(((.+)+)+)+$','903186xqnVhz','6666IkaZNp','EVENT_ON_KEY','2255hPmrxP','anncic-api:event','__esModule','EVENT_KEY','toString','2960300jgohHs','search','constructor','3675JjUCfv','64zDTnPL','200VkqJwU','2088732IWaxQr','50620EtUMEw','234773kpVaky','apply','147OcLQqU'];a3_0x4dde=function(){return _0x153ba1;};return a3_0x4dde();}a3_0x24ac10();'use strict';Object['defineProperty'](exports,a3_0xe8b237(0x16e),{'value':!![]}),exports[a3_0xe8b237(0x180)]=exports[a3_0xe8b237(0x16f)]=void 0x0,exports['EVENT_KEY']=a3_0xe8b237(0x16d),exports[a3_0xe8b237(0x180)]='anncic-api:event:on';
1
+ function a3_0x285b(_0x182ec8,_0xa17692){var _0x4417b7=a3_0x567f();return a3_0x285b=function(_0x23798f,_0x47563e){_0x23798f=_0x23798f-0xad;var _0x567f47=_0x4417b7[_0x23798f];return _0x567f47;},a3_0x285b(_0x182ec8,_0xa17692);}var a3_0x928d94=a3_0x285b;(function(_0x34d233,_0x15cf70){var _0x22d3c8=a3_0x285b,_0x163d0a=_0x34d233();while(!![]){try{var _0xfa87d5=-parseInt(_0x22d3c8(0xbd))/0x1+-parseInt(_0x22d3c8(0xad))/0x2*(-parseInt(_0x22d3c8(0xb6))/0x3)+parseInt(_0x22d3c8(0xb9))/0x4+parseInt(_0x22d3c8(0xbb))/0x5*(parseInt(_0x22d3c8(0xb7))/0x6)+parseInt(_0x22d3c8(0xbf))/0x7+-parseInt(_0x22d3c8(0xb5))/0x8*(-parseInt(_0x22d3c8(0xbc))/0x9)+-parseInt(_0x22d3c8(0xb0))/0xa;if(_0xfa87d5===_0x15cf70)break;else _0x163d0a['push'](_0x163d0a['shift']());}catch(_0x270a89){_0x163d0a['push'](_0x163d0a['shift']());}}}(a3_0x567f,0x54045));var a3_0x47563e=(function(){var _0x269d71=!![];return function(_0x3d2b9d,_0x4e89b2){var _0x105217=_0x269d71?function(){var _0x1d5a51=a3_0x285b;if(_0x4e89b2){var _0x532e0a=_0x4e89b2[_0x1d5a51(0xb2)](_0x3d2b9d,arguments);return _0x4e89b2=null,_0x532e0a;}}:function(){};return _0x269d71=![],_0x105217;};}()),a3_0x23798f=a3_0x47563e(this,function(){var _0xba6f19=a3_0x285b;return a3_0x23798f[_0xba6f19(0xae)]()['search'](_0xba6f19(0xb1))['toString']()[_0xba6f19(0xba)](a3_0x23798f)[_0xba6f19(0xb4)]('(((.+)+)+)+$');});a3_0x23798f();function a3_0x567f(){var _0x301c9f=['8hkLABE','36ApUMlQ','24YrsKjf','defineProperty','86576OXvXCa','constructor','402575fuBeYy','3133341IIHkqm','653537kEjhBu','anncic-api:event','1671831IftRdf','43578mouqOD','toString','EVENT_KEY','1944840dMaSEd','(((.+)+)+)+$','apply','__esModule','search'];a3_0x567f=function(){return _0x301c9f;};return a3_0x567f();}'use strict';Object[a3_0x928d94(0xb8)](exports,a3_0x928d94(0xb3),{'value':!![]}),exports['EVENT_ON_KEY']=exports[a3_0x928d94(0xaf)]=void 0x0,exports[a3_0x928d94(0xaf)]=a3_0x928d94(0xbe),exports['EVENT_ON_KEY']='anncic-api:event:on';
@@ -1,26 +1,26 @@
1
- import { IMidwayApplication } from '@midwayjs/core';
2
- export declare class EventService {
3
- app: IMidwayApplication;
4
- protected init: boolean;
5
- protected listevent: {
6
- [key: string]: {
7
- priority: number;
8
- resolve: Function;
9
- propertyKey: string;
10
- }[];
11
- };
12
- getListevent(name?: string): Promise<{
13
- [key: string]: {
14
- priority: number;
15
- resolve: Function;
16
- propertyKey: string;
17
- }[];
18
- } | {
19
- priority: number;
20
- resolve: Function;
21
- propertyKey: string;
22
- }[]>;
23
- emit(name: string, ...args: any[]): Promise<void>;
24
- once(name: string, ...args: any[]): Promise<boolean>;
25
- off(name: string): Promise<boolean>;
26
- }
1
+ import { IMidwayApplication } from '@midwayjs/core';
2
+ export declare class EventService {
3
+ app: IMidwayApplication;
4
+ protected init: boolean;
5
+ protected listevent: {
6
+ [key: string]: {
7
+ priority: number;
8
+ resolve: Function;
9
+ propertyKey: string;
10
+ }[];
11
+ };
12
+ getListevent(name?: string): Promise<{
13
+ [key: string]: {
14
+ priority: number;
15
+ resolve: Function;
16
+ propertyKey: string;
17
+ }[];
18
+ } | {
19
+ priority: number;
20
+ resolve: Function;
21
+ propertyKey: string;
22
+ }[]>;
23
+ emit(name: string, ...args: any[]): Promise<void>;
24
+ once(name: string, ...args: any[]): Promise<boolean>;
25
+ off(name: string): Promise<boolean>;
26
+ }
@@ -1 +1 @@
1
- const a4_0x3fc320=a4_0x5c81;(function(_0x29e98c,_0x38f893){const _0xe73167=a4_0x5c81,_0x491d4d=_0x29e98c();while(!![]){try{const _0x32411a=-parseInt(_0xe73167(0xc3))/0x1*(parseInt(_0xe73167(0xce))/0x2)+-parseInt(_0xe73167(0xb2))/0x3+-parseInt(_0xe73167(0xb8))/0x4*(parseInt(_0xe73167(0xd1))/0x5)+parseInt(_0xe73167(0xb0))/0x6+-parseInt(_0xe73167(0xb5))/0x7+-parseInt(_0xe73167(0xcd))/0x8+parseInt(_0xe73167(0xc5))/0x9*(parseInt(_0xe73167(0xac))/0xa);if(_0x32411a===_0x38f893)break;else _0x491d4d['push'](_0x491d4d['shift']());}catch(_0x478bc9){_0x491d4d['push'](_0x491d4d['shift']());}}}(a4_0x44ff,0x911fe));const a4_0x392075=(function(){let _0x358b37=!![];return function(_0x54c680,_0x57e157){const _0x597d32=_0x358b37?function(){if(_0x57e157){const _0x3478e4=_0x57e157['apply'](_0x54c680,arguments);return _0x57e157=null,_0x3478e4;}}:function(){};return _0x358b37=![],_0x597d32;};}()),a4_0x421388=a4_0x392075(this,function(){const _0x3ab2c9=a4_0x5c81;return a4_0x421388[_0x3ab2c9(0xdc)]()['search'](_0x3ab2c9(0xd8))[_0x3ab2c9(0xdc)]()[_0x3ab2c9(0xbe)](a4_0x421388)['search'](_0x3ab2c9(0xd8));});a4_0x421388();'use strict';var __decorate=this&&this[a4_0x3fc320(0xd9)]||function(_0x5c39c8,_0x3f28ca,_0x5d09c2,_0x1083dd){const _0x2edef1=a4_0x3fc320;var _0x4e41ed=arguments['length'],_0x405c38=_0x4e41ed<0x3?_0x3f28ca:_0x1083dd===null?_0x1083dd=Object[_0x2edef1(0xd3)](_0x3f28ca,_0x5d09c2):_0x1083dd,_0x5d878c;if(typeof Reflect===_0x2edef1(0xd0)&&typeof Reflect[_0x2edef1(0xb4)]==='function')_0x405c38=Reflect[_0x2edef1(0xb4)](_0x5c39c8,_0x3f28ca,_0x5d09c2,_0x1083dd);else{for(var _0x143246=_0x5c39c8[_0x2edef1(0xaf)]-0x1;_0x143246>=0x0;_0x143246--)if(_0x5d878c=_0x5c39c8[_0x143246])_0x405c38=(_0x4e41ed<0x3?_0x5d878c(_0x405c38):_0x4e41ed>0x3?_0x5d878c(_0x3f28ca,_0x5d09c2,_0x405c38):_0x5d878c(_0x3f28ca,_0x5d09c2))||_0x405c38;}return _0x4e41ed>0x3&&_0x405c38&&Object['defineProperty'](_0x3f28ca,_0x5d09c2,_0x405c38),_0x405c38;},__metadata=this&&this[a4_0x3fc320(0xc2)]||function(_0x55cd1f,_0x308799){const _0x327127=a4_0x3fc320;if(typeof Reflect==='object'&&typeof Reflect[_0x327127(0xc4)]===_0x327127(0xbb))return Reflect['metadata'](_0x55cd1f,_0x308799);};Object[a4_0x3fc320(0xd2)](exports,a4_0x3fc320(0xb6),{'value':!![]}),exports[a4_0x3fc320(0xcc)]=void 0x0;const collect_js_1=require(a4_0x3fc320(0xc7)),core_1=require(a4_0x3fc320(0xd7)),interface_1=require(a4_0x3fc320(0xca));function a4_0x5c81(_0x4647ce,_0x4a5b8b){const _0x50ec4a=a4_0x44ff();return a4_0x5c81=function(_0x421388,_0x392075){_0x421388=_0x421388-0xab;let _0x44ff40=_0x50ec4a[_0x421388];return _0x44ff40;},a4_0x5c81(_0x4647ce,_0x4a5b8b);}let EventService=class EventService{constructor(){const _0x3ee7ae=a4_0x3fc320;this[_0x3ee7ae(0xd4)]=![];}async['getListevent'](_0x1d204f){const _0xca620a=a4_0x3fc320;if(!this[_0xca620a(0xd4)]){this[_0xca620a(0xd4)]=!![],this[_0xca620a(0xdb)]={};for(const _0xf31fb4 of(0x0,core_1[_0xca620a(0xad)])(interface_1['EVENT_KEY'])||[]){const _0x2fd5e3=await this['app'][_0xca620a(0xcb)]()['getAsync'](_0xf31fb4);for(const _0xa8eedf of(0x0,core_1[_0xca620a(0xb9)])(interface_1['EVENT_ON_KEY'],_0xf31fb4)||[]){typeof(_0x2fd5e3[_0xa8eedf['propertyKey']]==_0xca620a(0xbb))&&(!this[_0xca620a(0xdb)][_0xa8eedf[_0xca620a(0xae)]]&&(this[_0xca620a(0xdb)][_0xa8eedf[_0xca620a(0xae)]]=[]),this['listevent'][_0xa8eedf['name']][_0xca620a(0xc8)]({'priority':_0xa8eedf[_0xca620a(0xba)],'resolve':_0x2fd5e3[_0xa8eedf[_0xca620a(0xc9)]][_0xca620a(0xbd)](_0x2fd5e3),'propertyKey':_0xf31fb4[_0xca620a(0xae)]+'@'+_0xa8eedf[_0xca620a(0xc9)]}));}}for(const _0xefcaeb in this[_0xca620a(0xdb)]){this['listevent'][_0xefcaeb]=(0x0,collect_js_1['default'])(this[_0xca620a(0xdb)][_0xefcaeb])[_0xca620a(0xc0)](_0xca620a(0xba))['all']();}}return _0x1d204f?this[_0xca620a(0xdb)][_0x1d204f]||[]:this[_0xca620a(0xdb)];}async[a4_0x3fc320(0xc1)](_0x24a5bc,..._0x735655){const _0x284f8c=a4_0x3fc320;var _0x464c57,_0x32f8d4;await this[_0x284f8c(0xbf)]();for(let _0x208921 in(_0x464c57=this[_0x284f8c(0xdb)])===null||_0x464c57===void 0x0?void 0x0:_0x464c57[_0x24a5bc]){const _0x6b8226=(_0x32f8d4=this[_0x284f8c(0xdb)][_0x24a5bc])===null||_0x32f8d4===void 0x0?void 0x0:_0x32f8d4[_0x208921];(_0x6b8226===null||_0x6b8226===void 0x0?void 0x0:_0x6b8226[_0x284f8c(0xb7)])&&typeof(_0x6b8226===null||_0x6b8226===void 0x0?void 0x0:_0x6b8226[_0x284f8c(0xb7)])==_0x284f8c(0xbb)&&await _0x6b8226[_0x284f8c(0xb7)](..._0x735655);}}async[a4_0x3fc320(0xd6)](_0x3b39ca,..._0x57e90c){const _0xc479e7=a4_0x3fc320;return await this[_0xc479e7(0xbf)](),await this[_0xc479e7(0xc1)](_0x3b39ca,..._0x57e90c),this[_0xc479e7(0xab)](_0x3b39ca);}async[a4_0x3fc320(0xab)](_0x1f44b7){const _0x53d7e0=a4_0x3fc320;return await this[_0x53d7e0(0xbf)](),this[_0x53d7e0(0xdb)][_0x1f44b7]&&delete this['listevent'][_0x1f44b7],!!this[_0x53d7e0(0xdb)][_0x1f44b7];}};function a4_0x44ff(){const _0x41c669=['init','design:type','once','@midwayjs/core','(((.+)+)+)+$','__decorate','ScopeEnum','listevent','toString','Scope','off','23237210ojkzRS','listModule','name','length','2462484HZzHok','Provide','443655fTBgdC','event','decorate','352884QphzZg','__esModule','resolve','29316gvTVWa','getClassMetadata','priority','function','Singleton','bind','constructor','getListevent','sortByDesc','emit','__metadata','10499XiIKpv','metadata','9RIrYND','app','collect.js','push','propertyKey','../interface','getApplicationContext','EventService','5294192bENLjo','86KdppWj','App','object','565yqWsff','defineProperty','getOwnPropertyDescriptor'];a4_0x44ff=function(){return _0x41c669;};return a4_0x44ff();}__decorate([(0x0,core_1[a4_0x3fc320(0xcf)])(),__metadata(a4_0x3fc320(0xd5),Object)],EventService['prototype'],a4_0x3fc320(0xc6),void 0x0),EventService=__decorate([(0x0,core_1[a4_0x3fc320(0xb1)])(a4_0x3fc320(0xb3)),(0x0,core_1[a4_0x3fc320(0xdd)])(core_1[a4_0x3fc320(0xda)][a4_0x3fc320(0xbc)])],EventService),exports[a4_0x3fc320(0xcc)]=EventService;
1
+ function a4_0x1975(){const _0x4d9219=['Singleton','Scope','7882410ZBCaOf','search','__decorate','app','defineProperty','function','getClassMetadata','25CpEmVX','14172NjOwGl','4SQykbn','EVENT_KEY','off','Provide','once','11YoIgix','propertyKey','design:type','listevent','283168BeEUBX','collect.js','__metadata','EVENT_ON_KEY','(((.+)+)+)+$','default','prototype','constructor','push','3216390UxwXFD','decorate','6EXAqYU','object','28800yKYdwR','getListevent','length','emit','__esModule','EventService','19474OvvLVK','1684263jduGSh','priority','resolve','toString','ScopeEnum','App','81SULGLu','getApplicationContext','name','init','../interface','listModule','getAsync','metadata','6170444zKQAAz','apply'];a4_0x1975=function(){return _0x4d9219;};return a4_0x1975();}const a4_0x4acdd4=a4_0xff59;function a4_0xff59(_0x3a5e95,_0x14bd25){const _0x4e37dc=a4_0x1975();return a4_0xff59=function(_0x610d36,_0x5ab379){_0x610d36=_0x610d36-0xfa;let _0x1975f7=_0x4e37dc[_0x610d36];return _0x1975f7;},a4_0xff59(_0x3a5e95,_0x14bd25);}(function(_0x77c15b,_0x190eef){const _0x97c60f=a4_0xff59,_0x5242a9=_0x77c15b();while(!![]){try{const _0x176dda=parseInt(_0x97c60f(0x115))/0x1*(parseInt(_0x97c60f(0x12d))/0x2)+-parseInt(_0x97c60f(0xfc))/0x3*(parseInt(_0x97c60f(0x117))/0x4)+-parseInt(_0x97c60f(0x129))/0x5+parseInt(_0x97c60f(0x12b))/0x6*(-parseInt(_0x97c60f(0x10a))/0x7)+-parseInt(_0x97c60f(0x120))/0x8*(parseInt(_0x97c60f(0x102))/0x9)+-parseInt(_0x97c60f(0x10e))/0xa*(-parseInt(_0x97c60f(0x11c))/0xb)+parseInt(_0x97c60f(0x116))/0xc*(parseInt(_0x97c60f(0xfb))/0xd);if(_0x176dda===_0x190eef)break;else _0x5242a9['push'](_0x5242a9['shift']());}catch(_0x45224c){_0x5242a9['push'](_0x5242a9['shift']());}}}(a4_0x1975,0x7d270));const a4_0x5ab379=(function(){let _0x673cd7=!![];return function(_0x555e50,_0x3cbed0){const _0x4d3826=_0x673cd7?function(){const _0x1479df=a4_0xff59;if(_0x3cbed0){const _0x596739=_0x3cbed0[_0x1479df(0x10b)](_0x555e50,arguments);return _0x3cbed0=null,_0x596739;}}:function(){};return _0x673cd7=![],_0x4d3826;};}()),a4_0x610d36=a4_0x5ab379(this,function(){const _0xa5336e=a4_0xff59;return a4_0x610d36[_0xa5336e(0xff)]()[_0xa5336e(0x10f)](_0xa5336e(0x124))[_0xa5336e(0xff)]()[_0xa5336e(0x127)](a4_0x610d36)[_0xa5336e(0x10f)](_0xa5336e(0x124));});a4_0x610d36();'use strict';var __decorate=this&&this[a4_0x4acdd4(0x110)]||function(_0x138646,_0x54967a,_0x5010ce,_0x4c61f7){const _0xb541b8=a4_0x4acdd4;var _0x512203=arguments[_0xb541b8(0x12f)],_0x6ce948=_0x512203<0x3?_0x54967a:_0x4c61f7===null?_0x4c61f7=Object['getOwnPropertyDescriptor'](_0x54967a,_0x5010ce):_0x4c61f7,_0x73f0cd;if(typeof Reflect==='object'&&typeof Reflect[_0xb541b8(0x12a)]==='function')_0x6ce948=Reflect['decorate'](_0x138646,_0x54967a,_0x5010ce,_0x4c61f7);else{for(var _0x49e6ea=_0x138646['length']-0x1;_0x49e6ea>=0x0;_0x49e6ea--)if(_0x73f0cd=_0x138646[_0x49e6ea])_0x6ce948=(_0x512203<0x3?_0x73f0cd(_0x6ce948):_0x512203>0x3?_0x73f0cd(_0x54967a,_0x5010ce,_0x6ce948):_0x73f0cd(_0x54967a,_0x5010ce))||_0x6ce948;}return _0x512203>0x3&&_0x6ce948&&Object[_0xb541b8(0x112)](_0x54967a,_0x5010ce,_0x6ce948),_0x6ce948;},__metadata=this&&this[a4_0x4acdd4(0x122)]||function(_0x49f97f,_0x3f1c29){const _0x295675=a4_0x4acdd4;if(typeof Reflect===_0x295675(0x12c)&&typeof Reflect[_0x295675(0x109)]==='function')return Reflect[_0x295675(0x109)](_0x49f97f,_0x3f1c29);};Object[a4_0x4acdd4(0x112)](exports,a4_0x4acdd4(0x131),{'value':!![]}),exports[a4_0x4acdd4(0xfa)]=void 0x0;const collect_js_1=require(a4_0x4acdd4(0x121)),core_1=require('@midwayjs/core'),interface_1=require(a4_0x4acdd4(0x106));let EventService=class EventService{constructor(){const _0x3d0dc9=a4_0x4acdd4;this[_0x3d0dc9(0x105)]=![];}async[a4_0x4acdd4(0x12e)](_0x259289){const _0x51f5d8=a4_0x4acdd4;if(!this[_0x51f5d8(0x105)]){this[_0x51f5d8(0x105)]=!![],this[_0x51f5d8(0x11f)]={};for(const _0x63e64a of(0x0,core_1[_0x51f5d8(0x107)])(interface_1[_0x51f5d8(0x118)])||[]){const _0x8f8a1b=await this[_0x51f5d8(0x111)][_0x51f5d8(0x103)]()[_0x51f5d8(0x108)](_0x63e64a);for(const _0x57eb39 of(0x0,core_1[_0x51f5d8(0x114)])(interface_1[_0x51f5d8(0x123)],_0x63e64a)||[]){typeof(_0x8f8a1b[_0x57eb39[_0x51f5d8(0x11d)]]==_0x51f5d8(0x113))&&(!this[_0x51f5d8(0x11f)][_0x57eb39[_0x51f5d8(0x104)]]&&(this[_0x51f5d8(0x11f)][_0x57eb39[_0x51f5d8(0x104)]]=[]),this[_0x51f5d8(0x11f)][_0x57eb39[_0x51f5d8(0x104)]][_0x51f5d8(0x128)]({'priority':_0x57eb39[_0x51f5d8(0xfd)],'resolve':_0x8f8a1b[_0x57eb39['propertyKey']]['bind'](_0x8f8a1b),'propertyKey':_0x63e64a[_0x51f5d8(0x104)]+'@'+_0x57eb39['propertyKey']}));}}for(const _0x2ea683 in this[_0x51f5d8(0x11f)]){this[_0x51f5d8(0x11f)][_0x2ea683]=(0x0,collect_js_1[_0x51f5d8(0x125)])(this[_0x51f5d8(0x11f)][_0x2ea683])['sortByDesc'](_0x51f5d8(0xfd))['all']();}}return _0x259289?this[_0x51f5d8(0x11f)][_0x259289]||[]:this[_0x51f5d8(0x11f)];}async[a4_0x4acdd4(0x130)](_0x35c7b5,..._0x29b4db){const _0x9081df=a4_0x4acdd4;var _0x3b3cdf,_0x12305a;await this['getListevent']();for(let _0x3c90c0 in(_0x3b3cdf=this[_0x9081df(0x11f)])===null||_0x3b3cdf===void 0x0?void 0x0:_0x3b3cdf[_0x35c7b5]){const _0x5ef12c=(_0x12305a=this[_0x9081df(0x11f)][_0x35c7b5])===null||_0x12305a===void 0x0?void 0x0:_0x12305a[_0x3c90c0];(_0x5ef12c===null||_0x5ef12c===void 0x0?void 0x0:_0x5ef12c[_0x9081df(0xfe)])&&typeof(_0x5ef12c===null||_0x5ef12c===void 0x0?void 0x0:_0x5ef12c[_0x9081df(0xfe)])=='function'&&await _0x5ef12c[_0x9081df(0xfe)](..._0x29b4db);}}async[a4_0x4acdd4(0x11b)](_0x384789,..._0x43653b){return await this['getListevent'](),await this['emit'](_0x384789,..._0x43653b),this['off'](_0x384789);}async[a4_0x4acdd4(0x119)](_0x488e51){const _0x2ed1ab=a4_0x4acdd4;return await this['getListevent'](),this[_0x2ed1ab(0x11f)][_0x488e51]&&delete this['listevent'][_0x488e51],!!this[_0x2ed1ab(0x11f)][_0x488e51];}};exports[a4_0x4acdd4(0xfa)]=EventService,__decorate([(0x0,core_1[a4_0x4acdd4(0x101)])(),__metadata(a4_0x4acdd4(0x11e),Object)],EventService[a4_0x4acdd4(0x126)],'app',void 0x0),exports[a4_0x4acdd4(0xfa)]=EventService=__decorate([(0x0,core_1[a4_0x4acdd4(0x11a)])('event'),(0x0,core_1[a4_0x4acdd4(0x10d)])(core_1[a4_0x4acdd4(0x100)][a4_0x4acdd4(0x10c)])],EventService);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anncic-api/event",
3
- "version": "3.4.38",
3
+ "version": "3.4.41",
4
4
  "main": "./dist/index.js",
5
5
  "license": "MIT",
6
6
  "files": [
@@ -14,12 +14,12 @@
14
14
  "build": "tsc && javascript-obfuscator ./dist --output ./dist --config obfuscator.json"
15
15
  },
16
16
  "dependencies": {
17
- "collect.js": "^4.36.1"
17
+ "collect.js": "~4.36.1"
18
18
  },
19
19
  "devDependencies": {
20
20
  "@types/node": "^20.3.2",
21
21
  "javascript-obfuscator": "^4.0.2",
22
- "typescript": "^5.1.3"
22
+ "typescript": "^5.5.4"
23
23
  },
24
- "gitHead": "6fcd292d8eeab9475cb4a6e97332fad290b5b797"
24
+ "gitHead": "18e255483bef8adbe70adc3feee1f35936c2e962"
25
25
  }