@maka/maka-cli 4.13.16 → 4.13.17
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/patreon.js +1 -1
- package/bundle/obf/src/commands/profile.js +1 -1
- package/bundle/obf/src/commands/proxy.js +1 -1
- package/bundle/obf/src/commands/reconfig.js +1 -1
- package/bundle/obf/src/commands/register.js +1 -1
- package/bundle/obf/src/commands/run/_index.js +1 -1
- package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/run/run.command.js +1 -1
- package/bundle/obf/src/commands/set/_index.js +1 -1
- package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/set/set.command.js +1 -1
- package/bundle/obf/src/commands/ssh.js +1 -1
- package/bundle/obf/src/commands/ssl.js +1 -1
- package/bundle/obf/src/commands/test.js +1 -1
- package/bundle/obf/src/commands/undo.js +1 -1
- package/bundle/obf/src/commands/version.js +1 -1
- package/bundle/obf/src/error.js +1 -1
- package/bundle/obf/src/exec.js +1 -1
- package/bundle/obf/src/generator.js +1 -1
- package/bundle/obf/src/generators/_index.js +1 -1
- package/bundle/obf/src/generators/api.js +1 -1
- package/bundle/obf/src/generators/aws/_index.js +1 -1
- package/bundle/obf/src/generators/aws/aws.js +1 -1
- package/bundle/obf/src/generators/aws/cloudformation/_index.js +1 -1
- package/bundle/obf/src/generators/aws/cloudformation/cloudformation.js +1 -1
- package/bundle/obf/src/generators/aws/cloudformation/create-ec2-instance.cf.gen.js +1 -1
- package/bundle/obf/src/generators/collection.js +1 -1
- package/bundle/obf/src/generators/component.js +1 -1
- package/bundle/obf/src/generators/config.js +1 -1
- package/bundle/obf/src/generators/dbc.js +1 -1
- package/bundle/obf/src/generators/dockerfile.js +1 -1
- package/bundle/obf/src/generators/hook.js +1 -1
- package/bundle/obf/src/generators/kits/_index.js +1 -1
- package/bundle/obf/src/generators/kits/auth/_index.js +1 -1
- package/bundle/obf/src/generators/kits/auth/auth.generator.js +1 -1
- package/bundle/obf/src/generators/kits/auth/basic-meteor.auth.gen.js +1 -1
- package/bundle/obf/src/generators/kits/auth/provider.auth.gen.js +1 -1
- package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
- package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
- package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
- package/bundle/obf/src/generators/kits/kit.js +1 -1
- package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
- package/bundle/obf/src/generators/kits/mui/auth.mui.gen.js +1 -1
- package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
- package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
- package/bundle/obf/src/generators/layout.js +1 -1
- package/bundle/obf/src/generators/maka.gen.js +1 -1
- package/bundle/obf/src/generators/methods.js +1 -1
- package/bundle/obf/src/generators/package.js +1 -1
- package/bundle/obf/src/generators/page.js +1 -1
- package/bundle/obf/src/generators/publish.js +1 -1
- package/bundle/obf/src/generators/route.js +1 -1
- package/bundle/obf/src/generators/service.js +1 -1
- package/bundle/obf/src/generators/services/_index.js +1 -1
- package/bundle/obf/src/generators/services/openssl.js +1 -1
- package/bundle/obf/src/generators/services/translation.js +1 -1
- package/bundle/obf/src/maka.js +1 -1
- package/bundle/obf/src/tool.js +1 -1
- package/bundle/obf/src/tools/actions/actions.class.js +1 -1
- package/bundle/obf/src/tools/aws/aws.class.js +1 -1
- package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
- package/bundle/obf/src/tools/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/options/options.class.js +1 -1
- package/bundle/obf/src/tools/progress/progress.class.js +1 -1
- package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
- package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
- package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
- package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
- package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0x197;let f=c[d];return f;},a117d(a,b);}const a117n=a117d;(function(a,b){const l=a117d,c=a();while(!![]){try{const d=-parseInt(l(0x1aa))/0x1*(parseInt(l(0x1c4))/0x2)+-parseInt(l(0x1d2))/0x3+-parseInt(l(0x1af))/0x4*(parseInt(l(0x1ca))/0x5)+parseInt(l(0x1bd))/0x6+-parseInt(l(0x1b8))/0x7+-parseInt(l(0x1a2))/0x8+parseInt(l(0x1b7))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0x8ae96));const a117b=(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;};}()),a117a=a117b(this,function(){const m=a117d;return a117a[m(0x1a1)]()[m(0x1b9)]('(((.+)+)+)+$')[m(0x1a1)]()[m(0x1d3)](a117a)[m(0x1b9)](m(0x1cd));});a117a();import a117e from'path';import{paramCase,pascalCase,camelCase}from'change-case';function a117c(){const q=['react','injectTemplateModule','Creating\x20','error','/imports/ui/','template/template.css','cssCaseName','858505cTbXky','hooks','\x20hook...','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','css','2371948PxpCcQ','baseDir','test','hook/hook.js','pathFromProject','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','features','none','23475897mhmCLL','5260969XOxrpP','search','/imports/ui/components','dir','withTranslations','6466980SrAaLD','installNpmPackage','force','relative','getMakaProjectConfig','setTemplate','engines','2ATxEyf','assign','@apollo/client','graphql','pathFromApp','resourceName','5PcdSSp','template','fileName','(((.+)+)+)+$','className','pages','notice','import\x20\x27./','273240iJhdVf','constructor','warn','Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','checkNpmPackage','hook','true','injectAtBeginningOfFile','components','fsi','@apollo/client\x20isomorphic-fetch','findAppDirectory','toString','6585136ocbqOc'];a117c=function(){return q;};return a117c();}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';Generator['create']({'name':a117n(0x19a),'aliases':['h'],'checkWhere':![],'usage':'maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','shortDesc':a117n(0x198),'validOpts':[{'name':'baseDir','values':[a117n(0x1ab),a117n(0x19d),a117n(0x1cf),'layouts']},{'name':'force','boolFlag':!![]}],'examples':['maka\x20g:hook\x20cool-hook'],'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 o=a117n;Log[o(0x1d0)](o(0x1a5)+b[o(0x1c9)]+o(0x1ac));try{const c=this[o(0x19e)]['checkNpmPackage'](o(0x1a3));if(!c){Log['error'](o(0x1ad));throw new UsageError();}const d=this[o(0x19e)][o(0x1a0)](),f=b[o(0x1b0)]?o(0x1a7)+b['baseDir']:o(0x1ba),g=this[o(0x19e)][o(0x1c8)]({'pathParts':[f,b[o(0x1bb)],paramCase(b[o(0x1c9)]),paramCase(b[o(0x1c9)])]}),h=await this[o(0x19e)][o(0x1c1)]();await this[o(0x19e)]['withValue'](h,async()=>{const p=o;typeof h[p(0x1cb)][p(0x1ae)]==='string'&&(h[p(0x1cb)]['css']=h[p(0x1cb)][p(0x1ae)]===p(0x19b)?!![]:![],this[p(0x19e)][p(0x1c2)](p(0x1ae),h['template'][p(0x1ae)]));h[p(0x1c3)][p(0x1c7)]==='apollo'&&!this[p(0x19e)][p(0x199)](p(0x1c6))&&(Log[p(0x197)](p(0x1b4)),await this[p(0x19e)][p(0x1be)](p(0x19f),{'cwd':d}));const i={'cssCaseName':paramCase(b['resourceName']),'camelCaseName':camelCase(b[p(0x1c9)]),'className':pascalCase(b[p(0x1c9)]),'name':pascalCase(b[p(0x1c9)]),'graphql':h[p(0x1c3)][p(0x1c7)],'theme':h[p(0x1c3)]['theme'],'features':h[p(0x1b5)],'myPath':a117e[p(0x1c0)](this[p(0x19e)][p(0x1b3)]({}),g),'fileName':paramCase(b[p(0x1c9)]),'isComponent':![],'isLayout':![],'withTranslations':h[p(0x1b5)][p(0x1bc)]};await this[p(0x19e)][p(0x1cb)]({'srcPath':p(0x1b2),'destPath':g+'.js','context':i,'config':h,'framework':p(0x1a3),'force':b[p(0x1bf)]});h['template'][p(0x1ae)]&&(await this[p(0x19e)]['template']({'srcPath':p(0x1a8),'destPath':g+'.css','context':Object[p(0x1c5)]({},i,{'className':i[p(0x1a9)]}),'config':h,'force':b[p(0x1bf)]}),await this['fsi'][p(0x19c)]({'filePath':g+'.'+h[p(0x1c3)]['js'],'content':p(0x1d1)+i[p(0x1cc)]+'.'+h[p(0x1c3)][p(0x1ae)]+'\x27;'}));h[p(0x1c3)][p(0x1b1)]!==p(0x1b6)&&await this['fsi']['template']({'srcPath':'test/test.js','destPath':g+'.app-tests.js','framework':'react','context':i,'config':h,'force':b[p(0x1bf)]});const j=b['dir']?'/'+b[p(0x1bb)]+'/':'/',k=''+f+j+i[p(0x1cc)]+'/'+i[p(0x1cc)];await this[p(0x19e)][p(0x1a4)](i[p(0x1ce)],h,k);});}catch(i){Log[o(0x1a6)](i);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(a,b){var f=a118d,c=a();while(!![]){try{var d=-parseInt(f(0x83))/0x1*(parseInt(f(0x8a))/0x2)+parseInt(f(0x88))/0x3+-parseInt(f(0x8d))/0x4*(parseInt(f(0x85))/0x5)+-parseInt(f(0x8e))/0x6*(parseInt(f(0x8c))/0x7)+-parseInt(f(0x84))/0x8+-parseInt(f(0x82))/0x9*(parseInt(f(0x8f))/0xa)+parseInt(f(0x89))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0x25b60));var a118b=(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;};}()),a118a=a118b(this,function(){var g=a118d;return a118a['toString']()[g(0x87)](g(0x8b))[g(0x86)]()[g(0x90)](a118a)['search'](g(0x8b));});a118a();function a118d(a,b){var c=a118c();return a118d=function(d,e){d=d-0x82;var f=c[d];return f;},a118d(a,b);}import'./kit.js';import'./mui/_index.js';import'./esri/_index.js';import'./auth/_index.js';function a118c(){var h=['5ympgSR','toString','search','444504nEGUKp','8181690WoDCPw','11674qAWgKh','(((.+)+)+)+$','7Kaxyod','212684eYDUSw','578598sLSJkI','90amNpNg','constructor','216000EPwsEU','17mZrSSC','2181288kLlOYR'];a118c=function(){return h;};return a118c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(a,b){var f=a119d,c=a();while(!![]){try{var d=-parseInt(f(0x158))/0x1+-parseInt(f(0x159))/0x2*(parseInt(f(0x153))/0x3)+-parseInt(f(0x15d))/0x4+parseInt(f(0x154))/0x5*(-parseInt(f(0x15f))/0x6)+-parseInt(f(0x15c))/0x7*(-parseInt(f(0x15b))/0x8)+-parseInt(f(0x152))/0x9+-parseInt(f(0x151))/0xa*(-parseInt(f(0x15a))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0xa9a19));var a119b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a119d;if(c){var e=c[g(0x156)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){var h=a119d;return a119a[h(0x15e)]()[h(0x157)](h(0x155))[h(0x15e)]()['constructor'](a119a)[h(0x157)](h(0x155));});a119a();import'./auth.generator.js';function a119d(a,b){var c=a119c();return a119d=function(d,e){d=d-0x151;var f=c[d];return f;},a119d(a,b);}import'./provider.auth.gen.js';function a119c(){var i=['168723vYgVWT','209665krRoNx','(((.+)+)+)+$','apply','search','1166924RXrcou','6GkEvht','55WPotOk','8uZmQrx','3606372XRhDtd','3038116YAQcse','toString','132hGXGpa','7710170yIxtjI','5919930eDBwdI'];a119c=function(){return i;};return a119c();}import'./basic-meteor.auth.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a120i=a120d;(function(a,b){const f=a120d,c=a();while(!![]){try{const d=parseInt(f(0x8c))/0x1+-parseInt(f(0x92))/0x2*(-parseInt(f(0x91))/0x3)+parseInt(f(0x8d))/0x4*(parseInt(f(0x9c))/0x5)+parseInt(f(0x95))/0x6*(-parseInt(f(0x96))/0x7)+parseInt(f(0x97))/0x8+-parseInt(f(0x9e))/0x9*(parseInt(f(0x8b))/0xa)+-parseInt(f(0x93))/0xb*(parseInt(f(0x9d))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0x59a3c));const a120b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a120d;if(c){const e=c[g(0x99)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){const h=a120d;return a120a[h(0x8f)]()['search']('(((.+)+)+)+$')[h(0x8f)]()[h(0x9a)](a120a)[h(0x9f)](h(0x94));});a120a();import{Generator}from'../../../generator.js';function a120c(){const k=['869ktUXbe','(((.+)+)+)+$','24HfFOVP','722428dIWylY','2357912MIMEyK','Starting\x20point\x20for\x20generating\x20an\x20Auth\x20Provider','apply','constructor','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:<kit-name>','5ljJqIC','68016nFQOpl','9lcOUJd','search','3300650bfbdMu','566616zWxZJP','945548hkXlCC','create','toString','NIE','21UcxYPf','131450cwdKid'];a120c=function(){return k;};return a120c();}import a120e from'../kit.js';const AuthGen=Generator[a120i(0x8e)]({'name':'auth','aliases':['a'],'usage':a120i(0x9b),'noNeedResource':!![],'shortDesc':a120i(0x98),'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 j=a120i;throw j(0x90);},async function(){},a120e);function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0x8b;let f=c[d];return f;},a120d(a,b);}export default AuthGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a121c(){const t=['28495ltJgzB','const\x20getUserAuthorizations','react','AuthService','199052ATFWWr','const\x20authenticateToken','constructor','const\x20resetPasswordWithToken','1986261dTjdsF','search','268iHtbph','meteor/meteor','error','\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','pathFromApp','(((.+)+)+)+$','meteor','getMakaProjectConfig','imports','fsi','\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','accounts-password','ssr','export\x20const\x20AuthProvider','.js','server','\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.publish','\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','\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.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','findProjectDirectory','useTracker','force','113057xEaSTx','\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','startup','exit','const\x20sendForgotPasswordEmail','kit/auth/service/meteor-auth-service.js','const\x20deauthenticateUser','Meteor.startup','alanning:roles','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','injectIntoCodeBlock','processAndRunGenerator','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','publish','injectImport','Meteor','engines','225318BfeNLg','const\x20registerNewUser','toString','meteor/maka:react-tracker','2928348KjfvrR','Accounts','authentication-service','index','/imports/startup/lib','true','/imports/startup/lib/authentication-service','create','2525896pAKktt'];a121c=function(){return t;};return a121c();}const a121q=a121d;(function(a,b){const o=a121d,c=a();while(!![]){try{const d=parseInt(o(0x1bc))/0x1+-parseInt(o(0x1cd))/0x2+parseInt(o(0x1d1))/0x3+-parseInt(o(0x1d3))/0x4*(-parseInt(o(0x1c9))/0x5)+-parseInt(o(0x1c0))/0x6+-parseInt(o(0x1eb))/0x7+-parseInt(o(0x1c8))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0x55646));const a121b=(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;};}()),a121a=a121b(this,function(){const p=a121d;return a121a[p(0x1be)]()[p(0x1d2)](p(0x1d8))[p(0x1be)]()[p(0x1cf)](a121a)['search'](p(0x1d8));});a121a();import{Generator}from'../../../generator.js';function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0x1bc;let f=c[d];return f;},a121d(a,b);}import{Log}from'../../../tools/log/log.class.js';import a121e from'./auth.generator.js';import a121f from'../../../generators/maka.gen.js';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a121q(0x1c7)]({'name':a121q(0x1d9),'aliases':['m'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','shortDesc':a121q(0x1f7),'validOpts':[a121q(0x1ea)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines['REACT']},'description':a121q(0x1ec)},async function(a,b){const r=a121q;try{const c=b[r(0x1ea)]||![];await this['fsi']['checkMeteorPackage']([r(0x1de),r(0x1f3)],{'shouldInstall':!![]});const d=this[r(0x1dc)][r(0x1e8)](),f=this[r(0x1dc)][r(0x1da)](),g=f[r(0x1fb)][r(0x1df)]===r(0x1c5);await a121f[r(0x1f6)]('kit:auth:provider',[],{'force':c,'cwd':d,'config':f});const h=await a121f[r(0x1f6)](r(0x1f8),['auth/roles'],{'force':c,'globalPublish':!![],'cwd':d,'config':f}),i=g?r(0x1c4):'/imports/startup/client',j=this[r(0x1dc)]['pathFromApp']({'pathParts':[i,'','',r(0x1c2)]});await this[r(0x1dc)]['withValue'](f,async()=>{const s=r;await this['fsi']['template']({'srcPath':s(0x1f0),'destPath':j+s(0x1e1),'framework':s(0x1cb),'context':{},'config':f,'force':c,'ignore':![]});});const k=this[r(0x1dc)][r(0x1d7)]({'pathParts':[i,'','','authentication-provider']}),l=f[r(0x1fb)]['js'];await this[r(0x1dc)][r(0x1f9)]({'filePath':k+'.'+l,'importName':r(0x1cc),'modulePath':g?r(0x1c6):'/imports/startup/client/authentication-service','isNamedExport':![]}),await this[r(0x1dc)]['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':r(0x1e6),'begin':'const\x20authenticateUser','replace':!![]}),await this[r(0x1dc)]['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':r(0x1d6),'begin':r(0x1ce),'replace':!![]}),await this[r(0x1dc)][r(0x1f5)]({'filePath':k+'.'+l,'content':r(0x1e5),'begin':r(0x1ca),'replace':!![]}),await this[r(0x1dc)][r(0x1f5)]({'filePath':k+'.'+l,'content':r(0x1e7),'begin':r(0x1f1),'replace':!![]}),await this[r(0x1dc)][r(0x1f5)]({'filePath':k+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','begin':r(0x1ef),'replace':!![]}),await this['fsi'][r(0x1f5)]({'filePath':k+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','begin':r(0x1bd),'replace':!![]}),await this[r(0x1dc)]['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':r(0x1f4),'begin':r(0x1d0),'replace':!![]});g&&(await this[r(0x1dc)][r(0x1f9)]({'filePath':k+'.'+l,'importName':r(0x1e9),'modulePath':r(0x1bf),'isNamedExport':!![]}),await this[r(0x1dc)]['injectIntoFile']({'filePath':k+'.'+l,'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':r(0x1e0),'end':'return\x20\x5c('}));await this[r(0x1dc)][r(0x1f9)]({'filePath':h,'importName':r(0x1fa),'modulePath':r(0x1d4),'isNamedExport':!![],'injectAtStart':!![]}),await this[r(0x1dc)][r(0x1f5)]({'filePath':h,'content':r(0x1dd),'begin':r(0x1e4),'replace':!![]});const m=this[r(0x1dc)][r(0x1d7)]({'pathParts':[r(0x1db),r(0x1ed),r(0x1e2),r(0x1c3)]});await this[r(0x1dc)][r(0x1f9)]({'filePath':m+'.'+l,'importName':r(0x1c1),'modulePath':'meteor/accounts-base','isNamedExport':!![]}),await this['fsi']['injectIntoCodeBlock']({'filePath':m+'.'+l,'content':r(0x1e3),'begin':r(0x1f2),'replace':!![]});}catch(n){Log[r(0x1d5)](n),process[r(0x1ee)](0x1);}},async function(){},a121e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a122x=a122d;
|
|
1
|
+
const a122x=a122d;function a122c(){const A=['REACT','</AuthProvider>','114cJHkSu','7294580HOQAaG','\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','kit/auth/provider/authentication-provider.js','appName','8244uQOBGy','authentication-provider','688632kHzaOj','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','Creating\x20an\x20AuthProvider\x20and\x20AuthContext','/imports/startup/client','<AuthProvider>','/imports/startup/lib','split','24pYYVjs','1475744dzGlvl','.js','<Routes\x20history={browserHistory}/>','/imports/startup/lib/authentication-provider','injectAroundString','AuthProvider','toString','exit','(((.+)+)+)+$','183258ejDzPf','template','injectImport','replaceAll','bright','AuthContext','158697hpHtzB','apply','error','1130nugvvJ','engines','create','ssr','injectIntoCodeBlock','pathFromApp','\x0a\x20\x20\x20\x20\x20\x20const\x20{\x20currentUser,\x20loading\x20}\x20=\x20useContext(AuthContext);\x0a\x20\x20\x20\x20\x20\x20if\x20(loading)\x20return\x20<PublicRoutes\x20history={history}/>;\x0a\x20\x20\x20\x20\x20\x20return\x20(!currentUser)\x20?\x20<PublicRoutes\x20history={history}/>\x20:\x20<PrivateRoutes\x20history={history}/>;\x0a\x20\x20\x20\x20\x20\x20','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','/imports/startup/client/authentication-provider','search','13406lxMYjd','fsi','force','/imports/startup/server/index','true','react','function\x20Routes','/routes'];a122c=function(){return A;};return a122c();}(function(a,b){const u=a122d,c=a();while(!![]){try{const d=-parseInt(u(0x11c))/0x1+-parseInt(u(0x129))/0x2*(-parseInt(u(0x133))/0x3)+parseInt(u(0x10d))/0x4+-parseInt(u(0x11f))/0x5*(-parseInt(u(0x138))/0x6)+parseInt(u(0x13a))/0x7+-parseInt(u(0x10c))/0x8*(-parseInt(u(0x116))/0x9)+-parseInt(u(0x134))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0x322a9));const a122b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a122d;if(c){const e=c[v(0x11d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){const w=a122d;return a122a['toString']()[w(0x128)](w(0x115))[w(0x113)]()['constructor'](a122a)[w(0x128)](w(0x115));});a122a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a122e from'./auth.generator.js';import{headerCase}from'change-case';function a122d(a,b){const c=a122c();return a122d=function(d,e){d=d-0x107;let f=c[d];return f;},a122d(a,b);}import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a122x(0x121)]({'name':'provider','aliases':['p'],'usage':a122x(0x13b),'shortDesc':a122x(0x126),'validOpts':[a122x(0x12b)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a122x(0x131)]},'description':a122x(0x135)},async function(a,b){const y=a122x;try{const c=b[y(0x12b)]||![];Log[y(0x11a)](y(0x107));const d=this[y(0x12a)]['getMakaProjectConfig'](),f=d[y(0x120)][y(0x122)]===y(0x12d),g={'name':headerCase(d[y(0x137)])[y(0x119)]('-','\x20')},h=f?y(0x10a):y(0x108),i=this[y(0x12a)][y(0x124)]({'pathParts':[h,'','',y(0x139)]});await this[y(0x12a)]['withValue'](d,async()=>{const z=y;await this[z(0x12a)][z(0x117)]({'srcPath':z(0x136),'destPath':i+z(0x10e),'framework':z(0x12e),'context':g,'config':d,'force':c,'ignore':![]});});const j=d[y(0x120)]['js'],k=h+y(0x130),l=k['split']('/'),m=this[y(0x12a)][y(0x124)]({'pathParts':l});await this[y(0x12a)][y(0x118)]({'filePath':m+'.'+j,'importName':y(0x11b),'modulePath':f?y(0x110):'/imports/startup/client/authentication-provider','isNamedExport':!![]}),await this['fsi']['injectImport']({'filePath':m+'.'+j,'importName':'useContext','modulePath':y(0x12e),'isNamedExport':!![],'injectAtStart':!![]}),await this['fsi'][y(0x123)]({'filePath':m+'.'+j,'content':y(0x125),'begin':['const\x20Routes',y(0x12f)],'replace':!![]});const n='/imports/startup/client/index',o=n['split']('/'),p=this[y(0x12a)][y(0x124)]({'pathParts':o});await this[y(0x12a)][y(0x118)]({'filePath':p+'.'+j,'importName':y(0x112),'modulePath':f?y(0x110):y(0x127),'isNamedExport':!![]}),await this[y(0x12a)][y(0x111)]({'filePath':p+'.'+j,'aboveContent':'<AuthProvider>','belowContent':'</AuthProvider>','targetString':y(0x10f),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q=y(0x12c),r=q[y(0x10b)]('/'),s=this[y(0x12a)]['pathFromApp']({'pathParts':r});await this[y(0x12a)][y(0x118)]({'filePath':s+'.'+j,'importName':y(0x112),'modulePath':f?y(0x110):y(0x127),'isNamedExport':!![]}),await this[y(0x12a)][y(0x111)]({'filePath':s+'.'+j,'aboveContent':y(0x109),'belowContent':y(0x132),'targetString':'<Routes\x20history={history}/>','indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log[y(0x11e)](t),process[y(0x114)](0x1);}},async function(){},a122e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a123d(a,b){var c=a123c();return a123d=function(d,e){d=d-
|
|
1
|
+
function a123d(a,b){var c=a123c();return a123d=function(d,e){d=d-0x7a;var f=c[d];return f;},a123d(a,b);}function a123c(){var i=['constructor','7CstpyA','3114864WoXZjh','750510fJzfRc','apply','30oaMBxy','4IpTWzF','1838439BBpkKr','978819RMdKJv','1802230BHzNsL','952626ylAXlI','toString','938750CyLZrW','(((.+)+)+)+$'];a123c=function(){return i;};return a123c();}(function(a,b){var f=a123d,c=a();while(!![]){try{var d=-parseInt(f(0x86))/0x1+parseInt(f(0x81))/0x2+parseInt(f(0x7d))/0x3*(parseInt(f(0x7b))/0x4)+parseInt(f(0x7e))/0x5+-parseInt(f(0x7f))/0x6*(parseInt(f(0x84))/0x7)+-parseInt(f(0x85))/0x8+parseInt(f(0x7c))/0x9*(parseInt(f(0x7a))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0x72cfc));var a123b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a123d;if(c){var e=c[g(0x87)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){var h=a123d;return a123a[h(0x80)]()['search'](h(0x82))[h(0x80)]()[h(0x83)](a123a)['search']('(((.+)+)+)+$');});a123a();import'./esri.generator.js';import'./map.esri.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a124i=a124d;(function(a,b){const f=a124d,c=a();while(!![]){try{const d=parseInt(f(0x1ae))/0x1+-parseInt(f(0x1b6))/0x2*(-parseInt(f(0x1a0))/0x3)+parseInt(f(0x1af))/0x4*(-parseInt(f(0x1ac))/0x5)+parseInt(f(0x1ab))/0x6+parseInt(f(0x1a6))/0x7*(parseInt(f(0x1b2))/0x8)+-parseInt(f(0x1b7))/0x9*(-parseInt(f(0x1a3))/0xa)+-parseInt(f(0x1a7))/0xb*(parseInt(f(0x1aa))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0xe5785));function a124c(){const k=['151395HgILwB','search','Starting\x20point\x20for\x20generating\x20Esri\x20Maps','680710ZeWhQF','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','esri','35TgENeG','40924411woAmET','maka\x20g:kit:e','\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','12ZgHPgW','9808290wHPzWd','5SRVDSY','toString','80894GWOJLG','2653456ZSeVHS','constructor','Esri\x20Kit\x20generated\x20successfully','2646344byXLmk','(((.+)+)+)+$','create','apply','10ODgnDG','225WGdVRc','/foo/bar'];a124c=function(){return k;};return a124c();}const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a124d;if(c){const e=c[g(0x1b5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const h=a124d;return a124a[h(0x1ad)]()[h(0x1a1)](h(0x1b3))[h(0x1ad)]()[h(0x1b0)](a124a)[h(0x1a1)](h(0x1b3));});function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0x19f;let f=c[d];return f;},a124d(a,b);}a124a();import{Generator}from'../../../generator.js';import a124e from'../kit.js';const EsriGen=Generator[a124i(0x1b4)]({'name':a124i(0x1a5),'aliases':['e'],'usage':a124i(0x1a4),'noNeedResource':!![],'shortDesc':a124i(0x1a2),'validOpts':[''],'isPro':!![],'examples':[a124i(0x1a8)],'description':a124i(0x1a9)},async function(){const j=a124i;return{'success':!![],'message':j(0x1b1),'details':{'filesCreated':[j(0x19f)],'filesUpdated':['/foo']}};},async function(){},a124e);export default EsriGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a125s=a125d;(function(a,b){const p=a125d,c=a();while(!![]){try{const d
|
|
1
|
+
const a125s=a125d;function a125d(a,b){const c=a125c();return a125d=function(d,e){d=d-0x1d2;let f=c[d];return f;},a125d(a,b);}function a125c(){const v=['apply','create','injectTemplateModule','8MRWtfM','replaceAll','injectImport','template','react','processAndRunGenerator','getMakaProjectConfig','\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','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','/imports/ui/','<div\x20id=\x22map\x22>','constructor','@esri/react-arcgis','page','FALSE','basic-map','28521BChGYf','/imports/ui/hooks','.js','/imports/startup/lib/templates','2679024XMEbjw','7357610fPKcwR','Generate\x20an\x20Esri\x20map\x20component','401832QwcmGD','Generating\x20a\x20map\x20component','split','3444854lrxWPy','fsi','appName','18dntEHL','bright','1363047PaDhlc','search','8150ntPPlk','toString','pathFromApp','esri-loader','(((.+)+)+)+$','exit','ssr','REACT','withValue','map','738GnsKsC','checkNpmPackage','dir','baseDir','findProjectDirectory','engines','\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a'];a125c=function(){return v;};return a125c();}(function(a,b){const p=a125d,c=a();while(!![]){try{const d=-parseInt(p(0x1e7))/0x1+-parseInt(p(0x1ee))/0x2+-parseInt(p(0x1f6))/0x3+-parseInt(p(0x1eb))/0x4+parseInt(p(0x1f8))/0x5*(-parseInt(p(0x202))/0x6)+-parseInt(p(0x1f1))/0x7*(-parseInt(p(0x1d7))/0x8)+-parseInt(p(0x1f4))/0x9*(-parseInt(p(0x1ec))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0x6400c));const a125b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a125d;if(c){const e=c[q(0x1d4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){const r=a125d;return a125a[r(0x1f9)]()['search'](r(0x1fc))['toString']()[r(0x1e2)](a125a)[r(0x1f7)](r(0x1fc));});a125a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a125e from'./esri.generator.js';import a125f from'../../../generators/maka.gen.js';import{paramCase,headerCase,pascalCase}from'change-case';import{ClientEngines,SsrEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a125s(0x1d5)]({'name':'map','aliases':['m'],'usage':a125s(0x1df),'shortDesc':a125s(0x1ed),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a125s(0x1ff)],'ssr':SsrEngines[a125s(0x1e5)]},'description':a125s(0x1de)},async function(a,b){const t=a125s;try{Log[t(0x1f5)](t(0x1ef));const c=t(0x1e6);await this['fsi'][t(0x203)]([t(0x1e3),t(0x1fb)],{'shouldInstall':!![]});const d=this[t(0x1f2)][t(0x206)](),f=this[t(0x1f2)][t(0x1dd)](),g=f[t(0x1d2)][t(0x1fe)]==='true',h=await a125f[t(0x1dc)](t(0x1e4),[t(0x201)],{'cwd':d,'config':f}),i={'name':headerCase(f[t(0x1f3)])[t(0x1d8)]('-','\x20'),'componentName':pascalCase(c)},j=b['baseDir']?t(0x1e0)+b[t(0x205)]:t(0x1e8),k=this['fsi'][t(0x1fa)]({'pathParts':[j,b[t(0x204)],paramCase(c),paramCase(c)]});await this[t(0x1f2)][t(0x200)](f,async()=>{const u=t;await this[u(0x1f2)][u(0x1da)]({'srcPath':'kit/esri/map/'+c+'.js','destPath':k+u(0x1e9),'framework':u(0x1db),'context':i,'config':f,'force':![],'ignore':![]});});const l=''+j+b[t(0x204)]+'/'+c+'/'+c;await this[t(0x1f2)][t(0x1d6)](c,f,l);const m=h[t(0x1f0)]('/'),n=this[t(0x1f2)][t(0x1fa)]({'pathParts':m});await this['fsi'][t(0x1d9)]({'filePath':n,'importName':pascalCase(c),'modulePath':g?t(0x1ea):'/imports/startup/client/templates','isNamedExport':!![]}),await this['fsi']['injectIntoFile']({'filePath':n,'content':'\x0a<'+pascalCase(c)+t(0x1d3),'begin':[t(0x1e1),t(0x1e1)],'end':['</div>'],'replace':!![]});}catch(o){Log['error'](o),process[t(0x1fd)](0x1);}},async function(){},a125e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-
|
|
1
|
+
const a126i=a126d;function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0xcc;let f=c[d];return f;},a126d(a,b);}(function(a,b){const f=a126d,c=a();while(!![]){try{const d=-parseInt(f(0xd8))/0x1*(-parseInt(f(0xd5))/0x2)+-parseInt(f(0xd2))/0x3*(-parseInt(f(0xdb))/0x4)+-parseInt(f(0xd0))/0x5*(-parseInt(f(0xce))/0x6)+parseInt(f(0xe0))/0x7*(-parseInt(f(0xcd))/0x8)+-parseInt(f(0xcf))/0x9*(-parseInt(f(0xd3))/0xa)+-parseInt(f(0xd1))/0xb+parseInt(f(0xd9))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0xeccc6));const a126b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a126d;if(c){const e=c[g(0xdf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){const h=a126d;return a126a[h(0xe1)]()[h(0xcc)](h(0xda))[h(0xe1)]()[h(0xd6)](a126a)['search'](h(0xda));});a126a();import{Generator}from'../../generator.js';const KitGen=Generator[a126i(0xd4)]({'name':a126i(0xdc),'aliases':['k'],'usage':a126i(0xde),'shortDesc':a126i(0xd7),'minArgLength':0x1,'isPro':!![],'validOpts':[],'noNeedResource':!![],'examples':['maka\x20g:kit',a126i(0xdd)]},async function(){});export default KitGen;function a126c(){const j=['66452MPYtbJ','constructor','Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','5nhAgMu','23581128EJvutW','(((.+)+)+)+$','20QrWVol','kit','maka\x20g:k','maka\x20{generate,\x20g}:{kit}\x20<name>','apply','5488GRKmZZ','toString','search','7256lOgaFR','24slFwxO','48249FfhJzR','822985ZPtKjb','14538909xwsPHO','76407yxYKYc','160GueYdR','create'];a126c=function(){return j;};return a126c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(a,b){var f=a127d,c=a();while(!![]){try{var d=parseInt(f(0x191))/0x1*(parseInt(f(0x18c))/0x2)+-parseInt(f(0x18e))/0x3+-parseInt(f(0x193))/0x4*(parseInt(f(0x197))/0x5)+-parseInt(f(0x18f))/0x6+-parseInt(f(0x196))/0x7+-parseInt(f(0x199))/0x8*(-parseInt(f(0x190))/0x9)+parseInt(f(0x198))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0x9a7a0));var a127b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a127d;if(c){var e=c[g(0x195)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){var h=a127d;return a127a[h(0x192)]()[h(0x18d)](h(0x194))[h(0x192)]()['constructor'](a127a)['search'](h(0x194));});a127a();function a127d(a,b){var c=a127c();return a127d=function(d,e){d=d-0x18c;var f=c[d];return f;},a127d(a,b);}import'./mui.generator.js';function a127c(){var i=['toString','5252QkNPSc','(((.+)+)+)+$','apply','124943NpvKxX','60TbSyyy','10223000taHvYM','8750432eSzhXo','2UyMxnx','search','2687571QmCRXh','5319894gGcOAp','9mGnOsq','332743WpxZcP'];a127c=function(){return i;};return a127c();}import'./frame.mui.gen.js';import'./auth.mui.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a128I=a128d;(function(a,b){const G=a128d,c=a();while(!![]){try{const d=-parseInt(G(0xfd))/0x1+parseInt(G(0xfb))/0x2+-parseInt(G(0x12d))/0x3+-parseInt(G(0x119))/0x4+parseInt(G(0x118))/0x5*(parseInt(G(0xf7))/0x6)+parseInt(G(0x128))/0x7*(parseInt(G(0x10c))/0x8)+-parseInt(G(0x130))/0x9*(-parseInt(G(0x133))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0xe302a));function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0xf5;let f=c[d];return f;},a128d(a,b);}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 H=a128d;return a128a['toString']()['search'](H(0x11e))[H(0x100)]()[H(0x12c)](a128a)[H(0xf6)](H(0x11e));});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'../../../generators/maka.gen.js';import a128f from'./mui.generator.js';import{paramCase,headerCase}from'change-case';function a128c(){const M=['route','authType','log','427fwBceh','fsi','injectImport','layouts','constructor','4667250eCeZxt','kit/mui/auth/logout/','error','2296179tKCOgq','kit:auth:meteor','meteor','50htHtkR','maka\x20generate:kit:mui:frame','Custom\x20(roll\x20your\x20own)','true','baseDir','split','pathFromApp','options','/imports/ui/pages/auth','search','222anyefV','AuthContext','dir','What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','2422146ecVndb','template','1835197eVOnVm','appName','react','toString','basic-password-reset-page','injectTemplateModule','Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','MATERIAL','auth','custom','/imports/startup/client/authentication-provider','.js','kit/mui/auth/login/','reset-password/:token','force','145048SAouzA','findProjectDirectory','processAndRunGenerator','/imports/ui/','kit/mui/auth/password-reset/','engines','ssr','register','create','kit/mui/auth/forgot-password/','basic-logout-page','kit:auth:provider','145230MOsfvO','1386560ZeFvRX','login','basic-forgot-password-page','kit/mui/auth/register/','list','(((.+)+)+)+$','/imports/startup/lib/authentication-provider','REACT','forgot-password','getMakaProjectConfig','replaceAll','withValue'];a128c=function(){return M;};return a128c();}import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a128I(0x114)]({'name':a128I(0x105),'aliases':['a'],'usage':'maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','shortDesc':a128I(0x103),'validOpts':[a128I(0x12b),a128I(0x10b)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a128I(0x104)],'client':ClientEngines[a128I(0x120)]},'examples':[a128I(0x134),'maka\x20g:k:m:f'],'description':'\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20'},async function(a,b){const J=a128I;try{const c=b['force']||![],d=this[J(0x129)][J(0x10d)](),f=this['fsi'][J(0x122)](),{authType:g}=await Actions[J(0x13a)]({'type':J(0x11d),'name':J(0x126),'message':J(0xfa),'choices':[{'name':'Meteor\x20Accounts','value':'meteor'},{'name':J(0x135),'value':'custom'}]}),h='basic-login-page',i=J(0x116),j='basic-register-page',k=J(0x101),l=J(0x11b),m=b['baseDir']?J(0x10f)+b[J(0x137)]:J(0xf5),n=this['fsi'][J(0x139)]({'pathParts':[m,b[J(0xf9)],paramCase(h),paramCase(h)]}),o=this[J(0x129)]['pathFromApp']({'pathParts':[m,b[J(0xf9)],paramCase(i),paramCase(i)]}),p=this[J(0x129)][J(0x139)]({'pathParts':[m,b['dir'],paramCase(j),paramCase(j)]}),q=this[J(0x129)][J(0x139)]({'pathParts':[m,b[J(0xf9)],paramCase(k),paramCase(k)]}),r=this[J(0x129)][J(0x139)]({'pathParts':[m,b[J(0xf9)],paramCase(l),paramCase(l)]}),s={'name':headerCase(f[J(0xfe)])[J(0x123)]('-','\x20')};await this[J(0x129)][J(0x124)](f,async()=>{const K=J;await this['fsi'][K(0xfc)]({'srcPath':K(0x109)+h+K(0x108),'destPath':n+K(0x108),'framework':K(0xff),'context':s,'config':f,'force':c,'ignore':![]}),await this['fsi'][K(0xfc)]({'srcPath':K(0x12e)+i+K(0x108),'destPath':o+'.js','framework':K(0xff),'context':s,'config':f,'force':c,'ignore':![]}),await this[K(0x129)][K(0xfc)]({'srcPath':K(0x11c)+j+K(0x108),'destPath':p+K(0x108),'framework':K(0xff),'context':s,'config':f,'force':c,'ignore':![]}),await this['fsi'][K(0xfc)]({'srcPath':K(0x110)+k+K(0x108),'destPath':q+K(0x108),'framework':K(0xff),'context':s,'config':f,'force':c,'ignore':![]}),await this[K(0x129)][K(0xfc)]({'srcPath':K(0x115)+l+K(0x108),'destPath':r+'.js','framework':K(0xff),'context':s,'config':f,'force':c,'ignore':![]});});const t=''+m+b[J(0xf9)]+'/'+h+'/'+h;await this['fsi']['injectTemplateModule'](h,f,t);const u=''+m+b['dir']+'/'+i+'/'+i;await this[J(0x129)]['injectTemplateModule'](i,f,u);const v=''+m+b[J(0xf9)]+'/'+j+'/'+j;await this[J(0x129)][J(0x102)](j,f,v);const w=''+m+b[J(0xf9)]+'/'+k+'/'+k;await this['fsi']['injectTemplateModule'](k,f,w);const x=''+m+b[J(0xf9)]+'/'+l+'/'+l;await this[J(0x129)]['injectTemplateModule'](l,f,x),await a128e[J(0x10e)](J(0x125),['basic-login-page'],{'url':J(0x11a),'cwd':d,'config':f}),await a128e[J(0x10e)](J(0x125),[J(0x116)],{'url':'logout','private':!![],'cwd':d,'config':f}),await a128e[J(0x10e)](J(0x125),['basic-register-page'],{'url':J(0x113),'cwd':d,'config':f}),await a128e[J(0x10e)]('route',[J(0x101)],{'url':J(0x10a),'cwd':d,'config':f}),await a128e[J(0x10e)](J(0x125),[J(0x11b)],{'url':J(0x121),'cwd':d,'config':f});g===J(0x132)&&await a128e[J(0x10e)](J(0x131),[],{'force':c,'cwd':d,'config':f});g===J(0x106)&&await a128e[J(0x10e)](J(0x117),[],{'force':c,'cwd':d,'config':f});const y=f[J(0x111)][J(0x112)]===J(0x136),z=f[J(0x111)]['js'],A=this[J(0x129)][J(0x139)]({'pathParts':t['split']('/')});await this[J(0x129)][J(0x12a)]({'filePath':A+'.'+z,'importName':J(0xf8),'modulePath':y?'/imports/startup/lib/authentication-provider':J(0x107),'isNamedExport':!![]});const B=this[J(0x129)][J(0x139)]({'pathParts':u[J(0x138)]('/')});await this['fsi'][J(0x12a)]({'filePath':B+'.'+z,'importName':J(0xf8),'modulePath':y?J(0x11f):'/imports/startup/client/authentication-provider','isNamedExport':!![]});const C=this[J(0x129)]['pathFromApp']({'pathParts':v[J(0x138)]('/')});await this['fsi'][J(0x12a)]({'filePath':C+'.'+z,'importName':J(0xf8),'modulePath':y?J(0x11f):J(0x107),'isNamedExport':!![]});const D=this[J(0x129)][J(0x139)]({'pathParts':w[J(0x138)]('/')});await this['fsi'][J(0x12a)]({'filePath':D+'.'+z,'importName':J(0xf8),'modulePath':y?'/imports/startup/lib/authentication-provider':'/imports/startup/client/authentication-provider','isNamedExport':!![]});const E=this[J(0x129)][J(0x139)]({'pathParts':x[J(0x138)]('/')});await this[J(0x129)][J(0x12a)]({'filePath':E+'.'+z,'importName':J(0xf8),'modulePath':y?'/imports/startup/lib/authentication-provider':'/imports/startup/client/authentication-provider','isNamedExport':!![]});}catch(F){Log[J(0x12f)](F);}},async function(){const L=a128I;console[L(0x127)]('Cleaning\x20up...');},a128f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a129E=a129d;(function(a,b){const B=a129d,c=a();while(!![]){try{const d=-parseInt(B(
|
|
1
|
+
const a129E=a129d;(function(a,b){const B=a129d,c=a();while(!![]){try{const d=-parseInt(B(0x1e0))/0x1*(parseInt(B(0x1bf))/0x2)+-parseInt(B(0x1dd))/0x3+parseInt(B(0x199))/0x4+parseInt(B(0x1ae))/0x5*(parseInt(B(0x19e))/0x6)+-parseInt(B(0x1b9))/0x7*(parseInt(B(0x1c6))/0x8)+-parseInt(B(0x1ac))/0x9+-parseInt(B(0x1d5))/0xa*(-parseInt(B(0x1a1))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0xa8708));function a129d(a,b){const c=a129c();return a129d=function(d,e){d=d-0x198;let f=c[d];return f;},a129d(a,b);}const a129b=(function(){let a=!![];return function(b,c){const d=a?function(){const C=a129d;if(c){const e=c[C(0x1de)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){const D=a129d;return a129a[D(0x1cc)]()[D(0x1b2)]('(((.+)+)+)+$')[D(0x1cc)]()[D(0x1c7)](a129a)[D(0x1b2)](D(0x19c));});a129a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a129e from'path';import a129f from'./mui.generator.js';import{paramCase,pascalCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a129E(0x1be)]({'name':a129E(0x1d1),'aliases':['f'],'usage':'maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','shortDesc':a129E(0x1bc),'validOpts':[a129E(0x19d),a129E(0x198),a129E(0x1dc),a129E(0x1b1)],'isPro':![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a129E(0x1db)],'client':ClientEngines[a129E(0x1b6)]},'examples':['maka\x20generate:kit:mui:frame','maka\x20g:k:m:f'],'description':'\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20'},async function(a,b){const F=a129E;try{const c=b[F(0x1b1)]||![],d='basic-app-bar',f=F(0x1cb),g=F(0x1aa),h=this['fsi'][F(0x1b0)](),i=h[F(0x1af)]['ssr']===F(0x1d3);await this[F(0x1a7)][F(0x1ca)]([F(0x19b),F(0x1d2)],{'shouldInstall':!![]});const j=this[F(0x1a7)][F(0x1d0)](),k=a129e['join'](j,F(0x1c2),'ui',F(0x19d)),l=this[F(0x1a7)]['getDirectories'](k),m=await Actions[F(0x1e2)]({'type':F(0x1cf),'name':F(0x19d),'message':F(0x1d9),'choices':l});if(m[F(0x19d)][F(0x1c5)]===0x0){Log['error'](F(0x1bd));return;}const n=b[F(0x198)]?F(0x1bb)+b['baseDir']:F(0x1a2),o=this['fsi']['pathFromApp']({'pathParts':[n,b[F(0x1dc)],paramCase(d),paramCase(d)]}),p=this[F(0x1a7)][F(0x1d6)]({'pathParts':[n,b['dir'],paramCase(f),paramCase(f)]}),q=this[F(0x1a7)][F(0x1d6)]({'pathParts':[n,b[F(0x1dc)],paramCase(g),paramCase(g)]}),r={'name':headerCase(h[F(0x1c9)])['replaceAll']('-','\x20')};await this[F(0x1a7)][F(0x1b7)](h,async()=>{const G=F;await this[G(0x1a7)]['template']({'srcPath':G(0x1d4)+d+'.js','destPath':o+G(0x1a3),'framework':G(0x1a5),'context':r,'config':h,'force':c,'ignore':![]}),await this[G(0x1a7)]['template']({'srcPath':G(0x1c1)+f+G(0x1a3),'destPath':p+G(0x1a3),'framework':G(0x1a5),'context':r,'config':h,'force':c,'ignore':![]}),await this[G(0x1a7)][G(0x1ad)]({'srcPath':G(0x1b3)+g+G(0x1a3),'destPath':q+G(0x1a3),'framework':'react','context':r,'config':h,'force':c,'ignore':![]});});const s=''+n+b[F(0x1dc)]+'/'+d+'/'+d;await this[F(0x1a7)][F(0x1c8)](d,h,s);const t=''+n+b['dir']+'/'+f+'/'+f;await this[F(0x1a7)]['injectTemplateModule'](f,h,t);const u=''+n+b['dir']+'/'+g+'/'+g;await this['fsi'][F(0x1c8)](g,h,u);const {layouts:v}=m;for(const w of v){const x=this[F(0x1a7)][F(0x1d7)](a129e[F(0x1a0)](k,w),{'extensions':[F(0x1e1),F(0x1e4)],'omit':[F(0x1a4),F(0x19f),F(0x1ab)]});for(const y of x){const z=a129e[F(0x1a0)](k,w,y);await this['fsi'][F(0x1cd)]({'filePath':z,'importName':F(0x1a6),'modulePath':'@mui/material/Box','isNamedExport':![]}),await this['fsi'][F(0x1cd)]({'filePath':z,'importName':F(0x19a),'modulePath':'@mui/material/Container','isNamedExport':![]}),await this[F(0x1a7)][F(0x1cd)]({'filePath':z,'importName':pascalCase(d),'modulePath':i?'/imports/startup/lib/templates':F(0x1ce),'isNamedExport':!![]}),await this['fsi'][F(0x1da)]({'filePath':z,'content':'<'+pascalCase(d)+F(0x1d8),'begin':['<div\x20id=\x22'+w+'\x22>','<div\x20id=\x22'+w+F(0x1b8)],'end':[F(0x1c3),F(0x1df),'{props.children}',F(0x1a8)]}),await this[F(0x1a7)]['injectImport']({'filePath':z,'importName':pascalCase(f),'modulePath':i?F(0x1c0):F(0x1ce),'isNamedExport':!![]}),await this[F(0x1a7)][F(0x1da)]({'filePath':z,'content':'<'+pascalCase(f)+F(0x1d8),'begin':[F(0x1a9)+w+'\x22>',F(0x1a9)+w+F(0x1b8)],'end':[F(0x1c3),'{\x20this.props.children\x20}',F(0x1c4),F(0x1a8)]}),await this['fsi'][F(0x1da)]({'filePath':z,'content':'<'+pascalCase(g)+F(0x1d8),'begin':['{this.props.children}',F(0x1df),F(0x1c4),'{\x20props.children\x20}'],'end':['</div>']}),await this['fsi'][F(0x1cd)]({'filePath':z,'importName':pascalCase(g),'modulePath':i?F(0x1c0):F(0x1ce),'isNamedExport':!![]}),await this[F(0x1a7)]['injectAroundString']({'filePath':z,'aboveContent':F(0x1e3),'belowContent':F(0x1b5),'targetString':['{this.props.children}',F(0x1df),'{props.children}',F(0x1a8)],'targetIndentAdjustment':0x6});}}return!![];}catch(A){Log[F(0x1b4)](A);}},async function(){const H=a129E;console[H(0x1ba)]('Cleaning\x20up...');},a129f);function a129c(){const I=['injectImport','/imports/startup/client/templates','checkbox','findAppDirectory','frame','maka:react-tracker','true','kit/mui/frame/app-bars/','165710vbzOgd','pathFromApp','getFiles','\x20/>\x0a','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','injectIntoFile','MATERIAL','dir','724983yaHTcy','apply','{\x20this.props.children\x20}','393xtUwss','jsx','options','<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>','tsx','baseDir','4232560VkLxOQ','Container','session','(((.+)+)+)+$','layouts','906gLiDJD','tests','join','253LslqXD','/imports/ui/components','.js','app-tests','react','Box','fsi','{\x20props.children\x20}','<div\x20id=\x22','basic-sticky-footer','test','664209bhbBcR','template','45005xYtJar','engines','getMakaProjectConfig','force','search','kit/mui/frame/footers/','error','</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','REACT','withValue','-hook\x22>','3318AiJLhQ','log','/imports/ui/','Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','No\x20layouts\x20selected','create','4216iSwFMb','/imports/startup/lib/templates','kit/mui/frame/drawers/','imports','{this.props.children}','{props.children}','length','16280GDDTtG','constructor','injectTemplateModule','appName','checkMeteorPackage','basic-drawer','toString'];a129c=function(){return I;};return a129c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a130i=a130d;(function(a,b){const g=a130d,c=a();while(!![]){try{const d=-parseInt(g(
|
|
1
|
+
const a130i=a130d;(function(a,b){const g=a130d,c=a();while(!![]){try{const d=-parseInt(g(0x9c))/0x1+parseInt(g(0xa8))/0x2+parseInt(g(0xab))/0x3+parseInt(g(0xb7))/0x4+-parseInt(g(0x9f))/0x5+-parseInt(g(0xb9))/0x6*(parseInt(g(0xb0))/0x7)+parseInt(g(0xba))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0x70cc1));const a130b=(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;};}()),a130a=a130b(this,function(){const h=a130d;return a130a[h(0xb4)]()[h(0xb8)](h(0xa2))[h(0xb4)]()[h(0xbb)](a130a)[h(0xb8)]('(((.+)+)+)+$');});a130a();function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0x9c;let f=c[d];return f;},a130d(a,b);}function a130c(){const k=['mui','1847457LijwiL','auth','maka\x20g:kit:m','fsi','Material-UI\x20Kit','35287hYJjRQ','checkbox','kit:mui:auth','\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','toString','No\x20MUI\x20kits\x20selected.\x20Exiting.','Header,\x20Footer,\x20and\x20Drawer','2316504XXIvYL','search','372dROmCj','716800lPUsSV','constructor','483255mhXWaz','getMakaProjectConfig','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','2781425usYTwK','findProjectDirectory','notice','(((.+)+)+)+$','processAndRunGenerator','kit:mui:frame','create','length','frame','1059108OileDl','info'];a130c=function(){return k;};return a130c();}import{Generator}from'../../../generator.js';import{Actions}from'../../../tools/actions/actions.class.js';import{Log}from'../../../tools/log/log.class.js';import a130e from'../../../generators/maka.gen.js';import a130f from'../kit.js';const MuiGen=Generator[a130i(0xa5)]({'name':a130i(0xaa),'aliases':['m'],'usage':a130i(0x9e),'noNeedResource':!![],'shortDesc':a130i(0xaf),'validOpts':[''],'isPro':!![],'examples':[a130i(0xad)]},async function(){const j=a130i;Log[j(0xa9)]('Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!'),Log[j(0xa1)](j(0xb3));const {kitChoices:a}=await Actions['options']({'type':j(0xb1),'name':'kitChoices','message':'Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','choices':[{'name':j(0xb6),'value':j(0xa7)},{'name':'Auth\x20workflow\x20(login,\x20logout,\x20etc.)','value':j(0xac)}]}),b=this[j(0xae)][j(0xa0)](),c=this[j(0xae)][j(0x9d)]();a['includes'](j(0xa7))&&await a130e[j(0xa3)](j(0xa4),[],{'force':!![],'cwd':b,'config':c});a['includes']('auth')&&await a130e[j(0xa3)](j(0xb2),[],{'force':!![],'cwd':b,'config':c});if(a[j(0xa6)]===0x0){Log['info'](j(0xb5));return;}},async function(){},a130f);export default MuiGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a131o=a131d;(function(a,b){const l=a131d,c=a();while(!![]){try{const d=parseInt(l(
|
|
1
|
+
const a131o=a131d;(function(a,b){const l=a131d,c=a();while(!![]){try{const d=parseInt(l(0x1a1))/0x1*(-parseInt(l(0x1b5))/0x2)+parseInt(l(0x1c3))/0x3+-parseInt(l(0x1b2))/0x4*(-parseInt(l(0x19c))/0x5)+parseInt(l(0x1c5))/0x6*(-parseInt(l(0x1b9))/0x7)+-parseInt(l(0x1be))/0x8+-parseInt(l(0x1b4))/0x9+parseInt(l(0x1b0))/0xa*(parseInt(l(0x198))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0x32467));const a131b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a131d;if(c){const e=c[m(0x1a0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a131a=a131b(this,function(){const n=a131d;return a131a['toString']()[n(0x192)]('(((.+)+)+)+$')['toString']()[n(0x19f)](a131a)[n(0x192)]('(((.+)+)+)+$');});a131a();function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0x18d;let f=c[d];return f;},a131d(a,b);}import a131e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['l'];function a131c(){const r=['template/template.css','graphql','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','365XdfwBk','layout','findAppDirectory','constructor','apply','306253XHxaEz','installNpmPackage','react','.css','setTemplate','component/component.js','dir','.app-tests.js','maka\x20g:l\x20web/safari','Scaffolding\x20for\x20a\x20React\x20Layout.','split','warn','ramda','api','features','210860fcTmXY','true','18084kQcdeK','client','3149604FPHsna','2tPpBQL','maka\x20g:layout\x20mobile/iPhone8','import\x20\x27./','injectTemplateModule','23415JuXzeF','fileName','template','css','fsi','2712840HyfFzG','pathFromProject','checkNpmPackage','resourceName','engines','1158315syAUWK','relative','378RfRssW','theme','pathFromApp','test','includes','.js','none','search','withTranslations','className','string','withHook','injectAtBeginningOfFile','363mKhZbQ'];a131c=function(){return r;};return a131c();}Generator['create']({'name':a131o(0x19d),'aliases':aliases,'usage':a131o(0x19b),'shortDesc':a131o(0x1aa),'validOpts':[a131o(0x196)],'examples':[a131o(0x1b6),a131o(0x1a9)]},async function(a,b){const p=a131o,c='/imports/ui/layouts',d=this[p(0x1bd)][p(0x19e)](),e=this['fsi'][p(0x18d)]({'pathParts':[c,b[p(0x1a7)],paramCase(b[p(0x1c1)]),paramCase(b[p(0x1c1)])]}),f=this[p(0x1bd)]['getMakaProjectConfig']();await this[p(0x1bd)]['withValue'](f,async()=>{const q=p;typeof f['template'][q(0x18e)]===q(0x195)&&(f[q(0x1bb)][q(0x18e)]=f[q(0x1bb)][q(0x18e)]===q(0x1b1)?!![]:![],this['fsi'][q(0x1a5)](q(0x18e),f[q(0x1bb)]['test']));typeof f[q(0x1bb)]['css']==='string'&&(f[q(0x1bb)]['css']=f[q(0x1bb)][q(0x1bc)]===q(0x1b1)?!![]:![],this[q(0x1bd)]['setTemplate']('css',f[q(0x1bb)]['css']));typeof f['template']['js']===q(0x195)&&(f[q(0x1bb)]['js']=f['template']['js']==='true'?!![]:![],this[q(0x1bd)][q(0x1a5)]('js',f[q(0x1bb)]['js']));!f['features']&&(f[q(0x1af)]={});const g=b['_']?b['_'][0x0][q(0x1ab)](':')[0x1]:![],h=b['_']&&aliases[q(0x18f)](g);h&&!this[q(0x1c0)](q(0x1ad))&&(Log[q(0x1ac)]('Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...'),this['fsi'][q(0x1a2)](q(0x1ad),{'cwd':d}));if(h&&!this['checkNpmPackage']('react')){Log['warn']('This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator');return;}const i={'name':pascalCase(b[q(0x1c1)]),'myPath':a131e[q(0x1c4)](this[q(0x1bd)][q(0x1bf)]({}),e),'cssCaseName':paramCase(b['resourceName']),'className':pascalCase(b[q(0x1c1)]),'camelCaseName':camelCase(b['resourceName']),'fileName':paramCase(b[q(0x1c1)]),'graphql':f[q(0x1c2)][q(0x19a)],'features':f[q(0x1af)],'client':f['engines'][q(0x1b3)],'api':f[q(0x1c2)][q(0x1ae)],'ssr':f[q(0x1c2)]['ssr'],'test':f[q(0x1c2)][q(0x18e)],'theme':f[q(0x1c2)][q(0x1c6)],'isComponent':![],'isLayout':!![],'withTranslations':f[q(0x1af)][q(0x193)]};f[q(0x1af)]?.['withHooks']||b['withHook']?await this[q(0x1bd)][q(0x1bb)]({'srcPath':'hook/hook.js','destPath':e+q(0x190),'framework':q(0x1a3),'context':i,'config':f}):await this['fsi'][q(0x1bb)]({'srcPath':q(0x1a6),'destPath':e+q(0x190),'framework':q(0x1a3),'context':i,'config':f});f[q(0x1c2)]['test']!==q(0x191)&&await this[q(0x1bd)][q(0x1bb)]({'srcPath':'test/test.js','destPath':e+q(0x1a8),'framework':q(0x1a3),'context':i,'config':f});f[q(0x1bb)]['css']&&(await this[q(0x1bd)][q(0x1bb)]({'srcPath':q(0x199),'destPath':e+q(0x1a4),'context':Object['assign']({},i,{'className':paramCase(b[q(0x1c1)])}),'config':f}),await this[q(0x1bd)][q(0x197)]({'filePath':e+'.'+f[q(0x1c2)]['js'],'content':q(0x1b7)+i[q(0x1ba)]+'.'+f[q(0x1c2)][q(0x1bc)]+'\x27;'}));const j=b['dir']?'/'+b[q(0x1a7)]+'/':'/',k=''+c+j+i[q(0x1ba)]+'/'+i[q(0x1ba)];await this[q(0x1bd)][q(0x1b8)](i[q(0x194)],f,k);});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a132d(a,b){const c=a132c();return a132d=function(d,e){d=d-0xff;let f=c[d];return f;},a132d(a,b);}const a132i=a132d;(function(a,b){const f=a132d,c=a();while(!![]){try{const d=-parseInt(f(0x10d))/0x1+-parseInt(f(0x106))/0x2+-parseInt(f(0x104))/0x3+parseInt(f(0x114))/0x4+parseInt(f(0x10e))/0x5+-parseInt(f(0x107))/0x6*(parseInt(f(0x10f))/0x7)+parseInt(f(0x103))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a132c,0x1ab76));const a132b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a132d;if(c){const e=c[g(0x113)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a132a=a132b(this,function(){const h=a132d;return a132a[h(0x110)]()[h(0x100)](h(0x112))['toString']()[h(0x111)](a132a)[h(0x100)](h(0x112));});a132a();import{Generator}from'../generator.js';const MakaGen=new Generator({'name':a132i(0x102),'aliases':['g'],'usage':a132i(0x108),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':a132i(0xff),'examples':[a132i(0x10b),a132i(0x10a),a132i(0x109),a132i(0x105),'maka\x20g:route\x20todos/edit',a132i(0x10c),a132i(0x101)]},function(){});function a132c(){const j=['maka\x20g:scaffold\x20todos','maka\x20generate:scaffold\x20todos','maka\x20g:api\x20trucks','23835KnGQyx','628220JmqMyQ','28BQvovd','toString','constructor','(((.+)+)+)+$','apply','703676dbScub','Scaffold\x20various\x20parts\x20of\x20your\x20application','search','maka\x20g:dbc\x20geoserver\x20--type=pgsql','generate','1144712NDCjuB','210003hjHRqx','maka\x20g:package\x20package:name','259244HPsorb','167646eqtWTl','maka\x20{generate,\x20g}:<generator>\x20<name>','maka\x20g:template\x20todos/todo_item'];a132c=function(){return j;};return a132c();}export default MakaGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a133l=a133d;(function(a,b){const j=a133d,c=a();while(!![]){try{const d=parseInt(j(0xf4))/0x1*(-parseInt(j(0xee))/0x2)+-parseInt(j(0xe1))/0x3*(-parseInt(j(0xfb))/0x4)+-parseInt(j(0xdc))/0x5+-parseInt(j(0xdf))/0x6+parseInt(j(0xf7))/0x7+-parseInt(j(0xfa))/0x8+parseInt(j(0xf3))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a133c,0x4ee28));const a133b=(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;};}()),a133a=a133b(this,function(){const k=a133d;return a133a[k(0xf6)]()[k(0xec)]('(((.+)+)+)+$')['toString']()[k(0xed)](a133a)['search'](k(0xe3));});a133a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a133d(a,b){const c=a133c();return a133d=function(d,e){d=d-0xd8;let f=c[d];return f;},a133d(a,b);}function a133c(){const o=['3061956PaLRXa','method/method.js','18621BDUopM','appPathPrefix','(((.+)+)+)+$','-rpc-method.','mdg:validated-method','-rpc-method\x27;','index.','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','create','resourceName','maka\x20{generate,\x20g}:{method,\x20m}\x20name','search','constructor','2ejiBOC','getMakaProjectConfig','startup','pathFromApp','method','15220926HycGys','637737wVooTg','import\x20\x27./methods','toString','3284400cpdwwO','checkMeteorPackage','tsx','781992mAeeCB','4VWjZEh','ddp-rate-limiter','engines','maka\x20g:method\x20todos','dir','fsi','template','2988485RFVwYG','imports','error'];a133c=function(){return o;};return a133c();}import{camelCase,paramCase,pascalCase}from'change-case';Generator[a133l(0xe9)]({'name':a133l(0xf2),'aliases':['m'],'usage':a133l(0xeb),'checkWhere':!![],'shortDesc':a133l(0xe8),'validOpts':['dir'],'examples':[a133l(0xd8)]},async function(a,b){const m=a133l;try{const c=this[m(0xda)][m(0xef)]();await this[m(0xda)]['withValue'](c,async()=>{const n=m,d=paramCase(b[n(0xea)]),f={'name':b['resourceName'],'fileName':d,'className':pascalCase(b[n(0xea)]),'camelCase':camelCase(b[n(0xea)]),'noRename':!![]};let g='js';c[n(0xfd)]['js']===n(0xf9)&&(g='ts');await this[n(0xda)][n(0xf8)](['maka:check',n(0xfc),n(0xe5)],{'shouldInstall':!![]}),await this['fsi'][n(0xdb)]({'srcPath':n(0xe0),'destPath':this['fsi'][n(0xf1)]({'pathParts':[n(0xdd),'startup',b[n(0xe2)],'methods',b['dir'],d+n(0xe4)+g]}),'context':f,'config':c});const h=b[n(0xd9)]?'/'+b[n(0xd9)]+'/':'/',i=this[n(0xda)][n(0xf1)]({'pathParts':[n(0xdd),n(0xf0),b[n(0xe2)],n(0xe7)+c['engines']['js']]});await this[n(0xda)]['injectAtEndOfFile']({'filePath':i,'content':n(0xf5)+h+d+n(0xe6)});});}catch(d){Log[m(0xde)](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a134n=a134d;(function(a,b){const l=a134d,c=a();while(!![]){try{const d=parseInt(l(0x127))/0x1+-parseInt(l(0x134))/0x2*(-parseInt(l(0x124))/0x3)+parseInt(l(0x137))/0x4*(parseInt(l(0x131))/0x5)+-parseInt(l(0x12b))/0x6+-parseInt(l(0x145))/0x7*(-parseInt(l(0x120))/0x8)+-parseInt(l(0x11a))/0x9*(-parseInt(l(0x136))/0xa)+-parseInt(l(0x140))/0xb*(parseInt(l(0x128))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a134c,0x8e1c0));const a134b=(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;};}()),a134a=a134b(this,function(){const m=a134d;return a134a[m(0x12e)]()[m(0x13e)](m(0x12a))[m(0x12e)]()[m(0x122)](a134a)[m(0x13e)](m(0x12a));});function a134d(a,b){const c=a134c();return a134d=function(d,e){d=d-0x118;let f=c[d];return f;},a134d(a,b);}function a134c(){const q=['.js','483lkhYnD','theme','create','98648EAbRXH','10447596GSofQv','packages','(((.+)+)+)+$','1341570cCAZBv','template/template.js','ssr','toString','tests/server','pathFromProject','4342330Oaajib','tests/client','store','3754cTHBrc','pathFromAppWithNoReWrite','840BKVKJC','4NXeUrZ','engines','resourceName','layout','package.js','fsi','features','search','maka\x20g:package\x20todos:package','11qJMKqt','withValue','package/package.js','relative','/package.js','77FDWCUh','noRename','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','pathFromApp','package','dir','8199VwvALq','template','package/','/client/','hasOwnProperty','component','240344wVExLm','server','constructor'];a134c=function(){return q;};return a134c();}a134a();import a134e from'path';import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a134n(0x126)]({'name':a134n(0x118),'aliases':['p'],'usage':a134n(0x148),'shortDesc':a134n(0x147),'validOpts':[a134n(0x119)],'examples':[a134n(0x13f)]},async function(a,b){const o=a134n,c=paramCase(b[o(0x139)]),d=this['fsi'][o(0x149)]({'pathParts':[o(0x129),b[o(0x119)],c]}),e=this[o(0x13c)][o(0x135)]({'pathParts':[o(0x129),b['dir'],c,o(0x13b)]}),f=this[o(0x13c)]['getMakaProjectConfig']();await this['fsi'][o(0x141)](f,async()=>{const p=o,g={'name':paramCase(b['resourceName']),'myPath':a134e[p(0x143)](this['fsi'][p(0x130)]({}),d),'cssCaseName':paramCase(b[p(0x139)]),'className':pascalCase(b[p(0x139)]),'camelCaseName':camelCase(b[p(0x139)]),'fileName':c,'client':f[p(0x138)]['client'],'graphql':f['engines']['graphql'],'ssr':f['engines'][p(0x12d)],'isComponent':b['hasOwnProperty'](p(0x11f)),'isLayout':b['hasOwnProperty'](p(0x13a)),'isStore':b[p(0x11e)](p(0x133)),'features':f[p(0x13d)],'noRename':!![],'theme':f[p(0x138)][p(0x125)]};await this[p(0x13c)][p(0x11b)]({'srcPath':p(0x142),'destPath':e,'context':g,'config':f}),g[p(0x146)]=![];const h=d+p(0x11d)+c+p(0x123);await this[p(0x13c)][p(0x11b)]({'srcPath':p(0x12c),'destPath':h,'context':g,'config':f});const i=['lib',p(0x121),p(0x132),p(0x12f)];for(const j of i){const k=d+'/'+j+'/'+c+p(0x123);await this[p(0x13c)][p(0x11b)]({'srcPath':p(0x11c)+j+p(0x144),'destPath':k,'context':g,'config':f});}});});
|