@anncic-api/event 3.4.37 → 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
- function a0_0x5723(_0x1b8000,_0x3b3a82){var _0xb4098f=a0_0x273c();return a0_0x5723=function(_0x26a04e,_0x12d3d9){_0x26a04e=_0x26a04e-0x138;var _0x273cf0=_0xb4098f[_0x26a04e];return _0x273cf0;},a0_0x5723(_0x1b8000,_0x3b3a82);}var a0_0x13b7bc=a0_0x5723;(function(_0x4663c5,_0x4b4e23){var _0xe3c702=a0_0x5723,_0x3eb859=_0x4663c5();while(!![]){try{var _0x5ead91=parseInt(_0xe3c702(0x14b))/0x1*(parseInt(_0xe3c702(0x13e))/0x2)+-parseInt(_0xe3c702(0x139))/0x3+parseInt(_0xe3c702(0x13d))/0x4+-parseInt(_0xe3c702(0x13b))/0x5+parseInt(_0xe3c702(0x151))/0x6+parseInt(_0xe3c702(0x14e))/0x7*(-parseInt(_0xe3c702(0x14f))/0x8)+parseInt(_0xe3c702(0x141))/0x9;if(_0x5ead91===_0x4b4e23)break;else _0x3eb859['push'](_0x3eb859['shift']());}catch(_0x4e9865){_0x3eb859['push'](_0x3eb859['shift']());}}}(a0_0x273c,0xc6073));var a0_0x12d3d9=(function(){var _0x2c62aa=!![];return function(_0x10520b,_0x435b4d){var _0x24d29b=_0x2c62aa?function(){var _0x5b7781=a0_0x5723;if(_0x435b4d){var _0x16df00=_0x435b4d[_0x5b7781(0x154)](_0x10520b,arguments);return _0x435b4d=null,_0x16df00;}}:function(){};return _0x2c62aa=![],_0x24d29b;};}()),a0_0x26a04e=a0_0x12d3d9(this,function(){var _0x494681=a0_0x5723;return a0_0x26a04e[_0x494681(0x138)]()[_0x494681(0x153)](_0x494681(0x13a))[_0x494681(0x138)]()[_0x494681(0x140)](a0_0x26a04e)[_0x494681(0x153)]('(((.+)+)+)+$');});a0_0x26a04e();'use strict';var __decorate=this&&this[a0_0x13b7bc(0x14c)]||function(_0x35ecc1,_0x58cfb9,_0x5e4519,_0x264c53){var _0x4db808=a0_0x13b7bc,_0x3c7f65=arguments[_0x4db808(0x13f)],_0x564e11=_0x3c7f65<0x3?_0x58cfb9:_0x264c53===null?_0x264c53=Object[_0x4db808(0x14d)](_0x58cfb9,_0x5e4519):_0x264c53,_0xdf50b4;if(typeof Reflect===_0x4db808(0x155)&&typeof Reflect[_0x4db808(0x158)]===_0x4db808(0x156))_0x564e11=Reflect[_0x4db808(0x158)](_0x35ecc1,_0x58cfb9,_0x5e4519,_0x264c53);else{for(var _0x804fc5=_0x35ecc1[_0x4db808(0x13f)]-0x1;_0x804fc5>=0x0;_0x804fc5--)if(_0xdf50b4=_0x35ecc1[_0x804fc5])_0x564e11=(_0x3c7f65<0x3?_0xdf50b4(_0x564e11):_0x3c7f65>0x3?_0xdf50b4(_0x58cfb9,_0x5e4519,_0x564e11):_0xdf50b4(_0x58cfb9,_0x5e4519))||_0x564e11;}return _0x3c7f65>0x3&&_0x564e11&&Object['defineProperty'](_0x58cfb9,_0x5e4519,_0x564e11),_0x564e11;},__metadata=this&&this[a0_0x13b7bc(0x142)]||function(_0xe8429a,_0x53c558){var _0x39b889=a0_0x13b7bc;if(typeof Reflect===_0x39b889(0x155)&&typeof Reflect['metadata']===_0x39b889(0x156))return Reflect['metadata'](_0xe8429a,_0x53c558);};Object[a0_0x13b7bc(0x152)](exports,a0_0x13b7bc(0x145),{'value':!![]}),exports['CustomConfiguration']=void 0x0;const core_1=require(a0_0x13b7bc(0x146)),core_2=require(a0_0x13b7bc(0x146));function a0_0x273c(){var _0x599d71=['search','apply','object','function','design:type','decorate','toString','3923742SROYIm','(((.+)+)+)+$','1649955yApPvq','decorator','1947276iiaFbD','14510iDShVk','length','constructor','10223559aPqkNd','__metadata','Configuration','anncic-api:event','__esModule','@midwayjs/core','Inject','MidwayDecoratorService','prototype','config','131vLOGvL','__decorate','getOwnPropertyDescriptor','21nywCtX','460576TNFiEf','MidwayConfigService','291414KIKQjz','defineProperty'];a0_0x273c=function(){return _0x599d71;};return a0_0x273c();}let CustomConfiguration=class CustomConfiguration{async['onReady'](){}};__decorate([(0x0,core_1['Inject'])(),__metadata(a0_0x13b7bc(0x157),core_2[a0_0x13b7bc(0x150)])],CustomConfiguration[a0_0x13b7bc(0x149)],a0_0x13b7bc(0x14a),void 0x0),__decorate([(0x0,core_1[a0_0x13b7bc(0x147)])(),__metadata('design:type',core_2[a0_0x13b7bc(0x148)])],CustomConfiguration[a0_0x13b7bc(0x149)],a0_0x13b7bc(0x13c),void 0x0),CustomConfiguration=__decorate([(0x0,core_1[a0_0x13b7bc(0x143)])({'conflictCheck':![],'namespace':a0_0x13b7bc(0x144)})],CustomConfiguration),exports['CustomConfiguration']=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
- const a1_0x534ffb=a1_0x3754;(function(_0x410e4f,_0x69bcdb){const _0x1a91b6=a1_0x3754,_0x3c4b73=_0x410e4f();while(!![]){try{const _0x484eef=parseInt(_0x1a91b6(0x1fd))/0x1+parseInt(_0x1a91b6(0x1ff))/0x2*(parseInt(_0x1a91b6(0x1ec))/0x3)+-parseInt(_0x1a91b6(0x1ef))/0x4*(parseInt(_0x1a91b6(0x1f7))/0x5)+parseInt(_0x1a91b6(0x1f4))/0x6*(-parseInt(_0x1a91b6(0x1ea))/0x7)+-parseInt(_0x1a91b6(0x1f9))/0x8*(parseInt(_0x1a91b6(0x200))/0x9)+-parseInt(_0x1a91b6(0x1fb))/0xa*(parseInt(_0x1a91b6(0x1fc))/0xb)+parseInt(_0x1a91b6(0x1f5))/0xc;if(_0x484eef===_0x69bcdb)break;else _0x3c4b73['push'](_0x3c4b73['shift']());}catch(_0x4a2db6){_0x3c4b73['push'](_0x3c4b73['shift']());}}}(a1_0x3ce8,0x81c29));const a1_0x4e66f4=(function(){let _0x33f562=!![];return function(_0x98f359,_0x185468){const _0x3d24f8=_0x33f562?function(){const _0x179da8=a1_0x3754;if(_0x185468){const _0x49102e=_0x185468[_0x179da8(0x1eb)](_0x98f359,arguments);return _0x185468=null,_0x49102e;}}:function(){};return _0x33f562=![],_0x3d24f8;};}()),a1_0x3d6b81=a1_0x4e66f4(this,function(){const _0x1d36b4=a1_0x3754;return a1_0x3d6b81[_0x1d36b4(0x1e8)]()[_0x1d36b4(0x1e7)]('(((.+)+)+)+$')[_0x1d36b4(0x1e8)]()[_0x1d36b4(0x1f6)](a1_0x3d6b81)['search'](_0x1d36b4(0x1f8));});a1_0x3d6b81();'use strict';Object[a1_0x534ffb(0x1fa)](exports,'__esModule',{'value':!![]}),exports[a1_0x534ffb(0x1ed)]=void 0x0;const core_1=require(a1_0x534ffb(0x1ee)),interface_1=require('../interface');function a1_0x3754(_0x481e05,_0x5b1987){const _0x5aa743=a1_0x3ce8();return a1_0x3754=function(_0x3d6b81,_0x4e66f4){_0x3d6b81=_0x3d6b81-0x1e7;let _0x3ce87c=_0x5aa743[_0x3d6b81];return _0x3ce87c;},a1_0x3754(_0x481e05,_0x5b1987);}function Event(){return _0x474fda=>{const _0x32a8ab=a1_0x3754;(0x0,core_1[_0x32a8ab(0x1f3)])()(_0x474fda),(0x0,core_1[_0x32a8ab(0x1f0)])(interface_1['EVENT_KEY'],_0x474fda),(0x0,core_1['Scope'])(core_1[_0x32a8ab(0x1fe)][_0x32a8ab(0x1f1)],{'allowDowngrade':!![]})(_0x474fda);};}function a1_0x3ce8(){const _0x3c5cc9=['14973588AidShB','constructor','233245Wcaftz','(((.+)+)+)+$','4504MgECkD','defineProperty','372740fXinVM','154PJNedd','227573PJRgGi','ScopeEnum','1702354cdyFLu','3951wqeYwP','search','toString','EVENT_ON_KEY','8099ycjiwb','apply','3iszavb','Event','@midwayjs/core','48TRhuIM','saveModule','Request','attachClassMetadata','Provide','2418XCmzZn'];a1_0x3ce8=function(){return _0x3c5cc9;};return a1_0x3ce8();}exports[a1_0x534ffb(0x1ed)]=Event,Event['On']=function(_0x16ff36,_0x56e26a=0x0){return(_0x3cb5ea,_0x2ed7c1,_0x45ea73)=>{const _0x37dc4f=a1_0x3754;return(0x0,core_1[_0x37dc4f(0x1f2)])(interface_1[_0x37dc4f(0x1e9)],{'name':_0x16ff36,'priority':_0x56e26a,'propertyKey':_0x2ed7c1,'descriptor':_0x45ea73},_0x3cb5ea),_0x45ea73;};};
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_0x1eb2a3=a2_0xaa3b;(function(_0x2fd0c8,_0x3599c6){var _0x796d2=a2_0xaa3b,_0x5ac009=_0x2fd0c8();while(!![]){try{var _0x5ed496=parseInt(_0x796d2(0x14b))/0x1*(parseInt(_0x796d2(0x150))/0x2)+parseInt(_0x796d2(0x14a))/0x3+parseInt(_0x796d2(0x145))/0x4+-parseInt(_0x796d2(0x14c))/0x5*(-parseInt(_0x796d2(0x13f))/0x6)+-parseInt(_0x796d2(0x13d))/0x7*(-parseInt(_0x796d2(0x148))/0x8)+-parseInt(_0x796d2(0x13e))/0x9+parseInt(_0x796d2(0x13c))/0xa*(-parseInt(_0x796d2(0x142))/0xb);if(_0x5ed496===_0x3599c6)break;else _0x5ac009['push'](_0x5ac009['shift']());}catch(_0x14fd30){_0x5ac009['push'](_0x5ac009['shift']());}}}(a2_0x51a5,0x61b6b));function a2_0x51a5(){var _0x577f6c=['550494KCvHop','Event','(((.+)+)+)+$','330tBiyQc','defineProperty','Configuration','950164gvyBAr','./service/EventService','toString','64edJalX','apply','585138mxMzXU','6413yWLlYo','25bPWpER','EventService','search','./decorator/Event','242GbAxWk','420150dYBxHX','21294tshOCS','278604AuFrNw'];a2_0x51a5=function(){return _0x577f6c;};return a2_0x51a5();}var a2_0x54bb83=(function(){var _0x1a08c3=!![];return function(_0x3ab2a7,_0x3aabbe){var _0x47bd04=_0x1a08c3?function(){var _0x3403aa=a2_0xaa3b;if(_0x3aabbe){var _0x3affcb=_0x3aabbe[_0x3403aa(0x149)](_0x3ab2a7,arguments);return _0x3aabbe=null,_0x3affcb;}}:function(){};return _0x1a08c3=![],_0x47bd04;};}()),a2_0x4bb815=a2_0x54bb83(this,function(){var _0x1c623a=a2_0xaa3b;return a2_0x4bb815[_0x1c623a(0x147)]()[_0x1c623a(0x14e)]('(((.+)+)+)+$')[_0x1c623a(0x147)]()['constructor'](a2_0x4bb815)['search'](_0x1c623a(0x141));});a2_0x4bb815();'use strict';Object[a2_0x1eb2a3(0x143)](exports,'__esModule',{'value':!![]}),exports[a2_0x1eb2a3(0x144)]=exports[a2_0x1eb2a3(0x14d)]=exports[a2_0x1eb2a3(0x140)]=void 0x0;function a2_0xaa3b(_0x526cf0,_0x373899){var _0x593c64=a2_0x51a5();return a2_0xaa3b=function(_0x4bb815,_0x54bb83){_0x4bb815=_0x4bb815-0x13c;var _0x51a59f=_0x593c64[_0x4bb815];return _0x51a59f;},a2_0xaa3b(_0x526cf0,_0x373899);}var Event_1=require(a2_0x1eb2a3(0x14f));Object['defineProperty'](exports,a2_0x1eb2a3(0x140),{'enumerable':!![],'get':function(){return Event_1['Event'];}});var EventService_1=require(a2_0x1eb2a3(0x146));Object[a2_0x1eb2a3(0x143)](exports,'EventService',{'enumerable':!![],'get':function(){return EventService_1['EventService'];}});var configuration_1=require('./configuration');Object[a2_0x1eb2a3(0x143)](exports,a2_0x1eb2a3(0x144),{'enumerable':!![],'get':function(){return configuration_1['CustomConfiguration'];}});
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
- function a3_0x2da4(){var _0x49cff5=['276514layLqW','145kBAIIr','32520KBakud','667758CVbMrR','search','433014pMQKGH','858077LIHNiv','__esModule','apply','(((.+)+)+)+$','8WaJtRg','4StRUls','787383FxfPaC','constructor','68802UAIKmZ','anncic-api:event:on','toString','EVENT_ON_KEY','50pxILQa','anncic-api:event','EVENT_KEY'];a3_0x2da4=function(){return _0x49cff5;};return a3_0x2da4();}function a3_0x4ca7(_0x1f408b,_0x17408d){var _0x3bc075=a3_0x2da4();return a3_0x4ca7=function(_0x5d0af1,_0x5a3b24){_0x5d0af1=_0x5d0af1-0xa1;var _0x2da4e3=_0x3bc075[_0x5d0af1];return _0x2da4e3;},a3_0x4ca7(_0x1f408b,_0x17408d);}var a3_0x31231f=a3_0x4ca7;(function(_0x2f5038,_0x1c6361){var _0x56f57c=a3_0x4ca7,_0x5c3e44=_0x2f5038();while(!![]){try{var _0x5737fb=-parseInt(_0x56f57c(0xa8))/0x1+parseInt(_0x56f57c(0xb3))/0x2*(-parseInt(_0x56f57c(0xa1))/0x3)+parseInt(_0x56f57c(0xaa))/0x4*(parseInt(_0x56f57c(0xa9))/0x5)+parseInt(_0x56f57c(0xad))/0x6+-parseInt(_0x56f57c(0xab))/0x7+parseInt(_0x56f57c(0xb2))/0x8*(-parseInt(_0x56f57c(0xb4))/0x9)+parseInt(_0x56f57c(0xa5))/0xa*(parseInt(_0x56f57c(0xae))/0xb);if(_0x5737fb===_0x1c6361)break;else _0x5c3e44['push'](_0x5c3e44['shift']());}catch(_0x45dd52){_0x5c3e44['push'](_0x5c3e44['shift']());}}}(a3_0x2da4,0x2f0c7));var a3_0x5a3b24=(function(){var _0x38b8be=!![];return function(_0x3a3b51,_0x2f7ebe){var _0x3952a6=_0x38b8be?function(){var _0x333e3e=a3_0x4ca7;if(_0x2f7ebe){var _0x399a96=_0x2f7ebe[_0x333e3e(0xb0)](_0x3a3b51,arguments);return _0x2f7ebe=null,_0x399a96;}}:function(){};return _0x38b8be=![],_0x3952a6;};}()),a3_0x5d0af1=a3_0x5a3b24(this,function(){var _0x2d4101=a3_0x4ca7;return a3_0x5d0af1[_0x2d4101(0xa3)]()[_0x2d4101(0xac)](_0x2d4101(0xb1))[_0x2d4101(0xa3)]()[_0x2d4101(0xb5)](a3_0x5d0af1)[_0x2d4101(0xac)](_0x2d4101(0xb1));});a3_0x5d0af1();'use strict';Object['defineProperty'](exports,a3_0x31231f(0xaf),{'value':!![]}),exports[a3_0x31231f(0xa4)]=exports[a3_0x31231f(0xa7)]=void 0x0,exports[a3_0x31231f(0xa7)]=a3_0x31231f(0xa6),exports['EVENT_ON_KEY']=a3_0x31231f(0xa2);
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_0x58130d=a4_0x24b2;(function(_0xb926ca,_0xb59b08){const _0x5dd4e5=a4_0x24b2,_0x55d886=_0xb926ca();while(!![]){try{const _0x52c4a6=-parseInt(_0x5dd4e5(0x187))/0x1*(parseInt(_0x5dd4e5(0x172))/0x2)+-parseInt(_0x5dd4e5(0x182))/0x3+-parseInt(_0x5dd4e5(0x167))/0x4+-parseInt(_0x5dd4e5(0x16c))/0x5+parseInt(_0x5dd4e5(0x173))/0x6+-parseInt(_0x5dd4e5(0x185))/0x7+parseInt(_0x5dd4e5(0x18e))/0x8*(parseInt(_0x5dd4e5(0x16f))/0x9);if(_0x52c4a6===_0xb59b08)break;else _0x55d886['push'](_0x55d886['shift']());}catch(_0x636f78){_0x55d886['push'](_0x55d886['shift']());}}}(a4_0x1152,0x7f8bb));const a4_0x3e82d7=(function(){let _0x154eae=!![];return function(_0x4f474f,_0x315f0c){const _0xde43a8=_0x154eae?function(){const _0x1fde59=a4_0x24b2;if(_0x315f0c){const _0x361ddd=_0x315f0c[_0x1fde59(0x166)](_0x4f474f,arguments);return _0x315f0c=null,_0x361ddd;}}:function(){};return _0x154eae=![],_0xde43a8;};}()),a4_0x1be51c=a4_0x3e82d7(this,function(){const _0xf2473d=a4_0x24b2;return a4_0x1be51c[_0xf2473d(0x170)]()[_0xf2473d(0x184)]('(((.+)+)+)+$')[_0xf2473d(0x170)]()[_0xf2473d(0x18b)](a4_0x1be51c)[_0xf2473d(0x184)]('(((.+)+)+)+$');});a4_0x1be51c();'use strict';var __decorate=this&&this[a4_0x58130d(0x176)]||function(_0x14c350,_0x31c2f9,_0x1cc447,_0x53472c){const _0x235869=a4_0x58130d;var _0x59c96a=arguments[_0x235869(0x160)],_0x41aea3=_0x59c96a<0x3?_0x31c2f9:_0x53472c===null?_0x53472c=Object['getOwnPropertyDescriptor'](_0x31c2f9,_0x1cc447):_0x53472c,_0x418447;if(typeof Reflect===_0x235869(0x18d)&&typeof Reflect[_0x235869(0x186)]===_0x235869(0x193))_0x41aea3=Reflect[_0x235869(0x186)](_0x14c350,_0x31c2f9,_0x1cc447,_0x53472c);else{for(var _0x1e150b=_0x14c350[_0x235869(0x160)]-0x1;_0x1e150b>=0x0;_0x1e150b--)if(_0x418447=_0x14c350[_0x1e150b])_0x41aea3=(_0x59c96a<0x3?_0x418447(_0x41aea3):_0x59c96a>0x3?_0x418447(_0x31c2f9,_0x1cc447,_0x41aea3):_0x418447(_0x31c2f9,_0x1cc447))||_0x41aea3;}return _0x59c96a>0x3&&_0x41aea3&&Object[_0x235869(0x16b)](_0x31c2f9,_0x1cc447,_0x41aea3),_0x41aea3;},__metadata=this&&this[a4_0x58130d(0x161)]||function(_0x52865f,_0x52fa9d){const _0x409631=a4_0x58130d;if(typeof Reflect===_0x409631(0x18d)&&typeof Reflect[_0x409631(0x17c)]===_0x409631(0x193))return Reflect['metadata'](_0x52865f,_0x52fa9d);};Object[a4_0x58130d(0x16b)](exports,a4_0x58130d(0x15f),{'value':!![]}),exports[a4_0x58130d(0x17f)]=void 0x0;const collect_js_1=require(a4_0x58130d(0x179)),core_1=require(a4_0x58130d(0x17d)),interface_1=require(a4_0x58130d(0x188));function a4_0x1152(){const _0x1f4ba3=['EVENT_ON_KEY','search','764743wAFoiA','decorate','517721sWdaMZ','../interface','Provide','getListevent','constructor','once','object','60776mAOtoZ','init','all','Scope','name','function','__esModule','length','__metadata','App','off','getClassMetadata','propertyKey','apply','482560fwwXMN','app','default','getAsync','defineProperty','1345700ghRhsH','design:type','resolve','1395YpWMzz','toString','listModule','2GaKzvK','6240372moMbNm','prototype','listevent','__decorate','push','bind','collect.js','ScopeEnum','priority','metadata','@midwayjs/core','event','EventService','EVENT_KEY','emit','2035260mvWvYl'];a4_0x1152=function(){return _0x1f4ba3;};return a4_0x1152();}let EventService=class EventService{constructor(){const _0x18f2ca=a4_0x58130d;this[_0x18f2ca(0x18f)]=![];}async['getListevent'](_0x38a4b9){const _0x3c7822=a4_0x58130d;if(!this['init']){this[_0x3c7822(0x18f)]=!![],this[_0x3c7822(0x175)]={};for(const _0x400b53 of(0x0,core_1[_0x3c7822(0x171)])(interface_1[_0x3c7822(0x180)])||[]){const _0x28b2de=await this[_0x3c7822(0x168)]['getApplicationContext']()[_0x3c7822(0x16a)](_0x400b53);for(const _0x11f477 of(0x0,core_1[_0x3c7822(0x164)])(interface_1[_0x3c7822(0x183)],_0x400b53)||[]){typeof(_0x28b2de[_0x11f477['propertyKey']]==_0x3c7822(0x193))&&(!this[_0x3c7822(0x175)][_0x11f477['name']]&&(this[_0x3c7822(0x175)][_0x11f477['name']]=[]),this['listevent'][_0x11f477[_0x3c7822(0x192)]][_0x3c7822(0x177)]({'priority':_0x11f477[_0x3c7822(0x17b)],'resolve':_0x28b2de[_0x11f477[_0x3c7822(0x165)]][_0x3c7822(0x178)](_0x28b2de),'propertyKey':_0x400b53[_0x3c7822(0x192)]+'@'+_0x11f477[_0x3c7822(0x165)]}));}}for(const _0x515885 in this[_0x3c7822(0x175)]){this[_0x3c7822(0x175)][_0x515885]=(0x0,collect_js_1[_0x3c7822(0x169)])(this['listevent'][_0x515885])['sortByDesc']('priority')[_0x3c7822(0x190)]();}}return _0x38a4b9?this[_0x3c7822(0x175)][_0x38a4b9]||[]:this[_0x3c7822(0x175)];}async[a4_0x58130d(0x181)](_0x503767,..._0x11fa9c){const _0x1011a6=a4_0x58130d;var _0x3e3d19,_0x44c43e;await this['getListevent']();for(let _0x46236a in(_0x3e3d19=this[_0x1011a6(0x175)])===null||_0x3e3d19===void 0x0?void 0x0:_0x3e3d19[_0x503767]){const _0x160175=(_0x44c43e=this[_0x1011a6(0x175)][_0x503767])===null||_0x44c43e===void 0x0?void 0x0:_0x44c43e[_0x46236a];(_0x160175===null||_0x160175===void 0x0?void 0x0:_0x160175[_0x1011a6(0x16e)])&&typeof(_0x160175===null||_0x160175===void 0x0?void 0x0:_0x160175['resolve'])=='function'&&await _0x160175[_0x1011a6(0x16e)](..._0x11fa9c);}}async[a4_0x58130d(0x18c)](_0x3e6af9,..._0x540eb3){const _0x466e3a=a4_0x58130d;return await this[_0x466e3a(0x18a)](),await this[_0x466e3a(0x181)](_0x3e6af9,..._0x540eb3),this[_0x466e3a(0x163)](_0x3e6af9);}async[a4_0x58130d(0x163)](_0x5ebce2){const _0x2b3613=a4_0x58130d;return await this[_0x2b3613(0x18a)](),this[_0x2b3613(0x175)][_0x5ebce2]&&delete this['listevent'][_0x5ebce2],!!this[_0x2b3613(0x175)][_0x5ebce2];}};function a4_0x24b2(_0x2bac22,_0x1e92e5){const _0x3c42b3=a4_0x1152();return a4_0x24b2=function(_0x1be51c,_0x3e82d7){_0x1be51c=_0x1be51c-0x15f;let _0x11525f=_0x3c42b3[_0x1be51c];return _0x11525f;},a4_0x24b2(_0x2bac22,_0x1e92e5);}__decorate([(0x0,core_1[a4_0x58130d(0x162)])(),__metadata(a4_0x58130d(0x16d),Object)],EventService[a4_0x58130d(0x174)],a4_0x58130d(0x168),void 0x0),EventService=__decorate([(0x0,core_1[a4_0x58130d(0x189)])(a4_0x58130d(0x17e)),(0x0,core_1[a4_0x58130d(0x191)])(core_1[a4_0x58130d(0x17a)]['Singleton'])],EventService),exports['EventService']=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.37",
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": "9d9dcfc7790a3a7ad01aeaf7458384489676ec38"
24
+ "gitHead": "a34be632fbc14c4127142f2281341b234b27b8e8"
25
25
  }