@maka/maka-cli 5.0.43 → 5.0.44
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/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/_index.js +1 -1
- package/bundle/obf/src/commands/test/jest.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/test/mocha.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/test/test.command.js +1 -1
- package/bundle/obf/src/commands/undo.js +1 -1
- package/bundle/obf/src/commands/version.js +1 -1
- package/bundle/obf/src/error.js +1 -1
- package/bundle/obf/src/exec.js +1 -1
- package/bundle/obf/src/generator.js +1 -1
- package/bundle/obf/src/generators/_index.js +1 -1
- package/bundle/obf/src/generators/api.js +1 -1
- package/bundle/obf/src/generators/aws/_index.js +1 -1
- package/bundle/obf/src/generators/aws/aws.js +1 -1
- package/bundle/obf/src/generators/aws/cloudformation/_index.js +1 -1
- package/bundle/obf/src/generators/aws/cloudformation/cloudformation.js +1 -1
- package/bundle/obf/src/generators/aws/cloudformation/create-ec2-instance.cf.gen.js +1 -1
- package/bundle/obf/src/generators/collection.js +1 -1
- package/bundle/obf/src/generators/component.js +1 -1
- package/bundle/obf/src/generators/config.js +1 -1
- package/bundle/obf/src/generators/dbc.js +1 -1
- package/bundle/obf/src/generators/dockerfile.js +1 -1
- package/bundle/obf/src/generators/hook.js +1 -1
- package/bundle/obf/src/generators/kits/_index.js +1 -1
- package/bundle/obf/src/generators/kits/auth/_index.js +1 -1
- package/bundle/obf/src/generators/kits/auth/auth.generator.js +1 -1
- package/bundle/obf/src/generators/kits/auth/basic-meteor.auth.gen.js +1 -1
- package/bundle/obf/src/generators/kits/auth/provider.auth.gen.js +1 -1
- package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
- package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
- package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
- package/bundle/obf/src/generators/kits/kit.js +1 -1
- package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
- package/bundle/obf/src/generators/kits/mui/auth.mui.gen.js +1 -1
- package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
- package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
- package/bundle/obf/src/generators/layout.js +1 -1
- package/bundle/obf/src/generators/maka.gen.js +1 -1
- package/bundle/obf/src/generators/methods.js +1 -1
- package/bundle/obf/src/generators/package.js +1 -1
- package/bundle/obf/src/generators/page.js +1 -1
- package/bundle/obf/src/generators/publish.js +1 -1
- package/bundle/obf/src/generators/route.js +1 -1
- package/bundle/obf/src/generators/service.js +1 -1
- package/bundle/obf/src/generators/services/_index.js +1 -1
- package/bundle/obf/src/generators/services/openssl.js +1 -1
- package/bundle/obf/src/generators/services/translation.js +1 -1
- package/bundle/obf/src/maka.js +1 -1
- package/bundle/obf/src/tool.js +1 -1
- package/bundle/obf/src/tools/actions/actions.class.js +1 -1
- package/bundle/obf/src/tools/aws/aws.class.js +1 -1
- package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
- package/bundle/obf/src/tools/cfg/cfg.class.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/mpi/mpi.class.js +1 -1
- package/bundle/obf/src/tools/options/options.class.js +1 -1
- package/bundle/obf/src/tools/pkg/pkg.class.js +1 -1
- package/bundle/obf/src/tools/progress/progress.class.js +1 -1
- package/bundle/obf/src/tools/scaffold/scaffold.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 a117n=a117d;(function(a,b){const k=a117d,c=a();while(!![]){try{const d
|
|
1
|
+
const a117n=a117d;(function(a,b){const k=a117d,c=a();while(!![]){try{const d=-parseInt(k(0xf3))/0x1+parseInt(k(0xe5))/0x2+-parseInt(k(0x103))/0x3+parseInt(k(0xf5))/0x4*(-parseInt(k(0xdd))/0x5)+parseInt(k(0xf8))/0x6*(-parseInt(k(0xe6))/0x7)+-parseInt(k(0xe2))/0x8+parseInt(k(0xf0))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0xec11e));const a117b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a117d;if(c){const e=c[l(0xe7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){const m=a117d;return a117a['toString']()[m(0xe8)](m(0xf6))[m(0xd6)]()[m(0xf1)](a117a)[m(0xe8)](m(0xf6));});a117a();function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0xd6;let f=c[d];return f;},a117d(a,b);}import{camelCase,kebabCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a117c(){const p=['18597960NmibWh','constructor','pathFromApp','793535LbCXWl','maka\x20g:dbc\x20geoserver\x20--type=pgsql','22504GDxlzv','(((.+)+)+)+$','index.','6VPZwyW','-dbc.','mssql','scaffold','injectAtEndOfFile','import\x20\x27./register-','imports','startup','dbc/config.js','checkNpmPackage','create','5329902ENSUlo','toString','engines','type','maka\x20g:dbc\x20azure\x20--type=mssql','pkg','conn.','template','10SBTTcX','register-','server','resourceName','config.','989416QdSBua','dbc','better-sqlite3','3453738eQBiHk','848883LPKEOS','apply','search','sqlite','dbc/register-dbc.js','-dbc\x27;','pgsql','maka\x20{generate,\x20g}:{dbc}\x20<connection-name>','dir','projectConfig'];a117c=function(){return p;};return a117c();}Generator[a117n(0x102)]({'name':a117n(0xe3),'usage':a117n(0xed),'shortDesc':'Scaffolding\x20for\x20creating\x20a\x20for\x20a\x20database\x20connection.','validOpts':[a117n(0xee)],'mustBeInMakaProject':!![],'requiredOpts':[{'name':'type','values':[a117n(0xec),a117n(0xfa),a117n(0xe9)]}],'examples':[a117n(0xf4),a117n(0xd9),'maka\x20g:dbc\x20todos\x20--type=sqlite']},async function(a,b){const o=a117n;try{const c=this[o(0xef)],d=kebabCase(b['resourceName']),f={'name':pascalCase(b[o(0xe0)]),'fileName':kebabCase(b[o(0xe0)]),'camelCase':camelCase(b[o(0xe0)]),'type':b[o(0xd8)],'engine':c[o(0xd7)]['js'],'noRename':!![]},g=b[o(0xee)]?'/'+b[o(0xee)]+'/':'/';let h='js';c['engines']['js']==='tsx'&&(h='ts');b['type']==='pgsql'&&await this[o(0xda)][o(0x101)]('pg',{'shouldInstall':!![]});b[o(0xd8)]===o(0xfa)&&await this[o(0xda)][o(0x101)](o(0xfa),{'shouldInstall':!![]});b[o(0xd8)]==='sqlite'&&await this[o(0xda)][o(0x101)](o(0xe4),{'shouldInstall':!![]});await this[o(0xfb)][o(0xdc)]({'srcPath':o(0x100),'destPath':this['scaffold']['pathFromApp']({'pathParts':[o(0xfe),o(0xff),'server',o(0xe3),g,d,o(0xe1)+h]}),'context':f,'config':c}),await this['scaffold'][o(0xdc)]({'srcPath':'dbc/conn.js','destPath':this[o(0xfb)][o(0xf2)]({'pathParts':['imports',o(0xff),'server',o(0xe3),g,d,o(0xdb)+h]}),'context':f,'config':c}),await this[o(0xfb)][o(0xdc)]({'srcPath':o(0xea),'destPath':this[o(0xfb)][o(0xf2)]({'pathParts':[o(0xfe),'startup',o(0xdf),o(0xde)+d+o(0xf9)+h]}),'context':f,'config':c});const i=this[o(0xfb)][o(0xf2)]({'pathParts':[o(0xfe),o(0xff),o(0xdf),o(0xf7)+c[o(0xd7)]['js']]});await this[o(0xfb)][o(0xfc)]({'filePath':i,'content':o(0xfd)+d+o(0xeb)});}catch(j){Log['error'](j);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a118l=a118d;(function(a,b){const i=a118d,c=a();while(!![]){try{const d=-parseInt(i(
|
|
1
|
+
function a118d(a,b){const c=a118c();return a118d=function(d,e){d=d-0x173;let f=c[d];return f;},a118d(a,b);}const a118l=a118d;(function(a,b){const i=a118d,c=a();while(!![]){try{const d=-parseInt(i(0x195))/0x1+-parseInt(i(0x174))/0x2*(parseInt(i(0x173))/0x3)+parseInt(i(0x18b))/0x4*(-parseInt(i(0x179))/0x5)+parseInt(i(0x17f))/0x6*(parseInt(i(0x18c))/0x7)+parseInt(i(0x193))/0x8*(parseInt(i(0x17e))/0x9)+-parseInt(i(0x177))/0xa+parseInt(i(0x192))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0x458c2));const a118b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a118d;if(c){const e=c[j(0x182)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){const k=a118d;return a118a['toString']()[k(0x18d)](k(0x194))['toString']()[k(0x181)](a118a)[k(0x18d)](k(0x194));});function a118c(){const n=['template','maka\x20{generate,\x20g}:dockerfile','16623673VNBhTu','1408312GxqpJG','(((.+)+)+)+$','49104ZuhIKC','3sQmeFo','1103066henogW','build','cfg','3512400hrsadr','service','369320fGGJlJ','appName','fsi','scaffold','join','9DYeoBr','6xFFoBC','findProjectDirectory','constructor','apply','cert','dockerfile','error','app','isFile','Generate\x20an\x20updated\x20dockerfile','app.tar.gz','force','28YRHXhU','465563tkbwYG','search','getGlobalConfig','create'];a118c=function(){return n;};return a118c();}a118a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import a118e from'path';Generator[a118l(0x18f)]({'name':a118l(0x184),'usage':a118l(0x191),'shortDesc':a118l(0x188),'resourceNameRequired':![],'mustBeInMakaProject':!![],'validOpts':[{'name':a118l(0x18a),'boolFlag':!![]}],'examples':['maka\x20g:dockerfile']},async function(a,b){const m=a118l;try{const c=this[m(0x176)]['getMakaProjectConfig'](),d=await this['cfg'][m(0x18e)](),f=this['fsi'][m(0x180)](),g={'app':c[m(0x17a)],'config':c,'appPath':a118e[m(0x17d)](f,m(0x186)),'bundlePath':a118e[m(0x17d)](f,m(0x175),m(0x189)),'useCert':d[m(0x183)]?this[m(0x17b)][m(0x187)](d[m(0x183)]):![]};await this[m(0x17c)][m(0x190)]({'srcPath':'docker/Dockerfile','destPath':a118e[m(0x17d)](f,'Dockerfile'),'framework':m(0x178),'context':g,'config':c,'force':b[m(0x18a)]});}catch(h){Log[m(0x185)](h);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a119o=a119d;(function(a,b){const l=a119d,c=a();while(!![]){try{const d=parseInt(l(0xfc))/0x1+parseInt(l(0x100))/0x2+-parseInt(l(0xee))/0x3*(parseInt(l(0xe0))/0x4)+parseInt(l(0xfe))/0x5+-parseInt(l(0xf0))/0x6+-parseInt(l(0xf1))/0x7+parseInt(l(0xc0))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0xed784));function a119d(a,b){const c=a119c();return a119d=function(d,e){d=d-0xc0;let f=c[d];return f;},a119d(a,b);}const a119b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a119d;if(c){const e=c[m(0xf7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){const n=a119d;return a119a['toString']()[n(0xea)](n(0xd4))[n(0xd5)]()[n(0xf3)](a119a)[n(0xea)](n(0xd4));});a119a();import a119e from'path';import{kebabCase,pascalCase,camelCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator[a119o(0xd7)]({'name':a119o(0xfa),'aliases':['h'],'checkWhere':![],'usage':a119o(0xe7),'shortDesc':a119o(0xd0),'mustBeInMakaProject':!![],'validOpts':[{'name':a119o(0xc3),'values':[a119o(0xc1),a119o(0xe6),a119o(0xc8),a119o(0xc6)]},{'name':'force','boolFlag':!![]}],'examples':[a119o(0xe5)],'description':a119o(0xc4)},async function(a,b){const p=a119o;Log[p(0xc7)](p(0xcf)+b[p(0xcb)]+p(0xfb));try{await this[p(0xe3)][p(0xff)](p(0xe1),{'shouldInstall':!![]});const c=this[p(0xdf)][p(0xf5)](),d=b[p(0xc3)]?'/imports/ui/'+b[p(0xc3)]:p(0xd9),f=this['scaffold'][p(0xcc)]({'pathParts':[d,b[p(0xf8)],kebabCase(b['resourceName']),kebabCase(b['resourceName'])]}),g=this[p(0xe4)];typeof g[p(0xd2)]['css']==='string'&&this[p(0xd3)]['setTemplate'](p(0xc9),g[p(0xd2)][p(0xc9)]);g[p(0xe9)][p(0xcd)]==='apollo'&&!this['pkg'][p(0xff)](p(0xf9))&&(Log[p(0xfd)](p(0xca)),await this[p(0xe3)][p(0xd8)](p(0xec),{'cwd':c}));const h={'cssCaseName':kebabCase(b[p(0xcb)]),'camelCaseName':camelCase(b[p(0xcb)]),'className':pascalCase(b[p(0xcb)]),'name':pascalCase(b['resourceName']),'graphql':g[p(0xe9)][p(0xcd)],'theme':g[p(0xe9)][p(0xd6)],'test':g['engines']['test'],'features':g[p(0xf4)],'myPath':a119e[p(0xeb)](this[p(0xdf)][p(0xe8)](),f),'fileName':kebabCase(b[p(0xcb)]),'isComponent':![],'isLayout':![],'withTranslations':g['features'][p(0xf6)]};await this[p(0xdb)]['template']({'srcPath':p(0xed),'destPath':f+'.js','context':h,'config':g,'framework':p(0xe1),'force':b[p(0xdc)]});g[p(0xd2)][p(0xc9)]&&(await this[p(0xdb)][p(0xd2)]({'srcPath':'template/template.css','destPath':f+p(0xd1),'context':Object[p(0xe2)]({},h,{'className':h[p(0xc5)]}),'config':g,'force':b['force']}),await this[p(0xdb)]['injectAtBeginningOfFile']({'filePath':f+'.'+g['engines']['js'],'content':'import\x20\x27./'+h[p(0xc2)]+'.'+g['engines']['css']+'\x27;'}));g[p(0xe9)][p(0xda)]!==p(0xce)&&await this[p(0xdb)][p(0xd2)]({'srcPath':p(0xef),'destPath':f+p(0xde),'framework':'react','context':h,'config':g,'force':b[p(0xdc)]});const i=b[p(0xf8)]?'/'+b[p(0xf8)]+'/':'/',j=''+d+i+h['fileName']+'/'+h['fileName'];await this[p(0xdb)][p(0xf2)](h[p(0xdd)],g,j);}catch(k){Log['error'](k);}});function a119c(){const q=['notice','pages','css','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','resourceName','pathFromApp','graphql','none','Creating\x20','Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','.css','template','cfg','(((.+)+)+)+$','toString','theme','create','installNpmPackage','/imports/ui/components','test','scaffold','force','className','.app-tests.js','fsi','699452pCUiJZ','react','assign','pkg','projectConfig','maka\x20g:hook\x20cool-hook','components','maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','findProjectDirectory','engines','search','relative','@apollo/client\x20isomorphic-fetch','hook/hook.js','3PkvXpv','test/test.js','3294738hgzshL','13454350frjYqw','injectTemplateModule','constructor','features','findAppDirectory','withTranslations','apply','dir','@apollo/client','hook','\x20hook...','646361wCiwuL','warn','5393655IKlrME','checkNpmPackage','2340952PyDymG','5785152yEMbno','hooks','fileName','baseDir','\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','cssCaseName','layouts'];a119c=function(){return q;};return a119c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a120d,c=a();while(!![]){try{var d
|
|
1
|
+
function a120d(a,b){var c=a120c();return a120d=function(d,e){d=d-0x12a;var f=c[d];return f;},a120d(a,b);}(function(a,b){var f=a120d,c=a();while(!![]){try{var d=parseInt(f(0x135))/0x1+-parseInt(f(0x12c))/0x2+parseInt(f(0x131))/0x3+-parseInt(f(0x138))/0x4*(-parseInt(f(0x133))/0x5)+parseInt(f(0x12d))/0x6*(-parseInt(f(0x134))/0x7)+-parseInt(f(0x12f))/0x8+parseInt(f(0x137))/0x9*(parseInt(f(0x12e))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0x871fa));var a120b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a120d;if(c){var e=c[g(0x132)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){var h=a120d;return a120a['toString']()[h(0x130)](h(0x12a))[h(0x136)]()[h(0x12b)](a120a)['search'](h(0x12a));});a120a();import'./kit.js';function a120c(){var i=['1287454CMMLtb','853052vCHlNU','toString','261693GgHtgY','1288zDEdyd','(((.+)+)+)+$','constructor','1223670uKGaho','18YTppgq','290EemDQZ','6573704VjnPtx','search','867897ZtxeFL','apply','8590MBLodk'];a120c=function(){return i;};return a120c();}import'./mui/_index.js';import'./esri/_index.js';import'./auth/_index.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a121d,c=a();while(!![]){try{var d=-parseInt(f(
|
|
1
|
+
function a121d(a,b){var c=a121c();return a121d=function(d,e){d=d-0x75;var f=c[d];return f;},a121d(a,b);}(function(a,b){var f=a121d,c=a();while(!![]){try{var d=-parseInt(f(0x7e))/0x1+parseInt(f(0x80))/0x2+parseInt(f(0x7d))/0x3*(parseInt(f(0x7c))/0x4)+-parseInt(f(0x76))/0x5+-parseInt(f(0x75))/0x6*(-parseInt(f(0x82))/0x7)+-parseInt(f(0x7b))/0x8*(parseInt(f(0x81))/0x9)+-parseInt(f(0x77))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0x70feb));var a121b=(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;};}()),a121a=a121b(this,function(){var g=a121d;return a121a[g(0x79)]()[g(0x78)]('(((.+)+)+)+$')[g(0x79)]()[g(0x7a)](a121a)[g(0x78)](g(0x7f));});a121a();import'./auth.generator.js';import'./provider.auth.gen.js';function a121c(){var h=['32LYMYUh','142059DRrcfw','48565KZxZwk','(((.+)+)+)+$','1799270PGRtFT','9XilSiU','35ebSuWB','207642bZmspk','146360NlgSfp','6946640jsBfZP','search','toString','constructor','1729328khvhFu'];a121c=function(){return h;};return a121c();}import'./basic-meteor.auth.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a122i=a122d;(function(a,b){const f=a122d,c=a();while(!![]){try{const d=parseInt(f(0x202))/0x1*(-parseInt(f(0x1fa))/0x2)+parseInt(f(0x1f9))/0x3*(-parseInt(f(0x204))/0x4)+-parseInt(f(0x1ff))/0x5*(-parseInt(f(0x1f5))/0x6)+-parseInt(f(0x203))/0x7*(-parseInt(f(0x1f6))/0x8)+-parseInt(f(0x200))/0x9*(parseInt(f(0x1f8))/0xa)+-parseInt(f(0x201))/0xb*(parseInt(f(0x1f2))/0xc)+parseInt(f(0x1f0))/0xd*(parseInt(f(0x1f4))/0xe);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0x9608c));const a122b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a122d;if(c){const e=c[g(0x1fe)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){const h=a122d;return a122a['toString']()[h(0x1f1)](h(0x1f7))[h(0x1fd)]()['constructor'](a122a)[h(0x1f1)](h(0x1f7));});a122a();function a122d(a,b){const c=a122c();return a122d=function(d,e){d=d-0x1ef;let f=c[d];return f;},a122d(a,b);}import{Generator}from'../../../generator.js';import a122e from'../kit.js';function a122c(){const k=['2385ngDJXU','99PfwjIR','1cnKRFj','2940385AZnvPB','369276uvJsxJ','auth','3068689oVXvXO','search','1297332GzwSDA','NIE','98moWEJQ','36468nmuJdv','16HckeiB','(((.+)+)+)+$','5420aHKIdP','33vQdUnW','366838kzOCpT','create','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x20\x20','toString','apply','360PUcuuO'];a122c=function(){return k;};return a122c();}const AuthGen=Generator[a122i(0x1fb)]({'name':a122i(0x1ef),'aliases':['a'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:<kit-name>','shortDesc':'Starting\x20point\x20for\x20generating\x20an\x20Auth\x20Provider','resourceNameRequired':![],'validOpts':[''],'isPro':!![],'examples':['maka\x20g:kit:a'],'description':a122i(0x1fc)},async function(){const j=a122i;throw j(0x1f3);},async function(){},a122e);export default AuthGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a123v=a123d;(function(a,b){const s=a123d,c=a();while(!![]){try{const d=parseInt(s(
|
|
1
|
+
const a123v=a123d;(function(a,b){const s=a123d,c=a();while(!![]){try{const d=parseInt(s(0x1c4))/0x1+parseInt(s(0x1ca))/0x2+-parseInt(s(0x1df))/0x3+parseInt(s(0x1c7))/0x4+-parseInt(s(0x1e1))/0x5*(-parseInt(s(0x1b4))/0x6)+-parseInt(s(0x1cd))/0x7*(parseInt(s(0x1d1))/0x8)+-parseInt(s(0x1ee))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0xaded1));function a123c(){const x=['meteor','template','injectIntoFile','1380749DdzwXu','useEffect\x5c(','\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','18832sXyZYz','\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','const\x20sendForgotPasswordEmail','1763510kqAKYC','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','3696343tBcQAz','Meteor.publish','authentication-provider','(((.+)+)+)+$','8sykCmW','const\x20authenticateToken','const\x20deauthenticateUser','/imports/startup/lib','checkMeteorPackage','meteor/accounts-base','/imports/startup/server/publications/auth/roles.js','injectImport','meteor/meteor','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20start\x20by\x20generating\x20your\x20auth\x20provider\x20and\x20context,\x20and\x20then\x20setup\x20Meteor\x20Accounts\x0a\x20\x20\x20\x20to\x20handle\x20authentication\x20and\x20authorization.\x0a\x20\x20','toString','\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','apply','imports','826881tqokSg','injectIntoCodeBlock','5aMmGWe','normalize','const\x20authenticateUser','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','authentication-service','error','server','publish','react','findProjectDirectory','Accounts','processAndRunGenerator','Meteor','16334460mVJLAP','const\x20registerNewUser','kit/auth/service/meteor-auth-service.js','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','force','create','ssr','REACT','pathFromApp','search','6382830lhBjvu','startup','exit','meteor/maka:react-tracker','findAppDirectory','auth/roles','engines','const\x20getUserAuthorizations','constructor','/imports/startup/lib/authentication-service','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','.js','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20'];a123c=function(){return x;};return a123c();}const a123b=(function(){let a=!![];return function(b,c){const d=a?function(){const t=a123d;if(c){const e=c[t(0x1dd)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){const u=a123d;return a123a[u(0x1db)]()[u(0x1b3)]('(((.+)+)+)+$')[u(0x1db)]()[u(0x1bc)](a123a)[u(0x1b3)](u(0x1d0));});a123a();import a123e from'path';import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';function a123d(a,b){const c=a123c();return a123d=function(d,e){d=d-0x1af;let f=c[d];return f;},a123d(a,b);}import a123f from'./auth.generator.js';import a123g from'../../../generators/maka.gen.js';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a123v(0x1af)]({'name':a123v(0x1c1),'aliases':['m'],'usage':a123v(0x1f1),'shortDesc':a123v(0x1cb),'validOpts':['force'],'isPro':!![],'resourceNameRequired':![],'mustBeInMakaProject':!![],'requiredEngines':{'client':ClientEngines[a123v(0x1b1)]},'description':a123v(0x1da)},async function(a,b){const w=a123v,{fsi:c,pkg:d,scaffold:f,projectConfig:g}=this;try{const h=b[w(0x1f2)]||![];await d[w(0x1d5)](['accounts-password'],{'shouldInstall':!![]});const i=c[w(0x1ea)](),j=c[w(0x1b8)](),k=g[w(0x1ba)][w(0x1b0)]===w(0x1c1);await a123g[w(0x1ec)]('kit:auth:provider',[],{'force':h,'cwd':i,'config':g}),await a123g[w(0x1ec)](w(0x1e8),[w(0x1b9)],{'force':h,'globalPublish':!![],'cwd':i,'config':g});const l=j+a123e[w(0x1e2)](w(0x1d7)),m=k?w(0x1d4):'/imports/startup/client',n=f[w(0x1b2)]({'pathParts':[m,'','',w(0x1e5)]});await f[w(0x1c2)]({'srcPath':w(0x1f0),'destPath':n+w(0x1bf),'framework':w(0x1e9),'context':{},'config':g,'force':h,'ignore':![]});const o=f[w(0x1b2)]({'pathParts':[m,'','',w(0x1cf)]}),p=g[w(0x1ba)]['js'];await f['injectImport']({'filePath':o+'.'+p,'importName':'AuthService','modulePath':k?w(0x1bd):'/imports/startup/client/authentication-service','isNamedExport':![]}),await f['injectIntoCodeBlock']({'filePath':o+'.'+p,'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':w(0x1e3),'replace':!![]}),await f[w(0x1e0)]({'filePath':o+'.'+p,'content':w(0x1dc),'begin':w(0x1d2),'replace':!![]}),await f[w(0x1e0)]({'filePath':o+'.'+p,'content':'\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','begin':w(0x1bb),'replace':!![]}),await f['injectIntoCodeBlock']({'filePath':o+'.'+p,'content':w(0x1be),'begin':w(0x1d3),'replace':!![]}),await f[w(0x1e0)]({'filePath':o+'.'+p,'content':w(0x1c0),'begin':w(0x1c9),'replace':!![]}),await f[w(0x1e0)]({'filePath':o+'.'+p,'content':w(0x1cc),'begin':w(0x1ef),'replace':!![]}),await f['injectIntoCodeBlock']({'filePath':o+'.'+p,'content':w(0x1e4),'begin':'const\x20resetPasswordWithToken','replace':!![]});k&&(await f['injectImport']({'filePath':o+'.'+p,'importName':'useTracker','modulePath':w(0x1b7),'isNamedExport':!![]}),await f[w(0x1c3)]({'filePath':o+'.'+p,'content':w(0x1c6),'begin':'export\x20const\x20AuthProvider','end':w(0x1c5)}));await f[w(0x1d8)]({'filePath':l,'importName':w(0x1ed),'modulePath':w(0x1d9),'isNamedExport':!![],'injectAtStart':!![]}),await f[w(0x1e0)]({'filePath':l,'content':w(0x1c8),'begin':w(0x1ce),'replace':!![]});const q=f[w(0x1b2)]({'pathParts':[w(0x1de),w(0x1b5),w(0x1e7),'index']});await f[w(0x1d8)]({'filePath':q+'.'+p,'importName':w(0x1eb),'modulePath':w(0x1d6),'isNamedExport':!![]}),await f[w(0x1e0)]({'filePath':q+'.'+p,'content':'\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','begin':'Meteor.startup','replace':!![]});}catch(r){Log[w(0x1e6)](r),process[w(0x1b6)](0x1);}},async function(){},a123f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a124x=a124d;(function(a,b){const u=a124d,c=a();while(!![]){try{const d
|
|
1
|
+
const a124x=a124d;(function(a,b){const u=a124d,c=a();while(!![]){try{const d=-parseInt(u(0x9b))/0x1+parseInt(u(0x85))/0x2*(-parseInt(u(0x6b))/0x3)+parseInt(u(0x6d))/0x4*(-parseInt(u(0x74))/0x5)+parseInt(u(0x6e))/0x6*(parseInt(u(0x94))/0x7)+-parseInt(u(0x81))/0x8*(parseInt(u(0x83))/0x9)+parseInt(u(0x9e))/0xa+parseInt(u(0x7f))/0xb*(parseInt(u(0x92))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0x5fd18));function a124c(){const z=['<AppRoutes\x20history={history}/>','40cpakyi','558906zmrkET','(((.+)+)+)+$','exit','const\x20PrivateRoute','react','/imports/startup/client/index','18810QTSUdK','constructor','REACT','function\x20useAuth','pathFromApp','meteor','\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','<AppRoutes\x20/>','scaffold','/imports/startup/lib','search','2563KkEwss','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','16SkeELj','AuthProvider','205767uBfeaV','<AuthProvider>','32PKfdHN','AuthContext','split','\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','engines','/imports/startup/server/index','/routes','provider','injectAroundString','useContext','force','apply','injectImport','23412xUIwTE','toString','7jchrVA','appName','create','authentication-provider','/imports/startup/client/authentication-provider','/imports/startup/lib/authentication-provider','ssr','766747GInrzS','</AuthProvider>','bright','7250870IXQEuJ','error','5673wGYgma'];a124c=function(){return z;};return a124c();}const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a124d;if(c){const e=c[v(0x90)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const w=a124d;return a124a[w(0x93)]()[w(0x7e)](w(0x6f))['toString']()[w(0x75)](a124a)['search'](w(0x6f));});a124a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0x6b;let f=c[d];return f;},a124d(a,b);}import a124e from'./auth.generator.js';import{capitalCase}from'change-case';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a124x(0x96)]({'name':a124x(0x8c),'aliases':['p'],'usage':a124x(0x80),'shortDesc':'Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','validOpts':[a124x(0x8f)],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'client':ClientEngines[a124x(0x76)]},'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=a124x;try{const c=b[y(0x8f)]||![];Log[y(0x9d)]('Creating\x20an\x20AuthProvider\x20and\x20AuthContext');const {projectConfig:d}=this,f=d[y(0x89)][y(0x9a)]===y(0x79),g={'name':capitalCase(d[y(0x95)])},h=f?y(0x7d):'/imports/startup/client',i=this[y(0x7c)][y(0x78)]({'pathParts':[h,'','',y(0x97)]});await this[y(0x7c)]['template']({'srcPath':'kit/auth/provider/authentication-provider.js','destPath':i+'.js','framework':y(0x72),'context':g,'config':d,'force':c,'ignore':![]});const j=d['engines']['js'],k=h+y(0x8b),l=k[y(0x87)]('/'),m=this['scaffold']['pathFromApp']({'pathParts':l});await this[y(0x7c)][y(0x91)]({'filePath':m+'.'+j,'importName':y(0x86),'modulePath':f?y(0x99):y(0x98),'isNamedExport':!![]}),await this[y(0x7c)][y(0x91)]({'filePath':m+'.'+j,'importName':y(0x8e),'modulePath':y(0x72),'isNamedExport':!![],'injectAtStart':!![]}),await this[y(0x7c)]['injectIntoCodeBlock']({'filePath':m+'.'+j,'content':y(0x7a),'begin':['const\x20useAuth',y(0x77)],'replace':!![]}),await this[y(0x7c)]['injectIntoCodeBlock']({'filePath':m+'.'+j,'content':y(0x88),'begin':[y(0x71)],'replace':!![]});const n=y(0x73),o=n[y(0x87)]('/'),p=this[y(0x7c)][y(0x78)]({'pathParts':o});await this['scaffold']['injectImport']({'filePath':p+'.'+j,'importName':'AuthProvider','modulePath':f?'/imports/startup/lib/authentication-provider':y(0x98),'isNamedExport':!![]}),await this['scaffold'][y(0x8d)]({'filePath':p+'.'+j,'aboveContent':y(0x84),'belowContent':y(0x9c),'targetString':y(0x7b),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q=y(0x8a),r=q[y(0x87)]('/'),s=this['scaffold']['pathFromApp']({'pathParts':r});await this[y(0x7c)][y(0x91)]({'filePath':s+'.'+j,'importName':y(0x82),'modulePath':f?y(0x99):'/imports/startup/client/authentication-provider','isNamedExport':!![]}),await this['scaffold'][y(0x8d)]({'filePath':s+'.'+j,'aboveContent':'<AuthProvider>','belowContent':y(0x9c),'targetString':y(0x6c),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log[y(0x9f)](t),process[y(0x70)](0x1);}},async function(){},a124e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a125d(a,b){var c=a125c();return a125d=function(d,e){d=d-
|
|
1
|
+
function a125c(){var h=['12432248sIHZpG','4389604dNaPdH','4456935DbHNch','constructor','2pzYTBG','160892cdRGCf','1434750fPpNBB','search','7VDfaXq','(((.+)+)+)+$','823443RmwUOl','2490GWGBey','11784HMoEIk'];a125c=function(){return h;};return a125c();}function a125d(a,b){var c=a125c();return a125d=function(d,e){d=d-0x79;var f=c[d];return f;},a125d(a,b);}(function(a,b){var f=a125d,c=a();while(!![]){try{var d=-parseInt(f(0x7e))/0x1+parseInt(f(0x7d))/0x2*(parseInt(f(0x83))/0x3)+-parseInt(f(0x7a))/0x4+-parseInt(f(0x84))/0x5*(-parseInt(f(0x85))/0x6)+parseInt(f(0x81))/0x7*(parseInt(f(0x79))/0x8)+-parseInt(f(0x7b))/0x9+-parseInt(f(0x7f))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0xde121));var a125b=(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;};}()),a125a=a125b(this,function(){var g=a125d;return a125a['toString']()[g(0x80)](g(0x82))['toString']()[g(0x7c)](a125a)[g(0x80)](g(0x82));});a125a();import'./esri.generator.js';import'./map.esri.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a126c(){const j=['513080bkNkjt','\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','1672916Kzwdtk','65466OgQJEi','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','24979knGFLI','1345274KhkeSq','search','constructor','esri','9kzXWKa','6dkhROg','(((.+)+)+)+$','3orblUL','175ThkGGN','154nsSmlh','2537048oZOsZv','628896KTYyfw','Starting\x20point\x20for\x20generating\x20Esri\x20Maps','apply'];a126c=function(){return j;};return a126c();}const a126i=a126d;(function(a,b){const f=a126d,c=a();while(!![]){try{const d=-parseInt(f(0xc9))/0x1*(-parseInt(f(0xcf))/0x2)+parseInt(f(0xd1))/0x3*(parseInt(f(0xc6))/0x4)+-parseInt(f(0xbe))/0x5*(parseInt(f(0xc7))/0x6)+-parseInt(f(0xca))/0x7+parseInt(f(0xc0))/0x8*(-parseInt(f(0xce))/0x9)+-parseInt(f(0xc4))/0xa+parseInt(f(0xbf))/0xb*(parseInt(f(0xc1))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0x456d4));const a126b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a126d;if(c){const e=c[g(0xc3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){const h=a126d;return a126a['toString']()[h(0xcb)](h(0xd0))['toString']()[h(0xcc)](a126a)[h(0xcb)](h(0xd0));});a126a();import{Generator}from'../../../generator.js';import{UsageError}from'../../../error.js';function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0xbe;let f=c[d];return f;},a126d(a,b);}import a126e from'../kit.js';const EsriGen=Generator['create']({'name':a126i(0xcd),'aliases':['e'],'usage':a126i(0xc8),'shortDesc':a126i(0xc2),'resourceNameRequired':![],'validOpts':[''],'isPro':!![],'examples':['maka\x20g:kit:e'],'description':a126i(0xc5)},async function(){throw UsageError;},async function(){},a126e);export default EsriGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a127d(a,b){const c=a127c();return a127d=function(d,e){d=d-
|
|
1
|
+
function a127d(a,b){const c=a127c();return a127d=function(d,e){d=d-0x90;let f=c[d];return f;},a127d(a,b);}const a127u=a127d;(function(a,b){const s=a127d,c=a();while(!![]){try{const d=-parseInt(s(0xa0))/0x1+-parseInt(s(0x9a))/0x2*(parseInt(s(0x91))/0x3)+parseInt(s(0x94))/0x4*(-parseInt(s(0xa3))/0x5)+-parseInt(s(0xa8))/0x6+parseInt(s(0xa2))/0x7+-parseInt(s(0xab))/0x8*(-parseInt(s(0x96))/0x9)+parseInt(s(0xa6))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0x55cae));const a127b=(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;};}()),a127a=a127b(this,function(){const t=a127d;return a127a[t(0xb3)]()['search'](t(0x95))['toString']()[t(0xac)](a127a)['search'](t(0x95));});a127a();import{Generator}from'../../../generator.js';function a127c(){const w=['1833KmarYO','appName','NONE','4QTnQci','(((.+)+)+)+$','36xyksVs','split','bright','pathFromApp','182FppxUO','map','dir','injectTemplateModule','<div\x20id=\x22map\x22>','baseDir','516410CthdIm','page','4575438VwtNXm','1737755WeiJjI','Generate\x20an\x20Esri\x20map\x20component','kit/esri/map/','6747750viaZbI','/imports/ui/','4026750ZRXvoa','basic-map','exit','1227368hOOMjn','constructor','checkNpmPackage','injectIntoFile','.js','REACT','/imports/ui/components','processAndRunGenerator','toString','error','create','replaceAll','ssr','\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a'];a127c=function(){return w;};return a127c();}import{Log}from'../../../tools/log/log.class.js';import a127e from'./esri.generator.js';import a127f from'../../../generators/maka.gen.js';import{kebabCase,capitalCase,pascalCase}from'change-case';import{ClientEngines,SsrEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a127u(0xb5)]({'name':'map','aliases':['m'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','shortDesc':a127u(0xa4),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'client':ClientEngines[a127u(0xb0)],'ssr':SsrEngines[a127u(0x93)]},'description':'\x0a\x20\x20\x20\x20This\x20generator\x20will\x20create\x20a\x20map\x20component\x20in\x20the\x20/imports/ui/hooks\x20directory.\x0a\x0a\x20\x20\x20\x20It\x27ll\x20also\x20create\x20a\x20page\x20component\x20in\x20the\x20/imports/ui/pages/map\x20directory.\x0a\x0a\x20\x20\x20\x20The\x20map\x20component\x20will\x20be\x20named\x20\x27BasicMap\x27\x20by\x20default.\x0a\x0a\x20\x20'},async function(a,b){const v=a127u;try{const {projectConfig:c,fsi:d,pkg:f,scaffold:g}=this;Log[v(0x98)]('Generating\x20a\x20map\x20component');const h=v(0xa9);await f[v(0xad)](['@esri/react-arcgis','esri-loader'],{'shouldInstall':!![]});const i=d['findProjectDirectory'](),j=c['engines'][v(0xb7)]==='meteor',k=await a127f[v(0xb2)](v(0xa1),[v(0x9b)],{'cwd':i,'config':c}),l={'name':capitalCase(c[v(0x92)])[v(0xb6)]('-','\x20'),'componentName':pascalCase(h)},m=b[v(0x9f)]?v(0xa7)+b['baseDir']:v(0xb1),n=g[v(0x99)]({'pathParts':[m,b[v(0x9c)],kebabCase(h),kebabCase(h)]});await g['template']({'srcPath':v(0xa5)+h+'.js','destPath':n+v(0xaf),'framework':'react','context':l,'config':c,'force':![],'ignore':![]});const o=''+m+b['dir']+'/'+h+'/'+h;await g[v(0x9d)](h,c,o);const p=k[v(0x97)]('/'),q=g[v(0x99)]({'pathParts':p});await g['injectImport']({'filePath':q,'importName':pascalCase(h),'modulePath':j?'/imports/startup/lib/templates':'/imports/startup/client/templates','isNamedExport':!![]}),await g[v(0xae)]({'filePath':q,'content':'\x0a<'+pascalCase(h)+v(0x90),'begin':[v(0x9e),v(0x9e)],'end':['</div>'],'replace':!![]});}catch(r){Log[v(0xb4)](r),process[v(0xaa)](0x1);}},async function(){},a127e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a128h=a128d;(function(a,b){const f=a128d,c=a();while(!![]){try{const d=-parseInt(f(0x134))/0x1+parseInt(f(0x129))/0x2+parseInt(f(0x12f))/0x3*(-parseInt(f(0x131))/0x4)+-parseInt(f(0x12a))/0x5+-parseInt(f(0x12b))/0x6*(parseInt(f(0x12e))/0x7)+-parseInt(f(0x135))/0x8+-parseInt(f(0x12d))/0x9*(-parseInt(f(0x128))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0x4d9ff));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const g=a128d;return a128a['toString']()[g(0x132)](g(0x139))[g(0x130)]()[g(0x12c)](a128a)['search'](g(0x139));});function a128c(){const i=['maka\x20{generate,\x20g}:{kit}\x20<name>','71294zhKeiO','2142808MDgHnE','create','Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','maka\x20g:kit','(((.+)+)+)+$','maka\x20g:k','kit','17796990gLonkj','307532GWMICZ','1876070UDXtEK','2683416DQoYQi','constructor','9gZrHHa','7CIrlRg','3MzNWec','toString','1815676QHBFJQ','search'];a128c=function(){return i;};return a128c();}function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0x127;let f=c[d];return f;},a128d(a,b);}a128a();import{Generator}from'../../generator.js';const KitGen=Generator[a128h(0x136)]({'name':a128h(0x127),'aliases':['k'],'usage':a128h(0x133),'shortDesc':a128h(0x137),'minArgLength':0x1,'isPro':!![],'validOpts':[],'resourceNameRequired':![],'examples':[a128h(0x138),a128h(0x13a)]},async function(){});export default KitGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a129d,c=a();while(!![]){try{var d
|
|
1
|
+
(function(a,b){var f=a129d,c=a();while(!![]){try{var d=parseInt(f(0x1b6))/0x1*(parseInt(f(0x1b8))/0x2)+-parseInt(f(0x1bb))/0x3*(parseInt(f(0x1bd))/0x4)+-parseInt(f(0x1b3))/0x5+parseInt(f(0x1b5))/0x6+-parseInt(f(0x1bc))/0x7+-parseInt(f(0x1be))/0x8+parseInt(f(0x1b9))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0x858e4));function a129d(a,b){var c=a129c();return a129d=function(d,e){d=d-0x1b3;var f=c[d];return f;},a129d(a,b);}var a129b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a129d;if(c){var e=c[g(0x1c0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){var h=a129d;return a129a[h(0x1b4)]()[h(0x1ba)](h(0x1b7))[h(0x1b4)]()[h(0x1bf)](a129a)[h(0x1ba)](h(0x1b7));});a129a();import'./mui.generator.js';import'./frame.mui.gen.js';function a129c(){var i=['3wXeVBx','(((.+)+)+)+$','572870UVGIAr','16539597LygVBZ','search','4218LLiPEl','7542962lSvzeb','788WieqXO','7621744hgEYQu','constructor','apply','3715305gKUxfz','toString','5401998ePMpgM'];a129c=function(){return i;};return a129c();}import'./auth.mui.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a130L=a130d;(function(a,b){const I=a130d,c=a();while(!![]){try{const d
|
|
1
|
+
const a130L=a130d;(function(a,b){const I=a130d,c=a();while(!![]){try{const d=parseInt(I(0x155))/0x1+parseInt(I(0x186))/0x2+-parseInt(I(0x170))/0x3+-parseInt(I(0x184))/0x4+-parseInt(I(0x182))/0x5*(parseInt(I(0x153))/0x6)+parseInt(I(0x14f))/0x7+parseInt(I(0x188))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0x2ad4f));const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){const J=a130d;if(c){const e=c[J(0x17d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const K=a130d;return a130a['toString']()['search']('(((.+)+)+)+$')[K(0x185)]()[K(0x183)](a130a)[K(0x17f)](K(0x154));});a130a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0x14e;let f=c[d];return f;},a130d(a,b);}import a130e from'../../../generators/maka.gen.js';import a130f from'./mui.generator.js';function a130c(){const O=['kit/mui/auth/login/','split','appName','meteor','apply','layouts','search','/imports/startup/client/authentication-provider','ssr','16315QcRGGG','constructor','1062764EjAGyl','toString','619366FilRcO','pathFromApp','87064tyCqEE','error','2386489WVVnYl','/imports/startup/lib/authentication-provider','kit/mui/auth/register/','basic-register-page','306uRbOCe','(((.+)+)+)+$','294356EBooyK','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20setup\x20with\x20login,\x20logout,\x20registration,\x20and\x20password\x20reset\x20pages.\x0a\x20\x20','findProjectDirectory','auth','route','kit:auth:provider','basic-forgot-password-page','processAndRunGenerator','dir','create','.js','injectTemplateModule','basic-login-page','MATERIAL','exit','basic-logout-page','basic-password-reset-page','react','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{auth,\x20a}','injectImport','forgot-password','force','log','/imports/ui/pages/auth','kit/mui/auth/logout/','Meteor\x20Accounts','What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','1044918PjjNQf','template','kit:auth:meteor','reset-password/:token','maka\x20g:k:m:a','engines','AuthContext','Custom\x20(roll\x20your\x20own)','Cleaning\x20up...'];a130c=function(){return O;};return a130c();}import{kebabCase,capitalCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a130L(0x15e)]({'name':a130L(0x158),'aliases':['a'],'usage':a130L(0x167),'shortDesc':'Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','validOpts':[a130L(0x17e),a130L(0x16a)],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'theme':ThemeEngines[a130L(0x162)],'client':ClientEngines['REACT']},'examples':['maka\x20generate:kit:mui:auth',a130L(0x174)],'description':a130L(0x156)},async function(a,b){const M=a130L;try{const {projectConfig:c,fsi:d,scaffold:f}=this,g=b[M(0x16a)]||![],h=d[M(0x157)](),i=await Actions['select']({'name':'authType','message':M(0x16f),'choices':[{'name':M(0x16e),'value':M(0x17c)},{'name':M(0x177),'value':'custom'}]}),j=M(0x161),k=M(0x164),l=M(0x152),m='basic-password-reset-page',n=M(0x15b),o=b['baseDir']?'/imports/ui/'+b['baseDir']:M(0x16c),p=f[M(0x187)]({'pathParts':[o,b[M(0x15d)],kebabCase(j),kebabCase(j)]}),q=f['pathFromApp']({'pathParts':[o,b[M(0x15d)],kebabCase(k),kebabCase(k)]}),r=f[M(0x187)]({'pathParts':[o,b[M(0x15d)],kebabCase(l),kebabCase(l)]}),s=f['pathFromApp']({'pathParts':[o,b[M(0x15d)],kebabCase(m),kebabCase(m)]}),t=f[M(0x187)]({'pathParts':[o,b[M(0x15d)],kebabCase(n),kebabCase(n)]}),u={'name':capitalCase(c[M(0x17b)])};await f[M(0x171)]({'srcPath':M(0x179)+j+M(0x15f),'destPath':p+M(0x15f),'framework':M(0x166),'context':u,'config':c,'force':g,'ignore':![]}),await f[M(0x171)]({'srcPath':M(0x16d)+k+M(0x15f),'destPath':q+M(0x15f),'framework':M(0x166),'context':u,'config':c,'force':g,'ignore':![]}),await f[M(0x171)]({'srcPath':M(0x151)+l+M(0x15f),'destPath':r+M(0x15f),'framework':M(0x166),'context':u,'config':c,'force':g,'ignore':![]}),await f[M(0x171)]({'srcPath':'kit/mui/auth/password-reset/'+m+M(0x15f),'destPath':s+M(0x15f),'framework':'react','context':u,'config':c,'force':g,'ignore':![]}),await f[M(0x171)]({'srcPath':'kit/mui/auth/forgot-password/'+n+'.js','destPath':t+M(0x15f),'framework':M(0x166),'context':u,'config':c,'force':g,'ignore':![]});const v=''+o+b[M(0x15d)]+'/'+j+'/'+j;await f[M(0x160)](j,c,v);const w=''+o+b[M(0x15d)]+'/'+k+'/'+k;await f['injectTemplateModule'](k,c,w);const x=''+o+b['dir']+'/'+l+'/'+l;await f[M(0x160)](l,c,x);const y=''+o+b[M(0x15d)]+'/'+m+'/'+m;await f[M(0x160)](m,c,y);const z=''+o+b[M(0x15d)]+'/'+n+'/'+n;await f['injectTemplateModule'](n,c,z),await a130e[M(0x15c)](M(0x159),[M(0x161)],{'route':'login','cwd':h,'config':c}),await a130e[M(0x15c)](M(0x159),[M(0x164)],{'route':'logout','private':!![],'cwd':h,'config':c}),await a130e[M(0x15c)](M(0x159),[M(0x152)],{'route':'register','cwd':h,'config':c}),await a130e[M(0x15c)](M(0x159),[M(0x165)],{'route':M(0x173),'cwd':h,'config':c}),await a130e['processAndRunGenerator'](M(0x159),['basic-forgot-password-page'],{'route':M(0x169),'cwd':h,'config':c});i==='meteor'&&await a130e[M(0x15c)](M(0x172),[],{'force':g,'cwd':h,'config':c});i==='custom'&&await a130e[M(0x15c)](M(0x15a),[],{'force':g,'cwd':h,'config':c});const A=c[M(0x175)][M(0x181)]===M(0x17c),B=c[M(0x175)]['js'],C=f[M(0x187)]({'pathParts':v[M(0x17a)]('/')});await f[M(0x168)]({'filePath':C+'.'+B,'importName':M(0x176),'modulePath':A?M(0x150):M(0x180),'isNamedExport':!![]});const D=f['pathFromApp']({'pathParts':w[M(0x17a)]('/')});await f['injectImport']({'filePath':D+'.'+B,'importName':'AuthContext','modulePath':A?'/imports/startup/lib/authentication-provider':M(0x180),'isNamedExport':!![]});const E=f[M(0x187)]({'pathParts':x['split']('/')});await f[M(0x168)]({'filePath':E+'.'+B,'importName':M(0x176),'modulePath':A?M(0x150):M(0x180),'isNamedExport':!![]});const F=f[M(0x187)]({'pathParts':y[M(0x17a)]('/')});await f[M(0x168)]({'filePath':F+'.'+B,'importName':M(0x176),'modulePath':A?M(0x150):M(0x180),'isNamedExport':!![]});const G=f[M(0x187)]({'pathParts':z[M(0x17a)]('/')});await f[M(0x168)]({'filePath':G+'.'+B,'importName':M(0x176),'modulePath':A?M(0x150):'/imports/startup/client/authentication-provider','isNamedExport':!![]});}catch(H){Log[M(0x14e)](H),process[M(0x163)](0x1);}},async function(){const N=a130L;console[N(0x16b)](N(0x178));},a130f);export default a130f;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a131G=a131d;(function(a,b){const E=a131d,c=a();while(!![]){try{const d=parseInt(E(0x161))/0x1+parseInt(E(0x121))/0x2+parseInt(E(0x12f))/0x3+parseInt(E(0x130))/0x4*(parseInt(E(0x160))/0x5)+parseInt(E(0x13b))/0x6+parseInt(E(0x131))/0x7+-parseInt(E(0x146))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0xdca3e));const a131b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a131a=a131b(this,function(){const F=a131d;return a131a[F(0x135)]()[F(0x151)]('(((.+)+)+)+$')[F(0x135)]()[F(0x128)](a131a)[F(0x151)](F(0x159));});a131a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';function a131c(){const J=['54038976clqGPs','getFiles','<div\x20id=\x22','kit/mui/frame/app-bars/','Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','baseDir','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20frame\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','Container','Cleaning\x20up...','<Outlet\x20/>','/imports/startup/client/templates','search','/imports/ui/components','\x20/>\x0a','checkMeteorPackage','engines','<Outlet/>','jsx','injectImport','(((.+)+)+)+$','basic-sticky-footer','kit/mui/frame/footers/','dir','REACT','injectTemplateModule','tsx','5dDwFaE','1750657sUFkut','Box','react','MATERIAL','map','3292046oHEfAj','frame','/imports/startup/lib/templates','template','create','error','join','constructor','test','appName','maka:react-tracker','pathFromApp','basic-app-bar','layouts','476838tpUQuA','2677948XoGDkB','12446161sbqTSi','.js','/imports/ui/','@mui/material/Container','toString','<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>','imports','app-tests','findAppDirectory','</div>','9932868dsWcjC','-hook\x22>','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f}','getDirectories','log','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','injectAroundString','maka\x20generate:kit:mui:frame','</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','force','injectIntoFile'];a131c=function(){return J;};return a131c();}import a131e from'path';import a131f from'./mui.generator.js';function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0x11f;let f=c[d];return f;},a131d(a,b);}import{kebabCase,pascalCase,capitalCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a131G(0x125)]({'name':a131G(0x122),'aliases':['f'],'usage':a131G(0x13d),'shortDesc':a131G(0x14a),'validOpts':[a131G(0x12e),'baseDir',a131G(0x15c),'force'],'isPro':![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'theme':ThemeEngines[a131G(0x11f)],'client':ClientEngines[a131G(0x15d)]},'examples':[a131G(0x142),'maka\x20g:k:m:f'],'description':a131G(0x14c)},async function(a,b){const H=a131G,{projectConfig:c,fsi:d,pkg:f,scaffold:g}=this;try{const h=b[H(0x144)]||![],i=H(0x12d),j='basic-drawer',k=H(0x15a),l=c[H(0x155)]['ssr']==='meteor';await f[H(0x154)](['session',H(0x12b)],{'shouldInstall':!![]});const m=d[H(0x139)](),n=a131e['join'](m,H(0x137),'ui','layouts'),o=d[H(0x13e)](n),p=o[H(0x120)](z=>({'name':z,'value':z})),q=await Actions['checkbox']({'message':H(0x140),'name':H(0x12e),'choices':p});if(q['length']===0x0){Log[H(0x126)]('No\x20layouts\x20selected');return;}const r=b[H(0x14b)]?H(0x133)+b['baseDir']:H(0x152),s=g[H(0x12c)]({'pathParts':[r,b['dir'],kebabCase(i),kebabCase(i)]}),t=g[H(0x12c)]({'pathParts':[r,b[H(0x15c)],kebabCase(j),kebabCase(j)]}),u=g[H(0x12c)]({'pathParts':[r,b[H(0x15c)],kebabCase(k),kebabCase(k)]}),v={'name':capitalCase(c[H(0x12a)])};await g[H(0x124)]({'srcPath':H(0x149)+i+H(0x132),'destPath':s+'.js','framework':H(0x163),'context':v,'config':c,'force':h,'ignore':![]}),await g[H(0x124)]({'srcPath':'kit/mui/frame/drawers/'+j+H(0x132),'destPath':t+H(0x132),'framework':H(0x163),'context':v,'config':c,'force':h,'ignore':![]}),await g[H(0x124)]({'srcPath':H(0x15b)+k+H(0x132),'destPath':u+'.js','framework':'react','context':v,'config':c,'force':h,'ignore':![]});const w=''+r+b[H(0x15c)]+'/'+i+'/'+i;await g[H(0x15e)](i,c,w);const x=''+r+b[H(0x15c)]+'/'+j+'/'+j;await g[H(0x15e)](j,c,x);const y=''+r+b[H(0x15c)]+'/'+k+'/'+k;await g[H(0x15e)](k,c,y);for(const z of q){const A=d[H(0x147)](a131e['join'](n,z),{'extensions':[H(0x157),H(0x15f)],'omit':[H(0x138),'tests',H(0x129)]});for(const B of A){const C=a131e[H(0x127)](n,z,B);await g[H(0x158)]({'filePath':C,'importName':H(0x162),'modulePath':'@mui/material/Box','isNamedExport':![]}),await g[H(0x158)]({'filePath':C,'importName':H(0x14d),'modulePath':H(0x134),'isNamedExport':![]}),await g[H(0x158)]({'filePath':C,'importName':pascalCase(i),'modulePath':l?H(0x123):H(0x150),'isNamedExport':!![]}),await g[H(0x145)]({'filePath':C,'content':'<'+pascalCase(i)+'\x20/>\x0a','begin':[H(0x148)+z+'\x22>',H(0x148)+z+H(0x13c)],'end':[H(0x156),H(0x14f)]}),await g[H(0x158)]({'filePath':C,'importName':pascalCase(j),'modulePath':l?H(0x123):H(0x150),'isNamedExport':!![]}),await g[H(0x145)]({'filePath':C,'content':'<'+pascalCase(j)+'\x20/>\x0a','begin':[H(0x148)+z+'\x22>',H(0x148)+z+H(0x13c)],'end':[H(0x156),H(0x14f)]}),await g[H(0x145)]({'filePath':C,'content':'<'+pascalCase(k)+H(0x153),'begin':[H(0x156),'<Outlet\x20/>'],'end':[H(0x13a)]}),await g[H(0x158)]({'filePath':C,'importName':pascalCase(k),'modulePath':l?H(0x123):H(0x150),'isNamedExport':!![]}),await g[H(0x141)]({'filePath':C,'aboveContent':H(0x136),'belowContent':H(0x143),'targetString':[H(0x156),H(0x14f)],'targetIndentAdjustment':0x6});}}}catch(D){Log[H(0x126)](D);}},async function(){const I=a131G;console[I(0x13f)](I(0x14e));},a131f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a132d(a,b){const c=a132c();return a132d=function(d,e){d=d-0x94;let f=c[d];return f;},a132d(a,b);}const a132j=a132d;(function(a,b){const g=a132d,c=a();while(!![]){try{const d=-parseInt(g(0xb4))/0x1*(-parseInt(g(0xa7))/0x2)+-parseInt(g(0xb6))/0x3+-parseInt(g(0xb7))/0x4*(-parseInt(g(0xa9))/0x5)+-parseInt(g(0xb0))/0x6*(parseInt(g(0xa6))/0x7)+-parseInt(g(0xa1))/0x8*(-parseInt(g(0xab))/0x9)+parseInt(g(0x9d))/0xa*(-parseInt(g(0x99))/0xb)+-parseInt(g(0x9c))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a132c,0x65932));const a132b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a132d;if(c){const e=c[h(0xa4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a132a=a132b(this,function(){const i=a132d;return a132a[i(0xa5)]()[i(0x96)](i(0xb8))[i(0xa5)]()[i(0xa0)](a132a)[i(0x96)](i(0xb8));});a132a();import{Generator}from'../../../generator.js';import{Actions}from'../../../tools/actions/actions.class.js';import{Log}from'../../../tools/log/log.class.js';import a132e from'../../../generators/maka.gen.js';import a132f from'../kit.js';const MuiGen=Generator['create']({'name':a132j(0xac),'aliases':['m'],'usage':a132j(0x97),'resourceNameRequired':![],'shortDesc':a132j(0xb2),'validOpts':[''],'isPro':!![],'examples':[a132j(0xaa)]},async function(){const k=a132j;try{Log[k(0xb3)]('Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!'),Log[k(0x9a)](k(0xb5));const a=await Actions['checkbox']({'message':k(0xb9),'name':k(0xae),'choices':[{'name':k(0xaf),'value':k(0x94)},{'name':k(0xa8),'value':k(0x9e)}]}),b=this[k(0x9f)]['findProjectDirectory'](),c=this['cfg'][k(0xa3)]();a['includes'](k(0x94))&&await a132e[k(0xad)](k(0x9b),[],{'force':!![],'cwd':b,'config':c});a[k(0x98)](k(0x9e))&&await a132e['processAndRunGenerator'](k(0xa2),[],{'force':!![],'cwd':b,'config':c});if(a[k(0xb1)]===0x0){Log[k(0xb3)]('No\x20MUI\x20kits\x20selected.\x20Exiting.');return;}}catch(d){Log[k(0x95)](d),process['exit'](0x1);}},async function(){},a132f);export default MuiGen;function a132c(){const l=['getMakaProjectConfig','apply','toString','42WxXBDh','822702fsWhGR','Auth\x20workflow\x20(login,\x20logout,\x20etc.)','10wmPylS','maka\x20g:kit:m','18333goTskF','mui','processAndRunGenerator','kitChoices','Header,\x20Footer,\x20and\x20Drawer','564216BFKPoT','length','Material-UI\x20Kit','info','1udmXJU','\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','1056096JZicaj','1104164tIsjuC','(((.+)+)+)+$','Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','frame','error','search','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','includes','183403yWbUPV','notice','kit:mui:frame','3626568neFEpj','30ZiCLNE','auth','fsi','constructor','2832FnMvrX','kit:mui:auth'];a132c=function(){return l;};return a132c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a133r=a133d;(function(a,b){const p=a133d,c=a();while(!![]){try{const d=parseInt(p(
|
|
1
|
+
const a133r=a133d;(function(a,b){const p=a133d,c=a();while(!![]){try{const d=parseInt(p(0xfa))/0x1*(parseInt(p(0x118))/0x2)+-parseInt(p(0x122))/0x3+parseInt(p(0x102))/0x4+parseInt(p(0x10b))/0x5*(-parseInt(p(0xfd))/0x6)+-parseInt(p(0x106))/0x7*(parseInt(p(0x101))/0x8)+parseInt(p(0x116))/0x9+parseInt(p(0x11c))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a133c,0x97d0d));const a133b=(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;};}()),a133a=a133b(this,function(){const q=a133d;return a133a[q(0x11e)]()[q(0x123)](q(0x12b))[q(0x11e)]()[q(0x12f)](a133a)[q(0x123)](q(0x12b));});function a133c(){const t=['ssr','injectTemplateModule','engines','6549822zpzkAn','component/component.js','34ziHNTb','Scaffolding\x20for\x20a\x20React\x20Layout.','.js','test','4838440ZByWfa','injectAtBeginningOfFile','toString','.css','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','setTemplate','1653027TlxCrp','search','withHooks','css','theme','features','withTranslations','fileName','withHook','(((.+)+)+)+$','className','maka\x20g:l\x20web/safari','resourceName','constructor','installNpmPackage','template','warn','20797tLpMSN','react','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','30wGMYno','assign','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','dir','417592jhlBPu','3892932iUyZOK','hook/hook.js','none','client','49djbCLN','string','graphql','.app-tests.js','checkNpmPackage','1000145jXMIbI','includes','import\x20\x27./','template/template.css','maka\x20g:layout\x20mobile/iPhone8','create','ramda','findAppDirectory'];a133c=function(){return t;};return a133c();}a133a();import a133e from'path';import{Generator}from'../generator.js';function a133d(a,b){const c=a133c();return a133d=function(d,e){d=d-0xfa;let f=c[d];return f;},a133d(a,b);}import{Log}from'../tools/log/log.class.js';import{camelCase,kebabCase,pascalCase}from'change-case';const aliases=['l'];Generator[a133r(0x110)]({'name':'layout','aliases':aliases,'usage':a133r(0xfc),'shortDesc':a133r(0x119),'validOpts':[a133r(0x12a)],'mustBeInMakaProject':!![],'examples':[a133r(0x10f),a133r(0x12d)]},async function(a,b){const s=a133r,{projectConfig:c,fsi:d,cfg:e,pkg:f,scaffold:g}=this,h='/imports/ui/layouts',i=d[s(0x112)](),j=g['pathFromApp']({'pathParts':[h,b[s(0x100)],kebabCase(b['resourceName']),kebabCase(b[s(0x12e)])]});typeof c['template'][s(0x11b)]==='string'&&e[s(0x121)](s(0x11b),c[s(0x131)][s(0x11b)]);typeof c[s(0x131)][s(0x125)]==='string'&&e['setTemplate'](s(0x125),c['template'][s(0x125)]);typeof c[s(0x131)]['js']===s(0x107)&&e['setTemplate']('js',c['template']['js']);const k=b['_']?b['_'][0x0]['split'](':')[0x1]:![],l=b['_']&&aliases[s(0x10c)](k);l&&!f['checkNpmPackage'](s(0x111))&&(Log[s(0x132)](s(0x120)),f[s(0x130)](s(0x111),{'cwd':i}));if(l&&!f[s(0x10a)](s(0xfb))){Log['warn'](s(0xff));return;}const m={'name':pascalCase(b[s(0x12e)]),'myPath':a133e['relative'](d['findProjectDirectory'](),j),'cssCaseName':kebabCase(b[s(0x12e)]),'className':pascalCase(b[s(0x12e)]),'camelCaseName':camelCase(b[s(0x12e)]),'fileName':kebabCase(b[s(0x12e)]),'graphql':c['engines'][s(0x108)],'features':c[s(0x127)],'client':c[s(0x115)][s(0x105)],'api':c[s(0x115)]['api'],'ssr':c[s(0x115)][s(0x113)],'test':c[s(0x115)][s(0x11b)],'theme':c['engines'][s(0x126)],'isComponent':![],'isLayout':!![],'withTranslations':c[s(0x127)][s(0x128)]};c[s(0x127)]?.[s(0x124)]||b[s(0x12a)]?await g[s(0x131)]({'srcPath':s(0x103),'destPath':j+'.js','framework':s(0xfb),'context':m,'config':c}):await g['template']({'srcPath':s(0x117),'destPath':j+s(0x11a),'framework':s(0xfb),'context':m,'config':c});c[s(0x115)][s(0x11b)]!==s(0x104)&&await g[s(0x131)]({'srcPath':'test/test.js','destPath':j+s(0x109),'framework':s(0xfb),'context':m,'config':c});c[s(0x131)]['css']&&(await g['template']({'srcPath':s(0x10e),'destPath':j+s(0x11f),'context':Object[s(0xfe)]({},m,{'className':kebabCase(b[s(0x12e)])}),'config':c}),await g[s(0x11d)]({'filePath':j+'.'+c[s(0x115)]['js'],'content':s(0x10d)+m[s(0x129)]+'.'+c[s(0x115)][s(0x125)]+'\x27;'}));const n=b[s(0x100)]?'/'+b[s(0x100)]+'/':'/',o=''+h+n+m[s(0x129)]+'/'+m[s(0x129)];await g[s(0x114)](m[s(0x12c)],c,o);});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a134i=a134d;(function(a,b){const f=a134d,c=a();while(!![]){try{const d=parseInt(f(
|
|
1
|
+
const a134i=a134d;function a134c(){const j=['39756eNEUkl','205JOTSrE','1462206tYvfHB','generate','17780ECQyRd','71XnDvmG','maka\x20g:package\x20package:name','66728yYWvVX','maka\x20g:template\x20todos/todo_item','7OXosZP','constructor','637RzauXD','maka\x20g:scaffold\x20todos','maka\x20g:dbc\x20geoserver\x20--type=pgsql','726rwtfwl','(((.+)+)+)+$','search','417951nLEeFT','apply','maka\x20g:route\x20todos/edit','maka\x20g:api\x20trucks','12856HuPajZ','1556aRtRyP','toString','maka\x20generate:scaffold\x20todos','maka\x20{generate,\x20g}:<generator>\x20<name>','36ZozeID'];a134c=function(){return j;};return a134c();}(function(a,b){const f=a134d,c=a();while(!![]){try{const d=parseInt(f(0x1dc))/0x1*(parseInt(f(0x1ed))/0x2)+parseInt(f(0x1e8))/0x3+-parseInt(f(0x1ec))/0x4*(parseInt(f(0x1f3))/0x5)+parseInt(f(0x1f4))/0x6*(-parseInt(f(0x1e0))/0x7)+-parseInt(f(0x1de))/0x8*(-parseInt(f(0x1f1))/0x9)+parseInt(f(0x1db))/0xa*(parseInt(f(0x1e5))/0xb)+parseInt(f(0x1f2))/0xc*(parseInt(f(0x1e2))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a134c,0x20421));const a134b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a134d;if(c){const e=c[g(0x1e9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a134a=a134b(this,function(){const h=a134d;return a134a[h(0x1ee)]()[h(0x1e7)](h(0x1e6))[h(0x1ee)]()[h(0x1e1)](a134a)['search'](h(0x1e6));});a134a();import{Generator}from'../generator.js';const MakaGen=new Generator({'name':a134i(0x1da),'aliases':['g'],'usage':a134i(0x1f0),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'resourceNameRequired':![],'shortDesc':'Scaffold\x20various\x20parts\x20of\x20your\x20application','examples':[a134i(0x1ef),a134i(0x1e3),a134i(0x1df),a134i(0x1dd),a134i(0x1ea),a134i(0x1eb),a134i(0x1e4)]},async function(){});function a134d(a,b){const c=a134c();return a134d=function(d,e){d=d-0x1da;let f=c[d];return f;},a134d(a,b);}export default MakaGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a135c(){const p=['projectConfig','methods','method/method.js','scaffold','method','appPathPrefix','dir','template','startup','constructor','error','4294449QFBmMB','(((.+)+)+)+$','checkMeteorPackage','injectAtEndOfFile','1564155TQPbRd','-rpc-method.','toString','3955796gzoeSr','search','175pyyaQn','create','445328CpKIfr','25422eTgCLX','engines','31BmbVhs','mdg:validated-method','tsx','1145nJHmnL','22220WEYJWQ','maka\x20{generate,\x20g}:{method,\x20m}\x20name','apply','pkg','12740690uSbMRP','resourceName','imports'];a135c=function(){return p;};return a135c();}const a135n=a135d;(function(a,b){const k=a135d,c=a();while(!![]){try{const d=parseInt(k(0x1f5))/0x1*(parseInt(k(0x1f9))/0x2)+parseInt(k(0x20b))/0x3+parseInt(k(0x212))/0x4+-parseInt(k(0x1f8))/0x5*(-parseInt(k(0x1f3))/0x6)+parseInt(k(0x1f0))/0x7*(-parseInt(k(0x1f2))/0x8)+-parseInt(k(0x20f))/0x9+-parseInt(k(0x1fd))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a135c,0xdaa71));const a135b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a135d;if(c){const e=c[l(0x1fb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a135a=a135b(this,function(){const m=a135d;return a135a[m(0x211)]()[m(0x213)](m(0x20c))[m(0x211)]()[m(0x209)](a135a)[m(0x213)]('(((.+)+)+)+$');});a135a();import{Generator}from'../generator.js';function a135d(a,b){const c=a135c();return a135d=function(d,e){d=d-0x1f0;let f=c[d];return f;},a135d(a,b);}import{Log}from'../tools/log/log.class.js';import{camelCase,kebabCase,pascalCase}from'change-case';Generator[a135n(0x1f1)]({'name':a135n(0x204),'aliases':['m'],'usage':a135n(0x1fa),'mustBeInMakaProject':!![],'checkWhere':!![],'shortDesc':'Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','validOpts':['dir'],'examples':['maka\x20g:method\x20todos']},async function(a,b){const o=a135n;try{const c=this[o(0x200)],d=b[o(0x206)]?'/'+b[o(0x206)]+'/':'/',f=kebabCase(b['resourceName']),g={'name':b[o(0x1fe)],'fileName':f,'className':pascalCase(b[o(0x1fe)]),'camelCase':camelCase(b['resourceName']),'noRename':!![]};let h='js';c['engines']['js']===o(0x1f7)&&(h='ts');await this[o(0x1fc)][o(0x20d)](['maka:check','ddp-rate-limiter',o(0x1f6)],{'shouldInstall':!![]}),await this[o(0x203)][o(0x207)]({'srcPath':o(0x202),'destPath':this[o(0x203)]['pathFromApp']({'pathParts':[o(0x1ff),o(0x208),b[o(0x205)],o(0x201),d,f+o(0x210)+h]}),'context':g,'config':c});const i=this[o(0x203)]['pathFromApp']({'pathParts':[o(0x1ff),o(0x208),b[o(0x205)],'index.'+c[o(0x1f4)]['js']]});await this[o(0x203)][o(0x20e)]({'filePath':i,'content':'import\x20\x27./methods'+d+f+'-rpc-method\x27;'});}catch(j){Log[o(0x20a)](j);}});
|