@wp1001/ui 3.6.3 → 3.6.6
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/sidebar/menu.vue +5 -0
- 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(_0x578a51,_0x37f580){const _0x1c02ec=a90_0x30d7,_0x3111ab=_0x578a51();while(!![]){try{const _0x3af8bc=-parseInt(_0x1c02ec(0x15f))/0x1*(-parseInt(_0x1c02ec(0x158))/0x2)+-parseInt(_0x1c02ec(0x161))/0x3+parseInt(_0x1c02ec(0x171))/0x4*(parseInt(_0x1c02ec(0x155))/0x5)+-parseInt(_0x1c02ec(0x16f))/0x6*(-parseInt(_0x1c02ec(0x16c))/0x7)+parseInt(_0x1c02ec(0x154))/0x8+-parseInt(_0x1c02ec(0x159))/0x9*(parseInt(_0x1c02ec(0x151))/0xa)+-parseInt(_0x1c02ec(0x156))/0xb*(parseInt(_0x1c02ec(0x152))/0xc);if(_0x3af8bc===_0x37f580)break;else _0x3111ab['push'](_0x3111ab['shift']());}catch(_0x296501){_0x3111ab['push'](_0x3111ab['shift']());}}}(a90_0x1e69,0x8a1ff));import{watch,nextTick}from'vue';import{Message}from'./message.js';function a90_0x30d7(_0x3c430f,_0x4bdf7d){const _0x1e690c=a90_0x1e69();return a90_0x30d7=function(_0x30d7e2,_0x50020c){_0x30d7e2=_0x30d7e2-0x14f;let _0x2f3c72=_0x1e690c[_0x30d7e2];return _0x2f3c72;},a90_0x30d7(_0x3c430f,_0x4bdf7d);}const {funcs}=StardustJs;export const check404=(_0x50d29b,_0x206d4a,_0x480500)=>{const _0x513a67=a90_0x30d7;_0x50d29b[_0x513a67(0x15a)](async(_0x1d4607,_0x4ddbe7)=>{const _0x1fd9c8=_0x513a67;return!!_0x1d4607[_0x1fd9c8(0x162)][_0x1fd9c8(0x15b)]||'/404';});};export const setTitle=(_0x4743e2,_0x2a0800,_0x392324)=>{const _0x4a66d5=a90_0x30d7;_0x4743e2[_0x4a66d5(0x165)]((_0x83bdf1,_0x1a7ca5)=>{const _0x541a0e=_0x4a66d5;document[_0x541a0e(0x172)]=_0x83bdf1[_0x541a0e(0x162)][_0x83bdf1[_0x541a0e(0x162)][_0x541a0e(0x15b)]-0x1][_0x541a0e(0x15c)]?.[_0x541a0e(0x172)]||_0x2a0800[_0x541a0e(0x168)][_0x541a0e(0x170)];});};export const checkRolesPages=(_0x58418c,_0x52d51d,_0x424599)=>{const _0x168aca=a90_0x30d7;_0x58418c[_0x168aca(0x15a)](async(_0xb78d56,_0x4f1d08)=>{const _0x5cb732=_0x168aca,_0x38a9d0=_0xb78d56[_0x5cb732(0x162)][_0xb78d56[_0x5cb732(0x162)][_0x5cb732(0x15b)]-0x1][_0x5cb732(0x15e)]['split']('/:')[0x0];if(_0xb78d56[_0x5cb732(0x15c)][_0x5cb732(0x167)]===![]||_0xb78d56[_0x5cb732(0x15c)]?.[_0x5cb732(0x153)])return!![];while(_0x52d51d['getters']['logging']){await funcs['sleep'](0x14);}await nextTick();if(_0x52d51d[_0x5cb732(0x167)][_0x5cb732(0x16e)][_0x5cb732(0x173)](_0x38a9d0))return!![];const _0x16dd6c={'redirectTo':_0xb78d56[_0x5cb732(0x15e)],..._0xb78d56['query']};return _0x52d51d[_0x5cb732(0x160)]['logined']&&(_0x16dd6c[_0x5cb732(0x166)]='受限于您的账号权限,暂时无法访问\x20'+_0xb78d56[_0x5cb732(0x15e)]+_0x5cb732(0x150),Message({'message':_0x16dd6c['error'],'duration':0x2710})),{'path':_0x52d51d[_0x5cb732(0x167)]['paths'][0x0]||_0x5cb732(0x15d),'query':_0x16dd6c};}),nextTick(()=>{const _0x3af734=_0x168aca;let _0x1d8ef5=![];watch(()=>_0x52d51d[_0x3af734(0x167)][_0x3af734(0x14f)],_0x1b2ff2=>{const _0x3aeda6=_0x3af734;if(!_0x1d8ef5){if(!_0x1b2ff2[_0x3aeda6(0x15b)])return;_0x1d8ef5=!![];}const _0x1de561=_0x52d51d[_0x3aeda6(0x167)][_0x3aeda6(0x16e)],_0x41cf24=(_0x1bdbf0,_0x30675f)=>{const _0x57c6e8=_0x3aeda6;let _0x3ebe4f;_0x1bdbf0[_0x57c6e8(0x164)]&&!_0x1bdbf0['component']?_0x3ebe4f=_0x1bdbf0[_0x57c6e8(0x164)]:_0x3ebe4f=[..._0x30675f,_0x1bdbf0][_0x57c6e8(0x157)]((_0x584a30,_0x5b1038)=>_0x584a30+'/'+_0x5b1038[_0x57c6e8(0x15e)],'')[_0x57c6e8(0x16d)]('//','/'),_0x1bdbf0[_0x57c6e8(0x15c)]||={},_0x1bdbf0[_0x57c6e8(0x15c)][_0x57c6e8(0x167)]===![]?_0x1bdbf0[_0x57c6e8(0x163)]?.[_0x57c6e8(0x16a)](_0x26d9b1=>{const _0x106fc1=_0x57c6e8;_0x26d9b1[_0x106fc1(0x15c)]||={},_0x26d9b1[_0x106fc1(0x15c)][_0x106fc1(0x167)]||=![],_0x41cf24(_0x26d9b1,[..._0x30675f,_0x1bdbf0]);}):(_0x1bdbf0[_0x57c6e8(0x15c)][_0x57c6e8(0x16b)]=_0x1bdbf0[_0x57c6e8(0x15c)][_0x57c6e8(0x169)],parent&&(_0x1bdbf0[_0x57c6e8(0x15c)]['hidden']==null&&(_0x1bdbf0['meta'][_0x57c6e8(0x169)]??=parent[_0x57c6e8(0x15c)]?.[_0x57c6e8(0x169)],_0x1bdbf0[_0x57c6e8(0x15c)]={..._0x1bdbf0['meta']}),_0x1bdbf0['meta'][_0x57c6e8(0x153)]==null&&(_0x1bdbf0[_0x57c6e8(0x15c)][_0x57c6e8(0x153)]??=parent[_0x57c6e8(0x15c)]?.[_0x57c6e8(0x153)],_0x1bdbf0[_0x57c6e8(0x15c)]={..._0x1bdbf0[_0x57c6e8(0x15c)]})),_0x1bdbf0['children']?.[_0x57c6e8(0x16a)](_0x34bd77=>_0x41cf24(_0x34bd77,[..._0x30675f,_0x1bdbf0])),_0x1bdbf0[_0x57c6e8(0x15c)][_0x57c6e8(0x169)]!==![]&&_0x1bdbf0['meta']['_hidden']!==!![]&&(_0x1bdbf0[_0x57c6e8(0x15c)][_0x57c6e8(0x169)]=!_0x1de561[_0x57c6e8(0x173)](_0x3ebe4f),_0x1bdbf0[_0x57c6e8(0x163)]?.['some'](_0x162b15=>_0x162b15['meta']['hidden']===![])&&(_0x1bdbf0[_0x57c6e8(0x15c)][_0x57c6e8(0x169)]=![])));};_0x424599['forEach'](_0x78c3b6=>_0x41cf24(_0x78c3b6,[]));},{'immediate':!![]});});};function a90_0x1e69(){const _0x82c962=['32hTlLom','title','includes','menus','\x20页面,如有需要请联系我们','15110IphXmX','17523060CFnKZk','visitable','8734336AAIZtV','403120YsfluH','11zPNJCU','reduce','5140ASJNVf','3069IYHBqd','beforeEach','length','meta','/404','path','357JbITUp','getters','3239334jkMkMm','matched','children','redirect','afterEach','error','acl','app','hidden','forEach','_hidden','157381DsZYOg','replace','paths','258oVLxpU','sitename'];a90_0x1e69=function(){return _0x82c962;};return a90_0x1e69();}export default{'check404':check404,'setTitle':setTitle,'checkRolesPages':checkRolesPages};
|
package/packages/utils/model.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a91_0x410112=a91_0x25ed;(function(_0x2fc001,_0xc9dd36){const _0xbd3f96=a91_0x25ed,_0x413449=_0x2fc001();while(!![]){try{const _0x8eb0ea=parseInt(_0xbd3f96(0x194))/0x1+parseInt(_0xbd3f96(0x191))/0x2+parseInt(_0xbd3f96(0x189))/0x3*(-parseInt(_0xbd3f96(0x192))/0x4)+parseInt(_0xbd3f96(0x18d))/0x5*(parseInt(_0xbd3f96(0x18b))/0x6)+-parseInt(_0xbd3f96(0x18e))/0x7+-parseInt(_0xbd3f96(0x190))/0x8*(parseInt(_0xbd3f96(0x188))/0x9)+-parseInt(_0xbd3f96(0x18a))/0xa*(-parseInt(_0xbd3f96(0x187))/0xb);if(_0x8eb0ea===_0xc9dd36)break;else _0x413449['push'](_0x413449['shift']());}catch(_0x1530a5){_0x413449['push'](_0x413449['shift']());}}}(a91_0x52bd,0x4629f));export const baseForm=()=>({'loading':![],'form':{},'initialForm':{},'formItems':[],'formRef':null,'formRules':{},'initialFormRules':{},'_isBaseForm':!![],'viewonly':![]});export const baseTable=(_0x4d0dbb={})=>({'loading':![],'query':{'page':0x1,'limit':0xa,'order':[],..._0x4d0dbb},'total':0x0,'moreLoading':![],'finished':![],'isInfinite':![],'list':[],'columns':[],'tableRef':null,'selection':[],'checked':null,'searchFields':[],'_isBaseTable':!![]});function a91_0x25ed(_0x28858f,_0x5b8df9){const _0x52bd91=a91_0x52bd();return a91_0x25ed=function(_0x25edee,_0x5529b3){_0x25edee=_0x25edee-0x187;let _0x451d6b=_0x52bd91[_0x25edee];return _0x451d6b;},a91_0x25ed(_0x28858f,_0x5b8df9);}export const baseDialog=()=>({...baseForm(),'visible':![],'isEditing':![],'editingIndex':'','editingRow':{},'_isBaseDialog':!![]});function a91_0x52bd(){const _0x5a5691=['197610yHmaSY','12dUpOMm','left','1404665RVhdnc','3032701GFrkeV','selection','24NDNjlj','843548MKIphf','4OdVRLE','_index','36249ZDCuLi','275DNxrXu','1686249tBdatx','693591OrVDFS'];a91_0x52bd=function(){return _0x5a5691;};return a91_0x52bd();}export const baseModel=({table:table={},dialog:dialog={},columns:columns=[{'fixed':a91_0x410112(0x18c),'type':a91_0x410112(0x18f)},{'type':a91_0x410112(0x193)}],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_0x4d1152=a92_0x340b;(function(_0x4b2d33,_0x44c514){const _0x3756cf=a92_0x340b,_0x1d4e0b=_0x4b2d33();while(!![]){try{const _0x272603=parseInt(_0x3756cf(0x17a))/0x1+-parseInt(_0x3756cf(0x169))/0x2+parseInt(_0x3756cf(0x155))/0x3+parseInt(_0x3756cf(0x14a))/0x4*(-parseInt(_0x3756cf(0x15e))/0x5)+-parseInt(_0x3756cf(0x145))/0x6*(parseInt(_0x3756cf(0x163))/0x7)+-parseInt(_0x3756cf(0x170))/0x8+parseInt(_0x3756cf(0x158))/0x9;if(_0x272603===_0x44c514)break;else _0x1d4e0b['push'](_0x1d4e0b['shift']());}catch(_0x184e32){_0x1d4e0b['push'](_0x1d4e0b['shift']());}}}(a92_0x337d,0xeb54e));function a92_0x337d(){const _0x4534fc=['initialForm','table','split','number','_isBaseTable','11418944vIeXTh','ElDatePicker','ta_','canEdit','hasOwnProperty','value-format','string','deepCopy','options','initialFormRules','408808Ttqqam','dialog','ElSwitch','isMobile','every','start-placeholder','canAdd','form','some','visible','assign','prop','keys','type','asyncValidator','match','formAttrs','canView','fa_','_isBaseDialog','onBlur','6ZDkuOM','XCheckboxs','push','includes','_isBaseForm','292hdhgrP','datetime','filter','change','endsWith','end-placeholder','ElInputNumber','formRules','YYYY-MM-DD','columns','YYYY-MM-DD\x20HH:mm:ss','1501665jVUJLJ','platform','startsWith','27463590dcbNiN','monthrange','slice','blur','comp','onChange','46680SCPllF','validator','virtual','tableAttrs','object','3507441QDDSje','formItems','date','x-checkboxs','required','daterange','773992QjRmAk','map'];a92_0x337d=function(){return _0x4534fc;};return a92_0x337d();}import{watch}from'vue';const {funcs}=StardustJs;export const initFields=_0x3731b0=>{const _0x4f94eb=a92_0x340b;return _0x3731b0[_0x4f94eb(0x16a)](_0xdee04f=>{const _0xc19fc7=_0x4f94eb,_0x29c400=Object[_0xc19fc7(0x186)](_0xdee04f);for(let _0x2d9528 of _0x29c400){if(_0x2d9528[_0xc19fc7(0x157)](_0xc19fc7(0x172)))_0xdee04f[_0xc19fc7(0x161)]??={},_0xdee04f[_0xc19fc7(0x161)][_0x2d9528[_0xc19fc7(0x15a)](0x3)]=_0xdee04f[_0x2d9528],delete _0xdee04f[_0x2d9528];else _0x2d9528[_0xc19fc7(0x157)](_0xc19fc7(0x142))&&(_0xdee04f[_0xc19fc7(0x140)]??={},_0xdee04f[_0xc19fc7(0x140)][_0x2d9528[_0xc19fc7(0x15a)](0x3)]=_0xdee04f[_0x2d9528],delete _0xdee04f[_0x2d9528]);}if(_0xdee04f[_0xc19fc7(0x13d)]===_0xc19fc7(0x165))_0xdee04f[_0xc19fc7(0x140)]??={},_0xdee04f['formAttrs'][_0xc19fc7(0x175)]??=_0xc19fc7(0x152);else _0xdee04f[_0xc19fc7(0x13d)]===_0xc19fc7(0x14b)&&(_0xdee04f[_0xc19fc7(0x140)]??={},_0xdee04f[_0xc19fc7(0x140)]['value-format']??=_0xc19fc7(0x154));return _0xdee04f['xs']??=0x18,_0xdee04f;});};export const initModel=(_0x2846eb,_0x18c26b)=>{const _0x5ecf00=a92_0x340b;for(let _0x1876c2 in _0x2846eb){const _0x35adfa=_0x2846eb[_0x1876c2];if(!_0x35adfa||typeof _0x35adfa!==_0x5ecf00(0x162))continue;_0x1876c2===_0x5ecf00(0x16c)&&_0x2846eb[_0x1876c2][_0x5ecf00(0x16f)]&&initTable(_0x35adfa,_0x18c26b),_0x1876c2===_0x5ecf00(0x17b)&&_0x2846eb[_0x1876c2][_0x5ecf00(0x143)]&&initDialog(_0x35adfa,_0x18c26b),_0x1876c2===_0x5ecf00(0x181)&&_0x2846eb[_0x1876c2][_0x5ecf00(0x149)]&&initForm(_0x35adfa,_0x18c26b);}return _0x2846eb;};function a92_0x340b(_0x4c7b6a,_0x4e1458){const _0x337d3f=a92_0x337d();return a92_0x340b=function(_0x340b30,_0x36508c){_0x340b30=_0x340b30-0x13d;let _0x520986=_0x337d3f[_0x340b30];return _0x520986;},a92_0x340b(_0x4c7b6a,_0x4e1458);}export const initTable=(_0x11e662,_0x15754a)=>{const _0x584ddd=a92_0x340b;return _0x11e662[_0x584ddd(0x153)][_0x584ddd(0x147)](..._0x15754a[_0x584ddd(0x14c)](_0x21fad9=>{const _0x5d51f2=_0x584ddd;return _0x21fad9[_0x5d51f2(0x183)]===![]?_0x21fad9[_0x5d51f2(0x141)]:_0x21fad9[_0x5d51f2(0x141)]!==![];})),_0x11e662;};export const initDialog=(_0x586ea4,_0xfe8c90)=>{const _0x141f99=a92_0x340b;return _0x586ea4[_0x141f99(0x164)]=_0xfe8c90[_0x141f99(0x14c)](_0x43cc16=>{const _0x30acdd=_0x141f99;if(_0x43cc16[_0x30acdd(0x183)]===![])return _0x43cc16['canAdd']||_0x43cc16['canEdit'];return _0x43cc16[_0x30acdd(0x180)]!==![]||_0x43cc16[_0x30acdd(0x173)]!==![];}),initForm(_0x586ea4,_0xfe8c90),_0x586ea4;};export const initForm=(_0xeb7072,_0xc67b12)=>{const _0xf31804=a92_0x340b;_0xeb7072[_0xf31804(0x149)]&&!_0xeb7072[_0xf31804(0x143)]&&(_0xeb7072['formItems']=_0xc67b12['filter'](_0x3fad2d=>_0x3fad2d['visible']!==![]));initDefaultForm(_0xeb7072[_0xf31804(0x181)],_0xeb7072[_0xf31804(0x164)]),_0xeb7072[_0xf31804(0x16b)]=funcs['deepCopy'](_0xeb7072[_0xf31804(0x181)]),_0xeb7072[_0xf31804(0x179)]=funcs[_0xf31804(0x177)](_0xeb7072[_0xf31804(0x151)]);const _0xd873f7=()=>{initFormRules(_0xeb7072);};return watch(()=>_0xeb7072[_0xf31804(0x164)],_0xd873f7,{'immediate':!![],'deep':!![]}),_0xeb7072;};export const initFormRules=_0xb0ef95=>{const _0xe40c34=a92_0x340b,{formItems:_0x416293,initialFormRules:_0x272a73}=_0xb0ef95;Object[_0xe40c34(0x184)](_0xb0ef95[_0xe40c34(0x151)],funcs[_0xe40c34(0x177)](_0x272a73)),Object[_0xe40c34(0x186)](_0xb0ef95['formRules'])['forEach'](_0x5ee169=>{const _0x136e30=_0xe40c34;!_0x272a73[_0x136e30(0x174)](_0x5ee169)&&delete _0xb0ef95['formRules'][_0x5ee169];});const _0x35ab74={};return _0x416293['forEach'](_0x21e581=>{const _0x18e535=_0xe40c34;if(_0xb0ef95['formRules'][_0x21e581[_0x18e535(0x185)]])return;if(!_0x21e581[_0x18e535(0x167)]&&!_0x21e581[_0x18e535(0x15f)]&&!_0x21e581[_0x18e535(0x13e)])return;const _0x3a6558=_0x21e581[_0x18e535(0x156)]||_0xb0ef95[_0x18e535(0x156)]||(window[_0x18e535(0x17d)]?'mobile':'pc'),_0x2f3c94=triggers[_0x3a6558],_0x19afe3=[],_0x2aee71=_0x18e535(0x178)in _0x21e581,_0x48f9a5='请'+(_0x21e581[_0x18e535(0x15f)]||_0x21e581[_0x18e535(0x13e)]?'正确':'')+(_0x2aee71?'选择':'输入')+(_0x21e581?.['label']||_0x21e581[_0x18e535(0x185)]),_0x5efcc3={'required':!![],'message':_0x48f9a5};if(_0x21e581[_0x18e535(0x15f)])_0x5efcc3[_0x18e535(0x15f)]=(_0x5584ca,_0x1c7e7a)=>{const _0x4373ed=_0x18e535;return _0x3a6558==='pc'?_0x21e581[_0x4373ed(0x15f)](_0x5584ca,_0x1c7e7a):_0x21e581[_0x4373ed(0x15f)](_0x1c7e7a,_0x5584ca);};if(_0x21e581[_0x18e535(0x13e)])_0x5efcc3[_0x18e535(0x13e)]=(_0xbe8089,_0x14b437)=>{const _0x2280c1=_0x18e535;return _0x3a6558==='pc'?_0x21e581[_0x2280c1(0x13e)](_0xbe8089,_0x14b437):_0x21e581[_0x2280c1(0x13e)](_0x14b437,_0xbe8089);};!_0x21e581['comp']?_0x19afe3[_0x18e535(0x147)]({..._0x5efcc3,'trigger':_0x2f3c94[_0x18e535(0x15b)]}):_0x19afe3['push']({..._0x5efcc3,'trigger':_0x2f3c94['change']}),_0x21e581['comp']===_0x18e535(0x150)&&_0x19afe3['push']({..._0x5efcc3,'trigger':_0x2f3c94[_0x18e535(0x15b)]}),_0x35ab74[_0x21e581[_0x18e535(0x185)]]=_0x19afe3;}),Object['assign'](_0xb0ef95[_0xe40c34(0x151)],_0x35ab74),_0xb0ef95[_0xe40c34(0x151)];};export const initDefaultForm=(_0x22c023,_0x53c749,_0x41b528=!![])=>{const _0x313998=a92_0x340b,_0x3a925b={};return _0x53c749['forEach'](_0x26d715=>{const _0xcf520f=a92_0x340b;if(!_0x26d715['prop']||_0x26d715[_0xcf520f(0x160)])return;let _0x1f3bcd='';const {type:_0x5d9069,options:_0x288db8}=_0x26d715,{multiple:_0x1f7885}=_0x26d715[_0xcf520f(0x140)]||{};if(_0x41b528&&_0x5d9069===_0xcf520f(0x16e)||_0x26d715[_0xcf520f(0x15c)]===_0xcf520f(0x150))_0x1f3bcd=null;else{if(_0x26d715[_0xcf520f(0x15c)]===_0xcf520f(0x17c))_0x1f3bcd=![];else{if(_0x288db8&&(_0x26d715[_0xcf520f(0x15c)]?.[_0xcf520f(0x14e)](_0xcf520f(0x146))||_0x26d715[_0xcf520f(0x15c)]?.[_0xcf520f(0x14e)](_0xcf520f(0x166))||_0x1f7885))_0x1f3bcd=[];else{if(_0x26d715[_0xcf520f(0x15c)]===_0xcf520f(0x171)&&['datetimerange',_0xcf520f(0x168),_0xcf520f(0x159)][_0xcf520f(0x148)](_0x26d715[_0xcf520f(0x13d)])){const _0x2311f5={'datetimerange':'时间','daterange':'日期','monthrange':'月份'}[_0x26d715[_0xcf520f(0x13d)]];!_0x26d715[_0xcf520f(0x17f)]&&(_0x26d715[_0xcf520f(0x17f)]='开始'+_0x2311f5),!_0x26d715[_0xcf520f(0x14f)]&&(_0x26d715[_0xcf520f(0x14f)]='结束'+_0x2311f5),_0x1f3bcd=[];}}}}_0x3a925b[_0x26d715['prop']]=_0x1f3bcd;}),Object[_0x313998(0x184)](_0x22c023,{..._0x3a925b,..._0x22c023}),_0x22c023;};export const isWhenMatched=(_0x2150a9,_0x17d69b)=>{const _0x3e60ae=a92_0x340b;if(!_0x2150a9)return!![];const _0x52ddb7=_0x2150a9[_0x3e60ae(0x16d)](/\s?(&&|\|\|)\s?/g);if(_0x52ddb7[_0x3e60ae(0x148)]('&&')&&_0x52ddb7[_0x3e60ae(0x148)]('||'))throw'一个\x20when\x20表达式中仅支持\x20&&\x20模式或\x20||\x20模式';const _0x4074bd=_0x52ddb7[_0x3e60ae(0x148)]('&&'),_0x2841b9=/[\^\*\$\~\!]?=/,_0x58a61e=_0x52ddb7['filter'](_0x258aa2=>_0x258aa2!=='&&'&&_0x258aa2!=='||');return _0x58a61e[_0x4074bd?_0x3e60ae(0x17e):_0x3e60ae(0x182)](_0x2606d9=>{const _0xb49bb4=_0x3e60ae;let [_0x34dc67,_0x37dbf6]=_0x2606d9[_0xb49bb4(0x16d)](_0x2841b9);_0x37dbf6=_0x37dbf6[_0xb49bb4(0x16d)]('|');let _0x14c5cc=_0x17d69b[_0x34dc67];if(typeof _0x14c5cc===_0xb49bb4(0x16e))_0x14c5cc+='';else{if(typeof _0x14c5cc===_0xb49bb4(0x176))_0x14c5cc=_0x14c5cc['trim']();}const _0x457669=_0x2606d9[_0xb49bb4(0x13f)](_0x2841b9)[0x0];if(_0x457669==='!=')return!_0x37dbf6['includes'](_0x14c5cc);return _0x37dbf6['some'](_0x32a185=>{const _0x340dbf=_0xb49bb4;if(_0x457669==='^=')return _0x14c5cc?.[_0x340dbf(0x157)](_0x32a185);else{if(_0x457669==='*=')return _0x14c5cc?.[_0x340dbf(0x148)](_0x32a185);else{if(_0x457669==='$=')return _0x14c5cc?.[_0x340dbf(0x14e)](_0x32a185);else{if(_0x457669==='~=')return!_0x14c5cc?.[_0x340dbf(0x148)](_0x32a185);else{if(_0x457669==='!=')return _0x14c5cc!==_0x32a185;}}}}return _0x32a185===_0x14c5cc;});});};export const triggers={'mobile':{'blur':a92_0x4d1152(0x144),'change':a92_0x4d1152(0x15d)},'pc':{'blur':'blur','change':a92_0x4d1152(0x14d)}};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_0x3f3c(_0x373446,_0x1ed6cf){const _0x1d7d4a=a93_0x1d7d();return a93_0x3f3c=function(_0x3f3cfc,_0x555610){_0x3f3cfc=_0x3f3cfc-0x1d3;let _0x251d8d=_0x1d7d4a[_0x3f3cfc];return _0x251d8d;},a93_0x3f3c(_0x373446,_0x1ed6cf);}function a93_0x1d7d(){const _0x57ff47=['toString','dates','24BIocNN','Authorization','1238famJHA','未知错误','user','Http-Encrypt','href','decodeQuery','/login?redirectTo=','slice','encrypt','data','err','setToken','23751kQadJe','12YodjnK','11LxPvhU','hash','710aMdaRZ','71661QTuqTA','now','token','convertIsoDates','8808Ajikba','371wyhAev','query','557888WtbjJL','includes','parse','setExpired','reject','redirectTo','441945aqlfUH','606156xKXbOq','refresh-token','globalProperties','body','replace','split','config','url','headers','/login','code','join','application/json;\x20charset=UTF-8','params'];a93_0x1d7d=function(){return _0x57ff47;};return a93_0x1d7d();}(function(_0x117624,_0x329c7d){const _0x144893=a93_0x3f3c,_0x2d3116=_0x117624();while(!![]){try{const _0x5e18d6=-parseInt(_0x144893(0x1f6))/0x1*(parseInt(_0x144893(0x1f8))/0x2)+parseInt(_0x144893(0x1d8))/0x3*(-parseInt(_0x144893(0x1d4))/0x4)+-parseInt(_0x144893(0x1e5))/0x5+-parseInt(_0x144893(0x1dc))/0x6*(-parseInt(_0x144893(0x1dd))/0x7)+parseInt(_0x144893(0x1df))/0x8+parseInt(_0x144893(0x1d3))/0x9*(parseInt(_0x144893(0x1d7))/0xa)+-parseInt(_0x144893(0x1d5))/0xb*(parseInt(_0x144893(0x1e6))/0xc);if(_0x5e18d6===_0x329c7d)break;else _0x2d3116['push'](_0x2d3116['shift']());}catch(_0x225443){_0x2d3116['push'](_0x2d3116['shift']());}}}(a93_0x1d7d,0x1abb2));import{Message}from'./message.js';const requestUse=(_0x55bbd8,_0x2f09d5,_0x3282ff,_0x59869d,_0x5c7099)=>{const _0x1c242e=a93_0x3f3c;_0x5c7099[_0x1c242e(0x1ee)][_0x1c242e(0x1f7)]||=_0x3282ff[_0x1c242e(0x1fa)][_0x1c242e(0x1da)];const _0x477335=_0x55bbd8[_0x1c242e(0x1ec)][_0x1c242e(0x1e8)]['httpEncrypt'];if(_0x477335!==![]){_0x5c7099[_0x1c242e(0x1ee)][_0x1c242e(0x1fb)]=_0x477335;const _0x795a35=_0x5c7099[_0x1c242e(0x201)]instanceof FormData;!_0x795a35&&(_0x5c7099[_0x1c242e(0x1ee)]['Content-Type']||=_0x1c242e(0x1f2));if(_0x5c7099[_0x1c242e(0x1ed)]['indexOf']('?')>=0x0){const [_0x45b0dd,..._0x18f047]=_0x5c7099['url'][_0x1c242e(0x1eb)]('?'),_0x417e7a=_0x2f09d5[_0x1c242e(0x200)][_0x477335](_0x18f047[_0x1c242e(0x1f1)]('?'),'query');_0x5c7099[_0x1c242e(0x1ed)]=_0x45b0dd+'?'+_0x417e7a;}else _0x5c7099[_0x1c242e(0x1f3)]||={'__placeholder__':Date[_0x1c242e(0x1d9)]()[_0x1c242e(0x1f4)](0x10)};if(_0x5c7099['params']){const _0x282d97=decodeURIComponent(new URLSearchParams(_0x5c7099[_0x1c242e(0x1f3)])[_0x1c242e(0x1f4)]());_0x5c7099[_0x1c242e(0x1ed)]+='?'+_0x2f09d5['encrypt'][_0x477335](_0x282d97,_0x1c242e(0x1de)),delete _0x5c7099[_0x1c242e(0x1f3)];}if(_0x5c7099[_0x1c242e(0x201)]!==undefined&&!_0x795a35){const _0x2f269a=_0x2f09d5[_0x1c242e(0x200)][_0x477335](JSON['stringify'](_0x5c7099[_0x1c242e(0x201)]),_0x1c242e(0x1e9));_0x5c7099['data']=_0x2f269a;}}return _0x5c7099;},responseUse=(_0x2cebbb,_0x55400,_0x3ff929,_0x535f60,_0x5d9a5f)=>{const _0x5860d7=a93_0x3f3c;if([0x191,0x192,0x2711][_0x5860d7(0x1e0)](_0x5d9a5f[_0x5860d7(0x201)][_0x5860d7(0x1f0)])){_0x3ff929[_0x5860d7(0x1fa)][_0x5860d7(0x1e2)]();const _0x2baeb2='/'+location[_0x5860d7(0x1d6)][_0x5860d7(0x1ff)](0x2)[_0x5860d7(0x1eb)]('?')[0x0],_0x4140dc=StardustJs['funcs'][_0x5860d7(0x1fd)](location[_0x5860d7(0x1fc)][_0x5860d7(0x1eb)]('?')[0x1]||'');return _0x535f60[_0x5860d7(0x1ea)](_0x4140dc[_0x5860d7(0x1e4)]?_0x5860d7(0x1fe)+(_0x4140dc[_0x5860d7(0x1e4)]||_0x2baeb2):_0x5860d7(0x1ef)),Promise['reject'](_0x5d9a5f);}else{if([0x2712][_0x5860d7(0x1e0)](_0x5d9a5f['data'][_0x5860d7(0x1f0)]))return Message['e'](_0x5d9a5f[_0x5860d7(0x201)][_0x5860d7(0x202)]),Promise['reject'](_0x5d9a5f);}const _0x3ad35d=_0x5d9a5f[_0x5860d7(0x1ee)][_0x5860d7(0x1e7)]||_0x5d9a5f[_0x5860d7(0x201)][_0x5860d7(0x1da)];_0x3ad35d&&_0x3ff929[_0x5860d7(0x1fa)][_0x5860d7(0x203)](_0x3ad35d);if(_0x5d9a5f[_0x5860d7(0x201)][_0x5860d7(0x202)])return Message['e'](_0x5d9a5f['data'][_0x5860d7(0x202)]||_0x5860d7(0x1f9)),Promise[_0x5860d7(0x1e3)](_0x5d9a5f);return _0x5d9a5f[_0x5860d7(0x1ee)]['content-type']?.[_0x5860d7(0x1e0)]('application/json')&&(_0x5d9a5f[_0x5860d7(0x201)]=JSON[_0x5860d7(0x1e1)](StardustJs[_0x5860d7(0x1f5)][_0x5860d7(0x1db)](JSON['stringify'](_0x5d9a5f[_0x5860d7(0x201)])))),Promise['resolve'](_0x5d9a5f[_0x5860d7(0x201)]);};export{requestUse,responseUse};
|
package/packages/utils/site.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a94_0xc512(){const _0x39d6cf=['2344704iLJduz','379505ParVHB','200qtRJPB','font','canvas','327750BUlNso','measureText','px\x20Arial','createElement','Style','938972CCBeor','innerHeight','width','10080270OutHgi','12ZmzfzD','2927666WmErjS','2709548sBKVIh','getContext','innerWidth','height','Text'];a94_0xc512=function(){return _0x39d6cf;};return a94_0xc512();}const a94_0x3053ad=a94_0xba01;(function(_0x42b6ab,_0x7d98dc){const _0x57f938=a94_0xba01,_0x35e729=_0x42b6ab();while(!![]){try{const _0x3a8aed=-parseInt(_0x57f938(0x140))/0x1+parseInt(_0x57f938(0x130))/0x2+parseInt(_0x57f938(0x136))/0x3+-parseInt(_0x57f938(0x131))/0x4+-parseInt(_0x57f938(0x13b))/0x5*(parseInt(_0x57f938(0x144))/0x6)+-parseInt(_0x57f938(0x137))/0x7*(-parseInt(_0x57f938(0x138))/0x8)+-parseInt(_0x57f938(0x143))/0x9;if(_0x3a8aed===_0x7d98dc)break;else _0x35e729['push'](_0x35e729['shift']());}catch(_0x385a6e){_0x35e729['push'](_0x35e729['shift']());}}}(a94_0xc512,0xb3067));export const createWatermark=({text:_0x1ca0c0,gap:_0x21cd32,fontSize:_0x3f92d7,color:_0x462ae4,width:width=window[a94_0x3053ad(0x133)],height:height=window[a94_0x3053ad(0x141)],drawMode:drawMode='fill'})=>{const _0x5a0457=a94_0x3053ad,_0x327569=document[_0x5a0457(0x13e)](_0x5a0457(0x13a));_0x327569[_0x5a0457(0x142)]=width,_0x327569[_0x5a0457(0x134)]=height;const _0x2afe0c=_0x327569[_0x5a0457(0x132)]('2d');_0x2afe0c[_0x5a0457(0x139)]=_0x3f92d7+_0x5a0457(0x13d),_0x2afe0c[drawMode+_0x5a0457(0x13f)]=_0x462ae4;const _0x33e920=_0x2afe0c[_0x5a0457(0x13c)](_0x1ca0c0)['width'],_0x3140c9=_0x33e920+_0x21cd32,_0x5552b1=_0x3f92d7+_0x21cd32;for(let _0x3a86b8=_0x21cd32/0x2;_0x3a86b8<height;_0x3a86b8+=_0x5552b1){for(let _0x28745b=_0x21cd32/0x2;_0x28745b<width;_0x28745b+=_0x3140c9){_0x2afe0c[drawMode+_0x5a0457(0x135)](_0x1ca0c0,_0x28745b,_0x3a86b8);}}return _0x327569;};function a94_0xba01(_0x4b9f84,_0x546c5f){const _0xc512ff=a94_0xc512();return a94_0xba01=function(_0xba0122,_0x506556){_0xba0122=_0xba0122-0x130;let _0x365936=_0xc512ff[_0xba0122];return _0x365936;},a94_0xba01(_0x4b9f84,_0x546c5f);}export default{'createWatermark':createWatermark};
|
package/packages/vite-plugins.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a95_0x977ce2=a95_0x3aaf;(function(_0x2ccc0d,_0x36e225){const _0x34abe1=a95_0x3aaf,_0x586540=_0x2ccc0d();while(!![]){try{const _0x580091=parseInt(_0x34abe1(0xdc))/0x1+parseInt(_0x34abe1(0xe0))/0x2+-parseInt(_0x34abe1(0xfb))/0x3*(-parseInt(_0x34abe1(0xd5))/0x4)+-parseInt(_0x34abe1(0xc7))/0x5*(-parseInt(_0x34abe1(0xcc))/0x6)+parseInt(_0x34abe1(0xeb))/0x7*(parseInt(_0x34abe1(0xd9))/0x8)+-parseInt(_0x34abe1(0xfd))/0x9+-parseInt(_0x34abe1(0xe7))/0xa*(parseInt(_0x34abe1(0xf6))/0xb);if(_0x580091===_0x36e225)break;else _0x586540['push'](_0x586540['shift']());}catch(_0x3fa091){_0x586540['push'](_0x586540['shift']());}}}(a95_0x3810,0xb4db8));function a95_0x3810(){const _0x340993=['_ctx\x20=\x20wrapCtx(_ctx,\x20filterPrivateFields(model))','13330umNyGM','length','forEach','.vue','return\x20{\x20...__returned__,\x20...filterPrivateFields(model),\x20...filterPrivateFields(controller)\x20}','1266OPYKJB','@use\x20\x22./','.scss','-scoped.scss\x22;','const\x20model\x20=\x20makeModel()','-scoped.scss','basename','model,\x20','const\x20controller','5463692MxPNtI','<script>\x0a','const\x20','filter','10599752jaZHCG','<style\x20lang=\x22scss\x22>','trim','1379017zMcnVc','slice','push','\x27)\x0a','1789898kUKgTR','includes','split','auto-deconstruct','map','model.js','dirname','20nPcrqY','import\x20controller','vue\x20})','join','7nSCEBV','existsSync','import\x20makeModel\x20','toLowerCase','_ctx\x20=\x20wrapCtx(_ctx,\x20filterPrivateFields(model),\x20filterPrivateFields(controller))','controller.js','return\x20{\x20...__returned__,\x20...filterPrivateFields(model)\x20}','<script>','import\x20makeModel\x20from\x20\x27./model.js\x27','\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','<style\x20lang=\x22scss\x22\x20scoped>','24253801MrkdUN','Object','import\x20makeController\x20','const\x20model','replace','3EBoRYU','/src/','3391290qTIRfC','</style>','return\x20__returned__','return\x20{\x20...__returned__,\x20...filterPrivateFields(controller)\x20}',',\x20\x27','<script\x20setup>','_ctx\x20=\x20wrapCtx(_ctx,\x20null,\x20filterPrivateFields(controller))'];a95_0x3810=function(){return _0x340993;};return a95_0x3810();}function a95_0x3aaf(_0x4c70e3,_0x50c32d){const _0x3810cb=a95_0x3810();return a95_0x3aaf=function(_0x3aaf19,_0x32a00d){_0x3aaf19=_0x3aaf19-0xc5;let _0x314ed2=_0x3810cb[_0x3aaf19];return _0x314ed2;},a95_0x3aaf(_0x4c70e3,_0x50c32d);}import a95_0x56b27c from'node:fs';import a95_0x43c521 from'node:path';const filterPrivateFields=a95_0x977ce2(0xf4),inject=(_0x14621b,_0x4acbc3)=>{const _0x10c53d=a95_0x977ce2,_0x6e346e=a95_0x43c521[_0x10c53d(0xe6)](_0x4acbc3),_0x3facbc=a95_0x43c521[_0x10c53d(0xd2)](_0x4acbc3),_0x42752e=_0x3facbc[_0x10c53d(0xe2)]('.')[0x0],_0x56e892=a95_0x56b27c[_0x10c53d(0xec)](a95_0x43c521[_0x10c53d(0xea)](_0x6e346e,_0x42752e+_0x10c53d(0xd1))),_0x24f511=a95_0x56b27c[_0x10c53d(0xec)](a95_0x43c521[_0x10c53d(0xea)](_0x6e346e,_0x42752e+_0x10c53d(0xce))),_0x39eeb7=a95_0x56b27c['existsSync'](a95_0x43c521[_0x10c53d(0xea)](_0x6e346e,_0x10c53d(0xe5))),_0x4e34ef=a95_0x56b27c['existsSync'](a95_0x43c521['join'](_0x6e346e,_0x10c53d(0xf0))),_0x3e44c7=_0x39eeb7&&!_0x14621b[_0x10c53d(0xe1)]('no\x20model')&&!_0x14621b[_0x10c53d(0xe1)](_0x10c53d(0xf9))&&!_0x14621b['includes']('import\x20model'),_0xdd07e7=_0x4e34ef&&!_0x14621b[_0x10c53d(0xe1)]('no\x20controller')&&!_0x14621b['includes'](_0x10c53d(0xd4))&&!_0x14621b['includes'](_0x10c53d(0xe8));if(_0x4acbc3[_0x10c53d(0xe1)](_0x10c53d(0xfc))&&_0x3facbc[_0x10c53d(0xe1)]('.vue')&&_0x14621b['startsWith']('<script\x20setup>')){_0x14621b=_0x14621b[_0x10c53d(0xfa)](_0x10c53d(0x102),'<script\x20setup>\x0a');const _0x1e89b6=_0x14621b['split']('\x0a');_0x56e892&&_0x1e89b6[_0x10c53d(0xde)](...[_0x10c53d(0xf5),'@use\x20\x22./'+_0x42752e+_0x10c53d(0xcf),_0x10c53d(0xfe)]),_0x24f511&&_0x1e89b6['push'](...[_0x10c53d(0xda),_0x10c53d(0xcd)+_0x42752e+'.scss\x22;',_0x10c53d(0xfe)]),_0xdd07e7&&_0x1e89b6['splice'](0x1,0x0,'import\x20makeController\x20from\x20\x27./controller.js\x27','const\x20controller\x20=\x20makeController({\x20'+(_0x3e44c7?_0x10c53d(0xd3):'')+_0x10c53d(0xe9)),_0x3e44c7&&_0x1e89b6['splice'](0x1,0x0,_0x10c53d(0xf3),_0x10c53d(0xd0)),_0x14621b=_0x1e89b6['join']('\x0a');}return _0x14621b;},instantiateTables=(_0x37454b,_0x290366)=>{const _0x404927=a95_0x977ce2,_0x3a1230=a95_0x43c521[_0x404927(0xd2)](_0x290366),_0x36f7bb=_0x3a1230['includes'](_0x404927(0xca)),_0x521b77=_0x3a1230[_0x404927(0xe1)]('.js');if(_0x290366['includes'](_0x404927(0xfc))&&(_0x36f7bb||_0x521b77)){const _0x4ae970=_0x37454b[_0x404927(0xe2)]('\x0a')[_0x404927(0xe4)](_0x44adb9=>_0x44adb9[_0x404927(0xdb)]())[_0x404927(0xd8)](_0x4f6a93=>!_0x4f6a93['startsWith']('//'))[_0x404927(0xea)]('\x0a');let _0xa97af3=[...new Set([..._0x4ae970['matchAll'](/[^a-z][A-Z]\w+\.(search|add|update|remove|func|batch|get)/g)][_0x404927(0xe4)](_0x3bcdcd=>_0x3bcdcd[0x0][_0x404927(0xdd)](0x1)[_0x404927(0xe2)]('.')[0x0]))];_0xa97af3=_0xa97af3['filter'](_0x368800=>![_0x404927(0xf7)]['includes'](_0x368800));if(_0xa97af3[_0x404927(0xc8)]){let _0x302d27='';_0xa97af3[_0x404927(0xc9)](_0x3feb7c=>{const _0x1be3e3=_0x404927;let [_0x171adc,_0xdcb446]=_0x3feb7c[_0x1be3e3(0xe2)]('_')[_0x1be3e3(0xe4)](_0x4059da=>_0x4059da[_0x1be3e3(0xfa)](/[A-Z]/g,_0x20b31f=>'_'+_0x20b31f[_0x1be3e3(0xee)]())[_0x1be3e3(0xdd)](0x1));_0xdcb446?_0x171adc='\x27'+_0x171adc+'\x27':(_0xdcb446=_0x171adc,_0x171adc='DbName'),_0x302d27+=_0x1be3e3(0xd7)+_0x3feb7c+'\x20=\x20new\x20Table('+_0x171adc+_0x1be3e3(0x101)+_0xdcb446+_0x1be3e3(0xdf);}),_0x36f7bb?_0x37454b=_0x37454b[_0x404927(0xfa)](_0x404927(0x102),'<script\x20setup>\x0a'+_0x302d27)[_0x404927(0xfa)](_0x404927(0xf2),_0x404927(0xd6)+_0x302d27):_0x37454b=_0x302d27+_0x37454b;}}return _0x37454b;},deconstruct=(_0x4ff120,_0x3249a7)=>{const _0x46eb08=a95_0x977ce2,_0x15d3b3=a95_0x43c521[_0x46eb08(0xd2)](_0x3249a7),_0x1a8a4d=_0x15d3b3['includes'](_0x46eb08(0xca));if(_0x3249a7[_0x46eb08(0xe1)](_0x46eb08(0xfc))&&_0x1a8a4d){const _0x301c84=_0x46eb08(0xff),_0x309ad9='return\x20(_ctx,\x20_cache)\x20=>\x20{',_0x4fd638=_0x4ff120[_0x46eb08(0xe1)](_0x301c84),_0x2b3f17=_0x4ff120[_0x46eb08(0xe1)](_0x309ad9),_0x1ebe97=(_0x4fd638||_0x2b3f17)&&_0x4ff120[_0x46eb08(0xe1)](_0x46eb08(0xed)),_0x17de12=(_0x4fd638||_0x2b3f17)&&_0x4ff120[_0x46eb08(0xe1)](_0x46eb08(0xf8));if(_0x1ebe97||_0x17de12){let _0x568bba=filterPrivateFields;if(_0x4fd638){if(_0x1ebe97&&_0x17de12)_0x568bba+=_0x46eb08(0xcb);else{if(_0x1ebe97)_0x568bba+=_0x46eb08(0xf1);else _0x17de12&&(_0x568bba+=_0x46eb08(0x100));}}else{_0x568bba+=_0x309ad9+'\x0a';if(_0x1ebe97&&_0x17de12)_0x568bba+=_0x46eb08(0xef);else{if(_0x1ebe97)_0x568bba+=_0x46eb08(0xc6);else _0x17de12&&(_0x568bba+=_0x46eb08(0xc5));}_0x568bba+='\x0a';}_0x4ff120=_0x4ff120[_0x46eb08(0xfa)](_0x4fd638?_0x301c84:_0x309ad9,_0x568bba);}}return _0x4ff120;};export const autoInject=(_0x391234={})=>{return{'name':'auto-inject','transform'(_0x108233,_0x5f2784){return _0x108233=inject(_0x108233,_0x5f2784),_0x391234['instantiateTables']!==![]&&(_0x108233=instantiateTables(_0x108233,_0x5f2784)),{'code':_0x108233};}};};export const autoDeconstruct=()=>{const _0x37ce72=a95_0x977ce2;return{'name':_0x37ce72(0xe3),'transform'(_0x3f989f,_0x480ce0){return{'code':deconstruct(_0x3f989f,_0x480ce0)};}};};
|
package/src/main.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a96_0x1f744d=a96_0x2efc;(function(_0x247023,_0x14c1d2){const _0x4004a5=a96_0x2efc,_0xa51acd=_0x247023();while(!![]){try{const _0x5d4918=parseInt(_0x4004a5(0x1a9))/0x1*(-parseInt(_0x4004a5(0x1ac))/0x2)+-parseInt(_0x4004a5(0x1b0))/0x3+parseInt(_0x4004a5(0x1b7))/0x4*(parseInt(_0x4004a5(0x1ad))/0x5)+-parseInt(_0x4004a5(0x1b3))/0x6+-parseInt(_0x4004a5(0x1b1))/0x7+-parseInt(_0x4004a5(0x1b4))/0x8+-parseInt(_0x4004a5(0x1b8))/0x9*(-parseInt(_0x4004a5(0x1aa))/0xa);if(_0x5d4918===_0x14c1d2)break;else _0xa51acd['push'](_0xa51acd['shift']());}catch(_0x20d0bc){_0xa51acd['push'](_0xa51acd['shift']());}}}(a96_0x91ce,0x52802));import{createApp}from'vue';import a96_0x292807 from'element-plus';function a96_0x2efc(_0x10a4bc,_0xa9a962){const _0x91cec5=a96_0x91ce();return a96_0x2efc=function(_0x2efcdd,_0x1fba8f){_0x2efcdd=_0x2efcdd-0x1a6;let _0x137d47=_0x91cec5[_0x2efcdd];return _0x137d47;},a96_0x2efc(_0x10a4bc,_0xa9a962);}function a96_0x91ce(){const _0x17762f=['entries','domid','use','19HgAOfM','3830miXTCH','isMobile','16942JSUOQi','185PxgHTz','config','component','1701738FkRxEV','584731LPgLUy','directive','1143888kaqjJY','4633856KUNUCp','#app','mount','1028wPSgOa','44883qeTeVY'];a96_0x91ce=function(){return _0x17762f;};return a96_0x91ce();}import a96_0x4ec35f from'vant';import a96_0xb45c4e from'../packages/index.js';import'../packages/index.scss';import a96_0x43d256,{API_BASE_URL}from'./request.js';import a96_0x99660a from'@/App.vue';const app=createApp(a96_0x99660a);app[a96_0x1f744d(0x1b2)](a96_0x1f744d(0x1a7),{'created'(_0x4d0b49,_0x12ee1d){}}),app['use'](a96_0x292807);for(const [key,component]of Object[a96_0x1f744d(0x1a6)](ElementPlusIconsVue)){app[a96_0x1f744d(0x1af)](key,component);}app[a96_0x1f744d(0x1a8)](a96_0x4ec35f),app[a96_0x1f744d(0x1a8)](a96_0xb45c4e,{'ElementPlus':a96_0x292807,'Vant':a96_0x4ec35f}),Object['assign'](app[a96_0x1f744d(0x1ae)]['globalProperties'],{'isMobile':window[a96_0x1f744d(0x1ab)],'service':{'request':a96_0x43d256,'API_BASE_URL':API_BASE_URL},'$store':{'app':{'sidebarCollapse':![],'toggleDuration':0x0}}}),app[a96_0x1f744d(0x1b6)](a96_0x1f744d(0x1b5));export default app;
|
package/src/request.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a97_0x1404(_0x58b4ee,_0x2f66e9){const _0x275e58=a97_0x275e();return a97_0x1404=function(_0x140430,_0x534a44){_0x140430=_0x140430-0x157;let _0x41f2a3=_0x275e58[_0x140430];return _0x41f2a3;},a97_0x1404(_0x58b4ee,_0x2f66e9);}function a97_0x275e(){const _0x3bbd47=['error','4356947KrQDRk','GET','use','env','includes','3547988IUqqlR','interceptors','20799108eYfFqb','body','183617MODrgv','5nrbTJi','PUT','56614MCjqqZ','1773648ijqbsi','startsWith','create','4299588iqJGlA','60AXYYQu','request','API_BASE_URL','response','POST'];a97_0x275e=function(){return _0x3bbd47;};return a97_0x275e();}const a97_0x55c038=a97_0x1404;(function(_0x4ff477,_0x1fa97b){const _0x5130b4=a97_0x1404,_0x33152a=_0x4ff477();while(!![]){try{const _0x63b47e=parseInt(_0x5130b4(0x16d))/0x1+-parseInt(_0x5130b4(0x159))/0x2*(parseInt(_0x5130b4(0x15e))/0x3)+-parseInt(_0x5130b4(0x169))/0x4*(parseInt(_0x5130b4(0x157))/0x5)+parseInt(_0x5130b4(0x15d))/0x6+-parseInt(_0x5130b4(0x164))/0x7+-parseInt(_0x5130b4(0x15a))/0x8+parseInt(_0x5130b4(0x16b))/0x9;if(_0x63b47e===_0x1fa97b)break;else _0x33152a['push'](_0x33152a['shift']());}catch(_0x43c101){_0x33152a['push'](_0x33152a['shift']());}}}(a97_0x275e,0xdf22b));const {PROD,VITE_DEV_BASE_URL,VITE_PROD_BASE_URL,VITE_TIMEOUT=0xea60}=import.meta[a97_0x55c038(0x167)],API_BASE_URL=window[a97_0x55c038(0x160)]||(PROD?VITE_PROD_BASE_URL:VITE_DEV_BASE_URL),createRequest=_0x27b22e=>{const _0xdebe86=a97_0x55c038,_0x27c652=axios[_0xdebe86(0x15c)]({'baseURL':API_BASE_URL,'timeout':VITE_TIMEOUT*0x1,..._0x27b22e});return _0x27c652['interceptors'][_0xdebe86(0x15f)][_0xdebe86(0x166)](_0x45ce99=>{return _0x45ce99;},_0x3d894d=>{const _0x3c3b47=_0xdebe86;console[_0x3c3b47(0x163)](_0x3d894d);}),_0x27c652[_0xdebe86(0x16a)][_0xdebe86(0x161)][_0xdebe86(0x166)](_0x3024c8=>{return _0x3024c8;},_0x5ec380=>{console['error'](_0x5ec380);}),_0x27c652;},fetchRequest=(_0x1ab16e,_0x3bfb3d={})=>{const _0x1c9a19=a97_0x55c038;_0x1ab16e=_0x1ab16e[_0x1c9a19(0x15b)]('http')?_0x1ab16e:API_BASE_URL+_0x1ab16e;const {method:method=_0x1c9a19(0x165),headers:_0x35581c,body:_0x491a1a,..._0xa4fb50}=_0x3bfb3d,_0x372f19={'method':method,..._0xa4fb50,'headers':{'content-type':'application/json',..._0x35581c}};return[_0x1c9a19(0x158),_0x1c9a19(0x162)][_0x1c9a19(0x168)](method['toUpperCase']())&&(_0x372f19[_0x1c9a19(0x16c)]=typeof _0x491a1a==='string'?_0x491a1a:JSON['stringify'](_0x491a1a)),fetch(_0x1ab16e,_0x372f19);};export default createRequest();export{API_BASE_URL,createRequest,fetchRequest};
|
package/vite.config.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a98_0x4099a9=a98_0x2e56;(function(_0x1005fd,_0x557069){const _0x3b70e0=a98_0x2e56,_0x2d5308=_0x1005fd();while(!![]){try{const _0x1a8e52=parseInt(_0x3b70e0(0x9a))/0x1+-parseInt(_0x3b70e0(0x99))/0x2+-parseInt(_0x3b70e0(0xa9))/0x3+-parseInt(_0x3b70e0(0xab))/0x4+parseInt(_0x3b70e0(0x9d))/0x5+-parseInt(_0x3b70e0(0xa0))/0x6+parseInt(_0x3b70e0(0xa5))/0x7;if(_0x1a8e52===_0x557069)break;else _0x2d5308['push'](_0x2d5308['shift']());}catch(_0x1411ba){_0x2d5308['push'](_0x2d5308['shift']());}}}(a98_0x5d30,0xe90d7));import a98_0x380885 from'path';import{defineConfig}from'vite';import a98_0x28dfe8 from'@vitejs/plugin-vue';import a98_0x54c360 from'@vitejs/plugin-legacy';function a98_0x2e56(_0x35661a,_0x1c437a){const _0x5d30be=a98_0x5d30();return a98_0x2e56=function(_0x2e5666,_0x326961){_0x2e5666=_0x2e5666-0x95;let _0x196062=_0x5d30be[_0x2e5666];return _0x196062;},a98_0x2e56(_0x35661a,_0x1c437a);}import a98_0x983d71 from'@vitejs/plugin-vue-jsx';import a98_0x10b40e from'@rollup/plugin-commonjs';import a98_0x17b30a from'rollup-plugin-external-globals';function a98_0x5d30(){const _0x2da48f=['join','src','vue/dist/vue.esm-bundler.js','14884394lVYqwh','dist','decorators','vue','583299XYuNmY','cwd','1849748uBbiQm','@babel/plugin-proposal-decorators','node_modules/','regenerator-runtime/runtime','split','1203258zGAOsZ','289019wSvKYA','toString','2023-11','3896315BaFVVl','Vue','node_modules','5889252uPUxBS','defaults'];a98_0x5d30=function(){return _0x2da48f;};return a98_0x5d30();}import{babel}from'@rollup/plugin-babel';import{createStyleImportPlugin,VantResolve}from'vite-plugin-style-import';const resolve=_0x4a1507=>a98_0x380885[a98_0x4099a9(0xa2)](process[a98_0x4099a9(0xaa)](),_0x4a1507);export default defineConfig(({command:_0x269858,mode:_0xf19945})=>{const _0x16de70=a98_0x4099a9,_0x25925c={'plugins':[a98_0x28dfe8({'template':{'compilerOptions':{'expressionPlugins':[[_0x16de70(0xa7),{'version':_0x16de70(0x9c)}]]}},'script':{'babelParserPlugins':[[_0x16de70(0xa7),{'version':_0x16de70(0x9c)}],_0x16de70(0xa7)]}}),a98_0x983d71(),babel({'compact':![],'plugins':[[_0x16de70(0x95),{'version':'2023-11'}]]}),createStyleImportPlugin({'resolves':[VantResolve()]}),a98_0x54c360({'targets':[_0x16de70(0xa1)],'additionalLegacyPolyfills':[_0x16de70(0x97)]})],'runtimeCompiler':!![],'build':{'outDir':_0x16de70(0xa6),'rollupOptions':{'external':[_0x16de70(0xa8)],'plugins':[a98_0x10b40e(),a98_0x17b30a({'vue':_0x16de70(0x9e)})],'output':{'manualChunks'(_0x42c61b){const _0x438292=_0x16de70;if(_0x42c61b['includes'](_0x438292(0x9f)))return _0x42c61b[_0x438292(0x9b)]()[_0x438292(0x98)](_0x438292(0x96))[0x1][_0x438292(0x98)]('/')[0x0][_0x438292(0x9b)]();}}}},'resolve':{'alias':{'@':resolve(_0x16de70(0xa3)),'vue':_0x16de70(0xa4)}}};return _0x25925c;});
|
package/vite.lib.config.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
const a99_0x4760c1=a99_0x44c2;(function(_0x302a2b,_0x366afa){const _0x436f46=a99_0x44c2,_0x1d7f25=_0x302a2b();while(!![]){try{const _0x950543=parseInt(_0x436f46(0x83))/0x1+-parseInt(_0x436f46(0x91))/0x2+parseInt(_0x436f46(0x88))/0x3*(-parseInt(_0x436f46(0x8c))/0x4)+parseInt(_0x436f46(0x8d))/0x5*(parseInt(_0x436f46(0x84))/0x6)+parseInt(_0x436f46(0x8e))/0x7+-parseInt(_0x436f46(0x92))/0x8*(parseInt(_0x436f46(0x94))/0x9)+parseInt(_0x436f46(0x8a))/0xa;if(_0x950543===_0x366afa)break;else _0x1d7f25['push'](_0x1d7f25['shift']());}catch(_0x1eee66){_0x1d7f25['push'](_0x1d7f25['shift']());}}}(a99_0x57f5,0xecac5));import a99_0x5bc953 from'path';function a99_0x44c2(_0x16c927,_0x3511c5){const _0x57f5c8=a99_0x57f5();return a99_0x44c2=function(_0x44c28a,_0x424dc0){_0x44c28a=_0x44c28a-0x7e;let _0x1b737e=_0x57f5c8[_0x44c28a];return _0x1b737e;},a99_0x44c2(_0x16c927,_0x3511c5);}import{defineConfig}from'vite';import a99_0x8cc97f from'@vitejs/plugin-vue';function a99_0x57f5(){const _0x1c85c1=['includes','20220eAnujA','50mHxolB','8308244zmDIOn','StardustUI','node_modules/','2411390tWulzL','2544vCdirD','./packages/index.js','20106yJeHrn','toString','vue','vue/dist/vue.esm-bundler.js','node_modules','cwd','914744QQQBJQ','391074tjbFaW','split','join','src','147tBGhTu','index','3797890DwLSul'];a99_0x57f5=function(){return _0x1c85c1;};return a99_0x57f5();}import a99_0xc1bb93 from'@vitejs/plugin-vue-jsx';import a99_0x37b54b from'@rollup/plugin-commonjs';import a99_0x1a5823 from'rollup-plugin-external-globals';import{createStyleImportPlugin,VantResolve}from'vite-plugin-style-import';const resolve=_0x53664e=>a99_0x5bc953[a99_0x4760c1(0x86)](process[a99_0x4760c1(0x82)](),_0x53664e);export default defineConfig(({command:_0x40a0b8,mode:_0x425ee8})=>{const _0x520d0b=a99_0x4760c1,_0x349fb6={'plugins':[a99_0x8cc97f(),a99_0xc1bb93(),createStyleImportPlugin({'resolves':[VantResolve()]})],'runtimeCompiler':!![],'build':{'outDir':'./','lib':{'entry':_0x520d0b(0x93),'name':_0x520d0b(0x8f),'fileName':_0x520d0b(0x89),'formats':['es']},'rollupOptions':{'external':[_0x520d0b(0x7f)],'plugins':[a99_0x37b54b()],'output':{'globals':{'vue':'Vue'},'manualChunks'(_0x4059c6){const _0x8788c1=_0x520d0b;if(_0x4059c6[_0x8788c1(0x8b)](_0x8788c1(0x81)))return _0x4059c6[_0x8788c1(0x7e)]()[_0x8788c1(0x85)](_0x8788c1(0x90))[0x1][_0x8788c1(0x85)]('/')[0x0][_0x8788c1(0x7e)]();}}}},'resolve':{'alias':{'@':resolve(_0x520d0b(0x87)),'vue':_0x520d0b(0x80)}}};return _0x349fb6;});
|