@wp1001/ui 3.1.5 → 3.1.6
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/xtablev2/utils.jsx +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(_0xf8ab34,_0x211946){const _0x5a2cc6=a76_0x76a5,_0x3c2fcf=_0xf8ab34();while(!![]){try{const _0x2beea9=-parseInt(_0x5a2cc6(0x93))/0x1+-parseInt(_0x5a2cc6(0x99))/0x2+parseInt(_0x5a2cc6(0x8d))/0x3*(-parseInt(_0x5a2cc6(0x95))/0x4)+-parseInt(_0x5a2cc6(0x9a))/0x5+-parseInt(_0x5a2cc6(0x8b))/0x6*(-parseInt(_0x5a2cc6(0x8f))/0x7)+-parseInt(_0x5a2cc6(0x89))/0x8*(-parseInt(_0x5a2cc6(0x91))/0x9)+-parseInt(_0x5a2cc6(0x8a))/0xa*(-parseInt(_0x5a2cc6(0x94))/0xb);if(_0x2beea9===_0x211946)break;else _0x3c2fcf['push'](_0x3c2fcf['shift']());}catch(_0x2f017f){_0x3c2fcf['push'](_0x3c2fcf['shift']());}}}(a76_0x216d,0xcff0c));import a76_0x5ad484 from'../utils/plop-utils.js';import a76_0x2c20a2 from'./make-page-generator.js';function a76_0x76a5(_0x3454ce,_0x5ae16e){const _0x216d33=a76_0x216d();return a76_0x76a5=function(_0x76a57a,_0x4988ab){_0x76a57a=_0x76a57a-0x87;let _0x3a91bf=_0x216d33[_0x76a57a];return _0x3a91bf;},a76_0x76a5(_0x3454ce,_0x5ae16e);}import a76_0x5c2b1f from'../actions/make-fill-admin-partials-action.js';const {makeInputPrompt,makeConfirmPrompt}=a76_0x5ad484,makeGenerator=_0x32b155=>{const _0x36878b=a76_0x76a5,_0x84720d='admin_page',_0x42718c=a76_0x2c20a2(_0x32b155,_0x84720d);return _0x32b155[_0x36878b(0x98)]('fieldsPartial',_0x36878b(0x92)),{'name':_0x36878b(0x88),'description':_0x36878b(0x8e),'prompts':[..._0x42718c['prompts'],makeConfirmPrompt(_0x36878b(0x87),_0x36878b(0x8c)),{...makeInputPrompt('database',_0x36878b(0x96)),'when':_0x14b32f=>_0x14b32f['autoGenerateColumns']},{...makeInputPrompt(_0x36878b(0x97),_0x36878b(0x90)),'when':_0x188523=>_0x188523[_0x36878b(0x87)]}],'actions':[a76_0x5c2b1f(_0x32b155),..._0x42718c[_0x36878b(0x9b)]]};};export default makeGenerator;function a76_0x216d(){const _0x595fe6=['194392wvIaEP','154064DLqLfl','数据库名称','table','setPartial','3295086bGZZoe','4308445ncViYZ','actions','autoGenerateColumns','make-admin-page','12840584JCridl','1130PGumKq','516ZoiNQg','是否需要自动生成\x20table.columns\x20(表格的数据列)?','12npRvvW','创建新的后台管理页面','21322FaHpeP','数据表名称','9ezPAoH','[\x0a]','348945oAxwIw'];a76_0x216d=function(){return _0x595fe6;};return a76_0x216d();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x3161e2,_0x19f622){const _0x38363f=a77_0x43fb,_0x1f76d0=_0x3161e2();while(!![]){try{const _0x1f6437=parseInt(_0x38363f(0xa7))/0x1+-parseInt(_0x38363f(0x89))/0x2*(-parseInt(_0x38363f(0x86))/0x3)+-parseInt(_0x38363f(0x8c))/0x4+-parseInt(_0x38363f(0x79))/0x5*(-parseInt(_0x38363f(0x85))/0x6)+-parseInt(_0x38363f(0xa4))/0x7*(parseInt(_0x38363f(0x78))/0x8)+-parseInt(_0x38363f(0x83))/0x9+-parseInt(_0x38363f(0x93))/0xa;if(_0x1f6437===_0x19f622)break;else _0x1f76d0['push'](_0x1f76d0['shift']());}catch(_0x4012f2){_0x1f76d0['push'](_0x1f76d0['shift']());}}}(a77_0x2b5f,0x6cc97));function a77_0x43fb(_0x4b0077,_0x46f47c){const _0x2b5f36=a77_0x2b5f();return a77_0x43fb=function(_0x43fb51,_0x48c2c4){_0x43fb51=_0x43fb51-0x78;let _0x26c190=_0x2b5f36[_0x43fb51];return _0x26c190;},a77_0x43fb(_0x4b0077,_0x46f47c);}import a77_0x5bc4c1 from'node:path';import a77_0x1b57de from'chalk';import a77_0x90b93a from'clipboardy';import{fsUtils}from'@wp1001/node';import a77_0x26b5c3 from'../utils/plop-utils.js';const {makeInputPrompt,getGenerator}=a77_0x26b5c3,makeGenerator=_0x4edef1=>{const _0xd8e18a=a77_0x43fb,_0x20f3eb=getGenerator(_0x4edef1,_0xd8e18a(0x92),{'force':![]}),_0x18fd6b=_0x4edef1[_0xd8e18a(0x8b)](_0xd8e18a(0x9f)),_0xd2014a=_0x4edef1['getHelper'](_0xd8e18a(0x90)),_0x7eebdd={'name':_0xd8e18a(0xa5),'description':'根据\x20backender\x20中已存在的数据库模型目录为其中所有模型创建后台管理页面','prompts':[makeInputPrompt(_0xd8e18a(0xa6),'数据库名称'),makeInputPrompt(_0xd8e18a(0x7d),_0xd8e18a(0xaa))],'actions':[async({database:_0x4be6bb,dir:_0x6098e4})=>{const _0x2a535f=_0xd8e18a,_0x15aafb=a77_0x5bc4c1['join'](_0x4edef1[_0x2a535f(0x8f)],_0x2a535f(0x7c)+_0x4be6bb);let _0xd5f426=await fsUtils[_0x2a535f(0xa9)](_0x15aafb);_0xd5f426=_0xd5f426[_0x2a535f(0xaf)](_0x7dd916=>_0x7dd916[_0x2a535f(0xa8)](_0x2a535f(0x7e))&&!_0x7dd916['includes'](_0x2a535f(0x9b))&&_0x7dd916[_0x2a535f(0x96)]('/')[_0x2a535f(0x88)]()!=='index.js');const _0x138243=_0xd5f426['map'](_0x4ffa38=>_0x4ffa38[_0x2a535f(0x94)](0x0,-0x3)),_0x4aca1e=[];for(let _0x5269f0=0x0,_0x5b0bf7=_0x138243['length'];_0x5269f0<_0x5b0bf7;_0x5269f0++){const _0x3625db=_0x138243[_0x5269f0],_0x844430=await _0x20f3eb['runActions']({'dir':_0x6098e4,'pagename':_0x3625db,'database':_0x4be6bb,'table':_0xd2014a(_0x3625db)});!_0x844430[_0x2a535f(0x7f)][0x2]?console['log'](a77_0x1b57de[_0x2a535f(0x81)]('数据表\x20'+_0x4be6bb+'.'+_0x3625db+_0x2a535f(0x9a)),_0x844430[_0x2a535f(0x7f)]):_0x4aca1e[_0x2a535f(0x99)](_0x844430),console[_0x2a535f(0x91)](a77_0x1b57de['cyan'](_0x2a535f(0xab)+(_0x5269f0+0x1)+_0x2a535f(0x9e)+_0x5b0bf7+'\x20'+((_0x5269f0+0x1)/_0x5b0bf7*0x64)[_0x2a535f(0x97)](0x2)+'%'));}console[_0x2a535f(0x91)](a77_0x1b57de[_0x2a535f(0xae)](_0x2a535f(0xa1))),console[_0x2a535f(0x91)](a77_0x1b57de[_0x2a535f(0xae)](_0x2a535f(0xa1)));const _0x1a9ff3=_0x4aca1e[_0x2a535f(0x7b)](_0x52e705=>_0x52e705['changes'][0x2][_0x2a535f(0xa2)]),_0x3f6e1e=_0x1a9ff3[_0x2a535f(0x7b)](_0x33ba13=>{const _0x98303f=_0x2a535f;return _0x33ba13[_0x98303f(0x96)]('\x0a')[_0x98303f(0x7b)](_0x5d3166=>'\x20\x20'+_0x5d3166)[_0x98303f(0x80)]('\x0a')['trimEnd']();})[_0x2a535f(0x80)]('')[_0x2a535f(0xac)](),_0x584ecf=(_0x2a535f(0x84)+_0x6098e4+_0x2a535f(0x8e)+_0x18fd6b(_0x6098e4)+_0x2a535f(0x95)+_0x6098e4+'/'+_0xd2014a(_0x138243[0x0])+_0x2a535f(0xad)+_0x18fd6b(_0x6098e4)+_0x2a535f(0x9c))[_0x2a535f(0x96)]('\x0a')[_0x2a535f(0x7b)](_0x5782cf=>_0x5782cf[_0x2a535f(0x94)](0xa))[_0x2a535f(0x80)]('\x0a'),_0x12019c=_0x6098e4['split']('/')[_0x2a535f(0x8a)],_0x2f8f3e=_0x584ecf[_0x2a535f(0x87)](_0x2a535f(0xa0),_0x3f6e1e)[_0x2a535f(0x96)]('\x0a')['map'](_0x5b53df=>{const _0x1ca860=_0x2a535f;return'\x20\x20'[_0x1ca860(0x9d)](_0x12019c)+_0x5b53df;})[_0x2a535f(0x80)]('\x0a')[_0x2a535f(0xa3)]();a77_0x90b93a['writeSync'](_0x2f8f3e),console[_0x2a535f(0x91)](_0x2f8f3e),console[_0x2a535f(0x91)](a77_0x1b57de[_0x2a535f(0x82)][_0x2a535f(0x98)](_0x2a535f(0x7a))),console[_0x2a535f(0x91)](a77_0x1b57de[_0x2a535f(0xae)]('$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$')),console[_0x2a535f(0x91)](a77_0x1b57de[_0x2a535f(0xae)](_0x2a535f(0x8d)));}]};return _0x7eebdd;};export default makeGenerator;function a77_0x2b5f(){const _0x12ef39=['split','toFixed','bgYellow','push','\x20构建页面失败','init-models.js','\x27,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20icon:\x20\x27menu\x27\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20},\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20children:\x20[\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#code#\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20]\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20},\x0a\x20\x20\x20\x20\x20\x20\x20\x20','repeat','\x20/\x20','pascalCase','#code#','^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^','path','trim','1253lOEShR','make-database-admin-pages','database','363713tYqiWQ','includes','listDir','目的文件夹路径','Finished\x20','trimStart','\x27,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20component:\x20Layout,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20meta:\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20title:\x20\x27','bgCyan','filter','9544igmpsW','5hKzKKW','上面有一个参考的\x20route\x20代码,\x20(已复制到剪贴板)','map','/models/','dir','.js','changes','join','red','black','5293827iOqvOP','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20path:\x20\x27/','2906802WmUTIp','2431092wfXKVs','replace','pop','2AzBaLz','length','getHelper','1573572sQsIOu','$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$','\x27,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20name:\x20\x27','backenderPath','snakeCase','log','make-admin-page','178100ASBORX','slice','\x27,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20redirect:\x20\x27/'];a77_0x2b5f=function(){return _0x12ef39;};return a77_0x2b5f();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a78_0x39ac(_0x46a884,_0x54a086){const _0x4e8b1c=a78_0x4e8b();return a78_0x39ac=function(_0x39ace1,_0x397cb3){_0x39ace1=_0x39ace1-0x8d;let _0x1f492d=_0x4e8b1c[_0x39ace1];return _0x1f492d;},a78_0x39ac(_0x46a884,_0x54a086);}const a78_0x273dea=a78_0x39ac;(function(_0x34159f,_0x1f8ad2){const _0x3bf448=a78_0x39ac,_0x4dadbc=_0x34159f();while(!![]){try{const _0x55ded3=parseInt(_0x3bf448(0x8f))/0x1*(parseInt(_0x3bf448(0x99))/0x2)+-parseInt(_0x3bf448(0xa9))/0x3+-parseInt(_0x3bf448(0x98))/0x4*(-parseInt(_0x3bf448(0x8e))/0x5)+-parseInt(_0x3bf448(0xa0))/0x6*(parseInt(_0x3bf448(0xab))/0x7)+-parseInt(_0x3bf448(0x97))/0x8*(-parseInt(_0x3bf448(0xac))/0x9)+-parseInt(_0x3bf448(0xa5))/0xa+-parseInt(_0x3bf448(0xaa))/0xb*(-parseInt(_0x3bf448(0xa8))/0xc);if(_0x55ded3===_0x1f8ad2)break;else _0x4dadbc['push'](_0x4dadbc['shift']());}catch(_0x52d816){_0x4dadbc['push'](_0x4dadbc['shift']());}}}(a78_0x4e8b,0xb1949));import a78_0x209ebb from'node:path';import a78_0x35db05 from'chalk';function a78_0x4e8b(){const _0x5a42f3=['目的文件夹路径','log','addMany','\x27\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20},\x0a\x20\x20\x20\x20\x20\x20\x20\x20','getHelper','625000pPkOKU','2836UePRYX','12HVNYuq','/*.*','\x27,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20name:\x20\x27','dir','node_modules/@wp1001/ui/packages/plop/templates/','properCase','.vue\x27),\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20meta:\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20title:\x20\x27','7255746Skueyq','split','src/views/{{dir}}/{{snakeCase\x20pagename}}','writeSync','snakeCase','11114130qBnFoP','slice','这里有一个参考的\x20route\x20代码,\x20(已复制到剪贴板)','23254488ytZchu','2281068xpfKFe','11zCVrKN','7kBzmHX','54Apskes','black','3455hqefer','151981egSLLZ','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20path:\x20\x27','join'];a78_0x4e8b=function(){return _0x5a42f3;};return a78_0x4e8b();}import a78_0x5069a3 from'clipboardy';import a78_0x2df180 from'../utils/plop-utils.js';const dirname=import.meta['dirname'][a78_0x273dea(0xa1)]('node_modules')[0x0],{makeInputPrompt}=a78_0x2df180,makePageGenerator=(_0x493711,_0x5b4a56)=>{const _0x2e9712=a78_0x273dea,_0x1fc5e7=_0x493711[_0x2e9712(0x96)](_0x2e9712(0x9e)),_0x1e5c3e=_0x493711['getHelper'](_0x2e9712(0xa4));return{'prompts':[makeInputPrompt(_0x2e9712(0x9c),_0x2e9712(0x92)),makeInputPrompt('pagename','目的页面名称')],'actions':[{'type':_0x2e9712(0x94),'destination':a78_0x209ebb['join'](dirname,_0x2e9712(0xa2)),'base':a78_0x209ebb[_0x2e9712(0x91)](dirname,_0x2e9712(0x9d)+_0x5b4a56),'templateFiles':a78_0x209ebb['join'](dirname,_0x2e9712(0x9d)+_0x5b4a56+_0x2e9712(0x9a))},function(_0x52b55f){const _0x4c9d7b=_0x2e9712;let {dir:_0x2511c1,pagename:_0x517125}=_0x52b55f;const _0xa040=_0x1fc5e7(_0x517125),_0x50aea8=(_0x2511c1?_0x1fc5e7(_0x2511c1):'')+_0xa040;_0x517125=_0x1e5c3e(_0x517125);const _0x2c1827=(_0x4c9d7b(0x90)+_0x517125+_0x4c9d7b(0x9b)+_0x50aea8+'\x27,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20component:\x20()\x20=>\x20import(\x27@/views/'+(_0x2511c1?_0x2511c1+'/':'')+_0x517125+'/'+_0x517125+_0x4c9d7b(0x9f)+_0xa040+_0x4c9d7b(0x95))[_0x4c9d7b(0xa1)]('\x0a')['map'](_0x532468=>_0x532468[_0x4c9d7b(0xa6)](0x8))[_0x4c9d7b(0x91)]('\x0a');return a78_0x5069a3[_0x4c9d7b(0xa3)](_0x2c1827),console[_0x4c9d7b(0x93)](a78_0x35db05[_0x4c9d7b(0x8d)]['bgYellow'](_0x4c9d7b(0xa7))),_0x2c1827;}]};};export default makePageGenerator;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x23ec10,_0x2b6099){const _0x47b4b4=a79_0x23e4,_0x3ffc79=_0x23ec10();while(!![]){try{const _0x5ae107=-parseInt(_0x47b4b4(0x13c))/0x1*(parseInt(_0x47b4b4(0x134))/0x2)+parseInt(_0x47b4b4(0x13b))/0x3+-parseInt(_0x47b4b4(0x13d))/0x4*(-parseInt(_0x47b4b4(0x13e))/0x5)+-parseInt(_0x47b4b4(0x13a))/0x6+-parseInt(_0x47b4b4(0x138))/0x7*(-parseInt(_0x47b4b4(0x139))/0x8)+parseInt(_0x47b4b4(0x131))/0x9*(-parseInt(_0x47b4b4(0x135))/0xa)+parseInt(_0x47b4b4(0x130))/0xb*(parseInt(_0x47b4b4(0x136))/0xc);if(_0x5ae107===_0x2b6099)break;else _0x3ffc79['push'](_0x3ffc79['shift']());}catch(_0x365fc4){_0x3ffc79['push'](_0x3ffc79['shift']());}}}(a79_0x4276,0xb3805));import a79_0x5f4daa from'./make-page-generator.js';function a79_0x4276(){const _0x198dee=['673443iljGWW','simple_page','prompts','2hBlXne','40IDyJWf','108GNSfjO','actions','8988455VuZyaE','8qvTBCv','6256236WPeqAj','1481649xUdBfx','474607FtZQjK','4XBbwwV','1210005WtZeDa','创建新的页面','650111EeChpf'];a79_0x4276=function(){return _0x198dee;};return a79_0x4276();}const makeGenerator=_0xf384aa=>{const _0x1e76b4=a79_0x23e4,_0x16c750=_0x1e76b4(0x132),_0x2d74b4=a79_0x5f4daa(_0xf384aa,_0x16c750);return{'name':'make-simple-page','description':_0x1e76b4(0x13f),'prompts':[..._0x2d74b4[_0x1e76b4(0x133)]],'actions':[..._0x2d74b4[_0x1e76b4(0x137)]]};};function a79_0x23e4(_0x1705c2,_0x40c1de){const _0x4276f7=a79_0x4276();return a79_0x23e4=function(_0x23e432,_0x37b072){_0x23e432=_0x23e432-0x130;let _0x2f1bea=_0x4276f7[_0x23e432];return _0x2f1bea;},a79_0x23e4(_0x1705c2,_0x40c1de);}export default makeGenerator;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0xb99cd3,_0xd1ebf9){const _0x48f2aa=a80_0x78da,_0x3eddce=_0xb99cd3();while(!![]){try{const _0x134a4c=-parseInt(_0x48f2aa(0xe6))/0x1*(parseInt(_0x48f2aa(0xec))/0x2)+parseInt(_0x48f2aa(0xe3))/0x3+parseInt(_0x48f2aa(0xe9))/0x4*(-parseInt(_0x48f2aa(0xe1))/0x5)+-parseInt(_0x48f2aa(0xdf))/0x6*(parseInt(_0x48f2aa(0xe5))/0x7)+-parseInt(_0x48f2aa(0xf0))/0x8+parseInt(_0x48f2aa(0xed))/0x9*(-parseInt(_0x48f2aa(0xeb))/0xa)+-parseInt(_0x48f2aa(0xdd))/0xb*(-parseInt(_0x48f2aa(0xea))/0xc);if(_0x134a4c===_0xd1ebf9)break;else _0x3eddce['push'](_0x3eddce['shift']());}catch(_0xa4b477){_0x3eddce['push'](_0x3eddce['shift']());}}}(a80_0x2fbb,0x1f3a3));import a80_0x281ec1 from'node:path';function a80_0x2fbb(){const _0x49bf51=['2yfwrSd','54pjQZPH','forEach','setWelcomeMessage','1131000DxxXwi','11LTixMp','setGenerator','90DAaYPM','keys','25plreAQ','absPath','335358qPFanK','../backender','36001rACMeW','118224WTDLdv','backenderPath','bgGreen','138956bjPAon','8634888FkuUKP','321690XMbseh'];a80_0x2fbb=function(){return _0x49bf51;};return a80_0x2fbb();}import a80_0x5b115b from'chalk';import a80_0x39f6e3 from'./utils/plop-utils.js';function a80_0x78da(_0xd7c320,_0x5ea0f7){const _0x2fbbcd=a80_0x2fbb();return a80_0x78da=function(_0x78daf6,_0x1b1d2f){_0x78daf6=_0x78daf6-0xdd;let _0x2132c3=_0x2fbbcd[_0x78daf6];return _0x2132c3;},a80_0x78da(_0xd7c320,_0x5ea0f7);}import a80_0x3311c8 from'./generators/make-admin-page.js';import a80_0x585224 from'./generators/make-database-admin-pages.js';import a80_0x547159 from'./generators/make-simple-page.js';const generators={'makeAdminPage':a80_0x3311c8,'makeDatabaseAdminPages':a80_0x585224,'makeSimplePage':a80_0x547159};export default function (plop){const _0x570e1f=a80_0x78da,hello='欢迎使用\x20stardust-frontender\x20代码生成工具,请从以下生成器中选择一个\x20:\x20';plop[_0x570e1f(0xef)](a80_0x5b115b[_0x570e1f(0xe8)]['white'](hello)),plop[_0x570e1f(0xe7)]=a80_0x39f6e3[_0x570e1f(0xe2)](plop,_0x570e1f(0xe4)),Object[_0x570e1f(0xe0)](generators)[_0x570e1f(0xee)](name=>{const _0x2d819b=_0x570e1f,generator=generators[name](plop);plop[_0x2d819b(0xde)](generator['name'],generator);});}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a81_0x2b757a=a81_0x3c01;(function(_0x21405b,_0x3fd009){const _0x4a5487=a81_0x3c01,_0x33ee48=_0x21405b();while(!![]){try{const _0x5bbf91=parseInt(_0x4a5487(0x1d3))/0x1+-parseInt(_0x4a5487(0x1fd))/0x2*(parseInt(_0x4a5487(0x1e7))/0x3)+-parseInt(_0x4a5487(0x1d8))/0x4+-parseInt(_0x4a5487(0x1fc))/0x5*(-parseInt(_0x4a5487(0x1c7))/0x6)+-parseInt(_0x4a5487(0x200))/0x7+parseInt(_0x4a5487(0x1db))/0x8*(parseInt(_0x4a5487(0x1cd))/0x9)+-parseInt(_0x4a5487(0x1e8))/0xa;if(_0x5bbf91===_0x3fd009)break;else _0x33ee48['push'](_0x33ee48['shift']());}catch(_0x3d0cec){_0x33ee48['push'](_0x33ee48['shift']());}}}(a81_0x2099,0x45616));function a81_0x3c01(_0x1e275d,_0x267893){const _0x209962=a81_0x2099();return a81_0x3c01=function(_0x3c0191,_0x15f367){_0x3c0191=_0x3c0191-0x1c7;let _0x540e8f=_0x209962[_0x3c0191];return _0x540e8f;},a81_0x3c01(_0x1e275d,_0x267893);}import a81_0x198ec0 from'node:path';import a81_0x5bc408 from'chalk';function a81_0x2099(){const _0x3eaf72=['models','includes','options','foreignKey','toLowerCase','init-models.js','visible','key','formAttrs','prefixIcon','STRING','canView','BOOLEAN','comp','created_at','assign','creator_id','1685FyxcwO','2634XUiHHY','type','updated_at','1143086MDxaWx','.stardust/db.js','precision','9606tIMwGB','database','updater_id','associations','number','entries','2107026KFImdb','TEXT','map','sequelize','INTEGER','values','536619nYQwZG','tableAttributes','replaceAll','then','tableName','1195432uAFXWW','primaryKeyField','join','8WVhowA','DATE','$$\x20store.dictionaries.yesNo\x20$$','x-select','find','table','\x20not\x20found','exists','_length','maxlength','comment','backenderPath','1107khePhC','779590CkILiV','name','default'];a81_0x2099=function(){return _0x3eaf72;};return a81_0x2099();}import{fsUtils}from'@wp1001/node';const importFile=async _0x4de79c=>{return new Promise(_0x3c9e90=>{const _0x5b1a29=a81_0x3c01;import(_0x4de79c)[_0x5b1a29(0x1d6)](_0x3c9e90);});},viewOnlyFields=[a81_0x2b757a(0x1fb),a81_0x2b757a(0x1c9),a81_0x2b757a(0x1f9),a81_0x2b757a(0x1ff),'deleted_at'],operatorFields=[a81_0x2b757a(0x1fb),a81_0x2b757a(0x1c9)],getModel=async(_0x59a5c7,_0x5c08e9)=>{const _0x526da4=a81_0x2b757a,_0x490a0e=a81_0x198ec0[_0x526da4(0x1da)](_0x59a5c7[_0x526da4(0x1e6)],_0x526da4(0x1eb),_0x5c08e9[_0x526da4(0x1c8)],_0x526da4(0x1f0));if(!await fsUtils[_0x526da4(0x1e2)](_0x490a0e)){const _0x1adebf=a81_0x5bc408['red'](_0x490a0e+_0x526da4(0x1e1));throw _0x1adebf;}const _0xfaaa38=a81_0x198ec0[_0x526da4(0x1da)](_0x59a5c7['backenderPath'],'config.js'),_0x4d6eee=a81_0x198ec0[_0x526da4(0x1da)](_0x59a5c7[_0x526da4(0x1e6)],_0x526da4(0x201)),_0x1febdc=(await importFile(_0xfaaa38))[_0x526da4(0x1ea)],_0x13c97e=(await importFile(_0x490a0e))[_0x526da4(0x1ea)],_0xe86b94=_0x1febdc['datasources'][_0x526da4(0x1df)](_0x168b51=>_0x168b51['database']===_0x5c08e9[_0x526da4(0x1c8)]),{connect:_0x3e75e0}=await importFile(_0x4d6eee),_0x5e8d3f=_0x3e75e0(_0x1febdc,_0xe86b94),_0x345f8d=Object[_0x526da4(0x1d2)](_0x13c97e(_0x5e8d3f,![])),_0x5ec278=_0x345f8d[_0x526da4(0x1df)](_0x5efaf0=>_0x5efaf0['tableName'][_0x526da4(0x1ef)]()===_0x5c08e9[_0x526da4(0x1e0)]);return _0x5ec278;},getSequeliezeDataType=_0x102332=>{const _0x60b25d=a81_0x2b757a,_0x511954=_0x102332[_0x60b25d(0x1fe)]||_0x102332,_0x3031fe={'name':_0x511954[_0x60b25d(0x1f2)]||_0x511954['name']};return _0x511954['_length']&&(_0x3031fe[_0x60b25d(0x1e3)]=_0x511954[_0x60b25d(0x1e3)]),_0x3031fe;},makeFields=_0x1c4418=>{const _0x12f2b0=a81_0x2b757a,_0x3deaba=Object[_0x12f2b0(0x1cc)](_0x1c4418[_0x12f2b0(0x1d4)])[_0x12f2b0(0x1cf)](_0x173977=>{const _0x4c2f88=_0x12f2b0,[_0x11685a,_0x54860c]=_0x173977,_0x16f688=getSequeliezeDataType(_0x54860c);let _0x416f8f=_0x54860c['label']||_0x54860c[_0x4c2f88(0x1e5)]||_0x11685a;_0x416f8f=_0x416f8f[_0x4c2f88(0x1d5)]('\x27','\x22');const _0x260ce0={'label':_0x416f8f,'prop':_0x11685a,'tableAttrs':{...calcColumnWidth(_0x16f688)},'formAttrs':{}};fillFieldType(_0x260ce0,_0x16f688),fillFieldForeign(_0x260ce0,_0x1c4418,_0x11685a);const {autoIncrement:_0x1b9322,_autoGenerated:_0x3f9f14}=_0x54860c;return(_0x1b9322||_0x3f9f14||viewOnlyFields['includes'](_0x11685a))&&(_0x260ce0[_0x4c2f88(0x1f1)]=![],_0x260ce0[_0x4c2f88(0x1f6)]=!![],delete _0x260ce0[_0x4c2f88(0x1f8)],delete _0x260ce0['formAttrs']),_0x260ce0;});return _0x3deaba;},calcColumnWidth=_0x2f9325=>{const _0x39967e=a81_0x2b757a;switch(_0x2f9325[_0x39967e(0x1e9)]){case _0x39967e(0x1f5):{return _0x2f9325[_0x39967e(0x1e3)]>0x14?{'minWidth':0x96}:{'width':0x19+_0x2f9325[_0x39967e(0x1e3)]*0xc};};case _0x39967e(0x1ce):{return{'minWidth':0xc8};}case _0x39967e(0x1dc):{return{'width':0xaf};};default:{return{'width':0x64};}}},fillFieldType=(_0x5d5f5e,_0x3777ce)=>{const _0x34e74c=a81_0x2b757a,{formAttrs:_0x27876c}=_0x5d5f5e;switch(_0x3777ce[_0x34e74c(0x1e9)]){case _0x34e74c(0x1d1):{_0x5d5f5e[_0x34e74c(0x1fe)]=_0x34e74c(0x1cb),_0x27876c[_0x34e74c(0x202)]=0x1;break;}case'FLOAT':{_0x5d5f5e[_0x34e74c(0x1fe)]=_0x34e74c(0x1cb);break;}case _0x34e74c(0x1f7):{_0x5d5f5e[_0x34e74c(0x1f8)]=_0x34e74c(0x1de),_0x5d5f5e[_0x34e74c(0x1ed)]=_0x34e74c(0x1dd);break;}case _0x34e74c(0x1f5):{_0x27876c[_0x34e74c(0x1e4)]=_0x3777ce[_0x34e74c(0x1e3)];break;}case'TEXT':{_0x5d5f5e[_0x34e74c(0x1fe)]='textarea';break;}case _0x34e74c(0x1dc):{_0x5d5f5e[_0x34e74c(0x1f8)]='ElDatePicker',_0x27876c[_0x34e74c(0x1f4)]='calendar';break;}}},fillFieldForeign=(_0x1b5c6,_0x17997f,_0x58f1bf)=>{const _0x513fa9=a81_0x2b757a,_0x3e4923=Object['values'](_0x17997f[_0x513fa9(0x1ca)]),_0x437028=_0x3e4923['map'](_0x1b56e6=>_0x1b56e6[_0x513fa9(0x1ee)]),_0x3b13d9=_0x17997f[_0x513fa9(0x1d0)]['config'][_0x513fa9(0x1c8)];if(_0x437028[_0x513fa9(0x1ec)](_0x58f1bf)){const _0x3686bb=_0x3e4923[_0x513fa9(0x1df)](_0x22ed86=>_0x22ed86[_0x513fa9(0x1ee)]===_0x58f1bf);delete _0x1b5c6[_0x513fa9(0x1f3)][_0x513fa9(0x202)],delete _0x1b5c6[_0x513fa9(0x1fe)],_0x1b5c6[_0x513fa9(0x1ed)]=[],_0x1b5c6[_0x513fa9(0x1f8)]=_0x513fa9(0x1de);const _0x40461f=_0x3686bb['target'][_0x513fa9(0x1d9)]||'';Object[_0x513fa9(0x1fa)](_0x1b5c6[_0x513fa9(0x1f3)],{'modelName':_0x3b13d9+'.'+_0x3686bb['target']['options'][_0x513fa9(0x1d7)],'text':_0x40461f,'value':_0x40461f});}else viewOnlyFields[_0x513fa9(0x1ec)](_0x58f1bf)&&(delete _0x1b5c6['formAttrs'][_0x513fa9(0x202)],delete _0x1b5c6[_0x513fa9(0x1fe)],operatorFields['includes'](_0x58f1bf)&&(_0x1b5c6['visible']=![]));};export{importFile,getModel,getSequeliezeDataType,makeFields,calcColumnWidth};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x47d88e,_0x11600d){const _0xceb93b=a82_0x1813,_0x45ee20=_0x47d88e();while(!![]){try{const _0x391794=-parseInt(_0xceb93b(0x1f4))/0x1*(parseInt(_0xceb93b(0x1f8))/0x2)+parseInt(_0xceb93b(0x1e6))/0x3+-parseInt(_0xceb93b(0x1e2))/0x4+-parseInt(_0xceb93b(0x1f2))/0x5+-parseInt(_0xceb93b(0x1e3))/0x6+-parseInt(_0xceb93b(0x1f5))/0x7+parseInt(_0xceb93b(0x1f6))/0x8;if(_0x391794===_0x11600d)break;else _0x45ee20['push'](_0x45ee20['shift']());}catch(_0x37abb6){_0x45ee20['push'](_0x45ee20['shift']());}}}(a82_0x139e,0x20327));import a82_0x312cdf from'node:path';import a82_0xe3c3b0 from'node-plop/src/generator-runner.js';function a82_0x139e(){const _0x57e90d=['assign','181941GDXKRx','map','\x27$$\x20','slice','请输入','replaceAll','split','confirm','runGeneratorPrompts','\x20$$\x27','stringify','join','341055yQtWAj','list','108963BmOvPb','542178cRibOD','5459448foBVgQ','indexOf','2yeaaJJ','input','test','getGenerator','696768BoePXN','1094274wnAojI','runGeneratorActions'];a82_0x139e=function(){return _0x57e90d;};return a82_0x139e();}function a82_0x1813(_0x143d75,_0x3251e5){const _0x139e20=a82_0x139e();return a82_0x1813=function(_0x181353,_0x4d8337){_0x181353=_0x181353-0x1e1;let _0x495e10=_0x139e20[_0x181353];return _0x495e10;},a82_0x1813(_0x143d75,_0x3251e5);}const getGenerator=(_0x401415,_0x2718e6,_0xabc6b4)=>{const _0x4824c0=a82_0x1813,_0x3b0870=a82_0xe3c3b0(_0x401415,_0xabc6b4),_0x5ee7e6=_0x401415[_0x4824c0(0x1e1)](_0x2718e6);return Object[_0x4824c0(0x1e5)](_0x5ee7e6,{'runActions':(_0x107f30,_0x426a81)=>_0x3b0870[_0x4824c0(0x1e4)](_0x5ee7e6,_0x107f30,_0x426a81),'runPrompts':(_0x2a7ca1=[])=>_0x3b0870[_0x4824c0(0x1ee)](_0x5ee7e6,_0x2a7ca1)}),_0x5ee7e6;},absPath=(_0x113683,_0x3dc271)=>{return a82_0x312cdf['resolve'](_0x113683['getPlopfilePath'](),_0x3dc271);},addValidator=(_0xf5a05,_0x5b6ff3)=>{_0xf5a05['validate']=_0x4843db=>{const _0x4fe6c3=a82_0x1813;return/.+/[_0x4fe6c3(0x1fa)](_0x4843db)?!![]:_0x4fe6c3(0x1ea)+_0x5b6ff3;};},makeInputPrompt=(_0x4a8508,_0x31e2ac,_0x6e7848=!![])=>{const _0x41f97c=a82_0x1813,_0x4f89db={'type':_0x41f97c(0x1f9),'name':_0x4a8508,'message':'请输入\x20'+_0x31e2ac+'('+(_0x6e7848?'必填':'选填')+')'};return _0x6e7848&&addValidator(_0x4f89db,_0x4a8508),_0x4f89db;},makeConfirmPrompt=(_0x499e41,_0x583b66,_0x432d92)=>{const _0x58ab8a=a82_0x1813,_0x37c96e={'type':_0x58ab8a(0x1ed),'name':_0x499e41,'message':_0x583b66,'default':_0x432d92};return _0x37c96e;},makeSelectPrompt=(_0x1fcd28,_0x4e73ec,_0x31b7b6,_0x4a972f)=>{const _0x432bca=a82_0x1813,_0x4a9634={'type':_0x432bca(0x1f3),'name':_0x1fcd28,'choices':_0x4e73ec,'message':_0x31b7b6,'default':_0x4a972f};return _0x4a9634;},makePartial=_0x30e8e3=>{const _0x229d6f=a82_0x1813,_0x13e582=JSON[_0x229d6f(0x1f0)](_0x30e8e3,null,0x2)['split']('\x0a')[_0x229d6f(0x1e9)](0x1,-0x1)[_0x229d6f(0x1e7)]((_0x9acba0,_0x5709ce)=>{const _0x508856=_0x229d6f;_0x9acba0=_0x9acba0[_0x508856(0x1e9)](0x2);let _0x39afff=_0x9acba0[_0x508856(0x1ec)](':');return _0x39afff[0x0][_0x508856(0x1f7)]('-')>=0x0?_0x39afff[0x0]=_0x39afff[0x0]['replaceAll']('\x22','\x27'):_0x39afff[0x0]=_0x39afff[0x0][_0x508856(0x1eb)]('\x22',''),_0x39afff=_0x39afff[_0x508856(0x1e7)]((_0x21fae3,_0x3b379d)=>{const _0x485585=_0x508856;return _0x3b379d===0x0?_0x21fae3:_0x21fae3[_0x485585(0x1eb)]('\x22','\x27');}),_0x39afff['join'](':');});let _0x15fce5=_0x13e582[_0x229d6f(0x1f1)]('\x0a')+'\x0a';return _0x15fce5=_0x15fce5['replaceAll'](_0x229d6f(0x1e8),'')[_0x229d6f(0x1eb)](_0x229d6f(0x1ef),''),_0x15fce5;},plopUtils={'getGenerator':getGenerator,'absPath':absPath,'addValidator':addValidator,'makeInputPrompt':makeInputPrompt,'makeConfirmPrompt':makeConfirmPrompt,'makeSelectPrompt':makeSelectPrompt,'makePartial':makePartial};export default plopUtils;
|
package/packages/utils/crypt.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x42bdbd,_0x304171){const _0x3f91aa=a83_0x1a65,_0x2969cc=_0x42bdbd();while(!![]){try{const _0x7e6f1b=parseInt(_0x3f91aa(0x1fd))/0x1*(parseInt(_0x3f91aa(0x1f2))/0x2)+parseInt(_0x3f91aa(0x1f3))/0x3+-parseInt(_0x3f91aa(0x1ff))/0x4+parseInt(_0x3f91aa(0x200))/0x5*(parseInt(_0x3f91aa(0x1f0))/0x6)+parseInt(_0x3f91aa(0x1f1))/0x7*(-parseInt(_0x3f91aa(0x1f7))/0x8)+-parseInt(_0x3f91aa(0x1f9))/0x9+-parseInt(_0x3f91aa(0x1f4))/0xa*(-parseInt(_0x3f91aa(0x1fe))/0xb);if(_0x7e6f1b===_0x304171)break;else _0x2969cc['push'](_0x2969cc['shift']());}catch(_0x45c1e4){_0x2969cc['push'](_0x2969cc['shift']());}}}(a83_0x3614,0xd6863));const simple={'encrypt'(_0x3a2bb4){const _0x6c4054=a83_0x1a65;return _0x3a2bb4=encodeURIComponent(_0x3a2bb4),_0x3a2bb4=btoa(_0x3a2bb4),_0x3a2bb4=_0x3a2bb4[_0x6c4054(0x1fc)](''),_0x3a2bb4=_0x3a2bb4['map'](_0x7e1b22=>String[_0x6c4054(0x1f5)](_0x7e1b22['charCodeAt'](0x0)+0x6)),_0x3a2bb4['reverse'](),_0x3a2bb4=_0x3a2bb4[_0x6c4054(0x1fa)](''),_0x3a2bb4;},'decrypt'(_0x502dc8){const _0x1f3a06=a83_0x1a65;return _0x502dc8=_0x502dc8[_0x1f3a06(0x1fc)](''),_0x502dc8[_0x1f3a06(0x1f6)](),_0x502dc8=_0x502dc8[_0x1f3a06(0x1fb)](_0x4bcac5=>String['fromCharCode'](_0x4bcac5[_0x1f3a06(0x1f8)](0x0)-0x6)),_0x502dc8=_0x502dc8['join'](''),_0x502dc8=atob(_0x502dc8),_0x502dc8=decodeURIComponent(_0x502dc8),_0x502dc8;}};export{simple};function a83_0x3614(){const _0x497db7=['charCodeAt','11999160vnOhZW','join','map','split','337053dEqjwn','18948919rYnJuR','5235748vdByFe','7393870QHLiHQ','6ShSYrh','301ysNiNk','2hhgQvc','3805884onbpVj','10fZMuAN','fromCharCode','reverse','239296zzCEzE'];a83_0x3614=function(){return _0x497db7;};return a83_0x3614();}function a83_0x1a65(_0x19e328,_0x23bba2){const _0x361401=a83_0x3614();return a83_0x1a65=function(_0x1a65c1,_0x476db9){_0x1a65c1=_0x1a65c1-0x1f0;let _0x476f16=_0x361401[_0x1a65c1];return _0x476f16;},a83_0x1a65(_0x19e328,_0x23bba2);}export default{'simple':simple};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a84_0x752b(_0xca5532,_0x1ee5f5){const _0x3916d6=a84_0x3916();return a84_0x752b=function(_0x752b35,_0x3930d9){_0x752b35=_0x752b35-0x133;let _0x30644a=_0x3916d6[_0x752b35];return _0x30644a;},a84_0x752b(_0xca5532,_0x1ee5f5);}(function(_0x59551c,_0xd0b14){const _0x646e22=a84_0x752b,_0x96ec51=_0x59551c();while(!![]){try{const _0x386a31=-parseInt(_0x646e22(0x146))/0x1*(parseInt(_0x646e22(0x142))/0x2)+-parseInt(_0x646e22(0x141))/0x3*(-parseInt(_0x646e22(0x139))/0x4)+-parseInt(_0x646e22(0x144))/0x5+parseInt(_0x646e22(0x143))/0x6+parseInt(_0x646e22(0x136))/0x7*(-parseInt(_0x646e22(0x138))/0x8)+parseInt(_0x646e22(0x145))/0x9+parseInt(_0x646e22(0x137))/0xa*(parseInt(_0x646e22(0x13a))/0xb);if(_0x386a31===_0xd0b14)break;else _0x96ec51['push'](_0x96ec51['shift']());}catch(_0xdf179a){_0x96ec51['push'](_0x96ec51['shift']());}}}(a84_0x3916,0x6a53c));const {highdict}=StardustJs,_checkOk=(_0x3bf29a,_0x1fc1dd)=>{const _0xf5a039=a84_0x752b;let _0x334735=_0x1fc1dd;if(typeof _0x1fc1dd===_0xf5a039(0x13f))_0x334735=highdict['get'](_0x3bf29a,_0x1fc1dd);else typeof _0x1fc1dd===_0xf5a039(0x147)&&(_0x334735=_0x1fc1dd(_0x3bf29a));return!!_0x334735;};function a84_0x3916(){const _0x343b71=['table.loading','loading','string','apply','299361PZgRRq','320038MwhYdc','2855844PEzRva','537130yGPlXD','2410983pxAhde','5ZRLAyp','function','get','invalid\x20params\x20for\x20@loading','model.loading','then','2317RMIajJ','397330xRmKtj','2848nNdnpa','16ytzObb','88bzpigw','dialog.loading','set'];a84_0x3916=function(){return _0x343b71;};return a84_0x3916();}export const when=_0x170dbd=>{return(_0x3d3bc0,{name:_0x1b87e7,addInitializer:_0x4849b3,..._0x357d4b})=>{_0x4849b3(function(){const _0x2d66b8=this,_0x17ed42=_0x2d66b8[_0x1b87e7];_0x2d66b8[_0x1b87e7]=function(..._0xc2203b){if(!_checkOk(_0x2d66b8,_0x170dbd))return;return _0x17ed42['apply'](_0x2d66b8,_0xc2203b);};});};};export const not=_0x57208a=>{return(_0x31d564,{name:_0x4fa9fd,addInitializer:_0x218383,..._0x4d0fb8})=>{_0x218383(function(){const _0x286f51=this,_0x3dab10=_0x286f51[_0x4fa9fd];_0x286f51[_0x4fa9fd]=function(..._0x3162ab){const _0x5dfd4b=a84_0x752b;if(_checkOk(_0x286f51,_0x57208a))return;return _0x3dab10[_0x5dfd4b(0x140)](_0x286f51,_0x3162ab);};});};};export const loading=_0x12b60d=>{return(_0x526270,{name:_0x42b62e,addInitializer:_0x33a0d1,..._0x29c3d3})=>{_0x33a0d1(function(){const _0x16863c=a84_0x752b,_0xf9aa80=this,_0x2fc21f=_0xf9aa80[_0x42b62e];_0x12b60d??=_0xf9aa80['table']&&_0x16863c(0x13d)||_0xf9aa80['model']&&_0x16863c(0x134)||_0xf9aa80['dialog']&&_0x16863c(0x13b)||_0x16863c(0x13e),_0xf9aa80[_0x42b62e]=function(..._0x2b606e){const _0x51b04d=_0x16863c;if(!_0x12b60d)throw _0x51b04d(0x133);if(highdict[_0x51b04d(0x148)](_0xf9aa80,_0x12b60d))return;highdict['set'](_0xf9aa80,_0x12b60d,!![]);const _0x297dc2=_0x2fc21f[_0x51b04d(0x140)](_0xf9aa80,_0x2b606e);if(_0x297dc2 instanceof Promise)return _0x297dc2[_0x51b04d(0x135)]((..._0x28526c)=>{const _0x26aedd=_0x51b04d;return highdict[_0x26aedd(0x13c)](_0xf9aa80,_0x12b60d,![]),_0x28526c;});return highdict[_0x51b04d(0x13c)](_0xf9aa80,_0x12b60d,![]),_0x297dc2;};});};};export default{'when':when,'not':not,'loading':loading};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a85_0x570e(){const _0x4c5be5=['includes','name','982942SCrtes','3OVtImS','YWJvdXQlM0FibGFuaw==','hostname','pushState','KeyI','href','631494DZtGAt','IMG','shiftKey','altKey','contextmenu','3210WKewEE','CANVAS','10TXIodL','code','VITE_DEV_DEBUGGERABLE_DOMAINS','target','nodeName','JUU0JUI4JUJBJUU0JUJBJTg2JUU3JUJEJTkxJUU3JUFCJTk5JUU3JTlBJTg0JUU1JUFFJTg5JUU1JTg1JUE4JUVGJUJDJThDJUU3JUE2JTgxJUU2JUFEJUEyJUU4JUIwJTgzJUU4JUFGJTk1','13454265oblNFQ','VITE_PROD_DEBUGGERABLE_DOMAINS','1443960jwALSr','toString','indexOf','innerHTML','metaKey','ctrlKey','KeyJ','1506944gctAep','parse','PICTURE','VIDEO','AUDIO','INPUT','documentElement','11683XsiyPv','keydown','KeyC','7324nfAWoJ','location','preventDefault','KeyU','565jLYWui'];a85_0x570e=function(){return _0x4c5be5;};return a85_0x570e();}(function(_0x165ba1,_0x1ccb0b){const _0xc1443d=a85_0x4c2d,_0x39e740=_0x165ba1();while(!![]){try{const _0x905ffc=parseInt(_0xc1443d(0x94))/0x1+parseInt(_0xc1443d(0x83))/0x2*(-parseInt(_0xc1443d(0x95))/0x3)+-parseInt(_0xc1443d(0x8d))/0x4*(parseInt(_0xc1443d(0x91))/0x5)+parseInt(_0xc1443d(0x72))/0x6*(-parseInt(_0xc1443d(0x8a))/0x7)+parseInt(_0xc1443d(0x7c))/0x8+-parseInt(_0xc1443d(0x9b))/0x9*(-parseInt(_0xc1443d(0x74))/0xa)+parseInt(_0xc1443d(0x7a))/0xb;if(_0x905ffc===_0x1ccb0b)break;else _0x39e740['push'](_0x39e740['shift']());}catch(_0x302eb4){_0x39e740['push'](_0x39e740['shift']());}}}(a85_0x570e,0x93524));function a85_0x4c2d(_0x4f902f,_0x212a84){const _0x570ee5=a85_0x570e();return a85_0x4c2d=function(_0x4c2d5a,_0x1bf97a){_0x4c2d5a=_0x4c2d5a-0x71;let _0x206cae=_0x570ee5[_0x4c2d5a];return _0x206cae;},a85_0x4c2d(_0x4f902f,_0x212a84);}import a85_0x3ad257 from'../assets/devtools-detector.js';const {addListener,launch}=a85_0x3ad257,disallowDevtools=(_0x145511={},_0x5a02d1)=>{const _0x1c4ff7=a85_0x4c2d,_0x4799c0=_0x57b08d=>{const _0xab0528=a85_0x4c2d;_0x57b08d&&(document[_0xab0528(0x89)][_0xab0528(0x7f)]=decodeURIComponent(atob(_0xab0528(0x79))),window[_0xab0528(0x8e)][_0xab0528(0x9a)]=decodeURIComponent(atob(_0xab0528(0x96))));};addListener(_0x4799c0),(!window['eval'][_0x1c4ff7(0x93)]||!console['clear'][_0x1c4ff7(0x93)]||!RegExp[_0x1c4ff7(0x7d)]['toString']()['includes'](_0x1c4ff7(0x7d))||!history[_0x1c4ff7(0x98)][_0x1c4ff7(0x7d)][_0x1c4ff7(0x7d)]()['includes']('toString'))&&_0x4799c0(!![]),!(_0x5a02d1||JSON[_0x1c4ff7(0x84)](_0x145511['PROD']?_0x145511[_0x1c4ff7(0x7b)]:_0x145511[_0x1c4ff7(0x76)]))[_0x1c4ff7(0x92)](window['location'][_0x1c4ff7(0x97)])&&(launch(),window['addEventListener'](_0x1c4ff7(0x71),_0x523252=>{const _0x40d1b=_0x1c4ff7;!(_0x523252[_0x40d1b(0x77)]instanceof SVGElement)&&![_0x40d1b(0x9c),_0x40d1b(0x73),_0x40d1b(0x87),_0x40d1b(0x86),_0x40d1b(0x85),_0x40d1b(0x88),'TEXTAREA'][_0x40d1b(0x92)](_0x523252[_0x40d1b(0x77)][_0x40d1b(0x78)])&&_0x523252['preventDefault']();},!![]),window['addEventListener'](_0x1c4ff7(0x8b),_0x12f708=>{const _0x32e361=_0x1c4ff7;(_0x12f708[_0x32e361(0x75)]==='F12'||(_0x12f708[_0x32e361(0x80)]||_0x12f708[_0x32e361(0x81)])&&(_0x12f708[_0x32e361(0x9e)]||_0x12f708[_0x32e361(0x9d)])&&[_0x32e361(0x90),_0x32e361(0x99),_0x32e361(0x82),_0x32e361(0x8c)][_0x32e361(0x7e)](_0x12f708['code'])>=0x0)&&_0x12f708[_0x32e361(0x8f)]();},!![]));};export default disallowDevtools;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a86_0x3d8f(){const _0x4006cc=['145YOXkoc','font','createLinearGradient','152538TxJSCw','2077371mduFZV','addEventListener','mousemove','mouseover','forEach','ctx','addColorStop','width','floor','rgba(','2864584IOjWSB','rgba(250,\x20220,\x2020,\x200.5)','max','from','965120OozaqH','getBoundingClientRect','min','now','createElement','height','481404dRsbAB','map','fillRect','detectWall','innerWidth','getContext','Text','round','fillStyle','8sxkPIY','innerHeight','rgba(20,\x2020,\x2020,\x200.5)','pageX','update','452034SXyZsS','663960zPodOq','beginPath','color','canvas','arc','fill','radius','pageY'];a86_0x3d8f=function(){return _0x4006cc;};return a86_0x3d8f();}const a86_0x3baafc=a86_0x499b;(function(_0x28520f,_0xe2cd05){const _0x47f80d=a86_0x499b,_0x278065=_0x28520f();while(!![]){try{const _0x3884c9=-parseInt(_0x47f80d(0x1be))/0x1+parseInt(_0x47f80d(0x1aa))/0x2+parseInt(_0x47f80d(0x1bf))/0x3+parseInt(_0x47f80d(0x1d5))/0x4+parseInt(_0x47f80d(0x1c7))/0x5*(-parseInt(_0x47f80d(0x1ca))/0x6)+-parseInt(_0x47f80d(0x1b0))/0x7+parseInt(_0x47f80d(0x1b9))/0x8*(parseInt(_0x47f80d(0x1cb))/0x9);if(_0x3884c9===_0xe2cd05)break;else _0x278065['push'](_0x278065['shift']());}catch(_0x35f166){_0x278065['push'](_0x278065['shift']());}}}(a86_0x3d8f,0x5fe44));function a86_0x499b(_0x364998,_0x8abaaa){const _0x3d8fd2=a86_0x3d8f();return a86_0x499b=function(_0x499be5,_0x421ffb){_0x499be5=_0x499be5-0x1aa;let _0x134856=_0x3d8fd2[_0x499be5];return _0x134856;},a86_0x499b(_0x364998,_0x8abaaa);}export const pop=_0x276614=>{const _0x3568a5=a86_0x499b,{width:_0x467e56,height:_0x56207e}=_0x276614[_0x3568a5(0x1ab)]();_0x276614[_0x3568a5(0x1d2)]=_0x467e56,_0x276614[_0x3568a5(0x1af)]=_0x56207e;const _0x495551=_0x276614[_0x3568a5(0x1b5)]('2d');class _0x21b7fb{constructor(_0x47b25e,_0x21101a,_0x50834c,_0x588264,_0x52afa9,_0x145c8f,_0x305197){const _0x498354=_0x3568a5;this['x']=_0x47b25e,this['y']=_0x21101a,this[_0x498354(0x1c5)]=_0x50834c,this[_0x498354(0x1c1)]=_0x588264,this['vx']=_0x52afa9,this['vy']=_0x145c8f,this['ctx']=_0x305197;}[_0x3568a5(0x1bd)](){const _0x925157=_0x3568a5;this['x']+=this['vx'],this['y']+=this['vy'],this[_0x925157(0x1d0)][_0x925157(0x1c0)](),this['ctx'][_0x925157(0x1b8)]=this[_0x925157(0x1c1)],this['ctx'][_0x925157(0x1c3)](this['x'],this['y'],this[_0x925157(0x1c5)],0x0,Math['PI']*0x2),this[_0x925157(0x1d0)][_0x925157(0x1c4)](),this[_0x925157(0x1b3)]();}[_0x3568a5(0x1b3)](){const _0x421b98=_0x3568a5;if(this['x']<this[_0x421b98(0x1c5)])this['x']=this[_0x421b98(0x1c5)],this['vx']=-this['vx'];else this['x']+this[_0x421b98(0x1c5)]>_0x467e56&&(this['x']=_0x467e56-this[_0x421b98(0x1c5)],this['vx']=-this['vx']);if(this['y']<this['radius'])this['y']=this[_0x421b98(0x1c5)],this['vy']=-this['vy'];else this['y']+this[_0x421b98(0x1c5)]>_0x56207e&&(this['y']=_0x56207e-this[_0x421b98(0x1c5)],this['vy']=-this['vy']);}}const _0x495263=()=>_0x495551['clearRect'](0x0,0x0,_0x467e56,_0x56207e),_0x261d85=_0x4d068e=>Math[_0x3568a5(0x1d3)](Math['random']()*_0x4d068e);let _0x418c9a=0x0,_0x518da6=0.01,_0x1b9e2b=0x0;const _0x258518=()=>{const _0x539e85=_0x3568a5,_0x50ea24=_0x495551[_0x539e85(0x1c9)](0x0,0x0,_0x467e56*1.5,_0x56207e*1.5);!_0x1b9e2b?(_0x418c9a+=_0x518da6,_0x418c9a<=0x0&&(_0x418c9a=0x0,_0x518da6=-_0x518da6,_0x1b9e2b=_0x5e1280*0x1e),_0x418c9a>=0x1&&(_0x418c9a=0x1,_0x518da6=-_0x518da6,_0x1b9e2b=_0x5e1280*0x1e)):_0x1b9e2b--,_0x50ea24[_0x539e85(0x1d1)](0x0,_0x539e85(0x1d6)),_0x50ea24['addColorStop'](_0x418c9a,_0x539e85(0x1bb)),_0x495551['fillStyle']=_0x50ea24,_0x495551[_0x539e85(0x1b2)](0x0,0x0,_0x467e56,_0x56207e);},_0x1818b0=Math[_0x3568a5(0x1d3)](_0x467e56/0x64),_0xeed693=Math[_0x3568a5(0x1d3)](_0x56207e/0x64),_0x5e1280=0x14,_0x48eae0=Math[_0x3568a5(0x1b7)](0x3e8/_0x5e1280),_0x493179=Array[_0x3568a5(0x1d8)]({'length':0x34})[_0x3568a5(0x1b1)](()=>{const _0x47bf37=_0x3568a5,_0x19660e=Math[_0x47bf37(0x1d3)](_0x261d85(_0x1818b0+_0xeed693)*1.5+_0x261d85(0x5));let _0x547117=_0x261d85(_0x467e56),_0x3b6e1c=_0x261d85(_0x56207e);_0x547117=Math[_0x47bf37(0x1ac)](Math[_0x47bf37(0x1d7)](_0x19660e,_0x547117),_0x467e56-_0x19660e),_0x3b6e1c=Math[_0x47bf37(0x1ac)](Math[_0x47bf37(0x1d7)](_0x19660e,_0x3b6e1c),_0x56207e-_0x19660e);let _0x43f834=_0x261d85(0x2)?(_0x261d85(0x2)+0x2)*_0x1818b0:(_0x261d85(-0x1)-0x2)*_0x1818b0,_0x2c128d=_0x261d85(0x2)?(_0x261d85(0x2)+0x2)*_0xeed693:(_0x261d85(-0x1)-0x2)*_0xeed693;return _0x43f834=Math[_0x47bf37(0x1d3)](_0x43f834/_0x5e1280),_0x2c128d=Math[_0x47bf37(0x1d3)](_0x2c128d/_0x5e1280),new _0x21b7fb(_0x547117,_0x3b6e1c,_0x19660e,_0x47bf37(0x1d4)+_0x261d85(0x100)+',\x20'+_0x261d85(0x100)+',\x20'+_0x261d85(0x100)+',\x20'+(_0x261d85(0x5)+0x5)/0xa+')',_0x43f834,_0x2c128d,_0x495551);});let _0x2c2aad,_0x12cd44;_0x276614[_0x3568a5(0x1cc)](_0x3568a5(0x1ce),_0x561c0b=>{const _0x487de7=_0x3568a5;_0x2c2aad=_0x561c0b[_0x487de7(0x1bc)],_0x12cd44=_0x561c0b['pageY'];}),_0x276614[_0x3568a5(0x1cc)](_0x3568a5(0x1cd),_0x43a155=>{const _0x514d1b=_0x3568a5;if(_0x2c2aad===undefined){_0x2c2aad=_0x43a155['pageX'],_0x12cd44=_0x43a155['pageY'];return;}const _0x244967=_0x43a155[_0x514d1b(0x1bc)]-_0x2c2aad,_0x5cbf34=_0x43a155[_0x514d1b(0x1c6)]-_0x12cd44;_0x493179[_0x514d1b(0x1cf)](_0x3d8ea8=>{_0x3d8ea8['x']+=_0x244967/_0x5e1280,_0x3d8ea8['y']+=_0x5cbf34/_0x5e1280;}),_0x2c2aad=_0x43a155[_0x514d1b(0x1bc)],_0x12cd44=_0x43a155['pageY'];});let _0xd6ed05=Date[_0x3568a5(0x1ad)](),_0x2c254a=null;const _0xbf2e32=()=>{const _0xecec95=_0x3568a5;Date['now']()-_0xd6ed05>=_0x48eae0&&(_0x495263(),_0x258518(),_0x493179[_0xecec95(0x1cf)](_0x43c566=>_0x43c566[_0xecec95(0x1bd)]()),_0xd6ed05=Date[_0xecec95(0x1ad)]()),_0x2c254a=requestAnimationFrame(_0xbf2e32);};return _0x2c254a=requestAnimationFrame(_0xbf2e32),()=>cancelAnimationFrame(_0x2c254a);};export const createWatermark=({text:_0x4233dc,gap:_0x58db49,fontSize:_0x5a203b,color:_0x5e6473,width:width=window[a86_0x3baafc(0x1b4)],height:height=window[a86_0x3baafc(0x1ba)],drawMode:drawMode='fill'})=>{const _0x1334d2=a86_0x3baafc,_0x23d426=document[_0x1334d2(0x1ae)](_0x1334d2(0x1c2));_0x23d426[_0x1334d2(0x1d2)]=width,_0x23d426[_0x1334d2(0x1af)]=height;const _0x4f73b8=_0x23d426[_0x1334d2(0x1b5)]('2d');_0x4f73b8[_0x1334d2(0x1c8)]=_0x5a203b+'px\x20Arial',_0x4f73b8[drawMode+'Style']=_0x5e6473;const _0x353143=_0x4f73b8['measureText'](_0x4233dc)[_0x1334d2(0x1d2)],_0x20d02d=_0x353143+_0x58db49,_0xc0dded=_0x5a203b+_0x58db49;for(let _0x1428ed=_0x58db49/0x2;_0x1428ed<height;_0x1428ed+=_0xc0dded){for(let _0x553f5f=_0x58db49/0x2;_0x553f5f<width;_0x553f5f+=_0x20d02d){_0x4f73b8[drawMode+_0x1334d2(0x1b6)](_0x4233dc,_0x553f5f,_0x1428ed);}}return _0x23d426;};export default{'pop':pop,'createWatermark':createWatermark};
|
package/packages/utils/funcs.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x1c0c1d,_0x3f5d4e){const _0x59bfb4=a87_0x11bb,_0x4fcb67=_0x1c0c1d();while(!![]){try{const _0x4e4e0e=parseInt(_0x59bfb4(0x1fc))/0x1+parseInt(_0x59bfb4(0x208))/0x2*(-parseInt(_0x59bfb4(0x1db))/0x3)+parseInt(_0x59bfb4(0x1e8))/0x4*(-parseInt(_0x59bfb4(0x1f3))/0x5)+-parseInt(_0x59bfb4(0x203))/0x6+-parseInt(_0x59bfb4(0x1d9))/0x7+parseInt(_0x59bfb4(0x205))/0x8+parseInt(_0x59bfb4(0x1e0))/0x9;if(_0x4e4e0e===_0x3f5d4e)break;else _0x4fcb67['push'](_0x4fcb67['shift']());}catch(_0x55b75d){_0x4fcb67['push'](_0x4fcb67['shift']());}}}(a87_0x23c5,0x74dbc));function a87_0x23c5(){const _0x37bc45=['iwwa:file-pdf','endsWith','doc','toFixed','980BklCYN','modelValue','image','file-icons:microsoft-excel','pptx','gzip','xls','every','validate','43650HfiOsO','docx','others','ogg','pop','bi:file-pdf-fill','disabled','3216492vfvFln','number','6574096mujxXI','text','catch','45884jZsajq','localeCompare','ppt','value','XForm','3gpp','zip','pdf','comp','sort','tar','521521yLDnlF','filter','114moxfPc','object','webp','rar','formItems','14434641LtlAWF','string','toLowerCase','provide','file-icons:microsoft-powerpoint','length','customValue','includes','10372zanWDu','xlsx','jpg','getOwnPropertySymbols','formRef','webm','jpeg'];a87_0x23c5=function(){return _0x37bc45;};return a87_0x23c5();}import{toRaw,markRaw}from'vue';export const validateForm=async _0x161889=>{const _0x385026=a87_0x11bb,_0x4f3a2d=await _0x161889[_0x385026(0x1ec)]?.[_0x385026(0x1fb)]()['then'](()=>!![])[_0x385026(0x207)](()=>![]),_0x2e028b=await Promise['all'](_0x161889[_0x385026(0x1df)]?.[_0x385026(0x1da)](_0x2028e1=>{const _0x101378=_0x385026;return _0x2028e1[_0x101378(0x1d6)]?.['endsWith'](_0x101378(0x20c))||_0x2028e1[_0x101378(0x1d6)]?.[_0x101378(0x1f0)]('x-form');})['map'](_0x5162f8=>validateForm(_0x5162f8['form'])));return _0x4f3a2d&&_0x2e028b[_0x385026(0x1fa)](_0x5467ce=>_0x5467ce);};function a87_0x11bb(_0x34a4a3,_0x12dd90){const _0x23c52d=a87_0x23c5();return a87_0x11bb=function(_0x11bb07,_0x4096c9){_0x11bb07=_0x11bb07-0x1d6;let _0x45bbcd=_0x23c52d[_0x11bb07];return _0x45bbcd;},a87_0x11bb(_0x34a4a3,_0x12dd90);}export const formatPrecision=(_0x51f98a,_0x1632e8)=>{const _0x2a54b6=a87_0x11bb;if(typeof _0x51f98a!==_0x2a54b6(0x204)){const _0x2e5386=parseFloat(_0x51f98a)||null;if(typeof _0x2e5386!==_0x2a54b6(0x204))return _0x51f98a;_0x51f98a=_0x2e5386;}return _0x51f98a[_0x2a54b6(0x1f2)](_0x1632e8)*0x1;};export const formatOptions=(_0x591242,_0x6ad3ba)=>{const _0x4a4649=a87_0x11bb,_0x539404=_0x591242['__v_isRef']?_0x591242['value']:toRaw(_0x591242),{text:text=_0x4a4649(0x206),value:value=_0x4a4649(0x20b)}=_0x6ad3ba,_0x39595f=_0x539404['map'](_0x3c6d81=>{const _0x1e2100=_0x4a4649;return typeof _0x3c6d81===_0x1e2100(0x1dc)?{'text':_0x3c6d81[text],'value':_0x3c6d81[value],'disabled':_0x3c6d81[_0x1e2100(0x202)],'raw':markRaw(_0x3c6d81)}:{'text':_0x3c6d81,'value':_0x3c6d81};});if(!_0x6ad3ba[_0x4a4649(0x1d7)])return _0x39595f;const _0xbad31a=typeof _0x6ad3ba['sort']===_0x4a4649(0x1e1)?_0x6ad3ba[_0x4a4649(0x1d7)]:_0x6ad3ba[_0x4a4649(0x206)]||_0x4a4649(0x206);return _0x39595f['sort']((_0x4f7614,_0x987b39)=>{const _0x7e1e1a=_0x4a4649;return _0x4f7614[_0xbad31a][_0x7e1e1a(0x209)](_0x987b39[_0xbad31a]);});};export const injectVanFieldProvide=_0xba1b42=>{const _0x513da9=a87_0x11bb,_0x5efd0f=_0xba1b42['_']['provides'],_0x23b594=Object[_0x513da9(0x1eb)](_0x5efd0f);if(!_0x23b594[_0x513da9(0x1e5)])return;_0xba1b42['provide']=_0x5efd0f[_0x23b594[0x0]];if(!_0xba1b42[_0x513da9(0x1e3)]?.['customValue'])return _0xba1b42[_0x513da9(0x1e3)]=null;_0xba1b42['provide'][_0x513da9(0x1e6)]['value']=()=>_0xba1b42[_0x513da9(0x1f4)];};export const getUrlType=_0x119aa6=>{const _0x1de65b=a87_0x11bb,_0x3bab04=_0x119aa6?.['split']('.')[_0x1de65b(0x200)]()[_0x1de65b(0x1e2)]();if(['png',_0x1de65b(0x1ea),_0x1de65b(0x1ee),'gif',_0x1de65b(0x1dd)][_0x1de65b(0x1e7)](_0x3bab04))return _0x1de65b(0x1f5);else{if(['mp4',_0x1de65b(0x1ed),_0x1de65b(0x1ff),_0x1de65b(0x20d),'avi','mov'][_0x1de65b(0x1e7)](_0x3bab04))return'video';else{if(_0x3bab04==='pdf')return _0x1de65b(0x20f);else{if(_0x3bab04===_0x1de65b(0x1f1)||_0x3bab04===_0x1de65b(0x1fd))return _0x1de65b(0x1fd);else{if(_0x3bab04===_0x1de65b(0x1f9)||_0x3bab04===_0x1de65b(0x1e9))return _0x1de65b(0x1e9);else{if(_0x3bab04===_0x1de65b(0x20a)||_0x3bab04===_0x1de65b(0x1f7))return _0x1de65b(0x1f7);else{if([_0x1de65b(0x20e),_0x1de65b(0x1de),'7z',_0x1de65b(0x1d8),_0x1de65b(0x1f8)][_0x1de65b(0x1e7)](_0x3bab04))return'zip';}}}}}}return _0x1de65b(0x1fe);};export const getFiletypeIcon=_0x1404a4=>{const _0x2f328b=a87_0x11bb;if(_0x1404a4===_0x2f328b(0x20f))return _0x2f328b(0x1ef);if(_0x1404a4==='docx')return'file-icons:microsoft-word';if(_0x1404a4===_0x2f328b(0x1e9))return _0x2f328b(0x1f6);if(_0x1404a4===_0x2f328b(0x1f7))return _0x2f328b(0x1e4);if(_0x1404a4===_0x2f328b(0x20e))return'formkit:zip';return _0x2f328b(0x201);};export default{'validateForm':validateForm,'formatPrecision':formatPrecision,'formatOptions':formatOptions,'injectVanFieldProvide':injectVanFieldProvide,'getUrlType':getUrlType,'getFiletypeIcon':getFiletypeIcon};
|
package/packages/utils/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x4d0c53,_0x386781){var _0xc75a7f=a88_0x5cd4,_0x380db3=_0x4d0c53();while(!![]){try{var _0x33ec5d=-parseInt(_0xc75a7f(0xfb))/0x1+-parseInt(_0xc75a7f(0xf9))/0x2+parseInt(_0xc75a7f(0xfe))/0x3+-parseInt(_0xc75a7f(0xf6))/0x4+-parseInt(_0xc75a7f(0xf7))/0x5*(-parseInt(_0xc75a7f(0xfa))/0x6)+-parseInt(_0xc75a7f(0xfc))/0x7*(parseInt(_0xc75a7f(0xfd))/0x8)+parseInt(_0xc75a7f(0xf8))/0x9;if(_0x33ec5d===_0x386781)break;else _0x380db3['push'](_0x380db3['shift']());}catch(_0x22d74e){_0x380db3['push'](_0x380db3['shift']());}}}(a88_0x320c,0x3292f));import a88_0xfc3830 from'./crypt.js';import a88_0x5c81b7 from'./decorators.js';import a88_0x4f8a9d from'./effects.js';import{validateForm,formatPrecision,formatOptions,getUrlType,getFiletypeIcon}from'./funcs.js';function a88_0x5cd4(_0x134b4c,_0x1027be){var _0x320c3d=a88_0x320c();return a88_0x5cd4=function(_0x5cd4e1,_0x4feab7){_0x5cd4e1=_0x5cd4e1-0xf6;var _0xddabf5=_0x320c3d[_0x5cd4e1];return _0xddabf5;},a88_0x5cd4(_0x134b4c,_0x1027be);}import{Message,Notify,Confirm,Prompt}from'./message.js';function a88_0x320c(){var _0x1ecad6=['442014TxhGxo','6AoHMRy','283417oohLui','2325176FsykHs','8MMoqLy','592107jqCFjO','1207764OcTTRq','346705zZEfoI','9710766WKgLOO'];a88_0x320c=function(){return _0x1ecad6;};return a88_0x320c();}import a88_0x1f2be4 from'./middlewares.js';import{baseForm,baseTable,baseDialog,baseModel}from'./model.js';import{initFields,initModel,initTable,initDialog,initForm,initFormRules,initDefaultForm,isWhenMatched,triggers}from'./modelUtils.js';export{a88_0xfc3830 as crypt,a88_0x4f8a9d as effects,validateForm,formatPrecision,formatOptions,getUrlType,getFiletypeIcon,Message,Notify,Confirm,Prompt,baseForm,baseTable,baseDialog,baseModel,initFields,initModel,initTable,initDialog,initForm,initFormRules,initDefaultForm,isWhenMatched,triggers};export default{'crypt':a88_0xfc3830,'decorators':a88_0x5c81b7,'effects':a88_0x4f8a9d,'validateForm':validateForm,'formatPrecision':formatPrecision,'formatOptions':formatOptions,'getUrlType':getUrlType,'getFiletypeIcon':getFiletypeIcon,'Message':Message,'Notify':Notify,'Confirm':Confirm,'Prompt':Prompt,'middlewares':a88_0x1f2be4,'baseForm':baseForm,'baseTable':baseTable,'baseDialog':baseDialog,'baseModel':baseModel,'initFields':initFields,'initModel':initModel,'initTable':initTable,'initDialog':initDialog,'initForm':initForm,'initFormRules':initFormRules,'initDefaultForm':initDefaultForm,'isWhenMatched':isWhenMatched,'triggers':triggers};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a89_0x1153f6=a89_0x29bf;(function(_0x34f243,_0x18621c){const _0x523629=a89_0x29bf,_0xf937b8=_0x34f243();while(!![]){try{const _0x58cefc=-parseInt(_0x523629(0x1c0))/0x1+-parseInt(_0x523629(0x1bf))/0x2*(parseInt(_0x523629(0x1bb))/0x3)+-parseInt(_0x523629(0x1bd))/0x4*(parseInt(_0x523629(0x1b1))/0x5)+parseInt(_0x523629(0x1c6))/0x6*(-parseInt(_0x523629(0x1b2))/0x7)+parseInt(_0x523629(0x1c9))/0x8+-parseInt(_0x523629(0x1b3))/0x9*(-parseInt(_0x523629(0x1c3))/0xa)+parseInt(_0x523629(0x1c5))/0xb*(parseInt(_0x523629(0x1c1))/0xc);if(_0x58cefc===_0x18621c)break;else _0xf937b8['push'](_0xf937b8['shift']());}catch(_0x4230c2){_0xf937b8['push'](_0xf937b8['shift']());}}}(a89_0x2be7,0xcde59));let {ElMessage,ElNotification,ElMessageBox}=window['ElementPlus']||{},{showToast,showNotify,showConfirmDialog}=window['vant']||{};export const initMessageUtils=({ElementPlus:_0x431ef8,Vant:_0x54a21f})=>{const _0x8a21a0=a89_0x29bf;_0x431ef8&&(ElMessage=_0x431ef8['ElMessage'],ElNotification=_0x431ef8[_0x8a21a0(0x1ac)],ElMessageBox=_0x431ef8[_0x8a21a0(0x1b4)]),_0x54a21f&&(showToast=_0x54a21f[_0x8a21a0(0x1a7)],showNotify=_0x54a21f[_0x8a21a0(0x1b5)],showConfirmDialog=_0x54a21f[_0x8a21a0(0x1c7)]);};export const Message=_0x2c4d10=>{const _0xf438d3=a89_0x29bf;let _0x28ebe6=typeof _0x2c4d10!==_0xf438d3(0x1c8)?_0x2c4d10:{'message':_0x2c4d10};_0x28ebe6={'type':'error','duration':0xbb8,..._0x28ebe6};const {isMobile:isMobile=window[_0xf438d3(0x1b6)],type:_0x4e8655}=_0x28ebe6;if(isMobile){if(_0x4e8655==='error'||_0x4e8655===_0xf438d3(0x1ba))_0x28ebe6[_0xf438d3(0x1b7)]=_0xf438d3(0x1be);_0x28ebe6[_0xf438d3(0x1af)]||=0xf4240,showToast(_0x28ebe6);}else ElMessage({'showClose':!![],'grouping':!![],..._0x28ebe6});};export const Notify=_0x35b834=>{const _0x35ab50=a89_0x29bf;let _0x1bb8db=typeof _0x35b834!==_0x35ab50(0x1c8)?_0x35b834:{'message':_0x35b834};_0x1bb8db={'type':_0x35ab50(0x1cc),'duration':0xbb8,..._0x1bb8db};const {isMobile:isMobile=window[_0x35ab50(0x1b6)],type:_0x11a4bb}=_0x1bb8db;if(isMobile){if(_0x11a4bb===_0x35ab50(0x1cc))_0x1bb8db[_0x35ab50(0x1b7)]=_0x35ab50(0x1b8);showNotify(_0x1bb8db);}else ElNotification({'showClose':!![],..._0x1bb8db});};export const Confirm=_0xa9292e=>{const _0x4f437d=a89_0x29bf;let _0x3960b3=null;const {isMobile:isMobile=window['isMobile']}=_0xa9292e;return isMobile?_0x3960b3=showConfirmDialog(_0xa9292e):_0x3960b3=ElMessageBox[_0x4f437d(0x1aa)](_0xa9292e['message']||'',_0xa9292e[_0x4f437d(0x1ad)]||'',{'draggable':!![],..._0xa9292e,'type':_0xa9292e['type']||_0x4f437d(0x1bc),'confirmButtonText':_0xa9292e[_0x4f437d(0x1b0)]||'确定','cancelButtonText':_0xa9292e[_0x4f437d(0x1cb)]||'取消'}),_0x3960b3[_0x4f437d(0x1c4)](()=>{const _0x1f51cf=_0x4f437d;return _0xa9292e['distinguishCancelAndClose']?_0x1f51cf(0x1aa):!![];})['catch'](_0x2acdd7=>{return _0xa9292e['distinguishCancelAndClose']?_0x2acdd7:![];});};function a89_0x29bf(_0x18f359,_0x45a67b){const _0x2be70f=a89_0x2be7();return a89_0x29bf=function(_0x29bf6f,_0x30bad4){_0x29bf6f=_0x29bf6f-0x1a7;let _0x1a483d=_0x2be70f[_0x29bf6f];return _0x1a483d;},a89_0x29bf(_0x18f359,_0x45a67b);}export const Prompt=_0x406591=>{const _0x49405d=a89_0x29bf;return ElMessageBox[_0x49405d(0x1ca)](_0x406591['message'],_0x406591['title'],{'confirmButtonText':'确定','cancelButtonText':'取消','inputPattern':/[^\s]+/,'inputErrorMessage':_0x49405d(0x1ae),..._0x406591})[_0x49405d(0x1c4)](({value:_0x1aa6b6})=>_0x1aa6b6)[_0x49405d(0x1a8)](()=>'');};for(let type of[a89_0x1153f6(0x1b9),a89_0x1153f6(0x1ba),a89_0x1153f6(0x1bc),a89_0x1153f6(0x1cc),a89_0x1153f6(0x1c2),a89_0x1153f6(0x1a9),a89_0x1153f6(0x1be),a89_0x1153f6(0x1ab)]){Message[type]=Message[type[0x0]]=_0x3a9678=>{const _0x5bc260=a89_0x1153f6,_0x22edb5=typeof _0x3a9678!==_0x5bc260(0x1c8)?_0x3a9678:{'message':_0x3a9678};return Message({'type':type,..._0x22edb5});},Notify[type]=Notify[type[0x0]]=_0x54a717=>{const _0x2e871a=a89_0x1153f6,_0x3cda99=typeof _0x54a717!==_0x2e871a(0x1c8)?_0x54a717:{'message':_0x54a717};return Notify({'type':type,..._0x3cda99});},Confirm[type]=Confirm[type[0x0]]=_0x4b24ac=>Confirm({'type':type,..._0x4b24ac});}export default{'initMessageUtils':initMessageUtils,'Message':Message,'Notify':Notify,'Confirm':Confirm,'Prompt':Prompt};function a89_0x2be7(){const _0x18e3e1=['183231ZrZAwH','4144476zkABAJ','primary','180xVIvtY','then','22mCxKxf','246oKvgDm','showConfirmDialog','string','10013984lqxdux','prompt','cancelButtonText','error','showToast','catch','loading','confirm','html','ElNotification','title','请输入','z-index','confirmButtonText','30GoNZnh','166418raBBao','796671fOnKom','ElMessageBox','showNotify','isMobile','type','danger','success','warning','25314kFuEWz','info','634864unYEDp','fail','138TKQdTb'];a89_0x2be7=function(){return _0x18e3e1;};return a89_0x2be7();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x49e375,_0x4a78fa){const _0x1ac0f3=a90_0x2271,_0xd33b8d=_0x49e375();while(!![]){try{const _0x5d3c4f=parseInt(_0x1ac0f3(0x85))/0x1+-parseInt(_0x1ac0f3(0x90))/0x2*(-parseInt(_0x1ac0f3(0x81))/0x3)+parseInt(_0x1ac0f3(0x83))/0x4+-parseInt(_0x1ac0f3(0x87))/0x5+-parseInt(_0x1ac0f3(0x82))/0x6*(parseInt(_0x1ac0f3(0x8c))/0x7)+-parseInt(_0x1ac0f3(0x93))/0x8*(-parseInt(_0x1ac0f3(0x84))/0x9)+-parseInt(_0x1ac0f3(0x97))/0xa*(parseInt(_0x1ac0f3(0x76))/0xb);if(_0x5d3c4f===_0x4a78fa)break;else _0xd33b8d['push'](_0xd33b8d['shift']());}catch(_0x5233c4){_0xd33b8d['push'](_0xd33b8d['shift']());}}}(a90_0x4e4e,0xc5f09));import{watch,nextTick}from'vue';function a90_0x4e4e(){const _0x2ba757=['sitename','1968268FqZLEM','app','component','69776wJYGri','some','length','redirect','90pHGbYI','path','logging','sleep','children','meta','split','3265064dwplTB','acl','error','forEach','replace','getters','paths','includes','beforeEach','_hidden','受限于您的账号权限,暂时无法访问\x20','3fMxWfq','600eqZgBc','5244096LuZjyH','1503MbicZa','677807biCaQN','logined','170310piIdWJ','afterEach','reduce','/404','matched','63931ZFxcUF','hidden','visitable'];a90_0x4e4e=function(){return _0x2ba757;};return a90_0x4e4e();}import{Message}from'./message.js';function a90_0x2271(_0x569261,_0x2b0cd9){const _0x4e4ef5=a90_0x4e4e();return a90_0x2271=function(_0x2271c4,_0x11d75f){_0x2271c4=_0x2271c4-0x73;let _0x3d2e47=_0x4e4ef5[_0x2271c4];return _0x3d2e47;},a90_0x2271(_0x569261,_0x2b0cd9);}const {funcs}=StardustJs;export const check404=(_0x287290,_0xbe5182,_0x52677c)=>{const _0x4711d7=a90_0x2271;_0x287290[_0x4711d7(0x7e)](async(_0x4cf688,_0x41c1c7)=>{const _0x2ea067=_0x4711d7;return!!_0x4cf688[_0x2ea067(0x8b)][_0x2ea067(0x95)]||_0x2ea067(0x8a);});};export const setTitle=(_0xd32788,_0x4a72ce,_0x575ed4)=>{const _0x4ba339=a90_0x2271;_0xd32788[_0x4ba339(0x88)]((_0x2c4e86,_0x13752f)=>{const _0x1cceff=_0x4ba339;document['title']=_0x2c4e86[_0x1cceff(0x8b)][_0x2c4e86[_0x1cceff(0x8b)][_0x1cceff(0x95)]-0x1][_0x1cceff(0x74)]?.['title']||_0x4a72ce[_0x1cceff(0x91)][_0x1cceff(0x8f)];});};export const checkRolesPages=(_0x180dcb,_0x34dc8f,_0x38e28f)=>{const _0x213d60=a90_0x2271;_0x180dcb[_0x213d60(0x7e)](async(_0x4a5495,_0x35770b)=>{const _0x24104e=_0x213d60,_0x27d6b1=_0x4a5495[_0x24104e(0x8b)][_0x4a5495[_0x24104e(0x8b)]['length']-0x1][_0x24104e(0x98)][_0x24104e(0x75)]('/:')[0x0];if(_0x4a5495['meta'][_0x24104e(0x77)]===![]||_0x4a5495[_0x24104e(0x74)]?.[_0x24104e(0x8e)])return!![];while(_0x34dc8f[_0x24104e(0x7b)][_0x24104e(0x99)]){await funcs[_0x24104e(0x9a)](0x14);}await nextTick();if(_0x34dc8f[_0x24104e(0x77)][_0x24104e(0x7c)]['includes'](_0x27d6b1))return!![];const _0xa654a1={'redirectTo':_0x4a5495[_0x24104e(0x98)],..._0x4a5495['query']};return _0x34dc8f['getters'][_0x24104e(0x86)]&&(_0xa654a1['error']=_0x24104e(0x80)+_0x4a5495['path']+'\x20页面,如有需要请联系我们',Message({'message':_0xa654a1[_0x24104e(0x78)],'duration':0x2710})),{'path':_0x34dc8f[_0x24104e(0x77)][_0x24104e(0x7c)][0x0]||_0x24104e(0x8a),'query':_0xa654a1};}),nextTick(()=>{const _0x589688=_0x213d60;let _0x4ae285=![];watch(()=>_0x34dc8f[_0x589688(0x77)]['menus'],_0x18a871=>{const _0x3723fe=_0x589688;if(!_0x4ae285){if(!_0x18a871[_0x3723fe(0x95)])return;_0x4ae285=!![];}const _0x13793b=_0x34dc8f[_0x3723fe(0x77)][_0x3723fe(0x7c)],_0x5d81ec=(_0x329990,_0x17ff60)=>{const _0x9c87a9=_0x3723fe;let _0x5d1851;_0x329990[_0x9c87a9(0x96)]&&!_0x329990[_0x9c87a9(0x92)]?_0x5d1851=_0x329990[_0x9c87a9(0x96)]:_0x5d1851=[..._0x17ff60,_0x329990][_0x9c87a9(0x89)]((_0x334ff8,_0x3acb10)=>_0x334ff8+'/'+_0x3acb10['path'],'')[_0x9c87a9(0x7a)]('//','/'),_0x329990[_0x9c87a9(0x74)]||={},_0x329990[_0x9c87a9(0x74)][_0x9c87a9(0x77)]===![]?_0x329990[_0x9c87a9(0x73)]?.[_0x9c87a9(0x79)](_0x2b9006=>{const _0x16a732=_0x9c87a9;_0x2b9006[_0x16a732(0x74)]||={},_0x2b9006[_0x16a732(0x74)][_0x16a732(0x77)]||=![],_0x5d81ec(_0x2b9006,[..._0x17ff60,_0x329990]);}):(_0x329990[_0x9c87a9(0x74)][_0x9c87a9(0x7f)]=_0x329990['meta'][_0x9c87a9(0x8d)],parent&&(_0x329990[_0x9c87a9(0x74)][_0x9c87a9(0x8d)]==null&&(_0x329990[_0x9c87a9(0x74)][_0x9c87a9(0x8d)]??=parent[_0x9c87a9(0x74)]?.[_0x9c87a9(0x8d)],_0x329990[_0x9c87a9(0x74)]={..._0x329990['meta']}),_0x329990['meta'][_0x9c87a9(0x8e)]==null&&(_0x329990[_0x9c87a9(0x74)][_0x9c87a9(0x8e)]??=parent[_0x9c87a9(0x74)]?.[_0x9c87a9(0x8e)],_0x329990[_0x9c87a9(0x74)]={..._0x329990[_0x9c87a9(0x74)]})),_0x329990[_0x9c87a9(0x73)]?.['forEach'](_0xda0259=>_0x5d81ec(_0xda0259,[..._0x17ff60,_0x329990])),_0x329990[_0x9c87a9(0x74)][_0x9c87a9(0x8d)]!==![]&&_0x329990[_0x9c87a9(0x74)]['_hidden']!==!![]&&(_0x329990[_0x9c87a9(0x74)][_0x9c87a9(0x8d)]=!_0x13793b[_0x9c87a9(0x7d)](_0x5d1851),_0x329990['children']?.[_0x9c87a9(0x94)](_0x173df6=>_0x173df6[_0x9c87a9(0x74)][_0x9c87a9(0x8d)]===![])&&(_0x329990['meta'][_0x9c87a9(0x8d)]=![])));};_0x38e28f['forEach'](_0xf0232f=>_0x5d81ec(_0xf0232f,[]));},{'immediate':!![]});});};export default{'check404':check404,'setTitle':setTitle,'checkRolesPages':checkRolesPages};
|
package/packages/utils/model.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a91_0x5119(_0x504dd6,_0x4cad3a){const _0x42a956=a91_0x42a9();return a91_0x5119=function(_0x511916,_0xd4eadf){_0x511916=_0x511916-0x1dc;let _0x37dce0=_0x42a956[_0x511916];return _0x37dce0;},a91_0x5119(_0x504dd6,_0x4cad3a);}const a91_0x52554b=a91_0x5119;(function(_0x5e465a,_0x5c0c9a){const _0x62d7c0=a91_0x5119,_0x209dcf=_0x5e465a();while(!![]){try{const _0x4722f4=-parseInt(_0x62d7c0(0x1e3))/0x1*(-parseInt(_0x62d7c0(0x1e7))/0x2)+-parseInt(_0x62d7c0(0x1de))/0x3*(-parseInt(_0x62d7c0(0x1e0))/0x4)+parseInt(_0x62d7c0(0x1e9))/0x5*(parseInt(_0x62d7c0(0x1dc))/0x6)+-parseInt(_0x62d7c0(0x1e4))/0x7*(-parseInt(_0x62d7c0(0x1dd))/0x8)+-parseInt(_0x62d7c0(0x1e8))/0x9*(parseInt(_0x62d7c0(0x1e6))/0xa)+-parseInt(_0x62d7c0(0x1e1))/0xb+-parseInt(_0x62d7c0(0x1e5))/0xc*(parseInt(_0x62d7c0(0x1ea))/0xd);if(_0x4722f4===_0x5c0c9a)break;else _0x209dcf['push'](_0x209dcf['shift']());}catch(_0x310d8b){_0x209dcf['push'](_0x209dcf['shift']());}}}(a91_0x42a9,0x3620c));export const baseForm=()=>({'loading':![],'form':{},'initialForm':{},'formItems':[],'formRef':null,'formRules':{},'initialFormRules':{},'_isBaseForm':!![],'viewonly':![]});export const baseTable=(_0x1c8926={})=>({'loading':![],'query':{'page':0x1,'limit':0xa,'order':[],..._0x1c8926},'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_0x52554b(0x1df),'type':'selection'},{'type':a91_0x52554b(0x1e2)}],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};function a91_0x42a9(){const _0x4cf4c3=['1504bfyzGN','316392KuLIOH','left','12WTDreN','1413247ZNTbCC','_index','387354HTVNCr','12481FbEvTl','4140VWwrnt','17970RQcjXj','2ksqJpn','1368CLpQFm','815CzcUBX','26858AYdozm','10938yeFqXm'];a91_0x42a9=function(){return _0x4cf4c3;};return a91_0x42a9();}
|