@maka/maka-cli 5.1.21 → 5.1.22
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/testCmd/_index.js +1 -1
- package/bundle/obf/src/commands/testCmd/jest.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/testCmd/mocha.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/testCmd/test.command.js +1 -1
- package/bundle/obf/src/commands/undo.js +1 -1
- package/bundle/obf/src/commands/uninstall.js +1 -1
- package/bundle/obf/src/commands/version/_index.js +1 -1
- package/bundle/obf/src/commands/version/list.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/version/use.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/version/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/services/_index.js +1 -1
- package/bundle/obf/src/generators/services/logger.js +1 -1
- package/bundle/obf/src/generators/services/openssl.js +1 -1
- package/bundle/obf/src/generators/services/service.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 a119n=a119d;(function(a,b){const k=a119d,c=a();while(!![]){try{const d
|
|
1
|
+
const a119n=a119d;function a119c(){const p=['root','template','1888232nQnHUf','toString','create','33906SGKdiv','string','relative','3032360xmCFhw','480347nWrlCO','client','(((.+)+)+)+$','projectConfig','865845xutRug','checkNpmPackage','template/template.css','css','test/test.js','pkg','className','fileName','fsi','/imports/ui/components','.tests.js','comp','.js','Scaffolding\x20for\x20a\x20React\x20Component.\x0ahttps://reactjs.org/docs/react-component.html','cssCaseName','358318mZmbbx','error','3732408wqgiVJ','react','baseDir','scaffold','ssr','dir','constructor','setTemplate','apply','graphql','pathFromApp','cfg','injectAtBeginningOfFile','.css','ramda','component/component.js','search','resourceName','findProjectDirectory','engines','/imports/ui/','test','none'];a119c=function(){return p;};return a119c();}(function(a,b){const k=a119d,c=a();while(!![]){try{const d=parseInt(k(0x91))/0x1+-parseInt(k(0x73))/0x2+parseInt(k(0x99))/0x3+parseInt(k(0x8e))/0x4+-parseInt(k(0x94))/0x5+parseInt(k(0x75))/0x6+-parseInt(k(0x95))/0x7;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0x894db));const a119b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a119d;if(c){const e=c[l(0x7d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){const m=a119d;return a119a[m(0x8f)]()[m(0x85)]('(((.+)+)+)+$')['toString']()[m(0x7b)](a119a)[m(0x85)](m(0x97));});a119a();import a119e from'path';import{camelCase,kebabCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';const aliases=[a119n(0xa4)];function a119d(a,b){const c=a119c();return a119d=function(d,e){d=d-0x71;let f=c[d];return f;},a119d(a,b);}Generator[a119n(0x90)]({'name':'component','aliases':aliases,'usage':'maka\x20{generate,\x20g}:{comp}\x20[path/]<name>','shortDesc':a119n(0x71),'mustBeInMakaProject':!![],'validOpts':[{'name':'baseDir'}],'examples':['maka\x20g:comp\x20todos/todos-item']},async function(a,b){const o=a119n;try{const c=b[o(0x77)]?o(0x89)+b[o(0x77)]:o(0xa2),d=this[o(0x78)][o(0x7f)]({'pathParts':[c,b[o(0x7a)],kebabCase(b[o(0x86)]),kebabCase(b[o(0x86)])]}),f=this[o(0x98)];typeof f[o(0x8d)][o(0x8a)]===o(0x92)&&this['cfg'][o(0x7c)](o(0x8a),f['template'][o(0x8a)]);typeof f['template'][o(0x9c)]==='string'&&this[o(0x80)]['setTemplate'](o(0x9c),f['template'][o(0x9c)]);typeof f[o(0x8d)]['js']===o(0x92)&&this[o(0x80)][o(0x7c)]('js',f['template']['js']);await this[o(0x9e)][o(0x9a)](o(0x83),{'shouldInstall':!b[o(0x8c)]}),await this[o(0x9e)][o(0x9a)](o(0x76),{'shouldInstall':!b['root']});const g={'name':pascalCase(b[o(0x86)]),'myPath':a119e[o(0x93)](this[o(0xa1)][o(0x87)](),d),'cssCaseName':kebabCase(b['resourceName']),'className':pascalCase(b[o(0x86)]),'camelCaseName':camelCase(b[o(0x86)]),'fileName':kebabCase(b[o(0x86)]),'graphql':f[o(0x88)][o(0x7e)],'features':f['features'],'client':f[o(0x88)][o(0x96)],'api':f[o(0x88)]['api'],'ssr':f['engines'][o(0x79)],'test':f[o(0x88)][o(0x8a)],'theme':f[o(0x88)]['theme'],'isLayout':![],'isComponent':!![],'withTranslations':f['features']['withTranslations']};await this[o(0x78)][o(0x8d)]({'srcPath':o(0x84),'destPath':d+o(0xa5),'context':g,'framework':'react','config':f});f['engines'][o(0x8a)]!==o(0x8b)&&await this[o(0x78)][o(0x8d)]({'srcPath':o(0x9d),'destPath':d+o(0xa3),'context':g,'framework':o(0x76),'config':f});f['template']['css']&&(await this['scaffold'][o(0x8d)]({'srcPath':o(0x9b),'destPath':d+o(0x82),'context':Object['assign']({},g,{'className':kebabCase(b[o(0x86)])}),'config':f}),await this[o(0x78)][o(0x81)]({'filePath':d+'.'+f[o(0x88)]['js'],'content':'import\x20\x27./'+g[o(0x72)]+'.'+f['engines'][o(0x9c)]+'\x27;'}));const h=b[o(0x7a)]?'/'+b['dir']+'/':'/',i=''+c+h+g[o(0xa0)]+'/'+g[o(0xa0)];await this['scaffold']['injectTemplateModule'](g[o(0x9f)],f,i);}catch(j){Log[o(0x74)](j);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a120m=a120d;(function(a,b){const j=a120d,c=a();while(!![]){try{const d
|
|
1
|
+
const a120m=a120d;(function(a,b){const j=a120d,c=a();while(!![]){try{const d=parseInt(j(0x126))/0x1*(parseInt(j(0x115))/0x2)+parseInt(j(0x11f))/0x3+-parseInt(j(0x11c))/0x4+parseInt(j(0x12d))/0x5*(-parseInt(j(0x112))/0x6)+-parseInt(j(0x12e))/0x7+parseInt(j(0x119))/0x8*(parseInt(j(0x12c))/0x9)+parseInt(j(0x11d))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0x25dcc));const a120b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a120d;if(c){const e=c[k(0x12a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){const l=a120d;return a120a[l(0x11a)]()[l(0x110)](l(0x122))[l(0x11a)]()[l(0x116)](a120a)[l(0x110)](l(0x122));});a120a();import{Generator}from'../generator.js';function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0x10a;let f=c[d];return f;},a120d(a,b);}import{Log}from'../tools/log/log.class.js';function a120c(){const o=['121830pfeWeo','template','pathFromProject','(((.+)+)+)+$','local','isDocker','resourceName','14xnbhQZ','prod','maka\x20{generate,\x20g}:{config}\x20<name>','config/pm2.config.js','apply','Generate\x20configuration\x20settings.','9TjFzGz','235eTjTmw','1550493ZuVfDb','maka\x20g:config\x20production','ubuntu','production','config/settings.json','create','development','search','process.env','27156bLrpgB','scaffold','config/process.env','41758isjHfc','constructor','config','appName','431888EkXodk','toString','fsi','75992uXEABL','2214010KvMMaj','pm2.config.js'];a120c=function(){return o;};return a120c();}import{camelCase,kebabCase,pascalCase}from'change-case';Generator[a120m(0x10e)]({'name':'config','usage':a120m(0x128),'shortDesc':a120m(0x12b),'validOpts':['isDocker'],'mustBeInMakaProject':!![],'examples':[a120m(0x10a)]},async function(a,b){const n=a120m;try{const c=this['projectConfig'],d={'app':c[n(0x118)],'appFileCase':kebabCase(c['appName']),'name':pascalCase(b[n(0x125)]),'fileName':kebabCase(b[n(0x125)]),'camelCase':camelCase(b[n(0x125)]),'userName':n(0x10b),'isDocker':b[n(0x124)]};let e=b[n(0x125)];if(e==='dev')e=n(0x10f);else e===n(0x127)&&(e=n(0x10c));const f=this[n(0x11b)]['pathFromProject']({'pathParts':[n(0x117),e,'settings.json']});await this['scaffold'][n(0x120)]({'srcPath':n(0x10d),'destPath':f,'context':d,'config':c});if(e!==n(0x123)){const g=this['fsi'][n(0x121)]({'pathParts':['config',e,n(0x11e)]});await this[n(0x113)]['template']({'srcPath':n(0x129),'destPath':g,'context':{'app':c[n(0x118)],'isDocker':b['isDocker']||![]},'config':c});}if(e===n(0x123)){const h=this['fsi'][n(0x121)]({'pathParts':[n(0x117),e,n(0x111)]});await this[n(0x113)][n(0x120)]({'srcPath':n(0x114),'destPath':h,'context':d,'config':c});}}catch(i){Log['error'](i);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a121n=a121d;(function(a,b){const k=a121d,c=a();while(!![]){try{const d=-parseInt(k(0x122))/0x1+-parseInt(k(0x121))/0x2*(-parseInt(k(0x12f))/0x3)+-parseInt(k(0x128))/0x4+-parseInt(k(0x139))/0x5+-parseInt(k(0x12a))/0x6*(-parseInt(k(0x141))/0x7)+parseInt(k(0x135))/0x8+-parseInt(k(0x131))/0x9*(-parseInt(k(0x11b))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0x39f19));const a121b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a121d;if(c){const e=c[l(0x133)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){const m=a121d;return a121a[m(0x12e)]()[m(0x13b)](m(0x11f))['toString']()[m(0x129)](a121a)[m(0x13b)]('(((.+)+)+)+$');});a121a();import{camelCase,kebabCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0x115;let f=c[d];return f;},a121d(a,b);}function a121c(){const p=['mssql','register-','checkNpmPackage','server','1344LSvopd','Scaffolding\x20for\x20creating\x20a\x20for\x20a\x20database\x20connection.','engines','config.','dbc','tsx','-dbc.','import\x20\x27./register-','pathFromApp','dbc/config.js','32960Fmhhrh','pkg','maka\x20g:dbc\x20geoserver\x20--type=pgsql','maka\x20{generate,\x20g}:{dbc}\x20<connection-name>','(((.+)+)+)+$','imports','590306CnQNve','193540WkguwL','resourceName','projectConfig','-dbc\x27;','dir','sqlite','866212XYGPsq','constructor','9012GjOxDM','pgsql','maka\x20g:dbc\x20todos\x20--type=sqlite','startup','toString','3cQcvtp','dbc/conn.js','1116cRKzbt','error','apply','injectAtEndOfFile','795368YLPENm','template','type','scaffold','2221160IdljEK','dbc/register-dbc.js','search','index.'];a121c=function(){return p;};return a121c();}Generator['create']({'name':a121n(0x115),'usage':a121n(0x11e),'shortDesc':a121n(0x142),'validOpts':[a121n(0x126)],'mustBeInMakaProject':!![],'requiredOpts':[{'name':a121n(0x137),'values':[a121n(0x12b),a121n(0x13d),a121n(0x127)]}],'examples':[a121n(0x11d),'maka\x20g:dbc\x20azure\x20--type=mssql',a121n(0x12c)]},async function(a,b){const o=a121n;try{const c=this[o(0x124)],d=kebabCase(b['resourceName']),f={'name':pascalCase(b[o(0x123)]),'fileName':kebabCase(b[o(0x123)]),'camelCase':camelCase(b[o(0x123)]),'type':b[o(0x137)],'engine':c[o(0x143)]['js'],'noRename':!![]},g=b[o(0x126)]?'/'+b[o(0x126)]+'/':'/';let h='js';c[o(0x143)]['js']===o(0x116)&&(h='ts');b[o(0x137)]==='pgsql'&&await this[o(0x11c)][o(0x13f)]('pg',{'shouldInstall':!![]});b[o(0x137)]===o(0x13d)&&await this[o(0x11c)]['checkNpmPackage'](o(0x13d),{'shouldInstall':!![]});b['type']===o(0x127)&&await this[o(0x11c)][o(0x13f)]('better-sqlite3',{'shouldInstall':!![]});await this[o(0x138)][o(0x136)]({'srcPath':o(0x11a),'destPath':this[o(0x138)][o(0x119)]({'pathParts':[o(0x120),o(0x12d),'server',o(0x115),g,d,o(0x144)+h]}),'context':f,'config':c}),await this[o(0x138)]['template']({'srcPath':o(0x130),'destPath':this[o(0x138)][o(0x119)]({'pathParts':[o(0x120),o(0x12d),o(0x140),o(0x115),g,d,'conn.'+h]}),'context':f,'config':c}),await this[o(0x138)]['template']({'srcPath':o(0x13a),'destPath':this[o(0x138)][o(0x119)]({'pathParts':[o(0x120),'startup',o(0x140),o(0x13e)+d+o(0x117)+h]}),'context':f,'config':c});const i=this[o(0x138)][o(0x119)]({'pathParts':[o(0x120),o(0x12d),o(0x140),o(0x13c)+c[o(0x143)]['js']]});await this[o(0x138)][o(0x134)]({'filePath':i,'content':o(0x118)+d+o(0x125)});}catch(j){Log[o(0x132)](j);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a122l=a122d;(function(a,b){const i=a122d,c=a();while(!![]){try{const d=parseInt(i(0x12e))/0x1+-parseInt(i(0x12f))/0x2*(-parseInt(i(0x118))/0x3)+-parseInt(i(0x11f))/0x4+-parseInt(i(0x112))/0x5*(-parseInt(i(0x123))/0x6)+parseInt(i(0x131))/0x7*(parseInt(i(0x11a))/0x8)+-parseInt(i(0x11c))/0x9+-parseInt(i(0x11d))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0x4e435));const a122b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a122d;if(c){const e=c[j(0x129)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){const k=a122d;return a122a[k(0x116)]()[k(0x11b)](k(0x114))['toString']()[k(0x12b)](a122a)['search'](k(0x114));});a122a();import{Generator}from'../generator.js';function a122c(){const n=['apply','maka\x20{generate,\x20g}:dockerfile','constructor','dockerfile','Generate\x20an\x20updated\x20dockerfile','429968xtVchK','247774uXCQTN','getGlobalConfig','329xtETqG','cert','100XeCxoJ','app','(((.+)+)+)+$','build','toString','template','9PTuoIA','getMakaProjectConfig','26696ImkaQo','search','2651067zawCks','3645190SHxuHU','force','1844964ghuXGf','docker/Dockerfile','cfg','fsi','144726kHUkCs','Dockerfile','app.tar.gz','error','join','isFile'];a122c=function(){return n;};return a122c();}import{Log}from'../tools/log/log.class.js';import a122e from'path';function a122d(a,b){const c=a122c();return a122d=function(d,e){d=d-0x111;let f=c[d];return f;},a122d(a,b);}Generator['create']({'name':a122l(0x12c),'usage':a122l(0x12a),'shortDesc':a122l(0x12d),'resourceNameRequired':![],'mustBeInMakaProject':!![],'validOpts':[{'name':a122l(0x11e),'boolFlag':!![]}],'examples':['maka\x20g:dockerfile']},async function(a,b){const m=a122l;try{const c=this[m(0x121)][m(0x119)](),d=await this[m(0x121)][m(0x130)](),f=this[m(0x122)]['findProjectDirectory'](),g={'app':c['appName'],'config':c,'appPath':a122e['join'](f,m(0x113)),'bundlePath':a122e[m(0x127)](f,m(0x115),m(0x125)),'useCert':d[m(0x111)]?this[m(0x122)][m(0x128)](d[m(0x111)]):![]};await this['scaffold'][m(0x117)]({'srcPath':m(0x120),'destPath':a122e[m(0x127)](f,m(0x124)),'framework':'service','context':g,'config':c,'force':b['force']});}catch(h){Log[m(0x126)](h);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a123n=a123d;(function(a,b){const l=a123d,c=a();while(!![]){try{const d
|
|
1
|
+
const a123n=a123d;function a123d(a,b){const c=a123c();return a123d=function(d,e){d=d-0x139;let f=c[d];return f;},a123d(a,b);}(function(a,b){const l=a123d,c=a();while(!![]){try{const d=-parseInt(l(0x157))/0x1+parseInt(l(0x169))/0x2+parseInt(l(0x172))/0x3*(-parseInt(l(0x148))/0x4)+-parseInt(l(0x166))/0x5*(-parseInt(l(0x145))/0x6)+parseInt(l(0x150))/0x7*(-parseInt(l(0x152))/0x8)+parseInt(l(0x15b))/0x9+parseInt(l(0x163))/0xa*(parseInt(l(0x13c))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0x1c391));const a123b=(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;};}()),a123a=a123b(this,function(){const m=a123d;return a123a['toString']()[m(0x161)](m(0x14b))['toString']()[m(0x15c)](a123a)[m(0x161)](m(0x14b));});a123a();import a123e from'path';import{kebabCase,pascalCase,camelCase}from'change-case';import{Generator}from'../generator.js';function a123c(){const p=['fsi','layouts','search','notice','110aMQBBw','template/template.css','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','29265QgOtPb','pathFromApp','@apollo/client\x20isomorphic-fetch','377296auzaSg','maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','hooks','scaffold','\x0a\x20\x20Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html\x0a\x0a\x20\x20If\x20you\x27d\x20like\x20a\x20hook\x20created\x20as\x20part\x20of\x20an\x20existing\x20page,\x20component,\x20or\x20layout,\x0a\x20\x20use\x20the\x20maka\x20g:hook\x20command\x20with\x20the\x20--baseDir\x20option.\x20For\x20example,\x0a\x0a\x20\x20\x20\x20maka\x20g:hook\x20--baseDir=pages\x20myPage/useCoolHook\x0a\x0a\x20\x20will\x20create\x20a\x20hook\x20in\x20imports/ui/pages/my-page/use-cool-hook.jsx\x0a\x0a\x20\x20','engines','withTranslations','findAppDirectory','warn','218574SDBbKN','pages','@apollo/client','.css','dir','findProjectDirectory','setTemplate','features','import\x20\x27./','230791BozGbg','projectConfig','baseDir','test','fileName','none','cssCaseName','maka\x20g:hook\x20cool-hook','Creating\x20','60wyxGZu','pkg','theme','4bCVXVY','force','create','(((.+)+)+)+$','.js','test/test.js','apollo','resourceName','14ybCKum','assign','590904KZvrdO','/imports/ui/','injectTemplateModule','template','injectAtBeginningOfFile','208937uOtxaA','className','react','css','604377vzgcpy','constructor','checkNpmPackage','components'];a123c=function(){return p;};return a123c();}import{Log}from'../tools/log/log.class.js';Generator[a123n(0x14a)]({'name':'hook','aliases':['h'],'checkWhere':![],'usage':a123n(0x16a),'shortDesc':'Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','mustBeInMakaProject':!![],'validOpts':[{'name':a123n(0x13e),'values':[a123n(0x16b),a123n(0x15e),a123n(0x173),a123n(0x160)]},{'name':a123n(0x149),'boolFlag':!![]}],'examples':[a123n(0x143)],'description':a123n(0x16d)},async function(a,b){const o=a123n;Log[o(0x162)](o(0x144)+b[o(0x14f)]+'\x20hook...');try{await this['pkg'][o(0x15d)]('react',{'shouldInstall':!![]});const c=this[o(0x15f)][o(0x170)](),d=b['baseDir']?o(0x153)+b['baseDir']:'/imports/ui/components',f=this[o(0x16c)][o(0x167)]({'pathParts':[d,b['dir'],kebabCase(b[o(0x14f)]),kebabCase(b[o(0x14f)])]}),g=this[o(0x13d)];typeof g[o(0x155)][o(0x15a)]==='string'&&this['cfg'][o(0x139)](o(0x15a),g[o(0x155)][o(0x15a)]);g[o(0x16e)]['graphql']===o(0x14e)&&!this['pkg'][o(0x15d)](o(0x174))&&(Log[o(0x171)](o(0x165)),await this[o(0x146)]['installNpmPackage'](o(0x168),{'cwd':c}));const h={'cssCaseName':kebabCase(b[o(0x14f)]),'camelCaseName':camelCase(b['resourceName']),'className':pascalCase(b['resourceName']),'name':pascalCase(b[o(0x14f)]),'graphql':g[o(0x16e)]['graphql'],'theme':g[o(0x16e)][o(0x147)],'test':g[o(0x16e)][o(0x13f)],'features':g[o(0x13a)],'myPath':a123e['relative'](this[o(0x15f)][o(0x177)](),f),'fileName':kebabCase(b[o(0x14f)]),'isComponent':![],'isLayout':![],'withTranslations':g[o(0x13a)][o(0x16f)]};await this['scaffold'][o(0x155)]({'srcPath':'hook/hook.js','destPath':f+o(0x14c),'context':h,'config':g,'framework':'react','force':b['force']});g['template'][o(0x15a)]&&(await this['scaffold'][o(0x155)]({'srcPath':o(0x164),'destPath':f+o(0x175),'context':Object[o(0x151)]({},h,{'className':h[o(0x142)]}),'config':g,'force':b[o(0x149)]}),await this[o(0x16c)][o(0x156)]({'filePath':f+'.'+g[o(0x16e)]['js'],'content':o(0x13b)+h[o(0x140)]+'.'+g[o(0x16e)][o(0x15a)]+'\x27;'}));g[o(0x16e)][o(0x13f)]!==o(0x141)&&await this['scaffold'][o(0x155)]({'srcPath':o(0x14d),'destPath':f+'.app-tests.js','framework':o(0x159),'context':h,'config':g,'force':b[o(0x149)]});const i=b[o(0x176)]?'/'+b[o(0x176)]+'/':'/',j=''+d+i+h[o(0x140)]+'/'+h[o(0x140)];await this[o(0x16c)][o(0x154)](h[o(0x158)],g,j);}catch(k){Log['error'](k);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a124d,c=a();while(!![]){try{var d
|
|
1
|
+
function a124d(a,b){var c=a124c();return a124d=function(d,e){d=d-0x18b;var f=c[d];return f;},a124d(a,b);}(function(a,b){var f=a124d,c=a();while(!![]){try{var d=-parseInt(f(0x195))/0x1+parseInt(f(0x18d))/0x2+-parseInt(f(0x18e))/0x3*(parseInt(f(0x194))/0x4)+parseInt(f(0x190))/0x5*(parseInt(f(0x191))/0x6)+-parseInt(f(0x18b))/0x7*(-parseInt(f(0x18f))/0x8)+parseInt(f(0x192))/0x9+parseInt(f(0x193))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0xdea2b));var a124b=(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;};}()),a124a=a124b(this,function(){var g=a124d;return a124a['toString']()[g(0x196)](g(0x18c))['toString']()['constructor'](a124a)['search'](g(0x18c));});a124a();import'./kit.js';import'./mui/_index.js';import'./esri/_index.js';function a124c(){var h=['32cmYzol','1666218aXvsTK','search','8233239FsSOvg','(((.+)+)+)+$','2335638ANMmMU','642714xWQeAY','8bsMfQz','5EicVCk','1678758ujaLIY','9928629CBszDa','5650670kHZYzF'];a124c=function(){return h;};return a124c();}import'./auth/_index.js';
|
|
@@ -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(0x18b))/0x1*(parseInt(f(0x188))/0x2)+-parseInt(f(0x180))/0x3*(parseInt(f(0x17d))/0x4)+parseInt(f(0x186))/0x5*(-parseInt(f(0x17f))/0x6)+parseInt(f(0x181))/0x7*(-parseInt(f(0x187))/0x8)+parseInt(f(0x182))/0x9+parseInt(f(0x18c))/0xa*(-parseInt(f(0x189))/0xb)+parseInt(f(0x184))/0xc*(parseInt(f(0x17e))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0x84254));var a125b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){var g=a125d;return a125a['toString']()[g(0x18a)](g(0x183))['toString']()[g(0x185)](a125a)[g(0x18a)](g(0x183));});function a125c(){var h=['search','11nuhnsT','660zHiwVw','8dFLyke','13RBlHTv','6zqYjxE','1014996xHtFcm','42wpuZYT','7388622TUdMQN','(((.+)+)+)+$','26524884tkzDmT','constructor','2727860BBtGWr','51144tQNuWM','158662IrckzA','59477BypoTx'];a125c=function(){return h;};return a125c();}function a125d(a,b){var c=a125c();return a125d=function(d,e){d=d-0x17d;var f=c[d];return f;},a125d(a,b);}a125a();import'./auth.generator.js';import'./provider.auth.gen.js';import'./basic-meteor.auth.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a126i=a126d;(function(a,b){const f=a126d,c=a();while(!![]){try{const d=-parseInt(f(0x72))/0x1*(-parseInt(f(0x86))/0x2)+-parseInt(f(0x75))/0x3*(parseInt(f(0x7d))/0x4)+-parseInt(f(0x78))/0x5+-parseInt(f(0x80))/0x6*(-parseInt(f(0x83))/0x7)+-parseInt(f(0x82))/0x8+parseInt(f(0x7c))/0x9*(parseInt(f(0x73))/0xa)+parseInt(f(0x85))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0xa394b));const a126b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a126d;if(c){const e=c[g(0x76)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){const h=a126d;return a126a['toString']()['search'](h(0x7a))[h(0x84)]()[h(0x7b)](a126a)['search']('(((.+)+)+)+$');});a126a();import{Generator}from'../../../generator.js';function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0x72;let f=c[d];return f;},a126d(a,b);}import a126e from'../kit.js';const AuthGen=Generator[a126i(0x7e)]({'name':a126i(0x7f),'aliases':['a'],'usage':a126i(0x79),'shortDesc':a126i(0x74),'resourceNameRequired':![],'validOpts':[''],'isPro':!![],'examples':[a126i(0x77)],'description':'\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x20\x20'},async function(){const j=a126i;throw j(0x81);},async function(){},a126e);function a126c(){const k=['auth','6zRIWvh','NIE','5249984YqibYq','1806371KSKlCM','toString','14611421DZupxl','38blocZJ','9149KWMnXn','174520MpwFxb','Starting\x20point\x20for\x20generating\x20an\x20Auth\x20Provider','835689ClkkVR','apply','maka\x20g:kit:a','786820CVWBXj','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:<kit-name>','(((.+)+)+)+$','constructor','432WdQxDX','16skwynW','create'];a126c=function(){return k;};return a126c();}export default AuthGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a127v=a127d;(function(a,b){const s=a127d,c=a();while(!![]){try{const d=-parseInt(s(0xf6))/0x1*(parseInt(s(0xe7))/0x2)+-parseInt(s(0xdc))/0x3+-parseInt(s(0xc7))/0x4+parseInt(s(0xf2))/0x5+parseInt(s(0xe6))/0x6+-parseInt(s(0xbe))/0x7*(parseInt(s(0xd1))/0x8)+parseInt(s(0xf4))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0xd9279));function a127c(){const x=['server','409466DEydLi','constructor','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','publish','meteor/maka:react-tracker','8364230SUuYHY','findProjectDirectory','react','REACT','/imports/startup/lib','injectIntoCodeBlock','authentication-provider','const\x20registerNewUser','.js','4796604wLvTFA','apply','export\x20const\x20AuthProvider','useEffect\x5c(','/imports/startup/server/publications/auth/roles.js','const\x20resetPasswordWithToken','checkMeteorPackage','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','toString','kit/auth/service/meteor-auth-service.js','8iAANVh','(((.+)+)+)+$','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','\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.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','\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','Meteor.startup','accounts-password','create','injectIntoFile','ssr','413052pQgytZ','const\x20authenticateUser','\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','AuthService','/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','useTracker','pathFromApp','meteor/accounts-base','\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','557658Ynpgzz','2KzLJbZ','injectImport','error','findAppDirectory','const\x20sendForgotPasswordEmail','engines','force','const\x20getUserAuthorizations','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','/imports/startup/client/authentication-service','normalize','5367765TfZqCS','meteor/meteor','23977440XyDqUB'];a127c=function(){return x;};return a127c();}const a127b=(function(){let a=!![];return function(b,c){const d=a?function(){const t=a127d;if(c){const e=c[t(0xc8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){const u=a127d;return a127a[u(0xcf)]()['search'](u(0xd2))[u(0xcf)]()[u(0xf7)](a127a)['search'](u(0xd2));});function a127d(a,b){const c=a127c();return a127d=function(d,e){d=d-0xbc;let f=c[d];return f;},a127d(a,b);}a127a();import a127e from'path';import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a127f from'./auth.generator.js';import a127g from'../../../generators/maka.gen.js';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a127v(0xd9)]({'name':'meteor','aliases':['m'],'usage':a127v(0xf8),'shortDesc':a127v(0xce),'validOpts':[a127v(0xed)],'isPro':!![],'resourceNameRequired':![],'mustBeInMakaProject':!![],'requiredEngines':{'client':ClientEngines[a127v(0xc1)]},'description':a127v(0xe5)},async function(a,b){const w=a127v,{fsi:c,pkg:d,scaffold:f,projectConfig:g}=this;try{const h=b[w(0xed)]||![];await d[w(0xcd)]([w(0xd8)],{'shouldInstall':!![]});const i=c[w(0xbf)](),j=c[w(0xea)](),k=g[w(0xec)][w(0xdb)]==='meteor';await a127g['processAndRunGenerator']('kit:auth:provider',[],{'force':h,'cwd':i,'config':g}),await a127g['processAndRunGenerator'](w(0xbc),['auth/roles'],{'force':h,'globalPublish':!![],'cwd':i,'config':g});const l=j+a127e[w(0xf1)](w(0xcb)),m=k?w(0xc2):'/imports/startup/client',n=f['pathFromApp']({'pathParts':[m,'','','authentication-service']});await f['template']({'srcPath':w(0xd0),'destPath':n+w(0xc6),'framework':w(0xc0),'context':{},'config':g,'force':h,'ignore':![]});const o=f[w(0xe3)]({'pathParts':[m,'','',w(0xc4)]}),p=g[w(0xec)]['js'];await f[w(0xe8)]({'filePath':o+'.'+p,'importName':w(0xdf),'modulePath':k?w(0xe0):w(0xf0),'isNamedExport':![]}),await f['injectIntoCodeBlock']({'filePath':o+'.'+p,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20const\x20user\x20=\x20await\x20AuthService.authenticateUser(username,\x20password);\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20user;\x0a\x20\x20\x20\x20\x20\x20','begin':w(0xdd),'replace':!![]}),await f[w(0xc3)]({'filePath':o+'.'+p,'content':'\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','begin':'const\x20authenticateToken','replace':!![]}),await f[w(0xc3)]({'filePath':o+'.'+p,'content':w(0xe1),'begin':w(0xee),'replace':!![]}),await f['injectIntoCodeBlock']({'filePath':o+'.'+p,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','begin':'const\x20deauthenticateUser','replace':!![]}),await f['injectIntoCodeBlock']({'filePath':o+'.'+p,'content':w(0xef),'begin':w(0xeb),'replace':!![]}),await f['injectIntoCodeBlock']({'filePath':o+'.'+p,'content':w(0xd5),'begin':w(0xc5),'replace':!![]}),await f[w(0xc3)]({'filePath':o+'.'+p,'content':w(0xd3),'begin':w(0xcc),'replace':!![]});k&&(await f[w(0xe8)]({'filePath':o+'.'+p,'importName':w(0xe2),'modulePath':w(0xbd),'isNamedExport':!![]}),await f[w(0xda)]({'filePath':o+'.'+p,'content':w(0xd6),'begin':w(0xc9),'end':w(0xca)}));await f[w(0xe8)]({'filePath':l,'importName':'Meteor','modulePath':w(0xf3),'isNamedExport':!![],'injectAtStart':!![]}),await f[w(0xc3)]({'filePath':l,'content':w(0xde),'begin':'Meteor.publish','replace':!![]});const q=f[w(0xe3)]({'pathParts':['imports','startup',w(0xf5),'index']});await f['injectImport']({'filePath':q+'.'+p,'importName':'Accounts','modulePath':w(0xe4),'isNamedExport':!![]}),await f[w(0xc3)]({'filePath':q+'.'+p,'content':w(0xd4),'begin':w(0xd7),'replace':!![]});}catch(r){Log[w(0xe9)](r),process['exit'](0x1);}},async function(){},a127f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a128w=a128d;(function(a,b){const u=a128d,c=a();while(!![]){try{const d
|
|
1
|
+
const a128w=a128d;(function(a,b){const u=a128d,c=a();while(!![]){try{const d=parseInt(u(0xa5))/0x1*(-parseInt(u(0xc9))/0x2)+-parseInt(u(0xc5))/0x3*(parseInt(u(0xba))/0x4)+-parseInt(u(0xbe))/0x5*(parseInt(u(0xac))/0x6)+parseInt(u(0xab))/0x7*(parseInt(u(0xd7))/0x8)+-parseInt(u(0xb3))/0x9+-parseInt(u(0xc3))/0xa+parseInt(u(0xa4))/0xb*(parseInt(u(0xcb))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0x7ee68));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const v=a128d;return a128a['toString']()[v(0xb5)]('(((.+)+)+)+$')[v(0xaf)]()['constructor'](a128a)[v(0xb5)](v(0xcd));});function a128c(){const y=['(((.+)+)+)+$','/imports/startup/lib/authentication-provider','/imports/startup/client/index','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','AuthContext','provider','react','appName','Creating\x20an\x20AuthProvider\x20and\x20AuthContext','104600uCxICG','split','REACT','363HrowLZ','16519CLTqzi','bright','/imports/startup/client/authentication-provider','AuthProvider','<AuthProvider>','</AuthProvider>','497lQilXE','102fMxsPu','\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','exit','toString','const\x20PrivateRoute','authentication-provider','injectIntoCodeBlock','3628881ULyxvy','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','search','engines','create','function\x20useAuth','<AppRoutes\x20history={history}/>','20nLkOZC','injectAroundString','/imports/startup/server/index','useContext','39565mMalMF','error','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','meteor','force','6456560lDpglh','scaffold','39297tAlGKu','\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','injectImport','4Vvosnl','template','317592xnjhEw','.js'];a128c=function(){return y;};return a128c();}function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0xa3;let f=c[d];return f;},a128d(a,b);}a128a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a128e from'./auth.generator.js';import{capitalCase}from'change-case';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a128w(0xb7)]({'name':a128w(0xd3),'aliases':['p'],'usage':a128w(0xb4),'shortDesc':a128w(0xc0),'validOpts':[a128w(0xc2)],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'client':ClientEngines[a128w(0xa3)]},'description':a128w(0xd1)},async function(a,b){const x=a128w;try{const c=b['force']||![];Log[x(0xa6)](x(0xd6));const {projectConfig:d}=this,f=d[x(0xb6)]['ssr']===x(0xc1),g={'name':capitalCase(d[x(0xd5)])},h=f?'/imports/startup/lib':'/imports/startup/client',i=this[x(0xc4)][x(0xd0)]({'pathParts':[h,'','',x(0xb1)]});await this[x(0xc4)][x(0xca)]({'srcPath':x(0xc7),'destPath':i+x(0xcc),'framework':x(0xd4),'context':g,'config':d,'force':c,'ignore':![]});const j=d[x(0xb6)]['js'],k=h+'/routes',l=k[x(0xd8)]('/'),m=this['scaffold']['pathFromApp']({'pathParts':l});await this[x(0xc4)]['injectImport']({'filePath':m+'.'+j,'importName':x(0xd2),'modulePath':f?x(0xce):'/imports/startup/client/authentication-provider','isNamedExport':!![]}),await this['scaffold'][x(0xc8)]({'filePath':m+'.'+j,'importName':x(0xbd),'modulePath':x(0xd4),'isNamedExport':!![],'injectAtStart':!![]}),await this[x(0xc4)][x(0xb2)]({'filePath':m+'.'+j,'content':x(0xc6),'begin':['const\x20useAuth',x(0xb8)],'replace':!![]}),await this[x(0xc4)][x(0xb2)]({'filePath':m+'.'+j,'content':x(0xad),'begin':[x(0xb0)],'replace':!![]});const n=x(0xcf),o=n['split']('/'),p=this[x(0xc4)][x(0xd0)]({'pathParts':o});await this['scaffold'][x(0xc8)]({'filePath':p+'.'+j,'importName':'AuthProvider','modulePath':f?x(0xce):x(0xa7),'isNamedExport':!![]}),await this[x(0xc4)][x(0xbb)]({'filePath':p+'.'+j,'aboveContent':x(0xa9),'belowContent':x(0xaa),'targetString':'<AppRoutes\x20/>','indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q=x(0xbc),r=q[x(0xd8)]('/'),s=this[x(0xc4)][x(0xd0)]({'pathParts':r});await this[x(0xc4)]['injectImport']({'filePath':s+'.'+j,'importName':x(0xa8),'modulePath':f?x(0xce):x(0xa7),'isNamedExport':!![]}),await this[x(0xc4)][x(0xbb)]({'filePath':s+'.'+j,'aboveContent':x(0xa9),'belowContent':x(0xaa),'targetString':x(0xb9),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log[x(0xbf)](t),process[x(0xae)](0x1);}},async function(){},a128e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(a,b){var f=a129d,c=a();while(!![]){try{var d=parseInt(f(0x13d))/0x1+-parseInt(f(0x13b))/0x2+parseInt(f(0x13e))/0x3+-parseInt(f(0x13c))/0x4+-parseInt(f(0x136))/0x5+parseInt(f(0x139))/0x6*(-parseInt(f(0x134))/0x7)+parseInt(f(0x137))/0x8*(parseInt(f(0x135))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0xd06cf));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(0x138)]()[g(0x13a)](g(0x140))[g(0x138)]()[g(0x13f)](a129a)[g(0x13a)](g(0x140));});function a129c(){var h=['constructor','(((.+)+)+)+$','3946621SjDjZY','106659OICTte','1646310AXtgOa','368kIQUxD','toString','6meuSlU','search','376314gwrXGT','3570888TTgnvK','1591956bwYdYO','2071659LaVzrY'];a129c=function(){return h;};return a129c();}a129a();function a129d(a,b){var c=a129c();return a129d=function(d,e){d=d-0x134;var f=c[d];return f;},a129d(a,b);}import'./esri.generator.js';import'./map.esri.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a130i=a130d;(function(a,b){const f=a130d,c=a();while(!![]){try{const d=-parseInt(f(
|
|
1
|
+
const a130i=a130d;(function(a,b){const f=a130d,c=a();while(!![]){try{const d=-parseInt(f(0x100))/0x1*(parseInt(f(0xf5))/0x2)+parseInt(f(0xff))/0x3+-parseInt(f(0xfd))/0x4+-parseInt(f(0x101))/0x5+parseInt(f(0xf7))/0x6+-parseInt(f(0xf9))/0x7+parseInt(f(0xfe))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0x3b2be));const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a130d;if(c){const e=c[g(0xfb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const h=a130d;return a130a[h(0xfc)]()[h(0xf3)]('(((.+)+)+)+$')[h(0xfc)]()[h(0xfa)](a130a)[h(0xf3)]('(((.+)+)+)+$');});a130a();import{Generator}from'../../../generator.js';import{UsageError}from'../../../error.js';function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0xf2;let f=c[d];return f;},a130d(a,b);}import a130e from'../kit.js';function a130c(){const j=['3vVZXfE','1959480CRyNjQ','\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','search','maka\x20g:kit:e','311662RMPhRL','Starting\x20point\x20for\x20generating\x20Esri\x20Maps','1087770JQjtdX','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','481691NFOqhN','constructor','apply','toString','1374964XUsZFM','9500064rTbgzm','436518SbIzSC'];a130c=function(){return j;};return a130c();}const EsriGen=Generator['create']({'name':'esri','aliases':['e'],'usage':a130i(0xf8),'shortDesc':a130i(0xf6),'resourceNameRequired':![],'validOpts':[''],'isPro':!![],'examples':[a130i(0xf4)],'description':a130i(0xf2)},async function(){throw UsageError;},async function(){},a130e);export default EsriGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a131v=a131d;(function(a,b){const s=a131d,c=a();while(!![]){try{const d=parseInt(s(
|
|
1
|
+
const a131v=a131d;(function(a,b){const s=a131d,c=a();while(!![]){try{const d=parseInt(s(0x9a))/0x1*(-parseInt(s(0x96))/0x2)+-parseInt(s(0x9f))/0x3*(-parseInt(s(0x99))/0x4)+parseInt(s(0xa5))/0x5+-parseInt(s(0xa7))/0x6+parseInt(s(0xa6))/0x7+-parseInt(s(0x8c))/0x8+parseInt(s(0x85))/0x9*(parseInt(s(0x9c))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0xa0a2f));const a131b=(function(){let a=!![];return function(b,c){const d=a?function(){const t=a131d;if(c){const e=c[t(0x8d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a131a=a131b(this,function(){const u=a131d;return a131a['toString']()['search']('(((.+)+)+)+$')['toString']()['constructor'](a131a)[u(0x80)]('(((.+)+)+)+$');});function a131c(){const x=['injectIntoFile','154390dCdDPW','</div>','baseDir','555VghPdy','kit/esri/map/','checkNpmPackage','replaceAll','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','processAndRunGenerator','6121490lzDkls','549542SIpPQr','4645866slEZPl','template','\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','.js','<div\x20id=\x22map\x22>','map','pathFromApp','react','search','ssr','dir','Generating\x20a\x20map\x20component','error','927EvKILv','esri-loader','/imports/ui/','appName','page','bright','injectImport','5095536UjWaAd','apply','/imports/startup/client/templates','engines','NONE','Generate\x20an\x20Esri\x20map\x20component','REACT','@esri/react-arcgis','/imports/ui/components','injectTemplateModule','1244306RJDQmf','create','basic-map','9092IcCmJZ','2MTcRYc'];a131c=function(){return x;};return a131c();}a131a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a131e from'./esri.generator.js';import a131f from'../../../generators/maka.gen.js';import{kebabCase,capitalCase,pascalCase}from'change-case';import{ClientEngines,SsrEngines}from'../../../tools/fsi/fsi.interfaces.js';function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0x7e;let f=c[d];return f;},a131d(a,b);}Generator[a131v(0x97)]({'name':a131v(0xac),'aliases':['m'],'usage':a131v(0xa3),'shortDesc':a131v(0x91),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'client':ClientEngines[a131v(0x92)],'ssr':SsrEngines[a131v(0x90)]},'description':a131v(0xa9)},async function(a,b){const w=a131v;try{const {projectConfig:c,fsi:d,pkg:f,scaffold:g}=this;Log[w(0x8a)](w(0x83));const h=w(0x98);await f[w(0xa1)]([w(0x93),w(0x86)],{'shouldInstall':!![]});const i=d['findProjectDirectory'](),j=c[w(0x8f)][w(0x81)]==='meteor',k=await a131f[w(0xa4)](w(0x89),[w(0xac)],{'cwd':i,'config':c}),l={'name':capitalCase(c[w(0x88)])[w(0xa2)]('-','\x20'),'componentName':pascalCase(h)},m=b[w(0x9e)]?w(0x87)+b[w(0x9e)]:w(0x94),n=g['pathFromApp']({'pathParts':[m,b[w(0x82)],kebabCase(h),kebabCase(h)]});await g[w(0xa8)]({'srcPath':w(0xa0)+h+w(0xaa),'destPath':n+w(0xaa),'framework':w(0x7f),'context':l,'config':c,'force':![],'ignore':![]});const o=''+m+b[w(0x82)]+'/'+h+'/'+h;await g[w(0x95)](h,c,o);const p=k['split']('/'),q=g[w(0x7e)]({'pathParts':p});await g[w(0x8b)]({'filePath':q,'importName':pascalCase(h),'modulePath':j?'/imports/startup/lib/templates':w(0x8e),'isNamedExport':!![]}),await g[w(0x9b)]({'filePath':q,'content':'\x0a<'+pascalCase(h)+'\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','begin':['<div\x20id=\x22map\x22>',w(0xab)],'end':[w(0x9d)],'replace':!![]});}catch(r){Log[w(0x84)](r),process['exit'](0x1);}},async function(){},a131e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a132i=a132d;function a132c(){const j=['70BsbZUE','create','(((.+)+)+)+$','apply','search','393588AXQnuv','46878WrZmGv','maka\x20g:k','10lRiksv','toString','176547buiPhv','455616YkeqGE','maka\x20{generate,\x20g}:{kit}\x20<name>','maka\x20g:kit','56tLjgBc','243944bWmSEw','384774WhibYJ','3107421sCRHyY','Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.'];a132c=function(){return j;};return a132c();}(function(a,b){const f=a132d,c=a();while(!![]){try{const d=-parseInt(f(0xb1))/0x1+parseInt(f(0xa7))/0x2+parseInt(f(0x9f))/0x3+parseInt(f(0xad))/0x4+parseInt(f(0xa2))/0x5*(parseInt(f(0xa8))/0x6)+parseInt(f(0xac))/0x7*(parseInt(f(0xb0))/0x8)+parseInt(f(0xa0))/0x9*(-parseInt(f(0xaa))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a132c,0x211f8));function a132d(a,b){const c=a132c();return a132d=function(d,e){d=d-0x9f;let f=c[d];return f;},a132d(a,b);}const a132b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a132d;if(c){const e=c[g(0xa5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a132a=a132b(this,function(){const h=a132d;return a132a[h(0xab)]()[h(0xa6)](h(0xa4))[h(0xab)]()['constructor'](a132a)['search'](h(0xa4));});a132a();import{Generator}from'../../generator.js';const KitGen=Generator[a132i(0xa3)]({'name':'kit','aliases':['k'],'usage':a132i(0xae),'shortDesc':a132i(0xa1),'minArgLength':0x1,'isPro':!![],'validOpts':[],'resourceNameRequired':![],'examples':[a132i(0xaf),a132i(0xa9)]},async function(){});export default KitGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(a,b){var f=a133d,c=a();while(!![]){try{var d=parseInt(f(0x114))/0x1+-parseInt(f(0x121))/0x2*(-parseInt(f(0x117))/0x3)+-parseInt(f(0x116))/0x4*(parseInt(f(0x118))/0x5)+parseInt(f(0x11d))/0x6*(-parseInt(f(0x115))/0x7)+-parseInt(f(0x123))/0x8*(-parseInt(f(0x11a))/0x9)+-parseInt(f(0x11e))/0xa*(-parseInt(f(0x119))/0xb)+parseInt(f(0x122))/0xc*(-parseInt(f(0x11f))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a133c,0xe0563));var a133b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a133d;if(c){var e=c[g(0x11c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a133a=a133b(this,function(){var h=a133d;return a133a[h(0x124)]()[h(0x113)](h(0x120))[h(0x124)]()[h(0x11b)](a133a)[h(0x113)](h(0x120));});a133a();function a133c(){var i=['5eAcMEH','10681BNlXFb','26703zYrYcW','constructor','apply','977370sUOier','3590JpEecp','39OaTuuz','(((.+)+)+)+$','2WZcrFS','5556036sRwrYo','2192ToFHAC','toString','search','1073750jVrPsa','14lHDakU','3598732NoZzyS','3894204HfsWGr'];a133c=function(){return i;};return a133c();}import'./mui.generator.js';import'./frame.mui.gen.js';function a133d(a,b){var c=a133c();return a133d=function(d,e){d=d-0x113;var f=c[d];return f;},a133d(a,b);}import'./auth.mui.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a134c(){const M=['error','react','authType','3vRwdZq','template','/imports/startup/lib/authentication-provider','force','7bjfnNh','split','/imports/ui/','480877admvhk','Meteor\x20Accounts','kit:auth:provider','(((.+)+)+)+$','10UXnVwJ','register','AuthContext','toString','788100NdQFEh','baseDir','injectImport','Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','engines','Custom\x20(roll\x20your\x20own)','/imports/startup/client/authentication-provider','kit/mui/auth/forgot-password/','route','basic-register-page','dir','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{auth,\x20a}','select','/imports/ui/pages/auth','kit/mui/auth/login/','2833738dbbHZg','maka\x20g:k:m:a','.js','processAndRunGenerator','findProjectDirectory','reset-password/:token','11531512xgsoDS','custom','create','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20setup\x20with\x20login,\x20logout,\x20registration,\x20and\x20password\x20reset\x20pages.\x0a\x20\x20','login','1224520hREVzy','search','basic-login-page','layouts','35354826kaGASq','injectTemplateModule','kit/mui/auth/password-reset/','kit/mui/auth/logout/','What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','appName','4931435kFlnHB','kit/mui/auth/register/','constructor','basic-forgot-password-page','maka\x20generate:kit:mui:auth','pathFromApp','basic-password-reset-page','ssr'];a134c=function(){return M;};return a134c();}const a134K=a134d;(function(a,b){const I=a134d,c=a();while(!![]){try{const d=parseInt(I(0x168))/0x1+parseInt(I(0x17f))/0x2*(parseInt(I(0x161))/0x3)+parseInt(I(0x18a))/0x4+parseInt(I(0x194))/0x5+-parseInt(I(0x170))/0x6*(-parseInt(I(0x165))/0x7)+parseInt(I(0x185))/0x8+parseInt(I(0x18e))/0x9*(-parseInt(I(0x16c))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a134c,0xcbc4e));const a134b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a134a=a134b(this,function(){const J=a134d;return a134a[J(0x16f)]()[J(0x18b)](J(0x16b))[J(0x16f)]()[J(0x196)](a134a)[J(0x18b)](J(0x16b));});a134a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a134e from'../../../generators/maka.gen.js';import a134f from'./mui.generator.js';import{kebabCase,capitalCase}from'change-case';function a134d(a,b){const c=a134c();return a134d=function(d,e){d=d-0x15e;let f=c[d];return f;},a134d(a,b);}import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a134K(0x187)]({'name':'auth','aliases':['a'],'usage':a134K(0x17b),'shortDesc':a134K(0x173),'validOpts':[a134K(0x18d),a134K(0x164)],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'theme':ThemeEngines['MATERIAL'],'client':ClientEngines['REACT']},'examples':[a134K(0x198),a134K(0x180)],'description':a134K(0x188)},async function(a,b){const L=a134K;try{const {projectConfig:c,fsi:d,scaffold:f}=this,g=b['force']||![],h=d[L(0x183)](),i=await Actions[L(0x17c)]({'name':L(0x160),'message':L(0x192),'choices':[{'name':L(0x169),'value':'meteor'},{'name':L(0x175),'value':L(0x186)}]}),j=L(0x18c),k='basic-logout-page',l=L(0x179),m=L(0x19a),n=L(0x197),o=b['baseDir']?L(0x167)+b[L(0x171)]:L(0x17d),p=f[L(0x199)]({'pathParts':[o,b['dir'],kebabCase(j),kebabCase(j)]}),q=f[L(0x199)]({'pathParts':[o,b['dir'],kebabCase(k),kebabCase(k)]}),r=f[L(0x199)]({'pathParts':[o,b[L(0x17a)],kebabCase(l),kebabCase(l)]}),s=f['pathFromApp']({'pathParts':[o,b[L(0x17a)],kebabCase(m),kebabCase(m)]}),t=f[L(0x199)]({'pathParts':[o,b[L(0x17a)],kebabCase(n),kebabCase(n)]}),u={'name':capitalCase(c[L(0x193)])};await f[L(0x162)]({'srcPath':L(0x17e)+j+L(0x181),'destPath':p+L(0x181),'framework':L(0x15f),'context':u,'config':c,'force':g,'ignore':![]}),await f['template']({'srcPath':L(0x191)+k+L(0x181),'destPath':q+L(0x181),'framework':L(0x15f),'context':u,'config':c,'force':g,'ignore':![]}),await f[L(0x162)]({'srcPath':L(0x195)+l+'.js','destPath':r+L(0x181),'framework':'react','context':u,'config':c,'force':g,'ignore':![]}),await f[L(0x162)]({'srcPath':L(0x190)+m+L(0x181),'destPath':s+L(0x181),'framework':L(0x15f),'context':u,'config':c,'force':g,'ignore':![]}),await f[L(0x162)]({'srcPath':L(0x177)+n+L(0x181),'destPath':t+'.js','framework':L(0x15f),'context':u,'config':c,'force':g,'ignore':![]});const v=''+o+b[L(0x17a)]+'/'+j+'/'+j;await f[L(0x18f)](j,c,v);const w=''+o+b[L(0x17a)]+'/'+k+'/'+k;await f['injectTemplateModule'](k,c,w);const x=''+o+b[L(0x17a)]+'/'+l+'/'+l;await f[L(0x18f)](l,c,x);const y=''+o+b[L(0x17a)]+'/'+m+'/'+m;await f[L(0x18f)](m,c,y);const z=''+o+b[L(0x17a)]+'/'+n+'/'+n;await f[L(0x18f)](n,c,z),await a134e[L(0x182)](L(0x178),[L(0x18c)],{'route':L(0x189),'cwd':h,'config':c}),await a134e[L(0x182)](L(0x178),['basic-logout-page'],{'route':'logout','private':!![],'cwd':h,'config':c}),await a134e[L(0x182)](L(0x178),[L(0x179)],{'route':L(0x16d),'cwd':h,'config':c}),await a134e['processAndRunGenerator'](L(0x178),[L(0x19a)],{'route':L(0x184),'cwd':h,'config':c}),await a134e[L(0x182)](L(0x178),['basic-forgot-password-page'],{'route':'forgot-password','cwd':h,'config':c});i==='meteor'&&await a134e['processAndRunGenerator']('kit:auth:meteor',[],{'force':g,'cwd':h,'config':c});i===L(0x186)&&await a134e[L(0x182)](L(0x16a),[],{'force':g,'cwd':h,'config':c});const A=c[L(0x174)][L(0x19b)]==='meteor',B=c[L(0x174)]['js'],C=f['pathFromApp']({'pathParts':v['split']('/')});await f[L(0x172)]({'filePath':C+'.'+B,'importName':L(0x16e),'modulePath':A?L(0x163):L(0x176),'isNamedExport':!![]});const D=f[L(0x199)]({'pathParts':w[L(0x166)]('/')});await f[L(0x172)]({'filePath':D+'.'+B,'importName':L(0x16e),'modulePath':A?L(0x163):'/imports/startup/client/authentication-provider','isNamedExport':!![]});const E=f['pathFromApp']({'pathParts':x[L(0x166)]('/')});await f[L(0x172)]({'filePath':E+'.'+B,'importName':L(0x16e),'modulePath':A?L(0x163):'/imports/startup/client/authentication-provider','isNamedExport':!![]});const F=f['pathFromApp']({'pathParts':y['split']('/')});await f[L(0x172)]({'filePath':F+'.'+B,'importName':L(0x16e),'modulePath':A?L(0x163):L(0x176),'isNamedExport':!![]});const G=f[L(0x199)]({'pathParts':z[L(0x166)]('/')});await f[L(0x172)]({'filePath':G+'.'+B,'importName':L(0x16e),'modulePath':A?L(0x163):L(0x176),'isNamedExport':!![]});}catch(H){Log[L(0x15e)](H),process['exit'](0x1);}},async function(){console['log']('Cleaning\x20up...');},a134f);export default a134f;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a135H=a135d;(function(a,b){const E=a135d,c=a();while(!![]){try{const d=parseInt(E(0xc4))/0x1*(parseInt(E(0xe0))/0x2)+-parseInt(E(0xa7))/0x3*(-parseInt(E(0xc1))/0x4)+parseInt(E(0xb9))/0x5*(parseInt(E(0xd5))/0x6)+-parseInt(E(0x9c))/0x7+-parseInt(E(0x9b))/0x8+parseInt(E(0x9e))/0x9+-parseInt(E(0xc0))/0xa*(parseInt(E(0xc8))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a135c,0x9624c));function a135c(){const K=['/imports/ui/components','8430816OVgkDZ','522417CochnT','/imports/startup/client/templates','2934927bZtYtV','jsx','getDirectories','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','pathFromApp','/imports/ui/','react','ssr','toString','3619041tXWcGm','basic-sticky-footer','</div>','length','template','injectIntoFile','Cleaning\x20up...','</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','<div\x20id=\x22','search','apply','map','@mui/material/Box','kit/mui/frame/drawers/','getFiles','create','app-tests','<Outlet/>','50HjmzoV','session','<Box\x20style={{\x20display:\x20\x27flex\x27,\x20flexDirection:\x20\x27column\x27,\x20minHeight:\x20\x27calc(100vh\x20-\x20157px)\x27\x20}}>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<Container\x20component=\x22main\x22>','engines','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f}','<Outlet\x20/>','basic-app-bar','6050HPfGrw','4MCrMnS','\x20/>\x0a','constructor','3Yuqotv','error','injectTemplateModule','frame','25674wqgQcC','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20frame\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','maka\x20g:k:m:f','Container','join','maka:react-tracker','baseDir','MATERIAL','injectImport','dir','checkbox','appName','-hook\x22>','609198TZUslU','log','(((.+)+)+)+$','imports','No\x20layouts\x20selected','/imports/startup/lib/templates','@mui/material/Container','kit/mui/frame/footers/','tsx','REACT','.js','405174KDemWw','layouts'];a135c=function(){return K;};return a135c();}const a135b=(function(){let a=!![];return function(b,c){const d=a?function(){const F=a135d;if(c){const e=c[F(0xb1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a135a=a135b(this,function(){const G=a135d;return a135a[G(0xa6)]()['search'](G(0xd7))[G(0xa6)]()[G(0xc3)](a135a)[G(0xb0)](G(0xd7));});a135a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a135e from'path';import a135f from'./mui.generator.js';import{kebabCase,pascalCase,capitalCase}from'change-case';function a135d(a,b){const c=a135c();return a135d=function(d,e){d=d-0x9a;let f=c[d];return f;},a135d(a,b);}import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a135H(0xb6)]({'name':a135H(0xc7),'aliases':['f'],'usage':a135H(0xbd),'shortDesc':'Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','validOpts':[a135H(0xe1),a135H(0xce),a135H(0xd1),'force'],'isPro':![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'theme':ThemeEngines[a135H(0xcf)],'client':ClientEngines[a135H(0xde)]},'examples':['maka\x20generate:kit:mui:frame',a135H(0xca)],'description':a135H(0xc9)},async function(a,b){const I=a135H,{projectConfig:c,fsi:d,pkg:f,scaffold:g}=this;try{const h=b['force']||![],i=I(0xbf),j='basic-drawer',k=I(0xa8),l=c[I(0xbc)][I(0xa5)]==='meteor';await f['checkMeteorPackage']([I(0xba),I(0xcd)],{'shouldInstall':!![]});const m=d['findAppDirectory'](),n=a135e[I(0xcc)](m,I(0xd8),'ui',I(0xe1)),o=d[I(0xa0)](n),p=o[I(0xb2)](z=>({'name':z,'value':z})),q=await Actions[I(0xd2)]({'message':I(0xa1),'name':I(0xe1),'choices':p});if(q[I(0xaa)]===0x0){Log[I(0xc5)](I(0xd9));return;}const r=b[I(0xce)]?I(0xa3)+b[I(0xce)]:I(0x9a),s=g[I(0xa2)]({'pathParts':[r,b[I(0xd1)],kebabCase(i),kebabCase(i)]}),t=g[I(0xa2)]({'pathParts':[r,b['dir'],kebabCase(j),kebabCase(j)]}),u=g['pathFromApp']({'pathParts':[r,b[I(0xd1)],kebabCase(k),kebabCase(k)]}),v={'name':capitalCase(c[I(0xd3)])};await g[I(0xab)]({'srcPath':'kit/mui/frame/app-bars/'+i+I(0xdf),'destPath':s+I(0xdf),'framework':I(0xa4),'context':v,'config':c,'force':h,'ignore':![]}),await g[I(0xab)]({'srcPath':I(0xb4)+j+I(0xdf),'destPath':t+I(0xdf),'framework':'react','context':v,'config':c,'force':h,'ignore':![]}),await g[I(0xab)]({'srcPath':I(0xdc)+k+I(0xdf),'destPath':u+I(0xdf),'framework':I(0xa4),'context':v,'config':c,'force':h,'ignore':![]});const w=''+r+b[I(0xd1)]+'/'+i+'/'+i;await g[I(0xc6)](i,c,w);const x=''+r+b[I(0xd1)]+'/'+j+'/'+j;await g[I(0xc6)](j,c,x);const y=''+r+b[I(0xd1)]+'/'+k+'/'+k;await g['injectTemplateModule'](k,c,y);for(const z of q){const A=d[I(0xb5)](a135e[I(0xcc)](n,z),{'extensions':[I(0x9f),I(0xdd)],'omit':[I(0xb7),'tests','test']});for(const B of A){const C=a135e[I(0xcc)](n,z,B);await g[I(0xd0)]({'filePath':C,'importName':'Box','modulePath':I(0xb3),'isNamedExport':![]}),await g[I(0xd0)]({'filePath':C,'importName':I(0xcb),'modulePath':I(0xdb),'isNamedExport':![]}),await g[I(0xd0)]({'filePath':C,'importName':pascalCase(i),'modulePath':l?I(0xda):'/imports/startup/client/templates','isNamedExport':!![]}),await g[I(0xac)]({'filePath':C,'content':'<'+pascalCase(i)+I(0xc2),'begin':['<div\x20id=\x22'+z+'\x22>',I(0xaf)+z+'-hook\x22>'],'end':['<Outlet/>',I(0xbe)]}),await g['injectImport']({'filePath':C,'importName':pascalCase(j),'modulePath':l?'/imports/startup/lib/templates':I(0x9d),'isNamedExport':!![]}),await g['injectIntoFile']({'filePath':C,'content':'<'+pascalCase(j)+I(0xc2),'begin':['<div\x20id=\x22'+z+'\x22>','<div\x20id=\x22'+z+I(0xd4)],'end':[I(0xb8),I(0xbe)]}),await g['injectIntoFile']({'filePath':C,'content':'<'+pascalCase(k)+I(0xc2),'begin':[I(0xb8),'<Outlet\x20/>'],'end':[I(0xa9)]}),await g[I(0xd0)]({'filePath':C,'importName':pascalCase(k),'modulePath':l?I(0xda):I(0x9d),'isNamedExport':!![]}),await g['injectAroundString']({'filePath':C,'aboveContent':I(0xbb),'belowContent':I(0xae),'targetString':[I(0xb8),'<Outlet\x20/>'],'targetIndentAdjustment':0x6});}}}catch(D){Log[I(0xc5)](D);}},async function(){const J=a135H;console[J(0xd6)](J(0xad));},a135f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a136c(){const
|
|
1
|
+
const a136j=a136d;(function(a,b){const g=a136d,c=a();while(!![]){try{const d=-parseInt(g(0x167))/0x1*(-parseInt(g(0x169))/0x2)+-parseInt(g(0x159))/0x3*(-parseInt(g(0x15a))/0x4)+parseInt(g(0x14e))/0x5+parseInt(g(0x155))/0x6*(-parseInt(g(0x174))/0x7)+parseInt(g(0x153))/0x8+-parseInt(g(0x157))/0x9+-parseInt(g(0x160))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a136c,0x80c85));const a136b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a136d;if(c){const e=c[h(0x16f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a136a=a136b(this,function(){const i=a136d;return a136a[i(0x173)]()[i(0x15e)](i(0x16c))[i(0x173)]()['constructor'](a136a)[i(0x15e)](i(0x16c));});a136a();import{Generator}from'../../../generator.js';import{Actions}from'../../../tools/actions/actions.class.js';function a136c(){const l=['auth','4318560BnCTAm','notice','42Jcahlo','6368xTEYmI','Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','frame','exit','search','includes','7981190tSeILG','checkbox','findProjectDirectory','No\x20MUI\x20kits\x20selected.\x20Exiting.','kit:mui:auth','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','Header,\x20Footer,\x20and\x20Drawer','213873jAgsYA','Auth\x20workflow\x20(login,\x20logout,\x20etc.)','6ZgFDVo','processAndRunGenerator','length','(((.+)+)+)+$','maka\x20g:kit:m','Material-UI\x20Kit','apply','mui','\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','Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!','toString','493178YmlZXP','error','create','5272660OPVyXC','fsi','kit:mui:frame','cfg','kitChoices','2950632EoRaCg','info','24QtbyuB'];a136c=function(){return l;};return a136c();}import{Log}from'../../../tools/log/log.class.js';import a136e from'../../../generators/maka.gen.js';import a136f from'../kit.js';function a136d(a,b){const c=a136c();return a136d=function(d,e){d=d-0x14d;let f=c[d];return f;},a136d(a,b);}const MuiGen=Generator[a136j(0x14d)]({'name':a136j(0x170),'aliases':['m'],'usage':a136j(0x165),'resourceNameRequired':![],'shortDesc':a136j(0x16e),'validOpts':[''],'isPro':!![],'examples':[a136j(0x16d)]},async function(){const k=a136j;try{Log[k(0x154)](k(0x172)),Log[k(0x158)](k(0x171));const a=await Actions[k(0x161)]({'message':k(0x15b),'name':k(0x152),'choices':[{'name':k(0x166),'value':k(0x15c)},{'name':k(0x168),'value':k(0x156)}]}),b=this[k(0x14f)][k(0x162)](),c=this[k(0x151)]['getMakaProjectConfig']();a[k(0x15f)](k(0x15c))&&await a136e['processAndRunGenerator'](k(0x150),[],{'force':!![],'cwd':b,'config':c});a['includes']('auth')&&await a136e[k(0x16a)](k(0x164),[],{'force':!![],'cwd':b,'config':c});if(a[k(0x16b)]===0x0){Log[k(0x154)](k(0x163));return;}}catch(d){Log[k(0x175)](d),process[k(0x15d)](0x1);}},async function(){},a136f);export default MuiGen;
|