@anncic-api/event 3.4.38 → 3.4.39

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_0x28fd1e=a0_0x1c47;(function(_0xc7bdb8,_0x35da4d){var _0x1a430d=a0_0x1c47,_0x34529f=_0xc7bdb8();while(!![]){try{var _0x21214d=parseInt(_0x1a430d(0xac))/0x1+parseInt(_0x1a430d(0xb3))/0x2*(-parseInt(_0x1a430d(0xc0))/0x3)+-parseInt(_0x1a430d(0xbd))/0x4+parseInt(_0x1a430d(0xb5))/0x5*(parseInt(_0x1a430d(0xba))/0x6)+parseInt(_0x1a430d(0xc5))/0x7+-parseInt(_0x1a430d(0xad))/0x8+parseInt(_0x1a430d(0xbe))/0x9;if(_0x21214d===_0x35da4d)break;else _0x34529f['push'](_0x34529f['shift']());}catch(_0x579767){_0x34529f['push'](_0x34529f['shift']());}}}(a0_0x1dec,0x87f77));function a0_0x1dec(){var _0xedbcdb=['apply','function','MidwayDecoratorService','config','defineProperty','6YnKjsE','anncic-api:event','35NNmCXQ','decorate','toString','constructor','MidwayConfigService','585138QFoGQJ','object','search','597480LwlxAK','6312870GiZSkS','decorator','1101999WQHuci','length','__esModule','prototype','getOwnPropertyDescriptor','2618553IXJmqo','Inject','design:type','(((.+)+)+)+$','metadata','CustomConfiguration','@midwayjs/core','113535sgEmbw','507336VOwLyt'];a0_0x1dec=function(){return _0xedbcdb;};return a0_0x1dec();}var a0_0x219fab=(function(){var _0x34ece9=!![];return function(_0x4979dc,_0x2888f0){var _0x388734=_0x34ece9?function(){var _0x14b268=a0_0x1c47;if(_0x2888f0){var _0x40d8a6=_0x2888f0[_0x14b268(0xae)](_0x4979dc,arguments);return _0x2888f0=null,_0x40d8a6;}}:function(){};return _0x34ece9=![],_0x388734;};}()),a0_0x42a728=a0_0x219fab(this,function(){var _0x3f2729=a0_0x1c47;return a0_0x42a728[_0x3f2729(0xb7)]()[_0x3f2729(0xbc)](_0x3f2729(0xc8))[_0x3f2729(0xb7)]()[_0x3f2729(0xb8)](a0_0x42a728)[_0x3f2729(0xbc)](_0x3f2729(0xc8));});a0_0x42a728();'use strict';var __decorate=this&&this['__decorate']||function(_0x37b11c,_0x54d905,_0x57d4f4,_0x48f623){var _0x471b58=a0_0x1c47,_0x35b8d7=arguments[_0x471b58(0xc1)],_0x40c0ea=_0x35b8d7<0x3?_0x54d905:_0x48f623===null?_0x48f623=Object[_0x471b58(0xc4)](_0x54d905,_0x57d4f4):_0x48f623,_0x3c04fd;if(typeof Reflect===_0x471b58(0xbb)&&typeof Reflect[_0x471b58(0xb6)]===_0x471b58(0xaf))_0x40c0ea=Reflect[_0x471b58(0xb6)](_0x37b11c,_0x54d905,_0x57d4f4,_0x48f623);else{for(var _0x1bdd38=_0x37b11c[_0x471b58(0xc1)]-0x1;_0x1bdd38>=0x0;_0x1bdd38--)if(_0x3c04fd=_0x37b11c[_0x1bdd38])_0x40c0ea=(_0x35b8d7<0x3?_0x3c04fd(_0x40c0ea):_0x35b8d7>0x3?_0x3c04fd(_0x54d905,_0x57d4f4,_0x40c0ea):_0x3c04fd(_0x54d905,_0x57d4f4))||_0x40c0ea;}return _0x35b8d7>0x3&&_0x40c0ea&&Object[_0x471b58(0xb2)](_0x54d905,_0x57d4f4,_0x40c0ea),_0x40c0ea;},__metadata=this&&this['__metadata']||function(_0x54af9c,_0x287d8a){var _0x4fc2f8=a0_0x1c47;if(typeof Reflect===_0x4fc2f8(0xbb)&&typeof Reflect['metadata']==='function')return Reflect[_0x4fc2f8(0xc9)](_0x54af9c,_0x287d8a);};function a0_0x1c47(_0x46c6c9,_0x201267){var _0x254d6d=a0_0x1dec();return a0_0x1c47=function(_0x42a728,_0x219fab){_0x42a728=_0x42a728-0xaa;var _0x1decfc=_0x254d6d[_0x42a728];return _0x1decfc;},a0_0x1c47(_0x46c6c9,_0x201267);}Object[a0_0x28fd1e(0xb2)](exports,a0_0x28fd1e(0xc2),{'value':!![]}),exports[a0_0x28fd1e(0xaa)]=void 0x0;const core_1=require(a0_0x28fd1e(0xab)),core_2=require('@midwayjs/core');let CustomConfiguration=class CustomConfiguration{async['onReady'](){}};exports[a0_0x28fd1e(0xaa)]=CustomConfiguration,__decorate([(0x0,core_1[a0_0x28fd1e(0xc6)])(),__metadata(a0_0x28fd1e(0xc7),core_2[a0_0x28fd1e(0xb9)])],CustomConfiguration[a0_0x28fd1e(0xc3)],a0_0x28fd1e(0xb1),void 0x0),__decorate([(0x0,core_1[a0_0x28fd1e(0xc6)])(),__metadata(a0_0x28fd1e(0xc7),core_2[a0_0x28fd1e(0xb0)])],CustomConfiguration[a0_0x28fd1e(0xc3)],a0_0x28fd1e(0xbf),void 0x0),exports[a0_0x28fd1e(0xaa)]=CustomConfiguration=__decorate([(0x0,core_1['Configuration'])({'conflictCheck':![],'namespace':a0_0x28fd1e(0xb4)})],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
+ const a1_0x253a94=a1_0x53c7;(function(_0x195b2c,_0x32e568){const _0x48a2db=a1_0x53c7,_0x57bdb1=_0x195b2c();while(!![]){try{const _0x2506da=-parseInt(_0x48a2db(0x138))/0x1*(parseInt(_0x48a2db(0x14a))/0x2)+-parseInt(_0x48a2db(0x144))/0x3*(-parseInt(_0x48a2db(0x139))/0x4)+parseInt(_0x48a2db(0x13b))/0x5+-parseInt(_0x48a2db(0x143))/0x6+parseInt(_0x48a2db(0x140))/0x7+parseInt(_0x48a2db(0x13d))/0x8+-parseInt(_0x48a2db(0x13e))/0x9;if(_0x2506da===_0x32e568)break;else _0x57bdb1['push'](_0x57bdb1['shift']());}catch(_0x15091f){_0x57bdb1['push'](_0x57bdb1['shift']());}}}(a1_0x9bbf,0x458a1));function a1_0x9bbf(){const _0x2fe52b=['EVENT_ON_KEY','2920242cRXOht','5160adqdQn','constructor','EVENT_KEY','ScopeEnum','../interface','Event','1952RQxlbi','__esModule','attachClassMetadata','search','toString','saveModule','523SwrFGX','428zAxudX','(((.+)+)+)+$','1894960ziBVQG','apply','4247456SERKsS','2760777cVWjSd','@midwayjs/core','3463439fxpSlq','Provide'];a1_0x9bbf=function(){return _0x2fe52b;};return a1_0x9bbf();}const a1_0x1d0e31=(function(){let _0x1b1311=!![];return function(_0x57f63f,_0x178f17){const _0xfba8dd=_0x1b1311?function(){const _0x239b2e=a1_0x53c7;if(_0x178f17){const _0x2b0578=_0x178f17[_0x239b2e(0x13c)](_0x57f63f,arguments);return _0x178f17=null,_0x2b0578;}}:function(){};return _0x1b1311=![],_0xfba8dd;};}()),a1_0x2e5e89=a1_0x1d0e31(this,function(){const _0x1965e0=a1_0x53c7;return a1_0x2e5e89[_0x1965e0(0x14e)]()[_0x1965e0(0x14d)](_0x1965e0(0x13a))['toString']()[_0x1965e0(0x145)](a1_0x2e5e89)['search']('(((.+)+)+)+$');});a1_0x2e5e89();function a1_0x53c7(_0x2dfc66,_0x7145a3){const _0x5b9902=a1_0x9bbf();return a1_0x53c7=function(_0x2e5e89,_0x1d0e31){_0x2e5e89=_0x2e5e89-0x137;let _0x9bbfec=_0x5b9902[_0x2e5e89];return _0x9bbfec;},a1_0x53c7(_0x2dfc66,_0x7145a3);}'use strict';Object['defineProperty'](exports,a1_0x253a94(0x14b),{'value':!![]}),exports[a1_0x253a94(0x149)]=Event;const core_1=require(a1_0x253a94(0x13f)),interface_1=require(a1_0x253a94(0x148));function Event(){return _0x31ad28=>{const _0xc3993f=a1_0x53c7;(0x0,core_1[_0xc3993f(0x141)])()(_0x31ad28),(0x0,core_1[_0xc3993f(0x137)])(interface_1[_0xc3993f(0x146)],_0x31ad28),(0x0,core_1['Scope'])(core_1[_0xc3993f(0x147)]['Request'],{'allowDowngrade':!![]})(_0x31ad28);};}Event['On']=function(_0x2ff8d9,_0x8861d1=0x0){return(_0x54de95,_0x48557c,_0x410cad)=>{const _0x39fe55=a1_0x53c7;return(0x0,core_1[_0x39fe55(0x14c)])(interface_1[_0x39fe55(0x142)],{'name':_0x2ff8d9,'priority':_0x8861d1,'propertyKey':_0x48557c,'descriptor':_0x410cad},_0x54de95),_0x410cad;};};
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_0x4fda6a=a2_0x4460;(function(_0x217a07,_0x3dd49c){var _0x812b3c=a2_0x4460,_0x7773e=_0x217a07();while(!![]){try{var _0x130110=-parseInt(_0x812b3c(0xb9))/0x1*(parseInt(_0x812b3c(0xbd))/0x2)+parseInt(_0x812b3c(0xbb))/0x3+-parseInt(_0x812b3c(0xca))/0x4*(-parseInt(_0x812b3c(0xc0))/0x5)+-parseInt(_0x812b3c(0xbc))/0x6*(parseInt(_0x812b3c(0xcd))/0x7)+parseInt(_0x812b3c(0xc3))/0x8*(parseInt(_0x812b3c(0xc7))/0x9)+-parseInt(_0x812b3c(0xb7))/0xa*(parseInt(_0x812b3c(0xc4))/0xb)+parseInt(_0x812b3c(0xbe))/0xc;if(_0x130110===_0x3dd49c)break;else _0x7773e['push'](_0x7773e['shift']());}catch(_0x663925){_0x7773e['push'](_0x7773e['shift']());}}}(a2_0x54bb,0x3c894));var a2_0x57f7e5=(function(){var _0x40f11f=!![];return function(_0x1f45b4,_0x17d2dc){var _0x1a9b3c=_0x40f11f?function(){if(_0x17d2dc){var _0x451d96=_0x17d2dc['apply'](_0x1f45b4,arguments);return _0x17d2dc=null,_0x451d96;}}:function(){};return _0x40f11f=![],_0x1a9b3c;};}()),a2_0xc27141=a2_0x57f7e5(this,function(){var _0x57f038=a2_0x4460;return a2_0xc27141['toString']()[_0x57f038(0xcc)](_0x57f038(0xb8))[_0x57f038(0xcb)]()[_0x57f038(0xba)](a2_0xc27141)[_0x57f038(0xcc)]('(((.+)+)+)+$');});a2_0xc27141();'use strict';Object[a2_0x4fda6a(0xc5)](exports,a2_0x4fda6a(0xc2),{'value':!![]}),exports['Configuration']=exports[a2_0x4fda6a(0xbf)]=exports['Event']=void 0x0;function a2_0x4460(_0x2e528c,_0x14d283){var _0x26621d=a2_0x54bb();return a2_0x4460=function(_0xc27141,_0x57f7e5){_0xc27141=_0xc27141-0xb6;var _0x54bb2f=_0x26621d[_0xc27141];return _0x54bb2f;},a2_0x4460(_0x2e528c,_0x14d283);}var Event_1=require(a2_0x4fda6a(0xc8));Object[a2_0x4fda6a(0xc5)](exports,a2_0x4fda6a(0xc1),{'enumerable':!![],'get':function(){var _0x7ccee5=a2_0x4fda6a;return Event_1[_0x7ccee5(0xc1)];}});var EventService_1=require(a2_0x4fda6a(0xb6));Object[a2_0x4fda6a(0xc5)](exports,a2_0x4fda6a(0xbf),{'enumerable':!![],'get':function(){var _0x363084=a2_0x4fda6a;return EventService_1[_0x363084(0xbf)];}});function a2_0x54bb(){var _0x5afede=['747688cjitNf','22MmjjBW','defineProperty','./configuration','18vYlkpC','./decorator/Event','CustomConfiguration','89084ZabzDV','toString','search','7DfYRze','./service/EventService','1159590rKwzWQ','(((.+)+)+)+$','57920tOBnqQ','constructor','1211598FVarzH','2654178MNFQRC','6rxDtOG','3657240wZWZIH','EventService','45XdKASh','Event','__esModule'];a2_0x54bb=function(){return _0x5afede;};return a2_0x54bb();}var configuration_1=require(a2_0x4fda6a(0xc6));Object[a2_0x4fda6a(0xc5)](exports,'Configuration',{'enumerable':!![],'get':function(){var _0x393e51=a2_0x4fda6a;return configuration_1[_0x393e51(0xc9)];}});
@@ -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
+ var a3_0x3d9153=a3_0x433e;(function(_0x338ac3,_0x51386e){var _0x221c5e=a3_0x433e,_0x235220=_0x338ac3();while(!![]){try{var _0x3b884f=parseInt(_0x221c5e(0x81))/0x1+parseInt(_0x221c5e(0x77))/0x2+-parseInt(_0x221c5e(0x74))/0x3*(parseInt(_0x221c5e(0x7b))/0x4)+parseInt(_0x221c5e(0x83))/0x5+parseInt(_0x221c5e(0x79))/0x6+-parseInt(_0x221c5e(0x7d))/0x7+-parseInt(_0x221c5e(0x7f))/0x8;if(_0x3b884f===_0x51386e)break;else _0x235220['push'](_0x235220['shift']());}catch(_0x2e47ac){_0x235220['push'](_0x235220['shift']());}}}(a3_0x4055,0x217dc));var a3_0x34cc90=(function(){var _0x1e3582=!![];return function(_0x1ad052,_0x1d7818){var _0x5202f7=_0x1e3582?function(){var _0x542c4c=a3_0x433e;if(_0x1d7818){var _0x13173d=_0x1d7818[_0x542c4c(0x78)](_0x1ad052,arguments);return _0x1d7818=null,_0x13173d;}}:function(){};return _0x1e3582=![],_0x5202f7;};}()),a3_0x5adc35=a3_0x34cc90(this,function(){var _0x1b97c8=a3_0x433e;return a3_0x5adc35[_0x1b97c8(0x7e)]()[_0x1b97c8(0x7a)](_0x1b97c8(0x7c))['toString']()[_0x1b97c8(0x80)](a3_0x5adc35)[_0x1b97c8(0x7a)](_0x1b97c8(0x7c));});a3_0x5adc35();'use strict';function a3_0x433e(_0x2f6e2c,_0x549a57){var _0x389608=a3_0x4055();return a3_0x433e=function(_0x5adc35,_0x34cc90){_0x5adc35=_0x5adc35-0x74;var _0x4055e4=_0x389608[_0x5adc35];return _0x4055e4;},a3_0x433e(_0x2f6e2c,_0x549a57);}Object['defineProperty'](exports,a3_0x3d9153(0x84),{'value':!![]}),exports['EVENT_ON_KEY']=exports[a3_0x3d9153(0x82)]=void 0x0,exports['EVENT_KEY']=a3_0x3d9153(0x76),exports['EVENT_ON_KEY']=a3_0x3d9153(0x75);function a3_0x4055(){var _0x12d2a6=['886415RDuBDU','__esModule','3OHwliy','anncic-api:event:on','anncic-api:event','214902LIGrzu','apply','721266PlPJjB','search','838388wopnol','(((.+)+)+)+$','943243yJeFSb','toString','1084536gBjdQv','constructor','212148usPAsk','EVENT_KEY'];a3_0x4055=function(){return _0x12d2a6;};return a3_0x4055();}
@@ -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
+ const a4_0x2aedef=a4_0x5d86;(function(_0x2ca735,_0x594a27){const _0x3e937f=a4_0x5d86,_0x14447c=_0x2ca735();while(!![]){try{const _0x4bb0e8=parseInt(_0x3e937f(0xe9))/0x1+-parseInt(_0x3e937f(0xdf))/0x2*(parseInt(_0x3e937f(0xc2))/0x3)+parseInt(_0x3e937f(0xb5))/0x4*(-parseInt(_0x3e937f(0xea))/0x5)+-parseInt(_0x3e937f(0xd7))/0x6+parseInt(_0x3e937f(0xca))/0x7*(parseInt(_0x3e937f(0xcc))/0x8)+-parseInt(_0x3e937f(0xd8))/0x9+-parseInt(_0x3e937f(0xd0))/0xa*(-parseInt(_0x3e937f(0xcf))/0xb);if(_0x4bb0e8===_0x594a27)break;else _0x14447c['push'](_0x14447c['shift']());}catch(_0x21cd3e){_0x14447c['push'](_0x14447c['shift']());}}}(a4_0x9db2,0x6dec5));const a4_0x3e353e=(function(){let _0x58ba46=!![];return function(_0x3ce1be,_0x5f0d60){const _0x3ed9ae=_0x58ba46?function(){const _0x2dd53e=a4_0x5d86;if(_0x5f0d60){const _0x3b4ac5=_0x5f0d60[_0x2dd53e(0xc4)](_0x3ce1be,arguments);return _0x5f0d60=null,_0x3b4ac5;}}:function(){};return _0x58ba46=![],_0x3ed9ae;};}()),a4_0x43eb48=a4_0x3e353e(this,function(){const _0x2fe87b=a4_0x5d86;return a4_0x43eb48[_0x2fe87b(0xb8)]()[_0x2fe87b(0xda)](_0x2fe87b(0xcd))[_0x2fe87b(0xb8)]()[_0x2fe87b(0xb7)](a4_0x43eb48)[_0x2fe87b(0xda)](_0x2fe87b(0xcd));});a4_0x43eb48();'use strict';function a4_0x5d86(_0x469476,_0x26ce3b){const _0x28b802=a4_0x9db2();return a4_0x5d86=function(_0x43eb48,_0x3e353e){_0x43eb48=_0x43eb48-0xb5;let _0x9db25a=_0x28b802[_0x43eb48];return _0x9db25a;},a4_0x5d86(_0x469476,_0x26ce3b);}var __decorate=this&&this[a4_0x2aedef(0xc7)]||function(_0x2c4830,_0x3ac4bd,_0x4d541e,_0x33df6b){const _0x3fb7ce=a4_0x2aedef;var _0x4557ef=arguments['length'],_0x401a13=_0x4557ef<0x3?_0x3ac4bd:_0x33df6b===null?_0x33df6b=Object[_0x3fb7ce(0xd4)](_0x3ac4bd,_0x4d541e):_0x33df6b,_0x2480e5;if(typeof Reflect==='object'&&typeof Reflect['decorate']===_0x3fb7ce(0xc3))_0x401a13=Reflect[_0x3fb7ce(0xd5)](_0x2c4830,_0x3ac4bd,_0x4d541e,_0x33df6b);else{for(var _0x5541a3=_0x2c4830[_0x3fb7ce(0xb9)]-0x1;_0x5541a3>=0x0;_0x5541a3--)if(_0x2480e5=_0x2c4830[_0x5541a3])_0x401a13=(_0x4557ef<0x3?_0x2480e5(_0x401a13):_0x4557ef>0x3?_0x2480e5(_0x3ac4bd,_0x4d541e,_0x401a13):_0x2480e5(_0x3ac4bd,_0x4d541e))||_0x401a13;}return _0x4557ef>0x3&&_0x401a13&&Object[_0x3fb7ce(0xe1)](_0x3ac4bd,_0x4d541e,_0x401a13),_0x401a13;},__metadata=this&&this[a4_0x2aedef(0xde)]||function(_0x530d2c,_0xfb4472){const _0x1d890e=a4_0x2aedef;if(typeof Reflect===_0x1d890e(0xd6)&&typeof Reflect[_0x1d890e(0xd3)]===_0x1d890e(0xc3))return Reflect[_0x1d890e(0xd3)](_0x530d2c,_0xfb4472);};Object[a4_0x2aedef(0xe1)](exports,a4_0x2aedef(0xbc),{'value':!![]}),exports[a4_0x2aedef(0xba)]=void 0x0;const collect_js_1=require(a4_0x2aedef(0xeb)),core_1=require('@midwayjs/core'),interface_1=require(a4_0x2aedef(0xc0));let EventService=class EventService{constructor(){const _0x195684=a4_0x2aedef;this[_0x195684(0xd2)]=![];}async['getListevent'](_0x1289de){const _0x1206ed=a4_0x2aedef;if(!this[_0x1206ed(0xd2)]){this[_0x1206ed(0xd2)]=!![],this[_0x1206ed(0xb6)]={};for(const _0x1ee282 of(0x0,core_1[_0x1206ed(0xc1)])(interface_1[_0x1206ed(0xe5)])||[]){const _0x12df8f=await this[_0x1206ed(0xbe)][_0x1206ed(0xc6)]()[_0x1206ed(0xe0)](_0x1ee282);for(const _0x21c3f8 of(0x0,core_1['getClassMetadata'])(interface_1[_0x1206ed(0xbb)],_0x1ee282)||[]){typeof(_0x12df8f[_0x21c3f8[_0x1206ed(0xe8)]]=='function')&&(!this[_0x1206ed(0xb6)][_0x21c3f8[_0x1206ed(0xc5)]]&&(this[_0x1206ed(0xb6)][_0x21c3f8[_0x1206ed(0xc5)]]=[]),this[_0x1206ed(0xb6)][_0x21c3f8[_0x1206ed(0xc5)]][_0x1206ed(0xdb)]({'priority':_0x21c3f8[_0x1206ed(0xe6)],'resolve':_0x12df8f[_0x21c3f8[_0x1206ed(0xe8)]]['bind'](_0x12df8f),'propertyKey':_0x1ee282['name']+'@'+_0x21c3f8[_0x1206ed(0xe8)]}));}}for(const _0x33acdf in this['listevent']){this[_0x1206ed(0xb6)][_0x33acdf]=(0x0,collect_js_1[_0x1206ed(0xe4)])(this[_0x1206ed(0xb6)][_0x33acdf])[_0x1206ed(0xbd)](_0x1206ed(0xe6))[_0x1206ed(0xc8)]();}}return _0x1289de?this['listevent'][_0x1289de]||[]:this['listevent'];}async['emit'](_0x36daa8,..._0x586c80){const _0xe5b25a=a4_0x2aedef;var _0x1080ca,_0x542624;await this[_0xe5b25a(0xce)]();for(let _0x48be56 in(_0x1080ca=this[_0xe5b25a(0xb6)])===null||_0x1080ca===void 0x0?void 0x0:_0x1080ca[_0x36daa8]){const _0x19de1b=(_0x542624=this[_0xe5b25a(0xb6)][_0x36daa8])===null||_0x542624===void 0x0?void 0x0:_0x542624[_0x48be56];(_0x19de1b===null||_0x19de1b===void 0x0?void 0x0:_0x19de1b[_0xe5b25a(0xe7)])&&typeof(_0x19de1b===null||_0x19de1b===void 0x0?void 0x0:_0x19de1b[_0xe5b25a(0xe7)])=='function'&&await _0x19de1b[_0xe5b25a(0xe7)](..._0x586c80);}}async[a4_0x2aedef(0xc9)](_0x4048ad,..._0x6074ca){const _0x31b283=a4_0x2aedef;return await this['getListevent'](),await this[_0x31b283(0xd1)](_0x4048ad,..._0x6074ca),this['off'](_0x4048ad);}async[a4_0x2aedef(0xbf)](_0x4104a4){const _0x3b32d9=a4_0x2aedef;return await this['getListevent'](),this[_0x3b32d9(0xb6)][_0x4104a4]&&delete this[_0x3b32d9(0xb6)][_0x4104a4],!!this[_0x3b32d9(0xb6)][_0x4104a4];}};exports['EventService']=EventService,__decorate([(0x0,core_1['App'])(),__metadata(a4_0x2aedef(0xdd),Object)],EventService[a4_0x2aedef(0xd9)],a4_0x2aedef(0xbe),void 0x0),exports['EventService']=EventService=__decorate([(0x0,core_1[a4_0x2aedef(0xe2)])(a4_0x2aedef(0xe3)),(0x0,core_1[a4_0x2aedef(0xcb)])(core_1[a4_0x2aedef(0xdc)]['Singleton'])],EventService);function a4_0x9db2(){const _0x5e5acd=['EventService','EVENT_ON_KEY','__esModule','sortByDesc','app','off','../interface','listModule','27123IKvufS','function','apply','name','getApplicationContext','__decorate','all','once','7xkixPK','Scope','2695192oFAkPg','(((.+)+)+)+$','getListevent','109593BzSuMI','1230wwGVEe','emit','init','metadata','getOwnPropertyDescriptor','decorate','object','2968656vOPlRn','1073754JqkElS','prototype','search','push','ScopeEnum','design:type','__metadata','44xfbvlE','getAsync','defineProperty','Provide','event','default','EVENT_KEY','priority','resolve','propertyKey','147940XKdYRF','13385mUHwJs','collect.js','668INBpba','listevent','constructor','toString','length'];a4_0x9db2=function(){return _0x5e5acd;};return a4_0x9db2();}
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.39",
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": "a34be632fbc14c4127142f2281341b234b27b8e8"
25
25
  }