@anncic-api/event 1.1.31 → 1.1.32
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_0x5b0a6f=a0_0x867d;(function(_0x88dd6b,_0xffbf57){var _0x5b0e9e=a0_0x867d,_0x1f467f=_0x88dd6b();while(!![]){try{var _0x4d9da7=parseInt(_0x5b0e9e(0xef))/0x1*(-parseInt(_0x5b0e9e(0xf3))/0x2)+-parseInt(_0x5b0e9e(0xfc))/0x3+-parseInt(_0x5b0e9e(0xfd))/0x4+parseInt(_0x5b0e9e(0xf4))/0x5*(parseInt(_0x5b0e9e(0xe8))/0x6)+-parseInt(_0x5b0e9e(0xf7))/0x7*(-parseInt(_0x5b0e9e(0xeb))/0x8)+parseInt(_0x5b0e9e(0xf8))/0x9*(-parseInt(_0x5b0e9e(0xf0))/0xa)+-parseInt(_0x5b0e9e(0xed))/0xb*(-parseInt(_0x5b0e9e(0xe2))/0xc);if(_0x4d9da7===_0xffbf57)break;else _0x1f467f['push'](_0x1f467f['shift']());}catch(_0x13d84e){_0x1f467f['push'](_0x1f467f['shift']());}}}(a0_0x517d,0x1c772));function a0_0x867d(_0x2f147c,_0x1c258d){var _0x517d66=a0_0x517d();return a0_0x867d=function(_0x867d43,_0x38c5af){_0x867d43=_0x867d43-0xe0;var _0x2ccd79=_0x517d66[_0x867d43];return _0x2ccd79;},a0_0x867d(_0x2f147c,_0x1c258d);}var __decorate=this&&this[a0_0x5b0a6f(0xe4)]||function(_0x5d0f77,_0x85ef4e,_0x32306a,_0x234d53){var _0x54a919=a0_0x5b0a6f,_0x193f81=arguments[_0x54a919(0xf5)],_0xa5233e=_0x193f81<0x3?_0x85ef4e:_0x234d53===null?_0x234d53=Object[_0x54a919(0xe7)](_0x85ef4e,_0x32306a):_0x234d53,_0x418e06;if(typeof Reflect===_0x54a919(0xec)&&typeof Reflect['decorate']===_0x54a919(0xe3))_0xa5233e=Reflect[_0x54a919(0xe5)](_0x5d0f77,_0x85ef4e,_0x32306a,_0x234d53);else{for(var _0x3096fb=_0x5d0f77['length']-0x1;_0x3096fb>=0x0;_0x3096fb--)if(_0x418e06=_0x5d0f77[_0x3096fb])_0xa5233e=(_0x193f81<0x3?_0x418e06(_0xa5233e):_0x193f81>0x3?_0x418e06(_0x85ef4e,_0x32306a,_0xa5233e):_0x418e06(_0x85ef4e,_0x32306a))||_0xa5233e;}return _0x193f81>0x3&&_0xa5233e&&Object[_0x54a919(0xea)](_0x85ef4e,_0x32306a,_0xa5233e),_0xa5233e;},__metadata=this&&this[a0_0x5b0a6f(0xe6)]||function(_0x20d0c7,_0x4e9e95){var _0x3b997d=a0_0x5b0a6f;if(typeof Reflect===_0x3b997d(0xec)&&typeof Reflect[_0x3b997d(0xf9)]===_0x3b997d(0xe3))return Reflect[_0x3b997d(0xf9)](_0x20d0c7,_0x4e9e95);};function a0_0x517d(){var _0x85c972=['__decorate','decorate','__metadata','getOwnPropertyDescriptor','6zRWYrI','decorator','defineProperty','20136kcqYTn','object','642587VBYipJ','onReady','3cnXwVG','130YYDSIS','prototype','CustomConfiguration','9524chtsyR','132665xVBRKc','length','config','7hmuYtG','132903jIAfey','metadata','@midwayjs/core','Inject','55614GTqEcv','853656GYsEPe','anncic-api:event','@midwayjs/decorator','108DkkbgH','function'];a0_0x517d=function(){return _0x85c972;};return a0_0x517d();}Object[a0_0x5b0a6f(0xea)](exports,'__esModule',{'value':!![]}),exports[a0_0x5b0a6f(0xf2)]=void 0x0;const decorator_1=require(a0_0x5b0a6f(0xe1)),core_1=require(a0_0x5b0a6f(0xfa));let CustomConfiguration=class CustomConfiguration{async[a0_0x5b0a6f(0xee)](){}};__decorate([(0x0,decorator_1[a0_0x5b0a6f(0xfb)])(),__metadata('design:type',core_1['MidwayConfigService'])],CustomConfiguration[a0_0x5b0a6f(0xf1)],a0_0x5b0a6f(0xf6),void 0x0),__decorate([(0x0,decorator_1[a0_0x5b0a6f(0xfb)])(),__metadata('design:type',core_1['MidwayDecoratorService'])],CustomConfiguration['prototype'],a0_0x5b0a6f(0xe9),void 0x0),CustomConfiguration=__decorate([(0x0,decorator_1['Configuration'])({'conflictCheck':![],'namespace':a0_0x5b0a6f(0xe0)})],CustomConfiguration),exports[a0_0x5b0a6f(0xf2)]=CustomConfiguration;
|
package/dist/decorator/Event.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a1_0x493c91=a1_0x8f24;(function(_0x155f08,_0x294c09){const _0x3a3d7b=a1_0x8f24,_0x586ea0=_0x155f08();while(!![]){try{const _0x29f1ea=parseInt(_0x3a3d7b(0x8d))/0x1*(-parseInt(_0x3a3d7b(0x91))/0x2)+-parseInt(_0x3a3d7b(0x93))/0x3*(parseInt(_0x3a3d7b(0x9e))/0x4)+-parseInt(_0x3a3d7b(0x9b))/0x5+parseInt(_0x3a3d7b(0x99))/0x6+-parseInt(_0x3a3d7b(0x97))/0x7*(parseInt(_0x3a3d7b(0x90))/0x8)+parseInt(_0x3a3d7b(0x94))/0x9+parseInt(_0x3a3d7b(0x9c))/0xa*(parseInt(_0x3a3d7b(0x98))/0xb);if(_0x29f1ea===_0x294c09)break;else _0x586ea0['push'](_0x586ea0['shift']());}catch(_0x2d8034){_0x586ea0['push'](_0x586ea0['shift']());}}}(a1_0x207a,0x61b23));function a1_0x8f24(_0xb2b5bd,_0x1d5b1d){const _0x207aab=a1_0x207a();return a1_0x8f24=function(_0x8f2465,_0x17219a){_0x8f2465=_0x8f2465-0x8c;let _0x3645bf=_0x207aab[_0x8f2465];return _0x3645bf;},a1_0x8f24(_0xb2b5bd,_0x1d5b1d);}function a1_0x207a(){const _0x87c465=['3989664pguTiX','EVENT_ON_KEY','Scope','1477pDmXDN','17919QsDthV','4701408GAiMMw','attachClassMetadata','1046035hVqeju','4460KmfEIo','saveModule','48IfuwKI','@midwayjs/decorator','663035aqfZLh','defineProperty','Provide','88Yilrgs','2edUEbP','Event','169668dPVdSI'];a1_0x207a=function(){return _0x87c465;};return a1_0x207a();}Object[a1_0x493c91(0x8e)](exports,'__esModule',{'value':!![]}),exports[a1_0x493c91(0x92)]=void 0x0;const decorator_1=require(a1_0x493c91(0x8c)),interface_1=require('../interface');function Event(){return _0xa767d7=>{const _0x28e9b7=a1_0x8f24;(0x0,decorator_1[_0x28e9b7(0x8f)])()(_0xa767d7),(0x0,decorator_1[_0x28e9b7(0x9d)])(interface_1['EVENT_KEY'],_0xa767d7),(0x0,decorator_1[_0x28e9b7(0x96)])(decorator_1['ScopeEnum']['Request'],{'allowDowngrade':!![]})(_0xa767d7);};}exports[a1_0x493c91(0x92)]=Event,Event['On']=function(_0x594cb2,_0x106c94=0x0){return(_0x882bd9,_0x1bd5a4,_0x7c685c)=>{const _0x250ade=a1_0x8f24;return(0x0,decorator_1[_0x250ade(0x9a)])(interface_1[_0x250ade(0x95)],{'name':_0x594cb2,'priority':_0x106c94,'propertyKey':_0x1bd5a4,'descriptor':_0x7c685c},_0x882bd9),_0x7c685c;};};
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function
|
|
1
|
+
'use strict';function a2_0x53d3(){var _0x5d5f06=['11pewPBl','7rTTJeE','./configuration','10243440CLEQMX','./decorator/Event','Event','5219460aTAzNu','CustomConfiguration','Configuration','159GUqHzf','8206566qoMmTA','7507705DKYQup','83684fmoAAd','1ijaUgy','EventService','defineProperty','3323396sELqoK','./service/EventService','51177520cdTxDG','__esModule'];a2_0x53d3=function(){return _0x5d5f06;};return a2_0x53d3();}var a2_0x3b68ac=a2_0x5572;(function(_0x1d6ab4,_0x75c4a5){var _0x18df12=a2_0x5572,_0x10aa09=_0x1d6ab4();while(!![]){try{var _0x33a7cb=parseInt(_0x18df12(0x1e1))/0x1*(parseInt(_0x18df12(0x1e4))/0x2)+-parseInt(_0x18df12(0x1dd))/0x3*(parseInt(_0x18df12(0x1e0))/0x4)+-parseInt(_0x18df12(0x1df))/0x5+parseInt(_0x18df12(0x1de))/0x6*(-parseInt(_0x18df12(0x1d5))/0x7)+-parseInt(_0x18df12(0x1d7))/0x8+-parseInt(_0x18df12(0x1da))/0x9+-parseInt(_0x18df12(0x1e6))/0xa*(-parseInt(_0x18df12(0x1d4))/0xb);if(_0x33a7cb===_0x75c4a5)break;else _0x10aa09['push'](_0x10aa09['shift']());}catch(_0x40a3d4){_0x10aa09['push'](_0x10aa09['shift']());}}}(a2_0x53d3,0xe5ba5));Object[a2_0x3b68ac(0x1e3)](exports,a2_0x3b68ac(0x1e7),{'value':!![]}),exports[a2_0x3b68ac(0x1dc)]=exports[a2_0x3b68ac(0x1e2)]=exports['Event']=void 0x0;var Event_1=require(a2_0x3b68ac(0x1d8));Object[a2_0x3b68ac(0x1e3)](exports,a2_0x3b68ac(0x1d9),{'enumerable':!![],'get':function(){var _0x21a424=a2_0x3b68ac;return Event_1[_0x21a424(0x1d9)];}});var EventService_1=require(a2_0x3b68ac(0x1e5));Object['defineProperty'](exports,a2_0x3b68ac(0x1e2),{'enumerable':!![],'get':function(){var _0x981b2b=a2_0x3b68ac;return EventService_1[_0x981b2b(0x1e2)];}});var configuration_1=require(a2_0x3b68ac(0x1d6));function a2_0x5572(_0x71b536,_0x4c518c){var _0x53d3ca=a2_0x53d3();return a2_0x5572=function(_0x557260,_0x30c837){_0x557260=_0x557260-0x1d4;var _0x28b10b=_0x53d3ca[_0x557260];return _0x28b10b;},a2_0x5572(_0x71b536,_0x4c518c);}Object[a2_0x3b68ac(0x1e3)](exports,a2_0x3b68ac(0x1dc),{'enumerable':!![],'get':function(){var _0x1c77ad=a2_0x3b68ac;return configuration_1[_0x1c77ad(0x1db)];}});
|
package/dist/interface.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var a3_0x424df1=a3_0xa5ba;(function(_0x16c9fe,_0x1b944c){var _0x2dc590=a3_0xa5ba,_0x1cc8f7=_0x16c9fe();while(!![]){try{var _0x30189e=-parseInt(_0x2dc590(0x1ba))/0x1*(-parseInt(_0x2dc590(0x1b1))/0x2)+-parseInt(_0x2dc590(0x1b7))/0x3+-parseInt(_0x2dc590(0x1b2))/0x4+parseInt(_0x2dc590(0x1bc))/0x5*(-parseInt(_0x2dc590(0x1b3))/0x6)+parseInt(_0x2dc590(0x1b9))/0x7+-parseInt(_0x2dc590(0x1b0))/0x8+parseInt(_0x2dc590(0x1af))/0x9;if(_0x30189e===_0x1b944c)break;else _0x1cc8f7['push'](_0x1cc8f7['shift']());}catch(_0x460da7){_0x1cc8f7['push'](_0x1cc8f7['shift']());}}}(a3_0x5514,0x1a606));function a3_0x5514(){var _0x33464e=['anncic-api:event:on','624438XiXkSO','EVENT_KEY','1173704JJDSTZ','23HsHhGo','__esModule','95CHVaEM','6062634leDOyS','1605048BsqHZS','3920wkPFsW','826704hiuLKH','51438cDGKMp','anncic-api:event','EVENT_ON_KEY'];a3_0x5514=function(){return _0x33464e;};return a3_0x5514();}function a3_0xa5ba(_0x3e1bea,_0x12cb0c){var _0x551471=a3_0x5514();return a3_0xa5ba=function(_0xa5ba82,_0x4c3908){_0xa5ba82=_0xa5ba82-0x1af;var _0x2119b2=_0x551471[_0xa5ba82];return _0x2119b2;},a3_0xa5ba(_0x3e1bea,_0x12cb0c);}Object['defineProperty'](exports,a3_0x424df1(0x1bb),{'value':!![]}),exports[a3_0x424df1(0x1b5)]=exports[a3_0x424df1(0x1b8)]=void 0x0,exports[a3_0x424df1(0x1b8)]=a3_0x424df1(0x1b4),exports[a3_0x424df1(0x1b5)]=a3_0x424df1(0x1b6);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';function a4_0x2912(_0x3fd91e,_0x473602){const _0x53db35=a4_0x53db();return a4_0x2912=function(_0x29125d,_0x5ce8eb){_0x29125d=_0x29125d-0x12f;let _0x5cc237=_0x53db35[_0x29125d];return _0x5cc237;},a4_0x2912(_0x3fd91e,_0x473602);}const a4_0x2974b1=a4_0x2912;(function(_0x188e29,_0x27b3c0){const _0x51eec9=a4_0x2912,_0x531385=_0x188e29();while(!![]){try{const _0x4286dc=parseInt(_0x51eec9(0x145))/0x1+parseInt(_0x51eec9(0x162))/0x2*(-parseInt(_0x51eec9(0x157))/0x3)+-parseInt(_0x51eec9(0x14c))/0x4*(parseInt(_0x51eec9(0x15c))/0x5)+parseInt(_0x51eec9(0x15b))/0x6*(-parseInt(_0x51eec9(0x151))/0x7)+-parseInt(_0x51eec9(0x156))/0x8*(-parseInt(_0x51eec9(0x141))/0x9)+parseInt(_0x51eec9(0x15a))/0xa+-parseInt(_0x51eec9(0x15f))/0xb*(-parseInt(_0x51eec9(0x13f))/0xc);if(_0x4286dc===_0x27b3c0)break;else _0x531385['push'](_0x531385['shift']());}catch(_0x55e47e){_0x531385['push'](_0x531385['shift']());}}}(a4_0x53db,0x2c891));var __decorate=this&&this['__decorate']||function(_0x24c23f,_0x191f4d,_0xbc6d83,_0x2b205d){const _0x3f6e84=a4_0x2912;var _0x574e2e=arguments['length'],_0x1581fa=_0x574e2e<0x3?_0x191f4d:_0x2b205d===null?_0x2b205d=Object[_0x3f6e84(0x159)](_0x191f4d,_0xbc6d83):_0x2b205d,_0x4ce2dc;if(typeof Reflect===_0x3f6e84(0x140)&&typeof Reflect[_0x3f6e84(0x14f)]===_0x3f6e84(0x142))_0x1581fa=Reflect[_0x3f6e84(0x14f)](_0x24c23f,_0x191f4d,_0xbc6d83,_0x2b205d);else{for(var _0x5bebad=_0x24c23f[_0x3f6e84(0x137)]-0x1;_0x5bebad>=0x0;_0x5bebad--)if(_0x4ce2dc=_0x24c23f[_0x5bebad])_0x1581fa=(_0x574e2e<0x3?_0x4ce2dc(_0x1581fa):_0x574e2e>0x3?_0x4ce2dc(_0x191f4d,_0xbc6d83,_0x1581fa):_0x4ce2dc(_0x191f4d,_0xbc6d83))||_0x1581fa;}return _0x574e2e>0x3&&_0x1581fa&&Object[_0x3f6e84(0x134)](_0x191f4d,_0xbc6d83,_0x1581fa),_0x1581fa;},__metadata=this&&this[a4_0x2974b1(0x146)]||function(_0xab68a1,_0x479898){const _0x4f016b=a4_0x2974b1;if(typeof Reflect===_0x4f016b(0x140)&&typeof Reflect[_0x4f016b(0x15d)]===_0x4f016b(0x142))return Reflect[_0x4f016b(0x15d)](_0xab68a1,_0x479898);};Object[a4_0x2974b1(0x134)](exports,a4_0x2974b1(0x14e),{'value':!![]}),exports['EventService']=void 0x0;function a4_0x53db(){const _0x339969=['App','8iRXPIg','60YVukfs','event','getOwnPropertyDescriptor','2741160htKtdY','228MasBLB','45uQRAWI','metadata','Scope','132KjyEWr','off','listevent','30704WfCVZk','default','@midwayjs/decorator','collect.js','EVENT_ON_KEY','init','defineProperty','EVENT_KEY','emit','length','getClassMetadata','sortByDesc','bind','listModule','prototype','resolve','Provide','310056KePdRa','object','2021922YfTYcc','function','getListevent','app','20864EZDkKA','__metadata','Singleton','priority','getApplicationContext','all','once','21780ADVGoA','propertyKey','__esModule','decorate','../interface','53648GqwXvN','EventService','design:type','name'];a4_0x53db=function(){return _0x339969;};return a4_0x53db();}const collect_js_1=require(a4_0x2974b1(0x131)),decorator_1=require(a4_0x2974b1(0x130)),interface_1=require(a4_0x2974b1(0x150));let EventService=class EventService{constructor(){const _0x582578=a4_0x2974b1;this[_0x582578(0x133)]=![];}async[a4_0x2974b1(0x143)](_0x495277){const _0x149147=a4_0x2974b1;if(!this[_0x149147(0x133)]){this[_0x149147(0x133)]=!![],this[_0x149147(0x161)]={};for(const _0x527995 of(0x0,decorator_1[_0x149147(0x13b)])(interface_1[_0x149147(0x135)])||[]){const _0x2a079a=await this[_0x149147(0x144)][_0x149147(0x149)]()['getAsync'](_0x527995);for(const _0x3d2438 of(0x0,decorator_1[_0x149147(0x138)])(interface_1[_0x149147(0x132)],_0x527995)||[]){typeof(_0x2a079a[_0x3d2438[_0x149147(0x14d)]]=='function')&&(!this[_0x149147(0x161)][_0x3d2438[_0x149147(0x154)]]&&(this[_0x149147(0x161)][_0x3d2438['name']]=[]),this['listevent'][_0x3d2438[_0x149147(0x154)]]['push']({'priority':_0x3d2438['priority'],'resolve':_0x2a079a[_0x3d2438[_0x149147(0x14d)]][_0x149147(0x13a)](_0x2a079a),'propertyKey':_0x527995[_0x149147(0x154)]+'@'+_0x3d2438[_0x149147(0x14d)]}));}}for(const _0x1553da in this[_0x149147(0x161)]){this['listevent'][_0x1553da]=(0x0,collect_js_1[_0x149147(0x12f)])(this[_0x149147(0x161)][_0x1553da])[_0x149147(0x139)](_0x149147(0x148))[_0x149147(0x14a)]();}}return _0x495277?this[_0x149147(0x161)][_0x495277]||[]:this[_0x149147(0x161)];}async[a4_0x2974b1(0x136)](_0x13accb,..._0x3aeb53){const _0x39a0f5=a4_0x2974b1;var _0x4bf89d,_0x510de2;await this[_0x39a0f5(0x143)]();for(let _0x14f4c2 in(_0x4bf89d=this[_0x39a0f5(0x161)])===null||_0x4bf89d===void 0x0?void 0x0:_0x4bf89d[_0x13accb]){const _0x532625=(_0x510de2=this[_0x39a0f5(0x161)][_0x13accb])===null||_0x510de2===void 0x0?void 0x0:_0x510de2[_0x14f4c2];(_0x532625===null||_0x532625===void 0x0?void 0x0:_0x532625[_0x39a0f5(0x13d)])&&typeof(_0x532625===null||_0x532625===void 0x0?void 0x0:_0x532625[_0x39a0f5(0x13d)])==_0x39a0f5(0x142)&&await _0x532625[_0x39a0f5(0x13d)](..._0x3aeb53);}}async[a4_0x2974b1(0x14b)](_0x56174e,..._0x14faf2){const _0x24cc08=a4_0x2974b1;return await this[_0x24cc08(0x143)](),await this[_0x24cc08(0x136)](_0x56174e,..._0x14faf2),this['off'](_0x56174e);}async[a4_0x2974b1(0x160)](_0x52d4d5){const _0xa5c7ec=a4_0x2974b1;return await this['getListevent'](),this['listevent'][_0x52d4d5]&&delete this[_0xa5c7ec(0x161)][_0x52d4d5],!!this[_0xa5c7ec(0x161)][_0x52d4d5];}};__decorate([(0x0,decorator_1[a4_0x2974b1(0x155)])(),__metadata(a4_0x2974b1(0x153),Object)],EventService[a4_0x2974b1(0x13c)],a4_0x2974b1(0x144),void 0x0),EventService=__decorate([(0x0,decorator_1[a4_0x2974b1(0x13e)])(a4_0x2974b1(0x158)),(0x0,decorator_1[a4_0x2974b1(0x15e)])(decorator_1['ScopeEnum'][a4_0x2974b1(0x147)])],EventService),exports[a4_0x2974b1(0x152)]=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.32",
|
|
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": "c2fe25f5cde1f70c3f1a0f507954f4457a8afd02"
|
|
25
25
|
}
|