@anncic-api/event 1.4.14 → 1.4.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_0x3c6b(){var _0x22e6d9=['design:type','Inject','anncic-api:event','1488159JUPCSW','@midwayjs/core','3636630VMfGHV','function','10mNizDc','__decorate','180379fYSluB','metadata','defineProperty','3263000CELliI','decorate','decorator','CustomConfiguration','2155638uwYJQc','prototype','MidwayConfigService','length','5512556fwUHfs','__esModule','config','__metadata','18vzuOwm','getOwnPropertyDescriptor','8067680IKopeb'];a0_0x3c6b=function(){return _0x22e6d9;};return a0_0x3c6b();}var a0_0x461211=a0_0x2644;(function(_0x2054e4,_0x199711){var _0x4b80d0=a0_0x2644,_0x22bc81=_0x2054e4();while(!![]){try{var _0x59edb3=-parseInt(_0x4b80d0(0x118))/0x1*(-parseInt(_0x4b80d0(0x116))/0x2)+-parseInt(_0x4b80d0(0x112))/0x3+-parseInt(_0x4b80d0(0x11b))/0x4+-parseInt(_0x4b80d0(0x114))/0x5+parseInt(_0x4b80d0(0x11f))/0x6+-parseInt(_0x4b80d0(0x123))/0x7+parseInt(_0x4b80d0(0x10e))/0x8*(parseInt(_0x4b80d0(0x10c))/0x9);if(_0x59edb3===_0x199711)break;else _0x22bc81['push'](_0x22bc81['shift']());}catch(_0x520cca){_0x22bc81['push'](_0x22bc81['shift']());}}}(a0_0x3c6b,0x6e37b));var __decorate=this&&this[a0_0x461211(0x117)]||function(_0x19e4bf,_0x56010a,_0x497730,_0x3274bb){var _0x3d248b=a0_0x461211,_0x5b058f=arguments[_0x3d248b(0x122)],_0x1d16fb=_0x5b058f<0x3?_0x56010a:_0x3274bb===null?_0x3274bb=Object[_0x3d248b(0x10d)](_0x56010a,_0x497730):_0x3274bb,_0x2de651;if(typeof Reflect==='object'&&typeof Reflect[_0x3d248b(0x11c)]==='function')_0x1d16fb=Reflect['decorate'](_0x19e4bf,_0x56010a,_0x497730,_0x3274bb);else{for(var _0x4e241b=_0x19e4bf[_0x3d248b(0x122)]-0x1;_0x4e241b>=0x0;_0x4e241b--)if(_0x2de651=_0x19e4bf[_0x4e241b])_0x1d16fb=(_0x5b058f<0x3?_0x2de651(_0x1d16fb):_0x5b058f>0x3?_0x2de651(_0x56010a,_0x497730,_0x1d16fb):_0x2de651(_0x56010a,_0x497730))||_0x1d16fb;}return _0x5b058f>0x3&&_0x1d16fb&&Object[_0x3d248b(0x11a)](_0x56010a,_0x497730,_0x1d16fb),_0x1d16fb;},__metadata=this&&this[a0_0x461211(0x10b)]||function(_0x1c643c,_0x6e8803){var _0x4a69e7=a0_0x461211;if(typeof Reflect==='object'&&typeof Reflect[_0x4a69e7(0x119)]===_0x4a69e7(0x115))return Reflect[_0x4a69e7(0x119)](_0x1c643c,_0x6e8803);};Object[a0_0x461211(0x11a)](exports,a0_0x461211(0x109),{'value':!![]}),exports[a0_0x461211(0x11e)]=void 0x0;function a0_0x2644(_0x16d7e5,_0x48d254){var _0x3c6bda=a0_0x3c6b();return a0_0x2644=function(_0x264405,_0x3b8c4e){_0x264405=_0x264405-0x109;var _0x4d371f=_0x3c6bda[_0x264405];return _0x4d371f;},a0_0x2644(_0x16d7e5,_0x48d254);}const core_1=require(a0_0x461211(0x113)),core_2=require(a0_0x461211(0x113));let CustomConfiguration=class CustomConfiguration{async['onReady'](){}};__decorate([(0x0,core_1[a0_0x461211(0x110)])(),__metadata(a0_0x461211(0x10f),core_2[a0_0x461211(0x121)])],CustomConfiguration[a0_0x461211(0x120)],a0_0x461211(0x10a),void 0x0),__decorate([(0x0,core_1['Inject'])(),__metadata('design:type',core_2['MidwayDecoratorService'])],CustomConfiguration['prototype'],a0_0x461211(0x11d),void 0x0),CustomConfiguration=__decorate([(0x0,core_1['Configuration'])({'conflictCheck':![],'namespace':a0_0x461211(0x111)})],CustomConfiguration),exports[a0_0x461211(0x11e)]=CustomConfiguration;
1
+ 'use strict';var a0_0x2479f4=a0_0x13a5;(function(_0x3f430c,_0x3eb9c6){var _0x3ce6f1=a0_0x13a5,_0x263365=_0x3f430c();while(!![]){try{var _0x564ac5=parseInt(_0x3ce6f1(0x1d7))/0x1*(-parseInt(_0x3ce6f1(0x1d1))/0x2)+-parseInt(_0x3ce6f1(0x1dc))/0x3+parseInt(_0x3ce6f1(0x1e1))/0x4+parseInt(_0x3ce6f1(0x1e5))/0x5+parseInt(_0x3ce6f1(0x1e4))/0x6+-parseInt(_0x3ce6f1(0x1e2))/0x7+parseInt(_0x3ce6f1(0x1d5))/0x8*(parseInt(_0x3ce6f1(0x1e8))/0x9);if(_0x564ac5===_0x3eb9c6)break;else _0x263365['push'](_0x263365['shift']());}catch(_0x2f0ad4){_0x263365['push'](_0x263365['shift']());}}}(a0_0x43ef,0x27d6c));function a0_0x43ef(){var _0x1a2d60=['1622385dgRdAr','MidwayDecoratorService','__esModule','__decorate','Inject','210msUfye','getOwnPropertyDescriptor','CustomConfiguration','metadata','8JbnDog','anncic-api:event','1303QRyKMJ','object','design:type','prototype','@midwayjs/core','3555HNEeQf','config','decorate','length','Configuration','564128cSttzV','792190OvRrbV','defineProperty','22380BdzBdX','446615ShgWNR','MidwayConfigService','__metadata'];a0_0x43ef=function(){return _0x1a2d60;};return a0_0x43ef();}var __decorate=this&&this[a0_0x2479f4(0x1cf)]||function(_0xa91895,_0xa09712,_0x1f2263,_0x329702){var _0xb37c27=a0_0x2479f4,_0x524c3c=arguments[_0xb37c27(0x1df)],_0x49a34b=_0x524c3c<0x3?_0xa09712:_0x329702===null?_0x329702=Object[_0xb37c27(0x1d2)](_0xa09712,_0x1f2263):_0x329702,_0x4a0275;if(typeof Reflect===_0xb37c27(0x1d8)&&typeof Reflect[_0xb37c27(0x1de)]==='function')_0x49a34b=Reflect[_0xb37c27(0x1de)](_0xa91895,_0xa09712,_0x1f2263,_0x329702);else{for(var _0x23c9a0=_0xa91895[_0xb37c27(0x1df)]-0x1;_0x23c9a0>=0x0;_0x23c9a0--)if(_0x4a0275=_0xa91895[_0x23c9a0])_0x49a34b=(_0x524c3c<0x3?_0x4a0275(_0x49a34b):_0x524c3c>0x3?_0x4a0275(_0xa09712,_0x1f2263,_0x49a34b):_0x4a0275(_0xa09712,_0x1f2263))||_0x49a34b;}return _0x524c3c>0x3&&_0x49a34b&&Object[_0xb37c27(0x1e3)](_0xa09712,_0x1f2263,_0x49a34b),_0x49a34b;},__metadata=this&&this[a0_0x2479f4(0x1e7)]||function(_0x458568,_0x50b12d){var _0x21bb7f=a0_0x2479f4;if(typeof Reflect===_0x21bb7f(0x1d8)&&typeof Reflect[_0x21bb7f(0x1d4)]==='function')return Reflect['metadata'](_0x458568,_0x50b12d);};function a0_0x13a5(_0xfa3e6b,_0x21dde1){var _0x43ef1e=a0_0x43ef();return a0_0x13a5=function(_0x13a511,_0x425ba3){_0x13a511=_0x13a511-0x1ce;var _0x244361=_0x43ef1e[_0x13a511];return _0x244361;},a0_0x13a5(_0xfa3e6b,_0x21dde1);}Object[a0_0x2479f4(0x1e3)](exports,a0_0x2479f4(0x1ce),{'value':!![]}),exports['CustomConfiguration']=void 0x0;const core_1=require(a0_0x2479f4(0x1db)),core_2=require('@midwayjs/core');let CustomConfiguration=class CustomConfiguration{async['onReady'](){}};__decorate([(0x0,core_1['Inject'])(),__metadata(a0_0x2479f4(0x1d9),core_2[a0_0x2479f4(0x1e6)])],CustomConfiguration[a0_0x2479f4(0x1da)],a0_0x2479f4(0x1dd),void 0x0),__decorate([(0x0,core_1[a0_0x2479f4(0x1d0)])(),__metadata(a0_0x2479f4(0x1d9),core_2[a0_0x2479f4(0x1e9)])],CustomConfiguration[a0_0x2479f4(0x1da)],'decorator',void 0x0),CustomConfiguration=__decorate([(0x0,core_1[a0_0x2479f4(0x1e0)])({'conflictCheck':![],'namespace':a0_0x2479f4(0x1d6)})],CustomConfiguration),exports[a0_0x2479f4(0x1d3)]=CustomConfiguration;
@@ -1 +1 @@
1
- 'use strict';const a1_0x2606bd=a1_0x5286;(function(_0x3f58b5,_0xf8e34a){const _0xe84264=a1_0x5286,_0x58c2a2=_0x3f58b5();while(!![]){try{const _0x4359d8=-parseInt(_0xe84264(0x162))/0x1*(-parseInt(_0xe84264(0x172))/0x2)+-parseInt(_0xe84264(0x166))/0x3*(-parseInt(_0xe84264(0x165))/0x4)+parseInt(_0xe84264(0x16a))/0x5+-parseInt(_0xe84264(0x161))/0x6*(parseInt(_0xe84264(0x16f))/0x7)+parseInt(_0xe84264(0x169))/0x8+parseInt(_0xe84264(0x173))/0x9*(parseInt(_0xe84264(0x170))/0xa)+parseInt(_0xe84264(0x16b))/0xb*(-parseInt(_0xe84264(0x168))/0xc);if(_0x4359d8===_0xf8e34a)break;else _0x58c2a2['push'](_0x58c2a2['shift']());}catch(_0x4b14fa){_0x58c2a2['push'](_0x58c2a2['shift']());}}}(a1_0x29a4,0x7131c));Object[a1_0x2606bd(0x167)](exports,a1_0x2606bd(0x174),{'value':!![]}),exports[a1_0x2606bd(0x163)]=void 0x0;function a1_0x5286(_0x4bed03,_0x60e0b9){const _0x29a4d5=a1_0x29a4();return a1_0x5286=function(_0x52866f,_0x12a9d0){_0x52866f=_0x52866f-0x160;let _0x27e9a0=_0x29a4d5[_0x52866f];return _0x27e9a0;},a1_0x5286(_0x4bed03,_0x60e0b9);}const core_1=require(a1_0x2606bd(0x160)),interface_1=require(a1_0x2606bd(0x16d));function a1_0x29a4(){const _0x5ded93=['24HMepxk','defineProperty','17902368QMNDUq','5509944xtpTAE','763930IPwBik','11LCFRoH','saveModule','../interface','EVENT_ON_KEY','14jgFNZK','130FzrSUV','EVENT_KEY','426966uplbQG','90918KgvszI','__esModule','Scope','@midwayjs/core','217524hrhxcR','3lSAvii','Event','attachClassMetadata','207356WuUbTt'];a1_0x29a4=function(){return _0x5ded93;};return a1_0x29a4();}function Event(){return _0x38b587=>{const _0xdba664=a1_0x5286;(0x0,core_1['Provide'])()(_0x38b587),(0x0,core_1[_0xdba664(0x16c)])(interface_1[_0xdba664(0x171)],_0x38b587),(0x0,core_1[_0xdba664(0x175)])(core_1['ScopeEnum']['Request'],{'allowDowngrade':!![]})(_0x38b587);};}exports[a1_0x2606bd(0x163)]=Event,Event['On']=function(_0x55eecb,_0x3d3969=0x0){return(_0x381af5,_0x2c5eb2,_0x335f41)=>{const _0x59fe20=a1_0x5286;return(0x0,core_1[_0x59fe20(0x164)])(interface_1[_0x59fe20(0x16e)],{'name':_0x55eecb,'priority':_0x3d3969,'propertyKey':_0x2c5eb2,'descriptor':_0x335f41},_0x381af5),_0x335f41;};};
1
+ 'use strict';const a1_0x2cde12=a1_0x356e;(function(_0x49fe01,_0x432e8f){const _0x22433e=a1_0x356e,_0x2eea3f=_0x49fe01();while(!![]){try{const _0xb11a4f=-parseInt(_0x22433e(0x1c9))/0x1+parseInt(_0x22433e(0x1c8))/0x2+parseInt(_0x22433e(0x1bc))/0x3+-parseInt(_0x22433e(0x1ba))/0x4*(parseInt(_0x22433e(0x1c0))/0x5)+parseInt(_0x22433e(0x1c5))/0x6+-parseInt(_0x22433e(0x1bf))/0x7*(-parseInt(_0x22433e(0x1b9))/0x8)+-parseInt(_0x22433e(0x1c1))/0x9;if(_0xb11a4f===_0x432e8f)break;else _0x2eea3f['push'](_0x2eea3f['shift']());}catch(_0x16d7a3){_0x2eea3f['push'](_0x2eea3f['shift']());}}}(a1_0x3976,0x4028b));Object[a1_0x2cde12(0x1c7)](exports,'__esModule',{'value':!![]}),exports[a1_0x2cde12(0x1c2)]=void 0x0;const core_1=require(a1_0x2cde12(0x1ca)),interface_1=require(a1_0x2cde12(0x1bb));function a1_0x3976(){const _0x463a49=['Scope','EVENT_ON_KEY','214976WUbutf','8GhHcLB','../interface','692973rjPwsn','attachClassMetadata','EVENT_KEY','7bAdOxQ','635870HHTyUE','1853901RslfRl','Event','Request','ScopeEnum','1439820oKoHgR','saveModule','defineProperty','1027284aRIBYs','288343meIUdE','@midwayjs/core','Provide'];a1_0x3976=function(){return _0x463a49;};return a1_0x3976();}function a1_0x356e(_0x12bba9,_0x3fdad5){const _0x397630=a1_0x3976();return a1_0x356e=function(_0x356e41,_0x550fa5){_0x356e41=_0x356e41-0x1b6;let _0x10732a=_0x397630[_0x356e41];return _0x10732a;},a1_0x356e(_0x12bba9,_0x3fdad5);}function Event(){return _0x3db660=>{const _0x33ff7e=a1_0x356e;(0x0,core_1[_0x33ff7e(0x1b6)])()(_0x3db660),(0x0,core_1[_0x33ff7e(0x1c6)])(interface_1[_0x33ff7e(0x1be)],_0x3db660),(0x0,core_1[_0x33ff7e(0x1b7)])(core_1[_0x33ff7e(0x1c4)][_0x33ff7e(0x1c3)],{'allowDowngrade':!![]})(_0x3db660);};}exports['Event']=Event,Event['On']=function(_0xecd162,_0x23ce06=0x0){return(_0x35a168,_0x15b947,_0x5881ae)=>{const _0x194a61=a1_0x356e;return(0x0,core_1[_0x194a61(0x1bd)])(interface_1[_0x194a61(0x1b8)],{'name':_0xecd162,'priority':_0x23ce06,'propertyKey':_0x15b947,'descriptor':_0x5881ae},_0x35a168),_0x5881ae;};};
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';var a2_0x5df376=a2_0x20b4;(function(_0x396878,_0x1e71b4){var _0x2a212f=a2_0x20b4,_0x25a6b9=_0x396878();while(!![]){try{var _0x37713e=parseInt(_0x2a212f(0x12e))/0x1*(parseInt(_0x2a212f(0x134))/0x2)+parseInt(_0x2a212f(0x12d))/0x3+parseInt(_0x2a212f(0x133))/0x4*(-parseInt(_0x2a212f(0x12b))/0x5)+parseInt(_0x2a212f(0x12a))/0x6*(parseInt(_0x2a212f(0x126))/0x7)+parseInt(_0x2a212f(0x123))/0x8+-parseInt(_0x2a212f(0x127))/0x9*(-parseInt(_0x2a212f(0x129))/0xa)+parseInt(_0x2a212f(0x130))/0xb*(-parseInt(_0x2a212f(0x12c))/0xc);if(_0x37713e===_0x1e71b4)break;else _0x25a6b9['push'](_0x25a6b9['shift']());}catch(_0xa2fca1){_0x25a6b9['push'](_0x25a6b9['shift']());}}}(a2_0x1831,0xc1c11));Object[a2_0x5df376(0x128)](exports,'__esModule',{'value':!![]}),exports[a2_0x5df376(0x125)]=exports[a2_0x5df376(0x132)]=exports[a2_0x5df376(0x12f)]=void 0x0;var Event_1=require('./decorator/Event');Object[a2_0x5df376(0x128)](exports,a2_0x5df376(0x12f),{'enumerable':!![],'get':function(){var _0x242a4f=a2_0x5df376;return Event_1[_0x242a4f(0x12f)];}});var EventService_1=require(a2_0x5df376(0x131));function a2_0x1831(){var _0x4eafb7=['EventService','1141004zUhozO','18oVCWxM','./configuration','12019752OjJzJK','CustomConfiguration','Configuration','7pUPApi','426852dooSBo','defineProperty','100MAWzwc','7695948yfnFpU','20DSLtcL','156FZzGCG','2044905EzQAHG','120364LKYUOJ','Event','2614359ebSocj','./service/EventService'];a2_0x1831=function(){return _0x4eafb7;};return a2_0x1831();}Object[a2_0x5df376(0x128)](exports,a2_0x5df376(0x132),{'enumerable':!![],'get':function(){var _0x231a2d=a2_0x5df376;return EventService_1[_0x231a2d(0x132)];}});function a2_0x20b4(_0x235002,_0x5c01a9){var _0x1831a6=a2_0x1831();return a2_0x20b4=function(_0x20b4f6,_0x1fbc21){_0x20b4f6=_0x20b4f6-0x122;var _0x473a4f=_0x1831a6[_0x20b4f6];return _0x473a4f;},a2_0x20b4(_0x235002,_0x5c01a9);}var configuration_1=require(a2_0x5df376(0x122));Object['defineProperty'](exports,a2_0x5df376(0x125),{'enumerable':!![],'get':function(){var _0x545b67=a2_0x5df376;return configuration_1[_0x545b67(0x124)];}});
1
+ 'use strict';var a2_0x598acf=a2_0x7d00;(function(_0x5c3214,_0x5bae10){var _0x41f257=a2_0x7d00,_0x1702da=_0x5c3214();while(!![]){try{var _0x965cfb=-parseInt(_0x41f257(0x1f8))/0x1*(parseInt(_0x41f257(0x1eb))/0x2)+-parseInt(_0x41f257(0x1f7))/0x3*(parseInt(_0x41f257(0x1f5))/0x4)+parseInt(_0x41f257(0x1f6))/0x5+-parseInt(_0x41f257(0x1ec))/0x6+parseInt(_0x41f257(0x1ed))/0x7+parseInt(_0x41f257(0x1f9))/0x8*(parseInt(_0x41f257(0x1f2))/0x9)+parseInt(_0x41f257(0x1fa))/0xa;if(_0x965cfb===_0x5bae10)break;else _0x1702da['push'](_0x1702da['shift']());}catch(_0x363b78){_0x1702da['push'](_0x1702da['shift']());}}}(a2_0xaa61,0xd060f));Object[a2_0x598acf(0x1f4)](exports,a2_0x598acf(0x1ee),{'value':!![]}),exports[a2_0x598acf(0x1fb)]=exports[a2_0x598acf(0x1f3)]=exports[a2_0x598acf(0x1f1)]=void 0x0;var Event_1=require('./decorator/Event');Object[a2_0x598acf(0x1f4)](exports,a2_0x598acf(0x1f1),{'enumerable':!![],'get':function(){var _0x2d20d5=a2_0x598acf;return Event_1[_0x2d20d5(0x1f1)];}});var EventService_1=require(a2_0x598acf(0x1f0));Object[a2_0x598acf(0x1f4)](exports,a2_0x598acf(0x1f3),{'enumerable':!![],'get':function(){var _0x37ca1c=a2_0x598acf;return EventService_1[_0x37ca1c(0x1f3)];}});var configuration_1=require(a2_0x598acf(0x1ef));function a2_0xaa61(){var _0x33294c=['21803490yQwmAj','Configuration','1203914SbLFJN','4798146gqjIwQ','8468432DBRTUf','__esModule','./configuration','./service/EventService','Event','36OiPgYV','EventService','defineProperty','4192hukvGu','1280835TfqMrl','4287DnYoIz','2NtnihJ','1416848wfrleI'];a2_0xaa61=function(){return _0x33294c;};return a2_0xaa61();}function a2_0x7d00(_0x440197,_0x2267f6){var _0xaa61e2=a2_0xaa61();return a2_0x7d00=function(_0x7d005b,_0x482f5a){_0x7d005b=_0x7d005b-0x1eb;var _0x425bfc=_0xaa61e2[_0x7d005b];return _0x425bfc;},a2_0x7d00(_0x440197,_0x2267f6);}Object[a2_0x598acf(0x1f4)](exports,a2_0x598acf(0x1fb),{'enumerable':!![],'get':function(){return configuration_1['CustomConfiguration'];}});
package/dist/interface.js CHANGED
@@ -1 +1 @@
1
- 'use strict';var a3_0x53f01b=a3_0x2b87;(function(_0x2fc503,_0x399e3c){var _0x54464c=a3_0x2b87,_0x40d8da=_0x2fc503();while(!![]){try{var _0x1d83df=-parseInt(_0x54464c(0x1fc))/0x1+-parseInt(_0x54464c(0x1f7))/0x2*(parseInt(_0x54464c(0x1f6))/0x3)+-parseInt(_0x54464c(0x1f4))/0x4+parseInt(_0x54464c(0x1f3))/0x5*(parseInt(_0x54464c(0x1f2))/0x6)+-parseInt(_0x54464c(0x1f9))/0x7*(parseInt(_0x54464c(0x1f1))/0x8)+parseInt(_0x54464c(0x1fd))/0x9+parseInt(_0x54464c(0x1fe))/0xa;if(_0x1d83df===_0x399e3c)break;else _0x40d8da['push'](_0x40d8da['shift']());}catch(_0x3ca1a8){_0x40d8da['push'](_0x40d8da['shift']());}}}(a3_0x7df5,0xa526f));function a3_0x7df5(){var _0x4b3154=['136HfOXjQ','1768134hjapNw','5vrNrjp','3044584mqwaGr','__esModule','3AdauYW','2244170hJVMEb','defineProperty','341929fyKNSj','EVENT_ON_KEY','anncic-api:event:on','1198409HINjZJ','7873074pOvGWD','34190270LiEutM','EVENT_KEY'];a3_0x7df5=function(){return _0x4b3154;};return a3_0x7df5();}function a3_0x2b87(_0x2e7336,_0x340f59){var _0x7df570=a3_0x7df5();return a3_0x2b87=function(_0x2b874e,_0x537363){_0x2b874e=_0x2b874e-0x1f1;var _0x3ea23a=_0x7df570[_0x2b874e];return _0x3ea23a;},a3_0x2b87(_0x2e7336,_0x340f59);}Object[a3_0x53f01b(0x1f8)](exports,a3_0x53f01b(0x1f5),{'value':!![]}),exports[a3_0x53f01b(0x1fa)]=exports[a3_0x53f01b(0x1ff)]=void 0x0,exports[a3_0x53f01b(0x1ff)]='anncic-api:event',exports[a3_0x53f01b(0x1fa)]=a3_0x53f01b(0x1fb);
1
+ 'use strict';function a3_0x79b7(){var _0x3cb784=['1292796TnIjec','8907330aPIAFm','8896184wPNZfM','52943013ggpyCE','8737631XdoozG','anncic-api:event','2eBOqSc','__esModule','1545799hRXMjy','3553404tnTABI','EVENT_KEY','EVENT_ON_KEY','5QnGGLi'];a3_0x79b7=function(){return _0x3cb784;};return a3_0x79b7();}var a3_0x1b19ce=a3_0x42c2;function a3_0x42c2(_0x1641e7,_0x167f9a){var _0x79b72a=a3_0x79b7();return a3_0x42c2=function(_0x42c2a8,_0x4cfa4c){_0x42c2a8=_0x42c2a8-0x10c;var _0x35d6d1=_0x79b72a[_0x42c2a8];return _0x35d6d1;},a3_0x42c2(_0x1641e7,_0x167f9a);}(function(_0x39aa19,_0x1332c7){var _0x50488a=a3_0x42c2,_0x446e08=_0x39aa19();while(!![]){try{var _0x36c12d=parseInt(_0x50488a(0x10f))/0x1*(parseInt(_0x50488a(0x10d))/0x2)+parseInt(_0x50488a(0x114))/0x3+parseInt(_0x50488a(0x110))/0x4+-parseInt(_0x50488a(0x113))/0x5*(-parseInt(_0x50488a(0x115))/0x6)+parseInt(_0x50488a(0x118))/0x7+parseInt(_0x50488a(0x116))/0x8+-parseInt(_0x50488a(0x117))/0x9;if(_0x36c12d===_0x1332c7)break;else _0x446e08['push'](_0x446e08['shift']());}catch(_0x208f73){_0x446e08['push'](_0x446e08['shift']());}}}(a3_0x79b7,0xc9fc8));Object['defineProperty'](exports,a3_0x1b19ce(0x10e),{'value':!![]}),exports['EVENT_ON_KEY']=exports[a3_0x1b19ce(0x111)]=void 0x0,exports[a3_0x1b19ce(0x111)]=a3_0x1b19ce(0x10c),exports[a3_0x1b19ce(0x112)]='anncic-api:event:on';
@@ -1 +1 @@
1
- 'use strict';const a4_0x52620b=a4_0x3a64;function a4_0x309f(){const _0x4e8b88=['12KAMzZS','collect.js','decorate','function','sortByDesc','__metadata','all','push','defineProperty','8453740ZMLpga','length','propertyKey','24850rrZUAR','EVENT_ON_KEY','34EGpcAd','Scope','default','@midwayjs/core','off','getListevent','78556TWSeru','getOwnPropertyDescriptor','name','1336fJVnWf','prototype','resolve','init','getAsync','../interface','2135476SpRhDl','bind','listevent','priority','28431swoJUf','7034GONBEI','__esModule','ScopeEnum','app','emit','EventService','listModule','object','event','11XGjGoW','1362186luseGJ'];a4_0x309f=function(){return _0x4e8b88;};return a4_0x309f();}(function(_0x290dda,_0x249e57){const _0x59bd80=a4_0x3a64,_0x41bd48=_0x290dda();while(!![]){try{const _0x4e4294=-parseInt(_0x59bd80(0xb9))/0x1*(-parseInt(_0x59bd80(0xa5))/0x2)+-parseInt(_0x59bd80(0x97))/0x3*(parseInt(_0x59bd80(0xab))/0x4)+-parseInt(_0x59bd80(0xa3))/0x5+parseInt(_0x59bd80(0x96))/0x6+-parseInt(_0x59bd80(0xb4))/0x7+parseInt(_0x59bd80(0xae))/0x8*(-parseInt(_0x59bd80(0xb8))/0x9)+parseInt(_0x59bd80(0xa0))/0xa*(parseInt(_0x59bd80(0x95))/0xb);if(_0x4e4294===_0x249e57)break;else _0x41bd48['push'](_0x41bd48['shift']());}catch(_0x59406b){_0x41bd48['push'](_0x41bd48['shift']());}}}(a4_0x309f,0x4357c));var __decorate=this&&this['__decorate']||function(_0x2c6dd2,_0x4c8859,_0x2d2447,_0x1376a7){const _0xcae56b=a4_0x3a64;var _0x515ab5=arguments[_0xcae56b(0xa1)],_0x37a093=_0x515ab5<0x3?_0x4c8859:_0x1376a7===null?_0x1376a7=Object[_0xcae56b(0xac)](_0x4c8859,_0x2d2447):_0x1376a7,_0x1faf17;if(typeof Reflect===_0xcae56b(0x93)&&typeof Reflect[_0xcae56b(0x99)]===_0xcae56b(0x9a))_0x37a093=Reflect[_0xcae56b(0x99)](_0x2c6dd2,_0x4c8859,_0x2d2447,_0x1376a7);else{for(var _0x490385=_0x2c6dd2[_0xcae56b(0xa1)]-0x1;_0x490385>=0x0;_0x490385--)if(_0x1faf17=_0x2c6dd2[_0x490385])_0x37a093=(_0x515ab5<0x3?_0x1faf17(_0x37a093):_0x515ab5>0x3?_0x1faf17(_0x4c8859,_0x2d2447,_0x37a093):_0x1faf17(_0x4c8859,_0x2d2447))||_0x37a093;}return _0x515ab5>0x3&&_0x37a093&&Object[_0xcae56b(0x9f)](_0x4c8859,_0x2d2447,_0x37a093),_0x37a093;},__metadata=this&&this[a4_0x52620b(0x9c)]||function(_0x2cf4f8,_0xe0d848){const _0x4cb96d=a4_0x52620b;if(typeof Reflect===_0x4cb96d(0x93)&&typeof Reflect['metadata']==='function')return Reflect['metadata'](_0x2cf4f8,_0xe0d848);};Object['defineProperty'](exports,a4_0x52620b(0xba),{'value':!![]}),exports[a4_0x52620b(0x91)]=void 0x0;const collect_js_1=require(a4_0x52620b(0x98)),core_1=require(a4_0x52620b(0xa8)),interface_1=require(a4_0x52620b(0xb3));let EventService=class EventService{constructor(){this['init']=![];}async[a4_0x52620b(0xaa)](_0x18658d){const _0x4fa4e5=a4_0x52620b;if(!this[_0x4fa4e5(0xb1)]){this['init']=!![],this['listevent']={};for(const _0x74e943 of(0x0,core_1[_0x4fa4e5(0x92)])(interface_1['EVENT_KEY'])||[]){const _0x2f763d=await this['app']['getApplicationContext']()[_0x4fa4e5(0xb2)](_0x74e943);for(const _0x60fc97 of(0x0,core_1['getClassMetadata'])(interface_1[_0x4fa4e5(0xa4)],_0x74e943)||[]){typeof(_0x2f763d[_0x60fc97[_0x4fa4e5(0xa2)]]==_0x4fa4e5(0x9a))&&(!this[_0x4fa4e5(0xb6)][_0x60fc97[_0x4fa4e5(0xad)]]&&(this[_0x4fa4e5(0xb6)][_0x60fc97[_0x4fa4e5(0xad)]]=[]),this[_0x4fa4e5(0xb6)][_0x60fc97['name']][_0x4fa4e5(0x9e)]({'priority':_0x60fc97[_0x4fa4e5(0xb7)],'resolve':_0x2f763d[_0x60fc97['propertyKey']][_0x4fa4e5(0xb5)](_0x2f763d),'propertyKey':_0x74e943[_0x4fa4e5(0xad)]+'@'+_0x60fc97[_0x4fa4e5(0xa2)]}));}}for(const _0x41cfb0 in this['listevent']){this[_0x4fa4e5(0xb6)][_0x41cfb0]=(0x0,collect_js_1[_0x4fa4e5(0xa7)])(this['listevent'][_0x41cfb0])[_0x4fa4e5(0x9b)](_0x4fa4e5(0xb7))[_0x4fa4e5(0x9d)]();}}return _0x18658d?this[_0x4fa4e5(0xb6)][_0x18658d]||[]:this[_0x4fa4e5(0xb6)];}async[a4_0x52620b(0x90)](_0x2db9ab,..._0x3981e9){const _0x45a4a4=a4_0x52620b;var _0x2dedc1,_0x4a1365;await this[_0x45a4a4(0xaa)]();for(let _0x3a7e98 in(_0x2dedc1=this[_0x45a4a4(0xb6)])===null||_0x2dedc1===void 0x0?void 0x0:_0x2dedc1[_0x2db9ab]){const _0x9acf84=(_0x4a1365=this[_0x45a4a4(0xb6)][_0x2db9ab])===null||_0x4a1365===void 0x0?void 0x0:_0x4a1365[_0x3a7e98];(_0x9acf84===null||_0x9acf84===void 0x0?void 0x0:_0x9acf84['resolve'])&&typeof(_0x9acf84===null||_0x9acf84===void 0x0?void 0x0:_0x9acf84['resolve'])=='function'&&await _0x9acf84[_0x45a4a4(0xb0)](..._0x3981e9);}}async['once'](_0x5be1dd,..._0x213272){const _0x323a03=a4_0x52620b;return await this[_0x323a03(0xaa)](),await this[_0x323a03(0x90)](_0x5be1dd,..._0x213272),this[_0x323a03(0xa9)](_0x5be1dd);}async[a4_0x52620b(0xa9)](_0x21f71e){const _0x55b075=a4_0x52620b;return await this[_0x55b075(0xaa)](),this[_0x55b075(0xb6)][_0x21f71e]&&delete this[_0x55b075(0xb6)][_0x21f71e],!!this['listevent'][_0x21f71e];}};function a4_0x3a64(_0x5487b6,_0x5f28bb){const _0x309f25=a4_0x309f();return a4_0x3a64=function(_0x3a64be,_0x3cc988){_0x3a64be=_0x3a64be-0x8e;let _0x18f06c=_0x309f25[_0x3a64be];return _0x18f06c;},a4_0x3a64(_0x5487b6,_0x5f28bb);}__decorate([(0x0,core_1['App'])(),__metadata('design:type',Object)],EventService[a4_0x52620b(0xaf)],a4_0x52620b(0x8f),void 0x0),EventService=__decorate([(0x0,core_1['Provide'])(a4_0x52620b(0x94)),(0x0,core_1[a4_0x52620b(0xa6)])(core_1[a4_0x52620b(0x8e)]['Singleton'])],EventService),exports[a4_0x52620b(0x91)]=EventService;
1
+ 'use strict';const a4_0x9d0189=a4_0x2256;function a4_0x2256(_0x440a14,_0x2ac6ca){const _0x2e7711=a4_0x2e77();return a4_0x2256=function(_0x2256bb,_0x1d7e66){_0x2256bb=_0x2256bb-0x169;let _0x5598a7=_0x2e7711[_0x2256bb];return _0x5598a7;},a4_0x2256(_0x440a14,_0x2ac6ca);}(function(_0x464e01,_0x349396){const _0x5352b5=a4_0x2256,_0x3d864c=_0x464e01();while(!![]){try{const _0x4d6700=-parseInt(_0x5352b5(0x190))/0x1*(-parseInt(_0x5352b5(0x188))/0x2)+-parseInt(_0x5352b5(0x185))/0x3*(parseInt(_0x5352b5(0x181))/0x4)+parseInt(_0x5352b5(0x179))/0x5*(-parseInt(_0x5352b5(0x17e))/0x6)+-parseInt(_0x5352b5(0x186))/0x7*(-parseInt(_0x5352b5(0x18f))/0x8)+parseInt(_0x5352b5(0x178))/0x9+parseInt(_0x5352b5(0x176))/0xa*(-parseInt(_0x5352b5(0x195))/0xb)+parseInt(_0x5352b5(0x18a))/0xc;if(_0x4d6700===_0x349396)break;else _0x3d864c['push'](_0x3d864c['shift']());}catch(_0x2816f6){_0x3d864c['push'](_0x3d864c['shift']());}}}(a4_0x2e77,0xc2fd3));var __decorate=this&&this[a4_0x9d0189(0x172)]||function(_0x357d73,_0x4b3b71,_0x136b54,_0x32fec1){const _0x5cba87=a4_0x9d0189;var _0x26388f=arguments[_0x5cba87(0x17a)],_0x1288be=_0x26388f<0x3?_0x4b3b71:_0x32fec1===null?_0x32fec1=Object[_0x5cba87(0x19a)](_0x4b3b71,_0x136b54):_0x32fec1,_0x5260f7;if(typeof Reflect===_0x5cba87(0x184)&&typeof Reflect['decorate']===_0x5cba87(0x18c))_0x1288be=Reflect[_0x5cba87(0x183)](_0x357d73,_0x4b3b71,_0x136b54,_0x32fec1);else{for(var _0x5e91e8=_0x357d73[_0x5cba87(0x17a)]-0x1;_0x5e91e8>=0x0;_0x5e91e8--)if(_0x5260f7=_0x357d73[_0x5e91e8])_0x1288be=(_0x26388f<0x3?_0x5260f7(_0x1288be):_0x26388f>0x3?_0x5260f7(_0x4b3b71,_0x136b54,_0x1288be):_0x5260f7(_0x4b3b71,_0x136b54))||_0x1288be;}return _0x26388f>0x3&&_0x1288be&&Object[_0x5cba87(0x193)](_0x4b3b71,_0x136b54,_0x1288be),_0x1288be;},__metadata=this&&this[a4_0x9d0189(0x18e)]||function(_0x14d2e9,_0x1304f6){const _0xb02078=a4_0x9d0189;if(typeof Reflect===_0xb02078(0x184)&&typeof Reflect['metadata']===_0xb02078(0x18c))return Reflect['metadata'](_0x14d2e9,_0x1304f6);};Object[a4_0x9d0189(0x193)](exports,a4_0x9d0189(0x16a),{'value':!![]}),exports[a4_0x9d0189(0x196)]=void 0x0;const collect_js_1=require(a4_0x9d0189(0x177)),core_1=require(a4_0x9d0189(0x182)),interface_1=require(a4_0x9d0189(0x175));let EventService=class EventService{constructor(){const _0x5c9ece=a4_0x9d0189;this[_0x5c9ece(0x189)]=![];}async[a4_0x9d0189(0x194)](_0x5deead){const _0x269016=a4_0x9d0189;if(!this[_0x269016(0x189)]){this[_0x269016(0x189)]=!![],this['listevent']={};for(const _0x3b0691 of(0x0,core_1[_0x269016(0x174)])(interface_1['EVENT_KEY'])||[]){const _0x21dcdd=await this[_0x269016(0x16c)][_0x269016(0x169)]()[_0x269016(0x18d)](_0x3b0691);for(const _0x590eaf of(0x0,core_1[_0x269016(0x192)])(interface_1[_0x269016(0x198)],_0x3b0691)||[]){typeof(_0x21dcdd[_0x590eaf[_0x269016(0x197)]]=='function')&&(!this[_0x269016(0x180)][_0x590eaf[_0x269016(0x170)]]&&(this['listevent'][_0x590eaf[_0x269016(0x170)]]=[]),this[_0x269016(0x180)][_0x590eaf[_0x269016(0x170)]][_0x269016(0x199)]({'priority':_0x590eaf[_0x269016(0x16d)],'resolve':_0x21dcdd[_0x590eaf[_0x269016(0x197)]]['bind'](_0x21dcdd),'propertyKey':_0x3b0691[_0x269016(0x170)]+'@'+_0x590eaf[_0x269016(0x197)]}));}}for(const _0x3b646d in this[_0x269016(0x180)]){this[_0x269016(0x180)][_0x3b646d]=(0x0,collect_js_1[_0x269016(0x16f)])(this['listevent'][_0x3b646d])['sortByDesc']('priority')[_0x269016(0x16b)]();}}return _0x5deead?this['listevent'][_0x5deead]||[]:this['listevent'];}async['emit'](_0x193cab,..._0x43f75c){const _0x2b7215=a4_0x9d0189;var _0x4c9d9e,_0x3da814;await this[_0x2b7215(0x194)]();for(let _0x7eeaae in(_0x4c9d9e=this[_0x2b7215(0x180)])===null||_0x4c9d9e===void 0x0?void 0x0:_0x4c9d9e[_0x193cab]){const _0x9b2419=(_0x3da814=this[_0x2b7215(0x180)][_0x193cab])===null||_0x3da814===void 0x0?void 0x0:_0x3da814[_0x7eeaae];(_0x9b2419===null||_0x9b2419===void 0x0?void 0x0:_0x9b2419[_0x2b7215(0x173)])&&typeof(_0x9b2419===null||_0x9b2419===void 0x0?void 0x0:_0x9b2419[_0x2b7215(0x173)])==_0x2b7215(0x18c)&&await _0x9b2419[_0x2b7215(0x173)](..._0x43f75c);}}async[a4_0x9d0189(0x17c)](_0x3e556f,..._0x5c0c87){const _0xafb2ed=a4_0x9d0189;return await this[_0xafb2ed(0x194)](),await this[_0xafb2ed(0x16e)](_0x3e556f,..._0x5c0c87),this['off'](_0x3e556f);}async[a4_0x9d0189(0x191)](_0x1c22da){const _0x127717=a4_0x9d0189;return await this[_0x127717(0x194)](),this[_0x127717(0x180)][_0x1c22da]&&delete this[_0x127717(0x180)][_0x1c22da],!!this[_0x127717(0x180)][_0x1c22da];}};__decorate([(0x0,core_1[a4_0x9d0189(0x17f)])(),__metadata(a4_0x9d0189(0x187),Object)],EventService[a4_0x9d0189(0x17d)],a4_0x9d0189(0x16c),void 0x0),EventService=__decorate([(0x0,core_1['Provide'])(a4_0x9d0189(0x17b)),(0x0,core_1[a4_0x9d0189(0x171)])(core_1['ScopeEnum'][a4_0x9d0189(0x18b)])],EventService),exports[a4_0x9d0189(0x196)]=EventService;function a4_0x2e77(){const _0x2625e0=['defineProperty','getListevent','1286681kxuhGx','EventService','propertyKey','EVENT_ON_KEY','push','getOwnPropertyDescriptor','getApplicationContext','__esModule','all','app','priority','emit','default','name','Scope','__decorate','resolve','listModule','../interface','90sTbWQH','collect.js','4491684cOYtaK','170kXmMRT','length','event','once','prototype','224142mToFYC','App','listevent','20iptxno','@midwayjs/core','decorate','object','175209EbPlMY','6369202yxjVRP','design:type','1684ozeLrv','init','6848148jjIBKp','Singleton','function','getAsync','__metadata','8YSHeUZ','1703omxxqj','off','getClassMetadata'];a4_0x2e77=function(){return _0x2625e0;};return a4_0x2e77();}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anncic-api/event",
3
- "version": "1.4.14",
3
+ "version": "1.4.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": "d3db3c35dfbc6649f45de7f983f024bf57bf78e0"
24
+ "gitHead": "f710648b37477e0e864baa0dd8f83ad1bf337bb8"
25
25
  }