@anncic-api/event 1.4.5 → 1.4.7

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_0x4f3ccc=a0_0x1949;(function(_0x24ee16,_0x1f957e){var _0x576cc9=a0_0x1949,_0x19a89b=_0x24ee16();while(!![]){try{var _0x3d52c8=-parseInt(_0x576cc9(0x132))/0x1*(parseInt(_0x576cc9(0x13e))/0x2)+parseInt(_0x576cc9(0x131))/0x3*(parseInt(_0x576cc9(0x13c))/0x4)+-parseInt(_0x576cc9(0x146))/0x5+-parseInt(_0x576cc9(0x13b))/0x6*(-parseInt(_0x576cc9(0x130))/0x7)+-parseInt(_0x576cc9(0x12e))/0x8*(-parseInt(_0x576cc9(0x142))/0x9)+parseInt(_0x576cc9(0x12d))/0xa*(-parseInt(_0x576cc9(0x134))/0xb)+parseInt(_0x576cc9(0x136))/0xc;if(_0x3d52c8===_0x1f957e)break;else _0x19a89b['push'](_0x19a89b['shift']());}catch(_0x58bc40){_0x19a89b['push'](_0x19a89b['shift']());}}}(a0_0x25a5,0x7f633));var __decorate=this&&this[a0_0x4f3ccc(0x143)]||function(_0x4f162a,_0x5e3c20,_0x1a383c,_0x27b067){var _0x342c64=a0_0x4f3ccc,_0x26afe7=arguments[_0x342c64(0x139)],_0x33e14a=_0x26afe7<0x3?_0x5e3c20:_0x27b067===null?_0x27b067=Object[_0x342c64(0x13d)](_0x5e3c20,_0x1a383c):_0x27b067,_0x54c0bf;if(typeof Reflect===_0x342c64(0x133)&&typeof Reflect[_0x342c64(0x14a)]===_0x342c64(0x137))_0x33e14a=Reflect['decorate'](_0x4f162a,_0x5e3c20,_0x1a383c,_0x27b067);else{for(var _0x47ca2d=_0x4f162a[_0x342c64(0x139)]-0x1;_0x47ca2d>=0x0;_0x47ca2d--)if(_0x54c0bf=_0x4f162a[_0x47ca2d])_0x33e14a=(_0x26afe7<0x3?_0x54c0bf(_0x33e14a):_0x26afe7>0x3?_0x54c0bf(_0x5e3c20,_0x1a383c,_0x33e14a):_0x54c0bf(_0x5e3c20,_0x1a383c))||_0x33e14a;}return _0x26afe7>0x3&&_0x33e14a&&Object[_0x342c64(0x13f)](_0x5e3c20,_0x1a383c,_0x33e14a),_0x33e14a;},__metadata=this&&this['__metadata']||function(_0x34f15c,_0x2d2af6){var _0x45fe4e=a0_0x4f3ccc;if(typeof Reflect===_0x45fe4e(0x133)&&typeof Reflect[_0x45fe4e(0x148)]==='function')return Reflect[_0x45fe4e(0x148)](_0x34f15c,_0x2d2af6);};Object['defineProperty'](exports,a0_0x4f3ccc(0x138),{'value':!![]}),exports['CustomConfiguration']=void 0x0;const core_1=require(a0_0x4f3ccc(0x141)),core_2=require(a0_0x4f3ccc(0x141));let CustomConfiguration=class CustomConfiguration{async[a0_0x4f3ccc(0x145)](){}};function a0_0x25a5(){var _0x579d74=['6186228BBDMWQ','function','__esModule','length','Inject','12nrlUko','8ZuVVjv','getOwnPropertyDescriptor','723154eCrXed','defineProperty','prototype','@midwayjs/core','7958556BamdWY','__decorate','decorator','onReady','571770imIIVb','design:type','metadata','MidwayConfigService','decorate','config','CustomConfiguration','10EsbjYv','8inSuFb','Configuration','1316903ASOXjA','191442Ytsjlt','1UTbDCx','object','9965769luRBsI','MidwayDecoratorService'];a0_0x25a5=function(){return _0x579d74;};return a0_0x25a5();}function a0_0x1949(_0x2522a6,_0xb1c98){var _0x25a552=a0_0x25a5();return a0_0x1949=function(_0x19496c,_0x234b74){_0x19496c=_0x19496c-0x12c;var _0x3a41f8=_0x25a552[_0x19496c];return _0x3a41f8;},a0_0x1949(_0x2522a6,_0xb1c98);}__decorate([(0x0,core_1[a0_0x4f3ccc(0x13a)])(),__metadata(a0_0x4f3ccc(0x147),core_2[a0_0x4f3ccc(0x149)])],CustomConfiguration[a0_0x4f3ccc(0x140)],a0_0x4f3ccc(0x14b),void 0x0),__decorate([(0x0,core_1['Inject'])(),__metadata('design:type',core_2[a0_0x4f3ccc(0x135)])],CustomConfiguration[a0_0x4f3ccc(0x140)],a0_0x4f3ccc(0x144),void 0x0),CustomConfiguration=__decorate([(0x0,core_1[a0_0x4f3ccc(0x12f)])({'conflictCheck':![],'namespace':'anncic-api:event'})],CustomConfiguration),exports[a0_0x4f3ccc(0x12c)]=CustomConfiguration;
1
+ 'use strict';var a0_0x4f9feb=a0_0x309b;(function(_0x2d0045,_0x30c248){var _0xfa7688=a0_0x309b,_0x423f55=_0x2d0045();while(!![]){try{var _0xe993b6=parseInt(_0xfa7688(0x18e))/0x1*(-parseInt(_0xfa7688(0x19d))/0x2)+parseInt(_0xfa7688(0x195))/0x3+-parseInt(_0xfa7688(0x19f))/0x4*(parseInt(_0xfa7688(0x19a))/0x5)+-parseInt(_0xfa7688(0x19e))/0x6*(parseInt(_0xfa7688(0x189))/0x7)+parseInt(_0xfa7688(0x192))/0x8+-parseInt(_0xfa7688(0x18c))/0x9+parseInt(_0xfa7688(0x197))/0xa;if(_0xe993b6===_0x30c248)break;else _0x423f55['push'](_0x423f55['shift']());}catch(_0x3ed0a7){_0x423f55['push'](_0x423f55['shift']());}}}(a0_0x5c93,0x847e9));function a0_0x309b(_0x27ebf4,_0x1b7020){var _0x5c93d7=a0_0x5c93();return a0_0x309b=function(_0x309b0f,_0x15df0f){_0x309b0f=_0x309b0f-0x189;var _0x625318=_0x5c93d7[_0x309b0f];return _0x625318;},a0_0x309b(_0x27ebf4,_0x1b7020);}var __decorate=this&&this['__decorate']||function(_0x235612,_0xda9f8c,_0xda10e9,_0x53a50c){var _0x4bb1d7=a0_0x309b,_0x2741ca=arguments[_0x4bb1d7(0x196)],_0x336001=_0x2741ca<0x3?_0xda9f8c:_0x53a50c===null?_0x53a50c=Object[_0x4bb1d7(0x18f)](_0xda9f8c,_0xda10e9):_0x53a50c,_0xee088d;if(typeof Reflect===_0x4bb1d7(0x19b)&&typeof Reflect['decorate']===_0x4bb1d7(0x1a0))_0x336001=Reflect[_0x4bb1d7(0x19c)](_0x235612,_0xda9f8c,_0xda10e9,_0x53a50c);else{for(var _0x5bf613=_0x235612[_0x4bb1d7(0x196)]-0x1;_0x5bf613>=0x0;_0x5bf613--)if(_0xee088d=_0x235612[_0x5bf613])_0x336001=(_0x2741ca<0x3?_0xee088d(_0x336001):_0x2741ca>0x3?_0xee088d(_0xda9f8c,_0xda10e9,_0x336001):_0xee088d(_0xda9f8c,_0xda10e9))||_0x336001;}return _0x2741ca>0x3&&_0x336001&&Object[_0x4bb1d7(0x18d)](_0xda9f8c,_0xda10e9,_0x336001),_0x336001;},__metadata=this&&this[a0_0x4f9feb(0x194)]||function(_0x41e976,_0x535578){var _0x2d543e=a0_0x4f9feb;if(typeof Reflect===_0x2d543e(0x19b)&&typeof Reflect[_0x2d543e(0x193)]==='function')return Reflect[_0x2d543e(0x193)](_0x41e976,_0x535578);};Object[a0_0x4f9feb(0x18d)](exports,a0_0x4f9feb(0x1a2),{'value':!![]}),exports[a0_0x4f9feb(0x1a1)]=void 0x0;const core_1=require('@midwayjs/core'),core_2=require(a0_0x4f9feb(0x191));let CustomConfiguration=class CustomConfiguration{async['onReady'](){}};function a0_0x5c93(){var _0x19b7fc=['534HcGeYo','762236uSEAOb','function','CustomConfiguration','__esModule','34951zKFpsy','prototype','decorator','1903446IhWjIx','defineProperty','126281ZYykWo','getOwnPropertyDescriptor','Configuration','@midwayjs/core','4978024FhkssU','metadata','__metadata','2808279pGnkjn','length','12244220xjgmQo','config','Inject','25IksTfw','object','decorate','10mfghmn'];a0_0x5c93=function(){return _0x19b7fc;};return a0_0x5c93();}__decorate([(0x0,core_1[a0_0x4f9feb(0x199)])(),__metadata('design:type',core_2['MidwayConfigService'])],CustomConfiguration[a0_0x4f9feb(0x18a)],a0_0x4f9feb(0x198),void 0x0),__decorate([(0x0,core_1[a0_0x4f9feb(0x199)])(),__metadata('design:type',core_2['MidwayDecoratorService'])],CustomConfiguration['prototype'],a0_0x4f9feb(0x18b),void 0x0),CustomConfiguration=__decorate([(0x0,core_1[a0_0x4f9feb(0x190)])({'conflictCheck':![],'namespace':'anncic-api:event'})],CustomConfiguration),exports[a0_0x4f9feb(0x1a1)]=CustomConfiguration;
@@ -1 +1 @@
1
- 'use strict';const a1_0x589093=a1_0x2670;(function(_0x8da47d,_0x384ca9){const _0x331cbe=a1_0x2670,_0x1ab09f=_0x8da47d();while(!![]){try{const _0x346fcb=parseInt(_0x331cbe(0xab))/0x1+-parseInt(_0x331cbe(0xaa))/0x2*(parseInt(_0x331cbe(0x9f))/0x3)+-parseInt(_0x331cbe(0xa2))/0x4+parseInt(_0x331cbe(0xa3))/0x5*(parseInt(_0x331cbe(0xa8))/0x6)+-parseInt(_0x331cbe(0x98))/0x7+parseInt(_0x331cbe(0xa6))/0x8*(-parseInt(_0x331cbe(0xa1))/0x9)+-parseInt(_0x331cbe(0xa7))/0xa*(-parseInt(_0x331cbe(0x9a))/0xb);if(_0x346fcb===_0x384ca9)break;else _0x1ab09f['push'](_0x1ab09f['shift']());}catch(_0x2770ed){_0x1ab09f['push'](_0x1ab09f['shift']());}}}(a1_0x5034,0xe4d8d));Object['defineProperty'](exports,a1_0x589093(0xa5),{'value':!![]}),exports[a1_0x589093(0xac)]=void 0x0;const core_1=require('@midwayjs/core'),interface_1=require(a1_0x589093(0xa4));function a1_0x2670(_0x5bc0f1,_0x44f1aa){const _0x50347d=a1_0x5034();return a1_0x2670=function(_0x267065,_0x4e0720){_0x267065=_0x267065-0x98;let _0x3f8242=_0x50347d[_0x267065];return _0x3f8242;},a1_0x2670(_0x5bc0f1,_0x44f1aa);}function Event(){return _0x32e355=>{const _0x5aeeb8=a1_0x2670;(0x0,core_1['Provide'])()(_0x32e355),(0x0,core_1[_0x5aeeb8(0x9b)])(interface_1[_0x5aeeb8(0xa9)],_0x32e355),(0x0,core_1[_0x5aeeb8(0x9e)])(core_1[_0x5aeeb8(0x9d)][_0x5aeeb8(0x9c)],{'allowDowngrade':!![]})(_0x32e355);};}exports[a1_0x589093(0xac)]=Event,Event['On']=function(_0x2453a5,_0x3a0aac=0x0){return(_0x554f49,_0x529e79,_0x40a45a)=>{const _0x4676d4=a1_0x2670;return(0x0,core_1[_0x4676d4(0xa0)])(interface_1[_0x4676d4(0x99)],{'name':_0x2453a5,'priority':_0x3a0aac,'propertyKey':_0x529e79,'descriptor':_0x40a45a},_0x554f49),_0x40a45a;};};function a1_0x5034(){const _0x2d3e3f=['saveModule','Request','ScopeEnum','Scope','9JmUtby','attachClassMetadata','257067jhZWZV','1546580eBYrgq','85OdmUTG','../interface','__esModule','136UJmyfV','21880GvaxQD','106656PClYnn','EVENT_KEY','971558FueQjw','559905HKAzhH','Event','9555777IkeKWf','EVENT_ON_KEY','18953KMqFmS'];a1_0x5034=function(){return _0x2d3e3f;};return a1_0x5034();}
1
+ 'use strict';const a1_0x4a5611=a1_0xa4d6;(function(_0x4fceec,_0x509d22){const _0x31abcc=a1_0xa4d6,_0x20d673=_0x4fceec();while(!![]){try{const _0x2b1905=parseInt(_0x31abcc(0xb3))/0x1*(-parseInt(_0x31abcc(0xb9))/0x2)+parseInt(_0x31abcc(0xb4))/0x3*(parseInt(_0x31abcc(0xb2))/0x4)+-parseInt(_0x31abcc(0xb6))/0x5+-parseInt(_0x31abcc(0xbf))/0x6*(-parseInt(_0x31abcc(0xad))/0x7)+-parseInt(_0x31abcc(0xbc))/0x8+parseInt(_0x31abcc(0xbd))/0x9*(-parseInt(_0x31abcc(0xb8))/0xa)+parseInt(_0x31abcc(0xba))/0xb*(parseInt(_0x31abcc(0xb7))/0xc);if(_0x2b1905===_0x509d22)break;else _0x20d673['push'](_0x20d673['shift']());}catch(_0x496942){_0x20d673['push'](_0x20d673['shift']());}}}(a1_0x2e2a,0x9b589));function a1_0xa4d6(_0x11828d,_0x3ecf92){const _0x2e2ab9=a1_0x2e2a();return a1_0xa4d6=function(_0xa4d605,_0x590526){_0xa4d605=_0xa4d605-0xaa;let _0x5d575b=_0x2e2ab9[_0xa4d605];return _0x5d575b;},a1_0xa4d6(_0x11828d,_0x3ecf92);}Object['defineProperty'](exports,a1_0x4a5611(0xaa),{'value':!![]}),exports[a1_0x4a5611(0xac)]=void 0x0;const core_1=require(a1_0x4a5611(0xae)),interface_1=require(a1_0x4a5611(0xb0));function Event(){return _0x2f698b=>{const _0xd582c4=a1_0xa4d6;(0x0,core_1[_0xd582c4(0xc1)])()(_0x2f698b),(0x0,core_1[_0xd582c4(0xb1)])(interface_1[_0xd582c4(0xaf)],_0x2f698b),(0x0,core_1[_0xd582c4(0xb5)])(core_1[_0xd582c4(0xab)][_0xd582c4(0xbb)],{'allowDowngrade':!![]})(_0x2f698b);};}exports['Event']=Event,Event['On']=function(_0x451a21,_0x2c66b9=0x0){return(_0x39c2cf,_0x2d6a17,_0x1bcbbb)=>{const _0x3f5308=a1_0xa4d6;return(0x0,core_1[_0x3f5308(0xc0)])(interface_1[_0x3f5308(0xbe)],{'name':_0x451a21,'priority':_0x2c66b9,'propertyKey':_0x2d6a17,'descriptor':_0x1bcbbb},_0x39c2cf),_0x1bcbbb;};};function a1_0x2e2a(){const _0x2f821d=['2748147YcCoMl','Scope','5574170NBcNjx','575088AQLLnR','4372210BgwrNL','333286IPsokJ','418EaJtgy','Request','4147600vUjuau','9JlfYIt','EVENT_ON_KEY','60JJWUdn','attachClassMetadata','Provide','__esModule','ScopeEnum','Event','328699PRHaAN','@midwayjs/core','EVENT_KEY','../interface','saveModule','4ovAThp','3HQxQmz'];a1_0x2e2a=function(){return _0x2f821d;};return a1_0x2e2a();}
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';var a2_0x25e6bf=a2_0x4094;(function(_0x1e3d94,_0x1af2da){var _0x58904b=a2_0x4094,_0x578b51=_0x1e3d94();while(!![]){try{var _0x11818c=-parseInt(_0x58904b(0xb9))/0x1*(-parseInt(_0x58904b(0xb6))/0x2)+-parseInt(_0x58904b(0xb2))/0x3*(-parseInt(_0x58904b(0xb4))/0x4)+parseInt(_0x58904b(0xbb))/0x5*(parseInt(_0x58904b(0xc0))/0x6)+parseInt(_0x58904b(0xbc))/0x7*(-parseInt(_0x58904b(0xb1))/0x8)+-parseInt(_0x58904b(0xbe))/0x9+parseInt(_0x58904b(0xc3))/0xa*(-parseInt(_0x58904b(0xc1))/0xb)+-parseInt(_0x58904b(0xbf))/0xc*(-parseInt(_0x58904b(0xb7))/0xd);if(_0x11818c===_0x1af2da)break;else _0x578b51['push'](_0x578b51['shift']());}catch(_0x57a438){_0x578b51['push'](_0x578b51['shift']());}}}(a2_0x7544,0xf0733));Object[a2_0x25e6bf(0xc2)](exports,'__esModule',{'value':!![]}),exports[a2_0x25e6bf(0xb5)]=exports['EventService']=exports[a2_0x25e6bf(0xbd)]=void 0x0;var Event_1=require('./decorator/Event');Object[a2_0x25e6bf(0xc2)](exports,'Event',{'enumerable':!![],'get':function(){var _0x5f1aa0=a2_0x25e6bf;return Event_1[_0x5f1aa0(0xbd)];}});var EventService_1=require(a2_0x25e6bf(0xb8));function a2_0x7544(){var _0x189947=['632049aQKlUU','defineProperty','260ywWOXN','CustomConfiguration','8tcyGeA','1321581XFXphp','EventService','8KrbJbt','Configuration','905666bfmNmI','19354985QhXzWD','./service/EventService','4QJGvcn','./configuration','825nXdRyS','6542984rCqlqh','Event','16989498GnaaTF','12kOVmJm','40728zeYFaS'];a2_0x7544=function(){return _0x189947;};return a2_0x7544();}function a2_0x4094(_0x431157,_0x2e58bd){var _0x754403=a2_0x7544();return a2_0x4094=function(_0x40946e,_0x4b5cb2){_0x40946e=_0x40946e-0xb0;var _0xf9b3a4=_0x754403[_0x40946e];return _0xf9b3a4;},a2_0x4094(_0x431157,_0x2e58bd);}Object[a2_0x25e6bf(0xc2)](exports,'EventService',{'enumerable':!![],'get':function(){var _0x4efba1=a2_0x25e6bf;return EventService_1[_0x4efba1(0xb3)];}});var configuration_1=require(a2_0x25e6bf(0xba));Object[a2_0x25e6bf(0xc2)](exports,a2_0x25e6bf(0xb5),{'enumerable':!![],'get':function(){var _0x12f178=a2_0x25e6bf;return configuration_1[_0x12f178(0xb0)];}});
1
+ 'use strict';var a2_0x4c10b8=a2_0x17cb;(function(_0x1885a9,_0x18599d){var _0x533d16=a2_0x17cb,_0x161e58=_0x1885a9();while(!![]){try{var _0x2062b6=parseInt(_0x533d16(0x1f3))/0x1+-parseInt(_0x533d16(0x1e2))/0x2*(-parseInt(_0x533d16(0x1f0))/0x3)+parseInt(_0x533d16(0x1f2))/0x4*(parseInt(_0x533d16(0x1ec))/0x5)+-parseInt(_0x533d16(0x1f4))/0x6*(-parseInt(_0x533d16(0x1e8))/0x7)+-parseInt(_0x533d16(0x1ef))/0x8+parseInt(_0x533d16(0x1ea))/0x9+-parseInt(_0x533d16(0x1ee))/0xa;if(_0x2062b6===_0x18599d)break;else _0x161e58['push'](_0x161e58['shift']());}catch(_0x5bc9db){_0x161e58['push'](_0x161e58['shift']());}}}(a2_0x16e7,0x3742b));Object['defineProperty'](exports,a2_0x4c10b8(0x1e9),{'value':!![]}),exports[a2_0x4c10b8(0x1e6)]=exports['EventService']=exports['Event']=void 0x0;var Event_1=require(a2_0x4c10b8(0x1e5));Object[a2_0x4c10b8(0x1e4)](exports,a2_0x4c10b8(0x1ed),{'enumerable':!![],'get':function(){var _0x267b52=a2_0x4c10b8;return Event_1[_0x267b52(0x1ed)];}});function a2_0x16e7(){var _0x16e152=['2188290rPXber','2760176eMnkTE','679305FvCJao','CustomConfiguration','4UoTraM','56063earSfR','940242CLhxUn','2phOebd','EventService','defineProperty','./decorator/Event','Configuration','./service/EventService','7UiOusS','__esModule','1691694bWQHZG','./configuration','815135HYhNgk','Event'];a2_0x16e7=function(){return _0x16e152;};return a2_0x16e7();}function a2_0x17cb(_0x1c8966,_0x1568c1){var _0x16e7a6=a2_0x16e7();return a2_0x17cb=function(_0x17cba3,_0x1b6257){_0x17cba3=_0x17cba3-0x1e2;var _0x49aa1b=_0x16e7a6[_0x17cba3];return _0x49aa1b;},a2_0x17cb(_0x1c8966,_0x1568c1);}var EventService_1=require(a2_0x4c10b8(0x1e7));Object['defineProperty'](exports,a2_0x4c10b8(0x1e3),{'enumerable':!![],'get':function(){return EventService_1['EventService'];}});var configuration_1=require(a2_0x4c10b8(0x1eb));Object['defineProperty'](exports,'Configuration',{'enumerable':!![],'get':function(){var _0x505f37=a2_0x4c10b8;return configuration_1[_0x505f37(0x1f1)];}});
package/dist/interface.js CHANGED
@@ -1 +1 @@
1
- 'use strict';var a3_0x4a7c99=a3_0x86c3;function a3_0x86c3(_0x3c634d,_0x48517d){var _0x2be225=a3_0x2be2();return a3_0x86c3=function(_0x86c363,_0xac1988){_0x86c363=_0x86c363-0x193;var _0xba06ad=_0x2be225[_0x86c363];return _0xba06ad;},a3_0x86c3(_0x3c634d,_0x48517d);}function a3_0x2be2(){var _0x39f36f=['3xlVbfh','1clycDh','70aDYoOQ','61391bCwPTt','2196594bNWkkg','662046csZotB','1554500dAYriL','anncic-api:event:on','EVENT_ON_KEY','5tKcvWR','552LVsOSW','3239639feXJGo','EVENT_KEY','3249656EOJsJk','621526AOgxzo','7aXOloV','10vvVMyG','defineProperty'];a3_0x2be2=function(){return _0x39f36f;};return a3_0x2be2();}(function(_0x3dd82f,_0x5b1263){var _0x3121f2=a3_0x86c3,_0x9949=_0x3dd82f();while(!![]){try{var _0x32f6fb=parseInt(_0x3121f2(0x19b))/0x1*(parseInt(_0x3121f2(0x196))/0x2)+parseInt(_0x3121f2(0x19a))/0x3*(parseInt(_0x3121f2(0x1a0))/0x4)+parseInt(_0x3121f2(0x1a3))/0x5*(-parseInt(_0x3121f2(0x19f))/0x6)+-parseInt(_0x3121f2(0x197))/0x7*(-parseInt(_0x3121f2(0x195))/0x8)+-parseInt(_0x3121f2(0x19e))/0x9*(-parseInt(_0x3121f2(0x198))/0xa)+-parseInt(_0x3121f2(0x19d))/0xb*(-parseInt(_0x3121f2(0x1a4))/0xc)+-parseInt(_0x3121f2(0x193))/0xd*(parseInt(_0x3121f2(0x19c))/0xe);if(_0x32f6fb===_0x5b1263)break;else _0x9949['push'](_0x9949['shift']());}catch(_0x505fc1){_0x9949['push'](_0x9949['shift']());}}}(a3_0x2be2,0x3d0af));Object[a3_0x4a7c99(0x199)](exports,'__esModule',{'value':!![]}),exports[a3_0x4a7c99(0x1a2)]=exports[a3_0x4a7c99(0x194)]=void 0x0,exports['EVENT_KEY']='anncic-api:event',exports['EVENT_ON_KEY']=a3_0x4a7c99(0x1a1);
1
+ 'use strict';var a3_0x13cfda=a3_0x2ab9;(function(_0x321c98,_0x5832ad){var _0x15feea=a3_0x2ab9,_0x4b3bf9=_0x321c98();while(!![]){try{var _0x12da8d=-parseInt(_0x15feea(0x154))/0x1+-parseInt(_0x15feea(0x159))/0x2*(parseInt(_0x15feea(0x157))/0x3)+-parseInt(_0x15feea(0x151))/0x4*(parseInt(_0x15feea(0x14e))/0x5)+-parseInt(_0x15feea(0x153))/0x6+-parseInt(_0x15feea(0x14f))/0x7+parseInt(_0x15feea(0x158))/0x8*(parseInt(_0x15feea(0x152))/0x9)+parseInt(_0x15feea(0x155))/0xa*(parseInt(_0x15feea(0x150))/0xb);if(_0x12da8d===_0x5832ad)break;else _0x4b3bf9['push'](_0x4b3bf9['shift']());}catch(_0x5ec0c0){_0x4b3bf9['push'](_0x4b3bf9['shift']());}}}(a3_0x4051,0x903ca));function a3_0x2ab9(_0xafdd01,_0x402154){var _0x4051da=a3_0x4051();return a3_0x2ab9=function(_0x2ab93d,_0x3799a4){_0x2ab93d=_0x2ab93d-0x14e;var _0x44d395=_0x4051da[_0x2ab93d];return _0x44d395;},a3_0x2ab9(_0xafdd01,_0x402154);}function a3_0x4051(){var _0x46b4f2=['53485mMjuxu','731885gvjdeY','288244jARpqL','212BvanZb','9881523vCxqma','4936908XkMOSW','1156435eIwQYp','1030oiXAaA','EVENT_ON_KEY','1666248ikenbH','8UVtnmF','2uCIxTV','defineProperty'];a3_0x4051=function(){return _0x46b4f2;};return a3_0x4051();}Object[a3_0x13cfda(0x15a)](exports,'__esModule',{'value':!![]}),exports['EVENT_ON_KEY']=exports['EVENT_KEY']=void 0x0,exports['EVENT_KEY']='anncic-api:event',exports[a3_0x13cfda(0x156)]='anncic-api:event:on';
@@ -1 +1 @@
1
- 'use strict';const a4_0x355c26=a4_0xf0ad;function a4_0xf0ad(_0x36191a,_0x26850a){const _0x27f7ce=a4_0x27f7();return a4_0xf0ad=function(_0xf0ad7c,_0x429e05){_0xf0ad7c=_0xf0ad7c-0x19d;let _0x3c0118=_0x27f7ce[_0xf0ad7c];return _0x3c0118;},a4_0xf0ad(_0x36191a,_0x26850a);}(function(_0x2f2d5e,_0x36a5fd){const _0x3da643=a4_0xf0ad,_0x3c0f48=_0x2f2d5e();while(!![]){try{const _0x4dbde4=parseInt(_0x3da643(0x1c7))/0x1*(-parseInt(_0x3da643(0x1b6))/0x2)+parseInt(_0x3da643(0x19d))/0x3*(parseInt(_0x3da643(0x1c0))/0x4)+parseInt(_0x3da643(0x1a9))/0x5*(-parseInt(_0x3da643(0x1b1))/0x6)+parseInt(_0x3da643(0x1a5))/0x7+parseInt(_0x3da643(0x1b0))/0x8*(parseInt(_0x3da643(0x1b5))/0x9)+-parseInt(_0x3da643(0x1af))/0xa+parseInt(_0x3da643(0x1be))/0xb;if(_0x4dbde4===_0x36a5fd)break;else _0x3c0f48['push'](_0x3c0f48['shift']());}catch(_0x2fc024){_0x3c0f48['push'](_0x3c0f48['shift']());}}}(a4_0x27f7,0x7a5f1));var __decorate=this&&this[a4_0x355c26(0x1c2)]||function(_0x20214a,_0x4f2568,_0x30ef22,_0x25eb34){const _0x1adfa0=a4_0x355c26;var _0x4c4a2c=arguments[_0x1adfa0(0x1a4)],_0x2eb9b1=_0x4c4a2c<0x3?_0x4f2568:_0x25eb34===null?_0x25eb34=Object[_0x1adfa0(0x1c8)](_0x4f2568,_0x30ef22):_0x25eb34,_0x565872;if(typeof Reflect===_0x1adfa0(0x1a3)&&typeof Reflect['decorate']==='function')_0x2eb9b1=Reflect[_0x1adfa0(0x1c9)](_0x20214a,_0x4f2568,_0x30ef22,_0x25eb34);else{for(var _0x5282e6=_0x20214a[_0x1adfa0(0x1a4)]-0x1;_0x5282e6>=0x0;_0x5282e6--)if(_0x565872=_0x20214a[_0x5282e6])_0x2eb9b1=(_0x4c4a2c<0x3?_0x565872(_0x2eb9b1):_0x4c4a2c>0x3?_0x565872(_0x4f2568,_0x30ef22,_0x2eb9b1):_0x565872(_0x4f2568,_0x30ef22))||_0x2eb9b1;}return _0x4c4a2c>0x3&&_0x2eb9b1&&Object[_0x1adfa0(0x1a6)](_0x4f2568,_0x30ef22,_0x2eb9b1),_0x2eb9b1;},__metadata=this&&this[a4_0x355c26(0x19f)]||function(_0x925af3,_0x288638){const _0x156c87=a4_0x355c26;if(typeof Reflect===_0x156c87(0x1a3)&&typeof Reflect[_0x156c87(0x1b8)]===_0x156c87(0x1ab))return Reflect[_0x156c87(0x1b8)](_0x925af3,_0x288638);};Object[a4_0x355c26(0x1a6)](exports,a4_0x355c26(0x1b3),{'value':!![]}),exports[a4_0x355c26(0x1bd)]=void 0x0;const collect_js_1=require('collect.js'),core_1=require(a4_0x355c26(0x1bf)),interface_1=require('../interface');function a4_0x27f7(){const _0x4f24a3=['default','__metadata','EVENT_ON_KEY','getAsync','resolve','object','length','6392218JfiLfQ','defineProperty','listModule','priority','40ChRegR','Provide','function','once','Scope','listevent','6427170ktkzKd','121192FCnvWE','356904kCWUws','App','__esModule','prototype','342izgWeA','358682pzuhOA','propertyKey','metadata','sortByDesc','emit','push','bind','EventService','567127hXRjjY','@midwayjs/core','4aCtsVY','init','__decorate','name','design:type','getListevent','off','1ncBSBC','getOwnPropertyDescriptor','decorate','event','getApplicationContext','EVENT_KEY','776310desmNs'];a4_0x27f7=function(){return _0x4f24a3;};return a4_0x27f7();}let EventService=class EventService{constructor(){const _0x412c0a=a4_0x355c26;this[_0x412c0a(0x1c1)]=![];}async['getListevent'](_0x5d7810){const _0x105c03=a4_0x355c26;if(!this[_0x105c03(0x1c1)]){this['init']=!![],this[_0x105c03(0x1ae)]={};for(const _0x2b559c of(0x0,core_1[_0x105c03(0x1a7)])(interface_1[_0x105c03(0x1cc)])||[]){const _0x23f45d=await this['app'][_0x105c03(0x1cb)]()[_0x105c03(0x1a1)](_0x2b559c);for(const _0x19dcb0 of(0x0,core_1['getClassMetadata'])(interface_1[_0x105c03(0x1a0)],_0x2b559c)||[]){typeof(_0x23f45d[_0x19dcb0[_0x105c03(0x1b7)]]==_0x105c03(0x1ab))&&(!this[_0x105c03(0x1ae)][_0x19dcb0['name']]&&(this[_0x105c03(0x1ae)][_0x19dcb0[_0x105c03(0x1c3)]]=[]),this[_0x105c03(0x1ae)][_0x19dcb0[_0x105c03(0x1c3)]][_0x105c03(0x1bb)]({'priority':_0x19dcb0[_0x105c03(0x1a8)],'resolve':_0x23f45d[_0x19dcb0[_0x105c03(0x1b7)]][_0x105c03(0x1bc)](_0x23f45d),'propertyKey':_0x2b559c[_0x105c03(0x1c3)]+'@'+_0x19dcb0[_0x105c03(0x1b7)]}));}}for(const _0x4ab25f in this[_0x105c03(0x1ae)]){this['listevent'][_0x4ab25f]=(0x0,collect_js_1[_0x105c03(0x19e)])(this[_0x105c03(0x1ae)][_0x4ab25f])[_0x105c03(0x1b9)](_0x105c03(0x1a8))['all']();}}return _0x5d7810?this[_0x105c03(0x1ae)][_0x5d7810]||[]:this['listevent'];}async[a4_0x355c26(0x1ba)](_0x5e831f,..._0xd0f8e){const _0x15f3fa=a4_0x355c26;var _0x957f5d,_0x3645ef;await this[_0x15f3fa(0x1c5)]();for(let _0xc4fe67 in(_0x957f5d=this[_0x15f3fa(0x1ae)])===null||_0x957f5d===void 0x0?void 0x0:_0x957f5d[_0x5e831f]){const _0x2ff71e=(_0x3645ef=this[_0x15f3fa(0x1ae)][_0x5e831f])===null||_0x3645ef===void 0x0?void 0x0:_0x3645ef[_0xc4fe67];(_0x2ff71e===null||_0x2ff71e===void 0x0?void 0x0:_0x2ff71e['resolve'])&&typeof(_0x2ff71e===null||_0x2ff71e===void 0x0?void 0x0:_0x2ff71e['resolve'])==_0x15f3fa(0x1ab)&&await _0x2ff71e[_0x15f3fa(0x1a2)](..._0xd0f8e);}}async[a4_0x355c26(0x1ac)](_0x33bf35,..._0x259614){const _0xbca213=a4_0x355c26;return await this['getListevent'](),await this[_0xbca213(0x1ba)](_0x33bf35,..._0x259614),this[_0xbca213(0x1c6)](_0x33bf35);}async[a4_0x355c26(0x1c6)](_0x5d553c){const _0x47ba0a=a4_0x355c26;return await this[_0x47ba0a(0x1c5)](),this['listevent'][_0x5d553c]&&delete this[_0x47ba0a(0x1ae)][_0x5d553c],!!this['listevent'][_0x5d553c];}};__decorate([(0x0,core_1[a4_0x355c26(0x1b2)])(),__metadata(a4_0x355c26(0x1c4),Object)],EventService[a4_0x355c26(0x1b4)],'app',void 0x0),EventService=__decorate([(0x0,core_1[a4_0x355c26(0x1aa)])(a4_0x355c26(0x1ca)),(0x0,core_1[a4_0x355c26(0x1ad)])(core_1['ScopeEnum']['Singleton'])],EventService),exports[a4_0x355c26(0x1bd)]=EventService;
1
+ 'use strict';const a4_0x5eed29=a4_0x4c95;function a4_0x5ceb(){const _0x449b3d=['EVENT_ON_KEY','bind','collect.js','11241XXDsDc','33HOARUt','listevent','init','ScopeEnum','object','101430OMBTCW','getListevent','function','__metadata','event','618PbFLdC','2856504tmtFNZ','@midwayjs/core','getOwnPropertyDescriptor','resolve','getAsync','decorate','Scope','Provide','all','App','2255508NeSCeZ','listModule','defineProperty','app','getClassMetadata','off','5JSoCsz','4293275zmKJvy','20610rwtreb','1448LITUMy','Singleton','priority','once','propertyKey','length','__decorate','__esModule','name','1113420HLrRAH'];a4_0x5ceb=function(){return _0x449b3d;};return a4_0x5ceb();}(function(_0x2d3a87,_0x5e1a3a){const _0x51b9fc=a4_0x4c95,_0x3168ea=_0x2d3a87();while(!![]){try{const _0x2eeb51=-parseInt(_0x51b9fc(0xaf))/0x1+-parseInt(_0x51b9fc(0x92))/0x2*(-parseInt(_0x51b9fc(0xb3))/0x3)+parseInt(_0x51b9fc(0x93))/0x4+-parseInt(_0x51b9fc(0xa3))/0x5*(parseInt(_0x51b9fc(0x9d))/0x6)+parseInt(_0x51b9fc(0xa4))/0x7+-parseInt(_0x51b9fc(0xa6))/0x8*(parseInt(_0x51b9fc(0xa5))/0x9)+parseInt(_0x51b9fc(0x8d))/0xa*(parseInt(_0x51b9fc(0xb4))/0xb);if(_0x2eeb51===_0x5e1a3a)break;else _0x3168ea['push'](_0x3168ea['shift']());}catch(_0x3ac38f){_0x3168ea['push'](_0x3168ea['shift']());}}}(a4_0x5ceb,0x95623));function a4_0x4c95(_0x2d20d2,_0x15502c){const _0x5ceb75=a4_0x5ceb();return a4_0x4c95=function(_0x4c95c4,_0xe296b8){_0x4c95c4=_0x4c95c4-0x8a;let _0x40e8ab=_0x5ceb75[_0x4c95c4];return _0x40e8ab;},a4_0x4c95(_0x2d20d2,_0x15502c);}var __decorate=this&&this[a4_0x5eed29(0xac)]||function(_0x40fb72,_0x4edb65,_0x300708,_0x152c26){const _0x36113c=a4_0x5eed29;var _0x529b1a=arguments[_0x36113c(0xab)],_0x52d885=_0x529b1a<0x3?_0x4edb65:_0x152c26===null?_0x152c26=Object[_0x36113c(0x95)](_0x4edb65,_0x300708):_0x152c26,_0x2bd927;if(typeof Reflect===_0x36113c(0x8c)&&typeof Reflect[_0x36113c(0x98)]===_0x36113c(0x8f))_0x52d885=Reflect[_0x36113c(0x98)](_0x40fb72,_0x4edb65,_0x300708,_0x152c26);else{for(var _0x17280a=_0x40fb72[_0x36113c(0xab)]-0x1;_0x17280a>=0x0;_0x17280a--)if(_0x2bd927=_0x40fb72[_0x17280a])_0x52d885=(_0x529b1a<0x3?_0x2bd927(_0x52d885):_0x529b1a>0x3?_0x2bd927(_0x4edb65,_0x300708,_0x52d885):_0x2bd927(_0x4edb65,_0x300708))||_0x52d885;}return _0x529b1a>0x3&&_0x52d885&&Object[_0x36113c(0x9f)](_0x4edb65,_0x300708,_0x52d885),_0x52d885;},__metadata=this&&this[a4_0x5eed29(0x90)]||function(_0x3a3db6,_0x2df3b7){const _0x5a20ba=a4_0x5eed29;if(typeof Reflect===_0x5a20ba(0x8c)&&typeof Reflect['metadata']===_0x5a20ba(0x8f))return Reflect['metadata'](_0x3a3db6,_0x2df3b7);};Object[a4_0x5eed29(0x9f)](exports,a4_0x5eed29(0xad),{'value':!![]}),exports['EventService']=void 0x0;const collect_js_1=require(a4_0x5eed29(0xb2)),core_1=require(a4_0x5eed29(0x94)),interface_1=require('../interface');let EventService=class EventService{constructor(){this['init']=![];}async[a4_0x5eed29(0x8e)](_0x2aa746){const _0x3df8fd=a4_0x5eed29;if(!this[_0x3df8fd(0x8a)]){this[_0x3df8fd(0x8a)]=!![],this[_0x3df8fd(0xb5)]={};for(const _0x24c793 of(0x0,core_1[_0x3df8fd(0x9e)])(interface_1['EVENT_KEY'])||[]){const _0x1a942d=await this[_0x3df8fd(0xa0)]['getApplicationContext']()[_0x3df8fd(0x97)](_0x24c793);for(const _0x53125e of(0x0,core_1[_0x3df8fd(0xa1)])(interface_1[_0x3df8fd(0xb0)],_0x24c793)||[]){typeof(_0x1a942d[_0x53125e[_0x3df8fd(0xaa)]]=='function')&&(!this[_0x3df8fd(0xb5)][_0x53125e[_0x3df8fd(0xae)]]&&(this[_0x3df8fd(0xb5)][_0x53125e[_0x3df8fd(0xae)]]=[]),this[_0x3df8fd(0xb5)][_0x53125e['name']]['push']({'priority':_0x53125e[_0x3df8fd(0xa8)],'resolve':_0x1a942d[_0x53125e[_0x3df8fd(0xaa)]][_0x3df8fd(0xb1)](_0x1a942d),'propertyKey':_0x24c793[_0x3df8fd(0xae)]+'@'+_0x53125e[_0x3df8fd(0xaa)]}));}}for(const _0xe9964a in this[_0x3df8fd(0xb5)]){this['listevent'][_0xe9964a]=(0x0,collect_js_1['default'])(this[_0x3df8fd(0xb5)][_0xe9964a])['sortByDesc']('priority')[_0x3df8fd(0x9b)]();}}return _0x2aa746?this['listevent'][_0x2aa746]||[]:this[_0x3df8fd(0xb5)];}async['emit'](_0x3e3ee0,..._0x597ffc){const _0x4ced9f=a4_0x5eed29;var _0x1fb003,_0x258f8d;await this[_0x4ced9f(0x8e)]();for(let _0x15ff34 in(_0x1fb003=this[_0x4ced9f(0xb5)])===null||_0x1fb003===void 0x0?void 0x0:_0x1fb003[_0x3e3ee0]){const _0x508b75=(_0x258f8d=this[_0x4ced9f(0xb5)][_0x3e3ee0])===null||_0x258f8d===void 0x0?void 0x0:_0x258f8d[_0x15ff34];(_0x508b75===null||_0x508b75===void 0x0?void 0x0:_0x508b75['resolve'])&&typeof(_0x508b75===null||_0x508b75===void 0x0?void 0x0:_0x508b75[_0x4ced9f(0x96)])==_0x4ced9f(0x8f)&&await _0x508b75[_0x4ced9f(0x96)](..._0x597ffc);}}async[a4_0x5eed29(0xa9)](_0x375dac,..._0x402d25){const _0x172e81=a4_0x5eed29;return await this[_0x172e81(0x8e)](),await this['emit'](_0x375dac,..._0x402d25),this[_0x172e81(0xa2)](_0x375dac);}async['off'](_0x1727e7){const _0xd9b85e=a4_0x5eed29;return await this[_0xd9b85e(0x8e)](),this[_0xd9b85e(0xb5)][_0x1727e7]&&delete this[_0xd9b85e(0xb5)][_0x1727e7],!!this[_0xd9b85e(0xb5)][_0x1727e7];}};__decorate([(0x0,core_1[a4_0x5eed29(0x9c)])(),__metadata('design:type',Object)],EventService['prototype'],a4_0x5eed29(0xa0),void 0x0),EventService=__decorate([(0x0,core_1[a4_0x5eed29(0x9a)])(a4_0x5eed29(0x91)),(0x0,core_1[a4_0x5eed29(0x99)])(core_1[a4_0x5eed29(0x8b)][a4_0x5eed29(0xa7)])],EventService),exports['EventService']=EventService;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anncic-api/event",
3
- "version": "1.4.5",
3
+ "version": "1.4.7",
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": "804809f0521c31790e9c08e84fc82c0dd2d8c9c5"
24
+ "gitHead": "03205fcee78cac4dab2e0de47407bb2ee45f4c6b"
25
25
  }