@anncic-api/event 3.4.82 → 3.4.84

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
- function a0_0x3feb(_0xb5fb82,_0x24733e){var _0x27630=a0_0x5324();return a0_0x3feb=function(_0xebab98,_0x52b54a){_0xebab98=_0xebab98-0xa9;var _0x532489=_0x27630[_0xebab98];return _0x532489;},a0_0x3feb(_0xb5fb82,_0x24733e);}function a0_0x5324(){var _0x5de23a=['1124228ZycrTe','8scAxsg','prototype','object','__esModule','3ifxhMg','Configuration','252356SZOSfV','metadata','getOwnPropertyDescriptor','__decorate','14869269mqcUmA','MidwayConfigService','CustomConfiguration','decorator','apply','Inject','toString','1115210HWQWpo','845226RFnbIJ','decorate','search','defineProperty','config','onReady','design:type','@midwayjs/core','20836fYDQpf','length','1973310oDkNqZ','function','(((.+)+)+)+$'];a0_0x5324=function(){return _0x5de23a;};return a0_0x5324();}var a0_0x49c857=a0_0x3feb;(function(_0x54b279,_0x8b96c5){var _0x319bf8=a0_0x3feb,_0x7b8cce=_0x54b279();while(!![]){try{var _0x33b0a1=-parseInt(_0x319bf8(0xb8))/0x1+-parseInt(_0x319bf8(0xaf))/0x2+-parseInt(_0x319bf8(0xc2))/0x3*(parseInt(_0x319bf8(0xc4))/0x4)+-parseInt(_0x319bf8(0xba))/0x5+-parseInt(_0x319bf8(0xb0))/0x6+parseInt(_0x319bf8(0xbd))/0x7*(-parseInt(_0x319bf8(0xbe))/0x8)+parseInt(_0x319bf8(0xc8))/0x9;if(_0x33b0a1===_0x8b96c5)break;else _0x7b8cce['push'](_0x7b8cce['shift']());}catch(_0x5edc11){_0x7b8cce['push'](_0x7b8cce['shift']());}}}(a0_0x5324,0x4cc6a));var a0_0x52b54a=(function(){var _0x14f30b=!![];return function(_0x128de9,_0x44f2e5){var _0x43088d=_0x14f30b?function(){var _0x3ad905=a0_0x3feb;if(_0x44f2e5){var _0x5efc5a=_0x44f2e5[_0x3ad905(0xac)](_0x128de9,arguments);return _0x44f2e5=null,_0x5efc5a;}}:function(){};return _0x14f30b=![],_0x43088d;};}()),a0_0xebab98=a0_0x52b54a(this,function(){var _0x25eed3=a0_0x3feb;return a0_0xebab98['toString']()[_0x25eed3(0xb2)](_0x25eed3(0xbc))[_0x25eed3(0xae)]()['constructor'](a0_0xebab98)[_0x25eed3(0xb2)](_0x25eed3(0xbc));});a0_0xebab98();'use strict';var __decorate=this&&this[a0_0x49c857(0xc7)]||function(_0x26f211,_0x35f1cf,_0x3959c0,_0x368bb6){var _0x488214=a0_0x49c857,_0x119224=arguments[_0x488214(0xb9)],_0x31f4e5=_0x119224<0x3?_0x35f1cf:_0x368bb6===null?_0x368bb6=Object[_0x488214(0xc6)](_0x35f1cf,_0x3959c0):_0x368bb6,_0x2203e4;if(typeof Reflect===_0x488214(0xc0)&&typeof Reflect['decorate']===_0x488214(0xbb))_0x31f4e5=Reflect[_0x488214(0xb1)](_0x26f211,_0x35f1cf,_0x3959c0,_0x368bb6);else{for(var _0x31ed68=_0x26f211[_0x488214(0xb9)]-0x1;_0x31ed68>=0x0;_0x31ed68--)if(_0x2203e4=_0x26f211[_0x31ed68])_0x31f4e5=(_0x119224<0x3?_0x2203e4(_0x31f4e5):_0x119224>0x3?_0x2203e4(_0x35f1cf,_0x3959c0,_0x31f4e5):_0x2203e4(_0x35f1cf,_0x3959c0))||_0x31f4e5;}return _0x119224>0x3&&_0x31f4e5&&Object[_0x488214(0xb3)](_0x35f1cf,_0x3959c0,_0x31f4e5),_0x31f4e5;},__metadata=this&&this['__metadata']||function(_0x4ad849,_0x3d5fb9){var _0x3df563=a0_0x49c857;if(typeof Reflect===_0x3df563(0xc0)&&typeof Reflect[_0x3df563(0xc5)]===_0x3df563(0xbb))return Reflect[_0x3df563(0xc5)](_0x4ad849,_0x3d5fb9);};Object[a0_0x49c857(0xb3)](exports,a0_0x49c857(0xc1),{'value':!![]}),exports[a0_0x49c857(0xaa)]=void 0x0;const core_1=require(a0_0x49c857(0xb7)),core_2=require(a0_0x49c857(0xb7));let CustomConfiguration=class CustomConfiguration{async[a0_0x49c857(0xb5)](){}};exports['CustomConfiguration']=CustomConfiguration,__decorate([(0x0,core_1['Inject'])(),__metadata('design:type',core_2[a0_0x49c857(0xa9)])],CustomConfiguration['prototype'],a0_0x49c857(0xb4),void 0x0),__decorate([(0x0,core_1[a0_0x49c857(0xad)])(),__metadata(a0_0x49c857(0xb6),core_2['MidwayDecoratorService'])],CustomConfiguration[a0_0x49c857(0xbf)],a0_0x49c857(0xab),void 0x0),exports['CustomConfiguration']=CustomConfiguration=__decorate([(0x0,core_1[a0_0x49c857(0xc3)])({'conflictCheck':![],'namespace':'anncic-api:event'})],CustomConfiguration);
1
+ var a0_0x13fb08=a0_0x4bc6;function a0_0x3124(){var _0x53ea9a=['12AAvaxa','16455PkkHik','8614265EotMXk','anncic-api:event','@midwayjs/core','5392610HVkcJL','(((.+)+)+)+$','10605582kSdYva','design:type','24YcqkMh','Inject','object','constructor','defineProperty','toString','MidwayDecoratorService','2vFRSZX','MidwayConfigService','56UQaJWU','51702QejXRO','prototype','__metadata','search','apply','onReady','getOwnPropertyDescriptor','CustomConfiguration','metadata','95umxdhS','531100ITnvlV','function','length','693LdGovp','decorator','37704dLyDJi','decorate','config','Configuration','18XtEbma'];a0_0x3124=function(){return _0x53ea9a;};return a0_0x3124();}(function(_0x4c4216,_0x971689){var _0x10a417=a0_0x4bc6,_0x261aa1=_0x4c4216();while(!![]){try{var _0x27875e=-parseInt(_0x10a417(0x95))/0x1*(parseInt(_0x10a417(0xa2))/0x2)+-parseInt(_0x10a417(0xad))/0x3*(-parseInt(_0x10a417(0x8e))/0x4)+-parseInt(_0x10a417(0xa1))/0x5*(-parseInt(_0x10a417(0x98))/0x6)+-parseInt(_0x10a417(0xa5))/0x7*(parseInt(_0x10a417(0xa7))/0x8)+parseInt(_0x10a417(0xab))/0x9*(-parseInt(_0x10a417(0xb1))/0xa)+-parseInt(_0x10a417(0xae))/0xb*(parseInt(_0x10a417(0xac))/0xc)+-parseInt(_0x10a417(0xb3))/0xd*(-parseInt(_0x10a417(0x97))/0xe);if(_0x27875e===_0x971689)break;else _0x261aa1['push'](_0x261aa1['shift']());}catch(_0x2d699c){_0x261aa1['push'](_0x261aa1['shift']());}}}(a0_0x3124,0x929f5));var a0_0x15ceef=(function(){var _0x15d440=!![];return function(_0x375d9f,_0x3d8005){var _0x9b0947=_0x15d440?function(){var _0x112a81=a0_0x4bc6;if(_0x3d8005){var _0x3b14b8=_0x3d8005[_0x112a81(0x9c)](_0x375d9f,arguments);return _0x3d8005=null,_0x3b14b8;}}:function(){};return _0x15d440=![],_0x9b0947;};}()),a0_0x3a0969=a0_0x15ceef(this,function(){var _0x374dba=a0_0x4bc6;return a0_0x3a0969[_0x374dba(0x93)]()[_0x374dba(0x9b)](_0x374dba(0xb2))[_0x374dba(0x93)]()[_0x374dba(0x91)](a0_0x3a0969)[_0x374dba(0x9b)](_0x374dba(0xb2));});a0_0x3a0969();'use strict';var __decorate=this&&this['__decorate']||function(_0x5878eb,_0x537b53,_0x494363,_0x3a2aa3){var _0x5f3232=a0_0x4bc6,_0x4856f1=arguments[_0x5f3232(0xa4)],_0x4efce6=_0x4856f1<0x3?_0x537b53:_0x3a2aa3===null?_0x3a2aa3=Object[_0x5f3232(0x9e)](_0x537b53,_0x494363):_0x3a2aa3,_0x51a582;if(typeof Reflect===_0x5f3232(0x90)&&typeof Reflect[_0x5f3232(0xa8)]===_0x5f3232(0xa3))_0x4efce6=Reflect[_0x5f3232(0xa8)](_0x5878eb,_0x537b53,_0x494363,_0x3a2aa3);else{for(var _0x50fb77=_0x5878eb['length']-0x1;_0x50fb77>=0x0;_0x50fb77--)if(_0x51a582=_0x5878eb[_0x50fb77])_0x4efce6=(_0x4856f1<0x3?_0x51a582(_0x4efce6):_0x4856f1>0x3?_0x51a582(_0x537b53,_0x494363,_0x4efce6):_0x51a582(_0x537b53,_0x494363))||_0x4efce6;}return _0x4856f1>0x3&&_0x4efce6&&Object[_0x5f3232(0x92)](_0x537b53,_0x494363,_0x4efce6),_0x4efce6;},__metadata=this&&this[a0_0x13fb08(0x9a)]||function(_0x5f2f89,_0x3f647e){var _0x313ab1=a0_0x13fb08;if(typeof Reflect===_0x313ab1(0x90)&&typeof Reflect[_0x313ab1(0xa0)]===_0x313ab1(0xa3))return Reflect['metadata'](_0x5f2f89,_0x3f647e);};Object[a0_0x13fb08(0x92)](exports,'__esModule',{'value':!![]}),exports['CustomConfiguration']=void 0x0;const core_1=require(a0_0x13fb08(0xb0)),core_2=require('@midwayjs/core');function a0_0x4bc6(_0xb40d48,_0x161f70){var _0x37745f=a0_0x3124();return a0_0x4bc6=function(_0x3a0969,_0x15ceef){_0x3a0969=_0x3a0969-0x8d;var _0x312402=_0x37745f[_0x3a0969];return _0x312402;},a0_0x4bc6(_0xb40d48,_0x161f70);}let CustomConfiguration=class CustomConfiguration{async[a0_0x13fb08(0x9d)](){}};exports[a0_0x13fb08(0x9f)]=CustomConfiguration,__decorate([(0x0,core_1[a0_0x13fb08(0x8f)])(),__metadata(a0_0x13fb08(0x8d),core_2[a0_0x13fb08(0x96)])],CustomConfiguration[a0_0x13fb08(0x99)],a0_0x13fb08(0xa9),void 0x0),__decorate([(0x0,core_1['Inject'])(),__metadata(a0_0x13fb08(0x8d),core_2[a0_0x13fb08(0x94)])],CustomConfiguration['prototype'],a0_0x13fb08(0xa6),void 0x0),exports['CustomConfiguration']=CustomConfiguration=__decorate([(0x0,core_1[a0_0x13fb08(0xaa)])({'conflictCheck':![],'namespace':a0_0x13fb08(0xaf)})],CustomConfiguration);
@@ -1,4 +1,4 @@
1
1
  export declare function Event(): ClassDecorator;
