@anncic-api/event 1.1.16 → 1.1.21

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_0x1c5cb2=a0_0x5dd7;function a0_0x5dd7(_0x105888,_0x2acfb2){var _0x460fb5=a0_0x460f();return a0_0x5dd7=function(_0x5dd74a,_0x3fccd6){_0x5dd74a=_0x5dd74a-0xb4;var _0x5ae7ed=_0x460fb5[_0x5dd74a];return _0x5ae7ed;},a0_0x5dd7(_0x105888,_0x2acfb2);}(function(_0x3aba6d,_0xd0756c){var _0x56bf30=a0_0x5dd7,_0x2c36c3=_0x3aba6d();while(!![]){try{var _0x275556=parseInt(_0x56bf30(0xd1))/0x1*(-parseInt(_0x56bf30(0xc0))/0x2)+-parseInt(_0x56bf30(0xd2))/0x3+parseInt(_0x56bf30(0xd0))/0x4*(parseInt(_0x56bf30(0xb9))/0x5)+parseInt(_0x56bf30(0xd3))/0x6*(-parseInt(_0x56bf30(0xbc))/0x7)+-parseInt(_0x56bf30(0xc1))/0x8*(parseInt(_0x56bf30(0xc8))/0x9)+-parseInt(_0x56bf30(0xbe))/0xa+-parseInt(_0x56bf30(0xc6))/0xb*(-parseInt(_0x56bf30(0xc9))/0xc);if(_0x275556===_0xd0756c)break;else _0x2c36c3['push'](_0x2c36c3['shift']());}catch(_0x857490){_0x2c36c3['push'](_0x2c36c3['shift']());}}}(a0_0x460f,0xd915f));var __decorate=this&&this[a0_0x1c5cb2(0xb4)]||function(_0x5240a2,_0x3fcd4d,_0x431f10,_0x2082a7){var _0x241f64=a0_0x1c5cb2,_0x3e7862=arguments[_0x241f64(0xcf)],_0x3cf9fc=_0x3e7862<0x3?_0x3fcd4d:_0x2082a7===null?_0x2082a7=Object[_0x241f64(0xc4)](_0x3fcd4d,_0x431f10):_0x2082a7,_0x339073;if(typeof Reflect===_0x241f64(0xbb)&&typeof Reflect[_0x241f64(0xb7)]==='function')_0x3cf9fc=Reflect[_0x241f64(0xb7)](_0x5240a2,_0x3fcd4d,_0x431f10,_0x2082a7);else{for(var _0x29d99b=_0x5240a2[_0x241f64(0xcf)]-0x1;_0x29d99b>=0x0;_0x29d99b--)if(_0x339073=_0x5240a2[_0x29d99b])_0x3cf9fc=(_0x3e7862<0x3?_0x339073(_0x3cf9fc):_0x3e7862>0x3?_0x339073(_0x3fcd4d,_0x431f10,_0x3cf9fc):_0x339073(_0x3fcd4d,_0x431f10))||_0x3cf9fc;}return _0x3e7862>0x3&&_0x3cf9fc&&Object['defineProperty'](_0x3fcd4d,_0x431f10,_0x3cf9fc),_0x3cf9fc;},__metadata=this&&this[a0_0x1c5cb2(0xc3)]||function(_0x13cb7e,_0x466e06){var _0x447c9d=a0_0x1c5cb2;if(typeof Reflect===_0x447c9d(0xbb)&&typeof Reflect['metadata']===_0x447c9d(0xbf))return Reflect[_0x447c9d(0xb8)](_0x13cb7e,_0x466e06);};Object[a0_0x1c5cb2(0xcb)](exports,a0_0x1c5cb2(0xb5),{'value':!![]}),exports[a0_0x1c5cb2(0xc5)]=void 0x0;function a0_0x460f(){var _0x108a6b=['369CAViNx','12MiJQLN','@midwayjs/decorator','defineProperty','Inject','Configuration','config','length','4339564dycqUR','7GHqoeM','3964791SkoHIh','1050636ilDrNo','__decorate','__esModule','anncic-api:event','decorate','metadata','5PGqjnQ','prototype','object','63hYmypl','MidwayConfigService','10225340MVHShJ','function','285598byYyCL','182280PhwYyR','onReady','__metadata','getOwnPropertyDescriptor','CustomConfiguration','62239705sVgbRu','design:type'];a0_0x460f=function(){return _0x108a6b;};return a0_0x460f();}const decorator_1=require(a0_0x1c5cb2(0xca)),core_1=require('@midwayjs/core');let CustomConfiguration=class CustomConfiguration{async[a0_0x1c5cb2(0xc2)](){}};__decorate([(0x0,decorator_1['Inject'])(),__metadata(a0_0x1c5cb2(0xc7),core_1[a0_0x1c5cb2(0xbd)])],CustomConfiguration[a0_0x1c5cb2(0xba)],a0_0x1c5cb2(0xce),void 0x0),__decorate([(0x0,decorator_1[a0_0x1c5cb2(0xcc)])(),__metadata(a0_0x1c5cb2(0xc7),core_1['MidwayDecoratorService'])],CustomConfiguration['prototype'],'decorator',void 0x0),CustomConfiguration=__decorate([(0x0,decorator_1[a0_0x1c5cb2(0xcd)])({'conflictCheck':![],'namespace':a0_0x1c5cb2(0xb6)})],CustomConfiguration),exports[a0_0x1c5cb2(0xc5)]=CustomConfiguration;
1
+ 'use strict';function a0_0x5705(){var _0x46b347=['decorate','defineProperty','MidwayConfigService','CustomConfiguration','length','design:type','onReady','__decorate','__esModule','prototype','1645089cEwwWQ','18837742VbJbMG','3627342jMRAtC','object','anncic-api:event','__metadata','function','metadata','888618lzNpFJ','MidwayDecoratorService','1504795uBsPKr','43288AYlRUV','@midwayjs/decorator','@midwayjs/core','453881JruWNd'];a0_0x5705=function(){return _0x46b347;};return a0_0x5705();}var a0_0x59ec48=a0_0x5417;function a0_0x5417(_0x19bd0c,_0x3594d6){var _0x5705b6=a0_0x5705();return a0_0x5417=function(_0x541704,_0x30c0fc){_0x541704=_0x541704-0xa0;var _0x10dc92=_0x5705b6[_0x541704];return _0x10dc92;},a0_0x5417(_0x19bd0c,_0x3594d6);}(function(_0xdf9d2d,_0x15c10a){var _0x125143=a0_0x5417,_0x5726ae=_0xdf9d2d();while(!![]){try{var _0x487a74=-parseInt(_0x125143(0xb6))/0x1+-parseInt(_0x125143(0xb0))/0x2+-parseInt(_0x125143(0xa8))/0x3+parseInt(_0x125143(0xb3))/0x4+-parseInt(_0x125143(0xb2))/0x5+-parseInt(_0x125143(0xaa))/0x6+parseInt(_0x125143(0xa9))/0x7;if(_0x487a74===_0x15c10a)break;else _0x5726ae['push'](_0x5726ae['shift']());}catch(_0x4a2279){_0x5726ae['push'](_0x5726ae['shift']());}}}(a0_0x5705,0x556a3));var __decorate=this&&this[a0_0x59ec48(0xa5)]||function(_0x2e7b44,_0x2156c6,_0x5ca251,_0x165042){var _0x5baaf3=a0_0x59ec48,_0x106525=arguments[_0x5baaf3(0xa2)],_0x52c53f=_0x106525<0x3?_0x2156c6:_0x165042===null?_0x165042=Object['getOwnPropertyDescriptor'](_0x2156c6,_0x5ca251):_0x165042,_0x3c8b5c;if(typeof Reflect===_0x5baaf3(0xab)&&typeof Reflect[_0x5baaf3(0xb7)]===_0x5baaf3(0xae))_0x52c53f=Reflect[_0x5baaf3(0xb7)](_0x2e7b44,_0x2156c6,_0x5ca251,_0x165042);else{for(var _0x5d8a5d=_0x2e7b44[_0x5baaf3(0xa2)]-0x1;_0x5d8a5d>=0x0;_0x5d8a5d--)if(_0x3c8b5c=_0x2e7b44[_0x5d8a5d])_0x52c53f=(_0x106525<0x3?_0x3c8b5c(_0x52c53f):_0x106525>0x3?_0x3c8b5c(_0x2156c6,_0x5ca251,_0x52c53f):_0x3c8b5c(_0x2156c6,_0x5ca251))||_0x52c53f;}return _0x106525>0x3&&_0x52c53f&&Object['defineProperty'](_0x2156c6,_0x5ca251,_0x52c53f),_0x52c53f;},__metadata=this&&this[a0_0x59ec48(0xad)]||function(_0x488e3d,_0x588b8e){var _0x565fe1=a0_0x59ec48;if(typeof Reflect===_0x565fe1(0xab)&&typeof Reflect[_0x565fe1(0xaf)]==='function')return Reflect[_0x565fe1(0xaf)](_0x488e3d,_0x588b8e);};Object[a0_0x59ec48(0xb8)](exports,a0_0x59ec48(0xa6),{'value':!![]}),exports[a0_0x59ec48(0xa1)]=void 0x0;const decorator_1=require(a0_0x59ec48(0xb4)),core_1=require(a0_0x59ec48(0xb5));let CustomConfiguration=class CustomConfiguration{async[a0_0x59ec48(0xa4)](){}};__decorate([(0x0,decorator_1['Inject'])(),__metadata('design:type',core_1[a0_0x59ec48(0xa0)])],CustomConfiguration[a0_0x59ec48(0xa7)],'config',void 0x0),__decorate([(0x0,decorator_1['Inject'])(),__metadata(a0_0x59ec48(0xa3),core_1[a0_0x59ec48(0xb1)])],CustomConfiguration[a0_0x59ec48(0xa7)],'decorator',void 0x0),CustomConfiguration=__decorate([(0x0,decorator_1['Configuration'])({'conflictCheck':![],'namespace':a0_0x59ec48(0xac)})],CustomConfiguration),exports[a0_0x59ec48(0xa1)]=CustomConfiguration;
@@ -1 +1 @@
1
- 'use strict';const a1_0x3012c6=a1_0x5955;(function(_0x405983,_0x1916b2){const _0x448d45=a1_0x5955,_0x19ee01=_0x405983();while(!![]){try{const _0x581133=parseInt(_0x448d45(0x1ee))/0x1*(parseInt(_0x448d45(0x1f2))/0x2)+-parseInt(_0x448d45(0x1ec))/0x3+-parseInt(_0x448d45(0x1e5))/0x4+parseInt(_0x448d45(0x1ed))/0x5*(-parseInt(_0x448d45(0x1f1))/0x6)+-parseInt(_0x448d45(0x1f4))/0x7*(-parseInt(_0x448d45(0x1e7))/0x8)+-parseInt(_0x448d45(0x1e4))/0x9*(parseInt(_0x448d45(0x1e6))/0xa)+parseInt(_0x448d45(0x1f0))/0xb;if(_0x581133===_0x1916b2)break;else _0x19ee01['push'](_0x19ee01['shift']());}catch(_0x5290fd){_0x19ee01['push'](_0x19ee01['shift']());}}}(a1_0x458f,0x5dfeb));function a1_0x5955(_0x5ce642,_0x1679b4){const _0x458fe9=a1_0x458f();return a1_0x5955=function(_0x5955b4,_0x75f634){_0x5955b4=_0x5955b4-0x1e3;let _0x5734b3=_0x458fe9[_0x5955b4];return _0x5734b3;},a1_0x5955(_0x5ce642,_0x1679b4);}Object['defineProperty'](exports,a1_0x3012c6(0x1ef),{'value':!![]}),exports[a1_0x3012c6(0x1e9)]=void 0x0;const decorator_1=require(a1_0x3012c6(0x1ea)),interface_1=require('../interface');function a1_0x458f(){const _0x550e56=['300790VaWddl','306czsDLt','__esModule','4120842MwYuAw','36WBoWrH','1066KFohzI','Scope','7WNQhJH','Provide','857817aRFUoZ','475500JkPOmS','30BeXVsx','5568768CTtyXs','EVENT_ON_KEY','Event','@midwayjs/decorator','EVENT_KEY','249153WeQHmy'];a1_0x458f=function(){return _0x550e56;};return a1_0x458f();}function Event(){return _0x5f01dd=>{const _0x2851af=a1_0x5955;(0x0,decorator_1[_0x2851af(0x1e3)])()(_0x5f01dd),(0x0,decorator_1['saveModule'])(interface_1[_0x2851af(0x1eb)],_0x5f01dd),(0x0,decorator_1[_0x2851af(0x1f3)])(decorator_1['ScopeEnum']['Request'],{'allowDowngrade':!![]})(_0x5f01dd);};}exports['Event']=Event,Event['On']=function(_0x551539,_0x1613d1=0x0){return(_0x3c6574,_0x32da86,_0x1f5782)=>{const _0x496835=a1_0x5955;return(0x0,decorator_1['attachClassMetadata'])(interface_1[_0x496835(0x1e8)],{'name':_0x551539,'priority':_0x1613d1,'propertyKey':_0x32da86,'descriptor':_0x1f5782},_0x3c6574),_0x1f5782;};};
1
+ 'use strict';const a1_0x2c409a=a1_0x3006;(function(_0x258027,_0x228b0a){const _0x11b66c=a1_0x3006,_0x35e285=_0x258027();while(!![]){try{const _0x4be4ba=parseInt(_0x11b66c(0xd4))/0x1*(parseInt(_0x11b66c(0xcb))/0x2)+parseInt(_0x11b66c(0xce))/0x3+-parseInt(_0x11b66c(0xd8))/0x4*(-parseInt(_0x11b66c(0xcc))/0x5)+-parseInt(_0x11b66c(0xd5))/0x6*(parseInt(_0x11b66c(0xcf))/0x7)+-parseInt(_0x11b66c(0xc9))/0x8*(parseInt(_0x11b66c(0xd9))/0x9)+-parseInt(_0x11b66c(0xd0))/0xa*(-parseInt(_0x11b66c(0xd7))/0xb)+-parseInt(_0x11b66c(0xca))/0xc;if(_0x4be4ba===_0x228b0a)break;else _0x35e285['push'](_0x35e285['shift']());}catch(_0x3a3a65){_0x35e285['push'](_0x35e285['shift']());}}}(a1_0x3ffd,0xa473d));function a1_0x3006(_0x8a93e7,_0x3882eb){const _0x3ffd23=a1_0x3ffd();return a1_0x3006=function(_0x3006d6,_0x44f423){_0x3006d6=_0x3006d6-0xc9;let _0x1f8803=_0x3ffd23[_0x3006d6];return _0x1f8803;},a1_0x3006(_0x8a93e7,_0x3882eb);}Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports['Event']=void 0x0;function a1_0x3ffd(){const _0xa14723=['attachClassMetadata','3817ANiucZ','148WDpzjl','99MGwCka','saveModule','Provide','EVENT_KEY','400200QbwHKy','13205436IzhkAH','2YcCIfA','28895pcqjti','EVENT_ON_KEY','2433129eCHiaG','3352881uyUlKI','28250nAafqY','Event','Scope','../interface','798167WvDgUl','6fZscBM'];a1_0x3ffd=function(){return _0xa14723;};return a1_0x3ffd();}const decorator_1=require('@midwayjs/decorator'),interface_1=require(a1_0x2c409a(0xd3));function Event(){return _0x339493=>{const _0x25698f=a1_0x3006;(0x0,decorator_1[_0x25698f(0xdb)])()(_0x339493),(0x0,decorator_1[_0x25698f(0xda)])(interface_1[_0x25698f(0xdc)],_0x339493),(0x0,decorator_1[_0x25698f(0xd2)])(decorator_1['ScopeEnum']['Request'],{'allowDowngrade':!![]})(_0x339493);};}exports[a1_0x2c409a(0xd1)]=Event,Event['On']=function(_0x247655,_0x5512d2=0x0){return(_0x2388a5,_0x57053d,_0x4d12f8)=>{const _0x3d783d=a1_0x3006;return(0x0,decorator_1[_0x3d783d(0xd6)])(interface_1[_0x3d783d(0xcd)],{'name':_0x247655,'priority':_0x5512d2,'propertyKey':_0x57053d,'descriptor':_0x4d12f8},_0x2388a5),_0x4d12f8;};};
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';var a2_0x5cfd5d=a2_0x1e36;(function(_0x535155,_0x28b9ef){var _0x22d56e=a2_0x1e36,_0xd05287=_0x535155();while(!![]){try{var _0x114ed8=-parseInt(_0x22d56e(0x1c6))/0x1*(-parseInt(_0x22d56e(0x1ce))/0x2)+parseInt(_0x22d56e(0x1d3))/0x3*(-parseInt(_0x22d56e(0x1c9))/0x4)+parseInt(_0x22d56e(0x1d7))/0x5*(parseInt(_0x22d56e(0x1c7))/0x6)+parseInt(_0x22d56e(0x1cc))/0x7*(parseInt(_0x22d56e(0x1d4))/0x8)+-parseInt(_0x22d56e(0x1da))/0x9*(-parseInt(_0x22d56e(0x1d8))/0xa)+-parseInt(_0x22d56e(0x1c8))/0xb+-parseInt(_0x22d56e(0x1d0))/0xc*(parseInt(_0x22d56e(0x1d5))/0xd);if(_0x114ed8===_0x28b9ef)break;else _0xd05287['push'](_0xd05287['shift']());}catch(_0x93ff2e){_0xd05287['push'](_0xd05287['shift']());}}}(a2_0x4c89,0xbd86b));Object[a2_0x5cfd5d(0x1d1)](exports,a2_0x5cfd5d(0x1cf),{'value':!![]}),exports[a2_0x5cfd5d(0x1d2)]=exports[a2_0x5cfd5d(0x1d6)]=exports[a2_0x5cfd5d(0x1d9)]=void 0x0;function a2_0x4c89(){var _0x14036e=['74673DTPFLa','5324qOVELh','69474oGJeub','6764824gFxicr','2894116pNpjow','./configuration','./service/EventService','40453xHcQnQ','CustomConfiguration','242dduBWV','__esModule','5656512rjvMxn','defineProperty','Configuration','3nWtlaB','536VcsGhk','13puzbnj','EventService','460FllGRF','590cSbsjP','Event'];a2_0x4c89=function(){return _0x14036e;};return a2_0x4c89();}var Event_1=require('./decorator/Event');Object[a2_0x5cfd5d(0x1d1)](exports,a2_0x5cfd5d(0x1d9),{'enumerable':!![],'get':function(){var _0x58d240=a2_0x5cfd5d;return Event_1[_0x58d240(0x1d9)];}});var EventService_1=require(a2_0x5cfd5d(0x1cb));function a2_0x1e36(_0x5adc59,_0xa2554c){var _0x4c89b8=a2_0x4c89();return a2_0x1e36=function(_0x1e3637,_0x15d962){_0x1e3637=_0x1e3637-0x1c6;var _0x505370=_0x4c89b8[_0x1e3637];return _0x505370;},a2_0x1e36(_0x5adc59,_0xa2554c);}Object['defineProperty'](exports,a2_0x5cfd5d(0x1d6),{'enumerable':!![],'get':function(){var _0xfac9b7=a2_0x5cfd5d;return EventService_1[_0xfac9b7(0x1d6)];}});var configuration_1=require(a2_0x5cfd5d(0x1ca));Object[a2_0x5cfd5d(0x1d1)](exports,a2_0x5cfd5d(0x1d2),{'enumerable':!![],'get':function(){var _0x1a4e2f=a2_0x5cfd5d;return configuration_1[_0x1a4e2f(0x1cd)];}});
1
+ 'use strict';var a2_0x2ab33d=a2_0x678f;(function(_0x36881c,_0x105fef){var _0x1c237e=a2_0x678f,_0x3a1d9f=_0x36881c();while(!![]){try{var _0x15f9f0=-parseInt(_0x1c237e(0x15b))/0x1+-parseInt(_0x1c237e(0x152))/0x2+-parseInt(_0x1c237e(0x151))/0x3+parseInt(_0x1c237e(0x155))/0x4+-parseInt(_0x1c237e(0x15a))/0x5*(-parseInt(_0x1c237e(0x15c))/0x6)+-parseInt(_0x1c237e(0x158))/0x7*(parseInt(_0x1c237e(0x14f))/0x8)+parseInt(_0x1c237e(0x154))/0x9;if(_0x15f9f0===_0x105fef)break;else _0x3a1d9f['push'](_0x3a1d9f['shift']());}catch(_0x3e3430){_0x3a1d9f['push'](_0x3a1d9f['shift']());}}}(a2_0x5d61,0xcce5f));Object[a2_0x2ab33d(0x157)](exports,'__esModule',{'value':!![]}),exports[a2_0x2ab33d(0x153)]=exports[a2_0x2ab33d(0x159)]=exports[a2_0x2ab33d(0x15e)]=void 0x0;var Event_1=require(a2_0x2ab33d(0x15d));Object['defineProperty'](exports,a2_0x2ab33d(0x15e),{'enumerable':!![],'get':function(){var _0x1653be=a2_0x2ab33d;return Event_1[_0x1653be(0x15e)];}});function a2_0x678f(_0x33311f,_0x5a0a85){var _0x5d612e=a2_0x5d61();return a2_0x678f=function(_0x678fb2,_0x1fa30f){_0x678fb2=_0x678fb2-0x14f;var _0x1b0863=_0x5d612e[_0x678fb2];return _0x1b0863;},a2_0x678f(_0x33311f,_0x5a0a85);}var EventService_1=require(a2_0x2ab33d(0x156));Object[a2_0x2ab33d(0x157)](exports,a2_0x2ab33d(0x159),{'enumerable':!![],'get':function(){return EventService_1['EventService'];}});var configuration_1=require('./configuration');function a2_0x5d61(){var _0x21cb6c=['4370416cOadfU','CustomConfiguration','3490962UkXLsT','42126CLFxou','Configuration','34122186cvngEw','1434536BcxJWX','./service/EventService','defineProperty','21VkYaWd','EventService','31980oEucMZ','1484878iPjQki','936OnbGNG','./decorator/Event','Event'];a2_0x5d61=function(){return _0x21cb6c;};return a2_0x5d61();}Object[a2_0x2ab33d(0x157)](exports,a2_0x2ab33d(0x153),{'enumerable':!![],'get':function(){var _0x1f25f6=a2_0x2ab33d;return configuration_1[_0x1f25f6(0x150)];}});
package/dist/interface.js CHANGED
@@ -1 +1 @@
1
- 'use strict';var a3_0x1e7a0a=a3_0xba91;(function(_0x2c612c,_0x4baa8b){var _0x2ed846=a3_0xba91,_0x32b812=_0x2c612c();while(!![]){try{var _0x6da889=parseInt(_0x2ed846(0xff))/0x1+-parseInt(_0x2ed846(0xfd))/0x2+-parseInt(_0x2ed846(0xfe))/0x3*(-parseInt(_0x2ed846(0xf8))/0x4)+parseInt(_0x2ed846(0xf9))/0x5+-parseInt(_0x2ed846(0xf7))/0x6+-parseInt(_0x2ed846(0xfa))/0x7+parseInt(_0x2ed846(0xf6))/0x8;if(_0x6da889===_0x4baa8b)break;else _0x32b812['push'](_0x32b812['shift']());}catch(_0x310731){_0x32b812['push'](_0x32b812['shift']());}}}(a3_0x38aa,0x8c417));function a3_0x38aa(){var _0x8595b4=['__esModule','2979328afzzsN','4878558rpWvwv','2173784tyHqgQ','1560905LZVdEE','4593841FIDhkj','EVENT_ON_KEY','EVENT_KEY','322798Okzkmx','6ZSJPgR','433753SRwkGp'];a3_0x38aa=function(){return _0x8595b4;};return a3_0x38aa();}function a3_0xba91(_0x26b6cd,_0x3fdffb){var _0x38aacf=a3_0x38aa();return a3_0xba91=function(_0xba91a1,_0x482c81){_0xba91a1=_0xba91a1-0xf5;var _0x1c4e0d=_0x38aacf[_0xba91a1];return _0x1c4e0d;},a3_0xba91(_0x26b6cd,_0x3fdffb);}Object['defineProperty'](exports,a3_0x1e7a0a(0xf5),{'value':!![]}),exports[a3_0x1e7a0a(0xfb)]=exports[a3_0x1e7a0a(0xfc)]=void 0x0,exports[a3_0x1e7a0a(0xfc)]='anncic-api:event',exports['EVENT_ON_KEY']='anncic-api:event:on';
1
+ 'use strict';function a3_0x4f2e(_0x5542a7,_0x51eda3){var _0x2f2c33=a3_0x2f2c();return a3_0x4f2e=function(_0x4f2e79,_0x5a43a5){_0x4f2e79=_0x4f2e79-0x100;var _0x51003d=_0x2f2c33[_0x4f2e79];return _0x51003d;},a3_0x4f2e(_0x5542a7,_0x51eda3);}var a3_0x4d53a2=a3_0x4f2e;(function(_0x50e785,_0x421a81){var _0x432958=a3_0x4f2e,_0x17a48d=_0x50e785();while(!![]){try{var _0x44f687=-parseInt(_0x432958(0x109))/0x1+parseInt(_0x432958(0x105))/0x2*(-parseInt(_0x432958(0x102))/0x3)+parseInt(_0x432958(0x10c))/0x4+parseInt(_0x432958(0x107))/0x5*(parseInt(_0x432958(0x106))/0x6)+parseInt(_0x432958(0x104))/0x7+parseInt(_0x432958(0x10e))/0x8+-parseInt(_0x432958(0x10d))/0x9;if(_0x44f687===_0x421a81)break;else _0x17a48d['push'](_0x17a48d['shift']());}catch(_0x2c867d){_0x17a48d['push'](_0x17a48d['shift']());}}}(a3_0x2f2c,0xd0c60));function a3_0x2f2c(){var _0x34d226=['3642330IvPRRu','defineProperty','1145385FlQiKI','EVENT_KEY','anncic-api:event','4758688xxfqYV','24825663LJKGTC','9165824WSmwyU','EVENT_ON_KEY','anncic-api:event:on','33iAOYPc','__esModule','11949133aIVYFn','2174cTnqSz','6uGVwDL'];a3_0x2f2c=function(){return _0x34d226;};return a3_0x2f2c();}Object[a3_0x4d53a2(0x108)](exports,a3_0x4d53a2(0x103),{'value':!![]}),exports[a3_0x4d53a2(0x100)]=exports[a3_0x4d53a2(0x10a)]=void 0x0,exports['EVENT_KEY']=a3_0x4d53a2(0x10b),exports['EVENT_ON_KEY']=a3_0x4d53a2(0x101);
@@ -1 +1 @@
1
- 'use strict';const a4_0x27bab9=a4_0x29b4;(function(_0x3fdb02,_0x261456){const _0x3f6eba=a4_0x29b4,_0x373943=_0x3fdb02();while(!![]){try{const _0xb91e18=parseInt(_0x3f6eba(0x9a))/0x1*(-parseInt(_0x3f6eba(0x8f))/0x2)+-parseInt(_0x3f6eba(0x94))/0x3*(parseInt(_0x3f6eba(0x7e))/0x4)+-parseInt(_0x3f6eba(0x76))/0x5+-parseInt(_0x3f6eba(0x8c))/0x6*(parseInt(_0x3f6eba(0x87))/0x7)+-parseInt(_0x3f6eba(0x9b))/0x8+-parseInt(_0x3f6eba(0x7d))/0x9+parseInt(_0x3f6eba(0x86))/0xa;if(_0xb91e18===_0x261456)break;else _0x373943['push'](_0x373943['shift']());}catch(_0x2b0298){_0x373943['push'](_0x373943['shift']());}}}(a4_0x1918,0xbab3b));var __decorate=this&&this[a4_0x27bab9(0x7a)]||function(_0x491337,_0x538a49,_0x2ad11f,_0x50e466){const _0x211056=a4_0x27bab9;var _0x3ae8c4=arguments['length'],_0x5391e5=_0x3ae8c4<0x3?_0x538a49:_0x50e466===null?_0x50e466=Object[_0x211056(0x7b)](_0x538a49,_0x2ad11f):_0x50e466,_0x500543;if(typeof Reflect===_0x211056(0x84)&&typeof Reflect[_0x211056(0x75)]===_0x211056(0x8d))_0x5391e5=Reflect[_0x211056(0x75)](_0x491337,_0x538a49,_0x2ad11f,_0x50e466);else{for(var _0x1bf805=_0x491337[_0x211056(0x73)]-0x1;_0x1bf805>=0x0;_0x1bf805--)if(_0x500543=_0x491337[_0x1bf805])_0x5391e5=(_0x3ae8c4<0x3?_0x500543(_0x5391e5):_0x3ae8c4>0x3?_0x500543(_0x538a49,_0x2ad11f,_0x5391e5):_0x500543(_0x538a49,_0x2ad11f))||_0x5391e5;}return _0x3ae8c4>0x3&&_0x5391e5&&Object[_0x211056(0x8e)](_0x538a49,_0x2ad11f,_0x5391e5),_0x5391e5;},__metadata=this&&this['__metadata']||function(_0xf9fa2,_0x3fa73b){const _0x2876a3=a4_0x27bab9;if(typeof Reflect===_0x2876a3(0x84)&&typeof Reflect[_0x2876a3(0x99)]===_0x2876a3(0x8d))return Reflect[_0x2876a3(0x99)](_0xf9fa2,_0x3fa73b);};Object[a4_0x27bab9(0x8e)](exports,'__esModule',{'value':!![]}),exports[a4_0x27bab9(0x9c)]=void 0x0;function a4_0x29b4(_0x2e3029,_0x24d410){const _0x191877=a4_0x1918();return a4_0x29b4=function(_0x29b462,_0x5bae61){_0x29b462=_0x29b462-0x73;let _0x57028f=_0x191877[_0x29b462];return _0x57028f;},a4_0x29b4(_0x2e3029,_0x24d410);}const collect_js_1=require(a4_0x27bab9(0x78)),decorator_1=require(a4_0x27bab9(0x92)),interface_1=require(a4_0x27bab9(0x85));function a4_0x1918(){const _0x4dfdd6=['17KZAvCc','3423944WNHnAU','EventService','ScopeEnum','Singleton','off','length','emit','decorate','2546160jsUnvW','EVENT_ON_KEY','collect.js','listevent','__decorate','getOwnPropertyDescriptor','getListevent','13409082LMPYDo','2568xfaKYG','propertyKey','Provide','name','prototype','design:type','object','../interface','65854550VPetuJ','2948841xlWlPQ','priority','getApplicationContext','listModule','init','12kwrfGu','function','defineProperty','152542dLGxRb','all','app','@midwayjs/decorator','resolve','5862fNSabD','push','getAsync','getClassMetadata','EVENT_KEY','metadata'];a4_0x1918=function(){return _0x4dfdd6;};return a4_0x1918();}let EventService=class EventService{constructor(){const _0x4c4e51=a4_0x27bab9;this[_0x4c4e51(0x8b)]=![];}async[a4_0x27bab9(0x7c)](_0x5292da){const _0x269b6e=a4_0x27bab9;if(!this['init']){this[_0x269b6e(0x8b)]=!![],this[_0x269b6e(0x79)]={};for(const _0x1aefba of(0x0,decorator_1[_0x269b6e(0x8a)])(interface_1[_0x269b6e(0x98)])||[]){const _0xd1bf59=await this[_0x269b6e(0x91)][_0x269b6e(0x89)]()[_0x269b6e(0x96)](_0x1aefba);for(const _0x1bbfd2 of(0x0,decorator_1[_0x269b6e(0x97)])(interface_1[_0x269b6e(0x77)],_0x1aefba)||[]){typeof(_0xd1bf59[_0x1bbfd2[_0x269b6e(0x7f)]]==_0x269b6e(0x8d))&&(!this['listevent'][_0x1bbfd2[_0x269b6e(0x81)]]&&(this['listevent'][_0x1bbfd2[_0x269b6e(0x81)]]=[]),this[_0x269b6e(0x79)][_0x1bbfd2['name']][_0x269b6e(0x95)]({'priority':_0x1bbfd2['priority'],'resolve':_0xd1bf59[_0x1bbfd2[_0x269b6e(0x7f)]]['bind'](_0xd1bf59),'propertyKey':_0x1aefba[_0x269b6e(0x81)]+'@'+_0x1bbfd2[_0x269b6e(0x7f)]}));}}for(const _0xffd5d9 in this[_0x269b6e(0x79)]){this[_0x269b6e(0x79)][_0xffd5d9]=(0x0,collect_js_1['default'])(this[_0x269b6e(0x79)][_0xffd5d9])['sortByDesc'](_0x269b6e(0x88))[_0x269b6e(0x90)]();}}return _0x5292da?this[_0x269b6e(0x79)][_0x5292da]||[]:this['listevent'];}async[a4_0x27bab9(0x74)](_0xfa3ccb,..._0x2a9da0){const _0x2ce71d=a4_0x27bab9;var _0x855819,_0x5d339f;await this[_0x2ce71d(0x7c)]();for(let _0x1d90ae in(_0x855819=this['listevent'])===null||_0x855819===void 0x0?void 0x0:_0x855819[_0xfa3ccb]){const _0x1dcb4f=(_0x5d339f=this[_0x2ce71d(0x79)][_0xfa3ccb])===null||_0x5d339f===void 0x0?void 0x0:_0x5d339f[_0x1d90ae];(_0x1dcb4f===null||_0x1dcb4f===void 0x0?void 0x0:_0x1dcb4f[_0x2ce71d(0x93)])&&typeof(_0x1dcb4f===null||_0x1dcb4f===void 0x0?void 0x0:_0x1dcb4f[_0x2ce71d(0x93)])=='function'&&await _0x1dcb4f[_0x2ce71d(0x93)](..._0x2a9da0);}}async['once'](_0x4f5fbe,..._0x33a72c){const _0x4b6a44=a4_0x27bab9;return await this['getListevent'](),await this[_0x4b6a44(0x74)](_0x4f5fbe,..._0x33a72c),this['off'](_0x4f5fbe);}async[a4_0x27bab9(0x9f)](_0x14a268){const _0x92799d=a4_0x27bab9;return await this[_0x92799d(0x7c)](),this['listevent'][_0x14a268]&&delete this['listevent'][_0x14a268],!!this[_0x92799d(0x79)][_0x14a268];}};__decorate([(0x0,decorator_1['App'])(),__metadata(a4_0x27bab9(0x83),Object)],EventService[a4_0x27bab9(0x82)],a4_0x27bab9(0x91),void 0x0),EventService=__decorate([(0x0,decorator_1[a4_0x27bab9(0x80)])('event'),(0x0,decorator_1['Scope'])(decorator_1[a4_0x27bab9(0x9d)][a4_0x27bab9(0x9e)])],EventService),exports[a4_0x27bab9(0x9c)]=EventService;
1
+ 'use strict';const a4_0x2837ee=a4_0x5bfe;(function(_0x187932,_0x451856){const _0x3bf4e5=a4_0x5bfe,_0x470e48=_0x187932();while(!![]){try{const _0xeb512f=-parseInt(_0x3bf4e5(0x185))/0x1+parseInt(_0x3bf4e5(0x17b))/0x2+parseInt(_0x3bf4e5(0x174))/0x3*(parseInt(_0x3bf4e5(0x184))/0x4)+-parseInt(_0x3bf4e5(0x18e))/0x5*(parseInt(_0x3bf4e5(0x191))/0x6)+parseInt(_0x3bf4e5(0x192))/0x7+parseInt(_0x3bf4e5(0x16c))/0x8*(parseInt(_0x3bf4e5(0x18a))/0x9)+parseInt(_0x3bf4e5(0x16e))/0xa;if(_0xeb512f===_0x451856)break;else _0x470e48['push'](_0x470e48['shift']());}catch(_0x1b562d){_0x470e48['push'](_0x470e48['shift']());}}}(a4_0x497e,0x8760d));var __decorate=this&&this[a4_0x2837ee(0x183)]||function(_0x1e8826,_0x7539a6,_0x1e5d36,_0x1a0096){const _0xe53532=a4_0x2837ee;var _0x8d7cd0=arguments[_0xe53532(0x16b)],_0xd2affd=_0x8d7cd0<0x3?_0x7539a6:_0x1a0096===null?_0x1a0096=Object['getOwnPropertyDescriptor'](_0x7539a6,_0x1e5d36):_0x1a0096,_0xa8a52d;if(typeof Reflect==='object'&&typeof Reflect['decorate']===_0xe53532(0x186))_0xd2affd=Reflect[_0xe53532(0x17e)](_0x1e8826,_0x7539a6,_0x1e5d36,_0x1a0096);else{for(var _0x305d90=_0x1e8826[_0xe53532(0x16b)]-0x1;_0x305d90>=0x0;_0x305d90--)if(_0xa8a52d=_0x1e8826[_0x305d90])_0xd2affd=(_0x8d7cd0<0x3?_0xa8a52d(_0xd2affd):_0x8d7cd0>0x3?_0xa8a52d(_0x7539a6,_0x1e5d36,_0xd2affd):_0xa8a52d(_0x7539a6,_0x1e5d36))||_0xd2affd;}return _0x8d7cd0>0x3&&_0xd2affd&&Object['defineProperty'](_0x7539a6,_0x1e5d36,_0xd2affd),_0xd2affd;},__metadata=this&&this[a4_0x2837ee(0x187)]||function(_0x2c85d6,_0x1b1d7e){const _0x583654=a4_0x2837ee;if(typeof Reflect===_0x583654(0x17d)&&typeof Reflect[_0x583654(0x169)]===_0x583654(0x186))return Reflect[_0x583654(0x169)](_0x2c85d6,_0x1b1d7e);};Object[a4_0x2837ee(0x17c)](exports,'__esModule',{'value':!![]}),exports[a4_0x2837ee(0x179)]=void 0x0;function a4_0x5bfe(_0x2070e4,_0x4ebc67){const _0x497e6c=a4_0x497e();return a4_0x5bfe=function(_0x5bfef4,_0x270272){_0x5bfef4=_0x5bfef4-0x168;let _0x46d883=_0x497e6c[_0x5bfef4];return _0x46d883;},a4_0x5bfe(_0x2070e4,_0x4ebc67);}const collect_js_1=require(a4_0x2837ee(0x172)),decorator_1=require(a4_0x2837ee(0x175)),interface_1=require(a4_0x2837ee(0x18f));function a4_0x497e(){const _0x2b568e=['decorate','listevent','EVENT_ON_KEY','sortByDesc','emit','__decorate','8bwLlIC','987989zYEmMI','function','__metadata','name','resolve','6842133GLuJad','Singleton','priority','once','445rZPxTs','../interface','app','62772AOWaeg','4365452yQUiEV','prototype','Provide','off','metadata','ScopeEnum','length','8GtrIWV','propertyKey','4620940YauxKN','push','getListevent','all','collect.js','App','552501Jxwfvr','@midwayjs/decorator','event','getAsync','getApplicationContext','EventService','init','518630daQJRP','defineProperty','object'];a4_0x497e=function(){return _0x2b568e;};return a4_0x497e();}let EventService=class EventService{constructor(){const _0x391503=a4_0x2837ee;this[_0x391503(0x17a)]=![];}async['getListevent'](_0x17ae71){const _0x29a9a2=a4_0x2837ee;if(!this[_0x29a9a2(0x17a)]){this[_0x29a9a2(0x17a)]=!![],this['listevent']={};for(const _0x348c3f of(0x0,decorator_1['listModule'])(interface_1['EVENT_KEY'])||[]){const _0x21805a=await this[_0x29a9a2(0x190)][_0x29a9a2(0x178)]()[_0x29a9a2(0x177)](_0x348c3f);for(const _0x18a9ff of(0x0,decorator_1['getClassMetadata'])(interface_1[_0x29a9a2(0x180)],_0x348c3f)||[]){typeof(_0x21805a[_0x18a9ff[_0x29a9a2(0x16d)]]==_0x29a9a2(0x186))&&(!this[_0x29a9a2(0x17f)][_0x18a9ff['name']]&&(this[_0x29a9a2(0x17f)][_0x18a9ff[_0x29a9a2(0x188)]]=[]),this[_0x29a9a2(0x17f)][_0x18a9ff[_0x29a9a2(0x188)]][_0x29a9a2(0x16f)]({'priority':_0x18a9ff[_0x29a9a2(0x18c)],'resolve':_0x21805a[_0x18a9ff[_0x29a9a2(0x16d)]]['bind'](_0x21805a),'propertyKey':_0x348c3f['name']+'@'+_0x18a9ff['propertyKey']}));}}for(const _0x3629fe in this[_0x29a9a2(0x17f)]){this[_0x29a9a2(0x17f)][_0x3629fe]=(0x0,collect_js_1['default'])(this[_0x29a9a2(0x17f)][_0x3629fe])[_0x29a9a2(0x181)]('priority')[_0x29a9a2(0x171)]();}}return _0x17ae71?this[_0x29a9a2(0x17f)][_0x17ae71]||[]:this[_0x29a9a2(0x17f)];}async[a4_0x2837ee(0x182)](_0x12da0a,..._0x3929bc){const _0x3c39cf=a4_0x2837ee;var _0x5d2fbc,_0x2f60ae;await this[_0x3c39cf(0x170)]();for(let _0x1cda97 in(_0x5d2fbc=this[_0x3c39cf(0x17f)])===null||_0x5d2fbc===void 0x0?void 0x0:_0x5d2fbc[_0x12da0a]){const _0x4aa1fb=(_0x2f60ae=this['listevent'][_0x12da0a])===null||_0x2f60ae===void 0x0?void 0x0:_0x2f60ae[_0x1cda97];(_0x4aa1fb===null||_0x4aa1fb===void 0x0?void 0x0:_0x4aa1fb['resolve'])&&typeof(_0x4aa1fb===null||_0x4aa1fb===void 0x0?void 0x0:_0x4aa1fb[_0x3c39cf(0x189)])==_0x3c39cf(0x186)&&await _0x4aa1fb[_0x3c39cf(0x189)](..._0x3929bc);}}async[a4_0x2837ee(0x18d)](_0x56a9b5,..._0x12f26d){const _0x1c5019=a4_0x2837ee;return await this[_0x1c5019(0x170)](),await this['emit'](_0x56a9b5,..._0x12f26d),this[_0x1c5019(0x168)](_0x56a9b5);}async[a4_0x2837ee(0x168)](_0x38d1e8){const _0x3ddf2e=a4_0x2837ee;return await this['getListevent'](),this[_0x3ddf2e(0x17f)][_0x38d1e8]&&delete this[_0x3ddf2e(0x17f)][_0x38d1e8],!!this['listevent'][_0x38d1e8];}};__decorate([(0x0,decorator_1[a4_0x2837ee(0x173)])(),__metadata('design:type',Object)],EventService[a4_0x2837ee(0x193)],'app',void 0x0),EventService=__decorate([(0x0,decorator_1[a4_0x2837ee(0x194)])(a4_0x2837ee(0x176)),(0x0,decorator_1['Scope'])(decorator_1[a4_0x2837ee(0x16a)][a4_0x2837ee(0x18b)])],EventService),exports['EventService']=EventService;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anncic-api/event",
3
- "version": "1.1.16",
3
+ "version": "1.1.21",
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": "452564401c353c628070325c7dabca442a008f8d"
24
+ "gitHead": "4946b752735d6323795e5e2734d3a2cfa47f1b78"
25
25
  }