@anncic-api/event 1.1.38 → 1.1.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/configuration.js +1 -1
- package/dist/decorator/Event.js +1 -1
- package/dist/index.js +1 -1
- package/dist/interface.js +1 -1
- package/dist/service/EventService.js +1 -1
- package/package.json +2 -2
package/dist/configuration.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var a0_0x196809=a0_0x50d0;(function(_0x54bc9f,_0x588442){var _0x486b18=a0_0x50d0,_0x3fe666=_0x54bc9f();while(!![]){try{var _0x38df69=-parseInt(_0x486b18(0x1f0))/0x1+parseInt(_0x486b18(0x1fb))/0x2*(-parseInt(_0x486b18(0x1f7))/0x3)+parseInt(_0x486b18(0x1fc))/0x4+-parseInt(_0x486b18(0x1ff))/0x5+-parseInt(_0x486b18(0x1f4))/0x6+-parseInt(_0x486b18(0x1f2))/0x7+-parseInt(_0x486b18(0x201))/0x8*(-parseInt(_0x486b18(0x1fa))/0x9);if(_0x38df69===_0x588442)break;else _0x3fe666['push'](_0x3fe666['shift']());}catch(_0x52ca29){_0x3fe666['push'](_0x3fe666['shift']());}}}(a0_0x4472,0xa2c0e));var __decorate=this&&this[a0_0x196809(0x1f3)]||function(_0x438553,_0xb7e07e,_0xdc6d12,_0x35f75b){var _0x45df66=a0_0x196809,_0xa054d0=arguments['length'],_0x36e066=_0xa054d0<0x3?_0xb7e07e:_0x35f75b===null?_0x35f75b=Object[_0x45df66(0x1fd)](_0xb7e07e,_0xdc6d12):_0x35f75b,_0x47b5ad;if(typeof Reflect==='object'&&typeof Reflect[_0x45df66(0x1ed)]===_0x45df66(0x1ee))_0x36e066=Reflect[_0x45df66(0x1ed)](_0x438553,_0xb7e07e,_0xdc6d12,_0x35f75b);else{for(var _0x568abb=_0x438553[_0x45df66(0x204)]-0x1;_0x568abb>=0x0;_0x568abb--)if(_0x47b5ad=_0x438553[_0x568abb])_0x36e066=(_0xa054d0<0x3?_0x47b5ad(_0x36e066):_0xa054d0>0x3?_0x47b5ad(_0xb7e07e,_0xdc6d12,_0x36e066):_0x47b5ad(_0xb7e07e,_0xdc6d12))||_0x36e066;}return _0xa054d0>0x3&&_0x36e066&&Object[_0x45df66(0x202)](_0xb7e07e,_0xdc6d12,_0x36e066),_0x36e066;},__metadata=this&&this[a0_0x196809(0x1f6)]||function(_0x5084e7,_0x57fc72){var _0x3f8eeb=a0_0x196809;if(typeof Reflect===_0x3f8eeb(0x1f8)&&typeof Reflect[_0x3f8eeb(0x1f5)]==='function')return Reflect[_0x3f8eeb(0x1f5)](_0x5084e7,_0x57fc72);};Object[a0_0x196809(0x202)](exports,'__esModule',{'value':!![]}),exports[a0_0x196809(0x205)]=void 0x0;function a0_0x4472(){var _0x217077=['prototype','length','CustomConfiguration','Inject','decorate','function','anncic-api:event','720392bLmgKJ','MidwayDecoratorService','1800253CUYHoV','__decorate','7023306qfpVdl','metadata','__metadata','18tYUIXB','object','design:type','32786298QYudrC','318040KjRSYB','3059020DtuOhf','getOwnPropertyDescriptor','config','3193985rbQjNs','@midwayjs/decorator','8FxzwTi','defineProperty'];a0_0x4472=function(){return _0x217077;};return a0_0x4472();}const decorator_1=require(a0_0x196809(0x200)),core_1=require('@midwayjs/core');function a0_0x50d0(_0x88af8f,_0x48f200){var _0x4472cd=a0_0x4472();return a0_0x50d0=function(_0x50d05f,_0x26315c){_0x50d05f=_0x50d05f-0x1ec;var _0x17f210=_0x4472cd[_0x50d05f];return _0x17f210;},a0_0x50d0(_0x88af8f,_0x48f200);}let CustomConfiguration=class CustomConfiguration{async['onReady'](){}};__decorate([(0x0,decorator_1['Inject'])(),__metadata(a0_0x196809(0x1f9),core_1['MidwayConfigService'])],CustomConfiguration[a0_0x196809(0x203)],a0_0x196809(0x1fe),void 0x0),__decorate([(0x0,decorator_1[a0_0x196809(0x1ec)])(),__metadata('design:type',core_1[a0_0x196809(0x1f1)])],CustomConfiguration[a0_0x196809(0x203)],'decorator',void 0x0),CustomConfiguration=__decorate([(0x0,decorator_1['Configuration'])({'conflictCheck':![],'namespace':a0_0x196809(0x1ef)})],CustomConfiguration),exports[a0_0x196809(0x205)]=CustomConfiguration;
|
package/dist/decorator/Event.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a1_0x2d001c=a1_0x4475;(function(_0x4350d5,_0x1e1ac2){const _0x264ba7=a1_0x4475,_0xe17ee9=_0x4350d5();while(!![]){try{const _0x3d9210=parseInt(_0x264ba7(0x16f))/0x1+-parseInt(_0x264ba7(0x176))/0x2*(parseInt(_0x264ba7(0x173))/0x3)+parseInt(_0x264ba7(0x165))/0x4*(-parseInt(_0x264ba7(0x16e))/0x5)+-parseInt(_0x264ba7(0x174))/0x6+parseInt(_0x264ba7(0x169))/0x7*(parseInt(_0x264ba7(0x178))/0x8)+parseInt(_0x264ba7(0x177))/0x9*(parseInt(_0x264ba7(0x172))/0xa)+-parseInt(_0x264ba7(0x175))/0xb;if(_0x3d9210===_0x1e1ac2)break;else _0xe17ee9['push'](_0xe17ee9['shift']());}catch(_0x40302f){_0xe17ee9['push'](_0xe17ee9['shift']());}}}(a1_0x2df8,0x991d9));Object[a1_0x2d001c(0x170)](exports,a1_0x2d001c(0x16a),{'value':!![]}),exports['Event']=void 0x0;const decorator_1=require('@midwayjs/decorator'),interface_1=require(a1_0x2d001c(0x171));function Event(){return _0x106e98=>{const _0x51b15b=a1_0x4475;(0x0,decorator_1[_0x51b15b(0x167)])()(_0x106e98),(0x0,decorator_1['saveModule'])(interface_1[_0x51b15b(0x16c)],_0x106e98),(0x0,decorator_1[_0x51b15b(0x179)])(decorator_1[_0x51b15b(0x17a)][_0x51b15b(0x16b)],{'allowDowngrade':!![]})(_0x106e98);};}function a1_0x4475(_0x988233,_0x1dbe45){const _0x2df8f6=a1_0x2df8();return a1_0x4475=function(_0x447523,_0x572a49){_0x447523=_0x447523-0x165;let _0x21c392=_0x2df8f6[_0x447523];return _0x21c392;},a1_0x4475(_0x988233,_0x1dbe45);}exports[a1_0x2d001c(0x16d)]=Event,Event['On']=function(_0x3c5f5b,_0x1fcb7a=0x0){return(_0x4fa173,_0x5c4eda,_0x24890a)=>{const _0x3dd206=a1_0x4475;return(0x0,decorator_1[_0x3dd206(0x168)])(interface_1[_0x3dd206(0x166)],{'name':_0x3c5f5b,'priority':_0x1fcb7a,'propertyKey':_0x5c4eda,'descriptor':_0x24890a},_0x4fa173),_0x24890a;};};function a1_0x2df8(){const _0x294d10=['6817976sFhyxE','18cmrDiy','9altrxC','9732536bkGxwX','Scope','ScopeEnum','16WSYsHw','EVENT_ON_KEY','Provide','attachClassMetadata','7earjav','__esModule','Request','EVENT_KEY','Event','1251745MkgJNO','1187191EEZnFW','defineProperty','../interface','7811590znHVUt','2469tCMQeS','5574822hlNeAd'];a1_0x2df8=function(){return _0x294d10;};return a1_0x2df8();}
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var a2_0x3534d8=a2_0xebd9;(function(_0x4cf163,_0xde3887){var _0x18008b=a2_0xebd9,_0x47dc5d=_0x4cf163();while(!![]){try{var _0x51b294=-parseInt(_0x18008b(0x170))/0x1+-parseInt(_0x18008b(0x162))/0x2+-parseInt(_0x18008b(0x160))/0x3*(parseInt(_0x18008b(0x164))/0x4)+-parseInt(_0x18008b(0x16b))/0x5*(parseInt(_0x18008b(0x15f))/0x6)+-parseInt(_0x18008b(0x15d))/0x7*(-parseInt(_0x18008b(0x166))/0x8)+-parseInt(_0x18008b(0x161))/0x9*(parseInt(_0x18008b(0x16d))/0xa)+-parseInt(_0x18008b(0x165))/0xb*(-parseInt(_0x18008b(0x16f))/0xc);if(_0x51b294===_0xde3887)break;else _0x47dc5d['push'](_0x47dc5d['shift']());}catch(_0x4b246f){_0x47dc5d['push'](_0x47dc5d['shift']());}}}(a2_0x27f8,0x2ac0a));Object[a2_0x3534d8(0x169)](exports,a2_0x3534d8(0x168),{'value':!![]}),exports['Configuration']=exports['EventService']=exports[a2_0x3534d8(0x163)]=void 0x0;var Event_1=require(a2_0x3534d8(0x167));Object[a2_0x3534d8(0x169)](exports,a2_0x3534d8(0x163),{'enumerable':!![],'get':function(){var _0x242ecd=a2_0x3534d8;return Event_1[_0x242ecd(0x163)];}});var EventService_1=require(a2_0x3534d8(0x16c));Object['defineProperty'](exports,a2_0x3534d8(0x16e),{'enumerable':!![],'get':function(){var _0x5f242d=a2_0x3534d8;return EventService_1[_0x5f242d(0x16e)];}});var configuration_1=require(a2_0x3534d8(0x15e));Object[a2_0x3534d8(0x169)](exports,a2_0x3534d8(0x16a),{'enumerable':!![],'get':function(){return configuration_1['CustomConfiguration'];}});function a2_0xebd9(_0x521c28,_0xb24753){var _0x27f823=a2_0x27f8();return a2_0xebd9=function(_0xebd92a,_0xf6606a){_0xebd92a=_0xebd92a-0x15d;var _0x87a62a=_0x27f823[_0xebd92a];return _0x87a62a;},a2_0xebd9(_0x521c28,_0xb24753);}function a2_0x27f8(){var _0x3dcf99=['6954516DkllTT','78361VbeOfh','7756KVppOV','./configuration','491388pDGAaG','3RYmcMf','27AoQPWJ','495590FpFDDU','Event','151924irxdBD','11KAvwTj','2168KNVAFZ','./decorator/Event','__esModule','defineProperty','Configuration','15AnWHyj','./service/EventService','316220GlCtmn','EventService'];a2_0x27f8=function(){return _0x3dcf99;};return a2_0x27f8();}
|
package/dist/interface.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';var a3_0x27e62e=a3_0xd9af;(function(_0x409ce1,_0x3f5442){var _0x410fe8=a3_0xd9af,_0x522352=_0x409ce1();while(!![]){try{var _0x30bdb8=parseInt(_0x410fe8(0xf7))/0x1+parseInt(_0x410fe8(0xfc))/0x2*(parseInt(_0x410fe8(0x105))/0x3)+-parseInt(_0x410fe8(0xfb))/0x4*(parseInt(_0x410fe8(0xff))/0x5)+parseInt(_0x410fe8(0x104))/0x6*(-parseInt(_0x410fe8(0x103))/0x7)+parseInt(_0x410fe8(0xfa))/0x8*(parseInt(_0x410fe8(0xf8))/0x9)+-parseInt(_0x410fe8(0x101))/0xa*(parseInt(_0x410fe8(0x100))/0xb)+parseInt(_0x410fe8(0x102))/0xc;if(_0x30bdb8===_0x3f5442)break;else _0x522352['push'](_0x522352['shift']());}catch(_0x5a7f31){_0x522352['push'](_0x522352['shift']());}}}(a3_0x1b55,0x8d7a4));function a3_0x1b55(){var _0x76ff58=['482PWXkHw','anncic-api:event:on','EVENT_KEY','5dKAcdm','11633380iEDLKO','10rxCMMw','26034444FPBcRh','446873WolQWH','54FepQhp','1251qEfqwp','13301AAPTmk','9oOHHGc','__esModule','3567128TvMzFh','2070412lJVgpc'];a3_0x1b55=function(){return _0x76ff58;};return a3_0x1b55();}function a3_0xd9af(_0x63fced,_0x450a4f){var _0x1b55ce=a3_0x1b55();return a3_0xd9af=function(_0xd9af53,_0xf05425){_0xd9af53=_0xd9af53-0xf7;var _0x21c805=_0x1b55ce[_0xd9af53];return _0x21c805;},a3_0xd9af(_0x63fced,_0x450a4f);}Object['defineProperty'](exports,a3_0x27e62e(0xf9),{'value':!![]}),exports['EVENT_ON_KEY']=exports['EVENT_KEY']=void 0x0,exports[a3_0x27e62e(0xfe)]='anncic-api:event',exports['EVENT_ON_KEY']=a3_0x27e62e(0xfd);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function
|
|
1
|
+
'use strict';function a4_0x11eb(){const _0x5b9d72=['getApplicationContext','Scope','default','decorate','collect.js','getListevent','length','defineProperty','2180psjjxs','once','455257rSGQfj','propertyKey','__esModule','3wFvpSt','EVENT_ON_KEY','init','13428BbXTTl','resolve','__metadata','function','listevent','bind','1991670hGCTaP','getClassMetadata','23139aoACbB','design:type','prototype','getOwnPropertyDescriptor','listModule','ScopeEnum','6669392czSyPZ','priority','EventService','event','name','EVENT_KEY','object','@midwayjs/decorator','push','sortByDesc','off','App','532632QpUQiC','metadata','1870724xpsZtB','emit','all','2079rpoTam'];a4_0x11eb=function(){return _0x5b9d72;};return a4_0x11eb();}function a4_0xc77b(_0x488f77,_0x224188){const _0x11eb37=a4_0x11eb();return a4_0xc77b=function(_0xc77bb1,_0x1014f7){_0xc77bb1=_0xc77bb1-0x128;let _0x4df61d=_0x11eb37[_0xc77bb1];return _0x4df61d;},a4_0xc77b(_0x488f77,_0x224188);}const a4_0x452f96=a4_0xc77b;(function(_0x1db51f,_0x1ac307){const _0xba2efb=a4_0xc77b,_0x53007e=_0x1db51f();while(!![]){try{const _0x2bf966=-parseInt(_0xba2efb(0x153))/0x1+parseInt(_0xba2efb(0x143))/0x2*(parseInt(_0xba2efb(0x156))/0x3)+-parseInt(_0xba2efb(0x145))/0x4+parseInt(_0xba2efb(0x12f))/0x5+parseInt(_0xba2efb(0x129))/0x6*(-parseInt(_0xba2efb(0x148))/0x7)+parseInt(_0xba2efb(0x137))/0x8+parseInt(_0xba2efb(0x131))/0x9*(parseInt(_0xba2efb(0x151))/0xa);if(_0x2bf966===_0x1ac307)break;else _0x53007e['push'](_0x53007e['shift']());}catch(_0x4f2fee){_0x53007e['push'](_0x53007e['shift']());}}}(a4_0x11eb,0x7308a));var __decorate=this&&this['__decorate']||function(_0x44b832,_0x48e504,_0x584aff,_0x34eae8){const _0x46206e=a4_0xc77b;var _0x5557b3=arguments[_0x46206e(0x14f)],_0x2665b8=_0x5557b3<0x3?_0x48e504:_0x34eae8===null?_0x34eae8=Object[_0x46206e(0x134)](_0x48e504,_0x584aff):_0x34eae8,_0x4a5347;if(typeof Reflect===_0x46206e(0x13d)&&typeof Reflect[_0x46206e(0x14c)]===_0x46206e(0x12c))_0x2665b8=Reflect['decorate'](_0x44b832,_0x48e504,_0x584aff,_0x34eae8);else{for(var _0x2d1da0=_0x44b832[_0x46206e(0x14f)]-0x1;_0x2d1da0>=0x0;_0x2d1da0--)if(_0x4a5347=_0x44b832[_0x2d1da0])_0x2665b8=(_0x5557b3<0x3?_0x4a5347(_0x2665b8):_0x5557b3>0x3?_0x4a5347(_0x48e504,_0x584aff,_0x2665b8):_0x4a5347(_0x48e504,_0x584aff))||_0x2665b8;}return _0x5557b3>0x3&&_0x2665b8&&Object[_0x46206e(0x150)](_0x48e504,_0x584aff,_0x2665b8),_0x2665b8;},__metadata=this&&this[a4_0x452f96(0x12b)]||function(_0x5462a2,_0xa256cd){const _0x4dfea1=a4_0x452f96;if(typeof Reflect===_0x4dfea1(0x13d)&&typeof Reflect[_0x4dfea1(0x144)]===_0x4dfea1(0x12c))return Reflect[_0x4dfea1(0x144)](_0x5462a2,_0xa256cd);};Object[a4_0x452f96(0x150)](exports,a4_0x452f96(0x155),{'value':!![]}),exports['EventService']=void 0x0;const collect_js_1=require(a4_0x452f96(0x14d)),decorator_1=require(a4_0x452f96(0x13e)),interface_1=require('../interface');let EventService=class EventService{constructor(){const _0x168ab2=a4_0x452f96;this[_0x168ab2(0x128)]=![];}async['getListevent'](_0x1330f9){const _0x202268=a4_0x452f96;if(!this[_0x202268(0x128)]){this[_0x202268(0x128)]=!![],this[_0x202268(0x12d)]={};for(const _0xcdd727 of(0x0,decorator_1[_0x202268(0x135)])(interface_1[_0x202268(0x13c)])||[]){const _0x54a6a8=await this['app'][_0x202268(0x149)]()['getAsync'](_0xcdd727);for(const _0x133b0e of(0x0,decorator_1[_0x202268(0x130)])(interface_1[_0x202268(0x157)],_0xcdd727)||[]){typeof(_0x54a6a8[_0x133b0e['propertyKey']]=='function')&&(!this['listevent'][_0x133b0e[_0x202268(0x13b)]]&&(this[_0x202268(0x12d)][_0x133b0e[_0x202268(0x13b)]]=[]),this['listevent'][_0x133b0e[_0x202268(0x13b)]][_0x202268(0x13f)]({'priority':_0x133b0e[_0x202268(0x138)],'resolve':_0x54a6a8[_0x133b0e[_0x202268(0x154)]][_0x202268(0x12e)](_0x54a6a8),'propertyKey':_0xcdd727[_0x202268(0x13b)]+'@'+_0x133b0e[_0x202268(0x154)]}));}}for(const _0x30a44e in this['listevent']){this[_0x202268(0x12d)][_0x30a44e]=(0x0,collect_js_1[_0x202268(0x14b)])(this[_0x202268(0x12d)][_0x30a44e])[_0x202268(0x140)](_0x202268(0x138))[_0x202268(0x147)]();}}return _0x1330f9?this[_0x202268(0x12d)][_0x1330f9]||[]:this[_0x202268(0x12d)];}async[a4_0x452f96(0x146)](_0x1f61a5,..._0x5e6691){const _0xeb008b=a4_0x452f96;var _0x21691c,_0x45e357;await this['getListevent']();for(let _0x14a383 in(_0x21691c=this[_0xeb008b(0x12d)])===null||_0x21691c===void 0x0?void 0x0:_0x21691c[_0x1f61a5]){const _0x53c0a0=(_0x45e357=this[_0xeb008b(0x12d)][_0x1f61a5])===null||_0x45e357===void 0x0?void 0x0:_0x45e357[_0x14a383];(_0x53c0a0===null||_0x53c0a0===void 0x0?void 0x0:_0x53c0a0[_0xeb008b(0x12a)])&&typeof(_0x53c0a0===null||_0x53c0a0===void 0x0?void 0x0:_0x53c0a0[_0xeb008b(0x12a)])==_0xeb008b(0x12c)&&await _0x53c0a0[_0xeb008b(0x12a)](..._0x5e6691);}}async[a4_0x452f96(0x152)](_0x17368b,..._0x4ba22d){const _0x2dfb1a=a4_0x452f96;return await this['getListevent'](),await this['emit'](_0x17368b,..._0x4ba22d),this[_0x2dfb1a(0x141)](_0x17368b);}async['off'](_0x4dd8ff){const _0x3385e1=a4_0x452f96;return await this[_0x3385e1(0x14e)](),this[_0x3385e1(0x12d)][_0x4dd8ff]&&delete this[_0x3385e1(0x12d)][_0x4dd8ff],!!this[_0x3385e1(0x12d)][_0x4dd8ff];}};__decorate([(0x0,decorator_1[a4_0x452f96(0x142)])(),__metadata(a4_0x452f96(0x132),Object)],EventService[a4_0x452f96(0x133)],'app',void 0x0),EventService=__decorate([(0x0,decorator_1['Provide'])(a4_0x452f96(0x13a)),(0x0,decorator_1[a4_0x452f96(0x14a)])(decorator_1[a4_0x452f96(0x136)]['Singleton'])],EventService),exports[a4_0x452f96(0x139)]=EventService;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@anncic-api/event",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.40",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"files": [
|
|
@@ -21,5 +21,5 @@
|
|
|
21
21
|
"javascript-obfuscator": "2.19.0",
|
|
22
22
|
"typescript": "^4.7.4"
|
|
23
23
|
},
|
|
24
|
-
"gitHead": "
|
|
24
|
+
"gitHead": "9f9889460e81d653e97b2c9b46cb36321d721c9c"
|
|
25
25
|
}
|