@maka/maka-cli 4.7.6 → 4.7.7
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/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/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/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/proxy.js +1 -1
- package/bundle/obf/src/commands/reconfig.js +1 -1
- package/bundle/obf/src/commands/run/_index.js +1 -1
- package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/run/run.command.js +1 -1
- package/bundle/obf/src/commands/set/_index.js +1 -1
- package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/set/set.command.js +1 -1
- package/bundle/obf/src/commands/ssh.js +1 -1
- package/bundle/obf/src/commands/ssl.js +1 -1
- package/bundle/obf/src/commands/test.js +1 -1
- package/bundle/obf/src/commands/version.js +1 -1
- package/bundle/obf/src/error.js +1 -1
- package/bundle/obf/src/exec.js +1 -1
- package/bundle/obf/src/generator.js +1 -1
- package/bundle/obf/src/generators/_index.js +1 -1
- package/bundle/obf/src/generators/api.js +1 -1
- package/bundle/obf/src/generators/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/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/frame.mui.gen.js +1 -1
- package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
- package/bundle/obf/src/generators/layout.js +1 -1
- package/bundle/obf/src/generators/maka.gen.js +1 -1
- package/bundle/obf/src/generators/methods.js +1 -1
- package/bundle/obf/src/generators/package.js +1 -1
- package/bundle/obf/src/generators/page.js +1 -1
- package/bundle/obf/src/generators/publish.js +1 -1
- package/bundle/obf/src/generators/route.js +1 -1
- package/bundle/obf/src/generators/service.js +1 -1
- package/bundle/obf/src/generators/services/_index.js +1 -1
- package/bundle/obf/src/generators/services/openssl.js +1 -1
- package/bundle/obf/src/generators/services/translation.js +1 -1
- package/bundle/obf/src/maka.js +1 -1
- package/bundle/obf/src/tool.js +1 -1
- package/bundle/obf/src/tools/actions/actions.class.js +1 -1
- package/bundle/obf/src/tools/aws/aws.class.js +1 -1
- package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
- package/bundle/obf/src/tools/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/options/options.class.js +1 -1
- package/bundle/obf/src/tools/progress/progress.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
|
|
1
|
+
const a99x=a99d;function a99c(){const A=['checkMeteorPackage','template','Fixtures','graphql','23568mdzyYi','withGql','engines','No\x20API\x20boundaries\x20selected','import\x20\x27./register-','getMakaProjectConfig','rest-api.','maka\x20{generate,\x20g}:{api}\x20<resource-name>','resolvers.','.app-tests.','index.','maka\x20g:api\x20Todos','ddp-rate-limiter','fixtures.','api/typeDefs.js','TypeDefs\x20}\x20from\x20\x27','api/publications.js','maka:rest','7748030EYYKAq','apollo','mongo','typeList.push(','api/resolvers.js','rpc-methods.','includes','211200FfKaRo','injectAtEndOfFile','pathFromApp','apiAnswers','api','-api.','api/api.js','/imports/api','typeDefs.','imports','fsi','apply','1572672Scyfdq','if\x20\x5c(typeList','api/methods.js','Publications','70135350qFtYFq','Resolvers);\x0a\x0a','withMethods','API\x20boundaries\x20to\x20create','Scaffolding\x20for\x20an\x20api\x20concept\x20(i.e.\x20Todos).','create','withFixtures','exit','push','withPubs','withValue','5613636BPAIkq','tsx','api/register-api.js','withRest','2841412NWFtye','4gEWwRH','none','test','api/fixtures.js','startup','rest','resolverList.push(','collection','dir','15UEsbEk','resourceName','rewriteDestinationPathForEngine','search','injectIntoFile','const','\x27;\x0a','(((.+)+)+)+$','REST\x20API','3672VLWeli','/graphql/resolvers','RPC\x20(Methods)','server'];a99c=function(){return A;};return a99c();}(function(a,b){const u=a99d,c=a();while(!![]){try{const d=-parseInt(u(0xa3))/0x1*(parseInt(u(0x7a))/0x2)+-parseInt(u(0x95))/0x3+parseInt(u(0x9a))/0x4*(-parseInt(u(0xc6))/0x5)+-parseInt(u(0x86))/0x6+parseInt(u(0x99))/0x7+parseInt(u(0xb4))/0x8*(-parseInt(u(0xac))/0x9)+parseInt(u(0x8a))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a99c,0xe8119));const a99b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a99d;if(c){const e=c[v(0x85)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a99a=a99b(this,function(){const w=a99d;return a99a['toString']()[w(0xa6)](w(0xaa))['toString']()['constructor'](a99a)[w(0xa6)](w(0xaa));});a99a();function a99d(a,b){const c=a99c();return a99d=function(d,e){d=d-0x76;let f=c[d];return f;},a99d(a,b);}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';import a99e from'../generators/maka.gen.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a99x(0x8f)]({'name':a99x(0x7e),'aliases':['a'],'usage':a99x(0xbb),'shortDesc':a99x(0x8e),'validOpts':[a99x(0xa2)],'examples':[a99x(0xbf)],'description':'\x0a\x20\x20Scaffolding\x20for\x20an\x20api\x20concept\x20(i.e.\x20Todos).\x0a\x0a\x20\x20The\x20api\x20generator\x20will\x20create\x20a\x20collection,\x20publications,\x20methods,\x20fixtures,\x20and\x20tests\x0a\x20\x20for\x20the\x20given\x20resource\x20name.\x0a\x0a\x20\x20The\x20api\x20generator\x20will\x20ask\x20which\x20boundaries\x20to\x20create.\x20The\x20choices\x20are:\x0a\x20\x20\x20\x20-\x20RPC\x20(Methods)\x0a\x20\x20\x20\x20-\x20Fixtures\x0a\x20\x20\x20\x20-\x20Publications\x0a\x20\x20\x20\x20-\x20REST\x20API\x0a\x20\x20\x20\x20-\x20GraphQL\x0a\x0a\x20\x20'},async function(a,b){const y=a99x;try{const c=this[y(0x84)][y(0xb9)](),d=[{'name':y(0xae),'value':y(0x8c)},{'name':y(0xb2),'value':y(0x90)},{'name':y(0x89),'value':y(0x93)}];c[y(0xb6)]['api']===y(0x9f)&&d[y(0x92)]({'name':y(0xab),'value':y(0x98)});c['engines'][y(0xb3)]===y(0xc7)&&d[y(0x92)]({'name':'GraphQL','value':y(0xb5)});const f={'type':'checkbox','name':y(0x7d),'message':y(0x8d),'pageSize':0x64,'choices':d},{apiAnswers:g}=await Actions['options'](f);g['length']===0x0&&(Log['error'](y(0xb7)),process[y(0x91)](0x1)),await this[y(0x84)][y(0x94)](c,async()=>{const z=y,h=b[z(0xa4)],i=paramCase(h),j=camelCase(h),k=b['dir']?'/'+b[z(0xa2)]+'/':'/',l={'name':pascalCase(h),'fileName':i,'camelCase':pascalCase(h),'optsDir':k,'api':c[z(0xb6)]['api'],'graphql':c['engines']['graphql'],'test':c['engines']['test'],'noRename':!![],'withPubs':g[z(0x79)](z(0x93)),'withFixtures':g[z(0x79)](z(0x90)),'withMethods':g[z(0x79)](z(0x8c)),'withRest':g[z(0x79)](z(0x98))};let m='js';c[z(0xb6)]['js']===z(0x96)&&(m='ts');await this['fsi'][z(0xb0)]([z(0xc5),'maka:check',z(0xc0),'mdg:validated-method',z(0xc8)],{'shouldInstall':!![]}),await a99e['processAndRunGenerator'](z(0xa1),[i],{'config':c,'where':z(0xaf)});c[z(0xb6)][z(0x7e)]===z(0x9f)&&(l[z(0x98)]&&await this[z(0x84)][z(0xb1)]({'srcPath':z(0x80),'destPath':this[z(0x84)][z(0x7c)]({'pathParts':[z(0x83),z(0x7e),b['dir'],i,z(0xba)+m]}),'context':l,'config':c}));l[z(0x8c)]&&await this[z(0x84)][z(0xb1)]({'srcPath':z(0x88),'destPath':this[z(0x84)][z(0x7c)]({'pathParts':[z(0x83),'api',b[z(0xa2)],i,z(0x78)+m]}),'context':l,'config':c});l[z(0x90)]&&await this[z(0x84)][z(0xb1)]({'srcPath':z(0x9d),'destPath':this[z(0x84)][z(0x7c)]({'pathParts':[z(0x83),'api',b[z(0xa2)],i,z(0xc1)+m]}),'context':l,'config':c});c['engines'][z(0x9c)]!==z(0x9b)&&this['fsi']['template']({'srcPath':'api/tests.js','destPath':this['fsi'][z(0x7c)]({'pathParts':[z(0x83),z(0x7e),b[z(0xa2)],i,i+z(0xbd)+m]}),'context':l,'config':c});l[z(0x93)]&&await this['fsi'][z(0xb1)]({'srcPath':z(0xc4),'destPath':this[z(0x84)][z(0x7c)]({'pathParts':[z(0x83),z(0x7e),b[z(0xa2)],i,'publications.'+m]}),'context':l,'config':c});if(c[z(0xb6)]['graphql']===z(0xc7)){if(g['includes']('withGql')){const o=this[z(0x84)][z(0x7c)]({'pathParts':[z(0x83),z(0x9e),'server',z(0xbe)+c[z(0xb6)]['js']]}),p=this[z(0x84)][z(0xa5)]({'pathParts':[o],'config':c}),q=this['fsi']['pathFromApp']({'pathParts':['imports',z(0x7e),b[z(0xa2)],i,z(0xb3),z(0x82)+m]}),r=z(0x81)+k+i+'/graphql/typeDefs';this['fsi'][z(0xb1)]({'srcPath':z(0xc2),'destPath':q,'context':l,'config':c}),await this[z(0x84)]['injectAtBeginningOfFile']({'filePath':p,'content':'import\x20{\x20typeDefs\x20as\x20'+j+z(0xc3)+r+z(0xa9)}),await this[z(0x84)]['injectIntoFile']({'filePath':p,'content':z(0x76)+j+'TypeDefs);\x0a','begin':z(0xa8),'end':z(0x87)});const s=this['fsi'][z(0x7c)]({'pathParts':['imports',z(0x7e),b['dir'],i,'graphql',z(0xbc)+m]}),t=z(0x81)+k+i+z(0xad);await this[z(0x84)][z(0xb1)]({'srcPath':z(0x77),'destPath':s,'context':l,'config':c}),await this[z(0x84)]['injectAtBeginningOfFile']({'filePath':p,'content':'\x0aimport\x20{\x20resolvers\x20as\x20'+j+'Resolvers\x20}\x20from\x20\x27'+t+'\x27;'}),await this['fsi'][z(0xa7)]({'filePath':p,'content':z(0xa0)+j+z(0x8b),'begin':'const','end':z(0x87)});}}await this[z(0x84)]['template']({'srcPath':z(0x97),'destPath':this['fsi'][z(0x7c)]({'pathParts':[z(0x83),z(0x9e),'server','register-'+i+z(0x7f)+m]}),'context':l,'config':c,'force':!![]});const n=this[z(0x84)][z(0x7c)]({'pathParts':[z(0x83),z(0x9e),z(0xaf),z(0xbe)+c[z(0xb6)]['js']]});await this[z(0x84)][z(0x7b)]({'filePath':n,'content':z(0xb8)+i+'-api\x27;'});});}catch(h){console['error'](h),process[y(0x91)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a100m=a100d;(function(a,b){const j=a100d,c=a();while(!![]){try{const d=parseInt(j(0x1e4))/0x1+parseInt(j(0x1d8))/0x2+parseInt(j(0x1e7))/0x3*(parseInt(j(0x1c9))/0x4)+-parseInt(j(0x1e6))/0x5*(-parseInt(j(0x1d4))/0x6)+-parseInt(j(0x1cc))/0x7+parseInt(j(0x1d2))/0x8*(-parseInt(j(0x1df))/0x9)+-parseInt(j(0x1da))/0xa*(parseInt(j(0x1de))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a100c,0xb45f1));const a100b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a100d;if(c){const e=c[k(0x1ea)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a100a=a100b(this,function(){const l=a100d;return a100a[l(0x1dc)]()['search']('(((.+)+)+)+$')['toString']()['constructor'](a100a)[l(0x1cf)](l(0x1c8));});a100a();import{paramCase,pascalCase}from'change-case';function a100c(){const p=['search','\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','test','72BShHGr','resourceName','18QQVZPT','create','import\x20\x27./collections','dir','1964652INkyBZ','collections','10jLtoAY','fsi','toString','withValue','22738903UgQKKK','236853zNuDZS','collection/collection.js','collection/tests.js','getMakaProjectConfig','imports','555512QFEHSX','checkMeteorPackage','1516025JqWblI','1362YsPKeQ','maka:check','startup','apply','injectAtEndOfFile','engines','maka\x20{generate,\x20g}:{collection,\x20col}\x20<name>','template','none','(((.+)+)+)+$','5596noxXbM','where','pathFromApp','278404BbfbSy','Scaffolding\x20for\x20a\x20Meteor\x20(Mongo)\x20Collection','appPathPrefix'];a100c=function(){return p;};return a100c();}function a100d(a,b){const c=a100c();return a100d=function(d,e){d=d-0x1c8;let f=c[d];return f;},a100d(a,b);}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator[a100m(0x1d5)]({'name':'collection','aliases':['col'],'usage':a100m(0x1ed),'checkWhere':!![],'shortDesc':a100m(0x1cd),'validOpts':[a100m(0x1d7),a100m(0x1ca)],'description':a100m(0x1d0),'examples':['maka\x20g:collection\x20todos']},async function(a,b){const n=a100m;try{const c=this['fsi'][n(0x1e2)]();await this[n(0x1db)][n(0x1dd)](c,async()=>{const o=n,d=paramCase(b[o(0x1d3)]),f={'name':pascalCase(b['resourceName']),'collectionName':pascalCase(b[o(0x1d3)]),'fileName':d,'where':b['where'],'test':c['engines'][o(0x1d1)],'noRename':!![]};let g='js';c[o(0x1ec)]['js']==='tsx'&&(g='ts');await this[o(0x1db)][o(0x1e5)](['mongo',o(0x1e8)],{'shouldInstall':!![]}),await this['fsi'][o(0x1ee)]({'srcPath':o(0x1e0),'destPath':this[o(0x1db)]['pathFromApp']({'pathParts':[o(0x1e3),o(0x1e9),b[o(0x1ce)],o(0x1d9),b[o(0x1d7)],d+'.'+g]}),'context':f,'config':c});c[o(0x1ec)][o(0x1d1)]!==o(0x1ef)&&await this[o(0x1db)]['template']({'srcPath':o(0x1e1),'destPath':this['fsi'][o(0x1cb)]({'pathParts':[o(0x1e3),'startup',b[o(0x1ce)],o(0x1d9),b[o(0x1d7)],d+'.app-tests.'+g]}),'context':f,'config':c});const h=b[o(0x1d7)]?'/'+b[o(0x1d7)]+'/':'/',i=this[o(0x1db)][o(0x1cb)]({'pathParts':['imports',o(0x1e9),b['appPathPrefix'],'index.'+c['engines']['js']]});await this[o(0x1db)][o(0x1eb)]({'filePath':i,'content':o(0x1d6)+h+d+'\x27;'});});}catch(d){Log['error'](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a101n=a101d;(function(a,b){const k=a101d,c=a();while(!![]){try{const d=-parseInt(k(
|
|
1
|
+
const a101n=a101d;(function(a,b){const k=a101d,c=a();while(!![]){try{const d=-parseInt(k(0x9c))/0x1+parseInt(k(0xb9))/0x2+parseInt(k(0x82))/0x3+parseInt(k(0x8f))/0x4+parseInt(k(0xb5))/0x5*(parseInt(k(0xb0))/0x6)+parseInt(k(0x93))/0x7+-parseInt(k(0x7f))/0x8*(parseInt(k(0x7e))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a101c,0x4ae47));const a101b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a101d;if(c){const e=c[l(0x8e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a101a=a101b(this,function(){const m=a101d;return a101a[m(0x99)]()[m(0xa7)](m(0x9f))[m(0x99)]()[m(0xb2)](a101a)[m(0xa7)](m(0x9f));});a101a();import a101e from'path';import{camelCase,paramCase,pascalCase}from'change-case';function a101c(){const q=['6WpyHfw','api','constructor','maka\x20{generate,\x20g}:{comp}\x20[path/]<name>','injectTemplateModule','219315jYuSvC','true','className','.tests.js','116906LbYBVS','features','fileName','153099OJssdS','128FfJWoO','string','error','571470LEfLAy','components','findAppDirectory','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','installNpmPackage','/imports/ui/','react','graphql','getMakaProjectConfig','template','relative','dir','apply','183892hMnZRj','baseDir','setTemplate','pathFromProject','1902838AjFHqV','test','maka\x20g:comp\x20todos/todos-item','ramda','component','client','toString','.css','engines','31678wppYdw','test/test.js','create','(((.+)+)+)+$','.js','theme','assign','none','root','template/template.css','ssr','search','resourceName','Scaffolding\x20for\x20a\x20React\x20Component.\x0ahttps://reactjs.org/docs/react-component.html','css','pathFromApp','fsi','component/component.js','checkNpmPackage','cssCaseName'];a101c=function(){return q;};return a101c();}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a101d(a,b){const c=a101c();return a101d=function(d,e){d=d-0x7e;let f=c[d];return f;},a101d(a,b);}const aliases=['comp'];Generator[a101n(0x9e)]({'name':a101n(0x97),'aliases':aliases,'usage':a101n(0xb3),'shortDesc':a101n(0xa9),'validOpts':[{'name':'baseDir','values':['hooks',a101n(0x83),'pages','layouts']}],'examples':[a101n(0x95)]},async function(a,b){const o=a101n;try{const c=this[o(0xac)][o(0x84)](),d=b[o(0x90)]?o(0x87)+b[o(0x90)]:'/imports/ui/components',f=this[o(0xac)][o(0xab)]({'pathParts':[d,b[o(0x8d)],paramCase(b[o(0xa8)]),paramCase(b[o(0xa8)])]}),g=await this[o(0xac)][o(0x8a)]();await this['fsi']['withValue'](g,async()=>{const p=o;typeof g[p(0x8b)]['test']===p(0x80)&&(g[p(0x8b)]['test']=g['template'][p(0x94)]==='true'?!![]:![],this[p(0xac)][p(0x91)](p(0x94),g[p(0x8b)]['test']));typeof g['template'][p(0xaa)]===p(0x80)&&(g[p(0x8b)][p(0xaa)]=g[p(0x8b)][p(0xaa)]===p(0xb6)?!![]:![],this['fsi'][p(0x91)](p(0xaa),g[p(0x8b)]['css']));typeof g[p(0x8b)]['js']===p(0x80)&&(g[p(0x8b)]['js']=g[p(0x8b)]['js']===p(0xb6)?!![]:![],this[p(0xac)][p(0x91)]('js',g['template']['js']));!g[p(0xba)]&&(g[p(0xba)]={});!b[p(0xa4)]&&!this[p(0xac)][p(0xae)](p(0x96))&&(Log['warn'](p(0x85)),await this['fsi'][p(0x86)](p(0x96),{'cwd':c}));if(!b['root']&&!this[p(0xac)]['checkNpmPackage'](p(0x88))){Log[p(0x81)]('This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator');return;}const h={'name':pascalCase(b[p(0xa8)]),'myPath':a101e[p(0x8c)](this[p(0xac)][p(0x92)]({}),f),'cssCaseName':paramCase(b[p(0xa8)]),'className':pascalCase(b[p(0xa8)]),'camelCaseName':camelCase(b[p(0xa8)]),'fileName':paramCase(b[p(0xa8)]),'graphql':g['engines'][p(0x89)],'features':g[p(0xba)],'client':g[p(0x9b)][p(0x98)],'api':g[p(0x9b)][p(0xb1)],'ssr':g[p(0x9b)][p(0xa6)],'test':g[p(0x9b)]['test'],'theme':g[p(0x9b)][p(0xa1)],'isLayout':![],'isComponent':!![],'withTranslations':g['features']['withTranslations']};await this['fsi']['template']({'srcPath':p(0xad),'destPath':f+p(0xa0),'context':h,'framework':p(0x88),'config':g});g[p(0x9b)][p(0x94)]!==p(0xa3)&&await this['fsi'][p(0x8b)]({'srcPath':p(0x9d),'destPath':f+p(0xb8),'context':h,'framework':p(0x88),'config':g});g[p(0x8b)]['css']&&(await this[p(0xac)][p(0x8b)]({'srcPath':p(0xa5),'destPath':f+p(0x9a),'context':Object[p(0xa2)]({},h,{'className':paramCase(b[p(0xa8)])}),'config':g}),await this['fsi']['injectAtBeginningOfFile']({'filePath':f+'.'+g[p(0x9b)]['js'],'content':'import\x20\x27./'+h[p(0xaf)]+'.'+g['engines']['css']+'\x27;'}));const i=b[p(0x8d)]?'/'+b[p(0x8d)]+'/':'/',j=''+d+i+h[p(0xbb)]+'/'+h[p(0xbb)];await this[p(0xac)][p(0xb4)](h[p(0xb7)],g,j);});}catch(h){Log[o(0x81)](h);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a102j=a102d;(function(a,b){const h=a102d,c=a();while(!![]){try{const d=-parseInt(h(0xac))/0x1*(-parseInt(h(0xb1))/0x2)+-parseInt(h(0x9f))/0x3+parseInt(h(0xaf))/0x4+-parseInt(h(0xb6))/0x5+-parseInt(h(0xa9))/0x6+-parseInt(h(0xb4))/0x7+parseInt(h(0x9a))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a102c,0x39dac));const a102b=(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;};}()),a102a=a102b(this,function(){const i=a102d;return a102a[i(0xa1)]()[i(0xaa)](i(0xa6))[i(0xa1)]()[i(0xb0)](a102a)[i(0xaa)](i(0xa6));});a102a();import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';function a102d(a,b){const c=a102c();return a102d=function(d,e){d=d-0x9a;let f=c[d];return f;},a102d(a,b);}function a102c(){const m=['pathFromProject','toString','development','isDocker','maka\x20g:config\x20production','template','(((.+)+)+)+$','config/process.env','dev','429414IwhBvN','search','ubuntu','239EVrqfu','Generate\x20configuration\x20settings.','getMakaProjectConfig','117872HaoBct','constructor','1952MHysEs','process.env','settings.json','2244452jDcBuO','prod','1406585WmUDTP','config','config/settings.json','7241456GWLmIX','maka\x20{generate,\x20g}:{config}\x20<name>','appName','resourceName','fsi','772260yUcZoe'];a102c=function(){return m;};return a102c();}Generator['create']({'name':a102j(0xb7),'usage':a102j(0x9b),'shortDesc':a102j(0xad),'validOpts':[a102j(0xa3)],'examples':[a102j(0xa4)]},async function(a,b){const k=a102j,c=this[k(0x9e)][k(0xae)]();await this[k(0x9e)]['withValue'](c,async()=>{const l=k,d={'app':c['appName'],'appFileCase':paramCase(c[l(0x9c)]),'name':pascalCase(b['resourceName']),'fileName':paramCase(b['resourceName']),'camelCase':camelCase(b[l(0x9d)]),'userName':l(0xab),'isDocker':b[l(0xa3)]};let e=b[l(0x9d)];if(e===l(0xa8))e=l(0xa2);else e===l(0xb5)&&(e='production');const f=this[l(0x9e)][l(0xa0)]({'pathParts':[l(0xb7),e,l(0xb3)]});await this[l(0x9e)][l(0xa5)]({'srcPath':l(0xb8),'destPath':f,'context':d,'config':c});if(!b['isDocker']){const g=this[l(0x9e)][l(0xa0)]({'pathParts':[l(0xb7),e,l(0xb2)]});await this['fsi'][l(0xa5)]({'srcPath':l(0xa7),'destPath':g,'context':d,'config':c});}});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a103m=a103d;(function(a,b){const j=a103d,c=a();while(!![]){try{const d=-parseInt(j(
|
|
1
|
+
const a103m=a103d;(function(a,b){const j=a103d,c=a();while(!![]){try{const d=-parseInt(j(0x1d5))/0x1*(-parseInt(j(0x1e0))/0x2)+-parseInt(j(0x1cf))/0x3*(-parseInt(j(0x1cc))/0x4)+parseInt(j(0x1d0))/0x5*(parseInt(j(0x1db))/0x6)+parseInt(j(0x1e9))/0x7+parseInt(j(0x1bf))/0x8+parseInt(j(0x1e1))/0x9*(-parseInt(j(0x1e2))/0xa)+-parseInt(j(0x1c0))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a103c,0xd4a6a));function a103c(){const p=['resourceName','tsx','-dbc\x27;','3548ChLLLY','pgsql','imports','template','search','pathFromApp','44916SzCxuE','better-sqlite3','Npm\x20package\x20\x22mssql\x22\x20not\x20installed,\x20installing...','warn','sqlite','442QBDBQL','7044966fOANVs','10ujTOeK','import\x20\x27./register-','dir','-dbc.','server','engines','constructor','59248zECyPf','getMakaProjectConfig','withValue','apply','installNpmPackage','startup','error','index.','mssql','fsi','12547320FAAhcl','24011064CqXLXl','(((.+)+)+)+$','maka\x20g:dbc\x20azure\x20--type=mssql','maka\x20g:dbc\x20todos\x20--type=sqlite','dbc/config.js','checkNpmPackage','conn.','toString','maka\x20g:dbc\x20geoserver\x20--type=pgsql','dbc','injectAtEndOfFile','Npm\x20package\x20\x22better-sqlite3\x22\x20not\x20installed,\x20installing...','2339180jaDnPp','type','dbc/conn.js','3hICgHX','595SLTwZx','Scaffolding\x20for\x20creating\x20a\x20for\x20a\x20database\x20connection.'];a103c=function(){return p;};return a103c();}function a103d(a,b){const c=a103c();return a103d=function(d,e){d=d-0x1bc;let f=c[d];return f;},a103d(a,b);}const a103b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a103d;if(c){const e=c[k(0x1ec)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a103a=a103b(this,function(){const l=a103d;return a103a[l(0x1c7)]()['search'](l(0x1c1))[l(0x1c7)]()[l(0x1e8)](a103a)[l(0x1d9)](l(0x1c1));});a103a();import{camelCase,paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator['create']({'name':'dbc','usage':'maka\x20{generate,\x20g}:{dbc}\x20<connection-name>','shortDesc':a103m(0x1d1),'validOpts':[a103m(0x1e4)],'mustBeInMakaProject':!![],'requiredOpts':[{'name':a103m(0x1cd),'values':['pgsql',a103m(0x1bd),a103m(0x1df)]}],'examples':[a103m(0x1c8),a103m(0x1c2),a103m(0x1c3)]},async function(a,b){const n=a103m;try{const c=await this['fsi'][n(0x1ea)](),d=this[n(0x1be)][n(0x1da)]({}),f=paramCase(b[n(0x1d2)]),g={'name':pascalCase(b[n(0x1d2)]),'fileName':paramCase(b['resourceName']),'camelCase':camelCase(b['resourceName']),'type':b['type'],'engine':c[n(0x1e7)]['js'],'noRename':!![]};await this[n(0x1be)][n(0x1eb)](c,async()=>{const o=n;let h='js';c[o(0x1e7)]['js']===o(0x1d3)&&(h='ts');b[o(0x1cd)]===o(0x1d6)&&!this[o(0x1be)]['checkNpmPackage']('pg')&&(Log['warn']('Npm\x20package\x20\x22pg\x22\x20not\x20installed,\x20installing...'),await this[o(0x1be)][o(0x1ed)]('pg',{'cwd':d}));b['type']===o(0x1bd)&&!this[o(0x1be)][o(0x1c5)]('mssql')&&(Log[o(0x1de)](o(0x1dd)),await this[o(0x1be)][o(0x1ed)](o(0x1bd),{'cwd':d}));b[o(0x1cd)]==='sqlite'&&!this[o(0x1be)][o(0x1c5)]('better-sqlite3')&&(Log[o(0x1de)](o(0x1cb)),await this[o(0x1be)][o(0x1ed)](o(0x1dc),{'cwd':d}));await this[o(0x1be)]['template']({'srcPath':o(0x1c4),'destPath':this[o(0x1be)][o(0x1da)]({'pathParts':[o(0x1d7),o(0x1ee),o(0x1e6),o(0x1c9),b['dir'],f,'config.'+h]}),'context':g,'config':c}),await this['fsi'][o(0x1d8)]({'srcPath':o(0x1ce),'destPath':this[o(0x1be)][o(0x1da)]({'pathParts':['imports',o(0x1ee),o(0x1e6),o(0x1c9),b['dir'],f,o(0x1c6)+h]}),'context':g,'config':c}),await this[o(0x1be)][o(0x1d8)]({'srcPath':'dbc/register-dbc.js','destPath':this[o(0x1be)][o(0x1da)]({'pathParts':['imports',o(0x1ee),o(0x1e6),'register-'+f+o(0x1e5)+h]}),'context':g,'config':c});const i=this[o(0x1be)][o(0x1da)]({'pathParts':[o(0x1d7),o(0x1ee),o(0x1e6),o(0x1bc)+c[o(0x1e7)]['js']]});await this[o(0x1be)][o(0x1ca)]({'filePath':i,'content':o(0x1e3)+f+o(0x1d4)});});}catch(h){Log[n(0x1ef)](h);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a104i=a104d;(function(a,b){const f=a104d,c=a();while(!![]){try{const d=parseInt(f(0xe8))/0x1*(-parseInt(f(0xfe))/0x2)+parseInt(f(0xec))/0x3+-parseInt(f(0xfa))/0x4+-parseInt(f(0xff))/0x5+-parseInt(f(0xf2))/0x6*(-parseInt(f(0xed))/0x7)+-parseInt(f(0xfc))/0x8+parseInt(f(0xe3))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a104c,0xd52af));function a104d(a,b){const c=a104c();return a104d=function(d,e){d=d-0xe2;let f=c[d];return f;},a104d(a,b);}const a104b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a104d;if(c){const e=c[g(0xea)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a104a=a104b(this,function(){const h=a104d;return a104a[h(0xe5)]()[h(0xf5)](h(0xf1))[h(0xe5)]()[h(0xe6)](a104a)[h(0xf5)](h(0xf1));});a104a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a104c(){const l=['7280JlGbdh','5983300JaYrjo','app.tar.gz','35902413dpNjFw','fsi','toString','constructor','cert','348ukKXoH','docker/Dockerfile','apply','Dockerfile','407283GPmdfC','6839rCExWw','service','Generate\x20an\x20updated\x20dockerfile','getMakaProjectConfig','(((.+)+)+)+$','4086AiCYAk','appName','getGlobalConfig','search','join','findProjectDirectory','dockerfile','maka\x20{generate,\x20g}:dockerfile','3177532hvgStj','withValue','5274856ezaRqo','template'];a104c=function(){return l;};return a104c();}import a104e from'path';Generator['create']({'name':a104i(0xf8),'usage':a104i(0xf9),'shortDesc':a104i(0xef),'validOpts':[],'noNeedResource':!![],'examples':['maka\x20g:dockerfile']},async function(){const j=a104i;try{const a=await this[j(0xe4)][j(0xf0)](),b=await this[j(0xe4)][j(0xf4)](),c=this[j(0xe4)][j(0xf7)]();await this[j(0xe4)][j(0xfb)](a,async()=>{const k=j,d={'app':b[k(0xf3)],'config':a,'appPath':a104e[k(0xf6)](c,'app'),'bundlePath':a104e[k(0xf6)](c,'build',k(0xe2)),'useCert':this[k(0xe4)]['isFile'](b[k(0xe7)])};await this[k(0xe4)][k(0xfd)]({'srcPath':k(0xe9),'destPath':a104e[k(0xf6)](c,k(0xeb)),'framework':k(0xee),'context':d,'config':a});});}catch(d){Log['error'](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a105o=a105d;(function(a,b){const l=a105d,c=a();while(!![]){try{const d=parseInt(l(0x1cc))/0x1+-parseInt(l(0x1f4))/0x2+-parseInt(l(0x1d9))/0x3+parseInt(l(0x1f5))/0x4*(parseInt(l(0x1c1))/0x5)+parseInt(l(0x1cb))/0x6*(-parseInt(l(0x1c3))/0x7)+-parseInt(l(0x1b9))/0x8+parseInt(l(0x1d8))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a105c,0x61ff9));const a105b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a105d;if(c){const e=c[m(0x1d3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a105a=a105b(this,function(){const n=a105d;return a105a[n(0x1f2)]()[n(0x1d1)](n(0x1e5))['toString']()[n(0x1ea)](a105a)[n(0x1d1)]('(((.+)+)+)+$');});function a105c(){const r=['checkNpmPackage','hooks','cssCaseName','className','hook','getMakaProjectConfig','setTemplate','.app-tests.js','(((.+)+)+)+$','Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','/imports/ui/','.js','pages','constructor','fileName','\x0a\x20\x20Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html\x0a\x0a\x20\x20Hooks\x20are\x20created\x20in\x20the\x20imports/ui/hooks\x20directory\x20by\x20default,\x20but\x20can\x20be\x20created\x20in\x0a\x20\x20the\x20imports/ui/components,\x20imports/ui/pages,\x20or\x20imports/ui/layouts\x20directories\x20by\x0a\x20\x20using\x20the\x20--baseDir\x20option\x20with\x20the\x20appropriate\x20directory\x20name.\x0a\x0a\x20\x20To\x20create\x20a\x20hook\x20in\x20a\x20subdirectory\x20of\x20the\x20hooks\x20directory,\x20add\x20the\x20path\x20to\x20the\x0a\x20\x20hook\x20name.\x20For\x20example,\x20maka\x20g:hook\x20myHooks/useCoolHook\x20will\x20create\x20a\x20hook\x20in\x0a\x20\x20imports/ui/hooks/my-hooks/use-cool-hook.jsx\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','resourceName','installNpmPackage','assign','injectAtBeginningOfFile','graphql','toString','react','1546822dQlWXU','10460PlagGs','pathFromProject','injectTemplateModule','template','1750344mdgAFm','features','error','force','@apollo/client\x20isomorphic-fetch','theme','layouts','apollo','140fOrgyh','string','1410829zRmaPc','css','test/test.js','maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','/imports/ui/hooks','engines','withTranslations','create','12tCyDFo','331132vkcifJ','import\x20\x27./','Creating\x20','dir','test','search','warn','apply','pathFromApp','\x20hook...','notice','maka\x20g:hook\x20cool-hook','14829624cvwqWW','766167ForSBC','baseDir','none','fsi'];a105c=function(){return r;};return a105c();}a105a();import a105e from'path';import{paramCase,pascalCase,camelCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a105d(a,b){const c=a105c();return a105d=function(d,e){d=d-0x1b6;let f=c[d];return f;},a105d(a,b);}import{UsageError}from'../error.js';Generator[a105o(0x1ca)]({'name':a105o(0x1e1),'aliases':['h'],'checkWhere':![],'usage':a105o(0x1c6),'shortDesc':a105o(0x1e6),'validOpts':[{'name':a105o(0x1da),'values':[a105o(0x1de),'components',a105o(0x1e9),a105o(0x1bf)]},{'name':a105o(0x1bc),'boolFlag':!![]}],'examples':[a105o(0x1d7)],'description':a105o(0x1ec)},async function(a,b){const p=a105o;Log[p(0x1d6)](p(0x1ce)+b[p(0x1ed)]+p(0x1d5));try{const c=this[p(0x1dc)]['checkNpmPackage'](p(0x1f3));if(!c){Log[p(0x1bb)]('This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator');throw new UsageError();}const d=this[p(0x1dc)][p(0x1d4)](b),f=b[p(0x1da)]?p(0x1e7)+b[p(0x1da)]:p(0x1c7),g=this[p(0x1dc)]['pathFromApp']({'pathParts':[f,b[p(0x1cf)],paramCase(b[p(0x1ed)]),paramCase(b[p(0x1ed)])]}),h=await this[p(0x1dc)][p(0x1e2)]();await this['fsi']['withValue'](h,async()=>{const q=p;typeof h['template']['css']===q(0x1c2)&&(h[q(0x1b8)][q(0x1c4)]=h[q(0x1b8)][q(0x1c4)]==='true'?!![]:![],this[q(0x1dc)][q(0x1e3)](q(0x1c4),h['template'][q(0x1c4)]));h[q(0x1c8)][q(0x1f1)]===q(0x1c0)&&!this[q(0x1dc)][q(0x1dd)]('@apollo/client')&&(Log[q(0x1d2)]('Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...'),await this[q(0x1dc)][q(0x1ee)](q(0x1bd),{'cwd':d}));const i={'cssCaseName':paramCase(b[q(0x1ed)]),'camelCaseName':camelCase(b['resourceName']),'className':pascalCase(b[q(0x1ed)]),'name':pascalCase(b[q(0x1ed)]),'graphql':h[q(0x1c8)][q(0x1f1)],'theme':h[q(0x1c8)][q(0x1be)],'features':h[q(0x1ba)],'myPath':a105e['relative'](this[q(0x1dc)][q(0x1b6)]({}),g),'fileName':paramCase(b[q(0x1ed)]),'isComponent':![],'isLayout':![],'withTranslations':h[q(0x1ba)][q(0x1c9)]};await this[q(0x1dc)][q(0x1b8)]({'srcPath':'hook/hook.js','destPath':g+q(0x1e8),'context':i,'config':h,'framework':q(0x1f3),'force':b[q(0x1bc)]});h['template'][q(0x1c4)]&&(await this[q(0x1dc)][q(0x1b8)]({'srcPath':'template/template.css','destPath':g+'.css','context':Object[q(0x1ef)]({},i,{'className':i[q(0x1df)]}),'config':h,'force':b[q(0x1bc)]}),await this['fsi'][q(0x1f0)]({'filePath':g+'.'+h['engines']['js'],'content':q(0x1cd)+i[q(0x1eb)]+'.'+h[q(0x1c8)][q(0x1c4)]+'\x27;'}));h[q(0x1c8)][q(0x1d0)]!==q(0x1db)&&await this['fsi'][q(0x1b8)]({'srcPath':q(0x1c5),'destPath':g+q(0x1e4),'framework':q(0x1f3),'context':i,'config':h,'force':b[q(0x1bc)]});const j=b[q(0x1cf)]?'/'+b['dir']+'/':'/',k=''+f+j+i[q(0x1eb)]+'/'+i[q(0x1eb)];await this[q(0x1dc)][q(0x1b7)](i[q(0x1e0)],h,k);});}catch(i){Log['error'](i);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a106d,c=a();while(!![]){try{var d
|
|
1
|
+
(function(a,b){var f=a106d,c=a();while(!![]){try{var d=-parseInt(f(0x97))/0x1+-parseInt(f(0x92))/0x2*(-parseInt(f(0x96))/0x3)+-parseInt(f(0x93))/0x4+-parseInt(f(0x8f))/0x5*(-parseInt(f(0x95))/0x6)+parseInt(f(0x9a))/0x7*(parseInt(f(0x8e))/0x8)+parseInt(f(0x91))/0x9+-parseInt(f(0x90))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a106c,0x2da89));var a106b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a106d;if(c){var e=c[g(0x94)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a106a=a106b(this,function(){var h=a106d;return a106a['toString']()[h(0x98)]('(((.+)+)+)+$')['toString']()['constructor'](a106a)[h(0x98)](h(0x99));});function a106d(a,b){var c=a106c();return a106d=function(d,e){d=d-0x8e;var f=c[d];return f;},a106d(a,b);}a106a();import'./kit.js';import'./mui/_index.js';function a106c(){var i=['8iOQDRS','270hdHMGK','1356330YhyucL','2996757bpaQyO','1010AElXwz','1209616dVhGgP','apply','14100UcznpL','225YSVUjZ','137433XnPHpf','search','(((.+)+)+)+$','1853173EdtUim'];a106c=function(){return i;};return a106c();}import'./esri/_index.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a107d,c=a();while(!![]){try{var d=parseInt(f(
|
|
1
|
+
function a107d(a,b){var c=a107c();return a107d=function(d,e){d=d-0x196;var f=c[d];return f;},a107d(a,b);}(function(a,b){var f=a107d,c=a();while(!![]){try{var d=parseInt(f(0x19b))/0x1*(-parseInt(f(0x19f))/0x2)+parseInt(f(0x1a4))/0x3*(-parseInt(f(0x19c))/0x4)+parseInt(f(0x19a))/0x5*(parseInt(f(0x1a3))/0x6)+-parseInt(f(0x19d))/0x7*(-parseInt(f(0x199))/0x8)+parseInt(f(0x19e))/0x9*(-parseInt(f(0x1a0))/0xa)+-parseInt(f(0x1a1))/0xb+-parseInt(f(0x197))/0xc*(-parseInt(f(0x1a2))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a107c,0x51926));var a107b=(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;};}()),a107a=a107b(this,function(){var g=a107d;return a107a[g(0x1a5)]()[g(0x196)](g(0x198))['toString']()['constructor'](a107a)[g(0x196)](g(0x198));});a107a();import'./esri.generator.js';function a107c(){var h=['68UNHqgn','4187519ZPIVkZ','333QxFOxy','2WegyBp','168230ZugCVP','4068911SiauOu','62725TtCqJP','2975226UpzkjO','103593iOqGVX','toString','search','3588MxjZvP','(((.+)+)+)+$','8ERqWIx','5Dvxjau','623266wGVggX'];a107c=function(){return h;};return a107c();}import'./map.esri.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a108i=a108d;(function(a,b){const f=a108d,c=a();while(!![]){try{const d
|
|
1
|
+
const a108i=a108d;(function(a,b){const f=a108d,c=a();while(!![]){try{const d=-parseInt(f(0x96))/0x1*(parseInt(f(0x8b))/0x2)+-parseInt(f(0x87))/0x3*(parseInt(f(0x92))/0x4)+parseInt(f(0x8a))/0x5*(parseInt(f(0x84))/0x6)+parseInt(f(0x8c))/0x7*(parseInt(f(0x83))/0x8)+-parseInt(f(0x8e))/0x9*(parseInt(f(0x93))/0xa)+-parseInt(f(0x8f))/0xb*(parseInt(f(0x89))/0xc)+parseInt(f(0x94))/0xd;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a108c,0x2e66b));const a108b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a108d;if(c){const e=c[g(0x90)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a108a=a108b(this,function(){const h=a108d;return a108a[h(0x86)]()[h(0x97)]('(((.+)+)+)+$')[h(0x86)]()[h(0x91)](a108a)[h(0x97)](h(0x85));});a108a();import{Generator}from'../../../generator.js';function a108d(a,b){const c=a108c();return a108d=function(d,e){d=d-0x81;let f=c[d];return f;},a108d(a,b);}import a108e from'../kit.js';const EsriGen=Generator[a108i(0x95)]({'name':a108i(0x82),'aliases':['e'],'usage':a108i(0x88),'noNeedResource':!![],'shortDesc':'Starting\x20point\x20for\x20generating\x20Esri\x20Maps','validOpts':[''],'isPro':!![],'examples':[a108i(0x8d)],'description':'\x0a\x20\x20\x20\x20This\x20generator\x20will\x20create\x20a\x20kit\x20for\x20Esri\x20Maps.\x20Starting\x20with\x20a\x20basic\x20map,\x0a\x20\x20\x20\x20but\x20with\x20the\x20ability\x20to\x20add\x20more\x20components\x20to\x20the\x20kit.\x0a\x20\x20'},async function(){const j=a108i;throw j(0x81);},a108e);function a108c(){const k=['37749zlDwOi','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','12xIshLT','32530neaEju','2NUhysC','667891CHBzPD','maka\x20g:kit:e','27315xfHtNa','2265164fwxvoR','apply','constructor','80MkNqlL','670CbzPwg','10496564oxIVMI','create','279563PRikhm','search','NIE','esri','8AkGGRx','210iXtjyT','(((.+)+)+)+$','toString'];a108c=function(){return k;};return a108c();}export default EsriGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a109s=a109d;(function(a,b){const p=a109d,c=a();while(!![]){try{const d=parseInt(p(
|
|
1
|
+
const a109s=a109d;(function(a,b){const p=a109d,c=a();while(!![]){try{const d=parseInt(p(0x1b0))/0x1+parseInt(p(0x1c1))/0x2+parseInt(p(0x1b7))/0x3+-parseInt(p(0x1a7))/0x4*(parseInt(p(0x1b4))/0x5)+parseInt(p(0x1d8))/0x6*(parseInt(p(0x1bc))/0x7)+-parseInt(p(0x1c8))/0x8*(parseInt(p(0x1d2))/0x9)+-parseInt(p(0x1d7))/0xa*(parseInt(p(0x1be))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a109c,0x58606));const a109b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a109d;if(c){const e=c[q(0x1c6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a109a=a109b(this,function(){const r=a109d;return a109a['toString']()[r(0x1c9)](r(0x1b6))[r(0x1d9)]()[r(0x1a4)](a109a)[r(0x1c9)](r(0x1b6));});a109a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a109e from'./esri.generator.js';import a109f from'../../../generators/maka.gen.js';import{paramCase,headerCase,pascalCase}from'change-case';function a109d(a,b){const c=a109c();return a109d=function(d,e){d=d-0x1a0;let f=c[d];return f;},a109d(a,b);}function a109c(){const v=['.js','1318840IdDmJx','2377224dEZKyP','toString','esri-loader','injectIntoFile','processAndRunGenerator','react','constructor','bright','error','4xXxQNA','/imports/startup/client/templates','engines','injectImport','checkNpmPackage','withValue','findProjectDirectory','/imports/startup/lib/templates','ssr','271627sbBXdO','map','pathFromApp','/imports/ui/','130565OhgQPk','true','(((.+)+)+)+$','243615ZHPWIi','split','FALSE','page','baseDir','7mYzneA','create','33jxqiGo','replaceAll','injectTemplateModule','777734OHSnpd','REACT','Generating\x20a\x20map\x20component','template','appName','apply','getMakaProjectConfig','344lJrCwC','search','@esri/react-arcgis','<div\x20id=\x22map-component\x22>','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','<div\x20id=\x22map-hook\x22>','basic-map','kit/esri/map/','\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','Generate\x20an\x20Esri\x20map\x20component','74124NfthIb','fsi','/imports/ui/hooks','</div>'];a109c=function(){return v;};return a109c();}import{ClientEngines,SsrEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a109s(0x1bd)]({'name':a109s(0x1b1),'aliases':['m'],'usage':a109s(0x1cc),'shortDesc':a109s(0x1d1),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a109s(0x1c2)],'ssr':SsrEngines[a109s(0x1b9)]},'description':'\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'},async function(a,b){const t=a109s;try{Log[t(0x1a5)](t(0x1c3));const c=t(0x1ce);await this[t(0x1d3)][t(0x1ab)]([t(0x1ca),t(0x1a0)],{'shouldInstall':!![]});const d=this['fsi'][t(0x1ad)](),f=this[t(0x1d3)][t(0x1c7)](),g=f[t(0x1a9)][t(0x1af)]===t(0x1b5),h=await a109f[t(0x1a2)](t(0x1ba),['map'],{'cwd':d,'config':f}),i={'name':headerCase(f[t(0x1c5)])[t(0x1bf)]('-','\x20'),'componentName':pascalCase(c)},j=b[t(0x1bb)]?t(0x1b3)+b[t(0x1bb)]:t(0x1d4),k=this[t(0x1d3)]['pathFromApp']({'pathParts':[j,b['dir'],paramCase(c),paramCase(c)]});this[t(0x1d3)][t(0x1ac)](f,async()=>{const u=t;this['fsi'][u(0x1c4)]({'srcPath':u(0x1cf)+c+u(0x1d6),'destPath':k+u(0x1d6),'framework':u(0x1a3),'context':i,'config':f,'force':![],'ignore':![]});});const l=''+j+b['dir']+'/'+c+'/'+c;await this['fsi'][t(0x1c0)](c,f,l);const m=h[t(0x1b8)]('/'),n=this['fsi'][t(0x1b2)]({'pathParts':m});await this[t(0x1d3)][t(0x1aa)]({'filePath':n,'importName':pascalCase(c),'modulePath':g?t(0x1ae):t(0x1a8),'isNamedExport':!![]}),await this['fsi'][t(0x1a1)]({'filePath':n,'content':'\x0a<'+pascalCase(c)+t(0x1d0),'begin':[t(0x1cd),t(0x1cb)],'end':[t(0x1d5)],'replace':!![]});}catch(o){Log[t(0x1a6)](o),process['exit'](0x1);}},a109e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a110i=a110d;(function(a,b){const f=a110d,c=a();while(!![]){try{const d
|
|
1
|
+
const a110i=a110d;function a110c(){const j=['(((.+)+)+)+$','maka\x20g:kit','3812870FPUjAH','Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','8ILSrAk','117705zJDYXF','1248vBHNMY','1860741BsTNyR','toString','constructor','862hSOtDE','maka\x20g:k','maka\x20{generate,\x20g}:{kit}\x20<name>','15988344rbLOAq','1306hGMHos','52JDxhAF','search','2330083VUpNnl','apply','14045iekkUz','11lbIlcB'];a110c=function(){return j;};return a110c();}(function(a,b){const f=a110d,c=a();while(!![]){try{const d=-parseInt(f(0x1e1))/0x1*(-parseInt(f(0x1e5))/0x2)+parseInt(f(0x1dc))/0x3*(-parseInt(f(0x1e6))/0x4)+parseInt(f(0x1ea))/0x5*(-parseInt(f(0x1dd))/0x6)+-parseInt(f(0x1e8))/0x7*(-parseInt(f(0x1db))/0x8)+-parseInt(f(0x1de))/0x9+parseInt(f(0x1d9))/0xa*(-parseInt(f(0x1d6))/0xb)+parseInt(f(0x1e4))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a110c,0x853da));const a110b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a110d;if(c){const e=c[g(0x1e9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a110a=a110b(this,function(){const h=a110d;return a110a[h(0x1df)]()[h(0x1e7)]('(((.+)+)+)+$')[h(0x1df)]()[h(0x1e0)](a110a)[h(0x1e7)](h(0x1d7));});a110a();function a110d(a,b){const c=a110c();return a110d=function(d,e){d=d-0x1d6;let f=c[d];return f;},a110d(a,b);}import{Generator}from'../../generator.js';const KitGen=Generator['create']({'name':'kit','aliases':['k'],'usage':a110i(0x1e3),'shortDesc':a110i(0x1da),'minArgLength':0x1,'isPro':!![],'validOpts':[],'noNeedResource':!![],'examples':[a110i(0x1d8),a110i(0x1e2)]},async function(){});export default KitGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a111d,c=a();while(!![]){try{var d
|
|
1
|
+
(function(a,b){var f=a111d,c=a();while(!![]){try{var d=parseInt(f(0xbc))/0x1+parseInt(f(0xb5))/0x2+-parseInt(f(0xb8))/0x3*(parseInt(f(0xbf))/0x4)+-parseInt(f(0xc0))/0x5+-parseInt(f(0xbb))/0x6*(parseInt(f(0xc2))/0x7)+-parseInt(f(0xbd))/0x8*(parseInt(f(0xba))/0x9)+-parseInt(f(0xbe))/0xa*(-parseInt(f(0xc1))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a111c,0x396b3));var a111b=(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;};}()),a111a=a111b(this,function(){var g=a111d;return a111a[g(0xb7)]()[g(0xb9)](g(0xb6))[g(0xb7)]()['constructor'](a111a)[g(0xb9)](g(0xb6));});a111a();import'./mui.generator.js';function a111c(){var h=['744678ANQEBy','6oHWDjX','101735GhoRHM','40TuBgdi','489290rSxKuJ','2996BZExXa','1423050wOFTbh','253ZwvGRq','2965697JImgzy','928260riMMjZ','(((.+)+)+)+$','toString','1338YmWgCG','search'];a111c=function(){return h;};return a111c();}function a111d(a,b){var c=a111c();return a111d=function(d,e){d=d-0xb5;var f=c[d];return f;},a111d(a,b);}import'./frame.mui.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a112A=a112d;(function(a,b){const x=a112d,c=a();while(!![]){try{const d
|
|
1
|
+
const a112A=a112d;function a112c(){const D=['<div\x20id=\x22','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','engines','/imports/ui/hooks','tests','{this.props.children}','-hook\x22>','injectTemplateModule','toString','apply','layouts','basic-drawer','search','kit/mui/frame/drawers/','{\x20this.props.children\x20}','{\x20props.children\x20}','.js','100ITTvBU','length','-component\x22>','/imports/startup/client/templates','maka\x20g:k:m:f','1oWGoKE','\x20/>\x0a','(((.+)+)+)+$','maka\x20generate:kit:mui:frame','970820ixkJOM','baseDir','join','app-tests','test','injectIntoFile','getMakaProjectConfig','template','checkbox','getDirectories','{props.children}','No\x20layouts\x20selected','options','889656CKhNVT','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','REACT','true','21zufVhj','withValue','error','46568pdAveL','/imports/startup/lib/templates','pathFromApp','imports','appName','2768841expIuZ','Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','2336658xPjhms','fsi','903428AOzirs','516786cNquNw','ssr','dir','jsx','replaceAll','injectImport','create'];a112c=function(){return D;};return a112c();}(function(a,b){const x=a112d,c=a();while(!![]){try{const d=-parseInt(x(0x17f))/0x1*(-parseInt(x(0x1a0))/0x2)+-parseInt(x(0x1a1))/0x3+parseInt(x(0x197))/0x4*(-parseInt(x(0x17a))/0x5)+parseInt(x(0x19e))/0x6+-parseInt(x(0x194))/0x7*(parseInt(x(0x190))/0x8)+parseInt(x(0x19c))/0x9+-parseInt(x(0x183))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a112c,0x4c6a9));const a112b=(function(){let a=!![];return function(b,c){const d=a?function(){const y=a112d;if(c){const e=c[y(0x172)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a112a=a112b(this,function(){const z=a112d;return a112a[z(0x171)]()[z(0x175)](z(0x181))[z(0x171)]()['constructor'](a112a)[z(0x175)](z(0x181));});a112a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a112e from'path';import a112f from'./mui.generator.js';function a112d(a,b){const c=a112c();return a112d=function(d,e){d=d-0x165;let f=c[d];return f;},a112d(a,b);}import{paramCase,pascalCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a112A(0x168)]({'name':'frame','aliases':['f'],'usage':a112A(0x191),'shortDesc':a112A(0x19d),'validOpts':[a112A(0x173)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines['MATERIAL'],'client':ClientEngines[a112A(0x192)]},'examples':[a112A(0x182),a112A(0x17e)],'description':'\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20'},async function(a,b){const B=a112A;try{const c='basic-app-bar',d=B(0x174),f=this['fsi'][B(0x189)](),g=f[B(0x16b)][B(0x1a2)]===B(0x193);await this[B(0x19f)]['checkMeteorPackage']('session',{'shouldInstall':!![]});const h=this[B(0x19f)]['findAppDirectory'](),i=a112e[B(0x185)](h,B(0x19a),'ui',B(0x173)),j=this[B(0x19f)][B(0x18c)](i),k=await Actions[B(0x18f)]({'type':B(0x18b),'name':B(0x173),'message':B(0x16a),'choices':j});if(k[B(0x173)][B(0x17b)]===0x0){Log['error'](B(0x18e));return;}const l=b[B(0x184)]?'/imports/ui/'+b[B(0x184)]:B(0x16c),m=this['fsi']['pathFromApp']({'pathParts':[l,b['dir'],paramCase(c),paramCase(c)]}),n=this[B(0x19f)][B(0x199)]({'pathParts':[l,b[B(0x1a3)],paramCase(d),paramCase(d)]}),o={'name':headerCase(f[B(0x19b)])[B(0x166)]('-','\x20')};await this[B(0x19f)][B(0x195)](f,async()=>{const C=B;await this[C(0x19f)][C(0x18a)]({'srcPath':'kit/mui/frame/app-bars/'+c+C(0x179),'destPath':m+C(0x179),'framework':'react','context':o,'config':f,'force':![],'ignore':![]}),await this[C(0x19f)][C(0x18a)]({'srcPath':C(0x176)+d+C(0x179),'destPath':n+C(0x179),'framework':'react','context':o,'config':f,'force':![],'ignore':![]});});const p=''+l+b[B(0x1a3)]+'/'+c+'/'+c;await this[B(0x19f)][B(0x170)](c,f,p);const q=''+l+b[B(0x1a3)]+'/'+d+'/'+d;await this[B(0x19f)][B(0x170)](d,f,q);const {layouts:r}=k;for(const s of r){const t=this[B(0x19f)]['getFiles'](a112e[B(0x185)](i,s),{'extensions':[B(0x165),'tsx'],'omit':[B(0x186),B(0x16d),B(0x187)]});for(const u of t){const v=a112e[B(0x185)](i,s,u);await this[B(0x19f)][B(0x167)]({'filePath':v,'importName':pascalCase(c),'modulePath':g?B(0x198):B(0x17d),'isNamedExport':!![]}),await this[B(0x19f)]['injectIntoFile']({'filePath':v,'content':'<'+pascalCase(c)+B(0x180),'begin':['<div\x20id=\x22'+s+B(0x17c),B(0x169)+s+'-hook\x22>'],'end':['{this.props.children}',B(0x177),B(0x18d),'{\x20props.children\x20}']}),await this['fsi'][B(0x167)]({'filePath':v,'importName':pascalCase(d),'modulePath':g?B(0x198):B(0x17d),'isNamedExport':!![]}),await this[B(0x19f)][B(0x188)]({'filePath':v,'content':'<'+pascalCase(d)+B(0x180),'begin':[B(0x169)+s+'-component\x22>',B(0x169)+s+B(0x16f)],'end':[B(0x16e),'{\x20this.props.children\x20}',B(0x18d),B(0x178)]});}}}catch(w){Log[B(0x196)](w);}},a112f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a113i=a113d;function a113d(a,b){const c=a113c();return a113d=function(d,e){d=d-0xc7;let f=c[d];return f;},a113d(a,b);}(function(a,b){const f=a113d,c=a();while(!![]){try{const d=parseInt(f(0xd9))/0x1+-parseInt(f(0xdb))/0x2*(parseInt(f(0xc9))/0x3)+parseInt(f(0xda))/0x4+-parseInt(f(0xcb))/0x5*(parseInt(f(0xd4))/0x6)+-parseInt(f(0xd1))/0x7*(parseInt(f(0xcd))/0x8)+-parseInt(f(0xc7))/0x9*(parseInt(f(0xd0))/0xa)+parseInt(f(0xd5))/0xb*(parseInt(f(0xd3))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a113c,0xc3650));const a113b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a113d;if(c){const e=c[g(0xd2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a113a=a113b(this,function(){const h=a113d;return a113a[h(0xca)]()['search'](h(0xc8))[h(0xca)]()[h(0xcc)](a113a)[h(0xd8)](h(0xc8));});a113a();import{Generator}from'../../../generator.js';function a113c(){const k=['NIE','40OnZWjk','893179WPyRRO','apply','12eeObxX','240GjjOwb','20919261bmaUuY','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','Material-UI\x20Kit','search','1445822nSYuoj','2389636ppINVO','178MRKcWV','3220812pnrCWZ','(((.+)+)+)+$','25179jmrHqX','toString','104825JixxYn','constructor','8llmwpj','create'];a113c=function(){return k;};return a113c();}import a113e from'../kit.js';const MuiGen=Generator[a113i(0xce)]({'name':'mui','aliases':['m'],'usage':a113i(0xd6),'noNeedResource':!![],'shortDesc':a113i(0xd7),'validOpts':[''],'isPro':!![],'examples':['maka\x20g:kit:m']},async function(){const j=a113i;throw j(0xcf);},a113e);export default MuiGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a114o=a114d;(function(a,b){const l=a114d,c=a();while(!![]){try{const d
|
|
1
|
+
const a114o=a114d;(function(a,b){const l=a114d,c=a();while(!![]){try{const d=parseInt(l(0xf6))/0x1*(-parseInt(l(0x104))/0x2)+parseInt(l(0xdf))/0x3*(-parseInt(l(0xda))/0x4)+parseInt(l(0xde))/0x5+-parseInt(l(0xd8))/0x6*(parseInt(l(0xf8))/0x7)+parseInt(l(0xf4))/0x8+-parseInt(l(0x105))/0x9+parseInt(l(0xce))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a114c,0xc154c));const a114b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a114d;if(c){const e=c[m(0xdd)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a114a=a114b(this,function(){const n=a114d;return a114a['toString']()['search'](n(0xd9))[n(0xd0)]()[n(0xf7)](a114a)['search'](n(0xd9));});a114a();import a114e from'path';function a114c(){const r=['className','toString','component/component.js','api','Scaffolding\x20for\x20a\x20React\x20Layout.','pathFromProject','includes','assign','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','2751906NXCtYL','(((.+)+)+)+$','16btiCxv','none','react','apply','7495370mzhfVP','927393XEGPLP','css','.css','.js','/imports/ui/layouts','resourceName','injectAtBeginningOfFile','pathFromApp','test','findAppDirectory','injectTemplateModule','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','features','.app-tests.js','warn','dir','withValue','hook/hook.js','ramda','layout','relative','4064680slhmfG','test/test.js','7BTEsRQ','constructor','7WBGYRm','import\x20\x27./','engines','string','theme','fsi','template','true','ssr','setTemplate','checkNpmPackage','fileName','400766lUiwGP','7210305agCsCd','installNpmPackage','create','client','26837260DxuJqa'];a114c=function(){return r;};return a114c();}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['l'];function a114d(a,b){const c=a114c();return a114d=function(d,e){d=d-0xce;let f=c[d];return f;},a114d(a,b);}Generator[a114o(0x107)]({'name':a114o(0xf2),'aliases':aliases,'usage':a114o(0xea),'shortDesc':a114o(0xd3),'validOpts':[],'examples':['maka\x20g:layout\x20mobile/iPhone8','maka\x20g:l\x20web/safari']},async function(a,b){const p=a114o,c=p(0xe3),d=this[p(0xfd)][p(0xe8)](),e=this[p(0xfd)][p(0xe6)]({'pathParts':[c,b[p(0xee)],paramCase(b[p(0xe4)]),paramCase(b[p(0xe4)])]}),f=this[p(0xfd)]['getMakaProjectConfig']();await this[p(0xfd)][p(0xef)](f,async()=>{const q=p;typeof f[q(0xfe)][q(0xe7)]===q(0xfb)&&(f[q(0xfe)]['test']=f[q(0xfe)]['test']==='true'?!![]:![],this[q(0xfd)][q(0x101)](q(0xe7),f[q(0xfe)]['test']));typeof f['template'][q(0xe0)]===q(0xfb)&&(f['template'][q(0xe0)]=f[q(0xfe)][q(0xe0)]===q(0xff)?!![]:![],this[q(0xfd)][q(0x101)](q(0xe0),f[q(0xfe)][q(0xe0)]));typeof f[q(0xfe)]['js']==='string'&&(f[q(0xfe)]['js']=f[q(0xfe)]['js']===q(0xff)?!![]:![],this['fsi']['setTemplate']('js',f[q(0xfe)]['js']));!f['features']&&(f[q(0xeb)]={});const g=b['_']?b['_'][0x0]['split'](':')[0x1]:![],h=b['_']&&aliases[q(0xd5)](g);h&&!this[q(0x102)](q(0xf1))&&(Log[q(0xed)](q(0xd7)),this[q(0xfd)][q(0x106)](q(0xf1),{'cwd':d}));if(h&&!this[q(0x102)](q(0xdc))){Log['warn']('This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator');return;}const i={'name':pascalCase(b[q(0xe4)]),'myPath':a114e[q(0xf3)](this[q(0xfd)][q(0xd4)]({}),e),'cssCaseName':paramCase(b[q(0xe4)]),'className':pascalCase(b[q(0xe4)]),'camelCaseName':camelCase(b[q(0xe4)]),'fileName':paramCase(b[q(0xe4)]),'graphql':f[q(0xfa)]['graphql'],'features':f[q(0xeb)],'client':f[q(0xfa)][q(0x108)],'api':f[q(0xfa)][q(0xd2)],'ssr':f['engines'][q(0x100)],'test':f[q(0xfa)][q(0xe7)],'theme':f[q(0xfa)][q(0xfc)],'isComponent':![],'isLayout':!![],'withTranslations':f['features']['withTranslations']};f[q(0xeb)]?.['withHooks']||b['withHook']?await this[q(0xfd)]['template']({'srcPath':q(0xf0),'destPath':e+q(0xe2),'framework':q(0xdc),'context':i,'config':f}):await this[q(0xfd)][q(0xfe)]({'srcPath':q(0xd1),'destPath':e+q(0xe2),'framework':'react','context':i,'config':f});f[q(0xfa)][q(0xe7)]!==q(0xdb)&&await this[q(0xfd)][q(0xfe)]({'srcPath':q(0xf5),'destPath':e+q(0xec),'framework':q(0xdc),'context':i,'config':f});f[q(0xfe)][q(0xe0)]&&(await this['fsi'][q(0xfe)]({'srcPath':'template/template.css','destPath':e+q(0xe1),'context':Object[q(0xd6)]({},i,{'className':paramCase(b[q(0xe4)])}),'config':f}),await this['fsi'][q(0xe5)]({'filePath':e+'.'+f[q(0xfa)]['js'],'content':q(0xf9)+i[q(0x103)]+'.'+f[q(0xfa)]['css']+'\x27;'}));const j=b['dir']?'/'+b[q(0xee)]+'/':'/',k=''+c+j+i['fileName']+'/'+i[q(0x103)];await this[q(0xfd)][q(0xe9)](i[q(0xcf)],f,k);});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a115i=a115d;(function(a,b){const f=a115d,c=a();while(!![]){try{const d=-parseInt(f(
|
|
1
|
+
const a115i=a115d;(function(a,b){const f=a115d,c=a();while(!![]){try{const d=-parseInt(f(0x142))/0x1+-parseInt(f(0x13d))/0x2*(-parseInt(f(0x146))/0x3)+-parseInt(f(0x14b))/0x4+-parseInt(f(0x144))/0x5*(parseInt(f(0x140))/0x6)+-parseInt(f(0x13c))/0x7+-parseInt(f(0x145))/0x8*(-parseInt(f(0x150))/0x9)+parseInt(f(0x143))/0xa*(parseInt(f(0x14d))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a115c,0x5d81e));function a115d(a,b){const c=a115c();return a115d=function(d,e){d=d-0x13c;let f=c[d];return f;},a115d(a,b);}const a115b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a115d;if(c){const e=c[g(0x14f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a115a=a115b(this,function(){const h=a115d;return a115a[h(0x14c)]()['search'](h(0x13f))[h(0x14c)]()[h(0x148)](a115a)['search'](h(0x13f));});function a115c(){const j=['136BaPCSl','3HqDAdn','maka\x20g:dbc\x20geoserver\x20--type=pgsql','constructor','maka\x20g:api\x20trucks','maka\x20g:scaffold\x20todos','1993020LlBoGy','toString','55ilYmlu','maka\x20g:route\x20todos/edit','apply','87138MVcNLF','maka\x20{generate,\x20g}:<generator>\x20<name>','5244176tCIhPe','93662TQcTQG','Scaffold\x20various\x20parts\x20of\x20your\x20application','(((.+)+)+)+$','474KKpRGl','maka\x20g:package\x20package:name','48407LeEDXj','2987120AhmOxh','1655nYlDBU'];a115c=function(){return j;};return a115c();}a115a();import{Generator}from'../generator.js';const MakaGen=new Generator({'name':'generate','aliases':['g'],'usage':a115i(0x151),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':a115i(0x13e),'examples':['maka\x20generate:scaffold\x20todos',a115i(0x14a),'maka\x20g:template\x20todos/todo_item',a115i(0x141),a115i(0x14e),a115i(0x149),a115i(0x147)]},function(){});export default MakaGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a116m=a116d;function
|
|
1
|
+
const a116m=a116d;function a116d(a,b){const c=a116c();return a116d=function(d,e){d=d-0x126;let f=c[d];return f;},a116d(a,b);}(function(a,b){const j=a116d,c=a();while(!![]){try{const d=-parseInt(j(0x13d))/0x1+-parseInt(j(0x12b))/0x2+-parseInt(j(0x13e))/0x3*(-parseInt(j(0x133))/0x4)+parseInt(j(0x12d))/0x5*(-parseInt(j(0x149))/0x6)+parseInt(j(0x137))/0x7*(-parseInt(j(0x134))/0x8)+parseInt(j(0x12a))/0x9+parseInt(j(0x141))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a116c,0x5289e));const a116b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a116d;if(c){const e=c[k(0x129)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a116a=a116b(this,function(){const l=a116d;return a116a[l(0x13c)]()[l(0x126)](l(0x136))[l(0x13c)]()[l(0x13a)](a116a)[l(0x126)]('(((.+)+)+)+$');});a116a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a116m(0x127)]({'name':a116m(0x12f),'aliases':['m'],'usage':a116m(0x138),'checkWhere':!![],'shortDesc':a116m(0x132),'validOpts':[a116m(0x148)],'examples':['maka\x20g:method\x20todos']},async function(a,b){const n=a116m;try{const c=this[n(0x128)][n(0x13f)]();await this['fsi']['withValue'](c,async()=>{const o=n,d=paramCase(b['resourceName']),f={'name':b['resourceName'],'fileName':d,'className':pascalCase(b[o(0x139)]),'camelCase':camelCase(b[o(0x139)]),'noRename':!![]};let g='js';c[o(0x13b)]['js']==='tsx'&&(g='ts');await this[o(0x128)][o(0x12e)]([o(0x130),o(0x14b),o(0x147)],{'shouldInstall':!![]}),await this[o(0x128)][o(0x145)]({'srcPath':o(0x131),'destPath':this[o(0x128)][o(0x135)]({'pathParts':[o(0x14a),o(0x140),b[o(0x144)],o(0x12c),b['dir'],d+o(0x142)+g]}),'context':f,'config':c});const h=b['dir']?'/'+b[o(0x148)]+'/':'/',i=this[o(0x128)][o(0x135)]({'pathParts':[o(0x14a),'startup',b[o(0x144)],'index.'+c[o(0x13b)]['js']]});await this['fsi'][o(0x143)]({'filePath':i,'content':o(0x146)+h+d+'-rpc-method\x27;'});});}catch(d){Log['error'](d);}});function a116c(){const p=['template','import\x20\x27./methods','mdg:validated-method','dir','24162kAWIgF','imports','ddp-rate-limiter','search','create','fsi','apply','2716848msqZSw','229492KtxJYj','methods','355UcxfPP','checkMeteorPackage','method','maka:check','method/method.js','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','4zRcDyC','5105648YwscBQ','pathFromApp','(((.+)+)+)+$','7toeQZc','maka\x20{generate,\x20g}:{method,\x20m}\x20name','resourceName','constructor','engines','toString','398656eBRyCf','1692399zZKire','getMakaProjectConfig','startup','9095980sRqHBb','-rpc-method.','injectAtEndOfFile','appPathPrefix'];a116c=function(){return p;};return a116c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a117o=a117d;(function(a,b){const l=a117d,c=a();while(!![]){try{const d=-parseInt(l(0x18a))/0x1*(-parseInt(l(0x19d))/0x2)+-parseInt(l(0x18c))/0x3+parseInt(l(0x19f))/0x4+parseInt(l(0x198))/0x5*(-parseInt(l(0x1a8))/0x6)+-parseInt(l(0x18d))/0x7*(parseInt(l(0x1a6))/0x8)+-parseInt(l(0x18f))/0x9*(parseInt(l(0x19e))/0xa)+parseInt(l(0x1a3))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0x6e6d6));const a117b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a117d;if(c){const e=c[m(0x1a7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){const n=a117d;return a117a[n(0x195)]()[n(0x18e)](n(0x1a9))[n(0x195)]()[n(0x19c)](a117a)[n(0x18e)](n(0x1a9));});function a117c(){const r=['37933CimVww','search','54QFoWsy','layout','graphql','/package.js','.js','template','toString','create','template/template.js','5WwqiQe','tests/server','client','component','constructor','614oNzKCf','1258110zcgjRp','937252SlSUKr','lib','store','resourceName','28244051oMhhog','fsi','relative','1192yiBuEu','apply','2735862hBvFmv','(((.+)+)+)+$','tests/client','hasOwnProperty','engines','package.js','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','getMakaProjectConfig','package','package/','pathFromApp','features','dir','noRename','682fYndru','packages','1622232SGOPYW'];a117c=function(){return r;};return a117c();}a117a();import a117e from'path';import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0x180;let f=c[d];return f;},a117d(a,b);}Generator[a117o(0x196)]({'name':a117o(0x184),'aliases':['p'],'usage':'maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','shortDesc':a117o(0x182),'validOpts':[a117o(0x188)],'examples':['maka\x20g:package\x20todos:package']},async function(a,b){const p=a117o,c=paramCase(b[p(0x1a2)]),d=this['fsi'][p(0x186)]({'pathParts':[p(0x18b),b[p(0x188)],c]}),e=this[p(0x1a4)]['pathFromAppWithNoReWrite']({'pathParts':[p(0x18b),b[p(0x188)],c,p(0x181)]}),f=this[p(0x1a4)][p(0x183)]();await this[p(0x1a4)]['withValue'](f,async()=>{const q=p,g={'name':paramCase(b['resourceName']),'myPath':a117e[q(0x1a5)](this[q(0x1a4)]['pathFromProject']({}),d),'cssCaseName':paramCase(b['resourceName']),'className':pascalCase(b[q(0x1a2)]),'camelCaseName':camelCase(b['resourceName']),'fileName':c,'client':f[q(0x180)][q(0x19a)],'graphql':f['engines'][q(0x191)],'ssr':f[q(0x180)]['ssr'],'isComponent':b[q(0x1ab)](q(0x19b)),'isLayout':b[q(0x1ab)](q(0x190)),'isStore':b[q(0x1ab)](q(0x1a1)),'features':f[q(0x187)],'noRename':!![],'theme':f['engines']['theme']};await this[q(0x1a4)][q(0x194)]({'srcPath':'package/package.js','destPath':e,'context':g,'config':f}),g[q(0x189)]=![];const h=d+'/client/'+c+q(0x193);await this[q(0x1a4)][q(0x194)]({'srcPath':q(0x197),'destPath':h,'context':g,'config':f});const i=[q(0x1a0),'server',q(0x1aa),q(0x199)];for(const j of i){const k=d+'/'+j+'/'+c+'.js';await this[q(0x1a4)][q(0x194)]({'srcPath':q(0x185)+j+q(0x192),'destPath':k,'context':g,'config':f});}});});
|