@wp1001/ui 3.6.6 → 3.6.9
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/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
|
-
(function(
|
|
1
|
+
function a90_0x3e82(_0x308c05,_0x1133d7){const _0x562eea=a90_0x562e();return a90_0x3e82=function(_0x3e8226,_0x52cbbc){_0x3e8226=_0x3e8226-0xed;let _0x208b5c=_0x562eea[_0x3e8226];return _0x208b5c;},a90_0x3e82(_0x308c05,_0x1133d7);}(function(_0x49c36b,_0x53033b){const _0xc9b5ae=a90_0x3e82,_0x4972d1=_0x49c36b();while(!![]){try{const _0x12ab0e=-parseInt(_0xc9b5ae(0xf0))/0x1+-parseInt(_0xc9b5ae(0x10d))/0x2*(parseInt(_0xc9b5ae(0x110))/0x3)+-parseInt(_0xc9b5ae(0xf2))/0x4+-parseInt(_0xc9b5ae(0x101))/0x5+-parseInt(_0xc9b5ae(0x10e))/0x6+parseInt(_0xc9b5ae(0xf4))/0x7+parseInt(_0xc9b5ae(0xfc))/0x8;if(_0x12ab0e===_0x53033b)break;else _0x4972d1['push'](_0x4972d1['shift']());}catch(_0x17082a){_0x4972d1['push'](_0x4972d1['shift']());}}}(a90_0x562e,0x59d9a));import{watch,nextTick}from'vue';function a90_0x562e(){const _0x5348ef=['2767569udryMD','title','matched','beforeEach','sleep','paths','sitename','_hidden','16033384jqgsNl','length','reduce','component','/404','3216920bjEVuD','logging','some','acl','split','受限于您的账号权限,暂时无法访问\x20','logined','path','visitable','menus','redirect','meta','4nqDuSK','2162556veErTA','getters','67812QfrMkh','query','children','includes','hidden','262190Frlfbw','forEach','2881224uZOiMY','error'];a90_0x562e=function(){return _0x5348ef;};return a90_0x562e();}import{Message}from'./message.js';const {funcs}=StardustJs;export const check404=(_0x6d3fcf,_0x323857,_0x4b9cf9)=>{_0x6d3fcf['beforeEach'](async(_0x53f637,_0x9bfaf8)=>{const _0x32c237=a90_0x3e82;return!!_0x53f637[_0x32c237(0xf6)]['length']||_0x32c237(0x100);});};export const setTitle=(_0xa50c5e,_0x34be36,_0x73abc6)=>{_0xa50c5e['afterEach']((_0x16261d,_0x4ba186)=>{const _0x4cdd57=a90_0x3e82;document['title']=_0x16261d[_0x4cdd57(0xf6)][_0x16261d[_0x4cdd57(0xf6)][_0x4cdd57(0xfd)]-0x1]['meta']?.[_0x4cdd57(0xf5)]||_0x34be36['app'][_0x4cdd57(0xfa)];});};export const checkRolesPages=(_0x51e9f2,_0x49a34a,_0x3d4c52)=>{const _0x1e6cf4=a90_0x3e82;_0x51e9f2[_0x1e6cf4(0xf7)](async(_0x8b824e,_0x7eee58)=>{const _0x413ec2=_0x1e6cf4,_0x73cbd=_0x8b824e['matched'][_0x8b824e[_0x413ec2(0xf6)][_0x413ec2(0xfd)]-0x1][_0x413ec2(0x108)][_0x413ec2(0x105)]('/:')[0x0];if(_0x8b824e[_0x413ec2(0x10c)][_0x413ec2(0x104)]===![]||_0x8b824e[_0x413ec2(0x10c)]?.[_0x413ec2(0x109)])return!![];while(_0x49a34a['getters'][_0x413ec2(0x102)]){await funcs[_0x413ec2(0xf8)](0x14);}await nextTick();if(_0x49a34a[_0x413ec2(0x104)][_0x413ec2(0xf9)][_0x413ec2(0xee)](_0x73cbd))return!![];const _0x215810={'redirectTo':_0x8b824e['path'],..._0x8b824e[_0x413ec2(0x111)]};return _0x49a34a[_0x413ec2(0x10f)][_0x413ec2(0x107)]&&(_0x215810[_0x413ec2(0xf3)]=_0x413ec2(0x106)+_0x8b824e[_0x413ec2(0x108)]+'\x20页面,如有需要请联系我们',Message({'message':_0x215810['error'],'duration':0x2710})),{'path':_0x49a34a['acl'][_0x413ec2(0xf9)][0x0]||_0x413ec2(0x100),'query':_0x215810};}),nextTick(()=>{const _0x23d6ac=_0x1e6cf4;let _0x23a7c5=![];watch(()=>_0x49a34a[_0x23d6ac(0x104)][_0x23d6ac(0x10a)],_0x53e3d8=>{const _0x3b7437=_0x23d6ac;if(!_0x23a7c5){if(!_0x53e3d8[_0x3b7437(0xfd)])return;_0x23a7c5=!![];}const _0x59889c=_0x49a34a[_0x3b7437(0x104)][_0x3b7437(0xf9)],_0xb278bf=(_0x2557c3,_0x20367b)=>{const _0x9756bc=_0x3b7437;let _0x55e29e;_0x2557c3[_0x9756bc(0x10b)]&&!_0x2557c3[_0x9756bc(0xff)]?_0x55e29e=_0x2557c3[_0x9756bc(0x10b)]:_0x55e29e=[..._0x20367b,_0x2557c3][_0x9756bc(0xfe)]((_0x35f86,_0x590ecd)=>_0x35f86+'/'+_0x590ecd[_0x9756bc(0x108)],'')['replace']('//','/'),_0x2557c3[_0x9756bc(0x10c)]||={},_0x2557c3[_0x9756bc(0x10c)][_0x9756bc(0x104)]===![]?_0x2557c3[_0x9756bc(0xed)]?.[_0x9756bc(0xf1)](_0x1d8a9d=>{const _0x39107e=_0x9756bc;_0x1d8a9d[_0x39107e(0x10c)]||={},_0x1d8a9d[_0x39107e(0x10c)][_0x39107e(0x104)]||=![],_0xb278bf(_0x1d8a9d,[..._0x20367b,_0x2557c3]);}):(_0x2557c3[_0x9756bc(0x10c)][_0x9756bc(0xfb)]=_0x2557c3[_0x9756bc(0x10c)][_0x9756bc(0xef)],parent&&(_0x2557c3['meta'][_0x9756bc(0xef)]==null&&(_0x2557c3[_0x9756bc(0x10c)][_0x9756bc(0xef)]??=parent[_0x9756bc(0x10c)]?.[_0x9756bc(0xef)],_0x2557c3['meta']={..._0x2557c3['meta']}),_0x2557c3[_0x9756bc(0x10c)][_0x9756bc(0x109)]==null&&(_0x2557c3[_0x9756bc(0x10c)][_0x9756bc(0x109)]??=parent['meta']?.[_0x9756bc(0x109)],_0x2557c3[_0x9756bc(0x10c)]={..._0x2557c3[_0x9756bc(0x10c)]})),_0x2557c3[_0x9756bc(0xed)]?.[_0x9756bc(0xf1)](_0x4151c6=>_0xb278bf(_0x4151c6,[..._0x20367b,_0x2557c3])),_0x2557c3[_0x9756bc(0x10c)][_0x9756bc(0xef)]!==![]&&_0x2557c3[_0x9756bc(0x10c)][_0x9756bc(0xfb)]!==!![]&&(_0x2557c3['meta'][_0x9756bc(0xef)]=!_0x59889c[_0x9756bc(0xee)](_0x55e29e),_0x2557c3[_0x9756bc(0xed)]?.[_0x9756bc(0x103)](_0x977397=>_0x977397[_0x9756bc(0x10c)][_0x9756bc(0xef)]===![])&&(_0x2557c3[_0x9756bc(0x10c)][_0x9756bc(0xef)]=![])));};_0x3d4c52[_0x3b7437(0xf1)](_0x431827=>_0xb278bf(_0x431827,[]));},{'immediate':!![]});});};export default{'check404':check404,'setTitle':setTitle,'checkRolesPages':checkRolesPages};
|
package/packages/utils/model.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a91_0x1916(_0x47c9c1,_0x16526d){const _0x1d31e8=a91_0x1d31();return a91_0x1916=function(_0x19168b,_0x126cf2){_0x19168b=_0x19168b-0x146;let _0x410137=_0x1d31e8[_0x19168b];return _0x410137;},a91_0x1916(_0x47c9c1,_0x16526d);}function a91_0x1d31(){const _0x57d290=['183553kQkeQA','16034814arizQt','8NMZmMZ','8927718ddwTjk','16893760gOMazy','96XuNnjU','24rUbNfe','314349nVyvHH','left','1133181qwQsfg','1021235UFzJMi'];a91_0x1d31=function(){return _0x57d290;};return a91_0x1d31();}const a91_0x1b857f=a91_0x1916;(function(_0x7b58c1,_0x4629ac){const _0x5b6f43=a91_0x1916,_0x52b9fe=_0x7b58c1();while(!![]){try{const _0x4f59da=-parseInt(_0x5b6f43(0x146))/0x1*(parseInt(_0x5b6f43(0x148))/0x2)+-parseInt(_0x5b6f43(0x14f))/0x3+-parseInt(_0x5b6f43(0x14c))/0x4*(-parseInt(_0x5b6f43(0x150))/0x5)+parseInt(_0x5b6f43(0x149))/0x6+-parseInt(_0x5b6f43(0x14d))/0x7*(parseInt(_0x5b6f43(0x14b))/0x8)+-parseInt(_0x5b6f43(0x147))/0x9+parseInt(_0x5b6f43(0x14a))/0xa;if(_0x4f59da===_0x4629ac)break;else _0x52b9fe['push'](_0x52b9fe['shift']());}catch(_0x48613b){_0x52b9fe['push'](_0x52b9fe['shift']());}}}(a91_0x1d31,0xece66));export const baseForm=()=>({'loading':![],'form':{},'initialForm':{},'formItems':[],'formRef':null,'formRules':{},'initialFormRules':{},'_isBaseForm':!![],'viewonly':![]});export const baseTable=(_0x544a65={})=>({'loading':![],'query':{'page':0x1,'limit':0xa,'order':[],..._0x544a65},'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':a91_0x1b857f(0x14e),'type':'selection'},{'type':'_index'}],query:query={},form:form={}}={})=>({'table':{...baseTable(query),...table,'columns':columns},'dialog':{...baseDialog(),...dialog,'form':form}});export default{'baseForm':baseForm,'baseTable':baseTable,'baseDialog':baseDialog,'baseModel':baseModel};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a92_0x2b4277=a92_0x4d55;(function(_0xc40fc5,_0x497237){const _0x4a7a44=a92_0x4d55,_0x59adfc=_0xc40fc5();while(!![]){try{const _0xc03004=-parseInt(_0x4a7a44(0x204))/0x1*(parseInt(_0x4a7a44(0x1fd))/0x2)+parseInt(_0x4a7a44(0x1d2))/0x3*(parseInt(_0x4a7a44(0x1e6))/0x4)+parseInt(_0x4a7a44(0x1d0))/0x5+-parseInt(_0x4a7a44(0x1ff))/0x6*(-parseInt(_0x4a7a44(0x1ca))/0x7)+parseInt(_0x4a7a44(0x20d))/0x8+parseInt(_0x4a7a44(0x1f1))/0x9+-parseInt(_0x4a7a44(0x1c7))/0xa;if(_0xc03004===_0x497237)break;else _0x59adfc['push'](_0x59adfc['shift']());}catch(_0x2bd6d5){_0x59adfc['push'](_0x59adfc['shift']());}}}(a92_0x4815,0xcd437));import{watch}from'vue';const {funcs}=StardustJs;export const initFields=_0x36eda4=>{const _0x56f560=a92_0x4d55;return _0x36eda4[_0x56f560(0x1e7)](_0x4d31d3=>{const _0x54d303=_0x56f560,_0x1ec94b=Object[_0x54d303(0x20b)](_0x4d31d3);for(let _0x5b7329 of _0x1ec94b){if(_0x5b7329[_0x54d303(0x1ea)](_0x54d303(0x1dc)))_0x4d31d3[_0x54d303(0x20a)]??={},_0x4d31d3[_0x54d303(0x20a)][_0x5b7329[_0x54d303(0x1c6)](0x3)]=_0x4d31d3[_0x5b7329],delete _0x4d31d3[_0x5b7329];else _0x5b7329[_0x54d303(0x1ea)](_0x54d303(0x1da))&&(_0x4d31d3[_0x54d303(0x202)]??={},_0x4d31d3[_0x54d303(0x202)][_0x5b7329[_0x54d303(0x1c6)](0x3)]=_0x4d31d3[_0x5b7329],delete _0x4d31d3[_0x5b7329]);}if(_0x4d31d3[_0x54d303(0x1fc)]===_0x54d303(0x1e2))_0x4d31d3[_0x54d303(0x202)]??={},_0x4d31d3[_0x54d303(0x202)]['value-format']??='YYYY-MM-DD';else _0x4d31d3['type']==='datetime'&&(_0x4d31d3[_0x54d303(0x202)]??={},_0x4d31d3[_0x54d303(0x202)][_0x54d303(0x1e8)]??=_0x54d303(0x1cf));return _0x4d31d3['xs']??=0x18,_0x4d31d3;});};function a92_0x4815(){const _0x10fe81=['filter','daterange','YYYY-MM-DD\x20HH:mm:ss','781125aZhDKJ','deepCopy','2876034Ocuzbk','prop','match','number','columns','form','formRules','_isBaseDialog','fa_','object','ta_','label','mobile','required','canView','comp','date','endsWith','end-placeholder','canEdit','4wHfjUw','map','value-format','isMobile','startsWith','initialForm','XCheckboxs','ElInputNumber','_isBaseTable','x-checkboxs','_isBaseForm','9460044oGfbwd','string','platform','forEach','hasOwnProperty','options','table','split','ElDatePicker','datetimerange','canAdd','type','519866eIyaGQ','change','834OTnUmI','asyncValidator','trim','formAttrs','some','1SfBsPq','virtual','assign','visible','includes','push','tableAttrs','keys','validator','7896152ihcEAm','formItems','slice','33702050kwXTIW','blur','every','66367VworQn','initialFormRules','monthrange'];a92_0x4815=function(){return _0x10fe81;};return a92_0x4815();}export const initModel=(_0x4c0bc5,_0x15e975)=>{const _0x2e6d06=a92_0x4d55;for(let _0x5cd1a6 in _0x4c0bc5){const _0xbec485=_0x4c0bc5[_0x5cd1a6];if(!_0xbec485||typeof _0xbec485!==_0x2e6d06(0x1db))continue;_0x5cd1a6===_0x2e6d06(0x1f7)&&_0x4c0bc5[_0x5cd1a6][_0x2e6d06(0x1ee)]&&initTable(_0xbec485,_0x15e975),_0x5cd1a6==='dialog'&&_0x4c0bc5[_0x5cd1a6][_0x2e6d06(0x1d9)]&&initDialog(_0xbec485,_0x15e975),_0x5cd1a6===_0x2e6d06(0x1d7)&&_0x4c0bc5[_0x5cd1a6]['_isBaseForm']&&initForm(_0xbec485,_0x15e975);}return _0x4c0bc5;};export const initTable=(_0xfcae17,_0xb32d7)=>{const _0x3f6fb4=a92_0x4d55;return _0xfcae17[_0x3f6fb4(0x1d6)][_0x3f6fb4(0x209)](..._0xb32d7[_0x3f6fb4(0x1cd)](_0x54e061=>{const _0x4e27e1=_0x3f6fb4;return _0x54e061[_0x4e27e1(0x207)]===![]?_0x54e061['canView']:_0x54e061[_0x4e27e1(0x1e0)]!==![];})),_0xfcae17;};export const initDialog=(_0x5efc52,_0x465b4c)=>{const _0x33cbf7=a92_0x4d55;return _0x5efc52[_0x33cbf7(0x1c5)]=_0x465b4c[_0x33cbf7(0x1cd)](_0x55cb5d=>{const _0x291973=_0x33cbf7;if(_0x55cb5d[_0x291973(0x207)]===![])return _0x55cb5d[_0x291973(0x1fb)]||_0x55cb5d['canEdit'];return _0x55cb5d[_0x291973(0x1fb)]!==![]||_0x55cb5d[_0x291973(0x1e5)]!==![];}),initForm(_0x5efc52,_0x465b4c),_0x5efc52;};function a92_0x4d55(_0x12b8ae,_0x34e0f1){const _0x48152d=a92_0x4815();return a92_0x4d55=function(_0x4d5553,_0x3bbe82){_0x4d5553=_0x4d5553-0x1c5;let _0x2e1dab=_0x48152d[_0x4d5553];return _0x2e1dab;},a92_0x4d55(_0x12b8ae,_0x34e0f1);}export const initForm=(_0x10752a,_0x55f4a8)=>{const _0x2e8ecb=a92_0x4d55;_0x10752a[_0x2e8ecb(0x1f0)]&&!_0x10752a[_0x2e8ecb(0x1d9)]&&(_0x10752a[_0x2e8ecb(0x1c5)]=_0x55f4a8[_0x2e8ecb(0x1cd)](_0x43c11d=>_0x43c11d['visible']!==![]));initDefaultForm(_0x10752a[_0x2e8ecb(0x1d7)],_0x10752a[_0x2e8ecb(0x1c5)]),_0x10752a[_0x2e8ecb(0x1eb)]=funcs[_0x2e8ecb(0x1d1)](_0x10752a[_0x2e8ecb(0x1d7)]),_0x10752a[_0x2e8ecb(0x1cb)]=funcs[_0x2e8ecb(0x1d1)](_0x10752a[_0x2e8ecb(0x1d8)]);const _0x74387e=()=>{initFormRules(_0x10752a);};return watch(()=>_0x10752a[_0x2e8ecb(0x1c5)],_0x74387e,{'immediate':!![],'deep':!![]}),_0x10752a;};export const initFormRules=_0x1a6c9d=>{const _0x4a90e1=a92_0x4d55,{formItems:_0x1b6264,initialFormRules:_0x739d49}=_0x1a6c9d;Object[_0x4a90e1(0x206)](_0x1a6c9d[_0x4a90e1(0x1d8)],funcs['deepCopy'](_0x739d49)),Object[_0x4a90e1(0x20b)](_0x1a6c9d[_0x4a90e1(0x1d8)])['forEach'](_0x864085=>{const _0x4e5fa9=_0x4a90e1;!_0x739d49[_0x4e5fa9(0x1f5)](_0x864085)&&delete _0x1a6c9d['formRules'][_0x864085];});const _0x149817={};return _0x1b6264[_0x4a90e1(0x1f4)](_0x5ce643=>{const _0xd86db=_0x4a90e1;if(_0x1a6c9d['formRules'][_0x5ce643['prop']])return;if(!_0x5ce643[_0xd86db(0x1df)]&&!_0x5ce643[_0xd86db(0x20c)]&&!_0x5ce643['asyncValidator'])return;const _0xabeb8=_0x5ce643[_0xd86db(0x1f3)]||_0x1a6c9d[_0xd86db(0x1f3)]||(window[_0xd86db(0x1e9)]?_0xd86db(0x1de):'pc'),_0x4c3ac6=triggers[_0xabeb8],_0x560983=[],_0x2a7716=_0xd86db(0x1f6)in _0x5ce643,_0x25a164='请'+(_0x5ce643[_0xd86db(0x20c)]||_0x5ce643[_0xd86db(0x200)]?'正确':'')+(_0x2a7716?'选择':'输入')+(_0x5ce643?.[_0xd86db(0x1dd)]||_0x5ce643[_0xd86db(0x1d3)]),_0x575a5b={'required':!![],'message':_0x25a164};if(_0x5ce643[_0xd86db(0x20c)])_0x575a5b[_0xd86db(0x20c)]=(_0x20f4fe,_0x1f522d)=>{const _0xaa3349=_0xd86db;return _0xabeb8==='pc'?_0x5ce643[_0xaa3349(0x20c)](_0x20f4fe,_0x1f522d):_0x5ce643['validator'](_0x1f522d,_0x20f4fe);};if(_0x5ce643[_0xd86db(0x200)])_0x575a5b[_0xd86db(0x200)]=(_0x913be7,_0x42cc58)=>{const _0x137c43=_0xd86db;return _0xabeb8==='pc'?_0x5ce643[_0x137c43(0x200)](_0x913be7,_0x42cc58):_0x5ce643[_0x137c43(0x200)](_0x42cc58,_0x913be7);};!_0x5ce643[_0xd86db(0x1e1)]?_0x560983[_0xd86db(0x209)]({..._0x575a5b,'trigger':_0x4c3ac6[_0xd86db(0x1c8)]}):_0x560983[_0xd86db(0x209)]({..._0x575a5b,'trigger':_0x4c3ac6['change']}),_0x5ce643[_0xd86db(0x1e1)]===_0xd86db(0x1ed)&&_0x560983[_0xd86db(0x209)]({..._0x575a5b,'trigger':_0x4c3ac6[_0xd86db(0x1c8)]}),_0x149817[_0x5ce643['prop']]=_0x560983;}),Object[_0x4a90e1(0x206)](_0x1a6c9d[_0x4a90e1(0x1d8)],_0x149817),_0x1a6c9d[_0x4a90e1(0x1d8)];};export const initDefaultForm=(_0x29b4ec,_0x43e17d,_0x9ffc49=!![])=>{const _0x39b20c=a92_0x4d55,_0x5f4364={};return _0x43e17d[_0x39b20c(0x1f4)](_0x5914c6=>{const _0xdf30ee=_0x39b20c;if(!_0x5914c6['prop']||_0x5914c6[_0xdf30ee(0x205)])return;let _0x22ac4f='';const {type:_0x54aa57,options:_0x4ca279}=_0x5914c6,{multiple:_0xd45c0d}=_0x5914c6[_0xdf30ee(0x202)]||{};if(_0x9ffc49&&_0x54aa57===_0xdf30ee(0x1d5)||_0x5914c6[_0xdf30ee(0x1e1)]===_0xdf30ee(0x1ed))_0x22ac4f=null;else{if(_0x5914c6[_0xdf30ee(0x1e1)]==='ElSwitch')_0x22ac4f=![];else{if(_0x4ca279&&(_0x5914c6[_0xdf30ee(0x1e1)]?.['endsWith'](_0xdf30ee(0x1ec))||_0x5914c6[_0xdf30ee(0x1e1)]?.[_0xdf30ee(0x1e3)](_0xdf30ee(0x1ef))||_0xd45c0d))_0x22ac4f=[];else{if(_0x5914c6['comp']===_0xdf30ee(0x1f9)&&[_0xdf30ee(0x1fa),_0xdf30ee(0x1ce),_0xdf30ee(0x1cc)][_0xdf30ee(0x208)](_0x5914c6[_0xdf30ee(0x1fc)])){const _0x545ceb={'datetimerange':'时间','daterange':'日期','monthrange':'月份'}[_0x5914c6[_0xdf30ee(0x1fc)]];!_0x5914c6['start-placeholder']&&(_0x5914c6['start-placeholder']='开始'+_0x545ceb),!_0x5914c6[_0xdf30ee(0x1e4)]&&(_0x5914c6['end-placeholder']='结束'+_0x545ceb),_0x22ac4f=[];}}}}_0x5f4364[_0x5914c6[_0xdf30ee(0x1d3)]]=_0x22ac4f;}),Object['assign'](_0x29b4ec,{..._0x5f4364,..._0x29b4ec}),_0x29b4ec;};export const isWhenMatched=(_0x26f8ac,_0x43eb9f)=>{const _0x2d77d8=a92_0x4d55;if(!_0x26f8ac)return!![];const _0x39bd5d=_0x26f8ac[_0x2d77d8(0x1f8)](/\s?(&&|\|\|)\s?/g);if(_0x39bd5d[_0x2d77d8(0x208)]('&&')&&_0x39bd5d[_0x2d77d8(0x208)]('||'))throw'一个\x20when\x20表达式中仅支持\x20&&\x20模式或\x20||\x20模式';const _0x505e65=_0x39bd5d[_0x2d77d8(0x208)]('&&'),_0x1b109d=/[\^\*\$\~\!]?=/,_0x1afc9c=_0x39bd5d[_0x2d77d8(0x1cd)](_0x11027f=>_0x11027f!=='&&'&&_0x11027f!=='||');return _0x1afc9c[_0x505e65?_0x2d77d8(0x1c9):_0x2d77d8(0x203)](_0x47cad6=>{const _0x1d73f1=_0x2d77d8;let [_0x19329c,_0x2024ff]=_0x47cad6['split'](_0x1b109d);_0x2024ff=_0x2024ff[_0x1d73f1(0x1f8)]('|');let _0x4d347c=_0x43eb9f[_0x19329c];if(typeof _0x4d347c==='number')_0x4d347c+='';else{if(typeof _0x4d347c===_0x1d73f1(0x1f2))_0x4d347c=_0x4d347c[_0x1d73f1(0x201)]();}const _0x611a59=_0x47cad6[_0x1d73f1(0x1d4)](_0x1b109d)[0x0];if(_0x611a59==='!=')return!_0x2024ff[_0x1d73f1(0x208)](_0x4d347c);return _0x2024ff[_0x1d73f1(0x203)](_0x36f5a5=>{const _0x5366aa=_0x1d73f1;if(_0x611a59==='^=')return _0x4d347c?.[_0x5366aa(0x1ea)](_0x36f5a5);else{if(_0x611a59==='*=')return _0x4d347c?.['includes'](_0x36f5a5);else{if(_0x611a59==='$=')return _0x4d347c?.[_0x5366aa(0x1e3)](_0x36f5a5);else{if(_0x611a59==='~=')return!_0x4d347c?.['includes'](_0x36f5a5);else{if(_0x611a59==='!=')return _0x4d347c!==_0x36f5a5;}}}}return _0x36f5a5===_0x4d347c;});});};export const triggers={'mobile':{'blur':'onBlur','change':'onChange'},'pc':{'blur':a92_0x2b4277(0x1c8),'change':a92_0x2b4277(0x1fe)}};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 a93_0xfbb4(){const _0x4d7272=['105dPSHyy','convertIsoDates','content-type','funcs','toString','httpEncrypt','data','headers','dates','1816WBmhru','743562qunaGI','5nrpeZU','includes','未知错误','504556KvUGCw','49776EAdQEx','1496YLHGVI','1026228NwVnyf','application/json;\x20charset=UTF-8','join','token','globalProperties','err','url','reject','setExpired','decodeQuery','href','query','code','95893dSdZtX','split','refresh-token','Authorization','resolve','user','1277379TsLYcQ','10deMmNw','redirectTo','encrypt','indexOf','params','stringify','6ZlsLdi','slice','setToken'];a93_0xfbb4=function(){return _0x4d7272;};return a93_0xfbb4();}(function(_0x4ac32d,_0x1231dc){const _0x331b5f=a93_0x323e,_0x426042=_0x4ac32d();while(!![]){try{const _0x3a2d50=parseInt(_0x331b5f(0x1b0))/0x1*(parseInt(_0x331b5f(0x1bd))/0x2)+parseInt(_0x331b5f(0x1ca))/0x3+-parseInt(_0x331b5f(0x1ce))/0x4*(parseInt(_0x331b5f(0x1cb))/0x5)+parseInt(_0x331b5f(0x1a3))/0x6+parseInt(_0x331b5f(0x1c0))/0x7*(parseInt(_0x331b5f(0x1c9))/0x8)+parseInt(_0x331b5f(0x1b6))/0x9*(parseInt(_0x331b5f(0x1b7))/0xa)+parseInt(_0x331b5f(0x1a2))/0xb*(-parseInt(_0x331b5f(0x1a1))/0xc);if(_0x3a2d50===_0x1231dc)break;else _0x426042['push'](_0x426042['shift']());}catch(_0x420633){_0x426042['push'](_0x426042['shift']());}}}(a93_0xfbb4,0x27768));import{Message}from'./message.js';function a93_0x323e(_0x3b6a22,_0x41495c){const _0xfbb4c0=a93_0xfbb4();return a93_0x323e=function(_0x323ed4,_0x2212a8){_0x323ed4=_0x323ed4-0x1a1;let _0x28d8df=_0xfbb4c0[_0x323ed4];return _0x28d8df;},a93_0x323e(_0x3b6a22,_0x41495c);}const requestUse=(_0x53ead1,_0x13ba19,_0x14481c,_0x3a21b7,_0x36c1dc)=>{const _0x30b420=a93_0x323e;_0x36c1dc[_0x30b420(0x1c7)][_0x30b420(0x1b3)]||=_0x14481c[_0x30b420(0x1b5)][_0x30b420(0x1a6)];const _0x31c138=_0x53ead1['config'][_0x30b420(0x1a7)][_0x30b420(0x1c5)];if(_0x31c138!==![]){_0x36c1dc['headers']['Http-Encrypt']=_0x31c138;const _0x30c98e=_0x36c1dc[_0x30b420(0x1c6)]instanceof FormData;!_0x30c98e&&(_0x36c1dc[_0x30b420(0x1c7)]['Content-Type']||=_0x30b420(0x1a4));if(_0x36c1dc['url'][_0x30b420(0x1ba)]('?')>=0x0){const [_0x30705a,..._0x310ff4]=_0x36c1dc[_0x30b420(0x1a9)][_0x30b420(0x1b1)]('?'),_0x5dfec9=_0x13ba19['encrypt'][_0x31c138](_0x310ff4[_0x30b420(0x1a5)]('?'),'query');_0x36c1dc[_0x30b420(0x1a9)]=_0x30705a+'?'+_0x5dfec9;}else _0x36c1dc[_0x30b420(0x1bb)]||={'__placeholder__':Date['now']()['toString'](0x10)};if(_0x36c1dc[_0x30b420(0x1bb)]){const _0x47b227=decodeURIComponent(new URLSearchParams(_0x36c1dc['params'])[_0x30b420(0x1c4)]());_0x36c1dc['url']+='?'+_0x13ba19[_0x30b420(0x1b9)][_0x31c138](_0x47b227,_0x30b420(0x1ae)),delete _0x36c1dc[_0x30b420(0x1bb)];}if(_0x36c1dc[_0x30b420(0x1c6)]!==undefined&&!_0x30c98e){const _0x28c9cf=_0x13ba19[_0x30b420(0x1b9)][_0x31c138](JSON[_0x30b420(0x1bc)](_0x36c1dc['data']),'body');_0x36c1dc[_0x30b420(0x1c6)]=_0x28c9cf;}}return _0x36c1dc;},responseUse=(_0x393f04,_0x2dc0e3,_0x104f2d,_0x10c68b,_0x462382)=>{const _0x48c83f=a93_0x323e;if([0x191,0x192,0x2711][_0x48c83f(0x1cc)](_0x462382['data'][_0x48c83f(0x1af)])){_0x104f2d[_0x48c83f(0x1b5)][_0x48c83f(0x1ab)]();const _0x142dd6='/'+location['hash'][_0x48c83f(0x1be)](0x2)['split']('?')[0x0],_0x5b9da1=StardustJs[_0x48c83f(0x1c3)][_0x48c83f(0x1ac)](location[_0x48c83f(0x1ad)][_0x48c83f(0x1b1)]('?')[0x1]||'');return _0x10c68b['replace'](_0x5b9da1['redirectTo']?'/login?redirectTo='+(_0x5b9da1[_0x48c83f(0x1b8)]||_0x142dd6):'/login'),Promise['reject'](_0x462382);}else{if([0x2712][_0x48c83f(0x1cc)](_0x462382[_0x48c83f(0x1c6)][_0x48c83f(0x1af)]))return Message['e'](_0x462382[_0x48c83f(0x1c6)][_0x48c83f(0x1a8)]),Promise['reject'](_0x462382);}const _0x4872d7=_0x462382[_0x48c83f(0x1c7)][_0x48c83f(0x1b2)]||_0x462382[_0x48c83f(0x1c6)][_0x48c83f(0x1a6)];_0x4872d7&&_0x104f2d['user'][_0x48c83f(0x1bf)](_0x4872d7);if(_0x462382[_0x48c83f(0x1c6)][_0x48c83f(0x1a8)])return Message['e'](_0x462382[_0x48c83f(0x1c6)][_0x48c83f(0x1a8)]||_0x48c83f(0x1cd)),Promise[_0x48c83f(0x1aa)](_0x462382);return _0x462382[_0x48c83f(0x1c7)][_0x48c83f(0x1c2)]?.['includes']('application/json')&&(_0x462382['data']=JSON['parse'](StardustJs[_0x48c83f(0x1c8)][_0x48c83f(0x1c1)](JSON['stringify'](_0x462382['data'])))),Promise[_0x48c83f(0x1b4)](_0x462382[_0x48c83f(0x1c6)]);};export{requestUse,responseUse};
|
package/packages/utils/site.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a94_0x3be1(){const _0x31d9ea=['248mwApax','3ELNbgx','font','innerWidth','10AsTqkk','2789847kueADb','799732cRpQYB','Style','height','1838760cQrYIs','46250wehAPA','createElement','6XCYyoi','canvas','55923KZqdfr','3901546sQvGtA','width','Text','fill','178845bFAJFE','measureText'];a94_0x3be1=function(){return _0x31d9ea;};return a94_0x3be1();}const a94_0x39722b=a94_0x4826;function a94_0x4826(_0x103808,_0x555888){const _0x3be13c=a94_0x3be1();return a94_0x4826=function(_0x4826e2,_0xbc5393){_0x4826e2=_0x4826e2-0xdc;let _0x1fe434=_0x3be13c[_0x4826e2];return _0x1fe434;},a94_0x4826(_0x103808,_0x555888);}(function(_0x363cc9,_0x479760){const _0x365804=a94_0x4826,_0x569b5f=_0x363cc9();while(!![]){try{const _0x2e8c11=parseInt(_0x365804(0xe3))/0x1*(parseInt(_0x365804(0xdd))/0x2)+-parseInt(_0x365804(0xef))/0x3*(parseInt(_0x365804(0xdf))/0x4)+-parseInt(_0x365804(0xec))/0x5*(-parseInt(_0x365804(0xe5))/0x6)+-parseInt(_0x365804(0xe7))/0x7*(-parseInt(_0x365804(0xee))/0x8)+-parseInt(_0x365804(0xde))/0x9+-parseInt(_0x365804(0xe2))/0xa+parseInt(_0x365804(0xe8))/0xb;if(_0x2e8c11===_0x479760)break;else _0x569b5f['push'](_0x569b5f['shift']());}catch(_0x4de5da){_0x569b5f['push'](_0x569b5f['shift']());}}}(a94_0x3be1,0x2add4));export const createWatermark=({text:_0x5b207d,gap:_0x45436c,fontSize:_0x520cf3,color:_0x5e6e2e,width:width=window[a94_0x39722b(0xdc)],height:height=window['innerHeight'],drawMode:drawMode=a94_0x39722b(0xeb)})=>{const _0x2f5d14=a94_0x39722b,_0x34e28a=document[_0x2f5d14(0xe4)](_0x2f5d14(0xe6));_0x34e28a['width']=width,_0x34e28a[_0x2f5d14(0xe1)]=height;const _0x45b3ef=_0x34e28a['getContext']('2d');_0x45b3ef[_0x2f5d14(0xf0)]=_0x520cf3+'px\x20Arial',_0x45b3ef[drawMode+_0x2f5d14(0xe0)]=_0x5e6e2e;const _0x3bda19=_0x45b3ef[_0x2f5d14(0xed)](_0x5b207d)[_0x2f5d14(0xe9)],_0x16b329=_0x3bda19+_0x45436c,_0x19abca=_0x520cf3+_0x45436c;for(let _0x3617fe=_0x45436c/0x2;_0x3617fe<height;_0x3617fe+=_0x19abca){for(let _0x57aa83=_0x45436c/0x2;_0x57aa83<width;_0x57aa83+=_0x16b329){_0x45b3ef[drawMode+_0x2f5d14(0xea)](_0x5b207d,_0x57aa83,_0x3617fe);}}return _0x34e28a;};export default{'createWatermark':createWatermark};
|
package/packages/vite-plugins.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a95_0x30f5(){const _0x37e1cd=['replace','import\x20makeModel\x20from\x20\x27./model.js\x27','no\x20model','_ctx\x20=\x20wrapCtx(_ctx,\x20filterPrivateFields(model))','toLowerCase','</style>','push','<script\x20setup>\x0a','/src/','basename','includes','29498100InmjlK','vue\x20})','-scoped.scss','auto-inject','return\x20{\x20...__returned__,\x20...filterPrivateFields(model)\x20}','return\x20{\x20...__returned__,\x20...filterPrivateFields(controller)\x20}','13856lOoQuh','<script\x20setup>','62503EQZbpM','\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','auto-deconstruct','<style\x20lang=\x22scss\x22\x20scoped>','import\x20model','startsWith','no\x20controller','join','filter','<script>','controller.js','36YGRFck','.scss','1115HzdMCC','204378fbqnaN','.vue','const\x20model','return\x20{\x20...__returned__,\x20...filterPrivateFields(model),\x20...filterPrivateFields(controller)\x20}',',\x20\x27','Object','.scss\x22;','const\x20model\x20=\x20makeModel()','_ctx\x20=\x20wrapCtx(_ctx,\x20null,\x20filterPrivateFields(controller))','<script>\x0a','split','1407180LOfJmM','map','-scoped.scss\x22;','existsSync','return\x20(_ctx,\x20_cache)\x20=>\x20{','588DOHweC','import\x20makeController\x20','import\x20makeController\x20from\x20\x27./controller.js\x27','\x27)\x0a','1532850ZLSvnt','DbName','2208584VLwfXY','import\x20makeModel\x20','@use\x20\x22./','splice'];a95_0x30f5=function(){return _0x37e1cd;};return a95_0x30f5();}function a95_0x3a11(_0x3f47d1,_0x2701a0){const _0x30f5c8=a95_0x30f5();return a95_0x3a11=function(_0x3a1182,_0x15ff1b){_0x3a1182=_0x3a1182-0x13d;let _0x129f94=_0x30f5c8[_0x3a1182];return _0x129f94;},a95_0x3a11(_0x3f47d1,_0x2701a0);}const a95_0x3d61a7=a95_0x3a11;(function(_0x7ce9a6,_0x49f961){const _0x1ca02d=a95_0x3a11,_0x87e088=_0x7ce9a6();while(!![]){try{const _0x2239ee=parseInt(_0x1ca02d(0x141))/0x1+-parseInt(_0x1ca02d(0x14c))/0x2+-parseInt(_0x1ca02d(0x155))/0x3+parseInt(_0x1ca02d(0x16c))/0x4*(parseInt(_0x1ca02d(0x140))/0x5)+parseInt(_0x1ca02d(0x151))/0x6*(-parseInt(_0x1ca02d(0x16e))/0x7)+parseInt(_0x1ca02d(0x157))/0x8*(-parseInt(_0x1ca02d(0x13e))/0x9)+parseInt(_0x1ca02d(0x166))/0xa;if(_0x2239ee===_0x49f961)break;else _0x87e088['push'](_0x87e088['shift']());}catch(_0x5709f2){_0x87e088['push'](_0x87e088['shift']());}}}(a95_0x30f5,0xb2e72));import a95_0x5eac89 from'node:fs';import a95_0x27ad53 from'node:path';const filterPrivateFields=a95_0x3d61a7(0x16f),inject=(_0x3c176c,_0x50c802)=>{const _0x1bc6d6=a95_0x3d61a7,_0x8b0be7=a95_0x27ad53['dirname'](_0x50c802),_0x1807b9=a95_0x27ad53[_0x1bc6d6(0x164)](_0x50c802),_0x5d3d77=_0x1807b9[_0x1bc6d6(0x14b)]('.')[0x0],_0x8f3663=a95_0x5eac89[_0x1bc6d6(0x14f)](a95_0x27ad53[_0x1bc6d6(0x175)](_0x8b0be7,_0x5d3d77+_0x1bc6d6(0x168))),_0x41b8ce=a95_0x5eac89[_0x1bc6d6(0x14f)](a95_0x27ad53[_0x1bc6d6(0x175)](_0x8b0be7,_0x5d3d77+_0x1bc6d6(0x13f))),_0x2f791c=a95_0x5eac89[_0x1bc6d6(0x14f)](a95_0x27ad53[_0x1bc6d6(0x175)](_0x8b0be7,'model.js')),_0x2f820c=a95_0x5eac89['existsSync'](a95_0x27ad53['join'](_0x8b0be7,_0x1bc6d6(0x13d))),_0x42829e=_0x2f791c&&!_0x3c176c[_0x1bc6d6(0x165)](_0x1bc6d6(0x15d))&&!_0x3c176c[_0x1bc6d6(0x165)](_0x1bc6d6(0x143))&&!_0x3c176c[_0x1bc6d6(0x165)](_0x1bc6d6(0x172)),_0x427929=_0x2f820c&&!_0x3c176c['includes'](_0x1bc6d6(0x174))&&!_0x3c176c[_0x1bc6d6(0x165)]('const\x20controller')&&!_0x3c176c[_0x1bc6d6(0x165)]('import\x20controller');if(_0x50c802[_0x1bc6d6(0x165)](_0x1bc6d6(0x163))&&_0x1807b9[_0x1bc6d6(0x165)](_0x1bc6d6(0x142))&&_0x3c176c[_0x1bc6d6(0x173)]('<script\x20setup>')){_0x3c176c=_0x3c176c[_0x1bc6d6(0x15b)](_0x1bc6d6(0x16d),_0x1bc6d6(0x162));const _0x5e2494=_0x3c176c['split']('\x0a');_0x8f3663&&_0x5e2494[_0x1bc6d6(0x161)](...[_0x1bc6d6(0x171),_0x1bc6d6(0x159)+_0x5d3d77+_0x1bc6d6(0x14e),_0x1bc6d6(0x160)]),_0x41b8ce&&_0x5e2494[_0x1bc6d6(0x161)](...['<style\x20lang=\x22scss\x22>',_0x1bc6d6(0x159)+_0x5d3d77+_0x1bc6d6(0x147),_0x1bc6d6(0x160)]),_0x427929&&_0x5e2494[_0x1bc6d6(0x15a)](0x1,0x0,_0x1bc6d6(0x153),'const\x20controller\x20=\x20makeController({\x20'+(_0x42829e?'model,\x20':'')+_0x1bc6d6(0x167)),_0x42829e&&_0x5e2494[_0x1bc6d6(0x15a)](0x1,0x0,_0x1bc6d6(0x15c),_0x1bc6d6(0x148)),_0x3c176c=_0x5e2494[_0x1bc6d6(0x175)]('\x0a');}return _0x3c176c;},instantiateTables=(_0x392fd8,_0x219c61)=>{const _0xc50ced=a95_0x3d61a7,_0x4e1c2a=a95_0x27ad53[_0xc50ced(0x164)](_0x219c61),_0x242bd5=_0x4e1c2a['includes'](_0xc50ced(0x142)),_0x3351be=_0x4e1c2a['includes']('.js');if(_0x219c61[_0xc50ced(0x165)](_0xc50ced(0x163))&&(_0x242bd5||_0x3351be)){const _0x4a7695=_0x392fd8[_0xc50ced(0x14b)]('\x0a')[_0xc50ced(0x14d)](_0x2c64a5=>_0x2c64a5['trim']())[_0xc50ced(0x176)](_0x14e99b=>!_0x14e99b['startsWith']('//'))['join']('\x0a');let _0x5df4d3=[...new Set([..._0x4a7695['matchAll'](/[^a-z][A-Z]\w+\.(search|add|update|remove|func|batch|get)/g)][_0xc50ced(0x14d)](_0x1d9703=>_0x1d9703[0x0]['slice'](0x1)['split']('.')[0x0]))];_0x5df4d3=_0x5df4d3['filter'](_0x8463d2=>![_0xc50ced(0x146)][_0xc50ced(0x165)](_0x8463d2));if(_0x5df4d3['length']){let _0xdc93b0='';_0x5df4d3['forEach'](_0x4c319d=>{const _0x4c72a4=_0xc50ced;let [_0x22aac0,_0x5e0329]=_0x4c319d[_0x4c72a4(0x14b)]('_')[_0x4c72a4(0x14d)](_0x1c473d=>_0x1c473d['replace'](/[A-Z]/g,_0x589bbb=>'_'+_0x589bbb[_0x4c72a4(0x15f)]())['slice'](0x1));_0x5e0329?_0x22aac0='\x27'+_0x22aac0+'\x27':(_0x5e0329=_0x22aac0,_0x22aac0=_0x4c72a4(0x156)),_0xdc93b0+='const\x20'+_0x4c319d+'\x20=\x20new\x20Table('+_0x22aac0+_0x4c72a4(0x145)+_0x5e0329+_0x4c72a4(0x154);}),_0x242bd5?_0x392fd8=_0x392fd8['replace'](_0xc50ced(0x16d),_0xc50ced(0x162)+_0xdc93b0)[_0xc50ced(0x15b)](_0xc50ced(0x177),_0xc50ced(0x14a)+_0xdc93b0):_0x392fd8=_0xdc93b0+_0x392fd8;}}return _0x392fd8;},deconstruct=(_0x386c35,_0xb27977)=>{const _0x412c0a=a95_0x3d61a7,_0x5093b8=a95_0x27ad53[_0x412c0a(0x164)](_0xb27977),_0x2ed8b8=_0x5093b8[_0x412c0a(0x165)](_0x412c0a(0x142));if(_0xb27977[_0x412c0a(0x165)](_0x412c0a(0x163))&&_0x2ed8b8){const _0x117207='return\x20__returned__',_0x1ef8bf=_0x412c0a(0x150),_0x7594ad=_0x386c35[_0x412c0a(0x165)](_0x117207),_0x62e4c5=_0x386c35[_0x412c0a(0x165)](_0x1ef8bf),_0x372a70=(_0x7594ad||_0x62e4c5)&&_0x386c35['includes'](_0x412c0a(0x158)),_0x4a8af9=(_0x7594ad||_0x62e4c5)&&_0x386c35['includes'](_0x412c0a(0x152));if(_0x372a70||_0x4a8af9){let _0x56c599=filterPrivateFields;if(_0x7594ad){if(_0x372a70&&_0x4a8af9)_0x56c599+=_0x412c0a(0x144);else{if(_0x372a70)_0x56c599+=_0x412c0a(0x16a);else _0x4a8af9&&(_0x56c599+=_0x412c0a(0x16b));}}else{_0x56c599+=_0x1ef8bf+'\x0a';if(_0x372a70&&_0x4a8af9)_0x56c599+='_ctx\x20=\x20wrapCtx(_ctx,\x20filterPrivateFields(model),\x20filterPrivateFields(controller))';else{if(_0x372a70)_0x56c599+=_0x412c0a(0x15e);else _0x4a8af9&&(_0x56c599+=_0x412c0a(0x149));}_0x56c599+='\x0a';}_0x386c35=_0x386c35[_0x412c0a(0x15b)](_0x7594ad?_0x117207:_0x1ef8bf,_0x56c599);}}return _0x386c35;};export const autoInject=(_0x1a25f3={})=>{const _0x51243c=a95_0x3d61a7;return{'name':_0x51243c(0x169),'transform'(_0x277b3a,_0x651d58){return _0x277b3a=inject(_0x277b3a,_0x651d58),_0x1a25f3['instantiateTables']!==![]&&(_0x277b3a=instantiateTables(_0x277b3a,_0x651d58)),{'code':_0x277b3a};}};};export const autoDeconstruct=()=>{const _0x5ca1ef=a95_0x3d61a7;return{'name':_0x5ca1ef(0x170),'transform'(_0x839a3f,_0x24a082){return{'code':deconstruct(_0x839a3f,_0x24a082)};}};};
|
package/src/main.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a96_0x134bb2=a96_0x222f;(function(_0x3b1197,_0x21db02){const _0x376982=a96_0x222f,_0x384b44=_0x3b1197();while(!![]){try{const _0x208ea7=-parseInt(_0x376982(0x156))/0x1+-parseInt(_0x376982(0x163))/0x2+-parseInt(_0x376982(0x157))/0x3*(parseInt(_0x376982(0x167))/0x4)+-parseInt(_0x376982(0x15b))/0x5*(-parseInt(_0x376982(0x15d))/0x6)+-parseInt(_0x376982(0x155))/0x7+-parseInt(_0x376982(0x161))/0x8+-parseInt(_0x376982(0x164))/0x9*(-parseInt(_0x376982(0x159))/0xa);if(_0x208ea7===_0x21db02)break;else _0x384b44['push'](_0x384b44['shift']());}catch(_0x30f142){_0x384b44['push'](_0x384b44['shift']());}}}(a96_0x2044,0xc484e));import{createApp}from'vue';import a96_0x48f7c7 from'element-plus';import a96_0x37f40b from'vant';import a96_0x2bcf20 from'../packages/index.js';import'../packages/index.scss';function a96_0x222f(_0x9e3036,_0x1dc878){const _0x2044d0=a96_0x2044();return a96_0x222f=function(_0x222fd1,_0x21f4e5){_0x222fd1=_0x222fd1-0x155;let _0x2700cc=_0x2044d0[_0x222fd1];return _0x2700cc;},a96_0x222f(_0x9e3036,_0x1dc878);}import a96_0x5d1181,{API_BASE_URL}from'./request.js';import a96_0x4aabdd from'@/App.vue';const app=createApp(a96_0x4aabdd);app[a96_0x134bb2(0x158)](a96_0x134bb2(0x166),{'created'(_0x4e8c78,_0x2e985e){}}),app[a96_0x134bb2(0x162)](a96_0x48f7c7);function a96_0x2044(){const _0x33ce54=['2211532YXXPRz','31274739NqGRCH','component','domid','31604tNGFHz','1834014tWuTKE','563468LWzfqe','78YLMKRA','directive','10FxKFSr','mount','270FXsGdh','isMobile','24066wXlvKq','#app','config','entries','5999688rAUtho','use'];a96_0x2044=function(){return _0x33ce54;};return a96_0x2044();}for(const [key,component]of Object[a96_0x134bb2(0x160)](ElementPlusIconsVue)){app[a96_0x134bb2(0x165)](key,component);}app[a96_0x134bb2(0x162)](a96_0x37f40b),app['use'](a96_0x2bcf20,{'ElementPlus':a96_0x48f7c7,'Vant':a96_0x37f40b}),Object['assign'](app[a96_0x134bb2(0x15f)]['globalProperties'],{'isMobile':window[a96_0x134bb2(0x15c)],'service':{'request':a96_0x5d1181,'API_BASE_URL':API_BASE_URL},'$store':{'app':{'sidebarCollapse':![],'toggleDuration':0x0}}}),app[a96_0x134bb2(0x15a)](a96_0x134bb2(0x15e));export default app;
|
package/src/request.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a97_0x58dc70=a97_0x187a;(function(_0x1aaee7,_0x1ddd3e){const _0x499bc9=a97_0x187a,_0x243517=_0x1aaee7();while(!![]){try{const _0x4f908e=-parseInt(_0x499bc9(0x1e2))/0x1*(-parseInt(_0x499bc9(0x1d8))/0x2)+-parseInt(_0x499bc9(0x1dc))/0x3+parseInt(_0x499bc9(0x1ec))/0x4*(parseInt(_0x499bc9(0x1e6))/0x5)+-parseInt(_0x499bc9(0x1da))/0x6*(-parseInt(_0x499bc9(0x1ee))/0x7)+parseInt(_0x499bc9(0x1eb))/0x8*(parseInt(_0x499bc9(0x1e8))/0x9)+parseInt(_0x499bc9(0x1f1))/0xa+parseInt(_0x499bc9(0x1e4))/0xb*(-parseInt(_0x499bc9(0x1dd))/0xc);if(_0x4f908e===_0x1ddd3e)break;else _0x243517['push'](_0x243517['shift']());}catch(_0x1b4995){_0x243517['push'](_0x243517['shift']());}}}(a97_0x1133,0x3e159));function a97_0x187a(_0x17afc1,_0x56355a){const _0x113306=a97_0x1133();return a97_0x187a=function(_0x187a65,_0x54f19e){_0x187a65=_0x187a65-0x1d6;let _0x54f62d=_0x113306[_0x187a65];return _0x54f62d;},a97_0x187a(_0x17afc1,_0x56355a);}const {PROD,VITE_DEV_BASE_URL,VITE_PROD_BASE_URL,VITE_TIMEOUT=0xea60}=import.meta[a97_0x58dc70(0x1df)],API_BASE_URL=window[a97_0x58dc70(0x1d6)]||(PROD?VITE_PROD_BASE_URL:VITE_DEV_BASE_URL),createRequest=_0x442173=>{const _0x1a253b=a97_0x58dc70,_0x3a673f=axios[_0x1a253b(0x1ef)]({'baseURL':API_BASE_URL,'timeout':VITE_TIMEOUT*0x1,..._0x442173});return _0x3a673f[_0x1a253b(0x1db)][_0x1a253b(0x1f0)][_0x1a253b(0x1e5)](_0x1bfa5c=>{return _0x1bfa5c;},_0x15f666=>{console['error'](_0x15f666);}),_0x3a673f[_0x1a253b(0x1db)][_0x1a253b(0x1d9)]['use'](_0x5cf8dd=>{return _0x5cf8dd;},_0x5dfcf8=>{const _0x3ea3ce=_0x1a253b;console[_0x3ea3ce(0x1e3)](_0x5dfcf8);}),_0x3a673f;},fetchRequest=(_0x712c17,_0x20a873={})=>{const _0x10e920=a97_0x58dc70;_0x712c17=_0x712c17[_0x10e920(0x1ea)](_0x10e920(0x1ed))?_0x712c17:API_BASE_URL+_0x712c17;const {method:method='GET',headers:_0x3a3b65,body:_0x5307f6,..._0x2cb0e2}=_0x20a873,_0x88c6a3={'method':method,..._0x2cb0e2,'headers':{'content-type':_0x10e920(0x1de),..._0x3a3b65}};return[_0x10e920(0x1e0),_0x10e920(0x1e7)]['includes'](method[_0x10e920(0x1e1)]())&&(_0x88c6a3['body']=typeof _0x5307f6===_0x10e920(0x1d7)?_0x5307f6:JSON[_0x10e920(0x1e9)](_0x5307f6)),fetch(_0x712c17,_0x88c6a3);};export default createRequest();export{API_BASE_URL,createRequest,fetchRequest};function a97_0x1133(){const _0x320197=['http','2523626ieCpOJ','create','request','4755670gmMXPi','API_BASE_URL','string','48hUUJrG','response','6bQALCC','interceptors','129420uZtJeM','30828fvkTMS','application/json','env','PUT','toUpperCase','16443dolQNd','error','4829NAznaB','use','735lLQXdY','POST','7677bSTeHl','stringify','startsWith','1776MhxvXo','140ITTJCK'];a97_0x1133=function(){return _0x320197;};return a97_0x1133();}
|
package/vite.config.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a98_0x4b6c63=a98_0x5ae1;(function(_0x50e088,_0x4eae76){const _0x36b913=a98_0x5ae1,_0x4a948b=_0x50e088();while(!![]){try{const _0x1c94f9=parseInt(_0x36b913(0x1fb))/0x1*(parseInt(_0x36b913(0x1f9))/0x2)+parseInt(_0x36b913(0x1fd))/0x3*(parseInt(_0x36b913(0x1eb))/0x4)+-parseInt(_0x36b913(0x1f5))/0x5*(-parseInt(_0x36b913(0x1f7))/0x6)+-parseInt(_0x36b913(0x1ef))/0x7*(-parseInt(_0x36b913(0x1f6))/0x8)+-parseInt(_0x36b913(0x1f2))/0x9*(parseInt(_0x36b913(0x1ee))/0xa)+parseInt(_0x36b913(0x1ec))/0xb*(parseInt(_0x36b913(0x1fa))/0xc)+-parseInt(_0x36b913(0x1ed))/0xd;if(_0x1c94f9===_0x4eae76)break;else _0x4a948b['push'](_0x4a948b['shift']());}catch(_0x46fe8d){_0x4a948b['push'](_0x4a948b['shift']());}}}(a98_0x2014,0x4e12e));import a98_0x200cf2 from'path';import{defineConfig}from'vite';import a98_0x5974d9 from'@vitejs/plugin-vue';import a98_0x20f4bc from'@vitejs/plugin-legacy';function a98_0x2014(){const _0x5d34d7=['Vue','vue/dist/vue.esm-bundler.js','780795kweEgl','4932600JwEbBC','6XelGON','cwd','2OblZWc','12uKMpEK','32609VskuSJ','dist','12495BGBrZb','includes','2023-11','node_modules/','split','vue','456MEEHqm','4637908KTsJUz','15201654NAicbV','2126330ZBxrAx','7KgDOdg','regenerator-runtime/runtime','decorators','9nVlQLM'];a98_0x2014=function(){return _0x5d34d7;};return a98_0x2014();}import a98_0x294f15 from'@vitejs/plugin-vue-jsx';import a98_0x12d920 from'@rollup/plugin-commonjs';import a98_0xfe3643 from'rollup-plugin-external-globals';import{babel}from'@rollup/plugin-babel';import{createStyleImportPlugin,VantResolve}from'vite-plugin-style-import';const resolve=_0x366a38=>a98_0x200cf2['join'](process[a98_0x4b6c63(0x1f8)](),_0x366a38);function a98_0x5ae1(_0x265bc8,_0x348c68){const _0x20148d=a98_0x2014();return a98_0x5ae1=function(_0x5ae14a,_0x2f6a62){_0x5ae14a=_0x5ae14a-0x1e9;let _0x55669d=_0x20148d[_0x5ae14a];return _0x55669d;},a98_0x5ae1(_0x265bc8,_0x348c68);}export default defineConfig(({command:_0x298cd6,mode:_0x2c4dbe})=>{const _0x6c3915=a98_0x4b6c63,_0x1dd851={'plugins':[a98_0x5974d9({'template':{'compilerOptions':{'expressionPlugins':[[_0x6c3915(0x1f1),{'version':_0x6c3915(0x1ff)}]]}},'script':{'babelParserPlugins':[[_0x6c3915(0x1f1),{'version':'2023-11'}],_0x6c3915(0x1f1)]}}),a98_0x294f15(),babel({'compact':![],'plugins':[['@babel/plugin-proposal-decorators',{'version':_0x6c3915(0x1ff)}]]}),createStyleImportPlugin({'resolves':[VantResolve()]}),a98_0x20f4bc({'targets':['defaults'],'additionalLegacyPolyfills':[_0x6c3915(0x1f0)]})],'runtimeCompiler':!![],'build':{'outDir':_0x6c3915(0x1fc),'rollupOptions':{'external':[_0x6c3915(0x1ea)],'plugins':[a98_0x12d920(),a98_0xfe3643({'vue':_0x6c3915(0x1f3)})],'output':{'manualChunks'(_0x3061bc){const _0x128975=_0x6c3915;if(_0x3061bc[_0x128975(0x1fe)]('node_modules'))return _0x3061bc['toString']()[_0x128975(0x1e9)](_0x128975(0x200))[0x1][_0x128975(0x1e9)]('/')[0x0]['toString']();}}}},'resolve':{'alias':{'@':resolve('src'),'vue':_0x6c3915(0x1f4)}}};return _0x1dd851;});
|
package/vite.lib.config.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a99_0x1ff04b=a99_0x1ff9;(function(_0x27c142,_0x54e18a){const _0xfb65cb=a99_0x1ff9,_0x114783=_0x27c142();while(!![]){try{const _0x433a66=-parseInt(_0xfb65cb(0x11e))/0x1*(-parseInt(_0xfb65cb(0x128))/0x2)+-parseInt(_0xfb65cb(0x120))/0x3+parseInt(_0xfb65cb(0x121))/0x4+parseInt(_0xfb65cb(0x11a))/0x5*(-parseInt(_0xfb65cb(0x12a))/0x6)+parseInt(_0xfb65cb(0x11d))/0x7+-parseInt(_0xfb65cb(0x123))/0x8*(parseInt(_0xfb65cb(0x11c))/0x9)+-parseInt(_0xfb65cb(0x119))/0xa;if(_0x433a66===_0x54e18a)break;else _0x114783['push'](_0x114783['shift']());}catch(_0x1f3152){_0x114783['push'](_0x114783['shift']());}}}(a99_0x37a7,0x277bf));function a99_0x37a7(){const _0x149da0=['9GMEIAS','1373176RUEgji','315646uVDrzv','cwd','125232MpLXFK','435876ocRZzy','split','2124272JFuZuO','index','src','node_modules/','./packages/index.js','2WAHOwk','Vue','6MpQNYo','includes','toString','StardustUI','join','vue','906550yFcyez','305615jfnkHe','vue/dist/vue.esm-bundler.js'];a99_0x37a7=function(){return _0x149da0;};return a99_0x37a7();}function a99_0x1ff9(_0x2cbe02,_0x332b2c){const _0x37a79d=a99_0x37a7();return a99_0x1ff9=function(_0x1ff9c9,_0x5a0a27){_0x1ff9c9=_0x1ff9c9-0x119;let _0x2da5cb=_0x37a79d[_0x1ff9c9];return _0x2da5cb;},a99_0x1ff9(_0x2cbe02,_0x332b2c);}import a99_0x4ab987 from'path';import{defineConfig}from'vite';import a99_0x37fe52 from'@vitejs/plugin-vue';import a99_0xf6f63 from'@vitejs/plugin-vue-jsx';import a99_0x34e6e2 from'@rollup/plugin-commonjs';import a99_0x3b6450 from'rollup-plugin-external-globals';import{createStyleImportPlugin,VantResolve}from'vite-plugin-style-import';const resolve=_0x1d3aa6=>a99_0x4ab987[a99_0x1ff04b(0x12e)](process[a99_0x1ff04b(0x11f)](),_0x1d3aa6);export default defineConfig(({command:_0x468dfa,mode:_0x42fa85})=>{const _0x2a3919=a99_0x1ff04b,_0x640dd6={'plugins':[a99_0x37fe52(),a99_0xf6f63(),createStyleImportPlugin({'resolves':[VantResolve()]})],'runtimeCompiler':!![],'build':{'outDir':'./','lib':{'entry':_0x2a3919(0x127),'name':_0x2a3919(0x12d),'fileName':_0x2a3919(0x124),'formats':['es']},'rollupOptions':{'external':[_0x2a3919(0x12f)],'plugins':[a99_0x34e6e2()],'output':{'globals':{'vue':_0x2a3919(0x129)},'manualChunks'(_0x25293a){const _0x3b7b93=_0x2a3919;if(_0x25293a[_0x3b7b93(0x12b)]('node_modules'))return _0x25293a[_0x3b7b93(0x12c)]()[_0x3b7b93(0x122)](_0x3b7b93(0x126))[0x1][_0x3b7b93(0x122)]('/')[0x0]['toString']();}}}},'resolve':{'alias':{'@':resolve(_0x2a3919(0x125)),'vue':_0x2a3919(0x11b)}}};return _0x640dd6;});
|