vome-core 0.1.86 → 0.1.87
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/dist/admin/components/ui/avatar/index.js +1 -1
- package/dist/admin/components/ui/checkbox/index.js +1 -1
- package/dist/admin/components/ui/dialog/index.js +1 -1
- package/dist/admin/components/ui/dropdown-menu/index.js +1 -1
- package/dist/admin/components/ui/input/index.js +1 -1
- package/dist/admin/components/ui/label/index.js +1 -1
- package/dist/admin/components/ui/scroll-area/index.js +1 -1
- package/dist/admin/components/ui/select/index.js +1 -1
- package/dist/admin/components/ui/separator/index.js +1 -1
- package/dist/admin/components/ui/sheet/index.js +1 -1
- package/dist/admin/components/ui/sonner/index.js +1 -1
- package/dist/admin/components/ui/table/index.js +1 -1
- package/dist/admin/components/ui/tabs/index.js +1 -1
- package/dist/admin/components/ui/tooltip/index.js +1 -1
- package/dist/admin/crud/components/vm-richtext-extensions.js +1 -1
- package/dist/admin/crud/config.js +1 -1
- package/dist/admin/crud/confirm.js +1 -1
- package/dist/admin/crud/crud-page-request.js +1 -1
- package/dist/admin/crud/data-i18n.d.ts +39 -0
- package/dist/admin/crud/data-i18n.js +1 -0
- package/dist/admin/crud/dict.js +1 -1
- package/dist/admin/crud/export-fetch.js +1 -1
- package/dist/admin/crud/key.js +1 -1
- package/dist/admin/crud/plugins.js +1 -1
- package/dist/admin/crud/span.js +1 -1
- package/dist/admin/crud/style.js +1 -1
- package/dist/admin/crud/validate.js +1 -1
- package/dist/admin/crud/vm-crud.vue +66 -0
- package/dist/admin/crud/vm-data-i18n-btn.vue +104 -42
- package/dist/admin/crud/vm-data-i18n-lang.vue +176 -0
- package/dist/admin/crud/vm-table.vue +188 -5
- package/dist/admin/crud/vm-toolbar.vue +80 -47
- package/dist/admin/directives/perm.js +1 -1
- package/dist/admin/hooks/useUpload.js +1 -1
- package/dist/admin/lib/browser.js +1 -1
- package/dist/admin/lib/cn.js +1 -1
- package/dist/admin/lib/dialog-float.js +1 -1
- package/dist/admin/lib/export-excel.js +1 -1
- package/dist/admin/lib/import-excel.js +1 -1
- package/dist/admin/lib/json.js +1 -1
- package/dist/admin/lib/menu.js +1 -1
- package/dist/admin/lib/micro-locale.js +1 -1
- package/dist/admin/lib/micro-theme.js +1 -1
- package/dist/admin/lib/setup-crud-defaults.js +1 -1
- package/dist/admin/lib/shell.js +1 -1
- package/dist/admin/lib/theme-color-options.js +1 -1
- package/dist/admin/lib/tree.js +1 -1
- package/dist/admin/lib/upload.js +1 -1
- package/dist/admin/lib/video-frame.js +1 -1
- package/dist/admin/router/create.js +1 -1
- package/dist/admin/router/guards.js +1 -1
- package/dist/admin/themes/dark.js +1 -1
- package/dist/admin/themes/index.js +1 -1
- package/dist/admin/themes/light.js +1 -1
- package/dist/index.js +1 -1
- package/dist/server/index.js +1 -1
- package/dist/shared/datetime-picker.js +1 -1
- package/dist/shared/excel.js +1 -1
- package/dist/shared/index.js +1 -1
- package/dist/shared/locale-json.js +1 -1
- package/dist/shared/tree.js +1 -1
- package/package.json +1 -1
- package/typings/admin/comm/crud.ts +8 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x315c3d,_0x106705){const _0x22d271=_0x1590,_0x9dca69=_0x315c3d();while(!![]){try{const _0x563d59=-parseInt(_0x22d271(0x10c))/0x1+parseInt(_0x22d271(0x114))/0x2*(-parseInt(_0x22d271(0x113))/0x3)+parseInt(_0x22d271(0x10d))/0x4+parseInt(_0x22d271(0x110))/0x5+-parseInt(_0x22d271(0x11b))/0x6+-parseInt(_0x22d271(0x11a))/0x7*(-parseInt(_0x22d271(0x112))/0x8)+-parseInt(_0x22d271(0x109))/0x9*(-parseInt(_0x22d271(0x10e))/0xa);if(_0x563d59===_0x106705)break;else _0x9dca69['push'](_0x9dca69['shift']());}catch(_0x228d02){_0x9dca69['push'](_0x9dca69['shift']());}}}(_0x4d16,0xe3a33));import{getAccessToken,getRefreshToken}from'../api/client';import{createEps,setServicePerms}from'../service';function _0x4d16(){const _0x11f39e=['mJqZEefJvMvy','Bg9HzgvK','AxntDxbLCG','mty5mdyXowTXCxLLCW','mZG1mZCYmhrhBKXIDW','mJG3odaWBuTPquHt','Bg9NAw4','mtuYmZyZnvf5AK9sEq','z2v0','mti5mtqYotzAreziDgq','mtm2mJnmuxH0B0C','mtm4r05RzMDo','BwvUDxm','Cgf0Aa','C2v0','AgfZAa','CgvYBxm','n2H4yxvxuq','ndmZodKXog54tfvIqG','Bg9Hza'];_0x4d16=function(){return _0x11f39e;};return _0x4d16();}function _0x1590(_0x56742d,_0x516d7f){_0x56742d=_0x56742d-0x109;const _0x4d164c=_0x4d16();let _0x15909a=_0x4d164c[_0x56742d];if(_0x1590['nMTmLA']===undefined){var _0x52c84b=function(_0x28a51d){const _0x32d268='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x53dd00='',_0x2918ad='';for(let _0x2682c6=0x0,_0x5dfda9,_0xf2455e,_0x583489=0x0;_0xf2455e=_0x28a51d['charAt'](_0x583489++);~_0xf2455e&&(_0x5dfda9=_0x2682c6%0x4?_0x5dfda9*0x40+_0xf2455e:_0xf2455e,_0x2682c6++%0x4)?_0x53dd00+=String['fromCharCode'](0xff&_0x5dfda9>>(-0x2*_0x2682c6&0x6)):0x0){_0xf2455e=_0x32d268['indexOf'](_0xf2455e);}for(let _0x4768e8=0x0,_0x27ad68=_0x53dd00['length'];_0x4768e8<_0x27ad68;_0x4768e8++){_0x2918ad+='%'+('00'+_0x53dd00['charCodeAt'](_0x4768e8)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x2918ad);};_0x1590['xUoNQp']=_0x52c84b,_0x1590['aplswc']={},_0x1590['nMTmLA']=!![];}const _0x20381d=_0x4d164c[0x0],_0x3acd08=_0x56742d+_0x20381d,_0x548d2b=_0x1590['aplswc'][_0x3acd08];return!_0x548d2b?(_0x15909a=_0x1590['xUoNQp'](_0x15909a),_0x1590['aplswc'][_0x3acd08]=_0x15909a):_0x15909a=_0x548d2b,_0x15909a;}import{useUserStore}from'../stores/user';import{clearMenuRoutesFlag,ensureMenuRoutes,removeAllMenuRoutes}from'./menu-routes';const menuReadyMap=new WeakMap();export function setupAdminRouterGuards(_0x53dd00,_0x2918ad){_0x53dd00['beforeEach'](async _0x2682c6=>{const _0xb49d5f=_0x1590;if(_0x2682c6['meta']['public'])return!![];if(!getAccessToken()&&!getRefreshToken())return{'name':_0xb49d5f(0x10f),'query':{'redirect':_0x2682c6['fullPath']}};try{const _0x5dfda9=useUserStore();if(!_0x5dfda9[_0xb49d5f(0x10a)])await _0x5dfda9[_0xb49d5f(0x11c)]();await createEps(),setServicePerms(_0x5dfda9[_0xb49d5f(0x119)],_0x5dfda9[_0xb49d5f(0x10b)]);if(!menuReadyMap[_0xb49d5f(0x111)](_0x53dd00))return await ensureMenuRoutes(_0x53dd00,_0x5dfda9[_0xb49d5f(0x115)],_0x2918ad),menuReadyMap['set'](_0x53dd00,!![]),{'path':_0x2682c6[_0xb49d5f(0x116)],'query':_0x2682c6['query'],'hash':_0x2682c6[_0xb49d5f(0x118)],'replace':!![]};}catch{menuReadyMap[_0xb49d5f(0x117)](_0x53dd00,![]);if(!getAccessToken()&&!getRefreshToken())return{'name':_0xb49d5f(0x10f),'query':{'redirect':_0x2682c6['fullPath']}};if(!getAccessToken()&&getRefreshToken())return!![];return!![];}return!![];});}export function resetMenuRoutesFlag(_0xf2455e){menuReadyMap['set'](_0xf2455e,![]),removeAllMenuRoutes(_0xf2455e),clearMenuRoutesFlag();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x43b8(){const _0x3043ed=['oejSDgvksq','mtbMzNHgB0G','mZe3mZz4t2rKyNC','mJDlrMHAq1u','nJG1nZzdq3Hsrg4','mtu3odiYohDNvu5SAG','mZa0og5jzxPvzG','mte1odm3oeHRwKvytW','mtGXndK0nLvSBNfpyG','nZm5mteZmuHfyxDlDW','mty1v3b4CeLm','zgfYAW'];_0x43b8=function(){return _0x3043ed;};return _0x43b8();}function _0xc51a(_0x44b296,_0x414a12){_0x44b296=_0x44b296-0x124;const _0x43b883=_0x43b8();let _0xc51a7c=_0x43b883[_0x44b296];if(_0xc51a['PlUJhY']===undefined){var _0xaae1db=function(_0x18df5f){const _0x4d87b7='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x13817a='',_0x30b63b='';for(let _0x501982=0x0,_0x5f2d65,_0x45c489,_0x19ecc2=0x0;_0x45c489=_0x18df5f['charAt'](_0x19ecc2++);~_0x45c489&&(_0x5f2d65=_0x501982%0x4?_0x5f2d65*0x40+_0x45c489:_0x45c489,_0x501982++%0x4)?_0x13817a+=String['fromCharCode'](0xff&_0x5f2d65>>(-0x2*_0x501982&0x6)):0x0){_0x45c489=_0x4d87b7['indexOf'](_0x45c489);}for(let _0x2eb086=0x0,_0x48d85a=_0x13817a['length'];_0x2eb086<_0x48d85a;_0x2eb086++){_0x30b63b+='%'+('00'+_0x13817a['charCodeAt'](_0x2eb086)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x30b63b);};_0xc51a['VuteJs']=_0xaae1db,_0xc51a['kbiTmk']={},_0xc51a['PlUJhY']=!![];}const _0x53275e=_0x43b883[0x0],_0x1c1c5a=_0x44b296+_0x53275e,_0x598e49=_0xc51a['kbiTmk'][_0x1c1c5a];return!_0x598e49?(_0xc51a7c=_0xc51a['VuteJs'](_0xc51a7c),_0xc51a['kbiTmk'][_0x1c1c5a]=_0xc51a7c):_0xc51a7c=_0x598e49,_0xc51a7c;}const _0x431126=_0xc51a;(function(_0xf55300,_0x5a7e3a){const _0xff38f6=_0xc51a,_0x3a6782=_0xf55300();while(!![]){try{const _0x237d59=parseInt(_0xff38f6(0x129))/0x1*(parseInt(_0xff38f6(0x12f))/0x2)+parseInt(_0xff38f6(0x124))/0x3+-parseInt(_0xff38f6(0x12d))/0x4*(-parseInt(_0xff38f6(0x127))/0x5)+parseInt(_0xff38f6(0x12e))/0x6+-parseInt(_0xff38f6(0x125))/0x7+-parseInt(_0xff38f6(0x12b))/0x8*(parseInt(_0xff38f6(0x12c))/0x9)+parseInt(_0xff38f6(0x12a))/0xa*(-parseInt(_0xff38f6(0x126))/0xb);if(_0x237d59===_0x5a7e3a)break;else _0x3a6782['push'](_0x3a6782['shift']());}catch(_0x31d7b3){_0x3a6782['push'](_0x3a6782['shift']());}}}(_0x43b8,0x45568));export const darkTheme={'id':_0x431126(0x128),'label':'深色','dark':!![]};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0x1397(){const _0x5a276c=['C2v0uhjVCgvYDhK','zgf0yxnLDa','mteYnwrvC2fgvW','zgfYAW','Dg9Rzw5Z','ndGWmtaZmMH4EhjRvq','nZH0v0npDNC','nde1mZC0nfP4qKvsuW','mZmXndm0zg9SzeHL','nJq5ndC0mhHOCKruuW','zg9JDw1LBNrfBgvTzw50','DMfSDwvZ','mJq0ndfIuhDMBhi','C2v0','C3r5Bgu','DgHLBwu','mJyXmtHyq0PQAMS','mJGZnZK3nMLHDwjMtq','z2v0'];_0x1397=function(){return _0x5a276c;};return _0x1397();}(function(_0x5e12ad,_0x3821e2){const _0x591b97=_0xda22,_0x319d54=_0x5e12ad();while(!![]){try{const _0x43f9d1=-parseInt(_0x591b97(0x121))/0x1*(parseInt(_0x591b97(0x11b))/0x2)+-parseInt(_0x591b97(0x11d))/0x3+parseInt(_0x591b97(0x126))/0x4+-parseInt(_0x591b97(0x12a))/0x5*(-parseInt(_0x591b97(0x125))/0x6)+parseInt(_0x591b97(0x11e))/0x7+-parseInt(_0x591b97(0x11c))/0x8+-parseInt(_0x591b97(0x11a))/0x9;if(_0x43f9d1===_0x3821e2)break;else _0x319d54['push'](_0x319d54['shift']());}catch(_0x3bd247){_0x319d54['push'](_0x319d54['shift']());}}}(_0x1397,0x7a2ac));import{darkTheme}from'./dark';import{lightTheme}from'./light';const registry=new Map([[lightTheme['id'],lightTheme],[darkTheme['id'],darkTheme]]);function _0xda22(_0x1c0f8,_0x29218f){_0x1c0f8=_0x1c0f8-0x119;const _0x139737=_0x1397();let _0xda22e7=_0x139737[_0x1c0f8];if(_0xda22['DqtUfh']===undefined){var _0x2e751f=function(_0x54b133){const _0x33d67a='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x21650e='',_0x41139e='';for(let _0x5806a7=0x0,_0x29a267,_0x85ab2e,_0x9027af=0x0;_0x85ab2e=_0x54b133['charAt'](_0x9027af++);~_0x85ab2e&&(_0x29a267=_0x5806a7%0x4?_0x29a267*0x40+_0x85ab2e:_0x85ab2e,_0x5806a7++%0x4)?_0x21650e+=String['fromCharCode'](0xff&_0x29a267>>(-0x2*_0x5806a7&0x6)):0x0){_0x85ab2e=_0x33d67a['indexOf'](_0x85ab2e);}for(let _0x55e605=0x0,_0x2a6ecc=_0x21650e['length'];_0x55e605<_0x2a6ecc;_0x55e605++){_0x41139e+='%'+('00'+_0x21650e['charCodeAt'](_0x55e605)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x41139e);};_0xda22['bvcLni']=_0x2e751f,_0xda22['mNlhbl']={},_0xda22['DqtUfh']=!![];}const _0x585e78=_0x139737[0x0],_0x3c27b9=_0x1c0f8+_0x585e78,_0x3ae28f=_0xda22['mNlhbl'][_0x3c27b9];return!_0x3ae28f?(_0xda22e7=_0xda22['bvcLni'](_0xda22e7),_0xda22['mNlhbl'][_0x3c27b9]=_0xda22e7):_0xda22e7=_0x3ae28f,_0xda22e7;}export function registerTheme(_0x21650e){const _0x582ae8=_0xda22;registry[_0x582ae8(0x122)](_0x21650e['id'],_0x21650e);}export function getTheme(_0x41139e){const _0x47bfdc=_0xda22;return registry[_0x47bfdc(0x127)](_0x41139e);}export function listThemes(){const _0x1421b7=_0xda22;return[...registry[_0x1421b7(0x120)]()];}export function applyTheme(_0x5806a7){const _0x3fd208=_0xda22,_0x29a267=registry[_0x3fd208(0x127)](_0x5806a7)??lightTheme,_0x85ab2e=document[_0x3fd208(0x11f)];_0x85ab2e['classList']['toggle'](_0x3fd208(0x12b),Boolean(_0x29a267[_0x3fd208(0x12b)])),_0x85ab2e[_0x3fd208(0x129)][_0x3fd208(0x124)]=_0x29a267['id'];if(_0x29a267[_0x3fd208(0x119)])for(const [_0x9027af,_0x55e605]of Object['entries'](_0x29a267['tokens'])){_0x85ab2e[_0x3fd208(0x123)][_0x3fd208(0x128)](_0x9027af,_0x55e605);}}export{lightTheme,darkTheme};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x335b0b,_0xdb6750){const _0x2a1763=_0x3fd7,_0x212d27=_0x335b0b();while(!![]){try{const _0x52643=parseInt(_0x2a1763(0xab))/0x1*(-parseInt(_0x2a1763(0xb1))/0x2)+-parseInt(_0x2a1763(0xac))/0x3+parseInt(_0x2a1763(0xad))/0x4+-parseInt(_0x2a1763(0xa9))/0x5*(-parseInt(_0x2a1763(0xaa))/0x6)+parseInt(_0x2a1763(0xa8))/0x7+-parseInt(_0x2a1763(0xb0))/0x8+-parseInt(_0x2a1763(0xaf))/0x9*(parseInt(_0x2a1763(0xae))/0xa);if(_0x52643===_0xdb6750)break;else _0x212d27['push'](_0x212d27['shift']());}catch(_0x16b595){_0x212d27['push'](_0x212d27['shift']());}}}(_0x209b,0x53cc6));function _0x209b(){const _0x2178af=['mJeWmJq4mgrLz2v1rq','mJmWzvDmy3vk','mZC3nZnkrgz5u0q','mtu2otq0CgX6vePp','nZK3ognuv1L3wq','mZuZmtm4mxPWzeD4uW','nwXyy1zUsq','mJi3mtC4txnMq0rP','mtm5DfvzA0zU','mtyYmZi0u1vjBuHR'];_0x209b=function(){return _0x2178af;};return _0x209b();}function _0x3fd7(_0x2a22c4,_0x5cd8ef){_0x2a22c4=_0x2a22c4-0xa8;const _0x209b8c=_0x209b();let _0x3fd77b=_0x209b8c[_0x2a22c4];if(_0x3fd7['gMnmNV']===undefined){var _0x2d90b7=function(_0x5ae9fe){const _0xc1bb0c='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x19c80c='',_0x92d8bd='';for(let _0x2bee31=0x0,_0x5431f8,_0x325178,_0x52ba25=0x0;_0x325178=_0x5ae9fe['charAt'](_0x52ba25++);~_0x325178&&(_0x5431f8=_0x2bee31%0x4?_0x5431f8*0x40+_0x325178:_0x325178,_0x2bee31++%0x4)?_0x19c80c+=String['fromCharCode'](0xff&_0x5431f8>>(-0x2*_0x2bee31&0x6)):0x0){_0x325178=_0xc1bb0c['indexOf'](_0x325178);}for(let _0x2e536f=0x0,_0x3eb149=_0x19c80c['length'];_0x2e536f<_0x3eb149;_0x2e536f++){_0x92d8bd+='%'+('00'+_0x19c80c['charCodeAt'](_0x2e536f)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x92d8bd);};_0x3fd7['Qfhxrp']=_0x2d90b7,_0x3fd7['OEqfUx']={},_0x3fd7['gMnmNV']=!![];}const _0x27aef3=_0x209b8c[0x0],_0x4af32b=_0x2a22c4+_0x27aef3,_0x2e8014=_0x3fd7['OEqfUx'][_0x4af32b];return!_0x2e8014?(_0x3fd77b=_0x3fd7['Qfhxrp'](_0x3fd77b),_0x3fd7['OEqfUx'][_0x4af32b]=_0x3fd77b):_0x3fd77b=_0x2e8014,_0x3fd77b;}export const lightTheme={'id':'light','label':'浅色','dark':![]};
|