@maka/maka-cli 5.1.1 → 5.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundle/obf/package.json +1 -1
- package/bundle/obf/src/command.js +1 -1
- package/bundle/obf/src/commands/_index.js +1 -1
- package/bundle/obf/src/commands/ai.js +1 -1
- package/bundle/obf/src/commands/aws/_index.js +1 -1
- package/bundle/obf/src/commands/aws/aws.command.js +1 -1
- package/bundle/obf/src/commands/aws/cecr.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/decr.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/lecr.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/build/_index.js +1 -1
- package/bundle/obf/src/commands/build/build.js +1 -1
- package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/create.js +1 -1
- package/bundle/obf/src/commands/debug.js +1 -1
- package/bundle/obf/src/commands/deploy/_index.js +1 -1
- package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
- package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/_index.js +1 -1
- package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/play.command.js +1 -1
- package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/generate.js +1 -1
- package/bundle/obf/src/commands/get/_index.js +1 -1
- package/bundle/obf/src/commands/get/get.command.js +1 -1
- package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/help.js +1 -1
- package/bundle/obf/src/commands/install.js +1 -1
- package/bundle/obf/src/commands/jsdoc.js +1 -1
- package/bundle/obf/src/commands/lint.js +1 -1
- package/bundle/obf/src/commands/login.js +1 -1
- package/bundle/obf/src/commands/logout.js +1 -1
- package/bundle/obf/src/commands/logs.js +1 -1
- package/bundle/obf/src/commands/maka.cmd.js +1 -1
- package/bundle/obf/src/commands/murder.js +1 -1
- package/bundle/obf/src/commands/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
|
-
|
|
1
|
+
const a117n=a117d;function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0xc3;let f=c[d];return f;},a117d(a,b);}(function(a,b){const k=a117d,c=a();while(!![]){try{const d=parseInt(k(0xcc))/0x1*(parseInt(k(0xdb))/0x2)+parseInt(k(0xd9))/0x3+parseInt(k(0xce))/0x4+parseInt(k(0xc5))/0x5+parseInt(k(0xee))/0x6+-parseInt(k(0xd7))/0x7+parseInt(k(0xe8))/0x8*(-parseInt(k(0xca))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0x40d40));const a117b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a117d;if(c){const e=c[l(0xcf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){const m=a117d;return a117a[m(0xc8)]()['search'](m(0xd6))[m(0xc8)]()[m(0xda)](a117a)['search'](m(0xd6));});a117a();import{camelCase,kebabCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a117c(){const p=['2944740SCGwTc','conn.','dir','379920XaQgQe','maka\x20g:dbc\x20azure\x20--type=mssql','dbc/register-dbc.js','toString','resourceName','1149867GHjrEV','checkNpmPackage','5Zywari','tsx','2016800AsWVsf','apply','imports','template','dbc','index.','scaffold','injectAtEndOfFile','(((.+)+)+)+$','2994873eFRzGh','dbc/conn.js','1056207FigJai','constructor','14764GlPYnJ','maka\x20g:dbc\x20todos\x20--type=sqlite','pathFromApp','mssql','engines','sqlite','better-sqlite3','Scaffolding\x20for\x20creating\x20a\x20for\x20a\x20database\x20connection.','type','pgsql','create','dbc/config.js','maka\x20g:dbc\x20geoserver\x20--type=pgsql','48lbLpSx','pkg','import\x20\x27./register-','startup','-dbc\x27;','server'];a117c=function(){return p;};return a117c();}Generator[a117n(0xe5)]({'name':a117n(0xd2),'usage':'maka\x20{generate,\x20g}:{dbc}\x20<connection-name>','shortDesc':a117n(0xe2),'validOpts':[a117n(0xc4)],'mustBeInMakaProject':!![],'requiredOpts':[{'name':a117n(0xe3),'values':[a117n(0xe4),a117n(0xde),a117n(0xe0)]}],'examples':[a117n(0xe7),a117n(0xc6),a117n(0xdc)]},async function(a,b){const o=a117n;try{const c=this['projectConfig'],d=kebabCase(b[o(0xc9)]),f={'name':pascalCase(b[o(0xc9)]),'fileName':kebabCase(b[o(0xc9)]),'camelCase':camelCase(b[o(0xc9)]),'type':b[o(0xe3)],'engine':c[o(0xdf)]['js'],'noRename':!![]},g=b[o(0xc4)]?'/'+b[o(0xc4)]+'/':'/';let h='js';c[o(0xdf)]['js']===o(0xcd)&&(h='ts');b[o(0xe3)]===o(0xe4)&&await this[o(0xe9)][o(0xcb)]('pg',{'shouldInstall':!![]});b[o(0xe3)]===o(0xde)&&await this['pkg'][o(0xcb)](o(0xde),{'shouldInstall':!![]});b['type']===o(0xe0)&&await this['pkg'][o(0xcb)](o(0xe1),{'shouldInstall':!![]});await this[o(0xd4)][o(0xd1)]({'srcPath':o(0xe6),'destPath':this[o(0xd4)][o(0xdd)]({'pathParts':[o(0xd0),o(0xeb),o(0xed),o(0xd2),g,d,'config.'+h]}),'context':f,'config':c}),await this[o(0xd4)][o(0xd1)]({'srcPath':o(0xd8),'destPath':this[o(0xd4)]['pathFromApp']({'pathParts':['imports',o(0xeb),o(0xed),o(0xd2),g,d,o(0xc3)+h]}),'context':f,'config':c}),await this[o(0xd4)][o(0xd1)]({'srcPath':o(0xc7),'destPath':this[o(0xd4)][o(0xdd)]({'pathParts':['imports','startup',o(0xed),'register-'+d+'-dbc.'+h]}),'context':f,'config':c});const i=this[o(0xd4)]['pathFromApp']({'pathParts':[o(0xd0),o(0xeb),o(0xed),o(0xd3)+c[o(0xdf)]['js']]});await this[o(0xd4)][o(0xd5)]({'filePath':i,'content':o(0xea)+d+o(0xec)});}catch(j){Log['error'](j);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a118k=a118d;function a118d(a,b){const c=a118c();return a118d=function(d,e){d=d-0x19b;let f=c[d];return f;},a118d(a,b);}function a118c(){const m=['102852moOTVg','template','2640552UtfYbz','cfg','48aVajEY','appName','scaffold','app.tar.gz','30907CwxWBh','join','Generate\x20an\x20updated\x20dockerfile','3052728RjewDW','search','getGlobalConfig','app','force','isFile','getMakaProjectConfig','114504ZuQphh','fsi','findProjectDirectory','8166860yWoFnT','Dockerfile','constructor','38vHoqIq','maka\x20g:dockerfile','build','service','136936uuPMdW','cert','toString','docker/Dockerfile','5PhnnCi','(((.+)+)+)+$'];a118c=function(){return m;};return a118c();}(function(a,b){const i=a118d,c=a();while(!![]){try{const d=parseInt(i(0x1b3))/0x1*(-parseInt(i(0x1a1))/0x2)+-parseInt(i(0x19b))/0x3+parseInt(i(0x1a5))/0x4*(parseInt(i(0x1a9))/0x5)+parseInt(i(0x1ad))/0x6+-parseInt(i(0x1b6))/0x7+parseInt(i(0x1af))/0x8*(parseInt(i(0x1ab))/0x9)+parseInt(i(0x19e))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0x48c5b));const a118b=(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;};}()),a118a=a118b(this,function(){const j=a118d;return a118a['toString']()[j(0x1b7)](j(0x1aa))[j(0x1a7)]()[j(0x1a0)](a118a)['search']('(((.+)+)+)+$');});a118a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import a118e from'path';Generator['create']({'name':'dockerfile','usage':'maka\x20{generate,\x20g}:dockerfile','shortDesc':a118k(0x1b5),'resourceNameRequired':![],'mustBeInMakaProject':!![],'validOpts':[{'name':a118k(0x1ba),'boolFlag':!![]}],'examples':[a118k(0x1a2)]},async function(a,b){const l=a118k;try{const c=this[l(0x1ae)][l(0x1bc)](),d=await this[l(0x1ae)][l(0x1b8)](),f=this[l(0x19c)][l(0x19d)](),g={'app':c[l(0x1b0)],'config':c,'appPath':a118e['join'](f,l(0x1b9)),'bundlePath':a118e[l(0x1b4)](f,l(0x1a3),l(0x1b2)),'useCert':d[l(0x1a6)]?this[l(0x19c)][l(0x1bb)](d[l(0x1a6)]):![]};await this[l(0x1b1)][l(0x1ac)]({'srcPath':l(0x1a8),'destPath':a118e['join'](f,l(0x19f)),'framework':l(0x1a4),'context':g,'config':c,'force':b[l(0x1ba)]});}catch(h){Log['error'](h);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a119o=a119d;(function(a,b){const l=a119d,c=a();while(!![]){try{const d
|
|
1
|
+
function a119d(a,b){const c=a119c();return a119d=function(d,e){d=d-0x1be;let f=c[d];return f;},a119d(a,b);}function a119c(){const q=['4501704mtwvvP','toString','1779687tndQNO','create','792043rtRJDN','css','hook/hook.js','pkg','string','search','pages','layouts','hooks','cfg','.css','scaffold','react','withTranslations','@apollo/client','481575JMTzEb','resourceName','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','template','maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','installNpmPackage','apollo','8lKFAkm','fsi','apply','fileName','dir','test','5223848eBqZIu','Creating\x20','.js','injectAtBeginningOfFile','features','/imports/ui/components','components','none','engines','373248GXgYSW','setTemplate','baseDir','constructor','force','checkNpmPackage','.app-tests.js','hook','assign','4487808jQITyq','error','maka\x20g:hook\x20cool-hook','(((.+)+)+)+$','/imports/ui/','\x20hook...','Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html'];a119c=function(){return q;};return a119c();}const a119o=a119d;(function(a,b){const l=a119d,c=a();while(!![]){try{const d=parseInt(l(0x1e6))/0x1+-parseInt(l(0x1d2))/0x2+parseInt(l(0x1e4))/0x3+parseInt(l(0x1c3))/0x4*(-parseInt(l(0x1f5))/0x5)+-parseInt(l(0x1e2))/0x6+parseInt(l(0x1c9))/0x7+-parseInt(l(0x1db))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0x6babe));const a119b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a119d;if(c){const e=c[m(0x1c5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){const n=a119d;return a119a[n(0x1e3)]()[n(0x1eb)](n(0x1de))[n(0x1e3)]()[n(0x1d5)](a119a)[n(0x1eb)]('(((.+)+)+)+$');});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(0x1e5)]({'name':a119o(0x1d9),'aliases':['h'],'checkWhere':![],'usage':a119o(0x1c0),'shortDesc':a119o(0x1e1),'mustBeInMakaProject':!![],'validOpts':[{'name':'baseDir','values':[a119o(0x1ee),a119o(0x1cf),a119o(0x1ec),a119o(0x1ed)]},{'name':a119o(0x1d6),'boolFlag':!![]}],'examples':[a119o(0x1dd)],'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(0x1ca)+b[p(0x1f6)]+p(0x1e0));try{await this[p(0x1e9)][p(0x1d7)](p(0x1f2),{'shouldInstall':!![]});const c=this[p(0x1c4)]['findAppDirectory'](),d=b[p(0x1d4)]?p(0x1df)+b['baseDir']:p(0x1ce),f=this[p(0x1f1)]['pathFromApp']({'pathParts':[d,b[p(0x1c7)],kebabCase(b[p(0x1f6)]),kebabCase(b[p(0x1f6)])]}),g=this['projectConfig'];typeof g['template']['css']===p(0x1ea)&&this[p(0x1ef)][p(0x1d3)](p(0x1e7),g['template'][p(0x1e7)]);g[p(0x1d1)]['graphql']===p(0x1c2)&&!this[p(0x1e9)][p(0x1d7)](p(0x1f4))&&(Log['warn'](p(0x1be)),await this[p(0x1e9)][p(0x1c1)]('@apollo/client\x20isomorphic-fetch',{'cwd':c}));const h={'cssCaseName':kebabCase(b[p(0x1f6)]),'camelCaseName':camelCase(b[p(0x1f6)]),'className':pascalCase(b[p(0x1f6)]),'name':pascalCase(b[p(0x1f6)]),'graphql':g[p(0x1d1)]['graphql'],'theme':g[p(0x1d1)]['theme'],'test':g[p(0x1d1)]['test'],'features':g['features'],'myPath':a119e['relative'](this[p(0x1c4)]['findProjectDirectory'](),f),'fileName':kebabCase(b[p(0x1f6)]),'isComponent':![],'isLayout':![],'withTranslations':g[p(0x1cd)][p(0x1f3)]};await this[p(0x1f1)][p(0x1bf)]({'srcPath':p(0x1e8),'destPath':f+p(0x1cb),'context':h,'config':g,'framework':p(0x1f2),'force':b[p(0x1d6)]});g[p(0x1bf)][p(0x1e7)]&&(await this[p(0x1f1)][p(0x1bf)]({'srcPath':'template/template.css','destPath':f+p(0x1f0),'context':Object[p(0x1da)]({},h,{'className':h['cssCaseName']}),'config':g,'force':b['force']}),await this['scaffold'][p(0x1cc)]({'filePath':f+'.'+g[p(0x1d1)]['js'],'content':'import\x20\x27./'+h[p(0x1c6)]+'.'+g[p(0x1d1)]['css']+'\x27;'}));g['engines'][p(0x1c8)]!==p(0x1d0)&&await this[p(0x1f1)][p(0x1bf)]({'srcPath':'test/test.js','destPath':f+p(0x1d8),'framework':p(0x1f2),'context':h,'config':g,'force':b['force']});const i=b[p(0x1c7)]?'/'+b[p(0x1c7)]+'/':'/',j=''+d+i+h[p(0x1c6)]+'/'+h[p(0x1c6)];await this[p(0x1f1)]['injectTemplateModule'](h['className'],g,j);}catch(k){Log[p(0x1dc)](k);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a120d,c=a();while(!![]){try{var d=parseInt(f(
|
|
1
|
+
(function(a,b){var f=a120d,c=a();while(!![]){try{var d=parseInt(f(0x16f))/0x1*(parseInt(f(0x16c))/0x2)+-parseInt(f(0x17a))/0x3*(-parseInt(f(0x175))/0x4)+-parseInt(f(0x177))/0x5*(parseInt(f(0x178))/0x6)+-parseInt(f(0x16b))/0x7*(parseInt(f(0x173))/0x8)+-parseInt(f(0x170))/0x9*(parseInt(f(0x171))/0xa)+parseInt(f(0x172))/0xb+-parseInt(f(0x17b))/0xc*(-parseInt(f(0x16e))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0x2fc85));var a120b=(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;};}()),a120a=a120b(this,function(){var g=a120d;return a120a['toString']()[g(0x174)](g(0x176))[g(0x16d)]()[g(0x179)](a120a)[g(0x174)](g(0x176));});a120a();function a120d(a,b){var c=a120c();return a120d=function(d,e){d=d-0x16b;var f=c[d];return f;},a120d(a,b);}import'./kit.js';function a120c(){var h=['117RjKuDS','200707EJNUWf','54pnbzwS','450980WZyxYt','3169892YkgYIL','104PrDSqf','search','840308rAxoKI','(((.+)+)+)+$','5MVGxpl','1711212aUszAU','constructor','3jldDJR','222480rdkjxU','61551DEVmzi','2ZbEmnZ','toString'];a120c=function(){return h;};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(a,b){var f=a121d,c=a();while(!![]){try{var d=-parseInt(f(0x1c4))/0x1+-parseInt(f(0x1ca))/0x2*(parseInt(f(0x1cc))/0x3)+-parseInt(f(0x1c0))/0x4*(parseInt(f(0x1c8))/0x5)+parseInt(f(0x1c2))/0x6+parseInt(f(0x1be))/0x7*(parseInt(f(0x1bf))/0x8)+parseInt(f(0x1c6))/0x9+-parseInt(f(0x1c3))/0xa*(parseInt(f(0x1c9))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0x4ad76));var a121b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a121d;if(c){var e=c[g(0x1c1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){var h=a121d;return a121a['toString']()[h(0x1c7)](h(0x1cb))[h(0x1cd)]()[h(0x1c5)](a121a)['search'](h(0x1cb));});function a121c(){var i=['1065830yUxHhC','63194LqeXIH','constructor','1940688rfeWrD','search','2593670MzXoZw','22xaajtL','295726BwwikS','(((.+)+)+)+$','3PPxWoL','toString','70rbEivK','428848APjBEw','4wbBKwS','apply','2986890INVXNx'];a121c=function(){return i;};return a121c();}a121a();import'./auth.generator.js';import'./provider.auth.gen.js';function a121d(a,b){var c=a121c();return a121d=function(d,e){d=d-0x1be;var f=c[d];return f;},a121d(a,b);}import'./basic-meteor.auth.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a122i=a122d;(function(a,b){const f=a122d,c=a();while(!![]){try{const d=-parseInt(f(0x136))/0x1*(-parseInt(f(0x130))/0x2)+-parseInt(f(0x129))/0x3*(parseInt(f(0x139))/0x4)+-parseInt(f(0x12e))/0x5+parseInt(f(0x12d))/0x6+parseInt(f(0x138))/0x7*(parseInt(f(0x126))/0x8)+parseInt(f(0x125))/0x9*(-parseInt(f(0x128))/0xa)+parseInt(f(0x132))/0xb*(parseInt(f(0x134))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0x35de6));function a122c(){const k=['NIE','(((.+)+)+)+$','apply','2588982HSKRHL','215215krAURz','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x20\x20','4zMQLxo','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:<kit-name>','671OXjisG','Starting\x20point\x20for\x20generating\x20an\x20Auth\x20Provider','3984oCXbBj','auth','68127HwTuZp','search','1351qCdFij','4jqIMFS','create','toString','99EJbXSm','6376sFfuuV','maka\x20g:kit:a','180620dLlWSu','838359ZYdXvj'];a122c=function(){return k;};return a122c();}const a122b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a122d;if(c){const e=c[g(0x12c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){const h=a122d;return a122a[h(0x124)]()[h(0x137)](h(0x12b))['toString']()['constructor'](a122a)[h(0x137)]('(((.+)+)+)+$');});a122a();import{Generator}from'../../../generator.js';import a122e from'../kit.js';const AuthGen=Generator[a122i(0x13a)]({'name':a122i(0x135),'aliases':['a'],'usage':a122i(0x131),'shortDesc':a122i(0x133),'resourceNameRequired':![],'validOpts':[''],'isPro':!![],'examples':[a122i(0x127)],'description':a122i(0x12f)},async function(){const j=a122i;throw j(0x12a);},async function(){},a122e);function a122d(a,b){const c=a122c();return a122d=function(d,e){d=d-0x124;let f=c[d];return f;},a122d(a,b);}export default AuthGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a123v=a123d;
|
|
1
|
+
const a123v=a123d;(function(a,b){const s=a123d,c=a();while(!![]){try{const d=parseInt(s(0x227))/0x1*(-parseInt(s(0x21c))/0x2)+parseInt(s(0x222))/0x3+parseInt(s(0x207))/0x4+-parseInt(s(0x1fd))/0x5*(-parseInt(s(0x1ff))/0x6)+parseInt(s(0x1f4))/0x7+-parseInt(s(0x210))/0x8+-parseInt(s(0x1f2))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0x520a6));const a123b=(function(){let a=!![];return function(b,c){const d=a?function(){const t=a123d;if(c){const e=c[t(0x20e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){const u=a123d;return a123a[u(0x1e9)]()[u(0x204)](u(0x212))[u(0x1e9)]()['constructor'](a123a)[u(0x204)](u(0x212));});function a123d(a,b){const c=a123c();return a123d=function(d,e){d=d-0x1e2;let f=c[d];return f;},a123d(a,b);}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=['\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','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','processAndRunGenerator','/imports/startup/client','search','/imports/startup/lib/authentication-service','\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','362704fSLVru','meteor/maka:react-tracker','injectImport','ssr','const\x20deauthenticateUser','\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','server','apply','force','3304320dvzXCh','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','(((.+)+)+)+$','checkMeteorPackage','\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','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','Accounts','/imports/startup/lib','findAppDirectory','Meteor','const\x20resetPasswordWithToken','export\x20const\x20AuthProvider','4UbJvBA','accounts-password','kit/auth/service/meteor-auth-service.js','authentication-provider','Meteor.publish','useTracker','1155129HoVyOB','AuthService','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20start\x20by\x20generating\x20your\x20auth\x20provider\x20and\x20context,\x20and\x20then\x20setup\x20Meteor\x20Accounts\x0a\x20\x20\x20\x20to\x20handle\x20authentication\x20and\x20authorization.\x0a\x20\x20','engines','authentication-service','64997qOvqcD','meteor/accounts-base','/imports/startup/client/authentication-service','.js','const\x20authenticateUser','injectIntoCodeBlock','template','findProjectDirectory','toString','normalize','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','index','Meteor.startup','pathFromApp','imports','create','startup','3427560WhTjHI','error','2447382soMUWy','/imports/startup/server/publications/auth/roles.js','useEffect\x5c(','kit:auth:provider','meteor','injectIntoFile','react','\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20If\x20logged\x20in,\x20return\x20documents\x20owned\x20by\x20this\x20user.\x20Otherwise\x20return\x20nothing.\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(this.userId)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20Meteor.roleAssignment.find({\x20\x27user._id\x27:\x20this.userId\x20});\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20[];\x0a\x20\x20\x20\x20\x20\x20','const\x20authenticateToken','2172835MgnCUO','const\x20getUserAuthorizations','6VvajMH'];a123c=function(){return x;};return a123c();}import a123g from'../../../generators/maka.gen.js';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a123v(0x1f0)]({'name':a123v(0x1f8),'aliases':['m'],'usage':a123v(0x211),'shortDesc':'Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','validOpts':[a123v(0x20f)],'isPro':!![],'resourceNameRequired':![],'mustBeInMakaProject':!![],'requiredEngines':{'client':ClientEngines['REACT']},'description':a123v(0x224)},async function(a,b){const w=a123v,{fsi:c,pkg:d,scaffold:f,projectConfig:g}=this;try{const h=b['force']||![];await d[w(0x213)]([w(0x21d)],{'shouldInstall':!![]});const i=c[w(0x1e8)](),j=c[w(0x218)](),k=g[w(0x225)][w(0x20a)]===w(0x1f8);await a123g[w(0x202)](w(0x1f7),[],{'force':h,'cwd':i,'config':g}),await a123g['processAndRunGenerator']('publish',['auth/roles'],{'force':h,'globalPublish':!![],'cwd':i,'config':g});const l=j+a123e[w(0x1ea)](w(0x1f5)),m=k?w(0x217):w(0x203),n=f[w(0x1ee)]({'pathParts':[m,'','',w(0x226)]});await f[w(0x1e7)]({'srcPath':w(0x21e),'destPath':n+w(0x1e4),'framework':w(0x1fa),'context':{},'config':g,'force':h,'ignore':![]});const o=f[w(0x1ee)]({'pathParts':[m,'','',w(0x21f)]}),p=g['engines']['js'];await f[w(0x209)]({'filePath':o+'.'+p,'importName':w(0x223),'modulePath':k?w(0x205):w(0x1e3),'isNamedExport':![]}),await f[w(0x1e6)]({'filePath':o+'.'+p,'content':w(0x200),'begin':w(0x1e5),'replace':!![]}),await f[w(0x1e6)]({'filePath':o+'.'+p,'content':w(0x20c),'begin':w(0x1fc),'replace':!![]}),await f['injectIntoCodeBlock']({'filePath':o+'.'+p,'content':w(0x206),'begin':w(0x1fe),'replace':!![]}),await f[w(0x1e6)]({'filePath':o+'.'+p,'content':w(0x201),'begin':w(0x20b),'replace':!![]}),await f[w(0x1e6)]({'filePath':o+'.'+p,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','begin':'const\x20sendForgotPasswordEmail','replace':!![]}),await f[w(0x1e6)]({'filePath':o+'.'+p,'content':w(0x1eb),'begin':'const\x20registerNewUser','replace':!![]}),await f[w(0x1e6)]({'filePath':o+'.'+p,'content':w(0x215),'begin':w(0x21a),'replace':!![]});k&&(await f[w(0x209)]({'filePath':o+'.'+p,'importName':w(0x221),'modulePath':w(0x208),'isNamedExport':!![]}),await f[w(0x1f9)]({'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(0x21b),'end':w(0x1f6)}));await f[w(0x209)]({'filePath':l,'importName':w(0x219),'modulePath':'meteor/meteor','isNamedExport':!![],'injectAtStart':!![]}),await f[w(0x1e6)]({'filePath':l,'content':w(0x1fb),'begin':w(0x220),'replace':!![]});const q=f[w(0x1ee)]({'pathParts':[w(0x1ef),w(0x1f1),w(0x20d),w(0x1ec)]});await f[w(0x209)]({'filePath':q+'.'+p,'importName':w(0x216),'modulePath':w(0x1e2),'isNamedExport':!![]}),await f[w(0x1e6)]({'filePath':q+'.'+p,'content':w(0x214),'begin':w(0x1ed),'replace':!![]});}catch(r){Log[w(0x1f3)](r),process['exit'](0x1);}},async function(){},a123f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a124x=a124d;(function(a,b){const u=a124d,c=a();while(!![]){try{const d=-parseInt(u(0x199))/0x1+parseInt(u(0x186))/0x2*(-parseInt(u(0x174))/0x3)+-parseInt(u(0x181))/0x4+parseInt(u(0x195))/0x5+-parseInt(u(0x17e))/0x6+-parseInt(u(0x18f))/0x7*(-parseInt(u(0x18a))/0x8)+parseInt(u(0x165))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0xc767a));const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a124d;if(c){const e=c[v(0x16a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const w=a124d;return a124a['toString']()[w(0x192)]('(((.+)+)+)+$')[w(0x18d)]()[w(0x171)](a124a)[w(0x192)](w(0x17f));});a124a();import{Generator}from'../../../generator.js';function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0x165;let f=c[d];return f;},a124d(a,b);}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';Generator[a124x(0x172)]({'name':a124x(0x196),'aliases':['p'],'usage':a124x(0x189),'shortDesc':a124x(0x188),'validOpts':[a124x(0x175)],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'client':ClientEngines['REACT']},'description':a124x(0x17d)},async function(a,b){const y=a124x;try{const c=b[y(0x175)]||![];Log[y(0x17b)](y(0x16b));const {projectConfig:d}=this,f=d[y(0x184)][y(0x194)]==='meteor',g={'name':capitalCase(d[y(0x168)])},h=f?y(0x187):'/imports/startup/client',i=this[y(0x167)]['pathFromApp']({'pathParts':[h,'','',y(0x183)]});await this[y(0x167)][y(0x170)]({'srcPath':y(0x16f),'destPath':i+y(0x193),'framework':y(0x182),'context':g,'config':d,'force':c,'ignore':![]});const j=d[y(0x184)]['js'],k=h+y(0x18c),l=k['split']('/'),m=this[y(0x167)]['pathFromApp']({'pathParts':l});await this['scaffold']['injectImport']({'filePath':m+'.'+j,'importName':'AuthContext','modulePath':f?y(0x16c):y(0x16d),'isNamedExport':!![]}),await this[y(0x167)]['injectImport']({'filePath':m+'.'+j,'importName':y(0x17a),'modulePath':y(0x182),'isNamedExport':!![],'injectAtStart':!![]}),await this[y(0x167)][y(0x18b)]({'filePath':m+'.'+j,'content':y(0x16e),'begin':[y(0x197),y(0x198)],'replace':!![]}),await this[y(0x167)][y(0x18b)]({'filePath':m+'.'+j,'content':y(0x169),'begin':[y(0x185)],'replace':!![]});const n='/imports/startup/client/index',o=n[y(0x191)]('/'),p=this[y(0x167)][y(0x17c)]({'pathParts':o});await this[y(0x167)][y(0x179)]({'filePath':p+'.'+j,'importName':y(0x18e),'modulePath':f?y(0x16c):y(0x16d),'isNamedExport':!![]}),await this[y(0x167)]['injectAroundString']({'filePath':p+'.'+j,'aboveContent':'<AuthProvider>','belowContent':y(0x190),'targetString':'<AppRoutes\x20/>','indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q=y(0x166),r=q[y(0x191)]('/'),s=this[y(0x167)][y(0x17c)]({'pathParts':r});await this['scaffold'][y(0x179)]({'filePath':s+'.'+j,'importName':y(0x18e),'modulePath':f?y(0x16c):y(0x16d),'isNamedExport':!![]}),await this[y(0x167)][y(0x176)]({'filePath':s+'.'+j,'aboveContent':y(0x178),'belowContent':y(0x190),'targetString':y(0x177),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log[y(0x180)](t),process[y(0x173)](0x1);}},async function(){},a124e);function a124c(){const z=['template','constructor','create','exit','21kRttYM','force','injectAroundString','<AppRoutes\x20history={history}/>','<AuthProvider>','injectImport','useContext','bright','pathFromApp','\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','5006328sNNPRA','(((.+)+)+)+$','error','491580qLLXBL','react','authentication-provider','engines','const\x20PrivateRoute','49546KcCkLC','/imports/startup/lib','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','2461224BaGOqn','injectIntoCodeBlock','/routes','toString','AuthProvider','21PQyvCt','</AuthProvider>','split','search','.js','ssr','2949485mbnxyp','provider','const\x20useAuth','function\x20useAuth','1179676VUisby','14528484LZdWzj','/imports/startup/server/index','scaffold','appName','\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','apply','Creating\x20an\x20AuthProvider\x20and\x20AuthContext','/imports/startup/lib/authentication-provider','/imports/startup/client/authentication-provider','\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','kit/auth/provider/authentication-provider.js'];a124c=function(){return z;};return a124c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a125d,c=a();while(!![]){try{var d=parseInt(f(
|
|
1
|
+
(function(a,b){var f=a125d,c=a();while(!![]){try{var d=parseInt(f(0xda))/0x1*(-parseInt(f(0xde))/0x2)+parseInt(f(0xd9))/0x3+parseInt(f(0xdf))/0x4+parseInt(f(0xdd))/0x5+-parseInt(f(0xdb))/0x6*(-parseInt(f(0xe3))/0x7)+-parseInt(f(0xe2))/0x8*(-parseInt(f(0xd7))/0x9)+-parseInt(f(0xdc))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0xd9cd5));function a125d(a,b){var c=a125c();return a125d=function(d,e){d=d-0xd5;var f=c[d];return f;},a125d(a,b);}var a125b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a125d;if(c){var e=c[g(0xd8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){var h=a125d;return a125a[h(0xd6)]()[h(0xd5)](h(0xe0))[h(0xd6)]()[h(0xe1)](a125a)[h(0xd5)](h(0xe0));});function a125c(){var i=['search','toString','1467TSJeXK','apply','4712676NThtYR','373CHlEJh','19242GwUdwE','24217900LqQQNG','6330645mYCKFO','7190qknuSC','35976gouNAD','(((.+)+)+)+$','constructor','35576pCczMb','2366tTiTQG'];a125c=function(){return i;};return a125c();}a125a();import'./esri.generator.js';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
|
+
function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0xf1;let f=c[d];return f;},a126d(a,b);}const a126i=a126d;function a126c(){const j=['23496afiOtb','esri','maka\x20g:kit:e','3339RRSghM','450bwsxVW','534202WxqPRR','1403065TLohbV','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','6CpNutr','(((.+)+)+)+$','2137552GxNaDk','create','toString','2002642ekCDqX','apply','constructor','Starting\x20point\x20for\x20generating\x20Esri\x20Maps','390115PFfjfL','7128065sNueEH','search','12QrDWuF'];a126c=function(){return j;};return a126c();}(function(a,b){const f=a126d,c=a();while(!![]){try{const d=parseInt(f(0xf2))/0x1+-parseInt(f(0xfa))/0x2+-parseInt(f(0xf5))/0x3*(parseInt(f(0xf7))/0x4)+parseInt(f(0xf3))/0x5*(parseInt(f(0x101))/0x6)+parseInt(f(0xff))/0x7+-parseInt(f(0x102))/0x8*(parseInt(f(0x105))/0x9)+-parseInt(f(0xf1))/0xa*(-parseInt(f(0xfe))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0x86424));const a126b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a126d;if(c){const e=c[g(0xfb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){const h=a126d;return a126a[h(0xf9)]()['search']('(((.+)+)+)+$')[h(0xf9)]()[h(0xfc)](a126a)[h(0x100)](h(0xf6));});a126a();import{Generator}from'../../../generator.js';import{UsageError}from'../../../error.js';import a126e from'../kit.js';const EsriGen=Generator[a126i(0xf8)]({'name':a126i(0x103),'aliases':['e'],'usage':a126i(0xf4),'shortDesc':a126i(0xfd),'resourceNameRequired':![],'validOpts':[''],'isPro':!![],'examples':[a126i(0x104)],'description':'\x0a\x20\x20\x20\x20This\x20generator\x20will\x20create\x20a\x20kit\x20for\x20Esri\x20Maps.\x20Starting\x20with\x20a\x20basic\x20map,\x0a\x20\x20\x20\x20but\x20with\x20the\x20ability\x20to\x20add\x20more\x20components\x20to\x20the\x20kit.\x0a\x20\x20'},async function(){throw UsageError;},async function(){},a126e);export default EsriGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a127v=a127d;(function(a,b){const s=a127d,c=a();while(!![]){try{const d=-parseInt(s(0x1f5))/0x1+-parseInt(s(0x20d))/0x2+parseInt(s(0x21a))/0x3*(-parseInt(s(0x214))/0x4)+parseInt(s(0x1f8))/0x5+parseInt(s(0x213))/0x6*(-parseInt(s(0x1f2))/0x7)+-parseInt(s(0x208))/0x8+-parseInt(s(0x211))/0x9*(-parseInt(s(0x21e))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0xad4dc));const a127b=(function(){let a=!![];return function(b,c){const d=a?function(){const t=a127d;if(c){const e=c[t(0x20c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){const u=a127d;return a127a[u(0x1fd)]()[u(0x218)](u(0x1f4))[u(0x1fd)]()[u(0x205)](a127a)[u(0x218)]('(((.+)+)+)+$');});function a127d(a,b){const c=a127c();return a127d=function(d,e){d=d-0x1f0;let f=c[d];return f;},a127d(a,b);}function a127c(){const x=['\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','exit','map','toString','/imports/startup/client/templates','bright','esri-loader','baseDir','pathFromApp','</div>','/imports/ui/components','constructor','engines','split','3877464PCeEoI','meteor','template','checkNpmPackage','apply','522982YbDaQd','basic-map','@esri/react-arcgis','/imports/ui/','222831vWoRwx','Generate\x20an\x20Esri\x20map\x20component','6StBfle','4YfEZtA','.js','REACT','injectTemplateModule','search','<div\x20id=\x22map\x22>','2897691geSCCA','/imports/startup/lib/templates','react','page','1030uTBaCS','appName','kit/esri/map/','Generating\x20a\x20map\x20component','6004145fQbwLA','injectImport','(((.+)+)+)+$','173899yIESVV','dir','ssr','4516900ojWeXC','create'];a127c=function(){return x;};return a127c();}a127a();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(0x1f9)]({'name':a127v(0x1fc),'aliases':['m'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','shortDesc':a127v(0x212),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'client':ClientEngines[a127v(0x216)],'ssr':SsrEngines['NONE']},'description':a127v(0x1fa)},async function(a,b){const w=a127v;try{const {projectConfig:c,fsi:d,pkg:f,scaffold:g}=this;Log[w(0x1ff)](w(0x1f1));const h=w(0x20e);await f[w(0x20b)]([w(0x20f),w(0x200)],{'shouldInstall':!![]});const i=d['findProjectDirectory'](),j=c[w(0x206)][w(0x1f7)]===w(0x209),k=await a127f['processAndRunGenerator'](w(0x21d),[w(0x1fc)],{'cwd':i,'config':c}),l={'name':capitalCase(c[w(0x21f)])['replaceAll']('-','\x20'),'componentName':pascalCase(h)},m=b[w(0x201)]?w(0x210)+b[w(0x201)]:w(0x204),n=g[w(0x202)]({'pathParts':[m,b[w(0x1f6)],kebabCase(h),kebabCase(h)]});await g[w(0x20a)]({'srcPath':w(0x1f0)+h+w(0x215),'destPath':n+'.js','framework':w(0x21c),'context':l,'config':c,'force':![],'ignore':![]});const o=''+m+b['dir']+'/'+h+'/'+h;await g[w(0x217)](h,c,o);const p=k[w(0x207)]('/'),q=g[w(0x202)]({'pathParts':p});await g[w(0x1f3)]({'filePath':q,'importName':pascalCase(h),'modulePath':j?w(0x21b):w(0x1fe),'isNamedExport':!![]}),await g['injectIntoFile']({'filePath':q,'content':'\x0a<'+pascalCase(h)+'\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','begin':['<div\x20id=\x22map\x22>',w(0x219)],'end':[w(0x203)],'replace':!![]});}catch(r){Log['error'](r),process[w(0x1fb)](0x1);}},async function(){},a127e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a128i=a128d;(function(a,b){const f=a128d,c=a();while(!![]){try{const d=-parseInt(f(0x191))/0x1*(parseInt(f(0x196))/0x2)+parseInt(f(0x18b))/0x3*(parseInt(f(0x199))/0x4)+parseInt(f(0x193))/0x5+parseInt(f(0x18e))/0x6+parseInt(f(0x192))/0x7*(-parseInt(f(0x18f))/0x8)+parseInt(f(0x19a))/0x9+parseInt(f(0x197))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0xd590a));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a128d;if(c){const e=c[g(0x18c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const h=a128d;return a128a[h(0x19d)]()[h(0x190)]('(((.+)+)+)+$')[h(0x19d)]()[h(0x19b)](a128a)[h(0x190)](h(0x198));});function a128c(){const j=['5529600viIZFY','52592DsgyjJ','search','1ughGeg','1155mxRdDa','4147905HMAZBg','create','maka\x20g:kit','2375618ihyMCk','7169600dukUhS','(((.+)+)+)+$','691720FYXJID','4555890eLVemM','constructor','maka\x20{generate,\x20g}:{kit}\x20<name>','toString','3OUEBRd','apply','maka\x20g:k'];a128c=function(){return j;};return a128c();}a128a();import{Generator}from'../../generator.js';function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0x18b;let f=c[d];return f;},a128d(a,b);}const KitGen=Generator[a128i(0x194)]({'name':'kit','aliases':['k'],'usage':a128i(0x19c),'shortDesc':'Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','minArgLength':0x1,'isPro':!![],'validOpts':[],'resourceNameRequired':![],'examples':[a128i(0x195),a128i(0x18d)]},async function(){});export default KitGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(a,b){var f=a129d,c=a();while(!![]){try{var d=-parseInt(f(0x1b5))/0x1+-parseInt(f(0x1b9))/0x2*(-parseInt(f(0x1b3))/0x3)+-parseInt(f(0x1b7))/0x4*(-parseInt(f(0x1b0))/0x5)+-parseInt(f(0x1b8))/0x6+-parseInt(f(0x1b4))/0x7+parseInt(f(0x1bb))/0x8+parseInt(f(0x1b6))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0x25315));var a129b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a129d;if(c){var e=c[g(0x1ba)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){var h=a129d;return a129a['toString']()[h(0x1b2)]('(((.+)+)+)+$')[h(0x1b1)]()['constructor'](a129a)[h(0x1b2)](h(0x1af));});function a129c(){var i=['1383894TQpNyj','194644DniMry','259854KwvRfI','4PUqqjA','apply','550016KYFGbZ','(((.+)+)+)+$','15NoKlsc','toString','search','420843FhHTiG','1415099lXAnkM','251256LTnNXx'];a129c=function(){return i;};return a129c();}function a129d(a,b){var c=a129c();return a129d=function(d,e){d=d-0x1af;var f=c[d];return f;},a129d(a,b);}a129a();import'./mui.generator.js';import'./frame.mui.gen.js';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(0xb0))/0x1*(parseInt(I(0xe6))/0x2)+-parseInt(I(0xe7))/0x3+-parseInt(I(0xba))/0x4+-parseInt(I(0xad))/0x5+-parseInt(I(0xc6))/0x6+-parseInt(I(0xc1))/0x7+parseInt(I(0xd2))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0x5ab25));const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){const J=a130d;if(c){const e=c[J(0xd6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const K=a130d;return a130a[K(0xbb)]()[K(0xdd)](K(0xcb))[K(0xbb)]()[K(0xc4)](a130a)[K(0xdd)](K(0xcb));});a130a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';function a130c(){const O=['split','kit/mui/auth/register/','1546321zEWPDI','What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','register','constructor','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{auth,\x20a}','3782322fteMPM','log','AuthContext','REACT','custom','(((.+)+)+)+$','pathFromApp','maka\x20generate:kit:mui:auth','logout','error','kit/mui/auth/password-reset/','MATERIAL','17473272LtDahh','Custom\x20(roll\x20your\x20own)','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20setup\x20with\x20login,\x20logout,\x20registration,\x20and\x20password\x20reset\x20pages.\x0a\x20\x20','force','apply','login','/imports/startup/lib/authentication-provider','/imports/startup/client/authentication-provider','basic-register-page','route','kit/mui/auth/login/','search','auth','basic-logout-page','react','basic-password-reset-page','findProjectDirectory','template','injectTemplateModule','Meteor\x20Accounts','2bwSwog','1138599yALFya','Cleaning\x20up...','baseDir','/imports/ui/','22675sAGzTT','.js','processAndRunGenerator','48679XCvDUW','/imports/ui/pages/auth','dir','create','meteor','basic-login-page','kit/mui/auth/forgot-password/','exit','layouts','kit/mui/auth/logout/','2114516EJTGNM','toString','Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','basic-forgot-password-page','injectImport'];a130c=function(){return O;};return a130c();}import a130e from'../../../generators/maka.gen.js';import a130f from'./mui.generator.js';function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0xad;let f=c[d];return f;},a130d(a,b);}import{kebabCase,capitalCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a130L(0xb3)]({'name':a130L(0xde),'aliases':['a'],'usage':a130L(0xc5),'shortDesc':a130L(0xbc),'validOpts':[a130L(0xb8),'force'],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'theme':ThemeEngines[a130L(0xd1)],'client':ClientEngines[a130L(0xc9)]},'examples':[a130L(0xcd),'maka\x20g:k:m:a'],'description':a130L(0xd4)},async function(a,b){const M=a130L;try{const {projectConfig:c,fsi:d,scaffold:f}=this,g=b[M(0xd5)]||![],h=d[M(0xe2)](),i=await Actions['select']({'name':'authType','message':M(0xc2),'choices':[{'name':M(0xe5),'value':M(0xb4)},{'name':M(0xd3),'value':'custom'}]}),j=M(0xb5),k=M(0xdf),l=M(0xda),m=M(0xe1),n=M(0xbd),o=b['baseDir']?M(0xea)+b[M(0xe9)]:M(0xb1),p=f[M(0xcc)]({'pathParts':[o,b[M(0xb2)],kebabCase(j),kebabCase(j)]}),q=f[M(0xcc)]({'pathParts':[o,b[M(0xb2)],kebabCase(k),kebabCase(k)]}),r=f[M(0xcc)]({'pathParts':[o,b[M(0xb2)],kebabCase(l),kebabCase(l)]}),s=f[M(0xcc)]({'pathParts':[o,b[M(0xb2)],kebabCase(m),kebabCase(m)]}),t=f[M(0xcc)]({'pathParts':[o,b[M(0xb2)],kebabCase(n),kebabCase(n)]}),u={'name':capitalCase(c['appName'])};await f[M(0xe3)]({'srcPath':M(0xdc)+j+M(0xae),'destPath':p+'.js','framework':'react','context':u,'config':c,'force':g,'ignore':![]}),await f[M(0xe3)]({'srcPath':M(0xb9)+k+M(0xae),'destPath':q+M(0xae),'framework':M(0xe0),'context':u,'config':c,'force':g,'ignore':![]}),await f[M(0xe3)]({'srcPath':M(0xc0)+l+'.js','destPath':r+M(0xae),'framework':M(0xe0),'context':u,'config':c,'force':g,'ignore':![]}),await f[M(0xe3)]({'srcPath':M(0xd0)+m+M(0xae),'destPath':s+M(0xae),'framework':M(0xe0),'context':u,'config':c,'force':g,'ignore':![]}),await f['template']({'srcPath':M(0xb6)+n+M(0xae),'destPath':t+'.js','framework':M(0xe0),'context':u,'config':c,'force':g,'ignore':![]});const v=''+o+b['dir']+'/'+j+'/'+j;await f[M(0xe4)](j,c,v);const w=''+o+b[M(0xb2)]+'/'+k+'/'+k;await f['injectTemplateModule'](k,c,w);const x=''+o+b[M(0xb2)]+'/'+l+'/'+l;await f[M(0xe4)](l,c,x);const y=''+o+b[M(0xb2)]+'/'+m+'/'+m;await f[M(0xe4)](m,c,y);const z=''+o+b[M(0xb2)]+'/'+n+'/'+n;await f['injectTemplateModule'](n,c,z),await a130e[M(0xaf)](M(0xdb),[M(0xb5)],{'route':M(0xd7),'cwd':h,'config':c}),await a130e[M(0xaf)](M(0xdb),[M(0xdf)],{'route':M(0xce),'private':!![],'cwd':h,'config':c}),await a130e['processAndRunGenerator']('route',[M(0xda)],{'route':M(0xc3),'cwd':h,'config':c}),await a130e['processAndRunGenerator'](M(0xdb),[M(0xe1)],{'route':'reset-password/:token','cwd':h,'config':c}),await a130e[M(0xaf)](M(0xdb),['basic-forgot-password-page'],{'route':'forgot-password','cwd':h,'config':c});i===M(0xb4)&&await a130e[M(0xaf)]('kit:auth:meteor',[],{'force':g,'cwd':h,'config':c});i===M(0xca)&&await a130e[M(0xaf)]('kit:auth:provider',[],{'force':g,'cwd':h,'config':c});const A=c['engines']['ssr']===M(0xb4),B=c['engines']['js'],C=f['pathFromApp']({'pathParts':v[M(0xbf)]('/')});await f[M(0xbe)]({'filePath':C+'.'+B,'importName':M(0xc8),'modulePath':A?M(0xd8):M(0xd9),'isNamedExport':!![]});const D=f[M(0xcc)]({'pathParts':w[M(0xbf)]('/')});await f['injectImport']({'filePath':D+'.'+B,'importName':'AuthContext','modulePath':A?M(0xd8):M(0xd9),'isNamedExport':!![]});const E=f['pathFromApp']({'pathParts':x['split']('/')});await f[M(0xbe)]({'filePath':E+'.'+B,'importName':M(0xc8),'modulePath':A?M(0xd8):M(0xd9),'isNamedExport':!![]});const F=f[M(0xcc)]({'pathParts':y[M(0xbf)]('/')});await f['injectImport']({'filePath':F+'.'+B,'importName':'AuthContext','modulePath':A?M(0xd8):M(0xd9),'isNamedExport':!![]});const G=f[M(0xcc)]({'pathParts':z['split']('/')});await f[M(0xbe)]({'filePath':G+'.'+B,'importName':'AuthContext','modulePath':A?'/imports/startup/lib/authentication-provider':M(0xd9),'isNamedExport':!![]});}catch(H){Log[M(0xcf)](H),process[M(0xb7)](0x1);}},async function(){const N=a130L;console[N(0xc7)](N(0xe8));},a130f);export default a130f;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a131H=a131d;(function(a,b){const E=a131d,c=a();while(!![]){try{const d=parseInt(E(
|
|
1
|
+
const a131H=a131d;(function(a,b){const E=a131d,c=a();while(!![]){try{const d=parseInt(E(0xb7))/0x1+-parseInt(E(0x99))/0x2+-parseInt(E(0x9c))/0x3+-parseInt(E(0xa6))/0x4+parseInt(E(0x8f))/0x5*(-parseInt(E(0x98))/0x6)+parseInt(E(0xa0))/0x7+parseInt(E(0x8c))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0x1c74f));const a131b=(function(){let a=!![];return function(b,c){const d=a?function(){const F=a131d;if(c){const e=c[F(0x90)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a131a=a131b(this,function(){const G=a131d;return a131a[G(0xaf)]()[G(0xb9)](G(0x83))[G(0xaf)]()[G(0x92)](a131a)[G(0xb9)](G(0x83));});a131a();function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0x7f;let f=c[d];return f;},a131d(a,b);}import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a131e from'path';import a131f from'./mui.generator.js';import{kebabCase,pascalCase,capitalCase}from'change-case';function a131c(){const K=['maka\x20generate:kit:mui:frame','checkMeteorPackage','force','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20frame\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','-hook\x22>','basic-sticky-footer','length','getFiles','MATERIAL','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','(((.+)+)+)+$','test','Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','/imports/startup/client/templates','error','<Outlet\x20/>','<Outlet/>','REACT','injectIntoFile','777176DabXab','frame','injectTemplateModule','55swlEkj','apply','app-tests','constructor','getDirectories','react','ssr','baseDir','\x20/>\x0a','82590sErIcK','169254AREiNR','imports','.js','42453XeOaYF','layouts','@mui/material/Box','session','1188432MWFUvE','Box','dir','basic-app-bar','/imports/startup/lib/templates','appName','448160bOvpdY','pathFromApp','@mui/material/Container','kit/mui/frame/app-bars/','</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','template','log','injectImport','<div\x20id=\x22','toString','findAppDirectory','maka\x20g:k:m:f','create','/imports/ui/components','Container','meteor','tsx','211869RLJqJs','join','search','<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>'];a131c=function(){return K;};return a131c();}import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a131H(0xb2)]({'name':a131H(0x8d),'aliases':['f'],'usage':'maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f}','shortDesc':a131H(0x85),'validOpts':[a131H(0x9d),'baseDir',a131H(0xa2),'force'],'isPro':![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'theme':ThemeEngines[a131H(0x81)],'client':ClientEngines[a131H(0x8a)]},'examples':[a131H(0xbb),a131H(0xb1)],'description':a131H(0xbe)},async function(a,b){const I=a131H,{projectConfig:c,fsi:d,pkg:f,scaffold:g}=this;try{const h=b[I(0xbd)]||![],i=I(0xa3),j='basic-drawer',k=I(0xc0),l=c['engines'][I(0x95)]===I(0xb5);await f[I(0xbc)]([I(0x9f),'maka:react-tracker'],{'shouldInstall':!![]});const m=d[I(0xb0)](),n=a131e[I(0xb8)](m,I(0x9a),'ui','layouts'),o=d[I(0x93)](n),p=o['map'](z=>({'name':z,'value':z})),q=await Actions['checkbox']({'message':I(0x82),'name':I(0x9d),'choices':p});if(q[I(0x7f)]===0x0){Log[I(0x87)]('No\x20layouts\x20selected');return;}const r=b['baseDir']?'/imports/ui/'+b[I(0x96)]:I(0xb3),s=g['pathFromApp']({'pathParts':[r,b['dir'],kebabCase(i),kebabCase(i)]}),t=g[I(0xa7)]({'pathParts':[r,b[I(0xa2)],kebabCase(j),kebabCase(j)]}),u=g['pathFromApp']({'pathParts':[r,b[I(0xa2)],kebabCase(k),kebabCase(k)]}),v={'name':capitalCase(c[I(0xa5)])};await g[I(0xab)]({'srcPath':I(0xa9)+i+I(0x9b),'destPath':s+I(0x9b),'framework':I(0x94),'context':v,'config':c,'force':h,'ignore':![]}),await g[I(0xab)]({'srcPath':'kit/mui/frame/drawers/'+j+'.js','destPath':t+'.js','framework':I(0x94),'context':v,'config':c,'force':h,'ignore':![]}),await g[I(0xab)]({'srcPath':'kit/mui/frame/footers/'+k+I(0x9b),'destPath':u+I(0x9b),'framework':I(0x94),'context':v,'config':c,'force':h,'ignore':![]});const w=''+r+b[I(0xa2)]+'/'+i+'/'+i;await g[I(0x8e)](i,c,w);const x=''+r+b['dir']+'/'+j+'/'+j;await g[I(0x8e)](j,c,x);const y=''+r+b[I(0xa2)]+'/'+k+'/'+k;await g[I(0x8e)](k,c,y);for(const z of q){const A=d[I(0x80)](a131e[I(0xb8)](n,z),{'extensions':['jsx',I(0xb6)],'omit':[I(0x91),'tests',I(0x84)]});for(const B of A){const C=a131e[I(0xb8)](n,z,B);await g['injectImport']({'filePath':C,'importName':I(0xa1),'modulePath':I(0x9e),'isNamedExport':![]}),await g[I(0xad)]({'filePath':C,'importName':I(0xb4),'modulePath':I(0xa8),'isNamedExport':![]}),await g[I(0xad)]({'filePath':C,'importName':pascalCase(i),'modulePath':l?I(0xa4):I(0x86),'isNamedExport':!![]}),await g[I(0x8b)]({'filePath':C,'content':'<'+pascalCase(i)+I(0x97),'begin':[I(0xae)+z+'\x22>',I(0xae)+z+I(0xbf)],'end':[I(0x89),I(0x88)]}),await g['injectImport']({'filePath':C,'importName':pascalCase(j),'modulePath':l?I(0xa4):'/imports/startup/client/templates','isNamedExport':!![]}),await g[I(0x8b)]({'filePath':C,'content':'<'+pascalCase(j)+I(0x97),'begin':['<div\x20id=\x22'+z+'\x22>','<div\x20id=\x22'+z+I(0xbf)],'end':[I(0x89),'<Outlet\x20/>']}),await g[I(0x8b)]({'filePath':C,'content':'<'+pascalCase(k)+I(0x97),'begin':[I(0x89),I(0x88)],'end':['</div>']}),await g[I(0xad)]({'filePath':C,'importName':pascalCase(k),'modulePath':l?I(0xa4):I(0x86),'isNamedExport':!![]}),await g['injectAroundString']({'filePath':C,'aboveContent':I(0xba),'belowContent':I(0xaa),'targetString':[I(0x89),I(0x88)],'targetIndentAdjustment':0x6});}}}catch(D){Log[I(0x87)](D);}},async function(){const J=a131H;console[J(0xac)]('Cleaning\x20up...');},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(0xb7))/0x1+-parseInt(g(0xc4))/0x2*(parseInt(g(0xa7))/0x3)+parseInt(g(0xab))/0x4*(parseInt(g(0xbf))/0x5)+-parseInt(g(0xbe))/0x6*(parseInt(g(0xba))/0x7)+parseInt(g(0xa2))/0x8+-parseInt(g(0xb6))/0x9*(parseInt(g(0xb8))/0xa)+-parseInt(g(0xc3))/0xb*(-parseInt(g(0xae))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a132c,0x53b28));const a132b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a132d;if(c){const e=c[h(0xaa)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a132a=a132b(this,function(){const i=a132d;return a132a['toString']()[i(0xb0)](i(0xb2))[i(0xc2)]()[i(0xb4)](a132a)[i(0xb0)](i(0xb2));});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';function a132d(a,b){const c=a132c();return a132d=function(d,e){d=d-0x9f;let f=c[d];return f;},a132d(a,b);}import a132f from'../kit.js';const MuiGen=Generator[a132j(0xc0)]({'name':a132j(0xb3),'aliases':['m'],'usage':a132j(0xa4),'resourceNameRequired':![],'shortDesc':a132j(0xbb),'validOpts':[''],'isPro':!![],'examples':['maka\x20g:kit:m']},async function(){const k=a132j;try{Log[k(0xa1)](k(0xa9)),Log[k(0xaf)](k(0xc1));const a=await Actions['checkbox']({'message':'Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','name':k(0xac),'choices':[{'name':k(0xa6),'value':k(0xa3)},{'name':'Auth\x20workflow\x20(login,\x20logout,\x20etc.)','value':'auth'}]}),b=this[k(0xad)][k(0xb9)](),c=this[k(0xbc)][k(0x9f)]();a[k(0xa8)](k(0xa3))&&await a132e[k(0xb1)](k(0xa5),[],{'force':!![],'cwd':b,'config':c});a[k(0xa8)](k(0xb5))&&await a132e[k(0xb1)]('kit:mui:auth',[],{'force':!![],'cwd':b,'config':c});if(a[k(0xa0)]===0x0){Log['info']('No\x20MUI\x20kits\x20selected.\x20Exiting.');return;}}catch(d){Log['error'](d),process[k(0xbd)](0x1);}},async function(){},a132f);export default MuiGen;function a132c(){const l=['includes','Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!','apply','16dGINUk','kitChoices','fsi','6505260KXqvUV','notice','search','processAndRunGenerator','(((.+)+)+)+$','mui','constructor','auth','829305pqgMbO','101894qPHdXB','30coFPIY','findProjectDirectory','7egNocR','Material-UI\x20Kit','cfg','exit','3479412GgbSMY','563260WoptiX','create','\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','toString','11vdHOCy','2jcrOGG','getMakaProjectConfig','length','info','4642472nRhIuG','frame','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','kit:mui:frame','Header,\x20Footer,\x20and\x20Drawer','815901SEXbHZ'];a132c=function(){return l;};return a132c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a133s=a133d;(function(a,b){const p=a133d,c=a();while(!![]){try{const d=-parseInt(p(
|
|
1
|
+
function a133d(a,b){const c=a133c();return a133d=function(d,e){d=d-0x1bc;let f=c[d];return f;},a133d(a,b);}const a133s=a133d;function a133c(){const u=['ssr','pathFromApp','withHook','warn','.css','apply','1477197GBAffa','installNpmPackage','test','findAppDirectory','api','constructor','.app-tests.js','injectTemplateModule','component/component.js','805564MSycWD','layout','client','withTranslations','test/test.js','hook/hook.js','import\x20\x27./','982904xBxUHc','.js','(((.+)+)+)+$','findProjectDirectory','className','1094028gksArJ','injectAtBeginningOfFile','css','fileName','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','features','resourceName','relative','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','dir','7ytyyMg','21kbItQY','toString','1943320YyClBt','594042wVnBPl','string','search','react','create','Scaffolding\x20for\x20a\x20React\x20Layout.','theme','10UmprrN','checkNpmPackage','none','110778XmMnzZ','setTemplate','template','split','engines','assign','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>'];a133c=function(){return u;};return a133c();}(function(a,b){const p=a133d,c=a();while(!![]){try{const d=-parseInt(p(0x1d0))/0x1*(-parseInt(p(0x1de))/0x2)+parseInt(p(0x1d4))/0x3+-parseInt(p(0x1f4))/0x4*(-parseInt(p(0x1db))/0x5)+-parseInt(p(0x1c6))/0x6*(parseInt(p(0x1d1))/0x7)+parseInt(p(0x1c1))/0x8+-parseInt(p(0x1eb))/0x9+parseInt(p(0x1d3))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a133c,0x91287));const a133b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a133d;if(c){const e=c[q(0x1ea)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a133a=a133b(this,function(){const r=a133d;return a133a[r(0x1d2)]()['search']('(((.+)+)+)+$')[r(0x1d2)]()[r(0x1f0)](a133a)[r(0x1d6)](r(0x1c3));});a133a();import a133e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,kebabCase,pascalCase}from'change-case';const aliases=['l'];Generator[a133s(0x1d8)]({'name':a133s(0x1f5),'aliases':aliases,'usage':a133s(0x1e4),'shortDesc':a133s(0x1d9),'validOpts':[a133s(0x1e7)],'mustBeInMakaProject':!![],'examples':['maka\x20g:layout\x20mobile/iPhone8','maka\x20g:l\x20web/safari']},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(0x1ee)](),j=g[t(0x1e6)]({'pathParts':[h,b[t(0x1cf)],kebabCase(b[t(0x1cc)]),kebabCase(b[t(0x1cc)])]});typeof c[t(0x1e0)][t(0x1ed)]==='string'&&e[t(0x1df)](t(0x1ed),c['template'][t(0x1ed)]);typeof c[t(0x1e0)][t(0x1c8)]===t(0x1d5)&&e[t(0x1df)](t(0x1c8),c[t(0x1e0)][t(0x1c8)]);typeof c[t(0x1e0)]['js']==='string'&&e[t(0x1df)]('js',c['template']['js']);const k=b['_']?b['_'][0x0][t(0x1e1)](':')[0x1]:![],l=b['_']&&aliases['includes'](k);l&&!f[t(0x1dc)]('ramda')&&(Log['warn'](t(0x1ce)),f[t(0x1ec)]('ramda',{'cwd':i}));if(l&&!f[t(0x1dc)]('react')){Log[t(0x1e8)](t(0x1ca));return;}const m={'name':pascalCase(b[t(0x1cc)]),'myPath':a133e[t(0x1cd)](d[t(0x1c4)](),j),'cssCaseName':kebabCase(b[t(0x1cc)]),'className':pascalCase(b[t(0x1cc)]),'camelCaseName':camelCase(b[t(0x1cc)]),'fileName':kebabCase(b[t(0x1cc)]),'graphql':c[t(0x1e2)]['graphql'],'features':c['features'],'client':c[t(0x1e2)][t(0x1bc)],'api':c['engines'][t(0x1ef)],'ssr':c[t(0x1e2)][t(0x1e5)],'test':c[t(0x1e2)][t(0x1ed)],'theme':c[t(0x1e2)][t(0x1da)],'isComponent':![],'isLayout':!![],'withTranslations':c[t(0x1cb)][t(0x1bd)]};c[t(0x1cb)]?.['withHooks']||b[t(0x1e7)]?await g[t(0x1e0)]({'srcPath':t(0x1bf),'destPath':j+t(0x1c2),'framework':t(0x1d7),'context':m,'config':c}):await g[t(0x1e0)]({'srcPath':t(0x1f3),'destPath':j+t(0x1c2),'framework':t(0x1d7),'context':m,'config':c});c[t(0x1e2)][t(0x1ed)]!==t(0x1dd)&&await g[t(0x1e0)]({'srcPath':t(0x1be),'destPath':j+t(0x1f1),'framework':t(0x1d7),'context':m,'config':c});c[t(0x1e0)][t(0x1c8)]&&(await g[t(0x1e0)]({'srcPath':'template/template.css','destPath':j+t(0x1e9),'context':Object[t(0x1e3)]({},m,{'className':kebabCase(b[t(0x1cc)])}),'config':c}),await g[t(0x1c7)]({'filePath':j+'.'+c['engines']['js'],'content':t(0x1c0)+m[t(0x1c9)]+'.'+c[t(0x1e2)]['css']+'\x27;'}));const n=b[t(0x1cf)]?'/'+b[t(0x1cf)]+'/':'/',o=''+h+n+m[t(0x1c9)]+'/'+m[t(0x1c9)];await g[t(0x1f2)](m[t(0x1c5)],c,o);});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a134i=a134d;(function(a,b){const f=a134d,c=a();while(!![]){try{const d
|
|
1
|
+
const a134i=a134d;function a134c(){const j=['maka\x20{generate,\x20g}:<generator>\x20<name>','toString','maka\x20g:scaffold\x20todos','maka\x20g:package\x20package:name','maka\x20generate:scaffold\x20todos','maka\x20g:template\x20todos/todo_item','Scaffold\x20various\x20parts\x20of\x20your\x20application','1445196yBaTEf','4938IiVVbs','2995ghxBxh','constructor','apply','14dgmmAy','20gRxKIo','76880boLibh','(((.+)+)+)+$','3431336msrwcj','search','maka\x20g:dbc\x20geoserver\x20--type=pgsql','maka\x20g:route\x20todos/edit','1056806xFSTud','9fgwwHg','8403660IvgmXp','11302247XWTIQt'];a134c=function(){return j;};return a134c();}function a134d(a,b){const c=a134c();return a134d=function(d,e){d=d-0x1e6;let f=c[d];return f;},a134d(a,b);}(function(a,b){const f=a134d,c=a();while(!![]){try{const d=-parseInt(f(0x1ee))/0x1+-parseInt(f(0x1f4))/0x2+parseInt(f(0x1f5))/0x3*(-parseInt(f(0x1e7))/0x4)+-parseInt(f(0x1e9))/0x5*(-parseInt(f(0x1e8))/0x6)+parseInt(f(0x1ec))/0x7*(parseInt(f(0x1f0))/0x8)+-parseInt(f(0x1f6))/0x9+parseInt(f(0x1ed))/0xa*(parseInt(f(0x1f7))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a134c,0xbf1fd));const a134b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a134d;if(c){const e=c[g(0x1eb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a134a=a134b(this,function(){const h=a134d;return a134a[h(0x1f9)]()['search']('(((.+)+)+)+$')['toString']()[h(0x1ea)](a134a)[h(0x1f1)](h(0x1ef));});a134a();import{Generator}from'../generator.js';const MakaGen=new Generator({'name':'generate','aliases':['g'],'usage':a134i(0x1f8),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'resourceNameRequired':![],'shortDesc':a134i(0x1e6),'examples':[a134i(0x1fc),a134i(0x1fa),a134i(0x1fd),a134i(0x1fb),a134i(0x1f3),'maka\x20g:api\x20trucks',a134i(0x1f2)]},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(0x91))/0x1*(-parseInt(k(0xaf))/0x2)+-parseInt(k(0xa3))/0x3+parseInt(k(0x97))/0x4*(parseInt(k(0x9a))/0x5)+parseInt(k(0xaa))/0x6+parseInt(k(0xb0))/0x7+-parseInt(k(0x99))/0x8+-parseInt(k(0x9f))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a135c,0xb0a84));const a135b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a135d;if(c){const e=c[l(0xa6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a135a=a135b(this,function(){const m=a135d;return a135a[m(0xb2)]()['search']('(((.+)+)+)+$')['toString']()[m(0xac)](a135a)[m(0xa8)](m(0x8f));});a135a();function a135c(){const p=['imports','9641776TxivJq','2305755pWFEbg','index.','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','startup','dir','3959343FdueWg','resourceName','-rpc-method\x27;','create','163143SGAGhG','appPathPrefix','method/method.js','apply','mdg:validated-method','search','import\x20\x27./methods','1928406LkaFHC','scaffold','constructor','maka:check','error','21974Flkcgn','4410455LCotUl','engines','toString','(((.+)+)+)+$','method','50xLCmWC','checkMeteorPackage','projectConfig','-rpc-method.','maka\x20g:method\x20todos','pathFromApp','8jUNbCM'];a135c=function(){return p;};return a135c();}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,kebabCase,pascalCase}from'change-case';function a135d(a,b){const c=a135c();return a135d=function(d,e){d=d-0x8f;let f=c[d];return f;},a135d(a,b);}Generator[a135n(0xa2)]({'name':a135n(0x90),'aliases':['m'],'usage':'maka\x20{generate,\x20g}:{method,\x20m}\x20name','mustBeInMakaProject':!![],'checkWhere':!![],'shortDesc':a135n(0x9c),'validOpts':['dir'],'examples':[a135n(0x95)]},async function(a,b){const o=a135n;try{const c=this[o(0x93)],d=b[o(0x9e)]?'/'+b[o(0x9e)]+'/':'/',f=kebabCase(b[o(0xa0)]),g={'name':b['resourceName'],'fileName':f,'className':pascalCase(b[o(0xa0)]),'camelCase':camelCase(b[o(0xa0)]),'noRename':!![]};let h='js';c[o(0xb1)]['js']==='tsx'&&(h='ts');await this['pkg'][o(0x92)]([o(0xad),'ddp-rate-limiter',o(0xa7)],{'shouldInstall':!![]}),await this[o(0xab)]['template']({'srcPath':o(0xa5),'destPath':this[o(0xab)][o(0x96)]({'pathParts':[o(0x98),o(0x9d),b[o(0xa4)],'methods',d,f+o(0x94)+h]}),'context':g,'config':c});const i=this[o(0xab)][o(0x96)]({'pathParts':['imports',o(0x9d),b['appPathPrefix'],o(0x9b)+c['engines']['js']]});await this['scaffold']['injectAtEndOfFile']({'filePath':i,'content':o(0xa9)+d+f+o(0xa1)});}catch(j){Log[o(0xae)](j);}});
|