@maka/maka-cli 5.0.35 → 5.0.39
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 +3 -3
- 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/_index.js +1 -0
- package/bundle/obf/src/commands/test/jest.sub.cmd.js +1 -0
- package/bundle/obf/src/commands/test/mocha.sub.cmd.js +1 -0
- package/bundle/obf/src/commands/test/test.command.js +1 -0
- 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/templates/meteor/project/gitignore +2 -1
- package/bundle/obf/src/templates/react/test/test.js.jsx +32 -35
- package/bundle/obf/src/templates/react/test/test.js.tsx +32 -35
- package/bundle/obf/src/templates/service/eslint/babel.config.js +15 -0
- package/bundle/obf/src/templates/service/test/jest/jest.config.js +6 -0
- package/bundle/obf/src/templates/service/test/jest/jest.setup.js +7 -0
- 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 +3 -3
- package/bundle/obf/src/commands/test.js +0 -1
- package/bundle/obf/src/templates/meteor/app/client/main.app-tests.js +0 -9
- package/bundle/obf/src/templates/meteor/app/client/main.app-tests.js.jsx +0 -9
- package/bundle/obf/src/templates/meteor/app/client/main.app-tests.js.ts +0 -9
- package/bundle/obf/src/templates/meteor/app/client/main.app-tests.js.tsx +0 -9
- package/bundle/obf/src/templates/meteor/app/server/main.app-tests.js +0 -9
- package/bundle/obf/src/templates/meteor/app/server/main.app-tests.js.jsx +0 -9
- package/bundle/obf/src/templates/meteor/app/server/main.app-tests.js.ts +0 -9
- package/bundle/obf/src/templates/meteor/app/server/main.app-tests.js.tsx +0 -9
- package/bundle/obf/src/templates/service/eslint/babelrc +0 -18
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a119n=a119d;function a119c(){const p=['cssCaseName','maka\x20g:hook\x20cool-hook','376Uvegyi','string','cfg','injectAtBeginningOfFile','import\x20\x27./','test/test.js','\x20hook...','3420cILyJn','.js','Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','Creating\x20','constructor','template/template.css','projectConfig','fsi','\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','components','toString','pkg','error','notice','2047288MAoydh','pages','dir','className','(((.+)+)+)+$','test','baseDir','setTemplate','pathFromApp','/imports/ui/components','resourceName','react','findProjectDirectory','features','/imports/ui/','graphql','withTranslations','1068050VMTYmB','layouts','search','scaffold','.css','maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','checkNpmPackage','fileName','engines','431WDNVbK','relative','force','hooks','1226718DGTVxW','.app-tests.js','theme','assign','818130fhrTjS','template','css','873WFVSlJ','220269VupJps','findAppDirectory'];a119c=function(){return p;};return a119c();}(function(a,b){const l=a119d,c=a();while(!![]){try{const d=-parseInt(l(0x1d0))/0x1*(-parseInt(l(0x1e0))/0x2)+parseInt(l(0x1db))/0x3*(parseInt(l(0x1e7))/0x4)+-parseInt(l(0x1c7))/0x5+parseInt(l(0x1d8))/0x6+parseInt(l(0x1dc))/0x7+-parseInt(l(0x1f5))/0x8+parseInt(l(0x1d4))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0x28254));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 m=a119d;return a119a[m(0x1f1)]()[m(0x1c9)](m(0x1ba))[m(0x1f1)]()[m(0x1eb)](a119a)['search'](m(0x1ba));});a119a();import a119e from'path';import{kebabCase,pascalCase,camelCase}from'change-case';function a119d(a,b){const c=a119c();return a119d=function(d,e){d=d-0x1b8;let f=c[d];return f;},a119d(a,b);}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator['create']({'name':'hook','aliases':['h'],'checkWhere':![],'usage':a119n(0x1cc),'shortDesc':a119n(0x1e9),'mustBeInMakaProject':!![],'validOpts':[{'name':'baseDir','values':[a119n(0x1d3),a119n(0x1f0),a119n(0x1f6),a119n(0x1c8)]},{'name':a119n(0x1d2),'boolFlag':!![]}],'examples':[a119n(0x1df)],'description':a119n(0x1ef)},async function(a,b){const o=a119n;Log[o(0x1f4)](o(0x1ea)+b[o(0x1c0)]+o(0x1e6));try{await this['pkg'][o(0x1cd)](o(0x1c1),{'shouldInstall':!![]});const c=this[o(0x1ee)][o(0x1dd)](),d=b[o(0x1bc)]?o(0x1c4)+b['baseDir']:o(0x1bf),f=this[o(0x1ca)][o(0x1be)]({'pathParts':[d,b['dir'],kebabCase(b[o(0x1c0)]),kebabCase(b['resourceName'])]}),g=this[o(0x1ed)];typeof g['template']['css']===o(0x1e1)&&this[o(0x1e2)][o(0x1bd)](o(0x1da),g[o(0x1d9)]['css']);g[o(0x1cf)][o(0x1c5)]==='apollo'&&!this[o(0x1f2)][o(0x1cd)]('@apollo/client')&&(Log['warn']('Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...'),await this[o(0x1f2)]['installNpmPackage']('@apollo/client\x20isomorphic-fetch',{'cwd':c}));const h={'cssCaseName':kebabCase(b[o(0x1c0)]),'camelCaseName':camelCase(b[o(0x1c0)]),'className':pascalCase(b[o(0x1c0)]),'name':pascalCase(b[o(0x1c0)]),'graphql':g[o(0x1cf)]['graphql'],'theme':g[o(0x1cf)][o(0x1d6)],'test':g[o(0x1cf)]['test'],'features':g[o(0x1c3)],'myPath':a119e[o(0x1d1)](this['fsi'][o(0x1c2)](),f),'fileName':kebabCase(b[o(0x1c0)]),'isComponent':![],'isLayout':![],'withTranslations':g[o(0x1c3)][o(0x1c6)]};await this[o(0x1ca)][o(0x1d9)]({'srcPath':'hook/hook.js','destPath':f+o(0x1e8),'context':h,'config':g,'framework':o(0x1c1),'force':b['force']});g[o(0x1d9)][o(0x1da)]&&(await this[o(0x1ca)][o(0x1d9)]({'srcPath':o(0x1ec),'destPath':f+o(0x1cb),'context':Object[o(0x1d7)]({},h,{'className':h[o(0x1de)]}),'config':g,'force':b['force']}),await this[o(0x1ca)][o(0x1e3)]({'filePath':f+'.'+g[o(0x1cf)]['js'],'content':o(0x1e4)+h['fileName']+'.'+g[o(0x1cf)][o(0x1da)]+'\x27;'}));g[o(0x1cf)][o(0x1bb)]!=='none'&&await this[o(0x1ca)]['template']({'srcPath':o(0x1e5),'destPath':f+o(0x1d5),'framework':o(0x1c1),'context':h,'config':g,'force':b[o(0x1d2)]});const i=b[o(0x1b8)]?'/'+b[o(0x1b8)]+'/':'/',j=''+d+i+h[o(0x1ce)]+'/'+h[o(0x1ce)];await this[o(0x1ca)]['injectTemplateModule'](h[o(0x1b9)],g,j);}catch(k){Log[o(0x1f3)](k);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=
|
|
1
|
+
(function(a,b){var f=a120d,c=a();while(!![]){try{var d=-parseInt(f(0x122))/0x1+parseInt(f(0x129))/0x2+-parseInt(f(0x126))/0x3*(-parseInt(f(0x128))/0x4)+parseInt(f(0x12a))/0x5*(parseInt(f(0x12b))/0x6)+-parseInt(f(0x124))/0x7+parseInt(f(0x125))/0x8*(-parseInt(f(0x12e))/0x9)+parseInt(f(0x127))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0xcba93));function a120c(){var i=['120ViiqDf','64434SPLLbZ','(((.+)+)+)+$','apply','81uzZcBV','340495NmmXwx','search','9252446XWdwPh','97288utXzsV','44934nieuzN','8625240dgGGKZ','252AzuiSy','1084086EEjJTq'];a120c=function(){return i;};return a120c();}var a120b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a120d;if(c){var e=c[g(0x12d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){var h=a120d;return a120a['toString']()[h(0x123)](h(0x12c))['toString']()['constructor'](a120a)['search']('(((.+)+)+)+$');});a120a();import'./kit.js';import'./mui/_index.js';function a120d(a,b){var c=a120c();return a120d=function(d,e){d=d-0x122;var f=c[d];return f;},a120d(a,b);}import'./esri/_index.js';import'./auth/_index.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(a,b){var f=a121d,c=a();while(!![]){try{var d=-parseInt(f(0xda))/0x1+-parseInt(f(0xdd))/0x2*(-parseInt(f(0xe1))/0x3)+parseInt(f(0xd8))/0x4+-parseInt(f(0xdc))/0x5*(-parseInt(f(0xd5))/0x6)+parseInt(f(0xdf))/0x7*(-parseInt(f(0xd6))/0x8)+parseInt(f(0xe0))/0x9+-parseInt(f(0xd7))/0xa*(parseInt(f(0xde))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0x4e0bd));var a121b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){var g=a121d;return a121a['toString']()['search']('(((.+)+)+)+$')['toString']()[g(0xd9)](a121a)['search'](g(0xdb));});a121a();function a121d(a,b){var c=a121c();return a121d=function(d,e){d=d-0xd5;var f=c[d];return f;},a121d(a,b);}import'./auth.generator.js';import'./provider.auth.gen.js';function a121c(){var h=['5IyDDXd','2qgxyjK','1947TbKSth','14UJcyIY','5044383EsgEdH','1427433HqBljK','1636572TVPrBr','628312kfsAaC','62030iRLqrG','1758324nSzmEy','constructor','173955YbPBPw','(((.+)+)+)+$'];a121c=function(){return h;};return a121c();}import'./basic-meteor.auth.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a122h=a122d;function a122d(a,b){const c=a122c();return a122d=function(d,e){d=d-0x83;let f=c[d];return f;},a122d(a,b);}(function(a,b){const f=a122d,c=a();while(!![]){try{const d=-parseInt(f(0x93))/0x1*(parseInt(f(0x87))/0x2)+parseInt(f(0x85))/0x3*(parseInt(f(0x8f))/0x4)+parseInt(f(0x91))/0x5*(-parseInt(f(0x88))/0x6)+-parseInt(f(0x94))/0x7*(-parseInt(f(0x83))/0x8)+parseInt(f(0x8d))/0x9+-parseInt(f(0x92))/0xa*(-parseInt(f(0x90))/0xb)+parseInt(f(0x95))/0xc*(-parseInt(f(0x86))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0x6b021));const a122b=(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;};}()),a122a=a122b(this,function(){const g=a122d;return a122a['toString']()[g(0x8b)]('(((.+)+)+)+$')[g(0x84)]()[g(0x8a)](a122a)['search']('(((.+)+)+)+$');});a122a();import{Generator}from'../../../generator.js';import a122e from'../kit.js';const AuthGen=Generator['create']({'name':a122h(0x96),'aliases':['a'],'usage':a122h(0x8c),'shortDesc':a122h(0x8e),'resourceNameRequired':![],'validOpts':[''],'isPro':!![],'examples':['maka\x20g:kit:a'],'description':'\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x20\x20'},async function(){const i=a122h;throw i(0x89);},async function(){},a122e);export default AuthGen;function a122c(){const j=['37471PxPHAY','9359fEXguP','5904tFicUH','auth','2136UtHwcD','toString','144YjHzeD','2717sfeAhJ','6LHQONO','6UJtimk','NIE','constructor','search','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:<kit-name>','1367172SpHwjT','Starting\x20point\x20for\x20generating\x20an\x20Auth\x20Provider','50428iQuytG','11fvDroC','2744280iDFSTo','883790FVSMfg'];a122c=function(){return j;};return a122c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a123v=a123d;function a123d(a,b){const c=a123c();return a123d=function(d,e){d=d-0xd2;let f=c[d];return f;},a123d(a,b);}(function(a,b){const s=a123d,c=a();while(!![]){try{const d=-parseInt(s(0xf5))/0x1*(-parseInt(s(0x104))/0x2)+parseInt(s(0xfb))/0x3+-parseInt(s(0xf2))/0x4+-parseInt(s(0xf8))/0x5*(parseInt(s(0xd6))/0x6)+parseInt(s(0xdb))/0x7*(-parseInt(s(0xef))/0x8)+-parseInt(s(0xdc))/0x9*(parseInt(s(0x107))/0xa)+parseInt(s(0x10b))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0x5f445));const a123b=(function(){let a=!![];return function(b,c){const d=a?function(){const t=a123d;if(c){const e=c[t(0xe8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){const u=a123d;return a123a['toString']()[u(0x110)](u(0xe4))[u(0x100)]()[u(0x105)](a123a)['search'](u(0xe4));});a123a();import a123e from'path';import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';function a123c(){const x=['publish','20118131KGLxGt','kit/auth/service/meteor-auth-service.js','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','authentication-provider','const\x20authenticateToken','search','\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','\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','meteor/meteor','server','/imports/startup/lib','24jguPgO','\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','\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','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','findProjectDirectory','35ceCaJl','288PkcRAf','/imports/startup/client','useEffect\x5c(','injectImport','\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','Accounts','react','engines','(((.+)+)+)+$','ssr','pathFromApp','Meteor.startup','apply','.js','const\x20authenticateUser','export\x20const\x20AuthProvider','template','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','AuthService','748144zHwCuw','Meteor.publish','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','2006536JhBNVY','authentication-service','processAndRunGenerator','69xqxTGS','/imports/startup/lib/authentication-service','findAppDirectory','307865IHwScQ','kit:auth:provider','auth/roles','465930YDlJBb','const\x20registerNewUser','REACT','injectIntoCodeBlock','/imports/startup/client/authentication-service','toString','injectIntoFile','force','\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','6692aLpEAF','constructor','meteor/maka:react-tracker','190430PRGOKH','meteor','const\x20resetPasswordWithToken'];a123c=function(){return x;};return a123c();}import a123f from'./auth.generator.js';import a123g from'../../../generators/maka.gen.js';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':a123v(0x108),'aliases':['m'],'usage':a123v(0xed),'shortDesc':'Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','validOpts':[a123v(0x102)],'isPro':!![],'resourceNameRequired':![],'mustBeInMakaProject':!![],'requiredEngines':{'client':ClientEngines[a123v(0xfd)]},'description':a123v(0x111)},async function(a,b){const w=a123v,{fsi:c,pkg:d,scaffold:f,projectConfig:g}=this;try{const h=b[w(0x102)]||![];await d['checkMeteorPackage'](['accounts-password'],{'shouldInstall':!![]});const i=c[w(0xda)](),j=c[w(0xf7)](),k=g[w(0xe3)][w(0xe5)]===w(0x108);await a123g[w(0xf4)](w(0xf9),[],{'force':h,'cwd':i,'config':g}),await a123g[w(0xf4)](w(0x10a),[w(0xfa)],{'force':h,'globalPublish':!![],'cwd':i,'config':g});const l=j+a123e['normalize']('/imports/startup/server/publications/auth/roles.js'),m=k?w(0xd5):w(0xdd),n=f[w(0xe6)]({'pathParts':[m,'','',w(0xf3)]});await f[w(0xec)]({'srcPath':w(0x10c),'destPath':n+w(0xe9),'framework':w(0xe2),'context':{},'config':g,'force':h,'ignore':![]});const o=f['pathFromApp']({'pathParts':[m,'','',w(0x10e)]}),p=g[w(0xe3)]['js'];await f[w(0xdf)]({'filePath':o+'.'+p,'importName':w(0xee),'modulePath':k?w(0xf6):w(0xff),'isNamedExport':![]}),await f['injectIntoCodeBlock']({'filePath':o+'.'+p,'content':w(0xd8),'begin':w(0xea),'replace':!![]}),await f[w(0xfe)]({'filePath':o+'.'+p,'content':w(0xe0),'begin':w(0x10f),'replace':!![]}),await f['injectIntoCodeBlock']({'filePath':o+'.'+p,'content':w(0x103),'begin':'const\x20getUserAuthorizations','replace':!![]}),await f['injectIntoCodeBlock']({'filePath':o+'.'+p,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','begin':'const\x20deauthenticateUser','replace':!![]}),await f[w(0xfe)]({'filePath':o+'.'+p,'content':w(0xd9),'begin':'const\x20sendForgotPasswordEmail','replace':!![]}),await f[w(0xfe)]({'filePath':o+'.'+p,'content':w(0x10d),'begin':w(0xfc),'replace':!![]}),await f['injectIntoCodeBlock']({'filePath':o+'.'+p,'content':w(0xf1),'begin':w(0x109),'replace':!![]});k&&(await f[w(0xdf)]({'filePath':o+'.'+p,'importName':'useTracker','modulePath':w(0x106),'isNamedExport':!![]}),await f[w(0x101)]({'filePath':o+'.'+p,'content':'\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','begin':w(0xeb),'end':w(0xde)}));await f[w(0xdf)]({'filePath':l,'importName':'Meteor','modulePath':w(0xd3),'isNamedExport':!![],'injectAtStart':!![]}),await f['injectIntoCodeBlock']({'filePath':l,'content':w(0xd7),'begin':w(0xf0),'replace':!![]});const q=f[w(0xe6)]({'pathParts':['imports','startup',w(0xd4),'index']});await f[w(0xdf)]({'filePath':q+'.'+p,'importName':w(0xe1),'modulePath':'meteor/accounts-base','isNamedExport':!![]}),await f['injectIntoCodeBlock']({'filePath':q+'.'+p,'content':w(0xd2),'begin':w(0xe7),'replace':!![]});}catch(r){Log['error'](r),process['exit'](0x1);}},async function(){},a123f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a124c(){const z=['4llOsgY','ssr','1401122YywREb','/imports/startup/client','error','injectAroundString','injectImport','const\x20useAuth','appName','pathFromApp','AuthContext','<AuthProvider>','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','/routes','3673464rjQUBG','2336170fZtinp','REACT','AuthProvider','authentication-provider','split','/imports/startup/lib/authentication-provider','<AppRoutes\x20history={history}/>','/imports/startup/client/index','search','exit','1hXproA','/imports/startup/client/authentication-provider','force','/imports/startup/server/index','template','bright','2051370nFzBSV','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','6WqJrEQ','(((.+)+)+)+$','toString','330okummg','632373EqraIc','engines','injectIntoCodeBlock','.js','apply','react','provider','scaffold','Creating\x20an\x20AuthProvider\x20and\x20AuthContext','</AuthProvider>','1158909ukxUQE','function\x20useAuth','\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','76160sijDEU','<AppRoutes\x20/>','create','\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'];a124c=function(){return z;};return a124c();}const a124x=a124d;(function(a,b){const u=a124d,c=a();while(!![]){try{const d=-parseInt(u(0x1b4))/0x1*(-parseInt(u(0x1d3))/0x2)+parseInt(u(0x1ca))/0x3*(-parseInt(u(0x1d1))/0x4)+-parseInt(u(0x1e0))/0x5+parseInt(u(0x1bc))/0x6*(parseInt(u(0x1c0))/0x7)+parseInt(u(0x1df))/0x8+parseInt(u(0x1ba))/0x9+parseInt(u(0x1cd))/0xa*(-parseInt(u(0x1bf))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0x60adc));const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a124d;if(c){const e=c[v(0x1c4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const w=a124d;return a124a[w(0x1be)]()[w(0x1b2)](w(0x1bd))['toString']()['constructor'](a124a)[w(0x1b2)](w(0x1bd));});a124a();import{Generator}from'../../../generator.js';function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0x1ab;let f=c[d];return f;},a124d(a,b);}import{Log}from'../../../tools/log/log.class.js';import a124e from'./auth.generator.js';import{capitalCase}from'change-case';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a124x(0x1cf)]({'name':a124x(0x1c6),'aliases':['p'],'usage':a124x(0x1bb),'shortDesc':a124x(0x1dd),'validOpts':[a124x(0x1b6)],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'client':ClientEngines[a124x(0x1ab)]},'description':'\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'},async function(a,b){const y=a124x;try{const c=b[y(0x1b6)]||![];Log[y(0x1b9)](y(0x1c8));const {projectConfig:d}=this,f=d[y(0x1c1)][y(0x1d2)]==='meteor',g={'name':capitalCase(d[y(0x1d9)])},h=f?'/imports/startup/lib':y(0x1d4),i=this[y(0x1c7)][y(0x1da)]({'pathParts':[h,'','',y(0x1ad)]});await this[y(0x1c7)][y(0x1b8)]({'srcPath':'kit/auth/provider/authentication-provider.js','destPath':i+y(0x1c3),'framework':y(0x1c5),'context':g,'config':d,'force':c,'ignore':![]});const j=d[y(0x1c1)]['js'],k=h+y(0x1de),l=k[y(0x1ae)]('/'),m=this[y(0x1c7)][y(0x1da)]({'pathParts':l});await this[y(0x1c7)][y(0x1d7)]({'filePath':m+'.'+j,'importName':y(0x1db),'modulePath':f?'/imports/startup/lib/authentication-provider':y(0x1b5),'isNamedExport':!![]}),await this[y(0x1c7)][y(0x1d7)]({'filePath':m+'.'+j,'importName':'useContext','modulePath':y(0x1c5),'isNamedExport':!![],'injectAtStart':!![]}),await this[y(0x1c7)][y(0x1c2)]({'filePath':m+'.'+j,'content':y(0x1d0),'begin':[y(0x1d8),y(0x1cb)],'replace':!![]}),await this[y(0x1c7)]['injectIntoCodeBlock']({'filePath':m+'.'+j,'content':y(0x1cc),'begin':['const\x20PrivateRoute'],'replace':!![]});const n=y(0x1b1),o=n[y(0x1ae)]('/'),p=this['scaffold'][y(0x1da)]({'pathParts':o});await this['scaffold']['injectImport']({'filePath':p+'.'+j,'importName':y(0x1ac),'modulePath':f?'/imports/startup/lib/authentication-provider':y(0x1b5),'isNamedExport':!![]}),await this[y(0x1c7)][y(0x1d6)]({'filePath':p+'.'+j,'aboveContent':'<AuthProvider>','belowContent':y(0x1c9),'targetString':y(0x1ce),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q=y(0x1b7),r=q[y(0x1ae)]('/'),s=this['scaffold'][y(0x1da)]({'pathParts':r});await this[y(0x1c7)][y(0x1d7)]({'filePath':s+'.'+j,'importName':y(0x1ac),'modulePath':f?y(0x1af):'/imports/startup/client/authentication-provider','isNamedExport':!![]}),await this[y(0x1c7)]['injectAroundString']({'filePath':s+'.'+j,'aboveContent':y(0x1dc),'belowContent':y(0x1c9),'targetString':y(0x1b0),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log[y(0x1d5)](t),process[y(0x1b3)](0x1);}},async function(){},a124e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(a,b){var f=a125d,c=a();while(!![]){try{var d=parseInt(f(0x79))/0x1*(-parseInt(f(0x78))/0x2)+-parseInt(f(0x77))/0x3+-parseInt(f(0x81))/0x4*(parseInt(f(0x80))/0x5)+parseInt(f(0x83))/0x6*(parseInt(f(0x7e))/0x7)+parseInt(f(0x7c))/0x8*(parseInt(f(0x7a))/0x9)+-parseInt(f(0x73))/0xa*(parseInt(f(0x7d))/0xb)+parseInt(f(0x7f))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0x7a345));var a125b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a125d;if(c){var e=c[g(0x76)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){var h=a125d;return a125a['toString']()[h(0x74)]('(((.+)+)+)+$')[h(0x82)]()[h(0x7b)](a125a)[h(0x74)](h(0x75));});a125a();function a125d(a,b){var c=a125c();return a125d=function(d,e){d=d-0x73;var f=c[d];return f;},a125d(a,b);}import'./esri.generator.js';import'./map.esri.gen.js';function a125c(){var i=['152bCQzeF','1049455LitMLB','231014hyJbmB','10145748VNSpyx','81545fhOxPc','56ZjZtrB','toString','132tkjYnU','10jbIPtN','search','(((.+)+)+)+$','apply','606597rhALqk','1177374DiKqai','1TanEFP','20673QzmmHz','constructor'];a125c=function(){return i;};return a125c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a126c(){const k=['22635DRKYsx','maka\x20g:kit:e','4aFvvwo','apply','Starting\x20point\x20for\x20generating\x20Esri\x20Maps','1529RZEUUJ','338712DqOPLA','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','/foo/bar','28qJpRXn','search','205115aDsGdT','toString','1023093RcvSTC','\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','Esri\x20Kit\x20generated\x20successfully','3030BTLfvM','8430wuhQVg','/foo','54jhKAXB','5592Gqujft','(((.+)+)+)+$'];a126c=function(){return k;};return a126c();}function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0x175;let f=c[d];return f;},a126d(a,b);}const a126i=a126d;(function(a,b){const f=a126d,c=a();while(!![]){try{const d=-parseInt(f(0x17b))/0x1+-parseInt(f(0x17e))/0x2*(-parseInt(f(0x181))/0x3)+parseInt(f(0x183))/0x4*(-parseInt(f(0x176))/0x5)+-parseInt(f(0x187))/0x6+parseInt(f(0x18a))/0x7*(parseInt(f(0x17f))/0x8)+-parseInt(f(0x178))/0x9+-parseInt(f(0x17c))/0xa*(-parseInt(f(0x186))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0x1abc2));const a126b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a126d;if(c){const e=c[g(0x184)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){const h=a126d;return a126a[h(0x177)]()[h(0x175)](h(0x180))[h(0x177)]()['constructor'](a126a)[h(0x175)](h(0x180));});a126a();import{Generator}from'../../../generator.js';import a126e from'../kit.js';const EsriGen=Generator['create']({'name':'esri','aliases':['e'],'usage':a126i(0x188),'shortDesc':a126i(0x185),'resourceNameRequired':![],'validOpts':[''],'isPro':!![],'examples':[a126i(0x182)],'description':a126i(0x179)},async function(){const j=a126i;return{'success':!![],'message':j(0x17a),'details':{'filesCreated':[j(0x189)],'filesUpdated':[j(0x17d)]}};},async function(){},a126e);export default EsriGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a127c(){const x=['replaceAll','meteor','25490934xUojQp','appName','4001816QgnceX','95210yjQsLl','baseDir','engines','/imports/startup/lib/templates','/imports/ui/','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','error','pathFromApp','Generate\x20an\x20Esri\x20map\x20component','5121720KlDPOT','create','@esri/react-arcgis','3083645iBwKki','apply','findProjectDirectory','dir','</div>','constructor','69NOJjEL','toString','Generating\x20a\x20map\x20component','injectImport','<div\x20id=\x22map\x22>','736826lUqOyT','REACT','bright','/imports/ui/hooks','page','split','(((.+)+)+)+$','8GVzuCU','processAndRunGenerator','kit/esri/map/','basic-map','map','/imports/startup/client/templates','2911293GohzRP','\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','.js','search'];a127c=function(){return x;};return a127c();}const a127v=a127d;(function(a,b){const s=a127d,c=a();while(!![]){try{const d=parseInt(s(0xf2))/0x1+-parseInt(s(0x108))/0x2*(-parseInt(s(0xed))/0x3)+parseInt(s(0x107))/0x4+-parseInt(s(0xe7))/0x5+parseInt(s(0xe4))/0x6+parseInt(s(0xff))/0x7*(parseInt(s(0xf9))/0x8)+-parseInt(s(0x105))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0x9f573));const a127b=(function(){let a=!![];return function(b,c){const d=a?function(){const t=a127d;if(c){const e=c[t(0xe8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){const u=a127d;return a127a['toString']()[u(0x102)]('(((.+)+)+)+$')[u(0xee)]()[u(0xec)](a127a)[u(0x102)](u(0xf8));});a127a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a127e from'./esri.generator.js';import a127f from'../../../generators/maka.gen.js';function a127d(a,b){const c=a127c();return a127d=function(d,e){d=d-0xe2;let f=c[d];return f;},a127d(a,b);}import{kebabCase,capitalCase,pascalCase}from'change-case';import{ClientEngines,SsrEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a127v(0xe5)]({'name':a127v(0xfd),'aliases':['m'],'usage':a127v(0x10d),'shortDesc':a127v(0xe3),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'client':ClientEngines[a127v(0xf3)],'ssr':SsrEngines['NONE']},'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=a127v;try{const {projectConfig:c,fsi:d,pkg:f,scaffold:g}=this;Log[w(0xf4)](w(0xef));const h=w(0xfc);await f['checkNpmPackage']([w(0xe6),'esri-loader'],{'shouldInstall':!![]});const i=d[w(0xe9)](),j=c[w(0x10a)]['ssr']===w(0x104),k=await a127f[w(0xfa)](w(0xf6),['map'],{'cwd':i,'config':c}),l={'name':capitalCase(c[w(0x106)])[w(0x103)]('-','\x20'),'componentName':pascalCase(h)},m=b[w(0x109)]?w(0x10c)+b[w(0x109)]:w(0xf5),n=g[w(0xe2)]({'pathParts':[m,b[w(0xea)],kebabCase(h),kebabCase(h)]});await g['template']({'srcPath':w(0xfb)+h+w(0x101),'destPath':n+w(0x101),'framework':'react','context':l,'config':c,'force':![],'ignore':![]});const o=''+m+b['dir']+'/'+h+'/'+h;await g['injectTemplateModule'](h,c,o);const p=k[w(0xf7)]('/'),q=g['pathFromApp']({'pathParts':p});await g[w(0xf0)]({'filePath':q,'importName':pascalCase(h),'modulePath':j?w(0x10b):w(0xfe),'isNamedExport':!![]}),await g['injectIntoFile']({'filePath':q,'content':'\x0a<'+pascalCase(h)+w(0x100),'begin':[w(0xf1),w(0xf1)],'end':[w(0xeb)],'replace':!![]});}catch(r){Log[w(0x10e)](r),process['exit'](0x1);}},async function(){},a127e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a128i=a128d;(function(a,b){const f=a128d,c=a();while(!![]){try{const d=parseInt(f(0x122))/0x1*(parseInt(f(0x11a))/0x2)+parseInt(f(0x124))/0x3*(parseInt(f(0x126))/0x4)+-parseInt(f(0x11d))/0x5*(-parseInt(f(0x11c))/0x6)+-parseInt(f(0x11b))/0x7*(-parseInt(f(0x129))/0x8)+-parseInt(f(0x121))/0x9+-parseInt(f(0x119))/0xa*(-parseInt(f(0x12a))/0xb)+-parseInt(f(0x11f))/0xc*(parseInt(f(0x12b))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0xe72be));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a128d;if(c){const e=c[g(0x120)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const h=a128d;return a128a[h(0x127)]()[h(0x11e)]('(((.+)+)+)+$')[h(0x127)]()[h(0x125)](a128a)['search'](h(0x117));});a128a();import{Generator}from'../../generator.js';function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0x116;let f=c[d];return f;},a128d(a,b);}const KitGen=Generator['create']({'name':a128i(0x123),'aliases':['k'],'usage':a128i(0x118),'shortDesc':'Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','minArgLength':0x1,'isPro':!![],'validOpts':[],'resourceNameRequired':![],'examples':[a128i(0x128),a128i(0x116)]},async function(){});export default KitGen;function a128c(){const j=['toString','maka\x20g:kit','128272eCpStr','6941sjpqlW','13DEkRCa','maka\x20g:k','(((.+)+)+)+$','maka\x20{generate,\x20g}:{kit}\x20<name>','23810pxtOgM','2pZNjjo','574UEVjlh','666MLONfo','25445Gkojfr','search','36632724PFjSnu','apply','12884742YgjZeI','429227JODatr','kit','4859814aQuNVN','constructor','4XfDgdT'];a128c=function(){return j;};return a128c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=
|
|
1
|
+
function a129d(a,b){var c=a129c();return a129d=function(d,e){d=d-0x1ca;var f=c[d];return f;},a129d(a,b);}(function(a,b){var f=a129d,c=a();while(!![]){try{var d=parseInt(f(0x1ce))/0x1+parseInt(f(0x1d6))/0x2+-parseInt(f(0x1cf))/0x3+parseInt(f(0x1cb))/0x4*(-parseInt(f(0x1d5))/0x5)+parseInt(f(0x1d0))/0x6+parseInt(f(0x1d2))/0x7*(parseInt(f(0x1cc))/0x8)+-parseInt(f(0x1d4))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0x3a96a));var a129b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a129d;if(c){var e=c[g(0x1cd)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){var h=a129d;return a129a[h(0x1ca)]()[h(0x1d3)](h(0x1d1))[h(0x1ca)]()['constructor'](a129a)[h(0x1d3)](h(0x1d1));});a129a();import'./mui.generator.js';import'./frame.mui.gen.js';function a129c(){var i=['apply','474321DNVcrm','1222800wpaelG','2037912yXWHqg','(((.+)+)+)+$','476693nEgwYc','search','5996358pvdSAI','65LclRfn','540170VJYoAG','toString','13112nrWHiT','32NnfwaO'];a129c=function(){return i;};return a129c();}import'./auth.mui.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a130L=a130d;(function(a,b){const I=a130d,c=a();while(!![]){try{const d=parseInt(I(0x1a3))/0x1*(-parseInt(I(0x187))/0x2)+parseInt(I(0x185))/0x3+parseInt(I(0x1a7))/0x4*(parseInt(I(0x19d))/0x5)+parseInt(I(0x18a))/0x6+-parseInt(I(0x18c))/0x7*(-parseInt(I(0x16f))/0x8)+-parseInt(I(0x172))/0x9+-parseInt(I(0x178))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0x744b5));const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){const J=a130d;if(c){const e=c[J(0x19a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const K=a130d;return a130a[K(0x1a5)]()[K(0x186)](K(0x17c))[K(0x1a5)]()[K(0x174)](a130a)[K(0x186)](K(0x17c));});a130a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a130e from'../../../generators/maka.gen.js';import a130f from'./mui.generator.js';import{kebabCase,capitalCase}from'change-case';function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0x16a;let f=c[d];return f;},a130d(a,b);}import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':'auth','aliases':['a'],'usage':a130L(0x171),'shortDesc':a130L(0x184),'validOpts':[a130L(0x17a),a130L(0x1a8)],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'theme':ThemeEngines['MATERIAL'],'client':ClientEngines[a130L(0x197)]},'examples':[a130L(0x19b),a130L(0x188)],'description':a130L(0x175)},async function(a,b){const M=a130L;try{const {projectConfig:c,fsi:d,scaffold:f}=this,g=b[M(0x1a8)]||![],h=d[M(0x195)](),i=await Actions[M(0x1a9)]({'name':M(0x179),'message':M(0x194),'choices':[{'name':M(0x17e),'value':'meteor'},{'name':M(0x17f),'value':M(0x190)}]}),j=M(0x173),k=M(0x181),l=M(0x196),m='basic-password-reset-page',n=M(0x16a),o=b[M(0x1a0)]?'/imports/ui/'+b[M(0x1a0)]:M(0x177),p=f[M(0x19f)]({'pathParts':[o,b[M(0x16d)],kebabCase(j),kebabCase(j)]}),q=f[M(0x19f)]({'pathParts':[o,b['dir'],kebabCase(k),kebabCase(k)]}),r=f['pathFromApp']({'pathParts':[o,b[M(0x16d)],kebabCase(l),kebabCase(l)]}),s=f[M(0x19f)]({'pathParts':[o,b[M(0x16d)],kebabCase(m),kebabCase(m)]}),t=f[M(0x19f)]({'pathParts':[o,b[M(0x16d)],kebabCase(n),kebabCase(n)]}),u={'name':capitalCase(c['appName'])};await f[M(0x1a2)]({'srcPath':'kit/mui/auth/login/'+j+M(0x17b),'destPath':p+M(0x17b),'framework':M(0x193),'context':u,'config':c,'force':g,'ignore':![]}),await f[M(0x1a2)]({'srcPath':M(0x192)+k+M(0x17b),'destPath':q+M(0x17b),'framework':'react','context':u,'config':c,'force':g,'ignore':![]}),await f[M(0x1a2)]({'srcPath':'kit/mui/auth/register/'+l+'.js','destPath':r+M(0x17b),'framework':M(0x193),'context':u,'config':c,'force':g,'ignore':![]}),await f[M(0x1a2)]({'srcPath':'kit/mui/auth/password-reset/'+m+M(0x17b),'destPath':s+'.js','framework':M(0x193),'context':u,'config':c,'force':g,'ignore':![]}),await f[M(0x1a2)]({'srcPath':M(0x189)+n+M(0x17b),'destPath':t+M(0x17b),'framework':M(0x193),'context':u,'config':c,'force':g,'ignore':![]});const v=''+o+b[M(0x16d)]+'/'+j+'/'+j;await f[M(0x18e)](j,c,v);const w=''+o+b[M(0x16d)]+'/'+k+'/'+k;await f[M(0x18e)](k,c,w);const x=''+o+b['dir']+'/'+l+'/'+l;await f[M(0x18e)](l,c,x);const y=''+o+b[M(0x16d)]+'/'+m+'/'+m;await f[M(0x18e)](m,c,y);const z=''+o+b[M(0x16d)]+'/'+n+'/'+n;await f[M(0x18e)](n,c,z),await a130e[M(0x18d)](M(0x16b),[M(0x173)],{'route':M(0x19c),'cwd':h,'config':c}),await a130e[M(0x18d)]('route',[M(0x181)],{'route':'logout','private':!![],'cwd':h,'config':c}),await a130e[M(0x18d)](M(0x16b),['basic-register-page'],{'route':'register','cwd':h,'config':c}),await a130e[M(0x18d)](M(0x16b),[M(0x16e)],{'route':M(0x18b),'cwd':h,'config':c}),await a130e[M(0x18d)](M(0x16b),['basic-forgot-password-page'],{'route':M(0x198),'cwd':h,'config':c});i===M(0x19e)&&await a130e[M(0x18d)](M(0x1a6),[],{'force':g,'cwd':h,'config':c});i==='custom'&&await a130e[M(0x18d)](M(0x199),[],{'force':g,'cwd':h,'config':c});const A=c[M(0x176)][M(0x183)]===M(0x19e),B=c['engines']['js'],C=f[M(0x19f)]({'pathParts':v[M(0x170)]('/')});await f[M(0x180)]({'filePath':C+'.'+B,'importName':M(0x16c),'modulePath':A?M(0x17d):M(0x18f),'isNamedExport':!![]});const D=f[M(0x19f)]({'pathParts':w[M(0x170)]('/')});await f[M(0x180)]({'filePath':D+'.'+B,'importName':M(0x16c),'modulePath':A?'/imports/startup/lib/authentication-provider':M(0x18f),'isNamedExport':!![]});const E=f[M(0x19f)]({'pathParts':x[M(0x170)]('/')});await f[M(0x180)]({'filePath':E+'.'+B,'importName':M(0x16c),'modulePath':A?M(0x17d):M(0x18f),'isNamedExport':!![]});const F=f[M(0x19f)]({'pathParts':y[M(0x170)]('/')});await f[M(0x180)]({'filePath':F+'.'+B,'importName':'AuthContext','modulePath':A?M(0x17d):M(0x18f),'isNamedExport':!![]});const G=f[M(0x19f)]({'pathParts':z['split']('/')});await f['injectImport']({'filePath':G+'.'+B,'importName':M(0x16c),'modulePath':A?'/imports/startup/lib/authentication-provider':M(0x18f),'isNamedExport':!![]});}catch(H){Log[M(0x182)](H),process[M(0x191)](0x1);}},async function(){const N=a130L;console[N(0x1a1)](N(0x1a4));},a130f);export default a130f;function a130c(){const O=['error','ssr','Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','2296887PBSbBP','search','301018hIWoAR','maka\x20g:k:m:a','kit/mui/auth/forgot-password/','2707776nFkxaF','reset-password/:token','7BKpkuM','processAndRunGenerator','injectTemplateModule','/imports/startup/client/authentication-provider','custom','exit','kit/mui/auth/logout/','react','What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','findProjectDirectory','basic-register-page','REACT','forgot-password','kit:auth:provider','apply','maka\x20generate:kit:mui:auth','login','70aNkBEt','meteor','pathFromApp','baseDir','log','template','5PYGOGH','Cleaning\x20up...','toString','kit:auth:meteor','197596WjHbbb','force','select','basic-forgot-password-page','route','AuthContext','dir','basic-password-reset-page','5022448kgFOpN','split','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{auth,\x20a}','5920317BXZZol','basic-login-page','constructor','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20setup\x20with\x20login,\x20logout,\x20registration,\x20and\x20password\x20reset\x20pages.\x0a\x20\x20','engines','/imports/ui/pages/auth','6496180GXITLe','authType','layouts','.js','(((.+)+)+)+$','/imports/startup/lib/authentication-provider','Meteor\x20Accounts','Custom\x20(roll\x20your\x20own)','injectImport','basic-logout-page'];a130c=function(){return O;};return a130c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a131c(){const K=['Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','pathFromApp','findAppDirectory','engines','Box','<Outlet\x20/>','3341490gRNYpi','1dSvrHq','checkbox','kit/mui/frame/drawers/','map','@mui/material/Box','27zHWEHO','\x20/>\x0a','maka:react-tracker','REACT','template','(((.+)+)+)+$','maka\x20generate:kit:mui:frame','14556msXXty','1931014vsYluY','force','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f}','.js','constructor','search','length','getDirectories','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20frame\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','checkMeteorPackage','maka\x20g:k:m:f','test','3954713MpNjpp','/imports/startup/lib/templates','baseDir','appName','Cleaning\x20up...','tests','No\x20layouts\x20selected','react','meteor','log','basic-app-bar','1512180zcUYaz','/imports/startup/client/templates','layouts','error','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','injectImport','7156512PzPTAK','imports','ssr','join','toString','8UiZFCW','</div>','<Outlet/>','injectIntoFile','injectTemplateModule','apply','session','basic-drawer','dir','@mui/material/Container','-hook\x22>','49287216tCAhvZ','/imports/ui/components','injectAroundString','getFiles','<div\x20id=\x22','MATERIAL','jsx','kit/mui/frame/app-bars/','332PxVcya'];a131c=function(){return K;};return a131c();}const a131H=a131d;(function(a,b){const E=a131d,c=a();while(!![]){try{const d=parseInt(E(0x6c))/0x1*(-parseInt(E(0x79))/0x2)+-parseInt(E(0x78))/0x3*(parseInt(E(0xaf))/0x4)+parseInt(E(0x91))/0x5+-parseInt(E(0x97))/0x6+-parseInt(E(0x86))/0x7*(parseInt(E(0x9c))/0x8)+parseInt(E(0x71))/0x9*(-parseInt(E(0x6b))/0xa)+parseInt(E(0xa7))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0x9fd77));const a131b=(function(){let a=!![];return function(b,c){const d=a?function(){const F=a131d;if(c){const e=c[F(0xa1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a131a=a131b(this,function(){const G=a131d;return a131a['toString']()[G(0x7e)]('(((.+)+)+)+$')[G(0x9b)]()[G(0x7d)](a131a)[G(0x7e)](G(0x76));});function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0x69;let f=c[d];return f;},a131d(a,b);}a131a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a131e from'path';import a131f from'./mui.generator.js';import{kebabCase,pascalCase,capitalCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':'frame','aliases':['f'],'usage':a131H(0x7b),'shortDesc':a131H(0xb0),'validOpts':[a131H(0x93),a131H(0x88),'dir','force'],'isPro':![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'theme':ThemeEngines[a131H(0xac)],'client':ClientEngines[a131H(0x74)]},'examples':[a131H(0x77),a131H(0x84)],'description':a131H(0x81)},async function(a,b){const I=a131H,{projectConfig:c,fsi:d,pkg:f,scaffold:g}=this;try{const h=b[I(0x7a)]||![],i=I(0x90),j=I(0xa3),k='basic-sticky-footer',l=c[I(0xb3)][I(0x99)]===I(0x8e);await f[I(0x83)]([I(0xa2),I(0x73)],{'shouldInstall':!![]});const m=d[I(0xb2)](),n=a131e[I(0x9a)](m,I(0x98),'ui',I(0x93)),o=d[I(0x80)](n),p=o[I(0x6f)](z=>({'name':z,'value':z})),q=await Actions[I(0x6d)]({'message':I(0x95),'name':I(0x93),'choices':p});if(q[I(0x7f)]===0x0){Log[I(0x94)](I(0x8c));return;}const r=b[I(0x88)]?'/imports/ui/'+b[I(0x88)]:I(0xa8),s=g['pathFromApp']({'pathParts':[r,b[I(0xa4)],kebabCase(i),kebabCase(i)]}),t=g[I(0xb1)]({'pathParts':[r,b[I(0xa4)],kebabCase(j),kebabCase(j)]}),u=g['pathFromApp']({'pathParts':[r,b[I(0xa4)],kebabCase(k),kebabCase(k)]}),v={'name':capitalCase(c[I(0x89)])};await g['template']({'srcPath':I(0xae)+i+I(0x7c),'destPath':s+I(0x7c),'framework':I(0x8d),'context':v,'config':c,'force':h,'ignore':![]}),await g[I(0x75)]({'srcPath':I(0x6e)+j+I(0x7c),'destPath':t+'.js','framework':'react','context':v,'config':c,'force':h,'ignore':![]}),await g['template']({'srcPath':'kit/mui/frame/footers/'+k+'.js','destPath':u+I(0x7c),'framework':'react','context':v,'config':c,'force':h,'ignore':![]});const w=''+r+b[I(0xa4)]+'/'+i+'/'+i;await g[I(0xa0)](i,c,w);const x=''+r+b[I(0xa4)]+'/'+j+'/'+j;await g[I(0xa0)](j,c,x);const y=''+r+b['dir']+'/'+k+'/'+k;await g[I(0xa0)](k,c,y);for(const z of q){const A=d[I(0xaa)](a131e['join'](n,z),{'extensions':[I(0xad),'tsx'],'omit':['app-tests',I(0x8b),I(0x85)]});for(const B of A){const C=a131e['join'](n,z,B);await g['injectImport']({'filePath':C,'importName':I(0x69),'modulePath':I(0x70),'isNamedExport':![]}),await g[I(0x96)]({'filePath':C,'importName':'Container','modulePath':I(0xa5),'isNamedExport':![]}),await g[I(0x96)]({'filePath':C,'importName':pascalCase(i),'modulePath':l?I(0x87):'/imports/startup/client/templates','isNamedExport':!![]}),await g[I(0x9f)]({'filePath':C,'content':'<'+pascalCase(i)+'\x20/>\x0a','begin':['<div\x20id=\x22'+z+'\x22>',I(0xab)+z+'-hook\x22>'],'end':[I(0x9e),'<Outlet\x20/>']}),await g[I(0x96)]({'filePath':C,'importName':pascalCase(j),'modulePath':l?I(0x87):I(0x92),'isNamedExport':!![]}),await g['injectIntoFile']({'filePath':C,'content':'<'+pascalCase(j)+I(0x72),'begin':[I(0xab)+z+'\x22>',I(0xab)+z+I(0xa6)],'end':[I(0x9e),I(0x6a)]}),await g[I(0x9f)]({'filePath':C,'content':'<'+pascalCase(k)+I(0x72),'begin':[I(0x9e),'<Outlet\x20/>'],'end':[I(0x9d)]}),await g['injectImport']({'filePath':C,'importName':pascalCase(k),'modulePath':l?'/imports/startup/lib/templates':I(0x92),'isNamedExport':!![]}),await g[I(0xa9)]({'filePath':C,'aboveContent':'<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>','belowContent':I(0x82),'targetString':['<Outlet/>',I(0x6a)],'targetIndentAdjustment':0x6});}}}catch(D){Log[I(0x94)](D);}},async function(){const J=a131H;console[J(0x8f)](J(0x8a));},a131f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a132j=a132d;function a132d(a,b){const c=a132c();return a132d=function(d,e){d=d-0x136;let f=c[d];return f;},a132d(a,b);}function a132c(){const l=['findProjectDirectory','No\x20MUI\x20kits\x20selected.\x20Exiting.','3616iCTEcJ','Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!','includes','6635032GuLsId','kit:mui:auth','create','Material-UI\x20Kit','kit:mui:frame','kitChoices','processAndRunGenerator','329mnoOoF','Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','(((.+)+)+)+$','1559808tWrHri','cfg','Auth\x20workflow\x20(login,\x20logout,\x20etc.)','frame','3JOzeFT','1690mQODRP','toString','mui','1523605bvOBnj','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','6MpfhsA','search','notice','checkbox','29975539LEbqdK','20970kHOCQp','apply','\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','maka\x20g:kit:m','exit','auth','getMakaProjectConfig','544038aXomZa','Header,\x20Footer,\x20and\x20Drawer','info'];a132c=function(){return l;};return a132c();}(function(a,b){const g=a132d,c=a();while(!![]){try{const d=-parseInt(g(0x13a))/0x1*(-parseInt(g(0x156))/0x2)+-parseInt(g(0x150))/0x3*(-parseInt(g(0x142))/0x4)+-parseInt(g(0x154))/0x5+parseInt(g(0x14c))/0x6+-parseInt(g(0x149))/0x7*(parseInt(g(0x13f))/0x8)+parseInt(g(0x15b))/0x9*(parseInt(g(0x151))/0xa)+-parseInt(g(0x15a))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a132c,0xda29c));const a132b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a132d;if(c){const e=c[h(0x15c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a132a=a132b(this,function(){const i=a132d;return a132a['toString']()[i(0x157)](i(0x14b))[i(0x152)]()['constructor'](a132a)[i(0x157)](i(0x14b));});a132a();import{Generator}from'../../../generator.js';import{Actions}from'../../../tools/actions/actions.class.js';import{Log}from'../../../tools/log/log.class.js';import a132e from'../../../generators/maka.gen.js';import a132f from'../kit.js';const MuiGen=Generator[a132j(0x144)]({'name':a132j(0x153),'aliases':['m'],'usage':a132j(0x155),'resourceNameRequired':![],'shortDesc':a132j(0x145),'validOpts':[''],'isPro':!![],'examples':[a132j(0x136)]},async function(){const k=a132j;try{Log[k(0x13c)](k(0x140)),Log[k(0x158)](k(0x15d));const a=await Actions[k(0x159)]({'message':k(0x14a),'name':k(0x147),'choices':[{'name':k(0x13b),'value':k(0x14f)},{'name':k(0x14e),'value':k(0x138)}]}),b=this['fsi'][k(0x13d)](),c=this[k(0x14d)][k(0x139)]();a[k(0x141)]('frame')&&await a132e[k(0x148)](k(0x146),[],{'force':!![],'cwd':b,'config':c});a[k(0x141)]('auth')&&await a132e[k(0x148)](k(0x143),[],{'force':!![],'cwd':b,'config':c});if(a['length']===0x0){Log[k(0x13c)](k(0x13e));return;}}catch(d){Log['error'](d),process[k(0x137)](0x1);}},async function(){},a132f);export default MuiGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a133s=a133d;function a133d(a,b){const c=a133c();return a133d=function(d,e){d=d-0x81;let f=c[d];return f;},a133d(a,b);}(function(a,b){const p=a133d,c=a();while(!![]){try{const d=-parseInt(p(0xae))/0x1+parseInt(p(0x91))/0x2*(-parseInt(p(0xa4))/0x3)+parseInt(p(0x89))/0x4*(-parseInt(p(0x93))/0x5)+parseInt(p(0x97))/0x6+-parseInt(p(0x81))/0x7+-parseInt(p(0x87))/0x8*(-parseInt(p(0xab))/0x9)+parseInt(p(0xb6))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a133c,0xf0ce9));const a133b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a133d;if(c){const e=c[q(0x96)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a133a=a133b(this,function(){const r=a133d;return a133a[r(0xa0)]()[r(0x8c)](r(0xa2))[r(0xa0)]()[r(0x9b)](a133a)[r(0x8c)](r(0xa2));});function a133c(){const u=['144306fSASFD','template','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','1083428couAaq','css','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','.css','includes','relative','react','pathFromApp','47892540iIOMKx','theme','11307464GCZKVq','installNpmPackage','injectTemplateModule','withHooks','withTranslations','client','96YqSLJI','injectAtBeginningOfFile','220QCEyql','warn','resourceName','search','none','test/test.js','dir','test','8WyVjRr','setTemplate','64420kcUJrD','engines','fileName','apply','3904026ttCHEp','api','.js','features','constructor','assign','Scaffolding\x20for\x20a\x20React\x20Layout.','checkNpmPackage','ramda','toString','template/template.css','(((.+)+)+)+$','className','928941jVOJTZ','hook/hook.js','withHook','graphql','string','maka\x20g:l\x20web/safari','findAppDirectory'];a133c=function(){return u;};return a133c();}a133a();import a133e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,kebabCase,pascalCase}from'change-case';const aliases=['l'];Generator['create']({'name':'layout','aliases':aliases,'usage':'maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','shortDesc':a133s(0x9d),'validOpts':[a133s(0xa6)],'mustBeInMakaProject':!![],'examples':['maka\x20g:layout\x20mobile/iPhone8',a133s(0xa9)]},async function(a,b){const t=a133s,{projectConfig:c,fsi:d,cfg:e,pkg:f,scaffold:g}=this,h='/imports/ui/layouts',i=d[t(0xaa)](),j=g[t(0xb5)]({'pathParts':[h,b['dir'],kebabCase(b[t(0x8b)]),kebabCase(b[t(0x8b)])]});typeof c[t(0xac)][t(0x90)]===t(0xa8)&&e[t(0x92)]('test',c[t(0xac)]['test']);typeof c[t(0xac)][t(0xaf)]===t(0xa8)&&e[t(0x92)]('css',c['template'][t(0xaf)]);typeof c[t(0xac)]['js']===t(0xa8)&&e[t(0x92)]('js',c['template']['js']);const k=b['_']?b['_'][0x0]['split'](':')[0x1]:![],l=b['_']&&aliases[t(0xb2)](k);l&&!f['checkNpmPackage']('ramda')&&(Log[t(0x8a)](t(0xb0)),f[t(0x82)](t(0x9f),{'cwd':i}));if(l&&!f[t(0x9e)]('react')){Log[t(0x8a)](t(0xad));return;}const m={'name':pascalCase(b['resourceName']),'myPath':a133e[t(0xb3)](d['findProjectDirectory'](),j),'cssCaseName':kebabCase(b[t(0x8b)]),'className':pascalCase(b[t(0x8b)]),'camelCaseName':camelCase(b[t(0x8b)]),'fileName':kebabCase(b[t(0x8b)]),'graphql':c[t(0x94)][t(0xa7)],'features':c[t(0x9a)],'client':c['engines'][t(0x86)],'api':c[t(0x94)][t(0x98)],'ssr':c[t(0x94)]['ssr'],'test':c[t(0x94)][t(0x90)],'theme':c['engines'][t(0xb7)],'isComponent':![],'isLayout':!![],'withTranslations':c[t(0x9a)][t(0x85)]};c[t(0x9a)]?.[t(0x84)]||b[t(0xa6)]?await g[t(0xac)]({'srcPath':t(0xa5),'destPath':j+t(0x99),'framework':'react','context':m,'config':c}):await g[t(0xac)]({'srcPath':'component/component.js','destPath':j+t(0x99),'framework':t(0xb4),'context':m,'config':c});c[t(0x94)][t(0x90)]!==t(0x8d)&&await g['template']({'srcPath':t(0x8e),'destPath':j+'.app-tests.js','framework':'react','context':m,'config':c});c[t(0xac)][t(0xaf)]&&(await g[t(0xac)]({'srcPath':t(0xa1),'destPath':j+t(0xb1),'context':Object[t(0x9c)]({},m,{'className':kebabCase(b[t(0x8b)])}),'config':c}),await g[t(0x88)]({'filePath':j+'.'+c[t(0x94)]['js'],'content':'import\x20\x27./'+m[t(0x95)]+'.'+c[t(0x94)]['css']+'\x27;'}));const n=b[t(0x8f)]?'/'+b[t(0x8f)]+'/':'/',o=''+h+n+m['fileName']+'/'+m[t(0x95)];await g[t(0x83)](m[t(0xa3)],c,o);});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a134i=a134d;function a134c(){const j=['355212vCiUXU','maka\x20g:package\x20package:name','apply','27KpRZyA','6334600wQNlip','1704ksNlpD','Scaffold\x20various\x20parts\x20of\x20your\x20application','42806zpyeiq','10803060CzLqfL','maka\x20{generate,\x20g}:<generator>\x20<name>','search','maka\x20g:route\x20todos/edit','6763280mMTwgB','maka\x20generate:scaffold\x20todos','toString','31465pFvVUz','generate','maka\x20g:dbc\x20geoserver\x20--type=pgsql','maka\x20g:api\x20trucks','6347376WWgWuR','52HhAHAV'];a134c=function(){return j;};return a134c();}function a134d(a,b){const c=a134c();return a134d=function(d,e){d=d-0x94;let f=c[d];return f;},a134d(a,b);}(function(a,b){const f=a134d,c=a();while(!![]){try{const d=-parseInt(f(0xa1))/0x1*(-parseInt(f(0x94))/0x2)+parseInt(f(0xa5))/0x3*(parseInt(f(0xa2))/0x4)+parseInt(f(0x99))/0x5+-parseInt(f(0xa0))/0x6+parseInt(f(0x9c))/0x7*(-parseInt(f(0xa7))/0x8)+-parseInt(f(0x95))/0x9+parseInt(f(0xa6))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a134c,0xa6a84));const a134b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a134d;if(c){const e=c[g(0xa4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a134a=a134b(this,function(){const h=a134d;return a134a['toString']()[h(0x97)]('(((.+)+)+)+$')[h(0x9b)]()['constructor'](a134a)['search']('(((.+)+)+)+$');});a134a();import{Generator}from'../generator.js';const MakaGen=new Generator({'name':a134i(0x9d),'aliases':['g'],'usage':a134i(0x96),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'resourceNameRequired':![],'shortDesc':a134i(0xa8),'examples':[a134i(0x9a),'maka\x20g:scaffold\x20todos','maka\x20g:template\x20todos/todo_item',a134i(0xa3),a134i(0x98),a134i(0x9f),a134i(0x9e)]},async function(){});export default MakaGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a135n=a135d;(function(a,b){const k=a135d,c=a();while(!![]){try{const d=parseInt(k(0x1c0))/0x1*(parseInt(k(0x1bb))/0x2)+parseInt(k(0x1ca))/0x3*(-parseInt(k(0x1bc))/0x4)+-parseInt(k(0x1b8))/0x5+-parseInt(k(0x1c1))/0x6+-parseInt(k(0x1c6))/0x7*(-parseInt(k(0x1d1))/0x8)+-parseInt(k(0x1c3))/0x9*(parseInt(k(0x1d7))/0xa)+parseInt(k(0x1d5))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a135c,0xb450e));function a135d(a,b){const c=a135c();return a135d=function(d,e){d=d-0x1b7;let f=c[d];return f;},a135d(a,b);}const a135b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a135d;if(c){const e=c[l(0x1b9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a135a=a135b(this,function(){const m=a135d;return a135a[m(0x1c5)]()['search'](m(0x1ba))[m(0x1c5)]()['constructor'](a135a)['search'](m(0x1ba));});a135a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,kebabCase,pascalCase}from'change-case';function a135c(){const p=['pathFromApp','imports','dir','8973976yqFRGk','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','47990QphMyO','startup','resourceName','index.','381445kMqgyG','apply','(((.+)+)+)+$','217986ddJRkS','4MCXzQq','scaffold','method/method.js','ddp-rate-limiter','7aDPZvG','5440998uAblLH','-rpc-method\x27;','1503qLLUhB','injectAtEndOfFile','toString','49tMgXWe','tsx','-rpc-method.','appPathPrefix','836013iZardT','methods','template','method','error','engines','maka:check','1397752hrFejA'];a135c=function(){return p;};return a135c();}Generator['create']({'name':a135n(0x1cd),'aliases':['m'],'usage':'maka\x20{generate,\x20g}:{method,\x20m}\x20name','mustBeInMakaProject':!![],'checkWhere':!![],'shortDesc':a135n(0x1d6),'validOpts':[a135n(0x1d4)],'examples':['maka\x20g:method\x20todos']},async function(a,b){const o=a135n;try{const c=this['projectConfig'],d=b['dir']?'/'+b[o(0x1d4)]+'/':'/',f=kebabCase(b[o(0x1d9)]),g={'name':b['resourceName'],'fileName':f,'className':pascalCase(b[o(0x1d9)]),'camelCase':camelCase(b['resourceName']),'noRename':!![]};let h='js';c[o(0x1cf)]['js']===o(0x1c7)&&(h='ts');await this['pkg']['checkMeteorPackage']([o(0x1d0),o(0x1bf),'mdg:validated-method'],{'shouldInstall':!![]}),await this[o(0x1bd)][o(0x1cc)]({'srcPath':o(0x1be),'destPath':this[o(0x1bd)][o(0x1d2)]({'pathParts':[o(0x1d3),'startup',b[o(0x1c9)],o(0x1cb),d,f+o(0x1c8)+h]}),'context':g,'config':c});const i=this['scaffold'][o(0x1d2)]({'pathParts':[o(0x1d3),o(0x1d8),b[o(0x1c9)],o(0x1b7)+c[o(0x1cf)]['js']]});await this[o(0x1bd)][o(0x1c4)]({'filePath':i,'content':'import\x20\x27./methods'+d+f+o(0x1c2)});}catch(j){Log[o(0x1ce)](j);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a136p=a136d;(function(a,b){const m=a136d,c=a();while(!![]){try{const d=-parseInt(m(0xd8))/0x1*(parseInt(m(0xeb))/0x2)+parseInt(m(0xf4))/0x3*(parseInt(m(0xf8))/0x4)+-parseInt(m(0xe5))/0x5+parseInt(m(0xee))/0x6*(parseInt(m(0xff))/0x7)+parseInt(m(0x102))/0x8*(-parseInt(m(0xfb))/0x9)+parseInt(m(0x105))/0xa*(parseInt(m(0xde))/0xb)+parseInt(m(0xd7))/0xc*(parseInt(m(0xd3))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a136c,0x68139));const a136b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a136d;if(c){const e=c[n(0x103)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a136a=a136b(this,function(){const o=a136d;return a136a[o(0xe6)]()[o(0xf7)]('(((.+)+)+)+$')['toString']()[o(0x107)](a136a)['search'](o(0xe8));});a136a();function a136c(){const r=['package/','client','template/template.js','component','33tTgZft','/package.js','theme','tests/client','scaffold','engines','fsi','3984040BJZoOM','toString','lib','(((.+)+)+)+$','graphql','pathFromAppWithNoReWrite','22fWYkJs','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','relative','138xrUHkO','package','ssr','noRename','pathFromApp','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','3XPAwFt','package.js','.js','search','187004fARPAZ','package/package.js','tests/server','951651iijcVP','dir','projectConfig','template','93352gvWrXV','create','resourceName','16LMXlje','apply','hasOwnProperty','2784790sLnSGl','packages','constructor','findProjectDirectory','52XpMoym','layout','server','features','2855172oGZKyy','64187KEzJqj','maka\x20g:package\x20todos:package'];a136c=function(){return r;};return a136c();}import a136e from'path';import{Generator}from'../generator.js';import{camelCase,kebabCase,pascalCase}from'change-case';function a136d(a,b){const c=a136c();return a136d=function(d,e){d=d-0xd2;let f=c[d];return f;},a136d(a,b);}Generator[a136p(0x100)]({'name':a136p(0xef),'aliases':['p'],'usage':a136p(0xf3),'mustBeInMakaProject':!![],'shortDesc':a136p(0xec),'validOpts':[a136p(0xfc)],'examples':[a136p(0xd9)]},async function(a,b){const q=a136p,c=kebabCase(b[q(0x101)]),d=b[q(0xfc)]?'/'+b[q(0xfc)]+'/':'/',e=this[q(0xe2)][q(0xf2)]({'pathParts':[q(0x106),d,c]}),f=this[q(0xe2)][q(0xea)]({'pathParts':['packages',d,c,q(0xf5)]}),g=this[q(0xfd)],h={'name':kebabCase(b['resourceName']),'myPath':a136e[q(0xed)](this[q(0xe4)][q(0xd2)](),e),'cssCaseName':kebabCase(b['resourceName']),'className':pascalCase(b['resourceName']),'camelCaseName':camelCase(b['resourceName']),'fileName':c,'client':g['engines'][q(0xdb)],'graphql':g[q(0xe3)][q(0xe9)],'ssr':g[q(0xe3)][q(0xf0)],'isComponent':b['hasOwnProperty'](q(0xdd)),'isLayout':b['hasOwnProperty'](q(0xd4)),'isStore':b[q(0x104)]('store'),'features':g[q(0xd6)],'noRename':!![],'theme':g['engines'][q(0xe0)]};await this[q(0xe2)][q(0xfe)]({'srcPath':q(0xf9),'destPath':f,'context':h,'config':g}),h[q(0xf1)]=![];const i=e+'/client/'+c+q(0xf6);await this[q(0xe2)][q(0xfe)]({'srcPath':q(0xdc),'destPath':i,'context':h,'config':g});const j=[q(0xe7),q(0xd5),q(0xe1),q(0xfa)];for(const k of j){const l=e+'/'+k+'/'+c+q(0xf6);await this['scaffold']['template']({'srcPath':q(0xda)+k+q(0xdf),'destPath':l,'context':h,'config':g});}});
|