@anncic-api/event 1.0.27 → 1.0.28
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.
- package/dist/configuration.js +1 -1
- package/dist/decorator/Event.js +1 -1
- package/dist/index.js +1 -1
- package/dist/interface.js +1 -1
- package/dist/service/EventService.js +1 -1
- package/package.json +2 -2
package/dist/configuration.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var a0_0x49e5b7=a0_0x2cba;(function(_0x10e6d7,_0x4b84e7){var _0x47574d=a0_0x2cba,_0x337219=_0x10e6d7();while(!![]){try{var _0x47fd19=-parseInt(_0x47574d(0x177))/0x1*(-parseInt(_0x47574d(0x18f))/0x2)+-parseInt(_0x47574d(0x17e))/0x3*(parseInt(_0x47574d(0x181))/0x4)+parseInt(_0x47574d(0x192))/0x5*(parseInt(_0x47574d(0x18b))/0x6)+-parseInt(_0x47574d(0x187))/0x7+parseInt(_0x47574d(0x179))/0x8*(-parseInt(_0x47574d(0x17a))/0x9)+-parseInt(_0x47574d(0x191))/0xa*(-parseInt(_0x47574d(0x183))/0xb)+-parseInt(_0x47574d(0x182))/0xc;if(_0x47fd19===_0x4b84e7)break;else _0x337219['push'](_0x337219['shift']());}catch(_0x2f0d29){_0x337219['push'](_0x337219['shift']());}}}(a0_0x2769,0x7e4fc));function a0_0x2cba(_0x628cc2,_0x1bc681){var _0x2769a5=a0_0x2769();return a0_0x2cba=function(_0x2cbafc,_0x5639a8){_0x2cbafc=_0x2cbafc-0x175;var _0x120f51=_0x2769a5[_0x2cbafc];return _0x120f51;},a0_0x2cba(_0x628cc2,_0x1bc681);}var __decorate=this&&this[a0_0x49e5b7(0x184)]||function(_0xbb4209,_0x45f84,_0x30bd65,_0x3f9023){var _0x35be47=a0_0x49e5b7,_0x46493e=arguments['length'],_0x4e1492=_0x46493e<0x3?_0x45f84:_0x3f9023===null?_0x3f9023=Object[_0x35be47(0x17f)](_0x45f84,_0x30bd65):_0x3f9023,_0x5da56c;if(typeof Reflect===_0x35be47(0x17d)&&typeof Reflect[_0x35be47(0x178)]===_0x35be47(0x175))_0x4e1492=Reflect['decorate'](_0xbb4209,_0x45f84,_0x30bd65,_0x3f9023);else{for(var _0x58428a=_0xbb4209['length']-0x1;_0x58428a>=0x0;_0x58428a--)if(_0x5da56c=_0xbb4209[_0x58428a])_0x4e1492=(_0x46493e<0x3?_0x5da56c(_0x4e1492):_0x46493e>0x3?_0x5da56c(_0x45f84,_0x30bd65,_0x4e1492):_0x5da56c(_0x45f84,_0x30bd65))||_0x4e1492;}return _0x46493e>0x3&&_0x4e1492&&Object[_0x35be47(0x180)](_0x45f84,_0x30bd65,_0x4e1492),_0x4e1492;},__metadata=this&&this[a0_0x49e5b7(0x188)]||function(_0xbf4288,_0x3068d0){var _0x55108b=a0_0x49e5b7;if(typeof Reflect==='object'&&typeof Reflect[_0x55108b(0x18c)]===_0x55108b(0x175))return Reflect[_0x55108b(0x18c)](_0xbf4288,_0x3068d0);};function a0_0x2769(){var _0x3e78e3=['500116EjYXkH','1019232ueMpHZ','3403081PsAqLn','__decorate','MidwayDecoratorService','decorator','487543LxiriX','__metadata','@midwayjs/decorator','CustomConfiguration','30YDRLhj','metadata','prototype','onReady','12ZFGOvi','anncic-api:event','10CTUFtV','391370cKSdKh','function','Configuration','99810Eolsvj','decorate','16xudwRN','573876fUhYKC','design:type','Inject','object','12DvszDq','getOwnPropertyDescriptor','defineProperty'];a0_0x2769=function(){return _0x3e78e3;};return a0_0x2769();}Object[a0_0x49e5b7(0x180)](exports,'__esModule',{'value':!![]}),exports[a0_0x49e5b7(0x18a)]=void 0x0;const decorator_1=require(a0_0x49e5b7(0x189)),core_1=require('@midwayjs/core');let CustomConfiguration=class CustomConfiguration{async[a0_0x49e5b7(0x18e)](){}};__decorate([(0x0,decorator_1[a0_0x49e5b7(0x17c)])(),__metadata(a0_0x49e5b7(0x17b),core_1['MidwayConfigService'])],CustomConfiguration[a0_0x49e5b7(0x18d)],'config',void 0x0),__decorate([(0x0,decorator_1[a0_0x49e5b7(0x17c)])(),__metadata(a0_0x49e5b7(0x17b),core_1[a0_0x49e5b7(0x185)])],CustomConfiguration['prototype'],a0_0x49e5b7(0x186),void 0x0),CustomConfiguration=__decorate([(0x0,decorator_1[a0_0x49e5b7(0x176)])({'conflictCheck':![],'namespace':a0_0x49e5b7(0x190)})],CustomConfiguration),exports[a0_0x49e5b7(0x18a)]=CustomConfiguration;
|
package/dist/decorator/Event.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';function a1_0xe334(){const _0x4125c3=['attachClassMetadata','9528FHyRhL','Event','../interface','ScopeEnum','2FiisSv','@midwayjs/decorator','9325wsygBM','2933dYIzSS','Scope','4498uGhZVg','137115oOpCIC','defineProperty','4992010lzCBbI','8qoGYwp','11cWbejH','7986MWPTLX','801001OjWUoM','12qDAJnP','saveModule','1684653Bfwcsw','EVENT_KEY','EVENT_ON_KEY'];a1_0xe334=function(){return _0x4125c3;};return a1_0xe334();}const a1_0xc36258=a1_0xe77e;function a1_0xe77e(_0x213602,_0x58f041){const _0xe334cc=a1_0xe334();return a1_0xe77e=function(_0xe77e43,_0x4ebc1d){_0xe77e43=_0xe77e43-0x101;let _0x51c480=_0xe334cc[_0xe77e43];return _0x51c480;},a1_0xe77e(_0x213602,_0x58f041);}(function(_0x5b0f3f,_0x4d895e){const _0x43ac10=a1_0xe77e,_0x249722=_0x5b0f3f();while(!![]){try{const _0x2ba987=parseInt(_0x43ac10(0x109))/0x1+parseInt(_0x43ac10(0x114))/0x2*(-parseInt(_0x43ac10(0x10c))/0x3)+-parseInt(_0x43ac10(0x10a))/0x4*(parseInt(_0x43ac10(0x116))/0x5)+parseInt(_0x43ac10(0x108))/0x6*(-parseInt(_0x43ac10(0x117))/0x7)+-parseInt(_0x43ac10(0x106))/0x8*(-parseInt(_0x43ac10(0x103))/0x9)+parseInt(_0x43ac10(0x105))/0xa*(parseInt(_0x43ac10(0x107))/0xb)+-parseInt(_0x43ac10(0x110))/0xc*(-parseInt(_0x43ac10(0x102))/0xd);if(_0x2ba987===_0x4d895e)break;else _0x249722['push'](_0x249722['shift']());}catch(_0x52fc73){_0x249722['push'](_0x249722['shift']());}}}(a1_0xe334,0x719ae));Object[a1_0xc36258(0x104)](exports,'__esModule',{'value':!![]}),exports[a1_0xc36258(0x111)]=void 0x0;const decorator_1=require(a1_0xc36258(0x115)),interface_1=require(a1_0xc36258(0x112));function Event(){return _0x1d0469=>{const _0xefb639=a1_0xe77e;(0x0,decorator_1['Provide'])()(_0x1d0469),(0x0,decorator_1[_0xefb639(0x10b)])(interface_1[_0xefb639(0x10d)],_0x1d0469),(0x0,decorator_1[_0xefb639(0x101)])(decorator_1[_0xefb639(0x113)]['Request'],{'allowDowngrade':!![]})(_0x1d0469);};}exports[a1_0xc36258(0x111)]=Event,Event['On']=function(_0x3e47b9,_0x13d261=0x0){return(_0xbfc81d,_0x57c923,_0x5f3b6c)=>{const _0x58e5d6=a1_0xe77e;return(0x0,decorator_1[_0x58e5d6(0x10f)])(interface_1[_0x58e5d6(0x10e)],{'name':_0x3e47b9,'priority':_0x13d261,'propertyKey':_0x57c923,'descriptor':_0x5f3b6c},_0xbfc81d),_0x5f3b6c;};};
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var a2_0x4896f2=a2_0x2bb0;(function(_0x58ef76,_0x4a4685){var _0x17e542=a2_0x2bb0,_0x4b9b8e=_0x58ef76();while(!![]){try{var _0x2fe8eb=-parseInt(_0x17e542(0x1d1))/0x1+parseInt(_0x17e542(0x1d3))/0x2+-parseInt(_0x17e542(0x1d5))/0x3+-parseInt(_0x17e542(0x1ce))/0x4+-parseInt(_0x17e542(0x1d2))/0x5*(-parseInt(_0x17e542(0x1d7))/0x6)+parseInt(_0x17e542(0x1da))/0x7*(parseInt(_0x17e542(0x1cb))/0x8)+parseInt(_0x17e542(0x1c9))/0x9*(-parseInt(_0x17e542(0x1cf))/0xa);if(_0x2fe8eb===_0x4a4685)break;else _0x4b9b8e['push'](_0x4b9b8e['shift']());}catch(_0x562ff5){_0x4b9b8e['push'](_0x4b9b8e['shift']());}}}(a2_0x2794,0xef7c3));Object[a2_0x4896f2(0x1ca)](exports,a2_0x4896f2(0x1d0),{'value':!![]}),exports[a2_0x4896f2(0x1d6)]=exports[a2_0x4896f2(0x1d9)]=exports[a2_0x4896f2(0x1d8)]=void 0x0;var Event_1=require(a2_0x4896f2(0x1cc));function a2_0x2794(){var _0x29e6f1=['2479169fdVAcp','4027770OLXaYN','defineProperty','24dVRnfI','./decorator/Event','./configuration','4684320sIdaTD','20NulEJv','__esModule','253220LMDSfW','125oCTVQv','2667432iWAhxy','./service/EventService','1665753tglwuq','Configuration','350238dCqzag','Event','EventService'];a2_0x2794=function(){return _0x29e6f1;};return a2_0x2794();}Object[a2_0x4896f2(0x1ca)](exports,'Event',{'enumerable':!![],'get':function(){var _0x574d0a=a2_0x4896f2;return Event_1[_0x574d0a(0x1d8)];}});var EventService_1=require(a2_0x4896f2(0x1d4));function a2_0x2bb0(_0x366fe9,_0x4764b8){var _0x2794d3=a2_0x2794();return a2_0x2bb0=function(_0x2bb077,_0x4b8a66){_0x2bb077=_0x2bb077-0x1c9;var _0x11451a=_0x2794d3[_0x2bb077];return _0x11451a;},a2_0x2bb0(_0x366fe9,_0x4764b8);}Object[a2_0x4896f2(0x1ca)](exports,'EventService',{'enumerable':!![],'get':function(){var _0x58ce72=a2_0x4896f2;return EventService_1[_0x58ce72(0x1d9)];}});var configuration_1=require(a2_0x4896f2(0x1cd));Object[a2_0x4896f2(0x1ca)](exports,a2_0x4896f2(0x1d6),{'enumerable':!![],'get':function(){return configuration_1['CustomConfiguration'];}});
|
package/dist/interface.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';function a3_0x464c(){var _0x295db7=['16fvFPwz','7599BjRjRp','2991548wdJEZU','EVENT_KEY','16237210aHnctj','162SuZMze','EVENT_ON_KEY','2742yLAcBp','196575EiZPxG','__esModule','4167716KqJSUU','2344032VCgakG','205vmdIxx'];a3_0x464c=function(){return _0x295db7;};return a3_0x464c();}var a3_0x234e38=a3_0x5a4b;(function(_0x14ca1d,_0x1ce95a){var _0x3003fa=a3_0x5a4b,_0x29631c=_0x14ca1d();while(!![]){try{var _0x43d476=-parseInt(_0x3003fa(0x15f))/0x1*(parseInt(_0x3003fa(0x163))/0x2)+parseInt(_0x3003fa(0x166))/0x3+-parseInt(_0x3003fa(0x160))/0x4+-parseInt(_0x3003fa(0x15d))/0x5*(parseInt(_0x3003fa(0x165))/0x6)+parseInt(_0x3003fa(0x168))/0x7+parseInt(_0x3003fa(0x15e))/0x8*(-parseInt(_0x3003fa(0x169))/0x9)+parseInt(_0x3003fa(0x162))/0xa;if(_0x43d476===_0x1ce95a)break;else _0x29631c['push'](_0x29631c['shift']());}catch(_0x5ed0bb){_0x29631c['push'](_0x29631c['shift']());}}}(a3_0x464c,0x5d29b));function a3_0x5a4b(_0x4af020,_0x51b814){var _0x464cda=a3_0x464c();return a3_0x5a4b=function(_0x5a4b8b,_0x50025d){_0x5a4b8b=_0x5a4b8b-0x15d;var _0x31e63e=_0x464cda[_0x5a4b8b];return _0x31e63e;},a3_0x5a4b(_0x4af020,_0x51b814);}Object['defineProperty'](exports,a3_0x234e38(0x167),{'value':!![]}),exports[a3_0x234e38(0x164)]=exports[a3_0x234e38(0x161)]=void 0x0,exports[a3_0x234e38(0x161)]='anncic-api:event',exports['EVENT_ON_KEY']='anncic-api:event:on';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';const a4_0xcbe41e=a4_0x2fa3;(function(_0x5be0e1,_0x45542b){const _0x4873af=a4_0x2fa3,_0x1017c6=_0x5be0e1();while(!![]){try{const _0x474b2f=parseInt(_0x4873af(0xe4))/0x1+parseInt(_0x4873af(0xc9))/0x2*(-parseInt(_0x4873af(0xc7))/0x3)+parseInt(_0x4873af(0xc8))/0x4+parseInt(_0x4873af(0xe2))/0x5*(parseInt(_0x4873af(0xea))/0x6)+parseInt(_0x4873af(0xd7))/0x7+parseInt(_0x4873af(0xeb))/0x8*(parseInt(_0x4873af(0xc0))/0x9)+-parseInt(_0x4873af(0xe0))/0xa*(parseInt(_0x4873af(0xee))/0xb);if(_0x474b2f===_0x45542b)break;else _0x1017c6['push'](_0x1017c6['shift']());}catch(_0xe1e89b){_0x1017c6['push'](_0x1017c6['shift']());}}}(a4_0x2530,0x4be00));var __decorate=this&&this[a4_0xcbe41e(0xe9)]||function(_0x418fb3,_0x470466,_0x4cf055,_0x42acbc){const _0x22d714=a4_0xcbe41e;var _0x1cdb4c=arguments[_0x22d714(0xed)],_0x5c3b6a=_0x1cdb4c<0x3?_0x470466:_0x42acbc===null?_0x42acbc=Object[_0x22d714(0xc4)](_0x470466,_0x4cf055):_0x42acbc,_0x106a4e;if(typeof Reflect==='object'&&typeof Reflect[_0x22d714(0xf0)]==='function')_0x5c3b6a=Reflect[_0x22d714(0xf0)](_0x418fb3,_0x470466,_0x4cf055,_0x42acbc);else{for(var _0x4d9290=_0x418fb3[_0x22d714(0xed)]-0x1;_0x4d9290>=0x0;_0x4d9290--)if(_0x106a4e=_0x418fb3[_0x4d9290])_0x5c3b6a=(_0x1cdb4c<0x3?_0x106a4e(_0x5c3b6a):_0x1cdb4c>0x3?_0x106a4e(_0x470466,_0x4cf055,_0x5c3b6a):_0x106a4e(_0x470466,_0x4cf055))||_0x5c3b6a;}return _0x1cdb4c>0x3&&_0x5c3b6a&&Object[_0x22d714(0xd6)](_0x470466,_0x4cf055,_0x5c3b6a),_0x5c3b6a;},__metadata=this&&this['__metadata']||function(_0x3ca700,_0x16fee4){const _0x318fc2=a4_0xcbe41e;if(typeof Reflect===_0x318fc2(0xd3)&&typeof Reflect[_0x318fc2(0xcf)]===_0x318fc2(0xe8))return Reflect[_0x318fc2(0xcf)](_0x3ca700,_0x16fee4);};function a4_0x2fa3(_0x26fce6,_0x53d938){const _0x2530e2=a4_0x2530();return a4_0x2fa3=function(_0x2fa32e,_0x1dfe41){_0x2fa32e=_0x2fa32e-0xbe;let _0x30cd4a=_0x2530e2[_0x2fa32e];return _0x30cd4a;},a4_0x2fa3(_0x26fce6,_0x53d938);}Object[a4_0xcbe41e(0xd6)](exports,a4_0xcbe41e(0xe1),{'value':!![]}),exports[a4_0xcbe41e(0xcb)]=void 0x0;const collect_js_1=require(a4_0xcbe41e(0xd4)),decorator_1=require(a4_0xcbe41e(0xd9)),interface_1=require('../interface');function a4_0x2530(){const _0x456954=['off','getListevent','event','EVENT_ON_KEY','default','667600yXKXue','__esModule','248040sbHkVE','priority','118017eRFglr','Provide','listevent','Scope','function','__decorate','72pBrMSB','128VAkpCi','design:type','length','253oRVhHh','getClassMetadata','decorate','name','prototype','308781yjNWLe','listModule','propertyKey','App','getOwnPropertyDescriptor','EVENT_KEY','sortByDesc','4566uAFKQt','2397592NmEXuI','238YcAnGq','app','EventService','bind','resolve','push','metadata','getApplicationContext','once','all','object','collect.js','ScopeEnum','defineProperty','1160089YOvhuN','emit','@midwayjs/decorator','init'];a4_0x2530=function(){return _0x456954;};return a4_0x2530();}let EventService=class EventService{constructor(){this['init']=![];}async[a4_0xcbe41e(0xdc)](_0x57d987){const _0x552bfd=a4_0xcbe41e;if(!this[_0x552bfd(0xda)]){this[_0x552bfd(0xda)]=!![],this[_0x552bfd(0xe6)]={};for(const _0x41ce65 of(0x0,decorator_1[_0x552bfd(0xc1)])(interface_1[_0x552bfd(0xc5)])||[]){const _0x18f9fb=await this[_0x552bfd(0xca)][_0x552bfd(0xd0)]()['getAsync'](_0x41ce65);for(const _0x4d6361 of(0x0,decorator_1[_0x552bfd(0xef)])(interface_1[_0x552bfd(0xde)],_0x41ce65)||[]){typeof(_0x18f9fb[_0x4d6361[_0x552bfd(0xc2)]]==_0x552bfd(0xe8))&&(!this[_0x552bfd(0xe6)][_0x4d6361['name']]&&(this[_0x552bfd(0xe6)][_0x4d6361[_0x552bfd(0xbe)]]=[]),this[_0x552bfd(0xe6)][_0x4d6361['name']][_0x552bfd(0xce)]({'priority':_0x4d6361[_0x552bfd(0xe3)],'resolve':_0x18f9fb[_0x4d6361[_0x552bfd(0xc2)]][_0x552bfd(0xcc)](_0x18f9fb),'propertyKey':_0x41ce65[_0x552bfd(0xbe)]+'@'+_0x4d6361[_0x552bfd(0xc2)]}));}}for(const _0x5769ba in this['listevent']){this[_0x552bfd(0xe6)][_0x5769ba]=(0x0,collect_js_1[_0x552bfd(0xdf)])(this[_0x552bfd(0xe6)][_0x5769ba])[_0x552bfd(0xc6)]('priority')[_0x552bfd(0xd2)]();}}return _0x57d987?this[_0x552bfd(0xe6)][_0x57d987]||[]:this[_0x552bfd(0xe6)];}async[a4_0xcbe41e(0xd8)](_0x2e271c,..._0x3ac428){const _0x2eb986=a4_0xcbe41e;var _0x27ffbf,_0xb96338;await this[_0x2eb986(0xdc)]();for(let _0x32c779 in(_0x27ffbf=this[_0x2eb986(0xe6)])===null||_0x27ffbf===void 0x0?void 0x0:_0x27ffbf[_0x2e271c]){const _0xf9334b=(_0xb96338=this[_0x2eb986(0xe6)][_0x2e271c])===null||_0xb96338===void 0x0?void 0x0:_0xb96338[_0x32c779];(_0xf9334b===null||_0xf9334b===void 0x0?void 0x0:_0xf9334b[_0x2eb986(0xcd)])&&typeof(_0xf9334b===null||_0xf9334b===void 0x0?void 0x0:_0xf9334b[_0x2eb986(0xcd)])=='function'&&await _0xf9334b[_0x2eb986(0xcd)](..._0x3ac428);}}async[a4_0xcbe41e(0xd1)](_0x588c6b,..._0x342095){const _0x498661=a4_0xcbe41e;return await this[_0x498661(0xdc)](),await this[_0x498661(0xd8)](_0x588c6b,..._0x342095),this[_0x498661(0xdb)](_0x588c6b);}async[a4_0xcbe41e(0xdb)](_0x2376ff){const _0x10ebf7=a4_0xcbe41e;return await this[_0x10ebf7(0xdc)](),this[_0x10ebf7(0xe6)][_0x2376ff]&&delete this[_0x10ebf7(0xe6)][_0x2376ff],!!this[_0x10ebf7(0xe6)][_0x2376ff];}};__decorate([(0x0,decorator_1[a4_0xcbe41e(0xc3)])(),__metadata(a4_0xcbe41e(0xec),Object)],EventService[a4_0xcbe41e(0xbf)],a4_0xcbe41e(0xca),void 0x0),EventService=__decorate([(0x0,decorator_1[a4_0xcbe41e(0xe5)])(a4_0xcbe41e(0xdd)),(0x0,decorator_1[a4_0xcbe41e(0xe7)])(decorator_1[a4_0xcbe41e(0xd5)]['Singleton'])],EventService),exports[a4_0xcbe41e(0xcb)]=EventService;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@anncic-api/event",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.28",
|
|
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": "
|
|
24
|
+
"gitHead": "ae25e8ac1ad4b580181631025cb51657969fb5e8"
|
|
25
25
|
}
|