@wp1001/ui 3.1.20 → 3.2.0
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/mobile.vue +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/xformitem/utils.jsx +0 -2
- 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 a76_0x38c2(_0x25e15f,_0x9115a1){const _0x199825=a76_0x1998();return a76_0x38c2=function(_0x38c20d,_0x5d01cc){_0x38c20d=_0x38c20d-0xcf;let _0x4c060e=_0x199825[_0x38c20d];return _0x4c060e;},a76_0x38c2(_0x25e15f,_0x9115a1);}function a76_0x1998(){const _0xced9f2=['853164nyIgxb','573525wcVVxC','数据表名称','prompts','autoGenerateColumns','1052870cTkrnO','1840473sRVKWZ','创建新的后台管理页面','admin_page','12iYYDar','949367WfIuDn','make-admin-page','56LRrYHq','353052SZCXDT','895252EUzIjL','[\x0a]'];a76_0x1998=function(){return _0xced9f2;};return a76_0x1998();}(function(_0x3415c5,_0x330053){const _0x345b16=a76_0x38c2,_0x13d463=_0x3415c5();while(!![]){try{const _0x7f5bf0=parseInt(_0x345b16(0xd4))/0x1+parseInt(_0x345b16(0xd8))/0x2+-parseInt(_0x345b16(0xd0))/0x3+-parseInt(_0x345b16(0xda))/0x4+parseInt(_0x345b16(0xcf))/0x5*(parseInt(_0x345b16(0xd3))/0x6)+parseInt(_0x345b16(0xd7))/0x7+parseInt(_0x345b16(0xd6))/0x8*(-parseInt(_0x345b16(0xdb))/0x9);if(_0x7f5bf0===_0x330053)break;else _0x13d463['push'](_0x13d463['shift']());}catch(_0x1c072f){_0x13d463['push'](_0x13d463['shift']());}}}(a76_0x1998,0x91708));import a76_0x4d4812 from'../utils/plop-utils.js';import a76_0x21fb65 from'./make-page-generator.js';import a76_0x6e15dc from'../actions/make-fill-admin-partials-action.js';const {makeInputPrompt,makeConfirmPrompt}=a76_0x4d4812,makeGenerator=_0x4e20cf=>{const _0x54ffac=a76_0x38c2,_0x4ef52b=_0x54ffac(0xd2),_0x37f6a5=a76_0x21fb65(_0x4e20cf,_0x4ef52b);return _0x4e20cf['setPartial']('fieldsPartial',_0x54ffac(0xd9)),{'name':_0x54ffac(0xd5),'description':_0x54ffac(0xd1),'prompts':[..._0x37f6a5[_0x54ffac(0xdd)],makeConfirmPrompt(_0x54ffac(0xde),'是否需要自动生成\x20table.columns\x20(表格的数据列)?'),{...makeInputPrompt('database','数据库名称'),'when':_0x3edeba=>_0x3edeba[_0x54ffac(0xde)]},{...makeInputPrompt('table',_0x54ffac(0xdc)),'when':_0x447ad9=>_0x447ad9['autoGenerateColumns']}],'actions':[a76_0x6e15dc(_0x4e20cf),..._0x37f6a5['actions']]};};export default makeGenerator;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x492e6a,_0x4ca999){const _0x35629d=a77_0x2edf,_0x149f56=_0x492e6a();while(!![]){try{const _0x2dba08=parseInt(_0x35629d(0x1bd))/0x1*(-parseInt(_0x35629d(0x1c8))/0x2)+-parseInt(_0x35629d(0x1df))/0x3*(parseInt(_0x35629d(0x1e4))/0x4)+-parseInt(_0x35629d(0x1c3))/0x5+-parseInt(_0x35629d(0x1c7))/0x6+parseInt(_0x35629d(0x1ca))/0x7*(parseInt(_0x35629d(0x1d4))/0x8)+parseInt(_0x35629d(0x1e8))/0x9*(-parseInt(_0x35629d(0x1d2))/0xa)+parseInt(_0x35629d(0x1dd))/0xb;if(_0x2dba08===_0x4ca999)break;else _0x149f56['push'](_0x149f56['shift']());}catch(_0x2cc515){_0x149f56['push'](_0x149f56['shift']());}}}(a77_0x4363,0x5aa57));function a77_0x4363(){const _0x9b85a4=['trimStart','changes','58340ABxrMk','cyan','writeSync','pascalCase','1161soqVDF','includes','\x20/\x20','length','join','listDir','63423gRjzLq','bgCyan','split','$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$','\x20构建页面失败','push','1157060RpGoPu','pop','\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','slice','595206xoGugl','12OoKvDp','log','4333Icnwtz','根据\x20backender\x20中已存在的数据库模型目录为其中所有模型创建后台管理页面','filter','make-admin-page','.js','runActions','replace','\x27,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20redirect:\x20\x27/','42620RvBgjH','trimEnd','8432XgXvnf','#code#','black','repeat','map','\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/','make-database-admin-pages','目的文件夹路径','/models/','17355745PtLuJI','getHelper','123MRinbu','\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','index.js'];a77_0x4363=function(){return _0x9b85a4;};return a77_0x4363();}function a77_0x2edf(_0x3023ab,_0xb6ace1){const _0x4363d3=a77_0x4363();return a77_0x2edf=function(_0x2edf10,_0x227d4b){_0x2edf10=_0x2edf10-0x1bb;let _0x403111=_0x4363d3[_0x2edf10];return _0x403111;},a77_0x2edf(_0x3023ab,_0xb6ace1);}import a77_0xb1c83c from'node:path';import a77_0x2a4cfb from'chalk';import a77_0x196b2c from'clipboardy';import{fsUtils}from'@wp1001/node';import a77_0x1a3e50 from'../utils/plop-utils.js';const {makeInputPrompt,getGenerator}=a77_0x1a3e50,makeGenerator=_0x3e681e=>{const _0x304ba1=a77_0x2edf,_0x5090f2=getGenerator(_0x3e681e,_0x304ba1(0x1cd),{'force':![]}),_0x5843fe=_0x3e681e['getHelper'](_0x304ba1(0x1e7)),_0x431d8b=_0x3e681e[_0x304ba1(0x1de)]('snakeCase'),_0x3d7c66={'name':_0x304ba1(0x1da),'description':_0x304ba1(0x1cb),'prompts':[makeInputPrompt('database','数据库名称'),makeInputPrompt('dir',_0x304ba1(0x1db))],'actions':[async({database:_0x37e651,dir:_0x38705e})=>{const _0x45ab78=_0x304ba1,_0x4149d9=a77_0xb1c83c[_0x45ab78(0x1bb)](_0x3e681e['backenderPath'],_0x45ab78(0x1dc)+_0x37e651);let _0x55b7b5=await fsUtils[_0x45ab78(0x1bc)](_0x4149d9);_0x55b7b5=_0x55b7b5[_0x45ab78(0x1cc)](_0x33cefd=>_0x33cefd[_0x45ab78(0x1e9)](_0x45ab78(0x1ce))&&!_0x33cefd['includes']('init-models.js')&&_0x33cefd[_0x45ab78(0x1bf)]('/')[_0x45ab78(0x1c4)]()!==_0x45ab78(0x1e1));const _0x2cbf7d=_0x55b7b5[_0x45ab78(0x1d8)](_0x47b46d=>_0x47b46d[_0x45ab78(0x1c6)](0x0,-0x3)),_0x4a2532=[];for(let _0x47c040=0x0,_0x394a20=_0x2cbf7d[_0x45ab78(0x1eb)];_0x47c040<_0x394a20;_0x47c040++){const _0x3431e0=_0x2cbf7d[_0x47c040],_0x4f5822=await _0x5090f2[_0x45ab78(0x1cf)]({'dir':_0x38705e,'pagename':_0x3431e0,'database':_0x37e651,'table':_0x431d8b(_0x3431e0)});!_0x4f5822['changes'][0x2]?console[_0x45ab78(0x1c9)](a77_0x2a4cfb['red']('数据表\x20'+_0x37e651+'.'+_0x3431e0+_0x45ab78(0x1c1)),_0x4f5822[_0x45ab78(0x1e3)]):_0x4a2532[_0x45ab78(0x1c2)](_0x4f5822),console[_0x45ab78(0x1c9)](a77_0x2a4cfb[_0x45ab78(0x1e5)]('Finished\x20'+(_0x47c040+0x1)+_0x45ab78(0x1ea)+_0x394a20+'\x20'+((_0x47c040+0x1)/_0x394a20*0x64)['toFixed'](0x2)+'%'));}console[_0x45ab78(0x1c9)](a77_0x2a4cfb[_0x45ab78(0x1be)]('^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^')),console[_0x45ab78(0x1c9)](a77_0x2a4cfb[_0x45ab78(0x1be)]('^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^'));const _0x4f626b=_0x4a2532[_0x45ab78(0x1d8)](_0x51ce6d=>_0x51ce6d[_0x45ab78(0x1e3)][0x2]['path']),_0x58cbd8=_0x4f626b['map'](_0x419d13=>{const _0x42f662=_0x45ab78;return _0x419d13[_0x42f662(0x1bf)]('\x0a')[_0x42f662(0x1d8)](_0x238815=>'\x20\x20'+_0x238815)[_0x42f662(0x1bb)]('\x0a')[_0x42f662(0x1d3)]();})[_0x45ab78(0x1bb)]('')[_0x45ab78(0x1e2)](),_0x1df6d2=(_0x45ab78(0x1d9)+_0x38705e+'\x27,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20name:\x20\x27'+_0x5843fe(_0x38705e)+_0x45ab78(0x1d1)+_0x38705e+'/'+_0x431d8b(_0x2cbf7d[0x0])+_0x45ab78(0x1c5)+_0x5843fe(_0x38705e)+_0x45ab78(0x1e0))[_0x45ab78(0x1bf)]('\x0a')[_0x45ab78(0x1d8)](_0x12cf4e=>_0x12cf4e[_0x45ab78(0x1c6)](0xa))['join']('\x0a'),_0x1b81da=_0x38705e['split']('/')[_0x45ab78(0x1eb)],_0x199201=_0x1df6d2[_0x45ab78(0x1d0)](_0x45ab78(0x1d5),_0x58cbd8)[_0x45ab78(0x1bf)]('\x0a')[_0x45ab78(0x1d8)](_0xf37609=>{const _0x1dc9da=_0x45ab78;return'\x20\x20'[_0x1dc9da(0x1d7)](_0x1b81da)+_0xf37609;})[_0x45ab78(0x1bb)]('\x0a')['trim']();a77_0x196b2c[_0x45ab78(0x1e6)](_0x199201),console[_0x45ab78(0x1c9)](_0x199201),console[_0x45ab78(0x1c9)](a77_0x2a4cfb[_0x45ab78(0x1d6)]['bgYellow']('上面有一个参考的\x20route\x20代码,\x20(已复制到剪贴板)')),console[_0x45ab78(0x1c9)](a77_0x2a4cfb[_0x45ab78(0x1be)]('$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$')),console[_0x45ab78(0x1c9)](a77_0x2a4cfb[_0x45ab78(0x1be)](_0x45ab78(0x1c0)));}]};return _0x3d7c66;};export default makeGenerator;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a78_0x48818a=a78_0xd924;function a78_0xd924(_0x1340f5,_0x1dce36){const _0x1ba2af=a78_0x1ba2();return a78_0xd924=function(_0xd924f4,_0x21eb4f){_0xd924f4=_0xd924f4-0x16d;let _0x33fe61=_0x1ba2af[_0xd924f4];return _0x33fe61;},a78_0xd924(_0x1340f5,_0x1dce36);}(function(_0x27bb35,_0x2e4fd3){const _0x4730c8=a78_0xd924,_0x1f814e=_0x27bb35();while(!![]){try{const _0x32ce1d=parseInt(_0x4730c8(0x17a))/0x1*(parseInt(_0x4730c8(0x177))/0x2)+-parseInt(_0x4730c8(0x17e))/0x3*(-parseInt(_0x4730c8(0x185))/0x4)+parseInt(_0x4730c8(0x188))/0x5*(-parseInt(_0x4730c8(0x170))/0x6)+-parseInt(_0x4730c8(0x186))/0x7*(-parseInt(_0x4730c8(0x179))/0x8)+-parseInt(_0x4730c8(0x17f))/0x9*(parseInt(_0x4730c8(0x181))/0xa)+parseInt(_0x4730c8(0x174))/0xb+-parseInt(_0x4730c8(0x171))/0xc;if(_0x32ce1d===_0x2e4fd3)break;else _0x1f814e['push'](_0x1f814e['shift']());}catch(_0x19339c){_0x1f814e['push'](_0x1f814e['shift']());}}}(a78_0x1ba2,0x28f5d));import a78_0x434b51 from'node:path';import a78_0x54b4a7 from'chalk';import a78_0x331ff2 from'clipboardy';import a78_0x12d7d4 from'../utils/plop-utils.js';function a78_0x1ba2(){const _0x323583=['bgYellow','10FJSMlK','node_modules/@wp1001/ui/packages/plop/templates/','目的文件夹路径','pagename','497316homlEn','11347jvGNXe','join','10DREVxo','src/views/{{dir}}/{{snakeCase\x20pagename}}','.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','slice','dirname','addMany','node_modules','/*.*','目的页面名称','\x27,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20name:\x20\x27','667494miUwIw','3331188ALSYHp','snakeCase','properCase','1300596bJTcKQ','getHelper','\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','4cxwrKW','\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','1544gGHYYM','157552ZdajGd','black','split','log','6MaJroe','2942829cAVKJP'];a78_0x1ba2=function(){return _0x323583;};return a78_0x1ba2();}const dirname=import.meta[a78_0x48818a(0x18c)][a78_0x48818a(0x17c)](a78_0x48818a(0x18e))[0x0],{makeInputPrompt}=a78_0x12d7d4,makePageGenerator=(_0x2675c3,_0x40d0f8)=>{const _0x491822=a78_0x48818a,_0x2b6846=_0x2675c3[_0x491822(0x175)](_0x491822(0x173)),_0x2e94fa=_0x2675c3[_0x491822(0x175)](_0x491822(0x172));return{'prompts':[makeInputPrompt('dir',_0x491822(0x183)),makeInputPrompt(_0x491822(0x184),_0x491822(0x16e))],'actions':[{'type':_0x491822(0x18d),'destination':a78_0x434b51[_0x491822(0x187)](dirname,_0x491822(0x189)),'base':a78_0x434b51[_0x491822(0x187)](dirname,'node_modules/@wp1001/ui/packages/plop/templates/'+_0x40d0f8),'templateFiles':a78_0x434b51[_0x491822(0x187)](dirname,_0x491822(0x182)+_0x40d0f8+_0x491822(0x16d))},function(_0x112898){const _0x17093e=_0x491822;let {dir:_0x28f6fa,pagename:_0x1a5122}=_0x112898;const _0x49e4f3=_0x2b6846(_0x1a5122),_0x5ad6ce=(_0x28f6fa?_0x2b6846(_0x28f6fa):'')+_0x49e4f3;_0x1a5122=_0x2e94fa(_0x1a5122);const _0x11b01c=(_0x17093e(0x176)+_0x1a5122+_0x17093e(0x16f)+_0x5ad6ce+'\x27,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20component:\x20()\x20=>\x20import(\x27@/views/'+(_0x28f6fa?_0x28f6fa+'/':'')+_0x1a5122+'/'+_0x1a5122+_0x17093e(0x18a)+_0x49e4f3+_0x17093e(0x178))[_0x17093e(0x17c)]('\x0a')['map'](_0x574d76=>_0x574d76[_0x17093e(0x18b)](0x8))[_0x17093e(0x187)]('\x0a');return a78_0x331ff2['writeSync'](_0x11b01c),console[_0x17093e(0x17d)](a78_0x54b4a7[_0x17093e(0x17b)][_0x17093e(0x180)]('这里有一个参考的\x20route\x20代码,\x20(已复制到剪贴板)')),_0x11b01c;}]};};export default makePageGenerator;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x2ede46,_0x2430fc){const _0x1046be=a79_0x4499,_0x9ad1cb=_0x2ede46();while(!![]){try{const _0x2bffa0=-parseInt(_0x1046be(0x1ae))/0x1*(-parseInt(_0x1046be(0x1bb))/0x2)+-parseInt(_0x1046be(0x1b5))/0x3+parseInt(_0x1046be(0x1bc))/0x4+parseInt(_0x1046be(0x1b8))/0x5*(parseInt(_0x1046be(0x1b3))/0x6)+-parseInt(_0x1046be(0x1ba))/0x7+parseInt(_0x1046be(0x1b0))/0x8*(parseInt(_0x1046be(0x1af))/0x9)+parseInt(_0x1046be(0x1b4))/0xa*(parseInt(_0x1046be(0x1b9))/0xb);if(_0x2bffa0===_0x2430fc)break;else _0x9ad1cb['push'](_0x9ad1cb['shift']());}catch(_0x5bf966){_0x9ad1cb['push'](_0x9ad1cb['shift']());}}}(a79_0x44f3,0x43c64));function a79_0x4499(_0x316891,_0x176a7e){const _0x44f3ff=a79_0x44f3();return a79_0x4499=function(_0x44996f,_0x49289d){_0x44996f=_0x44996f-0x1ad;let _0x5c11cb=_0x44f3ff[_0x44996f];return _0x5c11cb;},a79_0x4499(_0x316891,_0x176a7e);}import a79_0x442f73 from'./make-page-generator.js';const makeGenerator=_0x7adf42=>{const _0x5a390a=a79_0x4499,_0x1b7a66=_0x5a390a(0x1b2),_0xd45422=a79_0x442f73(_0x7adf42,_0x1b7a66);return{'name':_0x5a390a(0x1ad),'description':_0x5a390a(0x1b7),'prompts':[..._0xd45422[_0x5a390a(0x1b6)]],'actions':[..._0xd45422[_0x5a390a(0x1b1)]]};};export default makeGenerator;function a79_0x44f3(){const _0x36d587=['make-simple-page','45551aVkpgC','27FistFG','1117192wwZsxO','actions','simple_page','6dVawPn','2308410nkCyvY','520431SdwcqQ','prompts','创建新的页面','901205GFQPrX','11jfZWhX','3611965MSHRSx','2nrUBXF','365984ooybpV'];a79_0x44f3=function(){return _0x36d587;};return a79_0x44f3();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x3419ed,_0x1f54ff){const _0x3b4a62=a80_0x44c7,_0x49e2b0=_0x3419ed();while(!![]){try{const _0x2cfe0a=-parseInt(_0x3b4a62(0x16b))/0x1+parseInt(_0x3b4a62(0x163))/0x2+parseInt(_0x3b4a62(0x164))/0x3*(-parseInt(_0x3b4a62(0x171))/0x4)+parseInt(_0x3b4a62(0x16f))/0x5+parseInt(_0x3b4a62(0x16a))/0x6+-parseInt(_0x3b4a62(0x161))/0x7+-parseInt(_0x3b4a62(0x166))/0x8*(-parseInt(_0x3b4a62(0x165))/0x9);if(_0x2cfe0a===_0x1f54ff)break;else _0x49e2b0['push'](_0x49e2b0['shift']());}catch(_0x24dbed){_0x49e2b0['push'](_0x49e2b0['shift']());}}}(a80_0x4249,0x91afe));import a80_0x4c5634 from'node:path';import a80_0xbce8b2 from'chalk';function a80_0x44c7(_0x3ac36f,_0x4add98){const _0x4249d0=a80_0x4249();return a80_0x44c7=function(_0x44c79e,_0x2a4ffa){_0x44c79e=_0x44c79e-0x161;let _0x465f18=_0x4249d0[_0x44c79e];return _0x465f18;},a80_0x44c7(_0x3ac36f,_0x4add98);}function a80_0x4249(){const _0x348cdb=['../backender','5071945YLihtS','name','64vDsTQs','5042695AfTPfj','欢迎使用\x20stardust-frontender\x20代码生成工具,请从以下生成器中选择一个\x20:\x20','483364dRplXx','11013DbWvsu','9Mofbzd','754648BtFmXC','absPath','bgGreen','keys','5777310ELzYvX','937432wzQoGo','forEach','setGenerator'];a80_0x4249=function(){return _0x348cdb;};return a80_0x4249();}import a80_0xd559b2 from'./utils/plop-utils.js';import a80_0x2ea2f2 from'./generators/make-admin-page.js';import a80_0x5d179e from'./generators/make-database-admin-pages.js';import a80_0x560f7f from'./generators/make-simple-page.js';const generators={'makeAdminPage':a80_0x2ea2f2,'makeDatabaseAdminPages':a80_0x5d179e,'makeSimplePage':a80_0x560f7f};export default function (plop){const _0x35c7e9=a80_0x44c7,hello=_0x35c7e9(0x162);plop['setWelcomeMessage'](a80_0xbce8b2[_0x35c7e9(0x168)]['white'](hello)),plop['backenderPath']=a80_0xd559b2[_0x35c7e9(0x167)](plop,_0x35c7e9(0x16e)),Object[_0x35c7e9(0x169)](generators)[_0x35c7e9(0x16c)](name=>{const _0x1efba0=_0x35c7e9,generator=generators[name](plop);plop[_0x1efba0(0x16d)](generator[_0x1efba0(0x170)],generator);});}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a81_0x43c47e=a81_0xa1d8;(function(_0x5d045e,_0x111634){const _0x4b6d2d=a81_0xa1d8,_0x19afad=_0x5d045e();while(!![]){try{const _0x37bbba=parseInt(_0x4b6d2d(0x141))/0x1+-parseInt(_0x4b6d2d(0x131))/0x2+parseInt(_0x4b6d2d(0x130))/0x3+parseInt(_0x4b6d2d(0x138))/0x4*(-parseInt(_0x4b6d2d(0x135))/0x5)+parseInt(_0x4b6d2d(0x14c))/0x6*(-parseInt(_0x4b6d2d(0x160))/0x7)+parseInt(_0x4b6d2d(0x132))/0x8*(-parseInt(_0x4b6d2d(0x15f))/0x9)+parseInt(_0x4b6d2d(0x12b))/0xa;if(_0x37bbba===_0x111634)break;else _0x19afad['push'](_0x19afad['shift']());}catch(_0x4226a3){_0x19afad['push'](_0x19afad['shift']());}}}(a81_0x1083,0x9b56d));import a81_0x2849fb from'node:path';import a81_0x67b6c2 from'chalk';function a81_0x1083(){const _0x5d2ae5=['maxlength','number','default','join','includes','INTEGER','red','then','15579daYtOw','1855MeMKGa','exists','type','$$\x20store.dictionaries.yesNo\x20$$','options','sequelize','comment','textarea','21646560oszfVD','comp','target','precision','visible','370227FcrATa','226508XRamIE','2472WwdlOl','DATE','formAttrs','10SbxxlY','prefixIcon','foreignKey','2273324qqukaO','updater_id','x-select','map','\x20not\x20found','.stardust/db.js','find','values','init-models.js','1182134uSaQrM','canView','backenderPath','database','ElDatePicker','replaceAll','models','name','FLOAT','STRING','assign','23754Qqaoqd','tableName','calendar','_length','primaryKeyField','config.js','creator_id','toLowerCase','TEXT','tableAttributes','config'];a81_0x1083=function(){return _0x5d2ae5;};return a81_0x1083();}function a81_0xa1d8(_0x3b43f4,_0x466287){const _0x108304=a81_0x1083();return a81_0xa1d8=function(_0xa1d85,_0x2b4810){_0xa1d85=_0xa1d85-0x128;let _0x10504e=_0x108304[_0xa1d85];return _0x10504e;},a81_0xa1d8(_0x3b43f4,_0x466287);}import{fsUtils}from'@wp1001/node';const importFile=async _0x5e1f2d=>{return new Promise(_0x2acdba=>{const _0x3b61eb=a81_0xa1d8;import(_0x5e1f2d)[_0x3b61eb(0x15e)](_0x2acdba);});},viewOnlyFields=[a81_0x43c47e(0x152),a81_0x43c47e(0x139),'created_at','updated_at','deleted_at'],operatorFields=[a81_0x43c47e(0x152),a81_0x43c47e(0x139)],getModel=async(_0x221030,_0x1979de)=>{const _0x493a04=a81_0x43c47e,_0x482029=a81_0x2849fb[_0x493a04(0x15a)](_0x221030[_0x493a04(0x143)],_0x493a04(0x147),_0x1979de['database'],_0x493a04(0x140));if(!await fsUtils[_0x493a04(0x161)](_0x482029)){const _0x354743=a81_0x67b6c2[_0x493a04(0x15d)](_0x482029+_0x493a04(0x13c));throw _0x354743;}const _0x46a8d9=a81_0x2849fb[_0x493a04(0x15a)](_0x221030['backenderPath'],_0x493a04(0x151)),_0x22962a=a81_0x2849fb['join'](_0x221030[_0x493a04(0x143)],_0x493a04(0x13d)),_0x1424a7=(await importFile(_0x46a8d9))['default'],_0x1139a9=(await importFile(_0x482029))[_0x493a04(0x159)],_0x52fbd7=_0x1424a7['datasources'][_0x493a04(0x13e)](_0x4f9db5=>_0x4f9db5[_0x493a04(0x144)]===_0x1979de[_0x493a04(0x144)]),{connect:_0x537c75}=await importFile(_0x22962a),_0x1fa7c8=_0x537c75(_0x1424a7,_0x52fbd7),_0x18e677=Object[_0x493a04(0x13f)](_0x1139a9(_0x1fa7c8,![])),_0x2dd377=_0x18e677['find'](_0x35dbe2=>_0x35dbe2[_0x493a04(0x14d)][_0x493a04(0x153)]()===_0x1979de['table']);return _0x2dd377;},getSequeliezeDataType=_0x1b53e6=>{const _0x4a6d4d=a81_0x43c47e,_0x4b866a=_0x1b53e6['type']||_0x1b53e6,_0x202e08={'name':_0x4b866a['key']||_0x4b866a[_0x4a6d4d(0x148)]};return _0x4b866a[_0x4a6d4d(0x14f)]&&(_0x202e08['_length']=_0x4b866a[_0x4a6d4d(0x14f)]),_0x202e08;},makeFields=_0x32d5e1=>{const _0x44305d=a81_0x43c47e,_0x1b46a1=Object['entries'](_0x32d5e1[_0x44305d(0x155)])['map'](_0x2255de=>{const _0xe4e458=_0x44305d,[_0x97641,_0xe6a0d0]=_0x2255de,_0x177db2=getSequeliezeDataType(_0xe6a0d0);let _0x541e6e=_0xe6a0d0['label']||_0xe6a0d0[_0xe4e458(0x129)]||_0x97641;_0x541e6e=_0x541e6e[_0xe4e458(0x146)]('\x27','\x22');const _0x143747={'label':_0x541e6e,'prop':_0x97641,'tableAttrs':{...calcColumnWidth(_0x177db2)},'formAttrs':{}};fillFieldType(_0x143747,_0x177db2),fillFieldForeign(_0x143747,_0x32d5e1,_0x97641);const {autoIncrement:_0x2bebd3,_autoGenerated:_0xbc0853}=_0xe6a0d0;return(_0x2bebd3||_0xbc0853||viewOnlyFields['includes'](_0x97641))&&(_0x143747[_0xe4e458(0x12f)]=![],_0x143747[_0xe4e458(0x142)]=!![],delete _0x143747['comp'],delete _0x143747[_0xe4e458(0x134)]),_0x143747;});return _0x1b46a1;},calcColumnWidth=_0x51dd25=>{const _0x4fee18=a81_0x43c47e;switch(_0x51dd25[_0x4fee18(0x148)]){case _0x4fee18(0x14a):{return _0x51dd25[_0x4fee18(0x14f)]>0x14?{'minWidth':0x96}:{'width':0x19+_0x51dd25[_0x4fee18(0x14f)]*0xc};};case _0x4fee18(0x154):{return{'minWidth':0xc8};}case _0x4fee18(0x133):{return{'width':0xaf};};default:{return{'width':0x64};}}},fillFieldType=(_0x2eae6e,_0x56259e)=>{const _0x487b3e=a81_0x43c47e,{formAttrs:_0x5b2157}=_0x2eae6e;switch(_0x56259e[_0x487b3e(0x148)]){case _0x487b3e(0x15c):{_0x2eae6e['type']=_0x487b3e(0x158),_0x5b2157[_0x487b3e(0x12e)]=0x1;break;}case _0x487b3e(0x149):{_0x2eae6e[_0x487b3e(0x162)]='number';break;}case'BOOLEAN':{_0x2eae6e[_0x487b3e(0x12c)]=_0x487b3e(0x13a),_0x2eae6e[_0x487b3e(0x164)]=_0x487b3e(0x163);break;}case _0x487b3e(0x14a):{_0x5b2157[_0x487b3e(0x157)]=_0x56259e[_0x487b3e(0x14f)];break;}case _0x487b3e(0x154):{_0x2eae6e[_0x487b3e(0x162)]=_0x487b3e(0x12a);break;}case _0x487b3e(0x133):{_0x2eae6e[_0x487b3e(0x12c)]=_0x487b3e(0x145),_0x5b2157[_0x487b3e(0x136)]=_0x487b3e(0x14e);break;}}},fillFieldForeign=(_0x1ad025,_0x59c9a9,_0x464248)=>{const _0x2b5520=a81_0x43c47e,_0x146d02=Object[_0x2b5520(0x13f)](_0x59c9a9['associations']),_0x118f92=_0x146d02[_0x2b5520(0x13b)](_0x502f52=>_0x502f52[_0x2b5520(0x137)]),_0x43b15b=_0x59c9a9[_0x2b5520(0x128)][_0x2b5520(0x156)][_0x2b5520(0x144)];if(_0x118f92[_0x2b5520(0x15b)](_0x464248)){const _0x1fd9d5=_0x146d02[_0x2b5520(0x13e)](_0x16a07b=>_0x16a07b[_0x2b5520(0x137)]===_0x464248);delete _0x1ad025[_0x2b5520(0x134)]['precision'],delete _0x1ad025[_0x2b5520(0x162)],_0x1ad025[_0x2b5520(0x164)]=[],_0x1ad025[_0x2b5520(0x12c)]=_0x2b5520(0x13a);const _0x15f438=_0x1fd9d5[_0x2b5520(0x12d)][_0x2b5520(0x150)]||'';Object[_0x2b5520(0x14b)](_0x1ad025[_0x2b5520(0x134)],{'modelName':_0x43b15b+'.'+_0x1fd9d5['target'][_0x2b5520(0x164)][_0x2b5520(0x14d)],'text':_0x15f438,'value':_0x15f438});}else viewOnlyFields[_0x2b5520(0x15b)](_0x464248)&&(delete _0x1ad025['formAttrs'][_0x2b5520(0x12e)],delete _0x1ad025[_0x2b5520(0x162)],operatorFields[_0x2b5520(0x15b)](_0x464248)&&(_0x1ad025[_0x2b5520(0x12f)]=![]));};export{importFile,getModel,getSequeliezeDataType,makeFields,calcColumnWidth};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a82_0x504c(){const _0x533654=['replaceAll','getGenerator','265iCAHbP','198471WGyzBj','map','resolve','92396YxVbSr','1635921EZtHeO','9030040VsjKOQ','\x27$$\x20','assign','getPlopfilePath','join','\x20$$\x27','345166DGZVTX','confirm','list','runGeneratorPrompts','stringify','runGeneratorActions','12228084kSPgcv','请输入\x20','indexOf','234zghTXH','890149rzVacF'];a82_0x504c=function(){return _0x533654;};return a82_0x504c();}(function(_0x3e8953,_0x68e0bd){const _0xa6df2=a82_0x3bd9,_0x78e084=_0x3e8953();while(!![]){try{const _0x2d23a0=-parseInt(_0xa6df2(0x12b))/0x1+parseInt(_0xa6df2(0x13a))/0x2+-parseInt(_0xa6df2(0x133))/0x3+parseInt(_0xa6df2(0x132))/0x4*(parseInt(_0xa6df2(0x12e))/0x5)+-parseInt(_0xa6df2(0x12a))/0x6*(-parseInt(_0xa6df2(0x12f))/0x7)+parseInt(_0xa6df2(0x134))/0x8+-parseInt(_0xa6df2(0x127))/0x9;if(_0x2d23a0===_0x68e0bd)break;else _0x78e084['push'](_0x78e084['shift']());}catch(_0x5291dc){_0x78e084['push'](_0x78e084['shift']());}}}(a82_0x504c,0xcc664));import a82_0x29b7d9 from'node:path';import a82_0x3f1cd0 from'node-plop/src/generator-runner.js';const getGenerator=(_0x429f94,_0x4216a1,_0x36ba70)=>{const _0x4c04da=a82_0x3bd9,_0x1ad5cd=a82_0x3f1cd0(_0x429f94,_0x36ba70),_0x2c4815=_0x429f94[_0x4c04da(0x12d)](_0x4216a1);return Object[_0x4c04da(0x136)](_0x2c4815,{'runActions':(_0x5c6e37,_0x637bfe)=>_0x1ad5cd[_0x4c04da(0x126)](_0x2c4815,_0x5c6e37,_0x637bfe),'runPrompts':(_0x3e86f1=[])=>_0x1ad5cd[_0x4c04da(0x124)](_0x2c4815,_0x3e86f1)}),_0x2c4815;},absPath=(_0xf570cb,_0x502fdc)=>{const _0x2a7a2a=a82_0x3bd9;return a82_0x29b7d9[_0x2a7a2a(0x131)](_0xf570cb[_0x2a7a2a(0x137)](),_0x502fdc);},addValidator=(_0x48327d,_0x4577b9)=>{_0x48327d['validate']=_0x319a5f=>{return/.+/['test'](_0x319a5f)?!![]:'请输入'+_0x4577b9;};},makeInputPrompt=(_0x341fcf,_0x1a2d8b,_0x246b95=!![])=>{const _0x9ad680=a82_0x3bd9,_0x47bcb8={'type':'input','name':_0x341fcf,'message':_0x9ad680(0x128)+_0x1a2d8b+'('+(_0x246b95?'必填':'选填')+')'};return _0x246b95&&addValidator(_0x47bcb8,_0x341fcf),_0x47bcb8;},makeConfirmPrompt=(_0x4dc004,_0xb68fe0,_0x50540b)=>{const _0x2f270b=a82_0x3bd9,_0x564706={'type':_0x2f270b(0x13b),'name':_0x4dc004,'message':_0xb68fe0,'default':_0x50540b};return _0x564706;},makeSelectPrompt=(_0x23bc3d,_0x34e1e7,_0xfbdf08,_0x5ae972)=>{const _0x26f43f=a82_0x3bd9,_0x171f27={'type':_0x26f43f(0x13c),'name':_0x23bc3d,'choices':_0x34e1e7,'message':_0xfbdf08,'default':_0x5ae972};return _0x171f27;},makePartial=_0x45b90a=>{const _0x1177f3=a82_0x3bd9,_0x627839=JSON[_0x1177f3(0x125)](_0x45b90a,null,0x2)['split']('\x0a')['slice'](0x1,-0x1)[_0x1177f3(0x130)]((_0x1089ee,_0x54c0ed)=>{const _0x49bf25=_0x1177f3;_0x1089ee=_0x1089ee['slice'](0x2);let _0xa9c917=_0x1089ee['split'](':');return _0xa9c917[0x0][_0x49bf25(0x129)]('-')>=0x0?_0xa9c917[0x0]=_0xa9c917[0x0][_0x49bf25(0x12c)]('\x22','\x27'):_0xa9c917[0x0]=_0xa9c917[0x0]['replaceAll']('\x22',''),_0xa9c917=_0xa9c917[_0x49bf25(0x130)]((_0x286e5f,_0xb2ff88)=>{const _0x226aaf=_0x49bf25;return _0xb2ff88===0x0?_0x286e5f:_0x286e5f[_0x226aaf(0x12c)]('\x22','\x27');}),_0xa9c917[_0x49bf25(0x138)](':');});let _0x133805=_0x627839['join']('\x0a')+'\x0a';return _0x133805=_0x133805[_0x1177f3(0x12c)](_0x1177f3(0x135),'')[_0x1177f3(0x12c)](_0x1177f3(0x139),''),_0x133805;},plopUtils={'getGenerator':getGenerator,'absPath':absPath,'addValidator':addValidator,'makeInputPrompt':makeInputPrompt,'makeConfirmPrompt':makeConfirmPrompt,'makeSelectPrompt':makeSelectPrompt,'makePartial':makePartial};function a82_0x3bd9(_0x16854d,_0x2b4c53){const _0x504c64=a82_0x504c();return a82_0x3bd9=function(_0x3bd9bd,_0x18db0b){_0x3bd9bd=_0x3bd9bd-0x124;let _0x5f2528=_0x504c64[_0x3bd9bd];return _0x5f2528;},a82_0x3bd9(_0x16854d,_0x2b4c53);}export default plopUtils;
|
package/packages/utils/crypt.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x38279d,_0x74324f){const _0x38a1e6=a83_0x115c,_0x527e8f=_0x38279d();while(!![]){try{const _0x31e4e2=-parseInt(_0x38a1e6(0x1ae))/0x1+parseInt(_0x38a1e6(0x1a7))/0x2+parseInt(_0x38a1e6(0x1b3))/0x3*(parseInt(_0x38a1e6(0x1ac))/0x4)+parseInt(_0x38a1e6(0x1a9))/0x5+-parseInt(_0x38a1e6(0x1af))/0x6+parseInt(_0x38a1e6(0x1b1))/0x7*(-parseInt(_0x38a1e6(0x1a8))/0x8)+parseInt(_0x38a1e6(0x1ab))/0x9;if(_0x31e4e2===_0x74324f)break;else _0x527e8f['push'](_0x527e8f['shift']());}catch(_0x58b87a){_0x527e8f['push'](_0x527e8f['shift']());}}}(a83_0x5470,0x983bf));const simple={'encrypt'(_0x489583){const _0x1830d2=a83_0x115c;return _0x489583=encodeURIComponent(_0x489583),_0x489583=btoa(_0x489583),_0x489583=_0x489583['split'](''),_0x489583=_0x489583[_0x1830d2(0x1a6)](_0x31ac00=>String[_0x1830d2(0x1aa)](_0x31ac00[_0x1830d2(0x1ad)](0x0)+0x6)),_0x489583[_0x1830d2(0x1b2)](),_0x489583=_0x489583[_0x1830d2(0x1b4)](''),_0x489583;},'decrypt'(_0x1517c7){const _0x34bc8e=a83_0x115c;return _0x1517c7=_0x1517c7[_0x34bc8e(0x1b0)](''),_0x1517c7[_0x34bc8e(0x1b2)](),_0x1517c7=_0x1517c7[_0x34bc8e(0x1a6)](_0xd6e2a1=>String[_0x34bc8e(0x1aa)](_0xd6e2a1['charCodeAt'](0x0)-0x6)),_0x1517c7=_0x1517c7[_0x34bc8e(0x1b4)](''),_0x1517c7=atob(_0x1517c7),_0x1517c7=decodeURIComponent(_0x1517c7),_0x1517c7;}};function a83_0x115c(_0x4d4b74,_0x56e9ba){const _0x54702d=a83_0x5470();return a83_0x115c=function(_0x115ce1,_0x76e02b){_0x115ce1=_0x115ce1-0x1a6;let _0x57312d=_0x54702d[_0x115ce1];return _0x57312d;},a83_0x115c(_0x4d4b74,_0x56e9ba);}function a83_0x5470(){const _0x3c1669=['348928RZcPwY','6236652CWPpuF','split','4420654SomOly','reverse','24omAeEY','join','map','867970KPRseM','8iAJPGc','5181245XFuDsq','fromCharCode','905337KSUrdB','536308VSxTQo','charCodeAt'];a83_0x5470=function(){return _0x3c1669;};return a83_0x5470();}export{simple};export default{'simple':simple};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x15799b,_0x596929){const _0x2ce4b3=a84_0x3cc2,_0x14a585=_0x15799b();while(!![]){try{const _0x1bf6be=parseInt(_0x2ce4b3(0x113))/0x1*(parseInt(_0x2ce4b3(0x10d))/0x2)+parseInt(_0x2ce4b3(0x115))/0x3+-parseInt(_0x2ce4b3(0x10f))/0x4*(-parseInt(_0x2ce4b3(0x10e))/0x5)+-parseInt(_0x2ce4b3(0x111))/0x6+-parseInt(_0x2ce4b3(0x118))/0x7*(-parseInt(_0x2ce4b3(0x119))/0x8)+parseInt(_0x2ce4b3(0x11d))/0x9+-parseInt(_0x2ce4b3(0x10b))/0xa;if(_0x1bf6be===_0x596929)break;else _0x14a585['push'](_0x14a585['shift']());}catch(_0x45e5bb){_0x14a585['push'](_0x14a585['shift']());}}}(a84_0x4169,0x5b14b));const {highdict}=StardustJs,_checkOk=(_0x45458e,_0xf60f0)=>{const _0x222434=a84_0x3cc2;let _0x141145=_0xf60f0;if(typeof _0xf60f0===_0x222434(0x11b))_0x141145=highdict['get'](_0x45458e,_0xf60f0);else typeof _0xf60f0==='function'&&(_0x141145=_0xf60f0(_0x45458e));return!!_0x141145;};function a84_0x4169(){const _0xd576f=['30789rCzyWk','table.loading','model','4118443TUkoEK','8zuwZSH','dialog.loading','string','loading','4932900JFmkfL','apply','get','14489550ZoWkts','model.loading','10398lauGWs','5bJZArA','2975108xRIieC','invalid\x20params\x20for\x20@loading','2438412pdawxI','set','65eFMtHA','dialog'];a84_0x4169=function(){return _0xd576f;};return a84_0x4169();}export const when=_0x1c555a=>{return(_0x15c6ea,{name:_0x1d425c,addInitializer:_0xc8f8a1,..._0x1ad568})=>{_0xc8f8a1(function(){const _0x3df49a=this,_0x3a7491=_0x3df49a[_0x1d425c];_0x3df49a[_0x1d425c]=function(..._0xf0692f){const _0x5b719d=a84_0x3cc2;if(!_checkOk(_0x3df49a,_0x1c555a))return;return _0x3a7491[_0x5b719d(0x11e)](_0x3df49a,_0xf0692f);};});};};export const not=_0x4644ee=>{return(_0x57a86d,{name:_0x45a2a9,addInitializer:_0xbcfb96,..._0x1808a6})=>{_0xbcfb96(function(){const _0x1eaf96=this,_0xc302dd=_0x1eaf96[_0x45a2a9];_0x1eaf96[_0x45a2a9]=function(..._0x42ef7e){const _0x5ead2c=a84_0x3cc2;if(_checkOk(_0x1eaf96,_0x4644ee))return;return _0xc302dd[_0x5ead2c(0x11e)](_0x1eaf96,_0x42ef7e);};});};};function a84_0x3cc2(_0x4ad9ab,_0x4e86bc){const _0x41691c=a84_0x4169();return a84_0x3cc2=function(_0x3cc26e,_0x3c8188){_0x3cc26e=_0x3cc26e-0x10a;let _0x162f84=_0x41691c[_0x3cc26e];return _0x162f84;},a84_0x3cc2(_0x4ad9ab,_0x4e86bc);}export const loading=_0x33f636=>{return(_0x675776,{name:_0x2af41a,addInitializer:_0x44efea,..._0x29bb70})=>{_0x44efea(function(){const _0x186337=a84_0x3cc2,_0x2f3d84=this,_0x4ae260=_0x2f3d84[_0x2af41a];_0x33f636??=_0x2f3d84['table']&&_0x186337(0x116)||_0x2f3d84[_0x186337(0x117)]&&_0x186337(0x10c)||_0x2f3d84[_0x186337(0x114)]&&_0x186337(0x11a)||_0x186337(0x11c),_0x2f3d84[_0x2af41a]=function(..._0x5cc705){const _0x2e4697=_0x186337;if(!_0x33f636)throw _0x2e4697(0x110);if(highdict[_0x2e4697(0x10a)](_0x2f3d84,_0x33f636))return;highdict[_0x2e4697(0x112)](_0x2f3d84,_0x33f636,!![]);const _0x994da3=_0x4ae260[_0x2e4697(0x11e)](_0x2f3d84,_0x5cc705);if(_0x994da3 instanceof Promise)return _0x994da3['then']((..._0x396755)=>{const _0xf21eaa=_0x2e4697;return highdict[_0xf21eaa(0x112)](_0x2f3d84,_0x33f636,![]),_0x396755;});return highdict['set'](_0x2f3d84,_0x33f636,![]),_0x994da3;};});};};export default{'when':when,'not':not,'loading':loading};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0xfdc627,_0x16e805){const _0x549e45=a85_0x34f1,_0x30ca60=_0xfdc627();while(!![]){try{const _0x47df72=-parseInt(_0x549e45(0x13c))/0x1+parseInt(_0x549e45(0x151))/0x2*(-parseInt(_0x549e45(0x136))/0x3)+parseInt(_0x549e45(0x146))/0x4*(-parseInt(_0x549e45(0x159))/0x5)+-parseInt(_0x549e45(0x12f))/0x6+parseInt(_0x549e45(0x133))/0x7+-parseInt(_0x549e45(0x155))/0x8*(parseInt(_0x549e45(0x13d))/0x9)+parseInt(_0x549e45(0x152))/0xa*(parseInt(_0x549e45(0x156))/0xb);if(_0x47df72===_0x16e805)break;else _0x30ca60['push'](_0x30ca60['shift']());}catch(_0x58a00e){_0x30ca60['push'](_0x30ca60['shift']());}}}(a85_0x2a3b,0x853de));import a85_0x216794 from'../assets/devtools-detector.js';const {addListener,launch}=a85_0x216794,disallowDevtools=(_0x2d22b9={},_0x16e5eb)=>{const _0x3a6c49=a85_0x34f1,_0xde39c1=_0x1590cf=>{const _0x22d55d=a85_0x34f1;_0x1590cf&&(document['documentElement'][_0x22d55d(0x14f)]=decodeURIComponent(atob(_0x22d55d(0x14c))),window[_0x22d55d(0x153)][_0x22d55d(0x131)]=decodeURIComponent(atob('YWJvdXQlM0FibGFuaw==')));};addListener(_0xde39c1),(!window[_0x3a6c49(0x132)]['name']||!console[_0x3a6c49(0x14e)][_0x3a6c49(0x142)]||!RegExp[_0x3a6c49(0x154)][_0x3a6c49(0x154)]()['includes'](_0x3a6c49(0x154))||!history[_0x3a6c49(0x13f)][_0x3a6c49(0x154)]['toString']()[_0x3a6c49(0x139)](_0x3a6c49(0x154)))&&_0xde39c1(!![]),!(_0x16e5eb||JSON[_0x3a6c49(0x144)](_0x2d22b9[_0x3a6c49(0x150)]?_0x2d22b9['VITE_PROD_DEBUGGERABLE_DOMAINS']:_0x2d22b9[_0x3a6c49(0x14d)]))[_0x3a6c49(0x139)](window[_0x3a6c49(0x153)][_0x3a6c49(0x138)])&&(launch(),window[_0x3a6c49(0x145)](_0x3a6c49(0x141),_0x52ed9d=>{const _0x1e9672=_0x3a6c49;!(_0x52ed9d[_0x1e9672(0x13b)]instanceof SVGElement)&&![_0x1e9672(0x137),_0x1e9672(0x13a),'AUDIO',_0x1e9672(0x149),_0x1e9672(0x130),_0x1e9672(0x14b),_0x1e9672(0x148)]['includes'](_0x52ed9d[_0x1e9672(0x13b)][_0x1e9672(0x15a)])&&_0x52ed9d['preventDefault']();},!![]),window[_0x3a6c49(0x145)](_0x3a6c49(0x134),_0x2e31c7=>{const _0xdf3788=_0x3a6c49;(_0x2e31c7[_0xdf3788(0x15b)]===_0xdf3788(0x140)||(_0x2e31c7[_0xdf3788(0x14a)]||_0x2e31c7[_0xdf3788(0x143)])&&(_0x2e31c7[_0xdf3788(0x157)]||_0x2e31c7['shiftKey'])&&[_0xdf3788(0x135),_0xdf3788(0x158),_0xdf3788(0x13e),'KeyC']['indexOf'](_0x2e31c7['code'])>=0x0)&&_0x2e31c7[_0xdf3788(0x147)]();},!![]));};export default disallowDevtools;function a85_0x34f1(_0x7fdab6,_0x26b7db){const _0x2a3b97=a85_0x2a3b();return a85_0x34f1=function(_0x34f190,_0x3b74ac){_0x34f190=_0x34f190-0x12f;let _0x39d754=_0x2a3b97[_0x34f190];return _0x39d754;},a85_0x34f1(_0x7fdab6,_0x26b7db);}function a85_0x2a3b(){const _0x229e2b=['nodeName','code','3576546jhXJtU','PICTURE','href','eval','1723603uUXzZi','keydown','KeyU','3MIQgqP','IMG','hostname','includes','CANVAS','target','791340cLEMEC','8442LLRauK','KeyJ','pushState','F12','contextmenu','name','ctrlKey','parse','addEventListener','20DXQzfX','preventDefault','TEXTAREA','VIDEO','metaKey','INPUT','JUU0JUI4JUJBJUU0JUJBJTg2JUU3JUJEJTkxJUU3JUFCJTk5JUU3JTlBJTg0JUU1JUFFJTg5JUU1JTg1JUE4JUVGJUJDJThDJUU3JUE2JTgxJUU2JUFEJUEyJUU4JUIwJTgzJUU4JUFGJTk1','VITE_DEV_DEBUGGERABLE_DOMAINS','clear','innerHTML','PROD','543240WzsZRC','17590QbQPtE','location','toString','1912wtjWLp','19723tnRfQS','altKey','KeyI','971125SSmbrf'];a85_0x2a3b=function(){return _0x229e2b;};return a85_0x2a3b();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a86_0x690d2b=a86_0x5201;function a86_0x5201(_0x2ba712,_0xdb46c4){const _0x3a0b63=a86_0x3a0b();return a86_0x5201=function(_0x52012c,_0x393ae0){_0x52012c=_0x52012c-0xdc;let _0x12acde=_0x3a0b63[_0x52012c];return _0x12acde;},a86_0x5201(_0x2ba712,_0xdb46c4);}(function(_0x3f041d,_0x71803b){const _0x1f618a=a86_0x5201,_0xe4a7f0=_0x3f041d();while(!![]){try{const _0x46e45c=-parseInt(_0x1f618a(0xde))/0x1+parseInt(_0x1f618a(0xf0))/0x2+-parseInt(_0x1f618a(0x103))/0x3*(-parseInt(_0x1f618a(0x106))/0x4)+parseInt(_0x1f618a(0xfc))/0x5+parseInt(_0x1f618a(0xfe))/0x6+parseInt(_0x1f618a(0xee))/0x7+-parseInt(_0x1f618a(0xe0))/0x8*(parseInt(_0x1f618a(0x100))/0x9);if(_0x46e45c===_0x71803b)break;else _0xe4a7f0['push'](_0xe4a7f0['shift']());}catch(_0x3d27ab){_0xe4a7f0['push'](_0xe4a7f0['shift']());}}}(a86_0x3a0b,0x3f052));export const pop=_0x1b7ca5=>{const _0x597630=a86_0x5201,{width:_0x2f184e,height:_0x34c678}=_0x1b7ca5[_0x597630(0xe7)]();_0x1b7ca5[_0x597630(0x104)]=_0x2f184e,_0x1b7ca5[_0x597630(0xf9)]=_0x34c678;const _0x22ebbd=_0x1b7ca5[_0x597630(0xff)]('2d');class _0xe0c9fa{constructor(_0x2045a7,_0x2ae5b7,_0x2d411f,_0x2e110f,_0xf103e9,_0x2bdfb0,_0x4dddde){const _0x2e9a85=_0x597630;this['x']=_0x2045a7,this['y']=_0x2ae5b7,this[_0x2e9a85(0xdd)]=_0x2d411f,this[_0x2e9a85(0xf7)]=_0x2e110f,this['vx']=_0xf103e9,this['vy']=_0x2bdfb0,this[_0x2e9a85(0xe4)]=_0x4dddde;}[_0x597630(0xf3)](){const _0x189f2c=_0x597630;this['x']+=this['vx'],this['y']+=this['vy'],this[_0x189f2c(0xe4)][_0x189f2c(0xe3)](),this[_0x189f2c(0xe4)][_0x189f2c(0xfd)]=this[_0x189f2c(0xf7)],this[_0x189f2c(0xe4)][_0x189f2c(0xef)](this['x'],this['y'],this[_0x189f2c(0xdd)],0x0,Math['PI']*0x2),this[_0x189f2c(0xe4)][_0x189f2c(0xea)](),this[_0x189f2c(0xf5)]();}[_0x597630(0xf5)](){const _0x7c2528=_0x597630;if(this['x']<this[_0x7c2528(0xdd)])this['x']=this[_0x7c2528(0xdd)],this['vx']=-this['vx'];else this['x']+this[_0x7c2528(0xdd)]>_0x2f184e&&(this['x']=_0x2f184e-this['radius'],this['vx']=-this['vx']);if(this['y']<this[_0x7c2528(0xdd)])this['y']=this[_0x7c2528(0xdd)],this['vy']=-this['vy'];else this['y']+this[_0x7c2528(0xdd)]>_0x34c678&&(this['y']=_0x34c678-this[_0x7c2528(0xdd)],this['vy']=-this['vy']);}}const _0x3a6742=()=>_0x22ebbd['clearRect'](0x0,0x0,_0x2f184e,_0x34c678),_0x3eacf9=_0x136fa5=>Math[_0x597630(0xf2)](Math[_0x597630(0xfb)]()*_0x136fa5);let _0x297782=0x0,_0x154b78=0.01,_0x4d119a=0x0;const _0x2679e9=()=>{const _0x1e80d4=_0x597630,_0x4f9522=_0x22ebbd[_0x1e80d4(0xe6)](0x0,0x0,_0x2f184e*1.5,_0x34c678*1.5);!_0x4d119a?(_0x297782+=_0x154b78,_0x297782<=0x0&&(_0x297782=0x0,_0x154b78=-_0x154b78,_0x4d119a=_0x3b93da*0x1e),_0x297782>=0x1&&(_0x297782=0x1,_0x154b78=-_0x154b78,_0x4d119a=_0x3b93da*0x1e)):_0x4d119a--,_0x4f9522[_0x1e80d4(0xdf)](0x0,'rgba(250,\x20220,\x2020,\x200.5)'),_0x4f9522[_0x1e80d4(0xdf)](_0x297782,'rgba(20,\x2020,\x2020,\x200.5)'),_0x22ebbd[_0x1e80d4(0xfd)]=_0x4f9522,_0x22ebbd[_0x1e80d4(0xf8)](0x0,0x0,_0x2f184e,_0x34c678);},_0x3352c4=Math['floor'](_0x2f184e/0x64),_0x5b123e=Math['floor'](_0x34c678/0x64),_0x3b93da=0x14,_0x2a8e18=Math[_0x597630(0xe1)](0x3e8/_0x3b93da),_0x2b8cf9=Array[_0x597630(0xe2)]({'length':0x34})['map'](()=>{const _0x37c3d8=_0x597630,_0x1acd29=Math[_0x37c3d8(0xf2)](_0x3eacf9(_0x3352c4+_0x5b123e)*1.5+_0x3eacf9(0x5));let _0x1537af=_0x3eacf9(_0x2f184e),_0x52a61d=_0x3eacf9(_0x34c678);_0x1537af=Math['min'](Math[_0x37c3d8(0xe9)](_0x1acd29,_0x1537af),_0x2f184e-_0x1acd29),_0x52a61d=Math[_0x37c3d8(0x101)](Math[_0x37c3d8(0xe9)](_0x1acd29,_0x52a61d),_0x34c678-_0x1acd29);let _0x2172c9=_0x3eacf9(0x2)?(_0x3eacf9(0x2)+0x2)*_0x3352c4:(_0x3eacf9(-0x1)-0x2)*_0x3352c4,_0x3db089=_0x3eacf9(0x2)?(_0x3eacf9(0x2)+0x2)*_0x5b123e:(_0x3eacf9(-0x1)-0x2)*_0x5b123e;return _0x2172c9=Math[_0x37c3d8(0xf2)](_0x2172c9/_0x3b93da),_0x3db089=Math['floor'](_0x3db089/_0x3b93da),new _0xe0c9fa(_0x1537af,_0x52a61d,_0x1acd29,_0x37c3d8(0xec)+_0x3eacf9(0x100)+',\x20'+_0x3eacf9(0x100)+',\x20'+_0x3eacf9(0x100)+',\x20'+(_0x3eacf9(0x5)+0x5)/0xa+')',_0x2172c9,_0x3db089,_0x22ebbd);});let _0x3cce58,_0x1f3017;_0x1b7ca5[_0x597630(0xe8)]('mouseover',_0x500a16=>{const _0x4f1e11=_0x597630;_0x3cce58=_0x500a16['pageX'],_0x1f3017=_0x500a16[_0x4f1e11(0x107)];}),_0x1b7ca5[_0x597630(0xe8)](_0x597630(0xf1),_0x3ea490=>{const _0x1000ce=_0x597630;if(_0x3cce58===undefined){_0x3cce58=_0x3ea490[_0x1000ce(0xeb)],_0x1f3017=_0x3ea490[_0x1000ce(0x107)];return;}const _0x6bf7ea=_0x3ea490[_0x1000ce(0xeb)]-_0x3cce58,_0x1fbce9=_0x3ea490[_0x1000ce(0x107)]-_0x1f3017;_0x2b8cf9[_0x1000ce(0xe5)](_0x2fe504=>{_0x2fe504['x']+=_0x6bf7ea/_0x3b93da,_0x2fe504['y']+=_0x1fbce9/_0x3b93da;}),_0x3cce58=_0x3ea490[_0x1000ce(0xeb)],_0x1f3017=_0x3ea490[_0x1000ce(0x107)];});let _0x12ef61=Date[_0x597630(0x105)](),_0x436177=null;const _0x423002=()=>{const _0x122f5a=_0x597630;Date[_0x122f5a(0x105)]()-_0x12ef61>=_0x2a8e18&&(_0x3a6742(),_0x2679e9(),_0x2b8cf9[_0x122f5a(0xe5)](_0x3a4529=>_0x3a4529['update']()),_0x12ef61=Date[_0x122f5a(0x105)]()),_0x436177=requestAnimationFrame(_0x423002);};return _0x436177=requestAnimationFrame(_0x423002),()=>cancelAnimationFrame(_0x436177);};export const createWatermark=({text:_0x2a018c,gap:_0x490b31,fontSize:_0x17d078,color:_0x9c62af,width:width=window[a86_0x690d2b(0xf4)],height:height=window[a86_0x690d2b(0xdc)],drawMode:drawMode='fill'})=>{const _0x1328c6=a86_0x690d2b,_0x1a7692=document['createElement'](_0x1328c6(0xed));_0x1a7692['width']=width,_0x1a7692[_0x1328c6(0xf9)]=height;const _0x132e12=_0x1a7692[_0x1328c6(0xff)]('2d');_0x132e12['font']=_0x17d078+_0x1328c6(0xfa),_0x132e12[drawMode+_0x1328c6(0x102)]=_0x9c62af;const _0xead101=_0x132e12['measureText'](_0x2a018c)[_0x1328c6(0x104)],_0x137ad6=_0xead101+_0x490b31,_0x33f6ee=_0x17d078+_0x490b31;for(let _0x5f0806=_0x490b31/0x2;_0x5f0806<height;_0x5f0806+=_0x33f6ee){for(let _0x8ec980=_0x490b31/0x2;_0x8ec980<width;_0x8ec980+=_0x137ad6){_0x132e12[drawMode+_0x1328c6(0xf6)](_0x2a018c,_0x8ec980,_0x5f0806);}}return _0x1a7692;};export default{'pop':pop,'createWatermark':createWatermark};function a86_0x3a0b(){const _0x45004e=['beginPath','ctx','forEach','createLinearGradient','getBoundingClientRect','addEventListener','max','fill','pageX','rgba(','canvas','303184xISRfu','arc','392424ITRgtV','mousemove','floor','update','innerWidth','detectWall','Text','color','fillRect','height','px\x20Arial','random','1898845gFDWVz','fillStyle','1891824neoOgJ','getContext','45YMVeWV','min','Style','833322yVqLeu','width','now','4eKmRLr','pageY','innerHeight','radius','179676fXsDxt','addColorStop','1239304vosniT','round','from'];a86_0x3a0b=function(){return _0x45004e;};return a86_0x3a0b();}
|
package/packages/utils/funcs.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x51ae60,_0x20e778){const _0x59e53e=a87_0x176c,_0x4e0f4b=_0x51ae60();while(!![]){try{const _0x1eea77=parseInt(_0x59e53e(0xcb))/0x1+-parseInt(_0x59e53e(0xcd))/0x2*(-parseInt(_0x59e53e(0xb8))/0x3)+-parseInt(_0x59e53e(0xb3))/0x4*(-parseInt(_0x59e53e(0xa8))/0x5)+parseInt(_0x59e53e(0xc7))/0x6+parseInt(_0x59e53e(0xce))/0x7+parseInt(_0x59e53e(0xa1))/0x8*(-parseInt(_0x59e53e(0xc6))/0x9)+parseInt(_0x59e53e(0xa0))/0xa*(-parseInt(_0x59e53e(0xc4))/0xb);if(_0x1eea77===_0x20e778)break;else _0x4e0f4b['push'](_0x4e0f4b['shift']());}catch(_0x569554){_0x4e0f4b['push'](_0x4e0f4b['shift']());}}}(a87_0x422e,0x6f32f));function a87_0x176c(_0x32493d,_0x577192){const _0x422efe=a87_0x422e();return a87_0x176c=function(_0x176ca6,_0x187d0d){_0x176ca6=_0x176ca6-0x9c;let _0x103b07=_0x422efe[_0x176ca6];return _0x103b07;},a87_0x176c(_0x32493d,_0x577192);}import{toRaw,markRaw}from'vue';export const validateForm=async _0x3f98f4=>{const _0x21d42c=a87_0x176c,_0x1afe02=await _0x3f98f4[_0x21d42c(0xc0)]?.[_0x21d42c(0xae)]()[_0x21d42c(0xc9)](()=>!![])[_0x21d42c(0xa5)](()=>![]),_0x4e7adf=await Promise[_0x21d42c(0xbe)](_0x3f98f4[_0x21d42c(0xbd)]?.[_0x21d42c(0xb0)](_0x4b7b57=>{const _0x26f3b1=_0x21d42c;return _0x4b7b57['comp']?.[_0x26f3b1(0xd6)](_0x26f3b1(0xd9))||_0x4b7b57['comp']?.[_0x26f3b1(0xd6)](_0x26f3b1(0xa7));})['map'](_0x2418b5=>validateForm(_0x2418b5['form'])));return _0x1afe02&&_0x4e7adf[_0x21d42c(0xba)](_0x454c91=>_0x454c91);};export const formatPrecision=(_0x22a37f,_0x3120d8)=>{const _0x5c5e49=a87_0x176c;if(typeof _0x22a37f!==_0x5c5e49(0xa4)){const _0x508163=parseFloat(_0x22a37f)||null;if(typeof _0x508163!==_0x5c5e49(0xa4))return _0x22a37f;_0x22a37f=_0x508163;}return _0x22a37f[_0x5c5e49(0xd2)](_0x3120d8)*0x1;};export const formatOptions=(_0x8f4e92,_0x328375)=>{const _0x533b4e=a87_0x176c,_0x37f99e=_0x8f4e92['__v_isRef']?_0x8f4e92[_0x533b4e(0xd4)]:toRaw(_0x8f4e92),{text:text=_0x533b4e(0xb6),value:value=_0x533b4e(0xd4)}=_0x328375,_0x459dfb=_0x37f99e[_0x533b4e(0xad)](_0x1b0479=>{const _0x379163=_0x533b4e;return typeof _0x1b0479==='object'?{'text':_0x1b0479[text],'value':_0x1b0479[value],'disabled':_0x1b0479[_0x379163(0xb5)],'raw':markRaw(_0x1b0479)}:{'text':_0x1b0479,'value':_0x1b0479};});if(!_0x328375[_0x533b4e(0x9f)])return _0x459dfb;const _0x3a7d3e=typeof _0x328375['sort']==='string'?_0x328375[_0x533b4e(0x9f)]:_0x328375['text']||'text';return _0x459dfb[_0x533b4e(0x9f)]((_0xbbec57,_0x40fad2)=>{return _0xbbec57[_0x3a7d3e]['localeCompare'](_0x40fad2[_0x3a7d3e]);});};export const injectVanFieldProvide=_0x5a0623=>{const _0x9e14ca=a87_0x176c,_0x40faa3=_0x5a0623['_'][_0x9e14ca(0xb9)],_0x344c5c=Object[_0x9e14ca(0x9d)](_0x40faa3);if(!_0x344c5c[_0x9e14ca(0xcc)])return;_0x5a0623[_0x9e14ca(0xc3)]=_0x40faa3[_0x344c5c[0x0]];if(!_0x5a0623[_0x9e14ca(0xc3)]?.[_0x9e14ca(0xd7)])return _0x5a0623['provide']=null;_0x5a0623['provide']['customValue'][_0x9e14ca(0xd4)]=()=>_0x5a0623[_0x9e14ca(0xc1)];};export const getUrlType=_0x450bc5=>{const _0x3176c4=a87_0x176c,_0x5dcc5a=_0x450bc5?.['split']('.')['pop']()[_0x3176c4(0xd8)]();if([_0x3176c4(0xc8),_0x3176c4(0xb7),_0x3176c4(0xbf),_0x3176c4(0xaf),'webp'][_0x3176c4(0xcf)](_0x5dcc5a))return _0x3176c4(0xc2);else{if(['mp4',_0x3176c4(0xa3),_0x3176c4(0xd5),'3gpp',_0x3176c4(0xa9),'mov']['includes'](_0x5dcc5a))return _0x3176c4(0xaa);else{if(_0x5dcc5a===_0x3176c4(0xb4))return _0x3176c4(0xb4);else{if(_0x5dcc5a===_0x3176c4(0xac)||_0x5dcc5a===_0x3176c4(0xb1))return'docx';else{if(_0x5dcc5a===_0x3176c4(0xa2)||_0x5dcc5a===_0x3176c4(0xc5))return _0x3176c4(0xc5);else{if(_0x5dcc5a===_0x3176c4(0xbc)||_0x5dcc5a===_0x3176c4(0xb2))return _0x3176c4(0xb2);else{if([_0x3176c4(0xd1),'rar','7z',_0x3176c4(0xca),_0x3176c4(0xd0)][_0x3176c4(0xcf)](_0x5dcc5a))return _0x3176c4(0xd1);}}}}}}return _0x3176c4(0xab);};export const getFiletypeIcon=_0x4bbca1=>{const _0x59bce5=a87_0x176c;if(_0x4bbca1==='pdf')return _0x59bce5(0x9c);if(_0x4bbca1==='docx')return _0x59bce5(0xd3);if(_0x4bbca1==='xlsx')return _0x59bce5(0xbb);if(_0x4bbca1===_0x59bce5(0xb2))return _0x59bce5(0x9e);if(_0x4bbca1===_0x59bce5(0xd1))return'formkit:zip';return _0x59bce5(0xa6);};function a87_0x422e(){const _0x2742c5=['gif','filter','docx','pptx','1820716JdJONX','pdf','disabled','text','jpg','3DoJKHv','provides','every','file-icons:microsoft-excel','ppt','formItems','all','jpeg','formRef','modelValue','image','provide','119317NfFUDi','xlsx','89001zTKmBB','22734Gtrwvu','png','then','tar','779361BaBNut','length','1363458AYyfNr','4015837gERxye','includes','gzip','zip','toFixed','file-icons:microsoft-word','value','ogg','endsWith','customValue','toLowerCase','XForm','iwwa:file-pdf','getOwnPropertySymbols','file-icons:microsoft-powerpoint','sort','1870fvuKkN','8vznqSl','xls','webm','number','catch','bi:file-pdf-fill','x-form','5hgjsTR','avi','video','others','doc','map','validate'];a87_0x422e=function(){return _0x2742c5;};return a87_0x422e();}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(_0x4cea47,_0x16ab29){var _0x3ba359=a88_0x2f68,_0x1648bd=_0x4cea47();while(!![]){try{var _0x4f9319=-parseInt(_0x3ba359(0x116))/0x1*(-parseInt(_0x3ba359(0x111))/0x2)+-parseInt(_0x3ba359(0x10e))/0x3*(-parseInt(_0x3ba359(0x113))/0x4)+parseInt(_0x3ba359(0x10c))/0x5+-parseInt(_0x3ba359(0x10d))/0x6+parseInt(_0x3ba359(0x110))/0x7*(-parseInt(_0x3ba359(0x112))/0x8)+parseInt(_0x3ba359(0x114))/0x9*(parseInt(_0x3ba359(0x117))/0xa)+parseInt(_0x3ba359(0x115))/0xb*(-parseInt(_0x3ba359(0x10f))/0xc);if(_0x4f9319===_0x16ab29)break;else _0x1648bd['push'](_0x1648bd['shift']());}catch(_0x5339d1){_0x1648bd['push'](_0x1648bd['shift']());}}}(a88_0x4086,0xec996));import a88_0x1c1230 from'./crypt.js';import a88_0x1c4055 from'./decorators.js';import a88_0x10deb4 from'./effects.js';import{validateForm,formatPrecision,formatOptions,getUrlType,getFiletypeIcon}from'./funcs.js';import{Message,Notify,Confirm,Prompt}from'./message.js';import a88_0x5d7aa0 from'./middlewares.js';import{baseForm,baseTable,baseDialog,baseModel}from'./model.js';function a88_0x2f68(_0x4b679f,_0x2e03c0){var _0x40860f=a88_0x4086();return a88_0x2f68=function(_0x2f68f6,_0x936c93){_0x2f68f6=_0x2f68f6-0x10c;var _0x556e7b=_0x40860f[_0x2f68f6];return _0x556e7b;},a88_0x2f68(_0x4b679f,_0x2e03c0);}function a88_0x4086(){var _0x13e655=['157768pqXAJr','10aodgdE','7689800TQzXyp','7476786mQUyzC','10446GxkVIv','156LbXdCo','7329giqxjP','8izqyiP','3448EGdLLR','556DULLGq','14498523IfKYKz','1351713prbyBs'];a88_0x4086=function(){return _0x13e655;};return a88_0x4086();}import{initFields,initModel,initTable,initDialog,initForm,initFormRules,initDefaultForm,isWhenMatched,triggers}from'./modelUtils.js';export{a88_0x1c1230 as crypt,a88_0x10deb4 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_0x1c1230,'decorators':a88_0x1c4055,'effects':a88_0x10deb4,'validateForm':validateForm,'formatPrecision':formatPrecision,'formatOptions':formatOptions,'getUrlType':getUrlType,'getFiletypeIcon':getFiletypeIcon,'Message':Message,'Notify':Notify,'Confirm':Confirm,'Prompt':Prompt,'middlewares':a88_0x5d7aa0,'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
|
-
|
|
1
|
+
const a89_0x1f7924=a89_0xfead;(function(_0x5748e8,_0x15d7e8){const _0x4e8658=a89_0xfead,_0x4132b0=_0x5748e8();while(!![]){try{const _0x54c962=parseInt(_0x4e8658(0x157))/0x1+parseInt(_0x4e8658(0x146))/0x2+parseInt(_0x4e8658(0x153))/0x3+parseInt(_0x4e8658(0x159))/0x4*(-parseInt(_0x4e8658(0x158))/0x5)+-parseInt(_0x4e8658(0x15a))/0x6*(parseInt(_0x4e8658(0x145))/0x7)+-parseInt(_0x4e8658(0x13e))/0x8*(-parseInt(_0x4e8658(0x150))/0x9)+parseInt(_0x4e8658(0x13b))/0xa;if(_0x54c962===_0x15d7e8)break;else _0x4132b0['push'](_0x4132b0['shift']());}catch(_0x3de284){_0x4132b0['push'](_0x4132b0['shift']());}}}(a89_0x42bc,0xe6d35));let {ElMessage,ElNotification,ElMessageBox}=window[a89_0x1f7924(0x14a)]||{},{showToast,showNotify,showConfirmDialog}=window[a89_0x1f7924(0x155)]||{};export const initMessageUtils=({ElementPlus:_0x3ca289,Vant:_0x1d4b3e})=>{const _0x442a84=a89_0x1f7924;_0x3ca289&&(ElMessage=_0x3ca289['ElMessage'],ElNotification=_0x3ca289['ElNotification'],ElMessageBox=_0x3ca289[_0x442a84(0x142)]),_0x1d4b3e&&(showToast=_0x1d4b3e[_0x442a84(0x141)],showNotify=_0x1d4b3e['showNotify'],showConfirmDialog=_0x1d4b3e[_0x442a84(0x13c)]);};export const Message=_0x1c5597=>{const _0x5dd3fe=a89_0x1f7924;let _0x4ca1fe=typeof _0x1c5597!=='string'?_0x1c5597:{'message':_0x1c5597};_0x4ca1fe={'type':_0x5dd3fe(0x14c),'duration':0xbb8,..._0x4ca1fe};const {isMobile:isMobile=window[_0x5dd3fe(0x149)],type:_0x1887f2}=_0x4ca1fe;if(isMobile){if(_0x1887f2==='error'||_0x1887f2===_0x5dd3fe(0x154))_0x4ca1fe[_0x5dd3fe(0x14e)]=_0x5dd3fe(0x143);_0x4ca1fe[_0x5dd3fe(0x13f)]||=0xf4240,showToast(_0x4ca1fe);}else ElMessage({'showClose':!![],'grouping':!![],..._0x4ca1fe});};function a89_0xfead(_0x1489a4,_0x248dd3){const _0x42bc09=a89_0x42bc();return a89_0xfead=function(_0xfead50,_0x56b607){_0xfead50=_0xfead50-0x138;let _0x11144b=_0x42bc09[_0xfead50];return _0x11144b;},a89_0xfead(_0x1489a4,_0x248dd3);}export const Notify=_0x1ff8b3=>{const _0x325993=a89_0x1f7924;let _0xe01b28=typeof _0x1ff8b3!=='string'?_0x1ff8b3:{'message':_0x1ff8b3};_0xe01b28={'type':_0x325993(0x14c),'duration':0xbb8,..._0xe01b28};const {isMobile:isMobile=window[_0x325993(0x149)],type:_0x472617}=_0xe01b28;if(isMobile){if(_0x472617===_0x325993(0x14c))_0xe01b28['type']=_0x325993(0x144);showNotify(_0xe01b28);}else ElNotification({'showClose':!![],..._0xe01b28});};export const Confirm=_0x26b48e=>{const _0x4acac1=a89_0x1f7924;let _0x1d961e=null;const {isMobile:isMobile=window[_0x4acac1(0x149)]}=_0x26b48e;return isMobile?_0x1d961e=showConfirmDialog(_0x26b48e):_0x1d961e=ElMessageBox[_0x4acac1(0x151)](_0x26b48e[_0x4acac1(0x138)]||'',_0x26b48e[_0x4acac1(0x14d)]||'',{'draggable':!![],..._0x26b48e,'type':_0x26b48e[_0x4acac1(0x14e)]||_0x4acac1(0x15b),'confirmButtonText':_0x26b48e[_0x4acac1(0x14f)]||'确定','cancelButtonText':_0x26b48e[_0x4acac1(0x156)]||'取消'}),_0x1d961e['then'](()=>{const _0x37910b=_0x4acac1;return _0x26b48e[_0x37910b(0x14b)]?_0x37910b(0x151):!![];})[_0x4acac1(0x13d)](_0x1f2d9c=>{const _0x18d8f5=_0x4acac1;return _0x26b48e[_0x18d8f5(0x14b)]?_0x1f2d9c:![];});};function a89_0x42bc(){const _0x204864=['fail','danger','12721814YYdzdx','1559418MjKlVc','string','prompt','isMobile','ElementPlus','distinguishCancelAndClose','error','title','type','confirmButtonText','261dyMIGY','confirm','success','4644045Rojovk','warning','vant','cancelButtonText','111823BMxFeu','10175TgLljc','2968qnsGqA','6warPGt','info','请输入','message','loading','html','13577150ZxVZsy','showConfirmDialog','catch','131192dZkIDG','z-index','primary','showToast','ElMessageBox'];a89_0x42bc=function(){return _0x204864;};return a89_0x42bc();}export const Prompt=_0x475047=>{const _0x206311=a89_0x1f7924;return ElMessageBox[_0x206311(0x148)](_0x475047[_0x206311(0x138)],_0x475047[_0x206311(0x14d)],{'confirmButtonText':'确定','cancelButtonText':'取消','inputPattern':/[^\s]+/,'inputErrorMessage':_0x206311(0x15c),..._0x475047})['then'](({value:_0xc80ef2})=>_0xc80ef2)[_0x206311(0x13d)](()=>'');};for(let type of[a89_0x1f7924(0x152),a89_0x1f7924(0x154),'info',a89_0x1f7924(0x14c),a89_0x1f7924(0x140),a89_0x1f7924(0x139),a89_0x1f7924(0x143),a89_0x1f7924(0x13a)]){Message[type]=Message[type[0x0]]=_0x3faaf5=>{const _0x2a90cd=typeof _0x3faaf5!=='string'?_0x3faaf5:{'message':_0x3faaf5};return Message({'type':type,..._0x2a90cd});},Notify[type]=Notify[type[0x0]]=_0x449b12=>{const _0x374d9a=a89_0x1f7924,_0x3145cf=typeof _0x449b12!==_0x374d9a(0x147)?_0x449b12:{'message':_0x449b12};return Notify({'type':type,..._0x3145cf});},Confirm[type]=Confirm[type[0x0]]=_0x263f9c=>Confirm({'type':type,..._0x263f9c});}export default{'initMessageUtils':initMessageUtils,'Message':Message,'Notify':Notify,'Confirm':Confirm,'Prompt':Prompt};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x2a4bee,_0xf6d2ef){const _0x59c678=a90_0x37dc,_0x147fef=_0x2a4bee();while(!![]){try{const _0x1c0de3=-parseInt(_0x59c678(0x1cd))/0x1*(-parseInt(_0x59c678(0x1c3))/0x2)+parseInt(_0x59c678(0x1d0))/0x3*(parseInt(_0x59c678(0x1b7))/0x4)+parseInt(_0x59c678(0x1db))/0x5*(-parseInt(_0x59c678(0x1bb))/0x6)+parseInt(_0x59c678(0x1c5))/0x7+parseInt(_0x59c678(0x1ce))/0x8*(-parseInt(_0x59c678(0x1dd))/0x9)+-parseInt(_0x59c678(0x1d7))/0xa+-parseInt(_0x59c678(0x1c2))/0xb;if(_0x1c0de3===_0xf6d2ef)break;else _0x147fef['push'](_0x147fef['shift']());}catch(_0x5a1b07){_0x147fef['push'](_0x147fef['shift']());}}}(a90_0x16ce,0xad263));import{watch,nextTick}from'vue';function a90_0x37dc(_0x298dd3,_0xca0def){const _0x16cede=a90_0x16ce();return a90_0x37dc=function(_0x37dcc7,_0x5f2f74){_0x37dcc7=_0x37dcc7-0x1b7;let _0x340817=_0x16cede[_0x37dcc7];return _0x340817;},a90_0x37dc(_0x298dd3,_0xca0def);}import{Message}from'./message.js';const {funcs}=StardustJs;export const check404=(_0x304a3d,_0x1c5d09,_0x36d5ca)=>{const _0x88913b=a90_0x37dc;_0x304a3d[_0x88913b(0x1d6)](async(_0x480dce,_0x1a5c6e)=>{const _0xe91ad2=_0x88913b;return!!_0x480dce[_0xe91ad2(0x1d2)][_0xe91ad2(0x1bd)]||'/404';});};export const setTitle=(_0x5ad429,_0x4a1e56,_0x521830)=>{const _0x420ac2=a90_0x37dc;_0x5ad429[_0x420ac2(0x1c8)]((_0x31d43a,_0x390e08)=>{const _0x2c1a68=_0x420ac2;document[_0x2c1a68(0x1c1)]=_0x31d43a[_0x2c1a68(0x1d2)][_0x31d43a[_0x2c1a68(0x1d2)][_0x2c1a68(0x1bd)]-0x1]['meta']?.[_0x2c1a68(0x1c1)]||_0x4a1e56['app'][_0x2c1a68(0x1d8)];});};function a90_0x16ce(){const _0x543d12=['redirect','2380FcPnme','forEach','1977813LJSdnn','1255136mOpIGj','error','replace','受限于您的账号权限,暂时无法访问\x20','534eVxPjt','reduce','length','split','children','hidden','title','2418570aWtMTe','468746azSJPc','component','9286347gRdLTk','acl','/404','afterEach','logined','meta','visitable','logging','4dqwbnx','32cEdNQt','getters','9KhbnzD','_hidden','matched','path','sleep','paths','beforeEach','13549840pTjSJI','sitename','includes'];a90_0x16ce=function(){return _0x543d12;};return a90_0x16ce();}export const checkRolesPages=(_0xe809bc,_0x54dbd0,_0x5e1c82)=>{const _0x2933ac=a90_0x37dc;_0xe809bc[_0x2933ac(0x1d6)](async(_0x3834dc,_0x3dc5f8)=>{const _0x49ff64=_0x2933ac,_0x4b9e9a=_0x3834dc[_0x49ff64(0x1d2)][_0x3834dc[_0x49ff64(0x1d2)][_0x49ff64(0x1bd)]-0x1][_0x49ff64(0x1d3)][_0x49ff64(0x1be)]('/:')[0x0];if(_0x3834dc[_0x49ff64(0x1ca)][_0x49ff64(0x1c6)]===![]||_0x3834dc[_0x49ff64(0x1ca)]?.[_0x49ff64(0x1cb)])return!![];while(_0x54dbd0[_0x49ff64(0x1cf)][_0x49ff64(0x1cc)]){await funcs[_0x49ff64(0x1d4)](0x14);}await nextTick();if(_0x54dbd0[_0x49ff64(0x1c6)][_0x49ff64(0x1d5)][_0x49ff64(0x1d9)](_0x4b9e9a))return!![];const _0x4f7927={'redirectTo':_0x3834dc[_0x49ff64(0x1d3)],..._0x3834dc['query']};return _0x54dbd0[_0x49ff64(0x1cf)][_0x49ff64(0x1c9)]&&(_0x4f7927[_0x49ff64(0x1b8)]=_0x49ff64(0x1ba)+_0x3834dc[_0x49ff64(0x1d3)]+'\x20页面,如有需要请联系我们',Message({'message':_0x4f7927[_0x49ff64(0x1b8)],'duration':0x2710})),{'path':_0x54dbd0[_0x49ff64(0x1c6)]['paths'][0x0]||_0x49ff64(0x1c7),'query':_0x4f7927};}),nextTick(()=>{const _0x14a035=_0x2933ac;let _0x55f51f=![];watch(()=>_0x54dbd0[_0x14a035(0x1c6)]['menus'],_0x566607=>{const _0x554c8b=_0x14a035;if(!_0x55f51f){if(!_0x566607[_0x554c8b(0x1bd)])return;_0x55f51f=!![];}const _0x2aeb59=_0x54dbd0[_0x554c8b(0x1c6)][_0x554c8b(0x1d5)],_0x34aa34=(_0x9ee453,_0x211b68)=>{const _0x2c3d23=_0x554c8b;let _0x8cfb26;_0x9ee453[_0x2c3d23(0x1da)]&&!_0x9ee453[_0x2c3d23(0x1c4)]?_0x8cfb26=_0x9ee453[_0x2c3d23(0x1da)]:_0x8cfb26=[..._0x211b68,_0x9ee453][_0x2c3d23(0x1bc)]((_0xd3f884,_0xa7d988)=>_0xd3f884+'/'+_0xa7d988['path'],'')[_0x2c3d23(0x1b9)]('//','/'),_0x9ee453[_0x2c3d23(0x1ca)]||={},_0x9ee453[_0x2c3d23(0x1ca)][_0x2c3d23(0x1c6)]===![]?_0x9ee453[_0x2c3d23(0x1bf)]?.[_0x2c3d23(0x1dc)](_0x5bd11f=>{const _0x2e03b0=_0x2c3d23;_0x5bd11f['meta']||={},_0x5bd11f[_0x2e03b0(0x1ca)][_0x2e03b0(0x1c6)]||=![],_0x34aa34(_0x5bd11f,[..._0x211b68,_0x9ee453]);}):(_0x9ee453[_0x2c3d23(0x1ca)][_0x2c3d23(0x1d1)]=_0x9ee453[_0x2c3d23(0x1ca)]['hidden'],parent&&(_0x9ee453[_0x2c3d23(0x1ca)][_0x2c3d23(0x1c0)]==null&&(_0x9ee453[_0x2c3d23(0x1ca)][_0x2c3d23(0x1c0)]??=parent['meta']?.['hidden'],_0x9ee453[_0x2c3d23(0x1ca)]={..._0x9ee453[_0x2c3d23(0x1ca)]}),_0x9ee453['meta'][_0x2c3d23(0x1cb)]==null&&(_0x9ee453['meta'][_0x2c3d23(0x1cb)]??=parent['meta']?.[_0x2c3d23(0x1cb)],_0x9ee453['meta']={..._0x9ee453[_0x2c3d23(0x1ca)]})),_0x9ee453[_0x2c3d23(0x1bf)]?.[_0x2c3d23(0x1dc)](_0x9fbbf8=>_0x34aa34(_0x9fbbf8,[..._0x211b68,_0x9ee453])),_0x9ee453['meta']['hidden']!==![]&&_0x9ee453['meta'][_0x2c3d23(0x1d1)]!==!![]&&(_0x9ee453['meta']['hidden']=!_0x2aeb59[_0x2c3d23(0x1d9)](_0x8cfb26),_0x9ee453[_0x2c3d23(0x1bf)]?.['some'](_0x4bf8eb=>_0x4bf8eb['meta'][_0x2c3d23(0x1c0)]===![])&&(_0x9ee453[_0x2c3d23(0x1ca)][_0x2c3d23(0x1c0)]=![])));};_0x5e1c82[_0x554c8b(0x1dc)](_0x4eee88=>_0x34aa34(_0x4eee88,[]));},{'immediate':!![]});});};export default{'check404':check404,'setTitle':setTitle,'checkRolesPages':checkRolesPages};
|
package/packages/utils/model.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a91_0x5673(){const _0x3a5ceb=['32104QgCUxI','488631NdDDbE','369kDlzAC','8jaVILw','3422628dZaaBH','_index','10mwwdmY','46511DrglEX','31437gvZzLM','selection','180oANtWj','240695NTqaQI','85989mFPdFl','4hACCkx'];a91_0x5673=function(){return _0x3a5ceb;};return a91_0x5673();}const a91_0x30179c=a91_0x5bde;(function(_0x45fe81,_0x2bfa83){const _0x8b1003=a91_0x5bde,_0x4cfe6f=_0x45fe81();while(!![]){try{const _0x5f5304=parseInt(_0x8b1003(0xa7))/0x1*(parseInt(_0x8b1003(0xa3))/0x2)+parseInt(_0x8b1003(0x9e))/0x3*(-parseInt(_0x8b1003(0x9f))/0x4)+parseInt(_0x8b1003(0x9d))/0x5+-parseInt(_0x8b1003(0xaa))/0x6*(parseInt(_0x8b1003(0xa8))/0x7)+parseInt(_0x8b1003(0xa0))/0x8*(-parseInt(_0x8b1003(0xa2))/0x9)+-parseInt(_0x8b1003(0xa6))/0xa*(parseInt(_0x8b1003(0xa1))/0xb)+parseInt(_0x8b1003(0xa4))/0xc;if(_0x5f5304===_0x2bfa83)break;else _0x4cfe6f['push'](_0x4cfe6f['shift']());}catch(_0x93ee7e){_0x4cfe6f['push'](_0x4cfe6f['shift']());}}}(a91_0x5673,0x23e6f));export const baseForm=()=>({'loading':![],'form':{},'initialForm':{},'formItems':[],'formRef':null,'formRules':{},'initialFormRules':{},'_isBaseForm':!![],'viewonly':![]});export const baseTable=(_0x5c38ac={})=>({'loading':![],'query':{'page':0x1,'limit':0xa,'order':[],..._0x5c38ac},'total':0x0,'moreLoading':![],'finished':![],'isInfinite':![],'list':[],'columns':[],'tableRef':null,'selection':[],'checked':null,'searchFields':[],'_isBaseTable':!![]});function a91_0x5bde(_0x98a3f,_0x288f56){const _0x567317=a91_0x5673();return a91_0x5bde=function(_0x5bdeee,_0x4ffe19){_0x5bdeee=_0x5bdeee-0x9d;let _0x419b4f=_0x567317[_0x5bdeee];return _0x419b4f;},a91_0x5bde(_0x98a3f,_0x288f56);}export const baseDialog=()=>({...baseForm(),'visible':![],'isEditing':![],'editingIndex':'','editingRow':{},'_isBaseDialog':!![]});export const baseModel=({table:table={},dialog:dialog={},columns:columns=[{'fixed':'left','type':a91_0x30179c(0xa9)},{'type':a91_0x30179c(0xa5)}],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};
|