@maka/maka-cli 5.0.28 → 5.0.29
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/bundle/obf/package.json +1 -1
- package/bundle/obf/src/command.js +1 -1
- package/bundle/obf/src/commands/_index.js +1 -1
- package/bundle/obf/src/commands/ai.js +1 -1
- package/bundle/obf/src/commands/aws/_index.js +1 -1
- package/bundle/obf/src/commands/aws/aws.command.js +1 -1
- package/bundle/obf/src/commands/aws/cecr.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/decr.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/lecr.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/build/_index.js +1 -1
- package/bundle/obf/src/commands/build/build.js +1 -1
- package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/create.js +1 -1
- package/bundle/obf/src/commands/debug.js +1 -1
- package/bundle/obf/src/commands/deploy/_index.js +1 -1
- package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
- package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/_index.js +1 -1
- package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/play.command.js +1 -1
- package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/generate.js +1 -1
- package/bundle/obf/src/commands/get/_index.js +1 -1
- package/bundle/obf/src/commands/get/get.command.js +1 -1
- package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/help.js +1 -1
- package/bundle/obf/src/commands/install.js +1 -1
- package/bundle/obf/src/commands/jsdoc.js +1 -1
- package/bundle/obf/src/commands/lint.js +1 -1
- package/bundle/obf/src/commands/login.js +1 -1
- package/bundle/obf/src/commands/logout.js +1 -1
- package/bundle/obf/src/commands/logs.js +1 -1
- package/bundle/obf/src/commands/maka.cmd.js +1 -1
- package/bundle/obf/src/commands/murder.js +1 -1
- package/bundle/obf/src/commands/profile.js +1 -1
- package/bundle/obf/src/commands/proxy.js +1 -1
- package/bundle/obf/src/commands/reconfig.js +1 -1
- package/bundle/obf/src/commands/register.js +1 -1
- package/bundle/obf/src/commands/run/_index.js +1 -1
- package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/run/run.command.js +1 -1
- package/bundle/obf/src/commands/set/_index.js +1 -1
- package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/set/set.command.js +1 -1
- package/bundle/obf/src/commands/ssh.js +1 -1
- package/bundle/obf/src/commands/ssl.js +1 -1
- package/bundle/obf/src/commands/test.js +1 -1
- package/bundle/obf/src/commands/undo.js +1 -1
- package/bundle/obf/src/commands/version.js +1 -1
- package/bundle/obf/src/error.js +1 -1
- package/bundle/obf/src/exec.js +1 -1
- package/bundle/obf/src/generator.js +1 -1
- package/bundle/obf/src/generators/_index.js +1 -1
- package/bundle/obf/src/generators/api.js +1 -1
- package/bundle/obf/src/generators/aws/_index.js +1 -1
- package/bundle/obf/src/generators/aws/aws.js +1 -1
- package/bundle/obf/src/generators/aws/cloudformation/_index.js +1 -1
- package/bundle/obf/src/generators/aws/cloudformation/cloudformation.js +1 -1
- package/bundle/obf/src/generators/aws/cloudformation/create-ec2-instance.cf.gen.js +1 -1
- package/bundle/obf/src/generators/collection.js +1 -1
- package/bundle/obf/src/generators/component.js +1 -1
- package/bundle/obf/src/generators/config.js +1 -1
- package/bundle/obf/src/generators/dbc.js +1 -1
- package/bundle/obf/src/generators/dockerfile.js +1 -1
- package/bundle/obf/src/generators/hook.js +1 -1
- package/bundle/obf/src/generators/kits/_index.js +1 -1
- package/bundle/obf/src/generators/kits/auth/_index.js +1 -1
- package/bundle/obf/src/generators/kits/auth/auth.generator.js +1 -1
- package/bundle/obf/src/generators/kits/auth/basic-meteor.auth.gen.js +1 -1
- package/bundle/obf/src/generators/kits/auth/provider.auth.gen.js +1 -1
- package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
- package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
- package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
- package/bundle/obf/src/generators/kits/kit.js +1 -1
- package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
- package/bundle/obf/src/generators/kits/mui/auth.mui.gen.js +1 -1
- package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
- package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
- package/bundle/obf/src/generators/layout.js +1 -1
- package/bundle/obf/src/generators/maka.gen.js +1 -1
- package/bundle/obf/src/generators/methods.js +1 -1
- package/bundle/obf/src/generators/package.js +1 -1
- package/bundle/obf/src/generators/page.js +1 -1
- package/bundle/obf/src/generators/publish.js +1 -1
- package/bundle/obf/src/generators/route.js +1 -1
- package/bundle/obf/src/generators/service.js +1 -1
- package/bundle/obf/src/generators/services/_index.js +1 -1
- package/bundle/obf/src/generators/services/openssl.js +1 -1
- package/bundle/obf/src/generators/services/translation.js +1 -1
- package/bundle/obf/src/maka.js +1 -1
- package/bundle/obf/src/tool.js +1 -1
- package/bundle/obf/src/tools/actions/actions.class.js +1 -1
- package/bundle/obf/src/tools/aws/aws.class.js +1 -1
- package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
- package/bundle/obf/src/tools/cfg/cfg.class.js +1 -1
- package/bundle/obf/src/tools/docker/docker.class.js +1 -1
- package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
- package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
- package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
- package/bundle/obf/src/tools/https/https.class.js +1 -1
- package/bundle/obf/src/tools/https/https.interface.js +1 -1
- package/bundle/obf/src/tools/log/log.class.js +1 -1
- package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
- package/bundle/obf/src/tools/mpi/mpi.class.js +1 -1
- package/bundle/obf/src/tools/options/options.class.js +1 -1
- package/bundle/obf/src/tools/pkg/pkg.class.js +1 -1
- package/bundle/obf/src/tools/progress/progress.class.js +1 -1
- package/bundle/obf/src/tools/scaffold/scaffold.class.js +1 -1
- package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
- package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
- package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
- package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
- package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a116o=a116d;(function(a,b){const l=a116d,c=a();while(!![]){try{const d=-parseInt(l(0x13a))/0x1+-parseInt(l(0x122))/0x2+-parseInt(l(0x135))/0x3*(-parseInt(l(0x124))/0x4)+parseInt(l(0x13c))/0x5*(parseInt(l(0x14b))/0x6)+-parseInt(l(0x14e))/0x7+-parseInt(l(0x13b))/0x8+parseInt(l(0x140))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a116c,0x38b17));const a116b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a116d;if(c){const e=c[m(0x120)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a116a=a116b(this,function(){const n=a116d;return a116a['toString']()['search']('(((.+)+)+)+$')['toString']()[n(0x121)](a116a)[n(0x138)](n(0x126));});a116a();function a116c(){const q=['pages','force','none','/imports/ui/components','resourceName','hook','template/template.css','.css','error','15747fmeexc','fsi','css','search','relative','241188Vqfkga','2909728MrbNeY','90ARzrFW','className','\x20hook...','baseDir','10834686WSPYzU','pkg','layouts','@apollo/client','dir','react','.app-tests.js','Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','graphql','features','.js','23022EaxwsJ','import\x20\x27./','pathFromApp','2532614qwAmqM','injectTemplateModule','hooks','maka\x20g:hook\x20cool-hook','cfg','template','test','@apollo/client\x20isomorphic-fetch','string','apollo','checkNpmPackage','scaffold','apply','constructor','609910ouYjxk','installNpmPackage','176vZMsAU','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','(((.+)+)+)+$','cssCaseName','theme','fileName','assign','engines'];a116c=function(){return q;};return a116c();}import a116e from'path';import{kebabCase,pascalCase,camelCase}from'change-case';function a116d(a,b){const c=a116c();return a116d=function(d,e){d=d-0x116;let f=c[d];return f;},a116d(a,b);}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator['create']({'name':a116o(0x131),'aliases':['h'],'checkWhere':![],'usage':'maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','shortDesc':a116o(0x147),'mustBeInMakaProject':!![],'validOpts':[{'name':'baseDir','values':[a116o(0x116),'components',a116o(0x12c),a116o(0x142)]},{'name':a116o(0x12d),'boolFlag':!![]}],'examples':[a116o(0x117)],'description':'\x0a\x20\x20Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html\x0a\x0a\x20\x20If\x20you\x27d\x20like\x20a\x20hook\x20created\x20as\x20part\x20of\x20an\x20existing\x20page,\x20component,\x20or\x20layout,\x0a\x20\x20use\x20the\x20maka\x20g:hook\x20command\x20with\x20the\x20--baseDir\x20option.\x20For\x20example,\x0a\x0a\x20\x20\x20\x20maka\x20g:hook\x20--baseDir=pages\x20myPage/useCoolHook\x0a\x0a\x20\x20will\x20create\x20a\x20hook\x20in\x20imports/ui/pages/my-page/use-cool-hook.jsx\x0a\x0a\x20\x20'},async function(a,b){const p=a116o;Log['notice']('Creating\x20'+b['resourceName']+p(0x13e));try{await this['pkg'][p(0x11e)](p(0x145),{'shouldInstall':!![]});const c=this[p(0x136)]['findAppDirectory'](),d=b[p(0x13f)]?'/imports/ui/'+b['baseDir']:p(0x12f),f=this[p(0x11f)][p(0x14d)]({'pathParts':[d,b[p(0x144)],kebabCase(b[p(0x130)]),kebabCase(b[p(0x130)])]}),g=this['projectConfig'];typeof g[p(0x119)][p(0x137)]===p(0x11c)&&this[p(0x118)]['setTemplate'](p(0x137),g[p(0x119)][p(0x137)]);g[p(0x12b)][p(0x148)]===p(0x11d)&&!this[p(0x141)]['checkNpmPackage'](p(0x143))&&(Log['warn'](p(0x125)),await this[p(0x141)][p(0x123)](p(0x11b),{'cwd':c}));const h={'cssCaseName':kebabCase(b['resourceName']),'camelCaseName':camelCase(b[p(0x130)]),'className':pascalCase(b[p(0x130)]),'name':pascalCase(b[p(0x130)]),'graphql':g['engines'][p(0x148)],'theme':g[p(0x12b)][p(0x128)],'features':g[p(0x149)],'myPath':a116e[p(0x139)](this[p(0x136)]['findProjectDirectory'](),f),'fileName':kebabCase(b[p(0x130)]),'isComponent':![],'isLayout':![],'withTranslations':g[p(0x149)]['withTranslations']};await this[p(0x11f)]['template']({'srcPath':'hook/hook.js','destPath':f+p(0x14a),'context':h,'config':g,'framework':p(0x145),'force':b['force']});g[p(0x119)][p(0x137)]&&(await this[p(0x11f)]['template']({'srcPath':p(0x132),'destPath':f+p(0x133),'context':Object[p(0x12a)]({},h,{'className':h[p(0x127)]}),'config':g,'force':b['force']}),await this['scaffold']['injectAtBeginningOfFile']({'filePath':f+'.'+g[p(0x12b)]['js'],'content':p(0x14c)+h['fileName']+'.'+g[p(0x12b)][p(0x137)]+'\x27;'}));g['engines'][p(0x11a)]!==p(0x12e)&&await this[p(0x11f)][p(0x119)]({'srcPath':'test/test.js','destPath':f+p(0x146),'framework':p(0x145),'context':h,'config':g,'force':b[p(0x12d)]});const i=b['dir']?'/'+b[p(0x144)]+'/':'/',j=''+d+i+h['fileName']+'/'+h[p(0x129)];await this[p(0x11f)][p(0x14f)](h[p(0x13d)],g,j);}catch(k){Log[p(0x134)](k);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a117d,c=a();while(!![]){try{var d
|
|
1
|
+
(function(a,b){var f=a117d,c=a();while(!![]){try{var d=-parseInt(f(0xe6))/0x1+parseInt(f(0xdb))/0x2+-parseInt(f(0xe3))/0x3+parseInt(f(0xe2))/0x4*(-parseInt(f(0xe0))/0x5)+-parseInt(f(0xd9))/0x6*(parseInt(f(0xe5))/0x7)+parseInt(f(0xe8))/0x8*(-parseInt(f(0xdc))/0x9)+parseInt(f(0xdf))/0xa*(parseInt(f(0xdd))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0xd1558));var a117b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a117d;if(c){var e=c[g(0xda)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){var h=a117d;return a117a['toString']()[h(0xe7)](h(0xde))[h(0xe4)]()[h(0xe1)](a117a)[h(0xe7)](h(0xde));});a117a();import'./kit.js';import'./mui/_index.js';function a117d(a,b){var c=a117c();return a117d=function(d,e){d=d-0xd9;var f=c[d];return f;},a117d(a,b);}import'./esri/_index.js';import'./auth/_index.js';function a117c(){var i=['5500865eiVxSe','constructor','4NEakwi','2750097RXCEgS','toString','196qTyEVZ','86530KEziXH','search','14008XgLYCb','330690CULPeP','apply','545066ueHJLg','7299sHaazv','11xMZgNH','(((.+)+)+)+$','56515820WPPzjb'];a117c=function(){return i;};return a117c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a118d,c=a();while(!![]){try{var d
|
|
1
|
+
function a118d(a,b){var c=a118c();return a118d=function(d,e){d=d-0x105;var f=c[d];return f;},a118d(a,b);}(function(a,b){var f=a118d,c=a();while(!![]){try{var d=-parseInt(f(0x111))/0x1+parseInt(f(0x112))/0x2*(parseInt(f(0x107))/0x3)+-parseInt(f(0x110))/0x4+-parseInt(f(0x10e))/0x5+parseInt(f(0x10b))/0x6+parseInt(f(0x10a))/0x7*(-parseInt(f(0x109))/0x8)+parseInt(f(0x105))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0x6d8ea));var a118b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a118d;if(c){var e=c[g(0x10f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){var h=a118d;return a118a[h(0x10c)]()['search'](h(0x106))[h(0x10c)]()[h(0x10d)](a118a)[h(0x108)](h(0x106));});a118a();import'./auth.generator.js';import'./provider.auth.gen.js';function a118c(){var i=['123dcQKTc','search','1370760xYgkvp','7Buhqvl','471930rQutGM','toString','constructor','840110otOGXn','apply','2463520SgkqKj','129535gPwhiO','39520ibxgZh','5802417EkEzFm','(((.+)+)+)+$'];a118c=function(){return i;};return a118c();}import'./basic-meteor.auth.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a119h=a119d;(function(a,b){const f=a119d,c=a();while(!![]){try{const d=parseInt(f(0x86))/0x1*(parseInt(f(0x94))/0x2)+parseInt(f(0x95))/0x3*(-parseInt(f(0x8a))/0x4)+-parseInt(f(0x8e))/0x5+parseInt(f(0x8f))/0x6*(parseInt(f(0x87))/0x7)+-parseInt(f(0x8c))/0x8+-parseInt(f(0x90))/0x9*(-parseInt(f(0x85))/0xa)+parseInt(f(0x84))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0xba68b));const a119b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){const g=a119d;return a119a['toString']()[g(0x91)](g(0x92))[g(0x8d)]()[g(0x88)](a119a)[g(0x91)](g(0x92));});a119a();function a119c(){const i=['Starting\x20point\x20for\x20generating\x20an\x20Auth\x20Provider','26hmjldL','3CWfpPs','13758008TkbXWW','10hhoQTe','15807mduoMG','7PVybnx','constructor','maka\x20g:kit:a','4221544QRcUPU','auth','4905888CYlkyP','toString','4964035ZRKbQa','5687988SqGxWr','9186687ebedKL','search','(((.+)+)+)+$'];a119c=function(){return i;};return a119c();}import{Generator}from'../../../generator.js';function a119d(a,b){const c=a119c();return a119d=function(d,e){d=d-0x84;let f=c[d];return f;},a119d(a,b);}import a119e from'../kit.js';const AuthGen=Generator['create']({'name':a119h(0x8b),'aliases':['a'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:<kit-name>','shortDesc':a119h(0x93),'resourceNameRequired':![],'validOpts':[''],'isPro':!![],'examples':[a119h(0x89)],'description':'\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x20\x20'},async function(){throw'NIE';},async function(){},a119e);export default AuthGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a120v=a120d;(function(a,b){const s=a120d,c=a();while(!![]){try{const d=parseInt(s(0x199))/0x1+parseInt(s(0x1c0))/0x2+-parseInt(s(0x1aa))/0x3*(parseInt(s(0x1a1))/0x4)+-parseInt(s(0x19c))/0x5*(parseInt(s(0x1a3))/0x6)+-parseInt(s(0x18c))/0x7*(parseInt(s(0x198))/0x8)+-parseInt(s(0x1b4))/0x9+parseInt(s(0x1c5))/0xa*(parseInt(s(0x1c1))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0xe1a8a));const a120b=(function(){let a=!![];return function(b,c){const d=a?function(){const t=a120d;if(c){const e=c[t(0x1bd)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){const u=a120d;return a120a[u(0x19e)]()[u(0x1ad)](u(0x1c2))['toString']()[u(0x197)](a120a)[u(0x1ad)](u(0x1c2));});a120a();import a120e from'path';import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';function a120c(){const x=['322399nQVOOC','(((.+)+)+)+$','findAppDirectory','meteor/meteor','1000BvRSYQ','ssr','react','const\x20resetPasswordWithToken','startup','processAndRunGenerator','injectImport','/imports/startup/server/publications/auth/roles.js','9874879eIECPg','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','engines','pathFromApp','index','export\x20const\x20AuthProvider','meteor/accounts-base','injectIntoCodeBlock','error','Meteor','meteor','constructor','8WfiLrZ','1414435yEXweZ','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','/imports/startup/client','3409195ObBgpN','/imports/startup/lib','toString','exit','auth/roles','147428QflhYr','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20start\x20by\x20generating\x20your\x20auth\x20provider\x20and\x20context,\x20and\x20then\x20setup\x20Meteor\x20Accounts\x0a\x20\x20\x20\x20to\x20handle\x20authentication\x20and\x20authorization.\x0a\x20\x20','12kGhvvR','injectIntoFile','/imports/startup/client/authentication-service','Meteor.startup','\x0a\x20\x20\x20\x20\x20\x20\x20\x20const\x20user\x20=\x20await\x20AuthService.authenticateUser(username,\x20password);\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20user;\x0a\x20\x20\x20\x20\x20\x20','template','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','60kbuxuE','const\x20registerNewUser','create','search','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','Accounts','publish','const\x20authenticateToken','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','force','8121204axiaqg','\x0a\x20\x20\x20\x20\x20\x20\x20\x20const\x20user\x20=\x20await\x20AuthService.authenticateToken();\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20user;\x0a\x20\x20\x20\x20\x20\x20','useEffect\x5c(','server','kit/auth/service/meteor-auth-service.js','.js','Meteor.publish','const\x20sendForgotPasswordEmail','\x0a\x20\x20\x20\x20\x20\x20\x20\x20useTracker(()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(Meteor.isClient)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(Meteor.user()\x20&&\x20!currentUser)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20setCurrentUser(Meteor.user());\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fetchUserAuthorizations(Meteor.user());\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});\x0a\x0a\x20\x20\x20\x20\x20\x20','apply','meteor/maka:react-tracker','accounts-password','1985668ATfUKf'];a120c=function(){return x;};return a120c();}import a120f from'./auth.generator.js';function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0x185;let f=c[d];return f;},a120d(a,b);}import a120g from'../../../generators/maka.gen.js';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a120v(0x1ac)]({'name':a120v(0x196),'aliases':['m'],'usage':a120v(0x1b2),'shortDesc':a120v(0x1ae),'validOpts':[a120v(0x1b3)],'isPro':!![],'resourceNameRequired':![],'mustBeInMakaProject':!![],'requiredEngines':{'client':ClientEngines['REACT']},'description':a120v(0x1a2)},async function(a,b){const w=a120v,{fsi:c,pkg:d,scaffold:f,projectConfig:g}=this;try{const h=b[w(0x1b3)]||![];await d['checkMeteorPackage']([w(0x1bf)],{'shouldInstall':!![]});const i=c['findProjectDirectory'](),j=c[w(0x1c3)](),k=g[w(0x18e)][w(0x185)]==='meteor';await a120g[w(0x189)]('kit:auth:provider',[],{'force':h,'cwd':i,'config':g}),await a120g[w(0x189)](w(0x1b0),[w(0x1a0)],{'force':h,'globalPublish':!![],'cwd':i,'config':g});const l=j+a120e['normalize'](w(0x18b)),m=k?w(0x19d):w(0x19b),n=f[w(0x18f)]({'pathParts':[m,'','','authentication-service']});await f[w(0x1a8)]({'srcPath':w(0x1b8),'destPath':n+w(0x1b9),'framework':w(0x186),'context':{},'config':g,'force':h,'ignore':![]});const o=f[w(0x18f)]({'pathParts':[m,'','','authentication-provider']}),p=g[w(0x18e)]['js'];await f[w(0x18a)]({'filePath':o+'.'+p,'importName':'AuthService','modulePath':k?'/imports/startup/lib/authentication-service':w(0x1a5),'isNamedExport':![]}),await f[w(0x193)]({'filePath':o+'.'+p,'content':w(0x1a7),'begin':'const\x20authenticateUser','replace':!![]}),await f[w(0x193)]({'filePath':o+'.'+p,'content':w(0x1b5),'begin':w(0x1b1),'replace':!![]}),await f[w(0x193)]({'filePath':o+'.'+p,'content':'\x0a\x20\x20\x20\x20\x20\x20const\x20authorizations\x20=\x20await\x20AuthService.getUserAuthorizations(user.id);\x0a\x20\x20\x20\x20\x20\x20return\x20authorizations;\x0a\x20\x20\x20\x20\x20\x20','begin':'const\x20getUserAuthorizations','replace':!![]}),await f[w(0x193)]({'filePath':o+'.'+p,'content':w(0x18d),'begin':'const\x20deauthenticateUser','replace':!![]}),await f[w(0x193)]({'filePath':o+'.'+p,'content':w(0x1a9),'begin':w(0x1bb),'replace':!![]}),await f[w(0x193)]({'filePath':o+'.'+p,'content':w(0x19a),'begin':w(0x1ab),'replace':!![]}),await f[w(0x193)]({'filePath':o+'.'+p,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','begin':w(0x187),'replace':!![]});k&&(await f[w(0x18a)]({'filePath':o+'.'+p,'importName':'useTracker','modulePath':w(0x1be),'isNamedExport':!![]}),await f[w(0x1a4)]({'filePath':o+'.'+p,'content':w(0x1bc),'begin':w(0x191),'end':w(0x1b6)}));await f[w(0x18a)]({'filePath':l,'importName':w(0x195),'modulePath':w(0x1c4),'isNamedExport':!![],'injectAtStart':!![]}),await f['injectIntoCodeBlock']({'filePath':l,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20If\x20logged\x20in,\x20return\x20documents\x20owned\x20by\x20this\x20user.\x20Otherwise\x20return\x20nothing.\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(this.userId)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20Meteor.roleAssignment.find({\x20\x27user._id\x27:\x20this.userId\x20});\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20[];\x0a\x20\x20\x20\x20\x20\x20','begin':w(0x1ba),'replace':!![]});const q=f[w(0x18f)]({'pathParts':['imports',w(0x188),w(0x1b7),w(0x190)]});await f[w(0x18a)]({'filePath':q+'.'+p,'importName':w(0x1af),'modulePath':w(0x192),'isNamedExport':!![]}),await f['injectIntoCodeBlock']({'filePath':q+'.'+p,'content':'\x0a\x20\x20\x20\x20\x20\x20WebAppInternals.setInlineScriptsAllowed(false);\x0a\x0a\x20\x20\x20\x20\x20\x20Accounts.urls.resetPassword\x20=\x20function\x20(token)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20Meteor.absoluteUrl(\x27reset-password/\x27\x20+\x20token);\x0a\x20\x20\x20\x20\x20\x20};\x0a\x20\x20\x20\x20\x20\x20','begin':w(0x1a6),'replace':!![]});}catch(r){Log[w(0x194)](r),process[w(0x19f)](0x1);}},async function(){},a120f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a121x=a121d;(function(a,b){const u=a121d,c=a();while(!![]){try{const d
|
|
1
|
+
function a121c(){const z=['toString','exit','95050zhvABz','AuthContext','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','search','injectImport','172160dUleqL','create','function\x20useAuth','apply','8jsnlbT','.js','1720968ntvefA','bright','163794AdOJXM','359204OZDAJp','<AuthProvider>','const\x20PrivateRoute','28pfhLsy','authentication-provider','41315UeYztX','scaffold','pathFromApp','/routes','useContext','injectIntoCodeBlock','/imports/startup/lib','constructor','template','/imports/startup/client/authentication-provider','<AppRoutes\x20/>','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x0a\x20\x20\x20\x20It\x20will\x20also\x20update\x20your\x20Routes\x20file\x20to\x20include\x20the\x20AuthProvider\x20and\x20Context.\x0a\x20\x20\x20\x20for\x20navigation\x20checking.\x0a\x20\x20','force','ssr','/imports/startup/client/index','split','</AuthProvider>','kit/auth/provider/authentication-provider.js','\x0a\x20\x20\x20\x20\x20\x20const\x20{\x20currentUser,\x20loading\x20}\x20=\x20useAuth();\x0a\x20\x20\x20\x20\x20\x20if\x20(loading)\x20return\x20<div>Loading...</div>;\x0a\x20\x20\x20\x20\x20\x20return\x20(currentUser)\x20?\x20<Outlet/>\x20:\x20<Navigate\x20to=\x22/login\x22\x20/>;\x0a\x20\x20\x20\x20\x20\x20','react','/imports/startup/lib/authentication-provider','AuthProvider','3878811Xhxqqy','(((.+)+)+)+$','REACT','3zFyfhC'];a121c=function(){return z;};return a121c();}const a121x=a121d;function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0x1c4;let f=c[d];return f;},a121d(a,b);}(function(a,b){const u=a121d,c=a();while(!![]){try{const d=-parseInt(u(0x1eb))/0x1+-parseInt(u(0x1ca))/0x2*(-parseInt(u(0x1e8))/0x3)+-parseInt(u(0x1c7))/0x4+parseInt(u(0x1cf))/0x5+-parseInt(u(0x1c9))/0x6*(-parseInt(u(0x1cd))/0x7)+parseInt(u(0x1c5))/0x8*(parseInt(u(0x1e5))/0x9)+parseInt(u(0x1f0))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0x35b3c));const a121b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a121d;if(c){const e=c[v(0x1c4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){const w=a121d;return a121a[w(0x1e9)]()[w(0x1ee)](w(0x1e6))[w(0x1e9)]()[w(0x1d6)](a121a)[w(0x1ee)]('(((.+)+)+)+$');});a121a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a121e from'./auth.generator.js';import{capitalCase}from'change-case';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a121x(0x1f1)]({'name':'provider','aliases':['p'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','shortDesc':a121x(0x1ed),'validOpts':[a121x(0x1db)],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'client':ClientEngines[a121x(0x1e7)]},'description':a121x(0x1da)},async function(a,b){const y=a121x;try{const c=b['force']||![];Log[y(0x1c8)]('Creating\x20an\x20AuthProvider\x20and\x20AuthContext');const {projectConfig:d}=this,f=d['engines'][y(0x1dc)]==='meteor',g={'name':capitalCase(d['appName'])},h=f?y(0x1d5):'/imports/startup/client',i=this[y(0x1d0)]['pathFromApp']({'pathParts':[h,'','',y(0x1ce)]});await this['scaffold'][y(0x1d7)]({'srcPath':y(0x1e0),'destPath':i+y(0x1c6),'framework':y(0x1e2),'context':g,'config':d,'force':c,'ignore':![]});const j=d['engines']['js'],k=h+y(0x1d2),l=k[y(0x1de)]('/'),m=this[y(0x1d0)][y(0x1d1)]({'pathParts':l});await this[y(0x1d0)]['injectImport']({'filePath':m+'.'+j,'importName':y(0x1ec),'modulePath':f?y(0x1e3):'/imports/startup/client/authentication-provider','isNamedExport':!![]}),await this[y(0x1d0)][y(0x1ef)]({'filePath':m+'.'+j,'importName':y(0x1d3),'modulePath':'react','isNamedExport':!![],'injectAtStart':!![]}),await this['scaffold']['injectIntoCodeBlock']({'filePath':m+'.'+j,'content':'\x0a\x20\x20\x20\x20\x20\x20const\x20{\x20currentUser,\x20loading\x20}\x20=\x20useContext(AuthContext);\x0a\x20\x20\x20\x20\x20\x20return\x20{\x20currentUser,\x20loading\x20};\x0a\x20\x20\x20\x20\x20\x20','begin':['const\x20useAuth',y(0x1f2)],'replace':!![]}),await this[y(0x1d0)][y(0x1d4)]({'filePath':m+'.'+j,'content':y(0x1e1),'begin':[y(0x1cc)],'replace':!![]});const n=y(0x1dd),o=n['split']('/'),p=this['scaffold'][y(0x1d1)]({'pathParts':o});await this['scaffold']['injectImport']({'filePath':p+'.'+j,'importName':'AuthProvider','modulePath':f?'/imports/startup/lib/authentication-provider':y(0x1d8),'isNamedExport':!![]}),await this[y(0x1d0)]['injectAroundString']({'filePath':p+'.'+j,'aboveContent':'<AuthProvider>','belowContent':y(0x1df),'targetString':y(0x1d9),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q='/imports/startup/server/index',r=q[y(0x1de)]('/'),s=this[y(0x1d0)][y(0x1d1)]({'pathParts':r});await this[y(0x1d0)][y(0x1ef)]({'filePath':s+'.'+j,'importName':y(0x1e4),'modulePath':f?y(0x1e3):'/imports/startup/client/authentication-provider','isNamedExport':!![]}),await this['scaffold']['injectAroundString']({'filePath':s+'.'+j,'aboveContent':y(0x1cb),'belowContent':y(0x1df),'targetString':'<AppRoutes\x20history={history}/>','indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log['error'](t),process[y(0x1ea)](0x1);}},async function(){},a121e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a122d,c=a();while(!![]){try{var d
|
|
1
|
+
(function(a,b){var f=a122d,c=a();while(!![]){try{var d=parseInt(f(0x121))/0x1*(-parseInt(f(0x11d))/0x2)+-parseInt(f(0x120))/0x3+-parseInt(f(0x128))/0x4+-parseInt(f(0x11a))/0x5*(-parseInt(f(0x124))/0x6)+parseInt(f(0x125))/0x7*(parseInt(f(0x11e))/0x8)+parseInt(f(0x11c))/0x9*(-parseInt(f(0x127))/0xa)+parseInt(f(0x11b))/0xb*(parseInt(f(0x119))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0x8f80b));var a122b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a122d;if(c){var e=c[g(0x126)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){var h=a122d;return a122a['toString']()[h(0x11f)](h(0x129))[h(0x123)]()[h(0x122)](a122a)['search'](h(0x129));});a122a();import'./esri.generator.js';function a122c(){var i=['516BeymsI','10RzJbRm','3487brOElq','9zZyhmr','171830SsJzNK','1974904VCYGPV','search','1175475cXQUhN','10OJWNtI','constructor','toString','2637282hdkBxj','28BqzSvX','apply','60090jccXZt','141624lkBWQv','(((.+)+)+)+$'];a122c=function(){return i;};return a122c();}function a122d(a,b){var c=a122c();return a122d=function(d,e){d=d-0x119;var f=c[d];return f;},a122d(a,b);}import'./map.esri.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a123c(){const j=['566996AVEUma','esri','419764avfYTO','\x0a\x20\x20\x20\x20This\x20generator\x20will\x20create\x20a\x20kit\x20for\x20Esri\x20Maps.\x20Starting\x20with\x20a\x20basic\x20map,\x0a\x20\x20\x20\x20but\x20with\x20the\x20ability\x20to\x20add\x20more\x20components\x20to\x20the\x20kit.\x0a\x20\x20','3359363kuisVK','185800aJuZBK','/foo/bar','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','70JkCnjv','toString','search','Esri\x20Kit\x20generated\x20successfully','maka\x20g:kit:e','Starting\x20point\x20for\x20generating\x20Esri\x20Maps','912BDFBmp','195867AENEhR','(((.+)+)+)+$','/foo','6920PkcVhv','8OmgAuo','283659zeBBBQ'];a123c=function(){return j;};return a123c();}const a123h=a123d;function a123d(a,b){const c=a123c();return a123d=function(d,e){d=d-0x75;let f=c[d];return f;},a123d(a,b);}(function(a,b){const f=a123d,c=a();while(!![]){try{const d=parseInt(f(0x82))/0x1+parseInt(f(0x7d))/0x2+parseInt(f(0x7c))/0x3+parseInt(f(0x7f))/0x4+-parseInt(f(0x7a))/0x5*(-parseInt(f(0x76))/0x6)+parseInt(f(0x81))/0x7*(-parseInt(f(0x7b))/0x8)+parseInt(f(0x77))/0x9*(-parseInt(f(0x85))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0x3c47e));const a123b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){const g=a123d;return a123a[g(0x86)]()[g(0x87)]('(((.+)+)+)+$')[g(0x86)]()['constructor'](a123a)[g(0x87)](g(0x78));});a123a();import{Generator}from'../../../generator.js';import a123e from'../kit.js';const EsriGen=Generator['create']({'name':a123h(0x7e),'aliases':['e'],'usage':a123h(0x84),'shortDesc':a123h(0x75),'resourceNameRequired':![],'validOpts':[''],'isPro':!![],'examples':[a123h(0x89)],'description':a123h(0x80)},async function(){const i=a123h;return{'success':!![],'message':i(0x88),'details':{'filesCreated':[i(0x83)],'filesUpdated':[i(0x79)]}};},async function(){},a123e);export default EsriGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a124v=a124d;(function(a,b){const s=a124d,c=a();while(!![]){try{const d=parseInt(s(0x7e))/0x1*(-parseInt(s(0x95))/0x2)+-parseInt(s(0x9a))/0x3+-parseInt(s(0x87))/0x4*(-parseInt(s(0x92))/0x5)+parseInt(s(0x7f))/0x6+parseInt(s(0x68))/0x7+-parseInt(s(0x93))/0x8*(parseInt(s(0x71))/0x9)+-parseInt(s(0x7b))/0xa*(parseInt(s(0x77))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0x6d1c5));const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){const t=a124d;if(c){const e=c[t(0x6b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const u=a124d;return a124a['toString']()['search']('(((.+)+)+)+$')['toString']()[u(0x6d)](a124a)[u(0x8a)](u(0x78));});a124a();import{Generator}from'../../../generator.js';function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0x68;let f=c[d];return f;},a124d(a,b);}import{Log}from'../../../tools/log/log.class.js';import a124e from'./esri.generator.js';import a124f from'../../../generators/maka.gen.js';import{kebabCase,capitalCase,pascalCase}from'change-case';import{ClientEngines,SsrEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a124v(0x6c)]({'name':a124v(0x69),'aliases':['m'],'usage':a124v(0x7d),'shortDesc':a124v(0x96),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'client':ClientEngines[a124v(0x89)],'ssr':SsrEngines[a124v(0x6e)]},'description':'\x0a\x20\x20\x20\x20This\x20generator\x20will\x20create\x20a\x20map\x20component\x20in\x20the\x20/imports/ui/hooks\x20directory.\x0a\x0a\x20\x20\x20\x20It\x27ll\x20also\x20create\x20a\x20page\x20component\x20in\x20the\x20/imports/ui/pages/map\x20directory.\x0a\x0a\x20\x20\x20\x20The\x20map\x20component\x20will\x20be\x20named\x20\x27BasicMap\x27\x20by\x20default.\x0a\x0a\x20\x20'},async function(a,b){const w=a124v;try{const {projectConfig:c,fsi:d,pkg:f,scaffold:g}=this;Log['bright'](w(0x83));const h=w(0x91);await f[w(0x7c)]([w(0x75),w(0x79)],{'shouldInstall':!![]});const i=d['findProjectDirectory'](),j=c[w(0x72)][w(0x74)]===w(0x8e),k=await a124f[w(0x7a)](w(0x82),[w(0x69)],{'cwd':i,'config':c}),l={'name':capitalCase(c[w(0x6f)])['replaceAll']('-','\x20'),'componentName':pascalCase(h)},m=b[w(0x76)]?w(0x85)+b[w(0x76)]:w(0x6a),n=g[w(0x98)]({'pathParts':[m,b[w(0x8c)],kebabCase(h),kebabCase(h)]});await g[w(0x81)]({'srcPath':w(0x8f)+h+w(0x8d),'destPath':n+w(0x8d),'framework':w(0x84),'context':l,'config':c,'force':![],'ignore':![]});const o=''+m+b[w(0x8c)]+'/'+h+'/'+h;await g[w(0x97)](h,c,o);const p=k[w(0x73)]('/'),q=g[w(0x98)]({'pathParts':p});await g[w(0x8b)]({'filePath':q,'importName':pascalCase(h),'modulePath':j?'/imports/startup/lib/templates':w(0x86),'isNamedExport':!![]}),await g[w(0x88)]({'filePath':q,'content':'\x0a<'+pascalCase(h)+w(0x90),'begin':[w(0x80),'<div\x20id=\x22map\x22>'],'end':[w(0x70)],'replace':!![]});}catch(r){Log[w(0x94)](r),process[w(0x99)](0x1);}},async function(){},a124e);function a124c(){const x=['exit','186525FQQOVo','2253930uiHUGF','map','/imports/ui/hooks','apply','create','constructor','NONE','appName','</div>','3771rhOgcr','engines','split','ssr','@esri/react-arcgis','baseDir','55EJbShB','(((.+)+)+)+$','esri-loader','processAndRunGenerator','495500IygyPe','checkNpmPackage','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','8zfpgmd','4996416JQWLFM','<div\x20id=\x22map\x22>','template','page','Generating\x20a\x20map\x20component','react','/imports/ui/','/imports/startup/client/templates','50332gEVJkE','injectIntoFile','REACT','search','injectImport','dir','.js','meteor','kit/esri/map/','\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','basic-map','185SswtIh','4648hLIdiF','error','155004JRCaTV','Generate\x20an\x20Esri\x20map\x20component','injectTemplateModule','pathFromApp'];a124c=function(){return x;};return a124c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a125i=a125d;(function(a,b){const f=a125d,c=a();while(!![]){try{const d=parseInt(f(0x14a))/0x1+parseInt(f(0x148))/0x2+parseInt(f(0x146))/0x3+-parseInt(f(0x149))/0x4+-parseInt(f(0x150))/0x5+-parseInt(f(0x151))/0x6+parseInt(f(0x156))/0x7;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0x55b4c));function a125c(){const j=['maka\x20g:kit','4108811hincHH','298506BYXxym','create','755644HYDSey','2441520RPrdMt','469914dAKhIT','constructor','maka\x20{generate,\x20g}:{kit}\x20<name>','maka\x20g:k','(((.+)+)+)+$','Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','2689965QbzbOt','208716cJaPXq','kit','search','apply'];a125c=function(){return j;};return a125c();}function a125d(a,b){const c=a125c();return a125d=function(d,e){d=d-0x146;let f=c[d];return f;},a125d(a,b);}const a125b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a125d;if(c){const e=c[g(0x154)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){const h=a125d;return a125a['toString']()[h(0x153)](h(0x14e))['toString']()[h(0x14b)](a125a)[h(0x153)](h(0x14e));});a125a();import{Generator}from'../../generator.js';const KitGen=Generator[a125i(0x147)]({'name':a125i(0x152),'aliases':['k'],'usage':a125i(0x14c),'shortDesc':a125i(0x14f),'minArgLength':0x1,'isPro':!![],'validOpts':[],'resourceNameRequired':![],'examples':[a125i(0x155),a125i(0x14d)]},async function(){});export default KitGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a126d,c=a();while(!![]){try{var d=-parseInt(f(
|
|
1
|
+
(function(a,b){var f=a126d,c=a();while(!![]){try{var d=-parseInt(f(0x8a))/0x1+parseInt(f(0x82))/0x2+parseInt(f(0x8f))/0x3*(-parseInt(f(0x83))/0x4)+parseInt(f(0x86))/0x5+parseInt(f(0x90))/0x6*(-parseInt(f(0x88))/0x7)+parseInt(f(0x89))/0x8*(parseInt(f(0x8b))/0x9)+parseInt(f(0x87))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0x64587));var a126b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a126d;if(c){var e=c[g(0x85)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){var h=a126d;return a126a[h(0x8e)]()[h(0x8c)](h(0x8d))[h(0x8e)]()[h(0x84)](a126a)[h(0x8c)](h(0x8d));});function a126d(a,b){var c=a126c();return a126d=function(d,e){d=d-0x82;var f=c[d];return f;},a126d(a,b);}a126a();import'./mui.generator.js';import'./frame.mui.gen.js';function a126c(){var i=['14tqbkxx','164872AHndHo','372599YfjCbd','306QRdDyz','search','(((.+)+)+)+$','toString','6wTVSUb','852570IYhRnO','11406FVFOCH','1548972Fbxdrb','constructor','apply','1009730LRdXGa','9339350sOuVNo'];a126c=function(){return i;};return a126c();}import'./auth.mui.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a127L=a127d;(function(a,b){const I=a127d,c=a();while(!![]){try{const d
|
|
1
|
+
const a127L=a127d;(function(a,b){const I=a127d,c=a();while(!![]){try{const d=-parseInt(I(0x1ce))/0x1*(-parseInt(I(0x1cc))/0x2)+-parseInt(I(0x1c7))/0x3+-parseInt(I(0x19f))/0x4+-parseInt(I(0x1c8))/0x5*(-parseInt(I(0x1af))/0x6)+-parseInt(I(0x1cb))/0x7*(parseInt(I(0x18d))/0x8)+parseInt(I(0x190))/0x9+parseInt(I(0x1b7))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0xb1d12));const a127b=(function(){let a=!![];return function(b,c){const d=a?function(){const J=a127d;if(c){const e=c[J(0x1a2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){const K=a127d;return a127a[K(0x1b8)]()['search'](K(0x1bb))[K(0x1b8)]()[K(0x1b2)](a127a)[K(0x19e)]('(((.+)+)+)+$');});a127a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';function a127d(a,b){const c=a127c();return a127d=function(d,e){d=d-0x18b;let f=c[d];return f;},a127d(a,b);}function a127c(){const O=['route','basic-password-reset-page','77VSskpw','102668TBlrzI','kit:auth:provider','10VSyXwj','register','/imports/ui/pages/auth','628512bJdvWF','kit/mui/auth/password-reset/','/imports/startup/client/authentication-provider','4832100BkRZXu','authType','react','.js','forgot-password','Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','appName','maka\x20generate:kit:mui:auth','reset-password/:token','exit','AuthContext','injectImport','custom','/imports/startup/lib/authentication-provider','search','4008728viMupi','Custom\x20(roll\x20your\x20own)','basic-logout-page','apply','What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','auth','MATERIAL','findProjectDirectory','dir','maka\x20g:k:m:a','basic-forgot-password-page','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{auth,\x20a}','kit/mui/auth/register/','injectTemplateModule','Meteor\x20Accounts','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20setup\x20with\x20login,\x20logout,\x20registration,\x20and\x20password\x20reset\x20pages.\x0a\x20\x20','369714ndDvxy','basic-login-page','meteor','constructor','kit:auth:meteor','kit/mui/auth/forgot-password/','log','/imports/ui/','2117520NJPOgv','toString','template','engines','(((.+)+)+)+$','baseDir','split','pathFromApp','error','kit/mui/auth/login/','processAndRunGenerator','login','select','basic-register-page','Cleaning\x20up...','kit/mui/auth/logout/','253515xEFjcI','115ccwbQQ'];a127c=function(){return O;};return a127c();}import a127e from'../../../generators/maka.gen.js';import a127f from'./mui.generator.js';import{kebabCase,capitalCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':a127L(0x1a4),'aliases':['a'],'usage':a127L(0x1aa),'shortDesc':a127L(0x195),'validOpts':['layouts','force'],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'theme':ThemeEngines[a127L(0x1a5)],'client':ClientEngines['REACT']},'examples':[a127L(0x197),a127L(0x1a8)],'description':a127L(0x1ae)},async function(a,b){const M=a127L;try{const {projectConfig:c,fsi:d,scaffold:f}=this,g=b['force']||![],h=d[M(0x1a6)](),i=await Actions[M(0x1c3)]({'name':M(0x191),'message':M(0x1a3),'choices':[{'name':M(0x1ad),'value':M(0x1b1)},{'name':M(0x1a0),'value':M(0x19c)}]}),j='basic-login-page',k=M(0x1a1),l=M(0x1c4),m=M(0x1ca),n='basic-forgot-password-page',o=b['baseDir']?M(0x1b6)+b[M(0x1bc)]:M(0x18c),p=f['pathFromApp']({'pathParts':[o,b[M(0x1a7)],kebabCase(j),kebabCase(j)]}),q=f['pathFromApp']({'pathParts':[o,b[M(0x1a7)],kebabCase(k),kebabCase(k)]}),r=f[M(0x1be)]({'pathParts':[o,b[M(0x1a7)],kebabCase(l),kebabCase(l)]}),s=f[M(0x1be)]({'pathParts':[o,b[M(0x1a7)],kebabCase(m),kebabCase(m)]}),t=f[M(0x1be)]({'pathParts':[o,b[M(0x1a7)],kebabCase(n),kebabCase(n)]}),u={'name':capitalCase(c[M(0x196)])};await f[M(0x1b9)]({'srcPath':M(0x1c0)+j+M(0x193),'destPath':p+M(0x193),'framework':M(0x192),'context':u,'config':c,'force':g,'ignore':![]}),await f[M(0x1b9)]({'srcPath':M(0x1c6)+k+M(0x193),'destPath':q+M(0x193),'framework':M(0x192),'context':u,'config':c,'force':g,'ignore':![]}),await f[M(0x1b9)]({'srcPath':M(0x1ab)+l+'.js','destPath':r+M(0x193),'framework':M(0x192),'context':u,'config':c,'force':g,'ignore':![]}),await f['template']({'srcPath':M(0x18e)+m+M(0x193),'destPath':s+M(0x193),'framework':M(0x192),'context':u,'config':c,'force':g,'ignore':![]}),await f[M(0x1b9)]({'srcPath':M(0x1b4)+n+M(0x193),'destPath':t+M(0x193),'framework':'react','context':u,'config':c,'force':g,'ignore':![]});const v=''+o+b[M(0x1a7)]+'/'+j+'/'+j;await f[M(0x1ac)](j,c,v);const w=''+o+b[M(0x1a7)]+'/'+k+'/'+k;await f[M(0x1ac)](k,c,w);const x=''+o+b[M(0x1a7)]+'/'+l+'/'+l;await f[M(0x1ac)](l,c,x);const y=''+o+b[M(0x1a7)]+'/'+m+'/'+m;await f['injectTemplateModule'](m,c,y);const z=''+o+b[M(0x1a7)]+'/'+n+'/'+n;await f[M(0x1ac)](n,c,z),await a127e['processAndRunGenerator'](M(0x1c9),[M(0x1b0)],{'route':M(0x1c2),'cwd':h,'config':c}),await a127e[M(0x1c1)](M(0x1c9),[M(0x1a1)],{'route':'logout','private':!![],'cwd':h,'config':c}),await a127e[M(0x1c1)]('route',['basic-register-page'],{'route':M(0x18b),'cwd':h,'config':c}),await a127e[M(0x1c1)](M(0x1c9),['basic-password-reset-page'],{'route':M(0x198),'cwd':h,'config':c}),await a127e['processAndRunGenerator'](M(0x1c9),[M(0x1a9)],{'route':M(0x194),'cwd':h,'config':c});i===M(0x1b1)&&await a127e[M(0x1c1)](M(0x1b3),[],{'force':g,'cwd':h,'config':c});i===M(0x19c)&&await a127e[M(0x1c1)](M(0x1cd),[],{'force':g,'cwd':h,'config':c});const A=c[M(0x1ba)]['ssr']==='meteor',B=c[M(0x1ba)]['js'],C=f[M(0x1be)]({'pathParts':v[M(0x1bd)]('/')});await f['injectImport']({'filePath':C+'.'+B,'importName':M(0x19a),'modulePath':A?M(0x19d):'/imports/startup/client/authentication-provider','isNamedExport':!![]});const D=f[M(0x1be)]({'pathParts':w[M(0x1bd)]('/')});await f[M(0x19b)]({'filePath':D+'.'+B,'importName':M(0x19a),'modulePath':A?'/imports/startup/lib/authentication-provider':M(0x18f),'isNamedExport':!![]});const E=f[M(0x1be)]({'pathParts':x[M(0x1bd)]('/')});await f[M(0x19b)]({'filePath':E+'.'+B,'importName':M(0x19a),'modulePath':A?'/imports/startup/lib/authentication-provider':M(0x18f),'isNamedExport':!![]});const F=f[M(0x1be)]({'pathParts':y[M(0x1bd)]('/')});await f['injectImport']({'filePath':F+'.'+B,'importName':M(0x19a),'modulePath':A?M(0x19d):M(0x18f),'isNamedExport':!![]});const G=f[M(0x1be)]({'pathParts':z[M(0x1bd)]('/')});await f[M(0x19b)]({'filePath':G+'.'+B,'importName':M(0x19a),'modulePath':A?M(0x19d):M(0x18f),'isNamedExport':!![]});}catch(H){Log[M(0x1bf)](H),process[M(0x199)](0x1);}},async function(){const N=a127L;console[N(0x1b5)](N(0x1c5));},a127f);export default a127f;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a128H=a128d;(function(a,b){const E=a128d,c=a();while(!![]){try{const d=-parseInt(E(
|
|
1
|
+
function a128c(){const K=['.js','/imports/ui/','frame','checkbox','dir','baseDir','105580qvDbZR','error','@mui/material/Box','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20frame\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','<Outlet/>','getDirectories','tsx','24HLLsVV','/imports/ui/components','maka\x20g:k:m:f','Container','/imports/startup/lib/templates','pathFromApp','623374qRwVKn','force','@mui/material/Container','imports','10mIVvgu','injectImport','<Outlet\x20/>','join','apply','Cleaning\x20up...','3WeCKRT','toString','tests','search','995180GBpwRP','</div>','\x20/>\x0a','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','<div\x20id=\x22','1623384VsyIZV','meteor','kit/mui/frame/drawers/','/imports/startup/client/templates','test','length','<Box\x20style={{\x20display:\x20\x27flex\x27,\x20flexDirection:\x20\x27column\x27,\x20minHeight:\x20\x27calc(100vh\x20-\x20157px)\x27\x20}}>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<Container\x20component=\x22main\x22>','basic-drawer','log','map','REACT','maka:react-tracker','injectIntoFile','2805784nRnLKW','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f}','basic-app-bar','-hook\x22>','app-tests','injectTemplateModule','getFiles','findAppDirectory','injectAroundString','template','(((.+)+)+)+$','3094281mxWOSh','appName','No\x20layouts\x20selected','layouts','kit/mui/frame/app-bars/','react','260039JkqTTT'];a128c=function(){return K;};return a128c();}const a128H=a128d;(function(a,b){const E=a128d,c=a();while(!![]){try{const d=-parseInt(E(0x1ee))/0x1+parseInt(E(0x1bc))/0x2*(-parseInt(E(0x1c6))/0x3)+-parseInt(E(0x1ca))/0x4+parseInt(E(0x1f5))/0x5*(parseInt(E(0x1fc))/0x6)+parseInt(E(0x1d0))/0x7+parseInt(E(0x1dd))/0x8+parseInt(E(0x1e8))/0x9*(parseInt(E(0x1c0))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0x2e7b3));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){const F=a128d;if(c){const e=c[F(0x1c4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const G=a128d;return a128a[G(0x1c7)]()[G(0x1c9)]('(((.+)+)+)+$')[G(0x1c7)]()['constructor'](a128a)[G(0x1c9)](G(0x1e7));});a128a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0x1b9;let f=c[d];return f;},a128d(a,b);}import{Actions}from'../../../tools/actions/actions.class.js';import a128e from'path';import a128f from'./mui.generator.js';import{kebabCase,pascalCase,capitalCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':a128H(0x1f1),'aliases':['f'],'usage':a128H(0x1de),'shortDesc':'Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','validOpts':[a128H(0x1eb),a128H(0x1f4),a128H(0x1f3),a128H(0x1bd)],'isPro':![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'theme':ThemeEngines['MATERIAL'],'client':ClientEngines[a128H(0x1da)]},'examples':['maka\x20generate:kit:mui:frame',a128H(0x1fe)],'description':a128H(0x1f8)},async function(a,b){const I=a128H,{projectConfig:c,fsi:d,pkg:f,scaffold:g}=this;try{const h=b[I(0x1bd)]||![],i=I(0x1df),j=I(0x1d7),k='basic-sticky-footer',l=c['engines']['ssr']===I(0x1d1);await f['checkMeteorPackage'](['session',I(0x1db)],{'shouldInstall':!![]});const m=d[I(0x1e4)](),n=a128e[I(0x1c3)](m,I(0x1bf),'ui',I(0x1eb)),o=d[I(0x1fa)](n),p=o[I(0x1d9)](z=>({'name':z,'value':z})),q=await Actions[I(0x1f2)]({'message':I(0x1cd),'name':I(0x1eb),'choices':p});if(q[I(0x1d5)]===0x0){Log['error'](I(0x1ea));return;}const r=b[I(0x1f4)]?I(0x1f0)+b[I(0x1f4)]:I(0x1fd),s=g['pathFromApp']({'pathParts':[r,b[I(0x1f3)],kebabCase(i),kebabCase(i)]}),t=g[I(0x1bb)]({'pathParts':[r,b['dir'],kebabCase(j),kebabCase(j)]}),u=g[I(0x1bb)]({'pathParts':[r,b['dir'],kebabCase(k),kebabCase(k)]}),v={'name':capitalCase(c[I(0x1e9)])};await g[I(0x1e6)]({'srcPath':I(0x1ec)+i+I(0x1ef),'destPath':s+I(0x1ef),'framework':'react','context':v,'config':c,'force':h,'ignore':![]}),await g['template']({'srcPath':I(0x1d2)+j+'.js','destPath':t+I(0x1ef),'framework':I(0x1ed),'context':v,'config':c,'force':h,'ignore':![]}),await g['template']({'srcPath':'kit/mui/frame/footers/'+k+I(0x1ef),'destPath':u+I(0x1ef),'framework':I(0x1ed),'context':v,'config':c,'force':h,'ignore':![]});const w=''+r+b[I(0x1f3)]+'/'+i+'/'+i;await g[I(0x1e2)](i,c,w);const x=''+r+b['dir']+'/'+j+'/'+j;await g[I(0x1e2)](j,c,x);const y=''+r+b[I(0x1f3)]+'/'+k+'/'+k;await g[I(0x1e2)](k,c,y);for(const z of q){const A=d[I(0x1e3)](a128e[I(0x1c3)](n,z),{'extensions':['jsx',I(0x1fb)],'omit':[I(0x1e1),I(0x1c8),I(0x1d4)]});for(const B of A){const C=a128e['join'](n,z,B);await g['injectImport']({'filePath':C,'importName':'Box','modulePath':I(0x1f7),'isNamedExport':![]}),await g[I(0x1c1)]({'filePath':C,'importName':I(0x1b9),'modulePath':I(0x1be),'isNamedExport':![]}),await g[I(0x1c1)]({'filePath':C,'importName':pascalCase(i),'modulePath':l?'/imports/startup/lib/templates':I(0x1d3),'isNamedExport':!![]}),await g[I(0x1dc)]({'filePath':C,'content':'<'+pascalCase(i)+'\x20/>\x0a','begin':[I(0x1cf)+z+'\x22>',I(0x1cf)+z+I(0x1e0)],'end':[I(0x1f9),I(0x1c2)]}),await g['injectImport']({'filePath':C,'importName':pascalCase(j),'modulePath':l?I(0x1ba):I(0x1d3),'isNamedExport':!![]}),await g[I(0x1dc)]({'filePath':C,'content':'<'+pascalCase(j)+I(0x1cc),'begin':[I(0x1cf)+z+'\x22>',I(0x1cf)+z+I(0x1e0)],'end':[I(0x1f9),I(0x1c2)]}),await g[I(0x1dc)]({'filePath':C,'content':'<'+pascalCase(k)+I(0x1cc),'begin':[I(0x1f9),'<Outlet\x20/>'],'end':[I(0x1cb)]}),await g['injectImport']({'filePath':C,'importName':pascalCase(k),'modulePath':l?I(0x1ba):I(0x1d3),'isNamedExport':!![]}),await g[I(0x1e5)]({'filePath':C,'aboveContent':I(0x1d6),'belowContent':I(0x1ce),'targetString':['<Outlet/>',I(0x1c2)],'targetIndentAdjustment':0x6});}}}catch(D){Log[I(0x1f6)](D);}},async function(){const J=a128H;console[J(0x1d8)](J(0x1c5));},a128f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a129d(a,b){const c=a129c();return a129d=function(d,e){d=d-0xbd;let f=c[d];return f;},a129d(a,b);}const a129i=a129d;(function(a,b){const g=a129d,c=a();while(!![]){try{const d=parseInt(g(0xc7))/0x1*(parseInt(g(0xdd))/0x2)+-parseInt(g(0xbd))/0x3*(parseInt(g(0xc5))/0x4)+parseInt(g(0xca))/0x5*(-parseInt(g(0xd2))/0x6)+-parseInt(g(0xd7))/0x7+parseInt(g(0xd5))/0x8+-parseInt(g(0xcc))/0x9+parseInt(g(0xce))/0xa*(parseInt(g(0xc3))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0x22001));const a129b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){const h=a129d;return a129a[h(0xd3)]()['search'](h(0xcd))[h(0xd3)]()['constructor'](a129a)[h(0xd0)]('(((.+)+)+)+$');});a129a();import{Generator}from'../../../generator.js';import{Actions}from'../../../tools/actions/actions.class.js';import{Log}from'../../../tools/log/log.class.js';import a129e from'../../../generators/maka.gen.js';import a129f from'../kit.js';function a129c(){const k=['16288IHXdti','Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','293IdBWSX','Header,\x20Footer,\x20and\x20Drawer','frame','10SXMEXh','exit','228861vxioQm','(((.+)+)+)+$','324590TnERrp','cfg','search','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','715620hXgSZk','toString','info','856344YaQnTc','length','1942759KNWtVD','Material-UI\x20Kit','processAndRunGenerator','checkbox','kit:mui:frame','maka\x20g:kit:m','1676NIAytV','93pGzUcz','notice','create','\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&####%&@@@@@@@@@@@@@@@@@@@&&%###&@@@@@@&%###%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#(((((##%&&@@@@@@@@@&&%%#(((((#&@@@@@&#((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((((((((#%&&@&&%##(((((((((#&@@@@&&#((##%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((((((((((((#((((((((((((((#&@@@@@&%&&@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#%%%%##((((((((#%%&%#((((#&@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@&&%###%%&@@@@&#((((#&@@@@@@@@&&&&@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@@@@@@@@@@@@@@&#((((#&@@@@@&%#(((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@@@@@@@@@@@@&%##((((#&@@@@&%#((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&%#(((#&&@@@@@@@@@&&%##(((((((#%&@@@@&%(((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@&%#%&@@@@@@@@&#((((((((##%&@@@@@@@&%(((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@&&#((((((%&@@@@@@@@@&%#((((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@&&#((((((#%%&@@&&%##((((((((#%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@&%%#((((((((##((((((((##%&@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&%##(((((((((##%&@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&&%##(#%&&@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a\x0a\x20\x20This\x20generator\x20will\x20help\x20you\x20add\x20MUI\x20to\x20your\x20project.\x0a\x20\x20Choose\x20from\x20a\x20selection\x20of\x20premade\x20MUI\x20components.\x0a\x20\x20','mui','includes','154nIBKyc','auth'];a129c=function(){return k;};return a129c();}const MuiGen=Generator[a129i(0xbf)]({'name':a129i(0xc1),'aliases':['m'],'usage':a129i(0xd1),'resourceNameRequired':![],'shortDesc':a129i(0xd8),'validOpts':[''],'isPro':!![],'examples':[a129i(0xdc)]},async function(){const j=a129i;try{Log[j(0xd4)]('Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!'),Log[j(0xbe)](j(0xc0));const a=await Actions[j(0xda)]({'message':j(0xc6),'name':'kitChoices','choices':[{'name':j(0xc8),'value':j(0xc9)},{'name':'Auth\x20workflow\x20(login,\x20logout,\x20etc.)','value':j(0xc4)}]}),b=this['fsi']['findProjectDirectory'](),c=this[j(0xcf)]['getMakaProjectConfig']();a[j(0xc2)](j(0xc9))&&await a129e[j(0xd9)](j(0xdb),[],{'force':!![],'cwd':b,'config':c});a[j(0xc2)](j(0xc4))&&await a129e['processAndRunGenerator']('kit:mui:auth',[],{'force':!![],'cwd':b,'config':c});if(a[j(0xd6)]===0x0){Log[j(0xd4)]('No\x20MUI\x20kits\x20selected.\x20Exiting.');return;}}catch(d){Log['error'](d),process[j(0xcb)](0x1);}},async function(){},a129f);export default MuiGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a130s=a130d;(function(a,b){const p=a130d,c=a();while(!![]){try{const d=-parseInt(p(
|
|
1
|
+
function a130c(){const u=['dir','pathFromApp','test/test.js','.js','6540368numDno','toString','features','maka\x20g:layout\x20mobile/iPhone8','relative','32791300bOBWTN','/imports/ui/layouts','className','injectTemplateModule','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','layout','ssr','includes','warn','graphql','create','api','none','test','withHook','react','maka\x20g:l\x20web/safari','withHooks','client','template/template.css','installNpmPackage','string','assign','findProjectDirectory','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','fileName','resourceName','checkNpmPackage','css','apply','ramda','hook/hook.js','37266KWRudO','component/component.js','7149155PWqcyd','6GiMsCm','setTemplate','84021JIAoIR','9JMEjNy','.app-tests.js','808490KymuEy','template','(((.+)+)+)+$','5108124BqFhdj','constructor','636MoBNud','withTranslations','split','Scaffolding\x20for\x20a\x20React\x20Layout.','engines'];a130c=function(){return u;};return a130c();}const a130s=a130d;(function(a,b){const p=a130d,c=a();while(!![]){try{const d=-parseInt(p(0x107))/0x1+-parseInt(p(0xd4))/0x2*(-parseInt(p(0xcf))/0x3)+-parseInt(p(0xd7))/0x4+-parseInt(p(0xce))/0x5+-parseInt(p(0xd9))/0x6*(parseInt(p(0xd1))/0x7)+-parseInt(p(0xe2))/0x8*(-parseInt(p(0xd2))/0x9)+parseInt(p(0xe7))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0xd8f90));const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a130d;if(c){const e=c[q(0x104)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const r=a130d;return a130a[r(0xe3)]()['search'](r(0xd6))[r(0xe3)]()[r(0xd8)](a130a)['search'](r(0xd6));});a130a();import a130e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,kebabCase,pascalCase}from'change-case';function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0xcd;let f=c[d];return f;},a130d(a,b);}const aliases=['l'];Generator[a130s(0xf1)]({'name':a130s(0xec),'aliases':aliases,'usage':'maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','shortDesc':a130s(0xdc),'validOpts':[a130s(0xf5)],'mustBeInMakaProject':!![],'examples':[a130s(0xe5),a130s(0xf7)]},async function(a,b){const t=a130s,{projectConfig:c,fsi:d,cfg:e,pkg:f,scaffold:g}=this,h=t(0xe8),i=d['findAppDirectory'](),j=g[t(0xdf)]({'pathParts':[h,b[t(0xde)],kebabCase(b[t(0x101)]),kebabCase(b[t(0x101)])]});typeof c[t(0xd5)][t(0xf4)]===t(0xfc)&&e[t(0xd0)](t(0xf4),c['template'][t(0xf4)]);typeof c[t(0xd5)][t(0x103)]===t(0xfc)&&e[t(0xd0)](t(0x103),c[t(0xd5)][t(0x103)]);typeof c[t(0xd5)]['js']===t(0xfc)&&e[t(0xd0)]('js',c[t(0xd5)]['js']);const k=b['_']?b['_'][0x0][t(0xdb)](':')[0x1]:![],l=b['_']&&aliases[t(0xee)](k);l&&!f['checkNpmPackage'](t(0x105))&&(Log[t(0xef)](t(0xeb)),f[t(0xfb)](t(0x105),{'cwd':i}));if(l&&!f[t(0x102)](t(0xf6))){Log[t(0xef)](t(0xff));return;}const m={'name':pascalCase(b[t(0x101)]),'myPath':a130e[t(0xe6)](d[t(0xfe)](),j),'cssCaseName':kebabCase(b['resourceName']),'className':pascalCase(b[t(0x101)]),'camelCaseName':camelCase(b[t(0x101)]),'fileName':kebabCase(b[t(0x101)]),'graphql':c[t(0xdd)][t(0xf0)],'features':c[t(0xe4)],'client':c['engines'][t(0xf9)],'api':c[t(0xdd)][t(0xf2)],'ssr':c[t(0xdd)][t(0xed)],'test':c[t(0xdd)][t(0xf4)],'theme':c['engines']['theme'],'isComponent':![],'isLayout':!![],'withTranslations':c[t(0xe4)][t(0xda)]};c[t(0xe4)]?.[t(0xf8)]||b[t(0xf5)]?await g[t(0xd5)]({'srcPath':t(0x106),'destPath':j+'.js','framework':t(0xf6),'context':m,'config':c}):await g[t(0xd5)]({'srcPath':t(0xcd),'destPath':j+t(0xe1),'framework':t(0xf6),'context':m,'config':c});c['engines']['test']!==t(0xf3)&&await g[t(0xd5)]({'srcPath':t(0xe0),'destPath':j+t(0xd3),'framework':'react','context':m,'config':c});c['template'][t(0x103)]&&(await g['template']({'srcPath':t(0xfa),'destPath':j+'.css','context':Object[t(0xfd)]({},m,{'className':kebabCase(b[t(0x101)])}),'config':c}),await g['injectAtBeginningOfFile']({'filePath':j+'.'+c['engines']['js'],'content':'import\x20\x27./'+m[t(0x100)]+'.'+c[t(0xdd)][t(0x103)]+'\x27;'}));const n=b[t(0xde)]?'/'+b[t(0xde)]+'/':'/',o=''+h+n+m[t(0x100)]+'/'+m[t(0x100)];await g[t(0xea)](m[t(0xe9)],c,o);});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a131i=a131d;(function(a,b){const f=a131d,c=a();while(!![]){try{const d=parseInt(f(0x150))/0x1+parseInt(f(0x14d))/0x2*(-parseInt(f(0x156))/0x3)+parseInt(f(0x14e))/0x4*(parseInt(f(0x15e))/0x5)+-parseInt(f(0x158))/0x6+parseInt(f(0x14f))/0x7*(-parseInt(f(0x14c))/0x8)+-parseInt(f(0x152))/0x9*(-parseInt(f(0x159))/0xa)+parseInt(f(0x149))/0xb*(parseInt(f(0x14a))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0xde476));const a131b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a131d;if(c){const e=c[g(0x15b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a131a=a131b(this,function(){const h=a131d;return a131a['toString']()[h(0x14b)](h(0x155))['toString']()['constructor'](a131a)[h(0x14b)](h(0x155));});a131a();import{Generator}from'../generator.js';const MakaGen=new Generator({'name':a131i(0x15f),'aliases':['g'],'usage':a131i(0x160),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'resourceNameRequired':![],'shortDesc':a131i(0x153),'examples':[a131i(0x15c),a131i(0x15d),a131i(0x154),a131i(0x157),a131i(0x15a),a131i(0x151),'maka\x20g:dbc\x20geoserver\x20--type=pgsql']},async function(){});function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0x149;let f=c[d];return f;},a131d(a,b);}export default MakaGen;function a131c(){const j=['generate','maka\x20{generate,\x20g}:<generator>\x20<name>','13557863SyIpZT','12iPKuJQ','search','456gCdxPA','12KtyFWX','64hOjlMV','150521ErePnM','32334yUhxDB','maka\x20g:api\x20trucks','45WSZkxU','Scaffold\x20various\x20parts\x20of\x20your\x20application','maka\x20g:template\x20todos/todo_item','(((.+)+)+)+$','215949YnEPBZ','maka\x20g:package\x20package:name','1600122TSwvVq','2701830ivgPmv','maka\x20g:route\x20todos/edit','apply','maka\x20generate:scaffold\x20todos','maka\x20g:scaffold\x20todos','68415YOlKqp'];a131c=function(){return j;};return a131c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a132d(a,b){const c=a132c();return a132d=function(d,e){d=d-
|
|
1
|
+
function a132c(){const p=['apply','11187XTBAtL','resourceName','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','43432884XlwmSN','maka\x20{generate,\x20g}:{method,\x20m}\x20name','projectConfig','(((.+)+)+)+$','checkMeteorPackage','index.','template','3992045ReNpUa','12603304jaYNUH','5582946MoTCSf','12526878YszUIt','-rpc-method\x27;','maka:check','ddp-rate-limiter','import\x20\x27./methods','scaffold','pathFromApp','appPathPrefix','create','startup','61pYWsTk','engines','tsx','1388dNtVUX','35458ZBAYWK','constructor','method','imports','method/method.js'];a132c=function(){return p;};return a132c();}const a132n=a132d;function a132d(a,b){const c=a132c();return a132d=function(d,e){d=d-0x1c7;let f=c[d];return f;},a132d(a,b);}(function(a,b){const k=a132d,c=a();while(!![]){try{const d=-parseInt(k(0x1d0))/0x1*(parseInt(k(0x1d4))/0x2)+-parseInt(k(0x1da))/0x3*(parseInt(k(0x1d3))/0x4)+-parseInt(k(0x1e4))/0x5+-parseInt(k(0x1e6))/0x6+parseInt(k(0x1e7))/0x7+-parseInt(k(0x1e5))/0x8+parseInt(k(0x1dd))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a132c,0xe4705));const a132b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a132d;if(c){const e=c[l(0x1d9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a132a=a132b(this,function(){const m=a132d;return a132a['toString']()['search'](m(0x1e0))['toString']()[m(0x1d5)](a132a)['search']('(((.+)+)+)+$');});a132a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,kebabCase,pascalCase}from'change-case';Generator[a132n(0x1ce)]({'name':a132n(0x1d6),'aliases':['m'],'usage':a132n(0x1de),'mustBeInMakaProject':!![],'checkWhere':!![],'shortDesc':a132n(0x1dc),'validOpts':['dir'],'examples':['maka\x20g:method\x20todos']},async function(a,b){const o=a132n;try{const c=this[o(0x1df)],d=b['dir']?'/'+b['dir']+'/':'/',f=kebabCase(b[o(0x1db)]),g={'name':b[o(0x1db)],'fileName':f,'className':pascalCase(b[o(0x1db)]),'camelCase':camelCase(b['resourceName']),'noRename':!![]};let h='js';c['engines']['js']===o(0x1d2)&&(h='ts');await this['pkg'][o(0x1e1)]([o(0x1c8),o(0x1c9),'mdg:validated-method'],{'shouldInstall':!![]}),await this[o(0x1cb)][o(0x1e3)]({'srcPath':o(0x1d8),'destPath':this[o(0x1cb)][o(0x1cc)]({'pathParts':[o(0x1d7),'startup',b[o(0x1cd)],'methods',d,f+'-rpc-method.'+h]}),'context':g,'config':c});const i=this[o(0x1cb)][o(0x1cc)]({'pathParts':[o(0x1d7),o(0x1cf),b[o(0x1cd)],o(0x1e2)+c[o(0x1d1)]['js']]});await this['scaffold']['injectAtEndOfFile']({'filePath':i,'content':o(0x1ca)+d+f+o(0x1c7)});}catch(j){Log['error'](j);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a133p=a133d;(function(a,b){const m=a133d,c=a();while(!![]){try{const d
|
|
1
|
+
function a133c(){const r=['package.js','501839qEUmMl','relative','203690JxIFhd','noRename','findProjectDirectory','2421TxTVdP','engines','theme','template','apply','.js','6KtuCco','tests/server','/client/','5262uYUJRz','features','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','resourceName','294248xAAtrv','(((.+)+)+)+$','hasOwnProperty','scaffold','template/template.js','1375410lOCXHs','dir','toString','store','search','layout','constructor','component','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','client','2887536UhQGpp','package','lib','/package.js','27190NUcpmM','fsi','1120bAoMBj','tests/client','package/package.js','ssr','graphql','projectConfig'];a133c=function(){return r;};return a133c();}const a133p=a133d;function a133d(a,b){const c=a133c();return a133d=function(d,e){d=d-0x8e;let f=c[d];return f;},a133d(a,b);}(function(a,b){const m=a133d,c=a();while(!![]){try{const d=-parseInt(m(0x93))/0x1+parseInt(m(0xaa))/0x2+-parseInt(m(0x9e))/0x3*(parseInt(m(0xa5))/0x4)+-parseInt(m(0x95))/0x5+-parseInt(m(0xa1))/0x6*(-parseInt(m(0xba))/0x7)+-parseInt(m(0xb4))/0x8+parseInt(m(0x98))/0x9*(parseInt(m(0xb8))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a133c,0x7c379));const a133b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a133d;if(c){const e=c[n(0x9c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a133a=a133b(this,function(){const o=a133d;return a133a['toString']()[o(0xae)](o(0xa6))[o(0xac)]()[o(0xb0)](a133a)[o(0xae)]('(((.+)+)+)+$');});a133a();import a133e from'path';import{Generator}from'../generator.js';import{camelCase,kebabCase,pascalCase}from'change-case';Generator['create']({'name':a133p(0xb5),'aliases':['p'],'usage':a133p(0xa3),'mustBeInMakaProject':!![],'shortDesc':a133p(0xb2),'validOpts':[a133p(0xab)],'examples':['maka\x20g:package\x20todos:package']},async function(a,b){const q=a133p,c=kebabCase(b['resourceName']),d=b['dir']?'/'+b['dir']+'/':'/',e=this[q(0xa8)]['pathFromApp']({'pathParts':['packages',d,c]}),f=this[q(0xa8)]['pathFromAppWithNoReWrite']({'pathParts':['packages',d,c,q(0x92)]}),g=this[q(0x91)],h={'name':kebabCase(b[q(0xa4)]),'myPath':a133e[q(0x94)](this[q(0xb9)][q(0x97)](),e),'cssCaseName':kebabCase(b[q(0xa4)]),'className':pascalCase(b['resourceName']),'camelCaseName':camelCase(b[q(0xa4)]),'fileName':c,'client':g[q(0x99)][q(0xb3)],'graphql':g[q(0x99)][q(0x90)],'ssr':g['engines'][q(0x8f)],'isComponent':b[q(0xa7)](q(0xb1)),'isLayout':b[q(0xa7)](q(0xaf)),'isStore':b[q(0xa7)](q(0xad)),'features':g[q(0xa2)],'noRename':!![],'theme':g[q(0x99)][q(0x9a)]};await this['scaffold'][q(0x9b)]({'srcPath':q(0x8e),'destPath':f,'context':h,'config':g}),h[q(0x96)]=![];const i=e+q(0xa0)+c+q(0x9d);await this[q(0xa8)][q(0x9b)]({'srcPath':q(0xa9),'destPath':i,'context':h,'config':g});const j=[q(0xb6),'server',q(0xbb),q(0x9f)];for(const k of j){const l=e+'/'+k+'/'+c+q(0x9d);await this[q(0xa8)][q(0x9b)]({'srcPath':'package/'+k+q(0xb7),'destPath':l,'context':h,'config':g});}});
|