@anncic-api/event 1.4.24 → 1.4.26

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_0x3be466=a0_0x3121;function a0_0x3121(_0x37e179,_0x466f28){var _0x16377b=a0_0x1637();return a0_0x3121=function(_0x31219d,_0x123561){_0x31219d=_0x31219d-0x12c;var _0x3e2463=_0x16377b[_0x31219d];return _0x3e2463;},a0_0x3121(_0x37e179,_0x466f28);}(function(_0x169337,_0x396755){var _0x5e384e=a0_0x3121,_0x46e66d=_0x169337();while(!![]){try{var _0x31cf9d=-parseInt(_0x5e384e(0x12c))/0x1+parseInt(_0x5e384e(0x12e))/0x2*(parseInt(_0x5e384e(0x12f))/0x3)+parseInt(_0x5e384e(0x12d))/0x4+parseInt(_0x5e384e(0x13e))/0x5*(parseInt(_0x5e384e(0x13a))/0x6)+-parseInt(_0x5e384e(0x13d))/0x7*(parseInt(_0x5e384e(0x147))/0x8)+-parseInt(_0x5e384e(0x13b))/0x9+parseInt(_0x5e384e(0x145))/0xa*(parseInt(_0x5e384e(0x138))/0xb);if(_0x31cf9d===_0x396755)break;else _0x46e66d['push'](_0x46e66d['shift']());}catch(_0x1c9a64){_0x46e66d['push'](_0x46e66d['shift']());}}}(a0_0x1637,0xdcd8d));var __decorate=this&&this[a0_0x3be466(0x142)]||function(_0x47265f,_0x3dee9f,_0x4d8edf,_0x9f6530){var _0xba78fc=a0_0x3be466,_0x2ded5a=arguments[_0xba78fc(0x139)],_0x3feb6c=_0x2ded5a<0x3?_0x3dee9f:_0x9f6530===null?_0x9f6530=Object[_0xba78fc(0x143)](_0x3dee9f,_0x4d8edf):_0x9f6530,_0x3ca461;if(typeof Reflect===_0xba78fc(0x141)&&typeof Reflect[_0xba78fc(0x144)]===_0xba78fc(0x137))_0x3feb6c=Reflect['decorate'](_0x47265f,_0x3dee9f,_0x4d8edf,_0x9f6530);else{for(var _0x4c38a1=_0x47265f[_0xba78fc(0x139)]-0x1;_0x4c38a1>=0x0;_0x4c38a1--)if(_0x3ca461=_0x47265f[_0x4c38a1])_0x3feb6c=(_0x2ded5a<0x3?_0x3ca461(_0x3feb6c):_0x2ded5a>0x3?_0x3ca461(_0x3dee9f,_0x4d8edf,_0x3feb6c):_0x3ca461(_0x3dee9f,_0x4d8edf))||_0x3feb6c;}return _0x2ded5a>0x3&&_0x3feb6c&&Object['defineProperty'](_0x3dee9f,_0x4d8edf,_0x3feb6c),_0x3feb6c;},__metadata=this&&this[a0_0x3be466(0x136)]||function(_0x3de439,_0x3c592b){var _0xadb0f1=a0_0x3be466;if(typeof Reflect===_0xadb0f1(0x141)&&typeof Reflect[_0xadb0f1(0x132)]===_0xadb0f1(0x137))return Reflect['metadata'](_0x3de439,_0x3c592b);};Object['defineProperty'](exports,a0_0x3be466(0x135),{'value':!![]}),exports['CustomConfiguration']=void 0x0;function a0_0x1637(){var _0x7d9b7f=['getOwnPropertyDescriptor','decorate','264020UtETBJ','Inject','8ABtPHY','prototype','861491vYdTaA','4920976WOaRhd','2BmoEVT','1352436dyMGiJ','@midwayjs/core','anncic-api:event','metadata','MidwayConfigService','onReady','__esModule','__metadata','function','253zchVKv','length','1284546jsMwPX','1696428fZVnuI','decorator','5333384sJWjSI','10rZChOW','CustomConfiguration','design:type','object','__decorate'];a0_0x1637=function(){return _0x7d9b7f;};return a0_0x1637();}const core_1=require('@midwayjs/core'),core_2=require(a0_0x3be466(0x130));let CustomConfiguration=class CustomConfiguration{async[a0_0x3be466(0x134)](){}};__decorate([(0x0,core_1[a0_0x3be466(0x146)])(),__metadata(a0_0x3be466(0x140),core_2[a0_0x3be466(0x133)])],CustomConfiguration[a0_0x3be466(0x148)],'config',void 0x0),__decorate([(0x0,core_1['Inject'])(),__metadata(a0_0x3be466(0x140),core_2['MidwayDecoratorService'])],CustomConfiguration[a0_0x3be466(0x148)],a0_0x3be466(0x13c),void 0x0),CustomConfiguration=__decorate([(0x0,core_1['Configuration'])({'conflictCheck':![],'namespace':a0_0x3be466(0x131)})],CustomConfiguration),exports[a0_0x3be466(0x13f)]=CustomConfiguration;
1
+ 'use strict';var a0_0x2dfbfe=a0_0x26ac;(function(_0x2f37e2,_0x108864){var _0x52fdc0=a0_0x26ac,_0x1cd4a8=_0x2f37e2();while(!![]){try{var _0x29cd2a=-parseInt(_0x52fdc0(0x152))/0x1*(parseInt(_0x52fdc0(0x144))/0x2)+parseInt(_0x52fdc0(0x141))/0x3*(-parseInt(_0x52fdc0(0x146))/0x4)+parseInt(_0x52fdc0(0x14c))/0x5+parseInt(_0x52fdc0(0x14e))/0x6+parseInt(_0x52fdc0(0x155))/0x7*(-parseInt(_0x52fdc0(0x156))/0x8)+parseInt(_0x52fdc0(0x13d))/0x9*(parseInt(_0x52fdc0(0x154))/0xa)+parseInt(_0x52fdc0(0x153))/0xb*(parseInt(_0x52fdc0(0x14f))/0xc);if(_0x29cd2a===_0x108864)break;else _0x1cd4a8['push'](_0x1cd4a8['shift']());}catch(_0x55c5c5){_0x1cd4a8['push'](_0x1cd4a8['shift']());}}}(a0_0x1ec3,0x95cae));var __decorate=this&&this[a0_0x2dfbfe(0x151)]||function(_0x2a0683,_0x3c9e74,_0x245c22,_0x3c0261){var _0x842d16=a0_0x2dfbfe,_0x123eb2=arguments[_0x842d16(0x158)],_0x8b1380=_0x123eb2<0x3?_0x3c9e74:_0x3c0261===null?_0x3c0261=Object[_0x842d16(0x147)](_0x3c9e74,_0x245c22):_0x3c0261,_0x10f3a5;if(typeof Reflect==='object'&&typeof Reflect['decorate']===_0x842d16(0x143))_0x8b1380=Reflect[_0x842d16(0x142)](_0x2a0683,_0x3c9e74,_0x245c22,_0x3c0261);else{for(var _0x3aadcb=_0x2a0683[_0x842d16(0x158)]-0x1;_0x3aadcb>=0x0;_0x3aadcb--)if(_0x10f3a5=_0x2a0683[_0x3aadcb])_0x8b1380=(_0x123eb2<0x3?_0x10f3a5(_0x8b1380):_0x123eb2>0x3?_0x10f3a5(_0x3c9e74,_0x245c22,_0x8b1380):_0x10f3a5(_0x3c9e74,_0x245c22))||_0x8b1380;}return _0x123eb2>0x3&&_0x8b1380&&Object[_0x842d16(0x13e)](_0x3c9e74,_0x245c22,_0x8b1380),_0x8b1380;},__metadata=this&&this[a0_0x2dfbfe(0x15a)]||function(_0x3b32ea,_0xe12e14){var _0x45317d=a0_0x2dfbfe;if(typeof Reflect===_0x45317d(0x14a)&&typeof Reflect[_0x45317d(0x149)]===_0x45317d(0x143))return Reflect[_0x45317d(0x149)](_0x3b32ea,_0xe12e14);};function a0_0x1ec3(){var _0x3baede=['decorate','function','4yXymiV','@midwayjs/core','2303628LtloYw','getOwnPropertyDescriptor','MidwayConfigService','metadata','object','config','2092990wegfyv','onReady','668826nyEmky','14172qXKwdo','prototype','__decorate','306958bVzshg','12254UKDziG','1070dnspAm','203OaCrUA','224408IZBHhI','Inject','length','anncic-api:event','__metadata','CustomConfiguration','64863NaSGKm','defineProperty','design:type','__esModule','3nogpZR'];a0_0x1ec3=function(){return _0x3baede;};return a0_0x1ec3();}Object['defineProperty'](exports,a0_0x2dfbfe(0x140),{'value':!![]}),exports[a0_0x2dfbfe(0x13c)]=void 0x0;function a0_0x26ac(_0x26877d,_0x2e279c){var _0x1ec3b3=a0_0x1ec3();return a0_0x26ac=function(_0x26acde,_0x5e4055){_0x26acde=_0x26acde-0x13c;var _0x4d272e=_0x1ec3b3[_0x26acde];return _0x4d272e;},a0_0x26ac(_0x26877d,_0x2e279c);}const core_1=require('@midwayjs/core'),core_2=require(a0_0x2dfbfe(0x145));let CustomConfiguration=class CustomConfiguration{async[a0_0x2dfbfe(0x14d)](){}};__decorate([(0x0,core_1[a0_0x2dfbfe(0x157)])(),__metadata(a0_0x2dfbfe(0x13f),core_2[a0_0x2dfbfe(0x148)])],CustomConfiguration[a0_0x2dfbfe(0x150)],a0_0x2dfbfe(0x14b),void 0x0),__decorate([(0x0,core_1[a0_0x2dfbfe(0x157)])(),__metadata(a0_0x2dfbfe(0x13f),core_2['MidwayDecoratorService'])],CustomConfiguration['prototype'],'decorator',void 0x0),CustomConfiguration=__decorate([(0x0,core_1['Configuration'])({'conflictCheck':![],'namespace':a0_0x2dfbfe(0x159)})],CustomConfiguration),exports[a0_0x2dfbfe(0x13c)]=CustomConfiguration;
@@ -1 +1 @@
1
- 'use strict';const a1_0x4a1510=a1_0x14c1;function a1_0x48c1(){const _0x313ef7=['__esModule','284023aShJbn','781812foIkjR','828152EuHluB','@midwayjs/core','EVENT_KEY','1980927BQHflS','10BgNhOV','ScopeEnum','1436130OboAyh','Event','1768224oUwLMz','Provide','defineProperty','Scope','21uAndYm','13685733qsubow','8EfeIZG','EVENT_ON_KEY'];a1_0x48c1=function(){return _0x313ef7;};return a1_0x48c1();}(function(_0x53e837,_0x117c92){const _0x175b49=a1_0x14c1,_0x536df6=_0x53e837();while(!![]){try{const _0x3e20b3=-parseInt(_0x175b49(0x71))/0x1+parseInt(_0x175b49(0x72))/0x2+-parseInt(_0x175b49(0x76))/0x3+parseInt(_0x175b49(0x6e))/0x4*(-parseInt(_0x175b49(0x79))/0x5)+-parseInt(_0x175b49(0x7b))/0x6+parseInt(_0x175b49(0x6c))/0x7*(parseInt(_0x175b49(0x73))/0x8)+parseInt(_0x175b49(0x6d))/0x9*(parseInt(_0x175b49(0x77))/0xa);if(_0x3e20b3===_0x117c92)break;else _0x536df6['push'](_0x536df6['shift']());}catch(_0x5a5451){_0x536df6['push'](_0x536df6['shift']());}}}(a1_0x48c1,0x63c24));Object[a1_0x4a1510(0x6a)](exports,a1_0x4a1510(0x70),{'value':!![]}),exports[a1_0x4a1510(0x7a)]=void 0x0;const core_1=require(a1_0x4a1510(0x74)),interface_1=require('../interface');function Event(){return _0x3e183a=>{const _0x5b6324=a1_0x14c1;(0x0,core_1[_0x5b6324(0x7c)])()(_0x3e183a),(0x0,core_1['saveModule'])(interface_1[_0x5b6324(0x75)],_0x3e183a),(0x0,core_1[_0x5b6324(0x6b)])(core_1[_0x5b6324(0x78)]['Request'],{'allowDowngrade':!![]})(_0x3e183a);};}function a1_0x14c1(_0x3be3a7,_0x267e81){const _0x48c1b5=a1_0x48c1();return a1_0x14c1=function(_0x14c10d,_0x439a2f){_0x14c10d=_0x14c10d-0x6a;let _0x3acc35=_0x48c1b5[_0x14c10d];return _0x3acc35;},a1_0x14c1(_0x3be3a7,_0x267e81);}exports[a1_0x4a1510(0x7a)]=Event,Event['On']=function(_0xcf058e,_0x339cfd=0x0){return(_0x1c29bd,_0x3a0906,_0x2ec6df)=>{const _0x233e3c=a1_0x14c1;return(0x0,core_1['attachClassMetadata'])(interface_1[_0x233e3c(0x6f)],{'name':_0xcf058e,'priority':_0x339cfd,'propertyKey':_0x3a0906,'descriptor':_0x2ec6df},_0x1c29bd),_0x2ec6df;};};
1
+ 'use strict';const a1_0xc8b68b=a1_0x3081;(function(_0x14e879,_0x571ba1){const _0x95b1f3=a1_0x3081,_0x274668=_0x14e879();while(!![]){try{const _0x5e2b53=parseInt(_0x95b1f3(0xda))/0x1*(-parseInt(_0x95b1f3(0xe6))/0x2)+-parseInt(_0x95b1f3(0xde))/0x3*(-parseInt(_0x95b1f3(0xdb))/0x4)+-parseInt(_0x95b1f3(0xe7))/0x5+-parseInt(_0x95b1f3(0xe9))/0x6*(parseInt(_0x95b1f3(0xe4))/0x7)+-parseInt(_0x95b1f3(0xe3))/0x8*(parseInt(_0x95b1f3(0xd9))/0x9)+parseInt(_0x95b1f3(0xe8))/0xa+parseInt(_0x95b1f3(0xe2))/0xb;if(_0x5e2b53===_0x571ba1)break;else _0x274668['push'](_0x274668['shift']());}catch(_0x274b6d){_0x274668['push'](_0x274668['shift']());}}}(a1_0x563f,0xef3e1));Object[a1_0xc8b68b(0xd8)](exports,a1_0xc8b68b(0xd6),{'value':!![]}),exports[a1_0xc8b68b(0xdc)]=void 0x0;const core_1=require('@midwayjs/core'),interface_1=require('../interface');function a1_0x563f(){const _0xe43953=['Scope','defineProperty','9zWlxyO','540NdnmtK','57028FAKgxI','Event','EVENT_ON_KEY','87uzARCW','saveModule','EVENT_KEY','Request','41500855kXIXtR','4276984bqWixT','5838854mORwHe','attachClassMetadata','5182QBTqAS','6956700qZiJUG','17870260LYfsFY','12EvDiWE','__esModule'];a1_0x563f=function(){return _0xe43953;};return a1_0x563f();}function a1_0x3081(_0x13a70c,_0x4b62fb){const _0x563f4a=a1_0x563f();return a1_0x3081=function(_0x3081e9,_0x462cb7){_0x3081e9=_0x3081e9-0xd6;let _0x336c7e=_0x563f4a[_0x3081e9];return _0x336c7e;},a1_0x3081(_0x13a70c,_0x4b62fb);}function Event(){return _0x3ad35c=>{const _0x1b6340=a1_0x3081;(0x0,core_1['Provide'])()(_0x3ad35c),(0x0,core_1[_0x1b6340(0xdf)])(interface_1[_0x1b6340(0xe0)],_0x3ad35c),(0x0,core_1[_0x1b6340(0xd7)])(core_1['ScopeEnum'][_0x1b6340(0xe1)],{'allowDowngrade':!![]})(_0x3ad35c);};}exports['Event']=Event,Event['On']=function(_0x4789d8,_0xad2475=0x0){return(_0x51bd8e,_0x154bb0,_0x543b04)=>{const _0x2c5b1c=a1_0x3081;return(0x0,core_1[_0x2c5b1c(0xe5)])(interface_1[_0x2c5b1c(0xdd)],{'name':_0x4789d8,'priority':_0xad2475,'propertyKey':_0x154bb0,'descriptor':_0x543b04},_0x51bd8e),_0x543b04;};};
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';var a2_0x5d9e1e=a2_0x2470;function a2_0x2470(_0x5f8d3e,_0xc6c4e2){var _0x232ab1=a2_0x232a();return a2_0x2470=function(_0x24706f,_0x435b3e){_0x24706f=_0x24706f-0xf1;var _0x22176e=_0x232ab1[_0x24706f];return _0x22176e;},a2_0x2470(_0x5f8d3e,_0xc6c4e2);}(function(_0xf6f98a,_0x541b27){var _0x238c9e=a2_0x2470,_0xd4175d=_0xf6f98a();while(!![]){try{var _0x4ffacc=parseInt(_0x238c9e(0xf1))/0x1+-parseInt(_0x238c9e(0xf2))/0x2*(-parseInt(_0x238c9e(0xfd))/0x3)+parseInt(_0x238c9e(0xfc))/0x4*(parseInt(_0x238c9e(0xfe))/0x5)+-parseInt(_0x238c9e(0xf9))/0x6*(parseInt(_0x238c9e(0xfb))/0x7)+-parseInt(_0x238c9e(0xf5))/0x8+parseInt(_0x238c9e(0xf7))/0x9*(-parseInt(_0x238c9e(0xf4))/0xa)+parseInt(_0x238c9e(0xf8))/0xb;if(_0x4ffacc===_0x541b27)break;else _0xd4175d['push'](_0xd4175d['shift']());}catch(_0x2424b4){_0xd4175d['push'](_0xd4175d['shift']());}}}(a2_0x232a,0xdd866));function a2_0x232a(){var _0x47cadf=['1194478sQQoZz','./configuration','480DFXysO','2618832TWGpNA','__esModule','201087tZDOYe','687962gLWzqG','7254714EkupRh','EventService','7sFnDyX','4PVXROu','6dSkBSa','7920610kXcqrX','Event','defineProperty','./service/EventService','675161uLZSNt'];a2_0x232a=function(){return _0x47cadf;};return a2_0x232a();}Object[a2_0x5d9e1e(0x100)](exports,a2_0x5d9e1e(0xf6),{'value':!![]}),exports['Configuration']=exports[a2_0x5d9e1e(0xfa)]=exports[a2_0x5d9e1e(0xff)]=void 0x0;var Event_1=require('./decorator/Event');Object['defineProperty'](exports,a2_0x5d9e1e(0xff),{'enumerable':!![],'get':function(){return Event_1['Event'];}});var EventService_1=require(a2_0x5d9e1e(0x101));Object['defineProperty'](exports,'EventService',{'enumerable':!![],'get':function(){return EventService_1['EventService'];}});var configuration_1=require(a2_0x5d9e1e(0xf3));Object['defineProperty'](exports,'Configuration',{'enumerable':!![],'get':function(){return configuration_1['CustomConfiguration'];}});
1
+ 'use strict';var a2_0x331817=a2_0x2fea;(function(_0x224f0a,_0x4c6d72){var _0x3539fa=a2_0x2fea,_0x1aef7f=_0x224f0a();while(!![]){try{var _0x272b2c=parseInt(_0x3539fa(0x84))/0x1*(-parseInt(_0x3539fa(0x8d))/0x2)+-parseInt(_0x3539fa(0x87))/0x3*(-parseInt(_0x3539fa(0x8b))/0x4)+-parseInt(_0x3539fa(0x8e))/0x5+-parseInt(_0x3539fa(0x89))/0x6+parseInt(_0x3539fa(0x85))/0x7+-parseInt(_0x3539fa(0x8a))/0x8+parseInt(_0x3539fa(0x83))/0x9;if(_0x272b2c===_0x4c6d72)break;else _0x1aef7f['push'](_0x1aef7f['shift']());}catch(_0x578a47){_0x1aef7f['push'](_0x1aef7f['shift']());}}}(a2_0x376c,0x54837));function a2_0x2fea(_0x1ad915,_0x1d001e){var _0x376c4b=a2_0x376c();return a2_0x2fea=function(_0x2feac8,_0x5b9b00){_0x2feac8=_0x2feac8-0x81;var _0x4999a2=_0x376c4b[_0x2feac8];return _0x4999a2;},a2_0x2fea(_0x1ad915,_0x1d001e);}Object[a2_0x331817(0x86)](exports,a2_0x331817(0x8c),{'value':!![]}),exports[a2_0x331817(0x88)]=exports[a2_0x331817(0x91)]=exports[a2_0x331817(0x82)]=void 0x0;var Event_1=require(a2_0x331817(0x90));Object['defineProperty'](exports,'Event',{'enumerable':!![],'get':function(){var _0x2e37a7=a2_0x331817;return Event_1[_0x2e37a7(0x82)];}});var EventService_1=require(a2_0x331817(0x81));function a2_0x376c(){var _0x3e7f7f=['2679156hCEIbh','4418408zgZKRf','24urqXFA','__esModule','12842ZVXHPl','3310190vbrgDq','./configuration','./decorator/Event','EventService','CustomConfiguration','./service/EventService','Event','15365754Tczkmg','65jABqVO','3463243nrABAO','defineProperty','111171FIvuET','Configuration'];a2_0x376c=function(){return _0x3e7f7f;};return a2_0x376c();}Object['defineProperty'](exports,a2_0x331817(0x91),{'enumerable':!![],'get':function(){var _0x5a76ce=a2_0x331817;return EventService_1[_0x5a76ce(0x91)];}});var configuration_1=require(a2_0x331817(0x8f));Object[a2_0x331817(0x86)](exports,a2_0x331817(0x88),{'enumerable':!![],'get':function(){var _0x20ed8e=a2_0x331817;return configuration_1[_0x20ed8e(0x92)];}});
package/dist/interface.js CHANGED
@@ -1 +1 @@
1
- 'use strict';var a3_0x31f37b=a3_0x5844;(function(_0x4a298e,_0x49d1ff){var _0x3f5dd2=a3_0x5844,_0x5cf904=_0x4a298e();while(!![]){try{var _0x10193c=-parseInt(_0x3f5dd2(0x1a5))/0x1+parseInt(_0x3f5dd2(0x1a2))/0x2*(-parseInt(_0x3f5dd2(0x1a4))/0x3)+-parseInt(_0x3f5dd2(0x1af))/0x4+-parseInt(_0x3f5dd2(0x1ad))/0x5*(parseInt(_0x3f5dd2(0x1b0))/0x6)+parseInt(_0x3f5dd2(0x1a9))/0x7*(parseInt(_0x3f5dd2(0x1aa))/0x8)+-parseInt(_0x3f5dd2(0x1a7))/0x9+parseInt(_0x3f5dd2(0x1ac))/0xa;if(_0x10193c===_0x49d1ff)break;else _0x5cf904['push'](_0x5cf904['shift']());}catch(_0x2c7ed2){_0x5cf904['push'](_0x5cf904['shift']());}}}(a3_0x121c,0x49f5a));function a3_0x5844(_0x5111c2,_0x2098a5){var _0x121c1e=a3_0x121c();return a3_0x5844=function(_0x584442,_0x3a4438){_0x584442=_0x584442-0x1a2;var _0x3788bf=_0x121c1e[_0x584442];return _0x3788bf;},a3_0x5844(_0x5111c2,_0x2098a5);}Object['defineProperty'](exports,a3_0x31f37b(0x1ab),{'value':!![]}),exports[a3_0x31f37b(0x1a6)]=exports[a3_0x31f37b(0x1ae)]=void 0x0,exports[a3_0x31f37b(0x1ae)]=a3_0x31f37b(0x1a3),exports[a3_0x31f37b(0x1a6)]=a3_0x31f37b(0x1a8);function a3_0x121c(){var _0x32a9e0=['anncic-api:event:on','149373VIXcXc','160Edcmoj','__esModule','9521270AEYbLQ','41480LMVVya','EVENT_KEY','1057136aNoVfQ','72ZmJlaj','334TpHyjD','anncic-api:event','2757dMjLnB','407334YzJbKT','EVENT_ON_KEY','1361934NLdCKu'];a3_0x121c=function(){return _0x32a9e0;};return a3_0x121c();}
1
+ 'use strict';function a3_0x4c2c(_0xf79e42,_0x37ab34){var _0x310749=a3_0x3107();return a3_0x4c2c=function(_0x4c2c42,_0x447d63){_0x4c2c42=_0x4c2c42-0x91;var _0x405146=_0x310749[_0x4c2c42];return _0x405146;},a3_0x4c2c(_0xf79e42,_0x37ab34);}var a3_0x390c92=a3_0x4c2c;function a3_0x3107(){var _0x239b70=['3641772EbJIQL','6668yGCvBS','anncic-api:event:on','39408kMWVCM','60FqnnXr','2005iIXuvt','11277GbMFgc','EVENT_ON_KEY','EVENT_KEY','anncic-api:event','3403374UkGYAe','5128JuXGgm','3030606wqOPaf','23477880euOyrf'];a3_0x3107=function(){return _0x239b70;};return a3_0x3107();}(function(_0x47ad06,_0x3a5f87){var _0xf13fff=a3_0x4c2c,_0x40d9ee=_0x47ad06();while(!![]){try{var _0x403179=parseInt(_0xf13fff(0x91))/0x1*(-parseInt(_0xf13fff(0x9e))/0x2)+-parseInt(_0xf13fff(0x97))/0x3+parseInt(_0xf13fff(0x9c))/0x4*(-parseInt(_0xf13fff(0x92))/0x5)+parseInt(_0xf13fff(0x9b))/0x6+parseInt(_0xf13fff(0x93))/0x7*(parseInt(_0xf13fff(0x98))/0x8)+-parseInt(_0xf13fff(0x99))/0x9+parseInt(_0xf13fff(0x9a))/0xa;if(_0x403179===_0x3a5f87)break;else _0x40d9ee['push'](_0x40d9ee['shift']());}catch(_0xbba0a8){_0x40d9ee['push'](_0x40d9ee['shift']());}}}(a3_0x3107,0xa279e));Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports['EVENT_ON_KEY']=exports[a3_0x390c92(0x95)]=void 0x0,exports['EVENT_KEY']=a3_0x390c92(0x96),exports[a3_0x390c92(0x94)]=a3_0x390c92(0x9d);
@@ -1 +1 @@
1
- 'use strict';function a4_0x2981(_0x35a1ba,_0x5cf321){const _0x4c8c78=a4_0x4c8c();return a4_0x2981=function(_0x298117,_0x197213){_0x298117=_0x298117-0x129;let _0x2649c6=_0x4c8c78[_0x298117];return _0x2649c6;},a4_0x2981(_0x35a1ba,_0x5cf321);}const a4_0x1eb75b=a4_0x2981;function a4_0x4c8c(){const _0x3fb3ef=['name','ScopeEnum','114CsadRM','App','collect.js','getApplicationContext','init','getListevent','emit','7kaXZOE','@midwayjs/core','all','sortByDesc','389265oGlDIZ','off','Provide','object','1677654ovbxlY','listevent','event','defineProperty','6222470wLkCab','12310144mDArch','design:type','EVENT_ON_KEY','metadata','EventService','__decorate','../interface','9TNRKWU','getOwnPropertyDescriptor','Singleton','140BozzCb','prototype','propertyKey','priority','18805SQFyJZ','length','52VmVfzn','89058HmnIOB','getAsync','9536004pulEWK','app','function','push','listModule','164cUwuHE','decorate','Scope','bind','resolve','__metadata'];a4_0x4c8c=function(){return _0x3fb3ef;};return a4_0x4c8c();}(function(_0xa497f1,_0x2a3a92){const _0x59e035=a4_0x2981,_0x450325=_0xa497f1();while(!![]){try{const _0x55a203=-parseInt(_0x59e035(0x14e))/0x1*(-parseInt(_0x59e035(0x158))/0x2)+parseInt(_0x59e035(0x151))/0x3*(-parseInt(_0x59e035(0x14a))/0x4)+-parseInt(_0x59e035(0x137))/0x5*(-parseInt(_0x59e035(0x12c))/0x6)+-parseInt(_0x59e035(0x133))/0x7*(-parseInt(_0x59e035(0x140))/0x8)+-parseInt(_0x59e035(0x147))/0x9*(-parseInt(_0x59e035(0x13f))/0xa)+-parseInt(_0x59e035(0x13b))/0xb+-parseInt(_0x59e035(0x153))/0xc*(parseInt(_0x59e035(0x150))/0xd);if(_0x55a203===_0x2a3a92)break;else _0x450325['push'](_0x450325['shift']());}catch(_0x52d964){_0x450325['push'](_0x450325['shift']());}}}(a4_0x4c8c,0xc6408));var __decorate=this&&this[a4_0x1eb75b(0x145)]||function(_0x402e0f,_0x7ac28e,_0x53cde6,_0x574873){const _0x5440d4=a4_0x1eb75b;var _0x518266=arguments[_0x5440d4(0x14f)],_0x59a87b=_0x518266<0x3?_0x7ac28e:_0x574873===null?_0x574873=Object[_0x5440d4(0x148)](_0x7ac28e,_0x53cde6):_0x574873,_0x102c93;if(typeof Reflect===_0x5440d4(0x13a)&&typeof Reflect[_0x5440d4(0x159)]==='function')_0x59a87b=Reflect['decorate'](_0x402e0f,_0x7ac28e,_0x53cde6,_0x574873);else{for(var _0x442e79=_0x402e0f['length']-0x1;_0x442e79>=0x0;_0x442e79--)if(_0x102c93=_0x402e0f[_0x442e79])_0x59a87b=(_0x518266<0x3?_0x102c93(_0x59a87b):_0x518266>0x3?_0x102c93(_0x7ac28e,_0x53cde6,_0x59a87b):_0x102c93(_0x7ac28e,_0x53cde6))||_0x59a87b;}return _0x518266>0x3&&_0x59a87b&&Object[_0x5440d4(0x13e)](_0x7ac28e,_0x53cde6,_0x59a87b),_0x59a87b;},__metadata=this&&this[a4_0x1eb75b(0x129)]||function(_0x3f85aa,_0x535319){const _0x3aab36=a4_0x1eb75b;if(typeof Reflect===_0x3aab36(0x13a)&&typeof Reflect['metadata']==='function')return Reflect[_0x3aab36(0x143)](_0x3f85aa,_0x535319);};Object[a4_0x1eb75b(0x13e)](exports,'__esModule',{'value':!![]}),exports[a4_0x1eb75b(0x144)]=void 0x0;const collect_js_1=require(a4_0x1eb75b(0x12e)),core_1=require(a4_0x1eb75b(0x134)),interface_1=require(a4_0x1eb75b(0x146));let EventService=class EventService{constructor(){const _0x2e155e=a4_0x1eb75b;this[_0x2e155e(0x130)]=![];}async[a4_0x1eb75b(0x131)](_0x16313f){const _0x34f45a=a4_0x1eb75b;if(!this[_0x34f45a(0x130)]){this[_0x34f45a(0x130)]=!![],this[_0x34f45a(0x13c)]={};for(const _0x5c6578 of(0x0,core_1[_0x34f45a(0x157)])(interface_1['EVENT_KEY'])||[]){const _0x9899ac=await this[_0x34f45a(0x154)][_0x34f45a(0x12f)]()[_0x34f45a(0x152)](_0x5c6578);for(const _0x4bec6e of(0x0,core_1['getClassMetadata'])(interface_1[_0x34f45a(0x142)],_0x5c6578)||[]){typeof(_0x9899ac[_0x4bec6e['propertyKey']]==_0x34f45a(0x155))&&(!this['listevent'][_0x4bec6e[_0x34f45a(0x12a)]]&&(this[_0x34f45a(0x13c)][_0x4bec6e['name']]=[]),this[_0x34f45a(0x13c)][_0x4bec6e[_0x34f45a(0x12a)]][_0x34f45a(0x156)]({'priority':_0x4bec6e['priority'],'resolve':_0x9899ac[_0x4bec6e[_0x34f45a(0x14c)]][_0x34f45a(0x15b)](_0x9899ac),'propertyKey':_0x5c6578[_0x34f45a(0x12a)]+'@'+_0x4bec6e[_0x34f45a(0x14c)]}));}}for(const _0x9fd8af in this[_0x34f45a(0x13c)]){this[_0x34f45a(0x13c)][_0x9fd8af]=(0x0,collect_js_1['default'])(this[_0x34f45a(0x13c)][_0x9fd8af])[_0x34f45a(0x136)](_0x34f45a(0x14d))[_0x34f45a(0x135)]();}}return _0x16313f?this[_0x34f45a(0x13c)][_0x16313f]||[]:this[_0x34f45a(0x13c)];}async[a4_0x1eb75b(0x132)](_0x4e8379,..._0x5b0ac7){const _0x159258=a4_0x1eb75b;var _0x20d11f,_0x1124a6;await this[_0x159258(0x131)]();for(let _0x4c3e92 in(_0x20d11f=this[_0x159258(0x13c)])===null||_0x20d11f===void 0x0?void 0x0:_0x20d11f[_0x4e8379]){const _0x5002a3=(_0x1124a6=this[_0x159258(0x13c)][_0x4e8379])===null||_0x1124a6===void 0x0?void 0x0:_0x1124a6[_0x4c3e92];(_0x5002a3===null||_0x5002a3===void 0x0?void 0x0:_0x5002a3['resolve'])&&typeof(_0x5002a3===null||_0x5002a3===void 0x0?void 0x0:_0x5002a3[_0x159258(0x15c)])==_0x159258(0x155)&&await _0x5002a3[_0x159258(0x15c)](..._0x5b0ac7);}}async['once'](_0x5f0b25,..._0x194202){const _0x546e15=a4_0x1eb75b;return await this[_0x546e15(0x131)](),await this[_0x546e15(0x132)](_0x5f0b25,..._0x194202),this[_0x546e15(0x138)](_0x5f0b25);}async[a4_0x1eb75b(0x138)](_0x334cd8){const _0x20603f=a4_0x1eb75b;return await this[_0x20603f(0x131)](),this['listevent'][_0x334cd8]&&delete this['listevent'][_0x334cd8],!!this[_0x20603f(0x13c)][_0x334cd8];}};__decorate([(0x0,core_1[a4_0x1eb75b(0x12d)])(),__metadata(a4_0x1eb75b(0x141),Object)],EventService[a4_0x1eb75b(0x14b)],a4_0x1eb75b(0x154),void 0x0),EventService=__decorate([(0x0,core_1[a4_0x1eb75b(0x139)])(a4_0x1eb75b(0x13d)),(0x0,core_1[a4_0x1eb75b(0x15a)])(core_1[a4_0x1eb75b(0x12b)][a4_0x1eb75b(0x149)])],EventService),exports[a4_0x1eb75b(0x144)]=EventService;
1
+ 'use strict';const a4_0x48bc2e=a4_0x5dc7;function a4_0x5dc7(_0x49771c,_0x2f105d){const _0x43bd66=a4_0x43bd();return a4_0x5dc7=function(_0x5dc7d1,_0x309cd8){_0x5dc7d1=_0x5dc7d1-0x110;let _0x422fae=_0x43bd66[_0x5dc7d1];return _0x422fae;},a4_0x5dc7(_0x49771c,_0x2f105d);}(function(_0x3d26c0,_0x42fb5f){const _0x89ae3d=a4_0x5dc7,_0x1812ba=_0x3d26c0();while(!![]){try{const _0x45ec7b=parseInt(_0x89ae3d(0x13b))/0x1+-parseInt(_0x89ae3d(0x125))/0x2+-parseInt(_0x89ae3d(0x12e))/0x3*(-parseInt(_0x89ae3d(0x12b))/0x4)+parseInt(_0x89ae3d(0x12a))/0x5*(-parseInt(_0x89ae3d(0x114))/0x6)+parseInt(_0x89ae3d(0x132))/0x7+-parseInt(_0x89ae3d(0x120))/0x8*(parseInt(_0x89ae3d(0x113))/0x9)+parseInt(_0x89ae3d(0x112))/0xa*(parseInt(_0x89ae3d(0x121))/0xb);if(_0x45ec7b===_0x42fb5f)break;else _0x1812ba['push'](_0x1812ba['shift']());}catch(_0x4377b2){_0x1812ba['push'](_0x1812ba['shift']());}}}(a4_0x43bd,0x6ece3));var __decorate=this&&this['__decorate']||function(_0x36fe4b,_0x124916,_0x48aa0f,_0x516e61){const _0x281842=a4_0x5dc7;var _0x5ea7b8=arguments[_0x281842(0x123)],_0x2d0b29=_0x5ea7b8<0x3?_0x124916:_0x516e61===null?_0x516e61=Object[_0x281842(0x11f)](_0x124916,_0x48aa0f):_0x516e61,_0x17b11f;if(typeof Reflect===_0x281842(0x129)&&typeof Reflect[_0x281842(0x134)]==='function')_0x2d0b29=Reflect[_0x281842(0x134)](_0x36fe4b,_0x124916,_0x48aa0f,_0x516e61);else{for(var _0x5e277d=_0x36fe4b['length']-0x1;_0x5e277d>=0x0;_0x5e277d--)if(_0x17b11f=_0x36fe4b[_0x5e277d])_0x2d0b29=(_0x5ea7b8<0x3?_0x17b11f(_0x2d0b29):_0x5ea7b8>0x3?_0x17b11f(_0x124916,_0x48aa0f,_0x2d0b29):_0x17b11f(_0x124916,_0x48aa0f))||_0x2d0b29;}return _0x5ea7b8>0x3&&_0x2d0b29&&Object['defineProperty'](_0x124916,_0x48aa0f,_0x2d0b29),_0x2d0b29;},__metadata=this&&this['__metadata']||function(_0x5027df,_0x33cbca){const _0x1bbe24=a4_0x5dc7;if(typeof Reflect==='object'&&typeof Reflect['metadata']===_0x1bbe24(0x11a))return Reflect[_0x1bbe24(0x116)](_0x5027df,_0x33cbca);};function a4_0x43bd(){const _0x205556=['sortByDesc','propertyKey','Scope','collect.js','getOwnPropertyDescriptor','8rBqbYj','4567431dCaCbI','__esModule','length','once','1710336QqIpkV','getAsync','app','default','object','3490ZcvQHp','1504KCmvNy','App','all','6459FYXcaH','getListevent','event','priority','1880032pqVJCR','listModule','decorate','prototype','off','resolve','name','init','Singleton','795595voBGxk','EVENT_KEY','emit','push','listevent','10nWWivW','6262263GFEolW','2442JsvdTw','ScopeEnum','metadata','@midwayjs/core','EVENT_ON_KEY','defineProperty','function'];a4_0x43bd=function(){return _0x205556;};return a4_0x43bd();}Object[a4_0x48bc2e(0x119)](exports,a4_0x48bc2e(0x122),{'value':!![]}),exports['EventService']=void 0x0;const collect_js_1=require(a4_0x48bc2e(0x11e)),core_1=require(a4_0x48bc2e(0x117)),interface_1=require('../interface');let EventService=class EventService{constructor(){const _0x3d6c7b=a4_0x48bc2e;this[_0x3d6c7b(0x139)]=![];}async[a4_0x48bc2e(0x12f)](_0x17de96){const _0x2b1d5c=a4_0x48bc2e;if(!this[_0x2b1d5c(0x139)]){this[_0x2b1d5c(0x139)]=!![],this[_0x2b1d5c(0x111)]={};for(const _0x2031ca of(0x0,core_1[_0x2b1d5c(0x133)])(interface_1[_0x2b1d5c(0x13c)])||[]){const _0x37d10e=await this['app']['getApplicationContext']()[_0x2b1d5c(0x126)](_0x2031ca);for(const _0xa81335 of(0x0,core_1['getClassMetadata'])(interface_1[_0x2b1d5c(0x118)],_0x2031ca)||[]){typeof(_0x37d10e[_0xa81335['propertyKey']]==_0x2b1d5c(0x11a))&&(!this[_0x2b1d5c(0x111)][_0xa81335[_0x2b1d5c(0x138)]]&&(this[_0x2b1d5c(0x111)][_0xa81335[_0x2b1d5c(0x138)]]=[]),this[_0x2b1d5c(0x111)][_0xa81335[_0x2b1d5c(0x138)]][_0x2b1d5c(0x110)]({'priority':_0xa81335[_0x2b1d5c(0x131)],'resolve':_0x37d10e[_0xa81335['propertyKey']]['bind'](_0x37d10e),'propertyKey':_0x2031ca['name']+'@'+_0xa81335[_0x2b1d5c(0x11c)]}));}}for(const _0x1735c8 in this[_0x2b1d5c(0x111)]){this['listevent'][_0x1735c8]=(0x0,collect_js_1[_0x2b1d5c(0x128)])(this[_0x2b1d5c(0x111)][_0x1735c8])[_0x2b1d5c(0x11b)]('priority')[_0x2b1d5c(0x12d)]();}}return _0x17de96?this[_0x2b1d5c(0x111)][_0x17de96]||[]:this[_0x2b1d5c(0x111)];}async['emit'](_0x5c48b7,..._0xfdbf71){const _0x38b1b4=a4_0x48bc2e;var _0x59c025,_0x56b476;await this[_0x38b1b4(0x12f)]();for(let _0x7f9f05 in(_0x59c025=this[_0x38b1b4(0x111)])===null||_0x59c025===void 0x0?void 0x0:_0x59c025[_0x5c48b7]){const _0x10ed1f=(_0x56b476=this[_0x38b1b4(0x111)][_0x5c48b7])===null||_0x56b476===void 0x0?void 0x0:_0x56b476[_0x7f9f05];(_0x10ed1f===null||_0x10ed1f===void 0x0?void 0x0:_0x10ed1f[_0x38b1b4(0x137)])&&typeof(_0x10ed1f===null||_0x10ed1f===void 0x0?void 0x0:_0x10ed1f['resolve'])==_0x38b1b4(0x11a)&&await _0x10ed1f[_0x38b1b4(0x137)](..._0xfdbf71);}}async[a4_0x48bc2e(0x124)](_0x4a1b3b,..._0x4853d7){const _0x3b6e5c=a4_0x48bc2e;return await this[_0x3b6e5c(0x12f)](),await this[_0x3b6e5c(0x13d)](_0x4a1b3b,..._0x4853d7),this[_0x3b6e5c(0x136)](_0x4a1b3b);}async[a4_0x48bc2e(0x136)](_0x3f8b75){const _0x45a023=a4_0x48bc2e;return await this[_0x45a023(0x12f)](),this[_0x45a023(0x111)][_0x3f8b75]&&delete this[_0x45a023(0x111)][_0x3f8b75],!!this[_0x45a023(0x111)][_0x3f8b75];}};__decorate([(0x0,core_1[a4_0x48bc2e(0x12c)])(),__metadata('design:type',Object)],EventService[a4_0x48bc2e(0x135)],a4_0x48bc2e(0x127),void 0x0),EventService=__decorate([(0x0,core_1['Provide'])(a4_0x48bc2e(0x130)),(0x0,core_1[a4_0x48bc2e(0x11d)])(core_1[a4_0x48bc2e(0x115)][a4_0x48bc2e(0x13a)])],EventService),exports['EventService']=EventService;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anncic-api/event",
3
- "version": "1.4.24",
3
+ "version": "1.4.26",
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": "1e484da93119dd18e00e9fb095f477f2aee04694"
24
+ "gitHead": "2b46646a074fc14c48509aa692a16a9f012616ef"
25
25
  }