@anncic-api/event 1.1.0 → 1.1.3

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_0x17300b=a0_0x3b9e;(function(_0x265939,_0x5322e3){var _0x51f011=a0_0x3b9e,_0x79a156=_0x265939();while(!![]){try{var _0x5d9f38=-parseInt(_0x51f011(0x1a4))/0x1+-parseInt(_0x51f011(0x198))/0x2*(parseInt(_0x51f011(0x199))/0x3)+parseInt(_0x51f011(0x1a7))/0x4+parseInt(_0x51f011(0x19d))/0x5+-parseInt(_0x51f011(0x1ab))/0x6+-parseInt(_0x51f011(0x1aa))/0x7+parseInt(_0x51f011(0x19a))/0x8;if(_0x5d9f38===_0x5322e3)break;else _0x79a156['push'](_0x79a156['shift']());}catch(_0x2d0c91){_0x79a156['push'](_0x79a156['shift']());}}}(a0_0x3162,0x9d360));var __decorate=this&&this['__decorate']||function(_0x2bb753,_0xeb528b,_0x2a3556,_0x6e6403){var _0x7aad3f=a0_0x3b9e,_0x2814d0=arguments[_0x7aad3f(0x1af)],_0x61102f=_0x2814d0<0x3?_0xeb528b:_0x6e6403===null?_0x6e6403=Object[_0x7aad3f(0x1a0)](_0xeb528b,_0x2a3556):_0x6e6403,_0x3f35e5;if(typeof Reflect===_0x7aad3f(0x195)&&typeof Reflect[_0x7aad3f(0x1a2)]===_0x7aad3f(0x1a9))_0x61102f=Reflect[_0x7aad3f(0x1a2)](_0x2bb753,_0xeb528b,_0x2a3556,_0x6e6403);else{for(var _0x57fa57=_0x2bb753['length']-0x1;_0x57fa57>=0x0;_0x57fa57--)if(_0x3f35e5=_0x2bb753[_0x57fa57])_0x61102f=(_0x2814d0<0x3?_0x3f35e5(_0x61102f):_0x2814d0>0x3?_0x3f35e5(_0xeb528b,_0x2a3556,_0x61102f):_0x3f35e5(_0xeb528b,_0x2a3556))||_0x61102f;}return _0x2814d0>0x3&&_0x61102f&&Object[_0x7aad3f(0x1b0)](_0xeb528b,_0x2a3556,_0x61102f),_0x61102f;},__metadata=this&&this[a0_0x17300b(0x19b)]||function(_0x5af687,_0x12ae18){var _0x50ecab=a0_0x17300b;if(typeof Reflect===_0x50ecab(0x195)&&typeof Reflect[_0x50ecab(0x196)]===_0x50ecab(0x1a9))return Reflect['metadata'](_0x5af687,_0x12ae18);};function a0_0x3162(){var _0x40d089=['anncic-api:event','onReady','@midwayjs/decorator','length','defineProperty','__esModule','design:type','object','metadata','config','2huosbB','60129Usldca','26412296snFMhZ','__metadata','Configuration','140635uiJgAT','@midwayjs/core','MidwayConfigService','getOwnPropertyDescriptor','decorator','decorate','prototype','1283126IhDzMY','MidwayDecoratorService','CustomConfiguration','428544wdrGhS','Inject','function','3291876sgAICD','6116562UQbknK'];a0_0x3162=function(){return _0x40d089;};return a0_0x3162();}Object[a0_0x17300b(0x1b0)](exports,a0_0x17300b(0x1b1),{'value':!![]}),exports[a0_0x17300b(0x1a6)]=void 0x0;function a0_0x3b9e(_0x5ca2ef,_0x128c28){var _0x3162a6=a0_0x3162();return a0_0x3b9e=function(_0x3b9eca,_0x1187a7){_0x3b9eca=_0x3b9eca-0x194;var _0x14eca0=_0x3162a6[_0x3b9eca];return _0x14eca0;},a0_0x3b9e(_0x5ca2ef,_0x128c28);}const decorator_1=require(a0_0x17300b(0x1ae)),core_1=require(a0_0x17300b(0x19e));let CustomConfiguration=class CustomConfiguration{async[a0_0x17300b(0x1ad)](){}};__decorate([(0x0,decorator_1[a0_0x17300b(0x1a8)])(),__metadata(a0_0x17300b(0x194),core_1[a0_0x17300b(0x19f)])],CustomConfiguration[a0_0x17300b(0x1a3)],a0_0x17300b(0x197),void 0x0),__decorate([(0x0,decorator_1[a0_0x17300b(0x1a8)])(),__metadata('design:type',core_1[a0_0x17300b(0x1a5)])],CustomConfiguration[a0_0x17300b(0x1a3)],a0_0x17300b(0x1a1),void 0x0),CustomConfiguration=__decorate([(0x0,decorator_1[a0_0x17300b(0x19c)])({'conflictCheck':![],'namespace':a0_0x17300b(0x1ac)})],CustomConfiguration),exports['CustomConfiguration']=CustomConfiguration;
1
+ 'use strict';var a0_0x26fb61=a0_0x5b32;(function(_0x12f0c1,_0x2547ab){var _0x10948d=a0_0x5b32,_0x4a6cb1=_0x12f0c1();while(!![]){try{var _0x3dff70=parseInt(_0x10948d(0x1fa))/0x1*(-parseInt(_0x10948d(0x1e8))/0x2)+-parseInt(_0x10948d(0x1ef))/0x3*(parseInt(_0x10948d(0x1f0))/0x4)+-parseInt(_0x10948d(0x1e1))/0x5*(-parseInt(_0x10948d(0x1e7))/0x6)+-parseInt(_0x10948d(0x1e2))/0x7*(-parseInt(_0x10948d(0x1ec))/0x8)+parseInt(_0x10948d(0x1f2))/0x9+parseInt(_0x10948d(0x1fd))/0xa*(-parseInt(_0x10948d(0x1f9))/0xb)+parseInt(_0x10948d(0x1ed))/0xc*(parseInt(_0x10948d(0x1e9))/0xd);if(_0x3dff70===_0x2547ab)break;else _0x4a6cb1['push'](_0x4a6cb1['shift']());}catch(_0x3621e6){_0x4a6cb1['push'](_0x4a6cb1['shift']());}}}(a0_0x4617,0x9f4aa));var __decorate=this&&this['__decorate']||function(_0x95b08,_0x10e10f,_0x4fdf4f,_0x26bff7){var _0x2680a7=a0_0x5b32,_0x1bdd29=arguments['length'],_0x5b0e6e=_0x1bdd29<0x3?_0x10e10f:_0x26bff7===null?_0x26bff7=Object[_0x2680a7(0x1fb)](_0x10e10f,_0x4fdf4f):_0x26bff7,_0x4ee34f;if(typeof Reflect===_0x2680a7(0x1ee)&&typeof Reflect['decorate']==='function')_0x5b0e6e=Reflect[_0x2680a7(0x1e5)](_0x95b08,_0x10e10f,_0x4fdf4f,_0x26bff7);else{for(var _0x544ad5=_0x95b08[_0x2680a7(0x1fc)]-0x1;_0x544ad5>=0x0;_0x544ad5--)if(_0x4ee34f=_0x95b08[_0x544ad5])_0x5b0e6e=(_0x1bdd29<0x3?_0x4ee34f(_0x5b0e6e):_0x1bdd29>0x3?_0x4ee34f(_0x10e10f,_0x4fdf4f,_0x5b0e6e):_0x4ee34f(_0x10e10f,_0x4fdf4f))||_0x5b0e6e;}return _0x1bdd29>0x3&&_0x5b0e6e&&Object[_0x2680a7(0x1f5)](_0x10e10f,_0x4fdf4f,_0x5b0e6e),_0x5b0e6e;},__metadata=this&&this[a0_0x26fb61(0x1f7)]||function(_0x23ac3f,_0x172ac9){var _0x2d8d01=a0_0x26fb61;if(typeof Reflect===_0x2d8d01(0x1ee)&&typeof Reflect[_0x2d8d01(0x1f1)]==='function')return Reflect[_0x2d8d01(0x1f1)](_0x23ac3f,_0x172ac9);};function a0_0x4617(){var _0x5002fd=['__esModule','210WFmYJm','825181YxuIgW','design:type','prototype','decorate','MidwayDecoratorService','160794SObEST','610774mmPfJJ','1554605XbGzID','onReady','decorator','8BBKfWw','180gXQKQo','object','879sjILgG','4468cXDwOs','metadata','435411iRMZcy','CustomConfiguration','Inject','defineProperty','config','__metadata','@midwayjs/core','1006665eTFQse','3IPbOkQ','getOwnPropertyDescriptor','length','130SlWuNF','Configuration'];a0_0x4617=function(){return _0x5002fd;};return a0_0x4617();}Object[a0_0x26fb61(0x1f5)](exports,a0_0x26fb61(0x1ff),{'value':!![]}),exports[a0_0x26fb61(0x1f3)]=void 0x0;const decorator_1=require('@midwayjs/decorator'),core_1=require(a0_0x26fb61(0x1f8));function a0_0x5b32(_0xcf2ac5,_0x348f5f){var _0x4617e8=a0_0x4617();return a0_0x5b32=function(_0x5b3266,_0x11cc1c){_0x5b3266=_0x5b3266-0x1e1;var _0x1ca753=_0x4617e8[_0x5b3266];return _0x1ca753;},a0_0x5b32(_0xcf2ac5,_0x348f5f);}let CustomConfiguration=class CustomConfiguration{async[a0_0x26fb61(0x1ea)](){}};__decorate([(0x0,decorator_1[a0_0x26fb61(0x1f4)])(),__metadata(a0_0x26fb61(0x1e3),core_1['MidwayConfigService'])],CustomConfiguration['prototype'],a0_0x26fb61(0x1f6),void 0x0),__decorate([(0x0,decorator_1[a0_0x26fb61(0x1f4)])(),__metadata(a0_0x26fb61(0x1e3),core_1[a0_0x26fb61(0x1e6)])],CustomConfiguration[a0_0x26fb61(0x1e4)],a0_0x26fb61(0x1eb),void 0x0),CustomConfiguration=__decorate([(0x0,decorator_1[a0_0x26fb61(0x1fe)])({'conflictCheck':![],'namespace':'anncic-api:event'})],CustomConfiguration),exports['CustomConfiguration']=CustomConfiguration;
@@ -1 +1 @@
1
- 'use strict';const a1_0x463873=a1_0x567f;(function(_0x3e8d8c,_0x5964d3){const _0x469f37=a1_0x567f,_0x2f439b=_0x3e8d8c();while(!![]){try{const _0x5d686b=parseInt(_0x469f37(0x172))/0x1+parseInt(_0x469f37(0x173))/0x2*(parseInt(_0x469f37(0x181))/0x3)+parseInt(_0x469f37(0x180))/0x4+parseInt(_0x469f37(0x183))/0x5+parseInt(_0x469f37(0x187))/0x6*(-parseInt(_0x469f37(0x17c))/0x7)+-parseInt(_0x469f37(0x182))/0x8*(-parseInt(_0x469f37(0x17e))/0x9)+-parseInt(_0x469f37(0x179))/0xa;if(_0x5d686b===_0x5964d3)break;else _0x2f439b['push'](_0x2f439b['shift']());}catch(_0xa80a42){_0x2f439b['push'](_0x2f439b['shift']());}}}(a1_0x3f87,0xb2058));function a1_0x567f(_0x469b08,_0x6b8953){const _0x3f8720=a1_0x3f87();return a1_0x567f=function(_0x567fb3,_0x42f0d2){_0x567fb3=_0x567fb3-0x172;let _0x345c09=_0x3f8720[_0x567fb3];return _0x345c09;},a1_0x567f(_0x469b08,_0x6b8953);}Object[a1_0x463873(0x186)](exports,a1_0x463873(0x184),{'value':!![]}),exports[a1_0x463873(0x175)]=void 0x0;const decorator_1=require('@midwayjs/decorator'),interface_1=require(a1_0x463873(0x177));function Event(){return _0x44d340=>{const _0x3181f6=a1_0x567f;(0x0,decorator_1[_0x3181f6(0x17b)])()(_0x44d340),(0x0,decorator_1[_0x3181f6(0x17f)])(interface_1[_0x3181f6(0x174)],_0x44d340),(0x0,decorator_1[_0x3181f6(0x176)])(decorator_1[_0x3181f6(0x185)][_0x3181f6(0x178)],{'allowDowngrade':!![]})(_0x44d340);};}function a1_0x3f87(){const _0x5a9946=['5076720JrtdeX','EVENT_ON_KEY','Provide','1927842halBfN','attachClassMetadata','7299IBynCY','saveModule','3535804vrETih','3UnctTp','416JOtSnR','1490585KEUjnP','__esModule','ScopeEnum','defineProperty','24ngyFeV','770043HHYXCF','688378wIrtVP','EVENT_KEY','Event','Scope','../interface','Request'];a1_0x3f87=function(){return _0x5a9946;};return a1_0x3f87();}exports[a1_0x463873(0x175)]=Event,Event['On']=function(_0xee0b5f,_0x4fbb9e=0x0){return(_0x1a7f57,_0x4fdf01,_0x38c931)=>{const _0x1cf443=a1_0x567f;return(0x0,decorator_1[_0x1cf443(0x17d)])(interface_1[_0x1cf443(0x17a)],{'name':_0xee0b5f,'priority':_0x4fbb9e,'propertyKey':_0x4fdf01,'descriptor':_0x38c931},_0x1a7f57),_0x38c931;};};
1
+ 'use strict';const a1_0x4b2068=a1_0x19e3;(function(_0x417a90,_0x201fb0){const _0x17bed4=a1_0x19e3,_0x44ffd5=_0x417a90();while(!![]){try{const _0x1d5a3c=-parseInt(_0x17bed4(0x197))/0x1*(-parseInt(_0x17bed4(0x189))/0x2)+parseInt(_0x17bed4(0x196))/0x3*(parseInt(_0x17bed4(0x18c))/0x4)+parseInt(_0x17bed4(0x18d))/0x5*(parseInt(_0x17bed4(0x198))/0x6)+-parseInt(_0x17bed4(0x19b))/0x7*(parseInt(_0x17bed4(0x193))/0x8)+parseInt(_0x17bed4(0x19c))/0x9*(-parseInt(_0x17bed4(0x18e))/0xa)+parseInt(_0x17bed4(0x18a))/0xb+-parseInt(_0x17bed4(0x187))/0xc*(parseInt(_0x17bed4(0x191))/0xd);if(_0x1d5a3c===_0x201fb0)break;else _0x44ffd5['push'](_0x44ffd5['shift']());}catch(_0xd6d41c){_0x44ffd5['push'](_0x44ffd5['shift']());}}}(a1_0x2069,0xb5277));function a1_0x2069(){const _0x1b51d2=['15CRTXxR','8396562qoAirj','defineProperty','EVENT_KEY','7eOKMiN','9tBNzCF','1236ZRoiam','Scope','104982bfIjvi','10300015BjdrXs','__esModule','12028YasxTH','5MsXIOD','8800160iqMjGt','attachClassMetadata','../interface','174057sfFeyo','Request','11320616WRYIIV','@midwayjs/decorator','Event','1290HDFWJN'];a1_0x2069=function(){return _0x1b51d2;};return a1_0x2069();}Object[a1_0x4b2068(0x199)](exports,a1_0x4b2068(0x18b),{'value':!![]}),exports[a1_0x4b2068(0x195)]=void 0x0;const decorator_1=require(a1_0x4b2068(0x194)),interface_1=require(a1_0x4b2068(0x190));function a1_0x19e3(_0x4c88e4,_0x928718){const _0x2069a5=a1_0x2069();return a1_0x19e3=function(_0x19e304,_0x54acda){_0x19e304=_0x19e304-0x187;let _0x341478=_0x2069a5[_0x19e304];return _0x341478;},a1_0x19e3(_0x4c88e4,_0x928718);}function Event(){return _0x165f60=>{const _0x5670ae=a1_0x19e3;(0x0,decorator_1['Provide'])()(_0x165f60),(0x0,decorator_1['saveModule'])(interface_1[_0x5670ae(0x19a)],_0x165f60),(0x0,decorator_1[_0x5670ae(0x188)])(decorator_1['ScopeEnum'][_0x5670ae(0x192)],{'allowDowngrade':!![]})(_0x165f60);};}exports[a1_0x4b2068(0x195)]=Event,Event['On']=function(_0x41c702,_0x3b8178=0x0){return(_0x60ff5a,_0x4eb275,_0x2146a3)=>{const _0x1bd0fa=a1_0x19e3;return(0x0,decorator_1[_0x1bd0fa(0x18f)])(interface_1['EVENT_ON_KEY'],{'name':_0x41c702,'priority':_0x3b8178,'propertyKey':_0x4eb275,'descriptor':_0x2146a3},_0x60ff5a),_0x2146a3;};};
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';var a2_0x24fa8f=a2_0x2a87;function a2_0x2a87(_0x457748,_0xb2fe45){var _0x40352a=a2_0x4035();return a2_0x2a87=function(_0x2a87eb,_0x255230){_0x2a87eb=_0x2a87eb-0x1e8;var _0x4d4228=_0x40352a[_0x2a87eb];return _0x4d4228;},a2_0x2a87(_0x457748,_0xb2fe45);}(function(_0x4263f5,_0x2c7232){var _0x322dbb=a2_0x2a87,_0xa50047=_0x4263f5();while(!![]){try{var _0x5c950b=-parseInt(_0x322dbb(0x1f5))/0x1*(parseInt(_0x322dbb(0x1f1))/0x2)+-parseInt(_0x322dbb(0x1f4))/0x3*(parseInt(_0x322dbb(0x1e9))/0x4)+-parseInt(_0x322dbb(0x1f7))/0x5+parseInt(_0x322dbb(0x1ed))/0x6*(parseInt(_0x322dbb(0x1e8))/0x7)+-parseInt(_0x322dbb(0x1ec))/0x8+-parseInt(_0x322dbb(0x1f2))/0x9*(parseInt(_0x322dbb(0x1f3))/0xa)+parseInt(_0x322dbb(0x1f9))/0xb;if(_0x5c950b===_0x2c7232)break;else _0xa50047['push'](_0xa50047['shift']());}catch(_0x43320d){_0xa50047['push'](_0xa50047['shift']());}}}(a2_0x4035,0xe4392));Object[a2_0x24fa8f(0x1ee)](exports,'__esModule',{'value':!![]}),exports[a2_0x24fa8f(0x1f6)]=exports[a2_0x24fa8f(0x1f8)]=exports['Event']=void 0x0;var Event_1=require(a2_0x24fa8f(0x1eb));Object[a2_0x24fa8f(0x1ee)](exports,a2_0x24fa8f(0x1f0),{'enumerable':!![],'get':function(){var _0x5aae97=a2_0x24fa8f;return Event_1[_0x5aae97(0x1f0)];}});function a2_0x4035(){var _0x64ef2f=['11036lFoZyB','./configuration','./decorator/Event','6459464KnzCbl','18Nypqvg','defineProperty','./service/EventService','Event','18JiKCJq','468dbNOFT','205330wqmQdo','822EnkrhD','9427ovPJHg','Configuration','641210QZRuAv','EventService','41449793DRDOqk','25291xmfbAP'];a2_0x4035=function(){return _0x64ef2f;};return a2_0x4035();}var EventService_1=require(a2_0x24fa8f(0x1ef));Object[a2_0x24fa8f(0x1ee)](exports,a2_0x24fa8f(0x1f8),{'enumerable':!![],'get':function(){return EventService_1['EventService'];}});var configuration_1=require(a2_0x24fa8f(0x1ea));Object[a2_0x24fa8f(0x1ee)](exports,a2_0x24fa8f(0x1f6),{'enumerable':!![],'get':function(){return configuration_1['CustomConfiguration'];}});
1
+ 'use strict';var a2_0x8e6e3a=a2_0x390e;(function(_0x17049a,_0x555806){var _0x14580d=a2_0x390e,_0x37617b=_0x17049a();while(!![]){try{var _0x45f8f3=parseInt(_0x14580d(0x97))/0x1+-parseInt(_0x14580d(0xa1))/0x2+-parseInt(_0x14580d(0x98))/0x3*(parseInt(_0x14580d(0x9d))/0x4)+-parseInt(_0x14580d(0x99))/0x5+-parseInt(_0x14580d(0xa3))/0x6+-parseInt(_0x14580d(0x95))/0x7*(-parseInt(_0x14580d(0x9c))/0x8)+parseInt(_0x14580d(0xa4))/0x9*(parseInt(_0x14580d(0xa0))/0xa);if(_0x45f8f3===_0x555806)break;else _0x37617b['push'](_0x37617b['shift']());}catch(_0x21cf9f){_0x37617b['push'](_0x37617b['shift']());}}}(a2_0x3c5f,0x592d9));Object[a2_0x8e6e3a(0x9b)](exports,a2_0x8e6e3a(0xa6),{'value':!![]}),exports[a2_0x8e6e3a(0x96)]=exports[a2_0x8e6e3a(0xa5)]=exports[a2_0x8e6e3a(0x9a)]=void 0x0;function a2_0x390e(_0x43065e,_0x3ac591){var _0x3c5f6a=a2_0x3c5f();return a2_0x390e=function(_0x390ede,_0x206b9b){_0x390ede=_0x390ede-0x94;var _0x19673b=_0x3c5f6a[_0x390ede];return _0x19673b;},a2_0x390e(_0x43065e,_0x3ac591);}var Event_1=require(a2_0x8e6e3a(0x94));Object[a2_0x8e6e3a(0x9b)](exports,'Event',{'enumerable':!![],'get':function(){var _0x4d8c3b=a2_0x8e6e3a;return Event_1[_0x4d8c3b(0x9a)];}});function a2_0x3c5f(){var _0x3b3eba=['./decorator/Event','161rKoGLR','Configuration','651200uyAJer','3wcVsOW','3519810nZKciG','Event','defineProperty','9880mMknbQ','1215164BAOHMV','CustomConfiguration','./configuration','2394020WQdkvE','234404yZzsPN','./service/EventService','881910yKXuel','36oTVnvr','EventService','__esModule'];a2_0x3c5f=function(){return _0x3b3eba;};return a2_0x3c5f();}var EventService_1=require(a2_0x8e6e3a(0xa2));Object['defineProperty'](exports,a2_0x8e6e3a(0xa5),{'enumerable':!![],'get':function(){var _0x2682a9=a2_0x8e6e3a;return EventService_1[_0x2682a9(0xa5)];}});var configuration_1=require(a2_0x8e6e3a(0x9f));Object[a2_0x8e6e3a(0x9b)](exports,a2_0x8e6e3a(0x96),{'enumerable':!![],'get':function(){var _0x47964b=a2_0x8e6e3a;return configuration_1[_0x47964b(0x9e)];}});
package/dist/interface.js CHANGED
@@ -1 +1 @@
1
- 'use strict';var a3_0x4b2e53=a3_0x5232;(function(_0x295a8f,_0x1ad35d){var _0xaf9d6d=a3_0x5232,_0x2d4953=_0x295a8f();while(!![]){try{var _0xa34a71=parseInt(_0xaf9d6d(0x199))/0x1+-parseInt(_0xaf9d6d(0x194))/0x2*(parseInt(_0xaf9d6d(0x18d))/0x3)+-parseInt(_0xaf9d6d(0x196))/0x4+parseInt(_0xaf9d6d(0x197))/0x5*(parseInt(_0xaf9d6d(0x18f))/0x6)+parseInt(_0xaf9d6d(0x19b))/0x7*(-parseInt(_0xaf9d6d(0x19a))/0x8)+parseInt(_0xaf9d6d(0x18e))/0x9+-parseInt(_0xaf9d6d(0x190))/0xa*(-parseInt(_0xaf9d6d(0x193))/0xb);if(_0xa34a71===_0x1ad35d)break;else _0x2d4953['push'](_0x2d4953['shift']());}catch(_0x52fbbe){_0x2d4953['push'](_0x2d4953['shift']());}}}(a3_0x8d1a,0x97796));function a3_0x8d1a(){var _0x4f5ac7=['anncic-api:event:on','defineProperty','1683FntzSf','6TxDzHj','__esModule','2858536BIFLrC','1226930DtgDBn','EVENT_KEY','816300ZSwjpE','1474312DFcGvr','21LZmqpE','anncic-api:event','EVENT_ON_KEY','1220847jIpYGr','6545457yKfhXb','30zkBRlB','22110WoXmnT'];a3_0x8d1a=function(){return _0x4f5ac7;};return a3_0x8d1a();}function a3_0x5232(_0x27a730,_0x46a531){var _0x8d1a0c=a3_0x8d1a();return a3_0x5232=function(_0x523249,_0x5adc3e){_0x523249=_0x523249-0x18d;var _0x51d881=_0x8d1a0c[_0x523249];return _0x51d881;},a3_0x5232(_0x27a730,_0x46a531);}Object[a3_0x4b2e53(0x192)](exports,a3_0x4b2e53(0x195),{'value':!![]}),exports[a3_0x4b2e53(0x19d)]=exports[a3_0x4b2e53(0x198)]=void 0x0,exports[a3_0x4b2e53(0x198)]=a3_0x4b2e53(0x19c),exports['EVENT_ON_KEY']=a3_0x4b2e53(0x191);
1
+ 'use strict';var a3_0x284bc6=a3_0x3941;(function(_0x48d653,_0x417761){var _0x330aa1=a3_0x3941,_0x2e61c4=_0x48d653();while(!![]){try{var _0xf84b9=-parseInt(_0x330aa1(0x90))/0x1+-parseInt(_0x330aa1(0x99))/0x2*(parseInt(_0x330aa1(0x98))/0x3)+parseInt(_0x330aa1(0x95))/0x4+parseInt(_0x330aa1(0x92))/0x5+parseInt(_0x330aa1(0x96))/0x6+-parseInt(_0x330aa1(0x91))/0x7+parseInt(_0x330aa1(0x94))/0x8;if(_0xf84b9===_0x417761)break;else _0x2e61c4['push'](_0x2e61c4['shift']());}catch(_0xeac9b7){_0x2e61c4['push'](_0x2e61c4['shift']());}}}(a3_0x2e5c,0x86aa4));function a3_0x2e5c(){var _0xfafa5=['__esModule','1477815dZJsIt','4XDhGmD','EVENT_KEY','EVENT_ON_KEY','defineProperty','993958JTNZYZ','944426AhZvDG','2886575KDRpeF','anncic-api:event:on','13633480EfxygU','205300pQuQVB','1997094mtCjPJ'];a3_0x2e5c=function(){return _0xfafa5;};return a3_0x2e5c();}function a3_0x3941(_0x27ba38,_0x4659f0){var _0x2e5cd1=a3_0x2e5c();return a3_0x3941=function(_0x3941c3,_0x248af7){_0x3941c3=_0x3941c3-0x8d;var _0x335c76=_0x2e5cd1[_0x3941c3];return _0x335c76;},a3_0x3941(_0x27ba38,_0x4659f0);}Object[a3_0x284bc6(0x8f)](exports,a3_0x284bc6(0x97),{'value':!![]}),exports[a3_0x284bc6(0x8e)]=exports['EVENT_KEY']=void 0x0,exports[a3_0x284bc6(0x8d)]='anncic-api:event',exports[a3_0x284bc6(0x8e)]=a3_0x284bc6(0x93);
@@ -1 +1 @@
1
- 'use strict';const a4_0x4cdab2=a4_0x1b21;(function(_0x379506,_0x1d6f3a){const _0x5b41e2=a4_0x1b21,_0x822532=_0x379506();while(!![]){try{const _0x41d616=parseInt(_0x5b41e2(0x75))/0x1+parseInt(_0x5b41e2(0x9b))/0x2+parseInt(_0x5b41e2(0x9c))/0x3*(parseInt(_0x5b41e2(0x90))/0x4)+-parseInt(_0x5b41e2(0x8f))/0x5*(-parseInt(_0x5b41e2(0x94))/0x6)+parseInt(_0x5b41e2(0x74))/0x7+-parseInt(_0x5b41e2(0x8b))/0x8+parseInt(_0x5b41e2(0x97))/0x9*(-parseInt(_0x5b41e2(0x82))/0xa);if(_0x41d616===_0x1d6f3a)break;else _0x822532['push'](_0x822532['shift']());}catch(_0x5e3c36){_0x822532['push'](_0x822532['shift']());}}}(a4_0x38b0,0xa4747));var __decorate=this&&this[a4_0x4cdab2(0x91)]||function(_0x366448,_0x2f5a69,_0x424e9a,_0x491c64){const _0x133624=a4_0x4cdab2;var _0x1a1949=arguments[_0x133624(0x8d)],_0x1ef3c9=_0x1a1949<0x3?_0x2f5a69:_0x491c64===null?_0x491c64=Object[_0x133624(0x83)](_0x2f5a69,_0x424e9a):_0x491c64,_0x6316;if(typeof Reflect===_0x133624(0x9f)&&typeof Reflect[_0x133624(0x86)]===_0x133624(0x99))_0x1ef3c9=Reflect[_0x133624(0x86)](_0x366448,_0x2f5a69,_0x424e9a,_0x491c64);else{for(var _0xe899fa=_0x366448['length']-0x1;_0xe899fa>=0x0;_0xe899fa--)if(_0x6316=_0x366448[_0xe899fa])_0x1ef3c9=(_0x1a1949<0x3?_0x6316(_0x1ef3c9):_0x1a1949>0x3?_0x6316(_0x2f5a69,_0x424e9a,_0x1ef3c9):_0x6316(_0x2f5a69,_0x424e9a))||_0x1ef3c9;}return _0x1a1949>0x3&&_0x1ef3c9&&Object[_0x133624(0x89)](_0x2f5a69,_0x424e9a,_0x1ef3c9),_0x1ef3c9;},__metadata=this&&this['__metadata']||function(_0x553d97,_0x19c6cc){const _0x2027ce=a4_0x4cdab2;if(typeof Reflect===_0x2027ce(0x9f)&&typeof Reflect[_0x2027ce(0x92)]===_0x2027ce(0x99))return Reflect[_0x2027ce(0x92)](_0x553d97,_0x19c6cc);};Object['defineProperty'](exports,a4_0x4cdab2(0x71),{'value':!![]}),exports['EventService']=void 0x0;const collect_js_1=require(a4_0x4cdab2(0x84)),decorator_1=require('@midwayjs/decorator'),interface_1=require(a4_0x4cdab2(0x7c));let EventService=class EventService{constructor(){const _0x2fa5cb=a4_0x4cdab2;this[_0x2fa5cb(0x93)]=![];}async[a4_0x4cdab2(0x88)](_0x415a0f){const _0x4a8e0b=a4_0x4cdab2;if(!this['init']){this[_0x4a8e0b(0x93)]=!![],this[_0x4a8e0b(0x7d)]={};for(const _0x527155 of(0x0,decorator_1[_0x4a8e0b(0x72)])(interface_1[_0x4a8e0b(0x96)])||[]){const _0x35f95c=await this[_0x4a8e0b(0x7a)][_0x4a8e0b(0x7e)]()[_0x4a8e0b(0x73)](_0x527155);for(const _0x838b3d of(0x0,decorator_1[_0x4a8e0b(0x7f)])(interface_1['EVENT_ON_KEY'],_0x527155)||[]){typeof(_0x35f95c[_0x838b3d[_0x4a8e0b(0x7b)]]=='function')&&(!this[_0x4a8e0b(0x7d)][_0x838b3d['name']]&&(this['listevent'][_0x838b3d[_0x4a8e0b(0x78)]]=[]),this[_0x4a8e0b(0x7d)][_0x838b3d[_0x4a8e0b(0x78)]][_0x4a8e0b(0x85)]({'priority':_0x838b3d[_0x4a8e0b(0x77)],'resolve':_0x35f95c[_0x838b3d[_0x4a8e0b(0x7b)]][_0x4a8e0b(0x8e)](_0x35f95c),'propertyKey':_0x527155[_0x4a8e0b(0x78)]+'@'+_0x838b3d[_0x4a8e0b(0x7b)]}));}}for(const _0x5428c7 in this[_0x4a8e0b(0x7d)]){this['listevent'][_0x5428c7]=(0x0,collect_js_1[_0x4a8e0b(0x9e)])(this['listevent'][_0x5428c7])['sortByDesc'](_0x4a8e0b(0x77))[_0x4a8e0b(0x9d)]();}}return _0x415a0f?this[_0x4a8e0b(0x7d)][_0x415a0f]||[]:this[_0x4a8e0b(0x7d)];}async[a4_0x4cdab2(0x81)](_0x1f276a,..._0x1fe1fa){const _0x586138=a4_0x4cdab2;var _0x225f27,_0x3fbfca;await this[_0x586138(0x88)]();for(let _0x522fd3 in(_0x225f27=this[_0x586138(0x7d)])===null||_0x225f27===void 0x0?void 0x0:_0x225f27[_0x1f276a]){const _0x38b454=(_0x3fbfca=this['listevent'][_0x1f276a])===null||_0x3fbfca===void 0x0?void 0x0:_0x3fbfca[_0x522fd3];(_0x38b454===null||_0x38b454===void 0x0?void 0x0:_0x38b454['resolve'])&&typeof(_0x38b454===null||_0x38b454===void 0x0?void 0x0:_0x38b454[_0x586138(0x80)])==_0x586138(0x99)&&await _0x38b454['resolve'](..._0x1fe1fa);}}async[a4_0x4cdab2(0x9a)](_0x50e0b8,..._0x45958c){const _0x6f17a0=a4_0x4cdab2;return await this[_0x6f17a0(0x88)](),await this[_0x6f17a0(0x81)](_0x50e0b8,..._0x45958c),this['off'](_0x50e0b8);}async['off'](_0x3a25ab){const _0x10affe=a4_0x4cdab2;return await this['getListevent'](),this['listevent'][_0x3a25ab]&&delete this[_0x10affe(0x7d)][_0x3a25ab],!!this[_0x10affe(0x7d)][_0x3a25ab];}};function a4_0x38b0(){const _0x32a7db=['2201096GNhTfV','930AFAnZK','all','default','object','__esModule','listModule','getAsync','6831545yTPXHP','619095udrSDZ','Scope','priority','name','Provide','app','propertyKey','../interface','listevent','getApplicationContext','getClassMetadata','resolve','emit','10pODMNF','getOwnPropertyDescriptor','collect.js','push','decorate','Singleton','getListevent','defineProperty','ScopeEnum','6531064UCuDro','event','length','bind','15NOYERh','2296XcqdJz','__decorate','metadata','init','2172246WndTKR','App','EVENT_KEY','22226859OJIbwo','EventService','function','once'];a4_0x38b0=function(){return _0x32a7db;};return a4_0x38b0();}function a4_0x1b21(_0x5b264e,_0x58dd10){const _0x38b033=a4_0x38b0();return a4_0x1b21=function(_0x1b21c0,_0x397cad){_0x1b21c0=_0x1b21c0-0x71;let _0xce3b87=_0x38b033[_0x1b21c0];return _0xce3b87;},a4_0x1b21(_0x5b264e,_0x58dd10);}__decorate([(0x0,decorator_1[a4_0x4cdab2(0x95)])(),__metadata('design:type',Object)],EventService['prototype'],'app',void 0x0),EventService=__decorate([(0x0,decorator_1[a4_0x4cdab2(0x79)])(a4_0x4cdab2(0x8c)),(0x0,decorator_1[a4_0x4cdab2(0x76)])(decorator_1[a4_0x4cdab2(0x8a)][a4_0x4cdab2(0x87)])],EventService),exports[a4_0x4cdab2(0x98)]=EventService;
1
+ 'use strict';function a4_0x4f44(){const _0x5ca3fc=['686500XNQLiS','once','@midwayjs/decorator','decorate','sortByDesc','1186365Plgeoc','app','getOwnPropertyDescriptor','off','2091384lHGKrp','priority','prototype','listevent','object','EVENT_ON_KEY','4GLrgvm','defineProperty','Provide','getApplicationContext','function','__esModule','metadata','14swCpCR','emit','44WeaqwE','push','119733KjwBBX','propertyKey','all','EventService','945489eKxzww','name','582952gdZvTs','2108508BUyNxF','getListevent','collect.js','resolve','design:type','Singleton','length','listModule','bind','50BFOdIH','init'];a4_0x4f44=function(){return _0x5ca3fc;};return a4_0x4f44();}const a4_0x484db0=a4_0x494c;(function(_0x2dd9a2,_0x524ef4){const _0x28e060=a4_0x494c,_0x210f0f=_0x2dd9a2();while(!![]){try{const _0x17a2ed=-parseInt(_0x28e060(0xdf))/0x1+parseInt(_0x28e060(0xeb))/0x2*(parseInt(_0x28e060(0xdb))/0x3)+parseInt(_0x28e060(0xd0))/0x4*(parseInt(_0x28e060(0xc6))/0x5)+parseInt(_0x28e060(0xe2))/0x6+-parseInt(_0x28e060(0xd7))/0x7*(-parseInt(_0x28e060(0xe1))/0x8)+-parseInt(_0x28e060(0xca))/0x9+parseInt(_0x28e060(0xed))/0xa*(parseInt(_0x28e060(0xd9))/0xb);if(_0x17a2ed===_0x524ef4)break;else _0x210f0f['push'](_0x210f0f['shift']());}catch(_0x3dcf81){_0x210f0f['push'](_0x210f0f['shift']());}}}(a4_0x4f44,0xca60b));var __decorate=this&&this['__decorate']||function(_0x4c5a81,_0x259bd9,_0x16708b,_0x2869c5){const _0x249f83=a4_0x494c;var _0x11cbbe=arguments[_0x249f83(0xe8)],_0x2b65af=_0x11cbbe<0x3?_0x259bd9:_0x2869c5===null?_0x2869c5=Object[_0x249f83(0xc8)](_0x259bd9,_0x16708b):_0x2869c5,_0x18e87e;if(typeof Reflect==='object'&&typeof Reflect[_0x249f83(0xf0)]===_0x249f83(0xd4))_0x2b65af=Reflect[_0x249f83(0xf0)](_0x4c5a81,_0x259bd9,_0x16708b,_0x2869c5);else{for(var _0x5f5816=_0x4c5a81[_0x249f83(0xe8)]-0x1;_0x5f5816>=0x0;_0x5f5816--)if(_0x18e87e=_0x4c5a81[_0x5f5816])_0x2b65af=(_0x11cbbe<0x3?_0x18e87e(_0x2b65af):_0x11cbbe>0x3?_0x18e87e(_0x259bd9,_0x16708b,_0x2b65af):_0x18e87e(_0x259bd9,_0x16708b))||_0x2b65af;}return _0x11cbbe>0x3&&_0x2b65af&&Object[_0x249f83(0xd1)](_0x259bd9,_0x16708b,_0x2b65af),_0x2b65af;},__metadata=this&&this['__metadata']||function(_0x120ff2,_0x1cf5fd){const _0xf7ba16=a4_0x494c;if(typeof Reflect===_0xf7ba16(0xce)&&typeof Reflect[_0xf7ba16(0xd6)]===_0xf7ba16(0xd4))return Reflect['metadata'](_0x120ff2,_0x1cf5fd);};Object[a4_0x484db0(0xd1)](exports,a4_0x484db0(0xd5),{'value':!![]}),exports[a4_0x484db0(0xde)]=void 0x0;function a4_0x494c(_0x47b672,_0x1ef70f){const _0x4f447c=a4_0x4f44();return a4_0x494c=function(_0x494c18,_0x2e0e53){_0x494c18=_0x494c18-0xc5;let _0x53928b=_0x4f447c[_0x494c18];return _0x53928b;},a4_0x494c(_0x47b672,_0x1ef70f);}const collect_js_1=require(a4_0x484db0(0xe4)),decorator_1=require(a4_0x484db0(0xef)),interface_1=require('../interface');let EventService=class EventService{constructor(){this['init']=![];}async[a4_0x484db0(0xe3)](_0x21bb85){const _0xcfbcab=a4_0x484db0;if(!this[_0xcfbcab(0xec)]){this[_0xcfbcab(0xec)]=!![],this[_0xcfbcab(0xcd)]={};for(const _0x26658f of(0x0,decorator_1[_0xcfbcab(0xe9)])(interface_1['EVENT_KEY'])||[]){const _0x3964b3=await this[_0xcfbcab(0xc7)][_0xcfbcab(0xd3)]()['getAsync'](_0x26658f);for(const _0x12e243 of(0x0,decorator_1['getClassMetadata'])(interface_1[_0xcfbcab(0xcf)],_0x26658f)||[]){typeof(_0x3964b3[_0x12e243[_0xcfbcab(0xdc)]]==_0xcfbcab(0xd4))&&(!this[_0xcfbcab(0xcd)][_0x12e243[_0xcfbcab(0xe0)]]&&(this['listevent'][_0x12e243['name']]=[]),this[_0xcfbcab(0xcd)][_0x12e243[_0xcfbcab(0xe0)]][_0xcfbcab(0xda)]({'priority':_0x12e243[_0xcfbcab(0xcb)],'resolve':_0x3964b3[_0x12e243['propertyKey']][_0xcfbcab(0xea)](_0x3964b3),'propertyKey':_0x26658f[_0xcfbcab(0xe0)]+'@'+_0x12e243[_0xcfbcab(0xdc)]}));}}for(const _0x4b7ddd in this[_0xcfbcab(0xcd)]){this[_0xcfbcab(0xcd)][_0x4b7ddd]=(0x0,collect_js_1['default'])(this[_0xcfbcab(0xcd)][_0x4b7ddd])[_0xcfbcab(0xc5)]('priority')[_0xcfbcab(0xdd)]();}}return _0x21bb85?this['listevent'][_0x21bb85]||[]:this[_0xcfbcab(0xcd)];}async[a4_0x484db0(0xd8)](_0x5b82ef,..._0x1f80d9){const _0x4c585d=a4_0x484db0;var _0x392f6e,_0xe58469;await this[_0x4c585d(0xe3)]();for(let _0x5c330b in(_0x392f6e=this['listevent'])===null||_0x392f6e===void 0x0?void 0x0:_0x392f6e[_0x5b82ef]){const _0xc2e2ae=(_0xe58469=this['listevent'][_0x5b82ef])===null||_0xe58469===void 0x0?void 0x0:_0xe58469[_0x5c330b];(_0xc2e2ae===null||_0xc2e2ae===void 0x0?void 0x0:_0xc2e2ae[_0x4c585d(0xe5)])&&typeof(_0xc2e2ae===null||_0xc2e2ae===void 0x0?void 0x0:_0xc2e2ae[_0x4c585d(0xe5)])=='function'&&await _0xc2e2ae['resolve'](..._0x1f80d9);}}async[a4_0x484db0(0xee)](_0x105aa9,..._0x29443f){const _0x4d7718=a4_0x484db0;return await this[_0x4d7718(0xe3)](),await this[_0x4d7718(0xd8)](_0x105aa9,..._0x29443f),this[_0x4d7718(0xc9)](_0x105aa9);}async['off'](_0x5d99fc){const _0x450ba4=a4_0x484db0;return await this[_0x450ba4(0xe3)](),this[_0x450ba4(0xcd)][_0x5d99fc]&&delete this['listevent'][_0x5d99fc],!!this[_0x450ba4(0xcd)][_0x5d99fc];}};__decorate([(0x0,decorator_1['App'])(),__metadata(a4_0x484db0(0xe6),Object)],EventService[a4_0x484db0(0xcc)],a4_0x484db0(0xc7),void 0x0),EventService=__decorate([(0x0,decorator_1[a4_0x484db0(0xd2)])('event'),(0x0,decorator_1['Scope'])(decorator_1['ScopeEnum'][a4_0x484db0(0xe7)])],EventService),exports['EventService']=EventService;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anncic-api/event",
3
- "version": "1.1.0",
3
+ "version": "1.1.3",
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": "1ff379ce4e785376983b20bd452defb97c4a3fa9"
24
+ "gitHead": "33c26823f33fe43f231f3e7486020bec5deb1d1e"
25
25
  }