@maka/maka-cli 5.1.7 → 5.1.9
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=-parseInt(k(
|
|
1
|
+
const a117n=a117d;(function(a,b){const k=a117d,c=a();while(!![]){try{const d=-parseInt(k(0x1ff))/0x1+-parseInt(k(0x1ed))/0x2+parseInt(k(0x208))/0x3+parseInt(k(0x20f))/0x4*(-parseInt(k(0x202))/0x5)+-parseInt(k(0x1fa))/0x6*(parseInt(k(0x1f3))/0x7)+-parseInt(k(0x20c))/0x8*(-parseInt(k(0x1f9))/0x9)+parseInt(k(0x200))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0xab747));const a117b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a117d;if(c){const e=c[l(0x1f5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){const m=a117d;return a117a[m(0x213)]()[m(0x20b)](m(0x1f2))['toString']()[m(0x1f4)](a117a)[m(0x20b)](m(0x1f2));});function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0x1e5;let f=c[d];return f;},a117d(a,b);}a117a();import{camelCase,kebabCase,pascalCase}from'change-case';import{Generator}from'../generator.js';function a117c(){const p=['resourceName','1122351RluVVh','9420970hggZcC','injectAtEndOfFile','495ijaQXv','conn.','imports','type','index.','server','3590700wewmpZ','dbc','-dbc.','search','149056kPhIPf','maka\x20g:dbc\x20azure\x20--type=mssql','engines','11344TnGrmg','scaffold','dir','pkg','toString','dbc/register-dbc.js','pathFromApp','register-','create','better-sqlite3','config.','import\x20\x27./register-','dbc/config.js','checkNpmPackage','197810JYUyks','pgsql','-dbc\x27;','mssql','dbc/conn.js','(((.+)+)+)+$','1206107iPPufF','constructor','apply','maka\x20{generate,\x20g}:{dbc}\x20<connection-name>','template','projectConfig','198tpLyIa','12OTdHsH','Scaffolding\x20for\x20creating\x20a\x20for\x20a\x20database\x20connection.','sqlite','startup'];a117c=function(){return p;};return a117c();}import{Log}from'../tools/log/log.class.js';Generator[a117n(0x1e7)]({'name':a117n(0x209),'usage':a117n(0x1f6),'shortDesc':a117n(0x1fb),'validOpts':[a117n(0x211)],'mustBeInMakaProject':!![],'requiredOpts':[{'name':'type','values':['pgsql',a117n(0x1f0),'sqlite']}],'examples':['maka\x20g:dbc\x20geoserver\x20--type=pgsql',a117n(0x20d),'maka\x20g:dbc\x20todos\x20--type=sqlite']},async function(a,b){const o=a117n;try{const c=this[o(0x1f8)],d=kebabCase(b[o(0x1fe)]),f={'name':pascalCase(b[o(0x1fe)]),'fileName':kebabCase(b['resourceName']),'camelCase':camelCase(b[o(0x1fe)]),'type':b[o(0x205)],'engine':c[o(0x20e)]['js'],'noRename':!![]},g=b[o(0x211)]?'/'+b['dir']+'/':'/';let h='js';c[o(0x20e)]['js']==='tsx'&&(h='ts');b[o(0x205)]===o(0x1ee)&&await this['pkg']['checkNpmPackage']('pg',{'shouldInstall':!![]});b[o(0x205)]===o(0x1f0)&&await this[o(0x212)][o(0x1ec)](o(0x1f0),{'shouldInstall':!![]});b['type']===o(0x1fc)&&await this['pkg'][o(0x1ec)](o(0x1e8),{'shouldInstall':!![]});await this[o(0x210)][o(0x1f7)]({'srcPath':o(0x1eb),'destPath':this[o(0x210)]['pathFromApp']({'pathParts':[o(0x204),'startup',o(0x207),o(0x209),g,d,o(0x1e9)+h]}),'context':f,'config':c}),await this[o(0x210)][o(0x1f7)]({'srcPath':o(0x1f1),'destPath':this[o(0x210)][o(0x1e5)]({'pathParts':['imports',o(0x1fd),o(0x207),o(0x209),g,d,o(0x203)+h]}),'context':f,'config':c}),await this[o(0x210)][o(0x1f7)]({'srcPath':o(0x214),'destPath':this['scaffold']['pathFromApp']({'pathParts':[o(0x204),o(0x1fd),o(0x207),o(0x1e6)+d+o(0x20a)+h]}),'context':f,'config':c});const i=this[o(0x210)][o(0x1e5)]({'pathParts':[o(0x204),o(0x1fd),o(0x207),o(0x206)+c['engines']['js']]});await this[o(0x210)][o(0x201)]({'filePath':i,'content':o(0x1ea)+d+o(0x1ef)});}catch(j){Log['error'](j);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a118l=a118d;(function(a,b){const i=a118d,c=a();while(!![]){try{const d
|
|
1
|
+
function a118d(a,b){const c=a118c();return a118d=function(d,e){d=d-0x166;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(0x168))/0x1*(-parseInt(i(0x177))/0x2)+parseInt(i(0x182))/0x3+-parseInt(i(0x187))/0x4+parseInt(i(0x183))/0x5*(-parseInt(i(0x16f))/0x6)+parseInt(i(0x176))/0x7*(-parseInt(i(0x16d))/0x8)+-parseInt(i(0x166))/0x9*(-parseInt(i(0x174))/0xa)+parseInt(i(0x17a))/0xb*(parseInt(i(0x184))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0x27e22));const a118b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a118d;if(c){const e=c[j(0x167)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){const k=a118d;return a118a[k(0x173)]()[k(0x17f)](k(0x171))[k(0x173)]()[k(0x17c)](a118a)[k(0x17f)]('(((.+)+)+)+$');});a118a();function a118c(){const n=['app.tar.gz','findProjectDirectory','24777tDiKXe','apply','1zkeTkj','service','docker/Dockerfile','maka\x20g:dockerfile','join','136VIpoQp','dockerfile','6924OvYszY','getGlobalConfig','(((.+)+)+)+$','error','toString','1130SoEako','create','10339EfyTtF','487148smoLyl','build','appName','20394gwgHBB','template','constructor','cert','Generate\x20an\x20updated\x20dockerfile','search','force','fsi','874332XeHGrk','780LbnVvN','828fNOEGm','cfg','app','473560RxBpuh'];a118c=function(){return n;};return a118c();}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import a118e from'path';Generator[a118l(0x175)]({'name':a118l(0x16e),'usage':'maka\x20{generate,\x20g}:dockerfile','shortDesc':a118l(0x17e),'resourceNameRequired':![],'mustBeInMakaProject':!![],'validOpts':[{'name':a118l(0x180),'boolFlag':!![]}],'examples':[a118l(0x16b)]},async function(a,b){const m=a118l;try{const c=this[m(0x185)]['getMakaProjectConfig'](),d=await this[m(0x185)][m(0x170)](),f=this[m(0x181)][m(0x189)](),g={'app':c[m(0x179)],'config':c,'appPath':a118e['join'](f,m(0x186)),'bundlePath':a118e[m(0x16c)](f,m(0x178),m(0x188)),'useCert':d[m(0x17d)]?this[m(0x181)]['isFile'](d[m(0x17d)]):![]};await this['scaffold'][m(0x17b)]({'srcPath':m(0x16a),'destPath':a118e[m(0x16c)](f,'Dockerfile'),'framework':m(0x169),'context':g,'config':c,'force':b[m(0x180)]});}catch(h){Log[m(0x172)](h);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a119o=a119d;
|
|
1
|
+
const a119o=a119d;(function(a,b){const l=a119d,c=a();while(!![]){try{const d=-parseInt(l(0x1e8))/0x1*(parseInt(l(0x1db))/0x2)+-parseInt(l(0x1e6))/0x3*(parseInt(l(0x1d0))/0x4)+-parseInt(l(0x1ec))/0x5+-parseInt(l(0x1ef))/0x6+-parseInt(l(0x1eb))/0x7*(-parseInt(l(0x1fc))/0x8)+-parseInt(l(0x1ce))/0x9+parseInt(l(0x1d4))/0xa*(parseInt(l(0x1dd))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0xe963d));const a119b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a119d;if(c){const e=c[m(0x1fa)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){const n=a119d;return a119a[n(0x1c8)]()['search'](n(0x1de))[n(0x1c8)]()[n(0x1f4)](a119a)['search']('(((.+)+)+)+$');});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(0x1f2)]({'name':a119o(0x1f8),'aliases':['h'],'checkWhere':![],'usage':a119o(0x1cf),'shortDesc':a119o(0x1da),'mustBeInMakaProject':!![],'validOpts':[{'name':'baseDir','values':[a119o(0x1ff),a119o(0x1ca),a119o(0x1fd),a119o(0x1c7)]},{'name':a119o(0x1cc),'boolFlag':!![]}],'examples':['maka\x20g:hook\x20cool-hook'],'description':'\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'},async function(a,b){const p=a119o;Log['notice'](p(0x1c3)+b[p(0x1d6)]+p(0x1d7));try{await this[p(0x1c5)]['checkNpmPackage'](p(0x1d3),{'shouldInstall':!![]});const c=this[p(0x1f6)][p(0x1d1)](),d=b[p(0x1d8)]?p(0x1e3)+b[p(0x1d8)]:'/imports/ui/components',f=this[p(0x1df)][p(0x1f3)]({'pathParts':[d,b[p(0x1c6)],kebabCase(b[p(0x1d6)]),kebabCase(b['resourceName'])]}),g=this[p(0x1ed)];typeof g[p(0x1f9)]['css']==='string'&&this[p(0x1d2)]['setTemplate'](p(0x1f1),g['template'][p(0x1f1)]);g[p(0x1cd)][p(0x1e1)]===p(0x1fe)&&!this[p(0x1c5)][p(0x1c9)]('@apollo/client')&&(Log[p(0x1e0)]('Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...'),await this[p(0x1c5)][p(0x1ee)](p(0x1dc),{'cwd':c}));const h={'cssCaseName':kebabCase(b[p(0x1d6)]),'camelCaseName':camelCase(b[p(0x1d6)]),'className':pascalCase(b['resourceName']),'name':pascalCase(b[p(0x1d6)]),'graphql':g[p(0x1cd)]['graphql'],'theme':g[p(0x1cd)]['theme'],'test':g[p(0x1cd)]['test'],'features':g[p(0x1e9)],'myPath':a119e['relative'](this[p(0x1f6)][p(0x1c4)](),f),'fileName':kebabCase(b[p(0x1d6)]),'isComponent':![],'isLayout':![],'withTranslations':g[p(0x1e9)]['withTranslations']};await this[p(0x1df)][p(0x1f9)]({'srcPath':p(0x1e2),'destPath':f+'.js','context':h,'config':g,'framework':p(0x1d3),'force':b[p(0x1cc)]});g[p(0x1f9)][p(0x1f1)]&&(await this['scaffold'][p(0x1f9)]({'srcPath':'template/template.css','destPath':f+'.css','context':Object[p(0x1d9)]({},h,{'className':h[p(0x1cb)]}),'config':g,'force':b[p(0x1cc)]}),await this['scaffold'][p(0x1e5)]({'filePath':f+'.'+g[p(0x1cd)]['js'],'content':p(0x1e4)+h[p(0x1e7)]+'.'+g[p(0x1cd)][p(0x1f1)]+'\x27;'}));g[p(0x1cd)]['test']!==p(0x1f7)&&await this[p(0x1df)]['template']({'srcPath':p(0x1ea),'destPath':f+p(0x1fb),'framework':p(0x1d3),'context':h,'config':g,'force':b['force']});const i=b['dir']?'/'+b[p(0x1c6)]+'/':'/',j=''+d+i+h[p(0x1e7)]+'/'+h[p(0x1e7)];await this['scaffold'][p(0x1f0)](h[p(0x1d5)],g,j);}catch(k){Log[p(0x1f5)](k);}});function a119d(a,b){const c=a119c();return a119d=function(d,e){d=d-0x1c3;let f=c[d];return f;},a119d(a,b);}function a119c(){const q=['components','cssCaseName','force','engines','14551821UZzZmn','maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','28eOgPQC','findAppDirectory','cfg','react','180dvZZdI','className','resourceName','\x20hook...','baseDir','assign','Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','14wMkVOO','@apollo/client\x20isomorphic-fetch','2164756QzaBMQ','(((.+)+)+)+$','scaffold','warn','graphql','hook/hook.js','/imports/ui/','import\x20\x27./','injectAtBeginningOfFile','224493vOquLj','fileName','8251jATWiu','features','test/test.js','175AFmlhT','5660160UkqeVb','projectConfig','installNpmPackage','6454728VjGcaM','injectTemplateModule','css','create','pathFromApp','constructor','error','fsi','none','hook','template','apply','.app-tests.js','582368IqlYQw','pages','apollo','hooks','Creating\x20','findProjectDirectory','pkg','dir','layouts','toString','checkNpmPackage'];a119c=function(){return q;};return a119c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a120d,c=a();while(!![]){try{var d=-parseInt(f(
|
|
1
|
+
function a120d(a,b){var c=a120c();return a120d=function(d,e){d=d-0x9b;var f=c[d];return f;},a120d(a,b);}(function(a,b){var f=a120d,c=a();while(!![]){try{var d=-parseInt(f(0x9f))/0x1*(-parseInt(f(0xa2))/0x2)+-parseInt(f(0x9d))/0x3+parseInt(f(0xa5))/0x4+-parseInt(f(0x9b))/0x5*(-parseInt(f(0xa4))/0x6)+parseInt(f(0x9c))/0x7+-parseInt(f(0xa0))/0x8*(parseInt(f(0xa6))/0x9)+-parseInt(f(0x9e))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0xe64ca));var a120b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a120d;if(c){var e=c[g(0xa8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){var h=a120d;return a120a[h(0xa3)]()[h(0xa1)]('(((.+)+)+)+$')[h(0xa3)]()['constructor'](a120a)['search'](h(0xa7));});a120a();import'./kit.js';function a120c(){var i=['search','1253046oqhoeT','toString','50910gtZLtp','3866436YcCewN','555102eFQnmA','(((.+)+)+)+$','apply','310lTonvo','8723141OyEQAB','4851588KNgADX','127920aTTgFm','2HxyttK','184AtRvjt'];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-0x15d;var f=c[d];return f;},a121d(a,b);}(function(a,b){var f=a121d,c=a();while(!![]){try{var d=parseInt(f(0x166))/0x1+parseInt(f(0x160))/0x2*(-parseInt(f(0x15f))/0x3)+parseInt(f(0x15e))/0x4*(-parseInt(f(0x162))/0x5)+parseInt(f(0x163))/0x6*(-parseInt(f(0x169))/0x7)+-parseInt(f(0x16a))/0x8*(parseInt(f(0x16c))/0x9)+-parseInt(f(0x16d))/0xa*(-parseInt(f(0x16b))/0xb)+parseInt(f(0x167))/0xc*(parseInt(f(0x164))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0x89482));function a121c(){var i=['constructor','213269ctrDfV','8hdDEZf','493042QivGSh','5226345hyzefD','70UnGliT','toString','apply','108YClglR','6OaUyuu','238692DzfaKs','(((.+)+)+)+$','187410aITagi','12AckoZN','267722cVWGKj','search','637535SWhoDw','876LIcEdg'];a121c=function(){return i;};return a121c();}var a121b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a121d;if(c){var e=c[g(0x15d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){var h=a121d;return a121a[h(0x16e)]()[h(0x165)]('(((.+)+)+)+$')[h(0x16e)]()[h(0x168)](a121a)[h(0x165)](h(0x161));});a121a();import'./auth.generator.js';import'./provider.auth.gen.js';import'./basic-meteor.auth.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a122i=a122d;function
|
|
1
|
+
const a122i=a122d;function a122c(){const k=['1841810OqObjF','380QwgAHr','create','72SMNHgg','126320qGERdv','3332987WPiLfn','apply','toString','5495322GfJHNr','(((.+)+)+)+$','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x20\x20','auth','16BvcpdL','888iYPZlq','87vgFoEb','314479MjUEpx','maka\x20g:kit:a','4076VghxZu','search','6811765YZRzjZ','NIE','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:<kit-name>'];a122c=function(){return k;};return a122c();}(function(a,b){const f=a122d,c=a();while(!![]){try{const d=-parseInt(f(0xd9))/0x1*(parseInt(f(0xd3))/0x2)+-parseInt(f(0xe6))/0x3*(-parseInt(f(0xdc))/0x4)+parseInt(f(0xd5))/0x5+-parseInt(f(0xe0))/0x6+-parseInt(f(0xdd))/0x7*(-parseInt(f(0xe4))/0x8)+-parseInt(f(0xdb))/0x9*(-parseInt(f(0xd8))/0xa)+parseInt(f(0xe7))/0xb*(-parseInt(f(0xe5))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0xdb3c6));const a122b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a122d;if(c){const e=c[g(0xde)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){const h=a122d;return a122a[h(0xdf)]()[h(0xd4)](h(0xe1))[h(0xdf)]()['constructor'](a122a)[h(0xd4)](h(0xe1));});a122a();function a122d(a,b){const c=a122c();return a122d=function(d,e){d=d-0xd3;let f=c[d];return f;},a122d(a,b);}import{Generator}from'../../../generator.js';import a122e from'../kit.js';const AuthGen=Generator[a122i(0xda)]({'name':a122i(0xe3),'aliases':['a'],'usage':a122i(0xd7),'shortDesc':'Starting\x20point\x20for\x20generating\x20an\x20Auth\x20Provider','resourceNameRequired':![],'validOpts':[''],'isPro':!![],'examples':[a122i(0xe8)],'description':a122i(0xe2)},async function(){const j=a122i;throw j(0xd6);},async function(){},a122e);export default AuthGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a123d(a,b){const c=a123c();return a123d=function(d,e){d=d-0x136;let f=c[d];return f;},a123d(a,b);}const a123v=a123d;(function(a,b){const s=a123d,c=a();while(!![]){try{const d=-parseInt(s(0x152))/0x1+-parseInt(s(0x154))/0x2*(-parseInt(s(0x168))/0x3)+-parseInt(s(0x139))/0x4*(-parseInt(s(0x149))/0x5)+-parseInt(s(0x138))/0x6+parseInt(s(0x14e))/0x7*(-parseInt(s(0x15c))/0x8)+parseInt(s(0x16d))/0x9*(parseInt(s(0x136))/0xa)+parseInt(s(0x13a))/0xb*(parseInt(s(0x174))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0x7f994));const a123b=(function(){let a=!![];return function(b,c){const d=a?function(){const t=a123d;if(c){const e=c[t(0x17d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){const u=a123d;return a123a[u(0x147)]()[u(0x14b)]('(((.+)+)+)+$')[u(0x147)]()[u(0x150)](a123a)[u(0x14b)](u(0x141));});a123a();import a123e from'path';import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a123f from'./auth.generator.js';function a123c(){const x=['server','create','Meteor','react','engines','export\x20const\x20AuthProvider','processAndRunGenerator','apply','template','\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','kit:auth:provider','87900GleXqa','\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','2316372neqIqy','16WDoLmJ','11iHEJTq','const\x20resetPasswordWithToken','publish','\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','useEffect\x5c(','index','meteor/accounts-base','(((.+)+)+)+$','meteor/meteor','Meteor.startup','/imports/startup/client/authentication-service','force','checkMeteorPackage','toString','injectIntoCodeBlock','490630bdxktj','imports','search','error','findAppDirectory','3706339VnnFAf','ssr','constructor','AuthService','776437CeieVU','authentication-service','10HJhiuw','const\x20registerNewUser','startup','\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','Accounts','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','normalize','Meteor.publish','8zMFHqY','const\x20authenticateUser','injectIntoFile','const\x20deauthenticateUser','useTracker','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','kit/auth/service/meteor-auth-service.js','pathFromApp','/imports/startup/server/publications/auth/roles.js','exit','/imports/startup/client','authentication-provider','435939cvCaYH','/imports/startup/lib','meteor/maka:react-tracker','\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','const\x20authenticateToken','864jNDMpA','\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','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','injectImport','accounts-password','const\x20getUserAuthorizations','3020532oZDIzF','.js'];a123c=function(){return x;};return a123c();}import a123g from'../../../generators/maka.gen.js';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a123v(0x177)]({'name':'meteor','aliases':['m'],'usage':a123v(0x16f),'shortDesc':'Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','validOpts':[a123v(0x145)],'isPro':!![],'resourceNameRequired':![],'mustBeInMakaProject':!![],'requiredEngines':{'client':ClientEngines['REACT']},'description':a123v(0x16e)},async function(a,b){const w=a123v,{fsi:c,pkg:d,scaffold:f,projectConfig:g}=this;try{const h=b['force']||![];await d[w(0x146)]([w(0x172)],{'shouldInstall':!![]});const i=c['findProjectDirectory'](),j=c[w(0x14d)](),k=g[w(0x17a)][w(0x14f)]==='meteor';await a123g[w(0x17c)](w(0x180),[],{'force':h,'cwd':i,'config':g}),await a123g[w(0x17c)](w(0x13c),['auth/roles'],{'force':h,'globalPublish':!![],'cwd':i,'config':g});const l=j+a123e[w(0x15a)](w(0x164)),m=k?w(0x169):w(0x166),n=f[w(0x163)]({'pathParts':[m,'','',w(0x153)]});await f[w(0x17e)]({'srcPath':w(0x162),'destPath':n+w(0x175),'framework':w(0x179),'context':{},'config':g,'force':h,'ignore':![]});const o=f[w(0x163)]({'pathParts':[m,'','',w(0x167)]}),p=g[w(0x17a)]['js'];await f['injectImport']({'filePath':o+'.'+p,'importName':w(0x151),'modulePath':k?'/imports/startup/lib/authentication-service':w(0x144),'isNamedExport':![]}),await f[w(0x148)]({'filePath':o+'.'+p,'content':w(0x16b),'begin':w(0x15d),'replace':!![]}),await f[w(0x148)]({'filePath':o+'.'+p,'content':w(0x157),'begin':w(0x16c),'replace':!![]}),await f[w(0x148)]({'filePath':o+'.'+p,'content':w(0x137),'begin':w(0x173),'replace':!![]}),await f[w(0x148)]({'filePath':o+'.'+p,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','begin':w(0x15f),'replace':!![]}),await f[w(0x148)]({'filePath':o+'.'+p,'content':w(0x161),'begin':'const\x20sendForgotPasswordEmail','replace':!![]}),await f[w(0x148)]({'filePath':o+'.'+p,'content':w(0x159),'begin':w(0x155),'replace':!![]}),await f['injectIntoCodeBlock']({'filePath':o+'.'+p,'content':w(0x170),'begin':w(0x13b),'replace':!![]});k&&(await f[w(0x171)]({'filePath':o+'.'+p,'importName':w(0x160),'modulePath':w(0x16a),'isNamedExport':!![]}),await f[w(0x15e)]({'filePath':o+'.'+p,'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':w(0x17b),'end':w(0x13e)}));await f[w(0x171)]({'filePath':l,'importName':w(0x178),'modulePath':w(0x142),'isNamedExport':!![],'injectAtStart':!![]}),await f[w(0x148)]({'filePath':l,'content':w(0x13d),'begin':w(0x15b),'replace':!![]});const q=f[w(0x163)]({'pathParts':[w(0x14a),w(0x156),w(0x176),w(0x13f)]});await f[w(0x171)]({'filePath':q+'.'+p,'importName':w(0x158),'modulePath':w(0x140),'isNamedExport':!![]}),await f[w(0x148)]({'filePath':q+'.'+p,'content':w(0x17f),'begin':w(0x143),'replace':!![]});}catch(r){Log[w(0x14c)](r),process[w(0x165)](0x1);}},async function(){},a123f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a124x=a124d;(function(a,b){const u=a124d,c=a();while(!![]){try{const d=-parseInt(u(
|
|
1
|
+
const a124x=a124d;(function(a,b){const u=a124d,c=a();while(!![]){try{const d=-parseInt(u(0x1bd))/0x1*(parseInt(u(0x1b5))/0x2)+parseInt(u(0x1af))/0x3+parseInt(u(0x1c4))/0x4*(parseInt(u(0x1a2))/0x5)+-parseInt(u(0x1bb))/0x6*(-parseInt(u(0x1b7))/0x7)+parseInt(u(0x1a7))/0x8+-parseInt(u(0x1a6))/0x9+parseInt(u(0x199))/0xa*(parseInt(u(0x19a))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0x9a6a8));const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a124d;if(c){const e=c[v(0x1c1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const w=a124d;return a124a['toString']()[w(0x1a4)](w(0x198))[w(0x1bf)]()[w(0x1c9)](a124a)[w(0x1a4)](w(0x198));});function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0x198;let f=c[d];return f;},a124d(a,b);}a124a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a124e from'./auth.generator.js';import{capitalCase}from'change-case';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';function a124c(){const z=['<AppRoutes\x20history={history}/>','exit','engines','\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','Creating\x20an\x20AuthProvider\x20and\x20AuthContext','provider','1472904IiUFEZ','react','</AuthProvider>','\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','function\x20useAuth','const\x20PrivateRoute','2OGcEhQ','scaffold','7LoedDf','/imports/startup/lib/authentication-provider','AuthContext','injectImport','3303966RlXDhD','<AuthProvider>','1129293CDrklk','AuthProvider','toString','split','apply','bright','.js','51836zqHbBX','authentication-provider','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','/imports/startup/client/authentication-provider','/imports/startup/client/index','constructor','REACT','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','(((.+)+)+)+$','220pqUNXx','222871UhnnOf','pathFromApp','force','meteor','kit/auth/provider/authentication-provider.js','injectAroundString','create','const\x20useAuth','145gQpKBK','error','search','injectIntoCodeBlock','928926BQdhUL','14504kgQnIz','template'];a124c=function(){return z;};return a124c();}Generator[a124x(0x1a0)]({'name':a124x(0x1ae),'aliases':['p'],'usage':a124x(0x1c6),'shortDesc':a124x(0x1cb),'validOpts':[a124x(0x19c)],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'client':ClientEngines[a124x(0x1ca)]},'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(0x19c)]||![];Log[y(0x1c2)](y(0x1ad));const {projectConfig:d}=this,f=d[y(0x1ab)]['ssr']===y(0x19d),g={'name':capitalCase(d['appName'])},h=f?'/imports/startup/lib':'/imports/startup/client',i=this[y(0x1b6)][y(0x19b)]({'pathParts':[h,'','',y(0x1c5)]});await this['scaffold'][y(0x1a8)]({'srcPath':y(0x19e),'destPath':i+y(0x1c3),'framework':y(0x1b0),'context':g,'config':d,'force':c,'ignore':![]});const j=d[y(0x1ab)]['js'],k=h+'/routes',l=k[y(0x1c0)]('/'),m=this[y(0x1b6)][y(0x19b)]({'pathParts':l});await this[y(0x1b6)][y(0x1ba)]({'filePath':m+'.'+j,'importName':y(0x1b9),'modulePath':f?y(0x1b8):y(0x1c7),'isNamedExport':!![]}),await this['scaffold'][y(0x1ba)]({'filePath':m+'.'+j,'importName':'useContext','modulePath':y(0x1b0),'isNamedExport':!![],'injectAtStart':!![]}),await this['scaffold']['injectIntoCodeBlock']({'filePath':m+'.'+j,'content':y(0x1ac),'begin':[y(0x1a1),y(0x1b3)],'replace':!![]}),await this['scaffold'][y(0x1a5)]({'filePath':m+'.'+j,'content':y(0x1b2),'begin':[y(0x1b4)],'replace':!![]});const n=y(0x1c8),o=n['split']('/'),p=this['scaffold'][y(0x19b)]({'pathParts':o});await this[y(0x1b6)]['injectImport']({'filePath':p+'.'+j,'importName':y(0x1be),'modulePath':f?'/imports/startup/lib/authentication-provider':y(0x1c7),'isNamedExport':!![]}),await this[y(0x1b6)][y(0x19f)]({'filePath':p+'.'+j,'aboveContent':y(0x1bc),'belowContent':y(0x1b1),'targetString':'<AppRoutes\x20/>','indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q='/imports/startup/server/index',r=q[y(0x1c0)]('/'),s=this[y(0x1b6)][y(0x19b)]({'pathParts':r});await this[y(0x1b6)][y(0x1ba)]({'filePath':s+'.'+j,'importName':'AuthProvider','modulePath':f?y(0x1b8):y(0x1c7),'isNamedExport':!![]}),await this[y(0x1b6)][y(0x19f)]({'filePath':s+'.'+j,'aboveContent':y(0x1bc),'belowContent':y(0x1b1),'targetString':y(0x1a9),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log[y(0x1a3)](t),process[y(0x1aa)](0x1);}},async function(){},a124e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(a,b){var f=a125d,c=a();while(!![]){try{var d=parseInt(f(0x11b))/0x1+parseInt(f(0x110))/0x2*(parseInt(f(0x115))/0x3)+parseInt(f(0x118))/0x4+parseInt(f(0x117))/0x5+parseInt(f(0x114))/0x6*(parseInt(f(0x119))/0x7)+-parseInt(f(0x111))/0x8*(-parseInt(f(0x113))/0x9)+-parseInt(f(0x11e))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0xd85c6));var a125b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a125d;if(c){var e=c[g(0x116)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){var h=a125d;return a125a['toString']()[h(0x11d)](h(0x11a))[h(0x112)]()[h(0x11c)](a125a)[h(0x11d)](h(0x11a));});a125a();function a125c(){var i=['(((.+)+)+)+$','663749wmEBjm','constructor','search','53568460gXengH','188ZUzruI','337176IUIMjG','toString','54doWpPS','5626824wfTrgK','56517ickeEB','apply','5452185GGCdCl','6109288vNtCIX','7vNkteG'];a125c=function(){return i;};return a125c();}import'./esri.generator.js';function a125d(a,b){var c=a125c();return a125d=function(d,e){d=d-0x110;var f=c[d];return f;},a125d(a,b);}import'./map.esri.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a126i=a126d;(function(a,b){const f=a126d,c=a();while(!![]){try{const d=parseInt(f(
|
|
1
|
+
const a126i=a126d;(function(a,b){const f=a126d,c=a();while(!![]){try{const d=parseInt(f(0x14e))/0x1+-parseInt(f(0x14a))/0x2*(parseInt(f(0x14f))/0x3)+-parseInt(f(0x156))/0x4+-parseInt(f(0x148))/0x5*(parseInt(f(0x14c))/0x6)+-parseInt(f(0x159))/0x7+-parseInt(f(0x146))/0x8*(parseInt(f(0x14b))/0x9)+-parseInt(f(0x152))/0xa*(-parseInt(f(0x158))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0x9bfd5));const a126b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a126d;if(c){const e=c[g(0x147)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){const h=a126d;return a126a[h(0x14d)]()[h(0x157)](h(0x151))[h(0x14d)]()['constructor'](a126a)[h(0x157)](h(0x151));});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-0x146;let f=c[d];return f;},a126d(a,b);}import a126e from'../kit.js';const EsriGen=Generator[a126i(0x155)]({'name':'esri','aliases':['e'],'usage':a126i(0x154),'shortDesc':a126i(0x153),'resourceNameRequired':![],'validOpts':[''],'isPro':!![],'examples':[a126i(0x149)],'description':a126i(0x150)},async function(){throw UsageError;},async function(){},a126e);export default EsriGen;function a126c(){const j=['2600556rRopkR','56yRtzID','apply','4476385XEgkDn','maka\x20g:kit:e','18196JrnhUH','750177gLWXUC','6lyZspY','toString','503416zoBbja','6lAzaaU','\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','(((.+)+)+)+$','30735290XnTlkr','Starting\x20point\x20for\x20generating\x20Esri\x20Maps','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','create','4278240hAQPcm','search','11RzPGcH'];a126c=function(){return j;};return a126c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a127v=a127d;(function(a,b){const s=a127d,c=a();while(!![]){try{const d=-parseInt(s(0x118))/0x1*(parseInt(s(0x132))/0x2)+parseInt(s(0x10e))/0x3*(parseInt(s(0x117))/0x4)+-parseInt(s(0x122))/0x5*(-parseInt(s(0x114))/0x6)+-parseInt(s(0x101))/0x7+-parseInt(s(0x12e))/0x8+-parseInt(s(0x111))/0x9*(-parseInt(s(0x10a))/0xa)+parseInt(s(0x12b))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0x34561));const a127b=(function(){let a=!![];return function(b,c){const d=a?function(){const t=a127d;if(c){const e=c[t(0x116)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){const u=a127d;return a127a[u(0x110)]()[u(0x129)](u(0x120))[u(0x110)]()[u(0x102)](a127a)[u(0x129)](u(0x120));});function a127c(){const x=['5paZkkD','\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','esri-loader','findProjectDirectory','Generate\x20an\x20Esri\x20map\x20component','\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','map','search','error','2500465rCdoAv','template','ssr','2559808ZIUFLf','REACT','split','basic-map','26BhgKkd','/imports/ui/','dir','1747291oitEGe','constructor','engines','create','pathFromApp','.js','</div>','@esri/react-arcgis','<div\x20id=\x22map\x22>','3950NYBlma','meteor','/imports/startup/client/templates','replaceAll','37377LCQDZz','processAndRunGenerator','toString','8703WGnRkm','injectIntoFile','Generating\x20a\x20map\x20component','5352bMxMfz','/imports/startup/lib/templates','apply','116roumin','14425apOnRF','react','page','baseDir','checkNpmPackage','appName','bright','injectImport','(((.+)+)+)+$','injectTemplateModule'];a127c=function(){return x;};return a127c();}a127a();function a127d(a,b){const c=a127c();return a127d=function(d,e){d=d-0x101;let f=c[d];return f;},a127d(a,b);}import{Generator}from'../../../generator.js';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[a127v(0x104)]({'name':'map','aliases':['m'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','shortDesc':a127v(0x126),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'client':ClientEngines[a127v(0x12f)],'ssr':SsrEngines['NONE']},'description':a127v(0x123)},async function(a,b){const w=a127v;try{const {projectConfig:c,fsi:d,pkg:f,scaffold:g}=this;Log[w(0x11e)](w(0x113));const h=w(0x131);await f[w(0x11c)]([w(0x108),w(0x124)],{'shouldInstall':!![]});const i=d[w(0x125)](),j=c[w(0x103)][w(0x12d)]===w(0x10b),k=await a127f[w(0x10f)](w(0x11a),[w(0x128)],{'cwd':i,'config':c}),l={'name':capitalCase(c[w(0x11d)])[w(0x10d)]('-','\x20'),'componentName':pascalCase(h)},m=b['baseDir']?w(0x133)+b[w(0x11b)]:'/imports/ui/components',n=g['pathFromApp']({'pathParts':[m,b[w(0x134)],kebabCase(h),kebabCase(h)]});await g[w(0x12c)]({'srcPath':'kit/esri/map/'+h+w(0x106),'destPath':n+w(0x106),'framework':w(0x119),'context':l,'config':c,'force':![],'ignore':![]});const o=''+m+b[w(0x134)]+'/'+h+'/'+h;await g[w(0x121)](h,c,o);const p=k[w(0x130)]('/'),q=g[w(0x105)]({'pathParts':p});await g[w(0x11f)]({'filePath':q,'importName':pascalCase(h),'modulePath':j?w(0x115):w(0x10c),'isNamedExport':!![]}),await g[w(0x112)]({'filePath':q,'content':'\x0a<'+pascalCase(h)+w(0x127),'begin':[w(0x109),'<div\x20id=\x22map\x22>'],'end':[w(0x107)],'replace':!![]});}catch(r){Log[w(0x12a)](r),process['exit'](0x1);}},async function(){},a127e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a128i=a128d;function a128c(){const j=['(((.+)+)+)+$','apply','2722347txdwRa','5248852HTGhos','search','1297050npgAHG','create','5JbdtGr','1765428KlpYiV','Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','constructor','kit','1444204EuwCGL','toString','1454586YFeMTD','16kTWViF','106721RTCrJe'];a128c=function(){return j;};return a128c();}(function(a,b){const f=a128d,c=a();while(!![]){try{const d=-parseInt(f(0x83))/0x1+-parseInt(f(0x81))/0x2+parseInt(f(0x7b))/0x3+parseInt(f(0x7f))/0x4*(-parseInt(f(0x7a))/0x5)+-parseInt(f(0x78))/0x6+parseInt(f(0x76))/0x7+parseInt(f(0x82))/0x8*(parseInt(f(0x75))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0x81e46));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a128d;if(c){const e=c[g(0x85)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const h=a128d;return a128a[h(0x80)]()[h(0x77)](h(0x84))['toString']()[h(0x7d)](a128a)[h(0x77)](h(0x84));});a128a();import{Generator}from'../../generator.js';const KitGen=Generator[a128i(0x79)]({'name':a128i(0x7e),'aliases':['k'],'usage':'maka\x20{generate,\x20g}:{kit}\x20<name>','shortDesc':a128i(0x7c),'minArgLength':0x1,'isPro':!![],'validOpts':[],'resourceNameRequired':![],'examples':['maka\x20g:kit','maka\x20g:k']},async function(){});function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0x75;let f=c[d];return f;},a128d(a,b);}export default KitGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a129d,c=a();while(!![]){try{var d
|
|
1
|
+
function a129d(a,b){var c=a129c();return a129d=function(d,e){d=d-0x18b;var f=c[d];return f;},a129d(a,b);}(function(a,b){var f=a129d,c=a();while(!![]){try{var d=-parseInt(f(0x18f))/0x1*(-parseInt(f(0x18b))/0x2)+-parseInt(f(0x18e))/0x3*(parseInt(f(0x193))/0x4)+parseInt(f(0x195))/0x5+parseInt(f(0x190))/0x6+-parseInt(f(0x18c))/0x7+parseInt(f(0x191))/0x8+parseInt(f(0x196))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0x27706));var a129b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a129d;if(c){var e=c[g(0x197)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){var h=a129d;return a129a[h(0x194)]()[h(0x18d)](h(0x192))['toString']()[h(0x198)](a129a)['search']('(((.+)+)+)+$');});a129a();import'./mui.generator.js';import'./frame.mui.gen.js';import'./auth.mui.gen.js';function a129c(){var i=['1376788JoBKMx','search','37674Sinqqf','128RTVwIZ','206508vLSgNd','1139144TqHHbz','(((.+)+)+)+$','84XwknBP','toString','150625FIruOO','1601568XnZgaW','apply','constructor','3704mtZrsN'];a129c=function(){return i;};return a129c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a130L=a130d;
|
|
1
|
+
const a130L=a130d;(function(a,b){const I=a130d,c=a();while(!![]){try{const d=-parseInt(I(0x1fb))/0x1+-parseInt(I(0x223))/0x2+-parseInt(I(0x1fa))/0x3*(-parseInt(I(0x225))/0x4)+-parseInt(I(0x21e))/0x5+parseInt(I(0x218))/0x6+parseInt(I(0x20b))/0x7+parseInt(I(0x20f))/0x8*(parseInt(I(0x1f8))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0xbd80e));const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){const J=a130d;if(c){const e=c[J(0x208)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const K=a130d;return a130a[K(0x200)]()[K(0x21b)](K(0x212))[K(0x200)]()[K(0x1f4)](a130a)[K(0x21b)](K(0x212));});a130a();import{Generator}from'../../../generator.js';function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0x1f1;let f=c[d];return f;},a130d(a,b);}import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';function a130c(){const O=['register','5517wHWqVb','kit/mui/auth/forgot-password/','1529679LEfmsN','1426218XjDbAi','exit','auth','REACT','ssr','toString','template','forgot-password','maka\x20generate:kit:mui:auth','/imports/startup/lib/authentication-provider','log','injectTemplateModule','Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','apply','/imports/ui/','react','398398jBFDRC','pathFromApp','Custom\x20(roll\x20your\x20own)','route','20912gNaNbr','create','basic-register-page','(((.+)+)+)+$','error','dir','/imports/startup/client/authentication-provider','basic-login-page','authType','3016494UmfYdA','basic-forgot-password-page','layouts','search','.js','Meteor\x20Accounts','1918185dGQNnS','engines','maka\x20g:k:m:a','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{auth,\x20a}','basic-logout-page','171754EEtKxx','baseDir','4HAykeo','custom','injectImport','basic-password-reset-page','processAndRunGenerator','AuthContext','Cleaning\x20up...','login','kit/mui/auth/password-reset/','MATERIAL','split','logout','select','constructor','/imports/ui/pages/auth','meteor'];a130c=function(){return O;};return a130c();}import a130e from'../../../generators/maka.gen.js';import a130f from'./mui.generator.js';import{kebabCase,capitalCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a130L(0x210)]({'name':a130L(0x1fd),'aliases':['a'],'usage':a130L(0x221),'shortDesc':a130L(0x207),'validOpts':[a130L(0x21a),'force'],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'theme':ThemeEngines[a130L(0x22e)],'client':ClientEngines[a130L(0x1fe)]},'examples':[a130L(0x203),a130L(0x220)],'description':'\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20setup\x20with\x20login,\x20logout,\x20registration,\x20and\x20password\x20reset\x20pages.\x0a\x20\x20'},async function(a,b){const M=a130L;try{const {projectConfig:c,fsi:d,scaffold:f}=this,g=b['force']||![],h=d['findProjectDirectory'](),i=await Actions[M(0x1f3)]({'name':M(0x217),'message':'What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','choices':[{'name':M(0x21d),'value':'meteor'},{'name':M(0x20d),'value':M(0x226)}]}),j=M(0x216),k=M(0x222),l=M(0x211),m=M(0x228),n='basic-forgot-password-page',o=b[M(0x224)]?M(0x209)+b['baseDir']:M(0x1f5),p=f[M(0x20c)]({'pathParts':[o,b[M(0x214)],kebabCase(j),kebabCase(j)]}),q=f[M(0x20c)]({'pathParts':[o,b[M(0x214)],kebabCase(k),kebabCase(k)]}),r=f[M(0x20c)]({'pathParts':[o,b[M(0x214)],kebabCase(l),kebabCase(l)]}),s=f[M(0x20c)]({'pathParts':[o,b[M(0x214)],kebabCase(m),kebabCase(m)]}),t=f[M(0x20c)]({'pathParts':[o,b[M(0x214)],kebabCase(n),kebabCase(n)]}),u={'name':capitalCase(c['appName'])};await f[M(0x201)]({'srcPath':'kit/mui/auth/login/'+j+M(0x21c),'destPath':p+M(0x21c),'framework':M(0x20a),'context':u,'config':c,'force':g,'ignore':![]}),await f[M(0x201)]({'srcPath':'kit/mui/auth/logout/'+k+M(0x21c),'destPath':q+'.js','framework':M(0x20a),'context':u,'config':c,'force':g,'ignore':![]}),await f['template']({'srcPath':'kit/mui/auth/register/'+l+M(0x21c),'destPath':r+'.js','framework':M(0x20a),'context':u,'config':c,'force':g,'ignore':![]}),await f[M(0x201)]({'srcPath':M(0x22d)+m+'.js','destPath':s+'.js','framework':M(0x20a),'context':u,'config':c,'force':g,'ignore':![]}),await f['template']({'srcPath':M(0x1f9)+n+M(0x21c),'destPath':t+M(0x21c),'framework':M(0x20a),'context':u,'config':c,'force':g,'ignore':![]});const v=''+o+b[M(0x214)]+'/'+j+'/'+j;await f[M(0x206)](j,c,v);const w=''+o+b[M(0x214)]+'/'+k+'/'+k;await f[M(0x206)](k,c,w);const x=''+o+b[M(0x214)]+'/'+l+'/'+l;await f[M(0x206)](l,c,x);const y=''+o+b[M(0x214)]+'/'+m+'/'+m;await f[M(0x206)](m,c,y);const z=''+o+b[M(0x214)]+'/'+n+'/'+n;await f['injectTemplateModule'](n,c,z),await a130e[M(0x229)](M(0x20e),[M(0x216)],{'route':M(0x22c),'cwd':h,'config':c}),await a130e[M(0x229)](M(0x20e),['basic-logout-page'],{'route':M(0x1f2),'private':!![],'cwd':h,'config':c}),await a130e[M(0x229)](M(0x20e),[M(0x211)],{'route':M(0x1f7),'cwd':h,'config':c}),await a130e[M(0x229)](M(0x20e),['basic-password-reset-page'],{'route':'reset-password/:token','cwd':h,'config':c}),await a130e['processAndRunGenerator'](M(0x20e),[M(0x219)],{'route':M(0x202),'cwd':h,'config':c});i===M(0x1f6)&&await a130e[M(0x229)]('kit:auth:meteor',[],{'force':g,'cwd':h,'config':c});i===M(0x226)&&await a130e[M(0x229)]('kit:auth:provider',[],{'force':g,'cwd':h,'config':c});const A=c[M(0x21f)][M(0x1ff)]===M(0x1f6),B=c[M(0x21f)]['js'],C=f[M(0x20c)]({'pathParts':v[M(0x1f1)]('/')});await f[M(0x227)]({'filePath':C+'.'+B,'importName':M(0x22a),'modulePath':A?M(0x204):M(0x215),'isNamedExport':!![]});const D=f[M(0x20c)]({'pathParts':w[M(0x1f1)]('/')});await f[M(0x227)]({'filePath':D+'.'+B,'importName':M(0x22a),'modulePath':A?M(0x204):M(0x215),'isNamedExport':!![]});const E=f[M(0x20c)]({'pathParts':x['split']('/')});await f[M(0x227)]({'filePath':E+'.'+B,'importName':M(0x22a),'modulePath':A?M(0x204):M(0x215),'isNamedExport':!![]});const F=f[M(0x20c)]({'pathParts':y['split']('/')});await f['injectImport']({'filePath':F+'.'+B,'importName':M(0x22a),'modulePath':A?M(0x204):M(0x215),'isNamedExport':!![]});const G=f[M(0x20c)]({'pathParts':z[M(0x1f1)]('/')});await f[M(0x227)]({'filePath':G+'.'+B,'importName':M(0x22a),'modulePath':A?M(0x204):'/imports/startup/client/authentication-provider','isNamedExport':!![]});}catch(H){Log[M(0x213)](H),process[M(0x1fc)](0x1);}},async function(){const N=a130L;console[N(0x205)](N(0x22b));},a130f);export default a130f;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a131G=a131d;(function(a,b){const E=a131d,c=a();while(!![]){try{const d=parseInt(E(0x99))/0x1*(-parseInt(E(0x83))/0x2)+parseInt(E(0x6d))/0x3+-parseInt(E(0x7a))/0x4+-parseInt(E(0x76))/0x5*(-parseInt(E(0x75))/0x6)+parseInt(E(0x93))/0x7*(-parseInt(E(0x7c))/0x8)+parseInt(E(0xa8))/0x9*(parseInt(E(0x80))/0xa)+parseInt(E(0x8c))/0xb*(parseInt(E(0x84))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0x1db66));function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0x6c;let f=c[d];return f;},a131d(a,b);}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(0x9e)]()[F(0x8b)]('(((.+)+)+)+$')['toString']()['constructor'](a131a)[F(0x8b)](F(0x71));});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=['dir','@mui/material/Container','Box','length','error','search','1205567IYPyIr','pathFromApp','force','log','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20frame\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','app-tests','test','80913QXTOJx','</div>','kit/mui/frame/drawers/','injectAroundString','join','<div\x20id=\x22','1uxjzAY','injectIntoFile','layouts','Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','/imports/startup/lib/templates','toString','/imports/startup/client/templates','map','react','basic-drawer','tests','baseDir','findAppDirectory','getDirectories','/imports/ui/','113121eLkonP','create','getFiles','injectImport','template','basic-app-bar','677856YUWDkm','maka:react-tracker','injectTemplateModule','appName','(((.+)+)+)+$','Cleaning\x20up...','basic-sticky-footer','<Outlet/>','60lWvBSS','68430aYIJkc','meteor','ssr','.js','343884HxvjKg','maka\x20generate:kit:mui:frame','168eVbYIF','frame','REACT','\x20/>\x0a','50yEKZZk','checkbox','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f}','388878FSYVCK','24yzUrLf','<Outlet\x20/>'];a131c=function(){return J;};return a131c();}import a131e from'path';import a131f from'./mui.generator.js';import{kebabCase,pascalCase,capitalCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a131G(0xa9)]({'name':a131G(0x7d),'aliases':['f'],'usage':a131G(0x82),'shortDesc':a131G(0x9c),'validOpts':[a131G(0x9b),'baseDir',a131G(0x86),'force'],'isPro':![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'theme':ThemeEngines['MATERIAL'],'client':ClientEngines[a131G(0x7e)]},'examples':[a131G(0x7b),'maka\x20g:k:m:f'],'description':a131G(0x90)},async function(a,b){const H=a131G,{projectConfig:c,fsi:d,pkg:f,scaffold:g}=this;try{const h=b[H(0x8e)]||![],i=H(0x6c),j=H(0xa2),k=H(0x73),l=c['engines'][H(0x78)]===H(0x77);await f['checkMeteorPackage'](['session',H(0x6e)],{'shouldInstall':!![]});const m=d[H(0xa5)](),n=a131e[H(0x97)](m,'imports','ui',H(0x9b)),o=d[H(0xa6)](n),p=o[H(0xa0)](z=>({'name':z,'value':z})),q=await Actions[H(0x81)]({'message':'Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','name':'layouts','choices':p});if(q[H(0x89)]===0x0){Log[H(0x8a)]('No\x20layouts\x20selected');return;}const r=b[H(0xa4)]?H(0xa7)+b['baseDir']:'/imports/ui/components',s=g[H(0x8d)]({'pathParts':[r,b[H(0x86)],kebabCase(i),kebabCase(i)]}),t=g[H(0x8d)]({'pathParts':[r,b[H(0x86)],kebabCase(j),kebabCase(j)]}),u=g[H(0x8d)]({'pathParts':[r,b[H(0x86)],kebabCase(k),kebabCase(k)]}),v={'name':capitalCase(c[H(0x70)])};await g[H(0xac)]({'srcPath':'kit/mui/frame/app-bars/'+i+H(0x79),'destPath':s+'.js','framework':H(0xa1),'context':v,'config':c,'force':h,'ignore':![]}),await g[H(0xac)]({'srcPath':H(0x95)+j+H(0x79),'destPath':t+H(0x79),'framework':'react','context':v,'config':c,'force':h,'ignore':![]}),await g[H(0xac)]({'srcPath':'kit/mui/frame/footers/'+k+H(0x79),'destPath':u+H(0x79),'framework':'react','context':v,'config':c,'force':h,'ignore':![]});const w=''+r+b[H(0x86)]+'/'+i+'/'+i;await g[H(0x6f)](i,c,w);const x=''+r+b[H(0x86)]+'/'+j+'/'+j;await g[H(0x6f)](j,c,x);const y=''+r+b[H(0x86)]+'/'+k+'/'+k;await g[H(0x6f)](k,c,y);for(const z of q){const A=d[H(0xaa)](a131e['join'](n,z),{'extensions':['jsx','tsx'],'omit':[H(0x91),H(0xa3),H(0x92)]});for(const B of A){const C=a131e[H(0x97)](n,z,B);await g[H(0xab)]({'filePath':C,'importName':H(0x88),'modulePath':'@mui/material/Box','isNamedExport':![]}),await g[H(0xab)]({'filePath':C,'importName':'Container','modulePath':H(0x87),'isNamedExport':![]}),await g[H(0xab)]({'filePath':C,'importName':pascalCase(i),'modulePath':l?'/imports/startup/lib/templates':H(0x9f),'isNamedExport':!![]}),await g[H(0x9a)]({'filePath':C,'content':'<'+pascalCase(i)+H(0x7f),'begin':[H(0x98)+z+'\x22>',H(0x98)+z+'-hook\x22>'],'end':[H(0x74),H(0x85)]}),await g[H(0xab)]({'filePath':C,'importName':pascalCase(j),'modulePath':l?'/imports/startup/lib/templates':H(0x9f),'isNamedExport':!![]}),await g[H(0x9a)]({'filePath':C,'content':'<'+pascalCase(j)+H(0x7f),'begin':[H(0x98)+z+'\x22>',H(0x98)+z+'-hook\x22>'],'end':[H(0x74),H(0x85)]}),await g['injectIntoFile']({'filePath':C,'content':'<'+pascalCase(k)+'\x20/>\x0a','begin':['<Outlet/>',H(0x85)],'end':[H(0x94)]}),await g[H(0xab)]({'filePath':C,'importName':pascalCase(k),'modulePath':l?H(0x9d):H(0x9f),'isNamedExport':!![]}),await g[H(0x96)]({'filePath':C,'aboveContent':'<Box\x20style={{\x20display:\x20\x27flex\x27,\x20flexDirection:\x20\x27column\x27,\x20minHeight:\x20\x27calc(100vh\x20-\x20157px)\x27\x20}}>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<Container\x20component=\x22main\x22>','belowContent':'</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','targetString':[H(0x74),'<Outlet\x20/>'],'targetIndentAdjustment':0x6});}}}catch(D){Log['error'](D);}},async function(){const I=a131G;console[I(0x8f)](I(0x72));},a131f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a132j=a132d;(function(a,b){const g=a132d,c=a();while(!![]){try{const d
|
|
1
|
+
const a132j=a132d;(function(a,b){const g=a132d,c=a();while(!![]){try{const d=parseInt(g(0x159))/0x1*(-parseInt(g(0x153))/0x2)+-parseInt(g(0x14a))/0x3*(-parseInt(g(0x14b))/0x4)+parseInt(g(0x15d))/0x5*(-parseInt(g(0x152))/0x6)+-parseInt(g(0x141))/0x7*(parseInt(g(0x15a))/0x8)+parseInt(g(0x158))/0x9+-parseInt(g(0x15f))/0xa*(parseInt(g(0x15e))/0xb)+parseInt(g(0x143))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a132c,0xcfea6));function a132c(){const l=['(((.+)+)+)+$','constructor','maka\x20g:kit:m','exit','processAndRunGenerator','findProjectDirectory','78kUvzxz','2RdNQXN','getMakaProjectConfig','fsi','kitChoices','create','6173577aeJrvv','1090248bWRNMd','8PAOStk','frame','auth','534325fIksOZ','3610695SJSGhA','30aokYBF','apply','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','Auth\x20workflow\x20(login,\x20logout,\x20etc.)','length','5751011edPtyc','toString','37206984JoyRxq','search','includes','Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','mui','Material-UI\x20Kit','info','19866WxLIuk','816bOrEld'];a132c=function(){return l;};return a132c();}const a132b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a132d;if(c){const e=c[h(0x13d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a132a=a132b(this,function(){const i=a132d;return a132a[i(0x142)]()['search'](i(0x14c))[i(0x142)]()[i(0x14d)](a132a)[i(0x144)]('(((.+)+)+)+$');});a132a();import{Generator}from'../../../generator.js';import{Actions}from'../../../tools/actions/actions.class.js';function a132d(a,b){const c=a132c();return a132d=function(d,e){d=d-0x13d;let f=c[d];return f;},a132d(a,b);}import{Log}from'../../../tools/log/log.class.js';import a132e from'../../../generators/maka.gen.js';import a132f from'../kit.js';const MuiGen=Generator[a132j(0x157)]({'name':a132j(0x147),'aliases':['m'],'usage':a132j(0x13e),'resourceNameRequired':![],'shortDesc':a132j(0x148),'validOpts':[''],'isPro':!![],'examples':[a132j(0x14e)]},async function(){const k=a132j;try{Log['info']('Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!'),Log['notice']('\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&####%&@@@@@@@@@@@@@@@@@@@&&%###&@@@@@@&%###%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#(((((##%&&@@@@@@@@@&&%%#(((((#&@@@@@&#((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((((((((#%&&@&&%##(((((((((#&@@@@&&#((##%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((((((((((((#((((((((((((((#&@@@@@&%&&@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#%%%%##((((((((#%%&%#((((#&@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@&&%###%%&@@@@&#((((#&@@@@@@@@&&&&@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@@@@@@@@@@@@@@&#((((#&@@@@@&%#(((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@@@@@@@@@@@@&%##((((#&@@@@&%#((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&%#(((#&&@@@@@@@@@&&%##(((((((#%&@@@@&%(((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@&%#%&@@@@@@@@&#((((((((##%&@@@@@@@&%(((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@&&#((((((%&@@@@@@@@@&%#((((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@&&#((((((#%%&@@&&%##((((((((#%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@&%%#((((((((##((((((((##%&@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&%##(((((((((##%&@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&&%##(#%&&@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a\x0a\x20\x20This\x20generator\x20will\x20help\x20you\x20add\x20MUI\x20to\x20your\x20project.\x0a\x20\x20Choose\x20from\x20a\x20selection\x20of\x20premade\x20MUI\x20components.\x0a\x20\x20');const a=await Actions['checkbox']({'message':k(0x146),'name':k(0x156),'choices':[{'name':'Header,\x20Footer,\x20and\x20Drawer','value':k(0x15b)},{'name':k(0x13f),'value':'auth'}]}),b=this[k(0x155)][k(0x151)](),c=this['cfg'][k(0x154)]();a[k(0x145)](k(0x15b))&&await a132e['processAndRunGenerator']('kit:mui:frame',[],{'force':!![],'cwd':b,'config':c});a[k(0x145)](k(0x15c))&&await a132e[k(0x150)]('kit:mui:auth',[],{'force':!![],'cwd':b,'config':c});if(a[k(0x140)]===0x0){Log[k(0x149)]('No\x20MUI\x20kits\x20selected.\x20Exiting.');return;}}catch(d){Log['error'](d),process[k(0x14f)](0x1);}},async function(){},a132f);export default MuiGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a133s=a133d;
|
|
1
|
+
const a133s=a133d;(function(a,b){const p=a133d,c=a();while(!![]){try{const d=-parseInt(p(0x222))/0x1*(parseInt(p(0x21f))/0x2)+parseInt(p(0x204))/0x3*(parseInt(p(0x1f5))/0x4)+parseInt(p(0x1f3))/0x5+parseInt(p(0x20c))/0x6*(-parseInt(p(0x1f0))/0x7)+-parseInt(p(0x206))/0x8+parseInt(p(0x21b))/0x9*(parseInt(p(0x215))/0xa)+parseInt(p(0x218))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a133c,0xb659e));const a133b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a133d;if(c){const e=c[q(0x21e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a133a=a133b(this,function(){const r=a133d;return a133a[r(0x21c)]()[r(0x203)](r(0x20a))['toString']()['constructor'](a133a)[r(0x203)](r(0x20a));});a133a();function a133d(a,b){const c=a133c();return a133d=function(d,e){d=d-0x1ed;let f=c[d];return f;},a133d(a,b);}import a133e from'path';import{Generator}from'../generator.js';function a133c(){const u=['react','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','maka\x20g:l\x20web/safari','import\x20\x27./','test','findProjectDirectory','split','720570LCyTyW','theme','findAppDirectory','19118264dcvEQh','fileName','client','81sFCUXN','toString','resourceName','apply','2vgISbK','template','component/component.js','1314587TIIkcd','ramda','maka\x20g:layout\x20mobile/iPhone8','string','4806753NSKPtu','relative','checkNpmPackage','4708515UnKjAl','withHook','8tLQQPt','.js','css','Scaffolding\x20for\x20a\x20React\x20Layout.','.css','test/test.js','warn','assign','features','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','engines','template/template.css','dir','hook/hook.js','search','1166667sZnjZQ','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','10862736TwKcpa','api','create','layout','(((.+)+)+)+$','injectAtBeginningOfFile','6dczgpk','setTemplate'];a133c=function(){return u;};return a133c();}import{Log}from'../tools/log/log.class.js';import{camelCase,kebabCase,pascalCase}from'change-case';const aliases=['l'];Generator[a133s(0x208)]({'name':a133s(0x209),'aliases':aliases,'usage':a133s(0x205),'shortDesc':a133s(0x1f8),'validOpts':[a133s(0x1f4)],'mustBeInMakaProject':!![],'examples':[a133s(0x1ee),a133s(0x210)]},async function(a,b){const t=a133s,{projectConfig:c,fsi:d,cfg:e,pkg:f,scaffold:g}=this,h='/imports/ui/layouts',i=d[t(0x217)](),j=g['pathFromApp']({'pathParts':[h,b[t(0x201)],kebabCase(b['resourceName']),kebabCase(b[t(0x21d)])]});typeof c[t(0x220)]['test']==='string'&&e[t(0x20d)](t(0x212),c[t(0x220)][t(0x212)]);typeof c[t(0x220)][t(0x1f7)]===t(0x1ef)&&e[t(0x20d)](t(0x1f7),c[t(0x220)][t(0x1f7)]);typeof c[t(0x220)]['js']===t(0x1ef)&&e[t(0x20d)]('js',c[t(0x220)]['js']);const k=b['_']?b['_'][0x0][t(0x214)](':')[0x1]:![],l=b['_']&&aliases['includes'](k);l&&!f[t(0x1f2)](t(0x1ed))&&(Log[t(0x1fb)](t(0x1fe)),f['installNpmPackage'](t(0x1ed),{'cwd':i}));if(l&&!f[t(0x1f2)](t(0x20e))){Log[t(0x1fb)](t(0x20f));return;}const m={'name':pascalCase(b[t(0x21d)]),'myPath':a133e[t(0x1f1)](d[t(0x213)](),j),'cssCaseName':kebabCase(b[t(0x21d)]),'className':pascalCase(b['resourceName']),'camelCaseName':camelCase(b[t(0x21d)]),'fileName':kebabCase(b[t(0x21d)]),'graphql':c[t(0x1ff)]['graphql'],'features':c[t(0x1fd)],'client':c[t(0x1ff)][t(0x21a)],'api':c[t(0x1ff)][t(0x207)],'ssr':c['engines']['ssr'],'test':c[t(0x1ff)][t(0x212)],'theme':c[t(0x1ff)][t(0x216)],'isComponent':![],'isLayout':!![],'withTranslations':c['features']['withTranslations']};c[t(0x1fd)]?.['withHooks']||b['withHook']?await g[t(0x220)]({'srcPath':t(0x202),'destPath':j+t(0x1f6),'framework':'react','context':m,'config':c}):await g['template']({'srcPath':t(0x221),'destPath':j+t(0x1f6),'framework':t(0x20e),'context':m,'config':c});c[t(0x1ff)][t(0x212)]!=='none'&&await g[t(0x220)]({'srcPath':t(0x1fa),'destPath':j+'.app-tests.js','framework':'react','context':m,'config':c});c[t(0x220)][t(0x1f7)]&&(await g[t(0x220)]({'srcPath':t(0x200),'destPath':j+t(0x1f9),'context':Object[t(0x1fc)]({},m,{'className':kebabCase(b[t(0x21d)])}),'config':c}),await g[t(0x20b)]({'filePath':j+'.'+c['engines']['js'],'content':t(0x211)+m[t(0x219)]+'.'+c['engines'][t(0x1f7)]+'\x27;'}));const n=b[t(0x201)]?'/'+b[t(0x201)]+'/':'/',o=''+h+n+m[t(0x219)]+'/'+m['fileName'];await g['injectTemplateModule'](m['className'],c,o);});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a134i=a134d;(function(a,b){const f=a134d,c=a();while(!![]){try{const d=-parseInt(f(
|
|
1
|
+
function a134d(a,b){const c=a134c();return a134d=function(d,e){d=d-0x191;let f=c[d];return f;},a134d(a,b);}const a134i=a134d;(function(a,b){const f=a134d,c=a();while(!![]){try{const d=-parseInt(f(0x1a3))/0x1*(parseInt(f(0x194))/0x2)+-parseInt(f(0x198))/0x3*(-parseInt(f(0x193))/0x4)+-parseInt(f(0x1a8))/0x5+parseInt(f(0x19a))/0x6*(-parseInt(f(0x1a5))/0x7)+-parseInt(f(0x191))/0x8+parseInt(f(0x199))/0x9+-parseInt(f(0x19f))/0xa*(-parseInt(f(0x1a6))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a134c,0xe4499));const a134b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a134d;if(c){const e=c[g(0x1a7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a134a=a134b(this,function(){const h=a134d;return a134a[h(0x19d)]()[h(0x195)](h(0x1a2))[h(0x19d)]()[h(0x197)](a134a)['search']('(((.+)+)+)+$');});a134a();function a134c(){const j=['1878AEfNZj','maka\x20generate:scaffold\x20todos','generate','toString','maka\x20g:template\x20todos/todo_item','150jxqqdL','maka\x20g:package\x20package:name','maka\x20{generate,\x20g}:<generator>\x20<name>','(((.+)+)+)+$','621221WfIKjf','Scaffold\x20various\x20parts\x20of\x20your\x20application','24227ibnGoQ','1604383bbMbsm','apply','257605NbykYT','9110144wIJTCb','maka\x20g:scaffold\x20todos','929420HJGVHp','2zBgtnM','search','maka\x20g:dbc\x20geoserver\x20--type=pgsql','constructor','21CoFAPm','140292OgZTJk'];a134c=function(){return j;};return a134c();}import{Generator}from'../generator.js';const MakaGen=new Generator({'name':a134i(0x19c),'aliases':['g'],'usage':a134i(0x1a1),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'resourceNameRequired':![],'shortDesc':a134i(0x1a4),'examples':[a134i(0x19b),a134i(0x192),a134i(0x19e),a134i(0x1a0),'maka\x20g:route\x20todos/edit','maka\x20g:api\x20trucks',a134i(0x196)]},async function(){});export default MakaGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a135n=a135d;(function(a,b){const k=a135d,c=a();while(!![]){try{const d=-parseInt(k(0x109))/0x1*(parseInt(k(0xf3))/0x2)+-parseInt(k(0xee))/0x3*(parseInt(k(0xfb))/0x4)+-parseInt(k(0xfd))/0x5+parseInt(k(0xef))/0x6+-parseInt(k(0x103))/0x7+parseInt(k(0x10c))/0x8+parseInt(k(0xf8))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a135c,0xba604));function a135d(a,b){const c=a135c();return a135d=function(d,e){d=d-0xed;let f=c[d];return f;},a135d(a,b);}const a135b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a135d;if(c){const e=c[l(0x10a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a135a=a135b(this,function(){const m=a135d;return a135a[m(0x105)]()['search'](m(0x104))[m(0x105)]()[m(0x100)](a135a)[m(0xf4)]('(((.+)+)+)+$');});a135a();import{Generator}from'../generator.js';function a135c(){const p=['2567670zPbDdh','injectAtEndOfFile','resourceName','template','2GOOZKw','search','import\x20\x27./methods','engines','pathFromApp','35402265jmZrXX','checkMeteorPackage','imports','3884TxmWJS','tsx','6003445MaglOa','method','pkg','constructor','-rpc-method.','dir','7946246syUhgp','(((.+)+)+)+$','toString','ddp-rate-limiter','methods','index.','1245194aEdoKo','apply','scaffold','10645400hNilnM','mdg:validated-method','create','appPathPrefix','startup','-rpc-method\x27;','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','4164pxqfWj'];a135c=function(){return p;};return a135c();}import{Log}from'../tools/log/log.class.js';import{camelCase,kebabCase,pascalCase}from'change-case';Generator[a135n(0x10e)]({'name':a135n(0xfe),'aliases':['m'],'usage':'maka\x20{generate,\x20g}:{method,\x20m}\x20name','mustBeInMakaProject':!![],'checkWhere':!![],'shortDesc':a135n(0xed),'validOpts':[a135n(0x102)],'examples':['maka\x20g:method\x20todos']},async function(a,b){const o=a135n;try{const c=this['projectConfig'],d=b[o(0x102)]?'/'+b[o(0x102)]+'/':'/',f=kebabCase(b[o(0xf1)]),g={'name':b[o(0xf1)],'fileName':f,'className':pascalCase(b[o(0xf1)]),'camelCase':camelCase(b[o(0xf1)]),'noRename':!![]};let h='js';c['engines']['js']===o(0xfc)&&(h='ts');await this[o(0xff)][o(0xf9)](['maka:check',o(0x106),o(0x10d)],{'shouldInstall':!![]}),await this[o(0x10b)][o(0xf2)]({'srcPath':'method/method.js','destPath':this['scaffold'][o(0xf7)]({'pathParts':[o(0xfa),o(0x110),b[o(0x10f)],o(0x107),d,f+o(0x101)+h]}),'context':g,'config':c});const i=this[o(0x10b)][o(0xf7)]({'pathParts':[o(0xfa),'startup',b[o(0x10f)],o(0x108)+c[o(0xf6)]['js']]});await this[o(0x10b)][o(0xf0)]({'filePath':i,'content':o(0xf5)+d+f+o(0x111)});}catch(j){Log['error'](j);}});
|