@maka/maka-cli 5.1.9 → 5.1.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundle/obf/package.json +1 -1
- package/bundle/obf/src/command.js +1 -1
- package/bundle/obf/src/commands/_index.js +1 -1
- package/bundle/obf/src/commands/ai.js +1 -1
- package/bundle/obf/src/commands/aws/_index.js +1 -1
- package/bundle/obf/src/commands/aws/aws.command.js +1 -1
- package/bundle/obf/src/commands/aws/cecr.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/decr.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/lecr.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/build/_index.js +1 -1
- package/bundle/obf/src/commands/build/build.js +1 -1
- package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/create.js +1 -1
- package/bundle/obf/src/commands/debug.js +1 -1
- package/bundle/obf/src/commands/deploy/_index.js +1 -1
- package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
- package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/_index.js +1 -1
- package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/play.command.js +1 -1
- package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/generate.js +1 -1
- package/bundle/obf/src/commands/get/_index.js +1 -1
- package/bundle/obf/src/commands/get/get.command.js +1 -1
- package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/help.js +1 -1
- package/bundle/obf/src/commands/install.js +1 -1
- package/bundle/obf/src/commands/jsdoc.js +1 -1
- package/bundle/obf/src/commands/lint.js +1 -1
- package/bundle/obf/src/commands/login.js +1 -1
- package/bundle/obf/src/commands/logout.js +1 -1
- package/bundle/obf/src/commands/logs.js +1 -1
- package/bundle/obf/src/commands/maka.cmd.js +1 -1
- package/bundle/obf/src/commands/murder.js +1 -1
- package/bundle/obf/src/commands/profile.js +1 -1
- package/bundle/obf/src/commands/proxy.js +1 -1
- package/bundle/obf/src/commands/reconfig.js +1 -1
- package/bundle/obf/src/commands/register.js +1 -1
- package/bundle/obf/src/commands/run/_index.js +1 -1
- package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/run/run.command.js +1 -1
- package/bundle/obf/src/commands/set/_index.js +1 -1
- package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/set/set.command.js +1 -1
- package/bundle/obf/src/commands/ssh.js +1 -1
- package/bundle/obf/src/commands/ssl.js +1 -1
- package/bundle/obf/src/commands/testCmd/_index.js +1 -0
- package/bundle/obf/src/commands/testCmd/jest.sub.cmd.js +1 -0
- package/bundle/obf/src/commands/testCmd/mocha.sub.cmd.js +1 -0
- package/bundle/obf/src/commands/testCmd/test.command.js +1 -0
- package/bundle/obf/src/commands/undo.js +1 -1
- package/bundle/obf/src/commands/version/_index.js +1 -0
- package/bundle/obf/src/commands/version/list.sub.cmd.js +1 -0
- package/bundle/obf/src/commands/version/use.sub.cmd.js +1 -0
- package/bundle/obf/src/commands/version/version.js +1 -0
- package/bundle/obf/src/error.js +1 -1
- package/bundle/obf/src/exec.js +1 -1
- package/bundle/obf/src/generator.js +1 -1
- package/bundle/obf/src/generators/_index.js +1 -1
- package/bundle/obf/src/generators/api.js +1 -1
- package/bundle/obf/src/generators/aws/_index.js +1 -1
- package/bundle/obf/src/generators/aws/aws.js +1 -1
- package/bundle/obf/src/generators/aws/cloudformation/_index.js +1 -1
- package/bundle/obf/src/generators/aws/cloudformation/cloudformation.js +1 -1
- package/bundle/obf/src/generators/aws/cloudformation/create-ec2-instance.cf.gen.js +1 -1
- package/bundle/obf/src/generators/collection.js +1 -1
- package/bundle/obf/src/generators/component.js +1 -1
- package/bundle/obf/src/generators/config.js +1 -1
- package/bundle/obf/src/generators/dbc.js +1 -1
- package/bundle/obf/src/generators/dockerfile.js +1 -1
- package/bundle/obf/src/generators/hook.js +1 -1
- package/bundle/obf/src/generators/kits/_index.js +1 -1
- package/bundle/obf/src/generators/kits/auth/_index.js +1 -1
- package/bundle/obf/src/generators/kits/auth/auth.generator.js +1 -1
- package/bundle/obf/src/generators/kits/auth/basic-meteor.auth.gen.js +1 -1
- package/bundle/obf/src/generators/kits/auth/provider.auth.gen.js +1 -1
- package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
- package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
- package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
- package/bundle/obf/src/generators/kits/kit.js +1 -1
- package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
- package/bundle/obf/src/generators/kits/mui/auth.mui.gen.js +1 -1
- package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
- package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
- package/bundle/obf/src/generators/layout.js +1 -1
- package/bundle/obf/src/generators/maka.gen.js +1 -1
- package/bundle/obf/src/generators/methods.js +1 -1
- package/bundle/obf/src/generators/package.js +1 -1
- package/bundle/obf/src/generators/page.js +1 -1
- package/bundle/obf/src/generators/publish.js +1 -1
- package/bundle/obf/src/generators/route.js +1 -1
- package/bundle/obf/src/generators/service.js +1 -1
- package/bundle/obf/src/generators/services/_index.js +1 -1
- package/bundle/obf/src/generators/services/openssl.js +1 -1
- package/bundle/obf/src/generators/services/translation.js +1 -1
- package/bundle/obf/src/maka.js +1 -1
- package/bundle/obf/src/tool.js +1 -1
- package/bundle/obf/src/tools/actions/actions.class.js +1 -1
- package/bundle/obf/src/tools/aws/aws.class.js +1 -1
- package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
- package/bundle/obf/src/tools/cfg/cfg.class.js +1 -1
- package/bundle/obf/src/tools/docker/docker.class.js +1 -1
- package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
- package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
- package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
- package/bundle/obf/src/tools/https/https.class.js +1 -1
- package/bundle/obf/src/tools/https/https.interface.js +1 -1
- package/bundle/obf/src/tools/log/log.class.js +1 -1
- package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
- package/bundle/obf/src/tools/mpi/mpi.class.js +1 -1
- package/bundle/obf/src/tools/options/options.class.js +1 -1
- package/bundle/obf/src/tools/pkg/pkg.class.js +1 -1
- package/bundle/obf/src/tools/progress/progress.class.js +1 -1
- package/bundle/obf/src/tools/scaffold/scaffold.class.js +1 -1
- package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
- package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
- package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
- package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
- package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
- package/package.json +1 -1
- package/bundle/obf/src/commands/test/_index.js +0 -1
- package/bundle/obf/src/commands/test/jest.sub.cmd.js +0 -1
- package/bundle/obf/src/commands/test/mocha.sub.cmd.js +0 -1
- package/bundle/obf/src/commands/test/test.command.js +0 -1
- package/bundle/obf/src/commands/version.js +0 -1
- package/bundle/obf/src/templates/react/test/test.js +0 -1
- package/bundle/obf/src/templates/react/test/test.js.jsx +0 -38
- package/bundle/obf/src/templates/react/test/test.js.ts +0 -1
- package/bundle/obf/src/templates/react/test/test.js.tsx +0 -38
- package/bundle/obf/src/templates/service/test/jest/jest.config.js +0 -6
- package/bundle/obf/src/templates/service/test/jest/jest.setup.js +0 -7
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a121l=a121d;(function(a,b){const i=a121d,c=a();while(!![]){try{const d=-parseInt(i(0x19a))/0x1+-parseInt(i(0x1ab))/0x2+parseInt(i(0x1a7))/0x3*(parseInt(i(0x1b6))/0x4)+-parseInt(i(0x1b2))/0x5*(parseInt(i(0x1aa))/0x6)+-parseInt(i(0x199))/0x7*(parseInt(i(0x1a8))/0x8)+parseInt(i(0x1b1))/0x9+-parseInt(i(0x1b0))/0xa*(-parseInt(i(0x1b3))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0x7fe40));function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0x195;let f=c[d];return f;},a121d(a,b);}function a121c(){const n=['4VvIqji','Generate\x20an\x20updated\x20dockerfile','error','cert','(((.+)+)+)+$','6167JShbHu','511GaKdJZ','apply','isFile','appName','service','fsi','build','toString','getMakaProjectConfig','dockerfile','cfg','findProjectDirectory','docker/Dockerfile','323229ELfPar','1448ldgLkQ','join','6nFEtEv','1719602wlsaFE','force','constructor','search','maka\x20g:dockerfile','18104660hWXveD','4148172dhsrTF','4177520BgPYDG','11TSmENs','Dockerfile','create'];a121c=function(){return n;};return a121c();}const a121b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a121d;if(c){const e=c[j(0x19b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){const k=a121d;return a121a['toString']()[k(0x1ae)](k(0x198))[k(0x1a1)]()[k(0x1ad)](a121a)[k(0x1ae)](k(0x198));});a121a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import a121e from'path';Generator[a121l(0x1b5)]({'name':a121l(0x1a3),'usage':'maka\x20{generate,\x20g}:dockerfile','shortDesc':a121l(0x195),'resourceNameRequired':![],'mustBeInMakaProject':!![],'validOpts':[{'name':a121l(0x1ac),'boolFlag':!![]}],'examples':[a121l(0x1af)]},async function(a,b){const m=a121l;try{const c=this['cfg'][m(0x1a2)](),d=await this[m(0x1a4)]['getGlobalConfig'](),f=this[m(0x19f)][m(0x1a5)](),g={'app':c[m(0x19d)],'config':c,'appPath':a121e['join'](f,'app'),'bundlePath':a121e[m(0x1a9)](f,m(0x1a0),'app.tar.gz'),'useCert':d[m(0x197)]?this[m(0x19f)][m(0x19c)](d[m(0x197)]):![]};await this['scaffold']['template']({'srcPath':m(0x1a6),'destPath':a121e[m(0x1a9)](f,m(0x1b4)),'framework':m(0x19e),'context':g,'config':c,'force':b[m(0x1ac)]});}catch(h){Log[m(0x196)](h);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a122d(a,b){const c=a122c();return a122d=function(d,e){d=d-0x1b0;let f=c[d];return f;},a122d(a,b);}const a122o=a122d;(function(a,b){const l=a122d,c=a();while(!![]){try{const d=parseInt(l(0x1dc))/0x1*(-parseInt(l(0x1d8))/0x2)+parseInt(l(0x1e0))/0x3*(-parseInt(l(0x1d7))/0x4)+-parseInt(l(0x1ca))/0x5*(-parseInt(l(0x1d4))/0x6)+parseInt(l(0x1e4))/0x7*(-parseInt(l(0x1e6))/0x8)+parseInt(l(0x1ec))/0x9*(parseInt(l(0x1ef))/0xa)+parseInt(l(0x1ea))/0xb*(-parseInt(l(0x1b1))/0xc)+parseInt(l(0x1d0))/0xd;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0x87ba9));function a122c(){const q=['import\x20\x27./','features','force','hook/hook.js','cssCaseName','baseDir','pkg','template/template.css','hook','apollo','template','(((.+)+)+)+$','maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','Creating\x20','\x0a\x20\x20Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html\x0a\x0a\x20\x20If\x20you\x27d\x20like\x20a\x20hook\x20created\x20as\x20part\x20of\x20an\x20existing\x20page,\x20component,\x20or\x20layout,\x0a\x20\x20use\x20the\x20maka\x20g:hook\x20command\x20with\x20the\x20--baseDir\x20option.\x20For\x20example,\x0a\x0a\x20\x20\x20\x20maka\x20g:hook\x20--baseDir=pages\x20myPage/useCoolHook\x0a\x0a\x20\x20will\x20create\x20a\x20hook\x20in\x20imports/ui/pages/my-page/use-cool-hook.jsx\x0a\x0a\x20\x20','2860HBAywc','pathFromApp','scaffold','installNpmPackage','className','fileName','26875368fesPRw','dir','css','graphql','10344bTLusl','projectConfig','search','4TFXAjm','262296GeStRe','react','resourceName','findProjectDirectory','7lbcpQM','test/test.js','@apollo/client\x20isomorphic-fetch','apply','1446369XTRgqj','setTemplate','/imports/ui/components','@apollo/client','299418dqTndI','pages','184SpUrzQ','create','checkNpmPackage','theme','11pSARiU','notice','1342485hHFCbE','injectTemplateModule','.app-tests.js','40afOqze','\x20hook...','8522616yDnQjl','constructor','injectAtBeginningOfFile','warn','.js','Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','engines','fsi','test','toString'];a122c=function(){return q;};return a122c();}const a122b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a122d;if(c){const e=c[m(0x1df)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){const n=a122d;return a122a[n(0x1ba)]()[n(0x1d6)](n(0x1c6))[n(0x1ba)]()[n(0x1b2)](a122a)[n(0x1d6)](n(0x1c6));});a122a();import a122e from'path';import{kebabCase,pascalCase,camelCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator[a122o(0x1e7)]({'name':a122o(0x1c3),'aliases':['h'],'checkWhere':![],'usage':a122o(0x1c7),'shortDesc':a122o(0x1b6),'mustBeInMakaProject':!![],'validOpts':[{'name':a122o(0x1c0),'values':['hooks','components',a122o(0x1e5),'layouts']},{'name':a122o(0x1bd),'boolFlag':!![]}],'examples':['maka\x20g:hook\x20cool-hook'],'description':a122o(0x1c9)},async function(a,b){const p=a122o;Log[p(0x1eb)](p(0x1c8)+b[p(0x1da)]+p(0x1b0));try{await this[p(0x1c1)][p(0x1e8)](p(0x1d9),{'shouldInstall':!![]});const c=this[p(0x1b8)]['findAppDirectory'](),d=b[p(0x1c0)]?'/imports/ui/'+b[p(0x1c0)]:p(0x1e2),f=this[p(0x1cc)][p(0x1cb)]({'pathParts':[d,b[p(0x1d1)],kebabCase(b[p(0x1da)]),kebabCase(b[p(0x1da)])]}),g=this[p(0x1d5)];typeof g[p(0x1c5)]['css']==='string'&&this['cfg'][p(0x1e1)](p(0x1d2),g[p(0x1c5)][p(0x1d2)]);g[p(0x1b7)][p(0x1d3)]===p(0x1c4)&&!this[p(0x1c1)][p(0x1e8)](p(0x1e3))&&(Log[p(0x1b4)]('Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...'),await this[p(0x1c1)][p(0x1cd)](p(0x1de),{'cwd':c}));const h={'cssCaseName':kebabCase(b[p(0x1da)]),'camelCaseName':camelCase(b[p(0x1da)]),'className':pascalCase(b[p(0x1da)]),'name':pascalCase(b[p(0x1da)]),'graphql':g['engines'][p(0x1d3)],'theme':g[p(0x1b7)][p(0x1e9)],'test':g[p(0x1b7)]['test'],'features':g[p(0x1bc)],'myPath':a122e['relative'](this['fsi'][p(0x1db)](),f),'fileName':kebabCase(b['resourceName']),'isComponent':![],'isLayout':![],'withTranslations':g[p(0x1bc)]['withTranslations']};await this[p(0x1cc)][p(0x1c5)]({'srcPath':p(0x1be),'destPath':f+p(0x1b5),'context':h,'config':g,'framework':'react','force':b[p(0x1bd)]});g[p(0x1c5)][p(0x1d2)]&&(await this[p(0x1cc)]['template']({'srcPath':p(0x1c2),'destPath':f+'.css','context':Object['assign']({},h,{'className':h[p(0x1bf)]}),'config':g,'force':b[p(0x1bd)]}),await this[p(0x1cc)][p(0x1b3)]({'filePath':f+'.'+g[p(0x1b7)]['js'],'content':p(0x1bb)+h['fileName']+'.'+g[p(0x1b7)][p(0x1d2)]+'\x27;'}));g['engines'][p(0x1b9)]!=='none'&&await this[p(0x1cc)][p(0x1c5)]({'srcPath':p(0x1dd),'destPath':f+p(0x1ee),'framework':'react','context':h,'config':g,'force':b[p(0x1bd)]});const i=b[p(0x1d1)]?'/'+b[p(0x1d1)]+'/':'/',j=''+d+i+h[p(0x1cf)]+'/'+h[p(0x1cf)];await this['scaffold'][p(0x1ed)](h[p(0x1ce)],g,j);}catch(k){Log['error'](k);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a123c(){var i=['5YFMjCE','2632287wazsnA','7071790MEsqAm','303561cVUEeT','199379wCpxaL','search','toString','constructor','3706902pEzvCg','(((.+)+)+)+$','110VAmHda','apply','572088iQKUzH','4ivKUUg','15344tSKOoV','8zazWhr','728vsnYMN','477kJWuQt'];a123c=function(){return i;};return a123c();}(function(a,b){var f=a123d,c=a();while(!![]){try{var d=parseInt(f(0x180))/0x1*(parseInt(f(0x189))/0x2)+parseInt(f(0x18d))/0x3*(parseInt(f(0x18a))/0x4)+parseInt(f(0x18e))/0x5*(parseInt(f(0x184))/0x6)+parseInt(f(0x18f))/0x7*(parseInt(f(0x18b))/0x8)+parseInt(f(0x191))/0x9*(parseInt(f(0x186))/0xa)+parseInt(f(0x190))/0xb+-parseInt(f(0x188))/0xc*(parseInt(f(0x18c))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0x54a51));var a123b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a123d;if(c){var e=c[g(0x187)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){var h=a123d;return a123a[h(0x182)]()['search']('(((.+)+)+)+$')[h(0x182)]()[h(0x183)](a123a)[h(0x181)](h(0x185));});a123a();import'./kit.js';import'./mui/_index.js';function a123d(a,b){var c=a123c();return a123d=function(d,e){d=d-0x180;var f=c[d];return f;},a123d(a,b);}import'./esri/_index.js';import'./auth/_index.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(a,b){var f=a124d,c=a();while(!![]){try{var d=parseInt(f(0xe9))/0x1*(parseInt(f(0xed))/0x2)+parseInt(f(0xef))/0x3+-parseInt(f(0xea))/0x4*(parseInt(f(0xf2))/0x5)+parseInt(f(0xf4))/0x6+-parseInt(f(0xeb))/0x7*(parseInt(f(0xec))/0x8)+-parseInt(f(0xf0))/0x9+parseInt(f(0xe8))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0x2a729));var a124b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){var g=a124d;return a124a[g(0xee)]()['search']('(((.+)+)+)+$')['toString']()[g(0xf1)](a124a)['search'](g(0xf3));});a124a();function a124d(a,b){var c=a124c();return a124d=function(d,e){d=d-0xe8;var f=c[d];return f;},a124d(a,b);}import'./auth.generator.js';import'./provider.auth.gen.js';import'./basic-meteor.auth.gen.js';function a124c(){var h=['410280nBdqeR','4973400sxnaXX','106657sYAEPZ','173616TGUqpH','2262099EbFRQP','8aisvxR','2yuZaht','toString','718845SVTFLs','2172186WBtUNF','constructor','20pcEihL','(((.+)+)+)+$'];a124c=function(){return h;};return a124c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a125h=a125d;(function(a,b){const f=a125d,c=a();while(!![]){try{const d=parseInt(f(0xc4))/0x1+parseInt(f(0xc3))/0x2*(parseInt(f(0xc2))/0x3)+parseInt(f(0xc7))/0x4+parseInt(f(0xbb))/0x5+parseInt(f(0xc9))/0x6+parseInt(f(0xbc))/0x7+parseInt(f(0xca))/0x8*(-parseInt(f(0xc8))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0x2b2bc));function a125c(){const j=['create','593529KWDZdQ','2rqtKPw','331992LwvLmu','(((.+)+)+)+$','toString','323152MzDbmF','1044351SaXROz','1717860WoyJGz','64NhxmFh','NIE','maka\x20g:kit:a','915765NXSkTi','175378zssPem','auth','constructor','Starting\x20point\x20for\x20generating\x20an\x20Auth\x20Provider','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x20\x20'];a125c=function(){return j;};return a125c();}function a125d(a,b){const c=a125c();return a125d=function(d,e){d=d-0xba;let f=c[d];return f;},a125d(a,b);}const a125b=(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;};}()),a125a=a125b(this,function(){const g=a125d;return a125a[g(0xc6)]()['search'](g(0xc5))['toString']()[g(0xbe)](a125a)['search'](g(0xc5));});a125a();import{Generator}from'../../../generator.js';import a125e from'../kit.js';const AuthGen=Generator[a125h(0xc1)]({'name':a125h(0xbd),'aliases':['a'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:<kit-name>','shortDesc':a125h(0xbf),'resourceNameRequired':![],'validOpts':[''],'isPro':!![],'examples':[a125h(0xba)],'description':a125h(0xc0)},async function(){const i=a125h;throw i(0xcb);},async function(){},a125e);export default AuthGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a126v=a126d;(function(a,b){const s=a126d,c=a();while(!![]){try{const d=parseInt(s(0x1aa))/0x1*(parseInt(s(0x18e))/0x2)+-parseInt(s(0x19d))/0x3+parseInt(s(0x186))/0x4+parseInt(s(0x1b7))/0x5*(-parseInt(s(0x198))/0x6)+-parseInt(s(0x184))/0x7+-parseInt(s(0x19a))/0x8*(-parseInt(s(0x1ab))/0x9)+-parseInt(s(0x1bb))/0xa*(-parseInt(s(0x195))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0x94dd9));const a126b=(function(){let a=!![];return function(b,c){const d=a?function(){const t=a126d;if(c){const e=c[t(0x1b0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){const u=a126d;return a126a[u(0x1ad)]()[u(0x1c2)](u(0x196))[u(0x1ad)]()[u(0x19e)](a126a)[u(0x1c2)](u(0x196));});function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0x17d;let f=c[d];return f;},a126d(a,b);}a126a();import a126e from'path';import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a126f from'./auth.generator.js';import a126g from'../../../generators/maka.gen.js';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a126v(0x190)]({'name':a126v(0x18f),'aliases':['m'],'usage':a126v(0x17e),'shortDesc':a126v(0x180),'validOpts':[a126v(0x19c)],'isPro':!![],'resourceNameRequired':![],'mustBeInMakaProject':!![],'requiredEngines':{'client':ClientEngines[a126v(0x17f)]},'description':a126v(0x19b)},async function(a,b){const w=a126v,{fsi:c,pkg:d,scaffold:f,projectConfig:g}=this;try{const h=b[w(0x19c)]||![];await d[w(0x1a6)]([w(0x1b5)],{'shouldInstall':!![]});const i=c[w(0x1b4)](),j=c[w(0x1a7)](),k=g['engines'][w(0x1a8)]===w(0x18f);await a126g[w(0x1bc)]('kit:auth:provider',[],{'force':h,'cwd':i,'config':g}),await a126g[w(0x1bc)]('publish',[w(0x185)],{'force':h,'globalPublish':!![],'cwd':i,'config':g});const l=j+a126e[w(0x1a4)](w(0x19f)),m=k?w(0x1b3):'/imports/startup/client',n=f['pathFromApp']({'pathParts':[m,'','',w(0x181)]});await f[w(0x1b8)]({'srcPath':w(0x1a3),'destPath':n+w(0x17d),'framework':w(0x18c),'context':{},'config':g,'force':h,'ignore':![]});const o=f['pathFromApp']({'pathParts':[m,'','',w(0x199)]}),p=g[w(0x1bd)]['js'];await f[w(0x182)]({'filePath':o+'.'+p,'importName':w(0x188),'modulePath':k?w(0x1ba):'/imports/startup/client/authentication-service','isNamedExport':![]}),await f[w(0x193)]({'filePath':o+'.'+p,'content':w(0x197),'begin':w(0x1ac),'replace':!![]}),await f[w(0x193)]({'filePath':o+'.'+p,'content':w(0x1ae),'begin':w(0x1a0),'replace':!![]}),await f['injectIntoCodeBlock']({'filePath':o+'.'+p,'content':'\x0a\x20\x20\x20\x20\x20\x20const\x20authorizations\x20=\x20await\x20AuthService.getUserAuthorizations(user.id);\x0a\x20\x20\x20\x20\x20\x20return\x20authorizations;\x0a\x20\x20\x20\x20\x20\x20','begin':w(0x187),'replace':!![]}),await f[w(0x193)]({'filePath':o+'.'+p,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','begin':w(0x1c0),'replace':!![]}),await f[w(0x193)]({'filePath':o+'.'+p,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','begin':w(0x1b9),'replace':!![]}),await f[w(0x193)]({'filePath':o+'.'+p,'content':w(0x1bf),'begin':'const\x20registerNewUser','replace':!![]}),await f[w(0x193)]({'filePath':o+'.'+p,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','begin':'const\x20resetPasswordWithToken','replace':!![]});k&&(await f['injectImport']({'filePath':o+'.'+p,'importName':w(0x1a5),'modulePath':w(0x18d),'isNamedExport':!![]}),await f[w(0x1a2)]({'filePath':o+'.'+p,'content':w(0x18b),'begin':w(0x1af),'end':w(0x1b1)}));await f['injectImport']({'filePath':l,'importName':w(0x191),'modulePath':w(0x1b6),'isNamedExport':!![],'injectAtStart':!![]}),await f[w(0x193)]({'filePath':l,'content':w(0x183),'begin':w(0x1be),'replace':!![]});const q=f[w(0x1b2)]({'pathParts':['imports',w(0x194),'server',w(0x1a1)]});await f[w(0x182)]({'filePath':q+'.'+p,'importName':w(0x189),'modulePath':w(0x192),'isNamedExport':!![]}),await f[w(0x193)]({'filePath':q+'.'+p,'content':w(0x18a),'begin':w(0x1c1),'replace':!![]});}catch(r){Log['error'](r),process[w(0x1a9)](0x1);}},async function(){},a126f);function a126c(){const x=['REACT','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','authentication-service','injectImport','\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20If\x20logged\x20in,\x20return\x20documents\x20owned\x20by\x20this\x20user.\x20Otherwise\x20return\x20nothing.\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(this.userId)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20Meteor.roleAssignment.find({\x20\x27user._id\x27:\x20this.userId\x20});\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20[];\x0a\x20\x20\x20\x20\x20\x20','2982609OGDLyR','auth/roles','2848516QmYsGp','const\x20getUserAuthorizations','AuthService','Accounts','\x0a\x20\x20\x20\x20\x20\x20WebAppInternals.setInlineScriptsAllowed(false);\x0a\x0a\x20\x20\x20\x20\x20\x20Accounts.urls.resetPassword\x20=\x20function\x20(token)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20Meteor.absoluteUrl(\x27reset-password/\x27\x20+\x20token);\x0a\x20\x20\x20\x20\x20\x20};\x0a\x20\x20\x20\x20\x20\x20','\x0a\x20\x20\x20\x20\x20\x20\x20\x20useTracker(()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(Meteor.isClient)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(Meteor.user()\x20&&\x20!currentUser)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20setCurrentUser(Meteor.user());\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fetchUserAuthorizations(Meteor.user());\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20});\x0a\x0a\x20\x20\x20\x20\x20\x20','react','meteor/maka:react-tracker','2ZpeQaN','meteor','create','Meteor','meteor/accounts-base','injectIntoCodeBlock','startup','11YydiYe','(((.+)+)+)+$','\x0a\x20\x20\x20\x20\x20\x20\x20\x20const\x20user\x20=\x20await\x20AuthService.authenticateUser(username,\x20password);\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20user;\x0a\x20\x20\x20\x20\x20\x20','42zQuvYY','authentication-provider','5808344LaKtXl','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20start\x20by\x20generating\x20your\x20auth\x20provider\x20and\x20context,\x20and\x20then\x20setup\x20Meteor\x20Accounts\x0a\x20\x20\x20\x20to\x20handle\x20authentication\x20and\x20authorization.\x0a\x20\x20','force','1618158pEJnSp','constructor','/imports/startup/server/publications/auth/roles.js','const\x20authenticateToken','index','injectIntoFile','kit/auth/service/meteor-auth-service.js','normalize','useTracker','checkMeteorPackage','findAppDirectory','ssr','exit','183761yOFzft','9KWwaOF','const\x20authenticateUser','toString','\x0a\x20\x20\x20\x20\x20\x20\x20\x20const\x20user\x20=\x20await\x20AuthService.authenticateToken();\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20user;\x0a\x20\x20\x20\x20\x20\x20','export\x20const\x20AuthProvider','apply','useEffect\x5c(','pathFromApp','/imports/startup/lib','findProjectDirectory','accounts-password','meteor/meteor','849610xmkmcR','template','const\x20sendForgotPasswordEmail','/imports/startup/lib/authentication-service','11427470pFHCmF','processAndRunGenerator','engines','Meteor.publish','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','const\x20deauthenticateUser','Meteor.startup','search','.js','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}'];a126c=function(){return x;};return a126c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a127w=a127d;(function(a,b){const u=a127d,c=a();while(!![]){try{const d=-parseInt(u(0x14e))/0x1+parseInt(u(0x13a))/0x2+-parseInt(u(0x12b))/0x3*(parseInt(u(0x14b))/0x4)+-parseInt(u(0x133))/0x5*(-parseInt(u(0x135))/0x6)+-parseInt(u(0x134))/0x7+-parseInt(u(0x143))/0x8*(parseInt(u(0x12c))/0x9)+parseInt(u(0x139))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0x4584f));const a127b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){const v=a127d;return a127a['toString']()[v(0x153)](v(0x156))[v(0x14d)]()[v(0x129)](a127a)[v(0x153)](v(0x156));});function a127d(a,b){const c=a127c();return a127d=function(d,e){d=d-0x127;let f=c[d];return f;},a127d(a,b);}a127a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a127e from'./auth.generator.js';function a127c(){const y=['9VyLCtB','split','kit/auth/provider/authentication-provider.js','provider','force','/imports/startup/lib','injectAroundString','5JFkjCv','2836442vVpsfY','1877910JkeCWB','const\x20PrivateRoute','<AppRoutes\x20/>','AuthProvider','3222210NpDWFc','590268iBwbfB','injectIntoCodeBlock','<AuthProvider>','bright','AuthContext','/imports/startup/client/index','engines','authentication-provider','/imports/startup/client/authentication-provider','892904bPYezd','pathFromApp','/routes','\x0a\x20\x20\x20\x20\x20\x20const\x20{\x20currentUser,\x20loading\x20}\x20=\x20useContext(AuthContext);\x0a\x20\x20\x20\x20\x20\x20return\x20{\x20currentUser,\x20loading\x20};\x0a\x20\x20\x20\x20\x20\x20','\x0a\x20\x20\x20\x20\x20\x20const\x20{\x20currentUser,\x20loading\x20}\x20=\x20useAuth();\x0a\x20\x20\x20\x20\x20\x20if\x20(loading)\x20return\x20<div>Loading...</div>;\x0a\x20\x20\x20\x20\x20\x20return\x20(currentUser)\x20?\x20<Outlet/>\x20:\x20<Navigate\x20to=\x22/login\x22\x20/>;\x0a\x20\x20\x20\x20\x20\x20','<AppRoutes\x20history={history}/>','</AuthProvider>','react','120812ieuNJs','exit','toString','98567svnAmB','error','const\x20useAuth','meteor','injectImport','search','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x0a\x20\x20\x20\x20It\x20will\x20also\x20update\x20your\x20Routes\x20file\x20to\x20include\x20the\x20AuthProvider\x20and\x20Context.\x0a\x20\x20\x20\x20for\x20navigation\x20checking.\x0a\x20\x20','.js','(((.+)+)+)+$','appName','create','scaffold','Creating\x20an\x20AuthProvider\x20and\x20AuthContext','constructor','/imports/startup/lib/authentication-provider','3btofpz'];a127c=function(){return y;};return a127c();}import{capitalCase}from'change-case';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a127w(0x158)]({'name':a127w(0x12f),'aliases':['p'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','shortDesc':'Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','validOpts':[a127w(0x130)],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'client':ClientEngines['REACT']},'description':a127w(0x154)},async function(a,b){const x=a127w;try{const c=b['force']||![];Log[x(0x13d)](x(0x128));const {projectConfig:d}=this,f=d[x(0x140)]['ssr']===x(0x151),g={'name':capitalCase(d[x(0x157)])},h=f?x(0x131):'/imports/startup/client',i=this[x(0x127)][x(0x144)]({'pathParts':[h,'','',x(0x141)]});await this[x(0x127)]['template']({'srcPath':x(0x12e),'destPath':i+x(0x155),'framework':x(0x14a),'context':g,'config':d,'force':c,'ignore':![]});const j=d[x(0x140)]['js'],k=h+x(0x145),l=k[x(0x12d)]('/'),m=this[x(0x127)]['pathFromApp']({'pathParts':l});await this[x(0x127)][x(0x152)]({'filePath':m+'.'+j,'importName':x(0x13e),'modulePath':f?x(0x12a):'/imports/startup/client/authentication-provider','isNamedExport':!![]}),await this['scaffold'][x(0x152)]({'filePath':m+'.'+j,'importName':'useContext','modulePath':'react','isNamedExport':!![],'injectAtStart':!![]}),await this[x(0x127)][x(0x13b)]({'filePath':m+'.'+j,'content':x(0x146),'begin':[x(0x150),'function\x20useAuth'],'replace':!![]}),await this['scaffold'][x(0x13b)]({'filePath':m+'.'+j,'content':x(0x147),'begin':[x(0x136)],'replace':!![]});const n=x(0x13f),o=n[x(0x12d)]('/'),p=this[x(0x127)]['pathFromApp']({'pathParts':o});await this[x(0x127)]['injectImport']({'filePath':p+'.'+j,'importName':x(0x138),'modulePath':f?x(0x12a):x(0x142),'isNamedExport':!![]}),await this[x(0x127)][x(0x132)]({'filePath':p+'.'+j,'aboveContent':'<AuthProvider>','belowContent':x(0x149),'targetString':x(0x137),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q='/imports/startup/server/index',r=q[x(0x12d)]('/'),s=this[x(0x127)][x(0x144)]({'pathParts':r});await this['scaffold']['injectImport']({'filePath':s+'.'+j,'importName':x(0x138),'modulePath':f?x(0x12a):x(0x142),'isNamedExport':!![]}),await this['scaffold']['injectAroundString']({'filePath':s+'.'+j,'aboveContent':x(0x13c),'belowContent':'</AuthProvider>','targetString':x(0x148),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log[x(0x14f)](t),process[x(0x14c)](0x1);}},async function(){},a127e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=
|
|
1
|
+
(function(a,b){var f=a128d,c=a();while(!![]){try{var d=parseInt(f(0x177))/0x1*(-parseInt(f(0x171))/0x2)+parseInt(f(0x17d))/0x3*(-parseInt(f(0x17a))/0x4)+parseInt(f(0x17b))/0x5*(-parseInt(f(0x178))/0x6)+-parseInt(f(0x173))/0x7+parseInt(f(0x17f))/0x8*(parseInt(f(0x174))/0x9)+parseInt(f(0x179))/0xa*(parseInt(f(0x170))/0xb)+-parseInt(f(0x176))/0xc*(-parseInt(f(0x172))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0x20a42));var a128b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a128d;if(c){var e=c[g(0x17e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){var h=a128d;return a128a[h(0x181)]()['search']('(((.+)+)+)+$')['toString']()[h(0x180)](a128a)[h(0x17c)](h(0x175));});function a128d(a,b){var c=a128c();return a128d=function(d,e){d=d-0x170;var f=c[d];return f;},a128d(a,b);}function a128c(){var i=['408UfMQYa','2182870ldUCVS','4sSSzBZ','6830ZjiCrg','search','390081kazQWd','apply','4664pHeMpV','constructor','toString','11ecOKAk','350MtzEGX','2847PvZAYI','275765cthgEt','1611cJEJqa','(((.+)+)+)+$','16572VfBtGz','1309dXBSRd'];a128c=function(){return i;};return a128c();}a128a();import'./esri.generator.js';import'./map.esri.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a129i=a129d;(function(a,b){const f=a129d,c=a();while(!![]){try{const d=parseInt(f(0x1de))/0x1*(-parseInt(f(0x1d3))/0x2)+parseInt(f(0x1dd))/0x3+parseInt(f(0x1d1))/0x4+-parseInt(f(0x1da))/0x5+-parseInt(f(0x1d9))/0x6*(-parseInt(f(0x1ce))/0x7)+-parseInt(f(0x1dc))/0x8+parseInt(f(0x1cd))/0x9*(parseInt(f(0x1d6))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0x34515));const a129b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a129d;if(c){const e=c[g(0x1d0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){const h=a129d;return a129a[h(0x1d7)]()['search'](h(0x1db))[h(0x1d7)]()[h(0x1d8)](a129a)[h(0x1d2)](h(0x1db));});a129a();function a129c(){const j=['2935296koYEeG','447027NfbvjO','408361iFpdmM','409437oYQIEx','8113emrEVA','create','apply','1478028SOGmoi','search','2kLLrUP','esri','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','130HeYgGM','toString','constructor','30BcvMqy','630770kJxteL','(((.+)+)+)+$'];a129c=function(){return j;};return a129c();}import{Generator}from'../../../generator.js';import{UsageError}from'../../../error.js';function a129d(a,b){const c=a129c();return a129d=function(d,e){d=d-0x1cd;let f=c[d];return f;},a129d(a,b);}import a129e from'../kit.js';const EsriGen=Generator[a129i(0x1cf)]({'name':a129i(0x1d4),'aliases':['e'],'usage':a129i(0x1d5),'shortDesc':'Starting\x20point\x20for\x20generating\x20Esri\x20Maps','resourceNameRequired':![],'validOpts':[''],'isPro':!![],'examples':['maka\x20g:kit:e'],'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(){throw UsageError;},async function(){},a129e);export default EsriGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a130v=a130d;(function(a,b){const s=a130d,c=a();while(!![]){try{const d=parseInt(s(0x14f))/0x1+parseInt(s(0x151))/0x2+-parseInt(s(0x12e))/0x3+parseInt(s(0x13b))/0x4*(-parseInt(s(0x152))/0x5)+-parseInt(s(0x13e))/0x6+-parseInt(s(0x130))/0x7*(parseInt(s(0x143))/0x8)+parseInt(s(0x153))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0x44546));function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0x12a;let f=c[d];return f;},a130d(a,b);}const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){const t=a130d;if(c){const e=c[t(0x134)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const u=a130d;return a130a[u(0x13d)]()[u(0x139)](u(0x144))[u(0x13d)]()[u(0x14b)](a130a)[u(0x139)]('(((.+)+)+)+$');});a130a();import{Generator}from'../../../generator.js';function a130c(){const x=['dir','replaceAll','apply','/imports/startup/lib/templates','meteor','/imports/ui/components','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','search','pathFromApp','42784XLeGBE','appName','toString','3268074uYxDHD','bright','page','react','basic-map','8epoaHX','(((.+)+)+)+$','<div\x20id=\x22map\x22>','checkNpmPackage','/imports/startup/client/templates','injectIntoFile','ssr','exit','constructor','injectImport','NONE','esri-loader','305887YoQzra','baseDir','918430dTbPGR','55CZWkVj','9158229IVMcHX','engines','.js','create','\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','\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','injectTemplateModule','map','1019031MoVMEY','processAndRunGenerator','3505551vWsIDo','split'];a130c=function(){return x;};return a130c();}import{Log}from'../../../tools/log/log.class.js';import a130e from'./esri.generator.js';import a130f from'../../../generators/maka.gen.js';import{kebabCase,capitalCase,pascalCase}from'change-case';import{ClientEngines,SsrEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a130v(0x156)]({'name':a130v(0x12d),'aliases':['m'],'usage':a130v(0x138),'shortDesc':'Generate\x20an\x20Esri\x20map\x20component','validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'client':ClientEngines['REACT'],'ssr':SsrEngines[a130v(0x14d)]},'description':a130v(0x12a)},async function(a,b){const w=a130v;try{const {projectConfig:c,fsi:d,pkg:f,scaffold:g}=this;Log[w(0x13f)]('Generating\x20a\x20map\x20component');const h=w(0x142);await f[w(0x146)](['@esri/react-arcgis',w(0x14e)],{'shouldInstall':!![]});const i=d['findProjectDirectory'](),j=c[w(0x154)][w(0x149)]===w(0x136),k=await a130f[w(0x12f)](w(0x140),[w(0x12d)],{'cwd':i,'config':c}),l={'name':capitalCase(c[w(0x13c)])[w(0x133)]('-','\x20'),'componentName':pascalCase(h)},m=b[w(0x150)]?'/imports/ui/'+b[w(0x150)]:w(0x137),n=g[w(0x13a)]({'pathParts':[m,b[w(0x132)],kebabCase(h),kebabCase(h)]});await g['template']({'srcPath':'kit/esri/map/'+h+w(0x155),'destPath':n+w(0x155),'framework':w(0x141),'context':l,'config':c,'force':![],'ignore':![]});const o=''+m+b[w(0x132)]+'/'+h+'/'+h;await g[w(0x12c)](h,c,o);const p=k[w(0x131)]('/'),q=g[w(0x13a)]({'pathParts':p});await g[w(0x14c)]({'filePath':q,'importName':pascalCase(h),'modulePath':j?w(0x135):w(0x147),'isNamedExport':!![]}),await g[w(0x148)]({'filePath':q,'content':'\x0a<'+pascalCase(h)+w(0x12b),'begin':[w(0x145),w(0x145)],'end':['</div>'],'replace':!![]});}catch(r){Log['error'](r),process[w(0x14a)](0x1);}},async function(){},a130e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a131i=a131d;(function(a,b){const f=a131d,c=a();while(!![]){try{const d=-parseInt(f(0x1cc))/0x1*(parseInt(f(0x1ce))/0x2)+-parseInt(f(0x1c4))/0x3+parseInt(f(0x1d2))/0x4+parseInt(f(0x1c1))/0x5*(parseInt(f(0x1cd))/0x6)+-parseInt(f(0x1c9))/0x7+parseInt(f(0x1c6))/0x8+parseInt(f(0x1cf))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0x4cdbb));const a131b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a131d;if(c){const e=c[g(0x1d3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a131a=a131b(this,function(){const h=a131d;return a131a[h(0x1c2)]()[h(0x1c3)](h(0x1c5))[h(0x1c2)]()[h(0x1c8)](a131a)['search'](h(0x1c5));});function a131c(){const j=['1851872RwovZN','apply','maka\x20g:kit','45245Qedznh','toString','search','588165xiTUzG','(((.+)+)+)+$','3479432xcspqO','Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','constructor','3651151scrCRN','create','maka\x20{generate,\x20g}:{kit}\x20<name>','1gLqZGU','36YWwPuX','59146NoLhxO','988569gvQOni','maka\x20g:k','kit'];a131c=function(){return j;};return a131c();}a131a();import{Generator}from'../../generator.js';function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0x1c1;let f=c[d];return f;},a131d(a,b);}const KitGen=Generator[a131i(0x1ca)]({'name':a131i(0x1d1),'aliases':['k'],'usage':a131i(0x1cb),'shortDesc':a131i(0x1c7),'minArgLength':0x1,'isPro':!![],'validOpts':[],'resourceNameRequired':![],'examples':[a131i(0x1d4),a131i(0x1d0)]},async function(){});export default KitGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(a,b){var f=a132d,c=a();while(!![]){try{var d=-parseInt(f(0x11c))/0x1*(parseInt(f(0x115))/0x2)+parseInt(f(0x120))/0x3+-parseInt(f(0x117))/0x4+-parseInt(f(0x11d))/0x5+parseInt(f(0x119))/0x6+-parseInt(f(0x11f))/0x7+-parseInt(f(0x121))/0x8*(-parseInt(f(0x11b))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a132c,0xf2013));var a132b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a132d;if(c){var e=c[g(0x118)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a132a=a132b(this,function(){var h=a132d;return a132a[h(0x114)]()[h(0x11e)](h(0x116))['toString']()[h(0x11a)](a132a)['search'](h(0x116));});a132a();import'./mui.generator.js';import'./frame.mui.gen.js';function a132d(a,b){var c=a132c();return a132d=function(d,e){d=d-0x114;var f=c[d];return f;},a132d(a,b);}function a132c(){var i=['apply','3311640zfFwVm','constructor','28094355cYjahN','173954INCQvE','2554125zPzhfE','search','465906ZMOaob','1508553HgbgnO','8UpPAfj','toString','8EgKjPo','(((.+)+)+)+$','7647744FKNUAT'];a132c=function(){return i;};return a132c();}import'./auth.mui.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a133L=a133d;function a133d(a,b){const c=a133c();return a133d=function(d,e){d=d-0x1c8;let f=c[d];return f;},a133d(a,b);}function a133c(){const O=['constructor','/imports/startup/client/authentication-provider','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20setup\x20with\x20login,\x20logout,\x20registration,\x20and\x20password\x20reset\x20pages.\x0a\x20\x20','ssr','login','exit','What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','baseDir','authType','Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','kit/mui/auth/register/','kit/mui/auth/login/','meteor','create','layouts','397755hMxITq','split','.js','injectImport','route','32394aeAlMA','force','toString','Cleaning\x20up...','/imports/ui/pages/auth','maka\x20g:k:m:a','2QLtaNe','basic-register-page','basic-logout-page','basic-login-page','apply','kit/mui/auth/password-reset/','1096005ucerCj','kit/mui/auth/logout/','dir','AuthContext','findProjectDirectory','24228OwxThF','basic-forgot-password-page','register','log','/imports/startup/lib/authentication-provider','forgot-password','561wxzzgX','208706PunVIk','1819240ACbuaT','Meteor\x20Accounts','35FAnByW','react','kit/mui/auth/forgot-password/','Custom\x20(roll\x20your\x20own)','search','engines','template','40RuxYlX','appName','kit:auth:provider','40OyNTeJ','basic-password-reset-page','312050oIorFl','processAndRunGenerator','reset-password/:token','injectTemplateModule','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{auth,\x20a}','auth','custom','pathFromApp','REACT','kit:auth:meteor'];a133c=function(){return O;};return a133c();}(function(a,b){const I=a133d,c=a();while(!![]){try{const d=-parseInt(I(0x1de))/0x1+-parseInt(I(0x1cc))/0x2*(parseInt(I(0x1d2))/0x3)+parseInt(I(0x1eb))/0x4*(parseInt(I(0x1ed))/0x5)+-parseInt(I(0x20b))/0x6*(parseInt(I(0x1e1))/0x7)+parseInt(I(0x1df))/0x8+-parseInt(I(0x206))/0x9*(-parseInt(I(0x1e8))/0xa)+parseInt(I(0x1dd))/0xb*(-parseInt(I(0x1d7))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a133c,0x4f2b8));const a133b=(function(){let a=!![];return function(b,c){const d=a?function(){const J=a133d;if(c){const e=c[J(0x1d0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a133a=a133b(this,function(){const K=a133d;return a133a['toString']()['search']('(((.+)+)+)+$')[K(0x1c8)]()[K(0x1f7)](a133a)[K(0x1e5)]('(((.+)+)+)+$');});a133a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a133e from'../../../generators/maka.gen.js';import a133f from'./mui.generator.js';import{kebabCase,capitalCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a133L(0x204)]({'name':a133L(0x1f2),'aliases':['a'],'usage':a133L(0x1f1),'shortDesc':a133L(0x200),'validOpts':[a133L(0x205),a133L(0x20c)],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'theme':ThemeEngines['MATERIAL'],'client':ClientEngines[a133L(0x1f5)]},'examples':['maka\x20generate:kit:mui:auth',a133L(0x1cb)],'description':a133L(0x1f9)},async function(a,b){const M=a133L;try{const {projectConfig:c,fsi:d,scaffold:f}=this,g=b[M(0x20c)]||![],h=d[M(0x1d6)](),i=await Actions['select']({'name':M(0x1ff),'message':M(0x1fd),'choices':[{'name':M(0x1e0),'value':M(0x203)},{'name':M(0x1e4),'value':'custom'}]}),j=M(0x1cf),k=M(0x1ce),l=M(0x1cd),m='basic-password-reset-page',n='basic-forgot-password-page',o=b[M(0x1fe)]?'/imports/ui/'+b[M(0x1fe)]:M(0x1ca),p=f[M(0x1f4)]({'pathParts':[o,b[M(0x1d4)],kebabCase(j),kebabCase(j)]}),q=f[M(0x1f4)]({'pathParts':[o,b[M(0x1d4)],kebabCase(k),kebabCase(k)]}),r=f[M(0x1f4)]({'pathParts':[o,b[M(0x1d4)],kebabCase(l),kebabCase(l)]}),s=f[M(0x1f4)]({'pathParts':[o,b[M(0x1d4)],kebabCase(m),kebabCase(m)]}),t=f[M(0x1f4)]({'pathParts':[o,b[M(0x1d4)],kebabCase(n),kebabCase(n)]}),u={'name':capitalCase(c[M(0x1e9)])};await f[M(0x1e7)]({'srcPath':M(0x202)+j+M(0x208),'destPath':p+M(0x208),'framework':M(0x1e2),'context':u,'config':c,'force':g,'ignore':![]}),await f[M(0x1e7)]({'srcPath':M(0x1d3)+k+M(0x208),'destPath':q+M(0x208),'framework':'react','context':u,'config':c,'force':g,'ignore':![]}),await f[M(0x1e7)]({'srcPath':M(0x201)+l+M(0x208),'destPath':r+M(0x208),'framework':M(0x1e2),'context':u,'config':c,'force':g,'ignore':![]}),await f['template']({'srcPath':M(0x1d1)+m+M(0x208),'destPath':s+M(0x208),'framework':M(0x1e2),'context':u,'config':c,'force':g,'ignore':![]}),await f[M(0x1e7)]({'srcPath':M(0x1e3)+n+M(0x208),'destPath':t+M(0x208),'framework':M(0x1e2),'context':u,'config':c,'force':g,'ignore':![]});const v=''+o+b['dir']+'/'+j+'/'+j;await f[M(0x1f0)](j,c,v);const w=''+o+b[M(0x1d4)]+'/'+k+'/'+k;await f[M(0x1f0)](k,c,w);const x=''+o+b[M(0x1d4)]+'/'+l+'/'+l;await f['injectTemplateModule'](l,c,x);const y=''+o+b[M(0x1d4)]+'/'+m+'/'+m;await f[M(0x1f0)](m,c,y);const z=''+o+b[M(0x1d4)]+'/'+n+'/'+n;await f['injectTemplateModule'](n,c,z),await a133e['processAndRunGenerator']('route',[M(0x1cf)],{'route':M(0x1fb),'cwd':h,'config':c}),await a133e[M(0x1ee)]('route',[M(0x1ce)],{'route':'logout','private':!![],'cwd':h,'config':c}),await a133e[M(0x1ee)]('route',[M(0x1cd)],{'route':M(0x1d9),'cwd':h,'config':c}),await a133e[M(0x1ee)](M(0x20a),[M(0x1ec)],{'route':M(0x1ef),'cwd':h,'config':c}),await a133e['processAndRunGenerator'](M(0x20a),[M(0x1d8)],{'route':M(0x1dc),'cwd':h,'config':c});i===M(0x203)&&await a133e[M(0x1ee)](M(0x1f6),[],{'force':g,'cwd':h,'config':c});i===M(0x1f3)&&await a133e[M(0x1ee)](M(0x1ea),[],{'force':g,'cwd':h,'config':c});const A=c[M(0x1e6)][M(0x1fa)]==='meteor',B=c[M(0x1e6)]['js'],C=f['pathFromApp']({'pathParts':v[M(0x207)]('/')});await f[M(0x209)]({'filePath':C+'.'+B,'importName':M(0x1d5),'modulePath':A?M(0x1db):'/imports/startup/client/authentication-provider','isNamedExport':!![]});const D=f[M(0x1f4)]({'pathParts':w[M(0x207)]('/')});await f[M(0x209)]({'filePath':D+'.'+B,'importName':M(0x1d5),'modulePath':A?'/imports/startup/lib/authentication-provider':M(0x1f8),'isNamedExport':!![]});const E=f[M(0x1f4)]({'pathParts':x[M(0x207)]('/')});await f[M(0x209)]({'filePath':E+'.'+B,'importName':M(0x1d5),'modulePath':A?M(0x1db):M(0x1f8),'isNamedExport':!![]});const F=f[M(0x1f4)]({'pathParts':y['split']('/')});await f[M(0x209)]({'filePath':F+'.'+B,'importName':M(0x1d5),'modulePath':A?M(0x1db):M(0x1f8),'isNamedExport':!![]});const G=f['pathFromApp']({'pathParts':z[M(0x207)]('/')});await f[M(0x209)]({'filePath':G+'.'+B,'importName':'AuthContext','modulePath':A?M(0x1db):M(0x1f8),'isNamedExport':!![]});}catch(H){Log['error'](H),process[M(0x1fc)](0x1);}},async function(){const N=a133L;console[N(0x1da)](N(0x1c9));},a133f);export default a133f;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a134c(){const J=['No\x20layouts\x20selected','template','@mui/material/Container','6211188FvqqLx','/imports/ui/components','injectAroundString','injectTemplateModule','/imports/ui/','injectImport','test','basic-drawer','checkMeteorPackage','create','5660181bdaRfM','react','69NRZzMb','80196VNOtNg','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','ssr','525582oMGSKA','dir','(((.+)+)+)+$','<Box\x20style={{\x20display:\x20\x27flex\x27,\x20flexDirection:\x20\x27column\x27,\x20minHeight:\x20\x27calc(100vh\x20-\x20157px)\x27\x20}}>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<Container\x20component=\x22main\x22>','meteor','join','\x20/>\x0a','14BJtueB','maka\x20generate:kit:mui:frame','basic-sticky-footer','</div>','baseDir','length','<Outlet\x20/>','map','imports','force','</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','toString','4756328rwKWAX','constructor','tests','engines','log','Cleaning\x20up...','error','80BdcRcW','/imports/startup/client/templates','<div\x20id=\x22','REACT','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f}','basic-app-bar','getDirectories','pathFromApp','.js','search','<Outlet/>','MATERIAL','1846420BMHhtQ','layouts','injectIntoFile','1507466EMFExw','checkbox','kit/mui/frame/app-bars/','/imports/startup/lib/templates','findAppDirectory','kit/mui/frame/drawers/','tsx','-hook\x22>'];a134c=function(){return J;};return a134c();}const a134G=a134d;(function(a,b){const E=a134d,c=a();while(!![]){try{const d=-parseInt(E(0x14b))/0x1+-parseInt(E(0x130))/0x2+-parseInt(E(0x147))/0x3*(parseInt(E(0x148))/0x4)+-parseInt(E(0x12d))/0x5+-parseInt(E(0x13b))/0x6+-parseInt(E(0x152))/0x7*(parseInt(E(0x15e))/0x8)+parseInt(E(0x145))/0x9*(parseInt(E(0x165))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a134c,0xaa3b2));const a134b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a134a=a134b(this,function(){const F=a134d;return a134a[F(0x15d)]()[F(0x12a)]('(((.+)+)+)+$')[F(0x15d)]()[F(0x15f)](a134a)[F(0x12a)](F(0x14d));});a134a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';function a134d(a,b){const c=a134c();return a134d=function(d,e){d=d-0x129;let f=c[d];return f;},a134d(a,b);}import{Actions}from'../../../tools/actions/actions.class.js';import a134e from'path';import a134f from'./mui.generator.js';import{kebabCase,pascalCase,capitalCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a134G(0x144)]({'name':'frame','aliases':['f'],'usage':a134G(0x169),'shortDesc':'Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','validOpts':['layouts',a134G(0x156),a134G(0x14c),a134G(0x15b)],'isPro':![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'theme':ThemeEngines[a134G(0x12c)],'client':ClientEngines[a134G(0x168)]},'examples':[a134G(0x153),'maka\x20g:k:m:f'],'description':'\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20frame\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20'},async function(a,b){const H=a134G,{projectConfig:c,fsi:d,pkg:f,scaffold:g}=this;try{const h=b[H(0x15b)]||![],i=H(0x16a),j=H(0x142),k=H(0x154),l=c[H(0x161)][H(0x14a)]===H(0x14f);await f[H(0x143)](['session','maka:react-tracker'],{'shouldInstall':!![]});const m=d[H(0x134)](),n=a134e['join'](m,H(0x15a),'ui',H(0x12e)),o=d[H(0x16b)](n),p=o[H(0x159)](z=>({'name':z,'value':z})),q=await Actions[H(0x131)]({'message':H(0x149),'name':H(0x12e),'choices':p});if(q[H(0x157)]===0x0){Log[H(0x164)](H(0x138));return;}const r=b[H(0x156)]?H(0x13f)+b[H(0x156)]:H(0x13c),s=g[H(0x16c)]({'pathParts':[r,b['dir'],kebabCase(i),kebabCase(i)]}),t=g['pathFromApp']({'pathParts':[r,b[H(0x14c)],kebabCase(j),kebabCase(j)]}),u=g[H(0x16c)]({'pathParts':[r,b[H(0x14c)],kebabCase(k),kebabCase(k)]}),v={'name':capitalCase(c['appName'])};await g[H(0x139)]({'srcPath':H(0x132)+i+H(0x129),'destPath':s+H(0x129),'framework':'react','context':v,'config':c,'force':h,'ignore':![]}),await g[H(0x139)]({'srcPath':H(0x135)+j+H(0x129),'destPath':t+'.js','framework':H(0x146),'context':v,'config':c,'force':h,'ignore':![]}),await g[H(0x139)]({'srcPath':'kit/mui/frame/footers/'+k+'.js','destPath':u+H(0x129),'framework':'react','context':v,'config':c,'force':h,'ignore':![]});const w=''+r+b[H(0x14c)]+'/'+i+'/'+i;await g[H(0x13e)](i,c,w);const x=''+r+b[H(0x14c)]+'/'+j+'/'+j;await g[H(0x13e)](j,c,x);const y=''+r+b['dir']+'/'+k+'/'+k;await g['injectTemplateModule'](k,c,y);for(const z of q){const A=d['getFiles'](a134e[H(0x150)](n,z),{'extensions':['jsx',H(0x136)],'omit':['app-tests',H(0x160),H(0x141)]});for(const B of A){const C=a134e[H(0x150)](n,z,B);await g['injectImport']({'filePath':C,'importName':'Box','modulePath':'@mui/material/Box','isNamedExport':![]}),await g[H(0x140)]({'filePath':C,'importName':'Container','modulePath':H(0x13a),'isNamedExport':![]}),await g['injectImport']({'filePath':C,'importName':pascalCase(i),'modulePath':l?H(0x133):H(0x166),'isNamedExport':!![]}),await g[H(0x12f)]({'filePath':C,'content':'<'+pascalCase(i)+H(0x151),'begin':[H(0x167)+z+'\x22>','<div\x20id=\x22'+z+H(0x137)],'end':['<Outlet/>',H(0x158)]}),await g[H(0x140)]({'filePath':C,'importName':pascalCase(j),'modulePath':l?H(0x133):H(0x166),'isNamedExport':!![]}),await g[H(0x12f)]({'filePath':C,'content':'<'+pascalCase(j)+H(0x151),'begin':[H(0x167)+z+'\x22>',H(0x167)+z+'-hook\x22>'],'end':[H(0x12b),H(0x158)]}),await g[H(0x12f)]({'filePath':C,'content':'<'+pascalCase(k)+H(0x151),'begin':[H(0x12b),'<Outlet\x20/>'],'end':[H(0x155)]}),await g[H(0x140)]({'filePath':C,'importName':pascalCase(k),'modulePath':l?'/imports/startup/lib/templates':H(0x166),'isNamedExport':!![]}),await g[H(0x13d)]({'filePath':C,'aboveContent':H(0x14e),'belowContent':H(0x15c),'targetString':[H(0x12b),H(0x158)],'targetIndentAdjustment':0x6});}}}catch(D){Log[H(0x164)](D);}},async function(){const I=a134G;console[I(0x162)](I(0x163));},a134f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a135i=a135d;(function(a,b){const g=a135d,c=a();while(!![]){try{const d=parseInt(g(0x17a))/0x1*(-parseInt(g(0x169))/0x2)+parseInt(g(0x186))/0x3*(-parseInt(g(0x175))/0x4)+-parseInt(g(0x183))/0x5+-parseInt(g(0x179))/0x6*(-parseInt(g(0x17e))/0x7)+-parseInt(g(0x172))/0x8*(-parseInt(g(0x177))/0x9)+parseInt(g(0x17d))/0xa+parseInt(g(0x18c))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a135c,0x2fe02));const a135b=(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;};}()),a135a=a135b(this,function(){const h=a135d;return a135a[h(0x170)]()[h(0x189)]('(((.+)+)+)+$')[h(0x170)]()[h(0x174)](a135a)[h(0x189)](h(0x17c));});a135a();import{Generator}from'../../../generator.js';import{Actions}from'../../../tools/actions/actions.class.js';import{Log}from'../../../tools/log/log.class.js';import a135e from'../../../generators/maka.gen.js';function a135c(){const k=['processAndRunGenerator','(((.+)+)+)+$','1319280vTIJdd','7kdBiug','Header,\x20Footer,\x20and\x20Drawer','cfg','info','error','766665Ckaoit','includes','create','90381xLwRvi','getMakaProjectConfig','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','search','maka\x20g:kit:m','notice','3239841ijgqTy','Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','74Pppizi','kit:mui:frame','No\x20MUI\x20kits\x20selected.\x20Exiting.','checkbox','auth','frame','findProjectDirectory','toString','\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&####%&@@@@@@@@@@@@@@@@@@@&&%###&@@@@@@&%###%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#(((((##%&&@@@@@@@@@&&%%#(((((#&@@@@@&#((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((((((((#%&&@&&%##(((((((((#&@@@@&&#((##%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((((((((((((#((((((((((((((#&@@@@@&%&&@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#%%%%##((((((((#%%&%#((((#&@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@&&%###%%&@@@@&#((((#&@@@@@@@@&&&&@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@@@@@@@@@@@@@@&#((((#&@@@@@&%#(((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@@@@@@@@@@@@&%##((((#&@@@@&%#((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&%#(((#&&@@@@@@@@@&&%##(((((((#%&@@@@&%(((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@&%#%&@@@@@@@@&#((((((((##%&@@@@@@@&%(((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@&&#((((((%&@@@@@@@@@&%#((((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@&&#((((((#%%&@@&&%##((((((((#%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@&%%#((((((((##((((((((##%&@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&%##(((((((((##%&@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&&%##(#%&&@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a\x0a\x20\x20This\x20generator\x20will\x20help\x20you\x20add\x20MUI\x20to\x20your\x20project.\x0a\x20\x20Choose\x20from\x20a\x20selection\x20of\x20premade\x20MUI\x20components.\x0a\x20\x20','319640mtclen','exit','constructor','4TPtkUP','Material-UI\x20Kit','9ZXHGcT','kit:mui:auth','770682aiMCQr','5819FjCUAD'];a135c=function(){return k;};return a135c();}function a135d(a,b){const c=a135c();return a135d=function(d,e){d=d-0x168;let f=c[d];return f;},a135d(a,b);}import a135f from'../kit.js';const MuiGen=Generator[a135i(0x185)]({'name':'mui','aliases':['m'],'usage':a135i(0x188),'resourceNameRequired':![],'shortDesc':a135i(0x176),'validOpts':[''],'isPro':!![],'examples':[a135i(0x18a)]},async function(){const j=a135i;try{Log[j(0x181)]('Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!'),Log[j(0x18b)](j(0x171));const a=await Actions[j(0x16c)]({'message':j(0x168),'name':'kitChoices','choices':[{'name':j(0x17f),'value':j(0x16e)},{'name':'Auth\x20workflow\x20(login,\x20logout,\x20etc.)','value':j(0x16d)}]}),b=this['fsi'][j(0x16f)](),c=this[j(0x180)][j(0x187)]();a[j(0x184)](j(0x16e))&&await a135e[j(0x17b)](j(0x16a),[],{'force':!![],'cwd':b,'config':c});a[j(0x184)](j(0x16d))&&await a135e['processAndRunGenerator'](j(0x178),[],{'force':!![],'cwd':b,'config':c});if(a['length']===0x0){Log[j(0x181)](j(0x16b));return;}}catch(d){Log[j(0x182)](d),process[j(0x173)](0x1);}},async function(){},a135f);export default MuiGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a136s=a136d;function a136c(){const u=['client','string','ssr','css','maka\x20g:l\x20web/safari','apply','relative','withHook','resourceName','react','toString','checkNpmPackage','component/component.js','/imports/ui/layouts','layout','36vsevDr','2112948cqLmXe','features','warn','engines','16fEDLHV','ramda','none','findAppDirectory','injectTemplateModule','dir','test','search','1002125HhhJwV','template','import\x20\x27./','77zNJVeu','assign','fileName','2aSWWSn','(((.+)+)+)+$','9257423coccfu','withTranslations','withHooks','9927104rzBOCt','className','findProjectDirectory','template/template.css','hook/hook.js','.js','setTemplate','graphql','installNpmPackage','.css','.app-tests.js','16022940gVftFG','9jvevGr','281720lTzrsn','includes','theme','injectAtBeginningOfFile','split','192771ILRTzW','create'];a136c=function(){return u;};return a136c();}(function(a,b){const p=a136d,c=a();while(!![]){try{const d=-parseInt(p(0x187))/0x1*(-parseInt(p(0x18d))/0x2)+-parseInt(p(0x1a4))/0x3*(parseInt(p(0x17f))/0x4)+parseInt(p(0x19f))/0x5*(parseInt(p(0x17a))/0x6)+parseInt(p(0x18f))/0x7+parseInt(p(0x192))/0x8+-parseInt(p(0x19e))/0x9*(parseInt(p(0x19d))/0xa)+-parseInt(p(0x18a))/0xb*(parseInt(p(0x17b))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a136c,0xc62ab));const a136b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a136d;if(c){const e=c[q(0x170)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a136a=a136b(this,function(){const r=a136d;return a136a[r(0x175)]()[r(0x186)](r(0x18e))['toString']()['constructor'](a136a)[r(0x186)](r(0x18e));});a136a();function a136d(a,b){const c=a136c();return a136d=function(d,e){d=d-0x16c;let f=c[d];return f;},a136d(a,b);}import a136e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,kebabCase,pascalCase}from'change-case';const aliases=['l'];Generator[a136s(0x1a5)]({'name':a136s(0x179),'aliases':aliases,'usage':'maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','shortDesc':'Scaffolding\x20for\x20a\x20React\x20Layout.','validOpts':['withHook'],'mustBeInMakaProject':!![],'examples':['maka\x20g:layout\x20mobile/iPhone8',a136s(0x16f)]},async function(a,b){const t=a136s,{projectConfig:c,fsi:d,cfg:e,pkg:f,scaffold:g}=this,h=t(0x178),i=d[t(0x182)](),j=g['pathFromApp']({'pathParts':[h,b['dir'],kebabCase(b['resourceName']),kebabCase(b[t(0x173)])]});typeof c[t(0x188)][t(0x185)]===t(0x16c)&&e[t(0x198)]('test',c[t(0x188)][t(0x185)]);typeof c[t(0x188)][t(0x16e)]==='string'&&e[t(0x198)](t(0x16e),c[t(0x188)]['css']);typeof c['template']['js']==='string'&&e[t(0x198)]('js',c[t(0x188)]['js']);const k=b['_']?b['_'][0x0][t(0x1a3)](':')[0x1]:![],l=b['_']&&aliases[t(0x1a0)](k);l&&!f[t(0x176)](t(0x180))&&(Log['warn']('Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...'),f[t(0x19a)](t(0x180),{'cwd':i}));if(l&&!f[t(0x176)](t(0x174))){Log[t(0x17d)]('This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator');return;}const m={'name':pascalCase(b[t(0x173)]),'myPath':a136e[t(0x171)](d[t(0x194)](),j),'cssCaseName':kebabCase(b[t(0x173)]),'className':pascalCase(b[t(0x173)]),'camelCaseName':camelCase(b['resourceName']),'fileName':kebabCase(b['resourceName']),'graphql':c['engines'][t(0x199)],'features':c[t(0x17c)],'client':c[t(0x17e)][t(0x1a6)],'api':c['engines']['api'],'ssr':c['engines'][t(0x16d)],'test':c[t(0x17e)][t(0x185)],'theme':c[t(0x17e)][t(0x1a1)],'isComponent':![],'isLayout':!![],'withTranslations':c[t(0x17c)][t(0x190)]};c[t(0x17c)]?.[t(0x191)]||b[t(0x172)]?await g['template']({'srcPath':t(0x196),'destPath':j+t(0x197),'framework':t(0x174),'context':m,'config':c}):await g[t(0x188)]({'srcPath':t(0x177),'destPath':j+'.js','framework':t(0x174),'context':m,'config':c});c[t(0x17e)]['test']!==t(0x181)&&await g[t(0x188)]({'srcPath':'test/test.js','destPath':j+t(0x19c),'framework':'react','context':m,'config':c});c[t(0x188)][t(0x16e)]&&(await g[t(0x188)]({'srcPath':t(0x195),'destPath':j+t(0x19b),'context':Object[t(0x18b)]({},m,{'className':kebabCase(b[t(0x173)])}),'config':c}),await g[t(0x1a2)]({'filePath':j+'.'+c[t(0x17e)]['js'],'content':t(0x189)+m[t(0x18c)]+'.'+c[t(0x17e)][t(0x16e)]+'\x27;'}));const n=b['dir']?'/'+b[t(0x184)]+'/':'/',o=''+h+n+m[t(0x18c)]+'/'+m[t(0x18c)];await g[t(0x183)](m[t(0x193)],c,o);});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a137h=a137d;(function(a,b){const f=a137d,c=a();while(!![]){try{const d=-parseInt(f(0x1d6))/0x1+-parseInt(f(0x1cc))/0x2+parseInt(f(0x1c9))/0x3+-parseInt(f(0x1d8))/0x4+parseInt(f(0x1d1))/0x5*(parseInt(f(0x1cf))/0x6)+-parseInt(f(0x1d7))/0x7*(parseInt(f(0x1d5))/0x8)+parseInt(f(0x1d0))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a137c,0xe7239));const a137b=(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;};}()),a137a=a137b(this,function(){const g=a137d;return a137a[g(0x1ca)]()[g(0x1cb)](g(0x1cd))['toString']()['constructor'](a137a)[g(0x1cb)](g(0x1cd));});function a137d(a,b){const c=a137c();return a137d=function(d,e){d=d-0x1c8;let f=c[d];return f;},a137d(a,b);}a137a();function a137c(){const i=['(((.+)+)+)+$','maka\x20generate:scaffold\x20todos','6biCFpK','25459065aNYtBa','7231405jMPpAj','generate','maka\x20g:package\x20package:name','maka\x20g:route\x20todos/edit','64dWHiyU','684477HStZLK','1058617cARWxv','3487928tagYDV','Scaffold\x20various\x20parts\x20of\x20your\x20application','maka\x20g:api\x20trucks','maka\x20g:scaffold\x20todos','3945744rnkDHi','toString','search','3754524RqXioW'];a137c=function(){return i;};return a137c();}import{Generator}from'../generator.js';const MakaGen=new Generator({'name':a137h(0x1d2),'aliases':['g'],'usage':'maka\x20{generate,\x20g}:<generator>\x20<name>','validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'resourceNameRequired':![],'shortDesc':a137h(0x1d9),'examples':[a137h(0x1ce),a137h(0x1c8),'maka\x20g:template\x20todos/todo_item',a137h(0x1d3),a137h(0x1d4),a137h(0x1da),'maka\x20g:dbc\x20geoserver\x20--type=pgsql']},async function(){});export default MakaGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a138n=a138d;(function(a,b){const k=a138d,c=a();while(!![]){try{const d=parseInt(k(0x13c))/0x1+-parseInt(k(0x12d))/0x2*(-parseInt(k(0x145))/0x3)+-parseInt(k(0x130))/0x4*(parseInt(k(0x12b))/0x5)+-parseInt(k(0x13b))/0x6*(-parseInt(k(0x148))/0x7)+-parseInt(k(0x12f))/0x8*(-parseInt(k(0x147))/0x9)+parseInt(k(0x134))/0xa+-parseInt(k(0x13e))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a138c,0x2211b));const a138b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a138d;if(c){const e=c[l(0x12e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a138a=a138b(this,function(){const m=a138d;return a138a['toString']()['search']('(((.+)+)+)+$')[m(0x139)]()[m(0x14a)](a138a)[m(0x141)](m(0x12c));});a138a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a138c(){const p=['scaffold','72ApdUOu','250200TarHPR','template','2979889MinTrK','index.','import\x20\x27./methods','search','tsx','engines','imports','432645hQcqEp','dir','9BqzsXR','87934siyICb','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','constructor','method/method.js','appPathPrefix','pkg','maka:check','create','checkMeteorPackage','pathFromApp','resourceName','21855RIsHEg','(((.+)+)+)+$','2ivAQjr','apply','307592ZnuLfm','212bqNyVc','-rpc-method\x27;','method','maka\x20{generate,\x20g}:{method,\x20m}\x20name','585010NxumwT','error','startup','projectConfig','methods','toString'];a138c=function(){return p;};return a138c();}import{camelCase,kebabCase,pascalCase}from'change-case';function a138d(a,b){const c=a138c();return a138d=function(d,e){d=d-0x127;let f=c[d];return f;},a138d(a,b);}Generator[a138n(0x127)]({'name':a138n(0x132),'aliases':['m'],'usage':a138n(0x133),'mustBeInMakaProject':!![],'checkWhere':!![],'shortDesc':a138n(0x149),'validOpts':['dir'],'examples':['maka\x20g:method\x20todos']},async function(a,b){const o=a138n;try{const c=this[o(0x137)],d=b[o(0x146)]?'/'+b[o(0x146)]+'/':'/',f=kebabCase(b[o(0x12a)]),g={'name':b[o(0x12a)],'fileName':f,'className':pascalCase(b[o(0x12a)]),'camelCase':camelCase(b[o(0x12a)]),'noRename':!![]};let h='js';c[o(0x143)]['js']===o(0x142)&&(h='ts');await this[o(0x14d)][o(0x128)]([o(0x14e),'ddp-rate-limiter','mdg:validated-method'],{'shouldInstall':!![]}),await this['scaffold'][o(0x13d)]({'srcPath':o(0x14b),'destPath':this[o(0x13a)]['pathFromApp']({'pathParts':[o(0x144),o(0x136),b[o(0x14c)],o(0x138),d,f+'-rpc-method.'+h]}),'context':g,'config':c});const i=this['scaffold'][o(0x129)]({'pathParts':[o(0x144),o(0x136),b[o(0x14c)],o(0x13f)+c[o(0x143)]['js']]});await this[o(0x13a)]['injectAtEndOfFile']({'filePath':i,'content':o(0x140)+d+f+o(0x131)});}catch(j){Log[o(0x135)](j);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a139p=a139d;(function(a,b){const m=a139d,c=a();while(!![]){try{const d=-parseInt(m(0x1af))/0x1+parseInt(m(0x1c1))/0x2*(-parseInt(m(0x1c7))/0x3)+parseInt(m(0x1ce))/0x4*(-parseInt(m(0x1cf))/0x5)+parseInt(m(0x1bc))/0x6+parseInt(m(0x1ae))/0x7+parseInt(m(0x1b3))/0x8+parseInt(m(0x1a9))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a139c,0x28525));const a139b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a139d;if(c){const e=c[n(0x1b7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a139a=a139b(this,function(){const o=a139d;return a139a[o(0x1d0)]()[o(0x1ca)](o(0x1b2))[o(0x1d0)]()[o(0x1ab)](a139a)[o(0x1ca)](o(0x1b2));});a139a();function a139d(a,b){const c=a139c();return a139d=function(d,e){d=d-0x1a9;let f=c[d];return f;},a139d(a,b);}import a139e from'path';import{Generator}from'../generator.js';import{camelCase,kebabCase,pascalCase}from'change-case';function a139c(){const r=['fsi','search','template','resourceName','tests/server','260NnXWSq','2215aXYUfq','toString','maka\x20g:package\x20todos:package','.js','/package.js','graphql','1529703fDlZwb','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','constructor','scaffold','pathFromAppWithNoReWrite','768712zhaDUb','320002xQAnLD','features','server','(((.+)+)+)+$','2305440HOoVlD','dir','package/','findProjectDirectory','apply','package.js','package/package.js','projectConfig','hasOwnProperty','689220oCQMWa','theme','tests/client','layout','/client/','246XYfDgo','noRename','engines','package','store','relative','4119NEmlwt','packages'];a139c=function(){return r;};return a139c();}Generator['create']({'name':a139p(0x1c4),'aliases':['p'],'usage':a139p(0x1aa),'mustBeInMakaProject':!![],'shortDesc':'Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','validOpts':[a139p(0x1b4)],'examples':[a139p(0x1d1)]},async function(a,b){const q=a139p,c=kebabCase(b[q(0x1cc)]),d=b[q(0x1b4)]?'/'+b['dir']+'/':'/',e=this[q(0x1ac)]['pathFromApp']({'pathParts':[q(0x1c8),d,c]}),f=this['scaffold'][q(0x1ad)]({'pathParts':[q(0x1c8),d,c,q(0x1b8)]}),g=this[q(0x1ba)],h={'name':kebabCase(b[q(0x1cc)]),'myPath':a139e[q(0x1c6)](this[q(0x1c9)][q(0x1b6)](),e),'cssCaseName':kebabCase(b['resourceName']),'className':pascalCase(b['resourceName']),'camelCaseName':camelCase(b[q(0x1cc)]),'fileName':c,'client':g[q(0x1c3)]['client'],'graphql':g['engines'][q(0x1d4)],'ssr':g['engines']['ssr'],'isComponent':b[q(0x1bb)]('component'),'isLayout':b['hasOwnProperty'](q(0x1bf)),'isStore':b[q(0x1bb)](q(0x1c5)),'features':g[q(0x1b0)],'noRename':!![],'theme':g[q(0x1c3)][q(0x1bd)]};await this[q(0x1ac)][q(0x1cb)]({'srcPath':q(0x1b9),'destPath':f,'context':h,'config':g}),h[q(0x1c2)]=![];const i=e+q(0x1c0)+c+q(0x1d2);await this[q(0x1ac)][q(0x1cb)]({'srcPath':'template/template.js','destPath':i,'context':h,'config':g});const j=['lib',q(0x1b1),q(0x1be),q(0x1cd)];for(const k of j){const l=e+'/'+k+'/'+c+'.js';await this[q(0x1ac)]['template']({'srcPath':q(0x1b5)+k+q(0x1d3),'destPath':l,'context':h,'config':g});}});
|