@anncic-api/event 1.0.15 → 1.0.16

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';function a0_0x2327(_0x92334e,_0x114c59){var _0x668d75=a0_0x668d();return a0_0x2327=function(_0x232743,_0x4af041){_0x232743=_0x232743-0x100;var _0x199bca=_0x668d75[_0x232743];return _0x199bca;},a0_0x2327(_0x92334e,_0x114c59);}var a0_0x39c761=a0_0x2327;(function(_0x3322db,_0x58a169){var _0x23605f=a0_0x2327,_0x1ae7ad=_0x3322db();while(!![]){try{var _0x38d7e1=-parseInt(_0x23605f(0x118))/0x1*(parseInt(_0x23605f(0x104))/0x2)+-parseInt(_0x23605f(0x109))/0x3+parseInt(_0x23605f(0x103))/0x4+-parseInt(_0x23605f(0x117))/0x5+-parseInt(_0x23605f(0x108))/0x6+parseInt(_0x23605f(0x114))/0x7+parseInt(_0x23605f(0x10d))/0x8;if(_0x38d7e1===_0x58a169)break;else _0x1ae7ad['push'](_0x1ae7ad['shift']());}catch(_0xf85de5){_0x1ae7ad['push'](_0x1ae7ad['shift']());}}}(a0_0x668d,0xbdda7));function a0_0x668d(){var _0x514023=['anncic-api:event','__esModule','@midwayjs/decorator','9366648UsELUi','Inject','MidwayConfigService','decorator','Configuration','__decorate','CustomConfiguration','6810839nFxjLg','@midwayjs/core','decorate','1597275YACsvZ','43AhihZm','onReady','metadata','object','length','5827668KkKlNl','62366qfFvhI','function','prototype','design:type','955302YwEAXj','3010635UHshKl'];a0_0x668d=function(){return _0x514023;};return a0_0x668d();}var __decorate=this&&this[a0_0x39c761(0x112)]||function(_0x13a69,_0xa9323b,_0x54a5b6,_0x506daa){var _0x3221ac=a0_0x39c761,_0x2af32e=arguments[_0x3221ac(0x102)],_0x65c9dc=_0x2af32e<0x3?_0xa9323b:_0x506daa===null?_0x506daa=Object['getOwnPropertyDescriptor'](_0xa9323b,_0x54a5b6):_0x506daa,_0x37efc5;if(typeof Reflect===_0x3221ac(0x101)&&typeof Reflect['decorate']===_0x3221ac(0x105))_0x65c9dc=Reflect[_0x3221ac(0x116)](_0x13a69,_0xa9323b,_0x54a5b6,_0x506daa);else{for(var _0x5a4391=_0x13a69['length']-0x1;_0x5a4391>=0x0;_0x5a4391--)if(_0x37efc5=_0x13a69[_0x5a4391])_0x65c9dc=(_0x2af32e<0x3?_0x37efc5(_0x65c9dc):_0x2af32e>0x3?_0x37efc5(_0xa9323b,_0x54a5b6,_0x65c9dc):_0x37efc5(_0xa9323b,_0x54a5b6))||_0x65c9dc;}return _0x2af32e>0x3&&_0x65c9dc&&Object['defineProperty'](_0xa9323b,_0x54a5b6,_0x65c9dc),_0x65c9dc;},__metadata=this&&this['__metadata']||function(_0xdb0947,_0x3b6507){var _0x13a28e=a0_0x39c761;if(typeof Reflect==='object'&&typeof Reflect[_0x13a28e(0x100)]===_0x13a28e(0x105))return Reflect[_0x13a28e(0x100)](_0xdb0947,_0x3b6507);};Object['defineProperty'](exports,a0_0x39c761(0x10b),{'value':!![]}),exports[a0_0x39c761(0x113)]=void 0x0;const decorator_1=require(a0_0x39c761(0x10c)),core_1=require(a0_0x39c761(0x115));let CustomConfiguration=class CustomConfiguration{async[a0_0x39c761(0x119)](){}};__decorate([(0x0,decorator_1[a0_0x39c761(0x10e)])(),__metadata(a0_0x39c761(0x107),core_1[a0_0x39c761(0x10f)])],CustomConfiguration['prototype'],'config',void 0x0),__decorate([(0x0,decorator_1['Inject'])(),__metadata(a0_0x39c761(0x107),core_1['MidwayDecoratorService'])],CustomConfiguration[a0_0x39c761(0x106)],a0_0x39c761(0x110),void 0x0),CustomConfiguration=__decorate([(0x0,decorator_1[a0_0x39c761(0x111)])({'conflictCheck':![],'namespace':a0_0x39c761(0x10a)})],CustomConfiguration),exports[a0_0x39c761(0x113)]=CustomConfiguration;
1
+ 'use strict';function a0_0x59dd(_0x5237a9,_0x11ffce){var _0x163746=a0_0x1637();return a0_0x59dd=function(_0x59dd04,_0x1aca1d){_0x59dd04=_0x59dd04-0x168;var _0x197cb9=_0x163746[_0x59dd04];return _0x197cb9;},a0_0x59dd(_0x5237a9,_0x11ffce);}var a0_0x2ae09f=a0_0x59dd;(function(_0x4eec3e,_0x26531b){var _0x29a03e=a0_0x59dd,_0x5bb97b=_0x4eec3e();while(!![]){try{var _0x1c14fd=parseInt(_0x29a03e(0x183))/0x1+-parseInt(_0x29a03e(0x16a))/0x2*(parseInt(_0x29a03e(0x182))/0x3)+parseInt(_0x29a03e(0x170))/0x4+parseInt(_0x29a03e(0x171))/0x5*(parseInt(_0x29a03e(0x17a))/0x6)+-parseInt(_0x29a03e(0x16b))/0x7*(parseInt(_0x29a03e(0x17d))/0x8)+parseInt(_0x29a03e(0x179))/0x9*(parseInt(_0x29a03e(0x17f))/0xa)+-parseInt(_0x29a03e(0x185))/0xb*(parseInt(_0x29a03e(0x168))/0xc);if(_0x1c14fd===_0x26531b)break;else _0x5bb97b['push'](_0x5bb97b['shift']());}catch(_0x22b4e1){_0x5bb97b['push'](_0x5bb97b['shift']());}}}(a0_0x1637,0x96edc));var __decorate=this&&this['__decorate']||function(_0x1b6435,_0x343722,_0x4dc69e,_0x25889e){var _0x40c1c1=a0_0x59dd,_0x4c3443=arguments[_0x40c1c1(0x17e)],_0x4c6eaa=_0x4c3443<0x3?_0x343722:_0x25889e===null?_0x25889e=Object[_0x40c1c1(0x16f)](_0x343722,_0x4dc69e):_0x25889e,_0x9e4eb3;if(typeof Reflect===_0x40c1c1(0x177)&&typeof Reflect[_0x40c1c1(0x176)]===_0x40c1c1(0x178))_0x4c6eaa=Reflect[_0x40c1c1(0x176)](_0x1b6435,_0x343722,_0x4dc69e,_0x25889e);else{for(var _0x4bb1e1=_0x1b6435[_0x40c1c1(0x17e)]-0x1;_0x4bb1e1>=0x0;_0x4bb1e1--)if(_0x9e4eb3=_0x1b6435[_0x4bb1e1])_0x4c6eaa=(_0x4c3443<0x3?_0x9e4eb3(_0x4c6eaa):_0x4c3443>0x3?_0x9e4eb3(_0x343722,_0x4dc69e,_0x4c6eaa):_0x9e4eb3(_0x343722,_0x4dc69e))||_0x4c6eaa;}return _0x4c3443>0x3&&_0x4c6eaa&&Object[_0x40c1c1(0x181)](_0x343722,_0x4dc69e,_0x4c6eaa),_0x4c6eaa;},__metadata=this&&this['__metadata']||function(_0x4cf14f,_0x432e2f){var _0x1e37b0=a0_0x59dd;if(typeof Reflect==='object'&&typeof Reflect[_0x1e37b0(0x17c)]===_0x1e37b0(0x178))return Reflect[_0x1e37b0(0x17c)](_0x4cf14f,_0x432e2f);};Object[a0_0x2ae09f(0x181)](exports,a0_0x2ae09f(0x175),{'value':!![]}),exports[a0_0x2ae09f(0x16d)]=void 0x0;const decorator_1=require(a0_0x2ae09f(0x186)),core_1=require(a0_0x2ae09f(0x169));let CustomConfiguration=class CustomConfiguration{async[a0_0x2ae09f(0x173)](){}};__decorate([(0x0,decorator_1[a0_0x2ae09f(0x180)])(),__metadata(a0_0x2ae09f(0x17b),core_1[a0_0x2ae09f(0x16c)])],CustomConfiguration['prototype'],a0_0x2ae09f(0x16e),void 0x0),__decorate([(0x0,decorator_1[a0_0x2ae09f(0x180)])(),__metadata(a0_0x2ae09f(0x17b),core_1[a0_0x2ae09f(0x184)])],CustomConfiguration[a0_0x2ae09f(0x174)],'decorator',void 0x0),CustomConfiguration=__decorate([(0x0,decorator_1[a0_0x2ae09f(0x172)])({'conflictCheck':![],'namespace':'anncic-api:event'})],CustomConfiguration),exports['CustomConfiguration']=CustomConfiguration;function a0_0x1637(){var _0x58023c=['2320944xthHgv','511455LPkxcv','Configuration','onReady','prototype','__esModule','decorate','object','function','6570207EieRCh','30gQrjSS','design:type','metadata','5085752jLCzEr','length','10IIoWKh','Inject','defineProperty','6xCPZrZ','735312mWobyI','MidwayDecoratorService','8380559QoxUfp','@midwayjs/decorator','12PYvTlE','@midwayjs/core','541234UhtRgO','7jUGntB','MidwayConfigService','CustomConfiguration','config','getOwnPropertyDescriptor'];a0_0x1637=function(){return _0x58023c;};return a0_0x1637();}
@@ -1 +1 @@
1
- 'use strict';const a1_0x1f9e57=a1_0x46c6;(function(_0x5c524e,_0x2459fe){const _0x2792cf=a1_0x46c6,_0x4e203d=_0x5c524e();while(!![]){try{const _0x3043c1=-parseInt(_0x2792cf(0x190))/0x1+parseInt(_0x2792cf(0x197))/0x2*(parseInt(_0x2792cf(0x19a))/0x3)+-parseInt(_0x2792cf(0x192))/0x4*(-parseInt(_0x2792cf(0x195))/0x5)+-parseInt(_0x2792cf(0x185))/0x6*(-parseInt(_0x2792cf(0x18e))/0x7)+parseInt(_0x2792cf(0x186))/0x8*(-parseInt(_0x2792cf(0x18f))/0x9)+parseInt(_0x2792cf(0x18d))/0xa*(parseInt(_0x2792cf(0x191))/0xb)+parseInt(_0x2792cf(0x18a))/0xc;if(_0x3043c1===_0x2459fe)break;else _0x4e203d['push'](_0x4e203d['shift']());}catch(_0xb1abea){_0x4e203d['push'](_0x4e203d['shift']());}}}(a1_0x5481,0xba98e));Object[a1_0x1f9e57(0x18b)](exports,a1_0x1f9e57(0x193),{'value':!![]}),exports[a1_0x1f9e57(0x198)]=void 0x0;const decorator_1=require(a1_0x1f9e57(0x18c)),interface_1=require('../interface');function Event(){return _0x129391=>{const _0x4c51b7=a1_0x46c6;(0x0,decorator_1[_0x4c51b7(0x189)])()(_0x129391),(0x0,decorator_1[_0x4c51b7(0x199)])(interface_1[_0x4c51b7(0x188)],_0x129391),(0x0,decorator_1[_0x4c51b7(0x194)])(decorator_1[_0x4c51b7(0x184)][_0x4c51b7(0x187)],{'allowDowngrade':!![]})(_0x129391);};}exports[a1_0x1f9e57(0x198)]=Event,Event['On']=function(_0x17db67,_0xcdf1a9=0x0){return(_0x419cc0,_0x41e8c3,_0x3d3dbb)=>{const _0x2fbb6a=a1_0x46c6;return(0x0,decorator_1[_0x2fbb6a(0x196)])(interface_1['EVENT_ON_KEY'],{'name':_0x17db67,'priority':_0xcdf1a9,'propertyKey':_0x41e8c3,'descriptor':_0x3d3dbb},_0x419cc0),_0x3d3dbb;};};function a1_0x46c6(_0x205858,_0x2d8fcd){const _0x548161=a1_0x5481();return a1_0x46c6=function(_0x46c657,_0x5d0806){_0x46c657=_0x46c657-0x184;let _0x37be3e=_0x548161[_0x46c657];return _0x37be3e;},a1_0x46c6(_0x205858,_0x2d8fcd);}function a1_0x5481(){const _0x1eb0a2=['Provide','11325636JszPKm','defineProperty','@midwayjs/decorator','40ufNwlg','7wrYSUZ','11583027ZooQLl','863147AQsvfH','3184764TphUCh','2268788BFowNJ','__esModule','Scope','5kKLyGc','attachClassMetadata','6354NUzNeK','Event','saveModule','123SmxBiA','ScopeEnum','690594XhbALE','8yoebDC','Request','EVENT_KEY'];a1_0x5481=function(){return _0x1eb0a2;};return a1_0x5481();}
1
+ 'use strict';function a1_0xa33a(_0x4ecb4c,_0x239bb9){const _0x495d9d=a1_0x495d();return a1_0xa33a=function(_0xa33a7d,_0x497526){_0xa33a7d=_0xa33a7d-0x11e;let _0x2cdfce=_0x495d9d[_0xa33a7d];return _0x2cdfce;},a1_0xa33a(_0x4ecb4c,_0x239bb9);}const a1_0x5e599a=a1_0xa33a;(function(_0x11a1ef,_0x3df2a9){const _0x118d18=a1_0xa33a,_0x32401a=_0x11a1ef();while(!![]){try{const _0x555b80=-parseInt(_0x118d18(0x12f))/0x1+-parseInt(_0x118d18(0x11e))/0x2*(-parseInt(_0x118d18(0x130))/0x3)+parseInt(_0x118d18(0x122))/0x4*(-parseInt(_0x118d18(0x133))/0x5)+parseInt(_0x118d18(0x134))/0x6+-parseInt(_0x118d18(0x121))/0x7*(-parseInt(_0x118d18(0x126))/0x8)+parseInt(_0x118d18(0x127))/0x9+-parseInt(_0x118d18(0x12d))/0xa*(parseInt(_0x118d18(0x120))/0xb);if(_0x555b80===_0x3df2a9)break;else _0x32401a['push'](_0x32401a['shift']());}catch(_0x34a050){_0x32401a['push'](_0x32401a['shift']());}}}(a1_0x495d,0x57215));Object[a1_0x5e599a(0x129)](exports,a1_0x5e599a(0x131),{'value':!![]}),exports[a1_0x5e599a(0x123)]=void 0x0;const decorator_1=require(a1_0x5e599a(0x132)),interface_1=require(a1_0x5e599a(0x12c));function Event(){return _0x1b77fa=>{const _0x31c374=a1_0xa33a;(0x0,decorator_1[_0x31c374(0x11f)])()(_0x1b77fa),(0x0,decorator_1[_0x31c374(0x124)])(interface_1[_0x31c374(0x125)],_0x1b77fa),(0x0,decorator_1['Scope'])(decorator_1[_0x31c374(0x12e)][_0x31c374(0x12a)],{'allowDowngrade':!![]})(_0x1b77fa);};}function a1_0x495d(){const _0x15fef3=['Event','saveModule','EVENT_KEY','3175064qQatpT','3776031uHDcKv','attachClassMetadata','defineProperty','Request','EVENT_ON_KEY','../interface','1880wNalBb','ScopeEnum','376664CVOnLD','209469BqvOmh','__esModule','@midwayjs/decorator','1920560hkeUBI','1803708QHkiUd','6jzKASk','Provide','12221pDeARY','7VrnZaj','4aFsgBs'];a1_0x495d=function(){return _0x15fef3;};return a1_0x495d();}exports[a1_0x5e599a(0x123)]=Event,Event['On']=function(_0x582826,_0x3d95dc=0x0){return(_0x17e08d,_0x20c086,_0x377a46)=>{const _0x41e58c=a1_0xa33a;return(0x0,decorator_1[_0x41e58c(0x128)])(interface_1[_0x41e58c(0x12b)],{'name':_0x582826,'priority':_0x3d95dc,'propertyKey':_0x20c086,'descriptor':_0x377a46},_0x17e08d),_0x377a46;};};
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';var a2_0x2e2b39=a2_0x3b6a;(function(_0xba7aaa,_0xc8f411){var _0x4bd5b1=a2_0x3b6a,_0x1f34bb=_0xba7aaa();while(!![]){try{var _0x11feca=parseInt(_0x4bd5b1(0x142))/0x1*(-parseInt(_0x4bd5b1(0x151))/0x2)+parseInt(_0x4bd5b1(0x13e))/0x3*(parseInt(_0x4bd5b1(0x14a))/0x4)+-parseInt(_0x4bd5b1(0x143))/0x5*(-parseInt(_0x4bd5b1(0x14c))/0x6)+parseInt(_0x4bd5b1(0x152))/0x7*(-parseInt(_0x4bd5b1(0x153))/0x8)+-parseInt(_0x4bd5b1(0x14b))/0x9*(parseInt(_0x4bd5b1(0x144))/0xa)+parseInt(_0x4bd5b1(0x14f))/0xb+parseInt(_0x4bd5b1(0x150))/0xc*(-parseInt(_0x4bd5b1(0x147))/0xd);if(_0x11feca===_0xc8f411)break;else _0x1f34bb['push'](_0x1f34bb['shift']());}catch(_0x42cdc7){_0x1f34bb['push'](_0x1f34bb['shift']());}}}(a2_0x443f,0x4171c));Object[a2_0x2e2b39(0x13f)](exports,a2_0x2e2b39(0x14d),{'value':!![]}),exports[a2_0x2e2b39(0x149)]=exports['EventService']=exports[a2_0x2e2b39(0x140)]=void 0x0;function a2_0x3b6a(_0x4d6aa2,_0x2e2926){var _0x443f7e=a2_0x443f();return a2_0x3b6a=function(_0x3b6aca,_0x22b224){_0x3b6aca=_0x3b6aca-0x13e;var _0x59539d=_0x443f7e[_0x3b6aca];return _0x59539d;},a2_0x3b6a(_0x4d6aa2,_0x2e2926);}var Event_1=require(a2_0x2e2b39(0x14e));Object[a2_0x2e2b39(0x13f)](exports,'Event',{'enumerable':!![],'get':function(){var _0x205b6a=a2_0x2e2b39;return Event_1[_0x205b6a(0x140)];}});var EventService_1=require(a2_0x2e2b39(0x146));Object[a2_0x2e2b39(0x13f)](exports,a2_0x2e2b39(0x145),{'enumerable':!![],'get':function(){return EventService_1['EventService'];}});var configuration_1=require(a2_0x2e2b39(0x141));function a2_0x443f(){var _0x37ec51=['10pUmnEc','EventService','./service/EventService','3597269IeEePr','CustomConfiguration','Configuration','4yBtNGP','667494HBFxtt','78HkrTtq','__esModule','./decorator/Event','3742134MYgQGu','12VpGkTg','34okvejo','733201qdpaRD','40hJYuzs','1264026varXVE','defineProperty','Event','./configuration','5451kSSsOS','182225VldeSj'];a2_0x443f=function(){return _0x37ec51;};return a2_0x443f();}Object['defineProperty'](exports,a2_0x2e2b39(0x149),{'enumerable':!![],'get':function(){var _0x4ccaf7=a2_0x2e2b39;return configuration_1[_0x4ccaf7(0x148)];}});
1
+ 'use strict';var a2_0x19038a=a2_0x4ef0;(function(_0xb5056b,_0x46cc7f){var _0x30076b=a2_0x4ef0,_0xc17abd=_0xb5056b();while(!![]){try{var _0x5a4cc0=parseInt(_0x30076b(0xde))/0x1*(-parseInt(_0x30076b(0xdb))/0x2)+parseInt(_0x30076b(0xd7))/0x3*(parseInt(_0x30076b(0xd8))/0x4)+parseInt(_0x30076b(0xda))/0x5*(parseInt(_0x30076b(0xd9))/0x6)+parseInt(_0x30076b(0xdd))/0x7+parseInt(_0x30076b(0xd6))/0x8*(parseInt(_0x30076b(0xdc))/0x9)+parseInt(_0x30076b(0xd0))/0xa*(parseInt(_0x30076b(0xd4))/0xb)+-parseInt(_0x30076b(0xd1))/0xc;if(_0x5a4cc0===_0x46cc7f)break;else _0xc17abd['push'](_0xc17abd['shift']());}catch(_0x44717f){_0xc17abd['push'](_0xc17abd['shift']());}}}(a2_0x5552,0xaa912));function a2_0x5552(){var _0x5ec182=['__esModule','37984kzaQkx','6qUTXQO','1067828jKljKM','6156654iAhFYr','5jIBZdk','2YjFjsx','1593KpsMvX','8991437ORnQIh','278098tiAsnR','EventService','Configuration','10cNxFqO','44939808RqULvC','defineProperty','Event','11404954GuTXkC'];a2_0x5552=function(){return _0x5ec182;};return a2_0x5552();}function a2_0x4ef0(_0x1c99c7,_0x346e0d){var _0x555255=a2_0x5552();return a2_0x4ef0=function(_0x4ef0db,_0x32d7c6){_0x4ef0db=_0x4ef0db-0xcf;var _0x112293=_0x555255[_0x4ef0db];return _0x112293;},a2_0x4ef0(_0x1c99c7,_0x346e0d);}Object[a2_0x19038a(0xd2)](exports,a2_0x19038a(0xd5),{'value':!![]}),exports[a2_0x19038a(0xcf)]=exports[a2_0x19038a(0xdf)]=exports[a2_0x19038a(0xd3)]=void 0x0;var Event_1=require('./decorator/Event');Object[a2_0x19038a(0xd2)](exports,a2_0x19038a(0xd3),{'enumerable':!![],'get':function(){return Event_1['Event'];}});var EventService_1=require('./service/EventService');Object[a2_0x19038a(0xd2)](exports,a2_0x19038a(0xdf),{'enumerable':!![],'get':function(){return EventService_1['EventService'];}});var configuration_1=require('./configuration');Object['defineProperty'](exports,'Configuration',{'enumerable':!![],'get':function(){return configuration_1['CustomConfiguration'];}});
package/dist/interface.js CHANGED
@@ -1 +1 @@
1
- 'use strict';function a3_0x106d(_0x32fcb8,_0x5aedf3){var _0x534d3f=a3_0x534d();return a3_0x106d=function(_0x106dde,_0x2f1e8f){_0x106dde=_0x106dde-0x1c7;var _0x55527e=_0x534d3f[_0x106dde];return _0x55527e;},a3_0x106d(_0x32fcb8,_0x5aedf3);}var a3_0x4b750a=a3_0x106d;function a3_0x534d(){var _0x59698a=['anncic-api:event','5709240IObRNz','42340tLAcni','EVENT_KEY','1905zjTYZC','__esModule','1239686JHnbZr','EVENT_ON_KEY','9041SFTELf','3542877ZeHKkp','2882856vKxFjk','defineProperty','anncic-api:event:on','3084EXEEkJ','54xLgzPM','106NxQagS'];a3_0x534d=function(){return _0x59698a;};return a3_0x534d();}(function(_0x57464d,_0x314eba){var _0x35539a=a3_0x106d,_0x259f94=_0x57464d();while(!![]){try{var _0x2f3dc0=parseInt(_0x35539a(0x1d1))/0x1*(parseInt(_0x35539a(0x1c8))/0x2)+parseInt(_0x35539a(0x1c7))/0x3*(-parseInt(_0x35539a(0x1cb))/0x4)+-parseInt(_0x35539a(0x1cd))/0x5*(parseInt(_0x35539a(0x1d6))/0x6)+-parseInt(_0x35539a(0x1cf))/0x7+parseInt(_0x35539a(0x1d3))/0x8+-parseInt(_0x35539a(0x1d2))/0x9+parseInt(_0x35539a(0x1ca))/0xa;if(_0x2f3dc0===_0x314eba)break;else _0x259f94['push'](_0x259f94['shift']());}catch(_0x5b550b){_0x259f94['push'](_0x259f94['shift']());}}}(a3_0x534d,0x6eadb));Object[a3_0x4b750a(0x1d4)](exports,a3_0x4b750a(0x1ce),{'value':!![]}),exports['EVENT_ON_KEY']=exports[a3_0x4b750a(0x1cc)]=void 0x0,exports['EVENT_KEY']=a3_0x4b750a(0x1c9),exports[a3_0x4b750a(0x1d0)]=a3_0x4b750a(0x1d5);
1
+ 'use strict';function a3_0x3936(){var _0x121469=['6304JiuEEu','1qzOQTG','367338NtohSO','13146vKnAKk','4253175XZvfiP','defineProperty','5630560BAbpzM','22KwRhwR','798435ESZUTE','EVENT_ON_KEY','13196457PUsxix','4KDFxIU','EVENT_KEY','2824366KgpAUs','anncic-api:event:on'];a3_0x3936=function(){return _0x121469;};return a3_0x3936();}var a3_0x44e069=a3_0x1ba7;(function(_0x4e6c74,_0x3a04ce){var _0x370657=a3_0x1ba7,_0x171750=_0x4e6c74();while(!![]){try{var _0x23bdfa=-parseInt(_0x370657(0x1ca))/0x1*(-parseInt(_0x370657(0x1d6))/0x2)+-parseInt(_0x370657(0x1d1))/0x3*(-parseInt(_0x370657(0x1d4))/0x4)+parseInt(_0x370657(0x1cd))/0x5+parseInt(_0x370657(0x1cb))/0x6+-parseInt(_0x370657(0x1cc))/0x7*(parseInt(_0x370657(0x1d8))/0x8)+-parseInt(_0x370657(0x1d3))/0x9+parseInt(_0x370657(0x1cf))/0xa*(parseInt(_0x370657(0x1d0))/0xb);if(_0x23bdfa===_0x3a04ce)break;else _0x171750['push'](_0x171750['shift']());}catch(_0x4baab7){_0x171750['push'](_0x171750['shift']());}}}(a3_0x3936,0xbc071));function a3_0x1ba7(_0x7abc05,_0x5d4401){var _0x3936ca=a3_0x3936();return a3_0x1ba7=function(_0x1ba7b5,_0x2a8eba){_0x1ba7b5=_0x1ba7b5-0x1ca;var _0x4b888f=_0x3936ca[_0x1ba7b5];return _0x4b888f;},a3_0x1ba7(_0x7abc05,_0x5d4401);}Object[a3_0x44e069(0x1ce)](exports,'__esModule',{'value':!![]}),exports[a3_0x44e069(0x1d2)]=exports[a3_0x44e069(0x1d5)]=void 0x0,exports[a3_0x44e069(0x1d5)]='anncic-api:event',exports[a3_0x44e069(0x1d2)]=a3_0x44e069(0x1d7);
@@ -1 +1 @@
1
- 'use strict';const a4_0x577199=a4_0x2bd3;(function(_0x42782f,_0x2ccd7a){const _0x434b67=a4_0x2bd3,_0x958361=_0x42782f();while(!![]){try{const _0x544a91=-parseInt(_0x434b67(0x11d))/0x1*(parseInt(_0x434b67(0x111))/0x2)+parseInt(_0x434b67(0x109))/0x3+-parseInt(_0x434b67(0x112))/0x4+parseInt(_0x434b67(0x115))/0x5*(parseInt(_0x434b67(0xfd))/0x6)+-parseInt(_0x434b67(0x110))/0x7+parseInt(_0x434b67(0x10d))/0x8*(parseInt(_0x434b67(0xfb))/0x9)+-parseInt(_0x434b67(0x11b))/0xa*(parseInt(_0x434b67(0x104))/0xb);if(_0x544a91===_0x2ccd7a)break;else _0x958361['push'](_0x958361['shift']());}catch(_0x55d796){_0x958361['push'](_0x958361['shift']());}}}(a4_0x3230,0xbb3cb));function a4_0x3230(){const _0x4f2f7c=['priority','__esModule','collect.js','1690623wkiHka','sortByDesc','getAsync','off','resolve','1407690GSjhSr','App','event','__decorate','11787736zjFzlD','app','defineProperty','67452cqwsPM','4IByWXu','2207648cLvAUA','ScopeEnum','getApplicationContext','145YZnrSR','default','../interface','listModule','EventService','function','130ccGlgj','length','47507CVHoJm','propertyKey','all','name','decorate','metadata','design:type','getOwnPropertyDescriptor','listevent','object','once','emit','9ZBnbkn','getListevent','305958ZgTOBg','init','EVENT_ON_KEY','EVENT_KEY'];a4_0x3230=function(){return _0x4f2f7c;};return a4_0x3230();}var __decorate=this&&this[a4_0x577199(0x10c)]||function(_0x5a7d2b,_0x14d49b,_0x3f27bb,_0x5039d8){const _0x3d0a4e=a4_0x577199;var _0x2425c0=arguments[_0x3d0a4e(0x11c)],_0x28ca4a=_0x2425c0<0x3?_0x14d49b:_0x5039d8===null?_0x5039d8=Object[_0x3d0a4e(0xf6)](_0x14d49b,_0x3f27bb):_0x5039d8,_0x38d555;if(typeof Reflect===_0x3d0a4e(0xf8)&&typeof Reflect[_0x3d0a4e(0xf3)]==='function')_0x28ca4a=Reflect[_0x3d0a4e(0xf3)](_0x5a7d2b,_0x14d49b,_0x3f27bb,_0x5039d8);else{for(var _0x455ad9=_0x5a7d2b[_0x3d0a4e(0x11c)]-0x1;_0x455ad9>=0x0;_0x455ad9--)if(_0x38d555=_0x5a7d2b[_0x455ad9])_0x28ca4a=(_0x2425c0<0x3?_0x38d555(_0x28ca4a):_0x2425c0>0x3?_0x38d555(_0x14d49b,_0x3f27bb,_0x28ca4a):_0x38d555(_0x14d49b,_0x3f27bb))||_0x28ca4a;}return _0x2425c0>0x3&&_0x28ca4a&&Object[_0x3d0a4e(0x10f)](_0x14d49b,_0x3f27bb,_0x28ca4a),_0x28ca4a;},__metadata=this&&this['__metadata']||function(_0x2df1a1,_0x5f52fb){const _0x5053a8=a4_0x577199;if(typeof Reflect===_0x5053a8(0xf8)&&typeof Reflect[_0x5053a8(0xf4)]===_0x5053a8(0x11a))return Reflect[_0x5053a8(0xf4)](_0x2df1a1,_0x5f52fb);};Object[a4_0x577199(0x10f)](exports,a4_0x577199(0x102),{'value':!![]}),exports[a4_0x577199(0x119)]=void 0x0;function a4_0x2bd3(_0xd2f273,_0xb4064a){const _0x323034=a4_0x3230();return a4_0x2bd3=function(_0x2bd349,_0x536cbe){_0x2bd349=_0x2bd349-0xf1;let _0x2535cd=_0x323034[_0x2bd349];return _0x2535cd;},a4_0x2bd3(_0xd2f273,_0xb4064a);}const collect_js_1=require(a4_0x577199(0x103)),decorator_1=require('@midwayjs/decorator'),interface_1=require(a4_0x577199(0x117));let EventService=class EventService{constructor(){const _0x51da9b=a4_0x577199;this[_0x51da9b(0xfe)]=![];}async[a4_0x577199(0xfc)](_0x50a14b){const _0x1ce21f=a4_0x577199;if(!this[_0x1ce21f(0xfe)]){this['init']=!![],this[_0x1ce21f(0xf7)]={};for(const _0x39270f of(0x0,decorator_1[_0x1ce21f(0x118)])(interface_1[_0x1ce21f(0x100)])||[]){const _0x5b78da=await this[_0x1ce21f(0x10e)][_0x1ce21f(0x114)]()[_0x1ce21f(0x106)](_0x39270f);for(const _0x50efe2 of(0x0,decorator_1['getClassMetadata'])(interface_1[_0x1ce21f(0xff)],_0x39270f)||[]){typeof(_0x5b78da[_0x50efe2['propertyKey']]==_0x1ce21f(0x11a))&&(!this['listevent'][_0x50efe2[_0x1ce21f(0xf2)]]&&(this[_0x1ce21f(0xf7)][_0x50efe2[_0x1ce21f(0xf2)]]=[]),this[_0x1ce21f(0xf7)][_0x50efe2[_0x1ce21f(0xf2)]]['push']({'priority':_0x50efe2[_0x1ce21f(0x101)],'resolve':_0x5b78da[_0x50efe2[_0x1ce21f(0x11e)]]['bind'](_0x5b78da),'propertyKey':_0x39270f[_0x1ce21f(0xf2)]+'@'+_0x50efe2[_0x1ce21f(0x11e)]}));}}for(const _0xc07fd in this['listevent']){this[_0x1ce21f(0xf7)][_0xc07fd]=(0x0,collect_js_1[_0x1ce21f(0x116)])(this['listevent'][_0xc07fd])[_0x1ce21f(0x105)](_0x1ce21f(0x101))[_0x1ce21f(0xf1)]();}}return _0x50a14b?this[_0x1ce21f(0xf7)][_0x50a14b]||[]:this['listevent'];}async[a4_0x577199(0xfa)](_0x1478b3,..._0x279ea5){const _0x4d2996=a4_0x577199;var _0x57d661,_0x5dcdee;await this[_0x4d2996(0xfc)]();for(let _0x39fc6c in(_0x57d661=this['listevent'])===null||_0x57d661===void 0x0?void 0x0:_0x57d661[_0x1478b3]){const _0x67cad4=(_0x5dcdee=this[_0x4d2996(0xf7)][_0x1478b3])===null||_0x5dcdee===void 0x0?void 0x0:_0x5dcdee[_0x39fc6c];(_0x67cad4===null||_0x67cad4===void 0x0?void 0x0:_0x67cad4[_0x4d2996(0x108)])&&typeof(_0x67cad4===null||_0x67cad4===void 0x0?void 0x0:_0x67cad4[_0x4d2996(0x108)])==_0x4d2996(0x11a)&&await _0x67cad4['resolve'](..._0x279ea5);}}async[a4_0x577199(0xf9)](_0x5aac4a,..._0x2edf51){const _0x592be4=a4_0x577199;return await this[_0x592be4(0xfc)](),await this[_0x592be4(0xfa)](_0x5aac4a,..._0x2edf51),this[_0x592be4(0x107)](_0x5aac4a);}async[a4_0x577199(0x107)](_0x997ab6){const _0x1081cc=a4_0x577199;return await this['getListevent'](),this['listevent'][_0x997ab6]&&delete this[_0x1081cc(0xf7)][_0x997ab6],!!this[_0x1081cc(0xf7)][_0x997ab6];}};__decorate([(0x0,decorator_1[a4_0x577199(0x10a)])(),__metadata(a4_0x577199(0xf5),Object)],EventService['prototype'],a4_0x577199(0x10e),void 0x0),EventService=__decorate([(0x0,decorator_1['Provide'])(a4_0x577199(0x10b)),(0x0,decorator_1['Scope'])(decorator_1[a4_0x577199(0x113)]['Singleton'])],EventService),exports[a4_0x577199(0x119)]=EventService;
1
+ 'use strict';function a4_0x3f44(_0x41ba40,_0x42e571){const _0x24438a=a4_0x2443();return a4_0x3f44=function(_0x3f4466,_0x48e8da){_0x3f4466=_0x3f4466-0x1bd;let _0x2d8be1=_0x24438a[_0x3f4466];return _0x2d8be1;},a4_0x3f44(_0x41ba40,_0x42e571);}const a4_0x3ed9a4=a4_0x3f44;(function(_0x3c6d14,_0x428e80){const _0x4ffd12=a4_0x3f44,_0xd68268=_0x3c6d14();while(!![]){try{const _0x27e4d6=-parseInt(_0x4ffd12(0x1d5))/0x1+-parseInt(_0x4ffd12(0x1d6))/0x2*(-parseInt(_0x4ffd12(0x1e5))/0x3)+-parseInt(_0x4ffd12(0x1d9))/0x4*(-parseInt(_0x4ffd12(0x1c5))/0x5)+parseInt(_0x4ffd12(0x1e4))/0x6+parseInt(_0x4ffd12(0x1c8))/0x7*(-parseInt(_0x4ffd12(0x1c1))/0x8)+parseInt(_0x4ffd12(0x1de))/0x9*(parseInt(_0x4ffd12(0x1dc))/0xa)+-parseInt(_0x4ffd12(0x1cb))/0xb;if(_0x27e4d6===_0x428e80)break;else _0xd68268['push'](_0xd68268['shift']());}catch(_0x250e77){_0xd68268['push'](_0xd68268['shift']());}}}(a4_0x2443,0x26644));var __decorate=this&&this[a4_0x3ed9a4(0x1cf)]||function(_0x4316fe,_0x4a8362,_0x1dc11f,_0x29d3a5){const _0xdd867e=a4_0x3ed9a4;var _0x3821a6=arguments[_0xdd867e(0x1cc)],_0x22696c=_0x3821a6<0x3?_0x4a8362:_0x29d3a5===null?_0x29d3a5=Object[_0xdd867e(0x1d3)](_0x4a8362,_0x1dc11f):_0x29d3a5,_0x299531;if(typeof Reflect===_0xdd867e(0x1c2)&&typeof Reflect[_0xdd867e(0x1d8)]===_0xdd867e(0x1ea))_0x22696c=Reflect[_0xdd867e(0x1d8)](_0x4316fe,_0x4a8362,_0x1dc11f,_0x29d3a5);else{for(var _0x400f99=_0x4316fe[_0xdd867e(0x1cc)]-0x1;_0x400f99>=0x0;_0x400f99--)if(_0x299531=_0x4316fe[_0x400f99])_0x22696c=(_0x3821a6<0x3?_0x299531(_0x22696c):_0x3821a6>0x3?_0x299531(_0x4a8362,_0x1dc11f,_0x22696c):_0x299531(_0x4a8362,_0x1dc11f))||_0x22696c;}return _0x3821a6>0x3&&_0x22696c&&Object['defineProperty'](_0x4a8362,_0x1dc11f,_0x22696c),_0x22696c;},__metadata=this&&this[a4_0x3ed9a4(0x1c7)]||function(_0x1ffdf3,_0x82106f){const _0x2a0135=a4_0x3ed9a4;if(typeof Reflect==='object'&&typeof Reflect[_0x2a0135(0x1db)]===_0x2a0135(0x1ea))return Reflect['metadata'](_0x1ffdf3,_0x82106f);};Object[a4_0x3ed9a4(0x1eb)](exports,a4_0x3ed9a4(0x1bf),{'value':!![]}),exports[a4_0x3ed9a4(0x1c6)]=void 0x0;const collect_js_1=require('collect.js'),decorator_1=require(a4_0x3ed9a4(0x1df)),interface_1=require(a4_0x3ed9a4(0x1e8));let EventService=class EventService{constructor(){const _0x3ec2e2=a4_0x3ed9a4;this[_0x3ec2e2(0x1e2)]=![];}async['getListevent'](_0x2f0553){const _0xb32b97=a4_0x3ed9a4;if(!this[_0xb32b97(0x1e2)]){this[_0xb32b97(0x1e2)]=!![],this[_0xb32b97(0x1bd)]={};for(const _0x554a81 of(0x0,decorator_1['listModule'])(interface_1[_0xb32b97(0x1ca)])||[]){const _0xf2e4b0=await this[_0xb32b97(0x1c3)]['getApplicationContext']()[_0xb32b97(0x1da)](_0x554a81);for(const _0x2311ac of(0x0,decorator_1[_0xb32b97(0x1c0)])(interface_1[_0xb32b97(0x1be)],_0x554a81)||[]){typeof(_0xf2e4b0[_0x2311ac[_0xb32b97(0x1e3)]]==_0xb32b97(0x1ea))&&(!this[_0xb32b97(0x1bd)][_0x2311ac['name']]&&(this[_0xb32b97(0x1bd)][_0x2311ac[_0xb32b97(0x1e1)]]=[]),this[_0xb32b97(0x1bd)][_0x2311ac[_0xb32b97(0x1e1)]][_0xb32b97(0x1d4)]({'priority':_0x2311ac[_0xb32b97(0x1d1)],'resolve':_0xf2e4b0[_0x2311ac[_0xb32b97(0x1e3)]]['bind'](_0xf2e4b0),'propertyKey':_0x554a81[_0xb32b97(0x1e1)]+'@'+_0x2311ac[_0xb32b97(0x1e3)]}));}}for(const _0x518f2b in this[_0xb32b97(0x1bd)]){this['listevent'][_0x518f2b]=(0x0,collect_js_1[_0xb32b97(0x1dd)])(this['listevent'][_0x518f2b])[_0xb32b97(0x1e7)]('priority')['all']();}}return _0x2f0553?this['listevent'][_0x2f0553]||[]:this[_0xb32b97(0x1bd)];}async[a4_0x3ed9a4(0x1e6)](_0x5eeecb,..._0x188ee1){const _0x4d2a11=a4_0x3ed9a4;var _0x11b025,_0x534d2f;await this[_0x4d2a11(0x1c4)]();for(let _0x313351 in(_0x11b025=this[_0x4d2a11(0x1bd)])===null||_0x11b025===void 0x0?void 0x0:_0x11b025[_0x5eeecb]){const _0x4e14dd=(_0x534d2f=this[_0x4d2a11(0x1bd)][_0x5eeecb])===null||_0x534d2f===void 0x0?void 0x0:_0x534d2f[_0x313351];(_0x4e14dd===null||_0x4e14dd===void 0x0?void 0x0:_0x4e14dd['resolve'])&&typeof(_0x4e14dd===null||_0x4e14dd===void 0x0?void 0x0:_0x4e14dd[_0x4d2a11(0x1d7)])==_0x4d2a11(0x1ea)&&await _0x4e14dd[_0x4d2a11(0x1d7)](..._0x188ee1);}}async[a4_0x3ed9a4(0x1d0)](_0x1a303d,..._0x28c7d8){const _0xa3cb1a=a4_0x3ed9a4;return await this['getListevent'](),await this['emit'](_0x1a303d,..._0x28c7d8),this[_0xa3cb1a(0x1e0)](_0x1a303d);}async[a4_0x3ed9a4(0x1e0)](_0x532295){const _0x51b307=a4_0x3ed9a4;return await this[_0x51b307(0x1c4)](),this[_0x51b307(0x1bd)][_0x532295]&&delete this[_0x51b307(0x1bd)][_0x532295],!!this[_0x51b307(0x1bd)][_0x532295];}};function a4_0x2443(){const _0x4cf706=['__metadata','17689cVHnkB','Provide','EVENT_KEY','2249962XSEfoK','length','event','design:type','__decorate','once','priority','App','getOwnPropertyDescriptor','push','232417ajXHso','2WdVlZq','resolve','decorate','310064ryAaQo','getAsync','metadata','2415390VrBJQT','default','9PmXeZq','@midwayjs/decorator','off','name','init','propertyKey','285504IctzPe','781269ZgJgoN','emit','sortByDesc','../interface','Scope','function','defineProperty','listevent','EVENT_ON_KEY','__esModule','getClassMetadata','104rqfpIc','object','app','getListevent','5jVTmiw','EventService'];a4_0x2443=function(){return _0x4cf706;};return a4_0x2443();}__decorate([(0x0,decorator_1[a4_0x3ed9a4(0x1d2)])(),__metadata(a4_0x3ed9a4(0x1ce),Object)],EventService['prototype'],a4_0x3ed9a4(0x1c3),void 0x0),EventService=__decorate([(0x0,decorator_1[a4_0x3ed9a4(0x1c9)])(a4_0x3ed9a4(0x1cd)),(0x0,decorator_1[a4_0x3ed9a4(0x1e9)])(decorator_1['ScopeEnum']['Singleton'])],EventService),exports[a4_0x3ed9a4(0x1c6)]=EventService;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anncic-api/event",
3
- "version": "1.0.15",
3
+ "version": "1.0.16",
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": "a13c29280dd3c6b411b873882e30df72a5e85c51"
24
+ "gitHead": "0ff6324a04283726d1e958f88999e4bbac666af5"
25
25
  }