@wp1001/ui 3.6.10 → 3.6.11
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(_0x43db84,_0xc80bc9){const _0x2c4d50=a90_0x89d0,_0x43e0ee=_0x43db84();while(!![]){try{const _0x5f0711=-parseInt(_0x2c4d50(0xec))/0x1*(parseInt(_0x2c4d50(0xe8))/0x2)+-parseInt(_0x2c4d50(0xf3))/0x3+parseInt(_0x2c4d50(0x10b))/0x4+parseInt(_0x2c4d50(0xf9))/0x5+-parseInt(_0x2c4d50(0x101))/0x6+-parseInt(_0x2c4d50(0x108))/0x7*(parseInt(_0x2c4d50(0xf8))/0x8)+parseInt(_0x2c4d50(0xf5))/0x9*(parseInt(_0x2c4d50(0x107))/0xa);if(_0x5f0711===_0xc80bc9)break;else _0x43e0ee['push'](_0x43e0ee['shift']());}catch(_0x2de2ef){_0x43e0ee['push'](_0x43e0ee['shift']());}}}(a90_0x2940,0x60675));import{watch,nextTick}from'vue';function a90_0x89d0(_0x219204,_0x444930){const _0x294081=a90_0x2940();return a90_0x89d0=function(_0x89d015,_0x3077f8){_0x89d015=_0x89d015-0xe8;let _0x141fd2=_0x294081[_0x89d015];return _0x141fd2;},a90_0x89d0(_0x219204,_0x444930);}import{Message}from'./message.js';function a90_0x2940(){const _0x3f4d94=['app','path','1894uKhBBs','includes','component','acl','403PwGpbW','visitable','hidden','children','length','redirect','logging','1439622dCMygF','menus','2115xmRVgr','query','error','24tKnSsl','2572530XIOfdV','matched','title','logined','meta','some','paths','getters','1324974zktwHU','beforeEach','sitename','_hidden','replace','forEach','40420aTAypx','1327921HXAXQy','/404','sleep','2327784pNvOhU'];a90_0x2940=function(){return _0x3f4d94;};return a90_0x2940();}const {funcs}=StardustJs;export const check404=(_0x37e4f6,_0x21fd41,_0xeb00cc)=>{const _0x3110bc=a90_0x89d0;_0x37e4f6[_0x3110bc(0x102)](async(_0x1968e7,_0x2047da)=>{const _0x308192=_0x3110bc;return!!_0x1968e7[_0x308192(0xfa)][_0x308192(0xf0)]||'/404';});};export const setTitle=(_0x520176,_0x27c8f6,_0x232f34)=>{_0x520176['afterEach']((_0x3fde57,_0xa70cbe)=>{const _0x10accc=a90_0x89d0;document[_0x10accc(0xfb)]=_0x3fde57[_0x10accc(0xfa)][_0x3fde57[_0x10accc(0xfa)]['length']-0x1]['meta']?.[_0x10accc(0xfb)]||_0x27c8f6[_0x10accc(0x10c)][_0x10accc(0x103)];});};export const checkRolesPages=(_0x4d001b,_0x1055a0,_0x4fdd25)=>{const _0x3bf010=a90_0x89d0;_0x4d001b[_0x3bf010(0x102)](async(_0x4bc096,_0xdfdd55)=>{const _0x156139=_0x3bf010,_0x5ce163=_0x4bc096[_0x156139(0xfa)][_0x4bc096[_0x156139(0xfa)]['length']-0x1][_0x156139(0x10d)]['split']('/:')[0x0];if(_0x4bc096[_0x156139(0xfd)][_0x156139(0xeb)]===![]||_0x4bc096[_0x156139(0xfd)]?.[_0x156139(0xed)])return!![];while(_0x1055a0['getters'][_0x156139(0xf2)]){await funcs[_0x156139(0x10a)](0x14);}await nextTick();if(_0x1055a0[_0x156139(0xeb)][_0x156139(0xff)][_0x156139(0xe9)](_0x5ce163))return!![];const _0x589337={'redirectTo':_0x4bc096['path'],..._0x4bc096[_0x156139(0xf6)]};return _0x1055a0[_0x156139(0x100)][_0x156139(0xfc)]&&(_0x589337[_0x156139(0xf7)]='受限于您的账号权限,暂时无法访问\x20'+_0x4bc096[_0x156139(0x10d)]+'\x20页面,如有需要请联系我们',Message({'message':_0x589337['error'],'duration':0x2710})),{'path':_0x1055a0[_0x156139(0xeb)]['paths'][0x0]||_0x156139(0x109),'query':_0x589337};}),nextTick(()=>{const _0x1b413a=_0x3bf010;let _0x56608e=![];watch(()=>_0x1055a0[_0x1b413a(0xeb)][_0x1b413a(0xf4)],_0x51b9a2=>{const _0x4ad6d1=_0x1b413a;if(!_0x56608e){if(!_0x51b9a2[_0x4ad6d1(0xf0)])return;_0x56608e=!![];}const _0x2ae8da=_0x1055a0[_0x4ad6d1(0xeb)][_0x4ad6d1(0xff)],_0x449640=(_0x7d1013,_0x2f9fca)=>{const _0x1da5c4=_0x4ad6d1;let _0x21f172;_0x7d1013[_0x1da5c4(0xf1)]&&!_0x7d1013[_0x1da5c4(0xea)]?_0x21f172=_0x7d1013[_0x1da5c4(0xf1)]:_0x21f172=[..._0x2f9fca,_0x7d1013]['reduce']((_0x1446bb,_0x14f39a)=>_0x1446bb+'/'+_0x14f39a[_0x1da5c4(0x10d)],'')[_0x1da5c4(0x105)]('//','/'),_0x7d1013['meta']||={},_0x7d1013[_0x1da5c4(0xfd)][_0x1da5c4(0xeb)]===![]?_0x7d1013[_0x1da5c4(0xef)]?.['forEach'](_0x5b20e3=>{const _0x2bb756=_0x1da5c4;_0x5b20e3[_0x2bb756(0xfd)]||={},_0x5b20e3[_0x2bb756(0xfd)]['acl']||=![],_0x449640(_0x5b20e3,[..._0x2f9fca,_0x7d1013]);}):(_0x7d1013[_0x1da5c4(0xfd)][_0x1da5c4(0x104)]=_0x7d1013[_0x1da5c4(0xfd)][_0x1da5c4(0xee)],parent&&(_0x7d1013[_0x1da5c4(0xfd)][_0x1da5c4(0xee)]==null&&(_0x7d1013['meta'][_0x1da5c4(0xee)]??=parent['meta']?.[_0x1da5c4(0xee)],_0x7d1013[_0x1da5c4(0xfd)]={..._0x7d1013[_0x1da5c4(0xfd)]}),_0x7d1013['meta']['visitable']==null&&(_0x7d1013['meta']['visitable']??=parent[_0x1da5c4(0xfd)]?.[_0x1da5c4(0xed)],_0x7d1013[_0x1da5c4(0xfd)]={..._0x7d1013['meta']})),_0x7d1013[_0x1da5c4(0xef)]?.[_0x1da5c4(0x106)](_0x5952c0=>_0x449640(_0x5952c0,[..._0x2f9fca,_0x7d1013])),_0x7d1013[_0x1da5c4(0xfd)]['hidden']!==![]&&_0x7d1013[_0x1da5c4(0xfd)]['_hidden']!==!![]&&(_0x7d1013['meta']['hidden']=!_0x2ae8da[_0x1da5c4(0xe9)](_0x21f172),_0x7d1013[_0x1da5c4(0xef)]?.[_0x1da5c4(0xfe)](_0x495c44=>_0x495c44['meta'][_0x1da5c4(0xee)]===![])&&(_0x7d1013[_0x1da5c4(0xfd)][_0x1da5c4(0xee)]=![])));};_0x4fdd25[_0x4ad6d1(0x106)](_0x500386=>_0x449640(_0x500386,[]));},{'immediate':!![]});});};export default{'check404':check404,'setTitle':setTitle,'checkRolesPages':checkRolesPages};
|
package/packages/utils/model.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a91_0x369af0=a91_0x25e2;(function(_0x1faf25,_0xb5105a){const _0xeb2f1d=a91_0x25e2,_0x2fa0b0=_0x1faf25();while(!![]){try{const _0x1da473=-parseInt(_0xeb2f1d(0x14f))/0x1+parseInt(_0xeb2f1d(0x153))/0x2*(parseInt(_0xeb2f1d(0x154))/0x3)+parseInt(_0xeb2f1d(0x150))/0x4*(-parseInt(_0xeb2f1d(0x155))/0x5)+-parseInt(_0xeb2f1d(0x14d))/0x6*(-parseInt(_0xeb2f1d(0x149))/0x7)+-parseInt(_0xeb2f1d(0x151))/0x8*(parseInt(_0xeb2f1d(0x14b))/0x9)+parseInt(_0xeb2f1d(0x14e))/0xa+-parseInt(_0xeb2f1d(0x14c))/0xb*(-parseInt(_0xeb2f1d(0x14a))/0xc);if(_0x1da473===_0xb5105a)break;else _0x2fa0b0['push'](_0x2fa0b0['shift']());}catch(_0x1f1a42){_0x2fa0b0['push'](_0x2fa0b0['shift']());}}}(a91_0x5469,0xc9994));export const baseForm=()=>({'loading':![],'form':{},'initialForm':{},'formItems':[],'formRef':null,'formRules':{},'initialFormRules':{},'_isBaseForm':!![],'viewonly':![]});function a91_0x25e2(_0x4cc6e7,_0x52b837){const _0x546907=a91_0x5469();return a91_0x25e2=function(_0x25e2e9,_0x13e186){_0x25e2e9=_0x25e2e9-0x149;let _0x1e5945=_0x546907[_0x25e2e9];return _0x1e5945;},a91_0x25e2(_0x4cc6e7,_0x52b837);}function a91_0x5469(){const _0x5a26ea=['9gMosXm','8426vBGEkP','12270juVcNF','6299660wczcth','1176421ZTyJxl','4372fqLFaX','9975344VKucBU','_index','2445790EHwVqA','3tfSbWT','1895OdQwcn','5075FyOHks','5136gQLQAE'];a91_0x5469=function(){return _0x5a26ea;};return a91_0x5469();}export const baseTable=(_0x3f2cfe={})=>({'loading':![],'query':{'page':0x1,'limit':0xa,'order':[],..._0x3f2cfe},'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_0x369af0(0x152)}],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_0x5f230a=a92_0x514d;(function(_0x158495,_0x2fa51c){const _0x4ce0a4=a92_0x514d,_0xdb1db7=_0x158495();while(!![]){try{const _0x4432f6=-parseInt(_0x4ce0a4(0x11f))/0x1*(-parseInt(_0x4ce0a4(0x11b))/0x2)+-parseInt(_0x4ce0a4(0x11c))/0x3+parseInt(_0x4ce0a4(0x121))/0x4+parseInt(_0x4ce0a4(0x151))/0x5+parseInt(_0x4ce0a4(0x130))/0x6+-parseInt(_0x4ce0a4(0x14f))/0x7+-parseInt(_0x4ce0a4(0x13f))/0x8;if(_0x4432f6===_0x2fa51c)break;else _0xdb1db7['push'](_0xdb1db7['shift']());}catch(_0x53a95e){_0xdb1db7['push'](_0xdb1db7['shift']());}}}(a92_0x5016,0x31188));function a92_0x514d(_0x37282f,_0x56d84a){const _0x5016d2=a92_0x5016();return a92_0x514d=function(_0x514d91,_0x26b6db){_0x514d91=_0x514d91-0x111;let _0x149278=_0x5016d2[_0x514d91];return _0x149278;},a92_0x514d(_0x37282f,_0x56d84a);}import{watch}from'vue';const {funcs}=StardustJs;export const initFields=_0x29e804=>{const _0x351bf9=a92_0x514d;return _0x29e804[_0x351bf9(0x11a)](_0x468c35=>{const _0x4ca6b5=_0x351bf9,_0x22774f=Object[_0x4ca6b5(0x141)](_0x468c35);for(let _0x392ce of _0x22774f){if(_0x392ce['startsWith'](_0x4ca6b5(0x12d)))_0x468c35[_0x4ca6b5(0x115)]??={},_0x468c35[_0x4ca6b5(0x115)][_0x392ce[_0x4ca6b5(0x158)](0x3)]=_0x468c35[_0x392ce],delete _0x468c35[_0x392ce];else _0x392ce['startsWith'](_0x4ca6b5(0x149))&&(_0x468c35[_0x4ca6b5(0x13b)]??={},_0x468c35['formAttrs'][_0x392ce['slice'](0x3)]=_0x468c35[_0x392ce],delete _0x468c35[_0x392ce]);}if(_0x468c35[_0x4ca6b5(0x129)]===_0x4ca6b5(0x14a))_0x468c35[_0x4ca6b5(0x13b)]??={},_0x468c35['formAttrs']['value-format']??=_0x4ca6b5(0x11d);else _0x468c35[_0x4ca6b5(0x129)]===_0x4ca6b5(0x12b)&&(_0x468c35['formAttrs']??={},_0x468c35['formAttrs'][_0x4ca6b5(0x144)]??=_0x4ca6b5(0x156));return _0x468c35['xs']??=0x18,_0x468c35;});};export const initModel=(_0x51fee2,_0x4a98c1)=>{const _0x7ebdeb=a92_0x514d;for(let _0x3975a4 in _0x51fee2){const _0x23276c=_0x51fee2[_0x3975a4];if(!_0x23276c||typeof _0x23276c!==_0x7ebdeb(0x14d))continue;_0x3975a4===_0x7ebdeb(0x148)&&_0x51fee2[_0x3975a4][_0x7ebdeb(0x123)]&&initTable(_0x23276c,_0x4a98c1),_0x3975a4===_0x7ebdeb(0x137)&&_0x51fee2[_0x3975a4][_0x7ebdeb(0x138)]&&initDialog(_0x23276c,_0x4a98c1),_0x3975a4===_0x7ebdeb(0x127)&&_0x51fee2[_0x3975a4]['_isBaseForm']&&initForm(_0x23276c,_0x4a98c1);}return _0x51fee2;};export const initTable=(_0x19efa7,_0x9ae2b)=>{const _0x55c9ef=a92_0x514d;return _0x19efa7[_0x55c9ef(0x14b)]['push'](..._0x9ae2b[_0x55c9ef(0x128)](_0x1f3370=>{const _0x43314c=_0x55c9ef;return _0x1f3370['visible']===![]?_0x1f3370[_0x43314c(0x157)]:_0x1f3370[_0x43314c(0x157)]!==![];})),_0x19efa7;};export const initDialog=(_0x1628d0,_0x4abfbc)=>{const _0x8f5add=a92_0x514d;return _0x1628d0[_0x8f5add(0x122)]=_0x4abfbc[_0x8f5add(0x128)](_0x15533f=>{const _0x3fe8a6=_0x8f5add;if(_0x15533f[_0x3fe8a6(0x13c)]===![])return _0x15533f[_0x3fe8a6(0x147)]||_0x15533f[_0x3fe8a6(0x12c)];return _0x15533f[_0x3fe8a6(0x147)]!==![]||_0x15533f[_0x3fe8a6(0x12c)]!==![];}),initForm(_0x1628d0,_0x4abfbc),_0x1628d0;};export const initForm=(_0x54d1e4,_0x54586c)=>{const _0x49f14e=a92_0x514d;_0x54d1e4['_isBaseForm']&&!_0x54d1e4[_0x49f14e(0x138)]&&(_0x54d1e4[_0x49f14e(0x122)]=_0x54586c[_0x49f14e(0x128)](_0x2ed1c4=>_0x2ed1c4[_0x49f14e(0x13c)]!==![]));initDefaultForm(_0x54d1e4[_0x49f14e(0x127)],_0x54d1e4[_0x49f14e(0x122)]),_0x54d1e4['initialForm']=funcs[_0x49f14e(0x131)](_0x54d1e4[_0x49f14e(0x127)]),_0x54d1e4['initialFormRules']=funcs[_0x49f14e(0x131)](_0x54d1e4['formRules']);const _0x21204e=()=>{initFormRules(_0x54d1e4);};return watch(()=>_0x54d1e4[_0x49f14e(0x122)],_0x21204e,{'immediate':!![],'deep':!![]}),_0x54d1e4;};function a92_0x5016(){const _0x2ae9a8=['deepCopy','asyncValidator','datetimerange','onChange','forEach','split','dialog','_isBaseDialog','change','push','formAttrs','visible','virtual','XCheckboxs','4123352squCcT','ElInputNumber','keys','daterange','startsWith','value-format','trim','ElDatePicker','canAdd','table','fa_','date','columns','formRules','object','mobile','721084PVuSOo','x-checkboxs','1426570bNjkTA','endsWith','ElSwitch','required','includes','YYYY-MM-DD\x20HH:mm:ss','canView','slice','options','some','label','validator','tableAttrs','match','prop','blur','monthrange','map','607966EIpoFs','296211MNFJHV','YYYY-MM-DD','assign','1Xvkhyy','hasOwnProperty','623364WEYJDQ','formItems','_isBaseTable','start-placeholder','string','comp','form','filter','type','number','datetime','canEdit','ta_','platform','end-placeholder','1038756gPXrJQ'];a92_0x5016=function(){return _0x2ae9a8;};return a92_0x5016();}export const initFormRules=_0x2a0406=>{const _0x1730de=a92_0x514d,{formItems:_0x520ff8,initialFormRules:_0x494eec}=_0x2a0406;Object['assign'](_0x2a0406['formRules'],funcs[_0x1730de(0x131)](_0x494eec)),Object[_0x1730de(0x141)](_0x2a0406[_0x1730de(0x14c)])['forEach'](_0x2c3929=>{const _0x7a450=_0x1730de;!_0x494eec[_0x7a450(0x120)](_0x2c3929)&&delete _0x2a0406[_0x7a450(0x14c)][_0x2c3929];});const _0x6427ca={};return _0x520ff8['forEach'](_0x2b10bf=>{const _0x3f5cd7=_0x1730de;if(_0x2a0406[_0x3f5cd7(0x14c)][_0x2b10bf[_0x3f5cd7(0x117)]])return;if(!_0x2b10bf[_0x3f5cd7(0x154)]&&!_0x2b10bf[_0x3f5cd7(0x114)]&&!_0x2b10bf['asyncValidator'])return;const _0x2f4f01=_0x2b10bf['platform']||_0x2a0406[_0x3f5cd7(0x12e)]||(window['isMobile']?_0x3f5cd7(0x14e):'pc'),_0x37c42b=triggers[_0x2f4f01],_0x367f0e=[],_0x278d1d=_0x3f5cd7(0x111)in _0x2b10bf,_0x1d708c='请'+(_0x2b10bf[_0x3f5cd7(0x114)]||_0x2b10bf[_0x3f5cd7(0x132)]?'正确':'')+(_0x278d1d?'选择':'输入')+(_0x2b10bf?.[_0x3f5cd7(0x113)]||_0x2b10bf[_0x3f5cd7(0x117)]),_0x43302f={'required':!![],'message':_0x1d708c};if(_0x2b10bf[_0x3f5cd7(0x114)])_0x43302f[_0x3f5cd7(0x114)]=(_0x291697,_0x507043)=>{const _0x4f671a=_0x3f5cd7;return _0x2f4f01==='pc'?_0x2b10bf[_0x4f671a(0x114)](_0x291697,_0x507043):_0x2b10bf[_0x4f671a(0x114)](_0x507043,_0x291697);};if(_0x2b10bf[_0x3f5cd7(0x132)])_0x43302f[_0x3f5cd7(0x132)]=(_0x20d344,_0x2dd0ac)=>{const _0x148bee=_0x3f5cd7;return _0x2f4f01==='pc'?_0x2b10bf['asyncValidator'](_0x20d344,_0x2dd0ac):_0x2b10bf[_0x148bee(0x132)](_0x2dd0ac,_0x20d344);};!_0x2b10bf[_0x3f5cd7(0x126)]?_0x367f0e['push']({..._0x43302f,'trigger':_0x37c42b[_0x3f5cd7(0x118)]}):_0x367f0e[_0x3f5cd7(0x13a)]({..._0x43302f,'trigger':_0x37c42b[_0x3f5cd7(0x139)]}),_0x2b10bf['comp']==='ElInputNumber'&&_0x367f0e[_0x3f5cd7(0x13a)]({..._0x43302f,'trigger':_0x37c42b[_0x3f5cd7(0x118)]}),_0x6427ca[_0x2b10bf['prop']]=_0x367f0e;}),Object[_0x1730de(0x11e)](_0x2a0406[_0x1730de(0x14c)],_0x6427ca),_0x2a0406[_0x1730de(0x14c)];};export const initDefaultForm=(_0x14d940,_0x43b8ea,_0x52dc4f=!![])=>{const _0x16d205=a92_0x514d,_0x40c3ab={};return _0x43b8ea[_0x16d205(0x135)](_0x38a050=>{const _0x35c801=_0x16d205;if(!_0x38a050['prop']||_0x38a050[_0x35c801(0x13d)])return;let _0x3496c4='';const {type:_0x1c40ef,options:_0x196f06}=_0x38a050,{multiple:_0x4a9e5a}=_0x38a050[_0x35c801(0x13b)]||{};if(_0x52dc4f&&_0x1c40ef===_0x35c801(0x12a)||_0x38a050[_0x35c801(0x126)]===_0x35c801(0x140))_0x3496c4=null;else{if(_0x38a050[_0x35c801(0x126)]===_0x35c801(0x153))_0x3496c4=![];else{if(_0x196f06&&(_0x38a050['comp']?.[_0x35c801(0x152)](_0x35c801(0x13e))||_0x38a050[_0x35c801(0x126)]?.[_0x35c801(0x152)](_0x35c801(0x150))||_0x4a9e5a))_0x3496c4=[];else{if(_0x38a050['comp']===_0x35c801(0x146)&&[_0x35c801(0x133),_0x35c801(0x142),_0x35c801(0x119)][_0x35c801(0x155)](_0x38a050[_0x35c801(0x129)])){const _0x427e11={'datetimerange':'时间','daterange':'日期','monthrange':'月份'}[_0x38a050[_0x35c801(0x129)]];!_0x38a050[_0x35c801(0x124)]&&(_0x38a050[_0x35c801(0x124)]='开始'+_0x427e11),!_0x38a050[_0x35c801(0x12f)]&&(_0x38a050[_0x35c801(0x12f)]='结束'+_0x427e11),_0x3496c4=[];}}}}_0x40c3ab[_0x38a050[_0x35c801(0x117)]]=_0x3496c4;}),Object[_0x16d205(0x11e)](_0x14d940,{..._0x40c3ab,..._0x14d940}),_0x14d940;};export const isWhenMatched=(_0x2b0935,_0x5951e0)=>{const _0x12260c=a92_0x514d;if(!_0x2b0935)return!![];const _0xc22582=_0x2b0935[_0x12260c(0x136)](/\s?(&&|\|\|)\s?/g);if(_0xc22582[_0x12260c(0x155)]('&&')&&_0xc22582[_0x12260c(0x155)]('||'))throw'一个\x20when\x20表达式中仅支持\x20&&\x20模式或\x20||\x20模式';const _0x407f9d=_0xc22582[_0x12260c(0x155)]('&&'),_0x568996=/[\^\*\$\~\!]?=/,_0x1ec256=_0xc22582[_0x12260c(0x128)](_0x2f37a7=>_0x2f37a7!=='&&'&&_0x2f37a7!=='||');return _0x1ec256[_0x407f9d?'every':_0x12260c(0x112)](_0x1d6045=>{const _0x5ed6a5=_0x12260c;let [_0x1fe7ee,_0xa35bf9]=_0x1d6045[_0x5ed6a5(0x136)](_0x568996);_0xa35bf9=_0xa35bf9[_0x5ed6a5(0x136)]('|');let _0x3d2735=_0x5951e0[_0x1fe7ee];if(typeof _0x3d2735===_0x5ed6a5(0x12a))_0x3d2735+='';else{if(typeof _0x3d2735===_0x5ed6a5(0x125))_0x3d2735=_0x3d2735[_0x5ed6a5(0x145)]();}const _0x1fe505=_0x1d6045[_0x5ed6a5(0x116)](_0x568996)[0x0];if(_0x1fe505==='!=')return!_0xa35bf9[_0x5ed6a5(0x155)](_0x3d2735);return _0xa35bf9[_0x5ed6a5(0x112)](_0x27c448=>{const _0x2fb760=_0x5ed6a5;if(_0x1fe505==='^=')return _0x3d2735?.[_0x2fb760(0x143)](_0x27c448);else{if(_0x1fe505==='*=')return _0x3d2735?.[_0x2fb760(0x155)](_0x27c448);else{if(_0x1fe505==='$=')return _0x3d2735?.[_0x2fb760(0x152)](_0x27c448);else{if(_0x1fe505==='~=')return!_0x3d2735?.[_0x2fb760(0x155)](_0x27c448);else{if(_0x1fe505==='!=')return _0x3d2735!==_0x27c448;}}}}return _0x27c448===_0x3d2735;});});};export const triggers={'mobile':{'blur':'onBlur','change':a92_0x5f230a(0x134)},'pc':{'blur':a92_0x5f230a(0x118),'change':a92_0x5f230a(0x139)}};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(_0x1d5bf1,_0x3ced94){const _0x97a369=a93_0x2039,_0x1f8f4b=_0x1d5bf1();while(!![]){try{const _0x541c86=-parseInt(_0x97a369(0x14b))/0x1*(parseInt(_0x97a369(0x129))/0x2)+parseInt(_0x97a369(0x132))/0x3+parseInt(_0x97a369(0x125))/0x4+parseInt(_0x97a369(0x128))/0x5+parseInt(_0x97a369(0x126))/0x6+parseInt(_0x97a369(0x136))/0x7*(-parseInt(_0x97a369(0x143))/0x8)+parseInt(_0x97a369(0x151))/0x9*(-parseInt(_0x97a369(0x13d))/0xa);if(_0x541c86===_0x3ced94)break;else _0x1f8f4b['push'](_0x1f8f4b['shift']());}catch(_0x3b7b0d){_0x1f8f4b['push'](_0x1f8f4b['shift']());}}}(a93_0x4639,0xbaa7b));function a93_0x2039(_0x3aabdf,_0x1f0fe5){const _0x4639f8=a93_0x4639();return a93_0x2039=function(_0x20398d,_0x37f1aa){_0x20398d=_0x20398d-0x124;let _0x36323a=_0x4639f8[_0x20398d];return _0x36323a;},a93_0x2039(_0x3aabdf,_0x1f0fe5);}function a93_0x4639(){const _0x4b63de=['url','code','user','46120OzFbpN','config','未知错误','indexOf','dates','resolve','funcs','hash','75850ADSVfa','/login','href','Authorization','application/json','token','27aZYRjg','query','includes','8796fFHYhi','6812244GNNMDr','stringify','1202405bOCVEL','2SVBmGy','toString','convertIsoDates','data','parse','Content-Type','redirectTo','setExpired','body','2656557FWKxcK','now','headers','params','1477DIaoFY','reject','err','content-type','/login?redirectTo=','refresh-token','split','689230qIllgw','encrypt','slice'];a93_0x4639=function(){return _0x4b63de;};return a93_0x4639();}import{Message}from'./message.js';const requestUse=(_0x470c4f,_0x1cce99,_0x52bee2,_0x45ebeb,_0x2c15eb)=>{const _0xb9b920=a93_0x2039;_0x2c15eb[_0xb9b920(0x134)][_0xb9b920(0x14e)]||=_0x52bee2['user']['token'];const _0x152c8d=_0x470c4f[_0xb9b920(0x144)]['globalProperties']['httpEncrypt'];if(_0x152c8d!==![]){_0x2c15eb[_0xb9b920(0x134)]['Http-Encrypt']=_0x152c8d;const _0x38b92d=_0x2c15eb[_0xb9b920(0x12c)]instanceof FormData;!_0x38b92d&&(_0x2c15eb[_0xb9b920(0x134)][_0xb9b920(0x12e)]||='application/json;\x20charset=UTF-8');if(_0x2c15eb[_0xb9b920(0x140)][_0xb9b920(0x146)]('?')>=0x0){const [_0x4119cf,..._0x192f83]=_0x2c15eb[_0xb9b920(0x140)][_0xb9b920(0x13c)]('?'),_0x3ead0e=_0x1cce99[_0xb9b920(0x13e)][_0x152c8d](_0x192f83['join']('?'),_0xb9b920(0x152));_0x2c15eb['url']=_0x4119cf+'?'+_0x3ead0e;}else _0x2c15eb[_0xb9b920(0x135)]||={'__placeholder__':Date[_0xb9b920(0x133)]()['toString'](0x10)};if(_0x2c15eb[_0xb9b920(0x135)]){const _0x59e363=decodeURIComponent(new URLSearchParams(_0x2c15eb[_0xb9b920(0x135)])[_0xb9b920(0x12a)]());_0x2c15eb['url']+='?'+_0x1cce99[_0xb9b920(0x13e)][_0x152c8d](_0x59e363,_0xb9b920(0x152)),delete _0x2c15eb['params'];}if(_0x2c15eb['data']!==undefined&&!_0x38b92d){const _0x14d7bf=_0x1cce99[_0xb9b920(0x13e)][_0x152c8d](JSON[_0xb9b920(0x127)](_0x2c15eb['data']),_0xb9b920(0x131));_0x2c15eb[_0xb9b920(0x12c)]=_0x14d7bf;}}return _0x2c15eb;},responseUse=(_0xe125e2,_0x55ba9f,_0xeaf64c,_0x11159d,_0x8d6865)=>{const _0x11779a=a93_0x2039;if([0x191,0x192,0x2711][_0x11779a(0x124)](_0x8d6865[_0x11779a(0x12c)][_0x11779a(0x141)])){_0xeaf64c['user'][_0x11779a(0x130)]();const _0x6659a0='/'+location[_0x11779a(0x14a)][_0x11779a(0x13f)](0x2)[_0x11779a(0x13c)]('?')[0x0],_0x13f45d=StardustJs[_0x11779a(0x149)]['decodeQuery'](location[_0x11779a(0x14d)][_0x11779a(0x13c)]('?')[0x1]||'');return _0x11159d['replace'](_0x13f45d[_0x11779a(0x12f)]?_0x11779a(0x13a)+(_0x13f45d[_0x11779a(0x12f)]||_0x6659a0):_0x11779a(0x14c)),Promise[_0x11779a(0x137)](_0x8d6865);}else{if([0x2712][_0x11779a(0x124)](_0x8d6865[_0x11779a(0x12c)][_0x11779a(0x141)]))return Message['e'](_0x8d6865[_0x11779a(0x12c)]['err']),Promise[_0x11779a(0x137)](_0x8d6865);}const _0x1ca3ad=_0x8d6865[_0x11779a(0x134)][_0x11779a(0x13b)]||_0x8d6865[_0x11779a(0x12c)][_0x11779a(0x150)];_0x1ca3ad&&_0xeaf64c[_0x11779a(0x142)]['setToken'](_0x1ca3ad);if(_0x8d6865[_0x11779a(0x12c)][_0x11779a(0x138)])return Message['e'](_0x8d6865[_0x11779a(0x12c)][_0x11779a(0x138)]||_0x11779a(0x145)),Promise['reject'](_0x8d6865);return _0x8d6865['headers'][_0x11779a(0x139)]?.[_0x11779a(0x124)](_0x11779a(0x14f))&&(_0x8d6865[_0x11779a(0x12c)]=JSON[_0x11779a(0x12d)](StardustJs[_0x11779a(0x147)][_0x11779a(0x12b)](JSON[_0x11779a(0x127)](_0x8d6865[_0x11779a(0x12c)])))),Promise[_0x11779a(0x148)](_0x8d6865[_0x11779a(0x12c)]);};export{requestUse,responseUse};
|
package/packages/utils/site.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a94_0x2f8f25=a94_0xde39;function a94_0xde39(_0x1a5ecb,_0x9defc5){const _0x2822b8=a94_0x2822();return a94_0xde39=function(_0xde3980,_0x327438){_0xde3980=_0xde3980-0x15a;let _0x5f1190=_0x2822b8[_0xde3980];return _0x5f1190;},a94_0xde39(_0x1a5ecb,_0x9defc5);}(function(_0x5b7daa,_0x5238d3){const _0x1dbb07=a94_0xde39,_0x74a282=_0x5b7daa();while(!![]){try{const _0x14e81e=parseInt(_0x1dbb07(0x160))/0x1+parseInt(_0x1dbb07(0x16b))/0x2*(-parseInt(_0x1dbb07(0x16e))/0x3)+parseInt(_0x1dbb07(0x15f))/0x4*(parseInt(_0x1dbb07(0x165))/0x5)+-parseInt(_0x1dbb07(0x15a))/0x6*(parseInt(_0x1dbb07(0x161))/0x7)+parseInt(_0x1dbb07(0x15b))/0x8+parseInt(_0x1dbb07(0x16f))/0x9*(-parseInt(_0x1dbb07(0x15c))/0xa)+-parseInt(_0x1dbb07(0x15d))/0xb*(-parseInt(_0x1dbb07(0x162))/0xc);if(_0x14e81e===_0x5238d3)break;else _0x74a282['push'](_0x74a282['shift']());}catch(_0x470576){_0x74a282['push'](_0x74a282['shift']());}}}(a94_0x2822,0x28b56));export const createWatermark=({text:_0x309784,gap:_0x11ee7e,fontSize:_0x3928a7,color:_0x7a4d15,width:width=window[a94_0x2f8f25(0x16a)],height:height=window[a94_0x2f8f25(0x168)],drawMode:drawMode='fill'})=>{const _0x58e327=a94_0x2f8f25,_0x36aea8=document[_0x58e327(0x16c)](_0x58e327(0x164));_0x36aea8[_0x58e327(0x163)]=width,_0x36aea8[_0x58e327(0x169)]=height;const _0x6b0d83=_0x36aea8[_0x58e327(0x167)]('2d');_0x6b0d83[_0x58e327(0x16d)]=_0x3928a7+_0x58e327(0x170),_0x6b0d83[drawMode+_0x58e327(0x15e)]=_0x7a4d15;const _0x4c5f73=_0x6b0d83[_0x58e327(0x166)](_0x309784)[_0x58e327(0x163)],_0x1bd5e6=_0x4c5f73+_0x11ee7e,_0x226504=_0x3928a7+_0x11ee7e;for(let _0x116be7=_0x11ee7e/0x2;_0x116be7<height;_0x116be7+=_0x226504){for(let _0x10e4b4=_0x11ee7e/0x2;_0x10e4b4<width;_0x10e4b4+=_0x1bd5e6){_0x6b0d83[drawMode+'Text'](_0x309784,_0x10e4b4,_0x116be7);}}return _0x36aea8;};function a94_0x2822(){const _0x34f773=['64392iYwSAF','64976pKQTiX','133IUhDso','659868tegcTL','width','canvas','80yjfELQ','measureText','getContext','innerHeight','height','innerWidth','92122xAPBdY','createElement','font','3vHDjvQ','666TQrJZT','px\x20Arial','21420zpjWPu','150632MdcZeM','23070MjyMLD','22zGYQiX','Style'];a94_0x2822=function(){return _0x34f773;};return a94_0x2822();}export default{'createWatermark':createWatermark};
|
package/packages/vite-plugins.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a95_0x3531(){const _0x3cb21a=['30508467dyEEcp','2543080PSwNpM','3895194FmMDHQ','includes','import\x20makeModel\x20','import\x20makeController\x20','-scoped.scss','import\x20makeController\x20from\x20\x27./controller.js\x27','DbName','_ctx\x20=\x20wrapCtx(_ctx,\x20null,\x20filterPrivateFields(controller))','1fWXrnR','_ctx\x20=\x20wrapCtx(_ctx,\x20filterPrivateFields(model))','splice','2025086UBNLiJ','push','no\x20controller','76hdhDdr','import\x20makeModel\x20from\x20\x27./model.js\x27','<script\x20setup>\x0a','.scss',',\x20\x27','/src/','.vue','4398104mjWDfI','.js','startsWith','toLowerCase','@use\x20\x22./','import\x20model','forEach','10QTyhUw','model.js','return\x20{\x20...__returned__,\x20...filterPrivateFields(model)\x20}','import\x20controller','.scss\x22;','basename','7EsPOFs','matchAll','2134836zBNlpL','<script\x20setup>','\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','\x27)\x0a','instantiateTables','dirname','replace','-scoped.scss\x22;','\x20=\x20new\x20Table(','existsSync','Object','join','const\x20model','map','no\x20model','split','const\x20controller','51321RFyVqN','const\x20controller\x20=\x20makeController({\x20','</style>','filter','controller.js','const\x20','vue\x20})','slice'];a95_0x3531=function(){return _0x3cb21a;};return a95_0x3531();}const a95_0x54073f=a95_0x58e8;(function(_0x91a8b9,_0x5befe6){const _0x383db2=a95_0x58e8,_0x2d4502=_0x91a8b9();while(!![]){try{const _0x36ec93=parseInt(_0x383db2(0xcb))/0x1*(-parseInt(_0x383db2(0xce))/0x2)+parseInt(_0x383db2(0xb9))/0x3*(-parseInt(_0x383db2(0xd1))/0x4)+-parseInt(_0x383db2(0xc2))/0x5+parseInt(_0x383db2(0xc3))/0x6*(-parseInt(_0x383db2(0xe5))/0x7)+parseInt(_0x383db2(0xd8))/0x8+-parseInt(_0x383db2(0xe7))/0x9*(parseInt(_0x383db2(0xdf))/0xa)+parseInt(_0x383db2(0xc1))/0xb;if(_0x36ec93===_0x5befe6)break;else _0x2d4502['push'](_0x2d4502['shift']());}catch(_0x26ec35){_0x2d4502['push'](_0x2d4502['shift']());}}}(a95_0x3531,0x90349));import a95_0x3cd1c4 from'node:fs';import a95_0x4d3b7c from'node:path';function a95_0x58e8(_0x52001a,_0x2e3bee){const _0x3531f8=a95_0x3531();return a95_0x58e8=function(_0x58e855,_0x13c3e4){_0x58e855=_0x58e855-0xac;let _0x2ea35e=_0x3531f8[_0x58e855];return _0x2ea35e;},a95_0x58e8(_0x52001a,_0x2e3bee);}const filterPrivateFields=a95_0x54073f(0xe9),inject=(_0x1c1fb2,_0x531174)=>{const _0x3b5ed9=a95_0x54073f,_0x56598a=a95_0x4d3b7c[_0x3b5ed9(0xad)](_0x531174),_0x25a05a=a95_0x4d3b7c['basename'](_0x531174),_0x22ff11=_0x25a05a[_0x3b5ed9(0xb7)]('.')[0x0],_0x4a9e0b=a95_0x3cd1c4[_0x3b5ed9(0xb1)](a95_0x4d3b7c[_0x3b5ed9(0xb3)](_0x56598a,_0x22ff11+_0x3b5ed9(0xc7))),_0x387920=a95_0x3cd1c4[_0x3b5ed9(0xb1)](a95_0x4d3b7c[_0x3b5ed9(0xb3)](_0x56598a,_0x22ff11+_0x3b5ed9(0xd4))),_0xd5a1b0=a95_0x3cd1c4[_0x3b5ed9(0xb1)](a95_0x4d3b7c[_0x3b5ed9(0xb3)](_0x56598a,_0x3b5ed9(0xe0))),_0x4517c3=a95_0x3cd1c4[_0x3b5ed9(0xb1)](a95_0x4d3b7c[_0x3b5ed9(0xb3)](_0x56598a,_0x3b5ed9(0xbd))),_0x445c1e=_0xd5a1b0&&!_0x1c1fb2['includes'](_0x3b5ed9(0xb6))&&!_0x1c1fb2[_0x3b5ed9(0xc4)](_0x3b5ed9(0xb4))&&!_0x1c1fb2[_0x3b5ed9(0xc4)](_0x3b5ed9(0xdd)),_0x1df107=_0x4517c3&&!_0x1c1fb2[_0x3b5ed9(0xc4)](_0x3b5ed9(0xd0))&&!_0x1c1fb2[_0x3b5ed9(0xc4)](_0x3b5ed9(0xb8))&&!_0x1c1fb2[_0x3b5ed9(0xc4)](_0x3b5ed9(0xe2));if(_0x531174[_0x3b5ed9(0xc4)]('/src/')&&_0x25a05a['includes'](_0x3b5ed9(0xd7))&&_0x1c1fb2[_0x3b5ed9(0xda)](_0x3b5ed9(0xe8))){_0x1c1fb2=_0x1c1fb2[_0x3b5ed9(0xae)]('<script\x20setup>',_0x3b5ed9(0xd3));const _0x395025=_0x1c1fb2[_0x3b5ed9(0xb7)]('\x0a');_0x4a9e0b&&_0x395025[_0x3b5ed9(0xcf)](...['<style\x20lang=\x22scss\x22\x20scoped>',_0x3b5ed9(0xdc)+_0x22ff11+_0x3b5ed9(0xaf),_0x3b5ed9(0xbb)]),_0x387920&&_0x395025['push'](...['<style\x20lang=\x22scss\x22>',_0x3b5ed9(0xdc)+_0x22ff11+_0x3b5ed9(0xe3),'</style>']),_0x1df107&&_0x395025[_0x3b5ed9(0xcd)](0x1,0x0,_0x3b5ed9(0xc8),_0x3b5ed9(0xba)+(_0x445c1e?'model,\x20':'')+_0x3b5ed9(0xbf)),_0x445c1e&&_0x395025['splice'](0x1,0x0,_0x3b5ed9(0xd2),'const\x20model\x20=\x20makeModel()'),_0x1c1fb2=_0x395025['join']('\x0a');}return _0x1c1fb2;},instantiateTables=(_0x46a4d5,_0x432f28)=>{const _0x47d602=a95_0x54073f,_0x41bb14=a95_0x4d3b7c['basename'](_0x432f28),_0x44b551=_0x41bb14[_0x47d602(0xc4)](_0x47d602(0xd7)),_0xe6e19b=_0x41bb14['includes'](_0x47d602(0xd9));if(_0x432f28[_0x47d602(0xc4)](_0x47d602(0xd6))&&(_0x44b551||_0xe6e19b)){const _0xaa7de3=_0x46a4d5[_0x47d602(0xb7)]('\x0a')['map'](_0x321862=>_0x321862['trim']())[_0x47d602(0xbc)](_0xcd1d9a=>!_0xcd1d9a['startsWith']('//'))[_0x47d602(0xb3)]('\x0a');let _0x7d0d1a=[...new Set([..._0xaa7de3[_0x47d602(0xe6)](/[^a-z][A-Z]\w+\.(search|add|update|remove|func|batch|get)/g)][_0x47d602(0xb5)](_0x13809f=>_0x13809f[0x0][_0x47d602(0xc0)](0x1)[_0x47d602(0xb7)]('.')[0x0]))];_0x7d0d1a=_0x7d0d1a[_0x47d602(0xbc)](_0x50c4a1=>![_0x47d602(0xb2)][_0x47d602(0xc4)](_0x50c4a1));if(_0x7d0d1a['length']){let _0x48e561='';_0x7d0d1a[_0x47d602(0xde)](_0x4c1de8=>{const _0xf4ff24=_0x47d602;let [_0x513870,_0x49e889]=_0x4c1de8[_0xf4ff24(0xb7)]('_')['map'](_0x35465e=>_0x35465e[_0xf4ff24(0xae)](/[A-Z]/g,_0x419cfd=>'_'+_0x419cfd[_0xf4ff24(0xdb)]())['slice'](0x1));_0x49e889?_0x513870='\x27'+_0x513870+'\x27':(_0x49e889=_0x513870,_0x513870=_0xf4ff24(0xc9)),_0x48e561+=_0xf4ff24(0xbe)+_0x4c1de8+_0xf4ff24(0xb0)+_0x513870+_0xf4ff24(0xd5)+_0x49e889+_0xf4ff24(0xea);}),_0x44b551?_0x46a4d5=_0x46a4d5[_0x47d602(0xae)](_0x47d602(0xe8),_0x47d602(0xd3)+_0x48e561)[_0x47d602(0xae)]('<script>','<script>\x0a'+_0x48e561):_0x46a4d5=_0x48e561+_0x46a4d5;}}return _0x46a4d5;},deconstruct=(_0x296a9e,_0x436aa3)=>{const _0x1e1b56=a95_0x54073f,_0xe39a81=a95_0x4d3b7c[_0x1e1b56(0xe4)](_0x436aa3),_0x855d32=_0xe39a81[_0x1e1b56(0xc4)]('.vue');if(_0x436aa3[_0x1e1b56(0xc4)]('/src/')&&_0x855d32){const _0x54e1c9='return\x20__returned__',_0x372a79='return\x20(_ctx,\x20_cache)\x20=>\x20{',_0x50320a=_0x296a9e['includes'](_0x54e1c9),_0x2841d3=_0x296a9e[_0x1e1b56(0xc4)](_0x372a79),_0x477b4f=(_0x50320a||_0x2841d3)&&_0x296a9e['includes'](_0x1e1b56(0xc5)),_0x4f7763=(_0x50320a||_0x2841d3)&&_0x296a9e['includes'](_0x1e1b56(0xc6));if(_0x477b4f||_0x4f7763){let _0x27d936=filterPrivateFields;if(_0x50320a){if(_0x477b4f&&_0x4f7763)_0x27d936+='return\x20{\x20...__returned__,\x20...filterPrivateFields(model),\x20...filterPrivateFields(controller)\x20}';else{if(_0x477b4f)_0x27d936+=_0x1e1b56(0xe1);else _0x4f7763&&(_0x27d936+='return\x20{\x20...__returned__,\x20...filterPrivateFields(controller)\x20}');}}else{_0x27d936+=_0x372a79+'\x0a';if(_0x477b4f&&_0x4f7763)_0x27d936+='_ctx\x20=\x20wrapCtx(_ctx,\x20filterPrivateFields(model),\x20filterPrivateFields(controller))';else{if(_0x477b4f)_0x27d936+=_0x1e1b56(0xcc);else _0x4f7763&&(_0x27d936+=_0x1e1b56(0xca));}_0x27d936+='\x0a';}_0x296a9e=_0x296a9e[_0x1e1b56(0xae)](_0x50320a?_0x54e1c9:_0x372a79,_0x27d936);}}return _0x296a9e;};export const autoInject=(_0x3d4cd4={})=>{return{'name':'auto-inject','transform'(_0x2fe4b4,_0x3c819c){const _0x54ba8a=a95_0x58e8;return _0x2fe4b4=inject(_0x2fe4b4,_0x3c819c),_0x3d4cd4[_0x54ba8a(0xac)]!==![]&&(_0x2fe4b4=instantiateTables(_0x2fe4b4,_0x3c819c)),{'code':_0x2fe4b4};}};};export const autoDeconstruct=()=>{return{'name':'auto-deconstruct','transform'(_0x23898a,_0xdc6333){return{'code':deconstruct(_0x23898a,_0xdc6333)};}};};
|
package/src/main.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a96_0x58ff80=a96_0x4ffd;(function(_0xba669e,_0x5643b1){const _0x91f79c=a96_0x4ffd,_0x49ef23=_0xba669e();while(!![]){try{const _0x2fe5d0=parseInt(_0x91f79c(0x195))/0x1*(-parseInt(_0x91f79c(0x1a1))/0x2)+-parseInt(_0x91f79c(0x198))/0x3+-parseInt(_0x91f79c(0x1a0))/0x4*(-parseInt(_0x91f79c(0x19b))/0x5)+-parseInt(_0x91f79c(0x19d))/0x6*(parseInt(_0x91f79c(0x194))/0x7)+parseInt(_0x91f79c(0x196))/0x8+-parseInt(_0x91f79c(0x192))/0x9+parseInt(_0x91f79c(0x197))/0xa*(parseInt(_0x91f79c(0x19a))/0xb);if(_0x2fe5d0===_0x5643b1)break;else _0x49ef23['push'](_0x49ef23['shift']());}catch(_0x5c1a23){_0x49ef23['push'](_0x49ef23['shift']());}}}(a96_0x3bee,0xb2f41));function a96_0x4ffd(_0xd17e6d,_0x38f100){const _0x3beeb1=a96_0x3bee();return a96_0x4ffd=function(_0x4ffd9a,_0x3a03e3){_0x4ffd9a=_0x4ffd9a-0x190;let _0x5951bf=_0x3beeb1[_0x4ffd9a];return _0x5951bf;},a96_0x4ffd(_0xd17e6d,_0x38f100);}import{createApp}from'vue';import a96_0x35d17b from'element-plus';import a96_0x46656c from'vant';function a96_0x3bee(){const _0x56add4=['entries','4mcgOgS','2BdAEyo','use','directive','config','480528lnveYj','globalProperties','77kmwquo','918857DWIKbV','4794736YOQqpN','1003870bLjWGr','2375031SxyfyD','#app','253GclNYg','638545WOUGDf','mount','294018gHUiUh','assign'];a96_0x3bee=function(){return _0x56add4;};return a96_0x3bee();}import a96_0x574094 from'../packages/index.js';import'../packages/index.scss';import a96_0x58c062,{API_BASE_URL}from'./request.js';import a96_0x49b7b4 from'@/App.vue';const app=createApp(a96_0x49b7b4);app[a96_0x58ff80(0x190)]('domid',{'created'(_0x40f2de,_0x5e576c){}}),app[a96_0x58ff80(0x1a2)](a96_0x35d17b);for(const [key,component]of Object[a96_0x58ff80(0x19f)](ElementPlusIconsVue)){app['component'](key,component);}app[a96_0x58ff80(0x1a2)](a96_0x46656c),app[a96_0x58ff80(0x1a2)](a96_0x574094,{'ElementPlus':a96_0x35d17b,'Vant':a96_0x46656c}),Object[a96_0x58ff80(0x19e)](app[a96_0x58ff80(0x191)][a96_0x58ff80(0x193)],{'isMobile':window['isMobile'],'service':{'request':a96_0x58c062,'API_BASE_URL':API_BASE_URL},'$store':{'app':{'sidebarCollapse':![],'toggleDuration':0x0}}}),app[a96_0x58ff80(0x19c)](a96_0x58ff80(0x199));export default app;
|
package/src/request.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a97_0x57a0(_0x27c30d,_0x5cc19d){const _0x1ba410=a97_0x1ba4();return a97_0x57a0=function(_0x57a034,_0x1f9ad8){_0x57a034=_0x57a034-0x1d0;let _0x1e97b5=_0x1ba410[_0x57a034];return _0x1e97b5;},a97_0x57a0(_0x27c30d,_0x5cc19d);}function a97_0x1ba4(){const _0x19cbe3=['2516826urmKYE','application/json','response','GET','180eAOjrR','252490sALDJr','22454590yvZhVa','use','15044nNWEfl','includes','API_BASE_URL','env','POST','542816diCivz','stringify','interceptors','http','startsWith','string','body','toUpperCase','create','5AYGRdy','PUT','error','2296108iCMgrv','81lRrTXK','176838ECagCD'];a97_0x1ba4=function(){return _0x19cbe3;};return a97_0x1ba4();}const a97_0x15f714=a97_0x57a0;(function(_0x4a4c30,_0x162521){const _0x369f98=a97_0x57a0,_0x5c5005=_0x4a4c30();while(!![]){try{const _0x2ed491=parseInt(_0x369f98(0x1e0))/0x1+parseInt(_0x369f98(0x1e9))/0x2*(-parseInt(_0x369f98(0x1e5))/0x3)+-parseInt(_0x369f98(0x1de))/0x4*(parseInt(_0x369f98(0x1db))/0x5)+-parseInt(_0x369f98(0x1e1))/0x6+-parseInt(_0x369f98(0x1e6))/0x7+-parseInt(_0x369f98(0x1d2))/0x8*(parseInt(_0x369f98(0x1df))/0x9)+parseInt(_0x369f98(0x1e7))/0xa;if(_0x2ed491===_0x162521)break;else _0x5c5005['push'](_0x5c5005['shift']());}catch(_0x5104ca){_0x5c5005['push'](_0x5c5005['shift']());}}}(a97_0x1ba4,0x50bf5));const {PROD,VITE_DEV_BASE_URL,VITE_PROD_BASE_URL,VITE_TIMEOUT=0xea60}=import.meta[a97_0x15f714(0x1d0)],API_BASE_URL=window[a97_0x15f714(0x1eb)]||(PROD?VITE_PROD_BASE_URL:VITE_DEV_BASE_URL),createRequest=_0x230313=>{const _0x129834=a97_0x15f714,_0x495959=axios[_0x129834(0x1da)]({'baseURL':API_BASE_URL,'timeout':VITE_TIMEOUT*0x1,..._0x230313});return _0x495959['interceptors']['request'][_0x129834(0x1e8)](_0x98368d=>{return _0x98368d;},_0x2c037e=>{const _0x4043e4=_0x129834;console[_0x4043e4(0x1dd)](_0x2c037e);}),_0x495959[_0x129834(0x1d4)][_0x129834(0x1e3)]['use'](_0x54af75=>{return _0x54af75;},_0xa6acc8=>{const _0x232824=_0x129834;console[_0x232824(0x1dd)](_0xa6acc8);}),_0x495959;},fetchRequest=(_0x2424ba,_0x44ebb9={})=>{const _0x32a995=a97_0x15f714;_0x2424ba=_0x2424ba[_0x32a995(0x1d6)](_0x32a995(0x1d5))?_0x2424ba:API_BASE_URL+_0x2424ba;const {method:method=_0x32a995(0x1e4),headers:_0x516b87,body:_0x4bceca,..._0x1bae60}=_0x44ebb9,_0x34ee22={'method':method,..._0x1bae60,'headers':{'content-type':_0x32a995(0x1e2),..._0x516b87}};return[_0x32a995(0x1dc),_0x32a995(0x1d1)][_0x32a995(0x1ea)](method[_0x32a995(0x1d9)]())&&(_0x34ee22[_0x32a995(0x1d8)]=typeof _0x4bceca===_0x32a995(0x1d7)?_0x4bceca:JSON[_0x32a995(0x1d3)](_0x4bceca)),fetch(_0x2424ba,_0x34ee22);};export default createRequest();export{API_BASE_URL,createRequest,fetchRequest};
|
package/vite.config.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a98_0x28a2(){const _0x5caf20=['6017004AuFDqS','2878596dlPEvG','defaults','Vue','3554076gsmhZw','dist','943957psyavO','2023-11','node_modules','7sVHMTL','@babel/plugin-proposal-decorators','split','decorators','includes','9190tvQAAI','src','regenerator-runtime/runtime','cwd','2738454yWKrFI','40jIZiYt','node_modules/','300lntCLf','5438936SvxvGR','3cJoJhi','132dPqMZi'];a98_0x28a2=function(){return _0x5caf20;};return a98_0x28a2();}const a98_0x4bea78=a98_0x56cd;(function(_0x31d396,_0x1342ff){const _0x10688a=a98_0x56cd,_0x555289=_0x31d396();while(!![]){try{const _0x4924bb=-parseInt(_0x10688a(0xe2))/0x1+parseInt(_0x10688a(0xd5))/0x2*(-parseInt(_0x10688a(0xda))/0x3)+parseInt(_0x10688a(0xd8))/0x4*(-parseInt(_0x10688a(0xd1))/0x5)+-parseInt(_0x10688a(0xdc))/0x6+-parseInt(_0x10688a(0xcc))/0x7*(parseInt(_0x10688a(0xd9))/0x8)+-parseInt(_0x10688a(0xdd))/0x9*(-parseInt(_0x10688a(0xd6))/0xa)+-parseInt(_0x10688a(0xdb))/0xb*(-parseInt(_0x10688a(0xe0))/0xc);if(_0x4924bb===_0x1342ff)break;else _0x555289['push'](_0x555289['shift']());}catch(_0x233275){_0x555289['push'](_0x555289['shift']());}}}(a98_0x28a2,0xaad45));import a98_0xcd716d from'path';import{defineConfig}from'vite';import a98_0x156238 from'@vitejs/plugin-vue';import a98_0x60c52f from'@vitejs/plugin-legacy';import a98_0x46afc5 from'@vitejs/plugin-vue-jsx';import a98_0x377f24 from'@rollup/plugin-commonjs';function a98_0x56cd(_0x24360d,_0x1c8e8b){const _0x28a2a1=a98_0x28a2();return a98_0x56cd=function(_0x56cd2a,_0xccf752){_0x56cd2a=_0x56cd2a-0xca;let _0x3a5f19=_0x28a2a1[_0x56cd2a];return _0x3a5f19;},a98_0x56cd(_0x24360d,_0x1c8e8b);}import a98_0x1ab20c from'rollup-plugin-external-globals';import{babel}from'@rollup/plugin-babel';import{createStyleImportPlugin,VantResolve}from'vite-plugin-style-import';const resolve=_0x3d4b26=>a98_0xcd716d['join'](process[a98_0x4bea78(0xd4)](),_0x3d4b26);export default defineConfig(({command:_0x35d0f0,mode:_0x3c58ca})=>{const _0x3a688d=a98_0x4bea78,_0x20d647={'plugins':[a98_0x156238({'template':{'compilerOptions':{'expressionPlugins':[[_0x3a688d(0xcf),{'version':_0x3a688d(0xca)}]]}},'script':{'babelParserPlugins':[['decorators',{'version':'2023-11'}],_0x3a688d(0xcf)]}}),a98_0x46afc5(),babel({'compact':![],'plugins':[[_0x3a688d(0xcd),{'version':_0x3a688d(0xca)}]]}),createStyleImportPlugin({'resolves':[VantResolve()]}),a98_0x60c52f({'targets':[_0x3a688d(0xde)],'additionalLegacyPolyfills':[_0x3a688d(0xd3)]})],'runtimeCompiler':!![],'build':{'outDir':_0x3a688d(0xe1),'rollupOptions':{'external':['vue'],'plugins':[a98_0x377f24(),a98_0x1ab20c({'vue':_0x3a688d(0xdf)})],'output':{'manualChunks'(_0x97cc27){const _0x3da774=_0x3a688d;if(_0x97cc27[_0x3da774(0xd0)](_0x3da774(0xcb)))return _0x97cc27['toString']()[_0x3da774(0xce)](_0x3da774(0xd7))[0x1][_0x3da774(0xce)]('/')[0x0]['toString']();}}}},'resolve':{'alias':{'@':resolve(_0x3a688d(0xd2)),'vue':'vue/dist/vue.esm-bundler.js'}}};return _0x20d647;});
|
package/vite.lib.config.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a99_0x213f(_0x3925a3,_0x3196d1){const _0x597c48=a99_0x597c();return a99_0x213f=function(_0x213fca,_0x2fafa1){_0x213fca=_0x213fca-0xca;let _0x235085=_0x597c48[_0x213fca];return _0x235085;},a99_0x213f(_0x3925a3,_0x3196d1);}const a99_0x32f751=a99_0x213f;(function(_0x2fdae2,_0x499d6c){const _0x10de3d=a99_0x213f,_0x497eb7=_0x2fdae2();while(!![]){try{const _0x4f8ee9=parseInt(_0x10de3d(0xde))/0x1*(parseInt(_0x10de3d(0xcd))/0x2)+-parseInt(_0x10de3d(0xd8))/0x3+-parseInt(_0x10de3d(0xca))/0x4*(-parseInt(_0x10de3d(0xdb))/0x5)+parseInt(_0x10de3d(0xda))/0x6*(parseInt(_0x10de3d(0xd1))/0x7)+parseInt(_0x10de3d(0xd9))/0x8+-parseInt(_0x10de3d(0xcf))/0x9*(-parseInt(_0x10de3d(0xcb))/0xa)+-parseInt(_0x10de3d(0xd3))/0xb;if(_0x4f8ee9===_0x499d6c)break;else _0x497eb7['push'](_0x497eb7['shift']());}catch(_0x2bae17){_0x497eb7['push'](_0x497eb7['shift']());}}}(a99_0x597c,0x23667));import a99_0x327f88 from'path';import{defineConfig}from'vite';import a99_0x5768a9 from'@vitejs/plugin-vue';import a99_0x8e159f from'@vitejs/plugin-vue-jsx';import a99_0x2f563d from'@rollup/plugin-commonjs';import a99_0xfd4859 from'rollup-plugin-external-globals';import{createStyleImportPlugin,VantResolve}from'vite-plugin-style-import';const resolve=_0x5e0c3a=>a99_0x327f88[a99_0x32f751(0xd6)](process['cwd'](),_0x5e0c3a);function a99_0x597c(){const _0xf8dd5a=['Vue','111092THCXUX','115030UXsyFX','vue','12PmXFAA','./packages/index.js','117IinfAe','split','1316371XdUvqO','index','5738942beVRnK','node_modules','node_modules/','join','vue/dist/vue.esm-bundler.js','864924cqiIld','1527232vZoDxa','6mTaHuR','35PAYDNZ','toString','src','38687qeZOqZ','StardustUI'];a99_0x597c=function(){return _0xf8dd5a;};return a99_0x597c();}export default defineConfig(({command:_0x3a1102,mode:_0x31dae1})=>{const _0x2a5aef=a99_0x32f751,_0x47e63f={'plugins':[a99_0x5768a9(),a99_0x8e159f(),createStyleImportPlugin({'resolves':[VantResolve()]})],'runtimeCompiler':!![],'build':{'outDir':'./','lib':{'entry':_0x2a5aef(0xce),'name':_0x2a5aef(0xdf),'fileName':_0x2a5aef(0xd2),'formats':['es']},'rollupOptions':{'external':[_0x2a5aef(0xcc)],'plugins':[a99_0x2f563d()],'output':{'globals':{'vue':_0x2a5aef(0xe0)},'manualChunks'(_0x5881ab){const _0x3c80a3=_0x2a5aef;if(_0x5881ab['includes'](_0x3c80a3(0xd4)))return _0x5881ab[_0x3c80a3(0xdc)]()[_0x3c80a3(0xd0)](_0x3c80a3(0xd5))[0x1]['split']('/')[0x0][_0x3c80a3(0xdc)]();}}}},'resolve':{'alias':{'@':resolve(_0x2a5aef(0xdd)),'vue':_0x2a5aef(0xd7)}}};return _0x47e63f;});
|