@maka/maka-cli 4.7.4 → 4.7.6
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 +2 -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 -0
- package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -0
- package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -0
- 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/templates/react/kit/esri/map/basic-map.js.jsx +27 -0
- package/bundle/obf/src/templates/react/kit/esri/map/basic-map.js.tsx +30 -0
- package/bundle/obf/src/templates/react/kit/mui/frame/app-bars/basic-app-bar.js.jsx +1 -1
- package/bundle/obf/src/templates/react/kit/mui/frame/app-bars/basic-app-bar.js.tsx +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 +2 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a99w=a99d;(function(a,b){const u=a99d,c=a();while(!![]){try{const d=-parseInt(u(0x115))/0x1+-parseInt(u(0x128))/0x2+-parseInt(u(0x10a))/0x3*(parseInt(u(0x12c))/0x4)+parseInt(u(0x126))/0x5*(parseInt(u(0x159))/0x6)+-parseInt(u(0x15a))/0x7+-parseInt(u(0x157))/0x8*(parseInt(u(0x155))/0x9)+parseInt(u(0x121))/0xa*(parseInt(u(0x10c))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a99c,0x90436));const a99b=(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;};}()),a99a=a99b(this,function(){const v=a99d;return a99a[v(0x109)]()[v(0x15f)](v(0x14f))[v(0x109)]()[v(0x138)](a99a)[v(0x15f)](v(0x14f));});a99a();import{Generator}from'../generator.js';function a99d(a,b){const c=a99c();return a99d=function(d,e){d=d-0x109;let f=c[d];return f;},a99d(a,b);}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['create']({'name':a99w(0x146),'aliases':['a'],'usage':a99w(0x14e),'shortDesc':a99w(0x13b),'validOpts':[a99w(0x11f)],'examples':['maka\x20g:api\x20Todos'],'description':a99w(0x158)},async function(a,b){const x=a99w;try{const c=this[x(0x14a)]['getMakaProjectConfig'](),d=[{'name':x(0x12b),'value':x(0x137)},{'name':'Fixtures','value':x(0x110)},{'name':x(0x118),'value':x(0x12e)}];c[x(0x133)][x(0x146)]===x(0x135)&&d[x(0x15d)]({'name':x(0x116),'value':x(0x134)});c['engines'][x(0x117)]===x(0x10b)&&d[x(0x15d)]({'name':x(0x147),'value':'withGql'});const f={'type':x(0x15b),'name':x(0x131),'message':x(0x14b),'pageSize':0x64,'choices':d},{apiAnswers:g}=await Actions[x(0x143)](f);g[x(0x141)]===0x0&&(Log['error'](x(0x151)),process[x(0x15e)](0x1)),await this['fsi'][x(0x14c)](c,async()=>{const y=x,h=b[y(0x13a)],i=paramCase(h),j=camelCase(h),k=b['dir']?'/'+b[y(0x11f)]+'/':'/',l={'name':pascalCase(h),'fileName':i,'camelCase':pascalCase(h),'optsDir':k,'api':c['engines']['api'],'graphql':c[y(0x133)][y(0x117)],'test':c['engines'][y(0x13f)],'noRename':!![],'withPubs':g['includes']('withPubs'),'withFixtures':g[y(0x130)](y(0x110)),'withMethods':g[y(0x130)]('withMethods'),'withRest':g[y(0x130)]('withRest')};let m='js';c[y(0x133)]['js']===y(0x13e)&&(m='ts');await this[y(0x14a)][y(0x11e)]([y(0x154),y(0x150),y(0x13d),y(0x15c),'mongo'],{'shouldInstall':!![]}),await a99e[y(0x156)]('collection',[i],{'config':c,'where':y(0x12d)});c[y(0x133)][y(0x146)]===y(0x135)&&(l[y(0x134)]&&await this[y(0x14a)][y(0x142)]({'srcPath':y(0x111),'destPath':this['fsi'][y(0x13c)]({'pathParts':[y(0x10d),'api',b[y(0x11f)],i,y(0x129)+m]}),'context':l,'config':c}));l[y(0x137)]&&await this[y(0x14a)][y(0x142)]({'srcPath':y(0x14d),'destPath':this[y(0x14a)][y(0x13c)]({'pathParts':['imports',y(0x146),b['dir'],i,y(0x161)+m]}),'context':l,'config':c});l[y(0x110)]&&await this['fsi'][y(0x142)]({'srcPath':y(0x140),'destPath':this['fsi'][y(0x13c)]({'pathParts':['imports',y(0x146),b[y(0x11f)],i,'fixtures.'+m]}),'context':l,'config':c});c['engines'][y(0x13f)]!==y(0x139)&&this[y(0x14a)]['template']({'srcPath':y(0x136),'destPath':this[y(0x14a)][y(0x13c)]({'pathParts':[y(0x10d),y(0x146),b[y(0x11f)],i,i+'.app-tests.'+m]}),'context':l,'config':c});l[y(0x12e)]&&await this[y(0x14a)][y(0x142)]({'srcPath':y(0x11b),'destPath':this[y(0x14a)][y(0x13c)]({'pathParts':[y(0x10d),y(0x146),b['dir'],i,y(0x11d)+m]}),'context':l,'config':c});if(c['engines'][y(0x117)]===y(0x10b)){if(g['includes']('withGql')){const o=this['fsi'][y(0x13c)]({'pathParts':[y(0x10d),'startup','server',y(0x119)+c[y(0x133)]['js']]}),p=this[y(0x14a)]['rewriteDestinationPathForEngine']({'pathParts':[o],'config':c}),q=this[y(0x14a)][y(0x13c)]({'pathParts':[y(0x10d),y(0x146),b[y(0x11f)],i,y(0x117),y(0x127)+m]}),r='/imports/api'+k+i+y(0x132);this[y(0x14a)][y(0x142)]({'srcPath':y(0x124),'destPath':q,'context':l,'config':c}),await this['fsi'][y(0x160)]({'filePath':p,'content':y(0x11c)+j+y(0x145)+r+y(0x144)}),await this[y(0x14a)][y(0x113)]({'filePath':p,'content':y(0x152)+j+y(0x12f),'begin':y(0x12a),'end':y(0x149)});const s=this[y(0x14a)]['pathFromApp']({'pathParts':[y(0x10d),y(0x146),b[y(0x11f)],i,'graphql',y(0x10e)+m]}),t=y(0x112)+k+i+'/graphql/resolvers';await this[y(0x14a)][y(0x142)]({'srcPath':'api/resolvers.js','destPath':s,'context':l,'config':c}),await this[y(0x14a)]['injectAtBeginningOfFile']({'filePath':p,'content':y(0x114)+j+y(0x125)+t+'\x27;'}),await this[y(0x14a)][y(0x113)]({'filePath':p,'content':'resolverList.push('+j+y(0x11a),'begin':y(0x12a),'end':y(0x149)});}}await this[y(0x14a)][y(0x142)]({'srcPath':y(0x123),'destPath':this[y(0x14a)]['pathFromApp']({'pathParts':[y(0x10d),y(0x120),y(0x12d),y(0x148)+i+'-api.'+m]}),'context':l,'config':c,'force':!![]});const n=this['fsi'][y(0x13c)]({'pathParts':[y(0x10d),y(0x120),y(0x12d),y(0x119)+c[y(0x133)]['js']]});await this[y(0x14a)][y(0x10f)]({'filePath':n,'content':'import\x20\x27./register-'+i+y(0x153)});});}catch(h){console[x(0x122)](h),process[x(0x15e)](0x0);}});function a99c(){const z=['typeList.push(','-api\x27;','maka:rest','603vaVUTG','processAndRunGenerator','96464dkNbEl','\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','6DxalqG','835135vrewyx','checkbox','mdg:validated-method','push','exit','search','injectAtBeginningOfFile','rpc-methods.','toString','212847HodPfT','apollo','94237POYUZq','imports','resolvers.','injectAtEndOfFile','withFixtures','api/api.js','/imports/api','injectIntoFile','\x0aimport\x20{\x20resolvers\x20as\x20','975138gUlRty','REST\x20API','graphql','Publications','index.','Resolvers);\x0a\x0a','api/publications.js','import\x20{\x20typeDefs\x20as\x20','publications.','checkMeteorPackage','dir','startup','2910vfBsqq','error','api/register-api.js','api/typeDefs.js','Resolvers\x20}\x20from\x20\x27','3825355EjcEZF','typeDefs.','678286vzHLzK','rest-api.','const','RPC\x20(Methods)','24VqEyMU','server','withPubs','TypeDefs);\x0a','includes','apiAnswers','/graphql/typeDefs','engines','withRest','rest','api/tests.js','withMethods','constructor','none','resourceName','Scaffolding\x20for\x20an\x20api\x20concept\x20(i.e.\x20Todos).','pathFromApp','ddp-rate-limiter','tsx','test','api/fixtures.js','length','template','options','\x27;\x0a','TypeDefs\x20}\x20from\x20\x27','api','GraphQL','register-','if\x20\x5c(typeList','fsi','API\x20boundaries\x20to\x20create','withValue','api/methods.js','maka\x20{generate,\x20g}:{api}\x20<resource-name>','(((.+)+)+)+$','maka:check','No\x20API\x20boundaries\x20selected'];a99c=function(){return z;};return a99c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a100c(){const
|
|
1
|
+
function a100c(){const o=['mongo','8464827LyTWcR','engines','10344320fQuXWA','startup','collection','create','withValue','collection/collection.js','9swIcgP','toString','maka\x20{generate,\x20g}:{collection,\x20col}\x20<name>','resourceName','18446373COucPV','5195715cJWEXi','maka\x20g:collection\x20todos','index.','2kjPMVj','30ZigtpT','collections','(((.+)+)+)+$','where','imports','none','fsi','constructor','checkMeteorPackage','test','dir','631223czEesh','1161224PLzYqx','injectAtEndOfFile','template','2209482VcDbwl','getMakaProjectConfig','error','appPathPrefix','\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','pathFromApp','maka:check','tsx'];a100c=function(){return o;};return a100c();}const a100l=a100d;(function(a,b){const j=a100d,c=a();while(!![]){try{const d=-parseInt(j(0x1a0))/0x1*(parseInt(j(0x1bd))/0x2)+-parseInt(j(0x1b5))/0x3*(parseInt(j(0x1a1))/0x4)+-parseInt(j(0x1ba))/0x5+-parseInt(j(0x1a4))/0x6+-parseInt(j(0x1ad))/0x7+-parseInt(j(0x1af))/0x8+-parseInt(j(0x1b9))/0x9*(-parseInt(j(0x195))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a100c,0xb3ebf));function a100d(a,b){const c=a100c();return a100d=function(d,e){d=d-0x195;let f=c[d];return f;},a100d(a,b);}const a100b=(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;};}()),a100a=a100b(this,function(){const k=a100d;return a100a[k(0x1b6)]()['search'](k(0x197))['toString']()[k(0x19c)](a100a)['search'](k(0x197));});a100a();import{paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator[a100l(0x1b2)]({'name':a100l(0x1b1),'aliases':['col'],'usage':a100l(0x1b7),'checkWhere':!![],'shortDesc':'Scaffolding\x20for\x20a\x20Meteor\x20(Mongo)\x20Collection','validOpts':[a100l(0x19f),'where'],'description':a100l(0x1a8),'examples':[a100l(0x1bb)]},async function(a,b){const m=a100l;try{const c=this[m(0x19b)][m(0x1a5)]();await this[m(0x19b)][m(0x1b3)](c,async()=>{const n=m,d=paramCase(b[n(0x1b8)]),f={'name':pascalCase(b[n(0x1b8)]),'collectionName':pascalCase(b['resourceName']),'fileName':d,'where':b[n(0x198)],'test':c[n(0x1ae)][n(0x19e)],'noRename':!![]};let g='js';c['engines']['js']===n(0x1ab)&&(g='ts');await this[n(0x19b)][n(0x19d)]([n(0x1ac),n(0x1aa)],{'shouldInstall':!![]}),await this['fsi']['template']({'srcPath':n(0x1b4),'destPath':this[n(0x19b)][n(0x1a9)]({'pathParts':[n(0x199),n(0x1b0),b['appPathPrefix'],n(0x196),b['dir'],d+'.'+g]}),'context':f,'config':c});c[n(0x1ae)][n(0x19e)]!==n(0x19a)&&await this[n(0x19b)][n(0x1a3)]({'srcPath':'collection/tests.js','destPath':this[n(0x19b)][n(0x1a9)]({'pathParts':['imports',n(0x1b0),b[n(0x1a7)],n(0x196),b[n(0x19f)],d+'.app-tests.'+g]}),'context':f,'config':c});const h=b[n(0x19f)]?'/'+b[n(0x19f)]+'/':'/',i=this[n(0x19b)]['pathFromApp']({'pathParts':[n(0x199),n(0x1b0),b[n(0x1a7)],n(0x1bc)+c[n(0x1ae)]['js']]});await this[n(0x19b)][n(0x1a2)]({'filePath':i,'content':'import\x20\x27./collections'+h+d+'\x27;'});});}catch(d){Log[m(0x1a6)](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a101n=a101d;
|
|
1
|
+
const a101n=a101d;(function(a,b){const k=a101d,c=a();while(!![]){try{const d=-parseInt(k(0x1cc))/0x1+parseInt(k(0x1bb))/0x2*(parseInt(k(0x1d2))/0x3)+-parseInt(k(0x1e1))/0x4+-parseInt(k(0x1d4))/0x5*(parseInt(k(0x1ae))/0x6)+-parseInt(k(0x1c2))/0x7+-parseInt(k(0x1b7))/0x8*(parseInt(k(0x1dc))/0x9)+parseInt(k(0x1d3))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a101c,0x36ff7));const a101b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a101d;if(c){const e=c[l(0x1c1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a101a=a101b(this,function(){const m=a101d;return a101a[m(0x1c5)]()[m(0x1b6)](m(0x1bf))[m(0x1c5)]()[m(0x1c4)](a101a)[m(0x1b6)](m(0x1bf));});a101a();import a101e from'path';import{camelCase,paramCase,pascalCase}from'change-case';function a101c(){const q=['baseDir','36GNXAmz','.tests.js','ramda','className','ssr','989660GqYnkO','hooks','pages','assign','dir','cssCaseName','comp','layouts','component','150VLHkjO','none','template','string','features','create','checkNpmPackage','maka\x20{generate,\x20g}:{comp}\x20[path/]<name>','search','743944AJgJoL','withValue','pathFromApp','engines','5164jgmPbf','client','/imports/ui/components','injectTemplateModule','(((.+)+)+)+$','error','apply','1611953cQilAS','injectAtBeginningOfFile','constructor','toString','graphql','withTranslations','test','/imports/ui/','setTemplate','.css','34470XCqAqo','theme','component/component.js','css','relative','root','15ErVRBq','11117720uoRWtH','3055aahxJG','react','api','fsi','fileName','resourceName','true'];a101c=function(){return q;};return a101c();}import{Generator}from'../generator.js';function a101d(a,b){const c=a101c();return a101d=function(d,e){d=d-0x1a7;let f=c[d];return f;},a101d(a,b);}import{Log}from'../tools/log/log.class.js';const aliases=[a101n(0x1ab)];Generator[a101n(0x1b3)]({'name':a101n(0x1ad),'aliases':aliases,'usage':a101n(0x1b5),'shortDesc':'Scaffolding\x20for\x20a\x20React\x20Component.\x0ahttps://reactjs.org/docs/react-component.html','validOpts':[{'name':'baseDir','values':[a101n(0x1e2),'components',a101n(0x1a7),a101n(0x1ac)]}],'examples':['maka\x20g:comp\x20todos/todos-item']},async function(a,b){const o=a101n;try{const c=this['fsi']['findAppDirectory'](),d=b['baseDir']?o(0x1c9)+b[o(0x1db)]:o(0x1bd),f=this['fsi'][o(0x1b9)]({'pathParts':[d,b[o(0x1a9)],paramCase(b[o(0x1d9)]),paramCase(b[o(0x1d9)])]}),g=await this[o(0x1d7)]['getMakaProjectConfig']();await this['fsi'][o(0x1b8)](g,async()=>{const p=o;typeof g[p(0x1b0)][p(0x1c8)]===p(0x1b1)&&(g['template'][p(0x1c8)]=g['template'][p(0x1c8)]===p(0x1da)?!![]:![],this['fsi'][p(0x1ca)]('test',g[p(0x1b0)][p(0x1c8)]));typeof g[p(0x1b0)][p(0x1cf)]===p(0x1b1)&&(g[p(0x1b0)]['css']=g[p(0x1b0)]['css']==='true'?!![]:![],this['fsi'][p(0x1ca)](p(0x1cf),g['template'][p(0x1cf)]));typeof g[p(0x1b0)]['js']===p(0x1b1)&&(g[p(0x1b0)]['js']=g[p(0x1b0)]['js']===p(0x1da)?!![]:![],this['fsi']['setTemplate']('js',g['template']['js']));!g[p(0x1b2)]&&(g[p(0x1b2)]={});!b[p(0x1d1)]&&!this[p(0x1d7)]['checkNpmPackage'](p(0x1de))&&(Log['warn']('Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...'),await this[p(0x1d7)]['installNpmPackage'](p(0x1de),{'cwd':c}));if(!b['root']&&!this[p(0x1d7)][p(0x1b4)]('react')){Log[p(0x1c0)]('This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator');return;}const h={'name':pascalCase(b[p(0x1d9)]),'myPath':a101e[p(0x1d0)](this[p(0x1d7)]['pathFromProject']({}),f),'cssCaseName':paramCase(b[p(0x1d9)]),'className':pascalCase(b['resourceName']),'camelCaseName':camelCase(b[p(0x1d9)]),'fileName':paramCase(b[p(0x1d9)]),'graphql':g[p(0x1ba)][p(0x1c6)],'features':g[p(0x1b2)],'client':g['engines'][p(0x1bc)],'api':g[p(0x1ba)][p(0x1d6)],'ssr':g[p(0x1ba)][p(0x1e0)],'test':g[p(0x1ba)][p(0x1c8)],'theme':g['engines'][p(0x1cd)],'isLayout':![],'isComponent':!![],'withTranslations':g[p(0x1b2)][p(0x1c7)]};await this['fsi'][p(0x1b0)]({'srcPath':p(0x1ce),'destPath':f+'.js','context':h,'framework':p(0x1d5),'config':g});g[p(0x1ba)][p(0x1c8)]!==p(0x1af)&&await this['fsi']['template']({'srcPath':'test/test.js','destPath':f+p(0x1dd),'context':h,'framework':p(0x1d5),'config':g});g[p(0x1b0)][p(0x1cf)]&&(await this[p(0x1d7)]['template']({'srcPath':'template/template.css','destPath':f+p(0x1cb),'context':Object[p(0x1a8)]({},h,{'className':paramCase(b['resourceName'])}),'config':g}),await this[p(0x1d7)][p(0x1c3)]({'filePath':f+'.'+g['engines']['js'],'content':'import\x20\x27./'+h[p(0x1aa)]+'.'+g['engines']['css']+'\x27;'}));const i=b[p(0x1a9)]?'/'+b[p(0x1a9)]+'/':'/',j=''+d+i+h[p(0x1d8)]+'/'+h[p(0x1d8)];await this[p(0x1d7)][p(0x1be)](h[p(0x1df)],g,j);});}catch(h){Log[o(0x1c0)](h);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a102k=a102d;(function(a,b){const h=a102d,c=a();while(!![]){try{const d=-parseInt(h(
|
|
1
|
+
const a102k=a102d;function a102d(a,b){const c=a102c();return a102d=function(d,e){d=d-0x187;let f=c[d];return f;},a102d(a,b);}function a102c(){const n=['getMakaProjectConfig','5557758GTrGTv','maka\x20{generate,\x20g}:{config}\x20<name>','3330753XBxCgi','dev','search','config/settings.json','create','4835896hnEuCV','prod','config','appName','(((.+)+)+)+$','template','326001SvoFDc','fsi','11087757cbyYAC','4445sYRxvV','7uBjeOS','production','pathFromProject','process.env','30bhMjwc','resourceName','toString','apply','5460xYddLW','withValue','204270QKaCLA','isDocker'];a102c=function(){return n;};return a102c();}(function(a,b){const h=a102d,c=a();while(!![]){try{const d=-parseInt(h(0x189))/0x1+-parseInt(h(0x197))/0x2+-parseInt(h(0x19c))/0x3+-parseInt(h(0x195))/0x4*(parseInt(h(0x18c))/0x5)+parseInt(h(0x19a))/0x6*(-parseInt(h(0x18d))/0x7)+parseInt(h(0x1a1))/0x8+-parseInt(h(0x18b))/0x9*(-parseInt(h(0x191))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a102c,0x97ea1));const a102b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a102d;if(c){const e=c[i(0x194)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a102a=a102b(this,function(){const j=a102d;return a102a['toString']()[j(0x19e)](j(0x187))[j(0x193)]()['constructor'](a102a)['search']('(((.+)+)+)+$');});a102a();import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a102k(0x1a0)]({'name':'config','usage':a102k(0x19b),'shortDesc':'Generate\x20configuration\x20settings.','validOpts':[a102k(0x198)],'examples':['maka\x20g:config\x20production']},async function(a,b){const l=a102k,c=this[l(0x18a)][l(0x199)]();await this['fsi'][l(0x196)](c,async()=>{const m=l,d={'app':c[m(0x1a4)],'appFileCase':paramCase(c[m(0x1a4)]),'name':pascalCase(b[m(0x192)]),'fileName':paramCase(b[m(0x192)]),'camelCase':camelCase(b[m(0x192)]),'userName':'ubuntu','isDocker':b[m(0x198)]};let e=b[m(0x192)];if(e===m(0x19d))e='development';else e===m(0x1a2)&&(e=m(0x18e));const f=this[m(0x18a)]['pathFromProject']({'pathParts':[m(0x1a3),e,'settings.json']});await this[m(0x18a)][m(0x188)]({'srcPath':m(0x19f),'destPath':f,'context':d,'config':c});if(!b[m(0x198)]){const g=this[m(0x18a)][m(0x18f)]({'pathParts':[m(0x1a3),e,m(0x190)]});await this[m(0x18a)][m(0x188)]({'srcPath':'config/process.env','destPath':g,'context':d,'config':c});}});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a103m=a103d;(function(a,b){const j=a103d,c=a();while(!![]){try{const d
|
|
1
|
+
const a103m=a103d;(function(a,b){const j=a103d,c=a();while(!![]){try{const d=-parseInt(j(0xeb))/0x1*(parseInt(j(0xed))/0x2)+parseInt(j(0x101))/0x3+parseInt(j(0xf9))/0x4+-parseInt(j(0xfe))/0x5*(parseInt(j(0x10b))/0x6)+parseInt(j(0x10a))/0x7+-parseInt(j(0xe1))/0x8*(-parseInt(j(0xfc))/0x9)+parseInt(j(0xe9))/0xa*(-parseInt(j(0xe3))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a103c,0x2c7c0));function a103c(){const p=['1513656hmTVIn','injectAtEndOfFile','1294255gVOuNT','toString','engines','731052xROvnO','startup','template','type','maka\x20g:dbc\x20todos\x20--type=sqlite','index.','dir','checkNpmPackage','(((.+)+)+)+$','892171snmiiz','6ZFtNGc','search','import\x20\x27./register-','config.','register-','create','apply','withValue','server','8CPYtdX','resourceName','11mTopxf','maka\x20g:dbc\x20azure\x20--type=mssql','Npm\x20package\x20\x22mssql\x22\x20not\x20installed,\x20installing...','constructor','fsi','dbc','2713940Xbnthv','warn','1102FjXgVe','sqlite','26owCNuJ','pgsql','error','Scaffolding\x20for\x20creating\x20a\x20for\x20a\x20database\x20connection.','conn.','imports','maka\x20g:dbc\x20geoserver\x20--type=pgsql','Npm\x20package\x20\x22better-sqlite3\x22\x20not\x20installed,\x20installing...','dbc/conn.js','installNpmPackage','mssql','better-sqlite3','749832pMCJRp','pathFromApp','Npm\x20package\x20\x22pg\x22\x20not\x20installed,\x20installing...'];a103c=function(){return p;};return a103c();}const a103b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a103d;if(c){const e=c[k(0x111)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a103a=a103b(this,function(){const l=a103d;return a103a[l(0xff)]()[l(0x10c)](l(0x109))[l(0xff)]()[l(0xe6)](a103a)[l(0x10c)](l(0x109));});a103a();import{camelCase,paramCase,pascalCase}from'change-case';function a103d(a,b){const c=a103c();return a103d=function(d,e){d=d-0xe0;let f=c[d];return f;},a103d(a,b);}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator[a103m(0x110)]({'name':a103m(0xe8),'usage':'maka\x20{generate,\x20g}:{dbc}\x20<connection-name>','shortDesc':a103m(0xf0),'validOpts':['dir'],'mustBeInMakaProject':!![],'requiredOpts':[{'name':a103m(0x104),'values':[a103m(0xee),'mssql',a103m(0xec)]}],'examples':[a103m(0xf3),a103m(0xe4),a103m(0x105)]},async function(a,b){const n=a103m;try{const c=await this[n(0xe7)]['getMakaProjectConfig'](),d=this[n(0xe7)][n(0xfa)]({}),f=paramCase(b[n(0xe2)]),g={'name':pascalCase(b[n(0xe2)]),'fileName':paramCase(b['resourceName']),'camelCase':camelCase(b[n(0xe2)]),'type':b[n(0x104)],'engine':c[n(0x100)]['js'],'noRename':!![]};await this[n(0xe7)][n(0x112)](c,async()=>{const o=n;let h='js';c['engines']['js']==='tsx'&&(h='ts');b[o(0x104)]===o(0xee)&&!this[o(0xe7)]['checkNpmPackage']('pg')&&(Log['warn'](o(0xfb)),await this[o(0xe7)][o(0xf6)]('pg',{'cwd':d}));b[o(0x104)]===o(0xf7)&&!this[o(0xe7)]['checkNpmPackage']('mssql')&&(Log[o(0xea)](o(0xe5)),await this[o(0xe7)][o(0xf6)](o(0xf7),{'cwd':d}));b['type']==='sqlite'&&!this[o(0xe7)][o(0x108)](o(0xf8))&&(Log[o(0xea)](o(0xf4)),await this[o(0xe7)][o(0xf6)](o(0xf8),{'cwd':d}));await this[o(0xe7)]['template']({'srcPath':'dbc/config.js','destPath':this[o(0xe7)][o(0xfa)]({'pathParts':[o(0xf2),o(0x102),o(0xe0),o(0xe8),b[o(0x107)],f,o(0x10e)+h]}),'context':g,'config':c}),await this['fsi'][o(0x103)]({'srcPath':o(0xf5),'destPath':this['fsi'][o(0xfa)]({'pathParts':[o(0xf2),'startup',o(0xe0),o(0xe8),b[o(0x107)],f,o(0xf1)+h]}),'context':g,'config':c}),await this['fsi'][o(0x103)]({'srcPath':'dbc/register-dbc.js','destPath':this['fsi'][o(0xfa)]({'pathParts':[o(0xf2),o(0x102),'server',o(0x10f)+f+'-dbc.'+h]}),'context':g,'config':c});const i=this[o(0xe7)][o(0xfa)]({'pathParts':[o(0xf2),o(0x102),o(0xe0),o(0x106)+c['engines']['js']]});await this[o(0xe7)][o(0xfd)]({'filePath':i,'content':o(0x10d)+f+'-dbc\x27;'});});}catch(h){Log[n(0xef)](h);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a104i=a104d;(function(a,b){const f=a104d,c=a();while(!![]){try{const d=-parseInt(f(
|
|
1
|
+
function a104d(a,b){const c=a104c();return a104d=function(d,e){d=d-0x1dd;let f=c[d];return f;},a104d(a,b);}const a104i=a104d;(function(a,b){const f=a104d,c=a();while(!![]){try{const d=-parseInt(f(0x1f2))/0x1*(-parseInt(f(0x1e7))/0x2)+parseInt(f(0x1e9))/0x3+parseInt(f(0x1e3))/0x4+parseInt(f(0x1ee))/0x5*(-parseInt(f(0x1e4))/0x6)+-parseInt(f(0x1f0))/0x7+parseInt(f(0x1ed))/0x8+parseInt(f(0x1f5))/0x9*(-parseInt(f(0x1e2))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a104c,0xc5813));const a104b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a104d;if(c){const e=c[g(0x1eb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a104a=a104b(this,function(){const h=a104d;return a104a['toString']()['search'](h(0x1de))[h(0x1f7)]()[h(0x1fa)](a104a)[h(0x1f8)](h(0x1de));});function a104c(){const l=['constructor','Dockerfile','(((.+)+)+)+$','cert','maka\x20g:dockerfile','findProjectDirectory','310GEZfMS','4580684KhBhpR','6576rTyUwn','app','create','8rHbyTq','docker/Dockerfile','1923375NUkOdF','service','apply','fsi','11109200siWIAK','3520tQkmpa','app.tar.gz','4863040ClpqFD','dockerfile','371594ESFNKh','build','maka\x20{generate,\x20g}:dockerfile','692721VejvrK','getGlobalConfig','toString','search','appName'];a104c=function(){return l;};return a104c();}a104a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import a104e from'path';Generator[a104i(0x1e6)]({'name':a104i(0x1f1),'usage':a104i(0x1f4),'shortDesc':'Generate\x20an\x20updated\x20dockerfile','validOpts':[],'noNeedResource':!![],'examples':[a104i(0x1e0)]},async function(){const j=a104i;try{const a=await this['fsi']['getMakaProjectConfig'](),b=await this['fsi'][j(0x1f6)](),c=this[j(0x1ec)][j(0x1e1)]();await this[j(0x1ec)]['withValue'](a,async()=>{const k=j,d={'app':b[k(0x1f9)],'config':a,'appPath':a104e['join'](c,k(0x1e5)),'bundlePath':a104e['join'](c,k(0x1f3),k(0x1ef)),'useCert':this['fsi']['isFile'](b[k(0x1df)])};await this[k(0x1ec)]['template']({'srcPath':k(0x1e8),'destPath':a104e['join'](c,k(0x1dd)),'framework':k(0x1ea),'context':d,'config':a});});}catch(d){Log['error'](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a105d(a,b){const c=a105c();return a105d=function(d,e){d=d-
|
|
1
|
+
function a105d(a,b){const c=a105c();return a105d=function(d,e){d=d-0xb0;let f=c[d];return f;},a105d(a,b);}const a105n=a105d;(function(a,b){const l=a105d,c=a();while(!![]){try{const d=parseInt(l(0xc4))/0x1*(parseInt(l(0xb9))/0x2)+parseInt(l(0xc9))/0x3+-parseInt(l(0xbd))/0x4+parseInt(l(0xc7))/0x5+-parseInt(l(0xd0))/0x6*(-parseInt(l(0xe0))/0x7)+-parseInt(l(0xbf))/0x8*(-parseInt(l(0xb6))/0x9)+parseInt(l(0xd9))/0xa*(-parseInt(l(0xb3))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a105c,0xcdeb2));const a105b=(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;};}()),a105a=a105b(this,function(){const m=a105d;return a105a['toString']()[m(0xba)](m(0xf0))['toString']()[m(0xc1)](a105a)[m(0xba)](m(0xf0));});a105a();import a105e from'path';function a105c(){const q=['\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','create','hooks','pathFromApp','29238wfrUrV','theme','fsi','className','test/test.js','setTemplate','getMakaProjectConfig','engines','layouts','1074510dsQjxT','warn','/imports/ui/','injectTemplateModule','force','withTranslations','string','1267rTjbRh','assign','injectAtBeginningOfFile','pages','checkNpmPackage','resourceName','features','template','react','hook/hook.js','fileName','maka\x20g:hook\x20cool-hook','dir','@apollo/client','error','withValue','(((.+)+)+)+$','apollo','css','pathFromProject','198HNDymR','.css','relative','9wiLfAU','cssCaseName','notice','4KGXCDT','search','/imports/ui/hooks','import\x20\x27./','351044KzUqyW','components','2837240QFAiwx','Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','constructor','.app-tests.js','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','122176lBmycv','.js','maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','4319985EIzAJm','baseDir','1560912RBqnXP','hook','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...'];a105c=function(){return q;};return a105c();}import{paramCase,pascalCase,camelCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';Generator[a105n(0xcd)]({'name':a105n(0xca),'aliases':['h'],'checkWhere':![],'usage':a105n(0xc6),'shortDesc':a105n(0xc0),'validOpts':[{'name':a105n(0xc8),'values':[a105n(0xce),a105n(0xbe),a105n(0xe3),a105n(0xd8)]},{'name':a105n(0xdd),'boolFlag':!![]}],'examples':[a105n(0xeb)],'description':a105n(0xcc)},async function(a,b){const o=a105n;Log[o(0xb8)]('Creating\x20'+b['resourceName']+'\x20hook...');try{const c=this['fsi']['checkNpmPackage']('react');if(!c){Log[o(0xee)](o(0xc3));throw new UsageError();}const d=this['fsi'][o(0xcf)](b),f=b['baseDir']?o(0xdb)+b['baseDir']:o(0xbb),g=this[o(0xd2)][o(0xcf)]({'pathParts':[f,b[o(0xec)],paramCase(b[o(0xe5)]),paramCase(b[o(0xe5)])]}),h=await this[o(0xd2)][o(0xd6)]();await this[o(0xd2)][o(0xef)](h,async()=>{const p=o;typeof h[p(0xe7)][p(0xb1)]===p(0xdf)&&(h[p(0xe7)]['css']=h['template'][p(0xb1)]==='true'?!![]:![],this[p(0xd2)][p(0xd5)](p(0xb1),h['template'][p(0xb1)]));h[p(0xd7)]['graphql']===p(0xb0)&&!this[p(0xd2)][p(0xe4)](p(0xed))&&(Log[p(0xda)](p(0xcb)),await this[p(0xd2)]['installNpmPackage']('@apollo/client\x20isomorphic-fetch',{'cwd':d}));const i={'cssCaseName':paramCase(b[p(0xe5)]),'camelCaseName':camelCase(b[p(0xe5)]),'className':pascalCase(b['resourceName']),'name':pascalCase(b[p(0xe5)]),'graphql':h['engines']['graphql'],'theme':h[p(0xd7)][p(0xd1)],'features':h[p(0xe6)],'myPath':a105e[p(0xb5)](this[p(0xd2)][p(0xb2)]({}),g),'fileName':paramCase(b['resourceName']),'isComponent':![],'isLayout':![],'withTranslations':h[p(0xe6)][p(0xde)]};await this[p(0xd2)][p(0xe7)]({'srcPath':p(0xe9),'destPath':g+p(0xc5),'context':i,'config':h,'framework':'react','force':b[p(0xdd)]});h['template'][p(0xb1)]&&(await this[p(0xd2)]['template']({'srcPath':'template/template.css','destPath':g+p(0xb4),'context':Object[p(0xe1)]({},i,{'className':i[p(0xb7)]}),'config':h,'force':b['force']}),await this['fsi'][p(0xe2)]({'filePath':g+'.'+h[p(0xd7)]['js'],'content':p(0xbc)+i['fileName']+'.'+h[p(0xd7)][p(0xb1)]+'\x27;'}));h[p(0xd7)]['test']!=='none'&&await this[p(0xd2)]['template']({'srcPath':p(0xd4),'destPath':g+p(0xc2),'framework':p(0xe8),'context':i,'config':h,'force':b[p(0xdd)]});const j=b[p(0xec)]?'/'+b[p(0xec)]+'/':'/',k=''+f+j+i[p(0xea)]+'/'+i[p(0xea)];await this[p(0xd2)][p(0xdc)](i[p(0xd3)],h,k);});}catch(i){Log[o(0xee)](i);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a106d,c=a();while(!![]){try{var d=parseInt(f(
|
|
1
|
+
(function(a,b){var f=a106d,c=a();while(!![]){try{var d=parseInt(f(0x1a7))/0x1+parseInt(f(0x1a6))/0x2*(parseInt(f(0x1b1))/0x3)+-parseInt(f(0x1a9))/0x4+parseInt(f(0x1ac))/0x5*(-parseInt(f(0x1ae))/0x6)+-parseInt(f(0x1aa))/0x7+-parseInt(f(0x1ad))/0x8+parseInt(f(0x1a8))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a106c,0x9b728));function a106c(){var i=['apply','55xFqKSa','9529064ArOzZm','477492yBfBNQ','search','constructor','1510911DmBfUd','toString','(((.+)+)+)+$','4hfkcnm','296826vUtVcf','24905223CgNcSK','1537980JFNWYj','6885235ljQDNC'];a106c=function(){return i;};return a106c();}function a106d(a,b){var c=a106c();return a106d=function(d,e){d=d-0x1a5;var f=c[d];return f;},a106d(a,b);}var a106b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a106d;if(c){var e=c[g(0x1ab)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a106a=a106b(this,function(){var h=a106d;return a106a['toString']()[h(0x1af)](h(0x1a5))[h(0x1b2)]()[h(0x1b0)](a106a)[h(0x1af)]('(((.+)+)+)+$');});a106a();import'./kit.js';import'./mui/_index.js';import'./esri/_index.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(function(a,b){var f=a107d,c=a();while(!![]){try{var d=parseInt(f(0x10f))/0x1*(-parseInt(f(0x113))/0x2)+parseInt(f(0x110))/0x3+-parseInt(f(0x118))/0x4+parseInt(f(0x119))/0x5+-parseInt(f(0x117))/0x6+parseInt(f(0x112))/0x7*(-parseInt(f(0x11b))/0x8)+-parseInt(f(0x11a))/0x9*(-parseInt(f(0x115))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a107c,0xa9ba0));var a107b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a107d;if(c){var e=c[g(0x111)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a107a=a107b(this,function(){var h=a107d;return a107a['toString']()[h(0x10e)](h(0x116))[h(0x114)]()['constructor'](a107a)[h(0x10e)](h(0x116));});function a107c(){var i=['toString','22171660ndMUDN','(((.+)+)+)+$','1897326oHVPxU','949912PUpnfe','4436660WNcsgB','9UynyrO','4933504DbmvCE','search','17506jAGlvz','1757073SuGwCo','apply','14sJJQhN','138GCzHiU'];a107c=function(){return i;};return a107c();}a107a();import'./esri.generator.js';function a107d(a,b){var c=a107c();return a107d=function(d,e){d=d-0x10e;var f=c[d];return f;},a107d(a,b);}import'./map.esri.gen.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const a108i=a108d;(function(a,b){const f=a108d,c=a();while(!![]){try{const d=parseInt(f(0x193))/0x1+-parseInt(f(0x19c))/0x2*(parseInt(f(0x1a2))/0x3)+-parseInt(f(0x191))/0x4+-parseInt(f(0x19e))/0x5*(parseInt(f(0x196))/0x6)+-parseInt(f(0x19b))/0x7*(-parseInt(f(0x197))/0x8)+parseInt(f(0x195))/0x9+parseInt(f(0x1a1))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a108c,0xb4244));const a108b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a108d;if(c){const e=c[g(0x19f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a108a=a108b(this,function(){const h=a108d;return a108a[h(0x192)]()[h(0x19d)](h(0x199))[h(0x192)]()[h(0x1a0)](a108a)[h(0x19d)](h(0x199));});function a108d(a,b){const c=a108c();return a108d=function(d,e){d=d-0x191;let f=c[d];return f;},a108d(a,b);}a108a();function a108c(){const j=['create','(((.+)+)+)+$','Starting\x20point\x20for\x20generating\x20Esri\x20Maps','9492isyqXb','4gHkGzO','search','5pnEIfW','apply','constructor','13502640RSOXSx','1991445uSkfrK','maka\x20g:kit:e','3157516bVTgCb','toString','680257PdKKWS','\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','6778647orHeCg','3144714rePQYd','3512mQHOnc'];a108c=function(){return j;};return a108c();}import{Generator}from'../../../generator.js';import a108e from'../kit.js';const EsriGen=Generator[a108i(0x198)]({'name':'esri','aliases':['e'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','noNeedResource':!![],'shortDesc':a108i(0x19a),'validOpts':[''],'isPro':!![],'examples':[a108i(0x1a3)],'description':a108i(0x194)},async function(){throw'NIE';},a108e);export default EsriGen;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const a109s=a109d;(function(a,b){const p=a109d,c=a();while(!![]){try{const d=parseInt(p(0x12a))/0x1+-parseInt(p(0x11e))/0x2+parseInt(p(0x13a))/0x3*(-parseInt(p(0x146))/0x4)+-parseInt(p(0x140))/0x5*(-parseInt(p(0x11c))/0x6)+parseInt(p(0x138))/0x7+parseInt(p(0x139))/0x8+parseInt(p(0x14c))/0x9*(-parseInt(p(0x143))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a109c,0xb819e));const a109b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a109d;if(c){const e=c[q(0x13b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a109a=a109b(this,function(){const r=a109d;return a109a[r(0x133)]()[r(0x14a)](r(0x13d))['toString']()[r(0x125)](a109a)[r(0x14a)](r(0x13d));});a109a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';function a109d(a,b){const c=a109c();return a109d=function(d,e){d=d-0x11c;let f=c[d];return f;},a109d(a,b);}function a109c(){const v=['split','bright','constructor','engines','exit','pathFromApp','injectImport','717042NpNWFP','error','fsi','esri-loader','baseDir','REACT','<div\x20id=\x22map-hook\x22>','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','.js','toString','\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','/imports/startup/client/templates','FALSE','/imports/ui/hooks','6550285LijQFq','6602816LPnHkZ','2820942DAehiJ','apply','/imports/ui/','(((.+)+)+)+$','ssr','processAndRunGenerator','1619035TSyiWn','kit/esri/map/','map','10757860vFStvh','checkNpmPackage','injectIntoFile','4cApHlu','appName','<div\x20id=\x22map-component\x22>','true','search','</div>','9RUqoqp','dir','findProjectDirectory','@esri/react-arcgis','6aIxOXe','react','63556ZgNDIr','\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','withValue','/imports/startup/lib/templates','create'];a109c=function(){return v;};return a109c();}import a109e from'./esri.generator.js';import a109f from'../../../generators/maka.gen.js';import{paramCase,headerCase,pascalCase}from'change-case';import{ClientEngines,SsrEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a109s(0x122)]({'name':'map','aliases':['m'],'usage':a109s(0x131),'shortDesc':'Generate\x20an\x20Esri\x20map\x20component','validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a109s(0x12f)],'ssr':SsrEngines[a109s(0x136)]},'description':a109s(0x134)},async function(a,b){const t=a109s;try{Log[t(0x124)]('Generating\x20a\x20map\x20component');const c='basic-map';await this[t(0x12c)][t(0x144)]([t(0x14f),t(0x12d)],{'shouldInstall':!![]});const d=this[t(0x12c)][t(0x14e)](),f=this[t(0x12c)]['getMakaProjectConfig'](),g=f[t(0x126)][t(0x13e)]===t(0x149),h=await a109f[t(0x13f)]('page',[t(0x142)],{'cwd':d,'config':f}),i={'name':headerCase(f[t(0x147)])['replaceAll']('-','\x20'),'componentName':pascalCase(c)},j=b[t(0x12e)]?t(0x13c)+b['baseDir']:t(0x137),k=this['fsi'][t(0x128)]({'pathParts':[j,b[t(0x14d)],paramCase(c),paramCase(c)]});this['fsi'][t(0x120)](f,async()=>{const u=t;this['fsi']['template']({'srcPath':u(0x141)+c+u(0x132),'destPath':k+u(0x132),'framework':u(0x11d),'context':i,'config':f,'force':![],'ignore':![]});});const l=''+j+b['dir']+'/'+c+'/'+c;await this['fsi']['injectTemplateModule'](c,f,l);const m=h[t(0x123)]('/'),n=this['fsi'][t(0x128)]({'pathParts':m});await this[t(0x12c)][t(0x129)]({'filePath':n,'importName':pascalCase(c),'modulePath':g?t(0x121):t(0x135),'isNamedExport':!![]}),await this[t(0x12c)][t(0x145)]({'filePath':n,'content':'\x0a<'+pascalCase(c)+t(0x11f),'begin':[t(0x130),t(0x148)],'end':[t(0x14b)],'replace':!![]});}catch(o){Log[t(0x12b)](o),process[t(0x127)](0x1);}},a109e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a110i=a110d;(function(a,b){const f=a110d,c=a();while(!![]){try{const d=parseInt(f(0x1d4))/0x1*(-parseInt(f(0x1d0))/0x2)+parseInt(f(0x1d9))/0x3+-parseInt(f(0x1e0))/0x4*(parseInt(f(0x1d1))/0x5)+parseInt(f(0x1e2))/0x6*(-parseInt(f(0x1de))/0x7)+parseInt(f(0x1d6))/0x8*(parseInt(f(0x1dc))/0x9)+-parseInt(f(0x1e5))/0xa*(-parseInt(f(0x1df))/0xb)+parseInt(f(0x1e3))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a110c,0x56c6a));const a110b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a110d;if(c){const e=c[g(0x1da)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a110a=a110b(this,function(){const h=a110d;return a110a['toString']()[h(0x1e4)](h(0x1d5))[h(0x1d2)]()[h(0x1d8)](a110a)[h(0x1e4)](h(0x1d5));});function a110d(a,b){const c=a110c();return a110d=function(d,e){d=d-0x1d0;let f=c[d];return f;},a110d(a,b);}a110a();function a110c(){const j=['275SUajED','4VekOYq','kit','137490aOScGM','858852jaUGJq','search','43270mJKwbn','56786uEhAId','956615GPxsSH','toString','maka\x20{generate,\x20g}:{kit}\x20<name>','3zvBXrf','(((.+)+)+)+$','11192UgfotY','Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','constructor','1512594qYRMBY','apply','maka\x20g:kit','1287Gabzfd','maka\x20g:k','77QTEguu'];a110c=function(){return j;};return a110c();}import{Generator}from'../../generator.js';const KitGen=Generator['create']({'name':a110i(0x1e1),'aliases':['k'],'usage':a110i(0x1d3),'shortDesc':a110i(0x1d7),'minArgLength':0x1,'isPro':!![],'validOpts':[],'noNeedResource':!![],'examples':[a110i(0x1db),a110i(0x1dd)]},async function(){});export default KitGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(a,b){var f=a111d,c=a();while(!![]){try{var d=-parseInt(f(0x1d6))/0x1*(-parseInt(f(0x1d2))/0x2)+-parseInt(f(0x1d0))/0x3*(parseInt(f(0x1d3))/0x4)+-parseInt(f(0x1ce))/0x5+parseInt(f(0x1d5))/0x6*(-parseInt(f(0x1d8))/0x7)+-parseInt(f(0x1d1))/0x8+parseInt(f(0x1d7))/0x9+parseInt(f(0x1cb))/0xa*(parseInt(f(0x1c9))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a111c,0xd1b00));var a111b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a111d;if(c){var e=c[g(0x1cd)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a111a=a111b(this,function(){var h=a111d;return a111a['toString']()[h(0x1d4)]('(((.+)+)+)+$')[h(0x1cc)]()[h(0x1ca)](a111a)['search'](h(0x1cf));});function a111d(a,b){var c=a111c();return a111d=function(d,e){d=d-0x1c9;var f=c[d];return f;},a111d(a,b);}a111a();import'./mui.generator.js';function a111c(){var i=['3315308nWVPin','52wiaeVO','search','42IkCKuA','1lANVWJ','11418120LSeQJe','614551YzapQN','19059733KQBWza','constructor','10HeUyzU','toString','apply','7849255bmfoRb','(((.+)+)+)+$','245460gRNLwg','4416760ifMPPr'];a111c=function(){return i;};return a111c();}import'./frame.mui.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a112A=a112d;(function(a,b){const x=a112d,c=a();while(!![]){try{const d=parseInt(x(0x202))/0x1*(-parseInt(x(0x1ea))/0x2)+-parseInt(x(0x207))/0x3+parseInt(x(0x203))/0x4+-parseInt(x(0x1fc))/0x5+parseInt(x(0x1dd))/0x6*(-parseInt(x(0x1f6))/0x7)+-parseInt(x(0x208))/0x8+-parseInt(x(0x1fa))/0x9*(-parseInt(x(0x1e9))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a112c,0x508f0));const a112b=(function(){let a=!![];return function(b,c){const d=a?function(){const y=a112d;if(c){const e=c[y(0x1e5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a112a=a112b(this,function(){const z=a112d;return a112a[z(0x1e4)]()[z(0x1f1)]('(((.+)+)+)+$')[z(0x1e4)]()[z(0x1f0)](a112a)['search'](z(0x1e7));});function a112d(a,b){const c=a112c();return a112d=function(d,e){d=d-0x1dc;let f=c[d];return f;},a112d(a,b);}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';function a112c(){const D=['<div\x20id=\x22','11035044ogNiBa','create','1768330cNrSXA','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','withValue','pathFromApp','maka\x20g:k:m:f','REACT','443AyvzPt','1935704ncrXlI','maka\x20generate:kit:mui:frame','join','kit/mui/frame/app-bars/','713361brnLLZ','1376464ZvKkVp','tsx','{\x20props.children\x20}','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','length','template','test','fsi','frame','\x20/>\x0a','appName','MATERIAL','findAppDirectory','getMakaProjectConfig','{props.children}','imports','No\x20layouts\x20selected','/imports/ui/hooks','basic-drawer','.js','true','injectTemplateModule','checkbox','873924hAPbAq','layouts','baseDir','replaceAll','session','error','{this.props.children}','toString','apply','engines','(((.+)+)+)+$','/imports/startup/lib/templates','10EizVix','2126MYyqsy','react','/imports/startup/client/templates','kit/mui/frame/drawers/','injectIntoFile','app-tests','constructor','search','{\x20this.props.children\x20}','-component\x22>','checkMeteorPackage','getFiles','7vMuhua','dir','Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout'];a112c=function(){return D;};return a112c();}import a112f from'./mui.generator.js';import{paramCase,pascalCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a112A(0x1fb)]({'name':a112A(0x210),'aliases':['f'],'usage':a112A(0x1fd),'shortDesc':a112A(0x1f8),'validOpts':[a112A(0x1de)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a112A(0x213)],'client':ClientEngines[a112A(0x201)]},'examples':[a112A(0x204),a112A(0x200)],'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(0x21a),f=this[B(0x20f)][B(0x215)](),g=f[B(0x1e6)]['ssr']===B(0x21c);await this[B(0x20f)][B(0x1f4)](B(0x1e1),{'shouldInstall':!![]});const h=this[B(0x20f)][B(0x214)](),i=a112e[B(0x205)](h,B(0x217),'ui','layouts'),j=this[B(0x20f)]['getDirectories'](i),k=await Actions['options']({'type':B(0x1dc),'name':'layouts','message':B(0x20b),'choices':j});if(k['layouts'][B(0x20c)]===0x0){Log[B(0x1e2)](B(0x218));return;}const l=b[B(0x1df)]?'/imports/ui/'+b['baseDir']:B(0x219),m=this[B(0x20f)][B(0x1ff)]({'pathParts':[l,b[B(0x1f7)],paramCase(c),paramCase(c)]}),n=this[B(0x20f)][B(0x1ff)]({'pathParts':[l,b['dir'],paramCase(d),paramCase(d)]}),o={'name':headerCase(f[B(0x212)])[B(0x1e0)]('-','\x20')};await this[B(0x20f)][B(0x1fe)](f,async()=>{const C=B;await this[C(0x20f)][C(0x20d)]({'srcPath':C(0x206)+c+'.js','destPath':m+C(0x21b),'framework':'react','context':o,'config':f,'force':![],'ignore':![]}),await this['fsi']['template']({'srcPath':C(0x1ed)+d+C(0x21b),'destPath':n+C(0x21b),'framework':C(0x1eb),'context':o,'config':f,'force':![],'ignore':![]});});const p=''+l+b[B(0x1f7)]+'/'+c+'/'+c;await this[B(0x20f)][B(0x21d)](c,f,p);const q=''+l+b[B(0x1f7)]+'/'+d+'/'+d;await this['fsi'][B(0x21d)](d,f,q);const {layouts:r}=k;for(const s of r){const t=this['fsi'][B(0x1f5)](a112e[B(0x205)](i,s),{'extensions':['jsx',B(0x209)],'omit':[B(0x1ef),'tests',B(0x20e)]});for(const u of t){const v=a112e['join'](i,s,u);await this[B(0x20f)]['injectImport']({'filePath':v,'importName':pascalCase(c),'modulePath':g?B(0x1e8):B(0x1ec),'isNamedExport':!![]}),await this['fsi'][B(0x1ee)]({'filePath':v,'content':'<'+pascalCase(c)+B(0x211),'begin':['<div\x20id=\x22'+s+'-component\x22>','<div\x20id=\x22'+s+'-hook\x22>'],'end':[B(0x1e3),B(0x1f2),B(0x216),'{\x20props.children\x20}']}),await this[B(0x20f)]['injectImport']({'filePath':v,'importName':pascalCase(d),'modulePath':g?B(0x1e8):B(0x1ec),'isNamedExport':!![]}),await this[B(0x20f)][B(0x1ee)]({'filePath':v,'content':'<'+pascalCase(d)+B(0x211),'begin':[B(0x1f9)+s+B(0x1f3),B(0x1f9)+s+'-hook\x22>'],'end':[B(0x1e3),'{\x20this.props.children\x20}','{props.children}',B(0x20a)]});}}}catch(w){Log[B(0x1e2)](w);}},a112f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a113h=a113d;(function(a,b){const f=a113d,c=a();while(!![]){try{const d=-parseInt(f(0x93))/0x1*(parseInt(f(0x95))/0x2)+parseInt(f(0x91))/0x3*(parseInt(f(0xa1))/0x4)+parseInt(f(0x97))/0x5*(parseInt(f(0x8d))/0x6)+-parseInt(f(0x9a))/0x7+parseInt(f(0x9c))/0x8*(-parseInt(f(0x9f))/0x9)+parseInt(f(0x8e))/0xa+parseInt(f(0x96))/0xb*(parseInt(f(0xa0))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a113c,0x2da2c));const a113b=(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;};}()),a113a=a113b(this,function(){const g=a113d;return a113a[g(0x9b)]()[g(0x92)](g(0x8c))[g(0x9b)]()[g(0x99)](a113a)[g(0x92)]('(((.+)+)+)+$');});a113a();import{Generator}from'../../../generator.js';function a113c(){const j=['15499NURpvQ','196085AsyJgd','maka\x20g:kit:m','constructor','1915060FjdCpK','toString','156664cdMxXB','NIE','mui','135oXmsBg','4632OqSMnW','172QqiFQO','(((.+)+)+)+$','6bkwJxP','809010EtYhvi','Material-UI\x20Kit','create','8643hgzmuH','search','43FzdCfC','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','1564YBRtbc'];a113c=function(){return j;};return a113c();}import a113e from'../kit.js';function a113d(a,b){const c=a113c();return a113d=function(d,e){d=d-0x8c;let f=c[d];return f;},a113d(a,b);}const MuiGen=Generator[a113h(0x90)]({'name':a113h(0x9e),'aliases':['m'],'usage':a113h(0x94),'noNeedResource':!![],'shortDesc':a113h(0x8f),'validOpts':[''],'isPro':!![],'examples':[a113h(0x98)]},async function(){const i=a113h;throw i(0x9d);},a113e);export default MuiGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a114o=a114d;(function(a,b){const l=a114d,c=a();while(!![]){try{const d=-parseInt(l(0x181))/0x1+parseInt(l(0x179))/0x2+parseInt(l(0x184))/0x3*(-parseInt(l(0x17a))/0x4)+parseInt(l(0x170))/0x5*(parseInt(l(0x17e))/0x6)+parseInt(l(0x19c))/0x7*(parseInt(l(0x171))/0x8)+parseInt(l(0x178))/0x9*(parseInt(l(0x18b))/0xa)+-parseInt(l(0x19b))/0xb*(parseInt(l(0x161))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a114c,0xcab1a));const a114b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a114d;if(c){const e=c[m(0x18c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a114a=a114b(this,function(){const n=a114d;return a114a[n(0x186)]()['search'](n(0x169))['toString']()[n(0x16a)](a114a)[n(0x194)](n(0x169));});a114a();import a114e from'path';function a114d(a,b){const c=a114c();return a114d=function(d,e){d=d-0x15d;let f=c[d];return f;},a114d(a,b);}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';function a114c(){const r=['/imports/ui/layouts','string','injectTemplateModule','withValue','search','includes','test','layout','test/test.js','.js','fileName','239107nrTkMT','763PQRYDF','engines','dir','import\x20\x27./','split','template/template.css','468CbPICi','.css','graphql','maka\x20g:layout\x20mobile/iPhone8','true','installNpmPackage','injectAtBeginningOfFile','none','(((.+)+)+)+$','constructor','className','ssr','api','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','component/component.js','5cZOfzN','104016VdZwyY','warn','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','theme','setTemplate','css','react','18SFyYke','1908034JRcOtB','32iMktwe','Scaffolding\x20for\x20a\x20React\x20Layout.','pathFromProject','resourceName','2788638bsjewO','pathFromApp','features','364233fxNVpJ','checkNpmPackage','template','400251JPRqYU','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','toString','withTranslations','withHooks','assign','withHook','1367690CmBpSL','apply','fsi','client','ramda'];a114c=function(){return r;};return a114c();}const aliases=['l'];Generator['create']({'name':a114o(0x197),'aliases':aliases,'usage':a114o(0x185),'shortDesc':a114o(0x17b),'validOpts':[],'examples':[a114o(0x164),'maka\x20g:l\x20web/safari']},async function(a,b){const p=a114o,c=p(0x190),d=this[p(0x18d)]['findAppDirectory'](),e=this[p(0x18d)][p(0x17f)]({'pathParts':[c,b['dir'],paramCase(b[p(0x17d)]),paramCase(b[p(0x17d)])]}),f=this[p(0x18d)]['getMakaProjectConfig']();await this[p(0x18d)][p(0x193)](f,async()=>{const q=p;typeof f[q(0x183)]['test']===q(0x191)&&(f[q(0x183)][q(0x196)]=f[q(0x183)]['test']==='true'?!![]:![],this[q(0x18d)][q(0x175)](q(0x196),f[q(0x183)][q(0x196)]));typeof f[q(0x183)]['css']==='string'&&(f['template'][q(0x176)]=f['template']['css']===q(0x165)?!![]:![],this['fsi'][q(0x175)]('css',f[q(0x183)][q(0x176)]));typeof f[q(0x183)]['js']===q(0x191)&&(f[q(0x183)]['js']=f[q(0x183)]['js']===q(0x165)?!![]:![],this['fsi'][q(0x175)]('js',f[q(0x183)]['js']));!f[q(0x180)]&&(f[q(0x180)]={});const g=b['_']?b['_'][0x0][q(0x15f)](':')[0x1]:![],h=b['_']&&aliases[q(0x195)](g);h&&!this['checkNpmPackage'](q(0x18f))&&(Log[q(0x172)](q(0x173)),this['fsi'][q(0x166)](q(0x18f),{'cwd':d}));if(h&&!this[q(0x182)](q(0x177))){Log[q(0x172)](q(0x16e));return;}const i={'name':pascalCase(b[q(0x17d)]),'myPath':a114e['relative'](this['fsi'][q(0x17c)]({}),e),'cssCaseName':paramCase(b[q(0x17d)]),'className':pascalCase(b[q(0x17d)]),'camelCaseName':camelCase(b['resourceName']),'fileName':paramCase(b[q(0x17d)]),'graphql':f['engines'][q(0x163)],'features':f['features'],'client':f['engines'][q(0x18e)],'api':f[q(0x19d)][q(0x16d)],'ssr':f['engines'][q(0x16c)],'test':f[q(0x19d)]['test'],'theme':f[q(0x19d)][q(0x174)],'isComponent':![],'isLayout':!![],'withTranslations':f[q(0x180)][q(0x187)]};f[q(0x180)]?.[q(0x188)]||b[q(0x18a)]?await this['fsi']['template']({'srcPath':'hook/hook.js','destPath':e+q(0x199),'framework':q(0x177),'context':i,'config':f}):await this[q(0x18d)][q(0x183)]({'srcPath':q(0x16f),'destPath':e+'.js','framework':'react','context':i,'config':f});f[q(0x19d)][q(0x196)]!==q(0x168)&&await this[q(0x18d)][q(0x183)]({'srcPath':q(0x198),'destPath':e+'.app-tests.js','framework':q(0x177),'context':i,'config':f});f['template']['css']&&(await this[q(0x18d)][q(0x183)]({'srcPath':q(0x160),'destPath':e+q(0x162),'context':Object[q(0x189)]({},i,{'className':paramCase(b[q(0x17d)])}),'config':f}),await this[q(0x18d)][q(0x167)]({'filePath':e+'.'+f['engines']['js'],'content':q(0x15e)+i[q(0x19a)]+'.'+f[q(0x19d)][q(0x176)]+'\x27;'}));const j=b[q(0x15d)]?'/'+b[q(0x15d)]+'/':'/',k=''+c+j+i['fileName']+'/'+i[q(0x19a)];await this['fsi'][q(0x192)](i[q(0x16b)],f,k);});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a115i=a115d;(function(a,b){const f=a115d,c=a();while(!![]){try{const d=-parseInt(f(0x1ff))/0x1+parseInt(f(0x1fd))/0x2*(-parseInt(f(0x1ee))/0x3)+-parseInt(f(0x1fb))/0x4+-parseInt(f(0x1f4))/0x5*(-parseInt(f(0x1f3))/0x6)+-parseInt(f(0x1f6))/0x7*(parseInt(f(0x1f1))/0x8)+-parseInt(f(0x1f0))/0x9+-parseInt(f(0x1f8))/0xa*(-parseInt(f(0x1f7))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a115c,0x6291c));function a115c(){const j=['606769uFyiej','toString','search','maka\x20g:scaffold\x20todos','maka\x20g:template\x20todos/todo_item','97956wqXRvj','apply','1483281TMMSAA','38576uYoUMz','maka\x20{generate,\x20g}:<generator>\x20<name>','3066MMbXOu','5145UqrJQp','Scaffold\x20various\x20parts\x20of\x20your\x20application','63jGQbPW','2917321fCehSB','50FOtwju','generate','(((.+)+)+)+$','573512lKQfXP','maka\x20generate:scaffold\x20todos','30gaJfzK','maka\x20g:route\x20todos/edit'];a115c=function(){return j;};return a115c();}const a115b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a115d;if(c){const e=c[g(0x1ef)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a115a=a115b(this,function(){const h=a115d;return a115a['toString']()[h(0x1eb)]('(((.+)+)+)+$')[h(0x1ea)]()['constructor'](a115a)[h(0x1eb)](h(0x1fa));});a115a();function a115d(a,b){const c=a115c();return a115d=function(d,e){d=d-0x1ea;let f=c[d];return f;},a115d(a,b);}import{Generator}from'../generator.js';const MakaGen=new Generator({'name':a115i(0x1f9),'aliases':['g'],'usage':a115i(0x1f2),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':a115i(0x1f5),'examples':[a115i(0x1fc),a115i(0x1ec),a115i(0x1ed),'maka\x20g:package\x20package:name',a115i(0x1fe),'maka\x20g:api\x20trucks','maka\x20g:dbc\x20geoserver\x20--type=pgsql']},function(){});export default MakaGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a116m=a116d;function a116c(){const p=['739626zpCPus','ddp-rate-limiter','maka\x20g:method\x20todos','3931580TpcVFb','startup','tsx','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','import\x20\x27./methods','237501TpPMwg','9698096MbsKDs','maka:check','method','injectAtEndOfFile','8jiyrAH','index.','pathFromApp','toString','constructor','checkMeteorPackage','-rpc-method.','engines','methods','fsi','maka\x20{generate,\x20g}:{method,\x20m}\x20name','search','resourceName','214012ffdiNh','mdg:validated-method','1588944rjphyJ','2604200KVkccb','(((.+)+)+)+$','imports','apply','dir','appPathPrefix'];a116c=function(){return p;};return a116c();}function a116d(a,b){const c=a116c();return a116d=function(d,e){d=d-0x1b6;let f=c[d];return f;},a116d(a,b);}(function(a,b){const j=a116d,c=a();while(!![]){try{const d=-parseInt(j(0x1d7))/0x1+-parseInt(j(0x1ca))/0x2*(parseInt(j(0x1c5))/0x3)+-parseInt(j(0x1b7))/0x4+parseInt(j(0x1c0))/0x5+-parseInt(j(0x1bd))/0x6+-parseInt(j(0x1b6))/0x7+parseInt(j(0x1c6))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a116c,0x71e99));const a116b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a116d;if(c){const e=c[k(0x1ba)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a116a=a116b(this,function(){const l=a116d;return a116a['toString']()[l(0x1d5)](l(0x1b8))[l(0x1cd)]()[l(0x1ce)](a116a)['search'](l(0x1b8));});a116a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator['create']({'name':a116m(0x1c8),'aliases':['m'],'usage':a116m(0x1d4),'checkWhere':!![],'shortDesc':a116m(0x1c3),'validOpts':[a116m(0x1bb)],'examples':[a116m(0x1bf)]},async function(a,b){const n=a116m;try{const c=this[n(0x1d3)]['getMakaProjectConfig']();await this['fsi']['withValue'](c,async()=>{const o=n,d=paramCase(b[o(0x1d6)]),f={'name':b['resourceName'],'fileName':d,'className':pascalCase(b[o(0x1d6)]),'camelCase':camelCase(b[o(0x1d6)]),'noRename':!![]};let g='js';c[o(0x1d1)]['js']===o(0x1c2)&&(g='ts');await this[o(0x1d3)][o(0x1cf)]([o(0x1c7),o(0x1be),o(0x1d8)],{'shouldInstall':!![]}),await this[o(0x1d3)]['template']({'srcPath':'method/method.js','destPath':this['fsi'][o(0x1cc)]({'pathParts':[o(0x1b9),o(0x1c1),b['appPathPrefix'],o(0x1d2),b['dir'],d+o(0x1d0)+g]}),'context':f,'config':c});const h=b[o(0x1bb)]?'/'+b[o(0x1bb)]+'/':'/',i=this[o(0x1d3)][o(0x1cc)]({'pathParts':[o(0x1b9),'startup',b[o(0x1bc)],o(0x1cb)+c[o(0x1d1)]['js']]});await this[o(0x1d3)][o(0x1c9)]({'filePath':i,'content':o(0x1c4)+h+d+'-rpc-method\x27;'});});}catch(d){Log['error'](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0x157;let f=c[d];return f;},a117d(a,b);}const a117o=a117d;(function(a,b){const l=a117d,c=a();while(!![]){try{const d=parseInt(l(0x168))/0x1*(-parseInt(l(0x16b))/0x2)+-parseInt(l(0x178))/0x3*(parseInt(l(0x15b))/0x4)+parseInt(l(0x169))/0x5*(-parseInt(l(0x172))/0x6)+parseInt(l(0x15f))/0x7+parseInt(l(0x161))/0x8+-parseInt(l(0x16e))/0x9*(parseInt(l(0x167))/0xa)+parseInt(l(0x188))/0xb*(parseInt(l(0x15e))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0x77416));const a117b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a117d;if(c){const e=c[m(0x176)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){const n=a117d;return a117a[n(0x173)]()[n(0x164)](n(0x160))[n(0x173)]()[n(0x179)](a117a)[n(0x164)](n(0x160));});a117a();import a117e from'path';function a117c(){const r=['noRename','tests/client','withValue','template/template.js','packages','package.js','ssr','server','pathFromAppWithNoReWrite','client','pathFromProject','getMakaProjectConfig','pathFromApp','2453lfQrAN','template','.js','store','create','155468TRWCHK','lib','package','46752MxPpHv','633486DpLNNB','(((.+)+)+)+$','6124400EaJWul','features','resourceName','search','graphql','relative','4562710uDiZTZ','3PFHGoU','5TmyKmj','dir','251934IgPyta','fsi','theme','9vjxNPs','hasOwnProperty','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','engines','1713678wjLfbP','toString','package/','layout','apply','tests/server','9dafdEn','constructor','maka\x20g:package\x20todos:package'];a117c=function(){return r;};return a117c();}import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a117o(0x15a)]({'name':a117o(0x15d),'aliases':['p'],'usage':a117o(0x170),'shortDesc':'Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','validOpts':[a117o(0x16a)],'examples':[a117o(0x17a)]},async function(a,b){const p=a117o,c=paramCase(b[p(0x163)]),d=this[p(0x16c)][p(0x187)]({'pathParts':[p(0x17f),b[p(0x16a)],c]}),e=this[p(0x16c)][p(0x183)]({'pathParts':['packages',b[p(0x16a)],c,p(0x180)]}),f=this[p(0x16c)][p(0x186)]();await this[p(0x16c)][p(0x17d)](f,async()=>{const q=p,g={'name':paramCase(b['resourceName']),'myPath':a117e[q(0x166)](this[q(0x16c)][q(0x185)]({}),d),'cssCaseName':paramCase(b[q(0x163)]),'className':pascalCase(b[q(0x163)]),'camelCaseName':camelCase(b[q(0x163)]),'fileName':c,'client':f[q(0x171)][q(0x184)],'graphql':f[q(0x171)][q(0x165)],'ssr':f[q(0x171)][q(0x181)],'isComponent':b[q(0x16f)]('component'),'isLayout':b[q(0x16f)](q(0x175)),'isStore':b[q(0x16f)](q(0x159)),'features':f[q(0x162)],'noRename':!![],'theme':f['engines'][q(0x16d)]};await this[q(0x16c)][q(0x157)]({'srcPath':'package/package.js','destPath':e,'context':g,'config':f}),g[q(0x17b)]=![];const h=d+'/client/'+c+q(0x158);await this[q(0x16c)][q(0x157)]({'srcPath':q(0x17e),'destPath':h,'context':g,'config':f});const i=[q(0x15c),q(0x182),q(0x17c),q(0x177)];for(const j of i){const k=d+'/'+j+'/'+c+'.js';await this['fsi'][q(0x157)]({'srcPath':q(0x174)+j+'/package.js','destPath':k,'context':g,'config':f});}});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a118m=a118d;(function(a,b){const j=a118d,c=a();while(!![]){try{const d=-parseInt(j(0xe4))/0x1+-parseInt(j(0xed))/0x2*(-parseInt(j(0xeb))/0x3)+-parseInt(j(0xc8))/0x4+parseInt(j(0xb8))/0x5+-parseInt(j(0xbd))/0x6+-parseInt(j(0xcb))/0x7+parseInt(j(0xd9))/0x8*(parseInt(j(0xb6))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0x77e41));const a118b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a118d;if(c){const e=c[k(0xbc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){const l=a118d;return a118a[l(0xd1)]()['search']('(((.+)+)+)+$')['toString']()['constructor'](a118a)['search'](l(0xef));});function a118c(){const p=['1507000TdYcno','pages','test/test.js','1111355dJbeej','store','api','template/template.css','pathFromApp','baseDir','toString','installNpmPackage','fsi','string','.app-tests.js','graphql','react','pathFromProject','7699904OCqKJB','ramda','import\x20\x27./','component/component.js','withTranslations','hook/hook.js','template','assign','checkNpmPackage','relative','template/template.html','322338bzHyUT','getMakaProjectConfig','injectAtBeginningOfFile','.css','root','theme','withHooks','15cxkBaT','withValue','64006DzPrtz','features','(((.+)+)+)+$','resourceName','ssr','html','setTemplate','layouts','processAndRunGenerator','9xqsXKE','test','2874325nLpogu','hasOwnProperty','css','Updating\x20npm\x20packages\x20...','apply','2090652DrSJbo','Generate\x20a\x20page.','client','component','true','layout','none','dir','className','engines','fileName'];a118c=function(){return p;};return a118c();}a118a();import a118e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a118d(a,b){const c=a118c();return a118d=function(d,e){d=d-0xb5;let f=c[d];return f;},a118d(a,b);}import a118f from'../generators/maka.gen.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['p'];Generator['create']({'name':'page','aliases':aliases,'usage':'maka\x20{generate,\x20g}:{page,\x20p}\x20[path/]<name>','shortDesc':a118m(0xbe),'validOpts':[{'name':'baseDir','values':['hooks','components',a118m(0xc9),a118m(0xf4)]},{'name':'withHook','boolFlag':!![]}],'examples':['maka\x20g:page\x20todos/todos-item']},async function(a,b){const n=a118m,c=b[n(0xd0)]?'/imports/ui/'+b[n(0xd0)]:'/imports/ui/pages',d=this[n(0xd3)]['pathFromApp'](b),e=this[n(0xd3)][n(0xcf)]({'pathParts':[c,b['dir'],paramCase(b[n(0xf0)]),paramCase(b[n(0xf0)])]}),f=this['fsi'][n(0xe5)]();let g='';return await this[n(0xd3)][n(0xec)](f,async()=>{const o=n;typeof f[o(0xdf)]['html']===o(0xd4)&&(f[o(0xdf)][o(0xf2)]=f['template']['html']===o(0xc1)?!![]:![],this['fsi']['setTemplate']('html',f[o(0xdf)][o(0xf2)]));typeof f[o(0xdf)][o(0xb7)]===o(0xd4)&&(f[o(0xdf)][o(0xb7)]=f[o(0xdf)]['test']==='true'?!![]:![],this[o(0xd3)][o(0xf3)](o(0xb7),f[o(0xdf)][o(0xb7)]));typeof f[o(0xdf)][o(0xba)]===o(0xd4)&&(f[o(0xdf)][o(0xba)]=f[o(0xdf)][o(0xba)]==='true'?!![]:![],this['fsi'][o(0xf3)](o(0xba),f[o(0xdf)][o(0xba)]));typeof f['template']['js']===o(0xd4)&&(f[o(0xdf)]['js']=f[o(0xdf)]['js']===o(0xc1)?!![]:![],this[o(0xd3)][o(0xf3)]('js',f[o(0xdf)]['js']));!f[o(0xee)]&&(f[o(0xee)]={});!b[o(0xe8)]&&!this[o(0xd3)][o(0xe1)](o(0xda))&&(Log['warn'](o(0xbb)),this['fsi'][o(0xd2)](o(0xda),{'cwd':d}));const h={'name':pascalCase(b[o(0xf0)]),'myPath':a118e[o(0xe2)](this[o(0xd3)][o(0xd8)]({}),e),'cssCaseName':paramCase(b[o(0xf0)]),'className':pascalCase(b['resourceName']),'camelCaseName':camelCase(b[o(0xf0)]),'fileName':paramCase(b[o(0xf0)]),'graphql':f['engines'][o(0xd6)],'features':f['features'],'client':f[o(0xc6)][o(0xbf)],'api':f['engines'][o(0xcd)],'ssr':f[o(0xc6)][o(0xf1)],'isStore':b[o(0xb9)](o(0xcc)),'isComponent':b[o(0xb9)](o(0xc0)),'isLayout':b[o(0xb9)](o(0xc2)),'withTranslations':f[o(0xee)][o(0xdd)],'test':f[o(0xc6)]['test'],'theme':f['engines'][o(0xe9)]};f[o(0xdf)][o(0xf2)]&&await this[o(0xd3)][o(0xdf)]({'srcPath':o(0xe3),'destPath':e+'.html','context':h,'config':f});f['features']?.[o(0xea)]||b['withHook']?await this[o(0xd3)][o(0xdf)]({'srcPath':o(0xde),'destPath':e+'.js','framework':o(0xd7),'context':h,'config':f}):await this[o(0xd3)][o(0xdf)]({'srcPath':o(0xdc),'destPath':e+'.js','framework':o(0xd7),'context':h,'config':f});f['engines'][o(0xb7)]!==o(0xc3)&&await this[o(0xd3)][o(0xdf)]({'srcPath':o(0xca),'destPath':e+o(0xd5),'framework':'react','context':h,'config':f});f[o(0xdf)][o(0xba)]&&await this[o(0xd3)][o(0xdf)]({'srcPath':o(0xce),'destPath':e+o(0xe7),'context':Object[o(0xe0)]({},h,{'className':paramCase(b[o(0xf0)])}),'config':f});f[o(0xc6)][o(0xbf)]!==o(0xd7)&&f['engines'][o(0xbf)]!=='vanilla'?(f[o(0xdf)][o(0xba)]&&await this['fsi']['injectAtBeginningOfFile']({'filePath':e+'.'+f[o(0xc6)]['js'],'content':o(0xdb)+h['fileName']+'.'+f['engines'][o(0xf2)]+'\x27;\x0a'+'import\x20\x27./'+h[o(0xc7)]+'.'+f['engines']['css']+'\x27;'}),!f[o(0xdf)][o(0xba)]&&await this[o(0xd3)][o(0xe6)]({'filePath':e+'.'+f['engines']['js'],'content':o(0xdb)+h[o(0xc7)]+'.'+f[o(0xc6)][o(0xf2)]+'\x27;'})):f[o(0xdf)][o(0xba)]&&await this[o(0xd3)][o(0xe6)]({'filePath':e+'.'+f[o(0xc6)]['js'],'content':'import\x20\x27./'+h[o(0xc7)]+'.'+f[o(0xc6)][o(0xba)]+'\x27;'});const i=b['dir']?'/'+b[o(0xc4)]+'/':'/';g=''+c+i+h[o(0xc7)]+'/'+h[o(0xc7)],await this['fsi']['injectTemplateModule'](h['className'],f,g),!b['root']&&await a118f[o(0xb5)]('route',[i+h[o(0xc5)]],b);}),g+'.'+f['engines']['js'];});
|