@wp1001/ui 3.5.10 → 3.5.11
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/sidebar/sidebar.vue +5 -2
- 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(_0x5d3c3d,_0x5f103a){const _0x2fd4fd=a90_0x34b8,_0x19b7da=_0x5d3c3d();while(!![]){try{const _0x4b7a47=-parseInt(_0x2fd4fd(0x181))/0x1+-parseInt(_0x2fd4fd(0x182))/0x2+parseInt(_0x2fd4fd(0x190))/0x3+-parseInt(_0x2fd4fd(0x17c))/0x4+parseInt(_0x2fd4fd(0x177))/0x5*(parseInt(_0x2fd4fd(0x191))/0x6)+-parseInt(_0x2fd4fd(0x199))/0x7+parseInt(_0x2fd4fd(0x18a))/0x8;if(_0x4b7a47===_0x5f103a)break;else _0x19b7da['push'](_0x19b7da['shift']());}catch(_0x4fdf3a){_0x19b7da['push'](_0x19b7da['shift']());}}}(a90_0x395b,0x19b9d));import{watch,nextTick}from'vue';function a90_0x34b8(_0x273832,_0x15997e){const _0x395bbd=a90_0x395b();return a90_0x34b8=function(_0x34b8be,_0x26de7c){_0x34b8be=_0x34b8be-0x177;let _0x436eeb=_0x395bbd[_0x34b8be];return _0x436eeb;},a90_0x34b8(_0x273832,_0x15997e);}import{Message}from'./message.js';const {funcs}=StardustJs;export const check404=(_0x3bf8bb,_0x399e3b,_0x2240a4)=>{const _0xb70bd0=a90_0x34b8;_0x3bf8bb[_0xb70bd0(0x179)](async(_0x107f3f,_0x33bb46)=>{const _0x55f419=_0xb70bd0;return!!_0x107f3f[_0x55f419(0x186)][_0x55f419(0x18d)]||_0x55f419(0x184);});};function a90_0x395b(){const _0x3760b2=['370844fZjVdZ','meta','visitable','\x20页面,如有需要请联系我们','menus','52170fQIBJD','335046gvCKhY','title','/404','acl','matched','children','component','受限于您的账号权限,暂时无法访问\x20','2430656pcgthc','sleep','query','length','getters','error','273810QtJSlJ','78JQzBDh','reduce','paths','forEach','sitename','logging','hidden','afterEach','972678XnbgMI','redirect','replace','includes','62165joWBzP','_hidden','beforeEach','path','logined'];a90_0x395b=function(){return _0x3760b2;};return a90_0x395b();}export const setTitle=(_0x14d8ee,_0xb4ecbe,_0x59f550)=>{const _0x147164=a90_0x34b8;_0x14d8ee[_0x147164(0x198)]((_0x3f1901,_0x10121a)=>{const _0x4d4bbe=_0x147164;document[_0x4d4bbe(0x183)]=_0x3f1901['matched'][_0x3f1901[_0x4d4bbe(0x186)][_0x4d4bbe(0x18d)]-0x1][_0x4d4bbe(0x17d)]?.[_0x4d4bbe(0x183)]||_0xb4ecbe['app'][_0x4d4bbe(0x195)];});};export const checkRolesPages=(_0x2f51e4,_0x47d10d,_0x518f52)=>{const _0x461e27=a90_0x34b8;_0x2f51e4[_0x461e27(0x179)](async(_0x1c0df0,_0xdaa78d)=>{const _0x460be8=_0x461e27,_0x5e17f1=_0x1c0df0[_0x460be8(0x186)][_0x1c0df0[_0x460be8(0x186)]['length']-0x1]['path']['split']('/:')[0x0];if(_0x1c0df0[_0x460be8(0x17d)][_0x460be8(0x185)]===![]||_0x1c0df0[_0x460be8(0x17d)]?.[_0x460be8(0x17e)])return!![];while(_0x47d10d[_0x460be8(0x18e)][_0x460be8(0x196)]){await funcs[_0x460be8(0x18b)](0x14);}await nextTick();if(_0x47d10d['acl'][_0x460be8(0x193)][_0x460be8(0x19c)](_0x5e17f1))return!![];const _0x145f87={'redirectTo':_0x1c0df0[_0x460be8(0x17a)],..._0x1c0df0[_0x460be8(0x18c)]};return _0x47d10d['getters'][_0x460be8(0x17b)]&&(_0x145f87[_0x460be8(0x18f)]=_0x460be8(0x189)+_0x1c0df0[_0x460be8(0x17a)]+_0x460be8(0x17f),Message({'message':_0x145f87['error'],'duration':0x2710})),{'path':_0x47d10d[_0x460be8(0x185)][_0x460be8(0x193)][0x0]||_0x460be8(0x184),'query':_0x145f87};}),nextTick(()=>{const _0x4dbb1f=_0x461e27;let _0x58ee53=![];watch(()=>_0x47d10d[_0x4dbb1f(0x185)][_0x4dbb1f(0x180)],_0x5e77bf=>{const _0x1fc7f1=_0x4dbb1f;if(!_0x58ee53){if(!_0x5e77bf['length'])return;_0x58ee53=!![];}const _0x126895=_0x47d10d[_0x1fc7f1(0x185)]['paths'],_0x4e116f=(_0x3937de,_0x458deb)=>{const _0x455c87=_0x1fc7f1;let _0x5475a8;_0x3937de[_0x455c87(0x19a)]&&!_0x3937de[_0x455c87(0x188)]?_0x5475a8=_0x3937de[_0x455c87(0x19a)]:_0x5475a8=[..._0x458deb,_0x3937de][_0x455c87(0x192)]((_0xce326a,_0x390aaf)=>_0xce326a+'/'+_0x390aaf['path'],'')[_0x455c87(0x19b)]('//','/'),_0x3937de[_0x455c87(0x17d)]||={},_0x3937de[_0x455c87(0x17d)][_0x455c87(0x185)]===![]?_0x3937de[_0x455c87(0x187)]?.[_0x455c87(0x194)](_0x352932=>{const _0x2a4fa7=_0x455c87;_0x352932['meta']||={},_0x352932[_0x2a4fa7(0x17d)][_0x2a4fa7(0x185)]||=![],_0x4e116f(_0x352932,[..._0x458deb,_0x3937de]);}):(_0x3937de['meta'][_0x455c87(0x178)]=_0x3937de[_0x455c87(0x17d)]['hidden'],parent&&(_0x3937de[_0x455c87(0x17d)][_0x455c87(0x197)]==null&&(_0x3937de[_0x455c87(0x17d)][_0x455c87(0x197)]??=parent[_0x455c87(0x17d)]?.[_0x455c87(0x197)],_0x3937de[_0x455c87(0x17d)]={..._0x3937de[_0x455c87(0x17d)]}),_0x3937de[_0x455c87(0x17d)][_0x455c87(0x17e)]==null&&(_0x3937de[_0x455c87(0x17d)][_0x455c87(0x17e)]??=parent[_0x455c87(0x17d)]?.[_0x455c87(0x17e)],_0x3937de[_0x455c87(0x17d)]={..._0x3937de[_0x455c87(0x17d)]})),_0x3937de[_0x455c87(0x187)]?.[_0x455c87(0x194)](_0x28a2dc=>_0x4e116f(_0x28a2dc,[..._0x458deb,_0x3937de])),_0x3937de[_0x455c87(0x17d)]['hidden']!==![]&&_0x3937de['meta'][_0x455c87(0x178)]!==!![]&&(_0x3937de[_0x455c87(0x17d)][_0x455c87(0x197)]=!_0x126895[_0x455c87(0x19c)](_0x5475a8),_0x3937de[_0x455c87(0x187)]?.['some'](_0x5cf3e6=>_0x5cf3e6[_0x455c87(0x17d)][_0x455c87(0x197)]===![])&&(_0x3937de[_0x455c87(0x17d)][_0x455c87(0x197)]=![])));};_0x518f52['forEach'](_0xbe74f1=>_0x4e116f(_0xbe74f1,[]));},{'immediate':!![]});});};export default{'check404':check404,'setTitle':setTitle,'checkRolesPages':checkRolesPages};
|
package/packages/utils/model.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a91_0x51111a=a91_0x4097;(function(_0x2f557b,_0xce9d7a){const _0x2eeb9c=a91_0x4097,_0x4bc052=_0x2f557b();while(!![]){try{const _0x401fb7=-parseInt(_0x2eeb9c(0x99))/0x1+parseInt(_0x2eeb9c(0x97))/0x2*(-parseInt(_0x2eeb9c(0x93))/0x3)+-parseInt(_0x2eeb9c(0x90))/0x4*(-parseInt(_0x2eeb9c(0x94))/0x5)+-parseInt(_0x2eeb9c(0x9b))/0x6+-parseInt(_0x2eeb9c(0x9a))/0x7+parseInt(_0x2eeb9c(0x91))/0x8+parseInt(_0x2eeb9c(0x96))/0x9*(parseInt(_0x2eeb9c(0x95))/0xa);if(_0x401fb7===_0xce9d7a)break;else _0x4bc052['push'](_0x4bc052['shift']());}catch(_0x2fabc1){_0x4bc052['push'](_0x4bc052['shift']());}}}(a91_0x5d58,0x211c8));export const baseForm=()=>({'loading':![],'form':{},'initialForm':{},'formItems':[],'formRef':null,'formRules':{},'initialFormRules':{},'_isBaseForm':!![],'viewonly':![]});export const baseTable=(_0x218fd8={})=>({'loading':![],'query':{'page':0x1,'limit':0xa,'order':[],..._0x218fd8},'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_0x51111a(0x98),'type':a91_0x51111a(0x92)},{'type':'_index'}],query:query={},form:form={}}={})=>({'table':{...baseTable(query),...table,'columns':columns},'dialog':{...baseDialog(),...dialog,'form':form}});function a91_0x4097(_0x413f5b,_0x77d941){const _0x5d58cc=a91_0x5d58();return a91_0x4097=function(_0x409741,_0x38eb77){_0x409741=_0x409741-0x90;let _0x2f44b0=_0x5d58cc[_0x409741];return _0x2f44b0;},a91_0x4097(_0x413f5b,_0x77d941);}export default{'baseForm':baseForm,'baseTable':baseTable,'baseDialog':baseDialog,'baseModel':baseModel};function a91_0x5d58(){const _0x144841=['2TGqoxF','left','239679FhfnvV','586873tnPEHi','1408932AmtJeZ','164OTUYkV','176360qHmHyT','selection','152049GpHCgv','20885dDgxsH','5513450xbmdlL','9oKYhcT'];a91_0x5d58=function(){return _0x144841;};return a91_0x5d58();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a92_0x1ffc(_0x2494da,_0x522c8e){const _0x54fbdf=a92_0x54fb();return a92_0x1ffc=function(_0x1ffc10,_0x1f3b47){_0x1ffc10=_0x1ffc10-0xf9;let _0x51e0d5=_0x54fbdf[_0x1ffc10];return _0x51e0d5;},a92_0x1ffc(_0x2494da,_0x522c8e);}const a92_0x4d3cb3=a92_0x1ffc;(function(_0x3cbfa3,_0x3fd4b0){const _0x2845f0=a92_0x1ffc,_0x313023=_0x3cbfa3();while(!![]){try{const _0x44c8ee=-parseInt(_0x2845f0(0x12f))/0x1+parseInt(_0x2845f0(0x136))/0x2*(parseInt(_0x2845f0(0x11b))/0x3)+parseInt(_0x2845f0(0x126))/0x4+-parseInt(_0x2845f0(0x115))/0x5*(-parseInt(_0x2845f0(0x134))/0x6)+parseInt(_0x2845f0(0x13f))/0x7*(-parseInt(_0x2845f0(0x10d))/0x8)+-parseInt(_0x2845f0(0x10e))/0x9+parseInt(_0x2845f0(0x119))/0xa;if(_0x44c8ee===_0x3fd4b0)break;else _0x313023['push'](_0x313023['shift']());}catch(_0x4a59d9){_0x313023['push'](_0x313023['shift']());}}}(a92_0x54fb,0x6e918));import{watch}from'vue';const {funcs}=StardustJs;export const initFields=_0x187670=>{const _0x375e9d=a92_0x1ffc;return _0x187670[_0x375e9d(0x109)](_0x427f1e=>{const _0x1fc096=_0x375e9d,_0x5e6e8a=Object[_0x1fc096(0x111)](_0x427f1e);for(let _0x432c09 of _0x5e6e8a){if(_0x432c09['startsWith'](_0x1fc096(0x129)))_0x427f1e[_0x1fc096(0x128)]??={},_0x427f1e[_0x1fc096(0x128)][_0x432c09['slice'](0x3)]=_0x427f1e[_0x432c09],delete _0x427f1e[_0x432c09];else _0x432c09[_0x1fc096(0x102)](_0x1fc096(0x133))&&(_0x427f1e[_0x1fc096(0x11e)]??={},_0x427f1e['formAttrs'][_0x432c09[_0x1fc096(0x113)](0x3)]=_0x427f1e[_0x432c09],delete _0x427f1e[_0x432c09]);}if(_0x427f1e['type']==='date')_0x427f1e[_0x1fc096(0x11e)]??={},_0x427f1e[_0x1fc096(0x11e)]['value-format']??=_0x1fc096(0x12b);else _0x427f1e[_0x1fc096(0x139)]===_0x1fc096(0x11d)&&(_0x427f1e['formAttrs']??={},_0x427f1e[_0x1fc096(0x11e)][_0x1fc096(0xfb)]??='YYYY-MM-DD\x20HH:mm:ss');return _0x427f1e['xs']??=0x18,_0x427f1e;});};export const initModel=(_0x5c003b,_0x4ec1bb)=>{const _0x4f151a=a92_0x1ffc;for(let _0x453903 in _0x5c003b){const _0x56a9ec=_0x5c003b[_0x453903];if(!_0x56a9ec||typeof _0x56a9ec!==_0x4f151a(0x105))continue;_0x453903===_0x4f151a(0x118)&&_0x5c003b[_0x453903][_0x4f151a(0x112)]&&initTable(_0x56a9ec,_0x4ec1bb),_0x453903===_0x4f151a(0x135)&&_0x5c003b[_0x453903][_0x4f151a(0x137)]&&initDialog(_0x56a9ec,_0x4ec1bb),_0x453903===_0x4f151a(0x13e)&&_0x5c003b[_0x453903][_0x4f151a(0x124)]&&initForm(_0x56a9ec,_0x4ec1bb);}return _0x5c003b;};function a92_0x54fb(){const _0x1ff682=['asyncValidator','form','24976beoBZh','platform','number','options','value-format','canAdd','push','forEach','every','blur','canEdit','startsWith','validator','virtual','object','formRules','ElInputNumber','hasOwnProperty','map','filter','start-placeholder','一个\x20when\x20表达式中仅支持\x20&&\x20模式或\x20||\x20模式','320WhbufB','7832358YqPMiO','columns','change','keys','_isBaseTable','slice','label','2602095FofpED','daterange','onChange','table','10769550dEvtqD','end-placeholder','8478rGAwrI','split','datetime','formAttrs','trim','formItems','ElDatePicker','prop','x-checkboxs','_isBaseForm','isMobile','296004oQrMPX','datetimerange','tableAttrs','ta_','required','YYYY-MM-DD','some','visible','initialForm','262025EfbdYK','includes','string','deepCopy','fa_','6CdgUHI','dialog','40GpWEnV','_isBaseDialog','comp','type','canView','ElSwitch','assign'];a92_0x54fb=function(){return _0x1ff682;};return a92_0x54fb();}export const initTable=(_0x5773fa,_0x2fc74e)=>{const _0x5d6845=a92_0x1ffc;return _0x5773fa[_0x5d6845(0x10f)]['push'](..._0x2fc74e['filter'](_0x3d3e28=>{const _0x304d4f=_0x5d6845;return _0x3d3e28['visible']===![]?_0x3d3e28[_0x304d4f(0x13a)]:_0x3d3e28[_0x304d4f(0x13a)]!==![];})),_0x5773fa;};export const initDialog=(_0x21bdd2,_0x16b7eb)=>{const _0x2db964=a92_0x1ffc;return _0x21bdd2[_0x2db964(0x120)]=_0x16b7eb[_0x2db964(0x10a)](_0x470467=>{const _0x5ac021=_0x2db964;if(_0x470467[_0x5ac021(0x12d)]===![])return _0x470467[_0x5ac021(0xfc)]||_0x470467[_0x5ac021(0x101)];return _0x470467[_0x5ac021(0xfc)]!==![]||_0x470467['canEdit']!==![];}),initForm(_0x21bdd2,_0x16b7eb),_0x21bdd2;};export const initForm=(_0x512524,_0x25c3ce)=>{const _0x2f5f10=a92_0x1ffc;_0x512524['_isBaseForm']&&!_0x512524[_0x2f5f10(0x137)]&&(_0x512524[_0x2f5f10(0x120)]=_0x25c3ce['filter'](_0xc6c751=>_0xc6c751[_0x2f5f10(0x12d)]!==![]));initDefaultForm(_0x512524['form'],_0x512524[_0x2f5f10(0x120)]),_0x512524[_0x2f5f10(0x12e)]=funcs[_0x2f5f10(0x132)](_0x512524['form']),_0x512524['initialFormRules']=funcs[_0x2f5f10(0x132)](_0x512524[_0x2f5f10(0x106)]);const _0x1bebcb=()=>{initFormRules(_0x512524);};return watch(()=>_0x512524[_0x2f5f10(0x120)],_0x1bebcb,{'immediate':!![],'deep':!![]}),_0x512524;};export const initFormRules=_0x3f48bd=>{const _0x5cf7c8=a92_0x1ffc,{formItems:_0x17b295,initialFormRules:_0x308e12}=_0x3f48bd;Object['assign'](_0x3f48bd['formRules'],funcs['deepCopy'](_0x308e12)),Object[_0x5cf7c8(0x111)](_0x3f48bd[_0x5cf7c8(0x106)])[_0x5cf7c8(0xfe)](_0x14d12f=>{const _0x4e1991=_0x5cf7c8;!_0x308e12[_0x4e1991(0x108)](_0x14d12f)&&delete _0x3f48bd[_0x4e1991(0x106)][_0x14d12f];});const _0x392b52={};return _0x17b295[_0x5cf7c8(0xfe)](_0x4fa304=>{const _0x40fa25=_0x5cf7c8;if(_0x3f48bd['formRules'][_0x4fa304[_0x40fa25(0x122)]])return;if(!_0x4fa304[_0x40fa25(0x12a)]&&!_0x4fa304[_0x40fa25(0x103)]&&!_0x4fa304[_0x40fa25(0x13d)])return;const _0x26fb08=_0x4fa304[_0x40fa25(0x140)]||_0x3f48bd[_0x40fa25(0x140)]||(window[_0x40fa25(0x125)]?'mobile':'pc'),_0x4e8c64=triggers[_0x26fb08],_0x33857a=[],_0x3e6543=_0x40fa25(0xfa)in _0x4fa304,_0x25ac32='请'+(_0x4fa304[_0x40fa25(0x103)]||_0x4fa304[_0x40fa25(0x13d)]?'正确':'')+(_0x3e6543?'选择':'输入')+(_0x4fa304?.[_0x40fa25(0x114)]||_0x4fa304[_0x40fa25(0x122)]),_0x23ab72={'required':!![],'message':_0x25ac32};if(_0x4fa304['validator'])_0x23ab72[_0x40fa25(0x103)]=(_0x3555ec,_0x344671)=>{return _0x26fb08==='pc'?_0x4fa304['validator'](_0x3555ec,_0x344671):_0x4fa304['validator'](_0x344671,_0x3555ec);};if(_0x4fa304[_0x40fa25(0x13d)])_0x23ab72[_0x40fa25(0x13d)]=(_0x176d8b,_0x3160a0)=>{const _0x81246d=_0x40fa25;return _0x26fb08==='pc'?_0x4fa304[_0x81246d(0x13d)](_0x176d8b,_0x3160a0):_0x4fa304[_0x81246d(0x13d)](_0x3160a0,_0x176d8b);};!_0x4fa304[_0x40fa25(0x138)]?_0x33857a[_0x40fa25(0xfd)]({..._0x23ab72,'trigger':_0x4e8c64[_0x40fa25(0x100)]}):_0x33857a[_0x40fa25(0xfd)]({..._0x23ab72,'trigger':_0x4e8c64[_0x40fa25(0x110)]}),_0x4fa304[_0x40fa25(0x138)]===_0x40fa25(0x107)&&_0x33857a[_0x40fa25(0xfd)]({..._0x23ab72,'trigger':_0x4e8c64[_0x40fa25(0x100)]}),_0x392b52[_0x4fa304['prop']]=_0x33857a;}),Object[_0x5cf7c8(0x13c)](_0x3f48bd['formRules'],_0x392b52),_0x3f48bd[_0x5cf7c8(0x106)];};export const initDefaultForm=(_0x4adb93,_0x29bbb0,_0x223aa9=!![])=>{const _0x12ce2d=a92_0x1ffc,_0x334f5b={};return _0x29bbb0['forEach'](_0x522693=>{const _0x18ade4=a92_0x1ffc;if(!_0x522693[_0x18ade4(0x122)]||_0x522693[_0x18ade4(0x104)])return;let _0x24d617='';const {type:_0x13ee8c,options:_0x49e48c}=_0x522693,{multiple:_0x3797cb}=_0x522693[_0x18ade4(0x11e)]||{};if(_0x223aa9&&_0x13ee8c===_0x18ade4(0xf9)||_0x522693[_0x18ade4(0x138)]===_0x18ade4(0x107))_0x24d617=null;else{if(_0x522693[_0x18ade4(0x138)]===_0x18ade4(0x13b))_0x24d617=![];else{if(_0x49e48c&&(_0x522693['comp']?.['endsWith']('XCheckboxs')||_0x522693[_0x18ade4(0x138)]?.['endsWith'](_0x18ade4(0x123))||_0x3797cb))_0x24d617=[];else{if(_0x522693['comp']===_0x18ade4(0x121)&&[_0x18ade4(0x127),_0x18ade4(0x116),'monthrange'][_0x18ade4(0x130)](_0x522693[_0x18ade4(0x139)])){const _0x45d661={'datetimerange':'时间','daterange':'日期','monthrange':'月份'}[_0x522693['type']];!_0x522693[_0x18ade4(0x10b)]&&(_0x522693[_0x18ade4(0x10b)]='开始'+_0x45d661),!_0x522693[_0x18ade4(0x11a)]&&(_0x522693[_0x18ade4(0x11a)]='结束'+_0x45d661),_0x24d617=[];}}}}_0x334f5b[_0x522693[_0x18ade4(0x122)]]=_0x24d617;}),Object[_0x12ce2d(0x13c)](_0x4adb93,{..._0x334f5b,..._0x4adb93}),_0x4adb93;};export const isWhenMatched=(_0x4c19a9,_0x2c9386)=>{const _0x70e1b0=a92_0x1ffc;if(!_0x4c19a9)return!![];const _0x1f44ee=_0x4c19a9['split'](/\s?(&&|\|\|)\s?/g);if(_0x1f44ee[_0x70e1b0(0x130)]('&&')&&_0x1f44ee[_0x70e1b0(0x130)]('||'))throw _0x70e1b0(0x10c);const _0x545301=_0x1f44ee[_0x70e1b0(0x130)]('&&'),_0x22a12b=/[\^\*\$\~\!]?=/,_0xd3a649=_0x1f44ee[_0x70e1b0(0x10a)](_0x35bbc1=>_0x35bbc1!=='&&'&&_0x35bbc1!=='||');return _0xd3a649[_0x545301?_0x70e1b0(0xff):_0x70e1b0(0x12c)](_0x4b8332=>{const _0x1a34f9=_0x70e1b0;let [_0x5bb90f,_0x3b5f96]=_0x4b8332[_0x1a34f9(0x11c)](_0x22a12b);_0x3b5f96=_0x3b5f96[_0x1a34f9(0x11c)]('|');let _0x528377=_0x2c9386[_0x5bb90f];if(typeof _0x528377===_0x1a34f9(0xf9))_0x528377+='';else{if(typeof _0x528377===_0x1a34f9(0x131))_0x528377=_0x528377[_0x1a34f9(0x11f)]();}const _0x3cc3b5=_0x4b8332['match'](_0x22a12b)[0x0];if(_0x3cc3b5==='!=')return!_0x3b5f96[_0x1a34f9(0x130)](_0x528377);return _0x3b5f96['some'](_0x14ab95=>{const _0x1a64be=_0x1a34f9;if(_0x3cc3b5==='^=')return _0x528377?.[_0x1a64be(0x102)](_0x14ab95);else{if(_0x3cc3b5==='*=')return _0x528377?.[_0x1a64be(0x130)](_0x14ab95);else{if(_0x3cc3b5==='$=')return _0x528377?.['endsWith'](_0x14ab95);else{if(_0x3cc3b5==='~=')return!_0x528377?.[_0x1a64be(0x130)](_0x14ab95);else{if(_0x3cc3b5==='!=')return _0x528377!==_0x14ab95;}}}}return _0x14ab95===_0x528377;});});};export const triggers={'mobile':{'blur':'onBlur','change':a92_0x4d3cb3(0x117)},'pc':{'blur':a92_0x4d3cb3(0x100),'change':a92_0x4d3cb3(0x110)}};export default{'initFields':initFields,'initModel':initModel,'initTable':initTable,'initDialog':initDialog,'initForm':initForm,'initFormRules':initFormRules,'initDefaultForm':initDefaultForm,'isWhenMatched':isWhenMatched,'triggers':triggers};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x142a2b,_0x598305){const _0x351d8b=a93_0x217b,_0x11a839=_0x142a2b();while(!![]){try{const _0x50ac5d=-parseInt(_0x351d8b(0xcd))/0x1*(parseInt(_0x351d8b(0xb9))/0x2)+-parseInt(_0x351d8b(0xb7))/0x3*(parseInt(_0x351d8b(0xb5))/0x4)+parseInt(_0x351d8b(0xab))/0x5*(-parseInt(_0x351d8b(0xaa))/0x6)+-parseInt(_0x351d8b(0xc5))/0x7+-parseInt(_0x351d8b(0xcf))/0x8*(-parseInt(_0x351d8b(0xa7))/0x9)+parseInt(_0x351d8b(0xc0))/0xa+parseInt(_0x351d8b(0xd1))/0xb;if(_0x50ac5d===_0x598305)break;else _0x11a839['push'](_0x11a839['shift']());}catch(_0x3d65b7){_0x11a839['push'](_0x11a839['shift']());}}}(a93_0x106b,0x5bb95));import{Message}from'./message.js';function a93_0x217b(_0x56e5bb,_0x12d387){const _0x106b41=a93_0x106b();return a93_0x217b=function(_0x217b5f,_0x191d7f){_0x217b5f=_0x217b5f-0xa6;let _0x3b4503=_0x106b41[_0x217b5f];return _0x3b4503;},a93_0x217b(_0x56e5bb,_0x12d387);}function a93_0x106b(){const _0x3bf099=['url','1057449YiLPaV','httpEncrypt','181084weFMFD','未知错误','application/json','query','split','user','config','1246850pFBKFi','encrypt','now','dates','token','2160522BOXafE','stringify','redirectTo','code','toString','/login','href','join','5dmXShN','includes','16qlusVF','reject','11165792YoKReS','replace','refresh-token','indexOf','/login?redirectTo=','err','resolve','data','setExpired','2288457gzdnzB','globalProperties','params','198dNZokU','24055xrAmIv','content-type','hash','body','decodeQuery','setToken','slice','Authorization','Content-Type','headers','4IGKKfz'];a93_0x106b=function(){return _0x3bf099;};return a93_0x106b();}const requestUse=(_0x337853,_0x2375a3,_0x57bc67,_0x5d212d,_0x206172)=>{const _0x5c67c8=a93_0x217b;_0x206172[_0x5c67c8(0xb4)][_0x5c67c8(0xb2)]||=_0x57bc67[_0x5c67c8(0xbe)]['token'];const _0x5263ff=_0x337853[_0x5c67c8(0xbf)][_0x5c67c8(0xa8)][_0x5c67c8(0xb8)];if(_0x5263ff!==![]){_0x206172['headers']['Http-Encrypt']=_0x5263ff;const _0x5ab39d=_0x206172[_0x5c67c8(0xd8)]instanceof FormData;!_0x5ab39d&&(_0x206172[_0x5c67c8(0xb4)][_0x5c67c8(0xb3)]||='application/json;\x20charset=UTF-8');if(_0x206172[_0x5c67c8(0xb6)][_0x5c67c8(0xd4)]('?')>=0x0){const [_0x57f10c,..._0x39865d]=_0x206172[_0x5c67c8(0xb6)][_0x5c67c8(0xbd)]('?'),_0x4f1ad4=_0x2375a3[_0x5c67c8(0xc1)][_0x5263ff](_0x39865d[_0x5c67c8(0xcc)]('?'),'query');_0x206172[_0x5c67c8(0xb6)]=_0x57f10c+'?'+_0x4f1ad4;}else _0x206172[_0x5c67c8(0xa9)]||={'__placeholder__':Date[_0x5c67c8(0xc2)]()[_0x5c67c8(0xc9)](0x10)};if(_0x206172[_0x5c67c8(0xa9)]){const _0x3e3207=decodeURIComponent(new URLSearchParams(_0x206172[_0x5c67c8(0xa9)])[_0x5c67c8(0xc9)]());_0x206172[_0x5c67c8(0xb6)]+='?'+_0x2375a3[_0x5c67c8(0xc1)][_0x5263ff](_0x3e3207,_0x5c67c8(0xbc)),delete _0x206172[_0x5c67c8(0xa9)];}if(_0x206172[_0x5c67c8(0xd8)]!==undefined&&!_0x5ab39d){const _0x1619a8=_0x2375a3[_0x5c67c8(0xc1)][_0x5263ff](JSON[_0x5c67c8(0xc6)](_0x206172[_0x5c67c8(0xd8)]),_0x5c67c8(0xae));_0x206172[_0x5c67c8(0xd8)]=_0x1619a8;}}return _0x206172;},responseUse=(_0x440496,_0x21e3c6,_0x3a0fa1,_0x4b42e4,_0x6015e2)=>{const _0x54acb6=a93_0x217b;if([0x191,0x192,0x2711][_0x54acb6(0xce)](_0x6015e2[_0x54acb6(0xd8)][_0x54acb6(0xc8)])){_0x3a0fa1[_0x54acb6(0xbe)][_0x54acb6(0xa6)]();const _0x550fa7='/'+location[_0x54acb6(0xad)][_0x54acb6(0xb1)](0x2)[_0x54acb6(0xbd)]('?')[0x0],_0x2d281d=StardustJs['funcs'][_0x54acb6(0xaf)](location[_0x54acb6(0xcb)][_0x54acb6(0xbd)]('?')[0x1]||'');return _0x4b42e4[_0x54acb6(0xd2)](_0x2d281d[_0x54acb6(0xc7)]?_0x54acb6(0xd5)+(_0x2d281d['redirectTo']||_0x550fa7):_0x54acb6(0xca)),Promise[_0x54acb6(0xd0)](_0x6015e2);}else{if([0x2712]['includes'](_0x6015e2[_0x54acb6(0xd8)][_0x54acb6(0xc8)]))return Message['e'](_0x6015e2[_0x54acb6(0xd8)][_0x54acb6(0xd6)]),Promise[_0x54acb6(0xd0)](_0x6015e2);}const _0x49e441=_0x6015e2[_0x54acb6(0xb4)][_0x54acb6(0xd3)]||_0x6015e2[_0x54acb6(0xd8)][_0x54acb6(0xc4)];_0x49e441&&_0x3a0fa1[_0x54acb6(0xbe)][_0x54acb6(0xb0)](_0x49e441);if(_0x6015e2[_0x54acb6(0xd8)]['err'])return Message['e'](_0x6015e2[_0x54acb6(0xd8)][_0x54acb6(0xd6)]||_0x54acb6(0xba)),Promise[_0x54acb6(0xd0)](_0x6015e2);return _0x6015e2[_0x54acb6(0xb4)][_0x54acb6(0xac)]?.[_0x54acb6(0xce)](_0x54acb6(0xbb))&&(_0x6015e2[_0x54acb6(0xd8)]=JSON['parse'](StardustJs[_0x54acb6(0xc3)]['convertIsoDates'](JSON[_0x54acb6(0xc6)](_0x6015e2[_0x54acb6(0xd8)])))),Promise[_0x54acb6(0xd7)](_0x6015e2['data']);};export{requestUse,responseUse};
|
package/packages/utils/site.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a94_0x1523fd=a94_0x45b3;(function(_0x2a6b88,_0x1fd0a3){const _0x39da5d=a94_0x45b3,_0x1b0d45=_0x2a6b88();while(!![]){try{const _0x1e7f5d=parseInt(_0x39da5d(0xd4))/0x1+-parseInt(_0x39da5d(0xcf))/0x2+-parseInt(_0x39da5d(0xd5))/0x3+-parseInt(_0x39da5d(0xcb))/0x4*(-parseInt(_0x39da5d(0xc8))/0x5)+parseInt(_0x39da5d(0xcd))/0x6+parseInt(_0x39da5d(0xd1))/0x7+-parseInt(_0x39da5d(0xd2))/0x8*(parseInt(_0x39da5d(0xc9))/0x9);if(_0x1e7f5d===_0x1fd0a3)break;else _0x1b0d45['push'](_0x1b0d45['shift']());}catch(_0x361b7a){_0x1b0d45['push'](_0x1b0d45['shift']());}}}(a94_0x30e3,0xca541));function a94_0x45b3(_0x6d39bf,_0x34599e){const _0x30e32f=a94_0x30e3();return a94_0x45b3=function(_0x45b302,_0x24c798){_0x45b302=_0x45b302-0xc7;let _0x3e2a0b=_0x30e32f[_0x45b302];return _0x3e2a0b;},a94_0x45b3(_0x6d39bf,_0x34599e);}export const createWatermark=({text:_0x1689fe,gap:_0x34c803,fontSize:_0x168f69,color:_0x5010a7,width:width=window[a94_0x1523fd(0xd8)],height:height=window['innerHeight'],drawMode:drawMode=a94_0x1523fd(0xd3)})=>{const _0x1a1fd2=a94_0x1523fd,_0x10668a=document[_0x1a1fd2(0xc7)](_0x1a1fd2(0xd0));_0x10668a[_0x1a1fd2(0xce)]=width,_0x10668a[_0x1a1fd2(0xca)]=height;const _0x50197f=_0x10668a[_0x1a1fd2(0xcc)]('2d');_0x50197f['font']=_0x168f69+'px\x20Arial',_0x50197f[drawMode+_0x1a1fd2(0xd6)]=_0x5010a7;const _0x87a6f=_0x50197f['measureText'](_0x1689fe)[_0x1a1fd2(0xce)],_0x78d995=_0x87a6f+_0x34c803,_0x1f2d19=_0x168f69+_0x34c803;for(let _0x1b297f=_0x34c803/0x2;_0x1b297f<height;_0x1b297f+=_0x1f2d19){for(let _0x59ed5c=_0x34c803/0x2;_0x59ed5c<width;_0x59ed5c+=_0x78d995){_0x50197f[drawMode+_0x1a1fd2(0xd7)](_0x1689fe,_0x59ed5c,_0x1b297f);}}return _0x10668a;};export default{'createWatermark':createWatermark};function a94_0x30e3(){const _0x537590=['createElement','10ZRAYdm','14983686kdyofR','height','813184LYDgKz','getContext','7469694dkBaOY','width','1148730DxZsRV','canvas','9295090vIvRJk','8vFyTsp','fill','299219LKtTAh','632022EaOMMp','Style','Text','innerWidth'];a94_0x30e3=function(){return _0x537590;};return a94_0x30e3();}
|
package/packages/vite-plugins.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
const a95_0xfd1fb1=a95_0x4c99;(function(_0x893ab8,_0x3740c1){const _0x16c64e=a95_0x4c99,_0x14f5f5=_0x893ab8();while(!![]){try{const _0x541eae=parseInt(_0x16c64e(0x19b))/0x1+-parseInt(_0x16c64e(0x189))/0x2*(parseInt(_0x16c64e(0x17e))/0x3)+parseInt(_0x16c64e(0x169))/0x4*(parseInt(_0x16c64e(0x197))/0x5)+parseInt(_0x16c64e(0x184))/0x6*(parseInt(_0x16c64e(0x160))/0x7)+parseInt(_0x16c64e(0x180))/0x8+parseInt(_0x16c64e(0x16a))/0x9+parseInt(_0x16c64e(0x194))/0xa*(-parseInt(_0x16c64e(0x192))/0xb);if(_0x541eae===_0x3740c1)break;else _0x14f5f5['push'](_0x14f5f5['shift']());}catch(_0x567c2c){_0x14f5f5['push'](_0x14f5f5['shift']());}}}(a95_0x3ffd,0xb5950));import a95_0x539965 from'node:fs';import a95_0x1c8167 from'node:path';function a95_0x4c99(_0x51f124,_0x580b8e){const _0x3ffdc8=a95_0x3ffd();return a95_0x4c99=function(_0x4c997b,_0x35bbc1){_0x4c997b=_0x4c997b-0x160;let _0x1eafc1=_0x3ffdc8[_0x4c997b];return _0x1eafc1;},a95_0x4c99(_0x51f124,_0x580b8e);}const filterPrivateFields=a95_0xfd1fb1(0x17c),inject=(_0x320857,_0x46ff16)=>{const _0x59531e=a95_0xfd1fb1,_0x4663f4=a95_0x1c8167[_0x59531e(0x173)](_0x46ff16),_0x56bde3=a95_0x1c8167[_0x59531e(0x183)](_0x46ff16),_0x5ce4fd=_0x56bde3['split']('.')[0x0],_0x5eb034=a95_0x539965[_0x59531e(0x188)](a95_0x1c8167['join'](_0x4663f4,_0x5ce4fd+_0x59531e(0x16d))),_0x2097c3=a95_0x539965[_0x59531e(0x188)](a95_0x1c8167['join'](_0x4663f4,_0x5ce4fd+_0x59531e(0x163))),_0x3c4eaa=a95_0x539965[_0x59531e(0x188)](a95_0x1c8167['join'](_0x4663f4,_0x59531e(0x18d))),_0x4ca416=a95_0x539965[_0x59531e(0x188)](a95_0x1c8167[_0x59531e(0x174)](_0x4663f4,_0x59531e(0x18c))),_0x569474=_0x3c4eaa&&!_0x320857['includes']('no\x20model')&&!_0x320857[_0x59531e(0x170)](_0x59531e(0x16c))&&!_0x320857[_0x59531e(0x170)](_0x59531e(0x195)),_0x365418=_0x4ca416&&!_0x320857[_0x59531e(0x170)](_0x59531e(0x19d))&&!_0x320857['includes'](_0x59531e(0x17b))&&!_0x320857[_0x59531e(0x170)](_0x59531e(0x193));if(_0x46ff16['includes'](_0x59531e(0x179))&&_0x56bde3[_0x59531e(0x170)](_0x59531e(0x19a))&&_0x320857[_0x59531e(0x164)](_0x59531e(0x19e))){_0x320857=_0x320857[_0x59531e(0x187)](_0x59531e(0x19e),_0x59531e(0x186));const _0x1bf802=_0x320857[_0x59531e(0x165)]('\x0a');_0x5eb034&&_0x1bf802['push'](...[_0x59531e(0x16e),_0x59531e(0x178)+_0x5ce4fd+_0x59531e(0x199),_0x59531e(0x176)]),_0x2097c3&&_0x1bf802[_0x59531e(0x171)](...[_0x59531e(0x18f),_0x59531e(0x178)+_0x5ce4fd+_0x59531e(0x166),_0x59531e(0x176)]),_0x365418&&_0x1bf802['splice'](0x1,0x0,_0x59531e(0x185),_0x59531e(0x175)+(_0x569474?_0x59531e(0x177):'')+'vue\x20})'),_0x569474&&_0x1bf802[_0x59531e(0x17f)](0x1,0x0,_0x59531e(0x161),_0x59531e(0x181)),_0x320857=_0x1bf802[_0x59531e(0x174)]('\x0a');}return _0x320857;},instantiateTables=(_0x1aef3c,_0x15fcfd)=>{const _0x2f02a3=a95_0xfd1fb1,_0x4a7661=a95_0x1c8167[_0x2f02a3(0x183)](_0x15fcfd),_0x1f1621=_0x4a7661['includes'](_0x2f02a3(0x19a)),_0x2c2751=_0x4a7661[_0x2f02a3(0x170)](_0x2f02a3(0x16f));if(_0x15fcfd['includes'](_0x2f02a3(0x179))&&(_0x1f1621||_0x2c2751)){const _0x581baa=_0x1aef3c[_0x2f02a3(0x165)]('\x0a')['map'](_0x3135d9=>_0x3135d9[_0x2f02a3(0x16b)]())[_0x2f02a3(0x18a)](_0x54d95a=>!_0x54d95a[_0x2f02a3(0x164)]('//'))['join']('\x0a');let _0x525e0d=[...new Set([..._0x581baa[_0x2f02a3(0x167)](/[^a-z][A-Z]\w+\.(search|add|update|remove|func|batch|get)/g)][_0x2f02a3(0x18b)](_0x5cda65=>_0x5cda65[0x0][_0x2f02a3(0x18e)](0x1)[_0x2f02a3(0x165)]('.')[0x0]))];_0x525e0d=_0x525e0d['filter'](_0x37ac30=>!['Object'][_0x2f02a3(0x170)](_0x37ac30));if(_0x525e0d[_0x2f02a3(0x198)]){let _0x3c96d3='';_0x525e0d['forEach'](_0x5e4b78=>{const _0x2d9c73=_0x2f02a3;let [_0x594468,_0x59e3ee]=_0x5e4b78['split']('_')[_0x2d9c73(0x18b)](_0x544bbe=>_0x544bbe[_0x2d9c73(0x187)](/[A-Z]/g,_0x3ace4e=>'_'+_0x3ace4e[_0x2d9c73(0x17a)]())[_0x2d9c73(0x18e)](0x1));_0x59e3ee?_0x594468='\x27'+_0x594468+'\x27':(_0x59e3ee=_0x594468,_0x594468=_0x2d9c73(0x162)),_0x3c96d3+='const\x20'+_0x5e4b78+'\x20=\x20new\x20Table('+_0x594468+_0x2d9c73(0x196)+_0x59e3ee+_0x2d9c73(0x17d);}),_0x1f1621?_0x1aef3c=_0x1aef3c[_0x2f02a3(0x187)]('<script\x20setup>',_0x2f02a3(0x186)+_0x3c96d3)['replace'](_0x2f02a3(0x191),'<script>\x0a'+_0x3c96d3):_0x1aef3c=_0x3c96d3+_0x1aef3c;}}return _0x1aef3c;},deconstruct=(_0x2424ff,_0x284b62)=>{const _0x43959b=a95_0xfd1fb1,_0x47a8bc=a95_0x1c8167['basename'](_0x284b62),_0x5c1ce5=_0x47a8bc[_0x43959b(0x170)]('.vue');if(_0x284b62['includes']('/src/')&&_0x5c1ce5){const _0x1036c1=_0x43959b(0x182),_0x1edfe8='return\x20(_ctx,\x20_cache)\x20=>\x20{',_0x5804e3=_0x2424ff[_0x43959b(0x170)](_0x1036c1),_0x376c3a=_0x2424ff[_0x43959b(0x170)](_0x1edfe8),_0x456f75=(_0x5804e3||_0x376c3a)&&_0x2424ff[_0x43959b(0x170)]('import\x20makeModel\x20'),_0x18f507=(_0x5804e3||_0x376c3a)&&_0x2424ff[_0x43959b(0x170)](_0x43959b(0x19c));if(_0x456f75||_0x18f507){let _0x44a078=filterPrivateFields;if(_0x5804e3){if(_0x456f75&&_0x18f507)_0x44a078+='return\x20{\x20...__returned__,\x20...filterPrivateFields(model),\x20...filterPrivateFields(controller)\x20}';else{if(_0x456f75)_0x44a078+='return\x20{\x20...__returned__,\x20...filterPrivateFields(model)\x20}';else _0x18f507&&(_0x44a078+='return\x20{\x20...__returned__,\x20...filterPrivateFields(controller)\x20}');}}else{_0x44a078+=_0x1edfe8+'\x0a';if(_0x456f75&&_0x18f507)_0x44a078+=_0x43959b(0x168);else{if(_0x456f75)_0x44a078+='_ctx\x20=\x20wrapCtx(_ctx,\x20filterPrivateFields(model))';else _0x18f507&&(_0x44a078+=_0x43959b(0x172));}_0x44a078+='\x0a';}_0x2424ff=_0x2424ff[_0x43959b(0x187)](_0x5804e3?_0x1036c1:_0x1edfe8,_0x44a078);}}return _0x2424ff;};export const autoInject=(_0x5da6b4={})=>{return{'name':'auto-inject','transform'(_0x32dab8,_0x3aee93){const _0x43e7b9=a95_0x4c99;return _0x32dab8=inject(_0x32dab8,_0x3aee93),_0x5da6b4[_0x43e7b9(0x190)]!==![]&&(_0x32dab8=instantiateTables(_0x32dab8,_0x3aee93)),{'code':_0x32dab8};}};};function a95_0x3ffd(){const _0x43ff16=['length','-scoped.scss\x22;','.vue','135262tKZqWl','import\x20makeController\x20','no\x20controller','<script\x20setup>','8869tpNBhD','import\x20makeModel\x20from\x20\x27./model.js\x27','DbName','.scss','startsWith','split','.scss\x22;','matchAll','_ctx\x20=\x20wrapCtx(_ctx,\x20filterPrivateFields(model),\x20filterPrivateFields(controller))','37628cVXDSa','9927162vWnaVS','trim','const\x20model','-scoped.scss','<style\x20lang=\x22scss\x22\x20scoped>','.js','includes','push','_ctx\x20=\x20wrapCtx(_ctx,\x20null,\x20filterPrivateFields(controller))','dirname','join','const\x20controller\x20=\x20makeController({\x20','</style>','model,\x20','@use\x20\x22./','/src/','toLowerCase','const\x20controller','\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','\x27)\x0a','1476330GbisHQ','splice','7552208cRBEiU','const\x20model\x20=\x20makeModel()','return\x20__returned__','basename','1680wtWLil','import\x20makeController\x20from\x20\x27./controller.js\x27','<script\x20setup>\x0a','replace','existsSync','2WCHUMK','filter','map','controller.js','model.js','slice','<style\x20lang=\x22scss\x22>','instantiateTables','<script>','11gCypjw','import\x20controller','26275830YXsObM','import\x20model',',\x20\x27','705IQKiwD'];a95_0x3ffd=function(){return _0x43ff16;};return a95_0x3ffd();}export const autoDeconstruct=()=>{return{'name':'auto-deconstruct','transform'(_0x1c4de8,_0x3aee33){return{'code':deconstruct(_0x1c4de8,_0x3aee33)};}};};
|
package/src/main.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a96_0x5dfebe=a96_0x1ec5;(function(_0x5b4cb3,_0x502176){const _0x49bfc1=a96_0x1ec5,_0x40c972=_0x5b4cb3();while(!![]){try{const _0x48c364=-parseInt(_0x49bfc1(0x117))/0x1+-parseInt(_0x49bfc1(0x103))/0x2*(parseInt(_0x49bfc1(0x111))/0x3)+parseInt(_0x49bfc1(0x10a))/0x4*(parseInt(_0x49bfc1(0x10b))/0x5)+parseInt(_0x49bfc1(0x115))/0x6*(-parseInt(_0x49bfc1(0x106))/0x7)+-parseInt(_0x49bfc1(0x107))/0x8*(-parseInt(_0x49bfc1(0x10f))/0x9)+-parseInt(_0x49bfc1(0x113))/0xa*(-parseInt(_0x49bfc1(0x109))/0xb)+parseInt(_0x49bfc1(0x110))/0xc;if(_0x48c364===_0x502176)break;else _0x40c972['push'](_0x40c972['shift']());}catch(_0x406315){_0x40c972['push'](_0x40c972['shift']());}}}(a96_0x25b4,0xb8af0));import{createApp}from'vue';import a96_0x4bb694 from'element-plus';import a96_0x45f61a from'vant';import a96_0x27ec8a from'../packages/index.js';import'../packages/index.scss';function a96_0x25b4(){const _0x5621cd=['2wLfTjh','domid','isMobile','203XoOKnY','8TPLVcG','mount','22qSBPmQ','20xofkQj','399365JQDpmb','directive','use','assign','6373179gThmKB','13863132ooFFvJ','2107212JscGfg','#app','3778780RKyTQM','globalProperties','295194XOosvX','component','132874tAbwaB'];a96_0x25b4=function(){return _0x5621cd;};return a96_0x25b4();}import a96_0x19bb2e,{API_BASE_URL}from'./request.js';import a96_0x1ecece from'@/App.vue';const app=createApp(a96_0x1ecece);app[a96_0x5dfebe(0x10c)](a96_0x5dfebe(0x104),{'created'(_0x17a610,_0xe335ff){}}),app[a96_0x5dfebe(0x10d)](a96_0x4bb694);for(const [key,component]of Object['entries'](ElementPlusIconsVue)){app[a96_0x5dfebe(0x116)](key,component);}function a96_0x1ec5(_0x2e10c7,_0x2c1ea4){const _0x25b4c9=a96_0x25b4();return a96_0x1ec5=function(_0x1ec556,_0x4685b0){_0x1ec556=_0x1ec556-0x103;let _0x27e376=_0x25b4c9[_0x1ec556];return _0x27e376;},a96_0x1ec5(_0x2e10c7,_0x2c1ea4);}app[a96_0x5dfebe(0x10d)](a96_0x45f61a),app[a96_0x5dfebe(0x10d)](a96_0x27ec8a,{'ElementPlus':a96_0x4bb694,'Vant':a96_0x45f61a}),Object[a96_0x5dfebe(0x10e)](app['config'][a96_0x5dfebe(0x114)],{'isMobile':window[a96_0x5dfebe(0x105)],'service':{'request':a96_0x19bb2e,'API_BASE_URL':API_BASE_URL},'$store':{'app':{'sidebarCollapse':![],'toggleDuration':0x0}}}),app[a96_0x5dfebe(0x108)](a96_0x5dfebe(0x112));export default app;
|
package/src/request.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a97_0x4e469f=a97_0x1269;function a97_0x1269(_0x2a368d,_0x3f757b){const _0x2d22a7=a97_0x2d22();return a97_0x1269=function(_0x1269f7,_0x23da4d){_0x1269f7=_0x1269f7-0x11e;let _0x1ea517=_0x2d22a7[_0x1269f7];return _0x1ea517;},a97_0x1269(_0x2a368d,_0x3f757b);}(function(_0xc6b424,_0x1fcf27){const _0x1fd4c7=a97_0x1269,_0x2babb3=_0xc6b424();while(!![]){try{const _0x500294=-parseInt(_0x1fd4c7(0x129))/0x1+parseInt(_0x1fd4c7(0x121))/0x2*(parseInt(_0x1fd4c7(0x133))/0x3)+parseInt(_0x1fd4c7(0x11f))/0x4+-parseInt(_0x1fd4c7(0x136))/0x5+parseInt(_0x1fd4c7(0x124))/0x6*(parseInt(_0x1fd4c7(0x132))/0x7)+-parseInt(_0x1fd4c7(0x11e))/0x8+-parseInt(_0x1fd4c7(0x120))/0x9*(parseInt(_0x1fd4c7(0x135))/0xa);if(_0x500294===_0x1fcf27)break;else _0x2babb3['push'](_0x2babb3['shift']());}catch(_0x8caa98){_0x2babb3['push'](_0x2babb3['shift']());}}}(a97_0x2d22,0xd9489));function a97_0x2d22(){const _0x31f680=['API_BASE_URL','create','2363501Wycqan','1011147NWgAHk','POST','1160EqGgQW','300085mbzsTm','stringify','11533904bOmCiN','5971780WQPfva','71127QVybvv','2DefzwP','string','GET','30qRUSgq','env','http','includes','application/json','209713zqfIwm','body','request','interceptors','use','error','toUpperCase'];a97_0x2d22=function(){return _0x31f680;};return a97_0x2d22();}const {PROD,VITE_DEV_BASE_URL,VITE_PROD_BASE_URL,VITE_TIMEOUT=0xea60}=import.meta[a97_0x4e469f(0x125)],API_BASE_URL=window[a97_0x4e469f(0x130)]||(PROD?VITE_PROD_BASE_URL:VITE_DEV_BASE_URL),createRequest=_0x4c9abf=>{const _0x3d3a85=a97_0x4e469f,_0x36fccb=axios[_0x3d3a85(0x131)]({'baseURL':API_BASE_URL,'timeout':VITE_TIMEOUT*0x1,..._0x4c9abf});return _0x36fccb[_0x3d3a85(0x12c)][_0x3d3a85(0x12b)][_0x3d3a85(0x12d)](_0x569257=>{return _0x569257;},_0x3beec9=>{const _0x222152=_0x3d3a85;console[_0x222152(0x12e)](_0x3beec9);}),_0x36fccb[_0x3d3a85(0x12c)]['response'][_0x3d3a85(0x12d)](_0x367e26=>{return _0x367e26;},_0x5ac9b4=>{const _0x232ae9=_0x3d3a85;console[_0x232ae9(0x12e)](_0x5ac9b4);}),_0x36fccb;},fetchRequest=(_0x4f896c,_0x33865a={})=>{const _0x48f946=a97_0x4e469f;_0x4f896c=_0x4f896c['startsWith'](_0x48f946(0x126))?_0x4f896c:API_BASE_URL+_0x4f896c;const {method:method=_0x48f946(0x123),headers:_0x2002ad,body:_0x4c6cca,..._0x111631}=_0x33865a,_0x314147={'method':method,..._0x111631,'headers':{'content-type':_0x48f946(0x128),..._0x2002ad}};return['PUT',_0x48f946(0x134)][_0x48f946(0x127)](method[_0x48f946(0x12f)]())&&(_0x314147[_0x48f946(0x12a)]=typeof _0x4c6cca===_0x48f946(0x122)?_0x4c6cca:JSON[_0x48f946(0x137)](_0x4c6cca)),fetch(_0x4f896c,_0x314147);};export default createRequest();export{API_BASE_URL,createRequest,fetchRequest};
|
package/vite.config.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a98_0x4e758c=a98_0x216a;function a98_0x4f46(){const _0x43884f=['cwd','7993888YbephC','512310iYePNh','360127VlNSgN','5815540htgvoX','join','node_modules/','125945oyUrbD','2023-11','235644YliSLB','10qQFzyw','decorators','8ScbNOa','toString','defaults','regenerator-runtime/runtime','@babel/plugin-proposal-decorators','246XPWzmY','dist','src','node_modules','3745593wEtzMc','includes','vue/dist/vue.esm-bundler.js','split'];a98_0x4f46=function(){return _0x43884f;};return a98_0x4f46();}(function(_0x39823f,_0x5c941d){const _0x1701d3=a98_0x216a,_0x4fa916=_0x39823f();while(!![]){try{const _0x10ca70=parseInt(_0x1701d3(0xc9))/0x1+-parseInt(_0x1701d3(0xd0))/0x2*(parseInt(_0x1701d3(0xc8))/0x3)+parseInt(_0x1701d3(0xcf))/0x4+-parseInt(_0x1701d3(0xcd))/0x5*(parseInt(_0x1701d3(0xd7))/0x6)+parseInt(_0x1701d3(0xe0))/0x7+-parseInt(_0x1701d3(0xd2))/0x8*(-parseInt(_0x1701d3(0xdb))/0x9)+parseInt(_0x1701d3(0xca))/0xa;if(_0x10ca70===_0x5c941d)break;else _0x4fa916['push'](_0x4fa916['shift']());}catch(_0x16fb10){_0x4fa916['push'](_0x4fa916['shift']());}}}(a98_0x4f46,0xa419a));import a98_0x520941 from'path';import{defineConfig}from'vite';import a98_0x50bb80 from'@vitejs/plugin-vue';import a98_0x195954 from'@vitejs/plugin-legacy';import a98_0x54afbd from'@vitejs/plugin-vue-jsx';import a98_0x1d80d0 from'@rollup/plugin-commonjs';import a98_0x532254 from'rollup-plugin-external-globals';import{babel}from'@rollup/plugin-babel';function a98_0x216a(_0x1abb51,_0xd35459){const _0x4f469c=a98_0x4f46();return a98_0x216a=function(_0x216ab5,_0x4295d5){_0x216ab5=_0x216ab5-0xc8;let _0x30941f=_0x4f469c[_0x216ab5];return _0x30941f;},a98_0x216a(_0x1abb51,_0xd35459);}import{createStyleImportPlugin,VantResolve}from'vite-plugin-style-import';const resolve=_0x30303e=>a98_0x520941[a98_0x4e758c(0xcb)](process[a98_0x4e758c(0xdf)](),_0x30303e);export default defineConfig(({command:_0x2b9dcb,mode:_0xedd7a})=>{const _0x2762ab=a98_0x4e758c,_0x2bb625={'plugins':[a98_0x50bb80({'template':{'compilerOptions':{'expressionPlugins':[['decorators',{'version':'2023-11'}]]}},'script':{'babelParserPlugins':[[_0x2762ab(0xd1),{'version':_0x2762ab(0xce)}],'decorators']}}),a98_0x54afbd(),babel({'compact':![],'plugins':[[_0x2762ab(0xd6),{'version':'2023-11'}]]}),createStyleImportPlugin({'resolves':[VantResolve()]}),a98_0x195954({'targets':[_0x2762ab(0xd4)],'additionalLegacyPolyfills':[_0x2762ab(0xd5)]})],'runtimeCompiler':!![],'build':{'outDir':_0x2762ab(0xd8),'rollupOptions':{'external':['vue'],'plugins':[a98_0x1d80d0(),a98_0x532254({'vue':'Vue'})],'output':{'manualChunks'(_0x432c90){const _0x21c871=_0x2762ab;if(_0x432c90[_0x21c871(0xdc)](_0x21c871(0xda)))return _0x432c90[_0x21c871(0xd3)]()[_0x21c871(0xde)](_0x21c871(0xcc))[0x1]['split']('/')[0x0][_0x21c871(0xd3)]();}}}},'resolve':{'alias':{'@':resolve(_0x2762ab(0xd9)),'vue':_0x2762ab(0xdd)}}};return _0x2bb625;});
|
package/vite.lib.config.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a99_0x59010d=a99_0x5bb8;(function(_0x1ccc1f,_0x53107d){const _0x1345ea=a99_0x5bb8,_0x468f39=_0x1ccc1f();while(!![]){try{const _0x2c5930=parseInt(_0x1345ea(0x9b))/0x1+-parseInt(_0x1345ea(0x9f))/0x2+parseInt(_0x1345ea(0x9a))/0x3+parseInt(_0x1345ea(0xa1))/0x4+parseInt(_0x1345ea(0x99))/0x5+parseInt(_0x1345ea(0xa0))/0x6+parseInt(_0x1345ea(0x9e))/0x7*(-parseInt(_0x1345ea(0xa2))/0x8);if(_0x2c5930===_0x53107d)break;else _0x468f39['push'](_0x468f39['shift']());}catch(_0x187dbb){_0x468f39['push'](_0x468f39['shift']());}}}(a99_0x4a14,0x1e459));import a99_0x15eaf5 from'path';import{defineConfig}from'vite';import a99_0x53ef86 from'@vitejs/plugin-vue';import a99_0x2cc434 from'@vitejs/plugin-vue-jsx';import a99_0x5a4ed1 from'@rollup/plugin-commonjs';import a99_0x2a5347 from'rollup-plugin-external-globals';import{createStyleImportPlugin,VantResolve}from'vite-plugin-style-import';const resolve=_0x1e47ae=>a99_0x15eaf5[a99_0x59010d(0x95)](process['cwd'](),_0x1e47ae);function a99_0x5bb8(_0x11792a,_0x395a64){const _0x4a148c=a99_0x4a14();return a99_0x5bb8=function(_0x5bb8f1,_0x54dcae){_0x5bb8f1=_0x5bb8f1-0x94;let _0x5109bc=_0x4a148c[_0x5bb8f1];return _0x5109bc;},a99_0x5bb8(_0x11792a,_0x395a64);}function a99_0x4a14(){const _0x53be51=['node_modules/','toString','node_modules','join','split','includes','vue','370985pTjJhI','211119voCWQI','220576thJVnA','Vue','src','7oULuVz','17850hzCvuD','764514EstLoS','841068zJfKPr','4559312zvPRQK','StardustUI'];a99_0x4a14=function(){return _0x53be51;};return a99_0x4a14();}export default defineConfig(({command:_0x277244,mode:_0x39124e})=>{const _0x1d88c7=a99_0x59010d,_0x88f9f7={'plugins':[a99_0x53ef86(),a99_0x2cc434(),createStyleImportPlugin({'resolves':[VantResolve()]})],'runtimeCompiler':!![],'build':{'outDir':'./','lib':{'entry':'./packages/index.js','name':_0x1d88c7(0xa3),'fileName':'index','formats':['es']},'rollupOptions':{'external':[_0x1d88c7(0x98)],'plugins':[a99_0x5a4ed1()],'output':{'globals':{'vue':_0x1d88c7(0x9c)},'manualChunks'(_0x5475c8){const _0x38472e=_0x1d88c7;if(_0x5475c8[_0x38472e(0x97)](_0x38472e(0x94)))return _0x5475c8[_0x38472e(0xa5)]()[_0x38472e(0x96)](_0x38472e(0xa4))[0x1][_0x38472e(0x96)]('/')[0x0][_0x38472e(0xa5)]();}}}},'resolve':{'alias':{'@':resolve(_0x1d88c7(0x9d)),'vue':'vue/dist/vue.esm-bundler.js'}}};return _0x88f9f7;});
|