@wp1001/ui 3.5.6 → 3.5.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/@vant-D4fmGxs6.js +1 -1
- package/index.js +1 -1
- package/package.json +1 -1
- package/packages/assets/devtools-detector.js +1 -1
- package/packages/components/xarray/index.js +1 -1
- package/packages/components/xautorows/index.js +1 -1
- package/packages/components/xbutton/mobile.js +1 -1
- package/packages/components/xbutton/pc.js +1 -1
- package/packages/components/xbuttons/mobile.js +1 -1
- package/packages/components/xbuttons/pc.js +1 -1
- package/packages/components/xchart/constants.js +1 -1
- package/packages/components/xchart/index.js +1 -1
- package/packages/components/xchart/utils.js +1 -1
- package/packages/components/xcheckboxs/mobile.js +1 -1
- package/packages/components/xcheckboxs/pc.js +1 -1
- package/packages/components/xcol/mobile.js +1 -1
- package/packages/components/xcol/pc.js +1 -1
- package/packages/components/xdatepicker/mobile.js +1 -1
- package/packages/components/xdatepicker/pc.js +1 -1
- package/packages/components/xdialog/mobile.js +1 -1
- package/packages/components/xdialog/pc.js +1 -1
- package/packages/components/xdict/index.js +1 -1
- package/packages/components/xdistrictselect/mobile.js +1 -1
- package/packages/components/xdistrictselect/pc.js +1 -1
- package/packages/components/xform/mobile.js +1 -1
- package/packages/components/xform/pc.js +1 -1
- package/packages/components/xform/utils.js +1 -1
- package/packages/components/xformitem/mobile.js +1 -1
- package/packages/components/xformitem/pc.js +1 -1
- package/packages/components/xicon/mobile.js +1 -1
- package/packages/components/xicon/pc.js +1 -1
- package/packages/components/xinfo/index.js +1 -1
- package/packages/components/xlooper/index.js +1 -1
- package/packages/components/xpagination/mobile.js +1 -1
- package/packages/components/xpagination/pc.js +1 -1
- package/packages/components/xpicker/index.js +1 -1
- package/packages/components/xradios/mobile.js +1 -1
- package/packages/components/xradios/pc.js +1 -1
- package/packages/components/xrow/mobile.js +1 -1
- package/packages/components/xrow/pc.js +1 -1
- package/packages/components/xscan/mobile.js +1 -1
- package/packages/components/xscan/pc.js +1 -1
- package/packages/components/xsearcher/index.js +1 -1
- package/packages/components/xselect/mobile.js +1 -1
- package/packages/components/xselect/pc.js +1 -1
- package/packages/components/xselect/util.js +1 -1
- package/packages/components/xselectv2/index.js +1 -1
- package/packages/components/xtable/mobile.js +1 -1
- package/packages/components/xtable/pc.js +1 -1
- package/packages/components/xtable/searcher.js +1 -1
- package/packages/components/xtable/settings.js +1 -1
- package/packages/components/xtable/utils.js +1 -1
- package/packages/components/xtabletools/mobile.js +1 -1
- package/packages/components/xtabletools/pc.js +1 -1
- package/packages/components/xtablev2/pc.js +1 -1
- package/packages/components/xtags/mobile.js +1 -1
- package/packages/components/xtags/pc.js +1 -1
- package/packages/components/xtinymce/index.js +1 -1
- package/packages/components/xuploader/xfileuploader.js +1 -1
- package/packages/components/xuploader/ximageuploader.js +1 -1
- package/packages/comps.js +1 -1
- package/packages/controllers/BaseController.js +1 -1
- package/packages/controllers/CrudController.js +1 -1
- package/packages/controllers/TempCrudController.js +1 -1
- package/packages/controllers/index.js +1 -1
- package/packages/directives/el-table-infinite-scroll.js +1 -1
- package/packages/directives/index.js +1 -1
- package/packages/index.js +1 -1
- package/packages/layout/breadcrumb/index.js +1 -1
- package/packages/layout/header/inner.js +1 -1
- package/packages/layout/screenlock/index.js +1 -1
- package/packages/layout/sidebar/item.js +1 -1
- package/packages/layout/sidebar/menu.js +1 -1
- package/packages/layout/tagsview/ScrollPane.js +1 -1
- package/packages/layout/tagsview/index.js +1 -1
- package/packages/plop/actions/make-fill-admin-partials-action.js +1 -1
- package/packages/plop/generators/make-admin-page.js +1 -1
- package/packages/plop/generators/make-database-admin-pages.js +1 -1
- package/packages/plop/generators/make-page-generator.js +1 -1
- package/packages/plop/generators/make-simple-page.js +1 -1
- package/packages/plop/plopfile.js +1 -1
- package/packages/plop/utils/index.js +1 -1
- package/packages/plop/utils/plop-utils.js +1 -1
- package/packages/utils/crypt.js +1 -1
- package/packages/utils/decorators.js +1 -1
- package/packages/utils/disallowDevtools.js +1 -1
- package/packages/utils/effects.js +1 -1
- package/packages/utils/funcs.js +1 -1
- package/packages/utils/index.js +1 -1
- package/packages/utils/message.js +1 -1
- package/packages/utils/middlewares.js +1 -1
- package/packages/utils/model.js +1 -1
- package/packages/utils/modelUtils.js +1 -1
- package/packages/utils/request.js +1 -1
- package/packages/utils/site.js +1 -1
- package/packages/vite-plugins.js +1 -1
- package/src/main.js +1 -1
- package/src/request.js +1 -1
- package/vite.config.js +1 -1
- package/vite.lib.config.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x5f85ec,_0x5c1bb5){const _0x15ed8a=a90_0x24de,_0x586c3c=_0x5f85ec();while(!![]){try{const _0x59953b=parseInt(_0x15ed8a(0xe0))/0x1+parseInt(_0x15ed8a(0xdd))/0x2*(parseInt(_0x15ed8a(0xcc))/0x3)+-parseInt(_0x15ed8a(0xe5))/0x4+parseInt(_0x15ed8a(0xd5))/0x5+-parseInt(_0x15ed8a(0xe3))/0x6+parseInt(_0x15ed8a(0xdb))/0x7*(-parseInt(_0x15ed8a(0xc5))/0x8)+-parseInt(_0x15ed8a(0xc6))/0x9;if(_0x59953b===_0x5c1bb5)break;else _0x586c3c['push'](_0x586c3c['shift']());}catch(_0xcb9c98){_0x586c3c['push'](_0x586c3c['shift']());}}}(a90_0x289e,0xc0717));import{watch,nextTick}from'vue';import{Message}from'./message.js';const {funcs}=StardustJs;export const check404=(_0x50a478,_0x51084e,_0x526406)=>{_0x50a478['beforeEach'](async(_0x2a88a6,_0x684c23)=>{const _0x70bb6f=a90_0x24de;return!!_0x2a88a6[_0x70bb6f(0xcb)][_0x70bb6f(0xe1)]||_0x70bb6f(0xc8);});};export const setTitle=(_0x1f8535,_0x52a232,_0x252ff2)=>{_0x1f8535['afterEach']((_0xc279a0,_0x4b62e2)=>{const _0x75c2b7=a90_0x24de;document['title']=_0xc279a0[_0x75c2b7(0xcb)][_0xc279a0['matched'][_0x75c2b7(0xe1)]-0x1][_0x75c2b7(0xd1)]?.['title']||_0x52a232['app'][_0x75c2b7(0xd2)];});};export const checkRolesPages=(_0x5bab91,_0xcc92f5,_0x205250)=>{const _0x4fac3f=a90_0x24de;_0x5bab91[_0x4fac3f(0xcd)](async(_0x3e0f02,_0x3d051e)=>{const _0x20704c=_0x4fac3f,_0x1cd87b=_0x3e0f02[_0x20704c(0xcb)][_0x3e0f02[_0x20704c(0xcb)]['length']-0x1]['path'][_0x20704c(0xdf)]('/:')[0x0];if(_0x3e0f02[_0x20704c(0xd1)]['acl']===![]||_0x3e0f02['meta']?.[_0x20704c(0xd3)])return!![];while(_0xcc92f5[_0x20704c(0xda)][_0x20704c(0xc7)]){await funcs[_0x20704c(0xd7)](0x14);}await nextTick();if(_0xcc92f5[_0x20704c(0xca)]['paths'][_0x20704c(0xd9)](_0x1cd87b))return!![];const _0x1f2eb7={'redirectTo':_0x3e0f02[_0x20704c(0xc9)],..._0x3e0f02[_0x20704c(0xde)]};return _0xcc92f5[_0x20704c(0xda)][_0x20704c(0xdc)]&&(_0x1f2eb7[_0x20704c(0xd6)]='受限于您的账号权限,暂时无法访问\x20'+_0x3e0f02[_0x20704c(0xc9)]+_0x20704c(0xd8),Message({'message':_0x1f2eb7[_0x20704c(0xd6)],'duration':0x2710})),{'path':_0xcc92f5['acl'][_0x20704c(0xd0)][0x0]||'/404','query':_0x1f2eb7};}),nextTick(()=>{let _0x2e1fb0=![];watch(()=>_0xcc92f5['acl']['menus'],_0xa8d630=>{const _0x2ed6c9=a90_0x24de;if(!_0x2e1fb0){if(!_0xa8d630['length'])return;_0x2e1fb0=!![];}const _0x10e211=_0xcc92f5['acl'][_0x2ed6c9(0xd0)],_0x3135d7=(_0x32a85d,_0x3fec86)=>{const _0x22ebaf=_0x2ed6c9;let _0x284308;_0x32a85d[_0x22ebaf(0xe4)]&&!_0x32a85d['component']?_0x284308=_0x32a85d[_0x22ebaf(0xe4)]:_0x284308=[..._0x3fec86,_0x32a85d]['reduce']((_0x8db4d3,_0x119a61)=>_0x8db4d3+'/'+_0x119a61[_0x22ebaf(0xc9)],'')[_0x22ebaf(0xd4)]('//','/'),_0x32a85d[_0x22ebaf(0xd1)]||={},_0x32a85d[_0x22ebaf(0xd1)][_0x22ebaf(0xca)]===![]?_0x32a85d['children']?.[_0x22ebaf(0xe6)](_0x4f73ec=>{const _0x296242=_0x22ebaf;_0x4f73ec['meta']||={},_0x4f73ec[_0x296242(0xd1)]['acl']||=![],_0x3135d7(_0x4f73ec,[..._0x3fec86,_0x32a85d]);}):(_0x32a85d[_0x22ebaf(0xd1)][_0x22ebaf(0xce)]=_0x32a85d[_0x22ebaf(0xd1)][_0x22ebaf(0xe2)],parent&&(_0x32a85d[_0x22ebaf(0xd1)][_0x22ebaf(0xe2)]==null&&(_0x32a85d['meta'][_0x22ebaf(0xe2)]??=parent[_0x22ebaf(0xd1)]?.[_0x22ebaf(0xe2)],_0x32a85d[_0x22ebaf(0xd1)]={..._0x32a85d[_0x22ebaf(0xd1)]}),_0x32a85d[_0x22ebaf(0xd1)]['visitable']==null&&(_0x32a85d['meta']['visitable']??=parent[_0x22ebaf(0xd1)]?.['visitable'],_0x32a85d[_0x22ebaf(0xd1)]={..._0x32a85d[_0x22ebaf(0xd1)]})),_0x32a85d['children']?.[_0x22ebaf(0xe6)](_0x28403b=>_0x3135d7(_0x28403b,[..._0x3fec86,_0x32a85d])),_0x32a85d['meta']['hidden']!==![]&&_0x32a85d[_0x22ebaf(0xd1)][_0x22ebaf(0xce)]!==!![]&&(_0x32a85d[_0x22ebaf(0xd1)][_0x22ebaf(0xe2)]=!_0x10e211[_0x22ebaf(0xd9)](_0x284308),_0x32a85d[_0x22ebaf(0xcf)]?.['some'](_0x43c029=>_0x43c029[_0x22ebaf(0xd1)][_0x22ebaf(0xe2)]===![])&&(_0x32a85d['meta'][_0x22ebaf(0xe2)]=![])));};_0x205250[_0x2ed6c9(0xe6)](_0x23d09d=>_0x3135d7(_0x23d09d,[]));},{'immediate':!![]});});};function a90_0x289e(){const _0x4c2bf2=['matched','188769nsbEmM','beforeEach','_hidden','children','paths','meta','sitename','visitable','replace','3299910CTQeLZ','error','sleep','\x20页面,如有需要请联系我们','includes','getters','704158DWBKlp','logined','42FpnoDC','query','split','1515305BoMQEJ','length','hidden','9336060vUPTGB','redirect','2086920xwqKqY','forEach','16HDSlVM','3865455GUKJEc','logging','/404','path','acl'];a90_0x289e=function(){return _0x4c2bf2;};return a90_0x289e();}function a90_0x24de(_0x5e5d73,_0x523a10){const _0x289ef8=a90_0x289e();return a90_0x24de=function(_0x24de21,_0x50d30f){_0x24de21=_0x24de21-0xc5;let _0x3c65b9=_0x289ef8[_0x24de21];return _0x3c65b9;},a90_0x24de(_0x5e5d73,_0x523a10);}export default{'check404':check404,'setTitle':setTitle,'checkRolesPages':checkRolesPages};
|
package/packages/utils/model.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a91_0x45b1eb=a91_0x5632;(function(_0x2daca1,_0x31badf){const _0x335da3=a91_0x5632,_0x38d4c0=_0x2daca1();while(!![]){try{const _0x2a20c5=parseInt(_0x335da3(0xa3))/0x1+parseInt(_0x335da3(0xa6))/0x2+parseInt(_0x335da3(0xa8))/0x3*(parseInt(_0x335da3(0xa9))/0x4)+parseInt(_0x335da3(0xac))/0x5*(-parseInt(_0x335da3(0xa2))/0x6)+parseInt(_0x335da3(0xa1))/0x7+parseInt(_0x335da3(0xab))/0x8*(parseInt(_0x335da3(0xa7))/0x9)+-parseInt(_0x335da3(0xaa))/0xa;if(_0x2a20c5===_0x31badf)break;else _0x38d4c0['push'](_0x38d4c0['shift']());}catch(_0x429869){_0x38d4c0['push'](_0x38d4c0['shift']());}}}(a91_0x59a9,0x7df5f));function a91_0x59a9(){const _0x5ca93e=['_index','1625498sIkxsS','67674AiTiFR','850501gLFHNL','left','selection','1488124wiyatV','9nioCiU','12wkRyVn','267316YglbUa','15040570OPtgfv','1211832cFgPhd','100gUTrQh'];a91_0x59a9=function(){return _0x5ca93e;};return a91_0x59a9();}export const baseForm=()=>({'loading':![],'form':{},'initialForm':{},'formItems':[],'formRef':null,'formRules':{},'initialFormRules':{},'_isBaseForm':!![],'viewonly':![]});export const baseTable=(_0xaa528f={})=>({'loading':![],'query':{'page':0x1,'limit':0xa,'order':[],..._0xaa528f},'total':0x0,'moreLoading':![],'finished':![],'isInfinite':![],'list':[],'columns':[],'tableRef':null,'selection':[],'checked':null,'searchFields':[],'_isBaseTable':!![]});function a91_0x5632(_0x596a94,_0x22b8a8){const _0x59a989=a91_0x59a9();return a91_0x5632=function(_0x56327f,_0x4d7ace){_0x56327f=_0x56327f-0xa0;let _0xdd7589=_0x59a989[_0x56327f];return _0xdd7589;},a91_0x5632(_0x596a94,_0x22b8a8);}export const baseDialog=()=>({...baseForm(),'visible':![],'isEditing':![],'editingIndex':'','editingRow':{},'_isBaseDialog':!![]});export const baseModel=({table:table={},dialog:dialog={},columns:columns=[{'fixed':a91_0x45b1eb(0xa4),'type':a91_0x45b1eb(0xa5)},{'type':a91_0x45b1eb(0xa0)}],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
|
+
function a92_0x1a67(_0x232769,_0x28844a){const _0x31b489=a92_0x31b4();return a92_0x1a67=function(_0x1a672e,_0x52d688){_0x1a672e=_0x1a672e-0x80;let _0x501e33=_0x31b489[_0x1a672e];return _0x501e33;},a92_0x1a67(_0x232769,_0x28844a);}const a92_0x20cbb2=a92_0x1a67;(function(_0x4f3094,_0xdd7658){const _0x32e328=a92_0x1a67,_0x2f463c=_0x4f3094();while(!![]){try{const _0x602666=-parseInt(_0x32e328(0x9c))/0x1*(parseInt(_0x32e328(0x9f))/0x2)+-parseInt(_0x32e328(0x90))/0x3*(parseInt(_0x32e328(0xb4))/0x4)+-parseInt(_0x32e328(0x9b))/0x5+parseInt(_0x32e328(0xc2))/0x6*(-parseInt(_0x32e328(0xc5))/0x7)+-parseInt(_0x32e328(0xa7))/0x8*(-parseInt(_0x32e328(0xad))/0x9)+parseInt(_0x32e328(0xa0))/0xa*(parseInt(_0x32e328(0xac))/0xb)+parseInt(_0x32e328(0xae))/0xc;if(_0x602666===_0xdd7658)break;else _0x2f463c['push'](_0x2f463c['shift']());}catch(_0x471cb5){_0x2f463c['push'](_0x2f463c['shift']());}}}(a92_0x31b4,0x634f0));import{watch}from'vue';function a92_0x31b4(){const _0x450428=['tableAttrs','match','ElSwitch','25220XPWSsS','table','mobile','endsWith','filter','ta_','prop','label','initialForm','type','string','onBlur','virtual','form','6OZajLL','value-format','datetimerange','4144476ZVjtfk','validator','every','YYYY-MM-DD','slice','initialFormRules','fa_','blur','onChange','_isBaseForm','change','x-checkboxs','formItems','trim','number','dialog','some','end-placeholder','canAdd','YYYY-MM-DD\x20HH:mm:ss','split','78nWRkGz','assign','includes','canView','object','keys','asyncValidator','ElDatePicker','startsWith','push','一个\x20when\x20表达式中仅支持\x20&&\x20模式或\x20||\x20模式','87765NmnUfc','3AJOWTL','monthrange','formRules','449938EjoBKU','86410MxTBAD','deepCopy','datetime','comp','start-placeholder','hasOwnProperty','canEdit','212248FaMHfL','isMobile','_isBaseDialog','visible','formAttrs','44jMsKmm','108mpiwgR','18027480JeHfeB','date','platform'];a92_0x31b4=function(){return _0x450428;};return a92_0x31b4();}const {funcs}=StardustJs;export const initFields=_0x1fd6e5=>{return _0x1fd6e5['map'](_0x363c08=>{const _0x3078c3=a92_0x1a67,_0xab8890=Object['keys'](_0x363c08);for(let _0x2ea849 of _0xab8890){if(_0x2ea849[_0x3078c3(0x98)](_0x3078c3(0xb9)))_0x363c08[_0x3078c3(0xb1)]??={},_0x363c08['tableAttrs'][_0x2ea849['slice'](0x3)]=_0x363c08[_0x2ea849],delete _0x363c08[_0x2ea849];else _0x2ea849[_0x3078c3(0x98)](_0x3078c3(0x81))&&(_0x363c08[_0x3078c3(0xab)]??={},_0x363c08[_0x3078c3(0xab)][_0x2ea849[_0x3078c3(0xc9)](0x3)]=_0x363c08[_0x2ea849],delete _0x363c08[_0x2ea849]);}if(_0x363c08[_0x3078c3(0xbd)]===_0x3078c3(0xaf))_0x363c08[_0x3078c3(0xab)]??={},_0x363c08['formAttrs'][_0x3078c3(0xc3)]??=_0x3078c3(0xc8);else _0x363c08['type']===_0x3078c3(0xa2)&&(_0x363c08[_0x3078c3(0xab)]??={},_0x363c08['formAttrs'][_0x3078c3(0xc3)]??=_0x3078c3(0x8e));return _0x363c08['xs']??=0x18,_0x363c08;});};export const initModel=(_0xb4000a,_0x3af99a)=>{const _0x200a16=a92_0x1a67;for(let _0x379119 in _0xb4000a){const _0x18e371=_0xb4000a[_0x379119];if(!_0x18e371||typeof _0x18e371!==_0x200a16(0x94))continue;_0x379119===_0x200a16(0xb5)&&_0xb4000a[_0x379119]['_isBaseTable']&&initTable(_0x18e371,_0x3af99a),_0x379119===_0x200a16(0x8a)&&_0xb4000a[_0x379119]['_isBaseDialog']&&initDialog(_0x18e371,_0x3af99a),_0x379119===_0x200a16(0xc1)&&_0xb4000a[_0x379119][_0x200a16(0x84)]&&initForm(_0x18e371,_0x3af99a);}return _0xb4000a;};export const initTable=(_0x410bc1,_0x2ab687)=>{return _0x410bc1['columns']['push'](..._0x2ab687['filter'](_0x515a87=>{const _0x1428ae=a92_0x1a67;return _0x515a87['visible']===![]?_0x515a87[_0x1428ae(0x93)]:_0x515a87[_0x1428ae(0x93)]!==![];})),_0x410bc1;};export const initDialog=(_0x40704b,_0x2ee3b8)=>{const _0x7ecc1f=a92_0x1a67;return _0x40704b[_0x7ecc1f(0x87)]=_0x2ee3b8[_0x7ecc1f(0xb8)](_0x4723d6=>{const _0x3fd779=_0x7ecc1f;if(_0x4723d6[_0x3fd779(0xaa)]===![])return _0x4723d6[_0x3fd779(0x8d)]||_0x4723d6[_0x3fd779(0xa6)];return _0x4723d6['canAdd']!==![]||_0x4723d6['canEdit']!==![];}),initForm(_0x40704b,_0x2ee3b8),_0x40704b;};export const initForm=(_0x4dd429,_0x4e93f9)=>{const _0x243cde=a92_0x1a67;_0x4dd429[_0x243cde(0x84)]&&!_0x4dd429[_0x243cde(0xa9)]&&(_0x4dd429[_0x243cde(0x87)]=_0x4e93f9[_0x243cde(0xb8)](_0x4e15e6=>_0x4e15e6[_0x243cde(0xaa)]!==![]));initDefaultForm(_0x4dd429[_0x243cde(0xc1)],_0x4dd429[_0x243cde(0x87)]),_0x4dd429[_0x243cde(0xbc)]=funcs['deepCopy'](_0x4dd429[_0x243cde(0xc1)]),_0x4dd429[_0x243cde(0x80)]=funcs['deepCopy'](_0x4dd429[_0x243cde(0x9e)]);const _0x583f4e=()=>{initFormRules(_0x4dd429);};return watch(()=>_0x4dd429['formItems'],_0x583f4e,{'immediate':!![],'deep':!![]}),_0x4dd429;};export const initFormRules=_0x34115a=>{const _0x10fe11=a92_0x1a67,{formItems:_0x145ce4,initialFormRules:_0x271ca7}=_0x34115a;Object[_0x10fe11(0x91)](_0x34115a[_0x10fe11(0x9e)],funcs[_0x10fe11(0xa1)](_0x271ca7)),Object[_0x10fe11(0x95)](_0x34115a[_0x10fe11(0x9e)])['forEach'](_0x2fdacb=>{const _0xd9789e=_0x10fe11;!_0x271ca7[_0xd9789e(0xa5)](_0x2fdacb)&&delete _0x34115a[_0xd9789e(0x9e)][_0x2fdacb];});const _0x11b75a={};return _0x145ce4['forEach'](_0x5c53dc=>{const _0x31575e=_0x10fe11;if(_0x34115a['formRules'][_0x5c53dc[_0x31575e(0xba)]])return;if(!_0x5c53dc['required']&&!_0x5c53dc['validator']&&!_0x5c53dc['asyncValidator'])return;const _0x328593=_0x5c53dc[_0x31575e(0xb0)]||_0x34115a['platform']||(window[_0x31575e(0xa8)]?_0x31575e(0xb6):'pc'),_0x17d58f=triggers[_0x328593],_0x77753c=[],_0x13ee28='options'in _0x5c53dc,_0x1550ae='请'+(_0x5c53dc[_0x31575e(0xc6)]||_0x5c53dc['asyncValidator']?'正确':'')+(_0x13ee28?'选择':'输入')+(_0x5c53dc?.[_0x31575e(0xbb)]||_0x5c53dc[_0x31575e(0xba)]),_0x4be06b={'required':!![],'message':_0x1550ae};if(_0x5c53dc[_0x31575e(0xc6)])_0x4be06b[_0x31575e(0xc6)]=(_0x1786a7,_0x581bea)=>{const _0xabd45e=_0x31575e;return _0x328593==='pc'?_0x5c53dc[_0xabd45e(0xc6)](_0x1786a7,_0x581bea):_0x5c53dc[_0xabd45e(0xc6)](_0x581bea,_0x1786a7);};if(_0x5c53dc['asyncValidator'])_0x4be06b[_0x31575e(0x96)]=(_0x4d0da6,_0x176e7f)=>{const _0x969d5d=_0x31575e;return _0x328593==='pc'?_0x5c53dc[_0x969d5d(0x96)](_0x4d0da6,_0x176e7f):_0x5c53dc[_0x969d5d(0x96)](_0x176e7f,_0x4d0da6);};!_0x5c53dc[_0x31575e(0xa3)]?_0x77753c[_0x31575e(0x99)]({..._0x4be06b,'trigger':_0x17d58f['blur']}):_0x77753c[_0x31575e(0x99)]({..._0x4be06b,'trigger':_0x17d58f[_0x31575e(0x85)]}),_0x5c53dc[_0x31575e(0xa3)]==='ElInputNumber'&&_0x77753c[_0x31575e(0x99)]({..._0x4be06b,'trigger':_0x17d58f[_0x31575e(0x82)]}),_0x11b75a[_0x5c53dc['prop']]=_0x77753c;}),Object['assign'](_0x34115a[_0x10fe11(0x9e)],_0x11b75a),_0x34115a['formRules'];};export const initDefaultForm=(_0x5da106,_0x4c91b4,_0x4056ff=!![])=>{const _0x1caa13=a92_0x1a67,_0x8a8e86={};return _0x4c91b4['forEach'](_0x527526=>{const _0xeb4071=a92_0x1a67;if(!_0x527526[_0xeb4071(0xba)]||_0x527526[_0xeb4071(0xc0)])return;let _0x254128='';const {type:_0x208dc7,options:_0x2836c9}=_0x527526,{multiple:_0x161eec}=_0x527526[_0xeb4071(0xab)]||{};if(_0x4056ff&&_0x208dc7==='number'||_0x527526[_0xeb4071(0xa3)]==='ElInputNumber')_0x254128=null;else{if(_0x527526['comp']===_0xeb4071(0xb3))_0x254128=![];else{if(_0x2836c9&&(_0x527526['comp']?.[_0xeb4071(0xb7)]('XCheckboxs')||_0x527526['comp']?.[_0xeb4071(0xb7)](_0xeb4071(0x86))||_0x161eec))_0x254128=[];else{if(_0x527526['comp']===_0xeb4071(0x97)&&[_0xeb4071(0xc4),'daterange',_0xeb4071(0x9d)]['includes'](_0x527526[_0xeb4071(0xbd)])){const _0x393c18={'datetimerange':'时间','daterange':'日期','monthrange':'月份'}[_0x527526[_0xeb4071(0xbd)]];!_0x527526[_0xeb4071(0xa4)]&&(_0x527526[_0xeb4071(0xa4)]='开始'+_0x393c18),!_0x527526['end-placeholder']&&(_0x527526[_0xeb4071(0x8c)]='结束'+_0x393c18),_0x254128=[];}}}}_0x8a8e86[_0x527526[_0xeb4071(0xba)]]=_0x254128;}),Object[_0x1caa13(0x91)](_0x5da106,{..._0x8a8e86,..._0x5da106}),_0x5da106;};export const isWhenMatched=(_0x109457,_0x35e54e)=>{const _0x5f37ab=a92_0x1a67;if(!_0x109457)return!![];const _0x4c9eca=_0x109457[_0x5f37ab(0x8f)](/\s?(&&|\|\|)\s?/g);if(_0x4c9eca[_0x5f37ab(0x92)]('&&')&&_0x4c9eca['includes']('||'))throw _0x5f37ab(0x9a);const _0x3e8d76=_0x4c9eca[_0x5f37ab(0x92)]('&&'),_0x114102=/[\^\*\$\~\!]?=/,_0x7b8553=_0x4c9eca[_0x5f37ab(0xb8)](_0x4df7e4=>_0x4df7e4!=='&&'&&_0x4df7e4!=='||');return _0x7b8553[_0x3e8d76?_0x5f37ab(0xc7):_0x5f37ab(0x8b)](_0x11fd8d=>{const _0x196a34=_0x5f37ab;let [_0x4f5c10,_0x385113]=_0x11fd8d[_0x196a34(0x8f)](_0x114102);_0x385113=_0x385113[_0x196a34(0x8f)]('|');let _0x56524c=_0x35e54e[_0x4f5c10];if(typeof _0x56524c===_0x196a34(0x89))_0x56524c+='';else{if(typeof _0x56524c===_0x196a34(0xbe))_0x56524c=_0x56524c[_0x196a34(0x88)]();}const _0x50b314=_0x11fd8d[_0x196a34(0xb2)](_0x114102)[0x0];if(_0x50b314==='!=')return!_0x385113[_0x196a34(0x92)](_0x56524c);return _0x385113['some'](_0x46426c=>{const _0x29e801=_0x196a34;if(_0x50b314==='^=')return _0x56524c?.[_0x29e801(0x98)](_0x46426c);else{if(_0x50b314==='*=')return _0x56524c?.[_0x29e801(0x92)](_0x46426c);else{if(_0x50b314==='$=')return _0x56524c?.[_0x29e801(0xb7)](_0x46426c);else{if(_0x50b314==='~=')return!_0x56524c?.[_0x29e801(0x92)](_0x46426c);else{if(_0x50b314==='!=')return _0x56524c!==_0x46426c;}}}}return _0x46426c===_0x56524c;});});};export const triggers={'mobile':{'blur':a92_0x20cbb2(0xbf),'change':a92_0x20cbb2(0x83)},'pc':{'blur':a92_0x20cbb2(0x82),'change':a92_0x20cbb2(0x85)}};export default{'initFields':initFields,'initModel':initModel,'initTable':initTable,'initDialog':initDialog,'initForm':initForm,'initFormRules':initFormRules,'initDefaultForm':initDefaultForm,'isWhenMatched':isWhenMatched,'triggers':triggers};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x420bc7,_0x1d7892){const _0x252ca0=a93_0x4ad7,_0x52b650=_0x420bc7();while(!![]){try{const _0x28371e=-parseInt(_0x252ca0(0x7f))/0x1+parseInt(_0x252ca0(0x89))/0x2*(-parseInt(_0x252ca0(0x6d))/0x3)+parseInt(_0x252ca0(0x8a))/0x4*(-parseInt(_0x252ca0(0x99))/0x5)+-parseInt(_0x252ca0(0x87))/0x6+-parseInt(_0x252ca0(0x98))/0x7+parseInt(_0x252ca0(0x8b))/0x8+parseInt(_0x252ca0(0x7c))/0x9;if(_0x28371e===_0x1d7892)break;else _0x52b650['push'](_0x52b650['shift']());}catch(_0xdc664a){_0x52b650['push'](_0x52b650['shift']());}}}(a93_0xa87d,0x9b149));function a93_0x4ad7(_0xd8faa4,_0x322002){const _0xa87d91=a93_0xa87d();return a93_0x4ad7=function(_0x4ad7c6,_0x40ac10){_0x4ad7c6=_0x4ad7c6-0x6b;let _0x2f693e=_0xa87d91[_0x4ad7c6];return _0x2f693e;},a93_0x4ad7(_0xd8faa4,_0x322002);}import{Message}from'./message.js';const requestUse=(_0x17ebad,_0x21d02f,_0x2fb3f4,_0x136b8e,_0x2bac5f)=>{const _0x49ab7f=a93_0x4ad7;_0x2bac5f[_0x49ab7f(0x72)]['Authorization']||=_0x2fb3f4[_0x49ab7f(0x8d)]['token'];const _0x54245d=_0x17ebad['config'][_0x49ab7f(0x83)]['httpEncrypt'];if(_0x54245d!==![]){_0x2bac5f[_0x49ab7f(0x72)][_0x49ab7f(0x7b)]=_0x54245d;const _0x2630b0=_0x2bac5f[_0x49ab7f(0x79)]instanceof FormData;!_0x2630b0&&(_0x2bac5f[_0x49ab7f(0x72)][_0x49ab7f(0x71)]||=_0x49ab7f(0x93));if(_0x2bac5f[_0x49ab7f(0x90)][_0x49ab7f(0x84)]('?')>=0x0){const [_0x28db25,..._0x7150b5]=_0x2bac5f[_0x49ab7f(0x90)]['split']('?'),_0x3a4df9=_0x21d02f['encrypt'][_0x54245d](_0x7150b5[_0x49ab7f(0x92)]('?'),_0x49ab7f(0x73));_0x2bac5f[_0x49ab7f(0x90)]=_0x28db25+'?'+_0x3a4df9;}else _0x2bac5f[_0x49ab7f(0x86)]||={'__placeholder__':Date[_0x49ab7f(0x6b)]()[_0x49ab7f(0x78)](0x10)};if(_0x2bac5f[_0x49ab7f(0x86)]){const _0x4719a1=decodeURIComponent(new URLSearchParams(_0x2bac5f[_0x49ab7f(0x86)])[_0x49ab7f(0x78)]());_0x2bac5f[_0x49ab7f(0x90)]+='?'+_0x21d02f[_0x49ab7f(0x80)][_0x54245d](_0x4719a1,_0x49ab7f(0x73)),delete _0x2bac5f['params'];}if(_0x2bac5f[_0x49ab7f(0x79)]!==undefined&&!_0x2630b0){const _0x2d41e2=_0x21d02f[_0x49ab7f(0x80)][_0x54245d](JSON['stringify'](_0x2bac5f[_0x49ab7f(0x79)]),_0x49ab7f(0x85));_0x2bac5f[_0x49ab7f(0x79)]=_0x2d41e2;}}return _0x2bac5f;},responseUse=(_0x2bd904,_0x3fbff2,_0x436b1d,_0x261e33,_0x3aa79e)=>{const _0x3dc4fa=a93_0x4ad7;if([0x191,0x192,0x2711][_0x3dc4fa(0x8e)](_0x3aa79e[_0x3dc4fa(0x79)][_0x3dc4fa(0x6f)])){_0x436b1d[_0x3dc4fa(0x8d)][_0x3dc4fa(0x74)]();const _0x3f3e5c='/'+location[_0x3dc4fa(0x96)][_0x3dc4fa(0x7a)](0x2)[_0x3dc4fa(0x81)]('?')[0x0],_0x47e5e5=StardustJs[_0x3dc4fa(0x6c)][_0x3dc4fa(0x77)](location[_0x3dc4fa(0x97)][_0x3dc4fa(0x81)]('?')[0x1]||'');return _0x261e33['replace'](_0x47e5e5[_0x3dc4fa(0x82)]?_0x3dc4fa(0x75)+(_0x47e5e5[_0x3dc4fa(0x82)]||_0x3f3e5c):_0x3dc4fa(0x88)),Promise[_0x3dc4fa(0x9a)](_0x3aa79e);}else{if([0x2712][_0x3dc4fa(0x8e)](_0x3aa79e[_0x3dc4fa(0x79)][_0x3dc4fa(0x6f)]))return Message['e'](_0x3aa79e[_0x3dc4fa(0x79)][_0x3dc4fa(0x70)]),Promise[_0x3dc4fa(0x9a)](_0x3aa79e);}const _0x1e0724=_0x3aa79e['headers']['refresh-token']||_0x3aa79e[_0x3dc4fa(0x79)][_0x3dc4fa(0x7d)];_0x1e0724&&_0x436b1d[_0x3dc4fa(0x8d)]['setToken'](_0x1e0724);if(_0x3aa79e[_0x3dc4fa(0x79)][_0x3dc4fa(0x70)])return Message['e'](_0x3aa79e['data'][_0x3dc4fa(0x70)]||_0x3dc4fa(0x8c)),Promise[_0x3dc4fa(0x9a)](_0x3aa79e);return _0x3aa79e[_0x3dc4fa(0x72)][_0x3dc4fa(0x8f)]?.[_0x3dc4fa(0x8e)](_0x3dc4fa(0x91))&&(_0x3aa79e[_0x3dc4fa(0x79)]=JSON[_0x3dc4fa(0x95)](StardustJs[_0x3dc4fa(0x7e)][_0x3dc4fa(0x6e)](JSON[_0x3dc4fa(0x94)](_0x3aa79e[_0x3dc4fa(0x79)])))),Promise[_0x3dc4fa(0x76)](_0x3aa79e[_0x3dc4fa(0x79)]);};function a93_0xa87d(){const _0x230223=['Http-Encrypt','33837129UcvJck','token','dates','1196778GTPKmy','encrypt','split','redirectTo','globalProperties','indexOf','body','params','1597416RAzPlm','/login','4gLkAHV','4YsSvti','3069656IOeAWu','未知错误','user','includes','content-type','url','application/json','join','application/json;\x20charset=UTF-8','stringify','parse','hash','href','6358870bAQJOp','2250005yhqWzb','reject','now','funcs','1030131EDtcYm','convertIsoDates','code','err','Content-Type','headers','query','setExpired','/login?redirectTo=','resolve','decodeQuery','toString','data','slice'];a93_0xa87d=function(){return _0x230223;};return a93_0xa87d();}export{requestUse,responseUse};
|
package/packages/utils/site.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a94_0x13e88e=a94_0x38ff;function a94_0x38ff(_0x5d69af,_0x4df60a){const _0x4b6929=a94_0x4b69();return a94_0x38ff=function(_0x38ffab,_0x1895b2){_0x38ffab=_0x38ffab-0xb8;let _0x1b084d=_0x4b6929[_0x38ffab];return _0x1b084d;},a94_0x38ff(_0x5d69af,_0x4df60a);}function a94_0x4b69(){const _0x34be7f=['createElement','width','fill','1238926mFITQE','Text','measureText','3048825DYVHGB','450RaMrfr','2VabiCj','285192yhcVoS','getContext','3ZkMpOk','51036uLTReT','5796120YgSfqo','4631076HAyttT','px\x20Arial','1239kWiFlK','height','Style','14160924EvnUlv','11CdrNoO'];a94_0x4b69=function(){return _0x34be7f;};return a94_0x4b69();}(function(_0x405835,_0x16e8ef){const _0x4e0e94=a94_0x38ff,_0x27d932=_0x405835();while(!![]){try{const _0x2823d1=parseInt(_0x4e0e94(0xbe))/0x1*(parseInt(_0x4e0e94(0xb9))/0x2)+parseInt(_0x4e0e94(0xc1))/0x3*(parseInt(_0x4e0e94(0xc4))/0x4)+-parseInt(_0x4e0e94(0xbc))/0x5+-parseInt(_0x4e0e94(0xc2))/0x6*(-parseInt(_0x4e0e94(0xc6))/0x7)+-parseInt(_0x4e0e94(0xbf))/0x8*(parseInt(_0x4e0e94(0xbd))/0x9)+parseInt(_0x4e0e94(0xc3))/0xa+-parseInt(_0x4e0e94(0xca))/0xb*(parseInt(_0x4e0e94(0xc9))/0xc);if(_0x2823d1===_0x16e8ef)break;else _0x27d932['push'](_0x27d932['shift']());}catch(_0x144cec){_0x27d932['push'](_0x27d932['shift']());}}}(a94_0x4b69,0xde109));export const createWatermark=({text:_0x52ede0,gap:_0x2a12a5,fontSize:_0x471265,color:_0xb4e3cf,width:width=window['innerWidth'],height:height=window['innerHeight'],drawMode:drawMode=a94_0x13e88e(0xb8)})=>{const _0x2cbdab=a94_0x13e88e,_0x24276a=document[_0x2cbdab(0xcb)]('canvas');_0x24276a[_0x2cbdab(0xcc)]=width,_0x24276a[_0x2cbdab(0xc7)]=height;const _0x2d797a=_0x24276a[_0x2cbdab(0xc0)]('2d');_0x2d797a['font']=_0x471265+_0x2cbdab(0xc5),_0x2d797a[drawMode+_0x2cbdab(0xc8)]=_0xb4e3cf;const _0x800d21=_0x2d797a[_0x2cbdab(0xbb)](_0x52ede0)[_0x2cbdab(0xcc)],_0x189897=_0x800d21+_0x2a12a5,_0xdc07e=_0x471265+_0x2a12a5;for(let _0xaa9f12=_0x2a12a5/0x2;_0xaa9f12<height;_0xaa9f12+=_0xdc07e){for(let _0x2b8f3c=_0x2a12a5/0x2;_0x2b8f3c<width;_0x2b8f3c+=_0x189897){_0x2d797a[drawMode+_0x2cbdab(0xba)](_0x52ede0,_0x2b8f3c,_0xaa9f12);}}return _0x24276a;};export default{'createWatermark':createWatermark};
|
package/packages/vite-plugins.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
(function(_0x4f84f0,_0x38cc03){const _0x4bd736=a95_0x3f11,_0x296c91=_0x4f84f0();while(!![]){try{const _0x426166=-parseInt(_0x4bd736(0x1ac))/0x1+-parseInt(_0x4bd736(0x1a0))/0x2*(parseInt(_0x4bd736(0x19d))/0x3)+parseInt(_0x4bd736(0x191))/0x4+-parseInt(_0x4bd736(0x19c))/0x5+-parseInt(_0x4bd736(0x194))/0x6*(-parseInt(_0x4bd736(0x18d))/0x7)+-parseInt(_0x4bd736(0x1a4))/0x8+parseInt(_0x4bd736(0x1bd))/0x9;if(_0x426166===_0x38cc03)break;else _0x296c91['push'](_0x296c91['shift']());}catch(_0x474a9c){_0x296c91['push'](_0x296c91['shift']());}}}(a95_0x1405,0x3577f));import a95_0x4f3e37 from'node:fs';import a95_0x302864 from'node:path';const filterPrivateFields='\x0a\x20\x20const\x20filterPrivateFields\x20=\x20source\x20=>\x20{\x0a\x20\x20\x20\x20const\x20target\x20=\x20{}\x0a\x20\x20\x20\x20for\x20(let\x20key\x20in\x20source)\x20{\x0a\x20\x20\x20\x20\x20\x20if\x20(key[0]\x20!==\x20\x22$\x22\x20&&\x20key[0]\x20!==\x20\x22_\x22)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20target[key]\x20=\x20source[key]\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20return\x20target\x0a\x20\x20}\x0a\x20\x20const\x20wrapCtx\x20=\x20(_ctx,\x20model,\x20controller)\x20=>\x20{\x0a\x20\x20\x20\x20return\x20new\x20Proxy(_ctx,\x20{\x0a\x20\x20\x20\x20\x20\x20get\x20(obj,\x20prop)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(prop\x20in\x20obj)\x20return\x20obj[prop]\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20model?.[prop]\x20??\x20controller?.[prop]\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20})\x0a\x20\x20}\x0a',inject=(_0x4c6b4b,_0xfde4ef)=>{const _0x6b006d=a95_0x3f11,_0x14efac=a95_0x302864['dirname'](_0xfde4ef),_0x1d7cd4=a95_0x302864['basename'](_0xfde4ef),_0x130e3d=_0x1d7cd4['split']('.')[0x0],_0x160037=a95_0x4f3e37[_0x6b006d(0x18f)](a95_0x302864[_0x6b006d(0x1b2)](_0x14efac,_0x130e3d+_0x6b006d(0x1a1))),_0x5952a5=a95_0x4f3e37['existsSync'](a95_0x302864[_0x6b006d(0x1b2)](_0x14efac,_0x130e3d+_0x6b006d(0x1b8))),_0x12a09a=a95_0x4f3e37[_0x6b006d(0x18f)](a95_0x302864[_0x6b006d(0x1b2)](_0x14efac,'model.js')),_0x26b06a=a95_0x4f3e37['existsSync'](a95_0x302864[_0x6b006d(0x1b2)](_0x14efac,'controller.js')),_0x41807d=_0x12a09a&&!_0x4c6b4b[_0x6b006d(0x185)](_0x6b006d(0x1a9))&&!_0x4c6b4b[_0x6b006d(0x185)](_0x6b006d(0x18b))&&!_0x4c6b4b[_0x6b006d(0x185)](_0x6b006d(0x1b6)),_0x27c275=_0x26b06a&&!_0x4c6b4b[_0x6b006d(0x185)](_0x6b006d(0x1ba))&&!_0x4c6b4b[_0x6b006d(0x185)](_0x6b006d(0x18a))&&!_0x4c6b4b[_0x6b006d(0x185)](_0x6b006d(0x193));if(_0xfde4ef[_0x6b006d(0x185)](_0x6b006d(0x17d))&&_0x1d7cd4[_0x6b006d(0x185)](_0x6b006d(0x1b7))&&_0x4c6b4b['startsWith'](_0x6b006d(0x181))){_0x4c6b4b=_0x4c6b4b[_0x6b006d(0x1a5)](_0x6b006d(0x181),'<script\x20setup>\x0a');const _0x1aed1c=_0x4c6b4b[_0x6b006d(0x190)]('\x0a');_0x160037&&_0x1aed1c[_0x6b006d(0x1b1)](...[_0x6b006d(0x1a7),'@use\x20\x22./'+_0x130e3d+'-scoped.scss\x22;',_0x6b006d(0x1af)]),_0x5952a5&&_0x1aed1c[_0x6b006d(0x1b1)](...[_0x6b006d(0x19b),_0x6b006d(0x184)+_0x130e3d+'.scss\x22;','</style>']),_0x27c275&&_0x1aed1c[_0x6b006d(0x188)](0x1,0x0,_0x6b006d(0x17e),_0x6b006d(0x17c)+(_0x41807d?_0x6b006d(0x1b4):'')+_0x6b006d(0x180)),_0x41807d&&_0x1aed1c[_0x6b006d(0x188)](0x1,0x0,_0x6b006d(0x1a2),_0x6b006d(0x19e)),_0x4c6b4b=_0x1aed1c['join']('\x0a');}return _0x4c6b4b;},instantiateTables=(_0x29c260,_0x3c7bbc)=>{const _0x432ba9=a95_0x3f11,_0x23ffbb=a95_0x302864[_0x432ba9(0x186)](_0x3c7bbc),_0x4d91e0=_0x23ffbb[_0x432ba9(0x185)]('.vue'),_0x11d60b=_0x23ffbb['includes'](_0x432ba9(0x1a6));if(_0x3c7bbc[_0x432ba9(0x185)](_0x432ba9(0x17d))&&(_0x4d91e0||_0x11d60b)){const _0x17beba=_0x29c260[_0x432ba9(0x190)]('\x0a')[_0x432ba9(0x19a)](_0x5deb76=>_0x5deb76[_0x432ba9(0x182)]())[_0x432ba9(0x1bb)](_0x3eedf5=>!_0x3eedf5[_0x432ba9(0x18e)]('//'))[_0x432ba9(0x1b2)]('\x0a');let _0xeca415=[...new Set([..._0x17beba[_0x432ba9(0x197)](/[^a-z][A-Z]\w+\.(search|add|update|remove|func|batch|get)/g)]['map'](_0x1bd84d=>_0x1bd84d[0x0][_0x432ba9(0x17b)](0x1)[_0x432ba9(0x190)]('.')[0x0]))];_0xeca415=_0xeca415['filter'](_0xa9553e=>![_0x432ba9(0x1aa)][_0x432ba9(0x185)](_0xa9553e));if(_0xeca415['length']){let _0x16a1b1='';_0xeca415[_0x432ba9(0x198)](_0x4e2d67=>{const _0x2e5a34=_0x432ba9;let [_0x4bba02,_0x497e97]=_0x4e2d67[_0x2e5a34(0x190)]('_')[_0x2e5a34(0x19a)](_0x275dbf=>_0x275dbf[_0x2e5a34(0x1a5)](/[A-Z]/g,_0x400f50=>'_'+_0x400f50[_0x2e5a34(0x183)]())[_0x2e5a34(0x17b)](0x1));_0x497e97?_0x4bba02='\x27'+_0x4bba02+'\x27':(_0x497e97=_0x4bba02,_0x4bba02=_0x2e5a34(0x189)),_0x16a1b1+=_0x2e5a34(0x17f)+_0x4e2d67+_0x2e5a34(0x19f)+_0x4bba02+_0x2e5a34(0x192)+_0x497e97+_0x2e5a34(0x195);}),_0x4d91e0?_0x29c260=_0x29c260[_0x432ba9(0x1a5)](_0x432ba9(0x181),_0x432ba9(0x1a3)+_0x16a1b1)['replace'](_0x432ba9(0x18c),_0x432ba9(0x1b9)+_0x16a1b1):_0x29c260=_0x16a1b1+_0x29c260;}}return _0x29c260;},deconstruct=(_0x14796e,_0x87e218)=>{const _0x1342b9=a95_0x3f11,_0x3fb02c=a95_0x302864[_0x1342b9(0x186)](_0x87e218),_0x16a3cf=_0x3fb02c[_0x1342b9(0x185)](_0x1342b9(0x1b7));if(_0x87e218['includes'](_0x1342b9(0x17d))&&_0x16a3cf){const _0x11d3a5=_0x1342b9(0x199),_0x483eb7=_0x1342b9(0x1bc),_0x21870b=_0x14796e['includes'](_0x11d3a5),_0x48bbf4=_0x14796e[_0x1342b9(0x185)](_0x483eb7),_0x425f6e=(_0x21870b||_0x48bbf4)&&_0x14796e[_0x1342b9(0x185)](_0x1342b9(0x187)),_0x586b26=(_0x21870b||_0x48bbf4)&&_0x14796e['includes'](_0x1342b9(0x1b5));if(_0x425f6e||_0x586b26){let _0x178669=filterPrivateFields;if(_0x21870b){if(_0x425f6e&&_0x586b26)_0x178669+=_0x1342b9(0x1ab);else{if(_0x425f6e)_0x178669+=_0x1342b9(0x1ae);else _0x586b26&&(_0x178669+=_0x1342b9(0x196));}}else{_0x178669+=_0x483eb7+'\x0a';if(_0x425f6e&&_0x586b26)_0x178669+='_ctx\x20=\x20wrapCtx(_ctx,\x20filterPrivateFields(model),\x20filterPrivateFields(controller))';else{if(_0x425f6e)_0x178669+='_ctx\x20=\x20wrapCtx(_ctx,\x20filterPrivateFields(model))';else _0x586b26&&(_0x178669+=_0x1342b9(0x1b0));}_0x178669+='\x0a';}_0x14796e=_0x14796e['replace'](_0x21870b?_0x11d3a5:_0x483eb7,_0x178669);}}return _0x14796e;};export const autoInject=(_0x2ccf56={})=>{const _0x11b169=a95_0x3f11;return{'name':_0x11b169(0x1b3),'transform'(_0x577e9d,_0x13046b){const _0x4b8d81=_0x11b169;return _0x577e9d=inject(_0x577e9d,_0x13046b),_0x2ccf56[_0x4b8d81(0x1ad)]!==![]&&(_0x577e9d=instantiateTables(_0x577e9d,_0x13046b)),{'code':_0x577e9d};}};};function a95_0x3f11(_0x34753d,_0x275270){const _0x140564=a95_0x1405();return a95_0x3f11=function(_0x3f119e,_0x11fd2e){_0x3f119e=_0x3f119e-0x17b;let _0x18293d=_0x140564[_0x3f119e];return _0x18293d;},a95_0x3f11(_0x34753d,_0x275270);}function a95_0x1405(){const _0x4b0a2d=['<script>','959egKuWD','startsWith','existsSync','split','173168UoWCfo',',\x20\x27','import\x20controller','14958ebmqCn','\x27)\x0a','return\x20{\x20...__returned__,\x20...filterPrivateFields(controller)\x20}','matchAll','forEach','return\x20__returned__','map','<style\x20lang=\x22scss\x22>','792620GgiZlG','16233uSOpiV','const\x20model\x20=\x20makeModel()','\x20=\x20new\x20Table(','122KOGkJS','-scoped.scss','import\x20makeModel\x20from\x20\x27./model.js\x27','<script\x20setup>\x0a','2347240YlIuFK','replace','.js','<style\x20lang=\x22scss\x22\x20scoped>','auto-deconstruct','no\x20model','Object','return\x20{\x20...__returned__,\x20...filterPrivateFields(model),\x20...filterPrivateFields(controller)\x20}','120425OpMUnU','instantiateTables','return\x20{\x20...__returned__,\x20...filterPrivateFields(model)\x20}','</style>','_ctx\x20=\x20wrapCtx(_ctx,\x20null,\x20filterPrivateFields(controller))','push','join','auto-inject','model,\x20','import\x20makeController\x20','import\x20model','.vue','.scss','<script>\x0a','no\x20controller','filter','return\x20(_ctx,\x20_cache)\x20=>\x20{','6629391MDgiGS','slice','const\x20controller\x20=\x20makeController({\x20','/src/','import\x20makeController\x20from\x20\x27./controller.js\x27','const\x20','vue\x20})','<script\x20setup>','trim','toLowerCase','@use\x20\x22./','includes','basename','import\x20makeModel\x20','splice','DbName','const\x20controller','const\x20model'];a95_0x1405=function(){return _0x4b0a2d;};return a95_0x1405();}export const autoDeconstruct=()=>{const _0x4eb5b8=a95_0x3f11;return{'name':_0x4eb5b8(0x1a8),'transform'(_0x3ef66f,_0x34144d){return{'code':deconstruct(_0x3ef66f,_0x34144d)};}};};
|
package/src/main.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a96_0x1f29cb=a96_0x142b;(function(_0x4679eb,_0x3c1444){const _0x85de3=a96_0x142b,_0x348842=_0x4679eb();while(!![]){try{const _0x2b5a69=-parseInt(_0x85de3(0x127))/0x1*(parseInt(_0x85de3(0x120))/0x2)+-parseInt(_0x85de3(0x11d))/0x3+parseInt(_0x85de3(0x11a))/0x4*(-parseInt(_0x85de3(0x114))/0x5)+parseInt(_0x85de3(0x11b))/0x6*(parseInt(_0x85de3(0x124))/0x7)+-parseInt(_0x85de3(0x118))/0x8*(-parseInt(_0x85de3(0x119))/0x9)+parseInt(_0x85de3(0x122))/0xa+parseInt(_0x85de3(0x117))/0xb*(parseInt(_0x85de3(0x11f))/0xc);if(_0x2b5a69===_0x3c1444)break;else _0x348842['push'](_0x348842['shift']());}catch(_0x55ca08){_0x348842['push'](_0x348842['shift']());}}}(a96_0x520e,0x5f3dd));import{createApp}from'vue';import a96_0x56f295 from'element-plus';import a96_0x25666e from'vant';import a96_0x5b5ea8 from'../packages/index.js';import'../packages/index.scss';import a96_0x47ee3f,{API_BASE_URL}from'./request.js';import a96_0x19d38c from'@/App.vue';const app=createApp(a96_0x19d38c);app['directive'](a96_0x1f29cb(0x125),{'created'(_0x43e400,_0x25d084){}}),app[a96_0x1f29cb(0x123)](a96_0x56f295);function a96_0x142b(_0x5257bb,_0x60c667){const _0x520ec6=a96_0x520e();return a96_0x142b=function(_0x142ba4,_0x2a2688){_0x142ba4=_0x142ba4-0x114;let _0x3351a9=_0x520ec6[_0x142ba4];return _0x3351a9;},a96_0x142b(_0x5257bb,_0x60c667);}for(const [key,component]of Object[a96_0x1f29cb(0x116)](ElementPlusIconsVue)){app[a96_0x1f29cb(0x128)](key,component);}app['use'](a96_0x25666e),app['use'](a96_0x5b5ea8,{'ElementPlus':a96_0x56f295,'Vant':a96_0x25666e}),Object[a96_0x1f29cb(0x115)](app[a96_0x1f29cb(0x121)][a96_0x1f29cb(0x11e)],{'isMobile':window[a96_0x1f29cb(0x11c)],'service':{'request':a96_0x47ee3f,'API_BASE_URL':API_BASE_URL},'$store':{'app':{'sidebarCollapse':![],'toggleDuration':0x0}}}),app[a96_0x1f29cb(0x126)]('#app');function a96_0x520e(){const _0x1aba5a=['6BpOXzb','isMobile','1165110lcRZTV','globalProperties','20712dvvZtw','202tXnJNy','config','1378170jBopij','use','3789646zXLFqJ','domid','mount','7476rdMOMU','component','10nFhuOY','assign','entries','5588qvjsYs','1430792dCVfRA','18FsKaWs','760292UsJNLU'];a96_0x520e=function(){return _0x1aba5a;};return a96_0x520e();}export default app;
|
package/src/request.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a97_0x27da5a=a97_0x1efd;(function(_0x23213f,_0x25efe0){const _0x3f96fe=a97_0x1efd,_0xab324c=_0x23213f();while(!![]){try{const _0x27c96=-parseInt(_0x3f96fe(0x14a))/0x1*(parseInt(_0x3f96fe(0x140))/0x2)+parseInt(_0x3f96fe(0x151))/0x3+parseInt(_0x3f96fe(0x14e))/0x4+parseInt(_0x3f96fe(0x13f))/0x5+parseInt(_0x3f96fe(0x147))/0x6+parseInt(_0x3f96fe(0x153))/0x7*(parseInt(_0x3f96fe(0x13e))/0x8)+parseInt(_0x3f96fe(0x146))/0x9*(-parseInt(_0x3f96fe(0x14c))/0xa);if(_0x27c96===_0x25efe0)break;else _0xab324c['push'](_0xab324c['shift']());}catch(_0x4a8490){_0xab324c['push'](_0xab324c['shift']());}}}(a97_0x11bf,0xf2bb5));const {PROD,VITE_DEV_BASE_URL,VITE_PROD_BASE_URL,VITE_TIMEOUT=0xea60}=import.meta[a97_0x27da5a(0x152)],API_BASE_URL=window['API_BASE_URL']||(PROD?VITE_PROD_BASE_URL:VITE_DEV_BASE_URL),createRequest=_0x3ed468=>{const _0x2d9064=a97_0x27da5a,_0x4978a4=axios[_0x2d9064(0x142)]({'baseURL':API_BASE_URL,'timeout':VITE_TIMEOUT*0x1,..._0x3ed468});return _0x4978a4[_0x2d9064(0x143)]['request'][_0x2d9064(0x154)](_0x509c4d=>{return _0x509c4d;},_0x5460e2=>{console['error'](_0x5460e2);}),_0x4978a4[_0x2d9064(0x143)]['response'][_0x2d9064(0x154)](_0x16b2ce=>{return _0x16b2ce;},_0x1046a2=>{const _0x45dd0a=_0x2d9064;console[_0x45dd0a(0x150)](_0x1046a2);}),_0x4978a4;},fetchRequest=(_0x430e10,_0x52739f={})=>{const _0xdf7098=a97_0x27da5a;_0x430e10=_0x430e10[_0xdf7098(0x14d)](_0xdf7098(0x148))?_0x430e10:API_BASE_URL+_0x430e10;const {method:method=_0xdf7098(0x149),headers:_0x562b16,body:_0x3d6fcc,..._0x47e714}=_0x52739f,_0x87c44d={'method':method,..._0x47e714,'headers':{'content-type':_0xdf7098(0x141),..._0x562b16}};return[_0xdf7098(0x14f),'POST']['includes'](method[_0xdf7098(0x145)]())&&(_0x87c44d[_0xdf7098(0x14b)]=typeof _0x3d6fcc===_0xdf7098(0x144)?_0x3d6fcc:JSON['stringify'](_0x3d6fcc)),fetch(_0x430e10,_0x87c44d);};export default createRequest();function a97_0x11bf(){const _0x2d24bd=['body','597020fJTGVy','startsWith','3192888IotNwY','PUT','error','5316750qdHfLJ','env','6105197Khrite','use','16mhRBIG','3350230tvZYNp','3537322DFdOmC','application/json','create','interceptors','string','toUpperCase','414odbgiD','3145932ErZOzE','http','GET','1RRsfbL'];a97_0x11bf=function(){return _0x2d24bd;};return a97_0x11bf();}function a97_0x1efd(_0x1cbd72,_0x43f800){const _0x11bf24=a97_0x11bf();return a97_0x1efd=function(_0x1efd5b,_0x1ac7be){_0x1efd5b=_0x1efd5b-0x13e;let _0x12bad5=_0x11bf24[_0x1efd5b];return _0x12bad5;},a97_0x1efd(_0x1cbd72,_0x43f800);}export{API_BASE_URL,createRequest,fetchRequest};
|
package/vite.config.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a98_0x2628da=a98_0x5513;(function(_0x1b26d3,_0x166ce4){const _0x390a02=a98_0x5513,_0x13f4a0=_0x1b26d3();while(!![]){try{const _0x3e27fc=parseInt(_0x390a02(0x10d))/0x1*(parseInt(_0x390a02(0x11a))/0x2)+parseInt(_0x390a02(0x117))/0x3+-parseInt(_0x390a02(0x11d))/0x4*(-parseInt(_0x390a02(0x114))/0x5)+parseInt(_0x390a02(0x122))/0x6+parseInt(_0x390a02(0x110))/0x7+parseInt(_0x390a02(0x10c))/0x8+-parseInt(_0x390a02(0x118))/0x9;if(_0x3e27fc===_0x166ce4)break;else _0x13f4a0['push'](_0x13f4a0['shift']());}catch(_0x211077){_0x13f4a0['push'](_0x13f4a0['shift']());}}}(a98_0x2297,0x88a76));import a98_0xb42d5c from'path';import{defineConfig}from'vite';import a98_0x316008 from'@vitejs/plugin-vue';import a98_0x5a166d from'@vitejs/plugin-legacy';function a98_0x5513(_0x3957a1,_0x5c39b0){const _0x22971c=a98_0x2297();return a98_0x5513=function(_0x5513a2,_0x26c15e){_0x5513a2=_0x5513a2-0x10b;let _0x1c5465=_0x22971c[_0x5513a2];return _0x1c5465;},a98_0x5513(_0x3957a1,_0x5c39b0);}function a98_0x2297(){const _0x3e8d90=['dist','decorators','2236297cipSyi','@babel/plugin-proposal-decorators','vue/dist/vue.esm-bundler.js','split','690820xZwwYg','2023-11','node_modules','3294330ZzKYmA','17669655ypoWGb','node_modules/','2hFlqPC','src','regenerator-runtime/runtime','8pkPazz','vue','cwd','toString','join','384540HMyPCC','Vue','5030576kNvcJF','136208zWuKIx'];a98_0x2297=function(){return _0x3e8d90;};return a98_0x2297();}import a98_0x216dd1 from'@vitejs/plugin-vue-jsx';import a98_0x452c95 from'@rollup/plugin-commonjs';import a98_0x4248e1 from'rollup-plugin-external-globals';import{babel}from'@rollup/plugin-babel';import{createStyleImportPlugin,VantResolve}from'vite-plugin-style-import';const resolve=_0x151e31=>a98_0xb42d5c[a98_0x2628da(0x121)](process[a98_0x2628da(0x11f)](),_0x151e31);export default defineConfig(({command:_0x549cb4,mode:_0x1e66f2})=>{const _0x30e442=a98_0x2628da,_0x1c26b0={'plugins':[a98_0x316008({'template':{'compilerOptions':{'expressionPlugins':[['decorators',{'version':_0x30e442(0x115)}]]}},'script':{'babelParserPlugins':[[_0x30e442(0x10f),{'version':'2023-11'}],'decorators']}}),a98_0x216dd1(),babel({'compact':![],'plugins':[[_0x30e442(0x111),{'version':_0x30e442(0x115)}]]}),createStyleImportPlugin({'resolves':[VantResolve()]}),a98_0x5a166d({'targets':['defaults'],'additionalLegacyPolyfills':[_0x30e442(0x11c)]})],'runtimeCompiler':!![],'build':{'outDir':_0x30e442(0x10e),'rollupOptions':{'external':[_0x30e442(0x11e)],'plugins':[a98_0x452c95(),a98_0x4248e1({'vue':_0x30e442(0x10b)})],'output':{'manualChunks'(_0x54f290){const _0x90039c=_0x30e442;if(_0x54f290['includes'](_0x90039c(0x116)))return _0x54f290[_0x90039c(0x120)]()['split'](_0x90039c(0x119))[0x1][_0x90039c(0x113)]('/')[0x0][_0x90039c(0x120)]();}}}},'resolve':{'alias':{'@':resolve(_0x30e442(0x11b)),'vue':_0x30e442(0x112)}}};return _0x1c26b0;});
|
package/vite.lib.config.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a99_0x15eef5=a99_0x1b20;(function(_0x3ecbae,_0x33bc81){const _0x23ccb5=a99_0x1b20,_0x2a5524=_0x3ecbae();while(!![]){try{const _0x514e82=parseInt(_0x23ccb5(0x6d))/0x1+-parseInt(_0x23ccb5(0x72))/0x2*(parseInt(_0x23ccb5(0x79))/0x3)+-parseInt(_0x23ccb5(0x6b))/0x4*(-parseInt(_0x23ccb5(0x75))/0x5)+parseInt(_0x23ccb5(0x7f))/0x6+parseInt(_0x23ccb5(0x73))/0x7*(-parseInt(_0x23ccb5(0x6f))/0x8)+parseInt(_0x23ccb5(0x7a))/0x9+parseInt(_0x23ccb5(0x71))/0xa*(-parseInt(_0x23ccb5(0x69))/0xb);if(_0x514e82===_0x33bc81)break;else _0x2a5524['push'](_0x2a5524['shift']());}catch(_0x59693d){_0x2a5524['push'](_0x2a5524['shift']());}}}(a99_0x4b26,0x76bac));import a99_0xe3aae5 from'path';import{defineConfig}from'vite';import a99_0xf133f9 from'@vitejs/plugin-vue';import a99_0x543560 from'@vitejs/plugin-vue-jsx';import a99_0x26874f from'@rollup/plugin-commonjs';import a99_0x59efe5 from'rollup-plugin-external-globals';function a99_0x1b20(_0x191f94,_0x5a6023){const _0x4b267b=a99_0x4b26();return a99_0x1b20=function(_0x1b20c6,_0x5c3d2e){_0x1b20c6=_0x1b20c6-0x68;let _0x5f3bec=_0x4b267b[_0x1b20c6];return _0x5f3bec;},a99_0x1b20(_0x191f94,_0x5a6023);}import{createStyleImportPlugin,VantResolve}from'vite-plugin-style-import';const resolve=_0xe8db93=>a99_0xe3aae5[a99_0x15eef5(0x7e)](process[a99_0x15eef5(0x7c)](),_0xe8db93);export default defineConfig(({command:_0x2512f8,mode:_0x47220c})=>{const _0x21a451=a99_0x15eef5,_0x192e01={'plugins':[a99_0xf133f9(),a99_0x543560(),createStyleImportPlugin({'resolves':[VantResolve()]})],'runtimeCompiler':!![],'build':{'outDir':'./','lib':{'entry':_0x21a451(0x6c),'name':_0x21a451(0x68),'fileName':_0x21a451(0x7b),'formats':['es']},'rollupOptions':{'external':[_0x21a451(0x7d)],'plugins':[a99_0x26874f()],'output':{'globals':{'vue':_0x21a451(0x74)},'manualChunks'(_0x2d9e14){const _0xdc1905=_0x21a451;if(_0x2d9e14[_0xdc1905(0x76)](_0xdc1905(0x78)))return _0x2d9e14[_0xdc1905(0x6e)]()[_0xdc1905(0x70)](_0xdc1905(0x6a))[0x1][_0xdc1905(0x70)]('/')[0x0][_0xdc1905(0x6e)]();}}}},'resolve':{'alias':{'@':resolve(_0x21a451(0x77)),'vue':'vue/dist/vue.esm-bundler.js'}}};return _0x192e01;});function a99_0x4b26(){const _0xd9488d=['src','node_modules','57zOUpkA','3629349FKUPph','index','cwd','vue','join','1785144ikikuD','StardustUI','11YITsCj','node_modules/','171952yrKiZX','./packages/index.js','284798HMqhpe','toString','282520YGsUix','split','2081870fESxdy','54394tBcVCu','49sNzEJx','Vue','55Qikhzc','includes'];a99_0x4b26=function(){return _0xd9488d;};return a99_0x4b26();}
|