@wp1001/ui 3.5.5 → 3.5.9
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(_0x500eef,_0x178ec0){const _0x444eb6=a90_0xac83,_0x23f77c=_0x500eef();while(!![]){try{const _0x5ae434=-parseInt(_0x444eb6(0x131))/0x1*(-parseInt(_0x444eb6(0x141))/0x2)+parseInt(_0x444eb6(0x136))/0x3*(parseInt(_0x444eb6(0x132))/0x4)+parseInt(_0x444eb6(0x14a))/0x5*(parseInt(_0x444eb6(0x13a))/0x6)+parseInt(_0x444eb6(0x13b))/0x7+parseInt(_0x444eb6(0x139))/0x8*(-parseInt(_0x444eb6(0x122))/0x9)+parseInt(_0x444eb6(0x12d))/0xa*(-parseInt(_0x444eb6(0x149))/0xb)+parseInt(_0x444eb6(0x133))/0xc;if(_0x5ae434===_0x178ec0)break;else _0x23f77c['push'](_0x23f77c['shift']());}catch(_0x3a1d0c){_0x23f77c['push'](_0x23f77c['shift']());}}}(a90_0x5ee7,0xa540b));import{watch,nextTick}from'vue';function a90_0xac83(_0x3e356b,_0x5e5411){const _0x5ee76c=a90_0x5ee7();return a90_0xac83=function(_0xac8349,_0x582db5){_0xac8349=_0xac8349-0x122;let _0x330ca2=_0x5ee76c[_0xac8349];return _0x330ca2;},a90_0xac83(_0x3e356b,_0x5e5411);}import{Message}from'./message.js';const {funcs}=StardustJs;export const check404=(_0x46393c,_0x2a5929,_0x2950a4)=>{const _0x259c52=a90_0xac83;_0x46393c[_0x259c52(0x12e)](async(_0x262c72,_0x25754c)=>{const _0x2e2fd7=_0x259c52;return!!_0x262c72[_0x2e2fd7(0x13d)][_0x2e2fd7(0x13e)]||'/404';});};export const setTitle=(_0x36e60d,_0x19ff80,_0x1840cb)=>{_0x36e60d['afterEach']((_0x584d44,_0x407226)=>{const _0x8588c9=a90_0xac83;document[_0x8588c9(0x145)]=_0x584d44[_0x8588c9(0x13d)][_0x584d44[_0x8588c9(0x13d)][_0x8588c9(0x13e)]-0x1][_0x8588c9(0x124)]?.[_0x8588c9(0x145)]||_0x19ff80[_0x8588c9(0x130)][_0x8588c9(0x12a)];});};export const checkRolesPages=(_0x1a7087,_0x2934ab,_0x170551)=>{const _0x356be5=a90_0xac83;_0x1a7087[_0x356be5(0x12e)](async(_0x2aa606,_0x578101)=>{const _0x4e24c4=_0x356be5,_0x5e9314=_0x2aa606['matched'][_0x2aa606[_0x4e24c4(0x13d)]['length']-0x1][_0x4e24c4(0x134)][_0x4e24c4(0x147)]('/:')[0x0];if(_0x2aa606['meta'][_0x4e24c4(0x129)]===![]||_0x2aa606[_0x4e24c4(0x124)]?.[_0x4e24c4(0x12c)])return!![];while(_0x2934ab[_0x4e24c4(0x142)][_0x4e24c4(0x125)]){await funcs['sleep'](0x14);}await nextTick();if(_0x2934ab[_0x4e24c4(0x129)]['paths'][_0x4e24c4(0x126)](_0x5e9314))return!![];const _0x3f9e54={'redirectTo':_0x2aa606[_0x4e24c4(0x134)],..._0x2aa606[_0x4e24c4(0x144)]};return _0x2934ab[_0x4e24c4(0x142)][_0x4e24c4(0x13c)]&&(_0x3f9e54[_0x4e24c4(0x12f)]=_0x4e24c4(0x138)+_0x2aa606[_0x4e24c4(0x134)]+'\x20页面,如有需要请联系我们',Message({'message':_0x3f9e54['error'],'duration':0x2710})),{'path':_0x2934ab[_0x4e24c4(0x129)][_0x4e24c4(0x14b)][0x0]||_0x4e24c4(0x127),'query':_0x3f9e54};}),nextTick(()=>{const _0x407139=_0x356be5;let _0x351a6f=![];watch(()=>_0x2934ab[_0x407139(0x129)][_0x407139(0x143)],_0x112357=>{const _0x11cf52=_0x407139;if(!_0x351a6f){if(!_0x112357[_0x11cf52(0x13e)])return;_0x351a6f=!![];}const _0x2bebd4=_0x2934ab['acl'][_0x11cf52(0x14b)],_0x36681e=(_0x1ae544,_0x61719c)=>{const _0xca12b=_0x11cf52;let _0x4b8b88;_0x1ae544['redirect']&&!_0x1ae544[_0xca12b(0x123)]?_0x4b8b88=_0x1ae544[_0xca12b(0x137)]:_0x4b8b88=[..._0x61719c,_0x1ae544][_0xca12b(0x135)]((_0x28bb1a,_0x171cf7)=>_0x28bb1a+'/'+_0x171cf7[_0xca12b(0x134)],'')[_0xca12b(0x140)]('//','/'),_0x1ae544['meta']||={},_0x1ae544[_0xca12b(0x124)]['acl']===![]?_0x1ae544[_0xca12b(0x146)]?.[_0xca12b(0x128)](_0x4afeb5=>{const _0xd5b567=_0xca12b;_0x4afeb5[_0xd5b567(0x124)]||={},_0x4afeb5['meta'][_0xd5b567(0x129)]||=![],_0x36681e(_0x4afeb5,[..._0x61719c,_0x1ae544]);}):(_0x1ae544['meta'][_0xca12b(0x13f)]=_0x1ae544[_0xca12b(0x124)]['hidden'],parent&&(_0x1ae544['meta']['hidden']==null&&(_0x1ae544[_0xca12b(0x124)]['hidden']??=parent['meta']?.[_0xca12b(0x12b)],_0x1ae544[_0xca12b(0x124)]={..._0x1ae544[_0xca12b(0x124)]}),_0x1ae544[_0xca12b(0x124)][_0xca12b(0x12c)]==null&&(_0x1ae544['meta'][_0xca12b(0x12c)]??=parent[_0xca12b(0x124)]?.[_0xca12b(0x12c)],_0x1ae544['meta']={..._0x1ae544[_0xca12b(0x124)]})),_0x1ae544[_0xca12b(0x146)]?.[_0xca12b(0x128)](_0x1e1a34=>_0x36681e(_0x1e1a34,[..._0x61719c,_0x1ae544])),_0x1ae544[_0xca12b(0x124)][_0xca12b(0x12b)]!==![]&&_0x1ae544[_0xca12b(0x124)][_0xca12b(0x13f)]!==!![]&&(_0x1ae544['meta'][_0xca12b(0x12b)]=!_0x2bebd4[_0xca12b(0x126)](_0x4b8b88),_0x1ae544[_0xca12b(0x146)]?.[_0xca12b(0x148)](_0x1fa723=>_0x1fa723[_0xca12b(0x124)]['hidden']===![])&&(_0x1ae544[_0xca12b(0x124)][_0xca12b(0x12b)]=![])));};_0x170551[_0x11cf52(0x128)](_0x4652c1=>_0x36681e(_0x4652c1,[]));},{'immediate':!![]});});};export default{'check404':check404,'setTitle':setTitle,'checkRolesPages':checkRolesPages};function a90_0x5ee7(){const _0x1661d3=['some','6696734mlVcSb','5CQciqb','paths','7967367uISxkG','component','meta','logging','includes','/404','forEach','acl','sitename','hidden','visitable','20DMQUDz','beforeEach','error','app','1711LSCbBD','24668zKMKog','3163356lmpJEl','path','reduce','603LcEUcd','redirect','受限于您的账号权限,暂时无法访问\x20','8FVjqSu','3277662bxezdW','5016067ksMsEm','logined','matched','length','_hidden','replace','16irxxae','getters','menus','query','title','children','split'];a90_0x5ee7=function(){return _0x1661d3;};return a90_0x5ee7();}
|
package/packages/utils/model.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a91_0xd5eb(){const _0x85d83=['4091928lfOzxP','7046fZSLBn','5TuCnIu','48474nEhkrB','9KoICWL','579MiciGW','7558360AnBFJc','selection','959109CVCnYj','648zhNurV','491216QXZvpp','left','4956468LxhwHa','721rUwdqL'];a91_0xd5eb=function(){return _0x85d83;};return a91_0xd5eb();}const a91_0x7d1377=a91_0x21fb;function a91_0x21fb(_0x45963c,_0x444766){const _0xd5eb32=a91_0xd5eb();return a91_0x21fb=function(_0x21fb7c,_0x35af66){_0x21fb7c=_0x21fb7c-0x144;let _0x29e99b=_0xd5eb32[_0x21fb7c];return _0x29e99b;},a91_0x21fb(_0x45963c,_0x444766);}(function(_0x168253,_0x59375e){const _0x280f12=a91_0x21fb,_0x1ec395=_0x168253();while(!![]){try{const _0x5f4375=parseInt(_0x280f12(0x144))/0x1+parseInt(_0x280f12(0x14b))/0x2*(-parseInt(_0x280f12(0x14f))/0x3)+-parseInt(_0x280f12(0x148))/0x4*(parseInt(_0x280f12(0x14c))/0x5)+-parseInt(_0x280f12(0x14d))/0x6*(parseInt(_0x280f12(0x149))/0x7)+-parseInt(_0x280f12(0x14a))/0x8*(parseInt(_0x280f12(0x14e))/0x9)+parseInt(_0x280f12(0x150))/0xa+-parseInt(_0x280f12(0x146))/0xb*(-parseInt(_0x280f12(0x145))/0xc);if(_0x5f4375===_0x59375e)break;else _0x1ec395['push'](_0x1ec395['shift']());}catch(_0x1386f5){_0x1ec395['push'](_0x1ec395['shift']());}}}(a91_0xd5eb,0xd2dc5));export const baseForm=()=>({'loading':![],'form':{},'initialForm':{},'formItems':[],'formRef':null,'formRules':{},'initialFormRules':{},'_isBaseForm':!![],'viewonly':![]});export const baseTable=(_0x45ca19={})=>({'loading':![],'query':{'page':0x1,'limit':0xa,'order':[],..._0x45ca19},'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_0x7d1377(0x147),'type':a91_0x7d1377(0x151)},{'type':'_index'}],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_0x5b6f(_0x3f9ce5,_0x34979e){const _0x5ed313=a92_0x5ed3();return a92_0x5b6f=function(_0x5b6fe7,_0x18b43b){_0x5b6fe7=_0x5b6fe7-0x198;let _0x1461d1=_0x5ed313[_0x5b6fe7];return _0x1461d1;},a92_0x5b6f(_0x3f9ce5,_0x34979e);}const a92_0x348db3=a92_0x5b6f;(function(_0x4d3f58,_0x32d8b1){const _0x541f1f=a92_0x5b6f,_0x753839=_0x4d3f58();while(!![]){try{const _0x5568c2=parseInt(_0x541f1f(0x1ac))/0x1*(-parseInt(_0x541f1f(0x1ab))/0x2)+parseInt(_0x541f1f(0x1b6))/0x3+-parseInt(_0x541f1f(0x1cb))/0x4*(-parseInt(_0x541f1f(0x1d0))/0x5)+-parseInt(_0x541f1f(0x1ba))/0x6+parseInt(_0x541f1f(0x1bd))/0x7*(-parseInt(_0x541f1f(0x1b0))/0x8)+parseInt(_0x541f1f(0x1a5))/0x9*(parseInt(_0x541f1f(0x1d1))/0xa)+-parseInt(_0x541f1f(0x1a8))/0xb*(-parseInt(_0x541f1f(0x1c2))/0xc);if(_0x5568c2===_0x32d8b1)break;else _0x753839['push'](_0x753839['shift']());}catch(_0x53e370){_0x753839['push'](_0x753839['shift']());}}}(a92_0x5ed3,0x79f43));import{watch}from'vue';const {funcs}=StardustJs;export const initFields=_0xadc575=>{const _0x252614=a92_0x5b6f;return _0xadc575[_0x252614(0x1c4)](_0x308516=>{const _0x137c18=_0x252614,_0x4008bb=Object[_0x137c18(0x1d8)](_0x308516);for(let _0x16e9be of _0x4008bb){if(_0x16e9be[_0x137c18(0x1bc)]('ta_'))_0x308516['tableAttrs']??={},_0x308516[_0x137c18(0x1dd)][_0x16e9be[_0x137c18(0x1b4)](0x3)]=_0x308516[_0x16e9be],delete _0x308516[_0x16e9be];else _0x16e9be[_0x137c18(0x1bc)](_0x137c18(0x1c1))&&(_0x308516[_0x137c18(0x1ad)]??={},_0x308516[_0x137c18(0x1ad)][_0x16e9be[_0x137c18(0x1b4)](0x3)]=_0x308516[_0x16e9be],delete _0x308516[_0x16e9be]);}if(_0x308516[_0x137c18(0x1d9)]===_0x137c18(0x1c9))_0x308516[_0x137c18(0x1ad)]??={},_0x308516[_0x137c18(0x1ad)]['value-format']??=_0x137c18(0x1b5);else _0x308516[_0x137c18(0x1d9)]==='datetime'&&(_0x308516[_0x137c18(0x1ad)]??={},_0x308516[_0x137c18(0x1ad)][_0x137c18(0x1cd)]??=_0x137c18(0x1a4));return _0x308516['xs']??=0x18,_0x308516;});};export const initModel=(_0x29eadb,_0x466e09)=>{const _0x1542a3=a92_0x5b6f;for(let _0x48a9fe in _0x29eadb){const _0x3de3d2=_0x29eadb[_0x48a9fe];if(!_0x3de3d2||typeof _0x3de3d2!==_0x1542a3(0x1da))continue;_0x48a9fe===_0x1542a3(0x1d2)&&_0x29eadb[_0x48a9fe][_0x1542a3(0x19c)]&&initTable(_0x3de3d2,_0x466e09),_0x48a9fe===_0x1542a3(0x1b3)&&_0x29eadb[_0x48a9fe][_0x1542a3(0x1d3)]&&initDialog(_0x3de3d2,_0x466e09),_0x48a9fe===_0x1542a3(0x1a7)&&_0x29eadb[_0x48a9fe]['_isBaseForm']&&initForm(_0x3de3d2,_0x466e09);}return _0x29eadb;};export const initTable=(_0x34f632,_0x2f3cdd)=>{const _0x3f76e0=a92_0x5b6f;return _0x34f632['columns'][_0x3f76e0(0x1d7)](..._0x2f3cdd[_0x3f76e0(0x19f)](_0xb5c8d2=>{const _0xea67b5=_0x3f76e0;return _0xb5c8d2[_0xea67b5(0x1c5)]===![]?_0xb5c8d2[_0xea67b5(0x1a1)]:_0xb5c8d2[_0xea67b5(0x1a1)]!==![];})),_0x34f632;};export const initDialog=(_0x320e8b,_0x15a10f)=>{const _0x56b1e7=a92_0x5b6f;return _0x320e8b[_0x56b1e7(0x1db)]=_0x15a10f[_0x56b1e7(0x19f)](_0x2dda40=>{const _0x3f2d00=_0x56b1e7;if(_0x2dda40[_0x3f2d00(0x1c5)]===![])return _0x2dda40[_0x3f2d00(0x19b)]||_0x2dda40[_0x3f2d00(0x1b1)];return _0x2dda40[_0x3f2d00(0x19b)]!==![]||_0x2dda40[_0x3f2d00(0x1b1)]!==![];}),initForm(_0x320e8b,_0x15a10f),_0x320e8b;};export const initForm=(_0x32c9e3,_0x34381f)=>{const _0x1ad894=a92_0x5b6f;_0x32c9e3['_isBaseForm']&&!_0x32c9e3[_0x1ad894(0x1d3)]&&(_0x32c9e3['formItems']=_0x34381f[_0x1ad894(0x19f)](_0x51a549=>_0x51a549[_0x1ad894(0x1c5)]!==![]));initDefaultForm(_0x32c9e3['form'],_0x32c9e3[_0x1ad894(0x1db)]),_0x32c9e3[_0x1ad894(0x1af)]=funcs[_0x1ad894(0x1c6)](_0x32c9e3[_0x1ad894(0x1a7)]),_0x32c9e3['initialFormRules']=funcs[_0x1ad894(0x1c6)](_0x32c9e3[_0x1ad894(0x1a2)]);const _0xb89c76=()=>{initFormRules(_0x32c9e3);};return watch(()=>_0x32c9e3[_0x1ad894(0x1db)],_0xb89c76,{'immediate':!![],'deep':!![]}),_0x32c9e3;};export const initFormRules=_0x40ed0a=>{const _0x477129=a92_0x5b6f,{formItems:_0x4ee24b,initialFormRules:_0x51dbcd}=_0x40ed0a;Object[_0x477129(0x1cc)](_0x40ed0a[_0x477129(0x1a2)],funcs[_0x477129(0x1c6)](_0x51dbcd)),Object['keys'](_0x40ed0a[_0x477129(0x1a2)])[_0x477129(0x1be)](_0x1f98e7=>{const _0x1f3ba5=_0x477129;!_0x51dbcd[_0x1f3ba5(0x1a0)](_0x1f98e7)&&delete _0x40ed0a[_0x1f3ba5(0x1a2)][_0x1f98e7];});const _0x2f500b={};return _0x4ee24b['forEach'](_0x30fe48=>{const _0x5153a2=_0x477129;if(_0x40ed0a['formRules'][_0x30fe48['prop']])return;if(!_0x30fe48[_0x5153a2(0x1cf)]&&!_0x30fe48[_0x5153a2(0x1c0)]&&!_0x30fe48['asyncValidator'])return;const _0x5cabb5=_0x30fe48['platform']||_0x40ed0a['platform']||(window[_0x5153a2(0x1aa)]?_0x5153a2(0x1ce):'pc'),_0x4e8156=triggers[_0x5cabb5],_0x2fbd9a=[],_0x570390='options'in _0x30fe48,_0x42259b='请'+(_0x30fe48[_0x5153a2(0x1c0)]||_0x30fe48['asyncValidator']?'正确':'')+(_0x570390?'选择':'输入')+(_0x30fe48?.['label']||_0x30fe48['prop']),_0x1067fc={'required':!![],'message':_0x42259b};if(_0x30fe48[_0x5153a2(0x1c0)])_0x1067fc['validator']=(_0x2b5241,_0x18a9b8)=>{const _0x40f093=_0x5153a2;return _0x5cabb5==='pc'?_0x30fe48[_0x40f093(0x1c0)](_0x2b5241,_0x18a9b8):_0x30fe48[_0x40f093(0x1c0)](_0x18a9b8,_0x2b5241);};if(_0x30fe48['asyncValidator'])_0x1067fc['asyncValidator']=(_0xf294c8,_0x24f69f)=>{const _0x472016=_0x5153a2;return _0x5cabb5==='pc'?_0x30fe48[_0x472016(0x1d5)](_0xf294c8,_0x24f69f):_0x30fe48[_0x472016(0x1d5)](_0x24f69f,_0xf294c8);};!_0x30fe48['comp']?_0x2fbd9a[_0x5153a2(0x1d7)]({..._0x1067fc,'trigger':_0x4e8156[_0x5153a2(0x1c8)]}):_0x2fbd9a['push']({..._0x1067fc,'trigger':_0x4e8156[_0x5153a2(0x1a9)]}),_0x30fe48[_0x5153a2(0x1a3)]===_0x5153a2(0x1c7)&&_0x2fbd9a[_0x5153a2(0x1d7)]({..._0x1067fc,'trigger':_0x4e8156[_0x5153a2(0x1c8)]}),_0x2f500b[_0x30fe48[_0x5153a2(0x1c3)]]=_0x2fbd9a;}),Object['assign'](_0x40ed0a[_0x477129(0x1a2)],_0x2f500b),_0x40ed0a[_0x477129(0x1a2)];};export const initDefaultForm=(_0x4e5b85,_0x5032e4,_0x1e8359=!![])=>{const _0x38fedb=a92_0x5b6f,_0x43afe2={};return _0x5032e4[_0x38fedb(0x1be)](_0x422e6b=>{const _0x7627a6=_0x38fedb;if(!_0x422e6b['prop']||_0x422e6b[_0x7627a6(0x19d)])return;let _0x27396c='';const {type:_0x337dca,options:_0x467639}=_0x422e6b,{multiple:_0x1cd175}=_0x422e6b[_0x7627a6(0x1ad)]||{};if(_0x1e8359&&_0x337dca===_0x7627a6(0x19a)||_0x422e6b[_0x7627a6(0x1a3)]===_0x7627a6(0x1c7))_0x27396c=null;else{if(_0x422e6b[_0x7627a6(0x1a3)]===_0x7627a6(0x1ae))_0x27396c=![];else{if(_0x467639&&(_0x422e6b['comp']?.[_0x7627a6(0x1ca)](_0x7627a6(0x1b7))||_0x422e6b['comp']?.['endsWith'](_0x7627a6(0x1b9))||_0x1cd175))_0x27396c=[];else{if(_0x422e6b[_0x7627a6(0x1a3)]==='ElDatePicker'&&[_0x7627a6(0x1a6),'daterange','monthrange'][_0x7627a6(0x19e)](_0x422e6b['type'])){const _0x243913={'datetimerange':'时间','daterange':'日期','monthrange':'月份'}[_0x422e6b[_0x7627a6(0x1d9)]];!_0x422e6b[_0x7627a6(0x1b8)]&&(_0x422e6b[_0x7627a6(0x1b8)]='开始'+_0x243913),!_0x422e6b[_0x7627a6(0x1bb)]&&(_0x422e6b[_0x7627a6(0x1bb)]='结束'+_0x243913),_0x27396c=[];}}}}_0x43afe2[_0x422e6b[_0x7627a6(0x1c3)]]=_0x27396c;}),Object[_0x38fedb(0x1cc)](_0x4e5b85,{..._0x43afe2,..._0x4e5b85}),_0x4e5b85;};export const isWhenMatched=(_0x3674c4,_0x580d9b)=>{const _0x57cfc3=a92_0x5b6f;if(!_0x3674c4)return!![];const _0x4c9f3f=_0x3674c4[_0x57cfc3(0x1dc)](/\s?(&&|\|\|)\s?/g);if(_0x4c9f3f[_0x57cfc3(0x19e)]('&&')&&_0x4c9f3f[_0x57cfc3(0x19e)]('||'))throw'一个\x20when\x20表达式中仅支持\x20&&\x20模式或\x20||\x20模式';const _0x327c89=_0x4c9f3f[_0x57cfc3(0x19e)]('&&'),_0x4409db=/[\^\*\$\~\!]?=/,_0x599d0e=_0x4c9f3f['filter'](_0xd2aa8c=>_0xd2aa8c!=='&&'&&_0xd2aa8c!=='||');return _0x599d0e[_0x327c89?_0x57cfc3(0x1bf):_0x57cfc3(0x1d4)](_0x2e0fdd=>{const _0x48127a=_0x57cfc3;let [_0x4fa80e,_0x1d6067]=_0x2e0fdd[_0x48127a(0x1dc)](_0x4409db);_0x1d6067=_0x1d6067[_0x48127a(0x1dc)]('|');let _0x2f9be1=_0x580d9b[_0x4fa80e];if(typeof _0x2f9be1===_0x48127a(0x19a))_0x2f9be1+='';else{if(typeof _0x2f9be1===_0x48127a(0x198))_0x2f9be1=_0x2f9be1['trim']();}const _0x8e9711=_0x2e0fdd[_0x48127a(0x1d6)](_0x4409db)[0x0];if(_0x8e9711==='!=')return!_0x1d6067[_0x48127a(0x19e)](_0x2f9be1);return _0x1d6067[_0x48127a(0x1d4)](_0x4f5728=>{const _0x550129=_0x48127a;if(_0x8e9711==='^=')return _0x2f9be1?.['startsWith'](_0x4f5728);else{if(_0x8e9711==='*=')return _0x2f9be1?.[_0x550129(0x19e)](_0x4f5728);else{if(_0x8e9711==='$=')return _0x2f9be1?.[_0x550129(0x1ca)](_0x4f5728);else{if(_0x8e9711==='~=')return!_0x2f9be1?.[_0x550129(0x19e)](_0x4f5728);else{if(_0x8e9711==='!=')return _0x2f9be1!==_0x4f5728;}}}}return _0x4f5728===_0x2f9be1;});});};export const triggers={'mobile':{'blur':a92_0x348db3(0x1b2),'change':a92_0x348db3(0x199)},'pc':{'blur':a92_0x348db3(0x1c8),'change':a92_0x348db3(0x1a9)}};export default{'initFields':initFields,'initModel':initModel,'initTable':initTable,'initDialog':initDialog,'initForm':initForm,'initFormRules':initFormRules,'initDefaultForm':initDefaultForm,'isWhenMatched':isWhenMatched,'triggers':triggers};function a92_0x5ed3(){const _0x43a4e6=['initialForm','56mshyVM','canEdit','onBlur','dialog','slice','YYYY-MM-DD','2416275SBxLwU','XCheckboxs','start-placeholder','x-checkboxs','3815568nKpypV','end-placeholder','startsWith','27188deSZHR','forEach','every','validator','fa_','71916VIRqBu','prop','map','visible','deepCopy','ElInputNumber','blur','date','endsWith','76820wpSlOg','assign','value-format','mobile','required','65bDLEgI','50YSkPPv','table','_isBaseDialog','some','asyncValidator','match','push','keys','type','object','formItems','split','tableAttrs','string','onChange','number','canAdd','_isBaseTable','virtual','includes','filter','hasOwnProperty','canView','formRules','comp','YYYY-MM-DD\x20HH:mm:ss','974502LfPYES','datetimerange','form','88IXxmbp','change','isMobile','192714ynkTTe','5eICDHx','formAttrs','ElSwitch'];a92_0x5ed3=function(){return _0x43a4e6;};return a92_0x5ed3();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x38ca4d,_0x3e664c){const _0x403713=a93_0x3b78,_0x34d24c=_0x38ca4d();while(!![]){try{const _0x142466=-parseInt(_0x403713(0xef))/0x1+-parseInt(_0x403713(0x106))/0x2*(-parseInt(_0x403713(0xfa))/0x3)+-parseInt(_0x403713(0x114))/0x4+-parseInt(_0x403713(0xf7))/0x5+parseInt(_0x403713(0xfe))/0x6+-parseInt(_0x403713(0x115))/0x7+parseInt(_0x403713(0xf6))/0x8;if(_0x142466===_0x3e664c)break;else _0x34d24c['push'](_0x34d24c['shift']());}catch(_0x4193a9){_0x34d24c['push'](_0x34d24c['shift']());}}}(a93_0x11a2,0xea34e));function a93_0x3b78(_0x3671cc,_0x3565c5){const _0x11a27d=a93_0x11a2();return a93_0x3b78=function(_0x3b789b,_0xf00321){_0x3b789b=_0x3b789b-0xed;let _0x621d7e=_0x11a27d[_0x3b789b];return _0x621d7e;},a93_0x3b78(_0x3671cc,_0x3565c5);}import{Message}from'./message.js';function a93_0x11a2(){const _0x3386df=['data','9385782mBntYw','join','code','now','parse','convertIsoDates','decodeQuery','httpEncrypt','43052CzesGA','setToken','config','split','stringify','body','/login','setExpired','params','query','user','hash','encrypt','replace','2876964VxRNlV','2326947HnNwVn','/login?redirectTo=','refresh-token','toString','1352442UkTFae','Authorization','url','includes','reject','headers','err','18368016PaBCSI','8511705agHvic','token','indexOf','168XTCnck','Content-Type','slice'];a93_0x11a2=function(){return _0x3386df;};return a93_0x11a2();}const requestUse=(_0x4986c6,_0x4784cf,_0x1b094e,_0xce04d6,_0x2760ec)=>{const _0x457a63=a93_0x3b78;_0x2760ec[_0x457a63(0xf4)][_0x457a63(0xf0)]||=_0x1b094e[_0x457a63(0x110)][_0x457a63(0xf8)];const _0x4f40eb=_0x4986c6[_0x457a63(0x108)]['globalProperties'][_0x457a63(0x105)];if(_0x4f40eb!==![]){_0x2760ec[_0x457a63(0xf4)]['Http-Encrypt']=_0x4f40eb;const _0x4e1901=_0x2760ec[_0x457a63(0xfd)]instanceof FormData;!_0x4e1901&&(_0x2760ec['headers'][_0x457a63(0xfb)]||='application/json;\x20charset=UTF-8');if(_0x2760ec[_0x457a63(0xf1)][_0x457a63(0xf9)]('?')>=0x0){const [_0x45c32f,..._0x5787bc]=_0x2760ec[_0x457a63(0xf1)][_0x457a63(0x109)]('?'),_0x3f28c4=_0x4784cf[_0x457a63(0x112)][_0x4f40eb](_0x5787bc[_0x457a63(0xff)]('?'),_0x457a63(0x10f));_0x2760ec['url']=_0x45c32f+'?'+_0x3f28c4;}else _0x2760ec[_0x457a63(0x10e)]||={'__placeholder__':Date[_0x457a63(0x101)]()[_0x457a63(0xee)](0x10)};if(_0x2760ec[_0x457a63(0x10e)]){const _0x523488=decodeURIComponent(new URLSearchParams(_0x2760ec[_0x457a63(0x10e)])[_0x457a63(0xee)]());_0x2760ec[_0x457a63(0xf1)]+='?'+_0x4784cf[_0x457a63(0x112)][_0x4f40eb](_0x523488,_0x457a63(0x10f)),delete _0x2760ec[_0x457a63(0x10e)];}if(_0x2760ec[_0x457a63(0xfd)]!==undefined&&!_0x4e1901){const _0x574fc0=_0x4784cf[_0x457a63(0x112)][_0x4f40eb](JSON[_0x457a63(0x10a)](_0x2760ec[_0x457a63(0xfd)]),_0x457a63(0x10b));_0x2760ec[_0x457a63(0xfd)]=_0x574fc0;}}return _0x2760ec;},responseUse=(_0x28b972,_0x40f92d,_0x1a04a1,_0x129d56,_0x40963a)=>{const _0x1bce94=a93_0x3b78;if([0x191,0x192,0x2711][_0x1bce94(0xf2)](_0x40963a[_0x1bce94(0xfd)][_0x1bce94(0x100)])){_0x1a04a1[_0x1bce94(0x110)][_0x1bce94(0x10d)]();const _0x1bb26e='/'+location[_0x1bce94(0x111)][_0x1bce94(0xfc)](0x2)[_0x1bce94(0x109)]('?')[0x0],_0x35b546=StardustJs['funcs'][_0x1bce94(0x104)](location['href']['split']('?')[0x1]||'');return _0x129d56[_0x1bce94(0x113)](_0x35b546['redirectTo']?_0x1bce94(0x116)+(_0x35b546['redirectTo']||_0x1bb26e):_0x1bce94(0x10c)),Promise[_0x1bce94(0xf3)](_0x40963a);}else{if([0x2712][_0x1bce94(0xf2)](_0x40963a[_0x1bce94(0xfd)][_0x1bce94(0x100)]))return Message['e'](_0x40963a[_0x1bce94(0xfd)][_0x1bce94(0xf5)]),Promise['reject'](_0x40963a);}const _0x20c092=_0x40963a[_0x1bce94(0xf4)][_0x1bce94(0xed)]||_0x40963a[_0x1bce94(0xfd)][_0x1bce94(0xf8)];_0x20c092&&_0x1a04a1['user'][_0x1bce94(0x107)](_0x20c092);if(_0x40963a[_0x1bce94(0xfd)][_0x1bce94(0xf5)])return Message['e'](_0x40963a[_0x1bce94(0xfd)][_0x1bce94(0xf5)]||'未知错误'),Promise[_0x1bce94(0xf3)](_0x40963a);return _0x40963a[_0x1bce94(0xf4)]['content-type']?.['includes']('application/json')&&(_0x40963a['data']=JSON[_0x1bce94(0x102)](StardustJs['dates'][_0x1bce94(0x103)](JSON[_0x1bce94(0x10a)](_0x40963a['data'])))),Promise['resolve'](_0x40963a[_0x1bce94(0xfd)]);};export{requestUse,responseUse};
|
package/packages/utils/site.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a94_0x58cb30=a94_0x32f0;(function(_0x490484,_0x5d3353){const _0x355ca5=a94_0x32f0,_0x314a97=_0x490484();while(!![]){try{const _0x37a02b=parseInt(_0x355ca5(0x1da))/0x1*(parseInt(_0x355ca5(0x1cb))/0x2)+parseInt(_0x355ca5(0x1d1))/0x3*(parseInt(_0x355ca5(0x1db))/0x4)+-parseInt(_0x355ca5(0x1de))/0x5*(parseInt(_0x355ca5(0x1cc))/0x6)+-parseInt(_0x355ca5(0x1ce))/0x7+parseInt(_0x355ca5(0x1d0))/0x8+parseInt(_0x355ca5(0x1d2))/0x9+parseInt(_0x355ca5(0x1dc))/0xa*(parseInt(_0x355ca5(0x1d8))/0xb);if(_0x37a02b===_0x5d3353)break;else _0x314a97['push'](_0x314a97['shift']());}catch(_0x484479){_0x314a97['push'](_0x314a97['shift']());}}}(a94_0xb057,0xa7953));export const createWatermark=({text:_0x491049,gap:_0x2f2802,fontSize:_0xb46c16,color:_0x3f3747,width:width=window[a94_0x58cb30(0x1ca)],height:height=window[a94_0x58cb30(0x1dd)],drawMode:drawMode=a94_0x58cb30(0x1d5)})=>{const _0x1183fd=a94_0x58cb30,_0x52b08e=document[_0x1183fd(0x1d4)](_0x1183fd(0x1cd));_0x52b08e['width']=width,_0x52b08e[_0x1183fd(0x1d3)]=height;const _0x1f8d34=_0x52b08e[_0x1183fd(0x1d9)]('2d');_0x1f8d34[_0x1183fd(0x1cf)]=_0xb46c16+_0x1183fd(0x1d6),_0x1f8d34[drawMode+_0x1183fd(0x1d7)]=_0x3f3747;const _0x290c8f=_0x1f8d34['measureText'](_0x491049)['width'],_0x4736f7=_0x290c8f+_0x2f2802,_0x2c5e12=_0xb46c16+_0x2f2802;for(let _0x25f26b=_0x2f2802/0x2;_0x25f26b<height;_0x25f26b+=_0x2c5e12){for(let _0x43379d=_0x2f2802/0x2;_0x43379d<width;_0x43379d+=_0x4736f7){_0x1f8d34[drawMode+_0x1183fd(0x1df)](_0x491049,_0x43379d,_0x25f26b);}}return _0x52b08e;};function a94_0x32f0(_0x4b44f7,_0x1cf20d){const _0xb057f8=a94_0xb057();return a94_0x32f0=function(_0x32f067,_0x2cb866){_0x32f067=_0x32f067-0x1ca;let _0x5d5d4d=_0xb057f8[_0x32f067];return _0x5d5d4d;},a94_0x32f0(_0x4b44f7,_0x1cf20d);}function a94_0xb057(){const _0x4d72e6=['3204594lOWSup','height','createElement','fill','px\x20Arial','Style','11TihhvV','getContext','7QlGHet','2393928BESGSS','2183700ROEibu','innerHeight','35LJzcPX','Text','innerWidth','207038qvVouv','408450CMfoaf','canvas','6043492nTlGIc','font','1029992UWbadE','3zDptnz'];a94_0xb057=function(){return _0x4d72e6;};return a94_0xb057();}export default{'createWatermark':createWatermark};
|
package/packages/vite-plugins.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a95_0x551c83=a95_0x3e58;(function(_0x5b6266,_0xa77443){const _0x3fc1a2=a95_0x3e58,_0x3016d9=_0x5b6266();while(!![]){try{const _0x26f4e9=parseInt(_0x3fc1a2(0x1c8))/0x1+parseInt(_0x3fc1a2(0x1ab))/0x2*(parseInt(_0x3fc1a2(0x1dc))/0x3)+parseInt(_0x3fc1a2(0x1c7))/0x4+-parseInt(_0x3fc1a2(0x1d5))/0x5*(-parseInt(_0x3fc1a2(0x19f))/0x6)+-parseInt(_0x3fc1a2(0x1c9))/0x7*(parseInt(_0x3fc1a2(0x1cb))/0x8)+-parseInt(_0x3fc1a2(0x1b0))/0x9*(-parseInt(_0x3fc1a2(0x1db))/0xa)+-parseInt(_0x3fc1a2(0x1a3))/0xb;if(_0x26f4e9===_0xa77443)break;else _0x3016d9['push'](_0x3016d9['shift']());}catch(_0x16129e){_0x3016d9['push'](_0x3016d9['shift']());}}}(a95_0x181c,0x1d29b));import a95_0x1dbddf from'node:fs';import a95_0x5e1533 from'node:path';function a95_0x3e58(_0x426816,_0x199101){const _0x181ca5=a95_0x181c();return a95_0x3e58=function(_0x3e586c,_0x57160e){_0x3e586c=_0x3e586c-0x19f;let _0x51440b=_0x181ca5[_0x3e586c];return _0x51440b;},a95_0x3e58(_0x426816,_0x199101);}function a95_0x181c(){const _0xc20df3=['no\x20controller','Object','length','<script\x20setup>\x0a','.js','existsSync','dirname','60NmlwjY','\x20=\x20new\x20Table(','return\x20__returned__','startsWith','vue\x20})','model,\x20','6400lhZROZ','12qkVVEI','instantiateTables','auto-inject','</style>','23616hQJTCq','return\x20{\x20...__returned__,\x20...filterPrivateFields(controller)\x20}','split','.scss\x22;','1946065cOFAUR','const\x20model','@use\x20\x22./','controller.js','\x27)\x0a','_ctx\x20=\x20wrapCtx(_ctx,\x20filterPrivateFields(model),\x20filterPrivateFields(controller))','DbName','.vue','76474qkoXeL','const\x20controller\x20=\x20makeController({\x20','-scoped.scss','return\x20(_ctx,\x20_cache)\x20=>\x20{','import\x20makeModel\x20','1125gvDaQV','<style\x20lang=\x22scss\x22>','splice','slice','filter','includes','/src/','<script>','<script\x20setup>','map','import\x20makeController\x20','replace','push','import\x20makeModel\x20from\x20\x27./model.js\x27','const\x20controller','join','basename','trim','.scss','-scoped.scss\x22;','\x0a\x20\x20const\x20filterPrivateFields\x20=\x20source\x20=>\x20{\x0a\x20\x20\x20\x20const\x20target\x20=\x20{}\x0a\x20\x20\x20\x20for\x20(let\x20key\x20in\x20source)\x20{\x0a\x20\x20\x20\x20\x20\x20if\x20(key[0]\x20!==\x20\x22$\x22\x20&&\x20key[0]\x20!==\x20\x22_\x22)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20target[key]\x20=\x20source[key]\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20return\x20target\x0a\x20\x20}\x0a\x20\x20const\x20wrapCtx\x20=\x20(_ctx,\x20model,\x20controller)\x20=>\x20{\x0a\x20\x20\x20\x20return\x20new\x20Proxy(_ctx,\x20{\x0a\x20\x20\x20\x20\x20\x20get\x20(obj,\x20prop)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(prop\x20in\x20obj)\x20return\x20obj[prop]\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20model?.[prop]\x20??\x20controller?.[prop]\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20})\x0a\x20\x20}\x0a','import\x20makeController\x20from\x20\x27./controller.js\x27','auto-deconstruct','369792RaAGOW','161397ZqOdQo','7kBQMzu','_ctx\x20=\x20wrapCtx(_ctx,\x20filterPrivateFields(model))','1901272PiHgUP','model.js','_ctx\x20=\x20wrapCtx(_ctx,\x20null,\x20filterPrivateFields(controller))'];a95_0x181c=function(){return _0xc20df3;};return a95_0x181c();}const filterPrivateFields=a95_0x551c83(0x1c4),inject=(_0x29214c,_0x52dc15)=>{const _0x3afca7=a95_0x551c83,_0x4c3b2f=a95_0x5e1533[_0x3afca7(0x1d4)](_0x52dc15),_0x7b0be1=a95_0x5e1533[_0x3afca7(0x1c0)](_0x52dc15),_0x1a783f=_0x7b0be1[_0x3afca7(0x1a1)]('.')[0x0],_0x56a95e=a95_0x1dbddf['existsSync'](a95_0x5e1533[_0x3afca7(0x1bf)](_0x4c3b2f,_0x1a783f+_0x3afca7(0x1ad))),_0x462518=a95_0x1dbddf[_0x3afca7(0x1d3)](a95_0x5e1533[_0x3afca7(0x1bf)](_0x4c3b2f,_0x1a783f+_0x3afca7(0x1c2))),_0x2ba2d7=a95_0x1dbddf['existsSync'](a95_0x5e1533[_0x3afca7(0x1bf)](_0x4c3b2f,_0x3afca7(0x1cc))),_0x5d0b53=a95_0x1dbddf[_0x3afca7(0x1d3)](a95_0x5e1533[_0x3afca7(0x1bf)](_0x4c3b2f,_0x3afca7(0x1a6))),_0x183853=_0x2ba2d7&&!_0x29214c[_0x3afca7(0x1b5)]('no\x20model')&&!_0x29214c['includes'](_0x3afca7(0x1a4))&&!_0x29214c['includes']('import\x20model\x20'),_0x97e8f8=_0x5d0b53&&!_0x29214c[_0x3afca7(0x1b5)](_0x3afca7(0x1ce))&&!_0x29214c['includes'](_0x3afca7(0x1be))&&!_0x29214c['includes']('import\x20controller\x20');if(_0x52dc15[_0x3afca7(0x1b5)](_0x3afca7(0x1b6))&&_0x7b0be1['includes']('.vue')&&_0x29214c[_0x3afca7(0x1d8)]('<script\x20setup>')){_0x29214c=_0x29214c[_0x3afca7(0x1bb)](_0x3afca7(0x1b8),_0x3afca7(0x1d1));const _0x52242b=_0x29214c[_0x3afca7(0x1a1)]('\x0a');_0x56a95e&&_0x52242b[_0x3afca7(0x1bc)](...['<style\x20lang=\x22scss\x22\x20scoped>','@use\x20\x22./'+_0x1a783f+_0x3afca7(0x1c3),_0x3afca7(0x1df)]),_0x462518&&_0x52242b[_0x3afca7(0x1bc)](...[_0x3afca7(0x1b1),_0x3afca7(0x1a5)+_0x1a783f+_0x3afca7(0x1a2),_0x3afca7(0x1df)]),_0x97e8f8&&_0x52242b[_0x3afca7(0x1b2)](0x1,0x0,_0x3afca7(0x1c5),_0x3afca7(0x1ac)+(_0x183853?_0x3afca7(0x1da):'')+_0x3afca7(0x1d9)),_0x183853&&_0x52242b['splice'](0x1,0x0,_0x3afca7(0x1bd),'const\x20model\x20=\x20makeModel()'),_0x29214c=_0x52242b['join']('\x0a');}return _0x29214c;},instantiateTables=(_0x551cbf,_0xd2c373)=>{const _0x5403b8=a95_0x551c83,_0x5c70a8=a95_0x5e1533['basename'](_0xd2c373),_0xb6736e=_0x5c70a8[_0x5403b8(0x1b5)](_0x5403b8(0x1aa)),_0x45ef23=_0x5c70a8[_0x5403b8(0x1b5)](_0x5403b8(0x1d2));if(_0xd2c373[_0x5403b8(0x1b5)](_0x5403b8(0x1b6))&&(_0xb6736e||_0x45ef23)){const _0x9d7553=_0x551cbf['split']('\x0a')[_0x5403b8(0x1b9)](_0xf5ec7a=>_0xf5ec7a[_0x5403b8(0x1c1)]())[_0x5403b8(0x1b4)](_0x40b54d=>!_0x40b54d[_0x5403b8(0x1d8)]('//'))[_0x5403b8(0x1bf)]('\x0a');let _0x35727f=[...new Set([..._0x9d7553['matchAll'](/[^a-z][A-Z]\w+\.(search|add|update|remove|func|batch|get)/g)][_0x5403b8(0x1b9)](_0x1a47ce=>_0x1a47ce[0x0][_0x5403b8(0x1b3)](0x1)[_0x5403b8(0x1a1)]('.')[0x0]))];_0x35727f=_0x35727f[_0x5403b8(0x1b4)](_0x195f8a=>![_0x5403b8(0x1cf)]['includes'](_0x195f8a));if(_0x35727f[_0x5403b8(0x1d0)]){let _0x2acb2e='';_0x35727f['forEach'](_0x3c98f0=>{const _0x3c1987=_0x5403b8;let [_0x1f971e,_0x3e62bd]=_0x3c98f0[_0x3c1987(0x1a1)]('_')[_0x3c1987(0x1b9)](_0x3c8147=>_0x3c8147[_0x3c1987(0x1bb)](/[A-Z]/g,_0x33e833=>'_'+_0x33e833['toLowerCase']())[_0x3c1987(0x1b3)](0x1));_0x3e62bd?_0x1f971e='\x27'+_0x1f971e+'\x27':(_0x3e62bd=_0x1f971e,_0x1f971e=_0x3c1987(0x1a9)),_0x2acb2e+='const\x20'+_0x3c98f0+_0x3c1987(0x1d6)+_0x1f971e+',\x20\x27'+_0x3e62bd+_0x3c1987(0x1a7);}),_0xb6736e?_0x551cbf=_0x551cbf['replace']('<script\x20setup>','<script\x20setup>\x0a'+_0x2acb2e)[_0x5403b8(0x1bb)](_0x5403b8(0x1b7),'<script>\x0a'+_0x2acb2e):_0x551cbf=_0x2acb2e+_0x551cbf;}}return _0x551cbf;},deconstruct=(_0x15936b,_0x251133)=>{const _0x52362e=a95_0x551c83,_0x326729=a95_0x5e1533[_0x52362e(0x1c0)](_0x251133),_0x4a4042=_0x326729[_0x52362e(0x1b5)]('.vue');if(_0x251133[_0x52362e(0x1b5)](_0x52362e(0x1b6))&&_0x4a4042){const _0x12afaf=_0x52362e(0x1d7),_0x502b5c=_0x52362e(0x1ae),_0x1bfc33=_0x15936b[_0x52362e(0x1b5)](_0x12afaf),_0x59791e=_0x15936b['includes'](_0x502b5c),_0x57e64a=(_0x1bfc33||_0x59791e)&&_0x15936b[_0x52362e(0x1b5)](_0x52362e(0x1af)),_0x53b9f3=(_0x1bfc33||_0x59791e)&&_0x15936b[_0x52362e(0x1b5)](_0x52362e(0x1ba));if(_0x57e64a||_0x53b9f3){let _0x55512d=filterPrivateFields;if(_0x1bfc33){if(_0x57e64a&&_0x53b9f3)_0x55512d+='return\x20{\x20...__returned__,\x20...filterPrivateFields(model),\x20...filterPrivateFields(controller)\x20}';else{if(_0x57e64a)_0x55512d+='return\x20{\x20...__returned__,\x20...filterPrivateFields(model)\x20}';else _0x53b9f3&&(_0x55512d+=_0x52362e(0x1a0));}}else{_0x55512d+=_0x502b5c+'\x0a';if(_0x57e64a&&_0x53b9f3)_0x55512d+=_0x52362e(0x1a8);else{if(_0x57e64a)_0x55512d+=_0x52362e(0x1ca);else _0x53b9f3&&(_0x55512d+=_0x52362e(0x1cd));}_0x55512d+='\x0a';}_0x15936b=_0x15936b[_0x52362e(0x1bb)](_0x1bfc33?_0x12afaf:_0x502b5c,_0x55512d);}}return _0x15936b;};export const autoInject=(_0x2ac616={})=>{const _0x5aea59=a95_0x551c83;return{'name':_0x5aea59(0x1de),'transform'(_0x7599ba,_0x4ccc19){const _0x1b0d21=_0x5aea59;return _0x7599ba=inject(_0x7599ba,_0x4ccc19),_0x2ac616[_0x1b0d21(0x1dd)]!==![]&&(_0x7599ba=instantiateTables(_0x7599ba,_0x4ccc19)),{'code':_0x7599ba};}};};export const autoDeconstruct=()=>{const _0x2a9df7=a95_0x551c83;return{'name':_0x2a9df7(0x1c6),'transform'(_0x416ff4,_0x36c9d3){return{'code':deconstruct(_0x416ff4,_0x36c9d3)};}};};
|
package/src/main.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a96_0x57a0ce=a96_0x5811;(function(_0x5d2041,_0x11d975){const _0x77b909=a96_0x5811,_0x632e80=_0x5d2041();while(!![]){try{const _0x3a1170=-parseInt(_0x77b909(0x16e))/0x1*(parseInt(_0x77b909(0x177))/0x2)+parseInt(_0x77b909(0x178))/0x3+-parseInt(_0x77b909(0x16a))/0x4*(parseInt(_0x77b909(0x170))/0x5)+parseInt(_0x77b909(0x167))/0x6*(parseInt(_0x77b909(0x169))/0x7)+-parseInt(_0x77b909(0x179))/0x8*(parseInt(_0x77b909(0x16b))/0x9)+parseInt(_0x77b909(0x173))/0xa*(parseInt(_0x77b909(0x172))/0xb)+-parseInt(_0x77b909(0x16c))/0xc*(-parseInt(_0x77b909(0x171))/0xd);if(_0x3a1170===_0x11d975)break;else _0x632e80['push'](_0x632e80['shift']());}catch(_0x57d966){_0x632e80['push'](_0x632e80['shift']());}}}(a96_0x3b0d,0x5f9cf));function a96_0x5811(_0x44d397,_0x607df0){const _0x3b0dfc=a96_0x3b0d();return a96_0x5811=function(_0x5811c8,_0x1121a1){_0x5811c8=_0x5811c8-0x164;let _0x4f60eb=_0x3b0dfc[_0x5811c8];return _0x4f60eb;},a96_0x5811(_0x44d397,_0x607df0);}import{createApp}from'vue';import a96_0x5846a9 from'element-plus';import a96_0x44ec94 from'vant';import a96_0x29f8c8 from'../packages/index.js';import'../packages/index.scss';import a96_0x315397,{API_BASE_URL}from'./request.js';import a96_0x5ebc3a from'@/App.vue';function a96_0x3b0d(){const _0x579526=['1630491gafGlX','8DEzeYM','#app','config','mount','36yYkvCW','assign','217wtNLWH','3956xmvhfA','67707yxRWbc','5919756OWksBb','isMobile','179381WCstYk','directive','3725TWsoAQ','13PrmTsI','561uRuKMV','89750unwMJj','component','globalProperties','use','4cLqcin'];a96_0x3b0d=function(){return _0x579526;};return a96_0x3b0d();}const app=createApp(a96_0x5ebc3a);app[a96_0x57a0ce(0x16f)]('domid',{'created'(_0x23f754,_0xd69873){}}),app['use'](a96_0x5846a9);for(const [key,component]of Object['entries'](ElementPlusIconsVue)){app[a96_0x57a0ce(0x174)](key,component);}app[a96_0x57a0ce(0x176)](a96_0x44ec94),app[a96_0x57a0ce(0x176)](a96_0x29f8c8,{'ElementPlus':a96_0x5846a9,'Vant':a96_0x44ec94}),Object[a96_0x57a0ce(0x168)](app[a96_0x57a0ce(0x165)][a96_0x57a0ce(0x175)],{'isMobile':window[a96_0x57a0ce(0x16d)],'service':{'request':a96_0x315397,'API_BASE_URL':API_BASE_URL},'$store':{'app':{'sidebarCollapse':![],'toggleDuration':0x0}}}),app[a96_0x57a0ce(0x166)](a96_0x57a0ce(0x164));export default app;
|
package/src/request.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a97_0x46a392=a97_0x457f;(function(_0x4b4abc,_0xdf01d7){const _0x4dfaa6=a97_0x457f,_0x5241cd=_0x4b4abc();while(!![]){try{const _0x4de030=-parseInt(_0x4dfaa6(0x14b))/0x1*(parseInt(_0x4dfaa6(0x15b))/0x2)+parseInt(_0x4dfaa6(0x154))/0x3+-parseInt(_0x4dfaa6(0x156))/0x4+parseInt(_0x4dfaa6(0x150))/0x5+-parseInt(_0x4dfaa6(0x15d))/0x6*(parseInt(_0x4dfaa6(0x155))/0x7)+-parseInt(_0x4dfaa6(0x157))/0x8*(-parseInt(_0x4dfaa6(0x14c))/0x9)+parseInt(_0x4dfaa6(0x14e))/0xa*(parseInt(_0x4dfaa6(0x15e))/0xb);if(_0x4de030===_0xdf01d7)break;else _0x5241cd['push'](_0x5241cd['shift']());}catch(_0x2f2bcc){_0x5241cd['push'](_0x5241cd['shift']());}}}(a97_0x1441,0x5b285));function a97_0x457f(_0x394f53,_0x1c4fab){const _0x14415d=a97_0x1441();return a97_0x457f=function(_0x457fc7,_0x5e2b28){_0x457fc7=_0x457fc7-0x148;let _0x4b59ec=_0x14415d[_0x457fc7];return _0x4b59ec;},a97_0x457f(_0x394f53,_0x1c4fab);}function a97_0x1441(){const _0x36bb44=['PUT','error','1GosNVq','9ftmBqV','API_BASE_URL','1572190RQHlDG','env','305875qObVLu','create','string','request','2078355nakYlI','679231lCjESj','2532148dFouMC','2524120lcvsmY','use','interceptors','body','875362FYqGPG','startsWith','6TlHvon','33ltMUAs','application/json'];a97_0x1441=function(){return _0x36bb44;};return a97_0x1441();}const {PROD,VITE_DEV_BASE_URL,VITE_PROD_BASE_URL,VITE_TIMEOUT=0xea60}=import.meta[a97_0x46a392(0x14f)],API_BASE_URL=window[a97_0x46a392(0x14d)]||(PROD?VITE_PROD_BASE_URL:VITE_DEV_BASE_URL),createRequest=_0x4099b1=>{const _0x2dd778=a97_0x46a392,_0x492c81=axios[_0x2dd778(0x151)]({'baseURL':API_BASE_URL,'timeout':VITE_TIMEOUT*0x1,..._0x4099b1});return _0x492c81[_0x2dd778(0x159)][_0x2dd778(0x153)]['use'](_0x4a059c=>{return _0x4a059c;},_0x3490d3=>{const _0x4f7418=_0x2dd778;console[_0x4f7418(0x14a)](_0x3490d3);}),_0x492c81[_0x2dd778(0x159)]['response'][_0x2dd778(0x158)](_0x4691c9=>{return _0x4691c9;},_0x2e4541=>{console['error'](_0x2e4541);}),_0x492c81;},fetchRequest=(_0x4f5314,_0x44bb65={})=>{const _0x4f6901=a97_0x46a392;_0x4f5314=_0x4f5314[_0x4f6901(0x15c)]('http')?_0x4f5314:API_BASE_URL+_0x4f5314;const {method:method='GET',headers:_0x5b587a,body:_0x44f90,..._0x25e885}=_0x44bb65,_0x2b9588={'method':method,..._0x25e885,'headers':{'content-type':_0x4f6901(0x148),..._0x5b587a}};return[_0x4f6901(0x149),'POST']['includes'](method['toUpperCase']())&&(_0x2b9588[_0x4f6901(0x15a)]=typeof _0x44f90===_0x4f6901(0x152)?_0x44f90:JSON['stringify'](_0x44f90)),fetch(_0x4f5314,_0x2b9588);};export default createRequest();export{API_BASE_URL,createRequest,fetchRequest};
|
package/vite.config.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x95fd45,_0x3e866d){const _0x39686a=a98_0x3b95,_0x36c764=_0x95fd45();while(!![]){try{const _0xb2e408=-parseInt(_0x39686a(0x1b4))/0x1+-parseInt(_0x39686a(0x1b5))/0x2*(-parseInt(_0x39686a(0x1b0))/0x3)+-parseInt(_0x39686a(0x1bc))/0x4*(parseInt(_0x39686a(0x1b2))/0x5)+-parseInt(_0x39686a(0x1c3))/0x6+-parseInt(_0x39686a(0x1bb))/0x7*(parseInt(_0x39686a(0x1b9))/0x8)+-parseInt(_0x39686a(0x1ae))/0x9*(parseInt(_0x39686a(0x1c1))/0xa)+parseInt(_0x39686a(0x1b3))/0xb;if(_0xb2e408===_0x3e866d)break;else _0x36c764['push'](_0x36c764['shift']());}catch(_0x37ac5a){_0x36c764['push'](_0x36c764['shift']());}}}(a98_0x13f9,0x23d20));function a98_0x13f9(){const _0xd7d5c5=['207kDmNwI','@babel/plugin-proposal-decorators','3vpPOGv','node_modules','12040jAoZYY','6662898TeGzDb','18490wIohsB','369310goGPgv','defaults','Vue','2023-11','12824BvIMxa','regenerator-runtime/runtime','469bpTTBC','128sibbvJ','split','toString','src','node_modules/','68410sfOTVQ','dist','1700178gaAeBj','vue/dist/vue.esm-bundler.js','decorators'];a98_0x13f9=function(){return _0xd7d5c5;};return a98_0x13f9();}import a98_0x24b890 from'path';function a98_0x3b95(_0x20aca6,_0x428b8c){const _0x13f9e4=a98_0x13f9();return a98_0x3b95=function(_0x3b955,_0x3fdda6){_0x3b955=_0x3b955-0x1ae;let _0x2ed215=_0x13f9e4[_0x3b955];return _0x2ed215;},a98_0x3b95(_0x20aca6,_0x428b8c);}import{defineConfig}from'vite';import a98_0x2548da from'@vitejs/plugin-vue';import a98_0x1662e8 from'@vitejs/plugin-legacy';import a98_0x34b1f6 from'@vitejs/plugin-vue-jsx';import a98_0x5861c2 from'@rollup/plugin-commonjs';import a98_0x432bd9 from'rollup-plugin-external-globals';import{babel}from'@rollup/plugin-babel';import{createStyleImportPlugin,VantResolve}from'vite-plugin-style-import';const resolve=_0x600135=>a98_0x24b890['join'](process['cwd'](),_0x600135);export default defineConfig(({command:_0x564b3f,mode:_0x4a5e28})=>{const _0x40a2da=a98_0x3b95,_0xe14d5e={'plugins':[a98_0x2548da({'template':{'compilerOptions':{'expressionPlugins':[[_0x40a2da(0x1c5),{'version':_0x40a2da(0x1b8)}]]}},'script':{'babelParserPlugins':[['decorators',{'version':_0x40a2da(0x1b8)}],'decorators']}}),a98_0x34b1f6(),babel({'compact':![],'plugins':[[_0x40a2da(0x1af),{'version':_0x40a2da(0x1b8)}]]}),createStyleImportPlugin({'resolves':[VantResolve()]}),a98_0x1662e8({'targets':[_0x40a2da(0x1b6)],'additionalLegacyPolyfills':[_0x40a2da(0x1ba)]})],'runtimeCompiler':!![],'build':{'outDir':_0x40a2da(0x1c2),'rollupOptions':{'external':['vue'],'plugins':[a98_0x5861c2(),a98_0x432bd9({'vue':_0x40a2da(0x1b7)})],'output':{'manualChunks'(_0xfbee12){const _0x4300ce=_0x40a2da;if(_0xfbee12['includes'](_0x4300ce(0x1b1)))return _0xfbee12[_0x4300ce(0x1be)]()[_0x4300ce(0x1bd)](_0x4300ce(0x1c0))[0x1][_0x4300ce(0x1bd)]('/')[0x0]['toString']();}}}},'resolve':{'alias':{'@':resolve(_0x40a2da(0x1bf)),'vue':_0x40a2da(0x1c4)}}};return _0xe14d5e;});
|
package/vite.lib.config.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a99_0x33d311=a99_0x3bfe;(function(_0x4ee582,_0x330c16){const _0x5325de=a99_0x3bfe,_0x57e8a8=_0x4ee582();while(!![]){try{const _0xbba9fc=-parseInt(_0x5325de(0xfe))/0x1*(parseInt(_0x5325de(0xe8))/0x2)+parseInt(_0x5325de(0xea))/0x3*(parseInt(_0x5325de(0xf3))/0x4)+-parseInt(_0x5325de(0xfd))/0x5*(-parseInt(_0x5325de(0xf7))/0x6)+parseInt(_0x5325de(0xf1))/0x7*(-parseInt(_0x5325de(0xef))/0x8)+parseInt(_0x5325de(0xed))/0x9*(-parseInt(_0x5325de(0xeb))/0xa)+-parseInt(_0x5325de(0xf8))/0xb*(parseInt(_0x5325de(0xfc))/0xc)+parseInt(_0x5325de(0xe7))/0xd*(parseInt(_0x5325de(0xf0))/0xe);if(_0xbba9fc===_0x330c16)break;else _0x57e8a8['push'](_0x57e8a8['shift']());}catch(_0x2a8bbc){_0x57e8a8['push'](_0x57e8a8['shift']());}}}(a99_0x3eb8,0x43b81));import a99_0x5c5154 from'path';import{defineConfig}from'vite';import a99_0x448370 from'@vitejs/plugin-vue';import a99_0xc467de from'@vitejs/plugin-vue-jsx';function a99_0x3eb8(){const _0x47edaa=['StardustUI','96WYbwgr','180ScGGyz','2wgCoZC','12736321pxoKGx','159234rEzmMv','toString','60ZBZqRP','20ZAIhIu','src','1108647wCRrgo','cwd','120480rniNzt','14ppDBiR','77FsKkhF','vue/dist/vue.esm-bundler.js','1076PBrARb','vue','node_modules','./packages/index.js','58458Bkedhk','669911QfzQCV','includes','index'];a99_0x3eb8=function(){return _0x47edaa;};return a99_0x3eb8();}import a99_0x384cdb from'@rollup/plugin-commonjs';import a99_0x1519b1 from'rollup-plugin-external-globals';import{createStyleImportPlugin,VantResolve}from'vite-plugin-style-import';const resolve=_0x1afc7d=>a99_0x5c5154['join'](process[a99_0x33d311(0xee)](),_0x1afc7d);function a99_0x3bfe(_0x2ce055,_0x5c118f){const _0x3eb836=a99_0x3eb8();return a99_0x3bfe=function(_0x3bfeb5,_0x53e677){_0x3bfeb5=_0x3bfeb5-0xe7;let _0x24cc61=_0x3eb836[_0x3bfeb5];return _0x24cc61;},a99_0x3bfe(_0x2ce055,_0x5c118f);}export default defineConfig(({command:_0x3d2848,mode:_0x510660})=>{const _0x43b9f9=a99_0x33d311,_0x389cc9={'plugins':[a99_0x448370(),a99_0xc467de(),createStyleImportPlugin({'resolves':[VantResolve()]})],'runtimeCompiler':!![],'build':{'outDir':'./','lib':{'entry':_0x43b9f9(0xf6),'name':_0x43b9f9(0xfb),'fileName':_0x43b9f9(0xfa),'formats':['es']},'rollupOptions':{'external':[_0x43b9f9(0xf4)],'plugins':[a99_0x384cdb()],'output':{'globals':{'vue':'Vue'},'manualChunks'(_0x38616d){const _0x5f4387=_0x43b9f9;if(_0x38616d[_0x5f4387(0xf9)](_0x5f4387(0xf5)))return _0x38616d[_0x5f4387(0xe9)]()['split']('node_modules/')[0x1]['split']('/')[0x0]['toString']();}}}},'resolve':{'alias':{'@':resolve(_0x43b9f9(0xec)),'vue':_0x43b9f9(0xf2)}}};return _0x389cc9;});
|