@anncic-api/event 1.0.7 → 1.0.10

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_0x43d957=a0_0x5aa4;(function(_0x4c3d57,_0x5dd2f7){var _0x1b05db=a0_0x5aa4,_0x34543c=_0x4c3d57();while(!![]){try{var _0x17dcc7=parseInt(_0x1b05db(0x1e7))/0x1*(-parseInt(_0x1b05db(0x1fd))/0x2)+parseInt(_0x1b05db(0x1ef))/0x3*(parseInt(_0x1b05db(0x1e6))/0x4)+parseInt(_0x1b05db(0x1f0))/0x5+-parseInt(_0x1b05db(0x1ed))/0x6+-parseInt(_0x1b05db(0x1ec))/0x7*(-parseInt(_0x1b05db(0x1f3))/0x8)+parseInt(_0x1b05db(0x202))/0x9+-parseInt(_0x1b05db(0x203))/0xa*(-parseInt(_0x1b05db(0x1e9))/0xb);if(_0x17dcc7===_0x5dd2f7)break;else _0x34543c['push'](_0x34543c['shift']());}catch(_0x2fb1ed){_0x34543c['push'](_0x34543c['shift']());}}}(a0_0x1a4e,0x1a6e3));var __decorate=this&&this[a0_0x43d957(0x1f1)]||function(_0x1c1426,_0x450dbb,_0x3e314b,_0x1652d9){var _0x9896e8=a0_0x43d957,_0x506cb0=arguments[_0x9896e8(0x1eb)],_0x157804=_0x506cb0<0x3?_0x450dbb:_0x1652d9===null?_0x1652d9=Object['getOwnPropertyDescriptor'](_0x450dbb,_0x3e314b):_0x1652d9,_0x3e6313;if(typeof Reflect===_0x9896e8(0x1f4)&&typeof Reflect[_0x9896e8(0x1f6)]===_0x9896e8(0x1e8))_0x157804=Reflect[_0x9896e8(0x1f6)](_0x1c1426,_0x450dbb,_0x3e314b,_0x1652d9);else{for(var _0x1c0120=_0x1c1426[_0x9896e8(0x1eb)]-0x1;_0x1c0120>=0x0;_0x1c0120--)if(_0x3e6313=_0x1c1426[_0x1c0120])_0x157804=(_0x506cb0<0x3?_0x3e6313(_0x157804):_0x506cb0>0x3?_0x3e6313(_0x450dbb,_0x3e314b,_0x157804):_0x3e6313(_0x450dbb,_0x3e314b))||_0x157804;}return _0x506cb0>0x3&&_0x157804&&Object[_0x9896e8(0x1fb)](_0x450dbb,_0x3e314b,_0x157804),_0x157804;},__metadata=this&&this['__metadata']||function(_0x5950ed,_0x7a5dd8){var _0x2b2410=a0_0x43d957;if(typeof Reflect==='object'&&typeof Reflect[_0x2b2410(0x1ea)]==='function')return Reflect[_0x2b2410(0x1ea)](_0x5950ed,_0x7a5dd8);};Object['defineProperty'](exports,a0_0x43d957(0x201),{'value':!![]}),exports[a0_0x43d957(0x1fa)]=void 0x0;const decorator_1=require('@midwayjs/decorator'),core_1=require(a0_0x43d957(0x1f2));function a0_0x5aa4(_0x327876,_0x574752){var _0x1a4ed4=a0_0x1a4e();return a0_0x5aa4=function(_0x5aa4fb,_0x2e7922){_0x5aa4fb=_0x5aa4fb-0x1e6;var _0xbb5d1f=_0x1a4ed4[_0x5aa4fb];return _0xbb5d1f;},a0_0x5aa4(_0x327876,_0x574752);}let CustomConfiguration=class CustomConfiguration{async['onReady'](){}};__decorate([(0x0,decorator_1[a0_0x43d957(0x1f9)])(),__metadata(a0_0x43d957(0x1f8),core_1[a0_0x43d957(0x1f7)])],CustomConfiguration[a0_0x43d957(0x1f5)],a0_0x43d957(0x1ee),void 0x0),__decorate([(0x0,decorator_1['Inject'])(),__metadata('design:type',core_1[a0_0x43d957(0x200)])],CustomConfiguration[a0_0x43d957(0x1f5)],a0_0x43d957(0x1ff),void 0x0),CustomConfiguration=__decorate([(0x0,decorator_1[a0_0x43d957(0x1fc)])({'conflictCheck':![],'namespace':a0_0x43d957(0x1fe)})],CustomConfiguration),exports[a0_0x43d957(0x1fa)]=CustomConfiguration;function a0_0x1a4e(){var _0x5cd360=['136580Bmahxx','__decorate','@midwayjs/core','4368oqdCwa','object','prototype','decorate','MidwayConfigService','design:type','Inject','CustomConfiguration','defineProperty','Configuration','10wstcFv','anncic-api:event','decorator','MidwayDecoratorService','__esModule','541611ASYqKl','491220dLWRlO','12184mybeXz','33723KKKbdl','function','11vmElpZ','metadata','length','1659BEvmed','501426rYztJx','config','93gHthke'];a0_0x1a4e=function(){return _0x5cd360;};return a0_0x1a4e();}
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 +1 @@
1
- 'use strict';const a1_0x141d3e=a1_0x4473;function a1_0x4473(_0x8d3402,_0xf0e4fd){const _0x4f7901=a1_0x4f79();return a1_0x4473=function(_0x447301,_0x508616){_0x447301=_0x447301-0x8c;let _0x48bd6c=_0x4f7901[_0x447301];return _0x48bd6c;},a1_0x4473(_0x8d3402,_0xf0e4fd);}function a1_0x4f79(){const _0x3c4181=['../interface','defineProperty','9ytkgnH','Scope','attachClassMetadata','Event','234580XBPVmC','__esModule','285385ndJftu','8BJmEGx','2406450TIbhLj','Provide','259147XxFdfj','2833182SclyqT','saveModule','ScopeEnum','EVENT_KEY','4ihyDEe','EVENT_ON_KEY','@midwayjs/decorator','4369250DNaLGh','19077839DMAbic','4tnmbiZ'];a1_0x4f79=function(){return _0x3c4181;};return a1_0x4f79();}(function(_0x3e5852,_0x58ec6f){const _0x5ce0ca=a1_0x4473,_0x27f0dc=_0x3e5852();while(!![]){try{const _0xde757d=-parseInt(_0x5ce0ca(0xa0))/0x1*(-parseInt(_0x5ce0ca(0x95))/0x2)+parseInt(_0x5ce0ca(0x9c))/0x3+parseInt(_0x5ce0ca(0x8e))/0x4*(-parseInt(_0x5ce0ca(0x97))/0x5)+parseInt(_0x5ce0ca(0x99))/0x6+-parseInt(_0x5ce0ca(0x9b))/0x7*(-parseInt(_0x5ce0ca(0x98))/0x8)+parseInt(_0x5ce0ca(0x91))/0x9*(parseInt(_0x5ce0ca(0x8c))/0xa)+-parseInt(_0x5ce0ca(0x8d))/0xb;if(_0xde757d===_0x58ec6f)break;else _0x27f0dc['push'](_0x27f0dc['shift']());}catch(_0x215927){_0x27f0dc['push'](_0x27f0dc['shift']());}}}(a1_0x4f79,0x795fd));Object[a1_0x141d3e(0x90)](exports,a1_0x141d3e(0x96),{'value':!![]}),exports[a1_0x141d3e(0x94)]=void 0x0;const decorator_1=require(a1_0x141d3e(0xa2)),interface_1=require(a1_0x141d3e(0x8f));function Event(){return _0x5294ad=>{const _0x8d994d=a1_0x4473;(0x0,decorator_1[_0x8d994d(0x9a)])()(_0x5294ad),(0x0,decorator_1[_0x8d994d(0x9d)])(interface_1[_0x8d994d(0x9f)],_0x5294ad),(0x0,decorator_1[_0x8d994d(0x92)])(decorator_1[_0x8d994d(0x9e)]['Request'],{'allowDowngrade':!![]})(_0x5294ad);};}exports['Event']=Event,Event['On']=function(_0x19addd,_0x38e350=0x0){return(_0x461cab,_0x4a402b,_0x59ffa8)=>{const _0x26dbd8=a1_0x4473;return(0x0,decorator_1[_0x26dbd8(0x93)])(interface_1[_0x26dbd8(0xa1)],{'name':_0x19addd,'priority':_0x38e350,'propertyKey':_0x4a402b,'descriptor':_0x59ffa8},_0x461cab),_0x59ffa8;};};
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;};};
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';var a2_0x8afcbc=a2_0x5cd4;function a2_0x5796(){var _0x1ff7b9=['EventService','./service/EventService','./decorator/Event','75zLnWzQ','1181346MOVilJ','CustomConfiguration','3493kpsWOR','./configuration','291196lxgikY','933610ZXnoJi','55898960yIfdLA','Configuration','1832XyYzWF','__esModule','52533mpZRWi','Event','18318NswJwd','7781635ZDMOtG','defineProperty'];a2_0x5796=function(){return _0x1ff7b9;};return a2_0x5796();}(function(_0x4f5262,_0xc6e62f){var _0xfa7679=a2_0x5cd4,_0x30210a=_0x4f5262();while(!![]){try{var _0x4c1e40=parseInt(_0xfa7679(0xa4))/0x1+-parseInt(_0xfa7679(0x9f))/0x2+parseInt(_0xfa7679(0x9e))/0x3*(parseInt(_0xfa7679(0xa3))/0x4)+parseInt(_0xfa7679(0x99))/0x5+-parseInt(_0xfa7679(0x98))/0x6*(-parseInt(_0xfa7679(0xa1))/0x7)+parseInt(_0xfa7679(0xa7))/0x8*(parseInt(_0xfa7679(0xa9))/0x9)+-parseInt(_0xfa7679(0xa5))/0xa;if(_0x4c1e40===_0xc6e62f)break;else _0x30210a['push'](_0x30210a['shift']());}catch(_0x21cf18){_0x30210a['push'](_0x30210a['shift']());}}}(a2_0x5796,0xf1917));function a2_0x5cd4(_0x856612,_0x275ee3){var _0x5796d9=a2_0x5796();return a2_0x5cd4=function(_0x5cd4a6,_0x30aeea){_0x5cd4a6=_0x5cd4a6-0x98;var _0x5df957=_0x5796d9[_0x5cd4a6];return _0x5df957;},a2_0x5cd4(_0x856612,_0x275ee3);}Object[a2_0x8afcbc(0x9a)](exports,a2_0x8afcbc(0xa8),{'value':!![]}),exports['Configuration']=exports['EventService']=exports['Event']=void 0x0;var Event_1=require(a2_0x8afcbc(0x9d));Object[a2_0x8afcbc(0x9a)](exports,a2_0x8afcbc(0xaa),{'enumerable':!![],'get':function(){var _0x1e78df=a2_0x8afcbc;return Event_1[_0x1e78df(0xaa)];}});var EventService_1=require(a2_0x8afcbc(0x9c));Object['defineProperty'](exports,a2_0x8afcbc(0x9b),{'enumerable':!![],'get':function(){var _0x4b9de6=a2_0x8afcbc;return EventService_1[_0x4b9de6(0x9b)];}});var configuration_1=require(a2_0x8afcbc(0xa2));Object[a2_0x8afcbc(0x9a)](exports,a2_0x8afcbc(0xa6),{'enumerable':!![],'get':function(){var _0x24cbdd=a2_0x8afcbc;return configuration_1[_0x24cbdd(0xa0)];}});
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)];}});
package/dist/interface.js CHANGED
@@ -1 +1 @@
1
- 'use strict';var a3_0x595a7e=a3_0x150a;function a3_0x52d8(){var _0x4428da=['EVENT_ON_KEY','1449CRaiHo','2715ddJBna','456444hTRndD','anncic-api:event','8724qyWxXg','734NxKHNT','2475dMsCaw','3955770ZaTmPy','__esModule','419322bPpUrM','EVENT_KEY','11GCpfaO','defineProperty','7880OaFbfo','5442390oioHKh'];a3_0x52d8=function(){return _0x4428da;};return a3_0x52d8();}function a3_0x150a(_0x4061b3,_0x99d8be){var _0x52d8d0=a3_0x52d8();return a3_0x150a=function(_0x150a78,_0x1058b7){_0x150a78=_0x150a78-0x79;var _0x16bf62=_0x52d8d0[_0x150a78];return _0x16bf62;},a3_0x150a(_0x4061b3,_0x99d8be);}(function(_0x2d5471,_0x5c2856){var _0x8c82bf=a3_0x150a,_0x5d23f3=_0x2d5471();while(!![]){try{var _0x5ce2b9=-parseInt(_0x8c82bf(0x80))/0x1+parseInt(_0x8c82bf(0x7c))/0x2*(parseInt(_0x8c82bf(0x7d))/0x3)+-parseInt(_0x8c82bf(0x79))/0x4+parseInt(_0x8c82bf(0x88))/0x5*(parseInt(_0x8c82bf(0x7b))/0x6)+parseInt(_0x8c82bf(0x7e))/0x7+-parseInt(_0x8c82bf(0x84))/0x8*(parseInt(_0x8c82bf(0x87))/0x9)+-parseInt(_0x8c82bf(0x85))/0xa*(parseInt(_0x8c82bf(0x82))/0xb);if(_0x5ce2b9===_0x5c2856)break;else _0x5d23f3['push'](_0x5d23f3['shift']());}catch(_0x52d2f4){_0x5d23f3['push'](_0x5d23f3['shift']());}}}(a3_0x52d8,0x66d1e));Object[a3_0x595a7e(0x83)](exports,a3_0x595a7e(0x7f),{'value':!![]}),exports[a3_0x595a7e(0x86)]=exports['EVENT_KEY']=void 0x0,exports[a3_0x595a7e(0x81)]=a3_0x595a7e(0x7a),exports[a3_0x595a7e(0x86)]='anncic-api:event:on';
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 +1 @@
1
- 'use strict';function a4_0x51f6(){const _0x52fe83=['prototype','122272QmZYRa','function','EVENT_KEY','metadata','30InWbKE','app','name','Scope','156308LxLsRS','collect.js','default','__esModule','all','listevent','267WSUiuw','defineProperty','EventService','listModule','Provide','getAsync','priority','getClassMetadata','@midwayjs/decorator','2526HgqWnv','798831xvIdxv','design:type','1225488mMPlVb','getOwnPropertyDescriptor','984946SKqPAG','__metadata','63fvHGHS','18068ErFUTU','sortByDesc','object','push','Singleton','App','44YRWkrt','init','EVENT_ON_KEY','emit','length','getListevent','decorate','propertyKey','getApplicationContext','235vJgBwb','__decorate'];a4_0x51f6=function(){return _0x52fe83;};return a4_0x51f6();}const a4_0x47bf71=a4_0x3d6a;function a4_0x3d6a(_0x3f9c54,_0x3aaa3a){const _0x51f618=a4_0x51f6();return a4_0x3d6a=function(_0x3d6a43,_0x19495d){_0x3d6a43=_0x3d6a43-0x140;let _0x3f06b2=_0x51f618[_0x3d6a43];return _0x3f06b2;},a4_0x3d6a(_0x3f9c54,_0x3aaa3a);}(function(_0x3ef607,_0x545c7c){const _0x89f456=a4_0x3d6a,_0x3fd3d0=_0x3ef607();while(!![]){try{const _0x5c2c31=parseInt(_0x89f456(0x141))/0x1+parseInt(_0x89f456(0x155))/0x2+-parseInt(_0x89f456(0x147))/0x3*(parseInt(_0x89f456(0x158))/0x4)+-parseInt(_0x89f456(0x167))/0x5*(-parseInt(_0x89f456(0x150))/0x6)+-parseInt(_0x89f456(0x157))/0x7*(-parseInt(_0x89f456(0x16a))/0x8)+-parseInt(_0x89f456(0x151))/0x9*(-parseInt(_0x89f456(0x16e))/0xa)+parseInt(_0x89f456(0x15e))/0xb*(-parseInt(_0x89f456(0x153))/0xc);if(_0x5c2c31===_0x545c7c)break;else _0x3fd3d0['push'](_0x3fd3d0['shift']());}catch(_0x305162){_0x3fd3d0['push'](_0x3fd3d0['shift']());}}}(a4_0x51f6,0x3ff04));var __decorate=this&&this[a4_0x47bf71(0x168)]||function(_0x237eba,_0x225e5a,_0x2d6366,_0x35582b){const _0x31a8bc=a4_0x47bf71;var _0x3b6beb=arguments[_0x31a8bc(0x162)],_0x45acbb=_0x3b6beb<0x3?_0x225e5a:_0x35582b===null?_0x35582b=Object[_0x31a8bc(0x154)](_0x225e5a,_0x2d6366):_0x35582b,_0x4f046c;if(typeof Reflect==='object'&&typeof Reflect[_0x31a8bc(0x164)]===_0x31a8bc(0x16b))_0x45acbb=Reflect['decorate'](_0x237eba,_0x225e5a,_0x2d6366,_0x35582b);else{for(var _0x5efe9b=_0x237eba['length']-0x1;_0x5efe9b>=0x0;_0x5efe9b--)if(_0x4f046c=_0x237eba[_0x5efe9b])_0x45acbb=(_0x3b6beb<0x3?_0x4f046c(_0x45acbb):_0x3b6beb>0x3?_0x4f046c(_0x225e5a,_0x2d6366,_0x45acbb):_0x4f046c(_0x225e5a,_0x2d6366))||_0x45acbb;}return _0x3b6beb>0x3&&_0x45acbb&&Object[_0x31a8bc(0x148)](_0x225e5a,_0x2d6366,_0x45acbb),_0x45acbb;},__metadata=this&&this[a4_0x47bf71(0x156)]||function(_0x263ece,_0x392b97){const _0x4b9f55=a4_0x47bf71;if(typeof Reflect===_0x4b9f55(0x15a)&&typeof Reflect[_0x4b9f55(0x16d)]===_0x4b9f55(0x16b))return Reflect['metadata'](_0x263ece,_0x392b97);};Object[a4_0x47bf71(0x148)](exports,a4_0x47bf71(0x144),{'value':!![]}),exports[a4_0x47bf71(0x149)]=void 0x0;const collect_js_1=require(a4_0x47bf71(0x142)),decorator_1=require(a4_0x47bf71(0x14f)),interface_1=require('../interface');let EventService=class EventService{constructor(){const _0xa81b0c=a4_0x47bf71;this[_0xa81b0c(0x15f)]=![];}async[a4_0x47bf71(0x163)](_0x421e29){const _0xd6d1f7=a4_0x47bf71;if(!this[_0xd6d1f7(0x15f)]){this[_0xd6d1f7(0x15f)]=!![],this[_0xd6d1f7(0x146)]={};for(const _0x3e1262 of(0x0,decorator_1[_0xd6d1f7(0x14a)])(interface_1[_0xd6d1f7(0x16c)])||[]){const _0x300894=await this['app'][_0xd6d1f7(0x166)]()[_0xd6d1f7(0x14c)](_0x3e1262);for(const _0x203635 of(0x0,decorator_1[_0xd6d1f7(0x14e)])(interface_1[_0xd6d1f7(0x160)],_0x3e1262)||[]){typeof(_0x300894[_0x203635[_0xd6d1f7(0x165)]]==_0xd6d1f7(0x16b))&&(!this['listevent'][_0x203635[_0xd6d1f7(0x170)]]&&(this[_0xd6d1f7(0x146)][_0x203635['name']]=[]),this[_0xd6d1f7(0x146)][_0x203635[_0xd6d1f7(0x170)]][_0xd6d1f7(0x15b)]({'priority':_0x203635[_0xd6d1f7(0x14d)],'resolve':_0x300894[_0x203635[_0xd6d1f7(0x165)]]['bind'](_0x300894),'propertyKey':_0x3e1262[_0xd6d1f7(0x170)]+'@'+_0x203635[_0xd6d1f7(0x165)]}));}}for(const _0x1f8c2a in this['listevent']){this[_0xd6d1f7(0x146)][_0x1f8c2a]=(0x0,collect_js_1[_0xd6d1f7(0x143)])(this[_0xd6d1f7(0x146)][_0x1f8c2a])[_0xd6d1f7(0x159)](_0xd6d1f7(0x14d))[_0xd6d1f7(0x145)]();}}return _0x421e29?this[_0xd6d1f7(0x146)][_0x421e29]||[]:this[_0xd6d1f7(0x146)];}async['emit'](_0x18b84e,..._0xf86116){const _0x16159f=a4_0x47bf71;var _0x129905,_0x73cb5d;await this[_0x16159f(0x163)]();for(let _0x29fc11 in(_0x129905=this[_0x16159f(0x146)])===null||_0x129905===void 0x0?void 0x0:_0x129905[_0x18b84e]){const _0xb6037a=(_0x73cb5d=this[_0x16159f(0x146)][_0x18b84e])===null||_0x73cb5d===void 0x0?void 0x0:_0x73cb5d[_0x29fc11];(_0xb6037a===null||_0xb6037a===void 0x0?void 0x0:_0xb6037a['resolve'])&&typeof(_0xb6037a===null||_0xb6037a===void 0x0?void 0x0:_0xb6037a['resolve'])==_0x16159f(0x16b)&&await _0xb6037a['resolve'](..._0xf86116);}}async['once'](_0x2a4818,..._0x31eae2){const _0x263683=a4_0x47bf71;return await this[_0x263683(0x163)](),await this[_0x263683(0x161)](_0x2a4818,..._0x31eae2),this['off'](_0x2a4818);}async['off'](_0x4720b1){const _0x5a0693=a4_0x47bf71;return await this[_0x5a0693(0x163)](),this[_0x5a0693(0x146)][_0x4720b1]&&delete this['listevent'][_0x4720b1],!!this[_0x5a0693(0x146)][_0x4720b1];}};__decorate([(0x0,decorator_1[a4_0x47bf71(0x15d)])(),__metadata(a4_0x47bf71(0x152),Object)],EventService[a4_0x47bf71(0x169)],a4_0x47bf71(0x16f),void 0x0),EventService=__decorate([(0x0,decorator_1[a4_0x47bf71(0x14b)])('event'),(0x0,decorator_1[a4_0x47bf71(0x140)])(decorator_1['ScopeEnum'][a4_0x47bf71(0x15c)])],EventService),exports[a4_0x47bf71(0x149)]=EventService;
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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anncic-api/event",
3
- "version": "1.0.7",
3
+ "version": "1.0.10",
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": "94067d15fe6fb78a90ab5fcdaf30d73802ca757d"
24
+ "gitHead": "5431e27314d7b1ccb7a77d6e9b63a570aeb725b5"
25
25
  }