@anncic-api/event 1.1.5 → 1.1.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- 'use strict';var a0_0x4c1f93=a0_0x5d49;(function(_0x3f2976,_0x5b5e04){var _0x850976=a0_0x5d49,_0x2d0cd0=_0x3f2976();while(!![]){try{var _0x9bae0a=-parseInt(_0x850976(0x1e6))/0x1+parseInt(_0x850976(0x1eb))/0x2*(parseInt(_0x850976(0x1da))/0x3)+parseInt(_0x850976(0x1ea))/0x4*(parseInt(_0x850976(0x1e9))/0x5)+-parseInt(_0x850976(0x1f0))/0x6+-parseInt(_0x850976(0x1e3))/0x7+-parseInt(_0x850976(0x1d7))/0x8*(parseInt(_0x850976(0x1f1))/0x9)+-parseInt(_0x850976(0x1e4))/0xa*(-parseInt(_0x850976(0x1ed))/0xb);if(_0x9bae0a===_0x5b5e04)break;else _0x2d0cd0['push'](_0x2d0cd0['shift']());}catch(_0xdb1450){_0x2d0cd0['push'](_0x2d0cd0['shift']());}}}(a0_0x11ea,0x2524f));var __decorate=this&&this[a0_0x4c1f93(0x1d5)]||function(_0x4867bf,_0x2fbba1,_0x5d3935,_0x11c4a3){var _0x3c7472=a0_0x4c1f93,_0x2f41c2=arguments[_0x3c7472(0x1d6)],_0xb787eb=_0x2f41c2<0x3?_0x2fbba1:_0x11c4a3===null?_0x11c4a3=Object[_0x3c7472(0x1ee)](_0x2fbba1,_0x5d3935):_0x11c4a3,_0x3ee65f;if(typeof Reflect===_0x3c7472(0x1d9)&&typeof Reflect[_0x3c7472(0x1dc)]===_0x3c7472(0x1e5))_0xb787eb=Reflect[_0x3c7472(0x1dc)](_0x4867bf,_0x2fbba1,_0x5d3935,_0x11c4a3);else{for(var _0x1d94eb=_0x4867bf['length']-0x1;_0x1d94eb>=0x0;_0x1d94eb--)if(_0x3ee65f=_0x4867bf[_0x1d94eb])_0xb787eb=(_0x2f41c2<0x3?_0x3ee65f(_0xb787eb):_0x2f41c2>0x3?_0x3ee65f(_0x2fbba1,_0x5d3935,_0xb787eb):_0x3ee65f(_0x2fbba1,_0x5d3935))||_0xb787eb;}return _0x2f41c2>0x3&&_0xb787eb&&Object[_0x3c7472(0x1ec)](_0x2fbba1,_0x5d3935,_0xb787eb),_0xb787eb;},__metadata=this&&this[a0_0x4c1f93(0x1e1)]||function(_0x494e31,_0x1180f4){var _0x4ba326=a0_0x4c1f93;if(typeof Reflect===_0x4ba326(0x1d9)&&typeof Reflect[_0x4ba326(0x1d8)]===_0x4ba326(0x1e5))return Reflect[_0x4ba326(0x1d8)](_0x494e31,_0x1180f4);};function a0_0x11ea(){var _0x56b133=['function','273977zROMRd','__esModule','CustomConfiguration','287645OKygjA','12DwhuuI','3656XdLNUD','defineProperty','517QisgPL','getOwnPropertyDescriptor','onReady','612114TrAmoU','28881jNzEUt','prototype','design:type','anncic-api:event','@midwayjs/decorator','__decorate','length','456MTfmjw','metadata','object','132juFXkq','@midwayjs/core','decorate','Configuration','MidwayConfigService','config','Inject','__metadata','MidwayDecoratorService','905282PzubdN','124970DccUYb'];a0_0x11ea=function(){return _0x56b133;};return a0_0x11ea();}function a0_0x5d49(_0x1e9df7,_0x3d6b73){var _0x11eac9=a0_0x11ea();return a0_0x5d49=function(_0x5d494,_0x5c15b0){_0x5d494=_0x5d494-0x1d2;var _0x1ce31b=_0x11eac9[_0x5d494];return _0x1ce31b;},a0_0x5d49(_0x1e9df7,_0x3d6b73);}Object[a0_0x4c1f93(0x1ec)](exports,a0_0x4c1f93(0x1e7),{'value':!![]}),exports[a0_0x4c1f93(0x1e8)]=void 0x0;const decorator_1=require(a0_0x4c1f93(0x1d4)),core_1=require(a0_0x4c1f93(0x1db));let CustomConfiguration=class CustomConfiguration{async[a0_0x4c1f93(0x1ef)](){}};__decorate([(0x0,decorator_1[a0_0x4c1f93(0x1e0)])(),__metadata(a0_0x4c1f93(0x1d2),core_1[a0_0x4c1f93(0x1de)])],CustomConfiguration[a0_0x4c1f93(0x1f2)],a0_0x4c1f93(0x1df),void 0x0),__decorate([(0x0,decorator_1['Inject'])(),__metadata('design:type',core_1[a0_0x4c1f93(0x1e2)])],CustomConfiguration[a0_0x4c1f93(0x1f2)],'decorator',void 0x0),CustomConfiguration=__decorate([(0x0,decorator_1[a0_0x4c1f93(0x1dd)])({'conflictCheck':![],'namespace':a0_0x4c1f93(0x1d3)})],CustomConfiguration),exports[a0_0x4c1f93(0x1e8)]=CustomConfiguration;
1
+ 'use strict';var a0_0x2e0de1=a0_0x1e83;(function(_0x2a6f67,_0x2a2894){var _0x4a8127=a0_0x1e83,_0x55e096=_0x2a6f67();while(!![]){try{var _0x19c2ef=parseInt(_0x4a8127(0x1b9))/0x1+parseInt(_0x4a8127(0x1c7))/0x2*(-parseInt(_0x4a8127(0x1be))/0x3)+-parseInt(_0x4a8127(0x1d2))/0x4+parseInt(_0x4a8127(0x1cc))/0x5+-parseInt(_0x4a8127(0x1d1))/0x6*(-parseInt(_0x4a8127(0x1bf))/0x7)+parseInt(_0x4a8127(0x1bd))/0x8*(-parseInt(_0x4a8127(0x1b8))/0x9)+-parseInt(_0x4a8127(0x1ba))/0xa*(parseInt(_0x4a8127(0x1c2))/0xb);if(_0x19c2ef===_0x2a2894)break;else _0x55e096['push'](_0x55e096['shift']());}catch(_0x5359fa){_0x55e096['push'](_0x55e096['shift']());}}}(a0_0xc354,0x3cee7));function a0_0x1e83(_0x43e394,_0x1ee46a){var _0xc35436=a0_0xc354();return a0_0x1e83=function(_0x1e8327,_0x1982ea){_0x1e8327=_0x1e8327-0x1b8;var _0x1eeb01=_0xc35436[_0x1e8327];return _0x1eeb01;},a0_0x1e83(_0x43e394,_0x1ee46a);}var __decorate=this&&this[a0_0x2e0de1(0x1d3)]||function(_0xa9be93,_0x35fa87,_0x4c6de1,_0x48d762){var _0x488803=a0_0x2e0de1,_0x26ae49=arguments[_0x488803(0x1c0)],_0x246fca=_0x26ae49<0x3?_0x35fa87:_0x48d762===null?_0x48d762=Object[_0x488803(0x1bb)](_0x35fa87,_0x4c6de1):_0x48d762,_0x20b9b6;if(typeof Reflect==='object'&&typeof Reflect[_0x488803(0x1d0)]==='function')_0x246fca=Reflect['decorate'](_0xa9be93,_0x35fa87,_0x4c6de1,_0x48d762);else{for(var _0x23055f=_0xa9be93['length']-0x1;_0x23055f>=0x0;_0x23055f--)if(_0x20b9b6=_0xa9be93[_0x23055f])_0x246fca=(_0x26ae49<0x3?_0x20b9b6(_0x246fca):_0x26ae49>0x3?_0x20b9b6(_0x35fa87,_0x4c6de1,_0x246fca):_0x20b9b6(_0x35fa87,_0x4c6de1))||_0x246fca;}return _0x26ae49>0x3&&_0x246fca&&Object[_0x488803(0x1cf)](_0x35fa87,_0x4c6de1,_0x246fca),_0x246fca;},__metadata=this&&this[a0_0x2e0de1(0x1d4)]||function(_0x56f271,_0x4c70cb){var _0x50a44a=a0_0x2e0de1;if(typeof Reflect==='object'&&typeof Reflect[_0x50a44a(0x1cb)]==='function')return Reflect[_0x50a44a(0x1cb)](_0x56f271,_0x4c70cb);};function a0_0xc354(){var _0x3fe38a=['362082KhtFQn','10OGKsBj','getOwnPropertyDescriptor','decorator','144880IImBRb','3dRHijw','5572DWrQwK','length','onReady','5934214CQlljd','anncic-api:event','MidwayConfigService','Inject','@midwayjs/decorator','51046StmcQx','prototype','MidwayDecoratorService','@midwayjs/core','metadata','2221980gYBAEP','design:type','CustomConfiguration','defineProperty','decorate','1236EMseOq','551088uQoroE','__decorate','__metadata','Configuration','9UrWzir'];a0_0xc354=function(){return _0x3fe38a;};return a0_0xc354();}Object[a0_0x2e0de1(0x1cf)](exports,'__esModule',{'value':!![]}),exports[a0_0x2e0de1(0x1ce)]=void 0x0;const decorator_1=require(a0_0x2e0de1(0x1c6)),core_1=require(a0_0x2e0de1(0x1ca));let CustomConfiguration=class CustomConfiguration{async[a0_0x2e0de1(0x1c1)](){}};__decorate([(0x0,decorator_1[a0_0x2e0de1(0x1c5)])(),__metadata(a0_0x2e0de1(0x1cd),core_1[a0_0x2e0de1(0x1c4)])],CustomConfiguration[a0_0x2e0de1(0x1c8)],'config',void 0x0),__decorate([(0x0,decorator_1[a0_0x2e0de1(0x1c5)])(),__metadata(a0_0x2e0de1(0x1cd),core_1[a0_0x2e0de1(0x1c9)])],CustomConfiguration[a0_0x2e0de1(0x1c8)],a0_0x2e0de1(0x1bc),void 0x0),CustomConfiguration=__decorate([(0x0,decorator_1[a0_0x2e0de1(0x1d5)])({'conflictCheck':![],'namespace':a0_0x2e0de1(0x1c3)})],CustomConfiguration),exports[a0_0x2e0de1(0x1ce)]=CustomConfiguration;
@@ -1 +1 @@
1
- 'use strict';const a1_0x21b9e3=a1_0x1724;function a1_0x5ab9(){const _0xb674d0=['8ZmdALd','@midwayjs/decorator','saveModule','Provide','133YtrBsw','718936enOGNA','Event','EVENT_ON_KEY','10097376ipjWBF','231186vcKKeo','34102170PwazqY','136515TlkkDT','__esModule','1822338DtFqay','830262UZnrrk','Request','5jtDkTp','attachClassMetadata','Scope'];a1_0x5ab9=function(){return _0xb674d0;};return a1_0x5ab9();}(function(_0x32f36c,_0x4a94cf){const _0x41f49b=a1_0x1724,_0x4d1556=_0x32f36c();while(!![]){try{const _0x1d8489=-parseInt(_0x41f49b(0x98))/0x1+-parseInt(_0x41f49b(0x9d))/0x2*(parseInt(_0x41f49b(0x95))/0x3)+-parseInt(_0x41f49b(0xa2))/0x4*(-parseInt(_0x41f49b(0x9a))/0x5)+-parseInt(_0x41f49b(0x93))/0x6*(parseInt(_0x41f49b(0xa1))/0x7)+-parseInt(_0x41f49b(0x92))/0x8+parseInt(_0x41f49b(0x97))/0x9+parseInt(_0x41f49b(0x94))/0xa;if(_0x1d8489===_0x4a94cf)break;else _0x4d1556['push'](_0x4d1556['shift']());}catch(_0x38695d){_0x4d1556['push'](_0x4d1556['shift']());}}}(a1_0x5ab9,0xbfde2));Object['defineProperty'](exports,a1_0x21b9e3(0x96),{'value':!![]}),exports[a1_0x21b9e3(0x90)]=void 0x0;function a1_0x1724(_0x4c9bb7,_0x29c557){const _0x5ab994=a1_0x5ab9();return a1_0x1724=function(_0x1724c5,_0x3d863f){_0x1724c5=_0x1724c5-0x90;let _0x37ad3c=_0x5ab994[_0x1724c5];return _0x37ad3c;},a1_0x1724(_0x4c9bb7,_0x29c557);}const decorator_1=require(a1_0x21b9e3(0x9e)),interface_1=require('../interface');function Event(){return _0x1244c2=>{const _0x3073fb=a1_0x1724;(0x0,decorator_1[_0x3073fb(0xa0)])()(_0x1244c2),(0x0,decorator_1[_0x3073fb(0x9f)])(interface_1['EVENT_KEY'],_0x1244c2),(0x0,decorator_1[_0x3073fb(0x9c)])(decorator_1['ScopeEnum'][_0x3073fb(0x99)],{'allowDowngrade':!![]})(_0x1244c2);};}exports[a1_0x21b9e3(0x90)]=Event,Event['On']=function(_0x5de284,_0x489bf8=0x0){return(_0x17d2d0,_0x44e5b7,_0x1f0f29)=>{const _0x17c923=a1_0x1724;return(0x0,decorator_1[_0x17c923(0x9b)])(interface_1[_0x17c923(0x91)],{'name':_0x5de284,'priority':_0x489bf8,'propertyKey':_0x44e5b7,'descriptor':_0x1f0f29},_0x17d2d0),_0x1f0f29;};};
1
+ 'use strict';const a1_0x4ed7d0=a1_0x339e;(function(_0x5a6013,_0x4b97c1){const _0x3e01e5=a1_0x339e,_0x4a944c=_0x5a6013();while(!![]){try{const _0x56e369=parseInt(_0x3e01e5(0x19b))/0x1*(-parseInt(_0x3e01e5(0x19d))/0x2)+parseInt(_0x3e01e5(0x192))/0x3+-parseInt(_0x3e01e5(0x193))/0x4+parseInt(_0x3e01e5(0x195))/0x5+-parseInt(_0x3e01e5(0x199))/0x6+parseInt(_0x3e01e5(0x1a1))/0x7+parseInt(_0x3e01e5(0x191))/0x8;if(_0x56e369===_0x4b97c1)break;else _0x4a944c['push'](_0x4a944c['shift']());}catch(_0x1b52ba){_0x4a944c['push'](_0x4a944c['shift']());}}}(a1_0x431b,0xa07f0));function a1_0x431b(){const _0x37f29b=['defineProperty','19857824yiodgk','747621TGbcUt','3648740FOjnBz','__esModule','2259905ZqRRfQ','Request','@midwayjs/decorator','Provide','7345542UCSyMd','Event','7bEprLt','Scope','312566MYIMOB','saveModule','ScopeEnum','EVENT_KEY','4930793COfJFR'];a1_0x431b=function(){return _0x37f29b;};return a1_0x431b();}Object[a1_0x4ed7d0(0x1a2)](exports,a1_0x4ed7d0(0x194),{'value':!![]}),exports['Event']=void 0x0;const decorator_1=require(a1_0x4ed7d0(0x197)),interface_1=require('../interface');function a1_0x339e(_0xa87504,_0x4ca743){const _0x431bad=a1_0x431b();return a1_0x339e=function(_0x339e72,_0x5e4efc){_0x339e72=_0x339e72-0x191;let _0x4b05f3=_0x431bad[_0x339e72];return _0x4b05f3;},a1_0x339e(_0xa87504,_0x4ca743);}function Event(){return _0x5abac5=>{const _0x48ccd7=a1_0x339e;(0x0,decorator_1[_0x48ccd7(0x198)])()(_0x5abac5),(0x0,decorator_1[_0x48ccd7(0x19e)])(interface_1[_0x48ccd7(0x1a0)],_0x5abac5),(0x0,decorator_1[_0x48ccd7(0x19c)])(decorator_1[_0x48ccd7(0x19f)][_0x48ccd7(0x196)],{'allowDowngrade':!![]})(_0x5abac5);};}exports[a1_0x4ed7d0(0x19a)]=Event,Event['On']=function(_0x396347,_0x28edc7=0x0){return(_0x1493c6,_0x5dd6a4,_0x2435af)=>{return(0x0,decorator_1['attachClassMetadata'])(interface_1['EVENT_ON_KEY'],{'name':_0x396347,'priority':_0x28edc7,'propertyKey':_0x5dd6a4,'descriptor':_0x2435af},_0x1493c6),_0x2435af;};};
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';var a2_0x27c411=a2_0x5a15;(function(_0x35fa96,_0x13cbd9){var _0x49277f=a2_0x5a15,_0x4a7a76=_0x35fa96();while(!![]){try{var _0x529b28=-parseInt(_0x49277f(0xb1))/0x1+-parseInt(_0x49277f(0xb2))/0x2+-parseInt(_0x49277f(0xac))/0x3*(-parseInt(_0x49277f(0xb8))/0x4)+-parseInt(_0x49277f(0xae))/0x5*(parseInt(_0x49277f(0xad))/0x6)+parseInt(_0x49277f(0xb4))/0x7*(parseInt(_0x49277f(0xaf))/0x8)+parseInt(_0x49277f(0xb5))/0x9+parseInt(_0x49277f(0xb0))/0xa*(parseInt(_0x49277f(0xb7))/0xb);if(_0x529b28===_0x13cbd9)break;else _0x4a7a76['push'](_0x4a7a76['shift']());}catch(_0x27c4d2){_0x4a7a76['push'](_0x4a7a76['shift']());}}}(a2_0x1cd8,0x8f2f8));Object[a2_0x27c411(0xb6)](exports,a2_0x27c411(0xab),{'value':!![]}),exports[a2_0x27c411(0xa8)]=exports[a2_0x27c411(0xa9)]=exports[a2_0x27c411(0xb3)]=void 0x0;var Event_1=require(a2_0x27c411(0xa6));Object[a2_0x27c411(0xb6)](exports,a2_0x27c411(0xb3),{'enumerable':!![],'get':function(){var _0x111cc0=a2_0x27c411;return Event_1[_0x111cc0(0xb3)];}});var EventService_1=require(a2_0x27c411(0xaa));Object[a2_0x27c411(0xb6)](exports,a2_0x27c411(0xa9),{'enumerable':!![],'get':function(){return EventService_1['EventService'];}});function a2_0x5a15(_0x849be5,_0x528b79){var _0x1cd83b=a2_0x1cd8();return a2_0x5a15=function(_0x5a154a,_0x54652a){_0x5a154a=_0x5a154a-0xa6;var _0x3a70bd=_0x1cd83b[_0x5a154a];return _0x3a70bd;},a2_0x5a15(_0x849be5,_0x528b79);}function a2_0x1cd8(){var _0x4f776b=['590145JeaGYX','1023864DbHLTT','Event','1267serORQ','10200042yVWiFG','defineProperty','11mdjlBN','9288TOJtvZ','CustomConfiguration','./decorator/Event','./configuration','Configuration','EventService','./service/EventService','__esModule','879qIqUcg','822anreeH','14015lInIuD','40XEMIxA','2579870OBJMoQ'];a2_0x1cd8=function(){return _0x4f776b;};return a2_0x1cd8();}var configuration_1=require(a2_0x27c411(0xa7));Object[a2_0x27c411(0xb6)](exports,a2_0x27c411(0xa8),{'enumerable':!![],'get':function(){var _0x4944c9=a2_0x27c411;return configuration_1[_0x4944c9(0xb9)];}});
1
+ 'use strict';var a2_0x1ab159=a2_0x4587;function a2_0x78ee(){var _0x530a48=['297700CvqVxm','666303pcuHAO','343315aqoOkG','233404DUxssU','EventService','./configuration','./decorator/Event','Event','889080gSxrbT','9907960FGkkOI','./service/EventService','CustomConfiguration','20FemtZy','2653692yZnUaa','__esModule','defineProperty','Configuration'];a2_0x78ee=function(){return _0x530a48;};return a2_0x78ee();}(function(_0x56f528,_0x1c8107){var _0x5a1715=a2_0x4587,_0x126f97=_0x56f528();while(!![]){try{var _0x21b73d=-parseInt(_0x5a1715(0x16a))/0x1+-parseInt(_0x5a1715(0x161))/0x2+parseInt(_0x5a1715(0x16b))/0x3+-parseInt(_0x5a1715(0x16d))/0x4*(-parseInt(_0x5a1715(0x165))/0x5)+-parseInt(_0x5a1715(0x166))/0x6+-parseInt(_0x5a1715(0x16c))/0x7+parseInt(_0x5a1715(0x162))/0x8;if(_0x21b73d===_0x1c8107)break;else _0x126f97['push'](_0x126f97['shift']());}catch(_0x4878cb){_0x126f97['push'](_0x126f97['shift']());}}}(a2_0x78ee,0x70691));function a2_0x4587(_0x39d2b9,_0x601060){var _0x78ee3f=a2_0x78ee();return a2_0x4587=function(_0x458757,_0x3866aa){_0x458757=_0x458757-0x15d;var _0x27acbc=_0x78ee3f[_0x458757];return _0x27acbc;},a2_0x4587(_0x39d2b9,_0x601060);}Object['defineProperty'](exports,a2_0x1ab159(0x167),{'value':!![]}),exports[a2_0x1ab159(0x169)]=exports[a2_0x1ab159(0x15d)]=exports[a2_0x1ab159(0x160)]=void 0x0;var Event_1=require(a2_0x1ab159(0x15f));Object[a2_0x1ab159(0x168)](exports,a2_0x1ab159(0x160),{'enumerable':!![],'get':function(){return Event_1['Event'];}});var EventService_1=require(a2_0x1ab159(0x163));Object['defineProperty'](exports,'EventService',{'enumerable':!![],'get':function(){var _0x247fe0=a2_0x1ab159;return EventService_1[_0x247fe0(0x15d)];}});var configuration_1=require(a2_0x1ab159(0x15e));Object[a2_0x1ab159(0x168)](exports,a2_0x1ab159(0x169),{'enumerable':!![],'get':function(){var _0x44fc51=a2_0x1ab159;return configuration_1[_0x44fc51(0x164)];}});
package/dist/interface.js CHANGED
@@ -1 +1 @@
1
- 'use strict';function a3_0x118f(_0x27ec99,_0x1aaf90){var _0x5eab1c=a3_0x5eab();return a3_0x118f=function(_0x118f55,_0x11ecb7){_0x118f55=_0x118f55-0xef;var _0x5a5ce=_0x5eab1c[_0x118f55];return _0x5a5ce;},a3_0x118f(_0x27ec99,_0x1aaf90);}function a3_0x5eab(){var _0x1cf055=['134980RYzVSb','158056isVFpb','1270338ONKzsi','5YvTLol','913ygJCjN','35uUvFIO','__esModule','50530dAbYki','defineProperty','anncic-api:event','446700afEQaD','EVENT_KEY','1004frvXfV','320580tOwpqy','anncic-api:event:on','EVENT_ON_KEY','2715UKJHXc'];a3_0x5eab=function(){return _0x1cf055;};return a3_0x5eab();}var a3_0x4380b0=a3_0x118f;(function(_0x4948d1,_0x1bc5ca){var _0xf3ab1b=a3_0x118f,_0x3f27f8=_0x4948d1();while(!![]){try{var _0x56e3a1=parseInt(_0xf3ab1b(0xf8))/0x1+-parseInt(_0xf3ab1b(0xf3))/0x2*(parseInt(_0xf3ab1b(0xf7))/0x3)+parseInt(_0xf3ab1b(0xf1))/0x4*(parseInt(_0xf3ab1b(0xfb))/0x5)+parseInt(_0xf3ab1b(0xfa))/0x6+parseInt(_0xf3ab1b(0xfd))/0x7*(-parseInt(_0xf3ab1b(0xf9))/0x8)+-parseInt(_0xf3ab1b(0xf4))/0x9+-parseInt(_0xf3ab1b(0xff))/0xa*(-parseInt(_0xf3ab1b(0xfc))/0xb);if(_0x56e3a1===_0x1bc5ca)break;else _0x3f27f8['push'](_0x3f27f8['shift']());}catch(_0x10e189){_0x3f27f8['push'](_0x3f27f8['shift']());}}}(a3_0x5eab,0x46926));Object[a3_0x4380b0(0xef)](exports,a3_0x4380b0(0xfe),{'value':!![]}),exports[a3_0x4380b0(0xf6)]=exports[a3_0x4380b0(0xf2)]=void 0x0,exports['EVENT_KEY']=a3_0x4380b0(0xf0),exports[a3_0x4380b0(0xf6)]=a3_0x4380b0(0xf5);
1
+ 'use strict';var a3_0x4367e3=a3_0x9637;(function(_0x1d0499,_0x1cbb6c){var _0x1282cf=a3_0x9637,_0x3c8734=_0x1d0499();while(!![]){try{var _0x40ec91=parseInt(_0x1282cf(0xa2))/0x1+-parseInt(_0x1282cf(0xab))/0x2+-parseInt(_0x1282cf(0xa9))/0x3*(-parseInt(_0x1282cf(0xac))/0x4)+parseInt(_0x1282cf(0xa8))/0x5*(-parseInt(_0x1282cf(0xad))/0x6)+-parseInt(_0x1282cf(0xa6))/0x7*(-parseInt(_0x1282cf(0xa5))/0x8)+-parseInt(_0x1282cf(0xa1))/0x9+parseInt(_0x1282cf(0xaa))/0xa;if(_0x40ec91===_0x1cbb6c)break;else _0x3c8734['push'](_0x3c8734['shift']());}catch(_0x5c69be){_0x3c8734['push'](_0x3c8734['shift']());}}}(a3_0x1428,0xd5b81));function a3_0x1428(){var _0xd50108=['620272hzHnLv','21378pIsqTL','EVENT_ON_KEY','14841855MGYIit','1342656HWGdRr','anncic-api:event','anncic-api:event:on','11864cwBKfL','217LCbTGc','defineProperty','535QEwpDr','9jmNDwK','27456750BYhMJz','3387558yPVDog'];a3_0x1428=function(){return _0xd50108;};return a3_0x1428();}function a3_0x9637(_0x97ce9,_0x2808f3){var _0x1428e7=a3_0x1428();return a3_0x9637=function(_0x963712,_0x25d4bb){_0x963712=_0x963712-0xa0;var _0x1c8509=_0x1428e7[_0x963712];return _0x1c8509;},a3_0x9637(_0x97ce9,_0x2808f3);}Object[a3_0x4367e3(0xa7)](exports,'__esModule',{'value':!![]}),exports['EVENT_ON_KEY']=exports['EVENT_KEY']=void 0x0,exports['EVENT_KEY']=a3_0x4367e3(0xa3),exports[a3_0x4367e3(0xa0)]=a3_0x4367e3(0xa4);
@@ -1 +1 @@
1
- 'use strict';function a4_0x4290(_0x5dd210,_0x30ffbb){const _0x543b5d=a4_0x543b();return a4_0x4290=function(_0x42904f,_0x4fa128){_0x42904f=_0x42904f-0x1b0;let _0x4f84ae=_0x543b5d[_0x42904f];return _0x4f84ae;},a4_0x4290(_0x5dd210,_0x30ffbb);}const a4_0x59925b=a4_0x4290;(function(_0x465501,_0x65af6b){const _0x56231d=a4_0x4290,_0x5b1d5a=_0x465501();while(!![]){try{const _0x2daf13=parseInt(_0x56231d(0x1b3))/0x1+-parseInt(_0x56231d(0x1c1))/0x2+parseInt(_0x56231d(0x1cc))/0x3*(-parseInt(_0x56231d(0x1be))/0x4)+-parseInt(_0x56231d(0x1d7))/0x5+parseInt(_0x56231d(0x1b8))/0x6*(parseInt(_0x56231d(0x1b6))/0x7)+parseInt(_0x56231d(0x1da))/0x8+-parseInt(_0x56231d(0x1d6))/0x9*(-parseInt(_0x56231d(0x1c2))/0xa);if(_0x2daf13===_0x65af6b)break;else _0x5b1d5a['push'](_0x5b1d5a['shift']());}catch(_0x534880){_0x5b1d5a['push'](_0x5b1d5a['shift']());}}}(a4_0x543b,0x54f65));function a4_0x543b(){const _0xcfa096=['getListevent','189653jhcjMX','event','resolve','7iHzjqj','prototype','1710372haZQeI','__metadata','defineProperty','off','getClassMetadata','all','8QwQBRN','metadata','getOwnPropertyDescriptor','539682idmsVx','230zgPdKn','priority','App','name','emit','__esModule','object','EVENT_KEY','ScopeEnum','function','399702rHQtfQ','listevent','app','init','@midwayjs/decorator','EVENT_ON_KEY','listModule','Singleton','decorate','bind','60354HmnZEG','581195itCSdB','Provide','Scope','2972800hLBBnn','design:type','push','propertyKey','EventService'];a4_0x543b=function(){return _0xcfa096;};return a4_0x543b();}var __decorate=this&&this['__decorate']||function(_0x4b40a5,_0x5771b4,_0x315a1b,_0x2448f0){const _0x58a64f=a4_0x4290;var _0x4e7010=arguments['length'],_0x19424e=_0x4e7010<0x3?_0x5771b4:_0x2448f0===null?_0x2448f0=Object[_0x58a64f(0x1c0)](_0x5771b4,_0x315a1b):_0x2448f0,_0x2bf632;if(typeof Reflect===_0x58a64f(0x1c8)&&typeof Reflect[_0x58a64f(0x1d4)]===_0x58a64f(0x1cb))_0x19424e=Reflect[_0x58a64f(0x1d4)](_0x4b40a5,_0x5771b4,_0x315a1b,_0x2448f0);else{for(var _0x3e993e=_0x4b40a5['length']-0x1;_0x3e993e>=0x0;_0x3e993e--)if(_0x2bf632=_0x4b40a5[_0x3e993e])_0x19424e=(_0x4e7010<0x3?_0x2bf632(_0x19424e):_0x4e7010>0x3?_0x2bf632(_0x5771b4,_0x315a1b,_0x19424e):_0x2bf632(_0x5771b4,_0x315a1b))||_0x19424e;}return _0x4e7010>0x3&&_0x19424e&&Object[_0x58a64f(0x1ba)](_0x5771b4,_0x315a1b,_0x19424e),_0x19424e;},__metadata=this&&this[a4_0x59925b(0x1b9)]||function(_0x1a034c,_0x49f19e){const _0x362c2f=a4_0x59925b;if(typeof Reflect===_0x362c2f(0x1c8)&&typeof Reflect[_0x362c2f(0x1bf)]===_0x362c2f(0x1cb))return Reflect[_0x362c2f(0x1bf)](_0x1a034c,_0x49f19e);};Object[a4_0x59925b(0x1ba)](exports,a4_0x59925b(0x1c7),{'value':!![]}),exports['EventService']=void 0x0;const collect_js_1=require('collect.js'),decorator_1=require(a4_0x59925b(0x1d0)),interface_1=require('../interface');let EventService=class EventService{constructor(){const _0x21b1d4=a4_0x59925b;this[_0x21b1d4(0x1cf)]=![];}async[a4_0x59925b(0x1b2)](_0x27f64a){const _0xad233e=a4_0x59925b;if(!this[_0xad233e(0x1cf)]){this['init']=!![],this[_0xad233e(0x1cd)]={};for(const _0x396578 of(0x0,decorator_1[_0xad233e(0x1d2)])(interface_1[_0xad233e(0x1c9)])||[]){const _0x31771b=await this[_0xad233e(0x1ce)]['getApplicationContext']()['getAsync'](_0x396578);for(const _0x51cf65 of(0x0,decorator_1[_0xad233e(0x1bc)])(interface_1[_0xad233e(0x1d1)],_0x396578)||[]){typeof(_0x31771b[_0x51cf65[_0xad233e(0x1b0)]]==_0xad233e(0x1cb))&&(!this[_0xad233e(0x1cd)][_0x51cf65['name']]&&(this['listevent'][_0x51cf65[_0xad233e(0x1c5)]]=[]),this[_0xad233e(0x1cd)][_0x51cf65['name']][_0xad233e(0x1dc)]({'priority':_0x51cf65[_0xad233e(0x1c3)],'resolve':_0x31771b[_0x51cf65['propertyKey']][_0xad233e(0x1d5)](_0x31771b),'propertyKey':_0x396578[_0xad233e(0x1c5)]+'@'+_0x51cf65[_0xad233e(0x1b0)]}));}}for(const _0x5f3c8b in this[_0xad233e(0x1cd)]){this[_0xad233e(0x1cd)][_0x5f3c8b]=(0x0,collect_js_1['default'])(this['listevent'][_0x5f3c8b])['sortByDesc'](_0xad233e(0x1c3))[_0xad233e(0x1bd)]();}}return _0x27f64a?this[_0xad233e(0x1cd)][_0x27f64a]||[]:this['listevent'];}async[a4_0x59925b(0x1c6)](_0xec4c9f,..._0x32bf76){const _0x22f46b=a4_0x59925b;var _0x65dfe4,_0x221ea7;await this[_0x22f46b(0x1b2)]();for(let _0x579c16 in(_0x65dfe4=this['listevent'])===null||_0x65dfe4===void 0x0?void 0x0:_0x65dfe4[_0xec4c9f]){const _0x2c1184=(_0x221ea7=this[_0x22f46b(0x1cd)][_0xec4c9f])===null||_0x221ea7===void 0x0?void 0x0:_0x221ea7[_0x579c16];(_0x2c1184===null||_0x2c1184===void 0x0?void 0x0:_0x2c1184[_0x22f46b(0x1b5)])&&typeof(_0x2c1184===null||_0x2c1184===void 0x0?void 0x0:_0x2c1184[_0x22f46b(0x1b5)])==_0x22f46b(0x1cb)&&await _0x2c1184['resolve'](..._0x32bf76);}}async['once'](_0x47edae,..._0x200b29){const _0x1aebd4=a4_0x59925b;return await this['getListevent'](),await this[_0x1aebd4(0x1c6)](_0x47edae,..._0x200b29),this[_0x1aebd4(0x1bb)](_0x47edae);}async[a4_0x59925b(0x1bb)](_0x14ec95){const _0x22e03c=a4_0x59925b;return await this[_0x22e03c(0x1b2)](),this[_0x22e03c(0x1cd)][_0x14ec95]&&delete this[_0x22e03c(0x1cd)][_0x14ec95],!!this['listevent'][_0x14ec95];}};__decorate([(0x0,decorator_1[a4_0x59925b(0x1c4)])(),__metadata(a4_0x59925b(0x1db),Object)],EventService[a4_0x59925b(0x1b7)],a4_0x59925b(0x1ce),void 0x0),EventService=__decorate([(0x0,decorator_1[a4_0x59925b(0x1d8)])(a4_0x59925b(0x1b4)),(0x0,decorator_1[a4_0x59925b(0x1d9)])(decorator_1[a4_0x59925b(0x1ca)][a4_0x59925b(0x1d3)])],EventService),exports[a4_0x59925b(0x1b1)]=EventService;
1
+ 'use strict';const a4_0x342975=a4_0xc98c;function a4_0xc98c(_0x30e401,_0x48451f){const _0x2818d1=a4_0x2818();return a4_0xc98c=function(_0xc98cfa,_0x2bdb5e){_0xc98cfa=_0xc98cfa-0x148;let _0x2b73a1=_0x2818d1[_0xc98cfa];return _0x2b73a1;},a4_0xc98c(_0x30e401,_0x48451f);}function a4_0x2818(){const _0xf0cd3a=['emit','app','1066886OTSQWK','name','Singleton','defineProperty','default','92YGpiHt','EVENT_ON_KEY','__esModule','object','3500455BUIPAC','10104IUszXM','30710736Lpuxra','getListevent','listevent','metadata','collect.js','bind','all','8176548pMlmXj','propertyKey','2766420cWeGuY','../interface','Provide','179565gldsNF','length','2268eFkiiA','function','getClassMetadata','priority','@midwayjs/decorator','EventService','decorate','event','getAsync','init','design:type','resolve','push','prototype','Scope','off'];a4_0x2818=function(){return _0xf0cd3a;};return a4_0x2818();}(function(_0x2190cc,_0x19db41){const _0x476744=a4_0xc98c,_0x4a207f=_0x2190cc();while(!![]){try{const _0x548980=-parseInt(_0x476744(0x15b))/0x1+parseInt(_0x476744(0x16f))/0x2+parseInt(_0x476744(0x172))/0x3*(parseInt(_0x476744(0x160))/0x4)+parseInt(_0x476744(0x164))/0x5+parseInt(_0x476744(0x16d))/0x6+parseInt(_0x476744(0x149))/0x7*(parseInt(_0x476744(0x165))/0x8)+-parseInt(_0x476744(0x166))/0x9;if(_0x548980===_0x19db41)break;else _0x4a207f['push'](_0x4a207f['shift']());}catch(_0x5bf03d){_0x4a207f['push'](_0x4a207f['shift']());}}}(a4_0x2818,0xb7c6a));var __decorate=this&&this['__decorate']||function(_0x402b6a,_0x1cd533,_0x41484f,_0x13009a){const _0x39713b=a4_0xc98c;var _0x380af5=arguments['length'],_0x1989ec=_0x380af5<0x3?_0x1cd533:_0x13009a===null?_0x13009a=Object['getOwnPropertyDescriptor'](_0x1cd533,_0x41484f):_0x13009a,_0x4c21f0;if(typeof Reflect===_0x39713b(0x163)&&typeof Reflect[_0x39713b(0x14f)]==='function')_0x1989ec=Reflect[_0x39713b(0x14f)](_0x402b6a,_0x1cd533,_0x41484f,_0x13009a);else{for(var _0x5715fa=_0x402b6a[_0x39713b(0x148)]-0x1;_0x5715fa>=0x0;_0x5715fa--)if(_0x4c21f0=_0x402b6a[_0x5715fa])_0x1989ec=(_0x380af5<0x3?_0x4c21f0(_0x1989ec):_0x380af5>0x3?_0x4c21f0(_0x1cd533,_0x41484f,_0x1989ec):_0x4c21f0(_0x1cd533,_0x41484f))||_0x1989ec;}return _0x380af5>0x3&&_0x1989ec&&Object[_0x39713b(0x15e)](_0x1cd533,_0x41484f,_0x1989ec),_0x1989ec;},__metadata=this&&this['__metadata']||function(_0x319c3d,_0x58e09d){const _0x2bfa07=a4_0xc98c;if(typeof Reflect===_0x2bfa07(0x163)&&typeof Reflect[_0x2bfa07(0x169)]===_0x2bfa07(0x14a))return Reflect[_0x2bfa07(0x169)](_0x319c3d,_0x58e09d);};Object[a4_0x342975(0x15e)](exports,a4_0x342975(0x162),{'value':!![]}),exports['EventService']=void 0x0;const collect_js_1=require(a4_0x342975(0x16a)),decorator_1=require(a4_0x342975(0x14d)),interface_1=require(a4_0x342975(0x170));let EventService=class EventService{constructor(){const _0x43ce26=a4_0x342975;this[_0x43ce26(0x152)]=![];}async[a4_0x342975(0x167)](_0x525852){const _0x10bff7=a4_0x342975;if(!this[_0x10bff7(0x152)]){this[_0x10bff7(0x152)]=!![],this['listevent']={};for(const _0x294a11 of(0x0,decorator_1['listModule'])(interface_1['EVENT_KEY'])||[]){const _0x6b7c88=await this['app']['getApplicationContext']()[_0x10bff7(0x151)](_0x294a11);for(const _0x2073f3 of(0x0,decorator_1[_0x10bff7(0x14b)])(interface_1[_0x10bff7(0x161)],_0x294a11)||[]){typeof(_0x6b7c88[_0x2073f3['propertyKey']]=='function')&&(!this[_0x10bff7(0x168)][_0x2073f3[_0x10bff7(0x15c)]]&&(this['listevent'][_0x2073f3['name']]=[]),this[_0x10bff7(0x168)][_0x2073f3[_0x10bff7(0x15c)]][_0x10bff7(0x155)]({'priority':_0x2073f3[_0x10bff7(0x14c)],'resolve':_0x6b7c88[_0x2073f3[_0x10bff7(0x16e)]][_0x10bff7(0x16b)](_0x6b7c88),'propertyKey':_0x294a11[_0x10bff7(0x15c)]+'@'+_0x2073f3[_0x10bff7(0x16e)]}));}}for(const _0xebc53e in this[_0x10bff7(0x168)]){this[_0x10bff7(0x168)][_0xebc53e]=(0x0,collect_js_1[_0x10bff7(0x15f)])(this[_0x10bff7(0x168)][_0xebc53e])['sortByDesc'](_0x10bff7(0x14c))[_0x10bff7(0x16c)]();}}return _0x525852?this[_0x10bff7(0x168)][_0x525852]||[]:this['listevent'];}async[a4_0x342975(0x159)](_0x32896f,..._0x584cd9){const _0x234b99=a4_0x342975;var _0x8a2210,_0x4d8e5c;await this[_0x234b99(0x167)]();for(let _0x27fc64 in(_0x8a2210=this[_0x234b99(0x168)])===null||_0x8a2210===void 0x0?void 0x0:_0x8a2210[_0x32896f]){const _0x2a12fc=(_0x4d8e5c=this['listevent'][_0x32896f])===null||_0x4d8e5c===void 0x0?void 0x0:_0x4d8e5c[_0x27fc64];(_0x2a12fc===null||_0x2a12fc===void 0x0?void 0x0:_0x2a12fc[_0x234b99(0x154)])&&typeof(_0x2a12fc===null||_0x2a12fc===void 0x0?void 0x0:_0x2a12fc['resolve'])==_0x234b99(0x14a)&&await _0x2a12fc[_0x234b99(0x154)](..._0x584cd9);}}async['once'](_0x49a50f,..._0x34897a){const _0x3f8d38=a4_0x342975;return await this[_0x3f8d38(0x167)](),await this['emit'](_0x49a50f,..._0x34897a),this['off'](_0x49a50f);}async[a4_0x342975(0x158)](_0x184e6c){const _0x373d5d=a4_0x342975;return await this[_0x373d5d(0x167)](),this[_0x373d5d(0x168)][_0x184e6c]&&delete this[_0x373d5d(0x168)][_0x184e6c],!!this[_0x373d5d(0x168)][_0x184e6c];}};__decorate([(0x0,decorator_1['App'])(),__metadata(a4_0x342975(0x153),Object)],EventService[a4_0x342975(0x156)],a4_0x342975(0x15a),void 0x0),EventService=__decorate([(0x0,decorator_1[a4_0x342975(0x171)])(a4_0x342975(0x150)),(0x0,decorator_1[a4_0x342975(0x157)])(decorator_1['ScopeEnum'][a4_0x342975(0x15d)])],EventService),exports[a4_0x342975(0x14e)]=EventService;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anncic-api/event",
3
- "version": "1.1.5",
3
+ "version": "1.1.8",
4
4
  "main": "./dist/index.js",
5
5
  "license": "MIT",
6
6
  "files": [
@@ -21,5 +21,5 @@
21
21
  "javascript-obfuscator": "2.19.0",
22
22
  "typescript": "^4.7.4"
23
23
  },
24
- "gitHead": "f12532c658e19791b372d2339dadd1575b0669e2"
24
+ "gitHead": "8e67a65d479feee3c586cebc182378beacb68d2f"
25
25
  }