@maka/maka-cli 5.1.21 → 5.1.23
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 a118n=a118d;(function(a,b){const k=a118d,c=a();while(!![]){try{const d
|
|
1
|
+
const a118n=a118d;function a118c(){const p=['constructor','toString','tsx','startup','where','appPathPrefix','maka\x20{generate,\x20g}:{collection,\x20col}\x20<name>','9YAiqMb','3gAVDpX','col','search','collection/collection.js','resourceName','1686424HCzGgF','11bkYZTI','pkg','template','test','scaffold','5702963RqkRbC','Scaffolding\x20for\x20a\x20Meteor\x20(Mongo)\x20Collection','1046193yGlhoS','collections','collection/tests.js','checkMeteorPackage','error','mongo','(((.+)+)+)+$','index.','pathFromApp','collection','dir','707790gBjqIe','engines','injectAtEndOfFile','imports','2006830AJHZnq','maka\x20g:collection\x20todos','6sQJfET','11785192ZCWVlY','apply','3499540YrAZRH'];a118c=function(){return p;};return a118c();}(function(a,b){const k=a118d,c=a();while(!![]){try{const d=-parseInt(k(0x101))/0x1+parseInt(k(0xf9))/0x2+parseInt(k(0xf4))/0x3*(-parseInt(k(0xeb))/0x4)+-parseInt(k(0xe2))/0x5*(parseInt(k(0xe8))/0x6)+parseInt(k(0xff))/0x7+-parseInt(k(0xe9))/0x8*(-parseInt(k(0xf3))/0x9)+-parseInt(k(0xe6))/0xa*(parseInt(k(0xfa))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0xd3da7));const a118b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a118d;if(c){const e=c[l(0xea)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){const m=a118d;return a118a[m(0xed)]()['search'](m(0x107))['toString']()[m(0xec)](a118a)[m(0xf6)]('(((.+)+)+)+$');});a118a();import{kebabCase,pascalCase}from'change-case';function a118d(a,b){const c=a118c();return a118d=function(d,e){d=d-0xe0;let f=c[d];return f;},a118d(a,b);}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator['create']({'name':a118n(0xe0),'aliases':[a118n(0xf5)],'usage':a118n(0xf2),'checkWhere':!![],'shortDesc':a118n(0x100),'validOpts':[a118n(0xe1),a118n(0xf0)],'mustBeInMakaProject':!![],'description':'\x0a\x20\x20\x20\x20Scaffolding\x20for\x20a\x20Meteor\x20(Mongo)\x20Collection.\x0ahttps://docs.meteor.com/api/collections.html\x0a\x0a\x20\x20\x20\x20Collections\x20are\x20generated\x20in\x20the\x20\x22lib\x22\x20or\x20\x22common\x22\x20directory\x20by\x20default.\x20\x20This\x20location\x20is\x20accessible\x0a\x20\x20\x20\x20to\x20BOTH\x20client\x20and\x20server\x20(--where=both).\x20\x20Other\x20options\x20are\x20\x22--where=server\x22\x20and\x20\x22--where=client\x22\x20which\x0a\x20\x20\x20\x20will\x20setup\x20the\x20collection\x20in\x20their\x20respective\x20locations.\x0a\x20\x20','examples':[a118n(0xe7)]},async function(a,b){const o=a118n;try{const c=this['projectConfig'],d=b['dir']?'/'+b[o(0xe1)]+'/':'/',f=kebabCase(b[o(0xf8)]),g={'name':pascalCase(b['resourceName']),'collectionName':pascalCase(b[o(0xf8)]),'fileName':f,'where':b[o(0xf0)],'test':c[o(0xe3)][o(0xfd)],'noRename':!![]};let h='js';c['engines']['js']===o(0xee)&&(h='ts');await this[o(0xfb)][o(0x104)]([o(0x106)],{'shouldInstall':!![]}),await this[o(0xfe)][o(0xfc)]({'srcPath':o(0xf7),'destPath':this['scaffold'][o(0x109)]({'pathParts':[o(0xe5),o(0xef),b[o(0xf1)],o(0x102),d,f+'.'+h]}),'context':g,'config':c});c[o(0xe3)][o(0xfd)]!=='none'&&await this[o(0xfe)][o(0xfc)]({'srcPath':o(0x103),'destPath':this[o(0xfe)][o(0x109)]({'pathParts':[o(0xe5),o(0xef),b[o(0xf1)],o(0x102),d,f+'.app-tests.'+h]}),'context':g,'config':c});const i=this[o(0xfe)][o(0x109)]({'pathParts':[o(0xe5),'startup',b[o(0xf1)],o(0x108)+c[o(0xe3)]['js']]});await this[o(0xfe)][o(0xe4)]({'filePath':i,'content':'import\x20\x27./collections'+d+f+'\x27;'});}catch(j){Log[o(0x105)](j);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a119n=a119d;(function(a,b){const k=a119d,c=a();while(!![]){try{const d=-parseInt(k(
|
|
1
|
+
function a119d(a,b){const c=a119c();return a119d=function(d,e){d=d-0x171;let f=c[d];return f;},a119d(a,b);}const a119n=a119d;(function(a,b){const k=a119d,c=a();while(!![]){try{const d=-parseInt(k(0x193))/0x1+parseInt(k(0x191))/0x2*(parseInt(k(0x173))/0x3)+-parseInt(k(0x196))/0x4+-parseInt(k(0x178))/0x5*(-parseInt(k(0x197))/0x6)+parseInt(k(0x19e))/0x7*(-parseInt(k(0x17e))/0x8)+-parseInt(k(0x18d))/0x9*(parseInt(k(0x17d))/0xa)+parseInt(k(0x184))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0xa180e));const a119b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a119d;if(c){const e=c[l(0x175)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){const m=a119d;return a119a[m(0x1aa)]()[m(0x186)](m(0x176))['toString']()[m(0x182)](a119a)['search']('(((.+)+)+)+$');});a119a();function a119c(){const p=['features','2204988birJJb','2863548mUOfAf','dir','injectTemplateModule','assign','client','root','ssr','7wAGhCa','.css','none','css','Scaffolding\x20for\x20a\x20React\x20Component.\x0ahttps://reactjs.org/docs/react-component.html','import\x20\x27./','baseDir','engines','api','component','test','/imports/ui/components','toString','comp','resourceName','test/test.js','107616fTSdQP','scaffold','apply','(((.+)+)+)+$','fileName','10oHvyvQ','pathFromApp','cfg','.tests.js','fsi','3454180tRucvR','9170936ghcLyL','string','findProjectDirectory','template/template.css','constructor','graphql','24945459npmQPI','relative','search','withTranslations','component/component.js','create','theme','injectAtBeginningOfFile','projectConfig','18JiExgA','setTemplate','react','pkg','6PWyPrU','checkNpmPackage','279933jGJxGo','template'];a119c=function(){return p;};return a119c();}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(0x1ab)];Generator[a119n(0x189)]({'name':a119n(0x1a7),'aliases':aliases,'usage':'maka\x20{generate,\x20g}:{comp}\x20[path/]<name>','shortDesc':a119n(0x1a2),'mustBeInMakaProject':!![],'validOpts':[{'name':a119n(0x1a4)}],'examples':['maka\x20g:comp\x20todos/todos-item']},async function(a,b){const o=a119n;try{const c=b[o(0x1a4)]?'/imports/ui/'+b[o(0x1a4)]:o(0x1a9),d=this[o(0x174)][o(0x179)]({'pathParts':[c,b[o(0x198)],kebabCase(b[o(0x171)]),kebabCase(b[o(0x171)])]}),f=this[o(0x18c)];typeof f[o(0x194)][o(0x1a8)]===o(0x17f)&&this[o(0x17a)][o(0x18e)]('test',f[o(0x194)][o(0x1a8)]);typeof f[o(0x194)][o(0x1a1)]===o(0x17f)&&this[o(0x17a)][o(0x18e)]('css',f['template'][o(0x1a1)]);typeof f['template']['js']==='string'&&this[o(0x17a)][o(0x18e)]('js',f['template']['js']);await this[o(0x190)][o(0x192)]('ramda',{'shouldInstall':!b[o(0x19c)]}),await this[o(0x190)][o(0x192)](o(0x18f),{'shouldInstall':!b[o(0x19c)]});const g={'name':pascalCase(b[o(0x171)]),'myPath':a119e[o(0x185)](this[o(0x17c)][o(0x180)](),d),'cssCaseName':kebabCase(b[o(0x171)]),'className':pascalCase(b[o(0x171)]),'camelCaseName':camelCase(b['resourceName']),'fileName':kebabCase(b['resourceName']),'graphql':f['engines'][o(0x183)],'features':f['features'],'client':f['engines'][o(0x19b)],'api':f['engines'][o(0x1a6)],'ssr':f[o(0x1a5)][o(0x19d)],'test':f['engines'][o(0x1a8)],'theme':f[o(0x1a5)][o(0x18a)],'isLayout':![],'isComponent':!![],'withTranslations':f[o(0x195)][o(0x187)]};await this[o(0x174)][o(0x194)]({'srcPath':o(0x188),'destPath':d+'.js','context':g,'framework':o(0x18f),'config':f});f[o(0x1a5)][o(0x1a8)]!==o(0x1a0)&&await this[o(0x174)]['template']({'srcPath':o(0x172),'destPath':d+o(0x17b),'context':g,'framework':o(0x18f),'config':f});f[o(0x194)][o(0x1a1)]&&(await this[o(0x174)][o(0x194)]({'srcPath':o(0x181),'destPath':d+o(0x19f),'context':Object[o(0x19a)]({},g,{'className':kebabCase(b['resourceName'])}),'config':f}),await this[o(0x174)][o(0x18b)]({'filePath':d+'.'+f[o(0x1a5)]['js'],'content':o(0x1a3)+g['cssCaseName']+'.'+f[o(0x1a5)][o(0x1a1)]+'\x27;'}));const h=b[o(0x198)]?'/'+b[o(0x198)]+'/':'/',i=''+c+h+g[o(0x177)]+'/'+g[o(0x177)];await this[o(0x174)][o(0x199)](g['className'],f,i);}catch(j){Log['error'](j);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a120l=a120d;(function(a,b){const j=a120d,c=a();while(!![]){try{const d=-parseInt(j(0x125))/0x1*(-parseInt(j(0x109))/0x2)+-parseInt(j(0x111))/0x3*(parseInt(j(0x11c))/0x4)+parseInt(j(0x11f))/0x5*(-parseInt(j(0x10c))/0x6)+parseInt(j(0x11d))/0x7+parseInt(j(0x110))/0x8*(-parseInt(j(0x10e))/0x9)+parseInt(j(0x116))/0xa+-parseInt(j(0x11a))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0x30f3f));const a120b=(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;};}()),a120a=a120b(this,function(){const k=a120d;return a120a[k(0x117)]()[k(0x106)](k(0x124))[k(0x117)]()[k(0x123)](a120a)[k(0x106)](k(0x124));});a120a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,kebabCase,pascalCase}from'change-case';Generator[a120l(0x115)]({'name':a120l(0x10d),'usage':'maka\x20{generate,\x20g}:{config}\x20<name>','shortDesc':a120l(0x127),'validOpts':[a120l(0x129)],'mustBeInMakaProject':!![],'examples':['maka\x20g:config\x20production']},async function(a,b){const m=a120l;try{const c=this[m(0x10f)],d={'app':c[m(0x11b)],'appFileCase':kebabCase(c[m(0x11b)]),'name':pascalCase(b[m(0x105)]),'fileName':kebabCase(b[m(0x105)]),'camelCase':camelCase(b['resourceName']),'userName':m(0x128),'isDocker':b[m(0x129)]};let e=b[m(0x105)];if(e===m(0x113))e=m(0x121);else e===m(0x126)&&(e='production');const f=this[m(0x108)][m(0x114)]({'pathParts':[m(0x10d),e,m(0x107)]});await this[m(0x119)][m(0x122)]({'srcPath':m(0x10a),'destPath':f,'context':d,'config':c});if(e!==m(0x118)){const g=this['fsi'][m(0x114)]({'pathParts':[m(0x10d),e,m(0x112)]});await this[m(0x119)][m(0x122)]({'srcPath':m(0x11e),'destPath':g,'context':{'app':c['appName'],'isDocker':b[m(0x129)]||![]},'config':c});}if(e===m(0x118)){const h=this[m(0x108)][m(0x114)]({'pathParts':[m(0x10d),e,m(0x120)]});await this[m(0x119)][m(0x122)]({'srcPath':'config/process.env','destPath':h,'context':d,'config':c});}}catch(i){Log[m(0x10b)](i);}});function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0x105;let f=c[d];return f;},a120d(a,b);}function a120c(){const n=['fsi','194EFoRIh','config/settings.json','error','143622nMeKZa','config','34173Wpicnl','projectConfig','432wIlwYA','12iymXzw','pm2.config.js','dev','pathFromProject','create','3397770IUAGLP','toString','local','scaffold','2898016KmdxBx','appName','254084YCNPqq','2420159lbtBAT','config/pm2.config.js','5pYBsOj','process.env','development','template','constructor','(((.+)+)+)+$','2696BPnDRs','prod','Generate\x20configuration\x20settings.','ubuntu','isDocker','resourceName','search','settings.json'];a120c=function(){return n;};return a120c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0x1c8;let f=c[d];return f;},a121d(a,b);}const a121n=a121d;function a121c(){const p=['sqlite','dbc/register-dbc.js','toString','124YMVMJq','dbc/conn.js','server','pgsql','index.','engines','startup','4878189bGEexC','checkNpmPackage','(((.+)+)+)+$','template','26178klvJkN','-dbc.','register-','13950jXMYiR','search','config.','17839548uTuVGX','maka\x20g:dbc\x20todos\x20--type=sqlite','8tVscQN','apply','create','scaffold','constructor','mssql','type','error','conn.','tsx','maka\x20{generate,\x20g}:{dbc}\x20<connection-name>','Scaffolding\x20for\x20creating\x20a\x20for\x20a\x20database\x20connection.','pkg','3532690RYHzpS','304CDBHYe','11wRfTqB','7861xJhtMf','projectConfig','injectAtEndOfFile','dbc/config.js','55oRXGXe','better-sqlite3','pathFromApp','resourceName','imports','dir','2216330OYyxTF','dbc'];a121c=function(){return p;};return a121c();}(function(a,b){const k=a121d,c=a();while(!![]){try{const d=-parseInt(k(0x1ee))/0x1*(-parseInt(k(0x1ec))/0x2)+-parseInt(k(0x1d6))/0x3*(parseInt(k(0x1cb))/0x4)+parseInt(k(0x1f2))/0x5*(-parseInt(k(0x1d9))/0x6)+parseInt(k(0x1eb))/0x7+-parseInt(k(0x1de))/0x8*(-parseInt(k(0x1d2))/0x9)+-parseInt(k(0x1f8))/0xa*(-parseInt(k(0x1ed))/0xb)+-parseInt(k(0x1dc))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0xa6226));const a121b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a121d;if(c){const e=c[l(0x1df)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){const m=a121d;return a121a[m(0x1ca)]()[m(0x1da)](m(0x1d4))[m(0x1ca)]()[m(0x1e2)](a121a)['search']('(((.+)+)+)+$');});a121a();import{camelCase,kebabCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator[a121n(0x1e0)]({'name':'dbc','usage':a121n(0x1e8),'shortDesc':a121n(0x1e9),'validOpts':[a121n(0x1f7)],'mustBeInMakaProject':!![],'requiredOpts':[{'name':a121n(0x1e4),'values':['pgsql','mssql',a121n(0x1c8)]}],'examples':['maka\x20g:dbc\x20geoserver\x20--type=pgsql','maka\x20g:dbc\x20azure\x20--type=mssql',a121n(0x1dd)]},async function(a,b){const o=a121n;try{const c=this[o(0x1ef)],d=kebabCase(b[o(0x1f5)]),f={'name':pascalCase(b[o(0x1f5)]),'fileName':kebabCase(b['resourceName']),'camelCase':camelCase(b[o(0x1f5)]),'type':b[o(0x1e4)],'engine':c['engines']['js'],'noRename':!![]},g=b[o(0x1f7)]?'/'+b[o(0x1f7)]+'/':'/';let h='js';c[o(0x1d0)]['js']===o(0x1e7)&&(h='ts');b['type']===o(0x1ce)&&await this[o(0x1ea)][o(0x1d3)]('pg',{'shouldInstall':!![]});b[o(0x1e4)]===o(0x1e3)&&await this['pkg']['checkNpmPackage']('mssql',{'shouldInstall':!![]});b['type']===o(0x1c8)&&await this[o(0x1ea)][o(0x1d3)](o(0x1f3),{'shouldInstall':!![]});await this['scaffold'][o(0x1d5)]({'srcPath':o(0x1f1),'destPath':this['scaffold'][o(0x1f4)]({'pathParts':['imports',o(0x1d1),o(0x1cd),o(0x1f9),g,d,o(0x1db)+h]}),'context':f,'config':c}),await this['scaffold']['template']({'srcPath':o(0x1cc),'destPath':this['scaffold'][o(0x1f4)]({'pathParts':[o(0x1f6),o(0x1d1),'server',o(0x1f9),g,d,o(0x1e6)+h]}),'context':f,'config':c}),await this[o(0x1e1)][o(0x1d5)]({'srcPath':o(0x1c9),'destPath':this[o(0x1e1)][o(0x1f4)]({'pathParts':[o(0x1f6),'startup','server',o(0x1d8)+d+o(0x1d7)+h]}),'context':f,'config':c});const i=this[o(0x1e1)][o(0x1f4)]({'pathParts':['imports',o(0x1d1),o(0x1cd),o(0x1cf)+c[o(0x1d0)]['js']]});await this[o(0x1e1)][o(0x1f0)]({'filePath':i,'content':'import\x20\x27./register-'+d+'-dbc\x27;'});}catch(j){Log[o(0x1e5)](j);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a122l=a122d;(function(a,b){const i=a122d,c=a();while(!![]){try{const d=-parseInt(i(0x1d9))/0x1*(-parseInt(i(0x1c0))/0x2)+parseInt(i(0x1ca))/0x3*(-parseInt(i(0x1d7))/0x4)+-parseInt(i(0x1db))/0x5*(parseInt(i(0x1be))/0x6)+parseInt(i(0x1d6))/0x7+parseInt(i(0x1c3))/0x8+-parseInt(i(0x1cd))/0x9+parseInt(i(0x1c2))/0xa*(parseInt(i(0x1d4))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0x310da));const a122b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a122d;if(c){const e=c[j(0x1cf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){const k=a122d;return a122a[k(0x1d0)]()['search'](k(0x1d1))[k(0x1d0)]()['constructor'](a122a)['search'](k(0x1d1));});a122a();import{Generator}from'../generator.js';function a122c(){const n=['1687XTftlV','appName','10evtUrk','force','cert','template','334146WRbcQI','scaffold','146egtxcg','dockerfile','639070yWadzF','792528ymhHUh','isFile','cfg','fsi','build','findProjectDirectory','error','9258EEfngL','docker/Dockerfile','Generate\x20an\x20updated\x20dockerfile','1678131MfNyxH','maka\x20g:dockerfile','apply','toString','(((.+)+)+)+$','join','app','88Ezugcw','create','474026aYFSWg','392jjCmNs','getGlobalConfig'];a122c=function(){return n;};return a122c();}import{Log}from'../tools/log/log.class.js';function a122d(a,b){const c=a122c();return a122d=function(d,e){d=d-0x1bc;let f=c[d];return f;},a122d(a,b);}import a122e from'path';Generator[a122l(0x1d5)]({'name':a122l(0x1c1),'usage':'maka\x20{generate,\x20g}:dockerfile','shortDesc':a122l(0x1cc),'resourceNameRequired':![],'mustBeInMakaProject':!![],'validOpts':[{'name':a122l(0x1dc),'boolFlag':!![]}],'examples':[a122l(0x1ce)]},async function(a,b){const m=a122l;try{const c=this[m(0x1c5)]['getMakaProjectConfig'](),d=await this[m(0x1c5)][m(0x1d8)](),f=this[m(0x1c6)][m(0x1c8)](),g={'app':c[m(0x1da)],'config':c,'appPath':a122e['join'](f,m(0x1d3)),'bundlePath':a122e[m(0x1d2)](f,m(0x1c7),'app.tar.gz'),'useCert':d[m(0x1bc)]?this['fsi'][m(0x1c4)](d[m(0x1bc)]):![]};await this[m(0x1bf)][m(0x1bd)]({'srcPath':m(0x1cb),'destPath':a122e['join'](f,'Dockerfile'),'framework':'service','context':g,'config':c,'force':b[m(0x1dc)]});}catch(h){Log[m(0x1c9)](h);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a123o=a123d;(function(a,b){const l=a123d,c=a();while(!![]){try{const d=-parseInt(l(0x7a))/0x1*(-parseInt(l(0xa8))/0x2)+-parseInt(l(0xa9))/0x3+-parseInt(l(0x76))/0x4+-parseInt(l(0x8d))/0x5*(parseInt(l(0x96))/0x6)+-parseInt(l(0x87))/0x7+parseInt(l(0x80))/0x8+parseInt(l(0x81))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0xd9cf6));const a123b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a123d;if(c){const e=c[m(0x7e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){const n=a123d;return a123a[n(0x75)]()[n(0x82)](n(0xa7))[n(0x75)]()['constructor'](a123a)[n(0x82)](n(0xa7));});function a123d(a,b){const c=a123c();return a123d=function(d,e){d=d-0x73;let f=c[d];return f;},a123d(a,b);}a123a();function a123c(){const q=['test','pages','injectTemplateModule','import\x20\x27./','1872234ydqGqB','projectConfig','create','@apollo/client','setTemplate','css','5AfpFZH','checkNpmPackage','react','pkg','notice','dir','template','\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','fileName','7321692QeOzaF','injectAtBeginningOfFile','@apollo/client\x20isomorphic-fetch','assign','engines','hook/hook.js','/imports/ui/','baseDir','.app-tests.js','Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','/imports/ui/components','scaffold','.css','force','fsi','graphql','cfg','(((.+)+)+)+$','5686hARjUo','2371761SyKrMj','layouts','resourceName','findAppDirectory','warn','className','none','toString','1390668JMmXxM','Creating\x20','apollo','.js','605qSiFva','theme','pathFromApp','\x20hook...','apply','cssCaseName','7032992WidyKJ','8271081PNsUKi','search'];a123c=function(){return q;};return a123c();}import a123e from'path';import{kebabCase,pascalCase,camelCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator[a123o(0x89)]({'name':'hook','aliases':['h'],'checkWhere':![],'usage':'maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','shortDesc':a123o(0x9f),'mustBeInMakaProject':!![],'validOpts':[{'name':a123o(0x9d),'values':['hooks','components',a123o(0x84),a123o(0xaa)]},{'name':a123o(0xa3),'boolFlag':!![]}],'examples':['maka\x20g:hook\x20cool-hook'],'description':a123o(0x94)},async function(a,b){const p=a123o;Log[p(0x91)](p(0x77)+b[p(0xab)]+p(0x7d));try{await this[p(0x90)][p(0x8e)](p(0x8f),{'shouldInstall':!![]});const c=this['fsi'][p(0xac)](),d=b[p(0x9d)]?p(0x9c)+b[p(0x9d)]:p(0xa0),f=this[p(0xa1)][p(0x7c)]({'pathParts':[d,b[p(0x92)],kebabCase(b[p(0xab)]),kebabCase(b['resourceName'])]}),g=this[p(0x88)];typeof g[p(0x93)]['css']==='string'&&this[p(0xa6)][p(0x8b)](p(0x8c),g[p(0x93)][p(0x8c)]);g[p(0x9a)]['graphql']===p(0x78)&&!this[p(0x90)]['checkNpmPackage'](p(0x8a))&&(Log[p(0xad)]('Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...'),await this[p(0x90)]['installNpmPackage'](p(0x98),{'cwd':c}));const h={'cssCaseName':kebabCase(b[p(0xab)]),'camelCaseName':camelCase(b['resourceName']),'className':pascalCase(b[p(0xab)]),'name':pascalCase(b[p(0xab)]),'graphql':g['engines'][p(0xa5)],'theme':g[p(0x9a)][p(0x7b)],'test':g[p(0x9a)][p(0x83)],'features':g['features'],'myPath':a123e['relative'](this[p(0xa4)]['findProjectDirectory'](),f),'fileName':kebabCase(b[p(0xab)]),'isComponent':![],'isLayout':![],'withTranslations':g['features']['withTranslations']};await this[p(0xa1)][p(0x93)]({'srcPath':p(0x9b),'destPath':f+p(0x79),'context':h,'config':g,'framework':p(0x8f),'force':b['force']});g[p(0x93)][p(0x8c)]&&(await this[p(0xa1)][p(0x93)]({'srcPath':'template/template.css','destPath':f+p(0xa2),'context':Object[p(0x99)]({},h,{'className':h[p(0x7f)]}),'config':g,'force':b[p(0xa3)]}),await this[p(0xa1)][p(0x97)]({'filePath':f+'.'+g[p(0x9a)]['js'],'content':p(0x86)+h[p(0x95)]+'.'+g[p(0x9a)]['css']+'\x27;'}));g[p(0x9a)][p(0x83)]!==p(0x74)&&await this[p(0xa1)]['template']({'srcPath':'test/test.js','destPath':f+p(0x9e),'framework':p(0x8f),'context':h,'config':g,'force':b['force']});const i=b[p(0x92)]?'/'+b['dir']+'/':'/',j=''+d+i+h[p(0x95)]+'/'+h[p(0x95)];await this[p(0xa1)][p(0x85)](h[p(0x73)],g,j);}catch(k){Log['error'](k);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a124d,c=a();while(!![]){try{var d
|
|
1
|
+
function a124c(){var i=['(((.+)+)+)+$','221635wxvdEB','15129150PKRLOa','constructor','393442zqBXmV','search','apply','6471010TcbikF','2038593QmMytU','1832FePPkh','1dgkPeW','4614324xKmFeJ','4gAnSkQ','4698eJvUjJ'];a124c=function(){return i;};return a124c();}(function(a,b){var f=a124d,c=a();while(!![]){try{var d=-parseInt(f(0xa8))/0x1*(parseInt(f(0xb0))/0x2)+-parseInt(f(0xa6))/0x3+parseInt(f(0xaa))/0x4*(parseInt(f(0xad))/0x5)+parseInt(f(0xa9))/0x6+-parseInt(f(0xa5))/0x7+-parseInt(f(0xa7))/0x8*(-parseInt(f(0xab))/0x9)+parseInt(f(0xae))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0x9d820));var a124b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a124d;if(c){var e=c[g(0xb2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){var h=a124d;return a124a['toString']()[h(0xb1)](h(0xac))['toString']()[h(0xaf)](a124a)[h(0xb1)]('(((.+)+)+)+$');});function a124d(a,b){var c=a124c();return a124d=function(d,e){d=d-0xa5;var f=c[d];return f;},a124d(a,b);}a124a();import'./kit.js';import'./mui/_index.js';import'./esri/_index.js';import'./auth/_index.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a125d,c=a();while(!![]){try{var d
|
|
1
|
+
function a125c(){var i=['2254748CpEscZ','search','6514218sJfwSB','426iMvvMH','815164SfkcmD','4813648sBmnui','toString','18NWvvZI','constructor','3337820ArzyJX','(((.+)+)+)+$','apply','58317hNOuWx','677512zEDVrU','10OnqkIo'];a125c=function(){return i;};return a125c();}(function(a,b){var f=a125d,c=a();while(!![]){try{var d=parseInt(f(0x136))/0x1+-parseInt(f(0x132))/0x2+-parseInt(f(0x139))/0x3*(-parseInt(f(0x13f))/0x4)+parseInt(f(0x13b))/0x5+parseInt(f(0x135))/0x6*(-parseInt(f(0x13e))/0x7)+parseInt(f(0x137))/0x8+-parseInt(f(0x134))/0x9*(parseInt(f(0x140))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0xa0a69));var a125b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a125d;if(c){var e=c[g(0x13d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){var h=a125d;return a125a[h(0x138)]()[h(0x133)](h(0x13c))[h(0x138)]()[h(0x13a)](a125a)[h(0x133)](h(0x13c));});a125a();import'./auth.generator.js';import'./provider.auth.gen.js';function a125d(a,b){var c=a125c();return a125d=function(d,e){d=d-0x132;var f=c[d];return f;},a125d(a,b);}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(0xb9))/0x1*(-parseInt(f(0xc5))/0x2)+-parseInt(f(0xba))/0x3*(-parseInt(f(0xc4))/0x4)+-parseInt(f(0xb3))/0x5+parseInt(f(0xb7))/0x6*(parseInt(f(0xbe))/0x7)+parseInt(f(0xbc))/0x8+-parseInt(f(0xbb))/0x9+parseInt(f(0xb2))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0x496fc));const a126b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a126d;if(c){const e=c[g(0xb5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){const h=a126d;return a126a[h(0xb6)]()[h(0xc1)](h(0xb4))[h(0xb6)]()[h(0xbf)](a126a)['search'](h(0xb4));});a126a();function a126c(){const k=['115885MZUTqA','constructor','NIE','search','auth','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x20\x20','12wWxfxl','2UbzDmY','1302460fzLwew','2979780kzyPda','(((.+)+)+)+$','apply','toString','186GiZrzH','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:<kit-name>','458468sLEAMY','553578jrmoLe','3839346BbbKor','4678280iZMnov','Starting\x20point\x20for\x20generating\x20an\x20Auth\x20Provider'];a126c=function(){return k;};return a126c();}import{Generator}from'../../../generator.js';import a126e from'../kit.js';const AuthGen=Generator['create']({'name':a126i(0xc2),'aliases':['a'],'usage':a126i(0xb8),'shortDesc':a126i(0xbd),'resourceNameRequired':![],'validOpts':[''],'isPro':!![],'examples':['maka\x20g:kit:a'],'description':a126i(0xc3)},async function(){const j=a126i;throw j(0xc0);},async function(){},a126e);function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0xb2;let f=c[d];return f;},a126d(a,b);}export default AuthGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a127d(a,b){const c=a127c();return a127d=function(d,e){d=d-
|
|
1
|
+
const a127v=a127d;function a127d(a,b){const c=a127c();return a127d=function(d,e){d=d-0x1b7;let f=c[d];return f;},a127d(a,b);}(function(a,b){const s=a127d,c=a();while(!![]){try{const d=parseInt(s(0x1ea))/0x1*(parseInt(s(0x1ca))/0x2)+parseInt(s(0x1fd))/0x3+-parseInt(s(0x1fe))/0x4+parseInt(s(0x1bb))/0x5*(parseInt(s(0x1d1))/0x6)+parseInt(s(0x1d4))/0x7+parseInt(s(0x1d6))/0x8*(parseInt(s(0x1d8))/0x9)+-parseInt(s(0x1c5))/0xa*(parseInt(s(0x1c4))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0xb557d));function a127c(){const x=['\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','const\x20resetPasswordWithToken','template','react','exit','259847aUWqyE','\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','authentication-service','toString','auth/roles','checkMeteorPackage','injectImport','/imports/startup/lib/authentication-service','\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','meteor/maka:react-tracker','kit:auth:provider','create','export\x20const\x20AuthProvider','const\x20authenticateUser','server','/imports/startup/client','error','const\x20getUserAuthorizations','/imports/startup/lib','5328QmaJte','436932rxyYzB','\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20If\x20logged\x20in,\x20return\x20documents\x20owned\x20by\x20this\x20user.\x20Otherwise\x20return\x20nothing.\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(this.userId)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20Meteor.roleAssignment.find({\x20\x27user._id\x27:\x20this.userId\x20});\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20[];\x0a\x20\x20\x20\x20\x20\x20','const\x20deauthenticateUser','pathFromApp','/imports/startup/server/publications/auth/roles.js','authentication-provider','4751035XWJiuO','const\x20sendForgotPasswordEmail','kit/auth/service/meteor-auth-service.js','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','/imports/startup/client/authentication-service','injectIntoFile','Meteor.publish','processAndRunGenerator','\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','1430MNOdJw','115310bbosYP','Meteor.startup','useEffect\x5c(','force','\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','2tQWeGg','const\x20registerNewUser','engines','index','meteor/meteor','startup','ssr','6SsiqzA','Meteor','\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','16569duDuoa','meteor','8DjzUXR','injectIntoCodeBlock','10231623QZEZxX','meteor/accounts-base','findProjectDirectory','const\x20authenticateToken','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','\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','apply','(((.+)+)+)+$','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','AuthService','useTracker','publish','search'];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(0x1de)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){const u=a127d;return a127a[u(0x1ed)]()[u(0x1e4)](u(0x1df))['toString']()['constructor'](a127a)[u(0x1e4)]('(((.+)+)+)+$');});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(0x1f5)]({'name':a127v(0x1d5),'aliases':['m'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','shortDesc':'Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','validOpts':['force'],'isPro':!![],'resourceNameRequired':![],'mustBeInMakaProject':!![],'requiredEngines':{'client':ClientEngines['REACT']},'description':a127v(0x1f2)},async function(a,b){const w=a127v,{fsi:c,pkg:d,scaffold:f,projectConfig:g}=this;try{const h=b[w(0x1c8)]||![];await d[w(0x1ef)](['accounts-password'],{'shouldInstall':!![]});const i=c[w(0x1da)](),j=c['findAppDirectory'](),k=g[w(0x1cc)][w(0x1d0)]==='meteor';await a127g[w(0x1c2)](w(0x1f4),[],{'force':h,'cwd':i,'config':g}),await a127g[w(0x1c2)](w(0x1e3),[w(0x1ee)],{'force':h,'globalPublish':!![],'cwd':i,'config':g});const l=j+a127e['normalize'](w(0x1b9)),m=k?w(0x1fc):w(0x1f9),n=f[w(0x1b8)]({'pathParts':[m,'','',w(0x1ec)]});await f[w(0x1e7)]({'srcPath':w(0x1bd),'destPath':n+'.js','framework':w(0x1e8),'context':{},'config':g,'force':h,'ignore':![]});const o=f[w(0x1b8)]({'pathParts':[m,'','',w(0x1ba)]}),p=g[w(0x1cc)]['js'];await f['injectImport']({'filePath':o+'.'+p,'importName':w(0x1e1),'modulePath':k?w(0x1f1):w(0x1bf),'isNamedExport':![]}),await f[w(0x1d7)]({'filePath':o+'.'+p,'content':w(0x1c3),'begin':w(0x1f7),'replace':!![]}),await f[w(0x1d7)]({'filePath':o+'.'+p,'content':w(0x1d3),'begin':w(0x1db),'replace':!![]}),await f[w(0x1d7)]({'filePath':o+'.'+p,'content':w(0x1dd),'begin':w(0x1fb),'replace':!![]}),await f['injectIntoCodeBlock']({'filePath':o+'.'+p,'content':w(0x1dc),'begin':w(0x1b7),'replace':!![]}),await f[w(0x1d7)]({'filePath':o+'.'+p,'content':w(0x1be),'begin':w(0x1bc),'replace':!![]}),await f[w(0x1d7)]({'filePath':o+'.'+p,'content':w(0x1e5),'begin':w(0x1cb),'replace':!![]}),await f[w(0x1d7)]({'filePath':o+'.'+p,'content':w(0x1e0),'begin':w(0x1e6),'replace':!![]});k&&(await f['injectImport']({'filePath':o+'.'+p,'importName':w(0x1e2),'modulePath':w(0x1f3),'isNamedExport':!![]}),await f[w(0x1c0)]({'filePath':o+'.'+p,'content':w(0x1c9),'begin':w(0x1f6),'end':w(0x1c7)}));await f['injectImport']({'filePath':l,'importName':w(0x1d2),'modulePath':w(0x1ce),'isNamedExport':!![],'injectAtStart':!![]}),await f['injectIntoCodeBlock']({'filePath':l,'content':w(0x1ff),'begin':w(0x1c1),'replace':!![]});const q=f[w(0x1b8)]({'pathParts':['imports',w(0x1cf),w(0x1f8),w(0x1cd)]});await f[w(0x1f0)]({'filePath':q+'.'+p,'importName':'Accounts','modulePath':w(0x1d9),'isNamedExport':!![]}),await f[w(0x1d7)]({'filePath':q+'.'+p,'content':w(0x1eb),'begin':w(0x1c6),'replace':!![]});}catch(r){Log[w(0x1fa)](r),process[w(0x1e9)](0x1);}},async function(){},a127f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a128x=a128d;(function(a,b){const u=a128d,c=a();while(!![]){try{const d=parseInt(u(0x120))/0x1+-parseInt(u(0x12b))/0x2*(parseInt(u(0x13f))/0x3)+parseInt(u(0x131))/0x4*(parseInt(u(0x129))/0x5)+parseInt(u(0x11d))/0x6*(-parseInt(u(0x121))/0x7)+parseInt(u(0x14f))/0x8*(-parseInt(u(0x143))/0x9)+parseInt(u(0x12c))/0xa*(-parseInt(u(0x149))/0xb)+parseInt(u(0x14d))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0x64ebf));function a128c(){const z=['engines','60xqMupE','exit','authentication-provider','Creating\x20an\x20AuthProvider\x20and\x20AuthContext','5163867dIusDM','pathFromApp','(((.+)+)+)+$','REACT','ssr','meteor','27577NIYZhH','/routes','appName','scaffold','18027480JAhhNy','<AppRoutes\x20/>','8TvooBU','42xRIxUD','apply','injectIntoCodeBlock','188053SOVSmU','64302ypLCLe','/imports/startup/lib/authentication-provider','react','function\x20useAuth','/imports/startup/client/index','/imports/startup/client/authentication-provider','AuthContext','injectAroundString','5045tgzJnE','toString','69320UhTOya','1180joezwZ','const\x20useAuth','kit/auth/provider/authentication-provider.js','force','AuthProvider','1388QhQbDn','injectImport','\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','</AuthProvider>','search','\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','/imports/startup/client','/imports/startup/server/index','split','bright','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','constructor','create'];a128c=function(){return z;};return a128c();}const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a128d;if(c){const e=c[v(0x11e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const w=a128d;return a128a[w(0x12a)]()['search'](w(0x145))[w(0x12a)]()[w(0x13c)](a128a)[w(0x135)]('(((.+)+)+)+$');});a128a();function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0x11d;let f=c[d];return f;},a128d(a,b);}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[a128x(0x13d)]({'name':'provider','aliases':['p'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','shortDesc':a128x(0x13b),'validOpts':[a128x(0x12f)],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'client':ClientEngines[a128x(0x146)]},'description':a128x(0x133)},async function(a,b){const y=a128x;try{const c=b['force']||![];Log[y(0x13a)](y(0x142));const {projectConfig:d}=this,f=d[y(0x13e)][y(0x147)]===y(0x148),g={'name':capitalCase(d[y(0x14b)])},h=f?'/imports/startup/lib':y(0x137),i=this['scaffold'][y(0x144)]({'pathParts':[h,'','',y(0x141)]});await this[y(0x14c)]['template']({'srcPath':y(0x12e),'destPath':i+'.js','framework':y(0x123),'context':g,'config':d,'force':c,'ignore':![]});const j=d[y(0x13e)]['js'],k=h+y(0x14a),l=k[y(0x139)]('/'),m=this[y(0x14c)]['pathFromApp']({'pathParts':l});await this[y(0x14c)][y(0x132)]({'filePath':m+'.'+j,'importName':y(0x127),'modulePath':f?y(0x122):y(0x126),'isNamedExport':!![]}),await this[y(0x14c)]['injectImport']({'filePath':m+'.'+j,'importName':'useContext','modulePath':y(0x123),'isNamedExport':!![],'injectAtStart':!![]}),await this[y(0x14c)][y(0x11f)]({'filePath':m+'.'+j,'content':y(0x136),'begin':[y(0x12d),y(0x124)],'replace':!![]}),await this['scaffold'][y(0x11f)]({'filePath':m+'.'+j,'content':'\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','begin':['const\x20PrivateRoute'],'replace':!![]});const n=y(0x125),o=n[y(0x139)]('/'),p=this[y(0x14c)][y(0x144)]({'pathParts':o});await this['scaffold'][y(0x132)]({'filePath':p+'.'+j,'importName':y(0x130),'modulePath':f?y(0x122):y(0x126),'isNamedExport':!![]}),await this[y(0x14c)]['injectAroundString']({'filePath':p+'.'+j,'aboveContent':'<AuthProvider>','belowContent':y(0x134),'targetString':y(0x14e),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q=y(0x138),r=q[y(0x139)]('/'),s=this['scaffold'][y(0x144)]({'pathParts':r});await this['scaffold']['injectImport']({'filePath':s+'.'+j,'importName':y(0x130),'modulePath':f?y(0x122):y(0x126),'isNamedExport':!![]}),await this[y(0x14c)][y(0x128)]({'filePath':s+'.'+j,'aboveContent':'<AuthProvider>','belowContent':y(0x134),'targetString':'<AppRoutes\x20history={history}/>','indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log['error'](t),process[y(0x140)](0x1);}},async function(){},a128e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(a,b){var f=a129d,c=a();while(!![]){try{var d=-parseInt(f(0x1d4))/0x1*(parseInt(f(0x1d5))/0x2)+parseInt(f(0x1ce))/0x3+parseInt(f(0x1d0))/0x4*(-parseInt(f(0x1d6))/0x5)+parseInt(f(0x1d9))/0x6*(parseInt(f(0x1dc))/0x7)+parseInt(f(0x1cf))/0x8+-parseInt(f(0x1d2))/0x9+-parseInt(f(0x1d3))/0xa*(-parseInt(f(0x1d1))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0x237ce));var a129b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a129d;if(c){var e=c[g(0x1d7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){var h=a129d;return a129a[h(0x1cd)]()[h(0x1d8)](h(0x1db))[h(0x1cd)]()[h(0x1da)](a129a)['search'](h(0x1db));});function a129d(a,b){var c=a129c();return a129d=function(d,e){d=d-0x1cd;var f=c[d];return f;},a129d(a,b);}a129a();function a129c(){var i=['52500rsPhgL','constructor','(((.+)+)+)+$','217DXcOxF','toString','709755XZlAuY','534312LwYIdd','4snPIYT','292798EZHgKA','2376396TiglnH','10poIGos','1bhZeif','196034alrVCU','469115XbMmOY','apply','search'];a129c=function(){return i;};return a129c();}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(0x99))/0x1*(parseInt(f(0xa7))/0x2)+-parseInt(f(0x93))/0x3+parseInt(f(0xa0))/0x4*(-parseInt(f(0x9e))/0x5)+-parseInt(f(0x9c))/0x6+parseInt(f(0x96))/0x7+parseInt(f(0x9d))/0x8*(-parseInt(f(0xa3))/0x9)+parseInt(f(0xa4))/0xa*(parseInt(f(0xa5))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0x3dd95));const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a130d;if(c){const e=c[g(0x9b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const h=a130d;return a130a['toString']()[h(0x98)](h(0x95))[h(0x9f)]()[h(0x94)](a130a)['search'](h(0x95));});function a130c(){const j=['constructor','(((.+)+)+)+$','270711RoqZcd','create','search','394171QlqUpz','esri','apply','436644dJeuzv','1620392ZGZuUo','642395wiqCGe','toString','12GrzshZ','Starting\x20point\x20for\x20generating\x20Esri\x20Maps','\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','18KxNHqm','11810pHKtlO','18238xwyVsd','maka\x20g:kit:e','2Wvortj','1457874iWXEAY'];a130c=function(){return j;};return a130c();}a130a();import{Generator}from'../../../generator.js';function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0x93;let f=c[d];return f;},a130d(a,b);}import{UsageError}from'../../../error.js';import a130e from'../kit.js';const EsriGen=Generator[a130i(0x97)]({'name':a130i(0x9a),'aliases':['e'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','shortDesc':a130i(0xa1),'resourceNameRequired':![],'validOpts':[''],'isPro':!![],'examples':[a130i(0xa6)],'description':a130i(0xa2)},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 a131c(){const x=['/imports/startup/client/templates','1398325UDazHG','meteor','pathFromApp','\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','replaceAll','2758644RwPegF','1182894gvMsgX','baseDir','error','632hOueyp','<div\x20id=\x22map\x22>','toString','apply','/imports/ui/components','appName','</div>','NONE','injectImport','Generating\x20a\x20map\x20component','REACT','\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','page','create','engines','react','67697WCzQBw','processAndRunGenerator','9DYaNoy','bright','.js','injectTemplateModule','split','(((.+)+)+)+$','12HfANMt','dir','1040180IDXrrx','1892370ATIWuc','exit','search','/imports/ui/','findProjectDirectory','kit/esri/map/','1244782XXypTg','map'];a131c=function(){return x;};return a131c();}function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0x8e;let f=c[d];return f;},a131d(a,b);}(function(a,b){const s=a131d,c=a();while(!![]){try{const d=parseInt(s(0xa2))/0x1+parseInt(s(0x9b))/0x2+-parseInt(s(0xab))/0x3+-parseInt(s(0x99))/0x4*(parseInt(s(0xa5))/0x5)+-parseInt(s(0xaa))/0x6+-parseInt(s(0x91))/0x7*(-parseInt(s(0xae))/0x8)+-parseInt(s(0x93))/0x9*(parseInt(s(0x9c))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0x9ddb1));const a131b=(function(){let a=!![];return function(b,c){const d=a?function(){const t=a131d;if(c){const e=c[t(0xb1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a131a=a131b(this,function(){const u=a131d;return a131a['toString']()[u(0x9e)]('(((.+)+)+)+$')[u(0xb0)]()['constructor'](a131a)[u(0x9e)](u(0x98));});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';Generator[a131v(0x8e)]({'name':a131v(0xa3),'aliases':['m'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','shortDesc':'Generate\x20an\x20Esri\x20map\x20component','validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'client':ClientEngines[a131v(0xb8)],'ssr':SsrEngines[a131v(0xb5)]},'description':a131v(0xa8)},async function(a,b){const w=a131v;try{const {projectConfig:c,fsi:d,pkg:f,scaffold:g}=this;Log[w(0x94)](w(0xb7));const h='basic-map';await f['checkNpmPackage'](['@esri/react-arcgis','esri-loader'],{'shouldInstall':!![]});const i=d[w(0xa0)](),j=c[w(0x8f)]['ssr']===w(0xa6),k=await a131f[w(0x92)](w(0xba),[w(0xa3)],{'cwd':i,'config':c}),l={'name':capitalCase(c[w(0xb3)])[w(0xa9)]('-','\x20'),'componentName':pascalCase(h)},m=b[w(0xac)]?w(0x9f)+b[w(0xac)]:w(0xb2),n=g['pathFromApp']({'pathParts':[m,b[w(0x9a)],kebabCase(h),kebabCase(h)]});await g['template']({'srcPath':w(0xa1)+h+w(0x95),'destPath':n+w(0x95),'framework':w(0x90),'context':l,'config':c,'force':![],'ignore':![]});const o=''+m+b[w(0x9a)]+'/'+h+'/'+h;await g[w(0x96)](h,c,o);const p=k[w(0x97)]('/'),q=g[w(0xa7)]({'pathParts':p});await g[w(0xb6)]({'filePath':q,'importName':pascalCase(h),'modulePath':j?'/imports/startup/lib/templates':w(0xa4),'isNamedExport':!![]}),await g['injectIntoFile']({'filePath':q,'content':'\x0a<'+pascalCase(h)+w(0xb9),'begin':['<div\x20id=\x22map\x22>',w(0xaf)],'end':[w(0xb4)],'replace':!![]});}catch(r){Log[w(0xad)](r),process[w(0x9d)](0x1);}},async function(){},a131e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a132h=a132d;(function(a,b){const f=a132d,c=a();while(!![]){try{const d
|
|
1
|
+
function a132c(){const i=['4829ZPDsNN','search','maka\x20{generate,\x20g}:{kit}\x20<name>','130620xOEWzZ','toString','189ywzwtT','6530FuZNsw','2sdmspi','146696JNnVcW','5165jzppAN','6nDLBIu','constructor','create','584299EkmpEk','(((.+)+)+)+$','maka\x20g:k','3614443cqCxMi','kit','154362aMxmwg','1172trNtnG'];a132c=function(){return i;};return a132c();}const a132h=a132d;(function(a,b){const f=a132d,c=a();while(!![]){try{const d=-parseInt(f(0xe0))/0x1+parseInt(f(0xda))/0x2*(-parseInt(f(0xd1))/0x3)+parseInt(f(0xd2))/0x4*(parseInt(f(0xdc))/0x5)+parseInt(f(0xdd))/0x6*(parseInt(f(0xcf))/0x7)+-parseInt(f(0xdb))/0x8*(-parseInt(f(0xd8))/0x9)+-parseInt(f(0xd9))/0xa*(parseInt(f(0xd3))/0xb)+parseInt(f(0xd6))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a132c,0x476d0));function a132d(a,b){const c=a132c();return a132d=function(d,e){d=d-0xcf;let f=c[d];return f;},a132d(a,b);}const a132b=(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;};}()),a132a=a132b(this,function(){const g=a132d;return a132a['toString']()[g(0xd4)](g(0xe1))[g(0xd7)]()[g(0xde)](a132a)[g(0xd4)]('(((.+)+)+)+$');});a132a();import{Generator}from'../../generator.js';const KitGen=Generator[a132h(0xdf)]({'name':a132h(0xd0),'aliases':['k'],'usage':a132h(0xd5),'shortDesc':'Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','minArgLength':0x1,'isPro':!![],'validOpts':[],'resourceNameRequired':![],'examples':['maka\x20g:kit',a132h(0xe2)]},async function(){});export default KitGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a133d(a,b){var c=a133c();return a133d=function(d,e){d=d-0x16d;var f=c[d];return f;},a133d(a,b);}(function(a,b){var f=a133d,c=a();while(!![]){try{var d=parseInt(f(0x179))/0x1*(-parseInt(f(0x171))/0x2)+parseInt(f(0x16e))/0x3+-parseInt(f(0x170))/0x4*(-parseInt(f(0x174))/0x5)+parseInt(f(0x177))/0x6*(parseInt(f(0x175))/0x7)+-parseInt(f(0x17c))/0x8*(parseInt(f(0x16f))/0x9)+-parseInt(f(0x173))/0xa*(-parseInt(f(0x17a))/0xb)+-parseInt(f(0x178))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a133c,0x53c0e));var a133b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a133d;if(c){var e=c[g(0x172)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a133a=a133b(this,function(){var h=a133d;return a133a[h(0x16d)]()['search']('(((.+)+)+)+$')[h(0x16d)]()[h(0x17b)](a133a)[h(0x176)]('(((.+)+)+)+$');});a133a();import'./mui.generator.js';function a133c(){var i=['110ckzDtE','15Mkdyia','211253IfrZAO','search','126XWTdew','6700188MRYpOp','48007zepcar','494582oabBJH','constructor','336488OKjSMQ','toString','1164036NKwebb','108lVEaJZ','685164FoJuIg','26mdTYbR','apply'];a133c=function(){return i;};return a133c();}import'./frame.mui.gen.js';import'./auth.mui.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a134K=a134d;(function(a,b){const I=a134d,c=a();while(!![]){try{const d=-parseInt(I(0x1ec))/0x1+-parseInt(I(0x1e9))/0x2+-parseInt(I(0x1e3))/0x3+parseInt(I(0x1ca))/0x4+parseInt(I(0x1c3))/0x5+parseInt(I(0x1d9))/0x6+parseInt(I(0x1cb))/0x7*(parseInt(I(0x1b9))/0x8);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a134c,0xe5cf6));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(0x1c9)]()[J(0x1ef)](J(0x1e7))['toString']()[J(0x1b8)](a134a)[J(0x1ef)](J(0x1e7));});a134a();function a134d(a,b){const c=a134c();return a134d=function(d,e){d=d-0x1b8;let f=c[d];return f;},a134d(a,b);}function a134c(){const N=['/imports/ui/pages/auth','select','maka\x20generate:kit:mui:auth','kit/mui/auth/forgot-password/','Cleaning\x20up...','.js','3177090Mrddhl','basic-logout-page','pathFromApp','react','processAndRunGenerator','maka\x20g:k:m:a','toString','42616RGUVti','14wMfJTN','ssr','engines','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{auth,\x20a}','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20setup\x20with\x20login,\x20logout,\x20registration,\x20and\x20password\x20reset\x20pages.\x0a\x20\x20','template','kit/mui/auth/register/','baseDir','error','injectImport','Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','custom','logout','basic-register-page','11121006ctkjWi','auth','reset-password/:token','MATERIAL','injectTemplateModule','force','AuthContext','layouts','basic-forgot-password-page','basic-login-page','1421511ppvJEo','What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','log','login','(((.+)+)+)+$','basic-password-reset-page','1111320AycOaq','split','forgot-password','1181830tShurt','Custom\x20(roll\x20your\x20own)','/imports/startup/lib/authentication-provider','search','/imports/startup/client/authentication-provider','findProjectDirectory','meteor','create','route','constructor','2612224yJILhF','exit','kit/mui/auth/logout/','dir'];a134c=function(){return N;};return a134c();}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';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a134K(0x1f3)]({'name':a134K(0x1da),'aliases':['a'],'usage':a134K(0x1ce),'shortDesc':a134K(0x1d5),'validOpts':[a134K(0x1e0),a134K(0x1de)],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'theme':ThemeEngines[a134K(0x1dc)],'client':ClientEngines['REACT']},'examples':[a134K(0x1bf),a134K(0x1c8)],'description':a134K(0x1cf)},async function(a,b){const L=a134K;try{const {projectConfig:c,fsi:d,scaffold:f}=this,g=b['force']||![],h=d[L(0x1f1)](),i=await Actions[L(0x1be)]({'name':'authType','message':L(0x1e4),'choices':[{'name':'Meteor\x20Accounts','value':L(0x1f2)},{'name':L(0x1ed),'value':'custom'}]}),j='basic-login-page',k=L(0x1c4),l=L(0x1d8),m=L(0x1e8),n='basic-forgot-password-page',o=b[L(0x1d2)]?'/imports/ui/'+b[L(0x1d2)]:L(0x1bd),p=f[L(0x1c5)]({'pathParts':[o,b[L(0x1bc)],kebabCase(j),kebabCase(j)]}),q=f[L(0x1c5)]({'pathParts':[o,b[L(0x1bc)],kebabCase(k),kebabCase(k)]}),r=f[L(0x1c5)]({'pathParts':[o,b[L(0x1bc)],kebabCase(l),kebabCase(l)]}),s=f['pathFromApp']({'pathParts':[o,b[L(0x1bc)],kebabCase(m),kebabCase(m)]}),t=f['pathFromApp']({'pathParts':[o,b[L(0x1bc)],kebabCase(n),kebabCase(n)]}),u={'name':capitalCase(c['appName'])};await f[L(0x1d0)]({'srcPath':'kit/mui/auth/login/'+j+L(0x1c2),'destPath':p+L(0x1c2),'framework':L(0x1c6),'context':u,'config':c,'force':g,'ignore':![]}),await f[L(0x1d0)]({'srcPath':L(0x1bb)+k+L(0x1c2),'destPath':q+L(0x1c2),'framework':L(0x1c6),'context':u,'config':c,'force':g,'ignore':![]}),await f[L(0x1d0)]({'srcPath':L(0x1d1)+l+L(0x1c2),'destPath':r+L(0x1c2),'framework':'react','context':u,'config':c,'force':g,'ignore':![]}),await f[L(0x1d0)]({'srcPath':'kit/mui/auth/password-reset/'+m+L(0x1c2),'destPath':s+L(0x1c2),'framework':'react','context':u,'config':c,'force':g,'ignore':![]}),await f['template']({'srcPath':L(0x1c0)+n+L(0x1c2),'destPath':t+L(0x1c2),'framework':L(0x1c6),'context':u,'config':c,'force':g,'ignore':![]});const v=''+o+b[L(0x1bc)]+'/'+j+'/'+j;await f[L(0x1dd)](j,c,v);const w=''+o+b[L(0x1bc)]+'/'+k+'/'+k;await f[L(0x1dd)](k,c,w);const x=''+o+b[L(0x1bc)]+'/'+l+'/'+l;await f[L(0x1dd)](l,c,x);const y=''+o+b[L(0x1bc)]+'/'+m+'/'+m;await f[L(0x1dd)](m,c,y);const z=''+o+b['dir']+'/'+n+'/'+n;await f[L(0x1dd)](n,c,z),await a134e[L(0x1c7)](L(0x1f4),[L(0x1e2)],{'route':L(0x1e6),'cwd':h,'config':c}),await a134e['processAndRunGenerator'](L(0x1f4),['basic-logout-page'],{'route':L(0x1d7),'private':!![],'cwd':h,'config':c}),await a134e[L(0x1c7)](L(0x1f4),[L(0x1d8)],{'route':'register','cwd':h,'config':c}),await a134e[L(0x1c7)]('route',[L(0x1e8)],{'route':L(0x1db),'cwd':h,'config':c}),await a134e[L(0x1c7)](L(0x1f4),[L(0x1e1)],{'route':L(0x1eb),'cwd':h,'config':c});i===L(0x1f2)&&await a134e[L(0x1c7)]('kit:auth:meteor',[],{'force':g,'cwd':h,'config':c});i===L(0x1d6)&&await a134e['processAndRunGenerator']('kit:auth:provider',[],{'force':g,'cwd':h,'config':c});const A=c['engines'][L(0x1cc)]===L(0x1f2),B=c[L(0x1cd)]['js'],C=f[L(0x1c5)]({'pathParts':v[L(0x1ea)]('/')});await f[L(0x1d4)]({'filePath':C+'.'+B,'importName':'AuthContext','modulePath':A?L(0x1ee):L(0x1f0),'isNamedExport':!![]});const D=f[L(0x1c5)]({'pathParts':w[L(0x1ea)]('/')});await f[L(0x1d4)]({'filePath':D+'.'+B,'importName':L(0x1df),'modulePath':A?L(0x1ee):L(0x1f0),'isNamedExport':!![]});const E=f['pathFromApp']({'pathParts':x[L(0x1ea)]('/')});await f[L(0x1d4)]({'filePath':E+'.'+B,'importName':L(0x1df),'modulePath':A?'/imports/startup/lib/authentication-provider':L(0x1f0),'isNamedExport':!![]});const F=f[L(0x1c5)]({'pathParts':y[L(0x1ea)]('/')});await f[L(0x1d4)]({'filePath':F+'.'+B,'importName':'AuthContext','modulePath':A?L(0x1ee):L(0x1f0),'isNamedExport':!![]});const G=f[L(0x1c5)]({'pathParts':z[L(0x1ea)]('/')});await f['injectImport']({'filePath':G+'.'+B,'importName':L(0x1df),'modulePath':A?L(0x1ee):L(0x1f0),'isNamedExport':!![]});}catch(H){Log[L(0x1d3)](H),process[L(0x1ba)](0x1);}},async function(){const M=a134K;console[M(0x1e5)](M(0x1c1));},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(0xa3))/0x1*(parseInt(E(0xb2))/0x2)+-parseInt(E(0xab))/0x3*(parseInt(E(0xb3))/0x4)+parseInt(E(0xb9))/0x5+-parseInt(E(0xc5))/0x6+parseInt(E(0xb6))/0x7*(-parseInt(E(0xb0))/0x8)+-parseInt(E(0x92))/0x9+parseInt(E(0xa7))/0xa*(parseInt(E(0x91))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a135c,0x199ce));function a135d(a,b){const c=a135c();return a135d=function(d,e){d=d-0x8b;let f=c[d];return f;},a135d(a,b);}const a135b=(function(){let a=!![];return function(b,c){const d=a?function(){const F=a135d;if(c){const e=c[F(0xa6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a135a=a135b(this,function(){const G=a135d;return a135a[G(0x97)]()[G(0x93)]('(((.+)+)+)+$')[G(0x97)]()[G(0xc8)](a135a)[G(0x93)]('(((.+)+)+)+$');});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';function a135c(){const K=['search','pathFromApp','map','join','toString','findAppDirectory','template','REACT','error','<Outlet/>','length','dir','Container','ssr','</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','/imports/ui/','34yvZxsi','kit/mui/frame/drawers/','getDirectories','apply','424470HKALxh','/imports/ui/components','.js','meteor','339897HQWlwC','<div\x20id=\x22','checkbox','-hook\x22>','force','2328euayBw','tests','5222MwlGBx','4RSwHkg','frame','layouts','343uLvudv','test','maka:react-tracker','881380xjbtQQ','log','injectIntoFile','<Outlet\x20/>','basic-sticky-footer','\x20/>\x0a','react','injectImport','kit/mui/frame/footers/','jsx','session','/imports/startup/client/templates','1068564atselg','app-tests','Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','constructor','imports','Box','baseDir','getFiles','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f}','maka\x20g:k:m:f','basic-drawer','injectTemplateModule','</div>','checkMeteorPackage','No\x20layouts\x20selected','<Box\x20style={{\x20display:\x20\x27flex\x27,\x20flexDirection:\x20\x27column\x27,\x20minHeight:\x20\x27calc(100vh\x20-\x20157px)\x27\x20}}>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<Container\x20component=\x22main\x22>','/imports/startup/lib/templates','55uujmIv','600507DHEoKT'];a135c=function(){return K;};return a135c();}import a135f from'./mui.generator.js';import{kebabCase,pascalCase,capitalCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':a135H(0xb4),'aliases':['f'],'usage':a135H(0xcd),'shortDesc':a135H(0xc7),'validOpts':[a135H(0xb5),a135H(0xcb),a135H(0x9e),a135H(0xaf)],'isPro':![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'theme':ThemeEngines['MATERIAL'],'client':ClientEngines[a135H(0x9a)]},'examples':['maka\x20generate:kit:mui:frame',a135H(0xce)],'description':'\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20frame\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20'},async function(a,b){const I=a135H,{projectConfig:c,fsi:d,pkg:f,scaffold:g}=this;try{const h=b[I(0xaf)]||![],i='basic-app-bar',j=I(0xcf),k=I(0xbd),l=c['engines'][I(0xa0)]===I(0xaa);await f[I(0x8d)]([I(0xc3),I(0xb8)],{'shouldInstall':!![]});const m=d[I(0x98)](),n=a135e[I(0x96)](m,I(0xc9),'ui',I(0xb5)),o=d[I(0xa5)](n),p=o[I(0x95)](z=>({'name':z,'value':z})),q=await Actions[I(0xad)]({'message':'Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','name':I(0xb5),'choices':p});if(q[I(0x9d)]===0x0){Log[I(0x9b)](I(0x8e));return;}const r=b['baseDir']?I(0xa2)+b[I(0xcb)]:I(0xa8),s=g[I(0x94)]({'pathParts':[r,b[I(0x9e)],kebabCase(i),kebabCase(i)]}),t=g[I(0x94)]({'pathParts':[r,b[I(0x9e)],kebabCase(j),kebabCase(j)]}),u=g[I(0x94)]({'pathParts':[r,b[I(0x9e)],kebabCase(k),kebabCase(k)]}),v={'name':capitalCase(c['appName'])};await g['template']({'srcPath':'kit/mui/frame/app-bars/'+i+'.js','destPath':s+'.js','framework':I(0xbf),'context':v,'config':c,'force':h,'ignore':![]}),await g[I(0x99)]({'srcPath':I(0xa4)+j+I(0xa9),'destPath':t+'.js','framework':I(0xbf),'context':v,'config':c,'force':h,'ignore':![]}),await g['template']({'srcPath':I(0xc1)+k+I(0xa9),'destPath':u+I(0xa9),'framework':I(0xbf),'context':v,'config':c,'force':h,'ignore':![]});const w=''+r+b[I(0x9e)]+'/'+i+'/'+i;await g[I(0x8b)](i,c,w);const x=''+r+b[I(0x9e)]+'/'+j+'/'+j;await g[I(0x8b)](j,c,x);const y=''+r+b['dir']+'/'+k+'/'+k;await g[I(0x8b)](k,c,y);for(const z of q){const A=d[I(0xcc)](a135e['join'](n,z),{'extensions':[I(0xc2),'tsx'],'omit':[I(0xc6),I(0xb1),I(0xb7)]});for(const B of A){const C=a135e[I(0x96)](n,z,B);await g[I(0xc0)]({'filePath':C,'importName':I(0xca),'modulePath':'@mui/material/Box','isNamedExport':![]}),await g[I(0xc0)]({'filePath':C,'importName':I(0x9f),'modulePath':'@mui/material/Container','isNamedExport':![]}),await g[I(0xc0)]({'filePath':C,'importName':pascalCase(i),'modulePath':l?I(0x90):I(0xc4),'isNamedExport':!![]}),await g[I(0xbb)]({'filePath':C,'content':'<'+pascalCase(i)+I(0xbe),'begin':['<div\x20id=\x22'+z+'\x22>',I(0xac)+z+I(0xae)],'end':['<Outlet/>','<Outlet\x20/>']}),await g['injectImport']({'filePath':C,'importName':pascalCase(j),'modulePath':l?'/imports/startup/lib/templates':I(0xc4),'isNamedExport':!![]}),await g['injectIntoFile']({'filePath':C,'content':'<'+pascalCase(j)+I(0xbe),'begin':[I(0xac)+z+'\x22>',I(0xac)+z+I(0xae)],'end':[I(0x9c),I(0xbc)]}),await g[I(0xbb)]({'filePath':C,'content':'<'+pascalCase(k)+I(0xbe),'begin':[I(0x9c),I(0xbc)],'end':[I(0x8c)]}),await g[I(0xc0)]({'filePath':C,'importName':pascalCase(k),'modulePath':l?I(0x90):I(0xc4),'isNamedExport':!![]}),await g['injectAroundString']({'filePath':C,'aboveContent':I(0x8f),'belowContent':I(0xa1),'targetString':[I(0x9c),I(0xbc)],'targetIndentAdjustment':0x6});}}}catch(D){Log[I(0x9b)](D);}},async function(){const J=a135H;console[J(0xba)]('Cleaning\x20up...');},a135f);
|