@wp1001/ui 3.6.9 → 3.6.10
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
|
-
|
|
1
|
+
(function(_0x435d40,_0x295c40){const _0x3ac8dd=a90_0x280f,_0x429a55=_0x435d40();while(!![]){try{const _0xc131a9=parseInt(_0x3ac8dd(0x17c))/0x1+-parseInt(_0x3ac8dd(0x177))/0x2+parseInt(_0x3ac8dd(0x16c))/0x3+parseInt(_0x3ac8dd(0x168))/0x4+-parseInt(_0x3ac8dd(0x156))/0x5*(parseInt(_0x3ac8dd(0x164))/0x6)+parseInt(_0x3ac8dd(0x174))/0x7+-parseInt(_0x3ac8dd(0x166))/0x8*(parseInt(_0x3ac8dd(0x15e))/0x9);if(_0xc131a9===_0x295c40)break;else _0x429a55['push'](_0x429a55['shift']());}catch(_0x29f82c){_0x429a55['push'](_0x429a55['shift']());}}}(a90_0x2769,0x892f3));import{watch,nextTick}from'vue';function a90_0x280f(_0x4ade3a,_0x1ce466){const _0x2769f4=a90_0x2769();return a90_0x280f=function(_0x280f79,_0x678286){_0x280f79=_0x280f79-0x156;let _0x4c9b14=_0x2769f4[_0x280f79];return _0x4c9b14;},a90_0x280f(_0x4ade3a,_0x1ce466);}import{Message}from'./message.js';const {funcs}=StardustJs;export const check404=(_0x5a97f1,_0x38f2f1,_0x49f29e)=>{const _0x3dfdd1=a90_0x280f;_0x5a97f1[_0x3dfdd1(0x16d)](async(_0xc2e2ba,_0x4666d2)=>{const _0x4b525d=_0x3dfdd1;return!!_0xc2e2ba['matched'][_0x4b525d(0x17b)]||_0x4b525d(0x173);});};function a90_0x2769(){const _0x1554d2=['split','reduce','sitename','/404','304787JARkYB','paths','visitable','444142STdruZ','sleep','logging','title','length','1096339KiqlFk','48245xAPkJJ','menus','hidden','_hidden','component','acl','redirect','matched','490329hscIHO','app','forEach','includes','children','query','324gEFxBY','logined','104OwIxhA','some','173876MWGrLz','meta','afterEach','error','2489784ktqcpx','beforeEach','getters','path'];a90_0x2769=function(){return _0x1554d2;};return a90_0x2769();}export const setTitle=(_0x269a83,_0x1cbcaa,_0x4f8e65)=>{const _0x2b81d6=a90_0x280f;_0x269a83[_0x2b81d6(0x16a)]((_0x5118ea,_0x486451)=>{const _0x59cc01=_0x2b81d6;document[_0x59cc01(0x17a)]=_0x5118ea[_0x59cc01(0x15d)][_0x5118ea[_0x59cc01(0x15d)][_0x59cc01(0x17b)]-0x1][_0x59cc01(0x169)]?.[_0x59cc01(0x17a)]||_0x1cbcaa[_0x59cc01(0x15f)][_0x59cc01(0x172)];});};export const checkRolesPages=(_0x4c806d,_0xdf9880,_0x2215cb)=>{const _0x5bf16e=a90_0x280f;_0x4c806d[_0x5bf16e(0x16d)](async(_0x1e8b7d,_0x2d0488)=>{const _0xe05709=_0x5bf16e,_0x146088=_0x1e8b7d['matched'][_0x1e8b7d[_0xe05709(0x15d)][_0xe05709(0x17b)]-0x1][_0xe05709(0x16f)][_0xe05709(0x170)]('/:')[0x0];if(_0x1e8b7d[_0xe05709(0x169)][_0xe05709(0x15b)]===![]||_0x1e8b7d[_0xe05709(0x169)]?.[_0xe05709(0x176)])return!![];while(_0xdf9880[_0xe05709(0x16e)][_0xe05709(0x179)]){await funcs[_0xe05709(0x178)](0x14);}await nextTick();if(_0xdf9880[_0xe05709(0x15b)][_0xe05709(0x175)][_0xe05709(0x161)](_0x146088))return!![];const _0x32387a={'redirectTo':_0x1e8b7d[_0xe05709(0x16f)],..._0x1e8b7d[_0xe05709(0x163)]};return _0xdf9880['getters'][_0xe05709(0x165)]&&(_0x32387a[_0xe05709(0x16b)]='受限于您的账号权限,暂时无法访问\x20'+_0x1e8b7d['path']+'\x20页面,如有需要请联系我们',Message({'message':_0x32387a['error'],'duration':0x2710})),{'path':_0xdf9880[_0xe05709(0x15b)]['paths'][0x0]||_0xe05709(0x173),'query':_0x32387a};}),nextTick(()=>{const _0x1dcf93=_0x5bf16e;let _0x13f79f=![];watch(()=>_0xdf9880[_0x1dcf93(0x15b)][_0x1dcf93(0x157)],_0x44d24b=>{const _0x96e85=_0x1dcf93;if(!_0x13f79f){if(!_0x44d24b['length'])return;_0x13f79f=!![];}const _0x155965=_0xdf9880[_0x96e85(0x15b)][_0x96e85(0x175)],_0x5743bb=(_0x579a6f,_0x3bb3a4)=>{const _0x46e8fb=_0x96e85;let _0x2ea150;_0x579a6f[_0x46e8fb(0x15c)]&&!_0x579a6f[_0x46e8fb(0x15a)]?_0x2ea150=_0x579a6f[_0x46e8fb(0x15c)]:_0x2ea150=[..._0x3bb3a4,_0x579a6f][_0x46e8fb(0x171)]((_0x4aff76,_0x26ea0d)=>_0x4aff76+'/'+_0x26ea0d[_0x46e8fb(0x16f)],'')['replace']('//','/'),_0x579a6f[_0x46e8fb(0x169)]||={},_0x579a6f['meta']['acl']===![]?_0x579a6f[_0x46e8fb(0x162)]?.[_0x46e8fb(0x160)](_0xc47afa=>{const _0x5cf165=_0x46e8fb;_0xc47afa[_0x5cf165(0x169)]||={},_0xc47afa[_0x5cf165(0x169)]['acl']||=![],_0x5743bb(_0xc47afa,[..._0x3bb3a4,_0x579a6f]);}):(_0x579a6f['meta'][_0x46e8fb(0x159)]=_0x579a6f[_0x46e8fb(0x169)]['hidden'],parent&&(_0x579a6f[_0x46e8fb(0x169)][_0x46e8fb(0x158)]==null&&(_0x579a6f['meta']['hidden']??=parent['meta']?.[_0x46e8fb(0x158)],_0x579a6f[_0x46e8fb(0x169)]={..._0x579a6f['meta']}),_0x579a6f[_0x46e8fb(0x169)]['visitable']==null&&(_0x579a6f[_0x46e8fb(0x169)][_0x46e8fb(0x176)]??=parent[_0x46e8fb(0x169)]?.[_0x46e8fb(0x176)],_0x579a6f[_0x46e8fb(0x169)]={..._0x579a6f[_0x46e8fb(0x169)]})),_0x579a6f['children']?.['forEach'](_0x56e652=>_0x5743bb(_0x56e652,[..._0x3bb3a4,_0x579a6f])),_0x579a6f[_0x46e8fb(0x169)][_0x46e8fb(0x158)]!==![]&&_0x579a6f[_0x46e8fb(0x169)][_0x46e8fb(0x159)]!==!![]&&(_0x579a6f[_0x46e8fb(0x169)][_0x46e8fb(0x158)]=!_0x155965[_0x46e8fb(0x161)](_0x2ea150),_0x579a6f[_0x46e8fb(0x162)]?.[_0x46e8fb(0x167)](_0x3054f5=>_0x3054f5[_0x46e8fb(0x169)][_0x46e8fb(0x158)]===![])&&(_0x579a6f[_0x46e8fb(0x169)][_0x46e8fb(0x158)]=![])));};_0x2215cb[_0x96e85(0x160)](_0x34955a=>_0x5743bb(_0x34955a,[]));},{'immediate':!![]});});};export default{'check404':check404,'setTitle':setTitle,'checkRolesPages':checkRolesPages};
|
package/packages/utils/model.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a91_0x3e5f1a=a91_0x377f;(function(_0x25fa7c,_0x354860){const _0x46b77e=a91_0x377f,_0x1f6cd1=_0x25fa7c();while(!![]){try{const _0xba3e54=parseInt(_0x46b77e(0x1c4))/0x1+-parseInt(_0x46b77e(0x1c7))/0x2+-parseInt(_0x46b77e(0x1c2))/0x3*(-parseInt(_0x46b77e(0x1bf))/0x4)+-parseInt(_0x46b77e(0x1c5))/0x5*(parseInt(_0x46b77e(0x1c6))/0x6)+parseInt(_0x46b77e(0x1c9))/0x7*(-parseInt(_0x46b77e(0x1c1))/0x8)+-parseInt(_0x46b77e(0x1c3))/0x9+parseInt(_0x46b77e(0x1c0))/0xa;if(_0xba3e54===_0x354860)break;else _0x1f6cd1['push'](_0x1f6cd1['shift']());}catch(_0x23da57){_0x1f6cd1['push'](_0x1f6cd1['shift']());}}}(a91_0x595f,0x8b78b));export const baseForm=()=>({'loading':![],'form':{},'initialForm':{},'formItems':[],'formRef':null,'formRules':{},'initialFormRules':{},'_isBaseForm':!![],'viewonly':![]});function a91_0x377f(_0x15029a,_0x31934b){const _0x595fa9=a91_0x595f();return a91_0x377f=function(_0x377f6c,_0x385753){_0x377f6c=_0x377f6c-0x1be;let _0x27a982=_0x595fa9[_0x377f6c];return _0x27a982;},a91_0x377f(_0x15029a,_0x31934b);}export const baseTable=(_0x2aedf1={})=>({'loading':![],'query':{'page':0x1,'limit':0xa,'order':[],..._0x2aedf1},'total':0x0,'moreLoading':![],'finished':![],'isInfinite':![],'list':[],'columns':[],'tableRef':null,'selection':[],'checked':null,'searchFields':[],'_isBaseTable':!![]});export const baseDialog=()=>({...baseForm(),'visible':![],'isEditing':![],'editingIndex':'','editingRow':{},'_isBaseDialog':!![]});function a91_0x595f(){const _0x29b91f=['28036110rtScvQ','248xLpcfx','160086fzsjQZ','8954334IxXedD','275339JZgZXR','1767410elNQft','12tQvOwU','1552544WpBcAj','_index','175357hIndfk','selection','56vLczEV'];a91_0x595f=function(){return _0x29b91f;};return a91_0x595f();}export const baseModel=({table:table={},dialog:dialog={},columns:columns=[{'fixed':'left','type':a91_0x3e5f1a(0x1be)},{'type':a91_0x3e5f1a(0x1c8)}],query:query={},form:form={}}={})=>({'table':{...baseTable(query),...table,'columns':columns},'dialog':{...baseDialog(),...dialog,'form':form}});export default{'baseForm':baseForm,'baseTable':baseTable,'baseDialog':baseDialog,'baseModel':baseModel};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a92_0x1ef21d=a92_0x1618;(function(_0x3c93d4,_0x2aeb42){const _0x306c9f=a92_0x1618,_0x151b18=_0x3c93d4();while(!![]){try{const _0x4afe1f=parseInt(_0x306c9f(0xc2))/0x1*(parseInt(_0x306c9f(0xab))/0x2)+parseInt(_0x306c9f(0xc8))/0x3*(parseInt(_0x306c9f(0xb1))/0x4)+-parseInt(_0x306c9f(0xa4))/0x5+-parseInt(_0x306c9f(0xe3))/0x6+-parseInt(_0x306c9f(0xb9))/0x7+-parseInt(_0x306c9f(0xa9))/0x8+parseInt(_0x306c9f(0xb2))/0x9;if(_0x4afe1f===_0x2aeb42)break;else _0x151b18['push'](_0x151b18['shift']());}catch(_0x31a11c){_0x151b18['push'](_0x151b18['shift']());}}}(a92_0x9448,0xdb3ae));import{watch}from'vue';function a92_0x1618(_0x29a0a1,_0x2144c8){const _0x944801=a92_0x9448();return a92_0x1618=function(_0x1618ff,_0x529d03){_0x1618ff=_0x1618ff-0xa1;let _0x1ac1ba=_0x944801[_0x1618ff];return _0x1ac1ba;},a92_0x1618(_0x29a0a1,_0x2144c8);}const {funcs}=StardustJs;export const initFields=_0x36c856=>{return _0x36c856['map'](_0x28078d=>{const _0x3797b4=a92_0x1618,_0x126a41=Object[_0x3797b4(0xca)](_0x28078d);for(let _0xf5fb95 of _0x126a41){if(_0xf5fb95[_0x3797b4(0xd7)](_0x3797b4(0xb8)))_0x28078d[_0x3797b4(0xa1)]??={},_0x28078d[_0x3797b4(0xa1)][_0xf5fb95[_0x3797b4(0xd6)](0x3)]=_0x28078d[_0xf5fb95],delete _0x28078d[_0xf5fb95];else _0xf5fb95['startsWith']('fa_')&&(_0x28078d[_0x3797b4(0xd9)]??={},_0x28078d[_0x3797b4(0xd9)][_0xf5fb95[_0x3797b4(0xd6)](0x3)]=_0x28078d[_0xf5fb95],delete _0x28078d[_0xf5fb95]);}if(_0x28078d[_0x3797b4(0xcf)]==='date')_0x28078d[_0x3797b4(0xd9)]??={},_0x28078d[_0x3797b4(0xd9)]['value-format']??=_0x3797b4(0xba);else _0x28078d[_0x3797b4(0xcf)]===_0x3797b4(0xe2)&&(_0x28078d[_0x3797b4(0xd9)]??={},_0x28078d[_0x3797b4(0xd9)][_0x3797b4(0xb4)]??='YYYY-MM-DD\x20HH:mm:ss');return _0x28078d['xs']??=0x18,_0x28078d;});};export const initModel=(_0x1b5003,_0x5be0ea)=>{const _0x283672=a92_0x1618;for(let _0x5b2b35 in _0x1b5003){const _0x4fe6d6=_0x1b5003[_0x5b2b35];if(!_0x4fe6d6||typeof _0x4fe6d6!==_0x283672(0xc7))continue;_0x5b2b35===_0x283672(0xc4)&&_0x1b5003[_0x5b2b35]['_isBaseTable']&&initTable(_0x4fe6d6,_0x5be0ea),_0x5b2b35===_0x283672(0xbe)&&_0x1b5003[_0x5b2b35][_0x283672(0xaa)]&&initDialog(_0x4fe6d6,_0x5be0ea),_0x5b2b35===_0x283672(0xb0)&&_0x1b5003[_0x5b2b35][_0x283672(0xd5)]&&initForm(_0x4fe6d6,_0x5be0ea);}return _0x1b5003;};export const initTable=(_0x308d4f,_0x17e74a)=>{const _0x2f2c7a=a92_0x1618;return _0x308d4f[_0x2f2c7a(0xa8)]['push'](..._0x17e74a['filter'](_0x1c9c2c=>{const _0x22f846=_0x2f2c7a;return _0x1c9c2c[_0x22f846(0xcd)]===![]?_0x1c9c2c[_0x22f846(0xaf)]:_0x1c9c2c[_0x22f846(0xaf)]!==![];})),_0x308d4f;};export const initDialog=(_0x43ccde,_0x786ba8)=>{const _0x561850=a92_0x1618;return _0x43ccde[_0x561850(0xcb)]=_0x786ba8[_0x561850(0xb5)](_0x2a24e4=>{const _0x2e83ca=_0x561850;if(_0x2a24e4[_0x2e83ca(0xcd)]===![])return _0x2a24e4[_0x2e83ca(0xbf)]||_0x2a24e4['canEdit'];return _0x2a24e4[_0x2e83ca(0xbf)]!==![]||_0x2a24e4[_0x2e83ca(0xdc)]!==![];}),initForm(_0x43ccde,_0x786ba8),_0x43ccde;};export const initForm=(_0x52cf54,_0x11a0dd)=>{const _0x497954=a92_0x1618;_0x52cf54[_0x497954(0xd5)]&&!_0x52cf54[_0x497954(0xaa)]&&(_0x52cf54['formItems']=_0x11a0dd[_0x497954(0xb5)](_0x1a61d7=>_0x1a61d7[_0x497954(0xcd)]!==![]));initDefaultForm(_0x52cf54[_0x497954(0xb0)],_0x52cf54[_0x497954(0xcb)]),_0x52cf54[_0x497954(0xc0)]=funcs['deepCopy'](_0x52cf54[_0x497954(0xb0)]),_0x52cf54[_0x497954(0xd1)]=funcs[_0x497954(0xe1)](_0x52cf54[_0x497954(0xac)]);const _0x42621b=()=>{initFormRules(_0x52cf54);};return watch(()=>_0x52cf54['formItems'],_0x42621b,{'immediate':!![],'deep':!![]}),_0x52cf54;};export const initFormRules=_0x19cdce=>{const _0x58fd01=a92_0x1618,{formItems:_0x3fb0e8,initialFormRules:_0x2c5f96}=_0x19cdce;Object[_0x58fd01(0xda)](_0x19cdce['formRules'],funcs[_0x58fd01(0xe1)](_0x2c5f96)),Object[_0x58fd01(0xca)](_0x19cdce['formRules'])[_0x58fd01(0xc5)](_0x3d6889=>{const _0x514e0e=_0x58fd01;!_0x2c5f96[_0x514e0e(0xb6)](_0x3d6889)&&delete _0x19cdce['formRules'][_0x3d6889];});const _0x4a4855={};return _0x3fb0e8[_0x58fd01(0xc5)](_0x3dcbfe=>{const _0x2c0364=_0x58fd01;if(_0x19cdce[_0x2c0364(0xac)][_0x3dcbfe[_0x2c0364(0xce)]])return;if(!_0x3dcbfe[_0x2c0364(0xae)]&&!_0x3dcbfe[_0x2c0364(0xbc)]&&!_0x3dcbfe[_0x2c0364(0xdd)])return;const _0x567a68=_0x3dcbfe[_0x2c0364(0xc9)]||_0x19cdce[_0x2c0364(0xc9)]||(window[_0x2c0364(0xc6)]?_0x2c0364(0xad):'pc'),_0x5a3958=triggers[_0x567a68],_0x591115=[],_0x14afb2=_0x2c0364(0xdf)in _0x3dcbfe,_0x35b8fe='请'+(_0x3dcbfe['validator']||_0x3dcbfe['asyncValidator']?'正确':'')+(_0x14afb2?'选择':'输入')+(_0x3dcbfe?.['label']||_0x3dcbfe[_0x2c0364(0xce)]),_0x1a13f5={'required':!![],'message':_0x35b8fe};if(_0x3dcbfe['validator'])_0x1a13f5[_0x2c0364(0xbc)]=(_0x1dab5a,_0x5522a0)=>{const _0x95b990=_0x2c0364;return _0x567a68==='pc'?_0x3dcbfe[_0x95b990(0xbc)](_0x1dab5a,_0x5522a0):_0x3dcbfe[_0x95b990(0xbc)](_0x5522a0,_0x1dab5a);};if(_0x3dcbfe[_0x2c0364(0xdd)])_0x1a13f5[_0x2c0364(0xdd)]=(_0x1383e3,_0x5416e3)=>{return _0x567a68==='pc'?_0x3dcbfe['asyncValidator'](_0x1383e3,_0x5416e3):_0x3dcbfe['asyncValidator'](_0x5416e3,_0x1383e3);};!_0x3dcbfe[_0x2c0364(0xa3)]?_0x591115[_0x2c0364(0xdb)]({..._0x1a13f5,'trigger':_0x5a3958[_0x2c0364(0xe5)]}):_0x591115['push']({..._0x1a13f5,'trigger':_0x5a3958['change']}),_0x3dcbfe[_0x2c0364(0xa3)]===_0x2c0364(0xe4)&&_0x591115['push']({..._0x1a13f5,'trigger':_0x5a3958[_0x2c0364(0xe5)]}),_0x4a4855[_0x3dcbfe['prop']]=_0x591115;}),Object['assign'](_0x19cdce[_0x58fd01(0xac)],_0x4a4855),_0x19cdce[_0x58fd01(0xac)];};export const initDefaultForm=(_0x8200cc,_0xd3b370,_0x31fe36=!![])=>{const _0x333dd3=a92_0x1618,_0x2bbf36={};return _0xd3b370[_0x333dd3(0xc5)](_0x72f58=>{const _0x52e386=_0x333dd3;if(!_0x72f58[_0x52e386(0xce)]||_0x72f58[_0x52e386(0xd2)])return;let _0x5ee311='';const {type:_0x6f1b9c,options:_0x3e2c12}=_0x72f58,{multiple:_0x56a0c5}=_0x72f58[_0x52e386(0xd9)]||{};if(_0x31fe36&&_0x6f1b9c===_0x52e386(0xbb)||_0x72f58[_0x52e386(0xa3)]===_0x52e386(0xe4))_0x5ee311=null;else{if(_0x72f58[_0x52e386(0xa3)]===_0x52e386(0xde))_0x5ee311=![];else{if(_0x3e2c12&&(_0x72f58['comp']?.[_0x52e386(0xb3)]('XCheckboxs')||_0x72f58['comp']?.[_0x52e386(0xb3)](_0x52e386(0xa6))||_0x56a0c5))_0x5ee311=[];else{if(_0x72f58[_0x52e386(0xa3)]===_0x52e386(0xe0)&&[_0x52e386(0xc1),_0x52e386(0xc3),_0x52e386(0xd0)][_0x52e386(0xa5)](_0x72f58['type'])){const _0x105a9e={'datetimerange':'时间','daterange':'日期','monthrange':'月份'}[_0x72f58[_0x52e386(0xcf)]];!_0x72f58['start-placeholder']&&(_0x72f58['start-placeholder']='开始'+_0x105a9e),!_0x72f58['end-placeholder']&&(_0x72f58[_0x52e386(0xd4)]='结束'+_0x105a9e),_0x5ee311=[];}}}}_0x2bbf36[_0x72f58[_0x52e386(0xce)]]=_0x5ee311;}),Object[_0x333dd3(0xda)](_0x8200cc,{..._0x2bbf36,..._0x8200cc}),_0x8200cc;};export const isWhenMatched=(_0x158a42,_0x33e41f)=>{const _0x589ddc=a92_0x1618;if(!_0x158a42)return!![];const _0x4ea7a6=_0x158a42[_0x589ddc(0xd3)](/\s?(&&|\|\|)\s?/g);if(_0x4ea7a6[_0x589ddc(0xa5)]('&&')&&_0x4ea7a6[_0x589ddc(0xa5)]('||'))throw'一个\x20when\x20表达式中仅支持\x20&&\x20模式或\x20||\x20模式';const _0xcf8152=_0x4ea7a6[_0x589ddc(0xa5)]('&&'),_0x2f6b0e=/[\^\*\$\~\!]?=/,_0xebf3df=_0x4ea7a6['filter'](_0x43f772=>_0x43f772!=='&&'&&_0x43f772!=='||');return _0xebf3df[_0xcf8152?'every':'some'](_0x4f0e6b=>{const _0x5b354d=_0x589ddc;let [_0x1323df,_0x101ea4]=_0x4f0e6b[_0x5b354d(0xd3)](_0x2f6b0e);_0x101ea4=_0x101ea4[_0x5b354d(0xd3)]('|');let _0x4c611a=_0x33e41f[_0x1323df];if(typeof _0x4c611a===_0x5b354d(0xbb))_0x4c611a+='';else{if(typeof _0x4c611a===_0x5b354d(0xb7))_0x4c611a=_0x4c611a[_0x5b354d(0xa7)]();}const _0x42a4fc=_0x4f0e6b[_0x5b354d(0xa2)](_0x2f6b0e)[0x0];if(_0x42a4fc==='!=')return!_0x101ea4[_0x5b354d(0xa5)](_0x4c611a);return _0x101ea4['some'](_0xe47eab=>{const _0x4568a9=_0x5b354d;if(_0x42a4fc==='^=')return _0x4c611a?.[_0x4568a9(0xd7)](_0xe47eab);else{if(_0x42a4fc==='*=')return _0x4c611a?.[_0x4568a9(0xa5)](_0xe47eab);else{if(_0x42a4fc==='$=')return _0x4c611a?.[_0x4568a9(0xb3)](_0xe47eab);else{if(_0x42a4fc==='~=')return!_0x4c611a?.[_0x4568a9(0xa5)](_0xe47eab);else{if(_0x42a4fc==='!=')return _0x4c611a!==_0xe47eab;}}}}return _0xe47eab===_0x4c611a;});});};export const triggers={'mobile':{'blur':a92_0x1ef21d(0xd8),'change':a92_0x1ef21d(0xcc)},'pc':{'blur':a92_0x1ef21d(0xe5),'change':a92_0x1ef21d(0xbd)}};function a92_0x9448(){const _0x47b17c=['push','canEdit','asyncValidator','ElSwitch','options','ElDatePicker','deepCopy','datetime','4072410zCKsTu','ElInputNumber','blur','tableAttrs','match','comp','450395SpyKtW','includes','x-checkboxs','trim','columns','882720ZlnfJp','_isBaseDialog','5584SXrrpe','formRules','mobile','required','canView','form','4188920KJbLOT','9010854zbrGwP','endsWith','value-format','filter','hasOwnProperty','string','ta_','10596292jeDOHB','YYYY-MM-DD','number','validator','change','dialog','canAdd','initialForm','datetimerange','445yUoDDH','daterange','table','forEach','isMobile','object','3MwHjYb','platform','keys','formItems','onChange','visible','prop','type','monthrange','initialFormRules','virtual','split','end-placeholder','_isBaseForm','slice','startsWith','onBlur','formAttrs','assign'];a92_0x9448=function(){return _0x47b17c;};return a92_0x9448();}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_0x4fdd(){const _0xa0480=['data','未知错误','60mKpySM','setExpired','httpEncrypt','token','url','convertIsoDates','10diRcNl','split','4242321TChTLP','resolve','href','refresh-token','includes','toString','headers','1610896leLqoU','params','dates','302561GSWkSr','replace','parse','24222gyrAVw','547260OIPrTg','Content-Type','indexOf','10rieoOj','encrypt','decodeQuery','application/json;\x20charset=UTF-8','1109124fhanNU','slice','stringify','redirectTo','Authorization','err','/login?redirectTo=','hash','reject','user','/login','setToken','35092OEITWb','query'];a93_0x4fdd=function(){return _0xa0480;};return a93_0x4fdd();}function a93_0x4abb(_0x53f986,_0x3bb137){const _0x4fdd12=a93_0x4fdd();return a93_0x4abb=function(_0x4abbdd,_0x38450a){_0x4abbdd=_0x4abbdd-0x137;let _0x3dd046=_0x4fdd12[_0x4abbdd];return _0x3dd046;},a93_0x4abb(_0x53f986,_0x3bb137);}(function(_0x52b062,_0x16f47e){const _0x31792f=a93_0x4abb,_0x1b4ae4=_0x52b062();while(!![]){try{const _0x497b80=-parseInt(_0x31792f(0x147))/0x1*(parseInt(_0x31792f(0x156))/0x2)+-parseInt(_0x31792f(0x157))/0x3+-parseInt(_0x31792f(0x13d))/0x4*(parseInt(_0x31792f(0x141))/0x5)+-parseInt(_0x31792f(0x15e))/0x6+parseInt(_0x31792f(0x153))/0x7+parseInt(_0x31792f(0x150))/0x8+parseInt(_0x31792f(0x149))/0x9*(parseInt(_0x31792f(0x15a))/0xa);if(_0x497b80===_0x16f47e)break;else _0x1b4ae4['push'](_0x1b4ae4['shift']());}catch(_0x2caf0b){_0x1b4ae4['push'](_0x1b4ae4['shift']());}}}(a93_0x4fdd,0x1ddb6));import{Message}from'./message.js';const requestUse=(_0x2c1d3c,_0x1ba46c,_0xf8c8b7,_0x4f0caa,_0x2bffda)=>{const _0x4cc0b8=a93_0x4abb;_0x2bffda[_0x4cc0b8(0x14f)][_0x4cc0b8(0x162)]||=_0xf8c8b7[_0x4cc0b8(0x13a)]['token'];const _0x2a6167=_0x2c1d3c['config']['globalProperties'][_0x4cc0b8(0x143)];if(_0x2a6167!==![]){_0x2bffda[_0x4cc0b8(0x14f)]['Http-Encrypt']=_0x2a6167;const _0x5a126b=_0x2bffda[_0x4cc0b8(0x13f)]instanceof FormData;!_0x5a126b&&(_0x2bffda[_0x4cc0b8(0x14f)][_0x4cc0b8(0x158)]||=_0x4cc0b8(0x15d));if(_0x2bffda[_0x4cc0b8(0x145)][_0x4cc0b8(0x159)]('?')>=0x0){const [_0x29962b,..._0x1df54f]=_0x2bffda[_0x4cc0b8(0x145)]['split']('?'),_0x2a7a48=_0x1ba46c[_0x4cc0b8(0x15b)][_0x2a6167](_0x1df54f['join']('?'),_0x4cc0b8(0x13e));_0x2bffda['url']=_0x29962b+'?'+_0x2a7a48;}else _0x2bffda[_0x4cc0b8(0x151)]||={'__placeholder__':Date['now']()[_0x4cc0b8(0x14e)](0x10)};if(_0x2bffda[_0x4cc0b8(0x151)]){const _0x112314=decodeURIComponent(new URLSearchParams(_0x2bffda[_0x4cc0b8(0x151)])[_0x4cc0b8(0x14e)]());_0x2bffda[_0x4cc0b8(0x145)]+='?'+_0x1ba46c[_0x4cc0b8(0x15b)][_0x2a6167](_0x112314,_0x4cc0b8(0x13e)),delete _0x2bffda[_0x4cc0b8(0x151)];}if(_0x2bffda['data']!==undefined&&!_0x5a126b){const _0x35b26a=_0x1ba46c['encrypt'][_0x2a6167](JSON['stringify'](_0x2bffda[_0x4cc0b8(0x13f)]),'body');_0x2bffda[_0x4cc0b8(0x13f)]=_0x35b26a;}}return _0x2bffda;},responseUse=(_0x384503,_0x3227d0,_0x4d2e41,_0x50e479,_0x61d43b)=>{const _0x446699=a93_0x4abb;if([0x191,0x192,0x2711][_0x446699(0x14d)](_0x61d43b[_0x446699(0x13f)]['code'])){_0x4d2e41[_0x446699(0x13a)][_0x446699(0x142)]();const _0x18c214='/'+location[_0x446699(0x138)][_0x446699(0x15f)](0x2)[_0x446699(0x148)]('?')[0x0],_0x41b822=StardustJs['funcs'][_0x446699(0x15c)](location[_0x446699(0x14b)][_0x446699(0x148)]('?')[0x1]||'');return _0x50e479[_0x446699(0x154)](_0x41b822[_0x446699(0x161)]?_0x446699(0x137)+(_0x41b822[_0x446699(0x161)]||_0x18c214):_0x446699(0x13b)),Promise[_0x446699(0x139)](_0x61d43b);}else{if([0x2712][_0x446699(0x14d)](_0x61d43b[_0x446699(0x13f)]['code']))return Message['e'](_0x61d43b[_0x446699(0x13f)][_0x446699(0x163)]),Promise[_0x446699(0x139)](_0x61d43b);}const _0x10464e=_0x61d43b[_0x446699(0x14f)][_0x446699(0x14c)]||_0x61d43b[_0x446699(0x13f)][_0x446699(0x144)];_0x10464e&&_0x4d2e41[_0x446699(0x13a)][_0x446699(0x13c)](_0x10464e);if(_0x61d43b[_0x446699(0x13f)][_0x446699(0x163)])return Message['e'](_0x61d43b[_0x446699(0x13f)][_0x446699(0x163)]||_0x446699(0x140)),Promise['reject'](_0x61d43b);return _0x61d43b[_0x446699(0x14f)]['content-type']?.[_0x446699(0x14d)]('application/json')&&(_0x61d43b[_0x446699(0x13f)]=JSON[_0x446699(0x155)](StardustJs[_0x446699(0x152)][_0x446699(0x146)](JSON[_0x446699(0x160)](_0x61d43b['data'])))),Promise[_0x446699(0x14a)](_0x61d43b['data']);};export{requestUse,responseUse};
|
package/packages/utils/site.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a94_0x6f1e(_0x232813,_0x2e887c){const _0x57ced5=a94_0x57ce();return a94_0x6f1e=function(_0x6f1ed2,_0x185930){_0x6f1ed2=_0x6f1ed2-0x1e9;let _0x3e4016=_0x57ced5[_0x6f1ed2];return _0x3e4016;},a94_0x6f1e(_0x232813,_0x2e887c);}const a94_0x3f3b67=a94_0x6f1e;function a94_0x57ce(){const _0x1d8fb6=['560YllRaA','2605790UZTCil','5118rCOqyC','getContext','15509hJrDRc','innerHeight','24iZbdOq','4837nqQzIZ','px\x20Arial','height','fill','2056qJJIGm','innerWidth','941916sSBWrY','width','measureText','canvas','1841229pklEja','1130280OEViBj','createElement','font'];a94_0x57ce=function(){return _0x1d8fb6;};return a94_0x57ce();}(function(_0x3e8add,_0x31e388){const _0x2ba4ce=a94_0x6f1e,_0x4f5897=_0x3e8add();while(!![]){try{const _0xbd9656=-parseInt(_0x2ba4ce(0x1ee))/0x1*(-parseInt(_0x2ba4ce(0x1f0))/0x2)+parseInt(_0x2ba4ce(0x1f7))/0x3+-parseInt(_0x2ba4ce(0x1fc))/0x4+-parseInt(_0x2ba4ce(0x1ea))/0x5*(-parseInt(_0x2ba4ce(0x1ec))/0x6)+parseInt(_0x2ba4ce(0x1f1))/0x7*(-parseInt(_0x2ba4ce(0x1f5))/0x8)+-parseInt(_0x2ba4ce(0x1fb))/0x9+parseInt(_0x2ba4ce(0x1eb))/0xa;if(_0xbd9656===_0x31e388)break;else _0x4f5897['push'](_0x4f5897['shift']());}catch(_0x31f2df){_0x4f5897['push'](_0x4f5897['shift']());}}}(a94_0x57ce,0x2ebe1));export const createWatermark=({text:_0x493dfa,gap:_0x56ecbe,fontSize:_0x34382d,color:_0x14c672,width:width=window[a94_0x3f3b67(0x1f6)],height:height=window[a94_0x3f3b67(0x1ef)],drawMode:drawMode=a94_0x3f3b67(0x1f4)})=>{const _0x245f27=a94_0x3f3b67,_0x55df87=document[_0x245f27(0x1fd)](_0x245f27(0x1fa));_0x55df87[_0x245f27(0x1f8)]=width,_0x55df87[_0x245f27(0x1f3)]=height;const _0x3b719c=_0x55df87[_0x245f27(0x1ed)]('2d');_0x3b719c[_0x245f27(0x1e9)]=_0x34382d+_0x245f27(0x1f2),_0x3b719c[drawMode+'Style']=_0x14c672;const _0x2b3108=_0x3b719c[_0x245f27(0x1f9)](_0x493dfa)[_0x245f27(0x1f8)],_0x59ceb7=_0x2b3108+_0x56ecbe,_0x3d4875=_0x34382d+_0x56ecbe;for(let _0x4ebb58=_0x56ecbe/0x2;_0x4ebb58<height;_0x4ebb58+=_0x3d4875){for(let _0x11c9c0=_0x56ecbe/0x2;_0x11c9c0<width;_0x11c9c0+=_0x59ceb7){_0x3b719c[drawMode+'Text'](_0x493dfa,_0x11c9c0,_0x4ebb58);}}return _0x55df87;};export default{'createWatermark':createWatermark};
|
package/packages/vite-plugins.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a95_0x31e4(){const _0x2fe422=['<script\x20setup>','<script>','forEach','<style\x20lang=\x22scss\x22\x20scoped>','instantiateTables','/src/','\x27)\x0a','_ctx\x20=\x20wrapCtx(_ctx,\x20null,\x20filterPrivateFields(controller))','import\x20makeModel\x20from\x20\x27./model.js\x27','const\x20model\x20=\x20makeModel()','join','splice','</style>','const\x20model','6702376aJZloR','trim','<style\x20lang=\x22scss\x22>','return\x20__returned__','model.js','.js','12323724KrFArb','16029522KYlrCy','const\x20','vue\x20})','-scoped.scss\x22;','import\x20model','2847jUxVWc','const\x20controller','matchAll','8024khjFjp','_ctx\x20=\x20wrapCtx(_ctx,\x20filterPrivateFields(model))','return\x20(_ctx,\x20_cache)\x20=>\x20{','replace','40FRcGsY','map','import\x20controller','<script\x20setup>\x0a','split','_ctx\x20=\x20wrapCtx(_ctx,\x20filterPrivateFields(model),\x20filterPrivateFields(controller))','739628ihDHwk','length','basename','return\x20{\x20...__returned__,\x20...filterPrivateFields(model),\x20...filterPrivateFields(controller)\x20}','auto-inject','-scoped.scss','.scss','model,\x20','slice','.vue','Object','66510GzNImB','@use\x20\x22./','toLowerCase','startsWith','\x20=\x20new\x20Table(','return\x20{\x20...__returned__,\x20...filterPrivateFields(model)\x20}','filter','auto-deconstruct','import\x20makeController\x20','no\x20model','import\x20makeController\x20from\x20\x27./controller.js\x27','existsSync','push','return\x20{\x20...__returned__,\x20...filterPrivateFields(controller)\x20}','includes','2BeCUsi','<script>\x0a','41010pnsLZn','16489bugMzt'];a95_0x31e4=function(){return _0x2fe422;};return a95_0x31e4();}(function(_0x343a5d,_0x5adac3){const _0x2992f7=a95_0x5941,_0x369498=_0x343a5d();while(!![]){try{const _0x1a340c=parseInt(_0x2992f7(0x1af))/0x1*(parseInt(_0x2992f7(0x1c9))/0x2)+parseInt(_0x2992f7(0x1e7))/0x3*(parseInt(_0x2992f7(0x1ea))/0x4)+-parseInt(_0x2992f7(0x1a9))/0x5*(-parseInt(_0x2992f7(0x1ba))/0x6)+parseInt(_0x2992f7(0x1e1))/0x7+parseInt(_0x2992f7(0x1db))/0x8+parseInt(_0x2992f7(0x1e2))/0x9+parseInt(_0x2992f7(0x1cb))/0xa*(-parseInt(_0x2992f7(0x1cc))/0xb);if(_0x1a340c===_0x5adac3)break;else _0x369498['push'](_0x369498['shift']());}catch(_0x533209){_0x369498['push'](_0x369498['shift']());}}}(a95_0x31e4,0xeb596));import a95_0x4d09ca from'node:fs';import a95_0x287403 from'node:path';function a95_0x5941(_0x2fb4da,_0x265a39){const _0x31e4dc=a95_0x31e4();return a95_0x5941=function(_0x59414e,_0x3b6deb){_0x59414e=_0x59414e-0x1a8;let _0x18b33f=_0x31e4dc[_0x59414e];return _0x18b33f;},a95_0x5941(_0x2fb4da,_0x265a39);}const filterPrivateFields='\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',inject=(_0x1e2ad9,_0x2459b8)=>{const _0x29830f=a95_0x5941,_0x923f54=a95_0x287403['dirname'](_0x2459b8),_0xecbdf0=a95_0x287403[_0x29830f(0x1b1)](_0x2459b8),_0x1d9259=_0xecbdf0[_0x29830f(0x1ad)]('.')[0x0],_0x5e9dec=a95_0x4d09ca[_0x29830f(0x1c5)](a95_0x287403[_0x29830f(0x1d7)](_0x923f54,_0x1d9259+_0x29830f(0x1b4))),_0x1c08b2=a95_0x4d09ca['existsSync'](a95_0x287403[_0x29830f(0x1d7)](_0x923f54,_0x1d9259+_0x29830f(0x1b5))),_0x121f69=a95_0x4d09ca['existsSync'](a95_0x287403[_0x29830f(0x1d7)](_0x923f54,_0x29830f(0x1df))),_0x12ee71=a95_0x4d09ca['existsSync'](a95_0x287403[_0x29830f(0x1d7)](_0x923f54,'controller.js')),_0x9326d7=_0x121f69&&!_0x1e2ad9['includes'](_0x29830f(0x1c3))&&!_0x1e2ad9[_0x29830f(0x1c8)](_0x29830f(0x1da))&&!_0x1e2ad9[_0x29830f(0x1c8)](_0x29830f(0x1e6)),_0x25d742=_0x12ee71&&!_0x1e2ad9['includes']('no\x20controller')&&!_0x1e2ad9[_0x29830f(0x1c8)](_0x29830f(0x1e8))&&!_0x1e2ad9[_0x29830f(0x1c8)](_0x29830f(0x1ab));if(_0x2459b8['includes'](_0x29830f(0x1d2))&&_0xecbdf0[_0x29830f(0x1c8)](_0x29830f(0x1b8))&&_0x1e2ad9[_0x29830f(0x1bd)](_0x29830f(0x1cd))){_0x1e2ad9=_0x1e2ad9[_0x29830f(0x1a8)](_0x29830f(0x1cd),_0x29830f(0x1ac));const _0x4cfe5e=_0x1e2ad9['split']('\x0a');_0x5e9dec&&_0x4cfe5e[_0x29830f(0x1c6)](...[_0x29830f(0x1d0),_0x29830f(0x1bb)+_0x1d9259+_0x29830f(0x1e5),_0x29830f(0x1d9)]),_0x1c08b2&&_0x4cfe5e['push'](...[_0x29830f(0x1dd),_0x29830f(0x1bb)+_0x1d9259+'.scss\x22;',_0x29830f(0x1d9)]),_0x25d742&&_0x4cfe5e['splice'](0x1,0x0,_0x29830f(0x1c4),'const\x20controller\x20=\x20makeController({\x20'+(_0x9326d7?_0x29830f(0x1b6):'')+_0x29830f(0x1e4)),_0x9326d7&&_0x4cfe5e[_0x29830f(0x1d8)](0x1,0x0,_0x29830f(0x1d5),_0x29830f(0x1d6)),_0x1e2ad9=_0x4cfe5e[_0x29830f(0x1d7)]('\x0a');}return _0x1e2ad9;},instantiateTables=(_0x43a931,_0x420856)=>{const _0x3409e1=a95_0x5941,_0x5be9e0=a95_0x287403[_0x3409e1(0x1b1)](_0x420856),_0x486282=_0x5be9e0[_0x3409e1(0x1c8)]('.vue'),_0x1339b4=_0x5be9e0[_0x3409e1(0x1c8)](_0x3409e1(0x1e0));if(_0x420856[_0x3409e1(0x1c8)](_0x3409e1(0x1d2))&&(_0x486282||_0x1339b4)){const _0x3124da=_0x43a931['split']('\x0a')[_0x3409e1(0x1aa)](_0x3ab28a=>_0x3ab28a[_0x3409e1(0x1dc)]())[_0x3409e1(0x1c0)](_0x565fa1=>!_0x565fa1[_0x3409e1(0x1bd)]('//'))[_0x3409e1(0x1d7)]('\x0a');let _0x527289=[...new Set([..._0x3124da[_0x3409e1(0x1e9)](/[^a-z][A-Z]\w+\.(search|add|update|remove|func|batch|get)/g)][_0x3409e1(0x1aa)](_0x14bba3=>_0x14bba3[0x0][_0x3409e1(0x1b7)](0x1)[_0x3409e1(0x1ad)]('.')[0x0]))];_0x527289=_0x527289[_0x3409e1(0x1c0)](_0x4d110d=>![_0x3409e1(0x1b9)]['includes'](_0x4d110d));if(_0x527289[_0x3409e1(0x1b0)]){let _0x1cc600='';_0x527289[_0x3409e1(0x1cf)](_0x2736ec=>{const _0x2f695c=_0x3409e1;let [_0x46b8ec,_0x476d23]=_0x2736ec[_0x2f695c(0x1ad)]('_')['map'](_0x3e43c3=>_0x3e43c3[_0x2f695c(0x1a8)](/[A-Z]/g,_0x4bd72d=>'_'+_0x4bd72d[_0x2f695c(0x1bc)]())[_0x2f695c(0x1b7)](0x1));_0x476d23?_0x46b8ec='\x27'+_0x46b8ec+'\x27':(_0x476d23=_0x46b8ec,_0x46b8ec='DbName'),_0x1cc600+=_0x2f695c(0x1e3)+_0x2736ec+_0x2f695c(0x1be)+_0x46b8ec+',\x20\x27'+_0x476d23+_0x2f695c(0x1d3);}),_0x486282?_0x43a931=_0x43a931[_0x3409e1(0x1a8)](_0x3409e1(0x1cd),_0x3409e1(0x1ac)+_0x1cc600)[_0x3409e1(0x1a8)](_0x3409e1(0x1ce),_0x3409e1(0x1ca)+_0x1cc600):_0x43a931=_0x1cc600+_0x43a931;}}return _0x43a931;},deconstruct=(_0x4ef452,_0x531d1e)=>{const _0xa97a5e=a95_0x5941,_0x235a3b=a95_0x287403[_0xa97a5e(0x1b1)](_0x531d1e),_0x5f68bf=_0x235a3b['includes'](_0xa97a5e(0x1b8));if(_0x531d1e[_0xa97a5e(0x1c8)](_0xa97a5e(0x1d2))&&_0x5f68bf){const _0x85fe38=_0xa97a5e(0x1de),_0x26972b=_0xa97a5e(0x1ec),_0x1e878b=_0x4ef452['includes'](_0x85fe38),_0x57e542=_0x4ef452[_0xa97a5e(0x1c8)](_0x26972b),_0x348b44=(_0x1e878b||_0x57e542)&&_0x4ef452['includes']('import\x20makeModel\x20'),_0x3e5540=(_0x1e878b||_0x57e542)&&_0x4ef452['includes'](_0xa97a5e(0x1c2));if(_0x348b44||_0x3e5540){let _0x26151e=filterPrivateFields;if(_0x1e878b){if(_0x348b44&&_0x3e5540)_0x26151e+=_0xa97a5e(0x1b2);else{if(_0x348b44)_0x26151e+=_0xa97a5e(0x1bf);else _0x3e5540&&(_0x26151e+=_0xa97a5e(0x1c7));}}else{_0x26151e+=_0x26972b+'\x0a';if(_0x348b44&&_0x3e5540)_0x26151e+=_0xa97a5e(0x1ae);else{if(_0x348b44)_0x26151e+=_0xa97a5e(0x1eb);else _0x3e5540&&(_0x26151e+=_0xa97a5e(0x1d4));}_0x26151e+='\x0a';}_0x4ef452=_0x4ef452['replace'](_0x1e878b?_0x85fe38:_0x26972b,_0x26151e);}}return _0x4ef452;};export const autoInject=(_0x5a600f={})=>{const _0x28ba9c=a95_0x5941;return{'name':_0x28ba9c(0x1b3),'transform'(_0x2e30e3,_0x4a1163){const _0x2b616d=_0x28ba9c;return _0x2e30e3=inject(_0x2e30e3,_0x4a1163),_0x5a600f[_0x2b616d(0x1d1)]!==![]&&(_0x2e30e3=instantiateTables(_0x2e30e3,_0x4a1163)),{'code':_0x2e30e3};}};};export const autoDeconstruct=()=>{const _0x19f71e=a95_0x5941;return{'name':_0x19f71e(0x1c1),'transform'(_0x1d26d0,_0x18b96f){return{'code':deconstruct(_0x1d26d0,_0x18b96f)};}};};
|
package/src/main.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a96_0x123880=a96_0x157e;(function(_0x104fa0,_0x249818){const _0x48769c=a96_0x157e,_0x50d5e0=_0x104fa0();while(!![]){try{const _0xd45dcd=parseInt(_0x48769c(0xa6))/0x1+parseInt(_0x48769c(0xa8))/0x2*(-parseInt(_0x48769c(0xaa))/0x3)+-parseInt(_0x48769c(0xac))/0x4+-parseInt(_0x48769c(0xab))/0x5*(-parseInt(_0x48769c(0xae))/0x6)+parseInt(_0x48769c(0xa5))/0x7*(parseInt(_0x48769c(0xb0))/0x8)+parseInt(_0x48769c(0xaf))/0x9+parseInt(_0x48769c(0xb3))/0xa;if(_0xd45dcd===_0x249818)break;else _0x50d5e0['push'](_0x50d5e0['shift']());}catch(_0x22ff75){_0x50d5e0['push'](_0x50d5e0['shift']());}}}(a96_0x563e,0x4b8b8));import{createApp}from'vue';import a96_0x1ba3d5 from'element-plus';import a96_0xa77c76 from'vant';function a96_0x563e(){const _0xcd7ff=['10BZJDYY','directive','324909nSBUtH','5TvqGVk','1840528yfPaVA','config','46314GYJxDb','2379105HPgZaZ','8NvdmTg','globalProperties','use','4842930WOkrii','isMobile','domid','#app','assign','203fKnhRK','554693yiDUIZ','mount'];a96_0x563e=function(){return _0xcd7ff;};return a96_0x563e();}import a96_0x574b88 from'../packages/index.js';import'../packages/index.scss';import a96_0x537426,{API_BASE_URL}from'./request.js';import a96_0x1479b6 from'@/App.vue';const app=createApp(a96_0x1479b6);app[a96_0x123880(0xa9)](a96_0x123880(0xb5),{'created'(_0x584cc2,_0x2c3998){}}),app['use'](a96_0x1ba3d5);for(const [key,component]of Object['entries'](ElementPlusIconsVue)){app['component'](key,component);}app[a96_0x123880(0xb2)](a96_0xa77c76),app[a96_0x123880(0xb2)](a96_0x574b88,{'ElementPlus':a96_0x1ba3d5,'Vant':a96_0xa77c76}),Object[a96_0x123880(0xa4)](app[a96_0x123880(0xad)][a96_0x123880(0xb1)],{'isMobile':window[a96_0x123880(0xb4)],'service':{'request':a96_0x537426,'API_BASE_URL':API_BASE_URL},'$store':{'app':{'sidebarCollapse':![],'toggleDuration':0x0}}}),app[a96_0x123880(0xa7)](a96_0x123880(0xa3));function a96_0x157e(_0x55e559,_0x1cf44b){const _0x563e35=a96_0x563e();return a96_0x157e=function(_0x157ed5,_0x822a03){_0x157ed5=_0x157ed5-0xa3;let _0x59b190=_0x563e35[_0x157ed5];return _0x59b190;},a96_0x157e(_0x55e559,_0x1cf44b);}export default app;
|
package/src/request.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a97_0x418d(_0x14631e,_0x289c64){const _0x53afaf=a97_0x53af();return a97_0x418d=function(_0x418dba,_0x2153bb){_0x418dba=_0x418dba-0x186;let _0x2ac30a=_0x53afaf[_0x418dba];return _0x2ac30a;},a97_0x418d(_0x14631e,_0x289c64);}const a97_0x36fd2a=a97_0x418d;function a97_0x53af(){const _0x53b164=['request','startsWith','7jRdJfU','290045HlFzuY','212oZlqOL','create','use','http','2094pOrwus','840uyqptn','2191527XaFEOj','28039lBhzdC','interceptors','API_BASE_URL','string','2449984fvfLOc','stringify','112325NsQEIN','2048936CIcdaJ','error','54ujUEPa','GET','env','POST'];a97_0x53af=function(){return _0x53b164;};return a97_0x53af();}(function(_0x12308e,_0x1b7fcb){const _0xeb7313=a97_0x418d,_0x38f285=_0x12308e();while(!![]){try{const _0xc4018e=parseInt(_0xeb7313(0x18d))/0x1+parseInt(_0xeb7313(0x198))/0x2*(parseInt(_0xeb7313(0x19c))/0x3)+parseInt(_0xeb7313(0x18e))/0x4+parseInt(_0xeb7313(0x197))/0x5*(-parseInt(_0xeb7313(0x190))/0x6)+-parseInt(_0xeb7313(0x196))/0x7*(parseInt(_0xeb7313(0x18b))/0x8)+parseInt(_0xeb7313(0x186))/0x9+-parseInt(_0xeb7313(0x19d))/0xa*(-parseInt(_0xeb7313(0x187))/0xb);if(_0xc4018e===_0x1b7fcb)break;else _0x38f285['push'](_0x38f285['shift']());}catch(_0x620f34){_0x38f285['push'](_0x38f285['shift']());}}}(a97_0x53af,0x5009d));const {PROD,VITE_DEV_BASE_URL,VITE_PROD_BASE_URL,VITE_TIMEOUT=0xea60}=import.meta[a97_0x36fd2a(0x192)],API_BASE_URL=window[a97_0x36fd2a(0x189)]||(PROD?VITE_PROD_BASE_URL:VITE_DEV_BASE_URL),createRequest=_0x12458b=>{const _0x5ae0a5=a97_0x36fd2a,_0x398d17=axios[_0x5ae0a5(0x199)]({'baseURL':API_BASE_URL,'timeout':VITE_TIMEOUT*0x1,..._0x12458b});return _0x398d17[_0x5ae0a5(0x188)][_0x5ae0a5(0x194)][_0x5ae0a5(0x19a)](_0x5d037f=>{return _0x5d037f;},_0x124ecb=>{const _0x27e342=_0x5ae0a5;console[_0x27e342(0x18f)](_0x124ecb);}),_0x398d17[_0x5ae0a5(0x188)]['response']['use'](_0x5bca43=>{return _0x5bca43;},_0x8b15fa=>{const _0x5c2436=_0x5ae0a5;console[_0x5c2436(0x18f)](_0x8b15fa);}),_0x398d17;},fetchRequest=(_0x3d1d8f,_0x31eb85={})=>{const _0x1d882d=a97_0x36fd2a;_0x3d1d8f=_0x3d1d8f[_0x1d882d(0x195)](_0x1d882d(0x19b))?_0x3d1d8f:API_BASE_URL+_0x3d1d8f;const {method:method=_0x1d882d(0x191),headers:_0x380e4b,body:_0x13f5ac,..._0x2824a8}=_0x31eb85,_0xee2226={'method':method,..._0x2824a8,'headers':{'content-type':'application/json',..._0x380e4b}};return['PUT',_0x1d882d(0x193)]['includes'](method['toUpperCase']())&&(_0xee2226['body']=typeof _0x13f5ac===_0x1d882d(0x18a)?_0x13f5ac:JSON[_0x1d882d(0x18c)](_0x13f5ac)),fetch(_0x3d1d8f,_0xee2226);};export default createRequest();export{API_BASE_URL,createRequest,fetchRequest};
|
package/vite.config.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a98_0x5a2eb0=a98_0x1f98;(function(_0x216043,_0x1b6340){const _0x2d5f72=a98_0x1f98,_0x46e4af=_0x216043();while(!![]){try{const _0x353f51=-parseInt(_0x2d5f72(0x1a7))/0x1+parseInt(_0x2d5f72(0x1ad))/0x2+-parseInt(_0x2d5f72(0x1a8))/0x3+parseInt(_0x2d5f72(0x1ac))/0x4*(parseInt(_0x2d5f72(0x1b1))/0x5)+-parseInt(_0x2d5f72(0x1bf))/0x6*(-parseInt(_0x2d5f72(0x1b8))/0x7)+parseInt(_0x2d5f72(0x1b0))/0x8*(-parseInt(_0x2d5f72(0x1ba))/0x9)+parseInt(_0x2d5f72(0x1a9))/0xa*(parseInt(_0x2d5f72(0x1c0))/0xb);if(_0x353f51===_0x1b6340)break;else _0x46e4af['push'](_0x46e4af['shift']());}catch(_0x5b7c67){_0x46e4af['push'](_0x46e4af['shift']());}}}(a98_0x204a,0x78243));import a98_0x460e4d from'path';function a98_0x204a(){const _0x524f7f=['regenerator-runtime/runtime','toString','7RrMXao','cwd','9qCcvFm','dist','includes','vue/dist/vue.esm-bundler.js','Vue','5185410SaGkMR','744678gJICLa','decorators','503468JZAXQW','2076525tULETC','110DPbdjr','src','node_modules','2059660fRoRcp','866462TDLYTx','defaults','node_modules/','6954536MROSdk','5sauHOq','@babel/plugin-proposal-decorators','vue','2023-11','split'];a98_0x204a=function(){return _0x524f7f;};return a98_0x204a();}import{defineConfig}from'vite';import a98_0x47da14 from'@vitejs/plugin-vue';import a98_0x119f8c from'@vitejs/plugin-legacy';import a98_0x22a3fc from'@vitejs/plugin-vue-jsx';import a98_0x4a5472 from'@rollup/plugin-commonjs';import a98_0x579829 from'rollup-plugin-external-globals';import{babel}from'@rollup/plugin-babel';import{createStyleImportPlugin,VantResolve}from'vite-plugin-style-import';function a98_0x1f98(_0x3e3366,_0x296633){const _0x204aa8=a98_0x204a();return a98_0x1f98=function(_0x1f98c8,_0x2e9801){_0x1f98c8=_0x1f98c8-0x1a6;let _0x19de18=_0x204aa8[_0x1f98c8];return _0x19de18;},a98_0x1f98(_0x3e3366,_0x296633);}const resolve=_0x268f6d=>a98_0x460e4d['join'](process[a98_0x5a2eb0(0x1b9)](),_0x268f6d);export default defineConfig(({command:_0x511515,mode:_0x2c5da7})=>{const _0x4a3697=a98_0x5a2eb0,_0x1ac27a={'plugins':[a98_0x47da14({'template':{'compilerOptions':{'expressionPlugins':[[_0x4a3697(0x1a6),{'version':_0x4a3697(0x1b4)}]]}},'script':{'babelParserPlugins':[[_0x4a3697(0x1a6),{'version':_0x4a3697(0x1b4)}],_0x4a3697(0x1a6)]}}),a98_0x22a3fc(),babel({'compact':![],'plugins':[[_0x4a3697(0x1b2),{'version':_0x4a3697(0x1b4)}]]}),createStyleImportPlugin({'resolves':[VantResolve()]}),a98_0x119f8c({'targets':[_0x4a3697(0x1ae)],'additionalLegacyPolyfills':[_0x4a3697(0x1b6)]})],'runtimeCompiler':!![],'build':{'outDir':_0x4a3697(0x1bb),'rollupOptions':{'external':[_0x4a3697(0x1b3)],'plugins':[a98_0x4a5472(),a98_0x579829({'vue':_0x4a3697(0x1be)})],'output':{'manualChunks'(_0x201b32){const _0x5e1838=_0x4a3697;if(_0x201b32[_0x5e1838(0x1bc)](_0x5e1838(0x1ab)))return _0x201b32[_0x5e1838(0x1b7)]()[_0x5e1838(0x1b5)](_0x5e1838(0x1af))[0x1][_0x5e1838(0x1b5)]('/')[0x0][_0x5e1838(0x1b7)]();}}}},'resolve':{'alias':{'@':resolve(_0x4a3697(0x1aa)),'vue':_0x4a3697(0x1bd)}}};return _0x1ac27a;});
|
package/vite.lib.config.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a99_0x413a(_0x33d76f,_0x440bbf){const _0x1d369b=a99_0x1d36();return a99_0x413a=function(_0x413a5e,_0x27ec93){_0x413a5e=_0x413a5e-0x13e;let _0x45a3f0=_0x1d369b[_0x413a5e];return _0x45a3f0;},a99_0x413a(_0x33d76f,_0x440bbf);}const a99_0x46b2fa=a99_0x413a;(function(_0x2a2b9c,_0x1e1007){const _0x2c41c2=a99_0x413a,_0x461981=_0x2a2b9c();while(!![]){try{const _0x4bbe9b=parseInt(_0x2c41c2(0x145))/0x1+-parseInt(_0x2c41c2(0x147))/0x2+-parseInt(_0x2c41c2(0x14b))/0x3+parseInt(_0x2c41c2(0x13e))/0x4+parseInt(_0x2c41c2(0x144))/0x5*(-parseInt(_0x2c41c2(0x14e))/0x6)+-parseInt(_0x2c41c2(0x14d))/0x7*(parseInt(_0x2c41c2(0x141))/0x8)+parseInt(_0x2c41c2(0x14f))/0x9;if(_0x4bbe9b===_0x1e1007)break;else _0x461981['push'](_0x461981['shift']());}catch(_0x243916){_0x461981['push'](_0x461981['shift']());}}}(a99_0x1d36,0xd9394));import a99_0x1cb1cd from'path';import{defineConfig}from'vite';import a99_0x566c79 from'@vitejs/plugin-vue';import a99_0x2ae4ef from'@vitejs/plugin-vue-jsx';import a99_0x550053 from'@rollup/plugin-commonjs';import a99_0x3a63f9 from'rollup-plugin-external-globals';import{createStyleImportPlugin,VantResolve}from'vite-plugin-style-import';const resolve=_0x3f520d=>a99_0x1cb1cd[a99_0x46b2fa(0x151)](process[a99_0x46b2fa(0x140)](),_0x3f520d);function a99_0x1d36(){const _0x3aa41d=['includes','split','121098WGGylk','Vue','58611xbldkq','3612vCFqcc','5117391pJqZPM','toString','join','4146248pEPHpN','StardustUI','cwd','424LboHrv','index','./packages/index.js','965ehORAl','1635825ibkcJD','vue','3501834Fzbfxo','node_modules/'];a99_0x1d36=function(){return _0x3aa41d;};return a99_0x1d36();}export default defineConfig(({command:_0x4e2f7e,mode:_0x1ef468})=>{const _0x1343fd=a99_0x46b2fa,_0x2d192c={'plugins':[a99_0x566c79(),a99_0x2ae4ef(),createStyleImportPlugin({'resolves':[VantResolve()]})],'runtimeCompiler':!![],'build':{'outDir':'./','lib':{'entry':_0x1343fd(0x143),'name':_0x1343fd(0x13f),'fileName':_0x1343fd(0x142),'formats':['es']},'rollupOptions':{'external':[_0x1343fd(0x146)],'plugins':[a99_0x550053()],'output':{'globals':{'vue':_0x1343fd(0x14c)},'manualChunks'(_0x3d42e8){const _0x3b7a91=_0x1343fd;if(_0x3d42e8[_0x3b7a91(0x149)]('node_modules'))return _0x3d42e8['toString']()[_0x3b7a91(0x14a)](_0x3b7a91(0x148))[0x1][_0x3b7a91(0x14a)]('/')[0x0][_0x3b7a91(0x150)]();}}}},'resolve':{'alias':{'@':resolve('src'),'vue':'vue/dist/vue.esm-bundler.js'}}};return _0x2d192c;});
|