@wp1001/ui 3.6.12 → 3.6.15
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(_0x3eb141,_0x2aa562){const _0x3102af=a90_0x90a6,_0x13cd79=_0x3eb141();while(!![]){try{const _0x13c72e=parseInt(_0x3102af(0x19c))/0x1*(parseInt(_0x3102af(0x19a))/0x2)+-parseInt(_0x3102af(0x18d))/0x3+-parseInt(_0x3102af(0x199))/0x4+parseInt(_0x3102af(0x1a2))/0x5*(-parseInt(_0x3102af(0x1a9))/0x6)+parseInt(_0x3102af(0x1a6))/0x7+-parseInt(_0x3102af(0x193))/0x8*(-parseInt(_0x3102af(0x18a))/0x9)+parseInt(_0x3102af(0x190))/0xa;if(_0x13c72e===_0x2aa562)break;else _0x13cd79['push'](_0x13cd79['shift']());}catch(_0x28b4b2){_0x13cd79['push'](_0x13cd79['shift']());}}}(a90_0x3145,0x94705));function a90_0x3145(){const _0x5184d3=['forEach','3626301dbdsej','acl','title','8983800nntKvL','\x20页面,如有需要请联系我们','split','86448emNVlk','some','path','logined','children','matched','3223316OafPFW','1380SGIbGW','replace','1340nPTxMo','_hidden','paths','app','length','meta','1346945wcKhRf','beforeEach','hidden','sitename','6499724uayJBY','logging','afterEach','6WRcIWo','menus','includes','query','visitable','/404','117eWguBo','component'];a90_0x3145=function(){return _0x5184d3;};return a90_0x3145();}function a90_0x90a6(_0x1e63de,_0x463b41){const _0x314569=a90_0x3145();return a90_0x90a6=function(_0x90a661,_0x57bc42){_0x90a661=_0x90a661-0x189;let _0x4fba4b=_0x314569[_0x90a661];return _0x4fba4b;},a90_0x90a6(_0x1e63de,_0x463b41);}import{watch,nextTick}from'vue';import{Message}from'./message.js';const {funcs}=StardustJs;export const check404=(_0x4ac785,_0xe75682,_0x1c050d)=>{const _0x21433a=a90_0x90a6;_0x4ac785[_0x21433a(0x1a3)](async(_0x51823f,_0x3f2959)=>{const _0xba405e=_0x21433a;return!!_0x51823f['matched'][_0xba405e(0x1a0)]||'/404';});};export const setTitle=(_0x432ff7,_0xea9d2f,_0x8f0ccd)=>{const _0x30a49e=a90_0x90a6;_0x432ff7[_0x30a49e(0x1a8)]((_0x7e1bfc,_0x233a6c)=>{const _0x4aa6dc=_0x30a49e;document[_0x4aa6dc(0x18f)]=_0x7e1bfc[_0x4aa6dc(0x198)][_0x7e1bfc[_0x4aa6dc(0x198)]['length']-0x1][_0x4aa6dc(0x1a1)]?.['title']||_0xea9d2f[_0x4aa6dc(0x19f)][_0x4aa6dc(0x1a5)];});};export const checkRolesPages=(_0x4eef3f,_0x1098c2,_0x19a137)=>{const _0x4f6e60=a90_0x90a6;_0x4eef3f[_0x4f6e60(0x1a3)](async(_0x2dc725,_0x45102e)=>{const _0xace417=_0x4f6e60,_0x19f5c0=_0x2dc725['matched'][_0x2dc725[_0xace417(0x198)][_0xace417(0x1a0)]-0x1]['path'][_0xace417(0x192)]('/:')[0x0];if(_0x2dc725[_0xace417(0x1a1)]['acl']===![]||_0x2dc725[_0xace417(0x1a1)]?.[_0xace417(0x1ad)])return!![];while(_0x1098c2['getters'][_0xace417(0x1a7)]){await funcs['sleep'](0x14);}await nextTick();if(_0x1098c2['acl'][_0xace417(0x19e)][_0xace417(0x1ab)](_0x19f5c0))return!![];const _0x2e6aff={'redirectTo':_0x2dc725[_0xace417(0x195)],..._0x2dc725[_0xace417(0x1ac)]};return _0x1098c2['getters'][_0xace417(0x196)]&&(_0x2e6aff['error']='受限于您的账号权限,暂时无法访问\x20'+_0x2dc725[_0xace417(0x195)]+_0xace417(0x191),Message({'message':_0x2e6aff['error'],'duration':0x2710})),{'path':_0x1098c2[_0xace417(0x18e)]['paths'][0x0]||_0xace417(0x189),'query':_0x2e6aff};}),nextTick(()=>{const _0x2dc387=_0x4f6e60;let _0x38bbbc=![];watch(()=>_0x1098c2[_0x2dc387(0x18e)][_0x2dc387(0x1aa)],_0x2f2916=>{const _0xc0780a=_0x2dc387;if(!_0x38bbbc){if(!_0x2f2916[_0xc0780a(0x1a0)])return;_0x38bbbc=!![];}const _0x48768e=_0x1098c2['acl']['paths'],_0x2ef9f1=(_0x125dee,_0x169b84)=>{const _0x2a26e7=_0xc0780a;let _0x33dd05;_0x125dee['redirect']&&!_0x125dee[_0x2a26e7(0x18b)]?_0x33dd05=_0x125dee['redirect']:_0x33dd05=[..._0x169b84,_0x125dee]['reduce']((_0x2b4bb9,_0x3a4bc6)=>_0x2b4bb9+'/'+_0x3a4bc6[_0x2a26e7(0x195)],'')[_0x2a26e7(0x19b)]('//','/'),_0x125dee[_0x2a26e7(0x1a1)]||={},_0x125dee['meta']['acl']===![]?_0x125dee['children']?.['forEach'](_0x1ca4c9=>{const _0x2f854e=_0x2a26e7;_0x1ca4c9[_0x2f854e(0x1a1)]||={},_0x1ca4c9[_0x2f854e(0x1a1)][_0x2f854e(0x18e)]||=![],_0x2ef9f1(_0x1ca4c9,[..._0x169b84,_0x125dee]);}):(_0x125dee[_0x2a26e7(0x1a1)][_0x2a26e7(0x19d)]=_0x125dee[_0x2a26e7(0x1a1)][_0x2a26e7(0x1a4)],parent&&(_0x125dee[_0x2a26e7(0x1a1)][_0x2a26e7(0x1a4)]==null&&(_0x125dee['meta'][_0x2a26e7(0x1a4)]??=parent[_0x2a26e7(0x1a1)]?.['hidden'],_0x125dee[_0x2a26e7(0x1a1)]={..._0x125dee[_0x2a26e7(0x1a1)]}),_0x125dee[_0x2a26e7(0x1a1)][_0x2a26e7(0x1ad)]==null&&(_0x125dee[_0x2a26e7(0x1a1)][_0x2a26e7(0x1ad)]??=parent[_0x2a26e7(0x1a1)]?.[_0x2a26e7(0x1ad)],_0x125dee[_0x2a26e7(0x1a1)]={..._0x125dee['meta']})),_0x125dee[_0x2a26e7(0x197)]?.[_0x2a26e7(0x18c)](_0x16c070=>_0x2ef9f1(_0x16c070,[..._0x169b84,_0x125dee])),_0x125dee[_0x2a26e7(0x1a1)][_0x2a26e7(0x1a4)]!==![]&&_0x125dee[_0x2a26e7(0x1a1)][_0x2a26e7(0x19d)]!==!![]&&(_0x125dee[_0x2a26e7(0x1a1)][_0x2a26e7(0x1a4)]=!_0x48768e[_0x2a26e7(0x1ab)](_0x33dd05),_0x125dee[_0x2a26e7(0x197)]?.[_0x2a26e7(0x194)](_0x4b246f=>_0x4b246f[_0x2a26e7(0x1a1)][_0x2a26e7(0x1a4)]===![])&&(_0x125dee[_0x2a26e7(0x1a1)][_0x2a26e7(0x1a4)]=![])));};_0x19a137['forEach'](_0x1cf317=>_0x2ef9f1(_0x1cf317,[]));},{'immediate':!![]});});};export default{'check404':check404,'setTitle':setTitle,'checkRolesPages':checkRolesPages};
|
package/packages/utils/model.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a91_0x1649b3=a91_0x59f4;(function(_0x52e03a,_0x4fd5a2){const _0x50fd4c=a91_0x59f4,_0xb7107=_0x52e03a();while(!![]){try{const _0x3fc1cd=-parseInt(_0x50fd4c(0x1fa))/0x1*(-parseInt(_0x50fd4c(0x1fc))/0x2)+-parseInt(_0x50fd4c(0x1ff))/0x3+-parseInt(_0x50fd4c(0x1fb))/0x4+parseInt(_0x50fd4c(0x1f9))/0x5*(parseInt(_0x50fd4c(0x1f5))/0x6)+-parseInt(_0x50fd4c(0x1f8))/0x7+parseInt(_0x50fd4c(0x1fe))/0x8*(parseInt(_0x50fd4c(0x1f2))/0x9)+-parseInt(_0x50fd4c(0x1f6))/0xa*(-parseInt(_0x50fd4c(0x1f3))/0xb);if(_0x3fc1cd===_0x4fd5a2)break;else _0xb7107['push'](_0xb7107['shift']());}catch(_0x4923c7){_0xb7107['push'](_0xb7107['shift']());}}}(a91_0x450b,0x980ce));function a91_0x59f4(_0x4b5475,_0x2fed4b){const _0x450b1c=a91_0x450b();return a91_0x59f4=function(_0x59f4b8,_0xb8fc49){_0x59f4b8=_0x59f4b8-0x1f2;let _0xe8ecdc=_0x450b1c[_0x59f4b8];return _0xe8ecdc;},a91_0x59f4(_0x4b5475,_0x2fed4b);}function a91_0x450b(){const _0x550fd0=['348623LLoKYB','left','1874034RgUAtA','510CMbGUz','_index','6430102nYXJIk','15WhZAqE','23GPAGbK','4016360xeeIMM','48338AycENj','selection','16AeNwcY','3452805ILJbxw','2642229iffFnf'];a91_0x450b=function(){return _0x550fd0;};return a91_0x450b();}export const baseForm=()=>({'loading':![],'form':{},'initialForm':{},'formItems':[],'formRef':null,'formRules':{},'initialFormRules':{},'_isBaseForm':!![],'viewonly':![]});export const baseTable=(_0x321407={})=>({'loading':![],'query':{'page':0x1,'limit':0xa,'order':[],..._0x321407},'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_0x1649b3(0x1f4),'type':a91_0x1649b3(0x1fd)},{'type':a91_0x1649b3(0x1f7)}],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
|
-
|
|
1
|
+
const a92_0x41e06b=a92_0x3ca0;(function(_0x2ef212,_0x4dbbb8){const _0x32b504=a92_0x3ca0,_0x318b56=_0x2ef212();while(!![]){try{const _0x324ac5=-parseInt(_0x32b504(0x18b))/0x1+parseInt(_0x32b504(0x16c))/0x2*(parseInt(_0x32b504(0x183))/0x3)+-parseInt(_0x32b504(0x190))/0x4*(-parseInt(_0x32b504(0x17a))/0x5)+parseInt(_0x32b504(0x16f))/0x6*(parseInt(_0x32b504(0x199))/0x7)+parseInt(_0x32b504(0x182))/0x8*(-parseInt(_0x32b504(0x191))/0x9)+parseInt(_0x32b504(0x17f))/0xa+parseInt(_0x32b504(0x18f))/0xb;if(_0x324ac5===_0x4dbbb8)break;else _0x318b56['push'](_0x318b56['shift']());}catch(_0x5ebdb2){_0x318b56['push'](_0x318b56['shift']());}}}(a92_0x3130,0x8c3a1));import{watch}from'vue';const {funcs}=StardustJs;export const initFields=_0x136a85=>{return _0x136a85['map'](_0x108d48=>{const _0x5772ed=a92_0x3ca0,_0x31a870=Object[_0x5772ed(0x17e)](_0x108d48);for(let _0x5401b8 of _0x31a870){if(_0x5401b8[_0x5772ed(0x18e)](_0x5772ed(0x171)))_0x108d48[_0x5772ed(0x170)]??={},_0x108d48[_0x5772ed(0x170)][_0x5401b8['slice'](0x3)]=_0x108d48[_0x5401b8],delete _0x108d48[_0x5401b8];else _0x5401b8[_0x5772ed(0x18e)](_0x5772ed(0x18c))&&(_0x108d48[_0x5772ed(0x19a)]??={},_0x108d48['formAttrs'][_0x5401b8[_0x5772ed(0x174)](0x3)]=_0x108d48[_0x5401b8],delete _0x108d48[_0x5401b8]);}if(_0x108d48[_0x5772ed(0x173)]===_0x5772ed(0x1a0))_0x108d48[_0x5772ed(0x19a)]??={},_0x108d48['formAttrs'][_0x5772ed(0x19f)]??=_0x5772ed(0x15f);else _0x108d48[_0x5772ed(0x173)]===_0x5772ed(0x178)&&(_0x108d48[_0x5772ed(0x19a)]??={},_0x108d48[_0x5772ed(0x19a)]['value-format']??=_0x5772ed(0x186));return _0x108d48['xs']??=0x18,_0x108d48;});};function a92_0x3130(){const _0x4b6a9a=['asyncValidator','columns','form','datetime','_isBaseForm','10765LUkUTr','formItems','blur','trim','keys','2438070JcvvTk','comp','some','9264RSIzKp','1428QgNrdV','XCheckboxs','virtual','YYYY-MM-DD\x20HH:mm:ss','canAdd','includes','every','assign','143825PgMkLB','fa_','split','startsWith','2844413qiGllc','692jbXvAs','7407kahhhM','end-placeholder','table','start-placeholder','push','isMobile','validator','forEach','21eStDtF','formAttrs','initialForm','ElDatePicker','object','change','value-format','date','ElSwitch','daterange','canEdit','options','number','YYYY-MM-DD','platform','一个\x20when\x20表达式中仅支持\x20&&\x20模式或\x20||\x20模式','endsWith','string','_isBaseDialog','visible','hasOwnProperty','deepCopy','formRules','x-checkboxs','canView','dialog','2356ulgeZX','ElInputNumber','prop','471282fKccRI','tableAttrs','ta_','initialFormRules','type','slice'];a92_0x3130=function(){return _0x4b6a9a;};return a92_0x3130();}export const initModel=(_0x13af42,_0x18f7df)=>{const _0x306b28=a92_0x3ca0;for(let _0xaea1cf in _0x13af42){const _0x56f1fb=_0x13af42[_0xaea1cf];if(!_0x56f1fb||typeof _0x56f1fb!==_0x306b28(0x19d))continue;_0xaea1cf===_0x306b28(0x193)&&_0x13af42[_0xaea1cf]['_isBaseTable']&&initTable(_0x56f1fb,_0x18f7df),_0xaea1cf===_0x306b28(0x16b)&&_0x13af42[_0xaea1cf]['_isBaseDialog']&&initDialog(_0x56f1fb,_0x18f7df),_0xaea1cf==='form'&&_0x13af42[_0xaea1cf][_0x306b28(0x179)]&&initForm(_0x56f1fb,_0x18f7df);}return _0x13af42;};export const initTable=(_0x5152d6,_0x1acd33)=>{const _0x371cdd=a92_0x3ca0;return _0x5152d6[_0x371cdd(0x176)]['push'](..._0x1acd33['filter'](_0x1f73ff=>{const _0x4eb46b=_0x371cdd;return _0x1f73ff[_0x4eb46b(0x165)]===![]?_0x1f73ff[_0x4eb46b(0x16a)]:_0x1f73ff[_0x4eb46b(0x16a)]!==![];})),_0x5152d6;};export const initDialog=(_0x1dba28,_0x374e76)=>{const _0x3e30f8=a92_0x3ca0;return _0x1dba28[_0x3e30f8(0x17b)]=_0x374e76['filter'](_0x3a4a26=>{const _0x5eb870=_0x3e30f8;if(_0x3a4a26['visible']===![])return _0x3a4a26[_0x5eb870(0x187)]||_0x3a4a26[_0x5eb870(0x15c)];return _0x3a4a26[_0x5eb870(0x187)]!==![]||_0x3a4a26[_0x5eb870(0x15c)]!==![];}),initForm(_0x1dba28,_0x374e76),_0x1dba28;};export const initForm=(_0xd3f6b7,_0x3e2789)=>{const _0x12b780=a92_0x3ca0;_0xd3f6b7[_0x12b780(0x179)]&&!_0xd3f6b7[_0x12b780(0x164)]&&(_0xd3f6b7[_0x12b780(0x17b)]=_0x3e2789['filter'](_0x2eab9f=>_0x2eab9f['visible']!==![]));initDefaultForm(_0xd3f6b7[_0x12b780(0x177)],_0xd3f6b7[_0x12b780(0x17b)]),_0xd3f6b7[_0x12b780(0x19b)]=funcs[_0x12b780(0x167)](_0xd3f6b7['form']),_0xd3f6b7[_0x12b780(0x172)]=funcs[_0x12b780(0x167)](_0xd3f6b7[_0x12b780(0x168)]);const _0x3b1c9a=()=>{initFormRules(_0xd3f6b7);};return watch(()=>_0xd3f6b7[_0x12b780(0x17b)],_0x3b1c9a,{'immediate':!![],'deep':!![]}),_0xd3f6b7;};export const initFormRules=_0x391db7=>{const _0x29036d=a92_0x3ca0,{formItems:_0x3b3dce,initialFormRules:_0x32285e}=_0x391db7;Object[_0x29036d(0x18a)](_0x391db7[_0x29036d(0x168)],funcs[_0x29036d(0x167)](_0x32285e)),Object[_0x29036d(0x17e)](_0x391db7['formRules'])[_0x29036d(0x198)](_0x19e19c=>{const _0x4dc98a=_0x29036d;!_0x32285e[_0x4dc98a(0x166)](_0x19e19c)&&delete _0x391db7[_0x4dc98a(0x168)][_0x19e19c];});const _0x372556={};return _0x3b3dce[_0x29036d(0x198)](_0x4160df=>{const _0x13314e=_0x29036d;if(_0x391db7['formRules'][_0x4160df['prop']])return;if(!_0x4160df['required']&&!_0x4160df[_0x13314e(0x197)]&&!_0x4160df[_0x13314e(0x175)])return;const _0x3a1966=_0x4160df[_0x13314e(0x160)]||_0x391db7[_0x13314e(0x160)]||(window[_0x13314e(0x196)]?'mobile':'pc'),_0x2f6c4c=triggers[_0x3a1966],_0x47b6ea=[],_0x3c0608=_0x13314e(0x15d)in _0x4160df,_0x356172='请'+(_0x4160df[_0x13314e(0x197)]||_0x4160df[_0x13314e(0x175)]?'正确':'')+(_0x3c0608?'选择':'输入')+(_0x4160df?.['label']||_0x4160df[_0x13314e(0x16e)]),_0x5c28ab={'required':!![],'message':_0x356172};if(_0x4160df['validator'])_0x5c28ab[_0x13314e(0x197)]=(_0xa6aa5d,_0x35699a)=>{const _0x1633a2=_0x13314e;return _0x3a1966==='pc'?_0x4160df[_0x1633a2(0x197)](_0xa6aa5d,_0x35699a):_0x4160df[_0x1633a2(0x197)](_0x35699a,_0xa6aa5d);};if(_0x4160df['asyncValidator'])_0x5c28ab[_0x13314e(0x175)]=(_0x32d419,_0x4154ac)=>{const _0xdd2e2d=_0x13314e;return _0x3a1966==='pc'?_0x4160df[_0xdd2e2d(0x175)](_0x32d419,_0x4154ac):_0x4160df[_0xdd2e2d(0x175)](_0x4154ac,_0x32d419);};!_0x4160df['comp']?_0x47b6ea['push']({..._0x5c28ab,'trigger':_0x2f6c4c[_0x13314e(0x17c)]}):_0x47b6ea[_0x13314e(0x195)]({..._0x5c28ab,'trigger':_0x2f6c4c[_0x13314e(0x19e)]}),_0x4160df['comp']==='ElInputNumber'&&_0x47b6ea['push']({..._0x5c28ab,'trigger':_0x2f6c4c[_0x13314e(0x17c)]}),_0x372556[_0x4160df[_0x13314e(0x16e)]]=_0x47b6ea;}),Object[_0x29036d(0x18a)](_0x391db7[_0x29036d(0x168)],_0x372556),_0x391db7[_0x29036d(0x168)];};function a92_0x3ca0(_0x1e50da,_0x576700){const _0x31306a=a92_0x3130();return a92_0x3ca0=function(_0x3ca040,_0x43c35e){_0x3ca040=_0x3ca040-0x15b;let _0x291854=_0x31306a[_0x3ca040];return _0x291854;},a92_0x3ca0(_0x1e50da,_0x576700);}export const initDefaultForm=(_0x1db682,_0x2a0839,_0x3dd2bd=!![])=>{const _0x20d5d6=a92_0x3ca0,_0x135bc7={};return _0x2a0839[_0x20d5d6(0x198)](_0x223552=>{const _0x408449=_0x20d5d6;if(!_0x223552[_0x408449(0x16e)]||_0x223552[_0x408449(0x185)])return;let _0x4966ff='';const {type:_0x17b710,options:_0x28ab12}=_0x223552,{multiple:_0x4c1ee0}=_0x223552[_0x408449(0x19a)]||{};if(_0x3dd2bd&&_0x17b710===_0x408449(0x15e)||_0x223552[_0x408449(0x180)]===_0x408449(0x16d))_0x4966ff=null;else{if(_0x223552[_0x408449(0x180)]===_0x408449(0x1a1))_0x4966ff=![];else{if(_0x28ab12&&(_0x223552[_0x408449(0x180)]?.[_0x408449(0x162)](_0x408449(0x184))||_0x223552[_0x408449(0x180)]?.[_0x408449(0x162)](_0x408449(0x169))||_0x4c1ee0))_0x4966ff=[];else{if(_0x223552[_0x408449(0x180)]===_0x408449(0x19c)&&['datetimerange',_0x408449(0x15b),'monthrange'][_0x408449(0x188)](_0x223552[_0x408449(0x173)])){const _0x29c8b5={'datetimerange':'时间','daterange':'日期','monthrange':'月份'}[_0x223552['type']];!_0x223552[_0x408449(0x194)]&&(_0x223552['start-placeholder']='开始'+_0x29c8b5),!_0x223552[_0x408449(0x192)]&&(_0x223552['end-placeholder']='结束'+_0x29c8b5),_0x4966ff=[];}}}}_0x135bc7[_0x223552[_0x408449(0x16e)]]=_0x4966ff;}),Object['assign'](_0x1db682,{..._0x135bc7,..._0x1db682}),_0x1db682;};export const isWhenMatched=(_0x23e6f2,_0x17dc71)=>{const _0x5e16ed=a92_0x3ca0;if(!_0x23e6f2)return!![];const _0x216642=_0x23e6f2[_0x5e16ed(0x18d)](/\s?(&&|\|\|)\s?/g);if(_0x216642[_0x5e16ed(0x188)]('&&')&&_0x216642[_0x5e16ed(0x188)]('||'))throw _0x5e16ed(0x161);const _0x2e5e03=_0x216642[_0x5e16ed(0x188)]('&&'),_0x2ccaa2=/[\^\*\$\~\!]?=/,_0x297c1e=_0x216642['filter'](_0x22a6f0=>_0x22a6f0!=='&&'&&_0x22a6f0!=='||');return _0x297c1e[_0x2e5e03?_0x5e16ed(0x189):_0x5e16ed(0x181)](_0x38312d=>{const _0x5635c8=_0x5e16ed;let [_0x1348fb,_0x22da1c]=_0x38312d[_0x5635c8(0x18d)](_0x2ccaa2);_0x22da1c=_0x22da1c['split']('|');let _0x3dfc28=_0x17dc71[_0x1348fb];if(typeof _0x3dfc28===_0x5635c8(0x15e))_0x3dfc28+='';else{if(typeof _0x3dfc28===_0x5635c8(0x163))_0x3dfc28=_0x3dfc28[_0x5635c8(0x17d)]();}const _0x6d39d3=_0x38312d['match'](_0x2ccaa2)[0x0];if(_0x6d39d3==='!=')return!_0x22da1c[_0x5635c8(0x188)](_0x3dfc28);return _0x22da1c[_0x5635c8(0x181)](_0x2925ff=>{const _0x52d657=_0x5635c8;if(_0x6d39d3==='^=')return _0x3dfc28?.[_0x52d657(0x18e)](_0x2925ff);else{if(_0x6d39d3==='*=')return _0x3dfc28?.[_0x52d657(0x188)](_0x2925ff);else{if(_0x6d39d3==='$=')return _0x3dfc28?.[_0x52d657(0x162)](_0x2925ff);else{if(_0x6d39d3==='~=')return!_0x3dfc28?.[_0x52d657(0x188)](_0x2925ff);else{if(_0x6d39d3==='!=')return _0x3dfc28!==_0x2925ff;}}}}return _0x2925ff===_0x3dfc28;});});};export const triggers={'mobile':{'blur':'onBlur','change':'onChange'},'pc':{'blur':a92_0x41e06b(0x17c),'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
|
-
|
|
1
|
+
(function(_0x329a2b,_0x25546f){const _0x6b9a4c=a93_0xa6b9,_0x594416=_0x329a2b();while(!![]){try{const _0x32d6d4=parseInt(_0x6b9a4c(0xf5))/0x1*(parseInt(_0x6b9a4c(0xf6))/0x2)+-parseInt(_0x6b9a4c(0x102))/0x3+-parseInt(_0x6b9a4c(0xee))/0x4+-parseInt(_0x6b9a4c(0xf8))/0x5*(parseInt(_0x6b9a4c(0xf0))/0x6)+parseInt(_0x6b9a4c(0xe4))/0x7*(parseInt(_0x6b9a4c(0xe9))/0x8)+parseInt(_0x6b9a4c(0x107))/0x9+parseInt(_0x6b9a4c(0x10a))/0xa*(-parseInt(_0x6b9a4c(0xfc))/0xb);if(_0x32d6d4===_0x25546f)break;else _0x594416['push'](_0x594416['shift']());}catch(_0x1baaf5){_0x594416['push'](_0x594416['shift']());}}}(a93_0xc308,0x9853c));function a93_0xa6b9(_0x1154e9,_0x45313f){const _0xc30872=a93_0xc308();return a93_0xa6b9=function(_0xa6b9b,_0xcfb51){_0xa6b9b=_0xa6b9b-0xdc;let _0x86ae5=_0xc30872[_0xa6b9b];return _0x86ae5;},a93_0xa6b9(_0x1154e9,_0x45313f);}import{Message}from'./message.js';const requestUse=(_0x5713f9,_0x2ce4fc,_0xff19d0,_0x39f005,_0x27e144)=>{const _0x3cb34b=a93_0xa6b9;_0x27e144[_0x3cb34b(0xe7)][_0x3cb34b(0xe6)]||=_0xff19d0[_0x3cb34b(0x109)][_0x3cb34b(0xdd)];const _0xc686cd=_0x5713f9[_0x3cb34b(0xfd)]['globalProperties']['httpEncrypt'];if(_0xc686cd!==![]){_0x27e144[_0x3cb34b(0xe7)]['Http-Encrypt']=_0xc686cd;const _0xcf94ab=_0x27e144[_0x3cb34b(0xf3)]instanceof FormData;!_0xcf94ab&&(_0x27e144[_0x3cb34b(0xe7)][_0x3cb34b(0x100)]||=_0x3cb34b(0xdc));if(_0x27e144[_0x3cb34b(0x103)][_0x3cb34b(0xfe)]('?')>=0x0){const [_0x220813,..._0x4707bd]=_0x27e144[_0x3cb34b(0x103)]['split']('?'),_0x1bc078=_0x2ce4fc[_0x3cb34b(0xe2)][_0xc686cd](_0x4707bd[_0x3cb34b(0x108)]('?'),'query');_0x27e144['url']=_0x220813+'?'+_0x1bc078;}else _0x27e144['params']||={'__placeholder__':Date['now']()[_0x3cb34b(0x105)](0x10)};if(_0x27e144['params']){const _0x54188e=decodeURIComponent(new URLSearchParams(_0x27e144[_0x3cb34b(0xfb)])['toString']());_0x27e144[_0x3cb34b(0x103)]+='?'+_0x2ce4fc[_0x3cb34b(0xe2)][_0xc686cd](_0x54188e,_0x3cb34b(0xeb)),delete _0x27e144[_0x3cb34b(0xfb)];}if(_0x27e144[_0x3cb34b(0xf3)]!==undefined&&!_0xcf94ab){const _0xf88a18=_0x2ce4fc[_0x3cb34b(0xe2)][_0xc686cd](JSON[_0x3cb34b(0xf7)](_0x27e144[_0x3cb34b(0xf3)]),_0x3cb34b(0xf9));_0x27e144['data']=_0xf88a18;}}return _0x27e144;},responseUse=(_0x2fa2a4,_0x18a2c2,_0x474812,_0x39b5d3,_0x210e9d)=>{const _0x54e5da=a93_0xa6b9;if([0x191,0x192,0x2711][_0x54e5da(0x106)](_0x210e9d['data'][_0x54e5da(0xea)])){_0x474812[_0x54e5da(0x109)][_0x54e5da(0xe0)]();const _0x58ea15='/'+location[_0x54e5da(0xf2)]['slice'](0x2)[_0x54e5da(0xe3)]('?')[0x0],_0x569dd8=StardustJs[_0x54e5da(0xde)]['decodeQuery'](location[_0x54e5da(0xf4)]['split']('?')[0x1]||'');return _0x39b5d3['replace'](_0x569dd8[_0x54e5da(0xe1)]?'/login?redirectTo='+(_0x569dd8[_0x54e5da(0xe1)]||_0x58ea15):_0x54e5da(0xe8)),Promise['reject'](_0x210e9d);}else{if([0x2712][_0x54e5da(0x106)](_0x210e9d[_0x54e5da(0xf3)][_0x54e5da(0xea)]))return Message['e'](_0x210e9d[_0x54e5da(0xf3)][_0x54e5da(0xed)]),Promise[_0x54e5da(0xe5)](_0x210e9d);}const _0x141a36=_0x210e9d[_0x54e5da(0xe7)][_0x54e5da(0xec)]||_0x210e9d[_0x54e5da(0xf3)][_0x54e5da(0xdd)];_0x141a36&&_0x474812[_0x54e5da(0x109)][_0x54e5da(0xef)](_0x141a36);if(_0x210e9d['data'][_0x54e5da(0xed)])return Message['e'](_0x210e9d[_0x54e5da(0xf3)][_0x54e5da(0xed)]||'未知错误'),Promise['reject'](_0x210e9d);return _0x210e9d[_0x54e5da(0xe7)][_0x54e5da(0x104)]?.[_0x54e5da(0x106)](_0x54e5da(0xf1))&&(_0x210e9d['data']=JSON[_0x54e5da(0x101)](StardustJs[_0x54e5da(0xff)][_0x54e5da(0xfa)](JSON['stringify'](_0x210e9d['data'])))),Promise[_0x54e5da(0xdf)](_0x210e9d['data']);};export{requestUse,responseUse};function a93_0xc308(){const _0x106f24=['code','query','refresh-token','err','1380520FzHiAD','setToken','11598ZytTDz','application/json','hash','data','href','688749aFmEEg','2tlQqiW','stringify','45qVnSWN','body','convertIsoDates','params','55UyVHia','config','indexOf','dates','Content-Type','parse','886362HHmZbV','url','content-type','toString','includes','7639506GCXdKC','join','user','2680670YSKSxX','application/json;\x20charset=UTF-8','token','funcs','resolve','setExpired','redirectTo','encrypt','split','5845qHcfoI','reject','Authorization','headers','/login','10392uLYHJG'];a93_0xc308=function(){return _0x106f24;};return a93_0xc308();}
|
package/packages/utils/site.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a94_0x17a7(_0xda7c83,_0x416e87){const _0x4134b2=a94_0x4134();return a94_0x17a7=function(_0x17a79c,_0x5c71bb){_0x17a79c=_0x17a79c-0x91;let _0x213ca0=_0x4134b2[_0x17a79c];return _0x213ca0;},a94_0x17a7(_0xda7c83,_0x416e87);}const a94_0x2cad77=a94_0x17a7;(function(_0x12ab68,_0x28452d){const _0x289c8a=a94_0x17a7,_0x1e8521=_0x12ab68();while(!![]){try{const _0x5b1d3f=parseInt(_0x289c8a(0x9f))/0x1+parseInt(_0x289c8a(0x9a))/0x2+parseInt(_0x289c8a(0xa2))/0x3+-parseInt(_0x289c8a(0x95))/0x4+-parseInt(_0x289c8a(0x9c))/0x5*(parseInt(_0x289c8a(0x97))/0x6)+-parseInt(_0x289c8a(0x92))/0x7*(parseInt(_0x289c8a(0x98))/0x8)+parseInt(_0x289c8a(0x91))/0x9;if(_0x5b1d3f===_0x28452d)break;else _0x1e8521['push'](_0x1e8521['shift']());}catch(_0x13d29d){_0x1e8521['push'](_0x1e8521['shift']());}}}(a94_0x4134,0x3becf));export const createWatermark=({text:_0x23e424,gap:_0x4c8e86,fontSize:_0x3d2d2c,color:_0xdb99c0,width:width=window[a94_0x2cad77(0x9d)],height:height=window[a94_0x2cad77(0x9e)],drawMode:drawMode='fill'})=>{const _0x5c70b8=a94_0x2cad77,_0x337e97=document[_0x5c70b8(0x9b)](_0x5c70b8(0x93));_0x337e97[_0x5c70b8(0x94)]=width,_0x337e97['height']=height;const _0x1142e1=_0x337e97[_0x5c70b8(0xa0)]('2d');_0x1142e1[_0x5c70b8(0x96)]=_0x3d2d2c+'px\x20Arial',_0x1142e1[drawMode+_0x5c70b8(0xa1)]=_0xdb99c0;const _0x386a3d=_0x1142e1[_0x5c70b8(0x99)](_0x23e424)[_0x5c70b8(0x94)],_0x410f6c=_0x386a3d+_0x4c8e86,_0x583101=_0x3d2d2c+_0x4c8e86;for(let _0x396ce6=_0x4c8e86/0x2;_0x396ce6<height;_0x396ce6+=_0x583101){for(let _0x5de94f=_0x4c8e86/0x2;_0x5de94f<width;_0x5de94f+=_0x410f6c){_0x1142e1[drawMode+'Text'](_0x23e424,_0x5de94f,_0x396ce6);}}return _0x337e97;};export default{'createWatermark':createWatermark};function a94_0x4134(){const _0xb7fa59=['measureText','631286ALajFq','createElement','755Zmbntn','innerWidth','innerHeight','7279nQPLrI','getContext','Style','1230090HdYxRz','3115863YYrMph','7OPRdrE','canvas','width','1861092qBchOQ','font','10554ZshdNP','822576CRkshV'];a94_0x4134=function(){return _0xb7fa59;};return a94_0x4134();}
|
package/packages/vite-plugins.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a95_0x396c(){const _0x324934=['<script>\x0a','<script\x20setup>\x0a','split','<style\x20lang=\x22scss\x22\x20scoped>','length','const\x20model\x20=\x20makeModel()','return\x20{\x20...__returned__,\x20...filterPrivateFields(model),\x20...filterPrivateFields(controller)\x20}','201663CPHirC','return\x20{\x20...__returned__,\x20...filterPrivateFields(model)\x20}','18AgLuvB','Object','\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','auto-inject','forEach','const\x20controller\x20=\x20makeController({\x20','map','.js','existsSync','includes','660600zMqBWA','import\x20makeModel\x20','basename','<script\x20setup>','push','_ctx\x20=\x20wrapCtx(_ctx,\x20null,\x20filterPrivateFields(controller))','2309130QbHWVA','dirname','filter','startsWith','toLowerCase','import\x20controller','DbName','model,\x20','<script>','7275310ogrucn','slice','const\x20model','644408QGpdpx','return\x20{\x20...__returned__,\x20...filterPrivateFields(controller)\x20}','controller.js','174404ovgguC','\x20=\x20new\x20Table(','3YvYrJi','splice','join','.scss\x22;','<style\x20lang=\x22scss\x22>','510172tQClYZ','-scoped.scss\x22;','replace','-scoped.scss','@use\x20\x22./','.vue','.scss','</style>','/src/','import\x20makeModel\x20from\x20\x27./model.js\x27','auto-deconstruct','const\x20controller','112bWYHGG','_ctx\x20=\x20wrapCtx(_ctx,\x20filterPrivateFields(model))','import\x20makeController\x20from\x20\x27./controller.js\x27','model.js'];a95_0x396c=function(){return _0x324934;};return a95_0x396c();}const a95_0x469611=a95_0x1fa7;function a95_0x1fa7(_0x21d263,_0xff8f08){const _0x396cbc=a95_0x396c();return a95_0x1fa7=function(_0x1fa7bf,_0x5d8706){_0x1fa7bf=_0x1fa7bf-0x186;let _0x105031=_0x396cbc[_0x1fa7bf];return _0x105031;},a95_0x1fa7(_0x21d263,_0xff8f08);}(function(_0x1dda6f,_0x388dfc){const _0x3169ed=a95_0x1fa7,_0x16e2ad=_0x1dda6f();while(!![]){try{const _0x213781=-parseInt(_0x3169ed(0x1c2))/0x1+-parseInt(_0x3169ed(0x18a))/0x2+parseInt(_0x3169ed(0x1c4))/0x3*(-parseInt(_0x3169ed(0x1bf))/0x4)+parseInt(_0x3169ed(0x1ad))/0x5+-parseInt(_0x3169ed(0x1b3))/0x6+parseInt(_0x3169ed(0x1a1))/0x7*(-parseInt(_0x3169ed(0x196))/0x8)+parseInt(_0x3169ed(0x1a3))/0x9*(parseInt(_0x3169ed(0x1bc))/0xa);if(_0x213781===_0x388dfc)break;else _0x16e2ad['push'](_0x16e2ad['shift']());}catch(_0xf04436){_0x16e2ad['push'](_0x16e2ad['shift']());}}}(a95_0x396c,0x32e19));import a95_0x12531a from'node:fs';import a95_0x2f15b3 from'node:path';const filterPrivateFields=a95_0x469611(0x1a5),inject=(_0x23b62b,_0x242d4e)=>{const _0xc0b2f0=a95_0x469611,_0x5dba18=a95_0x2f15b3[_0xc0b2f0(0x1b4)](_0x242d4e),_0x2f0c15=a95_0x2f15b3[_0xc0b2f0(0x1af)](_0x242d4e),_0x3f6e65=_0x2f0c15[_0xc0b2f0(0x19c)]('.')[0x0],_0x295e99=a95_0x12531a[_0xc0b2f0(0x1ab)](a95_0x2f15b3[_0xc0b2f0(0x187)](_0x5dba18,_0x3f6e65+_0xc0b2f0(0x18d))),_0x4bed98=a95_0x12531a[_0xc0b2f0(0x1ab)](a95_0x2f15b3['join'](_0x5dba18,_0x3f6e65+_0xc0b2f0(0x190))),_0x558992=a95_0x12531a[_0xc0b2f0(0x1ab)](a95_0x2f15b3[_0xc0b2f0(0x187)](_0x5dba18,_0xc0b2f0(0x199))),_0x53b876=a95_0x12531a[_0xc0b2f0(0x1ab)](a95_0x2f15b3[_0xc0b2f0(0x187)](_0x5dba18,_0xc0b2f0(0x1c1))),_0x4d567e=_0x558992&&!_0x23b62b[_0xc0b2f0(0x1ac)]('no\x20model')&&!_0x23b62b[_0xc0b2f0(0x1ac)](_0xc0b2f0(0x1be))&&!_0x23b62b[_0xc0b2f0(0x1ac)]('import\x20model'),_0x26bbe4=_0x53b876&&!_0x23b62b['includes']('no\x20controller')&&!_0x23b62b[_0xc0b2f0(0x1ac)](_0xc0b2f0(0x195))&&!_0x23b62b['includes'](_0xc0b2f0(0x1b8));if(_0x242d4e[_0xc0b2f0(0x1ac)]('/src/')&&_0x2f0c15[_0xc0b2f0(0x1ac)](_0xc0b2f0(0x18f))&&_0x23b62b[_0xc0b2f0(0x1b6)](_0xc0b2f0(0x1b0))){_0x23b62b=_0x23b62b[_0xc0b2f0(0x18c)](_0xc0b2f0(0x1b0),_0xc0b2f0(0x19b));const _0x26dd11=_0x23b62b[_0xc0b2f0(0x19c)]('\x0a');_0x295e99&&_0x26dd11[_0xc0b2f0(0x1b1)](...[_0xc0b2f0(0x19d),_0xc0b2f0(0x18e)+_0x3f6e65+_0xc0b2f0(0x18b),'</style>']),_0x4bed98&&_0x26dd11['push'](...[_0xc0b2f0(0x189),_0xc0b2f0(0x18e)+_0x3f6e65+_0xc0b2f0(0x188),_0xc0b2f0(0x191)]),_0x26bbe4&&_0x26dd11[_0xc0b2f0(0x186)](0x1,0x0,_0xc0b2f0(0x198),_0xc0b2f0(0x1a8)+(_0x4d567e?_0xc0b2f0(0x1ba):'')+'vue\x20})'),_0x4d567e&&_0x26dd11[_0xc0b2f0(0x186)](0x1,0x0,_0xc0b2f0(0x193),_0xc0b2f0(0x19f)),_0x23b62b=_0x26dd11[_0xc0b2f0(0x187)]('\x0a');}return _0x23b62b;},instantiateTables=(_0x20cc3f,_0x24747e)=>{const _0x12feee=a95_0x469611,_0x3936c2=a95_0x2f15b3['basename'](_0x24747e),_0x11e821=_0x3936c2['includes'](_0x12feee(0x18f)),_0x42e5a3=_0x3936c2[_0x12feee(0x1ac)](_0x12feee(0x1aa));if(_0x24747e[_0x12feee(0x1ac)](_0x12feee(0x192))&&(_0x11e821||_0x42e5a3)){const _0x4e96a5=_0x20cc3f[_0x12feee(0x19c)]('\x0a')[_0x12feee(0x1a9)](_0x21c2db=>_0x21c2db['trim']())[_0x12feee(0x1b5)](_0x25dcf3=>!_0x25dcf3[_0x12feee(0x1b6)]('//'))[_0x12feee(0x187)]('\x0a');let _0x461542=[...new Set([..._0x4e96a5['matchAll'](/[^a-z][A-Z]\w+\.(search|add|update|remove|func|batch|get)/g)]['map'](_0x2dc956=>_0x2dc956[0x0][_0x12feee(0x1bd)](0x1)[_0x12feee(0x19c)]('.')[0x0]))];_0x461542=_0x461542['filter'](_0x3693cc=>![_0x12feee(0x1a4)][_0x12feee(0x1ac)](_0x3693cc));if(_0x461542[_0x12feee(0x19e)]){let _0x1caa27='';_0x461542[_0x12feee(0x1a7)](_0x27c485=>{const _0x47cf29=_0x12feee;let [_0x557da6,_0x147e61]=_0x27c485[_0x47cf29(0x19c)]('_')[_0x47cf29(0x1a9)](_0x3f51be=>_0x3f51be[_0x47cf29(0x18c)](/[A-Z]/g,_0x557453=>'_'+_0x557453[_0x47cf29(0x1b7)]())[_0x47cf29(0x1bd)](0x1));_0x147e61?_0x557da6='\x27'+_0x557da6+'\x27':(_0x147e61=_0x557da6,_0x557da6=_0x47cf29(0x1b9)),_0x1caa27+='const\x20'+_0x27c485+_0x47cf29(0x1c3)+_0x557da6+',\x20\x27'+_0x147e61+'\x27)\x0a';}),_0x11e821?_0x20cc3f=_0x20cc3f[_0x12feee(0x18c)](_0x12feee(0x1b0),_0x12feee(0x19b)+_0x1caa27)['replace'](_0x12feee(0x1bb),_0x12feee(0x19a)+_0x1caa27):_0x20cc3f=_0x1caa27+_0x20cc3f;}}return _0x20cc3f;},deconstruct=(_0x14334f,_0x1ab1fb)=>{const _0x2830a4=a95_0x469611,_0x9b0ec2=a95_0x2f15b3[_0x2830a4(0x1af)](_0x1ab1fb),_0x55e18f=_0x9b0ec2[_0x2830a4(0x1ac)](_0x2830a4(0x18f));if(_0x1ab1fb[_0x2830a4(0x1ac)](_0x2830a4(0x192))&&_0x55e18f){const _0x2fde9e='return\x20__returned__',_0x167380='return\x20(_ctx,\x20_cache)\x20=>\x20{',_0x333c43=_0x14334f[_0x2830a4(0x1ac)](_0x2fde9e),_0x165098=_0x14334f[_0x2830a4(0x1ac)](_0x167380),_0x471943=(_0x333c43||_0x165098)&&_0x14334f[_0x2830a4(0x1ac)](_0x2830a4(0x1ae)),_0x5949d8=(_0x333c43||_0x165098)&&_0x14334f[_0x2830a4(0x1ac)]('import\x20makeController\x20');if(_0x471943||_0x5949d8){let _0xc79fd8=filterPrivateFields;if(_0x333c43){if(_0x471943&&_0x5949d8)_0xc79fd8+=_0x2830a4(0x1a0);else{if(_0x471943)_0xc79fd8+=_0x2830a4(0x1a2);else _0x5949d8&&(_0xc79fd8+=_0x2830a4(0x1c0));}}else{_0xc79fd8+=_0x167380+'\x0a';if(_0x471943&&_0x5949d8)_0xc79fd8+='_ctx\x20=\x20wrapCtx(_ctx,\x20filterPrivateFields(model),\x20filterPrivateFields(controller))';else{if(_0x471943)_0xc79fd8+=_0x2830a4(0x197);else _0x5949d8&&(_0xc79fd8+=_0x2830a4(0x1b2));}_0xc79fd8+='\x0a';}_0x14334f=_0x14334f[_0x2830a4(0x18c)](_0x333c43?_0x2fde9e:_0x167380,_0xc79fd8);}}return _0x14334f;};export const autoInject=(_0x242d6e={})=>{const _0x4430c5=a95_0x469611;return{'name':_0x4430c5(0x1a6),'transform'(_0x19480d,_0x39c035){return _0x19480d=inject(_0x19480d,_0x39c035),_0x242d6e['instantiateTables']!==![]&&(_0x19480d=instantiateTables(_0x19480d,_0x39c035)),{'code':_0x19480d};}};};export const autoDeconstruct=()=>{const _0x41c619=a95_0x469611;return{'name':_0x41c619(0x194),'transform'(_0x4cdd36,_0x8a26c6){return{'code':deconstruct(_0x4cdd36,_0x8a26c6)};}};};
|
package/src/main.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a96_0xa5e9df=a96_0x2ba9;(function(_0x19bf71,_0xcaaaac){const _0x3a30aa=a96_0x2ba9,_0x1c257e=_0x19bf71();while(!![]){try{const _0x44bc06=-parseInt(_0x3a30aa(0x18a))/0x1*(parseInt(_0x3a30aa(0x193))/0x2)+parseInt(_0x3a30aa(0x198))/0x3*(-parseInt(_0x3a30aa(0x199))/0x4)+parseInt(_0x3a30aa(0x196))/0x5+-parseInt(_0x3a30aa(0x194))/0x6+parseInt(_0x3a30aa(0x19c))/0x7+parseInt(_0x3a30aa(0x18f))/0x8*(parseInt(_0x3a30aa(0x19a))/0x9)+-parseInt(_0x3a30aa(0x192))/0xa*(-parseInt(_0x3a30aa(0x19b))/0xb);if(_0x44bc06===_0xcaaaac)break;else _0x1c257e['push'](_0x1c257e['shift']());}catch(_0x5ddc50){_0x1c257e['push'](_0x1c257e['shift']());}}}(a96_0x5b90,0x9009d));import{createApp}from'vue';import a96_0x116f57 from'element-plus';import a96_0x32b52c from'vant';function a96_0x5b90(){const _0x2ecafd=['entries','48713RYivAP','#app','domid','use','isMobile','1332440cyyQPa','mount','assign','20753540XYfFnO','32jyUHDl','5704686WfDLAE','component','585640WoLhtc','config','9ZzuFYp','1056804paXaJv','45znjfyt','11YCGQXW','612612HQyUno','globalProperties'];a96_0x5b90=function(){return _0x2ecafd;};return a96_0x5b90();}import a96_0x5e0314 from'../packages/index.js';import'../packages/index.scss';import a96_0x2614fe,{API_BASE_URL}from'./request.js';function a96_0x2ba9(_0x51fa46,_0x3d7ecf){const _0x5b907c=a96_0x5b90();return a96_0x2ba9=function(_0x2ba902,_0x11bd3f){_0x2ba902=_0x2ba902-0x188;let _0x53755f=_0x5b907c[_0x2ba902];return _0x53755f;},a96_0x2ba9(_0x51fa46,_0x3d7ecf);}import a96_0x2b34bc from'@/App.vue';const app=createApp(a96_0x2b34bc);app['directive'](a96_0xa5e9df(0x18c),{'created'(_0x169a06,_0x4ff2ad){}}),app[a96_0xa5e9df(0x18d)](a96_0x116f57);for(const [key,component]of Object[a96_0xa5e9df(0x189)](ElementPlusIconsVue)){app[a96_0xa5e9df(0x195)](key,component);}app[a96_0xa5e9df(0x18d)](a96_0x32b52c),app[a96_0xa5e9df(0x18d)](a96_0x5e0314,{'ElementPlus':a96_0x116f57,'Vant':a96_0x32b52c}),Object[a96_0xa5e9df(0x191)](app[a96_0xa5e9df(0x197)][a96_0xa5e9df(0x188)],{'isMobile':window[a96_0xa5e9df(0x18e)],'service':{'request':a96_0x2614fe,'API_BASE_URL':API_BASE_URL},'$store':{'app':{'sidebarCollapse':![],'toggleDuration':0x0}}}),app[a96_0xa5e9df(0x190)](a96_0xa5e9df(0x18b));export default app;
|
package/src/request.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a97_0x58f4(_0x47efc1,_0x428de8){const _0x3c11ee=a97_0x3c11();return a97_0x58f4=function(_0x58f460,_0x533b5b){_0x58f460=_0x58f460-0x1f1;let _0x1cf40a=_0x3c11ee[_0x58f460];return _0x1cf40a;},a97_0x58f4(_0x47efc1,_0x428de8);}function a97_0x3c11(){const _0x30043c=['21351bbpzGH','request','startsWith','stringify','POST','use','interceptors','application/json','string','response','http','error','327576ltTVlo','2181072dsAjLj','105564bKkWBP','body','356182MceJhq','292033qpxNgM','includes','37752eBUXCV','toUpperCase','env','20SUpSDD'];a97_0x3c11=function(){return _0x30043c;};return a97_0x3c11();}const a97_0xcb9fb8=a97_0x58f4;(function(_0x58f988,_0x4a4547){const _0x841679=a97_0x58f4,_0x3e054e=_0x58f988();while(!![]){try{const _0xd2e26b=-parseInt(_0x841679(0x205))/0x1+-parseInt(_0x841679(0x1fe))/0x2+parseInt(_0x841679(0x201))/0x3+-parseInt(_0x841679(0x1fa))/0x4+parseInt(_0x841679(0x204))/0x5*(parseInt(_0x841679(0x1fc))/0x6)+parseInt(_0x841679(0x1ff))/0x7+parseInt(_0x841679(0x1fb))/0x8;if(_0xd2e26b===_0x4a4547)break;else _0x3e054e['push'](_0x3e054e['shift']());}catch(_0x4b0053){_0x3e054e['push'](_0x3e054e['shift']());}}}(a97_0x3c11,0x1c509));const {PROD,VITE_DEV_BASE_URL,VITE_PROD_BASE_URL,VITE_TIMEOUT=0xea60}=import.meta[a97_0xcb9fb8(0x203)],API_BASE_URL=window['API_BASE_URL']||(PROD?VITE_PROD_BASE_URL:VITE_DEV_BASE_URL),createRequest=_0x1ccadd=>{const _0x35f23d=a97_0xcb9fb8,_0x4ad13b=axios['create']({'baseURL':API_BASE_URL,'timeout':VITE_TIMEOUT*0x1,..._0x1ccadd});return _0x4ad13b['interceptors'][_0x35f23d(0x206)][_0x35f23d(0x1f3)](_0x4c1531=>{return _0x4c1531;},_0x31db1f=>{const _0x5a2432=_0x35f23d;console[_0x5a2432(0x1f9)](_0x31db1f);}),_0x4ad13b[_0x35f23d(0x1f4)][_0x35f23d(0x1f7)][_0x35f23d(0x1f3)](_0x51115a=>{return _0x51115a;},_0x1dd8d1=>{const _0x42b28b=_0x35f23d;console[_0x42b28b(0x1f9)](_0x1dd8d1);}),_0x4ad13b;},fetchRequest=(_0x2a5bd3,_0x7ef158={})=>{const _0x2c33ce=a97_0xcb9fb8;_0x2a5bd3=_0x2a5bd3[_0x2c33ce(0x207)](_0x2c33ce(0x1f8))?_0x2a5bd3:API_BASE_URL+_0x2a5bd3;const {method:method='GET',headers:_0x2677c2,body:_0x1a6aa9,..._0x3e3acf}=_0x7ef158,_0x4e12cf={'method':method,..._0x3e3acf,'headers':{'content-type':_0x2c33ce(0x1f5),..._0x2677c2}};return['PUT',_0x2c33ce(0x1f2)][_0x2c33ce(0x200)](method[_0x2c33ce(0x202)]())&&(_0x4e12cf[_0x2c33ce(0x1fd)]=typeof _0x1a6aa9===_0x2c33ce(0x1f6)?_0x1a6aa9:JSON[_0x2c33ce(0x1f1)](_0x1a6aa9)),fetch(_0x2a5bd3,_0x4e12cf);};export default createRequest();export{API_BASE_URL,createRequest,fetchRequest};
|
package/vite.config.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a98_0x4040ac=a98_0x5315;(function(_0xcd18a7,_0x453621){const _0x379d40=a98_0x5315,_0x20cd72=_0xcd18a7();while(!![]){try{const _0x42ee58=-parseInt(_0x379d40(0xa7))/0x1+parseInt(_0x379d40(0x97))/0x2+-parseInt(_0x379d40(0xa2))/0x3+-parseInt(_0x379d40(0x94))/0x4+-parseInt(_0x379d40(0xa1))/0x5+parseInt(_0x379d40(0x98))/0x6+parseInt(_0x379d40(0xa6))/0x7;if(_0x42ee58===_0x453621)break;else _0x20cd72['push'](_0x20cd72['shift']());}catch(_0x2e2099){_0x20cd72['push'](_0x20cd72['shift']());}}}(a98_0x4d20,0xded7a));import a98_0x1f0cca from'path';import{defineConfig}from'vite';function a98_0x4d20(){const _0x383233=['2023-11','1326900BIRKIr','2353638hUalRW','join','toString','defaults','13976116mfJyTJ','1168213EyMAqu','node_modules/','3947676ykqHdf','dist','includes','2101540rMFzlU','6422772LQBvnS','regenerator-runtime/runtime','vue','split','cwd','decorators','Vue','src'];a98_0x4d20=function(){return _0x383233;};return a98_0x4d20();}import a98_0xfcf24b from'@vitejs/plugin-vue';import a98_0x176efa from'@vitejs/plugin-legacy';import a98_0x5c7af6 from'@vitejs/plugin-vue-jsx';import a98_0x2bf449 from'@rollup/plugin-commonjs';import a98_0x36b99d from'rollup-plugin-external-globals';import{babel}from'@rollup/plugin-babel';import{createStyleImportPlugin,VantResolve}from'vite-plugin-style-import';const resolve=_0x256367=>a98_0x1f0cca[a98_0x4040ac(0xa3)](process[a98_0x4040ac(0x9c)](),_0x256367);function a98_0x5315(_0x56fa44,_0x45cf26){const _0x4d20a1=a98_0x4d20();return a98_0x5315=function(_0x53151d,_0x401296){_0x53151d=_0x53151d-0x94;let _0x1dd7e1=_0x4d20a1[_0x53151d];return _0x1dd7e1;},a98_0x5315(_0x56fa44,_0x45cf26);}export default defineConfig(({command:_0x2c7cfd,mode:_0x33fa90})=>{const _0x26b507=a98_0x4040ac,_0x1ef277={'plugins':[a98_0xfcf24b({'template':{'compilerOptions':{'expressionPlugins':[['decorators',{'version':_0x26b507(0xa0)}]]}},'script':{'babelParserPlugins':[[_0x26b507(0x9d),{'version':_0x26b507(0xa0)}],_0x26b507(0x9d)]}}),a98_0x5c7af6(),babel({'compact':![],'plugins':[['@babel/plugin-proposal-decorators',{'version':_0x26b507(0xa0)}]]}),createStyleImportPlugin({'resolves':[VantResolve()]}),a98_0x176efa({'targets':[_0x26b507(0xa5)],'additionalLegacyPolyfills':[_0x26b507(0x99)]})],'runtimeCompiler':!![],'build':{'outDir':_0x26b507(0x95),'rollupOptions':{'external':[_0x26b507(0x9a)],'plugins':[a98_0x2bf449(),a98_0x36b99d({'vue':_0x26b507(0x9e)})],'output':{'manualChunks'(_0x54bf65){const _0x13250c=_0x26b507;if(_0x54bf65[_0x13250c(0x96)]('node_modules'))return _0x54bf65[_0x13250c(0xa4)]()[_0x13250c(0x9b)](_0x13250c(0xa8))[0x1][_0x13250c(0x9b)]('/')[0x0][_0x13250c(0xa4)]();}}}},'resolve':{'alias':{'@':resolve(_0x26b507(0x9f)),'vue':'vue/dist/vue.esm-bundler.js'}}};return _0x1ef277;});
|
package/vite.lib.config.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a99_0x5d1f54=a99_0x1e5e;(function(_0x531578,_0x3e7a88){const _0x5c40af=a99_0x1e5e,_0x2ad070=_0x531578();while(!![]){try{const _0x2e1c84=-parseInt(_0x5c40af(0x1fb))/0x1+parseInt(_0x5c40af(0x200))/0x2*(parseInt(_0x5c40af(0x1f0))/0x3)+-parseInt(_0x5c40af(0x1ed))/0x4+-parseInt(_0x5c40af(0x1fa))/0x5+-parseInt(_0x5c40af(0x201))/0x6+parseInt(_0x5c40af(0x1f6))/0x7*(-parseInt(_0x5c40af(0x1f1))/0x8)+parseInt(_0x5c40af(0x1f2))/0x9;if(_0x2e1c84===_0x3e7a88)break;else _0x2ad070['push'](_0x2ad070['shift']());}catch(_0x5d94a7){_0x2ad070['push'](_0x2ad070['shift']());}}}(a99_0x2705,0x935ec));function a99_0x2705(){const _0x1bd43f=['4685592TMWOlx','Vue','./packages/index.js','2615604yDClQO','414296VyZgVs','21131595HGNTML','toString','includes','vue/dist/vue.esm-bundler.js','7sGYTUk','cwd','StardustUI','split','1832275gcuEDc','443904WCqArB','vue','src','join','node_modules','2nldQnx','3495906OXVdVq'];a99_0x2705=function(){return _0x1bd43f;};return a99_0x2705();}import a99_0x3aa13e from'path';import{defineConfig}from'vite';import a99_0x4b03d4 from'@vitejs/plugin-vue';import a99_0x350072 from'@vitejs/plugin-vue-jsx';import a99_0xac893a from'@rollup/plugin-commonjs';function a99_0x1e5e(_0x41068d,_0x32e896){const _0x2705cb=a99_0x2705();return a99_0x1e5e=function(_0x1e5e99,_0x2b3bc0){_0x1e5e99=_0x1e5e99-0x1ed;let _0x194c30=_0x2705cb[_0x1e5e99];return _0x194c30;},a99_0x1e5e(_0x41068d,_0x32e896);}import a99_0x1bc2c6 from'rollup-plugin-external-globals';import{createStyleImportPlugin,VantResolve}from'vite-plugin-style-import';const resolve=_0x835f3b=>a99_0x3aa13e[a99_0x5d1f54(0x1fe)](process[a99_0x5d1f54(0x1f7)](),_0x835f3b);export default defineConfig(({command:_0x5462d2,mode:_0x598a88})=>{const _0x4721d8=a99_0x5d1f54,_0x1db97a={'plugins':[a99_0x4b03d4(),a99_0x350072(),createStyleImportPlugin({'resolves':[VantResolve()]})],'runtimeCompiler':!![],'build':{'outDir':'./','lib':{'entry':_0x4721d8(0x1ef),'name':_0x4721d8(0x1f8),'fileName':'index','formats':['es']},'rollupOptions':{'external':[_0x4721d8(0x1fc)],'plugins':[a99_0xac893a()],'output':{'globals':{'vue':_0x4721d8(0x1ee)},'manualChunks'(_0xff633d){const _0x5065b2=_0x4721d8;if(_0xff633d[_0x5065b2(0x1f4)](_0x5065b2(0x1ff)))return _0xff633d[_0x5065b2(0x1f3)]()['split']('node_modules/')[0x1][_0x5065b2(0x1f9)]('/')[0x0][_0x5065b2(0x1f3)]();}}}},'resolve':{'alias':{'@':resolve(_0x4721d8(0x1fd)),'vue':_0x4721d8(0x1f5)}}};return _0x1db97a;});
|