@maka/maka-cli 5.0.0-beta.4 → 5.0.0-beta.6
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/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 +1 -2
- package/bundle/obf/src/templates/meteor/app/imports/startup/client/index.js.tsx +1 -2
- package/bundle/obf/src/templates/react/kit/auth/provider/authentication-provider.js.jsx +23 -11
- package/bundle/obf/src/templates/react/kit/auth/provider/authentication-provider.js.tsx +23 -12
- package/bundle/obf/src/templates/react/kit/mui/auth/forgot-password/basic-forgot-password-page.js.jsx +5 -3
- package/bundle/obf/src/templates/react/kit/mui/auth/forgot-password/basic-forgot-password-page.js.tsx +5 -3
- package/bundle/obf/src/templates/react/kit/mui/auth/login/basic-login-page.js.jsx +6 -6
- package/bundle/obf/src/templates/react/kit/mui/auth/login/basic-login-page.js.tsx +7 -8
- package/bundle/obf/src/templates/react/kit/mui/auth/logout/basic-logout-page.js.jsx +3 -2
- package/bundle/obf/src/templates/react/kit/mui/auth/logout/basic-logout-page.js.tsx +4 -3
- package/bundle/obf/src/templates/react/kit/mui/auth/password-reset/basic-password-reset-page.js.jsx +4 -3
- package/bundle/obf/src/templates/react/kit/mui/auth/password-reset/basic-password-reset-page.js.tsx +4 -3
- package/bundle/obf/src/templates/react/kit/mui/auth/register/basic-register-page.js.jsx +4 -3
- package/bundle/obf/src/templates/react/kit/mui/auth/register/basic-register-page.js.tsx +5 -4
- package/bundle/obf/src/templates/react/kit/mui/frame/app-bars/basic-app-bar.js.jsx +4 -3
- package/bundle/obf/src/templates/react/kit/mui/frame/app-bars/basic-app-bar.js.tsx +9 -7
- 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
|
-
function
|
|
1
|
+
const a116k=a116d;function a116c(){const n=['join','appName','dockerfile','1981107yKeWJZ','findProjectDirectory','maka\x20g:dockerfile','fsi','getGlobalConfig','toString','6QfHyad','create','force','apply','template','app.tar.gz','error','(((.+)+)+)+$','6baKiew','1399290RvHicJ','1194464dRIjcd','2377115AltIqG','withValue','docker/Dockerfile','getMakaProjectConfig','87826bWNUKv','4ylyzuI','16ktRUYn','5744035rxsLgU','1075445SSzMJQ','constructor'];a116c=function(){return n;};return a116c();}(function(a,b){const h=a116d,c=a();while(!![]){try{const d=-parseInt(h(0x175))/0x1*(parseInt(h(0x176))/0x2)+parseInt(h(0x166))/0x3*(parseInt(h(0x170))/0x4)+parseInt(h(0x171))/0x5*(-parseInt(h(0x16e))/0x6)+parseInt(h(0x179))/0x7+-parseInt(h(0x177))/0x8*(parseInt(h(0x160))/0x9)+parseInt(h(0x16f))/0xa+parseInt(h(0x178))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a116c,0x4e87c));function a116d(a,b){const c=a116c();return a116d=function(d,e){d=d-0x15e;let f=c[d];return f;},a116d(a,b);}const a116b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a116d;if(c){const e=c[i(0x169)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a116a=a116b(this,function(){const j=a116d;return a116a['toString']()['search'](j(0x16d))[j(0x165)]()[j(0x17a)](a116a)['search'](j(0x16d));});a116a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import a116e from'path';Generator[a116k(0x167)]({'name':a116k(0x15f),'usage':'maka\x20{generate,\x20g}:dockerfile','shortDesc':'Generate\x20an\x20updated\x20dockerfile','validOpts':[{'name':a116k(0x168),'boolFlag':!![]}],'noNeedResource':!![],'examples':[a116k(0x162)]},async function(a,b){const l=a116k;try{const c=await this[l(0x163)][l(0x174)](),d=await this['fsi'][l(0x164)](),f=this['fsi'][l(0x161)]();await this[l(0x163)][l(0x172)](c,async()=>{const m=l,g={'app':d[m(0x15e)],'config':c,'appPath':a116e[m(0x17b)](f,'app'),'bundlePath':a116e[m(0x17b)](f,'build',m(0x16b)),'useCert':this[m(0x163)]['isFile'](d['cert'])};await this['fsi'][m(0x16a)]({'srcPath':m(0x173),'destPath':a116e['join'](f,'Dockerfile'),'framework':'service','context':g,'config':c,'force':b[m(0x168)]});});}catch(g){Log[l(0x16c)](g);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a117o=a117d;
|
|
1
|
+
const a117o=a117d;(function(a,b){const l=a117d,c=a();while(!![]){try{const d=parseInt(l(0x122))/0x1*(-parseInt(l(0x12a))/0x2)+-parseInt(l(0x115))/0x3+-parseInt(l(0x13e))/0x4*(-parseInt(l(0x143))/0x5)+-parseInt(l(0x141))/0x6+parseInt(l(0x14b))/0x7*(-parseInt(l(0x136))/0x8)+parseInt(l(0x157))/0x9+-parseInt(l(0x148))/0xa*(-parseInt(l(0x132))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0x5a70d));const a117b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a117d;if(c){const e=c[m(0x142)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){const n=a117d;return a117a[n(0x127)]()[n(0x156)](n(0x12b))[n(0x127)]()[n(0x158)](a117a)[n(0x156)]('(((.+)+)+)+$');});a117a();import a117e from'path';function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0x115;let f=c[d];return f;},a117d(a,b);}import{paramCase,pascalCase,camelCase}from'change-case';import{Generator}from'../generator.js';function a117c(){const r=['className','1043jslZcs','test/test.js','@apollo/client','hook','pathFromProject','true','assign','css','dir','none','create','search','6013296QRWjqu','constructor','1962486psplAA','relative','force','apollo','react','pages','warn','components','notice','.css','cssCaseName','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','getMakaProjectConfig','46794LDAAFm','/imports/ui/','baseDir','setTemplate','engines','toString','test','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','20vMRyxt','(((.+)+)+)+$','.js','resourceName','Creating\x20','error','\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','string','19371yJmwlE','injectTemplateModule','fsi','hooks','1464WcCjjX','fileName','\x20hook...','checkNpmPackage','import\x20\x27./','findAppDirectory','theme','maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','94404biwGNH','template','withTranslations','1092330eZNdel','apply','25ooLscD','graphql','layouts','features','.app-tests.js','5200bfUPcU','Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html'];a117c=function(){return r;};return a117c();}import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';Generator[a117o(0x155)]({'name':a117o(0x14e),'aliases':['h'],'checkWhere':![],'usage':a117o(0x13d),'shortDesc':a117o(0x149),'validOpts':[{'name':a117o(0x124),'values':[a117o(0x135),a117o(0x11c),a117o(0x11a),a117o(0x145)]},{'name':a117o(0x117),'boolFlag':!![]}],'examples':['maka\x20g:hook\x20cool-hook'],'description':a117o(0x130)},async function(a,b){const p=a117o;Log[p(0x11d)](p(0x12e)+b[p(0x12d)]+p(0x138));try{const c=this[p(0x134)][p(0x139)](p(0x119));if(!c){Log['error'](p(0x120));throw new UsageError();}const d=this[p(0x134)][p(0x13b)](),f=b['baseDir']?p(0x123)+b[p(0x124)]:'/imports/ui/components',g=this[p(0x134)]['pathFromApp']({'pathParts':[f,b['dir'],paramCase(b[p(0x12d)]),paramCase(b[p(0x12d)])]}),h=await this[p(0x134)][p(0x121)]();await this['fsi']['withValue'](h,async()=>{const q=p;typeof h[q(0x13f)][q(0x152)]===q(0x131)&&(h[q(0x13f)][q(0x152)]=h[q(0x13f)][q(0x152)]===q(0x150)?!![]:![],this[q(0x134)][q(0x125)](q(0x152),h[q(0x13f)][q(0x152)]));h[q(0x126)]['graphql']===q(0x118)&&!this[q(0x134)][q(0x139)](q(0x14d))&&(Log[q(0x11b)](q(0x129)),await this['fsi']['installNpmPackage']('@apollo/client\x20isomorphic-fetch',{'cwd':d}));const i={'cssCaseName':paramCase(b[q(0x12d)]),'camelCaseName':camelCase(b['resourceName']),'className':pascalCase(b[q(0x12d)]),'name':pascalCase(b[q(0x12d)]),'graphql':h[q(0x126)][q(0x144)],'theme':h[q(0x126)][q(0x13c)],'features':h['features'],'myPath':a117e[q(0x116)](this[q(0x134)][q(0x14f)]({}),g),'fileName':paramCase(b[q(0x12d)]),'isComponent':![],'isLayout':![],'withTranslations':h[q(0x146)][q(0x140)]};await this[q(0x134)][q(0x13f)]({'srcPath':'hook/hook.js','destPath':g+q(0x12c),'context':i,'config':h,'framework':q(0x119),'force':b['force']});h[q(0x13f)][q(0x152)]&&(await this[q(0x134)][q(0x13f)]({'srcPath':'template/template.css','destPath':g+q(0x11e),'context':Object[q(0x151)]({},i,{'className':i[q(0x11f)]}),'config':h,'force':b['force']}),await this[q(0x134)]['injectAtBeginningOfFile']({'filePath':g+'.'+h[q(0x126)]['js'],'content':q(0x13a)+i['fileName']+'.'+h['engines'][q(0x152)]+'\x27;'}));h[q(0x126)][q(0x128)]!==q(0x154)&&await this[q(0x134)][q(0x13f)]({'srcPath':q(0x14c),'destPath':g+q(0x147),'framework':q(0x119),'context':i,'config':h,'force':b['force']});const j=b[q(0x153)]?'/'+b[q(0x153)]+'/':'/',k=''+f+j+i[q(0x137)]+'/'+i['fileName'];await this[q(0x134)][q(0x133)](i[q(0x14a)],h,k);});}catch(i){Log[p(0x12f)](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(0x1c7))/0x1+-parseInt(f(0x1cd))/0x2+parseInt(f(0x1c9))/0x3+parseInt(f(0x1c8))/0x4*(-parseInt(f(0x1d1))/0x5)+-parseInt(f(0x1d0))/0x6+parseInt(f(0x1ca))/0x7+-parseInt(f(0x1cc))/0x8*(-parseInt(f(0x1cb))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0x89a95));var a118b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a118d;if(c){var e=c[g(0x1c4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){var h=a118d;return a118a[h(0x1cf)]()['search'](h(0x1c5))[h(0x1cf)]()[h(0x1ce)](a118a)[h(0x1c6)](h(0x1c5));});function a118d(a,b){var c=a118c();return a118d=function(d,e){d=d-0x1c4;var f=c[d];return f;},a118d(a,b);}a118a();function a118c(){var i=['3122202hfthgv','260lccWdp','apply','(((.+)+)+)+$','search','703201JbyaKW','116ZhTsdo','910752uFUiid','1502767kzWfXz','189WbmCWe','891416VSvCWO','2138590TFqgvM','constructor','toString'];a118c=function(){return i;};return a118c();}import'./kit.js';import'./mui/_index.js';import'./esri/_index.js';import'./auth/_index.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a119d(a,b){var c=a119c();return a119d=function(d,e){d=d-0x1b0;var f=c[d];return f;},a119d(a,b);}(function(a,b){var f=a119d,c=a();while(!![]){try{var d=parseInt(f(0x1b5))/0x1+-parseInt(f(0x1b3))/0x2+-parseInt(f(0x1b2))/0x3*(-parseInt(f(0x1be))/0x4)+-parseInt(f(0x1b7))/0x5*(-parseInt(f(0x1bc))/0x6)+-parseInt(f(0x1bf))/0x7*(parseInt(f(0x1ba))/0x8)+parseInt(f(0x1b4))/0x9*(-parseInt(f(0x1bb))/0xa)+parseInt(f(0x1b9))/0xb*(parseInt(f(0x1b8))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0x22b7a));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[g(0x1b6)]()[g(0x1bd)](g(0x1b0))[g(0x1b6)]()[g(0x1b1)](a119a)['search']('(((.+)+)+)+$');});a119a();function a119c(){var h=['toString','3060sKUFuO','1704228tmRZgn','11vfkksZ','8056GfRiLA','270MxhKIa','1788YELywR','search','4NbYqbi','791qNcPkJ','(((.+)+)+)+$','constructor','384765bfndAA','480322TKnPyM','6345CYdcxX','62539AZngbJ'];a119c=function(){return h;};return a119c();}import'./auth.generator.js';import'./provider.auth.gen.js';import'./basic-meteor.auth.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a120h=a120d;function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0xd6;let f=c[d];return f;},a120d(a,b);}(function(a,b){const f=a120d,c=a();while(!![]){try{const d=-parseInt(f(0xe0))/0x1+parseInt(f(0xe3))/0x2*(parseInt(f(0xe9))/0x3)+-parseInt(f(0xdf))/0x4*(-parseInt(f(0xe8))/0x5)+-parseInt(f(0xe4))/0x6+parseInt(f(0xe7))/0x7*(-parseInt(f(0xd9))/0x8)+-parseInt(f(0xdc))/0x9*(parseInt(f(0xdd))/0xa)+parseInt(f(0xda))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0x4d89f));const a120b=(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;};}()),a120a=a120b(this,function(){const g=a120d;return a120a['toString']()[g(0xe6)](g(0xe1))[g(0xd8)]()[g(0xd7)](a120a)['search'](g(0xe1));});a120a();import{Generator}from'../../../generator.js';function a120c(){const i=['search','6167NKCVEb','5zxLMae','30boopdW','create','constructor','toString','1432IugyCC','11507265OTeaIs','Starting\x20point\x20for\x20generating\x20an\x20Auth\x20Provider','3142872XWWawz','10iKxJfT','maka\x20g:kit:a','1929352pibQju','545056seNqNb','(((.+)+)+)+$','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x20\x20','69880JACqZW','3049746OwGczH','auth'];a120c=function(){return i;};return a120c();}import a120e from'../kit.js';const AuthGen=Generator[a120h(0xd6)]({'name':a120h(0xe5),'aliases':['a'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:<kit-name>','noNeedResource':!![],'shortDesc':a120h(0xdb),'validOpts':[''],'isPro':!![],'examples':[a120h(0xde)],'description':a120h(0xe2)},async function(){throw'NIE';},async function(){},a120e);export default AuthGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a121c(){const u=['ssr','injectIntoFile','1082RGQaHl','Accounts','pathFromApp','injectIntoCodeBlock','getMakaProjectConfig','const\x20sendForgotPasswordEmail','export\x20const\x20AuthProvider','accounts-password','processAndRunGenerator','8799552yWFvcm','server','meteor/maka:react-tracker','return\x20\x5c(','2372976gxUbjT','constructor','const\x20authenticateUser','10tnwvHp','(((.+)+)+)+$','\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','meteor/meteor','2185266gziALU','injectImport','17984619MveZRO','authentication-provider','\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','true','withValue','findProjectDirectory','template','useTracker','\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','fsi','index','\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','Meteor.startup','toString','\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','imports','error','meteor/accounts-base','auth/roles','publish','alanning:roles','4172035ecMCsd','.js','/imports/startup/lib/authentication-service','engines','kit:auth:provider','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','const\x20deauthenticateUser','Meteor','meteor','checkMeteorPackage','create','\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','1601yesBSg','145iYoBEL','\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','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','/imports/startup/lib','const\x20authenticateToken','apply','exit','const\x20getUserAuthorizations','/imports/startup/client/authentication-service','/imports/startup/client','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','search','162812EbNXcT','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20'];a121c=function(){return u;};return a121c();}function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0x1f2;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(0x1fd))/0x1*(parseInt(o(0x20e))/0x2)+parseInt(o(0x21b))/0x3+parseInt(o(0x20a))/0x4*(-parseInt(o(0x1fe))/0x5)+parseInt(o(0x222))/0x6+parseInt(o(0x239))/0x7+-parseInt(o(0x217))/0x8+-parseInt(o(0x224))/0x9*(-parseInt(o(0x21e))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0x93393));const a121b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a121d;if(c){const e=c[p(0x203)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){const q=a121d;return a121a[q(0x231)]()[q(0x209)](q(0x21f))[q(0x231)]()[q(0x21c)](a121a)[q(0x209)](q(0x21f));});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[a121r(0x1fb)]({'name':a121r(0x1f9),'aliases':['m'],'usage':a121r(0x200),'shortDesc':a121r(0x208),'validOpts':['force'],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines['REACT']},'description':a121r(0x220)},async function(a,b){const s=a121r;try{const c=b['force']||![];await this[s(0x22d)][s(0x1fa)]([s(0x215),s(0x238)],{'shouldInstall':!![]});const d=this[s(0x22d)][s(0x229)](),f=this[s(0x22d)][s(0x212)](),g=f['engines'][s(0x20c)]===s(0x227);await a121f['processAndRunGenerator'](s(0x1f5),[],{'force':c,'cwd':d,'config':f});const h=await a121f[s(0x216)](s(0x237),[s(0x236)],{'force':c,'globalPublish':!![],'cwd':d,'config':f}),i=g?s(0x201):s(0x207),j=this[s(0x22d)][s(0x210)]({'pathParts':[i,'','','authentication-service']});await this['fsi'][s(0x228)](f,async()=>{const t=s;await this['fsi'][t(0x22a)]({'srcPath':'kit/auth/service/meteor-auth-service.js','destPath':j+t(0x1f2),'framework':'react','context':{},'config':f,'force':c,'ignore':![]});});const k=this[s(0x22d)][s(0x210)]({'pathParts':[i,'','',s(0x225)]}),l=f[s(0x1f4)]['js'];await this[s(0x22d)][s(0x223)]({'filePath':k+'.'+l,'importName':'AuthService','modulePath':g?s(0x1f3):s(0x206),'isNamedExport':![]}),await this[s(0x22d)]['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':s(0x232),'begin':s(0x21d),'replace':!![]}),await this[s(0x22d)][s(0x211)]({'filePath':k+'.'+l,'content':s(0x1ff),'begin':s(0x202),'replace':!![]}),await this['fsi'][s(0x211)]({'filePath':k+'.'+l,'content':s(0x22f),'begin':s(0x205),'replace':!![]}),await this[s(0x22d)][s(0x211)]({'filePath':k+'.'+l,'content':s(0x20b),'begin':s(0x1f7),'replace':!![]}),await this[s(0x22d)][s(0x211)]({'filePath':k+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','begin':s(0x213),'replace':!![]}),await this[s(0x22d)]['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','begin':'const\x20registerNewUser','replace':!![]}),await this['fsi'][s(0x211)]({'filePath':k+'.'+l,'content':s(0x1f6),'begin':'const\x20resetPasswordWithToken','replace':!![]});g&&(await this[s(0x22d)][s(0x223)]({'filePath':k+'.'+l,'importName':s(0x22b),'modulePath':s(0x219),'isNamedExport':!![]}),await this[s(0x22d)][s(0x20d)]({'filePath':k+'.'+l,'content':s(0x226),'begin':s(0x214),'end':s(0x21a)}));await this[s(0x22d)][s(0x223)]({'filePath':h,'importName':s(0x1f8),'modulePath':s(0x221),'isNamedExport':!![],'injectAtStart':!![]}),await this[s(0x22d)][s(0x211)]({'filePath':h,'content':s(0x1fc),'begin':'Meteor.publish','replace':!![]});const m=this[s(0x22d)][s(0x210)]({'pathParts':[s(0x233),'startup',s(0x218),s(0x22e)]});await this[s(0x22d)][s(0x223)]({'filePath':m+'.'+l,'importName':s(0x20f),'modulePath':s(0x235),'isNamedExport':!![]}),await this[s(0x22d)][s(0x211)]({'filePath':m+'.'+l,'content':s(0x22c),'begin':s(0x230),'replace':!![]});}catch(n){Log[s(0x234)](n),process[s(0x204)](0x1);}},async function(){},a121e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a122w=a122d;function a122d(a,b){const c=a122c();return a122d=function(d,e){d=d-0xd0;let f=c[d];return f;},a122d(a,b);}function a122c(){const z=['/imports/startup/lib','4363681fAZpmE','authentication-provider','12295540IOoSJN','8TISpCp','/imports/startup/server/index','engines','withValue','bright','3675336puqPLC','useContext','(((.+)+)+)+$','injectImport','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','12967Mlzyhl','exit','toString','injectAroundString','force','<AppRoutes\x20/>','split','10324836ZgrsKk','AuthProvider','search','ssr','pathFromApp','324lZdMTu','/imports/startup/client/authentication-provider','getMakaProjectConfig','function\x20useAuth','kit/auth/provider/authentication-provider.js','102uchmYk','164oZdDxG','\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','fsi','11erAUWD','190585SJrRMk','23691EohybU','/imports/startup/client/index','.js','/imports/startup/lib/authentication-provider','const\x20useAuth','\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','AuthContext','injectIntoCodeBlock','replaceAll','\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','const\x20PrivateRoute'];a122c=function(){return z;};return a122c();}(function(a,b){const u=a122d,c=a();while(!![]){try{const d=parseInt(u(0xd1))/0x1*(parseInt(u(0xe3))/0x2)+parseInt(u(0xe8))/0x3*(-parseInt(u(0xdd))/0x4)+-parseInt(u(0xe7))/0x5*(-parseInt(u(0xe2))/0x6)+-parseInt(u(0xf4))/0x7+parseInt(u(0xf7))/0x8*(parseInt(u(0xd8))/0x9)+-parseInt(u(0xf6))/0xa*(parseInt(u(0xe6))/0xb)+parseInt(u(0xfc))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0xa41ab));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['toString']()[v(0xda)]('(((.+)+)+)+$')[v(0xd3)]()['constructor'](a122a)[v(0xda)](v(0xfe));});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['create']({'name':'provider','aliases':['p'],'usage':a122w(0x100),'shortDesc':a122w(0xd0),'validOpts':['force'],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines['REACT']},'description':a122w(0xed)},async function(a,b){const x=a122w;try{const c=b[x(0xd5)]||![];Log[x(0xfb)]('Creating\x20an\x20AuthProvider\x20and\x20AuthContext');const d=this[x(0xe5)][x(0xdf)](),f=d[x(0xf9)][x(0xdb)]==='true',g={'name':headerCase(d['appName'])[x(0xf0)]('-','\x20')},h=f?x(0xf3):'/imports/startup/client',i=this[x(0xe5)][x(0xdc)]({'pathParts':[h,'','',x(0xf5)]});await this['fsi'][x(0xfa)](d,async()=>{const y=x;await this[y(0xe5)]['template']({'srcPath':y(0xe1),'destPath':i+y(0xea),'framework':'react','context':g,'config':d,'force':c,'ignore':![]});});const j=d['engines']['js'],k=h+'/routes',l=k[x(0xd7)]('/'),m=this[x(0xe5)]['pathFromApp']({'pathParts':l});await this[x(0xe5)][x(0xff)]({'filePath':m+'.'+j,'importName':x(0xee),'modulePath':f?x(0xeb):x(0xde),'isNamedExport':!![]}),await this['fsi']['injectImport']({'filePath':m+'.'+j,'importName':x(0xfd),'modulePath':'react','isNamedExport':!![],'injectAtStart':!![]}),await this[x(0xe5)][x(0xef)]({'filePath':m+'.'+j,'content':x(0xf1),'begin':[x(0xec),x(0xe0)],'replace':!![]}),await this['fsi'][x(0xef)]({'filePath':m+'.'+j,'content':x(0xe4),'begin':[x(0xf2)],'replace':!![]});const n=x(0xe9),o=n[x(0xd7)]('/'),p=this[x(0xe5)][x(0xdc)]({'pathParts':o});await this['fsi'][x(0xff)]({'filePath':p+'.'+j,'importName':x(0xd9),'modulePath':f?x(0xeb):x(0xde),'isNamedExport':!![]}),await this['fsi'][x(0xd4)]({'filePath':p+'.'+j,'aboveContent':'<AuthProvider>','belowContent':'</AuthProvider>','targetString':x(0xd6),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q=x(0xf8),r=q['split']('/'),s=this[x(0xe5)][x(0xdc)]({'pathParts':r});await this[x(0xe5)][x(0xff)]({'filePath':s+'.'+j,'importName':'AuthProvider','modulePath':f?x(0xeb):x(0xde),'isNamedExport':!![]}),await this['fsi']['injectAroundString']({'filePath':s+'.'+j,'aboveContent':'<AuthProvider>','belowContent':'</AuthProvider>','targetString':x(0xd6),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log['error'](t),process[x(0xd2)](0x1);}},async function(){},a122e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(a,b){var f=a123d,c=a();while(!![]){try{var d=parseInt(f(0x80))/0x1+parseInt(f(0x7b))/0x2*(-parseInt(f(0x7f))/0x3)+parseInt(f(0x78))/0x4*(parseInt(f(0x7e))/0x5)+-parseInt(f(0x79))/0x6+-parseInt(f(0x82))/0x7*(parseInt(f(0x81))/0x8)+-parseInt(f(0x76))/0x9+parseInt(f(0x7d))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0x685bf));var a123b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a123d;if(c){var e=c[g(0x83)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){var h=a123d;return a123a[h(0x7a)]()[h(0x75)](h(0x77))[h(0x7a)]()[h(0x7c)](a123a)[h(0x75)]('(((.+)+)+)+$');});function a123c(){var i=['(((.+)+)+)+$','16LoEace','3782610SoPTDE','toString','4LYgqFn','constructor','16971500DSAUUN','627915kdtpwq','340005qxDaxg','303697RJRUOV','8IBWUaT','5812338pRiWBJ','apply','search','3494565EMIfBY'];a123c=function(){return i;};return a123c();}a123a();function a123d(a,b){var c=a123c();return a123d=function(d,e){d=d-0x75;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(0x87))/0x1+parseInt(f(0x8a))/0x2+parseInt(f(0x8f))/0x3*(-parseInt(f(0x93))/0x4)+parseInt(f(0x80))/0x5*(parseInt(f(0x7d))/0x6)+parseInt(f(0x91))/0x7+-parseInt(f(0x8e))/0x8*(-parseInt(f(0x86))/0x9)+-parseInt(f(0x88))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0x7f60f));const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a124d;if(c){const e=c[g(0x85)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const h=a124d;return a124a[h(0x7e)]()['search']('(((.+)+)+)+$')[h(0x7e)]()[h(0x7f)](a124a)[h(0x90)](h(0x8b));});a124a();import{Generator}from'../../../generator.js';import a124e from'../kit.js';function a124c(){const k=['269392YSnVCb','3uNdBdA','search','3631775wqYEqF','Starting\x20point\x20for\x20generating\x20Esri\x20Maps','1776540njvixx','6pWaHVp','toString','constructor','4710500jbNaIg','\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','/foo/bar','create','Esri\x20Kit\x20generated\x20successfully','apply','18swPBAx','473065ZUuaDs','15732910aySZcc','maka\x20g:kit:e','1075662NSEqeM','(((.+)+)+)+$','/foo','esri'];a124c=function(){return k;};return a124c();}const EsriGen=Generator[a124i(0x83)]({'name':a124i(0x8d),'aliases':['e'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','noNeedResource':!![],'shortDesc':a124i(0x92),'validOpts':[''],'isPro':!![],'examples':[a124i(0x89)],'description':a124i(0x81)},async function(){const j=a124i;return{'success':!![],'message':j(0x84),'details':{'filesCreated':[j(0x82)],'filesUpdated':[j(0x8c)]}};},async function(){},a124e);function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0x7d;let f=c[d];return f;},a124d(a,b);}export default EsriGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a125r=a125d;(function(a,b){const p=a125d,c=a();while(!![]){try{const d=-parseInt(p(0x1d4))/0x1+-parseInt(p(0x1c6))/0x2*(-parseInt(p(0x1cf))/0x3)+-parseInt(p(0x1b0))/0x4*(-parseInt(p(0x1be))/0x5)+parseInt(p(0x1b9))/0x6+-parseInt(p(0x1bc))/0x7*(-parseInt(p(0x1a9))/0x8)+-parseInt(p(0x1b2))/0x9*(-parseInt(p(0x1c1))/0xa)+parseInt(p(0x1cb))/0xb*(-parseInt(p(0x1a5))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0x422ee));const a125b=(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;};}()),a125a=a125b(this,function(){const q=a125d;return a125a['toString']()[q(0x1c5)](q(0x1d2))[q(0x1a3)]()[q(0x1a6)](a125a)[q(0x1c5)](q(0x1d2));});function a125d(a,b){const c=a125c();return a125d=function(d,e){d=d-0x1a3;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 u=['/imports/startup/lib/templates','/imports/startup/client/templates','84sfrZjq','split','11277rfnhVS','@esri/react-arcgis','\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','create','injectIntoFile','esri-loader','bright','2134656KeuLrq','withValue','getMakaProjectConfig','953141dJjhhd','baseDir','65020PPCDJc','</div>','findProjectDirectory','1140lEyKnb','appName','checkNpmPackage','.js','search','84982SSBTzr','pathFromApp','/imports/ui/hooks','map','<div\x20id=\x22map\x22>','5291704FwjOfQ','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','error','replaceAll','24uCbsxR','fsi','Generate\x20an\x20Esri\x20map\x20component','(((.+)+)+)+$','engines','14579QBxHvc','toString','processAndRunGenerator','24VjGKtc','constructor','Generating\x20a\x20map\x20component','react','8FmdIXZ','\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','injectImport','ssr','dir'];a125c=function(){return u;};return a125c();}Generator[a125r(0x1b5)]({'name':a125r(0x1c9),'aliases':['m'],'usage':a125r(0x1cc),'shortDesc':a125r(0x1d1),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines['REACT'],'ssr':SsrEngines['FALSE']},'description':a125r(0x1aa)},async function(a,b){const s=a125r;try{Log[s(0x1b8)](s(0x1a7));const c='basic-map';await this['fsi'][s(0x1c3)]([s(0x1b3),s(0x1b7)],{'shouldInstall':!![]});const d=this[s(0x1d0)][s(0x1c0)](),f=this[s(0x1d0)][s(0x1bb)](),g=f[s(0x1d3)][s(0x1ac)]==='true',h=await a125f[s(0x1a4)]('page',[s(0x1c9)],{'cwd':d,'config':f}),i={'name':headerCase(f[s(0x1c2)])[s(0x1ce)]('-','\x20'),'componentName':pascalCase(c)},j=b[s(0x1bd)]?'/imports/ui/'+b[s(0x1bd)]:s(0x1c8),k=this[s(0x1d0)]['pathFromApp']({'pathParts':[j,b[s(0x1ad)],paramCase(c),paramCase(c)]});await this['fsi'][s(0x1ba)](f,async()=>{const t=s;await this[t(0x1d0)]['template']({'srcPath':'kit/esri/map/'+c+t(0x1c4),'destPath':k+t(0x1c4),'framework':t(0x1a8),'context':i,'config':f,'force':![],'ignore':![]});});const l=''+j+b[s(0x1ad)]+'/'+c+'/'+c;await this[s(0x1d0)]['injectTemplateModule'](c,f,l);const m=h[s(0x1b1)]('/'),n=this[s(0x1d0)][s(0x1c7)]({'pathParts':m});await this['fsi'][s(0x1ab)]({'filePath':n,'importName':pascalCase(c),'modulePath':g?s(0x1ae):s(0x1af),'isNamedExport':!![]}),await this[s(0x1d0)][s(0x1b6)]({'filePath':n,'content':'\x0a<'+pascalCase(c)+s(0x1b4),'begin':[s(0x1ca),s(0x1ca)],'end':[s(0x1bf)],'replace':!![]});}catch(o){Log[s(0x1cd)](o),process['exit'](0x1);}},async function(){},a125e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a126i=a126d;function a126c(){const j=['maka\x20g:k','kit','apply','create','(((.+)+)+)+$','toString','Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','1CNQnXf','712629TzkXAF','541905qgAmDL','184PntAJs','2421896LilBdk','maka\x20g:kit','12607lsZEbI','873LwlTUN','718438qIjMNI','66KMUygr','12HlWzRV','52310YOJoRD','constructor','maka\x20{generate,\x20g}:{kit}\x20<name>','search','840084oshfFy'];a126c=function(){return j;};return a126c();}(function(a,b){const f=a126d,c=a();while(!![]){try{const d=parseInt(f(0x178))/0x1*(-parseInt(f(0x169))/0x2)+parseInt(f(0x179))/0x3+parseInt(f(0x17c))/0x4+-parseInt(f(0x17a))/0x5*(parseInt(f(0x16b))/0x6)+-parseInt(f(0x167))/0x7*(-parseInt(f(0x17b))/0x8)+-parseInt(f(0x168))/0x9*(-parseInt(f(0x16c))/0xa)+parseInt(f(0x16a))/0xb*(-parseInt(f(0x170))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0x60a30));const a126b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a126d;if(c){const e=c[g(0x173)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){const h=a126d;return a126a[h(0x176)]()[h(0x16f)](h(0x175))[h(0x176)]()[h(0x16d)](a126a)[h(0x16f)](h(0x175));});a126a();import{Generator}from'../../generator.js';const KitGen=Generator[a126i(0x174)]({'name':a126i(0x172),'aliases':['k'],'usage':a126i(0x16e),'shortDesc':a126i(0x177),'minArgLength':0x1,'isPro':!![],'validOpts':[],'noNeedResource':!![],'examples':[a126i(0x17d),a126i(0x171)]},async function(){});function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0x167;let f=c[d];return f;},a126d(a,b);}export default KitGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a127d,c=a();while(!![]){try{var d
|
|
1
|
+
(function(a,b){var f=a127d,c=a();while(!![]){try{var d=parseInt(f(0x1a4))/0x1+-parseInt(f(0x1a7))/0x2*(-parseInt(f(0x1a8))/0x3)+parseInt(f(0x1aa))/0x4*(-parseInt(f(0x1a2))/0x5)+-parseInt(f(0x1a5))/0x6*(-parseInt(f(0x1a3))/0x7)+parseInt(f(0x1ad))/0x8+parseInt(f(0x1a9))/0x9*(-parseInt(f(0x1af))/0xa)+parseInt(f(0x1a1))/0xb*(-parseInt(f(0x1a0))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0xbe757));var a127b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a127d;if(c){var e=c[g(0x1ac)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){var h=a127d;return a127a[h(0x1ae)]()['search'](h(0x1ab))[h(0x1ae)]()[h(0x1a6)](a127a)['search'](h(0x1ab));});a127a();import'./mui.generator.js';function a127d(a,b){var c=a127c();return a127d=function(d,e){d=d-0x1a0;var f=c[d];return f;},a127d(a,b);}import'./frame.mui.gen.js';import'./auth.mui.gen.js';function a127c(){var i=['519827lMafCP','4934862KhdwTI','constructor','30922PgVmMP','105frOzxj','92511RizCmn','532oGhKTm','(((.+)+)+)+$','apply','10687208uBJuej','toString','290xQLmSr','7679508yWtbjT','11OazXSd','56435DXrnDZ','7gzVxSB'];a127c=function(){return i;};return a127c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a128J=a128d;(function(a,b){const G=a128d,c=a();while(!![]){try{const d=-parseInt(G(
|
|
1
|
+
const a128J=a128d;(function(a,b){const G=a128d,c=a();while(!![]){try{const d=-parseInt(G(0x200))/0x1+parseInt(G(0x21e))/0x2*(-parseInt(G(0x22f))/0x3)+-parseInt(G(0x1f2))/0x4*(parseInt(G(0x221))/0x5)+parseInt(G(0x1fb))/0x6+parseInt(G(0x214))/0x7*(-parseInt(G(0x1ea))/0x8)+-parseInt(G(0x224))/0x9*(-parseInt(G(0x21b))/0xa)+parseInt(G(0x1ee))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0x54507));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){const H=a128d;if(c){const e=c[H(0x1fa)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const I=a128d;return a128a[I(0x206)]()['search']('(((.+)+)+)+$')[I(0x206)]()['constructor'](a128a)[I(0x1f0)](I(0x231));});a128a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0x1ea;let f=c[d];return f;},a128d(a,b);}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';Generator[a128J(0x20e)]({'name':a128J(0x207),'aliases':['a'],'usage':'maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','shortDesc':a128J(0x228),'validOpts':[a128J(0x222),a128J(0x208)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a128J(0x205)],'client':ClientEngines[a128J(0x209)]},'examples':[a128J(0x230),a128J(0x1f8)],'description':a128J(0x1ec)},async function(a,b){const K=a128J;try{const c=b[K(0x208)]||![],d=this[K(0x22e)][K(0x21a)](),f=this[K(0x22e)][K(0x210)](),{authType:g}=await Actions[K(0x227)]({'type':'list','name':K(0x20d),'message':K(0x1ed),'choices':[{'name':K(0x22a),'value':K(0x20f)},{'name':K(0x1fc),'value':K(0x22c)}]}),h=K(0x215),i=K(0x1f1),j=K(0x225),k=K(0x201),l=K(0x204),m=b[K(0x218)]?'/imports/ui/'+b[K(0x218)]:'/imports/ui/pages/auth',n=this[K(0x22e)][K(0x21c)]({'pathParts':[m,b[K(0x21f)],paramCase(h),paramCase(h)]}),o=this[K(0x22e)]['pathFromApp']({'pathParts':[m,b[K(0x21f)],paramCase(i),paramCase(i)]}),p=this[K(0x22e)][K(0x21c)]({'pathParts':[m,b['dir'],paramCase(j),paramCase(j)]}),q=this[K(0x22e)]['pathFromApp']({'pathParts':[m,b[K(0x21f)],paramCase(k),paramCase(k)]}),r=this[K(0x22e)][K(0x21c)]({'pathParts':[m,b[K(0x21f)],paramCase(l),paramCase(l)]}),s={'name':headerCase(f[K(0x1ef)])[K(0x203)]('-','\x20')};await this[K(0x22e)][K(0x226)](f,async()=>{const L=K;await this[L(0x22e)]['template']({'srcPath':L(0x1f7)+h+L(0x211),'destPath':n+L(0x211),'framework':'react','context':s,'config':f,'force':c,'ignore':![]}),await this[L(0x22e)][L(0x1f3)]({'srcPath':L(0x217)+i+'.js','destPath':o+L(0x211),'framework':L(0x20c),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0x22e)][L(0x1f3)]({'srcPath':'kit/mui/auth/register/'+j+L(0x211),'destPath':p+L(0x211),'framework':L(0x20c),'context':s,'config':f,'force':c,'ignore':![]}),await this['fsi']['template']({'srcPath':'kit/mui/auth/password-reset/'+k+L(0x211),'destPath':q+L(0x211),'framework':L(0x20c),'context':s,'config':f,'force':c,'ignore':![]}),await this['fsi'][L(0x1f3)]({'srcPath':'kit/mui/auth/forgot-password/'+l+'.js','destPath':r+L(0x211),'framework':L(0x20c),'context':s,'config':f,'force':c,'ignore':![]});});const t=''+m+b[K(0x21f)]+'/'+h+'/'+h;await this[K(0x22e)][K(0x213)](h,f,t);const u=''+m+b['dir']+'/'+i+'/'+i;await this['fsi'][K(0x213)](i,f,u);const v=''+m+b[K(0x21f)]+'/'+j+'/'+j;await this[K(0x22e)]['injectTemplateModule'](j,f,v);const w=''+m+b[K(0x21f)]+'/'+k+'/'+k;await this[K(0x22e)]['injectTemplateModule'](k,f,w);const x=''+m+b[K(0x21f)]+'/'+l+'/'+l;await this[K(0x22e)][K(0x213)](l,f,x),await a128e[K(0x1f4)](K(0x1fd),[K(0x215)],{'route':K(0x216),'cwd':d,'config':f}),await a128e[K(0x1f4)](K(0x1fd),[K(0x1f1)],{'route':K(0x212),'private':!![],'cwd':d,'config':f}),await a128e[K(0x1f4)](K(0x1fd),['basic-register-page'],{'route':K(0x220),'cwd':d,'config':f}),await a128e[K(0x1f4)](K(0x1fd),['basic-password-reset-page'],{'route':K(0x1ff),'cwd':d,'config':f}),await a128e[K(0x1f4)](K(0x1fd),[K(0x204)],{'route':K(0x1f5),'cwd':d,'config':f});g===K(0x20f)&&await a128e['processAndRunGenerator'](K(0x219),[],{'force':c,'cwd':d,'config':f});g===K(0x22c)&&await a128e['processAndRunGenerator'](K(0x1eb),[],{'force':c,'cwd':d,'config':f});const y=f['engines'][K(0x1fe)]===K(0x22b),z=f[K(0x20b)]['js'],A=this['fsi'][K(0x21c)]({'pathParts':t[K(0x223)]('/')});await this[K(0x22e)][K(0x20a)]({'filePath':A+'.'+z,'importName':K(0x1f6),'modulePath':y?K(0x1f9):K(0x202),'isNamedExport':!![]});const B=this['fsi']['pathFromApp']({'pathParts':u[K(0x223)]('/')});await this[K(0x22e)][K(0x20a)]({'filePath':B+'.'+z,'importName':K(0x1f6),'modulePath':y?K(0x1f9):'/imports/startup/client/authentication-provider','isNamedExport':!![]});const C=this[K(0x22e)][K(0x21c)]({'pathParts':v[K(0x223)]('/')});await this[K(0x22e)][K(0x20a)]({'filePath':C+'.'+z,'importName':K(0x1f6),'modulePath':y?K(0x1f9):K(0x202),'isNamedExport':!![]});const D=this['fsi'][K(0x21c)]({'pathParts':w[K(0x223)]('/')});await this[K(0x22e)][K(0x20a)]({'filePath':D+'.'+z,'importName':'AuthContext','modulePath':y?'/imports/startup/lib/authentication-provider':K(0x202),'isNamedExport':!![]});const E=this[K(0x22e)][K(0x21c)]({'pathParts':x[K(0x223)]('/')});await this[K(0x22e)][K(0x20a)]({'filePath':E+'.'+z,'importName':K(0x1f6),'modulePath':y?'/imports/startup/lib/authentication-provider':'/imports/startup/client/authentication-provider','isNamedExport':!![]});}catch(F){Log[K(0x22d)](F);}},async function(){const M=a128J;console[M(0x229)](M(0x21d));},a128f);function a128c(){const N=['reset-password/:token','396643rnZFfv','basic-password-reset-page','/imports/startup/client/authentication-provider','replaceAll','basic-forgot-password-page','MATERIAL','toString','auth','force','REACT','injectImport','engines','react','authType','create','meteor','getMakaProjectConfig','.js','logout','injectTemplateModule','371IPfpED','basic-login-page','login','kit/mui/auth/logout/','baseDir','kit:auth:meteor','findProjectDirectory','10zTEpkY','pathFromApp','Cleaning\x20up...','2gObhGx','dir','register','460715lBJurN','layouts','split','1790442bHkTod','basic-register-page','withValue','options','Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','log','Meteor\x20Accounts','true','custom','error','fsi','792066ptBnTW','maka\x20generate:kit:mui:frame','(((.+)+)+)+$','62296RVwOJr','kit:auth:provider','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','13555993zIYecf','appName','search','basic-logout-page','4QeTjiD','template','processAndRunGenerator','forgot-password','AuthContext','kit/mui/auth/login/','maka\x20g:k:m:f','/imports/startup/lib/authentication-provider','apply','477414cNqRNf','Custom\x20(roll\x20your\x20own)','route','ssr'];a128c=function(){return N;};return a128c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a129E=a129d;(function(a,b){const B=a129d,c=a();while(!![]){try{const d=-parseInt(B(0x196))/0x1*(parseInt(B(0x1b1))/0x2)+-parseInt(B(0x1a2))/0x3*(parseInt(B(0x1d4))/0x4)+parseInt(B(0x1b6))/0x5*(-parseInt(B(0x1be))/0x6)+parseInt(B(0x1a0))/0x7*(parseInt(B(0x1ca))/0x8)+-parseInt(B(0x1b9))/0x9+-parseInt(B(0x197))/0xa+parseInt(B(0x1bb))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0xb44e1));function a129d(a,b){const c=a129c();return a129d=function(d,e){d=d-0x18f;let f=c[d];return f;},a129d(a,b);}const a129b=(function(){let a=!![];return function(b,c){const d=a?function(){const C=a129d;if(c){const e=c[C(0x1d2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){const D=a129d;return a129a[D(0x1d5)]()[D(0x1c6)](D(0x1a5))[D(0x1d5)]()['constructor'](a129a)[D(0x1c6)]('(((.+)+)+)+$');});function a129c(){const I=['react','template','maka\x20generate:kit:mui:frame','injectAroundString','checkbox','session','imports','fsi','/imports/startup/lib/templates','app-tests','11982IotCUc','Cleaning\x20up...','</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','replaceAll','injectTemplateModule','2197655BoaHqS','tests','<div\x20id=\x22','7884477VzNSSd','pathFromApp','34456642hKjSdh','.js','getMakaProjectConfig','12jsQufo','Box','</div>','layouts','ssr','REACT','basic-app-bar','checkMeteorPackage','search','injectImport','No\x20layouts\x20selected','findAppDirectory','8PjPaiJ','join','Container','error','jsx','@mui/material/Box','<Outlet/>','-hook\x22>','apply','/imports/startup/client/templates','8QMFvGn','toString','basic-sticky-footer','create','/imports/ui/components','@mui/material/Container','maka:react-tracker','baseDir','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20frame\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','23hMwDsP','13418830DTeFbR','/imports/ui/','injectIntoFile','dir','options','kit/mui/frame/app-bars/','test','\x20/>\x0a','log','9448460AHmqRO','appName','763323STpYaR','engines','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f}','(((.+)+)+)+$','Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout'];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';import{paramCase,pascalCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a129E(0x190)]({'name':'frame','aliases':['f'],'usage':a129E(0x1a4),'shortDesc':a129E(0x1a6),'validOpts':[a129E(0x1c1),'baseDir','dir','force'],'isPro':![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines['MATERIAL'],'client':ClientEngines[a129E(0x1c3)]},'examples':[a129E(0x1a9),'maka\x20g:k:m:f'],'description':a129E(0x195)},async function(a,b){const F=a129E;try{const c=b['force']||![],d=F(0x1c4),f='basic-drawer',g=F(0x18f),h=this[F(0x1ae)][F(0x1bd)](),i=h[F(0x1a3)][F(0x1c2)]==='true';await this['fsi'][F(0x1c5)]([F(0x1ac),F(0x193)],{'shouldInstall':!![]});const j=this['fsi'][F(0x1c9)](),k=a129e[F(0x1cb)](j,F(0x1ad),'ui',F(0x1c1)),l=this['fsi']['getDirectories'](k),m=await Actions[F(0x19b)]({'type':F(0x1ab),'name':F(0x1c1),'message':'Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','choices':l});if(m[F(0x1c1)]['length']===0x0){Log[F(0x1cd)](F(0x1c8));return;}const n=b[F(0x194)]?F(0x198)+b['baseDir']:F(0x191),o=this[F(0x1ae)][F(0x1ba)]({'pathParts':[n,b[F(0x19a)],paramCase(d),paramCase(d)]}),p=this['fsi'][F(0x1ba)]({'pathParts':[n,b['dir'],paramCase(f),paramCase(f)]}),q=this[F(0x1ae)][F(0x1ba)]({'pathParts':[n,b[F(0x19a)],paramCase(g),paramCase(g)]}),r={'name':headerCase(h[F(0x1a1)])[F(0x1b4)]('-','\x20')};await this['fsi']['withValue'](h,async()=>{const G=F;await this['fsi'][G(0x1a8)]({'srcPath':G(0x19c)+d+G(0x1bc),'destPath':o+G(0x1bc),'framework':G(0x1a7),'context':r,'config':h,'force':c,'ignore':![]}),await this['fsi'][G(0x1a8)]({'srcPath':'kit/mui/frame/drawers/'+f+G(0x1bc),'destPath':p+G(0x1bc),'framework':G(0x1a7),'context':r,'config':h,'force':c,'ignore':![]}),await this['fsi'][G(0x1a8)]({'srcPath':'kit/mui/frame/footers/'+g+'.js','destPath':q+G(0x1bc),'framework':G(0x1a7),'context':r,'config':h,'force':c,'ignore':![]});});const s=''+n+b[F(0x19a)]+'/'+d+'/'+d;await this[F(0x1ae)][F(0x1b5)](d,h,s);const t=''+n+b[F(0x19a)]+'/'+f+'/'+f;await this[F(0x1ae)]['injectTemplateModule'](f,h,t);const u=''+n+b[F(0x19a)]+'/'+g+'/'+g;await this[F(0x1ae)]['injectTemplateModule'](g,h,u);const {layouts:v}=m;for(const w of v){const x=this['fsi']['getFiles'](a129e['join'](k,w),{'extensions':[F(0x1ce),'tsx'],'omit':[F(0x1b0),F(0x1b7),F(0x19d)]});for(const y of x){const z=a129e['join'](k,w,y);await this[F(0x1ae)][F(0x1c7)]({'filePath':z,'importName':F(0x1bf),'modulePath':F(0x1cf),'isNamedExport':![]}),await this[F(0x1ae)][F(0x1c7)]({'filePath':z,'importName':F(0x1cc),'modulePath':F(0x192),'isNamedExport':![]}),await this[F(0x1ae)][F(0x1c7)]({'filePath':z,'importName':pascalCase(d),'modulePath':i?F(0x1af):F(0x1d3),'isNamedExport':!![]}),await this['fsi'][F(0x199)]({'filePath':z,'content':'<'+pascalCase(d)+F(0x19e),'begin':[F(0x1b8)+w+'\x22>',F(0x1b8)+w+F(0x1d1)],'end':[F(0x1d0)]}),await this[F(0x1ae)]['injectImport']({'filePath':z,'importName':pascalCase(f),'modulePath':i?'/imports/startup/lib/templates':F(0x1d3),'isNamedExport':!![]}),await this['fsi'][F(0x199)]({'filePath':z,'content':'<'+pascalCase(f)+F(0x19e),'begin':['<div\x20id=\x22'+w+'\x22>',F(0x1b8)+w+F(0x1d1)],'end':['<Outlet/>']}),await this[F(0x1ae)][F(0x199)]({'filePath':z,'content':'<'+pascalCase(g)+F(0x19e),'begin':[F(0x1d0)],'end':[F(0x1c0)]}),await this['fsi'][F(0x1c7)]({'filePath':z,'importName':pascalCase(g),'modulePath':i?F(0x1af):F(0x1d3),'isNamedExport':!![]}),await this[F(0x1ae)][F(0x1aa)]({'filePath':z,'aboveContent':'<Box\x20style={{\x20display:\x20\x27flex\x27,\x20flexDirection:\x20\x27column\x27,\x20minHeight:\x20\x27calc(100vh\x20-\x20157px)\x27\x20}}>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<Container\x20component=\x22main\x22>','belowContent':F(0x1b3),'targetString':[F(0x1d0)],'targetIndentAdjustment':0x6});}}return!![];}catch(A){Log[F(0x1cd)](A);}},async function(){const H=a129E;console[H(0x19f)](H(0x1b2));},a129f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a130j=a130d;(function(a,b){const g=a130d,c=a();while(!![]){try{const d
|
|
1
|
+
const a130j=a130d;(function(a,b){const g=a130d,c=a();while(!![]){try{const d=parseInt(g(0xb1))/0x1*(parseInt(g(0x8f))/0x2)+parseInt(g(0xaa))/0x3*(parseInt(g(0xb4))/0x4)+-parseInt(g(0xab))/0x5*(-parseInt(g(0xb0))/0x6)+-parseInt(g(0xae))/0x7*(parseInt(g(0x9e))/0x8)+-parseInt(g(0xb3))/0x9*(parseInt(g(0xa4))/0xa)+parseInt(g(0x9f))/0xb+-parseInt(g(0xad))/0xc*(parseInt(g(0x97))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0xda088));function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0x8f;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(0xb6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const i=a130d;return a130a[i(0xaf)]()[i(0xa8)](i(0x91))[i(0xaf)]()[i(0xb2)](a130a)[i(0xa8)]('(((.+)+)+)+$');});a130a();import{Generator}from'../../../generator.js';import{Actions}from'../../../tools/actions/actions.class.js';function a130c(){const l=['info','39SHfNif','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','checkbox','maka\x20g:kit:m','includes','auth','Auth\x20workflow\x20(login,\x20logout,\x20etc.)','8LLdMJA','16478594tSBDJc','fsi','\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','processAndRunGenerator','kit:mui:frame','10EJaAdC','mui','kit:mui:auth','frame','search','notice','33QIhDmS','9820NKbEiu','getMakaProjectConfig','2846424QlSXvR','484953TGZMTK','toString','3138YUIHZI','157pWOTlz','constructor','13551723IjeOFK','83444LjJTCv','Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!','apply','5414rLpFDJ','create','(((.+)+)+)+$','Material-UI\x20Kit','options','length','No\x20MUI\x20kits\x20selected.\x20Exiting.'];a130c=function(){return l;};return a130c();}import{Log}from'../../../tools/log/log.class.js';import a130e from'../../../generators/maka.gen.js';import a130f from'../kit.js';const MuiGen=Generator[a130j(0x90)]({'name':a130j(0xa5),'aliases':['m'],'usage':a130j(0x98),'noNeedResource':!![],'shortDesc':a130j(0x92),'validOpts':[''],'isPro':!![],'examples':[a130j(0x9a)]},async function(){const k=a130j;Log[k(0x96)](k(0xb5)),Log[k(0xa9)](k(0xa1));const {kitChoices:a}=await Actions[k(0x93)]({'type':k(0x99),'name':'kitChoices','message':'Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','choices':[{'name':'Header,\x20Footer,\x20and\x20Drawer','value':k(0xa7)},{'name':k(0x9d),'value':k(0x9c)}]}),b=this[k(0xa0)]['findProjectDirectory'](),c=this['fsi'][k(0xac)]();a['includes'](k(0xa7))&&await a130e[k(0xa2)](k(0xa3),[],{'force':!![],'cwd':b,'config':c});a[k(0x9b)](k(0x9c))&&await a130e['processAndRunGenerator'](k(0xa6),[],{'force':!![],'cwd':b,'config':c});if(a[k(0x94)]===0x0){Log[k(0x96)](k(0x95));return;}},async function(){},a130f);export default MuiGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a131n=a131d;(function(a,b){const l=a131d,c=a();while(!![]){try{const d=-parseInt(l(0x14e))/0x1+parseInt(l(0x173))/0x2+parseInt(l(0x139))/0x3*(-parseInt(l(0x141))/0x4)+-parseInt(l(0x151))/0x5*(-parseInt(l(0x161))/0x6)+parseInt(l(0x158))/0x7+-parseInt(l(0x13a))/0x8*(-parseInt(l(0x13f))/0x9)+-parseInt(l(0x159))/0xa*(parseInt(l(0x162))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0x4e234));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['toString']()[m(0x15b)](m(0x144))['toString']()[m(0x165)](a131a)[m(0x15b)]('(((.+)+)+)+$');});function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0x139;let f=c[d];return f;},a131d(a,b);}a131a();import a131e from'path';function a131c(){const q=['hook/hook.js','(((.+)+)+)+$','resourceName','injectTemplateModule','pathFromApp','includes','Scaffolding\x20for\x20a\x20React\x20Layout.','css','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','maka\x20g:l\x20web/safari','533930qRJmaw','.css','getMakaProjectConfig','835680magSXw','true','installNpmPackage','test','component/component.js','template/template.css','react','3532970FMgznC','420aqJmRr','fileName','search','fsi','maka\x20g:layout\x20mobile/iPhone8','engines','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','template','12OviMpH','121682RtHEAs','split','setTemplate','constructor','checkNpmPackage','relative','ramda','withTranslations','assign','string','withHooks','ssr','withHook','import\x20\x27./','features','.js','findAppDirectory','1018422XlkUJx','246984GDitrI','56rRQnOp','client','api','warn','dir','385335ymvSbb','/imports/ui/layouts','16VQRTMQ','.app-tests.js'];a131c=function(){return q;};return a131c();}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['l'];Generator['create']({'name':'layout','aliases':aliases,'usage':a131n(0x14c),'shortDesc':a131n(0x149),'validOpts':[a131n(0x16e)],'examples':[a131n(0x15d),a131n(0x14d)]},async function(a,b){const o=a131n,c=o(0x140),d=this[o(0x15c)][o(0x172)](),e=this[o(0x15c)][o(0x147)]({'pathParts':[c,b[o(0x13e)],paramCase(b[o(0x145)]),paramCase(b[o(0x145)])]}),f=this[o(0x15c)][o(0x150)]();await this[o(0x15c)]['withValue'](f,async()=>{const p=o;typeof f[p(0x160)][p(0x154)]==='string'&&(f[p(0x160)][p(0x154)]=f[p(0x160)]['test']===p(0x152)?!![]:![],this['fsi'][p(0x164)]('test',f[p(0x160)][p(0x154)]));typeof f[p(0x160)][p(0x14a)]==='string'&&(f[p(0x160)]['css']=f['template'][p(0x14a)]===p(0x152)?!![]:![],this['fsi'][p(0x164)](p(0x14a),f[p(0x160)][p(0x14a)]));typeof f[p(0x160)]['js']===p(0x16b)&&(f[p(0x160)]['js']=f['template']['js']===p(0x152)?!![]:![],this[p(0x15c)][p(0x164)]('js',f[p(0x160)]['js']));!f[p(0x170)]&&(f['features']={});const g=b['_']?b['_'][0x0][p(0x163)](':')[0x1]:![],h=b['_']&&aliases[p(0x148)](g);h&&!this[p(0x166)](p(0x168))&&(Log[p(0x13d)](p(0x14b)),this[p(0x15c)][p(0x153)](p(0x168),{'cwd':d}));if(h&&!this[p(0x166)]('react')){Log[p(0x13d)](p(0x15f));return;}const i={'name':pascalCase(b[p(0x145)]),'myPath':a131e[p(0x167)](this['fsi']['pathFromProject']({}),e),'cssCaseName':paramCase(b[p(0x145)]),'className':pascalCase(b['resourceName']),'camelCaseName':camelCase(b[p(0x145)]),'fileName':paramCase(b['resourceName']),'graphql':f[p(0x15e)]['graphql'],'features':f[p(0x170)],'client':f['engines'][p(0x13b)],'api':f[p(0x15e)][p(0x13c)],'ssr':f[p(0x15e)][p(0x16d)],'test':f[p(0x15e)][p(0x154)],'theme':f[p(0x15e)]['theme'],'isComponent':![],'isLayout':!![],'withTranslations':f['features'][p(0x169)]};f[p(0x170)]?.[p(0x16c)]||b['withHook']?await this[p(0x15c)][p(0x160)]({'srcPath':p(0x143),'destPath':e+p(0x171),'framework':p(0x157),'context':i,'config':f}):await this[p(0x15c)][p(0x160)]({'srcPath':p(0x155),'destPath':e+'.js','framework':'react','context':i,'config':f});f[p(0x15e)]['test']!=='none'&&await this['fsi'][p(0x160)]({'srcPath':'test/test.js','destPath':e+p(0x142),'framework':p(0x157),'context':i,'config':f});f[p(0x160)][p(0x14a)]&&(await this[p(0x15c)][p(0x160)]({'srcPath':p(0x156),'destPath':e+p(0x14f),'context':Object[p(0x16a)]({},i,{'className':paramCase(b[p(0x145)])}),'config':f}),await this['fsi']['injectAtBeginningOfFile']({'filePath':e+'.'+f[p(0x15e)]['js'],'content':p(0x16f)+i[p(0x15a)]+'.'+f[p(0x15e)][p(0x14a)]+'\x27;'}));const j=b[p(0x13e)]?'/'+b['dir']+'/':'/',k=''+c+j+i[p(0x15a)]+'/'+i[p(0x15a)];await this[p(0x15c)][p(0x146)](i['className'],f,k);});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a132d(a,b){const c=a132c();return a132d=function(d,e){d=d-0x67;let f=c[d];return f;},a132d(a,b);}const a132h=a132d;(function(a,b){const f=a132d,c=a();while(!![]){try{const d=-parseInt(f(0x67))/0x1+-parseInt(f(0x75))/0x2*(-parseInt(f(0x6c))/0x3)+parseInt(f(0x74))/0x4*(parseInt(f(0x77))/0x5)+-parseInt(f(0x79))/0x6+parseInt(f(0x76))/0x7+parseInt(f(0x6d))/0x8+parseInt(f(0x6a))/0x9*(-parseInt(f(0x69))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a132c,0xe0d66));const a132b=(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;};}()),a132a=a132b(this,function(){const g=a132d;return a132a['toString']()[g(0x71)](g(0x6e))['toString']()[g(0x78)](a132a)[g(0x71)]('(((.+)+)+)+$');});function a132c(){const i=['maka\x20g:template\x20todos/todo_item','288lZnsQw','12083184DnqqIT','(((.+)+)+)+$','maka\x20g:package\x20package:name','maka\x20g:api\x20trucks','search','Scaffold\x20various\x20parts\x20of\x20your\x20application','generate','2252DaYyYU','7678AAxfWa','11568788naUZpW','6395NllLYM','constructor','7726536hmMaUy','168114lREgIA','maka\x20{generate,\x20g}:<generator>\x20<name>','130fHUFUL','1298007DlhklP'];a132c=function(){return i;};return a132c();}a132a();import{Generator}from'../generator.js';const MakaGen=new Generator({'name':a132h(0x73),'aliases':['g'],'usage':a132h(0x68),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':a132h(0x72),'examples':['maka\x20generate:scaffold\x20todos','maka\x20g:scaffold\x20todos',a132h(0x6b),a132h(0x6f),'maka\x20g:route\x20todos/edit',a132h(0x70),'maka\x20g:dbc\x20geoserver\x20--type=pgsql']},function(){});export default MakaGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a133m=a133d;(function(a,b){const j=a133d,c=a();while(!![]){try{const d=-parseInt(j(
|
|
1
|
+
const a133m=a133d;(function(a,b){const j=a133d,c=a();while(!![]){try{const d=-parseInt(j(0xd5))/0x1+parseInt(j(0xe7))/0x2*(-parseInt(j(0xdf))/0x3)+parseInt(j(0xe3))/0x4*(parseInt(j(0xde))/0x5)+-parseInt(j(0xe4))/0x6+parseInt(j(0xe9))/0x7*(parseInt(j(0xf7))/0x8)+parseInt(j(0xd0))/0x9*(parseInt(j(0xd1))/0xa)+-parseInt(j(0xd7))/0xb*(-parseInt(j(0xec))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a133c,0xae306));function a133d(a,b){const c=a133c();return a133d=function(d,e){d=d-0xce;let f=c[d];return f;},a133d(a,b);}const a133b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a133d;if(c){const e=c[k(0xda)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a133a=a133b(this,function(){const l=a133d;return a133a[l(0xf0)]()[l(0xef)](l(0xf2))['toString']()[l(0xe5)](a133a)[l(0xef)]('(((.+)+)+)+$');});a133a();function a133c(){const p=['apply','error','import\x20\x27./methods','maka:check','5qFUFcp','1203EsRAJl','methods','imports','checkMeteorPackage','3227012oQtGfa','5552880ncVYZQ','constructor','startup','4612nAPEKr','getMakaProjectConfig','2051rKfnge','method/method.js','index.','12dObxGH','mdg:validated-method','engines','search','toString','pathFromApp','(((.+)+)+)+$','create','method','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','fsi','30984UyckiV','template','maka\x20g:method\x20todos','1143YGtVoq','91430PpkvCb','tsx','ddp-rate-limiter','-rpc-method\x27;','1193085bogjKy','resourceName','7194506gqBPOq','dir','appPathPrefix'];a133c=function(){return p;};return a133c();}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a133m(0xf3)]({'name':a133m(0xf4),'aliases':['m'],'usage':'maka\x20{generate,\x20g}:{method,\x20m}\x20name','checkWhere':!![],'shortDesc':a133m(0xf5),'validOpts':[a133m(0xd8)],'examples':[a133m(0xcf)]},async function(a,b){const n=a133m;try{const c=this[n(0xf6)][n(0xe8)]();await this[n(0xf6)]['withValue'](c,async()=>{const o=n,d=paramCase(b[o(0xd6)]),f={'name':b['resourceName'],'fileName':d,'className':pascalCase(b[o(0xd6)]),'camelCase':camelCase(b[o(0xd6)]),'noRename':!![]};let g='js';c[o(0xee)]['js']===o(0xd2)&&(g='ts');await this[o(0xf6)][o(0xe2)]([o(0xdd),o(0xd3),o(0xed)],{'shouldInstall':!![]}),await this['fsi'][o(0xce)]({'srcPath':o(0xea),'destPath':this[o(0xf6)]['pathFromApp']({'pathParts':[o(0xe1),'startup',b[o(0xd9)],o(0xe0),b[o(0xd8)],d+'-rpc-method.'+g]}),'context':f,'config':c});const h=b[o(0xd8)]?'/'+b[o(0xd8)]+'/':'/',i=this[o(0xf6)][o(0xf1)]({'pathParts':[o(0xe1),o(0xe6),b['appPathPrefix'],o(0xeb)+c[o(0xee)]['js']]});await this[o(0xf6)]['injectAtEndOfFile']({'filePath':i,'content':o(0xdc)+h+d+o(0xd4)});});}catch(d){Log[n(0xdb)](d);}});
|