@maka/maka-cli 5.0.31 → 5.0.32
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/templates/service/eslint/babelrc +16 -1
- package/bundle/obf/src/templates/service/eslint/config.eslint.js +29 -33
- 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
|
-
|
|
1
|
+
const a116o=a116d;(function(a,b){const l=a116d,c=a();while(!![]){try{const d=-parseInt(l(0x1ea))/0x1+-parseInt(l(0x1bf))/0x2+-parseInt(l(0x1d0))/0x3+-parseInt(l(0x1b6))/0x4*(parseInt(l(0x1de))/0x5)+parseInt(l(0x1bc))/0x6+-parseInt(l(0x1d5))/0x7*(parseInt(l(0x1c9))/0x8)+parseInt(l(0x1ed))/0x9*(parseInt(l(0x1d2))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a116c,0xde332));function a116c(){const q=['Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','fileName','dir','layouts','baseDir','string','cssCaseName','173043gkIeSb','(((.+)+)+)+$','pathFromApp','9fhlwau','warn','create','search','hook/hook.js','relative','@apollo/client\x20isomorphic-fetch','Creating\x20','resourceName','apollo','4rUCoQm','maka\x20g:hook\x20cool-hook','hooks','injectAtBeginningOfFile','className','scaffold','6172470qREiMU','projectConfig','pkg','2065644vyerQC','graphql','@apollo/client','maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','error','engines','installNpmPackage','.app-tests.js','import\x20\x27./','pages','128uuFOHd','.js','fsi','Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','/imports/ui/','checkNpmPackage','withTranslations','2677461OksEoH','setTemplate','42658600iGIeHc','hook','toString','350539TEqVvX','.css','force','test/test.js','none','react','assign','cfg','injectTemplateModule','7424455zScrHU','css','apply','features','template'];a116c=function(){return q;};return a116c();}const a116b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a116d;if(c){const e=c[m(0x1e0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a116a=a116b(this,function(){const n=a116d;return a116a[n(0x1d4)]()[n(0x1f0)](n(0x1eb))[n(0x1d4)]()['constructor'](a116a)[n(0x1f0)](n(0x1eb));});a116a();import a116e from'path';import{kebabCase,pascalCase,camelCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a116d(a,b){const c=a116c();return a116d=function(d,e){d=d-0x1b0;let f=c[d];return f;},a116d(a,b);}Generator[a116o(0x1ef)]({'name':a116o(0x1d3),'aliases':['h'],'checkWhere':![],'usage':a116o(0x1c2),'shortDesc':a116o(0x1cc),'mustBeInMakaProject':!![],'validOpts':[{'name':'baseDir','values':[a116o(0x1b8),'components',a116o(0x1c8),a116o(0x1e6)]},{'name':'force','boolFlag':!![]}],'examples':[a116o(0x1b7)],'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'](p(0x1b3)+b['resourceName']+'\x20hook...');try{await this['pkg'][p(0x1ce)](p(0x1da),{'shouldInstall':!![]});const c=this['fsi']['findAppDirectory'](),d=b[p(0x1e7)]?p(0x1cd)+b[p(0x1e7)]:'/imports/ui/components',f=this[p(0x1bb)][p(0x1ec)]({'pathParts':[d,b[p(0x1e5)],kebabCase(b[p(0x1b4)]),kebabCase(b[p(0x1b4)])]}),g=this[p(0x1bd)];typeof g[p(0x1e2)][p(0x1df)]===p(0x1e8)&&this[p(0x1dc)][p(0x1d1)]('css',g['template']['css']);g['engines'][p(0x1c0)]===p(0x1b5)&&!this[p(0x1be)][p(0x1ce)](p(0x1c1))&&(Log[p(0x1ee)](p(0x1e3)),await this[p(0x1be)][p(0x1c5)](p(0x1b2),{'cwd':c}));const h={'cssCaseName':kebabCase(b[p(0x1b4)]),'camelCaseName':camelCase(b[p(0x1b4)]),'className':pascalCase(b[p(0x1b4)]),'name':pascalCase(b[p(0x1b4)]),'graphql':g[p(0x1c4)]['graphql'],'theme':g[p(0x1c4)]['theme'],'features':g[p(0x1e1)],'myPath':a116e[p(0x1b1)](this[p(0x1cb)]['findProjectDirectory'](),f),'fileName':kebabCase(b[p(0x1b4)]),'isComponent':![],'isLayout':![],'withTranslations':g[p(0x1e1)][p(0x1cf)]};await this[p(0x1bb)][p(0x1e2)]({'srcPath':p(0x1b0),'destPath':f+p(0x1ca),'context':h,'config':g,'framework':p(0x1da),'force':b[p(0x1d7)]});g['template'][p(0x1df)]&&(await this[p(0x1bb)][p(0x1e2)]({'srcPath':'template/template.css','destPath':f+p(0x1d6),'context':Object[p(0x1db)]({},h,{'className':h[p(0x1e9)]}),'config':g,'force':b[p(0x1d7)]}),await this[p(0x1bb)][p(0x1b9)]({'filePath':f+'.'+g[p(0x1c4)]['js'],'content':p(0x1c7)+h[p(0x1e4)]+'.'+g[p(0x1c4)][p(0x1df)]+'\x27;'}));g['engines']['test']!==p(0x1d9)&&await this[p(0x1bb)][p(0x1e2)]({'srcPath':p(0x1d8),'destPath':f+p(0x1c6),'framework':p(0x1da),'context':h,'config':g,'force':b[p(0x1d7)]});const i=b[p(0x1e5)]?'/'+b[p(0x1e5)]+'/':'/',j=''+d+i+h[p(0x1e4)]+'/'+h[p(0x1e4)];await this['scaffold'][p(0x1dd)](h[p(0x1ba)],g,j);}catch(k){Log[p(0x1c3)](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(0x1ef))/0x1+-parseInt(f(0x1f1))/0x2+parseInt(f(0x1f0))/0x3+parseInt(f(0x1ec))/0x4+-parseInt(f(0x1ea))/0x5*(parseInt(f(0x1e9))/0x6)+-parseInt(f(0x1f2))/0x7+parseInt(f(0x1e7))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0x67772));var a117b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a117d;if(c){var e=c[g(0x1ed)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){var h=a117d;return a117a[h(0x1e8)]()[h(0x1eb)](h(0x1ee))[h(0x1e8)]()['constructor'](a117a)[h(0x1eb)](h(0x1ee));});function a117c(){var i=['(((.+)+)+)+$','3739qEshKa','567936hFsVVZ','675964mgvZfj','5106479ZhoJtH','11195648KdxkSm','toString','576AlXuXX','29930uZFeZT','search','1893688gLzggp','apply'];a117c=function(){return i;};return a117c();}a117a();function a117d(a,b){var c=a117c();return a117d=function(d,e){d=d-0x1e7;var f=c[d];return f;},a117d(a,b);}import'./kit.js';import'./mui/_index.js';import'./esri/_index.js';import'./auth/_index.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a118d,c=a();while(!![]){try{var d=-parseInt(f(
|
|
1
|
+
function a118c(){var i=['435879abSJPt','657496QMQnEZ','toString','4270BfVaoB','apply','search','542568RfOSOn','30055jwrDna','2648Sckfia','66rXhPmM','95735QwxQGe','(((.+)+)+)+$','159776Ltbkro'];a118c=function(){return i;};return a118c();}(function(a,b){var f=a118d,c=a();while(!![]){try{var d=-parseInt(f(0x83))/0x1+-parseInt(f(0x85))/0x2+parseInt(f(0x8c))/0x3+-parseInt(f(0x87))/0x4+parseInt(f(0x80))/0x5*(parseInt(f(0x82))/0x6)+parseInt(f(0x89))/0x7*(parseInt(f(0x81))/0x8)+parseInt(f(0x86))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0x26689));var a118b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a118d;if(c){var e=c[g(0x8a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){var h=a118d;return a118a['toString']()[h(0x8b)](h(0x84))[h(0x88)]()['constructor'](a118a)['search'](h(0x84));});a118a();import'./auth.generator.js';import'./provider.auth.gen.js';function a118d(a,b){var c=a118c();return a118d=function(d,e){d=d-0x80;var f=c[d];return f;},a118d(a,b);}import'./basic-meteor.auth.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a119c(){const j=['397539nwUaLX','maka\x20g:kit:a','148WNfmyH','search','9449510VOLNAO','35244mgmmIh','32KAVBHy','apply','12493KblaSt','(((.+)+)+)+$','toString','245YcpCzz','4692104QSPFwU','4740620ktASFG','4534404lLqbmL','auth','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:<kit-name>'];a119c=function(){return j;};return a119c();}const a119i=a119d;(function(a,b){const f=a119d,c=a();while(!![]){try{const d=parseInt(f(0x147))/0x1*(-parseInt(f(0x141))/0x2)+parseInt(f(0x14d))/0x3+parseInt(f(0x14b))/0x4+parseInt(f(0x14a))/0x5*(parseInt(f(0x144))/0x6)+-parseInt(f(0x143))/0x7+-parseInt(f(0x145))/0x8*(parseInt(f(0x13f))/0x9)+parseInt(f(0x14c))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0xf2fd6));const a119b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a119d;if(c){const e=c[g(0x146)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){const h=a119d;return a119a['toString']()[h(0x142)](h(0x148))[h(0x149)]()['constructor'](a119a)['search']('(((.+)+)+)+$');});a119a();import{Generator}from'../../../generator.js';import a119e from'../kit.js';const AuthGen=Generator['create']({'name':a119i(0x14e),'aliases':['a'],'usage':a119i(0x13e),'shortDesc':'Starting\x20point\x20for\x20generating\x20an\x20Auth\x20Provider','resourceNameRequired':![],'validOpts':[''],'isPro':!![],'examples':[a119i(0x140)],'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);function a119d(a,b){const c=a119c();return a119d=function(d,e){d=d-0x13e;let f=c[d];return f;},a119d(a,b);}export default AuthGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a120v=a120d;(function(a,b){const s=a120d,c=a();while(!![]){try{const d
|
|
1
|
+
const a120v=a120d;(function(a,b){const s=a120d,c=a();while(!![]){try{const d=parseInt(s(0x136))/0x1*(parseInt(s(0x142))/0x2)+-parseInt(s(0x12f))/0x3+-parseInt(s(0x144))/0x4*(parseInt(s(0x159))/0x5)+parseInt(s(0x151))/0x6+-parseInt(s(0x13c))/0x7+parseInt(s(0x141))/0x8+parseInt(s(0x13d))/0x9*(parseInt(s(0x160))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0x71071));const a120b=(function(){let a=!![];return function(b,c){const d=a?function(){const t=a120d;if(c){const e=c[t(0x154)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){const u=a120d;return a120a['toString']()[u(0x13b)](u(0x149))['toString']()[u(0x135)](a120a)[u(0x13b)](u(0x149));});a120a();function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0x124;let f=c[d];return f;},a120d(a,b);}function a120c(){const x=['3056490PWiniL','server','force','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','injectIntoFile','export\x20const\x20AuthProvider','.js','17019330VNmTBa','const\x20sendForgotPasswordEmail','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','accounts-password','meteor/meteor','useTracker','injectIntoCodeBlock','const\x20deauthenticateUser','startup','normalize','/imports/startup/client','\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','checkMeteorPackage','useEffect\x5c(','1735083UMRRtG','const\x20authenticateToken','authentication-service','exit','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','/imports/startup/lib','constructor','1PUHUMq','auth/roles','injectImport','imports','Meteor.startup','search','4973094MHnQEj','9RoLSqc','kit/auth/service/meteor-auth-service.js','\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\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','1474624pUXKsb','803134ActVlq','engines','4rIpYXt','meteor','processAndRunGenerator','Meteor','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','(((.+)+)+)+$','/imports/startup/client/authentication-service','meteor/accounts-base','const\x20registerNewUser','pathFromApp','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','\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','const\x20resetPasswordWithToken','451404IBFlCv','\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','const\x20getUserAuthorizations','apply','authentication-provider','react','\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','const\x20authenticateUser'];a120c=function(){return x;};return a120c();}import a120e from'path';import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a120f from'./auth.generator.js';import a120g from'../../../generators/maka.gen.js';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':a120v(0x145),'aliases':['m'],'usage':a120v(0x133),'shortDesc':a120v(0x14e),'validOpts':[a120v(0x15b)],'isPro':!![],'resourceNameRequired':![],'mustBeInMakaProject':!![],'requiredEngines':{'client':ClientEngines['REACT']},'description':a120v(0x152)},async function(a,b){const w=a120v,{fsi:c,pkg:d,scaffold:f,projectConfig:g}=this;try{const h=b['force']||![];await d[w(0x12d)]([w(0x124)],{'shouldInstall':!![]});const i=c['findProjectDirectory'](),j=c['findAppDirectory'](),k=g[w(0x143)]['ssr']==='meteor';await a120g[w(0x146)]('kit:auth:provider',[],{'force':h,'cwd':i,'config':g}),await a120g[w(0x146)]('publish',[w(0x137)],{'force':h,'globalPublish':!![],'cwd':i,'config':g});const l=j+a120e[w(0x12a)]('/imports/startup/server/publications/auth/roles.js'),m=k?w(0x134):w(0x12b),n=f[w(0x14d)]({'pathParts':[m,'','',w(0x131)]});await f['template']({'srcPath':w(0x13e),'destPath':n+w(0x15f),'framework':w(0x156),'context':{},'config':g,'force':h,'ignore':![]});const o=f[w(0x14d)]({'pathParts':[m,'','',w(0x155)]}),p=g[w(0x143)]['js'];await f[w(0x138)]({'filePath':o+'.'+p,'importName':'AuthService','modulePath':k?'/imports/startup/lib/authentication-service':w(0x14a),'isNamedExport':![]}),await f[w(0x127)]({'filePath':o+'.'+p,'content':w(0x13f),'begin':w(0x158),'replace':!![]}),await f[w(0x127)]({'filePath':o+'.'+p,'content':'\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','begin':w(0x130),'replace':!![]}),await f[w(0x127)]({'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':w(0x153),'replace':!![]}),await f[w(0x127)]({'filePath':o+'.'+p,'content':w(0x148),'begin':w(0x128),'replace':!![]}),await f['injectIntoCodeBlock']({'filePath':o+'.'+p,'content':w(0x15c),'begin':w(0x161),'replace':!![]}),await f[w(0x127)]({'filePath':o+'.'+p,'content':w(0x162),'begin':w(0x14c),'replace':!![]}),await f[w(0x127)]({'filePath':o+'.'+p,'content':w(0x140),'begin':w(0x150),'replace':!![]});k&&(await f[w(0x138)]({'filePath':o+'.'+p,'importName':w(0x126),'modulePath':'meteor/maka:react-tracker','isNamedExport':!![]}),await f[w(0x15d)]({'filePath':o+'.'+p,'content':w(0x12c),'begin':w(0x15e),'end':w(0x12e)}));await f[w(0x138)]({'filePath':l,'importName':w(0x147),'modulePath':w(0x125),'isNamedExport':!![],'injectAtStart':!![]}),await f[w(0x127)]({'filePath':l,'content':w(0x14f),'begin':'Meteor.publish','replace':!![]});const q=f['pathFromApp']({'pathParts':[w(0x139),w(0x129),w(0x15a),'index']});await f[w(0x138)]({'filePath':q+'.'+p,'importName':'Accounts','modulePath':w(0x14b),'isNamedExport':!![]}),await f['injectIntoCodeBlock']({'filePath':q+'.'+p,'content':w(0x157),'begin':w(0x13a),'replace':!![]});}catch(r){Log['error'](r),process[w(0x132)](0x1);}},async function(){},a120f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a121x=a121d;(function(a,b){const u=a121d,c=a();while(!![]){try{const d=parseInt(u(0x182))/0x1*(parseInt(u(0x185))/0x2)+-parseInt(u(0x183))/0x3+parseInt(u(0x17a))/0x4*(parseInt(u(0x18b))/0x5)+parseInt(u(0x186))/0x6+parseInt(u(0x180))/0x7*(parseInt(u(0x16c))/0x8)+parseInt(u(0x169))/0x9+-parseInt(u(0x163))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0x37078));const a121b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a121d;if(c){const e=c[v(0x15d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){const w=a121d;return a121a[w(0x18d)]()['search']('(((.+)+)+)+$')[w(0x18d)]()['constructor'](a121a)[w(0x17b)](w(0x177));});a121a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a121e from'./auth.generator.js';function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0x15d;let f=c[d];return f;},a121d(a,b);}import{capitalCase}from'change-case';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';function a121c(){const z=['<AuthProvider>','/imports/startup/lib/authentication-provider','8467680kYBzIE','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','authentication-provider','AuthProvider','provider','force','2855475qgaMRF','</AuthProvider>','appName','94184injzhu','scaffold','ssr','engines','split','exit','/imports/startup/client/authentication-provider','useContext','/imports/startup/client/index','<AppRoutes\x20/>','REACT','(((.+)+)+)+$','injectImport','\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','12TgbBGN','search','AuthContext','/imports/startup/client','meteor','/imports/startup/server/index','77Jpvtio','injectIntoCodeBlock','1UKfyNu','771183hUrVgm','bright','851998XPzOAU','1685190zbbteK','error','kit/auth/provider/authentication-provider.js','react','create','292645CZoUcl','injectAroundString','toString','apply','pathFromApp','const\x20useAuth','function\x20useAuth'];a121c=function(){return z;};return a121c();}Generator[a121x(0x18a)]({'name':a121x(0x167),'aliases':['p'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','shortDesc':a121x(0x164),'validOpts':[a121x(0x168)],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'client':ClientEngines[a121x(0x176)]},'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=a121x;try{const c=b[y(0x168)]||![];Log[y(0x184)]('Creating\x20an\x20AuthProvider\x20and\x20AuthContext');const {projectConfig:d}=this,f=d[y(0x16f)][y(0x16e)]===y(0x17e),g={'name':capitalCase(d[y(0x16b)])},h=f?'/imports/startup/lib':y(0x17d),i=this[y(0x16d)][y(0x15e)]({'pathParts':[h,'','',y(0x165)]});await this[y(0x16d)]['template']({'srcPath':y(0x188),'destPath':i+'.js','framework':'react','context':g,'config':d,'force':c,'ignore':![]});const j=d[y(0x16f)]['js'],k=h+'/routes',l=k[y(0x170)]('/'),m=this[y(0x16d)][y(0x15e)]({'pathParts':l});await this[y(0x16d)][y(0x178)]({'filePath':m+'.'+j,'importName':y(0x17c),'modulePath':f?'/imports/startup/lib/authentication-provider':y(0x172),'isNamedExport':!![]}),await this[y(0x16d)]['injectImport']({'filePath':m+'.'+j,'importName':y(0x173),'modulePath':y(0x189),'isNamedExport':!![],'injectAtStart':!![]}),await this[y(0x16d)][y(0x181)]({'filePath':m+'.'+j,'content':y(0x179),'begin':[y(0x15f),y(0x160)],'replace':!![]}),await this[y(0x16d)][y(0x181)]({'filePath':m+'.'+j,'content':'\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','begin':['const\x20PrivateRoute'],'replace':!![]});const n=y(0x174),o=n[y(0x170)]('/'),p=this['scaffold']['pathFromApp']({'pathParts':o});await this['scaffold'][y(0x178)]({'filePath':p+'.'+j,'importName':y(0x166),'modulePath':f?y(0x162):y(0x172),'isNamedExport':!![]}),await this[y(0x16d)][y(0x18c)]({'filePath':p+'.'+j,'aboveContent':'<AuthProvider>','belowContent':y(0x16a),'targetString':y(0x175),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q=y(0x17f),r=q['split']('/'),s=this[y(0x16d)][y(0x15e)]({'pathParts':r});await this[y(0x16d)][y(0x178)]({'filePath':s+'.'+j,'importName':y(0x166),'modulePath':f?y(0x162):y(0x172),'isNamedExport':!![]}),await this[y(0x16d)][y(0x18c)]({'filePath':s+'.'+j,'aboveContent':y(0x161),'belowContent':y(0x16a),'targetString':'<AppRoutes\x20history={history}/>','indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log[y(0x187)](t),process[y(0x171)](0x1);}},async function(){},a121e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a122d,c=a();while(!![]){try{var d=-parseInt(f(
|
|
1
|
+
function a122d(a,b){var c=a122c();return a122d=function(d,e){d=d-0x1cf;var f=c[d];return f;},a122d(a,b);}function a122c(){var h=['282174dJjxyC','(((.+)+)+)+$','2523069UjFnny','31249880SJgklw','constructor','toString','search','980782rTouHA','4dEbToJ','8BAHEOb','213715gECqxA','2581355fqPOfI','14zcGyty','4882656KMddik','11cUDJmX'];a122c=function(){return h;};return a122c();}(function(a,b){var f=a122d,c=a();while(!![]){try{var d=-parseInt(f(0x1d8))/0x1+parseInt(f(0x1dd))/0x2*(-parseInt(f(0x1d1))/0x3)+parseInt(f(0x1d9))/0x4*(parseInt(f(0x1db))/0x5)+-parseInt(f(0x1cf))/0x6+-parseInt(f(0x1dc))/0x7+parseInt(f(0x1da))/0x8*(parseInt(f(0x1d3))/0x9)+parseInt(f(0x1d4))/0xa*(parseInt(f(0x1d0))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0x98ea7));var a122b=(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;};}()),a122a=a122b(this,function(){var g=a122d;return a122a[g(0x1d6)]()[g(0x1d7)](g(0x1d2))['toString']()[g(0x1d5)](a122a)['search']('(((.+)+)+)+$');});a122a();import'./esri.generator.js';import'./map.esri.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a123i=a123d;(function(a,b){const f=a123d,c=a();while(!![]){try{const d=-parseInt(f(
|
|
1
|
+
const a123i=a123d;(function(a,b){const f=a123d,c=a();while(!![]){try{const d=-parseInt(f(0x1da))/0x1+-parseInt(f(0x1d5))/0x2+parseInt(f(0x1e5))/0x3+-parseInt(f(0x1dc))/0x4+-parseInt(f(0x1e1))/0x5*(parseInt(f(0x1de))/0x6)+-parseInt(f(0x1d6))/0x7*(-parseInt(f(0x1e2))/0x8)+parseInt(f(0x1d2))/0x9*(parseInt(f(0x1d9))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0x85056));const a123b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a123d;if(c){const e=c[g(0x1db)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){const h=a123d;return a123a[h(0x1e3)]()[h(0x1d4)]('(((.+)+)+)+$')[h(0x1e3)]()['constructor'](a123a)[h(0x1d4)]('(((.+)+)+)+$');});function a123c(){const k=['1188537mEgELX','/foo/bar','Starting\x20point\x20for\x20generating\x20Esri\x20Maps','4021902BvCLuO','\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','search','824972uDvGgV','7HbkAPV','maka\x20g:kit:e','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','20oGjzzy','544546giDphU','apply','315444ZUogWM','/foo','198UnjWnB','create','Esri\x20Kit\x20generated\x20successfully','100865ZqUWbB','7652168wGisdw','toString','esri'];a123c=function(){return k;};return a123c();}a123a();function a123d(a,b){const c=a123c();return a123d=function(d,e){d=d-0x1d2;let f=c[d];return f;},a123d(a,b);}import{Generator}from'../../../generator.js';import a123e from'../kit.js';const EsriGen=Generator[a123i(0x1df)]({'name':a123i(0x1e4),'aliases':['e'],'usage':a123i(0x1d8),'shortDesc':a123i(0x1e7),'resourceNameRequired':![],'validOpts':[''],'isPro':!![],'examples':[a123i(0x1d7)],'description':a123i(0x1d3)},async function(){const j=a123i;return{'success':!![],'message':j(0x1e0),'details':{'filesCreated':[j(0x1e6)],'filesUpdated':[j(0x1dd)]}};},async function(){},a123e);export default EsriGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a124v=a124d;(function(a,b){const s=a124d,c=a();while(!![]){try{const d
|
|
1
|
+
function a124c(){const x=['/imports/ui/','1621696ZNkSYL','create','/imports/startup/client/templates','pathFromApp','296901odpFhz','exit','esri-loader','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','dir','bright','toString','374152NGKdup','baseDir','engines','apply','appName','processAndRunGenerator','615185eXpyxz','231118YkBqdj','error','constructor','map','search','20Zyntlx','@esri/react-arcgis','/imports/startup/lib/templates','.js','544964NTfLgj','REACT','</div>','injectTemplateModule','6BHVTuG','196OqRUVZ','checkNpmPackage','react','page','replaceAll','findProjectDirectory','2217wnbpIs','<div\x20id=\x22map\x22>','(((.+)+)+)+$'];a124c=function(){return x;};return a124c();}const a124v=a124d;(function(a,b){const s=a124d,c=a();while(!![]){try{const d=parseInt(s(0x12d))/0x1+parseInt(s(0x126))/0x2+-parseInt(s(0x141))/0x3*(-parseInt(s(0x13b))/0x4)+-parseInt(s(0x12c))/0x5*(parseInt(s(0x13a))/0x6)+-parseInt(s(0x136))/0x7+-parseInt(s(0x145))/0x8+parseInt(s(0x149))/0x9*(parseInt(s(0x132))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0x1c82e));const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){const t=a124d;if(c){const e=c[t(0x129)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const u=a124d;return a124a[u(0x125)]()[u(0x131)](u(0x143))[u(0x125)]()[u(0x12f)](a124a)[u(0x131)](u(0x143));});a124a();import{Generator}from'../../../generator.js';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';function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0x121;let f=c[d];return f;},a124d(a,b);}Generator[a124v(0x146)]({'name':a124v(0x130),'aliases':['m'],'usage':a124v(0x122),'shortDesc':'Generate\x20an\x20Esri\x20map\x20component','validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'client':ClientEngines[a124v(0x137)],'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=a124v;try{const {projectConfig:c,fsi:d,pkg:f,scaffold:g}=this;Log[w(0x124)]('Generating\x20a\x20map\x20component');const h='basic-map';await f[w(0x13c)]([w(0x133),w(0x121)],{'shouldInstall':!![]});const i=d[w(0x140)](),j=c[w(0x128)]['ssr']==='meteor',k=await a124f[w(0x12b)](w(0x13e),[w(0x130)],{'cwd':i,'config':c}),l={'name':capitalCase(c[w(0x12a)])[w(0x13f)]('-','\x20'),'componentName':pascalCase(h)},m=b[w(0x127)]?w(0x144)+b[w(0x127)]:'/imports/ui/hooks',n=g[w(0x148)]({'pathParts':[m,b[w(0x123)],kebabCase(h),kebabCase(h)]});await g['template']({'srcPath':'kit/esri/map/'+h+w(0x135),'destPath':n+'.js','framework':w(0x13d),'context':l,'config':c,'force':![],'ignore':![]});const o=''+m+b[w(0x123)]+'/'+h+'/'+h;await g[w(0x139)](h,c,o);const p=k['split']('/'),q=g['pathFromApp']({'pathParts':p});await g['injectImport']({'filePath':q,'importName':pascalCase(h),'modulePath':j?w(0x134):w(0x147),'isNamedExport':!![]}),await g['injectIntoFile']({'filePath':q,'content':'\x0a<'+pascalCase(h)+'\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','begin':[w(0x142),w(0x142)],'end':[w(0x138)],'replace':!![]});}catch(r){Log[w(0x12e)](r),process[w(0x14a)](0x1);}},async function(){},a124e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a125i=a125d;(function(a,b){const f=a125d,c=a();while(!![]){try{const d
|
|
1
|
+
const a125i=a125d;(function(a,b){const f=a125d,c=a();while(!![]){try{const d=-parseInt(f(0x103))/0x1*(parseInt(f(0x10b))/0x2)+parseInt(f(0x102))/0x3+-parseInt(f(0x109))/0x4*(-parseInt(f(0x108))/0x5)+parseInt(f(0x101))/0x6*(parseInt(f(0x106))/0x7)+parseInt(f(0x10c))/0x8+-parseInt(f(0x107))/0x9+parseInt(f(0x10a))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0xeb502));const a125b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a125d;if(c){const e=c[g(0x104)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){const h=a125d;return a125a['toString']()[h(0x112)](h(0x10d))[h(0x113)]()['constructor'](a125a)[h(0x112)](h(0x10d));});a125a();import{Generator}from'../../generator.js';const KitGen=Generator[a125i(0x10e)]({'name':a125i(0x10f),'aliases':['k'],'usage':a125i(0x105),'shortDesc':'Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','minArgLength':0x1,'isPro':!![],'validOpts':[],'resourceNameRequired':![],'examples':[a125i(0x110),a125i(0x111)]},async function(){});function a125d(a,b){const c=a125c();return a125d=function(d,e){d=d-0x101;let f=c[d];return f;},a125d(a,b);}export default KitGen;function a125c(){const j=['1488850rAtpdb','2HqRpCp','12122848yzpdAz','(((.+)+)+)+$','create','kit','maka\x20g:kit','maka\x20g:k','search','toString','1703652GnBHdZ','2523921YlnEFv','1293863MWXhud','apply','maka\x20{generate,\x20g}:{kit}\x20<name>','14CTEXcV','13162428IiZtJI','92395mBLwzp','140EFPWFR'];a125c=function(){return j;};return a125c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a126d,c=a();while(!![]){try{var d
|
|
1
|
+
function a126c(){var i=['138610HpoFbI','4081WcbtOW','2263382OwaSJW','758891SRnwMU','search','(((.+)+)+)+$','568332mDtNsN','152nJcLlk','apply','1662460DUzNqA','5415776EmaIVx','toString','761440UWVKhD','3BsJfdd','66NAijuk'];a126c=function(){return i;};return a126c();}(function(a,b){var f=a126d,c=a();while(!![]){try{var d=parseInt(f(0xd2))/0x1+-parseInt(f(0xd7))/0x2*(parseInt(f(0xd3))/0x3)+-parseInt(f(0xd0))/0x4+-parseInt(f(0xcf))/0x5+parseInt(f(0xd4))/0x6*(-parseInt(f(0xd8))/0x7)+parseInt(f(0xcd))/0x8*(-parseInt(f(0xdb))/0x9)+-parseInt(f(0xd5))/0xa*(-parseInt(f(0xd6))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0xa948d));var a126b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a126d;if(c){var e=c[g(0xce)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){var h=a126d;return a126a['toString']()[h(0xd9)](h(0xda))[h(0xd1)]()['constructor'](a126a)[h(0xd9)](h(0xda));});a126a();function a126d(a,b){var c=a126c();return a126d=function(d,e){d=d-0xcd;var f=c[d];return f;},a126d(a,b);}import'./mui.generator.js';import'./frame.mui.gen.js';import'./auth.mui.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a127L=a127d;(function(a,b){const I=a127d,c=a();while(!![]){try{const d=-parseInt(I(0x1af))/0x1*(-parseInt(I(0x1b9))/0x2)+parseInt(I(0x1da))/0x3+parseInt(I(0x1cd))/0x4+parseInt(I(0x1e3))/0x5*(-parseInt(I(0x1ae))/0x6)+parseInt(I(0x1bf))/0x7+-parseInt(I(0x1c9))/0x8+-parseInt(I(0x1e7))/0x9*(parseInt(I(0x1e1))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0x625cf));const a127b=(function(){let a=!![];return function(b,c){const d=a?function(){const J=a127d;if(c){const e=c[J(0x1e5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){const K=a127d;return a127a[K(0x1ec)]()[K(0x1bd)](K(0x1cb))['toString']()[K(0x1b1)](a127a)[K(0x1bd)](K(0x1cb));});a127a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';function a127d(a,b){const c=a127c();return a127d=function(d,e){d=d-0x1ad;let f=c[d];return f;},a127d(a,b);}import{Actions}from'../../../tools/actions/actions.class.js';import a127e from'../../../generators/maka.gen.js';import a127f from'./mui.generator.js';function a127c(){const O=['.js','3957030TkbcNk','REACT','Custom\x20(roll\x20your\x20own)','baseDir','injectImport','kit:auth:meteor','forgot-password','kit/mui/auth/password-reset/','error','kit/mui/auth/forgot-password/','235128wSzsUz','select','(((.+)+)+)+$','register','905320xmTbtZ','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{auth,\x20a}','basic-logout-page','MATERIAL','engines','force','kit/mui/auth/login/','processAndRunGenerator','template','custom','ssr','login','pathFromApp','847116gLImLy','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20setup\x20with\x20login,\x20logout,\x20registration,\x20and\x20password\x20reset\x20pages.\x0a\x20\x20','kit/mui/auth/register/','kit/mui/auth/logout/','Meteor\x20Accounts','basic-login-page','findProjectDirectory','640MNtBru','/imports/ui/','19725nGaVnU','dir','apply','meteor','44865WLCdxE','maka\x20generate:kit:mui:auth','appName','react','/imports/startup/lib/authentication-provider','toString','injectTemplateModule','774XoAPZq','186239XRPqFy','create','constructor','reset-password/:token','Cleaning\x20up...','exit','/imports/startup/client/authentication-provider','route','Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','basic-forgot-password-page','2wDkDMd','authType','split','AuthContext','search'];a127c=function(){return O;};return a127c();}import{kebabCase,capitalCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a127L(0x1b0)]({'name':'auth','aliases':['a'],'usage':a127L(0x1ce),'shortDesc':a127L(0x1b7),'validOpts':['layouts',a127L(0x1d2)],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'theme':ThemeEngines[a127L(0x1d0)],'client':ClientEngines[a127L(0x1c0)]},'examples':[a127L(0x1e8),'maka\x20g:k:m:a'],'description':a127L(0x1db)},async function(a,b){const M=a127L;try{const {projectConfig:c,fsi:d,scaffold:f}=this,g=b[M(0x1d2)]||![],h=d[M(0x1e0)](),i=await Actions[M(0x1ca)]({'name':M(0x1ba),'message':'What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','choices':[{'name':M(0x1de),'value':M(0x1e6)},{'name':M(0x1c1),'value':M(0x1d6)}]}),j=M(0x1df),k=M(0x1cf),l='basic-register-page',m='basic-password-reset-page',n=M(0x1b8),o=b[M(0x1c2)]?M(0x1e2)+b['baseDir']:'/imports/ui/pages/auth',p=f[M(0x1d9)]({'pathParts':[o,b[M(0x1e4)],kebabCase(j),kebabCase(j)]}),q=f[M(0x1d9)]({'pathParts':[o,b[M(0x1e4)],kebabCase(k),kebabCase(k)]}),r=f[M(0x1d9)]({'pathParts':[o,b[M(0x1e4)],kebabCase(l),kebabCase(l)]}),s=f[M(0x1d9)]({'pathParts':[o,b[M(0x1e4)],kebabCase(m),kebabCase(m)]}),t=f[M(0x1d9)]({'pathParts':[o,b[M(0x1e4)],kebabCase(n),kebabCase(n)]}),u={'name':capitalCase(c[M(0x1e9)])};await f[M(0x1d5)]({'srcPath':M(0x1d3)+j+'.js','destPath':p+'.js','framework':M(0x1ea),'context':u,'config':c,'force':g,'ignore':![]}),await f[M(0x1d5)]({'srcPath':M(0x1dd)+k+M(0x1be),'destPath':q+M(0x1be),'framework':M(0x1ea),'context':u,'config':c,'force':g,'ignore':![]}),await f[M(0x1d5)]({'srcPath':M(0x1dc)+l+M(0x1be),'destPath':r+M(0x1be),'framework':M(0x1ea),'context':u,'config':c,'force':g,'ignore':![]}),await f[M(0x1d5)]({'srcPath':M(0x1c6)+m+M(0x1be),'destPath':s+M(0x1be),'framework':'react','context':u,'config':c,'force':g,'ignore':![]}),await f[M(0x1d5)]({'srcPath':M(0x1c8)+n+'.js','destPath':t+M(0x1be),'framework':'react','context':u,'config':c,'force':g,'ignore':![]});const v=''+o+b[M(0x1e4)]+'/'+j+'/'+j;await f[M(0x1ad)](j,c,v);const w=''+o+b[M(0x1e4)]+'/'+k+'/'+k;await f[M(0x1ad)](k,c,w);const x=''+o+b[M(0x1e4)]+'/'+l+'/'+l;await f[M(0x1ad)](l,c,x);const y=''+o+b[M(0x1e4)]+'/'+m+'/'+m;await f['injectTemplateModule'](m,c,y);const z=''+o+b[M(0x1e4)]+'/'+n+'/'+n;await f['injectTemplateModule'](n,c,z),await a127e['processAndRunGenerator'](M(0x1b6),[M(0x1df)],{'route':M(0x1d8),'cwd':h,'config':c}),await a127e[M(0x1d4)](M(0x1b6),[M(0x1cf)],{'route':'logout','private':!![],'cwd':h,'config':c}),await a127e['processAndRunGenerator'](M(0x1b6),['basic-register-page'],{'route':M(0x1cc),'cwd':h,'config':c}),await a127e[M(0x1d4)]('route',['basic-password-reset-page'],{'route':M(0x1b2),'cwd':h,'config':c}),await a127e[M(0x1d4)](M(0x1b6),[M(0x1b8)],{'route':M(0x1c5),'cwd':h,'config':c});i==='meteor'&&await a127e[M(0x1d4)](M(0x1c4),[],{'force':g,'cwd':h,'config':c});i===M(0x1d6)&&await a127e[M(0x1d4)]('kit:auth:provider',[],{'force':g,'cwd':h,'config':c});const A=c[M(0x1d1)][M(0x1d7)]===M(0x1e6),B=c[M(0x1d1)]['js'],C=f[M(0x1d9)]({'pathParts':v[M(0x1bb)]('/')});await f[M(0x1c3)]({'filePath':C+'.'+B,'importName':M(0x1bc),'modulePath':A?M(0x1eb):'/imports/startup/client/authentication-provider','isNamedExport':!![]});const D=f[M(0x1d9)]({'pathParts':w[M(0x1bb)]('/')});await f[M(0x1c3)]({'filePath':D+'.'+B,'importName':M(0x1bc),'modulePath':A?M(0x1eb):'/imports/startup/client/authentication-provider','isNamedExport':!![]});const E=f[M(0x1d9)]({'pathParts':x[M(0x1bb)]('/')});await f[M(0x1c3)]({'filePath':E+'.'+B,'importName':M(0x1bc),'modulePath':A?M(0x1eb):M(0x1b5),'isNamedExport':!![]});const F=f[M(0x1d9)]({'pathParts':y['split']('/')});await f[M(0x1c3)]({'filePath':F+'.'+B,'importName':M(0x1bc),'modulePath':A?M(0x1eb):'/imports/startup/client/authentication-provider','isNamedExport':!![]});const G=f['pathFromApp']({'pathParts':z[M(0x1bb)]('/')});await f[M(0x1c3)]({'filePath':G+'.'+B,'importName':M(0x1bc),'modulePath':A?M(0x1eb):M(0x1b5),'isNamedExport':!![]});}catch(H){Log[M(0x1c7)](H),process[M(0x1b4)](0x1);}},async function(){const N=a127L;console['log'](N(0x1b3));},a127f);export default a127f;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a128G=a128d;(function(a,b){const E=a128d,c=a();while(!![]){try{const d=parseInt(E(0x182))/0x1*(parseInt(E(0x192))/0x2)+-parseInt(E(0x170))/0x3*(parseInt(E(0x177))/0x4)+parseInt(E(0x16a))/0x5*(parseInt(E(0x15e))/0x6)+-parseInt(E(0x18f))/0x7*(-parseInt(E(0x167))/0x8)+parseInt(E(0x183))/0x9+-parseInt(E(0x160))/0xa+parseInt(E(0x17b))/0xb*(-parseInt(E(0x17d))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0x434b1));const a128b=(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;};}()),a128a=a128b(this,function(){const F=a128d;return a128a[F(0x179)]()[F(0x159)]('(((.+)+)+)+$')[F(0x179)]()[F(0x187)](a128a)[F(0x159)](F(0x169));});function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0x14e;let f=c[d];return f;},a128d(a,b);}a128a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';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':'frame','aliases':['f'],'usage':a128G(0x16b),'shortDesc':'Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','validOpts':[a128G(0x172),a128G(0x185),a128G(0x156),'force'],'isPro':![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'theme':ThemeEngines[a128G(0x176)],'client':ClientEngines[a128G(0x188)]},'examples':[a128G(0x15b),a128G(0x162)],'description':'\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20frame\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20'},async function(a,b){const H=a128G,{projectConfig:c,fsi:d,pkg:f,scaffold:g}=this;try{const h=b[H(0x186)]||![],i=H(0x175),j=H(0x15d),k='basic-sticky-footer',l=c[H(0x157)][H(0x161)]==='meteor';await f['checkMeteorPackage']([H(0x180),H(0x158)],{'shouldInstall':!![]});const m=d[H(0x16c)](),n=a128e[H(0x153)](m,H(0x18b),'ui','layouts'),o=d[H(0x18a)](n),p=o[H(0x15a)](z=>({'name':z,'value':z})),q=await Actions['checkbox']({'message':'Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','name':'layouts','choices':p});if(q[H(0x178)]===0x0){Log[H(0x15f)]('No\x20layouts\x20selected');return;}const r=b[H(0x185)]?'/imports/ui/'+b[H(0x185)]:H(0x181),s=g[H(0x168)]({'pathParts':[r,b[H(0x156)],kebabCase(i),kebabCase(i)]}),t=g[H(0x168)]({'pathParts':[r,b['dir'],kebabCase(j),kebabCase(j)]}),u=g['pathFromApp']({'pathParts':[r,b[H(0x156)],kebabCase(k),kebabCase(k)]}),v={'name':capitalCase(c[H(0x17c)])};await g['template']({'srcPath':H(0x166)+i+H(0x16f),'destPath':s+H(0x16f),'framework':'react','context':v,'config':c,'force':h,'ignore':![]}),await g[H(0x174)]({'srcPath':H(0x171)+j+H(0x16f),'destPath':t+H(0x16f),'framework':'react','context':v,'config':c,'force':h,'ignore':![]}),await g[H(0x174)]({'srcPath':H(0x16d)+k+H(0x16f),'destPath':u+H(0x16f),'framework':H(0x154),'context':v,'config':c,'force':h,'ignore':![]});const w=''+r+b[H(0x156)]+'/'+i+'/'+i;await g[H(0x18e)](i,c,w);const x=''+r+b[H(0x156)]+'/'+j+'/'+j;await g[H(0x18e)](j,c,x);const y=''+r+b[H(0x156)]+'/'+k+'/'+k;await g[H(0x18e)](k,c,y);for(const z of q){const A=d['getFiles'](a128e[H(0x153)](n,z),{'extensions':[H(0x190),H(0x17e)],'omit':[H(0x18d),H(0x163),H(0x14f)]});for(const B of A){const C=a128e[H(0x153)](n,z,B);await g[H(0x189)]({'filePath':C,'importName':H(0x155),'modulePath':H(0x16e),'isNamedExport':![]}),await g[H(0x189)]({'filePath':C,'importName':'Container','modulePath':H(0x151),'isNamedExport':![]}),await g[H(0x189)]({'filePath':C,'importName':pascalCase(i),'modulePath':l?H(0x17a):H(0x150),'isNamedExport':!![]}),await g[H(0x164)]({'filePath':C,'content':'<'+pascalCase(i)+H(0x152),'begin':['<div\x20id=\x22'+z+'\x22>',H(0x14e)+z+H(0x17f)],'end':[H(0x15c),H(0x165)]}),await g[H(0x189)]({'filePath':C,'importName':pascalCase(j),'modulePath':l?H(0x17a):H(0x150),'isNamedExport':!![]}),await g['injectIntoFile']({'filePath':C,'content':'<'+pascalCase(j)+'\x20/>\x0a','begin':[H(0x14e)+z+'\x22>',H(0x14e)+z+H(0x17f)],'end':['<Outlet/>',H(0x165)]}),await g[H(0x164)]({'filePath':C,'content':'<'+pascalCase(k)+H(0x152),'begin':[H(0x15c),H(0x165)],'end':[H(0x191)]}),await g[H(0x189)]({'filePath':C,'importName':pascalCase(k),'modulePath':l?H(0x17a):H(0x150),'isNamedExport':!![]}),await g[H(0x184)]({'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':H(0x18c),'targetString':[H(0x15c),H(0x165)],'targetIndentAdjustment':0x6});}}}catch(D){Log[H(0x15f)](D);}},async function(){const I=a128G;console['log'](I(0x173));},a128f);function a128c(){const J=['map','maka\x20generate:kit:mui:frame','<Outlet/>','basic-drawer','6NEelil','error','390160MGOKiu','ssr','maka\x20g:k:m:f','tests','injectIntoFile','<Outlet\x20/>','kit/mui/frame/app-bars/','16SLWDRx','pathFromApp','(((.+)+)+)+$','2676430Lavyfr','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f}','findAppDirectory','kit/mui/frame/footers/','@mui/material/Box','.js','183147CbVXXc','kit/mui/frame/drawers/','layouts','Cleaning\x20up...','template','basic-app-bar','MATERIAL','36YEllex','length','toString','/imports/startup/lib/templates','2604173qBdENm','appName','36cTkdiU','tsx','-hook\x22>','session','/imports/ui/components','357591bcCoXE','1563894sMiIBP','injectAroundString','baseDir','force','constructor','REACT','injectImport','getDirectories','imports','</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','app-tests','injectTemplateModule','1776866IdDTeg','jsx','</div>','2ZCFzyD','<div\x20id=\x22','test','/imports/startup/client/templates','@mui/material/Container','\x20/>\x0a','join','react','Box','dir','engines','maka:react-tracker','search'];a128c=function(){return J;};return a128c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a129j=a129d;(function(a,b){const g=a129d,c=a();while(!![]){try{const d
|
|
1
|
+
const a129j=a129d;(function(a,b){const g=a129d,c=a();while(!![]){try{const d=-parseInt(g(0x144))/0x1*(-parseInt(g(0x139))/0x2)+-parseInt(g(0x13a))/0x3+-parseInt(g(0x14c))/0x4*(-parseInt(g(0x12b))/0x5)+parseInt(g(0x13f))/0x6*(-parseInt(g(0x13e))/0x7)+parseInt(g(0x13c))/0x8+parseInt(g(0x142))/0x9+-parseInt(g(0x14b))/0xa*(parseInt(g(0x138))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0x23948));const a129b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a129d;if(c){const e=c[h(0x130)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){const i=a129d;return a129a[i(0x14d)]()[i(0x12e)]('(((.+)+)+)+$')[i(0x14d)]()[i(0x134)](a129a)[i(0x12e)]('(((.+)+)+)+$');});a129a();import{Generator}from'../../../generator.js';import{Actions}from'../../../tools/actions/actions.class.js';function a129d(a,b){const c=a129c();return a129d=function(d,e){d=d-0x12b;let f=c[d];return f;},a129d(a,b);}import{Log}from'../../../tools/log/log.class.js';import a129e from'../../../generators/maka.gen.js';import a129f from'../kit.js';const MuiGen=Generator['create']({'name':a129j(0x141),'aliases':['m'],'usage':a129j(0x133),'resourceNameRequired':![],'shortDesc':a129j(0x149),'validOpts':[''],'isPro':!![],'examples':[a129j(0x12f)]},async function(){const k=a129j;try{Log[k(0x131)](k(0x13d)),Log[k(0x12d)](k(0x148));const a=await Actions['checkbox']({'message':'Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','name':'kitChoices','choices':[{'name':k(0x145),'value':'frame'},{'name':'Auth\x20workflow\x20(login,\x20logout,\x20etc.)','value':k(0x146)}]}),b=this[k(0x137)][k(0x14e)](),c=this[k(0x147)][k(0x140)]();a[k(0x136)]('frame')&&await a129e['processAndRunGenerator']('kit:mui:frame',[],{'force':!![],'cwd':b,'config':c});a[k(0x136)](k(0x146))&&await a129e[k(0x13b)](k(0x12c),[],{'force':!![],'cwd':b,'config':c});if(a[k(0x132)]===0x0){Log[k(0x131)](k(0x14a));return;}}catch(d){Log[k(0x135)](d),process[k(0x143)](0x1);}},async function(){},a129f);export default MuiGen;function a129c(){const l=['maka\x20g:kit:m','apply','info','length','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','constructor','error','includes','fsi','22JhpywO','2jBexyU','723681frHozl','processAndRunGenerator','666072UZWxuM','Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!','28zRJnbo','310404oVrPPR','getMakaProjectConfig','mui','1356588poNuSE','exit','270821fzqnBV','Header,\x20Footer,\x20and\x20Drawer','auth','cfg','\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','Material-UI\x20Kit','No\x20MUI\x20kits\x20selected.\x20Exiting.','681860YWQEOe','2444mvCeBl','toString','findProjectDirectory','1845yvykOP','kit:mui:auth','notice','search'];a129c=function(){return l;};return a129c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a130s=a130d;(function(a,b){const p=a130d,c=a();while(!![]){try{const d
|
|
1
|
+
const a130s=a130d;(function(a,b){const p=a130d,c=a();while(!![]){try{const d=-parseInt(p(0x15e))/0x1+-parseInt(p(0x13a))/0x2*(parseInt(p(0x15a))/0x3)+-parseInt(p(0x13f))/0x4+-parseInt(p(0x14b))/0x5+-parseInt(p(0x149))/0x6+-parseInt(p(0x161))/0x7*(-parseInt(p(0x164))/0x8)+-parseInt(p(0x150))/0x9*(-parseInt(p(0x169))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0x2d238));const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a130d;if(c){const e=c[q(0x14c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const r=a130d;return a130a[r(0x13d)]()[r(0x147)](r(0x13e))[r(0x13d)]()[r(0x16d)](a130a)[r(0x147)](r(0x13e));});a130a();import a130e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a130c(){const u=['hook/hook.js','16GCuRbw','react','Scaffolding\x20for\x20a\x20React\x20Layout.','template','relative','10swszzV','maka\x20g:layout\x20mobile/iPhone8','.app-tests.js','dir','constructor','withHooks','component/component.js','2dGJNzm','injectAtBeginningOfFile','css','toString','(((.+)+)+)+$','1156744gmpAQb','findProjectDirectory','ramda','none','injectTemplateModule','string','layout','engines','search','template/template.css','1292484oaVZVg','features','995250QLSEYq','apply','.css','withTranslations','theme','9377271ynLDyJ','/imports/ui/layouts','setTemplate','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','fileName','client','.js','test','withHook','import\x20\x27./','1066641ZTiPOU','resourceName','warn','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','126912iEJFxQ','className','maka\x20g:l\x20web/safari','1151773KUVVDM','checkNpmPackage'];a130c=function(){return u;};return a130c();}function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0x13a;let f=c[d];return f;},a130d(a,b);}import{camelCase,kebabCase,pascalCase}from'change-case';const aliases=['l'];Generator['create']({'name':a130s(0x145),'aliases':aliases,'usage':'maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','shortDesc':a130s(0x166),'validOpts':['withHook'],'mustBeInMakaProject':!![],'examples':[a130s(0x16a),a130s(0x160)]},async function(a,b){const t=a130s,{projectConfig:c,fsi:d,cfg:e,pkg:f,scaffold:g}=this,h=t(0x151),i=d['findAppDirectory'](),j=g['pathFromApp']({'pathParts':[h,b['dir'],kebabCase(b['resourceName']),kebabCase(b[t(0x15b)])]});typeof c[t(0x167)]['test']==='string'&&e[t(0x152)]('test',c[t(0x167)]['test']);typeof c[t(0x167)][t(0x13c)]==='string'&&e[t(0x152)](t(0x13c),c[t(0x167)][t(0x13c)]);typeof c[t(0x167)]['js']===t(0x144)&&e['setTemplate']('js',c[t(0x167)]['js']);const k=b['_']?b['_'][0x0]['split'](':')[0x1]:![],l=b['_']&&aliases['includes'](k);l&&!f['checkNpmPackage'](t(0x141))&&(Log[t(0x15c)](t(0x15d)),f['installNpmPackage'](t(0x141),{'cwd':i}));if(l&&!f[t(0x162)](t(0x165))){Log['warn'](t(0x153));return;}const m={'name':pascalCase(b[t(0x15b)]),'myPath':a130e[t(0x168)](d[t(0x140)](),j),'cssCaseName':kebabCase(b[t(0x15b)]),'className':pascalCase(b[t(0x15b)]),'camelCaseName':camelCase(b[t(0x15b)]),'fileName':kebabCase(b[t(0x15b)]),'graphql':c[t(0x146)]['graphql'],'features':c[t(0x14a)],'client':c[t(0x146)][t(0x155)],'api':c[t(0x146)]['api'],'ssr':c[t(0x146)]['ssr'],'test':c[t(0x146)][t(0x157)],'theme':c['engines'][t(0x14f)],'isComponent':![],'isLayout':!![],'withTranslations':c[t(0x14a)][t(0x14e)]};c[t(0x14a)]?.[t(0x16e)]||b[t(0x158)]?await g[t(0x167)]({'srcPath':t(0x163),'destPath':j+'.js','framework':t(0x165),'context':m,'config':c}):await g[t(0x167)]({'srcPath':t(0x16f),'destPath':j+t(0x156),'framework':t(0x165),'context':m,'config':c});c[t(0x146)][t(0x157)]!==t(0x142)&&await g[t(0x167)]({'srcPath':'test/test.js','destPath':j+t(0x16b),'framework':t(0x165),'context':m,'config':c});c['template'][t(0x13c)]&&(await g['template']({'srcPath':t(0x148),'destPath':j+t(0x14d),'context':Object['assign']({},m,{'className':kebabCase(b['resourceName'])}),'config':c}),await g[t(0x13b)]({'filePath':j+'.'+c[t(0x146)]['js'],'content':t(0x159)+m[t(0x154)]+'.'+c[t(0x146)][t(0x13c)]+'\x27;'}));const n=b[t(0x16c)]?'/'+b['dir']+'/':'/',o=''+h+n+m['fileName']+'/'+m[t(0x154)];await g[t(0x143)](m[t(0x15f)],c,o);});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-
|
|
1
|
+
function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0xa1;let f=c[d];return f;},a131d(a,b);}const a131h=a131d;(function(a,b){const f=a131d,c=a();while(!![]){try{const d=parseInt(f(0xaf))/0x1+parseInt(f(0xa4))/0x2*(-parseInt(f(0xa6))/0x3)+parseInt(f(0xab))/0x4+-parseInt(f(0xaa))/0x5*(-parseInt(f(0xa1))/0x6)+parseInt(f(0xb4))/0x7+-parseInt(f(0xac))/0x8+-parseInt(f(0xa5))/0x9*(parseInt(f(0xb0))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0x54bfb));const a131b=(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;};}()),a131a=a131b(this,function(){const g=a131d;return a131a[g(0xb2)]()[g(0xae)](g(0xb1))[g(0xb2)]()[g(0xa2)](a131a)[g(0xae)](g(0xb1));});a131a();import{Generator}from'../generator.js';const MakaGen=new Generator({'name':'generate','aliases':['g'],'usage':'maka\x20{generate,\x20g}:<generator>\x20<name>','validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'resourceNameRequired':![],'shortDesc':a131h(0xa8),'examples':[a131h(0xa9),a131h(0xad),a131h(0xa7),a131h(0xa3),'maka\x20g:route\x20todos/edit',a131h(0xb5),a131h(0xb3)]},async function(){});function a131c(){const i=['(((.+)+)+)+$','toString','maka\x20g:dbc\x20geoserver\x20--type=pgsql','2943976PZHcZf','maka\x20g:api\x20trucks','36EnIWrw','constructor','maka\x20g:package\x20package:name','290216uNCUOq','36kGXdym','6QkNZxW','maka\x20g:template\x20todos/todo_item','Scaffold\x20various\x20parts\x20of\x20your\x20application','maka\x20generate:scaffold\x20todos','215375cTiVsi','613260PXSkSx','2767536qhAkEu','maka\x20g:scaffold\x20todos','search','477588xphtqq','816580CWkJTQ'];a131c=function(){return i;};return a131c();}export default MakaGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a132n=a132d;function a132c(){const p=['checkMeteorPackage','tsx','mdg:validated-method','1781432XPggNo','injectAtEndOfFile','startup','(((.+)+)+)+$','141153SXEQBR','method/method.js','toString','imports','apply','methods','appPathPrefix','pkg','ddp-rate-limiter','maka:check','7rWGbqn','import\x20\x27./methods','14794956nyUFEe','index.','48178QmIzcC','268676DCmJOp','dir','resourceName','create','maka\x20g:method\x20todos','scaffold','search','-rpc-method.','-rpc-method\x27;','method','error','18jrXSFT','5PVYVUd','template','15qubyJD','maka\x20{generate,\x20g}:{method,\x20m}\x20name','4916346bpbDes','engines','8539110Xuqrhc'];a132c=function(){return p;};return a132c();}(function(a,b){const k=a132d,c=a();while(!![]){try{const d=-parseInt(k(0x178))/0x1+-parseInt(k(0x15d))/0x2*(parseInt(k(0x16c))/0x3)+parseInt(k(0x15e))/0x4*(-parseInt(k(0x16a))/0x5)+-parseInt(k(0x16e))/0x6*(-parseInt(k(0x182))/0x7)+-parseInt(k(0x174))/0x8*(-parseInt(k(0x169))/0x9)+parseInt(k(0x170))/0xa+-parseInt(k(0x184))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a132c,0x6c9e1));const a132b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a132d;if(c){const e=c[l(0x17c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a132a=a132b(this,function(){const m=a132d;return a132a[m(0x17a)]()['search']('(((.+)+)+)+$')['toString']()['constructor'](a132a)[m(0x164)](m(0x177));});a132a();function a132d(a,b){const c=a132c();return a132d=function(d,e){d=d-0x15d;let f=c[d];return f;},a132d(a,b);}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,kebabCase,pascalCase}from'change-case';Generator[a132n(0x161)]({'name':a132n(0x167),'aliases':['m'],'usage':a132n(0x16d),'mustBeInMakaProject':!![],'checkWhere':!![],'shortDesc':'Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','validOpts':[a132n(0x15f)],'examples':[a132n(0x162)]},async function(a,b){const o=a132n;try{const c=this['projectConfig'],d=b[o(0x15f)]?'/'+b[o(0x15f)]+'/':'/',f=kebabCase(b[o(0x160)]),g={'name':b[o(0x160)],'fileName':f,'className':pascalCase(b[o(0x160)]),'camelCase':camelCase(b[o(0x160)]),'noRename':!![]};let h='js';c[o(0x16f)]['js']===o(0x172)&&(h='ts');await this[o(0x17f)][o(0x171)]([o(0x181),o(0x180),o(0x173)],{'shouldInstall':!![]}),await this[o(0x163)][o(0x16b)]({'srcPath':o(0x179),'destPath':this[o(0x163)]['pathFromApp']({'pathParts':['imports',o(0x176),b[o(0x17e)],o(0x17d),d,f+o(0x165)+h]}),'context':g,'config':c});const i=this[o(0x163)]['pathFromApp']({'pathParts':[o(0x17b),o(0x176),b['appPathPrefix'],o(0x185)+c[o(0x16f)]['js']]});await this[o(0x163)][o(0x175)]({'filePath':i,'content':o(0x183)+d+f+o(0x166)});}catch(j){Log[o(0x168)](j);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a133p=a133d;(function(a,b){const m=a133d,c=a();while(!![]){try{const d
|
|
1
|
+
const a133p=a133d;function a133c(){const r=['1711062MOIute','package','projectConfig','template','findProjectDirectory','hasOwnProperty','pathFromAppWithNoReWrite','create','918VyIOvX','packages','/package.js','702766iiyOVm','tests/client','relative','package/package.js','noRename','12930eKWwJF','1963059rAiZSK','apply','174cyFuqp','theme','resourceName','(((.+)+)+)+$','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','layout','/client/','1270287kiAVJs','template/template.js','ssr','store','engines','130HzgorA','29532sxKcfN','toString','server','7151056KdOVDH','dir','component','scaffold','maka\x20g:package\x20todos:package','search'];a133c=function(){return r;};return a133c();}(function(a,b){const m=a133d,c=a();while(!![]){try{const d=parseInt(m(0x6b))/0x1+-parseInt(m(0x89))/0x2+parseInt(m(0x73))/0x3*(parseInt(m(0x80))/0x4)+parseInt(m(0x70))/0x5*(-parseInt(m(0x68))/0x6)+-parseInt(m(0x71))/0x7+-parseInt(m(0x83))/0x8+parseInt(m(0x7a))/0x9*(parseInt(m(0x7f))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a133c,0x83eab));const a133b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a133d;if(c){const e=c[n(0x72)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a133a=a133b(this,function(){const o=a133d;return a133a[o(0x81)]()[o(0x88)](o(0x76))[o(0x81)]()['constructor'](a133a)['search'](o(0x76));});a133a();import a133e from'path';import{Generator}from'../generator.js';function a133d(a,b){const c=a133c();return a133d=function(d,e){d=d-0x65;let f=c[d];return f;},a133d(a,b);}import{camelCase,kebabCase,pascalCase}from'change-case';Generator[a133p(0x67)]({'name':a133p(0x8a),'aliases':['p'],'usage':'maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','mustBeInMakaProject':!![],'shortDesc':a133p(0x77),'validOpts':[a133p(0x84)],'examples':[a133p(0x87)]},async function(a,b){const q=a133p,c=kebabCase(b[q(0x75)]),d=b[q(0x84)]?'/'+b[q(0x84)]+'/':'/',e=this[q(0x86)]['pathFromApp']({'pathParts':[q(0x69),d,c]}),f=this[q(0x86)][q(0x66)]({'pathParts':[q(0x69),d,c,'package.js']}),g=this[q(0x8b)],h={'name':kebabCase(b[q(0x75)]),'myPath':a133e[q(0x6d)](this['fsi'][q(0x8d)](),e),'cssCaseName':kebabCase(b[q(0x75)]),'className':pascalCase(b[q(0x75)]),'camelCaseName':camelCase(b[q(0x75)]),'fileName':c,'client':g[q(0x7e)]['client'],'graphql':g[q(0x7e)]['graphql'],'ssr':g[q(0x7e)][q(0x7c)],'isComponent':b[q(0x65)](q(0x85)),'isLayout':b['hasOwnProperty'](q(0x78)),'isStore':b[q(0x65)](q(0x7d)),'features':g['features'],'noRename':!![],'theme':g[q(0x7e)][q(0x74)]};await this[q(0x86)][q(0x8c)]({'srcPath':q(0x6e),'destPath':f,'context':h,'config':g}),h[q(0x6f)]=![];const i=e+q(0x79)+c+'.js';await this[q(0x86)]['template']({'srcPath':q(0x7b),'destPath':i,'context':h,'config':g});const j=['lib',q(0x82),q(0x6c),'tests/server'];for(const k of j){const l=e+'/'+k+'/'+c+'.js';await this[q(0x86)][q(0x8c)]({'srcPath':'package/'+k+q(0x6a),'destPath':l,'context':h,'config':g});}});
|