@wp1001/ui 3.5.3 → 3.5.6
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 a90_0x5f41(){const _0x137fd4=['beforeEach','4194ZcGcUz','8955320pwwAlz','439685ubTYoY','sleep','title','10948oGWMXC','redirect','受限于您的账号权限,暂时无法访问\x20','query','children','44zxHEID','/404','acl','10930vmSzRD','visitable','\x20页面,如有需要请联系我们','meta','includes','split','logging','component','logined','error','_hidden','path','some','paths','matched','getters','159420fSzqGD','10089KbuhVZ','sitename','length','hidden','replace','6wYOxfk','418110llwenM','menus','forEach','408emyAxf','85292QxInZs'];a90_0x5f41=function(){return _0x137fd4;};return a90_0x5f41();}(function(_0x1f5dad,_0x561122){const _0x564952=a90_0x5059,_0x4598a5=_0x1f5dad();while(!![]){try{const _0x5e4f7e=parseInt(_0x564952(0x1e7))/0x1*(-parseInt(_0x564952(0x1ec))/0x2)+-parseInt(_0x564952(0x1e1))/0x3+-parseInt(_0x564952(0x1f8))/0x4*(-parseInt(_0x564952(0x1f0))/0x5)+-parseInt(_0x564952(0x1ee))/0x6*(parseInt(_0x564952(0x1f3))/0x7)+parseInt(_0x564952(0x1ef))/0x8+parseInt(_0x564952(0x1e2))/0x9*(parseInt(_0x564952(0x1fb))/0xa)+-parseInt(_0x564952(0x1e8))/0xb*(parseInt(_0x564952(0x1eb))/0xc);if(_0x5e4f7e===_0x561122)break;else _0x4598a5['push'](_0x4598a5['shift']());}catch(_0x2ccb35){_0x4598a5['push'](_0x4598a5['shift']());}}}(a90_0x5f41,0x96ba7));function a90_0x5059(_0x3e0e0b,_0x189658){const _0x5f4197=a90_0x5f41();return a90_0x5059=function(_0x505934,_0x24c7de){_0x505934=_0x505934-0x1da;let _0x496f45=_0x5f4197[_0x505934];return _0x496f45;},a90_0x5059(_0x3e0e0b,_0x189658);}import{watch,nextTick}from'vue';import{Message}from'./message.js';const {funcs}=StardustJs;export const check404=(_0x4e75a7,_0x33d8ca,_0x7f17cc)=>{const _0x2fc146=a90_0x5059;_0x4e75a7[_0x2fc146(0x1ed)](async(_0x5a3cac,_0x2ff62a)=>{const _0x27687e=_0x2fc146;return!!_0x5a3cac[_0x27687e(0x1df)][_0x27687e(0x1e4)]||_0x27687e(0x1f9);});};export const setTitle=(_0x5dedaf,_0x3db825,_0x4a16e7)=>{_0x5dedaf['afterEach']((_0x4893bf,_0x9ede34)=>{const _0x46c474=a90_0x5059;document['title']=_0x4893bf['matched'][_0x4893bf[_0x46c474(0x1df)][_0x46c474(0x1e4)]-0x1][_0x46c474(0x1fe)]?.[_0x46c474(0x1f2)]||_0x3db825['app'][_0x46c474(0x1e3)];});};export const checkRolesPages=(_0x53a7ea,_0x2c57b8,_0x38dd06)=>{const _0x5b5f84=a90_0x5059;_0x53a7ea[_0x5b5f84(0x1ed)](async(_0x2b0f72,_0x2a4c1c)=>{const _0xcd4a18=_0x5b5f84,_0x5f2693=_0x2b0f72[_0xcd4a18(0x1df)][_0x2b0f72['matched'][_0xcd4a18(0x1e4)]-0x1]['path'][_0xcd4a18(0x200)]('/:')[0x0];if(_0x2b0f72[_0xcd4a18(0x1fe)][_0xcd4a18(0x1fa)]===![]||_0x2b0f72[_0xcd4a18(0x1fe)]?.[_0xcd4a18(0x1fc)])return!![];while(_0x2c57b8[_0xcd4a18(0x1e0)][_0xcd4a18(0x201)]){await funcs[_0xcd4a18(0x1f1)](0x14);}await nextTick();if(_0x2c57b8[_0xcd4a18(0x1fa)][_0xcd4a18(0x1de)]['includes'](_0x5f2693))return!![];const _0x1964f1={'redirectTo':_0x2b0f72[_0xcd4a18(0x1dc)],..._0x2b0f72[_0xcd4a18(0x1f6)]};return _0x2c57b8[_0xcd4a18(0x1e0)][_0xcd4a18(0x203)]&&(_0x1964f1[_0xcd4a18(0x1da)]=_0xcd4a18(0x1f5)+_0x2b0f72[_0xcd4a18(0x1dc)]+_0xcd4a18(0x1fd),Message({'message':_0x1964f1['error'],'duration':0x2710})),{'path':_0x2c57b8[_0xcd4a18(0x1fa)][_0xcd4a18(0x1de)][0x0]||'/404','query':_0x1964f1};}),nextTick(()=>{const _0x828d99=_0x5b5f84;let _0x50ec3e=![];watch(()=>_0x2c57b8[_0x828d99(0x1fa)][_0x828d99(0x1e9)],_0x2f3940=>{const _0xf79f13=_0x828d99;if(!_0x50ec3e){if(!_0x2f3940['length'])return;_0x50ec3e=!![];}const _0x15303e=_0x2c57b8[_0xf79f13(0x1fa)][_0xf79f13(0x1de)],_0x524e87=(_0x217788,_0x37a6c4)=>{const _0x258778=_0xf79f13;let _0x111ffe;_0x217788[_0x258778(0x1f4)]&&!_0x217788[_0x258778(0x202)]?_0x111ffe=_0x217788[_0x258778(0x1f4)]:_0x111ffe=[..._0x37a6c4,_0x217788]['reduce']((_0x32c84f,_0x4e3931)=>_0x32c84f+'/'+_0x4e3931[_0x258778(0x1dc)],'')[_0x258778(0x1e6)]('//','/'),_0x217788['meta']||={},_0x217788['meta'][_0x258778(0x1fa)]===![]?_0x217788['children']?.['forEach'](_0x5d8714=>{const _0x1c4ff2=_0x258778;_0x5d8714['meta']||={},_0x5d8714[_0x1c4ff2(0x1fe)][_0x1c4ff2(0x1fa)]||=![],_0x524e87(_0x5d8714,[..._0x37a6c4,_0x217788]);}):(_0x217788['meta']['_hidden']=_0x217788[_0x258778(0x1fe)][_0x258778(0x1e5)],parent&&(_0x217788[_0x258778(0x1fe)][_0x258778(0x1e5)]==null&&(_0x217788[_0x258778(0x1fe)][_0x258778(0x1e5)]??=parent['meta']?.[_0x258778(0x1e5)],_0x217788[_0x258778(0x1fe)]={..._0x217788['meta']}),_0x217788[_0x258778(0x1fe)]['visitable']==null&&(_0x217788[_0x258778(0x1fe)]['visitable']??=parent[_0x258778(0x1fe)]?.['visitable'],_0x217788[_0x258778(0x1fe)]={..._0x217788[_0x258778(0x1fe)]})),_0x217788[_0x258778(0x1f7)]?.[_0x258778(0x1ea)](_0x3631cd=>_0x524e87(_0x3631cd,[..._0x37a6c4,_0x217788])),_0x217788[_0x258778(0x1fe)]['hidden']!==![]&&_0x217788[_0x258778(0x1fe)][_0x258778(0x1db)]!==!![]&&(_0x217788[_0x258778(0x1fe)]['hidden']=!_0x15303e[_0x258778(0x1ff)](_0x111ffe),_0x217788[_0x258778(0x1f7)]?.[_0x258778(0x1dd)](_0x146b0e=>_0x146b0e[_0x258778(0x1fe)]['hidden']===![])&&(_0x217788[_0x258778(0x1fe)][_0x258778(0x1e5)]=![])));};_0x38dd06[_0xf79f13(0x1ea)](_0xe6dc0=>_0x524e87(_0xe6dc0,[]));},{'immediate':!![]});});};export default{'check404':check404,'setTitle':setTitle,'checkRolesPages':checkRolesPages};
|
package/packages/utils/model.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a91_0x150b(){const _0x25de92=['3XShfym','2850330nZOpFf','_index','4073952BpKrcM','6698104mfdeDQ','29958fdVdCa','7ySHUrq','3053065gJWOoB','68046Wtygme','selection','10088172xJDXge','left','184mZySyt'];a91_0x150b=function(){return _0x25de92;};return a91_0x150b();}const a91_0x28b3e8=a91_0xa514;(function(_0x4035c5,_0x6658bb){const _0x5d72c6=a91_0xa514,_0xa73c1=_0x4035c5();while(!![]){try{const _0x1138df=parseInt(_0x5d72c6(0xcf))/0x1*(parseInt(_0x5d72c6(0xd4))/0x2)+parseInt(_0x5d72c6(0xd7))/0x3*(parseInt(_0x5d72c6(0xce))/0x4)+-parseInt(_0x5d72c6(0xd6))/0x5+parseInt(_0x5d72c6(0xd2))/0x6+-parseInt(_0x5d72c6(0xd5))/0x7*(-parseInt(_0x5d72c6(0xd3))/0x8)+-parseInt(_0x5d72c6(0xd9))/0x9+-parseInt(_0x5d72c6(0xd0))/0xa;if(_0x1138df===_0x6658bb)break;else _0xa73c1['push'](_0xa73c1['shift']());}catch(_0x5b3185){_0xa73c1['push'](_0xa73c1['shift']());}}}(a91_0x150b,0x8f8ea));export const baseForm=()=>({'loading':![],'form':{},'initialForm':{},'formItems':[],'formRef':null,'formRules':{},'initialFormRules':{},'_isBaseForm':!![],'viewonly':![]});export const baseTable=(_0x3513ae={})=>({'loading':![],'query':{'page':0x1,'limit':0xa,'order':[],..._0x3513ae},'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':a91_0x28b3e8(0xcd),'type':a91_0x28b3e8(0xd8)},{'type':a91_0x28b3e8(0xd1)}],query:query={},form:form={}}={})=>({'table':{...baseTable(query),...table,'columns':columns},'dialog':{...baseDialog(),...dialog,'form':form}});function a91_0xa514(_0x22d336,_0x14e9cd){const _0x150bd5=a91_0x150b();return a91_0xa514=function(_0xa51443,_0x1d6077){_0xa51443=_0xa51443-0xcd;let _0x184274=_0x150bd5[_0xa51443];return _0x184274;},a91_0xa514(_0x22d336,_0x14e9cd);}export default{'baseForm':baseForm,'baseTable':baseTable,'baseDialog':baseDialog,'baseModel':baseModel};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a92_0x239459=a92_0x32b8;(function(_0x235683,_0x22561b){const _0x186029=a92_0x32b8,_0x495e00=_0x235683();while(!![]){try{const _0x4723d1=-parseInt(_0x186029(0x15c))/0x1*(parseInt(_0x186029(0x158))/0x2)+parseInt(_0x186029(0x144))/0x3+-parseInt(_0x186029(0x156))/0x4+parseInt(_0x186029(0x14c))/0x5+parseInt(_0x186029(0x149))/0x6+parseInt(_0x186029(0x152))/0x7*(parseInt(_0x186029(0x130))/0x8)+-parseInt(_0x186029(0x12a))/0x9;if(_0x4723d1===_0x22561b)break;else _0x495e00['push'](_0x495e00['shift']());}catch(_0x4f9d0b){_0x495e00['push'](_0x495e00['shift']());}}}(a92_0x374b,0x8d58b));import{watch}from'vue';const {funcs}=StardustJs;export const initFields=_0x1b9408=>{const _0x4552b3=a92_0x32b8;return _0x1b9408[_0x4552b3(0x121)](_0x16fdbd=>{const _0x425da4=_0x4552b3,_0x5d27bf=Object['keys'](_0x16fdbd);for(let _0x129948 of _0x5d27bf){if(_0x129948['startsWith'](_0x425da4(0x159)))_0x16fdbd[_0x425da4(0x13b)]??={},_0x16fdbd['tableAttrs'][_0x129948[_0x425da4(0x13a)](0x3)]=_0x16fdbd[_0x129948],delete _0x16fdbd[_0x129948];else _0x129948[_0x425da4(0x128)](_0x425da4(0x139))&&(_0x16fdbd['formAttrs']??={},_0x16fdbd['formAttrs'][_0x129948[_0x425da4(0x13a)](0x3)]=_0x16fdbd[_0x129948],delete _0x16fdbd[_0x129948]);}if(_0x16fdbd[_0x425da4(0x157)]==='date')_0x16fdbd[_0x425da4(0x150)]??={},_0x16fdbd[_0x425da4(0x150)][_0x425da4(0x151)]??='YYYY-MM-DD';else _0x16fdbd[_0x425da4(0x157)]===_0x425da4(0x136)&&(_0x16fdbd[_0x425da4(0x150)]??={},_0x16fdbd[_0x425da4(0x150)][_0x425da4(0x151)]??=_0x425da4(0x143));return _0x16fdbd['xs']??=0x18,_0x16fdbd;});};export const initModel=(_0x38cd9d,_0xb31737)=>{const _0x4c6b61=a92_0x32b8;for(let _0x12f95d in _0x38cd9d){const _0x47a50d=_0x38cd9d[_0x12f95d];if(!_0x47a50d||typeof _0x47a50d!==_0x4c6b61(0x15d))continue;_0x12f95d==='table'&&_0x38cd9d[_0x12f95d][_0x4c6b61(0x137)]&&initTable(_0x47a50d,_0xb31737),_0x12f95d===_0x4c6b61(0x12e)&&_0x38cd9d[_0x12f95d][_0x4c6b61(0x14f)]&&initDialog(_0x47a50d,_0xb31737),_0x12f95d===_0x4c6b61(0x147)&&_0x38cd9d[_0x12f95d][_0x4c6b61(0x15e)]&&initForm(_0x47a50d,_0xb31737);}return _0x38cd9d;};export const initTable=(_0x193f29,_0x4bdb99)=>{const _0x1fd3bb=a92_0x32b8;return _0x193f29['columns']['push'](..._0x4bdb99[_0x1fd3bb(0x155)](_0x1c8a7c=>{const _0x6f03f2=_0x1fd3bb;return _0x1c8a7c[_0x6f03f2(0x123)]===![]?_0x1c8a7c[_0x6f03f2(0x126)]:_0x1c8a7c[_0x6f03f2(0x126)]!==![];})),_0x193f29;};function a92_0x32b8(_0x44d85e,_0x3a1d59){const _0x374ba4=a92_0x374b();return a92_0x32b8=function(_0x32b834,_0x4950c2){_0x32b834=_0x32b834-0x11f;let _0x2e21b6=_0x374ba4[_0x32b834];return _0x2e21b6;},a92_0x32b8(_0x44d85e,_0x3a1d59);}export const initDialog=(_0x53041b,_0xa760f1)=>{return _0x53041b['formItems']=_0xa760f1['filter'](_0x48c31a=>{const _0x5a122f=a92_0x32b8;if(_0x48c31a['visible']===![])return _0x48c31a[_0x5a122f(0x15f)]||_0x48c31a[_0x5a122f(0x14e)];return _0x48c31a[_0x5a122f(0x15f)]!==![]||_0x48c31a[_0x5a122f(0x14e)]!==![];}),initForm(_0x53041b,_0xa760f1),_0x53041b;};export const initForm=(_0x43bbe1,_0x21f512)=>{const _0x34525a=a92_0x32b8;_0x43bbe1['_isBaseForm']&&!_0x43bbe1[_0x34525a(0x14f)]&&(_0x43bbe1[_0x34525a(0x15b)]=_0x21f512[_0x34525a(0x155)](_0x1b47c2=>_0x1b47c2[_0x34525a(0x123)]!==![]));initDefaultForm(_0x43bbe1['form'],_0x43bbe1['formItems']),_0x43bbe1[_0x34525a(0x122)]=funcs[_0x34525a(0x145)](_0x43bbe1[_0x34525a(0x147)]),_0x43bbe1[_0x34525a(0x13c)]=funcs['deepCopy'](_0x43bbe1[_0x34525a(0x13e)]);const _0x375339=()=>{initFormRules(_0x43bbe1);};return watch(()=>_0x43bbe1['formItems'],_0x375339,{'immediate':!![],'deep':!![]}),_0x43bbe1;};export const initFormRules=_0x257e1b=>{const _0xd08dce=a92_0x32b8,{formItems:_0x13a875,initialFormRules:_0xded839}=_0x257e1b;Object[_0xd08dce(0x134)](_0x257e1b[_0xd08dce(0x13e)],funcs['deepCopy'](_0xded839)),Object[_0xd08dce(0x13f)](_0x257e1b[_0xd08dce(0x13e)])[_0xd08dce(0x127)](_0x1e21db=>{!_0xded839['hasOwnProperty'](_0x1e21db)&&delete _0x257e1b['formRules'][_0x1e21db];});const _0x38603c={};return _0x13a875[_0xd08dce(0x127)](_0x2747e6=>{const _0x2edf4c=_0xd08dce;if(_0x257e1b[_0x2edf4c(0x13e)][_0x2747e6[_0x2edf4c(0x14d)]])return;if(!_0x2747e6['required']&&!_0x2747e6[_0x2edf4c(0x160)]&&!_0x2747e6['asyncValidator'])return;const _0x2706c5=_0x2747e6[_0x2edf4c(0x148)]||_0x257e1b['platform']||(window[_0x2edf4c(0x12b)]?_0x2edf4c(0x11f):'pc'),_0x166c66=triggers[_0x2706c5],_0x9b63fd=[],_0x460fa0=_0x2edf4c(0x12d)in _0x2747e6,_0x14bdb9='请'+(_0x2747e6['validator']||_0x2747e6['asyncValidator']?'正确':'')+(_0x460fa0?'选择':'输入')+(_0x2747e6?.[_0x2edf4c(0x129)]||_0x2747e6[_0x2edf4c(0x14d)]),_0xc8bfca={'required':!![],'message':_0x14bdb9};if(_0x2747e6[_0x2edf4c(0x160)])_0xc8bfca['validator']=(_0x5933b2,_0x16f450)=>{const _0x1bd6af=_0x2edf4c;return _0x2706c5==='pc'?_0x2747e6[_0x1bd6af(0x160)](_0x5933b2,_0x16f450):_0x2747e6[_0x1bd6af(0x160)](_0x16f450,_0x5933b2);};if(_0x2747e6[_0x2edf4c(0x124)])_0xc8bfca[_0x2edf4c(0x124)]=(_0x7ad19c,_0x2b5e4b)=>{const _0x5b8a16=_0x2edf4c;return _0x2706c5==='pc'?_0x2747e6[_0x5b8a16(0x124)](_0x7ad19c,_0x2b5e4b):_0x2747e6[_0x5b8a16(0x124)](_0x2b5e4b,_0x7ad19c);};!_0x2747e6[_0x2edf4c(0x133)]?_0x9b63fd[_0x2edf4c(0x13d)]({..._0xc8bfca,'trigger':_0x166c66[_0x2edf4c(0x125)]}):_0x9b63fd[_0x2edf4c(0x13d)]({..._0xc8bfca,'trigger':_0x166c66['change']}),_0x2747e6[_0x2edf4c(0x133)]===_0x2edf4c(0x153)&&_0x9b63fd[_0x2edf4c(0x13d)]({..._0xc8bfca,'trigger':_0x166c66[_0x2edf4c(0x125)]}),_0x38603c[_0x2747e6[_0x2edf4c(0x14d)]]=_0x9b63fd;}),Object[_0xd08dce(0x134)](_0x257e1b[_0xd08dce(0x13e)],_0x38603c),_0x257e1b['formRules'];};export const initDefaultForm=(_0x6a715d,_0x30a7a0,_0x1ce81f=!![])=>{const _0x3567a2=a92_0x32b8,_0x53298c={};return _0x30a7a0[_0x3567a2(0x127)](_0xb72061=>{const _0x423de7=_0x3567a2;if(!_0xb72061['prop']||_0xb72061['virtual'])return;let _0xcf93b8='';const {type:_0x285de0,options:_0x4434ec}=_0xb72061,{multiple:_0x4cdbaa}=_0xb72061['formAttrs']||{};if(_0x1ce81f&&_0x285de0===_0x423de7(0x161)||_0xb72061['comp']===_0x423de7(0x153))_0xcf93b8=null;else{if(_0xb72061['comp']===_0x423de7(0x14b))_0xcf93b8=![];else{if(_0x4434ec&&(_0xb72061[_0x423de7(0x133)]?.[_0x423de7(0x12c)](_0x423de7(0x141))||_0xb72061['comp']?.['endsWith']('x-checkboxs')||_0x4cdbaa))_0xcf93b8=[];else{if(_0xb72061['comp']==='ElDatePicker'&&['datetimerange',_0x423de7(0x15a),'monthrange'][_0x423de7(0x14a)](_0xb72061[_0x423de7(0x157)])){const _0x3d175f={'datetimerange':'时间','daterange':'日期','monthrange':'月份'}[_0xb72061[_0x423de7(0x157)]];!_0xb72061[_0x423de7(0x142)]&&(_0xb72061[_0x423de7(0x142)]='开始'+_0x3d175f),!_0xb72061[_0x423de7(0x138)]&&(_0xb72061[_0x423de7(0x138)]='结束'+_0x3d175f),_0xcf93b8=[];}}}}_0x53298c[_0xb72061[_0x423de7(0x14d)]]=_0xcf93b8;}),Object[_0x3567a2(0x134)](_0x6a715d,{..._0x53298c,..._0x6a715d}),_0x6a715d;};export const isWhenMatched=(_0x23cd66,_0x39cb22)=>{const _0xb5d993=a92_0x32b8;if(!_0x23cd66)return!![];const _0x59ee5e=_0x23cd66[_0xb5d993(0x120)](/\s?(&&|\|\|)\s?/g);if(_0x59ee5e[_0xb5d993(0x14a)]('&&')&&_0x59ee5e[_0xb5d993(0x14a)]('||'))throw'一个\x20when\x20表达式中仅支持\x20&&\x20模式或\x20||\x20模式';const _0x7c6b8=_0x59ee5e['includes']('&&'),_0x561bfb=/[\^\*\$\~\!]?=/,_0x1e29a9=_0x59ee5e[_0xb5d993(0x155)](_0x59f3a1=>_0x59f3a1!=='&&'&&_0x59f3a1!=='||');return _0x1e29a9[_0x7c6b8?_0xb5d993(0x12f):_0xb5d993(0x140)](_0x51c25d=>{const _0x4f34d6=_0xb5d993;let [_0x21f4f7,_0x17280f]=_0x51c25d[_0x4f34d6(0x120)](_0x561bfb);_0x17280f=_0x17280f[_0x4f34d6(0x120)]('|');let _0x364ab6=_0x39cb22[_0x21f4f7];if(typeof _0x364ab6===_0x4f34d6(0x161))_0x364ab6+='';else{if(typeof _0x364ab6===_0x4f34d6(0x135))_0x364ab6=_0x364ab6[_0x4f34d6(0x154)]();}const _0x89e4d2=_0x51c25d[_0x4f34d6(0x146)](_0x561bfb)[0x0];if(_0x89e4d2==='!=')return!_0x17280f['includes'](_0x364ab6);return _0x17280f[_0x4f34d6(0x140)](_0x198d81=>{const _0x4b4ac6=_0x4f34d6;if(_0x89e4d2==='^=')return _0x364ab6?.[_0x4b4ac6(0x128)](_0x198d81);else{if(_0x89e4d2==='*=')return _0x364ab6?.['includes'](_0x198d81);else{if(_0x89e4d2==='$=')return _0x364ab6?.[_0x4b4ac6(0x12c)](_0x198d81);else{if(_0x89e4d2==='~=')return!_0x364ab6?.[_0x4b4ac6(0x14a)](_0x198d81);else{if(_0x89e4d2==='!=')return _0x364ab6!==_0x198d81;}}}}return _0x198d81===_0x364ab6;});});};export const triggers={'mobile':{'blur':a92_0x239459(0x131),'change':a92_0x239459(0x162)},'pc':{'blur':'blur','change':a92_0x239459(0x132)}};export default{'initFields':initFields,'initModel':initModel,'initTable':initTable,'initDialog':initDialog,'initForm':initForm,'initFormRules':initFormRules,'initDefaultForm':initDefaultForm,'isWhenMatched':isWhenMatched,'triggers':triggers};function a92_0x374b(){const _0x47e5e2=['2986616rKYSqx','type','2kROBkG','ta_','daterange','formItems','422374sDGtGS','object','_isBaseForm','canAdd','validator','number','onChange','mobile','split','map','initialForm','visible','asyncValidator','blur','canView','forEach','startsWith','label','1647153PwlUVG','isMobile','endsWith','options','dialog','every','32ubtrLZ','onBlur','change','comp','assign','string','datetime','_isBaseTable','end-placeholder','fa_','slice','tableAttrs','initialFormRules','push','formRules','keys','some','XCheckboxs','start-placeholder','YYYY-MM-DD\x20HH:mm:ss','1245576vkGXAc','deepCopy','match','form','platform','5643384ZsbzYx','includes','ElSwitch','1226620aRDGOy','prop','canEdit','_isBaseDialog','formAttrs','value-format','577360SoIpmT','ElInputNumber','trim','filter'];a92_0x374b=function(){return _0x47e5e2;};return a92_0x374b();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a93_0x5a3d(){const _0x9e6dc1=['parse','2244655CLgWHX','globalProperties','/login?redirectTo=','headers','1881040tziSuD','setExpired','4gqJohE','url','join','282714Mmqzxa','63522NWuGRn','application/json;\x20charset=UTF-8','stringify','65818FuEFNI','split','code','Authorization','1152981jhvKTa','config','40CJrFOO','dates','Http-Encrypt','params','indexOf','encrypt','decodeQuery','user','resolve','toString','includes','slice','query','17199963sHRmyy','Content-Type','refresh-token','data','14vJuxuB','setToken','href','now','token','content-type','688HHwqyt','reject','application/json','err'];a93_0x5a3d=function(){return _0x9e6dc1;};return a93_0x5a3d();}(function(_0xe1f08,_0x26dfbe){const _0x291e98=a93_0x54b9,_0x2e0926=_0xe1f08();while(!![]){try{const _0x337aee=-parseInt(_0x291e98(0xe5))/0x1*(parseInt(_0x291e98(0xce))/0x2)+-parseInt(_0x291e98(0xd2))/0x3*(parseInt(_0x291e98(0xf6))/0x4)+-parseInt(_0x291e98(0xd4))/0x5*(parseInt(_0x291e98(0xca))/0x6)+-parseInt(_0x291e98(0xf0))/0x7+-parseInt(_0x291e98(0xeb))/0x8*(-parseInt(_0x291e98(0xcb))/0x9)+-parseInt(_0x291e98(0xf4))/0xa+parseInt(_0x291e98(0xe1))/0xb;if(_0x337aee===_0x26dfbe)break;else _0x2e0926['push'](_0x2e0926['shift']());}catch(_0x2632f1){_0x2e0926['push'](_0x2e0926['shift']());}}}(a93_0x5a3d,0x6b627));import{Message}from'./message.js';const requestUse=(_0x1c35fc,_0x354cef,_0x4215c6,_0x4897f1,_0x38c22c)=>{const _0x12196e=a93_0x54b9;_0x38c22c[_0x12196e(0xf3)][_0x12196e(0xd1)]||=_0x4215c6['user'][_0x12196e(0xe9)];const _0x27e098=_0x1c35fc[_0x12196e(0xd3)][_0x12196e(0xf1)]['httpEncrypt'];if(_0x27e098!==![]){_0x38c22c[_0x12196e(0xf3)][_0x12196e(0xd6)]=_0x27e098;const _0x4cc90d=_0x38c22c[_0x12196e(0xe4)]instanceof FormData;!_0x4cc90d&&(_0x38c22c['headers'][_0x12196e(0xe2)]||=_0x12196e(0xcc));if(_0x38c22c[_0x12196e(0xc8)][_0x12196e(0xd8)]('?')>=0x0){const [_0x5de001,..._0x5ecd94]=_0x38c22c[_0x12196e(0xc8)]['split']('?'),_0x2f210f=_0x354cef['encrypt'][_0x27e098](_0x5ecd94[_0x12196e(0xc9)]('?'),_0x12196e(0xe0));_0x38c22c[_0x12196e(0xc8)]=_0x5de001+'?'+_0x2f210f;}else _0x38c22c[_0x12196e(0xd7)]||={'__placeholder__':Date[_0x12196e(0xe8)]()[_0x12196e(0xdd)](0x10)};if(_0x38c22c[_0x12196e(0xd7)]){const _0xdf0e94=decodeURIComponent(new URLSearchParams(_0x38c22c[_0x12196e(0xd7)])[_0x12196e(0xdd)]());_0x38c22c['url']+='?'+_0x354cef[_0x12196e(0xd9)][_0x27e098](_0xdf0e94,'query'),delete _0x38c22c[_0x12196e(0xd7)];}if(_0x38c22c[_0x12196e(0xe4)]!==undefined&&!_0x4cc90d){const _0x199505=_0x354cef[_0x12196e(0xd9)][_0x27e098](JSON[_0x12196e(0xcd)](_0x38c22c['data']),'body');_0x38c22c[_0x12196e(0xe4)]=_0x199505;}}return _0x38c22c;},responseUse=(_0x306727,_0x33693d,_0x3a8df2,_0x452c65,_0x2a1db0)=>{const _0x370163=a93_0x54b9;if([0x191,0x192,0x2711]['includes'](_0x2a1db0[_0x370163(0xe4)][_0x370163(0xd0)])){_0x3a8df2[_0x370163(0xdb)][_0x370163(0xf5)]();const _0x4356c1='/'+location['hash'][_0x370163(0xdf)](0x2)[_0x370163(0xcf)]('?')[0x0],_0x28b3e3=StardustJs['funcs'][_0x370163(0xda)](location[_0x370163(0xe7)][_0x370163(0xcf)]('?')[0x1]||'');return _0x452c65['replace'](_0x28b3e3['redirectTo']?_0x370163(0xf2)+(_0x28b3e3['redirectTo']||_0x4356c1):'/login'),Promise[_0x370163(0xec)](_0x2a1db0);}else{if([0x2712][_0x370163(0xde)](_0x2a1db0[_0x370163(0xe4)]['code']))return Message['e'](_0x2a1db0[_0x370163(0xe4)]['err']),Promise[_0x370163(0xec)](_0x2a1db0);}const _0x163a3e=_0x2a1db0[_0x370163(0xf3)][_0x370163(0xe3)]||_0x2a1db0[_0x370163(0xe4)]['token'];_0x163a3e&&_0x3a8df2[_0x370163(0xdb)][_0x370163(0xe6)](_0x163a3e);if(_0x2a1db0['data']['err'])return Message['e'](_0x2a1db0[_0x370163(0xe4)][_0x370163(0xee)]||'未知错误'),Promise[_0x370163(0xec)](_0x2a1db0);return _0x2a1db0[_0x370163(0xf3)][_0x370163(0xea)]?.[_0x370163(0xde)](_0x370163(0xed))&&(_0x2a1db0['data']=JSON[_0x370163(0xef)](StardustJs[_0x370163(0xd5)]['convertIsoDates'](JSON['stringify'](_0x2a1db0[_0x370163(0xe4)])))),Promise[_0x370163(0xdc)](_0x2a1db0[_0x370163(0xe4)]);};function a93_0x54b9(_0x30920c,_0x20a055){const _0x5a3d19=a93_0x5a3d();return a93_0x54b9=function(_0x54b9d0,_0x4d9950){_0x54b9d0=_0x54b9d0-0xc8;let _0x36ed89=_0x5a3d19[_0x54b9d0];return _0x36ed89;},a93_0x54b9(_0x30920c,_0x20a055);}export{requestUse,responseUse};
|
package/packages/utils/site.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a94_0x4be313=a94_0x4acf;function a94_0x4acf(_0xe2849d,_0x27d22c){const _0x378a96=a94_0x378a();return a94_0x4acf=function(_0x4acfbe,_0xc5a579){_0x4acfbe=_0x4acfbe-0x175;let _0x4601d0=_0x378a96[_0x4acfbe];return _0x4601d0;},a94_0x4acf(_0xe2849d,_0x27d22c);}(function(_0x14ee5c,_0x62b07e){const _0x537e3d=a94_0x4acf,_0x2ca416=_0x14ee5c();while(!![]){try{const _0x3a2a48=parseInt(_0x537e3d(0x180))/0x1*(parseInt(_0x537e3d(0x17e))/0x2)+parseInt(_0x537e3d(0x17a))/0x3+-parseInt(_0x537e3d(0x182))/0x4*(-parseInt(_0x537e3d(0x178))/0x5)+parseInt(_0x537e3d(0x17d))/0x6*(-parseInt(_0x537e3d(0x17b))/0x7)+parseInt(_0x537e3d(0x175))/0x8*(parseInt(_0x537e3d(0x185))/0x9)+-parseInt(_0x537e3d(0x189))/0xa*(parseInt(_0x537e3d(0x183))/0xb)+-parseInt(_0x537e3d(0x17c))/0xc;if(_0x3a2a48===_0x62b07e)break;else _0x2ca416['push'](_0x2ca416['shift']());}catch(_0x380c23){_0x2ca416['push'](_0x2ca416['shift']());}}}(a94_0x378a,0xe954b));function a94_0x378a(){const _0x8426ca=['Text','5263820FIEwOP','15040ryZOEC','getContext','font','121820BtSONx','innerHeight','3171861WyUayi','122969xVrkzk','8951196MwTjAE','636OiXBRi','2442TjzJxy','height','1553vVCBVD','canvas','40IyTtpP','11UGMysI','width','4275GloeHd','Style','fill'];a94_0x378a=function(){return _0x8426ca;};return a94_0x378a();}export const createWatermark=({text:_0x1cbe42,gap:_0xa67869,fontSize:_0x204980,color:_0x13c478,width:width=window['innerWidth'],height:height=window[a94_0x4be313(0x179)],drawMode:drawMode=a94_0x4be313(0x187)})=>{const _0x5e92b8=a94_0x4be313,_0x80358c=document['createElement'](_0x5e92b8(0x181));_0x80358c[_0x5e92b8(0x184)]=width,_0x80358c[_0x5e92b8(0x17f)]=height;const _0x534533=_0x80358c[_0x5e92b8(0x176)]('2d');_0x534533[_0x5e92b8(0x177)]=_0x204980+'px\x20Arial',_0x534533[drawMode+_0x5e92b8(0x186)]=_0x13c478;const _0xc9635f=_0x534533['measureText'](_0x1cbe42)[_0x5e92b8(0x184)],_0x2c9967=_0xc9635f+_0xa67869,_0x1c58b4=_0x204980+_0xa67869;for(let _0x181b31=_0xa67869/0x2;_0x181b31<height;_0x181b31+=_0x1c58b4){for(let _0x194a78=_0xa67869/0x2;_0x194a78<width;_0x194a78+=_0x2c9967){_0x534533[drawMode+_0x5e92b8(0x188)](_0x1cbe42,_0x194a78,_0x181b31);}}return _0x80358c;};export default{'createWatermark':createWatermark};
|
package/packages/vite-plugins.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a95_0x1111(){const _0x4d8347=['slice','<style\x20lang=\x22scss\x22\x20scoped>','.scss\x22;','-scoped.scss\x22;','6PLCUYp','12772110QCIwvL','map','return\x20__returned__','\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','import\x20controller\x20','-scoped.scss','split','import\x20makeController\x20','Object','<script\x20setup>\x0a','replace','2Fgwsie','/src/','<style\x20lang=\x22scss\x22>','14678320xFdkDI','filter','.vue','const\x20model','auto-deconstruct','splice','32455AAPTli','9cMKuTA','6665169DEzrxi','_ctx\x20=\x20wrapCtx(_ctx,\x20filterPrivateFields(model),\x20filterPrivateFields(controller))','21WMSJeN','<script>','const\x20controller',',\x20\x27','1385678PkOiHa','\x20=\x20new\x20Table(','return\x20{\x20...__returned__,\x20...filterPrivateFields(controller)\x20}','includes','push','startsWith','<script\x20setup>','const\x20model\x20=\x20makeModel()','trim','@use\x20\x22./','basename','12356616xZQtKb','existsSync','no\x20model','import\x20makeController\x20from\x20\x27./controller.js\x27','11CCTWAh','controller.js','.js','const\x20','join','dirname','length','</style>','model.js','vue\x20})','\x27)\x0a','toLowerCase','983368MmWJrX','model,\x20','import\x20makeModel\x20from\x20\x27./model.js\x27','return\x20{\x20...__returned__,\x20...filterPrivateFields(model)\x20}','const\x20controller\x20=\x20makeController({\x20','matchAll'];a95_0x1111=function(){return _0x4d8347;};return a95_0x1111();}const a95_0x31a276=a95_0x31dd;(function(_0x2f4027,_0x2d1bc9){const _0x23ae18=a95_0x31dd,_0x266b92=_0x2f4027();while(!![]){try{const _0x9b0c38=-parseInt(_0x23ae18(0x201))/0x1*(parseInt(_0x23ae18(0x212))/0x2)+-parseInt(_0x23ae18(0x20e))/0x3*(-parseInt(_0x23ae18(0x1eb))/0x4)+-parseInt(_0x23ae18(0x20a))/0x5*(-parseInt(_0x23ae18(0x1f5))/0x6)+-parseInt(_0x23ae18(0x20c))/0x7+parseInt(_0x23ae18(0x204))/0x8*(parseInt(_0x23ae18(0x20b))/0x9)+-parseInt(_0x23ae18(0x1f6))/0xa+-parseInt(_0x23ae18(0x1df))/0xb*(-parseInt(_0x23ae18(0x1db))/0xc);if(_0x9b0c38===_0x2d1bc9)break;else _0x266b92['push'](_0x266b92['shift']());}catch(_0xf9e1d1){_0x266b92['push'](_0x266b92['shift']());}}}(a95_0x1111,0xee7c5));import a95_0x368759 from'node:fs';import a95_0x3eadd2 from'node:path';const filterPrivateFields=a95_0x31a276(0x1f9),inject=(_0x4de245,_0x518cc3)=>{const _0x5ace91=a95_0x31a276,_0x813c2=a95_0x3eadd2[_0x5ace91(0x1e4)](_0x518cc3),_0x529fe2=a95_0x3eadd2[_0x5ace91(0x1da)](_0x518cc3),_0x342549=_0x529fe2[_0x5ace91(0x1fc)]('.')[0x0],_0x57679a=a95_0x368759[_0x5ace91(0x1dc)](a95_0x3eadd2[_0x5ace91(0x1e3)](_0x813c2,_0x342549+_0x5ace91(0x1fb))),_0x2d535a=a95_0x368759['existsSync'](a95_0x3eadd2[_0x5ace91(0x1e3)](_0x813c2,_0x342549+'.scss')),_0x90a3f3=a95_0x368759[_0x5ace91(0x1dc)](a95_0x3eadd2[_0x5ace91(0x1e3)](_0x813c2,_0x5ace91(0x1e7))),_0x2e6c6d=a95_0x368759[_0x5ace91(0x1dc)](a95_0x3eadd2[_0x5ace91(0x1e3)](_0x813c2,_0x5ace91(0x1e0))),_0x2710d3=_0x90a3f3&&!_0x4de245[_0x5ace91(0x215)](_0x5ace91(0x1dd))&&!_0x4de245['includes'](_0x5ace91(0x207))&&!_0x4de245['includes']('import\x20model\x20'),_0x33601a=_0x2e6c6d&&!_0x4de245[_0x5ace91(0x215)]('no\x20controller')&&!_0x4de245[_0x5ace91(0x215)](_0x5ace91(0x210))&&!_0x4de245[_0x5ace91(0x215)](_0x5ace91(0x1fa));if(_0x518cc3[_0x5ace91(0x215)](_0x5ace91(0x202))&&_0x529fe2[_0x5ace91(0x215)](_0x5ace91(0x206))&&_0x4de245[_0x5ace91(0x217)](_0x5ace91(0x1d6))){_0x4de245=_0x4de245[_0x5ace91(0x200)](_0x5ace91(0x1d6),_0x5ace91(0x1ff));const _0x439057=_0x4de245[_0x5ace91(0x1fc)]('\x0a');_0x57679a&&_0x439057['push'](...[_0x5ace91(0x1f2),_0x5ace91(0x1d9)+_0x342549+_0x5ace91(0x1f4),_0x5ace91(0x1e6)]),_0x2d535a&&_0x439057[_0x5ace91(0x216)](...[_0x5ace91(0x203),_0x5ace91(0x1d9)+_0x342549+_0x5ace91(0x1f3),'</style>']),_0x33601a&&_0x439057[_0x5ace91(0x209)](0x1,0x0,_0x5ace91(0x1de),_0x5ace91(0x1ef)+(_0x2710d3?_0x5ace91(0x1ec):'')+_0x5ace91(0x1e8)),_0x2710d3&&_0x439057[_0x5ace91(0x209)](0x1,0x0,_0x5ace91(0x1ed),_0x5ace91(0x1d7)),_0x4de245=_0x439057['join']('\x0a');}return _0x4de245;},instantiateTables=(_0x1755e1,_0x3ae8d7)=>{const _0x2ee089=a95_0x31a276,_0x415c17=a95_0x3eadd2[_0x2ee089(0x1da)](_0x3ae8d7),_0x520213=_0x415c17[_0x2ee089(0x215)](_0x2ee089(0x206)),_0x1252f2=_0x415c17[_0x2ee089(0x215)](_0x2ee089(0x1e1));if(_0x3ae8d7[_0x2ee089(0x215)]('/src/')&&(_0x520213||_0x1252f2)){const _0x43ca4a=_0x1755e1['split']('\x0a')[_0x2ee089(0x1f7)](_0x539130=>_0x539130[_0x2ee089(0x1d8)]())[_0x2ee089(0x205)](_0x4163e8=>!_0x4163e8[_0x2ee089(0x217)]('//'))[_0x2ee089(0x1e3)]('\x0a');let _0x541d6d=[...new Set([..._0x43ca4a[_0x2ee089(0x1f0)](/[^a-z][A-Z]\w+\.(search|add|update|remove|func|batch|get)/g)]['map'](_0xf09116=>_0xf09116[0x0][_0x2ee089(0x1f1)](0x1)[_0x2ee089(0x1fc)]('.')[0x0]))];_0x541d6d=_0x541d6d[_0x2ee089(0x205)](_0x463b2a=>![_0x2ee089(0x1fe)][_0x2ee089(0x215)](_0x463b2a));if(_0x541d6d[_0x2ee089(0x1e5)]){let _0x50f131='';_0x541d6d['forEach'](_0x4245ac=>{const _0x2f7944=_0x2ee089;let [_0x13eefe,_0x3f5f3e]=_0x4245ac[_0x2f7944(0x1fc)]('_')[_0x2f7944(0x1f7)](_0x35d66a=>_0x35d66a[_0x2f7944(0x200)](/[A-Z]/g,_0x5e61ed=>'_'+_0x5e61ed[_0x2f7944(0x1ea)]())[_0x2f7944(0x1f1)](0x1));_0x3f5f3e?_0x13eefe='\x27'+_0x13eefe+'\x27':(_0x3f5f3e=_0x13eefe,_0x13eefe='DbName'),_0x50f131+=_0x2f7944(0x1e2)+_0x4245ac+_0x2f7944(0x213)+_0x13eefe+_0x2f7944(0x211)+_0x3f5f3e+_0x2f7944(0x1e9);}),_0x520213?_0x1755e1=_0x1755e1[_0x2ee089(0x200)]('<script\x20setup>',_0x2ee089(0x1ff)+_0x50f131)[_0x2ee089(0x200)](_0x2ee089(0x20f),'<script>\x0a'+_0x50f131):_0x1755e1=_0x50f131+_0x1755e1;}}return _0x1755e1;},deconstruct=(_0x4e5895,_0x4ae3a9)=>{const _0x4530b6=a95_0x31a276,_0x427e46=a95_0x3eadd2['basename'](_0x4ae3a9),_0x3adbb7=_0x427e46['includes'](_0x4530b6(0x206));if(_0x4ae3a9['includes'](_0x4530b6(0x202))&&_0x3adbb7){const _0x31fa06=_0x4530b6(0x1f8),_0x275d30='return\x20(_ctx,\x20_cache)\x20=>\x20{',_0xcc1f52=_0x4e5895[_0x4530b6(0x215)](_0x31fa06),_0x25718c=_0x4e5895[_0x4530b6(0x215)](_0x275d30),_0xb00027=(_0xcc1f52||_0x25718c)&&_0x4e5895[_0x4530b6(0x215)]('import\x20makeModel\x20'),_0x406e70=(_0xcc1f52||_0x25718c)&&_0x4e5895['includes'](_0x4530b6(0x1fd));if(_0xb00027||_0x406e70){let _0x15b11e=filterPrivateFields;if(_0xcc1f52){if(_0xb00027&&_0x406e70)_0x15b11e+='return\x20{\x20...__returned__,\x20...filterPrivateFields(model),\x20...filterPrivateFields(controller)\x20}';else{if(_0xb00027)_0x15b11e+=_0x4530b6(0x1ee);else _0x406e70&&(_0x15b11e+=_0x4530b6(0x214));}}else{_0x15b11e+=_0x275d30+'\x0a';if(_0xb00027&&_0x406e70)_0x15b11e+=_0x4530b6(0x20d);else{if(_0xb00027)_0x15b11e+='_ctx\x20=\x20wrapCtx(_ctx,\x20filterPrivateFields(model))';else _0x406e70&&(_0x15b11e+='_ctx\x20=\x20wrapCtx(_ctx,\x20null,\x20filterPrivateFields(controller))');}_0x15b11e+='\x0a';}_0x4e5895=_0x4e5895[_0x4530b6(0x200)](_0xcc1f52?_0x31fa06:_0x275d30,_0x15b11e);}}return _0x4e5895;};export const autoInject=(_0x5e2c57={})=>{return{'name':'auto-inject','transform'(_0x3844b6,_0x1b34dc){return _0x3844b6=inject(_0x3844b6,_0x1b34dc),_0x5e2c57['instantiateTables']!==![]&&(_0x3844b6=instantiateTables(_0x3844b6,_0x1b34dc)),{'code':_0x3844b6};}};};function a95_0x31dd(_0x3e7999,_0x54cfef){const _0x1111c3=a95_0x1111();return a95_0x31dd=function(_0x31dd0e,_0x14ac0b){_0x31dd0e=_0x31dd0e-0x1d6;let _0x5725f7=_0x1111c3[_0x31dd0e];return _0x5725f7;},a95_0x31dd(_0x3e7999,_0x54cfef);}export const autoDeconstruct=()=>{const _0x3b9686=a95_0x31a276;return{'name':_0x3b9686(0x208),'transform'(_0x17116f,_0x41cd17){return{'code':deconstruct(_0x17116f,_0x41cd17)};}};};
|
package/src/main.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a96_0x111bfc=a96_0x5737;(function(_0x59572c,_0x164813){const _0x2a0239=a96_0x5737,_0x30caea=_0x59572c();while(!![]){try{const _0x43e82a=-parseInt(_0x2a0239(0x79))/0x1*(-parseInt(_0x2a0239(0x7d))/0x2)+parseInt(_0x2a0239(0x7a))/0x3+-parseInt(_0x2a0239(0x81))/0x4+parseInt(_0x2a0239(0x82))/0x5+parseInt(_0x2a0239(0x76))/0x6+parseInt(_0x2a0239(0x7b))/0x7+-parseInt(_0x2a0239(0x75))/0x8*(parseInt(_0x2a0239(0x7f))/0x9);if(_0x43e82a===_0x164813)break;else _0x30caea['push'](_0x30caea['shift']());}catch(_0x39410a){_0x30caea['push'](_0x30caea['shift']());}}}(a96_0x14a1,0x4e861));import{createApp}from'vue';function a96_0x14a1(){const _0x57a007=['config','32McXBVG','mount','9dEgfOa','domid','2361968spKZkW','1980025mzhjGg','component','entries','isMobile','globalProperties','8821048LlnlVx','2594262BYzaFP','#app','use','16102NYkvMJ','1260645xfPBtf','3559689hqPEIX'];a96_0x14a1=function(){return _0x57a007;};return a96_0x14a1();}import a96_0x49a8a9 from'element-plus';import a96_0x466829 from'vant';import a96_0x5b59bc from'../packages/index.js';import'../packages/index.scss';import a96_0x4d4fed,{API_BASE_URL}from'./request.js';import a96_0x5abb0e from'@/App.vue';const app=createApp(a96_0x5abb0e);app['directive'](a96_0x111bfc(0x80),{'created'(_0x25edc6,_0xc6d2a2){}}),app[a96_0x111bfc(0x78)](a96_0x49a8a9);function a96_0x5737(_0x53d8e6,_0x596c9c){const _0x14a1cc=a96_0x14a1();return a96_0x5737=function(_0x573704,_0x22936b){_0x573704=_0x573704-0x72;let _0xece3d6=_0x14a1cc[_0x573704];return _0xece3d6;},a96_0x5737(_0x53d8e6,_0x596c9c);}for(const [key,component]of Object[a96_0x111bfc(0x72)](ElementPlusIconsVue)){app[a96_0x111bfc(0x83)](key,component);}app[a96_0x111bfc(0x78)](a96_0x466829),app[a96_0x111bfc(0x78)](a96_0x5b59bc,{'ElementPlus':a96_0x49a8a9,'Vant':a96_0x466829}),Object['assign'](app[a96_0x111bfc(0x7c)][a96_0x111bfc(0x74)],{'isMobile':window[a96_0x111bfc(0x73)],'service':{'request':a96_0x4d4fed,'API_BASE_URL':API_BASE_URL},'$store':{'app':{'sidebarCollapse':![],'toggleDuration':0x0}}}),app[a96_0x111bfc(0x7e)](a96_0x111bfc(0x77));export default app;
|
package/src/request.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a97_0x1d66(){const _0xf3bedd=['env','397473dMxbyO','error','35LfUBVP','PUT','use','http','11UoAIYW','create','54797SHWtZN','request','6686148dzwcFZ','interceptors','string','5XhmgQb','72FEqoaZ','270716KDRDaX','2ZlHiIe','API_BASE_URL','251850KuLZjx','51534yTjRiq','GET','application/json','662840FLSpYk'];a97_0x1d66=function(){return _0xf3bedd;};return a97_0x1d66();}const a97_0x79cee2=a97_0x2379;(function(_0x3328ab,_0x2ad92f){const _0x3a45c5=a97_0x2379,_0x5e8217=_0x3328ab();while(!![]){try{const _0x29a7c5=parseInt(_0x3a45c5(0x1d7))/0x1*(-parseInt(_0x3a45c5(0x1df))/0x2)+-parseInt(_0x3a45c5(0x1cf))/0x3+-parseInt(_0x3a45c5(0x1de))/0x4*(parseInt(_0x3a45c5(0x1dc))/0x5)+parseInt(_0x3a45c5(0x1e1))/0x6*(-parseInt(_0x3a45c5(0x1d1))/0x7)+-parseInt(_0x3a45c5(0x1dd))/0x8*(parseInt(_0x3a45c5(0x1e2))/0x9)+parseInt(_0x3a45c5(0x1cd))/0xa+parseInt(_0x3a45c5(0x1d5))/0xb*(parseInt(_0x3a45c5(0x1d9))/0xc);if(_0x29a7c5===_0x2ad92f)break;else _0x5e8217['push'](_0x5e8217['shift']());}catch(_0x299157){_0x5e8217['push'](_0x5e8217['shift']());}}}(a97_0x1d66,0x1a24f));const {PROD,VITE_DEV_BASE_URL,VITE_PROD_BASE_URL,VITE_TIMEOUT=0xea60}=import.meta[a97_0x79cee2(0x1ce)],API_BASE_URL=window[a97_0x79cee2(0x1e0)]||(PROD?VITE_PROD_BASE_URL:VITE_DEV_BASE_URL),createRequest=_0x13e9e2=>{const _0x38cd87=a97_0x79cee2,_0x521150=axios[_0x38cd87(0x1d6)]({'baseURL':API_BASE_URL,'timeout':VITE_TIMEOUT*0x1,..._0x13e9e2});return _0x521150[_0x38cd87(0x1da)][_0x38cd87(0x1d8)][_0x38cd87(0x1d3)](_0x19c12e=>{return _0x19c12e;},_0x3bb439=>{const _0x2718ba=_0x38cd87;console[_0x2718ba(0x1d0)](_0x3bb439);}),_0x521150[_0x38cd87(0x1da)]['response']['use'](_0x48feb5=>{return _0x48feb5;},_0x1ef666=>{const _0x49053a=_0x38cd87;console[_0x49053a(0x1d0)](_0x1ef666);}),_0x521150;},fetchRequest=(_0x3b92d0,_0x480810={})=>{const _0x2c3343=a97_0x79cee2;_0x3b92d0=_0x3b92d0['startsWith'](_0x2c3343(0x1d4))?_0x3b92d0:API_BASE_URL+_0x3b92d0;const {method:method=_0x2c3343(0x1e3),headers:_0x725614,body:_0x36c02e,..._0x2ecbb1}=_0x480810,_0x4c4a97={'method':method,..._0x2ecbb1,'headers':{'content-type':_0x2c3343(0x1cc),..._0x725614}};return[_0x2c3343(0x1d2),'POST']['includes'](method['toUpperCase']())&&(_0x4c4a97['body']=typeof _0x36c02e===_0x2c3343(0x1db)?_0x36c02e:JSON['stringify'](_0x36c02e)),fetch(_0x3b92d0,_0x4c4a97);};function a97_0x2379(_0x6f40b9,_0xed1140){const _0x1d66ea=a97_0x1d66();return a97_0x2379=function(_0x23799d,_0x5a8bf7){_0x23799d=_0x23799d-0x1cc;let _0x23c28e=_0x1d66ea[_0x23799d];return _0x23c28e;},a97_0x2379(_0x6f40b9,_0xed1140);}export default createRequest();export{API_BASE_URL,createRequest,fetchRequest};
|
package/vite.config.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
const a98_0x577640=a98_0x12cb;(function(_0x210ca5,_0xd8c0fb){const _0x349ae4=a98_0x12cb,_0x1c5743=_0x210ca5();while(!![]){try{const _0x588fb0=-parseInt(_0x349ae4(0x12a))/0x1*(parseInt(_0x349ae4(0x12d))/0x2)+-parseInt(_0x349ae4(0x133))/0x3+-parseInt(_0x349ae4(0x120))/0x4+-parseInt(_0x349ae4(0x130))/0x5*(-parseInt(_0x349ae4(0x125))/0x6)+-parseInt(_0x349ae4(0x12b))/0x7*(parseInt(_0x349ae4(0x123))/0x8)+parseInt(_0x349ae4(0x126))/0x9+-parseInt(_0x349ae4(0x134))/0xa*(-parseInt(_0x349ae4(0x129))/0xb);if(_0x588fb0===_0xd8c0fb)break;else _0x1c5743['push'](_0x1c5743['shift']());}catch(_0x51188e){_0x1c5743['push'](_0x1c5743['shift']());}}}(a98_0x55ae,0x34c00));import a98_0x423aa6 from'path';import{defineConfig}from'vite';import a98_0x4eba54 from'@vitejs/plugin-vue';import a98_0x219361 from'@vitejs/plugin-legacy';import a98_0x584be8 from'@vitejs/plugin-vue-jsx';function a98_0x12cb(_0x4f5083,_0x3ec52d){const _0x55aefb=a98_0x55ae();return a98_0x12cb=function(_0x12cbf6,_0x2b4684){_0x12cbf6=_0x12cbf6-0x11f;let _0x114c6c=_0x55aefb[_0x12cbf6];return _0x114c6c;},a98_0x12cb(_0x4f5083,_0x3ec52d);}import a98_0x1d345e from'@rollup/plugin-commonjs';import a98_0x375699 from'rollup-plugin-external-globals';import{babel}from'@rollup/plugin-babel';import{createStyleImportPlugin,VantResolve}from'vite-plugin-style-import';function a98_0x55ae(){const _0x51e292=['2863dehPof','decorators','4zUdrzp','cwd','vue/dist/vue.esm-bundler.js','10jZDiKV','join','defaults','895359JuFbqM','40zERvAN','toString','split','dist','@babel/plugin-proposal-decorators','1122188FZJHlx','includes','regenerator-runtime/runtime','8432jSbHXu','src','809868eIeDcI','2717892wGTDqj','2023-11','Vue','2085820xEeosA','52137BBQHfh'];a98_0x55ae=function(){return _0x51e292;};return a98_0x55ae();}const resolve=_0x4e53bd=>a98_0x423aa6[a98_0x577640(0x131)](process[a98_0x577640(0x12e)](),_0x4e53bd);export default defineConfig(({command:_0x2edd0d,mode:_0x3150b1})=>{const _0x57489a=a98_0x577640,_0x4fb2df={'plugins':[a98_0x4eba54({'template':{'compilerOptions':{'expressionPlugins':[[_0x57489a(0x12c),{'version':'2023-11'}]]}},'script':{'babelParserPlugins':[[_0x57489a(0x12c),{'version':_0x57489a(0x127)}],'decorators']}}),a98_0x584be8(),babel({'compact':![],'plugins':[[_0x57489a(0x11f),{'version':_0x57489a(0x127)}]]}),createStyleImportPlugin({'resolves':[VantResolve()]}),a98_0x219361({'targets':[_0x57489a(0x132)],'additionalLegacyPolyfills':[_0x57489a(0x122)]})],'runtimeCompiler':!![],'build':{'outDir':_0x57489a(0x137),'rollupOptions':{'external':['vue'],'plugins':[a98_0x1d345e(),a98_0x375699({'vue':_0x57489a(0x128)})],'output':{'manualChunks'(_0x3a8994){const _0x4e9933=_0x57489a;if(_0x3a8994[_0x4e9933(0x121)]('node_modules'))return _0x3a8994[_0x4e9933(0x135)]()['split']('node_modules/')[0x1][_0x4e9933(0x136)]('/')[0x0][_0x4e9933(0x135)]();}}}},'resolve':{'alias':{'@':resolve(_0x57489a(0x124)),'vue':_0x57489a(0x12f)}}};return _0x4fb2df;});
|
package/vite.lib.config.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a99_0x336c2b=a99_0x1278;(function(_0x37c5b4,_0xa7204a){const _0xf12f31=a99_0x1278,_0x59076e=_0x37c5b4();while(!![]){try{const _0x21b3d9=parseInt(_0xf12f31(0x1bd))/0x1*(parseInt(_0xf12f31(0x1c2))/0x2)+-parseInt(_0xf12f31(0x1c8))/0x3*(parseInt(_0xf12f31(0x1b8))/0x4)+parseInt(_0xf12f31(0x1c1))/0x5+parseInt(_0xf12f31(0x1c4))/0x6+-parseInt(_0xf12f31(0x1ba))/0x7*(parseInt(_0xf12f31(0x1c6))/0x8)+parseInt(_0xf12f31(0x1bc))/0x9*(parseInt(_0xf12f31(0x1c7))/0xa)+parseInt(_0xf12f31(0x1b9))/0xb;if(_0x21b3d9===_0xa7204a)break;else _0x59076e['push'](_0x59076e['shift']());}catch(_0x2f41e6){_0x59076e['push'](_0x59076e['shift']());}}}(a99_0x21a0,0xa50ea));import a99_0x2842f4 from'path';import{defineConfig}from'vite';function a99_0x21a0(){const _0xd04809=['includes','4163742jPVwtU','StardustUI','24oqhfoS','7870TPNiHn','5007EBivGM','index','vue/dist/vue.esm-bundler.js','Vue','vue','cwd','node_modules','2536ivrvGe','6560906vekWyP','2606184CECLfw','node_modules/','1341akZCGU','3ttqIxy','toString','join','split','5394485pqXIDm','243062pJNKTu'];a99_0x21a0=function(){return _0xd04809;};return a99_0x21a0();}import a99_0x13cbb2 from'@vitejs/plugin-vue';import a99_0x22f5bb from'@vitejs/plugin-vue-jsx';import a99_0x264ba5 from'@rollup/plugin-commonjs';import a99_0x4cec6e from'rollup-plugin-external-globals';function a99_0x1278(_0x4d1420,_0x2f15d3){const _0x21a023=a99_0x21a0();return a99_0x1278=function(_0x127839,_0x515c9f){_0x127839=_0x127839-0x1b7;let _0x45201a=_0x21a023[_0x127839];return _0x45201a;},a99_0x1278(_0x4d1420,_0x2f15d3);}import{createStyleImportPlugin,VantResolve}from'vite-plugin-style-import';const resolve=_0x4ac6ec=>a99_0x2842f4[a99_0x336c2b(0x1bf)](process[a99_0x336c2b(0x1cd)](),_0x4ac6ec);export default defineConfig(({command:_0x3a73aa,mode:_0x4d05c1})=>{const _0x5cb48d=a99_0x336c2b,_0x43c2ba={'plugins':[a99_0x13cbb2(),a99_0x22f5bb(),createStyleImportPlugin({'resolves':[VantResolve()]})],'runtimeCompiler':!![],'build':{'outDir':'./','lib':{'entry':'./packages/index.js','name':_0x5cb48d(0x1c5),'fileName':_0x5cb48d(0x1c9),'formats':['es']},'rollupOptions':{'external':[_0x5cb48d(0x1cc)],'plugins':[a99_0x264ba5()],'output':{'globals':{'vue':_0x5cb48d(0x1cb)},'manualChunks'(_0x1b6477){const _0x4e1d92=_0x5cb48d;if(_0x1b6477[_0x4e1d92(0x1c3)](_0x4e1d92(0x1b7)))return _0x1b6477[_0x4e1d92(0x1be)]()[_0x4e1d92(0x1c0)](_0x4e1d92(0x1bb))[0x1][_0x4e1d92(0x1c0)]('/')[0x0][_0x4e1d92(0x1be)]();}}}},'resolve':{'alias':{'@':resolve('src'),'vue':_0x5cb48d(0x1ca)}}};return _0x43c2ba;});
|