@maka/maka-cli 4.13.8 → 4.13.11
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 +3 -3
- 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/patreon.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/test.js +1 -1
- package/bundle/obf/src/commands/undo.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/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/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 +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
const a117o=a117d;(function(a,b){const l=a117d,c=a();while(!![]){try{const d
|
|
1
|
+
const a117o=a117d;(function(a,b){const l=a117d,c=a();while(!![]){try{const d=parseInt(l(0xd9))/0x1+-parseInt(l(0xdd))/0x2*(parseInt(l(0xf0))/0x3)+parseInt(l(0xe1))/0x4*(parseInt(l(0xd5))/0x5)+-parseInt(l(0xf8))/0x6+-parseInt(l(0xee))/0x7+parseInt(l(0xf5))/0x8*(-parseInt(l(0xd8))/0x9)+-parseInt(l(0x106))/0xa*(-parseInt(l(0xf1))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0x29a2d));const a117b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a117d;if(c){const e=c[m(0xd6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){const n=a117d;return a117a[n(0x109)]()[n(0xe7)](n(0xfd))[n(0x109)]()['constructor'](a117a)[n(0xe7)](n(0xfd));});a117a();import a117e from'path';import{paramCase,pascalCase,camelCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0xcf;let f=c[d];return f;},a117d(a,b);}function a117c(){const r=['\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','relative','Creating\x20','test','search','react','template','apollo','findAppDirectory','fileName','dir','1095290KtRZeu','baseDir','4143GjSBch','66oRQUKh','getMakaProjectConfig','checkNpmPackage','cssCaseName','105256VNWYbG','hook/hook.js','/imports/ui/','1093008RDctGw','components','.app-tests.js','@apollo/client\x20isomorphic-fetch','injectAtBeginningOfFile','(((.+)+)+)+$','create','warn','engines','assign','template/template.css','fsi','features','withTranslations','577750UIcmDN','resourceName','className','toString','force','string','error','.css','graphql','css','Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','none','pathFromApp','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','82990IWJRju','apply','maka\x20g:hook\x20cool-hook','126PvuolU','292738ZFBFmY','import\x20\x27./','maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','theme','42wwMDlh','injectTemplateModule','true','hook','20gPhanu','hooks'];a117c=function(){return r;};return a117c();}import{UsageError}from'../error.js';Generator[a117o(0xfe)]({'name':a117o(0xe0),'aliases':['h'],'checkWhere':![],'usage':a117o(0xdb),'shortDesc':a117o(0xd1),'validOpts':[{'name':a117o(0xef),'values':[a117o(0xe2),a117o(0xf9),'pages','layouts']},{'name':a117o(0x10a),'boolFlag':!![]}],'examples':[a117o(0xd7)],'description':a117o(0xe3)},async function(a,b){const p=a117o;Log['notice'](p(0xe5)+b['resourceName']+'\x20hook...');try{const c=this['fsi'][p(0xf3)]('react');if(!c){Log[p(0x10c)](p(0xd4));throw new UsageError();}const d=this[p(0x103)][p(0xeb)](),f=b[p(0xef)]?p(0xf7)+b[p(0xef)]:'/imports/ui/components',g=this['fsi'][p(0xd3)]({'pathParts':[f,b[p(0xed)],paramCase(b[p(0x107)]),paramCase(b['resourceName'])]}),h=await this[p(0x103)][p(0xf2)]();await this[p(0x103)]['withValue'](h,async()=>{const q=p;typeof h[q(0xe9)][q(0xd0)]===q(0x10b)&&(h['template'][q(0xd0)]=h['template'][q(0xd0)]===q(0xdf)?!![]:![],this['fsi']['setTemplate'](q(0xd0),h[q(0xe9)][q(0xd0)]));h[q(0x100)][q(0xcf)]===q(0xea)&&!this[q(0x103)][q(0xf3)]('@apollo/client')&&(Log[q(0xff)]('Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...'),await this[q(0x103)]['installNpmPackage'](q(0xfb),{'cwd':d}));const i={'cssCaseName':paramCase(b[q(0x107)]),'camelCaseName':camelCase(b[q(0x107)]),'className':pascalCase(b[q(0x107)]),'name':pascalCase(b[q(0x107)]),'graphql':h[q(0x100)][q(0xcf)],'theme':h[q(0x100)][q(0xdc)],'features':h[q(0x104)],'myPath':a117e[q(0xe4)](this[q(0x103)]['pathFromProject']({}),g),'fileName':paramCase(b[q(0x107)]),'isComponent':![],'isLayout':![],'withTranslations':h[q(0x104)][q(0x105)]};await this[q(0x103)]['template']({'srcPath':q(0xf6),'destPath':g+'.js','context':i,'config':h,'framework':q(0xe8),'force':b[q(0x10a)]});h[q(0xe9)][q(0xd0)]&&(await this[q(0x103)][q(0xe9)]({'srcPath':q(0x102),'destPath':g+q(0x10d),'context':Object[q(0x101)]({},i,{'className':i[q(0xf4)]}),'config':h,'force':b[q(0x10a)]}),await this[q(0x103)][q(0xfc)]({'filePath':g+'.'+h[q(0x100)]['js'],'content':q(0xda)+i[q(0xec)]+'.'+h[q(0x100)]['css']+'\x27;'}));h[q(0x100)][q(0xe6)]!==q(0xd2)&&await this[q(0x103)][q(0xe9)]({'srcPath':'test/test.js','destPath':g+q(0xfa),'framework':q(0xe8),'context':i,'config':h,'force':b[q(0x10a)]});const j=b[q(0xed)]?'/'+b[q(0xed)]+'/':'/',k=''+f+j+i[q(0xec)]+'/'+i[q(0xec)];await this['fsi'][q(0xde)](i[q(0x108)],h,k);});}catch(i){Log[p(0x10c)](i);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a118d,c=a();while(!![]){try{var d=-parseInt(f(
|
|
1
|
+
(function(a,b){var f=a118d,c=a();while(!![]){try{var d=-parseInt(f(0x1e4))/0x1*(-parseInt(f(0x1dc))/0x2)+parseInt(f(0x1de))/0x3*(-parseInt(f(0x1d9))/0x4)+-parseInt(f(0x1df))/0x5*(parseInt(f(0x1e3))/0x6)+parseInt(f(0x1e1))/0x7*(parseInt(f(0x1d8))/0x8)+parseInt(f(0x1d5))/0x9*(-parseInt(f(0x1d6))/0xa)+parseInt(f(0x1e0))/0xb+parseInt(f(0x1d7))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0x3e0c2));function a118c(){var i=['581007OcdYAG','95KjgYsJ','1482855xWRhBC','14UtVMIq','apply','45246yJRnhT','63ibzZHy','99bYgglo','415620nxlNQo','7247688DDdoIS','1013456YfGhLw','4dBJKRL','(((.+)+)+)+$','toString','1782BepTAu','search'];a118c=function(){return i;};return a118c();}var a118b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a118d;if(c){var e=c[g(0x1e2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){var h=a118d;return a118a['toString']()['search'](h(0x1da))[h(0x1db)]()['constructor'](a118a)[h(0x1dd)]('(((.+)+)+)+$');});a118a();import'./kit.js';import'./mui/_index.js';function a118d(a,b){var c=a118c();return a118d=function(d,e){d=d-0x1d5;var f=c[d];return f;},a118d(a,b);}import'./esri/_index.js';import'./auth/_index.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a119d,c=a();while(!![]){try{var d=parseInt(f(
|
|
1
|
+
function a119d(a,b){var c=a119c();return a119d=function(d,e){d=d-0x11e;var f=c[d];return f;},a119d(a,b);}(function(a,b){var f=a119d,c=a();while(!![]){try{var d=parseInt(f(0x126))/0x1+-parseInt(f(0x11e))/0x2*(-parseInt(f(0x122))/0x3)+parseInt(f(0x12b))/0x4*(parseInt(f(0x129))/0x5)+-parseInt(f(0x124))/0x6+-parseInt(f(0x123))/0x7+-parseInt(f(0x120))/0x8+parseInt(f(0x12a))/0x9*(parseInt(f(0x121))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0xeca92));var a119b=(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;};}()),a119a=a119b(this,function(){var g=a119d;return a119a[g(0x125)]()[g(0x127)]('(((.+)+)+)+$')['toString']()[g(0x11f)](a119a)[g(0x127)](g(0x128));});function a119c(){var h=['153uNjKYD','4kcqoGP','31772ydZSNf','constructor','13447144eIvLfe','336410xFPFlJ','222SQcwJs','9153291ZwAKcl','5045004hmoIEl','toString','1430498PsXtuS','search','(((.+)+)+)+$','8103715uvxgdl'];a119c=function(){return h;};return a119c();}a119a();import'./auth.generator.js';import'./provider.auth.gen.js';import'./basic-meteor.auth.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a120i=a120d;(function(a,b){const f=a120d,c=a();while(!![]){try{const d=parseInt(f(0xcb))/0x1*(-parseInt(f(0xd1))/0x2)+parseInt(f(0xbe))/0x3+-parseInt(f(0xd2))/0x4*(-parseInt(f(0xcd))/0x5)+-parseInt(f(0xc7))/0x6*(-parseInt(f(0xcf))/0x7)+-parseInt(f(0xc4))/0x8+parseInt(f(0xc8))/0x9+parseInt(f(0xd0))/0xa*(parseInt(f(0xca))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0x5731c));const a120b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a120d;if(c){const e=c[g(0xcc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){const h=a120d;return a120a[h(0xc9)]()['search']('(((.+)+)+)+$')[h(0xc9)]()['constructor'](a120a)[h(0xc1)](h(0xc5));});function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0xbe;let f=c[d];return f;},a120d(a,b);}a120a();import{Generator}from'../../../generator.js';import a120e from'../kit.js';const AuthGen=Generator['create']({'name':a120i(0xc2),'aliases':['a'],'usage':a120i(0xc6),'noNeedResource':!![],'shortDesc':a120i(0xbf),'validOpts':[''],'isPro':!![],'examples':[a120i(0xc0)],'description':a120i(0xc3)},async function(){const j=a120i;throw j(0xce);},async function(){},a120e);function a120c(){const k=['Starting\x20point\x20for\x20generating\x20an\x20Auth\x20Provider','maka\x20g:kit:a','search','auth','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x20\x20','4686984LkdzBN','(((.+)+)+)+$','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:<kit-name>','99552uEoFmo','84294wnLyfY','toString','11AYcqFL','86bxUWIK','apply','6785ZJlJuo','NIE','182JFTWew','3950500ajnQdK','10264Htfjkd','1232zZaauK','391827PvcAUr'];a120c=function(){return k;};return a120c();}export default AuthGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a121r=a121d;(function(a,b){const o=a121d,c=a();while(!![]){try{const d=parseInt(o(0xc8))/0x1*(parseInt(o(0xc6))/0x2)+-parseInt(o(0xd2))/0x3*(parseInt(o(0xcd))/0x4)+-parseInt(o(0xf5))/0x5*(-parseInt(o(0xe8))/0x6)+parseInt(o(0xe7))/0x7+parseInt(o(0xea))/0x8*(-parseInt(o(0xec))/0x9)+-parseInt(o(0xd3))/0xa*(-parseInt(o(0xba))/0xb)+-parseInt(o(0xe4))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0xc5b2a));const a121b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a121d;if(c){const e=c[p(0xc7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){const q=a121d;return a121a['toString']()[q(0xcf)]('(((.+)+)+)+$')[q(0xf6)]()[q(0xdd)](a121a)[q(0xcf)](q(0xd0));});function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0xba;let f=c[d];return f;},a121d(a,b);}a121a();import{Generator}from'../../../generator.js';function a121c(){const u=['findProjectDirectory','\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','pathFromApp','constructor','accounts-password','injectImport','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','kit:auth:provider','alanning:roles','meteor/meteor','3123552VHeSYf','/imports/startup/lib/authentication-service','processAndRunGenerator','3394286sfowsn','3174fPAnkm','const\x20resetPasswordWithToken','8uFIunl','const\x20sendForgotPasswordEmail','7717257gwsVcd','\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','react','imports','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','auth/roles','const\x20authenticateToken','const\x20authenticateUser','Meteor','4115ZFayEr','toString','AuthService','Meteor.startup','authentication-provider','1806508hRGQHS','startup','index','Accounts','/imports/startup/client/authentication-service','injectIntoCodeBlock','engines','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','force','fsi','ssr','meteor/maka:react-tracker','684kkTiLf','apply','2517FJVZLQ','\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','\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','create','meteor/accounts-base','8SyaHFg','\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','search','(((.+)+)+)+$','getMakaProjectConfig','1504704qlrZnQ','70lchahq','useTracker','authentication-service','true','const\x20registerNewUser','/imports/startup/lib','Meteor.publish'];a121c=function(){return u;};return a121c();}import{Log}from'../../../tools/log/log.class.js';import a121e from'./auth.generator.js';import a121f from'../../../generators/maka.gen.js';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a121r(0xcb)]({'name':'meteor','aliases':['m'],'usage':a121r(0xe0),'shortDesc':'Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','validOpts':[a121r(0xc2)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines['REACT']},'description':a121r(0xed)},async function(a,b){const s=a121r;try{const c=b[s(0xc2)]||![];await this[s(0xc3)]['checkMeteorPackage']([s(0xde),s(0xe2)],{'shouldInstall':!![]});const d=this['fsi'][s(0xda)](),f=this[s(0xc3)][s(0xd1)](),g=f[s(0xc0)][s(0xc4)]===s(0xd6);await a121f[s(0xe6)](s(0xe1),[],{'force':c,'cwd':d,'config':f});const h=await a121f['processAndRunGenerator']('publish',[s(0xf1)],{'force':c,'globalPublish':!![],'cwd':d,'config':f}),i=g?s(0xd8):'/imports/startup/client',j=this[s(0xc3)][s(0xdc)]({'pathParts':[i,'','',s(0xd5)]});await this[s(0xc3)]['withValue'](f,async()=>{const t=s;await this[t(0xc3)]['template']({'srcPath':'kit/auth/service/meteor-auth-service.js','destPath':j+'.js','framework':t(0xee),'context':{},'config':f,'force':c,'ignore':![]});});const k=this['fsi'][s(0xdc)]({'pathParts':[i,'','',s(0xf9)]}),l=f[s(0xc0)]['js'];await this[s(0xc3)][s(0xdf)]({'filePath':k+'.'+l,'importName':s(0xf7),'modulePath':g?s(0xe5):s(0xbe),'isNamedExport':![]}),await this['fsi'][s(0xbf)]({'filePath':k+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20const\x20user\x20=\x20await\x20AuthService.authenticateUser(username,\x20password);\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20user;\x0a\x20\x20\x20\x20\x20\x20','begin':s(0xf3),'replace':!![]}),await this[s(0xc3)][s(0xbf)]({'filePath':k+'.'+l,'content':s(0xce),'begin':s(0xf2),'replace':!![]}),await this[s(0xc3)][s(0xbf)]({'filePath':k+'.'+l,'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':'const\x20getUserAuthorizations','replace':!![]}),await this['fsi']['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':s(0xc1),'begin':'const\x20deauthenticateUser','replace':!![]}),await this[s(0xc3)][s(0xbf)]({'filePath':k+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','begin':s(0xeb),'replace':!![]}),await this[s(0xc3)][s(0xbf)]({'filePath':k+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','begin':s(0xd7),'replace':!![]}),await this[s(0xc3)][s(0xbf)]({'filePath':k+'.'+l,'content':s(0xf0),'begin':s(0xe9),'replace':!![]});g&&(await this[s(0xc3)][s(0xdf)]({'filePath':k+'.'+l,'importName':s(0xd4),'modulePath':s(0xc5),'isNamedExport':!![]}),await this['fsi']['injectIntoFile']({'filePath':k+'.'+l,'content':s(0xc9),'begin':'export\x20const\x20AuthProvider','end':'return\x20\x5c('}));await this[s(0xc3)][s(0xdf)]({'filePath':h,'importName':s(0xf4),'modulePath':s(0xe3),'isNamedExport':!![],'injectAtStart':!![]}),await this[s(0xc3)]['injectIntoCodeBlock']({'filePath':h,'content':s(0xca),'begin':s(0xd9),'replace':!![]});const m=this[s(0xc3)][s(0xdc)]({'pathParts':[s(0xef),s(0xbb),'server',s(0xbc)]});await this[s(0xc3)][s(0xdf)]({'filePath':m+'.'+l,'importName':s(0xbd),'modulePath':s(0xcc),'isNamedExport':!![]}),await this[s(0xc3)][s(0xbf)]({'filePath':m+'.'+l,'content':s(0xdb),'begin':s(0xf8),'replace':!![]});}catch(n){Log['error'](n),process['exit'](0x1);}},async function(){},a121e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a122w=a122d;function a122c(){const z=['2451222itjRxr','authentication-provider','withValue','toString','injectImport','992190uUmIfh','exit','fsi','create','useContext','error','6312342KXvjMY','replaceAll','248bSDBqJ','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','/imports/startup/client/authentication-provider','159542QoPYzE','/imports/startup/client/index','true','template','engines','AuthProvider','</AuthProvider>','kit/auth/provider/authentication-provider.js','AuthContext','injectAroundString','injectIntoCodeBlock','87731jSreOY','4jbxiby','/imports/startup/client','search','getMakaProjectConfig','force','<AuthProvider>','REACT','pathFromApp','\x0a\x20\x20\x20\x20\x20\x20const\x20{\x20currentUser,\x20loading\x20}\x20=\x20useContext(AuthContext);\x0a\x20\x20\x20\x20\x20\x20if\x20(loading)\x20return\x20<PublicRoutes\x20history={history}/>;\x0a\x20\x20\x20\x20\x20\x20return\x20(!currentUser)\x20?\x20<PublicRoutes\x20history={history}/>\x20:\x20<PrivateRoutes\x20history={history}/>;\x0a\x20\x20\x20\x20\x20\x20','/imports/startup/lib/authentication-provider','function\x20Routes','18855maSHju','/imports/startup/server/index','10150lWPOgA','split','(((.+)+)+)+$','60969CtzpFu','ssr','\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','/routes'];a122c=function(){return z;};return a122c();}(function(a,b){const u=a122d,c=a();while(!![]){try{const d=-parseInt(u(0x174))/0x1+parseInt(u(0x158))/0x2+-parseInt(u(0x178))/0x3+parseInt(u(0x164))/0x4*(parseInt(u(0x17d))/0x5)+-parseInt(u(0x153))/0x6+parseInt(u(0x163))/0x7*(parseInt(u(0x155))/0x8)+-parseInt(u(0x16f))/0x9*(-parseInt(u(0x171))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0xd2b51));const a122b=(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;};}()),a122a=a122b(this,function(){const v=a122d;return a122a[v(0x17b)]()[v(0x166)](v(0x173))[v(0x17b)]()['constructor'](a122a)[v(0x166)]('(((.+)+)+)+$');});a122a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a122e from'./auth.generator.js';import{headerCase}from'change-case';function a122d(a,b){const c=a122c();return a122d=function(d,e){d=d-0x153;let f=c[d];return f;},a122d(a,b);}import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a122w(0x180)]({'name':'provider','aliases':['p'],'usage':a122w(0x156),'shortDesc':'Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','validOpts':[a122w(0x168)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a122w(0x16a)]},'description':a122w(0x176)},async function(a,b){const x=a122w;try{const c=b[x(0x168)]||![];Log['bright']('Creating\x20an\x20AuthProvider\x20and\x20AuthContext');const d=this[x(0x17f)][x(0x167)](),f=d[x(0x15c)][x(0x175)]===x(0x15a),g={'name':headerCase(d['appName'])[x(0x154)]('-','\x20')},h=f?'/imports/startup/lib':x(0x165),i=this['fsi']['pathFromApp']({'pathParts':[h,'','',x(0x179)]});await this[x(0x17f)][x(0x17a)](d,async()=>{const y=x;await this[y(0x17f)][y(0x15b)]({'srcPath':y(0x15f),'destPath':i+'.js','framework':'react','context':g,'config':d,'force':c,'ignore':![]});});const j=d[x(0x15c)]['js'],k=h+x(0x177),l=k[x(0x172)]('/'),m=this[x(0x17f)]['pathFromApp']({'pathParts':l});await this['fsi']['injectImport']({'filePath':m+'.'+j,'importName':x(0x160),'modulePath':f?'/imports/startup/lib/authentication-provider':x(0x157),'isNamedExport':!![]}),await this['fsi'][x(0x17c)]({'filePath':m+'.'+j,'importName':x(0x181),'modulePath':'react','isNamedExport':!![],'injectAtStart':!![]}),await this['fsi'][x(0x162)]({'filePath':m+'.'+j,'content':x(0x16c),'begin':['const\x20Routes',x(0x16e)],'replace':!![]});const n=x(0x159),o=n[x(0x172)]('/'),p=this[x(0x17f)]['pathFromApp']({'pathParts':o});await this['fsi'][x(0x17c)]({'filePath':p+'.'+j,'importName':x(0x15d),'modulePath':f?'/imports/startup/lib/authentication-provider':x(0x157),'isNamedExport':!![]}),await this['fsi']['injectAroundString']({'filePath':p+'.'+j,'aboveContent':x(0x169),'belowContent':x(0x15e),'targetString':'<Routes\x20history={browserHistory}/>','indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q=x(0x170),r=q['split']('/'),s=this['fsi'][x(0x16b)]({'pathParts':r});await this['fsi'][x(0x17c)]({'filePath':s+'.'+j,'importName':x(0x15d),'modulePath':f?x(0x16d):x(0x157),'isNamedExport':!![]}),await this[x(0x17f)][x(0x161)]({'filePath':s+'.'+j,'aboveContent':'<AuthProvider>','belowContent':x(0x15e),'targetString':'<Routes\x20history={history}/>','indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log[x(0x182)](t),process[x(0x17e)](0x1);}},async function(){},a122e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a123d,c=a();while(!![]){try{var d
|
|
1
|
+
function a123c(){var i=['1dIxDuP','526004DNRQJx','apply','2003202GUnyEf','20rJXMaU','1103524tJZeTj','1716396SexzPI','5058921rveidC','constructor','9780630GJuyYO','8CNKJuW','5431674tmlwHS','toString'];a123c=function(){return i;};return a123c();}(function(a,b){var f=a123d,c=a();while(!![]){try{var d=-parseInt(f(0x9a))/0x1*(-parseInt(f(0x9f))/0x2)+parseInt(f(0xa0))/0x3+-parseInt(f(0x9b))/0x4*(-parseInt(f(0x9e))/0x5)+parseInt(f(0x98))/0x6+-parseInt(f(0xa1))/0x7+parseInt(f(0x97))/0x8*(-parseInt(f(0x9d))/0x9)+-parseInt(f(0x96))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0x9a419));var a123b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a123d;if(c){var e=c[g(0x9c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){var h=a123d;return a123a[h(0x99)]()['search']('(((.+)+)+)+$')[h(0x99)]()[h(0xa2)](a123a)['search']('(((.+)+)+)+$');});a123a();import'./esri.generator.js';function a123d(a,b){var c=a123c();return a123d=function(d,e){d=d-0x96;var f=c[d];return f;},a123d(a,b);}import'./map.esri.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a124i=a124d;
|
|
1
|
+
const a124i=a124d;(function(a,b){const f=a124d,c=a();while(!![]){try{const d=parseInt(f(0xe6))/0x1*(-parseInt(f(0xe2))/0x2)+-parseInt(f(0xee))/0x3+parseInt(f(0xe9))/0x4*(-parseInt(f(0xdc))/0x5)+-parseInt(f(0xe4))/0x6+parseInt(f(0xe5))/0x7*(parseInt(f(0xea))/0x8)+-parseInt(f(0xde))/0x9*(-parseInt(f(0xe7))/0xa)+-parseInt(f(0xed))/0xb*(-parseInt(f(0xec))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0x1e5c7));const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a124d;if(c){const e=c[g(0xdf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const h=a124d;return a124a[h(0xdb)]()['search'](h(0xdd))[h(0xdb)]()[h(0xeb)](a124a)['search']('(((.+)+)+)+$');});a124a();function a124c(){const k=['536372wNKBjg','8TEqiTH','constructor','42792rUEhdS','1243MxqMbI','585924nuPvIq','/foo','toString','5dcvcIH','(((.+)+)+)+$','1713951fWJzFv','apply','create','\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','36148tcDoWP','esri','705126wPCRpP','730814dTYzzM','7etoIeL','10fiyMPH','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>'];a124c=function(){return k;};return a124c();}function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0xda;let f=c[d];return f;},a124d(a,b);}import{Generator}from'../../../generator.js';import a124e from'../kit.js';const EsriGen=Generator[a124i(0xe0)]({'name':a124i(0xe3),'aliases':['e'],'usage':a124i(0xe8),'noNeedResource':!![],'shortDesc':'Starting\x20point\x20for\x20generating\x20Esri\x20Maps','validOpts':[''],'isPro':!![],'examples':['maka\x20g:kit:e'],'description':a124i(0xe1)},async function(){const j=a124i;return{'success':!![],'message':'Esri\x20Kit\x20generated\x20successfully','details':{'filesCreated':['/foo/bar'],'filesUpdated':[j(0xda)]}};},async function(){},a124e);export default EsriGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a125r=a125d;(function(a,b){const p=a125d,c=a();while(!![]){try{const d=parseInt(p(0x173))/0x1*(parseInt(p(0x150))/0x2)+parseInt(p(0x158))/0x3+-parseInt(p(0x14c))/0x4*(-parseInt(p(0x14e))/0x5)+-parseInt(p(0x151))/0x6+-parseInt(p(0x165))/0x7*(-parseInt(p(0x16a))/0x8)+-parseInt(p(0x14d))/0x9*(-parseInt(p(0x178))/0xa)+-parseInt(p(0x160))/0xb*(parseInt(p(0x15a))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0xa439f));function a125c(){const u=['REACT','\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','16BkbKKI','react','replaceAll','findProjectDirectory','injectIntoFile','</div>','constructor','map','.js','1340235WFaeuL','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','<div\x20id=\x22map\x22>','dir','Generate\x20an\x20Esri\x20map\x20component','244190udqdzr','processAndRunGenerator','4HXjUHy','54xJFngI','4412965NEeNaS','\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','2GHJWTP','288108LXiOOu','Generating\x20a\x20map\x20component','checkNpmPackage','exit','toString','baseDir','search','2175246iImJcz','withValue','32630556EcGXLk','kit/esri/map/','template','(((.+)+)+)+$','basic-map','injectTemplateModule','11apBHCr','/imports/ui/','engines','fsi','pathFromApp','1209173VrBHAS','page','injectImport'];a125c=function(){return u;};return a125c();}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 q=a125d;return a125a[q(0x155)]()[q(0x157)](q(0x15d))[q(0x155)]()[q(0x170)](a125a)[q(0x157)]('(((.+)+)+)+$');});function a125d(a,b){const c=a125c();return a125d=function(d,e){d=d-0x14b;let f=c[d];return f;},a125d(a,b);}a125a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a125e from'./esri.generator.js';import a125f from'../../../generators/maka.gen.js';import{paramCase,headerCase,pascalCase}from'change-case';import{ClientEngines,SsrEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':a125r(0x171),'aliases':['m'],'usage':a125r(0x174),'shortDesc':a125r(0x177),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a125r(0x168)],'ssr':SsrEngines['FALSE']},'description':a125r(0x169)},async function(a,b){const s=a125r;try{Log['bright'](s(0x152));const c=s(0x15e);await this[s(0x163)][s(0x153)](['@esri/react-arcgis','esri-loader'],{'shouldInstall':!![]});const d=this[s(0x163)][s(0x16d)](),f=this[s(0x163)]['getMakaProjectConfig'](),g=f[s(0x162)]['ssr']==='true',h=await a125f[s(0x14b)](s(0x166),['map'],{'cwd':d,'config':f}),i={'name':headerCase(f['appName'])[s(0x16c)]('-','\x20'),'componentName':pascalCase(c)},j=b[s(0x156)]?s(0x161)+b[s(0x156)]:'/imports/ui/hooks',k=this['fsi'][s(0x164)]({'pathParts':[j,b[s(0x176)],paramCase(c),paramCase(c)]});await this[s(0x163)][s(0x159)](f,async()=>{const t=s;await this[t(0x163)][t(0x15c)]({'srcPath':t(0x15b)+c+'.js','destPath':k+t(0x172),'framework':t(0x16b),'context':i,'config':f,'force':![],'ignore':![]});});const l=''+j+b[s(0x176)]+'/'+c+'/'+c;await this[s(0x163)][s(0x15f)](c,f,l);const m=h['split']('/'),n=this[s(0x163)][s(0x164)]({'pathParts':m});await this[s(0x163)][s(0x167)]({'filePath':n,'importName':pascalCase(c),'modulePath':g?'/imports/startup/lib/templates':'/imports/startup/client/templates','isNamedExport':!![]}),await this[s(0x163)][s(0x16e)]({'filePath':n,'content':'\x0a<'+pascalCase(c)+s(0x14f),'begin':['<div\x20id=\x22map\x22>',s(0x175)],'end':[s(0x16f)],'replace':!![]});}catch(o){Log['error'](o),process[s(0x154)](0x1);}},async function(){},a125e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a126h=a126d;(function(a,b){const f=a126d,c=a();while(!![]){try{const d=parseInt(f(0x1d4))/0x1+-parseInt(f(0x1d1))/0x2+-parseInt(f(0x1e1))/0x3*(-parseInt(f(0x1d3))/0x4)+-parseInt(f(0x1e0))/0x5*(parseInt(f(0x1da))/0x6)+-parseInt(f(0x1dd))/0x7*(parseInt(f(0x1e2))/0x8)+parseInt(f(0x1e3))/0x9*(-parseInt(f(0x1de))/0xa)+-parseInt(f(0x1df))/0xb*(-parseInt(f(0x1d2))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0xb5500));const a126b=(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;};}()),a126a=a126b(this,function(){const g=a126d;return a126a[g(0x1d8)]()[g(0x1dc)](g(0x1db))[g(0x1d8)]()['constructor'](a126a)[g(0x1dc)]('(((.+)+)+)+$');});function a126c(){const i=['maka\x20g:kit','toString','maka\x20g:k','6ldrYKQ','(((.+)+)+)+$','search','91903qDPOPL','10kkHHmj','6127peCeYq','7089610nOkbbT','3432558ZXdvgO','224SDtkcN','6901569cwDqaQ','Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','467688guaBTf','47364TDTLOZ','4objlFW','186210IYdTYR','maka\x20{generate,\x20g}:{kit}\x20<name>','create'];a126c=function(){return i;};return a126c();}a126a();import{Generator}from'../../generator.js';function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0x1d0;let f=c[d];return f;},a126d(a,b);}const KitGen=Generator[a126h(0x1d6)]({'name':'kit','aliases':['k'],'usage':a126h(0x1d5),'shortDesc':a126h(0x1d0),'minArgLength':0x1,'isPro':!![],'validOpts':[],'noNeedResource':!![],'examples':[a126h(0x1d7),a126h(0x1d9)]},async function(){});export default KitGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a127d,c=a();while(!![]){try{var d
|
|
1
|
+
(function(a,b){var f=a127d,c=a();while(!![]){try{var d=parseInt(f(0x1bf))/0x1+parseInt(f(0x1b4))/0x2*(parseInt(f(0x1b5))/0x3)+-parseInt(f(0x1b9))/0x4+parseInt(f(0x1bd))/0x5*(-parseInt(f(0x1b6))/0x6)+-parseInt(f(0x1ba))/0x7+parseInt(f(0x1b3))/0x8*(-parseInt(f(0x1bb))/0x9)+parseInt(f(0x1c0))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0x23234));var a127b=(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;};}()),a127a=a127b(this,function(){var g=a127d;return a127a['toString']()[g(0x1be)](g(0x1bc))[g(0x1b8)]()[g(0x1b7)](a127a)[g(0x1be)]('(((.+)+)+)+$');});function a127d(a,b){var c=a127c();return a127d=function(d,e){d=d-0x1b3;var f=c[d];return f;},a127d(a,b);}a127a();import'./mui.generator.js';import'./frame.mui.gen.js';import'./auth.mui.gen.js';function a127c(){var h=['26LXBmVd','2262vvuwPC','6KbWneq','constructor','toString','292652aYwTbd','942984hHPtmj','18xTcgcf','(((.+)+)+)+$','541260zzUzaV','search','271288iutbLQ','3013790oCiMEp','489672sCxclg'];a127c=function(){return h;};return a127c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a128J=a128d;(function(a,b){const G=a128d,c=a();while(!![]){try{const d=-parseInt(G(
|
|
1
|
+
function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0x85;let f=c[d];return f;},a128d(a,b);}const a128J=a128d;(function(a,b){const G=a128d,c=a();while(!![]){try{const d=-parseInt(G(0xbd))/0x1+parseInt(G(0xbb))/0x2+parseInt(G(0x91))/0x3+parseInt(G(0x9c))/0x4*(parseInt(G(0xbe))/0x5)+-parseInt(G(0xbc))/0x6+-parseInt(G(0x9e))/0x7*(-parseInt(G(0xb3))/0x8)+parseInt(G(0x9a))/0x9*(-parseInt(G(0xb0))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0x196f2));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){const H=a128d;if(c){const e=c[H(0x8d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const I=a128d;return a128a[I(0x95)]()[I(0xa7)]('(((.+)+)+)+$')[I(0x95)]()['constructor'](a128a)[I(0xa7)](I(0xa4));});a128a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';function a128c(){const N=['112473eIUgVG','logout','2724NivyPK','engines','120008kvAQVk','basic-register-page','kit/mui/auth/login/','error','Custom\x20(roll\x20your\x20own)','appName','(((.+)+)+)+$','split','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','search','.js','pathFromApp','processAndRunGenerator','template','maka\x20g:k:m:f','basic-logout-page','/imports/startup/lib/authentication-provider','Cleaning\x20up...','440vtZCpM','custom','kit:auth:provider','96uqAEQl','basic-forgot-password-page','fsi','force','register','dir','basic-login-page','AuthContext','242542xnvHHb','152772ILxhjM','48898ekOHZc','1425auEFPn','kit/mui/auth/register/','authType','log','maka\x20generate:kit:mui:frame','baseDir','list','kit:auth:meteor','/imports/ui/pages/auth','withValue','What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','injectTemplateModule','basic-password-reset-page','true','react','create','Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','apply','Meteor\x20Accounts','meteor','/imports/startup/client/authentication-provider','621966JDlkhx','route','kit/mui/auth/password-reset/','layouts','toString','injectImport','getMakaProjectConfig','reset-password/:token','kit/mui/auth/logout/'];a128c=function(){return N;};return a128c();}import a128e from'../../../generators/maka.gen.js';import a128f from'./mui.generator.js';import{paramCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a128J(0x8b)]({'name':'auth','aliases':['a'],'usage':'maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','shortDesc':a128J(0x8c),'validOpts':[a128J(0x94),a128J(0xb6)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines['MATERIAL'],'client':ClientEngines['REACT']},'examples':[a128J(0xc2),a128J(0xac)],'description':a128J(0xa6)},async function(a,b){const K=a128J;try{const c=b['force']||![],d=this[K(0xb5)]['findProjectDirectory'](),f=this[K(0xb5)][K(0x97)](),{authType:g}=await Actions['options']({'type':K(0xc4),'name':K(0xc0),'message':K(0x86),'choices':[{'name':K(0x8e),'value':K(0x8f)},{'name':K(0xa2),'value':K(0xb1)}]}),h=K(0xb9),i=K(0xad),j=K(0x9f),k=K(0x88),l=K(0xb4),m=b[K(0xc3)]?'/imports/ui/'+b['baseDir']:K(0xc6),n=this['fsi'][K(0xa9)]({'pathParts':[m,b[K(0xb8)],paramCase(h),paramCase(h)]}),o=this['fsi'][K(0xa9)]({'pathParts':[m,b[K(0xb8)],paramCase(i),paramCase(i)]}),p=this[K(0xb5)]['pathFromApp']({'pathParts':[m,b[K(0xb8)],paramCase(j),paramCase(j)]}),q=this[K(0xb5)][K(0xa9)]({'pathParts':[m,b[K(0xb8)],paramCase(k),paramCase(k)]}),r=this[K(0xb5)][K(0xa9)]({'pathParts':[m,b[K(0xb8)],paramCase(l),paramCase(l)]}),s={'name':headerCase(f[K(0xa3)])['replaceAll']('-','\x20')};await this[K(0xb5)][K(0x85)](f,async()=>{const L=K;await this[L(0xb5)][L(0xab)]({'srcPath':L(0xa0)+h+L(0xa8),'destPath':n+L(0xa8),'framework':L(0x8a),'context':s,'config':f,'force':c,'ignore':![]}),await this['fsi'][L(0xab)]({'srcPath':L(0x99)+i+L(0xa8),'destPath':o+L(0xa8),'framework':L(0x8a),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0xb5)]['template']({'srcPath':L(0xbf)+j+L(0xa8),'destPath':p+L(0xa8),'framework':L(0x8a),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0xb5)][L(0xab)]({'srcPath':L(0x93)+k+L(0xa8),'destPath':q+L(0xa8),'framework':'react','context':s,'config':f,'force':c,'ignore':![]}),await this[L(0xb5)][L(0xab)]({'srcPath':'kit/mui/auth/forgot-password/'+l+L(0xa8),'destPath':r+L(0xa8),'framework':L(0x8a),'context':s,'config':f,'force':c,'ignore':![]});});const t=''+m+b[K(0xb8)]+'/'+h+'/'+h;await this['fsi']['injectTemplateModule'](h,f,t);const u=''+m+b[K(0xb8)]+'/'+i+'/'+i;await this[K(0xb5)][K(0x87)](i,f,u);const v=''+m+b[K(0xb8)]+'/'+j+'/'+j;await this[K(0xb5)][K(0x87)](j,f,v);const w=''+m+b[K(0xb8)]+'/'+k+'/'+k;await this[K(0xb5)][K(0x87)](k,f,w);const x=''+m+b['dir']+'/'+l+'/'+l;await this[K(0xb5)][K(0x87)](l,f,x),await a128e[K(0xaa)](K(0x92),[K(0xb9)],{'url':'login','cwd':d,'config':f}),await a128e[K(0xaa)](K(0x92),[K(0xad)],{'url':K(0x9b),'private':!![],'cwd':d,'config':f}),await a128e[K(0xaa)](K(0x92),[K(0x9f)],{'url':K(0xb7),'cwd':d,'config':f}),await a128e[K(0xaa)](K(0x92),[K(0x88)],{'url':K(0x98),'cwd':d,'config':f}),await a128e[K(0xaa)](K(0x92),[K(0xb4)],{'url':'forgot-password','cwd':d,'config':f});g===K(0x8f)&&await a128e['processAndRunGenerator'](K(0xc5),[],{'force':c,'cwd':d,'config':f});g===K(0xb1)&&await a128e[K(0xaa)](K(0xb2),[],{'force':c,'cwd':d,'config':f});const y=f[K(0x9d)]['ssr']===K(0x89),z=f['engines']['js'],A=this[K(0xb5)][K(0xa9)]({'pathParts':t[K(0xa5)]('/')});await this[K(0xb5)][K(0x96)]({'filePath':A+'.'+z,'importName':K(0xba),'modulePath':y?'/imports/startup/lib/authentication-provider':'/imports/startup/client/authentication-provider','isNamedExport':!![]});const B=this['fsi'][K(0xa9)]({'pathParts':u[K(0xa5)]('/')});await this[K(0xb5)][K(0x96)]({'filePath':B+'.'+z,'importName':'AuthContext','modulePath':y?K(0xae):'/imports/startup/client/authentication-provider','isNamedExport':!![]});const C=this[K(0xb5)][K(0xa9)]({'pathParts':v[K(0xa5)]('/')});await this[K(0xb5)]['injectImport']({'filePath':C+'.'+z,'importName':K(0xba),'modulePath':y?K(0xae):K(0x90),'isNamedExport':!![]});const D=this[K(0xb5)][K(0xa9)]({'pathParts':w[K(0xa5)]('/')});await this['fsi']['injectImport']({'filePath':D+'.'+z,'importName':K(0xba),'modulePath':y?K(0xae):K(0x90),'isNamedExport':!![]});const E=this[K(0xb5)][K(0xa9)]({'pathParts':x[K(0xa5)]('/')});await this['fsi']['injectImport']({'filePath':E+'.'+z,'importName':K(0xba),'modulePath':y?K(0xae):'/imports/startup/client/authentication-provider','isNamedExport':!![]});}catch(F){Log[K(0xa1)](F);}},async function(){const M=a128J;console[M(0xc1)](M(0xaf));},a128f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a129E=a129d;(function(a,b){const B=a129d,c=a();while(!![]){try{const d=parseInt(B(0x19f))/0x1*(-parseInt(B(0x1a0))/0x2)+-parseInt(B(0x199))/0x3*(parseInt(B(0x17f))/0x4)+parseInt(B(0x1b9))/0x5+-parseInt(B(0x19b))/0x6*(parseInt(B(0x17c))/0x7)+-parseInt(B(0x187))/0x8*(parseInt(B(0x19d))/0x9)+-parseInt(B(0x17d))/0xa+-parseInt(B(0x193))/0xb*(-parseInt(B(0x181))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0xbd085));const a129b=(function(){let a=!![];return function(b,c){const d=a?function(){const C=a129d;if(c){const e=c[C(0x17a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){const D=a129d;return a129a[D(0x1a3)]()['search'](D(0x1a7))[D(0x1a3)]()['constructor'](a129a)[D(0x179)](D(0x1a7));});a129a();import{Generator}from'../../../generator.js';function a129c(){const I=['2191435SWAJiP','replaceAll','@mui/material/Box','checkMeteorPackage','search','apply','fsi','301fPfkvd','14705020fMDkud','ssr','256QuVwzK','imports','49187460uKWBWZ','<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>','tests','log','true','error','5747656lFyTns','kit/mui/frame/drawers/','injectTemplateModule','getFiles','template','react','MATERIAL','{this.props.children}','baseDir','jsx','session','kit/mui/frame/app-bars/','11VXWevv','getDirectories','\x20/>\x0a','.js','</div>','pathFromApp','43686rrEzcz','maka:react-tracker','26802NEptFC','create','9jkPTRz','withValue','1rcpnsf','899914JsYtxE','{\x20props.children\x20}','join','toString','test','/imports/startup/client/templates','{props.children}','(((.+)+)+)+$','tsx','injectImport','kit/mui/frame/footers/','</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','{\x20this.props.children\x20}','injectIntoFile','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','/imports/ui/','Cleaning\x20up...','force','basic-app-bar','<div\x20id=\x22','options','dir','-hook\x22>','injectAroundString','layouts'];a129c=function(){return I;};return a129c();}import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a129e from'path';function a129d(a,b){const c=a129c();return a129d=function(d,e){d=d-0x176;let f=c[d];return f;},a129d(a,b);}import a129f from'./mui.generator.js';import{paramCase,pascalCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a129E(0x19c)]({'name':'frame','aliases':['f'],'usage':'maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','shortDesc':'Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','validOpts':[a129E(0x1b8),a129E(0x18f),'dir','force'],'isPro':![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a129E(0x18d)],'client':ClientEngines['REACT']},'examples':['maka\x20generate:kit:mui:frame','maka\x20g:k:m:f'],'description':a129E(0x1ae)},async function(a,b){const F=a129E;try{const c=b[F(0x1b1)]||![],d=F(0x1b2),f='basic-drawer',g='basic-sticky-footer',h=this[F(0x17b)]['getMakaProjectConfig'](),i=h['engines'][F(0x17e)]===F(0x185);await this['fsi'][F(0x178)]([F(0x191),F(0x19a)],{'shouldInstall':!![]});const j=this['fsi']['findAppDirectory'](),k=a129e['join'](j,F(0x180),'ui',F(0x1b8)),l=this[F(0x17b)][F(0x194)](k),m=await Actions[F(0x1b4)]({'type':'checkbox','name':F(0x1b8),'message':'Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','choices':l});if(m[F(0x1b8)]['length']===0x0){Log[F(0x186)]('No\x20layouts\x20selected');return;}const n=b['baseDir']?F(0x1af)+b['baseDir']:'/imports/ui/components',o=this[F(0x17b)][F(0x198)]({'pathParts':[n,b['dir'],paramCase(d),paramCase(d)]}),p=this[F(0x17b)]['pathFromApp']({'pathParts':[n,b[F(0x1b5)],paramCase(f),paramCase(f)]}),q=this[F(0x17b)]['pathFromApp']({'pathParts':[n,b['dir'],paramCase(g),paramCase(g)]}),r={'name':headerCase(h['appName'])[F(0x176)]('-','\x20')};await this['fsi'][F(0x19e)](h,async()=>{const G=F;await this[G(0x17b)]['template']({'srcPath':G(0x192)+d+G(0x196),'destPath':o+'.js','framework':G(0x18c),'context':r,'config':h,'force':c,'ignore':![]}),await this[G(0x17b)][G(0x18b)]({'srcPath':G(0x188)+f+G(0x196),'destPath':p+G(0x196),'framework':G(0x18c),'context':r,'config':h,'force':c,'ignore':![]}),await this[G(0x17b)][G(0x18b)]({'srcPath':G(0x1aa)+g+'.js','destPath':q+G(0x196),'framework':G(0x18c),'context':r,'config':h,'force':c,'ignore':![]});});const s=''+n+b[F(0x1b5)]+'/'+d+'/'+d;await this[F(0x17b)][F(0x189)](d,h,s);const t=''+n+b[F(0x1b5)]+'/'+f+'/'+f;await this[F(0x17b)]['injectTemplateModule'](f,h,t);const u=''+n+b[F(0x1b5)]+'/'+g+'/'+g;await this[F(0x17b)]['injectTemplateModule'](g,h,u);const {layouts:v}=m;for(const w of v){const x=this['fsi'][F(0x18a)](a129e[F(0x1a2)](k,w),{'extensions':[F(0x190),F(0x1a8)],'omit':['app-tests',F(0x183),F(0x1a4)]});for(const y of x){const z=a129e['join'](k,w,y);await this[F(0x17b)][F(0x1a9)]({'filePath':z,'importName':'Box','modulePath':F(0x177),'isNamedExport':![]}),await this['fsi']['injectImport']({'filePath':z,'importName':'Container','modulePath':'@mui/material/Container','isNamedExport':![]}),await this['fsi'][F(0x1a9)]({'filePath':z,'importName':pascalCase(d),'modulePath':i?'/imports/startup/lib/templates':F(0x1a5),'isNamedExport':!![]}),await this['fsi'][F(0x1ad)]({'filePath':z,'content':'<'+pascalCase(d)+'\x20/>\x0a','begin':[F(0x1b3)+w+'\x22>','<div\x20id=\x22'+w+'-hook\x22>'],'end':[F(0x18e),'{\x20this.props.children\x20}',F(0x1a6),F(0x1a1)]}),await this[F(0x17b)]['injectImport']({'filePath':z,'importName':pascalCase(f),'modulePath':i?'/imports/startup/lib/templates':F(0x1a5),'isNamedExport':!![]}),await this['fsi'][F(0x1ad)]({'filePath':z,'content':'<'+pascalCase(f)+F(0x195),'begin':[F(0x1b3)+w+'\x22>','<div\x20id=\x22'+w+F(0x1b6)],'end':['{this.props.children}',F(0x1ac),F(0x1a6),F(0x1a1)]}),await this['fsi']['injectIntoFile']({'filePath':z,'content':'<'+pascalCase(g)+'\x20/>\x0a','begin':[F(0x18e),F(0x1ac),F(0x1a6),F(0x1a1)],'end':[F(0x197)]}),await this[F(0x17b)][F(0x1a9)]({'filePath':z,'importName':pascalCase(g),'modulePath':i?'/imports/startup/lib/templates':F(0x1a5),'isNamedExport':!![]}),await this[F(0x17b)][F(0x1b7)]({'filePath':z,'aboveContent':F(0x182),'belowContent':F(0x1ab),'targetString':[F(0x18e),'{\x20this.props.children\x20}',F(0x1a6),'{\x20props.children\x20}'],'targetIndentAdjustment':0x6});}}return!![];}catch(A){Log['error'](A);}},async function(){const H=a129E;console[H(0x184)](H(0x1b0));},a129f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a130j=a130d;(function(a,b){const g=a130d,c=a();while(!![]){try{const d
|
|
1
|
+
const a130j=a130d;(function(a,b){const g=a130d,c=a();while(!![]){try{const d=-parseInt(g(0x169))/0x1+-parseInt(g(0x17c))/0x2*(parseInt(g(0x16e))/0x3)+-parseInt(g(0x164))/0x4*(-parseInt(g(0x16f))/0x5)+-parseInt(g(0x166))/0x6*(parseInt(g(0x174))/0x7)+-parseInt(g(0x16a))/0x8*(parseInt(g(0x179))/0x9)+parseInt(g(0x17e))/0xa*(-parseInt(g(0x15c))/0xb)+parseInt(g(0x175))/0xc*(parseInt(g(0x178))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0x87b89));const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a130d;if(c){const e=c[h(0x180)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const i=a130d;return a130a[i(0x159)]()[i(0x165)](i(0x16b))[i(0x159)]()[i(0x16c)](a130a)[i(0x165)](i(0x16b));});a130a();import{Generator}from'../../../generator.js';import{Actions}from'../../../tools/actions/actions.class.js';import{Log}from'../../../tools/log/log.class.js';import a130e from'../../../generators/maka.gen.js';import a130f from'../kit.js';function a130c(){const l=['checkbox','toString','Material-UI\x20Kit','fsi','20669tarEBT','notice','includes','Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!','findProjectDirectory','Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','Header,\x20Footer,\x20and\x20Drawer','getMakaProjectConfig','40IVMQKz','search','6714bEwYqw','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','mui','911212eFzMZW','8KQNgEB','(((.+)+)+)+$','constructor','frame','13491niDhSA','291255uQRIGM','Auth\x20workflow\x20(login,\x20logout,\x20etc.)','auth','kitChoices','kit:mui:frame','2471FzAkQC','12qkhmJL','No\x20MUI\x20kits\x20selected.\x20Exiting.','options','49103249AdIDzQ','8420634itqCYB','create','length','342EkdkMJ','\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','4220toXDge','info','apply','processAndRunGenerator'];a130c=function(){return l;};return a130c();}function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0x157;let f=c[d];return f;},a130d(a,b);}const MuiGen=Generator[a130j(0x17a)]({'name':a130j(0x168),'aliases':['m'],'usage':a130j(0x167),'noNeedResource':!![],'shortDesc':a130j(0x15a),'validOpts':[''],'isPro':!![],'examples':['maka\x20g:kit:m']},async function(){const k=a130j;Log[k(0x17f)](k(0x15f)),Log[k(0x15d)](k(0x17d));const {kitChoices:a}=await Actions[k(0x177)]({'type':k(0x158),'name':k(0x172),'message':k(0x161),'choices':[{'name':k(0x162),'value':k(0x16d)},{'name':k(0x170),'value':k(0x171)}]}),b=this[k(0x15b)][k(0x160)](),c=this[k(0x15b)][k(0x163)]();a[k(0x15e)]('frame')&&await a130e[k(0x157)](k(0x173),[],{'force':!![],'cwd':b,'config':c});a['includes']('auth')&&await a130e[k(0x157)]('kit:mui:auth',[],{'force':!![],'cwd':b,'config':c});if(a[k(0x17b)]===0x0){Log[k(0x17f)](k(0x176));return;}},async function(){},a130f);export default MuiGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a131o=a131d;(function(a,b){const l=a131d,c=a();while(!![]){try{const d=-parseInt(l(
|
|
1
|
+
const a131o=a131d;(function(a,b){const l=a131d,c=a();while(!![]){try{const d=-parseInt(l(0xa5))/0x1*(parseInt(l(0xbb))/0x2)+-parseInt(l(0xad))/0x3+-parseInt(l(0x91))/0x4+-parseInt(l(0xa7))/0x5+parseInt(l(0x8b))/0x6*(-parseInt(l(0xb2))/0x7)+-parseInt(l(0x92))/0x8*(-parseInt(l(0x9d))/0x9)+-parseInt(l(0xc4))/0xa*(-parseInt(l(0xbc))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0xbf81f));const a131b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a131d;if(c){const e=c[m(0x8c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a131a=a131b(this,function(){const n=a131d;return a131a[n(0xbe)]()[n(0xb7)]('(((.+)+)+)+$')[n(0xbe)]()['constructor'](a131a)[n(0xb7)](n(0xa3));});a131a();import a131e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['l'];Generator[a131o(0x94)]({'name':'layout','aliases':aliases,'usage':a131o(0x95),'shortDesc':a131o(0x8a),'validOpts':['withHook'],'examples':['maka\x20g:layout\x20mobile/iPhone8','maka\x20g:l\x20web/safari']},async function(a,b){const p=a131o,c=p(0x96),d=this[p(0x8d)][p(0xb1)](),e=this['fsi'][p(0x99)]({'pathParts':[c,b['dir'],paramCase(b['resourceName']),paramCase(b[p(0x86)])]}),f=this[p(0x8d)][p(0x9b)]();await this[p(0x8d)][p(0xa8)](f,async()=>{const q=p;typeof f['template'][q(0xa2)]==='string'&&(f[q(0xb0)]['test']=f[q(0xb0)][q(0xa2)]===q(0xc7)?!![]:![],this[q(0x8d)][q(0xaa)](q(0xa2),f['template'][q(0xa2)]));typeof f[q(0xb0)][q(0xb5)]===q(0xc3)&&(f[q(0xb0)]['css']=f[q(0xb0)][q(0xb5)]===q(0xc7)?!![]:![],this[q(0x8d)][q(0xaa)]('css',f[q(0xb0)][q(0xb5)]));typeof f[q(0xb0)]['js']===q(0xc3)&&(f[q(0xb0)]['js']=f['template']['js']===q(0xc7)?!![]:![],this[q(0x8d)][q(0xaa)]('js',f[q(0xb0)]['js']));!f[q(0xc5)]&&(f[q(0xc5)]={});const g=b['_']?b['_'][0x0][q(0x90)](':')[0x1]:![],h=b['_']&&aliases[q(0xb4)](g);h&&!this['checkNpmPackage'](q(0x8e))&&(Log[q(0xc2)](q(0xae)),this[q(0x8d)][q(0x89)]('ramda',{'cwd':d}));if(h&&!this[q(0x9c)](q(0xbf))){Log[q(0xc2)](q(0xa1));return;}const i={'name':pascalCase(b['resourceName']),'myPath':a131e[q(0xaf)](this[q(0x8d)][q(0xbd)]({}),e),'cssCaseName':paramCase(b[q(0x86)]),'className':pascalCase(b[q(0x86)]),'camelCaseName':camelCase(b[q(0x86)]),'fileName':paramCase(b[q(0x86)]),'graphql':f[q(0xa4)][q(0xa0)],'features':f[q(0xc5)],'client':f[q(0xa4)][q(0xc0)],'api':f[q(0xa4)][q(0xc1)],'ssr':f[q(0xa4)][q(0xb3)],'test':f[q(0xa4)][q(0xa2)],'theme':f['engines'][q(0x93)],'isComponent':![],'isLayout':!![],'withTranslations':f[q(0xc5)]['withTranslations']};f['features']?.[q(0xc6)]||b[q(0xb8)]?await this['fsi'][q(0xb0)]({'srcPath':q(0xa9),'destPath':e+'.js','framework':q(0xbf),'context':i,'config':f}):await this['fsi'][q(0xb0)]({'srcPath':q(0x9a),'destPath':e+q(0xac),'framework':'react','context':i,'config':f});f['engines'][q(0xa2)]!==q(0x9f)&&await this[q(0x8d)]['template']({'srcPath':q(0x98),'destPath':e+q(0x97),'framework':q(0xbf),'context':i,'config':f});f[q(0xb0)]['css']&&(await this['fsi']['template']({'srcPath':q(0xb6),'destPath':e+q(0xba),'context':Object[q(0xb9)]({},i,{'className':paramCase(b[q(0x86)])}),'config':f}),await this['fsi'][q(0x87)]({'filePath':e+'.'+f[q(0xa4)]['js'],'content':q(0xa6)+i[q(0xab)]+'.'+f['engines'][q(0xb5)]+'\x27;'}));const j=b[q(0x9e)]?'/'+b[q(0x9e)]+'/':'/',k=''+c+j+i[q(0xab)]+'/'+i[q(0xab)];await this['fsi'][q(0x88)](i[q(0x8f)],f,k);});});function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0x86;let f=c[d];return f;},a131d(a,b);}function a131c(){const r=['ssr','includes','css','template/template.css','search','withHook','assign','.css','489518WNGzIu','40238iCcfoL','pathFromProject','toString','react','client','api','warn','string','15830Bvzqye','features','withHooks','true','resourceName','injectAtBeginningOfFile','injectTemplateModule','installNpmPackage','Scaffolding\x20for\x20a\x20React\x20Layout.','150330FrFMxF','apply','fsi','ramda','className','split','2976204tVezog','40184AjpyeO','theme','create','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','/imports/ui/layouts','.app-tests.js','test/test.js','pathFromApp','component/component.js','getMakaProjectConfig','checkNpmPackage','1503nfbEkS','dir','none','graphql','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','test','(((.+)+)+)+$','engines','6qaFiPA','import\x20\x27./','7245250ctZAgb','withValue','hook/hook.js','setTemplate','fileName','.js','3468390aAwJHH','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','relative','template','findAppDirectory','287BlfCuj'];a131c=function(){return r;};return a131c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a132i=a132d;function a132d(a,b){const c=a132c();return a132d=function(d,e){d=d-
|
|
1
|
+
function a132c(){const j=['maka\x20g:scaffold\x20todos','4RQZdcg','maka\x20{generate,\x20g}:<generator>\x20<name>','toString','8wTznRj','maka\x20g:route\x20todos/edit','1421541hLtteZ','(((.+)+)+)+$','3JvNVFU','54170PESaSB','maka\x20g:dbc\x20geoserver\x20--type=pgsql','10uXXhHE','maka\x20g:api\x20trucks','991205PubqTM','apply','1795824iVbhEp','2984107cEfKOi','generate','Scaffold\x20various\x20parts\x20of\x20your\x20application','952302JbBrja','11677413dEizeO','search','maka\x20g:template\x20todos/todo_item'];a132c=function(){return j;};return a132c();}const a132i=a132d;function a132d(a,b){const c=a132c();return a132d=function(d,e){d=d-0xaf;let f=c[d];return f;},a132d(a,b);}(function(a,b){const f=a132d,c=a();while(!![]){try{const d=-parseInt(f(0xc5))/0x1*(parseInt(f(0xaf))/0x2)+parseInt(f(0xb9))/0x3+parseInt(f(0xbe))/0x4*(-parseInt(f(0xb3))/0x5)+-parseInt(f(0xb5))/0x6+-parseInt(f(0xb6))/0x7*(parseInt(f(0xc1))/0x8)+-parseInt(f(0xc3))/0x9*(parseInt(f(0xb1))/0xa)+parseInt(f(0xba))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a132c,0x34b9f));const a132b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a132d;if(c){const e=c[g(0xb4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a132a=a132b(this,function(){const h=a132d;return a132a[h(0xc0)]()[h(0xbb)](h(0xc4))[h(0xc0)]()['constructor'](a132a)[h(0xbb)](h(0xc4));});a132a();import{Generator}from'../generator.js';const MakaGen=new Generator({'name':a132i(0xb7),'aliases':['g'],'usage':a132i(0xbf),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':a132i(0xb8),'examples':['maka\x20generate:scaffold\x20todos',a132i(0xbd),a132i(0xbc),'maka\x20g:package\x20package:name',a132i(0xc2),a132i(0xb2),a132i(0xb0)]},function(){});export default MakaGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a133m=a133d;
|
|
1
|
+
const a133m=a133d;(function(a,b){const j=a133d,c=a();while(!![]){try{const d=-parseInt(j(0xc8))/0x1*(-parseInt(j(0xcf))/0x2)+-parseInt(j(0xd8))/0x3+-parseInt(j(0xc2))/0x4*(-parseInt(j(0xbf))/0x5)+parseInt(j(0xc7))/0x6*(-parseInt(j(0xc3))/0x7)+parseInt(j(0xda))/0x8+parseInt(j(0xdd))/0x9*(parseInt(j(0xdf))/0xa)+parseInt(j(0xd4))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a133c,0xa9fa9));function a133d(a,b){const c=a133c();return a133d=function(d,e){d=d-0xbe;let f=c[d];return f;},a133d(a,b);}const a133b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a133d;if(c){const e=c[k(0xdc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a133a=a133b(this,function(){const l=a133d;return a133a['toString']()[l(0xcb)](l(0xd5))['toString']()[l(0xde)](a133a)[l(0xcb)](l(0xd5));});a133a();function a133c(){const p=['resourceName','3498008hxcNit','ddp-rate-limiter','apply','9jZKqgO','constructor','8861810YPItki','maka\x20g:method\x20todos','-rpc-method.','fsi','injectAtEndOfFile','pathFromApp','225EZbCBh','startup','maka:check','12092edxtSD','1582jnPFVH','index.','import\x20\x27./methods','template','33738JmPsWW','1243857uGVpXb','imports','checkMeteorPackage','search','method/method.js','engines','method','2VAmnkc','dir','getMakaProjectConfig','create','mdg:validated-method','406175oCZcnf','(((.+)+)+)+$','appPathPrefix','tsx','2319654DYtfch'];a133c=function(){return p;};return a133c();}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a133m(0xd2)]({'name':a133m(0xce),'aliases':['m'],'usage':'maka\x20{generate,\x20g}:{method,\x20m}\x20name','checkWhere':!![],'shortDesc':'Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','validOpts':[a133m(0xd0)],'examples':[a133m(0xe0)]},async function(a,b){const n=a133m;try{const c=this[n(0xe2)][n(0xd1)]();await this[n(0xe2)]['withValue'](c,async()=>{const o=n,d=paramCase(b[o(0xd9)]),f={'name':b[o(0xd9)],'fileName':d,'className':pascalCase(b[o(0xd9)]),'camelCase':camelCase(b['resourceName']),'noRename':!![]};let g='js';c[o(0xcd)]['js']===o(0xd7)&&(g='ts');await this[o(0xe2)][o(0xca)]([o(0xc1),o(0xdb),o(0xd3)],{'shouldInstall':!![]}),await this[o(0xe2)][o(0xc6)]({'srcPath':o(0xcc),'destPath':this[o(0xe2)][o(0xbe)]({'pathParts':[o(0xc9),'startup',b[o(0xd6)],'methods',b['dir'],d+o(0xe1)+g]}),'context':f,'config':c});const h=b['dir']?'/'+b['dir']+'/':'/',i=this[o(0xe2)][o(0xbe)]({'pathParts':[o(0xc9),o(0xc0),b['appPathPrefix'],o(0xc4)+c['engines']['js']]});await this[o(0xe2)][o(0xe3)]({'filePath':i,'content':o(0xc5)+h+d+'-rpc-method\x27;'});});}catch(d){Log['error'](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a134c(){const r=['
|
|
1
|
+
const a134o=a134d;function a134c(){const r=['44kNrTLR','constructor','graphql','resourceName','18dVbvCF','theme','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','server','/client/','ssr','207288MskNAS','apply','(((.+)+)+)+$','67165lyqcLB','noRename','store','8zvxvmY','2856410nrVFBB','633CsXYVA','pathFromAppWithNoReWrite','template/template.js','create','hasOwnProperty','package/','459910oOtJfa','engines','pathFromApp','426OHNUNX','tests/client','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','tests/server','102815LixpSR','dir','package.js','component','client','template','fsi','search','.js','427878hDxroi','packages','getMakaProjectConfig','toString','package'];a134c=function(){return r;};return a134c();}(function(a,b){const l=a134d,c=a();while(!![]){try{const d=-parseInt(l(0xbe))/0x1+parseInt(l(0xcf))/0x2*(-parseInt(l(0xc6))/0x3)+-parseInt(l(0xb4))/0x4*(-parseInt(l(0xd3))/0x5)+parseInt(l(0xb8))/0x6*(parseInt(l(0xc1))/0x7)+parseInt(l(0xc4))/0x8*(-parseInt(l(0xdc))/0x9)+parseInt(l(0xc5))/0xa+-parseInt(l(0xcc))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a134c,0x3097c));const a134b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a134d;if(c){const e=c[m(0xbf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a134a=a134b(this,function(){const n=a134d;return a134a[n(0xdf)]()[n(0xda)](n(0xc0))[n(0xdf)]()[n(0xb5)](a134a)[n(0xda)](n(0xc0));});a134a();function a134d(a,b){const c=a134c();return a134d=function(d,e){d=d-0xb4;let f=c[d];return f;},a134d(a,b);}import a134e from'path';import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a134o(0xc9)]({'name':a134o(0xe0),'aliases':['p'],'usage':a134o(0xd1),'shortDesc':a134o(0xba),'validOpts':[a134o(0xd4)],'examples':['maka\x20g:package\x20todos:package']},async function(a,b){const p=a134o,c=paramCase(b[p(0xb7)]),d=this[p(0xd9)][p(0xce)]({'pathParts':[p(0xdd),b['dir'],c]}),e=this[p(0xd9)][p(0xc7)]({'pathParts':[p(0xdd),b[p(0xd4)],c,p(0xd5)]}),f=this[p(0xd9)][p(0xde)]();await this['fsi']['withValue'](f,async()=>{const q=p,g={'name':paramCase(b[q(0xb7)]),'myPath':a134e['relative'](this[q(0xd9)]['pathFromProject']({}),d),'cssCaseName':paramCase(b[q(0xb7)]),'className':pascalCase(b[q(0xb7)]),'camelCaseName':camelCase(b[q(0xb7)]),'fileName':c,'client':f[q(0xcd)][q(0xd7)],'graphql':f['engines'][q(0xb6)],'ssr':f[q(0xcd)][q(0xbd)],'isComponent':b[q(0xca)](q(0xd6)),'isLayout':b[q(0xca)]('layout'),'isStore':b[q(0xca)](q(0xc3)),'features':f['features'],'noRename':!![],'theme':f[q(0xcd)][q(0xb9)]};await this[q(0xd9)]['template']({'srcPath':'package/package.js','destPath':e,'context':g,'config':f}),g[q(0xc2)]=![];const h=d+q(0xbc)+c+q(0xdb);await this[q(0xd9)][q(0xd8)]({'srcPath':q(0xc8),'destPath':h,'context':g,'config':f});const i=['lib',q(0xbb),q(0xd0),q(0xd2)];for(const j of i){const k=d+'/'+j+'/'+c+q(0xdb);await this[q(0xd9)][q(0xd8)]({'srcPath':q(0xcb)+j+'/package.js','destPath':k,'context':g,'config':f});}});});
|