@maka/maka-cli 5.0.0-beta.2 → 5.0.0-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundle/obf/package.json +1 -1
- package/bundle/obf/src/command.js +1 -1
- package/bundle/obf/src/commands/_index.js +1 -1
- package/bundle/obf/src/commands/ai.js +1 -1
- package/bundle/obf/src/commands/aws/_index.js +1 -1
- package/bundle/obf/src/commands/aws/aws.command.js +1 -1
- package/bundle/obf/src/commands/aws/cecr.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/decr.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/lecr.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/build/_index.js +1 -1
- package/bundle/obf/src/commands/build/build.js +1 -1
- package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/create.js +1 -1
- package/bundle/obf/src/commands/debug.js +1 -1
- package/bundle/obf/src/commands/deploy/_index.js +1 -1
- package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
- package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/_index.js +1 -1
- package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/play.command.js +1 -1
- package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/generate.js +1 -1
- package/bundle/obf/src/commands/get/_index.js +1 -1
- package/bundle/obf/src/commands/get/get.command.js +1 -1
- package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/help.js +1 -1
- package/bundle/obf/src/commands/install.js +1 -1
- package/bundle/obf/src/commands/jsdoc.js +1 -1
- package/bundle/obf/src/commands/lint.js +1 -1
- package/bundle/obf/src/commands/login.js +1 -1
- package/bundle/obf/src/commands/logout.js +1 -1
- package/bundle/obf/src/commands/logs.js +1 -1
- package/bundle/obf/src/commands/maka.cmd.js +1 -1
- package/bundle/obf/src/commands/murder.js +1 -1
- package/bundle/obf/src/commands/patreon.js +1 -1
- package/bundle/obf/src/commands/profile.js +1 -1
- package/bundle/obf/src/commands/proxy.js +1 -1
- package/bundle/obf/src/commands/reconfig.js +1 -1
- package/bundle/obf/src/commands/register.js +1 -1
- package/bundle/obf/src/commands/run/_index.js +1 -1
- package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/run/run.command.js +1 -1
- package/bundle/obf/src/commands/set/_index.js +1 -1
- package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/set/set.command.js +1 -1
- package/bundle/obf/src/commands/ssh.js +1 -1
- package/bundle/obf/src/commands/ssl.js +1 -1
- package/bundle/obf/src/commands/test.js +1 -1
- package/bundle/obf/src/commands/undo.js +1 -1
- package/bundle/obf/src/commands/version.js +1 -1
- package/bundle/obf/src/error.js +1 -1
- package/bundle/obf/src/exec.js +1 -1
- package/bundle/obf/src/generator.js +1 -1
- package/bundle/obf/src/generators/_index.js +1 -1
- package/bundle/obf/src/generators/api.js +1 -1
- package/bundle/obf/src/generators/aws/_index.js +1 -1
- package/bundle/obf/src/generators/aws/aws.js +1 -1
- package/bundle/obf/src/generators/aws/cloudformation/_index.js +1 -1
- package/bundle/obf/src/generators/aws/cloudformation/cloudformation.js +1 -1
- package/bundle/obf/src/generators/aws/cloudformation/create-ec2-instance.cf.gen.js +1 -1
- package/bundle/obf/src/generators/collection.js +1 -1
- package/bundle/obf/src/generators/component.js +1 -1
- package/bundle/obf/src/generators/config.js +1 -1
- package/bundle/obf/src/generators/dbc.js +1 -1
- package/bundle/obf/src/generators/dockerfile.js +1 -1
- package/bundle/obf/src/generators/hook.js +1 -1
- package/bundle/obf/src/generators/kits/_index.js +1 -1
- package/bundle/obf/src/generators/kits/auth/_index.js +1 -1
- package/bundle/obf/src/generators/kits/auth/auth.generator.js +1 -1
- package/bundle/obf/src/generators/kits/auth/basic-meteor.auth.gen.js +1 -1
- package/bundle/obf/src/generators/kits/auth/provider.auth.gen.js +1 -1
- package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
- package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
- package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
- package/bundle/obf/src/generators/kits/kit.js +1 -1
- package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
- package/bundle/obf/src/generators/kits/mui/auth.mui.gen.js +1 -1
- package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
- package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
- package/bundle/obf/src/generators/layout.js +1 -1
- package/bundle/obf/src/generators/maka.gen.js +1 -1
- package/bundle/obf/src/generators/methods.js +1 -1
- package/bundle/obf/src/generators/package.js +1 -1
- package/bundle/obf/src/generators/page.js +1 -1
- package/bundle/obf/src/generators/publish.js +1 -1
- package/bundle/obf/src/generators/route.js +1 -1
- package/bundle/obf/src/generators/service.js +1 -1
- package/bundle/obf/src/generators/services/_index.js +1 -1
- package/bundle/obf/src/generators/services/openssl.js +1 -1
- package/bundle/obf/src/generators/services/translation.js +1 -1
- package/bundle/obf/src/maka.js +1 -1
- package/bundle/obf/src/templates/meteor/app/imports/startup/client/index.js.jsx +2 -3
- package/bundle/obf/src/templates/meteor/app/imports/startup/client/index.js.tsx +2 -3
- package/bundle/obf/src/tool.js +1 -1
- package/bundle/obf/src/tools/actions/actions.class.js +1 -1
- package/bundle/obf/src/tools/aws/aws.class.js +1 -1
- package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
- package/bundle/obf/src/tools/docker/docker.class.js +1 -1
- package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
- package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
- package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
- package/bundle/obf/src/tools/https/https.class.js +1 -1
- package/bundle/obf/src/tools/https/https.interface.js +1 -1
- package/bundle/obf/src/tools/log/log.class.js +1 -1
- package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
- package/bundle/obf/src/tools/options/options.class.js +1 -1
- package/bundle/obf/src/tools/progress/progress.class.js +1 -1
- package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
- package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
- package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
- package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
- package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a116d(a,b){const c=a116c();return a116d=function(d,e){d=d-0xfc;let f=c[d];return f;},a116d(a,b);}const a116k=a116d;(function(a,b){const h=a116d,c=a();while(!![]){try{const d=-parseInt(h(0x110))/0x1*(parseInt(h(0x10f))/0x2)+parseInt(h(0x113))/0x3*(-parseInt(h(0x101))/0x4)+parseInt(h(0x117))/0x5+-parseInt(h(0x109))/0x6*(parseInt(h(0x102))/0x7)+parseInt(h(0x115))/0x8*(-parseInt(h(0x100))/0x9)+parseInt(h(0x107))/0xa+-parseInt(h(0x103))/0xb*(-parseInt(h(0x10e))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a116c,0x22f7c));function a116c(){const n=['search','646010UAFZPr','join','Generate\x20an\x20updated\x20dockerfile','fsi','error','create','force','getGlobalConfig','build','app.tar.gz','isFile','7758mXmsba','11568vccZtf','1412523AGGLHu','21846JxgzMO','appName','apply','docker/Dockerfile','1913090prXSYG','dockerfile','6HcJCgo','template','getMakaProjectConfig','app','toString','3012kBQxob','4qTTEaB','140056mkrcgY','findProjectDirectory','(((.+)+)+)+$','33niXjvC','service','1504XZsdeW'];a116c=function(){return n;};return a116c();}const a116b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a116d;if(c){const e=c[i(0x105)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a116a=a116b(this,function(){const j=a116d;return a116a[j(0x10d)]()[j(0x116)](j(0x112))['toString']()['constructor'](a116a)[j(0x116)]('(((.+)+)+)+$');});a116a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import a116e from'path';Generator[a116k(0x11c)]({'name':a116k(0x108),'usage':'maka\x20{generate,\x20g}:dockerfile','shortDesc':a116k(0x119),'validOpts':[{'name':a116k(0x11d),'boolFlag':!![]}],'noNeedResource':!![],'examples':['maka\x20g:dockerfile']},async function(a,b){const l=a116k;try{const c=await this[l(0x11a)][l(0x10b)](),d=await this[l(0x11a)][l(0xfc)](),f=this[l(0x11a)][l(0x111)]();await this[l(0x11a)]['withValue'](c,async()=>{const m=l,g={'app':d[m(0x104)],'config':c,'appPath':a116e[m(0x118)](f,m(0x10c)),'bundlePath':a116e[m(0x118)](f,m(0xfd),m(0xfe)),'useCert':this[m(0x11a)][m(0xff)](d['cert'])};await this['fsi'][m(0x10a)]({'srcPath':m(0x106),'destPath':a116e[m(0x118)](f,'Dockerfile'),'framework':m(0x114),'context':g,'config':c,'force':b[m(0x11d)]});});}catch(g){Log[l(0x11b)](g);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-
|
|
1
|
+
const a117o=a117d;function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0xb5;let f=c[d];return f;},a117d(a,b);}(function(a,b){const l=a117d,c=a();while(!![]){try{const d=-parseInt(l(0xb6))/0x1*(-parseInt(l(0xc3))/0x2)+-parseInt(l(0xb8))/0x3+-parseInt(l(0xe2))/0x4+parseInt(l(0xe0))/0x5*(-parseInt(l(0xc5))/0x6)+parseInt(l(0xec))/0x7*(parseInt(l(0xee))/0x8)+parseInt(l(0xf1))/0x9*(-parseInt(l(0xcc))/0xa)+parseInt(l(0xde))/0xb*(parseInt(l(0xf7))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0x3bdda));const a117b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a117d;if(c){const e=c[m(0xe8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){const n=a117d;return a117a[n(0xdd)]()['search'](n(0xeb))[n(0xdd)]()[n(0xd1)](a117a)[n(0xdf)]('(((.+)+)+)+$');});function a117c(){const r=['search','8565iFCtPE','css','689148QPjWpZ','features','findAppDirectory','react','hooks','cssCaseName','apply','fsi','test','(((.+)+)+)+$','147dkAyLK','checkNpmPackage','168488zWTJPZ','resourceName','apollo','477YrBTNH','layouts','template','pathFromApp','maka\x20g:hook\x20cool-hook','error','4439100ztUjMT','getMakaProjectConfig','baseDir','3mOGRzb','none','1396146UWrToj','withValue','notice','test/test.js','withTranslations','Creating\x20','Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','setTemplate','className','\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','.js','174814ZmoALQ','force','582jsuzeH','maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','/imports/ui/','pathFromProject','@apollo/client','.css','injectTemplateModule','4790HVaGKE','string','template/template.css','dir','warn','constructor','theme','pages','@apollo/client\x20isomorphic-fetch','true','components','installNpmPackage','graphql','hook/hook.js','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','engines','fileName','toString','11FclaUb'];a117c=function(){return r;};return a117c();}a117a();import a117e from'path';import{paramCase,pascalCase,camelCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';Generator['create']({'name':'hook','aliases':['h'],'checkWhere':![],'usage':a117o(0xc6),'shortDesc':a117o(0xbe),'validOpts':[{'name':a117o(0xb5),'values':[a117o(0xe6),a117o(0xd6),a117o(0xd3),a117o(0xf2)]},{'name':'force','boolFlag':!![]}],'examples':[a117o(0xf5)],'description':a117o(0xc1)},async function(a,b){const p=a117o;Log[p(0xba)](p(0xbd)+b[p(0xef)]+'\x20hook...');try{const c=this[p(0xe9)][p(0xed)]('react');if(!c){Log['error'](p(0xda));throw new UsageError();}const d=this[p(0xe9)][p(0xe4)](),f=b['baseDir']?p(0xc7)+b['baseDir']:'/imports/ui/components',g=this['fsi'][p(0xf4)]({'pathParts':[f,b[p(0xcf)],paramCase(b[p(0xef)]),paramCase(b['resourceName'])]}),h=await this['fsi'][p(0xf8)]();await this[p(0xe9)][p(0xb9)](h,async()=>{const q=p;typeof h['template'][q(0xe1)]===q(0xcd)&&(h['template'][q(0xe1)]=h[q(0xf3)][q(0xe1)]===q(0xd5)?!![]:![],this[q(0xe9)][q(0xbf)](q(0xe1),h[q(0xf3)][q(0xe1)]));h[q(0xdb)][q(0xd8)]===q(0xf0)&&!this[q(0xe9)]['checkNpmPackage'](q(0xc9))&&(Log[q(0xd0)]('Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...'),await this[q(0xe9)][q(0xd7)](q(0xd4),{'cwd':d}));const i={'cssCaseName':paramCase(b[q(0xef)]),'camelCaseName':camelCase(b['resourceName']),'className':pascalCase(b['resourceName']),'name':pascalCase(b['resourceName']),'graphql':h[q(0xdb)][q(0xd8)],'theme':h[q(0xdb)][q(0xd2)],'features':h[q(0xe3)],'myPath':a117e['relative'](this[q(0xe9)][q(0xc8)]({}),g),'fileName':paramCase(b[q(0xef)]),'isComponent':![],'isLayout':![],'withTranslations':h[q(0xe3)][q(0xbc)]};await this[q(0xe9)][q(0xf3)]({'srcPath':q(0xd9),'destPath':g+q(0xc2),'context':i,'config':h,'framework':q(0xe5),'force':b[q(0xc4)]});h['template']['css']&&(await this[q(0xe9)][q(0xf3)]({'srcPath':q(0xce),'destPath':g+q(0xca),'context':Object['assign']({},i,{'className':i[q(0xe7)]}),'config':h,'force':b[q(0xc4)]}),await this[q(0xe9)]['injectAtBeginningOfFile']({'filePath':g+'.'+h[q(0xdb)]['js'],'content':'import\x20\x27./'+i[q(0xdc)]+'.'+h['engines'][q(0xe1)]+'\x27;'}));h[q(0xdb)][q(0xea)]!==q(0xb7)&&await this['fsi']['template']({'srcPath':q(0xbb),'destPath':g+'.app-tests.js','framework':q(0xe5),'context':i,'config':h,'force':b[q(0xc4)]});const j=b['dir']?'/'+b[q(0xcf)]+'/':'/',k=''+f+j+i[q(0xdc)]+'/'+i[q(0xdc)];await this[q(0xe9)][q(0xcb)](i[q(0xc0)],h,k);});}catch(i){Log[p(0xf6)](i);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a118d,c=a();while(!![]){try{var d=parseInt(f(
|
|
1
|
+
(function(a,b){var f=a118d,c=a();while(!![]){try{var d=parseInt(f(0x169))/0x1+-parseInt(f(0x170))/0x2+parseInt(f(0x16c))/0x3+parseInt(f(0x167))/0x4+parseInt(f(0x16a))/0x5+-parseInt(f(0x168))/0x6+-parseInt(f(0x171))/0x7*(parseInt(f(0x16d))/0x8);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0xef395));var a118b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a118d;if(c){var e=c[g(0x16f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){var h=a118d;return a118a[h(0x16b)]()[h(0x172)](h(0x173))[h(0x16b)]()[h(0x16e)](a118a)[h(0x172)](h(0x173));});a118a();function a118c(){var i=['3641485HgXlUA','toString','1024779AHCqhr','488eAtuYq','constructor','apply','583630ogsRGC','42665sKFzLf','search','(((.+)+)+)+$','2991588PwyydX','9478368EHqTAv','1405412UyYMkW'];a118c=function(){return i;};return a118c();}import'./kit.js';function a118d(a,b){var c=a118c();return a118d=function(d,e){d=d-0x167;var f=c[d];return f;},a118d(a,b);}import'./mui/_index.js';import'./esri/_index.js';import'./auth/_index.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a119d,c=a();while(!![]){try{var d
|
|
1
|
+
function a119c(){var h=['3LFpJka','6277012anIxEw','611226vaqRkE','471822OhcYki','5uIIeJZ','constructor','4897160mKiBrK','6906YRVyvA','287kgjqlX','toString','25090180wPCEgL','539522lVqUbM','(((.+)+)+)+$','search'];a119c=function(){return h;};return a119c();}(function(a,b){var f=a119d,c=a();while(!![]){try{var d=parseInt(f(0xd3))/0x1+-parseInt(f(0xcd))/0x2*(-parseInt(f(0xd0))/0x3)+-parseInt(f(0xd1))/0x4*(parseInt(f(0xd4))/0x5)+parseInt(f(0xd7))/0x6*(-parseInt(f(0xd8))/0x7)+-parseInt(f(0xd6))/0x8+-parseInt(f(0xd2))/0x9+parseInt(f(0xda))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0xe8ef2));function a119d(a,b){var c=a119c();return a119d=function(d,e){d=d-0xcd;var f=c[d];return f;},a119d(a,b);}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(0xd9)]()[g(0xcf)](g(0xce))[g(0xd9)]()[g(0xd5)](a119a)[g(0xcf)](g(0xce));});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(0x77))/0x1+-parseInt(f(0x71))/0x2*(parseInt(f(0x6b))/0x3)+-parseInt(f(0x76))/0x4+-parseInt(f(0x74))/0x5+parseInt(f(0x75))/0x6*(-parseInt(f(0x7b))/0x7)+parseInt(f(0x6a))/0x8*(-parseInt(f(0x6c))/0x9)+parseInt(f(0x72))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0xb0a19));const a120b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a120d;if(c){const e=c[g(0x78)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){const h=a120d;return a120a[h(0x68)]()[h(0x6f)](h(0x79))[h(0x68)]()[h(0x70)](a120a)[h(0x6f)]('(((.+)+)+)+$');});a120a();function a120c(){const k=['constructor','773854Ittoih','31321530muvUux','create','3182580hIgwTN','6630OXyZQc','5265340KYplUy','730372sLZNtj','apply','(((.+)+)+)+$','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:<kit-name>','4088wkogZn','auth','toString','maka\x20g:kit:a','94736VtkQQS','3rCpGnC','117raDyMj','NIE','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x20\x20','search'];a120c=function(){return k;};return a120c();}import{Generator}from'../../../generator.js';import a120e from'../kit.js';function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0x67;let f=c[d];return f;},a120d(a,b);}const AuthGen=Generator[a120i(0x73)]({'name':a120i(0x67),'aliases':['a'],'usage':a120i(0x7a),'noNeedResource':!![],'shortDesc':'Starting\x20point\x20for\x20generating\x20an\x20Auth\x20Provider','validOpts':[''],'isPro':!![],'examples':[a120i(0x69)],'description':a120i(0x6e)},async function(){const j=a120i;throw j(0x6d);},async function(){},a120e);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-0x1a9;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(0x1c5))/0x1*(-parseInt(o(0x1bb))/0x2)+parseInt(o(0x1d2))/0x3*(parseInt(o(0x1d5))/0x4)+parseInt(o(0x1cc))/0x5*(-parseInt(o(0x1cf))/0x6)+-parseInt(o(0x1dd))/0x7+parseInt(o(0x1b8))/0x8*(parseInt(o(0x1e9))/0x9)+parseInt(o(0x1e4))/0xa+parseInt(o(0x1dc))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0xaab10));const a121b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a121d;if(c){const e=c[p(0x1ce)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){const q=a121d;return a121a[q(0x1e0)]()[q(0x1b5)](q(0x1da))['toString']()['constructor'](a121a)[q(0x1b5)](q(0x1da));});a121a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a121e from'./auth.generator.js';function a121c(){const u=['authentication-service','checkMeteorPackage','REACT','auth/roles','(((.+)+)+)+$','publish','1975908jpsGSk','5960815LQFehw','error','kit/auth/service/meteor-auth-service.js','toString','pathFromApp','const\x20registerNewUser','\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','11984650MHnzYF','return\x20\x5c(','AuthService','injectIntoFile','template','846BiUkDE','\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','engines','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','alanning:roles','meteor/accounts-base','exit','startup','\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','getMakaProjectConfig','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','injectImport','Meteor.publish','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','accounts-password','Meteor.startup','search','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','68032QNOFyS','.js','const\x20authenticateUser','880082GVRwrh','authentication-provider','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','create','findProjectDirectory','ssr','\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','meteor/maka:react-tracker','true','2LKPnLM','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','react','\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','fsi','force','useTracker','933490rNbgtS','injectIntoCodeBlock','apply','12xlyfBt','export\x20const\x20AuthProvider','const\x20sendForgotPasswordEmail','1998CYnbXC','server','Accounts','3764pnoVbR'];a121c=function(){return u;};return a121c();}import a121f from'../../../generators/maka.gen.js';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a121r(0x1be)]({'name':'meteor','aliases':['m'],'usage':a121r(0x1c6),'shortDesc':a121r(0x1ec),'validOpts':[a121r(0x1ca)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a121r(0x1d8)]},'description':a121r(0x1ea)},async function(a,b){const s=a121r;try{const c=b[s(0x1ca)]||![];await this[s(0x1c9)][s(0x1d7)]([s(0x1b3),s(0x1a9)],{'shouldInstall':!![]});const d=this['fsi'][s(0x1bf)](),f=this[s(0x1c9)][s(0x1ae)](),g=f[s(0x1eb)][s(0x1c0)]===s(0x1c4);await a121f['processAndRunGenerator']('kit:auth:provider',[],{'force':c,'cwd':d,'config':f});const h=await a121f['processAndRunGenerator'](s(0x1db),[s(0x1d9)],{'force':c,'globalPublish':!![],'cwd':d,'config':f}),i=g?'/imports/startup/lib':'/imports/startup/client',j=this[s(0x1c9)][s(0x1e1)]({'pathParts':[i,'','',s(0x1d6)]});await this[s(0x1c9)]['withValue'](f,async()=>{const t=s;await this['fsi'][t(0x1e8)]({'srcPath':t(0x1df),'destPath':j+t(0x1b9),'framework':t(0x1c7),'context':{},'config':f,'force':c,'ignore':![]});});const k=this[s(0x1c9)][s(0x1e1)]({'pathParts':[i,'','',s(0x1bc)]}),l=f[s(0x1eb)]['js'];await this[s(0x1c9)][s(0x1b0)]({'filePath':k+'.'+l,'importName':s(0x1e6),'modulePath':g?'/imports/startup/lib/authentication-service':'/imports/startup/client/authentication-service','isNamedExport':![]}),await this[s(0x1c9)]['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':s(0x1c8),'begin':s(0x1ba),'replace':!![]}),await this[s(0x1c9)][s(0x1cd)]({'filePath':k+'.'+l,'content':s(0x1c1),'begin':'const\x20authenticateToken','replace':!![]}),await this[s(0x1c9)][s(0x1cd)]({'filePath':k+'.'+l,'content':s(0x1b7),'begin':'const\x20getUserAuthorizations','replace':!![]}),await this['fsi']['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':s(0x1b2),'begin':'const\x20deauthenticateUser','replace':!![]}),await this[s(0x1c9)][s(0x1cd)]({'filePath':k+'.'+l,'content':s(0x1bd),'begin':s(0x1d1),'replace':!![]}),await this[s(0x1c9)][s(0x1cd)]({'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':s(0x1e2),'replace':!![]}),await this[s(0x1c9)][s(0x1cd)]({'filePath':k+'.'+l,'content':s(0x1af),'begin':s(0x1c2),'replace':!![]});g&&(await this[s(0x1c9)][s(0x1b0)]({'filePath':k+'.'+l,'importName':s(0x1cb),'modulePath':s(0x1c3),'isNamedExport':!![]}),await this[s(0x1c9)][s(0x1e7)]({'filePath':k+'.'+l,'content':s(0x1ad),'begin':s(0x1d0),'end':s(0x1e5)}));await this[s(0x1c9)][s(0x1b0)]({'filePath':h,'importName':'Meteor','modulePath':'meteor/meteor','isNamedExport':!![],'injectAtStart':!![]}),await this[s(0x1c9)][s(0x1cd)]({'filePath':h,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20If\x20logged\x20in,\x20return\x20documents\x20owned\x20by\x20this\x20user.\x20Otherwise\x20return\x20nothing.\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(this.userId)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20Meteor.roleAssignment.find({\x20\x27user._id\x27:\x20this.userId\x20});\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20[];\x0a\x20\x20\x20\x20\x20\x20','begin':s(0x1b1),'replace':!![]});const m=this[s(0x1c9)]['pathFromApp']({'pathParts':['imports',s(0x1ac),s(0x1d3),s(0x1b6)]});await this['fsi'][s(0x1b0)]({'filePath':m+'.'+l,'importName':s(0x1d4),'modulePath':s(0x1aa),'isNamedExport':!![]}),await this[s(0x1c9)][s(0x1cd)]({'filePath':m+'.'+l,'content':s(0x1e3),'begin':s(0x1b4),'replace':!![]});}catch(n){Log[s(0x1de)](n),process[s(0x1ab)](0x1);}},async function(){},a121e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a122x=a122d;function a122d(a,b){const c=a122c();return a122d=function(d,e){d=d-0x77;let f=c[d];return f;},a122d(a,b);}(function(a,b){const u=a122d,c=a();while(!![]){try{const d=parseInt(u(0x87))/0x1+parseInt(u(0x82))/0x2+-parseInt(u(0xa1))/0x3*(-parseInt(u(0xa4))/0x4)+-parseInt(u(0x81))/0x5+-parseInt(u(0xa7))/0x6*(parseInt(u(0x8a))/0x7)+parseInt(u(0x9f))/0x8+-parseInt(u(0x7f))/0x9*(parseInt(u(0xa0))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0x1ef25));const a122b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a122d;if(c){const e=c[v(0x95)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){const w=a122d;return a122a['toString']()[w(0x99)](w(0x9d))[w(0x9c)]()[w(0x93)](a122a)[w(0x99)](w(0x9d));});function a122c(){const A=['react','useContext','toString','(((.+)+)+)+$','withValue','1738984eKbqJt','3950jBVBzi','897exqFlm','<AuthProvider>','fsi','1268sCRbdU','ssr','<Routes\x20history={history}/>','1060548OtSkbq','<Routes\x20history={browserHistory}/>','/imports/startup/lib/authentication-provider','/imports/startup/client/index','injectAroundString','/routes','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','authentication-provider','split','</AuthProvider>','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','const\x20Routes','template','appName','/imports/startup/server/index','bright','AuthProvider','6993jdDYEP','force','575105JfihBd','352894nrQjOF','exit','Creating\x20an\x20AuthProvider\x20and\x20AuthContext','engines','getMakaProjectConfig','236848ntfsLj','AuthContext','function\x20Routes','7jMGneQ','injectImport','kit/auth/provider/authentication-provider.js','pathFromApp','.js','provider','error','/imports/startup/client/authentication-provider','/imports/startup/lib','constructor','\x0a\x20\x20\x20\x20\x20\x20const\x20{\x20currentUser,\x20loading\x20}\x20=\x20useContext(AuthContext);\x0a\x20\x20\x20\x20\x20\x20if\x20(loading)\x20return\x20<PublicRoutes\x20history={history}/>;\x0a\x20\x20\x20\x20\x20\x20return\x20(!currentUser)\x20?\x20<PublicRoutes\x20history={history}/>\x20:\x20<PrivateRoutes\x20history={history}/>;\x0a\x20\x20\x20\x20\x20\x20','apply','create','/imports/startup/client','true','search'];a122c=function(){return A;};return a122c();}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(0x96)]({'name':a122x(0x8f),'aliases':['p'],'usage':a122x(0x78),'shortDesc':a122x(0xad),'validOpts':['force'],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines['REACT']},'description':'\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x0a\x20\x20\x20\x20It\x20will\x20also\x20update\x20your\x20Routes\x20file\x20to\x20include\x20the\x20AuthProvider\x20and\x20Context.\x0a\x20\x20\x20\x20for\x20navigation\x20checking.\x0a\x20\x20'},async function(a,b){const y=a122x;try{const c=b[y(0x80)]||![];Log[y(0x7d)](y(0x84));const d=this['fsi'][y(0x86)](),f=d[y(0x85)][y(0xa5)]===y(0x98),g={'name':headerCase(d[y(0x7b)])['replaceAll']('-','\x20')},h=f?y(0x92):y(0x97),i=this[y(0xa3)]['pathFromApp']({'pathParts':[h,'','',y(0xae)]});await this[y(0xa3)][y(0x9e)](d,async()=>{const z=y;await this[z(0xa3)][z(0x7a)]({'srcPath':z(0x8c),'destPath':i+z(0x8e),'framework':z(0x9a),'context':g,'config':d,'force':c,'ignore':![]});});const j=d['engines']['js'],k=h+y(0xac),l=k[y(0xaf)]('/'),m=this['fsi']['pathFromApp']({'pathParts':l});await this[y(0xa3)][y(0x8b)]({'filePath':m+'.'+j,'importName':y(0x88),'modulePath':f?y(0xa9):y(0x91),'isNamedExport':!![]}),await this['fsi'][y(0x8b)]({'filePath':m+'.'+j,'importName':y(0x9b),'modulePath':y(0x9a),'isNamedExport':!![],'injectAtStart':!![]}),await this[y(0xa3)]['injectIntoCodeBlock']({'filePath':m+'.'+j,'content':y(0x94),'begin':[y(0x79),y(0x89)],'replace':!![]});const n=y(0xaa),o=n[y(0xaf)]('/'),p=this[y(0xa3)][y(0x8d)]({'pathParts':o});await this[y(0xa3)][y(0x8b)]({'filePath':p+'.'+j,'importName':y(0x7e),'modulePath':f?y(0xa9):y(0x91),'isNamedExport':!![]}),await this['fsi'][y(0xab)]({'filePath':p+'.'+j,'aboveContent':y(0xa2),'belowContent':y(0x77),'targetString':y(0xa8),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q=y(0x7c),r=q[y(0xaf)]('/'),s=this[y(0xa3)][y(0x8d)]({'pathParts':r});await this[y(0xa3)][y(0x8b)]({'filePath':s+'.'+j,'importName':y(0x7e),'modulePath':f?y(0xa9):'/imports/startup/client/authentication-provider','isNamedExport':!![]}),await this['fsi'][y(0xab)]({'filePath':s+'.'+j,'aboveContent':y(0xa2),'belowContent':'</AuthProvider>','targetString':y(0xa6),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log[y(0x90)](t),process[y(0x83)](0x1);}},async function(){},a122e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a123d,c=a();while(!![]){try{var d=parseInt(f(
|
|
1
|
+
function a123d(a,b){var c=a123c();return a123d=function(d,e){d=d-0x14d;var f=c[d];return f;},a123d(a,b);}(function(a,b){var f=a123d,c=a();while(!![]){try{var d=parseInt(f(0x157))/0x1+parseInt(f(0x152))/0x2+-parseInt(f(0x150))/0x3*(parseInt(f(0x153))/0x4)+parseInt(f(0x151))/0x5+parseInt(f(0x14d))/0x6*(-parseInt(f(0x156))/0x7)+-parseInt(f(0x155))/0x8+parseInt(f(0x159))/0x9*(parseInt(f(0x158))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0x2abb7));function a123c(){var h=['60yoTJDw','search','(((.+)+)+)+$','3903XEJkPQ','1006455OFNkSK','78134UFEtBr','1016bzkAta','toString','524120kPLuhn','14119SKesIK','77224ewoihq','20LLvsQy','1231146NVaTVK'];a123c=function(){return h;};return a123c();}var a123b=(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;};}()),a123a=a123b(this,function(){var g=a123d;return a123a[g(0x154)]()['search'](g(0x14f))[g(0x154)]()['constructor'](a123a)[g(0x14e)](g(0x14f));});a123a();import'./esri.generator.js';import'./map.esri.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a124i=a124d;(function(a,b){const f=a124d,c=a();while(!![]){try{const d=-parseInt(f(0x198))/0x1*(parseInt(f(0x1a2))/0x2)+-parseInt(f(0x194))/0x3*(-parseInt(f(0x19d))/0x4)+parseInt(f(0x1a7))/0x5*(-parseInt(f(0x196))/0x6)+-parseInt(f(0x1a4))/0x7+parseInt(f(0x199))/0x8+parseInt(f(0x19e))/0x9+-parseInt(f(0x19b))/0xa*(-parseInt(f(0x1a9))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0xe604c));function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0x193;let f=c[d];return f;},a124d(a,b);}function a124c(){const k=['12590tbFbsd','constructor','549748hSEGHo','10501164dOMeAq','apply','search','/foo','14ijGOMD','create','1260224aVjdXW','maka\x20g:kit:e','/foo/bar','5mKZUeE','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','7876BHLnNE','esri','6zNKTbk','toString','10997892kqvNZO','Starting\x20point\x20for\x20generating\x20Esri\x20Maps','155265TztUwh','13591288lIvFMa','Esri\x20Kit\x20generated\x20successfully'];a124c=function(){return k;};return a124c();}const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a124d;if(c){const e=c[g(0x19f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const h=a124d;return a124a['toString']()['search']('(((.+)+)+)+$')[h(0x195)]()[h(0x19c)](a124a)[h(0x1a0)]('(((.+)+)+)+$');});a124a();import{Generator}from'../../../generator.js';import a124e from'../kit.js';const EsriGen=Generator[a124i(0x1a3)]({'name':a124i(0x193),'aliases':['e'],'usage':a124i(0x1a8),'noNeedResource':!![],'shortDesc':a124i(0x197),'validOpts':[''],'isPro':!![],'examples':[a124i(0x1a5)],'description':'\x0a\x20\x20\x20\x20This\x20generator\x20will\x20create\x20a\x20kit\x20for\x20Esri\x20Maps.\x20Starting\x20with\x20a\x20basic\x20map,\x0a\x20\x20\x20\x20but\x20with\x20the\x20ability\x20to\x20add\x20more\x20components\x20to\x20the\x20kit.\x0a\x20\x20'},async function(){const j=a124i;return{'success':!![],'message':j(0x19a),'details':{'filesCreated':[j(0x1a6)],'filesUpdated':[j(0x1a1)]}};},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(0x19b))/0x1+parseInt(p(0x1b4))/0x2*(-parseInt(p(0x1a7))/0x3)+-parseInt(p(0x19f))/0x4*(-parseInt(p(0x1a0))/0x5)+parseInt(p(0x196))/0x6*(-parseInt(p(0x192))/0x7)+-parseInt(p(0x1ad))/0x8*(parseInt(p(0x190))/0x9)+-parseInt(p(0x1b8))/0xa*(parseInt(p(0x1bb))/0xb)+parseInt(p(0x198))/0xc*(parseInt(p(0x194))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0xa73f2));const a125b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a125d;if(c){const e=c[q(0x1a4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){const r=a125d;return a125a[r(0x1b3)]()[r(0x1ab)](r(0x1af))[r(0x1b3)]()['constructor'](a125a)[r(0x1ab)]('(((.+)+)+)+$');});a125a();import{Generator}from'../../../generator.js';function a125c(){const v=['map','processAndRunGenerator','toString','605908SZzAaH','esri-loader','appName','\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','10Hjpggq','dir','.js','3143327MSTloU','getMakaProjectConfig','fsi','page','</div>','kit/esri/map/','Generating\x20a\x20map\x20component','/imports/startup/client/templates','replaceAll','checkNpmPackage','pathFromApp','18EuIayV','injectIntoFile','237461aizONO','basic-map','13qHPEpc','REACT','6pJjekY','\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','20141508ZHWBzQ','/imports/startup/lib/templates','@esri/react-arcgis','508490qpTQmW','withValue','bright','/imports/ui/hooks','4XGIudL','4393075doUViW','<div\x20id=\x22map\x22>','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','create','apply','true','findProjectDirectory','12SkvdKb','error','split','engines','search','ssr','3396104iNTJEG','baseDir','(((.+)+)+)+$','react'];a125c=function(){return v;};return a125c();}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-0x186;let f=c[d];return f;},a125d(a,b);}import a125f from'../../../generators/maka.gen.js';import{paramCase,headerCase,pascalCase}from'change-case';import{ClientEngines,SsrEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a125s(0x1a3)]({'name':a125s(0x1b1),'aliases':['m'],'usage':a125s(0x1a2),'shortDesc':'Generate\x20an\x20Esri\x20map\x20component','validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a125s(0x195)],'ssr':SsrEngines['FALSE']},'description':a125s(0x197)},async function(a,b){const t=a125s;try{Log[t(0x19d)](t(0x18b));const c=t(0x193);await this[t(0x187)][t(0x18e)]([t(0x19a),t(0x1b5)],{'shouldInstall':!![]});const d=this[t(0x187)][t(0x1a6)](),f=this['fsi'][t(0x186)](),g=f[t(0x1aa)][t(0x1ac)]===t(0x1a5),h=await a125f[t(0x1b2)](t(0x188),[t(0x1b1)],{'cwd':d,'config':f}),i={'name':headerCase(f[t(0x1b6)])[t(0x18d)]('-','\x20'),'componentName':pascalCase(c)},j=b[t(0x1ae)]?'/imports/ui/'+b[t(0x1ae)]:t(0x19e),k=this[t(0x187)][t(0x18f)]({'pathParts':[j,b[t(0x1b9)],paramCase(c),paramCase(c)]});await this['fsi'][t(0x19c)](f,async()=>{const u=t;await this[u(0x187)]['template']({'srcPath':u(0x18a)+c+u(0x1ba),'destPath':k+u(0x1ba),'framework':u(0x1b0),'context':i,'config':f,'force':![],'ignore':![]});});const l=''+j+b[t(0x1b9)]+'/'+c+'/'+c;await this[t(0x187)]['injectTemplateModule'](c,f,l);const m=h[t(0x1a9)]('/'),n=this[t(0x187)]['pathFromApp']({'pathParts':m});await this[t(0x187)]['injectImport']({'filePath':n,'importName':pascalCase(c),'modulePath':g?t(0x199):t(0x18c),'isNamedExport':!![]}),await this[t(0x187)][t(0x191)]({'filePath':n,'content':'\x0a<'+pascalCase(c)+t(0x1b7),'begin':['<div\x20id=\x22map\x22>',t(0x1a1)],'end':[t(0x189)],'replace':!![]});}catch(o){Log[t(0x1a8)](o),process['exit'](0x1);}},async function(){},a125e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a126h=a126d;(function(a,b){const f=a126d,c=a();while(!![]){try{const d=parseInt(f(0x101))/0x1*(parseInt(f(0x102))/0x2)+parseInt(f(0xfc))/0x3+parseInt(f(0xf6))/0x4+-parseInt(f(0x105))/0x5*(-parseInt(f(0x103))/0x6)+-parseInt(f(0xfd))/0x7*(-parseInt(f(0xf9))/0x8)+-parseInt(f(0xf4))/0x9+parseInt(f(0xfb))/0xa*(-parseInt(f(0xf5))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0x712dc));const a126b=(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;};}()),a126a=a126b(this,function(){const g=a126d;return a126a['toString']()[g(0xf7)]('(((.+)+)+)+$')[g(0x104)]()[g(0xf8)](a126a)['search'](g(0xf3));});a126a();import{Generator}from'../../generator.js';const KitGen=Generator[a126h(0x100)]({'name':a126h(0xfa),'aliases':['k'],'usage':'maka\x20{generate,\x20g}:{kit}\x20<name>','shortDesc':a126h(0xf2),'minArgLength':0x1,'isPro':!![],'validOpts':[],'noNeedResource':!![],'examples':[a126h(0xfe),a126h(0xff)]},async function(){});function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0xf2;let f=c[d];return f;},a126d(a,b);}function a126c(){const i=['create','1BSjJSl','1052094lChfjW','32142jwsFbl','toString','780CEGNTz','Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','(((.+)+)+)+$','4138857jhKaaR','767943SQFamt','1733020tLLtyr','search','constructor','56YIQHXY','kit','270kuGkyM','1976727BgDzdC','354501RMNxcK','maka\x20g:kit','maka\x20g:k'];a126c=function(){return i;};return a126c();}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(0x177))/0x1+parseInt(f(0x182))/0x2+-parseInt(f(0x17f))/0x3+-parseInt(f(0x17d))/0x4+parseInt(f(0x17e))/0x5*(parseInt(f(0x181))/0x6)+-parseInt(f(0x183))/0x7*(parseInt(f(0x178))/0x8)+parseInt(f(0x17c))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0x40873));var a127b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a127d;if(c){var e=c[g(0x180)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){var h=a127d;return a127a[h(0x17a)]()['search']('(((.+)+)+)+$')[h(0x17a)]()['constructor'](a127a)[h(0x17b)](h(0x179));});function a127d(a,b){var c=a127c();return a127d=function(d,e){d=d-0x177;var f=c[d];return f;},a127d(a,b);}a127a();import'./mui.generator.js';import'./frame.mui.gen.js';function a127c(){var i=['535pvpbth','1014576kcbCYd','apply','27276wrNFVh','86382ayuUMZ','147uSwAof','326343dXIaVZ','96288JHNGMU','(((.+)+)+)+$','toString','search','7438590lkQRWZ','698100MkKCjr'];a127c=function(){return i;};return a127c();}import'./auth.mui.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a128J=a128d;(function(a,b){const G=a128d,c=a();while(!![]){try{const d=-parseInt(G(0x8d))/0x1*(-parseInt(G(0x7c))/0x2)+parseInt(G(0x84))/0x3*(-parseInt(G(0x96))/0x4)+-parseInt(G(0x95))/0x5+parseInt(G(0xc2))/0x6*(parseInt(G(0x8a))/0x7)+-parseInt(G(0x97))/0x8+parseInt(G(0xbf))/0x9+-parseInt(G(0xb9))/0xa*(-parseInt(G(0xbc))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0x4ea9e));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){const H=a128d;if(c){const e=c[H(0x81)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const I=a128d;return a128a['toString']()[I(0xb7)]('(((.+)+)+)+$')[I(0xb8)]()[I(0x8e)](a128a)[I(0xb7)](I(0x85));});a128a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0x7c;let f=c[d];return f;},a128d(a,b);}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';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a128J(0xa0)]({'name':a128J(0xa3),'aliases':['a'],'usage':a128J(0xa4),'shortDesc':a128J(0xaf),'validOpts':['layouts',a128J(0xa7)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a128J(0xc5)],'client':ClientEngines[a128J(0x9d)]},'examples':[a128J(0xa5),a128J(0xb4)],'description':a128J(0x86)},async function(a,b){const K=a128J;try{const c=b['force']||![],d=this['fsi'][K(0x99)](),f=this[K(0xa8)][K(0xac)](),{authType:g}=await Actions[K(0x9f)]({'type':K(0xba),'name':K(0x8c),'message':K(0xb5),'choices':[{'name':K(0x9a),'value':'meteor'},{'name':K(0xa9),'value':K(0xaa)}]}),h='basic-login-page',i=K(0xbb),j=K(0xbd),k='basic-password-reset-page',l=K(0x94),m=b['baseDir']?K(0xa6)+b[K(0xb2)]:K(0x8b),n=this[K(0xa8)][K(0x89)]({'pathParts':[m,b[K(0x91)],paramCase(h),paramCase(h)]}),o=this[K(0xa8)][K(0x89)]({'pathParts':[m,b[K(0x91)],paramCase(i),paramCase(i)]}),p=this['fsi'][K(0x89)]({'pathParts':[m,b[K(0x91)],paramCase(j),paramCase(j)]}),q=this[K(0xa8)][K(0x89)]({'pathParts':[m,b[K(0x91)],paramCase(k),paramCase(k)]}),r=this[K(0xa8)]['pathFromApp']({'pathParts':[m,b[K(0x91)],paramCase(l),paramCase(l)]}),s={'name':headerCase(f[K(0x7d)])[K(0xb1)]('-','\x20')};await this[K(0xa8)][K(0xb0)](f,async()=>{const L=K;await this[L(0xa8)]['template']({'srcPath':L(0x9b)+h+'.js','destPath':n+L(0x98),'framework':'react','context':s,'config':f,'force':c,'ignore':![]}),await this[L(0xa8)]['template']({'srcPath':'kit/mui/auth/logout/'+i+'.js','destPath':o+L(0x98),'framework':L(0xab),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0xa8)][L(0x9e)]({'srcPath':L(0xbe)+j+'.js','destPath':p+L(0x98),'framework':'react','context':s,'config':f,'force':c,'ignore':![]}),await this[L(0xa8)][L(0x9e)]({'srcPath':L(0x8f)+k+'.js','destPath':q+'.js','framework':L(0xab),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0xa8)][L(0x9e)]({'srcPath':L(0xa1)+l+L(0x98),'destPath':r+L(0x98),'framework':L(0xab),'context':s,'config':f,'force':c,'ignore':![]});});const t=''+m+b[K(0x91)]+'/'+h+'/'+h;await this[K(0xa8)][K(0x7e)](h,f,t);const u=''+m+b[K(0x91)]+'/'+i+'/'+i;await this[K(0xa8)][K(0x7e)](i,f,u);const v=''+m+b['dir']+'/'+j+'/'+j;await this[K(0xa8)][K(0x7e)](j,f,v);const w=''+m+b[K(0x91)]+'/'+k+'/'+k;await this[K(0xa8)]['injectTemplateModule'](k,f,w);const x=''+m+b[K(0x91)]+'/'+l+'/'+l;await this[K(0xa8)]['injectTemplateModule'](l,f,x),await a128e[K(0x80)](K(0x88),['basic-login-page'],{'url':K(0x9c),'cwd':d,'config':f}),await a128e[K(0x80)](K(0x88),[K(0xbb)],{'url':K(0xb6),'private':!![],'cwd':d,'config':f}),await a128e['processAndRunGenerator'](K(0x88),[K(0xbd)],{'url':K(0xc3),'cwd':d,'config':f}),await a128e['processAndRunGenerator'](K(0x88),['basic-password-reset-page'],{'url':K(0xb3),'cwd':d,'config':f}),await a128e[K(0x80)]('route',[K(0x94)],{'url':'forgot-password','cwd':d,'config':f});g===K(0x93)&&await a128e['processAndRunGenerator'](K(0xad),[],{'force':c,'cwd':d,'config':f});g===K(0xaa)&&await a128e['processAndRunGenerator'](K(0x7f),[],{'force':c,'cwd':d,'config':f});const y=f['engines']['ssr']===K(0xa2),z=f[K(0xc4)]['js'],A=this[K(0xa8)]['pathFromApp']({'pathParts':t[K(0x82)]('/')});await this[K(0xa8)][K(0x92)]({'filePath':A+'.'+z,'importName':'AuthContext','modulePath':y?K(0xc0):K(0x90),'isNamedExport':!![]});const B=this['fsi']['pathFromApp']({'pathParts':u[K(0x82)]('/')});await this['fsi'][K(0x92)]({'filePath':B+'.'+z,'importName':K(0x87),'modulePath':y?K(0xc0):K(0x90),'isNamedExport':!![]});const C=this['fsi'][K(0x89)]({'pathParts':v[K(0x82)]('/')});await this[K(0xa8)]['injectImport']({'filePath':C+'.'+z,'importName':'AuthContext','modulePath':y?K(0xc0):'/imports/startup/client/authentication-provider','isNamedExport':!![]});const D=this[K(0xa8)][K(0x89)]({'pathParts':w[K(0x82)]('/')});await this['fsi'][K(0x92)]({'filePath':D+'.'+z,'importName':K(0x87),'modulePath':y?K(0xc0):K(0x90),'isNamedExport':!![]});const E=this[K(0xa8)][K(0x89)]({'pathParts':x[K(0x82)]('/')});await this[K(0xa8)]['injectImport']({'filePath':E+'.'+z,'importName':'AuthContext','modulePath':y?K(0xc0):K(0x90),'isNamedExport':!![]});}catch(F){Log[K(0xae)](F);}},async function(){const M=a128J;console[M(0x83)](M(0xc1));},a128f);function a128c(){const N=['baseDir','reset-password/:token','maka\x20g:k:m:f','What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','logout','search','toString','20LRFJwN','list','basic-logout-page','5037340cLjpaI','basic-register-page','kit/mui/auth/register/','3450546kYgqtI','/imports/startup/lib/authentication-provider','Cleaning\x20up...','6DayNNr','register','engines','MATERIAL','54pHNSPi','appName','injectTemplateModule','kit:auth:provider','processAndRunGenerator','apply','split','log','1185oIgecf','(((.+)+)+)+$','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','AuthContext','route','pathFromApp','1693321IjITPD','/imports/ui/pages/auth','authType','15488KJkbcq','constructor','kit/mui/auth/password-reset/','/imports/startup/client/authentication-provider','dir','injectImport','meteor','basic-forgot-password-page','2687445WadwEs','4768zKDiop','5030544kqpJCQ','.js','findProjectDirectory','Meteor\x20Accounts','kit/mui/auth/login/','login','REACT','template','options','create','kit/mui/auth/forgot-password/','true','auth','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','maka\x20generate:kit:mui:frame','/imports/ui/','force','fsi','Custom\x20(roll\x20your\x20own)','custom','react','getMakaProjectConfig','kit:auth:meteor','error','Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','withValue','replaceAll'];a128c=function(){return N;};return a128c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a129D=a129d;(function(a,b){const B=a129d,c=a();while(!![]){try{const d=-parseInt(B(0xe1))/0x1+-parseInt(B(0x11c))/0x2+-parseInt(B(0xf6))/0x3*(parseInt(B(0xe2))/0x4)+parseInt(B(0xf7))/0x5+parseInt(B(0xdc))/0x6*(parseInt(B(0x109))/0x7)+parseInt(B(0x11f))/0x8*(parseInt(B(0x11e))/0x9)+-parseInt(B(0x10b))/0xa*(-parseInt(B(0xfb))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0xc71e4));const a129b=(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;};}()),a129a=a129b(this,function(){const C=a129d;return a129a[C(0xe3)]()[C(0xe7)](C(0xec))[C(0xe3)]()[C(0x10c)](a129a)['search'](C(0xec));});a129a();function a129c(){const H=['layouts','join','search','baseDir','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','injectTemplateModule','<div\x20id=\x22','(((.+)+)+)+$','injectImport','/imports/ui/','REACT','error','<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>','kit/mui/frame/drawers/','/imports/startup/client/templates','Container','No\x20layouts\x20selected','27pxoRNb','7944145fHUBzi','app-tests','log','test','11niXsrU','/imports/startup/lib/templates','MATERIAL','imports','dir','/imports/ui/components','template','options','\x20/>\x0a','fsi','maka:react-tracker','ssr','force','</div>','336QtGfHR','getMakaProjectConfig','952220tIEsAi','constructor','@mui/material/Box','injectIntoFile','frame','basic-sticky-footer','getFiles','basic-drawer','findAppDirectory','<Outlet/>','</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','react','-hook\x22>','Box','Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','pathFromApp','injectAroundString','1508874ZfEINq','tsx','78642CtlZfN','496jPqIip','.js','kit/mui/frame/app-bars/','session','Cleaning\x20up...','147414DRgGBH','engines','appName','create','checkMeteorPackage','483420wpBEjj','600744ECZAnr','toString','basic-app-bar'];a129c=function(){return H;};return a129c();}function a129d(a,b){const c=a129c();return a129d=function(d,e){d=d-0xdc;let f=c[d];return f;},a129d(a,b);}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[a129D(0xdf)]({'name':a129D(0x10f),'aliases':['f'],'usage':'maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f}','shortDesc':a129D(0x119),'validOpts':['layouts',a129D(0xe8),a129D(0xff),a129D(0x107)],'isPro':![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a129D(0xfd)],'client':ClientEngines[a129D(0xef)]},'examples':['maka\x20generate:kit:mui:frame','maka\x20g:k:m:f'],'description':'\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20frame\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20'},async function(a,b){const E=a129D;try{const c=b[E(0x107)]||![],d=E(0xe4),f=E(0x112),g=E(0x110),h=this[E(0x104)][E(0x10a)](),i=h[E(0xdd)][E(0x106)]==='true';await this[E(0x104)][E(0xe0)]([E(0x122),E(0x105)],{'shouldInstall':!![]});const j=this[E(0x104)][E(0x113)](),k=a129e[E(0xe6)](j,E(0xfe),'ui',E(0xe5)),l=this[E(0x104)]['getDirectories'](k),m=await Actions[E(0x102)]({'type':'checkbox','name':'layouts','message':E(0xe9),'choices':l});if(m[E(0xe5)]['length']===0x0){Log[E(0xf0)](E(0xf5));return;}const n=b['baseDir']?E(0xee)+b[E(0xe8)]:E(0x100),o=this[E(0x104)][E(0x11a)]({'pathParts':[n,b['dir'],paramCase(d),paramCase(d)]}),p=this[E(0x104)][E(0x11a)]({'pathParts':[n,b[E(0xff)],paramCase(f),paramCase(f)]}),q=this[E(0x104)][E(0x11a)]({'pathParts':[n,b[E(0xff)],paramCase(g),paramCase(g)]}),r={'name':headerCase(h[E(0xde)])['replaceAll']('-','\x20')};await this[E(0x104)]['withValue'](h,async()=>{const F=E;await this[F(0x104)][F(0x101)]({'srcPath':F(0x121)+d+F(0x120),'destPath':o+F(0x120),'framework':F(0x116),'context':r,'config':h,'force':c,'ignore':![]}),await this[F(0x104)]['template']({'srcPath':F(0xf2)+f+F(0x120),'destPath':p+F(0x120),'framework':F(0x116),'context':r,'config':h,'force':c,'ignore':![]}),await this[F(0x104)][F(0x101)]({'srcPath':'kit/mui/frame/footers/'+g+F(0x120),'destPath':q+F(0x120),'framework':'react','context':r,'config':h,'force':c,'ignore':![]});});const s=''+n+b[E(0xff)]+'/'+d+'/'+d;await this['fsi']['injectTemplateModule'](d,h,s);const t=''+n+b['dir']+'/'+f+'/'+f;await this['fsi'][E(0xea)](f,h,t);const u=''+n+b[E(0xff)]+'/'+g+'/'+g;await this['fsi']['injectTemplateModule'](g,h,u);const {layouts:v}=m;for(const w of v){const x=this['fsi'][E(0x111)](a129e[E(0xe6)](k,w),{'extensions':['jsx',E(0x11d)],'omit':[E(0xf8),'tests',E(0xfa)]});for(const y of x){const z=a129e[E(0xe6)](k,w,y);await this[E(0x104)][E(0xed)]({'filePath':z,'importName':E(0x118),'modulePath':E(0x10d),'isNamedExport':![]}),await this['fsi'][E(0xed)]({'filePath':z,'importName':E(0xf4),'modulePath':'@mui/material/Container','isNamedExport':![]}),await this[E(0x104)][E(0xed)]({'filePath':z,'importName':pascalCase(d),'modulePath':i?E(0xfc):E(0xf3),'isNamedExport':!![]}),await this[E(0x104)][E(0x10e)]({'filePath':z,'content':'<'+pascalCase(d)+E(0x103),'begin':[E(0xeb)+w+'\x22>',E(0xeb)+w+E(0x117)],'end':[E(0x114)]}),await this[E(0x104)]['injectImport']({'filePath':z,'importName':pascalCase(f),'modulePath':i?'/imports/startup/lib/templates':'/imports/startup/client/templates','isNamedExport':!![]}),await this[E(0x104)][E(0x10e)]({'filePath':z,'content':'<'+pascalCase(f)+E(0x103),'begin':['<div\x20id=\x22'+w+'\x22>',E(0xeb)+w+E(0x117)],'end':[E(0x114)]}),await this[E(0x104)][E(0x10e)]({'filePath':z,'content':'<'+pascalCase(g)+'\x20/>\x0a','begin':[E(0x114)],'end':[E(0x108)]}),await this[E(0x104)][E(0xed)]({'filePath':z,'importName':pascalCase(g),'modulePath':i?E(0xfc):E(0xf3),'isNamedExport':!![]}),await this['fsi'][E(0x11b)]({'filePath':z,'aboveContent':E(0xf1),'belowContent':E(0x115),'targetString':[E(0x114)],'targetIndentAdjustment':0x6});}}return!![];}catch(A){Log['error'](A);}},async function(){const G=a129D;console[G(0xf9)](G(0x123));},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(0x109))/0x1*(-parseInt(g(0xef))/0x2)+parseInt(g(0x10a))/0x3*(-parseInt(g(0x10c))/0x4)+parseInt(g(0x105))/0x5+-parseInt(g(0xfa))/0x6*(-parseInt(g(0x10b))/0x7)+-parseInt(g(0xf2))/0x8*(parseInt(g(0x10e))/0x9)+-parseInt(g(0xf0))/0xa+parseInt(g(0x101))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0x7c368));const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a130d;if(c){const e=c[h(0xfd)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const i=a130d;return a130a[i(0x100)]()[i(0xed)](i(0xfe))[i(0x100)]()[i(0x103)](a130a)[i(0xed)](i(0xfe));});a130a();function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0xec;let f=c[d];return f;},a130d(a,b);}import{Generator}from'../../../generator.js';import{Actions}from'../../../tools/actions/actions.class.js';import{Log}from'../../../tools/log/log.class.js';import a130e from'../../../generators/maka.gen.js';function a130c(){const l=['frame','2247840NZxqoJ','fsi','auth','No\x20MUI\x20kits\x20selected.\x20Exiting.','92705dlMxbx','583215LEVlny','546763jNvMsf','4LHhvKl','findProjectDirectory','364842QWKixh','checkbox','search','Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!','4UkMUGE','4565530xBSYTC','length','40RtBXiI','kit:mui:auth','info','processAndRunGenerator','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','Header,\x20Footer,\x20and\x20Drawer','notice','includes','30MFBXdK','kit:mui:frame','getMakaProjectConfig','apply','(((.+)+)+)+$','mui','toString','3705911ucmGcF','Material-UI\x20Kit','constructor'];a130c=function(){return l;};return a130c();}import a130f from'../kit.js';const MuiGen=Generator['create']({'name':a130j(0xff),'aliases':['m'],'usage':a130j(0xf6),'noNeedResource':!![],'shortDesc':a130j(0x102),'validOpts':[''],'isPro':!![],'examples':['maka\x20g:kit:m']},async function(){const k=a130j;Log[k(0xf4)](k(0xee)),Log[k(0xf8)]('\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&####%&@@@@@@@@@@@@@@@@@@@&&%###&@@@@@@&%###%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#(((((##%&&@@@@@@@@@&&%%#(((((#&@@@@@&#((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((((((((#%&&@&&%##(((((((((#&@@@@&&#((##%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((((((((((((#((((((((((((((#&@@@@@&%&&@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#%%%%##((((((((#%%&%#((((#&@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@&&%###%%&@@@@&#((((#&@@@@@@@@&&&&@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@@@@@@@@@@@@@@&#((((#&@@@@@&%#(((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@@@@@@@@@@@@&%##((((#&@@@@&%#((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&%#(((#&&@@@@@@@@@&&%##(((((((#%&@@@@&%(((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@&%#%&@@@@@@@@&#((((((((##%&@@@@@@@&%(((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@&&#((((((%&@@@@@@@@@&%#((((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@&&#((((((#%%&@@&&%##((((((((#%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@&%%#((((((((##((((((((##%&@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&%##(((((((((##%&@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&&%##(#%&&@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a\x0a\x20\x20This\x20generator\x20will\x20help\x20you\x20add\x20MUI\x20to\x20your\x20project.\x0a\x20\x20Choose\x20from\x20a\x20selection\x20of\x20premade\x20MUI\x20components.\x0a\x20\x20');const {kitChoices:a}=await Actions['options']({'type':k(0xec),'name':'kitChoices','message':'Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','choices':[{'name':k(0xf7),'value':k(0x104)},{'name':'Auth\x20workflow\x20(login,\x20logout,\x20etc.)','value':'auth'}]}),b=this[k(0x106)][k(0x10d)](),c=this[k(0x106)][k(0xfc)]();a[k(0xf9)](k(0x104))&&await a130e['processAndRunGenerator'](k(0xfb),[],{'force':!![],'cwd':b,'config':c});a['includes'](k(0x107))&&await a130e[k(0xf5)](k(0xf3),[],{'force':!![],'cwd':b,'config':c});if(a[k(0xf1)]===0x0){Log['info'](k(0x108));return;}},async function(){},a130f);export default MuiGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a131o=a131d;(function(a,b){const l=a131d,c=a();while(!![]){try{const d
|
|
1
|
+
const a131o=a131d;(function(a,b){const l=a131d,c=a();while(!![]){try{const d=-parseInt(l(0x170))/0x1+-parseInt(l(0x174))/0x2*(parseInt(l(0x171))/0x3)+parseInt(l(0x194))/0x4*(parseInt(l(0x193))/0x5)+parseInt(l(0x168))/0x6*(-parseInt(l(0x167))/0x7)+-parseInt(l(0x190))/0x8*(parseInt(l(0x199))/0x9)+-parseInt(l(0x192))/0xa*(-parseInt(l(0x16f))/0xb)+-parseInt(l(0x183))/0xc*(-parseInt(l(0x161))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0xc891b));const a131b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a131d;if(c){const e=c[m(0x185)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a131a=a131b(this,function(){const n=a131d;return a131a[n(0x17c)]()['search'](n(0x187))['toString']()['constructor'](a131a)[n(0x164)](n(0x187));});a131a();function a131c(){const r=['fsi','.app-tests.js','/imports/ui/layouts','true','207KuTWnN','relative','includes','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','39Xldvdz','ramda','string','search','injectTemplateModule','.js','21dEdpwO','2260806mjcnmH','withHooks','injectAtBeginningOfFile','warn','setTemplate','none','pathFromApp','4629383LznbBy','1183631jiacQl','385629ieYRMP','react','withTranslations','4zudnch','ssr','split','component/component.js','theme','resourceName','findAppDirectory','test','toString','test/test.js','maka\x20g:layout\x20mobile/iPhone8','create','client','withHook','Scaffolding\x20for\x20a\x20React\x20Layout.','12357564JwhuhX','css','apply','checkNpmPackage','(((.+)+)+)+$','.css','layout','engines','className','template','dir','fileName','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','492376CJwBUd','features','10ljEjGv','10WhOTKM','2595976yitkQO'];a131c=function(){return r;};return a131c();}import a131e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0x160;let f=c[d];return f;},a131d(a,b);}import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['l'];Generator[a131o(0x17f)]({'name':a131o(0x189),'aliases':aliases,'usage':'maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','shortDesc':a131o(0x182),'validOpts':[a131o(0x181)],'examples':[a131o(0x17e),'maka\x20g:l\x20web/safari']},async function(a,b){const p=a131o,c=p(0x197),d=this['fsi'][p(0x17a)](),e=this[p(0x195)][p(0x16e)]({'pathParts':[c,b[p(0x18d)],paramCase(b[p(0x179)]),paramCase(b[p(0x179)])]}),f=this['fsi']['getMakaProjectConfig']();await this[p(0x195)]['withValue'](f,async()=>{const q=p;typeof f['template'][q(0x17b)]===q(0x163)&&(f['template'][q(0x17b)]=f[q(0x18c)][q(0x17b)]===q(0x198)?!![]:![],this[q(0x195)][q(0x16c)](q(0x17b),f[q(0x18c)][q(0x17b)]));typeof f[q(0x18c)]['css']===q(0x163)&&(f['template'][q(0x184)]=f[q(0x18c)]['css']===q(0x198)?!![]:![],this['fsi']['setTemplate']('css',f[q(0x18c)][q(0x184)]));typeof f[q(0x18c)]['js']==='string'&&(f[q(0x18c)]['js']=f[q(0x18c)]['js']==='true'?!![]:![],this[q(0x195)][q(0x16c)]('js',f[q(0x18c)]['js']));!f[q(0x191)]&&(f['features']={});const g=b['_']?b['_'][0x0][q(0x176)](':')[0x1]:![],h=b['_']&&aliases[q(0x19b)](g);h&&!this[q(0x186)]('ramda')&&(Log[q(0x16b)](q(0x18f)),this[q(0x195)]['installNpmPackage'](q(0x162),{'cwd':d}));if(h&&!this[q(0x186)](q(0x172))){Log[q(0x16b)](q(0x160));return;}const i={'name':pascalCase(b['resourceName']),'myPath':a131e[q(0x19a)](this['fsi']['pathFromProject']({}),e),'cssCaseName':paramCase(b[q(0x179)]),'className':pascalCase(b[q(0x179)]),'camelCaseName':camelCase(b[q(0x179)]),'fileName':paramCase(b[q(0x179)]),'graphql':f[q(0x18a)]['graphql'],'features':f[q(0x191)],'client':f[q(0x18a)][q(0x180)],'api':f['engines']['api'],'ssr':f[q(0x18a)][q(0x175)],'test':f['engines']['test'],'theme':f['engines'][q(0x178)],'isComponent':![],'isLayout':!![],'withTranslations':f[q(0x191)][q(0x173)]};f[q(0x191)]?.[q(0x169)]||b[q(0x181)]?await this['fsi']['template']({'srcPath':'hook/hook.js','destPath':e+q(0x166),'framework':'react','context':i,'config':f}):await this[q(0x195)][q(0x18c)]({'srcPath':q(0x177),'destPath':e+q(0x166),'framework':'react','context':i,'config':f});f[q(0x18a)][q(0x17b)]!==q(0x16d)&&await this[q(0x195)][q(0x18c)]({'srcPath':q(0x17d),'destPath':e+q(0x196),'framework':q(0x172),'context':i,'config':f});f[q(0x18c)][q(0x184)]&&(await this[q(0x195)]['template']({'srcPath':'template/template.css','destPath':e+q(0x188),'context':Object['assign']({},i,{'className':paramCase(b[q(0x179)])}),'config':f}),await this[q(0x195)][q(0x16a)]({'filePath':e+'.'+f['engines']['js'],'content':'import\x20\x27./'+i[q(0x18e)]+'.'+f[q(0x18a)][q(0x184)]+'\x27;'}));const j=b['dir']?'/'+b[q(0x18d)]+'/':'/',k=''+c+j+i['fileName']+'/'+i[q(0x18e)];await this[q(0x195)][q(0x165)](i[q(0x18b)],f,k);});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a132i=a132d;(function(a,b){const f=a132d,c=a();while(!![]){try{const d=parseInt(f(0x86))/0x1*(-parseInt(f(0x80))/0x2)+-parseInt(f(0x7a))/0x3*(-parseInt(f(0x78))/0x4)+parseInt(f(0x8b))/0x5*(parseInt(f(0x7b))/0x6)+parseInt(f(0x7c))/0x7+-parseInt(f(0x85))/0x8*(parseInt(f(0x88))/0x9)+parseInt(f(0x83))/0xa+parseInt(f(0x84))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a132c,0x39a88));const a132b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a132d;if(c){const e=c[g(0x7d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a132a=a132b(this,function(){const h=a132d;return a132a[h(0x89)]()[h(0x7f)](h(0x81))['toString']()['constructor'](a132a)[h(0x7f)]('(((.+)+)+)+$');});function a132d(a,b){const c=a132c();return a132d=function(d,e){d=d-0x77;let f=c[d];return f;},a132d(a,b);}a132a();import{Generator}from'../generator.js';const MakaGen=new Generator({'name':'generate','aliases':['g'],'usage':'maka\x20{generate,\x20g}:<generator>\x20<name>','validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':a132i(0x82),'examples':[a132i(0x77),'maka\x20g:scaffold\x20todos',a132i(0x8a),a132i(0x87),'maka\x20g:route\x20todos/edit',a132i(0x79),a132i(0x7e)]},function(){});export default MakaGen;function a132c(){const j=['1524985dgxrpT','2136312PnLpmL','207gsxTBr','maka\x20g:package\x20package:name','9xrFbEe','toString','maka\x20g:template\x20todos/todo_item','31185YFwcea','maka\x20generate:scaffold\x20todos','692EPniRo','maka\x20g:api\x20trucks','1983dfLCha','318WZmUST','1424619Gfvbau','apply','maka\x20g:dbc\x20geoserver\x20--type=pgsql','search','4124jYmbpU','(((.+)+)+)+$','Scaffold\x20various\x20parts\x20of\x20your\x20application','1429750fjkNRn'];a132c=function(){return j;};return a132c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a133m=a133d;
|
|
1
|
+
const a133m=a133d;(function(a,b){const j=a133d,c=a();while(!![]){try{const d=-parseInt(j(0x123))/0x1+parseInt(j(0x10c))/0x2+parseInt(j(0x119))/0x3*(-parseInt(j(0x116))/0x4)+-parseInt(j(0x118))/0x5*(parseInt(j(0x117))/0x6)+parseInt(j(0x10b))/0x7*(parseInt(j(0x11a))/0x8)+-parseInt(j(0x10f))/0x9*(-parseInt(j(0x112))/0xa)+parseInt(j(0x107))/0xb*(parseInt(j(0x101))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a133c,0x7ffe9));const a133b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a133d;if(c){const e=c[k(0x113)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a133a=a133b(this,function(){const l=a133d;return a133a[l(0x121)]()['search'](l(0x114))[l(0x121)]()[l(0x106)](a133a)['search']('(((.+)+)+)+$');});a133a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a133d(a,b){const c=a133c();return a133d=function(d,e){d=d-0xff;let f=c[d];return f;},a133d(a,b);}import{camelCase,paramCase,pascalCase}from'change-case';function a133c(){const p=['6zIXNja','714040UPmpgg','90lNRTdF','184jnNwwb','fsi','imports','dir','tsx','-rpc-method.','checkMeteorPackage','toString','startup','596855LRwVDI','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','index.','348708CTogkT','method','method/method.js','template','mdg:validated-method','constructor','11pNFYrJ','maka:check','ddp-rate-limiter','pathFromApp','160587BlEVLq','1167712hDhZqS','appPathPrefix','-rpc-method\x27;','264213uTDJVF','injectAtEndOfFile','resourceName','200ORompN','apply','(((.+)+)+)+$','engines','61836CJWmvW'];a133c=function(){return p;};return a133c();}Generator['create']({'name':a133m(0x102),'aliases':['m'],'usage':'maka\x20{generate,\x20g}:{method,\x20m}\x20name','checkWhere':!![],'shortDesc':a133m(0xff),'validOpts':['dir'],'examples':['maka\x20g:method\x20todos']},async function(a,b){const n=a133m;try{const c=this['fsi']['getMakaProjectConfig']();await this[n(0x11b)]['withValue'](c,async()=>{const o=n,d=paramCase(b['resourceName']),f={'name':b[o(0x111)],'fileName':d,'className':pascalCase(b[o(0x111)]),'camelCase':camelCase(b['resourceName']),'noRename':!![]};let g='js';c[o(0x115)]['js']===o(0x11e)&&(g='ts');await this[o(0x11b)][o(0x120)]([o(0x108),o(0x109),o(0x105)],{'shouldInstall':!![]}),await this[o(0x11b)][o(0x104)]({'srcPath':o(0x103),'destPath':this[o(0x11b)][o(0x10a)]({'pathParts':[o(0x11c),o(0x122),b[o(0x10d)],'methods',b['dir'],d+o(0x11f)+g]}),'context':f,'config':c});const h=b[o(0x11d)]?'/'+b[o(0x11d)]+'/':'/',i=this[o(0x11b)][o(0x10a)]({'pathParts':[o(0x11c),o(0x122),b[o(0x10d)],o(0x100)+c[o(0x115)]['js']]});await this[o(0x11b)][o(0x110)]({'filePath':i,'content':'import\x20\x27./methods'+h+d+o(0x10e)});});}catch(d){Log['error'](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a134n=a134d;(function(a,b){const l=a134d,c=a();while(!![]){try{const d=parseInt(l(0x112))/0x1+parseInt(l(0x11a))/0x2+-parseInt(l(0x100))/0x3+parseInt(l(0x114))/0x4*(-parseInt(l(0x119))/0x5)+parseInt(l(0x103))/0x6*(-parseInt(l(0x107))/0x7)+-parseInt(l(0x123))/0x8+parseInt(l(0x115))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a134c,0x70091));function a134c(){const q=['1685uSZGMr','1811834NZiPJL','graphql','pathFromApp','/client/','package/package.js','package/','features','package','withValue','4076672jPBqFM','search','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','ssr','(((.+)+)+)+$','/package.js','create','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','template','667683ZTXMrd','packages','dir','576nbGqLZ','resourceName','toString','constructor','51499jMHUVr','tests/client','store','layout','theme','component','engines','.js','tests/server','server','fsi','572040CSnmfz','hasOwnProperty','592rYbXJw','4223097mUJtwm','pathFromAppWithNoReWrite','lib','maka\x20g:package\x20todos:package'];a134c=function(){return q;};return a134c();}function a134d(a,b){const c=a134c();return a134d=function(d,e){d=d-0x100;let f=c[d];return f;},a134d(a,b);}const a134b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a134a=a134b(this,function(){const m=a134d;return a134a[m(0x105)]()[m(0x124)](m(0x127))[m(0x105)]()[m(0x106)](a134a)[m(0x124)](m(0x127));});a134a();import a134e from'path';import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a134n(0x129)]({'name':a134n(0x121),'aliases':['p'],'usage':a134n(0x12a),'shortDesc':a134n(0x125),'validOpts':[a134n(0x102)],'examples':[a134n(0x118)]},async function(a,b){const o=a134n,c=paramCase(b[o(0x104)]),d=this['fsi'][o(0x11c)]({'pathParts':[o(0x101),b[o(0x102)],c]}),e=this[o(0x111)][o(0x116)]({'pathParts':[o(0x101),b[o(0x102)],c,'package.js']}),f=this[o(0x111)]['getMakaProjectConfig']();await this['fsi'][o(0x122)](f,async()=>{const p=o,g={'name':paramCase(b[p(0x104)]),'myPath':a134e['relative'](this['fsi']['pathFromProject']({}),d),'cssCaseName':paramCase(b[p(0x104)]),'className':pascalCase(b[p(0x104)]),'camelCaseName':camelCase(b[p(0x104)]),'fileName':c,'client':f[p(0x10d)]['client'],'graphql':f['engines'][p(0x11b)],'ssr':f[p(0x10d)][p(0x126)],'isComponent':b[p(0x113)](p(0x10c)),'isLayout':b['hasOwnProperty'](p(0x10a)),'isStore':b['hasOwnProperty'](p(0x109)),'features':f[p(0x120)],'noRename':!![],'theme':f[p(0x10d)][p(0x10b)]};await this[p(0x111)][p(0x12b)]({'srcPath':p(0x11e),'destPath':e,'context':g,'config':f}),g['noRename']=![];const h=d+p(0x11d)+c+'.js';await this[p(0x111)]['template']({'srcPath':'template/template.js','destPath':h,'context':g,'config':f});const i=[p(0x117),p(0x110),p(0x108),p(0x10f)];for(const j of i){const k=d+'/'+j+'/'+c+p(0x10e);await this[p(0x111)][p(0x12b)]({'srcPath':p(0x11f)+j+p(0x128),'destPath':k,'context':g,'config':f});}});});
|