@anncic-api/event 1.4.22 → 1.4.24
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';function
|
|
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;
|
package/dist/decorator/Event.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function
|
|
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;};};
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var
|
|
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'];}});
|
package/dist/interface.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var
|
|
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 +1 @@
|
|
|
1
|
-
'use strict';
|
|
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;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@anncic-api/event",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.24",
|
|
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": "1e484da93119dd18e00e9fb095f477f2aee04694"
|
|
25
25
|
}
|