@anncic-api/event 2.1.1 → 2.1.2
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
|
-
var
|
|
1
|
+
var a0_0x25d301=a0_0x45dc;(function(_0x5ef889,_0x4b6ad4){var _0x1db0a3=a0_0x45dc,_0xb02530=_0x5ef889();while(!![]){try{var _0x3508a4=-parseInt(_0x1db0a3(0x1f0))/0x1*(parseInt(_0x1db0a3(0x1ef))/0x2)+-parseInt(_0x1db0a3(0x1fd))/0x3*(-parseInt(_0x1db0a3(0x1fa))/0x4)+-parseInt(_0x1db0a3(0x204))/0x5+parseInt(_0x1db0a3(0x1f9))/0x6*(-parseInt(_0x1db0a3(0x1fe))/0x7)+parseInt(_0x1db0a3(0x1ee))/0x8+parseInt(_0x1db0a3(0x205))/0x9*(parseInt(_0x1db0a3(0x1f2))/0xa)+parseInt(_0x1db0a3(0x1f5))/0xb;if(_0x3508a4===_0x4b6ad4)break;else _0xb02530['push'](_0xb02530['shift']());}catch(_0x5d8d38){_0xb02530['push'](_0xb02530['shift']());}}}(a0_0x49c2,0xa360e));var a0_0x2611f9=(function(){var _0x36c5e8=!![];return function(_0x2f313d,_0x22c4cf){var _0x5ef937=_0x36c5e8?function(){if(_0x22c4cf){var _0x3bddd5=_0x22c4cf['apply'](_0x2f313d,arguments);return _0x22c4cf=null,_0x3bddd5;}}:function(){};return _0x36c5e8=![],_0x5ef937;};}()),a0_0x3c9d4f=a0_0x2611f9(this,function(){var _0xe33c5b=a0_0x45dc;return a0_0x3c9d4f['toString']()[_0xe33c5b(0x1f3)](_0xe33c5b(0x202))[_0xe33c5b(0x1fb)]()[_0xe33c5b(0x206)](a0_0x3c9d4f)[_0xe33c5b(0x1f3)](_0xe33c5b(0x202));});a0_0x3c9d4f();'use strict';var __decorate=this&&this[a0_0x25d301(0x208)]||function(_0x4ed82b,_0x3ee2c0,_0x16f5fb,_0x45d192){var _0x254948=a0_0x25d301,_0x350daf=arguments[_0x254948(0x1ff)],_0x2c9036=_0x350daf<0x3?_0x3ee2c0:_0x45d192===null?_0x45d192=Object[_0x254948(0x1ea)](_0x3ee2c0,_0x16f5fb):_0x45d192,_0x2c33ab;if(typeof Reflect==='object'&&typeof Reflect[_0x254948(0x201)]===_0x254948(0x1f8))_0x2c9036=Reflect[_0x254948(0x201)](_0x4ed82b,_0x3ee2c0,_0x16f5fb,_0x45d192);else{for(var _0x5a3db3=_0x4ed82b[_0x254948(0x1ff)]-0x1;_0x5a3db3>=0x0;_0x5a3db3--)if(_0x2c33ab=_0x4ed82b[_0x5a3db3])_0x2c9036=(_0x350daf<0x3?_0x2c33ab(_0x2c9036):_0x350daf>0x3?_0x2c33ab(_0x3ee2c0,_0x16f5fb,_0x2c9036):_0x2c33ab(_0x3ee2c0,_0x16f5fb))||_0x2c9036;}return _0x350daf>0x3&&_0x2c9036&&Object[_0x254948(0x207)](_0x3ee2c0,_0x16f5fb,_0x2c9036),_0x2c9036;},__metadata=this&&this[a0_0x25d301(0x1ed)]||function(_0x1bc188,_0x2385ab){var _0x44c1ec=a0_0x25d301;if(typeof Reflect===_0x44c1ec(0x1f6)&&typeof Reflect['metadata']===_0x44c1ec(0x1f8))return Reflect[_0x44c1ec(0x1f7)](_0x1bc188,_0x2385ab);};Object[a0_0x25d301(0x207)](exports,'__esModule',{'value':!![]}),exports[a0_0x25d301(0x1f1)]=void 0x0;const core_1=require('@midwayjs/core'),core_2=require('@midwayjs/core');function a0_0x45dc(_0x2137bf,_0x2a89f1){var _0x4f8945=a0_0x49c2();return a0_0x45dc=function(_0x3c9d4f,_0x2611f9){_0x3c9d4f=_0x3c9d4f-0x1e9;var _0x49c2d3=_0x4f8945[_0x3c9d4f];return _0x49c2d3;},a0_0x45dc(_0x2137bf,_0x2a89f1);}function a0_0x49c2(){var _0x20735=['defineProperty','__decorate','onReady','MidwayConfigService','getOwnPropertyDescriptor','prototype','config','__metadata','3408568rBwYrb','722JbnwVh','912JKFgcs','CustomConfiguration','600qJTIhx','search','MidwayDecoratorService','3637491ypuFez','object','metadata','function','6VmECTd','580CPoURs','toString','anncic-api:event','24135HZomGE','5540297CTplyE','length','decorator','decorate','(((.+)+)+)+$','Inject','4876480UuREeU','126288hMVCkd','constructor'];a0_0x49c2=function(){return _0x20735;};return a0_0x49c2();}let CustomConfiguration=class CustomConfiguration{async[a0_0x25d301(0x209)](){}};__decorate([(0x0,core_1[a0_0x25d301(0x203)])(),__metadata('design:type',core_2[a0_0x25d301(0x1e9)])],CustomConfiguration['prototype'],a0_0x25d301(0x1ec),void 0x0),__decorate([(0x0,core_1[a0_0x25d301(0x203)])(),__metadata('design:type',core_2[a0_0x25d301(0x1f4)])],CustomConfiguration[a0_0x25d301(0x1eb)],a0_0x25d301(0x200),void 0x0),CustomConfiguration=__decorate([(0x0,core_1['Configuration'])({'conflictCheck':![],'namespace':a0_0x25d301(0x1fc)})],CustomConfiguration),exports['CustomConfiguration']=CustomConfiguration;
|
package/dist/decorator/Event.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a1_0x1b5db5=a1_0x4f2b;(function(_0x514a07,_0x92f936){const _0x2b92db=a1_0x4f2b,_0x52fc7e=_0x514a07();while(!![]){try{const _0x4f24ec=-parseInt(_0x2b92db(0x113))/0x1*(-parseInt(_0x2b92db(0x11c))/0x2)+parseInt(_0x2b92db(0x119))/0x3+-parseInt(_0x2b92db(0x125))/0x4*(parseInt(_0x2b92db(0x122))/0x5)+-parseInt(_0x2b92db(0x124))/0x6*(-parseInt(_0x2b92db(0x118))/0x7)+parseInt(_0x2b92db(0x123))/0x8+-parseInt(_0x2b92db(0x115))/0x9*(-parseInt(_0x2b92db(0x120))/0xa)+-parseInt(_0x2b92db(0x11e))/0xb;if(_0x4f24ec===_0x92f936)break;else _0x52fc7e['push'](_0x52fc7e['shift']());}catch(_0x3e2218){_0x52fc7e['push'](_0x52fc7e['shift']());}}}(a1_0x3a3f,0xdc4a6));const a1_0xa125db=(function(){let _0x22a906=!![];return function(_0x4463c5,_0x42e65b){const _0x430e21=_0x22a906?function(){const _0x3e57a5=a1_0x4f2b;if(_0x42e65b){const _0x437c27=_0x42e65b[_0x3e57a5(0x110)](_0x4463c5,arguments);return _0x42e65b=null,_0x437c27;}}:function(){};return _0x22a906=![],_0x430e21;};}()),a1_0x4dbf4b=a1_0xa125db(this,function(){const _0x32c243=a1_0x4f2b;return a1_0x4dbf4b[_0x32c243(0x112)]()[_0x32c243(0x11d)](_0x32c243(0x116))[_0x32c243(0x112)]()[_0x32c243(0x117)](a1_0x4dbf4b)[_0x32c243(0x11d)](_0x32c243(0x116));});a1_0x4dbf4b();'use strict';Object[a1_0x1b5db5(0x10f)](exports,a1_0x1b5db5(0x11f),{'value':!![]}),exports[a1_0x1b5db5(0x11a)]=void 0x0;const core_1=require(a1_0x1b5db5(0x121)),interface_1=require(a1_0x1b5db5(0x11b));function a1_0x4f2b(_0x4a7493,_0x5a5625){const _0x1c28e8=a1_0x3a3f();return a1_0x4f2b=function(_0x4dbf4b,_0xa125db){_0x4dbf4b=_0x4dbf4b-0x10f;let _0x3a3f96=_0x1c28e8[_0x4dbf4b];return _0x3a3f96;},a1_0x4f2b(_0x4a7493,_0x5a5625);}function a1_0x3a3f(){const _0x2f16cc=['(((.+)+)+)+$','constructor','10911250pDccau','726387ubjVzJ','Event','../interface','4DrLYRu','search','42698491PIzmbS','__esModule','15354510eFUpWt','@midwayjs/core','615705CIUMfC','9913560rVjMIz','6gQCpqD','24QjUSav','defineProperty','apply','EVENT_KEY','toString','473656iEesFM','Request','9tFqSWn'];a1_0x3a3f=function(){return _0x2f16cc;};return a1_0x3a3f();}function Event(){return _0x50a500=>{const _0x451f5d=a1_0x4f2b;(0x0,core_1['Provide'])()(_0x50a500),(0x0,core_1['saveModule'])(interface_1[_0x451f5d(0x111)],_0x50a500),(0x0,core_1['Scope'])(core_1['ScopeEnum'][_0x451f5d(0x114)],{'allowDowngrade':!![]})(_0x50a500);};}exports[a1_0x1b5db5(0x11a)]=Event,Event['On']=function(_0x32a233,_0x5b515d=0x0){return(_0xe6d4e8,_0x4ddf73,_0x469a87)=>{return(0x0,core_1['attachClassMetadata'])(interface_1['EVENT_ON_KEY'],{'name':_0x32a233,'priority':_0x5b515d,'propertyKey':_0x4ddf73,'descriptor':_0x469a87},_0xe6d4e8),_0x469a87;};};
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a2_0x2a986c=a2_0x3916;(function(_0x3f6e78,_0x58d000){var _0x4f8e56=a2_0x3916,_0x244578=_0x3f6e78();while(!![]){try{var _0x368e4a=parseInt(_0x4f8e56(0x17d))/0x1*(parseInt(_0x4f8e56(0x16b))/0x2)+parseInt(_0x4f8e56(0x175))/0x3+-parseInt(_0x4f8e56(0x17c))/0x4*(parseInt(_0x4f8e56(0x169))/0x5)+-parseInt(_0x4f8e56(0x16e))/0x6*(parseInt(_0x4f8e56(0x168))/0x7)+parseInt(_0x4f8e56(0x171))/0x8+-parseInt(_0x4f8e56(0x174))/0x9+parseInt(_0x4f8e56(0x16f))/0xa;if(_0x368e4a===_0x58d000)break;else _0x244578['push'](_0x244578['shift']());}catch(_0x242a5b){_0x244578['push'](_0x244578['shift']());}}}(a2_0x1581,0x33194));var a2_0x4785c1=(function(){var _0x6bc178=!![];return function(_0x54181e,_0x1abb0d){var _0x12fd5=_0x6bc178?function(){var _0x36c77c=a2_0x3916;if(_0x1abb0d){var _0x4715aa=_0x1abb0d[_0x36c77c(0x176)](_0x54181e,arguments);return _0x1abb0d=null,_0x4715aa;}}:function(){};return _0x6bc178=![],_0x12fd5;};}()),a2_0x2363ea=a2_0x4785c1(this,function(){var _0x3f4640=a2_0x3916;return a2_0x2363ea[_0x3f4640(0x173)]()[_0x3f4640(0x178)](_0x3f4640(0x16c))[_0x3f4640(0x173)]()[_0x3f4640(0x179)](a2_0x2363ea)['search'](_0x3f4640(0x16c));});a2_0x2363ea();'use strict';Object['defineProperty'](exports,a2_0x2a986c(0x170),{'value':!![]}),exports[a2_0x2a986c(0x177)]=exports['EventService']=exports['Event']=void 0x0;function a2_0x3916(_0x5d17ae,_0x7b05ee){var _0x2f07ae=a2_0x1581();return a2_0x3916=function(_0x2363ea,_0x4785c1){_0x2363ea=_0x2363ea-0x168;var _0x1581ff=_0x2f07ae[_0x2363ea];return _0x1581ff;},a2_0x3916(_0x5d17ae,_0x7b05ee);}var Event_1=require('./decorator/Event');Object['defineProperty'](exports,a2_0x2a986c(0x172),{'enumerable':!![],'get':function(){var _0x4f2a4f=a2_0x2a986c;return Event_1[_0x4f2a4f(0x172)];}});var EventService_1=require('./service/EventService');Object[a2_0x2a986c(0x17b)](exports,a2_0x2a986c(0x17a),{'enumerable':!![],'get':function(){var _0x4e1fe2=a2_0x2a986c;return EventService_1[_0x4e1fe2(0x17a)];}});var configuration_1=require(a2_0x2a986c(0x16a));Object[a2_0x2a986c(0x17b)](exports,a2_0x2a986c(0x177),{'enumerable':!![],'get':function(){var _0x438df8=a2_0x2a986c;return configuration_1[_0x438df8(0x16d)];}});function a2_0x1581(){var _0x481d1e=['1290712SOnRip','Event','toString','2756268pxKRYf','898119nXVGsH','apply','Configuration','search','constructor','EventService','defineProperty','28VOJJNR','1OKCubf','636335diyKps','160295RwBvNN','./configuration','448582pimoDr','(((.+)+)+)+$','CustomConfiguration','6aqfYQW','1458670kbHaji','__esModule'];a2_0x1581=function(){return _0x481d1e;};return a2_0x1581();}
|
package/dist/interface.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a3_0x4585cf=a3_0x4e7f;function a3_0x4e7f(_0x26602f,_0x2520b1){var _0x10041b=a3_0x2d5a();return a3_0x4e7f=function(_0x55e3ae,_0x4086fb){_0x55e3ae=_0x55e3ae-0xac;var _0x2d5a60=_0x10041b[_0x55e3ae];return _0x2d5a60;},a3_0x4e7f(_0x26602f,_0x2520b1);}(function(_0x3d4b1d,_0x45ce2c){var _0x3bf50b=a3_0x4e7f,_0x3ba2c0=_0x3d4b1d();while(!![]){try{var _0x422c64=-parseInt(_0x3bf50b(0xac))/0x1*(parseInt(_0x3bf50b(0xbb))/0x2)+-parseInt(_0x3bf50b(0xb2))/0x3*(-parseInt(_0x3bf50b(0xb3))/0x4)+-parseInt(_0x3bf50b(0xb6))/0x5*(parseInt(_0x3bf50b(0xb9))/0x6)+-parseInt(_0x3bf50b(0xb5))/0x7*(-parseInt(_0x3bf50b(0xbd))/0x8)+parseInt(_0x3bf50b(0xb7))/0x9+-parseInt(_0x3bf50b(0xbe))/0xa+parseInt(_0x3bf50b(0xba))/0xb;if(_0x422c64===_0x45ce2c)break;else _0x3ba2c0['push'](_0x3ba2c0['shift']());}catch(_0x3ad834){_0x3ba2c0['push'](_0x3ba2c0['shift']());}}}(a3_0x2d5a,0xcdd6b));var a3_0x4086fb=(function(){var _0x4906d3=!![];return function(_0x22c127,_0x500c59){var _0x21fbb8=_0x4906d3?function(){if(_0x500c59){var _0x629c61=_0x500c59['apply'](_0x22c127,arguments);return _0x500c59=null,_0x629c61;}}:function(){};return _0x4906d3=![],_0x21fbb8;};}()),a3_0x55e3ae=a3_0x4086fb(this,function(){var _0x1d689c=a3_0x4e7f;return a3_0x55e3ae['toString']()[_0x1d689c(0xb8)](_0x1d689c(0xb0))[_0x1d689c(0xbc)]()[_0x1d689c(0xb4)](a3_0x55e3ae)[_0x1d689c(0xb8)](_0x1d689c(0xb0));});a3_0x55e3ae();'use strict';Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[a3_0x4585cf(0xaf)]=exports[a3_0x4585cf(0xb1)]=void 0x0,exports[a3_0x4585cf(0xb1)]=a3_0x4585cf(0xad),exports[a3_0x4585cf(0xaf)]=a3_0x4585cf(0xae);function a3_0x2d5a(){var _0x4a3980=['toString','1104uxnVpK','13576090vldwUE','3vDfjoR','anncic-api:event','anncic-api:event:on','EVENT_ON_KEY','(((.+)+)+)+$','EVENT_KEY','1047foIlaK','4236mPgXop','constructor','59654IbxIgZ','295BsKhMP','13565358aPvSRN','search','77592yPBjzc','5208500tAQlzm','375118tfVlnn'];a3_0x2d5a=function(){return _0x4a3980;};return a3_0x2d5a();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a4_0x3d1f(_0x2bb4c9,_0x4e435b){const _0x38b4fa=a4_0x29a1();return a4_0x3d1f=function(_0x4d0aab,_0x5a0257){_0x4d0aab=_0x4d0aab-0x1c8;let _0x29a187=_0x38b4fa[_0x4d0aab];return _0x29a187;},a4_0x3d1f(_0x2bb4c9,_0x4e435b);}const a4_0x28e5b6=a4_0x3d1f;(function(_0x3441d9,_0x45c6da){const _0x3d3acc=a4_0x3d1f,_0x16209c=_0x3441d9();while(!![]){try{const _0x549b3f=parseInt(_0x3d3acc(0x1e9))/0x1+-parseInt(_0x3d3acc(0x1d1))/0x2*(parseInt(_0x3d3acc(0x1c9))/0x3)+-parseInt(_0x3d3acc(0x1df))/0x4+parseInt(_0x3d3acc(0x1e1))/0x5+parseInt(_0x3d3acc(0x1d4))/0x6+parseInt(_0x3d3acc(0x1d9))/0x7+-parseInt(_0x3d3acc(0x1cd))/0x8;if(_0x549b3f===_0x45c6da)break;else _0x16209c['push'](_0x16209c['shift']());}catch(_0x4241fd){_0x16209c['push'](_0x16209c['shift']());}}}(a4_0x29a1,0x86f64));function a4_0x29a1(){const _0x51829c=['event','getApplicationContext','@midwayjs/core','listevent','design:type','listModule','153gyzxzM','__esModule','function','getAsync','399632ZQLmNl','object','constructor','App','28284NEUPdU','resolve','off','42588ngITJQ','push','all','Provide','emit','6656013aDObBF','__metadata','metadata','propertyKey','app','prototype','2906000KuzuKp','priority','4977200ZlQVch','EVENT_ON_KEY','__decorate','Singleton','Scope','getOwnPropertyDescriptor','(((.+)+)+)+$','toString','97103sHEsIy','EventService','name','length','ScopeEnum','../interface','init','collect.js','getListevent','search'];a4_0x29a1=function(){return _0x51829c;};return a4_0x29a1();}const a4_0x5a0257=(function(){let _0x5e8ca9=!![];return function(_0x1e3f5f,_0x24ded7){const _0x5a80dc=_0x5e8ca9?function(){if(_0x24ded7){const _0x38a2f8=_0x24ded7['apply'](_0x1e3f5f,arguments);return _0x24ded7=null,_0x38a2f8;}}:function(){};return _0x5e8ca9=![],_0x5a80dc;};}()),a4_0x4d0aab=a4_0x5a0257(this,function(){const _0xaa6e74=a4_0x3d1f;return a4_0x4d0aab[_0xaa6e74(0x1e8)]()[_0xaa6e74(0x1f2)](_0xaa6e74(0x1e7))[_0xaa6e74(0x1e8)]()[_0xaa6e74(0x1cf)](a4_0x4d0aab)[_0xaa6e74(0x1f2)](_0xaa6e74(0x1e7));});a4_0x4d0aab();'use strict';var __decorate=this&&this[a4_0x28e5b6(0x1e3)]||function(_0x4d386b,_0x13080e,_0xe4f1f3,_0x41af24){const _0x5c7725=a4_0x28e5b6;var _0x2beace=arguments[_0x5c7725(0x1ec)],_0x55977b=_0x2beace<0x3?_0x13080e:_0x41af24===null?_0x41af24=Object[_0x5c7725(0x1e6)](_0x13080e,_0xe4f1f3):_0x41af24,_0x18ccf7;if(typeof Reflect===_0x5c7725(0x1ce)&&typeof Reflect['decorate']==='function')_0x55977b=Reflect['decorate'](_0x4d386b,_0x13080e,_0xe4f1f3,_0x41af24);else{for(var _0x3c33c0=_0x4d386b[_0x5c7725(0x1ec)]-0x1;_0x3c33c0>=0x0;_0x3c33c0--)if(_0x18ccf7=_0x4d386b[_0x3c33c0])_0x55977b=(_0x2beace<0x3?_0x18ccf7(_0x55977b):_0x2beace>0x3?_0x18ccf7(_0x13080e,_0xe4f1f3,_0x55977b):_0x18ccf7(_0x13080e,_0xe4f1f3))||_0x55977b;}return _0x2beace>0x3&&_0x55977b&&Object['defineProperty'](_0x13080e,_0xe4f1f3,_0x55977b),_0x55977b;},__metadata=this&&this[a4_0x28e5b6(0x1da)]||function(_0x570d84,_0x1482f4){const _0x21fada=a4_0x28e5b6;if(typeof Reflect==='object'&&typeof Reflect[_0x21fada(0x1db)]===_0x21fada(0x1cb))return Reflect[_0x21fada(0x1db)](_0x570d84,_0x1482f4);};Object['defineProperty'](exports,a4_0x28e5b6(0x1ca),{'value':!![]}),exports[a4_0x28e5b6(0x1ea)]=void 0x0;const collect_js_1=require(a4_0x28e5b6(0x1f0)),core_1=require(a4_0x28e5b6(0x1f5)),interface_1=require(a4_0x28e5b6(0x1ee));let EventService=class EventService{constructor(){const _0x5a5541=a4_0x28e5b6;this[_0x5a5541(0x1ef)]=![];}async['getListevent'](_0xd22622){const _0xee8297=a4_0x28e5b6;if(!this['init']){this[_0xee8297(0x1ef)]=!![],this['listevent']={};for(const _0x3f3563 of(0x0,core_1[_0xee8297(0x1c8)])(interface_1['EVENT_KEY'])||[]){const _0x5c1ab7=await this[_0xee8297(0x1dd)][_0xee8297(0x1f4)]()[_0xee8297(0x1cc)](_0x3f3563);for(const _0x3cc6ff of(0x0,core_1['getClassMetadata'])(interface_1[_0xee8297(0x1e2)],_0x3f3563)||[]){typeof(_0x5c1ab7[_0x3cc6ff[_0xee8297(0x1dc)]]==_0xee8297(0x1cb))&&(!this[_0xee8297(0x1f6)][_0x3cc6ff['name']]&&(this[_0xee8297(0x1f6)][_0x3cc6ff['name']]=[]),this['listevent'][_0x3cc6ff[_0xee8297(0x1eb)]][_0xee8297(0x1d5)]({'priority':_0x3cc6ff['priority'],'resolve':_0x5c1ab7[_0x3cc6ff[_0xee8297(0x1dc)]]['bind'](_0x5c1ab7),'propertyKey':_0x3f3563[_0xee8297(0x1eb)]+'@'+_0x3cc6ff[_0xee8297(0x1dc)]}));}}for(const _0x588f32 in this[_0xee8297(0x1f6)]){this[_0xee8297(0x1f6)][_0x588f32]=(0x0,collect_js_1['default'])(this['listevent'][_0x588f32])['sortByDesc'](_0xee8297(0x1e0))[_0xee8297(0x1d6)]();}}return _0xd22622?this['listevent'][_0xd22622]||[]:this['listevent'];}async[a4_0x28e5b6(0x1d8)](_0x3ee21c,..._0x38b35f){const _0x16280b=a4_0x28e5b6;var _0xc37ef6,_0x21dd28;await this[_0x16280b(0x1f1)]();for(let _0x299505 in(_0xc37ef6=this['listevent'])===null||_0xc37ef6===void 0x0?void 0x0:_0xc37ef6[_0x3ee21c]){const _0x145569=(_0x21dd28=this[_0x16280b(0x1f6)][_0x3ee21c])===null||_0x21dd28===void 0x0?void 0x0:_0x21dd28[_0x299505];(_0x145569===null||_0x145569===void 0x0?void 0x0:_0x145569[_0x16280b(0x1d2)])&&typeof(_0x145569===null||_0x145569===void 0x0?void 0x0:_0x145569['resolve'])=='function'&&await _0x145569['resolve'](..._0x38b35f);}}async['once'](_0x175f27,..._0x23daad){const _0x2624b2=a4_0x28e5b6;return await this[_0x2624b2(0x1f1)](),await this[_0x2624b2(0x1d8)](_0x175f27,..._0x23daad),this[_0x2624b2(0x1d3)](_0x175f27);}async['off'](_0x226a3c){const _0x361790=a4_0x28e5b6;return await this[_0x361790(0x1f1)](),this[_0x361790(0x1f6)][_0x226a3c]&&delete this['listevent'][_0x226a3c],!!this[_0x361790(0x1f6)][_0x226a3c];}};__decorate([(0x0,core_1[a4_0x28e5b6(0x1d0)])(),__metadata(a4_0x28e5b6(0x1f7),Object)],EventService[a4_0x28e5b6(0x1de)],'app',void 0x0),EventService=__decorate([(0x0,core_1[a4_0x28e5b6(0x1d7)])(a4_0x28e5b6(0x1f3)),(0x0,core_1[a4_0x28e5b6(0x1e5)])(core_1[a4_0x28e5b6(0x1ed)][a4_0x28e5b6(0x1e4)])],EventService),exports['EventService']=EventService;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@anncic-api/event",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.2",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"files": [
|
|
@@ -21,5 +21,5 @@
|
|
|
21
21
|
"javascript-obfuscator": "^4.0.0",
|
|
22
22
|
"typescript": "^4.7.4"
|
|
23
23
|
},
|
|
24
|
-
"gitHead": "
|
|
24
|
+
"gitHead": "9a661c518ac9a4895d9cb811eb1794e54d21e6f7"
|
|
25
25
|
}
|