@wp1001/ui 3.6.11 → 3.6.13
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(_0x957a63,_0x2cc2bb){const _0x1106c0=a90_0x40bf,_0x481f43=_0x957a63();while(!![]){try{const _0x3529fe=parseInt(_0x1106c0(0x20d))/0x1+-parseInt(_0x1106c0(0x20f))/0x2+parseInt(_0x1106c0(0x208))/0x3*(parseInt(_0x1106c0(0x210))/0x4)+parseInt(_0x1106c0(0x1f9))/0x5*(parseInt(_0x1106c0(0x206))/0x6)+parseInt(_0x1106c0(0x1ed))/0x7+-parseInt(_0x1106c0(0x1fd))/0x8+-parseInt(_0x1106c0(0x1ec))/0x9;if(_0x3529fe===_0x2cc2bb)break;else _0x481f43['push'](_0x481f43['shift']());}catch(_0x4b5f10){_0x481f43['push'](_0x481f43['shift']());}}}(a90_0x9148,0x3757d));import{watch,nextTick}from'vue';import{Message}from'./message.js';const {funcs}=StardustJs;export const check404=(_0x4a3337,_0x4181e1,_0xd54286)=>{const _0x466849=a90_0x40bf;_0x4a3337[_0x466849(0x1fe)](async(_0x320129,_0x758b99)=>{const _0x3cc530=_0x466849;return!!_0x320129[_0x3cc530(0x1f0)]['length']||'/404';});};export const setTitle=(_0x558b29,_0x52c7e2,_0x493c0a)=>{const _0x1983d6=a90_0x40bf;_0x558b29[_0x1983d6(0x1f2)]((_0x1ce23b,_0x4e3117)=>{const _0x56a203=_0x1983d6;document[_0x56a203(0x1f6)]=_0x1ce23b[_0x56a203(0x1f0)][_0x1ce23b[_0x56a203(0x1f0)][_0x56a203(0x1fa)]-0x1][_0x56a203(0x1f5)]?.[_0x56a203(0x1f6)]||_0x52c7e2[_0x56a203(0x20b)][_0x56a203(0x1f7)];});};function a90_0x40bf(_0x5c790b,_0x2eb51c){const _0x91486b=a90_0x9148();return a90_0x40bf=function(_0x40bf4b,_0x139c45){_0x40bf4b=_0x40bf4b-0x1eb;let _0x53bc0c=_0x91486b[_0x40bf4b];return _0x53bc0c;},a90_0x40bf(_0x5c790b,_0x2eb51c);}export const checkRolesPages=(_0x4db677,_0x1f95ce,_0x450079)=>{const _0x19f592=a90_0x40bf;_0x4db677[_0x19f592(0x1fe)](async(_0x30005e,_0x17aaeb)=>{const _0x591154=_0x19f592,_0x1cd7ab=_0x30005e[_0x591154(0x1f0)][_0x30005e[_0x591154(0x1f0)][_0x591154(0x1fa)]-0x1]['path']['split']('/:')[0x0];if(_0x30005e[_0x591154(0x1f5)]['acl']===![]||_0x30005e[_0x591154(0x1f5)]?.[_0x591154(0x1ee)])return!![];while(_0x1f95ce[_0x591154(0x209)][_0x591154(0x200)]){await funcs[_0x591154(0x1f8)](0x14);}await nextTick();if(_0x1f95ce[_0x591154(0x205)][_0x591154(0x201)][_0x591154(0x1ef)](_0x1cd7ab))return!![];const _0x3a6145={'redirectTo':_0x30005e[_0x591154(0x20c)],..._0x30005e[_0x591154(0x207)]};return _0x1f95ce[_0x591154(0x209)][_0x591154(0x202)]&&(_0x3a6145[_0x591154(0x1eb)]='受限于您的账号权限,暂时无法访问\x20'+_0x30005e[_0x591154(0x20c)]+_0x591154(0x1fc),Message({'message':_0x3a6145[_0x591154(0x1eb)],'duration':0x2710})),{'path':_0x1f95ce[_0x591154(0x205)][_0x591154(0x201)][0x0]||_0x591154(0x1f4),'query':_0x3a6145};}),nextTick(()=>{const _0x1a4852=_0x19f592;let _0x49d484=![];watch(()=>_0x1f95ce[_0x1a4852(0x205)][_0x1a4852(0x1ff)],_0x3d4a10=>{const _0x1c6a32=_0x1a4852;if(!_0x49d484){if(!_0x3d4a10[_0x1c6a32(0x1fa)])return;_0x49d484=!![];}const _0x840d5d=_0x1f95ce[_0x1c6a32(0x205)]['paths'],_0x4bc885=(_0x52591f,_0x47f7b6)=>{const _0x1b952d=_0x1c6a32;let _0x1205ab;_0x52591f[_0x1b952d(0x20e)]&&!_0x52591f['component']?_0x1205ab=_0x52591f[_0x1b952d(0x20e)]:_0x1205ab=[..._0x47f7b6,_0x52591f]['reduce']((_0x2ec6ce,_0x2fb3de)=>_0x2ec6ce+'/'+_0x2fb3de[_0x1b952d(0x20c)],'')[_0x1b952d(0x1f1)]('//','/'),_0x52591f['meta']||={},_0x52591f[_0x1b952d(0x1f5)]['acl']===![]?_0x52591f[_0x1b952d(0x20a)]?.[_0x1b952d(0x1f3)](_0x308e94=>{const _0x2f467e=_0x1b952d;_0x308e94[_0x2f467e(0x1f5)]||={},_0x308e94[_0x2f467e(0x1f5)][_0x2f467e(0x205)]||=![],_0x4bc885(_0x308e94,[..._0x47f7b6,_0x52591f]);}):(_0x52591f[_0x1b952d(0x1f5)][_0x1b952d(0x204)]=_0x52591f[_0x1b952d(0x1f5)][_0x1b952d(0x1fb)],parent&&(_0x52591f[_0x1b952d(0x1f5)][_0x1b952d(0x1fb)]==null&&(_0x52591f[_0x1b952d(0x1f5)][_0x1b952d(0x1fb)]??=parent[_0x1b952d(0x1f5)]?.['hidden'],_0x52591f[_0x1b952d(0x1f5)]={..._0x52591f[_0x1b952d(0x1f5)]}),_0x52591f[_0x1b952d(0x1f5)][_0x1b952d(0x1ee)]==null&&(_0x52591f['meta']['visitable']??=parent[_0x1b952d(0x1f5)]?.[_0x1b952d(0x1ee)],_0x52591f[_0x1b952d(0x1f5)]={..._0x52591f['meta']})),_0x52591f[_0x1b952d(0x20a)]?.[_0x1b952d(0x1f3)](_0x38ed8f=>_0x4bc885(_0x38ed8f,[..._0x47f7b6,_0x52591f])),_0x52591f['meta']['hidden']!==![]&&_0x52591f[_0x1b952d(0x1f5)][_0x1b952d(0x204)]!==!![]&&(_0x52591f[_0x1b952d(0x1f5)][_0x1b952d(0x1fb)]=!_0x840d5d[_0x1b952d(0x1ef)](_0x1205ab),_0x52591f[_0x1b952d(0x20a)]?.[_0x1b952d(0x203)](_0x16516b=>_0x16516b[_0x1b952d(0x1f5)][_0x1b952d(0x1fb)]===![])&&(_0x52591f['meta'][_0x1b952d(0x1fb)]=![])));};_0x450079[_0x1c6a32(0x1f3)](_0x37fdee=>_0x4bc885(_0x37fdee,[]));},{'immediate':!![]});});};function a90_0x9148(){const _0x2d6c8b=['24RLnMCm','query','27PFztZy','getters','children','app','path','413680ayWDRO','redirect','17638tdggFH','28172ZxBXWf','error','4985010RAbmck','1146187UnRTJh','visitable','includes','matched','replace','afterEach','forEach','/404','meta','title','sitename','sleep','515770MxOZFI','length','hidden','\x20页面,如有需要请联系我们','2112240YEZKex','beforeEach','menus','logging','paths','logined','some','_hidden','acl'];a90_0x9148=function(){return _0x2d6c8b;};return a90_0x9148();}export default{'check404':check404,'setTitle':setTitle,'checkRolesPages':checkRolesPages};
|
package/packages/utils/model.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a91_0x5b92b2=a91_0x2c8f;(function(_0x45b3cf,_0x5b94c9){const _0x52bf0a=a91_0x2c8f,_0x1c8d2e=_0x45b3cf();while(!![]){try{const _0x27d688=-parseInt(_0x52bf0a(0x188))/0x1+parseInt(_0x52bf0a(0x184))/0x2+-parseInt(_0x52bf0a(0x189))/0x3*(parseInt(_0x52bf0a(0x18c))/0x4)+-parseInt(_0x52bf0a(0x18d))/0x5+-parseInt(_0x52bf0a(0x18a))/0x6*(parseInt(_0x52bf0a(0x182))/0x7)+-parseInt(_0x52bf0a(0x185))/0x8*(-parseInt(_0x52bf0a(0x186))/0x9)+-parseInt(_0x52bf0a(0x187))/0xa*(-parseInt(_0x52bf0a(0x181))/0xb);if(_0x27d688===_0x5b94c9)break;else _0x1c8d2e['push'](_0x1c8d2e['shift']());}catch(_0x28b7f6){_0x1c8d2e['push'](_0x1c8d2e['shift']());}}}(a91_0x52f0,0xd8225));export const baseForm=()=>({'loading':![],'form':{},'initialForm':{},'formItems':[],'formRef':null,'formRules':{},'initialFormRules':{},'_isBaseForm':!![],'viewonly':![]});export const baseTable=(_0x492847={})=>({'loading':![],'query':{'page':0x1,'limit':0xa,'order':[],..._0x492847},'total':0x0,'moreLoading':![],'finished':![],'isInfinite':![],'list':[],'columns':[],'tableRef':null,'selection':[],'checked':null,'searchFields':[],'_isBaseTable':!![]});function a91_0x2c8f(_0x385412,_0x2092c2){const _0x52f099=a91_0x52f0();return a91_0x2c8f=function(_0x2c8f86,_0x4742c4){_0x2c8f86=_0x2c8f86-0x181;let _0x7612f=_0x52f099[_0x2c8f86];return _0x7612f;},a91_0x2c8f(_0x385412,_0x2092c2);}export const baseDialog=()=>({...baseForm(),'visible':![],'isEditing':![],'editingIndex':'','editingRow':{},'_isBaseDialog':!![]});export const baseModel=({table:table={},dialog:dialog={},columns:columns=[{'fixed':a91_0x5b92b2(0x18e),'type':a91_0x5b92b2(0x18b)},{'type':a91_0x5b92b2(0x183)}],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};function a91_0x52f0(){const _0x575939=['_index','3478468lwPfCW','56wGOGFE','2246301fyztJm','20wouLrw','249355yshoOl','15702muEWjW','5676714kMjSWN','selection','568kGFflj','8081710tdQYOT','left','5246846hLoNhq','7vxjCgW'];a91_0x52f0=function(){return _0x575939;};return a91_0x52f0();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a92_0x174356=a92_0x2f18;(function(_0x3e5f10,_0x453b23){const _0x1b208f=a92_0x2f18,_0xdde7d1=_0x3e5f10();while(!![]){try{const _0x363c9c=-parseInt(_0x1b208f(0x11b))/0x1*(parseInt(_0x1b208f(0xe2))/0x2)+-parseInt(_0x1b208f(0x109))/0x3*(-parseInt(_0x1b208f(0xea))/0x4)+parseInt(_0x1b208f(0xef))/0x5*(-parseInt(_0x1b208f(0xf5))/0x6)+-parseInt(_0x1b208f(0x10b))/0x7*(-parseInt(_0x1b208f(0x10c))/0x8)+parseInt(_0x1b208f(0x105))/0x9*(-parseInt(_0x1b208f(0xfe))/0xa)+-parseInt(_0x1b208f(0xdc))/0xb+-parseInt(_0x1b208f(0x10d))/0xc*(-parseInt(_0x1b208f(0x117))/0xd);if(_0x363c9c===_0x453b23)break;else _0xdde7d1['push'](_0xdde7d1['shift']());}catch(_0xba4561){_0xdde7d1['push'](_0xdde7d1['shift']());}}}(a92_0x49a3,0x729b5));import{watch}from'vue';const {funcs}=StardustJs;export const initFields=_0x3886c2=>{const _0x20a4f1=a92_0x2f18;return _0x3886c2[_0x20a4f1(0xee)](_0x4b1251=>{const _0x339577=_0x20a4f1,_0x1a89ae=Object[_0x339577(0x103)](_0x4b1251);for(let _0x13733a of _0x1a89ae){if(_0x13733a['startsWith'](_0x339577(0xdd)))_0x4b1251[_0x339577(0x119)]??={},_0x4b1251[_0x339577(0x119)][_0x13733a[_0x339577(0x108)](0x3)]=_0x4b1251[_0x13733a],delete _0x4b1251[_0x13733a];else _0x13733a['startsWith']('fa_')&&(_0x4b1251[_0x339577(0x106)]??={},_0x4b1251[_0x339577(0x106)][_0x13733a[_0x339577(0x108)](0x3)]=_0x4b1251[_0x13733a],delete _0x4b1251[_0x13733a]);}if(_0x4b1251['type']===_0x339577(0xeb))_0x4b1251[_0x339577(0x106)]??={},_0x4b1251[_0x339577(0x106)][_0x339577(0xe5)]??=_0x339577(0x112);else _0x4b1251[_0x339577(0x111)]===_0x339577(0x11c)&&(_0x4b1251[_0x339577(0x106)]??={},_0x4b1251[_0x339577(0x106)][_0x339577(0xe5)]??=_0x339577(0x113));return _0x4b1251['xs']??=0x18,_0x4b1251;});};function a92_0x49a3(){const _0x355a2e=['forEach','slice','3iRiYIc','assign','7uIrHAZ','5057848nJQofq','17242788aoINNI','deepCopy','number','ElDatePicker','type','YYYY-MM-DD','YYYY-MM-DD\x20HH:mm:ss','push','match','change','13RLlPlT','ElInputNumber','tableAttrs','mobile','86lOsjZs','datetime','form','visible','initialFormRules','asyncValidator','isMobile','datetimerange','platform','canView','split','object','9639234WvRsOC','ta_','startsWith','required','some','filter','15294csfIEX','monthrange','label','value-format','blur','onChange','start-placeholder','canAdd','1094524yvwGBw','date','_isBaseTable','canEdit','map','38485Duxcsp','virtual','end-placeholder','_isBaseForm','every','string','66aQibrR','prop','onBlur','comp','validator','initialForm','includes','formRules','_isBaseDialog','2547290EKNbBv','endsWith','XCheckboxs','options','formItems','keys','dialog','9kgBVPH','formAttrs'];a92_0x49a3=function(){return _0x355a2e;};return a92_0x49a3();}export const initModel=(_0x4d8e30,_0x1e15a6)=>{const _0x3e4990=a92_0x2f18;for(let _0x29c328 in _0x4d8e30){const _0x2cb6b7=_0x4d8e30[_0x29c328];if(!_0x2cb6b7||typeof _0x2cb6b7!==_0x3e4990(0xdb))continue;_0x29c328==='table'&&_0x4d8e30[_0x29c328][_0x3e4990(0xec)]&&initTable(_0x2cb6b7,_0x1e15a6),_0x29c328===_0x3e4990(0x104)&&_0x4d8e30[_0x29c328][_0x3e4990(0xfd)]&&initDialog(_0x2cb6b7,_0x1e15a6),_0x29c328===_0x3e4990(0x11d)&&_0x4d8e30[_0x29c328]['_isBaseForm']&&initForm(_0x2cb6b7,_0x1e15a6);}return _0x4d8e30;};export const initTable=(_0x4b3d64,_0x40ed87)=>{const _0x189fbc=a92_0x2f18;return _0x4b3d64['columns'][_0x189fbc(0x114)](..._0x40ed87['filter'](_0x5a64fc=>{const _0x5a597d=_0x189fbc;return _0x5a64fc[_0x5a597d(0x11e)]===![]?_0x5a64fc[_0x5a597d(0xd9)]:_0x5a64fc[_0x5a597d(0xd9)]!==![];})),_0x4b3d64;};export const initDialog=(_0x5b5f96,_0x2bed06)=>{const _0x353bcf=a92_0x2f18;return _0x5b5f96[_0x353bcf(0x102)]=_0x2bed06[_0x353bcf(0xe1)](_0x3f268b=>{const _0x166e4b=_0x353bcf;if(_0x3f268b[_0x166e4b(0x11e)]===![])return _0x3f268b[_0x166e4b(0xe9)]||_0x3f268b[_0x166e4b(0xed)];return _0x3f268b[_0x166e4b(0xe9)]!==![]||_0x3f268b[_0x166e4b(0xed)]!==![];}),initForm(_0x5b5f96,_0x2bed06),_0x5b5f96;};export const initForm=(_0x2b1eda,_0x5ec909)=>{const _0x1d2632=a92_0x2f18;_0x2b1eda[_0x1d2632(0xf2)]&&!_0x2b1eda[_0x1d2632(0xfd)]&&(_0x2b1eda[_0x1d2632(0x102)]=_0x5ec909[_0x1d2632(0xe1)](_0x449cb3=>_0x449cb3['visible']!==![]));initDefaultForm(_0x2b1eda['form'],_0x2b1eda[_0x1d2632(0x102)]),_0x2b1eda[_0x1d2632(0xfa)]=funcs[_0x1d2632(0x10e)](_0x2b1eda[_0x1d2632(0x11d)]),_0x2b1eda[_0x1d2632(0x11f)]=funcs['deepCopy'](_0x2b1eda[_0x1d2632(0xfc)]);const _0x2d34d1=()=>{initFormRules(_0x2b1eda);};return watch(()=>_0x2b1eda[_0x1d2632(0x102)],_0x2d34d1,{'immediate':!![],'deep':!![]}),_0x2b1eda;};function a92_0x2f18(_0x113150,_0xf9474c){const _0x49a37b=a92_0x49a3();return a92_0x2f18=function(_0x2f187d,_0x50fb20){_0x2f187d=_0x2f187d-0xd7;let _0x75d378=_0x49a37b[_0x2f187d];return _0x75d378;},a92_0x2f18(_0x113150,_0xf9474c);}export const initFormRules=_0x4db1c6=>{const _0x43f26f=a92_0x2f18,{formItems:_0x1a4981,initialFormRules:_0x19062e}=_0x4db1c6;Object[_0x43f26f(0x10a)](_0x4db1c6[_0x43f26f(0xfc)],funcs['deepCopy'](_0x19062e)),Object['keys'](_0x4db1c6[_0x43f26f(0xfc)])[_0x43f26f(0x107)](_0x154200=>{const _0xd1d101=_0x43f26f;!_0x19062e['hasOwnProperty'](_0x154200)&&delete _0x4db1c6[_0xd1d101(0xfc)][_0x154200];});const _0x5bdf78={};return _0x1a4981[_0x43f26f(0x107)](_0x4f9377=>{const _0x1538f1=_0x43f26f;if(_0x4db1c6[_0x1538f1(0xfc)][_0x4f9377[_0x1538f1(0xf6)]])return;if(!_0x4f9377[_0x1538f1(0xdf)]&&!_0x4f9377[_0x1538f1(0xf9)]&&!_0x4f9377[_0x1538f1(0x120)])return;const _0x218d21=_0x4f9377['platform']||_0x4db1c6[_0x1538f1(0xd8)]||(window[_0x1538f1(0x121)]?_0x1538f1(0x11a):'pc'),_0x342144=triggers[_0x218d21],_0x12ad63=[],_0x317fbc=_0x1538f1(0x101)in _0x4f9377,_0x4ad8d6='请'+(_0x4f9377[_0x1538f1(0xf9)]||_0x4f9377[_0x1538f1(0x120)]?'正确':'')+(_0x317fbc?'选择':'输入')+(_0x4f9377?.[_0x1538f1(0xe4)]||_0x4f9377['prop']),_0x3c1414={'required':!![],'message':_0x4ad8d6};if(_0x4f9377[_0x1538f1(0xf9)])_0x3c1414[_0x1538f1(0xf9)]=(_0x476537,_0x247ff5)=>{return _0x218d21==='pc'?_0x4f9377['validator'](_0x476537,_0x247ff5):_0x4f9377['validator'](_0x247ff5,_0x476537);};if(_0x4f9377[_0x1538f1(0x120)])_0x3c1414[_0x1538f1(0x120)]=(_0x28f88c,_0x5092da)=>{const _0x253878=_0x1538f1;return _0x218d21==='pc'?_0x4f9377[_0x253878(0x120)](_0x28f88c,_0x5092da):_0x4f9377[_0x253878(0x120)](_0x5092da,_0x28f88c);};!_0x4f9377[_0x1538f1(0xf8)]?_0x12ad63['push']({..._0x3c1414,'trigger':_0x342144['blur']}):_0x12ad63[_0x1538f1(0x114)]({..._0x3c1414,'trigger':_0x342144[_0x1538f1(0x116)]}),_0x4f9377[_0x1538f1(0xf8)]==='ElInputNumber'&&_0x12ad63[_0x1538f1(0x114)]({..._0x3c1414,'trigger':_0x342144[_0x1538f1(0xe6)]}),_0x5bdf78[_0x4f9377[_0x1538f1(0xf6)]]=_0x12ad63;}),Object['assign'](_0x4db1c6[_0x43f26f(0xfc)],_0x5bdf78),_0x4db1c6[_0x43f26f(0xfc)];};export const initDefaultForm=(_0x4ec501,_0x1469ab,_0x3572cb=!![])=>{const _0xf07189=a92_0x2f18,_0x4489f3={};return _0x1469ab[_0xf07189(0x107)](_0x3503cb=>{const _0x26a66a=_0xf07189;if(!_0x3503cb['prop']||_0x3503cb[_0x26a66a(0xf0)])return;let _0x3be9d7='';const {type:_0xead74d,options:_0x476186}=_0x3503cb,{multiple:_0x26c87e}=_0x3503cb[_0x26a66a(0x106)]||{};if(_0x3572cb&&_0xead74d===_0x26a66a(0x10f)||_0x3503cb[_0x26a66a(0xf8)]===_0x26a66a(0x118))_0x3be9d7=null;else{if(_0x3503cb[_0x26a66a(0xf8)]==='ElSwitch')_0x3be9d7=![];else{if(_0x476186&&(_0x3503cb[_0x26a66a(0xf8)]?.[_0x26a66a(0xff)](_0x26a66a(0x100))||_0x3503cb[_0x26a66a(0xf8)]?.['endsWith']('x-checkboxs')||_0x26c87e))_0x3be9d7=[];else{if(_0x3503cb[_0x26a66a(0xf8)]===_0x26a66a(0x110)&&[_0x26a66a(0xd7),'daterange',_0x26a66a(0xe3)][_0x26a66a(0xfb)](_0x3503cb[_0x26a66a(0x111)])){const _0xcc0ec0={'datetimerange':'时间','daterange':'日期','monthrange':'月份'}[_0x3503cb[_0x26a66a(0x111)]];!_0x3503cb[_0x26a66a(0xe8)]&&(_0x3503cb[_0x26a66a(0xe8)]='开始'+_0xcc0ec0),!_0x3503cb[_0x26a66a(0xf1)]&&(_0x3503cb[_0x26a66a(0xf1)]='结束'+_0xcc0ec0),_0x3be9d7=[];}}}}_0x4489f3[_0x3503cb[_0x26a66a(0xf6)]]=_0x3be9d7;}),Object[_0xf07189(0x10a)](_0x4ec501,{..._0x4489f3,..._0x4ec501}),_0x4ec501;};export const isWhenMatched=(_0x9ec3b3,_0x8329db)=>{const _0x14c8c4=a92_0x2f18;if(!_0x9ec3b3)return!![];const _0x4c04ec=_0x9ec3b3[_0x14c8c4(0xda)](/\s?(&&|\|\|)\s?/g);if(_0x4c04ec[_0x14c8c4(0xfb)]('&&')&&_0x4c04ec[_0x14c8c4(0xfb)]('||'))throw'一个\x20when\x20表达式中仅支持\x20&&\x20模式或\x20||\x20模式';const _0x5c53dd=_0x4c04ec[_0x14c8c4(0xfb)]('&&'),_0x1a1461=/[\^\*\$\~\!]?=/,_0x4f2483=_0x4c04ec[_0x14c8c4(0xe1)](_0x1706d6=>_0x1706d6!=='&&'&&_0x1706d6!=='||');return _0x4f2483[_0x5c53dd?_0x14c8c4(0xf3):'some'](_0x315359=>{const _0x400f61=_0x14c8c4;let [_0x187b3a,_0x296688]=_0x315359[_0x400f61(0xda)](_0x1a1461);_0x296688=_0x296688['split']('|');let _0xf6b46f=_0x8329db[_0x187b3a];if(typeof _0xf6b46f===_0x400f61(0x10f))_0xf6b46f+='';else{if(typeof _0xf6b46f===_0x400f61(0xf4))_0xf6b46f=_0xf6b46f['trim']();}const _0x2c0964=_0x315359[_0x400f61(0x115)](_0x1a1461)[0x0];if(_0x2c0964==='!=')return!_0x296688['includes'](_0xf6b46f);return _0x296688[_0x400f61(0xe0)](_0x38415d=>{const _0x4fb42d=_0x400f61;if(_0x2c0964==='^=')return _0xf6b46f?.[_0x4fb42d(0xde)](_0x38415d);else{if(_0x2c0964==='*=')return _0xf6b46f?.['includes'](_0x38415d);else{if(_0x2c0964==='$=')return _0xf6b46f?.[_0x4fb42d(0xff)](_0x38415d);else{if(_0x2c0964==='~=')return!_0xf6b46f?.['includes'](_0x38415d);else{if(_0x2c0964==='!=')return _0xf6b46f!==_0x38415d;}}}}return _0x38415d===_0xf6b46f;});});};export const triggers={'mobile':{'blur':a92_0x174356(0xf7),'change':a92_0x174356(0xe7)},'pc':{'blur':'blur','change':a92_0x174356(0x116)}};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(_0x32eaaf,_0x1d4fdd){const _0x5e97e5=a93_0x52f3,_0x5b6aa6=_0x32eaaf();while(!![]){try{const _0x57ccdb=-parseInt(_0x5e97e5(0x1f7))/0x1+-parseInt(_0x5e97e5(0x1e2))/0x2+-parseInt(_0x5e97e5(0x1d5))/0x3*(-parseInt(_0x5e97e5(0x1ea))/0x4)+parseInt(_0x5e97e5(0x1f9))/0x5*(-parseInt(_0x5e97e5(0x1ee))/0x6)+parseInt(_0x5e97e5(0x1da))/0x7+-parseInt(_0x5e97e5(0x1fc))/0x8*(-parseInt(_0x5e97e5(0x1d2))/0x9)+parseInt(_0x5e97e5(0x1d8))/0xa*(parseInt(_0x5e97e5(0x1e8))/0xb);if(_0x57ccdb===_0x1d4fdd)break;else _0x5b6aa6['push'](_0x5b6aa6['shift']());}catch(_0xe251cf){_0x5b6aa6['push'](_0x5b6aa6['shift']());}}}(a93_0x4748,0x8d42f));import{Message}from'./message.js';function a93_0x52f3(_0x5d56e9,_0x4c7b86){const _0x4748b1=a93_0x4748();return a93_0x52f3=function(_0x52f36e,_0x397600){_0x52f36e=_0x52f36e-0x1ce;let _0x2ee213=_0x4748b1[_0x52f36e];return _0x2ee213;},a93_0x52f3(_0x5d56e9,_0x4c7b86);}const requestUse=(_0x3b6741,_0x494112,_0xb95a11,_0x50a9d1,_0x528f89)=>{const _0xb75f52=a93_0x52f3;_0x528f89['headers'][_0xb75f52(0x1d9)]||=_0xb95a11[_0xb75f52(0x1de)][_0xb75f52(0x1df)];const _0x2aff5d=_0x3b6741[_0xb75f52(0x1f1)][_0xb75f52(0x1cf)][_0xb75f52(0x1fd)];if(_0x2aff5d!==![]){_0x528f89[_0xb75f52(0x1dd)][_0xb75f52(0x1e5)]=_0x2aff5d;const _0x177cab=_0x528f89[_0xb75f52(0x1dc)]instanceof FormData;!_0x177cab&&(_0x528f89['headers']['Content-Type']||=_0xb75f52(0x1f5));if(_0x528f89['url'][_0xb75f52(0x1f0)]('?')>=0x0){const [_0x64c444,..._0x4db0cc]=_0x528f89[_0xb75f52(0x1eb)][_0xb75f52(0x1e0)]('?'),_0x3a7ca2=_0x494112['encrypt'][_0x2aff5d](_0x4db0cc['join']('?'),_0xb75f52(0x1fa));_0x528f89['url']=_0x64c444+'?'+_0x3a7ca2;}else _0x528f89[_0xb75f52(0x1ed)]||={'__placeholder__':Date[_0xb75f52(0x1db)]()['toString'](0x10)};if(_0x528f89[_0xb75f52(0x1ed)]){const _0x4a589b=decodeURIComponent(new URLSearchParams(_0x528f89[_0xb75f52(0x1ed)])[_0xb75f52(0x1f8)]());_0x528f89['url']+='?'+_0x494112[_0xb75f52(0x1f2)][_0x2aff5d](_0x4a589b,'query'),delete _0x528f89['params'];}if(_0x528f89['data']!==undefined&&!_0x177cab){const _0x1f681f=_0x494112[_0xb75f52(0x1f2)][_0x2aff5d](JSON[_0xb75f52(0x1fb)](_0x528f89[_0xb75f52(0x1dc)]),'body');_0x528f89['data']=_0x1f681f;}}return _0x528f89;},responseUse=(_0x57c02e,_0x5a2a63,_0x47c3dd,_0x1077d8,_0x1a0b92)=>{const _0x408f77=a93_0x52f3;if([0x191,0x192,0x2711]['includes'](_0x1a0b92[_0x408f77(0x1dc)][_0x408f77(0x1e7)])){_0x47c3dd[_0x408f77(0x1de)][_0x408f77(0x1ce)]();const _0x38586d='/'+location[_0x408f77(0x1d7)]['slice'](0x2)[_0x408f77(0x1e0)]('?')[0x0],_0x4ca90a=StardustJs[_0x408f77(0x1d0)][_0x408f77(0x1e6)](location['href'][_0x408f77(0x1e0)]('?')[0x1]||'');return _0x1077d8[_0x408f77(0x1ef)](_0x4ca90a[_0x408f77(0x1d3)]?_0x408f77(0x1f6)+(_0x4ca90a[_0x408f77(0x1d3)]||_0x38586d):_0x408f77(0x1d6)),Promise['reject'](_0x1a0b92);}else{if([0x2712]['includes'](_0x1a0b92[_0x408f77(0x1dc)][_0x408f77(0x1e7)]))return Message['e'](_0x1a0b92['data']['err']),Promise[_0x408f77(0x1d4)](_0x1a0b92);}const _0x8a2083=_0x1a0b92['headers']['refresh-token']||_0x1a0b92['data'][_0x408f77(0x1df)];_0x8a2083&&_0x47c3dd[_0x408f77(0x1de)][_0x408f77(0x1d1)](_0x8a2083);if(_0x1a0b92[_0x408f77(0x1dc)]['err'])return Message['e'](_0x1a0b92[_0x408f77(0x1dc)][_0x408f77(0x1f4)]||_0x408f77(0x1e3)),Promise[_0x408f77(0x1d4)](_0x1a0b92);return _0x1a0b92[_0x408f77(0x1dd)]['content-type']?.[_0x408f77(0x1e4)](_0x408f77(0x1f3))&&(_0x1a0b92[_0x408f77(0x1dc)]=JSON['parse'](StardustJs[_0x408f77(0x1e9)][_0x408f77(0x1ec)](JSON[_0x408f77(0x1fb)](_0x1a0b92[_0x408f77(0x1dc)])))),Promise[_0x408f77(0x1e1)](_0x1a0b92['data']);};export{requestUse,responseUse};function a93_0x4748(){const _0xa06c6f=['user','token','split','resolve','1036880ofjCiy','未知错误','includes','Http-Encrypt','decodeQuery','code','11ZQSFJL','dates','7304lZInpe','url','convertIsoDates','params','69684BskGcl','replace','indexOf','config','encrypt','application/json','err','application/json;\x20charset=UTF-8','/login?redirectTo=','906132chEghg','toString','230emFlqL','query','stringify','13168RibttR','httpEncrypt','setExpired','globalProperties','funcs','setToken','2610LJGgul','redirectTo','reject','339ZHsBbj','/login','hash','15254510qRCZhX','Authorization','2298058iWHRoB','now','data','headers'];a93_0x4748=function(){return _0xa06c6f;};return a93_0x4748();}
|
package/packages/utils/site.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a94_0xb408e1=a94_0x2fc2;function a94_0x2fc2(_0x1b501c,_0x1b6e31){const _0x3565bf=a94_0x3565();return a94_0x2fc2=function(_0x2fc288,_0x460a9f){_0x2fc288=_0x2fc288-0x165;let _0x47b681=_0x3565bf[_0x2fc288];return _0x47b681;},a94_0x2fc2(_0x1b501c,_0x1b6e31);}(function(_0x3e9c39,_0x4dab63){const _0xa958a=a94_0x2fc2,_0x19dba3=_0x3e9c39();while(!![]){try{const _0x26ded9=-parseInt(_0xa958a(0x173))/0x1*(-parseInt(_0xa958a(0x174))/0x2)+-parseInt(_0xa958a(0x16f))/0x3*(-parseInt(_0xa958a(0x16b))/0x4)+-parseInt(_0xa958a(0x179))/0x5*(parseInt(_0xa958a(0x168))/0x6)+-parseInt(_0xa958a(0x16a))/0x7*(parseInt(_0xa958a(0x176))/0x8)+parseInt(_0xa958a(0x16e))/0x9+parseInt(_0xa958a(0x166))/0xa+parseInt(_0xa958a(0x178))/0xb*(-parseInt(_0xa958a(0x17a))/0xc);if(_0x26ded9===_0x4dab63)break;else _0x19dba3['push'](_0x19dba3['shift']());}catch(_0xfa863e){_0x19dba3['push'](_0x19dba3['shift']());}}}(a94_0x3565,0xcc719));export const createWatermark=({text:_0x322b3f,gap:_0x1e7982,fontSize:_0x298592,color:_0x49d657,width:width=window[a94_0xb408e1(0x16d)],height:height=window[a94_0xb408e1(0x172)],drawMode:drawMode=a94_0xb408e1(0x16c)})=>{const _0x6a96cc=a94_0xb408e1,_0xd6500b=document['createElement'](_0x6a96cc(0x165));_0xd6500b[_0x6a96cc(0x169)]=width,_0xd6500b[_0x6a96cc(0x177)]=height;const _0x5291bd=_0xd6500b[_0x6a96cc(0x171)]('2d');_0x5291bd['font']=_0x298592+_0x6a96cc(0x167),_0x5291bd[drawMode+_0x6a96cc(0x170)]=_0x49d657;const _0x36354e=_0x5291bd['measureText'](_0x322b3f)['width'],_0xba10da=_0x36354e+_0x1e7982,_0x4761fe=_0x298592+_0x1e7982;for(let _0xa348c2=_0x1e7982/0x2;_0xa348c2<height;_0xa348c2+=_0x4761fe){for(let _0x2f2d86=_0x1e7982/0x2;_0x2f2d86<width;_0x2f2d86+=_0xba10da){_0x5291bd[drawMode+_0x6a96cc(0x175)](_0x322b3f,_0x2f2d86,_0xa348c2);}}return _0xd6500b;};export default{'createWatermark':createWatermark};function a94_0x3565(){const _0x26de50=['24758yqaNcb','Text','24UpQnIw','height','11zRvEmg','4542295iztJaT','11306388BcUHmD','canvas','7359260LbdSuI','px\x20Arial','6PmyBZS','width','1418837bDbMTH','4267852StSstc','fill','innerWidth','6754527VEjmzo','3KuXalv','Style','getContext','innerHeight','60CcwtvC'];a94_0x3565=function(){return _0x26de50;};return a94_0x3565();}
|
package/packages/vite-plugins.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a95_0x266cce=a95_0x1d94;(function(_0x7451aa,_0x25cd96){const _0x2b1180=a95_0x1d94,_0x39c481=_0x7451aa();while(!![]){try{const _0x8579af=parseInt(_0x2b1180(0x101))/0x1*(parseInt(_0x2b1180(0x109))/0x2)+parseInt(_0x2b1180(0x11c))/0x3+parseInt(_0x2b1180(0xfb))/0x4*(-parseInt(_0x2b1180(0x10d))/0x5)+-parseInt(_0x2b1180(0xfd))/0x6*(parseInt(_0x2b1180(0xde))/0x7)+parseInt(_0x2b1180(0xf9))/0x8*(-parseInt(_0x2b1180(0xe9))/0x9)+parseInt(_0x2b1180(0xf4))/0xa*(-parseInt(_0x2b1180(0xec))/0xb)+parseInt(_0x2b1180(0x107))/0xc;if(_0x8579af===_0x25cd96)break;else _0x39c481['push'](_0x39c481['shift']());}catch(_0x1c52f9){_0x39c481['push'](_0x39c481['shift']());}}}(a95_0x5d67,0xb735c));import a95_0x5c8c49 from'node:fs';import a95_0x37543a from'node:path';const filterPrivateFields=a95_0x266cce(0xe2),inject=(_0x1c9cda,_0x513990)=>{const _0xbd47b1=a95_0x266cce,_0x2fc846=a95_0x37543a[_0xbd47b1(0x118)](_0x513990),_0x128270=a95_0x37543a[_0xbd47b1(0xf5)](_0x513990),_0x3005a8=_0x128270[_0xbd47b1(0xe8)]('.')[0x0],_0x4dc594=a95_0x5c8c49[_0xbd47b1(0x11b)](a95_0x37543a[_0xbd47b1(0xef)](_0x2fc846,_0x3005a8+'-scoped.scss')),_0x47f04a=a95_0x5c8c49[_0xbd47b1(0x11b)](a95_0x37543a[_0xbd47b1(0xef)](_0x2fc846,_0x3005a8+_0xbd47b1(0x100))),_0x1c7264=a95_0x5c8c49[_0xbd47b1(0x11b)](a95_0x37543a['join'](_0x2fc846,'model.js')),_0x2ea8d7=a95_0x5c8c49['existsSync'](a95_0x37543a[_0xbd47b1(0xef)](_0x2fc846,_0xbd47b1(0x111))),_0x4ccf40=_0x1c7264&&!_0x1c9cda['includes']('no\x20model')&&!_0x1c9cda[_0xbd47b1(0xe1)]('const\x20model')&&!_0x1c9cda[_0xbd47b1(0xe1)](_0xbd47b1(0xe3)),_0x1ac52d=_0x2ea8d7&&!_0x1c9cda['includes'](_0xbd47b1(0x116))&&!_0x1c9cda[_0xbd47b1(0xe1)]('const\x20controller')&&!_0x1c9cda[_0xbd47b1(0xe1)](_0xbd47b1(0x10a));if(_0x513990[_0xbd47b1(0xe1)](_0xbd47b1(0x11d))&&_0x128270[_0xbd47b1(0xe1)](_0xbd47b1(0x10b))&&_0x1c9cda[_0xbd47b1(0x10c)](_0xbd47b1(0xf1))){_0x1c9cda=_0x1c9cda[_0xbd47b1(0xee)](_0xbd47b1(0xf1),'<script\x20setup>\x0a');const _0x330535=_0x1c9cda[_0xbd47b1(0xe8)]('\x0a');_0x4dc594&&_0x330535[_0xbd47b1(0x117)](...[_0xbd47b1(0xf7),'@use\x20\x22./'+_0x3005a8+_0xbd47b1(0xea),_0xbd47b1(0x10e)]),_0x47f04a&&_0x330535[_0xbd47b1(0x117)](...[_0xbd47b1(0x110),_0xbd47b1(0xda)+_0x3005a8+_0xbd47b1(0x115),'</style>']),_0x1ac52d&&_0x330535[_0xbd47b1(0xf0)](0x1,0x0,_0xbd47b1(0xfa),_0xbd47b1(0x114)+(_0x4ccf40?_0xbd47b1(0xf8):'')+_0xbd47b1(0xed)),_0x4ccf40&&_0x330535[_0xbd47b1(0xf0)](0x1,0x0,_0xbd47b1(0x10f),_0xbd47b1(0xff)),_0x1c9cda=_0x330535[_0xbd47b1(0xef)]('\x0a');}return _0x1c9cda;},instantiateTables=(_0x357a35,_0x5afba5)=>{const _0x3bf7ac=a95_0x266cce,_0x279686=a95_0x37543a[_0x3bf7ac(0xf5)](_0x5afba5),_0x1ec3df=_0x279686[_0x3bf7ac(0xe1)]('.vue'),_0x45e32f=_0x279686[_0x3bf7ac(0xe1)](_0x3bf7ac(0x103));if(_0x5afba5[_0x3bf7ac(0xe1)](_0x3bf7ac(0x11d))&&(_0x1ec3df||_0x45e32f)){const _0x1a9c86=_0x357a35[_0x3bf7ac(0xe8)]('\x0a')['map'](_0x590fe4=>_0x590fe4[_0x3bf7ac(0x119)]())[_0x3bf7ac(0xe0)](_0x2af701=>!_0x2af701['startsWith']('//'))[_0x3bf7ac(0xef)]('\x0a');let _0x5e522a=[...new Set([..._0x1a9c86[_0x3bf7ac(0x108)](/[^a-z][A-Z]\w+\.(search|add|update|remove|func|batch|get)/g)]['map'](_0x24786c=>_0x24786c[0x0][_0x3bf7ac(0xf3)](0x1)[_0x3bf7ac(0xe8)]('.')[0x0]))];_0x5e522a=_0x5e522a['filter'](_0x578e56=>![_0x3bf7ac(0xe4)][_0x3bf7ac(0xe1)](_0x578e56));if(_0x5e522a[_0x3bf7ac(0x104)]){let _0x1a4ae7='';_0x5e522a[_0x3bf7ac(0xdd)](_0xbdcf4e=>{const _0xa933a7=_0x3bf7ac;let [_0x50441b,_0x2804c2]=_0xbdcf4e['split']('_')[_0xa933a7(0x113)](_0x1532ad=>_0x1532ad[_0xa933a7(0xee)](/[A-Z]/g,_0xe853a5=>'_'+_0xe853a5[_0xa933a7(0xe5)]())['slice'](0x1));_0x2804c2?_0x50441b='\x27'+_0x50441b+'\x27':(_0x2804c2=_0x50441b,_0x50441b=_0xa933a7(0xdb)),_0x1a4ae7+='const\x20'+_0xbdcf4e+_0xa933a7(0xdc)+_0x50441b+_0xa933a7(0xf2)+_0x2804c2+_0xa933a7(0xf6);}),_0x1ec3df?_0x357a35=_0x357a35[_0x3bf7ac(0xee)](_0x3bf7ac(0xf1),_0x3bf7ac(0xfe)+_0x1a4ae7)[_0x3bf7ac(0xee)]('<script>',_0x3bf7ac(0xeb)+_0x1a4ae7):_0x357a35=_0x1a4ae7+_0x357a35;}}return _0x357a35;},deconstruct=(_0x2309a5,_0x2d680b)=>{const _0x411b65=a95_0x266cce,_0x8609f3=a95_0x37543a[_0x411b65(0xf5)](_0x2d680b),_0x850ffc=_0x8609f3['includes']('.vue');if(_0x2d680b[_0x411b65(0xe1)](_0x411b65(0x11d))&&_0x850ffc){const _0x41cb81=_0x411b65(0x105),_0x2ad6cc=_0x411b65(0x102),_0x201008=_0x2309a5['includes'](_0x41cb81),_0x225563=_0x2309a5[_0x411b65(0xe1)](_0x2ad6cc),_0x9c89bd=(_0x201008||_0x225563)&&_0x2309a5['includes'](_0x411b65(0xdf)),_0x480a3d=(_0x201008||_0x225563)&&_0x2309a5['includes']('import\x20makeController\x20');if(_0x9c89bd||_0x480a3d){let _0x5e288d=filterPrivateFields;if(_0x201008){if(_0x9c89bd&&_0x480a3d)_0x5e288d+=_0x411b65(0x112);else{if(_0x9c89bd)_0x5e288d+=_0x411b65(0xe7);else _0x480a3d&&(_0x5e288d+='return\x20{\x20...__returned__,\x20...filterPrivateFields(controller)\x20}');}}else{_0x5e288d+=_0x2ad6cc+'\x0a';if(_0x9c89bd&&_0x480a3d)_0x5e288d+='_ctx\x20=\x20wrapCtx(_ctx,\x20filterPrivateFields(model),\x20filterPrivateFields(controller))';else{if(_0x9c89bd)_0x5e288d+=_0x411b65(0x11a);else _0x480a3d&&(_0x5e288d+=_0x411b65(0xe6));}_0x5e288d+='\x0a';}_0x2309a5=_0x2309a5[_0x411b65(0xee)](_0x201008?_0x41cb81:_0x2ad6cc,_0x5e288d);}}return _0x2309a5;};export const autoInject=(_0x12c6bb={})=>{const _0x15d8d3=a95_0x266cce;return{'name':_0x15d8d3(0xfc),'transform'(_0x44b571,_0x5ddc64){const _0xc29d0a=_0x15d8d3;return _0x44b571=inject(_0x44b571,_0x5ddc64),_0x12c6bb[_0xc29d0a(0x106)]!==![]&&(_0x44b571=instantiateTables(_0x44b571,_0x5ddc64)),{'code':_0x44b571};}};};export const autoDeconstruct=()=>{return{'name':'auto-deconstruct','transform'(_0x451545,_0x2898d1){return{'code':deconstruct(_0x451545,_0x2898d1)};}};};function a95_0x1d94(_0xd3f41,_0x33da25){const _0x5d67ab=a95_0x5d67();return a95_0x1d94=function(_0x1d94a5,_0x2a77df){_0x1d94a5=_0x1d94a5-0xda;let _0x53862a=_0x5d67ab[_0x1d94a5];return _0x53862a;},a95_0x1d94(_0xd3f41,_0x33da25);}function a95_0x5d67(){const _0x28661e=['5140vpZhyF','basename','\x27)\x0a','<style\x20lang=\x22scss\x22\x20scoped>','model,\x20','104nDzCnN','import\x20makeController\x20from\x20\x27./controller.js\x27','40BSGRBI','auto-inject','7192362yfuVVM','<script\x20setup>\x0a','const\x20model\x20=\x20makeModel()','.scss','79UYuKEQ','return\x20(_ctx,\x20_cache)\x20=>\x20{','.js','length','return\x20__returned__','instantiateTables','36079740suOGIW','matchAll','26902jLvuYc','import\x20controller','.vue','startsWith','647155XupFiE','</style>','import\x20makeModel\x20from\x20\x27./model.js\x27','<style\x20lang=\x22scss\x22>','controller.js','return\x20{\x20...__returned__,\x20...filterPrivateFields(model),\x20...filterPrivateFields(controller)\x20}','map','const\x20controller\x20=\x20makeController({\x20','.scss\x22;','no\x20controller','push','dirname','trim','_ctx\x20=\x20wrapCtx(_ctx,\x20filterPrivateFields(model))','existsSync','1528368MvRIlb','/src/','@use\x20\x22./','DbName','\x20=\x20new\x20Table(','forEach','7LmQbqv','import\x20makeModel\x20','filter','includes','\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','import\x20model','Object','toLowerCase','_ctx\x20=\x20wrapCtx(_ctx,\x20null,\x20filterPrivateFields(controller))','return\x20{\x20...__returned__,\x20...filterPrivateFields(model)\x20}','split','820863NOqeEq','-scoped.scss\x22;','<script>\x0a','3201UfjVGE','vue\x20})','replace','join','splice','<script\x20setup>',',\x20\x27','slice'];a95_0x5d67=function(){return _0x28661e;};return a95_0x5d67();}
|
package/src/main.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a96_0x1e4646=a96_0x211f;(function(_0x5f5a32,_0x2009df){const _0x2141f7=a96_0x211f,_0xb4f802=_0x5f5a32();while(!![]){try{const _0xd0a917=parseInt(_0x2141f7(0xb3))/0x1+-parseInt(_0x2141f7(0xbf))/0x2*(-parseInt(_0x2141f7(0xbb))/0x3)+parseInt(_0x2141f7(0xc0))/0x4*(-parseInt(_0x2141f7(0xba))/0x5)+parseInt(_0x2141f7(0xbd))/0x6*(-parseInt(_0x2141f7(0xc2))/0x7)+parseInt(_0x2141f7(0xb9))/0x8*(-parseInt(_0x2141f7(0xb2))/0x9)+-parseInt(_0x2141f7(0xb5))/0xa*(parseInt(_0x2141f7(0xc4))/0xb)+-parseInt(_0x2141f7(0xbc))/0xc*(-parseInt(_0x2141f7(0xb7))/0xd);if(_0xd0a917===_0x2009df)break;else _0xb4f802['push'](_0xb4f802['shift']());}catch(_0x3dc766){_0xb4f802['push'](_0xb4f802['shift']());}}}(a96_0x1e7d,0xc9514));function a96_0x1e7d(){const _0x529e46=['5rXzCzl','3fFTVtP','984ltYJkM','18mCfBjL','#app','1776002AIkITA','3758420XAGVsv','entries','1572137Jpqdvi','assign','16164071HcLwXm','globalProperties','1230723eyImYK','380442ceKvvT','use','10qLBfKz','isMobile','591812oMMECz','component','64JYecqq'];a96_0x1e7d=function(){return _0x529e46;};return a96_0x1e7d();}import{createApp}from'vue';import a96_0x381d76 from'element-plus';import a96_0x4b0463 from'vant';import a96_0x38fe26 from'../packages/index.js';function a96_0x211f(_0x1eb32a,_0x4bddfa){const _0x1e7dbe=a96_0x1e7d();return a96_0x211f=function(_0x211fc2,_0x2e3cb2){_0x211fc2=_0x211fc2-0xb2;let _0x39550=_0x1e7dbe[_0x211fc2];return _0x39550;},a96_0x211f(_0x1eb32a,_0x4bddfa);}import'../packages/index.scss';import a96_0x315361,{API_BASE_URL}from'./request.js';import a96_0x473ecd from'@/App.vue';const app=createApp(a96_0x473ecd);app['directive']('domid',{'created'(_0x474969,_0x1c3c07){}}),app['use'](a96_0x381d76);for(const [key,component]of Object[a96_0x1e4646(0xc1)](ElementPlusIconsVue)){app[a96_0x1e4646(0xb8)](key,component);}app[a96_0x1e4646(0xb4)](a96_0x4b0463),app[a96_0x1e4646(0xb4)](a96_0x38fe26,{'ElementPlus':a96_0x381d76,'Vant':a96_0x4b0463}),Object[a96_0x1e4646(0xc3)](app['config'][a96_0x1e4646(0xc5)],{'isMobile':window[a96_0x1e4646(0xb6)],'service':{'request':a96_0x315361,'API_BASE_URL':API_BASE_URL},'$store':{'app':{'sidebarCollapse':![],'toggleDuration':0x0}}}),app['mount'](a96_0x1e4646(0xbe));export default app;
|
package/src/request.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a97_0x49d6(){const _0x4bbf96=['string','use','GET','4238265aFlFOV','env','5949gxylWq','266iHydSW','3366980mZJWaA','2kuGBUa','error','stringify','startsWith','PUT','11vOVaAI','5592845eoJHxZ','response','application/json','http','703226WsMlUE','13040TMOgDY','POST','22516910kYufFp','create','includes','interceptors','body','request','76398nOMMBG'];a97_0x49d6=function(){return _0x4bbf96;};return a97_0x49d6();}const a97_0x525656=a97_0x3c5f;(function(_0x3158d0,_0x3a8cf8){const _0x45235b=a97_0x3c5f,_0x1724ab=_0x3158d0();while(!![]){try{const _0x2a5f6e=parseInt(_0x45235b(0x183))/0x1+parseInt(_0x45235b(0x179))/0x2*(parseInt(_0x45235b(0x174))/0x3)+-parseInt(_0x45235b(0x178))/0x4+parseInt(_0x45235b(0x17f))/0x5+parseInt(_0x45235b(0x170))/0x6*(-parseInt(_0x45235b(0x177))/0x7)+-parseInt(_0x45235b(0x168))/0x8*(-parseInt(_0x45235b(0x176))/0x9)+-parseInt(_0x45235b(0x16a))/0xa*(parseInt(_0x45235b(0x17e))/0xb);if(_0x2a5f6e===_0x3a8cf8)break;else _0x1724ab['push'](_0x1724ab['shift']());}catch(_0x4ca744){_0x1724ab['push'](_0x1724ab['shift']());}}}(a97_0x49d6,0xb35e2));const {PROD,VITE_DEV_BASE_URL,VITE_PROD_BASE_URL,VITE_TIMEOUT=0xea60}=import.meta[a97_0x525656(0x175)],API_BASE_URL=window['API_BASE_URL']||(PROD?VITE_PROD_BASE_URL:VITE_DEV_BASE_URL),createRequest=_0x49a7aa=>{const _0x32a44f=a97_0x525656,_0x3bacde=axios[_0x32a44f(0x16b)]({'baseURL':API_BASE_URL,'timeout':VITE_TIMEOUT*0x1,..._0x49a7aa});return _0x3bacde[_0x32a44f(0x16d)][_0x32a44f(0x16f)][_0x32a44f(0x172)](_0x1ed1b3=>{return _0x1ed1b3;},_0x16f1d4=>{const _0xb7cacf=_0x32a44f;console[_0xb7cacf(0x17a)](_0x16f1d4);}),_0x3bacde[_0x32a44f(0x16d)][_0x32a44f(0x180)]['use'](_0x1aa1f1=>{return _0x1aa1f1;},_0x2934f7=>{const _0x1e1b1b=_0x32a44f;console[_0x1e1b1b(0x17a)](_0x2934f7);}),_0x3bacde;},fetchRequest=(_0x2c9b44,_0xb16f59={})=>{const _0x3cb857=a97_0x525656;_0x2c9b44=_0x2c9b44[_0x3cb857(0x17c)](_0x3cb857(0x182))?_0x2c9b44:API_BASE_URL+_0x2c9b44;const {method:method=_0x3cb857(0x173),headers:_0x1a3729,body:_0x357a90,..._0x4f3fef}=_0xb16f59,_0x12e18c={'method':method,..._0x4f3fef,'headers':{'content-type':_0x3cb857(0x181),..._0x1a3729}};return[_0x3cb857(0x17d),_0x3cb857(0x169)][_0x3cb857(0x16c)](method['toUpperCase']())&&(_0x12e18c[_0x3cb857(0x16e)]=typeof _0x357a90===_0x3cb857(0x171)?_0x357a90:JSON[_0x3cb857(0x17b)](_0x357a90)),fetch(_0x2c9b44,_0x12e18c);};export default createRequest();function a97_0x3c5f(_0x281176,_0x19d71a){const _0x49d698=a97_0x49d6();return a97_0x3c5f=function(_0x3c5fb6,_0x218ec9){_0x3c5fb6=_0x3c5fb6-0x168;let _0x121f0f=_0x49d698[_0x3c5fb6];return _0x121f0f;},a97_0x3c5f(_0x281176,_0x19d71a);}export{API_BASE_URL,createRequest,fetchRequest};
|
package/vite.config.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a98_0x29f4f6=a98_0xaa75;(function(_0x38d48a,_0xfed727){const _0x8b7ffd=a98_0xaa75,_0x4e1059=_0x38d48a();while(!![]){try{const _0x5e5276=parseInt(_0x8b7ffd(0xaa))/0x1+-parseInt(_0x8b7ffd(0xb9))/0x2*(parseInt(_0x8b7ffd(0xbc))/0x3)+-parseInt(_0x8b7ffd(0xb6))/0x4+parseInt(_0x8b7ffd(0xb7))/0x5+parseInt(_0x8b7ffd(0xb8))/0x6*(-parseInt(_0x8b7ffd(0xbb))/0x7)+parseInt(_0x8b7ffd(0xac))/0x8+-parseInt(_0x8b7ffd(0xb2))/0x9;if(_0x5e5276===_0xfed727)break;else _0x4e1059['push'](_0x4e1059['shift']());}catch(_0x4d85dd){_0x4e1059['push'](_0x4e1059['shift']());}}}(a98_0x4a04,0x9160b));function a98_0xaa75(_0x10b863,_0x40ca3a){const _0x4a04ef=a98_0x4a04();return a98_0xaa75=function(_0xaa75fc,_0x2429be){_0xaa75fc=_0xaa75fc-0xa9;let _0x29afda=_0x4a04ef[_0xaa75fc];return _0x29afda;},a98_0xaa75(_0x10b863,_0x40ca3a);}import a98_0xcf5ff0 from'path';import{defineConfig}from'vite';import a98_0x19ec5d from'@vitejs/plugin-vue';import a98_0x5175ed from'@vitejs/plugin-legacy';import a98_0x1d2b8b from'@vitejs/plugin-vue-jsx';import a98_0x30b5dd from'@rollup/plugin-commonjs';import a98_0x3642c0 from'rollup-plugin-external-globals';import{babel}from'@rollup/plugin-babel';import{createStyleImportPlugin,VantResolve}from'vite-plugin-style-import';const resolve=_0x34230b=>a98_0xcf5ff0['join'](process[a98_0x29f4f6(0xa9)](),_0x34230b);function a98_0x4a04(){const _0x145f24=['49206BKTCHc','135114gFQkdo','vue/dist/vue.esm-bundler.js','861BSIAlT','15RRqXOO','dist','cwd','809969MoevyG','toString','4569544epYBkg','node_modules','vue','2023-11','defaults','includes','1724886QOfGXP','decorators','src','@babel/plugin-proposal-decorators','918016GxCGWY','4909855URVvmZ'];a98_0x4a04=function(){return _0x145f24;};return a98_0x4a04();}export default defineConfig(({command:_0x58f23b,mode:_0x17823f})=>{const _0x1bc6cb=a98_0x29f4f6,_0x413da3={'plugins':[a98_0x19ec5d({'template':{'compilerOptions':{'expressionPlugins':[[_0x1bc6cb(0xb3),{'version':'2023-11'}]]}},'script':{'babelParserPlugins':[[_0x1bc6cb(0xb3),{'version':_0x1bc6cb(0xaf)}],'decorators']}}),a98_0x1d2b8b(),babel({'compact':![],'plugins':[[_0x1bc6cb(0xb5),{'version':'2023-11'}]]}),createStyleImportPlugin({'resolves':[VantResolve()]}),a98_0x5175ed({'targets':[_0x1bc6cb(0xb0)],'additionalLegacyPolyfills':['regenerator-runtime/runtime']})],'runtimeCompiler':!![],'build':{'outDir':_0x1bc6cb(0xbd),'rollupOptions':{'external':[_0x1bc6cb(0xae)],'plugins':[a98_0x30b5dd(),a98_0x3642c0({'vue':'Vue'})],'output':{'manualChunks'(_0x34c793){const _0x26666a=_0x1bc6cb;if(_0x34c793[_0x26666a(0xb1)](_0x26666a(0xad)))return _0x34c793[_0x26666a(0xab)]()['split']('node_modules/')[0x1]['split']('/')[0x0][_0x26666a(0xab)]();}}}},'resolve':{'alias':{'@':resolve(_0x1bc6cb(0xb4)),'vue':_0x1bc6cb(0xba)}}};return _0x413da3;});
|
package/vite.lib.config.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a99_0x2ea85a=a99_0x5e5a;(function(_0x67755f,_0x3641d4){const _0x530880=a99_0x5e5a,_0x5ef7f8=_0x67755f();while(!![]){try{const _0xaa2239=-parseInt(_0x530880(0xae))/0x1*(-parseInt(_0x530880(0xb2))/0x2)+parseInt(_0x530880(0xb6))/0x3+parseInt(_0x530880(0xa8))/0x4+parseInt(_0x530880(0xb1))/0x5*(parseInt(_0x530880(0xba))/0x6)+parseInt(_0x530880(0xa9))/0x7+parseInt(_0x530880(0xb3))/0x8+-parseInt(_0x530880(0xb4))/0x9*(parseInt(_0x530880(0xac))/0xa);if(_0xaa2239===_0x3641d4)break;else _0x5ef7f8['push'](_0x5ef7f8['shift']());}catch(_0x1d01db){_0x5ef7f8['push'](_0x5ef7f8['shift']());}}}(a99_0x4aa0,0xf037e));import a99_0x2cd922 from'path';import{defineConfig}from'vite';import a99_0x1644c1 from'@vitejs/plugin-vue';import a99_0x56edfd from'@vitejs/plugin-vue-jsx';import a99_0x4b51d8 from'@rollup/plugin-commonjs';function a99_0x4aa0(){const _0x595443=['./packages/index.js','3366296ebujaB','6722940kMuEnJ','cwd','split','154670XExJMZ','Vue','9wLjYho','node_modules','toString','80125jMpOxE','150212nbnwlu','10825280qgJZwt','3132cOwkJs','includes','3231201WQHXfB','join','vue','node_modules/','546vQIrRy','index'];a99_0x4aa0=function(){return _0x595443;};return a99_0x4aa0();}import a99_0x1fd8dc from'rollup-plugin-external-globals';function a99_0x5e5a(_0x3f772d,_0x292262){const _0x4aa0d3=a99_0x4aa0();return a99_0x5e5a=function(_0x5e5a0a,_0x498461){_0x5e5a0a=_0x5e5a0a-0xa8;let _0x5c4839=_0x4aa0d3[_0x5e5a0a];return _0x5c4839;},a99_0x5e5a(_0x3f772d,_0x292262);}import{createStyleImportPlugin,VantResolve}from'vite-plugin-style-import';const resolve=_0x3907f5=>a99_0x2cd922[a99_0x2ea85a(0xb7)](process[a99_0x2ea85a(0xaa)](),_0x3907f5);export default defineConfig(({command:_0x37e744,mode:_0x41bbdf})=>{const _0x416192=a99_0x2ea85a,_0x21029c={'plugins':[a99_0x1644c1(),a99_0x56edfd(),createStyleImportPlugin({'resolves':[VantResolve()]})],'runtimeCompiler':!![],'build':{'outDir':'./','lib':{'entry':_0x416192(0xbc),'name':'StardustUI','fileName':_0x416192(0xbb),'formats':['es']},'rollupOptions':{'external':[_0x416192(0xb8)],'plugins':[a99_0x4b51d8()],'output':{'globals':{'vue':_0x416192(0xad)},'manualChunks'(_0x3c4a03){const _0x4a0a8b=_0x416192;if(_0x3c4a03[_0x4a0a8b(0xb5)](_0x4a0a8b(0xaf)))return _0x3c4a03[_0x4a0a8b(0xb0)]()['split'](_0x4a0a8b(0xb9))[0x1][_0x4a0a8b(0xab)]('/')[0x0][_0x4a0a8b(0xb0)]();}}}},'resolve':{'alias':{'@':resolve('src'),'vue':'vue/dist/vue.esm-bundler.js'}}};return _0x21029c;});
|