@wp1001/ui 3.5.3 → 3.5.5
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_0x2aaf(){const _0x12de37=['13lKvFOh','474168GQbfPR','menus','acl','app','_hidden','meta','/404','9621YYMgIE','error','title','logging','visitable','10388tfmUON','47515874ZEKNve','92262sKAIuJ','reduce','11VGfqLo','1441839fGhFuy','path','beforeEach','115MSsyIX','afterEach','split','includes','length','受限于您的账号权限,暂时无法访问\x20','matched','logined','1720wdfvHC','sleep','8766PiRNKH','hidden','89hWGRBF','forEach','some','\x20页面,如有需要请联系我们','paths','5664kEZCPc','sitename','children','getters','query','component','4NQlbQD'];a90_0x2aaf=function(){return _0x12de37;};return a90_0x2aaf();}(function(_0x43d514,_0x5aae5f){const _0x480723=a90_0x46c3,_0x209cc8=_0x43d514();while(!![]){try{const _0x335dd7=-parseInt(_0x480723(0x148))/0x1*(parseInt(_0x480723(0x146))/0x2)+-parseInt(_0x480723(0x139))/0x3*(parseInt(_0x480723(0x126))/0x4)+-parseInt(_0x480723(0x13c))/0x5*(parseInt(_0x480723(0x136))/0x6)+-parseInt(_0x480723(0x134))/0x7*(parseInt(_0x480723(0x14d))/0x8)+parseInt(_0x480723(0x12f))/0x9*(-parseInt(_0x480723(0x144))/0xa)+parseInt(_0x480723(0x138))/0xb*(-parseInt(_0x480723(0x128))/0xc)+-parseInt(_0x480723(0x127))/0xd*(-parseInt(_0x480723(0x135))/0xe);if(_0x335dd7===_0x5aae5f)break;else _0x209cc8['push'](_0x209cc8['shift']());}catch(_0x312936){_0x209cc8['push'](_0x209cc8['shift']());}}}(a90_0x2aaf,0xdaa4e));import{watch,nextTick}from'vue';import{Message}from'./message.js';function a90_0x46c3(_0x23da7c,_0x582188){const _0x2aafc9=a90_0x2aaf();return a90_0x46c3=function(_0x46c370,_0x2cfe4d){_0x46c370=_0x46c370-0x124;let _0x1bf855=_0x2aafc9[_0x46c370];return _0x1bf855;},a90_0x46c3(_0x23da7c,_0x582188);}const {funcs}=StardustJs;export const check404=(_0x726c5e,_0x3c87e0,_0xc21c5f)=>{const _0x381ff2=a90_0x46c3;_0x726c5e[_0x381ff2(0x13b)](async(_0x369f09,_0x349f30)=>{const _0xdea68=_0x381ff2;return!!_0x369f09['matched'][_0xdea68(0x140)]||_0xdea68(0x12e);});};export const setTitle=(_0x3a110c,_0x1f5cc0,_0x15bd54)=>{const _0x1db7a7=a90_0x46c3;_0x3a110c[_0x1db7a7(0x13d)]((_0x25faeb,_0x2b2f9b)=>{const _0x27c4c8=_0x1db7a7;document[_0x27c4c8(0x131)]=_0x25faeb['matched'][_0x25faeb[_0x27c4c8(0x142)][_0x27c4c8(0x140)]-0x1][_0x27c4c8(0x12d)]?.[_0x27c4c8(0x131)]||_0x1f5cc0[_0x27c4c8(0x12b)][_0x27c4c8(0x14e)];});};export const checkRolesPages=(_0x384e82,_0xef89a2,_0x431978)=>{const _0x189e33=a90_0x46c3;_0x384e82[_0x189e33(0x13b)](async(_0x4d24ad,_0x1ebeaf)=>{const _0x48b3a8=_0x189e33,_0x139461=_0x4d24ad[_0x48b3a8(0x142)][_0x4d24ad[_0x48b3a8(0x142)][_0x48b3a8(0x140)]-0x1][_0x48b3a8(0x13a)][_0x48b3a8(0x13e)]('/:')[0x0];if(_0x4d24ad[_0x48b3a8(0x12d)]['acl']===![]||_0x4d24ad[_0x48b3a8(0x12d)]?.[_0x48b3a8(0x133)])return!![];while(_0xef89a2[_0x48b3a8(0x150)][_0x48b3a8(0x132)]){await funcs[_0x48b3a8(0x145)](0x14);}await nextTick();if(_0xef89a2[_0x48b3a8(0x12a)][_0x48b3a8(0x14c)][_0x48b3a8(0x13f)](_0x139461))return!![];const _0x45ca97={'redirectTo':_0x4d24ad[_0x48b3a8(0x13a)],..._0x4d24ad[_0x48b3a8(0x124)]};return _0xef89a2['getters'][_0x48b3a8(0x143)]&&(_0x45ca97['error']=_0x48b3a8(0x141)+_0x4d24ad[_0x48b3a8(0x13a)]+_0x48b3a8(0x14b),Message({'message':_0x45ca97[_0x48b3a8(0x130)],'duration':0x2710})),{'path':_0xef89a2[_0x48b3a8(0x12a)]['paths'][0x0]||_0x48b3a8(0x12e),'query':_0x45ca97};}),nextTick(()=>{const _0x4ab1f7=_0x189e33;let _0x515d17=![];watch(()=>_0xef89a2[_0x4ab1f7(0x12a)][_0x4ab1f7(0x129)],_0x1ae43e=>{const _0x1a0250=_0x4ab1f7;if(!_0x515d17){if(!_0x1ae43e[_0x1a0250(0x140)])return;_0x515d17=!![];}const _0x4ea006=_0xef89a2[_0x1a0250(0x12a)]['paths'],_0x5a431f=(_0x1e338c,_0x2a2058)=>{const _0x5730bf=_0x1a0250;let _0x1718d6;_0x1e338c['redirect']&&!_0x1e338c[_0x5730bf(0x125)]?_0x1718d6=_0x1e338c['redirect']:_0x1718d6=[..._0x2a2058,_0x1e338c][_0x5730bf(0x137)]((_0xecb809,_0x981cb7)=>_0xecb809+'/'+_0x981cb7['path'],'')['replace']('//','/'),_0x1e338c[_0x5730bf(0x12d)]||={},_0x1e338c[_0x5730bf(0x12d)][_0x5730bf(0x12a)]===![]?_0x1e338c['children']?.[_0x5730bf(0x149)](_0x10e29a=>{const _0x26e120=_0x5730bf;_0x10e29a[_0x26e120(0x12d)]||={},_0x10e29a[_0x26e120(0x12d)]['acl']||=![],_0x5a431f(_0x10e29a,[..._0x2a2058,_0x1e338c]);}):(_0x1e338c[_0x5730bf(0x12d)][_0x5730bf(0x12c)]=_0x1e338c['meta']['hidden'],parent&&(_0x1e338c[_0x5730bf(0x12d)]['hidden']==null&&(_0x1e338c[_0x5730bf(0x12d)][_0x5730bf(0x147)]??=parent[_0x5730bf(0x12d)]?.[_0x5730bf(0x147)],_0x1e338c[_0x5730bf(0x12d)]={..._0x1e338c['meta']}),_0x1e338c['meta'][_0x5730bf(0x133)]==null&&(_0x1e338c[_0x5730bf(0x12d)][_0x5730bf(0x133)]??=parent[_0x5730bf(0x12d)]?.['visitable'],_0x1e338c[_0x5730bf(0x12d)]={..._0x1e338c[_0x5730bf(0x12d)]})),_0x1e338c[_0x5730bf(0x14f)]?.[_0x5730bf(0x149)](_0x4d1581=>_0x5a431f(_0x4d1581,[..._0x2a2058,_0x1e338c])),_0x1e338c[_0x5730bf(0x12d)][_0x5730bf(0x147)]!==![]&&_0x1e338c[_0x5730bf(0x12d)][_0x5730bf(0x12c)]!==!![]&&(_0x1e338c[_0x5730bf(0x12d)][_0x5730bf(0x147)]=!_0x4ea006[_0x5730bf(0x13f)](_0x1718d6),_0x1e338c[_0x5730bf(0x14f)]?.[_0x5730bf(0x14a)](_0x252232=>_0x252232['meta']['hidden']===![])&&(_0x1e338c[_0x5730bf(0x12d)][_0x5730bf(0x147)]=![])));};_0x431978[_0x1a0250(0x149)](_0x578e35=>_0x5a431f(_0x578e35,[]));},{'immediate':!![]});});};export default{'check404':check404,'setTitle':setTitle,'checkRolesPages':checkRolesPages};
|
package/packages/utils/model.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a91_0x5afaa5=a91_0x440d;(function(_0x182bc7,_0xcbc982){const _0xd3cafc=a91_0x440d,_0x52d9b0=_0x182bc7();while(!![]){try{const _0x458f6a=-parseInt(_0xd3cafc(0x9e))/0x1*(parseInt(_0xd3cafc(0x93))/0x2)+parseInt(_0xd3cafc(0x98))/0x3*(parseInt(_0xd3cafc(0x94))/0x4)+parseInt(_0xd3cafc(0x96))/0x5*(parseInt(_0xd3cafc(0x95))/0x6)+-parseInt(_0xd3cafc(0x9b))/0x7*(-parseInt(_0xd3cafc(0x92))/0x8)+-parseInt(_0xd3cafc(0x9a))/0x9+-parseInt(_0xd3cafc(0x91))/0xa+parseInt(_0xd3cafc(0x99))/0xb;if(_0x458f6a===_0xcbc982)break;else _0x52d9b0['push'](_0x52d9b0['shift']());}catch(_0x3b80a7){_0x52d9b0['push'](_0x52d9b0['shift']());}}}(a91_0x1df0,0x9315b));function a91_0x440d(_0x1f0e22,_0x290229){const _0x1df053=a91_0x1df0();return a91_0x440d=function(_0x440d6c,_0x3a4b86){_0x440d6c=_0x440d6c-0x91;let _0x271b8a=_0x1df053[_0x440d6c];return _0x271b8a;},a91_0x440d(_0x1f0e22,_0x290229);}export const baseForm=()=>({'loading':![],'form':{},'initialForm':{},'formItems':[],'formRef':null,'formRules':{},'initialFormRules':{},'_isBaseForm':!![],'viewonly':![]});function a91_0x1df0(){const _0x458457=['35EOYAJp','4123360ZBpDgY','27112FIiMqw','20172xqWaMt','4SDhYkM','425982Fqghbp','55LwfOkX','left','83424EScxnq','4372313QpbjaC','4066758eQPNdN','1267OTWFEb','_index','selection'];a91_0x1df0=function(){return _0x458457;};return a91_0x1df0();}export const baseTable=(_0x232c2e={})=>({'loading':![],'query':{'page':0x1,'limit':0xa,'order':[],..._0x232c2e},'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_0x5afaa5(0x97),'type':a91_0x5afaa5(0x9d)},{'type':a91_0x5afaa5(0x9c)}],query:query={},form:form={}}={})=>({'table':{...baseTable(query),...table,'columns':columns},'dialog':{...baseDialog(),...dialog,'form':form}});export default{'baseForm':baseForm,'baseTable':baseTable,'baseDialog':baseDialog,'baseModel':baseModel};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a92_0x2c68bd=a92_0xf047;(function(_0x3bf7d6,_0x9a4f42){const _0x40817c=a92_0xf047,_0x2af12d=_0x3bf7d6();while(!![]){try{const _0x4aeb98=parseInt(_0x40817c(0x1ad))/0x1*(-parseInt(_0x40817c(0x1af))/0x2)+parseInt(_0x40817c(0x1b5))/0x3*(-parseInt(_0x40817c(0x1db))/0x4)+-parseInt(_0x40817c(0x1b1))/0x5*(parseInt(_0x40817c(0x1c5))/0x6)+parseInt(_0x40817c(0x1b6))/0x7*(parseInt(_0x40817c(0x1de))/0x8)+-parseInt(_0x40817c(0x1c9))/0x9*(-parseInt(_0x40817c(0x1dd))/0xa)+-parseInt(_0x40817c(0x1c0))/0xb*(parseInt(_0x40817c(0x1e5))/0xc)+-parseInt(_0x40817c(0x1aa))/0xd*(-parseInt(_0x40817c(0x1f1))/0xe);if(_0x4aeb98===_0x9a4f42)break;else _0x2af12d['push'](_0x2af12d['shift']());}catch(_0x204e2b){_0x2af12d['push'](_0x2af12d['shift']());}}}(a92_0x113f,0x219c6));import{watch}from'vue';const {funcs}=StardustJs;export const initFields=_0x3c88ff=>{return _0x3c88ff['map'](_0x5d6354=>{const _0x176e0d=a92_0xf047,_0x1a2569=Object['keys'](_0x5d6354);for(let _0x81b1df of _0x1a2569){if(_0x81b1df[_0x176e0d(0x1e2)](_0x176e0d(0x1d7)))_0x5d6354[_0x176e0d(0x1d3)]??={},_0x5d6354[_0x176e0d(0x1d3)][_0x81b1df[_0x176e0d(0x1b3)](0x3)]=_0x5d6354[_0x81b1df],delete _0x5d6354[_0x81b1df];else _0x81b1df['startsWith']('fa_')&&(_0x5d6354[_0x176e0d(0x1c4)]??={},_0x5d6354['formAttrs'][_0x81b1df[_0x176e0d(0x1b3)](0x3)]=_0x5d6354[_0x81b1df],delete _0x5d6354[_0x81b1df]);}if(_0x5d6354[_0x176e0d(0x1cd)]===_0x176e0d(0x1d1))_0x5d6354[_0x176e0d(0x1c4)]??={},_0x5d6354[_0x176e0d(0x1c4)][_0x176e0d(0x1ec)]??=_0x176e0d(0x1d9);else _0x5d6354[_0x176e0d(0x1cd)]===_0x176e0d(0x1d5)&&(_0x5d6354['formAttrs']??={},_0x5d6354[_0x176e0d(0x1c4)]['value-format']??=_0x176e0d(0x1b9));return _0x5d6354['xs']??=0x18,_0x5d6354;});};export const initModel=(_0x440503,_0x4ad57e)=>{const _0x2098ed=a92_0xf047;for(let _0x564161 in _0x440503){const _0x460998=_0x440503[_0x564161];if(!_0x460998||typeof _0x460998!==_0x2098ed(0x1ce))continue;_0x564161==='table'&&_0x440503[_0x564161][_0x2098ed(0x1d2)]&&initTable(_0x460998,_0x4ad57e),_0x564161===_0x2098ed(0x1ea)&&_0x440503[_0x564161]['_isBaseDialog']&&initDialog(_0x460998,_0x4ad57e),_0x564161===_0x2098ed(0x1ac)&&_0x440503[_0x564161]['_isBaseForm']&&initForm(_0x460998,_0x4ad57e);}return _0x440503;};export const initTable=(_0x5e3fff,_0x32010f)=>{const _0x12f282=a92_0xf047;return _0x5e3fff[_0x12f282(0x1ef)][_0x12f282(0x1c1)](..._0x32010f['filter'](_0x1a8b1a=>{const _0xd7862a=_0x12f282;return _0x1a8b1a[_0xd7862a(0x1c3)]===![]?_0x1a8b1a[_0xd7862a(0x1e1)]:_0x1a8b1a[_0xd7862a(0x1e1)]!==![];})),_0x5e3fff;};function a92_0x113f(){const _0x3d58d4=['mobile','match','assign','type','object','x-checkboxs','string','date','_isBaseTable','tableAttrs','deepCopy','datetime','ElSwitch','ta_','platform','YYYY-MM-DD','formRules','28mbLDas','onBlur','35870IsjFYF','8lWwQEU','canAdd','label','canView','startsWith','some','split','2853816kfqoYX','every','ElInputNumber','formItems','_isBaseDialog','dialog','prop','value-format','required','canEdit','columns','trim','2198YnGDrT','一个\x20when\x20表达式中仅支持\x20&&\x20模式或\x20||\x20模式','17641qfHKbo','endsWith','form','5wVQxeM','comp','1600AoAKqJ','daterange','100syYjoy','keys','slice','number','12231MGvsBR','1699397pHMUBb','forEach','validator','YYYY-MM-DD\x20HH:mm:ss','start-placeholder','blur','virtual','XCheckboxs','hasOwnProperty','isMobile','11hNCMzP','push','asyncValidator','visible','formAttrs','58458EaZJcn','onChange','includes','filter','369XRHYcg'];a92_0x113f=function(){return _0x3d58d4;};return a92_0x113f();}export const initDialog=(_0x35aeac,_0x5e9c1c)=>{const _0x551c8c=a92_0xf047;return _0x35aeac['formItems']=_0x5e9c1c[_0x551c8c(0x1c8)](_0x22db8a=>{const _0x12d756=_0x551c8c;if(_0x22db8a[_0x12d756(0x1c3)]===![])return _0x22db8a[_0x12d756(0x1df)]||_0x22db8a[_0x12d756(0x1ee)];return _0x22db8a[_0x12d756(0x1df)]!==![]||_0x22db8a[_0x12d756(0x1ee)]!==![];}),initForm(_0x35aeac,_0x5e9c1c),_0x35aeac;};export const initForm=(_0x456354,_0x2bb6bf)=>{const _0x174eb5=a92_0xf047;_0x456354['_isBaseForm']&&!_0x456354[_0x174eb5(0x1e9)]&&(_0x456354[_0x174eb5(0x1e8)]=_0x2bb6bf['filter'](_0x46dbaf=>_0x46dbaf['visible']!==![]));initDefaultForm(_0x456354['form'],_0x456354['formItems']),_0x456354['initialForm']=funcs[_0x174eb5(0x1d4)](_0x456354[_0x174eb5(0x1ac)]),_0x456354['initialFormRules']=funcs['deepCopy'](_0x456354[_0x174eb5(0x1da)]);const _0xa941c8=()=>{initFormRules(_0x456354);};return watch(()=>_0x456354[_0x174eb5(0x1e8)],_0xa941c8,{'immediate':!![],'deep':!![]}),_0x456354;};export const initFormRules=_0x336110=>{const _0x2e51c4=a92_0xf047,{formItems:_0x1f362e,initialFormRules:_0x21a5a8}=_0x336110;Object['assign'](_0x336110[_0x2e51c4(0x1da)],funcs[_0x2e51c4(0x1d4)](_0x21a5a8)),Object[_0x2e51c4(0x1b2)](_0x336110['formRules'])[_0x2e51c4(0x1b7)](_0x54f056=>{const _0x29140c=_0x2e51c4;!_0x21a5a8[_0x29140c(0x1be)](_0x54f056)&&delete _0x336110[_0x29140c(0x1da)][_0x54f056];});const _0x404280={};return _0x1f362e[_0x2e51c4(0x1b7)](_0x12c872=>{const _0x279942=_0x2e51c4;if(_0x336110['formRules'][_0x12c872[_0x279942(0x1eb)]])return;if(!_0x12c872[_0x279942(0x1ed)]&&!_0x12c872[_0x279942(0x1b8)]&&!_0x12c872[_0x279942(0x1c2)])return;const _0x5668a7=_0x12c872[_0x279942(0x1d8)]||_0x336110['platform']||(window[_0x279942(0x1bf)]?_0x279942(0x1ca):'pc'),_0x4a3ce4=triggers[_0x5668a7],_0x259d5d=[],_0x394dd6='options'in _0x12c872,_0x524a8f='请'+(_0x12c872[_0x279942(0x1b8)]||_0x12c872['asyncValidator']?'正确':'')+(_0x394dd6?'选择':'输入')+(_0x12c872?.[_0x279942(0x1e0)]||_0x12c872[_0x279942(0x1eb)]),_0x4d9472={'required':!![],'message':_0x524a8f};if(_0x12c872[_0x279942(0x1b8)])_0x4d9472[_0x279942(0x1b8)]=(_0xdf5332,_0x44e578)=>{const _0x562144=_0x279942;return _0x5668a7==='pc'?_0x12c872[_0x562144(0x1b8)](_0xdf5332,_0x44e578):_0x12c872[_0x562144(0x1b8)](_0x44e578,_0xdf5332);};if(_0x12c872[_0x279942(0x1c2)])_0x4d9472['asyncValidator']=(_0x4b16a7,_0x504b78)=>{const _0x4ec820=_0x279942;return _0x5668a7==='pc'?_0x12c872['asyncValidator'](_0x4b16a7,_0x504b78):_0x12c872[_0x4ec820(0x1c2)](_0x504b78,_0x4b16a7);};!_0x12c872['comp']?_0x259d5d[_0x279942(0x1c1)]({..._0x4d9472,'trigger':_0x4a3ce4['blur']}):_0x259d5d[_0x279942(0x1c1)]({..._0x4d9472,'trigger':_0x4a3ce4['change']}),_0x12c872[_0x279942(0x1ae)]===_0x279942(0x1e7)&&_0x259d5d['push']({..._0x4d9472,'trigger':_0x4a3ce4[_0x279942(0x1bb)]}),_0x404280[_0x12c872[_0x279942(0x1eb)]]=_0x259d5d;}),Object[_0x2e51c4(0x1cc)](_0x336110[_0x2e51c4(0x1da)],_0x404280),_0x336110[_0x2e51c4(0x1da)];};function a92_0xf047(_0x42f5c4,_0x3f8799){const _0x113fbe=a92_0x113f();return a92_0xf047=function(_0xf047fb,_0x3e950b){_0xf047fb=_0xf047fb-0x1a9;let _0x16aa1a=_0x113fbe[_0xf047fb];return _0x16aa1a;},a92_0xf047(_0x42f5c4,_0x3f8799);}export const initDefaultForm=(_0x326b59,_0x3dcd14,_0xa759d9=!![])=>{const _0x4ebcb4=a92_0xf047,_0x4ecdb8={};return _0x3dcd14[_0x4ebcb4(0x1b7)](_0x151edf=>{const _0x32b1dd=_0x4ebcb4;if(!_0x151edf[_0x32b1dd(0x1eb)]||_0x151edf[_0x32b1dd(0x1bc)])return;let _0x57fd08='';const {type:_0x3a2417,options:_0x263554}=_0x151edf,{multiple:_0x8be7e3}=_0x151edf[_0x32b1dd(0x1c4)]||{};if(_0xa759d9&&_0x3a2417===_0x32b1dd(0x1b4)||_0x151edf[_0x32b1dd(0x1ae)]===_0x32b1dd(0x1e7))_0x57fd08=null;else{if(_0x151edf['comp']===_0x32b1dd(0x1d6))_0x57fd08=![];else{if(_0x263554&&(_0x151edf[_0x32b1dd(0x1ae)]?.[_0x32b1dd(0x1ab)](_0x32b1dd(0x1bd))||_0x151edf[_0x32b1dd(0x1ae)]?.[_0x32b1dd(0x1ab)](_0x32b1dd(0x1cf))||_0x8be7e3))_0x57fd08=[];else{if(_0x151edf[_0x32b1dd(0x1ae)]==='ElDatePicker'&&['datetimerange',_0x32b1dd(0x1b0),'monthrange'][_0x32b1dd(0x1c7)](_0x151edf[_0x32b1dd(0x1cd)])){const _0x4c4fee={'datetimerange':'时间','daterange':'日期','monthrange':'月份'}[_0x151edf[_0x32b1dd(0x1cd)]];!_0x151edf[_0x32b1dd(0x1ba)]&&(_0x151edf[_0x32b1dd(0x1ba)]='开始'+_0x4c4fee),!_0x151edf['end-placeholder']&&(_0x151edf['end-placeholder']='结束'+_0x4c4fee),_0x57fd08=[];}}}}_0x4ecdb8[_0x151edf['prop']]=_0x57fd08;}),Object[_0x4ebcb4(0x1cc)](_0x326b59,{..._0x4ecdb8,..._0x326b59}),_0x326b59;};export const isWhenMatched=(_0x300459,_0x5b1c8e)=>{const _0x5968d7=a92_0xf047;if(!_0x300459)return!![];const _0x27d5bc=_0x300459['split'](/\s?(&&|\|\|)\s?/g);if(_0x27d5bc[_0x5968d7(0x1c7)]('&&')&&_0x27d5bc[_0x5968d7(0x1c7)]('||'))throw _0x5968d7(0x1a9);const _0x3e49bf=_0x27d5bc['includes']('&&'),_0x487d3c=/[\^\*\$\~\!]?=/,_0x4d6035=_0x27d5bc['filter'](_0x45b2a4=>_0x45b2a4!=='&&'&&_0x45b2a4!=='||');return _0x4d6035[_0x3e49bf?_0x5968d7(0x1e6):_0x5968d7(0x1e3)](_0x460680=>{const _0x3bc48b=_0x5968d7;let [_0x1dfb99,_0x4d460c]=_0x460680['split'](_0x487d3c);_0x4d460c=_0x4d460c[_0x3bc48b(0x1e4)]('|');let _0x5cf322=_0x5b1c8e[_0x1dfb99];if(typeof _0x5cf322===_0x3bc48b(0x1b4))_0x5cf322+='';else{if(typeof _0x5cf322===_0x3bc48b(0x1d0))_0x5cf322=_0x5cf322[_0x3bc48b(0x1f0)]();}const _0x373291=_0x460680[_0x3bc48b(0x1cb)](_0x487d3c)[0x0];if(_0x373291==='!=')return!_0x4d460c[_0x3bc48b(0x1c7)](_0x5cf322);return _0x4d460c[_0x3bc48b(0x1e3)](_0x5f110c=>{const _0x5c3f29=_0x3bc48b;if(_0x373291==='^=')return _0x5cf322?.[_0x5c3f29(0x1e2)](_0x5f110c);else{if(_0x373291==='*=')return _0x5cf322?.[_0x5c3f29(0x1c7)](_0x5f110c);else{if(_0x373291==='$=')return _0x5cf322?.[_0x5c3f29(0x1ab)](_0x5f110c);else{if(_0x373291==='~=')return!_0x5cf322?.[_0x5c3f29(0x1c7)](_0x5f110c);else{if(_0x373291==='!=')return _0x5cf322!==_0x5f110c;}}}}return _0x5f110c===_0x5cf322;});});};export const triggers={'mobile':{'blur':a92_0x2c68bd(0x1dc),'change':a92_0x2c68bd(0x1c6)},'pc':{'blur':a92_0x2c68bd(0x1bb),'change':'change'}};export default{'initFields':initFields,'initModel':initModel,'initTable':initTable,'initDialog':initDialog,'initForm':initForm,'initFormRules':initFormRules,'initDefaultForm':initDefaultForm,'isWhenMatched':isWhenMatched,'triggers':triggers};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x49c06d,_0xd20807){const _0x287cec=a93_0x9967,_0x18b31d=_0x49c06d();while(!![]){try{const _0x391e37=parseInt(_0x287cec(0x139))/0x1*(parseInt(_0x287cec(0x118))/0x2)+-parseInt(_0x287cec(0x124))/0x3*(-parseInt(_0x287cec(0x11f))/0x4)+parseInt(_0x287cec(0x138))/0x5+parseInt(_0x287cec(0x140))/0x6*(-parseInt(_0x287cec(0x11e))/0x7)+-parseInt(_0x287cec(0x133))/0x8+-parseInt(_0x287cec(0x113))/0x9+parseInt(_0x287cec(0x11d))/0xa;if(_0x391e37===_0xd20807)break;else _0x18b31d['push'](_0x18b31d['shift']());}catch(_0x5a02ce){_0x18b31d['push'](_0x18b31d['shift']());}}}(a93_0x1446,0x97476));function a93_0x9967(_0x3dbb83,_0x88c9ea){const _0x144690=a93_0x1446();return a93_0x9967=function(_0x99678c,_0xbf5f3e){_0x99678c=_0x99678c-0x113;let _0x4e5ffb=_0x144690[_0x99678c];return _0x4e5ffb;},a93_0x9967(_0x3dbb83,_0x88c9ea);}function a93_0x1446(){const _0x185d72=['replace','decodeQuery','5400685irqWpf','2563EuFXjf','config','includes','application/json','query','/login?redirectTo=','/login','408MQjxua','7522758YfChGJ','indexOf','url','Authorization','join','82nnCXZW','stringify','body','data','globalProperties','14686050AURvnv','118762aOtcvh','716FYZzjl','refresh-token','Content-Type','params','Http-Encrypt','183fLfQAq','application/json;\x20charset=UTF-8','setExpired','setToken','未知错误','now','reject','user','err','headers','convertIsoDates','split','encrypt','toString','content-type','444448luISpw','token','resolve'];a93_0x1446=function(){return _0x185d72;};return a93_0x1446();}import{Message}from'./message.js';const requestUse=(_0xdd751,_0x10eaa3,_0x5e845c,_0x534c90,_0x441679)=>{const _0x1e873f=a93_0x9967;_0x441679[_0x1e873f(0x12d)][_0x1e873f(0x116)]||=_0x5e845c['user'][_0x1e873f(0x134)];const _0x2ca79c=_0xdd751[_0x1e873f(0x13a)][_0x1e873f(0x11c)]['httpEncrypt'];if(_0x2ca79c!==![]){_0x441679[_0x1e873f(0x12d)][_0x1e873f(0x123)]=_0x2ca79c;const _0x42001a=_0x441679[_0x1e873f(0x11b)]instanceof FormData;!_0x42001a&&(_0x441679[_0x1e873f(0x12d)][_0x1e873f(0x121)]||=_0x1e873f(0x125));if(_0x441679[_0x1e873f(0x115)][_0x1e873f(0x114)]('?')>=0x0){const [_0x226918,..._0xb0a6b]=_0x441679[_0x1e873f(0x115)][_0x1e873f(0x12f)]('?'),_0x249f18=_0x10eaa3[_0x1e873f(0x130)][_0x2ca79c](_0xb0a6b[_0x1e873f(0x117)]('?'),_0x1e873f(0x13d));_0x441679['url']=_0x226918+'?'+_0x249f18;}else _0x441679[_0x1e873f(0x122)]||={'__placeholder__':Date[_0x1e873f(0x129)]()[_0x1e873f(0x131)](0x10)};if(_0x441679['params']){const _0x378211=decodeURIComponent(new URLSearchParams(_0x441679[_0x1e873f(0x122)])['toString']());_0x441679[_0x1e873f(0x115)]+='?'+_0x10eaa3[_0x1e873f(0x130)][_0x2ca79c](_0x378211,_0x1e873f(0x13d)),delete _0x441679[_0x1e873f(0x122)];}if(_0x441679['data']!==undefined&&!_0x42001a){const _0x1ffe62=_0x10eaa3[_0x1e873f(0x130)][_0x2ca79c](JSON[_0x1e873f(0x119)](_0x441679['data']),_0x1e873f(0x11a));_0x441679[_0x1e873f(0x11b)]=_0x1ffe62;}}return _0x441679;},responseUse=(_0x2e2b8e,_0x58cc27,_0x26c74b,_0x5217e9,_0x38a43a)=>{const _0x5d24e6=a93_0x9967;if([0x191,0x192,0x2711][_0x5d24e6(0x13b)](_0x38a43a[_0x5d24e6(0x11b)]['code'])){_0x26c74b[_0x5d24e6(0x12b)][_0x5d24e6(0x126)]();const _0x47b02a='/'+location['hash']['slice'](0x2)[_0x5d24e6(0x12f)]('?')[0x0],_0x39a838=StardustJs['funcs'][_0x5d24e6(0x137)](location['href']['split']('?')[0x1]||'');return _0x5217e9[_0x5d24e6(0x136)](_0x39a838['redirectTo']?_0x5d24e6(0x13e)+(_0x39a838['redirectTo']||_0x47b02a):_0x5d24e6(0x13f)),Promise[_0x5d24e6(0x12a)](_0x38a43a);}else{if([0x2712][_0x5d24e6(0x13b)](_0x38a43a[_0x5d24e6(0x11b)]['code']))return Message['e'](_0x38a43a[_0x5d24e6(0x11b)][_0x5d24e6(0x12c)]),Promise['reject'](_0x38a43a);}const _0xef8953=_0x38a43a['headers'][_0x5d24e6(0x120)]||_0x38a43a['data'][_0x5d24e6(0x134)];_0xef8953&&_0x26c74b[_0x5d24e6(0x12b)][_0x5d24e6(0x127)](_0xef8953);if(_0x38a43a[_0x5d24e6(0x11b)][_0x5d24e6(0x12c)])return Message['e'](_0x38a43a[_0x5d24e6(0x11b)][_0x5d24e6(0x12c)]||_0x5d24e6(0x128)),Promise[_0x5d24e6(0x12a)](_0x38a43a);return _0x38a43a[_0x5d24e6(0x12d)][_0x5d24e6(0x132)]?.[_0x5d24e6(0x13b)](_0x5d24e6(0x13c))&&(_0x38a43a[_0x5d24e6(0x11b)]=JSON['parse'](StardustJs['dates'][_0x5d24e6(0x12e)](JSON[_0x5d24e6(0x119)](_0x38a43a[_0x5d24e6(0x11b)])))),Promise[_0x5d24e6(0x135)](_0x38a43a[_0x5d24e6(0x11b)]);};export{requestUse,responseUse};
|
package/packages/utils/site.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a94_0xa48710=a94_0x5eb2;(function(_0xb67f85,_0x51a855){const _0x280186=a94_0x5eb2,_0xb0eee4=_0xb67f85();while(!![]){try{const _0x32ba62=parseInt(_0x280186(0x123))/0x1+parseInt(_0x280186(0x114))/0x2*(-parseInt(_0x280186(0x11c))/0x3)+parseInt(_0x280186(0x124))/0x4+parseInt(_0x280186(0x113))/0x5*(parseInt(_0x280186(0x120))/0x6)+parseInt(_0x280186(0x115))/0x7*(-parseInt(_0x280186(0x117))/0x8)+parseInt(_0x280186(0x119))/0x9*(-parseInt(_0x280186(0x11f))/0xa)+parseInt(_0x280186(0x11a))/0xb;if(_0x32ba62===_0x51a855)break;else _0xb0eee4['push'](_0xb0eee4['shift']());}catch(_0x5ec525){_0xb0eee4['push'](_0xb0eee4['shift']());}}}(a94_0x1aa0,0x2ba9c));function a94_0x5eb2(_0x223122,_0x218e40){const _0x1aa0ed=a94_0x1aa0();return a94_0x5eb2=function(_0x5eb263,_0x3b9b8b){_0x5eb263=_0x5eb263-0x112;let _0x219b47=_0x1aa0ed[_0x5eb263];return _0x219b47;},a94_0x5eb2(_0x223122,_0x218e40);}function a94_0x1aa0(){const _0x27d287=['width','15YdfNSm','innerHeight','Style','20irQrLX','18oXZXhP','innerWidth','getContext','71926yTsqMH','1315988hTuEzN','createElement','px\x20Arial','296315iDcOfI','80742rJaceZ','2388141DgJfpl','font','8NGlFwQ','canvas','6453tWBWAx','1590424TvqFps'];a94_0x1aa0=function(){return _0x27d287;};return a94_0x1aa0();}export const createWatermark=({text:_0x47221b,gap:_0x51aa12,fontSize:_0x3a67cd,color:_0x479110,width:width=window[a94_0xa48710(0x121)],height:height=window[a94_0xa48710(0x11d)],drawMode:drawMode='fill'})=>{const _0x226099=a94_0xa48710,_0x4409a8=document[_0x226099(0x125)](_0x226099(0x118));_0x4409a8[_0x226099(0x11b)]=width,_0x4409a8['height']=height;const _0x4943c6=_0x4409a8[_0x226099(0x122)]('2d');_0x4943c6[_0x226099(0x116)]=_0x3a67cd+_0x226099(0x112),_0x4943c6[drawMode+_0x226099(0x11e)]=_0x479110;const _0x34e557=_0x4943c6['measureText'](_0x47221b)[_0x226099(0x11b)],_0x938380=_0x34e557+_0x51aa12,_0x41e1c0=_0x3a67cd+_0x51aa12;for(let _0x1f475f=_0x51aa12/0x2;_0x1f475f<height;_0x1f475f+=_0x41e1c0){for(let _0x3328ec=_0x51aa12/0x2;_0x3328ec<width;_0x3328ec+=_0x938380){_0x4943c6[drawMode+'Text'](_0x47221b,_0x3328ec,_0x1f475f);}}return _0x4409a8;};export default{'createWatermark':createWatermark};
|
package/packages/vite-plugins.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a95_0x4cf4f8=a95_0x392e;(function(_0x1f130d,_0x491094){const _0x66d4ce=a95_0x392e,_0x5a9dbe=_0x1f130d();while(!![]){try{const _0x5f2e60=-parseInt(_0x66d4ce(0x1f7))/0x1*(parseInt(_0x66d4ce(0x200))/0x2)+parseInt(_0x66d4ce(0x20b))/0x3*(-parseInt(_0x66d4ce(0x203))/0x4)+-parseInt(_0x66d4ce(0x1f2))/0x5*(parseInt(_0x66d4ce(0x1fc))/0x6)+parseInt(_0x66d4ce(0x1da))/0x7+-parseInt(_0x66d4ce(0x1ff))/0x8+-parseInt(_0x66d4ce(0x201))/0x9+parseInt(_0x66d4ce(0x1dc))/0xa;if(_0x5f2e60===_0x491094)break;else _0x5a9dbe['push'](_0x5a9dbe['shift']());}catch(_0x394b22){_0x5a9dbe['push'](_0x5a9dbe['shift']());}}}(a95_0x2ce7,0x73b92));import a95_0x1f859a from'node:fs';function a95_0x2ce7(){const _0x37a3a9=['20bsqobr','_ctx\x20=\x20wrapCtx(_ctx,\x20filterPrivateFields(model),\x20filterPrivateFields(controller))','basename','model.js','const\x20controller\x20=\x20makeController({\x20','6diozDh','import\x20makeModel\x20from\x20\x27./model.js\x27','length','.js','-scoped.scss','1052676VyfNFO','@use\x20\x22./','toLowerCase','4453104JGcxHk','233752CUHfKE','7954110LSOBCt','.scss','4zQrJgF','.scss\x22;','matchAll','replace','import\x20makeModel\x20','_ctx\x20=\x20wrapCtx(_ctx,\x20null,\x20filterPrivateFields(controller))','return\x20{\x20...__returned__,\x20...filterPrivateFields(model)\x20}','splice','1156479rXUxyP','/src/','.vue','controller.js','includes','import\x20makeController\x20','const\x20model\x20=\x20makeModel()','\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','return\x20(_ctx,\x20_cache)\x20=>\x20{','<style\x20lang=\x22scss\x22\x20scoped>','model,\x20','_ctx\x20=\x20wrapCtx(_ctx,\x20filterPrivateFields(model))','split','890988QnZRBm','dirname','35756790ocKbSe','<script>\x0a','existsSync','auto-deconstruct','-scoped.scss\x22;','no\x20model','return\x20{\x20...__returned__,\x20...filterPrivateFields(model),\x20...filterPrivateFields(controller)\x20}','startsWith','\x27)\x0a','join','slice','\x20=\x20new\x20Table(','filter','DbName','map','auto-inject','forEach','return\x20{\x20...__returned__,\x20...filterPrivateFields(controller)\x20}','<script>','import\x20makeController\x20from\x20\x27./controller.js\x27','Object','vue\x20})'];a95_0x2ce7=function(){return _0x37a3a9;};return a95_0x2ce7();}import a95_0x3258b1 from'node:path';function a95_0x392e(_0xf753ea,_0x10dcb0){const _0x2ce7e9=a95_0x2ce7();return a95_0x392e=function(_0x392e79,_0x248743){_0x392e79=_0x392e79-0x1d6;let _0x2a774a=_0x2ce7e9[_0x392e79];return _0x2a774a;},a95_0x392e(_0xf753ea,_0x10dcb0);}const filterPrivateFields=a95_0x4cf4f8(0x212),inject=(_0x136076,_0x4d5c20)=>{const _0x226082=a95_0x4cf4f8,_0x2b9cbe=a95_0x3258b1[_0x226082(0x1db)](_0x4d5c20),_0x466ac9=a95_0x3258b1[_0x226082(0x1f4)](_0x4d5c20),_0x578643=_0x466ac9[_0x226082(0x1d9)]('.')[0x0],_0x54e677=a95_0x1f859a[_0x226082(0x1de)](a95_0x3258b1[_0x226082(0x1e5)](_0x2b9cbe,_0x578643+_0x226082(0x1fb))),_0x35c696=a95_0x1f859a[_0x226082(0x1de)](a95_0x3258b1[_0x226082(0x1e5)](_0x2b9cbe,_0x578643+_0x226082(0x202))),_0x4e62d0=a95_0x1f859a[_0x226082(0x1de)](a95_0x3258b1[_0x226082(0x1e5)](_0x2b9cbe,_0x226082(0x1f5))),_0x47034e=a95_0x1f859a[_0x226082(0x1de)](a95_0x3258b1['join'](_0x2b9cbe,_0x226082(0x20e))),_0x229a2e=_0x4e62d0&&!_0x136076[_0x226082(0x20f)](_0x226082(0x1e1))&&!_0x136076[_0x226082(0x20f)]('const\x20model'),_0x5b4ff7=_0x47034e&&!_0x136076['includes']('no\x20controller')&&!_0x136076[_0x226082(0x20f)]('const\x20controller');if(_0x4d5c20[_0x226082(0x20f)](_0x226082(0x20c))&&_0x466ac9[_0x226082(0x20f)]('.vue')&&_0x136076[_0x226082(0x1e3)]('<script\x20setup>')){_0x136076=_0x136076[_0x226082(0x206)]('<script\x20setup>','<script\x20setup>\x0a');const _0x1c5f29=_0x136076[_0x226082(0x1d9)]('\x0a');_0x54e677&&_0x1c5f29['push'](...[_0x226082(0x1d6),_0x226082(0x1fd)+_0x578643+_0x226082(0x1e0),'</style>']),_0x35c696&&_0x1c5f29['push'](...['<style\x20lang=\x22scss\x22>',_0x226082(0x1fd)+_0x578643+_0x226082(0x204),'</style>']),_0x5b4ff7&&_0x1c5f29[_0x226082(0x20a)](0x1,0x0,_0x226082(0x1ef),_0x226082(0x1f6)+(_0x229a2e?_0x226082(0x1d7):'')+_0x226082(0x1f1)),_0x229a2e&&_0x1c5f29[_0x226082(0x20a)](0x1,0x0,_0x226082(0x1f8),_0x226082(0x211)),_0x136076=_0x1c5f29[_0x226082(0x1e5)]('\x0a');}return _0x136076;},instantiateTables=(_0x3dfdc0,_0x31460e)=>{const _0x44bd76=a95_0x4cf4f8,_0x16dd39=a95_0x3258b1[_0x44bd76(0x1f4)](_0x31460e),_0xc79f3=_0x16dd39[_0x44bd76(0x20f)](_0x44bd76(0x20d)),_0x1b8476=_0x16dd39['includes'](_0x44bd76(0x1fa));if(_0x31460e['includes'](_0x44bd76(0x20c))&&(_0xc79f3||_0x1b8476)){const _0x160c27=_0x3dfdc0[_0x44bd76(0x1d9)]('\x0a')['map'](_0x4cb17b=>_0x4cb17b['trim']())[_0x44bd76(0x1e8)](_0x33d8bd=>!_0x33d8bd[_0x44bd76(0x1e3)]('//'))[_0x44bd76(0x1e5)]('\x0a');let _0x1695c5=[...new Set([..._0x160c27[_0x44bd76(0x205)](/[^a-z][A-Z]\w+\.(search|add|update|remove|func|batch|get)/g)][_0x44bd76(0x1ea)](_0x44af1b=>_0x44af1b[0x0]['slice'](0x1)['split']('.')[0x0]))];_0x1695c5=_0x1695c5['filter'](_0x478ead=>![_0x44bd76(0x1f0)][_0x44bd76(0x20f)](_0x478ead));if(_0x1695c5[_0x44bd76(0x1f9)]){let _0x52f2c6='';_0x1695c5[_0x44bd76(0x1ec)](_0x437b7f=>{const _0x19dc5f=_0x44bd76;let [_0x4dd986,_0x2b441a]=_0x437b7f[_0x19dc5f(0x1d9)]('_')[_0x19dc5f(0x1ea)](_0x1c41de=>_0x1c41de['replace'](/[A-Z]/g,_0x3ae689=>'_'+_0x3ae689[_0x19dc5f(0x1fe)]())[_0x19dc5f(0x1e6)](0x1));_0x2b441a?_0x4dd986='\x27'+_0x4dd986+'\x27':(_0x2b441a=_0x4dd986,_0x4dd986=_0x19dc5f(0x1e9)),_0x52f2c6+='const\x20'+_0x437b7f+_0x19dc5f(0x1e7)+_0x4dd986+',\x20\x27'+_0x2b441a+_0x19dc5f(0x1e4);}),_0xc79f3?_0x3dfdc0=_0x3dfdc0[_0x44bd76(0x206)]('<script\x20setup>','<script\x20setup>\x0a'+_0x52f2c6)[_0x44bd76(0x206)](_0x44bd76(0x1ee),_0x44bd76(0x1dd)+_0x52f2c6):_0x3dfdc0=_0x52f2c6+_0x3dfdc0;}}return _0x3dfdc0;},deconstruct=(_0x515ac1,_0x314a17)=>{const _0x5f5775=a95_0x4cf4f8,_0x1ba131=a95_0x3258b1[_0x5f5775(0x1f4)](_0x314a17),_0x5c5336=_0x1ba131['includes'](_0x5f5775(0x20d));if(_0x314a17[_0x5f5775(0x20f)](_0x5f5775(0x20c))&&_0x5c5336){const _0x1d1d80='return\x20__returned__',_0x514b02=_0x5f5775(0x213),_0xf615d6=_0x515ac1[_0x5f5775(0x20f)](_0x1d1d80),_0x34eba9=_0x515ac1[_0x5f5775(0x20f)](_0x514b02),_0x11e776=(_0xf615d6||_0x34eba9)&&_0x515ac1[_0x5f5775(0x20f)](_0x5f5775(0x207)),_0x1efa5c=(_0xf615d6||_0x34eba9)&&_0x515ac1[_0x5f5775(0x20f)](_0x5f5775(0x210));if(_0x11e776||_0x1efa5c){let _0x46dc98=filterPrivateFields;if(_0xf615d6){if(_0x11e776&&_0x1efa5c)_0x46dc98+=_0x5f5775(0x1e2);else{if(_0x11e776)_0x46dc98+=_0x5f5775(0x209);else _0x1efa5c&&(_0x46dc98+=_0x5f5775(0x1ed));}}else{_0x46dc98+=_0x514b02+'\x0a';if(_0x11e776&&_0x1efa5c)_0x46dc98+=_0x5f5775(0x1f3);else{if(_0x11e776)_0x46dc98+=_0x5f5775(0x1d8);else _0x1efa5c&&(_0x46dc98+=_0x5f5775(0x208));}_0x46dc98+='\x0a';}_0x515ac1=_0x515ac1[_0x5f5775(0x206)](_0xf615d6?_0x1d1d80:_0x514b02,_0x46dc98);}}return _0x515ac1;};export const autoInject=(_0x57c992={})=>{const _0x37fbb3=a95_0x4cf4f8;return{'name':_0x37fbb3(0x1eb),'transform'(_0x3a7aab,_0x13cac8){return _0x3a7aab=inject(_0x3a7aab,_0x13cac8),_0x57c992['instantiateTables']!==![]&&(_0x3a7aab=instantiateTables(_0x3a7aab,_0x13cac8)),{'code':_0x3a7aab};}};};export const autoDeconstruct=()=>{const _0x1bc271=a95_0x4cf4f8;return{'name':_0x1bc271(0x1df),'transform'(_0x275c24,_0x27639c){return{'code':deconstruct(_0x275c24,_0x27639c)};}};};
|
package/src/main.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a96_0x5bd88c=a96_0x1db2;(function(_0x1c9234,_0x28d7ab){const _0x54e6f9=a96_0x1db2,_0x5c0090=_0x1c9234();while(!![]){try{const _0x43666b=-parseInt(_0x54e6f9(0xec))/0x1+parseInt(_0x54e6f9(0xf3))/0x2+-parseInt(_0x54e6f9(0xe8))/0x3*(parseInt(_0x54e6f9(0xef))/0x4)+-parseInt(_0x54e6f9(0xee))/0x5+-parseInt(_0x54e6f9(0xf2))/0x6+-parseInt(_0x54e6f9(0xf1))/0x7*(parseInt(_0x54e6f9(0xe2))/0x8)+parseInt(_0x54e6f9(0xe9))/0x9*(parseInt(_0x54e6f9(0xf5))/0xa);if(_0x43666b===_0x28d7ab)break;else _0x5c0090['push'](_0x5c0090['shift']());}catch(_0x1a472c){_0x5c0090['push'](_0x5c0090['shift']());}}}(a96_0x2f96,0x4cc43));function a96_0x1db2(_0x14326c,_0x11b210){const _0x2f96cb=a96_0x2f96();return a96_0x1db2=function(_0x1db2bd,_0x2a5306){_0x1db2bd=_0x1db2bd-0xe2;let _0x395734=_0x2f96cb[_0x1db2bd];return _0x395734;},a96_0x1db2(_0x14326c,_0x11b210);}import{createApp}from'vue';function a96_0x2f96(){const _0x589474=['assign','2652130mjvpWC','753988TsGPYQ','#app','195916SLXtXS','3770370IIgxla','832088lROURw','directive','2960WZdQFg','96NVNIJt','entries','domid','config','isMobile','mount','3IGAyFr','55746JmIMjG','globalProperties','use','251859EOdXzP'];a96_0x2f96=function(){return _0x589474;};return a96_0x2f96();}import a96_0x3fcc53 from'element-plus';import a96_0x3f48e4 from'vant';import a96_0x579f32 from'../packages/index.js';import'../packages/index.scss';import a96_0x5ef044,{API_BASE_URL}from'./request.js';import a96_0x1f62b3 from'@/App.vue';const app=createApp(a96_0x1f62b3);app[a96_0x5bd88c(0xf4)](a96_0x5bd88c(0xe4),{'created'(_0xf6a641,_0x58e97c){}}),app[a96_0x5bd88c(0xeb)](a96_0x3fcc53);for(const [key,component]of Object[a96_0x5bd88c(0xe3)](ElementPlusIconsVue)){app['component'](key,component);}app[a96_0x5bd88c(0xeb)](a96_0x3f48e4),app[a96_0x5bd88c(0xeb)](a96_0x579f32,{'ElementPlus':a96_0x3fcc53,'Vant':a96_0x3f48e4}),Object[a96_0x5bd88c(0xed)](app[a96_0x5bd88c(0xe5)][a96_0x5bd88c(0xea)],{'isMobile':window[a96_0x5bd88c(0xe6)],'service':{'request':a96_0x5ef044,'API_BASE_URL':API_BASE_URL},'$store':{'app':{'sidebarCollapse':![],'toggleDuration':0x0}}}),app[a96_0x5bd88c(0xe7)](a96_0x5bd88c(0xf0));export default app;
|
package/src/request.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a97_0x5866fd=a97_0x7c91;(function(_0x173670,_0x301c4c){const _0x317eb3=a97_0x7c91,_0x5a4b07=_0x173670();while(!![]){try{const _0x4aad55=-parseInt(_0x317eb3(0x1dd))/0x1+parseInt(_0x317eb3(0x1ea))/0x2*(parseInt(_0x317eb3(0x1e6))/0x3)+-parseInt(_0x317eb3(0x1df))/0x4*(-parseInt(_0x317eb3(0x1e9))/0x5)+parseInt(_0x317eb3(0x1d6))/0x6*(parseInt(_0x317eb3(0x1e2))/0x7)+-parseInt(_0x317eb3(0x1e0))/0x8+parseInt(_0x317eb3(0x1dc))/0x9+-parseInt(_0x317eb3(0x1e4))/0xa;if(_0x4aad55===_0x301c4c)break;else _0x5a4b07['push'](_0x5a4b07['shift']());}catch(_0x5164e9){_0x5a4b07['push'](_0x5a4b07['shift']());}}}(a97_0x55f0,0xc4c6f));function a97_0x7c91(_0x532eac,_0x2d8bef){const _0x55f0ae=a97_0x55f0();return a97_0x7c91=function(_0x7c91d,_0x18cc18){_0x7c91d=_0x7c91d-0x1d4;let _0x48812f=_0x55f0ae[_0x7c91d];return _0x48812f;},a97_0x7c91(_0x532eac,_0x2d8bef);}const {PROD,VITE_DEV_BASE_URL,VITE_PROD_BASE_URL,VITE_TIMEOUT=0xea60}=import.meta[a97_0x5866fd(0x1d8)],API_BASE_URL=window[a97_0x5866fd(0x1ec)]||(PROD?VITE_PROD_BASE_URL:VITE_DEV_BASE_URL),createRequest=_0x1d68a9=>{const _0x4d9356=a97_0x5866fd,_0x1ae0ce=axios['create']({'baseURL':API_BASE_URL,'timeout':VITE_TIMEOUT*0x1,..._0x1d68a9});return _0x1ae0ce[_0x4d9356(0x1ed)][_0x4d9356(0x1d4)][_0x4d9356(0x1e8)](_0x236b16=>{return _0x236b16;},_0xe19bf8=>{const _0xfcb73b=_0x4d9356;console[_0xfcb73b(0x1e7)](_0xe19bf8);}),_0x1ae0ce['interceptors'][_0x4d9356(0x1de)][_0x4d9356(0x1e8)](_0x2130bf=>{return _0x2130bf;},_0x167065=>{const _0x2d5ddb=_0x4d9356;console[_0x2d5ddb(0x1e7)](_0x167065);}),_0x1ae0ce;},fetchRequest=(_0x544c46,_0x488fc7={})=>{const _0x510249=a97_0x5866fd;_0x544c46=_0x544c46[_0x510249(0x1eb)](_0x510249(0x1d7))?_0x544c46:API_BASE_URL+_0x544c46;const {method:method=_0x510249(0x1e1),headers:_0x15c036,body:_0x3bf932,..._0x563762}=_0x488fc7,_0x49cec9={'method':method,..._0x563762,'headers':{'content-type':_0x510249(0x1da),..._0x15c036}};return[_0x510249(0x1e5),'POST'][_0x510249(0x1db)](method[_0x510249(0x1e3)]())&&(_0x49cec9[_0x510249(0x1d9)]=typeof _0x3bf932==='string'?_0x3bf932:JSON[_0x510249(0x1d5)](_0x3bf932)),fetch(_0x544c46,_0x49cec9);};export default createRequest();export{API_BASE_URL,createRequest,fetchRequest};function a97_0x55f0(){const _0x3cb6f5=['interceptors','request','stringify','6QgahxW','http','env','body','application/json','includes','4988646yADQHg','332690iYxCcK','response','38536ykAdFL','10876480vlcoFa','GET','8958376bTmEut','toUpperCase','13978400jMSkjD','PUT','765nbJxgd','error','use','515hkBSXl','8390ivkjSV','startsWith','API_BASE_URL'];a97_0x55f0=function(){return _0x3cb6f5;};return a97_0x55f0();}
|
package/vite.config.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
const a98_0x183065=a98_0x2338;function a98_0x13ee(){const _0x2e78f4=['2382670lOobyR','376614BWnsBB','Vue','join','88IxCbok','regenerator-runtime/runtime','node_modules','2657337xloDWj','4765JnxYhS','2114648vearsU','includes','toString','decorators','cwd','2023-11','vue','2154ftJzDj','node_modules/','1266380SlRHiD','split','1694007cDeCvi','@babel/plugin-proposal-decorators','vue/dist/vue.esm-bundler.js'];a98_0x13ee=function(){return _0x2e78f4;};return a98_0x13ee();}(function(_0x49e15b,_0x1a2470){const _0x5dffdd=a98_0x2338,_0x3ca892=_0x49e15b();while(!![]){try{const _0x3c9198=-parseInt(_0x5dffdd(0x133))/0x1+parseInt(_0x5dffdd(0x138))/0x2+-parseInt(_0x5dffdd(0x13f))/0x3+-parseInt(_0x5dffdd(0x12a))/0x4+parseInt(_0x5dffdd(0x129))/0x5*(parseInt(_0x5dffdd(0x131))/0x6)+-parseInt(_0x5dffdd(0x139))/0x7+-parseInt(_0x5dffdd(0x13c))/0x8*(-parseInt(_0x5dffdd(0x135))/0x9);if(_0x3c9198===_0x1a2470)break;else _0x3ca892['push'](_0x3ca892['shift']());}catch(_0xe3f4b2){_0x3ca892['push'](_0x3ca892['shift']());}}}(a98_0x13ee,0xd43ac));import a98_0x221425 from'path';import{defineConfig}from'vite';import a98_0x2773f7 from'@vitejs/plugin-vue';import a98_0x366f3d from'@vitejs/plugin-legacy';function a98_0x2338(_0x3d989c,_0x1b3c3c){const _0x13ee71=a98_0x13ee();return a98_0x2338=function(_0x233870,_0x583d16){_0x233870=_0x233870-0x129;let _0xad61a8=_0x13ee71[_0x233870];return _0xad61a8;},a98_0x2338(_0x3d989c,_0x1b3c3c);}import a98_0x504b27 from'@vitejs/plugin-vue-jsx';import a98_0x28036c from'@rollup/plugin-commonjs';import a98_0x316cb2 from'rollup-plugin-external-globals';import{babel}from'@rollup/plugin-babel';import{createStyleImportPlugin,VantResolve}from'vite-plugin-style-import';const resolve=_0x5ad911=>a98_0x221425[a98_0x183065(0x13b)](process[a98_0x183065(0x12e)](),_0x5ad911);export default defineConfig(({command:_0x1f31f3,mode:_0xb50879})=>{const _0x349967=a98_0x183065,_0x42bbc4={'plugins':[a98_0x2773f7({'template':{'compilerOptions':{'expressionPlugins':[[_0x349967(0x12d),{'version':_0x349967(0x12f)}]]}},'script':{'babelParserPlugins':[[_0x349967(0x12d),{'version':_0x349967(0x12f)}],'decorators']}}),a98_0x504b27(),babel({'compact':![],'plugins':[[_0x349967(0x136),{'version':_0x349967(0x12f)}]]}),createStyleImportPlugin({'resolves':[VantResolve()]}),a98_0x366f3d({'targets':['defaults'],'additionalLegacyPolyfills':[_0x349967(0x13d)]})],'runtimeCompiler':!![],'build':{'outDir':'dist','rollupOptions':{'external':[_0x349967(0x130)],'plugins':[a98_0x28036c(),a98_0x316cb2({'vue':_0x349967(0x13a)})],'output':{'manualChunks'(_0x7454dc){const _0x48631b=_0x349967;if(_0x7454dc[_0x48631b(0x12b)](_0x48631b(0x13e)))return _0x7454dc[_0x48631b(0x12c)]()[_0x48631b(0x134)](_0x48631b(0x132))[0x1][_0x48631b(0x134)]('/')[0x0]['toString']();}}}},'resolve':{'alias':{'@':resolve('src'),'vue':_0x349967(0x137)}}};return _0x42bbc4;});
|
package/vite.lib.config.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a99_0x461f3d=a99_0x4046;(function(_0x256744,_0x55dd78){const _0x5a8d9d=a99_0x4046,_0x507234=_0x256744();while(!![]){try{const _0x1ecfc9=-parseInt(_0x5a8d9d(0x153))/0x1+-parseInt(_0x5a8d9d(0x155))/0x2+parseInt(_0x5a8d9d(0x157))/0x3*(parseInt(_0x5a8d9d(0x163))/0x4)+-parseInt(_0x5a8d9d(0x15c))/0x5*(parseInt(_0x5a8d9d(0x160))/0x6)+parseInt(_0x5a8d9d(0x14f))/0x7*(-parseInt(_0x5a8d9d(0x161))/0x8)+parseInt(_0x5a8d9d(0x164))/0x9+parseInt(_0x5a8d9d(0x151))/0xa;if(_0x1ecfc9===_0x55dd78)break;else _0x507234['push'](_0x507234['shift']());}catch(_0x459bde){_0x507234['push'](_0x507234['shift']());}}}(a99_0x5df6,0x76348));import a99_0x4610eb from'path';import{defineConfig}from'vite';import a99_0x5183a8 from'@vitejs/plugin-vue';import a99_0x297fd0 from'@vitejs/plugin-vue-jsx';import a99_0x10f788 from'@rollup/plugin-commonjs';import a99_0x5ab208 from'rollup-plugin-external-globals';import{createStyleImportPlugin,VantResolve}from'vite-plugin-style-import';function a99_0x4046(_0x48b488,_0xd33485){const _0x5df683=a99_0x5df6();return a99_0x4046=function(_0x40464d,_0x64f7d7){_0x40464d=_0x40464d-0x14f;let _0x36c4ca=_0x5df683[_0x40464d];return _0x36c4ca;},a99_0x4046(_0x48b488,_0xd33485);}const resolve=_0x5b2d36=>a99_0x4610eb[a99_0x461f3d(0x150)](process[a99_0x461f3d(0x159)](),_0x5b2d36);export default defineConfig(({command:_0x3f710f,mode:_0x2408cb})=>{const _0x166dd8=a99_0x461f3d,_0x38a36c={'plugins':[a99_0x5183a8(),a99_0x297fd0(),createStyleImportPlugin({'resolves':[VantResolve()]})],'runtimeCompiler':!![],'build':{'outDir':'./','lib':{'entry':_0x166dd8(0x158),'name':_0x166dd8(0x15d),'fileName':_0x166dd8(0x15f),'formats':['es']},'rollupOptions':{'external':['vue'],'plugins':[a99_0x10f788()],'output':{'globals':{'vue':_0x166dd8(0x162)},'manualChunks'(_0x1527ab){const _0x583563=_0x166dd8;if(_0x1527ab[_0x583563(0x156)](_0x583563(0x15e)))return _0x1527ab[_0x583563(0x152)]()[_0x583563(0x15b)]('node_modules/')[0x1][_0x583563(0x15b)]('/')[0x0][_0x583563(0x152)]();}}}},'resolve':{'alias':{'@':resolve(_0x166dd8(0x154)),'vue':_0x166dd8(0x15a)}}};return _0x38a36c;});function a99_0x5df6(){const _0xd3dd04=['84XyOEaa','./packages/index.js','cwd','vue/dist/vue.esm-bundler.js','split','12665iZXvPH','StardustUI','node_modules','index','492zFAicD','232ApLmRc','Vue','137948bnpfBd','4844448SKaulm','147938tTlpBI','join','7226050JEMoaj','toString','15556QvnEGI','src','1812394pvkxOM','includes'];a99_0x5df6=function(){return _0xd3dd04;};return a99_0x5df6();}
|