@maka/maka-cli 5.0.9 → 5.0.10
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
|
+
const a116k=a116d;(function(a,b){const h=a116d,c=a();while(!![]){try{const d=-parseInt(h(0x1f9))/0x1*(-parseInt(h(0x1f7))/0x2)+-parseInt(h(0x208))/0x3+-parseInt(h(0x20c))/0x4*(parseInt(h(0x1f3))/0x5)+parseInt(h(0x1f6))/0x6*(parseInt(h(0x1fd))/0x7)+-parseInt(h(0x205))/0x8+-parseInt(h(0x204))/0x9*(-parseInt(h(0x200))/0xa)+-parseInt(h(0x1fb))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a116c,0xe5a36));const a116b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a116d;if(c){const e=c[i(0x210)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a116a=a116b(this,function(){const j=a116d;return a116a['toString']()[j(0x201)](j(0x1f5))['toString']()[j(0x202)](a116a)[j(0x201)](j(0x1f5));});a116a();function a116c(){const n=['app','(((.+)+)+)+$','119496ebmoHx','2AzCSMn','dockerfile','1788439JQtFJc','maka\x20g:dockerfile','1742301MydSxL','join','448QyLyAU','withValue','cert','190TajqQF','search','constructor','create','410913xAVSsh','11428448HPTusd','fsi','force','1460304dhXBAM','Dockerfile','app.tar.gz','isFile','4jYkdCi','maka\x20{generate,\x20g}:dockerfile','appName','error','apply','getGlobalConfig','findProjectDirectory','Generate\x20an\x20updated\x20dockerfile','build','4581165foeHLp'];a116c=function(){return n;};return a116c();}import{Generator}from'../generator.js';function a116d(a,b){const c=a116c();return a116d=function(d,e){d=d-0x1f2;let f=c[d];return f;},a116d(a,b);}import{Log}from'../tools/log/log.class.js';import a116e from'path';Generator[a116k(0x203)]({'name':a116k(0x1f8),'usage':a116k(0x20d),'shortDesc':a116k(0x213),'validOpts':[{'name':a116k(0x207),'boolFlag':!![]}],'noNeedResource':!![],'examples':[a116k(0x1fa)]},async function(a,b){const l=a116k;try{const c=await this['fsi']['getMakaProjectConfig'](),d=await this[l(0x206)][l(0x211)](),f=this[l(0x206)][l(0x212)]();await this[l(0x206)][l(0x1fe)](c,async()=>{const m=l,g={'app':d[m(0x20e)],'config':c,'appPath':a116e['join'](f,m(0x1f4)),'bundlePath':a116e[m(0x1fc)](f,m(0x1f2),m(0x20a)),'useCert':this[m(0x206)][m(0x20b)](d[m(0x1ff)])};await this[m(0x206)]['template']({'srcPath':'docker/Dockerfile','destPath':a116e[m(0x1fc)](f,m(0x209)),'framework':'service','context':g,'config':c,'force':b[m(0x207)]});});}catch(g){Log[l(0x20f)](g);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a117o=a117d;(function(a,b){const l=a117d,c=a();while(!![]){try{const d
|
|
1
|
+
function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0x17e;let f=c[d];return f;},a117d(a,b);}const a117o=a117d;(function(a,b){const l=a117d,c=a();while(!![]){try{const d=parseInt(l(0x18d))/0x1*(parseInt(l(0x188))/0x2)+parseInt(l(0x1c0))/0x3+parseInt(l(0x1a9))/0x4*(parseInt(l(0x1b6))/0x5)+-parseInt(l(0x199))/0x6*(parseInt(l(0x19a))/0x7)+parseInt(l(0x192))/0x8+-parseInt(l(0x198))/0x9*(parseInt(l(0x1b2))/0xa)+parseInt(l(0x187))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0xa8a48));const a117b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a117d;if(c){const e=c[m(0x183)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){const n=a117d;return a117a[n(0x1af)]()['search'](n(0x18f))['toString']()[n(0x1a1)](a117a)[n(0x1ad)](n(0x18f));});a117a();import a117e from'path';import{paramCase,pascalCase,camelCase}from'change-case';function a117c(){const r=['injectTemplateModule','react','string','10143045zqGBVh','4eqiVkj','components','Creating\x20','force','@apollo/client\x20isomorphic-fetch','50262FYtjkK','assign','(((.+)+)+)+$','/imports/ui/','notice','4454416ZxxEkV','theme','.css','error','@apollo/client','pathFromApp','405MfDDPW','7369806bzulmH','7WfANoa','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','withTranslations','hook','className','/imports/ui/components','cssCaseName','constructor','engines','none','template','\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','create','checkNpmPackage','30364jhMxob','getMakaProjectConfig','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','import\x20\x27./','search','injectAtBeginningOfFile','toString','resourceName','graphql','233710qiQMIH','pathFromProject','warn','installNpmPackage','20SoGlCI','features','hooks','baseDir','fsi','setTemplate','dir','template/template.css','fileName','true','4082913OwoFsU','relative','withValue','.js','pages','layouts','\x20hook...','apply'];a117c=function(){return r;};return a117c();}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';Generator[a117o(0x1a7)]({'name':a117o(0x19d),'aliases':['h'],'checkWhere':![],'usage':'maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','shortDesc':'Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','validOpts':[{'name':a117o(0x1b9),'values':[a117o(0x1b8),a117o(0x189),a117o(0x180),a117o(0x181)]},{'name':a117o(0x18b),'boolFlag':!![]}],'examples':['maka\x20g:hook\x20cool-hook'],'description':a117o(0x1a5)},async function(a,b){const p=a117o;Log[p(0x191)](p(0x18a)+b[p(0x1b0)]+p(0x182));try{const c=this[p(0x1ba)]['checkNpmPackage'](p(0x185));if(!c){Log[p(0x195)](p(0x19b));throw new UsageError();}const d=this['fsi']['findAppDirectory'](),f=b[p(0x1b9)]?p(0x190)+b[p(0x1b9)]:p(0x19f),g=this['fsi'][p(0x197)]({'pathParts':[f,b['dir'],paramCase(b[p(0x1b0)]),paramCase(b[p(0x1b0)])]}),h=await this['fsi'][p(0x1aa)]();await this['fsi'][p(0x17e)](h,async()=>{const q=p;typeof h[q(0x1a4)]['css']===q(0x186)&&(h[q(0x1a4)]['css']=h['template']['css']===q(0x1bf)?!![]:![],this[q(0x1ba)][q(0x1bb)](q(0x1a6),h[q(0x1a4)][q(0x1a6)]));h[q(0x1a2)][q(0x1b1)]==='apollo'&&!this[q(0x1ba)][q(0x1a8)](q(0x196))&&(Log[q(0x1b4)](q(0x1ab)),await this[q(0x1ba)][q(0x1b5)](q(0x18c),{'cwd':d}));const i={'cssCaseName':paramCase(b['resourceName']),'camelCaseName':camelCase(b['resourceName']),'className':pascalCase(b[q(0x1b0)]),'name':pascalCase(b[q(0x1b0)]),'graphql':h[q(0x1a2)][q(0x1b1)],'theme':h[q(0x1a2)][q(0x193)],'features':h['features'],'myPath':a117e[q(0x1c1)](this[q(0x1ba)][q(0x1b3)]({}),g),'fileName':paramCase(b[q(0x1b0)]),'isComponent':![],'isLayout':![],'withTranslations':h[q(0x1b7)][q(0x19c)]};await this[q(0x1ba)][q(0x1a4)]({'srcPath':'hook/hook.js','destPath':g+q(0x17f),'context':i,'config':h,'framework':q(0x185),'force':b['force']});h[q(0x1a4)][q(0x1a6)]&&(await this['fsi'][q(0x1a4)]({'srcPath':q(0x1bd),'destPath':g+q(0x194),'context':Object[q(0x18e)]({},i,{'className':i[q(0x1a0)]}),'config':h,'force':b[q(0x18b)]}),await this[q(0x1ba)][q(0x1ae)]({'filePath':g+'.'+h[q(0x1a2)]['js'],'content':q(0x1ac)+i[q(0x1be)]+'.'+h[q(0x1a2)][q(0x1a6)]+'\x27;'}));h[q(0x1a2)]['test']!==q(0x1a3)&&await this[q(0x1ba)]['template']({'srcPath':'test/test.js','destPath':g+'.app-tests.js','framework':q(0x185),'context':i,'config':h,'force':b[q(0x18b)]});const j=b[q(0x1bc)]?'/'+b[q(0x1bc)]+'/':'/',k=''+f+j+i[q(0x1be)]+'/'+i[q(0x1be)];await this[q(0x1ba)][q(0x184)](i[q(0x19e)],h,k);});}catch(i){Log[p(0x195)](i);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a118d,c=a();while(!![]){try{var d
|
|
1
|
+
(function(a,b){var f=a118d,c=a();while(!![]){try{var d=parseInt(f(0x1df))/0x1*(parseInt(f(0x1d8))/0x2)+-parseInt(f(0x1de))/0x3+parseInt(f(0x1dd))/0x4*(-parseInt(f(0x1d3))/0x5)+parseInt(f(0x1d4))/0x6+-parseInt(f(0x1d6))/0x7+parseInt(f(0x1da))/0x8+-parseInt(f(0x1d7))/0x9*(parseInt(f(0x1d2))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0xa4aaa));var a118b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a118d;if(c){var e=c[g(0x1d9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){var h=a118d;return a118a['toString']()[h(0x1db)]('(((.+)+)+)+$')[h(0x1e0)]()[h(0x1d5)](a118a)[h(0x1db)](h(0x1dc));});a118a();import'./kit.js';import'./mui/_index.js';function a118c(){var i=['117300ZeGJtD','125688EMFkQv','17sVYHvg','toString','7610iCgCrb','110OTASPu','7157970wOaCnv','constructor','707700DyypLo','11448HdFzxZ','52918ZHewdT','apply','6302512cQmlBD','search','(((.+)+)+)+$'];a118c=function(){return i;};return a118c();}import'./esri/_index.js';function a118d(a,b){var c=a118c();return a118d=function(d,e){d=d-0x1d2;var f=c[d];return f;},a118d(a,b);}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(0x1e1))/0x1*(parseInt(f(0x1d9))/0x2)+parseInt(f(0x1de))/0x3*(parseInt(f(0x1e4))/0x4)+parseInt(f(0x1db))/0x5*(parseInt(f(0x1e3))/0x6)+-parseInt(f(0x1e5))/0x7*(-parseInt(f(0x1d8))/0x8)+-parseInt(f(0x1e6))/0x9+-parseInt(f(0x1d7))/0xa*(parseInt(f(0x1dc))/0xb)+-parseInt(f(0x1da))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0xe3214));function a119d(a,b){var c=a119c();return a119d=function(d,e){d=d-0x1d7;var f=c[d];return f;},a119d(a,b);}var a119b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a119d;if(c){var e=c[g(0x1e2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){var h=a119d;return a119a[h(0x1df)]()[h(0x1e0)](h(0x1e7))[h(0x1df)]()[h(0x1dd)](a119a)[h(0x1e0)](h(0x1e7));});function a119c(){var i=['421322lTkiFP','constructor','1437mVbZYB','toString','search','2iZXvOX','apply','7992PouNtN','1928lecoDb','2708454jHLhnd','9438354AXbtmu','(((.+)+)+)+$','290mFDLhc','32GvyoaC','1319758OJoPpK','17301216zWCzwX','5380NZkqEN'];a119c=function(){return i;};return a119c();}a119a();import'./auth.generator.js';import'./provider.auth.gen.js';import'./basic-meteor.auth.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a120i=a120d;(function(a,b){const f=a120d,c=a();while(!![]){try{const d=-parseInt(f(
|
|
1
|
+
const a120i=a120d;(function(a,b){const f=a120d,c=a();while(!![]){try{const d=-parseInt(f(0xad))/0x1*(-parseInt(f(0xae))/0x2)+-parseInt(f(0xb5))/0x3+-parseInt(f(0xb2))/0x4*(-parseInt(f(0xb8))/0x5)+parseInt(f(0xaa))/0x6*(-parseInt(f(0xbf))/0x7)+-parseInt(f(0xbe))/0x8*(-parseInt(f(0xb4))/0x9)+-parseInt(f(0xb1))/0xa*(parseInt(f(0xaf))/0xb)+parseInt(f(0xb0))/0xc*(parseInt(f(0xba))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0x56c48));const a120b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a120d;if(c){const e=c[g(0xbb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){const h=a120d;return a120a[h(0xb7)]()[h(0xb9)](h(0xbc))[h(0xb7)]()[h(0xab)](a120a)[h(0xb9)](h(0xbc));});a120a();import{Generator}from'../../../generator.js';import a120e from'../kit.js';function a120c(){const j=['create','toString','170EovkxV','search','8389589PlzUzL','apply','(((.+)+)+)+$','Starting\x20point\x20for\x20generating\x20an\x20Auth\x20Provider','16bhrhhn','1376795DspRgq','6KEvqpw','constructor','maka\x20g:kit:a','51217erXUxr','2BgmWKW','627eYpDHY','12VmyGAJ','113230FnrElz','22824qIGAkz','auth','1888335bXGLjJ','338124wAvCFD'];a120c=function(){return j;};return a120c();}const AuthGen=Generator[a120i(0xb6)]({'name':a120i(0xb3),'aliases':['a'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:<kit-name>','noNeedResource':!![],'shortDesc':a120i(0xbd),'validOpts':[''],'isPro':!![],'examples':[a120i(0xac)],'description':'\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x20\x20'},async function(){throw'NIE';},async function(){},a120e);function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0xaa;let f=c[d];return f;},a120d(a,b);}export default AuthGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a121r=a121d;(function(a,b){const o=a121d,c=a();while(!![]){try{const d
|
|
1
|
+
function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0x10f;let f=c[d];return f;},a121d(a,b);}const a121r=a121d;(function(a,b){const o=a121d,c=a();while(!![]){try{const d=parseInt(o(0x142))/0x1*(parseInt(o(0x140))/0x2)+-parseInt(o(0x114))/0x3+parseInt(o(0x13b))/0x4*(-parseInt(o(0x126))/0x5)+parseInt(o(0x154))/0x6+parseInt(o(0x12b))/0x7+-parseInt(o(0x136))/0x8*(parseInt(o(0x120))/0x9)+parseInt(o(0x12f))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0xa0625));const a121b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a121d;if(c){const e=c[p(0x151)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){const q=a121d;return a121a[q(0x138)]()[q(0x113)](q(0x135))[q(0x138)]()[q(0x152)](a121a)[q(0x113)](q(0x135));});a121a();import{Generator}from'../../../generator.js';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':'meteor','aliases':['m'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','shortDesc':'Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','validOpts':['force'],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines['REACT']},'description':a121r(0x137)},async function(a,b){const s=a121r;try{const c=b[s(0x11a)]||![];await this['fsi'][s(0x118)]([s(0x10f),s(0x121)],{'shouldInstall':!![]});const d=this[s(0x143)]['findProjectDirectory'](),f=this['fsi'][s(0x12a)](),g=f['engines'][s(0x12e)]===s(0x133);await a121f[s(0x146)]('kit:auth:provider',[],{'force':c,'cwd':d,'config':f});const h=await a121f['processAndRunGenerator'](s(0x128),[s(0x124)],{'force':c,'globalPublish':!![],'cwd':d,'config':f}),i=g?s(0x122):s(0x127),j=this['fsi'][s(0x13e)]({'pathParts':[i,'','',s(0x112)]});await this[s(0x143)][s(0x117)](f,async()=>{const t=s;await this['fsi'][t(0x11b)]({'srcPath':t(0x111),'destPath':j+t(0x150),'framework':t(0x134),'context':{},'config':f,'force':c,'ignore':![]});});const k=this[s(0x143)][s(0x13e)]({'pathParts':[i,'','',s(0x11e)]}),l=f[s(0x149)]['js'];await this[s(0x143)]['injectImport']({'filePath':k+'.'+l,'importName':s(0x11f),'modulePath':g?'/imports/startup/lib/authentication-service':'/imports/startup/client/authentication-service','isNamedExport':![]}),await this[s(0x143)]['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':s(0x14c),'begin':s(0x14a),'replace':!![]}),await this[s(0x143)][s(0x13a)]({'filePath':k+'.'+l,'content':s(0x144),'begin':s(0x12d),'replace':!![]}),await this[s(0x143)]['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':s(0x153),'begin':s(0x11d),'replace':!![]}),await this['fsi'][s(0x13a)]({'filePath':k+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','begin':'const\x20deauthenticateUser','replace':!![]}),await this[s(0x143)][s(0x13a)]({'filePath':k+'.'+l,'content':s(0x13d),'begin':s(0x141),'replace':!![]}),await this[s(0x143)][s(0x13a)]({'filePath':k+'.'+l,'content':s(0x14b),'begin':s(0x147),'replace':!![]}),await this['fsi']['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':s(0x110),'begin':s(0x145),'replace':!![]});g&&(await this['fsi']['injectImport']({'filePath':k+'.'+l,'importName':s(0x14d),'modulePath':s(0x12c),'isNamedExport':!![]}),await this[s(0x143)][s(0x11c)]({'filePath':k+'.'+l,'content':s(0x148),'begin':s(0x129),'end':'return\x20\x5c('}));await this['fsi']['injectImport']({'filePath':h,'importName':'Meteor','modulePath':'meteor/meteor','isNamedExport':!![],'injectAtStart':!![]}),await this['fsi'][s(0x13a)]({'filePath':h,'content':s(0x13c),'begin':s(0x139),'replace':!![]});const m=this[s(0x143)]['pathFromApp']({'pathParts':[s(0x14e),s(0x130),s(0x13f),s(0x132)]});await this[s(0x143)][s(0x131)]({'filePath':m+'.'+l,'importName':s(0x115),'modulePath':s(0x119),'isNamedExport':!![]}),await this[s(0x143)][s(0x13a)]({'filePath':m+'.'+l,'content':s(0x14f),'begin':s(0x116),'replace':!![]});}catch(n){Log[s(0x125)](n),process[s(0x123)](0x1);}},async function(){},a121e);function a121c(){const u=['server','284126UHqfax','const\x20sendForgotPasswordEmail','2Hvwqgj','fsi','\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','const\x20resetPasswordWithToken','processAndRunGenerator','const\x20registerNewUser','\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','engines','const\x20authenticateUser','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\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','useTracker','imports','\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','.js','apply','constructor','\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','2930154uXAoCG','accounts-password','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','kit/auth/service/meteor-auth-service.js','authentication-service','search','3750660kPOMrw','Accounts','Meteor.startup','withValue','checkMeteorPackage','meteor/accounts-base','force','template','injectIntoFile','const\x20getUserAuthorizations','authentication-provider','AuthService','7884nzccqi','alanning:roles','/imports/startup/lib','exit','auth/roles','error','1512385tFoEuL','/imports/startup/client','publish','export\x20const\x20AuthProvider','getMakaProjectConfig','2664242JQJYou','meteor/maka:react-tracker','const\x20authenticateToken','ssr','18682290BwrdDT','startup','injectImport','index','true','react','(((.+)+)+)+$','1888PlKRbI','\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','toString','Meteor.publish','injectIntoCodeBlock','12eHQSNm','\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20If\x20logged\x20in,\x20return\x20documents\x20owned\x20by\x20this\x20user.\x20Otherwise\x20return\x20nothing.\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(this.userId)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20Meteor.roleAssignment.find({\x20\x27user._id\x27:\x20this.userId\x20});\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20[];\x0a\x20\x20\x20\x20\x20\x20','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','pathFromApp'];a121c=function(){return u;};return a121c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a122x=a122d;(function(a,b){const u=a122d,c=a();while(!![]){try{const d
|
|
1
|
+
const a122x=a122d;function a122c(){const A=['1819280DyQCVw','apply','authentication-provider','fsi','bright','/imports/startup/server/index','function\x20useAuth','injectIntoCodeBlock','const\x20PrivateRoute','AuthContext','4ZbApwp','366324HAOXqg','100BPhplk','pathFromApp','<AuthProvider>','appName','split','useContext','/imports/startup/client/authentication-provider','46404oRtYAK','<AppRoutes\x20/>','kit/auth/provider/authentication-provider.js','REACT','exit','injectAroundString','(((.+)+)+)+$','provider','engines','withValue','Creating\x20an\x20AuthProvider\x20and\x20AuthContext','6647nflYuv','toString','react','injectImport','\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','</AuthProvider>','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','replaceAll','1976900lsqFCP','/imports/startup/client/index','create','101196ikXRQu','/imports/startup/lib/authentication-provider','search','/routes','ssr','AuthProvider','constructor','298760OhGRzk','error','getMakaProjectConfig','.js'];a122c=function(){return A;};return a122c();}(function(a,b){const u=a122d,c=a();while(!![]){try{const d=-parseInt(u(0x12d))/0x1*(parseInt(u(0x11b))/0x2)+parseInt(u(0x11a))/0x3*(-parseInt(u(0x119))/0x4)+parseInt(u(0x135))/0x5+-parseInt(u(0x138))/0x6+parseInt(u(0x13f))/0x7+parseInt(u(0x10f))/0x8+parseInt(u(0x122))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0x30a86));function a122d(a,b){const c=a122c();return a122d=function(d,e){d=d-0x10e;let f=c[d];return f;},a122d(a,b);}const a122b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a122d;if(c){const e=c[v(0x110)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){const w=a122d;return a122a[w(0x12e)]()[w(0x13a)](w(0x128))[w(0x12e)]()[w(0x13e)](a122a)[w(0x13a)](w(0x128));});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';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a122x(0x137)]({'name':a122x(0x129),'aliases':['p'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','shortDesc':a122x(0x133),'validOpts':['force'],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a122x(0x125)]},'description':a122x(0x131)},async function(a,b){const y=a122x;try{const c=b['force']||![];Log[y(0x113)](y(0x12c));const d=this[y(0x112)][y(0x141)](),f=d[y(0x12a)][y(0x13c)]==='true',g={'name':headerCase(d[y(0x11e)])[y(0x134)]('-','\x20')},h=f?'/imports/startup/lib':'/imports/startup/client',i=this[y(0x112)][y(0x11c)]({'pathParts':[h,'','',y(0x111)]});await this['fsi'][y(0x12b)](d,async()=>{const z=y;await this[z(0x112)]['template']({'srcPath':z(0x124),'destPath':i+z(0x10e),'framework':z(0x12f),'context':g,'config':d,'force':c,'ignore':![]});});const j=d[y(0x12a)]['js'],k=h+y(0x13b),l=k['split']('/'),m=this[y(0x112)][y(0x11c)]({'pathParts':l});await this[y(0x112)]['injectImport']({'filePath':m+'.'+j,'importName':y(0x118),'modulePath':f?y(0x139):y(0x121),'isNamedExport':!![]}),await this['fsi']['injectImport']({'filePath':m+'.'+j,'importName':y(0x120),'modulePath':'react','isNamedExport':!![],'injectAtStart':!![]}),await this[y(0x112)]['injectIntoCodeBlock']({'filePath':m+'.'+j,'content':'\x0a\x20\x20\x20\x20\x20\x20const\x20{\x20currentUser,\x20loading\x20}\x20=\x20useContext(AuthContext);\x0a\x20\x20\x20\x20\x20\x20return\x20{\x20currentUser,\x20loading\x20};\x0a\x20\x20\x20\x20\x20\x20','begin':['const\x20useAuth',y(0x115)],'replace':!![]}),await this[y(0x112)][y(0x116)]({'filePath':m+'.'+j,'content':'\x0a\x20\x20\x20\x20\x20\x20const\x20{\x20currentUser,\x20loading\x20}\x20=\x20useAuth();\x0a\x20\x20\x20\x20\x20\x20if\x20(loading)\x20return\x20<div>Loading...</div>;\x0a\x20\x20\x20\x20\x20\x20return\x20(currentUser)\x20?\x20<Outlet/>\x20:\x20<Navigate\x20to=\x22/login\x22\x20/>;\x0a\x20\x20\x20\x20\x20\x20','begin':[y(0x117)],'replace':!![]});const n=y(0x136),o=n[y(0x11f)]('/'),p=this[y(0x112)][y(0x11c)]({'pathParts':o});await this[y(0x112)]['injectImport']({'filePath':p+'.'+j,'importName':y(0x13d),'modulePath':f?'/imports/startup/lib/authentication-provider':y(0x121),'isNamedExport':!![]}),await this[y(0x112)][y(0x127)]({'filePath':p+'.'+j,'aboveContent':y(0x11d),'belowContent':y(0x132),'targetString':y(0x123),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q=y(0x114),r=q[y(0x11f)]('/'),s=this[y(0x112)][y(0x11c)]({'pathParts':r});await this[y(0x112)][y(0x130)]({'filePath':s+'.'+j,'importName':y(0x13d),'modulePath':f?'/imports/startup/lib/authentication-provider':y(0x121),'isNamedExport':!![]}),await this[y(0x112)][y(0x127)]({'filePath':s+'.'+j,'aboveContent':y(0x11d),'belowContent':y(0x132),'targetString':y(0x123),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log[y(0x140)](t),process[y(0x126)](0x1);}},async function(){},a122e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a123d,c=a();while(!![]){try{var d=parseInt(f(
|
|
1
|
+
(function(a,b){var f=a123d,c=a();while(!![]){try{var d=parseInt(f(0x1c1))/0x1*(-parseInt(f(0x1c8))/0x2)+-parseInt(f(0x1c9))/0x3*(parseInt(f(0x1bf))/0x4)+parseInt(f(0x1bc))/0x5+parseInt(f(0x1c3))/0x6+-parseInt(f(0x1be))/0x7*(-parseInt(f(0x1c7))/0x8)+parseInt(f(0x1c4))/0x9+parseInt(f(0x1bb))/0xa*(parseInt(f(0x1ba))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0x37cc9));var a123b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a123d;if(c){var e=c[g(0x1c0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){var h=a123d;return a123a[h(0x1bd)]()[h(0x1c6)](h(0x1c2))[h(0x1bd)]()[h(0x1c5)](a123a)[h(0x1c6)]('(((.+)+)+)+$');});function a123c(){var i=['(((.+)+)+)+$','1582170GGoBmt','111861TUffTN','constructor','search','104KxpIUs','162366OyyxMk','267CQvDEQ','77Dofeik','44110jBSISL','1602695pnmzXS','toString','123011JjDvJP','9956jCKnRQ','apply','5qBsnuK'];a123c=function(){return i;};return a123c();}function a123d(a,b){var c=a123c();return a123d=function(d,e){d=d-0x1ba;var f=c[d];return f;},a123d(a,b);}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(0x1c8))/0x1+-parseInt(f(0x1cb))/0x2+-parseInt(f(0x1c0))/0x3*(parseInt(f(0x1cf))/0x4)+parseInt(f(0x1ce))/0x5+-parseInt(f(0x1c2))/0x6*(-parseInt(f(0x1ca))/0x7)+-parseInt(f(0x1c1))/0x8+parseInt(f(0x1c3))/0x9*(parseInt(f(0x1c4))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0xb19e3));const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a124d;if(c){const e=c[g(0x1bf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const h=a124d;return a124a[h(0x1c5)]()[h(0x1cc)]('(((.+)+)+)+$')[h(0x1c5)]()[h(0x1c9)](a124a)[h(0x1cc)](h(0x1c6));});function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0x1bd;let f=c[d];return f;},a124d(a,b);}a124a();import{Generator}from'../../../generator.js';function a124c(){const k=['2288458KctAzN','search','Esri\x20Kit\x20generated\x20successfully','1459390ENlJPZ','13296YBULtl','/foo','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','maka\x20g:kit:e','Starting\x20point\x20for\x20generating\x20Esri\x20Maps','apply','942DXuvHd','6717360lvbzla','3510894OiqEgs','9JyqLfd','34757990NhGHZN','toString','(((.+)+)+)+$','\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','1182817AUcAxa','constructor','14mtZKMP'];a124c=function(){return k;};return a124c();}import a124e from'../kit.js';const EsriGen=Generator['create']({'name':'esri','aliases':['e'],'usage':a124i(0x1d1),'noNeedResource':!![],'shortDesc':a124i(0x1be),'validOpts':[''],'isPro':!![],'examples':[a124i(0x1bd)],'description':a124i(0x1c7)},async function(){const j=a124i;return{'success':!![],'message':j(0x1cd),'details':{'filesCreated':['/foo/bar'],'filesUpdated':[j(0x1d0)]}};},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(0x144))/0x1+parseInt(p(0x140))/0x2+parseInt(p(0x12a))/0x3*(-parseInt(p(0x12f))/0x4)+parseInt(p(0x13f))/0x5+-parseInt(p(0x124))/0x6+-parseInt(p(0x142))/0x7+parseInt(p(0x13a))/0x8*(parseInt(p(0x147))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0x47cc0));const a125b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a125d;if(c){const e=c[q(0x130)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){const r=a125d;return a125a[r(0x143)]()[r(0x133)](r(0x136))['toString']()[r(0x11e)](a125a)[r(0x133)](r(0x136));});a125a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a125e from'./esri.generator.js';function a125d(a,b){const c=a125c();return a125d=function(d,e){d=d-0x11c;let f=c[d];return f;},a125d(a,b);}import a125f from'../../../generators/maka.gen.js';function a125c(){const v=['engines','18786ArkenF','FALSE','replaceAll','Generate\x20an\x20Esri\x20map\x20component','basic-map','bright','15297zoVhUX','/imports/startup/client/templates','getMakaProjectConfig','@esri/react-arcgis','map','220OmcedT','apply','react','REACT','search','<div\x20id=\x22map\x22>','/imports/ui/hooks','(((.+)+)+)+$','Generating\x20a\x20map\x20component','injectImport','template','24XAJhrQ','</div>','findProjectDirectory','/imports/startup/lib/templates','checkNpmPackage','1563535TVOgpH','594094BlyQWK','create','3548776Btvtlp','toString','197109LGVybc','dir','\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','2015937NBCrJI','fsi','baseDir','page','pathFromApp','constructor','injectIntoFile','/imports/ui/','withValue','exit'];a125c=function(){return v;};return a125c();}import{paramCase,headerCase,pascalCase}from'change-case';import{ClientEngines,SsrEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a125s(0x141)]({'name':a125s(0x12e),'aliases':['m'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','shortDesc':a125s(0x127),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a125s(0x132)],'ssr':SsrEngines[a125s(0x125)]},'description':'\x0a\x20\x20\x20\x20This\x20generator\x20will\x20create\x20a\x20map\x20component\x20in\x20the\x20/imports/ui/hooks\x20directory.\x0a\x0a\x20\x20\x20\x20It\x27ll\x20also\x20create\x20a\x20page\x20component\x20in\x20the\x20/imports/ui/pages/map\x20directory.\x0a\x0a\x20\x20\x20\x20The\x20map\x20component\x20will\x20be\x20named\x20\x27BasicMap\x27\x20by\x20default.\x0a\x0a\x20\x20'},async function(a,b){const t=a125s;try{Log[t(0x129)](t(0x137));const c=t(0x128);await this['fsi'][t(0x13e)]([t(0x12d),'esri-loader'],{'shouldInstall':!![]});const d=this['fsi'][t(0x13c)](),f=this[t(0x148)][t(0x12c)](),g=f[t(0x123)]['ssr']==='true',h=await a125f['processAndRunGenerator'](t(0x11c),[t(0x12e)],{'cwd':d,'config':f}),i={'name':headerCase(f['appName'])[t(0x126)]('-','\x20'),'componentName':pascalCase(c)},j=b[t(0x149)]?t(0x120)+b[t(0x149)]:t(0x135),k=this[t(0x148)][t(0x11d)]({'pathParts':[j,b[t(0x145)],paramCase(c),paramCase(c)]});await this[t(0x148)][t(0x121)](f,async()=>{const u=t;await this[u(0x148)][u(0x139)]({'srcPath':'kit/esri/map/'+c+'.js','destPath':k+'.js','framework':u(0x131),'context':i,'config':f,'force':![],'ignore':![]});});const l=''+j+b['dir']+'/'+c+'/'+c;await this['fsi']['injectTemplateModule'](c,f,l);const m=h['split']('/'),n=this[t(0x148)][t(0x11d)]({'pathParts':m});await this[t(0x148)][t(0x138)]({'filePath':n,'importName':pascalCase(c),'modulePath':g?t(0x13d):t(0x12b),'isNamedExport':!![]}),await this[t(0x148)][t(0x11f)]({'filePath':n,'content':'\x0a<'+pascalCase(c)+t(0x146),'begin':[t(0x134),'<div\x20id=\x22map\x22>'],'end':[t(0x13b)],'replace':!![]});}catch(o){Log['error'](o),process[t(0x122)](0x1);}},async function(){},a125e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a126i=a126d;
|
|
1
|
+
const a126i=a126d;(function(a,b){const f=a126d,c=a();while(!![]){try{const d=-parseInt(f(0x1ae))/0x1+-parseInt(f(0x1a9))/0x2*(-parseInt(f(0x1b7))/0x3)+-parseInt(f(0x1af))/0x4+-parseInt(f(0x1ab))/0x5*(-parseInt(f(0x1b3))/0x6)+-parseInt(f(0x1a6))/0x7*(parseInt(f(0x1a4))/0x8)+-parseInt(f(0x1a5))/0x9*(-parseInt(f(0x1ac))/0xa)+parseInt(f(0x1aa))/0xb*(parseInt(f(0x1b0))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0xa02eb));const a126b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a126d;if(c){const e=c[g(0x1a7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){const h=a126d;return a126a[h(0x1b2)]()[h(0x1b1)]('(((.+)+)+)+$')[h(0x1b2)]()['constructor'](a126a)[h(0x1b1)](h(0x1b5));});a126a();import{Generator}from'../../generator.js';function a126c(){const j=['(((.+)+)+)+$','maka\x20{generate,\x20g}:{kit}\x20<name>','558agQbbU','198728PMjuUd','7911PQPNMa','49zeZGgT','apply','Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','994UEKXOo','5158813PqKbKp','40KdCDeg','6490dgzmGG','kit','385601adCbZG','1637396xurTaC','12RsBsSW','search','toString','369786fvpfyr','maka\x20g:kit'];a126c=function(){return j;};return a126c();}const KitGen=Generator['create']({'name':a126i(0x1ad),'aliases':['k'],'usage':a126i(0x1b6),'shortDesc':a126i(0x1a8),'minArgLength':0x1,'isPro':!![],'validOpts':[],'noNeedResource':!![],'examples':[a126i(0x1b4),'maka\x20g:k']},async function(){});function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0x1a4;let f=c[d];return f;},a126d(a,b);}export default KitGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(a,b){var f=a127d,c=a();while(!![]){try{var d=parseInt(f(0x13d))/0x1*(-parseInt(f(0x13e))/0x2)+parseInt(f(0x145))/0x3+-parseInt(f(0x142))/0x4*(parseInt(f(0x144))/0x5)+-parseInt(f(0x138))/0x6+parseInt(f(0x143))/0x7+parseInt(f(0x13a))/0x8*(parseInt(f(0x141))/0x9)+-parseInt(f(0x13b))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0x88dae));var a127b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a127d;if(c){var e=c[g(0x139)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){var h=a127d;return a127a[h(0x140)]()[h(0x13c)]('(((.+)+)+)+$')[h(0x140)]()[h(0x13f)](a127a)['search']('(((.+)+)+)+$');});function a127c(){var i=['2829185DXQFWs','3351399gzTrjA','4761648GgCHsm','apply','21432soYDlO','2385550VrBZjB','search','323737bAwkBS','2iCetJs','constructor','toString','1026fplMbC','4WedgGd','7418292qefUYH'];a127c=function(){return i;};return a127c();}a127a();function a127d(a,b){var c=a127c();return a127d=function(d,e){d=d-0x138;var f=c[d];return f;},a127d(a,b);}import'./mui.generator.js';import'./frame.mui.gen.js';import'./auth.mui.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a128I=a128d;function a128c(){const M=['maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','(((.+)+)+)+$','fsi','1940806BxmKnj','toString','injectTemplateModule','true','basic-login-page','register','basic-logout-page','2807475nEXwoU','login','11318087ifQBwi','template','kit:auth:meteor','replaceAll','reset-password/:token','6NgkTdP','240152qhVKMy','log','pathFromApp','error','5523452ygYyFX','3iNYYmi','force','kit/mui/auth/password-reset/','Cleaning\x20up...','kit/mui/auth/login/','withValue','basic-forgot-password-page','REACT','dir','10MURzAK','split','MATERIAL','appName','create','baseDir','route','/imports/startup/lib/authentication-provider','custom','8269119iBCvBL','kit/mui/auth/logout/','logout','search','AuthContext','forgot-password','kit/mui/auth/forgot-password/','findProjectDirectory','5168264hDAvRQ','maka\x20g:k:m:f','injectImport','/imports/startup/client/authentication-provider','processAndRunGenerator','engines','ssr','maka\x20generate:kit:mui:frame','react','Meteor\x20Accounts','11JunGjT','Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','basic-password-reset-page','list','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','kit/mui/auth/register/','auth','Custom\x20(roll\x20your\x20own)','/imports/ui/pages/auth','.js','meteor','constructor','options'];a128c=function(){return M;};return a128c();}(function(a,b){const G=a128d,c=a();while(!![]){try{const d=-parseInt(G(0x8e))/0x1*(parseInt(G(0xae))/0x2)+-parseInt(G(0xb3))/0x3*(parseInt(G(0xb2))/0x4)+parseInt(G(0xa6))/0x5+parseInt(G(0xad))/0x6*(parseInt(G(0x9f))/0x7)+parseInt(G(0x84))/0x8+-parseInt(G(0xc5))/0x9*(-parseInt(G(0xbc))/0xa)+parseInt(G(0xa8))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0xb26ab));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[H(0xa0)]()[H(0xc8)]('(((.+)+)+)+$')['toString']()[H(0x99)](a128a)[H(0xc8)](H(0x9d));});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 a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0x83;let f=c[d];return f;},a128d(a,b);}import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a128I(0xc0)]({'name':a128I(0x94),'aliases':['a'],'usage':a128I(0x9b),'shortDesc':a128I(0x8f),'validOpts':['layouts',a128I(0xb4)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a128I(0xbe)],'client':ClientEngines[a128I(0xba)]},'examples':[a128I(0x8b),a128I(0x85)],'description':a128I(0x92)},async function(a,b){const J=a128I;try{const c=b['force']||![],d=this[J(0x9e)][J(0x83)](),f=this[J(0x9e)]['getMakaProjectConfig'](),{authType:g}=await Actions[J(0x9a)]({'type':J(0x91),'name':'authType','message':J(0x9c),'choices':[{'name':J(0x8d),'value':J(0x98)},{'name':J(0x95),'value':J(0xc4)}]}),h='basic-login-page',i=J(0xa5),j='basic-register-page',k=J(0x90),l='basic-forgot-password-page',m=b['baseDir']?'/imports/ui/'+b[J(0xc1)]:J(0x96),n=this[J(0x9e)][J(0xb0)]({'pathParts':[m,b['dir'],paramCase(h),paramCase(h)]}),o=this[J(0x9e)][J(0xb0)]({'pathParts':[m,b[J(0xbb)],paramCase(i),paramCase(i)]}),p=this[J(0x9e)][J(0xb0)]({'pathParts':[m,b[J(0xbb)],paramCase(j),paramCase(j)]}),q=this[J(0x9e)][J(0xb0)]({'pathParts':[m,b[J(0xbb)],paramCase(k),paramCase(k)]}),r=this[J(0x9e)][J(0xb0)]({'pathParts':[m,b[J(0xbb)],paramCase(l),paramCase(l)]}),s={'name':headerCase(f[J(0xbf)])[J(0xab)]('-','\x20')};await this['fsi'][J(0xb8)](f,async()=>{const K=J;await this['fsi'][K(0xa9)]({'srcPath':K(0xb7)+h+K(0x97),'destPath':n+K(0x97),'framework':'react','context':s,'config':f,'force':c,'ignore':![]}),await this[K(0x9e)][K(0xa9)]({'srcPath':K(0xc6)+i+K(0x97),'destPath':o+K(0x97),'framework':'react','context':s,'config':f,'force':c,'ignore':![]}),await this[K(0x9e)][K(0xa9)]({'srcPath':K(0x93)+j+K(0x97),'destPath':p+'.js','framework':K(0x8c),'context':s,'config':f,'force':c,'ignore':![]}),await this['fsi'][K(0xa9)]({'srcPath':K(0xb5)+k+'.js','destPath':q+K(0x97),'framework':K(0x8c),'context':s,'config':f,'force':c,'ignore':![]}),await this[K(0x9e)][K(0xa9)]({'srcPath':K(0xcb)+l+'.js','destPath':r+K(0x97),'framework':K(0x8c),'context':s,'config':f,'force':c,'ignore':![]});});const t=''+m+b[J(0xbb)]+'/'+h+'/'+h;await this[J(0x9e)]['injectTemplateModule'](h,f,t);const u=''+m+b['dir']+'/'+i+'/'+i;await this['fsi']['injectTemplateModule'](i,f,u);const v=''+m+b[J(0xbb)]+'/'+j+'/'+j;await this['fsi'][J(0xa1)](j,f,v);const w=''+m+b[J(0xbb)]+'/'+k+'/'+k;await this[J(0x9e)][J(0xa1)](k,f,w);const x=''+m+b[J(0xbb)]+'/'+l+'/'+l;await this['fsi'][J(0xa1)](l,f,x),await a128e[J(0x88)](J(0xc2),[J(0xa3)],{'route':J(0xa7),'cwd':d,'config':f}),await a128e['processAndRunGenerator']('route',[J(0xa5)],{'route':J(0xc7),'private':!![],'cwd':d,'config':f}),await a128e[J(0x88)]('route',['basic-register-page'],{'route':J(0xa4),'cwd':d,'config':f}),await a128e['processAndRunGenerator'](J(0xc2),['basic-password-reset-page'],{'route':J(0xac),'cwd':d,'config':f}),await a128e['processAndRunGenerator'](J(0xc2),[J(0xb9)],{'route':J(0xca),'cwd':d,'config':f});g===J(0x98)&&await a128e['processAndRunGenerator'](J(0xaa),[],{'force':c,'cwd':d,'config':f});g===J(0xc4)&&await a128e[J(0x88)]('kit:auth:provider',[],{'force':c,'cwd':d,'config':f});const y=f[J(0x89)][J(0x8a)]===J(0xa2),z=f[J(0x89)]['js'],A=this[J(0x9e)][J(0xb0)]({'pathParts':t[J(0xbd)]('/')});await this[J(0x9e)][J(0x86)]({'filePath':A+'.'+z,'importName':J(0xc9),'modulePath':y?J(0xc3):J(0x87),'isNamedExport':!![]});const B=this[J(0x9e)]['pathFromApp']({'pathParts':u[J(0xbd)]('/')});await this[J(0x9e)][J(0x86)]({'filePath':B+'.'+z,'importName':J(0xc9),'modulePath':y?'/imports/startup/lib/authentication-provider':J(0x87),'isNamedExport':!![]});const C=this[J(0x9e)][J(0xb0)]({'pathParts':v['split']('/')});await this['fsi'][J(0x86)]({'filePath':C+'.'+z,'importName':J(0xc9),'modulePath':y?'/imports/startup/lib/authentication-provider':J(0x87),'isNamedExport':!![]});const D=this[J(0x9e)][J(0xb0)]({'pathParts':w[J(0xbd)]('/')});await this[J(0x9e)][J(0x86)]({'filePath':D+'.'+z,'importName':J(0xc9),'modulePath':y?J(0xc3):J(0x87),'isNamedExport':!![]});const E=this[J(0x9e)][J(0xb0)]({'pathParts':x[J(0xbd)]('/')});await this[J(0x9e)][J(0x86)]({'filePath':E+'.'+z,'importName':J(0xc9),'modulePath':y?J(0xc3):J(0x87),'isNamedExport':!![]});}catch(F){Log[J(0xb1)](F);}},async function(){const L=a128I;console[L(0xaf)](L(0xb6));},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(0x188))/0x1*(parseInt(B(0x184))/0x2)+parseInt(B(0x172))/0x3*(parseInt(B(0x1a4))/0x4)+-parseInt(B(0x17b))/0x5*(parseInt(B(0x16e))/0x6)+-parseInt(B(0x19d))/0x7*(parseInt(B(0x16d))/0x8)+parseInt(B(0x1b3))/0x9+parseInt(B(0x196))/0xa*(-parseInt(B(0x186))/0xb)+parseInt(B(0x1b4))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0xba38b));const a129b=(function(){let a=!![];return function(b,c){const d=a?function(){const C=a129d;if(c){const e=c[C(0x16b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){const D=a129d;return a129a[D(0x1a1)]()['search']('(((.+)+)+)+$')[D(0x1a1)]()[D(0x180)](a129a)[D(0x1af)](D(0x1b8));});function a129c(){const I=['length','/imports/startup/lib/templates','.js','\x20/>\x0a','10TjdExV','baseDir','<Outlet\x20/>','/imports/ui/','injectTemplateModule','engines','test','154oJWtmI','REACT','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20frame\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','dir','toString','tests','force','4620708rfUMiT','error','injectImport','maka\x20g:k:m:f','basic-app-bar','injectIntoFile','create','imports','/imports/startup/client/templates','checkbox','Cleaning\x20up...','search','getMakaProjectConfig','layouts','kit/mui/frame/footers/','10366929OiNibo','9134064QyQeae','kit/mui/frame/app-bars/','basic-drawer','injectAroundString','(((.+)+)+)+$','apply','</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','540376exbPPh','18mazheh','frame','@mui/material/Box','/imports/ui/components','3tZjlDC','app-tests','</div>','react','true','pathFromApp','MATERIAL','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','<Outlet/>','285805iyNxal','getDirectories','ssr','join','<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>','constructor','appName','jsx','maka\x20generate:kit:mui:frame','15814LvyaWV','checkMeteorPackage','4605117BlJKBC','fsi','29jCAsFc','basic-sticky-footer','template','<div\x20id=\x22','-hook\x22>','tsx','getFiles','replaceAll','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f}','findAppDirectory'];a129c=function(){return I;};return a129c();}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';function a129d(a,b){const c=a129c();return a129d=function(d,e){d=d-0x16b;let f=c[d];return f;},a129d(a,b);}import{paramCase,pascalCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a129E(0x1aa)]({'name':a129E(0x16f),'aliases':['f'],'usage':a129E(0x190),'shortDesc':'Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','validOpts':[a129E(0x1b1),a129E(0x197),a129E(0x1a0),a129E(0x1a3)],'isPro':![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a129E(0x178)],'client':ClientEngines[a129E(0x19e)]},'examples':[a129E(0x183),a129E(0x1a7)],'description':a129E(0x19f)},async function(a,b){const F=a129E;try{const c=b['force']||![],d=F(0x1a8),f=F(0x1b6),g=F(0x189),h=this['fsi'][F(0x1b0)](),i=h[F(0x19b)][F(0x17d)]===F(0x176);await this[F(0x187)][F(0x185)](['session','maka:react-tracker'],{'shouldInstall':!![]});const j=this['fsi'][F(0x191)](),k=a129e['join'](j,F(0x1ab),'ui',F(0x1b1)),l=this[F(0x187)][F(0x17c)](k),m=await Actions['options']({'type':F(0x1ad),'name':F(0x1b1),'message':F(0x179),'choices':l});if(m[F(0x1b1)][F(0x192)]===0x0){Log[F(0x1a5)]('No\x20layouts\x20selected');return;}const n=b['baseDir']?F(0x199)+b['baseDir']:F(0x171),o=this[F(0x187)]['pathFromApp']({'pathParts':[n,b[F(0x1a0)],paramCase(d),paramCase(d)]}),p=this[F(0x187)][F(0x177)]({'pathParts':[n,b['dir'],paramCase(f),paramCase(f)]}),q=this['fsi'][F(0x177)]({'pathParts':[n,b[F(0x1a0)],paramCase(g),paramCase(g)]}),r={'name':headerCase(h[F(0x181)])[F(0x18f)]('-','\x20')};await this['fsi']['withValue'](h,async()=>{const G=F;await this['fsi'][G(0x18a)]({'srcPath':G(0x1b5)+d+G(0x194),'destPath':o+'.js','framework':G(0x175),'context':r,'config':h,'force':c,'ignore':![]}),await this[G(0x187)][G(0x18a)]({'srcPath':'kit/mui/frame/drawers/'+f+G(0x194),'destPath':p+G(0x194),'framework':G(0x175),'context':r,'config':h,'force':c,'ignore':![]}),await this[G(0x187)][G(0x18a)]({'srcPath':G(0x1b2)+g+G(0x194),'destPath':q+G(0x194),'framework':G(0x175),'context':r,'config':h,'force':c,'ignore':![]});});const s=''+n+b[F(0x1a0)]+'/'+d+'/'+d;await this['fsi'][F(0x19a)](d,h,s);const t=''+n+b[F(0x1a0)]+'/'+f+'/'+f;await this[F(0x187)][F(0x19a)](f,h,t);const u=''+n+b[F(0x1a0)]+'/'+g+'/'+g;await this['fsi']['injectTemplateModule'](g,h,u);const {layouts:v}=m;for(const w of v){const x=this[F(0x187)][F(0x18e)](a129e['join'](k,w),{'extensions':[F(0x182),F(0x18d)],'omit':[F(0x173),F(0x1a2),F(0x19c)]});for(const y of x){const z=a129e[F(0x17e)](k,w,y);await this[F(0x187)][F(0x1a6)]({'filePath':z,'importName':'Box','modulePath':F(0x170),'isNamedExport':![]}),await this[F(0x187)][F(0x1a6)]({'filePath':z,'importName':'Container','modulePath':'@mui/material/Container','isNamedExport':![]}),await this[F(0x187)]['injectImport']({'filePath':z,'importName':pascalCase(d),'modulePath':i?F(0x193):F(0x1ac),'isNamedExport':!![]}),await this['fsi'][F(0x1a9)]({'filePath':z,'content':'<'+pascalCase(d)+F(0x195),'begin':[F(0x18b)+w+'\x22>',F(0x18b)+w+F(0x18c)],'end':[F(0x17a),'<Outlet\x20/>']}),await this[F(0x187)][F(0x1a6)]({'filePath':z,'importName':pascalCase(f),'modulePath':i?'/imports/startup/lib/templates':F(0x1ac),'isNamedExport':!![]}),await this[F(0x187)][F(0x1a9)]({'filePath':z,'content':'<'+pascalCase(f)+F(0x195),'begin':['<div\x20id=\x22'+w+'\x22>',F(0x18b)+w+F(0x18c)],'end':[F(0x17a),F(0x198)]}),await this[F(0x187)][F(0x1a9)]({'filePath':z,'content':'<'+pascalCase(g)+'\x20/>\x0a','begin':['<Outlet/>','<Outlet\x20/>'],'end':[F(0x174)]}),await this[F(0x187)][F(0x1a6)]({'filePath':z,'importName':pascalCase(g),'modulePath':i?F(0x193):F(0x1ac),'isNamedExport':!![]}),await this[F(0x187)][F(0x1b7)]({'filePath':z,'aboveContent':F(0x17f),'belowContent':F(0x16c),'targetString':['<Outlet/>',F(0x198)],'targetIndentAdjustment':0x6});}}return!![];}catch(A){Log['error'](A);}},async function(){const H=a129E;console['log'](H(0x1ae));},a129f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a130c(){const l=['options','Header,\x20Footer,\x20and\x20Drawer','Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','create','819182kKkJga','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!','frame','6DrPnSv','kitChoices','checkbox','13948ctvrOM','auth','18dteeWm','apply','notice','processAndRunGenerator','(((.+)+)+)+$','info','findProjectDirectory','fsi','search','maka\x20g:kit:m','\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','3422264TAoziY','toString','constructor','includes','6186213uWvkWL','mui','4GIfkdZ','getMakaProjectConfig','2033240MzrkfJ','kit:mui:auth','847725wOdvCf','405085dOIKES','Material-UI\x20Kit'];a130c=function(){return l;};return a130c();}const a130j=a130d;(function(a,b){const g=a130d,c=a();while(!![]){try{const d=parseInt(g(0xb4))/0x1*(parseInt(g(0xb7))/0x2)+-parseInt(g(0xce))/0x3*(parseInt(g(0xca))/0x4)+-parseInt(g(0xcf))/0x5*(-parseInt(g(0xb9))/0x6)+parseInt(g(0xb0))/0x7+-parseInt(g(0xc4))/0x8+parseInt(g(0xc8))/0x9+parseInt(g(0xcc))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0x8e264));function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0xb0;let f=c[d];return f;},a130d(a,b);}const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a130d;if(c){const e=c[h(0xba)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const i=a130d;return a130a[i(0xc5)]()[i(0xc1)](i(0xbd))[i(0xc5)]()[i(0xc6)](a130a)[i(0xc1)](i(0xbd));});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';import a130f from'../kit.js';const MuiGen=Generator[a130j(0xd4)]({'name':a130j(0xc9),'aliases':['m'],'usage':a130j(0xb1),'noNeedResource':!![],'shortDesc':a130j(0xd0),'validOpts':[''],'isPro':!![],'examples':[a130j(0xc2)]},async function(){const k=a130j;Log['info'](k(0xb2)),Log[k(0xbb)](k(0xc3));const {kitChoices:a}=await Actions[k(0xd1)]({'type':k(0xb6),'name':k(0xb5),'message':k(0xd3),'choices':[{'name':k(0xd2),'value':k(0xb3)},{'name':'Auth\x20workflow\x20(login,\x20logout,\x20etc.)','value':'auth'}]}),b=this[k(0xc0)][k(0xbf)](),c=this['fsi'][k(0xcb)]();a['includes'](k(0xb3))&&await a130e[k(0xbc)]('kit:mui:frame',[],{'force':!![],'cwd':b,'config':c});a[k(0xc7)](k(0xb8))&&await a130e[k(0xbc)](k(0xcd),[],{'force':!![],'cwd':b,'config':c});if(a['length']===0x0){Log[k(0xbe)]('No\x20MUI\x20kits\x20selected.\x20Exiting.');return;}},async function(){},a130f);export default MuiGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0x1e3;let f=c[d];return f;},a131d(a,b);}const a131o=a131d;(function(a,b){const l=a131d,c=a();while(!![]){try{const d=-parseInt(l(0x1e3))/0x1*(parseInt(l(0x203))/0x2)+parseInt(l(0x1f6))/0x3+parseInt(l(0x1f1))/0x4*(parseInt(l(0x1f9))/0x5)+-parseInt(l(0x1e9))/0x6*(parseInt(l(0x1e5))/0x7)+-parseInt(l(0x1ed))/0x8+-parseInt(l(0x20c))/0x9*(parseInt(l(0x21b))/0xa)+parseInt(l(0x21d))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0x56edd));const a131b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a131d;if(c){const e=c[m(0x20e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a131a=a131b(this,function(){const n=a131d;return a131a[n(0x210)]()['search'](n(0x20f))['toString']()[n(0x208)](a131a)['search'](n(0x20f));});function a131c(){const r=['maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','relative','maka\x20g:layout\x20mobile/iPhone8','split','template','622oXzjlm','test/test.js','string','graphql','true','constructor','.css','ramda','none','18woDWsM','Scaffolding\x20for\x20a\x20React\x20Layout.','apply','(((.+)+)+)+$','toString','dir','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','component/component.js','includes','withTranslations','withHooks','css','fsi','findAppDirectory','setTemplate','1056610cNTVWw','test','14746501vlzNXt','563zqgyev','pathFromApp','158746reGJAu','create','checkNpmPackage','fileName','162VnshTP','import\x20\x27./','warn','features','4143688zTzczo','assign','.app-tests.js','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','71444zloEnK','withHook','injectAtBeginningOfFile','withValue','engines','1489290cjTkfG','template/template.css','react','10uyPdBS','layout','resourceName','getMakaProjectConfig','hook/hook.js'];a131c=function(){return r;};return a131c();}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';const aliases=['l'];Generator[a131o(0x1e6)]({'name':a131o(0x1fa),'aliases':aliases,'usage':a131o(0x1fe),'shortDesc':a131o(0x20d),'validOpts':[a131o(0x1f2)],'examples':[a131o(0x200),'maka\x20g:l\x20web/safari']},async function(a,b){const p=a131o,c='/imports/ui/layouts',d=this[p(0x218)][p(0x219)](),e=this[p(0x218)][p(0x1e4)]({'pathParts':[c,b[p(0x211)],paramCase(b[p(0x1fb)]),paramCase(b['resourceName'])]}),f=this[p(0x218)][p(0x1fc)]();await this[p(0x218)][p(0x1f4)](f,async()=>{const q=p;typeof f[q(0x202)][q(0x21c)]===q(0x205)&&(f[q(0x202)][q(0x21c)]=f[q(0x202)][q(0x21c)]===q(0x207)?!![]:![],this[q(0x218)][q(0x21a)]('test',f[q(0x202)][q(0x21c)]));typeof f[q(0x202)][q(0x217)]===q(0x205)&&(f['template']['css']=f[q(0x202)]['css']===q(0x207)?!![]:![],this[q(0x218)]['setTemplate'](q(0x217),f[q(0x202)]['css']));typeof f[q(0x202)]['js']===q(0x205)&&(f['template']['js']=f[q(0x202)]['js']===q(0x207)?!![]:![],this[q(0x218)][q(0x21a)]('js',f[q(0x202)]['js']));!f[q(0x1ec)]&&(f[q(0x1ec)]={});const g=b['_']?b['_'][0x0][q(0x201)](':')[0x1]:![],h=b['_']&&aliases[q(0x214)](g);h&&!this[q(0x1e7)](q(0x20a))&&(Log[q(0x1eb)](q(0x212)),this['fsi']['installNpmPackage']('ramda',{'cwd':d}));if(h&&!this['checkNpmPackage']('react')){Log['warn'](q(0x1f0));return;}const i={'name':pascalCase(b[q(0x1fb)]),'myPath':a131e[q(0x1ff)](this['fsi']['pathFromProject']({}),e),'cssCaseName':paramCase(b[q(0x1fb)]),'className':pascalCase(b['resourceName']),'camelCaseName':camelCase(b[q(0x1fb)]),'fileName':paramCase(b[q(0x1fb)]),'graphql':f[q(0x1f5)][q(0x206)],'features':f[q(0x1ec)],'client':f[q(0x1f5)]['client'],'api':f[q(0x1f5)]['api'],'ssr':f[q(0x1f5)]['ssr'],'test':f[q(0x1f5)][q(0x21c)],'theme':f[q(0x1f5)]['theme'],'isComponent':![],'isLayout':!![],'withTranslations':f[q(0x1ec)][q(0x215)]};f[q(0x1ec)]?.[q(0x216)]||b[q(0x1f2)]?await this[q(0x218)][q(0x202)]({'srcPath':q(0x1fd),'destPath':e+'.js','framework':q(0x1f8),'context':i,'config':f}):await this[q(0x218)]['template']({'srcPath':q(0x213),'destPath':e+'.js','framework':q(0x1f8),'context':i,'config':f});f[q(0x1f5)][q(0x21c)]!==q(0x20b)&&await this[q(0x218)][q(0x202)]({'srcPath':q(0x204),'destPath':e+q(0x1ef),'framework':q(0x1f8),'context':i,'config':f});f['template'][q(0x217)]&&(await this[q(0x218)][q(0x202)]({'srcPath':q(0x1f7),'destPath':e+q(0x209),'context':Object[q(0x1ee)]({},i,{'className':paramCase(b[q(0x1fb)])}),'config':f}),await this['fsi'][q(0x1f3)]({'filePath':e+'.'+f[q(0x1f5)]['js'],'content':q(0x1ea)+i[q(0x1e8)]+'.'+f[q(0x1f5)]['css']+'\x27;'}));const j=b['dir']?'/'+b['dir']+'/':'/',k=''+c+j+i['fileName']+'/'+i[q(0x1e8)];await this[q(0x218)]['injectTemplateModule'](i['className'],f,k);});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a132i=a132d;(function(a,b){const f=a132d,c=a();while(!![]){try{const d
|
|
1
|
+
function a132c(){const j=['4438664SzkHYm','24176180YiHDfa','27385UreSUW','1953062bhNJNk','1080602pFXtpt','maka\x20generate:scaffold\x20todos','maka\x20g:package\x20package:name','constructor','2278068ocxbJS','3rLHrzK','3053583dmCrmQ','apply','Scaffold\x20various\x20parts\x20of\x20your\x20application','maka\x20g:template\x20todos/todo_item','maka\x20g:route\x20todos/edit','generate','(((.+)+)+)+$','maka\x20g:api\x20trucks','toString','636usMXYf','search','7JPoqJi','maka\x20g:dbc\x20geoserver\x20--type=pgsql','maka\x20{generate,\x20g}:<generator>\x20<name>'];a132c=function(){return j;};return a132c();}const a132i=a132d;(function(a,b){const f=a132d,c=a();while(!![]){try{const d=-parseInt(f(0x70))/0x1+-parseInt(f(0x6f))/0x2*(parseInt(f(0x75))/0x3)+parseInt(f(0x74))/0x4+parseInt(f(0x6e))/0x5*(parseInt(f(0x67))/0x6)+-parseInt(f(0x69))/0x7*(parseInt(f(0x6c))/0x8)+-parseInt(f(0x76))/0x9+parseInt(f(0x6d))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a132c,0x967fc));const a132b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a132d;if(c){const e=c[g(0x77)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a132a=a132b(this,function(){const h=a132d;return a132a[h(0x66)]()[h(0x68)](h(0x7c))[h(0x66)]()[h(0x73)](a132a)[h(0x68)]('(((.+)+)+)+$');});a132a();import{Generator}from'../generator.js';const MakaGen=new Generator({'name':a132i(0x7b),'aliases':['g'],'usage':a132i(0x6b),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':a132i(0x78),'examples':[a132i(0x71),'maka\x20g:scaffold\x20todos',a132i(0x79),a132i(0x72),a132i(0x7a),a132i(0x65),a132i(0x6a)]},function(){});function a132d(a,b){const c=a132c();return a132d=function(d,e){d=d-0x65;let f=c[d];return f;},a132d(a,b);}export default MakaGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a133d(a,b){const c=a133c();return a133d=function(d,e){d=d-0x1eb;let f=c[d];return f;},a133d(a,b);}const a133m=a133d;(function(a,b){const j=a133d,c=a();while(!![]){try{const d=parseInt(j(0x203))/0x1*(parseInt(j(0x1f7))/0x2)+parseInt(j(0x204))/0x3*(parseInt(j(0x207))/0x4)+parseInt(j(0x1fa))/0x5+-parseInt(j(0x20b))/0x6+parseInt(j(0x20f))/0x7*(-parseInt(j(0x1ee))/0x8)+-parseInt(j(0x1f1))/0x9*(parseInt(j(0x210))/0xa)+parseInt(j(0x1f5))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a133c,0xbd680));const a133b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a133d;if(c){const e=c[k(0x201)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a133a=a133b(this,function(){const l=a133d;return a133a[l(0x20a)]()[l(0x1f6)](l(0x20c))[l(0x20a)]()['constructor'](a133a)['search'](l(0x20c));});a133a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a133c(){const p=['160csJxTg','1076718oVDrYm','template','injectAtEndOfFile','4LIEpNJ','create','resourceName','toString','3491700fxQAKQ','(((.+)+)+)+$','checkMeteorPackage','maka\x20{generate,\x20g}:{method,\x20m}\x20name','161987BfpRWx','877010ExnVzs','import\x20\x27./methods','dir','getMakaProjectConfig','408UbZSvc','-rpc-method.','pathFromApp','108zxffzr','mdg:validated-method','fsi','ddp-rate-limiter','30797140PTQQOl','search','3416BiiiXP','startup','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','792175xjuVjC','imports','tsx','engines','methods','appPathPrefix','withValue','apply','method'];a133c=function(){return p;};return a133c();}import{camelCase,paramCase,pascalCase}from'change-case';Generator[a133m(0x208)]({'name':a133m(0x202),'aliases':['m'],'usage':a133m(0x20e),'checkWhere':!![],'shortDesc':a133m(0x1f9),'validOpts':['dir'],'examples':['maka\x20g:method\x20todos']},async function(a,b){const n=a133m;try{const c=this[n(0x1f3)][n(0x1ed)]();await this[n(0x1f3)][n(0x200)](c,async()=>{const o=n,d=paramCase(b[o(0x209)]),f={'name':b[o(0x209)],'fileName':d,'className':pascalCase(b[o(0x209)]),'camelCase':camelCase(b[o(0x209)]),'noRename':!![]};let g='js';c[o(0x1fd)]['js']===o(0x1fc)&&(g='ts');await this['fsi'][o(0x20d)](['maka:check',o(0x1f4),o(0x1f2)],{'shouldInstall':!![]}),await this[o(0x1f3)][o(0x205)]({'srcPath':'method/method.js','destPath':this[o(0x1f3)][o(0x1f0)]({'pathParts':['imports',o(0x1f8),b[o(0x1ff)],o(0x1fe),b[o(0x1ec)],d+o(0x1ef)+g]}),'context':f,'config':c});const h=b['dir']?'/'+b[o(0x1ec)]+'/':'/',i=this['fsi'][o(0x1f0)]({'pathParts':[o(0x1fb),o(0x1f8),b[o(0x1ff)],'index.'+c['engines']['js']]});await this[o(0x1f3)][o(0x206)]({'filePath':i,'content':o(0x1eb)+h+d+'-rpc-method\x27;'});});}catch(d){Log['error'](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a134o=a134d;(function(a,b){const l=a134d,c=a();while(!![]){try{const d=-parseInt(l(0x158))/0x1+parseInt(l(0x150))/0x2*(parseInt(l(0x14c))/0x3)+parseInt(l(0x13f))/0x4*(parseInt(l(0x140))/0x5)+-parseInt(l(0x15c))/0x6+-parseInt(l(0x14e))/0x7*(-parseInt(l(0x143))/0x8)+parseInt(l(0x168))/0x9*(-parseInt(l(0x169))/0xa)+parseInt(l(0x161))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a134c,0xbf5ab));const a134b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a134d;if(c){const e=c[m(0x157)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a134a=a134b(this,function(){const n=a134d;return a134a['toString']()[n(0x145)](n(0x152))[n(0x15f)]()['constructor'](a134a)[n(0x145)]('(((.+)+)+)+$');});a134a();import a134e from'path';import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a134o(0x14a)]({'name':a134o(0x146),'aliases':['p'],'usage':a134o(0x141),'shortDesc':a134o(0x155),'validOpts':[a134o(0x14d)],'examples':[a134o(0x14f)]},async function(a,b){const p=a134o,c=paramCase(b[p(0x14b)]),d=this[p(0x16d)][p(0x16e)]({'pathParts':[p(0x15a),b[p(0x14d)],c]}),e=this[p(0x16d)][p(0x142)]({'pathParts':['packages',b[p(0x14d)],c,'package.js']}),f=this[p(0x16d)][p(0x156)]();await this[p(0x16d)][p(0x159)](f,async()=>{const q=p,g={'name':paramCase(b[q(0x14b)]),'myPath':a134e[q(0x16b)](this[q(0x16d)]['pathFromProject']({}),d),'cssCaseName':paramCase(b[q(0x14b)]),'className':pascalCase(b[q(0x14b)]),'camelCaseName':camelCase(b[q(0x14b)]),'fileName':c,'client':f[q(0x166)][q(0x149)],'graphql':f[q(0x166)][q(0x151)],'ssr':f['engines'][q(0x148)],'isComponent':b[q(0x163)](q(0x160)),'isLayout':b[q(0x163)]('layout'),'isStore':b[q(0x163)](q(0x154)),'features':f[q(0x15e)],'noRename':!![],'theme':f[q(0x166)][q(0x153)]};await this['fsi'][q(0x16c)]({'srcPath':q(0x16f),'destPath':e,'context':g,'config':f}),g[q(0x164)]=![];const h=d+q(0x16a)+c+q(0x15d);await this[q(0x16d)][q(0x16c)]({'srcPath':q(0x162),'destPath':h,'context':g,'config':f});const i=[q(0x167),q(0x15b),q(0x144),q(0x165)];for(const j of i){const k=d+'/'+j+'/'+c+q(0x15d);await this[q(0x16d)][q(0x16c)]({'srcPath':q(0x13e)+j+q(0x147),'destPath':k,'context':g,'config':f});}});});function a134d(a,b){const c=a134c();return a134d=function(d,e){d=d-0x13e;let f=c[d];return f;},a134d(a,b);}function a134c(){const r=['engines','lib','489249eTDIOo','130JbpVKw','/client/','relative','template','fsi','pathFromApp','package/package.js','package/','4CUjfnT','5756585AFQcFI','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','pathFromAppWithNoReWrite','464HWSWIo','tests/client','search','package','/package.js','ssr','client','create','resourceName','3UEEaHU','dir','17969Wcsoym','maka\x20g:package\x20todos:package','2573638JXLsxq','graphql','(((.+)+)+)+$','theme','store','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','getMakaProjectConfig','apply','1292494YnhkkU','withValue','packages','server','5428734sQKleC','.js','features','toString','component','12108151WWSBaJ','template/template.js','hasOwnProperty','noRename','tests/server'];a134c=function(){return r;};return a134c();}
|