@wp1001/ui 3.1.15 → 3.1.17
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 -0
- 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
package/packages/utils/model.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a91_0x3346b9=a91_0x380c;(function(_0x220858,_0x10279c){const _0x556ee1=a91_0x380c,_0x51f198=_0x220858();while(!![]){try{const _0x5629df=-parseInt(_0x556ee1(0x1c2))/0x1+parseInt(_0x556ee1(0x1cb))/0x2+-parseInt(_0x556ee1(0x1c3))/0x3*(-parseInt(_0x556ee1(0x1c7))/0x4)+-parseInt(_0x556ee1(0x1c8))/0x5+parseInt(_0x556ee1(0x1ca))/0x6*(-parseInt(_0x556ee1(0x1c9))/0x7)+-parseInt(_0x556ee1(0x1c6))/0x8+parseInt(_0x556ee1(0x1c5))/0x9;if(_0x5629df===_0x10279c)break;else _0x51f198['push'](_0x51f198['shift']());}catch(_0x4a9862){_0x51f198['push'](_0x51f198['shift']());}}}(a91_0x8ee8,0x9c5dc));export const baseForm=()=>({'loading':![],'form':{},'initialForm':{},'formItems':[],'formRef':null,'formRules':{},'initialFormRules':{},'_isBaseForm':!![],'viewonly':![]});export const baseTable=(_0x14be37={})=>({'loading':![],'query':{'page':0x1,'limit':0xa,'order':[],..._0x14be37},'total':0x0,'moreLoading':![],'finished':![],'isInfinite':![],'list':[],'columns':[],'tableRef':null,'selection':[],'checked':null,'searchFields':[],'_isBaseTable':!![]});export const baseDialog=()=>({...baseForm(),'visible':![],'isEditing':![],'editingIndex':'','editingRow':{},'_isBaseDialog':!![]});export const baseModel=({table:table={},dialog:dialog={},columns:columns=[{'fixed':'left','type':a91_0x3346b9(0x1c4)},{'type':a91_0x3346b9(0x1c1)}],query:query={},form:form={}}={})=>({'table':{...baseTable(query),...table,'columns':columns},'dialog':{...baseDialog(),...dialog,'form':form}});function a91_0x380c(_0x4ad519,_0x2e8fee){const _0x8ee8f8=a91_0x8ee8();return a91_0x380c=function(_0x380c3e,_0xcfbb1){_0x380c3e=_0x380c3e-0x1c1;let _0x2b6fb1=_0x8ee8f8[_0x380c3e];return _0x2b6fb1;},a91_0x380c(_0x4ad519,_0x2e8fee);}function a91_0x8ee8(){const _0x265da4=['2488782PeknPT','_index','324969YBeRZq','3pzdxgy','selection','8873307gkpUlC','4679480vFQTHX','608392dvsVti','1762690oZBitl','658PGVOfj','30606xjYlQH'];a91_0x8ee8=function(){return _0x265da4;};return a91_0x8ee8();}export default{'baseForm':baseForm,'baseTable':baseTable,'baseDialog':baseDialog,'baseModel':baseModel};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a92_0x6516(_0x171858,_0x5236d2){const _0x2c1312=a92_0x2c13();return a92_0x6516=function(_0x65168c,_0x98188a){_0x65168c=_0x65168c-0x15f;let _0x13261d=_0x2c1312[_0x65168c];return _0x13261d;},a92_0x6516(_0x171858,_0x5236d2);}const a92_0x1f3351=a92_0x6516;(function(_0x41f03e,_0x3bb2cd){const _0x5109c0=a92_0x6516,_0x2fcaec=_0x41f03e();while(!![]){try{const _0x30dc7f=parseInt(_0x5109c0(0x18a))/0x1+-parseInt(_0x5109c0(0x1a0))/0x2*(-parseInt(_0x5109c0(0x190))/0x3)+-parseInt(_0x5109c0(0x179))/0x4*(parseInt(_0x5109c0(0x162))/0x5)+-parseInt(_0x5109c0(0x1a1))/0x6*(-parseInt(_0x5109c0(0x197))/0x7)+parseInt(_0x5109c0(0x161))/0x8*(-parseInt(_0x5109c0(0x167))/0x9)+parseInt(_0x5109c0(0x17c))/0xa+parseInt(_0x5109c0(0x18f))/0xb*(-parseInt(_0x5109c0(0x16e))/0xc);if(_0x30dc7f===_0x3bb2cd)break;else _0x2fcaec['push'](_0x2fcaec['shift']());}catch(_0x370f41){_0x2fcaec['push'](_0x2fcaec['shift']());}}}(a92_0x2c13,0x4daac));import{watch}from'vue';function a92_0x2c13(){const _0x5609f1=['canEdit','daterange','ta_','date','_isBaseForm','29527jWoUxP','YYYY-MM-DD\x20HH:mm:ss','asyncValidator','startsWith','一个\x20when\x20表达式中仅支持\x20&&\x20模式或\x20||\x20模式','53658ArwjwF','7227JelITQ','formRules','keys','end-placeholder','push','deepCopy','slice','14pAtFVg','isMobile','includes','ElDatePicker','type','monthrange','canAdd','XCheckboxs','start-placeholder','122EyGfse','1456152YAAegt','hasOwnProperty','every','endsWith','label','formAttrs','split','onChange','prop','some','16736LsSrJx','2630abGzvY','x-checkboxs','YYYY-MM-DD','map','columns','9UlbQvc','tableAttrs','assign','datetime','_isBaseDialog','comp','ElSwitch','1236CvQrzx','mobile','forEach','change','initialFormRules','blur','formItems','platform','visible','canView','value-format','332qyzocp','number','_isBaseTable','2044480SqFEKI','string','filter','dialog','virtual','validator','object','onBlur','form'];a92_0x2c13=function(){return _0x5609f1;};return a92_0x2c13();}const {funcs}=StardustJs;export const initFields=_0x5c0e53=>{const _0x39f419=a92_0x6516;return _0x5c0e53[_0x39f419(0x165)](_0x2e0075=>{const _0x2de2cc=_0x39f419,_0x1e6755=Object[_0x2de2cc(0x192)](_0x2e0075);for(let _0x4952d3 of _0x1e6755){if(_0x4952d3[_0x2de2cc(0x18d)](_0x2de2cc(0x187)))_0x2e0075[_0x2de2cc(0x168)]??={},_0x2e0075[_0x2de2cc(0x168)][_0x4952d3[_0x2de2cc(0x196)](0x3)]=_0x2e0075[_0x4952d3],delete _0x2e0075[_0x4952d3];else _0x4952d3[_0x2de2cc(0x18d)]('fa_')&&(_0x2e0075[_0x2de2cc(0x1a6)]??={},_0x2e0075['formAttrs'][_0x4952d3['slice'](0x3)]=_0x2e0075[_0x4952d3],delete _0x2e0075[_0x4952d3]);}if(_0x2e0075[_0x2de2cc(0x19b)]===_0x2de2cc(0x188))_0x2e0075[_0x2de2cc(0x1a6)]??={},_0x2e0075[_0x2de2cc(0x1a6)]['value-format']??=_0x2de2cc(0x164);else _0x2e0075[_0x2de2cc(0x19b)]===_0x2de2cc(0x16a)&&(_0x2e0075[_0x2de2cc(0x1a6)]??={},_0x2e0075[_0x2de2cc(0x1a6)][_0x2de2cc(0x178)]??=_0x2de2cc(0x18b));return _0x2e0075['xs']??=0x18,_0x2e0075;});};export const initModel=(_0x1e2e02,_0x3aa46b)=>{const _0x17ad8f=a92_0x6516;for(let _0x4efd8d in _0x1e2e02){const _0x46f075=_0x1e2e02[_0x4efd8d];if(!_0x46f075||typeof _0x46f075!==_0x17ad8f(0x182))continue;_0x4efd8d==='table'&&_0x1e2e02[_0x4efd8d][_0x17ad8f(0x17b)]&&initTable(_0x46f075,_0x3aa46b),_0x4efd8d===_0x17ad8f(0x17f)&&_0x1e2e02[_0x4efd8d][_0x17ad8f(0x16b)]&&initDialog(_0x46f075,_0x3aa46b),_0x4efd8d==='form'&&_0x1e2e02[_0x4efd8d][_0x17ad8f(0x189)]&&initForm(_0x46f075,_0x3aa46b);}return _0x1e2e02;};export const initTable=(_0x31b8af,_0x19d4d2)=>{const _0x135af4=a92_0x6516;return _0x31b8af[_0x135af4(0x166)][_0x135af4(0x194)](..._0x19d4d2[_0x135af4(0x17e)](_0xbfbf74=>{const _0x5be69e=_0x135af4;return _0xbfbf74[_0x5be69e(0x176)]===![]?_0xbfbf74[_0x5be69e(0x177)]:_0xbfbf74[_0x5be69e(0x177)]!==![];})),_0x31b8af;};export const initDialog=(_0xffd44c,_0xcf7a77)=>{const _0x3887c1=a92_0x6516;return _0xffd44c['formItems']=_0xcf7a77[_0x3887c1(0x17e)](_0x1eebda=>{const _0x505b3e=_0x3887c1;if(_0x1eebda[_0x505b3e(0x176)]===![])return _0x1eebda[_0x505b3e(0x19d)]||_0x1eebda[_0x505b3e(0x185)];return _0x1eebda[_0x505b3e(0x19d)]!==![]||_0x1eebda['canEdit']!==![];}),initForm(_0xffd44c,_0xcf7a77),_0xffd44c;};export const initForm=(_0x1dd302,_0x536bdd)=>{const _0x4d60e4=a92_0x6516;_0x1dd302[_0x4d60e4(0x189)]&&!_0x1dd302[_0x4d60e4(0x16b)]&&(_0x1dd302['formItems']=_0x536bdd[_0x4d60e4(0x17e)](_0x35746b=>_0x35746b['visible']!==![]));initDefaultForm(_0x1dd302[_0x4d60e4(0x184)],_0x1dd302[_0x4d60e4(0x174)]),_0x1dd302['initialForm']=funcs[_0x4d60e4(0x195)](_0x1dd302['form']),_0x1dd302[_0x4d60e4(0x172)]=funcs['deepCopy'](_0x1dd302[_0x4d60e4(0x191)]);const _0x4ee72b=()=>{initFormRules(_0x1dd302);};return watch(()=>_0x1dd302[_0x4d60e4(0x174)],_0x4ee72b,{'immediate':!![],'deep':!![]}),_0x1dd302;};export const initFormRules=_0x2bf9da=>{const _0xfa7bb5=a92_0x6516,{formItems:_0x1f3892,initialFormRules:_0x377ae6}=_0x2bf9da;Object[_0xfa7bb5(0x169)](_0x2bf9da['formRules'],funcs[_0xfa7bb5(0x195)](_0x377ae6)),Object[_0xfa7bb5(0x192)](_0x2bf9da[_0xfa7bb5(0x191)])['forEach'](_0xa0fc0b=>{const _0x5ddf56=_0xfa7bb5;!_0x377ae6[_0x5ddf56(0x1a2)](_0xa0fc0b)&&delete _0x2bf9da[_0x5ddf56(0x191)][_0xa0fc0b];});const _0x5be27e={};return _0x1f3892[_0xfa7bb5(0x170)](_0x10fd16=>{const _0xb9d10e=_0xfa7bb5;if(_0x2bf9da['formRules'][_0x10fd16[_0xb9d10e(0x15f)]])return;if(!_0x10fd16['required']&&!_0x10fd16['validator']&&!_0x10fd16[_0xb9d10e(0x18c)])return;const _0x14daa8=_0x10fd16[_0xb9d10e(0x175)]||_0x2bf9da['platform']||(window[_0xb9d10e(0x198)]?_0xb9d10e(0x16f):'pc'),_0x4b18e6=triggers[_0x14daa8],_0x88421b=[],_0x31d1eb='options'in _0x10fd16,_0x2cb2da='请'+(_0x10fd16[_0xb9d10e(0x181)]||_0x10fd16[_0xb9d10e(0x18c)]?'正确':'')+(_0x31d1eb?'选择':'输入')+(_0x10fd16?.[_0xb9d10e(0x1a5)]||_0x10fd16['prop']),_0x358152={'required':!![],'message':_0x2cb2da};if(_0x10fd16['validator'])_0x358152[_0xb9d10e(0x181)]=(_0x1543c0,_0x1c015c)=>{const _0x4071da=_0xb9d10e;return _0x14daa8==='pc'?_0x10fd16[_0x4071da(0x181)](_0x1543c0,_0x1c015c):_0x10fd16['validator'](_0x1c015c,_0x1543c0);};if(_0x10fd16['asyncValidator'])_0x358152[_0xb9d10e(0x18c)]=(_0x37bd8c,_0x4ab66b)=>{const _0x351331=_0xb9d10e;return _0x14daa8==='pc'?_0x10fd16[_0x351331(0x18c)](_0x37bd8c,_0x4ab66b):_0x10fd16[_0x351331(0x18c)](_0x4ab66b,_0x37bd8c);};!_0x10fd16[_0xb9d10e(0x16c)]?_0x88421b[_0xb9d10e(0x194)]({..._0x358152,'trigger':_0x4b18e6[_0xb9d10e(0x173)]}):_0x88421b[_0xb9d10e(0x194)]({..._0x358152,'trigger':_0x4b18e6[_0xb9d10e(0x171)]}),_0x10fd16['comp']==='ElInputNumber'&&_0x88421b[_0xb9d10e(0x194)]({..._0x358152,'trigger':_0x4b18e6['blur']}),_0x5be27e[_0x10fd16['prop']]=_0x88421b;}),Object[_0xfa7bb5(0x169)](_0x2bf9da[_0xfa7bb5(0x191)],_0x5be27e),_0x2bf9da[_0xfa7bb5(0x191)];};export const initDefaultForm=(_0x4aec09,_0x43568f,_0xa8f06f=!![])=>{const _0x1791d3=a92_0x6516,_0x5a9811={};return _0x43568f[_0x1791d3(0x170)](_0x21afa9=>{const _0x14d58e=_0x1791d3;if(!_0x21afa9['prop']||_0x21afa9[_0x14d58e(0x180)])return;let _0x3fd590='';const {type:_0x865efb,options:_0x4af6aa}=_0x21afa9,{multiple:_0x335924}=_0x21afa9[_0x14d58e(0x1a6)]||{};if(_0xa8f06f&&_0x865efb===_0x14d58e(0x17a)||_0x21afa9[_0x14d58e(0x16c)]==='ElInputNumber')_0x3fd590=null;else{if(_0x21afa9[_0x14d58e(0x16c)]===_0x14d58e(0x16d))_0x3fd590=![];else{if(_0x4af6aa&&(_0x21afa9[_0x14d58e(0x16c)]?.[_0x14d58e(0x1a4)](_0x14d58e(0x19e))||_0x21afa9[_0x14d58e(0x16c)]?.['endsWith'](_0x14d58e(0x163))||_0x335924))_0x3fd590=[];else{if(_0x21afa9['comp']===_0x14d58e(0x19a)&&['datetimerange',_0x14d58e(0x186),_0x14d58e(0x19c)][_0x14d58e(0x199)](_0x21afa9[_0x14d58e(0x19b)])){const _0x261d87={'datetimerange':'时间','daterange':'日期','monthrange':'月份'}[_0x21afa9[_0x14d58e(0x19b)]];!_0x21afa9[_0x14d58e(0x19f)]&&(_0x21afa9['start-placeholder']='开始'+_0x261d87),!_0x21afa9['end-placeholder']&&(_0x21afa9[_0x14d58e(0x193)]='结束'+_0x261d87),_0x3fd590=[];}}}}_0x5a9811[_0x21afa9[_0x14d58e(0x15f)]]=_0x3fd590;}),Object['assign'](_0x4aec09,{..._0x5a9811,..._0x4aec09}),_0x4aec09;};export const isWhenMatched=(_0x346dec,_0xb86b60)=>{const _0x37b8a3=a92_0x6516;if(!_0x346dec)return!![];const _0x23f5c5=_0x346dec[_0x37b8a3(0x1a7)](/\s?(&&|\|\|)\s?/g);if(_0x23f5c5[_0x37b8a3(0x199)]('&&')&&_0x23f5c5['includes']('||'))throw _0x37b8a3(0x18e);const _0x218044=_0x23f5c5[_0x37b8a3(0x199)]('&&'),_0x448f60=/[\^\*\$\~\!]?=/,_0x5cfe94=_0x23f5c5[_0x37b8a3(0x17e)](_0x23f830=>_0x23f830!=='&&'&&_0x23f830!=='||');return _0x5cfe94[_0x218044?_0x37b8a3(0x1a3):_0x37b8a3(0x160)](_0x374ffe=>{const _0x2ec9d1=_0x37b8a3;let [_0x5edf23,_0x14a2bb]=_0x374ffe[_0x2ec9d1(0x1a7)](_0x448f60);_0x14a2bb=_0x14a2bb[_0x2ec9d1(0x1a7)]('|');let _0x28908a=_0xb86b60[_0x5edf23];if(typeof _0x28908a===_0x2ec9d1(0x17a))_0x28908a+='';else{if(typeof _0x28908a===_0x2ec9d1(0x17d))_0x28908a=_0x28908a['trim']();}const _0x36fe24=_0x374ffe['match'](_0x448f60)[0x0];if(_0x36fe24==='!=')return!_0x14a2bb[_0x2ec9d1(0x199)](_0x28908a);return _0x14a2bb[_0x2ec9d1(0x160)](_0x423c3=>{const _0x10e8eb=_0x2ec9d1;if(_0x36fe24==='^=')return _0x28908a?.[_0x10e8eb(0x18d)](_0x423c3);else{if(_0x36fe24==='*=')return _0x28908a?.[_0x10e8eb(0x199)](_0x423c3);else{if(_0x36fe24==='$=')return _0x28908a?.[_0x10e8eb(0x1a4)](_0x423c3);else{if(_0x36fe24==='~=')return!_0x28908a?.[_0x10e8eb(0x199)](_0x423c3);else{if(_0x36fe24==='!=')return _0x28908a!==_0x423c3;}}}}return _0x423c3===_0x28908a;});});};export const triggers={'mobile':{'blur':a92_0x1f3351(0x183),'change':a92_0x1f3351(0x1a8)},'pc':{'blur':'blur','change':'change'}};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(_0xefdfb6,_0xf3b7d9){const _0x17acf1=a93_0x586b,_0x29e4d9=_0xefdfb6();while(!![]){try{const _0xa76d45=-parseInt(_0x17acf1(0x1fa))/0x1*(-parseInt(_0x17acf1(0x1f1))/0x2)+parseInt(_0x17acf1(0x1f4))/0x3*(-parseInt(_0x17acf1(0x1ff))/0x4)+-parseInt(_0x17acf1(0x201))/0x5*(-parseInt(_0x17acf1(0x207))/0x6)+parseInt(_0x17acf1(0x205))/0x7+-parseInt(_0x17acf1(0x1f5))/0x8*(-parseInt(_0x17acf1(0x1f2))/0x9)+-parseInt(_0x17acf1(0x208))/0xa*(parseInt(_0x17acf1(0x209))/0xb)+-parseInt(_0x17acf1(0x20e))/0xc;if(_0xa76d45===_0xf3b7d9)break;else _0x29e4d9['push'](_0x29e4d9['shift']());}catch(_0x2765a0){_0x29e4d9['push'](_0x29e4d9['shift']());}}}(a93_0x1c8f,0x8f12d));import{Message}from'./message.js';function a93_0x1c8f(){const _0x454412=['query','Http-Encrypt','params','now','parse','url','headers','2lvAfpk','45qagKcn','/login','30GUImjU','406232zIBylt','split','httpEncrypt','setExpired','user','639932xpCpgs','resolve','convertIsoDates','stringify','setToken','212908uKCGjE','未知错误','5353035TXuipi','encrypt','data','code','864808zmnCjO','join','6MKykCk','144130DBlBSH','319NTSfwF','indexOf','slice','Content-Type','redirectTo','6620424TKjwyv','application/json;\x20charset=UTF-8','content-type','dates','err','includes','token','reject','Authorization','replace','application/json','toString'];a93_0x1c8f=function(){return _0x454412;};return a93_0x1c8f();}const requestUse=(_0x409baa,_0x24bb28,_0x31bb85,_0x588f8d,_0x4c171c)=>{const _0x3c1609=a93_0x586b;_0x4c171c['headers'][_0x3c1609(0x216)]||=_0x31bb85['user'][_0x3c1609(0x214)];const _0x499162=_0x409baa['config']['globalProperties'][_0x3c1609(0x1f7)];if(_0x499162!==![]){_0x4c171c[_0x3c1609(0x1f0)][_0x3c1609(0x21b)]=_0x499162,_0x4c171c[_0x3c1609(0x1f0)][_0x3c1609(0x20c)]||=_0x3c1609(0x20f);if(_0x4c171c['url'][_0x3c1609(0x20a)]('?')>=0x0){const [_0x5c9dd8,..._0x447af2]=_0x4c171c[_0x3c1609(0x1ef)][_0x3c1609(0x1f6)]('?'),_0x55f2a3=_0x24bb28['encrypt'][_0x499162](_0x447af2[_0x3c1609(0x206)]('?'),_0x3c1609(0x21a));_0x4c171c['url']=_0x5c9dd8+'?'+_0x55f2a3;}else _0x4c171c[_0x3c1609(0x21c)]||={'__placeholder__':Date[_0x3c1609(0x1ed)]()['toString'](0x10)};if(_0x4c171c[_0x3c1609(0x21c)]){const _0x213a88=decodeURIComponent(new URLSearchParams(_0x4c171c[_0x3c1609(0x21c)])[_0x3c1609(0x219)]());_0x4c171c[_0x3c1609(0x1ef)]+='?'+_0x24bb28[_0x3c1609(0x202)][_0x499162](_0x213a88,_0x3c1609(0x21a)),delete _0x4c171c[_0x3c1609(0x21c)];}if(_0x4c171c[_0x3c1609(0x203)]!==undefined&&!(_0x4c171c['data']instanceof FormData)){const _0x448278=_0x24bb28[_0x3c1609(0x202)][_0x499162](JSON[_0x3c1609(0x1fd)](_0x4c171c['data']),'body');_0x4c171c[_0x3c1609(0x203)]=_0x448278;}}return _0x4c171c;},responseUse=(_0x45bf95,_0xcfa4c,_0x3f9edb,_0x1bc550,_0x1fcf89)=>{const _0x3d650d=a93_0x586b;if([0x191,0x192,0x2711]['includes'](_0x1fcf89[_0x3d650d(0x203)][_0x3d650d(0x204)])){_0x3f9edb[_0x3d650d(0x1f9)][_0x3d650d(0x1f8)]();const _0x4284df='/'+location['hash'][_0x3d650d(0x20b)](0x2)[_0x3d650d(0x1f6)]('?')[0x0],_0x55a6ba=StardustJs['funcs']['decodeQuery'](location['href'][_0x3d650d(0x1f6)]('?')[0x1]||'');return _0x1bc550[_0x3d650d(0x217)](_0x55a6ba['redirectTo']?'/login?redirectTo='+(_0x55a6ba[_0x3d650d(0x20d)]||_0x4284df):_0x3d650d(0x1f3)),Promise[_0x3d650d(0x215)](_0x1fcf89);}else{if([0x2712][_0x3d650d(0x213)](_0x1fcf89['data'][_0x3d650d(0x204)]))return Message['e'](_0x1fcf89[_0x3d650d(0x203)][_0x3d650d(0x212)]),Promise[_0x3d650d(0x215)](_0x1fcf89);}const _0x25f26f=_0x1fcf89[_0x3d650d(0x1f0)]['refresh-token']||_0x1fcf89[_0x3d650d(0x203)][_0x3d650d(0x214)];_0x25f26f&&_0x3f9edb[_0x3d650d(0x1f9)][_0x3d650d(0x1fe)](_0x25f26f);if(_0x1fcf89[_0x3d650d(0x203)][_0x3d650d(0x212)])return Message['e'](_0x1fcf89[_0x3d650d(0x203)]['err']||_0x3d650d(0x200)),Promise[_0x3d650d(0x215)](_0x1fcf89);return _0x1fcf89[_0x3d650d(0x1f0)][_0x3d650d(0x210)]?.[_0x3d650d(0x213)](_0x3d650d(0x218))&&(_0x1fcf89[_0x3d650d(0x203)]=JSON[_0x3d650d(0x1ee)](StardustJs[_0x3d650d(0x211)][_0x3d650d(0x1fc)](JSON['stringify'](_0x1fcf89[_0x3d650d(0x203)])))),Promise[_0x3d650d(0x1fb)](_0x1fcf89['data']);};function a93_0x586b(_0x25a816,_0x2ee537){const _0x1c8fbf=a93_0x1c8f();return a93_0x586b=function(_0x586b6b,_0x3fd1f3){_0x586b6b=_0x586b6b-0x1ed;let _0x3903bc=_0x1c8fbf[_0x586b6b];return _0x3903bc;},a93_0x586b(_0x25a816,_0x2ee537);}export{requestUse,responseUse};
|
package/packages/utils/site.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a94_0x1060(_0x31a0c2,_0x356712){const _0x4e6ac6=a94_0x4e6a();return a94_0x1060=function(_0x1060c3,_0x514015){_0x1060c3=_0x1060c3-0x153;let _0x2479c3=_0x4e6ac6[_0x1060c3];return _0x2479c3;},a94_0x1060(_0x31a0c2,_0x356712);}const a94_0x4a6db6=a94_0x1060;(function(_0x529a3d,_0x4cf035){const _0x470570=a94_0x1060,_0x367dda=_0x529a3d();while(!![]){try{const _0x314a29=-parseInt(_0x470570(0x15f))/0x1*(-parseInt(_0x470570(0x155))/0x2)+parseInt(_0x470570(0x15c))/0x3*(-parseInt(_0x470570(0x168))/0x4)+-parseInt(_0x470570(0x15a))/0x5*(parseInt(_0x470570(0x158))/0x6)+parseInt(_0x470570(0x160))/0x7*(-parseInt(_0x470570(0x153))/0x8)+parseInt(_0x470570(0x161))/0x9*(-parseInt(_0x470570(0x157))/0xa)+parseInt(_0x470570(0x169))/0xb+parseInt(_0x470570(0x15d))/0xc*(parseInt(_0x470570(0x156))/0xd);if(_0x314a29===_0x4cf035)break;else _0x367dda['push'](_0x367dda['shift']());}catch(_0x237794){_0x367dda['push'](_0x367dda['shift']());}}}(a94_0x4e6a,0xc6815));export const createWatermark=({text:_0x485f44,gap:_0x1bc38c,fontSize:_0x2fe742,color:_0x4ce85a,width:width=window[a94_0x4a6db6(0x163)],height:height=window[a94_0x4a6db6(0x167)],drawMode:drawMode=a94_0x4a6db6(0x166)})=>{const _0x301024=a94_0x4a6db6,_0x4cf566=document[_0x301024(0x159)](_0x301024(0x16a));_0x4cf566['width']=width,_0x4cf566[_0x301024(0x164)]=height;const _0x248901=_0x4cf566[_0x301024(0x154)]('2d');_0x248901[_0x301024(0x15b)]=_0x2fe742+_0x301024(0x15e),_0x248901[drawMode+'Style']=_0x4ce85a;const _0x3601e8=_0x248901[_0x301024(0x162)](_0x485f44)[_0x301024(0x165)],_0x56af7c=_0x3601e8+_0x1bc38c,_0x453c80=_0x2fe742+_0x1bc38c;for(let _0x2f0344=_0x1bc38c/0x2;_0x2f0344<height;_0x2f0344+=_0x453c80){for(let _0x37d688=_0x1bc38c/0x2;_0x37d688<width;_0x37d688+=_0x56af7c){_0x248901[drawMode+'Text'](_0x485f44,_0x37d688,_0x2f0344);}}return _0x4cf566;};function a94_0x4e6a(){const _0x326d2f=['canvas','40688jwmTqt','getContext','10CighNM','201409UgjAJf','10IlNGaT','3607878SdFoxh','createElement','5GtxJyY','font','9RSNZuO','372wqMyiD','px\x20Arial','198083tRtFVx','42cnVbGw','3862143mFtCMM','measureText','innerWidth','height','width','fill','innerHeight','923792rqCVDp','12057969aOhwWO'];a94_0x4e6a=function(){return _0x326d2f;};return a94_0x4e6a();}export default{'createWatermark':createWatermark};
|
package/packages/vite-plugins.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a95_0x4ff4d7=a95_0x1c91;function a95_0x1c91(_0x36fee3,_0x50270f){const _0x35b948=a95_0x35b9();return a95_0x1c91=function(_0x1c912b,_0x1e7513){_0x1c912b=_0x1c912b-0xab;let _0x3c40a3=_0x35b948[_0x1c912b];return _0x3c40a3;},a95_0x1c91(_0x36fee3,_0x50270f);}(function(_0x3bb64f,_0x53eaa5){const _0xe2776c=a95_0x1c91,_0x324cc5=_0x3bb64f();while(!![]){try{const _0x1c387f=parseInt(_0xe2776c(0xc7))/0x1+parseInt(_0xe2776c(0xe1))/0x2*(parseInt(_0xe2776c(0xc1))/0x3)+parseInt(_0xe2776c(0xbb))/0x4+parseInt(_0xe2776c(0xdc))/0x5+-parseInt(_0xe2776c(0xb3))/0x6*(parseInt(_0xe2776c(0xac))/0x7)+parseInt(_0xe2776c(0xc5))/0x8*(parseInt(_0xe2776c(0xc3))/0x9)+-parseInt(_0xe2776c(0xd7))/0xa;if(_0x1c387f===_0x53eaa5)break;else _0x324cc5['push'](_0x324cc5['shift']());}catch(_0x45ac09){_0x324cc5['push'](_0x324cc5['shift']());}}}(a95_0x35b9,0x802bf));import a95_0x1470d3 from'node:fs';function a95_0x35b9(){const _0x1e92d6=['const\x20model','13624500eBYCoT','</style>','auto-deconstruct','<style\x20lang=\x22scss\x22\x20scoped>','<script\x20setup>','961600UBndxr','map','-scoped.scss','/src/','.js','1314356kwpgKG','trim','basename','return\x20(_ctx,\x20_cache)\x20=>\x20{','826mzhnrl','vue\x20})','split','.vue','filter','replace','model,\x20','50664tWwvOk','import\x20makeModel\x20from\x20\x27./model.js\x27','.scss','DbName','_ctx\x20=\x20wrapCtx(_ctx,\x20filterPrivateFields(model))','instantiateTables','push','existsSync','3043440orGxQX','return\x20{\x20...__returned__,\x20...filterPrivateFields(model)\x20}','slice','toLowerCase','\x27)\x0a','-scoped.scss\x22;','3veKctz','controller.js','9810goAZnw','const\x20model\x20=\x20makeModel()','5448oyzIqa','includes','531185KbZHfQ',',\x20\x27','dirname','import\x20makeController\x20from\x20\x27./controller.js\x27','startsWith','join','\x20=\x20new\x20Table(','<script>','no\x20controller','splice','auto-inject','_ctx\x20=\x20wrapCtx(_ctx,\x20null,\x20filterPrivateFields(controller))','return\x20{\x20...__returned__,\x20...filterPrivateFields(model),\x20...filterPrivateFields(controller)\x20}','import\x20makeController\x20','\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'];a95_0x35b9=function(){return _0x1e92d6;};return a95_0x35b9();}import a95_0x265dda from'node:path';const filterPrivateFields=a95_0x4ff4d7(0xd5),inject=(_0x6f409e,_0x179dae)=>{const _0x494d86=a95_0x4ff4d7,_0x528048=a95_0x265dda[_0x494d86(0xc9)](_0x179dae),_0x44a058=a95_0x265dda[_0x494d86(0xe3)](_0x179dae),_0x47fe80=_0x44a058[_0x494d86(0xae)]('.')[0x0],_0x2f4320=a95_0x1470d3[_0x494d86(0xba)](a95_0x265dda['join'](_0x528048,_0x47fe80+_0x494d86(0xde))),_0x5574ff=a95_0x1470d3[_0x494d86(0xba)](a95_0x265dda[_0x494d86(0xcc)](_0x528048,_0x47fe80+_0x494d86(0xb5))),_0x16f2a5=a95_0x1470d3[_0x494d86(0xba)](a95_0x265dda[_0x494d86(0xcc)](_0x528048,'model.js')),_0x42ef0f=a95_0x1470d3[_0x494d86(0xba)](a95_0x265dda[_0x494d86(0xcc)](_0x528048,_0x494d86(0xc2))),_0x294f70=_0x16f2a5&&!_0x6f409e[_0x494d86(0xc6)]('no\x20model')&&!_0x6f409e[_0x494d86(0xc6)](_0x494d86(0xd6)),_0x43b8aa=_0x42ef0f&&!_0x6f409e['includes'](_0x494d86(0xcf))&&!_0x6f409e['includes']('const\x20controller');if(_0x179dae[_0x494d86(0xc6)](_0x494d86(0xdf))&&_0x44a058[_0x494d86(0xc6)](_0x494d86(0xaf))&&_0x6f409e[_0x494d86(0xcb)](_0x494d86(0xdb))){_0x6f409e=_0x6f409e[_0x494d86(0xb1)](_0x494d86(0xdb),'<script\x20setup>\x0a');const _0x2d162f=_0x6f409e['split']('\x0a');_0x2f4320&&_0x2d162f[_0x494d86(0xb9)](...[_0x494d86(0xda),'@use\x20\x22./'+_0x47fe80+_0x494d86(0xc0),_0x494d86(0xd8)]),_0x5574ff&&_0x2d162f[_0x494d86(0xb9)](...['<style\x20lang=\x22scss\x22>','@use\x20\x22./'+_0x47fe80+'.scss\x22;',_0x494d86(0xd8)]),_0x43b8aa&&_0x2d162f[_0x494d86(0xd0)](0x1,0x0,_0x494d86(0xca),'const\x20controller\x20=\x20makeController({\x20'+(_0x294f70?_0x494d86(0xb2):'')+_0x494d86(0xad)),_0x294f70&&_0x2d162f[_0x494d86(0xd0)](0x1,0x0,_0x494d86(0xb4),_0x494d86(0xc4)),_0x6f409e=_0x2d162f[_0x494d86(0xcc)]('\x0a');}return _0x6f409e;},instantiateTables=(_0x41c07d,_0x38b44b)=>{const _0x371066=a95_0x4ff4d7,_0x17ab9e=a95_0x265dda[_0x371066(0xe3)](_0x38b44b),_0x3903cf=_0x17ab9e[_0x371066(0xc6)](_0x371066(0xaf)),_0x5eefb3=_0x17ab9e[_0x371066(0xc6)](_0x371066(0xe0));if(_0x38b44b[_0x371066(0xc6)](_0x371066(0xdf))&&(_0x3903cf||_0x5eefb3)){const _0x2771ea=_0x41c07d[_0x371066(0xae)]('\x0a')[_0x371066(0xdd)](_0x37a6b0=>_0x37a6b0[_0x371066(0xe2)]())[_0x371066(0xb0)](_0x16c3e7=>!_0x16c3e7['startsWith']('//'))[_0x371066(0xcc)]('\x0a'),_0x1a7738=new Set([..._0x2771ea['matchAll'](/[^a-z][A-Z]\w+\.(search|add|update|remove|func|batch|get)/g)][_0x371066(0xdd)](_0xf36472=>_0xf36472[0x0][_0x371066(0xbd)](0x1)[_0x371066(0xae)]('.')[0x0]));if(_0x1a7738['size']){let _0xb2512a='';_0x1a7738['forEach'](_0x1a8beb=>{const _0x14cc1a=_0x371066;let [_0x122879,_0x24bcb4]=_0x1a8beb[_0x14cc1a(0xae)]('_')[_0x14cc1a(0xdd)](_0x27e811=>_0x27e811[_0x14cc1a(0xb1)](/[A-Z]/g,_0x2ee6b8=>'_'+_0x2ee6b8[_0x14cc1a(0xbe)]())[_0x14cc1a(0xbd)](0x1));_0x24bcb4?_0x122879='\x27'+_0x122879+'\x27':(_0x24bcb4=_0x122879,_0x122879=_0x14cc1a(0xb6)),_0xb2512a+='const\x20'+_0x1a8beb+_0x14cc1a(0xcd)+_0x122879+_0x14cc1a(0xc8)+_0x24bcb4+_0x14cc1a(0xbf);}),_0x3903cf?_0x41c07d=_0x41c07d[_0x371066(0xb1)](_0x371066(0xdb),'<script\x20setup>\x0a'+_0xb2512a)[_0x371066(0xb1)](_0x371066(0xce),'<script>\x0a'+_0xb2512a):_0x41c07d=_0xb2512a+_0x41c07d;}}return _0x41c07d;},deconstruct=(_0x902595,_0x525e9f)=>{const _0x3c093=a95_0x4ff4d7,_0x5b2a96=a95_0x265dda[_0x3c093(0xe3)](_0x525e9f),_0x251e9d=_0x5b2a96['includes'](_0x3c093(0xaf));if(_0x525e9f[_0x3c093(0xc6)]('/src/')&&_0x251e9d){const _0x4f1962='return\x20__returned__',_0x549ec0=_0x3c093(0xab),_0x9663be=_0x902595['includes'](_0x4f1962),_0x374cc6=_0x902595[_0x3c093(0xc6)](_0x549ec0),_0x2d294f=(_0x9663be||_0x374cc6)&&_0x902595[_0x3c093(0xc6)]('import\x20makeModel\x20'),_0x400fbf=(_0x9663be||_0x374cc6)&&_0x902595[_0x3c093(0xc6)](_0x3c093(0xd4));if(_0x2d294f||_0x400fbf){let _0x540ef5=filterPrivateFields;if(_0x9663be){if(_0x2d294f&&_0x400fbf)_0x540ef5+=_0x3c093(0xd3);else{if(_0x2d294f)_0x540ef5+=_0x3c093(0xbc);else _0x400fbf&&(_0x540ef5+='return\x20{\x20...__returned__,\x20...filterPrivateFields(controller)\x20}');}}else{_0x540ef5+=_0x549ec0+'\x0a';if(_0x2d294f&&_0x400fbf)_0x540ef5+='_ctx\x20=\x20wrapCtx(_ctx,\x20filterPrivateFields(model),\x20filterPrivateFields(controller))';else{if(_0x2d294f)_0x540ef5+=_0x3c093(0xb7);else _0x400fbf&&(_0x540ef5+=_0x3c093(0xd2));}_0x540ef5+='\x0a';}_0x902595=_0x902595['replace'](_0x9663be?_0x4f1962:_0x549ec0,_0x540ef5);}}return _0x902595;};export const autoInject=(_0x5e981d={})=>{const _0x25390e=a95_0x4ff4d7;return{'name':_0x25390e(0xd1),'transform'(_0x1883f0,_0x426a89){const _0x13d64d=_0x25390e;return _0x1883f0=inject(_0x1883f0,_0x426a89),_0x5e981d[_0x13d64d(0xb8)]!==![]&&(_0x1883f0=instantiateTables(_0x1883f0,_0x426a89)),{'code':_0x1883f0};}};};export const autoDeconstruct=()=>{const _0x31508c=a95_0x4ff4d7;return{'name':_0x31508c(0xd9),'transform'(_0x57a036,_0x14bf2f){return{'code':deconstruct(_0x57a036,_0x14bf2f)};}};};
|
package/src/main.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a96_0x3d1dd5=a96_0x24fd;(function(_0x277451,_0x3c47b5){const _0x95f8a5=a96_0x24fd,_0x33e337=_0x277451();while(!![]){try{const _0x436a85=parseInt(_0x95f8a5(0x161))/0x1+-parseInt(_0x95f8a5(0x165))/0x2+-parseInt(_0x95f8a5(0x163))/0x3*(parseInt(_0x95f8a5(0x15f))/0x4)+parseInt(_0x95f8a5(0x166))/0x5+-parseInt(_0x95f8a5(0x15c))/0x6+parseInt(_0x95f8a5(0x167))/0x7+-parseInt(_0x95f8a5(0x160))/0x8;if(_0x436a85===_0x3c47b5)break;else _0x33e337['push'](_0x33e337['shift']());}catch(_0x48a57b){_0x33e337['push'](_0x33e337['shift']());}}}(a96_0x4380,0x1fbac));import{createApp}from'vue';function a96_0x24fd(_0x29a6fc,_0x5dbaf1){const _0x4380df=a96_0x4380();return a96_0x24fd=function(_0x24fd29,_0x487303){_0x24fd29=_0x24fd29-0x15c;let _0x3b9be1=_0x4380df[_0x24fd29];return _0x3b9be1;},a96_0x24fd(_0x29a6fc,_0x5dbaf1);}import a96_0x2aaa0d from'element-plus';import a96_0x3aecd4 from'vant';import a96_0x2d45cd from'../packages/index.js';import'../packages/index.scss';function a96_0x4380(){const _0xa355ab=['170858PxJfVw','1162340MbkzhS','104090DMpRrQ','directive','config','assign','153678EEMgji','use','domid','4aJxPIQ','1980640kArHnk','243905QKdRrs','globalProperties','7971MjjWMF','isMobile'];a96_0x4380=function(){return _0xa355ab;};return a96_0x4380();}import a96_0x42a31e,{API_BASE_URL}from'./request.js';import a96_0x20d308 from'@/App.vue';const app=createApp(a96_0x20d308);app[a96_0x3d1dd5(0x168)](a96_0x3d1dd5(0x15e),{'created'(_0x4fd633,_0xf2e1cb){}}),app[a96_0x3d1dd5(0x15d)](a96_0x2aaa0d);for(const [key,component]of Object['entries'](ElementPlusIconsVue)){app['component'](key,component);}app[a96_0x3d1dd5(0x15d)](a96_0x3aecd4),app[a96_0x3d1dd5(0x15d)](a96_0x2d45cd,{'ElementPlus':a96_0x2aaa0d,'Vant':a96_0x3aecd4}),Object[a96_0x3d1dd5(0x16a)](app[a96_0x3d1dd5(0x169)][a96_0x3d1dd5(0x162)],{'isMobile':window[a96_0x3d1dd5(0x164)],'service':{'request':a96_0x42a31e,'API_BASE_URL':API_BASE_URL},'$store':{'app':{'sidebarCollapse':![],'toggleDuration':0x0}}}),app['mount']('#app');export default app;
|
package/src/request.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a97_0x5e438b=a97_0x3621;(function(_0x4d6ffb,_0x114065){const _0x54c62f=a97_0x3621,_0xf02159=_0x4d6ffb();while(!![]){try{const _0x2fa6af=parseInt(_0x54c62f(0x121))/0x1*(parseInt(_0x54c62f(0x11a))/0x2)+parseInt(_0x54c62f(0x10e))/0x3*(-parseInt(_0x54c62f(0x10c))/0x4)+-parseInt(_0x54c62f(0x10f))/0x5+parseInt(_0x54c62f(0x126))/0x6*(-parseInt(_0x54c62f(0x127))/0x7)+-parseInt(_0x54c62f(0x120))/0x8+parseInt(_0x54c62f(0x115))/0x9+parseInt(_0x54c62f(0x114))/0xa;if(_0x2fa6af===_0x114065)break;else _0xf02159['push'](_0xf02159['shift']());}catch(_0x466d85){_0xf02159['push'](_0xf02159['shift']());}}}(a97_0xca43,0xb88e7));function a97_0x3621(_0x3c0281,_0x35bae5){const _0xca4385=a97_0xca43();return a97_0x3621=function(_0x362191,_0x47fd13){_0x362191=_0x362191-0x10c;let _0x26f740=_0xca4385[_0x362191];return _0x26f740;},a97_0x3621(_0x3c0281,_0x35bae5);}const {PROD,VITE_DEV_BASE_URL,VITE_PROD_BASE_URL,VITE_TIMEOUT=0xea60}=import.meta[a97_0x5e438b(0x117)],API_BASE_URL=window[a97_0x5e438b(0x10d)]||(PROD?VITE_PROD_BASE_URL:VITE_DEV_BASE_URL),createRequest=_0x36c19c=>{const _0x2acef2=a97_0x5e438b,_0x213d5d=axios[_0x2acef2(0x125)]({'baseURL':API_BASE_URL,'timeout':VITE_TIMEOUT*0x1,..._0x36c19c});return _0x213d5d[_0x2acef2(0x11c)][_0x2acef2(0x124)][_0x2acef2(0x119)](_0x3bc9dc=>{return _0x3bc9dc;},_0x15197e=>{const _0x1f5026=_0x2acef2;console[_0x1f5026(0x11b)](_0x15197e);}),_0x213d5d[_0x2acef2(0x11c)][_0x2acef2(0x111)][_0x2acef2(0x119)](_0x5166b0=>{return _0x5166b0;},_0x32c3f4=>{const _0x1beab0=_0x2acef2;console[_0x1beab0(0x11b)](_0x32c3f4);}),_0x213d5d;},fetchRequest=(_0x1752a5,_0x2480e7={})=>{const _0x3e8e5e=a97_0x5e438b;_0x1752a5=_0x1752a5['startsWith'](_0x3e8e5e(0x122))?_0x1752a5:API_BASE_URL+_0x1752a5;const {method:method=_0x3e8e5e(0x123),headers:_0x3ce2f9,body:_0x3317ea,..._0x2fe57c}=_0x2480e7,_0x52328c={'method':method,..._0x2fe57c,'headers':{'content-type':_0x3e8e5e(0x11f),..._0x3ce2f9}};return[_0x3e8e5e(0x116),_0x3e8e5e(0x118)][_0x3e8e5e(0x11e)](method[_0x3e8e5e(0x113)]())&&(_0x52328c[_0x3e8e5e(0x112)]=typeof _0x3317ea===_0x3e8e5e(0x110)?_0x3317ea:JSON[_0x3e8e5e(0x11d)](_0x3317ea)),fetch(_0x1752a5,_0x52328c);};function a97_0xca43(){const _0x133aed=['29883jEwzjO','37036VlycVR','API_BASE_URL','381OIijHo','3657720jMcIOQ','string','response','body','toUpperCase','15494410pYVMyp','1226646QAmbKJ','PUT','env','POST','use','2SCuyOl','error','interceptors','stringify','includes','application/json','3033312ZVXvdO','1365347HlwkQB','http','GET','request','create','12EulUwK'];a97_0xca43=function(){return _0x133aed;};return a97_0xca43();}export default createRequest();export{API_BASE_URL,createRequest,fetchRequest};
|
package/vite.config.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
const a98_0x432042=a98_0x628f;(function(_0x121804,_0x24a58b){const _0x592311=a98_0x628f,_0x509f98=_0x121804();while(!![]){try{const _0x524b6b=-parseInt(_0x592311(0x12d))/0x1+-parseInt(_0x592311(0x11f))/0x2*(parseInt(_0x592311(0x12a))/0x3)+-parseInt(_0x592311(0x12b))/0x4+parseInt(_0x592311(0x121))/0x5+-parseInt(_0x592311(0x11a))/0x6*(-parseInt(_0x592311(0x126))/0x7)+parseInt(_0x592311(0x11b))/0x8+parseInt(_0x592311(0x11e))/0x9*(parseInt(_0x592311(0x11d))/0xa);if(_0x524b6b===_0x24a58b)break;else _0x509f98['push'](_0x509f98['shift']());}catch(_0x30f7a9){_0x509f98['push'](_0x509f98['shift']());}}}(a98_0x489f,0xa07a6));import a98_0x38db42 from'path';import{defineConfig}from'vite';function a98_0x628f(_0x10f0c6,_0x25e4c3){const _0x489ffa=a98_0x489f();return a98_0x628f=function(_0x628fbd,_0xe02418){_0x628fbd=_0x628fbd-0x119;let _0xdf63fc=_0x489ffa[_0x628fbd];return _0xdf63fc;},a98_0x628f(_0x10f0c6,_0x25e4c3);}import a98_0x5ba05a from'@vitejs/plugin-vue';function a98_0x489f(){const _0x234b4a=['42BiqMSS','2023-11','2192520DsGfSh','cwd','vue/dist/vue.esm-bundler.js','join','@babel/plugin-proposal-decorators','22911rdSrIo','Vue','src','decorators','20418CsgbYp','2552572giEqcL','toString','938535cFvuxM','dist','split','regenerator-runtime/runtime','1782eguKuG','1083880DfBSYp','includes','2077130IeusBQ','36GZeeFl'];a98_0x489f=function(){return _0x234b4a;};return a98_0x489f();}import a98_0x2e19f8 from'@vitejs/plugin-legacy';import a98_0x3241d1 from'@vitejs/plugin-vue-jsx';import a98_0x2f768c from'@rollup/plugin-commonjs';import a98_0x439cbc from'rollup-plugin-external-globals';import{babel}from'@rollup/plugin-babel';import{createStyleImportPlugin,VantResolve}from'vite-plugin-style-import';const resolve=_0x351a40=>a98_0x38db42[a98_0x432042(0x124)](process[a98_0x432042(0x122)](),_0x351a40);export default defineConfig(({command:_0x3f73c0,mode:_0x318610})=>{const _0x4ac712=a98_0x432042,_0x57ad7a={'plugins':[a98_0x5ba05a({'template':{'compilerOptions':{'expressionPlugins':[['decorators',{'version':_0x4ac712(0x120)}]]}},'script':{'babelParserPlugins':[[_0x4ac712(0x129),{'version':_0x4ac712(0x120)}],_0x4ac712(0x129)]}}),a98_0x3241d1(),babel({'compact':![],'plugins':[[_0x4ac712(0x125),{'version':'2023-11'}]]}),createStyleImportPlugin({'resolves':[VantResolve()]}),a98_0x2e19f8({'targets':['defaults'],'additionalLegacyPolyfills':[_0x4ac712(0x119)]})],'runtimeCompiler':!![],'build':{'outDir':_0x4ac712(0x12e),'rollupOptions':{'external':['vue'],'plugins':[a98_0x2f768c(),a98_0x439cbc({'vue':_0x4ac712(0x127)})],'output':{'manualChunks'(_0x1b99b5){const _0x1a4fcc=_0x4ac712;if(_0x1b99b5[_0x1a4fcc(0x11c)]('node_modules'))return _0x1b99b5[_0x1a4fcc(0x12c)]()[_0x1a4fcc(0x12f)]('node_modules/')[0x1][_0x1a4fcc(0x12f)]('/')[0x0][_0x1a4fcc(0x12c)]();}}}},'resolve':{'alias':{'@':resolve(_0x4ac712(0x128)),'vue':_0x4ac712(0x123)}}};return _0x57ad7a;});
|
package/vite.lib.config.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a99_0x29eacb=a99_0xd429;(function(_0x5efda6,_0xec5430){const _0x5b3e23=a99_0xd429,_0x2a617a=_0x5efda6();while(!![]){try{const _0x4b8079=parseInt(_0x5b3e23(0x1ef))/0x1+parseInt(_0x5b3e23(0x1f8))/0x2+-parseInt(_0x5b3e23(0x1ff))/0x3+-parseInt(_0x5b3e23(0x1fe))/0x4*(parseInt(_0x5b3e23(0x1f9))/0x5)+-parseInt(_0x5b3e23(0x1f5))/0x6*(-parseInt(_0x5b3e23(0x1fc))/0x7)+-parseInt(_0x5b3e23(0x1f6))/0x8+-parseInt(_0x5b3e23(0x201))/0x9*(parseInt(_0x5b3e23(0x1ee))/0xa);if(_0x4b8079===_0xec5430)break;else _0x2a617a['push'](_0x2a617a['shift']());}catch(_0x1462ea){_0x2a617a['push'](_0x2a617a['shift']());}}}(a99_0x1fde,0x2a972));function a99_0xd429(_0x4dcf01,_0x58db48){const _0x1fde6d=a99_0x1fde();return a99_0xd429=function(_0xd429ef,_0x325d73){_0xd429ef=_0xd429ef-0x1ed;let _0x3ab47d=_0x1fde6d[_0xd429ef];return _0x3ab47d;},a99_0xd429(_0x4dcf01,_0x58db48);}import a99_0xe0c667 from'path';import{defineConfig}from'vite';import a99_0x5cd4b7 from'@vitejs/plugin-vue';import a99_0x54b6dc from'@vitejs/plugin-vue-jsx';function a99_0x1fde(){const _0x550e63=['153GHXlQL','node_modules/','134460mXtejJ','78659yuOEve','cwd','vue','join','Vue','node_modules','18gOxqKU','277560sNYCAr','split','669710WNlqcz','20tWbVeq','toString','includes','483301lJdPZM','vue/dist/vue.esm-bundler.js','51952cJvAta','392892tXGlQG','index'];a99_0x1fde=function(){return _0x550e63;};return a99_0x1fde();}import a99_0x52842e from'@rollup/plugin-commonjs';import a99_0x154910 from'rollup-plugin-external-globals';import{createStyleImportPlugin,VantResolve}from'vite-plugin-style-import';const resolve=_0x25b864=>a99_0xe0c667[a99_0x29eacb(0x1f2)](process[a99_0x29eacb(0x1f0)](),_0x25b864);export default defineConfig(({command:_0x15116b,mode:_0x5b3987})=>{const _0x54f49c=a99_0x29eacb,_0x11c6fd={'plugins':[a99_0x5cd4b7(),a99_0x54b6dc(),createStyleImportPlugin({'resolves':[VantResolve()]})],'runtimeCompiler':!![],'build':{'outDir':'./','lib':{'entry':'./packages/index.js','name':'StardustUI','fileName':_0x54f49c(0x200),'formats':['es']},'rollupOptions':{'external':[_0x54f49c(0x1f1)],'plugins':[a99_0x52842e()],'output':{'globals':{'vue':_0x54f49c(0x1f3)},'manualChunks'(_0x11fb64){const _0x188536=_0x54f49c;if(_0x11fb64[_0x188536(0x1fb)](_0x188536(0x1f4)))return _0x11fb64[_0x188536(0x1fa)]()[_0x188536(0x1f7)](_0x188536(0x1ed))[0x1][_0x188536(0x1f7)]('/')[0x0][_0x188536(0x1fa)]();}}}},'resolve':{'alias':{'@':resolve('src'),'vue':_0x54f49c(0x1fd)}}};return _0x11c6fd;});
|