@wp1001/ui 3.1.15 → 3.1.16
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/@vant-D4fmGxs6.js +1 -1
- package/index.js +1 -1
- package/package.json +1 -1
- package/packages/assets/devtools-detector.js +1 -1
- package/packages/components/xarray/index.js +1 -1
- package/packages/components/xautorows/index.js +1 -1
- package/packages/components/xbutton/mobile.js +1 -1
- package/packages/components/xbutton/pc.js +1 -1
- package/packages/components/xbuttons/mobile.js +1 -1
- package/packages/components/xbuttons/pc.js +1 -1
- package/packages/components/xchart/constants.js +1 -1
- package/packages/components/xchart/index.js +1 -1
- package/packages/components/xchart/utils.js +1 -1
- package/packages/components/xcheckboxs/mobile.js +1 -1
- package/packages/components/xcheckboxs/pc.js +1 -1
- package/packages/components/xcol/mobile.js +1 -1
- package/packages/components/xcol/pc.js +1 -1
- package/packages/components/xdatepicker/mobile.js +1 -1
- package/packages/components/xdatepicker/pc.js +1 -1
- package/packages/components/xdialog/mobile.js +1 -1
- package/packages/components/xdialog/pc.js +1 -1
- package/packages/components/xdict/index.js +1 -1
- package/packages/components/xdistrictselect/mobile.js +1 -1
- package/packages/components/xdistrictselect/pc.js +1 -1
- package/packages/components/xform/mobile.js +1 -1
- package/packages/components/xform/pc.js +1 -1
- package/packages/components/xform/utils.js +1 -1
- package/packages/components/xformitem/mobile.js +1 -1
- package/packages/components/xformitem/pc.js +1 -1
- package/packages/components/xformitem/utils.jsx +1 -1
- package/packages/components/xicon/mobile.js +1 -1
- package/packages/components/xicon/pc.js +1 -1
- package/packages/components/xinfo/index.js +1 -1
- package/packages/components/xlooper/index.js +1 -1
- package/packages/components/xpagination/mobile.js +1 -1
- package/packages/components/xpagination/pc.js +1 -1
- package/packages/components/xpicker/index.js +1 -1
- package/packages/components/xradios/mobile.js +1 -1
- package/packages/components/xradios/pc.js +1 -1
- package/packages/components/xrow/mobile.js +1 -1
- package/packages/components/xrow/pc.js +1 -1
- package/packages/components/xscan/mobile.js +1 -1
- package/packages/components/xscan/pc.js +1 -1
- package/packages/components/xsearcher/index.js +1 -1
- package/packages/components/xselect/mobile.js +1 -1
- package/packages/components/xselect/pc.js +1 -1
- package/packages/components/xselect/util.js +1 -1
- package/packages/components/xselectv2/index.js +1 -1
- package/packages/components/xtable/mobile.js +1 -1
- package/packages/components/xtable/pc.js +1 -1
- package/packages/components/xtable/searcher.js +1 -1
- package/packages/components/xtable/settings.js +1 -1
- package/packages/components/xtable/utils.js +1 -1
- package/packages/components/xtabletools/mobile.js +1 -1
- package/packages/components/xtabletools/pc.js +1 -1
- package/packages/components/xtablev2/pc.js +1 -1
- package/packages/components/xtags/mobile.js +1 -1
- package/packages/components/xtags/pc.js +1 -1
- package/packages/components/xtinymce/index.js +1 -1
- package/packages/components/xuploader/xfileuploader.js +1 -1
- package/packages/components/xuploader/ximageuploader.js +1 -1
- package/packages/comps.js +1 -1
- package/packages/controllers/BaseController.js +1 -1
- package/packages/controllers/CrudController.js +1 -1
- package/packages/controllers/TempCrudController.js +1 -1
- package/packages/controllers/index.js +1 -1
- package/packages/directives/el-table-infinite-scroll.js +1 -1
- package/packages/directives/index.js +1 -1
- package/packages/index.js +1 -1
- package/packages/layout/breadcrumb/index.js +1 -1
- package/packages/layout/header/inner.js +1 -1
- package/packages/layout/screenlock/index.js +1 -1
- package/packages/layout/sidebar/item.js +1 -1
- package/packages/layout/sidebar/menu.js +1 -1
- package/packages/layout/tagsview/ScrollPane.js +1 -1
- package/packages/layout/tagsview/index.js +1 -1
- package/packages/plop/actions/make-fill-admin-partials-action.js +1 -1
- package/packages/plop/generators/make-admin-page.js +1 -1
- package/packages/plop/generators/make-database-admin-pages.js +1 -1
- package/packages/plop/generators/make-page-generator.js +1 -1
- package/packages/plop/generators/make-simple-page.js +1 -1
- package/packages/plop/plopfile.js +1 -1
- package/packages/plop/utils/index.js +1 -1
- package/packages/plop/utils/plop-utils.js +1 -1
- package/packages/utils/crypt.js +1 -1
- package/packages/utils/decorators.js +1 -1
- package/packages/utils/disallowDevtools.js +1 -1
- package/packages/utils/effects.js +1 -1
- package/packages/utils/funcs.js +1 -1
- package/packages/utils/index.js +1 -1
- package/packages/utils/message.js +1 -1
- package/packages/utils/middlewares.js +1 -1
- package/packages/utils/model.js +1 -1
- package/packages/utils/modelUtils.js +1 -1
- package/packages/utils/request.js +1 -1
- package/packages/utils/site.js +1 -1
- package/packages/vite-plugins.js +1 -1
- package/src/main.js +1 -1
- package/src/request.js +1 -1
- package/vite.config.js +1 -1
- package/vite.lib.config.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a92_0x1c9c2a=a92_0x108a;(function(_0x3a6308,_0xafba42){const _0x4ad808=a92_0x108a,_0x21f8bf=_0x3a6308();while(!![]){try{const _0x37938c=parseInt(_0x4ad808(0x17b))/0x1*(-parseInt(_0x4ad808(0x164))/0x2)+-parseInt(_0x4ad808(0x151))/0x3*(-parseInt(_0x4ad808(0x155))/0x4)+parseInt(_0x4ad808(0x153))/0x5*(parseInt(_0x4ad808(0x16d))/0x6)+parseInt(_0x4ad808(0x178))/0x7*(parseInt(_0x4ad808(0x15e))/0x8)+parseInt(_0x4ad808(0x166))/0x9+-parseInt(_0x4ad808(0x18d))/0xa*(-parseInt(_0x4ad808(0x14d))/0xb)+-parseInt(_0x4ad808(0x158))/0xc*(parseInt(_0x4ad808(0x181))/0xd);if(_0x37938c===_0xafba42)break;else _0x21f8bf['push'](_0x21f8bf['shift']());}catch(_0xf03936){_0x21f8bf['push'](_0x21f8bf['shift']());}}}(a92_0x2ba6,0x9e5c7));import{watch}from'vue';const {funcs}=StardustJs;export const initFields=_0x3d79e5=>{const _0x18e988=a92_0x108a;return _0x3d79e5[_0x18e988(0x168)](_0x211b9e=>{const _0xb51e8f=_0x18e988,_0x30eb4c=Object[_0xb51e8f(0x185)](_0x211b9e);for(let _0x580f75 of _0x30eb4c){if(_0x580f75[_0xb51e8f(0x18f)]('ta_'))_0x211b9e[_0xb51e8f(0x173)]??={},_0x211b9e[_0xb51e8f(0x173)][_0x580f75[_0xb51e8f(0x169)](0x3)]=_0x211b9e[_0x580f75],delete _0x211b9e[_0x580f75];else _0x580f75[_0xb51e8f(0x18f)](_0xb51e8f(0x17a))&&(_0x211b9e[_0xb51e8f(0x16a)]??={},_0x211b9e[_0xb51e8f(0x16a)][_0x580f75['slice'](0x3)]=_0x211b9e[_0x580f75],delete _0x211b9e[_0x580f75]);}if(_0x211b9e[_0xb51e8f(0x148)]===_0xb51e8f(0x150))_0x211b9e[_0xb51e8f(0x16a)]??={},_0x211b9e[_0xb51e8f(0x16a)][_0xb51e8f(0x152)]??=_0xb51e8f(0x188);else _0x211b9e[_0xb51e8f(0x148)]===_0xb51e8f(0x183)&&(_0x211b9e['formAttrs']??={},_0x211b9e[_0xb51e8f(0x16a)][_0xb51e8f(0x152)]??=_0xb51e8f(0x170));return _0x211b9e['xs']??=0x18,_0x211b9e;});};function a92_0x108a(_0x6c45bf,_0x267b0a){const _0x2ba6dc=a92_0x2ba6();return a92_0x108a=function(_0x108a78,_0x1e9d47){_0x108a78=_0x108a78-0x148;let _0x4254a1=_0x2ba6dc[_0x108a78];return _0x4254a1;},a92_0x108a(_0x6c45bf,_0x267b0a);}export const initModel=(_0x1671ce,_0x156c7c)=>{const _0x1de776=a92_0x108a;for(let _0x11cc5e in _0x1671ce){const _0x115f0b=_0x1671ce[_0x11cc5e];if(!_0x115f0b||typeof _0x115f0b!=='object')continue;_0x11cc5e===_0x1de776(0x171)&&_0x1671ce[_0x11cc5e]['_isBaseTable']&&initTable(_0x115f0b,_0x156c7c),_0x11cc5e===_0x1de776(0x182)&&_0x1671ce[_0x11cc5e][_0x1de776(0x189)]&&initDialog(_0x115f0b,_0x156c7c),_0x11cc5e===_0x1de776(0x17e)&&_0x1671ce[_0x11cc5e][_0x1de776(0x186)]&&initForm(_0x115f0b,_0x156c7c);}return _0x1671ce;};export const initTable=(_0x22ada2,_0x4cfe61)=>{const _0x5300f8=a92_0x108a;return _0x22ada2[_0x5300f8(0x15b)]['push'](..._0x4cfe61[_0x5300f8(0x160)](_0x3b6e3d=>{const _0xd87945=_0x5300f8;return _0x3b6e3d[_0xd87945(0x159)]===![]?_0x3b6e3d[_0xd87945(0x16e)]:_0x3b6e3d[_0xd87945(0x16e)]!==![];})),_0x22ada2;};function a92_0x2ba6(){const _0x1be2e8=['map','slice','formAttrs','required','canEdit','84ruMzFE','canView','XCheckboxs','YYYY-MM-DD\x20HH:mm:ss','table','mobile','tableAttrs','hasOwnProperty','split','start-placeholder','change','3370724RqDqlx','ElDatePicker','fa_','3tvqNkT','comp','prop','form','forEach','includes','18187NVeONe','dialog','datetime','一个\x20when\x20表达式中仅支持\x20&&\x20模式或\x20||\x20模式','keys','_isBaseForm','onBlur','YYYY-MM-DD','_isBaseDialog','blur','platform','validator','820JUQxHA','initialFormRules','startsWith','label','endsWith','type','match','assign','end-placeholder','formItems','111859Hsaggl','datetimerange','canAdd','date','3BJZavj','value-format','448355srWRCw','x-checkboxs','4755444JKGlsV','formRules','deepCopy','32316pwsKiJ','visible','some','columns','trim','number','8LugVYI','asyncValidator','filter','ElInputNumber','initialForm','push','302612tFbbrc','onChange','9993843SKzWXA','monthrange'];a92_0x2ba6=function(){return _0x1be2e8;};return a92_0x2ba6();}export const initDialog=(_0x4db2e5,_0x56e025)=>{const _0x2d4be3=a92_0x108a;return _0x4db2e5[_0x2d4be3(0x14c)]=_0x56e025['filter'](_0x2eecf6=>{const _0x5e2ca7=_0x2d4be3;if(_0x2eecf6[_0x5e2ca7(0x159)]===![])return _0x2eecf6[_0x5e2ca7(0x14f)]||_0x2eecf6[_0x5e2ca7(0x16c)];return _0x2eecf6[_0x5e2ca7(0x14f)]!==![]||_0x2eecf6[_0x5e2ca7(0x16c)]!==![];}),initForm(_0x4db2e5,_0x56e025),_0x4db2e5;};export const initForm=(_0xe42176,_0xcdb9aa)=>{const _0x662be2=a92_0x108a;_0xe42176[_0x662be2(0x186)]&&!_0xe42176[_0x662be2(0x189)]&&(_0xe42176[_0x662be2(0x14c)]=_0xcdb9aa[_0x662be2(0x160)](_0x2806fd=>_0x2806fd[_0x662be2(0x159)]!==![]));initDefaultForm(_0xe42176[_0x662be2(0x17e)],_0xe42176[_0x662be2(0x14c)]),_0xe42176[_0x662be2(0x162)]=funcs[_0x662be2(0x157)](_0xe42176['form']),_0xe42176[_0x662be2(0x18e)]=funcs['deepCopy'](_0xe42176[_0x662be2(0x156)]);const _0x17dfdc=()=>{initFormRules(_0xe42176);};return watch(()=>_0xe42176[_0x662be2(0x14c)],_0x17dfdc,{'immediate':!![],'deep':!![]}),_0xe42176;};export const initFormRules=_0x343ba7=>{const _0x2528e9=a92_0x108a,{formItems:_0x473bdd,initialFormRules:_0x195fab}=_0x343ba7;Object[_0x2528e9(0x14a)](_0x343ba7[_0x2528e9(0x156)],funcs['deepCopy'](_0x195fab)),Object[_0x2528e9(0x185)](_0x343ba7['formRules'])[_0x2528e9(0x17f)](_0x47ec57=>{const _0x4f05cf=_0x2528e9;!_0x195fab[_0x4f05cf(0x174)](_0x47ec57)&&delete _0x343ba7[_0x4f05cf(0x156)][_0x47ec57];});const _0x47294c={};return _0x473bdd['forEach'](_0x4a65ed=>{const _0x119b88=_0x2528e9;if(_0x343ba7[_0x119b88(0x156)][_0x4a65ed['prop']])return;if(!_0x4a65ed[_0x119b88(0x16b)]&&!_0x4a65ed[_0x119b88(0x18c)]&&!_0x4a65ed[_0x119b88(0x15f)])return;const _0x590163=_0x4a65ed[_0x119b88(0x18b)]||_0x343ba7['platform']||(window['isMobile']?_0x119b88(0x172):'pc'),_0x46a1a7=triggers[_0x590163],_0x39cfe7=[],_0x56e27c='options'in _0x4a65ed,_0x257608='请'+(_0x4a65ed[_0x119b88(0x18c)]||_0x4a65ed[_0x119b88(0x15f)]?'正确':'')+(_0x56e27c?'选择':'输入')+(_0x4a65ed?.[_0x119b88(0x190)]||_0x4a65ed[_0x119b88(0x17d)]),_0x561749={'required':!![],'message':_0x257608};if(_0x4a65ed[_0x119b88(0x18c)])_0x561749[_0x119b88(0x18c)]=(_0xd508a9,_0x1259cc)=>{const _0x49d4fd=_0x119b88;return _0x590163==='pc'?_0x4a65ed[_0x49d4fd(0x18c)](_0xd508a9,_0x1259cc):_0x4a65ed[_0x49d4fd(0x18c)](_0x1259cc,_0xd508a9);};if(_0x4a65ed[_0x119b88(0x15f)])_0x561749[_0x119b88(0x15f)]=(_0x373f8f,_0x5b16b2)=>{const _0x1bff7d=_0x119b88;return _0x590163==='pc'?_0x4a65ed[_0x1bff7d(0x15f)](_0x373f8f,_0x5b16b2):_0x4a65ed[_0x1bff7d(0x15f)](_0x5b16b2,_0x373f8f);};!_0x4a65ed['comp']?_0x39cfe7[_0x119b88(0x163)]({..._0x561749,'trigger':_0x46a1a7[_0x119b88(0x18a)]}):_0x39cfe7['push']({..._0x561749,'trigger':_0x46a1a7[_0x119b88(0x177)]}),_0x4a65ed[_0x119b88(0x17c)]===_0x119b88(0x161)&&_0x39cfe7[_0x119b88(0x163)]({..._0x561749,'trigger':_0x46a1a7[_0x119b88(0x18a)]}),_0x47294c[_0x4a65ed[_0x119b88(0x17d)]]=_0x39cfe7;}),Object[_0x2528e9(0x14a)](_0x343ba7['formRules'],_0x47294c),_0x343ba7[_0x2528e9(0x156)];};export const initDefaultForm=(_0x162b7d,_0x176172,_0xeaa0f4=!![])=>{const _0xfac0e7=a92_0x108a,_0x4630e7={};return _0x176172[_0xfac0e7(0x17f)](_0x43fa24=>{const _0x5624f6=_0xfac0e7;if(!_0x43fa24[_0x5624f6(0x17d)]||_0x43fa24['virtual'])return;let _0x5dd482='';const {type:_0x13dc39,options:_0x4e487c}=_0x43fa24,{multiple:_0x4ddcc3}=_0x43fa24[_0x5624f6(0x16a)]||{};if(_0xeaa0f4&&_0x13dc39===_0x5624f6(0x15d)||_0x43fa24['comp']==='ElInputNumber')_0x5dd482=null;else{if(_0x43fa24['comp']==='ElSwitch')_0x5dd482=![];else{if(_0x4e487c&&(_0x43fa24[_0x5624f6(0x17c)]?.[_0x5624f6(0x191)](_0x5624f6(0x16f))||_0x43fa24[_0x5624f6(0x17c)]?.[_0x5624f6(0x191)](_0x5624f6(0x154))||_0x4ddcc3))_0x5dd482=[];else{if(_0x43fa24[_0x5624f6(0x17c)]===_0x5624f6(0x179)&&[_0x5624f6(0x14e),'daterange',_0x5624f6(0x167)]['includes'](_0x43fa24[_0x5624f6(0x148)])){const _0x11f445={'datetimerange':'时间','daterange':'日期','monthrange':'月份'}[_0x43fa24[_0x5624f6(0x148)]];!_0x43fa24['start-placeholder']&&(_0x43fa24[_0x5624f6(0x176)]='开始'+_0x11f445),!_0x43fa24['end-placeholder']&&(_0x43fa24[_0x5624f6(0x14b)]='结束'+_0x11f445),_0x5dd482=[];}}}}_0x4630e7[_0x43fa24['prop']]=_0x5dd482;}),Object[_0xfac0e7(0x14a)](_0x162b7d,{..._0x4630e7,..._0x162b7d}),_0x162b7d;};export const isWhenMatched=(_0x1b1308,_0x11a5af)=>{const _0x3561e9=a92_0x108a;if(!_0x1b1308)return!![];const _0x5ed1d2=_0x1b1308['split'](/\s?(&&|\|\|)\s?/g);if(_0x5ed1d2[_0x3561e9(0x180)]('&&')&&_0x5ed1d2['includes']('||'))throw _0x3561e9(0x184);const _0x23f6bf=_0x5ed1d2['includes']('&&'),_0x4628e0=/[\^\*\$\~\!]?=/,_0x2b8bf5=_0x5ed1d2['filter'](_0x41359c=>_0x41359c!=='&&'&&_0x41359c!=='||');return _0x2b8bf5[_0x23f6bf?'every':'some'](_0x3e8943=>{const _0x9644ea=_0x3561e9;let [_0x195303,_0x4950a8]=_0x3e8943[_0x9644ea(0x175)](_0x4628e0);_0x4950a8=_0x4950a8[_0x9644ea(0x175)]('|');let _0x1f08c9=_0x11a5af[_0x195303];if(typeof _0x1f08c9==='number')_0x1f08c9+='';else{if(typeof _0x1f08c9==='string')_0x1f08c9=_0x1f08c9[_0x9644ea(0x15c)]();}const _0x4dfff5=_0x3e8943[_0x9644ea(0x149)](_0x4628e0)[0x0];if(_0x4dfff5==='!=')return!_0x4950a8[_0x9644ea(0x180)](_0x1f08c9);return _0x4950a8[_0x9644ea(0x15a)](_0x5c6458=>{const _0x3f5d96=_0x9644ea;if(_0x4dfff5==='^=')return _0x1f08c9?.['startsWith'](_0x5c6458);else{if(_0x4dfff5==='*=')return _0x1f08c9?.['includes'](_0x5c6458);else{if(_0x4dfff5==='$=')return _0x1f08c9?.[_0x3f5d96(0x191)](_0x5c6458);else{if(_0x4dfff5==='~=')return!_0x1f08c9?.[_0x3f5d96(0x180)](_0x5c6458);else{if(_0x4dfff5==='!=')return _0x1f08c9!==_0x5c6458;}}}}return _0x5c6458===_0x1f08c9;});});};export const triggers={'mobile':{'blur':a92_0x1c9c2a(0x187),'change':a92_0x1c9c2a(0x165)},'pc':{'blur':a92_0x1c9c2a(0x18a),'change':a92_0x1c9c2a(0x177)}};export default{'initFields':initFields,'initModel':initModel,'initTable':initTable,'initDialog':initDialog,'initForm':initForm,'initFormRules':initFormRules,'initDefaultForm':initDefaultForm,'isWhenMatched':isWhenMatched,'triggers':triggers};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x19e8b8,_0x54df3a){const _0x15eb18=a93_0x46ae,_0xe68f4=_0x19e8b8();while(!![]){try{const _0x56a09e=parseInt(_0x15eb18(0x16f))/0x1*(-parseInt(_0x15eb18(0x165))/0x2)+parseInt(_0x15eb18(0x17f))/0x3+parseInt(_0x15eb18(0x162))/0x4+-parseInt(_0x15eb18(0x185))/0x5*(parseInt(_0x15eb18(0x160))/0x6)+-parseInt(_0x15eb18(0x176))/0x7*(parseInt(_0x15eb18(0x168))/0x8)+parseInt(_0x15eb18(0x167))/0x9*(parseInt(_0x15eb18(0x189))/0xa)+-parseInt(_0x15eb18(0x166))/0xb*(parseInt(_0x15eb18(0x169))/0xc);if(_0x56a09e===_0x54df3a)break;else _0xe68f4['push'](_0xe68f4['shift']());}catch(_0x10f461){_0xe68f4['push'](_0xe68f4['shift']());}}}(a93_0x1cdb,0x5bf2a));import{Message}from'./message.js';function a93_0x1cdb(){const _0x29fcc5=['url','未知错误','29965lkmfQH','reject','stringify','Content-Type','5953890kDgtds','config','token','content-type','354PtkkPx','encrypt','2435904lZOEkh','refresh-token','replace','8YBFVlj','44AzmVNx','9MyDsZI','506664raCjaZ','501624XPCLEn','data','funcs','setToken','hash','/login','118317mukxse','code','dates','body','user','resolve','slice','14ZXzzpy','params','httpEncrypt','indexOf','split','err','application/json;\x20charset=UTF-8','includes','toString','878946PAseXJ','parse','headers','globalProperties'];a93_0x1cdb=function(){return _0x29fcc5;};return a93_0x1cdb();}function a93_0x46ae(_0x2e5d98,_0x29414e){const _0x1cdb83=a93_0x1cdb();return a93_0x46ae=function(_0x46aeff,_0x3b0118){_0x46aeff=_0x46aeff-0x15d;let _0x1b6676=_0x1cdb83[_0x46aeff];return _0x1b6676;},a93_0x46ae(_0x2e5d98,_0x29414e);}const requestUse=(_0x31a489,_0x548e69,_0x1653c0,_0x3f3bb9,_0x1eedb6)=>{const _0x4118a8=a93_0x46ae;_0x1eedb6['headers']['Authorization']||=_0x1653c0[_0x4118a8(0x173)][_0x4118a8(0x15e)];const _0x1fe5af=_0x31a489[_0x4118a8(0x15d)][_0x4118a8(0x182)][_0x4118a8(0x178)];if(_0x1fe5af!==![]){_0x1eedb6[_0x4118a8(0x181)]['Http-Encrypt']=_0x1fe5af,_0x1eedb6['headers'][_0x4118a8(0x188)]||=_0x4118a8(0x17c);if(_0x1eedb6['url'][_0x4118a8(0x179)]('?')>=0x0){const [_0x4756e2,..._0x4548de]=_0x1eedb6[_0x4118a8(0x183)]['split']('?'),_0x18fde0=_0x548e69[_0x4118a8(0x161)][_0x1fe5af](_0x4548de['join']('?'),'query');_0x1eedb6[_0x4118a8(0x183)]=_0x4756e2+'?'+_0x18fde0;}else _0x1eedb6[_0x4118a8(0x177)]||={'__placeholder__':Date['now']()[_0x4118a8(0x17e)](0x10)};if(_0x1eedb6['params']){const _0x1fa73e=decodeURIComponent(new URLSearchParams(_0x1eedb6['params'])[_0x4118a8(0x17e)]());_0x1eedb6[_0x4118a8(0x183)]+='?'+_0x548e69[_0x4118a8(0x161)][_0x1fe5af](_0x1fa73e,'query'),delete _0x1eedb6['params'];}if(_0x1eedb6[_0x4118a8(0x16a)]!==undefined&&!(_0x1eedb6[_0x4118a8(0x16a)]instanceof FormData)){const _0x26b9ab=_0x548e69[_0x4118a8(0x161)][_0x1fe5af](JSON[_0x4118a8(0x187)](_0x1eedb6['data']),_0x4118a8(0x172));_0x1eedb6[_0x4118a8(0x16a)]=_0x26b9ab;}}return _0x1eedb6;},responseUse=(_0x154e90,_0xfd8069,_0x3a88a2,_0x14ab16,_0x16f22c)=>{const _0x18115f=a93_0x46ae;if([0x191,0x192,0x2711][_0x18115f(0x17d)](_0x16f22c['data']['code'])){_0x3a88a2[_0x18115f(0x173)]['setExpired']();const _0x67b6f='/'+location[_0x18115f(0x16d)][_0x18115f(0x175)](0x2)[_0x18115f(0x17a)]('?')[0x0],_0x2ea14e=StardustJs[_0x18115f(0x16b)]['decodeQuery'](location['href'][_0x18115f(0x17a)]('?')[0x1]||'');return _0x14ab16[_0x18115f(0x164)](_0x2ea14e['redirectTo']?'/login?redirectTo='+(_0x2ea14e['redirectTo']||_0x67b6f):_0x18115f(0x16e)),Promise[_0x18115f(0x186)](_0x16f22c);}else{if([0x2712][_0x18115f(0x17d)](_0x16f22c[_0x18115f(0x16a)][_0x18115f(0x170)]))return Message['e'](_0x16f22c[_0x18115f(0x16a)]['err']),Promise[_0x18115f(0x186)](_0x16f22c);}const _0x3c2e09=_0x16f22c['headers'][_0x18115f(0x163)]||_0x16f22c[_0x18115f(0x16a)]['token'];_0x3c2e09&&_0x3a88a2[_0x18115f(0x173)][_0x18115f(0x16c)](_0x3c2e09);if(_0x16f22c[_0x18115f(0x16a)][_0x18115f(0x17b)])return Message['e'](_0x16f22c[_0x18115f(0x16a)][_0x18115f(0x17b)]||_0x18115f(0x184)),Promise[_0x18115f(0x186)](_0x16f22c);return _0x16f22c[_0x18115f(0x181)][_0x18115f(0x15f)]?.[_0x18115f(0x17d)]('application/json')&&(_0x16f22c[_0x18115f(0x16a)]=JSON[_0x18115f(0x180)](StardustJs[_0x18115f(0x171)]['convertIsoDates'](JSON[_0x18115f(0x187)](_0x16f22c[_0x18115f(0x16a)])))),Promise[_0x18115f(0x174)](_0x16f22c[_0x18115f(0x16a)]);};export{requestUse,responseUse};
|
package/packages/utils/site.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a94_0x237a30=a94_0x20a0;(function(_0x3d1980,_0x392165){const _0x2036c9=a94_0x20a0,_0x54a47e=_0x3d1980();while(!![]){try{const _0x48fd3b=parseInt(_0x2036c9(0x1dc))/0x1+parseInt(_0x2036c9(0x1d3))/0x2*(parseInt(_0x2036c9(0x1e1))/0x3)+-parseInt(_0x2036c9(0x1ce))/0x4+parseInt(_0x2036c9(0x1df))/0x5+parseInt(_0x2036c9(0x1d6))/0x6*(parseInt(_0x2036c9(0x1d7))/0x7)+-parseInt(_0x2036c9(0x1d5))/0x8*(parseInt(_0x2036c9(0x1dd))/0x9)+-parseInt(_0x2036c9(0x1e0))/0xa*(parseInt(_0x2036c9(0x1de))/0xb);if(_0x48fd3b===_0x392165)break;else _0x54a47e['push'](_0x54a47e['shift']());}catch(_0x6a5506){_0x54a47e['push'](_0x54a47e['shift']());}}}(a94_0x1953,0xeface));function a94_0x20a0(_0x275dac,_0x42366d){const _0x195350=a94_0x1953();return a94_0x20a0=function(_0x20a0ae,_0x244dc8){_0x20a0ae=_0x20a0ae-0x1ce;let _0x425ec8=_0x195350[_0x20a0ae];return _0x425ec8;},a94_0x20a0(_0x275dac,_0x42366d);}export const createWatermark=({text:_0x433164,gap:_0x5b3ea4,fontSize:_0x1c8469,color:_0x517dbc,width:width=window[a94_0x237a30(0x1d8)],height:height=window[a94_0x237a30(0x1d1)],drawMode:drawMode=a94_0x237a30(0x1da)})=>{const _0x9dcbd1=a94_0x237a30,_0x2c4ae7=document[_0x9dcbd1(0x1d9)](_0x9dcbd1(0x1d4));_0x2c4ae7[_0x9dcbd1(0x1e2)]=width,_0x2c4ae7[_0x9dcbd1(0x1d2)]=height;const _0x4e4b52=_0x2c4ae7[_0x9dcbd1(0x1db)]('2d');_0x4e4b52[_0x9dcbd1(0x1d0)]=_0x1c8469+'px\x20Arial',_0x4e4b52[drawMode+'Style']=_0x517dbc;const _0x177780=_0x4e4b52[_0x9dcbd1(0x1cf)](_0x433164)[_0x9dcbd1(0x1e2)],_0x4b3e5c=_0x177780+_0x5b3ea4,_0x4120a0=_0x1c8469+_0x5b3ea4;for(let _0x43aba8=_0x5b3ea4/0x2;_0x43aba8<height;_0x43aba8+=_0x4120a0){for(let _0x3e664a=_0x5b3ea4/0x2;_0x3e664a<width;_0x3e664a+=_0x4b3e5c){_0x4e4b52[drawMode+'Text'](_0x433164,_0x3e664a,_0x43aba8);}}return _0x2c4ae7;};export default{'createWatermark':createWatermark};function a94_0x1953(){const _0x3390c0=['createElement','fill','getContext','1697922EvyzbS','14877495OGfgDd','11ywdIQY','7893260UEjPiz','18696090XXjYLo','2166qwqRbB','width','947168ZmikLa','measureText','font','innerHeight','height','2632JPqIwW','canvas','8IbSupG','342960EUPPuN','63aXyGTR','innerWidth'];a94_0x1953=function(){return _0x3390c0;};return a94_0x1953();}
|
package/packages/vite-plugins.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a95_0x5a4e92=a95_0x3d19;(function(_0x2c1b42,_0x550071){const _0x427af7=a95_0x3d19,_0x615dc6=_0x2c1b42();while(!![]){try{const _0x168d01=parseInt(_0x427af7(0x1e2))/0x1+parseInt(_0x427af7(0x217))/0x2+-parseInt(_0x427af7(0x203))/0x3*(parseInt(_0x427af7(0x20b))/0x4)+-parseInt(_0x427af7(0x213))/0x5+parseInt(_0x427af7(0x1df))/0x6*(parseInt(_0x427af7(0x1ea))/0x7)+parseInt(_0x427af7(0x1e8))/0x8+-parseInt(_0x427af7(0x209))/0x9*(parseInt(_0x427af7(0x1fb))/0xa);if(_0x168d01===_0x550071)break;else _0x615dc6['push'](_0x615dc6['shift']());}catch(_0xd3b837){_0x615dc6['push'](_0x615dc6['shift']());}}}(a95_0x1a3b,0x7a13e));function a95_0x1a3b(){const _0x55a0a3=['filter','<script\x20setup>\x0a','@use\x20\x22./','24Eyrtsi','trim','_ctx\x20=\x20wrapCtx(_ctx,\x20filterPrivateFields(model),\x20filterPrivateFields(controller))','525636WsawTP','<style\x20lang=\x22scss\x22>','instantiateTables','existsSync','_ctx\x20=\x20wrapCtx(_ctx,\x20filterPrivateFields(model))','.scss','5133712bdBnUI','<script>','1174957iUbfPX','startsWith','basename','_ctx\x20=\x20wrapCtx(_ctx,\x20null,\x20filterPrivateFields(controller))','join','-scoped.scss','no\x20model','model.js','replace','split','splice','const\x20','dirname','auto-deconstruct','const\x20controller\x20=\x20makeController({\x20','return\x20{\x20...__returned__,\x20...filterPrivateFields(controller)\x20}','return\x20(_ctx,\x20_cache)\x20=>\x20{','20039990KzgxXj','<script>\x0a','auto-inject','const\x20model','.scss\x22;','vue\x20})','.js','matchAll','1146Qqyrpo','model,\x20','\x20=\x20new\x20Table(','\x0a\x20\x20const\x20filterPrivateFields\x20=\x20source\x20=>\x20{\x0a\x20\x20\x20\x20const\x20target\x20=\x20{}\x0a\x20\x20\x20\x20for\x20(let\x20key\x20in\x20source)\x20{\x0a\x20\x20\x20\x20\x20\x20if\x20(key[0]\x20!==\x20\x22$\x22\x20&&\x20key[0]\x20!==\x20\x22_\x22)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20target[key]\x20=\x20source[key]\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20return\x20target\x0a\x20\x20}\x0a\x20\x20const\x20wrapCtx\x20=\x20(_ctx,\x20model,\x20controller)\x20=>\x20{\x0a\x20\x20\x20\x20return\x20new\x20Proxy(_ctx,\x20{\x0a\x20\x20\x20\x20\x20\x20get\x20(obj,\x20prop)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(prop\x20in\x20obj)\x20return\x20obj[prop]\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20model?.[prop]\x20??\x20controller?.[prop]\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20})\x0a\x20\x20}\x0a','slice','import\x20makeModel\x20from\x20\x27./model.js\x27','9exLDDq','\x27)\x0a','36ylmsyP','return\x20__returned__','includes','.vue','-scoped.scss\x22;','push','import\x20makeModel\x20','/src/','582535xbMvGf','return\x20{\x20...__returned__,\x20...filterPrivateFields(model)\x20}','</style>','map','1570440hHqaZi'];a95_0x1a3b=function(){return _0x55a0a3;};return a95_0x1a3b();}import a95_0x2c0b2e from'node:fs';function a95_0x3d19(_0x5e9711,_0x2acd61){const _0x1a3b8f=a95_0x1a3b();return a95_0x3d19=function(_0x3d193a,_0x2e32a3){_0x3d193a=_0x3d193a-0x1de;let _0xc5000a=_0x1a3b8f[_0x3d193a];return _0xc5000a;},a95_0x3d19(_0x5e9711,_0x2acd61);}import a95_0x325005 from'node:path';const filterPrivateFields=a95_0x5a4e92(0x206),inject=(_0x21a5af,_0x3e2014)=>{const _0x4fb70f=a95_0x5a4e92,_0x1551b1=a95_0x325005[_0x4fb70f(0x1f6)](_0x3e2014),_0x19316d=a95_0x325005[_0x4fb70f(0x1ec)](_0x3e2014),_0xa5d87a=_0x19316d[_0x4fb70f(0x1f3)]('.')[0x0],_0x4b0a3c=a95_0x2c0b2e[_0x4fb70f(0x1e5)](a95_0x325005[_0x4fb70f(0x1ee)](_0x1551b1,_0xa5d87a+_0x4fb70f(0x1ef))),_0x58d344=a95_0x2c0b2e[_0x4fb70f(0x1e5)](a95_0x325005['join'](_0x1551b1,_0xa5d87a+_0x4fb70f(0x1e7))),_0x41d93d=a95_0x2c0b2e[_0x4fb70f(0x1e5)](a95_0x325005['join'](_0x1551b1,_0x4fb70f(0x1f1))),_0x3bd0c0=a95_0x2c0b2e['existsSync'](a95_0x325005[_0x4fb70f(0x1ee)](_0x1551b1,'controller.js')),_0x46ba58=_0x41d93d&&!_0x21a5af[_0x4fb70f(0x20d)](_0x4fb70f(0x1f0))&&!_0x21a5af[_0x4fb70f(0x20d)](_0x4fb70f(0x1fe)),_0x1e713b=_0x3bd0c0&&!_0x21a5af[_0x4fb70f(0x20d)]('no\x20controller')&&!_0x21a5af[_0x4fb70f(0x20d)]('const\x20controller');if(_0x3e2014[_0x4fb70f(0x20d)](_0x4fb70f(0x212))&&_0x19316d[_0x4fb70f(0x20d)](_0x4fb70f(0x20e))&&_0x21a5af[_0x4fb70f(0x1eb)]('<script\x20setup>')){_0x21a5af=_0x21a5af['replace']('<script\x20setup>',_0x4fb70f(0x219));const _0x113986=_0x21a5af[_0x4fb70f(0x1f3)]('\x0a');_0x4b0a3c&&_0x113986[_0x4fb70f(0x210)](...['<style\x20lang=\x22scss\x22\x20scoped>',_0x4fb70f(0x1de)+_0xa5d87a+_0x4fb70f(0x20f),'</style>']),_0x58d344&&_0x113986['push'](...[_0x4fb70f(0x1e3),_0x4fb70f(0x1de)+_0xa5d87a+_0x4fb70f(0x1ff),_0x4fb70f(0x215)]),_0x1e713b&&_0x113986[_0x4fb70f(0x1f4)](0x1,0x0,'import\x20makeController\x20from\x20\x27./controller.js\x27',_0x4fb70f(0x1f8)+(_0x46ba58?_0x4fb70f(0x204):'')+_0x4fb70f(0x200)),_0x46ba58&&_0x113986[_0x4fb70f(0x1f4)](0x1,0x0,_0x4fb70f(0x208),'const\x20model\x20=\x20makeModel()'),_0x21a5af=_0x113986[_0x4fb70f(0x1ee)]('\x0a');}return _0x21a5af;},instantiateTables=(_0x4b4d22,_0x364f06)=>{const _0x34f79f=a95_0x5a4e92,_0x7d26e7=a95_0x325005[_0x34f79f(0x1ec)](_0x364f06),_0x45a226=_0x7d26e7[_0x34f79f(0x20d)](_0x34f79f(0x20e)),_0x3f0734=_0x7d26e7[_0x34f79f(0x20d)](_0x34f79f(0x201));if(_0x364f06[_0x34f79f(0x20d)](_0x34f79f(0x212))&&(_0x45a226||_0x3f0734)){const _0x2743cc=_0x4b4d22[_0x34f79f(0x1f3)]('\x0a')['map'](_0x4d805a=>_0x4d805a[_0x34f79f(0x1e0)]())[_0x34f79f(0x218)](_0x407ac4=>!_0x407ac4[_0x34f79f(0x1eb)]('//'))[_0x34f79f(0x1ee)]('\x0a'),_0x3756df=new Set([..._0x2743cc[_0x34f79f(0x202)](/[^a-z][A-Z]\w+\.(search|add|update|remove|func|batch|get)/g)]['map'](_0x8f0f0b=>_0x8f0f0b[0x0][_0x34f79f(0x207)](0x1)[_0x34f79f(0x1f3)]('.')[0x0]));if(_0x3756df['size']){let _0x58963d='';_0x3756df['forEach'](_0x169649=>{const _0x52730b=_0x34f79f;let [_0x480384,_0x3757ed]=_0x169649[_0x52730b(0x1f3)]('_')[_0x52730b(0x216)](_0x13967e=>_0x13967e[_0x52730b(0x1f2)](/[A-Z]/g,_0x2e33bd=>'_'+_0x2e33bd['toLowerCase']())[_0x52730b(0x207)](0x1));_0x3757ed?_0x480384='\x27'+_0x480384+'\x27':(_0x3757ed=_0x480384,_0x480384='DbName'),_0x58963d+=_0x52730b(0x1f5)+_0x169649+_0x52730b(0x205)+_0x480384+',\x20\x27'+_0x3757ed+_0x52730b(0x20a);}),_0x45a226?_0x4b4d22=_0x4b4d22[_0x34f79f(0x1f2)]('<script\x20setup>','<script\x20setup>\x0a'+_0x58963d)['replace'](_0x34f79f(0x1e9),_0x34f79f(0x1fc)+_0x58963d):_0x4b4d22=_0x58963d+_0x4b4d22;}}return _0x4b4d22;},deconstruct=(_0x1f9b81,_0x1abf48)=>{const _0x21e4e0=a95_0x5a4e92,_0x431260=a95_0x325005[_0x21e4e0(0x1ec)](_0x1abf48),_0xdec7c1=_0x431260['includes'](_0x21e4e0(0x20e));if(_0x1abf48['includes'](_0x21e4e0(0x212))&&_0xdec7c1){const _0x9d1df4=_0x21e4e0(0x20c),_0x4a2931=_0x21e4e0(0x1fa),_0x31c8c5=_0x1f9b81['includes'](_0x9d1df4),_0x29f4c8=_0x1f9b81[_0x21e4e0(0x20d)](_0x4a2931),_0x4f5d7c=(_0x31c8c5||_0x29f4c8)&&_0x1f9b81['includes'](_0x21e4e0(0x211)),_0x50a938=(_0x31c8c5||_0x29f4c8)&&_0x1f9b81['includes']('import\x20makeController\x20');if(_0x4f5d7c||_0x50a938){let _0x187434=filterPrivateFields;if(_0x31c8c5){if(_0x4f5d7c&&_0x50a938)_0x187434+='return\x20{\x20...__returned__,\x20...filterPrivateFields(model),\x20...filterPrivateFields(controller)\x20}';else{if(_0x4f5d7c)_0x187434+=_0x21e4e0(0x214);else _0x50a938&&(_0x187434+=_0x21e4e0(0x1f9));}}else{_0x187434+=_0x4a2931+'\x0a';if(_0x4f5d7c&&_0x50a938)_0x187434+=_0x21e4e0(0x1e1);else{if(_0x4f5d7c)_0x187434+=_0x21e4e0(0x1e6);else _0x50a938&&(_0x187434+=_0x21e4e0(0x1ed));}_0x187434+='\x0a';}_0x1f9b81=_0x1f9b81[_0x21e4e0(0x1f2)](_0x31c8c5?_0x9d1df4:_0x4a2931,_0x187434);}}return _0x1f9b81;};export const autoInject=(_0x5bdd9e={})=>{const _0xf45f24=a95_0x5a4e92;return{'name':_0xf45f24(0x1fd),'transform'(_0x6454f,_0x27fc9d){const _0x274133=_0xf45f24;return _0x6454f=inject(_0x6454f,_0x27fc9d),_0x5bdd9e[_0x274133(0x1e4)]!==![]&&(_0x6454f=instantiateTables(_0x6454f,_0x27fc9d)),{'code':_0x6454f};}};};export const autoDeconstruct=()=>{const _0xaf917d=a95_0x5a4e92;return{'name':_0xaf917d(0x1f7),'transform'(_0x2b2d9e,_0x53ab34){return{'code':deconstruct(_0x2b2d9e,_0x53ab34)};}};};
|
package/src/main.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a96_0x1506c6=a96_0x46fa;(function(_0x5c8aa1,_0x37521c){const _0x3ffe42=a96_0x46fa,_0x2a2546=_0x5c8aa1();while(!![]){try{const _0x56e9f0=-parseInt(_0x3ffe42(0xfd))/0x1+-parseInt(_0x3ffe42(0xf2))/0x2*(parseInt(_0x3ffe42(0xf3))/0x3)+-parseInt(_0x3ffe42(0xf4))/0x4*(parseInt(_0x3ffe42(0xf6))/0x5)+parseInt(_0x3ffe42(0xf0))/0x6*(-parseInt(_0x3ffe42(0xea))/0x7)+parseInt(_0x3ffe42(0xf9))/0x8*(parseInt(_0x3ffe42(0xee))/0x9)+-parseInt(_0x3ffe42(0xfb))/0xa+parseInt(_0x3ffe42(0xe9))/0xb;if(_0x56e9f0===_0x37521c)break;else _0x2a2546['push'](_0x2a2546['shift']());}catch(_0x4f9011){_0x2a2546['push'](_0x2a2546['shift']());}}}(a96_0x514d,0x5cb90));function a96_0x514d(){const _0x52f2e4=['392gOCeRl','entries','920340HxvVTC','assign','112396nahoPe','use','11375881wUMPIG','1896874pNOdnf','config','domid','isMobile','35163iajxJx','#app','6iALEEt','globalProperties','274yBMWOr','1731qbkTwv','2996GNTvDi','component','1945lvzQij','mount','directive'];a96_0x514d=function(){return _0x52f2e4;};return a96_0x514d();}import{createApp}from'vue';import a96_0x1fd2ad from'element-plus';import a96_0x5e921b from'vant';import a96_0x4b1345 from'../packages/index.js';import'../packages/index.scss';import a96_0x46971f,{API_BASE_URL}from'./request.js';import a96_0xa49f9e from'@/App.vue';const app=createApp(a96_0xa49f9e);app[a96_0x1506c6(0xf8)](a96_0x1506c6(0xec),{'created'(_0x441469,_0x216148){}}),app[a96_0x1506c6(0xfe)](a96_0x1fd2ad);for(const [key,component]of Object[a96_0x1506c6(0xfa)](ElementPlusIconsVue)){app[a96_0x1506c6(0xf5)](key,component);}app['use'](a96_0x5e921b),app['use'](a96_0x4b1345,{'ElementPlus':a96_0x1fd2ad,'Vant':a96_0x5e921b}),Object[a96_0x1506c6(0xfc)](app[a96_0x1506c6(0xeb)][a96_0x1506c6(0xf1)],{'isMobile':window[a96_0x1506c6(0xed)],'service':{'request':a96_0x46971f,'API_BASE_URL':API_BASE_URL},'$store':{'app':{'sidebarCollapse':![],'toggleDuration':0x0}}}),app[a96_0x1506c6(0xf7)](a96_0x1506c6(0xef));function a96_0x46fa(_0x4838f9,_0x802d89){const _0x514dad=a96_0x514d();return a96_0x46fa=function(_0x46fa58,_0x319505){_0x46fa58=_0x46fa58-0xe9;let _0xed244e=_0x514dad[_0x46fa58];return _0xed244e;},a96_0x46fa(_0x4838f9,_0x802d89);}export default app;
|
package/src/request.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a97_0x4d0ca9=a97_0x5ee5;function a97_0x5ee5(_0x42271a,_0x49f6d8){const _0x1f85ed=a97_0x1f85();return a97_0x5ee5=function(_0x5ee533,_0x503817){_0x5ee533=_0x5ee533-0x1a9;let _0x59a2fb=_0x1f85ed[_0x5ee533];return _0x59a2fb;},a97_0x5ee5(_0x42271a,_0x49f6d8);}(function(_0x1247f6,_0x4b0f0f){const _0x52314c=a97_0x5ee5,_0x2556d6=_0x1247f6();while(!![]){try{const _0x2df869=parseInt(_0x52314c(0x1b9))/0x1+parseInt(_0x52314c(0x1bb))/0x2*(parseInt(_0x52314c(0x1b4))/0x3)+-parseInt(_0x52314c(0x1be))/0x4+parseInt(_0x52314c(0x1ad))/0x5*(parseInt(_0x52314c(0x1aa))/0x6)+-parseInt(_0x52314c(0x1b2))/0x7+-parseInt(_0x52314c(0x1b8))/0x8+parseInt(_0x52314c(0x1bd))/0x9;if(_0x2df869===_0x4b0f0f)break;else _0x2556d6['push'](_0x2556d6['shift']());}catch(_0x555f97){_0x2556d6['push'](_0x2556d6['shift']());}}}(a97_0x1f85,0x91ffa));const {PROD,VITE_DEV_BASE_URL,VITE_PROD_BASE_URL,VITE_TIMEOUT=0xea60}=import.meta[a97_0x4d0ca9(0x1b0)],API_BASE_URL=window[a97_0x4d0ca9(0x1ac)]||(PROD?VITE_PROD_BASE_URL:VITE_DEV_BASE_URL),createRequest=_0x5e7d6e=>{const _0x109a86=a97_0x4d0ca9,_0x1b286b=axios[_0x109a86(0x1af)]({'baseURL':API_BASE_URL,'timeout':VITE_TIMEOUT*0x1,..._0x5e7d6e});return _0x1b286b['interceptors'][_0x109a86(0x1bc)][_0x109a86(0x1b6)](_0x4cf3d8=>{return _0x4cf3d8;},_0x300ca6=>{const _0x324e6f=_0x109a86;console[_0x324e6f(0x1b1)](_0x300ca6);}),_0x1b286b['interceptors'][_0x109a86(0x1b7)]['use'](_0x261b54=>{return _0x261b54;},_0x3698a9=>{console['error'](_0x3698a9);}),_0x1b286b;},fetchRequest=(_0x3c9d9c,_0x6a3ae2={})=>{const _0x1b6879=a97_0x4d0ca9;_0x3c9d9c=_0x3c9d9c[_0x1b6879(0x1ba)](_0x1b6879(0x1b5))?_0x3c9d9c:API_BASE_URL+_0x3c9d9c;const {method:method=_0x1b6879(0x1b3),headers:_0xc424fb,body:_0x36ae74,..._0x195b05}=_0x6a3ae2,_0x413807={'method':method,..._0x195b05,'headers':{'content-type':'application/json',..._0xc424fb}};return[_0x1b6879(0x1ab),'POST'][_0x1b6879(0x1a9)](method['toUpperCase']())&&(_0x413807[_0x1b6879(0x1ae)]=typeof _0x36ae74==='string'?_0x36ae74:JSON[_0x1b6879(0x1bf)](_0x36ae74)),fetch(_0x3c9d9c,_0x413807);};export default createRequest();function a97_0x1f85(){const _0x4b494c=['body','create','env','error','3959032TwpdNa','GET','12879PAXOms','http','use','response','3675632xKjaeG','50866PVqZps','startsWith','444gHAEoj','request','2882934CVrHeK','2825140AFehlK','stringify','includes','2010174NdNHQz','PUT','API_BASE_URL','15Kyfkip'];a97_0x1f85=function(){return _0x4b494c;};return a97_0x1f85();}export{API_BASE_URL,createRequest,fetchRequest};
|
package/vite.config.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
const a98_0x29bef3=a98_0x4630;(function(_0x13fde7,_0x168cc5){const _0x1fc786=a98_0x4630,_0x169794=_0x13fde7();while(!![]){try{const _0x38e9b5=-parseInt(_0x1fc786(0x6d))/0x1*(parseInt(_0x1fc786(0x7b))/0x2)+parseInt(_0x1fc786(0x77))/0x3*(-parseInt(_0x1fc786(0x6c))/0x4)+parseInt(_0x1fc786(0x7c))/0x5+parseInt(_0x1fc786(0x72))/0x6+-parseInt(_0x1fc786(0x6e))/0x7*(-parseInt(_0x1fc786(0x7f))/0x8)+-parseInt(_0x1fc786(0x6f))/0x9*(-parseInt(_0x1fc786(0x6a))/0xa)+-parseInt(_0x1fc786(0x80))/0xb*(parseInt(_0x1fc786(0x65))/0xc);if(_0x38e9b5===_0x168cc5)break;else _0x169794['push'](_0x169794['shift']());}catch(_0x3342a9){_0x169794['push'](_0x169794['shift']());}}}(a98_0x18c2,0x319e6));import a98_0x25148c from'path';import{defineConfig}from'vite';import a98_0x39c08e from'@vitejs/plugin-vue';import a98_0x3c69e4 from'@vitejs/plugin-legacy';function a98_0x4630(_0x56cdcc,_0x24c1e5){const _0x18c2e9=a98_0x18c2();return a98_0x4630=function(_0x463045,_0x1f3432){_0x463045=_0x463045-0x65;let _0x5e663f=_0x18c2e9[_0x463045];return _0x5e663f;},a98_0x4630(_0x56cdcc,_0x24c1e5);}import a98_0x49c9ca from'@vitejs/plugin-vue-jsx';import a98_0xfaf4dc from'@rollup/plugin-commonjs';import a98_0x3390a1 from'rollup-plugin-external-globals';function a98_0x18c2(){const _0x1b7231=['74723TnxmJv','72fYNwjy','src','node_modules','vue','toString','10eUmsVy','@babel/plugin-proposal-decorators','1004588jqVfLx','3691juWZiE','35700YLCVbz','3605778RFEWEa','decorators','node_modules/','992010hmtOvo','2023-11','Vue','cwd','includes','3EzPZAN','regenerator-runtime/runtime','split','dist','138YnvUmZ','868225lRTQZb','vue/dist/vue.esm-bundler.js','join','16GHHDaz'];a98_0x18c2=function(){return _0x1b7231;};return a98_0x18c2();}import{babel}from'@rollup/plugin-babel';import{createStyleImportPlugin,VantResolve}from'vite-plugin-style-import';const resolve=_0x230f8d=>a98_0x25148c[a98_0x29bef3(0x7e)](process[a98_0x29bef3(0x75)](),_0x230f8d);export default defineConfig(({command:_0x2d3945,mode:_0x2dd1e3})=>{const _0x48cae5=a98_0x29bef3,_0x2e3551={'plugins':[a98_0x39c08e({'template':{'compilerOptions':{'expressionPlugins':[[_0x48cae5(0x70),{'version':'2023-11'}]]}},'script':{'babelParserPlugins':[['decorators',{'version':'2023-11'}],_0x48cae5(0x70)]}}),a98_0x49c9ca(),babel({'compact':![],'plugins':[[_0x48cae5(0x6b),{'version':_0x48cae5(0x73)}]]}),createStyleImportPlugin({'resolves':[VantResolve()]}),a98_0x3c69e4({'targets':['defaults'],'additionalLegacyPolyfills':[_0x48cae5(0x78)]})],'runtimeCompiler':!![],'build':{'outDir':_0x48cae5(0x7a),'rollupOptions':{'external':[_0x48cae5(0x68)],'plugins':[a98_0xfaf4dc(),a98_0x3390a1({'vue':_0x48cae5(0x74)})],'output':{'manualChunks'(_0x2bdbd9){const _0x3eac4d=_0x48cae5;if(_0x2bdbd9[_0x3eac4d(0x76)](_0x3eac4d(0x67)))return _0x2bdbd9[_0x3eac4d(0x69)]()[_0x3eac4d(0x79)](_0x3eac4d(0x71))[0x1]['split']('/')[0x0][_0x3eac4d(0x69)]();}}}},'resolve':{'alias':{'@':resolve(_0x48cae5(0x66)),'vue':_0x48cae5(0x7d)}}};return _0x2e3551;});
|
package/vite.lib.config.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a99_0xb886b9=a99_0x4063;(function(_0xb99429,_0xa71769){const _0x16f6e1=a99_0x4063,_0x1f4f38=_0xb99429();while(!![]){try{const _0x511063=-parseInt(_0x16f6e1(0x1de))/0x1+parseInt(_0x16f6e1(0x1e4))/0x2+parseInt(_0x16f6e1(0x1d9))/0x3+-parseInt(_0x16f6e1(0x1e5))/0x4*(parseInt(_0x16f6e1(0x1db))/0x5)+parseInt(_0x16f6e1(0x1e3))/0x6+-parseInt(_0x16f6e1(0x1da))/0x7+parseInt(_0x16f6e1(0x1e1))/0x8;if(_0x511063===_0xa71769)break;else _0x1f4f38['push'](_0x1f4f38['shift']());}catch(_0x5649a2){_0x1f4f38['push'](_0x1f4f38['shift']());}}}(a99_0x39f6,0x2538f));function a99_0x4063(_0x23ceef,_0x5d950e){const _0x39f653=a99_0x39f6();return a99_0x4063=function(_0x40632d,_0x170ede){_0x40632d=_0x40632d-0x1d5;let _0x533c49=_0x39f653[_0x40632d];return _0x533c49;},a99_0x4063(_0x23ceef,_0x5d950e);}function a99_0x39f6(){const _0x4dc7ac=['node_modules/','127152nPCuGE','join','node_modules','1770552XhueYK','toString','122844sKEuxO','556036YTwxGq','8lZMijH','src','index','includes','split','58764zEjJZj','947478WbrrsN','311075hQuUod','./packages/index.js'];a99_0x39f6=function(){return _0x4dc7ac;};return a99_0x39f6();}import a99_0x5c4150 from'path';import{defineConfig}from'vite';import a99_0x4453d1 from'@vitejs/plugin-vue';import a99_0x1e7ceb from'@vitejs/plugin-vue-jsx';import a99_0xc19e55 from'@rollup/plugin-commonjs';import a99_0x13e44f from'rollup-plugin-external-globals';import{createStyleImportPlugin,VantResolve}from'vite-plugin-style-import';const resolve=_0x23b0f1=>a99_0x5c4150[a99_0xb886b9(0x1df)](process['cwd'](),_0x23b0f1);export default defineConfig(({command:_0x21c674,mode:_0xf59770})=>{const _0x13f324=a99_0xb886b9,_0x4de5a9={'plugins':[a99_0x4453d1(),a99_0x1e7ceb(),createStyleImportPlugin({'resolves':[VantResolve()]})],'runtimeCompiler':!![],'build':{'outDir':'./','lib':{'entry':_0x13f324(0x1dc),'name':'StardustUI','fileName':_0x13f324(0x1d6),'formats':['es']},'rollupOptions':{'external':['vue'],'plugins':[a99_0xc19e55()],'output':{'globals':{'vue':'Vue'},'manualChunks'(_0x293aa1){const _0x4af00e=_0x13f324;if(_0x293aa1[_0x4af00e(0x1d7)](_0x4af00e(0x1e0)))return _0x293aa1['toString']()[_0x4af00e(0x1d8)](_0x4af00e(0x1dd))[0x1][_0x4af00e(0x1d8)]('/')[0x0][_0x4af00e(0x1e2)]();}}}},'resolve':{'alias':{'@':resolve(_0x13f324(0x1d5)),'vue':'vue/dist/vue.esm-bundler.js'}}};return _0x4de5a9;});
|