@anncic-api/event 1.1.47 → 1.1.49
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_0x44dd1f=a0_0x3c47;(function(_0x9b94bc,_0x161f87){var _0x5a3379=a0_0x3c47,_0x54273f=_0x9b94bc();while(!![]){try{var _0x26b2af=parseInt(_0x5a3379(0x175))/0x1*(-parseInt(_0x5a3379(0x174))/0x2)+parseInt(_0x5a3379(0x160))/0x3*(-parseInt(_0x5a3379(0x172))/0x4)+parseInt(_0x5a3379(0x173))/0x5*(parseInt(_0x5a3379(0x170))/0x6)+-parseInt(_0x5a3379(0x167))/0x7+parseInt(_0x5a3379(0x15c))/0x8+-parseInt(_0x5a3379(0x163))/0x9+parseInt(_0x5a3379(0x16b))/0xa;if(_0x26b2af===_0x161f87)break;else _0x54273f['push'](_0x54273f['shift']());}catch(_0x2c6819){_0x54273f['push'](_0x54273f['shift']());}}}(a0_0x4b58,0xb3a42));function a0_0x4b58(){var _0x2f39b2=['166pVIhuC','3954gIxgGM','decorator','__esModule','6840680aPqwlg','CustomConfiguration','config','design:type','1713EfChZN','defineProperty','function','6348807LabWcI','@midwayjs/decorator','@midwayjs/core','decorate','5425217cnZqaf','prototype','__decorate','object','17716030hWjGVZ','getOwnPropertyDescriptor','metadata','Inject','MidwayConfigService','375534MmdULN','length','6276NjTTYI','65FbuDzs'];a0_0x4b58=function(){return _0x2f39b2;};return a0_0x4b58();}var __decorate=this&&this[a0_0x44dd1f(0x169)]||function(_0x2a79c9,_0x2212d0,_0x190a91,_0x5c1325){var _0x433ccc=a0_0x44dd1f,_0x5b4f8a=arguments[_0x433ccc(0x171)],_0x8e4c6e=_0x5b4f8a<0x3?_0x2212d0:_0x5c1325===null?_0x5c1325=Object[_0x433ccc(0x16c)](_0x2212d0,_0x190a91):_0x5c1325,_0x32998e;if(typeof Reflect===_0x433ccc(0x16a)&&typeof Reflect[_0x433ccc(0x166)]===_0x433ccc(0x162))_0x8e4c6e=Reflect[_0x433ccc(0x166)](_0x2a79c9,_0x2212d0,_0x190a91,_0x5c1325);else{for(var _0x54d9ac=_0x2a79c9[_0x433ccc(0x171)]-0x1;_0x54d9ac>=0x0;_0x54d9ac--)if(_0x32998e=_0x2a79c9[_0x54d9ac])_0x8e4c6e=(_0x5b4f8a<0x3?_0x32998e(_0x8e4c6e):_0x5b4f8a>0x3?_0x32998e(_0x2212d0,_0x190a91,_0x8e4c6e):_0x32998e(_0x2212d0,_0x190a91))||_0x8e4c6e;}return _0x5b4f8a>0x3&&_0x8e4c6e&&Object[_0x433ccc(0x161)](_0x2212d0,_0x190a91,_0x8e4c6e),_0x8e4c6e;},__metadata=this&&this['__metadata']||function(_0x4924dc,_0x536b6d){var _0xe8973c=a0_0x44dd1f;if(typeof Reflect===_0xe8973c(0x16a)&&typeof Reflect[_0xe8973c(0x16d)]===_0xe8973c(0x162))return Reflect[_0xe8973c(0x16d)](_0x4924dc,_0x536b6d);};Object['defineProperty'](exports,a0_0x44dd1f(0x15b),{'value':!![]}),exports[a0_0x44dd1f(0x15d)]=void 0x0;const decorator_1=require(a0_0x44dd1f(0x164)),core_1=require(a0_0x44dd1f(0x165));function a0_0x3c47(_0x403517,_0x224f3f){var _0x4b58b6=a0_0x4b58();return a0_0x3c47=function(_0x3c4721,_0x4021dd){_0x3c4721=_0x3c4721-0x15b;var _0x4b1c94=_0x4b58b6[_0x3c4721];return _0x4b1c94;},a0_0x3c47(_0x403517,_0x224f3f);}let CustomConfiguration=class CustomConfiguration{async['onReady'](){}};__decorate([(0x0,decorator_1[a0_0x44dd1f(0x16e)])(),__metadata('design:type',core_1[a0_0x44dd1f(0x16f)])],CustomConfiguration[a0_0x44dd1f(0x168)],a0_0x44dd1f(0x15e),void 0x0),__decorate([(0x0,decorator_1[a0_0x44dd1f(0x16e)])(),__metadata(a0_0x44dd1f(0x15f),core_1['MidwayDecoratorService'])],CustomConfiguration[a0_0x44dd1f(0x168)],a0_0x44dd1f(0x176),void 0x0),CustomConfiguration=__decorate([(0x0,decorator_1['Configuration'])({'conflictCheck':![],'namespace':'anncic-api:event'})],CustomConfiguration),exports[a0_0x44dd1f(0x15d)]=CustomConfiguration;
|
package/dist/decorator/Event.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a1_0x39d0b5=a1_0x4b46;function a1_0x4b46(_0x5baff7,_0x5410e5){const _0x4dc055=a1_0x4dc0();return a1_0x4b46=function(_0x4b4653,_0x2cbdad){_0x4b4653=_0x4b4653-0x6a;let _0x468c05=_0x4dc055[_0x4b4653];return _0x468c05;},a1_0x4b46(_0x5baff7,_0x5410e5);}function a1_0x4dc0(){const _0x58af4f=['ScopeEnum','Request','7sUciWl','Scope','1689038yNAwts','../interface','2976798VeRGmX','3473665MmOejw','725262LNNYOX','797536FZRJpL','6397256cYwiks','defineProperty','__esModule','128509eczXnN','EVENT_ON_KEY','Provide','attachClassMetadata','Event'];a1_0x4dc0=function(){return _0x58af4f;};return a1_0x4dc0();}(function(_0x652549,_0x1b82d4){const _0x1bc29e=a1_0x4b46,_0x3a4d8e=_0x652549();while(!![]){try{const _0x59b2d8=-parseInt(_0x1bc29e(0x78))/0x1+parseInt(_0x1bc29e(0x6f))/0x2+parseInt(_0x1bc29e(0x71))/0x3+parseInt(_0x1bc29e(0x74))/0x4+-parseInt(_0x1bc29e(0x72))/0x5+-parseInt(_0x1bc29e(0x73))/0x6*(-parseInt(_0x1bc29e(0x6d))/0x7)+-parseInt(_0x1bc29e(0x75))/0x8;if(_0x59b2d8===_0x1b82d4)break;else _0x3a4d8e['push'](_0x3a4d8e['shift']());}catch(_0x293471){_0x3a4d8e['push'](_0x3a4d8e['shift']());}}}(a1_0x4dc0,0x82683));Object[a1_0x39d0b5(0x76)](exports,a1_0x39d0b5(0x77),{'value':!![]}),exports[a1_0x39d0b5(0x6a)]=void 0x0;const decorator_1=require('@midwayjs/decorator'),interface_1=require(a1_0x39d0b5(0x70));function Event(){return _0x156581=>{const _0x29b4a9=a1_0x4b46;(0x0,decorator_1[_0x29b4a9(0x7a)])()(_0x156581),(0x0,decorator_1['saveModule'])(interface_1['EVENT_KEY'],_0x156581),(0x0,decorator_1[_0x29b4a9(0x6e)])(decorator_1[_0x29b4a9(0x6b)][_0x29b4a9(0x6c)],{'allowDowngrade':!![]})(_0x156581);};}exports['Event']=Event,Event['On']=function(_0x5eeec2,_0x29aadb=0x0){return(_0x4ee84b,_0x327898,_0x22a6d2)=>{const _0x13b4ea=a1_0x4b46;return(0x0,decorator_1[_0x13b4ea(0x7b)])(interface_1[_0x13b4ea(0x79)],{'name':_0x5eeec2,'priority':_0x29aadb,'propertyKey':_0x327898,'descriptor':_0x22a6d2},_0x4ee84b),_0x22a6d2;};};
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var a2_0x59894f=a2_0x488f;(function(_0x1649b6,_0x39dfac){var _0x321888=a2_0x488f,_0x5323a5=_0x1649b6();while(!![]){try{var _0x1be4ff=-parseInt(_0x321888(0x158))/0x1+-parseInt(_0x321888(0x162))/0x2*(parseInt(_0x321888(0x15e))/0x3)+-parseInt(_0x321888(0x151))/0x4*(parseInt(_0x321888(0x15a))/0x5)+parseInt(_0x321888(0x161))/0x6+-parseInt(_0x321888(0x15d))/0x7*(-parseInt(_0x321888(0x154))/0x8)+parseInt(_0x321888(0x159))/0x9+-parseInt(_0x321888(0x150))/0xa*(parseInt(_0x321888(0x160))/0xb);if(_0x1be4ff===_0x39dfac)break;else _0x5323a5['push'](_0x5323a5['shift']());}catch(_0x3da3fa){_0x5323a5['push'](_0x5323a5['shift']());}}}(a2_0x51d4,0x32d32));function a2_0x488f(_0x21a7cf,_0x5c21b4){var _0x51d4b3=a2_0x51d4();return a2_0x488f=function(_0x488f9d,_0x360988){_0x488f9d=_0x488f9d-0x14f;var _0x3a0890=_0x51d4b3[_0x488f9d];return _0x3a0890;},a2_0x488f(_0x21a7cf,_0x5c21b4);}Object[a2_0x59894f(0x15c)](exports,a2_0x59894f(0x15b),{'value':!![]}),exports[a2_0x59894f(0x153)]=exports['EventService']=exports[a2_0x59894f(0x155)]=void 0x0;function a2_0x51d4(){var _0x4cd2da=['./service/EventService','230jWtfjz','80384pcupJE','./decorator/Event','Configuration','166856AhMYus','Event','./configuration','CustomConfiguration','239209Zqxeni','2138778Wgurpc','10qqDhUq','__esModule','defineProperty','7SWHObU','69RZLZek','EventService','27357qnYbbs','2251470AnLXex','7736sylCbs'];a2_0x51d4=function(){return _0x4cd2da;};return a2_0x51d4();}var Event_1=require(a2_0x59894f(0x152));Object[a2_0x59894f(0x15c)](exports,a2_0x59894f(0x155),{'enumerable':!![],'get':function(){var _0x4894b8=a2_0x59894f;return Event_1[_0x4894b8(0x155)];}});var EventService_1=require(a2_0x59894f(0x14f));Object[a2_0x59894f(0x15c)](exports,a2_0x59894f(0x15f),{'enumerable':!![],'get':function(){var _0x1f2116=a2_0x59894f;return EventService_1[_0x1f2116(0x15f)];}});var configuration_1=require(a2_0x59894f(0x156));Object[a2_0x59894f(0x15c)](exports,'Configuration',{'enumerable':!![],'get':function(){var _0x19996d=a2_0x59894f;return configuration_1[_0x19996d(0x157)];}});
|
package/dist/interface.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var a3_0x35d495=a3_0x5cda;function a3_0x11e1(){var _0x2b87b3=['anncic-api:event','defineProperty','88eFPMPv','1794463aYhLWh','490344KwIRId','7UlpdpH','610325LFqrvK','anncic-api:event:on','232242eiwngZ','12ZOrxwI','__esModule','EVENT_KEY','7xwuJSi','176162rHVqWU','54774JqWadE','EVENT_ON_KEY','3676464EYENnn','104gbJUUj','50kucSOV'];a3_0x11e1=function(){return _0x2b87b3;};return a3_0x11e1();}function a3_0x5cda(_0x5d5923,_0x1c868a){var _0x11e144=a3_0x11e1();return a3_0x5cda=function(_0x5cda44,_0x177cac){_0x5cda44=_0x5cda44-0x18d;var _0x15df63=_0x11e144[_0x5cda44];return _0x15df63;},a3_0x5cda(_0x5d5923,_0x1c868a);}(function(_0x3a319b,_0x44b2ca){var _0xe16954=a3_0x5cda,_0x16e02d=_0x3a319b();while(!![]){try{var _0x4be6d3=parseInt(_0xe16954(0x193))/0x1*(-parseInt(_0xe16954(0x194))/0x2)+parseInt(_0xe16954(0x190))/0x3*(-parseInt(_0xe16954(0x19e))/0x4)+parseInt(_0xe16954(0x18d))/0x5+-parseInt(_0xe16954(0x18f))/0x6*(-parseInt(_0xe16954(0x19f))/0x7)+-parseInt(_0xe16954(0x19c))/0x8*(parseInt(_0xe16954(0x195))/0x9)+-parseInt(_0xe16954(0x199))/0xa*(parseInt(_0xe16954(0x19d))/0xb)+-parseInt(_0xe16954(0x197))/0xc*(-parseInt(_0xe16954(0x198))/0xd);if(_0x4be6d3===_0x44b2ca)break;else _0x16e02d['push'](_0x16e02d['shift']());}catch(_0x4f458f){_0x16e02d['push'](_0x16e02d['shift']());}}}(a3_0x11e1,0x97e92));Object[a3_0x35d495(0x19b)](exports,a3_0x35d495(0x191),{'value':!![]}),exports[a3_0x35d495(0x196)]=exports[a3_0x35d495(0x192)]=void 0x0,exports[a3_0x35d495(0x192)]=a3_0x35d495(0x19a),exports[a3_0x35d495(0x196)]=a3_0x35d495(0x18e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a4_0x4b388c=a4_0x4f0e;function a4_0x4f0e(_0x7d4779,_0x52e1a8){const _0x3972a6=a4_0x3972();return a4_0x4f0e=function(_0x4f0e60,_0x5d956a){_0x4f0e60=_0x4f0e60-0x18e;let _0xa173de=_0x3972a6[_0x4f0e60];return _0xa173de;},a4_0x4f0e(_0x7d4779,_0x52e1a8);}(function(_0x26504b,_0x2b72f6){const _0x1dbcb1=a4_0x4f0e,_0x20422b=_0x26504b();while(!![]){try{const _0x4f3122=parseInt(_0x1dbcb1(0x199))/0x1*(parseInt(_0x1dbcb1(0x1b7))/0x2)+-parseInt(_0x1dbcb1(0x1ae))/0x3*(parseInt(_0x1dbcb1(0x1a0))/0x4)+parseInt(_0x1dbcb1(0x198))/0x5+parseInt(_0x1dbcb1(0x1b1))/0x6+parseInt(_0x1dbcb1(0x1ab))/0x7+parseInt(_0x1dbcb1(0x1a6))/0x8+parseInt(_0x1dbcb1(0x1a9))/0x9*(-parseInt(_0x1dbcb1(0x1ad))/0xa);if(_0x4f3122===_0x2b72f6)break;else _0x20422b['push'](_0x20422b['shift']());}catch(_0x5e2c61){_0x20422b['push'](_0x20422b['shift']());}}}(a4_0x3972,0x40c75));function a4_0x3972(){const _0xa9fc61=['@midwayjs/decorator','Scope','init','push','design:type','defineProperty','2241710YRISLm','2LBQWSR','metadata','listevent','once','length','ScopeEnum','__metadata','8SaXIhJ','decorate','default','bind','resolve','listModule','2075680VDANMZ','off','priority','6278994rJzBDb','name','1546153cDxhIG','Provide','10ApOAEc','783159JHfdqZ','propertyKey','getClassMetadata','2671116BZpfqg','object','sortByDesc','getAsync','emit','EventService','111238fLVtEM','getOwnPropertyDescriptor','function','prototype','collect.js','getApplicationContext','getListevent','app','event','__decorate'];a4_0x3972=function(){return _0xa9fc61;};return a4_0x3972();}var __decorate=this&&this[a4_0x4b388c(0x191)]||function(_0x344ab1,_0x24a723,_0x5506d9,_0x6fc295){const _0x34891c=a4_0x4b388c;var _0x4598b7=arguments[_0x34891c(0x19d)],_0x403aef=_0x4598b7<0x3?_0x24a723:_0x6fc295===null?_0x6fc295=Object[_0x34891c(0x1b8)](_0x24a723,_0x5506d9):_0x6fc295,_0x4db4b0;if(typeof Reflect===_0x34891c(0x1b2)&&typeof Reflect[_0x34891c(0x1a1)]===_0x34891c(0x1b9))_0x403aef=Reflect[_0x34891c(0x1a1)](_0x344ab1,_0x24a723,_0x5506d9,_0x6fc295);else{for(var _0x366320=_0x344ab1[_0x34891c(0x19d)]-0x1;_0x366320>=0x0;_0x366320--)if(_0x4db4b0=_0x344ab1[_0x366320])_0x403aef=(_0x4598b7<0x3?_0x4db4b0(_0x403aef):_0x4598b7>0x3?_0x4db4b0(_0x24a723,_0x5506d9,_0x403aef):_0x4db4b0(_0x24a723,_0x5506d9))||_0x403aef;}return _0x4598b7>0x3&&_0x403aef&&Object[_0x34891c(0x197)](_0x24a723,_0x5506d9,_0x403aef),_0x403aef;},__metadata=this&&this[a4_0x4b388c(0x19f)]||function(_0x35a7b1,_0x51d414){const _0x2dfe1b=a4_0x4b388c;if(typeof Reflect===_0x2dfe1b(0x1b2)&&typeof Reflect[_0x2dfe1b(0x19a)]==='function')return Reflect[_0x2dfe1b(0x19a)](_0x35a7b1,_0x51d414);};Object[a4_0x4b388c(0x197)](exports,'__esModule',{'value':!![]}),exports[a4_0x4b388c(0x1b6)]=void 0x0;const collect_js_1=require(a4_0x4b388c(0x1bb)),decorator_1=require(a4_0x4b388c(0x192)),interface_1=require('../interface');let EventService=class EventService{constructor(){const _0x1c2cc1=a4_0x4b388c;this[_0x1c2cc1(0x194)]=![];}async[a4_0x4b388c(0x18e)](_0x3097bf){const _0x483136=a4_0x4b388c;if(!this[_0x483136(0x194)]){this[_0x483136(0x194)]=!![],this[_0x483136(0x19b)]={};for(const _0x35b706 of(0x0,decorator_1[_0x483136(0x1a5)])(interface_1['EVENT_KEY'])||[]){const _0x39bcfc=await this[_0x483136(0x18f)][_0x483136(0x1bc)]()[_0x483136(0x1b4)](_0x35b706);for(const _0xc27215 of(0x0,decorator_1[_0x483136(0x1b0)])(interface_1['EVENT_ON_KEY'],_0x35b706)||[]){typeof(_0x39bcfc[_0xc27215[_0x483136(0x1af)]]==_0x483136(0x1b9))&&(!this['listevent'][_0xc27215[_0x483136(0x1aa)]]&&(this[_0x483136(0x19b)][_0xc27215[_0x483136(0x1aa)]]=[]),this[_0x483136(0x19b)][_0xc27215[_0x483136(0x1aa)]][_0x483136(0x195)]({'priority':_0xc27215[_0x483136(0x1a8)],'resolve':_0x39bcfc[_0xc27215[_0x483136(0x1af)]][_0x483136(0x1a3)](_0x39bcfc),'propertyKey':_0x35b706[_0x483136(0x1aa)]+'@'+_0xc27215[_0x483136(0x1af)]}));}}for(const _0x4ce8d in this[_0x483136(0x19b)]){this[_0x483136(0x19b)][_0x4ce8d]=(0x0,collect_js_1[_0x483136(0x1a2)])(this[_0x483136(0x19b)][_0x4ce8d])[_0x483136(0x1b3)]('priority')['all']();}}return _0x3097bf?this[_0x483136(0x19b)][_0x3097bf]||[]:this[_0x483136(0x19b)];}async[a4_0x4b388c(0x1b5)](_0x988b4b,..._0x3b004e){const _0x4f5ea3=a4_0x4b388c;var _0xa983f7,_0x4f6cc0;await this[_0x4f5ea3(0x18e)]();for(let _0xfe88d5 in(_0xa983f7=this[_0x4f5ea3(0x19b)])===null||_0xa983f7===void 0x0?void 0x0:_0xa983f7[_0x988b4b]){const _0x33eef2=(_0x4f6cc0=this[_0x4f5ea3(0x19b)][_0x988b4b])===null||_0x4f6cc0===void 0x0?void 0x0:_0x4f6cc0[_0xfe88d5];(_0x33eef2===null||_0x33eef2===void 0x0?void 0x0:_0x33eef2['resolve'])&&typeof(_0x33eef2===null||_0x33eef2===void 0x0?void 0x0:_0x33eef2[_0x4f5ea3(0x1a4)])==_0x4f5ea3(0x1b9)&&await _0x33eef2['resolve'](..._0x3b004e);}}async[a4_0x4b388c(0x19c)](_0x292d77,..._0x61ac9e){const _0x36b552=a4_0x4b388c;return await this[_0x36b552(0x18e)](),await this['emit'](_0x292d77,..._0x61ac9e),this['off'](_0x292d77);}async[a4_0x4b388c(0x1a7)](_0x2b01fe){const _0x2a99cd=a4_0x4b388c;return await this['getListevent'](),this['listevent'][_0x2b01fe]&&delete this[_0x2a99cd(0x19b)][_0x2b01fe],!!this['listevent'][_0x2b01fe];}};__decorate([(0x0,decorator_1['App'])(),__metadata(a4_0x4b388c(0x196),Object)],EventService[a4_0x4b388c(0x1ba)],a4_0x4b388c(0x18f),void 0x0),EventService=__decorate([(0x0,decorator_1[a4_0x4b388c(0x1ac)])(a4_0x4b388c(0x190)),(0x0,decorator_1[a4_0x4b388c(0x193)])(decorator_1[a4_0x4b388c(0x19e)]['Singleton'])],EventService),exports[a4_0x4b388c(0x1b6)]=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.49",
|
|
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": "10ab408455a086be10e39bc4b73ea68053dd103e"
|
|
25
25
|
}
|