@maka/maka-cli 5.1.3 → 5.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundle/obf/package.json +1 -1
- package/bundle/obf/src/command.js +1 -1
- package/bundle/obf/src/commands/_index.js +1 -1
- package/bundle/obf/src/commands/ai.js +1 -1
- package/bundle/obf/src/commands/aws/_index.js +1 -1
- package/bundle/obf/src/commands/aws/aws.command.js +1 -1
- package/bundle/obf/src/commands/aws/cecr.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/decr.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/lecr.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/build/_index.js +1 -1
- package/bundle/obf/src/commands/build/build.js +1 -1
- package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/create.js +1 -1
- package/bundle/obf/src/commands/debug.js +1 -1
- package/bundle/obf/src/commands/deploy/_index.js +1 -1
- package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
- package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/_index.js +1 -1
- package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/play.command.js +1 -1
- package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/generate.js +1 -1
- package/bundle/obf/src/commands/get/_index.js +1 -1
- package/bundle/obf/src/commands/get/get.command.js +1 -1
- package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/help.js +1 -1
- package/bundle/obf/src/commands/install.js +1 -1
- package/bundle/obf/src/commands/jsdoc.js +1 -1
- package/bundle/obf/src/commands/lint.js +1 -1
- package/bundle/obf/src/commands/login.js +1 -1
- package/bundle/obf/src/commands/logout.js +1 -1
- package/bundle/obf/src/commands/logs.js +1 -1
- package/bundle/obf/src/commands/maka.cmd.js +1 -1
- package/bundle/obf/src/commands/murder.js +1 -1
- package/bundle/obf/src/commands/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 a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-
|
|
1
|
+
const a117n=a117d;function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0x1af;let f=c[d];return f;},a117d(a,b);}(function(a,b){const k=a117d,c=a();while(!![]){try{const d=-parseInt(k(0x1cc))/0x1+parseInt(k(0x1b9))/0x2+-parseInt(k(0x1bd))/0x3+-parseInt(k(0x1b1))/0x4*(parseInt(k(0x1b2))/0x5)+-parseInt(k(0x1ba))/0x6+-parseInt(k(0x1bc))/0x7*(-parseInt(k(0x1b5))/0x8)+parseInt(k(0x1d5))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0xb0acb));const a117b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a117d;if(c){const e=c[l(0x1d3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){const m=a117d;return a117a[m(0x1b8)]()[m(0x1bb)](m(0x1d2))[m(0x1b8)]()[m(0x1b3)](a117a)[m(0x1bb)](m(0x1d2));});function a117c(){const p=['dir','create','injectAtEndOfFile','type','414948cbRjPf','checkNpmPackage','tsx','import\x20\x27./register-','imports','better-sqlite3','(((.+)+)+)+$','apply','conn.','18730548lwwEyb','-dbc.','mssql','register-','scaffold','maka\x20g:dbc\x20todos\x20--type=sqlite','engines','sqlite','error','4GQaSeR','158230UKuWBb','constructor','pathFromApp','120KXTVnc','dbc/config.js','projectConfig','toString','550944perYWW','4322256VUvQPV','search','342041uvtTnT','3596880btdUrV','resourceName','maka\x20{generate,\x20g}:{dbc}\x20<connection-name>','Scaffolding\x20for\x20creating\x20a\x20for\x20a\x20database\x20connection.','template','pgsql','dbc','pkg','-dbc\x27;','startup','server'];a117c=function(){return p;};return a117c();}a117a();import{camelCase,kebabCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator[a117n(0x1c9)]({'name':'dbc','usage':a117n(0x1bf),'shortDesc':a117n(0x1c0),'validOpts':[a117n(0x1c8)],'mustBeInMakaProject':!![],'requiredOpts':[{'name':a117n(0x1cb),'values':['pgsql',a117n(0x1d7),a117n(0x1af)]}],'examples':['maka\x20g:dbc\x20geoserver\x20--type=pgsql','maka\x20g:dbc\x20azure\x20--type=mssql',a117n(0x1da)]},async function(a,b){const o=a117n;try{const c=this[o(0x1b7)],d=kebabCase(b[o(0x1be)]),f={'name':pascalCase(b['resourceName']),'fileName':kebabCase(b[o(0x1be)]),'camelCase':camelCase(b[o(0x1be)]),'type':b[o(0x1cb)],'engine':c[o(0x1db)]['js'],'noRename':!![]},g=b[o(0x1c8)]?'/'+b[o(0x1c8)]+'/':'/';let h='js';c[o(0x1db)]['js']===o(0x1ce)&&(h='ts');b[o(0x1cb)]===o(0x1c2)&&await this['pkg']['checkNpmPackage']('pg',{'shouldInstall':!![]});b[o(0x1cb)]===o(0x1d7)&&await this[o(0x1c4)][o(0x1cd)](o(0x1d7),{'shouldInstall':!![]});b[o(0x1cb)]===o(0x1af)&&await this[o(0x1c4)][o(0x1cd)](o(0x1d1),{'shouldInstall':!![]});await this[o(0x1d9)][o(0x1c1)]({'srcPath':o(0x1b6),'destPath':this[o(0x1d9)][o(0x1b4)]({'pathParts':[o(0x1d0),o(0x1c6),o(0x1c7),'dbc',g,d,'config.'+h]}),'context':f,'config':c}),await this[o(0x1d9)][o(0x1c1)]({'srcPath':'dbc/conn.js','destPath':this['scaffold'][o(0x1b4)]({'pathParts':[o(0x1d0),'startup',o(0x1c7),o(0x1c3),g,d,o(0x1d4)+h]}),'context':f,'config':c}),await this[o(0x1d9)][o(0x1c1)]({'srcPath':'dbc/register-dbc.js','destPath':this['scaffold'][o(0x1b4)]({'pathParts':[o(0x1d0),'startup',o(0x1c7),o(0x1d8)+d+o(0x1d6)+h]}),'context':f,'config':c});const i=this[o(0x1d9)][o(0x1b4)]({'pathParts':[o(0x1d0),o(0x1c6),o(0x1c7),'index.'+c[o(0x1db)]['js']]});await this['scaffold'][o(0x1ca)]({'filePath':i,'content':o(0x1cf)+d+o(0x1c5)});}catch(j){Log[o(0x1b0)](j);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a118l=a118d;(function(a,b){const i=a118d,c=a();while(!![]){try{const d=parseInt(i(0x119))/0x1*(parseInt(i(0x11c))/0x2)+parseInt(i(0x122))/0x3+parseInt(i(0x12d))/0x4+parseInt(i(0x12f))/0x5+-parseInt(i(0x130))/0x6*(-parseInt(i(0x128))/0x7)+parseInt(i(0x123))/0x8*(-parseInt(i(0x12c))/0x9)+-parseInt(i(0x133))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0xc70f3));const a118b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a118d;if(c){const e=c[j(0x129)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){const k=a118d;return a118a['toString']()[k(0x11f)](k(0x121))[k(0x137)]()[k(0x125)](a118a)['search'](k(0x121));});a118a();function a118c(){const n=['1224OxFMdI','app.tar.gz','constructor','isFile','build','1442FcFFJS','apply','service','fsi','79281xhMrrn','3501732RCpuSF','error','4879270NCbWhB','35958sXFkLX','cert','Generate\x20an\x20updated\x20dockerfile','35656830DMsXPK','Dockerfile','force','dockerfile','toString','join','docker/Dockerfile','template','scaffold','getGlobalConfig','49tGpssl','create','maka\x20{generate,\x20g}:dockerfile','52138Edtnrf','getMakaProjectConfig','appName','search','maka\x20g:dockerfile','(((.+)+)+)+$','4096743YoWqtS'];a118c=function(){return n;};return a118c();}import{Generator}from'../generator.js';function a118d(a,b){const c=a118c();return a118d=function(d,e){d=d-0x118;let f=c[d];return f;},a118d(a,b);}import{Log}from'../tools/log/log.class.js';import a118e from'path';Generator[a118l(0x11a)]({'name':a118l(0x136),'usage':a118l(0x11b),'shortDesc':a118l(0x132),'resourceNameRequired':![],'mustBeInMakaProject':!![],'validOpts':[{'name':a118l(0x135),'boolFlag':!![]}],'examples':[a118l(0x120)]},async function(a,b){const m=a118l;try{const c=this['cfg'][m(0x11d)](),d=await this['cfg'][m(0x118)](),f=this[m(0x12b)]['findProjectDirectory'](),g={'app':c[m(0x11e)],'config':c,'appPath':a118e[m(0x138)](f,'app'),'bundlePath':a118e['join'](f,m(0x127),m(0x124)),'useCert':d[m(0x131)]?this[m(0x12b)][m(0x126)](d[m(0x131)]):![]};await this[m(0x13b)][m(0x13a)]({'srcPath':m(0x139),'destPath':a118e[m(0x138)](f,m(0x134)),'framework':m(0x12a),'context':g,'config':c,'force':b['force']});}catch(h){Log[m(0x12e)](h);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a119o=a119d;(function(a,b){const l=a119d,c=a();while(!![]){try{const d=parseInt(l(0xad))/0x1+parseInt(l(0xb1))/0x2*(-parseInt(l(0xb7))/0x3)+-parseInt(l(0xd7))/0x4*(-parseInt(l(0xdc))/0x5)+parseInt(l(0xcc))/0x6*(parseInt(l(0xc3))/0x7)+parseInt(l(0xd9))/0x8*(parseInt(l(0xb5))/0x9)+parseInt(l(0xb0))/0xa*(-parseInt(l(0xe7))/0xb)+-parseInt(l(0xa8))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0x48058));const a119b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a119d;if(c){const e=c[m(0xc9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){const n=a119d;return a119a[n(0xab)]()[n(0xe1)]('(((.+)+)+)+$')[n(0xab)]()[n(0xc7)](a119a)[n(0xe1)](n(0xda));});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(0xd4)]({'name':'hook','aliases':['h'],'checkWhere':![],'usage':a119o(0xb6),'shortDesc':a119o(0xc2),'mustBeInMakaProject':!![],'validOpts':[{'name':a119o(0xbf),'values':[a119o(0xca),a119o(0xaa),a119o(0xcf),a119o(0xb3)]},{'name':a119o(0xe0),'boolFlag':!![]}],'examples':[a119o(0xaf)],'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[p(0xdb)]('Creating\x20'+b[p(0xe4)]+p(0xe6));try{await this[p(0xce)]['checkNpmPackage'](p(0xd3),{'shouldInstall':!![]});const c=this[p(0xc8)][p(0xa7)](),d=b[p(0xbf)]?p(0xe2)+b['baseDir']:'/imports/ui/components',f=this[p(0xae)]['pathFromApp']({'pathParts':[d,b[p(0xb8)],kebabCase(b[p(0xe4)]),kebabCase(b['resourceName'])]}),g=this[p(0xbe)];typeof g[p(0xe3)][p(0xde)]===p(0xd1)&&this[p(0xa9)][p(0xdd)](p(0xde),g[p(0xe3)][p(0xde)]);g[p(0xcb)][p(0xd8)]===p(0xb9)&&!this[p(0xce)]['checkNpmPackage'](p(0xac))&&(Log['warn'](p(0xc4)),await this[p(0xce)][p(0xcd)](p(0xd0),{'cwd':c}));const h={'cssCaseName':kebabCase(b[p(0xe4)]),'camelCaseName':camelCase(b['resourceName']),'className':pascalCase(b[p(0xe4)]),'name':pascalCase(b['resourceName']),'graphql':g[p(0xcb)][p(0xd8)],'theme':g[p(0xcb)]['theme'],'test':g['engines']['test'],'features':g[p(0xb4)],'myPath':a119e['relative'](this['fsi']['findProjectDirectory'](),f),'fileName':kebabCase(b[p(0xe4)]),'isComponent':![],'isLayout':![],'withTranslations':g[p(0xb4)]['withTranslations']};await this[p(0xae)][p(0xe3)]({'srcPath':p(0xdf),'destPath':f+p(0xc1),'context':h,'config':g,'framework':p(0xd3),'force':b[p(0xe0)]});g[p(0xe3)][p(0xde)]&&(await this['scaffold'][p(0xe3)]({'srcPath':p(0xd5),'destPath':f+p(0xbc),'context':Object['assign']({},h,{'className':h[p(0xbd)]}),'config':g,'force':b[p(0xe0)]}),await this['scaffold'][p(0xd6)]({'filePath':f+'.'+g['engines']['js'],'content':p(0xba)+h[p(0xc5)]+'.'+g['engines'][p(0xde)]+'\x27;'}));g[p(0xcb)][p(0xc0)]!==p(0xb2)&&await this[p(0xae)]['template']({'srcPath':p(0xbb),'destPath':f+p(0xd2),'framework':p(0xd3),'context':h,'config':g,'force':b[p(0xe0)]});const i=b[p(0xb8)]?'/'+b[p(0xb8)]+'/':'/',j=''+d+i+h['fileName']+'/'+h[p(0xc5)];await this['scaffold'][p(0xe5)](h['className'],g,j);}catch(k){Log[p(0xc6)](k);}});function a119d(a,b){const c=a119c();return a119d=function(d,e){d=d-0xa7;let f=c[d];return f;},a119d(a,b);}function a119c(){const q=['60btpKOx','installNpmPackage','pkg','pages','@apollo/client\x20isomorphic-fetch','string','.app-tests.js','react','create','template/template.css','injectAtBeginningOfFile','15032eabQiF','graphql','8ZUYyTn','(((.+)+)+)+$','notice','580ypllaJ','setTemplate','css','hook/hook.js','force','search','/imports/ui/','template','resourceName','injectTemplateModule','\x20hook...','11tKPJTk','findAppDirectory','11503944bvhbFc','cfg','components','toString','@apollo/client','505597xlrtVo','scaffold','maka\x20g:hook\x20cool-hook','1365730WvzpRw','35842tFMCLw','none','layouts','features','3750822lAZiJd','maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','84YchOTy','dir','apollo','import\x20\x27./','test/test.js','.css','cssCaseName','projectConfig','baseDir','test','.js','Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','373618UQHHwk','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','fileName','error','constructor','fsi','apply','hooks','engines'];a119c=function(){return q;};return a119c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a120d,c=a();while(!![]){try{var d
|
|
1
|
+
(function(a,b){var f=a120d,c=a();while(!![]){try{var d=-parseInt(f(0x162))/0x1+parseInt(f(0x160))/0x2+parseInt(f(0x167))/0x3*(-parseInt(f(0x168))/0x4)+-parseInt(f(0x15d))/0x5+-parseInt(f(0x15f))/0x6*(-parseInt(f(0x15c))/0x7)+parseInt(f(0x163))/0x8*(parseInt(f(0x15e))/0x9)+parseInt(f(0x166))/0xa*(parseInt(f(0x165))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0xa9a13));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(0x164)](g(0x161))['toString']()['constructor'](a120a)[g(0x164)](g(0x161));});a120a();function a120c(){var h=['4357550dssbnP','1779129bqvsqm','49752UEMmtp','1529576HzIXII','(((.+)+)+)+$','913453cZDpny','56BwLRTh','search','3847536ftkHUT','10GHVrcx','75htQANN','109108OrUGiY','560UFkMGT'];a120c=function(){return h;};return a120c();}import'./kit.js';import'./mui/_index.js';import'./esri/_index.js';function a120d(a,b){var c=a120c();return a120d=function(d,e){d=d-0x15c;var f=c[d];return f;},a120d(a,b);}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-0xd5;var f=c[d];return f;},a121d(a,b);}(function(a,b){var f=a121d,c=a();while(!![]){try{var d=-parseInt(f(0xe0))/0x1+-parseInt(f(0xe1))/0x2+parseInt(f(0xdf))/0x3+parseInt(f(0xd7))/0x4*(-parseInt(f(0xdb))/0x5)+-parseInt(f(0xde))/0x6+-parseInt(f(0xd9))/0x7+parseInt(f(0xdd))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0x834f2));var a121b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a121d;if(c){var e=c[g(0xda)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){var h=a121d;return a121a['toString']()[h(0xdc)]('(((.+)+)+)+$')[h(0xd5)]()[h(0xd8)](a121a)[h(0xdc)](h(0xd6));});a121a();function a121c(){var i=['562626rUmozS','toString','(((.+)+)+)+$','152AbvqlN','constructor','7419300irpFnf','apply','13715NfNWJZ','search','21269768ZvnaHe','3105108LTAOPO','716145NiSzNT','396629LFqsjC'];a121c=function(){return i;};return a121c();}import'./auth.generator.js';import'./provider.auth.gen.js';import'./basic-meteor.auth.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a122i=a122d;(function(a,b){const f=a122d,c=a();while(!![]){try{const d=-parseInt(f(
|
|
1
|
+
function a122c(){const j=['maka\x20g:kit:a','190XEtTWg','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x20\x20','toString','search','43914vdERoG','5832558XCagNz','2zgxfzO','472VgfukJ','52RglKcm','apply','88963oQdTnG','361575uGEzPD','5bVhwKC','(((.+)+)+)+$','27447043EeoyDG','323308oHQePJ','12wqoNSv','978219vcCbFG'];a122c=function(){return j;};return a122c();}const a122i=a122d;(function(a,b){const f=a122d,c=a();while(!![]){try{const d=-parseInt(f(0xff))/0x1*(parseInt(f(0x109))/0x2)+-parseInt(f(0x107))/0x3*(parseInt(f(0x10b))/0x4)+parseInt(f(0xfc))/0x5*(-parseInt(f(0x108))/0x6)+-parseInt(f(0x10d))/0x7*(parseInt(f(0x10a))/0x8)+-parseInt(f(0x10e))/0x9*(-parseInt(f(0x103))/0xa)+-parseInt(f(0x101))/0xb+-parseInt(f(0x100))/0xc*(-parseInt(f(0xfe))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0x86525));const a122b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a122d;if(c){const e=c[g(0x10c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){const h=a122d;return a122a['toString']()['search']('(((.+)+)+)+$')[h(0x105)]()['constructor'](a122a)[h(0x106)](h(0xfd));});a122a();import{Generator}from'../../../generator.js';function a122d(a,b){const c=a122c();return a122d=function(d,e){d=d-0xfc;let f=c[d];return f;},a122d(a,b);}import a122e from'../kit.js';const AuthGen=Generator['create']({'name':'auth','aliases':['a'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:<kit-name>','shortDesc':'Starting\x20point\x20for\x20generating\x20an\x20Auth\x20Provider','resourceNameRequired':![],'validOpts':[''],'isPro':!![],'examples':[a122i(0x102)],'description':a122i(0x104)},async function(){throw'NIE';},async function(){},a122e);export default AuthGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a123v=a123d;(function(a,b){const s=a123d,c=a();while(!![]){try{const d
|
|
1
|
+
const a123v=a123d;(function(a,b){const s=a123d,c=a();while(!![]){try{const d=-parseInt(s(0x18f))/0x1*(parseInt(s(0x196))/0x2)+parseInt(s(0x18d))/0x3+-parseInt(s(0x167))/0x4+parseInt(s(0x194))/0x5*(parseInt(s(0x1a4))/0x6)+-parseInt(s(0x172))/0x7*(-parseInt(s(0x165))/0x8)+parseInt(s(0x173))/0x9+parseInt(s(0x199))/0xa*(-parseInt(s(0x189))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0x5b8de));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['toString']()[u(0x190)](u(0x16e))['toString']()[u(0x193)](a123a)[u(0x190)](u(0x16e));});a123a();import a123e from'path';import{Generator}from'../../../generator.js';function a123d(a,b){const c=a123c();return a123d=function(d,e){d=d-0x15f;let f=c[d];return f;},a123d(a,b);}import{Log}from'../../../tools/log/log.class.js';function a123c(){const x=['Meteor','95018kTLaiD','1722141DyQUEz','meteor/accounts-base','normalize','ssr','findProjectDirectory','meteor/meteor','kit:auth:provider','publish','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','checkMeteorPackage','apply','\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','processAndRunGenerator','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20start\x20by\x20generating\x20your\x20auth\x20provider\x20and\x20context,\x20and\x20then\x20setup\x20Meteor\x20Accounts\x0a\x20\x20\x20\x20to\x20handle\x20authentication\x20and\x20authorization.\x0a\x20\x20','engines','meteor/maka:react-tracker','\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','react','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','const\x20authenticateToken','authentication-provider','/imports/startup/client','44zvCdQo','server','const\x20sendForgotPasswordEmail','Meteor.startup','2163105wUILoc','\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','1YXZxok','search','Accounts','const\x20resetPasswordWithToken','constructor','5dlCAwM','index','194708fwSKDo','auth/roles','REACT','2324470tdrKZl','error','injectIntoCodeBlock','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','useEffect\x5c(','const\x20authenticateUser','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','pathFromApp','useTracker','.js','force','1096482jriSsp','/imports/startup/client/authentication-service','injectImport','kit/auth/service/meteor-auth-service.js','exit','imports','AuthService','const\x20registerNewUser','272ZTloDR','meteor','617996haibSD','/imports/startup/lib','authentication-service','const\x20deauthenticateUser','template','findAppDirectory','\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','(((.+)+)+)+$','Meteor.publish','accounts-password'];a123c=function(){return x;};return a123c();}import a123f from'./auth.generator.js';import a123g from'../../../generators/maka.gen.js';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':a123v(0x166),'aliases':['m'],'usage':a123v(0x19c),'shortDesc':'Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','validOpts':['force'],'isPro':!![],'resourceNameRequired':![],'mustBeInMakaProject':!![],'requiredEngines':{'client':ClientEngines[a123v(0x198)]},'description':a123v(0x180)},async function(a,b){const w=a123v,{fsi:c,pkg:d,scaffold:f,projectConfig:g}=this;try{const h=b[w(0x1a3)]||![];await d[w(0x17c)]([w(0x170)],{'shouldInstall':!![]});const i=c[w(0x177)](),j=c[w(0x16c)](),k=g[w(0x181)][w(0x176)]===w(0x166);await a123g[w(0x17f)](w(0x179),[],{'force':h,'cwd':i,'config':g}),await a123g['processAndRunGenerator'](w(0x17a),[w(0x197)],{'force':h,'globalPublish':!![],'cwd':i,'config':g});const l=j+a123e[w(0x175)]('/imports/startup/server/publications/auth/roles.js'),m=k?w(0x168):w(0x188),n=f[w(0x1a0)]({'pathParts':[m,'','',w(0x169)]});await f[w(0x16b)]({'srcPath':w(0x160),'destPath':n+w(0x1a2),'framework':w(0x184),'context':{},'config':g,'force':h,'ignore':![]});const o=f[w(0x1a0)]({'pathParts':[m,'','',w(0x187)]}),p=g[w(0x181)]['js'];await f[w(0x15f)]({'filePath':o+'.'+p,'importName':w(0x163),'modulePath':k?'/imports/startup/lib/authentication-service':w(0x1a5),'isNamedExport':![]}),await f[w(0x19b)]({'filePath':o+'.'+p,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20const\x20user\x20=\x20await\x20AuthService.authenticateUser(username,\x20password);\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20user;\x0a\x20\x20\x20\x20\x20\x20','begin':w(0x19e),'replace':!![]}),await f[w(0x19b)]({'filePath':o+'.'+p,'content':w(0x18e),'begin':w(0x186),'replace':!![]}),await f['injectIntoCodeBlock']({'filePath':o+'.'+p,'content':w(0x16d),'begin':'const\x20getUserAuthorizations','replace':!![]}),await f[w(0x19b)]({'filePath':o+'.'+p,'content':w(0x185),'begin':w(0x16a),'replace':!![]}),await f[w(0x19b)]({'filePath':o+'.'+p,'content':w(0x17b),'begin':w(0x18b),'replace':!![]}),await f['injectIntoCodeBlock']({'filePath':o+'.'+p,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','begin':w(0x164),'replace':!![]}),await f[w(0x19b)]({'filePath':o+'.'+p,'content':w(0x19f),'begin':w(0x192),'replace':!![]});k&&(await f[w(0x15f)]({'filePath':o+'.'+p,'importName':w(0x1a1),'modulePath':w(0x182),'isNamedExport':!![]}),await f['injectIntoFile']({'filePath':o+'.'+p,'content':w(0x17e),'begin':'export\x20const\x20AuthProvider','end':w(0x19d)}));await f[w(0x15f)]({'filePath':l,'importName':w(0x171),'modulePath':w(0x178),'isNamedExport':!![],'injectAtStart':!![]}),await f[w(0x19b)]({'filePath':l,'content':w(0x183),'begin':w(0x16f),'replace':!![]});const q=f[w(0x1a0)]({'pathParts':[w(0x162),'startup',w(0x18a),w(0x195)]});await f[w(0x15f)]({'filePath':q+'.'+p,'importName':w(0x191),'modulePath':w(0x174),'isNamedExport':!![]}),await f[w(0x19b)]({'filePath':q+'.'+p,'content':'\x0a\x20\x20\x20\x20\x20\x20WebAppInternals.setInlineScriptsAllowed(false);\x0a\x0a\x20\x20\x20\x20\x20\x20Accounts.urls.resetPassword\x20=\x20function\x20(token)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20Meteor.absoluteUrl(\x27reset-password/\x27\x20+\x20token);\x0a\x20\x20\x20\x20\x20\x20};\x0a\x20\x20\x20\x20\x20\x20','begin':w(0x18c),'replace':!![]});}catch(r){Log[w(0x19a)](r),process[w(0x161)](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
|
+
function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0x1c9;let f=c[d];return f;},a124d(a,b);}const a124x=a124d;(function(a,b){const u=a124d,c=a();while(!![]){try{const d=-parseInt(u(0x1d7))/0x1*(-parseInt(u(0x1ee))/0x2)+-parseInt(u(0x1e7))/0x3+-parseInt(u(0x1e9))/0x4*(parseInt(u(0x1cd))/0x5)+-parseInt(u(0x1e0))/0x6*(-parseInt(u(0x1d6))/0x7)+parseInt(u(0x1e3))/0x8*(-parseInt(u(0x1f4))/0x9)+-parseInt(u(0x1f8))/0xa+parseInt(u(0x1c9))/0xb*(parseInt(u(0x1da))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0xb42f8));const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a124d;if(c){const e=c[v(0x1ca)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const w=a124d;return a124a[w(0x1ec)]()[w(0x1d1)](w(0x1d2))['toString']()[w(0x1f6)](a124a)[w(0x1d1)]('(((.+)+)+)+$');});a124a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';function a124c(){const z=['injectImport','Creating\x20an\x20AuthProvider\x20and\x20AuthContext','authentication-provider','meteor','\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','2928087bFpGdN','\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','constructor','scaffold','5622320MuVllR','/imports/startup/client/authentication-provider','/imports/startup/server/index','engines','pathFromApp','209SKaDIU','apply','function\x20useAuth','bright','30RPfumR','const\x20PrivateRoute','injectAroundString','ssr','search','(((.+)+)+)+$','react','injectIntoCodeBlock','split','1236977TfpMqB','1FfJHPW','AuthProvider','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','1995696otMbam','/routes','force','create','.js','\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','12FpCFFi','const\x20useAuth','error','24LTzvHk','</AuthProvider>','useContext','REACT','2624454uGNlmg','kit/auth/provider/authentication-provider.js','427204VJvLaN','/imports/startup/lib','/imports/startup/client/index','toString','<AppRoutes\x20history={history}/>','557302wBJEaR'];a124c=function(){return z;};return a124c();}import a124e from'./auth.generator.js';import{capitalCase}from'change-case';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a124x(0x1dd)]({'name':'provider','aliases':['p'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','shortDesc':a124x(0x1d9),'validOpts':[a124x(0x1dc)],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'client':ClientEngines[a124x(0x1e6)]},'description':a124x(0x1f3)},async function(a,b){const y=a124x;try{const c=b['force']||![];Log[y(0x1cc)](y(0x1f0));const {projectConfig:d}=this,f=d['engines'][y(0x1d0)]===y(0x1f2),g={'name':capitalCase(d['appName'])},h=f?y(0x1ea):'/imports/startup/client',i=this[y(0x1f7)][y(0x1fc)]({'pathParts':[h,'','',y(0x1f1)]});await this[y(0x1f7)]['template']({'srcPath':y(0x1e8),'destPath':i+y(0x1de),'framework':'react','context':g,'config':d,'force':c,'ignore':![]});const j=d[y(0x1fb)]['js'],k=h+y(0x1db),l=k['split']('/'),m=this[y(0x1f7)][y(0x1fc)]({'pathParts':l});await this['scaffold']['injectImport']({'filePath':m+'.'+j,'importName':'AuthContext','modulePath':f?'/imports/startup/lib/authentication-provider':y(0x1f9),'isNamedExport':!![]}),await this[y(0x1f7)][y(0x1ef)]({'filePath':m+'.'+j,'importName':y(0x1e5),'modulePath':y(0x1d3),'isNamedExport':!![],'injectAtStart':!![]}),await this[y(0x1f7)][y(0x1d4)]({'filePath':m+'.'+j,'content':y(0x1df),'begin':[y(0x1e1),y(0x1cb)],'replace':!![]}),await this[y(0x1f7)][y(0x1d4)]({'filePath':m+'.'+j,'content':y(0x1f5),'begin':[y(0x1ce)],'replace':!![]});const n=y(0x1eb),o=n[y(0x1d5)]('/'),p=this[y(0x1f7)][y(0x1fc)]({'pathParts':o});await this[y(0x1f7)][y(0x1ef)]({'filePath':p+'.'+j,'importName':y(0x1d8),'modulePath':f?'/imports/startup/lib/authentication-provider':y(0x1f9),'isNamedExport':!![]}),await this['scaffold']['injectAroundString']({'filePath':p+'.'+j,'aboveContent':'<AuthProvider>','belowContent':y(0x1e4),'targetString':'<AppRoutes\x20/>','indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q=y(0x1fa),r=q['split']('/'),s=this['scaffold'][y(0x1fc)]({'pathParts':r});await this[y(0x1f7)][y(0x1ef)]({'filePath':s+'.'+j,'importName':y(0x1d8),'modulePath':f?'/imports/startup/lib/authentication-provider':y(0x1f9),'isNamedExport':!![]}),await this[y(0x1f7)][y(0x1cf)]({'filePath':s+'.'+j,'aboveContent':'<AuthProvider>','belowContent':y(0x1e4),'targetString':y(0x1ed),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log[y(0x1e2)](t),process['exit'](0x1);}},async function(){},a124e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a125d,c=a();while(!![]){try{var d
|
|
1
|
+
function a125c(){var i=['apply','5sBskeR','1065DXjddo','toString','108383AOrvgk','65112RymkJk','120OJolgJ','(((.+)+)+)+$','648ZXVFGY','search','constructor','746tgeAel','554229iBswnO','13SGMDnX','49446cZMmPA','21AXyPXQ','1043140zgzqPW'];a125c=function(){return i;};return a125c();}(function(a,b){var f=a125d,c=a();while(!![]){try{var d=-parseInt(f(0xa9))/0x1*(parseInt(f(0xb8))/0x2)+-parseInt(f(0xaf))/0x3*(-parseInt(f(0xb5))/0x4)+parseInt(f(0xae))/0x5*(parseInt(f(0xaa))/0x6)+-parseInt(f(0xab))/0x7*(parseInt(f(0xb2))/0x8)+parseInt(f(0xb9))/0x9+parseInt(f(0xac))/0xa+-parseInt(f(0xb1))/0xb*(parseInt(f(0xb3))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0x195aa));var a125b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a125d;if(c){var e=c[g(0xad)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){var h=a125d;return a125a[h(0xb0)]()[h(0xb6)](h(0xb4))['toString']()[h(0xb7)](a125a)['search'](h(0xb4));});function a125d(a,b){var c=a125c();return a125d=function(d,e){d=d-0xa9;var f=c[d];return f;},a125d(a,b);}a125a();import'./esri.generator.js';import'./map.esri.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a126h=a126d;(function(a,b){const f=a126d,c=a();while(!![]){try{const d=parseInt(f(0x177))/0x1*(parseInt(f(0x173))/0x2)+-parseInt(f(0x176))/0x3+parseInt(f(0x171))/0x4*(-parseInt(f(0x17b))/0x5)+-parseInt(f(0x16f))/0x6+parseInt(f(0x174))/0x7*(parseInt(f(0x170))/0x8)+parseInt(f(0x172))/0x9+parseInt(f(0x17a))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0x2e9b1));const a126b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){const g=a126d;return a126a[g(0x16c)]()[g(0x16d)](g(0x175))[g(0x16c)]()[g(0x179)](a126a)[g(0x16d)](g(0x175));});a126a();import{Generator}from'../../../generator.js';import{UsageError}from'../../../error.js';import a126e from'../kit.js';function a126c(){const i=['(((.+)+)+)+$','573546oDIjtG','17hlobYH','esri','constructor','367100cWyQfL','35JHxSmR','\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','toString','search','Starting\x20point\x20for\x20generating\x20Esri\x20Maps','2048400SLCylG','8cgFhoc','62924BTuEuE','2126547XDhoFm','35488UXCsYa','1812685FDsFVC'];a126c=function(){return i;};return a126c();}function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0x16c;let f=c[d];return f;},a126d(a,b);}const EsriGen=Generator['create']({'name':a126h(0x178),'aliases':['e'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','shortDesc':a126h(0x16e),'resourceNameRequired':![],'validOpts':[''],'isPro':!![],'examples':['maka\x20g:kit:e'],'description':a126h(0x17c)},async function(){throw UsageError;},async function(){},a126e);export default EsriGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a127u=a127d;(function(a,b){const s=a127d,c=a();while(!![]){try{const d=parseInt(s(0xbc))/0x1*(parseInt(s(0xa2))/0x2)+parseInt(s(0xc1))/0x3*(parseInt(s(0xc3))/0x4)+parseInt(s(0xbf))/0x5*(parseInt(s(0xb5))/0x6)+-parseInt(s(0xad))/0x7+-parseInt(s(0xbd))/0x8+-parseInt(s(0x9a))/0x9+parseInt(s(0x96))/0xa*(-parseInt(s(0xb0))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0xca784));const a127b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){const t=a127d;return a127a[t(0x9b)]()[t(0x95)](t(0xb6))[t(0x9b)]()[t(0xaa)](a127a)[t(0x95)]('(((.+)+)+)+$');});a127a();function a127d(a,b){const c=a127c();return a127d=function(d,e){d=d-0x95;let f=c[d];return f;},a127d(a,b);}function a127c(){const w=['(((.+)+)+)+$','/imports/ui/','pathFromApp','engines','injectTemplateModule','/imports/startup/lib/templates','499DoYcmc','1020240gUayoQ','.js','145TkWwtG','map','597513gXKHUb','injectIntoFile','16gclcCe','search','2998910rNzqnM','/imports/startup/client/templates','bright','REACT','10293084hbgNVq','toString','meteor','@esri/react-arcgis','/imports/ui/components','ssr','Generate\x20an\x20Esri\x20map\x20component','<div\x20id=\x22map\x22>','5722JivguP','baseDir','kit/esri/map/','injectImport','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','processAndRunGenerator','NONE','react','constructor','basic-map','replaceAll','3140193JToPUG','\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','dir','11BlhKnL','checkNpmPackage','esri-loader','</div>','Generating\x20a\x20map\x20component','129246qqvnZl'];a127c=function(){return w;};return a127c();}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['create']({'name':a127u(0xc0),'aliases':['m'],'usage':a127u(0xa6),'shortDesc':a127u(0xa0),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'client':ClientEngines[a127u(0x99)],'ssr':SsrEngines[a127u(0xa8)]},'description':a127u(0xae)},async function(a,b){const v=a127u;try{const {projectConfig:c,fsi:d,pkg:f,scaffold:g}=this;Log[v(0x98)](v(0xb4));const h=v(0xab);await f[v(0xb1)]([v(0x9d),v(0xb2)],{'shouldInstall':!![]});const i=d['findProjectDirectory'](),j=c[v(0xb9)][v(0x9f)]===v(0x9c),k=await a127f[v(0xa7)]('page',['map'],{'cwd':i,'config':c}),l={'name':capitalCase(c['appName'])[v(0xac)]('-','\x20'),'componentName':pascalCase(h)},m=b[v(0xa3)]?v(0xb7)+b[v(0xa3)]:v(0x9e),n=g['pathFromApp']({'pathParts':[m,b['dir'],kebabCase(h),kebabCase(h)]});await g['template']({'srcPath':v(0xa4)+h+v(0xbe),'destPath':n+v(0xbe),'framework':v(0xa9),'context':l,'config':c,'force':![],'ignore':![]});const o=''+m+b[v(0xaf)]+'/'+h+'/'+h;await g[v(0xba)](h,c,o);const p=k['split']('/'),q=g[v(0xb8)]({'pathParts':p});await g[v(0xa5)]({'filePath':q,'importName':pascalCase(h),'modulePath':j?v(0xbb):v(0x97),'isNamedExport':!![]}),await g[v(0xc2)]({'filePath':q,'content':'\x0a<'+pascalCase(h)+'\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','begin':['<div\x20id=\x22map\x22>',v(0xa1)],'end':[v(0xb3)],'replace':!![]});}catch(r){Log['error'](r),process['exit'](0x1);}},async function(){},a127e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a128i=a128d;(function(a,b){const f=a128d,c=a();while(!![]){try{const d=-parseInt(f(
|
|
1
|
+
function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0x1cc;let f=c[d];return f;},a128d(a,b);}const a128i=a128d;(function(a,b){const f=a128d,c=a();while(!![]){try{const d=-parseInt(f(0x1db))/0x1+parseInt(f(0x1d6))/0x2*(parseInt(f(0x1cd))/0x3)+parseInt(f(0x1dc))/0x4*(parseInt(f(0x1cc))/0x5)+parseInt(f(0x1d3))/0x6*(parseInt(f(0x1d8))/0x7)+parseInt(f(0x1d1))/0x8*(-parseInt(f(0x1d9))/0x9)+parseInt(f(0x1dd))/0xa+-parseInt(f(0x1ce))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0x33819));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a128d;if(c){const e=c[g(0x1d7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const h=a128d;return a128a[h(0x1d0)]()['search'](h(0x1d5))[h(0x1d0)]()[h(0x1cf)](a128a)['search'](h(0x1d5));});function a128c(){const j=['maka\x20g:k','90756aouQsU','kit','(((.+)+)+)+$','74GJaOhi','apply','154srfgSE','3231NeHaqc','maka\x20{generate,\x20g}:{kit}\x20<name>','87871TcPsrK','133352cuWzcZ','2352140cXHxJT','35yUarDa','309cnsQOw','3899126NGPYgn','constructor','toString','3384ZHorOK'];a128c=function(){return j;};return a128c();}a128a();import{Generator}from'../../generator.js';const KitGen=Generator['create']({'name':a128i(0x1d4),'aliases':['k'],'usage':a128i(0x1da),'shortDesc':'Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','minArgLength':0x1,'isPro':!![],'validOpts':[],'resourceNameRequired':![],'examples':['maka\x20g:kit',a128i(0x1d2)]},async function(){});export default KitGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a129d,c=a();while(!![]){try{var d
|
|
1
|
+
(function(a,b){var f=a129d,c=a();while(!![]){try{var d=parseInt(f(0x16b))/0x1+parseInt(f(0x169))/0x2*(-parseInt(f(0x174))/0x3)+-parseInt(f(0x177))/0x4+parseInt(f(0x173))/0x5+-parseInt(f(0x176))/0x6*(parseInt(f(0x171))/0x7)+parseInt(f(0x170))/0x8*(parseInt(f(0x16f))/0x9)+-parseInt(f(0x16e))/0xa*(-parseInt(f(0x16d))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0xe7380));function a129d(a,b){var c=a129c();return a129d=function(d,e){d=d-0x169;var f=c[d];return f;},a129d(a,b);}var a129b=(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;};}()),a129a=a129b(this,function(){var g=a129d;return a129a[g(0x16a)]()[g(0x175)](g(0x16c))[g(0x16a)]()[g(0x172)](a129a)['search'](g(0x16c));});a129a();import'./mui.generator.js';import'./frame.mui.gen.js';import'./auth.mui.gen.js';function a129c(){var h=['1169106cubwrZ','(((.+)+)+)+$','25685rIJMvF','6730hWJVpX','17091hlKrfr','3496jZwlhP','8893927VwhVVr','constructor','13045enuPSS','9426RVHInI','search','6cXsrBk','2933136BPBfJs','396LszgNd','toString'];a129c=function(){return h;};return a129c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a130L=a130d;(function(a,b){const I=a130d,c=a();while(!![]){try{const d=-parseInt(I(
|
|
1
|
+
const a130L=a130d;(function(a,b){const I=a130d,c=a();while(!![]){try{const d=-parseInt(I(0x152))/0x1+parseInt(I(0x15c))/0x2+parseInt(I(0x185))/0x3*(parseInt(I(0x15a))/0x4)+-parseInt(I(0x16f))/0x5+-parseInt(I(0x180))/0x6*(-parseInt(I(0x179))/0x7)+parseInt(I(0x155))/0x8*(parseInt(I(0x160))/0x9)+-parseInt(I(0x15e))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0xd878e));const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){const J=a130d;if(c){const e=c[J(0x165)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const K=a130d;return a130a['toString']()[K(0x156)](K(0x174))['toString']()[K(0x187)](a130a)[K(0x156)]('(((.+)+)+)+$');});a130a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';function a130c(){const O=['4xJwJqp','template','811948KSLmVD','/imports/startup/client/authentication-provider','9469840sSfyqB','injectTemplateModule','1020267sdSkUb','basic-logout-page','forgot-password','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20setup\x20with\x20login,\x20logout,\x20registration,\x20and\x20password\x20reset\x20pages.\x0a\x20\x20','error','apply','auth','create','basic-register-page','basic-password-reset-page','baseDir','reset-password/:token','custom','basic-forgot-password-page','route','609185LciwWl','kit/mui/auth/logout/','pathFromApp','.js','react','(((.+)+)+)+$','processAndRunGenerator','engines','Cleaning\x20up...','exit','42QUVITm','/imports/startup/lib/authentication-provider','kit/mui/auth/password-reset/','REACT','dir','force','basic-login-page','1127244oIhMOh','layouts','meteor','findProjectDirectory','kit:auth:meteor','1474266XclvnW','AuthContext','constructor','MATERIAL','ssr','log','What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','appName','182512RyiKhm','injectImport','split','8hvGaAd','search','register','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{auth,\x20a}','Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page'];a130c=function(){return O;};return a130c();}import{Actions}from'../../../tools/actions/actions.class.js';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';function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0x150;let f=c[d];return f;},a130d(a,b);}Generator[a130L(0x167)]({'name':a130L(0x166),'aliases':['a'],'usage':a130L(0x158),'shortDesc':a130L(0x159),'validOpts':[a130L(0x181),a130L(0x17e)],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'theme':ThemeEngines[a130L(0x188)],'client':ClientEngines[a130L(0x17c)]},'examples':['maka\x20generate:kit:mui:auth','maka\x20g:k:m:a'],'description':a130L(0x163)},async function(a,b){const M=a130L;try{const {projectConfig:c,fsi:d,scaffold:f}=this,g=b[M(0x17e)]||![],h=d[M(0x183)](),i=await Actions['select']({'name':'authType','message':M(0x150),'choices':[{'name':'Meteor\x20Accounts','value':M(0x182)},{'name':'Custom\x20(roll\x20your\x20own)','value':M(0x16c)}]}),j=M(0x17f),k='basic-logout-page',l=M(0x168),m=M(0x169),n=M(0x16d),o=b[M(0x16a)]?'/imports/ui/'+b[M(0x16a)]:'/imports/ui/pages/auth',p=f['pathFromApp']({'pathParts':[o,b[M(0x17d)],kebabCase(j),kebabCase(j)]}),q=f[M(0x171)]({'pathParts':[o,b[M(0x17d)],kebabCase(k),kebabCase(k)]}),r=f[M(0x171)]({'pathParts':[o,b[M(0x17d)],kebabCase(l),kebabCase(l)]}),s=f[M(0x171)]({'pathParts':[o,b[M(0x17d)],kebabCase(m),kebabCase(m)]}),t=f[M(0x171)]({'pathParts':[o,b[M(0x17d)],kebabCase(n),kebabCase(n)]}),u={'name':capitalCase(c[M(0x151)])};await f[M(0x15b)]({'srcPath':'kit/mui/auth/login/'+j+'.js','destPath':p+M(0x172),'framework':M(0x173),'context':u,'config':c,'force':g,'ignore':![]}),await f['template']({'srcPath':M(0x170)+k+M(0x172),'destPath':q+M(0x172),'framework':M(0x173),'context':u,'config':c,'force':g,'ignore':![]}),await f[M(0x15b)]({'srcPath':'kit/mui/auth/register/'+l+M(0x172),'destPath':r+'.js','framework':M(0x173),'context':u,'config':c,'force':g,'ignore':![]}),await f[M(0x15b)]({'srcPath':M(0x17b)+m+'.js','destPath':s+M(0x172),'framework':M(0x173),'context':u,'config':c,'force':g,'ignore':![]}),await f[M(0x15b)]({'srcPath':'kit/mui/auth/forgot-password/'+n+M(0x172),'destPath':t+'.js','framework':M(0x173),'context':u,'config':c,'force':g,'ignore':![]});const v=''+o+b[M(0x17d)]+'/'+j+'/'+j;await f['injectTemplateModule'](j,c,v);const w=''+o+b['dir']+'/'+k+'/'+k;await f[M(0x15f)](k,c,w);const x=''+o+b['dir']+'/'+l+'/'+l;await f[M(0x15f)](l,c,x);const y=''+o+b[M(0x17d)]+'/'+m+'/'+m;await f['injectTemplateModule'](m,c,y);const z=''+o+b[M(0x17d)]+'/'+n+'/'+n;await f[M(0x15f)](n,c,z),await a130e[M(0x175)]('route',[M(0x17f)],{'route':'login','cwd':h,'config':c}),await a130e['processAndRunGenerator'](M(0x16e),[M(0x161)],{'route':'logout','private':!![],'cwd':h,'config':c}),await a130e[M(0x175)]('route',[M(0x168)],{'route':M(0x157),'cwd':h,'config':c}),await a130e['processAndRunGenerator']('route',[M(0x169)],{'route':M(0x16b),'cwd':h,'config':c}),await a130e[M(0x175)](M(0x16e),[M(0x16d)],{'route':M(0x162),'cwd':h,'config':c});i===M(0x182)&&await a130e[M(0x175)](M(0x184),[],{'force':g,'cwd':h,'config':c});i===M(0x16c)&&await a130e[M(0x175)]('kit:auth:provider',[],{'force':g,'cwd':h,'config':c});const A=c[M(0x176)][M(0x189)]==='meteor',B=c[M(0x176)]['js'],C=f[M(0x171)]({'pathParts':v['split']('/')});await f[M(0x153)]({'filePath':C+'.'+B,'importName':'AuthContext','modulePath':A?M(0x17a):M(0x15d),'isNamedExport':!![]});const D=f[M(0x171)]({'pathParts':w[M(0x154)]('/')});await f['injectImport']({'filePath':D+'.'+B,'importName':M(0x186),'modulePath':A?M(0x17a):M(0x15d),'isNamedExport':!![]});const E=f[M(0x171)]({'pathParts':x[M(0x154)]('/')});await f[M(0x153)]({'filePath':E+'.'+B,'importName':M(0x186),'modulePath':A?M(0x17a):M(0x15d),'isNamedExport':!![]});const F=f[M(0x171)]({'pathParts':y[M(0x154)]('/')});await f[M(0x153)]({'filePath':F+'.'+B,'importName':'AuthContext','modulePath':A?'/imports/startup/lib/authentication-provider':M(0x15d),'isNamedExport':!![]});const G=f['pathFromApp']({'pathParts':z[M(0x154)]('/')});await f['injectImport']({'filePath':G+'.'+B,'importName':'AuthContext','modulePath':A?M(0x17a):'/imports/startup/client/authentication-provider','isNamedExport':!![]});}catch(H){Log[M(0x164)](H),process[M(0x178)](0x1);}},async function(){const N=a130L;console[N(0x18a)](N(0x177));},a130f);export default a130f;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a131H=a131d;(function(a,b){const E=a131d,c=a();while(!![]){try{const d
|
|
1
|
+
const a131H=a131d;(function(a,b){const E=a131d,c=a();while(!![]){try{const d=-parseInt(E(0xd9))/0x1+parseInt(E(0xc6))/0x2*(parseInt(E(0xb5))/0x3)+-parseInt(E(0xda))/0x4+-parseInt(E(0xd4))/0x5+-parseInt(E(0xce))/0x6+parseInt(E(0xd2))/0x7*(-parseInt(E(0xe5))/0x8)+parseInt(E(0xc7))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0x1f5ff));const a131b=(function(){let a=!![];return function(b,c){const d=a?function(){const F=a131d;if(c){const e=c[F(0xdd)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a131a=a131b(this,function(){const G=a131d;return a131a[G(0xd8)]()['search'](G(0xd1))[G(0xd8)]()[G(0xcb)](a131a)['search'](G(0xd1));});a131a();function a131c(){const K=['tsx','injectImport','Box','test','baseDir','/imports/startup/client/templates','MATERIAL','length','kit/mui/frame/footers/','2HEfkqp','4293315aLrSnW','ssr','No\x20layouts\x20selected','Container','constructor','force','injectIntoFile','522798oKjIvr','maka\x20generate:kit:mui:frame','@mui/material/Container','(((.+)+)+)+$','125531RhdWmu','app-tests','1191570JMNyRp','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','appName','basic-app-bar','toString','131681CGWFKz','146120TuSWNF','frame','create','apply','checkbox','injectTemplateModule','layouts','join','/imports/startup/lib/templates','getDirectories','getFiles','8BaTaeP','map','-hook\x22>','kit/mui/frame/drawers/','<Outlet\x20/>','findAppDirectory','log','session','template','react','error','maka\x20g:k:m:f','\x20/>\x0a','/imports/ui/components','engines','</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','dir','meteor','checkMeteorPackage','<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>','489201EpLclZ','<div\x20id=\x22','.js','pathFromApp','</div>','<Outlet/>','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20frame\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','@mui/material/Box'];a131c=function(){return K;};return a131c();}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';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0xa4;let f=c[d];return f;},a131d(a,b);}Generator[a131H(0xdc)]({'name':a131H(0xdb),'aliases':['f'],'usage':'maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f}','shortDesc':'Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','validOpts':['layouts',a131H(0xc1),a131H(0xb1),a131H(0xcc)],'isPro':![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'theme':ThemeEngines[a131H(0xc3)],'client':ClientEngines['REACT']},'examples':[a131H(0xcf),a131H(0xac)],'description':a131H(0xbb)},async function(a,b){const I=a131H,{projectConfig:c,fsi:d,pkg:f,scaffold:g}=this;try{const h=b['force']||![],i=I(0xd7),j='basic-drawer',k='basic-sticky-footer',l=c[I(0xaf)][I(0xc8)]===I(0xb2);await f[I(0xb3)]([I(0xa8),'maka:react-tracker'],{'shouldInstall':!![]});const m=d[I(0xa6)](),n=a131e[I(0xe1)](m,'imports','ui',I(0xe0)),o=d[I(0xe3)](n),p=o[I(0xe6)](z=>({'name':z,'value':z})),q=await Actions[I(0xde)]({'message':I(0xd5),'name':I(0xe0),'choices':p});if(q[I(0xc4)]===0x0){Log[I(0xab)](I(0xc9));return;}const r=b[I(0xc1)]?'/imports/ui/'+b[I(0xc1)]:I(0xae),s=g[I(0xb8)]({'pathParts':[r,b[I(0xb1)],kebabCase(i),kebabCase(i)]}),t=g[I(0xb8)]({'pathParts':[r,b['dir'],kebabCase(j),kebabCase(j)]}),u=g[I(0xb8)]({'pathParts':[r,b[I(0xb1)],kebabCase(k),kebabCase(k)]}),v={'name':capitalCase(c[I(0xd6)])};await g[I(0xa9)]({'srcPath':'kit/mui/frame/app-bars/'+i+I(0xb7),'destPath':s+I(0xb7),'framework':I(0xaa),'context':v,'config':c,'force':h,'ignore':![]}),await g['template']({'srcPath':I(0xa4)+j+I(0xb7),'destPath':t+I(0xb7),'framework':I(0xaa),'context':v,'config':c,'force':h,'ignore':![]}),await g[I(0xa9)]({'srcPath':I(0xc5)+k+I(0xb7),'destPath':u+'.js','framework':'react','context':v,'config':c,'force':h,'ignore':![]});const w=''+r+b[I(0xb1)]+'/'+i+'/'+i;await g[I(0xdf)](i,c,w);const x=''+r+b[I(0xb1)]+'/'+j+'/'+j;await g['injectTemplateModule'](j,c,x);const y=''+r+b['dir']+'/'+k+'/'+k;await g[I(0xdf)](k,c,y);for(const z of q){const A=d[I(0xe4)](a131e[I(0xe1)](n,z),{'extensions':['jsx',I(0xbd)],'omit':[I(0xd3),'tests',I(0xc0)]});for(const B of A){const C=a131e[I(0xe1)](n,z,B);await g['injectImport']({'filePath':C,'importName':I(0xbf),'modulePath':I(0xbc),'isNamedExport':![]}),await g[I(0xbe)]({'filePath':C,'importName':I(0xca),'modulePath':I(0xd0),'isNamedExport':![]}),await g['injectImport']({'filePath':C,'importName':pascalCase(i),'modulePath':l?I(0xe2):I(0xc2),'isNamedExport':!![]}),await g[I(0xcd)]({'filePath':C,'content':'<'+pascalCase(i)+'\x20/>\x0a','begin':['<div\x20id=\x22'+z+'\x22>',I(0xb6)+z+I(0xe7)],'end':['<Outlet/>',I(0xa5)]}),await g[I(0xbe)]({'filePath':C,'importName':pascalCase(j),'modulePath':l?I(0xe2):I(0xc2),'isNamedExport':!![]}),await g['injectIntoFile']({'filePath':C,'content':'<'+pascalCase(j)+I(0xad),'begin':[I(0xb6)+z+'\x22>',I(0xb6)+z+I(0xe7)],'end':['<Outlet/>',I(0xa5)]}),await g[I(0xcd)]({'filePath':C,'content':'<'+pascalCase(k)+I(0xad),'begin':[I(0xba),'<Outlet\x20/>'],'end':[I(0xb9)]}),await g[I(0xbe)]({'filePath':C,'importName':pascalCase(k),'modulePath':l?'/imports/startup/lib/templates':I(0xc2),'isNamedExport':!![]}),await g['injectAroundString']({'filePath':C,'aboveContent':I(0xb4),'belowContent':I(0xb0),'targetString':['<Outlet/>',I(0xa5)],'targetIndentAdjustment':0x6});}}}catch(D){Log[I(0xab)](D);}},async function(){const J=a131H;console[J(0xa7)]('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(0x88))/0x1*(-parseInt(g(0x89))/0x2)+parseInt(g(0x9c))/0x3+-parseInt(g(0x8f))/0x4*(parseInt(g(0x8b))/0x5)+-parseInt(g(0x84))/0x6+parseInt(g(0x9f))/0x7*(parseInt(g(0xa3))/0x8)+-parseInt(g(0x9b))/0x9*(-parseInt(g(0xa6))/0xa)+-parseInt(g(0x8e))/0xb*(-parseInt(g(0xa5))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a132c,0x95e48));function a132d(a,b){const c=a132c();return a132d=function(d,e){d=d-0x83;let f=c[d];return f;},a132d(a,b);}const a132b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a132d;if(c){const e=c[h(0xa0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a132a=a132b(this,function(){const i=a132d;return a132a['toString']()[i(0xa2)](i(0x96))[i(0x97)]()['constructor'](a132a)[i(0xa2)](i(0x96));});a132a();import{Generator}from'../../../generator.js';function a132c(){const l=['\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','20760PZlRnL','2010tWqofe','findProjectDirectory','processAndRunGenerator','kit:mui:frame','4946142zuncyL','Header,\x20Footer,\x20and\x20Drawer','auth','kitChoices','244qbLobg','1034kyeLeh','exit','5bwXKtn','create','includes','1496vuEvaZ','2088996PJXNde','mui','checkbox','info','cfg','Auth\x20workflow\x20(login,\x20logout,\x20etc.)','frame','(((.+)+)+)+$','toString','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','notice','24993rxHEXL','2928633Ohngox','maka\x20g:kit:m','kit:mui:auth','14yVJtmW','apply','No\x20MUI\x20kits\x20selected.\x20Exiting.','search','1268184zAnPFm'];a132c=function(){return l;};return a132c();}import{Actions}from'../../../tools/actions/actions.class.js';import{Log}from'../../../tools/log/log.class.js';import a132e from'../../../generators/maka.gen.js';import a132f from'../kit.js';const MuiGen=Generator[a132j(0x8c)]({'name':a132j(0x90),'aliases':['m'],'usage':a132j(0x98),'resourceNameRequired':![],'shortDesc':'Material-UI\x20Kit','validOpts':[''],'isPro':!![],'examples':[a132j(0x9d)]},async function(){const k=a132j;try{Log[k(0x92)]('Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!'),Log[k(0x9a)](k(0xa4));const a=await Actions[k(0x91)]({'message':k(0x99),'name':k(0x87),'choices':[{'name':k(0x85),'value':k(0x95)},{'name':k(0x94),'value':k(0x86)}]}),b=this['fsi'][k(0xa7)](),c=this[k(0x93)]['getMakaProjectConfig']();a[k(0x8d)](k(0x95))&&await a132e[k(0xa8)](k(0x83),[],{'force':!![],'cwd':b,'config':c});a[k(0x8d)](k(0x86))&&await a132e[k(0xa8)](k(0x9e),[],{'force':!![],'cwd':b,'config':c});if(a['length']===0x0){Log['info'](k(0xa1));return;}}catch(d){Log['error'](d),process[k(0x8a)](0x1);}},async function(){},a132f);export default MuiGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a133d(a,b){const c=a133c();return a133d=function(d,e){d=d-
|
|
1
|
+
function a133d(a,b){const c=a133c();return a133d=function(d,e){d=d-0xd9;let f=c[d];return f;},a133d(a,b);}const a133s=a133d;function a133c(){const u=['8hWGCnd','(((.+)+)+)+$','2509860lBHoVT','graphql','create','includes','ssr','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','css','none','4136629PewjRp','maka\x20g:l\x20web/safari','checkNpmPackage','4613517ElbvWY','3763272KujCzu','assign','api','dir','template/template.css','engines','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','features','withHooks','string','/imports/ui/layouts','test','installNpmPackage','fileName','search','layout','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','toString','split','withHook','636852FxGAru','ramda','.js','relative','2302130DKYowq','maka\x20g:layout\x20mobile/iPhone8','react','findProjectDirectory','injectTemplateModule','pathFromApp','setTemplate','3MNXtRe','withTranslations','warn','className','resourceName','641998KxvfyI','Scaffolding\x20for\x20a\x20React\x20Layout.','injectAtBeginningOfFile','theme','.app-tests.js','findAppDirectory','template','apply'];a133c=function(){return u;};return a133c();}(function(a,b){const p=a133d,c=a();while(!![]){try{const d=-parseInt(p(0xe5))/0x1+-parseInt(p(0xf5))/0x2*(-parseInt(p(0xf0))/0x3)+parseInt(p(0xff))/0x4+-parseInt(p(0xe9))/0x5+-parseInt(p(0x10b))/0x6+parseInt(p(0x107))/0x7+-parseInt(p(0xfd))/0x8*(-parseInt(p(0x10a))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a133c,0x4ff6e));const a133b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a133d;if(c){const e=c[q(0xfc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a133a=a133b(this,function(){const r=a133d;return a133a[r(0xe2)]()[r(0xdf)](r(0xfe))[r(0xe2)]()['constructor'](a133a)[r(0xdf)]('(((.+)+)+)+$');});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(0x101)]({'name':a133s(0xe0),'aliases':aliases,'usage':a133s(0x111),'shortDesc':a133s(0xf6),'validOpts':['withHook'],'mustBeInMakaProject':!![],'examples':[a133s(0xea),a133s(0x108)]},async function(a,b){const t=a133s,{projectConfig:c,fsi:d,cfg:e,pkg:f,scaffold:g}=this,h=t(0xdb),i=d[t(0xfa)](),j=g[t(0xee)]({'pathParts':[h,b[t(0x10e)],kebabCase(b['resourceName']),kebabCase(b[t(0xf4)])]});typeof c[t(0xfb)]['test']===t(0xda)&&e[t(0xef)](t(0xdc),c['template'][t(0xdc)]);typeof c[t(0xfb)][t(0x105)]===t(0xda)&&e[t(0xef)](t(0x105),c[t(0xfb)][t(0x105)]);typeof c[t(0xfb)]['js']===t(0xda)&&e[t(0xef)]('js',c[t(0xfb)]['js']);const k=b['_']?b['_'][0x0][t(0xe3)](':')[0x1]:![],l=b['_']&&aliases[t(0x102)](k);l&&!f[t(0x109)](t(0xe6))&&(Log[t(0xf2)](t(0xe1)),f[t(0xdd)](t(0xe6),{'cwd':i}));if(l&&!f[t(0x109)]('react')){Log['warn'](t(0x104));return;}const m={'name':pascalCase(b[t(0xf4)]),'myPath':a133e[t(0xe8)](d[t(0xec)](),j),'cssCaseName':kebabCase(b[t(0xf4)]),'className':pascalCase(b[t(0xf4)]),'camelCaseName':camelCase(b[t(0xf4)]),'fileName':kebabCase(b[t(0xf4)]),'graphql':c[t(0x110)][t(0x100)],'features':c[t(0x112)],'client':c[t(0x110)]['client'],'api':c[t(0x110)][t(0x10d)],'ssr':c[t(0x110)][t(0x103)],'test':c[t(0x110)]['test'],'theme':c[t(0x110)][t(0xf8)],'isComponent':![],'isLayout':!![],'withTranslations':c[t(0x112)][t(0xf1)]};c[t(0x112)]?.[t(0xd9)]||b[t(0xe4)]?await g['template']({'srcPath':'hook/hook.js','destPath':j+t(0xe7),'framework':t(0xeb),'context':m,'config':c}):await g['template']({'srcPath':'component/component.js','destPath':j+t(0xe7),'framework':'react','context':m,'config':c});c[t(0x110)][t(0xdc)]!==t(0x106)&&await g[t(0xfb)]({'srcPath':'test/test.js','destPath':j+t(0xf9),'framework':t(0xeb),'context':m,'config':c});c[t(0xfb)][t(0x105)]&&(await g['template']({'srcPath':t(0x10f),'destPath':j+'.css','context':Object[t(0x10c)]({},m,{'className':kebabCase(b[t(0xf4)])}),'config':c}),await g[t(0xf7)]({'filePath':j+'.'+c['engines']['js'],'content':'import\x20\x27./'+m[t(0xde)]+'.'+c[t(0x110)]['css']+'\x27;'}));const n=b[t(0x10e)]?'/'+b[t(0x10e)]+'/':'/',o=''+h+n+m[t(0xde)]+'/'+m['fileName'];await g[t(0xed)](m[t(0xf3)],c,o);});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a134i=a134d;function
|
|
1
|
+
const a134i=a134d;function a134d(a,b){const c=a134c();return a134d=function(d,e){d=d-0x65;let f=c[d];return f;},a134d(a,b);}(function(a,b){const f=a134d,c=a();while(!![]){try{const d=-parseInt(f(0x6c))/0x1*(-parseInt(f(0x7b))/0x2)+-parseInt(f(0x6d))/0x3+parseInt(f(0x6a))/0x4+-parseInt(f(0x74))/0x5+-parseInt(f(0x76))/0x6*(-parseInt(f(0x73))/0x7)+-parseInt(f(0x67))/0x8*(parseInt(f(0x69))/0x9)+-parseInt(f(0x77))/0xa*(-parseInt(f(0x79))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a134c,0x749cf));const a134b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a134d;if(c){const e=c[g(0x71)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a134a=a134b(this,function(){const h=a134d;return a134a[h(0x66)]()[h(0x78)](h(0x65))[h(0x66)]()[h(0x68)](a134a)['search']('(((.+)+)+)+$');});a134a();import{Generator}from'../generator.js';const MakaGen=new Generator({'name':a134i(0x72),'aliases':['g'],'usage':a134i(0x7a),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'resourceNameRequired':![],'shortDesc':a134i(0x70),'examples':['maka\x20generate:scaffold\x20todos','maka\x20g:scaffold\x20todos',a134i(0x6b),a134i(0x6e),'maka\x20g:route\x20todos/edit',a134i(0x6f),a134i(0x75)]},async function(){});function a134c(){const j=['31256kuyhDw','constructor','540mByWiA','544572iwUVBr','maka\x20g:template\x20todos/todo_item','61554CaoLmL','694962cJCTPO','maka\x20g:package\x20package:name','maka\x20g:api\x20trucks','Scaffold\x20various\x20parts\x20of\x20your\x20application','apply','generate','7CamfLO','1116275kojOyF','maka\x20g:dbc\x20geoserver\x20--type=pgsql','4432506EHCbuC','1152640iUCQqP','search','22TifCGZ','maka\x20{generate,\x20g}:<generator>\x20<name>','2vTVsYy','(((.+)+)+)+$','toString'];a134c=function(){return j;};return a134c();}export default MakaGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a135n=a135d;(function(a,b){const k=a135d,c=a();while(!![]){try{const d
|
|
1
|
+
function a135c(){const p=['dir','toString','162586VRhYue','engines','tsx','method/method.js','pathFromApp','scaffold','7485330mZKnTK','apply','error','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','11871927nrpiDs','search','51376560wmaDyq','mdg:validated-method','-rpc-method\x27;','7249515jCegFt','template','pkg','injectAtEndOfFile','checkMeteorPackage','methods','10joeBla','(((.+)+)+)+$','1809988hYiyGP','9zmhWBQ','appPathPrefix','resourceName','33817ThUhCx','imports','maka:check','import\x20\x27./methods','376vJFEeg'];a135c=function(){return p;};return a135c();}const a135n=a135d;(function(a,b){const k=a135d,c=a();while(!![]){try{const d=parseInt(k(0x82))/0x1*(parseInt(k(0x75))/0x2)+parseInt(k(0x78))/0x3*(parseInt(k(0x77))/0x4)+parseInt(k(0x91))/0x5+parseInt(k(0x88))/0x6+-parseInt(k(0x7b))/0x7*(parseInt(k(0x7f))/0x8)+parseInt(k(0x8c))/0x9+-parseInt(k(0x8e))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a135c,0xc8bfd));const a135b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a135d;if(c){const e=c[l(0x89)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a135a=a135b(this,function(){const m=a135d;return a135a[m(0x81)]()[m(0x8d)]('(((.+)+)+)+$')['toString']()['constructor'](a135a)[m(0x8d)](m(0x76));});a135a();import{Generator}from'../generator.js';function a135d(a,b){const c=a135c();return a135d=function(d,e){d=d-0x73;let f=c[d];return f;},a135d(a,b);}import{Log}from'../tools/log/log.class.js';import{camelCase,kebabCase,pascalCase}from'change-case';Generator['create']({'name':'method','aliases':['m'],'usage':'maka\x20{generate,\x20g}:{method,\x20m}\x20name','mustBeInMakaProject':!![],'checkWhere':!![],'shortDesc':a135n(0x8b),'validOpts':[a135n(0x80)],'examples':['maka\x20g:method\x20todos']},async function(a,b){const o=a135n;try{const c=this['projectConfig'],d=b[o(0x80)]?'/'+b[o(0x80)]+'/':'/',f=kebabCase(b['resourceName']),g={'name':b[o(0x7a)],'fileName':f,'className':pascalCase(b[o(0x7a)]),'camelCase':camelCase(b[o(0x7a)]),'noRename':!![]};let h='js';c[o(0x83)]['js']===o(0x84)&&(h='ts');await this[o(0x93)][o(0x73)]([o(0x7d),'ddp-rate-limiter',o(0x8f)],{'shouldInstall':!![]}),await this[o(0x87)][o(0x92)]({'srcPath':o(0x85),'destPath':this['scaffold'][o(0x86)]({'pathParts':[o(0x7c),'startup',b[o(0x79)],o(0x74),d,f+'-rpc-method.'+h]}),'context':g,'config':c});const i=this['scaffold']['pathFromApp']({'pathParts':[o(0x7c),'startup',b['appPathPrefix'],'index.'+c[o(0x83)]['js']]});await this[o(0x87)][o(0x94)]({'filePath':i,'content':o(0x7e)+d+f+o(0x90)});}catch(j){Log[o(0x8a)](j);}});
|