@anncic-api/core 1.1.7 → 1.1.8
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/config/config.default.js +1 -1
- package/dist/configuration.js +1 -1
- package/dist/decorator/AnnEnumMsg.d.ts +4 -0
- package/dist/decorator/AnnEnumMsg.js +1 -1
- package/dist/decorator/AnnErrorMsg.js +1 -1
- package/dist/exception/AnnError.js +1 -1
- package/dist/exception/AnnErrorRender.js +1 -1
- package/dist/helper/fileMd5.js +1 -1
- package/dist/helper/globDir.js +1 -1
- package/dist/helper/include.js +1 -1
- package/dist/helper/sleep.js +1 -1
- package/dist/index.js +1 -1
- package/index.d.ts +3 -2
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';function a0_0x547c(_0x9b31bd,_0x2a4476){var _0x54bc4c=a0_0x54bc();return a0_0x547c=function(_0x547c9f,_0x30d35d){_0x547c9f=_0x547c9f-0xbd;var _0x32f941=_0x54bc4c[_0x547c9f];return _0x32f941;},a0_0x547c(_0x9b31bd,_0x2a4476);}var a0_0x5d5c54=a0_0x547c;(function(_0x19a750,_0xbca1e1){var _0x27377b=a0_0x547c,_0x2b603d=_0x19a750();while(!![]){try{var _0xa0257b=-parseInt(_0x27377b(0xc1))/0x1+-parseInt(_0x27377b(0xc9))/0x2*(parseInt(_0x27377b(0xc6))/0x3)+-parseInt(_0x27377b(0xc5))/0x4*(-parseInt(_0x27377b(0xbf))/0x5)+parseInt(_0x27377b(0xc2))/0x6+-parseInt(_0x27377b(0xc7))/0x7*(-parseInt(_0x27377b(0xc3))/0x8)+-parseInt(_0x27377b(0xca))/0x9+parseInt(_0x27377b(0xbe))/0xa;if(_0xa0257b===_0xbca1e1)break;else _0x2b603d['push'](_0x2b603d['shift']());}catch(_0x5f431e){_0x2b603d['push'](_0x2b603d['shift']());}}}(a0_0x54bc,0x33541));function a0_0x54bc(){var _0x57d063=['16890OIWgGQ','42kcrdrT','appDir','18HNTMfv','2182266adGYXx','defineProperty','3890920chjJpq','5geImbZ','__esModule','318780DwwOAt','1342512AjZuTw','117952djEvoX','/runtime','483428uZOcMe'];a0_0x54bc=function(){return _0x57d063;};return a0_0x54bc();}Object[a0_0x5d5c54(0xbd)](exports,a0_0x5d5c54(0xc0),{'value':!![]}),exports['default']=_0x194907=>{var _0x4cd919=a0_0x5d5c54;return{'midwayLogger':{'default':{'maxSize':'1m','dir':_0x194907[_0x4cd919(0xc8)]+_0x4cd919(0xc4)}}};};
|
package/dist/configuration.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a1_0x62263b=a1_0x2738;(function(_0x5545b9,_0x461d55){const _0x26fcfb=a1_0x2738,_0x5e1aee=_0x5545b9();while(!![]){try{const _0x674f6=-parseInt(_0x26fcfb(0x129))/0x1*(-parseInt(_0x26fcfb(0x141))/0x2)+parseInt(_0x26fcfb(0x132))/0x3*(-parseInt(_0x26fcfb(0x146))/0x4)+parseInt(_0x26fcfb(0x11d))/0x5*(parseInt(_0x26fcfb(0x11f))/0x6)+-parseInt(_0x26fcfb(0x145))/0x7+-parseInt(_0x26fcfb(0x12b))/0x8*(-parseInt(_0x26fcfb(0x11a))/0x9)+-parseInt(_0x26fcfb(0x138))/0xa*(-parseInt(_0x26fcfb(0x142))/0xb)+parseInt(_0x26fcfb(0x122))/0xc;if(_0x674f6===_0x461d55)break;else _0x5e1aee['push'](_0x5e1aee['shift']());}catch(_0x2095bc){_0x5e1aee['push'](_0x5e1aee['shift']());}}}(a1_0x199d,0x75844));function a1_0x199d(){const _0x33598a=['MidwayEnvironmentService','stack','126066rKaxRN','@midwayjs/core','AnnErrorRender','body','response','forEach','70eapCqR','egg','logger','application','useMiddleware','@midwayjs/decorator','Inject','prototype','./exception/AnnError','298574izejti','282403pkEnoR','koa','decorate','5666423fAHWZE','88YfmwnA','onReady','CustomConfiguration','design:type','\x20at\x20','error','function','request','express','1074339MSnoxQ','__decorate','./config/config.default','410kSzCsU','MidwayApplicationManager','39126YiTuPt','AnnError','defineProperty','10130412RuEXIe','message','length','environment','__esModule','metadata','render','2xahygk','getOwnPropertyDescriptor','24CdDQgo','_matchedRoute','code','isDevelopmentEnvironment','anncic-api:core'];a1_0x199d=function(){return _0x33598a;};return a1_0x199d();}var __decorate=this&&this[a1_0x62263b(0x11b)]||function(_0x4bdb49,_0x209dec,_0x4c7944,_0xbf739f){const _0x189988=a1_0x62263b;var _0x2fce1d=arguments[_0x189988(0x124)],_0x1d2e35=_0x2fce1d<0x3?_0x209dec:_0xbf739f===null?_0xbf739f=Object[_0x189988(0x12a)](_0x209dec,_0x4c7944):_0xbf739f,_0x3d9879;if(typeof Reflect==='object'&&typeof Reflect[_0x189988(0x144)]===_0x189988(0x117))_0x1d2e35=Reflect[_0x189988(0x144)](_0x4bdb49,_0x209dec,_0x4c7944,_0xbf739f);else{for(var _0x2af2ff=_0x4bdb49['length']-0x1;_0x2af2ff>=0x0;_0x2af2ff--)if(_0x3d9879=_0x4bdb49[_0x2af2ff])_0x1d2e35=(_0x2fce1d<0x3?_0x3d9879(_0x1d2e35):_0x2fce1d>0x3?_0x3d9879(_0x209dec,_0x4c7944,_0x1d2e35):_0x3d9879(_0x209dec,_0x4c7944))||_0x1d2e35;}return _0x2fce1d>0x3&&_0x1d2e35&&Object[_0x189988(0x121)](_0x209dec,_0x4c7944,_0x1d2e35),_0x1d2e35;},__metadata=this&&this['__metadata']||function(_0xf2015,_0x63b77a){const _0x476893=a1_0x62263b;if(typeof Reflect==='object'&&typeof Reflect[_0x476893(0x127)]===_0x476893(0x117))return Reflect[_0x476893(0x127)](_0xf2015,_0x63b77a);};function a1_0x2738(_0x33985d,_0x1b297b){const _0x199dcd=a1_0x199d();return a1_0x2738=function(_0x273846,_0x26c446){_0x273846=_0x273846-0x115;let _0x9f41df=_0x199dcd[_0x273846];return _0x9f41df;},a1_0x2738(_0x33985d,_0x1b297b);}Object[a1_0x62263b(0x121)](exports,a1_0x62263b(0x126),{'value':!![]}),exports[a1_0x62263b(0x148)]=void 0x0;const decorator_1=require(a1_0x62263b(0x13d)),core_1=require(a1_0x62263b(0x133)),AnnError_1=require(a1_0x62263b(0x140)),AnnErrorRender_1=require('./exception/AnnErrorRender'),ConfigDefault=require(a1_0x62263b(0x11c));let CustomConfiguration=class CustomConfiguration{async[a1_0x62263b(0x147)](){const _0x4158cd=a1_0x62263b;this[_0x4158cd(0x13b)]['getApplications']([_0x4158cd(0x143),'faas',_0x4158cd(0x119),_0x4158cd(0x139)])[_0x4158cd(0x137)](_0x572fe1=>{const _0x3963dd=_0x4158cd;_0x572fe1[_0x3963dd(0x13c)](async(_0x26473c,_0x404d30)=>{const _0x34bebb=_0x3963dd;var _0x4ed9d3;try{await _0x404d30();}catch(_0x158b1a){if(_0x158b1a instanceof AnnErrorRender_1[_0x34bebb(0x134)])await _0x158b1a[_0x34bebb(0x128)](_0x26473c,_0x572fe1);else{if(_0x158b1a instanceof AnnError_1[_0x34bebb(0x120)]){const _0x145adf=_0x158b1a[_0x34bebb(0x136)]||{};_0x145adf[_0x34bebb(0x12d)]=_0x158b1a[_0x34bebb(0x12d)],!_0x145adf['error']&&(_0x145adf[_0x34bebb(0x116)]={}),!_0x145adf[_0x34bebb(0x116)][_0x34bebb(0x123)]&&_0x158b1a['message']&&(_0x145adf[_0x34bebb(0x116)][_0x34bebb(0x123)]=_0x158b1a[_0x34bebb(0x123)]),this[_0x34bebb(0x125)][_0x34bebb(0x12e)]&&(!_0x145adf[_0x34bebb(0x116)][_0x34bebb(0x131)]&&_0x158b1a[_0x34bebb(0x131)]&&(_0x145adf[_0x34bebb(0x116)]['stack']=_0x158b1a[_0x34bebb(0x131)]['split'](_0x34bebb(0x115)))),_0x26473c[_0x34bebb(0x135)]=_0x145adf;}else{if(_0x158b1a instanceof Error){if(this[_0x34bebb(0x125)][_0x34bebb(0x12e)]())console[_0x34bebb(0x116)](_0x158b1a);else typeof((_0x4ed9d3=_0x26473c===null||_0x26473c===void 0x0?void 0x0:_0x26473c[_0x34bebb(0x13a)])===null||_0x4ed9d3===void 0x0?void 0x0:_0x4ed9d3[_0x34bebb(0x116)])==_0x34bebb(0x117)&&(_0x158b1a['matched']=_0x26473c[_0x34bebb(0x12c)]||'',_0x158b1a[_0x34bebb(0x118)]=_0x26473c['request']||{},_0x26473c['logger'][_0x34bebb(0x116)](_0x158b1a));}}}}});});}};__decorate([(0x0,decorator_1['Inject'])(),__metadata(a1_0x62263b(0x149),core_1[a1_0x62263b(0x11e)])],CustomConfiguration[a1_0x62263b(0x13f)],a1_0x62263b(0x13b),void 0x0),__decorate([(0x0,decorator_1[a1_0x62263b(0x13e)])(),__metadata(a1_0x62263b(0x149),core_1[a1_0x62263b(0x130)])],CustomConfiguration[a1_0x62263b(0x13f)],a1_0x62263b(0x125),void 0x0),CustomConfiguration=__decorate([(0x0,decorator_1['Configuration'])({'namespace':a1_0x62263b(0x12f),'conflictCheck':![],'importConfigs':[{'default':ConfigDefault}]})],CustomConfiguration),exports['CustomConfiguration']=CustomConfiguration;
|
|
@@ -3,4 +3,8 @@ export declare function getAnnEnumMsg(target: any, field: string, code: number |
|
|
|
3
3
|
export declare function getAnnEnumMap(target: any, field: string): {
|
|
4
4
|
[key: string]: string | number;
|
|
5
5
|
};
|
|
6
|
+
export declare function getAnnEnumList(target: any, field: string): {
|
|
7
|
+
label: string;
|
|
8
|
+
value: number | string;
|
|
9
|
+
}[];
|
|
6
10
|
export declare function getAnnEnumArray(target: any, field: string, filters?: Array<number | string>): (string | number)[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a2_0x1e0dda=a2_0x6841;(function(_0x124b01,_0x33e44f){const _0x33cd3f=a2_0x6841,_0x5a243d=_0x124b01();while(!![]){try{const _0x569f8b=-parseInt(_0x33cd3f(0x99))/0x1*(parseInt(_0x33cd3f(0x98))/0x2)+-parseInt(_0x33cd3f(0x93))/0x3*(-parseInt(_0x33cd3f(0x95))/0x4)+parseInt(_0x33cd3f(0xa5))/0x5*(-parseInt(_0x33cd3f(0xa0))/0x6)+-parseInt(_0x33cd3f(0xa4))/0x7+-parseInt(_0x33cd3f(0xa2))/0x8*(-parseInt(_0x33cd3f(0xa3))/0x9)+-parseInt(_0x33cd3f(0x9b))/0xa*(-parseInt(_0x33cd3f(0xa1))/0xb)+-parseInt(_0x33cd3f(0x8b))/0xc;if(_0x569f8b===_0x33e44f)break;else _0x5a243d['push'](_0x5a243d['shift']());}catch(_0x328b98){_0x5a243d['push'](_0x5a243d['shift']());}}}(a2_0x2de2,0x44f97));function a2_0x6841(_0x345a2e,_0x3b618d){const _0x2de278=a2_0x2de2();return a2_0x6841=function(_0x684138,_0x22021e){_0x684138=_0x684138-0x87;let _0x34d6a2=_0x2de278[_0x684138];return _0x34d6a2;},a2_0x6841(_0x345a2e,_0x3b618d);}Object[a2_0x1e0dda(0x87)](exports,'__esModule',{'value':!![]}),exports['getAnnEnumArray']=exports['getAnnEnumList']=exports[a2_0x1e0dda(0x97)]=exports[a2_0x1e0dda(0x9c)]=exports[a2_0x1e0dda(0x88)]=void 0x0;const decorator_1=require(a2_0x1e0dda(0x91)),ANN_ENUM='ann:enum';function AnnEnumMsg(_0x16a0d0,_0x53841f){return(_0x3464c3,_0x2ea7bb)=>{const _0x25933f=a2_0x6841;var _0x2d3123;const _0x1b2c4f=_0x3464c3===null||_0x3464c3===void 0x0?void 0x0:_0x3464c3[_0x2ea7bb],_0x5da4ee=(0x0,decorator_1[_0x25933f(0x9e)])(ANN_ENUM,_0x3464c3)||{};if(typeof _0x1b2c4f=='undefined'||_0x1b2c4f===null)throw new Error(((_0x3464c3===null||_0x3464c3===void 0x0?void 0x0:_0x3464c3[_0x25933f(0xa6)])||_0x3464c3)+'\x20Property('+_0x2ea7bb+_0x25933f(0x94)+_0x2ea7bb+_0x25933f(0x8d));if((_0x2d3123=_0x5da4ee===null||_0x5da4ee===void 0x0?void 0x0:_0x5da4ee[_0x16a0d0])===null||_0x2d3123===void 0x0?void 0x0:_0x2d3123[_0x1b2c4f])throw new Error(_0x25933f(0x92)+_0x53841f+'('+_0x16a0d0+':'+_0x1b2c4f+_0x25933f(0x89));!(_0x5da4ee===null||_0x5da4ee===void 0x0?void 0x0:_0x5da4ee[_0x16a0d0])&&(_0x5da4ee[_0x16a0d0]={}),_0x5da4ee[_0x16a0d0][_0x1b2c4f]={'targetKey':_0x2ea7bb,'targetMsg':_0x53841f,'targetCode':_0x1b2c4f},(0x0,decorator_1[_0x25933f(0x96)])(ANN_ENUM,_0x5da4ee,_0x3464c3);};}function a2_0x2de2(){const _0x5424fa=['defineProperty','AnnEnumMsg',')\x20is\x20duplicated,please\x20check\x20before\x20adding','value','1613556znvTNr','getAnnEnumList','\x20=\x20number\x20|\x20string;','indexOf','\x20is\x20not\x20duplicated','getAnnEnumArray','@midwayjs/decorator','AnnEnumMsg:\x20','1509ofcWYx',')must\x20be\x20\x27static\x20readonly\x20','4340VspuzE','saveClassMetadata','getAnnEnumMap','236CxbAsj','2168zkyIUC','targetMsg','929510IwyDPv','getAnnEnumMsg','targetCode','getClassMetadata','push','2281866JMDNnQ','55qvYIfV','1880uclwCc','20061jchCYH','3368456AYzglO','5txyDMh','name'];a2_0x2de2=function(){return _0x5424fa;};return a2_0x2de2();}exports[a2_0x1e0dda(0x88)]=AnnEnumMsg;function getAnnEnumMsg(_0x3616bf,_0x1d1bff,_0x55ff15){const _0x3e78c9=a2_0x1e0dda;var _0x1842df,_0x181732;const _0x4aef92=(0x0,decorator_1[_0x3e78c9(0x9e)])(ANN_ENUM,_0x3616bf)||{};if(!((_0x1842df=_0x4aef92===null||_0x4aef92===void 0x0?void 0x0:_0x4aef92[_0x1d1bff])===null||_0x1842df===void 0x0?void 0x0:_0x1842df[_0x55ff15]))throw new Error(_0x3e78c9(0x92)+_0x55ff15+_0x3e78c9(0x8f));return((_0x181732=_0x4aef92[_0x1d1bff][_0x55ff15])===null||_0x181732===void 0x0?void 0x0:_0x181732[_0x3e78c9(0x9a)])||undefined;}exports[a2_0x1e0dda(0x9c)]=getAnnEnumMsg;function getAnnEnumMap(_0x187b90,_0x275ce4){const _0xfceca3=a2_0x1e0dda;var _0x112603,_0x376a4e,_0x5d81e3,_0x5e2723;const _0x2b6de5={},_0x39381f=(0x0,decorator_1['getClassMetadata'])(ANN_ENUM,_0x187b90)||{};if(_0x39381f===null||_0x39381f===void 0x0?void 0x0:_0x39381f[_0x275ce4])for(const _0x20d5f3 in _0x39381f[_0x275ce4]){((_0x376a4e=(_0x112603=_0x39381f[_0x275ce4])===null||_0x112603===void 0x0?void 0x0:_0x112603[_0x20d5f3])===null||_0x376a4e===void 0x0?void 0x0:_0x376a4e[_0xfceca3(0x9a)])&&((_0x5e2723=(_0x5d81e3=_0x39381f[_0x275ce4])===null||_0x5d81e3===void 0x0?void 0x0:_0x5d81e3[_0x20d5f3])===null||_0x5e2723===void 0x0?void 0x0:_0x5e2723[_0xfceca3(0x9d)])&&(_0x2b6de5[_0x39381f[_0x275ce4][_0x20d5f3][_0xfceca3(0x9a)]]=_0x39381f[_0x275ce4][_0x20d5f3][_0xfceca3(0x9d)]);}return _0x2b6de5;}exports[a2_0x1e0dda(0x97)]=getAnnEnumMap;function getAnnEnumList(_0x4e599e,_0x6c59a8){const _0x247497=a2_0x1e0dda;var _0x3d6845,_0x27c5f6,_0x145439,_0x3197a5;const _0x316d24=[],_0x4b9a12=(0x0,decorator_1[_0x247497(0x9e)])(ANN_ENUM,_0x4e599e)||{};if(_0x4b9a12===null||_0x4b9a12===void 0x0?void 0x0:_0x4b9a12[_0x6c59a8])for(const _0x2bb2f1 in _0x4b9a12[_0x6c59a8]){((_0x27c5f6=(_0x3d6845=_0x4b9a12[_0x6c59a8])===null||_0x3d6845===void 0x0?void 0x0:_0x3d6845[_0x2bb2f1])===null||_0x27c5f6===void 0x0?void 0x0:_0x27c5f6[_0x247497(0x9a)])&&((_0x3197a5=(_0x145439=_0x4b9a12[_0x6c59a8])===null||_0x145439===void 0x0?void 0x0:_0x145439[_0x2bb2f1])===null||_0x3197a5===void 0x0?void 0x0:_0x3197a5[_0x247497(0x9d)])&&!_0x316d24['find'](_0x2098db=>_0x2098db[_0x247497(0x8a)]===_0x4b9a12[_0x6c59a8][_0x2bb2f1][_0x247497(0x9d)])&&_0x316d24[_0x247497(0x9f)]({'label':_0x4b9a12[_0x6c59a8][_0x2bb2f1]['targetMsg'],'value':_0x4b9a12[_0x6c59a8][_0x2bb2f1]['targetCode']});}return _0x316d24;}exports[a2_0x1e0dda(0x8c)]=getAnnEnumList;function getAnnEnumArray(_0x21de01,_0x12c01d,_0x38e1ff=[]){const _0xa06283=a2_0x1e0dda;var _0x2cf0e7,_0x3deed3,_0x1ac5d6,_0x1f5852;const _0x2f60ff=[],_0x442826=(0x0,decorator_1[_0xa06283(0x9e)])(ANN_ENUM,_0x21de01)||{};if(_0x442826===null||_0x442826===void 0x0?void 0x0:_0x442826[_0x12c01d])for(const _0x311223 in _0x442826[_0x12c01d]){if(!((_0x3deed3=(_0x2cf0e7=_0x442826[_0x12c01d])===null||_0x2cf0e7===void 0x0?void 0x0:_0x2cf0e7[_0x311223])===null||_0x3deed3===void 0x0?void 0x0:_0x3deed3[_0xa06283(0x9a)])||!((_0x1f5852=(_0x1ac5d6=_0x442826[_0x12c01d])===null||_0x1ac5d6===void 0x0?void 0x0:_0x1ac5d6[_0x311223])===null||_0x1f5852===void 0x0?void 0x0:_0x1f5852['targetCode']))continue;_0x38e1ff[_0xa06283(0x8e)](_0x442826[_0x12c01d][_0x311223]['targetCode'])==-0x1&&_0x2f60ff[_0xa06283(0x9f)](_0x442826[_0x12c01d][_0x311223][_0xa06283(0x9d)]);}return _0x2f60ff;}exports[a2_0x1e0dda(0x90)]=getAnnEnumArray;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function
|
|
1
|
+
'use strict';const a3_0x1c006e=a3_0x5e77;function a3_0x5e77(_0x4163a4,_0x36a325){const _0x312f10=a3_0x312f();return a3_0x5e77=function(_0x5e77c6,_0x3a12ae){_0x5e77c6=_0x5e77c6-0x78;let _0x188dff=_0x312f10[_0x5e77c6];return _0x188dff;},a3_0x5e77(_0x4163a4,_0x36a325);}function a3_0x312f(){const _0x25c261=['getAnnErrorList','132TiiaQn','10623060njLNzl','398210TCoHbq','4nzUzHR','AnnErrorMsg','AnnErrorMsg:\x20','28BwTntQ',')must\x20be\x20\x27static\x20readonly\x20','\x20is\x20not\x20duplicated','undefined','8OboTIQ','getAnnErrorMsg','236Ihqpgq','667929VxZZGV',')\x20is\x20duplicated,please\x20check\x20before\x20adding','3885471bmcqLj','3631705wwOhfR','2053NJEwYZ','569046TrxZex'];a3_0x312f=function(){return _0x25c261;};return a3_0x312f();}(function(_0x4531ea,_0x5bdbe1){const _0x70266f=a3_0x5e77,_0x2e00c9=_0x4531ea();while(!![]){try{const _0x17e115=parseInt(_0x70266f(0x8b))/0x1*(parseInt(_0x70266f(0x86))/0x2)+parseInt(_0x70266f(0x87))/0x3*(-parseInt(_0x70266f(0x7d))/0x4)+-parseInt(_0x70266f(0x8a))/0x5+-parseInt(_0x70266f(0x78))/0x6*(-parseInt(_0x70266f(0x80))/0x7)+-parseInt(_0x70266f(0x84))/0x8*(-parseInt(_0x70266f(0x89))/0x9)+-parseInt(_0x70266f(0x7c))/0xa*(parseInt(_0x70266f(0x7a))/0xb)+parseInt(_0x70266f(0x7b))/0xc;if(_0x17e115===_0x5bdbe1)break;else _0x2e00c9['push'](_0x2e00c9['shift']());}catch(_0x349cd1){_0x2e00c9['push'](_0x2e00c9['shift']());}}}(a3_0x312f,0x7cf0c));Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[a3_0x1c006e(0x7e)]=exports[a3_0x1c006e(0x79)]=exports[a3_0x1c006e(0x85)]=void 0x0;const AnnErrorObj={};function getAnnErrorMsg(_0x263dcc){const _0x358297=a3_0x1c006e;var _0x556b28;if(!(AnnErrorObj===null||AnnErrorObj===void 0x0?void 0x0:AnnErrorObj[_0x263dcc]))throw new Error('AnnErrorMsg:\x20'+_0x263dcc+_0x358297(0x82));return((_0x556b28=AnnErrorObj[_0x263dcc])===null||_0x556b28===void 0x0?void 0x0:_0x556b28['message'])||undefined;}exports[a3_0x1c006e(0x85)]=getAnnErrorMsg;function getAnnErrorList(){return AnnErrorObj;}exports[a3_0x1c006e(0x79)]=getAnnErrorList;function AnnErrorMsg(_0x48dd75){return(_0x223ee5,_0x690b12)=>{const _0x37e15f=a3_0x5e77,_0x4cf2ee=_0x223ee5===null||_0x223ee5===void 0x0?void 0x0:_0x223ee5[_0x690b12];if(typeof _0x4cf2ee===_0x37e15f(0x83)||_0x4cf2ee===null)throw new Error(((_0x223ee5===null||_0x223ee5===void 0x0?void 0x0:_0x223ee5['name'])||_0x223ee5)+'\x20Property('+_0x690b12+_0x37e15f(0x81)+_0x690b12+'\x20=\x20number;');if(AnnErrorObj===null||AnnErrorObj===void 0x0?void 0x0:AnnErrorObj[_0x4cf2ee])throw new Error(_0x37e15f(0x7f)+_0x48dd75+'('+_0x4cf2ee+_0x37e15f(0x88));AnnErrorObj[_0x4cf2ee]={'code':_0x4cf2ee,'message':_0x48dd75};};}exports[a3_0x1c006e(0x7e)]=AnnErrorMsg;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';function a4_0x577c(_0x59b159,_0xa6aa87){var _0x395718=a4_0x3957();return a4_0x577c=function(_0x577c70,_0x19d31c){_0x577c70=_0x577c70-0xbc;var _0x3e1ccc=_0x395718[_0x577c70];return _0x3e1ccc;},a4_0x577c(_0x59b159,_0xa6aa87);}var a4_0x1f8c52=a4_0x577c;(function(_0xe904da,_0x51b621){var _0x533156=a4_0x577c,_0x1fbcdd=_0xe904da();while(!![]){try{var _0x3368df=-parseInt(_0x533156(0xc3))/0x1+parseInt(_0x533156(0xbc))/0x2+-parseInt(_0x533156(0xc6))/0x3+parseInt(_0x533156(0xd2))/0x4*(parseInt(_0x533156(0xc1))/0x5)+parseInt(_0x533156(0xcd))/0x6+-parseInt(_0x533156(0xbd))/0x7+parseInt(_0x533156(0xcf))/0x8*(parseInt(_0x533156(0xbf))/0x9);if(_0x3368df===_0x51b621)break;else _0x1fbcdd['push'](_0x1fbcdd['shift']());}catch(_0x44affe){_0x1fbcdd['push'](_0x1fbcdd['shift']());}}}(a4_0x3957,0xbbfef));var __decorate=this&&this[a4_0x1f8c52(0xd6)]||function(_0xf03e11,_0x2bcc53,_0x273dca,_0x6aa7e7){var _0x5cc82e=a4_0x1f8c52,_0x26d973=arguments[_0x5cc82e(0xd8)],_0x1cd287=_0x26d973<0x3?_0x2bcc53:_0x6aa7e7===null?_0x6aa7e7=Object[_0x5cc82e(0xd4)](_0x2bcc53,_0x273dca):_0x6aa7e7,_0x11ab49;if(typeof Reflect===_0x5cc82e(0xca)&&typeof Reflect[_0x5cc82e(0xd9)]===_0x5cc82e(0xc4))_0x1cd287=Reflect['decorate'](_0xf03e11,_0x2bcc53,_0x273dca,_0x6aa7e7);else{for(var _0x50f386=_0xf03e11[_0x5cc82e(0xd8)]-0x1;_0x50f386>=0x0;_0x50f386--)if(_0x11ab49=_0xf03e11[_0x50f386])_0x1cd287=(_0x26d973<0x3?_0x11ab49(_0x1cd287):_0x26d973>0x3?_0x11ab49(_0x2bcc53,_0x273dca,_0x1cd287):_0x11ab49(_0x2bcc53,_0x273dca))||_0x1cd287;}return _0x26d973>0x3&&_0x1cd287&&Object[_0x5cc82e(0xd5)](_0x2bcc53,_0x273dca,_0x1cd287),_0x1cd287;},__metadata=this&&this[a4_0x1f8c52(0xda)]||function(_0x30fc6d,_0x132c34){var _0x3b5349=a4_0x1f8c52;if(typeof Reflect===_0x3b5349(0xca)&&typeof Reflect[_0x3b5349(0xc0)]===_0x3b5349(0xc4))return Reflect[_0x3b5349(0xc0)](_0x30fc6d,_0x132c34);};function a4_0x3957(){var _0x2a9111=['325gOMqYo','UNKNOW','477565tuoNPl','function','response','3441423fqskjo','code','name','NOFIND','object','AnnError','PARAMS','2377908xcxZrV','NOAUTH','4324792NSaMtL','不存在对应数据','design:type','19648LdysyO','constructor','getOwnPropertyDescriptor','defineProperty','__decorate','../decorator/AnnErrorMsg','length','decorate','__metadata','2593082EGsUom','1106007asfFcF','AnnErrorMsg','9ErgDRT','metadata'];a4_0x3957=function(){return _0x2a9111;};return a4_0x3957();}Object[a4_0x1f8c52(0xd5)](exports,'__esModule',{'value':!![]}),exports['AnnError']=void 0x0;const AnnErrorMsg_1=require(a4_0x1f8c52(0xd7));class AnnError extends Error{constructor(_0x2d79c5,_0x4b36a9){var _0x27bb20=a4_0x1f8c52;super((0x0,AnnErrorMsg_1['getAnnErrorMsg'])(_0x2d79c5)),this[_0x27bb20(0xc8)]=this[_0x27bb20(0xd3)][_0x27bb20(0xc8)],(this[_0x27bb20(0xc7)]=_0x2d79c5,this[_0x27bb20(0xc5)]=_0x4b36a9||{});}}AnnError[a4_0x1f8c52(0xc2)]=0x186a0,AnnError['PARAMS']=0x18e70,AnnError[a4_0x1f8c52(0xc9)]=0x19258,AnnError[a4_0x1f8c52(0xce)]=0x19640,__decorate([(0x0,AnnErrorMsg_1[a4_0x1f8c52(0xbe)])('未知错误'),__metadata(a4_0x1f8c52(0xd1),Object)],AnnError,a4_0x1f8c52(0xc2),void 0x0),__decorate([(0x0,AnnErrorMsg_1[a4_0x1f8c52(0xbe)])('参数错误'),__metadata(a4_0x1f8c52(0xd1),Object)],AnnError,a4_0x1f8c52(0xcc),void 0x0),__decorate([(0x0,AnnErrorMsg_1[a4_0x1f8c52(0xbe)])(a4_0x1f8c52(0xd0)),__metadata(a4_0x1f8c52(0xd1),Object)],AnnError,a4_0x1f8c52(0xc9),void 0x0),__decorate([(0x0,AnnErrorMsg_1['AnnErrorMsg'])('没有权限执行该操作'),__metadata(a4_0x1f8c52(0xd1),Object)],AnnError,a4_0x1f8c52(0xce),void 0x0),exports[a4_0x1f8c52(0xcb)]=AnnError;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';function a5_0x400f(_0x256505,_0x379389){const _0x56b8a0=a5_0x56b8();return a5_0x400f=function(_0x400fc9,_0x1bf74e){_0x400fc9=_0x400fc9-0x112;let _0x3d3a10=_0x56b8a0[_0x400fc9];return _0x3d3a10;},a5_0x400f(_0x256505,_0x379389);}const a5_0x1da9fa=a5_0x400f;(function(_0x3ab9db,_0x2f737d){const _0x2981cb=a5_0x400f,_0x290b7e=_0x3ab9db();while(!![]){try{const _0x5e4e86=parseInt(_0x2981cb(0x121))/0x1*(-parseInt(_0x2981cb(0x11a))/0x2)+parseInt(_0x2981cb(0x118))/0x3+-parseInt(_0x2981cb(0x11c))/0x4*(-parseInt(_0x2981cb(0x114))/0x5)+-parseInt(_0x2981cb(0x112))/0x6*(parseInt(_0x2981cb(0x117))/0x7)+parseInt(_0x2981cb(0x120))/0x8*(-parseInt(_0x2981cb(0x11b))/0x9)+parseInt(_0x2981cb(0x11f))/0xa+parseInt(_0x2981cb(0x123))/0xb*(parseInt(_0x2981cb(0x119))/0xc);if(_0x5e4e86===_0x2f737d)break;else _0x290b7e['push'](_0x290b7e['shift']());}catch(_0x48d8ff){_0x290b7e['push'](_0x290b7e['shift']());}}}(a5_0x56b8,0x3eb92));Object[a5_0x1da9fa(0x116)](exports,a5_0x1da9fa(0x113),{'value':!![]}),exports[a5_0x1da9fa(0x115)]=void 0x0;const AnnError_1=require('./AnnError');class AnnErrorRender extends AnnError_1[a5_0x1da9fa(0x11e)]{constructor(_0x38cd21,_0x4bc557){super(_0x38cd21,_0x4bc557);}async[a5_0x1da9fa(0x122)](_0x16843b,_0x3ae250){const _0x531f03=a5_0x1da9fa;throw this[_0x531f03(0x11d)]+'\x20is\x20not\x20is\x20not\x20duplicated\x20function\x20render';}}function a5_0x56b8(){const _0x216613=['name','AnnError','2256670DVFAvV','1592RwXeMB','5rHqgeH','render','11WwePRc','42oqcdRw','__esModule','15pLjrdk','AnnErrorRender','defineProperty','268450PBRYtN','1456308UhOSvQ','1691316mXwfFw','58852JLWytI','15111YuZvDS','206092YFASIF'];a5_0x56b8=function(){return _0x216613;};return a5_0x56b8();}exports[a5_0x1da9fa(0x115)]=AnnErrorRender;
|
package/dist/helper/fileMd5.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a6_0x4c1d29=a6_0x1fbf;(function(_0x4b2077,_0x5dbc4b){const _0x5cfc31=a6_0x1fbf,_0x47c8e9=_0x4b2077();while(!![]){try{const _0x41911f=-parseInt(_0x5cfc31(0x1d7))/0x1*(-parseInt(_0x5cfc31(0x1dc))/0x2)+parseInt(_0x5cfc31(0x1dd))/0x3*(parseInt(_0x5cfc31(0x1d8))/0x4)+parseInt(_0x5cfc31(0x1de))/0x5*(parseInt(_0x5cfc31(0x1d3))/0x6)+-parseInt(_0x5cfc31(0x1cf))/0x7+parseInt(_0x5cfc31(0x1d9))/0x8*(parseInt(_0x5cfc31(0x1d6))/0x9)+parseInt(_0x5cfc31(0x1e5))/0xa+-parseInt(_0x5cfc31(0x1d2))/0xb;if(_0x41911f===_0x5dbc4b)break;else _0x47c8e9['push'](_0x47c8e9['shift']());}catch(_0xdd7701){_0x47c8e9['push'](_0x47c8e9['shift']());}}}(a6_0x4c58,0x53f41));Object[a6_0x4c1d29(0x1d1)](exports,'__esModule',{'value':!![]}),exports[a6_0x4c1d29(0x1d5)]=void 0x0;function a6_0x1fbf(_0x4da4b6,_0x307624){const _0x4c5852=a6_0x4c58();return a6_0x1fbf=function(_0x1fbfc5,_0x42f274){_0x1fbfc5=_0x1fbfc5-0x1cf;let _0x39575f=_0x4c5852[_0x1fbfc5];return _0x39575f;},a6_0x1fbf(_0x4da4b6,_0x307624);}const fs=require('fs'),crypto=require(a6_0x4c1d29(0x1e1));function fileMd5(_0x186891){return new Promise((_0x4ad5d3,_0x488747)=>{const _0x5e0ed4=a6_0x1fbf;fs[_0x5e0ed4(0x1db)](_0x186891,(_0x159365,_0x274f8)=>{const _0x1c050b=_0x5e0ed4;if(_0x159365)return _0x488747(_0x159365);if(!_0x274f8[_0x1c050b(0x1d4)]())return _0x488747(new Error(_0x186891+'\x20is\x20not\x20file'));const _0x275de4=crypto['createHash']('md5'),_0xdbfc53=fs[_0x1c050b(0x1e4)](_0x186891);_0xdbfc53['on'](_0x1c050b(0x1e3),_0x275de4[_0x1c050b(0x1e2)][_0x1c050b(0x1d0)](_0x275de4)),_0xdbfc53['on']('error',_0xb21aa7=>_0x488747(_0xb21aa7)),_0xdbfc53['on'](_0x1c050b(0x1e0),()=>_0x4ad5d3(_0x275de4[_0x1c050b(0x1da)](_0x1c050b(0x1df))));});});}function a6_0x4c58(){const _0x1c1616=['3934BspGBM','28446EiadrC','85rcpxuf','hex','end','crypto','update','data','createReadStream','4685500estgPr','4307471rispKN','bind','defineProperty','3547082LqdEWy','27414WQIXJw','isFile','fileMd5','9iYbfsK','71sEuZrJ','116YMQQsK','2566640vGzHne','digest','stat'];a6_0x4c58=function(){return _0x1c1616;};return a6_0x4c58();}exports['fileMd5']=fileMd5;
|
package/dist/helper/globDir.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a7_0x371a11=a7_0xda4a;(function(_0x2a2ca5,_0x2b66af){const _0x2c7c72=a7_0xda4a,_0x2e4dbc=_0x2a2ca5();while(!![]){try{const _0x55d642=-parseInt(_0x2c7c72(0xad))/0x1*(-parseInt(_0x2c7c72(0xac))/0x2)+-parseInt(_0x2c7c72(0xb8))/0x3+-parseInt(_0x2c7c72(0xa1))/0x4+-parseInt(_0x2c7c72(0x9e))/0x5*(-parseInt(_0x2c7c72(0xae))/0x6)+parseInt(_0x2c7c72(0xa9))/0x7+-parseInt(_0x2c7c72(0x9b))/0x8*(parseInt(_0x2c7c72(0xb5))/0x9)+parseInt(_0x2c7c72(0xa2))/0xa;if(_0x55d642===_0x2b66af)break;else _0x2e4dbc['push'](_0x2e4dbc['shift']());}catch(_0x2cb112){_0x2e4dbc['push'](_0x2e4dbc['shift']());}}}(a7_0x4cba,0xad63b));Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[a7_0x371a11(0xa5)]=void 0x0;const fs=require('fs'),path=require(a7_0x371a11(0x9c));class RequireContext{constructor(_0x4e2deb,_0xa543c6,_0x4f8aa6){const _0xc1a6c1=a7_0x371a11;this[_0xc1a6c1(0xa7)]=[],this[_0xc1a6c1(0xb3)]=_0x4f8aa6,this[_0xc1a6c1(0xb1)]=!!_0xa543c6,this[_0xc1a6c1(0xa3)]=this[_0xc1a6c1(0xb9)](_0x4e2deb),this[_0xc1a6c1(0xa8)](this[_0xc1a6c1(0xa3)]);}[a7_0x371a11(0xb9)](_0x288d37){const _0x379cfc=a7_0x371a11;if(path[_0x379cfc(0xaa)](_0x288d37)||!module[_0x379cfc(0xb6)])return _0x288d37;return path[_0x379cfc(0xaf)](path[_0x379cfc(0xa4)](path[_0x379cfc(0xb7)](module['parent']['filename'])[_0x379cfc(0x9f)],_0x288d37));}[a7_0x371a11(0xa8)](_0xe9770d){const _0xc66318=a7_0x371a11;if(fs[_0xc66318(0x9d)](_0xe9770d))fs['readdirSync'](_0xe9770d)[_0xc66318(0xb0)](_0x57d89b=>{const _0x27174f=_0xc66318,_0x48d45c=path[_0x27174f(0xa0)](_0xe9770d,_0x57d89b);if(fs['statSync'](_0x48d45c)[_0x27174f(0xb4)]()){if(this[_0x27174f(0xb1)]){this[_0x27174f(0xa8)](_0x48d45c);return;}}else{if(this['regExp']&&!this[_0x27174f(0xb3)][_0x27174f(0xb2)](_0x48d45c))return;this[_0x27174f(0xa7)]['push'](_0x48d45c);}});else throw new Error(_0xc66318(0xab)+_0xe9770d);}}function a7_0xda4a(_0x422f95,_0x4e2a3e){const _0x4cba24=a7_0x4cba();return a7_0xda4a=function(_0xda4ab,_0xa78914){_0xda4ab=_0xda4ab-0x9b;let _0x101b75=_0x4cba24[_0xda4ab];return _0x101b75;},a7_0xda4a(_0x422f95,_0x4e2a3e);}function globDir(_0x1afb0c='.',_0x1f3de1=![],_0x49c749=/(?:)/,_0x175e99){const _0xb016ea=a7_0x371a11,_0x464bca=new RequireContext(_0x1afb0c,_0x1f3de1,_0x49c749);if(_0x175e99){const _0x252106=_0x10e32f=>fs[_0xb016ea(0xa6)](_0x10e32f,_0x175e99);return _0x252106['keys']=()=>[..._0x464bca[_0xb016ea(0xa7)]],_0x252106;}else{const _0x51279e=_0x2b9233=>require(_0x2b9233);return _0x51279e['keys']=()=>[..._0x464bca[_0xb016ea(0xa7)]],_0x51279e;}}exports[a7_0x371a11(0xa5)]=globDir;function a7_0x4cba(){const _0x31bf30=['normalize','forEach','useSubdirectories','test','regExp','isDirectory','12033mCDYkD','parent','parse','4031955rdgrXJ','__findDirectory','6824HFVUrM','path','existsSync','3528655GEDcKU','dir','resolve','5675432ZexlLW','20765760uxrFqA','directory','join','globDir','readFileSync','modules','__findModules','4721304TKnePN','isAbsolute','Can\x27t\x20Found\x20Module\x20','2QqquIW','450997PvaTNN','12RuolEU'];a7_0x4cba=function(){return _0x31bf30;};return a7_0x4cba();}
|
package/dist/helper/include.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';function a8_0x2a50(_0x393c72,_0x1faf4a){const _0x284896=a8_0x2848();return a8_0x2a50=function(_0x2a50f3,_0x980fbe){_0x2a50f3=_0x2a50f3-0x152;let _0xe747a0=_0x284896[_0x2a50f3];return _0xe747a0;},a8_0x2a50(_0x393c72,_0x1faf4a);}const a8_0x5032bf=a8_0x2a50;(function(_0x5c87d3,_0x3d126c){const _0x4ab530=a8_0x2a50,_0x2fbedc=_0x5c87d3();while(!![]){try{const _0x56d29e=-parseInt(_0x4ab530(0x160))/0x1*(parseInt(_0x4ab530(0x15f))/0x2)+-parseInt(_0x4ab530(0x15e))/0x3+parseInt(_0x4ab530(0x15b))/0x4+-parseInt(_0x4ab530(0x15d))/0x5*(parseInt(_0x4ab530(0x154))/0x6)+parseInt(_0x4ab530(0x161))/0x7*(-parseInt(_0x4ab530(0x15c))/0x8)+parseInt(_0x4ab530(0x157))/0x9+parseInt(_0x4ab530(0x159))/0xa;if(_0x56d29e===_0x3d126c)break;else _0x2fbedc['push'](_0x2fbedc['shift']());}catch(_0x3216ac){_0x2fbedc['push'](_0x2fbedc['shift']());}}}(a8_0x2848,0x8deaa));Object[a8_0x5032bf(0x15a)](exports,a8_0x5032bf(0x156),{'value':!![]}),exports[a8_0x5032bf(0x158)]=void 0x0;const jiti=require(a8_0x5032bf(0x153)),lodash_1=require('lodash');function include(_0x1e2314){const _0x48eb64=a8_0x5032bf,_0x40097b={},_0x192ff2=jiti()(_0x1e2314);for(let _0x2d818c in _0x192ff2){_0x2d818c!=_0x48eb64(0x152)&&(0x0,lodash_1[_0x48eb64(0x155)])(_0x40097b,{[_0x2d818c]:_0x192ff2[_0x2d818c]});}return(0x0,lodash_1[_0x48eb64(0x155)])(_0x40097b,(0x0,lodash_1['get'])(_0x192ff2,'default',{}));}function a8_0x2848(){const _0xde90a0=['__esModule','9488718JGuqBN','include','13529920Pmsefo','defineProperty','4145188bUNtom','158808LqSXqj','1421845DmiJxS','1515447jskuxW','2symyLy','511495cqnUsH','350OGjfzu','default','jiti','18GfwUbY','defaultsDeep'];a8_0x2848=function(){return _0xde90a0;};return a8_0x2848();}exports['include']=include;
|
package/dist/helper/sleep.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var a9_0x5746cf=a9_0x3aaa;function a9_0x3aaa(_0x1221ea,_0x11d19d){var _0x5d1668=a9_0x5d16();return a9_0x3aaa=function(_0x3aaaf2,_0x361543){_0x3aaaf2=_0x3aaaf2-0x12e;var _0x358aa8=_0x5d1668[_0x3aaaf2];return _0x358aa8;},a9_0x3aaa(_0x1221ea,_0x11d19d);}(function(_0x55940a,_0x3f2f82){var _0x4e59eb=a9_0x3aaa,_0x55d500=_0x55940a();while(!![]){try{var _0x1d7d38=parseInt(_0x4e59eb(0x12e))/0x1*(-parseInt(_0x4e59eb(0x12f))/0x2)+parseInt(_0x4e59eb(0x131))/0x3+parseInt(_0x4e59eb(0x130))/0x4*(parseInt(_0x4e59eb(0x136))/0x5)+parseInt(_0x4e59eb(0x133))/0x6+-parseInt(_0x4e59eb(0x138))/0x7+-parseInt(_0x4e59eb(0x139))/0x8*(-parseInt(_0x4e59eb(0x132))/0x9)+parseInt(_0x4e59eb(0x134))/0xa*(parseInt(_0x4e59eb(0x135))/0xb);if(_0x1d7d38===_0x3f2f82)break;else _0x55d500['push'](_0x55d500['shift']());}catch(_0x185c83){_0x55d500['push'](_0x55d500['shift']());}}}(a9_0x5d16,0xaf641));Object[a9_0x5746cf(0x13a)](exports,'__esModule',{'value':!![]}),exports[a9_0x5746cf(0x137)]=void 0x0;function a9_0x5d16(){var _0x705f62=['defineProperty','678106AxInMJ','4xOSKKC','1083560ZixhEm','154707WvIndo','4072221aDbllH','4963536dRSaut','4353040DhjlsV','33oxDwyp','5cwvVVP','sleep','5834381eEZUXN','8WXsoUb'];a9_0x5d16=function(){return _0x705f62;};return a9_0x5d16();}function sleep(_0x4aaa10=0xc8){return new Promise(_0x48c4b4=>setTimeout(_0x48c4b4,_0x4aaa10));}exports['sleep']=sleep;
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a10_0x508590=a10_0x44b3;(function(_0x42851d,_0x4e2906){const _0x372471=a10_0x44b3,_0x3a51f4=_0x42851d();while(!![]){try{const _0x5afcaa=-parseInt(_0x372471(0x1e0))/0x1+-parseInt(_0x372471(0x1e5))/0x2*(-parseInt(_0x372471(0x1de))/0x3)+-parseInt(_0x372471(0x1e3))/0x4*(parseInt(_0x372471(0x1e6))/0x5)+parseInt(_0x372471(0x1e8))/0x6+-parseInt(_0x372471(0x1db))/0x7+parseInt(_0x372471(0x1e1))/0x8+-parseInt(_0x372471(0x1f5))/0x9;if(_0x5afcaa===_0x4e2906)break;else _0x3a51f4['push'](_0x3a51f4['shift']());}catch(_0x1c0696){_0x3a51f4['push'](_0x3a51f4['shift']());}}}(a10_0x49c8,0x793bd));function a10_0x44b3(_0x47337f,_0x393f45){const _0x49c8d7=a10_0x49c8();return a10_0x44b3=function(_0x44b3a3,_0x381d63){_0x44b3a3=_0x44b3a3-0x1d0;let _0x1855ae=_0x49c8d7[_0x44b3a3];return _0x1855ae;},a10_0x44b3(_0x47337f,_0x393f45);}Object[a10_0x508590(0x1d6)](exports,'__esModule',{'value':!![]}),exports[a10_0x508590(0x1d8)]=exports[a10_0x508590(0x1ef)]=exports[a10_0x508590(0x1e2)]=exports[a10_0x508590(0x1f3)]=exports[a10_0x508590(0x1e9)]=exports[a10_0x508590(0x1d7)]=exports[a10_0x508590(0x1eb)]=exports[a10_0x508590(0x1d5)]=exports[a10_0x508590(0x1da)]=exports[a10_0x508590(0x1f0)]=exports[a10_0x508590(0x1f1)]=exports[a10_0x508590(0x1d3)]=exports[a10_0x508590(0x1d9)]=exports[a10_0x508590(0x1f6)]=exports[a10_0x508590(0x1f2)]=exports[a10_0x508590(0x1ec)]=exports[a10_0x508590(0x1e4)]=exports[a10_0x508590(0x1ee)]=exports[a10_0x508590(0x1df)]=exports[a10_0x508590(0x1e7)]=void 0x0;const dayjs=require(a10_0x508590(0x1f2));exports[a10_0x508590(0x1f2)]=dayjs;const urllib=require(a10_0x508590(0x1df));exports[a10_0x508590(0x1df)]=urllib;const mathjs=require(a10_0x508590(0x1e4));exports[a10_0x508590(0x1e4)]=mathjs;const lodash=require('lodash');exports[a10_0x508590(0x1ec)]=lodash;const fsplus=require(a10_0x508590(0x1dc));exports['fsplus']=fsplus;const collect_js_1=require(a10_0x508590(0x1d2));Object[a10_0x508590(0x1d6)](exports,a10_0x508590(0x1d9),{'enumerable':!![],'get':function(){return collect_js_1['collect'];}});const sleep_1=require('./helper/sleep');Object[a10_0x508590(0x1d6)](exports,a10_0x508590(0x1f6),{'enumerable':!![],'get':function(){const _0x2ffa1f=a10_0x508590;return sleep_1[_0x2ffa1f(0x1f6)];}});const include_1=require(a10_0x508590(0x1ea));Object[a10_0x508590(0x1d6)](exports,a10_0x508590(0x1d3),{'enumerable':!![],'get':function(){const _0x469c66=a10_0x508590;return include_1[_0x469c66(0x1d3)];}});const globDir_1=require(a10_0x508590(0x1f4));Object[a10_0x508590(0x1d6)](exports,a10_0x508590(0x1f1),{'enumerable':!![],'get':function(){const _0x19843a=a10_0x508590;return globDir_1[_0x19843a(0x1f1)];}});const fileMd5_1=require(a10_0x508590(0x1d4));Object['defineProperty'](exports,'fileMd5',{'enumerable':!![],'get':function(){const _0x1fe4ab=a10_0x508590;return fileMd5_1[_0x1fe4ab(0x1f0)];}});const AnnError_1=require('./exception/AnnError');Object['defineProperty'](exports,'AnnError',{'enumerable':!![],'get':function(){return AnnError_1['AnnError'];}});const AnnErrorRender_1=require(a10_0x508590(0x1d0));function a10_0x49c8(){const _0x3b999e=['CustomConfiguration','1448688DRrDln','urllib','148474FeocLD','6812856glCNDI','getAnnErrorList','60652ySpPZF','mathjs','4LEEGaJ','5oTnRkc','Configuration','5283192qUjsQb','AnnErrorMsg','./helper/include','getAnnEnumMap','lodash','./decorator/AnnErrorMsg','fsplus','AnnError','fileMd5','globDir','dayjs','getAnnErrorMsg','./helper/globDir','12262626XjFleg','sleep','./exception/AnnErrorRender','./configuration','collect.js','include','./helper/fileMd5','getAnnEnumMsg','defineProperty','getAnnEnumArray','AnnErrorRender','collect','AnnEnumMsg','4726449ARnnJZ','fs-extra'];a10_0x49c8=function(){return _0x3b999e;};return a10_0x49c8();}Object[a10_0x508590(0x1d6)](exports,'AnnErrorRender',{'enumerable':!![],'get':function(){return AnnErrorRender_1['AnnErrorRender'];}});const AnnErrorMsg_1=require(a10_0x508590(0x1ed));Object[a10_0x508590(0x1d6)](exports,a10_0x508590(0x1e9),{'enumerable':!![],'get':function(){const _0x5c44e4=a10_0x508590;return AnnErrorMsg_1[_0x5c44e4(0x1e9)];}}),Object['defineProperty'](exports,a10_0x508590(0x1f3),{'enumerable':!![],'get':function(){const _0x543894=a10_0x508590;return AnnErrorMsg_1[_0x543894(0x1f3)];}}),Object['defineProperty'](exports,a10_0x508590(0x1e2),{'enumerable':!![],'get':function(){const _0x171430=a10_0x508590;return AnnErrorMsg_1[_0x171430(0x1e2)];}});const AnnEnumMsg_1=require('./decorator/AnnEnumMsg');Object[a10_0x508590(0x1d6)](exports,a10_0x508590(0x1da),{'enumerable':!![],'get':function(){return AnnEnumMsg_1['AnnEnumMsg'];}}),Object[a10_0x508590(0x1d6)](exports,a10_0x508590(0x1d5),{'enumerable':!![],'get':function(){return AnnEnumMsg_1['getAnnEnumMsg'];}}),Object[a10_0x508590(0x1d6)](exports,a10_0x508590(0x1eb),{'enumerable':!![],'get':function(){return AnnEnumMsg_1['getAnnEnumMap'];}}),Object[a10_0x508590(0x1d6)](exports,'getAnnEnumArray',{'enumerable':!![],'get':function(){const _0x29a2ed=a10_0x508590;return AnnEnumMsg_1[_0x29a2ed(0x1d7)];}});var configuration_1=require(a10_0x508590(0x1d1));Object['defineProperty'](exports,a10_0x508590(0x1e7),{'enumerable':!![],'get':function(){const _0x7451de=a10_0x508590;return configuration_1[_0x7451de(0x1dd)];}}),(global[a10_0x508590(0x1df)]=urllib,global['fsplus']=fsplus,global[a10_0x508590(0x1e4)]=mathjs,global[a10_0x508590(0x1ec)]=lodash),(global[a10_0x508590(0x1f2)]=dayjs,global[a10_0x508590(0x1f6)]=sleep_1[a10_0x508590(0x1f6)],global[a10_0x508590(0x1d9)]=collect_js_1['collect'],global[a10_0x508590(0x1d3)]=include_1['include'],global['globDir']=globDir_1[a10_0x508590(0x1f1)],global[a10_0x508590(0x1f0)]=fileMd5_1[a10_0x508590(0x1f0)]),(global[a10_0x508590(0x1da)]=AnnEnumMsg_1[a10_0x508590(0x1da)],global[a10_0x508590(0x1d5)]=AnnEnumMsg_1[a10_0x508590(0x1d5)],global['getAnnEnumMap']=AnnEnumMsg_1[a10_0x508590(0x1eb)],global[a10_0x508590(0x1d7)]=AnnEnumMsg_1[a10_0x508590(0x1d7)]),(global[a10_0x508590(0x1e9)]=AnnErrorMsg_1[a10_0x508590(0x1e9)],global[a10_0x508590(0x1f3)]=AnnErrorMsg_1[a10_0x508590(0x1f3)],global[a10_0x508590(0x1e2)]=AnnErrorMsg_1[a10_0x508590(0x1e2)],global['AnnError']=AnnError_1['AnnError'],global['AnnErrorRender']=AnnErrorRender_1[a10_0x508590(0x1d8)]);
|
package/index.d.ts
CHANGED
|
@@ -33,10 +33,11 @@ declare global { // 全局变量设置
|
|
|
33
33
|
(moduleId: any): any;
|
|
34
34
|
keys(): any[];
|
|
35
35
|
};
|
|
36
|
-
|
|
36
|
+
|
|
37
37
|
export function AnnEnumMsg(field: string, message: string): PropertyDecorator;
|
|
38
38
|
export function getAnnEnumMsg(target: any, field: string, code: number | string): string;
|
|
39
39
|
export function getAnnEnumMap(target: any, field: string): { [key: string]: string | number; };
|
|
40
|
+
export function getAnnEnumList(target: any, field: string): { label: string; value: number | string; }[];
|
|
40
41
|
export function getAnnEnumArray(target: any, field: string, filters?: Array<number | string>): (string | number)[];
|
|
41
42
|
|
|
42
43
|
export function AnnErrorMsg(message: string): PropertyDecorator;
|
|
@@ -50,7 +51,7 @@ declare global { // 全局变量设置
|
|
|
50
51
|
|
|
51
52
|
export class AnnError extends Error {
|
|
52
53
|
readonly code: number;
|
|
53
|
-
readonly result: {[key: string]: any;};
|
|
54
|
+
readonly result: { [key: string]: any; };
|
|
54
55
|
static readonly UNKNOW = 100000;
|
|
55
56
|
static readonly PARAMS = 102000;
|
|
56
57
|
static readonly NOFIND = 103000;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@anncic-api/core",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.8",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"typings": "index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -41,5 +41,5 @@
|
|
|
41
41
|
"javascript-obfuscator": "2.19.0",
|
|
42
42
|
"typescript": "^4.7.4"
|
|
43
43
|
},
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "8e67a65d479feee3c586cebc182378beacb68d2f"
|
|
45
45
|
}
|