@wp1001/ui 3.6.10 → 3.6.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/@vant-D4fmGxs6.js +1 -1
- package/index.js +1 -1
- package/package.json +1 -1
- package/packages/assets/devtools-detector.js +1 -1
- package/packages/components/xarray/index.js +1 -1
- package/packages/components/xautorows/index.js +1 -1
- package/packages/components/xbutton/mobile.js +1 -1
- package/packages/components/xbutton/pc.js +1 -1
- package/packages/components/xbuttons/mobile.js +1 -1
- package/packages/components/xbuttons/pc.js +1 -1
- package/packages/components/xchart/constants.js +1 -1
- package/packages/components/xchart/index.js +1 -1
- package/packages/components/xchart/utils.js +1 -1
- package/packages/components/xcheckboxs/mobile.js +1 -1
- package/packages/components/xcheckboxs/pc.js +1 -1
- package/packages/components/xcol/mobile.js +1 -1
- package/packages/components/xcol/pc.js +1 -1
- package/packages/components/xdatepicker/mobile.js +1 -1
- package/packages/components/xdatepicker/pc.js +1 -1
- package/packages/components/xdialog/mobile.js +1 -1
- package/packages/components/xdialog/pc.js +1 -1
- package/packages/components/xdict/index.js +1 -1
- package/packages/components/xdistrictselect/mobile.js +1 -1
- package/packages/components/xdistrictselect/pc.js +1 -1
- package/packages/components/xform/mobile.js +1 -1
- package/packages/components/xform/pc.js +1 -1
- package/packages/components/xform/utils.js +1 -1
- package/packages/components/xformitem/mobile.js +1 -1
- package/packages/components/xformitem/pc.js +1 -1
- package/packages/components/xicon/mobile.js +1 -1
- package/packages/components/xicon/pc.js +1 -1
- package/packages/components/xinfo/index.js +1 -1
- package/packages/components/xlooper/index.js +1 -1
- package/packages/components/xpagination/mobile.js +1 -1
- package/packages/components/xpagination/pc.js +1 -1
- package/packages/components/xpicker/index.js +1 -1
- package/packages/components/xradios/mobile.js +1 -1
- package/packages/components/xradios/pc.js +1 -1
- package/packages/components/xrow/mobile.js +1 -1
- package/packages/components/xrow/pc.js +1 -1
- package/packages/components/xscan/mobile.js +1 -1
- package/packages/components/xscan/pc.js +1 -1
- package/packages/components/xsearcher/index.js +1 -1
- package/packages/components/xselect/mobile.js +1 -1
- package/packages/components/xselect/pc.js +1 -1
- package/packages/components/xselect/util.js +1 -1
- package/packages/components/xselectv2/index.js +1 -1
- package/packages/components/xtable/mobile.js +1 -1
- package/packages/components/xtable/pc.js +1 -1
- package/packages/components/xtable/searcher.js +1 -1
- package/packages/components/xtable/settings.js +1 -1
- package/packages/components/xtable/utils.js +1 -1
- package/packages/components/xtabletools/mobile.js +1 -1
- package/packages/components/xtabletools/pc.js +1 -1
- package/packages/components/xtablev2/pc.js +1 -1
- package/packages/components/xtags/mobile.js +1 -1
- package/packages/components/xtags/pc.js +1 -1
- package/packages/components/xtinymce/index.js +1 -1
- package/packages/components/xuploader/xfileuploader.js +1 -1
- package/packages/components/xuploader/ximageuploader.js +1 -1
- package/packages/comps.js +1 -1
- package/packages/controllers/BaseController.js +1 -1
- package/packages/controllers/CrudController.js +1 -1
- package/packages/controllers/TempCrudController.js +1 -1
- package/packages/controllers/index.js +1 -1
- package/packages/directives/el-table-infinite-scroll.js +1 -1
- package/packages/directives/index.js +1 -1
- package/packages/index.js +1 -1
- package/packages/layout/breadcrumb/index.js +1 -1
- package/packages/layout/header/inner.js +1 -1
- package/packages/layout/screenlock/index.js +1 -1
- package/packages/layout/sidebar/item.js +1 -1
- package/packages/layout/sidebar/menu.js +1 -1
- package/packages/layout/tagsview/ScrollPane.js +1 -1
- package/packages/layout/tagsview/index.js +1 -1
- package/packages/plop/actions/make-fill-admin-partials-action.js +1 -1
- package/packages/plop/generators/make-admin-page.js +1 -1
- package/packages/plop/generators/make-database-admin-pages.js +1 -1
- package/packages/plop/generators/make-page-generator.js +1 -1
- package/packages/plop/generators/make-simple-page.js +1 -1
- package/packages/plop/plopfile.js +1 -1
- package/packages/plop/utils/index.js +1 -1
- package/packages/plop/utils/plop-utils.js +1 -1
- package/packages/utils/crypt.js +1 -1
- package/packages/utils/decorators.js +1 -1
- package/packages/utils/disallowDevtools.js +1 -1
- package/packages/utils/effects.js +1 -1
- package/packages/utils/funcs.js +1 -1
- package/packages/utils/index.js +1 -1
- package/packages/utils/message.js +1 -1
- package/packages/utils/middlewares.js +1 -1
- package/packages/utils/model.js +1 -1
- package/packages/utils/modelUtils.js +1 -1
- package/packages/utils/request.js +1 -1
- package/packages/utils/site.js +1 -1
- package/packages/vite-plugins.js +1 -1
- package/src/main.js +1 -1
- package/src/request.js +1 -1
- package/vite.config.js +1 -1
- package/vite.lib.config.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x2dda67,_0x25415e){const _0x3feddd=a90_0x690c,_0x693f34=_0x2dda67();while(!![]){try{const _0x570cd3=parseInt(_0x3feddd(0x1dd))/0x1*(parseInt(_0x3feddd(0x1f1))/0x2)+-parseInt(_0x3feddd(0x1e2))/0x3*(parseInt(_0x3feddd(0x1e9))/0x4)+-parseInt(_0x3feddd(0x1fe))/0x5*(parseInt(_0x3feddd(0x1f4))/0x6)+parseInt(_0x3feddd(0x205))/0x7+-parseInt(_0x3feddd(0x1e0))/0x8+parseInt(_0x3feddd(0x1ea))/0x9*(parseInt(_0x3feddd(0x1f8))/0xa)+-parseInt(_0x3feddd(0x1de))/0xb;if(_0x570cd3===_0x25415e)break;else _0x693f34['push'](_0x693f34['shift']());}catch(_0x3388ce){_0x693f34['push'](_0x693f34['shift']());}}}(a90_0x5750,0xc72bf));import{watch,nextTick}from'vue';import{Message}from'./message.js';const {funcs}=StardustJs;export const check404=(_0x137317,_0x18f514,_0x2618bc)=>{const _0x143176=a90_0x690c;_0x137317[_0x143176(0x206)](async(_0x3d6155,_0x3954af)=>{const _0xbde7a7=_0x143176;return!!_0x3d6155[_0xbde7a7(0x1eb)][_0xbde7a7(0x1ef)]||'/404';});};export const setTitle=(_0x45ccd0,_0x52c5ab,_0x5b84a2)=>{const _0x144b6d=a90_0x690c;_0x45ccd0[_0x144b6d(0x1ec)]((_0x3fad3f,_0x116f07)=>{const _0x429492=_0x144b6d;document['title']=_0x3fad3f['matched'][_0x3fad3f['matched']['length']-0x1]['meta']?.[_0x429492(0x1e4)]||_0x52c5ab[_0x429492(0x1f9)][_0x429492(0x1e6)];});};function a90_0x690c(_0x79a599,_0x166845){const _0x575070=a90_0x5750();return a90_0x690c=function(_0x690cc8,_0x5d8317){_0x690cc8=_0x690cc8-0x1dd;let _0x42a127=_0x575070[_0x690cc8];return _0x42a127;},a90_0x690c(_0x79a599,_0x166845);}export const checkRolesPages=(_0x1378c3,_0xc12aa,_0x14ba49)=>{const _0x55029d=a90_0x690c;_0x1378c3[_0x55029d(0x206)](async(_0x115da9,_0x4646e9)=>{const _0x42c47b=_0x55029d,_0x45e829=_0x115da9[_0x42c47b(0x1eb)][_0x115da9[_0x42c47b(0x1eb)][_0x42c47b(0x1ef)]-0x1][_0x42c47b(0x1ed)][_0x42c47b(0x1e8)]('/:')[0x0];if(_0x115da9[_0x42c47b(0x1ee)][_0x42c47b(0x1e3)]===![]||_0x115da9['meta']?.['visitable'])return!![];while(_0xc12aa['getters']['logging']){await funcs[_0x42c47b(0x1fc)](0x14);}await nextTick();if(_0xc12aa[_0x42c47b(0x1e3)][_0x42c47b(0x1df)][_0x42c47b(0x1fd)](_0x45e829))return!![];const _0x1406bd={'redirectTo':_0x115da9[_0x42c47b(0x1ed)],..._0x115da9[_0x42c47b(0x203)]};return _0xc12aa[_0x42c47b(0x1f7)][_0x42c47b(0x1f2)]&&(_0x1406bd[_0x42c47b(0x1e7)]=_0x42c47b(0x202)+_0x115da9[_0x42c47b(0x1ed)]+'\x20页面,如有需要请联系我们',Message({'message':_0x1406bd[_0x42c47b(0x1e7)],'duration':0x2710})),{'path':_0xc12aa[_0x42c47b(0x1e3)]['paths'][0x0]||_0x42c47b(0x1f3),'query':_0x1406bd};}),nextTick(()=>{const _0x1891f1=_0x55029d;let _0x2bd40a=![];watch(()=>_0xc12aa[_0x1891f1(0x1e3)][_0x1891f1(0x1f0)],_0x501f8d=>{const _0x5d71d5=_0x1891f1;if(!_0x2bd40a){if(!_0x501f8d[_0x5d71d5(0x1ef)])return;_0x2bd40a=!![];}const _0xc52cec=_0xc12aa[_0x5d71d5(0x1e3)][_0x5d71d5(0x1df)],_0x410aa5=(_0x5b7ef5,_0x4e1178)=>{const _0x34a86f=_0x5d71d5;let _0xfb0c21;_0x5b7ef5[_0x34a86f(0x1e5)]&&!_0x5b7ef5[_0x34a86f(0x1e1)]?_0xfb0c21=_0x5b7ef5[_0x34a86f(0x1e5)]:_0xfb0c21=[..._0x4e1178,_0x5b7ef5][_0x34a86f(0x1f6)]((_0xbbea56,_0x508884)=>_0xbbea56+'/'+_0x508884['path'],'')[_0x34a86f(0x1fa)]('//','/'),_0x5b7ef5[_0x34a86f(0x1ee)]||={},_0x5b7ef5['meta']['acl']===![]?_0x5b7ef5['children']?.[_0x34a86f(0x200)](_0x1a4b6b=>{const _0x2d5a27=_0x34a86f;_0x1a4b6b[_0x2d5a27(0x1ee)]||={},_0x1a4b6b[_0x2d5a27(0x1ee)]['acl']||=![],_0x410aa5(_0x1a4b6b,[..._0x4e1178,_0x5b7ef5]);}):(_0x5b7ef5[_0x34a86f(0x1ee)]['_hidden']=_0x5b7ef5['meta'][_0x34a86f(0x204)],parent&&(_0x5b7ef5[_0x34a86f(0x1ee)][_0x34a86f(0x204)]==null&&(_0x5b7ef5[_0x34a86f(0x1ee)]['hidden']??=parent[_0x34a86f(0x1ee)]?.[_0x34a86f(0x204)],_0x5b7ef5['meta']={..._0x5b7ef5[_0x34a86f(0x1ee)]}),_0x5b7ef5[_0x34a86f(0x1ee)][_0x34a86f(0x1f5)]==null&&(_0x5b7ef5[_0x34a86f(0x1ee)]['visitable']??=parent[_0x34a86f(0x1ee)]?.['visitable'],_0x5b7ef5[_0x34a86f(0x1ee)]={..._0x5b7ef5[_0x34a86f(0x1ee)]})),_0x5b7ef5['children']?.[_0x34a86f(0x200)](_0x14fc15=>_0x410aa5(_0x14fc15,[..._0x4e1178,_0x5b7ef5])),_0x5b7ef5[_0x34a86f(0x1ee)][_0x34a86f(0x204)]!==![]&&_0x5b7ef5['meta'][_0x34a86f(0x1fb)]!==!![]&&(_0x5b7ef5[_0x34a86f(0x1ee)]['hidden']=!_0xc52cec['includes'](_0xfb0c21),_0x5b7ef5[_0x34a86f(0x1ff)]?.[_0x34a86f(0x201)](_0xeddd6e=>_0xeddd6e[_0x34a86f(0x1ee)][_0x34a86f(0x204)]===![])&&(_0x5b7ef5['meta']['hidden']=![])));};_0x14ba49[_0x5d71d5(0x200)](_0x5b4079=>_0x410aa5(_0x5b4079,[]));},{'immediate':!![]});});};function a90_0x5750(){const _0x125e42=['5449704lMAjpw','component','6UdqIrE','acl','title','redirect','sitename','error','split','1675448DSmReN','4035897KjntKZ','matched','afterEach','path','meta','length','menus','18ypFaMT','logined','/404','114YrqSMI','visitable','reduce','getters','30TaRIiq','app','replace','_hidden','sleep','includes','16145SEQgrb','children','forEach','some','受限于您的账号权限,暂时无法访问\x20','query','hidden','6700246xYLxvl','beforeEach','80258fARfbP','6915744GZLjqL','paths'];a90_0x5750=function(){return _0x125e42;};return a90_0x5750();}export default{'check404':check404,'setTitle':setTitle,'checkRolesPages':checkRolesPages};
|
package/packages/utils/model.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a91_0x5e01(){const _0xfebe1c=['12353792UdIPwH','7582600PLPyCy','322tCWiRV','66YoLUBS','1937916rhInhA','849chKzuv','65421yZvift','5IbewIt','22206KesIfv','4066476GNkwUg','1170UAMAjO','_index'];a91_0x5e01=function(){return _0xfebe1c;};return a91_0x5e01();}const a91_0x3dc82e=a91_0x50e3;(function(_0xb95488,_0x381907){const _0x82fe3b=a91_0x50e3,_0x3c8376=_0xb95488();while(!![]){try{const _0x4d6cc4=parseInt(_0x82fe3b(0x129))/0x1*(parseInt(_0x82fe3b(0x127))/0x2)+parseInt(_0x82fe3b(0x128))/0x3+parseInt(_0x82fe3b(0x121))/0x4*(-parseInt(_0x82fe3b(0x12b))/0x5)+parseInt(_0x82fe3b(0x120))/0x6*(-parseInt(_0x82fe3b(0x126))/0x7)+-parseInt(_0x82fe3b(0x125))/0x8+-parseInt(_0x82fe3b(0x12a))/0x9*(-parseInt(_0x82fe3b(0x122))/0xa)+parseInt(_0x82fe3b(0x124))/0xb;if(_0x4d6cc4===_0x381907)break;else _0x3c8376['push'](_0x3c8376['shift']());}catch(_0x2afaae){_0x3c8376['push'](_0x3c8376['shift']());}}}(a91_0x5e01,0x7d34c));export const baseForm=()=>({'loading':![],'form':{},'initialForm':{},'formItems':[],'formRef':null,'formRules':{},'initialFormRules':{},'_isBaseForm':!![],'viewonly':![]});export const baseTable=(_0x553ec5={})=>({'loading':![],'query':{'page':0x1,'limit':0xa,'order':[],..._0x553ec5},'total':0x0,'moreLoading':![],'finished':![],'isInfinite':![],'list':[],'columns':[],'tableRef':null,'selection':[],'checked':null,'searchFields':[],'_isBaseTable':!![]});export const baseDialog=()=>({...baseForm(),'visible':![],'isEditing':![],'editingIndex':'','editingRow':{},'_isBaseDialog':!![]});export const baseModel=({table:table={},dialog:dialog={},columns:columns=[{'fixed':'left','type':'selection'},{'type':a91_0x3dc82e(0x123)}],query:query={},form:form={}}={})=>({'table':{...baseTable(query),...table,'columns':columns},'dialog':{...baseDialog(),...dialog,'form':form}});function a91_0x50e3(_0x31ecdf,_0x447c2c){const _0x5e0101=a91_0x5e01();return a91_0x50e3=function(_0x50e3c2,_0x4a7cef){_0x50e3c2=_0x50e3c2-0x120;let _0x32cc07=_0x5e0101[_0x50e3c2];return _0x32cc07;},a91_0x50e3(_0x31ecdf,_0x447c2c);}export default{'baseForm':baseForm,'baseTable':baseTable,'baseDialog':baseDialog,'baseModel':baseModel};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a92_0x1a93(_0x41b52b,_0x4ddcfb){const _0x38727b=a92_0x3872();return a92_0x1a93=function(_0x1a936b,_0x54cd99){_0x1a936b=_0x1a936b-0x13e;let _0x532343=_0x38727b[_0x1a936b];return _0x532343;},a92_0x1a93(_0x41b52b,_0x4ddcfb);}const a92_0x1cb102=a92_0x1a93;(function(_0x2d0de3,_0x394f3e){const _0x46a373=a92_0x1a93,_0x1e5b63=_0x2d0de3();while(!![]){try{const _0x1c7f94=parseInt(_0x46a373(0x185))/0x1*(parseInt(_0x46a373(0x13f))/0x2)+-parseInt(_0x46a373(0x157))/0x3*(-parseInt(_0x46a373(0x17f))/0x4)+parseInt(_0x46a373(0x17d))/0x5+parseInt(_0x46a373(0x14d))/0x6+parseInt(_0x46a373(0x151))/0x7*(-parseInt(_0x46a373(0x181))/0x8)+parseInt(_0x46a373(0x170))/0x9*(parseInt(_0x46a373(0x142))/0xa)+-parseInt(_0x46a373(0x160))/0xb;if(_0x1c7f94===_0x394f3e)break;else _0x1e5b63['push'](_0x1e5b63['shift']());}catch(_0x320f7e){_0x1e5b63['push'](_0x1e5b63['shift']());}}}(a92_0x3872,0x74d55));import{watch}from'vue';const {funcs}=StardustJs;export const initFields=_0xdc22c7=>{return _0xdc22c7['map'](_0x475bc4=>{const _0x199dd1=a92_0x1a93,_0x28e211=Object[_0x199dd1(0x15d)](_0x475bc4);for(let _0x3d019a of _0x28e211){if(_0x3d019a[_0x199dd1(0x174)](_0x199dd1(0x16b)))_0x475bc4[_0x199dd1(0x16f)]??={},_0x475bc4[_0x199dd1(0x16f)][_0x3d019a['slice'](0x3)]=_0x475bc4[_0x3d019a],delete _0x475bc4[_0x3d019a];else _0x3d019a['startsWith'](_0x199dd1(0x168))&&(_0x475bc4[_0x199dd1(0x16e)]??={},_0x475bc4['formAttrs'][_0x3d019a[_0x199dd1(0x180)](0x3)]=_0x475bc4[_0x3d019a],delete _0x475bc4[_0x3d019a]);}if(_0x475bc4['type']===_0x199dd1(0x17e))_0x475bc4[_0x199dd1(0x16e)]??={},_0x475bc4[_0x199dd1(0x16e)][_0x199dd1(0x16c)]??=_0x199dd1(0x167);else _0x475bc4[_0x199dd1(0x155)]===_0x199dd1(0x153)&&(_0x475bc4[_0x199dd1(0x16e)]??={},_0x475bc4[_0x199dd1(0x16e)][_0x199dd1(0x16c)]??='YYYY-MM-DD\x20HH:mm:ss');return _0x475bc4['xs']??=0x18,_0x475bc4;});};export const initModel=(_0x299718,_0x49bbf1)=>{const _0x381ab4=a92_0x1a93;for(let _0x105852 in _0x299718){const _0x1417b1=_0x299718[_0x105852];if(!_0x1417b1||typeof _0x1417b1!==_0x381ab4(0x14b))continue;_0x105852===_0x381ab4(0x176)&&_0x299718[_0x105852][_0x381ab4(0x17a)]&&initTable(_0x1417b1,_0x49bbf1),_0x105852===_0x381ab4(0x150)&&_0x299718[_0x105852]['_isBaseDialog']&&initDialog(_0x1417b1,_0x49bbf1),_0x105852===_0x381ab4(0x144)&&_0x299718[_0x105852][_0x381ab4(0x140)]&&initForm(_0x1417b1,_0x49bbf1);}return _0x299718;};export const initTable=(_0x4d4750,_0x12bc6e)=>{const _0x492518=a92_0x1a93;return _0x4d4750[_0x492518(0x154)][_0x492518(0x162)](..._0x12bc6e[_0x492518(0x146)](_0x3f79e5=>{const _0x13683f=_0x492518;return _0x3f79e5[_0x13683f(0x141)]===![]?_0x3f79e5['canView']:_0x3f79e5[_0x13683f(0x15a)]!==![];})),_0x4d4750;};export const initDialog=(_0x289906,_0x1eb5b2)=>{const _0x49d8d9=a92_0x1a93;return _0x289906[_0x49d8d9(0x158)]=_0x1eb5b2['filter'](_0x3f4d6d=>{const _0x359546=_0x49d8d9;if(_0x3f4d6d[_0x359546(0x141)]===![])return _0x3f4d6d[_0x359546(0x16d)]||_0x3f4d6d['canEdit'];return _0x3f4d6d['canAdd']!==![]||_0x3f4d6d['canEdit']!==![];}),initForm(_0x289906,_0x1eb5b2),_0x289906;};export const initForm=(_0x1ff66f,_0x3e34b6)=>{const _0x16e7d9=a92_0x1a93;_0x1ff66f[_0x16e7d9(0x140)]&&!_0x1ff66f[_0x16e7d9(0x14f)]&&(_0x1ff66f[_0x16e7d9(0x158)]=_0x3e34b6['filter'](_0x1821a8=>_0x1821a8[_0x16e7d9(0x141)]!==![]));initDefaultForm(_0x1ff66f[_0x16e7d9(0x144)],_0x1ff66f[_0x16e7d9(0x158)]),_0x1ff66f[_0x16e7d9(0x147)]=funcs[_0x16e7d9(0x15f)](_0x1ff66f[_0x16e7d9(0x144)]),_0x1ff66f[_0x16e7d9(0x179)]=funcs[_0x16e7d9(0x15f)](_0x1ff66f[_0x16e7d9(0x15e)]);const _0x1f0bf7=()=>{initFormRules(_0x1ff66f);};return watch(()=>_0x1ff66f[_0x16e7d9(0x158)],_0x1f0bf7,{'immediate':!![],'deep':!![]}),_0x1ff66f;};function a92_0x3872(){const _0x553b2c=['endsWith','some','804948fFaKqU','_isBaseForm','visible','10WPcuIr','ElSwitch','form','isMobile','filter','initialForm','validator','hasOwnProperty','daterange','object','blur','216408njYynt','string','_isBaseDialog','dialog','7BRyiQW','ElInputNumber','datetime','columns','type','every','291eXjsEd','formItems','start-placeholder','canView','number','match','keys','formRules','deepCopy','8639609QngFqc','forEach','push','end-placeholder','comp','trim','split','YYYY-MM-DD','fa_','prop','change','ta_','value-format','canAdd','formAttrs','tableAttrs','3630051qJuZRS','onChange','platform','x-checkboxs','startsWith','assign','table','datetimerange','XCheckboxs','initialFormRules','_isBaseTable','monthrange','一个\x20when\x20表达式中仅支持\x20&&\x20模式或\x20||\x20模式','229215unkQkz','date','36412pJXyDF','slice','4053976uTmkHb','asyncValidator','includes','onBlur','1dBENTz'];a92_0x3872=function(){return _0x553b2c;};return a92_0x3872();}export const initFormRules=_0x2ffff0=>{const _0x3f9427=a92_0x1a93,{formItems:_0x1b65d7,initialFormRules:_0x40d519}=_0x2ffff0;Object[_0x3f9427(0x175)](_0x2ffff0['formRules'],funcs[_0x3f9427(0x15f)](_0x40d519)),Object['keys'](_0x2ffff0[_0x3f9427(0x15e)])['forEach'](_0x146fb8=>{const _0x424d4a=_0x3f9427;!_0x40d519[_0x424d4a(0x149)](_0x146fb8)&&delete _0x2ffff0[_0x424d4a(0x15e)][_0x146fb8];});const _0x49bda8={};return _0x1b65d7['forEach'](_0x1ec572=>{const _0x111ca7=_0x3f9427;if(_0x2ffff0[_0x111ca7(0x15e)][_0x1ec572['prop']])return;if(!_0x1ec572['required']&&!_0x1ec572['validator']&&!_0x1ec572[_0x111ca7(0x182)])return;const _0x3cf6e1=_0x1ec572['platform']||_0x2ffff0[_0x111ca7(0x172)]||(window[_0x111ca7(0x145)]?'mobile':'pc'),_0x405f02=triggers[_0x3cf6e1],_0x169ac2=[],_0x20bb2d='options'in _0x1ec572,_0x183f39='请'+(_0x1ec572[_0x111ca7(0x148)]||_0x1ec572['asyncValidator']?'正确':'')+(_0x20bb2d?'选择':'输入')+(_0x1ec572?.['label']||_0x1ec572['prop']),_0xec5fc8={'required':!![],'message':_0x183f39};if(_0x1ec572[_0x111ca7(0x148)])_0xec5fc8['validator']=(_0x4f1481,_0xd98e2c)=>{const _0x3046a6=_0x111ca7;return _0x3cf6e1==='pc'?_0x1ec572[_0x3046a6(0x148)](_0x4f1481,_0xd98e2c):_0x1ec572[_0x3046a6(0x148)](_0xd98e2c,_0x4f1481);};if(_0x1ec572[_0x111ca7(0x182)])_0xec5fc8['asyncValidator']=(_0x190989,_0x48511a)=>{const _0x121656=_0x111ca7;return _0x3cf6e1==='pc'?_0x1ec572['asyncValidator'](_0x190989,_0x48511a):_0x1ec572[_0x121656(0x182)](_0x48511a,_0x190989);};!_0x1ec572[_0x111ca7(0x164)]?_0x169ac2[_0x111ca7(0x162)]({..._0xec5fc8,'trigger':_0x405f02[_0x111ca7(0x14c)]}):_0x169ac2[_0x111ca7(0x162)]({..._0xec5fc8,'trigger':_0x405f02[_0x111ca7(0x16a)]}),_0x1ec572[_0x111ca7(0x164)]===_0x111ca7(0x152)&&_0x169ac2[_0x111ca7(0x162)]({..._0xec5fc8,'trigger':_0x405f02[_0x111ca7(0x14c)]}),_0x49bda8[_0x1ec572['prop']]=_0x169ac2;}),Object[_0x3f9427(0x175)](_0x2ffff0[_0x3f9427(0x15e)],_0x49bda8),_0x2ffff0[_0x3f9427(0x15e)];};export const initDefaultForm=(_0x1101c2,_0x3a6bb9,_0x1d0734=!![])=>{const _0x317c8d=a92_0x1a93,_0x491d55={};return _0x3a6bb9[_0x317c8d(0x161)](_0xa4dde1=>{const _0x152ae7=_0x317c8d;if(!_0xa4dde1[_0x152ae7(0x169)]||_0xa4dde1['virtual'])return;let _0x5c1efd='';const {type:_0x595428,options:_0x5b3af6}=_0xa4dde1,{multiple:_0x1e6971}=_0xa4dde1[_0x152ae7(0x16e)]||{};if(_0x1d0734&&_0x595428===_0x152ae7(0x15b)||_0xa4dde1[_0x152ae7(0x164)]===_0x152ae7(0x152))_0x5c1efd=null;else{if(_0xa4dde1[_0x152ae7(0x164)]===_0x152ae7(0x143))_0x5c1efd=![];else{if(_0x5b3af6&&(_0xa4dde1['comp']?.[_0x152ae7(0x186)](_0x152ae7(0x178))||_0xa4dde1[_0x152ae7(0x164)]?.[_0x152ae7(0x186)](_0x152ae7(0x173))||_0x1e6971))_0x5c1efd=[];else{if(_0xa4dde1[_0x152ae7(0x164)]==='ElDatePicker'&&[_0x152ae7(0x177),_0x152ae7(0x14a),_0x152ae7(0x17b)][_0x152ae7(0x183)](_0xa4dde1[_0x152ae7(0x155)])){const _0x3da7c4={'datetimerange':'时间','daterange':'日期','monthrange':'月份'}[_0xa4dde1[_0x152ae7(0x155)]];!_0xa4dde1['start-placeholder']&&(_0xa4dde1[_0x152ae7(0x159)]='开始'+_0x3da7c4),!_0xa4dde1[_0x152ae7(0x163)]&&(_0xa4dde1['end-placeholder']='结束'+_0x3da7c4),_0x5c1efd=[];}}}}_0x491d55[_0xa4dde1[_0x152ae7(0x169)]]=_0x5c1efd;}),Object[_0x317c8d(0x175)](_0x1101c2,{..._0x491d55,..._0x1101c2}),_0x1101c2;};export const isWhenMatched=(_0x2c685b,_0x3c93fa)=>{const _0x12a747=a92_0x1a93;if(!_0x2c685b)return!![];const _0x1bbd63=_0x2c685b[_0x12a747(0x166)](/\s?(&&|\|\|)\s?/g);if(_0x1bbd63[_0x12a747(0x183)]('&&')&&_0x1bbd63['includes']('||'))throw _0x12a747(0x17c);const _0x55dc72=_0x1bbd63[_0x12a747(0x183)]('&&'),_0x5b6896=/[\^\*\$\~\!]?=/,_0x12f427=_0x1bbd63[_0x12a747(0x146)](_0x2a2352=>_0x2a2352!=='&&'&&_0x2a2352!=='||');return _0x12f427[_0x55dc72?_0x12a747(0x156):_0x12a747(0x13e)](_0x410b71=>{const _0x284d2a=_0x12a747;let [_0x1bd8e1,_0x1ee2a2]=_0x410b71['split'](_0x5b6896);_0x1ee2a2=_0x1ee2a2[_0x284d2a(0x166)]('|');let _0x3ea02f=_0x3c93fa[_0x1bd8e1];if(typeof _0x3ea02f===_0x284d2a(0x15b))_0x3ea02f+='';else{if(typeof _0x3ea02f===_0x284d2a(0x14e))_0x3ea02f=_0x3ea02f[_0x284d2a(0x165)]();}const _0x36ba7b=_0x410b71[_0x284d2a(0x15c)](_0x5b6896)[0x0];if(_0x36ba7b==='!=')return!_0x1ee2a2[_0x284d2a(0x183)](_0x3ea02f);return _0x1ee2a2[_0x284d2a(0x13e)](_0x2c1f0a=>{const _0x4f4ecf=_0x284d2a;if(_0x36ba7b==='^=')return _0x3ea02f?.[_0x4f4ecf(0x174)](_0x2c1f0a);else{if(_0x36ba7b==='*=')return _0x3ea02f?.['includes'](_0x2c1f0a);else{if(_0x36ba7b==='$=')return _0x3ea02f?.[_0x4f4ecf(0x186)](_0x2c1f0a);else{if(_0x36ba7b==='~=')return!_0x3ea02f?.[_0x4f4ecf(0x183)](_0x2c1f0a);else{if(_0x36ba7b==='!=')return _0x3ea02f!==_0x2c1f0a;}}}}return _0x2c1f0a===_0x3ea02f;});});};export const triggers={'mobile':{'blur':a92_0x1cb102(0x184),'change':a92_0x1cb102(0x171)},'pc':{'blur':a92_0x1cb102(0x14c),'change':'change'}};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_0x6686(){const _0x1f107e=['dates','decodeQuery','1268874YvqkLK','72JBsjLH','99438cpklJp','refresh-token','Authorization','body','Http-Encrypt','8yslFCF','789350UwmYyn','toString','user','/login?redirectTo=','href','application/json;\x20charset=UTF-8','err','headers','content-type','/login','url','split','redirectTo','code','9726wkZLKz','encrypt','hash','resolve','stringify','setExpired','116590GhFafW','1853873sFvJXp','parse','data','Content-Type','join','54vQqIWd','params','358otTivr','funcs','includes','reject','14625908pUteMp','未知错误','slice','query','globalProperties'];a93_0x6686=function(){return _0x1f107e;};return a93_0x6686();}(function(_0x117920,_0x4565bc){const _0x5dcc81=a93_0x5f4b,_0xa99fe3=_0x117920();while(!![]){try{const _0x2a7677=parseInt(_0x5dcc81(0xba))/0x1+-parseInt(_0x5dcc81(0xad))/0x2*(parseInt(_0x5dcc81(0xce))/0x3)+parseInt(_0x5dcc81(0xb9))/0x4*(parseInt(_0x5dcc81(0xd4))/0x5)+parseInt(_0x5dcc81(0xb8))/0x6+-parseInt(_0x5dcc81(0xd5))/0x7*(parseInt(_0x5dcc81(0xbf))/0x8)+-parseInt(_0x5dcc81(0xab))/0x9*(parseInt(_0x5dcc81(0xc0))/0xa)+parseInt(_0x5dcc81(0xb1))/0xb;if(_0x2a7677===_0x4565bc)break;else _0xa99fe3['push'](_0xa99fe3['shift']());}catch(_0x233aee){_0xa99fe3['push'](_0xa99fe3['shift']());}}}(a93_0x6686,0xb507e));import{Message}from'./message.js';function a93_0x5f4b(_0x37a71f,_0x2030d3){const _0x6686c5=a93_0x6686();return a93_0x5f4b=function(_0x5f4b04,_0x3ae60e){_0x5f4b04=_0x5f4b04-0xaa;let _0x3a3e4f=_0x6686c5[_0x5f4b04];return _0x3a3e4f;},a93_0x5f4b(_0x37a71f,_0x2030d3);}const requestUse=(_0x298bf5,_0x1003e6,_0x3aea79,_0x4f45d2,_0xdf7fc3)=>{const _0x5cd7a6=a93_0x5f4b;_0xdf7fc3[_0x5cd7a6(0xc7)][_0x5cd7a6(0xbc)]||=_0x3aea79[_0x5cd7a6(0xc2)]['token'];const _0x532466=_0x298bf5['config'][_0x5cd7a6(0xb5)]['httpEncrypt'];if(_0x532466!==![]){_0xdf7fc3[_0x5cd7a6(0xc7)][_0x5cd7a6(0xbe)]=_0x532466;const _0x2d26e4=_0xdf7fc3[_0x5cd7a6(0xd7)]instanceof FormData;!_0x2d26e4&&(_0xdf7fc3[_0x5cd7a6(0xc7)][_0x5cd7a6(0xd8)]||=_0x5cd7a6(0xc5));if(_0xdf7fc3[_0x5cd7a6(0xca)]['indexOf']('?')>=0x0){const [_0x2ad094,..._0x5347d5]=_0xdf7fc3[_0x5cd7a6(0xca)][_0x5cd7a6(0xcb)]('?'),_0x16ba5c=_0x1003e6[_0x5cd7a6(0xcf)][_0x532466](_0x5347d5[_0x5cd7a6(0xaa)]('?'),_0x5cd7a6(0xb4));_0xdf7fc3['url']=_0x2ad094+'?'+_0x16ba5c;}else _0xdf7fc3[_0x5cd7a6(0xac)]||={'__placeholder__':Date['now']()[_0x5cd7a6(0xc1)](0x10)};if(_0xdf7fc3[_0x5cd7a6(0xac)]){const _0x2a5812=decodeURIComponent(new URLSearchParams(_0xdf7fc3['params'])[_0x5cd7a6(0xc1)]());_0xdf7fc3['url']+='?'+_0x1003e6[_0x5cd7a6(0xcf)][_0x532466](_0x2a5812,_0x5cd7a6(0xb4)),delete _0xdf7fc3[_0x5cd7a6(0xac)];}if(_0xdf7fc3[_0x5cd7a6(0xd7)]!==undefined&&!_0x2d26e4){const _0xebf9ed=_0x1003e6[_0x5cd7a6(0xcf)][_0x532466](JSON[_0x5cd7a6(0xd2)](_0xdf7fc3['data']),_0x5cd7a6(0xbd));_0xdf7fc3[_0x5cd7a6(0xd7)]=_0xebf9ed;}}return _0xdf7fc3;},responseUse=(_0xbc32ef,_0xf893a2,_0x1a328a,_0x50d9a5,_0x5b44ec)=>{const _0x3d83d5=a93_0x5f4b;if([0x191,0x192,0x2711][_0x3d83d5(0xaf)](_0x5b44ec[_0x3d83d5(0xd7)][_0x3d83d5(0xcd)])){_0x1a328a[_0x3d83d5(0xc2)][_0x3d83d5(0xd3)]();const _0x4d5484='/'+location[_0x3d83d5(0xd0)][_0x3d83d5(0xb3)](0x2)[_0x3d83d5(0xcb)]('?')[0x0],_0x133ac9=StardustJs[_0x3d83d5(0xae)][_0x3d83d5(0xb7)](location[_0x3d83d5(0xc4)][_0x3d83d5(0xcb)]('?')[0x1]||'');return _0x50d9a5['replace'](_0x133ac9[_0x3d83d5(0xcc)]?_0x3d83d5(0xc3)+(_0x133ac9[_0x3d83d5(0xcc)]||_0x4d5484):_0x3d83d5(0xc9)),Promise['reject'](_0x5b44ec);}else{if([0x2712][_0x3d83d5(0xaf)](_0x5b44ec[_0x3d83d5(0xd7)][_0x3d83d5(0xcd)]))return Message['e'](_0x5b44ec[_0x3d83d5(0xd7)][_0x3d83d5(0xc6)]),Promise[_0x3d83d5(0xb0)](_0x5b44ec);}const _0x1bcd6d=_0x5b44ec[_0x3d83d5(0xc7)][_0x3d83d5(0xbb)]||_0x5b44ec[_0x3d83d5(0xd7)]['token'];_0x1bcd6d&&_0x1a328a[_0x3d83d5(0xc2)]['setToken'](_0x1bcd6d);if(_0x5b44ec[_0x3d83d5(0xd7)][_0x3d83d5(0xc6)])return Message['e'](_0x5b44ec[_0x3d83d5(0xd7)][_0x3d83d5(0xc6)]||_0x3d83d5(0xb2)),Promise[_0x3d83d5(0xb0)](_0x5b44ec);return _0x5b44ec[_0x3d83d5(0xc7)][_0x3d83d5(0xc8)]?.[_0x3d83d5(0xaf)]('application/json')&&(_0x5b44ec[_0x3d83d5(0xd7)]=JSON[_0x3d83d5(0xd6)](StardustJs[_0x3d83d5(0xb6)]['convertIsoDates'](JSON[_0x3d83d5(0xd2)](_0x5b44ec['data'])))),Promise[_0x3d83d5(0xd1)](_0x5b44ec[_0x3d83d5(0xd7)]);};export{requestUse,responseUse};
|
package/packages/utils/site.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a94_0x48d12d=a94_0x9959;function a94_0x9959(_0x57c313,_0x5a3964){const _0x3513ef=a94_0x3513();return a94_0x9959=function(_0x995909,_0x215afc){_0x995909=_0x995909-0x19b;let _0x123418=_0x3513ef[_0x995909];return _0x123418;},a94_0x9959(_0x57c313,_0x5a3964);}(function(_0x118688,_0x3762a8){const _0x378fdd=a94_0x9959,_0x3176bf=_0x118688();while(!![]){try{const _0x34b274=-parseInt(_0x378fdd(0x19d))/0x1*(-parseInt(_0x378fdd(0x1af))/0x2)+parseInt(_0x378fdd(0x1a3))/0x3*(-parseInt(_0x378fdd(0x1ad))/0x4)+-parseInt(_0x378fdd(0x1a9))/0x5+parseInt(_0x378fdd(0x1a6))/0x6*(parseInt(_0x378fdd(0x1a5))/0x7)+-parseInt(_0x378fdd(0x1aa))/0x8+parseInt(_0x378fdd(0x19c))/0x9*(parseInt(_0x378fdd(0x1a1))/0xa)+-parseInt(_0x378fdd(0x19e))/0xb;if(_0x34b274===_0x3762a8)break;else _0x3176bf['push'](_0x3176bf['shift']());}catch(_0x330d3d){_0x3176bf['push'](_0x3176bf['shift']());}}}(a94_0x3513,0xb1ce5));export const createWatermark=({text:_0x1837e3,gap:_0x25f695,fontSize:_0x2f2c64,color:_0x35e882,width:width=window[a94_0x48d12d(0x1a2)],height:height=window['innerHeight'],drawMode:drawMode=a94_0x48d12d(0x1ae)})=>{const _0xd215e6=a94_0x48d12d,_0x32843a=document[_0xd215e6(0x1ab)](_0xd215e6(0x1ac));_0x32843a['width']=width,_0x32843a[_0xd215e6(0x1a4)]=height;const _0x128a82=_0x32843a[_0xd215e6(0x1a7)]('2d');_0x128a82[_0xd215e6(0x19f)]=_0x2f2c64+_0xd215e6(0x1a0),_0x128a82[drawMode+'Style']=_0x35e882;const _0x3e5c36=_0x128a82['measureText'](_0x1837e3)[_0xd215e6(0x1a8)],_0x11d1c2=_0x3e5c36+_0x25f695,_0x3bed56=_0x2f2c64+_0x25f695;for(let _0x523547=_0x25f695/0x2;_0x523547<height;_0x523547+=_0x3bed56){for(let _0x236cae=_0x25f695/0x2;_0x236cae<width;_0x236cae+=_0x11d1c2){_0x128a82[drawMode+_0xd215e6(0x19b)](_0x1837e3,_0x236cae,_0x523547);}}return _0x32843a;};export default{'createWatermark':createWatermark};function a94_0x3513(){const _0x6ac00e=['1588bXvWFn','fill','33758FFPxWn','Text','9VjSlDo','2fabwnF','2379179OIbTNe','font','px\x20Arial','10411090VuVjXZ','innerWidth','1728TIhrTQ','height','2002PsEPpR','12414eobwHp','getContext','width','1544880wgNzfj','1474968UpjAKP','createElement','canvas'];a94_0x3513=function(){return _0x6ac00e;};return a94_0x3513();}
|
package/packages/vite-plugins.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a95_0x2a4594=a95_0x317b;(function(_0x15c74a,_0x2ef843){const _0x48283c=a95_0x317b,_0x5b5d60=_0x15c74a();while(!![]){try{const _0x5a3e56=-parseInt(_0x48283c(0x133))/0x1+parseInt(_0x48283c(0x11b))/0x2*(parseInt(_0x48283c(0x117))/0x3)+-parseInt(_0x48283c(0x13d))/0x4+-parseInt(_0x48283c(0x116))/0x5*(-parseInt(_0x48283c(0x100))/0x6)+parseInt(_0x48283c(0x108))/0x7*(parseInt(_0x48283c(0x132))/0x8)+-parseInt(_0x48283c(0x13f))/0x9+parseInt(_0x48283c(0x102))/0xa;if(_0x5a3e56===_0x2ef843)break;else _0x5b5d60['push'](_0x5b5d60['shift']());}catch(_0x414733){_0x5b5d60['push'](_0x5b5d60['shift']());}}}(a95_0x38ce,0x71aa9));import a95_0x1a78c7 from'node:fs';function a95_0x317b(_0x2351b8,_0x613f25){const _0x38ce06=a95_0x38ce();return a95_0x317b=function(_0x317b86,_0x2185f8){_0x317b86=_0x317b86-0xfb;let _0x37c434=_0x38ce06[_0x317b86];return _0x37c434;},a95_0x317b(_0x2351b8,_0x613f25);}import a95_0x133cba from'node:path';const filterPrivateFields=a95_0x2a4594(0x111),inject=(_0x1824ca,_0x3ce2ce)=>{const _0x12981f=a95_0x2a4594,_0x48d52d=a95_0x133cba[_0x12981f(0x12e)](_0x3ce2ce),_0x258130=a95_0x133cba[_0x12981f(0x138)](_0x3ce2ce),_0x55aa4c=_0x258130[_0x12981f(0x129)]('.')[0x0],_0x45a928=a95_0x1a78c7[_0x12981f(0xfb)](a95_0x133cba[_0x12981f(0xff)](_0x48d52d,_0x55aa4c+_0x12981f(0x130))),_0x51984b=a95_0x1a78c7[_0x12981f(0xfb)](a95_0x133cba[_0x12981f(0xff)](_0x48d52d,_0x55aa4c+_0x12981f(0x12f))),_0x598569=a95_0x1a78c7['existsSync'](a95_0x133cba['join'](_0x48d52d,_0x12981f(0xfc))),_0xd65ce2=a95_0x1a78c7[_0x12981f(0xfb)](a95_0x133cba[_0x12981f(0xff)](_0x48d52d,_0x12981f(0x12a))),_0x5c4800=_0x598569&&!_0x1824ca[_0x12981f(0x12d)](_0x12981f(0x127))&&!_0x1824ca[_0x12981f(0x12d)](_0x12981f(0x119))&&!_0x1824ca['includes'](_0x12981f(0x123)),_0x2f8443=_0xd65ce2&&!_0x1824ca[_0x12981f(0x12d)](_0x12981f(0x120))&&!_0x1824ca[_0x12981f(0x12d)](_0x12981f(0x139))&&!_0x1824ca[_0x12981f(0x12d)](_0x12981f(0x10c));if(_0x3ce2ce[_0x12981f(0x12d)](_0x12981f(0x11e))&&_0x258130['includes'](_0x12981f(0x112))&&_0x1824ca['startsWith'](_0x12981f(0x13b))){_0x1824ca=_0x1824ca[_0x12981f(0x136)](_0x12981f(0x13b),_0x12981f(0xfd));const _0x196499=_0x1824ca[_0x12981f(0x129)]('\x0a');_0x45a928&&_0x196499[_0x12981f(0x101)](...['<style\x20lang=\x22scss\x22\x20scoped>',_0x12981f(0x125)+_0x55aa4c+'-scoped.scss\x22;','</style>']),_0x51984b&&_0x196499[_0x12981f(0x101)](...[_0x12981f(0x10e),_0x12981f(0x125)+_0x55aa4c+'.scss\x22;',_0x12981f(0x13c)]),_0x2f8443&&_0x196499['splice'](0x1,0x0,_0x12981f(0x104),_0x12981f(0x137)+(_0x5c4800?'model,\x20':'')+'vue\x20})'),_0x5c4800&&_0x196499[_0x12981f(0x11d)](0x1,0x0,_0x12981f(0x12c),_0x12981f(0x13e)),_0x1824ca=_0x196499[_0x12981f(0xff)]('\x0a');}return _0x1824ca;},instantiateTables=(_0x1be9e0,_0x2ebe6a)=>{const _0x24e9bc=a95_0x2a4594,_0x3d65cd=a95_0x133cba['basename'](_0x2ebe6a),_0x9b2661=_0x3d65cd[_0x24e9bc(0x12d)]('.vue'),_0x2742a9=_0x3d65cd['includes']('.js');if(_0x2ebe6a[_0x24e9bc(0x12d)](_0x24e9bc(0x11e))&&(_0x9b2661||_0x2742a9)){const _0x18fab9=_0x1be9e0[_0x24e9bc(0x129)]('\x0a')[_0x24e9bc(0x128)](_0x15d0b7=>_0x15d0b7[_0x24e9bc(0x12b)]())[_0x24e9bc(0x113)](_0x27d513=>!_0x27d513[_0x24e9bc(0x105)]('//'))['join']('\x0a');let _0x1baf30=[...new Set([..._0x18fab9[_0x24e9bc(0x114)](/[^a-z][A-Z]\w+\.(search|add|update|remove|func|batch|get)/g)][_0x24e9bc(0x128)](_0x540f1f=>_0x540f1f[0x0][_0x24e9bc(0x126)](0x1)[_0x24e9bc(0x129)]('.')[0x0]))];_0x1baf30=_0x1baf30[_0x24e9bc(0x113)](_0x55cc3d=>![_0x24e9bc(0x10f)][_0x24e9bc(0x12d)](_0x55cc3d));if(_0x1baf30[_0x24e9bc(0x110)]){let _0x2e5074='';_0x1baf30['forEach'](_0x4f0b8a=>{const _0x52542c=_0x24e9bc;let [_0x4a1f11,_0x6ea315]=_0x4f0b8a[_0x52542c(0x129)]('_')['map'](_0x3af088=>_0x3af088[_0x52542c(0x136)](/[A-Z]/g,_0x598d98=>'_'+_0x598d98[_0x52542c(0x11c)]())[_0x52542c(0x126)](0x1));_0x6ea315?_0x4a1f11='\x27'+_0x4a1f11+'\x27':(_0x6ea315=_0x4a1f11,_0x4a1f11=_0x52542c(0x115)),_0x2e5074+=_0x52542c(0x107)+_0x4f0b8a+_0x52542c(0x11f)+_0x4a1f11+_0x52542c(0x124)+_0x6ea315+_0x52542c(0x10b);}),_0x9b2661?_0x1be9e0=_0x1be9e0['replace'](_0x24e9bc(0x13b),_0x24e9bc(0xfd)+_0x2e5074)[_0x24e9bc(0x136)](_0x24e9bc(0x134),'<script>\x0a'+_0x2e5074):_0x1be9e0=_0x2e5074+_0x1be9e0;}}return _0x1be9e0;},deconstruct=(_0x5cdec4,_0x1d4483)=>{const _0x501fae=a95_0x2a4594,_0x12be83=a95_0x133cba[_0x501fae(0x138)](_0x1d4483),_0xbef2b9=_0x12be83[_0x501fae(0x12d)](_0x501fae(0x112));if(_0x1d4483[_0x501fae(0x12d)]('/src/')&&_0xbef2b9){const _0x370b6c=_0x501fae(0x10a),_0x4522d7=_0x501fae(0x103),_0x55c4eb=_0x5cdec4[_0x501fae(0x12d)](_0x370b6c),_0xfdfb56=_0x5cdec4['includes'](_0x4522d7),_0x1361fd=(_0x55c4eb||_0xfdfb56)&&_0x5cdec4[_0x501fae(0x12d)](_0x501fae(0x131)),_0x16a79f=(_0x55c4eb||_0xfdfb56)&&_0x5cdec4[_0x501fae(0x12d)](_0x501fae(0x11a));if(_0x1361fd||_0x16a79f){let _0xa204e6=filterPrivateFields;if(_0x55c4eb){if(_0x1361fd&&_0x16a79f)_0xa204e6+=_0x501fae(0x121);else{if(_0x1361fd)_0xa204e6+=_0x501fae(0xfe);else _0x16a79f&&(_0xa204e6+=_0x501fae(0x135));}}else{_0xa204e6+=_0x4522d7+'\x0a';if(_0x1361fd&&_0x16a79f)_0xa204e6+=_0x501fae(0x10d);else{if(_0x1361fd)_0xa204e6+=_0x501fae(0x118);else _0x16a79f&&(_0xa204e6+=_0x501fae(0x122));}_0xa204e6+='\x0a';}_0x5cdec4=_0x5cdec4['replace'](_0x55c4eb?_0x370b6c:_0x4522d7,_0xa204e6);}}return _0x5cdec4;};export const autoInject=(_0x331d64={})=>{const _0xc283fb=a95_0x2a4594;return{'name':_0xc283fb(0x109),'transform'(_0x559ef9,_0x568242){const _0x1effa2=_0xc283fb;return _0x559ef9=inject(_0x559ef9,_0x568242),_0x331d64[_0x1effa2(0x106)]!==![]&&(_0x559ef9=instantiateTables(_0x559ef9,_0x568242)),{'code':_0x559ef9};}};};export const autoDeconstruct=()=>{const _0x548f8d=a95_0x2a4594;return{'name':_0x548f8d(0x13a),'transform'(_0x4b5984,_0x187fc0){return{'code':deconstruct(_0x4b5984,_0x187fc0)};}};};function a95_0x38ce(){const _0x36d5fb=['slice','no\x20model','map','split','controller.js','trim','import\x20makeModel\x20from\x20\x27./model.js\x27','includes','dirname','.scss','-scoped.scss','import\x20makeModel\x20','130472PPxfGQ','722426BiSWeU','<script>','return\x20{\x20...__returned__,\x20...filterPrivateFields(controller)\x20}','replace','const\x20controller\x20=\x20makeController({\x20','basename','const\x20controller','auto-deconstruct','<script\x20setup>','</style>','3334036iLUaIo','const\x20model\x20=\x20makeModel()','5547078epxQvr','existsSync','model.js','<script\x20setup>\x0a','return\x20{\x20...__returned__,\x20...filterPrivateFields(model)\x20}','join','429306FRpIIR','push','14008360AOxkxu','return\x20(_ctx,\x20_cache)\x20=>\x20{','import\x20makeController\x20from\x20\x27./controller.js\x27','startsWith','instantiateTables','const\x20','77apkuoO','auto-inject','return\x20__returned__','\x27)\x0a','import\x20controller','_ctx\x20=\x20wrapCtx(_ctx,\x20filterPrivateFields(model),\x20filterPrivateFields(controller))','<style\x20lang=\x22scss\x22>','Object','length','\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','.vue','filter','matchAll','DbName','40oxOBHm','3REJOlk','_ctx\x20=\x20wrapCtx(_ctx,\x20filterPrivateFields(model))','const\x20model','import\x20makeController\x20','970422agcXIu','toLowerCase','splice','/src/','\x20=\x20new\x20Table(','no\x20controller','return\x20{\x20...__returned__,\x20...filterPrivateFields(model),\x20...filterPrivateFields(controller)\x20}','_ctx\x20=\x20wrapCtx(_ctx,\x20null,\x20filterPrivateFields(controller))','import\x20model',',\x20\x27','@use\x20\x22./'];a95_0x38ce=function(){return _0x36d5fb;};return a95_0x38ce();}
|
package/src/main.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a96_0x237271=a96_0x54ab;(function(_0x309d02,_0x2cc65a){const _0xffa9b9=a96_0x54ab,_0x44a3c7=_0x309d02();while(!![]){try{const _0x321f93=parseInt(_0xffa9b9(0xe8))/0x1+parseInt(_0xffa9b9(0xd9))/0x2+-parseInt(_0xffa9b9(0xe4))/0x3+parseInt(_0xffa9b9(0xdb))/0x4*(-parseInt(_0xffa9b9(0xe1))/0x5)+-parseInt(_0xffa9b9(0xde))/0x6+-parseInt(_0xffa9b9(0xe2))/0x7*(parseInt(_0xffa9b9(0xdd))/0x8)+-parseInt(_0xffa9b9(0xe6))/0x9*(-parseInt(_0xffa9b9(0xe0))/0xa);if(_0x321f93===_0x2cc65a)break;else _0x44a3c7['push'](_0x44a3c7['shift']());}catch(_0x3dd6e3){_0x44a3c7['push'](_0x44a3c7['shift']());}}}(a96_0x5045,0x38184));import{createApp}from'vue';import a96_0x3727bd from'element-plus';function a96_0x54ab(_0x45e970,_0x49b237){const _0x504565=a96_0x5045();return a96_0x54ab=function(_0x54abfe,_0x4bb538){_0x54abfe=_0x54abfe-0xd9;let _0x5860b9=_0x504565[_0x54abfe];return _0x5860b9;},a96_0x54ab(_0x45e970,_0x49b237);}import a96_0x3f3dc6 from'vant';import a96_0x3e0ecd from'../packages/index.js';import'../packages/index.scss';import a96_0x3e6a57,{API_BASE_URL}from'./request.js';import a96_0x5b177c from'@/App.vue';const app=createApp(a96_0x5b177c);app[a96_0x237271(0xdc)](a96_0x237271(0xdf),{'created'(_0x5f1db,_0x45aa2a){}}),app[a96_0x237271(0xea)](a96_0x3727bd);for(const [key,component]of Object[a96_0x237271(0xda)](ElementPlusIconsVue)){app['component'](key,component);}app['use'](a96_0x3f3dc6),app[a96_0x237271(0xea)](a96_0x3e0ecd,{'ElementPlus':a96_0x3727bd,'Vant':a96_0x3f3dc6}),Object[a96_0x237271(0xe9)](app[a96_0x237271(0xe3)][a96_0x237271(0xe5)],{'isMobile':window['isMobile'],'service':{'request':a96_0x3e6a57,'API_BASE_URL':API_BASE_URL},'$store':{'app':{'sidebarCollapse':![],'toggleDuration':0x0}}}),app['mount'](a96_0x237271(0xe7));export default app;function a96_0x5045(){const _0xa949f7=['directive','24vPTaWA','1977798smwEUr','domid','21730GbWIFL','19205qgZKQS','1065491LVcAlh','config','643407ffALwY','globalProperties','3429oiTyJP','#app','222885DtwJuu','assign','use','551464rApRgj','entries','100wuQclo'];a96_0x5045=function(){return _0xa949f7;};return a96_0x5045();}
|
package/src/request.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a97_0x217999=a97_0x1753;(function(_0x5c3854,_0x23afed){const _0x3bc3c6=a97_0x1753,_0x281b1d=_0x5c3854();while(!![]){try{const _0xea883e=parseInt(_0x3bc3c6(0x13e))/0x1+parseInt(_0x3bc3c6(0x14a))/0x2+-parseInt(_0x3bc3c6(0x149))/0x3+-parseInt(_0x3bc3c6(0x146))/0x4+-parseInt(_0x3bc3c6(0x13a))/0x5+-parseInt(_0x3bc3c6(0x141))/0x6*(-parseInt(_0x3bc3c6(0x14d))/0x7)+parseInt(_0x3bc3c6(0x138))/0x8;if(_0xea883e===_0x23afed)break;else _0x281b1d['push'](_0x281b1d['shift']());}catch(_0x3f320d){_0x281b1d['push'](_0x281b1d['shift']());}}}(a97_0x224f,0x7fb66));const {PROD,VITE_DEV_BASE_URL,VITE_PROD_BASE_URL,VITE_TIMEOUT=0xea60}=import.meta[a97_0x217999(0x14c)],API_BASE_URL=window[a97_0x217999(0x145)]||(PROD?VITE_PROD_BASE_URL:VITE_DEV_BASE_URL),createRequest=_0x4a921e=>{const _0x4f8c5c=a97_0x217999,_0x158a73=axios[_0x4f8c5c(0x144)]({'baseURL':API_BASE_URL,'timeout':VITE_TIMEOUT*0x1,..._0x4a921e});return _0x158a73[_0x4f8c5c(0x147)][_0x4f8c5c(0x140)][_0x4f8c5c(0x148)](_0x278e21=>{return _0x278e21;},_0x1ee52b=>{const _0x2e9eb5=_0x4f8c5c;console[_0x2e9eb5(0x139)](_0x1ee52b);}),_0x158a73['interceptors'][_0x4f8c5c(0x13d)][_0x4f8c5c(0x148)](_0x24d2ff=>{return _0x24d2ff;},_0x48cb24=>{console['error'](_0x48cb24);}),_0x158a73;},fetchRequest=(_0x1b6b50,_0x33b7d5={})=>{const _0x1ee372=a97_0x217999;_0x1b6b50=_0x1b6b50[_0x1ee372(0x143)](_0x1ee372(0x14b))?_0x1b6b50:API_BASE_URL+_0x1b6b50;const {method:method=_0x1ee372(0x13c),headers:_0x540193,body:_0x17d1d8,..._0x572baa}=_0x33b7d5,_0x15531e={'method':method,..._0x572baa,'headers':{'content-type':_0x1ee372(0x137),..._0x540193}};return[_0x1ee372(0x14f),_0x1ee372(0x142)]['includes'](method[_0x1ee372(0x13b)]())&&(_0x15531e[_0x1ee372(0x150)]=typeof _0x17d1d8===_0x1ee372(0x14e)?_0x17d1d8:JSON[_0x1ee372(0x13f)](_0x17d1d8)),fetch(_0x1b6b50,_0x15531e);};export default createRequest();function a97_0x1753(_0x3f28fa,_0x25ad39){const _0x224fbf=a97_0x224f();return a97_0x1753=function(_0x175358,_0x2a446c){_0x175358=_0x175358-0x137;let _0x43bbbb=_0x224fbf[_0x175358];return _0x43bbbb;},a97_0x1753(_0x3f28fa,_0x25ad39);}export{API_BASE_URL,createRequest,fetchRequest};function a97_0x224f(){const _0x3c55ab=['GET','response','31623klxJbH','stringify','request','88188lTuvWU','POST','startsWith','create','API_BASE_URL','3723876ZCnwNU','interceptors','use','1232469jfYGnu','20988RrjgFd','http','env','119kJMBkl','string','PUT','body','application/json','15760112JOOotY','error','1985475RROVsW','toUpperCase'];a97_0x224f=function(){return _0x3c55ab;};return a97_0x224f();}
|
package/vite.config.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a98_0x2c9833=a98_0x31fc;(function(_0x4b43ce,_0x2df9dc){const _0x3dae79=a98_0x31fc,_0x2eb04b=_0x4b43ce();while(!![]){try{const _0x33d4e7=parseInt(_0x3dae79(0x8c))/0x1+parseInt(_0x3dae79(0x79))/0x2*(-parseInt(_0x3dae79(0x78))/0x3)+-parseInt(_0x3dae79(0x7f))/0x4*(-parseInt(_0x3dae79(0x8b))/0x5)+parseInt(_0x3dae79(0x89))/0x6*(parseInt(_0x3dae79(0x7c))/0x7)+-parseInt(_0x3dae79(0x88))/0x8+parseInt(_0x3dae79(0x82))/0x9*(parseInt(_0x3dae79(0x80))/0xa)+-parseInt(_0x3dae79(0x87))/0xb*(parseInt(_0x3dae79(0x7a))/0xc);if(_0x33d4e7===_0x2df9dc)break;else _0x2eb04b['push'](_0x2eb04b['shift']());}catch(_0x147b56){_0x2eb04b['push'](_0x2eb04b['shift']());}}}(a98_0x233e,0xdc40b));function a98_0x31fc(_0x41b330,_0x491d34){const _0x233ed8=a98_0x233e();return a98_0x31fc=function(_0x31fc5a,_0x557470){_0x31fc5a=_0x31fc5a-0x74;let _0x4e62f4=_0x233ed8[_0x31fc5a];return _0x4e62f4;},a98_0x31fc(_0x41b330,_0x491d34);}import a98_0x3dde2e from'path';import{defineConfig}from'vite';import a98_0x1f9a6c from'@vitejs/plugin-vue';import a98_0x5b54e4 from'@vitejs/plugin-legacy';import a98_0x1e2736 from'@vitejs/plugin-vue-jsx';import a98_0xc9746d from'@rollup/plugin-commonjs';import a98_0x429ab1 from'rollup-plugin-external-globals';function a98_0x233e(){const _0x30e3c0=['split','4coBAQZ','3057910qCsLTY','cwd','36nAUAcj','decorators','dist','2023-11','vue','517GKoYTO','4984832hFIysf','18ysHARy','regenerator-runtime/runtime','6803365vCeAWk','851786HukcIZ','src','toString','node_modules','Vue','defaults','12876DbYjvZ','148phsSMd','691428aolqiq','includes','2602453ephbTk','join'];a98_0x233e=function(){return _0x30e3c0;};return a98_0x233e();}import{babel}from'@rollup/plugin-babel';import{createStyleImportPlugin,VantResolve}from'vite-plugin-style-import';const resolve=_0x3c50b0=>a98_0x3dde2e[a98_0x2c9833(0x7d)](process[a98_0x2c9833(0x81)](),_0x3c50b0);export default defineConfig(({command:_0x494bc5,mode:_0x1e0aa4})=>{const _0x53d69e=a98_0x2c9833,_0x45bba9={'plugins':[a98_0x1f9a6c({'template':{'compilerOptions':{'expressionPlugins':[[_0x53d69e(0x83),{'version':_0x53d69e(0x85)}]]}},'script':{'babelParserPlugins':[['decorators',{'version':_0x53d69e(0x85)}],_0x53d69e(0x83)]}}),a98_0x1e2736(),babel({'compact':![],'plugins':[['@babel/plugin-proposal-decorators',{'version':'2023-11'}]]}),createStyleImportPlugin({'resolves':[VantResolve()]}),a98_0x5b54e4({'targets':[_0x53d69e(0x77)],'additionalLegacyPolyfills':[_0x53d69e(0x8a)]})],'runtimeCompiler':!![],'build':{'outDir':_0x53d69e(0x84),'rollupOptions':{'external':[_0x53d69e(0x86)],'plugins':[a98_0xc9746d(),a98_0x429ab1({'vue':_0x53d69e(0x76)})],'output':{'manualChunks'(_0x20b539){const _0x2e4127=_0x53d69e;if(_0x20b539[_0x2e4127(0x7b)](_0x2e4127(0x75)))return _0x20b539['toString']()[_0x2e4127(0x7e)]('node_modules/')[0x1]['split']('/')[0x0][_0x2e4127(0x74)]();}}}},'resolve':{'alias':{'@':resolve(_0x53d69e(0x8d)),'vue':'vue/dist/vue.esm-bundler.js'}}};return _0x45bba9;});
|
package/vite.lib.config.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a99_0x36df49=a99_0x4c79;(function(_0x557ad2,_0x5e4e7e){const _0x11fcc6=a99_0x4c79,_0x298a19=_0x557ad2();while(!![]){try{const _0x5f2c44=-parseInt(_0x11fcc6(0xf6))/0x1*(parseInt(_0x11fcc6(0x100))/0x2)+-parseInt(_0x11fcc6(0x103))/0x3*(-parseInt(_0x11fcc6(0x10a))/0x4)+-parseInt(_0x11fcc6(0x101))/0x5+parseInt(_0x11fcc6(0xfc))/0x6*(parseInt(_0x11fcc6(0xfa))/0x7)+parseInt(_0x11fcc6(0xff))/0x8*(-parseInt(_0x11fcc6(0xf9))/0x9)+-parseInt(_0x11fcc6(0x107))/0xa*(-parseInt(_0x11fcc6(0x104))/0xb)+parseInt(_0x11fcc6(0x10c))/0xc;if(_0x5f2c44===_0x5e4e7e)break;else _0x298a19['push'](_0x298a19['shift']());}catch(_0x1bf181){_0x298a19['push'](_0x298a19['shift']());}}}(a99_0x232a,0x9a50d));import a99_0x4995c6 from'path';import{defineConfig}from'vite';import a99_0x3e96fb from'@vitejs/plugin-vue';function a99_0x232a(){const _0x234f01=['8128zIxwub','46142qnEYhG','696220reeyaK','node_modules/','12tWLMpt','11AOdAYX','StardustUI','./packages/index.js','2551590uYCOhc','cwd','includes','903948FilkaG','join','1183896dPcmzc','split','11RiYUCo','vue/dist/vue.esm-bundler.js','node_modules','7191gscEew','4053847wZXtcH','index','6YeUlPq','toString','vue'];a99_0x232a=function(){return _0x234f01;};return a99_0x232a();}import a99_0x1f954d from'@vitejs/plugin-vue-jsx';import a99_0x2635d0 from'@rollup/plugin-commonjs';function a99_0x4c79(_0x5a71fa,_0xaebde6){const _0x232a90=a99_0x232a();return a99_0x4c79=function(_0x4c79e6,_0x41a8ae){_0x4c79e6=_0x4c79e6-0xf5;let _0x15a06d=_0x232a90[_0x4c79e6];return _0x15a06d;},a99_0x4c79(_0x5a71fa,_0xaebde6);}import a99_0x50422e from'rollup-plugin-external-globals';import{createStyleImportPlugin,VantResolve}from'vite-plugin-style-import';const resolve=_0x32837b=>a99_0x4995c6[a99_0x36df49(0x10b)](process[a99_0x36df49(0x108)](),_0x32837b);export default defineConfig(({command:_0x78e6d6,mode:_0x380723})=>{const _0x411dc8=a99_0x36df49,_0x3e1286={'plugins':[a99_0x3e96fb(),a99_0x1f954d(),createStyleImportPlugin({'resolves':[VantResolve()]})],'runtimeCompiler':!![],'build':{'outDir':'./','lib':{'entry':_0x411dc8(0x106),'name':_0x411dc8(0x105),'fileName':_0x411dc8(0xfb),'formats':['es']},'rollupOptions':{'external':[_0x411dc8(0xfe)],'plugins':[a99_0x2635d0()],'output':{'globals':{'vue':'Vue'},'manualChunks'(_0x36b6b8){const _0x80aaff=_0x411dc8;if(_0x36b6b8[_0x80aaff(0x109)](_0x80aaff(0xf8)))return _0x36b6b8[_0x80aaff(0xfd)]()[_0x80aaff(0xf5)](_0x80aaff(0x102))[0x1][_0x80aaff(0xf5)]('/')[0x0][_0x80aaff(0xfd)]();}}}},'resolve':{'alias':{'@':resolve('src'),'vue':_0x411dc8(0xf7)}}};return _0x3e1286;});
|