2
2
  export declare namespace Event {
3
- var On: (name: string, priority?: number) => MethodDecorator;
3
+ var On: (name: string, priority?: number, throttle?: number) => MethodDecorator;
4
4
  }
@@ -1 +1 @@
1
- function a1_0x45a5(){const _0x227a75=['search','200937NeFfGe','784waRctQ','Scope','Provide','54SYvgEy','toString','4OhmLDL','EVENT_ON_KEY','21812340WDegoM','constructor','52165bkOCHU','@midwayjs/core','Request','../interface','3413152vStBTu','159804PtwYhO','12014156qXtPPp','ScopeEnum','attachClassMetadata','(((.+)+)+)+$','1079022JRXHue'];a1_0x45a5=function(){return _0x227a75;};return a1_0x45a5();}const a1_0x30b035=a1_0x20d8;(function(_0x4cb726,_0x4c2f94){const _0x290f0f=a1_0x20d8,_0x3f28c1=_0x4cb726();while(!![]){try{const _0x5a4140=parseInt(_0x290f0f(0x18d))/0x1+-parseInt(_0x290f0f(0x195))/0x2*(-parseInt(_0x290f0f(0x18f))/0x3)+parseInt(_0x290f0f(0x187))/0x4+parseInt(_0x290f0f(0x199))/0x5*(parseInt(_0x290f0f(0x193))/0x6)+-parseInt(_0x290f0f(0x189))/0x7+-parseInt(_0x290f0f(0x190))/0x8*(parseInt(_0x290f0f(0x188))/0x9)+parseInt(_0x290f0f(0x197))/0xa;if(_0x5a4140===_0x4c2f94)break;else _0x3f28c1['push'](_0x3f28c1['shift']());}catch(_0x2cb6cd){_0x3f28c1['push'](_0x3f28c1['shift']());}}}(a1_0x45a5,0xd810b));const a1_0xe7f42=(function(){let _0xf21464=!![];return function(_0x9f7102,_0x51947e){const _0x546cc2=_0xf21464?function(){if(_0x51947e){const _0x35588c=_0x51947e['apply'](_0x9f7102,arguments);return _0x51947e=null,_0x35588c;}}:function(){};return _0xf21464=![],_0x546cc2;};}()),a1_0x34198f=a1_0xe7f42(this,function(){const _0x1ec2a9=a1_0x20d8;return a1_0x34198f[_0x1ec2a9(0x194)]()['search'](_0x1ec2a9(0x18c))[_0x1ec2a9(0x194)]()[_0x1ec2a9(0x198)](a1_0x34198f)[_0x1ec2a9(0x18e)](_0x1ec2a9(0x18c));});a1_0x34198f();'use strict';function a1_0x20d8(_0x11ab7a,_0x17a973){const _0x4c7bc2=a1_0x45a5();return a1_0x20d8=function(_0x34198f,_0xe7f42){_0x34198f=_0x34198f-0x184;let _0x45a52e=_0x4c7bc2[_0x34198f];return _0x45a52e;},a1_0x20d8(_0x11ab7a,_0x17a973);}Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports['Event']=Event;const core_1=require(a1_0x30b035(0x184)),interface_1=require(a1_0x30b035(0x186));function Event(){return _0x31237b=>{const _0x31f7f4=a1_0x20d8;(0x0,core_1[_0x31f7f4(0x192)])()(_0x31237b),(0x0,core_1['saveModule'])(interface_1['EVENT_KEY'],_0x31237b),(0x0,core_1[_0x31f7f4(0x191)])(core_1[_0x31f7f4(0x18a)][_0x31f7f4(0x185)],{'allowDowngrade':!![]})(_0x31237b);};}Event['On']=function(_0x16e5a2,_0x5f01c2=0x0){return(_0x18f5f2,_0xb60943,_0x906d95)=>{const _0x56863d=a1_0x20d8;return(0x0,core_1[_0x56863d(0x18b)])(interface_1[_0x56863d(0x196)],{'name':_0x16e5a2,'priority':_0x5f01c2,'propertyKey':_0xb60943,'descriptor':_0x906d95},_0x18f5f2),_0x906d95;};};
1
+ function a1_0x4372(){const _0x1787b7=['1810977JMSSSG','Request','Scope','Provide','search','10820fUIdrU','7388280UaWvPg','toString','579fjhMES','apply','saveModule','EVENT_ON_KEY','@midwayjs/core','14441312wwWuPP','575092bnSEnF','6763778yzOXEa','(((.+)+)+)+$','attachClassMetadata','3455052IXrXJJ','__esModule'];a1_0x4372=function(){return _0x1787b7;};return a1_0x4372();}const a1_0x2d7931=a1_0x59da;(function(_0x88931f,_0x47dd6a){const _0x5b0021=a1_0x59da,_0x328747=_0x88931f();while(!![]){try{const _0x264012=parseInt(_0x5b0021(0xd7))/0x1+-parseInt(_0x5b0021(0xdc))/0x2*(parseInt(_0x5b0021(0xdf))/0x3)+parseInt(_0x5b0021(0xe5))/0x4+parseInt(_0x5b0021(0xdd))/0x5+-parseInt(_0x5b0021(0xd5))/0x6+parseInt(_0x5b0021(0xe6))/0x7+-parseInt(_0x5b0021(0xe4))/0x8;if(_0x264012===_0x47dd6a)break;else _0x328747['push'](_0x328747['shift']());}catch(_0x3992ed){_0x328747['push'](_0x328747['shift']());}}}(a1_0x4372,0xedad4));const a1_0x1f13ec=(function(){let _0x50d06e=!![];return function(_0x1b732c,_0x2be3cd){const _0x293524=_0x50d06e?function(){const _0x54c406=a1_0x59da;if(_0x2be3cd){const _0x1598cc=_0x2be3cd[_0x54c406(0xe0)](_0x1b732c,arguments);return _0x2be3cd=null,_0x1598cc;}}:function(){};return _0x50d06e=![],_0x293524;};}()),a1_0x72d3ef=a1_0x1f13ec(this,function(){const _0x1afe81=a1_0x59da;return a1_0x72d3ef[_0x1afe81(0xde)]()['search'](_0x1afe81(0xd3))['toString']()['constructor'](a1_0x72d3ef)[_0x1afe81(0xdb)]('(((.+)+)+)+$');});a1_0x72d3ef();'use strict';Object['defineProperty'](exports,a1_0x2d7931(0xd6),{'value':!![]}),exports['Event']=Event;const core_1=require(a1_0x2d7931(0xe3)),interface_1=require('../interface');function Event(){return _0x44402e=>{const _0x735fc8=a1_0x59da;(0x0,core_1[_0x735fc8(0xda)])()(_0x44402e),(0x0,core_1[_0x735fc8(0xe1)])(interface_1['EVENT_KEY'],_0x44402e),(0x0,core_1[_0x735fc8(0xd9)])(core_1['ScopeEnum'][_0x735fc8(0xd8)],{'allowDowngrade':!![]})(_0x44402e);};}function a1_0x59da(_0x2848ec,_0x5a97c1){const _0x1c7468=a1_0x4372();return a1_0x59da=function(_0x72d3ef,_0x1f13ec){_0x72d3ef=_0x72d3ef-0xd3;let _0x437251=_0x1c7468[_0x72d3ef];return _0x437251;},a1_0x59da(_0x2848ec,_0x5a97c1);}Event['On']=function(_0x443d2c,_0x170eba=0x0,_0x5460af=0x1f4){return(_0x4a3344,_0x48d327,_0x458a4f)=>{const _0x2f6877=a1_0x59da;return(0x0,core_1[_0x2f6877(0xd4)])(interface_1[_0x2f6877(0xe2)],{'name':_0x443d2c,'priority':_0x170eba,'propertyKey':_0x48d327,'descriptor':_0x458a4f,'throttle':_0x5460af},_0x4a3344),_0x458a4f;};};
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- var a2_0x43274d=a2_0x53a6;(function(_0x409892,_0x4be0f2){var _0x2d7c14=a2_0x53a6,_0x3a5554=_0x409892();while(!![]){try{var _0x8fff4d=parseInt(_0x2d7c14(0xd0))/0x1+-parseInt(_0x2d7c14(0xcd))/0x2*(parseInt(_0x2d7c14(0xce))/0x3)+-parseInt(_0x2d7c14(0xcc))/0x4*(parseInt(_0x2d7c14(0xdc))/0x5)+parseInt(_0x2d7c14(0xcb))/0x6+-parseInt(_0x2d7c14(0xd7))/0x7+-parseInt(_0x2d7c14(0xdd))/0x8*(-parseInt(_0x2d7c14(0xcf))/0x9)+parseInt(_0x2d7c14(0xd8))/0xa*(parseInt(_0x2d7c14(0xdb))/0xb);if(_0x8fff4d===_0x4be0f2)break;else _0x3a5554['push'](_0x3a5554['shift']());}catch(_0x19218c){_0x3a5554['push'](_0x3a5554['shift']());}}}(a2_0x2b09,0x4e0a4));var a2_0x1a7a74=(function(){var _0x37b961=!![];return function(_0x55da52,_0x564484){var _0xff2495=_0x37b961?function(){if(_0x564484){var _0xc35f8b=_0x564484['apply'](_0x55da52,arguments);return _0x564484=null,_0xc35f8b;}}:function(){};return _0x37b961=![],_0xff2495;};}()),a2_0x45899d=a2_0x1a7a74(this,function(){var _0x4f4d39=a2_0x53a6;return a2_0x45899d[_0x4f4d39(0xd2)]()['search'](_0x4f4d39(0xd1))[_0x4f4d39(0xd2)]()['constructor'](a2_0x45899d)[_0x4f4d39(0xc7)](_0x4f4d39(0xd1));});a2_0x45899d();'use strict';Object['defineProperty'](exports,a2_0x43274d(0xc9),{'value':!![]}),exports[a2_0x43274d(0xc8)]=exports[a2_0x43274d(0xd3)]=exports['Event']=void 0x0;function a2_0x53a6(_0x37d80a,_0x4bcdab){var _0xa4c943=a2_0x2b09();return a2_0x53a6=function(_0x45899d,_0x1a7a74){_0x45899d=_0x45899d-0xc7;var _0x2b095b=_0xa4c943[_0x45899d];return _0x2b095b;},a2_0x53a6(_0x37d80a,_0x4bcdab);}var Event_1=require(a2_0x43274d(0xda));Object[a2_0x43274d(0xca)](exports,a2_0x43274d(0xd9),{'enumerable':!![],'get':function(){var _0x24b998=a2_0x43274d;return Event_1[_0x24b998(0xd9)];}});function a2_0x2b09(){var _0x3d51e1=['Event','./decorator/Event','1005103jrTaKr','65680dCbjXS','4468568nBqOkU','search','Configuration','__esModule','defineProperty','822480rnkWOi','88hFlGiw','22TdzOfV','8085hGXEtB','9NhzNtu','3943IOtsob','(((.+)+)+)+$','toString','EventService','./configuration','./service/EventService','CustomConfiguration','2987579GNxpEo','40KOkGCH'];a2_0x2b09=function(){return _0x3d51e1;};return a2_0x2b09();}var EventService_1=require(a2_0x43274d(0xd5));Object[a2_0x43274d(0xca)](exports,a2_0x43274d(0xd3),{'enumerable':!![],'get':function(){var _0x38f3f1=a2_0x43274d;return EventService_1[_0x38f3f1(0xd3)];}});var configuration_1=require(a2_0x43274d(0xd4));Object['defineProperty'](exports,'Configuration',{'enumerable':!![],'get':function(){var _0x619829=a2_0x43274d;return configuration_1[_0x619829(0xd6)];}});
1
+ var a2_0x37c577=a2_0x1027;(function(_0x4852db,_0x30c1e9){var _0x209a4d=a2_0x1027,_0x33af7f=_0x4852db();while(!![]){try{var _0x3bcee4=-parseInt(_0x209a4d(0x1d6))/0x1+-parseInt(_0x209a4d(0x1de))/0x2*(-parseInt(_0x209a4d(0x1e3))/0x3)+parseInt(_0x209a4d(0x1d9))/0x4*(-parseInt(_0x209a4d(0x1df))/0x5)+-parseInt(_0x209a4d(0x1e2))/0x6+parseInt(_0x209a4d(0x1dd))/0x7*(parseInt(_0x209a4d(0x1d5))/0x8)+parseInt(_0x209a4d(0x1e1))/0x9*(-parseInt(_0x209a4d(0x1da))/0xa)+parseInt(_0x209a4d(0x1e0))/0xb;if(_0x3bcee4===_0x30c1e9)break;else _0x33af7f['push'](_0x33af7f['shift']());}catch(_0x13c959){_0x33af7f['push'](_0x33af7f['shift']());}}}(a2_0x4980,0xab35d));var a2_0x145087=(function(){var _0x578a00=!![];return function(_0x23df7f,_0x41baa6){var _0x5a99fd=_0x578a00?function(){var _0x26e8e2=a2_0x1027;if(_0x41baa6){var _0x57c330=_0x41baa6[_0x26e8e2(0x1dc)](_0x23df7f,arguments);return _0x41baa6=null,_0x57c330;}}:function(){};return _0x578a00=![],_0x5a99fd;};}()),a2_0x14349a=a2_0x145087(this,function(){var _0x4b74fb=a2_0x1027;return a2_0x14349a[_0x4b74fb(0x1e5)]()[_0x4b74fb(0x1e6)](_0x4b74fb(0x1e8))[_0x4b74fb(0x1e5)]()['constructor'](a2_0x14349a)[_0x4b74fb(0x1e6)](_0x4b74fb(0x1e8));});function a2_0x1027(_0x31ae7b,_0x219478){var _0x1cbf93=a2_0x4980();return a2_0x1027=function(_0x14349a,_0x145087){_0x14349a=_0x14349a-0x1d4;var _0x4980ae=_0x1cbf93[_0x14349a];return _0x4980ae;},a2_0x1027(_0x31ae7b,_0x219478);}a2_0x14349a();'use strict';Object[a2_0x37c577(0x1d4)](exports,'__esModule',{'value':!![]}),exports[a2_0x37c577(0x1db)]=exports['EventService']=exports['Event']=void 0x0;var Event_1=require(a2_0x37c577(0x1e4));Object[a2_0x37c577(0x1d4)](exports,a2_0x37c577(0x1e9),{'enumerable':!![],'get':function(){var _0x151d35=a2_0x37c577;return Event_1[_0x151d35(0x1e9)];}});var EventService_1=require(a2_0x37c577(0x1d8));Object[a2_0x37c577(0x1d4)](exports,'EventService',{'enumerable':!![],'get':function(){var _0x52960a=a2_0x37c577;return EventService_1[_0x52960a(0x1ea)];}});var configuration_1=require(a2_0x37c577(0x1e7));function a2_0x4980(){var _0x3f1d03=['13915044zRIOUs','89892gxizZq','2416950kBcHSD','27ZLpxUM','./decorator/Event','toString','search','./configuration','(((.+)+)+)+$','Event','EventService','defineProperty','11105008fSocKA','330251FBuNXG','CustomConfiguration','./service/EventService','4pvgnEE','1190DRNBTB','Configuration','apply','7difesS','189536FOjVzL','4415585EfvXTM'];a2_0x4980=function(){return _0x3f1d03;};return a2_0x4980();}Object[a2_0x37c577(0x1d4)](exports,a2_0x37c577(0x1db),{'enumerable':!![],'get':function(){var _0x1e3ff0=a2_0x37c577;return configuration_1[_0x1e3ff0(0x1d7)];}});
package/dist/interface.js CHANGED
@@ -1 +1 @@
1
- var a3_0xc1e60f=a3_0x387b;(function(_0x1eb79f,_0x29c615){var _0x3e4bc1=a3_0x387b,_0x16158e=_0x1eb79f();while(!![]){try{var _0x539340=parseInt(_0x3e4bc1(0x1a9))/0x1+-parseInt(_0x3e4bc1(0x1ac))/0x2+parseInt(_0x3e4bc1(0x1ad))/0x3*(-parseInt(_0x3e4bc1(0x1af))/0x4)+-parseInt(_0x3e4bc1(0x1b3))/0x5*(-parseInt(_0x3e4bc1(0x1b0))/0x6)+-parseInt(_0x3e4bc1(0x1ae))/0x7*(parseInt(_0x3e4bc1(0x1b6))/0x8)+-parseInt(_0x3e4bc1(0x1a7))/0x9*(parseInt(_0x3e4bc1(0x1a5))/0xa)+parseInt(_0x3e4bc1(0x1b2))/0xb;if(_0x539340===_0x29c615)break;else _0x16158e['push'](_0x16158e['shift']());}catch(_0x3155b8){_0x16158e['push'](_0x16158e['shift']());}}}(a3_0x25d8,0x6508e));function a3_0x25d8(){var _0x42e1d6=['10DYCvVc','constructor','6201972MMoWor','search','345580IYmTsJ','apply','anncic-api:event:on','427952JYRqcz','1578273eyEYlv','401779jKvqNi','4oVfkyw','60PYhAxR','defineProperty','15672250XJHdFB','352025gOZNQs','toString','EVENT_ON_KEY','88VweZqj','(((.+)+)+)+$','anncic-api:event'];a3_0x25d8=function(){return _0x42e1d6;};return a3_0x25d8();}function a3_0x387b(_0x323027,_0x5d5873){var _0x3ac7b9=a3_0x25d8();return a3_0x387b=function(_0x3f48b3,_0x8bdb30){_0x3f48b3=_0x3f48b3-0x1a5;var _0x25d80e=_0x3ac7b9[_0x3f48b3];return _0x25d80e;},a3_0x387b(_0x323027,_0x5d5873);}var a3_0x8bdb30=(function(){var _0x32ac34=!![];return function(_0x43c920,_0x3fa276){var _0x4aff19=_0x32ac34?function(){var _0x446851=a3_0x387b;if(_0x3fa276){var _0x13f32e=_0x3fa276[_0x446851(0x1aa)](_0x43c920,arguments);return _0x3fa276=null,_0x13f32e;}}:function(){};return _0x32ac34=![],_0x4aff19;};}()),a3_0x3f48b3=a3_0x8bdb30(this,function(){var _0x1806f6=a3_0x387b;return a3_0x3f48b3[_0x1806f6(0x1b4)]()[_0x1806f6(0x1a8)](_0x1806f6(0x1b7))[_0x1806f6(0x1b4)]()[_0x1806f6(0x1a6)](a3_0x3f48b3)['search']('(((.+)+)+)+$');});a3_0x3f48b3();'use strict';Object[a3_0xc1e60f(0x1b1)](exports,'__esModule',{'value':!![]}),exports[a3_0xc1e60f(0x1b5)]=exports['EVENT_KEY']=void 0x0,exports['EVENT_KEY']=a3_0xc1e60f(0x1b8),exports[a3_0xc1e60f(0x1b5)]=a3_0xc1e60f(0x1ab);
1
+ var a3_0x4bb70d=a3_0x48e7;(function(_0xf3aa27,_0x22f9b3){var _0x11a451=a3_0x48e7,_0x1a801f=_0xf3aa27();while(!![]){try{var _0x46e1b2=-parseInt(_0x11a451(0x1ba))/0x1+parseInt(_0x11a451(0x1b8))/0x2*(parseInt(_0x11a451(0x1bc))/0x3)+parseInt(_0x11a451(0x1c0))/0x4+-parseInt(_0x11a451(0x1b2))/0x5+parseInt(_0x11a451(0x1af))/0x6+parseInt(_0x11a451(0x1b4))/0x7+-parseInt(_0x11a451(0x1bb))/0x8;if(_0x46e1b2===_0x22f9b3)break;else _0x1a801f['push'](_0x1a801f['shift']());}catch(_0x1ea6d3){_0x1a801f['push'](_0x1a801f['shift']());}}}(a3_0x35d2,0x5f468));function a3_0x48e7(_0x2e7f70,_0x2629ef){var _0x593e0d=a3_0x35d2();return a3_0x48e7=function(_0x524bf0,_0x15d6fc){_0x524bf0=_0x524bf0-0x1af;var _0x35d215=_0x593e0d[_0x524bf0];return _0x35d215;},a3_0x48e7(_0x2e7f70,_0x2629ef);}var a3_0x15d6fc=(function(){var _0x22c11b=!![];return function(_0x19d33c,_0x1e05cb){var _0x46bc5a=_0x22c11b?function(){var _0x4f95de=a3_0x48e7;if(_0x1e05cb){var _0x51d280=_0x1e05cb[_0x4f95de(0x1b1)](_0x19d33c,arguments);return _0x1e05cb=null,_0x51d280;}}:function(){};return _0x22c11b=![],_0x46bc5a;};}()),a3_0x524bf0=a3_0x15d6fc(this,function(){var _0x11edb6=a3_0x48e7;return a3_0x524bf0[_0x11edb6(0x1be)]()[_0x11edb6(0x1b5)](_0x11edb6(0x1b6))[_0x11edb6(0x1be)]()[_0x11edb6(0x1b7)](a3_0x524bf0)[_0x11edb6(0x1b5)](_0x11edb6(0x1b6));});function a3_0x35d2(){var _0x187a6b=['1674564URFSUF','anncic-api:event:on','354048XbLnqO','EVENT_ON_KEY','apply','559520NvlfWa','EVENT_KEY','2842007CvtcHR','search','(((.+)+)+)+$','constructor','40TtagJx','__esModule','402860HGIBIT','4810064tEswnh','93393wvNImN','anncic-api:event','toString','defineProperty'];a3_0x35d2=function(){return _0x187a6b;};return a3_0x35d2();}a3_0x524bf0();'use strict';Object[a3_0x4bb70d(0x1bf)](exports,a3_0x4bb70d(0x1b9),{'value':!![]}),exports[a3_0x4bb70d(0x1b0)]=exports[a3_0x4bb70d(0x1b3)]=void 0x0,exports[a3_0x4bb70d(0x1b3)]=a3_0x4bb70d(0x1bd),exports[a3_0x4bb70d(0x1b0)]=a3_0x4bb70d(0x1c1);
@@ -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 a4_0xcd179=a4_0x3f02;(function(_0x121014,_0x59ce64){const _0x5dd710=a4_0x3f02,_0x5a9f64=_0x121014();while(!![]){try{const _0xf87386=-parseInt(_0x5dd710(0xe2))/0x1+-parseInt(_0x5dd710(0xc8))/0x2+parseInt(_0x5dd710(0xd7))/0x3+-parseInt(_0x5dd710(0xd2))/0x4*(-parseInt(_0x5dd710(0xcd))/0x5)+-parseInt(_0x5dd710(0xee))/0x6+parseInt(_0x5dd710(0xed))/0x7+-parseInt(_0x5dd710(0xdd))/0x8*(-parseInt(_0x5dd710(0xc6))/0x9);if(_0xf87386===_0x59ce64)break;else _0x5a9f64['push'](_0x5a9f64['shift']());}catch(_0x3f0d7b){_0x5a9f64['push'](_0x5a9f64['shift']());}}}(a4_0x4064,0xd5c39));const a4_0x5b4723=(function(){let _0x597295=!![];return function(_0x1ef76c,_0x317cd7){const _0x1b2758=_0x597295?function(){const _0x29fc18=a4_0x3f02;if(_0x317cd7){const _0x36c901=_0x317cd7[_0x29fc18(0xf0)](_0x1ef76c,arguments);return _0x317cd7=null,_0x36c901;}}:function(){};return _0x597295=![],_0x1b2758;};}()),a4_0x58c890=a4_0x5b4723(this,function(){const _0x64fe29=a4_0x3f02;return a4_0x58c890[_0x64fe29(0xd0)]()[_0x64fe29(0xdf)](_0x64fe29(0xe9))[_0x64fe29(0xd0)]()[_0x64fe29(0xce)](a4_0x58c890)[_0x64fe29(0xdf)]('(((.+)+)+)+$');});a4_0x58c890();'use strict';function a4_0x3f02(_0xef60b4,_0x11fccc){const _0x46d279=a4_0x4064();return a4_0x3f02=function(_0x58c890,_0x5b4723){_0x58c890=_0x58c890-0xc5;let _0x406481=_0x46d279[_0x58c890];return _0x406481;},a4_0x3f02(_0xef60b4,_0x11fccc);}var __decorate=this&&this[a4_0xcd179(0xc5)]||function(_0x2a8bfa,_0x2333f3,_0x1dd749,_0x7bb8bb){const _0x327652=a4_0xcd179;var _0x2055b7=arguments[_0x327652(0xe7)],_0x26ff2e=_0x2055b7<0x3?_0x2333f3:_0x7bb8bb===null?_0x7bb8bb=Object['getOwnPropertyDescriptor'](_0x2333f3,_0x1dd749):_0x7bb8bb,_0x2b7851;if(typeof Reflect===_0x327652(0xf1)&&typeof Reflect['decorate']===_0x327652(0xea))_0x26ff2e=Reflect[_0x327652(0xf2)](_0x2a8bfa,_0x2333f3,_0x1dd749,_0x7bb8bb);else{for(var _0x42ede5=_0x2a8bfa[_0x327652(0xe7)]-0x1;_0x42ede5>=0x0;_0x42ede5--)if(_0x2b7851=_0x2a8bfa[_0x42ede5])_0x26ff2e=(_0x2055b7<0x3?_0x2b7851(_0x26ff2e):_0x2055b7>0x3?_0x2b7851(_0x2333f3,_0x1dd749,_0x26ff2e):_0x2b7851(_0x2333f3,_0x1dd749))||_0x26ff2e;}return _0x2055b7>0x3&&_0x26ff2e&&Object[_0x327652(0xf5)](_0x2333f3,_0x1dd749,_0x26ff2e),_0x26ff2e;},__metadata=this&&this['__metadata']||function(_0x250ade,_0x5d298d){const _0xdbc54=a4_0xcd179;if(typeof Reflect===_0xdbc54(0xf1)&&typeof Reflect[_0xdbc54(0xda)]===_0xdbc54(0xea))return Reflect[_0xdbc54(0xda)](_0x250ade,_0x5d298d);};Object[a4_0xcd179(0xf5)](exports,a4_0xcd179(0xd3),{'value':!![]}),exports['EventService']=void 0x0;const collect_js_1=require(a4_0xcd179(0xca)),core_1=require(a4_0xcd179(0xde)),interface_1=require('../interface');let EventService=class EventService{constructor(){const _0x323640=a4_0xcd179;this[_0x323640(0xd8)]=![];}async[a4_0xcd179(0xd5)](_0x1b4b5f){const _0x1905b9=a4_0xcd179;if(!this[_0x1905b9(0xd8)]){this[_0x1905b9(0xd8)]=!![],this[_0x1905b9(0xd9)]={};for(const _0x612a4 of(0x0,core_1['listModule'])(interface_1['EVENT_KEY'])||[]){const _0x2ecd32=await this[_0x1905b9(0xf4)][_0x1905b9(0xe1)]()['getAsync'](_0x612a4);for(const _0x11791a of(0x0,core_1['getClassMetadata'])(interface_1[_0x1905b9(0xc7)],_0x612a4)||[]){typeof(_0x2ecd32[_0x11791a[_0x1905b9(0xe4)]]=='function')&&(!this['listevent'][_0x11791a[_0x1905b9(0xcf)]]&&(this[_0x1905b9(0xd9)][_0x11791a[_0x1905b9(0xcf)]]=[]),this[_0x1905b9(0xd9)][_0x11791a[_0x1905b9(0xcf)]][_0x1905b9(0xe8)]({'priority':_0x11791a[_0x1905b9(0xe6)],'resolve':_0x2ecd32[_0x11791a['propertyKey']][_0x1905b9(0xdc)](_0x2ecd32),'propertyKey':_0x612a4[_0x1905b9(0xcf)]+'@'+_0x11791a['propertyKey']}));}}for(const _0x273d20 in this[_0x1905b9(0xd9)]){this[_0x1905b9(0xd9)][_0x273d20]=(0x0,collect_js_1[_0x1905b9(0xd6)])(this[_0x1905b9(0xd9)][_0x273d20])['sortByDesc'](_0x1905b9(0xe6))['all']();}}return _0x1b4b5f?this[_0x1905b9(0xd9)][_0x1b4b5f]||[]:this[_0x1905b9(0xd9)];}async[a4_0xcd179(0xe3)](_0x5e9407,..._0x27d904){const _0x4358f3=a4_0xcd179;var _0x56dc32,_0x53f224;await this['getListevent']();for(let _0x420aa2 in(_0x56dc32=this[_0x4358f3(0xd9)])===null||_0x56dc32===void 0x0?void 0x0:_0x56dc32[_0x5e9407]){const _0x536364=(_0x53f224=this[_0x4358f3(0xd9)][_0x5e9407])===null||_0x53f224===void 0x0?void 0x0:_0x53f224[_0x420aa2];(_0x536364===null||_0x536364===void 0x0?void 0x0:_0x536364[_0x4358f3(0xd4)])&&typeof(_0x536364===null||_0x536364===void 0x0?void 0x0:_0x536364['resolve'])==_0x4358f3(0xea)&&await _0x536364[_0x4358f3(0xd4)](..._0x27d904);}}async[a4_0xcd179(0xdb)](_0x7356ad,..._0x189182){const _0x1f40e6=a4_0xcd179;return await this['getListevent'](),await this['emit'](_0x7356ad,..._0x189182),this[_0x1f40e6(0xe5)](_0x7356ad);}async[a4_0xcd179(0xe5)](_0x586263){const _0x34bbca=a4_0xcd179;return await this[_0x34bbca(0xd5)](),this['listevent'][_0x586263]&&delete this[_0x34bbca(0xd9)][_0x586263],!!this[_0x34bbca(0xd9)][_0x586263];}};function a4_0x4064(){const _0x4b90fa=['search','design:type','getApplicationContext','1146555LfTxZF','emit','propertyKey','off','priority','length','push','(((.+)+)+)+$','function','Provide','Singleton','12029374UsORFq','4753104ujOcCn','EventService','apply','object','decorate','ScopeEnum','app','defineProperty','__decorate','63oOzcLo','EVENT_ON_KEY','2503060eyNqRi','App','collect.js','event','prototype','15Yxkvij','constructor','name','toString','Scope','2080684EeSlTv','__esModule','resolve','getListevent','default','1757118FkARBl','init','listevent','metadata','once','bind','229880aTTtJt','@midwayjs/core'];a4_0x4064=function(){return _0x4b90fa;};return a4_0x4064();}exports[a4_0xcd179(0xef)]=EventService,__decorate([(0x0,core_1[a4_0xcd179(0xc9)])(),__metadata(a4_0xcd179(0xe0),Object)],EventService[a4_0xcd179(0xcc)],a4_0xcd179(0xf4),void 0x0),exports[a4_0xcd179(0xef)]=EventService=__decorate([(0x0,core_1[a4_0xcd179(0xeb)])(a4_0xcd179(0xcb)),(0x0,core_1[a4_0xcd179(0xd1)])(core_1[a4_0xcd179(0xf3)][a4_0xcd179(0xec)])],EventService);
1
+ const a4_0x429ede=a4_0x2b87;(function(_0x5044ee,_0x2b2c1a){const _0x544dc7=a4_0x2b87,_0x22f64b=_0x5044ee();while(!![]){try{const _0x389ff5=parseInt(_0x544dc7(0x1a4))/0x1*(parseInt(_0x544dc7(0x19e))/0x2)+-parseInt(_0x544dc7(0x193))/0x3*(parseInt(_0x544dc7(0x19c))/0x4)+-parseInt(_0x544dc7(0x1b3))/0x5+-parseInt(_0x544dc7(0x19d))/0x6*(-parseInt(_0x544dc7(0x1ad))/0x7)+parseInt(_0x544dc7(0x1a9))/0x8+parseInt(_0x544dc7(0x1bc))/0x9*(parseInt(_0x544dc7(0x1a1))/0xa)+parseInt(_0x544dc7(0x1bf))/0xb*(parseInt(_0x544dc7(0x1b1))/0xc);if(_0x389ff5===_0x2b2c1a)break;else _0x22f64b['push'](_0x22f64b['shift']());}catch(_0x390cc6){_0x22f64b['push'](_0x22f64b['shift']());}}}(a4_0x43a8,0x4f25e));const a4_0x764b2a=(function(){let _0x404e21=!![];return function(_0x4cd622,_0x5a24ec){const _0x38f8bd=_0x404e21?function(){const _0x206159=a4_0x2b87;if(_0x5a24ec){const _0x165636=_0x5a24ec[_0x206159(0x1b6)](_0x4cd622,arguments);return _0x5a24ec=null,_0x165636;}}:function(){};return _0x404e21=![],_0x38f8bd;};}()),a4_0x4edb2=a4_0x764b2a(this,function(){const _0x1e0f58=a4_0x2b87;return a4_0x4edb2[_0x1e0f58(0x1a0)]()[_0x1e0f58(0x188)](_0x1e0f58(0x19a))[_0x1e0f58(0x1a0)]()[_0x1e0f58(0x196)](a4_0x4edb2)[_0x1e0f58(0x188)](_0x1e0f58(0x19a));});a4_0x4edb2();'use strict';var __decorate=this&&this['__decorate']||function(_0x417784,_0x6012c4,_0x2125f5,_0x2d9df2){const _0xe5353e=a4_0x2b87;var _0x544fe6=arguments[_0xe5353e(0x1b5)],_0x165b85=_0x544fe6<0x3?_0x6012c4:_0x2d9df2===null?_0x2d9df2=Object[_0xe5353e(0x18f)](_0x6012c4,_0x2125f5):_0x2d9df2,_0x324efb;if(typeof Reflect==='object'&&typeof Reflect[_0xe5353e(0x19f)]===_0xe5353e(0x1bb))_0x165b85=Reflect['decorate'](_0x417784,_0x6012c4,_0x2125f5,_0x2d9df2);else{for(var _0x40df25=_0x417784['length']-0x1;_0x40df25>=0x0;_0x40df25--)if(_0x324efb=_0x417784[_0x40df25])_0x165b85=(_0x544fe6<0x3?_0x324efb(_0x165b85):_0x544fe6>0x3?_0x324efb(_0x6012c4,_0x2125f5,_0x165b85):_0x324efb(_0x6012c4,_0x2125f5))||_0x165b85;}return _0x544fe6>0x3&&_0x165b85&&Object[_0xe5353e(0x198)](_0x6012c4,_0x2125f5,_0x165b85),_0x165b85;},__metadata=this&&this[a4_0x429ede(0x18b)]||function(_0xbcebe3,_0x32b3a2){const _0x2039b7=a4_0x429ede;if(typeof Reflect===_0x2039b7(0x1ab)&&typeof Reflect[_0x2039b7(0x197)]===_0x2039b7(0x1bb))return Reflect['metadata'](_0xbcebe3,_0x32b3a2);};Object[a4_0x429ede(0x198)](exports,'__esModule',{'value':!![]}),exports[a4_0x429ede(0x1a6)]=void 0x0;const collect_js_1=require(a4_0x429ede(0x18c)),core_1=require(a4_0x429ede(0x19b)),interface_1=require(a4_0x429ede(0x18d));let EventService=class EventService{constructor(){const _0x16111a=a4_0x429ede;this[_0x16111a(0x1a3)]=![];}async[a4_0x429ede(0x1be)](_0x1abf2a){const _0x3df051=a4_0x429ede;if(!this[_0x3df051(0x1a3)]){this['init']=!![],this[_0x3df051(0x1bd)]={};for(const _0x1440e8 of(0x0,core_1['listModule'])(interface_1['EVENT_KEY'])||[]){const _0x35e664=await this[_0x3df051(0x1b9)][_0x3df051(0x1ac)]()[_0x3df051(0x1ae)](_0x1440e8);for(const _0x4c1e05 of(0x0,core_1[_0x3df051(0x18a)])(interface_1[_0x3df051(0x191)],_0x1440e8)||[]){typeof(_0x35e664[_0x4c1e05[_0x3df051(0x187)]]=='function')&&(!this[_0x3df051(0x1bd)][_0x4c1e05[_0x3df051(0x1a7)]]&&(this['listevent'][_0x4c1e05[_0x3df051(0x1a7)]]=[]),this[_0x3df051(0x1bd)][_0x4c1e05[_0x3df051(0x1a7)]]['push']({'priority':(_0x4c1e05===null||_0x4c1e05===void 0x0?void 0x0:_0x4c1e05['priority'])||0x0,'throttle':(_0x4c1e05===null||_0x4c1e05===void 0x0?void 0x0:_0x4c1e05[_0x3df051(0x1af)])||0x1f4,'resolve':_0x35e664[_0x4c1e05['propertyKey']][_0x3df051(0x189)](_0x35e664),'propertyKey':_0x1440e8[_0x3df051(0x1a7)]+'@'+_0x4c1e05['propertyKey']}));}}for(const _0x21307e in this[_0x3df051(0x1bd)]){this[_0x3df051(0x1bd)][_0x21307e]=(0x0,collect_js_1['default'])(this[_0x3df051(0x1bd)][_0x21307e])[_0x3df051(0x1b0)](_0x3df051(0x1ba))[_0x3df051(0x1b4)]();}}return _0x1abf2a?this['listevent'][_0x1abf2a]||[]:this[_0x3df051(0x1bd)];}async[a4_0x429ede(0x1a5)](_0x52d573,..._0x2ecbf6){const _0x5f22f0=a4_0x429ede;var _0x4bcc2d,_0x23914f,_0x410951,_0x2d2b89,_0xfe0d0a;const _0x11fc4f=''+JSON[_0x5f22f0(0x190)](_0x2ecbf6),_0x5a65fb=Date[_0x5f22f0(0x194)]();await this[_0x5f22f0(0x1be)]();for(let _0x34470f in this[_0x5f22f0(0x1b8)]){this[_0x5f22f0(0x1b8)][_0x34470f]<_0x5a65fb&&delete this[_0x5f22f0(0x1b8)][_0x34470f];}for(let _0x4b7de4 in(_0x4bcc2d=this['listevent'])===null||_0x4bcc2d===void 0x0?void 0x0:_0x4bcc2d[_0x52d573]){if(((_0x23914f=this['listevent'][_0x52d573])===null||_0x23914f===void 0x0?void 0x0:_0x23914f[_0x4b7de4])&&typeof((_0x2d2b89=(_0x410951=this[_0x5f22f0(0x1bd)][_0x52d573])===null||_0x410951===void 0x0?void 0x0:_0x410951[_0x4b7de4])===null||_0x2d2b89===void 0x0?void 0x0:_0x2d2b89[_0x5f22f0(0x1aa)])=='function'){const _0x188902=_0x52d573+'_'+_0x4b7de4+'@'+_0x11fc4f;(!this[_0x5f22f0(0x1b8)]||this[_0x5f22f0(0x1b8)][_0x188902]<_0x5a65fb)&&(this[_0x5f22f0(0x1b8)][_0x188902]=_0x5a65fb+(((_0xfe0d0a=this['listevent'][_0x52d573][_0x4b7de4])===null||_0xfe0d0a===void 0x0?void 0x0:_0xfe0d0a[_0x5f22f0(0x1af)])||0x1f4),await this[_0x5f22f0(0x1bd)][_0x52d573][_0x4b7de4][_0x5f22f0(0x1aa)](..._0x2ecbf6));}}}async[a4_0x429ede(0x1a2)](_0xce7f72,..._0x4ee581){const _0x50a694=a4_0x429ede;return await this[_0x50a694(0x1be)](),await this[_0x50a694(0x1a5)](_0xce7f72,..._0x4ee581),this['off'](_0xce7f72);}async[a4_0x429ede(0x199)](_0x21e31e){const _0x4cd6fa=a4_0x429ede;return await this[_0x4cd6fa(0x1be)](),this['listevent'][_0x21e31e]&&delete this[_0x4cd6fa(0x1bd)][_0x21e31e],!!this['listevent'][_0x21e31e];}};exports[a4_0x429ede(0x1a6)]=EventService,__decorate([(0x0,core_1[a4_0x429ede(0x1b2)])(),__metadata(a4_0x429ede(0x192),Object)],EventService[a4_0x429ede(0x18e)],a4_0x429ede(0x1b9),void 0x0),exports['EventService']=EventService=__decorate([(0x0,core_1['Provide'])(a4_0x429ede(0x195)),(0x0,core_1[a4_0x429ede(0x1b7)])(core_1['ScopeEnum'][a4_0x429ede(0x1a8)])],EventService);function a4_0x2b87(_0x4833bc,_0x252711){const _0x1cab88=a4_0x43a8();return a4_0x2b87=function(_0x4edb2,_0x764b2a){_0x4edb2=_0x4edb2-0x187;let _0x43a89c=_0x1cab88[_0x4edb2];return _0x43a89c;},a4_0x2b87(_0x4833bc,_0x252711);}function a4_0x43a8(){const _0x1762af=['length','apply','Scope','listevent_throttle','app','priority','function','612NSrSCV','listevent','getListevent','39633TAEBGj','propertyKey','search','bind','getClassMetadata','__metadata','collect.js','../interface','prototype','getOwnPropertyDescriptor','stringify','EVENT_ON_KEY','design:type','3LfrTzh','now','event','constructor','metadata','defineProperty','off','(((.+)+)+)+$','@midwayjs/core','191452zUBbuh','6HZAqZn','20joVLSC','decorate','toString','54130pEEumA','once','init','22751UtVRIn','emit','EventService','name','Singleton','297960EqHsLj','resolve','object','getApplicationContext','1468502XaeNNM','getAsync','throttle','sortByDesc','72BePISz','App','2460950GBWdRy','all'];a4_0x43a8=function(){return _0x1762af;};return a4_0x43a8();}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anncic-api/event",
3
- "version": "3.4.82",
3
+ "version": "3.4.84",
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": "debe00dc13507e7dba6c7f28a31fa8562715c946"
24
+ "gitHead": "d647355a81db5d807fc909c180c741b46f312286"
25
25
  }