@maka/maka-cli 4.13.11 → 4.13.12
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/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 +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a117o=a117d;(function(a,b){const l=a117d,c=a();while(!![]){try{const d=parseInt(l(
|
|
1
|
+
const a117o=a117d;(function(a,b){const l=a117d,c=a();while(!![]){try{const d=parseInt(l(0x90))/0x1*(-parseInt(l(0x83))/0x2)+parseInt(l(0x7e))/0x3*(-parseInt(l(0xb8))/0x4)+parseInt(l(0x7d))/0x5*(parseInt(l(0x9e))/0x6)+parseInt(l(0x88))/0x7+parseInt(l(0x96))/0x8*(parseInt(l(0x8c))/0x9)+-parseInt(l(0xba))/0xa*(parseInt(l(0x8e))/0xb)+-parseInt(l(0xb2))/0xc*(-parseInt(l(0x95))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0xace6a));const a117b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a117d;if(c){const e=c[m(0x79)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){const n=a117d;return a117a[n(0xa2)]()[n(0xa8)](n(0x93))[n(0xa2)]()[n(0x91)](a117a)[n(0xa8)]('(((.+)+)+)+$');});function a117c(){const r=['className','toString','dir','Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','error','true','cssCaseName','search','graphql','injectAtBeginningOfFile','create','test','setTemplate','fsi','fileName','assign','.app-tests.js','1770084xPVaVj','components','layouts','css','@apollo/client\x20isomorphic-fetch','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','4dqnQDW','.js','1569730WxfnXu','apply','force','baseDir','findAppDirectory','100duuQPj','924321uNGkeJ','installNpmPackage','string','test/test.js','theme','8OieLAa','template','notice','withTranslations','none','7661843SVolOk','Creating\x20','hooks','.css','2259bJYnVr','engines','22OLusXa','pathFromApp','287302KEocIW','constructor','maka\x20g:hook\x20cool-hook','(((.+)+)+)+$','maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','13EryTHN','12136fgjjEC','injectTemplateModule','features','import\x20\x27./','template/template.css','hook/hook.js','react','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','256992EyyVBY','resourceName','/imports/ui/components'];a117c=function(){return r;};return a117c();}a117a();import a117e from'path';import{paramCase,pascalCase,camelCase}from'change-case';function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0x79;let f=c[d];return f;},a117d(a,b);}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';Generator[a117o(0xab)]({'name':'hook','aliases':['h'],'checkWhere':![],'usage':a117o(0x94),'shortDesc':a117o(0xa4),'validOpts':[{'name':'baseDir','values':[a117o(0x8a),a117o(0xb3),'pages',a117o(0xb4)]},{'name':'force','boolFlag':!![]}],'examples':[a117o(0x92)],'description':'\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'},async function(a,b){const p=a117o;Log[p(0x85)](p(0x89)+b[p(0x9f)]+'\x20hook...');try{const c=this['fsi']['checkNpmPackage']('react');if(!c){Log[p(0xa5)](p(0xb7));throw new UsageError();}const d=this['fsi'][p(0x7c)](),f=b[p(0x7b)]?'/imports/ui/'+b['baseDir']:p(0xa0),g=this[p(0xae)][p(0x8f)]({'pathParts':[f,b[p(0xa3)],paramCase(b[p(0x9f)]),paramCase(b[p(0x9f)])]}),h=await this[p(0xae)]['getMakaProjectConfig']();await this[p(0xae)]['withValue'](h,async()=>{const q=p;typeof h[q(0x84)]['css']===q(0x80)&&(h[q(0x84)][q(0xb5)]=h['template'][q(0xb5)]===q(0xa6)?!![]:![],this[q(0xae)][q(0xad)](q(0xb5),h[q(0x84)][q(0xb5)]));h[q(0x8d)][q(0xa9)]==='apollo'&&!this[q(0xae)]['checkNpmPackage']('@apollo/client')&&(Log['warn'](q(0x9d)),await this[q(0xae)][q(0x7f)](q(0xb6),{'cwd':d}));const i={'cssCaseName':paramCase(b[q(0x9f)]),'camelCaseName':camelCase(b[q(0x9f)]),'className':pascalCase(b[q(0x9f)]),'name':pascalCase(b['resourceName']),'graphql':h[q(0x8d)][q(0xa9)],'theme':h[q(0x8d)][q(0x82)],'features':h[q(0x98)],'myPath':a117e['relative'](this[q(0xae)]['pathFromProject']({}),g),'fileName':paramCase(b[q(0x9f)]),'isComponent':![],'isLayout':![],'withTranslations':h[q(0x98)][q(0x86)]};await this[q(0xae)]['template']({'srcPath':q(0x9b),'destPath':g+q(0xb9),'context':i,'config':h,'framework':q(0x9c),'force':b[q(0x7a)]});h['template'][q(0xb5)]&&(await this[q(0xae)][q(0x84)]({'srcPath':q(0x9a),'destPath':g+q(0x8b),'context':Object[q(0xb0)]({},i,{'className':i[q(0xa7)]}),'config':h,'force':b[q(0x7a)]}),await this[q(0xae)][q(0xaa)]({'filePath':g+'.'+h[q(0x8d)]['js'],'content':q(0x99)+i['fileName']+'.'+h[q(0x8d)][q(0xb5)]+'\x27;'}));h[q(0x8d)][q(0xac)]!==q(0x87)&&await this[q(0xae)][q(0x84)]({'srcPath':q(0x81),'destPath':g+q(0xb1),'framework':q(0x9c),'context':i,'config':h,'force':b[q(0x7a)]});const j=b[q(0xa3)]?'/'+b[q(0xa3)]+'/':'/',k=''+f+j+i[q(0xaf)]+'/'+i['fileName'];await this[q(0xae)][q(0x97)](i[q(0xa1)],h,k);});}catch(i){Log['error'](i);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a118d,c=a();while(!![]){try{var d
|
|
1
|
+
function a118d(a,b){var c=a118c();return a118d=function(d,e){d=d-0xb8;var f=c[d];return f;},a118d(a,b);}(function(a,b){var f=a118d,c=a();while(!![]){try{var d=parseInt(f(0xc1))/0x1*(parseInt(f(0xbc))/0x2)+parseInt(f(0xc2))/0x3+-parseInt(f(0xc4))/0x4+parseInt(f(0xb9))/0x5+parseInt(f(0xb8))/0x6+parseInt(f(0xc0))/0x7*(parseInt(f(0xbe))/0x8)+-parseInt(f(0xc5))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0x24ff2));var a118b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a118d;if(c){var e=c[g(0xc3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){var h=a118d;return a118a[h(0xba)]()[h(0xbb)](h(0xbd))[h(0xba)]()[h(0xbf)](a118a)[h(0xbb)]('(((.+)+)+)+$');});a118a();import'./kit.js';import'./mui/_index.js';import'./esri/_index.js';function a118c(){var i=['7GBaAXE','4349QGCQSC','769770AnQtTW','apply','321752HUoRar','5805702PDUIsg','1407396fcJOYR','677205NYfiVN','toString','search','8YflOTK','(((.+)+)+)+$','1864488fLhzjq','constructor'];a118c=function(){return i;};return a118c();}import'./auth/_index.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(a,b){var f=a119d,c=a();while(!![]){try{var d=-parseInt(f(0x73))/0x1+-parseInt(f(0x6d))/0x2+-parseInt(f(0x70))/0x3*(-parseInt(f(0x69))/0x4)+-parseInt(f(0x6c))/0x5*(-parseInt(f(0x6f))/0x6)+-parseInt(f(0x71))/0x7+parseInt(f(0x6a))/0x8+parseInt(f(0x6b))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0x8c1a4));function a119d(a,b){var c=a119c();return a119d=function(d,e){d=d-0x68;var f=c[d];return f;},a119d(a,b);}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['toString']()[g(0x68)]('(((.+)+)+)+$')[g(0x72)]()[g(0x6e)](a119a)[g(0x68)]('(((.+)+)+)+$');});a119a();import'./auth.generator.js';import'./provider.auth.gen.js';import'./basic-meteor.auth.gen.js';function a119c(){var h=['8248592MsYNHI','5101011XqtqTH','5LyJbJW','1681782fnleHX','constructor','791754xBCgNB','800412VfYKyN','3566199MRBilO','toString','606016YADRFy','search','12kFQcyH'];a119c=function(){return h;};return a119c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a120h=a120d;(function(a,b){const f=a120d,c=a();while(!![]){try{const d=-parseInt(f(0x148))/0x1+-parseInt(f(0x141))/0x2*(-parseInt(f(0x145))/0x3)+parseInt(f(0x149))/0x4+parseInt(f(0x13a))/0x5*(parseInt(f(0x14c))/0x6)+parseInt(f(0x13b))/0x7*(-parseInt(f(0x13c))/0x8)+-parseInt(f(0x14a))/0x9+parseInt(f(0x13e))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0xf3a41));const a120b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){const g=a120d;return a120a[g(0x144)]()[g(0x13d)](g(0x14b))[g(0x144)]()['constructor'](a120a)[g(0x13d)](g(0x14b));});a120a();import{Generator}from'../../../generator.js';import a120e from'../kit.js';function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0x13a;let f=c[d];return f;},a120d(a,b);}const AuthGen=Generator['create']({'name':a120h(0x146),'aliases':['a'],'usage':a120h(0x13f),'noNeedResource':!![],'shortDesc':a120h(0x143),'validOpts':[''],'isPro':!![],'examples':[a120h(0x140)],'description':a120h(0x142)},async function(){const i=a120h;throw i(0x147);},async function(){},a120e);function a120c(){const j=['555369tGHCIQ','431708suDFCD','5175864VDaeGI','(((.+)+)+)+$','43122yxZZAI','750EjrtVi','84yRCiLX','637744QIKoTM','search','17180550iwWlhZ','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:<kit-name>','maka\x20g:kit:a','60334zmygPn','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x20\x20','Starting\x20point\x20for\x20generating\x20an\x20Auth\x20Provider','toString','18NdqKxw','auth','NIE'];a120c=function(){return j;};return a120c();}export default AuthGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a121r=a121d;(function(a,b){const o=a121d,c=a();while(!![]){try{const d
|
|
1
|
+
const a121r=a121d;(function(a,b){const o=a121d,c=a();while(!![]){try{const d=-parseInt(o(0x162))/0x1*(-parseInt(o(0x14b))/0x2)+parseInt(o(0x16d))/0x3*(parseInt(o(0x14d))/0x4)+-parseInt(o(0x163))/0x5+-parseInt(o(0x157))/0x6*(-parseInt(o(0x14e))/0x7)+parseInt(o(0x176))/0x8*(parseInt(o(0x15b))/0x9)+-parseInt(o(0x184))/0xa+parseInt(o(0x159))/0xb*(-parseInt(o(0x151))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0xb4171));const a121b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a121d;if(c){const e=c[p(0x17b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){const q=a121d;return a121a[q(0x156)]()['search']('(((.+)+)+)+$')['toString']()[q(0x16b)](a121a)[q(0x16e)](q(0x148));});a121a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a121e from'./auth.generator.js';function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0x140;let f=c[d];return f;},a121d(a,b);}import a121f from'../../../generators/maka.gen.js';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';function a121c(){const u=['fsi','/imports/startup/lib','meteor/meteor','3xNBtwo','6467600FjWprd','meteor/accounts-base','accounts-password','pathFromApp','Meteor.publish','Meteor','imports','const\x20sendForgotPasswordEmail','constructor','kit/auth/service/meteor-auth-service.js','524397ekXEbv','search','react','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','return\x20\x5c(','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\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','index','create','2040512MyNLrg','.js','/imports/startup/lib/authentication-service','startup','meteor/maka:react-tracker','apply','\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','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','injectIntoCodeBlock','REACT','exit','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','processAndRunGenerator','findProjectDirectory','3520340eYhHHJ','\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','AuthService','force','withValue','const\x20authenticateToken','authentication-provider','/imports/startup/client/authentication-service','checkMeteorPackage','const\x20resetPasswordWithToken','(((.+)+)+)+$','/imports/startup/client','ssr','562064dfgndr','server','8KBvdyC','133HGpDox','engines','authentication-service','14892mjvjnq','publish','\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','error','kit:auth:provider','toString','391026DJmSQM','const\x20registerNewUser','2684SRFWoK','Meteor.startup','9YPBHKN','\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','injectImport','template'];a121c=function(){return u;};return a121c();}Generator[a121r(0x175)]({'name':'meteor','aliases':['m'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','shortDesc':a121r(0x170),'validOpts':[a121r(0x141)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a121r(0x17f)]},'description':a121r(0x153)},async function(a,b){const s=a121r;try{const c=b[s(0x141)]||![];await this[s(0x15f)][s(0x146)]([s(0x165),'alanning:roles'],{'shouldInstall':!![]});const d=this[s(0x15f)][s(0x183)](),f=this[s(0x15f)]['getMakaProjectConfig'](),g=f[s(0x14f)][s(0x14a)]==='true';await a121f[s(0x182)](s(0x155),[],{'force':c,'cwd':d,'config':f});const h=await a121f[s(0x182)](s(0x152),['auth/roles'],{'force':c,'globalPublish':!![],'cwd':d,'config':f}),i=g?s(0x160):s(0x149),j=this[s(0x15f)][s(0x166)]({'pathParts':[i,'','',s(0x150)]});await this['fsi'][s(0x142)](f,async()=>{const t=s;await this[t(0x15f)][t(0x15e)]({'srcPath':t(0x16c),'destPath':j+t(0x177),'framework':t(0x16f),'context':{},'config':f,'force':c,'ignore':![]});});const k=this[s(0x15f)][s(0x166)]({'pathParts':[i,'','',s(0x144)]}),l=f[s(0x14f)]['js'];await this[s(0x15f)][s(0x15d)]({'filePath':k+'.'+l,'importName':s(0x140),'modulePath':g?s(0x178):s(0x145),'isNamedExport':![]}),await this[s(0x15f)]['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':s(0x17c),'begin':'const\x20authenticateUser','replace':!![]}),await this[s(0x15f)]['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':'\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','begin':s(0x143),'replace':!![]}),await this[s(0x15f)][s(0x17e)]({'filePath':k+'.'+l,'content':s(0x185),'begin':'const\x20getUserAuthorizations','replace':!![]}),await this[s(0x15f)][s(0x17e)]({'filePath':k+'.'+l,'content':s(0x181),'begin':'const\x20deauthenticateUser','replace':!![]}),await this[s(0x15f)]['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':s(0x17d),'begin':s(0x16a),'replace':!![]}),await this['fsi'][s(0x17e)]({'filePath':k+'.'+l,'content':s(0x172),'begin':s(0x158),'replace':!![]}),await this[s(0x15f)][s(0x17e)]({'filePath':k+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','begin':s(0x147),'replace':!![]});g&&(await this[s(0x15f)][s(0x15d)]({'filePath':k+'.'+l,'importName':'useTracker','modulePath':s(0x17a),'isNamedExport':!![]}),await this[s(0x15f)]['injectIntoFile']({'filePath':k+'.'+l,'content':'\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','begin':'export\x20const\x20AuthProvider','end':s(0x171)}));await this[s(0x15f)][s(0x15d)]({'filePath':h,'importName':s(0x168),'modulePath':s(0x161),'isNamedExport':!![],'injectAtStart':!![]}),await this['fsi'][s(0x17e)]({'filePath':h,'content':s(0x173),'begin':s(0x167),'replace':!![]});const m=this[s(0x15f)][s(0x166)]({'pathParts':[s(0x169),s(0x179),s(0x14c),s(0x174)]});await this[s(0x15f)][s(0x15d)]({'filePath':m+'.'+l,'importName':'Accounts','modulePath':s(0x164),'isNamedExport':!![]}),await this[s(0x15f)]['injectIntoCodeBlock']({'filePath':m+'.'+l,'content':s(0x15c),'begin':s(0x15a),'replace':!![]});}catch(n){Log[s(0x154)](n),process[s(0x180)](0x1);}},async function(){},a121e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a122x=a122d;function a122c(){const A=['32521HxFTnQ','true','/imports/startup/lib/authentication-provider','/imports/startup/lib','Creating\x20an\x20AuthProvider\x20and\x20AuthContext','AuthProvider','80wzKCdV','88oudazF','2752323rGMGBU','/imports/startup/client','152976qJOOQC','2015848CViKUq','bright','engines','split','constructor','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','replaceAll','provider','ssr','injectIntoCodeBlock','create','apply','<AuthProvider>','REACT','error','toString','useContext','278931ZrxiBB','injectImport','63CUxAyB','/routes','pathFromApp','517820zJinIN','<Routes\x20history={browserHistory}/>','84648URdpZn','<Routes\x20history={history}/>','authentication-provider','template','.js','injectAroundString','\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','fsi','30LrNcYg','/imports/startup/client/authentication-provider','withValue','function\x20Routes','search','(((.+)+)+)+$','/imports/startup/client/index','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','6dQnXiF','exit','react','</AuthProvider>'];a122c=function(){return A;};return a122c();}(function(a,b){const u=a122d,c=a();while(!![]){try{const d=parseInt(u(0x17a))/0x1*(parseInt(u(0x1a5))/0x2)+-parseInt(u(0x196))/0x3+-parseInt(u(0x19d))/0x4*(-parseInt(u(0x180))/0x5)+parseInt(u(0x176))/0x6*(-parseInt(u(0x182))/0x7)+-parseInt(u(0x185))/0x8+-parseInt(u(0x198))/0x9*(-parseInt(u(0x19b))/0xa)+-parseInt(u(0x181))/0xb*(parseInt(u(0x184))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0x5524e));const a122b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a122d;if(c){const e=c[v(0x190)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){const w=a122d;return a122a[w(0x194)]()[w(0x1a9)](w(0x1aa))[w(0x194)]()[w(0x189)](a122a)[w(0x1a9)](w(0x1aa));});a122a();import{Generator}from'../../../generator.js';function a122d(a,b){const c=a122c();return a122d=function(d,e){d=d-0x176;let f=c[d];return f;},a122d(a,b);}import{Log}from'../../../tools/log/log.class.js';import a122e from'./auth.generator.js';import{headerCase}from'change-case';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a122x(0x18f)]({'name':a122x(0x18c),'aliases':['p'],'usage':a122x(0x18a),'shortDesc':a122x(0x1ac),'validOpts':['force'],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a122x(0x192)]},'description':a122x(0x1a3)},async function(a,b){const y=a122x;try{const c=b['force']||![];Log[y(0x186)](y(0x17e));const d=this[y(0x1a4)]['getMakaProjectConfig'](),f=d[y(0x187)][y(0x18d)]===y(0x17b),g={'name':headerCase(d['appName'])[y(0x18b)]('-','\x20')},h=f?y(0x17d):y(0x183),i=this[y(0x1a4)][y(0x19a)]({'pathParts':[h,'','',y(0x19f)]});await this[y(0x1a4)][y(0x1a7)](d,async()=>{const z=y;await this[z(0x1a4)][z(0x1a0)]({'srcPath':'kit/auth/provider/authentication-provider.js','destPath':i+z(0x1a1),'framework':z(0x178),'context':g,'config':d,'force':c,'ignore':![]});});const j=d[y(0x187)]['js'],k=h+y(0x199),l=k[y(0x188)]('/'),m=this[y(0x1a4)][y(0x19a)]({'pathParts':l});await this[y(0x1a4)]['injectImport']({'filePath':m+'.'+j,'importName':'AuthContext','modulePath':f?y(0x17c):y(0x1a6),'isNamedExport':!![]}),await this[y(0x1a4)][y(0x197)]({'filePath':m+'.'+j,'importName':y(0x195),'modulePath':y(0x178),'isNamedExport':!![],'injectAtStart':!![]}),await this[y(0x1a4)][y(0x18e)]({'filePath':m+'.'+j,'content':'\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','begin':['const\x20Routes',y(0x1a8)],'replace':!![]});const n=y(0x1ab),o=n[y(0x188)]('/'),p=this[y(0x1a4)][y(0x19a)]({'pathParts':o});await this[y(0x1a4)][y(0x197)]({'filePath':p+'.'+j,'importName':y(0x17f),'modulePath':f?y(0x17c):'/imports/startup/client/authentication-provider','isNamedExport':!![]}),await this['fsi'][y(0x1a2)]({'filePath':p+'.'+j,'aboveContent':y(0x191),'belowContent':y(0x179),'targetString':y(0x19c),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q='/imports/startup/server/index',r=q['split']('/'),s=this[y(0x1a4)][y(0x19a)]({'pathParts':r});await this[y(0x1a4)][y(0x197)]({'filePath':s+'.'+j,'importName':y(0x17f),'modulePath':f?y(0x17c):'/imports/startup/client/authentication-provider','isNamedExport':!![]}),await this[y(0x1a4)][y(0x1a2)]({'filePath':s+'.'+j,'aboveContent':'<AuthProvider>','belowContent':y(0x179),'targetString':y(0x19e),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log[y(0x193)](t),process[y(0x177)](0x1);}},async function(){},a122e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a123d(a,b){var c=a123c();return a123d=function(d,e){d=d-0xc6;var f=c[d];return f;},a123d(a,b);}(function(a,b){var f=a123d,c=a();while(!![]){try{var d=parseInt(f(0xc7))/0x1+-parseInt(f(0xd4))/0x2*(parseInt(f(0xcb))/0x3)+parseInt(f(0xcd))/0x4*(-parseInt(f(0xd3))/0x5)+parseInt(f(0xd1))/0x6+parseInt(f(0xce))/0x7*(-parseInt(f(0xc6))/0x8)+-parseInt(f(0xcc))/0x9+-parseInt(f(0xc8))/0xa*(-parseInt(f(0xd2))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0xa30db));var a123b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a123d;if(c){var e=c[g(0xcf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){var h=a123d;return a123a['toString']()[h(0xc9)](h(0xd5))[h(0xca)]()[h(0xd0)](a123a)[h(0xc9)](h(0xd5));});function a123c(){var i=['constructor','3668940TVLOwH','544698kUeTvS','113780hDHMIB','171330zPFnZm','(((.+)+)+)+$','8ViPQhi','374515TIdNXk','530wwmcxW','search','toString','6mHsmga','5063607pPAFob','176GaiFtF','8451625lvlgGQ','apply'];a123c=function(){return i;};return a123c();}a123a();import'./esri.generator.js';import'./map.esri.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a124i=a124d;(function(a,b){const f=a124d,c=a();while(!![]){try{const d=parseInt(f(
|
|
1
|
+
const a124i=a124d;function a124c(){const k=['/foo/bar','6EUCEJi','6777SSbigY','Esri\x20Kit\x20generated\x20successfully','6805630aQuQXT','\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','3984XVUSOT','toString','apply','653555JZAdOf','93963cXfNzk','maka\x20g:kit:e','(((.+)+)+)+$','341454hYTdfP','Starting\x20point\x20for\x20generating\x20Esri\x20Maps','1861741bYxNAs','/foo','search','26HXGZwi','1719216CsKaDx','constructor'];a124c=function(){return k;};return a124c();}function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0x6c;let f=c[d];return f;},a124d(a,b);}(function(a,b){const f=a124d,c=a();while(!![]){try{const d=parseInt(f(0x6c))/0x1+parseInt(f(0x71))/0x2*(parseInt(f(0x7e))/0x3)+parseInt(f(0x72))/0x4+-parseInt(f(0x7d))/0x5+parseInt(f(0x75))/0x6*(parseInt(f(0x6e))/0x7)+-parseInt(f(0x7a))/0x8*(parseInt(f(0x76))/0x9)+-parseInt(f(0x78))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0x3f04e));const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a124d;if(c){const e=c[g(0x7c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const h=a124d;return a124a[h(0x7b)]()[h(0x70)](h(0x80))[h(0x7b)]()[h(0x73)](a124a)['search'](h(0x80));});a124a();import{Generator}from'../../../generator.js';import a124e from'../kit.js';const EsriGen=Generator['create']({'name':'esri','aliases':['e'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','noNeedResource':!![],'shortDesc':a124i(0x6d),'validOpts':[''],'isPro':!![],'examples':[a124i(0x7f)],'description':a124i(0x79)},async function(){const j=a124i;return{'success':!![],'message':j(0x77),'details':{'filesCreated':[j(0x74)],'filesUpdated':[j(0x6f)]}};},async function(){},a124e);export default EsriGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a125c(){const v=['react','55cvHldS','</div>','processAndRunGenerator','exit','constructor','/imports/startup/client/templates','split','apply','9WMGbrt','fsi','312wvwPJq','dir','findProjectDirectory','.js','Generating\x20a\x20map\x20component','create','injectIntoFile','search','500205MDLNcw','(((.+)+)+)+$','bright','page','basic-map','1378581ajoUdt','/imports/ui/','toString','getMakaProjectConfig','13881HsbwVR','kit/esri/map/','checkNpmPackage','replaceAll','5Gjmyvg','296458UddfGE','7301820PHOfuj','5780072sXRAzZ','Generate\x20an\x20Esri\x20map\x20component','pathFromApp','16mmKTSh','1318550VfrciS','/imports/startup/lib/templates','map','withValue','REACT','baseDir','<div\x20id=\x22map\x22>','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}'];a125c=function(){return v;};return a125c();}const a125s=a125d;(function(a,b){const p=a125d,c=a();while(!![]){try{const d=-parseInt(p(0x1ad))/0x1*(parseInt(p(0x1ae))/0x2)+-parseInt(p(0x1a5))/0x3+-parseInt(p(0x1b3))/0x4*(parseInt(p(0x1a0))/0x5)+parseInt(p(0x198))/0x6*(-parseInt(p(0x1a9))/0x7)+-parseInt(p(0x1b0))/0x8+parseInt(p(0x1c5))/0x9*(-parseInt(p(0x1b4))/0xa)+-parseInt(p(0x1bd))/0xb*(-parseInt(p(0x1af))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0x7630d));const a125b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a125d;if(c){const e=c[q(0x1c4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){const r=a125d;return a125a['toString']()[r(0x19f)](r(0x1a1))[r(0x1a7)]()[r(0x1c1)](a125a)['search'](r(0x1a1));});a125a();function a125d(a,b){const c=a125c();return a125d=function(d,e){d=d-0x198;let f=c[d];return f;},a125d(a,b);}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[a125s(0x19d)]({'name':a125s(0x1b6),'aliases':['m'],'usage':a125s(0x1bb),'shortDesc':a125s(0x1b1),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a125s(0x1b8)],'ssr':SsrEngines['FALSE']},'description':'\x0a\x20\x20\x20\x20This\x20generator\x20will\x20create\x20a\x20map\x20component\x20in\x20the\x20/imports/ui/hooks\x20directory.\x0a\x0a\x20\x20\x20\x20It\x27ll\x20also\x20create\x20a\x20page\x20component\x20in\x20the\x20/imports/ui/pages/map\x20directory.\x0a\x0a\x20\x20\x20\x20The\x20map\x20component\x20will\x20be\x20named\x20\x27BasicMap\x27\x20by\x20default.\x0a\x0a\x20\x20'},async function(a,b){const t=a125s;try{Log[t(0x1a2)](t(0x19c));const c=t(0x1a4);await this['fsi'][t(0x1ab)](['@esri/react-arcgis','esri-loader'],{'shouldInstall':!![]});const d=this[t(0x1c6)][t(0x19a)](),f=this[t(0x1c6)][t(0x1a8)](),g=f['engines']['ssr']==='true',h=await a125f[t(0x1bf)](t(0x1a3),[t(0x1b6)],{'cwd':d,'config':f}),i={'name':headerCase(f['appName'])[t(0x1ac)]('-','\x20'),'componentName':pascalCase(c)},j=b[t(0x1b9)]?t(0x1a6)+b['baseDir']:'/imports/ui/hooks',k=this['fsi'][t(0x1b2)]({'pathParts':[j,b[t(0x199)],paramCase(c),paramCase(c)]});await this[t(0x1c6)][t(0x1b7)](f,async()=>{const u=t;await this['fsi']['template']({'srcPath':u(0x1aa)+c+u(0x19b),'destPath':k+u(0x19b),'framework':u(0x1bc),'context':i,'config':f,'force':![],'ignore':![]});});const l=''+j+b['dir']+'/'+c+'/'+c;await this[t(0x1c6)]['injectTemplateModule'](c,f,l);const m=h[t(0x1c3)]('/'),n=this[t(0x1c6)]['pathFromApp']({'pathParts':m});await this['fsi']['injectImport']({'filePath':n,'importName':pascalCase(c),'modulePath':g?t(0x1b5):t(0x1c2),'isNamedExport':!![]}),await this[t(0x1c6)][t(0x19e)]({'filePath':n,'content':'\x0a<'+pascalCase(c)+'\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','begin':[t(0x1ba),t(0x1ba)],'end':[t(0x1be)],'replace':!![]});}catch(o){Log['error'](o),process[t(0x1c0)](0x1);}},async function(){},a125e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a126c(){const j=['652246NKNfRS','apply','787960uImAiQ','maka\x20{generate,\x20g}:{kit}\x20<name>','Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','search','25VztQZZ','246804sDjbfF','914586gThQwr','maka\x20g:k','(((.+)+)+)+$','152410MyCayE','6498702okkQql','toString','create','kit','maka\x20g:kit','32SxHSri','1971927bhWKtF'];a126c=function(){return j;};return a126c();}const a126i=a126d;(function(a,b){const f=a126d,c=a();while(!![]){try{const d=parseInt(f(0x1a6))/0x1+parseInt(f(0x1b5))/0x2+parseInt(f(0x1ad))/0x3+-parseInt(f(0x1b0))/0x4+-parseInt(f(0x1b4))/0x5*(-parseInt(f(0x1b6))/0x6)+parseInt(f(0x1ae))/0x7*(-parseInt(f(0x1ac))/0x8)+-parseInt(f(0x1a7))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0x62828));const a126b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a126d;if(c){const e=c[g(0x1af)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){const h=a126d;return a126a[h(0x1a8)]()[h(0x1b3)](h(0x1b8))[h(0x1a8)]()['constructor'](a126a)[h(0x1b3)](h(0x1b8));});function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0x1a6;let f=c[d];return f;},a126d(a,b);}a126a();import{Generator}from'../../generator.js';const KitGen=Generator[a126i(0x1a9)]({'name':a126i(0x1aa),'aliases':['k'],'usage':a126i(0x1b1),'shortDesc':a126i(0x1b2),'minArgLength':0x1,'isPro':!![],'validOpts':[],'noNeedResource':!![],'examples':[a126i(0x1ab),a126i(0x1b7)]},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(0x11b))/0x1*(-parseInt(f(0x121))/0x2)+-parseInt(f(0x11d))/0x3+parseInt(f(0x11c))/0x4+-parseInt(f(0x122))/0x5+parseInt(f(0x125))/0x6*(-parseInt(f(0x118))/0x7)+-parseInt(f(0x11e))/0x8+parseInt(f(0x124))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0x47783));var a127b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a127d;if(c){var e=c[g(0x120)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){var h=a127d;return a127a[h(0x123)]()[h(0x11f)](h(0x11a))[h(0x123)]()[h(0x119)](a127a)[h(0x11f)](h(0x11a));});a127a();function a127d(a,b){var c=a127c();return a127d=function(d,e){d=d-0x118;var f=c[d];return f;},a127d(a,b);}function a127c(){var i=['12036lqinxz','2874585yMwGqo','toString','7054893imemDv','7116GIZyBL','364swraaT','constructor','(((.+)+)+)+$','62PKxOmt','136900qSiJZt','107979lXTBGr','1807176aaInok','search','apply'];a127c=function(){return i;};return a127c();}import'./mui.generator.js';import'./frame.mui.gen.js';import'./auth.mui.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a128I=a128d;(function(a,b){const G=a128d,c=a();while(!![]){try{const d=parseInt(G(0x167))/0x1*(-parseInt(G(0x183))/0x2)+-parseInt(G(0x182))/0x3+-parseInt(G(0x164))/0x4+-parseInt(G(0x17d))/0x5+-parseInt(G(0x19d))/0x6*(parseInt(G(0x186))/0x7)+parseInt(G(0x199))/0x8*(-parseInt(G(0x1a2))/0x9)+parseInt(G(0x16b))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0x5346e));const a128b=(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;};}()),a128a=a128b(this,function(){const H=a128d;return a128a[H(0x191)]()['search']('(((.+)+)+)+$')[H(0x191)]()[H(0x19c)](a128a)[H(0x194)](H(0x172));});a128a();import{Generator}from'../../../generator.js';function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0x164;let f=c[d];return f;},a128d(a,b);}import{Log}from'../../../tools/log/log.class.js';function a128c(){const M=['basic-register-page','create','(((.+)+)+)+$','injectImport','options','kit/mui/auth/logout/','split','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','true','withValue','Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','baseDir','layouts','1359700YDaFRk','appName','list','processAndRunGenerator','MATERIAL','924573wtVvDS','19286SVZINg','fsi','log','1057aWNOAf','getMakaProjectConfig','injectTemplateModule','findProjectDirectory','Meteor\x20Accounts','forgot-password','replaceAll','Cleaning\x20up...','basic-forgot-password-page','/imports/startup/lib/authentication-provider','ssr','toString','logout','force','search','template','kit:auth:meteor','/imports/ui/','REACT','8392uLexEN','react','/imports/ui/pages/auth','constructor','20028JrqdyE','auth','basic-login-page','maka\x20g:k:m:f','pathFromApp','5571MHIKWe','.js','error','maka\x20generate:kit:mui:frame','engines','118436ZGiJmp','/imports/startup/client/authentication-provider','custom','6HRybEv','basic-password-reset-page','dir','AuthContext','21620690OBGHHD','kit/mui/auth/forgot-password/','route','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','basic-logout-page'];a128c=function(){return M;};return a128c();}import{Actions}from'../../../tools/actions/actions.class.js';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[a128I(0x171)]({'name':a128I(0x19e),'aliases':['a'],'usage':a128I(0x177),'shortDesc':a128I(0x17a),'validOpts':[a128I(0x17c),a128I(0x193)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a128I(0x181)],'client':ClientEngines[a128I(0x198)]},'examples':[a128I(0x1a5),a128I(0x1a0)],'description':a128I(0x16e)},async function(a,b){const J=a128I;try{const c=b[J(0x193)]||![],d=this[J(0x184)][J(0x189)](),f=this[J(0x184)][J(0x187)](),{authType:g}=await Actions[J(0x174)]({'type':J(0x17f),'name':'authType','message':'What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','choices':[{'name':J(0x18a),'value':'meteor'},{'name':'Custom\x20(roll\x20your\x20own)','value':'custom'}]}),h=J(0x19f),i=J(0x16f),j=J(0x170),k=J(0x168),l=J(0x18e),m=b[J(0x17b)]?J(0x197)+b['baseDir']:J(0x19b),n=this[J(0x184)][J(0x1a1)]({'pathParts':[m,b['dir'],paramCase(h),paramCase(h)]}),o=this[J(0x184)][J(0x1a1)]({'pathParts':[m,b[J(0x169)],paramCase(i),paramCase(i)]}),p=this[J(0x184)]['pathFromApp']({'pathParts':[m,b[J(0x169)],paramCase(j),paramCase(j)]}),q=this['fsi']['pathFromApp']({'pathParts':[m,b['dir'],paramCase(k),paramCase(k)]}),r=this[J(0x184)][J(0x1a1)]({'pathParts':[m,b[J(0x169)],paramCase(l),paramCase(l)]}),s={'name':headerCase(f[J(0x17e)])[J(0x18c)]('-','\x20')};await this[J(0x184)][J(0x179)](f,async()=>{const K=J;await this[K(0x184)]['template']({'srcPath':'kit/mui/auth/login/'+h+K(0x1a3),'destPath':n+K(0x1a3),'framework':K(0x19a),'context':s,'config':f,'force':c,'ignore':![]}),await this[K(0x184)]['template']({'srcPath':K(0x175)+i+K(0x1a3),'destPath':o+'.js','framework':K(0x19a),'context':s,'config':f,'force':c,'ignore':![]}),await this[K(0x184)][K(0x195)]({'srcPath':'kit/mui/auth/register/'+j+K(0x1a3),'destPath':p+K(0x1a3),'framework':K(0x19a),'context':s,'config':f,'force':c,'ignore':![]}),await this[K(0x184)][K(0x195)]({'srcPath':'kit/mui/auth/password-reset/'+k+K(0x1a3),'destPath':q+K(0x1a3),'framework':K(0x19a),'context':s,'config':f,'force':c,'ignore':![]}),await this[K(0x184)][K(0x195)]({'srcPath':K(0x16c)+l+K(0x1a3),'destPath':r+'.js','framework':K(0x19a),'context':s,'config':f,'force':c,'ignore':![]});});const t=''+m+b[J(0x169)]+'/'+h+'/'+h;await this[J(0x184)][J(0x188)](h,f,t);const u=''+m+b[J(0x169)]+'/'+i+'/'+i;await this[J(0x184)][J(0x188)](i,f,u);const v=''+m+b[J(0x169)]+'/'+j+'/'+j;await this[J(0x184)][J(0x188)](j,f,v);const w=''+m+b[J(0x169)]+'/'+k+'/'+k;await this[J(0x184)][J(0x188)](k,f,w);const x=''+m+b['dir']+'/'+l+'/'+l;await this[J(0x184)][J(0x188)](l,f,x),await a128e[J(0x180)](J(0x16d),['basic-login-page'],{'url':'login','cwd':d,'config':f}),await a128e[J(0x180)](J(0x16d),['basic-logout-page'],{'url':J(0x192),'private':!![],'cwd':d,'config':f}),await a128e[J(0x180)](J(0x16d),[J(0x170)],{'url':'register','cwd':d,'config':f}),await a128e[J(0x180)]('route',[J(0x168)],{'url':'reset-password/:token','cwd':d,'config':f}),await a128e[J(0x180)](J(0x16d),['basic-forgot-password-page'],{'url':J(0x18b),'cwd':d,'config':f});g==='meteor'&&await a128e[J(0x180)](J(0x196),[],{'force':c,'cwd':d,'config':f});g===J(0x166)&&await a128e[J(0x180)]('kit:auth:provider',[],{'force':c,'cwd':d,'config':f});const y=f[J(0x1a6)][J(0x190)]===J(0x178),z=f[J(0x1a6)]['js'],A=this[J(0x184)]['pathFromApp']({'pathParts':t[J(0x176)]('/')});await this[J(0x184)][J(0x173)]({'filePath':A+'.'+z,'importName':J(0x16a),'modulePath':y?J(0x18f):'/imports/startup/client/authentication-provider','isNamedExport':!![]});const B=this[J(0x184)][J(0x1a1)]({'pathParts':u[J(0x176)]('/')});await this[J(0x184)][J(0x173)]({'filePath':B+'.'+z,'importName':'AuthContext','modulePath':y?J(0x18f):'/imports/startup/client/authentication-provider','isNamedExport':!![]});const C=this[J(0x184)][J(0x1a1)]({'pathParts':v[J(0x176)]('/')});await this['fsi']['injectImport']({'filePath':C+'.'+z,'importName':J(0x16a),'modulePath':y?J(0x18f):'/imports/startup/client/authentication-provider','isNamedExport':!![]});const D=this[J(0x184)][J(0x1a1)]({'pathParts':w[J(0x176)]('/')});await this[J(0x184)]['injectImport']({'filePath':D+'.'+z,'importName':J(0x16a),'modulePath':y?J(0x18f):'/imports/startup/client/authentication-provider','isNamedExport':!![]});const E=this[J(0x184)][J(0x1a1)]({'pathParts':x['split']('/')});await this[J(0x184)][J(0x173)]({'filePath':E+'.'+z,'importName':'AuthContext','modulePath':y?J(0x18f):J(0x165),'isNamedExport':!![]});}catch(F){Log[J(0x1a4)](F);}},async function(){const L=a128I;console[L(0x185)](L(0x18d));},a128f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a129D=a129d;(function(a,b){const B=a129d,c=a();while(!![]){try{const d=parseInt(B(0x1fe))/0x1+parseInt(B(0x1ff))/0x2*(-parseInt(B(0x1f6))/0x3)+parseInt(B(0x224))/0x4+-parseInt(B(0x20c))/0x5*(parseInt(B(0x1fb))/0x6)+parseInt(B(0x20a))/0x7+parseInt(B(0x1e1))/0x8+-parseInt(B(0x1df))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0x65775));const a129b=(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;};}()),a129a=a129b(this,function(){const C=a129d;return a129a[C(0x226)]()[C(0x20d)](C(0x210))['toString']()[C(0x220)](a129a)[C(0x20d)]('(((.+)+)+)+$');});a129a();function a129c(){const H=['{\x20this.props.children\x20}','Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','kit/mui/frame/drawers/','</div>','REACT','Box','dir','checkMeteorPackage','error','basic-app-bar','{props.children}','engines','frame','layouts','maka\x20generate:kit:mui:frame','{this.props.children}','3TRzsKy','ssr','.js','injectTemplateModule','tsx','6vZfXcR','log','jsx','384605TdlJKr','75376TFSRXK','injectImport','tests','-hook\x22>','session','true','/imports/startup/lib/templates','getDirectories','/imports/ui/components','pathFromApp','force','5101278ObQMOH','appName','2674105LYXoGP','search','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','<div\x20id=\x22','(((.+)+)+)+$','app-tests','test','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','Cleaning\x20up...','No\x20layouts\x20selected','<Box\x20style={{\x20display:\x20\x27flex\x27,\x20flexDirection:\x20\x27column\x27,\x20minHeight:\x20\x27calc(100vh\x20-\x20157px)\x27\x20}}>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<Container\x20component=\x22main\x22>','react','maka:react-tracker','join','/imports/ui/','template','maka\x20g:k:m:f','basic-drawer','{\x20props.children\x20}','baseDir','constructor','getFiles','injectIntoFile','\x20/>\x0a','1353816qTFIKI','/imports/startup/client/templates','toString','findAppDirectory','@mui/material/Container','Container','kit/mui/frame/app-bars/','7554267YNFklI','imports','3005312ckeryq','fsi','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','basic-sticky-footer','create'];a129c=function(){return H;};return a129c();}import{Generator}from'../../../generator.js';function a129d(a,b){const c=a129c();return a129d=function(d,e){d=d-0x1db;let f=c[d];return f;},a129d(a,b);}import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a129e from'path';import a129f from'./mui.generator.js';import{paramCase,pascalCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a129D(0x1e5)]({'name':a129D(0x1f2),'aliases':['f'],'usage':a129D(0x20e),'shortDesc':a129D(0x1e7),'validOpts':[a129D(0x1f3),a129D(0x21f),a129D(0x1ec),'force'],'isPro':![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines['MATERIAL'],'client':ClientEngines[a129D(0x1ea)]},'examples':[a129D(0x1f4),a129D(0x21c)],'description':a129D(0x1e3)},async function(a,b){const E=a129D;try{const c=b[E(0x209)]||![],d=E(0x1ef),f=E(0x21d),g=E(0x1e4),h=this[E(0x1e2)]['getMakaProjectConfig'](),i=h[E(0x1f1)][E(0x1f7)]===E(0x204);await this[E(0x1e2)][E(0x1ed)]([E(0x203),E(0x218)],{'shouldInstall':!![]});const j=this['fsi'][E(0x1db)](),k=a129e[E(0x219)](j,E(0x1e0),'ui',E(0x1f3)),l=this[E(0x1e2)][E(0x206)](k),m=await Actions['options']({'type':'checkbox','name':E(0x1f3),'message':E(0x213),'choices':l});if(m['layouts']['length']===0x0){Log['error'](E(0x215));return;}const n=b[E(0x21f)]?E(0x21a)+b[E(0x21f)]:E(0x207),o=this[E(0x1e2)][E(0x208)]({'pathParts':[n,b['dir'],paramCase(d),paramCase(d)]}),p=this[E(0x1e2)][E(0x208)]({'pathParts':[n,b[E(0x1ec)],paramCase(f),paramCase(f)]}),q=this['fsi'][E(0x208)]({'pathParts':[n,b[E(0x1ec)],paramCase(g),paramCase(g)]}),r={'name':headerCase(h[E(0x20b)])['replaceAll']('-','\x20')};await this['fsi']['withValue'](h,async()=>{const F=E;await this[F(0x1e2)][F(0x21b)]({'srcPath':F(0x1de)+d+F(0x1f8),'destPath':o+F(0x1f8),'framework':'react','context':r,'config':h,'force':c,'ignore':![]}),await this[F(0x1e2)][F(0x21b)]({'srcPath':F(0x1e8)+f+'.js','destPath':p+F(0x1f8),'framework':F(0x217),'context':r,'config':h,'force':c,'ignore':![]}),await this[F(0x1e2)][F(0x21b)]({'srcPath':'kit/mui/frame/footers/'+g+F(0x1f8),'destPath':q+'.js','framework':F(0x217),'context':r,'config':h,'force':c,'ignore':![]});});const s=''+n+b[E(0x1ec)]+'/'+d+'/'+d;await this[E(0x1e2)][E(0x1f9)](d,h,s);const t=''+n+b[E(0x1ec)]+'/'+f+'/'+f;await this[E(0x1e2)]['injectTemplateModule'](f,h,t);const u=''+n+b[E(0x1ec)]+'/'+g+'/'+g;await this[E(0x1e2)][E(0x1f9)](g,h,u);const {layouts:v}=m;for(const w of v){const x=this[E(0x1e2)][E(0x221)](a129e[E(0x219)](k,w),{'extensions':[E(0x1fd),E(0x1fa)],'omit':[E(0x211),E(0x201),E(0x212)]});for(const y of x){const z=a129e[E(0x219)](k,w,y);await this['fsi'][E(0x200)]({'filePath':z,'importName':E(0x1eb),'modulePath':'@mui/material/Box','isNamedExport':![]}),await this[E(0x1e2)][E(0x200)]({'filePath':z,'importName':E(0x1dd),'modulePath':E(0x1dc),'isNamedExport':![]}),await this['fsi'][E(0x200)]({'filePath':z,'importName':pascalCase(d),'modulePath':i?'/imports/startup/lib/templates':E(0x225),'isNamedExport':!![]}),await this['fsi'][E(0x222)]({'filePath':z,'content':'<'+pascalCase(d)+E(0x223),'begin':[E(0x20f)+w+'\x22>',E(0x20f)+w+'-hook\x22>'],'end':[E(0x1f5),E(0x1e6),E(0x1f0),E(0x21e)]}),await this['fsi']['injectImport']({'filePath':z,'importName':pascalCase(f),'modulePath':i?'/imports/startup/lib/templates':'/imports/startup/client/templates','isNamedExport':!![]}),await this[E(0x1e2)][E(0x222)]({'filePath':z,'content':'<'+pascalCase(f)+E(0x223),'begin':['<div\x20id=\x22'+w+'\x22>',E(0x20f)+w+E(0x202)],'end':[E(0x1f5),E(0x1e6),'{props.children}','{\x20props.children\x20}']}),await this[E(0x1e2)][E(0x222)]({'filePath':z,'content':'<'+pascalCase(g)+'\x20/>\x0a','begin':[E(0x1f5),E(0x1e6),E(0x1f0),E(0x21e)],'end':[E(0x1e9)]}),await this[E(0x1e2)][E(0x200)]({'filePath':z,'importName':pascalCase(g),'modulePath':i?E(0x205):'/imports/startup/client/templates','isNamedExport':!![]}),await this[E(0x1e2)]['injectAroundString']({'filePath':z,'aboveContent':E(0x216),'belowContent':'</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','targetString':[E(0x1f5),E(0x1e6),E(0x1f0),E(0x21e)],'targetIndentAdjustment':0x6});}}return!![];}catch(A){Log[E(0x1ee)](A);}},async function(){const G=a129D;console[G(0x1fc)](G(0x214));},a129f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a130i=a130d;(function(a,b){const g=a130d,c=a();while(!![]){try{const d=parseInt(g(0x1f4))/0x1*(-parseInt(g(0x1ff))/0x2)+parseInt(g(0x1fa))/0x3+parseInt(g(0x20f))/0x4*(parseInt(g(0x1f9))/0x5)+-parseInt(g(0x214))/0x6+-parseInt(g(0x208))/0x7+-parseInt(g(0x1fb))/0x8*(parseInt(g(0x204))/0x9)+parseInt(g(0x20d))/0xa*(parseInt(g(0x1f1))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0x87a8f));const a130b=(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;};}()),a130a=a130b(this,function(){const h=a130d;return a130a['toString']()[h(0x201)](h(0x203))[h(0x209)]()[h(0x205)](a130a)[h(0x201)]('(((.+)+)+)+$');});a130a();function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0x1f0;let f=c[d];return f;},a130d(a,b);}function a130c(){const k=['(((.+)+)+)+$','1017vMjpBe','constructor','kit:mui:auth','Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!','3730104ZNrXUb','toString','options','Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','Material-UI\x20Kit','134580EprUtF','checkbox','705412YPpvMD','getMakaProjectConfig','Header,\x20Footer,\x20and\x20Drawer','maka\x20g:kit:m','kitChoices','2878098XFVWVd','info','1738aAhwpT','auth','frame','976637QQYrkv','mui','notice','findProjectDirectory','processAndRunGenerator','15LUVwlk','2136555yxJtfS','58248dtKAmh','kit:mui:frame','create','No\x20MUI\x20kits\x20selected.\x20Exiting.','2HYFSbb','includes','search','fsi'];a130c=function(){return k;};return a130c();}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';const MuiGen=Generator[a130i(0x1fd)]({'name':a130i(0x1f5),'aliases':['m'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','noNeedResource':!![],'shortDesc':a130i(0x20c),'validOpts':[''],'isPro':!![],'examples':[a130i(0x212)]},async function(){const j=a130i;Log[j(0x1f0)](j(0x207)),Log[j(0x1f6)]('\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');const {kitChoices:a}=await Actions[j(0x20a)]({'type':j(0x20e),'name':j(0x213),'message':j(0x20b),'choices':[{'name':j(0x211),'value':j(0x1f3)},{'name':'Auth\x20workflow\x20(login,\x20logout,\x20etc.)','value':'auth'}]}),b=this[j(0x202)][j(0x1f7)](),c=this[j(0x202)][j(0x210)]();a[j(0x200)](j(0x1f3))&&await a130e[j(0x1f8)](j(0x1fc),[],{'force':!![],'cwd':b,'config':c});a[j(0x200)](j(0x1f2))&&await a130e[j(0x1f8)](j(0x206),[],{'force':!![],'cwd':b,'config':c});if(a['length']===0x0){Log['info'](j(0x1fe));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 a131c(){const r=['theme','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','constructor','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','ramda','fsi','.css','pathFromProject','11323644SsSCYP','className','test','template','import\x20\x27./','search','4695332zApJvv','setTemplate','getMakaProjectConfig','test/test.js','findAppDirectory','withHook','.app-tests.js','3uBngxp','withHooks','split','api','withTranslations','includes','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','none','create','Scaffolding\x20for\x20a\x20React\x20Layout.','ssr','pathFromApp','572166HIyrtx','apply','resourceName','css','true','warn','dir','component/component.js','144YSmuMr','engines','toString','graphql','react','string','.js','withValue','injectTemplateModule','23874300hKyMDF','5256250XisvEU','fileName','layout','checkNpmPackage','1211906pLMsUb','template/template.css','maka\x20g:l\x20web/safari','2067658plSejW','features','(((.+)+)+)+$','installNpmPackage','hook/hook.js'];a131c=function(){return r;};return a131c();}(function(a,b){const l=a131d,c=a();while(!![]){try{const d=-parseInt(l(0xce))/0x1+parseInt(l(0xd1))/0x2*(-parseInt(l(0xac))/0x3)+parseInt(l(0xe4))/0x4+-parseInt(l(0xca))/0x5+parseInt(l(0xde))/0x6+parseInt(l(0xb8))/0x7*(-parseInt(l(0xc0))/0x8)+parseInt(l(0xc9))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0xe6d82));const a131b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a131d;if(c){const e=c[m(0xb9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a131a=a131b(this,function(){const n=a131d;return a131a[n(0xc2)]()['search'](n(0xd3))[n(0xc2)]()[n(0xd8)](a131a)[n(0xe3)]('(((.+)+)+)+$');});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';function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0xa7;let f=c[d];return f;},a131d(a,b);}const aliases=['l'];Generator[a131o(0xb4)]({'name':a131o(0xcc),'aliases':aliases,'usage':a131o(0xd7),'shortDesc':a131o(0xb5),'validOpts':['withHook'],'examples':['maka\x20g:layout\x20mobile/iPhone8',a131o(0xd0)]},async function(a,b){const p=a131o,c='/imports/ui/layouts',d=this['fsi'][p(0xa9)](),e=this[p(0xdb)][p(0xb7)]({'pathParts':[c,b['dir'],paramCase(b[p(0xba)]),paramCase(b[p(0xba)])]}),f=this['fsi'][p(0xa7)]();await this[p(0xdb)][p(0xc7)](f,async()=>{const q=p;typeof f[q(0xe1)][q(0xe0)]===q(0xc5)&&(f[q(0xe1)][q(0xe0)]=f[q(0xe1)]['test']===q(0xbc)?!![]:![],this[q(0xdb)][q(0xe5)](q(0xe0),f['template']['test']));typeof f[q(0xe1)][q(0xbb)]===q(0xc5)&&(f['template'][q(0xbb)]=f[q(0xe1)]['css']==='true'?!![]:![],this[q(0xdb)][q(0xe5)](q(0xbb),f[q(0xe1)][q(0xbb)]));typeof f[q(0xe1)]['js']==='string'&&(f['template']['js']=f['template']['js']===q(0xbc)?!![]:![],this[q(0xdb)]['setTemplate']('js',f['template']['js']));!f['features']&&(f['features']={});const g=b['_']?b['_'][0x0][q(0xae)](':')[0x1]:![],h=b['_']&&aliases[q(0xb1)](g);h&&!this[q(0xcd)](q(0xda))&&(Log[q(0xbd)](q(0xd9)),this[q(0xdb)][q(0xd4)](q(0xda),{'cwd':d}));if(h&&!this[q(0xcd)](q(0xc4))){Log[q(0xbd)](q(0xb2));return;}const i={'name':pascalCase(b[q(0xba)]),'myPath':a131e['relative'](this[q(0xdb)][q(0xdd)]({}),e),'cssCaseName':paramCase(b[q(0xba)]),'className':pascalCase(b['resourceName']),'camelCaseName':camelCase(b['resourceName']),'fileName':paramCase(b[q(0xba)]),'graphql':f[q(0xc1)][q(0xc3)],'features':f[q(0xd2)],'client':f[q(0xc1)]['client'],'api':f[q(0xc1)][q(0xaf)],'ssr':f[q(0xc1)][q(0xb6)],'test':f[q(0xc1)][q(0xe0)],'theme':f[q(0xc1)][q(0xd6)],'isComponent':![],'isLayout':!![],'withTranslations':f[q(0xd2)][q(0xb0)]};f[q(0xd2)]?.[q(0xad)]||b[q(0xaa)]?await this['fsi'][q(0xe1)]({'srcPath':q(0xd5),'destPath':e+'.js','framework':q(0xc4),'context':i,'config':f}):await this[q(0xdb)][q(0xe1)]({'srcPath':q(0xbf),'destPath':e+q(0xc6),'framework':'react','context':i,'config':f});f[q(0xc1)]['test']!==q(0xb3)&&await this[q(0xdb)][q(0xe1)]({'srcPath':q(0xa8),'destPath':e+q(0xab),'framework':q(0xc4),'context':i,'config':f});f[q(0xe1)][q(0xbb)]&&(await this['fsi'][q(0xe1)]({'srcPath':q(0xcf),'destPath':e+q(0xdc),'context':Object['assign']({},i,{'className':paramCase(b[q(0xba)])}),'config':f}),await this[q(0xdb)]['injectAtBeginningOfFile']({'filePath':e+'.'+f[q(0xc1)]['js'],'content':q(0xe2)+i[q(0xcb)]+'.'+f[q(0xc1)][q(0xbb)]+'\x27;'}));const j=b[q(0xbe)]?'/'+b[q(0xbe)]+'/':'/',k=''+c+j+i[q(0xcb)]+'/'+i['fileName'];await this['fsi'][q(0xc8)](i[q(0xdf)],f,k);});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a132h=a132d;function a132d(a,b){const c=a132c();return a132d=function(d,e){d=d-0x1ae;let f=c[d];return f;},a132d(a,b);}(function(a,b){const f=a132d,c=a();while(!![]){try{const d=-parseInt(f(0x1ae))/0x1*(parseInt(f(0x1bb))/0x2)+-parseInt(f(0x1bc))/0x3+-parseInt(f(0x1b2))/0x4+-parseInt(f(0x1af))/0x5*(-parseInt(f(0x1c0))/0x6)+-parseInt(f(0x1b5))/0x7*(parseInt(f(0x1b0))/0x8)+parseInt(f(0x1b7))/0x9+parseInt(f(0x1b8))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a132c,0x574eb));const a132b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a132a=a132b(this,function(){const g=a132d;return a132a['toString']()[g(0x1b9)](g(0x1bf))[g(0x1b4)]()[g(0x1b3)](a132a)[g(0x1b9)](g(0x1bf));});a132a();import{Generator}from'../generator.js';const MakaGen=new Generator({'name':'generate','aliases':['g'],'usage':'maka\x20{generate,\x20g}:<generator>\x20<name>','validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':a132h(0x1be),'examples':['maka\x20generate:scaffold\x20todos','maka\x20g:scaffold\x20todos',a132h(0x1b6),a132h(0x1bd),a132h(0x1ba),a132h(0x1b1),'maka\x20g:dbc\x20geoserver\x20--type=pgsql']},function(){});function a132c(){const i=['247136lecZMS','1617429zRXFTY','maka\x20g:package\x20package:name','Scaffold\x20various\x20parts\x20of\x20your\x20application','(((.+)+)+)+$','24414HavOVq','4EOXlJM','320RTtmuU','8AIGOgg','maka\x20g:api\x20trucks','697700xXoend','constructor','toString','2874865KKMZTR','maka\x20g:template\x20todos/todo_item','5015412ZWOBiI','11584620xzMScn','search','maka\x20g:route\x20todos/edit'];a132c=function(){return i;};return a132c();}export default MakaGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a133l=a133d;(function(a,b){const j=a133d,c=a();while(!![]){try{const d=parseInt(j(0x13a))/0x1*(-parseInt(j(0x126))/0x2)+parseInt(j(0x134))/0x3*(-parseInt(j(0x13c))/0x4)+parseInt(j(0x123))/0x5*(parseInt(j(0x128))/0x6)+parseInt(j(0x12e))/0x7*(-parseInt(j(0x119))/0x8)+parseInt(j(0x11d))/0x9*(parseInt(j(0x129))/0xa)+parseInt(j(0x137))/0xb+parseInt(j(0x135))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a133c,0x43212));const a133b=(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;};}()),a133a=a133b(this,function(){const k=a133d;return a133a[k(0x124)]()['search']('(((.+)+)+)+$')[k(0x124)]()[k(0x11e)](a133a)[k(0x131)](k(0x12a));});a133a();import{Generator}from'../generator.js';function a133d(a,b){const c=a133c();return a133d=function(d,e){d=d-0x119;let f=c[d];return f;},a133d(a,b);}import{Log}from'../tools/log/log.class.js';function a133c(){const o=['search','fsi','method/method.js','677256JQIQcp','2858472fsSeSb','-rpc-method\x27;','2014122ZldPGG','startup','appPathPrefix','395oHpdps','maka:check','8ZWDCVK','-rpc-method.','2872jgXdZg','pathFromApp','getMakaProjectConfig','imports','81dwmazb','constructor','resourceName','tsx','mdg:validated-method','engines','160295YEzJEp','toString','create','2602FPxOvz','dir','102LAtqEz','545030oDyYai','(((.+)+)+)+$','method','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','index.','4221hPOGfG','ddp-rate-limiter','withValue'];a133c=function(){return o;};return a133c();}import{camelCase,paramCase,pascalCase}from'change-case';Generator[a133l(0x125)]({'name':a133l(0x12b),'aliases':['m'],'usage':'maka\x20{generate,\x20g}:{method,\x20m}\x20name','checkWhere':!![],'shortDesc':a133l(0x12c),'validOpts':[a133l(0x127)],'examples':['maka\x20g:method\x20todos']},async function(a,b){const m=a133l;try{const c=this['fsi'][m(0x11b)]();await this[m(0x132)][m(0x130)](c,async()=>{const n=m,d=paramCase(b[n(0x11f)]),f={'name':b['resourceName'],'fileName':d,'className':pascalCase(b['resourceName']),'camelCase':camelCase(b[n(0x11f)]),'noRename':!![]};let g='js';c['engines']['js']===n(0x120)&&(g='ts');await this[n(0x132)]['checkMeteorPackage']([n(0x13b),n(0x12f),n(0x121)],{'shouldInstall':!![]}),await this['fsi']['template']({'srcPath':n(0x133),'destPath':this[n(0x132)][n(0x11a)]({'pathParts':['imports',n(0x138),b[n(0x139)],'methods',b[n(0x127)],d+n(0x13d)+g]}),'context':f,'config':c});const h=b[n(0x127)]?'/'+b['dir']+'/':'/',i=this[n(0x132)][n(0x11a)]({'pathParts':[n(0x11c),n(0x138),b[n(0x139)],n(0x12d)+c[n(0x122)]['js']]});await this[n(0x132)]['injectAtEndOfFile']({'filePath':i,'content':'import\x20\x27./methods'+h+d+n(0x136)});});}catch(d){Log['error'](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a134o=a134d;function
|
|
1
|
+
const a134o=a134d;function a134d(a,b){const c=a134c();return a134d=function(d,e){d=d-0x1d7;let f=c[d];return f;},a134d(a,b);}(function(a,b){const l=a134d,c=a();while(!![]){try{const d=-parseInt(l(0x1fa))/0x1+-parseInt(l(0x1f0))/0x2+-parseInt(l(0x1e7))/0x3*(-parseInt(l(0x1f3))/0x4)+-parseInt(l(0x1e4))/0x5*(parseInt(l(0x1f5))/0x6)+-parseInt(l(0x1e8))/0x7*(-parseInt(l(0x204))/0x8)+-parseInt(l(0x202))/0x9+parseInt(l(0x200))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a134c,0xd3940));const a134b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a134d;if(c){const e=c[m(0x1ed)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a134a=a134b(this,function(){const n=a134d;return a134a[n(0x1ef)]()[n(0x1f4)]('(((.+)+)+)+$')[n(0x1ef)]()[n(0x1de)](a134a)[n(0x1f4)]('(((.+)+)+)+$');});a134a();function a134c(){const r=['497777GiAGqq','/client/','graphql','packages','features','lib','14967550NhlNax','ssr','2476287CJtaKB','create','16RqqCtc','fsi','package/','withValue','tests/server','layout','noRename','pathFromAppWithNoReWrite','constructor','theme','engines','package/package.js','/package.js','template','35155LtyuPp','package.js','maka\x20g:package\x20todos:package','3tBBLPz','5561178gXZhWL','package','.js','tests/client','dir','apply','resourceName','toString','1931060PkBFIz','hasOwnProperty','relative','4518040kWtAhq','search','1374XJHUQj','pathFromApp','getMakaProjectConfig','component','store'];a134c=function(){return r;};return a134c();}import a134e from'path';import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a134o(0x203)]({'name':a134o(0x1e9),'aliases':['p'],'usage':'maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','shortDesc':'Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','validOpts':['dir'],'examples':[a134o(0x1e6)]},async function(a,b){const p=a134o,c=paramCase(b['resourceName']),d=this[p(0x1d7)][p(0x1f6)]({'pathParts':[p(0x1fd),b['dir'],c]}),e=this[p(0x1d7)][p(0x1dd)]({'pathParts':[p(0x1fd),b[p(0x1ec)],c,p(0x1e5)]}),f=this['fsi'][p(0x1f7)]();await this[p(0x1d7)][p(0x1d9)](f,async()=>{const q=p,g={'name':paramCase(b[q(0x1ee)]),'myPath':a134e[q(0x1f2)](this['fsi']['pathFromProject']({}),d),'cssCaseName':paramCase(b[q(0x1ee)]),'className':pascalCase(b[q(0x1ee)]),'camelCaseName':camelCase(b[q(0x1ee)]),'fileName':c,'client':f['engines']['client'],'graphql':f['engines'][q(0x1fc)],'ssr':f[q(0x1e0)][q(0x201)],'isComponent':b['hasOwnProperty'](q(0x1f8)),'isLayout':b[q(0x1f1)](q(0x1db)),'isStore':b[q(0x1f1)](q(0x1f9)),'features':f[q(0x1fe)],'noRename':!![],'theme':f[q(0x1e0)][q(0x1df)]};await this[q(0x1d7)][q(0x1e3)]({'srcPath':q(0x1e1),'destPath':e,'context':g,'config':f}),g[q(0x1dc)]=![];const h=d+q(0x1fb)+c+q(0x1ea);await this['fsi'][q(0x1e3)]({'srcPath':'template/template.js','destPath':h,'context':g,'config':f});const i=[q(0x1ff),'server',q(0x1eb),q(0x1da)];for(const j of i){const k=d+'/'+j+'/'+c+q(0x1ea);await this[q(0x1d7)][q(0x1e3)]({'srcPath':q(0x1d8)+j+q(0x1e2),'destPath':k,'context':g,'config':f});}});});
|