@anncic-api/event 3.4.82 → 3.4.83
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
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
var a0_0x1d5404=a0_0x4440;(function(_0x10d936,_0x3b80ae){var _0x4b1fac=a0_0x4440,_0x5db840=_0x10d936();while(!![]){try{var _0x2bdd9a=parseInt(_0x4b1fac(0xef))/0x1+parseInt(_0x4b1fac(0xdb))/0x2+-parseInt(_0x4b1fac(0xe6))/0x3+parseInt(_0x4b1fac(0xe8))/0x4*(parseInt(_0x4b1fac(0xee))/0x5)+-parseInt(_0x4b1fac(0xd5))/0x6*(parseInt(_0x4b1fac(0xd6))/0x7)+parseInt(_0x4b1fac(0xd9))/0x8*(-parseInt(_0x4b1fac(0xdf))/0x9)+-parseInt(_0x4b1fac(0xd4))/0xa*(-parseInt(_0x4b1fac(0xda))/0xb);if(_0x2bdd9a===_0x3b80ae)break;else _0x5db840['push'](_0x5db840['shift']());}catch(_0x1b727f){_0x5db840['push'](_0x5db840['shift']());}}}(a0_0x5870,0x1ac4f));function a0_0x4440(_0x340d0e,_0x2e1a41){var _0x12fe80=a0_0x5870();return a0_0x4440=function(_0x414fbc,_0x41a9a5){_0x414fbc=_0x414fbc-0xce;var _0x58703e=_0x12fe80[_0x414fbc];return _0x58703e;},a0_0x4440(_0x340d0e,_0x2e1a41);}var a0_0x41a9a5=(function(){var _0x24aeb5=!![];return function(_0x42cd73,_0x54f4b6){var _0x18648b=_0x24aeb5?function(){var _0x406434=a0_0x4440;if(_0x54f4b6){var _0x5e68c4=_0x54f4b6[_0x406434(0xe3)](_0x42cd73,arguments);return _0x54f4b6=null,_0x5e68c4;}}:function(){};return _0x24aeb5=![],_0x18648b;};}()),a0_0x414fbc=a0_0x41a9a5(this,function(){var _0x396db0=a0_0x4440;return a0_0x414fbc[_0x396db0(0xd0)]()['search'](_0x396db0(0xe9))[_0x396db0(0xd0)]()[_0x396db0(0xd2)](a0_0x414fbc)[_0x396db0(0xeb)](_0x396db0(0xe9));});a0_0x414fbc();'use strict';var __decorate=this&&this['__decorate']||function(_0x124283,_0x47b0dd,_0x17d726,_0x3c582d){var _0x51259b=a0_0x4440,_0x24a5be=arguments['length'],_0x1268f5=_0x24a5be<0x3?_0x47b0dd:_0x3c582d===null?_0x3c582d=Object['getOwnPropertyDescriptor'](_0x47b0dd,_0x17d726):_0x3c582d,_0x3536c2;if(typeof Reflect===_0x51259b(0xea)&&typeof Reflect['decorate']===_0x51259b(0xed))_0x1268f5=Reflect[_0x51259b(0xd8)](_0x124283,_0x47b0dd,_0x17d726,_0x3c582d);else{for(var _0x4f7d44=_0x124283[_0x51259b(0xec)]-0x1;_0x4f7d44>=0x0;_0x4f7d44--)if(_0x3536c2=_0x124283[_0x4f7d44])_0x1268f5=(_0x24a5be<0x3?_0x3536c2(_0x1268f5):_0x24a5be>0x3?_0x3536c2(_0x47b0dd,_0x17d726,_0x1268f5):_0x3536c2(_0x47b0dd,_0x17d726))||_0x1268f5;}return _0x24a5be>0x3&&_0x1268f5&&Object[_0x51259b(0xdd)](_0x47b0dd,_0x17d726,_0x1268f5),_0x1268f5;},__metadata=this&&this[a0_0x1d5404(0xe5)]||function(_0x434437,_0x1c78a2){var _0x1ee13=a0_0x1d5404;if(typeof Reflect===_0x1ee13(0xea)&&typeof Reflect[_0x1ee13(0xcf)]===_0x1ee13(0xed))return Reflect['metadata'](_0x434437,_0x1c78a2);};Object[a0_0x1d5404(0xdd)](exports,'__esModule',{'value':!![]}),exports[a0_0x1d5404(0xd3)]=void 0x0;const core_1=require(a0_0x1d5404(0xd1)),core_2=require(a0_0x1d5404(0xd1));let CustomConfiguration=class CustomConfiguration{async[a0_0x1d5404(0xdc)](){}};exports[a0_0x1d5404(0xd3)]=CustomConfiguration,__decorate([(0x0,core_1[a0_0x1d5404(0xde)])(),__metadata('design:type',core_2[a0_0x1d5404(0xe1)])],CustomConfiguration[a0_0x1d5404(0xd7)],'config',void 0x0),__decorate([(0x0,core_1[a0_0x1d5404(0xde)])(),__metadata(a0_0x1d5404(0xe2),core_2[a0_0x1d5404(0xe7)])],CustomConfiguration[a0_0x1d5404(0xd7)],a0_0x1d5404(0xce),void 0x0),exports[a0_0x1d5404(0xd3)]=CustomConfiguration=__decorate([(0x0,core_1[a0_0x1d5404(0xe4)])({'conflictCheck':![],'namespace':a0_0x1d5404(0xe0)})],CustomConfiguration);function a0_0x5870(){var _0x44d6df=['113409zhZJoa','anncic-api:event','MidwayConfigService','design:type','apply','Configuration','__metadata','651393HEyCGY','MidwayDecoratorService','54060iYVFbd','(((.+)+)+)+$','object','search','length','function','5xZpYGB','179262mlVUbo','decorator','metadata','toString','@midwayjs/core','constructor','CustomConfiguration','8780SMruEx','30sfhXaT','240191cGyccR','prototype','decorate','72kXsVBm','4356PPCtwt','142574rQxwDN','onReady','defineProperty','Inject'];a0_0x5870=function(){return _0x44d6df;};return a0_0x5870();}
|
package/dist/decorator/Event.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a1_0x487367=a1_0x47aa;(function(_0x1571aa,_0x59fadc){const _0xe2011e=a1_0x47aa,_0x517c5a=_0x1571aa();while(!![]){try{const _0x103a94=parseInt(_0xe2011e(0xb1))/0x1+-parseInt(_0xe2011e(0xc0))/0x2*(parseInt(_0xe2011e(0xbc))/0x3)+-parseInt(_0xe2011e(0xb4))/0x4+parseInt(_0xe2011e(0xc4))/0x5*(-parseInt(_0xe2011e(0xb6))/0x6)+-parseInt(_0xe2011e(0xb2))/0x7+parseInt(_0xe2011e(0xc3))/0x8*(parseInt(_0xe2011e(0xb9))/0x9)+-parseInt(_0xe2011e(0xc5))/0xa*(-parseInt(_0xe2011e(0xae))/0xb);if(_0x103a94===_0x59fadc)break;else _0x517c5a['push'](_0x517c5a['shift']());}catch(_0x59ecb8){_0x517c5a['push'](_0x517c5a['shift']());}}}(a1_0x1d9f,0x97797));const a1_0x399e61=(function(){let _0x1ffce5=!![];return function(_0x131aa7,_0x54fcf4){const _0x4c4a04=_0x1ffce5?function(){if(_0x54fcf4){const _0x240ec7=_0x54fcf4['apply'](_0x131aa7,arguments);return _0x54fcf4=null,_0x240ec7;}}:function(){};return _0x1ffce5=![],_0x4c4a04;};}()),a1_0x5d83ec=a1_0x399e61(this,function(){const _0x8f5681=a1_0x47aa;return a1_0x5d83ec[_0x8f5681(0xb5)]()[_0x8f5681(0xb0)](_0x8f5681(0xbb))[_0x8f5681(0xb5)]()[_0x8f5681(0xba)](a1_0x5d83ec)[_0x8f5681(0xb0)](_0x8f5681(0xbb));});a1_0x5d83ec();function a1_0x47aa(_0x26f813,_0x53a6ff){const _0x4baf74=a1_0x1d9f();return a1_0x47aa=function(_0x5d83ec,_0x399e61){_0x5d83ec=_0x5d83ec-0xae;let _0x1d9fea=_0x4baf74[_0x5d83ec];return _0x1d9fea;},a1_0x47aa(_0x26f813,_0x53a6ff);}function a1_0x1d9f(){const _0x28b62f=['@midwayjs/core','EVENT_ON_KEY','1102446ptJfuP','constructor','(((.+)+)+)+$','690579dWsIMJ','__esModule','Request','EVENT_KEY','10JlwQMa','Event','ScopeEnum','16enhobi','20595YJGUGO','3811910hXqqOs','77SxpDfn','Scope','search','487873LSkCAX','557060rpQRpv','attachClassMetadata','2065380LXPxSZ','toString','1506TXYKMV'];a1_0x1d9f=function(){return _0x28b62f;};return a1_0x1d9f();}'use strict';Object['defineProperty'](exports,a1_0x487367(0xbd),{'value':!![]}),exports[a1_0x487367(0xc1)]=Event;const core_1=require(a1_0x487367(0xb7)),interface_1=require('../interface');function Event(){return _0x1c5106=>{const _0x3f8ca4=a1_0x47aa;(0x0,core_1['Provide'])()(_0x1c5106),(0x0,core_1['saveModule'])(interface_1[_0x3f8ca4(0xbf)],_0x1c5106),(0x0,core_1[_0x3f8ca4(0xaf)])(core_1[_0x3f8ca4(0xc2)][_0x3f8ca4(0xbe)],{'allowDowngrade':!![]})(_0x1c5106);};}Event['On']=function(_0x4ccebc,_0x1a0a1f=0x0,_0x7713aa=0x1f4){return(_0x2bc1ea,_0x72a557,_0x378647)=>{const _0x34a31a=a1_0x47aa;return(0x0,core_1[_0x34a31a(0xb3)])(interface_1[_0x34a31a(0xb8)],{'name':_0x4ccebc,'priority':_0x1a0a1f,'propertyKey':_0x72a557,'descriptor':_0x378647,'throttle':_0x7713aa},_0x2bc1ea),_0x378647;};};
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a2_0x49d2f4=a2_0x5b9c;(function(_0xc3a105,_0x2fda2f){var _0x59d2cf=a2_0x5b9c,_0x5d9018=_0xc3a105();while(!![]){try{var _0x27cf74=parseInt(_0x59d2cf(0xe2))/0x1*(-parseInt(_0x59d2cf(0xe4))/0x2)+parseInt(_0x59d2cf(0xe0))/0x3*(-parseInt(_0x59d2cf(0xf0))/0x4)+-parseInt(_0x59d2cf(0xf5))/0x5+parseInt(_0x59d2cf(0xde))/0x6*(parseInt(_0x59d2cf(0xeb))/0x7)+-parseInt(_0x59d2cf(0xed))/0x8+parseInt(_0x59d2cf(0xec))/0x9*(-parseInt(_0x59d2cf(0xe8))/0xa)+parseInt(_0x59d2cf(0xf3))/0xb*(parseInt(_0x59d2cf(0xe6))/0xc);if(_0x27cf74===_0x2fda2f)break;else _0x5d9018['push'](_0x5d9018['shift']());}catch(_0x53ac5b){_0x5d9018['push'](_0x5d9018['shift']());}}}(a2_0x2a62,0x98ff5));var a2_0x57fd9b=(function(){var _0xc87725=!![];return function(_0x5d993e,_0x2b1dc9){var _0x1549ad=_0xc87725?function(){if(_0x2b1dc9){var _0x2dbc9e=_0x2b1dc9['apply'](_0x5d993e,arguments);return _0x2b1dc9=null,_0x2dbc9e;}}:function(){};return _0xc87725=![],_0x1549ad;};}()),a2_0x2cc46d=a2_0x57fd9b(this,function(){var _0xc24d13=a2_0x5b9c;return a2_0x2cc46d[_0xc24d13(0xf4)]()[_0xc24d13(0xe3)](_0xc24d13(0xea))[_0xc24d13(0xf4)]()[_0xc24d13(0xf2)](a2_0x2cc46d)[_0xc24d13(0xe3)](_0xc24d13(0xea));});a2_0x2cc46d();'use strict';Object[a2_0x49d2f4(0xdf)](exports,a2_0x49d2f4(0xef),{'value':!![]}),exports[a2_0x49d2f4(0xe5)]=exports['EventService']=exports[a2_0x49d2f4(0xe7)]=void 0x0;var Event_1=require(a2_0x49d2f4(0xe1));Object[a2_0x49d2f4(0xdf)](exports,a2_0x49d2f4(0xe7),{'enumerable':!![],'get':function(){var _0x73b5f4=a2_0x49d2f4;return Event_1[_0x73b5f4(0xe7)];}});function a2_0x5b9c(_0x2718a0,_0x293155){var _0x5de6a7=a2_0x2a62();return a2_0x5b9c=function(_0x2cc46d,_0x57fd9b){_0x2cc46d=_0x2cc46d-0xde;var _0x2a62a1=_0x5de6a7[_0x2cc46d];return _0x2a62a1;},a2_0x5b9c(_0x2718a0,_0x293155);}var EventService_1=require(a2_0x49d2f4(0xee));Object['defineProperty'](exports,a2_0x49d2f4(0xf1),{'enumerable':!![],'get':function(){var _0xf59041=a2_0x49d2f4;return EventService_1[_0xf59041(0xf1)];}});function a2_0x2a62(){var _0xae100e=['12061874rVRFXc','toString','6235510gNeVPt','./configuration','717702mnaaPb','defineProperty','36849lVoikJ','./decorator/Event','1cPRPGU','search','2017286lCBwhg','Configuration','36tMgbrI','Event','2430EDKIgd','CustomConfiguration','(((.+)+)+)+$','70ENZhxc','11511OdfBjx','9849104vvljUC','./service/EventService','__esModule','20atAiMp','EventService','constructor'];a2_0x2a62=function(){return _0xae100e;};return a2_0x2a62();}var configuration_1=require(a2_0x49d2f4(0xf6));Object['defineProperty'](exports,'Configuration',{'enumerable':!![],'get':function(){var _0x11cb95=a2_0x49d2f4;return configuration_1[_0x11cb95(0xe9)];}});
|
package/dist/interface.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a3_0x4143c0=a3_0x4e8a;(function(_0x145d86,_0x5dc440){var _0x26f999=a3_0x4e8a,_0x6aac7d=_0x145d86();while(!![]){try{var _0xb359fb=-parseInt(_0x26f999(0xdc))/0x1*(-parseInt(_0x26f999(0xda))/0x2)+parseInt(_0x26f999(0xe4))/0x3+-parseInt(_0x26f999(0xdd))/0x4*(parseInt(_0x26f999(0xe8))/0x5)+parseInt(_0x26f999(0xed))/0x6+-parseInt(_0x26f999(0xe9))/0x7+-parseInt(_0x26f999(0xe6))/0x8*(-parseInt(_0x26f999(0xe0))/0x9)+parseInt(_0x26f999(0xe1))/0xa*(parseInt(_0x26f999(0xe3))/0xb);if(_0xb359fb===_0x5dc440)break;else _0x6aac7d['push'](_0x6aac7d['shift']());}catch(_0x4fa350){_0x6aac7d['push'](_0x6aac7d['shift']());}}}(a3_0x14eb,0x63305));function a3_0x4e8a(_0x14f6a2,_0x116007){var _0x1f9f91=a3_0x14eb();return a3_0x4e8a=function(_0x526050,_0xdf58a0){_0x526050=_0x526050-0xda;var _0x14eb88=_0x1f9f91[_0x526050];return _0x14eb88;},a3_0x4e8a(_0x14f6a2,_0x116007);}var a3_0xdf58a0=(function(){var _0x2be084=!![];return function(_0x26114e,_0x33d8be){var _0xdfe076=_0x2be084?function(){var _0x426ed6=a3_0x4e8a;if(_0x33d8be){var _0x526c98=_0x33d8be[_0x426ed6(0xea)](_0x26114e,arguments);return _0x33d8be=null,_0x526c98;}}:function(){};return _0x2be084=![],_0xdfe076;};}()),a3_0x526050=a3_0xdf58a0(this,function(){var _0x4e7a34=a3_0x4e8a;return a3_0x526050['toString']()[_0x4e7a34(0xdf)](_0x4e7a34(0xde))[_0x4e7a34(0xec)]()['constructor'](a3_0x526050)[_0x4e7a34(0xdf)](_0x4e7a34(0xde));});a3_0x526050();function a3_0x14eb(){var _0x2fb1ff=['2212425kvDdCg','anncic-api:event','270768BdPMQO','EVENT_ON_KEY','5rigrJW','5358885sdzWOa','apply','EVENT_KEY','toString','2180676HjgDWO','70CAhCiK','__esModule','9309SilLBz','2415372NhvqEk','(((.+)+)+)+$','search','18uMnUqr','11670yJhmnd','defineProperty','2651dALaLo'];a3_0x14eb=function(){return _0x2fb1ff;};return a3_0x14eb();}'use strict';Object[a3_0x4143c0(0xe2)](exports,a3_0x4143c0(0xdb),{'value':!![]}),exports[a3_0x4143c0(0xe7)]=exports[a3_0x4143c0(0xeb)]=void 0x0,exports[a3_0x4143c0(0xeb)]=a3_0x4143c0(0xe5),exports[a3_0x4143c0(0xe7)]='anncic-api:event:on';
|
|
@@ -5,18 +5,24 @@ export declare class EventService {
|
|
|
5
5
|
protected listevent: {
|
|
6
6
|
[key: string]: {
|
|
7
7
|
priority: number;
|
|
8
|
+
throttle: number;
|
|
8
9
|
resolve: Function;
|
|
9
10
|
propertyKey: string;
|
|
10
11
|
}[];
|
|
11
12
|
};
|
|
13
|
+
protected listevent_throttle: {
|
|
14
|
+
[key: string]: number;
|
|
15
|
+
};
|
|
12
16
|
getListevent(name?: string): Promise<{
|
|
13
17
|
[key: string]: {
|
|
14
18
|
priority: number;
|
|
19
|
+
throttle: number;
|
|
15
20
|
resolve: Function;
|
|
16
21
|
propertyKey: string;
|
|
17
22
|
}[];
|
|
18
23
|
} | {
|
|
19
24
|
priority: number;
|
|
25
|
+
throttle: number;
|
|
20
26
|
resolve: Function;
|
|
21
27
|
propertyKey: string;
|
|
22
28
|
}[]>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a4_0x4e1883=a4_0xd53b;function a4_0x1d6e(){const _0x387369=['getListevent','prototype','collect.js','Scope','toString','throttle','push','emit','5932550sCuXTg','getApplicationContext','@midwayjs/core','now','1370138PYAIfM','__decorate','App','init','EVENT_ON_KEY','34014wBkLHq','2853475mGorYX','apply','getAsync','listModule','../interface','51iacoBi','getOwnPropertyDescriptor','Singleton','metadata','default','app','18ZlXRrQ','getClassMetadata','(((.+)+)+)+$','EventService','constructor','propertyKey','resolve','sortByDesc','bind','EVENT_KEY','listevent_throttle','decorate','search','1179ebNyhH','once','name','6340BNhqxF','listevent','stringify','function','defineProperty','design:type','priority','all','object','off','Provide','7530856lnCfLl','length','6602304yyAzUn'];a4_0x1d6e=function(){return _0x387369;};return a4_0x1d6e();}(function(_0x51f327,_0x2a2cff){const _0x50397d=a4_0xd53b,_0x5657ef=_0x51f327();while(!![]){try{const _0x2c8de8=parseInt(_0x50397d(0x16e))/0x1*(parseInt(_0x50397d(0x168))/0x2)+parseInt(_0x50397d(0x146))/0x3*(parseInt(_0x50397d(0x149))/0x4)+parseInt(_0x50397d(0x169))/0x5+parseInt(_0x50397d(0x156))/0x6+-parseInt(_0x50397d(0x163))/0x7+-parseInt(_0x50397d(0x154))/0x8+-parseInt(_0x50397d(0x174))/0x9*(parseInt(_0x50397d(0x15f))/0xa);if(_0x2c8de8===_0x2a2cff)break;else _0x5657ef['push'](_0x5657ef['shift']());}catch(_0x3dfb3f){_0x5657ef['push'](_0x5657ef['shift']());}}}(a4_0x1d6e,0xcc86c));const a4_0x376527=(function(){let _0xbd858d=!![];return function(_0x3e0737,_0x1da126){const _0x2874e9=_0xbd858d?function(){const _0x473fb3=a4_0xd53b;if(_0x1da126){const _0xc0a805=_0x1da126[_0x473fb3(0x16a)](_0x3e0737,arguments);return _0x1da126=null,_0xc0a805;}}:function(){};return _0xbd858d=![],_0x2874e9;};}()),a4_0x2ab3cb=a4_0x376527(this,function(){const _0x4fa700=a4_0xd53b;return a4_0x2ab3cb[_0x4fa700(0x15b)]()[_0x4fa700(0x145)](_0x4fa700(0x176))[_0x4fa700(0x15b)]()[_0x4fa700(0x178)](a4_0x2ab3cb)[_0x4fa700(0x145)](_0x4fa700(0x176));});a4_0x2ab3cb();'use strict';var __decorate=this&&this[a4_0x4e1883(0x164)]||function(_0x18b0b5,_0x1f8f9b,_0xb39f70,_0x1f5f4a){const _0x14f762=a4_0x4e1883;var _0x323b85=arguments['length'],_0x38fa4e=_0x323b85<0x3?_0x1f8f9b:_0x1f5f4a===null?_0x1f5f4a=Object[_0x14f762(0x16f)](_0x1f8f9b,_0xb39f70):_0x1f5f4a,_0x280350;if(typeof Reflect==='object'&&typeof Reflect[_0x14f762(0x144)]===_0x14f762(0x14c))_0x38fa4e=Reflect['decorate'](_0x18b0b5,_0x1f8f9b,_0xb39f70,_0x1f5f4a);else{for(var _0x57c6e4=_0x18b0b5[_0x14f762(0x155)]-0x1;_0x57c6e4>=0x0;_0x57c6e4--)if(_0x280350=_0x18b0b5[_0x57c6e4])_0x38fa4e=(_0x323b85<0x3?_0x280350(_0x38fa4e):_0x323b85>0x3?_0x280350(_0x1f8f9b,_0xb39f70,_0x38fa4e):_0x280350(_0x1f8f9b,_0xb39f70))||_0x38fa4e;}return _0x323b85>0x3&&_0x38fa4e&&Object[_0x14f762(0x14d)](_0x1f8f9b,_0xb39f70,_0x38fa4e),_0x38fa4e;},__metadata=this&&this['__metadata']||function(_0x36ab3f,_0x4a584f){const _0x5184f9=a4_0x4e1883;if(typeof Reflect===_0x5184f9(0x151)&&typeof Reflect['metadata']==='function')return Reflect[_0x5184f9(0x171)](_0x36ab3f,_0x4a584f);};Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[a4_0x4e1883(0x177)]=void 0x0;function a4_0xd53b(_0x43d9c2,_0x7dbf6f){const _0x588896=a4_0x1d6e();return a4_0xd53b=function(_0x2ab3cb,_0x376527){_0x2ab3cb=_0x2ab3cb-0x142;let _0x1d6ebc=_0x588896[_0x2ab3cb];return _0x1d6ebc;},a4_0xd53b(_0x43d9c2,_0x7dbf6f);}const collect_js_1=require(a4_0x4e1883(0x159)),core_1=require(a4_0x4e1883(0x161)),interface_1=require(a4_0x4e1883(0x16d));let EventService=class EventService{constructor(){const _0x5ab7d5=a4_0x4e1883;this[_0x5ab7d5(0x166)]=![];}async[a4_0x4e1883(0x157)](_0x1c76c8){const _0x1b998f=a4_0x4e1883;if(!this['init']){this['init']=!![],this[_0x1b998f(0x14a)]={};for(const _0x18c90d of(0x0,core_1[_0x1b998f(0x16c)])(interface_1[_0x1b998f(0x142)])||[]){const _0x3f0d7c=await this[_0x1b998f(0x173)][_0x1b998f(0x160)]()[_0x1b998f(0x16b)](_0x18c90d);for(const _0xdbf6f8 of(0x0,core_1[_0x1b998f(0x175)])(interface_1[_0x1b998f(0x167)],_0x18c90d)||[]){typeof(_0x3f0d7c[_0xdbf6f8['propertyKey']]==_0x1b998f(0x14c))&&(!this[_0x1b998f(0x14a)][_0xdbf6f8[_0x1b998f(0x148)]]&&(this['listevent'][_0xdbf6f8[_0x1b998f(0x148)]]=[]),this[_0x1b998f(0x14a)][_0xdbf6f8[_0x1b998f(0x148)]][_0x1b998f(0x15d)]({'priority':(_0xdbf6f8===null||_0xdbf6f8===void 0x0?void 0x0:_0xdbf6f8[_0x1b998f(0x14f)])||0x0,'throttle':(_0xdbf6f8===null||_0xdbf6f8===void 0x0?void 0x0:_0xdbf6f8['throttle'])||0x1f4,'resolve':_0x3f0d7c[_0xdbf6f8['propertyKey']][_0x1b998f(0x17c)](_0x3f0d7c),'propertyKey':_0x18c90d[_0x1b998f(0x148)]+'@'+_0xdbf6f8[_0x1b998f(0x179)]}));}}for(const _0x48fbca in this[_0x1b998f(0x14a)]){this['listevent'][_0x48fbca]=(0x0,collect_js_1[_0x1b998f(0x172)])(this[_0x1b998f(0x14a)][_0x48fbca])[_0x1b998f(0x17b)](_0x1b998f(0x14f))[_0x1b998f(0x150)]();}}return _0x1c76c8?this[_0x1b998f(0x14a)][_0x1c76c8]||[]:this[_0x1b998f(0x14a)];}async[a4_0x4e1883(0x15e)](_0x3c2bec,..._0x3d686a){const _0x4bab8e=a4_0x4e1883;var _0x4a8642,_0x3b0005,_0x4c78fb,_0x54cebd,_0x308a33;const _0x203293=''+JSON[_0x4bab8e(0x14b)](_0x3d686a),_0x4eae00=Date[_0x4bab8e(0x162)]();await this[_0x4bab8e(0x157)]();for(let _0x531d7c in this[_0x4bab8e(0x143)]){this['listevent_throttle'][_0x531d7c]<_0x4eae00&&delete this[_0x4bab8e(0x143)][_0x531d7c];}for(let _0x26f187 in(_0x4a8642=this[_0x4bab8e(0x14a)])===null||_0x4a8642===void 0x0?void 0x0:_0x4a8642[_0x3c2bec]){if(((_0x3b0005=this[_0x4bab8e(0x14a)][_0x3c2bec])===null||_0x3b0005===void 0x0?void 0x0:_0x3b0005[_0x26f187])&&typeof((_0x54cebd=(_0x4c78fb=this[_0x4bab8e(0x14a)][_0x3c2bec])===null||_0x4c78fb===void 0x0?void 0x0:_0x4c78fb[_0x26f187])===null||_0x54cebd===void 0x0?void 0x0:_0x54cebd[_0x4bab8e(0x17a)])=='function'){const _0x5738b6=_0x3c2bec+'_'+_0x26f187+'@'+_0x203293;(!this[_0x4bab8e(0x143)]||this[_0x4bab8e(0x143)][_0x5738b6]<_0x4eae00)&&(this[_0x4bab8e(0x143)][_0x5738b6]=_0x4eae00+(((_0x308a33=this[_0x4bab8e(0x14a)][_0x3c2bec][_0x26f187])===null||_0x308a33===void 0x0?void 0x0:_0x308a33[_0x4bab8e(0x15c)])||0x1f4),await this['listevent'][_0x3c2bec][_0x26f187][_0x4bab8e(0x17a)](..._0x3d686a));}}}async[a4_0x4e1883(0x147)](_0x57820f,..._0x114a85){const _0x5ab266=a4_0x4e1883;return await this[_0x5ab266(0x157)](),await this[_0x5ab266(0x15e)](_0x57820f,..._0x114a85),this[_0x5ab266(0x152)](_0x57820f);}async[a4_0x4e1883(0x152)](_0x4d488b){const _0x4d0e5b=a4_0x4e1883;return await this['getListevent'](),this[_0x4d0e5b(0x14a)][_0x4d488b]&&delete this[_0x4d0e5b(0x14a)][_0x4d488b],!!this[_0x4d0e5b(0x14a)][_0x4d488b];}};exports[a4_0x4e1883(0x177)]=EventService,__decorate([(0x0,core_1[a4_0x4e1883(0x165)])(),__metadata(a4_0x4e1883(0x14e),Object)],EventService[a4_0x4e1883(0x158)],a4_0x4e1883(0x173),void 0x0),exports[a4_0x4e1883(0x177)]=EventService=__decorate([(0x0,core_1[a4_0x4e1883(0x153)])('event'),(0x0,core_1[a4_0x4e1883(0x15a)])(core_1['ScopeEnum'][a4_0x4e1883(0x170)])],EventService);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@anncic-api/event",
|
|
3
|
-
"version": "3.4.
|
|
3
|
+
"version": "3.4.83",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"files": [
|
|
@@ -21,5 +21,5 @@
|
|
|
21
21
|
"javascript-obfuscator": "^4.0.2",
|
|
22
22
|
"typescript": "^5.5.4"
|
|
23
23
|
},
|
|
24
|
-
"gitHead": "
|
|
24
|
+
"gitHead": "cc719751e8cc837de31b52bbf3de8a3cbb4d3410"
|
|
25
25
|
}
|