@anncic-api/event 1.4.0 → 1.4.2

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_0x487746=a0_0x2081;(function(_0x10a9ff,_0x32465e){var _0x4e9fad=a0_0x2081,_0xc2b11e=_0x10a9ff();while(!![]){try{var _0xd0fbb9=-parseInt(_0x4e9fad(0x9b))/0x1*(parseInt(_0x4e9fad(0x97))/0x2)+-parseInt(_0x4e9fad(0x98))/0x3+-parseInt(_0x4e9fad(0xb0))/0x4+parseInt(_0x4e9fad(0x9d))/0x5+-parseInt(_0x4e9fad(0x9c))/0x6*(parseInt(_0x4e9fad(0xa7))/0x7)+-parseInt(_0x4e9fad(0x9f))/0x8+parseInt(_0x4e9fad(0xb1))/0x9;if(_0xd0fbb9===_0x32465e)break;else _0xc2b11e['push'](_0xc2b11e['shift']());}catch(_0x228a92){_0xc2b11e['push'](_0xc2b11e['shift']());}}}(a0_0x1066,0xab7fe));var __decorate=this&&this[a0_0x487746(0xab)]||function(_0x1ade7b,_0x25f4a0,_0x249bad,_0x2f710e){var _0x53d488=a0_0x487746,_0x37bd0d=arguments[_0x53d488(0xa9)],_0x116028=_0x37bd0d<0x3?_0x25f4a0:_0x2f710e===null?_0x2f710e=Object['getOwnPropertyDescriptor'](_0x25f4a0,_0x249bad):_0x2f710e,_0x3735eb;if(typeof Reflect===_0x53d488(0xa8)&&typeof Reflect[_0x53d488(0xaa)]===_0x53d488(0xa1))_0x116028=Reflect[_0x53d488(0xaa)](_0x1ade7b,_0x25f4a0,_0x249bad,_0x2f710e);else{for(var _0xe9f917=_0x1ade7b[_0x53d488(0xa9)]-0x1;_0xe9f917>=0x0;_0xe9f917--)if(_0x3735eb=_0x1ade7b[_0xe9f917])_0x116028=(_0x37bd0d<0x3?_0x3735eb(_0x116028):_0x37bd0d>0x3?_0x3735eb(_0x25f4a0,_0x249bad,_0x116028):_0x3735eb(_0x25f4a0,_0x249bad))||_0x116028;}return _0x37bd0d>0x3&&_0x116028&&Object[_0x53d488(0xa2)](_0x25f4a0,_0x249bad,_0x116028),_0x116028;},__metadata=this&&this[a0_0x487746(0x99)]||function(_0x3305ca,_0x40d8c0){var _0x58a29d=a0_0x487746;if(typeof Reflect==='object'&&typeof Reflect[_0x58a29d(0xa4)]===_0x58a29d(0xa1))return Reflect[_0x58a29d(0xa4)](_0x3305ca,_0x40d8c0);};Object[a0_0x487746(0xa2)](exports,a0_0x487746(0xa0),{'value':!![]}),exports[a0_0x487746(0xad)]=void 0x0;const core_1=require(a0_0x487746(0xb2)),core_2=require('@midwayjs/core');function a0_0x2081(_0xa9b43e,_0x68bb11){var _0x106676=a0_0x1066();return a0_0x2081=function(_0x208165,_0x44848a){_0x208165=_0x208165-0x97;var _0x2e08ce=_0x106676[_0x208165];return _0x2e08ce;},a0_0x2081(_0xa9b43e,_0x68bb11);}function a0_0x1066(){var _0x5affb2=['length','decorate','__decorate','MidwayConfigService','CustomConfiguration','Inject','decorator','785152GgBbwr','26765190dHhSZh','@midwayjs/core','2xTNOwo','1456233IiAGue','__metadata','design:type','966003DMXMTv','78DlgbKM','801220VWuvmq','prototype','2995400aFGTOj','__esModule','function','defineProperty','config','metadata','onReady','anncic-api:event','220535Ksrnax','object'];a0_0x1066=function(){return _0x5affb2;};return a0_0x1066();}let CustomConfiguration=class CustomConfiguration{async[a0_0x487746(0xa5)](){}};__decorate([(0x0,core_1['Inject'])(),__metadata(a0_0x487746(0x9a),core_2[a0_0x487746(0xac)])],CustomConfiguration[a0_0x487746(0x9e)],a0_0x487746(0xa3),void 0x0),__decorate([(0x0,core_1[a0_0x487746(0xae)])(),__metadata('design:type',core_2['MidwayDecoratorService'])],CustomConfiguration[a0_0x487746(0x9e)],a0_0x487746(0xaf),void 0x0),CustomConfiguration=__decorate([(0x0,core_1['Configuration'])({'conflictCheck':![],'namespace':a0_0x487746(0xa6)})],CustomConfiguration),exports[a0_0x487746(0xad)]=CustomConfiguration;
1
+ 'use strict';var a0_0x3460a4=a0_0x5934;(function(_0x4ae4d4,_0x19b044){var _0xc72cc7=a0_0x5934,_0x386a16=_0x4ae4d4();while(!![]){try{var _0x21bb43=-parseInt(_0xc72cc7(0x1ec))/0x1*(parseInt(_0xc72cc7(0x1ef))/0x2)+parseInt(_0xc72cc7(0x1da))/0x3*(-parseInt(_0xc72cc7(0x1db))/0x4)+parseInt(_0xc72cc7(0x1f1))/0x5*(parseInt(_0xc72cc7(0x1e4))/0x6)+parseInt(_0xc72cc7(0x1df))/0x7+-parseInt(_0xc72cc7(0x1e0))/0x8+-parseInt(_0xc72cc7(0x1dc))/0x9*(-parseInt(_0xc72cc7(0x1e9))/0xa)+parseInt(_0xc72cc7(0x1d9))/0xb;if(_0x21bb43===_0x19b044)break;else _0x386a16['push'](_0x386a16['shift']());}catch(_0x5e5322){_0x386a16['push'](_0x386a16['shift']());}}}(a0_0x29b8,0xee669));var __decorate=this&&this['__decorate']||function(_0x44714e,_0x26abfd,_0x3d8ab0,_0x5316a0){var _0x3f97bb=a0_0x5934,_0x14a9e5=arguments['length'],_0x213c09=_0x14a9e5<0x3?_0x26abfd:_0x5316a0===null?_0x5316a0=Object['getOwnPropertyDescriptor'](_0x26abfd,_0x3d8ab0):_0x5316a0,_0x30f798;if(typeof Reflect==='object'&&typeof Reflect['decorate']===_0x3f97bb(0x1e7))_0x213c09=Reflect[_0x3f97bb(0x1f2)](_0x44714e,_0x26abfd,_0x3d8ab0,_0x5316a0);else{for(var _0x6078c4=_0x44714e['length']-0x1;_0x6078c4>=0x0;_0x6078c4--)if(_0x30f798=_0x44714e[_0x6078c4])_0x213c09=(_0x14a9e5<0x3?_0x30f798(_0x213c09):_0x14a9e5>0x3?_0x30f798(_0x26abfd,_0x3d8ab0,_0x213c09):_0x30f798(_0x26abfd,_0x3d8ab0))||_0x213c09;}return _0x14a9e5>0x3&&_0x213c09&&Object[_0x3f97bb(0x1f0)](_0x26abfd,_0x3d8ab0,_0x213c09),_0x213c09;},__metadata=this&&this[a0_0x3460a4(0x1e6)]||function(_0x45110c,_0x166422){var _0x9e34c8=a0_0x3460a4;if(typeof Reflect===_0x9e34c8(0x1d8)&&typeof Reflect[_0x9e34c8(0x1eb)]===_0x9e34c8(0x1e7))return Reflect[_0x9e34c8(0x1eb)](_0x45110c,_0x166422);};Object[a0_0x3460a4(0x1f0)](exports,a0_0x3460a4(0x1ea),{'value':!![]}),exports['CustomConfiguration']=void 0x0;const core_1=require(a0_0x3460a4(0x1e8)),core_2=require(a0_0x3460a4(0x1e8));function a0_0x5934(_0x174919,_0x14883e){var _0x29b89d=a0_0x29b8();return a0_0x5934=function(_0x593437,_0x1484b3){_0x593437=_0x593437-0x1d8;var _0x58590a=_0x29b89d[_0x593437];return _0x58590a;},a0_0x5934(_0x174919,_0x14883e);}function a0_0x29b8(){var _0x3e4682=['1924CCuecX','672939JmsuDs','Inject','onReady','2602138subUnO','13575864nxrQpm','Configuration','design:type','config','18SFPSOu','CustomConfiguration','__metadata','function','@midwayjs/core','60GxlkJx','__esModule','metadata','2gqIbms','MidwayDecoratorService','prototype','1449878zKhbai','defineProperty','915795viqNeL','decorate','object','36690753aBVuYk','3630efuHPm'];a0_0x29b8=function(){return _0x3e4682;};return a0_0x29b8();}let CustomConfiguration=class CustomConfiguration{async[a0_0x3460a4(0x1de)](){}};__decorate([(0x0,core_1[a0_0x3460a4(0x1dd)])(),__metadata(a0_0x3460a4(0x1e2),core_2['MidwayConfigService'])],CustomConfiguration[a0_0x3460a4(0x1ee)],a0_0x3460a4(0x1e3),void 0x0),__decorate([(0x0,core_1[a0_0x3460a4(0x1dd)])(),__metadata(a0_0x3460a4(0x1e2),core_2[a0_0x3460a4(0x1ed)])],CustomConfiguration[a0_0x3460a4(0x1ee)],'decorator',void 0x0),CustomConfiguration=__decorate([(0x0,core_1[a0_0x3460a4(0x1e1)])({'conflictCheck':![],'namespace':'anncic-api:event'})],CustomConfiguration),exports[a0_0x3460a4(0x1e5)]=CustomConfiguration;
@@ -1 +1 @@
1
- 'use strict';const a1_0x405603=a1_0x1ac6;(function(_0x4fd061,_0x4a1c34){const _0x23078b=a1_0x1ac6,_0x425fa6=_0x4fd061();while(!![]){try{const _0x112075=-parseInt(_0x23078b(0x165))/0x1+-parseInt(_0x23078b(0x164))/0x2*(parseInt(_0x23078b(0x16d))/0x3)+-parseInt(_0x23078b(0x169))/0x4+-parseInt(_0x23078b(0x16e))/0x5+parseInt(_0x23078b(0x166))/0x6+parseInt(_0x23078b(0x16b))/0x7+parseInt(_0x23078b(0x167))/0x8*(parseInt(_0x23078b(0x16a))/0x9);if(_0x112075===_0x4a1c34)break;else _0x425fa6['push'](_0x425fa6['shift']());}catch(_0x6502e6){_0x425fa6['push'](_0x425fa6['shift']());}}}(a1_0x17f0,0x7fe90));function a1_0x17f0(){const _0x1484d0=['defineProperty','Event','Provide','Scope','Request','12jnxJUk','219624ltMHYo','796794FNearo','2549608pjmshK','EVENT_KEY','2492148qjfEpR','63qvwZrC','1908781eeUUQp','../interface','416682MWTEzH','2182220hQEKSt','attachClassMetadata'];a1_0x17f0=function(){return _0x1484d0;};return a1_0x17f0();}function a1_0x1ac6(_0x365cd0,_0x32ba13){const _0x17f0ac=a1_0x17f0();return a1_0x1ac6=function(_0x1ac6eb,_0x254343){_0x1ac6eb=_0x1ac6eb-0x163;let _0x22241f=_0x17f0ac[_0x1ac6eb];return _0x22241f;},a1_0x1ac6(_0x365cd0,_0x32ba13);}Object[a1_0x405603(0x170)](exports,'__esModule',{'value':!![]}),exports[a1_0x405603(0x171)]=void 0x0;const core_1=require('@midwayjs/core'),interface_1=require(a1_0x405603(0x16c));function Event(){return _0x481c72=>{const _0x51d578=a1_0x1ac6;(0x0,core_1[_0x51d578(0x172)])()(_0x481c72),(0x0,core_1['saveModule'])(interface_1[_0x51d578(0x168)],_0x481c72),(0x0,core_1[_0x51d578(0x173)])(core_1['ScopeEnum'][_0x51d578(0x163)],{'allowDowngrade':!![]})(_0x481c72);};}exports['Event']=Event,Event['On']=function(_0x1211ca,_0x4ff973=0x0){return(_0xbdc4a2,_0x2a33f0,_0x8631c2)=>{const _0x219638=a1_0x1ac6;return(0x0,core_1[_0x219638(0x16f)])(interface_1['EVENT_ON_KEY'],{'name':_0x1211ca,'priority':_0x4ff973,'propertyKey':_0x2a33f0,'descriptor':_0x8631c2},_0xbdc4a2),_0x8631c2;};};
1
+ 'use strict';const a1_0x201e16=a1_0x2c35;(function(_0x59b674,_0x2c5eb1){const _0x4ae900=a1_0x2c35,_0x5e90a5=_0x59b674();while(!![]){try{const _0x8a0ed4=-parseInt(_0x4ae900(0x182))/0x1+-parseInt(_0x4ae900(0x18b))/0x2*(-parseInt(_0x4ae900(0x190))/0x3)+parseInt(_0x4ae900(0x185))/0x4+parseInt(_0x4ae900(0x189))/0x5+-parseInt(_0x4ae900(0x18f))/0x6+-parseInt(_0x4ae900(0x183))/0x7+-parseInt(_0x4ae900(0x187))/0x8;if(_0x8a0ed4===_0x2c5eb1)break;else _0x5e90a5['push'](_0x5e90a5['shift']());}catch(_0x433195){_0x5e90a5['push'](_0x5e90a5['shift']());}}}(a1_0x49d6,0x1bc8b));function a1_0x49d6(){const _0x556b8f=['attachClassMetadata','Scope','EVENT_ON_KEY','149124VhRwnB','24027WFISYh','saveModule','ScopeEnum','__esModule','Request','8226WqOWty','1424052ORlCJo','EVENT_KEY','365604psZJPf','defineProperty','1095768MLQVVP','@midwayjs/core','1058410xOMvDS','Provide','46ZVSgfH'];a1_0x49d6=function(){return _0x556b8f;};return a1_0x49d6();}function a1_0x2c35(_0x1d9968,_0x28bd58){const _0x49d69b=a1_0x49d6();return a1_0x2c35=function(_0x2c352e,_0x4e69eb){_0x2c352e=_0x2c352e-0x182;let _0x5a9b28=_0x49d69b[_0x2c352e];return _0x5a9b28;},a1_0x2c35(_0x1d9968,_0x28bd58);}Object[a1_0x201e16(0x186)](exports,a1_0x201e16(0x193),{'value':!![]}),exports['Event']=void 0x0;const core_1=require(a1_0x201e16(0x188)),interface_1=require('../interface');function Event(){return _0x420478=>{const _0x316a62=a1_0x2c35;(0x0,core_1[_0x316a62(0x18a)])()(_0x420478),(0x0,core_1[_0x316a62(0x191)])(interface_1[_0x316a62(0x184)],_0x420478),(0x0,core_1[_0x316a62(0x18d)])(core_1[_0x316a62(0x192)][_0x316a62(0x194)],{'allowDowngrade':!![]})(_0x420478);};}exports['Event']=Event,Event['On']=function(_0xb8bbae,_0x32c129=0x0){return(_0x2e3b0f,_0x399952,_0x5c9740)=>{const _0xb2c013=a1_0x2c35;return(0x0,core_1[_0xb2c013(0x18c)])(interface_1[_0xb2c013(0x18e)],{'name':_0xb8bbae,'priority':_0x32c129,'propertyKey':_0x399952,'descriptor':_0x5c9740},_0x2e3b0f),_0x5c9740;};};
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';var a2_0xf00a6=a2_0x5442;(function(_0x2a896f,_0xed005f){var _0x21dd19=a2_0x5442,_0x50ec82=_0x2a896f();while(!![]){try{var _0x4297b6=parseInt(_0x21dd19(0xa2))/0x1+parseInt(_0x21dd19(0xa6))/0x2*(parseInt(_0x21dd19(0x97))/0x3)+parseInt(_0x21dd19(0x95))/0x4*(parseInt(_0x21dd19(0x9a))/0x5)+parseInt(_0x21dd19(0xa1))/0x6*(-parseInt(_0x21dd19(0xa7))/0x7)+parseInt(_0x21dd19(0xa4))/0x8+-parseInt(_0x21dd19(0xa3))/0x9*(parseInt(_0x21dd19(0x99))/0xa)+parseInt(_0x21dd19(0x9f))/0xb*(-parseInt(_0x21dd19(0x9b))/0xc);if(_0x4297b6===_0xed005f)break;else _0x50ec82['push'](_0x50ec82['shift']());}catch(_0x3f1a17){_0x50ec82['push'](_0x50ec82['shift']());}}}(a2_0xe462,0xa64ca));Object[a2_0xf00a6(0x9e)](exports,'__esModule',{'value':!![]}),exports['Configuration']=exports[a2_0xf00a6(0x98)]=exports[a2_0xf00a6(0xa0)]=void 0x0;function a2_0x5442(_0x6ffdc9,_0x624d71){var _0xe462ec=a2_0xe462();return a2_0x5442=function(_0x544218,_0x4f1e45){_0x544218=_0x544218-0x95;var _0x38c44f=_0xe462ec[_0x544218];return _0x38c44f;},a2_0x5442(_0x6ffdc9,_0x624d71);}function a2_0xe462(){var _0x155c25=['3026514uXgLMx','836008fYbKPM','17118qfOXFI','3500976xwWcQb','Configuration','14TTjHzk','14tjtuAr','32IqeXvr','./configuration','60453uDFAyh','EventService','580ENmbcj','309795ksvTvQ','1320516lrbaEy','./decorator/Event','CustomConfiguration','defineProperty','11wlmVKO','Event'];a2_0xe462=function(){return _0x155c25;};return a2_0xe462();}var Event_1=require(a2_0xf00a6(0x9c));Object[a2_0xf00a6(0x9e)](exports,a2_0xf00a6(0xa0),{'enumerable':!![],'get':function(){var _0x47b006=a2_0xf00a6;return Event_1[_0x47b006(0xa0)];}});var EventService_1=require('./service/EventService');Object['defineProperty'](exports,a2_0xf00a6(0x98),{'enumerable':!![],'get':function(){var _0x225d1b=a2_0xf00a6;return EventService_1[_0x225d1b(0x98)];}});var configuration_1=require(a2_0xf00a6(0x96));Object[a2_0xf00a6(0x9e)](exports,a2_0xf00a6(0xa5),{'enumerable':!![],'get':function(){var _0x3885ae=a2_0xf00a6;return configuration_1[_0x3885ae(0x9d)];}});
1
+ 'use strict';function a2_0x1128(_0xc3153f,_0x51a310){var _0x6dccf5=a2_0x6dcc();return a2_0x1128=function(_0x112852,_0x12a1e5){_0x112852=_0x112852-0x7c;var _0x2cee92=_0x6dccf5[_0x112852];return _0x2cee92;},a2_0x1128(_0xc3153f,_0x51a310);}var a2_0x525bc5=a2_0x1128;(function(_0x3941a7,_0x31db46){var _0x3da12f=a2_0x1128,_0x1aa240=_0x3941a7();while(!![]){try{var _0x378fee=-parseInt(_0x3da12f(0x87))/0x1*(-parseInt(_0x3da12f(0x7d))/0x2)+-parseInt(_0x3da12f(0x84))/0x3+parseInt(_0x3da12f(0x8f))/0x4*(parseInt(_0x3da12f(0x80))/0x5)+parseInt(_0x3da12f(0x7f))/0x6*(parseInt(_0x3da12f(0x85))/0x7)+parseInt(_0x3da12f(0x86))/0x8+-parseInt(_0x3da12f(0x90))/0x9*(-parseInt(_0x3da12f(0x8d))/0xa)+-parseInt(_0x3da12f(0x7e))/0xb*(parseInt(_0x3da12f(0x8a))/0xc);if(_0x378fee===_0x31db46)break;else _0x1aa240['push'](_0x1aa240['shift']());}catch(_0x4ae817){_0x1aa240['push'](_0x1aa240['shift']());}}}(a2_0x6dcc,0x7b9be));function a2_0x6dcc(){var _0x5d55f6=['./decorator/Event','7161610qKCJbC','defineProperty','44648HfdxYS','9yiiaKY','CustomConfiguration','413722CAxsFt','14179UceHAo','85422GIeBqZ','185Gnzroq','Configuration','Event','./configuration','1312590hVzGxE','35yPNWOs','1547576puMWmK','4ZPaaPk','./service/EventService','EventService','11892DPhBFy','__esModule'];a2_0x6dcc=function(){return _0x5d55f6;};return a2_0x6dcc();}Object['defineProperty'](exports,a2_0x525bc5(0x8b),{'value':!![]}),exports[a2_0x525bc5(0x81)]=exports['EventService']=exports[a2_0x525bc5(0x82)]=void 0x0;var Event_1=require(a2_0x525bc5(0x8c));Object['defineProperty'](exports,'Event',{'enumerable':!![],'get':function(){return Event_1['Event'];}});var EventService_1=require(a2_0x525bc5(0x88));Object[a2_0x525bc5(0x8e)](exports,a2_0x525bc5(0x89),{'enumerable':!![],'get':function(){var _0x1b01a2=a2_0x525bc5;return EventService_1[_0x1b01a2(0x89)];}});var configuration_1=require(a2_0x525bc5(0x83));Object[a2_0x525bc5(0x8e)](exports,a2_0x525bc5(0x81),{'enumerable':!![],'get':function(){var _0x45dde=a2_0x525bc5;return configuration_1[_0x45dde(0x7c)];}});
package/dist/interface.js CHANGED
@@ -1 +1 @@
1
- 'use strict';var a3_0x416d87=a3_0x3dd1;(function(_0x13c965,_0x362b91){var _0x3b3a0e=a3_0x3dd1,_0x2f5fd9=_0x13c965();while(!![]){try{var _0xad2b15=parseInt(_0x3b3a0e(0x19e))/0x1*(parseInt(_0x3b3a0e(0x1a2))/0x2)+parseInt(_0x3b3a0e(0x1a7))/0x3+-parseInt(_0x3b3a0e(0x1a9))/0x4*(-parseInt(_0x3b3a0e(0x1ab))/0x5)+parseInt(_0x3b3a0e(0x1a1))/0x6+parseInt(_0x3b3a0e(0x1aa))/0x7*(-parseInt(_0x3b3a0e(0x1a6))/0x8)+-parseInt(_0x3b3a0e(0x1a8))/0x9*(-parseInt(_0x3b3a0e(0x19d))/0xa)+-parseInt(_0x3b3a0e(0x1ac))/0xb;if(_0xad2b15===_0x362b91)break;else _0x2f5fd9['push'](_0x2f5fd9['shift']());}catch(_0x24b8a1){_0x2f5fd9['push'](_0x2f5fd9['shift']());}}}(a3_0x5dee,0x2bd2e));function a3_0x3dd1(_0x478a54,_0x3f98d8){var _0x5dee21=a3_0x5dee();return a3_0x3dd1=function(_0x3dd168,_0x5c458d){_0x3dd168=_0x3dd168-0x19d;var _0x263307=_0x5dee21[_0x3dd168];return _0x263307;},a3_0x3dd1(_0x478a54,_0x3f98d8);}function a3_0x5dee(){var _0x45ec66=['36ydkAlQ','75084aggNLN','182ZPVxMJ','85JdFBKA','7392330ZylAav','738830objkjK','1BfLeTZ','anncic-api:event:on','__esModule','491100bQGngs','238718ReFSnL','defineProperty','EVENT_KEY','EVENT_ON_KEY','59672WVirWE','688854lHoxKg'];a3_0x5dee=function(){return _0x45ec66;};return a3_0x5dee();}Object[a3_0x416d87(0x1a3)](exports,a3_0x416d87(0x1a0),{'value':!![]}),exports[a3_0x416d87(0x1a5)]=exports['EVENT_KEY']=void 0x0,exports[a3_0x416d87(0x1a4)]='anncic-api:event',exports[a3_0x416d87(0x1a5)]=a3_0x416d87(0x19f);
1
+ 'use strict';var a3_0x6594d=a3_0x2c54;function a3_0x2c54(_0x4b2090,_0x1dfc64){var _0x217bc9=a3_0x217b();return a3_0x2c54=function(_0x2c5415,_0x375740){_0x2c5415=_0x2c5415-0x74;var _0x213535=_0x217bc9[_0x2c5415];return _0x213535;},a3_0x2c54(_0x4b2090,_0x1dfc64);}(function(_0xd498ff,_0x5469c1){var _0x26423b=a3_0x2c54,_0xd2ccdb=_0xd498ff();while(!![]){try{var _0x3ca58a=parseInt(_0x26423b(0x7a))/0x1*(-parseInt(_0x26423b(0x74))/0x2)+parseInt(_0x26423b(0x82))/0x3*(parseInt(_0x26423b(0x81))/0x4)+parseInt(_0x26423b(0x7d))/0x5+-parseInt(_0x26423b(0x79))/0x6+parseInt(_0x26423b(0x7f))/0x7*(parseInt(_0x26423b(0x78))/0x8)+parseInt(_0x26423b(0x7c))/0x9+parseInt(_0x26423b(0x7b))/0xa*(-parseInt(_0x26423b(0x80))/0xb);if(_0x3ca58a===_0x5469c1)break;else _0xd2ccdb['push'](_0xd2ccdb['shift']());}catch(_0x184e73){_0xd2ccdb['push'](_0xd2ccdb['shift']());}}}(a3_0x217b,0xea652));function a3_0x217b(){var _0x5954f3=['517KjIrWb','10pFbXyh','1391697rcdbzK','8584310MoFSnz','anncic-api:event:on','105cHPnLI','1231769cKZJwf','3368WtAMNQ','558UmATUR','6786TfWgcN','defineProperty','EVENT_KEY','anncic-api:event','841064udfAFk','4673160xviZJr'];a3_0x217b=function(){return _0x5954f3;};return a3_0x217b();}Object[a3_0x6594d(0x75)](exports,'__esModule',{'value':!![]}),exports['EVENT_ON_KEY']=exports[a3_0x6594d(0x76)]=void 0x0,exports[a3_0x6594d(0x76)]=a3_0x6594d(0x77),exports['EVENT_ON_KEY']=a3_0x6594d(0x7e);
@@ -1 +1 @@
1
- 'use strict';const a4_0x25d076=a4_0x39c8;(function(_0x20ac2e,_0x3bc0c7){const _0x47f970=a4_0x39c8,_0x5631b3=_0x20ac2e();while(!![]){try{const _0x3642fd=parseInt(_0x47f970(0x97))/0x1+-parseInt(_0x47f970(0x85))/0x2+-parseInt(_0x47f970(0x96))/0x3*(parseInt(_0x47f970(0x92))/0x4)+-parseInt(_0x47f970(0x81))/0x5*(parseInt(_0x47f970(0x88))/0x6)+parseInt(_0x47f970(0x7b))/0x7+-parseInt(_0x47f970(0xa0))/0x8+-parseInt(_0x47f970(0x86))/0x9*(-parseInt(_0x47f970(0x87))/0xa);if(_0x3642fd===_0x3bc0c7)break;else _0x5631b3['push'](_0x5631b3['shift']());}catch(_0x24d0cb){_0x5631b3['push'](_0x5631b3['shift']());}}}(a4_0x4b11,0xe7b4a));var __decorate=this&&this['__decorate']||function(_0x278130,_0x4a6fbe,_0x244450,_0x559b09){const _0x2790b7=a4_0x39c8;var _0x382a2a=arguments[_0x2790b7(0x9a)],_0x2ec0a5=_0x382a2a<0x3?_0x4a6fbe:_0x559b09===null?_0x559b09=Object[_0x2790b7(0x7c)](_0x4a6fbe,_0x244450):_0x559b09,_0x34c890;if(typeof Reflect===_0x2790b7(0x89)&&typeof Reflect['decorate']===_0x2790b7(0x84))_0x2ec0a5=Reflect[_0x2790b7(0x94)](_0x278130,_0x4a6fbe,_0x244450,_0x559b09);else{for(var _0x304a5a=_0x278130[_0x2790b7(0x9a)]-0x1;_0x304a5a>=0x0;_0x304a5a--)if(_0x34c890=_0x278130[_0x304a5a])_0x2ec0a5=(_0x382a2a<0x3?_0x34c890(_0x2ec0a5):_0x382a2a>0x3?_0x34c890(_0x4a6fbe,_0x244450,_0x2ec0a5):_0x34c890(_0x4a6fbe,_0x244450))||_0x2ec0a5;}return _0x382a2a>0x3&&_0x2ec0a5&&Object[_0x2790b7(0x9e)](_0x4a6fbe,_0x244450,_0x2ec0a5),_0x2ec0a5;},__metadata=this&&this['__metadata']||function(_0x119fd2,_0x261215){const _0x1c17d9=a4_0x39c8;if(typeof Reflect===_0x1c17d9(0x89)&&typeof Reflect[_0x1c17d9(0x78)]===_0x1c17d9(0x84))return Reflect[_0x1c17d9(0x78)](_0x119fd2,_0x261215);};function a4_0x39c8(_0x520cca,_0x40b618){const _0x4b1171=a4_0x4b11();return a4_0x39c8=function(_0x39c84b,_0xddf8f2){_0x39c84b=_0x39c84b-0x78;let _0x1026df=_0x4b1171[_0x39c84b];return _0x1026df;},a4_0x39c8(_0x520cca,_0x40b618);}Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[a4_0x25d076(0x82)]=void 0x0;function a4_0x4b11(){const _0x8c0271=['EVENT_KEY','774648cKGBUo','1846110mbHpLC','sortByDesc','listevent','length','propertyKey','emit','event','defineProperty','default','11791360iUmOhZ','listModule','init','getApplicationContext','metadata','Singleton','design:type','3555125dQetKQ','getOwnPropertyDescriptor','getAsync','bind','ScopeEnum','all','5045Oqjatg','EventService','name','function','2147272BeJRJY','9NqFQbs','27919120ooZavx','2130IhZtXw','object','../interface','priority','off','resolve','prototype','App','getListevent','push','20udkisi','app','decorate'];a4_0x4b11=function(){return _0x8c0271;};return a4_0x4b11();}const collect_js_1=require('collect.js'),core_1=require('@midwayjs/core'),interface_1=require(a4_0x25d076(0x8a));let EventService=class EventService{constructor(){this['init']=![];}async[a4_0x25d076(0x90)](_0x41fc1b){const _0x22a5ff=a4_0x25d076;if(!this[_0x22a5ff(0xa2)]){this['init']=!![],this[_0x22a5ff(0x99)]={};for(const _0x3e7bde of(0x0,core_1[_0x22a5ff(0xa1)])(interface_1[_0x22a5ff(0x95)])||[]){const _0x6720a6=await this[_0x22a5ff(0x93)][_0x22a5ff(0xa3)]()[_0x22a5ff(0x7d)](_0x3e7bde);for(const _0x3b689b of(0x0,core_1['getClassMetadata'])(interface_1['EVENT_ON_KEY'],_0x3e7bde)||[]){typeof(_0x6720a6[_0x3b689b[_0x22a5ff(0x9b)]]=='function')&&(!this[_0x22a5ff(0x99)][_0x3b689b[_0x22a5ff(0x83)]]&&(this[_0x22a5ff(0x99)][_0x3b689b[_0x22a5ff(0x83)]]=[]),this[_0x22a5ff(0x99)][_0x3b689b[_0x22a5ff(0x83)]][_0x22a5ff(0x91)]({'priority':_0x3b689b[_0x22a5ff(0x8b)],'resolve':_0x6720a6[_0x3b689b['propertyKey']][_0x22a5ff(0x7e)](_0x6720a6),'propertyKey':_0x3e7bde['name']+'@'+_0x3b689b[_0x22a5ff(0x9b)]}));}}for(const _0x139a2a in this[_0x22a5ff(0x99)]){this['listevent'][_0x139a2a]=(0x0,collect_js_1[_0x22a5ff(0x9f)])(this['listevent'][_0x139a2a])[_0x22a5ff(0x98)](_0x22a5ff(0x8b))[_0x22a5ff(0x80)]();}}return _0x41fc1b?this[_0x22a5ff(0x99)][_0x41fc1b]||[]:this[_0x22a5ff(0x99)];}async[a4_0x25d076(0x9c)](_0x5400a5,..._0x34b80c){const _0x4c25e9=a4_0x25d076;var _0x2e5161,_0x10bafd;await this['getListevent']();for(let _0x1048a7 in(_0x2e5161=this[_0x4c25e9(0x99)])===null||_0x2e5161===void 0x0?void 0x0:_0x2e5161[_0x5400a5]){const _0x4c945a=(_0x10bafd=this[_0x4c25e9(0x99)][_0x5400a5])===null||_0x10bafd===void 0x0?void 0x0:_0x10bafd[_0x1048a7];(_0x4c945a===null||_0x4c945a===void 0x0?void 0x0:_0x4c945a[_0x4c25e9(0x8d)])&&typeof(_0x4c945a===null||_0x4c945a===void 0x0?void 0x0:_0x4c945a['resolve'])==_0x4c25e9(0x84)&&await _0x4c945a[_0x4c25e9(0x8d)](..._0x34b80c);}}async['once'](_0x47eb7a,..._0x1caabf){const _0x20c34f=a4_0x25d076;return await this[_0x20c34f(0x90)](),await this['emit'](_0x47eb7a,..._0x1caabf),this[_0x20c34f(0x8c)](_0x47eb7a);}async['off'](_0x5894ee){const _0x462f68=a4_0x25d076;return await this[_0x462f68(0x90)](),this['listevent'][_0x5894ee]&&delete this[_0x462f68(0x99)][_0x5894ee],!!this[_0x462f68(0x99)][_0x5894ee];}};__decorate([(0x0,core_1[a4_0x25d076(0x8f)])(),__metadata(a4_0x25d076(0x7a),Object)],EventService[a4_0x25d076(0x8e)],a4_0x25d076(0x93),void 0x0),EventService=__decorate([(0x0,core_1['Provide'])(a4_0x25d076(0x9d)),(0x0,core_1['Scope'])(core_1[a4_0x25d076(0x7f)][a4_0x25d076(0x79)])],EventService),exports[a4_0x25d076(0x82)]=EventService;
1
+ 'use strict';const a4_0x25ae9b=a4_0x570d;function a4_0x169c(){const _0x4f6d47=['emit','decorate','resolve','2732964kgPEgv','prototype','init','Provide','Singleton','length','3177864wCPpQl','object','390CKTdxd','../interface','10407600fWlsbT','getClassMetadata','propertyKey','app','getAsync','function','getListevent','54148tjRVsF','__metadata','metadata','sortByDesc','App','EventService','design:type','default','7jFaTxZ','push','11qARiOJ','2GKmeyv','__decorate','1401285XJEDYY','name','off','31176800HdeBrA','bind','listevent','__esModule','@midwayjs/core','event','collect.js','getApplicationContext','all','EVENT_ON_KEY','defineProperty','ScopeEnum','2506065kueuwp'];a4_0x169c=function(){return _0x4f6d47;};return a4_0x169c();}(function(_0x2043c6,_0x446f7b){const _0xc0edd4=a4_0x570d,_0x2ba835=_0x2043c6();while(!![]){try{const _0x2ecbbd=-parseInt(_0xc0edd4(0x1c9))/0x1+-parseInt(_0xc0edd4(0x1c7))/0x2*(parseInt(_0xc0edd4(0x1d8))/0x3)+parseInt(_0xc0edd4(0x1bc))/0x4*(parseInt(_0xc0edd4(0x1b3))/0x5)+parseInt(_0xc0edd4(0x1dc))/0x6*(-parseInt(_0xc0edd4(0x1c4))/0x7)+parseInt(_0xc0edd4(0x1b1))/0x8+-parseInt(_0xc0edd4(0x1b5))/0x9+parseInt(_0xc0edd4(0x1cc))/0xa*(parseInt(_0xc0edd4(0x1c6))/0xb);if(_0x2ecbbd===_0x446f7b)break;else _0x2ba835['push'](_0x2ba835['shift']());}catch(_0x346868){_0x2ba835['push'](_0x2ba835['shift']());}}}(a4_0x169c,0xb0559));function a4_0x570d(_0x319297,_0x515740){const _0x169c42=a4_0x169c();return a4_0x570d=function(_0x570dc0,_0x5364f4){_0x570dc0=_0x570dc0-0x1af;let _0x4702e4=_0x169c42[_0x570dc0];return _0x4702e4;},a4_0x570d(_0x319297,_0x515740);}var __decorate=this&&this[a4_0x25ae9b(0x1c8)]||function(_0x528421,_0x37a557,_0x1ae546,_0x2816bd){const _0xb3c582=a4_0x25ae9b;var _0x4929b7=arguments[_0xb3c582(0x1b0)],_0x50df2f=_0x4929b7<0x3?_0x37a557:_0x2816bd===null?_0x2816bd=Object['getOwnPropertyDescriptor'](_0x37a557,_0x1ae546):_0x2816bd,_0x2554a5;if(typeof Reflect===_0xb3c582(0x1b2)&&typeof Reflect[_0xb3c582(0x1da)]==='function')_0x50df2f=Reflect[_0xb3c582(0x1da)](_0x528421,_0x37a557,_0x1ae546,_0x2816bd);else{for(var _0x138892=_0x528421['length']-0x1;_0x138892>=0x0;_0x138892--)if(_0x2554a5=_0x528421[_0x138892])_0x50df2f=(_0x4929b7<0x3?_0x2554a5(_0x50df2f):_0x4929b7>0x3?_0x2554a5(_0x37a557,_0x1ae546,_0x50df2f):_0x2554a5(_0x37a557,_0x1ae546))||_0x50df2f;}return _0x4929b7>0x3&&_0x50df2f&&Object[_0xb3c582(0x1d6)](_0x37a557,_0x1ae546,_0x50df2f),_0x50df2f;},__metadata=this&&this[a4_0x25ae9b(0x1bd)]||function(_0x5b1b58,_0x2a0bb1){const _0x3aa7f1=a4_0x25ae9b;if(typeof Reflect==='object'&&typeof Reflect['metadata']===_0x3aa7f1(0x1ba))return Reflect[_0x3aa7f1(0x1be)](_0x5b1b58,_0x2a0bb1);};Object[a4_0x25ae9b(0x1d6)](exports,a4_0x25ae9b(0x1cf),{'value':!![]}),exports['EventService']=void 0x0;const collect_js_1=require(a4_0x25ae9b(0x1d2)),core_1=require(a4_0x25ae9b(0x1d0)),interface_1=require(a4_0x25ae9b(0x1b4));let EventService=class EventService{constructor(){const _0x2b315d=a4_0x25ae9b;this[_0x2b315d(0x1de)]=![];}async[a4_0x25ae9b(0x1bb)](_0x3b4fac){const _0x126801=a4_0x25ae9b;if(!this[_0x126801(0x1de)]){this[_0x126801(0x1de)]=!![],this[_0x126801(0x1ce)]={};for(const _0x5058ae of(0x0,core_1['listModule'])(interface_1['EVENT_KEY'])||[]){const _0x27e19c=await this[_0x126801(0x1b8)][_0x126801(0x1d3)]()[_0x126801(0x1b9)](_0x5058ae);for(const _0xa0b6a4 of(0x0,core_1[_0x126801(0x1b6)])(interface_1[_0x126801(0x1d5)],_0x5058ae)||[]){typeof(_0x27e19c[_0xa0b6a4[_0x126801(0x1b7)]]=='function')&&(!this[_0x126801(0x1ce)][_0xa0b6a4['name']]&&(this[_0x126801(0x1ce)][_0xa0b6a4[_0x126801(0x1ca)]]=[]),this[_0x126801(0x1ce)][_0xa0b6a4['name']][_0x126801(0x1c5)]({'priority':_0xa0b6a4['priority'],'resolve':_0x27e19c[_0xa0b6a4['propertyKey']][_0x126801(0x1cd)](_0x27e19c),'propertyKey':_0x5058ae[_0x126801(0x1ca)]+'@'+_0xa0b6a4[_0x126801(0x1b7)]}));}}for(const _0x4c50fb in this['listevent']){this['listevent'][_0x4c50fb]=(0x0,collect_js_1[_0x126801(0x1c3)])(this[_0x126801(0x1ce)][_0x4c50fb])[_0x126801(0x1bf)]('priority')[_0x126801(0x1d4)]();}}return _0x3b4fac?this['listevent'][_0x3b4fac]||[]:this[_0x126801(0x1ce)];}async[a4_0x25ae9b(0x1d9)](_0x19da58,..._0x3aaca9){const _0x12ba65=a4_0x25ae9b;var _0x21c2cb,_0x275e9a;await this[_0x12ba65(0x1bb)]();for(let _0x2379a7 in(_0x21c2cb=this[_0x12ba65(0x1ce)])===null||_0x21c2cb===void 0x0?void 0x0:_0x21c2cb[_0x19da58]){const _0x3b2993=(_0x275e9a=this[_0x12ba65(0x1ce)][_0x19da58])===null||_0x275e9a===void 0x0?void 0x0:_0x275e9a[_0x2379a7];(_0x3b2993===null||_0x3b2993===void 0x0?void 0x0:_0x3b2993[_0x12ba65(0x1db)])&&typeof(_0x3b2993===null||_0x3b2993===void 0x0?void 0x0:_0x3b2993[_0x12ba65(0x1db)])==_0x12ba65(0x1ba)&&await _0x3b2993[_0x12ba65(0x1db)](..._0x3aaca9);}}async['once'](_0x5ebd15,..._0x5c3d80){const _0x3b520f=a4_0x25ae9b;return await this[_0x3b520f(0x1bb)](),await this[_0x3b520f(0x1d9)](_0x5ebd15,..._0x5c3d80),this['off'](_0x5ebd15);}async[a4_0x25ae9b(0x1cb)](_0x35656b){const _0x2f6444=a4_0x25ae9b;return await this[_0x2f6444(0x1bb)](),this[_0x2f6444(0x1ce)][_0x35656b]&&delete this['listevent'][_0x35656b],!!this['listevent'][_0x35656b];}};__decorate([(0x0,core_1[a4_0x25ae9b(0x1c0)])(),__metadata(a4_0x25ae9b(0x1c2),Object)],EventService[a4_0x25ae9b(0x1dd)],a4_0x25ae9b(0x1b8),void 0x0),EventService=__decorate([(0x0,core_1[a4_0x25ae9b(0x1df)])(a4_0x25ae9b(0x1d1)),(0x0,core_1['Scope'])(core_1[a4_0x25ae9b(0x1d7)][a4_0x25ae9b(0x1af)])],EventService),exports[a4_0x25ae9b(0x1c1)]=EventService;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anncic-api/event",
3
- "version": "1.4.0",
3
+ "version": "1.4.2",
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": "b02f340da17fda4bc112d47cf3e45a107cbb3b99"
24
+ "gitHead": "a4a5924f3bb96a10e05cd93dd912ba8f793c40ba"
25
25
  }