@maka/maka-cli 5.0.1 → 5.0.3
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/react/component/component.js.jsx +1 -1
- package/bundle/obf/src/templates/react/component/component.js.tsx +1 -1
- package/bundle/obf/src/templates/react/hook/hook.js.tsx +1 -1
- package/bundle/obf/src/tool.js +1 -1
- package/bundle/obf/src/tools/actions/actions.class.js +1 -1
- package/bundle/obf/src/tools/aws/aws.class.js +1 -1
- package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
- package/bundle/obf/src/tools/docker/docker.class.js +1 -1
- package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
- package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
- package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
- package/bundle/obf/src/tools/https/https.class.js +1 -1
- package/bundle/obf/src/tools/https/https.interface.js +1 -1
- package/bundle/obf/src/tools/log/log.class.js +1 -1
- package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
- package/bundle/obf/src/tools/options/options.class.js +1 -1
- package/bundle/obf/src/tools/progress/progress.class.js +1 -1
- package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
- package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
- package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
- package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
- package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a116k=a116d;function
|
|
1
|
+
const a116k=a116d;function a116c(){const n=['withValue','Generate\x20an\x20updated\x20dockerfile','33190GYmQAg','appName','toString','11bTHziR','52nzLFTr','build','app','9KpBCKv','240DMLrpT','1192800IZTtjx','54DoOxoh','maka\x20g:dockerfile','apply','Dockerfile','join','fsi','force','create','error','service','docker/Dockerfile','constructor','9342468VoINGQ','(((.+)+)+)+$','32921wlqcNo','isFile','findProjectDirectory','5071130lOZWob','getGlobalConfig','5921536OpCbLe','11507GQxgtG','maka\x20{generate,\x20g}:dockerfile','search','app.tar.gz'];a116c=function(){return n;};return a116c();}(function(a,b){const h=a116d,c=a();while(!![]){try{const d=parseInt(h(0x1ea))/0x1*(parseInt(h(0x1d4))/0x2)+parseInt(h(0x1d5))/0x3+-parseInt(h(0x1d0))/0x4*(parseInt(h(0x1f0))/0x5)+parseInt(h(0x1d6))/0x6*(parseInt(h(0x1e4))/0x7)+-parseInt(h(0x1e9))/0x8+-parseInt(h(0x1d3))/0x9*(-parseInt(h(0x1e7))/0xa)+parseInt(h(0x1f3))/0xb*(-parseInt(h(0x1e2))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a116c,0xb07a7));const a116b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a116d;if(c){const e=c[i(0x1d8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a116a=a116b(this,function(){const j=a116d;return a116a['toString']()[j(0x1ec)]('(((.+)+)+)+$')[j(0x1f2)]()[j(0x1e1)](a116a)[j(0x1ec)](j(0x1e3));});a116a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a116d(a,b){const c=a116c();return a116d=function(d,e){d=d-0x1d0;let f=c[d];return f;},a116d(a,b);}import a116e from'path';Generator[a116k(0x1dd)]({'name':'dockerfile','usage':a116k(0x1eb),'shortDesc':a116k(0x1ef),'validOpts':[{'name':a116k(0x1dc),'boolFlag':!![]}],'noNeedResource':!![],'examples':[a116k(0x1d7)]},async function(a,b){const l=a116k;try{const c=await this[l(0x1db)]['getMakaProjectConfig'](),d=await this[l(0x1db)][l(0x1e8)](),f=this['fsi'][l(0x1e6)]();await this[l(0x1db)][l(0x1ee)](c,async()=>{const m=l,g={'app':d[m(0x1f1)],'config':c,'appPath':a116e[m(0x1da)](f,m(0x1d2)),'bundlePath':a116e[m(0x1da)](f,m(0x1d1),m(0x1ed)),'useCert':this[m(0x1db)][m(0x1e5)](d['cert'])};await this[m(0x1db)]['template']({'srcPath':m(0x1e0),'destPath':a116e[m(0x1da)](f,m(0x1d9)),'framework':m(0x1df),'context':g,'config':c,'force':b[m(0x1dc)]});});}catch(g){Log[l(0x1de)](g);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a117o=a117d;(function(a,b){const l=a117d,c=a();while(!![]){try{const d=parseInt(l(0x8d))/0x1*(-parseInt(l(0xa4))/0x2)+parseInt(l(0x81))/0x3+-parseInt(l(0x9c))/0x4+-parseInt(l(0x7b))/0x5*(parseInt(l(0xa1))/0x6)+parseInt(l(0x78))/0x7+parseInt(l(0x9e))/0x8+-parseInt(l(0x8a))/0x9*(-parseInt(l(0x86))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0x540c8));const a117b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a117d;if(c){const e=c[m(0x79)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){const n=a117d;return a117a[n(0xb1)]()[n(0x77)](n(0xa6))['toString']()[n(0xaa)](a117a)[n(0x77)](n(0xa6));});a117a();import a117e from'path';import{paramCase,pascalCase,camelCase}from'change-case';import{Generator}from'../generator.js';function a117c(){const r=['installNpmPackage','hook/hook.js','.app-tests.js','true','1612251GSPfab','none','error','@apollo/client\x20isomorphic-fetch','maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','4281950tslCUK','cssCaseName','.css','assign','9vbZnes','notice','fileName','11KbFzIN','theme','/imports/ui/components','graphql','test','dir','baseDir','pathFromApp','resourceName','template','hooks','react','css','fsi','injectAtBeginningOfFile','1798600GTywNN','force','2830776dptvbY','layouts','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','160878gohVOD','maka\x20g:hook\x20cool-hook','hook','102218oJBJFU','apollo','(((.+)+)+)+$','string','\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','engines','constructor','pathFromProject','features','test/test.js','@apollo/client','withValue','findAppDirectory','toString','checkNpmPackage','create','search','2696561gpLjrP','apply','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','65zOBYLR','Creating\x20'];a117c=function(){return r;};return a117c();}function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0x75;let f=c[d];return f;},a117d(a,b);}import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';Generator[a117o(0x76)]({'name':a117o(0xa3),'aliases':['h'],'checkWhere':![],'usage':a117o(0x85),'shortDesc':'Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','validOpts':[{'name':'baseDir','values':[a117o(0x97),'components','pages',a117o(0x9f)]},{'name':a117o(0x9d),'boolFlag':!![]}],'examples':[a117o(0xa2)],'description':a117o(0xa8)},async function(a,b){const p=a117o;Log[p(0x8b)](p(0x7c)+b['resourceName']+'\x20hook...');try{const c=this['fsi'][p(0x75)](p(0x98));if(!c){Log[p(0x83)](p(0x7a));throw new UsageError();}const d=this['fsi'][p(0xb0)](),f=b[p(0x93)]?'/imports/ui/'+b[p(0x93)]:p(0x8f),g=this['fsi'][p(0x94)]({'pathParts':[f,b[p(0x92)],paramCase(b[p(0x95)]),paramCase(b[p(0x95)])]}),h=await this['fsi']['getMakaProjectConfig']();await this[p(0x9a)][p(0xaf)](h,async()=>{const q=p;typeof h['template'][q(0x99)]===q(0xa7)&&(h[q(0x96)][q(0x99)]=h['template'][q(0x99)]===q(0x80)?!![]:![],this[q(0x9a)]['setTemplate'](q(0x99),h[q(0x96)]['css']));h['engines']['graphql']===q(0xa5)&&!this[q(0x9a)][q(0x75)](q(0xae))&&(Log['warn'](q(0xa0)),await this[q(0x9a)][q(0x7d)](q(0x84),{'cwd':d}));const i={'cssCaseName':paramCase(b[q(0x95)]),'camelCaseName':camelCase(b['resourceName']),'className':pascalCase(b[q(0x95)]),'name':pascalCase(b[q(0x95)]),'graphql':h['engines'][q(0x90)],'theme':h['engines'][q(0x8e)],'features':h[q(0xac)],'myPath':a117e['relative'](this['fsi'][q(0xab)]({}),g),'fileName':paramCase(b[q(0x95)]),'isComponent':![],'isLayout':![],'withTranslations':h[q(0xac)]['withTranslations']};await this[q(0x9a)][q(0x96)]({'srcPath':q(0x7e),'destPath':g+'.js','context':i,'config':h,'framework':q(0x98),'force':b[q(0x9d)]});h['template']['css']&&(await this['fsi'][q(0x96)]({'srcPath':'template/template.css','destPath':g+q(0x88),'context':Object[q(0x89)]({},i,{'className':i[q(0x87)]}),'config':h,'force':b[q(0x9d)]}),await this[q(0x9a)][q(0x9b)]({'filePath':g+'.'+h[q(0xa9)]['js'],'content':'import\x20\x27./'+i[q(0x8c)]+'.'+h[q(0xa9)]['css']+'\x27;'}));h[q(0xa9)][q(0x91)]!==q(0x82)&&await this[q(0x9a)][q(0x96)]({'srcPath':q(0xad),'destPath':g+q(0x7f),'framework':q(0x98),'context':i,'config':h,'force':b['force']});const j=b['dir']?'/'+b[q(0x92)]+'/':'/',k=''+f+j+i[q(0x8c)]+'/'+i[q(0x8c)];await this[q(0x9a)]['injectTemplateModule'](i['className'],h,k);});}catch(i){Log[p(0x83)](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(0xf4))/0x1*(parseInt(f(0xf8))/0x2)+-parseInt(f(0xfa))/0x3+-parseInt(f(0xf5))/0x4+parseInt(f(0xfe))/0x5+parseInt(f(0xfc))/0x6+parseInt(f(0xf9))/0x7*(parseInt(f(0xf7))/0x8)+parseInt(f(0xfd))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0x700f2));function a118c(){var i=['8DHWarG','198bquabZ','1702911wenXbt','1057809QzfspE','(((.+)+)+)+$','1162230sxUsDA','2320704qAguXY','3953385bzfylx','constructor','apply','1839fdCVzQ','1967412QumgSR','toString'];a118c=function(){return i;};return a118c();}var a118b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a118d;if(c){var e=c[g(0xf3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){var h=a118d;return a118a[h(0xf6)]()['search'](h(0xfb))[h(0xf6)]()[h(0xf2)](a118a)['search'](h(0xfb));});a118a();import'./kit.js';import'./mui/_index.js';import'./esri/_index.js';function a118d(a,b){var c=a118c();return a118d=function(d,e){d=d-0xf2;var f=c[d];return f;},a118d(a,b);}import'./auth/_index.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a119d,c=a();while(!![]){try{var d=-parseInt(f(
|
|
1
|
+
(function(a,b){var f=a119d,c=a();while(!![]){try{var d=-parseInt(f(0x1a1))/0x1+parseInt(f(0x1a2))/0x2*(-parseInt(f(0x1a4))/0x3)+parseInt(f(0x1a6))/0x4+-parseInt(f(0x19a))/0x5+parseInt(f(0x19e))/0x6+parseInt(f(0x1a0))/0x7+-parseInt(f(0x1a3))/0x8*(-parseInt(f(0x19b))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0xa455e));var a119b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a119d;if(c){var e=c[g(0x19f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){var h=a119d;return a119a[h(0x19d)]()[h(0x1a5)](h(0x19c))['toString']()['constructor'](a119a)[h(0x1a5)]('(((.+)+)+)+$');});function a119d(a,b){var c=a119c();return a119d=function(d,e){d=d-0x19a;var f=c[d];return f;},a119d(a,b);}function a119c(){var i=['2304wyFcIR','search','920648QKByPa','5384415TitwrE','1228095mbbyXI','(((.+)+)+)+$','toString','7454220ElyUOS','apply','4992029gxzVUv','781071cTflXF','1588WnPSeW','56NbXRNz'];a119c=function(){return i;};return a119c();}a119a();import'./auth.generator.js';import'./provider.auth.gen.js';import'./basic-meteor.auth.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a120i=a120d;(function(a,b){const f=a120d,c=a();while(!![]){try{const d
|
|
1
|
+
const a120i=a120d;(function(a,b){const f=a120d,c=a();while(!![]){try{const d=-parseInt(f(0x195))/0x1*(parseInt(f(0x197))/0x2)+-parseInt(f(0x1a0))/0x3+parseInt(f(0x19b))/0x4+parseInt(f(0x19a))/0x5+-parseInt(f(0x19d))/0x6*(-parseInt(f(0x193))/0x7)+-parseInt(f(0x18f))/0x8+-parseInt(f(0x19f))/0x9*(parseInt(f(0x198))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0xed531));const a120b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a120d;if(c){const e=c[g(0x199)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){const h=a120d;return a120a[h(0x19c)]()[h(0x190)]('(((.+)+)+)+$')[h(0x19c)]()[h(0x19e)](a120a)[h(0x190)](h(0x1a2));});a120a();import{Generator}from'../../../generator.js';import a120e from'../kit.js';function a120c(){const j=['15989960YjUEcI','apply','5009025BYiaNz','2288616xaOzav','toString','7338bVpken','constructor','9IzkvRV','1060941crMuLL','maka\x20g:kit:a','(((.+)+)+)+$','1417416svNboo','search','auth','create','9373nTSySI','Starting\x20point\x20for\x20generating\x20an\x20Auth\x20Provider','109655JoVeyp','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x20\x20','2rIoxnL'];a120c=function(){return j;};return a120c();}const AuthGen=Generator[a120i(0x192)]({'name':a120i(0x191),'aliases':['a'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:<kit-name>','noNeedResource':!![],'shortDesc':a120i(0x194),'validOpts':[''],'isPro':!![],'examples':[a120i(0x1a1)],'description':a120i(0x196)},async function(){throw'NIE';},async function(){},a120e);function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0x18f;let f=c[d];return f;},a120d(a,b);}export default AuthGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a121q=a121d;function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0xe3;let f=c[d];return f;},a121d(a,b);}(function(a,b){const o=a121d,c=a();while(!![]){try{const d=parseInt(o(0x100))/0x1+parseInt(o(0xf5))/0x2*(parseInt(o(0xe5))/0x3)+-parseInt(o(0x116))/0x4+parseInt(o(0x11c))/0x5*(parseInt(o(0x118))/0x6)+parseInt(o(0x117))/0x7*(parseInt(o(0x123))/0x8)+parseInt(o(0xe7))/0x9*(-parseInt(o(0x10c))/0xa)+parseInt(o(0xf8))/0xb*(-parseInt(o(0x114))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0xe10b4));function a121c(){const t=['injectIntoCodeBlock','accounts-password','\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','react','\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','12PjeFis','toString','3907040LGNhOP','2821854ynWvcc','30QgNKNT','processAndRunGenerator','\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','/imports/startup/client','1752155dCsitK','fsi','return\x20\x5c(','Meteor.publish','alanning:roles','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','/imports/startup/lib/authentication-service','32EVFuib','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','getMakaProjectConfig','417OwKaiB','/imports/startup/lib','3192687CNWTvo','force','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','const\x20resetPasswordWithToken','const\x20sendForgotPasswordEmail','kit:auth:provider','injectImport','\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','auth/roles','meteor/maka:react-tracker','authentication-service','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','Accounts','create','13066gUzKbc','error','exit','14720629snFGGx','checkMeteorPackage','/imports/startup/client/authentication-service','withValue','const\x20authenticateUser','constructor','index','meteor/meteor','383021xENvMM','export\x20const\x20AuthProvider','(((.+)+)+)+$','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','authentication-provider','Meteor.startup','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','\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','const\x20getUserAuthorizations','injectIntoFile','pathFromApp','ssr','40xlsXOS','kit/auth/service/meteor-auth-service.js','meteor'];a121c=function(){return t;};return a121c();}const a121b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){const p=a121d;return a121a[p(0x115)]()['search'](p(0x102))['toString']()[p(0xfd)](a121a)['search'](p(0x102));});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[a121q(0xf4)]({'name':a121q(0x10e),'aliases':['m'],'usage':a121q(0xe9),'shortDesc':a121q(0x106),'validOpts':[a121q(0xe8)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines['REACT']},'description':a121q(0x11a)},async function(a,b){const r=a121q;try{const c=b['force']||![];await this[r(0x11d)][r(0xf9)]([r(0x110),r(0x120)],{'shouldInstall':!![]});const d=this[r(0x11d)]['findProjectDirectory'](),f=this[r(0x11d)][r(0xe4)](),g=f['engines'][r(0x10b)]==='true';await a121f[r(0x119)](r(0xec),[],{'force':c,'cwd':d,'config':f});const h=await a121f[r(0x119)]('publish',[r(0xef)],{'force':c,'globalPublish':!![],'cwd':d,'config':f}),i=g?r(0xe6):r(0x11b),j=this[r(0x11d)]['pathFromApp']({'pathParts':[i,'','',r(0xf1)]});await this[r(0x11d)][r(0xfb)](f,async()=>{const s=r;await this[s(0x11d)]['template']({'srcPath':s(0x10d),'destPath':j+'.js','framework':s(0x112),'context':{},'config':f,'force':c,'ignore':![]});});const k=this[r(0x11d)][r(0x10a)]({'pathParts':[i,'','',r(0x104)]}),l=f['engines']['js'];await this[r(0x11d)][r(0xed)]({'filePath':k+'.'+l,'importName':'AuthService','modulePath':g?r(0x122):r(0xfa),'isNamedExport':![]}),await this['fsi'][r(0x10f)]({'filePath':k+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20const\x20user\x20=\x20await\x20AuthService.authenticateUser(username,\x20password);\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20user;\x0a\x20\x20\x20\x20\x20\x20','begin':r(0xfc),'replace':!![]}),await this[r(0x11d)]['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':r(0x111),'begin':'const\x20authenticateToken','replace':!![]}),await this['fsi'][r(0x10f)]({'filePath':k+'.'+l,'content':r(0x107),'begin':r(0x108),'replace':!![]}),await this['fsi'][r(0x10f)]({'filePath':k+'.'+l,'content':r(0xe3),'begin':'const\x20deauthenticateUser','replace':!![]}),await this[r(0x11d)][r(0x10f)]({'filePath':k+'.'+l,'content':r(0x121),'begin':r(0xeb),'replace':!![]}),await this[r(0x11d)]['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':r(0x103),'begin':'const\x20registerNewUser','replace':!![]}),await this['fsi'][r(0x10f)]({'filePath':k+'.'+l,'content':r(0xf2),'begin':r(0xea),'replace':!![]});g&&(await this[r(0x11d)][r(0xed)]({'filePath':k+'.'+l,'importName':'useTracker','modulePath':r(0xf0),'isNamedExport':!![]}),await this[r(0x11d)][r(0x109)]({'filePath':k+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20useTracker(()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(Meteor.isClient)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(Meteor.user()\x20&&\x20!currentUser)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20setCurrentUser(Meteor.user());\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fetchUserAuthorizations(Meteor.user());\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20});\x0a\x0a\x20\x20\x20\x20\x20\x20','begin':r(0x101),'end':r(0x11e)}));await this[r(0x11d)][r(0xed)]({'filePath':h,'importName':'Meteor','modulePath':r(0xff),'isNamedExport':!![],'injectAtStart':!![]}),await this[r(0x11d)][r(0x10f)]({'filePath':h,'content':r(0x113),'begin':r(0x11f),'replace':!![]});const m=this['fsi'][r(0x10a)]({'pathParts':['imports','startup','server',r(0xfe)]});await this[r(0x11d)][r(0xed)]({'filePath':m+'.'+l,'importName':r(0xf3),'modulePath':'meteor/accounts-base','isNamedExport':!![]}),await this[r(0x11d)][r(0x10f)]({'filePath':m+'.'+l,'content':r(0xee),'begin':r(0x105),'replace':!![]});}catch(n){Log[r(0xf6)](n),process[r(0xf7)](0x1);}},async function(){},a121e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a122x=a122d;(function(a,b){const u=a122d,c=a();while(!![]){try{const d
|
|
1
|
+
function a122c(){const A=['getMakaProjectConfig','473970jrMKji','/imports/startup/lib/authentication-provider','split','/imports/startup/client/authentication-provider','exit','injectImport','apply','</AuthProvider>','pathFromApp','withValue','<AuthProvider>','6822rcHVsx','provider','kit/auth/provider/authentication-provider.js','5JlTmiP','force','toString','\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','create','injectIntoCodeBlock','2277369yIKfFJ','react','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','const\x20useAuth','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','14220BouzVN','/imports/startup/client','error','/routes','injectAroundString','constructor','<AppRoutes\x20/>','const\x20PrivateRoute','.js','AuthProvider','appName','true','24BDQrgl','1410520YKOqBO','4030424NhDQuC','AuthContext','fsi','engines','/imports/startup/lib','/imports/startup/client/index','useContext','569779JyAavD','863197MRnVnN','search','(((.+)+)+)+$'];a122c=function(){return A;};return a122c();}const a122x=a122d;(function(a,b){const u=a122d,c=a();while(!![]){try{const d=-parseInt(u(0x144))/0x1+parseInt(u(0x13b))/0x2+parseInt(u(0x15c))/0x3+-parseInt(u(0x13c))/0x4*(parseInt(u(0x156))/0x5)+parseInt(u(0x148))/0x6+parseInt(u(0x143))/0x7*(-parseInt(u(0x13a))/0x8)+-parseInt(u(0x153))/0x9*(-parseInt(u(0x161))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0x7b994));const a122b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a122d;if(c){const e=c[v(0x14e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){const w=a122d;return a122a[w(0x158)]()[w(0x145)](w(0x146))[w(0x158)]()[w(0x166)](a122a)[w(0x145)]('(((.+)+)+)+$');});a122a();function a122d(a,b){const c=a122c();return a122d=function(d,e){d=d-0x134;let f=c[d];return f;},a122d(a,b);}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(0x15a)]({'name':a122x(0x154),'aliases':['p'],'usage':a122x(0x160),'shortDesc':a122x(0x15e),'validOpts':[a122x(0x157)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines['REACT']},'description':a122x(0x159)},async function(a,b){const y=a122x;try{const c=b['force']||![];Log['bright']('Creating\x20an\x20AuthProvider\x20and\x20AuthContext');const d=this[y(0x13e)][y(0x147)](),f=d[y(0x13f)]['ssr']===y(0x139),g={'name':headerCase(d[y(0x138)])['replaceAll']('-','\x20')},h=f?y(0x140):y(0x162),i=this[y(0x13e)][y(0x150)]({'pathParts':[h,'','','authentication-provider']});await this[y(0x13e)][y(0x151)](d,async()=>{const z=y;await this[z(0x13e)]['template']({'srcPath':z(0x155),'destPath':i+z(0x136),'framework':z(0x15d),'context':g,'config':d,'force':c,'ignore':![]});});const j=d[y(0x13f)]['js'],k=h+y(0x164),l=k['split']('/'),m=this[y(0x13e)][y(0x150)]({'pathParts':l});await this['fsi'][y(0x14d)]({'filePath':m+'.'+j,'importName':y(0x13d),'modulePath':f?'/imports/startup/lib/authentication-provider':y(0x14b),'isNamedExport':!![]}),await this['fsi'][y(0x14d)]({'filePath':m+'.'+j,'importName':y(0x142),'modulePath':y(0x15d),'isNamedExport':!![],'injectAtStart':!![]}),await this['fsi']['injectIntoCodeBlock']({'filePath':m+'.'+j,'content':'\x0a\x20\x20\x20\x20\x20\x20const\x20{\x20currentUser,\x20loading\x20}\x20=\x20useContext(AuthContext);\x0a\x20\x20\x20\x20\x20\x20return\x20{\x20currentUser,\x20loading\x20};\x0a\x20\x20\x20\x20\x20\x20','begin':[y(0x15f),'function\x20useAuth'],'replace':!![]}),await this['fsi'][y(0x15b)]({'filePath':m+'.'+j,'content':'\x0a\x20\x20\x20\x20\x20\x20const\x20{\x20currentUser,\x20loading\x20}\x20=\x20useAuth();\x0a\x20\x20\x20\x20\x20\x20if\x20(loading)\x20return\x20<div>Loading...</div>;\x0a\x20\x20\x20\x20\x20\x20return\x20(currentUser)\x20?\x20<Outlet/>\x20:\x20<Navigate\x20to=\x22/login\x22\x20/>;\x0a\x20\x20\x20\x20\x20\x20','begin':[y(0x135)],'replace':!![]});const n=y(0x141),o=n[y(0x14a)]('/'),p=this[y(0x13e)][y(0x150)]({'pathParts':o});await this['fsi']['injectImport']({'filePath':p+'.'+j,'importName':'AuthProvider','modulePath':f?y(0x149):y(0x14b),'isNamedExport':!![]}),await this[y(0x13e)][y(0x165)]({'filePath':p+'.'+j,'aboveContent':y(0x152),'belowContent':'</AuthProvider>','targetString':y(0x134),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q='/imports/startup/server/index',r=q['split']('/'),s=this[y(0x13e)][y(0x150)]({'pathParts':r});await this[y(0x13e)][y(0x14d)]({'filePath':s+'.'+j,'importName':y(0x137),'modulePath':f?'/imports/startup/lib/authentication-provider':y(0x14b),'isNamedExport':!![]}),await this[y(0x13e)][y(0x165)]({'filePath':s+'.'+j,'aboveContent':y(0x152),'belowContent':y(0x14f),'targetString':'<AppRoutes\x20/>','indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log[y(0x163)](t),process[y(0x14c)](0x1);}},async function(){},a122e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a123d,c=a();while(!![]){try{var d
|
|
1
|
+
(function(a,b){var f=a123d,c=a();while(!![]){try{var d=parseInt(f(0xf4))/0x1+parseInt(f(0xf9))/0x2+-parseInt(f(0xfe))/0x3*(parseInt(f(0xf7))/0x4)+parseInt(f(0xfa))/0x5*(-parseInt(f(0xf2))/0x6)+parseInt(f(0xfd))/0x7+-parseInt(f(0xf3))/0x8*(parseInt(f(0xf8))/0x9)+-parseInt(f(0xfb))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0xa0cca));var a123b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a123d;if(c){var e=c[g(0xf5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){var h=a123d;return a123a['toString']()[h(0xff)]('(((.+)+)+)+$')[h(0xfc)]()['constructor'](a123a)[h(0xff)](h(0xf6));});a123a();import'./esri.generator.js';function a123d(a,b){var c=a123c();return a123d=function(d,e){d=d-0xf2;var f=c[d];return f;},a123d(a,b);}import'./map.esri.gen.js';function a123c(){var i=['1044338turJca','apply','(((.+)+)+)+$','8020PNHHhh','65979JLvTeq','2061734IqYFgk','145310gJmGsP','1624280TSdTSO','toString','3350018cRNolf','1842MXsDoo','search','96lQKxoZ','40agSJar'];a123c=function(){return i;};return a123c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0x14d;let f=c[d];return f;},a124d(a,b);}const a124h=a124d;(function(a,b){const f=a124d,c=a();while(!![]){try{const d=-parseInt(f(0x150))/0x1*(-parseInt(f(0x155))/0x2)+parseInt(f(0x158))/0x3*(parseInt(f(0x153))/0x4)+-parseInt(f(0x15f))/0x5+-parseInt(f(0x159))/0x6+-parseInt(f(0x14d))/0x7+-parseInt(f(0x154))/0x8+-parseInt(f(0x15a))/0x9*(-parseInt(f(0x160))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0x50e30));const a124b=(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;};}()),a124a=a124b(this,function(){const g=a124d;return a124a[g(0x156)]()['search'](g(0x157))[g(0x156)]()[g(0x15d)](a124a)[g(0x15c)]('(((.+)+)+)+$');});function a124c(){const j=['constructor','esri','67335DyTJIl','4905230RRRyxi','3290637nRbdcN','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','Esri\x20Kit\x20generated\x20successfully','5421xAmTeO','\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','4544dYNSjg','661680xajjdN','218LEvYfe','toString','(((.+)+)+)+$','123appsGf','1382448tNwmqR','9rNJHbS','create','search'];a124c=function(){return j;};return a124c();}a124a();import{Generator}from'../../../generator.js';import a124e from'../kit.js';const EsriGen=Generator[a124h(0x15b)]({'name':a124h(0x15e),'aliases':['e'],'usage':a124h(0x14e),'noNeedResource':!![],'shortDesc':'Starting\x20point\x20for\x20generating\x20Esri\x20Maps','validOpts':[''],'isPro':!![],'examples':['maka\x20g:kit:e'],'description':a124h(0x151)},async function(){const i=a124h;return{'success':!![],'message':i(0x14f),'details':{'filesCreated':[i(0x152)],'filesUpdated':['/foo']}};},async function(){},a124e);export default EsriGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a125s=a125d;(function(a,b){const p=a125d,c=a();while(!![]){try{const d
|
|
1
|
+
function a125c(){const v=['apply','(((.+)+)+)+$','/imports/ui/','68NAkXpI','dir','1783479SQVAuC','.js','fsi','<div\x20id=\x22map\x22>','\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','checkNpmPackage','injectIntoFile','bright','/imports/ui/hooks','findProjectDirectory','/imports/startup/lib/templates','2011344mfqMUu','ssr','appName','243056qanNiW','constructor','4233204hLdZWm','replaceAll','8hnpCbX','</div>','basic-map','split','pathFromApp','withValue','create','55655Hdejtj','Generating\x20a\x20map\x20component','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','react','page','injectImport','baseDir','getMakaProjectConfig','kit/esri/map/','/imports/startup/client/templates','1716820RVOaSp','470992DyVguI','processAndRunGenerator','@esri/react-arcgis','FALSE','true','\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','map','REACT'];a125c=function(){return v;};return a125c();}const a125s=a125d;(function(a,b){const p=a125d,c=a();while(!![]){try{const d=parseInt(p(0x10b))/0x1+parseInt(p(0x121))/0x2+parseInt(p(0x12e))/0x3+-parseInt(p(0x12c))/0x4*(parseInt(p(0x116))/0x5)+parseInt(p(0x139))/0x6+-parseInt(p(0x120))/0x7+parseInt(p(0x10f))/0x8*(-parseInt(p(0x10d))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0x7ae82));function a125d(a,b){const c=a125c();return a125d=function(d,e){d=d-0x109;let f=c[d];return f;},a125d(a,b);}const a125b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a125d;if(c){const e=c[q(0x129)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){const r=a125d;return a125a['toString']()['search'](r(0x12a))['toString']()[r(0x10c)](a125a)['search'](r(0x12a));});a125a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a125e from'./esri.generator.js';import a125f from'../../../generators/maka.gen.js';import{paramCase,headerCase,pascalCase}from'change-case';import{ClientEngines,SsrEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a125s(0x115)]({'name':a125s(0x127),'aliases':['m'],'usage':a125s(0x118),'shortDesc':'Generate\x20an\x20Esri\x20map\x20component','validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a125s(0x128)],'ssr':SsrEngines[a125s(0x124)]},'description':a125s(0x132)},async function(a,b){const t=a125s;try{Log[t(0x135)](t(0x117));const c=t(0x111);await this[t(0x130)][t(0x133)]([t(0x123),'esri-loader'],{'shouldInstall':!![]});const d=this['fsi'][t(0x137)](),f=this[t(0x130)][t(0x11d)](),g=f['engines'][t(0x109)]===t(0x125),h=await a125f[t(0x122)](t(0x11a),[t(0x127)],{'cwd':d,'config':f}),i={'name':headerCase(f[t(0x10a)])[t(0x10e)]('-','\x20'),'componentName':pascalCase(c)},j=b[t(0x11c)]?t(0x12b)+b[t(0x11c)]:t(0x136),k=this['fsi'][t(0x113)]({'pathParts':[j,b[t(0x12d)],paramCase(c),paramCase(c)]});await this[t(0x130)][t(0x114)](f,async()=>{const u=t;await this[u(0x130)]['template']({'srcPath':u(0x11e)+c+'.js','destPath':k+u(0x12f),'framework':u(0x119),'context':i,'config':f,'force':![],'ignore':![]});});const l=''+j+b[t(0x12d)]+'/'+c+'/'+c;await this[t(0x130)]['injectTemplateModule'](c,f,l);const m=h[t(0x112)]('/'),n=this[t(0x130)]['pathFromApp']({'pathParts':m});await this['fsi'][t(0x11b)]({'filePath':n,'importName':pascalCase(c),'modulePath':g?t(0x138):t(0x11f),'isNamedExport':!![]}),await this[t(0x130)][t(0x134)]({'filePath':n,'content':'\x0a<'+pascalCase(c)+t(0x126),'begin':[t(0x131),t(0x131)],'end':[t(0x110)],'replace':!![]});}catch(o){Log['error'](o),process['exit'](0x1);}},async function(){},a125e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a126i=a126d;(function(a,b){const f=a126d,c=a();while(!![]){try{const d=-parseInt(f(0xe8))/0x1+-parseInt(f(0xe3))/0x2*(parseInt(f(0xf2))/0x3)+parseInt(f(0xef))/0x4*(parseInt(f(0xf1))/0x5)+-parseInt(f(0xec))/0x6+-parseInt(f(0xe0))/0x7*(-parseInt(f(0xeb))/0x8)+parseInt(f(0xea))/0x9+parseInt(f(0xe7))/0xa*(-parseInt(f(0xf3))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0x64949));function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0xe0;let f=c[d];return f;},a126d(a,b);}const a126b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a126d;if(c){const e=c[g(0xe1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){const h=a126d;return a126a['toString']()[h(0xe9)](h(0xed))[h(0xe4)]()[h(0xf0)](a126a)['search'](h(0xed));});a126a();import{Generator}from'../../generator.js';const KitGen=Generator['create']({'name':a126i(0xe5),'aliases':['k'],'usage':a126i(0xee),'shortDesc':a126i(0xe2),'minArgLength':0x1,'isPro':!![],'validOpts':[],'noNeedResource':!![],'examples':['maka\x20g:kit',a126i(0xe6)]},async function(){});function a126c(){const j=['305147DNNUWx','search','5585607jCapfm','4494216BBnEzZ','3825720JmPeDy','(((.+)+)+)+$','maka\x20{generate,\x20g}:{kit}\x20<name>','1912188LFdYkh','constructor','5CckoxH','83526LYeukn','1023zINzCl','7lbAMhy','apply','Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','6dRFGXN','toString','kit','maka\x20g:k','23890Qxfzsx'];a126c=function(){return j;};return a126c();}export default KitGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a127d,c=a();while(!![]){try{var d=-parseInt(f(
|
|
1
|
+
(function(a,b){var f=a127d,c=a();while(!![]){try{var d=-parseInt(f(0xd3))/0x1+-parseInt(f(0xd7))/0x2*(parseInt(f(0xd2))/0x3)+parseInt(f(0xcd))/0x4+parseInt(f(0xca))/0x5*(-parseInt(f(0xd5))/0x6)+parseInt(f(0xce))/0x7*(-parseInt(f(0xd1))/0x8)+parseInt(f(0xd9))/0x9*(parseInt(f(0xd0))/0xa)+parseInt(f(0xd4))/0xb*(parseInt(f(0xcc))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0x8d450));var a127b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){var g=a127d;return a127a[g(0xd6)]()[g(0xcf)](g(0xcb))[g(0xd6)]()[g(0xd8)](a127a)[g(0xcf)]('(((.+)+)+)+$');});function a127c(){var h=['216HPoOVo','4471252VRgepG','3291757NMVIhk','search','8877740qOVnMt','16ixIMef','1705569ZnUyMd','334193CAmjGE','298122yrDAvr','143130etnjlS','toString','2uJQclF','constructor','9eMnUEO','15TGthwG','(((.+)+)+)+$'];a127c=function(){return h;};return a127c();}a127a();function a127d(a,b){var c=a127c();return a127d=function(d,e){d=d-0xca;var f=c[d];return f;},a127d(a,b);}import'./mui.generator.js';import'./frame.mui.gen.js';import'./auth.mui.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a128c(){const N=['search','Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','authType','baseDir','error','basic-register-page','MATERIAL','log','pathFromApp','basic-logout-page','/imports/startup/client/authentication-provider','kit:auth:meteor','kit/mui/auth/login/','template','maka\x20generate:kit:mui:frame','split','135264WOtmwk','basic-forgot-password-page','reset-password/:token','force','replaceAll','list','meteor','constructor','engines','processAndRunGenerator','Meteor\x20Accounts','injectImport','/imports/ui/','register','kit/mui/auth/register/','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','1677010vqNJhn','REACT','toString','appName','react','findProjectDirectory','basic-password-reset-page','Cleaning\x20up...','107480REZoXV','true','apply','.js','3700962xahkyN','custom','getMakaProjectConfig','create','kit/mui/auth/password-reset/','logout','fsi','80CJsrsh','layouts','44271IHTsqq','route','175qLOjFx','ssr','dir','basic-login-page','/imports/startup/lib/authentication-provider','(((.+)+)+)+$','AuthContext','auth','injectTemplateModule','Custom\x20(roll\x20your\x20own)','62424udrMKU','293305CutBMJ','kit:auth:provider','kit/mui/auth/logout/'];a128c=function(){return N;};return a128c();}const a128J=a128d;(function(a,b){const G=a128d,c=a();while(!![]){try{const d=parseInt(G(0x174))/0x1+-parseInt(G(0x187))/0x2+parseInt(G(0x167))/0x3*(parseInt(G(0x165))/0x4)+parseInt(G(0x197))/0x5+parseInt(G(0x173))/0x6*(-parseInt(G(0x169))/0x7)+parseInt(G(0x15a))/0x8+-parseInt(G(0x15e))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0x306bc));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){const H=a128d;if(c){const e=c[H(0x15c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const I=a128d;return a128a['toString']()[I(0x177)](I(0x16e))[I(0x154)]()[I(0x18e)](a128a)[I(0x177)](I(0x16e));});a128a();function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0x154;let f=c[d];return f;},a128d(a,b);}import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a128e from'../../../generators/maka.gen.js';import a128f from'./mui.generator.js';import{paramCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a128J(0x161)]({'name':a128J(0x170),'aliases':['a'],'usage':'maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','shortDesc':a128J(0x178),'validOpts':[a128J(0x166),'force'],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a128J(0x17d)],'client':ClientEngines[a128J(0x198)]},'examples':[a128J(0x185),'maka\x20g:k:m:f'],'description':a128J(0x196)},async function(a,b){const K=a128J;try{const c=b[K(0x18a)]||![],d=this[K(0x164)][K(0x157)](),f=this[K(0x164)][K(0x160)](),{authType:g}=await Actions['options']({'type':K(0x18c),'name':K(0x179),'message':'What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','choices':[{'name':K(0x191),'value':K(0x18d)},{'name':K(0x172),'value':K(0x15f)}]}),h='basic-login-page',i=K(0x180),j='basic-register-page',k='basic-password-reset-page',l='basic-forgot-password-page',m=b[K(0x17a)]?K(0x193)+b[K(0x17a)]:'/imports/ui/pages/auth',n=this[K(0x164)][K(0x17f)]({'pathParts':[m,b[K(0x16b)],paramCase(h),paramCase(h)]}),o=this[K(0x164)]['pathFromApp']({'pathParts':[m,b[K(0x16b)],paramCase(i),paramCase(i)]}),p=this[K(0x164)][K(0x17f)]({'pathParts':[m,b[K(0x16b)],paramCase(j),paramCase(j)]}),q=this[K(0x164)][K(0x17f)]({'pathParts':[m,b[K(0x16b)],paramCase(k),paramCase(k)]}),r=this[K(0x164)]['pathFromApp']({'pathParts':[m,b[K(0x16b)],paramCase(l),paramCase(l)]}),s={'name':headerCase(f[K(0x155)])[K(0x18b)]('-','\x20')};await this[K(0x164)]['withValue'](f,async()=>{const L=K;await this[L(0x164)][L(0x184)]({'srcPath':L(0x183)+h+L(0x15d),'destPath':n+L(0x15d),'framework':L(0x156),'context':s,'config':f,'force':c,'ignore':![]}),await this['fsi'][L(0x184)]({'srcPath':L(0x176)+i+L(0x15d),'destPath':o+'.js','framework':L(0x156),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0x164)][L(0x184)]({'srcPath':L(0x195)+j+'.js','destPath':p+L(0x15d),'framework':L(0x156),'context':s,'config':f,'force':c,'ignore':![]}),await this['fsi'][L(0x184)]({'srcPath':L(0x162)+k+L(0x15d),'destPath':q+L(0x15d),'framework':L(0x156),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0x164)][L(0x184)]({'srcPath':'kit/mui/auth/forgot-password/'+l+'.js','destPath':r+'.js','framework':'react','context':s,'config':f,'force':c,'ignore':![]});});const t=''+m+b[K(0x16b)]+'/'+h+'/'+h;await this[K(0x164)][K(0x171)](h,f,t);const u=''+m+b['dir']+'/'+i+'/'+i;await this[K(0x164)]['injectTemplateModule'](i,f,u);const v=''+m+b[K(0x16b)]+'/'+j+'/'+j;await this[K(0x164)][K(0x171)](j,f,v);const w=''+m+b[K(0x16b)]+'/'+k+'/'+k;await this[K(0x164)][K(0x171)](k,f,w);const x=''+m+b[K(0x16b)]+'/'+l+'/'+l;await this['fsi'][K(0x171)](l,f,x),await a128e[K(0x190)](K(0x168),[K(0x16c)],{'route':'login','cwd':d,'config':f}),await a128e[K(0x190)](K(0x168),[K(0x180)],{'route':K(0x163),'private':!![],'cwd':d,'config':f}),await a128e[K(0x190)](K(0x168),[K(0x17c)],{'route':K(0x194),'cwd':d,'config':f}),await a128e['processAndRunGenerator'](K(0x168),[K(0x158)],{'route':K(0x189),'cwd':d,'config':f}),await a128e[K(0x190)](K(0x168),[K(0x188)],{'route':'forgot-password','cwd':d,'config':f});g===K(0x18d)&&await a128e[K(0x190)](K(0x182),[],{'force':c,'cwd':d,'config':f});g===K(0x15f)&&await a128e[K(0x190)](K(0x175),[],{'force':c,'cwd':d,'config':f});const y=f['engines'][K(0x16a)]===K(0x15b),z=f[K(0x18f)]['js'],A=this[K(0x164)][K(0x17f)]({'pathParts':t['split']('/')});await this[K(0x164)][K(0x192)]({'filePath':A+'.'+z,'importName':'AuthContext','modulePath':y?K(0x16d):'/imports/startup/client/authentication-provider','isNamedExport':!![]});const B=this[K(0x164)][K(0x17f)]({'pathParts':u['split']('/')});await this['fsi']['injectImport']({'filePath':B+'.'+z,'importName':K(0x16f),'modulePath':y?'/imports/startup/lib/authentication-provider':K(0x181),'isNamedExport':!![]});const C=this[K(0x164)][K(0x17f)]({'pathParts':v['split']('/')});await this['fsi'][K(0x192)]({'filePath':C+'.'+z,'importName':'AuthContext','modulePath':y?K(0x16d):'/imports/startup/client/authentication-provider','isNamedExport':!![]});const D=this[K(0x164)][K(0x17f)]({'pathParts':w[K(0x186)]('/')});await this[K(0x164)][K(0x192)]({'filePath':D+'.'+z,'importName':K(0x16f),'modulePath':y?'/imports/startup/lib/authentication-provider':K(0x181),'isNamedExport':!![]});const E=this[K(0x164)]['pathFromApp']({'pathParts':x[K(0x186)]('/')});await this[K(0x164)][K(0x192)]({'filePath':E+'.'+z,'importName':K(0x16f),'modulePath':y?K(0x16d):K(0x181),'isNamedExport':!![]});}catch(F){Log[K(0x17b)](F);}},async function(){const M=a128J;console[M(0x17e)](M(0x159));},a128f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a129D=a129d;(function(a,b){const B=a129d,c=a();while(!![]){try{const d=parseInt(B(
|
|
1
|
+
const a129D=a129d;(function(a,b){const B=a129d,c=a();while(!![]){try{const d=parseInt(B(0x16a))/0x1*(parseInt(B(0x164))/0x2)+-parseInt(B(0x16b))/0x3+-parseInt(B(0x140))/0x4*(-parseInt(B(0x151))/0x5)+-parseInt(B(0x138))/0x6*(-parseInt(B(0x143))/0x7)+parseInt(B(0x169))/0x8*(-parseInt(B(0x128))/0x9)+parseInt(B(0x13c))/0xa*(parseInt(B(0x153))/0xb)+parseInt(B(0x146))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0xd0fdf));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(0x150)]()[C(0x13e)](C(0x12c))[C(0x150)]()['constructor'](a129a)[C(0x13e)](C(0x12c));});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['create']({'name':a129D(0x174),'aliases':['f'],'usage':a129D(0x14c),'shortDesc':'Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','validOpts':[a129D(0x16f),a129D(0x15b),'dir',a129D(0x144)],'isPro':![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a129D(0x15f)],'client':ClientEngines[a129D(0x13f)]},'examples':[a129D(0x14b),a129D(0x15d)],'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(0x144)]||![],d=E(0x14e),f=E(0x157),g='basic-sticky-footer',h=this['fsi'][E(0x154)](),i=h['engines'][E(0x162)]===E(0x13a);await this[E(0x170)][E(0x160)]([E(0x172),E(0x16d)],{'shouldInstall':!![]});const j=this['fsi'][E(0x137)](),k=a129e[E(0x147)](j,'imports','ui',E(0x16f)),l=this[E(0x170)][E(0x12e)](k),m=await Actions[E(0x12f)]({'type':E(0x14a),'name':E(0x16f),'message':E(0x171),'choices':l});if(m[E(0x16f)][E(0x158)]===0x0){Log[E(0x159)](E(0x149));return;}const n=b[E(0x15b)]?E(0x16c)+b[E(0x15b)]:'/imports/ui/components',o=this['fsi'][E(0x12a)]({'pathParts':[n,b[E(0x15e)],paramCase(d),paramCase(d)]}),p=this[E(0x170)][E(0x12a)]({'pathParts':[n,b[E(0x15e)],paramCase(f),paramCase(f)]}),q=this['fsi']['pathFromApp']({'pathParts':[n,b['dir'],paramCase(g),paramCase(g)]}),r={'name':headerCase(h['appName'])[E(0x167)]('-','\x20')};await this[E(0x170)][E(0x13d)](h,async()=>{const F=E;await this[F(0x170)][F(0x129)]({'srcPath':'kit/mui/frame/app-bars/'+d+F(0x14d),'destPath':o+F(0x14d),'framework':'react','context':r,'config':h,'force':c,'ignore':![]}),await this[F(0x170)][F(0x129)]({'srcPath':F(0x168)+f+F(0x14d),'destPath':p+'.js','framework':F(0x156),'context':r,'config':h,'force':c,'ignore':![]}),await this['fsi'][F(0x129)]({'srcPath':F(0x161)+g+F(0x14d),'destPath':q+F(0x14d),'framework':'react','context':r,'config':h,'force':c,'ignore':![]});});const s=''+n+b['dir']+'/'+d+'/'+d;await this['fsi'][E(0x14f)](d,h,s);const t=''+n+b[E(0x15e)]+'/'+f+'/'+f;await this[E(0x170)]['injectTemplateModule'](f,h,t);const u=''+n+b[E(0x15e)]+'/'+g+'/'+g;await this[E(0x170)][E(0x14f)](g,h,u);const {layouts:v}=m;for(const w of v){const x=this['fsi'][E(0x130)](a129e[E(0x147)](k,w),{'extensions':[E(0x12d),E(0x12b)],'omit':[E(0x155),E(0x16e),E(0x134)]});for(const y of x){const z=a129e[E(0x147)](k,w,y);await this['fsi'][E(0x163)]({'filePath':z,'importName':E(0x131),'modulePath':E(0x136),'isNamedExport':![]}),await this[E(0x170)][E(0x163)]({'filePath':z,'importName':E(0x15a),'modulePath':E(0x165),'isNamedExport':![]}),await this[E(0x170)][E(0x163)]({'filePath':z,'importName':pascalCase(d),'modulePath':i?'/imports/startup/lib/templates':E(0x139),'isNamedExport':!![]}),await this[E(0x170)]['injectIntoFile']({'filePath':z,'content':'<'+pascalCase(d)+E(0x132),'begin':[E(0x141)+w+'\x22>',E(0x141)+w+'-hook\x22>'],'end':[E(0x133),E(0x148)]}),await this[E(0x170)]['injectImport']({'filePath':z,'importName':pascalCase(f),'modulePath':i?E(0x166):E(0x139),'isNamedExport':!![]}),await this[E(0x170)][E(0x13b)]({'filePath':z,'content':'<'+pascalCase(f)+E(0x132),'begin':['<div\x20id=\x22'+w+'\x22>',E(0x141)+w+E(0x142)],'end':[E(0x133),E(0x148)]}),await this[E(0x170)][E(0x13b)]({'filePath':z,'content':'<'+pascalCase(g)+E(0x132),'begin':[E(0x133),E(0x148)],'end':[E(0x135)]}),await this[E(0x170)]['injectImport']({'filePath':z,'importName':pascalCase(g),'modulePath':i?E(0x166):E(0x139),'isNamedExport':!![]}),await this['fsi'][E(0x15c)]({'filePath':z,'aboveContent':E(0x173),'belowContent':'</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','targetString':['<Outlet/>',E(0x148)],'targetIndentAdjustment':0x6});}}return!![];}catch(A){Log[E(0x159)](A);}},async function(){const G=a129D;console[G(0x152)](G(0x145));},a129f);function a129d(a,b){const c=a129c();return a129d=function(d,e){d=d-0x128;let f=c[d];return f;},a129d(a,b);}function a129c(){const H=['force','Cleaning\x20up...','364320IIDSHD','join','<Outlet\x20/>','No\x20layouts\x20selected','checkbox','maka\x20generate:kit:mui:frame','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f}','.js','basic-app-bar','injectTemplateModule','toString','5tUDRKI','log','16674933KutRvp','getMakaProjectConfig','app-tests','react','basic-drawer','length','error','Container','baseDir','injectAroundString','maka\x20g:k:m:f','dir','MATERIAL','checkMeteorPackage','kit/mui/frame/footers/','ssr','injectImport','99762xFVebU','@mui/material/Container','/imports/startup/lib/templates','replaceAll','kit/mui/frame/drawers/','24ayQMnd','11DVxkxK','4500618AhhXko','/imports/ui/','maka:react-tracker','tests','layouts','fsi','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','session','<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>','frame','869283LLciNf','template','pathFromApp','tsx','(((.+)+)+)+$','jsx','getDirectories','options','getFiles','Box','\x20/>\x0a','<Outlet/>','test','</div>','@mui/material/Box','findAppDirectory','1614seMNDl','/imports/startup/client/templates','true','injectIntoFile','10nuuKrG','withValue','search','REACT','1638200wEPKev','<div\x20id=\x22','-hook\x22>','3682VcbGIB'];a129c=function(){return H;};return a129c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a130i=a130d;(function(a,b){const g=a130d,c=a();while(!![]){try{const d=parseInt(g(0x1d5))/0x1+parseInt(g(0x1e5))/0x2+parseInt(g(0x1e1))/0x3*(parseInt(g(0x1d8))/0x4)+parseInt(g(0x1ce))/0x5*(parseInt(g(0x1e7))/0x6)+parseInt(g(0x1d3))/0x7+parseInt(g(0x1de))/0x8+-parseInt(g(0x1c6))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0x4195b));const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const h=a130d;return a130a[h(0x1e4)]()['search']('(((.+)+)+)+$')['toString']()[h(0x1dc)](a130a)[h(0x1e6)](h(0x1e3));});function a130c(){const k=['maka\x20g:kit:m','3301088GIImkS','processAndRunGenerator','170528UCWWbK','frame','kitChoices','640eeeaJA','kit:mui:auth','kit:mui:frame','\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','constructor','options','1406992Wmfeez','mui','auth','1383PnlphX','Material-UI\x20Kit','(((.+)+)+)+$','toString','914328DacRgP','search','60LRhPJb','11309985aXIKpi','Header,\x20Footer,\x20and\x20Drawer','Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','Auth\x20workflow\x20(login,\x20logout,\x20etc.)','getMakaProjectConfig','info','notice','No\x20MUI\x20kits\x20selected.\x20Exiting.','88195gcTjpg','create','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','length'];a130c=function(){return k;};return a130c();}a130a();import{Generator}from'../../../generator.js';import{Actions}from'../../../tools/actions/actions.class.js';import{Log}from'../../../tools/log/log.class.js';import a130e from'../../../generators/maka.gen.js';function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0x1c6;let f=c[d];return f;},a130d(a,b);}import a130f from'../kit.js';const MuiGen=Generator[a130i(0x1cf)]({'name':a130i(0x1df),'aliases':['m'],'usage':a130i(0x1d0),'noNeedResource':!![],'shortDesc':a130i(0x1e2),'validOpts':[''],'isPro':!![],'examples':[a130i(0x1d2)]},async function(){const j=a130i;Log[j(0x1cb)]('Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!'),Log[j(0x1cc)](j(0x1db));const {kitChoices:a}=await Actions[j(0x1dd)]({'type':'checkbox','name':j(0x1d7),'message':j(0x1c8),'choices':[{'name':j(0x1c7),'value':'frame'},{'name':j(0x1c9),'value':j(0x1e0)}]}),b=this['fsi']['findProjectDirectory'](),c=this['fsi'][j(0x1ca)]();a['includes'](j(0x1d6))&&await a130e[j(0x1d4)](j(0x1da),[],{'force':!![],'cwd':b,'config':c});a['includes']('auth')&&await a130e[j(0x1d4)](j(0x1d9),[],{'force':!![],'cwd':b,'config':c});if(a[j(0x1d1)]===0x0){Log[j(0x1cb)](j(0x1cd));return;}},async function(){},a130f);export default MuiGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a131o=a131d;(function(a,b){const l=a131d,c=a();while(!![]){try{const d=-parseInt(l(0x90))/0x1+-parseInt(l(0xc2))/0x2*(-parseInt(l(0xb3))/0x3)+parseInt(l(0x93))/0x4+parseInt(l(0xc1))/0x5+parseInt(l(0xc6))/0x6*(parseInt(l(0xa8))/0x7)+parseInt(l(0x96))/0x8*(-parseInt(l(0xca))/0x9)+-parseInt(l(0xbd))/0xa*(parseInt(l(0xa0))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0x6b024));function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0x8f;let f=c[d];return f;},a131d(a,b);}const a131b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a131d;if(c){const e=c[m(0xa4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a131a=a131b(this,function(){const n=a131d;return a131a[n(0x95)]()[n(0xba)](n(0xb9))[n(0x95)]()['constructor'](a131a)[n(0xba)](n(0xb9));});a131a();import a131e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['l'];function a131c(){const r=['getMakaProjectConfig','270370KcOJZF','2QPsBUg','dir','features','maka\x20g:l\x20web/safari','610782JpVCdS','css','template','injectTemplateModule','968661lbnNQG','withHooks','graphql','ssr','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','362400PSJepu','fsi','assign','3252308XvvgNa','warn','toString','16nQAjCy','pathFromProject','withHook','pathFromApp','includes','checkNpmPackage','test','test/test.js','none','installNpmPackage','2504348OkdRZh','relative','split','fileName','apply','/imports/ui/layouts','string','.css','7rGAkFm','.app-tests.js','client','findAppDirectory','true','hook/hook.js','engines','injectAtBeginningOfFile','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','.js','ramda','1507062SPfgxr','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','className','resourceName','template/template.css','setTemplate','(((.+)+)+)+$','search','maka\x20g:layout\x20mobile/iPhone8','Scaffolding\x20for\x20a\x20React\x20Layout.','20PmYlbI','api','react'];a131c=function(){return r;};return a131c();}Generator['create']({'name':'layout','aliases':aliases,'usage':a131o(0xb4),'shortDesc':a131o(0xbc),'validOpts':['withHook'],'examples':[a131o(0xbb),a131o(0xc5)]},async function(a,b){const p=a131o,c=p(0xa5),d=this[p(0x91)][p(0xab)](),e=this[p(0x91)][p(0x99)]({'pathParts':[c,b[p(0xc3)],paramCase(b['resourceName']),paramCase(b[p(0xb6)])]}),f=this[p(0x91)][p(0xc0)]();await this[p(0x91)]['withValue'](f,async()=>{const q=p;typeof f[q(0xc8)][q(0x9c)]==='string'&&(f[q(0xc8)][q(0x9c)]=f[q(0xc8)][q(0x9c)]==='true'?!![]:![],this['fsi']['setTemplate'](q(0x9c),f[q(0xc8)]['test']));typeof f[q(0xc8)][q(0xc7)]===q(0xa6)&&(f[q(0xc8)][q(0xc7)]=f['template'][q(0xc7)]==='true'?!![]:![],this[q(0x91)][q(0xb8)](q(0xc7),f[q(0xc8)][q(0xc7)]));typeof f[q(0xc8)]['js']===q(0xa6)&&(f[q(0xc8)]['js']=f[q(0xc8)]['js']===q(0xac)?!![]:![],this[q(0x91)][q(0xb8)]('js',f[q(0xc8)]['js']));!f[q(0xc4)]&&(f[q(0xc4)]={});const g=b['_']?b['_'][0x0][q(0xa2)](':')[0x1]:![],h=b['_']&&aliases[q(0x9a)](g);h&&!this['checkNpmPackage'](q(0xb2))&&(Log[q(0x94)](q(0xb0)),this[q(0x91)][q(0x9f)](q(0xb2),{'cwd':d}));if(h&&!this[q(0x9b)](q(0xbf))){Log[q(0x94)](q(0x8f));return;}const i={'name':pascalCase(b[q(0xb6)]),'myPath':a131e[q(0xa1)](this[q(0x91)][q(0x97)]({}),e),'cssCaseName':paramCase(b[q(0xb6)]),'className':pascalCase(b[q(0xb6)]),'camelCaseName':camelCase(b[q(0xb6)]),'fileName':paramCase(b['resourceName']),'graphql':f[q(0xae)][q(0xcc)],'features':f[q(0xc4)],'client':f[q(0xae)][q(0xaa)],'api':f['engines'][q(0xbe)],'ssr':f[q(0xae)][q(0xcd)],'test':f['engines']['test'],'theme':f[q(0xae)]['theme'],'isComponent':![],'isLayout':!![],'withTranslations':f[q(0xc4)]['withTranslations']};f[q(0xc4)]?.[q(0xcb)]||b[q(0x98)]?await this[q(0x91)][q(0xc8)]({'srcPath':q(0xad),'destPath':e+'.js','framework':q(0xbf),'context':i,'config':f}):await this[q(0x91)][q(0xc8)]({'srcPath':'component/component.js','destPath':e+q(0xb1),'framework':q(0xbf),'context':i,'config':f});f[q(0xae)][q(0x9c)]!==q(0x9e)&&await this['fsi'][q(0xc8)]({'srcPath':q(0x9d),'destPath':e+q(0xa9),'framework':q(0xbf),'context':i,'config':f});f[q(0xc8)][q(0xc7)]&&(await this[q(0x91)][q(0xc8)]({'srcPath':q(0xb7),'destPath':e+q(0xa7),'context':Object[q(0x92)]({},i,{'className':paramCase(b[q(0xb6)])}),'config':f}),await this[q(0x91)][q(0xaf)]({'filePath':e+'.'+f[q(0xae)]['js'],'content':'import\x20\x27./'+i['fileName']+'.'+f[q(0xae)][q(0xc7)]+'\x27;'}));const j=b[q(0xc3)]?'/'+b[q(0xc3)]+'/':'/',k=''+c+j+i[q(0xa3)]+'/'+i['fileName'];await this['fsi'][q(0xc9)](i[q(0xb5)],f,k);});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a132i=a132d;(function(a,b){const f=a132d,c=a();while(!![]){try{const d=-parseInt(f(0x1de))/0x1+parseInt(f(0x1df))/0x2+parseInt(f(0x1da))/0x3*(-parseInt(f(0x1dc))/0x4)+parseInt(f(0x1d5))/0x5*(-parseInt(f(0x1d4))/0x6)+-parseInt(f(0x1d6))/0x7*(parseInt(f(0x1e6))/0x8)+-parseInt(f(0x1d8))/0x9+parseInt(f(0x1e8))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a132c,0xb1ae9));function a132c(){const j=['52618300FWpVTq','toString','9942yHnTCi','145KyIdtw','7evzuUp','maka\x20g:template\x20todos/todo_item','7706043WadTJZ','generate','2152104CiygrZ','(((.+)+)+)+$','8jZOifk','search','1358687bzriQc','278038Nxgsde','Scaffold\x20various\x20parts\x20of\x20your\x20application','constructor','maka\x20g:api\x20trucks','maka\x20generate:scaffold\x20todos','apply','maka\x20g:route\x20todos/edit','7802888tWwBjl','maka\x20g:dbc\x20geoserver\x20--type=pgsql'];a132c=function(){return j;};return a132c();}const a132b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a132d;if(c){const e=c[g(0x1e4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a132a=a132b(this,function(){const h=a132d;return a132a[h(0x1e9)]()[h(0x1dd)](h(0x1db))[h(0x1e9)]()[h(0x1e1)](a132a)['search']('(((.+)+)+)+$');});a132a();function a132d(a,b){const c=a132c();return a132d=function(d,e){d=d-0x1d4;let f=c[d];return f;},a132d(a,b);}import{Generator}from'../generator.js';const MakaGen=new Generator({'name':a132i(0x1d9),'aliases':['g'],'usage':'maka\x20{generate,\x20g}:<generator>\x20<name>','validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':a132i(0x1e0),'examples':[a132i(0x1e3),'maka\x20g:scaffold\x20todos',a132i(0x1d7),'maka\x20g:package\x20package:name',a132i(0x1e5),a132i(0x1e2),a132i(0x1e7)]},function(){});export default MakaGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a133m=a133d;(function(a,b){const j=a133d,c=a();while(!![]){try{const d
|
|
1
|
+
const a133m=a133d;(function(a,b){const j=a133d,c=a();while(!![]){try{const d=parseInt(j(0x201))/0x1*(-parseInt(j(0x1f1))/0x2)+parseInt(j(0x1ee))/0x3*(-parseInt(j(0x209))/0x4)+-parseInt(j(0x208))/0x5+parseInt(j(0x204))/0x6*(-parseInt(j(0x1f2))/0x7)+parseInt(j(0x1e6))/0x8*(parseInt(j(0x20a))/0x9)+parseInt(j(0x1ff))/0xa+parseInt(j(0x206))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a133c,0x9d5a4));const a133b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a133d;if(c){const e=c[k(0x1e8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a133a=a133b(this,function(){const l=a133d;return a133a[l(0x1fe)]()['search'](l(0x1eb))[l(0x1fe)]()[l(0x205)](a133a)[l(0x1f8)](l(0x1eb));});a133a();import{Generator}from'../generator.js';function a133c(){const p=['engines','methods','index.','search','-rpc-method\x27;','tsx','import\x20\x27./methods','maka\x20{generate,\x20g}:{method,\x20m}\x20name','create','toString','69330lULBWR','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','255Cerxxy','resourceName','imports','30hReqUp','constructor','36416105YnEKxC','mdg:validated-method','6367860YlzNVB','4unkoZv','10040139NiSPuT','-rpc-method.','ddp-rate-limiter','injectAtEndOfFile','8lvMdeU','dir','apply','withValue','method','(((.+)+)+)+$','maka:check','fsi','2189028dgossx','appPathPrefix','error','6522IbTiET','1335236mkHepq','startup','getMakaProjectConfig'];a133c=function(){return p;};return a133c();}import{Log}from'../tools/log/log.class.js';function a133d(a,b){const c=a133c();return a133d=function(d,e){d=d-0x1e5;let f=c[d];return f;},a133d(a,b);}import{camelCase,paramCase,pascalCase}from'change-case';Generator[a133m(0x1fd)]({'name':a133m(0x1ea),'aliases':['m'],'usage':a133m(0x1fc),'checkWhere':!![],'shortDesc':a133m(0x200),'validOpts':[a133m(0x1e7)],'examples':['maka\x20g:method\x20todos']},async function(a,b){const n=a133m;try{const c=this[n(0x1ed)][n(0x1f4)]();await this['fsi'][n(0x1e9)](c,async()=>{const o=n,d=paramCase(b['resourceName']),f={'name':b['resourceName'],'fileName':d,'className':pascalCase(b['resourceName']),'camelCase':camelCase(b[o(0x202)]),'noRename':!![]};let g='js';c[o(0x1f5)]['js']===o(0x1fa)&&(g='ts');await this[o(0x1ed)]['checkMeteorPackage']([o(0x1ec),o(0x20c),o(0x207)],{'shouldInstall':!![]}),await this[o(0x1ed)]['template']({'srcPath':'method/method.js','destPath':this['fsi']['pathFromApp']({'pathParts':[o(0x203),o(0x1f3),b[o(0x1ef)],o(0x1f6),b[o(0x1e7)],d+o(0x20b)+g]}),'context':f,'config':c});const h=b['dir']?'/'+b[o(0x1e7)]+'/':'/',i=this['fsi']['pathFromApp']({'pathParts':[o(0x203),o(0x1f3),b['appPathPrefix'],o(0x1f7)+c[o(0x1f5)]['js']]});await this[o(0x1ed)][o(0x1e5)]({'filePath':i,'content':o(0x1fb)+h+d+o(0x1f9)});});}catch(d){Log[n(0x1f0)](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a134n=a134d;function a134d(a,b){const c=a134c();return a134d=function(d,e){d=d-0x1be;let f=c[d];return f;},a134d(a,b);}function a134c(){const q=['noRename','client','package','1312zaHvQd','9DWkqJa','1268524URZIIb','graphql','resourceName','search','1097406XpLoSD','withValue','component','pathFromApp','2898RobDLh','packages','15042FGGzUp','getMakaProjectConfig','pathFromAppWithNoReWrite','maka\x20g:package\x20todos:package','package/','531672QEPwNF','package.js','(((.+)+)+)+$','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','.js','/package.js','601tpqrMk','ssr','fsi','theme','template/template.js','pathFromProject','template','toString','18804850iFtjKj','hasOwnProperty','/client/','constructor','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','server','engines','relative','tests/client','layout','features','tests/server','dir','3658640gaCDaC'];a134c=function(){return q;};return a134c();}(function(a,b){const l=a134d,c=a();while(!![]){try{const d=-parseInt(l(0x1be))/0x1*(-parseInt(l(0x1d7))/0x2)+-parseInt(l(0x1dd))/0x3+parseInt(l(0x1d9))/0x4+-parseInt(l(0x1d3))/0x5+-parseInt(l(0x1e3))/0x6*(parseInt(l(0x1e1))/0x7)+parseInt(l(0x1e8))/0x8*(parseInt(l(0x1d8))/0x9)+parseInt(l(0x1c6))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a134c,0x7fa97));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['toString']()[m(0x1dc)](m(0x1ea))[m(0x1c5)]()[m(0x1c9)](a134a)['search'](m(0x1ea));});a134a();import a134e from'path';import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator['create']({'name':a134n(0x1d6),'aliases':['p'],'usage':a134n(0x1eb),'shortDesc':a134n(0x1ca),'validOpts':['dir'],'examples':[a134n(0x1e6)]},async function(a,b){const o=a134n,c=paramCase(b[o(0x1db)]),d=this[o(0x1c0)][o(0x1e0)]({'pathParts':[o(0x1e2),b[o(0x1d2)],c]}),e=this[o(0x1c0)][o(0x1e5)]({'pathParts':[o(0x1e2),b[o(0x1d2)],c,o(0x1e9)]}),f=this['fsi'][o(0x1e4)]();await this[o(0x1c0)][o(0x1de)](f,async()=>{const p=o,g={'name':paramCase(b['resourceName']),'myPath':a134e[p(0x1cd)](this[p(0x1c0)][p(0x1c3)]({}),d),'cssCaseName':paramCase(b[p(0x1db)]),'className':pascalCase(b[p(0x1db)]),'camelCaseName':camelCase(b[p(0x1db)]),'fileName':c,'client':f['engines'][p(0x1d5)],'graphql':f[p(0x1cc)][p(0x1da)],'ssr':f[p(0x1cc)][p(0x1bf)],'isComponent':b[p(0x1c7)](p(0x1df)),'isLayout':b[p(0x1c7)](p(0x1cf)),'isStore':b['hasOwnProperty']('store'),'features':f[p(0x1d0)],'noRename':!![],'theme':f[p(0x1cc)][p(0x1c1)]};await this['fsi'][p(0x1c4)]({'srcPath':'package/package.js','destPath':e,'context':g,'config':f}),g[p(0x1d4)]=![];const h=d+p(0x1c8)+c+p(0x1ec);await this[p(0x1c0)][p(0x1c4)]({'srcPath':p(0x1c2),'destPath':h,'context':g,'config':f});const i=['lib',p(0x1cb),p(0x1ce),p(0x1d1)];for(const j of i){const k=d+'/'+j+'/'+c+'.js';await this['fsi'][p(0x1c4)]({'srcPath':p(0x1e7)+j+p(0x1ed),'destPath':k,'context':g,'config':f});}});});
|