@wp1001/ui 3.5.11 → 3.6.0
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/mobile.vue +1 -1
- package/packages/components/xicon/pc.js +1 -1
- package/packages/components/xicon/pc.vue +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(_0x28a18f,_0x13f914){const _0x53a1df=a90_0x4e98,_0x5c2cb0=_0x28a18f();while(!![]){try{const _0x4eeeaa=parseInt(_0x53a1df(0xec))/0x1*(parseInt(_0x53a1df(0xd8))/0x2)+parseInt(_0x53a1df(0xe4))/0x3*(parseInt(_0x53a1df(0xfa))/0x4)+parseInt(_0x53a1df(0xe0))/0x5+parseInt(_0x53a1df(0xe2))/0x6+-parseInt(_0x53a1df(0xfb))/0x7+-parseInt(_0x53a1df(0xe9))/0x8*(-parseInt(_0x53a1df(0xf9))/0x9)+parseInt(_0x53a1df(0xea))/0xa*(-parseInt(_0x53a1df(0xde))/0xb);if(_0x4eeeaa===_0x13f914)break;else _0x5c2cb0['push'](_0x5c2cb0['shift']());}catch(_0x437364){_0x5c2cb0['push'](_0x5c2cb0['shift']());}}}(a90_0xc967,0xa02cb));import{watch,nextTick}from'vue';function a90_0x4e98(_0x35d06b,_0x125334){const _0xc967dc=a90_0xc967();return a90_0x4e98=function(_0x4e98da,_0x5e2680){_0x4e98da=_0x4e98da-0xd7;let _0x16847e=_0xc967dc[_0x4e98da];return _0x16847e;},a90_0x4e98(_0x35d06b,_0x125334);}import{Message}from'./message.js';const {funcs}=StardustJs;export const check404=(_0x4dcb3c,_0x37aad1,_0x1e99e3)=>{const _0x314112=a90_0x4e98;_0x4dcb3c[_0x314112(0xe1)](async(_0x49752b,_0x56e39f)=>{const _0x502761=_0x314112;return!!_0x49752b[_0x502761(0xd7)][_0x502761(0xdb)]||_0x502761(0xe8);});};export const setTitle=(_0x171698,_0x482acd,_0x1cb760)=>{const _0x56bbfd=a90_0x4e98;_0x171698[_0x56bbfd(0xe6)]((_0x2578b4,_0xffc74c)=>{const _0x189095=_0x56bbfd;document[_0x189095(0xdc)]=_0x2578b4[_0x189095(0xd7)][_0x2578b4['matched'][_0x189095(0xdb)]-0x1]['meta']?.[_0x189095(0xdc)]||_0x482acd[_0x189095(0xe5)][_0x189095(0xf1)];});};function a90_0xc967(){const _0x4f2b22=['677YWgfxG','path','split','forEach','hidden','sitename','menus','getters','visitable','meta','paths','\x20页面,如有需要请联系我们','query','9ykDPwV','1906220ACgOYV','9019255LHvhzL','matched','3166NWihoo','error','acl','length','title','reduce','13179155MIudKW','children','1328805QgpHST','beforeEach','4907040KyCQJr','redirect','6PARwPj','app','afterEach','_hidden','/404','273944ydJalv','10VAHHnN','includes'];a90_0xc967=function(){return _0x4f2b22;};return a90_0xc967();}export const checkRolesPages=(_0x5a6785,_0x3d2905,_0x58c690)=>{const _0x1525cd=a90_0x4e98;_0x5a6785[_0x1525cd(0xe1)](async(_0x14f61c,_0x50ae7a)=>{const _0x18fef6=_0x1525cd,_0x2b4db1=_0x14f61c['matched'][_0x14f61c[_0x18fef6(0xd7)][_0x18fef6(0xdb)]-0x1][_0x18fef6(0xed)][_0x18fef6(0xee)]('/:')[0x0];if(_0x14f61c[_0x18fef6(0xf5)][_0x18fef6(0xda)]===![]||_0x14f61c['meta']?.[_0x18fef6(0xf4)])return!![];while(_0x3d2905[_0x18fef6(0xf3)]['logging']){await funcs['sleep'](0x14);}await nextTick();if(_0x3d2905[_0x18fef6(0xda)][_0x18fef6(0xf6)]['includes'](_0x2b4db1))return!![];const _0x38fa22={'redirectTo':_0x14f61c[_0x18fef6(0xed)],..._0x14f61c[_0x18fef6(0xf8)]};return _0x3d2905[_0x18fef6(0xf3)]['logined']&&(_0x38fa22[_0x18fef6(0xd9)]='受限于您的账号权限,暂时无法访问\x20'+_0x14f61c[_0x18fef6(0xed)]+_0x18fef6(0xf7),Message({'message':_0x38fa22[_0x18fef6(0xd9)],'duration':0x2710})),{'path':_0x3d2905[_0x18fef6(0xda)][_0x18fef6(0xf6)][0x0]||_0x18fef6(0xe8),'query':_0x38fa22};}),nextTick(()=>{const _0x353e5b=_0x1525cd;let _0x5a21b5=![];watch(()=>_0x3d2905['acl'][_0x353e5b(0xf2)],_0x52f92e=>{const _0x1a0b60=_0x353e5b;if(!_0x5a21b5){if(!_0x52f92e[_0x1a0b60(0xdb)])return;_0x5a21b5=!![];}const _0x11b33d=_0x3d2905[_0x1a0b60(0xda)]['paths'],_0x5cadb7=(_0x42b0ec,_0x2f116c)=>{const _0x5ebc5b=_0x1a0b60;let _0x39f082;_0x42b0ec['redirect']&&!_0x42b0ec['component']?_0x39f082=_0x42b0ec[_0x5ebc5b(0xe3)]:_0x39f082=[..._0x2f116c,_0x42b0ec][_0x5ebc5b(0xdd)]((_0x41813a,_0x1efc34)=>_0x41813a+'/'+_0x1efc34[_0x5ebc5b(0xed)],'')['replace']('//','/'),_0x42b0ec[_0x5ebc5b(0xf5)]||={},_0x42b0ec[_0x5ebc5b(0xf5)][_0x5ebc5b(0xda)]===![]?_0x42b0ec['children']?.[_0x5ebc5b(0xef)](_0x4f7cca=>{const _0x33eda3=_0x5ebc5b;_0x4f7cca[_0x33eda3(0xf5)]||={},_0x4f7cca[_0x33eda3(0xf5)][_0x33eda3(0xda)]||=![],_0x5cadb7(_0x4f7cca,[..._0x2f116c,_0x42b0ec]);}):(_0x42b0ec[_0x5ebc5b(0xf5)][_0x5ebc5b(0xe7)]=_0x42b0ec['meta'][_0x5ebc5b(0xf0)],parent&&(_0x42b0ec[_0x5ebc5b(0xf5)][_0x5ebc5b(0xf0)]==null&&(_0x42b0ec['meta'][_0x5ebc5b(0xf0)]??=parent[_0x5ebc5b(0xf5)]?.[_0x5ebc5b(0xf0)],_0x42b0ec['meta']={..._0x42b0ec[_0x5ebc5b(0xf5)]}),_0x42b0ec['meta'][_0x5ebc5b(0xf4)]==null&&(_0x42b0ec[_0x5ebc5b(0xf5)]['visitable']??=parent[_0x5ebc5b(0xf5)]?.[_0x5ebc5b(0xf4)],_0x42b0ec[_0x5ebc5b(0xf5)]={..._0x42b0ec['meta']})),_0x42b0ec[_0x5ebc5b(0xdf)]?.[_0x5ebc5b(0xef)](_0x173406=>_0x5cadb7(_0x173406,[..._0x2f116c,_0x42b0ec])),_0x42b0ec[_0x5ebc5b(0xf5)]['hidden']!==![]&&_0x42b0ec['meta'][_0x5ebc5b(0xe7)]!==!![]&&(_0x42b0ec['meta'][_0x5ebc5b(0xf0)]=!_0x11b33d[_0x5ebc5b(0xeb)](_0x39f082),_0x42b0ec[_0x5ebc5b(0xdf)]?.['some'](_0xb40d60=>_0xb40d60[_0x5ebc5b(0xf5)][_0x5ebc5b(0xf0)]===![])&&(_0x42b0ec[_0x5ebc5b(0xf5)][_0x5ebc5b(0xf0)]=![])));};_0x58c690[_0x1a0b60(0xef)](_0x3cb056=>_0x5cadb7(_0x3cb056,[]));},{'immediate':!![]});});};export default{'check404':check404,'setTitle':setTitle,'checkRolesPages':checkRolesPages};
|
package/packages/utils/model.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a91_0x549955=a91_0x4924;(function(_0x32c2cd,_0x3bce83){const _0x26ec42=a91_0x4924,_0x247e9a=_0x32c2cd();while(!![]){try{const _0x608b2d=-parseInt(_0x26ec42(0x1d1))/0x1+-parseInt(_0x26ec42(0x1cf))/0x2*(-parseInt(_0x26ec42(0x1d0))/0x3)+-parseInt(_0x26ec42(0x1d3))/0x4*(-parseInt(_0x26ec42(0x1d5))/0x5)+-parseInt(_0x26ec42(0x1d6))/0x6*(parseInt(_0x26ec42(0x1d4))/0x7)+-parseInt(_0x26ec42(0x1d9))/0x8*(parseInt(_0x26ec42(0x1d7))/0x9)+-parseInt(_0x26ec42(0x1cd))/0xa+parseInt(_0x26ec42(0x1ce))/0xb;if(_0x608b2d===_0x3bce83)break;else _0x247e9a['push'](_0x247e9a['shift']());}catch(_0x48161f){_0x247e9a['push'](_0x247e9a['shift']());}}}(a91_0x3884,0x3a685));function a91_0x4924(_0x36eca4,_0xbba915){const _0x3884f8=a91_0x3884();return a91_0x4924=function(_0x4924de,_0x55c11f){_0x4924de=_0x4924de-0x1cd;let _0x2c0fb8=_0x3884f8[_0x4924de];return _0x2c0fb8;},a91_0x4924(_0x36eca4,_0xbba915);}export const baseForm=()=>({'loading':![],'form':{},'initialForm':{},'formItems':[],'formRef':null,'formRules':{},'initialFormRules':{},'_isBaseForm':!![],'viewonly':![]});export const baseTable=(_0x5e30b6={})=>({'loading':![],'query':{'page':0x1,'limit':0xa,'order':[],..._0x5e30b6},'total':0x0,'moreLoading':![],'finished':![],'isInfinite':![],'list':[],'columns':[],'tableRef':null,'selection':[],'checked':null,'searchFields':[],'_isBaseTable':!![]});function a91_0x3884(){const _0x1ef226=['898YDmYbG','174dTpUBR','422816oQhkWO','left','20GynnqE','153587LvztUb','349425OjuPpV','12NkBddU','19233yPWeWx','selection','952ziGYxS','3934760iInkXi','10760717lcKIRK'];a91_0x3884=function(){return _0x1ef226;};return a91_0x3884();}export const baseDialog=()=>({...baseForm(),'visible':![],'isEditing':![],'editingIndex':'','editingRow':{},'_isBaseDialog':!![]});export const baseModel=({table:table={},dialog:dialog={},columns:columns=[{'fixed':a91_0x549955(0x1d2),'type':a91_0x549955(0x1d8)},{'type':'_index'}],query:query={},form:form={}}={})=>({'table':{...baseTable(query),...table,'columns':columns},'dialog':{...baseDialog(),...dialog,'form':form}});export default{'baseForm':baseForm,'baseTable':baseTable,'baseDialog':baseDialog,'baseModel':baseModel};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a92_0x36acd1=a92_0x3cae;(function(_0x494a70,_0x6158de){const _0x33ce77=a92_0x3cae,_0x1c608c=_0x494a70();while(!![]){try{const _0x105041=-parseInt(_0x33ce77(0x1c9))/0x1*(-parseInt(_0x33ce77(0x1d2))/0x2)+-parseInt(_0x33ce77(0x1b8))/0x3+parseInt(_0x33ce77(0x1bd))/0x4*(-parseInt(_0x33ce77(0x1b2))/0x5)+parseInt(_0x33ce77(0x1cb))/0x6*(-parseInt(_0x33ce77(0x1c7))/0x7)+parseInt(_0x33ce77(0x1b1))/0x8+parseInt(_0x33ce77(0x1c4))/0x9+parseInt(_0x33ce77(0x1c6))/0xa;if(_0x105041===_0x6158de)break;else _0x1c608c['push'](_0x1c608c['shift']());}catch(_0x33e3af){_0x1c608c['push'](_0x1c608c['shift']());}}}(a92_0x2a3a,0x4afc5));import{watch}from'vue';const {funcs}=StardustJs;export const initFields=_0x401f24=>{const _0x4e3532=a92_0x3cae;return _0x401f24[_0x4e3532(0x1e5)](_0x356bca=>{const _0x52db8a=_0x4e3532,_0x4018d1=Object[_0x52db8a(0x1ae)](_0x356bca);for(let _0x54d7e3 of _0x4018d1){if(_0x54d7e3[_0x52db8a(0x1ec)](_0x52db8a(0x1c3)))_0x356bca[_0x52db8a(0x1d7)]??={},_0x356bca[_0x52db8a(0x1d7)][_0x54d7e3[_0x52db8a(0x1a8)](0x3)]=_0x356bca[_0x54d7e3],delete _0x356bca[_0x54d7e3];else _0x54d7e3[_0x52db8a(0x1ec)]('fa_')&&(_0x356bca[_0x52db8a(0x1d6)]??={},_0x356bca['formAttrs'][_0x54d7e3[_0x52db8a(0x1a8)](0x3)]=_0x356bca[_0x54d7e3],delete _0x356bca[_0x54d7e3]);}if(_0x356bca[_0x52db8a(0x1dc)]===_0x52db8a(0x1c2))_0x356bca[_0x52db8a(0x1d6)]??={},_0x356bca['formAttrs'][_0x52db8a(0x1db)]??=_0x52db8a(0x1e4);else _0x356bca[_0x52db8a(0x1dc)]==='datetime'&&(_0x356bca[_0x52db8a(0x1d6)]??={},_0x356bca['formAttrs'][_0x52db8a(0x1db)]??=_0x52db8a(0x1b0));return _0x356bca['xs']??=0x18,_0x356bca;});};export const initModel=(_0x16bf92,_0x335750)=>{const _0x31e579=a92_0x3cae;for(let _0x5bcf54 in _0x16bf92){const _0xebb32d=_0x16bf92[_0x5bcf54];if(!_0xebb32d||typeof _0xebb32d!==_0x31e579(0x1b6))continue;_0x5bcf54==='table'&&_0x16bf92[_0x5bcf54][_0x31e579(0x1ad)]&&initTable(_0xebb32d,_0x335750),_0x5bcf54===_0x31e579(0x1c5)&&_0x16bf92[_0x5bcf54][_0x31e579(0x1c0)]&&initDialog(_0xebb32d,_0x335750),_0x5bcf54===_0x31e579(0x1da)&&_0x16bf92[_0x5bcf54][_0x31e579(0x1a6)]&&initForm(_0xebb32d,_0x335750);}return _0x16bf92;};export const initTable=(_0x24c34b,_0x9b1641)=>{const _0x67963a=a92_0x3cae;return _0x24c34b[_0x67963a(0x1b7)]['push'](..._0x9b1641[_0x67963a(0x1df)](_0x162e2f=>{const _0x17fbf5=_0x67963a;return _0x162e2f[_0x17fbf5(0x1d5)]===![]?_0x162e2f[_0x17fbf5(0x1d9)]:_0x162e2f[_0x17fbf5(0x1d9)]!==![];})),_0x24c34b;};export const initDialog=(_0x5112a3,_0x4a1357)=>{const _0x187ca0=a92_0x3cae;return _0x5112a3[_0x187ca0(0x1e1)]=_0x4a1357[_0x187ca0(0x1df)](_0x1e41cb=>{const _0x3eb47f=_0x187ca0;if(_0x1e41cb[_0x3eb47f(0x1d5)]===![])return _0x1e41cb['canAdd']||_0x1e41cb[_0x3eb47f(0x1cf)];return _0x1e41cb[_0x3eb47f(0x1be)]!==![]||_0x1e41cb['canEdit']!==![];}),initForm(_0x5112a3,_0x4a1357),_0x5112a3;};export const initForm=(_0x3feecf,_0x56f199)=>{const _0x5a122e=a92_0x3cae;_0x3feecf['_isBaseForm']&&!_0x3feecf[_0x5a122e(0x1c0)]&&(_0x3feecf[_0x5a122e(0x1e1)]=_0x56f199[_0x5a122e(0x1df)](_0x29e12c=>_0x29e12c[_0x5a122e(0x1d5)]!==![]));initDefaultForm(_0x3feecf['form'],_0x3feecf[_0x5a122e(0x1e1)]),_0x3feecf['initialForm']=funcs[_0x5a122e(0x1b5)](_0x3feecf[_0x5a122e(0x1da)]),_0x3feecf[_0x5a122e(0x1b9)]=funcs[_0x5a122e(0x1b5)](_0x3feecf[_0x5a122e(0x1dd)]);const _0x110cd5=()=>{initFormRules(_0x3feecf);};return watch(()=>_0x3feecf[_0x5a122e(0x1e1)],_0x110cd5,{'immediate':!![],'deep':!![]}),_0x3feecf;};export const initFormRules=_0x3f7890=>{const _0x31c893=a92_0x3cae,{formItems:_0x4f0bd1,initialFormRules:_0x6ce745}=_0x3f7890;Object[_0x31c893(0x1e8)](_0x3f7890['formRules'],funcs[_0x31c893(0x1b5)](_0x6ce745)),Object['keys'](_0x3f7890[_0x31c893(0x1dd)])[_0x31c893(0x1d0)](_0x256ae0=>{const _0x6d2ce6=_0x31c893;!_0x6ce745['hasOwnProperty'](_0x256ae0)&&delete _0x3f7890[_0x6d2ce6(0x1dd)][_0x256ae0];});const _0x366b7d={};return _0x4f0bd1[_0x31c893(0x1d0)](_0x2bc39f=>{const _0x3588bd=_0x31c893;if(_0x3f7890[_0x3588bd(0x1dd)][_0x2bc39f[_0x3588bd(0x1eb)]])return;if(!_0x2bc39f[_0x3588bd(0x1af)]&&!_0x2bc39f[_0x3588bd(0x1d1)]&&!_0x2bc39f[_0x3588bd(0x1aa)])return;const _0x239bbd=_0x2bc39f[_0x3588bd(0x1c1)]||_0x3f7890[_0x3588bd(0x1c1)]||(window['isMobile']?'mobile':'pc'),_0x3b2ed2=triggers[_0x239bbd],_0x2d40aa=[],_0x1278fb=_0x3588bd(0x1bc)in _0x2bc39f,_0x3cba28='请'+(_0x2bc39f[_0x3588bd(0x1d1)]||_0x2bc39f['asyncValidator']?'正确':'')+(_0x1278fb?'选择':'输入')+(_0x2bc39f?.[_0x3588bd(0x1a7)]||_0x2bc39f['prop']),_0x12844f={'required':!![],'message':_0x3cba28};if(_0x2bc39f['validator'])_0x12844f[_0x3588bd(0x1d1)]=(_0x3d178d,_0x7d7269)=>{const _0x397da6=_0x3588bd;return _0x239bbd==='pc'?_0x2bc39f[_0x397da6(0x1d1)](_0x3d178d,_0x7d7269):_0x2bc39f['validator'](_0x7d7269,_0x3d178d);};if(_0x2bc39f['asyncValidator'])_0x12844f[_0x3588bd(0x1aa)]=(_0x564b00,_0x4ccd15)=>{return _0x239bbd==='pc'?_0x2bc39f['asyncValidator'](_0x564b00,_0x4ccd15):_0x2bc39f['asyncValidator'](_0x4ccd15,_0x564b00);};!_0x2bc39f['comp']?_0x2d40aa[_0x3588bd(0x1b4)]({..._0x12844f,'trigger':_0x3b2ed2[_0x3588bd(0x1cd)]}):_0x2d40aa[_0x3588bd(0x1b4)]({..._0x12844f,'trigger':_0x3b2ed2[_0x3588bd(0x1de)]}),_0x2bc39f[_0x3588bd(0x1d3)]==='ElInputNumber'&&_0x2d40aa[_0x3588bd(0x1b4)]({..._0x12844f,'trigger':_0x3b2ed2[_0x3588bd(0x1cd)]}),_0x366b7d[_0x2bc39f[_0x3588bd(0x1eb)]]=_0x2d40aa;}),Object[_0x31c893(0x1e8)](_0x3f7890[_0x31c893(0x1dd)],_0x366b7d),_0x3f7890['formRules'];};function a92_0x3cae(_0x479008,_0x445c49){const _0x2a3a80=a92_0x2a3a();return a92_0x3cae=function(_0x3caec4,_0x581618){_0x3caec4=_0x3caec4-0x1a6;let _0x5d0b16=_0x2a3a80[_0x3caec4];return _0x5d0b16;},a92_0x3cae(_0x479008,_0x445c49);}export const initDefaultForm=(_0x3be519,_0x24b226,_0x389013=!![])=>{const _0x1bdbe7=a92_0x3cae,_0x2b06c9={};return _0x24b226[_0x1bdbe7(0x1d0)](_0x1edf57=>{const _0x39bd58=_0x1bdbe7;if(!_0x1edf57[_0x39bd58(0x1eb)]||_0x1edf57[_0x39bd58(0x1ea)])return;let _0x18ebf7='';const {type:_0x440fc5,options:_0x2c85f9}=_0x1edf57,{multiple:_0xa8174}=_0x1edf57[_0x39bd58(0x1d6)]||{};if(_0x389013&&_0x440fc5===_0x39bd58(0x1c8)||_0x1edf57[_0x39bd58(0x1d3)]===_0x39bd58(0x1ab))_0x18ebf7=null;else{if(_0x1edf57['comp']===_0x39bd58(0x1b3))_0x18ebf7=![];else{if(_0x2c85f9&&(_0x1edf57[_0x39bd58(0x1d3)]?.[_0x39bd58(0x1ac)]('XCheckboxs')||_0x1edf57['comp']?.[_0x39bd58(0x1ac)](_0x39bd58(0x1ed))||_0xa8174))_0x18ebf7=[];else{if(_0x1edf57[_0x39bd58(0x1d3)]===_0x39bd58(0x1bf)&&['datetimerange',_0x39bd58(0x1e7),_0x39bd58(0x1ce)][_0x39bd58(0x1e2)](_0x1edf57[_0x39bd58(0x1dc)])){const _0x314714={'datetimerange':'时间','daterange':'日期','monthrange':'月份'}[_0x1edf57[_0x39bd58(0x1dc)]];!_0x1edf57[_0x39bd58(0x1a9)]&&(_0x1edf57['start-placeholder']='开始'+_0x314714),!_0x1edf57[_0x39bd58(0x1d8)]&&(_0x1edf57[_0x39bd58(0x1d8)]='结束'+_0x314714),_0x18ebf7=[];}}}}_0x2b06c9[_0x1edf57[_0x39bd58(0x1eb)]]=_0x18ebf7;}),Object[_0x1bdbe7(0x1e8)](_0x3be519,{..._0x2b06c9,..._0x3be519}),_0x3be519;};export const isWhenMatched=(_0x44a371,_0x1da477)=>{const _0x126b0e=a92_0x3cae;if(!_0x44a371)return!![];const _0x548605=_0x44a371['split'](/\s?(&&|\|\|)\s?/g);if(_0x548605[_0x126b0e(0x1e2)]('&&')&&_0x548605[_0x126b0e(0x1e2)]('||'))throw _0x126b0e(0x1ca);const _0x1d319e=_0x548605['includes']('&&'),_0xaea804=/[\^\*\$\~\!]?=/,_0x5cfba4=_0x548605[_0x126b0e(0x1df)](_0x5081f5=>_0x5081f5!=='&&'&&_0x5081f5!=='||');return _0x5cfba4[_0x1d319e?_0x126b0e(0x1e0):'some'](_0xc2c169=>{const _0x111598=_0x126b0e;let [_0x3bb500,_0x1c83c0]=_0xc2c169[_0x111598(0x1cc)](_0xaea804);_0x1c83c0=_0x1c83c0[_0x111598(0x1cc)]('|');let _0x4a1d68=_0x1da477[_0x3bb500];if(typeof _0x4a1d68===_0x111598(0x1c8))_0x4a1d68+='';else{if(typeof _0x4a1d68===_0x111598(0x1bb))_0x4a1d68=_0x4a1d68[_0x111598(0x1d4)]();}const _0x46824d=_0xc2c169[_0x111598(0x1e6)](_0xaea804)[0x0];if(_0x46824d==='!=')return!_0x1c83c0[_0x111598(0x1e2)](_0x4a1d68);return _0x1c83c0[_0x111598(0x1e9)](_0x57d851=>{const _0x1a3461=_0x111598;if(_0x46824d==='^=')return _0x4a1d68?.[_0x1a3461(0x1ec)](_0x57d851);else{if(_0x46824d==='*=')return _0x4a1d68?.[_0x1a3461(0x1e2)](_0x57d851);else{if(_0x46824d==='$=')return _0x4a1d68?.[_0x1a3461(0x1ac)](_0x57d851);else{if(_0x46824d==='~=')return!_0x4a1d68?.[_0x1a3461(0x1e2)](_0x57d851);else{if(_0x46824d==='!=')return _0x4a1d68!==_0x57d851;}}}}return _0x57d851===_0x4a1d68;});});};function a92_0x2a3a(){const _0x44fc36=['virtual','prop','startsWith','x-checkboxs','_isBaseForm','label','slice','start-placeholder','asyncValidator','ElInputNumber','endsWith','_isBaseTable','keys','required','YYYY-MM-DD\x20HH:mm:ss','1447024IWmGKd','70MQyeAQ','ElSwitch','push','deepCopy','object','columns','1116444ZdhEty','initialFormRules','onBlur','string','options','115988MDJvKO','canAdd','ElDatePicker','_isBaseDialog','platform','date','ta_','1613808CWSEDm','dialog','6570700TNhagj','3885kjBUbo','number','2eBSdbg','一个\x20when\x20表达式中仅支持\x20&&\x20模式或\x20||\x20模式','4626pFlDwO','split','blur','monthrange','canEdit','forEach','validator','495892VZYEsu','comp','trim','visible','formAttrs','tableAttrs','end-placeholder','canView','form','value-format','type','formRules','change','filter','every','formItems','includes','onChange','YYYY-MM-DD','map','match','daterange','assign','some'];a92_0x2a3a=function(){return _0x44fc36;};return a92_0x2a3a();}export const triggers={'mobile':{'blur':a92_0x36acd1(0x1ba),'change':a92_0x36acd1(0x1e3)},'pc':{'blur':a92_0x36acd1(0x1cd),'change':a92_0x36acd1(0x1de)}};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_0x4bca(){const _0x30ee7a=['params','resolve','4485390JgWpwd','Content-Type','split','user','join','parse','token','err','body','994yuliUh','/login?redirectTo=','decodeQuery','144bArBSb','reject','href','slice','redirectTo','replace','data','未知错误','5yztMdz','indexOf','now','content-type','stringify','httpEncrypt','hash','code','application/json','refresh-token','url','Http-Encrypt','Authorization','66988iNGmJp','toString','2486085LdqVll','headers','9llSDPA','dates','convertIsoDates','760272lIqzWh','query','730256fdFXMM','741802DGbNaO','encrypt','includes'];a93_0x4bca=function(){return _0x30ee7a;};return a93_0x4bca();}(function(_0x37a1fa,_0x18e904){const _0x5e51c8=a93_0x49b2,_0x4f63a6=_0x37a1fa();while(!![]){try{const _0x4c375c=parseInt(_0x5e51c8(0x1f4))/0x1+-parseInt(_0x5e51c8(0x1ea))/0x2+-parseInt(_0x5e51c8(0x1ec))/0x3+-parseInt(_0x5e51c8(0x1f1))/0x4*(-parseInt(_0x5e51c8(0x1dd))/0x5)+parseInt(_0x5e51c8(0x1d5))/0x6*(parseInt(_0x5e51c8(0x1d2))/0x7)+-parseInt(_0x5e51c8(0x1f3))/0x8*(parseInt(_0x5e51c8(0x1ee))/0x9)+parseInt(_0x5e51c8(0x1f9))/0xa;if(_0x4c375c===_0x18e904)break;else _0x4f63a6['push'](_0x4f63a6['shift']());}catch(_0xc0d79d){_0x4f63a6['push'](_0x4f63a6['shift']());}}}(a93_0x4bca,0x6910a));function a93_0x49b2(_0x125eff,_0x3e8464){const _0x4bca3a=a93_0x4bca();return a93_0x49b2=function(_0x49b2d6,_0x178739){_0x49b2d6=_0x49b2d6-0x1cb;let _0x2b360b=_0x4bca3a[_0x49b2d6];return _0x2b360b;},a93_0x49b2(_0x125eff,_0x3e8464);}import{Message}from'./message.js';const requestUse=(_0x47a877,_0x567d17,_0x317f4a,_0x46d267,_0x50be8d)=>{const _0x5c504b=a93_0x49b2;_0x50be8d['headers'][_0x5c504b(0x1e9)]||=_0x317f4a[_0x5c504b(0x1cc)][_0x5c504b(0x1cf)];const _0x7a253c=_0x47a877['config']['globalProperties'][_0x5c504b(0x1e2)];if(_0x7a253c!==![]){_0x50be8d[_0x5c504b(0x1ed)][_0x5c504b(0x1e8)]=_0x7a253c;const _0x3db346=_0x50be8d[_0x5c504b(0x1db)]instanceof FormData;!_0x3db346&&(_0x50be8d[_0x5c504b(0x1ed)][_0x5c504b(0x1fa)]||='application/json;\x20charset=UTF-8');if(_0x50be8d[_0x5c504b(0x1e7)][_0x5c504b(0x1de)]('?')>=0x0){const [_0x1870bf,..._0x20800a]=_0x50be8d[_0x5c504b(0x1e7)][_0x5c504b(0x1cb)]('?'),_0x5b46bf=_0x567d17[_0x5c504b(0x1f5)][_0x7a253c](_0x20800a[_0x5c504b(0x1cd)]('?'),_0x5c504b(0x1f2));_0x50be8d[_0x5c504b(0x1e7)]=_0x1870bf+'?'+_0x5b46bf;}else _0x50be8d['params']||={'__placeholder__':Date[_0x5c504b(0x1df)]()['toString'](0x10)};if(_0x50be8d[_0x5c504b(0x1f7)]){const _0x164f1f=decodeURIComponent(new URLSearchParams(_0x50be8d[_0x5c504b(0x1f7)])[_0x5c504b(0x1eb)]());_0x50be8d[_0x5c504b(0x1e7)]+='?'+_0x567d17['encrypt'][_0x7a253c](_0x164f1f,'query'),delete _0x50be8d[_0x5c504b(0x1f7)];}if(_0x50be8d['data']!==undefined&&!_0x3db346){const _0x255529=_0x567d17['encrypt'][_0x7a253c](JSON[_0x5c504b(0x1e1)](_0x50be8d[_0x5c504b(0x1db)]),_0x5c504b(0x1d1));_0x50be8d[_0x5c504b(0x1db)]=_0x255529;}}return _0x50be8d;},responseUse=(_0x23a30d,_0x2a9a3b,_0x40067e,_0x6e5aa3,_0x59d466)=>{const _0x49d902=a93_0x49b2;if([0x191,0x192,0x2711]['includes'](_0x59d466[_0x49d902(0x1db)][_0x49d902(0x1e4)])){_0x40067e[_0x49d902(0x1cc)]['setExpired']();const _0x4ae60c='/'+location[_0x49d902(0x1e3)][_0x49d902(0x1d8)](0x2)[_0x49d902(0x1cb)]('?')[0x0],_0x530e98=StardustJs['funcs'][_0x49d902(0x1d4)](location[_0x49d902(0x1d7)][_0x49d902(0x1cb)]('?')[0x1]||'');return _0x6e5aa3[_0x49d902(0x1da)](_0x530e98['redirectTo']?_0x49d902(0x1d3)+(_0x530e98[_0x49d902(0x1d9)]||_0x4ae60c):'/login'),Promise[_0x49d902(0x1d6)](_0x59d466);}else{if([0x2712][_0x49d902(0x1f6)](_0x59d466[_0x49d902(0x1db)][_0x49d902(0x1e4)]))return Message['e'](_0x59d466[_0x49d902(0x1db)]['err']),Promise[_0x49d902(0x1d6)](_0x59d466);}const _0x303e52=_0x59d466['headers'][_0x49d902(0x1e6)]||_0x59d466[_0x49d902(0x1db)][_0x49d902(0x1cf)];_0x303e52&&_0x40067e['user']['setToken'](_0x303e52);if(_0x59d466[_0x49d902(0x1db)][_0x49d902(0x1d0)])return Message['e'](_0x59d466[_0x49d902(0x1db)][_0x49d902(0x1d0)]||_0x49d902(0x1dc)),Promise[_0x49d902(0x1d6)](_0x59d466);return _0x59d466[_0x49d902(0x1ed)][_0x49d902(0x1e0)]?.[_0x49d902(0x1f6)](_0x49d902(0x1e5))&&(_0x59d466[_0x49d902(0x1db)]=JSON[_0x49d902(0x1ce)](StardustJs[_0x49d902(0x1ef)][_0x49d902(0x1f0)](JSON['stringify'](_0x59d466[_0x49d902(0x1db)])))),Promise[_0x49d902(0x1f8)](_0x59d466['data']);};export{requestUse,responseUse};
|
package/packages/utils/site.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a94_0x102bf0=a94_0x4c5a;function a94_0x4c5a(_0xbb6ece,_0x4edfe4){const _0x3d0374=a94_0x3d03();return a94_0x4c5a=function(_0x4c5ac8,_0x4fec27){_0x4c5ac8=_0x4c5ac8-0x88;let _0x22874c=_0x3d0374[_0x4c5ac8];return _0x22874c;},a94_0x4c5a(_0xbb6ece,_0x4edfe4);}(function(_0x58f440,_0x93d574){const _0x505488=a94_0x4c5a,_0x5b54c2=_0x58f440();while(!![]){try{const _0x32c5fd=-parseInt(_0x505488(0x96))/0x1+-parseInt(_0x505488(0x8c))/0x2*(parseInt(_0x505488(0x97))/0x3)+parseInt(_0x505488(0x9b))/0x4+-parseInt(_0x505488(0x99))/0x5+-parseInt(_0x505488(0x90))/0x6*(parseInt(_0x505488(0x98))/0x7)+parseInt(_0x505488(0x89))/0x8+-parseInt(_0x505488(0x9a))/0x9*(-parseInt(_0x505488(0x8e))/0xa);if(_0x32c5fd===_0x93d574)break;else _0x5b54c2['push'](_0x5b54c2['shift']());}catch(_0x5d2137){_0x5b54c2['push'](_0x5b54c2['shift']());}}}(a94_0x3d03,0xbf390));export const createWatermark=({text:_0x53d19e,gap:_0x520024,fontSize:_0x129d74,color:_0x4ae540,width:width=window[a94_0x102bf0(0x88)],height:height=window['innerHeight'],drawMode:drawMode=a94_0x102bf0(0x92)})=>{const _0xebb1d9=a94_0x102bf0,_0x3f7fff=document['createElement']('canvas');_0x3f7fff[_0xebb1d9(0x8a)]=width,_0x3f7fff[_0xebb1d9(0x8d)]=height;const _0x290198=_0x3f7fff[_0xebb1d9(0x94)]('2d');_0x290198[_0xebb1d9(0x93)]=_0x129d74+_0xebb1d9(0x8f),_0x290198[drawMode+_0xebb1d9(0x8b)]=_0x4ae540;const _0x24e19f=_0x290198[_0xebb1d9(0x91)](_0x53d19e)[_0xebb1d9(0x8a)],_0x1cd0cd=_0x24e19f+_0x520024,_0x46d615=_0x129d74+_0x520024;for(let _0x30c917=_0x520024/0x2;_0x30c917<height;_0x30c917+=_0x46d615){for(let _0x415c9d=_0x520024/0x2;_0x415c9d<width;_0x415c9d+=_0x1cd0cd){_0x290198[drawMode+_0xebb1d9(0x95)](_0x53d19e,_0x415c9d,_0x30c917);}}return _0x3f7fff;};function a94_0x3d03(){const _0x2a7126=['7FMNrjn','2468505AUbJiE','192888yWddtS','5116816xltSkR','innerWidth','10291696GNXWjB','width','Style','990398LOIVEI','height','510QEDpVM','px\x20Arial','8961780GNjkOn','measureText','fill','font','getContext','Text','392920YeeGTi','3izuKVR'];a94_0x3d03=function(){return _0x2a7126;};return a94_0x3d03();}export default{'createWatermark':createWatermark};
|
package/packages/vite-plugins.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a95_0x131e95=a95_0x8085;(function(_0x46902c,_0x1278df){const _0x162800=a95_0x8085,_0xfadb1c=_0x46902c();while(!![]){try{const _0x3f6df1=-parseInt(_0x162800(0x1c9))/0x1+parseInt(_0x162800(0x1a1))/0x2+parseInt(_0x162800(0x1c7))/0x3+-parseInt(_0x162800(0x19e))/0x4+parseInt(_0x162800(0x1be))/0x5*(-parseInt(_0x162800(0x194))/0x6)+parseInt(_0x162800(0x199))/0x7+parseInt(_0x162800(0x1bb))/0x8;if(_0x3f6df1===_0x1278df)break;else _0xfadb1c['push'](_0xfadb1c['shift']());}catch(_0x25f3fe){_0xfadb1c['push'](_0xfadb1c['shift']());}}}(a95_0x2ca8,0x95022));import a95_0x486394 from'node:fs';function a95_0x8085(_0x40afd2,_0x8521f5){const _0x2ca849=a95_0x2ca8();return a95_0x8085=function(_0x80857d,_0x2ef628){_0x80857d=_0x80857d-0x191;let _0x79dac3=_0x2ca849[_0x80857d];return _0x79dac3;},a95_0x8085(_0x40afd2,_0x8521f5);}import a95_0x3669ed from'node:path';function a95_0x2ca8(){const _0x329602=[',\x20\x27','vue\x20})','import\x20makeController\x20from\x20\x27./controller.js\x27','983589NkHHph','.scss','514599Sfxtxu','.js','controller.js','.vue','\x27)\x0a','trim','matchAll','<script\x20setup>','-scoped.scss\x22;','378gCdSMY','join','return\x20(_ctx,\x20_cache)\x20=>\x20{','import\x20makeModel\x20from\x20\x27./model.js\x27','dirname','928942gBQiQY','model,\x20','<style\x20lang=\x22scss\x22\x20scoped>','toLowerCase','existsSync','4711084YUzmLh','filter','import\x20makeModel\x20','2164260CJlneX','const\x20model','split','replace','instantiateTables','slice','_ctx\x20=\x20wrapCtx(_ctx,\x20filterPrivateFields(model),\x20filterPrivateFields(controller))','auto-deconstruct','splice','startsWith','return\x20{\x20...__returned__,\x20...filterPrivateFields(model),\x20...filterPrivateFields(controller)\x20}','return\x20{\x20...__returned__,\x20...filterPrivateFields(controller)\x20}','import\x20makeController\x20','const\x20','\x20=\x20new\x20Table(','import\x20controller','map','no\x20model','const\x20controller\x20=\x20makeController({\x20','@use\x20\x22./','<style\x20lang=\x22scss\x22>','forEach','_ctx\x20=\x20wrapCtx(_ctx,\x20filterPrivateFields(model))','<script\x20setup>\x0a','no\x20controller','\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','9765320VtPSDG','auto-inject','_ctx\x20=\x20wrapCtx(_ctx,\x20null,\x20filterPrivateFields(controller))','36560lVCyFQ','</style>','const\x20model\x20=\x20makeModel()','-scoped.scss','/src/','includes'];a95_0x2ca8=function(){return _0x329602;};return a95_0x2ca8();}const filterPrivateFields=a95_0x131e95(0x1ba),inject=(_0x9fe4f,_0x2c3ef9)=>{const _0x331e43=a95_0x131e95,_0xb740ec=a95_0x3669ed[_0x331e43(0x198)](_0x2c3ef9),_0x2ed1e0=a95_0x3669ed['basename'](_0x2c3ef9),_0x37be0d=_0x2ed1e0[_0x331e43(0x1a3)]('.')[0x0],_0x2bbe2a=a95_0x486394[_0x331e43(0x19d)](a95_0x3669ed[_0x331e43(0x195)](_0xb740ec,_0x37be0d+_0x331e43(0x1c1))),_0xa8ac75=a95_0x486394['existsSync'](a95_0x3669ed['join'](_0xb740ec,_0x37be0d+_0x331e43(0x1c8))),_0xb46c87=a95_0x486394[_0x331e43(0x19d)](a95_0x3669ed[_0x331e43(0x195)](_0xb740ec,'model.js')),_0x5f36ad=a95_0x486394['existsSync'](a95_0x3669ed['join'](_0xb740ec,_0x331e43(0x1cb))),_0x19533d=_0xb46c87&&!_0x9fe4f['includes'](_0x331e43(0x1b2))&&!_0x9fe4f[_0x331e43(0x1c3)](_0x331e43(0x1a2))&&!_0x9fe4f[_0x331e43(0x1c3)]('import\x20model'),_0x31b119=_0x5f36ad&&!_0x9fe4f['includes'](_0x331e43(0x1b9))&&!_0x9fe4f[_0x331e43(0x1c3)]('const\x20controller')&&!_0x9fe4f[_0x331e43(0x1c3)](_0x331e43(0x1b0));if(_0x2c3ef9[_0x331e43(0x1c3)](_0x331e43(0x1c2))&&_0x2ed1e0[_0x331e43(0x1c3)]('.vue')&&_0x9fe4f[_0x331e43(0x1aa)](_0x331e43(0x192))){_0x9fe4f=_0x9fe4f[_0x331e43(0x1a4)](_0x331e43(0x192),_0x331e43(0x1b8));const _0x11a8bc=_0x9fe4f[_0x331e43(0x1a3)]('\x0a');_0x2bbe2a&&_0x11a8bc['push'](...[_0x331e43(0x19b),_0x331e43(0x1b4)+_0x37be0d+_0x331e43(0x193),'</style>']),_0xa8ac75&&_0x11a8bc['push'](...[_0x331e43(0x1b5),_0x331e43(0x1b4)+_0x37be0d+'.scss\x22;',_0x331e43(0x1bf)]),_0x31b119&&_0x11a8bc[_0x331e43(0x1a9)](0x1,0x0,_0x331e43(0x1c6),_0x331e43(0x1b3)+(_0x19533d?_0x331e43(0x19a):'')+_0x331e43(0x1c5)),_0x19533d&&_0x11a8bc['splice'](0x1,0x0,_0x331e43(0x197),_0x331e43(0x1c0)),_0x9fe4f=_0x11a8bc[_0x331e43(0x195)]('\x0a');}return _0x9fe4f;},instantiateTables=(_0x604ff4,_0x27d3fb)=>{const _0x46c51b=a95_0x131e95,_0x104de8=a95_0x3669ed['basename'](_0x27d3fb),_0x569fa4=_0x104de8[_0x46c51b(0x1c3)](_0x46c51b(0x1cc)),_0x5d642e=_0x104de8['includes'](_0x46c51b(0x1ca));if(_0x27d3fb[_0x46c51b(0x1c3)](_0x46c51b(0x1c2))&&(_0x569fa4||_0x5d642e)){const _0x5dab59=_0x604ff4[_0x46c51b(0x1a3)]('\x0a')['map'](_0x5c41da=>_0x5c41da[_0x46c51b(0x1ce)]())[_0x46c51b(0x19f)](_0x9cccd9=>!_0x9cccd9[_0x46c51b(0x1aa)]('//'))[_0x46c51b(0x195)]('\x0a');let _0x475281=[...new Set([..._0x5dab59[_0x46c51b(0x191)](/[^a-z][A-Z]\w+\.(search|add|update|remove|func|batch|get)/g)][_0x46c51b(0x1b1)](_0x46651d=>_0x46651d[0x0][_0x46c51b(0x1a6)](0x1)['split']('.')[0x0]))];_0x475281=_0x475281['filter'](_0x4d17b9=>!['Object'][_0x46c51b(0x1c3)](_0x4d17b9));if(_0x475281['length']){let _0x4656b5='';_0x475281[_0x46c51b(0x1b6)](_0x4d585e=>{const _0x4c5b29=_0x46c51b;let [_0x27ae5b,_0x14ff64]=_0x4d585e[_0x4c5b29(0x1a3)]('_')[_0x4c5b29(0x1b1)](_0x4948a8=>_0x4948a8[_0x4c5b29(0x1a4)](/[A-Z]/g,_0x45ab86=>'_'+_0x45ab86[_0x4c5b29(0x19c)]())[_0x4c5b29(0x1a6)](0x1));_0x14ff64?_0x27ae5b='\x27'+_0x27ae5b+'\x27':(_0x14ff64=_0x27ae5b,_0x27ae5b='DbName'),_0x4656b5+=_0x4c5b29(0x1ae)+_0x4d585e+_0x4c5b29(0x1af)+_0x27ae5b+_0x4c5b29(0x1c4)+_0x14ff64+_0x4c5b29(0x1cd);}),_0x569fa4?_0x604ff4=_0x604ff4[_0x46c51b(0x1a4)](_0x46c51b(0x192),_0x46c51b(0x1b8)+_0x4656b5)[_0x46c51b(0x1a4)]('<script>','<script>\x0a'+_0x4656b5):_0x604ff4=_0x4656b5+_0x604ff4;}}return _0x604ff4;},deconstruct=(_0x6aae51,_0x4b831f)=>{const _0x41af85=a95_0x131e95,_0x2666b0=a95_0x3669ed['basename'](_0x4b831f),_0x257982=_0x2666b0[_0x41af85(0x1c3)]('.vue');if(_0x4b831f[_0x41af85(0x1c3)](_0x41af85(0x1c2))&&_0x257982){const _0x1c8fe0='return\x20__returned__',_0x10d3ae=_0x41af85(0x196),_0x488556=_0x6aae51[_0x41af85(0x1c3)](_0x1c8fe0),_0x532ae2=_0x6aae51['includes'](_0x10d3ae),_0x1fe25a=(_0x488556||_0x532ae2)&&_0x6aae51[_0x41af85(0x1c3)](_0x41af85(0x1a0)),_0x425814=(_0x488556||_0x532ae2)&&_0x6aae51[_0x41af85(0x1c3)](_0x41af85(0x1ad));if(_0x1fe25a||_0x425814){let _0x1a6407=filterPrivateFields;if(_0x488556){if(_0x1fe25a&&_0x425814)_0x1a6407+=_0x41af85(0x1ab);else{if(_0x1fe25a)_0x1a6407+='return\x20{\x20...__returned__,\x20...filterPrivateFields(model)\x20}';else _0x425814&&(_0x1a6407+=_0x41af85(0x1ac));}}else{_0x1a6407+=_0x10d3ae+'\x0a';if(_0x1fe25a&&_0x425814)_0x1a6407+=_0x41af85(0x1a7);else{if(_0x1fe25a)_0x1a6407+=_0x41af85(0x1b7);else _0x425814&&(_0x1a6407+=_0x41af85(0x1bd));}_0x1a6407+='\x0a';}_0x6aae51=_0x6aae51[_0x41af85(0x1a4)](_0x488556?_0x1c8fe0:_0x10d3ae,_0x1a6407);}}return _0x6aae51;};export const autoInject=(_0x19e37c={})=>{const _0x55d23b=a95_0x131e95;return{'name':_0x55d23b(0x1bc),'transform'(_0x13f1ab,_0x26d333){const _0x551c3f=_0x55d23b;return _0x13f1ab=inject(_0x13f1ab,_0x26d333),_0x19e37c[_0x551c3f(0x1a5)]!==![]&&(_0x13f1ab=instantiateTables(_0x13f1ab,_0x26d333)),{'code':_0x13f1ab};}};};export const autoDeconstruct=()=>{const _0x4c286c=a95_0x131e95;return{'name':_0x4c286c(0x1a8),'transform'(_0x37cfc4,_0x5f4bbe){return{'code':deconstruct(_0x37cfc4,_0x5f4bbe)};}};};
|
package/src/main.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a96_0x342908=a96_0x325a;function a96_0x325a(_0x31971b,_0x59beba){const _0x3eb81b=a96_0x3eb8();return a96_0x325a=function(_0x325aa8,_0x27905c){_0x325aa8=_0x325aa8-0x126;let _0xa3992a=_0x3eb81b[_0x325aa8];return _0xa3992a;},a96_0x325a(_0x31971b,_0x59beba);}(function(_0x26acb2,_0x58227a){const _0xab1626=a96_0x325a,_0x5d705f=_0x26acb2();while(!![]){try{const _0x44c636=-parseInt(_0xab1626(0x12d))/0x1*(-parseInt(_0xab1626(0x12e))/0x2)+parseInt(_0xab1626(0x131))/0x3+-parseInt(_0xab1626(0x132))/0x4+-parseInt(_0xab1626(0x12f))/0x5*(parseInt(_0xab1626(0x138))/0x6)+parseInt(_0xab1626(0x137))/0x7+-parseInt(_0xab1626(0x139))/0x8*(-parseInt(_0xab1626(0x135))/0x9)+parseInt(_0xab1626(0x126))/0xa*(-parseInt(_0xab1626(0x128))/0xb);if(_0x44c636===_0x58227a)break;else _0x5d705f['push'](_0x5d705f['shift']());}catch(_0x4ab49d){_0x5d705f['push'](_0x5d705f['shift']());}}}(a96_0x3eb8,0x55a7a));import{createApp}from'vue';import a96_0x20d4a5 from'element-plus';import a96_0x14266a from'vant';import a96_0x54e2b5 from'../packages/index.js';import'../packages/index.scss';import a96_0x159dff,{API_BASE_URL}from'./request.js';import a96_0x341b0d from'@/App.vue';const app=createApp(a96_0x341b0d);app[a96_0x342908(0x130)](a96_0x342908(0x129),{'created'(_0x3eaf4b,_0x993294){}}),app[a96_0x342908(0x13a)](a96_0x20d4a5);function a96_0x3eb8(){const _0x713d1a=['55495LoCbWT','directive','320325EZaSJT','366552XfttyQ','isMobile','component','909dBZeJq','assign','1826601ARWjXb','60lwPyZd','39544BAIhHr','use','57030SRjTnZ','#app','1892DwRMqP','domid','config','globalProperties','entries','165hfCxEd','8090pBLIrC'];a96_0x3eb8=function(){return _0x713d1a;};return a96_0x3eb8();}for(const [key,component]of Object[a96_0x342908(0x12c)](ElementPlusIconsVue)){app[a96_0x342908(0x134)](key,component);}app[a96_0x342908(0x13a)](a96_0x14266a),app[a96_0x342908(0x13a)](a96_0x54e2b5,{'ElementPlus':a96_0x20d4a5,'Vant':a96_0x14266a}),Object[a96_0x342908(0x136)](app[a96_0x342908(0x12a)][a96_0x342908(0x12b)],{'isMobile':window[a96_0x342908(0x133)],'service':{'request':a96_0x159dff,'API_BASE_URL':API_BASE_URL},'$store':{'app':{'sidebarCollapse':![],'toggleDuration':0x0}}}),app['mount'](a96_0x342908(0x127));export default app;
|
package/src/request.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a97_0x10a8bd=a97_0x2591;(function(_0x4d3c09,_0x37b92a){const _0x5021ff=a97_0x2591,_0x26a898=_0x4d3c09();while(!![]){try{const _0x2009e8=parseInt(_0x5021ff(0x1f0))/0x1+parseInt(_0x5021ff(0x1eb))/0x2*(-parseInt(_0x5021ff(0x200))/0x3)+-parseInt(_0x5021ff(0x1fd))/0x4+parseInt(_0x5021ff(0x1f5))/0x5*(parseInt(_0x5021ff(0x1f7))/0x6)+parseInt(_0x5021ff(0x1ff))/0x7+-parseInt(_0x5021ff(0x1ef))/0x8*(parseInt(_0x5021ff(0x1f3))/0x9)+parseInt(_0x5021ff(0x1fa))/0xa*(-parseInt(_0x5021ff(0x1ee))/0xb);if(_0x2009e8===_0x37b92a)break;else _0x26a898['push'](_0x26a898['shift']());}catch(_0x483dbc){_0x26a898['push'](_0x26a898['shift']());}}}(a97_0x3438,0xafa38));const {PROD,VITE_DEV_BASE_URL,VITE_PROD_BASE_URL,VITE_TIMEOUT=0xea60}=import.meta[a97_0x10a8bd(0x1ea)],API_BASE_URL=window[a97_0x10a8bd(0x1fc)]||(PROD?VITE_PROD_BASE_URL:VITE_DEV_BASE_URL),createRequest=_0x8c0a5d=>{const _0x21204d=a97_0x10a8bd,_0x2f813e=axios[_0x21204d(0x1f4)]({'baseURL':API_BASE_URL,'timeout':VITE_TIMEOUT*0x1,..._0x8c0a5d});return _0x2f813e['interceptors'][_0x21204d(0x1f2)][_0x21204d(0x1f1)](_0x4f5721=>{return _0x4f5721;},_0x2ab93e=>{const _0x1aae05=_0x21204d;console[_0x1aae05(0x1e9)](_0x2ab93e);}),_0x2f813e[_0x21204d(0x1f9)][_0x21204d(0x1fe)][_0x21204d(0x1f1)](_0x155114=>{return _0x155114;},_0x24f822=>{const _0xe28e7d=_0x21204d;console[_0xe28e7d(0x1e9)](_0x24f822);}),_0x2f813e;},fetchRequest=(_0x2ae57e,_0x75bbb5={})=>{const _0xbe91=a97_0x10a8bd;_0x2ae57e=_0x2ae57e['startsWith'](_0xbe91(0x1ed))?_0x2ae57e:API_BASE_URL+_0x2ae57e;const {method:method=_0xbe91(0x1e8),headers:_0x44d4d4,body:_0x270d3c,..._0x3cdfc0}=_0x75bbb5,_0xdaeffb={'method':method,..._0x3cdfc0,'headers':{'content-type':_0xbe91(0x201),..._0x44d4d4}};return['PUT',_0xbe91(0x1ec)][_0xbe91(0x1f6)](method[_0xbe91(0x1fb)]())&&(_0xdaeffb['body']=typeof _0x270d3c===_0xbe91(0x1f8)?_0x270d3c:JSON['stringify'](_0x270d3c)),fetch(_0x2ae57e,_0xdaeffb);};export default createRequest();export{API_BASE_URL,createRequest,fetchRequest};function a97_0x2591(_0x4029a4,_0x28e6e5){const _0x343815=a97_0x3438();return a97_0x2591=function(_0x2591d8,_0x58f6c8){_0x2591d8=_0x2591d8-0x1e8;let _0xdc6057=_0x343815[_0x2591d8];return _0xdc6057;},a97_0x2591(_0x4029a4,_0x28e6e5);}function a97_0x3438(){const _0xd18195=['POST','http','3008940YfxBQG','112cDLizN','727793ydwgko','use','request','181908mhRXUO','create','495lTtVdX','includes','74694VFsWMO','string','interceptors','10mUSBvh','toUpperCase','API_BASE_URL','2583448QUHtXR','response','1307845ZcWAOt','111MPodWS','application/json','GET','error','env','12178xAAWJu'];a97_0x3438=function(){return _0xd18195;};return a97_0x3438();}
|
package/vite.config.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a98_0x3dd26e=a98_0x53e1;(function(_0x5226f9,_0x2a222d){const _0x250d5f=a98_0x53e1,_0x1c6a94=_0x5226f9();while(!![]){try{const _0x22a6d7=parseInt(_0x250d5f(0x1fd))/0x1*(parseInt(_0x250d5f(0x1f5))/0x2)+parseInt(_0x250d5f(0x1f0))/0x3*(-parseInt(_0x250d5f(0x1f8))/0x4)+-parseInt(_0x250d5f(0x204))/0x5+-parseInt(_0x250d5f(0x1fe))/0x6*(parseInt(_0x250d5f(0x1ff))/0x7)+parseInt(_0x250d5f(0x1f6))/0x8+-parseInt(_0x250d5f(0x1fb))/0x9+parseInt(_0x250d5f(0x1f4))/0xa;if(_0x22a6d7===_0x2a222d)break;else _0x1c6a94['push'](_0x1c6a94['shift']());}catch(_0x5c2f7a){_0x1c6a94['push'](_0x1c6a94['shift']());}}}(a98_0x2ef3,0x29de7));import a98_0x349a9e from'path';import{defineConfig}from'vite';import a98_0x4956b0 from'@vitejs/plugin-vue';import a98_0x35d35d from'@vitejs/plugin-legacy';import a98_0x43283a from'@vitejs/plugin-vue-jsx';function a98_0x53e1(_0x5740c9,_0x1c2c2d){const _0x2ef334=a98_0x2ef3();return a98_0x53e1=function(_0x53e16d,_0x41fc10){_0x53e16d=_0x53e16d-0x1ef;let _0x1235e2=_0x2ef334[_0x53e16d];return _0x1235e2;},a98_0x53e1(_0x5740c9,_0x1c2c2d);}import a98_0x5c2ae4 from'@rollup/plugin-commonjs';import a98_0x4728ba from'rollup-plugin-external-globals';import{babel}from'@rollup/plugin-babel';import{createStyleImportPlugin,VantResolve}from'vite-plugin-style-import';function a98_0x2ef3(){const _0x1feb88=['Vue','1IBraJR','2033508tJQaAs','7EhyPbz','decorators','toString','dist','regenerator-runtime/runtime','339080ySsqdl','split','vue/dist/vue.esm-bundler.js','includes','364263nZvIyX','node_modules','node_modules/','defaults','4499960MnEhBR','474226lLkCyV','1668432cFgGpk','@babel/plugin-proposal-decorators','8bvKAEk','2023-11','join','671328PicsKh'];a98_0x2ef3=function(){return _0x1feb88;};return a98_0x2ef3();}const resolve=_0x235a87=>a98_0x349a9e[a98_0x3dd26e(0x1fa)](process['cwd'](),_0x235a87);export default defineConfig(({command:_0x57297f,mode:_0x179180})=>{const _0x149b57=a98_0x3dd26e,_0x243ec5={'plugins':[a98_0x4956b0({'template':{'compilerOptions':{'expressionPlugins':[[_0x149b57(0x200),{'version':_0x149b57(0x1f9)}]]}},'script':{'babelParserPlugins':[[_0x149b57(0x200),{'version':_0x149b57(0x1f9)}],'decorators']}}),a98_0x43283a(),babel({'compact':![],'plugins':[[_0x149b57(0x1f7),{'version':'2023-11'}]]}),createStyleImportPlugin({'resolves':[VantResolve()]}),a98_0x35d35d({'targets':[_0x149b57(0x1f3)],'additionalLegacyPolyfills':[_0x149b57(0x203)]})],'runtimeCompiler':!![],'build':{'outDir':_0x149b57(0x202),'rollupOptions':{'external':['vue'],'plugins':[a98_0x5c2ae4(),a98_0x4728ba({'vue':_0x149b57(0x1fc)})],'output':{'manualChunks'(_0x517711){const _0x2022ee=_0x149b57;if(_0x517711[_0x2022ee(0x1ef)](_0x2022ee(0x1f1)))return _0x517711[_0x2022ee(0x201)]()[_0x2022ee(0x205)](_0x2022ee(0x1f2))[0x1][_0x2022ee(0x205)]('/')[0x0][_0x2022ee(0x201)]();}}}},'resolve':{'alias':{'@':resolve('src'),'vue':_0x149b57(0x206)}}};return _0x243ec5;});
|
package/vite.lib.config.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a99_0x243e4e=a99_0x246a;(function(_0x2eb0e3,_0x1dce8b){const _0x20a7e7=a99_0x246a,_0x53335e=_0x2eb0e3();while(!![]){try{const _0x46dd87=-parseInt(_0x20a7e7(0x1d3))/0x1*(parseInt(_0x20a7e7(0x1c4))/0x2)+parseInt(_0x20a7e7(0x1bf))/0x3*(parseInt(_0x20a7e7(0x1cd))/0x4)+parseInt(_0x20a7e7(0x1d4))/0x5+parseInt(_0x20a7e7(0x1c8))/0x6*(parseInt(_0x20a7e7(0x1d5))/0x7)+parseInt(_0x20a7e7(0x1cf))/0x8*(-parseInt(_0x20a7e7(0x1d2))/0x9)+parseInt(_0x20a7e7(0x1ca))/0xa*(parseInt(_0x20a7e7(0x1cb))/0xb)+-parseInt(_0x20a7e7(0x1c1))/0xc;if(_0x46dd87===_0x1dce8b)break;else _0x53335e['push'](_0x53335e['shift']());}catch(_0x355c2b){_0x53335e['push'](_0x53335e['shift']());}}}(a99_0x3256,0x2f8bf));function a99_0x3256(){const _0x3e34cc=['vue','cwd','index','852234ltWGSr','includes','16340ZAxbsg','2255zDZJYM','node_modules','164tMeRTH','Vue','2136VxKSBe','toString','src','9369pzmesH','67793GhbwlC','1294805BGCsuV','7FPyxuE','vue/dist/vue.esm-bundler.js','27822iAEstg','./packages/index.js','6095040tNJJWB','join','split','4vRJeyH'];a99_0x3256=function(){return _0x3e34cc;};return a99_0x3256();}import a99_0x4eb3e5 from'path';import{defineConfig}from'vite';import a99_0x20687a from'@vitejs/plugin-vue';import a99_0x310e41 from'@vitejs/plugin-vue-jsx';import a99_0x429c28 from'@rollup/plugin-commonjs';import a99_0x37638c from'rollup-plugin-external-globals';import{createStyleImportPlugin,VantResolve}from'vite-plugin-style-import';function a99_0x246a(_0x492b8e,_0x35df9f){const _0x325654=a99_0x3256();return a99_0x246a=function(_0x246ab7,_0x485eed){_0x246ab7=_0x246ab7-0x1be;let _0x1514c0=_0x325654[_0x246ab7];return _0x1514c0;},a99_0x246a(_0x492b8e,_0x35df9f);}const resolve=_0x2b4b45=>a99_0x4eb3e5[a99_0x243e4e(0x1c2)](process[a99_0x243e4e(0x1c6)](),_0x2b4b45);export default defineConfig(({command:_0x348d7c,mode:_0x18743e})=>{const _0x1fe245=a99_0x243e4e,_0x1f7596={'plugins':[a99_0x20687a(),a99_0x310e41(),createStyleImportPlugin({'resolves':[VantResolve()]})],'runtimeCompiler':!![],'build':{'outDir':'./','lib':{'entry':_0x1fe245(0x1c0),'name':'StardustUI','fileName':_0x1fe245(0x1c7),'formats':['es']},'rollupOptions':{'external':[_0x1fe245(0x1c5)],'plugins':[a99_0x429c28()],'output':{'globals':{'vue':_0x1fe245(0x1ce)},'manualChunks'(_0x52dcd3){const _0x55450f=_0x1fe245;if(_0x52dcd3[_0x55450f(0x1c9)](_0x55450f(0x1cc)))return _0x52dcd3[_0x55450f(0x1d0)]()['split']('node_modules/')[0x1][_0x55450f(0x1c3)]('/')[0x0][_0x55450f(0x1d0)]();}}}},'resolve':{'alias':{'@':resolve(_0x1fe245(0x1d1)),'vue':_0x1fe245(0x1be)}}};return _0x1f7596;});
|