@anncic-api/event 1.0.10 → 1.0.13

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_0x1a9aee=a0_0x31be;function a0_0x31be(_0x54327c,_0x438b2a){var _0x2d9518=a0_0x2d95();return a0_0x31be=function(_0x31be77,_0x32c1bf){_0x31be77=_0x31be77-0x8d;var _0x5de8ab=_0x2d9518[_0x31be77];return _0x5de8ab;},a0_0x31be(_0x54327c,_0x438b2a);}(function(_0x150619,_0xe3d099){var _0x16b3af=a0_0x31be,_0x58f412=_0x150619();while(!![]){try{var _0x507ee0=parseInt(_0x16b3af(0x9f))/0x1+parseInt(_0x16b3af(0x8f))/0x2+-parseInt(_0x16b3af(0x8d))/0x3*(-parseInt(_0x16b3af(0x95))/0x4)+-parseInt(_0x16b3af(0x91))/0x5+-parseInt(_0x16b3af(0x90))/0x6+parseInt(_0x16b3af(0x9c))/0x7+-parseInt(_0x16b3af(0x98))/0x8*(parseInt(_0x16b3af(0xa4))/0x9);if(_0x507ee0===_0xe3d099)break;else _0x58f412['push'](_0x58f412['shift']());}catch(_0xf85b56){_0x58f412['push'](_0x58f412['shift']());}}}(a0_0x2d95,0xa689c));var __decorate=this&&this['__decorate']||function(_0x36df72,_0x3bd295,_0x27b2c3,_0x41fa7b){var _0x1b7cc5=a0_0x31be,_0xeefcbb=arguments[_0x1b7cc5(0x99)],_0x5e8393=_0xeefcbb<0x3?_0x3bd295:_0x41fa7b===null?_0x41fa7b=Object[_0x1b7cc5(0xa1)](_0x3bd295,_0x27b2c3):_0x41fa7b,_0xe33e69;if(typeof Reflect===_0x1b7cc5(0x9b)&&typeof Reflect[_0x1b7cc5(0x97)]===_0x1b7cc5(0x96))_0x5e8393=Reflect['decorate'](_0x36df72,_0x3bd295,_0x27b2c3,_0x41fa7b);else{for(var _0x5742f1=_0x36df72['length']-0x1;_0x5742f1>=0x0;_0x5742f1--)if(_0xe33e69=_0x36df72[_0x5742f1])_0x5e8393=(_0xeefcbb<0x3?_0xe33e69(_0x5e8393):_0xeefcbb>0x3?_0xe33e69(_0x3bd295,_0x27b2c3,_0x5e8393):_0xe33e69(_0x3bd295,_0x27b2c3))||_0x5e8393;}return _0xeefcbb>0x3&&_0x5e8393&&Object[_0x1b7cc5(0xa9)](_0x3bd295,_0x27b2c3,_0x5e8393),_0x5e8393;},__metadata=this&&this['__metadata']||function(_0x247761,_0x1331bc){var _0x52c984=a0_0x31be;if(typeof Reflect===_0x52c984(0x9b)&&typeof Reflect[_0x52c984(0x9e)]===_0x52c984(0x96))return Reflect[_0x52c984(0x9e)](_0x247761,_0x1331bc);};Object[a0_0x1a9aee(0xa9)](exports,a0_0x1a9aee(0xa2),{'value':!![]}),exports[a0_0x1a9aee(0x92)]=void 0x0;function a0_0x2d95(){var _0x2dbf53=['MidwayConfigService','207xulTFq','Inject','@midwayjs/decorator','prototype','config','defineProperty','723rlvIgs','Configuration','1031502dznbPW','255450uIpYZk','71260UfczoJ','CustomConfiguration','anncic-api:event','onReady','19156pPxuvD','function','decorate','759240mCFosv','length','@midwayjs/core','object','4509204MhAxDW','decorator','metadata','607710tkHpUU','design:type','getOwnPropertyDescriptor','__esModule'];a0_0x2d95=function(){return _0x2dbf53;};return a0_0x2d95();}const decorator_1=require(a0_0x1a9aee(0xa6)),core_1=require(a0_0x1a9aee(0x9a));let CustomConfiguration=class CustomConfiguration{async[a0_0x1a9aee(0x94)](){}};__decorate([(0x0,decorator_1[a0_0x1a9aee(0xa5)])(),__metadata(a0_0x1a9aee(0xa0),core_1[a0_0x1a9aee(0xa3)])],CustomConfiguration[a0_0x1a9aee(0xa7)],a0_0x1a9aee(0xa8),void 0x0),__decorate([(0x0,decorator_1[a0_0x1a9aee(0xa5)])(),__metadata('design:type',core_1['MidwayDecoratorService'])],CustomConfiguration[a0_0x1a9aee(0xa7)],a0_0x1a9aee(0x9d),void 0x0),CustomConfiguration=__decorate([(0x0,decorator_1[a0_0x1a9aee(0x8e)])({'conflictCheck':![],'namespace':a0_0x1a9aee(0x93)})],CustomConfiguration),exports[a0_0x1a9aee(0x92)]=CustomConfiguration;
1
+ 'use strict';var a0_0x1b3135=a0_0x165d;(function(_0x5a079c,_0x383777){var _0x399de4=a0_0x165d,_0x32f1d4=_0x5a079c();while(!![]){try{var _0x2227f9=-parseInt(_0x399de4(0x184))/0x1+parseInt(_0x399de4(0x177))/0x2*(-parseInt(_0x399de4(0x17b))/0x3)+parseInt(_0x399de4(0x17a))/0x4*(parseInt(_0x399de4(0x17c))/0x5)+parseInt(_0x399de4(0x194))/0x6+parseInt(_0x399de4(0x18d))/0x7*(-parseInt(_0x399de4(0x188))/0x8)+parseInt(_0x399de4(0x190))/0x9+-parseInt(_0x399de4(0x189))/0xa*(-parseInt(_0x399de4(0x181))/0xb);if(_0x2227f9===_0x383777)break;else _0x32f1d4['push'](_0x32f1d4['shift']());}catch(_0x3ca47c){_0x32f1d4['push'](_0x32f1d4['shift']());}}}(a0_0x2743,0x9eb12));function a0_0x2743(){var _0x57a58f=['metadata','Inject','prototype','6665460tZSRau','@midwayjs/core','82VjOzys','onReady','design:type','4gdPuid','39822OKAclu','4424980FXqcoh','CustomConfiguration','decorate','defineProperty','config','11ICJlTK','decorator','function','277744jgcCGc','__metadata','__esModule','__decorate','8UCchSy','1744690xCFCkd','length','object','anncic-api:event','6207719RmOSwI','MidwayDecoratorService','Configuration','1695798XdZxHx'];a0_0x2743=function(){return _0x57a58f;};return a0_0x2743();}var __decorate=this&&this[a0_0x1b3135(0x187)]||function(_0x5404fa,_0x41674b,_0xedfc85,_0x2b32fb){var _0x53924a=a0_0x1b3135,_0x3e2657=arguments['length'],_0x517c8f=_0x3e2657<0x3?_0x41674b:_0x2b32fb===null?_0x2b32fb=Object['getOwnPropertyDescriptor'](_0x41674b,_0xedfc85):_0x2b32fb,_0x3a0b83;if(typeof Reflect===_0x53924a(0x18b)&&typeof Reflect['decorate']==='function')_0x517c8f=Reflect[_0x53924a(0x17e)](_0x5404fa,_0x41674b,_0xedfc85,_0x2b32fb);else{for(var _0xc368f4=_0x5404fa[_0x53924a(0x18a)]-0x1;_0xc368f4>=0x0;_0xc368f4--)if(_0x3a0b83=_0x5404fa[_0xc368f4])_0x517c8f=(_0x3e2657<0x3?_0x3a0b83(_0x517c8f):_0x3e2657>0x3?_0x3a0b83(_0x41674b,_0xedfc85,_0x517c8f):_0x3a0b83(_0x41674b,_0xedfc85))||_0x517c8f;}return _0x3e2657>0x3&&_0x517c8f&&Object[_0x53924a(0x17f)](_0x41674b,_0xedfc85,_0x517c8f),_0x517c8f;},__metadata=this&&this[a0_0x1b3135(0x185)]||function(_0x161a5b,_0x41d551){var _0x425a73=a0_0x1b3135;if(typeof Reflect===_0x425a73(0x18b)&&typeof Reflect[_0x425a73(0x191)]===_0x425a73(0x183))return Reflect[_0x425a73(0x191)](_0x161a5b,_0x41d551);};Object['defineProperty'](exports,a0_0x1b3135(0x186),{'value':!![]}),exports[a0_0x1b3135(0x17d)]=void 0x0;const decorator_1=require('@midwayjs/decorator'),core_1=require(a0_0x1b3135(0x195));function a0_0x165d(_0x1c16b4,_0x2b41b3){var _0x2743bc=a0_0x2743();return a0_0x165d=function(_0x165dda,_0x1f1443){_0x165dda=_0x165dda-0x177;var _0xa0b8a7=_0x2743bc[_0x165dda];return _0xa0b8a7;},a0_0x165d(_0x1c16b4,_0x2b41b3);}let CustomConfiguration=class CustomConfiguration{async[a0_0x1b3135(0x178)](){}};__decorate([(0x0,decorator_1['Inject'])(),__metadata(a0_0x1b3135(0x179),core_1['MidwayConfigService'])],CustomConfiguration[a0_0x1b3135(0x193)],a0_0x1b3135(0x180),void 0x0),__decorate([(0x0,decorator_1[a0_0x1b3135(0x192)])(),__metadata(a0_0x1b3135(0x179),core_1[a0_0x1b3135(0x18e)])],CustomConfiguration[a0_0x1b3135(0x193)],a0_0x1b3135(0x182),void 0x0),CustomConfiguration=__decorate([(0x0,decorator_1[a0_0x1b3135(0x18f)])({'conflictCheck':![],'namespace':a0_0x1b3135(0x18c)})],CustomConfiguration),exports['CustomConfiguration']=CustomConfiguration;
@@ -1 +1 @@
1
- 'use strict';const a1_0x41b299=a1_0x2fd5;(function(_0x25008e,_0x10a1ce){const _0x100b32=a1_0x2fd5,_0x482066=_0x25008e();while(!![]){try{const _0x345e13=parseInt(_0x100b32(0x10b))/0x1+parseInt(_0x100b32(0x104))/0x2+parseInt(_0x100b32(0xfd))/0x3*(-parseInt(_0x100b32(0xff))/0x4)+parseInt(_0x100b32(0x106))/0x5*(-parseInt(_0x100b32(0x108))/0x6)+-parseInt(_0x100b32(0x10d))/0x7*(parseInt(_0x100b32(0xfe))/0x8)+parseInt(_0x100b32(0x102))/0x9*(-parseInt(_0x100b32(0x100))/0xa)+-parseInt(_0x100b32(0x10a))/0xb*(-parseInt(_0x100b32(0x10e))/0xc);if(_0x345e13===_0x10a1ce)break;else _0x482066['push'](_0x482066['shift']());}catch(_0x1548b1){_0x482066['push'](_0x482066['shift']());}}}(a1_0x21b5,0x63548));Object[a1_0x41b299(0x109)](exports,a1_0x41b299(0xfb),{'value':!![]}),exports[a1_0x41b299(0x103)]=void 0x0;function a1_0x2fd5(_0x345554,_0x5f70bf){const _0x21b5da=a1_0x21b5();return a1_0x2fd5=function(_0x2fd5f5,_0x20ea06){_0x2fd5f5=_0x2fd5f5-0xfa;let _0x331ef0=_0x21b5da[_0x2fd5f5];return _0x331ef0;},a1_0x2fd5(_0x345554,_0x5f70bf);}const decorator_1=require(a1_0x41b299(0xfc)),interface_1=require('../interface');function a1_0x21b5(){const _0x5811b0=['36qOiBCV','Request','__esModule','@midwayjs/decorator','573utEIfL','32YmuzpS','6128TJDmuz','2480VJZpXu','ScopeEnum','3843HfEwDD','Event','23208atrQyx','EVENT_KEY','105sdyeVF','Scope','130722GeQheM','defineProperty','4035515iyzuMt','556824zIeyPU','EVENT_ON_KEY','710731nfXSpS'];a1_0x21b5=function(){return _0x5811b0;};return a1_0x21b5();}function Event(){return _0x544ab3=>{const _0x317eac=a1_0x2fd5;(0x0,decorator_1['Provide'])()(_0x544ab3),(0x0,decorator_1['saveModule'])(interface_1[_0x317eac(0x105)],_0x544ab3),(0x0,decorator_1[_0x317eac(0x107)])(decorator_1[_0x317eac(0x101)][_0x317eac(0xfa)],{'allowDowngrade':!![]})(_0x544ab3);};}exports[a1_0x41b299(0x103)]=Event,Event['On']=function(_0xf548b0,_0x35d2e6=0x0){return(_0x449ec5,_0x448b1c,_0x3431be)=>{const _0x4554f5=a1_0x2fd5;return(0x0,decorator_1['attachClassMetadata'])(interface_1[_0x4554f5(0x10c)],{'name':_0xf548b0,'priority':_0x35d2e6,'propertyKey':_0x448b1c,'descriptor':_0x3431be},_0x449ec5),_0x3431be;};};
1
+ 'use strict';function a1_0xfc05(){const _0x20fc98=['1495319ovfvhj','@midwayjs/decorator','Event','348424xOTHlG','../interface','123135nKROCQ','5209505NIrmzm','__esModule','EVENT_ON_KEY','2520216HMHGat','13483692Czrlhy','Provide','Scope','3237453FezlxA','defineProperty','2ZPJket','ScopeEnum','attachClassMetadata','4cJuERi'];a1_0xfc05=function(){return _0x20fc98;};return a1_0xfc05();}const a1_0x47659f=a1_0x3d2d;(function(_0x13843a,_0x203246){const _0x4d627b=a1_0x3d2d,_0x724b05=_0x13843a();while(!![]){try{const _0x379280=parseInt(_0x4d627b(0xad))/0x1+-parseInt(_0x4d627b(0xb7))/0x2*(-parseInt(_0x4d627b(0xb5))/0x3)+-parseInt(_0x4d627b(0xba))/0x4*(-parseInt(_0x4d627b(0xae))/0x5)+-parseInt(_0x4d627b(0xb1))/0x6+parseInt(_0x4d627b(0xbb))/0x7+parseInt(_0x4d627b(0xab))/0x8+-parseInt(_0x4d627b(0xb2))/0x9;if(_0x379280===_0x203246)break;else _0x724b05['push'](_0x724b05['shift']());}catch(_0x21cf90){_0x724b05['push'](_0x724b05['shift']());}}}(a1_0xfc05,0x8e5dd));function a1_0x3d2d(_0x3563d0,_0x459fdf){const _0xfc0523=a1_0xfc05();return a1_0x3d2d=function(_0x3d2d26,_0x440e0a){_0x3d2d26=_0x3d2d26-0xab;let _0x2457a8=_0xfc0523[_0x3d2d26];return _0x2457a8;},a1_0x3d2d(_0x3563d0,_0x459fdf);}Object[a1_0x47659f(0xb6)](exports,a1_0x47659f(0xaf),{'value':!![]}),exports['Event']=void 0x0;const decorator_1=require(a1_0x47659f(0xbc)),interface_1=require(a1_0x47659f(0xac));function Event(){return _0x1c3fea=>{const _0x14ba58=a1_0x3d2d;(0x0,decorator_1[_0x14ba58(0xb3)])()(_0x1c3fea),(0x0,decorator_1['saveModule'])(interface_1['EVENT_KEY'],_0x1c3fea),(0x0,decorator_1[_0x14ba58(0xb4)])(decorator_1[_0x14ba58(0xb8)]['Request'],{'allowDowngrade':!![]})(_0x1c3fea);};}exports[a1_0x47659f(0xbd)]=Event,Event['On']=function(_0x28e51a,_0x324046=0x0){return(_0x193b8f,_0x121191,_0x44a37a)=>{const _0x1e257c=a1_0x3d2d;return(0x0,decorator_1[_0x1e257c(0xb9)])(interface_1[_0x1e257c(0xb0)],{'name':_0x28e51a,'priority':_0x324046,'propertyKey':_0x121191,'descriptor':_0x44a37a},_0x193b8f),_0x44a37a;};};
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';var a2_0xd9543a=a2_0x4b0e;(function(_0x1d705b,_0x89a0ab){var _0x583e94=a2_0x4b0e,_0x5897ed=_0x1d705b();while(!![]){try{var _0x413b84=parseInt(_0x583e94(0x189))/0x1*(-parseInt(_0x583e94(0x183))/0x2)+parseInt(_0x583e94(0x188))/0x3*(-parseInt(_0x583e94(0x184))/0x4)+parseInt(_0x583e94(0x185))/0x5*(-parseInt(_0x583e94(0x17f))/0x6)+-parseInt(_0x583e94(0x17d))/0x7+parseInt(_0x583e94(0x17a))/0x8*(-parseInt(_0x583e94(0x17e))/0x9)+parseInt(_0x583e94(0x182))/0xa+parseInt(_0x583e94(0x17b))/0xb;if(_0x413b84===_0x89a0ab)break;else _0x5897ed['push'](_0x5897ed['shift']());}catch(_0x30af70){_0x5897ed['push'](_0x5897ed['shift']());}}}(a2_0x29ac,0xe5558));Object[a2_0xd9543a(0x180)](exports,'__esModule',{'value':!![]}),exports[a2_0xd9543a(0x17c)]=exports[a2_0xd9543a(0x18a)]=exports[a2_0xd9543a(0x181)]=void 0x0;function a2_0x29ac(){var _0x3dd54d=['9tHlvlG','145626UQHIfC','defineProperty','Event','10830180csayKs','12nScdMB','27768NZOZLc','320enUvsG','./decorator/Event','./configuration','543rztXjK','124946TyacfT','EventService','CustomConfiguration','6773344QXiJxs','51996802NuUICH','Configuration','3251206jWamya'];a2_0x29ac=function(){return _0x3dd54d;};return a2_0x29ac();}var Event_1=require(a2_0xd9543a(0x186));Object['defineProperty'](exports,a2_0xd9543a(0x181),{'enumerable':!![],'get':function(){var _0x3fc2e3=a2_0xd9543a;return Event_1[_0x3fc2e3(0x181)];}});var EventService_1=require('./service/EventService');Object['defineProperty'](exports,a2_0xd9543a(0x18a),{'enumerable':!![],'get':function(){var _0x1d3ae6=a2_0xd9543a;return EventService_1[_0x1d3ae6(0x18a)];}});function a2_0x4b0e(_0x5e5862,_0x5a5a29){var _0x29aca2=a2_0x29ac();return a2_0x4b0e=function(_0x4b0ea9,_0x256d8b){_0x4b0ea9=_0x4b0ea9-0x17a;var _0xf8b93f=_0x29aca2[_0x4b0ea9];return _0xf8b93f;},a2_0x4b0e(_0x5e5862,_0x5a5a29);}var configuration_1=require(a2_0xd9543a(0x187));Object[a2_0xd9543a(0x180)](exports,a2_0xd9543a(0x17c),{'enumerable':!![],'get':function(){var _0x1d15d5=a2_0xd9543a;return configuration_1[_0x1d15d5(0x18b)];}});
1
+ 'use strict';var a2_0x3ca1b6=a2_0x3c04;(function(_0x4cdd98,_0x1a2c4a){var _0x452511=a2_0x3c04,_0x2b72e8=_0x4cdd98();while(!![]){try{var _0x51b495=-parseInt(_0x452511(0xaa))/0x1+parseInt(_0x452511(0xa6))/0x2*(parseInt(_0x452511(0xa3))/0x3)+parseInt(_0x452511(0xae))/0x4*(parseInt(_0x452511(0xa1))/0x5)+-parseInt(_0x452511(0xa9))/0x6+-parseInt(_0x452511(0xab))/0x7+parseInt(_0x452511(0xa7))/0x8+-parseInt(_0x452511(0x9e))/0x9*(-parseInt(_0x452511(0x9f))/0xa);if(_0x51b495===_0x1a2c4a)break;else _0x2b72e8['push'](_0x2b72e8['shift']());}catch(_0x4f5c40){_0x2b72e8['push'](_0x2b72e8['shift']());}}}(a2_0x53d6,0x9c8f5));function a2_0x3c04(_0x59f67e,_0x33e739){var _0x53d6f=a2_0x53d6();return a2_0x3c04=function(_0x3c0467,_0x22bcbb){_0x3c0467=_0x3c0467-0x9e;var _0x1c8d42=_0x53d6f[_0x3c0467];return _0x1c8d42;},a2_0x3c04(_0x59f67e,_0x33e739);}Object['defineProperty'](exports,a2_0x3ca1b6(0xb0),{'value':!![]}),exports[a2_0x3ca1b6(0xa8)]=exports['EventService']=exports[a2_0x3ca1b6(0xa4)]=void 0x0;var Event_1=require(a2_0x3ca1b6(0xac));Object[a2_0x3ca1b6(0xaf)](exports,a2_0x3ca1b6(0xa4),{'enumerable':!![],'get':function(){var _0x54d4e4=a2_0x3ca1b6;return Event_1[_0x54d4e4(0xa4)];}});var EventService_1=require(a2_0x3ca1b6(0xad));Object[a2_0x3ca1b6(0xaf)](exports,a2_0x3ca1b6(0xa0),{'enumerable':!![],'get':function(){var _0x25a3f3=a2_0x3ca1b6;return EventService_1[_0x25a3f3(0xa0)];}});function a2_0x53d6(){var _0x5cffdd=['9WSMvhR','1974790pLFZEa','EventService','2005jucVzG','CustomConfiguration','1143516FbKOmm','Event','./configuration','6jlOKAR','3141840ifoeFu','Configuration','6202608yJkXbY','644681PlRNbN','3347827UCaXPy','./decorator/Event','./service/EventService','10616CNkCoI','defineProperty','__esModule'];a2_0x53d6=function(){return _0x5cffdd;};return a2_0x53d6();}var configuration_1=require(a2_0x3ca1b6(0xa5));Object[a2_0x3ca1b6(0xaf)](exports,a2_0x3ca1b6(0xa8),{'enumerable':!![],'get':function(){var _0x302032=a2_0x3ca1b6;return configuration_1[_0x302032(0xa2)];}});
package/dist/interface.js CHANGED
@@ -1 +1 @@
1
- 'use strict';var a3_0x4f97c1=a3_0x32cf;(function(_0x12c02a,_0x4331ee){var _0x2ec744=a3_0x32cf,_0x1e2b3c=_0x12c02a();while(!![]){try{var _0x56444f=-parseInt(_0x2ec744(0x1d0))/0x1*(parseInt(_0x2ec744(0x1cf))/0x2)+-parseInt(_0x2ec744(0x1d8))/0x3*(-parseInt(_0x2ec744(0x1cb))/0x4)+parseInt(_0x2ec744(0x1d4))/0x5*(parseInt(_0x2ec744(0x1cc))/0x6)+parseInt(_0x2ec744(0x1ca))/0x7+-parseInt(_0x2ec744(0x1ce))/0x8+parseInt(_0x2ec744(0x1d7))/0x9*(-parseInt(_0x2ec744(0x1d3))/0xa)+-parseInt(_0x2ec744(0x1cd))/0xb;if(_0x56444f===_0x4331ee)break;else _0x1e2b3c['push'](_0x1e2b3c['shift']());}catch(_0x388c24){_0x1e2b3c['push'](_0x1e2b3c['shift']());}}}(a3_0x1558,0xc5825));function a3_0x32cf(_0x3d1a8d,_0x2cf802){var _0x15587c=a3_0x1558();return a3_0x32cf=function(_0x32cf01,_0x754614){_0x32cf01=_0x32cf01-0x1ca;var _0x3d0d80=_0x15587c[_0x32cf01];return _0x3d0d80;},a3_0x32cf(_0x3d1a8d,_0x2cf802);}Object['defineProperty'](exports,a3_0x4f97c1(0x1d2),{'value':!![]}),exports[a3_0x4f97c1(0x1d6)]=exports[a3_0x4f97c1(0x1d1)]=void 0x0,exports[a3_0x4f97c1(0x1d1)]=a3_0x4f97c1(0x1d5),exports['EVENT_ON_KEY']='anncic-api:event:on';function a3_0x1558(){var _0x12b64a=['8844iJRENj','4696538sorONy','493776FQfROz','8xhzDrD','133595uaFGbg','EVENT_KEY','__esModule','369890DzWabX','2740ubSnKG','anncic-api:event','EVENT_ON_KEY','90KCzrJB','346608kBscPe','4098101gJEMpc','28EQocRX'];a3_0x1558=function(){return _0x12b64a;};return a3_0x1558();}
1
+ 'use strict';function a3_0xbe7f(_0xfbc5cf,_0x1f4691){var _0x11fe62=a3_0x11fe();return a3_0xbe7f=function(_0xbe7fc5,_0x1d9ab6){_0xbe7fc5=_0xbe7fc5-0x125;var _0x47ef7a=_0x11fe62[_0xbe7fc5];return _0x47ef7a;},a3_0xbe7f(_0xfbc5cf,_0x1f4691);}var a3_0x116993=a3_0xbe7f;(function(_0x1052c6,_0x228c1f){var _0x3e9b1f=a3_0xbe7f,_0x4509f8=_0x1052c6();while(!![]){try{var _0xc6f62d=-parseInt(_0x3e9b1f(0x127))/0x1+-parseInt(_0x3e9b1f(0x125))/0x2*(parseInt(_0x3e9b1f(0x126))/0x3)+parseInt(_0x3e9b1f(0x12e))/0x4*(parseInt(_0x3e9b1f(0x12b))/0x5)+parseInt(_0x3e9b1f(0x12d))/0x6+-parseInt(_0x3e9b1f(0x129))/0x7+parseInt(_0x3e9b1f(0x130))/0x8+-parseInt(_0x3e9b1f(0x12f))/0x9;if(_0xc6f62d===_0x228c1f)break;else _0x4509f8['push'](_0x4509f8['shift']());}catch(_0x55b032){_0x4509f8['push'](_0x4509f8['shift']());}}}(a3_0x11fe,0x53bd1));function a3_0x11fe(){var _0x1f1d98=['EVENT_ON_KEY','3523248AHHTtS','60TVZEKM','2981835LkCZmI','5075656MeFGyt','__esModule','6HaAvVS','36699ewFLKX','387202JGYFQz','anncic-api:event:on','3164007uaHuyM','EVENT_KEY','109515RPiHkW'];a3_0x11fe=function(){return _0x1f1d98;};return a3_0x11fe();}Object['defineProperty'](exports,a3_0x116993(0x131),{'value':!![]}),exports[a3_0x116993(0x12c)]=exports[a3_0x116993(0x12a)]=void 0x0,exports[a3_0x116993(0x12a)]='anncic-api:event',exports['EVENT_ON_KEY']=a3_0x116993(0x128);
@@ -1 +1 @@
1
- 'use strict';function a4_0x5530(){const _0x10438b=['resolve','init','getOwnPropertyDescriptor','4807270ZXFBcx','priority','__decorate','metadata','object','function','off','defineProperty','1712426cDFXMN','1ezOQWW','listevent','272lOaQAm','emit','EventService','decorate','name','11DGMGXd','5mQtQUK','@midwayjs/decorator','getApplicationContext','event','propertyKey','1040xzneie','listModule','prototype','Singleton','11832BWfdXO','getListevent','Provide','ScopeEnum','EVENT_ON_KEY','EVENT_KEY','9549114NMYsPC','app','all','length','__metadata','45144KHyKko','bind','push','../interface','27639324Jjtgoj','3895941TIbLzK','once'];a4_0x5530=function(){return _0x10438b;};return a4_0x5530();}const a4_0x325e65=a4_0x5219;(function(_0x9be4c5,_0x48fa25){const _0x449607=a4_0x5219,_0x92be1a=_0x9be4c5();while(!![]){try{const _0x170490=-parseInt(_0x449607(0x15e))/0x1*(-parseInt(_0x449607(0x15d))/0x2)+parseInt(_0x449607(0x140))/0x3*(-parseInt(_0x449607(0x160))/0x4)+-parseInt(_0x449607(0x166))/0x5*(parseInt(_0x449607(0x146))/0x6)+-parseInt(_0x449607(0x150))/0x7+parseInt(_0x449607(0x13c))/0x8*(parseInt(_0x449607(0x14b))/0x9)+-parseInt(_0x449607(0x155))/0xa+-parseInt(_0x449607(0x165))/0xb*(-parseInt(_0x449607(0x14f))/0xc);if(_0x170490===_0x48fa25)break;else _0x92be1a['push'](_0x92be1a['shift']());}catch(_0x59c3d8){_0x92be1a['push'](_0x92be1a['shift']());}}}(a4_0x5530,0xdf489));var __decorate=this&&this[a4_0x325e65(0x157)]||function(_0x4e8dbc,_0x26b95b,_0x59504a,_0x3d97af){const _0x46f601=a4_0x325e65;var _0x5e7ab0=arguments['length'],_0x406a40=_0x5e7ab0<0x3?_0x26b95b:_0x3d97af===null?_0x3d97af=Object[_0x46f601(0x154)](_0x26b95b,_0x59504a):_0x3d97af,_0x3f86f7;if(typeof Reflect===_0x46f601(0x159)&&typeof Reflect[_0x46f601(0x163)]===_0x46f601(0x15a))_0x406a40=Reflect[_0x46f601(0x163)](_0x4e8dbc,_0x26b95b,_0x59504a,_0x3d97af);else{for(var _0x28f702=_0x4e8dbc[_0x46f601(0x149)]-0x1;_0x28f702>=0x0;_0x28f702--)if(_0x3f86f7=_0x4e8dbc[_0x28f702])_0x406a40=(_0x5e7ab0<0x3?_0x3f86f7(_0x406a40):_0x5e7ab0>0x3?_0x3f86f7(_0x26b95b,_0x59504a,_0x406a40):_0x3f86f7(_0x26b95b,_0x59504a))||_0x406a40;}return _0x5e7ab0>0x3&&_0x406a40&&Object[_0x46f601(0x15c)](_0x26b95b,_0x59504a,_0x406a40),_0x406a40;},__metadata=this&&this[a4_0x325e65(0x14a)]||function(_0x3de1cc,_0x529323){const _0x27d665=a4_0x325e65;if(typeof Reflect==='object'&&typeof Reflect[_0x27d665(0x158)]===_0x27d665(0x15a))return Reflect[_0x27d665(0x158)](_0x3de1cc,_0x529323);};Object[a4_0x325e65(0x15c)](exports,'__esModule',{'value':!![]}),exports[a4_0x325e65(0x162)]=void 0x0;const collect_js_1=require('collect.js'),decorator_1=require(a4_0x325e65(0x167)),interface_1=require(a4_0x325e65(0x14e));let EventService=class EventService{constructor(){this['init']=![];}async[a4_0x325e65(0x141)](_0x1c9b34){const _0x543aad=a4_0x325e65;if(!this[_0x543aad(0x153)]){this[_0x543aad(0x153)]=!![],this['listevent']={};for(const _0x16ddae of(0x0,decorator_1[_0x543aad(0x13d)])(interface_1[_0x543aad(0x145)])||[]){const _0x3e44cc=await this[_0x543aad(0x147)][_0x543aad(0x168)]()['getAsync'](_0x16ddae);for(const _0x54fc8e of(0x0,decorator_1['getClassMetadata'])(interface_1[_0x543aad(0x144)],_0x16ddae)||[]){typeof(_0x3e44cc[_0x54fc8e[_0x543aad(0x13b)]]==_0x543aad(0x15a))&&(!this['listevent'][_0x54fc8e[_0x543aad(0x164)]]&&(this[_0x543aad(0x15f)][_0x54fc8e[_0x543aad(0x164)]]=[]),this[_0x543aad(0x15f)][_0x54fc8e['name']][_0x543aad(0x14d)]({'priority':_0x54fc8e[_0x543aad(0x156)],'resolve':_0x3e44cc[_0x54fc8e[_0x543aad(0x13b)]][_0x543aad(0x14c)](_0x3e44cc),'propertyKey':_0x16ddae[_0x543aad(0x164)]+'@'+_0x54fc8e['propertyKey']}));}}for(const _0x2f353c in this[_0x543aad(0x15f)]){this[_0x543aad(0x15f)][_0x2f353c]=(0x0,collect_js_1['default'])(this['listevent'][_0x2f353c])['sortByDesc']('priority')[_0x543aad(0x148)]();}}return _0x1c9b34?this[_0x543aad(0x15f)][_0x1c9b34]||[]:this[_0x543aad(0x15f)];}async['emit'](_0x15164c,..._0x4b7e03){const _0x108fa7=a4_0x325e65;var _0x54f149,_0x3a19cb;await this['getListevent']();for(let _0x4f6a3a in(_0x54f149=this[_0x108fa7(0x15f)])===null||_0x54f149===void 0x0?void 0x0:_0x54f149[_0x15164c]){const _0x10562a=(_0x3a19cb=this[_0x108fa7(0x15f)][_0x15164c])===null||_0x3a19cb===void 0x0?void 0x0:_0x3a19cb[_0x4f6a3a];(_0x10562a===null||_0x10562a===void 0x0?void 0x0:_0x10562a[_0x108fa7(0x152)])&&typeof(_0x10562a===null||_0x10562a===void 0x0?void 0x0:_0x10562a[_0x108fa7(0x152)])=='function'&&await _0x10562a[_0x108fa7(0x152)](..._0x4b7e03);}}async[a4_0x325e65(0x151)](_0x396511,..._0x22a4fe){const _0xa0fd60=a4_0x325e65;return await this[_0xa0fd60(0x141)](),await this[_0xa0fd60(0x161)](_0x396511,..._0x22a4fe),this[_0xa0fd60(0x15b)](_0x396511);}async['off'](_0x29eb24){const _0xa34b1d=a4_0x325e65;return await this[_0xa34b1d(0x141)](),this['listevent'][_0x29eb24]&&delete this[_0xa34b1d(0x15f)][_0x29eb24],!!this[_0xa34b1d(0x15f)][_0x29eb24];}};function a4_0x5219(_0x134d44,_0x2ffc07){const _0x553058=a4_0x5530();return a4_0x5219=function(_0x52197f,_0x39fe41){_0x52197f=_0x52197f-0x13a;let _0x2b7465=_0x553058[_0x52197f];return _0x2b7465;},a4_0x5219(_0x134d44,_0x2ffc07);}__decorate([(0x0,decorator_1['App'])(),__metadata('design:type',Object)],EventService[a4_0x325e65(0x13e)],a4_0x325e65(0x147),void 0x0),EventService=__decorate([(0x0,decorator_1[a4_0x325e65(0x142)])(a4_0x325e65(0x13a)),(0x0,decorator_1['Scope'])(decorator_1[a4_0x325e65(0x143)][a4_0x325e65(0x13f)])],EventService),exports['EventService']=EventService;
1
+ 'use strict';const a4_0x5dc416=a4_0xeb0a;function a4_0xeb0a(_0x505acf,_0x3ab4bb){const _0x536e04=a4_0x536e();return a4_0xeb0a=function(_0xeb0a33,_0x1947e5){_0xeb0a33=_0xeb0a33-0x18a;let _0x309d5c=_0x536e04[_0xeb0a33];return _0x309d5c;},a4_0xeb0a(_0x505acf,_0x3ab4bb);}(function(_0x4a74a5,_0x620364){const _0x3f2466=a4_0xeb0a,_0x451081=_0x4a74a5();while(!![]){try{const _0x5d6672=-parseInt(_0x3f2466(0x1a3))/0x1+-parseInt(_0x3f2466(0x1aa))/0x2*(parseInt(_0x3f2466(0x18a))/0x3)+parseInt(_0x3f2466(0x18c))/0x4*(parseInt(_0x3f2466(0x1a0))/0x5)+-parseInt(_0x3f2466(0x1a8))/0x6*(-parseInt(_0x3f2466(0x1a2))/0x7)+parseInt(_0x3f2466(0x191))/0x8+-parseInt(_0x3f2466(0x19f))/0x9*(parseInt(_0x3f2466(0x19a))/0xa)+parseInt(_0x3f2466(0x1a4))/0xb*(parseInt(_0x3f2466(0x1ab))/0xc);if(_0x5d6672===_0x620364)break;else _0x451081['push'](_0x451081['shift']());}catch(_0x7a0c5f){_0x451081['push'](_0x451081['shift']());}}}(a4_0x536e,0x1bf65));var __decorate=this&&this['__decorate']||function(_0x34408e,_0x1af53e,_0x313d78,_0x2e7c89){const _0x2e4c1d=a4_0xeb0a;var _0x3af28b=arguments['length'],_0x208809=_0x3af28b<0x3?_0x1af53e:_0x2e7c89===null?_0x2e7c89=Object[_0x2e4c1d(0x1b7)](_0x1af53e,_0x313d78):_0x2e7c89,_0x57e25d;if(typeof Reflect===_0x2e4c1d(0x194)&&typeof Reflect['decorate']===_0x2e4c1d(0x1b6))_0x208809=Reflect['decorate'](_0x34408e,_0x1af53e,_0x313d78,_0x2e7c89);else{for(var _0x5258e1=_0x34408e[_0x2e4c1d(0x1af)]-0x1;_0x5258e1>=0x0;_0x5258e1--)if(_0x57e25d=_0x34408e[_0x5258e1])_0x208809=(_0x3af28b<0x3?_0x57e25d(_0x208809):_0x3af28b>0x3?_0x57e25d(_0x1af53e,_0x313d78,_0x208809):_0x57e25d(_0x1af53e,_0x313d78))||_0x208809;}return _0x3af28b>0x3&&_0x208809&&Object['defineProperty'](_0x1af53e,_0x313d78,_0x208809),_0x208809;},__metadata=this&&this[a4_0x5dc416(0x1a7)]||function(_0x1e5c76,_0x458c7e){const _0x10a052=a4_0x5dc416;if(typeof Reflect===_0x10a052(0x194)&&typeof Reflect[_0x10a052(0x196)]===_0x10a052(0x1b6))return Reflect[_0x10a052(0x196)](_0x1e5c76,_0x458c7e);};Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports['EventService']=void 0x0;const collect_js_1=require(a4_0x5dc416(0x1ad)),decorator_1=require(a4_0x5dc416(0x193)),interface_1=require(a4_0x5dc416(0x18d));let EventService=class EventService{constructor(){this['init']=![];}async[a4_0x5dc416(0x18b)](_0xf0f519){const _0x388dbd=a4_0x5dc416;if(!this[_0x388dbd(0x1a6)]){this[_0x388dbd(0x1a6)]=!![],this[_0x388dbd(0x1a1)]={};for(const _0x77583f of(0x0,decorator_1[_0x388dbd(0x1a5)])(interface_1[_0x388dbd(0x1b4)])||[]){const _0x24e619=await this['app'][_0x388dbd(0x1a9)]()[_0x388dbd(0x1ae)](_0x77583f);for(const _0x40ad00 of(0x0,decorator_1[_0x388dbd(0x195)])(interface_1['EVENT_ON_KEY'],_0x77583f)||[]){typeof(_0x24e619[_0x40ad00[_0x388dbd(0x192)]]=='function')&&(!this[_0x388dbd(0x1a1)][_0x40ad00['name']]&&(this['listevent'][_0x40ad00[_0x388dbd(0x1b2)]]=[]),this[_0x388dbd(0x1a1)][_0x40ad00[_0x388dbd(0x1b2)]]['push']({'priority':_0x40ad00[_0x388dbd(0x199)],'resolve':_0x24e619[_0x40ad00[_0x388dbd(0x192)]][_0x388dbd(0x19e)](_0x24e619),'propertyKey':_0x77583f[_0x388dbd(0x1b2)]+'@'+_0x40ad00[_0x388dbd(0x192)]}));}}for(const _0x369ebb in this[_0x388dbd(0x1a1)]){this[_0x388dbd(0x1a1)][_0x369ebb]=(0x0,collect_js_1[_0x388dbd(0x19c)])(this[_0x388dbd(0x1a1)][_0x369ebb])[_0x388dbd(0x19d)](_0x388dbd(0x199))['all']();}}return _0xf0f519?this[_0x388dbd(0x1a1)][_0xf0f519]||[]:this[_0x388dbd(0x1a1)];}async['emit'](_0x471741,..._0x199c77){const _0x13493a=a4_0x5dc416;var _0x51e953,_0xd58f6d;await this['getListevent']();for(let _0x6c8587 in(_0x51e953=this['listevent'])===null||_0x51e953===void 0x0?void 0x0:_0x51e953[_0x471741]){const _0x255063=(_0xd58f6d=this['listevent'][_0x471741])===null||_0xd58f6d===void 0x0?void 0x0:_0xd58f6d[_0x6c8587];(_0x255063===null||_0x255063===void 0x0?void 0x0:_0x255063[_0x13493a(0x18f)])&&typeof(_0x255063===null||_0x255063===void 0x0?void 0x0:_0x255063['resolve'])==_0x13493a(0x1b6)&&await _0x255063['resolve'](..._0x199c77);}}async[a4_0x5dc416(0x1b5)](_0x415a7a,..._0x536e11){const _0x3729da=a4_0x5dc416;return await this[_0x3729da(0x18b)](),await this[_0x3729da(0x18e)](_0x415a7a,..._0x536e11),this[_0x3729da(0x1b0)](_0x415a7a);}async[a4_0x5dc416(0x1b0)](_0x5c8d44){const _0xfd9858=a4_0x5dc416;return await this[_0xfd9858(0x18b)](),this[_0xfd9858(0x1a1)][_0x5c8d44]&&delete this['listevent'][_0x5c8d44],!!this[_0xfd9858(0x1a1)][_0x5c8d44];}};function a4_0x536e(){const _0x2ee270=['name','app','EVENT_KEY','once','function','getOwnPropertyDescriptor','9564NlOmJh','getListevent','15896EAhpQd','../interface','emit','resolve','App','362816TFVwSI','propertyKey','@midwayjs/decorator','object','getClassMetadata','metadata','design:type','Scope','priority','2230zjQbCI','Provide','default','sortByDesc','bind','9216PBxYiR','10rNHfQg','listevent','28HwUmHG','169217SnFdGp','22KFzwOd','listModule','init','__metadata','337866TomjAs','getApplicationContext','22kAtEoD','1611756EnGDKI','EventService','collect.js','getAsync','length','off','event'];a4_0x536e=function(){return _0x2ee270;};return a4_0x536e();}__decorate([(0x0,decorator_1[a4_0x5dc416(0x190)])(),__metadata(a4_0x5dc416(0x197),Object)],EventService['prototype'],a4_0x5dc416(0x1b3),void 0x0),EventService=__decorate([(0x0,decorator_1[a4_0x5dc416(0x19b)])(a4_0x5dc416(0x1b1)),(0x0,decorator_1[a4_0x5dc416(0x198)])(decorator_1['ScopeEnum']['Singleton'])],EventService),exports[a4_0x5dc416(0x1ac)]=EventService;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anncic-api/event",
3
- "version": "1.0.10",
3
+ "version": "1.0.13",
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": "5431e27314d7b1ccb7a77d6e9b63a570aeb725b5"
24
+ "gitHead": "c1ca9794b90a2dbe65a2f311e47780fcda32a795"
25
25
  }