@maka/maka-cli 4.13.19 → 5.0.0-beta.1
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/templates/meteor/app/imports/startup/client/index.js.jsx +5 -4
- package/bundle/obf/src/templates/meteor/app/imports/startup/client/index.js.tsx +5 -4
- package/bundle/obf/src/templates/meteor/app/imports/startup/client/routes.js.jsx +24 -43
- package/bundle/obf/src/templates/meteor/app/imports/startup/client/routes.js.tsx +25 -44
- package/bundle/obf/src/templates/meteor/app/imports/startup/lib/index.js.jsx +0 -1
- package/bundle/obf/src/templates/meteor/app/imports/startup/lib/index.js.tsx +0 -1
- package/bundle/obf/src/templates/meteor/app/imports/startup/lib/routes.js.jsx +24 -43
- package/bundle/obf/src/templates/meteor/app/imports/startup/lib/routes.js.tsx +25 -44
- package/bundle/obf/src/templates/meteor/app/imports/startup/server/index.js.jsx +2 -2
- package/bundle/obf/src/templates/meteor/app/imports/startup/server/index.js.tsx +2 -2
- package/bundle/obf/src/templates/react/component/component.js.jsx +4 -1
- package/bundle/obf/src/templates/react/component/component.js.tsx +4 -1
- package/bundle/obf/src/templates/react/hook/hook.js.jsx +4 -2
- package/bundle/obf/src/templates/react/hook/hook.js.tsx +4 -1
- package/bundle/obf/src/templates/react/route/route.js.jsx +2 -5
- package/bundle/obf/src/templates/react/route/route.js.tsx +2 -5
- 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 a117o=a117d;(function(a,b){const l=a117d,c=a();while(!![]){try{const d=-parseInt(l(
|
|
1
|
+
const a117o=a117d;(function(a,b){const l=a117d,c=a();while(!![]){try{const d=-parseInt(l(0xf2))/0x1+-parseInt(l(0x103))/0x2+parseInt(l(0xdd))/0x3*(-parseInt(l(0xfc))/0x4)+-parseInt(l(0xfa))/0x5*(-parseInt(l(0x10f))/0x6)+parseInt(l(0x110))/0x7+-parseInt(l(0xe2))/0x8+parseInt(l(0x10a))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0x9049c));const a117b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a117d;if(c){const e=c[m(0xfe)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){const n=a117d;return a117a[n(0xde)]()[n(0x101)](n(0xf1))[n(0xde)]()[n(0x114)](a117a)['search']('(((.+)+)+)+$');});function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0xda;let f=c[d];return f;},a117d(a,b);}a117a();import a117e from'path';function a117c(){const r=['\x20hook...','(((.+)+)+)+$','639149PWpebP','pages','resourceName','assign','engines','true','apollo','relative','870375fSaOPS','/imports/ui/components','4aNTbAk','components','apply','graphql','cssCaseName','search','hooks','602028pgWENE','findAppDirectory','className','create','getMakaProjectConfig','theme','.js','12849741FlcDLd','react','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','Creating\x20','setTemplate','30NIIcne','6567526OrTXsg','@apollo/client','maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','test','constructor','Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','error','layouts','.css','dir','force','\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','css','template','.app-tests.js','features','2543361Illick','toString','notice','test/test.js','/imports/ui/','6859104BAFaQB','template/template.css','hook','checkNpmPackage','import\x20\x27./','maka\x20g:hook\x20cool-hook','pathFromProject','fsi','hook/hook.js','withTranslations','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','pathFromApp','baseDir','fileName'];a117c=function(){return r;};return a117c();}import{paramCase,pascalCase,camelCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';Generator[a117o(0x106)]({'name':a117o(0xe4),'aliases':['h'],'checkWhere':![],'usage':a117o(0x112),'shortDesc':a117o(0x115),'validOpts':[{'name':a117o(0xee),'values':[a117o(0x102),a117o(0xfd),a117o(0xf3),a117o(0x117)]},{'name':a117o(0x11a),'boolFlag':!![]}],'examples':[a117o(0xe7)],'description':a117o(0x11b)},async function(a,b){const p=a117o;Log[p(0xdf)](p(0x10d)+b[p(0xf4)]+p(0xf0));try{const c=this[p(0xe9)]['checkNpmPackage'](p(0x10b));if(!c){Log['error'](p(0xec));throw new UsageError();}const d=this[p(0xe9)][p(0x104)](),f=b[p(0xee)]?p(0xe1)+b[p(0xee)]:p(0xfb),g=this[p(0xe9)][p(0xed)]({'pathParts':[f,b[p(0x119)],paramCase(b[p(0xf4)]),paramCase(b[p(0xf4)])]}),h=await this['fsi'][p(0x107)]();await this[p(0xe9)]['withValue'](h,async()=>{const q=p;typeof h[q(0xda)][q(0x11c)]==='string'&&(h[q(0xda)]['css']=h[q(0xda)][q(0x11c)]===q(0xf7)?!![]:![],this[q(0xe9)][q(0x10e)]('css',h[q(0xda)][q(0x11c)]));h[q(0xf6)][q(0xff)]===q(0xf8)&&!this['fsi'][q(0xe5)](q(0x111))&&(Log['warn'](q(0x10c)),await this[q(0xe9)]['installNpmPackage']('@apollo/client\x20isomorphic-fetch',{'cwd':d}));const i={'cssCaseName':paramCase(b[q(0xf4)]),'camelCaseName':camelCase(b[q(0xf4)]),'className':pascalCase(b['resourceName']),'name':pascalCase(b[q(0xf4)]),'graphql':h['engines'][q(0xff)],'theme':h[q(0xf6)][q(0x108)],'features':h['features'],'myPath':a117e[q(0xf9)](this[q(0xe9)][q(0xe8)]({}),g),'fileName':paramCase(b[q(0xf4)]),'isComponent':![],'isLayout':![],'withTranslations':h[q(0xdc)][q(0xeb)]};await this[q(0xe9)]['template']({'srcPath':q(0xea),'destPath':g+q(0x109),'context':i,'config':h,'framework':'react','force':b[q(0x11a)]});h[q(0xda)][q(0x11c)]&&(await this[q(0xe9)]['template']({'srcPath':q(0xe3),'destPath':g+q(0x118),'context':Object[q(0xf5)]({},i,{'className':i[q(0x100)]}),'config':h,'force':b[q(0x11a)]}),await this[q(0xe9)]['injectAtBeginningOfFile']({'filePath':g+'.'+h[q(0xf6)]['js'],'content':q(0xe6)+i[q(0xef)]+'.'+h[q(0xf6)][q(0x11c)]+'\x27;'}));h[q(0xf6)][q(0x113)]!=='none'&&await this[q(0xe9)][q(0xda)]({'srcPath':q(0xe0),'destPath':g+q(0xdb),'framework':q(0x10b),'context':i,'config':h,'force':b[q(0x11a)]});const j=b[q(0x119)]?'/'+b[q(0x119)]+'/':'/',k=''+f+j+i['fileName']+'/'+i[q(0xef)];await this[q(0xe9)]['injectTemplateModule'](i[q(0x105)],h,k);});}catch(i){Log[p(0x116)](i);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a118d,c=a();while(!![]){try{var d=parseInt(f(
|
|
1
|
+
(function(a,b){var f=a118d,c=a();while(!![]){try{var d=parseInt(f(0x1ee))/0x1+-parseInt(f(0x1e8))/0x2*(-parseInt(f(0x1f2))/0x3)+-parseInt(f(0x1e9))/0x4*(-parseInt(f(0x1f5))/0x5)+parseInt(f(0x1f0))/0x6*(-parseInt(f(0x1f4))/0x7)+-parseInt(f(0x1eb))/0x8*(-parseInt(f(0x1ea))/0x9)+-parseInt(f(0x1f7))/0xa+parseInt(f(0x1ed))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0x50cf4));function a118d(a,b){var c=a118c();return a118d=function(d,e){d=d-0x1e8;var f=c[d];return f;},a118d(a,b);}function a118c(){var i=['search','12NLQtIw','apply','3ZcCQCx','(((.+)+)+)+$','891842MdVPsB','5ZkhIFS','constructor','4403020IRSeWg','40532kxYlSU','1485096OHuXcW','357039UPqoXg','104DkWfzr','toString','48224PfaGAe','114463ZDgbaw'];a118c=function(){return i;};return a118c();}var a118b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a118d;if(c){var e=c[g(0x1f1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){var h=a118d;return a118a[h(0x1ec)]()[h(0x1ef)]('(((.+)+)+)+$')[h(0x1ec)]()[h(0x1f6)](a118a)[h(0x1ef)](h(0x1f3));});a118a();import'./kit.js';import'./mui/_index.js';import'./esri/_index.js';import'./auth/_index.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a119d,c=a();while(!![]){try{var d
|
|
1
|
+
(function(a,b){var f=a119d,c=a();while(!![]){try{var d=parseInt(f(0x88))/0x1*(-parseInt(f(0x91))/0x2)+parseInt(f(0x8d))/0x3*(parseInt(f(0x8e))/0x4)+-parseInt(f(0x92))/0x5*(parseInt(f(0x98))/0x6)+-parseInt(f(0x89))/0x7*(parseInt(f(0x90))/0x8)+parseInt(f(0x8f))/0x9*(parseInt(f(0x94))/0xa)+-parseInt(f(0x8b))/0xb*(-parseInt(f(0x97))/0xc)+parseInt(f(0x93))/0xd*(parseInt(f(0x96))/0xe);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0xb9fad));var a119b=(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;};}()),a119a=a119b(this,function(){var g=a119d;return a119a['toString']()['search'](g(0x95))['toString']()[g(0x8c)](a119a)[g(0x8a)](g(0x95));});a119a();import'./auth.generator.js';function a119c(){var h=['126562BTchtc','85fneArM','1608932WWWiys','10mGdteQ','(((.+)+)+)+$','70apCXqr','12uyPDuf','336450Axbtzb','13KVoZSJ','276899xRZbme','search','4021886BYGzgx','constructor','3NAUaIO','3169580HYyrwn','7915779idhAbE','24lFjMZz'];a119c=function(){return h;};return a119c();}import'./provider.auth.gen.js';function a119d(a,b){var c=a119c();return a119d=function(d,e){d=d-0x88;var f=c[d];return f;},a119d(a,b);}import'./basic-meteor.auth.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a120i=a120d;(function(a,b){const f=a120d,c=a();while(!![]){try{const d
|
|
1
|
+
function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0xea;let f=c[d];return f;},a120d(a,b);}const a120i=a120d;(function(a,b){const f=a120d,c=a();while(!![]){try{const d=-parseInt(f(0xf3))/0x1+-parseInt(f(0xf8))/0x2*(parseInt(f(0xed))/0x3)+parseInt(f(0xeb))/0x4+parseInt(f(0xee))/0x5*(parseInt(f(0xf9))/0x6)+-parseInt(f(0xfa))/0x7+-parseInt(f(0xf5))/0x8*(-parseInt(f(0xf6))/0x9)+parseInt(f(0xf7))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0x79190));const a120b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a120d;if(c){const e=c[g(0xf4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){const h=a120d;return a120a[h(0xfb)]()[h(0xef)]('(((.+)+)+)+$')['toString']()[h(0xf1)](a120a)[h(0xef)]('(((.+)+)+)+$');});a120a();function a120c(){const k=['apply','56824gcIGcP','225PscVsZ','11009300NzefUa','24YXVCMu','12oIevNv','4611341ZMsZZd','toString','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:<kit-name>','891692sdjJIR','NIE','93531kaLDRr','2103135YOyEMT','search','maka\x20g:kit:a','constructor','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x20\x20','813779vzVIWM'];a120c=function(){return k;};return a120c();}import{Generator}from'../../../generator.js';import a120e from'../kit.js';const AuthGen=Generator['create']({'name':'auth','aliases':['a'],'usage':a120i(0xea),'noNeedResource':!![],'shortDesc':'Starting\x20point\x20for\x20generating\x20an\x20Auth\x20Provider','validOpts':[''],'isPro':!![],'examples':[a120i(0xf0)],'description':a120i(0xf2)},async function(){const j=a120i;throw j(0xec);},async function(){},a120e);export default AuthGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a121c(){const
|
|
1
|
+
const a121r=a121d;function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0x6c;let f=c[d];return f;},a121d(a,b);}(function(a,b){const o=a121d,c=a();while(!![]){try{const d=parseInt(o(0x97))/0x1+-parseInt(o(0xa1))/0x2+parseInt(o(0x9d))/0x3*(-parseInt(o(0x73))/0x4)+-parseInt(o(0xa6))/0x5*(parseInt(o(0x83))/0x6)+-parseInt(o(0x7f))/0x7+parseInt(o(0xa8))/0x8*(-parseInt(o(0x8d))/0x9)+parseInt(o(0x99))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0xa5de7));const a121b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a121d;if(c){const e=c[p(0x6e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){const q=a121d;return a121a[q(0xac)]()[q(0x9b)](q(0x6c))[q(0xac)]()[q(0x85)](a121a)[q(0x9b)](q(0x6c));});a121a();import{Generator}from'../../../generator.js';function a121c(){const u=['1132340TjfPaV','\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','32prlclx','const\x20resetPasswordWithToken','AuthService','withValue','toString','const\x20authenticateToken','REACT','auth/roles','template','force','checkMeteorPackage','(((.+)+)+)+$','fsi','apply','const\x20getUserAuthorizations','useTracker','injectIntoCodeBlock','Meteor.publish','538388TZAfwn','\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','exit','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','server','findProjectDirectory','const\x20sendForgotPasswordEmail','\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','processAndRunGenerator','react','meteor/meteor','8264039MkGuJR','Meteor.startup','pathFromApp','\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','12EExjLH','meteor','constructor','error','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','injectImport','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','const\x20authenticateUser','imports','authentication-provider','905886PNBKls','ssr','meteor/maka:react-tracker','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','startup','Meteor','publish','alanning:roles','return\x20\x5c(','/imports/startup/client/authentication-service','346865iKxdOe','Accounts','40652560CEFPOo','true','search','\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','9EXcFBV','getMakaProjectConfig','engines','injectIntoFile','2585604sjNrow','.js','kit:auth:provider','meteor/accounts-base','/imports/startup/client'];a121c=function(){return u;};return a121c();}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['create']({'name':a121r(0x84),'aliases':['m'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','shortDesc':a121r(0x87),'validOpts':[a121r(0xb1)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a121r(0xae)]},'description':a121r(0x82)},async function(a,b){const s=a121r;try{const c=b['force']||![];await this[s(0x6d)][s(0xb2)](['accounts-password',s(0x94)],{'shouldInstall':!![]});const d=this[s(0x6d)][s(0x79)](),f=this[s(0x6d)][s(0x9e)](),g=f[s(0x9f)][s(0x8e)]===s(0x9a);await a121f[s(0x7c)](s(0xa3),[],{'force':c,'cwd':d,'config':f});const h=await a121f[s(0x7c)](s(0x93),[s(0xaf)],{'force':c,'globalPublish':!![],'cwd':d,'config':f}),i=g?'/imports/startup/lib':s(0xa5),j=this['fsi'][s(0x81)]({'pathParts':[i,'','','authentication-service']});await this['fsi'][s(0xab)](f,async()=>{const t=s;await this[t(0x6d)][t(0xb0)]({'srcPath':'kit/auth/service/meteor-auth-service.js','destPath':j+t(0xa2),'framework':t(0x7d),'context':{},'config':f,'force':c,'ignore':![]});});const k=this[s(0x6d)][s(0x81)]({'pathParts':[i,'','',s(0x8c)]}),l=f[s(0x9f)]['js'];await this[s(0x6d)][s(0x88)]({'filePath':k+'.'+l,'importName':s(0xaa),'modulePath':g?'/imports/startup/lib/authentication-service':s(0x96),'isNamedExport':![]}),await this['fsi'][s(0x71)]({'filePath':k+'.'+l,'content':'\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','begin':s(0x8a),'replace':!![]}),await this[s(0x6d)][s(0x71)]({'filePath':k+'.'+l,'content':s(0x74),'begin':s(0xad),'replace':!![]}),await this[s(0x6d)][s(0x71)]({'filePath':k+'.'+l,'content':s(0x9c),'begin':s(0x6f),'replace':!![]}),await this['fsi'][s(0x71)]({'filePath':k+'.'+l,'content':s(0x76),'begin':'const\x20deauthenticateUser','replace':!![]}),await this[s(0x6d)]['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':s(0x77),'begin':s(0x7a),'replace':!![]}),await this[s(0x6d)][s(0x71)]({'filePath':k+'.'+l,'content':s(0x90),'begin':'const\x20registerNewUser','replace':!![]}),await this[s(0x6d)][s(0x71)]({'filePath':k+'.'+l,'content':s(0x89),'begin':s(0xa9),'replace':!![]});g&&(await this[s(0x6d)][s(0x88)]({'filePath':k+'.'+l,'importName':s(0x70),'modulePath':s(0x8f),'isNamedExport':!![]}),await this[s(0x6d)][s(0xa0)]({'filePath':k+'.'+l,'content':s(0xa7),'begin':'export\x20const\x20AuthProvider','end':s(0x95)}));await this[s(0x6d)]['injectImport']({'filePath':h,'importName':s(0x92),'modulePath':s(0x7e),'isNamedExport':!![],'injectAtStart':!![]}),await this['fsi'][s(0x71)]({'filePath':h,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20If\x20logged\x20in,\x20return\x20documents\x20owned\x20by\x20this\x20user.\x20Otherwise\x20return\x20nothing.\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(this.userId)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20Meteor.roleAssignment.find({\x20\x27user._id\x27:\x20this.userId\x20});\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20[];\x0a\x20\x20\x20\x20\x20\x20','begin':s(0x72),'replace':!![]});const m=this['fsi']['pathFromApp']({'pathParts':[s(0x8b),s(0x91),s(0x78),'index']});await this['fsi'][s(0x88)]({'filePath':m+'.'+l,'importName':s(0x98),'modulePath':s(0xa4),'isNamedExport':!![]}),await this[s(0x6d)][s(0x71)]({'filePath':m+'.'+l,'content':s(0x7b),'begin':s(0x80),'replace':!![]});}catch(n){Log[s(0x86)](n),process[s(0x75)](0x1);}},async function(){},a121e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a122w=a122d;(function(a,b){const u=a122d,c=a();while(!![]){try{const d=-parseInt(u(0x11a))/0x1*(parseInt(u(0x111))/0x2)+parseInt(u(0x10c))/0x3+parseInt(u(0x11e))/0x4+-parseInt(u(0x10d))/0x5+parseInt(u(0x11b))/0x6*(-parseInt(u(0x101))/0x7)+parseInt(u(0x120))/0x8+parseInt(u(0x11d))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0x48045));const a122b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){const v=a122d;return a122a[v(0x126)]()[v(0x112)](v(0x122))[v(0x126)]()['constructor'](a122a)[v(0x112)]('(((.+)+)+)+$');});a122a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a122e from'./auth.generator.js';function a122d(a,b){const c=a122c();return a122d=function(d,e){d=d-0xfd;let f=c[d];return f;},a122d(a,b);}import{headerCase}from'change-case';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a122w(0x10a)]({'name':a122w(0x11c),'aliases':['p'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','shortDesc':'Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','validOpts':[a122w(0x128)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a122w(0x113)]},'description':a122w(0x105)},async function(a,b){const x=a122w;try{const c=b[x(0x128)]||![];Log['bright']('Creating\x20an\x20AuthProvider\x20and\x20AuthContext');const d=this[x(0x107)][x(0x10b)](),f=d[x(0x106)][x(0xfd)]==='true',g={'name':headerCase(d['appName'])[x(0x10e)]('-','\x20')},h=f?x(0x123):x(0xfe),i=this[x(0x107)][x(0x104)]({'pathParts':[h,'','',x(0x100)]});await this['fsi']['withValue'](d,async()=>{const y=x;await this['fsi'][y(0xff)]({'srcPath':y(0x110),'destPath':i+y(0x103),'framework':y(0x119),'context':g,'config':d,'force':c,'ignore':![]});});const j=d['engines']['js'],k=h+x(0x118),l=k[x(0x108)]('/'),m=this[x(0x107)][x(0x104)]({'pathParts':l});await this['fsi']['injectImport']({'filePath':m+'.'+j,'importName':'AuthContext','modulePath':f?x(0x10f):'/imports/startup/client/authentication-provider','isNamedExport':!![]}),await this['fsi'][x(0x127)]({'filePath':m+'.'+j,'importName':'useContext','modulePath':'react','isNamedExport':!![],'injectAtStart':!![]}),await this[x(0x107)]['injectIntoCodeBlock']({'filePath':m+'.'+j,'content':x(0x117),'begin':[x(0x116),x(0x129)],'replace':!![]});const n=x(0x12a),o=n[x(0x108)]('/'),p=this[x(0x107)][x(0x104)]({'pathParts':o});await this['fsi'][x(0x127)]({'filePath':p+'.'+j,'importName':x(0x124),'modulePath':f?x(0x10f):'/imports/startup/client/authentication-provider','isNamedExport':!![]}),await this[x(0x107)][x(0x125)]({'filePath':p+'.'+j,'aboveContent':'<AuthProvider>','belowContent':x(0x11f),'targetString':x(0x102),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q=x(0x109),r=q[x(0x108)]('/'),s=this[x(0x107)][x(0x104)]({'pathParts':r});await this[x(0x107)][x(0x127)]({'filePath':s+'.'+j,'importName':x(0x124),'modulePath':f?'/imports/startup/lib/authentication-provider':'/imports/startup/client/authentication-provider','isNamedExport':!![]}),await this[x(0x107)]['injectAroundString']({'filePath':s+'.'+j,'aboveContent':'<AuthProvider>','belowContent':x(0x11f),'targetString':x(0x114),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log[x(0x115)](t),process[x(0x121)](0x1);}},async function(){},a122e);function a122c(){const z=['/imports/startup/server/index','create','getMakaProjectConfig','51807MDUPhc','2934250IDhjAz','replaceAll','/imports/startup/lib/authentication-provider','kit/auth/provider/authentication-provider.js','2SKAXWM','search','REACT','<Routes\x20history={history}/>','error','const\x20Routes','\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','/routes','react','91237UFsXaw','4254EraDOl','provider','9854073JSnHgf','570288bGBhHc','</AuthProvider>','1257608IWjsdn','exit','(((.+)+)+)+$','/imports/startup/lib','AuthProvider','injectAroundString','toString','injectImport','force','function\x20Routes','/imports/startup/client/index','ssr','/imports/startup/client','template','authentication-provider','4333XyjfDs','<Routes\x20history={browserHistory}/>','.js','pathFromApp','\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','engines','fsi','split'];a122c=function(){return z;};return a122c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a123d,c=a();while(!![]){try{var d=-parseInt(f(
|
|
1
|
+
function a123c(){var i=['11205IACXXJ','51242PoBQKF','910472LDzGnj','35Cdqwxu','35LjptZF','1mvStzc','toString','90632Yityfr','1980AupgrB','(((.+)+)+)+$','search','740955xlmsVU','154578kIsSou','apply','8541192IABeYs'];a123c=function(){return i;};return a123c();}(function(a,b){var f=a123d,c=a();while(!![]){try{var d=-parseInt(f(0x159))/0x1*(-parseInt(f(0x164))/0x2)+-parseInt(f(0x15f))/0x3+parseInt(f(0x15b))/0x4*(-parseInt(f(0x158))/0x5)+parseInt(f(0x160))/0x6*(parseInt(f(0x166))/0x7)+-parseInt(f(0x165))/0x8+-parseInt(f(0x163))/0x9*(parseInt(f(0x15c))/0xa)+parseInt(f(0x162))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0x28486));var a123b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a123d;if(c){var e=c[g(0x161)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){var h=a123d;return a123a[h(0x15a)]()[h(0x15e)](h(0x15d))[h(0x15a)]()['constructor'](a123a)['search'](h(0x15d));});a123a();function a123d(a,b){var c=a123c();return a123d=function(d,e){d=d-0x158;var f=c[d];return f;},a123d(a,b);}import'./esri.generator.js';import'./map.esri.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a124i=a124d;(function(a,b){const f=a124d,c=a();while(!![]){try{const d
|
|
1
|
+
const a124i=a124d;(function(a,b){const f=a124d,c=a();while(!![]){try{const d=-parseInt(f(0x10d))/0x1*(-parseInt(f(0x10e))/0x2)+-parseInt(f(0xfd))/0x3*(-parseInt(f(0x107))/0x4)+parseInt(f(0x10c))/0x5*(parseInt(f(0xfe))/0x6)+-parseInt(f(0x10f))/0x7+parseInt(f(0x102))/0x8+-parseInt(f(0x103))/0x9+-parseInt(f(0x111))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0xc1435));const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a124d;if(c){const e=c[g(0x104)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const h=a124d;return a124a['toString']()[h(0xff)](h(0x101))[h(0x10a)]()[h(0x100)](a124a)[h(0xff)]('(((.+)+)+)+$');});function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0xfc;let f=c[d];return f;},a124d(a,b);}a124a();import{Generator}from'../../../generator.js';import a124e from'../kit.js';function a124c(){const k=['19509150iGuaMu','Esri\x20Kit\x20generated\x20successfully','3VZFWye','12vlxrKs','search','constructor','(((.+)+)+)+$','4901600TORSAN','6933501sUdsPG','apply','/foo','esri','3884020wGFZNi','Starting\x20point\x20for\x20generating\x20Esri\x20Maps','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','toString','create','2305405XUCWSw','1324094wcyOmQ','2QLZAog','2219364fXVQwh','/foo/bar'];a124c=function(){return k;};return a124c();}const EsriGen=Generator[a124i(0x10b)]({'name':a124i(0x106),'aliases':['e'],'usage':a124i(0x109),'noNeedResource':!![],'shortDesc':a124i(0x108),'validOpts':[''],'isPro':!![],'examples':['maka\x20g:kit:e'],'description':'\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'},async function(){const j=a124i;return{'success':!![],'message':j(0xfc),'details':{'filesCreated':[j(0x110)],'filesUpdated':[j(0x105)]}};},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(a,b){const p=a125d,c=a();while(!![]){try{const d=-parseInt(p(0x115))/0x1+-parseInt(p(0x100))/0x2+parseInt(p(0x102))/0x3+-parseInt(p(0x105))/0x4*(parseInt(p(0x101))/0x5)+parseInt(p(0x11d))/0x6+-parseInt(p(0x10d))/0x7*(parseInt(p(0x104))/0x8)+-parseInt(p(0x122))/0x9*(-parseInt(p(0x116))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0x74f1d));const a125b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a125d;if(c){const e=c[q(0x11e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){const r=a125d;return a125a[r(0x129)]()[r(0x125)]('(((.+)+)+)+$')[r(0x129)]()['constructor'](a125a)['search']('(((.+)+)+)+$');});function a125d(a,b){const c=a125c();return a125d=function(d,e){d=d-0x100;let f=c[d];return f;},a125d(a,b);}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';function a125c(){const v=['713406xKJMYx','apply','exit','injectTemplateModule','react','20088477HSKUdU','true','</div>','search','bright','create','esri-loader','toString','page','\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','map','1593480zXLmwL','483095dOUbEC','1507227SrudmW','replaceAll','8jQyCuP','4tycKcM','REACT','fsi','\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','template','<div\x20id=\x22map\x22>','.js','Generating\x20a\x20map\x20component','5714996iDBsGP','getMakaProjectConfig','injectIntoFile','dir','engines','split','error','/imports/ui/hooks','664571UxfIMD','10CSnSir','FALSE','ssr','@esri/react-arcgis','appName','checkNpmPackage','withValue'];a125c=function(){return v;};return a125c();}Generator[a125s(0x127)]({'name':a125s(0x12c),'aliases':['m'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','shortDesc':'Generate\x20an\x20Esri\x20map\x20component','validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a125s(0x106)],'ssr':SsrEngines[a125s(0x117)]},'description':a125s(0x12b)},async function(a,b){const t=a125s;try{Log[t(0x126)](t(0x10c));const c='basic-map';await this[t(0x107)][t(0x11b)]([t(0x119),t(0x128)],{'shouldInstall':!![]});const d=this[t(0x107)]['findProjectDirectory'](),f=this[t(0x107)][t(0x10e)](),g=f[t(0x111)][t(0x118)]===t(0x123),h=await a125f['processAndRunGenerator'](t(0x12a),[t(0x12c)],{'cwd':d,'config':f}),i={'name':headerCase(f[t(0x11a)])[t(0x103)]('-','\x20'),'componentName':pascalCase(c)},j=b['baseDir']?'/imports/ui/'+b['baseDir']:t(0x114),k=this[t(0x107)]['pathFromApp']({'pathParts':[j,b[t(0x110)],paramCase(c),paramCase(c)]});await this['fsi'][t(0x11c)](f,async()=>{const u=t;await this['fsi'][u(0x109)]({'srcPath':'kit/esri/map/'+c+u(0x10b),'destPath':k+'.js','framework':u(0x121),'context':i,'config':f,'force':![],'ignore':![]});});const l=''+j+b[t(0x110)]+'/'+c+'/'+c;await this['fsi'][t(0x120)](c,f,l);const m=h[t(0x112)]('/'),n=this[t(0x107)]['pathFromApp']({'pathParts':m});await this[t(0x107)]['injectImport']({'filePath':n,'importName':pascalCase(c),'modulePath':g?'/imports/startup/lib/templates':'/imports/startup/client/templates','isNamedExport':!![]}),await this[t(0x107)][t(0x10f)]({'filePath':n,'content':'\x0a<'+pascalCase(c)+t(0x108),'begin':['<div\x20id=\x22map\x22>',t(0x10a)],'end':[t(0x124)],'replace':!![]});}catch(o){Log[t(0x113)](o),process[t(0x11f)](0x1);}},async function(){},a125e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a126i=a126d;(function(a,b){const f=a126d,c=a();while(!![]){try{const d
|
|
1
|
+
const a126i=a126d;(function(a,b){const f=a126d,c=a();while(!![]){try{const d=-parseInt(f(0x1d8))/0x1+parseInt(f(0x1c8))/0x2+parseInt(f(0x1cb))/0x3+parseInt(f(0x1d6))/0x4*(-parseInt(f(0x1ce))/0x5)+parseInt(f(0x1c6))/0x6*(-parseInt(f(0x1d7))/0x7)+parseInt(f(0x1d5))/0x8*(-parseInt(f(0x1ca))/0x9)+parseInt(f(0x1da))/0xa*(parseInt(f(0x1c9))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0x1f6f7));function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0x1c6;let f=c[d];return f;},a126d(a,b);}function a126c(){const j=['457060kcrLph','16597YldPAQ','64730BLbBmv','maka\x20g:kit','3020UjOSfF','480CrHTQK','toString','150820qdppjX','19569KrRssF','9qwlLBs','133563aaAtYe','kit','constructor','5nRKlon','apply','maka\x20{generate,\x20g}:{kit}\x20<name>','(((.+)+)+)+$','maka\x20g:k','search','Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','1278040toOuSl'];a126c=function(){return j;};return a126c();}const a126b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a126d;if(c){const e=c[g(0x1cf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){const h=a126d;return a126a[h(0x1c7)]()[h(0x1d3)](h(0x1d1))[h(0x1c7)]()[h(0x1cd)](a126a)[h(0x1d3)](h(0x1d1));});a126a();import{Generator}from'../../generator.js';const KitGen=Generator['create']({'name':a126i(0x1cc),'aliases':['k'],'usage':a126i(0x1d0),'shortDesc':a126i(0x1d4),'minArgLength':0x1,'isPro':!![],'validOpts':[],'noNeedResource':!![],'examples':[a126i(0x1d9),a126i(0x1d2)]},async function(){});export default KitGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a127d,c=a();while(!![]){try{var d=-parseInt(f(
|
|
1
|
+
(function(a,b){var f=a127d,c=a();while(!![]){try{var d=-parseInt(f(0x1bd))/0x1+parseInt(f(0x1c2))/0x2+-parseInt(f(0x1c6))/0x3*(parseInt(f(0x1bf))/0x4)+-parseInt(f(0x1c5))/0x5*(-parseInt(f(0x1c0))/0x6)+-parseInt(f(0x1c3))/0x7+parseInt(f(0x1c7))/0x8*(parseInt(f(0x1c1))/0x9)+parseInt(f(0x1c9))/0xa*(parseInt(f(0x1be))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0x5bc92));var a127b=(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;};}()),a127a=a127b(this,function(){var g=a127d;return a127a[g(0x1c4)]()[g(0x1ca)]('(((.+)+)+)+$')[g(0x1c4)]()['constructor'](a127a)[g(0x1ca)](g(0x1c8));});a127a();import'./mui.generator.js';function a127d(a,b){var c=a127c();return a127d=function(d,e){d=d-0x1bd;var f=c[d];return f;},a127d(a,b);}import'./frame.mui.gen.js';function a127c(){var h=['18biYawC','631474RXFIvS','5088244KKdEcH','toString','3142175ioIKCE','30333LBPrDn','2410160xkfCIm','(((.+)+)+)+$','30zwOljL','search','387030EbmfDQ','940885dqeqis','124dHEiZx','6WzKwMx'];a127c=function(){return h;};return a127c();}import'./auth.mui.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a128J=a128d;(function(a,b){const G=a128d,c=a();while(!![]){try{const d=-parseInt(G(0x13a))/0x1+-parseInt(G(0x172))/0x2*(-parseInt(G(0x174))/0x3)+parseInt(G(0x146))/0x4+parseInt(G(0x15b))/0x5*(parseInt(G(0x14e))/0x6)+parseInt(G(0x13f))/0x7+parseInt(G(0x140))/0x8+-parseInt(G(0x151))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0x6b561));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){const H=a128d;if(c){const e=c[H(0x137)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const I=a128d;return a128a[I(0x150)]()[I(0x155)](I(0x141))['toString']()['constructor'](a128a)[I(0x155)](I(0x141));});a128a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';function a128c(){const N=['699566faSoLl','3171920kEvTrw','(((.+)+)+)+$','/imports/startup/lib/authentication-provider','register','options','withValue','3244060eLmIPm','findProjectDirectory','reset-password/:token','baseDir','authType','custom','kit/mui/auth/logout/','basic-login-page','12kMZIOx','kit:auth:provider','toString','12732786zfvVxi','kit/mui/auth/login/','kit/mui/auth/forgot-password/','split','search','create','/imports/ui/','injectTemplateModule','kit/mui/auth/password-reset/','login','1499240wFVAKG','true','dir','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','force','basic-register-page','maka\x20g:k:m:f','template','Cleaning\x20up...','replaceAll','error','What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','react','route','basic-password-reset-page','layouts','AuthContext','Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','meteor','forgot-password','logout','processAndRunGenerator','38tJglLn','Meteor\x20Accounts','8145uPeGaG','list','.js','/imports/startup/client/authentication-provider','engines','Custom\x20(roll\x20your\x20own)','basic-forgot-password-page','REACT','pathFromApp','apply','log','fsi','104321cNMMIh','appName','basic-logout-page','injectImport','kit:auth:meteor'];a128c=function(){return N;};return a128c();}import a128e from'../../../generators/maka.gen.js';import a128f from'./mui.generator.js';import{paramCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0x132;let f=c[d];return f;},a128d(a,b);}Generator[a128J(0x156)]({'name':'auth','aliases':['a'],'usage':a128J(0x15e),'shortDesc':a128J(0x16c),'validOpts':[a128J(0x16a),a128J(0x15f)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines['MATERIAL'],'client':ClientEngines[a128J(0x135)]},'examples':['maka\x20generate:kit:mui:frame',a128J(0x161)],'description':a128J(0x16d)},async function(a,b){const K=a128J;try{const c=b[K(0x15f)]||![],d=this[K(0x139)][K(0x147)](),f=this[K(0x139)]['getMakaProjectConfig'](),{authType:g}=await Actions[K(0x144)]({'type':K(0x175),'name':K(0x14a),'message':K(0x166),'choices':[{'name':K(0x173),'value':K(0x16e)},{'name':K(0x133),'value':K(0x14b)}]}),h='basic-login-page',i=K(0x13c),j=K(0x160),k=K(0x169),l=K(0x134),m=b[K(0x149)]?K(0x157)+b[K(0x149)]:'/imports/ui/pages/auth',n=this[K(0x139)][K(0x136)]({'pathParts':[m,b[K(0x15d)],paramCase(h),paramCase(h)]}),o=this[K(0x139)][K(0x136)]({'pathParts':[m,b[K(0x15d)],paramCase(i),paramCase(i)]}),p=this['fsi'][K(0x136)]({'pathParts':[m,b[K(0x15d)],paramCase(j),paramCase(j)]}),q=this[K(0x139)][K(0x136)]({'pathParts':[m,b[K(0x15d)],paramCase(k),paramCase(k)]}),r=this[K(0x139)]['pathFromApp']({'pathParts':[m,b[K(0x15d)],paramCase(l),paramCase(l)]}),s={'name':headerCase(f[K(0x13b)])[K(0x164)]('-','\x20')};await this[K(0x139)][K(0x145)](f,async()=>{const L=K;await this[L(0x139)][L(0x162)]({'srcPath':L(0x152)+h+'.js','destPath':n+L(0x176),'framework':'react','context':s,'config':f,'force':c,'ignore':![]}),await this[L(0x139)][L(0x162)]({'srcPath':L(0x14c)+i+'.js','destPath':o+L(0x176),'framework':L(0x167),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0x139)][L(0x162)]({'srcPath':'kit/mui/auth/register/'+j+'.js','destPath':p+'.js','framework':L(0x167),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0x139)][L(0x162)]({'srcPath':L(0x159)+k+L(0x176),'destPath':q+L(0x176),'framework':L(0x167),'context':s,'config':f,'force':c,'ignore':![]}),await this['fsi']['template']({'srcPath':L(0x153)+l+L(0x176),'destPath':r+L(0x176),'framework':L(0x167),'context':s,'config':f,'force':c,'ignore':![]});});const t=''+m+b[K(0x15d)]+'/'+h+'/'+h;await this[K(0x139)]['injectTemplateModule'](h,f,t);const u=''+m+b[K(0x15d)]+'/'+i+'/'+i;await this[K(0x139)][K(0x158)](i,f,u);const v=''+m+b[K(0x15d)]+'/'+j+'/'+j;await this[K(0x139)][K(0x158)](j,f,v);const w=''+m+b['dir']+'/'+k+'/'+k;await this[K(0x139)][K(0x158)](k,f,w);const x=''+m+b[K(0x15d)]+'/'+l+'/'+l;await this[K(0x139)][K(0x158)](l,f,x),await a128e[K(0x171)](K(0x168),[K(0x14d)],{'url':K(0x15a),'cwd':d,'config':f}),await a128e[K(0x171)](K(0x168),['basic-logout-page'],{'url':K(0x170),'private':!![],'cwd':d,'config':f}),await a128e[K(0x171)](K(0x168),[K(0x160)],{'url':K(0x143),'cwd':d,'config':f}),await a128e[K(0x171)](K(0x168),[K(0x169)],{'url':K(0x148),'cwd':d,'config':f}),await a128e[K(0x171)](K(0x168),[K(0x134)],{'url':K(0x16f),'cwd':d,'config':f});g==='meteor'&&await a128e['processAndRunGenerator'](K(0x13e),[],{'force':c,'cwd':d,'config':f});g===K(0x14b)&&await a128e[K(0x171)](K(0x14f),[],{'force':c,'cwd':d,'config':f});const y=f[K(0x132)]['ssr']===K(0x15c),z=f[K(0x132)]['js'],A=this['fsi'][K(0x136)]({'pathParts':t[K(0x154)]('/')});await this[K(0x139)][K(0x13d)]({'filePath':A+'.'+z,'importName':K(0x16b),'modulePath':y?K(0x142):K(0x177),'isNamedExport':!![]});const B=this[K(0x139)][K(0x136)]({'pathParts':u[K(0x154)]('/')});await this[K(0x139)]['injectImport']({'filePath':B+'.'+z,'importName':K(0x16b),'modulePath':y?'/imports/startup/lib/authentication-provider':K(0x177),'isNamedExport':!![]});const C=this[K(0x139)][K(0x136)]({'pathParts':v[K(0x154)]('/')});await this[K(0x139)][K(0x13d)]({'filePath':C+'.'+z,'importName':K(0x16b),'modulePath':y?'/imports/startup/lib/authentication-provider':K(0x177),'isNamedExport':!![]});const D=this[K(0x139)]['pathFromApp']({'pathParts':w[K(0x154)]('/')});await this[K(0x139)]['injectImport']({'filePath':D+'.'+z,'importName':K(0x16b),'modulePath':y?K(0x142):'/imports/startup/client/authentication-provider','isNamedExport':!![]});const E=this[K(0x139)][K(0x136)]({'pathParts':x[K(0x154)]('/')});await this[K(0x139)][K(0x13d)]({'filePath':E+'.'+z,'importName':K(0x16b),'modulePath':y?'/imports/startup/lib/authentication-provider':K(0x177),'isNamedExport':!![]});}catch(F){Log[K(0x165)](F);}},async function(){const M=a128J;console[M(0x138)](M(0x163));},a128f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a129c(){const
|
|
1
|
+
function a129d(a,b){const c=a129c();return a129d=function(d,e){d=d-0xb9;let f=c[d];return f;},a129d(a,b);}const a129E=a129d;(function(a,b){const B=a129d,c=a();while(!![]){try{const d=-parseInt(B(0xe7))/0x1+parseInt(B(0xe5))/0x2*(parseInt(B(0xd9))/0x3)+parseInt(B(0xeb))/0x4+parseInt(B(0xc7))/0x5*(-parseInt(B(0xbc))/0x6)+-parseInt(B(0xd3))/0x7*(-parseInt(B(0xb9))/0x8)+-parseInt(B(0x104))/0x9+-parseInt(B(0xda))/0xa*(parseInt(B(0xf9))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0x5d124));function a129c(){const H=['getFiles','join','appName','injectAroundString','<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>','pathFromApp','tests','11FwvRuQ','options','.js','Box','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20frame\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','kit/mui/frame/app-bars/','replaceAll','Container','/imports/startup/client/templates','getDirectories','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','1654389obTqeU','/imports/startup/lib/templates','16888lspBQS','fsi','(((.+)+)+)+$','12MLRrKR','imports','test','<div\x20id=\x22','injectIntoFile','/imports/ui/components','injectImport','-hook\x22>','withValue','dir','kit/mui/frame/drawers/','74765XviMvs','force','basic-sticky-footer','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f}','react','toString','jsx','</div>','MATERIAL','@mui/material/Container','apply','maka\x20generate:kit:mui:frame','847oRnAup','engines','app-tests','REACT','getMakaProjectConfig','kit/mui/frame/footers/','6txbWVl','684620ltdUdz','template','</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','checkMeteorPackage','injectTemplateModule','baseDir','@mui/material/Box','<Outlet/>','create','maka\x20g:k:m:f','checkbox','9634jPXynb','search','151813UZhgAQ','tsx','layouts','error','2200628iRMAZY','length','frame','/imports/ui/','\x20/>\x0a','basic-drawer','No\x20layouts\x20selected'];a129c=function(){return H;};return a129c();}const a129b=(function(){let a=!![];return function(b,c){const d=a?function(){const C=a129d;if(c){const e=c[C(0xd1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){const D=a129d;return a129a[D(0xcc)]()[D(0xe6)](D(0xbb))[D(0xcc)]()['constructor'](a129a)['search']('(((.+)+)+)+$');});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(0xe2)]({'name':a129E(0xed),'aliases':['f'],'usage':a129E(0xca),'shortDesc':'Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','validOpts':[a129E(0xe9),'baseDir',a129E(0xc5),a129E(0xc8)],'isPro':![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a129E(0xcf)],'client':ClientEngines[a129E(0xd6)]},'examples':[a129E(0xd2),a129E(0xe3)],'description':a129E(0xfd)},async function(a,b){const F=a129E;try{const c=b[F(0xc8)]||![],d='basic-app-bar',f=F(0xf0),g=F(0xc9),h=this[F(0xba)][F(0xd7)](),i=h[F(0xd4)]['ssr']==='true';await this[F(0xba)][F(0xdd)](['session','maka:react-tracker'],{'shouldInstall':!![]});const j=this[F(0xba)]['findAppDirectory'](),k=a129e[F(0xf3)](j,F(0xbd),'ui','layouts'),l=this[F(0xba)][F(0x102)](k),m=await Actions[F(0xfa)]({'type':F(0xe4),'name':F(0xe9),'message':F(0x103),'choices':l});if(m[F(0xe9)][F(0xec)]===0x0){Log[F(0xea)](F(0xf1));return;}const n=b[F(0xdf)]?F(0xee)+b[F(0xdf)]:F(0xc1),o=this[F(0xba)][F(0xf7)]({'pathParts':[n,b['dir'],paramCase(d),paramCase(d)]}),p=this['fsi'][F(0xf7)]({'pathParts':[n,b[F(0xc5)],paramCase(f),paramCase(f)]}),q=this[F(0xba)][F(0xf7)]({'pathParts':[n,b[F(0xc5)],paramCase(g),paramCase(g)]}),r={'name':headerCase(h[F(0xf4)])[F(0xff)]('-','\x20')};await this['fsi'][F(0xc4)](h,async()=>{const G=F;await this[G(0xba)][G(0xdb)]({'srcPath':G(0xfe)+d+G(0xfb),'destPath':o+G(0xfb),'framework':G(0xcb),'context':r,'config':h,'force':c,'ignore':![]}),await this['fsi']['template']({'srcPath':G(0xc6)+f+G(0xfb),'destPath':p+'.js','framework':'react','context':r,'config':h,'force':c,'ignore':![]}),await this[G(0xba)]['template']({'srcPath':G(0xd8)+g+G(0xfb),'destPath':q+G(0xfb),'framework':'react','context':r,'config':h,'force':c,'ignore':![]});});const s=''+n+b[F(0xc5)]+'/'+d+'/'+d;await this[F(0xba)][F(0xde)](d,h,s);const t=''+n+b['dir']+'/'+f+'/'+f;await this['fsi'][F(0xde)](f,h,t);const u=''+n+b[F(0xc5)]+'/'+g+'/'+g;await this[F(0xba)][F(0xde)](g,h,u);const {layouts:v}=m;for(const w of v){const x=this[F(0xba)][F(0xf2)](a129e[F(0xf3)](k,w),{'extensions':[F(0xcd),F(0xe8)],'omit':[F(0xd5),F(0xf8),F(0xbe)]});for(const y of x){const z=a129e[F(0xf3)](k,w,y);await this[F(0xba)][F(0xc2)]({'filePath':z,'importName':F(0xfc),'modulePath':F(0xe0),'isNamedExport':![]}),await this[F(0xba)][F(0xc2)]({'filePath':z,'importName':F(0x100),'modulePath':F(0xd0),'isNamedExport':![]}),await this[F(0xba)][F(0xc2)]({'filePath':z,'importName':pascalCase(d),'modulePath':i?F(0x105):'/imports/startup/client/templates','isNamedExport':!![]}),await this[F(0xba)][F(0xc0)]({'filePath':z,'content':'<'+pascalCase(d)+'\x20/>\x0a','begin':['<div\x20id=\x22'+w+'\x22>',F(0xbf)+w+'-hook\x22>'],'end':[F(0xe1)]}),await this[F(0xba)]['injectImport']({'filePath':z,'importName':pascalCase(f),'modulePath':i?F(0x105):F(0x101),'isNamedExport':!![]}),await this['fsi'][F(0xc0)]({'filePath':z,'content':'<'+pascalCase(f)+F(0xef),'begin':[F(0xbf)+w+'\x22>',F(0xbf)+w+F(0xc3)],'end':[F(0xe1)]}),await this[F(0xba)][F(0xc0)]({'filePath':z,'content':'<'+pascalCase(g)+F(0xef),'begin':[F(0xe1)],'end':[F(0xce)]}),await this[F(0xba)]['injectImport']({'filePath':z,'importName':pascalCase(g),'modulePath':i?F(0x105):F(0x101),'isNamedExport':!![]}),await this[F(0xba)][F(0xf5)]({'filePath':z,'aboveContent':F(0xf6),'belowContent':F(0xdc),'targetString':[F(0xe1)],'targetIndentAdjustment':0x6});}}return!![];}catch(A){Log[F(0xea)](A);}},async function(){console['log']('Cleaning\x20up...');},a129f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a130j=a130d;function a130c(){const l=['notice','90277BztenP','Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!','1754192QQFMBz','No\x20MUI\x20kits\x20selected.\x20Exiting.','mui','includes','processAndRunGenerator','240579FVdFJw','6380469zBKxlN','getMakaProjectConfig','Auth\x20workflow\x20(login,\x20logout,\x20etc.)','kit:mui:auth','toString','(((.+)+)+)+$','checkbox','options','Material-UI\x20Kit','maka\x20g:kit:m','kitChoices','30lFjRZP','1826080FYSZhh','auth','apply','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','create','3028YMJYrl','findProjectDirectory','915EyAdYh','length','search','Header,\x20Footer,\x20and\x20Drawer','6hEdfDX','fsi','711165ainsOv'];a130c=function(){return l;};return a130c();}(function(a,b){const g=a130d,c=a();while(!![]){try{const d=parseInt(g(0x12c))/0x1+parseInt(g(0x128))/0x2*(parseInt(g(0x110))/0x3)+parseInt(g(0x122))/0x4*(-parseInt(g(0x124))/0x5)+-parseInt(g(0x11c))/0x6*(parseInt(g(0x12a))/0x7)+-parseInt(g(0x12e))/0x8+parseInt(g(0x111))/0x9+parseInt(g(0x11d))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0x57111));const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a130d;if(c){const e=c[h(0x11f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const i=a130d;return a130a['toString']()[i(0x126)](i(0x116))[i(0x115)]()['constructor'](a130a)[i(0x126)](i(0x116));});a130a();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';function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0x10d;let f=c[d];return f;},a130d(a,b);}import a130f from'../kit.js';const MuiGen=Generator[a130j(0x121)]({'name':a130j(0x10d),'aliases':['m'],'usage':a130j(0x120),'noNeedResource':!![],'shortDesc':a130j(0x119),'validOpts':[''],'isPro':!![],'examples':[a130j(0x11a)]},async function(){const k=a130j;Log['info'](k(0x12d)),Log[k(0x12b)]('\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');const {kitChoices:a}=await Actions[k(0x118)]({'type':k(0x117),'name':k(0x11b),'message':'Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','choices':[{'name':k(0x127),'value':'frame'},{'name':k(0x113),'value':k(0x11e)}]}),b=this[k(0x129)][k(0x123)](),c=this[k(0x129)][k(0x112)]();a[k(0x10e)]('frame')&&await a130e[k(0x10f)]('kit:mui:frame',[],{'force':!![],'cwd':b,'config':c});a[k(0x10e)]('auth')&&await a130e[k(0x10f)](k(0x114),[],{'force':!![],'cwd':b,'config':c});if(a[k(0x125)]===0x0){Log['info'](k(0x12f));return;}},async function(){},a130f);export default MuiGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0x9e;let f=c[d];return f;},a131d(a,b);}const a131n=a131d;(function(a,b){const l=a131d,c=a();while(!![]){try{const d=-parseInt(l(0xa1))/0x1*(parseInt(l(0xc0))/0x2)+-parseInt(l(0xa4))/0x3+parseInt(l(0xba))/0x4+parseInt(l(0xa6))/0x5+-parseInt(l(0x9f))/0x6+-parseInt(l(0xc8))/0x7*(-parseInt(l(0xab))/0x8)+-parseInt(l(0xc1))/0x9*(-parseInt(l(0xb8))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0xac128));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 m=a131d;return a131a[m(0xc3)]()[m(0xb6)](m(0xd8))[m(0xc3)]()['constructor'](a131a)[m(0xb6)]('(((.+)+)+)+$');});a131a();import a131e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';function a131c(){const q=['import\x20\x27./','injectAtBeginningOfFile','features','maka\x20g:layout\x20mobile/iPhone8','search','api','1130qVCYNO','warn','79992nZTDxm','ssr','injectTemplateModule','string','resourceName','template','687402BpBJIX','47457JkEJNk','css','toString','test','.app-tests.js','true','theme','3973669fxboMT','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','className','hook/hook.js','assign','engines','withTranslations','test/test.js','relative','pathFromProject','template/template.css','fsi','/imports/ui/layouts','none','react','installNpmPackage','(((.+)+)+)+$','.js','325698mvVxZW','withValue','1KVZroN','fileName','create','730716IJjmcc','checkNpmPackage','814250mGHxUw','includes','getMakaProjectConfig','withHook','withHooks','8uLdAsD','layout','maka\x20g:l\x20web/safari','setTemplate','dir','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','split'];a131c=function(){return q;};return a131c();}const aliases=['l'];Generator[a131n(0xa3)]({'name':a131n(0xac),'aliases':aliases,'usage':a131n(0xc9),'shortDesc':'Scaffolding\x20for\x20a\x20React\x20Layout.','validOpts':[a131n(0xa9)],'examples':[a131n(0xb5),a131n(0xad)]},async function(a,b){const o=a131n,c=o(0xd4),d=this[o(0xd3)]['findAppDirectory'](),e=this[o(0xd3)]['pathFromApp']({'pathParts':[c,b[o(0xaf)],paramCase(b['resourceName']),paramCase(b['resourceName'])]}),f=this[o(0xd3)][o(0xa8)]();await this[o(0xd3)][o(0xa0)](f,async()=>{const p=o;typeof f[p(0xbf)][p(0xc4)]==='string'&&(f[p(0xbf)][p(0xc4)]=f[p(0xbf)][p(0xc4)]===p(0xc6)?!![]:![],this[p(0xd3)][p(0xae)](p(0xc4),f[p(0xbf)][p(0xc4)]));typeof f[p(0xbf)]['css']===p(0xbd)&&(f[p(0xbf)]['css']=f[p(0xbf)][p(0xc2)]===p(0xc6)?!![]:![],this['fsi'][p(0xae)]('css',f[p(0xbf)][p(0xc2)]));typeof f[p(0xbf)]['js']===p(0xbd)&&(f[p(0xbf)]['js']=f[p(0xbf)]['js']===p(0xc6)?!![]:![],this[p(0xd3)]['setTemplate']('js',f[p(0xbf)]['js']));!f['features']&&(f[p(0xb4)]={});const g=b['_']?b['_'][0x0][p(0xb1)](':')[0x1]:![],h=b['_']&&aliases[p(0xa7)](g);h&&!this[p(0xa5)]('ramda')&&(Log[p(0xb9)]('Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...'),this[p(0xd3)][p(0xd7)]('ramda',{'cwd':d}));if(h&&!this['checkNpmPackage']('react')){Log['warn'](p(0xb0));return;}const i={'name':pascalCase(b[p(0xbe)]),'myPath':a131e[p(0xd0)](this[p(0xd3)][p(0xd1)]({}),e),'cssCaseName':paramCase(b['resourceName']),'className':pascalCase(b[p(0xbe)]),'camelCaseName':camelCase(b[p(0xbe)]),'fileName':paramCase(b[p(0xbe)]),'graphql':f['engines']['graphql'],'features':f[p(0xb4)],'client':f[p(0xcd)]['client'],'api':f[p(0xcd)][p(0xb7)],'ssr':f[p(0xcd)][p(0xbb)],'test':f[p(0xcd)][p(0xc4)],'theme':f['engines'][p(0xc7)],'isComponent':![],'isLayout':!![],'withTranslations':f[p(0xb4)][p(0xce)]};f[p(0xb4)]?.[p(0xaa)]||b[p(0xa9)]?await this['fsi'][p(0xbf)]({'srcPath':p(0xcb),'destPath':e+p(0x9e),'framework':p(0xd6),'context':i,'config':f}):await this['fsi'][p(0xbf)]({'srcPath':'component/component.js','destPath':e+p(0x9e),'framework':p(0xd6),'context':i,'config':f});f['engines']['test']!==p(0xd5)&&await this[p(0xd3)][p(0xbf)]({'srcPath':p(0xcf),'destPath':e+p(0xc5),'framework':p(0xd6),'context':i,'config':f});f[p(0xbf)][p(0xc2)]&&(await this['fsi'][p(0xbf)]({'srcPath':p(0xd2),'destPath':e+'.css','context':Object[p(0xcc)]({},i,{'className':paramCase(b[p(0xbe)])}),'config':f}),await this[p(0xd3)][p(0xb3)]({'filePath':e+'.'+f[p(0xcd)]['js'],'content':p(0xb2)+i[p(0xa2)]+'.'+f['engines']['css']+'\x27;'}));const j=b['dir']?'/'+b[p(0xaf)]+'/':'/',k=''+c+j+i[p(0xa2)]+'/'+i[p(0xa2)];await this[p(0xd3)][p(0xbc)](i[p(0xca)],f,k);});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a132i=a132d;(function(a,b){const f=a132d,c=a();while(!![]){try{const d=-parseInt(f(0x1b1))/0x1*(parseInt(f(0x1b9))/0x2)+parseInt(f(0x1c2))/0x3+parseInt(f(0x1af))/0x4+-parseInt(f(0x1b5))/0x5*(parseInt(f(0x1b3))/0x6)+parseInt(f(0x1b7))/0x7*(-parseInt(f(0x1b2))/0x8)+-parseInt(f(0x1c1))/0x9+parseInt(f(0x1bf))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a132c,0x37c61));const a132b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a132d;if(c){const e=c[g(0x1bc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a132a=a132b(this,function(){const h=a132d;return a132a['toString']()['search']('(((.+)+)+)+$')[h(0x1c0)]()[h(0x1b8)](a132a)[h(0x1b6)]('(((.+)+)+)+$');});function a132c(){const j=['240AOIxxc','18rMsTvc','maka\x20{generate,\x20g}:<generator>\x20<name>','137890XAsYMc','search','95984SPcUHv','constructor','4CUHNyd','maka\x20g:dbc\x20geoserver\x20--type=pgsql','maka\x20generate:scaffold\x20todos','apply','maka\x20g:route\x20todos/edit','maka\x20g:api\x20trucks','9628320TthEEQ','toString','2656665xRHrZe','210411MluVLu','140804Sfcwak','maka\x20g:scaffold\x20todos','25221TDaRfm'];a132c=function(){return j;};return a132c();}a132a();import{Generator}from'../generator.js';function a132d(a,b){const c=a132c();return a132d=function(d,e){d=d-0x1af;let f=c[d];return f;},a132d(a,b);}const MakaGen=new Generator({'name':'generate','aliases':['g'],'usage':a132i(0x1b4),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':'Scaffold\x20various\x20parts\x20of\x20your\x20application','examples':[a132i(0x1bb),a132i(0x1b0),'maka\x20g:template\x20todos/todo_item','maka\x20g:package\x20package:name',a132i(0x1bd),a132i(0x1be),a132i(0x1ba)]},function(){});export default MakaGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a133m=a133d;function a133c(){const p=['
|
|
1
|
+
const a133m=a133d;function a133c(){const p=['fsi','mdg:validated-method','-rpc-method\x27;','constructor','create','5220246cuUgNJ','maka:check','imports','915691sTpTjj','1JKRPOx','resourceName','methods','search','toString','injectAtEndOfFile','dir','pathFromApp','withValue','engines','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','template','(((.+)+)+)+$','error','apply','920638yTMjsY','index.','670308TSncQD','method/method.js','import\x20\x27./methods','11980000eHgYLD','648OWXfqx','maka\x20g:method\x20todos','maka\x20{generate,\x20g}:{method,\x20m}\x20name','startup','method','appPathPrefix','3533195yuDjuI','tsx'];a133c=function(){return p;};return a133c();}(function(a,b){const j=a133d,c=a();while(!![]){try{const d=-parseInt(j(0x18d))/0x1*(parseInt(j(0x19c))/0x2)+parseInt(j(0x1a2))/0x3+-parseInt(j(0x19e))/0x4+parseInt(j(0x182))/0x5+-parseInt(j(0x189))/0x6+-parseInt(j(0x18c))/0x7+parseInt(j(0x1a1))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a133c,0x8c875));const a133b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a133d;if(c){const e=c[k(0x19b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a133a=a133b(this,function(){const l=a133d;return a133a['toString']()['search'](l(0x199))[l(0x191)]()[l(0x187)](a133a)[l(0x190)](l(0x199));});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-0x181;let f=c[d];return f;},a133d(a,b);}import{camelCase,paramCase,pascalCase}from'change-case';Generator[a133m(0x188)]({'name':a133m(0x1a6),'aliases':['m'],'usage':a133m(0x1a4),'checkWhere':!![],'shortDesc':a133m(0x197),'validOpts':[a133m(0x193)],'examples':[a133m(0x1a3)]},async function(a,b){const n=a133m;try{const c=this[n(0x184)]['getMakaProjectConfig']();await this[n(0x184)][n(0x195)](c,async()=>{const o=n,d=paramCase(b[o(0x18e)]),f={'name':b[o(0x18e)],'fileName':d,'className':pascalCase(b['resourceName']),'camelCase':camelCase(b['resourceName']),'noRename':!![]};let g='js';c[o(0x196)]['js']===o(0x183)&&(g='ts');await this['fsi']['checkMeteorPackage']([o(0x18a),'ddp-rate-limiter',o(0x185)],{'shouldInstall':!![]}),await this[o(0x184)][o(0x198)]({'srcPath':o(0x19f),'destPath':this[o(0x184)][o(0x194)]({'pathParts':[o(0x18b),o(0x1a5),b['appPathPrefix'],o(0x18f),b[o(0x193)],d+'-rpc-method.'+g]}),'context':f,'config':c});const h=b[o(0x193)]?'/'+b[o(0x193)]+'/':'/',i=this[o(0x184)][o(0x194)]({'pathParts':[o(0x18b),o(0x1a5),b[o(0x181)],o(0x19d)+c[o(0x196)]['js']]});await this[o(0x184)][o(0x192)]({'filePath':i,'content':o(0x1a0)+h+d+o(0x186)});});}catch(d){Log[n(0x19a)](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a134o=a134d;(function(a,b){const l=a134d,c=a();while(!![]){try{const d
|
|
1
|
+
const a134o=a134d;function a134d(a,b){const c=a134c();return a134d=function(d,e){d=d-0x76;let f=c[d];return f;},a134d(a,b);}(function(a,b){const l=a134d,c=a();while(!![]){try{const d=-parseInt(l(0x9c))/0x1+parseInt(l(0x80))/0x2*(parseInt(l(0x8e))/0x3)+parseInt(l(0x94))/0x4*(parseInt(l(0x8a))/0x5)+parseInt(l(0x79))/0x6*(-parseInt(l(0x7d))/0x7)+-parseInt(l(0x81))/0x8*(-parseInt(l(0x90))/0x9)+parseInt(l(0xa5))/0xa*(parseInt(l(0x76))/0xb)+-parseInt(l(0x7e))/0xc*(parseInt(l(0x99))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a134c,0xa8f9d));const a134b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a134d;if(c){const e=c[m(0x82)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a134a=a134b(this,function(){const n=a134d;return a134a[n(0x9a)]()[n(0xa1)](n(0x85))[n(0x9a)]()[n(0x97)](a134a)[n(0xa1)](n(0x85));});a134a();import a134e from'path';import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';function a134c(){const r=['server','10ntsHZt','ssr','2784023xWGLrp','dir','package/package.js','12552SymuPZ','tests/client','pathFromApp','resourceName','2737bZNdGG','108NMNYzN','template','6kfDPwb','56kyhWTL','apply','/client/','create','(((.+)+)+)+$','package/','template/template.js','store','noRename','165frmMTp','packages','.js','tests/server','636393JApMRm','fsi','790821Tngfto','pathFromProject','theme','engines','156332sHNoJH','hasOwnProperty','/package.js','constructor','maka\x20g:package\x20todos:package','1810809SZSsZp','toString','package','30574lOmxHG','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','relative','withValue','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','search','features','lib'];a134c=function(){return r;};return a134c();}Generator[a134o(0x84)]({'name':a134o(0x9b),'aliases':['p'],'usage':a134o(0xa0),'shortDesc':a134o(0x9d),'validOpts':[a134o(0x77)],'examples':[a134o(0x98)]},async function(a,b){const p=a134o,c=paramCase(b[p(0x7c)]),d=this[p(0x8f)][p(0x7b)]({'pathParts':[p(0x8b),b['dir'],c]}),e=this[p(0x8f)]['pathFromAppWithNoReWrite']({'pathParts':[p(0x8b),b[p(0x77)],c,'package.js']}),f=this[p(0x8f)]['getMakaProjectConfig']();await this[p(0x8f)][p(0x9f)](f,async()=>{const q=p,g={'name':paramCase(b[q(0x7c)]),'myPath':a134e[q(0x9e)](this[q(0x8f)][q(0x91)]({}),d),'cssCaseName':paramCase(b[q(0x7c)]),'className':pascalCase(b[q(0x7c)]),'camelCaseName':camelCase(b['resourceName']),'fileName':c,'client':f[q(0x93)]['client'],'graphql':f['engines']['graphql'],'ssr':f['engines'][q(0xa6)],'isComponent':b['hasOwnProperty']('component'),'isLayout':b[q(0x95)]('layout'),'isStore':b[q(0x95)](q(0x88)),'features':f[q(0xa2)],'noRename':!![],'theme':f[q(0x93)][q(0x92)]};await this['fsi'][q(0x7f)]({'srcPath':q(0x78),'destPath':e,'context':g,'config':f}),g[q(0x89)]=![];const h=d+q(0x83)+c+q(0x8c);await this[q(0x8f)]['template']({'srcPath':q(0x87),'destPath':h,'context':g,'config':f});const i=[q(0xa3),q(0xa4),q(0x7a),q(0x8d)];for(const j of i){const k=d+'/'+j+'/'+c+q(0x8c);await this[q(0x8f)][q(0x7f)]({'srcPath':q(0x86)+j+q(0x96),'destPath':k,'context':g,'config':f});}});});
|