@wp1001/ui 3.1.2 → 3.1.5
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/mobile.vue +1 -1
- package/packages/components/xtable/pc.js +1 -1
- package/packages/components/xtable/pc.vue +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/mobile.vue +12 -0
- package/packages/components/xtablev2/pc.js +1 -0
- package/packages/components/xtablev2/{xtablev2.vue → pc.vue} +3 -1
- package/packages/components/xtablev2/utils.jsx +86 -24
- 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/style.css +1 -1
- package/vite.config.js +1 -1
- package/vite.lib.config.js +1 -1
- package/packages/components/xtablev2/index.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a71_0x59bd92=a71_0x50fb;function a71_0x50fb(_0x27076d,_0x3166cc){var _0x1a8161=a71_0x1a81();return a71_0x50fb=function(_0x50fbc6,_0x2f1236){_0x50fbc6=_0x50fbc6-0x1a3;var _0x5c81f1=_0x1a8161[_0x50fbc6];return _0x5c81f1;},a71_0x50fb(_0x27076d,_0x3166cc);}(function(_0x5c6e97,_0x3d1c37){var _0x48ab92=a71_0x50fb,_0x25da71=_0x5c6e97();while(!![]){try{var _0x36266d=parseInt(_0x48ab92(0x1af))/0x1*(-parseInt(_0x48ab92(0x1b3))/0x2)+-parseInt(_0x48ab92(0x1ab))/0x3*(-parseInt(_0x48ab92(0x1a7))/0x4)+-parseInt(_0x48ab92(0x1a4))/0x5*(parseInt(_0x48ab92(0x1ac))/0x6)+parseInt(_0x48ab92(0x1b0))/0x7*(-parseInt(_0x48ab92(0x1b2))/0x8)+parseInt(_0x48ab92(0x1a8))/0x9+-parseInt(_0x48ab92(0x1a9))/0xa+parseInt(_0x48ab92(0x1aa))/0xb;if(_0x36266d===_0x3d1c37)break;else _0x25da71['push'](_0x25da71['shift']());}catch(_0x194db0){_0x25da71['push'](_0x25da71['shift']());}}}(a71_0x1a81,0x81cee));function a71_0x1a81(){var _0x73dadc=['16765870EFtocm','1350009WJFBqx','6grOSpO','data','Item','13495aRikQF','91EZweEZ','children','369448UbFQno','26fFPCvZ','collapse','3707945EsICsg','getters','length','4fsZYDF','5815962eaYVwU','5713200JRZUTG'];a71_0x1a81=function(){return _0x73dadc;};return a71_0x1a81();}export default{'name':a71_0x59bd92(0x1ae),'props':{'node':Object,'data':Object,'hover':Boolean},'computed':{'collapse'(){var _0x38342d=a71_0x59bd92;return this['$store'][_0x38342d(0x1a5)][_0x38342d(0x1a3)];},'isBranch'(){var _0x5657a2=a71_0x59bd92;return this[_0x5657a2(0x1ad)][_0x5657a2(0x1b1)]?.[_0x5657a2(0x1a6)]>0x0;}}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
function a72_0x35b1(){var _0x49671a=['path','hover','140SSIaxZ','push','checkIsBranch','hidden','getters','277458HvMDDK','382311XCKynb','name','filter','app','$refs','Enter','16VEJDBz','$router','150844WVkTrm','502758xyIJqb','$patch','updateCurrent','$store','175568ZIfrES','collapse','$route','meta','checkIsRoot','211170mBgYHu','752828tjhLia','tree','setCurrentKey','length'];a72_0x35b1=function(){return _0x49671a;};return a72_0x35b1();}var a72_0x14699c=a72_0x32e8;(function(_0x376b74,_0x419ecd){var _0x110444=a72_0x32e8,_0x3d0f7f=_0x376b74();while(!![]){try{var _0x4837b0=parseInt(_0x110444(0x124))/0x1+-parseInt(_0x110444(0x110))/0x2+parseInt(_0x110444(0x11b))/0x3+-parseInt(_0x110444(0x122))/0x4*(parseInt(_0x110444(0x10f))/0x5)+parseInt(_0x110444(0x125))/0x6+-parseInt(_0x110444(0x116))/0x7*(-parseInt(_0x110444(0x10a))/0x8)+parseInt(_0x110444(0x11c))/0x9;if(_0x4837b0===_0x419ecd)break;else _0x3d0f7f['push'](_0x3d0f7f['shift']());}catch(_0x2980bb){_0x3d0f7f['push'](_0x3d0f7f['shift']());}}}(a72_0x35b1,0x40404));function a72_0x32e8(_0x23d9ab,_0x271cce){var _0x35b1c4=a72_0x35b1();return a72_0x32e8=function(_0x32e8f9,_0x931712){_0x32e8f9=_0x32e8f9-0x107;var _0x51046c=_0x35b1c4[_0x32e8f9];return _0x51046c;},a72_0x32e8(_0x23d9ab,_0x271cce);}import a72_0x2bb6ad from'./item.vue';export default{'name':'Menu','components':{'Item':a72_0x2bb6ad},'props':{'menu':Array,'hover':Boolean},'data'(){return{'defaultProps':{'label':'name'}};},'computed':{'collapse'(){var _0x577bda=a72_0x32e8;return this[_0x577bda(0x109)][_0x577bda(0x11a)]['collapse'];}},'watch':{'collapse':{'handler'(){var _0x590008=a72_0x32e8;this[_0x590008(0x11e)](),this[_0x590008(0x108)]();},'immediate':!![]},'$route':{'handler':a72_0x14699c(0x108),'immediate':!![]}},'mounted'(){var _0x840890=a72_0x14699c;this[_0x840890(0x11e)](),this[_0x840890(0x108)]();},'methods':{'filter'(){var _0x5b61c6=a72_0x14699c;this['$refs']['tree']?.[_0x5b61c6(0x11e)]();},'updateCurrent'(){var _0x2cf167=a72_0x14699c;(this[_0x2cf167(0x115)]||!this['collapse'])&&this[_0x2cf167(0x120)][_0x2cf167(0x111)]?.[_0x2cf167(0x112)](this[_0x2cf167(0x10c)][_0x2cf167(0x11d)]);},'filterMenu'(_0x2fea70,_0x2e224c){var _0x513f69=a72_0x14699c;if(!this[_0x513f69(0x115)]&&this['collapse']&&_0x2e224c[_0x513f69(0x114)][0x0]!=='/')return![];return!_0x2e224c[_0x513f69(0x10d)]?.[_0x513f69(0x119)];},'checkIsRoot'(_0x372d6e){var _0x519c00=a72_0x14699c;return this['checkIsBranch'](_0x372d6e)&&_0x372d6e[_0x519c00(0x114)]['split']('/')['length']===0x2;},'checkIsBranch'(_0x483f00){var _0x1d4c25=a72_0x14699c;return _0x483f00['children']?.[_0x1d4c25(0x113)]>0x0;},'handleNodeClick'(_0x423214,_0x138972,_0x1d70c6,_0x36bb9b){var _0x54fc3f=a72_0x14699c;if(!this[_0x54fc3f(0x118)](_0x423214)){this[_0x54fc3f(0x123)][_0x54fc3f(0x117)]({'name':_0x423214[_0x54fc3f(0x11d)]});return;}this[_0x54fc3f(0x10b)]&&this[_0x54fc3f(0x10e)](_0x423214)&&(this[_0x54fc3f(0x109)][_0x54fc3f(0x11f)][_0x54fc3f(0x107)]({'sidebarCollapse':![]}),this[_0x54fc3f(0x120)][_0x54fc3f(0x111)][_0x54fc3f(0x112)](this['$route']['name']));},'handleKeydown'(_0x2ab37c,_0x157660,_0x33fc02){var _0x25a97b=a72_0x14699c;_0x2ab37c['key']===_0x25a97b(0x121)&&this[_0x25a97b(0x123)][_0x25a97b(0x117)]({'name':_0x33fc02[_0x25a97b(0x11d)]});}}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x1ca1b8,_0x4c838f){const _0x92e753=a73_0x3ae0,_0x6f82a9=_0x1ca1b8();while(!![]){try{const _0x31f527=parseInt(_0x92e753(0x160))/0x1*(parseInt(_0x92e753(0x16d))/0x2)+-parseInt(_0x92e753(0x16a))/0x3*(parseInt(_0x92e753(0x17b))/0x4)+-parseInt(_0x92e753(0x175))/0x5*(parseInt(_0x92e753(0x177))/0x6)+parseInt(_0x92e753(0x176))/0x7*(parseInt(_0x92e753(0x170))/0x8)+parseInt(_0x92e753(0x173))/0x9*(-parseInt(_0x92e753(0x169))/0xa)+-parseInt(_0x92e753(0x178))/0xb*(parseInt(_0x92e753(0x165))/0xc)+-parseInt(_0x92e753(0x174))/0xd*(-parseInt(_0x92e753(0x172))/0xe);if(_0x31f527===_0x4c838f)break;else _0x6f82a9['push'](_0x6f82a9['shift']());}catch(_0x3005ba){_0x6f82a9['push'](_0x6f82a9['shift']());}}}(a73_0x2423,0xdac0c));const tagAndTagSpacing=0x4;function a73_0x2423(){const _0x56cc68=['1730755HxdOCj','10949099XWybsP','18RrycSO','11NujQXk','$refs','emitScroll','2764VFQWLJ','$el','offsetLeft','849OAuwtC','scrollWrapper','offsetWidth','addEventListener','scroll','18413004LnEgeG','deltaY','scrollContainer','length','20diajIp','4890WglKRw','scrollLeft','findIndex','3670hYShOq','removeEventListener','wrapRef','8zwRbIa','$parent','13159482VTRpKr','1830537qRIVpD','26GfLbYY'];a73_0x2423=function(){return _0x56cc68;};return a73_0x2423();}function a73_0x3ae0(_0x5d5172,_0x20b37c){const _0x242380=a73_0x2423();return a73_0x3ae0=function(_0x3ae05f,_0xcb401d){_0x3ae05f=_0x3ae05f-0x15e;let _0x4523d1=_0x242380[_0x3ae05f];return _0x4523d1;},a73_0x3ae0(_0x5d5172,_0x20b37c);}export default{'name':'ScrollPane','data'(){return{'left':0x0};},'computed':{'scrollWrapper'(){const _0x38defc=a73_0x3ae0;return this[_0x38defc(0x179)][_0x38defc(0x167)]['$refs'][_0x38defc(0x16f)];}},'mounted'(){const _0x114cf9=a73_0x3ae0;this[_0x114cf9(0x161)][_0x114cf9(0x163)](_0x114cf9(0x164),this[_0x114cf9(0x17a)],!![]);},'beforeUnmount'(){const _0x49b65c=a73_0x3ae0;this[_0x49b65c(0x161)][_0x49b65c(0x16e)]('scroll',this['emitScroll']);},'methods':{'handleScroll'(_0x5880c1){const _0x290f3c=a73_0x3ae0,_0x5a6df8=_0x5880c1['wheelDelta']||-_0x5880c1[_0x290f3c(0x166)]*0x28,_0x48cee0=this[_0x290f3c(0x161)];_0x48cee0['scrollLeft']=_0x48cee0[_0x290f3c(0x16b)]+_0x5a6df8/0x4;},'emitScroll'(){const _0x5d88c8=a73_0x3ae0;this['$emit'](_0x5d88c8(0x164));},'moveToTarget'(_0x1cd9c2){const _0x126227=a73_0x3ae0,_0x27d63b=this[_0x126227(0x179)][_0x126227(0x167)][_0x126227(0x15e)],_0x20478c=_0x27d63b[_0x126227(0x162)],_0x223fd6=this[_0x126227(0x161)],_0x238e85=this[_0x126227(0x171)][_0x126227(0x179)]['tag'];let _0x57f0c6=null,_0x3ca0fd=null;_0x238e85[_0x126227(0x168)]>0x0&&(_0x57f0c6=_0x238e85[0x0],_0x3ca0fd=_0x238e85[_0x238e85[_0x126227(0x168)]-0x1]);if(_0x57f0c6===_0x1cd9c2)_0x223fd6[_0x126227(0x16b)]=0x0;else{if(_0x3ca0fd===_0x1cd9c2)_0x223fd6[_0x126227(0x16b)]=_0x223fd6['scrollWidth']-_0x20478c;else{const _0x463393=_0x238e85[_0x126227(0x16c)](_0x1c3e6f=>_0x1c3e6f===_0x1cd9c2),_0x44da12=_0x238e85[_0x463393-0x1],_0x5f4a2e=_0x238e85[_0x463393+0x1],_0x32e41f=_0x5f4a2e['$el'][_0x126227(0x15f)]+_0x5f4a2e[_0x126227(0x15e)]['offsetWidth']+tagAndTagSpacing,_0x21175e=_0x44da12[_0x126227(0x15e)][_0x126227(0x15f)]-tagAndTagSpacing;if(_0x32e41f>_0x223fd6[_0x126227(0x16b)]+_0x20478c)_0x223fd6[_0x126227(0x16b)]=_0x32e41f-_0x20478c;else _0x21175e<_0x223fd6[_0x126227(0x16b)]&&(_0x223fd6[_0x126227(0x16b)]=_0x21175e);}}}}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a74_0x2f70(){const _0x2de72e=['fullPath','slice','affixTags','length','1795262clsHar','removeEventListener','1778763AYcGHm','updateVisitedView','943200RrwiAk','resolvePath','selectedTag','then','routes','click','affix','733288qhuKlh','$route','left','tagsview','clientX','$store','getRoutes','closeMenu','clientY','254684HUxdnU','$nextTick','4145384cnbmLq','scrollPane','visible','name','addVisitedView','delCachedView','top','moveToCurrentTag','$el','$router','delAllViews','meta','children','path','replace','isActive','2166852AXWTQQ','1IuGLCL','Dashboard','getBoundingClientRect','toLastView','some','endsWith','addView','push','body','tag','$refs'];a74_0x2f70=function(){return _0x2de72e;};return a74_0x2f70();}(function(_0x215b6f,_0x1de052){const _0x4e7abf=a74_0x4bc1,_0x44d337=_0x215b6f();while(!![]){try{const _0x8ad69=parseInt(_0x4e7abf(0x1f3))/0x1*(parseInt(_0x4e7abf(0x216))/0x2)+-parseInt(_0x4e7abf(0x204))/0x3+-parseInt(_0x4e7abf(0x20d))/0x4+-parseInt(_0x4e7abf(0x206))/0x5+parseInt(_0x4e7abf(0x1f2))/0x6+parseInt(_0x4e7abf(0x202))/0x7+parseInt(_0x4e7abf(0x218))/0x8;if(_0x8ad69===_0x1de052)break;else _0x44d337['push'](_0x44d337['shift']());}catch(_0x1ab9ea){_0x44d337['push'](_0x44d337['shift']());}}}(a74_0x2f70,0x48d00));function a74_0x4bc1(_0x473639,_0x9f1804){const _0x2f7032=a74_0x2f70();return a74_0x4bc1=function(_0x4bc14a,_0x458f2e){_0x4bc14a=_0x4bc14a-0x1e4;let _0x41ca54=_0x2f7032[_0x4bc14a];return _0x41ca54;},a74_0x4bc1(_0x473639,_0x9f1804);}import a74_0x4137ff from'./ScrollPane.vue';import a74_0x24e761 from'@/router';export default{'components':{'ScrollPane':a74_0x4137ff},'data'(){return{'visible':![],'top':0x0,'left':0x0,'selectedTag':{},'affixTags':[]};},'computed':{'visitedViews'(){const _0x499307=a74_0x4bc1;return this[_0x499307(0x212)][_0x499307(0x210)]['visitedViews'];},'routes'(){const _0x3f1682=a74_0x4bc1;return a74_0x24e761[_0x3f1682(0x213)]();}},'watch':{'$route'(){const _0x2ade5c=a74_0x4bc1;this['addTags'](),this[_0x2ade5c(0x1e9)]();},'visible'(_0x299b44){const _0x29cb98=a74_0x4bc1;_0x299b44?document[_0x29cb98(0x1fb)]['addEventListener'](_0x29cb98(0x20b),this['closeMenu']):document['body'][_0x29cb98(0x203)](_0x29cb98(0x20b),this['closeMenu']);}},'mounted'(){this['initTags'](),this['addTags']();},'methods':{'isActive'(_0x4dc9c1){const _0x182344=a74_0x4bc1;return _0x4dc9c1[_0x182344(0x1ef)]===this[_0x182344(0x20e)][_0x182344(0x1ef)];},'isAffix'(_0x5f3f4e){const _0xb8d270=a74_0x4bc1;return _0x5f3f4e[_0xb8d270(0x1ed)]?.[_0xb8d270(0x20c)];},'filterAffixTags'(_0x4fa1ea,_0x3b61dd='/'){let _0x501ffd=[];return _0x4fa1ea['forEach'](_0x400547=>{const _0x4306ea=a74_0x4bc1;if(_0x400547[_0x4306ea(0x1ed)]?.['affix']){const _0x4c0869=this[_0x4306ea(0x207)](_0x3b61dd,_0x400547[_0x4306ea(0x1ef)]);_0x501ffd[_0x4306ea(0x1fa)]({'fullPath':_0x4c0869,'path':_0x4c0869,'name':_0x400547['name'],'meta':{..._0x400547[_0x4306ea(0x1ed)]}});}if(_0x400547[_0x4306ea(0x1ee)]){const _0x33fe99=this['filterAffixTags'](_0x400547['children'],this[_0x4306ea(0x207)](_0x3b61dd,_0x400547[_0x4306ea(0x1ef)]));_0x33fe99[_0x4306ea(0x201)]>=0x1&&(_0x501ffd=[..._0x501ffd,..._0x33fe99]);}}),_0x501ffd;},'initTags'(){const _0x30490e=a74_0x4bc1,_0x1f1da8=this[_0x30490e(0x200)]=this['filterAffixTags'](this[_0x30490e(0x20a)]);for(const _0x14def3 of _0x1f1da8){_0x14def3[_0x30490e(0x1e5)]&&this[_0x30490e(0x212)][_0x30490e(0x210)][_0x30490e(0x1e6)](_0x14def3);}},'addTags'(){const _0x315594=a74_0x4bc1,{name:_0x1145fd}=this[_0x315594(0x20e)];return _0x1145fd&&this[_0x315594(0x212)][_0x315594(0x210)][_0x315594(0x1f9)](this[_0x315594(0x20e)]),![];},'moveToCurrentTag'(){const _0x515a2e=a74_0x4bc1,_0x3a3158=this[_0x515a2e(0x1fd)][_0x515a2e(0x1fc)];this[_0x515a2e(0x217)](()=>{const _0x50ea99=_0x515a2e;for(const _0x22096a of _0x3a3158){if(_0x22096a['to'][_0x50ea99(0x1ef)]===this['$route'][_0x50ea99(0x1ef)]){this['$refs'][_0x50ea99(0x219)]['moveToTarget'](_0x22096a);_0x22096a['to'][_0x50ea99(0x1fe)]!==this[_0x50ea99(0x20e)][_0x50ea99(0x1fe)]&&this[_0x50ea99(0x212)][_0x50ea99(0x210)][_0x50ea99(0x205)](this[_0x50ea99(0x20e)]);break;}}});},'refreshSelectedTag'(_0x55e73d){const _0x27906b=a74_0x4bc1;this[_0x27906b(0x212)]['tagsview'][_0x27906b(0x1e7)](_0x55e73d)['then'](()=>{const _0x5c807b=_0x27906b,{fullPath:_0x57e695}=_0x55e73d;this[_0x5c807b(0x217)](()=>{const _0x2a7211=_0x5c807b;this[_0x2a7211(0x1eb)]['replace']({'path':_0x57e695});});});},'closeSelectedTag'(_0x11ba37){const _0x290986=a74_0x4bc1;this['$store'][_0x290986(0x210)]['delView'](_0x11ba37)[_0x290986(0x209)](({visitedViews:_0x48ab7a})=>{const _0x43a14c=_0x290986;this[_0x43a14c(0x1f1)](_0x11ba37)&&this[_0x43a14c(0x1f6)](_0x48ab7a,_0x11ba37);});},'closeOthersTags'(){const _0x442fbe=a74_0x4bc1;this[_0x442fbe(0x1eb)][_0x442fbe(0x1fa)](this[_0x442fbe(0x208)]),this[_0x442fbe(0x212)][_0x442fbe(0x210)]['delOthersViews'](this[_0x442fbe(0x208)])[_0x442fbe(0x209)](()=>{const _0x46b543=_0x442fbe;this[_0x46b543(0x1e9)]();});},'closeAllTags'(_0x5b9e22){const _0x3532bb=a74_0x4bc1;this['$store'][_0x3532bb(0x210)][_0x3532bb(0x1ec)]()['then'](({visitedViews:_0x2caa2b})=>{const _0x55576f=_0x3532bb;if(this[_0x55576f(0x200)][_0x55576f(0x1f7)](_0xdb53b7=>_0xdb53b7[_0x55576f(0x1ef)]===_0x5b9e22[_0x55576f(0x1ef)]))return;this['toLastView'](_0x2caa2b,_0x5b9e22);});},'toLastView'(_0x24abc7,_0xccacbb){const _0x36401a=a74_0x4bc1,_0x12d462=_0x24abc7[_0x36401a(0x1ff)](-0x1)[0x0];_0x12d462?this['$router']['push'](_0x12d462[_0x36401a(0x1fe)]):_0xccacbb['name']===_0x36401a(0x1f4)?this[_0x36401a(0x1eb)][_0x36401a(0x1f0)]({'path':_0xccacbb[_0x36401a(0x1fe)]}):this[_0x36401a(0x1eb)][_0x36401a(0x1fa)]('/');},'openMenu'(_0x28648f,_0x436830){const _0x3a5422=a74_0x4bc1,_0x321adc=0x69,_0x3c963e=this[_0x3a5422(0x1ea)][_0x3a5422(0x1f5)]()[_0x3a5422(0x20f)],_0x148b6c=this['$el']['offsetWidth'],_0x3a4428=_0x148b6c-_0x321adc,_0x442f09=_0x436830[_0x3a5422(0x211)]-_0x3c963e+0xf;_0x442f09>_0x3a4428?this[_0x3a5422(0x20f)]=_0x3a4428:this['left']=_0x442f09,this[_0x3a5422(0x1e8)]=_0x436830[_0x3a5422(0x215)],this[_0x3a5422(0x1e4)]=!![],this[_0x3a5422(0x208)]=_0x28648f;},'closeMenu'(){const _0x4dc37a=a74_0x4bc1;this[_0x4dc37a(0x1e4)]=![];},'handleScroll'(){const _0x27c1e9=a74_0x4bc1;this[_0x27c1e9(0x214)]();},'resolvePath'(_0x2db02a,_0x3500b9){const _0x1cca4d=a74_0x4bc1;if(_0x2db02a[0x0]!=='/')_0x2db02a='/'+_0x2db02a;if(_0x2db02a[_0x1cca4d(0x201)]>0x1&&_0x2db02a[_0x1cca4d(0x1f8)]('/'))_0x2db02a=_0x2db02a[_0x1cca4d(0x1ff)](0x0,-0x1);if(_0x2db02a==='/')_0x2db02a='';if(_0x3500b9[0x0]!=='/')_0x3500b9='/'+_0x3500b9;return _0x2db02a+_0x3500b9;}}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a75_0x1129eb=a75_0x6aee;function a75_0x6aee(_0x30be03,_0x5259f4){const _0x2f8925=a75_0x2f89();return a75_0x6aee=function(_0x6aee5d,_0x1e8bad){_0x6aee5d=_0x6aee5d-0x19f;let _0x125cf0=_0x2f8925[_0x6aee5d];return _0x125cf0;},a75_0x6aee(_0x30be03,_0x5259f4);}(function(_0x3b6179,_0x17960e){const _0x46d08c=a75_0x6aee,_0x32dad4=_0x3b6179();while(!![]){try{const _0x58ea7d=-parseInt(_0x46d08c(0x1b5))/0x1*(-parseInt(_0x46d08c(0x1a3))/0x2)+-parseInt(_0x46d08c(0x1a0))/0x3+parseInt(_0x46d08c(0x1a5))/0x4+parseInt(_0x46d08c(0x1c0))/0x5+-parseInt(_0x46d08c(0x1c1))/0x6*(-parseInt(_0x46d08c(0x1af))/0x7)+-parseInt(_0x46d08c(0x1ac))/0x8*(-parseInt(_0x46d08c(0x1aa))/0x9)+-parseInt(_0x46d08c(0x1ba))/0xa;if(_0x58ea7d===_0x17960e)break;else _0x32dad4['push'](_0x32dad4['shift']());}catch(_0x9feb57){_0x32dad4['push'](_0x32dad4['shift']());}}}(a75_0x2f89,0x5b420));function a75_0x2f89(){const _0x514504=['更新时间','326060PQWNck','primaryKeyField','setPartial','label','map','10728zLZAkC','match','4584FpoLif','删除时间','创建时间','805VrUiMN','trim','toLowerCase','creator_id','includes','deleted','127RyQCGN','idFieldPartial','created_at','forEach','formAttrs','13229380jFrdBq','length','fieldsPartial','keys','updater_id','tableAttrs','1927285BrAoin','30228rFrWLJ','tableName','deleted_at','startsWith','split','_autoGenerated','1908015bMzIIL','updated','tableAttributes','9502LwIdnR'];a75_0x2f89=function(){return _0x514504;};return a75_0x2f89();}import a75_0x548d33 from'../utils/plop-utils.js';import{getModel,makeFields}from'../utils/index.js';const {makePartial}=a75_0x548d33,viewOnlyFields=[a75_0x1129eb(0x1b2),a75_0x1129eb(0x1be),a75_0x1129eb(0x1b7),'updated_at',a75_0x1129eb(0x1c3)],makeFillAdminPartialsAction=_0x413f60=>{return async function(_0x12f455){const _0x47545a=a75_0x6aee,_0x23a042=await getModel(_0x413f60,_0x12f455),_0x295f9d=_0x23a042[_0x47545a(0x1a2)];_0x12f455[_0x47545a(0x1c2)]=_0x23a042[_0x47545a(0x1c2)],Object[_0x47545a(0x1bd)](_0x295f9d)[_0x47545a(0x1b8)](_0x51373c=>{const _0x4092ef=_0x47545a;if(_0x295f9d[_0x51373c][_0x4092ef(0x19f)]){if(_0x51373c[_0x4092ef(0x1c4)]('created'))_0x295f9d[_0x51373c][_0x4092ef(0x1a8)]=_0x4092ef(0x1ae);else{if(_0x51373c[_0x4092ef(0x1c4)](_0x4092ef(0x1a1)))_0x295f9d[_0x51373c]['label']=_0x4092ef(0x1a4);else _0x51373c['startsWith'](_0x4092ef(0x1b4))&&(_0x295f9d[_0x51373c]['label']=_0x4092ef(0x1ad));}}}),fillIdFieldPartial(_0x413f60,_0x23a042),fillFieldsPartial(_0x413f60,_0x23a042),Object[_0x47545a(0x1bd)](_0x295f9d)[_0x47545a(0x1b8)](_0x437aec=>{const {autoIncrement:_0xa67d42,_autoGenerated:_0x254d91}=_0x295f9d[_0x437aec];(_0xa67d42||_0x254d91)&&delete _0x295f9d[_0x437aec];}),viewOnlyFields['forEach'](_0x284669=>delete _0x295f9d[_0x284669]);};},fillIdFieldPartial=(_0x494da0,_0xb82aa9)=>{const _0x3f66f9=a75_0x1129eb;_0x494da0[_0x3f66f9(0x1a7)](_0x3f66f9(0x1b6),_0xb82aa9[_0x3f66f9(0x1a6)]);},fillFieldsPartial=(_0x4077ab,_0x2fef3e)=>{const _0x429fac=a75_0x1129eb,_0x522b96=makeFields(_0x2fef3e);_0x4077ab[_0x429fac(0x1a7)](_0x429fac(0x1bc),makeFieldsPartial(_0x522b96));},makeFieldsPartial=_0x2f25e3=>{const _0x4e80dc=a75_0x1129eb,_0x3b2257=[_0x4e80dc(0x1bf),_0x4e80dc(0x1b9)];_0x2f25e3[_0x4e80dc(0x1a9)](_0x3e9771=>{const _0x3204bf=_0x4e80dc,_0x5dd4d8=_0x3b2257[_0x3204bf(0x1a9)](_0x208744=>_0x3e9771[_0x208744]);_0x3b2257[_0x3204bf(0x1b8)](_0x2ba1fa=>delete _0x3e9771[_0x2ba1fa]),_0x5dd4d8[_0x3204bf(0x1b8)]((_0x482feb,_0x2f6b2e)=>{const _0x1aaba0=_0x3204bf,_0x2abf26=_0x3b2257[_0x2f6b2e][0x0]+_0x3b2257[_0x2f6b2e][_0x1aaba0(0x1ab)](/[A-Z]/)[0x0][_0x1aaba0(0x1b1)]()+'_';if(_0x482feb&&Object['keys'](_0x482feb)[_0x1aaba0(0x1bb)])for(let _0xc7fbe1 in _0x482feb){_0x3e9771[_0x2abf26+_0xc7fbe1]=_0x482feb[_0xc7fbe1];}});});const _0x552638=makePartial(_0x2f25e3);let _0x152d38='';return _0x552638[_0x4e80dc(0x1c5)]('\x0a')['forEach'](_0x522e80=>{const _0x2ef975=_0x4e80dc,_0x51f4a6=_0x522e80[_0x2ef975(0x1b0)]();'[{}]'['includes'](_0x51f4a6[0x0])?(_0x152d38+=_0x522e80,'{'[_0x2ef975(0x1b3)](_0x51f4a6[0x0])&&(_0x152d38+='\x20'),'}'[_0x2ef975(0x1b3)](_0x51f4a6[0x0])&&(_0x152d38+='\x0a')):_0x152d38+=_0x51f4a6+'\x20';}),_0x152d38=_0x152d38['slice'](0x0,-0x1),_0x152d38;};export default makeFillAdminPartialsAction;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x216c2e,_0x5c3733){const _0x28dffb=a76_0x48f0,_0x1562a2=_0x216c2e();while(!![]){try{const _0x585d83=-parseInt(_0x28dffb(0x13b))/0x1+parseInt(_0x28dffb(0x136))/0x2*(-parseInt(_0x28dffb(0x145))/0x3)+-parseInt(_0x28dffb(0x144))/0x4+-parseInt(_0x28dffb(0x13f))/0x5+-parseInt(_0x28dffb(0x137))/0x6+parseInt(_0x28dffb(0x13e))/0x7*(-parseInt(_0x28dffb(0x140))/0x8)+parseInt(_0x28dffb(0x13d))/0x9*(parseInt(_0x28dffb(0x142))/0xa);if(_0x585d83===_0x5c3733)break;else _0x1562a2['push'](_0x1562a2['shift']());}catch(_0x16da67){_0x1562a2['push'](_0x1562a2['shift']());}}}(a76_0x18e8,0xf3a8d));function a76_0x18e8(){const _0x3c5372=['667540hQdjTK','actions','1287240lcYZhk','3eLrqPk','2179212pcXcHS','5489838UHAKqy','autoGenerateColumns','make-admin-page','数据库名称','568507dEmmEA','fieldsPartial','792dverPk','1393geKmnN','7561920QlrwJz','18856YtWjEy','数据表名称'];a76_0x18e8=function(){return _0x3c5372;};return a76_0x18e8();}import a76_0x1ea8f2 from'../utils/plop-utils.js';function a76_0x48f0(_0x194d27,_0xe5cbcf){const _0x18e8ef=a76_0x18e8();return a76_0x48f0=function(_0x48f03f,_0x52af03){_0x48f03f=_0x48f03f-0x136;let _0x593d83=_0x18e8ef[_0x48f03f];return _0x593d83;},a76_0x48f0(_0x194d27,_0xe5cbcf);}import a76_0x287f6a from'./make-page-generator.js';import a76_0xf0a702 from'../actions/make-fill-admin-partials-action.js';const {makeInputPrompt,makeConfirmPrompt}=a76_0x1ea8f2,makeGenerator=_0x2e9d98=>{const _0xcddfad=a76_0x48f0,_0x470c1d='admin_page',_0x439a1b=a76_0x287f6a(_0x2e9d98,_0x470c1d);return _0x2e9d98['setPartial'](_0xcddfad(0x13c),'[\x0a]'),{'name':_0xcddfad(0x139),'description':'创建新的后台管理页面','prompts':[..._0x439a1b['prompts'],makeConfirmPrompt(_0xcddfad(0x138),'是否需要自动生成\x20table.columns\x20(表格的数据列)?'),{...makeInputPrompt('database',_0xcddfad(0x13a)),'when':_0x35b521=>_0x35b521[_0xcddfad(0x138)]},{...makeInputPrompt('table',_0xcddfad(0x141)),'when':_0x293496=>_0x293496[_0xcddfad(0x138)]}],'actions':[a76_0xf0a702(_0x2e9d98),..._0x439a1b[_0xcddfad(0x143)]]};};export default makeGenerator;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a77_0x45f3(_0x582563,_0x4ef976){const _0x4b55ae=a77_0x4b55();return a77_0x45f3=function(_0x45f36d,_0x64c5cd){_0x45f36d=_0x45f36d-0x123;let _0x51c04d=_0x4b55ae[_0x45f36d];return _0x51c04d;},a77_0x45f3(_0x582563,_0x4ef976);}(function(_0x4d988d,_0x3b0262){const _0x5d449b=a77_0x45f3,_0x2ea838=_0x4d988d();while(!![]){try{const _0x359558=parseInt(_0x5d449b(0x150))/0x1+parseInt(_0x5d449b(0x149))/0x2+-parseInt(_0x5d449b(0x146))/0x3+parseInt(_0x5d449b(0x13b))/0x4*(-parseInt(_0x5d449b(0x129))/0x5)+parseInt(_0x5d449b(0x12e))/0x6*(-parseInt(_0x5d449b(0x14f))/0x7)+-parseInt(_0x5d449b(0x131))/0x8*(-parseInt(_0x5d449b(0x13f))/0x9)+parseInt(_0x5d449b(0x123))/0xa;if(_0x359558===_0x3b0262)break;else _0x2ea838['push'](_0x2ea838['shift']());}catch(_0xb07147){_0x2ea838['push'](_0x2ea838['shift']());}}}(a77_0x4b55,0x2dc95));import a77_0x3544b9 from'node:path';import a77_0x4e2340 from'chalk';import a77_0x50ec05 from'clipboardy';import{fsUtils}from'@wp1001/node';function a77_0x4b55(){const _0x4c57a7=['\x20构建页面失败','$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$','908528ekRiSb','数据库名称','path','数据表\x20','^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^','push','length','join','split','database','99368zWiCBs','make-database-admin-pages','上面有一个参考的\x20route\x20代码,\x20(已复制到剪贴板)','map','18VYrJtw','dir','includes','changes','pop','.js','red','747678xEfOaU','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/','83408MOuBlu','根据\x20backender\x20中已存在的数据库模型目录为其中所有模型创建后台管理页面','\x27,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20icon:\x20\x27menu\x27\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20},\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20children:\x20[\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#code#\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20]\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20},\x0a\x20\x20\x20\x20\x20\x20\x20\x20','repeat','slice','pascalCase','287KOyHwF','242482fNsrKp','snakeCase','目的文件夹路径','2431960BrNdca','make-admin-page','toFixed','trim','\x20/\x20','init-models.js','55eUHQUh','writeSync','log','\x27,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20name:\x20\x27','bgCyan','6510IVhbGe'];a77_0x4b55=function(){return _0x4c57a7;};return a77_0x4b55();}import a77_0x4ed55a from'../utils/plop-utils.js';const {makeInputPrompt,getGenerator}=a77_0x4ed55a,makeGenerator=_0x1408ab=>{const _0x4290f5=a77_0x45f3,_0x3668ac=getGenerator(_0x1408ab,_0x4290f5(0x124),{'force':![]}),_0x569375=_0x1408ab[_0x4290f5(0x147)](_0x4290f5(0x14e)),_0x20e07d=_0x1408ab[_0x4290f5(0x147)](_0x4290f5(0x151)),_0x2140c8={'name':_0x4290f5(0x13c),'description':_0x4290f5(0x14a),'prompts':[makeInputPrompt(_0x4290f5(0x13a),_0x4290f5(0x132)),makeInputPrompt(_0x4290f5(0x140),_0x4290f5(0x152))],'actions':[async({database:_0x37ae04,dir:_0x549b99})=>{const _0x2d36bc=_0x4290f5,_0x4c8394=a77_0x3544b9[_0x2d36bc(0x138)](_0x1408ab['backenderPath'],'/models/'+_0x37ae04);let _0x1a4065=await fsUtils['listDir'](_0x4c8394);_0x1a4065=_0x1a4065['filter'](_0xa55e35=>_0xa55e35[_0x2d36bc(0x141)](_0x2d36bc(0x144))&&!_0xa55e35['includes'](_0x2d36bc(0x128))&&_0xa55e35['split']('/')[_0x2d36bc(0x143)]()!=='index.js');const _0x65bc3d=_0x1a4065[_0x2d36bc(0x13e)](_0x1d19a4=>_0x1d19a4[_0x2d36bc(0x14d)](0x0,-0x3)),_0x2df96c=[];for(let _0x583b98=0x0,_0x65db34=_0x65bc3d[_0x2d36bc(0x137)];_0x583b98<_0x65db34;_0x583b98++){const _0x5718ae=_0x65bc3d[_0x583b98],_0x2e0f87=await _0x3668ac['runActions']({'dir':_0x549b99,'pagename':_0x5718ae,'database':_0x37ae04,'table':_0x20e07d(_0x5718ae)});!_0x2e0f87[_0x2d36bc(0x142)][0x2]?console[_0x2d36bc(0x12b)](a77_0x4e2340[_0x2d36bc(0x145)](_0x2d36bc(0x134)+_0x37ae04+'.'+_0x5718ae+_0x2d36bc(0x12f)),_0x2e0f87[_0x2d36bc(0x142)]):_0x2df96c[_0x2d36bc(0x136)](_0x2e0f87),console['log'](a77_0x4e2340['cyan']('Finished\x20'+(_0x583b98+0x1)+_0x2d36bc(0x127)+_0x65db34+'\x20'+((_0x583b98+0x1)/_0x65db34*0x64)[_0x2d36bc(0x125)](0x2)+'%'));}console['log'](a77_0x4e2340[_0x2d36bc(0x12d)](_0x2d36bc(0x135))),console['log'](a77_0x4e2340[_0x2d36bc(0x12d)](_0x2d36bc(0x135)));const _0x59c9f9=_0x2df96c[_0x2d36bc(0x13e)](_0x4d458e=>_0x4d458e[_0x2d36bc(0x142)][0x2][_0x2d36bc(0x133)]),_0x679c1a=_0x59c9f9[_0x2d36bc(0x13e)](_0x4f2154=>{const _0x363c22=_0x2d36bc;return _0x4f2154[_0x363c22(0x139)]('\x0a')[_0x363c22(0x13e)](_0x153406=>'\x20\x20'+_0x153406)[_0x363c22(0x138)]('\x0a')['trimEnd']();})[_0x2d36bc(0x138)]('')['trimStart'](),_0x231280=(_0x2d36bc(0x148)+_0x549b99+_0x2d36bc(0x12c)+_0x569375(_0x549b99)+'\x27,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20redirect:\x20\x27/'+_0x549b99+'/'+_0x20e07d(_0x65bc3d[0x0])+'\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'+_0x569375(_0x549b99)+_0x2d36bc(0x14b))[_0x2d36bc(0x139)]('\x0a')[_0x2d36bc(0x13e)](_0x12cba4=>_0x12cba4[_0x2d36bc(0x14d)](0xa))[_0x2d36bc(0x138)]('\x0a'),_0x8dd659=_0x549b99[_0x2d36bc(0x139)]('/')[_0x2d36bc(0x137)],_0x314b0d=_0x231280['replace']('#code#',_0x679c1a)[_0x2d36bc(0x139)]('\x0a')[_0x2d36bc(0x13e)](_0x53284c=>{const _0x1f963c=_0x2d36bc;return'\x20\x20'[_0x1f963c(0x14c)](_0x8dd659)+_0x53284c;})[_0x2d36bc(0x138)]('\x0a')[_0x2d36bc(0x126)]();a77_0x50ec05[_0x2d36bc(0x12a)](_0x314b0d),console[_0x2d36bc(0x12b)](_0x314b0d),console[_0x2d36bc(0x12b)](a77_0x4e2340['black']['bgYellow'](_0x2d36bc(0x13d))),console[_0x2d36bc(0x12b)](a77_0x4e2340[_0x2d36bc(0x12d)](_0x2d36bc(0x130))),console[_0x2d36bc(0x12b)](a77_0x4e2340[_0x2d36bc(0x12d)]('$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$'));}]};return _0x2140c8;};export default makeGenerator;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a78_0x1238(){const _0x11a82f=['join','split','\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','dirname','src/views/{{dir}}/{{snakeCase\x20pagename}}','2673804SSyjIc','log','7mkUtQN','4696720aecIVF','333rMOhbv','node_modules/@wp1001/ui/packages/plop/templates/','1yEtDeW','191812XkrsSY','87418UgVbxQ','slice','1301390OEbecz','目的文件夹路径','pagename','3146jilQcY','33JnIpHU','\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','dir','\x27,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20component:\x20()\x20=>\x20import(\x27@/views/','117752pRMRmL','13164agIHbm','getHelper'];a78_0x1238=function(){return _0x11a82f;};return a78_0x1238();}const a78_0xd3df05=a78_0x3cd9;(function(_0xa9b312,_0x63afe1){const _0x31e869=a78_0x3cd9,_0x5d9e2d=_0xa9b312();while(!![]){try{const _0x31fa3f=parseInt(_0x31e869(0x209))/0x1*(-parseInt(_0x31e869(0x20b))/0x2)+parseInt(_0x31e869(0x1f7))/0x3*(parseInt(_0x31e869(0x20a))/0x4)+-parseInt(_0x31e869(0x1f3))/0x5+parseInt(_0x31e869(0x203))/0x6*(parseInt(_0x31e869(0x205))/0x7)+parseInt(_0x31e869(0x1fb))/0x8*(-parseInt(_0x31e869(0x207))/0x9)+parseInt(_0x31e869(0x206))/0xa+-parseInt(_0x31e869(0x1f6))/0xb*(parseInt(_0x31e869(0x1fc))/0xc);if(_0x31fa3f===_0x63afe1)break;else _0x5d9e2d['push'](_0x5d9e2d['shift']());}catch(_0x2b3542){_0x5d9e2d['push'](_0x5d9e2d['shift']());}}}(a78_0x1238,0x44789));import a78_0x40f04e from'node:path';function a78_0x3cd9(_0x4b37f0,_0xc1cfb8){const _0x123896=a78_0x1238();return a78_0x3cd9=function(_0x3cd98e,_0xea1f33){_0x3cd98e=_0x3cd98e-0x1f3;let _0x306dfd=_0x123896[_0x3cd98e];return _0x306dfd;},a78_0x3cd9(_0x4b37f0,_0xc1cfb8);}import a78_0x29befb from'chalk';import a78_0x12ca58 from'clipboardy';import a78_0x41e42e from'../utils/plop-utils.js';const dirname=import.meta[a78_0xd3df05(0x201)][a78_0xd3df05(0x1ff)]('node_modules')[0x0],{makeInputPrompt}=a78_0x41e42e,makePageGenerator=(_0x36b55a,_0x27a27e)=>{const _0xe006c1=a78_0xd3df05,_0x1b9fbc=_0x36b55a[_0xe006c1(0x1fd)]('properCase'),_0x4e3f45=_0x36b55a[_0xe006c1(0x1fd)]('snakeCase');return{'prompts':[makeInputPrompt(_0xe006c1(0x1f9),_0xe006c1(0x1f4)),makeInputPrompt(_0xe006c1(0x1f5),'目的页面名称')],'actions':[{'type':'addMany','destination':a78_0x40f04e[_0xe006c1(0x1fe)](dirname,_0xe006c1(0x202)),'base':a78_0x40f04e['join'](dirname,_0xe006c1(0x208)+_0x27a27e),'templateFiles':a78_0x40f04e['join'](dirname,_0xe006c1(0x208)+_0x27a27e+'/*.*')},function(_0x42fabe){const _0x611c17=_0xe006c1;let {dir:_0x49636d,pagename:_0x4b9197}=_0x42fabe;const _0x271f1e=_0x1b9fbc(_0x4b9197),_0x5f88c6=(_0x49636d?_0x1b9fbc(_0x49636d):'')+_0x271f1e;_0x4b9197=_0x4e3f45(_0x4b9197);const _0x1189d3=(_0x611c17(0x1f8)+_0x4b9197+'\x27,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20name:\x20\x27'+_0x5f88c6+_0x611c17(0x1fa)+(_0x49636d?_0x49636d+'/':'')+_0x4b9197+'/'+_0x4b9197+'.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'+_0x271f1e+_0x611c17(0x200))[_0x611c17(0x1ff)]('\x0a')['map'](_0x463189=>_0x463189[_0x611c17(0x20c)](0x8))[_0x611c17(0x1fe)]('\x0a');return a78_0x12ca58['writeSync'](_0x1189d3),console[_0x611c17(0x204)](a78_0x29befb['black']['bgYellow']('这里有一个参考的\x20route\x20代码,\x20(已复制到剪贴板)')),_0x1189d3;}]};};export default makePageGenerator;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a79_0x4d87(_0x5a4e26,_0x4ca8e9){const _0x1ec082=a79_0x1ec0();return a79_0x4d87=function(_0x4d8706,_0x9c501f){_0x4d8706=_0x4d8706-0x9b;let _0xf4b166=_0x1ec082[_0x4d8706];return _0xf4b166;},a79_0x4d87(_0x5a4e26,_0x4ca8e9);}(function(_0x59de56,_0x214c9c){const _0x4127df=a79_0x4d87,_0x3c940d=_0x59de56();while(!![]){try{const _0x51d6fe=parseInt(_0x4127df(0xa2))/0x1*(-parseInt(_0x4127df(0x9c))/0x2)+parseInt(_0x4127df(0xa7))/0x3*(parseInt(_0x4127df(0x9b))/0x4)+-parseInt(_0x4127df(0xa3))/0x5+-parseInt(_0x4127df(0xa8))/0x6+parseInt(_0x4127df(0x9e))/0x7+-parseInt(_0x4127df(0x9f))/0x8+-parseInt(_0x4127df(0xa1))/0x9*(-parseInt(_0x4127df(0x9d))/0xa);if(_0x51d6fe===_0x214c9c)break;else _0x3c940d['push'](_0x3c940d['shift']());}catch(_0x3b80cd){_0x3c940d['push'](_0x3c940d['shift']());}}}(a79_0x1ec0,0x563e6));import a79_0x1a12fb from'./make-page-generator.js';function a79_0x1ec0(){const _0x4b3b43=['145EpfMsY','1089535bRVxkZ','prompts','simple_page','创建新的页面','33qSHqkp','634440huOrYn','223044GEKTZC','3402KwCjny','872570FKCLBL','2215283wdzrDr','4936744GKFUFO','make-simple-page','63AcQzUw'];a79_0x1ec0=function(){return _0x4b3b43;};return a79_0x1ec0();}const makeGenerator=_0x48c6ac=>{const _0x15de4c=a79_0x4d87,_0x20d191=_0x15de4c(0xa5),_0xe2b3c2=a79_0x1a12fb(_0x48c6ac,_0x20d191);return{'name':_0x15de4c(0xa0),'description':_0x15de4c(0xa6),'prompts':[..._0xe2b3c2[_0x15de4c(0xa4)]],'actions':[..._0xe2b3c2['actions']]};};export default makeGenerator;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x5f212d,_0xfa10a){const _0x3265e7=a80_0x567c,_0x4f5360=_0x5f212d();while(!![]){try{const _0x57bd8a=-parseInt(_0x3265e7(0xe8))/0x1*(parseInt(_0x3265e7(0xe5))/0x2)+-parseInt(_0x3265e7(0xef))/0x3*(-parseInt(_0x3265e7(0xeb))/0x4)+-parseInt(_0x3265e7(0xed))/0x5*(-parseInt(_0x3265e7(0xea))/0x6)+-parseInt(_0x3265e7(0xe2))/0x7+-parseInt(_0x3265e7(0xe9))/0x8*(parseInt(_0x3265e7(0xec))/0x9)+parseInt(_0x3265e7(0xf4))/0xa*(parseInt(_0x3265e7(0xe1))/0xb)+-parseInt(_0x3265e7(0xf2))/0xc;if(_0x57bd8a===_0xfa10a)break;else _0x4f5360['push'](_0x4f5360['shift']());}catch(_0x5206b6){_0x4f5360['push'](_0x4f5360['shift']());}}}(a80_0x4a27,0xf13f4));import a80_0x1f251b from'node:path';import a80_0x25eb63 from'chalk';import a80_0x3b98ed from'./utils/plop-utils.js';import a80_0x99cf6 from'./generators/make-admin-page.js';import a80_0x2cfa73 from'./generators/make-database-admin-pages.js';import a80_0x3e1035 from'./generators/make-simple-page.js';function a80_0x567c(_0x2ec7cf,_0x36ee41){const _0x4a2751=a80_0x4a27();return a80_0x567c=function(_0x567c12,_0x3d2f5d){_0x567c12=_0x567c12-0xe1;let _0x5ba48d=_0x4a2751[_0x567c12];return _0x5ba48d;},a80_0x567c(_0x2ec7cf,_0x36ee41);}const generators={'makeAdminPage':a80_0x99cf6,'makeDatabaseAdminPages':a80_0x2cfa73,'makeSimplePage':a80_0x3e1035};export default function (plop){const _0x2bde31=a80_0x567c,hello=_0x2bde31(0xf3);plop[_0x2bde31(0xe7)](a80_0x25eb63[_0x2bde31(0xe4)]['white'](hello)),plop[_0x2bde31(0xe3)]=a80_0x3b98ed[_0x2bde31(0xf1)](plop,_0x2bde31(0xf0)),Object['keys'](generators)[_0x2bde31(0xee)](name=>{const _0x5778a7=_0x2bde31,generator=generators[name](plop);plop['setGenerator'](generator[_0x5778a7(0xe6)],generator);});}function a80_0x4a27(){const _0x10c2c7=['name','setWelcomeMessage','207292tTdToi','312ipsaLT','6nwNhym','1423092vUtugp','192609cBprxM','9260990giZipQ','forEach','12kOjUzA','../backender','absPath','5975508hxsoYm','欢迎使用\x20stardust-frontender\x20代码生成工具,请从以下生成器中选择一个\x20:\x20','2129740WksTss','22LvnvWX','3859268WspfxY','backenderPath','bgGreen','8WukyrX'];a80_0x4a27=function(){return _0x10c2c7;};return a80_0x4a27();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a81_0x20c73a=a81_0x5905;(function(_0x3052d9,_0x56b134){const _0x3fe836=a81_0x5905,_0x376c44=_0x3052d9();while(!![]){try{const _0x5c68c3=parseInt(_0x3fe836(0x1b6))/0x1+-parseInt(_0x3fe836(0x17d))/0x2*(parseInt(_0x3fe836(0x199))/0x3)+parseInt(_0x3fe836(0x195))/0x4*(-parseInt(_0x3fe836(0x18d))/0x5)+parseInt(_0x3fe836(0x1ab))/0x6+parseInt(_0x3fe836(0x19e))/0x7*(-parseInt(_0x3fe836(0x19c))/0x8)+-parseInt(_0x3fe836(0x1a1))/0x9+-parseInt(_0x3fe836(0x180))/0xa*(-parseInt(_0x3fe836(0x186))/0xb);if(_0x5c68c3===_0x56b134)break;else _0x376c44['push'](_0x376c44['shift']());}catch(_0x241f14){_0x376c44['push'](_0x376c44['shift']());}}}(a81_0x4016,0x8d89c));import a81_0x2fea8d from'node:path';function a81_0x5905(_0x295fd8,_0x38f160){const _0x4016e8=a81_0x4016();return a81_0x5905=function(_0x590504,_0xc6d435){_0x590504=_0x590504-0x17a;let _0x40ec47=_0x4016e8[_0x590504];return _0x40ec47;},a81_0x5905(_0x295fd8,_0x38f160);}function a81_0x4016(){const _0x1f807a=['backenderPath','7sjkqff','deleted_at','comp','7804935HaAiiv','STRING','init-models.js','visible','BOOLEAN','created_at','maxlength','replaceAll','.stardust/db.js','_length','2572884iKLiaI','values','then','canView','foreignKey','textarea','table','models','creator_id','tableName','associations','211318hilKQb','join','comment','precision','find','updated_at','database','1617806qNlHYh','assign','FLOAT','2907920YbUcdm','INTEGER','config.js','default','entries','exists','99MifXXO','options','name','calendar','red','DATE','type','2985nzhNus','updater_id','sequelize','TEXT','formAttrs','prefixIcon','toLowerCase','number','2284GVQxyq','x-select','includes','target','3lPIglN','map','config','5284120UzJaVE'];a81_0x4016=function(){return _0x1f807a;};return a81_0x4016();}import a81_0x5df73d from'chalk';import{fsUtils}from'@wp1001/node';const importFile=async _0x42a1aa=>{return new Promise(_0x4c5946=>{const _0x17ba7f=a81_0x5905;import(_0x42a1aa)[_0x17ba7f(0x1ad)](_0x4c5946);});},viewOnlyFields=[a81_0x20c73a(0x1b3),a81_0x20c73a(0x18e),a81_0x20c73a(0x1a6),a81_0x20c73a(0x17b),a81_0x20c73a(0x19f)],operatorFields=['creator_id',a81_0x20c73a(0x18e)],getModel=async(_0x34acc0,_0x2c44dd)=>{const _0x3b45ce=a81_0x20c73a,_0x2face2=a81_0x2fea8d['join'](_0x34acc0[_0x3b45ce(0x19d)],_0x3b45ce(0x1b2),_0x2c44dd[_0x3b45ce(0x17c)],_0x3b45ce(0x1a3));if(!await fsUtils[_0x3b45ce(0x185)](_0x2face2)){const _0x3be1a3=a81_0x5df73d[_0x3b45ce(0x18a)](_0x2face2+'\x20not\x20found');throw _0x3be1a3;}const _0x2e4dc1=a81_0x2fea8d[_0x3b45ce(0x1b7)](_0x34acc0[_0x3b45ce(0x19d)],_0x3b45ce(0x182)),_0x2f4eb6=a81_0x2fea8d[_0x3b45ce(0x1b7)](_0x34acc0[_0x3b45ce(0x19d)],_0x3b45ce(0x1a9)),_0x1b87e2=(await importFile(_0x2e4dc1))[_0x3b45ce(0x183)],_0x43ef0c=(await importFile(_0x2face2))[_0x3b45ce(0x183)],_0x2780c0=_0x1b87e2['datasources'][_0x3b45ce(0x17a)](_0xf82eb0=>_0xf82eb0[_0x3b45ce(0x17c)]===_0x2c44dd[_0x3b45ce(0x17c)]),{connect:_0x2a19af}=await importFile(_0x2f4eb6),_0x37bcce=_0x2a19af(_0x1b87e2,_0x2780c0),_0x49a5c2=Object['values'](_0x43ef0c(_0x37bcce,![])),_0x521f96=_0x49a5c2['find'](_0x18c99d=>_0x18c99d[_0x3b45ce(0x1b4)][_0x3b45ce(0x193)]()===_0x2c44dd[_0x3b45ce(0x1b1)]);return _0x521f96;},getSequeliezeDataType=_0x122fca=>{const _0x245c81=a81_0x20c73a,_0x13079c=_0x122fca[_0x245c81(0x18c)]||_0x122fca,_0x35418d={'name':_0x13079c['key']||_0x13079c[_0x245c81(0x188)]};return _0x13079c[_0x245c81(0x1aa)]&&(_0x35418d[_0x245c81(0x1aa)]=_0x13079c[_0x245c81(0x1aa)]),_0x35418d;},makeFields=_0x2fd9fe=>{const _0x386ffe=a81_0x20c73a,_0x9032fb=Object[_0x386ffe(0x184)](_0x2fd9fe['tableAttributes'])[_0x386ffe(0x19a)](_0x5c91a5=>{const _0x2590d3=_0x386ffe,[_0x31588a,_0x52672a]=_0x5c91a5,_0x2f1a5e=getSequeliezeDataType(_0x52672a);let _0x3a1177=_0x52672a['label']||_0x52672a[_0x2590d3(0x1b8)]||_0x31588a;_0x3a1177=_0x3a1177[_0x2590d3(0x1a8)]('\x27','\x22');const _0x8ad926={'label':_0x3a1177,'prop':_0x31588a,'tableAttrs':{...calcColumnWidth(_0x2f1a5e)},'formAttrs':{}};fillFieldType(_0x8ad926,_0x2f1a5e),fillFieldForeign(_0x8ad926,_0x2fd9fe,_0x31588a);const {autoIncrement:_0x4a2549,_autoGenerated:_0x578b3d}=_0x52672a;return(_0x4a2549||_0x578b3d||viewOnlyFields['includes'](_0x31588a))&&(_0x8ad926[_0x2590d3(0x1a4)]=![],_0x8ad926[_0x2590d3(0x1ae)]=!![],delete _0x8ad926['comp'],delete _0x8ad926[_0x2590d3(0x191)]),_0x8ad926;});return _0x9032fb;},calcColumnWidth=_0x1def42=>{const _0xdd36dc=a81_0x20c73a;switch(_0x1def42[_0xdd36dc(0x188)]){case _0xdd36dc(0x1a2):{return _0x1def42[_0xdd36dc(0x1aa)]>0x14?{'minWidth':0x96}:{'width':0x19+_0x1def42[_0xdd36dc(0x1aa)]*0xc};};case _0xdd36dc(0x190):{return{'minWidth':0xc8};}case'DATE':{return{'width':0xaf};};default:{return{'width':0x64};}}},fillFieldType=(_0x36771f,_0x363875)=>{const _0x255a88=a81_0x20c73a,{formAttrs:_0x3ecf9c}=_0x36771f;switch(_0x363875['name']){case _0x255a88(0x181):{_0x36771f['type']=_0x255a88(0x194),_0x3ecf9c[_0x255a88(0x1b9)]=0x1;break;}case _0x255a88(0x17f):{_0x36771f[_0x255a88(0x18c)]='number';break;}case _0x255a88(0x1a5):{_0x36771f[_0x255a88(0x1a0)]=_0x255a88(0x196),_0x36771f[_0x255a88(0x187)]='$$\x20store.dictionaries.yesNo\x20$$';break;}case _0x255a88(0x1a2):{_0x3ecf9c[_0x255a88(0x1a7)]=_0x363875[_0x255a88(0x1aa)];break;}case _0x255a88(0x190):{_0x36771f[_0x255a88(0x18c)]=_0x255a88(0x1b0);break;}case _0x255a88(0x18b):{_0x36771f['comp']='ElDatePicker',_0x3ecf9c[_0x255a88(0x192)]=_0x255a88(0x189);break;}}},fillFieldForeign=(_0x24cb91,_0xc27dab,_0x4a6a46)=>{const _0x46ddd7=a81_0x20c73a,_0x217d22=Object[_0x46ddd7(0x1ac)](_0xc27dab[_0x46ddd7(0x1b5)]),_0x3ec792=_0x217d22['map'](_0x37b3cc=>_0x37b3cc[_0x46ddd7(0x1af)]),_0x3ad76d=_0xc27dab[_0x46ddd7(0x18f)][_0x46ddd7(0x19b)][_0x46ddd7(0x17c)];if(_0x3ec792[_0x46ddd7(0x197)](_0x4a6a46)){const _0x18d85d=_0x217d22[_0x46ddd7(0x17a)](_0x4fb402=>_0x4fb402[_0x46ddd7(0x1af)]===_0x4a6a46);delete _0x24cb91[_0x46ddd7(0x191)][_0x46ddd7(0x1b9)],delete _0x24cb91['type'],_0x24cb91[_0x46ddd7(0x187)]=[],_0x24cb91[_0x46ddd7(0x1a0)]=_0x46ddd7(0x196);const _0x5640e3=_0x18d85d[_0x46ddd7(0x198)]['primaryKeyField']||'';Object[_0x46ddd7(0x17e)](_0x24cb91['formAttrs'],{'modelName':_0x3ad76d+'.'+_0x18d85d[_0x46ddd7(0x198)]['options']['tableName'],'text':_0x5640e3,'value':_0x5640e3});}else viewOnlyFields[_0x46ddd7(0x197)](_0x4a6a46)&&(delete _0x24cb91[_0x46ddd7(0x191)]['precision'],delete _0x24cb91['type'],operatorFields[_0x46ddd7(0x197)](_0x4a6a46)&&(_0x24cb91[_0x46ddd7(0x1a4)]=![]));};export{importFile,getModel,getSequeliezeDataType,makeFields,calcColumnWidth};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x1f378,_0x14e4d5){const _0x1c8121=a82_0x5391,_0x2523f3=_0x1f378();while(!![]){try{const _0x1a0db5=parseInt(_0x1c8121(0x20b))/0x1*(parseInt(_0x1c8121(0x204))/0x2)+parseInt(_0x1c8121(0x1f8))/0x3+-parseInt(_0x1c8121(0x201))/0x4+-parseInt(_0x1c8121(0x1fd))/0x5+-parseInt(_0x1c8121(0x20a))/0x6+-parseInt(_0x1c8121(0x1fa))/0x7+parseInt(_0x1c8121(0x207))/0x8*(parseInt(_0x1c8121(0x1fe))/0x9);if(_0x1a0db5===_0x14e4d5)break;else _0x2523f3['push'](_0x2523f3['shift']());}catch(_0x590bcf){_0x2523f3['push'](_0x2523f3['shift']());}}}(a82_0x2732,0xb7ad1));function a82_0x5391(_0x320481,_0x51d251){const _0x273293=a82_0x2732();return a82_0x5391=function(_0x539155,_0xef877b){_0x539155=_0x539155-0x1f3;let _0x5257b8=_0x273293[_0x539155];return _0x5257b8;},a82_0x5391(_0x320481,_0x51d251);}import a82_0x5743c0 from'node:path';import a82_0x45ce65 from'node-plop/src/generator-runner.js';function a82_0x2732(){const _0x4d3988=['2508448gDIxlG','confirm','indexOf','612718mXgkuu','runGeneratorPrompts','请输入\x20','8GBrAes','validate','map','3652788fQWjKv','1mRnmXl','getPlopfilePath','\x20$$\x27','split','resolve','join','2545302rwAYYT','assign','6933311WKdwuc','\x27$$\x20','input','2416815qLBvlx','20765610FxHtXR','slice','replaceAll'];a82_0x2732=function(){return _0x4d3988;};return a82_0x2732();}const getGenerator=(_0x159895,_0x577004,_0x32620e)=>{const _0x1a5791=a82_0x5391,_0x25eddf=a82_0x45ce65(_0x159895,_0x32620e),_0x5273d1=_0x159895['getGenerator'](_0x577004);return Object[_0x1a5791(0x1f9)](_0x5273d1,{'runActions':(_0x52c0cb,_0x5bd9fe)=>_0x25eddf['runGeneratorActions'](_0x5273d1,_0x52c0cb,_0x5bd9fe),'runPrompts':(_0xf3e8b5=[])=>_0x25eddf[_0x1a5791(0x205)](_0x5273d1,_0xf3e8b5)}),_0x5273d1;},absPath=(_0x4e72fb,_0x58d99a)=>{const _0x4c9f1e=a82_0x5391;return a82_0x5743c0[_0x4c9f1e(0x1f6)](_0x4e72fb[_0x4c9f1e(0x1f3)](),_0x58d99a);},addValidator=(_0x1f1346,_0x10f5e6)=>{const _0x4ebd96=a82_0x5391;_0x1f1346[_0x4ebd96(0x208)]=_0x478fcc=>{return/.+/['test'](_0x478fcc)?!![]:'请输入'+_0x10f5e6;};},makeInputPrompt=(_0x3f9cf4,_0x235be6,_0x5b27cc=!![])=>{const _0x524b1a=a82_0x5391,_0x2061dd={'type':_0x524b1a(0x1fc),'name':_0x3f9cf4,'message':_0x524b1a(0x206)+_0x235be6+'('+(_0x5b27cc?'必填':'选填')+')'};return _0x5b27cc&&addValidator(_0x2061dd,_0x3f9cf4),_0x2061dd;},makeConfirmPrompt=(_0xfad9fb,_0x64197,_0x599489)=>{const _0x460afa=a82_0x5391,_0x543311={'type':_0x460afa(0x202),'name':_0xfad9fb,'message':_0x64197,'default':_0x599489};return _0x543311;},makeSelectPrompt=(_0x178a6e,_0x445705,_0x48e91b,_0x1be0b0)=>{const _0x27a281={'type':'list','name':_0x178a6e,'choices':_0x445705,'message':_0x48e91b,'default':_0x1be0b0};return _0x27a281;},makePartial=_0x53b4ec=>{const _0x4a51e1=a82_0x5391,_0x4c473b=JSON['stringify'](_0x53b4ec,null,0x2)[_0x4a51e1(0x1f5)]('\x0a')[_0x4a51e1(0x1ff)](0x1,-0x1)[_0x4a51e1(0x209)]((_0x46f6b4,_0x382ffc)=>{const _0x2f5aa2=_0x4a51e1;_0x46f6b4=_0x46f6b4['slice'](0x2);let _0x3ac51f=_0x46f6b4[_0x2f5aa2(0x1f5)](':');return _0x3ac51f[0x0][_0x2f5aa2(0x203)]('-')>=0x0?_0x3ac51f[0x0]=_0x3ac51f[0x0][_0x2f5aa2(0x200)]('\x22','\x27'):_0x3ac51f[0x0]=_0x3ac51f[0x0]['replaceAll']('\x22',''),_0x3ac51f=_0x3ac51f['map']((_0x7e484b,_0x2a1389)=>{const _0x4dab19=_0x2f5aa2;return _0x2a1389===0x0?_0x7e484b:_0x7e484b[_0x4dab19(0x200)]('\x22','\x27');}),_0x3ac51f[_0x2f5aa2(0x1f7)](':');});let _0x574bbc=_0x4c473b[_0x4a51e1(0x1f7)]('\x0a')+'\x0a';return _0x574bbc=_0x574bbc[_0x4a51e1(0x200)](_0x4a51e1(0x1fb),'')[_0x4a51e1(0x200)](_0x4a51e1(0x1f4),''),_0x574bbc;},plopUtils={'getGenerator':getGenerator,'absPath':absPath,'addValidator':addValidator,'makeInputPrompt':makeInputPrompt,'makeConfirmPrompt':makeConfirmPrompt,'makeSelectPrompt':makeSelectPrompt,'makePartial':makePartial};export default plopUtils;
|
package/packages/utils/crypt.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a83_0x2e2e(_0x289eb1,_0x58070e){const _0x2a90c9=a83_0x2a90();return a83_0x2e2e=function(_0x2e2e9f,_0x4cf1a6){_0x2e2e9f=_0x2e2e9f-0x92;let _0x335670=_0x2a90c9[_0x2e2e9f];return _0x335670;},a83_0x2e2e(_0x289eb1,_0x58070e);}(function(_0x511845,_0x2ad53e){const _0x189659=a83_0x2e2e,_0x1c5967=_0x511845();while(!![]){try{const _0x1561ed=-parseInt(_0x189659(0x9a))/0x1+parseInt(_0x189659(0x9b))/0x2*(parseInt(_0x189659(0x95))/0x3)+parseInt(_0x189659(0x9c))/0x4*(-parseInt(_0x189659(0x98))/0x5)+-parseInt(_0x189659(0xa0))/0x6*(parseInt(_0x189659(0xa1))/0x7)+-parseInt(_0x189659(0x92))/0x8*(-parseInt(_0x189659(0x9d))/0x9)+parseInt(_0x189659(0xa2))/0xa+parseInt(_0x189659(0x9f))/0xb;if(_0x1561ed===_0x2ad53e)break;else _0x1c5967['push'](_0x1c5967['shift']());}catch(_0x57adf7){_0x1c5967['push'](_0x1c5967['shift']());}}}(a83_0x2a90,0x5f254));const simple={'encrypt'(_0x4637b8){const _0x3c9b73=a83_0x2e2e;return _0x4637b8=encodeURIComponent(_0x4637b8),_0x4637b8=btoa(_0x4637b8),_0x4637b8=_0x4637b8[_0x3c9b73(0x9e)](''),_0x4637b8=_0x4637b8['map'](_0x1235b3=>String['fromCharCode'](_0x1235b3[_0x3c9b73(0x93)](0x0)+0x6)),_0x4637b8[_0x3c9b73(0x99)](),_0x4637b8=_0x4637b8[_0x3c9b73(0x97)](''),_0x4637b8;},'decrypt'(_0x73fb97){const _0x278d86=a83_0x2e2e;return _0x73fb97=_0x73fb97[_0x278d86(0x9e)](''),_0x73fb97[_0x278d86(0x99)](),_0x73fb97=_0x73fb97[_0x278d86(0x94)](_0x426dd0=>String[_0x278d86(0x96)](_0x426dd0['charCodeAt'](0x0)-0x6)),_0x73fb97=_0x73fb97[_0x278d86(0x97)](''),_0x73fb97=atob(_0x73fb97),_0x73fb97=decodeURIComponent(_0x73fb97),_0x73fb97;}};export{simple};export default{'simple':simple};function a83_0x2a90(){const _0x3cddf2=['184251AuShBt','fromCharCode','join','10OeRPDn','reverse','13402HMFNVg','10NDAKqF','1527776cfcmsW','9QPElFA','split','8247558ooQFRq','114tyumzJ','243614OcPFDV','6795110uaJPPI','734960KCguQR','charCodeAt','map'];a83_0x2a90=function(){return _0x3cddf2;};return a83_0x2a90();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x188e05,_0x5e3c72){const _0x37410c=a84_0x4f3f,_0x2e5852=_0x188e05();while(!![]){try{const _0x5a1a97=-parseInt(_0x37410c(0x1a0))/0x1*(parseInt(_0x37410c(0x196))/0x2)+parseInt(_0x37410c(0x1a1))/0x3+parseInt(_0x37410c(0x198))/0x4+-parseInt(_0x37410c(0x1a4))/0x5+parseInt(_0x37410c(0x19c))/0x6+parseInt(_0x37410c(0x19a))/0x7*(-parseInt(_0x37410c(0x197))/0x8)+parseInt(_0x37410c(0x19e))/0x9*(parseInt(_0x37410c(0x19f))/0xa);if(_0x5a1a97===_0x5e3c72)break;else _0x2e5852['push'](_0x2e5852['shift']());}catch(_0x432bfd){_0x2e5852['push'](_0x2e5852['shift']());}}}(a84_0x2b33,0xeb16f));function a84_0x4f3f(_0x5b2a33,_0x16a277){const _0x2b3347=a84_0x2b33();return a84_0x4f3f=function(_0x4f3fed,_0x763987){_0x4f3fed=_0x4f3fed-0x193;let _0x2abb75=_0x2b3347[_0x4f3fed];return _0x2abb75;},a84_0x4f3f(_0x5b2a33,_0x16a277);}const {highdict}=StardustJs,_checkOk=(_0x496e73,_0x4dfddb)=>{const _0x235547=a84_0x4f3f;let _0x1ea1ff=_0x4dfddb;if(typeof _0x4dfddb===_0x235547(0x1a3))_0x1ea1ff=highdict[_0x235547(0x1a2)](_0x496e73,_0x4dfddb);else typeof _0x4dfddb===_0x235547(0x1a5)&&(_0x1ea1ff=_0x4dfddb(_0x496e73));return!!_0x1ea1ff;};export const when=_0x512544=>{return(_0x441ebd,{name:_0x535977,addInitializer:_0x23c5b5,..._0x5ca808})=>{_0x23c5b5(function(){const _0x2fcfe3=this,_0x34d616=_0x2fcfe3[_0x535977];_0x2fcfe3[_0x535977]=function(..._0x43274f){const _0x2335f8=a84_0x4f3f;if(!_checkOk(_0x2fcfe3,_0x512544))return;return _0x34d616[_0x2335f8(0x1a6)](_0x2fcfe3,_0x43274f);};});};};export const not=_0x238a00=>{return(_0x132642,{name:_0x2a7b45,addInitializer:_0xbe6399,..._0x3f05ce})=>{_0xbe6399(function(){const _0x31954a=this,_0x452537=_0x31954a[_0x2a7b45];_0x31954a[_0x2a7b45]=function(..._0x2fd0f5){if(_checkOk(_0x31954a,_0x238a00))return;return _0x452537['apply'](_0x31954a,_0x2fd0f5);};});};};function a84_0x2b33(){const _0x48e283=['function','apply','model','model.loading','loading','table.loading','table','303302BnqoRv','48dXFaye','2370364URetUP','set','1586403fShPzn','invalid\x20params\x20for\x20@loading','11497782dhIXNz','dialog','10404VxHSZn','6740jnJjoV','11owMbyd','5420886mDwwrl','get','string','5520660BIVchf'];a84_0x2b33=function(){return _0x48e283;};return a84_0x2b33();}export const loading=_0x54dcaa=>{return(_0x28cb6a,{name:_0x2702ff,addInitializer:_0x506df5,..._0x4d46b4})=>{_0x506df5(function(){const _0x27294b=a84_0x4f3f,_0x48b9a6=this,_0xc9c581=_0x48b9a6[_0x2702ff];_0x54dcaa??=_0x48b9a6[_0x27294b(0x195)]&&_0x27294b(0x194)||_0x48b9a6[_0x27294b(0x1a7)]&&_0x27294b(0x1a8)||_0x48b9a6[_0x27294b(0x19d)]&&'dialog.loading'||_0x27294b(0x193),_0x48b9a6[_0x2702ff]=function(..._0x4fd923){const _0x13330a=_0x27294b;if(!_0x54dcaa)throw _0x13330a(0x19b);if(highdict[_0x13330a(0x1a2)](_0x48b9a6,_0x54dcaa))return;highdict[_0x13330a(0x199)](_0x48b9a6,_0x54dcaa,!![]);const _0x1e568b=_0xc9c581[_0x13330a(0x1a6)](_0x48b9a6,_0x4fd923);if(_0x1e568b instanceof Promise)return _0x1e568b['then']((..._0xe35309)=>{return highdict['set'](_0x48b9a6,_0x54dcaa,![]),_0xe35309;});return highdict[_0x13330a(0x199)](_0x48b9a6,_0x54dcaa,![]),_0x1e568b;};});};};export default{'when':when,'not':not,'loading':loading};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x554647,_0x248093){const _0x40ab21=a85_0x3871,_0xe3006f=_0x554647();while(!![]){try{const _0x53fb62=parseInt(_0x40ab21(0x147))/0x1+-parseInt(_0x40ab21(0x15e))/0x2+parseInt(_0x40ab21(0x159))/0x3+parseInt(_0x40ab21(0x13b))/0x4+-parseInt(_0x40ab21(0x151))/0x5*(parseInt(_0x40ab21(0x148))/0x6)+parseInt(_0x40ab21(0x154))/0x7+-parseInt(_0x40ab21(0x13c))/0x8*(parseInt(_0x40ab21(0x142))/0x9);if(_0x53fb62===_0x248093)break;else _0xe3006f['push'](_0xe3006f['shift']());}catch(_0x343074){_0xe3006f['push'](_0xe3006f['shift']());}}}(a85_0x398b,0x58df0));import a85_0xab706d from'../assets/devtools-detector.js';function a85_0x3871(_0x597742,_0xaa8fa0){const _0x398b30=a85_0x398b();return a85_0x3871=function(_0x3871ba,_0x4373ea){_0x3871ba=_0x3871ba-0x137;let _0x146eec=_0x398b30[_0x3871ba];return _0x146eec;},a85_0x3871(_0x597742,_0xaa8fa0);}const {addListener,launch}=a85_0xab706d,disallowDevtools=(_0x2b7db5={},_0x4c107b)=>{const _0x35f042=a85_0x3871,_0x242cf9=_0x39792c=>{const _0x32c8ea=a85_0x3871;_0x39792c&&(document[_0x32c8ea(0x145)]['innerHTML']=decodeURIComponent(atob('JUU0JUI4JUJBJUU0JUJBJTg2JUU3JUJEJTkxJUU3JUFCJTk5JUU3JTlBJTg0JUU1JUFFJTg5JUU1JTg1JUE4JUVGJUJDJThDJUU3JUE2JTgxJUU2JUFEJUEyJUU4JUIwJTgzJUU4JUFGJTk1')),window['location']['href']=decodeURIComponent(atob(_0x32c8ea(0x152))));};addListener(_0x242cf9),(!window[_0x35f042(0x139)]['name']||!console[_0x35f042(0x138)][_0x35f042(0x15d)]||!RegExp[_0x35f042(0x158)][_0x35f042(0x158)]()[_0x35f042(0x14c)](_0x35f042(0x158))||!history[_0x35f042(0x15b)][_0x35f042(0x158)][_0x35f042(0x158)]()[_0x35f042(0x14c)]('toString'))&&_0x242cf9(!![]),!(_0x4c107b||JSON['parse'](_0x2b7db5[_0x35f042(0x137)]?_0x2b7db5[_0x35f042(0x13f)]:_0x2b7db5[_0x35f042(0x13d)]))['includes'](window['location'][_0x35f042(0x155)])&&(launch(),window[_0x35f042(0x141)]('contextmenu',_0x3fdb98=>{const _0x495550=_0x35f042;!(_0x3fdb98['target']instanceof SVGElement)&&![_0x495550(0x14d),_0x495550(0x157),_0x495550(0x15c),_0x495550(0x153),_0x495550(0x13e),_0x495550(0x149),'TEXTAREA'][_0x495550(0x14c)](_0x3fdb98[_0x495550(0x14e)][_0x495550(0x14a)])&&_0x3fdb98[_0x495550(0x14b)]();},!![]),window[_0x35f042(0x141)]('keydown',_0x18a844=>{const _0x32c478=_0x35f042;(_0x18a844['code']===_0x32c478(0x15f)||(_0x18a844[_0x32c478(0x13a)]||_0x18a844[_0x32c478(0x140)])&&(_0x18a844[_0x32c478(0x14f)]||_0x18a844[_0x32c478(0x15a)])&&[_0x32c478(0x144),_0x32c478(0x146),_0x32c478(0x143),'KeyC'][_0x32c478(0x156)](_0x18a844[_0x32c478(0x150)])>=0x0)&&_0x18a844[_0x32c478(0x14b)]();},!![]));};function a85_0x398b(){const _0x1d905f=['metaKey','2470252nOsiFN','421992fLBQKX','VITE_DEV_DEBUGGERABLE_DOMAINS','PICTURE','VITE_PROD_DEBUGGERABLE_DOMAINS','ctrlKey','addEventListener','27mrfWpv','KeyJ','KeyU','documentElement','KeyI','371976rTXkkc','556986FnzYbb','INPUT','nodeName','preventDefault','includes','IMG','target','altKey','code','10pwkZeB','YWJvdXQlM0FibGFuaw==','VIDEO','674289wvyQsK','hostname','indexOf','CANVAS','toString','188004BiBubT','shiftKey','pushState','AUDIO','name','881218cdBIcK','F12','PROD','clear','eval'];a85_0x398b=function(){return _0x1d905f;};return a85_0x398b();}export default disallowDevtools;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a86_0x2f6a(){const _0x5cc8a1=['addEventListener','25780GdGGgH','getContext','clearRect','round','1905342JGNmmL','5xoCHCZ','675Zgfxza','createLinearGradient','random','mouseover','2651qfczSr','fill','fillRect','min','color','map','measureText','detectWall','innerHeight','now','from','height','fillStyle','width','radius','floor','update','2748092fEhFMX','addColorStop','7XoBLlW','forEach','max','ctx','1105830HduqXx','font','532731HedtIl','getBoundingClientRect','px\x20Arial','rgba(20,\x2020,\x2020,\x200.5)','3005960RnHCcS','1314weTDHm','pageY','mousemove'];a86_0x2f6a=function(){return _0x5cc8a1;};return a86_0x2f6a();}const a86_0x2abf11=a86_0x3b91;function a86_0x3b91(_0x2a1fc7,_0x2cd242){const _0x2f6aea=a86_0x2f6a();return a86_0x3b91=function(_0x3b913d,_0x1c19b3){_0x3b913d=_0x3b913d-0xa3;let _0x42ece1=_0x2f6aea[_0x3b913d];return _0x42ece1;},a86_0x3b91(_0x2a1fc7,_0x2cd242);}(function(_0x3d522e,_0x5ddf4d){const _0xa34eb9=a86_0x3b91,_0x4b67a2=_0x3d522e();while(!![]){try{const _0x5e96b4=-parseInt(_0xa34eb9(0xb0))/0x1+-parseInt(_0xa34eb9(0xb5))/0x2*(parseInt(_0xa34eb9(0xbf))/0x3)+parseInt(_0xa34eb9(0xa8))/0x4+-parseInt(_0xa34eb9(0xbe))/0x5*(-parseInt(_0xa34eb9(0xbd))/0x6)+-parseInt(_0xa34eb9(0xaa))/0x7*(parseInt(_0xa34eb9(0xb4))/0x8)+-parseInt(_0xa34eb9(0xae))/0x9+-parseInt(_0xa34eb9(0xb9))/0xa*(-parseInt(_0xa34eb9(0xc3))/0xb);if(_0x5e96b4===_0x5ddf4d)break;else _0x4b67a2['push'](_0x4b67a2['shift']());}catch(_0x3411e3){_0x4b67a2['push'](_0x4b67a2['shift']());}}}(a86_0x2f6a,0x6d0f3));export const pop=_0x2430ff=>{const _0x2612ad=a86_0x3b91,{width:_0x30b9b7,height:_0x51afac}=_0x2430ff[_0x2612ad(0xb1)]();_0x2430ff[_0x2612ad(0xa4)]=_0x30b9b7,_0x2430ff[_0x2612ad(0xce)]=_0x51afac;const _0x5efe6a=_0x2430ff['getContext']('2d');class _0x28ef4f{constructor(_0x16426b,_0x449255,_0x4dc2a2,_0x3d1b48,_0x3a6eab,_0x5737ee,_0x3c773c){const _0x3dd1df=_0x2612ad;this['x']=_0x16426b,this['y']=_0x449255,this['radius']=_0x4dc2a2,this[_0x3dd1df(0xc7)]=_0x3d1b48,this['vx']=_0x3a6eab,this['vy']=_0x5737ee,this['ctx']=_0x3c773c;}[_0x2612ad(0xa7)](){const _0x595746=_0x2612ad;this['x']+=this['vx'],this['y']+=this['vy'],this['ctx']['beginPath'](),this[_0x595746(0xad)][_0x595746(0xa3)]=this[_0x595746(0xc7)],this[_0x595746(0xad)]['arc'](this['x'],this['y'],this[_0x595746(0xa5)],0x0,Math['PI']*0x2),this[_0x595746(0xad)]['fill'](),this['detectWall']();}[_0x2612ad(0xca)](){const _0x20e6ea=_0x2612ad;if(this['x']<this['radius'])this['x']=this[_0x20e6ea(0xa5)],this['vx']=-this['vx'];else this['x']+this['radius']>_0x30b9b7&&(this['x']=_0x30b9b7-this[_0x20e6ea(0xa5)],this['vx']=-this['vx']);if(this['y']<this[_0x20e6ea(0xa5)])this['y']=this[_0x20e6ea(0xa5)],this['vy']=-this['vy'];else this['y']+this[_0x20e6ea(0xa5)]>_0x51afac&&(this['y']=_0x51afac-this[_0x20e6ea(0xa5)],this['vy']=-this['vy']);}}const _0x6c2033=()=>_0x5efe6a[_0x2612ad(0xbb)](0x0,0x0,_0x30b9b7,_0x51afac),_0x8a36d2=_0xae0d8d=>Math['floor'](Math[_0x2612ad(0xc1)]()*_0xae0d8d);let _0x4b4a39=0x0,_0x5bbe10=0.01,_0x3a8492=0x0;const _0x258e16=()=>{const _0x1d243a=_0x2612ad,_0x4d6600=_0x5efe6a[_0x1d243a(0xc0)](0x0,0x0,_0x30b9b7*1.5,_0x51afac*1.5);!_0x3a8492?(_0x4b4a39+=_0x5bbe10,_0x4b4a39<=0x0&&(_0x4b4a39=0x0,_0x5bbe10=-_0x5bbe10,_0x3a8492=_0x5acc0f*0x1e),_0x4b4a39>=0x1&&(_0x4b4a39=0x1,_0x5bbe10=-_0x5bbe10,_0x3a8492=_0x5acc0f*0x1e)):_0x3a8492--,_0x4d6600[_0x1d243a(0xa9)](0x0,'rgba(250,\x20220,\x2020,\x200.5)'),_0x4d6600[_0x1d243a(0xa9)](_0x4b4a39,_0x1d243a(0xb3)),_0x5efe6a[_0x1d243a(0xa3)]=_0x4d6600,_0x5efe6a[_0x1d243a(0xc5)](0x0,0x0,_0x30b9b7,_0x51afac);},_0x145bfd=Math[_0x2612ad(0xa6)](_0x30b9b7/0x64),_0x1042df=Math['floor'](_0x51afac/0x64),_0x5acc0f=0x14,_0x43e1d6=Math[_0x2612ad(0xbc)](0x3e8/_0x5acc0f),_0x24e510=Array[_0x2612ad(0xcd)]({'length':0x34})[_0x2612ad(0xc8)](()=>{const _0x18f058=_0x2612ad,_0x4a7b68=Math['floor'](_0x8a36d2(_0x145bfd+_0x1042df)*1.5+_0x8a36d2(0x5));let _0x140228=_0x8a36d2(_0x30b9b7),_0x54a074=_0x8a36d2(_0x51afac);_0x140228=Math[_0x18f058(0xc6)](Math['max'](_0x4a7b68,_0x140228),_0x30b9b7-_0x4a7b68),_0x54a074=Math['min'](Math[_0x18f058(0xac)](_0x4a7b68,_0x54a074),_0x51afac-_0x4a7b68);let _0x441878=_0x8a36d2(0x2)?(_0x8a36d2(0x2)+0x2)*_0x145bfd:(_0x8a36d2(-0x1)-0x2)*_0x145bfd,_0xeab0d8=_0x8a36d2(0x2)?(_0x8a36d2(0x2)+0x2)*_0x1042df:(_0x8a36d2(-0x1)-0x2)*_0x1042df;return _0x441878=Math[_0x18f058(0xa6)](_0x441878/_0x5acc0f),_0xeab0d8=Math['floor'](_0xeab0d8/_0x5acc0f),new _0x28ef4f(_0x140228,_0x54a074,_0x4a7b68,'rgba('+_0x8a36d2(0x100)+',\x20'+_0x8a36d2(0x100)+',\x20'+_0x8a36d2(0x100)+',\x20'+(_0x8a36d2(0x5)+0x5)/0xa+')',_0x441878,_0xeab0d8,_0x5efe6a);});let _0x33a2ac,_0x2515cf;_0x2430ff[_0x2612ad(0xb8)](_0x2612ad(0xc2),_0x104056=>{const _0x507b77=_0x2612ad;_0x33a2ac=_0x104056['pageX'],_0x2515cf=_0x104056[_0x507b77(0xb6)];}),_0x2430ff[_0x2612ad(0xb8)](_0x2612ad(0xb7),_0x3c7b44=>{const _0x30b6c9=_0x2612ad;if(_0x33a2ac===undefined){_0x33a2ac=_0x3c7b44['pageX'],_0x2515cf=_0x3c7b44[_0x30b6c9(0xb6)];return;}const _0x103361=_0x3c7b44['pageX']-_0x33a2ac,_0x871a16=_0x3c7b44[_0x30b6c9(0xb6)]-_0x2515cf;_0x24e510[_0x30b6c9(0xab)](_0x57533f=>{_0x57533f['x']+=_0x103361/_0x5acc0f,_0x57533f['y']+=_0x871a16/_0x5acc0f;}),_0x33a2ac=_0x3c7b44['pageX'],_0x2515cf=_0x3c7b44['pageY'];});let _0x41ea9a=Date[_0x2612ad(0xcc)](),_0x457062=null;const _0x2dcef4=()=>{const _0x242b05=_0x2612ad;Date[_0x242b05(0xcc)]()-_0x41ea9a>=_0x43e1d6&&(_0x6c2033(),_0x258e16(),_0x24e510[_0x242b05(0xab)](_0x4dcaef=>_0x4dcaef[_0x242b05(0xa7)]()),_0x41ea9a=Date['now']()),_0x457062=requestAnimationFrame(_0x2dcef4);};return _0x457062=requestAnimationFrame(_0x2dcef4),()=>cancelAnimationFrame(_0x457062);};export const createWatermark=({text:_0x4efc4a,gap:_0x2f804b,fontSize:_0x3a9e3b,color:_0x394d85,width:width=window['innerWidth'],height:height=window[a86_0x2abf11(0xcb)],drawMode:drawMode=a86_0x2abf11(0xc4)})=>{const _0x3a8cef=a86_0x2abf11,_0x485d38=document['createElement']('canvas');_0x485d38[_0x3a8cef(0xa4)]=width,_0x485d38['height']=height;const _0x3f9977=_0x485d38[_0x3a8cef(0xba)]('2d');_0x3f9977[_0x3a8cef(0xaf)]=_0x3a9e3b+_0x3a8cef(0xb2),_0x3f9977[drawMode+'Style']=_0x394d85;const _0x28f22a=_0x3f9977[_0x3a8cef(0xc9)](_0x4efc4a)[_0x3a8cef(0xa4)],_0x13e899=_0x28f22a+_0x2f804b,_0x9d1666=_0x3a9e3b+_0x2f804b;for(let _0x2623b0=_0x2f804b/0x2;_0x2623b0<height;_0x2623b0+=_0x9d1666){for(let _0x41c9ce=_0x2f804b/0x2;_0x41c9ce<width;_0x41c9ce+=_0x13e899){_0x3f9977[drawMode+'Text'](_0x4efc4a,_0x41c9ce,_0x2623b0);}}return _0x485d38;};export default{'pop':pop,'createWatermark':createWatermark};
|