@anncic-api/event 1.1.22 → 1.1.24

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_0x3f2933=a0_0x53a4;(function(_0x39895a,_0x3a6d73){var _0x1526f2=a0_0x53a4,_0x1f2458=_0x39895a();while(!![]){try{var _0x489881=-parseInt(_0x1526f2(0x181))/0x1*(-parseInt(_0x1526f2(0x17c))/0x2)+parseInt(_0x1526f2(0x179))/0x3*(parseInt(_0x1526f2(0x182))/0x4)+parseInt(_0x1526f2(0x188))/0x5+parseInt(_0x1526f2(0x180))/0x6+parseInt(_0x1526f2(0x185))/0x7+-parseInt(_0x1526f2(0x16e))/0x8+-parseInt(_0x1526f2(0x186))/0x9;if(_0x489881===_0x3a6d73)break;else _0x1f2458['push'](_0x1f2458['shift']());}catch(_0x274336){_0x1f2458['push'](_0x1f2458['shift']());}}}(a0_0x5928,0x2e260));var __decorate=this&&this[a0_0x3f2933(0x17e)]||function(_0x1831a8,_0x1fbbbf,_0x44d211,_0x14678f){var _0x4880f4=a0_0x3f2933,_0x535d65=arguments['length'],_0x2437c4=_0x535d65<0x3?_0x1fbbbf:_0x14678f===null?_0x14678f=Object[_0x4880f4(0x173)](_0x1fbbbf,_0x44d211):_0x14678f,_0x3e9c85;if(typeof Reflect==='object'&&typeof Reflect[_0x4880f4(0x178)]===_0x4880f4(0x187))_0x2437c4=Reflect[_0x4880f4(0x178)](_0x1831a8,_0x1fbbbf,_0x44d211,_0x14678f);else{for(var _0x5aa33d=_0x1831a8[_0x4880f4(0x17a)]-0x1;_0x5aa33d>=0x0;_0x5aa33d--)if(_0x3e9c85=_0x1831a8[_0x5aa33d])_0x2437c4=(_0x535d65<0x3?_0x3e9c85(_0x2437c4):_0x535d65>0x3?_0x3e9c85(_0x1fbbbf,_0x44d211,_0x2437c4):_0x3e9c85(_0x1fbbbf,_0x44d211))||_0x2437c4;}return _0x535d65>0x3&&_0x2437c4&&Object[_0x4880f4(0x175)](_0x1fbbbf,_0x44d211,_0x2437c4),_0x2437c4;},__metadata=this&&this[a0_0x3f2933(0x16d)]||function(_0x46aebd,_0xd0dccb){var _0x469d5f=a0_0x3f2933;if(typeof Reflect===_0x469d5f(0x17d)&&typeof Reflect[_0x469d5f(0x16f)]===_0x469d5f(0x187))return Reflect[_0x469d5f(0x16f)](_0x46aebd,_0xd0dccb);};Object[a0_0x3f2933(0x175)](exports,a0_0x3f2933(0x170),{'value':!![]}),exports['CustomConfiguration']=void 0x0;const decorator_1=require(a0_0x3f2933(0x177)),core_1=require('@midwayjs/core');function a0_0x53a4(_0xc86890,_0x50609a){var _0x592826=a0_0x5928();return a0_0x53a4=function(_0x53a4b0,_0x3eeede){_0x53a4b0=_0x53a4b0-0x16d;var _0x25c68f=_0x592826[_0x53a4b0];return _0x25c68f;},a0_0x53a4(_0xc86890,_0x50609a);}let CustomConfiguration=class CustomConfiguration{async['onReady'](){}};function a0_0x5928(){var _0x23a80d=['1618358TUqgUF','970893OGcTRU','function','308175xWZkMF','__metadata','1930744QbWjPl','metadata','__esModule','config','anncic-api:event','getOwnPropertyDescriptor','MidwayConfigService','defineProperty','design:type','@midwayjs/decorator','decorate','3285typbDZ','length','CustomConfiguration','662VHwLMC','object','__decorate','Configuration','640644TKVbkz','356zdqpFc','76NBsrNV','prototype','Inject'];a0_0x5928=function(){return _0x23a80d;};return a0_0x5928();}__decorate([(0x0,decorator_1['Inject'])(),__metadata(a0_0x3f2933(0x176),core_1[a0_0x3f2933(0x174)])],CustomConfiguration[a0_0x3f2933(0x183)],a0_0x3f2933(0x171),void 0x0),__decorate([(0x0,decorator_1[a0_0x3f2933(0x184)])(),__metadata(a0_0x3f2933(0x176),core_1['MidwayDecoratorService'])],CustomConfiguration[a0_0x3f2933(0x183)],'decorator',void 0x0),CustomConfiguration=__decorate([(0x0,decorator_1[a0_0x3f2933(0x17f)])({'conflictCheck':![],'namespace':a0_0x3f2933(0x172)})],CustomConfiguration),exports[a0_0x3f2933(0x17b)]=CustomConfiguration;
1
+ 'use strict';var a0_0x3c0483=a0_0x5dff;(function(_0x345698,_0x377ea4){var _0x213600=a0_0x5dff,_0x1a4149=_0x345698();while(!![]){try{var _0x1a9c77=parseInt(_0x213600(0x173))/0x1+-parseInt(_0x213600(0x16f))/0x2+parseInt(_0x213600(0x16a))/0x3*(-parseInt(_0x213600(0x161))/0x4)+parseInt(_0x213600(0x166))/0x5+-parseInt(_0x213600(0x163))/0x6*(parseInt(_0x213600(0x15f))/0x7)+parseInt(_0x213600(0x16d))/0x8+parseInt(_0x213600(0x16e))/0x9;if(_0x1a9c77===_0x377ea4)break;else _0x1a4149['push'](_0x1a4149['shift']());}catch(_0x2a3551){_0x1a4149['push'](_0x1a4149['shift']());}}}(a0_0x2368,0xdbee4));function a0_0x5dff(_0x5e16b5,_0x24effe){var _0x236870=a0_0x2368();return a0_0x5dff=function(_0x5dffd1,_0x3d311e){_0x5dffd1=_0x5dffd1-0x15f;var _0x1e4a81=_0x236870[_0x5dffd1];return _0x1e4a81;},a0_0x5dff(_0x5e16b5,_0x24effe);}var __decorate=this&&this[a0_0x3c0483(0x168)]||function(_0x2b0603,_0x5ed80d,_0x5c58f8,_0x363343){var _0x58598a=a0_0x3c0483,_0x35094b=arguments['length'],_0x41eeb6=_0x35094b<0x3?_0x5ed80d:_0x363343===null?_0x363343=Object['getOwnPropertyDescriptor'](_0x5ed80d,_0x5c58f8):_0x363343,_0x569715;if(typeof Reflect===_0x58598a(0x167)&&typeof Reflect[_0x58598a(0x162)]==='function')_0x41eeb6=Reflect[_0x58598a(0x162)](_0x2b0603,_0x5ed80d,_0x5c58f8,_0x363343);else{for(var _0x591554=_0x2b0603[_0x58598a(0x178)]-0x1;_0x591554>=0x0;_0x591554--)if(_0x569715=_0x2b0603[_0x591554])_0x41eeb6=(_0x35094b<0x3?_0x569715(_0x41eeb6):_0x35094b>0x3?_0x569715(_0x5ed80d,_0x5c58f8,_0x41eeb6):_0x569715(_0x5ed80d,_0x5c58f8))||_0x41eeb6;}return _0x35094b>0x3&&_0x41eeb6&&Object['defineProperty'](_0x5ed80d,_0x5c58f8,_0x41eeb6),_0x41eeb6;},__metadata=this&&this[a0_0x3c0483(0x172)]||function(_0x43c421,_0x2b53bb){var _0x4c478c=a0_0x3c0483;if(typeof Reflect==='object'&&typeof Reflect[_0x4c478c(0x160)]===_0x4c478c(0x176))return Reflect[_0x4c478c(0x160)](_0x43c421,_0x2b53bb);};Object['defineProperty'](exports,a0_0x3c0483(0x165),{'value':!![]}),exports['CustomConfiguration']=void 0x0;function a0_0x2368(){var _0x5f5216=['object','__decorate','onReady','9uRAqLa','design:type','MidwayConfigService','8025208CuDawI','22337379OYlOiw','2663348uuMPrz','@midwayjs/decorator','MidwayDecoratorService','__metadata','888657bAdgIf','prototype','anncic-api:event','function','@midwayjs/core','length','32242oWMguG','metadata','2179132exrrTZ','decorate','1794ZXaCYP','config','__esModule','4351570pOxLzE'];a0_0x2368=function(){return _0x5f5216;};return a0_0x2368();}const decorator_1=require(a0_0x3c0483(0x170)),core_1=require(a0_0x3c0483(0x177));let CustomConfiguration=class CustomConfiguration{async[a0_0x3c0483(0x169)](){}};__decorate([(0x0,decorator_1['Inject'])(),__metadata(a0_0x3c0483(0x16b),core_1[a0_0x3c0483(0x16c)])],CustomConfiguration[a0_0x3c0483(0x174)],a0_0x3c0483(0x164),void 0x0),__decorate([(0x0,decorator_1['Inject'])(),__metadata(a0_0x3c0483(0x16b),core_1[a0_0x3c0483(0x171)])],CustomConfiguration['prototype'],'decorator',void 0x0),CustomConfiguration=__decorate([(0x0,decorator_1['Configuration'])({'conflictCheck':![],'namespace':a0_0x3c0483(0x175)})],CustomConfiguration),exports['CustomConfiguration']=CustomConfiguration;
@@ -1 +1 @@
1
- 'use strict';const a1_0x1d2b4e=a1_0x32d1;(function(_0x4b83f2,_0x143d14){const _0x595e7c=a1_0x32d1,_0x476f9c=_0x4b83f2();while(!![]){try{const _0x2d4c18=-parseInt(_0x595e7c(0xbe))/0x1*(-parseInt(_0x595e7c(0xbb))/0x2)+parseInt(_0x595e7c(0xc2))/0x3+-parseInt(_0x595e7c(0xbf))/0x4*(parseInt(_0x595e7c(0xbd))/0x5)+-parseInt(_0x595e7c(0xb4))/0x6+parseInt(_0x595e7c(0xc4))/0x7*(parseInt(_0x595e7c(0xb5))/0x8)+parseInt(_0x595e7c(0xb8))/0x9*(-parseInt(_0x595e7c(0xba))/0xa)+parseInt(_0x595e7c(0xc1))/0xb*(parseInt(_0x595e7c(0xb7))/0xc);if(_0x2d4c18===_0x143d14)break;else _0x476f9c['push'](_0x476f9c['shift']());}catch(_0x46088f){_0x476f9c['push'](_0x476f9c['shift']());}}}(a1_0x53b9,0x8f046));function a1_0x32d1(_0x5c07f3,_0x48f1e3){const _0x53b963=a1_0x53b9();return a1_0x32d1=function(_0x32d14c,_0x505414){_0x32d14c=_0x32d14c-0xb3;let _0x5a818d=_0x53b963[_0x32d14c];return _0x5a818d;},a1_0x32d1(_0x5c07f3,_0x48f1e3);}Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports['Event']=void 0x0;function a1_0x53b9(){const _0x53b4c9=['EVENT_KEY','2299980xrBiRI','6300feKgpX','Request','1920sGSDme','2UACOLQ','../interface','2310395fautSE','469783ccywZh','4WjVKRk','ScopeEnum','11BqZKQu','1475865ogGbnT','saveModule','1407JUOIZX','EVENT_ON_KEY','2912910vfAOeE','20472TxeBEW'];a1_0x53b9=function(){return _0x53b4c9;};return a1_0x53b9();}const decorator_1=require('@midwayjs/decorator'),interface_1=require(a1_0x1d2b4e(0xbc));function Event(){return _0xfd26=>{const _0x49b618=a1_0x32d1;(0x0,decorator_1['Provide'])()(_0xfd26),(0x0,decorator_1[_0x49b618(0xc3)])(interface_1[_0x49b618(0xb6)],_0xfd26),(0x0,decorator_1['Scope'])(decorator_1[_0x49b618(0xc0)][_0x49b618(0xb9)],{'allowDowngrade':!![]})(_0xfd26);};}exports['Event']=Event,Event['On']=function(_0xb174e,_0xc4abc3=0x0){return(_0x55ce66,_0x3a15b4,_0x56f136)=>{const _0x15b7a3=a1_0x32d1;return(0x0,decorator_1['attachClassMetadata'])(interface_1[_0x15b7a3(0xb3)],{'name':_0xb174e,'priority':_0xc4abc3,'propertyKey':_0x3a15b4,'descriptor':_0x56f136},_0x55ce66),_0x56f136;};};
1
+ 'use strict';const a1_0x1023a4=a1_0x4168;(function(_0xdb23bc,_0x1250b6){const _0x34be95=a1_0x4168,_0x15cda0=_0xdb23bc();while(!![]){try{const _0x25d022=parseInt(_0x34be95(0x6e))/0x1+parseInt(_0x34be95(0x73))/0x2*(parseInt(_0x34be95(0x7a))/0x3)+-parseInt(_0x34be95(0x6f))/0x4+-parseInt(_0x34be95(0x77))/0x5+parseInt(_0x34be95(0x6d))/0x6+-parseInt(_0x34be95(0x79))/0x7*(parseInt(_0x34be95(0x75))/0x8)+-parseInt(_0x34be95(0x7d))/0x9;if(_0x25d022===_0x1250b6)break;else _0x15cda0['push'](_0x15cda0['shift']());}catch(_0x42225b){_0x15cda0['push'](_0x15cda0['shift']());}}}(a1_0x2263,0x791de));Object[a1_0x1023a4(0x72)](exports,a1_0x1023a4(0x71),{'value':!![]}),exports[a1_0x1023a4(0x7e)]=void 0x0;function a1_0x4168(_0x11078f,_0x1da207){const _0x226337=a1_0x2263();return a1_0x4168=function(_0x41684f,_0x41e467){_0x41684f=_0x41684f-0x6c;let _0x40b03d=_0x226337[_0x41684f];return _0x40b03d;},a1_0x4168(_0x11078f,_0x1da207);}function a1_0x2263(){const _0x10a992=['2341218bzoxxY','@midwayjs/decorator','Provide','14108247LmSLLU','Event','EVENT_ON_KEY','EVENT_KEY','5927526EQzlhM','975851FwmAMC','930328biSklF','Scope','__esModule','defineProperty','2XbhqCt','saveModule','8qHlYqa','Request','1432240NgNHKk','attachClassMetadata','1130297bUXwOS'];a1_0x2263=function(){return _0x10a992;};return a1_0x2263();}const decorator_1=require(a1_0x1023a4(0x7b)),interface_1=require('../interface');function Event(){return _0x108828=>{const _0x14d225=a1_0x4168;(0x0,decorator_1[_0x14d225(0x7c)])()(_0x108828),(0x0,decorator_1[_0x14d225(0x74)])(interface_1[_0x14d225(0x6c)],_0x108828),(0x0,decorator_1[_0x14d225(0x70)])(decorator_1['ScopeEnum'][_0x14d225(0x76)],{'allowDowngrade':!![]})(_0x108828);};}exports[a1_0x1023a4(0x7e)]=Event,Event['On']=function(_0xa8a0cd,_0x56c22b=0x0){return(_0x3c14de,_0x3cfd06,_0x52125a)=>{const _0x1f33de=a1_0x4168;return(0x0,decorator_1[_0x1f33de(0x78)])(interface_1[_0x1f33de(0x7f)],{'name':_0xa8a0cd,'priority':_0x56c22b,'propertyKey':_0x3cfd06,'descriptor':_0x52125a},_0x3c14de),_0x52125a;};};
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';var a2_0x30a338=a2_0x44b4;function a2_0x44b4(_0x61be3d,_0x431180){var _0x606205=a2_0x6062();return a2_0x44b4=function(_0x44b4b8,_0x16921a){_0x44b4b8=_0x44b4b8-0x18a;var _0x11898b=_0x606205[_0x44b4b8];return _0x11898b;},a2_0x44b4(_0x61be3d,_0x431180);}function a2_0x6062(){var _0x494872=['586246wNrcUS','2184016WhlDHx','./decorator/Event','7962kQhigJ','./configuration','CustomConfiguration','EventService','120468GxvJos','defineProperty','60688etaHbX','Configuration','4625YuWdul','55yhBSdK','Event','60ytMQUT','./service/EventService','2074550KUKkqh','427umPZOE','11546721Pngzuc','__esModule'];a2_0x6062=function(){return _0x494872;};return a2_0x6062();}(function(_0x27870f,_0x490cef){var _0xef8b2e=a2_0x44b4,_0x3f718a=_0x27870f();while(!![]){try{var _0x5287a6=-parseInt(_0xef8b2e(0x19d))/0x1+-parseInt(_0xef8b2e(0x197))/0x2*(-parseInt(_0xef8b2e(0x190))/0x3)+parseInt(_0xef8b2e(0x18a))/0x4+parseInt(_0xef8b2e(0x194))/0x5*(-parseInt(_0xef8b2e(0x18c))/0x6)+parseInt(_0xef8b2e(0x19a))/0x7*(parseInt(_0xef8b2e(0x192))/0x8)+parseInt(_0xef8b2e(0x19b))/0x9+-parseInt(_0xef8b2e(0x199))/0xa*(parseInt(_0xef8b2e(0x195))/0xb);if(_0x5287a6===_0x490cef)break;else _0x3f718a['push'](_0x3f718a['shift']());}catch(_0x654ae5){_0x3f718a['push'](_0x3f718a['shift']());}}}(a2_0x6062,0x9d91b));Object[a2_0x30a338(0x191)](exports,a2_0x30a338(0x19c),{'value':!![]}),exports[a2_0x30a338(0x193)]=exports[a2_0x30a338(0x18f)]=exports['Event']=void 0x0;var Event_1=require(a2_0x30a338(0x18b));Object[a2_0x30a338(0x191)](exports,a2_0x30a338(0x196),{'enumerable':!![],'get':function(){var _0x3bf8d5=a2_0x30a338;return Event_1[_0x3bf8d5(0x196)];}});var EventService_1=require(a2_0x30a338(0x198));Object['defineProperty'](exports,'EventService',{'enumerable':!![],'get':function(){var _0x5ca9de=a2_0x30a338;return EventService_1[_0x5ca9de(0x18f)];}});var configuration_1=require(a2_0x30a338(0x18d));Object[a2_0x30a338(0x191)](exports,a2_0x30a338(0x193),{'enumerable':!![],'get':function(){var _0x426ee7=a2_0x30a338;return configuration_1[_0x426ee7(0x18e)];}});
1
+ 'use strict';var a2_0x4156ef=a2_0x55e6;(function(_0x190603,_0x416bc2){var _0x173c46=a2_0x55e6,_0x31a814=_0x190603();while(!![]){try{var _0x36f53d=-parseInt(_0x173c46(0x1e5))/0x1*(-parseInt(_0x173c46(0x1f0))/0x2)+-parseInt(_0x173c46(0x1ef))/0x3*(-parseInt(_0x173c46(0x1e3))/0x4)+parseInt(_0x173c46(0x1ea))/0x5*(parseInt(_0x173c46(0x1eb))/0x6)+-parseInt(_0x173c46(0x1f3))/0x7+parseInt(_0x173c46(0x1e4))/0x8+parseInt(_0x173c46(0x1f1))/0x9+parseInt(_0x173c46(0x1e6))/0xa*(-parseInt(_0x173c46(0x1ec))/0xb);if(_0x36f53d===_0x416bc2)break;else _0x31a814['push'](_0x31a814['shift']());}catch(_0x1608b2){_0x31a814['push'](_0x31a814['shift']());}}}(a2_0x32fb,0x9fa4d));Object[a2_0x4156ef(0x1f2)](exports,a2_0x4156ef(0x1e7),{'value':!![]}),exports[a2_0x4156ef(0x1e8)]=exports[a2_0x4156ef(0x1ee)]=exports[a2_0x4156ef(0x1ed)]=void 0x0;var Event_1=require('./decorator/Event');Object[a2_0x4156ef(0x1f2)](exports,a2_0x4156ef(0x1ed),{'enumerable':!![],'get':function(){var _0x5ac9b8=a2_0x4156ef;return Event_1[_0x5ac9b8(0x1ed)];}});function a2_0x32fb(){var _0x9e1dee=['3DNfpon','10834qkPZTp','3740733KGvyPS','defineProperty','167657iXFxif','CustomConfiguration','3578824JDpgDJ','8527712aCpTck','137StfuXs','40zZhmsC','__esModule','Configuration','./configuration','91370DaDDQc','48nUFBFz','7113634MSdeDz','Event','EventService'];a2_0x32fb=function(){return _0x9e1dee;};return a2_0x32fb();}var EventService_1=require('./service/EventService');Object[a2_0x4156ef(0x1f2)](exports,a2_0x4156ef(0x1ee),{'enumerable':!![],'get':function(){var _0x4f00dd=a2_0x4156ef;return EventService_1[_0x4f00dd(0x1ee)];}});var configuration_1=require(a2_0x4156ef(0x1e9));function a2_0x55e6(_0x248cd3,_0x16abb1){var _0x32fb3b=a2_0x32fb();return a2_0x55e6=function(_0x55e6d3,_0x1f595a){_0x55e6d3=_0x55e6d3-0x1e3;var _0x40594e=_0x32fb3b[_0x55e6d3];return _0x40594e;},a2_0x55e6(_0x248cd3,_0x16abb1);}Object[a2_0x4156ef(0x1f2)](exports,a2_0x4156ef(0x1e8),{'enumerable':!![],'get':function(){var _0x40c0ea=a2_0x4156ef;return configuration_1[_0x40c0ea(0x1f4)];}});
package/dist/interface.js CHANGED
@@ -1 +1 @@
1
- 'use strict';function a3_0x2995(){var _0x49727e=['90270tLtCAc','14EEGGYc','__esModule','5985635cpxfwR','2535320tgqAOB','4755424PRLpZe','EVENT_ON_KEY','3186XRUaDh','64xrCZDj','anncic-api:event:on','EVENT_KEY','anncic-api:event','401301eIgXNY','1694094SGLSWC','275166QIGlyF'];a3_0x2995=function(){return _0x49727e;};return a3_0x2995();}var a3_0x47a790=a3_0x1565;(function(_0x1b1035,_0x3d5d3b){var _0x10a349=a3_0x1565,_0x3615ae=_0x1b1035();while(!![]){try{var _0x2117f6=parseInt(_0x10a349(0xe6))/0x1+-parseInt(_0x10a349(0xde))/0x2+parseInt(_0x10a349(0xd9))/0x3*(-parseInt(_0x10a349(0xe2))/0x4)+parseInt(_0x10a349(0xdd))/0x5+-parseInt(_0x10a349(0xe7))/0x6*(parseInt(_0x10a349(0xdb))/0x7)+-parseInt(_0x10a349(0xdf))/0x8+-parseInt(_0x10a349(0xe1))/0x9*(-parseInt(_0x10a349(0xda))/0xa);if(_0x2117f6===_0x3d5d3b)break;else _0x3615ae['push'](_0x3615ae['shift']());}catch(_0x38033c){_0x3615ae['push'](_0x3615ae['shift']());}}}(a3_0x2995,0xdba40));function a3_0x1565(_0xa32437,_0x2103a1){var _0x29950a=a3_0x2995();return a3_0x1565=function(_0x1565af,_0x384e21){_0x1565af=_0x1565af-0xd9;var _0x5ec679=_0x29950a[_0x1565af];return _0x5ec679;},a3_0x1565(_0xa32437,_0x2103a1);}Object['defineProperty'](exports,a3_0x47a790(0xdc),{'value':!![]}),exports[a3_0x47a790(0xe0)]=exports[a3_0x47a790(0xe4)]=void 0x0,exports[a3_0x47a790(0xe4)]=a3_0x47a790(0xe5),exports[a3_0x47a790(0xe0)]=a3_0x47a790(0xe3);
1
+ 'use strict';function a3_0x3b82(){var _0x5f36bf=['defineProperty','2qySyZf','231755NeCyZS','372753RCLxEi','anncic-api:event','818997hoeMij','EVENT_KEY','55931880mlnmxD','232oamqAR','__esModule','1441357SgGdLu','EVENT_ON_KEY','394436KUmxsC','8159158OhONah','anncic-api:event:on','84JjBWIE'];a3_0x3b82=function(){return _0x5f36bf;};return a3_0x3b82();}var a3_0x977d7a=a3_0x58d9;(function(_0x10a68c,_0x4113b2){var _0x200c5e=a3_0x58d9,_0x17a578=_0x10a68c();while(!![]){try{var _0x347b76=-parseInt(_0x200c5e(0x199))/0x1+parseInt(_0x200c5e(0x1a0))/0x2*(-parseInt(_0x200c5e(0x194))/0x3)+-parseInt(_0x200c5e(0x19b))/0x4+parseInt(_0x200c5e(0x1a1))/0x5*(-parseInt(_0x200c5e(0x19e))/0x6)+-parseInt(_0x200c5e(0x19c))/0x7+parseInt(_0x200c5e(0x197))/0x8*(-parseInt(_0x200c5e(0x1a2))/0x9)+parseInt(_0x200c5e(0x196))/0xa;if(_0x347b76===_0x4113b2)break;else _0x17a578['push'](_0x17a578['shift']());}catch(_0x16cb7b){_0x17a578['push'](_0x17a578['shift']());}}}(a3_0x3b82,0xbaace));function a3_0x58d9(_0x3958d0,_0x5cc10e){var _0x3b829a=a3_0x3b82();return a3_0x58d9=function(_0x58d94c,_0x2b657e){_0x58d94c=_0x58d94c-0x194;var _0xe6586b=_0x3b829a[_0x58d94c];return _0xe6586b;},a3_0x58d9(_0x3958d0,_0x5cc10e);}Object[a3_0x977d7a(0x19f)](exports,a3_0x977d7a(0x198),{'value':!![]}),exports[a3_0x977d7a(0x19a)]=exports['EVENT_KEY']=void 0x0,exports[a3_0x977d7a(0x195)]=a3_0x977d7a(0x1a3),exports[a3_0x977d7a(0x19a)]=a3_0x977d7a(0x19d);
@@ -1 +1 @@
1
- 'use strict';const a4_0x252677=a4_0x49da;(function(_0x3e80a4,_0xed39bb){const _0x37733b=a4_0x49da,_0x339a48=_0x3e80a4();while(!![]){try{const _0x412078=-parseInt(_0x37733b(0x119))/0x1+-parseInt(_0x37733b(0xfe))/0x2+-parseInt(_0x37733b(0x105))/0x3*(parseInt(_0x37733b(0xf7))/0x4)+parseInt(_0x37733b(0x118))/0x5*(-parseInt(_0x37733b(0xfd))/0x6)+-parseInt(_0x37733b(0xee))/0x7+parseInt(_0x37733b(0x109))/0x8+-parseInt(_0x37733b(0x10d))/0x9*(-parseInt(_0x37733b(0x11b))/0xa);if(_0x412078===_0xed39bb)break;else _0x339a48['push'](_0x339a48['shift']());}catch(_0x211427){_0x339a48['push'](_0x339a48['shift']());}}}(a4_0x2f82,0x41fb5));function a4_0x49da(_0x4715e9,_0x39e206){const _0x2f8223=a4_0x2f82();return a4_0x49da=function(_0x49dae0,_0xf45618){_0x49dae0=_0x49dae0-0xeb;let _0x3081c2=_0x2f8223[_0x49dae0];return _0x3081c2;},a4_0x49da(_0x4715e9,_0x39e206);}var __decorate=this&&this[a4_0x252677(0x108)]||function(_0x1ae717,_0x17271c,_0x1ef319,_0x2d2335){const _0x5b64d3=a4_0x252677;var _0x397acd=arguments[_0x5b64d3(0x111)],_0x499714=_0x397acd<0x3?_0x17271c:_0x2d2335===null?_0x2d2335=Object[_0x5b64d3(0xfb)](_0x17271c,_0x1ef319):_0x2d2335,_0x3741d5;if(typeof Reflect==='object'&&typeof Reflect[_0x5b64d3(0x10c)]===_0x5b64d3(0x116))_0x499714=Reflect[_0x5b64d3(0x10c)](_0x1ae717,_0x17271c,_0x1ef319,_0x2d2335);else{for(var _0x5c3576=_0x1ae717['length']-0x1;_0x5c3576>=0x0;_0x5c3576--)if(_0x3741d5=_0x1ae717[_0x5c3576])_0x499714=(_0x397acd<0x3?_0x3741d5(_0x499714):_0x397acd>0x3?_0x3741d5(_0x17271c,_0x1ef319,_0x499714):_0x3741d5(_0x17271c,_0x1ef319))||_0x499714;}return _0x397acd>0x3&&_0x499714&&Object[_0x5b64d3(0xf5)](_0x17271c,_0x1ef319,_0x499714),_0x499714;},__metadata=this&&this[a4_0x252677(0xf2)]||function(_0x36e4f4,_0x1368df){const _0x14b857=a4_0x252677;if(typeof Reflect===_0x14b857(0x10b)&&typeof Reflect[_0x14b857(0xff)]===_0x14b857(0x116))return Reflect['metadata'](_0x36e4f4,_0x1368df);};Object[a4_0x252677(0xf5)](exports,a4_0x252677(0xf6),{'value':!![]}),exports[a4_0x252677(0x101)]=void 0x0;const collect_js_1=require(a4_0x252677(0xeb)),decorator_1=require(a4_0x252677(0xec)),interface_1=require(a4_0x252677(0xf0));function a4_0x2f82(){const _0x229e66=['1162488ZJmItE','name','all','Singleton','getOwnPropertyDescriptor','EVENT_KEY','18KWOtVy','158736YnMvSk','metadata','getClassMetadata','EventService','getApplicationContext','listevent','propertyKey','3MKwXgi','priority','Provide','__decorate','984088xCCdGN','App','object','decorate','16101jlOafQ','default','app','init','length','getListevent','emit','sortByDesc','Scope','function','prototype','646965dlcBaG','68564YdKptC','event','7610BSnRob','collect.js','@midwayjs/decorator','resolve','2712122yZiFDb','off','../interface','EVENT_ON_KEY','__metadata','bind','getAsync','defineProperty','__esModule'];a4_0x2f82=function(){return _0x229e66;};return a4_0x2f82();}let EventService=class EventService{constructor(){const _0x475580=a4_0x252677;this[_0x475580(0x110)]=![];}async[a4_0x252677(0x112)](_0xed1748){const _0x20ab85=a4_0x252677;if(!this['init']){this['init']=!![],this['listevent']={};for(const _0x54b4ef of(0x0,decorator_1['listModule'])(interface_1[_0x20ab85(0xfc)])||[]){const _0x56d44e=await this[_0x20ab85(0x10f)][_0x20ab85(0x102)]()[_0x20ab85(0xf4)](_0x54b4ef);for(const _0x5c159f of(0x0,decorator_1[_0x20ab85(0x100)])(interface_1[_0x20ab85(0xf1)],_0x54b4ef)||[]){typeof(_0x56d44e[_0x5c159f['propertyKey']]==_0x20ab85(0x116))&&(!this[_0x20ab85(0x103)][_0x5c159f[_0x20ab85(0xf8)]]&&(this['listevent'][_0x5c159f[_0x20ab85(0xf8)]]=[]),this['listevent'][_0x5c159f[_0x20ab85(0xf8)]]['push']({'priority':_0x5c159f[_0x20ab85(0x106)],'resolve':_0x56d44e[_0x5c159f['propertyKey']][_0x20ab85(0xf3)](_0x56d44e),'propertyKey':_0x54b4ef['name']+'@'+_0x5c159f[_0x20ab85(0x104)]}));}}for(const _0x5257b6 in this['listevent']){this['listevent'][_0x5257b6]=(0x0,collect_js_1[_0x20ab85(0x10e)])(this[_0x20ab85(0x103)][_0x5257b6])[_0x20ab85(0x114)](_0x20ab85(0x106))[_0x20ab85(0xf9)]();}}return _0xed1748?this[_0x20ab85(0x103)][_0xed1748]||[]:this[_0x20ab85(0x103)];}async[a4_0x252677(0x113)](_0x5be0f8,..._0x103394){const _0x5adb5f=a4_0x252677;var _0x1f991d,_0xfa230a;await this[_0x5adb5f(0x112)]();for(let _0x11cb17 in(_0x1f991d=this[_0x5adb5f(0x103)])===null||_0x1f991d===void 0x0?void 0x0:_0x1f991d[_0x5be0f8]){const _0x448959=(_0xfa230a=this[_0x5adb5f(0x103)][_0x5be0f8])===null||_0xfa230a===void 0x0?void 0x0:_0xfa230a[_0x11cb17];(_0x448959===null||_0x448959===void 0x0?void 0x0:_0x448959[_0x5adb5f(0xed)])&&typeof(_0x448959===null||_0x448959===void 0x0?void 0x0:_0x448959[_0x5adb5f(0xed)])==_0x5adb5f(0x116)&&await _0x448959[_0x5adb5f(0xed)](..._0x103394);}}async['once'](_0x1d58c4,..._0x3cacf1){const _0x3e1d13=a4_0x252677;return await this[_0x3e1d13(0x112)](),await this[_0x3e1d13(0x113)](_0x1d58c4,..._0x3cacf1),this[_0x3e1d13(0xef)](_0x1d58c4);}async['off'](_0x199178){const _0x391fba=a4_0x252677;return await this[_0x391fba(0x112)](),this['listevent'][_0x199178]&&delete this[_0x391fba(0x103)][_0x199178],!!this[_0x391fba(0x103)][_0x199178];}};__decorate([(0x0,decorator_1[a4_0x252677(0x10a)])(),__metadata('design:type',Object)],EventService[a4_0x252677(0x117)],a4_0x252677(0x10f),void 0x0),EventService=__decorate([(0x0,decorator_1[a4_0x252677(0x107)])(a4_0x252677(0x11a)),(0x0,decorator_1[a4_0x252677(0x115)])(decorator_1['ScopeEnum'][a4_0x252677(0xfa)])],EventService),exports['EventService']=EventService;
1
+ 'use strict';const a4_0x3b2308=a4_0x2de3;(function(_0x451f91,_0x42635d){const _0x457045=a4_0x2de3,_0xcb654d=_0x451f91();while(!![]){try{const _0x82e666=parseInt(_0x457045(0x137))/0x1+parseInt(_0x457045(0x11d))/0x2*(parseInt(_0x457045(0x129))/0x3)+parseInt(_0x457045(0x119))/0x4*(parseInt(_0x457045(0x128))/0x5)+-parseInt(_0x457045(0x13a))/0x6+-parseInt(_0x457045(0x118))/0x7*(-parseInt(_0x457045(0x116))/0x8)+parseInt(_0x457045(0x120))/0x9+-parseInt(_0x457045(0x138))/0xa;if(_0x82e666===_0x42635d)break;else _0xcb654d['push'](_0xcb654d['shift']());}catch(_0xa59479){_0xcb654d['push'](_0xcb654d['shift']());}}}(a4_0x2161,0x237a2));var __decorate=this&&this[a4_0x3b2308(0x13b)]||function(_0xd392a8,_0x4ba821,_0x2fe7d2,_0x87e691){const _0x58ce85=a4_0x3b2308;var _0x543ade=arguments[_0x58ce85(0x11b)],_0x2b7905=_0x543ade<0x3?_0x4ba821:_0x87e691===null?_0x87e691=Object[_0x58ce85(0x114)](_0x4ba821,_0x2fe7d2):_0x87e691,_0x2b697a;if(typeof Reflect===_0x58ce85(0x11e)&&typeof Reflect[_0x58ce85(0x125)]==='function')_0x2b7905=Reflect[_0x58ce85(0x125)](_0xd392a8,_0x4ba821,_0x2fe7d2,_0x87e691);else{for(var _0x25a21a=_0xd392a8['length']-0x1;_0x25a21a>=0x0;_0x25a21a--)if(_0x2b697a=_0xd392a8[_0x25a21a])_0x2b7905=(_0x543ade<0x3?_0x2b697a(_0x2b7905):_0x543ade>0x3?_0x2b697a(_0x4ba821,_0x2fe7d2,_0x2b7905):_0x2b697a(_0x4ba821,_0x2fe7d2))||_0x2b7905;}return _0x543ade>0x3&&_0x2b7905&&Object['defineProperty'](_0x4ba821,_0x2fe7d2,_0x2b7905),_0x2b7905;},__metadata=this&&this['__metadata']||function(_0x25c4cc,_0x380df6){const _0x1a3bdc=a4_0x3b2308;if(typeof Reflect===_0x1a3bdc(0x11e)&&typeof Reflect[_0x1a3bdc(0x12b)]===_0x1a3bdc(0x117))return Reflect[_0x1a3bdc(0x12b)](_0x25c4cc,_0x380df6);};Object[a4_0x3b2308(0x131)](exports,a4_0x3b2308(0x132),{'value':!![]}),exports[a4_0x3b2308(0x133)]=void 0x0;function a4_0x2161(){const _0x5d6437=['sortByDesc','default','push','defineProperty','__esModule','EventService','getApplicationContext','App','init','216746wUXRwx','5965630fzuaYi','@midwayjs/decorator','10908gXSexZ','__decorate','app','design:type','emit','ScopeEnum','getOwnPropertyDescriptor','off','168656NzBfig','function','7QYwKZq','674612Gyxfuf','collect.js','length','name','292388NDRIVk','object','listevent','1719180kgDAEJ','propertyKey','getListevent','getClassMetadata','EVENT_KEY','decorate','getAsync','Scope','5aeSMAN','3zVcUYA','all','metadata','resolve','Provide'];a4_0x2161=function(){return _0x5d6437;};return a4_0x2161();}const collect_js_1=require(a4_0x3b2308(0x11a)),decorator_1=require(a4_0x3b2308(0x139)),interface_1=require('../interface');function a4_0x2de3(_0x44fc4d,_0x42be7d){const _0x2161ad=a4_0x2161();return a4_0x2de3=function(_0x2de3d4,_0x34f50a){_0x2de3d4=_0x2de3d4-0x113;let _0x366e6c=_0x2161ad[_0x2de3d4];return _0x366e6c;},a4_0x2de3(_0x44fc4d,_0x42be7d);}let EventService=class EventService{constructor(){const _0x4a4d7f=a4_0x3b2308;this[_0x4a4d7f(0x136)]=![];}async[a4_0x3b2308(0x122)](_0x5d7149){const _0x2e4f88=a4_0x3b2308;if(!this[_0x2e4f88(0x136)]){this[_0x2e4f88(0x136)]=!![],this[_0x2e4f88(0x11f)]={};for(const _0x5d82c1 of(0x0,decorator_1['listModule'])(interface_1[_0x2e4f88(0x124)])||[]){const _0x5de849=await this[_0x2e4f88(0x13c)][_0x2e4f88(0x134)]()[_0x2e4f88(0x126)](_0x5d82c1);for(const _0x1f9218 of(0x0,decorator_1[_0x2e4f88(0x123)])(interface_1['EVENT_ON_KEY'],_0x5d82c1)||[]){typeof(_0x5de849[_0x1f9218[_0x2e4f88(0x121)]]==_0x2e4f88(0x117))&&(!this[_0x2e4f88(0x11f)][_0x1f9218[_0x2e4f88(0x11c)]]&&(this[_0x2e4f88(0x11f)][_0x1f9218[_0x2e4f88(0x11c)]]=[]),this['listevent'][_0x1f9218[_0x2e4f88(0x11c)]][_0x2e4f88(0x130)]({'priority':_0x1f9218['priority'],'resolve':_0x5de849[_0x1f9218[_0x2e4f88(0x121)]]['bind'](_0x5de849),'propertyKey':_0x5d82c1['name']+'@'+_0x1f9218[_0x2e4f88(0x121)]}));}}for(const _0x54fb24 in this[_0x2e4f88(0x11f)]){this['listevent'][_0x54fb24]=(0x0,collect_js_1[_0x2e4f88(0x12f)])(this[_0x2e4f88(0x11f)][_0x54fb24])[_0x2e4f88(0x12e)]('priority')[_0x2e4f88(0x12a)]();}}return _0x5d7149?this[_0x2e4f88(0x11f)][_0x5d7149]||[]:this['listevent'];}async[a4_0x3b2308(0x13e)](_0x22e27b,..._0x3cc2d4){const _0x5e7003=a4_0x3b2308;var _0x48cf24,_0x5752c3;await this[_0x5e7003(0x122)]();for(let _0xb235e1 in(_0x48cf24=this['listevent'])===null||_0x48cf24===void 0x0?void 0x0:_0x48cf24[_0x22e27b]){const _0x27103f=(_0x5752c3=this[_0x5e7003(0x11f)][_0x22e27b])===null||_0x5752c3===void 0x0?void 0x0:_0x5752c3[_0xb235e1];(_0x27103f===null||_0x27103f===void 0x0?void 0x0:_0x27103f[_0x5e7003(0x12c)])&&typeof(_0x27103f===null||_0x27103f===void 0x0?void 0x0:_0x27103f[_0x5e7003(0x12c)])==_0x5e7003(0x117)&&await _0x27103f[_0x5e7003(0x12c)](..._0x3cc2d4);}}async['once'](_0x1910c9,..._0x1b9d93){const _0x309853=a4_0x3b2308;return await this['getListevent'](),await this[_0x309853(0x13e)](_0x1910c9,..._0x1b9d93),this[_0x309853(0x115)](_0x1910c9);}async[a4_0x3b2308(0x115)](_0x25dc7d){const _0x113346=a4_0x3b2308;return await this['getListevent'](),this['listevent'][_0x25dc7d]&&delete this['listevent'][_0x25dc7d],!!this[_0x113346(0x11f)][_0x25dc7d];}};__decorate([(0x0,decorator_1[a4_0x3b2308(0x135)])(),__metadata(a4_0x3b2308(0x13d),Object)],EventService['prototype'],'app',void 0x0),EventService=__decorate([(0x0,decorator_1[a4_0x3b2308(0x12d)])('event'),(0x0,decorator_1[a4_0x3b2308(0x127)])(decorator_1[a4_0x3b2308(0x113)]['Singleton'])],EventService),exports[a4_0x3b2308(0x133)]=EventService;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anncic-api/event",
3
- "version": "1.1.22",
3
+ "version": "1.1.24",
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": "31197d6976e8b15c25473d7a6f64a8bc42c8fd0b"
24
+ "gitHead": "c273d494dd497231c4e1b64412879e17d536020e"
25
25
  }