@wp1001/ui 3.2.11 → 3.3.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/pc.js +1 -1
- package/packages/components/xform/utils.js +1 -1
- package/packages/components/xformitem/mobile.js +1 -1
- package/packages/components/xformitem/pc.js +1 -1
- package/packages/components/xicon/mobile.js +1 -1
- package/packages/components/xicon/pc.js +1 -1
- package/packages/components/xinfo/index.js +1 -1
- package/packages/components/xlooper/index.js +1 -1
- package/packages/components/xpagination/mobile.js +1 -1
- package/packages/components/xpagination/pc.js +1 -1
- package/packages/components/xpicker/index.js +1 -1
- package/packages/components/xradios/mobile.js +1 -1
- package/packages/components/xradios/pc.js +1 -1
- package/packages/components/xrow/mobile.js +1 -1
- package/packages/components/xrow/pc.js +1 -1
- package/packages/components/xscan/mobile.js +1 -1
- package/packages/components/xscan/pc.js +1 -1
- package/packages/components/xsearcher/index.js +1 -1
- package/packages/components/xselect/mobile.js +1 -1
- package/packages/components/xselect/pc.js +1 -1
- package/packages/components/xselect/util.js +1 -1
- package/packages/components/xselectv2/index.js +1 -1
- package/packages/components/xtable/mobile.js +1 -1
- package/packages/components/xtable/pc.js +1 -1
- package/packages/components/xtable/searcher.js +1 -1
- package/packages/components/xtable/settings.js +1 -1
- package/packages/components/xtable/utils.js +1 -1
- package/packages/components/xtabletools/mobile.js +1 -1
- package/packages/components/xtabletools/pc.js +1 -1
- package/packages/components/xtablev2/pc.js +1 -1
- package/packages/components/xtags/mobile.js +1 -1
- package/packages/components/xtags/pc.js +1 -1
- package/packages/components/xtinymce/index.js +1 -1
- package/packages/components/xuploader/xfileuploader.js +1 -1
- package/packages/components/xuploader/ximageuploader.js +1 -1
- package/packages/comps.js +1 -1
- package/packages/controllers/BaseController.js +1 -1
- package/packages/controllers/CrudController.js +1 -1
- package/packages/controllers/TempCrudController.js +1 -1
- package/packages/controllers/index.js +1 -1
- package/packages/directives/el-table-infinite-scroll.js +1 -1
- package/packages/directives/index.js +1 -1
- package/packages/index.js +1 -1
- package/packages/layout/breadcrumb/index.js +1 -1
- package/packages/layout/header/inner.js +1 -1
- package/packages/layout/screenlock/index.js +1 -1
- package/packages/layout/sidebar/item.js +1 -1
- package/packages/layout/sidebar/menu.js +1 -1
- package/packages/layout/tagsview/ScrollPane.js +1 -1
- package/packages/layout/tagsview/index.js +1 -1
- package/packages/plop/actions/make-fill-admin-partials-action.js +1 -1
- package/packages/plop/generators/make-admin-page.js +1 -1
- package/packages/plop/generators/make-database-admin-pages.js +1 -1
- package/packages/plop/generators/make-page-generator.js +1 -1
- package/packages/plop/generators/make-simple-page.js +1 -1
- package/packages/plop/plopfile.js +1 -1
- package/packages/plop/utils/index.js +1 -1
- package/packages/plop/utils/plop-utils.js +1 -1
- package/packages/utils/crypt.js +1 -1
- package/packages/utils/decorators.js +1 -1
- package/packages/utils/disallowDevtools.js +1 -1
- package/packages/utils/effects.js +1 -1
- package/packages/utils/funcs.js +1 -1
- package/packages/utils/index.js +1 -1
- package/packages/utils/message.js +1 -1
- package/packages/utils/middlewares.js +1 -1
- package/packages/utils/model.js +1 -1
- package/packages/utils/modelUtils.js +1 -1
- package/packages/utils/request.js +1 -1
- package/packages/utils/site.js +1 -1
- package/packages/vite-plugins.js +1 -1
- package/src/main.js +1 -1
- package/src/request.js +1 -1
- package/vite.config.js +1 -1
- package/vite.lib.config.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x53a488,_0x5a40fb){const _0x2e83c6=a76_0x3041,_0xaf2f05=_0x53a488();while(!![]){try{const _0xdf1df0=parseInt(_0x2e83c6(0x192))/0x1+parseInt(_0x2e83c6(0x1a5))/0x2+parseInt(_0x2e83c6(0x1a3))/0x3+-parseInt(_0x2e83c6(0x19b))/0x4*(-parseInt(_0x2e83c6(0x198))/0x5)+-parseInt(_0x2e83c6(0x1a4))/0x6+parseInt(_0x2e83c6(0x193))/0x7*(-parseInt(_0x2e83c6(0x197))/0x8)+parseInt(_0x2e83c6(0x1a0))/0x9*(-parseInt(_0x2e83c6(0x199))/0xa);if(_0xdf1df0===_0x5a40fb)break;else _0xaf2f05['push'](_0xaf2f05['shift']());}catch(_0x34c24c){_0xaf2f05['push'](_0xaf2f05['shift']());}}}(a76_0x39a3,0x63d32));function a76_0x39a3(){const _0x2da3fd=['8028LUwKmF','是否需要自动生成\x20table.columns\x20(表格的数据列)?','fieldsPartial','341058aaAIRx','4482384lUPJNV','1499254NBmYQc','116134POZfxW','7QBcLMx','table','[\x0a]','创建新的后台管理页面','2771672XcLGXB','21010qJwnWa','1910nVZNTH','setPartial','660flQicG','actions','数据表名称','autoGenerateColumns','prompts'];a76_0x39a3=function(){return _0x2da3fd;};return a76_0x39a3();}import a76_0xe3278 from'../utils/plop-utils.js';import a76_0x33fa27 from'./make-page-generator.js';import a76_0x24e3f9 from'../actions/make-fill-admin-partials-action.js';function a76_0x3041(_0x30c214,_0x5cf3ce){const _0x39a3ba=a76_0x39a3();return a76_0x3041=function(_0x30419f,_0x49855b){_0x30419f=_0x30419f-0x192;let _0x31cacf=_0x39a3ba[_0x30419f];return _0x31cacf;},a76_0x3041(_0x30c214,_0x5cf3ce);}const {makeInputPrompt,makeConfirmPrompt}=a76_0xe3278,makeGenerator=_0x3cc2a9=>{const _0x379ad0=a76_0x3041,_0x50517f='admin_page',_0x96f636=a76_0x33fa27(_0x3cc2a9,_0x50517f);return _0x3cc2a9[_0x379ad0(0x19a)](_0x379ad0(0x1a2),_0x379ad0(0x195)),{'name':'make-admin-page','description':_0x379ad0(0x196),'prompts':[..._0x96f636[_0x379ad0(0x19f)],makeConfirmPrompt(_0x379ad0(0x19e),_0x379ad0(0x1a1)),{...makeInputPrompt('database','数据库名称'),'when':_0x3228ea=>_0x3228ea[_0x379ad0(0x19e)]},{...makeInputPrompt(_0x379ad0(0x194),_0x379ad0(0x19d)),'when':_0x1a16a2=>_0x1a16a2[_0x379ad0(0x19e)]}],'actions':[a76_0x24e3f9(_0x3cc2a9),..._0x96f636[_0x379ad0(0x19c)]]};};export default makeGenerator;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x4e9c2c,_0x4eb766){const _0x5de232=a77_0x4e09,_0x43f42b=_0x4e9c2c();while(!![]){try{const _0x295b87=-parseInt(_0x5de232(0x1af))/0x1*(parseInt(_0x5de232(0x196))/0x2)+-parseInt(_0x5de232(0x1a1))/0x3+-parseInt(_0x5de232(0x19f))/0x4+parseInt(_0x5de232(0x1c1))/0x5*(-parseInt(_0x5de232(0x1a6))/0x6)+parseInt(_0x5de232(0x1c3))/0x7+parseInt(_0x5de232(0x1bf))/0x8+parseInt(_0x5de232(0x1ae))/0x9;if(_0x295b87===_0x4eb766)break;else _0x43f42b['push'](_0x43f42b['shift']());}catch(_0x28afa6){_0x43f42b['push'](_0x43f42b['shift']());}}}(a77_0x32bb,0xeb024));import a77_0x400f90 from'node:path';import a77_0x88e84f from'chalk';import a77_0x2dfe0a from'clipboardy';import{fsUtils}from'@wp1001/node';function a77_0x4e09(_0x51df23,_0x3a5678){const _0x32bb40=a77_0x32bb();return a77_0x4e09=function(_0x4e0974,_0x243917){_0x4e0974=_0x4e0974-0x193;let _0x50705f=_0x32bb40[_0x4e0974];return _0x50705f;},a77_0x4e09(_0x51df23,_0x3a5678);}function a77_0x32bb(){const _0x4f4b38=['6679432ystYJL','init-models.js','240cvCqzO','map','10719982EMpWdm','toFixed','replace','log','length','join','\x20/\x20','\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','path','backenderPath','2PUPpcY','index.js','black','make-database-admin-pages','trimStart','snakeCase','bgCyan','\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/','pop','297656YbIeHe','writeSync','3186351AwCjHC','Finished\x20','\x27,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20name:\x20\x27','\x20构建页面失败','changes','69012pwGJKq','\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','split','slice','#code#','dir','red','repeat','11709873TJtxIq','1016229aqiIsE','make-admin-page','.js','/models/','runActions','cyan','includes','listDir','^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^','目的文件夹路径','$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$','database','bgYellow','上面有一个参考的\x20route\x20代码,\x20(已复制到剪贴板)','trimEnd','getHelper'];a77_0x32bb=function(){return _0x4f4b38;};return a77_0x32bb();}import a77_0x339a6e from'../utils/plop-utils.js';const {makeInputPrompt,getGenerator}=a77_0x339a6e,makeGenerator=_0x4185ce=>{const _0x86a527=a77_0x4e09,_0x11d5fd=getGenerator(_0x4185ce,_0x86a527(0x1b0),{'force':![]}),_0x14aa67=_0x4185ce['getHelper']('pascalCase'),_0x410cf1=_0x4185ce[_0x86a527(0x1be)](_0x86a527(0x19b)),_0x1cd912={'name':_0x86a527(0x199),'description':'根据\x20backender\x20中已存在的数据库模型目录为其中所有模型创建后台管理页面','prompts':[makeInputPrompt(_0x86a527(0x1ba),'数据库名称'),makeInputPrompt(_0x86a527(0x1ab),_0x86a527(0x1b8))],'actions':[async({database:_0x14b5b2,dir:_0x152f1b})=>{const _0x2aaced=_0x86a527,_0x162df9=a77_0x400f90[_0x2aaced(0x1c8)](_0x4185ce[_0x2aaced(0x195)],_0x2aaced(0x1b2)+_0x14b5b2);let _0x2f06f7=await fsUtils[_0x2aaced(0x1b6)](_0x162df9);_0x2f06f7=_0x2f06f7['filter'](_0x284eef=>_0x284eef[_0x2aaced(0x1b5)](_0x2aaced(0x1b1))&&!_0x284eef['includes'](_0x2aaced(0x1c0))&&_0x284eef[_0x2aaced(0x1a8)]('/')[_0x2aaced(0x19e)]()!==_0x2aaced(0x197));const _0x280732=_0x2f06f7[_0x2aaced(0x1c2)](_0x4e508f=>_0x4e508f[_0x2aaced(0x1a9)](0x0,-0x3)),_0x2a4ff2=[];for(let _0x14fc53=0x0,_0x1e5988=_0x280732[_0x2aaced(0x1c7)];_0x14fc53<_0x1e5988;_0x14fc53++){const _0x1cef83=_0x280732[_0x14fc53],_0x174113=await _0x11d5fd[_0x2aaced(0x1b3)]({'dir':_0x152f1b,'pagename':_0x1cef83,'database':_0x14b5b2,'table':_0x410cf1(_0x1cef83)});!_0x174113['changes'][0x2]?console[_0x2aaced(0x1c6)](a77_0x88e84f[_0x2aaced(0x1ac)]('数据表\x20'+_0x14b5b2+'.'+_0x1cef83+_0x2aaced(0x1a4)),_0x174113['changes']):_0x2a4ff2['push'](_0x174113),console[_0x2aaced(0x1c6)](a77_0x88e84f[_0x2aaced(0x1b4)](_0x2aaced(0x1a2)+(_0x14fc53+0x1)+_0x2aaced(0x1c9)+_0x1e5988+'\x20'+((_0x14fc53+0x1)/_0x1e5988*0x64)[_0x2aaced(0x1c4)](0x2)+'%'));}console[_0x2aaced(0x1c6)](a77_0x88e84f[_0x2aaced(0x19c)](_0x2aaced(0x1b7))),console['log'](a77_0x88e84f[_0x2aaced(0x19c)](_0x2aaced(0x1b7)));const _0x99d453=_0x2a4ff2[_0x2aaced(0x1c2)](_0x20e283=>_0x20e283[_0x2aaced(0x1a5)][0x2][_0x2aaced(0x194)]),_0x160d93=_0x99d453[_0x2aaced(0x1c2)](_0x43ce8d=>{const _0xddfedb=_0x2aaced;return _0x43ce8d[_0xddfedb(0x1a8)]('\x0a')[_0xddfedb(0x1c2)](_0x496712=>'\x20\x20'+_0x496712)[_0xddfedb(0x1c8)]('\x0a')[_0xddfedb(0x1bd)]();})[_0x2aaced(0x1c8)]('')[_0x2aaced(0x19a)](),_0x29417f=(_0x2aaced(0x19d)+_0x152f1b+_0x2aaced(0x1a3)+_0x14aa67(_0x152f1b)+'\x27,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20redirect:\x20\x27/'+_0x152f1b+'/'+_0x410cf1(_0x280732[0x0])+_0x2aaced(0x193)+_0x14aa67(_0x152f1b)+_0x2aaced(0x1a7))[_0x2aaced(0x1a8)]('\x0a')[_0x2aaced(0x1c2)](_0x4b6021=>_0x4b6021[_0x2aaced(0x1a9)](0xa))[_0x2aaced(0x1c8)]('\x0a'),_0xbe735e=_0x152f1b[_0x2aaced(0x1a8)]('/')[_0x2aaced(0x1c7)],_0x3330af=_0x29417f[_0x2aaced(0x1c5)](_0x2aaced(0x1aa),_0x160d93)[_0x2aaced(0x1a8)]('\x0a')[_0x2aaced(0x1c2)](_0x21b9b9=>{const _0x5022da=_0x2aaced;return'\x20\x20'[_0x5022da(0x1ad)](_0xbe735e)+_0x21b9b9;})['join']('\x0a')['trim']();a77_0x2dfe0a[_0x2aaced(0x1a0)](_0x3330af),console[_0x2aaced(0x1c6)](_0x3330af),console[_0x2aaced(0x1c6)](a77_0x88e84f[_0x2aaced(0x198)][_0x2aaced(0x1bb)](_0x2aaced(0x1bc))),console[_0x2aaced(0x1c6)](a77_0x88e84f['bgCyan']('$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$')),console[_0x2aaced(0x1c6)](a77_0x88e84f[_0x2aaced(0x19c)](_0x2aaced(0x1b9)));}]};return _0x1cd912;};export default makeGenerator;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a78_0x14d84f=a78_0x2a42;(function(_0x28606f,_0x10c5ac){const _0xaed0b5=a78_0x2a42,_0x41c588=_0x28606f();while(!![]){try{const _0x4ec696=parseInt(_0xaed0b5(0x1c1))/0x1*(-parseInt(_0xaed0b5(0x1cf))/0x2)+parseInt(_0xaed0b5(0x1dc))/0x3+-parseInt(_0xaed0b5(0x1cb))/0x4*(-parseInt(_0xaed0b5(0x1d6))/0x5)+parseInt(_0xaed0b5(0x1c5))/0x6+-parseInt(_0xaed0b5(0x1c7))/0x7+parseInt(_0xaed0b5(0x1ce))/0x8+-parseInt(_0xaed0b5(0x1d0))/0x9;if(_0x4ec696===_0x10c5ac)break;else _0x41c588['push'](_0x41c588['shift']());}catch(_0x2accb9){_0x41c588['push'](_0x41c588['shift']());}}}(a78_0x2309,0xf07f6));import a78_0x447366 from'node:path';import a78_0x439ce1 from'chalk';import a78_0x181ca9 from'clipboardy';function a78_0x2a42(_0x3e4bb5,_0x5b2225){const _0x2309a8=a78_0x2309();return a78_0x2a42=function(_0x2a4228,_0x276c05){_0x2a4228=_0x2a4228-0x1bc;let _0x342fab=_0x2309a8[_0x2a4228];return _0x342fab;},a78_0x2a42(_0x3e4bb5,_0x5b2225);}function a78_0x2309(){const _0x2bdd35=['slice','\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','node_modules/@wp1001/ui/packages/plop/templates/','目的页面名称','log','77065pQNhoa','这里有一个参考的\x20route\x20代码,\x20(已复制到剪贴板)','node_modules','/*.*','snakeCase','black','4920438zQNAod','\x27,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20name:\x20\x27','pagename','split','addMany','map','124582QGgGEV','src/views/{{dir}}/{{snakeCase\x20pagename}}','dir','join','9059574aHdrNS','bgYellow','4577258EuUyKw','.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','getHelper','dirname','52JZJZWv','\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','writeSync','13290104dLbkdl','8VAWsFB','25869663CZXcpK'];a78_0x2309=function(){return _0x2bdd35;};return a78_0x2309();}import a78_0x6b3486 from'../utils/plop-utils.js';const dirname=import.meta[a78_0x14d84f(0x1ca)][a78_0x14d84f(0x1be)](a78_0x14d84f(0x1d8))[0x0],{makeInputPrompt}=a78_0x6b3486,makePageGenerator=(_0x182a61,_0x17af92)=>{const _0x4595c1=a78_0x14d84f,_0x463f48=_0x182a61[_0x4595c1(0x1c9)]('properCase'),_0x49be4c=_0x182a61['getHelper'](_0x4595c1(0x1da));return{'prompts':[makeInputPrompt(_0x4595c1(0x1c3),'目的文件夹路径'),makeInputPrompt(_0x4595c1(0x1bd),_0x4595c1(0x1d4))],'actions':[{'type':_0x4595c1(0x1bf),'destination':a78_0x447366[_0x4595c1(0x1c4)](dirname,_0x4595c1(0x1c2)),'base':a78_0x447366[_0x4595c1(0x1c4)](dirname,_0x4595c1(0x1d3)+_0x17af92),'templateFiles':a78_0x447366['join'](dirname,_0x4595c1(0x1d3)+_0x17af92+_0x4595c1(0x1d9))},function(_0x2681b9){const _0xb0e8af=_0x4595c1;let {dir:_0x22eeb7,pagename:_0x5725ee}=_0x2681b9;const _0x3d13de=_0x463f48(_0x5725ee),_0x5ecf10=(_0x22eeb7?_0x463f48(_0x22eeb7):'')+_0x3d13de;_0x5725ee=_0x49be4c(_0x5725ee);const _0x352525=(_0xb0e8af(0x1cc)+_0x5725ee+_0xb0e8af(0x1bc)+_0x5ecf10+'\x27,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20component:\x20()\x20=>\x20import(\x27@/views/'+(_0x22eeb7?_0x22eeb7+'/':'')+_0x5725ee+'/'+_0x5725ee+_0xb0e8af(0x1c8)+_0x3d13de+_0xb0e8af(0x1d2))['split']('\x0a')[_0xb0e8af(0x1c0)](_0x4ac96c=>_0x4ac96c[_0xb0e8af(0x1d1)](0x8))[_0xb0e8af(0x1c4)]('\x0a');return a78_0x181ca9[_0xb0e8af(0x1cd)](_0x352525),console[_0xb0e8af(0x1d5)](a78_0x439ce1[_0xb0e8af(0x1db)][_0xb0e8af(0x1c6)](_0xb0e8af(0x1d7))),_0x352525;}]};};export default makePageGenerator;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x589691,_0x52d89c){const _0x1748a4=a79_0x49bf,_0x58e2e5=_0x589691();while(!![]){try{const _0x4b8d1d=parseInt(_0x1748a4(0xbd))/0x1*(parseInt(_0x1748a4(0xb8))/0x2)+-parseInt(_0x1748a4(0xb2))/0x3*(parseInt(_0x1748a4(0xb3))/0x4)+-parseInt(_0x1748a4(0xba))/0x5*(parseInt(_0x1748a4(0xbf))/0x6)+parseInt(_0x1748a4(0xb5))/0x7+parseInt(_0x1748a4(0xc1))/0x8*(parseInt(_0x1748a4(0xb7))/0x9)+-parseInt(_0x1748a4(0xbe))/0xa*(-parseInt(_0x1748a4(0xbc))/0xb)+parseInt(_0x1748a4(0xb9))/0xc*(-parseInt(_0x1748a4(0xb4))/0xd);if(_0x4b8d1d===_0x52d89c)break;else _0x58e2e5['push'](_0x58e2e5['shift']());}catch(_0x12ec51){_0x58e2e5['push'](_0x58e2e5['shift']());}}}(a79_0x4e38,0x98771));function a79_0x49bf(_0x4e3b99,_0x4b9f73){const _0x4e3801=a79_0x4e38();return a79_0x49bf=function(_0x49bf9b,_0x2e0ce8){_0x49bf9b=_0x49bf9b-0xb2;let _0x337373=_0x4e3801[_0x49bf9b];return _0x337373;},a79_0x49bf(_0x4e3b99,_0x4b9f73);}import a79_0x346881 from'./make-page-generator.js';const makeGenerator=_0x38b537=>{const _0x537a5d=a79_0x49bf,_0x452107=_0x537a5d(0xb6),_0x2309da=a79_0x346881(_0x38b537,_0x452107);return{'name':_0x537a5d(0xbb),'description':'创建新的页面','prompts':[..._0x2309da[_0x537a5d(0xc0)]],'actions':[..._0x2309da[_0x537a5d(0xc2)]]};};export default makeGenerator;function a79_0x4e38(){const _0x5dfa07=['30SSkbUF','6fPLXUU','prompts','9919272zvHEOU','actions','5937sTSTpU','1300xdXxqY','522717hHIwaZ','1025206uoPwRK','simple_page','9gCatPL','15902uVDoso','408abpyJI','4141745SJudEN','make-simple-page','3037661ztUHbD','157AwRkWf'];a79_0x4e38=function(){return _0x5dfa07;};return a79_0x4e38();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a80_0x1ccb(_0x3105ee,_0x1af734){const _0x5cc075=a80_0x5cc0();return a80_0x1ccb=function(_0x1ccbd9,_0x320b61){_0x1ccbd9=_0x1ccbd9-0xe5;let _0x139e49=_0x5cc075[_0x1ccbd9];return _0x139e49;},a80_0x1ccb(_0x3105ee,_0x1af734);}function a80_0x5cc0(){const _0x57a245=['keys','8664KEptVy','absPath','backenderPath','4123jhIfzL','766512QFcMRW','setGenerator','74UOoogo','23816JRJazL','name','../backender','3427530aTYhPZ','forEach','1866580iphsIA','10IpXuhw','欢迎使用\x20stardust-frontender\x20代码生成工具,请从以下生成器中选择一个\x20:\x20','bgGreen','white','720873yBlwUa','5PyFpnA','18619898GuAuSM'];a80_0x5cc0=function(){return _0x57a245;};return a80_0x5cc0();}(function(_0x5a735b,_0x4343ef){const _0x25bb93=a80_0x1ccb,_0x3909f6=_0x5a735b();while(!![]){try{const _0x1f1338=-parseInt(_0x25bb93(0xf4))/0x1*(-parseInt(_0x25bb93(0xf5))/0x2)+-parseInt(_0x25bb93(0xea))/0x3+parseInt(_0x25bb93(0xe5))/0x4*(-parseInt(_0x25bb93(0xeb))/0x5)+-parseInt(_0x25bb93(0xf8))/0x6+parseInt(_0x25bb93(0xf1))/0x7*(-parseInt(_0x25bb93(0xee))/0x8)+-parseInt(_0x25bb93(0xf2))/0x9+parseInt(_0x25bb93(0xe6))/0xa*(parseInt(_0x25bb93(0xec))/0xb);if(_0x1f1338===_0x4343ef)break;else _0x3909f6['push'](_0x3909f6['shift']());}catch(_0x5e4862){_0x3909f6['push'](_0x3909f6['shift']());}}}(a80_0x5cc0,0x8bcf8));import a80_0x46909f from'node:path';import a80_0x218b0e from'chalk';import a80_0x6fba0b from'./utils/plop-utils.js';import a80_0x3527b1 from'./generators/make-admin-page.js';import a80_0x2447a4 from'./generators/make-database-admin-pages.js';import a80_0x5cb450 from'./generators/make-simple-page.js';const generators={'makeAdminPage':a80_0x3527b1,'makeDatabaseAdminPages':a80_0x2447a4,'makeSimplePage':a80_0x5cb450};export default function (plop){const _0x3700b5=a80_0x1ccb,hello=_0x3700b5(0xe7);plop['setWelcomeMessage'](a80_0x218b0e[_0x3700b5(0xe8)][_0x3700b5(0xe9)](hello)),plop[_0x3700b5(0xf0)]=a80_0x6fba0b[_0x3700b5(0xef)](plop,_0x3700b5(0xf7)),Object[_0x3700b5(0xed)](generators)[_0x3700b5(0xf9)](name=>{const _0x168b09=_0x3700b5,generator=generators[name](plop);plop[_0x168b09(0xf3)](generator[_0x168b09(0xf6)],generator);});}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a81_0xc3738c=a81_0x7182;function a81_0x2352(){const _0x299fb5=['DATE','12nAwOjI','prefixIcon','_length','options','69176EIuhQr','created_at','canView','replaceAll','tableName','14cGadkw','key','5829YlExPW','default','associations','413145EGrhMB','join','TEXT','calendar','tableAttributes','includes','type','name','config','.stardust/db.js','map','backenderPath','x-select','102KbWOmU','textarea','STRING','init-models.js','creator_id','DECIMAL','4137770RQIKxu','comp','$$\x20store.dictionaries.yesNo\x20$$','primaryKeyField','1507656rFAnFM','label','updater_id','red','models','find','FLOAT','precision','target','618627JchYae','formAttrs','visible','sequelize','foreignKey','ElInputNumber','table','BOOLEAN','assign','updated_at','1625688KqIZbg','exists','values'];a81_0x2352=function(){return _0x299fb5;};return a81_0x2352();}(function(_0x2e46e6,_0x4933bc){const _0x224aac=a81_0x7182,_0x5838b1=_0x2e46e6();while(!![]){try{const _0x561ff2=parseInt(_0x224aac(0xe3))/0x1*(-parseInt(_0x224aac(0xf3))/0x2)+parseInt(_0x224aac(0xca))/0x3+parseInt(_0x224aac(0xd8))/0x4*(parseInt(_0x224aac(0xe6))/0x5)+-parseInt(_0x224aac(0xc1))/0x6+parseInt(_0x224aac(0xe1))/0x7*(parseInt(_0x224aac(0xdc))/0x8)+-parseInt(_0x224aac(0xd4))/0x9+parseInt(_0x224aac(0xbd))/0xa;if(_0x561ff2===_0x4933bc)break;else _0x5838b1['push'](_0x5838b1['shift']());}catch(_0x49272d){_0x5838b1['push'](_0x5838b1['shift']());}}}(a81_0x2352,0x2614c));import a81_0x3bfdcb from'node:path';import a81_0x3163ff from'chalk';import{fsUtils}from'@wp1001/node';function a81_0x7182(_0x1f2d1f,_0x5f6964){const _0x235244=a81_0x2352();return a81_0x7182=function(_0x7182fa,_0x191468){_0x7182fa=_0x7182fa-0xb8;let _0x1ab8a0=_0x235244[_0x7182fa];return _0x1ab8a0;},a81_0x7182(_0x1f2d1f,_0x5f6964);}const importFile=async _0x3fefc9=>{return new Promise(_0x1937a1=>{import(_0x3fefc9)['then'](_0x1937a1);});},viewOnlyFields=[a81_0xc3738c(0xbb),'updater_id',a81_0xc3738c(0xdd),a81_0xc3738c(0xd3),'deleted_at'],operatorFields=[a81_0xc3738c(0xbb),a81_0xc3738c(0xc3)],getModel=async(_0x1202b5,_0x2e459c)=>{const _0x4ca749=a81_0xc3738c,_0x41f14f=a81_0x3bfdcb[_0x4ca749(0xe7)](_0x1202b5[_0x4ca749(0xf1)],_0x4ca749(0xc5),_0x2e459c['database'],_0x4ca749(0xba));if(!await fsUtils[_0x4ca749(0xd5)](_0x41f14f)){const _0x187375=a81_0x3163ff[_0x4ca749(0xc4)](_0x41f14f+'\x20not\x20found');throw _0x187375;}const _0x5a28f2=a81_0x3bfdcb[_0x4ca749(0xe7)](_0x1202b5[_0x4ca749(0xf1)],'config.js'),_0x258d91=a81_0x3bfdcb[_0x4ca749(0xe7)](_0x1202b5[_0x4ca749(0xf1)],_0x4ca749(0xef)),_0x56987a=(await importFile(_0x5a28f2))[_0x4ca749(0xe4)],_0x5b3e21=(await importFile(_0x41f14f))[_0x4ca749(0xe4)],_0x46bb06=_0x56987a['datasources']['find'](_0x1a9762=>_0x1a9762['database']===_0x2e459c['database']),{connect:_0x573df2}=await importFile(_0x258d91),_0x5cb24e=_0x573df2(_0x56987a,_0x46bb06),_0x48412d=Object[_0x4ca749(0xd6)](_0x5b3e21(_0x5cb24e,![])),_0x29ca57=_0x48412d[_0x4ca749(0xc6)](_0x3af8a9=>_0x3af8a9['tableName']['toLowerCase']()===_0x2e459c[_0x4ca749(0xd0)]);return _0x29ca57;},getSequeliezeDataType=_0xc7d72=>{const _0xd90b70=a81_0xc3738c,_0x53db7b=_0xc7d72['type']||_0xc7d72,_0x376f95={'name':_0x53db7b[_0xd90b70(0xe2)]||_0x53db7b[_0xd90b70(0xed)]};return _0x53db7b[_0xd90b70(0xda)]&&(_0x376f95[_0xd90b70(0xda)]=_0x53db7b[_0xd90b70(0xda)]),_0x376f95;},makeFields=_0x278039=>{const _0x566d63=a81_0xc3738c,_0x11c653=Object['entries'](_0x278039[_0x566d63(0xea)])[_0x566d63(0xf0)](_0x54a4f1=>{const _0x4bbb5f=_0x566d63,[_0x47d379,_0xeca66b]=_0x54a4f1,_0x202e9e=getSequeliezeDataType(_0xeca66b);let _0x3a7577=_0xeca66b[_0x4bbb5f(0xc2)]||_0xeca66b['comment']||_0x47d379;_0x3a7577=_0x3a7577[_0x4bbb5f(0xdf)]('\x27','\x22');const _0x543d25={'label':_0x3a7577,'prop':_0x47d379,'tableAttrs':{...calcColumnWidth(_0x202e9e)},'formAttrs':{}};fillFieldType(_0x543d25,_0x202e9e),fillFieldForeign(_0x543d25,_0x278039,_0x47d379);const {autoIncrement:_0x3eab96,_autoGenerated:_0x175bf9}=_0xeca66b;return(_0x3eab96||_0x175bf9||viewOnlyFields[_0x4bbb5f(0xeb)](_0x47d379))&&(_0x543d25['visible']=![],_0x543d25[_0x4bbb5f(0xde)]=!![],delete _0x543d25[_0x4bbb5f(0xbe)],delete _0x543d25[_0x4bbb5f(0xcb)]),_0x543d25;});return _0x11c653;},calcColumnWidth=_0x24cd8e=>{const _0x5a73af=a81_0xc3738c;switch(_0x24cd8e[_0x5a73af(0xed)]){case _0x5a73af(0xb9):{return _0x24cd8e[_0x5a73af(0xda)]>0x14?{'minWidth':0x96}:{'width':0x19+_0x24cd8e['_length']*0xc};};case _0x5a73af(0xe8):{return{'minWidth':0xc8};}case _0x5a73af(0xd7):{return{'width':0xaf};};default:{return{'width':0x64};}}},fillFieldType=(_0x5d9e5f,_0x353497)=>{const _0x12159b=a81_0xc3738c,{formAttrs:_0x44b92f}=_0x5d9e5f;switch(_0x353497[_0x12159b(0xed)]){case'INTEGER':{_0x5d9e5f['comp']='ElInputNumber',_0x44b92f[_0x12159b(0xc8)]=0x0;break;}case _0x12159b(0xc7):case _0x12159b(0xbc):{_0x5d9e5f[_0x12159b(0xbe)]=_0x12159b(0xcf);break;}case _0x12159b(0xd1):{_0x5d9e5f['comp']=_0x12159b(0xf2),_0x5d9e5f[_0x12159b(0xdb)]=_0x12159b(0xbf);break;}case _0x12159b(0xb9):{_0x44b92f['maxlength']=_0x353497['_length'];break;}case'TEXT':{_0x5d9e5f[_0x12159b(0xec)]=_0x12159b(0xb8);break;}case _0x12159b(0xd7):{_0x5d9e5f['comp']='ElDatePicker',_0x44b92f[_0x12159b(0xd9)]=_0x12159b(0xe9);break;}}},fillFieldForeign=(_0x577f41,_0x528bd0,_0x17e533)=>{const _0xc1dce4=a81_0xc3738c,_0x493cfb=Object['values'](_0x528bd0[_0xc1dce4(0xe5)]),_0x3fb072=_0x493cfb['map'](_0x3dc79b=>_0x3dc79b['foreignKey']),_0x5f3443=_0x528bd0[_0xc1dce4(0xcd)][_0xc1dce4(0xee)]['database'];if(_0x3fb072[_0xc1dce4(0xeb)](_0x17e533)){const _0x2e4808=_0x493cfb[_0xc1dce4(0xc6)](_0x4545ed=>_0x4545ed[_0xc1dce4(0xce)]===_0x17e533);delete _0x577f41[_0xc1dce4(0xcb)][_0xc1dce4(0xc8)],delete _0x577f41['type'],_0x577f41[_0xc1dce4(0xdb)]=[],_0x577f41[_0xc1dce4(0xbe)]=_0xc1dce4(0xf2);const _0x2043d4=_0x2e4808[_0xc1dce4(0xc9)][_0xc1dce4(0xc0)]||'';Object[_0xc1dce4(0xd2)](_0x577f41[_0xc1dce4(0xcb)],{'modelName':_0x5f3443+'.'+_0x2e4808[_0xc1dce4(0xc9)][_0xc1dce4(0xdb)][_0xc1dce4(0xe0)],'text':_0x2043d4,'value':_0x2043d4});}else viewOnlyFields[_0xc1dce4(0xeb)](_0x17e533)&&(delete _0x577f41['formAttrs'][_0xc1dce4(0xc8)],delete _0x577f41[_0xc1dce4(0xec)],operatorFields['includes'](_0x17e533)&&(_0x577f41[_0xc1dce4(0xcc)]=![]));};export{importFile,getModel,getSequeliezeDataType,makeFields,calcColumnWidth};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x14c2b5,_0x2bd7fe){const _0x232b61=a82_0x3c9b,_0x49ec48=_0x14c2b5();while(!![]){try{const _0x25df0b=parseInt(_0x232b61(0xcb))/0x1*(-parseInt(_0x232b61(0xc8))/0x2)+-parseInt(_0x232b61(0xbe))/0x3*(-parseInt(_0x232b61(0xc7))/0x4)+parseInt(_0x232b61(0xbf))/0x5+-parseInt(_0x232b61(0xb6))/0x6+-parseInt(_0x232b61(0xbd))/0x7+-parseInt(_0x232b61(0xb9))/0x8+parseInt(_0x232b61(0xce))/0x9*(parseInt(_0x232b61(0xbc))/0xa);if(_0x25df0b===_0x2bd7fe)break;else _0x49ec48['push'](_0x49ec48['shift']());}catch(_0x293679){_0x49ec48['push'](_0x49ec48['shift']());}}}(a82_0x317c,0x52a90));import a82_0x46050c from'node:path';import a82_0x37a860 from'node-plop/src/generator-runner.js';function a82_0x3c9b(_0x200eb3,_0x5abdb3){const _0x317c99=a82_0x317c();return a82_0x3c9b=function(_0x3c9b3d,_0x16f4a7){_0x3c9b3d=_0x3c9b3d-0xb4;let _0x51b4c4=_0x317c99[_0x3c9b3d];return _0x51b4c4;},a82_0x3c9b(_0x200eb3,_0x5abdb3);}const getGenerator=(_0x593585,_0x1bfd01,_0x2a81c9)=>{const _0x59d50a=a82_0x3c9b,_0x1b586e=a82_0x37a860(_0x593585,_0x2a81c9),_0x35130d=_0x593585[_0x59d50a(0xcc)](_0x1bfd01);return Object[_0x59d50a(0xb8)](_0x35130d,{'runActions':(_0x718717,_0x295db5)=>_0x1b586e[_0x59d50a(0xc4)](_0x35130d,_0x718717,_0x295db5),'runPrompts':(_0xe52dee=[])=>_0x1b586e[_0x59d50a(0xc0)](_0x35130d,_0xe52dee)}),_0x35130d;},absPath=(_0x543ae6,_0x3ef015)=>{const _0x5c759a=a82_0x3c9b;return a82_0x46050c['resolve'](_0x543ae6[_0x5c759a(0xba)](),_0x3ef015);},addValidator=(_0x4d7213,_0x122782)=>{const _0xc42970=a82_0x3c9b;_0x4d7213[_0xc42970(0xb4)]=_0x4642e1=>{const _0x3ca952=_0xc42970;return/.+/[_0x3ca952(0xc2)](_0x4642e1)?!![]:_0x3ca952(0xc5)+_0x122782;};},makeInputPrompt=(_0x49b8a9,_0x392ff8,_0x2786ce=!![])=>{const _0x272aad=a82_0x3c9b,_0x5701e7={'type':'input','name':_0x49b8a9,'message':_0x272aad(0xca)+_0x392ff8+'('+(_0x2786ce?'必填':'选填')+')'};return _0x2786ce&&addValidator(_0x5701e7,_0x49b8a9),_0x5701e7;},makeConfirmPrompt=(_0x4dd5ed,_0x921ca4,_0x233db0)=>{const _0x5c6747=a82_0x3c9b,_0x43e2fe={'type':_0x5c6747(0xc3),'name':_0x4dd5ed,'message':_0x921ca4,'default':_0x233db0};return _0x43e2fe;},makeSelectPrompt=(_0x11d8c8,_0x2e7297,_0x278a82,_0x40e394)=>{const _0x333b79=a82_0x3c9b,_0x215629={'type':_0x333b79(0xbb),'name':_0x11d8c8,'choices':_0x2e7297,'message':_0x278a82,'default':_0x40e394};return _0x215629;},makePartial=_0x5d5136=>{const _0x373110=a82_0x3c9b,_0x49fbbf=JSON[_0x373110(0xb5)](_0x5d5136,null,0x2)['split']('\x0a')[_0x373110(0xcd)](0x1,-0x1)[_0x373110(0xc1)]((_0x5d360d,_0xc8e1ea)=>{const _0x422dd0=_0x373110;_0x5d360d=_0x5d360d[_0x422dd0(0xcd)](0x2);let _0x45e413=_0x5d360d[_0x422dd0(0xb7)](':');return _0x45e413[0x0]['indexOf']('-')>=0x0?_0x45e413[0x0]=_0x45e413[0x0][_0x422dd0(0xc6)]('\x22','\x27'):_0x45e413[0x0]=_0x45e413[0x0][_0x422dd0(0xc6)]('\x22',''),_0x45e413=_0x45e413[_0x422dd0(0xc1)]((_0x4a66ab,_0x3d5067)=>{return _0x3d5067===0x0?_0x4a66ab:_0x4a66ab['replaceAll']('\x22','\x27');}),_0x45e413['join'](':');});let _0x350779=_0x49fbbf[_0x373110(0xc9)]('\x0a')+'\x0a';return _0x350779=_0x350779[_0x373110(0xc6)]('\x27$$\x20','')[_0x373110(0xc6)]('\x20$$\x27',''),_0x350779;},plopUtils={'getGenerator':getGenerator,'absPath':absPath,'addValidator':addValidator,'makeInputPrompt':makeInputPrompt,'makeConfirmPrompt':makeConfirmPrompt,'makeSelectPrompt':makeSelectPrompt,'makePartial':makePartial};function a82_0x317c(){const _0x30ccf2=['validate','stringify','27222jSwyLh','split','assign','890496zGzzsA','getPlopfilePath','list','1480xFVdyd','1508304ewnDFb','12ISTJMb','1723780LjQaNH','runGeneratorPrompts','map','test','confirm','runGeneratorActions','请输入','replaceAll','97624OsNjVw','2cuHaYj','join','请输入\x20','230099gNcAep','getGenerator','slice','27828fhQTSb'];a82_0x317c=function(){return _0x30ccf2;};return a82_0x317c();}export default plopUtils;
|
package/packages/utils/crypt.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x4d384d,_0x48cedf){const _0x8dbfb4=a83_0x4145,_0x134c2a=_0x4d384d();while(!![]){try{const _0x317ac2=parseInt(_0x8dbfb4(0x118))/0x1+-parseInt(_0x8dbfb4(0x119))/0x2*(-parseInt(_0x8dbfb4(0x114))/0x3)+parseInt(_0x8dbfb4(0x115))/0x4*(parseInt(_0x8dbfb4(0x116))/0x5)+parseInt(_0x8dbfb4(0x120))/0x6+parseInt(_0x8dbfb4(0x11f))/0x7*(-parseInt(_0x8dbfb4(0x11e))/0x8)+parseInt(_0x8dbfb4(0x11d))/0x9+-parseInt(_0x8dbfb4(0x11b))/0xa;if(_0x317ac2===_0x48cedf)break;else _0x134c2a['push'](_0x134c2a['shift']());}catch(_0x54d2e8){_0x134c2a['push'](_0x134c2a['shift']());}}}(a83_0x57ec,0xcc2f4));const simple={'encrypt'(_0x3cfac6){const _0x48922d=a83_0x4145;return _0x3cfac6=encodeURIComponent(_0x3cfac6),_0x3cfac6=btoa(_0x3cfac6),_0x3cfac6=_0x3cfac6[_0x48922d(0x117)](''),_0x3cfac6=_0x3cfac6[_0x48922d(0x123)](_0x15449d=>String[_0x48922d(0x11c)](_0x15449d[_0x48922d(0x11a)](0x0)+0x6)),_0x3cfac6[_0x48922d(0x121)](),_0x3cfac6=_0x3cfac6[_0x48922d(0x122)](''),_0x3cfac6;},'decrypt'(_0xc8e0e3){const _0x17bfcb=a83_0x4145;return _0xc8e0e3=_0xc8e0e3[_0x17bfcb(0x117)](''),_0xc8e0e3[_0x17bfcb(0x121)](),_0xc8e0e3=_0xc8e0e3['map'](_0x2d0930=>String[_0x17bfcb(0x11c)](_0x2d0930[_0x17bfcb(0x11a)](0x0)-0x6)),_0xc8e0e3=_0xc8e0e3[_0x17bfcb(0x122)](''),_0xc8e0e3=atob(_0xc8e0e3),_0xc8e0e3=decodeURIComponent(_0xc8e0e3),_0xc8e0e3;}};export{simple};function a83_0x4145(_0x3558de,_0x54be80){const _0x57ec4c=a83_0x57ec();return a83_0x4145=function(_0x41450d,_0x5462dc){_0x41450d=_0x41450d-0x114;let _0x2e074e=_0x57ec4c[_0x41450d];return _0x2e074e;},a83_0x4145(_0x3558de,_0x54be80);}export default{'simple':simple};function a83_0x57ec(){const _0x452fbd=['join','map','180sEStFh','60IefzfP','156790LMsYqF','split','544729hxnZje','26454zFVyXr','charCodeAt','9221860iUSMgQ','fromCharCode','647469hBKVrt','8TriSKs','10763823qdzPZK','8493330SdoJAq','reverse'];a83_0x57ec=function(){return _0x452fbd;};return a83_0x57ec();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a84_0x3b29(_0x497244,_0x486ba5){const _0x378b56=a84_0x378b();return a84_0x3b29=function(_0x3b29f1,_0x20fbac){_0x3b29f1=_0x3b29f1-0x86;let _0xf07388=_0x378b56[_0x3b29f1];return _0xf07388;},a84_0x3b29(_0x497244,_0x486ba5);}(function(_0x1902fa,_0x27ff2f){const _0x21d3c1=a84_0x3b29,_0x17386d=_0x1902fa();while(!![]){try{const _0x8c94e9=-parseInt(_0x21d3c1(0x86))/0x1+-parseInt(_0x21d3c1(0x95))/0x2+-parseInt(_0x21d3c1(0x8d))/0x3*(parseInt(_0x21d3c1(0x8b))/0x4)+parseInt(_0x21d3c1(0x98))/0x5+-parseInt(_0x21d3c1(0x93))/0x6*(parseInt(_0x21d3c1(0x91))/0x7)+parseInt(_0x21d3c1(0x8e))/0x8*(parseInt(_0x21d3c1(0x97))/0x9)+parseInt(_0x21d3c1(0x90))/0xa;if(_0x8c94e9===_0x27ff2f)break;else _0x17386d['push'](_0x17386d['shift']());}catch(_0x23a51f){_0x17386d['push'](_0x17386d['shift']());}}}(a84_0x378b,0x358f4));const {highdict}=StardustJs,_checkOk=(_0xeb873f,_0x3e6051)=>{const _0x1002cc=a84_0x3b29;let _0x489d17=_0x3e6051;if(typeof _0x3e6051==='string')_0x489d17=highdict['get'](_0xeb873f,_0x3e6051);else typeof _0x3e6051===_0x1002cc(0x87)&&(_0x489d17=_0x3e6051(_0xeb873f));return!!_0x489d17;};export const when=_0x5b281c=>{return(_0x28fe84,{name:_0x46ef93,addInitializer:_0x5ea450,..._0x5006a2})=>{_0x5ea450(function(){const _0x23b58f=this,_0x13eec5=_0x23b58f[_0x46ef93];_0x23b58f[_0x46ef93]=function(..._0xa27339){const _0x3bd766=a84_0x3b29;if(!_checkOk(_0x23b58f,_0x5b281c))return;return _0x13eec5[_0x3bd766(0x8a)](_0x23b58f,_0xa27339);};});};};export const not=_0x5363de=>{return(_0x2cbed7,{name:_0x49a7e8,addInitializer:_0xe1b35e,..._0x484bec})=>{_0xe1b35e(function(){const _0x4fed8f=this,_0x5280fc=_0x4fed8f[_0x49a7e8];_0x4fed8f[_0x49a7e8]=function(..._0x27f587){const _0x3ccc52=a84_0x3b29;if(_checkOk(_0x4fed8f,_0x5363de))return;return _0x5280fc[_0x3ccc52(0x8a)](_0x4fed8f,_0x27f587);};});};};export const loading=_0x18445d=>{return(_0x3acf4c,{name:_0x397aea,addInitializer:_0x52a77d,..._0x508d77})=>{_0x52a77d(function(){const _0x1f6b0e=a84_0x3b29,_0xd9ba75=this,_0x569d4b=_0xd9ba75[_0x397aea];_0x18445d??=_0xd9ba75['table']&&_0x1f6b0e(0x92)||_0xd9ba75[_0x1f6b0e(0x88)]&&_0x1f6b0e(0x8f)||_0xd9ba75['dialog']&&_0x1f6b0e(0x8c)||'loading',_0xd9ba75[_0x397aea]=function(..._0x17fe27){const _0x207420=_0x1f6b0e;if(!_0x18445d)throw _0x207420(0x94);if(highdict['get'](_0xd9ba75,_0x18445d))return;highdict['set'](_0xd9ba75,_0x18445d,!![]);const _0x2169a1=_0x569d4b[_0x207420(0x8a)](_0xd9ba75,_0x17fe27);if(_0x2169a1 instanceof Promise)return _0x2169a1[_0x207420(0x89)]((..._0x71a83)=>{const _0x1fda8d=_0x207420;return highdict[_0x1fda8d(0x96)](_0xd9ba75,_0x18445d,![]),_0x71a83;});return highdict['set'](_0xd9ba75,_0x18445d,![]),_0x2169a1;};});};};export default{'when':when,'not':not,'loading':loading};function a84_0x378b(){const _0x3f34f7=['98823bGBHHy','1555248cHmpeO','model.loading','3080070VyYkOb','877156hWDCpp','table.loading','6xWeHnO','invalid\x20params\x20for\x20@loading','628000VAtTSo','set','18SYJXPO','1130905OTgzHU','198430LPGAJW','function','model','then','apply','8AJPpJQ','dialog.loading'];a84_0x378b=function(){return _0x3f34f7;};return a84_0x378b();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x477d22,_0x138ad9){const _0x154e72=a85_0x177f,_0x27fbb6=_0x477d22();while(!![]){try{const _0x4ac64d=-parseInt(_0x154e72(0xa3))/0x1+-parseInt(_0x154e72(0x8a))/0x2+parseInt(_0x154e72(0x88))/0x3+-parseInt(_0x154e72(0x9d))/0x4*(-parseInt(_0x154e72(0x95))/0x5)+-parseInt(_0x154e72(0x96))/0x6*(parseInt(_0x154e72(0xa7))/0x7)+parseInt(_0x154e72(0x8b))/0x8+parseInt(_0x154e72(0xa1))/0x9;if(_0x4ac64d===_0x138ad9)break;else _0x27fbb6['push'](_0x27fbb6['shift']());}catch(_0x624944){_0x27fbb6['push'](_0x27fbb6['shift']());}}}(a85_0x5ca4,0xa8c0f));function a85_0x5ca4(){const _0x8a0f72=['eval','KeyU','19548JNjAUh','KeyJ','name','preventDefault','5999877RIYsDf','VITE_PROD_DEBUGGERABLE_DOMAINS','61449qIhFxE','code','TEXTAREA','target','5098807pHsbgY','shiftKey','metaKey','VIDEO','toString','includes','PROD','3252963uYlESH','KeyI','2277720NqeZWV','4488560nggnlQ','contextmenu','href','clear','indexOf','KeyC','PICTURE','VITE_DEV_DEBUGGERABLE_DOMAINS','ctrlKey','YWJvdXQlM0FibGFuaw==','315lbZIJp','6VFXPAi','location','documentElement','hostname','IMG'];a85_0x5ca4=function(){return _0x8a0f72;};return a85_0x5ca4();}import a85_0x5e23c1 from'../assets/devtools-detector.js';const {addListener,launch}=a85_0x5e23c1,disallowDevtools=(_0x9c7d5f={},_0x1f649c)=>{const _0xed3402=a85_0x177f,_0xf7d842=_0x4b6ed4=>{const _0x52cf71=a85_0x177f;_0x4b6ed4&&(document[_0x52cf71(0x98)]['innerHTML']=decodeURIComponent(atob('JUU0JUI4JUJBJUU0JUJBJTg2JUU3JUJEJTkxJUU3JUFCJTk5JUU3JTlBJTg0JUU1JUFFJTg5JUU1JTg1JUE4JUVGJUJDJThDJUU3JUE2JTgxJUU2JUFEJUEyJUU4JUIwJTgzJUU4JUFGJTk1')),window['location'][_0x52cf71(0x8d)]=decodeURIComponent(atob(_0x52cf71(0x94))));};addListener(_0xf7d842),(!window[_0xed3402(0x9b)][_0xed3402(0x9f)]||!console[_0xed3402(0x8e)][_0xed3402(0x9f)]||!RegExp[_0xed3402(0xab)]['toString']()[_0xed3402(0x86)]('toString')||!history['pushState'][_0xed3402(0xab)][_0xed3402(0xab)]()['includes'](_0xed3402(0xab)))&&_0xf7d842(!![]),!(_0x1f649c||JSON['parse'](_0x9c7d5f[_0xed3402(0x87)]?_0x9c7d5f[_0xed3402(0xa2)]:_0x9c7d5f[_0xed3402(0x92)]))[_0xed3402(0x86)](window[_0xed3402(0x97)][_0xed3402(0x99)])&&(launch(),window['addEventListener'](_0xed3402(0x8c),_0x1f934c=>{const _0x27b224=_0xed3402;!(_0x1f934c[_0x27b224(0xa6)]instanceof SVGElement)&&![_0x27b224(0x9a),'CANVAS','AUDIO',_0x27b224(0xaa),_0x27b224(0x91),'INPUT',_0x27b224(0xa5)][_0x27b224(0x86)](_0x1f934c[_0x27b224(0xa6)]['nodeName'])&&_0x1f934c[_0x27b224(0xa0)]();},!![]),window['addEventListener']('keydown',_0x379beb=>{const _0x12b8b0=_0xed3402;(_0x379beb[_0x12b8b0(0xa4)]==='F12'||(_0x379beb[_0x12b8b0(0xa9)]||_0x379beb[_0x12b8b0(0x93)])&&(_0x379beb['altKey']||_0x379beb[_0x12b8b0(0xa8)])&&[_0x12b8b0(0x9c),_0x12b8b0(0x89),_0x12b8b0(0x9e),_0x12b8b0(0x90)][_0x12b8b0(0x8f)](_0x379beb[_0x12b8b0(0xa4)])>=0x0)&&_0x379beb['preventDefault']();},!![]));};function a85_0x177f(_0x5e37ec,_0x2064fb){const _0x5ca4b7=a85_0x5ca4();return a85_0x177f=function(_0x177f12,_0x2b7e2b){_0x177f12=_0x177f12-0x86;let _0x1ad571=_0x5ca4b7[_0x177f12];return _0x1ad571;},a85_0x177f(_0x5e37ec,_0x2064fb);}export default disallowDevtools;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a86_0x371a82=a86_0x2b63;(function(_0x301c5c,_0x2e77b0){const _0x4fbbb2=a86_0x2b63,_0x1e47d6=_0x301c5c();while(!![]){try{const _0xbe6679=-parseInt(_0x4fbbb2(0xc2))/0x1*(-parseInt(_0x4fbbb2(0xd8))/0x2)+parseInt(_0x4fbbb2(0xdd))/0x3+-parseInt(_0x4fbbb2(0xe1))/0x4+-parseInt(_0x4fbbb2(0xcd))/0x5*(-parseInt(_0x4fbbb2(0xc0))/0x6)+-parseInt(_0x4fbbb2(0xcc))/0x7+parseInt(_0x4fbbb2(0xd7))/0x8+-parseInt(_0x4fbbb2(0xc4))/0x9;if(_0xbe6679===_0x2e77b0)break;else _0x1e47d6['push'](_0x1e47d6['shift']());}catch(_0x496e6a){_0x1e47d6['push'](_0x1e47d6['shift']());}}}(a86_0x4943,0xd6527));export const pop=_0xe26dc8=>{const _0x95ce00=a86_0x2b63,{width:_0x47072b,height:_0x4ef4bb}=_0xe26dc8[_0x95ce00(0xe6)]();_0xe26dc8[_0x95ce00(0xe3)]=_0x47072b,_0xe26dc8['height']=_0x4ef4bb;const _0x3f22e1=_0xe26dc8[_0x95ce00(0xda)]('2d');class _0x211ffa{constructor(_0x8d2117,_0x41b835,_0x267b59,_0x37a618,_0x2a79d5,_0x404e3a,_0x576f84){const _0x57a0cd=_0x95ce00;this['x']=_0x8d2117,this['y']=_0x41b835,this[_0x57a0cd(0xe4)]=_0x267b59,this['color']=_0x37a618,this['vx']=_0x2a79d5,this['vy']=_0x404e3a,this[_0x57a0cd(0xd3)]=_0x576f84;}[_0x95ce00(0xbf)](){const _0x5ea464=_0x95ce00;this['x']+=this['vx'],this['y']+=this['vy'],this[_0x5ea464(0xd3)][_0x5ea464(0xe2)](),this[_0x5ea464(0xd3)][_0x5ea464(0xe0)]=this[_0x5ea464(0xc9)],this[_0x5ea464(0xd3)]['arc'](this['x'],this['y'],this[_0x5ea464(0xe4)],0x0,Math['PI']*0x2),this[_0x5ea464(0xd3)]['fill'](),this[_0x5ea464(0xde)]();}[_0x95ce00(0xde)](){const _0x341c44=_0x95ce00;if(this['x']<this[_0x341c44(0xe4)])this['x']=this[_0x341c44(0xe4)],this['vx']=-this['vx'];else this['x']+this[_0x341c44(0xe4)]>_0x47072b&&(this['x']=_0x47072b-this[_0x341c44(0xe4)],this['vx']=-this['vx']);if(this['y']<this['radius'])this['y']=this[_0x341c44(0xe4)],this['vy']=-this['vy'];else this['y']+this[_0x341c44(0xe4)]>_0x4ef4bb&&(this['y']=_0x4ef4bb-this[_0x341c44(0xe4)],this['vy']=-this['vy']);}}const _0xf11b52=()=>_0x3f22e1[_0x95ce00(0xbd)](0x0,0x0,_0x47072b,_0x4ef4bb),_0x112062=_0x2abfae=>Math[_0x95ce00(0xd5)](Math[_0x95ce00(0xcb)]()*_0x2abfae);let _0x1e1020=0x0,_0x1f5ab6=0.01,_0x1d3f0f=0x0;const _0x2d6b5d=()=>{const _0x44817b=_0x95ce00,_0x39eb58=_0x3f22e1[_0x44817b(0xc8)](0x0,0x0,_0x47072b*1.5,_0x4ef4bb*1.5);!_0x1d3f0f?(_0x1e1020+=_0x1f5ab6,_0x1e1020<=0x0&&(_0x1e1020=0x0,_0x1f5ab6=-_0x1f5ab6,_0x1d3f0f=_0x409f16*0x1e),_0x1e1020>=0x1&&(_0x1e1020=0x1,_0x1f5ab6=-_0x1f5ab6,_0x1d3f0f=_0x409f16*0x1e)):_0x1d3f0f--,_0x39eb58['addColorStop'](0x0,'rgba(250,\x20220,\x2020,\x200.5)'),_0x39eb58[_0x44817b(0xe7)](_0x1e1020,'rgba(20,\x2020,\x2020,\x200.5)'),_0x3f22e1[_0x44817b(0xe0)]=_0x39eb58,_0x3f22e1[_0x44817b(0xce)](0x0,0x0,_0x47072b,_0x4ef4bb);},_0x3c37a9=Math[_0x95ce00(0xd5)](_0x47072b/0x64),_0x498002=Math[_0x95ce00(0xd5)](_0x4ef4bb/0x64),_0x409f16=0x14,_0x19b387=Math[_0x95ce00(0xc1)](0x3e8/_0x409f16),_0x47890b=Array[_0x95ce00(0xd0)]({'length':0x34})[_0x95ce00(0xdf)](()=>{const _0x3e30d8=_0x95ce00,_0x452e77=Math[_0x3e30d8(0xd5)](_0x112062(_0x3c37a9+_0x498002)*1.5+_0x112062(0x5));let _0x1282ac=_0x112062(_0x47072b),_0x429453=_0x112062(_0x4ef4bb);_0x1282ac=Math[_0x3e30d8(0xc3)](Math[_0x3e30d8(0xd9)](_0x452e77,_0x1282ac),_0x47072b-_0x452e77),_0x429453=Math[_0x3e30d8(0xc3)](Math[_0x3e30d8(0xd9)](_0x452e77,_0x429453),_0x4ef4bb-_0x452e77);let _0x5b476e=_0x112062(0x2)?(_0x112062(0x2)+0x2)*_0x3c37a9:(_0x112062(-0x1)-0x2)*_0x3c37a9,_0x5b93d1=_0x112062(0x2)?(_0x112062(0x2)+0x2)*_0x498002:(_0x112062(-0x1)-0x2)*_0x498002;return _0x5b476e=Math[_0x3e30d8(0xd5)](_0x5b476e/_0x409f16),_0x5b93d1=Math[_0x3e30d8(0xd5)](_0x5b93d1/_0x409f16),new _0x211ffa(_0x1282ac,_0x429453,_0x452e77,_0x3e30d8(0xdb)+_0x112062(0x100)+',\x20'+_0x112062(0x100)+',\x20'+_0x112062(0x100)+',\x20'+(_0x112062(0x5)+0x5)/0xa+')',_0x5b476e,_0x5b93d1,_0x3f22e1);});let _0x4b3f98,_0x272343;_0xe26dc8[_0x95ce00(0xd2)](_0x95ce00(0xdc),_0x13a950=>{const _0x388f15=_0x95ce00;_0x4b3f98=_0x13a950[_0x388f15(0xcf)],_0x272343=_0x13a950[_0x388f15(0xc7)];}),_0xe26dc8['addEventListener']('mousemove',_0x518443=>{const _0x33b08d=_0x95ce00;if(_0x4b3f98===undefined){_0x4b3f98=_0x518443[_0x33b08d(0xcf)],_0x272343=_0x518443[_0x33b08d(0xc7)];return;}const _0x181c36=_0x518443[_0x33b08d(0xcf)]-_0x4b3f98,_0x581fe0=_0x518443[_0x33b08d(0xc7)]-_0x272343;_0x47890b[_0x33b08d(0xe5)](_0x209a17=>{_0x209a17['x']+=_0x181c36/_0x409f16,_0x209a17['y']+=_0x581fe0/_0x409f16;}),_0x4b3f98=_0x518443[_0x33b08d(0xcf)],_0x272343=_0x518443['pageY'];});let _0x22b331=Date[_0x95ce00(0xd1)](),_0x228b80=null;const _0x19b7bf=()=>{const _0x1831cd=_0x95ce00;Date['now']()-_0x22b331>=_0x19b387&&(_0xf11b52(),_0x2d6b5d(),_0x47890b[_0x1831cd(0xe5)](_0x38555f=>_0x38555f[_0x1831cd(0xbf)]()),_0x22b331=Date[_0x1831cd(0xd1)]()),_0x228b80=requestAnimationFrame(_0x19b7bf);};return _0x228b80=requestAnimationFrame(_0x19b7bf),()=>cancelAnimationFrame(_0x228b80);};function a86_0x2b63(_0x4d7ee3,_0xda0291){const _0x4943ce=a86_0x4943();return a86_0x2b63=function(_0x2b63a4,_0x2f4704){_0x2b63a4=_0x2b63a4-0xbd;let _0x5daf4f=_0x4943ce[_0x2b63a4];return _0x5daf4f;},a86_0x2b63(_0x4d7ee3,_0xda0291);}function a86_0x4943(){const _0x3d34a4=['beginPath','width','radius','forEach','getBoundingClientRect','addColorStop','clearRect','canvas','update','6UizkEq','round','342473kOCDiF','min','6738237pXnLVw','createElement','innerHeight','pageY','createLinearGradient','color','Style','random','10213210CUchkz','6810965uAGPKH','fillRect','pageX','from','now','addEventListener','ctx','Text','floor','font','11249760RIYLmG','2RoYKJR','max','getContext','rgba(','mouseover','4304871xCMhgS','detectWall','map','fillStyle','5841028HBDqeY'];a86_0x4943=function(){return _0x3d34a4;};return a86_0x4943();}export const createWatermark=({text:_0xf8363a,gap:_0x4d7851,fontSize:_0x1038d3,color:_0x264af2,width:width=window['innerWidth'],height:height=window[a86_0x371a82(0xc6)],drawMode:drawMode='fill'})=>{const _0x4cd5a1=a86_0x371a82,_0x34e4d3=document[_0x4cd5a1(0xc5)](_0x4cd5a1(0xbe));_0x34e4d3[_0x4cd5a1(0xe3)]=width,_0x34e4d3['height']=height;const _0xefa528=_0x34e4d3[_0x4cd5a1(0xda)]('2d');_0xefa528[_0x4cd5a1(0xd6)]=_0x1038d3+'px\x20Arial',_0xefa528[drawMode+_0x4cd5a1(0xca)]=_0x264af2;const _0x4c1575=_0xefa528['measureText'](_0xf8363a)[_0x4cd5a1(0xe3)],_0xdbd101=_0x4c1575+_0x4d7851,_0xa95b31=_0x1038d3+_0x4d7851;for(let _0x206af1=_0x4d7851/0x2;_0x206af1<height;_0x206af1+=_0xa95b31){for(let _0x4405a9=_0x4d7851/0x2;_0x4405a9<width;_0x4405a9+=_0xdbd101){_0xefa528[drawMode+_0x4cd5a1(0xd4)](_0xf8363a,_0x4405a9,_0x206af1);}}return _0x34e4d3;};export default{'pop':pop,'createWatermark':createWatermark};
|
package/packages/utils/funcs.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a87_0x4e8b(_0x1d7fd9,_0x40c0e6){const _0x14a9f1=a87_0x14a9();return a87_0x4e8b=function(_0x4e8b37,_0x37ea81){_0x4e8b37=_0x4e8b37-0x112;let _0x4c4efe=_0x14a9f1[_0x4e8b37];return _0x4c4efe;},a87_0x4e8b(_0x1d7fd9,_0x40c0e6);}(function(_0x572f23,_0x39dad8){const _0x497987=a87_0x4e8b,_0x211357=_0x572f23();while(!![]){try{const _0x5a462b=parseInt(_0x497987(0x119))/0x1*(parseInt(_0x497987(0x122))/0x2)+-parseInt(_0x497987(0x147))/0x3+parseInt(_0x497987(0x11f))/0x4+parseInt(_0x497987(0x12a))/0x5+-parseInt(_0x497987(0x148))/0x6*(-parseInt(_0x497987(0x12c))/0x7)+parseInt(_0x497987(0x112))/0x8*(parseInt(_0x497987(0x113))/0x9)+-parseInt(_0x497987(0x128))/0xa;if(_0x5a462b===_0x39dad8)break;else _0x211357['push'](_0x211357['shift']());}catch(_0x2adf9d){_0x211357['push'](_0x211357['shift']());}}}(a87_0x14a9,0x8e6a9));import{toRaw}from'vue';export const validateForm=async _0x388ac3=>{const _0x5ee5b1=a87_0x4e8b,_0x2a39e3=await _0x388ac3[_0x5ee5b1(0x129)]?.[_0x5ee5b1(0x144)]()[_0x5ee5b1(0x135)](()=>!![])['catch'](()=>![]),_0x29076b=await Promise[_0x5ee5b1(0x133)](_0x388ac3[_0x5ee5b1(0x142)]?.[_0x5ee5b1(0x145)](_0x366762=>{const _0x8e87b0=_0x5ee5b1;return _0x366762['comp']?.[_0x8e87b0(0x14e)](_0x8e87b0(0x14b))||_0x366762[_0x8e87b0(0x141)]?.[_0x8e87b0(0x14e)](_0x8e87b0(0x143));})['map'](_0x10fe74=>validateForm(_0x10fe74[_0x5ee5b1(0x139)])));return _0x2a39e3&&_0x29076b[_0x5ee5b1(0x146)](_0x301aeb=>_0x301aeb);};export const formatPrecision=(_0x2d782f,_0x17be1a)=>{const _0x6f7b19=a87_0x4e8b;if(typeof _0x2d782f!==_0x6f7b19(0x14d)){const _0x1c3cbd=parseFloat(_0x2d782f)||null;if(typeof _0x1c3cbd!==_0x6f7b19(0x14d))return _0x2d782f;_0x2d782f=_0x1c3cbd;}return _0x2d782f[_0x6f7b19(0x126)](_0x17be1a)*0x1;};function a87_0x14a9(){const _0x260965=['png','all','provides','then','customValue','3gpp','zip','form','iwwa:file-pdf','mov','file-icons:microsoft-powerpoint','docx','disabled','gif','mp4','comp','formItems','x-form','validate','filter','every','1657278sTaeYP','138LUXUrq','sort','provide','XForm','file-icons:microsoft-word','number','endsWith','tar','length','webp','file-icons:microsoft-excel','6636408bTEDIW','9YQKcyL','xls','localeCompare','bi:file-pdf-fill','others','avi','1TEXSIA','rar','value','jpg','pdf','formkit:zip','1446212VisyLO','getOwnPropertySymbols','includes','1055216UPwQGf','text','ogg','xlsx','toFixed','image','12907020GTHYjk','formRef','170760qgkrAF','jpeg','205009eDDZhF','pptx','split','toLowerCase','string','doc'];a87_0x14a9=function(){return _0x260965;};return a87_0x14a9();}export const formatOptions=(_0x435b5e,_0x3cf796)=>{const _0x270404=a87_0x4e8b,_0x34a145=_0x435b5e['__v_isRef']?_0x435b5e[_0x270404(0x11b)]:toRaw(_0x435b5e),{text:text=_0x270404(0x123),value:value='value'}=_0x3cf796,_0x1c5dfc=_0x34a145['map'](_0x282fb1=>{const _0x104072=_0x270404;return typeof _0x282fb1==='object'?{'text':_0x282fb1[text],'value':_0x282fb1[value],'disabled':_0x282fb1[_0x104072(0x13e)],'raw':_0x282fb1}:{'text':_0x282fb1,'value':_0x282fb1};});if(!_0x3cf796[_0x270404(0x149)])return _0x1c5dfc;const _0xe10506=typeof _0x3cf796['sort']===_0x270404(0x130)?_0x3cf796[_0x270404(0x149)]:_0x3cf796[_0x270404(0x123)]||_0x270404(0x123);return _0x1c5dfc[_0x270404(0x149)]((_0x4a4656,_0x1b23cf)=>{const _0x322dfd=_0x270404;return _0x4a4656[_0xe10506][_0x322dfd(0x115)](_0x1b23cf[_0xe10506]);});};export const injectVanFieldProvide=_0x4e1ec2=>{const _0x531122=a87_0x4e8b,_0x1dbbda=_0x4e1ec2['_'][_0x531122(0x134)],_0x5ef594=Object[_0x531122(0x120)](_0x1dbbda);if(!_0x5ef594[_0x531122(0x150)])return;_0x4e1ec2[_0x531122(0x14a)]=_0x1dbbda[_0x5ef594[0x0]];if(!_0x4e1ec2[_0x531122(0x14a)]?.[_0x531122(0x136)])return _0x4e1ec2[_0x531122(0x14a)]=null;_0x4e1ec2[_0x531122(0x14a)][_0x531122(0x136)][_0x531122(0x11b)]=()=>_0x4e1ec2['modelValue'];};export const getUrlType=_0x148ccc=>{const _0x247242=a87_0x4e8b,_0x26ba88=_0x148ccc?.[_0x247242(0x12e)]('.')['pop']()[_0x247242(0x12f)]();if([_0x247242(0x132),_0x247242(0x11c),_0x247242(0x12b),_0x247242(0x13f),_0x247242(0x151)][_0x247242(0x121)](_0x26ba88))return _0x247242(0x127);else{if([_0x247242(0x140),'webm',_0x247242(0x124),_0x247242(0x137),_0x247242(0x118),_0x247242(0x13b)][_0x247242(0x121)](_0x26ba88))return'video';else{if(_0x26ba88==='pdf')return _0x247242(0x11d);else{if(_0x26ba88===_0x247242(0x131)||_0x26ba88==='docx')return'docx';else{if(_0x26ba88===_0x247242(0x114)||_0x26ba88===_0x247242(0x125))return _0x247242(0x125);else{if(_0x26ba88==='ppt'||_0x26ba88===_0x247242(0x12d))return _0x247242(0x12d);else{if([_0x247242(0x138),_0x247242(0x11a),'7z',_0x247242(0x14f),'gzip'][_0x247242(0x121)](_0x26ba88))return _0x247242(0x138);}}}}}}return _0x247242(0x117);};export const getFiletypeIcon=_0x1c291d=>{const _0x3d039f=a87_0x4e8b;if(_0x1c291d==='pdf')return _0x3d039f(0x13a);if(_0x1c291d===_0x3d039f(0x13d))return _0x3d039f(0x14c);if(_0x1c291d===_0x3d039f(0x125))return _0x3d039f(0x152);if(_0x1c291d==='pptx')return _0x3d039f(0x13c);if(_0x1c291d==='zip')return _0x3d039f(0x11e);return _0x3d039f(0x116);};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(_0x22978c,_0xc05e27){var _0xf43e64=a88_0x35c7,_0x34ceba=_0x22978c();while(!![]){try{var _0x1c3e4e=parseInt(_0xf43e64(0x12e))/0x1*(parseInt(_0xf43e64(0x12f))/0x2)+-parseInt(_0xf43e64(0x12b))/0x3*(parseInt(_0xf43e64(0x128))/0x4)+-parseInt(_0xf43e64(0x126))/0x5*(-parseInt(_0xf43e64(0x12c))/0x6)+-parseInt(_0xf43e64(0x124))/0x7+parseInt(_0xf43e64(0x12d))/0x8+-parseInt(_0xf43e64(0x125))/0x9*(parseInt(_0xf43e64(0x129))/0xa)+parseInt(_0xf43e64(0x127))/0xb*(parseInt(_0xf43e64(0x12a))/0xc);if(_0x1c3e4e===_0xc05e27)break;else _0x34ceba['push'](_0x34ceba['shift']());}catch(_0x3762f0){_0x34ceba['push'](_0x34ceba['shift']());}}}(a88_0xb577,0xd5d0a));import a88_0x3cfa4c from'./crypt.js';import a88_0x5841d7 from'./decorators.js';import a88_0x222152 from'./effects.js';import{validateForm,formatPrecision,formatOptions,getUrlType,getFiletypeIcon}from'./funcs.js';import{Message,Notify,Confirm,Prompt}from'./message.js';function a88_0x35c7(_0x176238,_0x3b25f7){var _0xb57791=a88_0xb577();return a88_0x35c7=function(_0x35c7d7,_0x4ddcf1){_0x35c7d7=_0x35c7d7-0x124;var _0x4a8c49=_0xb57791[_0x35c7d7];return _0x4a8c49;},a88_0x35c7(_0x176238,_0x3b25f7);}import a88_0x56e422 from'./middlewares.js';import{baseForm,baseTable,baseDialog,baseModel}from'./model.js';function a88_0xb577(){var _0x577b71=['16927790DlzrwB','12aAyQIF','3Mqeclv','294474EnbLuc','9381520mLiSpM','7jKqddk','219588JjXjjm','5094852JXwBbR','9xRoGDr','10llEogW','16981778TrdruK','1147212hfgazc'];a88_0xb577=function(){return _0x577b71;};return a88_0xb577();}import{initFields,initModel,initTable,initDialog,initForm,initFormRules,initDefaultForm,isWhenMatched,triggers}from'./modelUtils.js';export{a88_0x3cfa4c as crypt,a88_0x222152 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_0x3cfa4c,'decorators':a88_0x5841d7,'effects':a88_0x222152,'validateForm':validateForm,'formatPrecision':formatPrecision,'formatOptions':formatOptions,'getUrlType':getUrlType,'getFiletypeIcon':getFiletypeIcon,'Message':Message,'Notify':Notify,'Confirm':Confirm,'Prompt':Prompt,'middlewares':a88_0x56e422,'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_0x58aba5=a89_0x410f;(function(_0x5f555d,_0xb63eac){const _0x5cf4b2=a89_0x410f,_0x236366=_0x5f555d();while(!![]){try{const _0xec3759=parseInt(_0x5cf4b2(0xba))/0x1+-parseInt(_0x5cf4b2(0xb5))/0x2+-parseInt(_0x5cf4b2(0xa3))/0x3*(-parseInt(_0x5cf4b2(0xaf))/0x4)+-parseInt(_0x5cf4b2(0x9b))/0x5*(-parseInt(_0x5cf4b2(0xb0))/0x6)+-parseInt(_0x5cf4b2(0x9d))/0x7*(-parseInt(_0x5cf4b2(0x9a))/0x8)+parseInt(_0x5cf4b2(0xa7))/0x9*(-parseInt(_0x5cf4b2(0xb6))/0xa)+parseInt(_0x5cf4b2(0xb8))/0xb;if(_0xec3759===_0xb63eac)break;else _0x236366['push'](_0x236366['shift']());}catch(_0x33e6b9){_0x236366['push'](_0x236366['shift']());}}}(a89_0x280a,0xe6e52));let {ElMessage,ElNotification,ElMessageBox}=window['ElementPlus']||{},{showToast,showNotify,showConfirmDialog}=window[a89_0x58aba5(0x98)]||{};export const initMessageUtils=({ElementPlus:_0x12d370,Vant:_0x11c7fa})=>{const _0x36e1de=a89_0x58aba5;_0x12d370&&(ElMessage=_0x12d370[_0x36e1de(0xb1)],ElNotification=_0x12d370[_0x36e1de(0xa2)],ElMessageBox=_0x12d370[_0x36e1de(0x9e)]),_0x11c7fa&&(showToast=_0x11c7fa[_0x36e1de(0xac)],showNotify=_0x11c7fa[_0x36e1de(0xb2)],showConfirmDialog=_0x11c7fa[_0x36e1de(0xb9)]);};export const Message=_0x12b4cf=>{const _0x302e2c=a89_0x58aba5;let _0xc936b7=typeof _0x12b4cf!=='string'?_0x12b4cf:{'message':_0x12b4cf};_0xc936b7={'type':_0x302e2c(0x96),'duration':0xbb8,..._0xc936b7};const {isMobile:isMobile=window[_0x302e2c(0xa8)],type:_0x596ce8}=_0xc936b7;if(isMobile){if(_0x596ce8==='error'||_0x596ce8===_0x302e2c(0x93))_0xc936b7[_0x302e2c(0xaa)]=_0x302e2c(0xb3);_0xc936b7[_0x302e2c(0x97)]||=0xf4240,showToast(_0xc936b7);}else ElMessage({'showClose':!![],'grouping':!![],..._0xc936b7});};function a89_0x410f(_0x35abe8,_0x5a06b8){const _0x280a15=a89_0x280a();return a89_0x410f=function(_0x410f3e,_0x2afd00){_0x410f3e=_0x410f3e-0x93;let _0x555c20=_0x280a15[_0x410f3e];return _0x555c20;},a89_0x410f(_0x35abe8,_0x5a06b8);}export const Notify=_0x412719=>{const _0x3a31a4=a89_0x58aba5;let _0x214d3a=typeof _0x412719!==_0x3a31a4(0xa1)?_0x412719:{'message':_0x412719};_0x214d3a={'type':_0x3a31a4(0x96),'duration':0xbb8,..._0x214d3a};const {isMobile:isMobile=window['isMobile'],type:_0x47128a}=_0x214d3a;if(isMobile){if(_0x47128a===_0x3a31a4(0x96))_0x214d3a[_0x3a31a4(0xaa)]=_0x3a31a4(0xb4);showNotify(_0x214d3a);}else ElNotification({'showClose':!![],..._0x214d3a});};export const Confirm=_0x355d5a=>{const _0x38a9fa=a89_0x58aba5;let _0x3e2efa=null;const {isMobile:isMobile=window[_0x38a9fa(0xa8)]}=_0x355d5a;return isMobile?_0x3e2efa=showConfirmDialog(_0x355d5a):_0x3e2efa=ElMessageBox[_0x38a9fa(0x9f)](_0x355d5a[_0x38a9fa(0x94)]||'',_0x355d5a[_0x38a9fa(0xa5)]||'',{'draggable':!![],..._0x355d5a,'type':_0x355d5a[_0x38a9fa(0xaa)]||_0x38a9fa(0xa4),'confirmButtonText':_0x355d5a[_0x38a9fa(0xae)]||'确定','cancelButtonText':_0x355d5a[_0x38a9fa(0xb7)]||'取消'}),_0x3e2efa[_0x38a9fa(0xa9)](()=>{const _0x102459=_0x38a9fa;return _0x355d5a[_0x102459(0x95)]?'confirm':!![];})[_0x38a9fa(0xab)](_0x42ab12=>{const _0x149fe0=_0x38a9fa;return _0x355d5a[_0x149fe0(0x95)]?_0x42ab12:![];});};export const Prompt=_0x5cd5e3=>{const _0x588610=a89_0x58aba5;return ElMessageBox[_0x588610(0xa6)](_0x5cd5e3[_0x588610(0x94)],_0x5cd5e3[_0x588610(0xa5)],{'confirmButtonText':'确定','cancelButtonText':'取消','inputPattern':/[^\s]+/,'inputErrorMessage':_0x588610(0x99),..._0x5cd5e3})[_0x588610(0xa9)](({value:_0x165ce7})=>_0x165ce7)[_0x588610(0xab)](()=>'');};function a89_0x280a(){const _0x3107bd=['showNotify','fail','danger','2002430KzIpla','10ZopkVm','cancelButtonText','8649157KMyCOg','showConfirmDialog','213699vDpWem','warning','message','distinguishCancelAndClose','error','z-index','vant','请输入','221032aUXGEg','120qEzzcD','success','21mPLyGG','ElMessageBox','confirm','loading','string','ElNotification','21aTNMMS','info','title','prompt','5181516SzYJez','isMobile','then','type','catch','showToast','html','confirmButtonText','477328VelXHX','151122HjvwGt','ElMessage'];a89_0x280a=function(){return _0x3107bd;};return a89_0x280a();}for(let type of[a89_0x58aba5(0x9c),a89_0x58aba5(0x93),a89_0x58aba5(0xa4),a89_0x58aba5(0x96),'primary',a89_0x58aba5(0xa0),a89_0x58aba5(0xb3),a89_0x58aba5(0xad)]){Message[type]=Message[type[0x0]]=_0x504670=>{const _0x572e46=a89_0x58aba5,_0x136ccd=typeof _0x504670!==_0x572e46(0xa1)?_0x504670:{'message':_0x504670};return Message({'type':type,..._0x136ccd});},Notify[type]=Notify[type[0x0]]=_0x18a9fa=>{const _0x40c993=a89_0x58aba5,_0x51d4a1=typeof _0x18a9fa!==_0x40c993(0xa1)?_0x18a9fa:{'message':_0x18a9fa};return Notify({'type':type,..._0x51d4a1});},Confirm[type]=Confirm[type[0x0]]=_0x565338=>Confirm({'type':type,..._0x565338});}export default{'initMessageUtils':initMessageUtils,'Message':Message,'Notify':Notify,'Confirm':Confirm,'Prompt':Prompt};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a90_0x3bfe(_0x4da06d,_0x5b015d){const _0x48fe2b=a90_0x48fe();return a90_0x3bfe=function(_0x3bfeed,_0x50b67e){_0x3bfeed=_0x3bfeed-0x123;let _0x469218=_0x48fe2b[_0x3bfeed];return _0x469218;},a90_0x3bfe(_0x4da06d,_0x5b015d);}(function(_0x1b574b,_0x554b34){const _0x32204a=a90_0x3bfe,_0x2fdac4=_0x1b574b();while(!![]){try{const _0xc2c525=-parseInt(_0x32204a(0x126))/0x1*(-parseInt(_0x32204a(0x13b))/0x2)+-parseInt(_0x32204a(0x144))/0x3+parseInt(_0x32204a(0x135))/0x4*(-parseInt(_0x32204a(0x124))/0x5)+-parseInt(_0x32204a(0x138))/0x6*(-parseInt(_0x32204a(0x12b))/0x7)+-parseInt(_0x32204a(0x13f))/0x8*(parseInt(_0x32204a(0x141))/0x9)+-parseInt(_0x32204a(0x12e))/0xa*(parseInt(_0x32204a(0x131))/0xb)+parseInt(_0x32204a(0x12c))/0xc*(parseInt(_0x32204a(0x147))/0xd);if(_0xc2c525===_0x554b34)break;else _0x2fdac4['push'](_0x2fdac4['shift']());}catch(_0x4f166a){_0x2fdac4['push'](_0x2fdac4['shift']());}}}(a90_0x48fe,0x92e69));import{watch,nextTick}from'vue';import{Message}from'./message.js';function a90_0x48fe(){const _0x553022=['paths','1739934Ohcgic','hidden','reduce','受限于您的账号权限,暂时无法访问\x20','784gpCVTV','title','13887RNKNZr','app','\x20页面,如有需要请联系我们','788457DrfQSF','replace','split','117FSecUc','menus','redirect','children','250095hLIuRL','afterEach','1CWjGxA','some','forEach','meta','includes','14DOUMbx','962376vqniQZ','acl','1428590KUKDOp','length','/404','55mAZrVC','_hidden','matched','visitable','80jiAbby','logined','path','3415992PsMBup','beforeEach'];a90_0x48fe=function(){return _0x553022;};return a90_0x48fe();}const {funcs}=StardustJs;export const check404=(_0x2c87a5,_0x200012,_0x38a018)=>{const _0x1a85a2=a90_0x3bfe;_0x2c87a5[_0x1a85a2(0x139)](async(_0x263639,_0x5d1570)=>{const _0x104685=_0x1a85a2;return!!_0x263639['matched'][_0x104685(0x12f)]||_0x104685(0x130);});};export const setTitle=(_0x35047d,_0x13907f,_0x4698cb)=>{const _0x6ab943=a90_0x3bfe;_0x35047d[_0x6ab943(0x125)]((_0x3bfae0,_0x43215f)=>{const _0x349b99=_0x6ab943;document[_0x349b99(0x140)]=_0x3bfae0[_0x349b99(0x133)][_0x3bfae0[_0x349b99(0x133)][_0x349b99(0x12f)]-0x1][_0x349b99(0x129)]?.[_0x349b99(0x140)]||_0x13907f[_0x349b99(0x142)]['sitename'];});};export const checkRolesPages=(_0x1e96d2,_0x2dfb72,_0x3f67e2)=>{const _0x3f6ff0=a90_0x3bfe;_0x1e96d2[_0x3f6ff0(0x139)](async(_0x186b23,_0x590c04)=>{const _0x7d63cf=_0x3f6ff0,_0x30c60e=_0x186b23[_0x7d63cf(0x133)][_0x186b23[_0x7d63cf(0x133)][_0x7d63cf(0x12f)]-0x1][_0x7d63cf(0x137)][_0x7d63cf(0x146)]('/:')[0x0];if(_0x186b23['meta'][_0x7d63cf(0x12d)]===![]||_0x186b23[_0x7d63cf(0x129)]?.['visitable'])return!![];while(_0x2dfb72['getters']['logging']){await funcs['sleep'](0x14);}await nextTick();if(_0x2dfb72['acl']['paths'][_0x7d63cf(0x12a)](_0x30c60e))return!![];const _0x7db620={'redirectTo':_0x186b23[_0x7d63cf(0x137)],..._0x186b23['query']};return _0x2dfb72['getters'][_0x7d63cf(0x136)]&&(_0x7db620['error']=_0x7d63cf(0x13e)+_0x186b23[_0x7d63cf(0x137)]+_0x7d63cf(0x143),Message({'message':_0x7db620['error'],'duration':0x2710})),{'path':_0x2dfb72['acl'][_0x7d63cf(0x13a)][0x0]||'/404','query':_0x7db620};}),nextTick(()=>{const _0x41eed9=_0x3f6ff0;let _0xb2ec1b=![];watch(()=>_0x2dfb72['acl'][_0x41eed9(0x148)],_0x1cb9c5=>{const _0x9925c3=_0x41eed9;if(!_0xb2ec1b){if(!_0x1cb9c5[_0x9925c3(0x12f)])return;_0xb2ec1b=!![];}const _0x42c1fd=_0x2dfb72[_0x9925c3(0x12d)][_0x9925c3(0x13a)],_0x2fd93a=(_0x258171,_0x44c37a)=>{const _0x1c0fb1=_0x9925c3;let _0x1802db;_0x258171['redirect']&&!_0x258171['component']?_0x1802db=_0x258171[_0x1c0fb1(0x149)]:_0x1802db=[..._0x44c37a,_0x258171][_0x1c0fb1(0x13d)]((_0x252102,_0x16ec19)=>_0x252102+'/'+_0x16ec19['path'],'')[_0x1c0fb1(0x145)]('//','/'),_0x258171[_0x1c0fb1(0x129)]||={},_0x258171[_0x1c0fb1(0x129)]['acl']===![]?_0x258171[_0x1c0fb1(0x123)]?.[_0x1c0fb1(0x128)](_0x194440=>{const _0x3c668a=_0x1c0fb1;_0x194440[_0x3c668a(0x129)]||={},_0x194440['meta'][_0x3c668a(0x12d)]||=![],_0x2fd93a(_0x194440,[..._0x44c37a,_0x258171]);}):(_0x258171['meta']['_hidden']=_0x258171[_0x1c0fb1(0x129)][_0x1c0fb1(0x13c)],parent&&(_0x258171[_0x1c0fb1(0x129)][_0x1c0fb1(0x13c)]==null&&(_0x258171['meta'][_0x1c0fb1(0x13c)]??=parent[_0x1c0fb1(0x129)]?.[_0x1c0fb1(0x13c)],_0x258171['meta']={..._0x258171[_0x1c0fb1(0x129)]}),_0x258171[_0x1c0fb1(0x129)][_0x1c0fb1(0x134)]==null&&(_0x258171[_0x1c0fb1(0x129)][_0x1c0fb1(0x134)]??=parent[_0x1c0fb1(0x129)]?.[_0x1c0fb1(0x134)],_0x258171[_0x1c0fb1(0x129)]={..._0x258171[_0x1c0fb1(0x129)]})),_0x258171[_0x1c0fb1(0x123)]?.[_0x1c0fb1(0x128)](_0x7024fa=>_0x2fd93a(_0x7024fa,[..._0x44c37a,_0x258171])),_0x258171[_0x1c0fb1(0x129)][_0x1c0fb1(0x13c)]!==![]&&_0x258171['meta'][_0x1c0fb1(0x132)]!==!![]&&(_0x258171['meta']['hidden']=!_0x42c1fd[_0x1c0fb1(0x12a)](_0x1802db),_0x258171['children']?.[_0x1c0fb1(0x127)](_0x54236d=>_0x54236d[_0x1c0fb1(0x129)][_0x1c0fb1(0x13c)]===![])&&(_0x258171['meta'][_0x1c0fb1(0x13c)]=![])));};_0x3f67e2[_0x9925c3(0x128)](_0xad6530=>_0x2fd93a(_0xad6530,[]));},{'immediate':!![]});});};export default{'check404':check404,'setTitle':setTitle,'checkRolesPages':checkRolesPages};
|
package/packages/utils/model.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a91_0x1b798f=a91_0x253f;(function(_0x1ef55e,_0x2d61b7){const _0x37d324=a91_0x253f,_0x3acf89=_0x1ef55e();while(!![]){try{const _0x127569=-parseInt(_0x37d324(0x149))/0x1+parseInt(_0x37d324(0x148))/0x2+parseInt(_0x37d324(0x14c))/0x3+-parseInt(_0x37d324(0x151))/0x4+-parseInt(_0x37d324(0x14b))/0x5*(-parseInt(_0x37d324(0x14a))/0x6)+parseInt(_0x37d324(0x147))/0x7+parseInt(_0x37d324(0x14d))/0x8;if(_0x127569===_0x2d61b7)break;else _0x3acf89['push'](_0x3acf89['shift']());}catch(_0x48ba3e){_0x3acf89['push'](_0x3acf89['shift']());}}}(a91_0x18df,0xc700b));export const baseForm=()=>({'loading':![],'form':{},'initialForm':{},'formItems':[],'formRef':null,'formRules':{},'initialFormRules':{},'_isBaseForm':!![],'viewonly':![]});export const baseTable=(_0x5798e2={})=>({'loading':![],'query':{'page':0x1,'limit':0xa,'order':[],..._0x5798e2},'total':0x0,'moreLoading':![],'finished':![],'isInfinite':![],'list':[],'columns':[],'tableRef':null,'selection':[],'checked':null,'searchFields':[],'_isBaseTable':!![]});function a91_0x253f(_0x25dd0a,_0x1438be){const _0x18df20=a91_0x18df();return a91_0x253f=function(_0x253f97,_0x20a295){_0x253f97=_0x253f97-0x147;let _0x4f9173=_0x18df20[_0x253f97];return _0x4f9173;},a91_0x253f(_0x25dd0a,_0x1438be);}export const baseDialog=()=>({...baseForm(),'visible':![],'isEditing':![],'editingIndex':'','editingRow':{},'_isBaseDialog':!![]});function a91_0x18df(){const _0x3e239e=['1410816APEaIC','1480338NIKdWw','5Mkduec','2193609tCOcit','13081672tGhevv','left','selection','_index','6485836XWtrJF','4034800xJUrNT','1315710GTkUck'];a91_0x18df=function(){return _0x3e239e;};return a91_0x18df();}export const baseModel=({table:table={},dialog:dialog={},columns:columns=[{'fixed':a91_0x1b798f(0x14e),'type':a91_0x1b798f(0x14f)},{'type':a91_0x1b798f(0x150)}],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};
|