@maka/maka-cli 4.13.13 → 4.13.15
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
|
|
1
|
+
const a117o=a117d;(function(a,b){const l=a117d,c=a();while(!![]){try{const d=-parseInt(l(0xeb))/0x1+parseInt(l(0xec))/0x2+parseInt(l(0xd9))/0x3*(parseInt(l(0xf9))/0x4)+-parseInt(l(0xe5))/0x5+-parseInt(l(0xe3))/0x6*(parseInt(l(0xc5))/0x7)+parseInt(l(0xf7))/0x8*(parseInt(l(0xf6))/0x9)+parseInt(l(0xcb))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0x85d83));const a117b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a117d;if(c){const e=c[m(0xea)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){const n=a117d;return a117a['toString']()[n(0xf8)](n(0xc9))['toString']()[n(0xe8)](a117a)[n(0xf8)]('(((.+)+)+)+$');});a117a();import a117e from'path';function a117c(){const r=['fileName','layouts','injectAtBeginningOfFile','.css','theme','relative','force','7509519lxkotA','8iCAabZ','search','24jJdpaz','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','string','/imports/ui/components','className','baseDir','create','7WGLWAq','.js','fsi','notice','(((.+)+)+)+$','warn','8787020BuTkds','template','resourceName','withTranslations','Creating\x20','.app-tests.js','engines','components','graphql','test/test.js','template/template.css','import\x20\x27./','test','cssCaseName','66678lweVHj','injectTemplateModule','findAppDirectory','pathFromProject','css','apollo','\x20hook...','hook/hook.js','hooks','withValue','1590234FSzBzQ','react','5408000adpIdk','checkNpmPackage','error','constructor','@apollo/client\x20isomorphic-fetch','apply','315754bqAfab','728342egCAxm','true','dir'];a117c=function(){return r;};return a117c();}function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0xc1;let f=c[d];return f;},a117d(a,b);}import{paramCase,pascalCase,camelCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';Generator[a117o(0xc4)]({'name':'hook','aliases':['h'],'checkWhere':![],'usage':'maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','shortDesc':'Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','validOpts':[{'name':a117o(0xc3),'values':[a117o(0xe1),a117o(0xd2),'pages',a117o(0xf0)]},{'name':'force','boolFlag':!![]}],'examples':['maka\x20g:hook\x20cool-hook'],'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(0xc8)](p(0xcf)+b[p(0xcd)]+p(0xdf));try{const c=this[p(0xc7)][p(0xe6)](p(0xe4));if(!c){Log[p(0xe7)](p(0xfa));throw new UsageError();}const d=this['fsi'][p(0xdb)](),f=b[p(0xc3)]?'/imports/ui/'+b[p(0xc3)]:p(0xc1),g=this['fsi']['pathFromApp']({'pathParts':[f,b[p(0xee)],paramCase(b[p(0xcd)]),paramCase(b['resourceName'])]}),h=await this['fsi']['getMakaProjectConfig']();await this[p(0xc7)][p(0xe2)](h,async()=>{const q=p;typeof h[q(0xcc)][q(0xdd)]===q(0xfb)&&(h[q(0xcc)]['css']=h['template'][q(0xdd)]===q(0xed)?!![]:![],this[q(0xc7)]['setTemplate'](q(0xdd),h[q(0xcc)][q(0xdd)]));h[q(0xd1)]['graphql']===q(0xde)&&!this[q(0xc7)][q(0xe6)]('@apollo/client')&&(Log[q(0xca)]('Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...'),await this[q(0xc7)]['installNpmPackage'](q(0xe9),{'cwd':d}));const i={'cssCaseName':paramCase(b[q(0xcd)]),'camelCaseName':camelCase(b[q(0xcd)]),'className':pascalCase(b[q(0xcd)]),'name':pascalCase(b[q(0xcd)]),'graphql':h[q(0xd1)][q(0xd3)],'theme':h['engines'][q(0xf3)],'features':h['features'],'myPath':a117e[q(0xf4)](this[q(0xc7)][q(0xdc)]({}),g),'fileName':paramCase(b[q(0xcd)]),'isComponent':![],'isLayout':![],'withTranslations':h['features'][q(0xce)]};await this['fsi'][q(0xcc)]({'srcPath':q(0xe0),'destPath':g+q(0xc6),'context':i,'config':h,'framework':q(0xe4),'force':b[q(0xf5)]});h[q(0xcc)][q(0xdd)]&&(await this[q(0xc7)][q(0xcc)]({'srcPath':q(0xd5),'destPath':g+q(0xf2),'context':Object['assign']({},i,{'className':i[q(0xd8)]}),'config':h,'force':b[q(0xf5)]}),await this[q(0xc7)][q(0xf1)]({'filePath':g+'.'+h[q(0xd1)]['js'],'content':q(0xd6)+i['fileName']+'.'+h[q(0xd1)][q(0xdd)]+'\x27;'}));h['engines'][q(0xd7)]!=='none'&&await this[q(0xc7)]['template']({'srcPath':q(0xd4),'destPath':g+q(0xd0),'framework':q(0xe4),'context':i,'config':h,'force':b[q(0xf5)]});const j=b[q(0xee)]?'/'+b[q(0xee)]+'/':'/',k=''+f+j+i[q(0xef)]+'/'+i['fileName'];await this[q(0xc7)][q(0xda)](i[q(0xc2)],h,k);});}catch(i){Log[p(0xe7)](i);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a118d,c=a();while(!![]){try{var d
|
|
1
|
+
(function(a,b){var f=a118d,c=a();while(!![]){try{var d=parseInt(f(0x1e6))/0x1+parseInt(f(0x1ed))/0x2+parseInt(f(0x1ea))/0x3*(-parseInt(f(0x1e5))/0x4)+-parseInt(f(0x1e3))/0x5*(parseInt(f(0x1ef))/0x6)+parseInt(f(0x1e1))/0x7+-parseInt(f(0x1e7))/0x8+-parseInt(f(0x1eb))/0x9*(parseInt(f(0x1ec))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0x82648));var a118b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a118d;if(c){var e=c[g(0x1e9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){var h=a118d;return a118a[h(0x1e4)]()[h(0x1e8)](h(0x1e2))[h(0x1e4)]()[h(0x1ee)](a118a)[h(0x1e8)](h(0x1e2));});function a118d(a,b){var c=a118c();return a118d=function(d,e){d=d-0x1e1;var f=c[d];return f;},a118d(a,b);}a118a();import'./kit.js';import'./mui/_index.js';import'./esri/_index.js';function a118c(){var i=['189shhBUn','70430ZvFPAu','1543432WLQHeF','constructor','258CrqRQD','6131818sSvayK','(((.+)+)+)+$','60910IKQKxA','toString','2442772TZkMqu','756991iyfwbC','4705368QbJIXu','search','apply','3TwTkRj'];a118c=function(){return i;};return a118c();}import'./auth/_index.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a119d,c=a();while(!![]){try{var d=-parseInt(f(
|
|
1
|
+
(function(a,b){var f=a119d,c=a();while(!![]){try{var d=-parseInt(f(0x1d1))/0x1*(parseInt(f(0x1d3))/0x2)+-parseInt(f(0x1d4))/0x3+-parseInt(f(0x1cd))/0x4*(-parseInt(f(0x1cb))/0x5)+-parseInt(f(0x1cc))/0x6*(-parseInt(f(0x1c4))/0x7)+-parseInt(f(0x1d2))/0x8*(parseInt(f(0x1ca))/0x9)+parseInt(f(0x1cf))/0xa*(parseInt(f(0x1d0))/0xb)+parseInt(f(0x1c6))/0xc*(parseInt(f(0x1c8))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0xdbb33));var a119b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a119d;if(c){var e=c[g(0x1d5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){var h=a119d;return a119a[h(0x1ce)]()[h(0x1c5)](h(0x1c9))[h(0x1ce)]()[h(0x1c7)](a119a)[h(0x1c5)]('(((.+)+)+)+$');});a119a();import'./auth.generator.js';import'./provider.auth.gen.js';import'./basic-meteor.auth.gen.js';function a119d(a,b){var c=a119c();return a119d=function(d,e){d=d-0x1c4;var f=c[d];return f;},a119d(a,b);}function a119c(){var i=['98417awNFSP','739913yuEpAC','2645488gluZlC','2gpsIrT','3965565ZBocOI','apply','14qmtWXs','search','12KCMbKp','constructor','780156aKZJGM','(((.+)+)+)+$','9uNSdKQ','712235TgtrHy','3876732unwZIq','8xcfGdE','toString','1850LRxdcL'];a119c=function(){return i;};return a119c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0x18c;let f=c[d];return f;},a120d(a,b);}const a120h=a120d;(function(a,b){const f=a120d,c=a();while(!![]){try{const d=parseInt(f(0x196))/0x1*(-parseInt(f(0x193))/0x2)+-parseInt(f(0x197))/0x3+-parseInt(f(0x19d))/0x4+-parseInt(f(0x191))/0x5+parseInt(f(0x194))/0x6+-parseInt(f(0x198))/0x7+parseInt(f(0x19b))/0x8*(parseInt(f(0x19e))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0x75763));function a120c(){const j=['\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x20\x20','auth','27824312AutjVP','Starting\x20point\x20for\x20generating\x20an\x20Auth\x20Provider','2814000qAKSca','9Oryaaz','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:<kit-name>','create','(((.+)+)+)+$','NIE','constructor','3129035kUScOT','search','772VrWqEc','455298nKgHYc','maka\x20g:kit:a','653peDjWn','1617168GbNXTE','6666646inufsv'];a120c=function(){return j;};return a120c();}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['toString']()[g(0x192)]('(((.+)+)+)+$')['toString']()[g(0x190)](a120a)[g(0x192)](g(0x18e));});a120a();import{Generator}from'../../../generator.js';import a120e from'../kit.js';const AuthGen=Generator[a120h(0x18d)]({'name':a120h(0x19a),'aliases':['a'],'usage':a120h(0x18c),'noNeedResource':!![],'shortDesc':a120h(0x19c),'validOpts':[''],'isPro':!![],'examples':[a120h(0x195)],'description':a120h(0x199)},async function(){const i=a120h;throw i(0x18f);},async function(){},a120e);export default AuthGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a121r=a121d;
|
|
1
|
+
const a121r=a121d;function a121c(){const u=['AuthService','143094epSIZE','1078740LPsdBi','const\x20getUserAuthorizations','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','injectIntoCodeBlock','/imports/startup/client','auth/roles','meteor/accounts-base','alanning:roles','authentication-service','1649440NzmVOE','findProjectDirectory','processAndRunGenerator','3983817vBZwnB','toString','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','42oMujRV','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','\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','14fBusIL','meteor/maka:react-tracker','const\x20authenticateUser','const\x20resetPasswordWithToken','force','imports','meteor','Meteor','fsi','react','\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','4859667qXWYlm','pathFromApp','155292nDqKqd','true','withValue','accounts-password','startup','template','/imports/startup/client/authentication-service','constructor','const\x20deauthenticateUser','injectImport','4zxZiBU','2810585ANpfrq','apply','engines','/imports/startup/lib','search','REACT','authentication-provider','8qnSebK','/imports/startup/lib/authentication-service','Meteor.startup','publish','(((.+)+)+)+$','\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','checkMeteorPackage','const\x20sendForgotPasswordEmail','create','index','error','getMakaProjectConfig','1837hnJVaC','.js'];a121c=function(){return u;};return a121c();}(function(a,b){const o=a121d,c=a();while(!![]){try{const d=parseInt(o(0x98))/0x1*(-parseInt(o(0xac))/0x2)+parseInt(o(0xa6))/0x3*(-parseInt(o(0xc3))/0x4)+-parseInt(o(0xc4))/0x5+parseInt(o(0x99))/0x6*(parseInt(o(0xa9))/0x7)+-parseInt(o(0xcb))/0x8*(-parseInt(o(0xb7))/0x9)+-parseInt(o(0xa3))/0xa+parseInt(o(0xd7))/0xb*(parseInt(o(0xb9))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0xb08f8));const a121b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a121d;if(c){const e=c[p(0xc5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){const q=a121d;return a121a[q(0xa7)]()[q(0xc8)](q(0xcf))[q(0xa7)]()[q(0xc0)](a121a)['search'](q(0xcf));});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-0x98;let f=c[d];return f;},a121d(a,b);}import a121f from'../../../generators/maka.gen.js';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a121r(0xd3)]({'name':a121r(0xb2),'aliases':['m'],'usage':a121r(0x9b),'shortDesc':'Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','validOpts':[a121r(0xb0)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a121r(0xc9)]},'description':a121r(0xb6)},async function(a,b){const s=a121r;try{const c=b['force']||![];await this[s(0xb4)][s(0xd1)]([s(0xbc),s(0xa1)],{'shouldInstall':!![]});const d=this[s(0xb4)][s(0xa4)](),f=this[s(0xb4)][s(0xd6)](),g=f[s(0xc6)]['ssr']===s(0xba);await a121f[s(0xa5)]('kit:auth:provider',[],{'force':c,'cwd':d,'config':f});const h=await a121f[s(0xa5)](s(0xce),[s(0x9f)],{'force':c,'globalPublish':!![],'cwd':d,'config':f}),i=g?s(0xc7):s(0x9e),j=this[s(0xb4)]['pathFromApp']({'pathParts':[i,'','',s(0xa2)]});await this[s(0xb4)][s(0xbb)](f,async()=>{const t=s;await this[t(0xb4)][t(0xbe)]({'srcPath':'kit/auth/service/meteor-auth-service.js','destPath':j+t(0xd8),'framework':t(0xb5),'context':{},'config':f,'force':c,'ignore':![]});});const k=this[s(0xb4)][s(0xb8)]({'pathParts':[i,'','',s(0xca)]}),l=f[s(0xc6)]['js'];await this[s(0xb4)][s(0xc2)]({'filePath':k+'.'+l,'importName':s(0xd9),'modulePath':g?s(0xcc):s(0xbf),'isNamedExport':![]}),await this[s(0xb4)][s(0x9d)]({'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(0xae),'replace':!![]}),await this[s(0xb4)][s(0x9d)]({'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':'const\x20authenticateToken','replace':!![]}),await this[s(0xb4)][s(0x9d)]({'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':s(0x9a),'replace':!![]}),await this[s(0xb4)]['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':s(0x9c),'begin':s(0xc1),'replace':!![]}),await this['fsi'][s(0x9d)]({'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(0xd2),'replace':!![]}),await this[s(0xb4)][s(0x9d)]({'filePath':k+'.'+l,'content':s(0xa8),'begin':'const\x20registerNewUser','replace':!![]}),await this[s(0xb4)][s(0x9d)]({'filePath':k+'.'+l,'content':s(0xaa),'begin':s(0xaf),'replace':!![]});g&&(await this[s(0xb4)][s(0xc2)]({'filePath':k+'.'+l,'importName':'useTracker','modulePath':s(0xad),'isNamedExport':!![]}),await this[s(0xb4)]['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':'return\x20\x5c('}));await this[s(0xb4)][s(0xc2)]({'filePath':h,'importName':s(0xb3),'modulePath':'meteor/meteor','isNamedExport':!![],'injectAtStart':!![]}),await this[s(0xb4)][s(0x9d)]({'filePath':h,'content':s(0xd0),'begin':'Meteor.publish','replace':!![]});const m=this[s(0xb4)][s(0xb8)]({'pathParts':[s(0xb1),s(0xbd),'server',s(0xd4)]});await this[s(0xb4)]['injectImport']({'filePath':m+'.'+l,'importName':'Accounts','modulePath':s(0xa0),'isNamedExport':!![]}),await this[s(0xb4)][s(0x9d)]({'filePath':m+'.'+l,'content':s(0xab),'begin':s(0xcd),'replace':!![]});}catch(n){Log[s(0xd5)](n),process['exit'](0x1);}},async function(){},a121e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a122x=a122d;(function(a,b){const u=a122d,c=a();while(!![]){try{const d=parseInt(u(
|
|
1
|
+
function a122c(){const A=['pathFromApp','split','force','template','authentication-provider','withValue','react','replaceAll','\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','</AuthProvider>','getMakaProjectConfig','14526bfkLcf','39327882rMIbKf','72166sYfCwG','14KHFYlP','injectIntoCodeBlock','11yVTrEw','function\x20Routes','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','/imports/startup/client/authentication-provider','/imports/startup/server/index','injectImport','.js','/imports/startup/lib/authentication-provider','kit/auth/provider/authentication-provider.js','constructor','12ySNxYd','AuthContext','2052132XHkamT','engines','(((.+)+)+)+$','toString','111369YaUMjo','AuthProvider','error','ssr','appName','useContext','1000850BdEEoZ','provider','<Routes\x20history={history}/>','/routes','<AuthProvider>','7609105HSTPHN','\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','7624HbRgvS','/imports/startup/lib','<Routes\x20history={browserHistory}/>','/imports/startup/client','search','apply','injectAroundString','fsi'];a122c=function(){return A;};return a122c();}const a122x=a122d;(function(a,b){const u=a122d,c=a();while(!![]){try{const d=parseInt(u(0xf7))/0x1*(-parseInt(u(0xf4))/0x2)+-parseInt(u(0x107))/0x3*(parseInt(u(0x101))/0x4)+-parseInt(u(0x112))/0x5+parseInt(u(0x103))/0x6*(parseInt(u(0xf5))/0x7)+parseInt(u(0x114))/0x8*(-parseInt(u(0xf2))/0x9)+parseInt(u(0x10d))/0xa+parseInt(u(0xf3))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0xc126a));const a122b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a122d;if(c){const e=c[v(0x119)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){const w=a122d;return a122a['toString']()['search'](w(0x105))[w(0x106)]()[w(0x100)](a122a)[w(0x118)](w(0x105));});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';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';function a122d(a,b){const c=a122c();return a122d=function(d,e){d=d-0xed;let f=c[d];return f;},a122d(a,b);}Generator['create']({'name':a122x(0x10e),'aliases':['p'],'usage':a122x(0xf9),'shortDesc':'Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','validOpts':[a122x(0x11e)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines['REACT']},'description':a122x(0xef)},async function(a,b){const y=a122x;try{const c=b[y(0x11e)]||![];Log['bright']('Creating\x20an\x20AuthProvider\x20and\x20AuthContext');const d=this[y(0x11b)][y(0xf1)](),f=d['engines'][y(0x10a)]==='true',g={'name':headerCase(d[y(0x10b)])[y(0xee)]('-','\x20')},h=f?y(0x115):y(0x117),i=this[y(0x11b)][y(0x11c)]({'pathParts':[h,'','',y(0x120)]});await this[y(0x11b)][y(0x121)](d,async()=>{const z=y;await this['fsi'][z(0x11f)]({'srcPath':z(0xff),'destPath':i+z(0xfd),'framework':'react','context':g,'config':d,'force':c,'ignore':![]});});const j=d[y(0x104)]['js'],k=h+y(0x110),l=k[y(0x11d)]('/'),m=this[y(0x11b)][y(0x11c)]({'pathParts':l});await this[y(0x11b)]['injectImport']({'filePath':m+'.'+j,'importName':y(0x102),'modulePath':f?y(0xfe):y(0xfa),'isNamedExport':!![]}),await this[y(0x11b)]['injectImport']({'filePath':m+'.'+j,'importName':y(0x10c),'modulePath':y(0xed),'isNamedExport':!![],'injectAtStart':!![]}),await this[y(0x11b)][y(0xf6)]({'filePath':m+'.'+j,'content':y(0x113),'begin':['const\x20Routes',y(0xf8)],'replace':!![]});const n='/imports/startup/client/index',o=n[y(0x11d)]('/'),p=this[y(0x11b)][y(0x11c)]({'pathParts':o});await this[y(0x11b)][y(0xfc)]({'filePath':p+'.'+j,'importName':y(0x108),'modulePath':f?y(0xfe):y(0xfa),'isNamedExport':!![]}),await this['fsi']['injectAroundString']({'filePath':p+'.'+j,'aboveContent':y(0x111),'belowContent':y(0xf0),'targetString':y(0x116),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q=y(0xfb),r=q['split']('/'),s=this[y(0x11b)][y(0x11c)]({'pathParts':r});await this[y(0x11b)][y(0xfc)]({'filePath':s+'.'+j,'importName':y(0x108),'modulePath':f?y(0xfe):y(0xfa),'isNamedExport':!![]}),await this['fsi'][y(0x11a)]({'filePath':s+'.'+j,'aboveContent':y(0x111),'belowContent':y(0xf0),'targetString':y(0x10f),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log[y(0x109)](t),process['exit'](0x1);}},async function(){},a122e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a123d,c=a();while(!![]){try{var d=-parseInt(f(
|
|
1
|
+
(function(a,b){var f=a123d,c=a();while(!![]){try{var d=-parseInt(f(0xb4))/0x1+parseInt(f(0xba))/0x2+parseInt(f(0xb8))/0x3+parseInt(f(0xbd))/0x4+parseInt(f(0xb6))/0x5*(parseInt(f(0xb5))/0x6)+parseInt(f(0xb7))/0x7*(-parseInt(f(0xbc))/0x8)+-parseInt(f(0xc1))/0x9*(-parseInt(f(0xb3))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0x954e8));var a123b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a123d;if(c){var e=c[g(0xbe)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){var h=a123d;return a123a[h(0xb9)]()[h(0xbf)](h(0xc0))['toString']()[h(0xbb)](a123a)[h(0xbf)](h(0xc0));});function a123d(a,b){var c=a123c();return a123d=function(d,e){d=d-0xb3;var f=c[d];return f;},a123d(a,b);}a123a();import'./esri.generator.js';function a123c(){var i=['toString','664886zitcbn','constructor','16PRmRia','3746812tbxLFo','apply','search','(((.+)+)+)+$','9279JxmxEX','8390ihAaQO','1050094PndnCQ','1506uRpiEN','3410ducXhG','3117135qUslYQ','740781hRpptq'];a123c=function(){return i;};return a123c();}import'./map.esri.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a124c(){const k=['(((.+)+)+)+$','4629zTMLjc','2582598YzGXFH','1266145dAnPdU','Esri\x20Kit\x20generated\x20successfully','4819549vOrthy','search','apply','maka\x20g:kit:e','646582SRvpZA','esri','4364712fQnwQn','\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','32192544FUgOuA','create','1006tbmXyU','/foo/bar','toString','Starting\x20point\x20for\x20generating\x20Esri\x20Maps'];a124c=function(){return k;};return a124c();}const a124i=a124d;(function(a,b){const f=a124d,c=a();while(!![]){try{const d=-parseInt(f(0x19d))/0x1+parseInt(f(0x190))/0x2*(-parseInt(f(0x195))/0x3)+-parseInt(f(0x19f))/0x4+parseInt(f(0x197))/0x5+-parseInt(f(0x196))/0x6+-parseInt(f(0x199))/0x7+parseInt(f(0x18e))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0x9d574));const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a124d;if(c){const e=c[g(0x19b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const h=a124d;return a124a[h(0x192)]()[h(0x19a)]('(((.+)+)+)+$')['toString']()['constructor'](a124a)[h(0x19a)](h(0x194));});function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0x18d;let f=c[d];return f;},a124d(a,b);}a124a();import{Generator}from'../../../generator.js';import a124e from'../kit.js';const EsriGen=Generator[a124i(0x18f)]({'name':a124i(0x19e),'aliases':['e'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','noNeedResource':!![],'shortDesc':a124i(0x193),'validOpts':[''],'isPro':!![],'examples':[a124i(0x19c)],'description':a124i(0x18d)},async function(){const j=a124i;return{'success':!![],'message':j(0x198),'details':{'filesCreated':[j(0x191)],'filesUpdated':['/foo']}};},async function(){},a124e);export default EsriGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a125s=a125d;(function(a,b){const p=a125d,c=a();while(!![]){try{const d
|
|
1
|
+
const a125s=a125d;(function(a,b){const p=a125d,c=a();while(!![]){try{const d=parseInt(p(0x19e))/0x1+-parseInt(p(0x1c1))/0x2*(parseInt(p(0x1ac))/0x3)+-parseInt(p(0x198))/0x4*(-parseInt(p(0x1a3))/0x5)+-parseInt(p(0x1b3))/0x6*(parseInt(p(0x1b0))/0x7)+parseInt(p(0x1b7))/0x8+parseInt(p(0x1c0))/0x9*(-parseInt(p(0x1c2))/0xa)+parseInt(p(0x1b1))/0xb*(parseInt(p(0x1bb))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0x8d37a));const a125b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a125d;if(c){const e=c[q(0x1c5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){const r=a125d;return a125a[r(0x1a8)]()[r(0x1b5)](r(0x1c8))[r(0x1a8)]()[r(0x1b6)](a125a)['search'](r(0x1c8));});a125a();import{Generator}from'../../../generator.js';function a125d(a,b){const c=a125c();return a125d=function(d,e){d=d-0x196;let f=c[d];return f;},a125d(a,b);}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':a125s(0x1ba),'aliases':['m'],'usage':a125s(0x1a9),'shortDesc':a125s(0x19f),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines['REACT'],'ssr':SsrEngines[a125s(0x19b)]},'description':a125s(0x1a0)},async function(a,b){const t=a125s;try{Log[t(0x197)]('Generating\x20a\x20map\x20component');const c='basic-map';await this[t(0x1b8)][t(0x1a5)]([t(0x1c7),t(0x1bc)],{'shouldInstall':!![]});const d=this[t(0x1b8)][t(0x1a1)](),f=this[t(0x1b8)][t(0x1c6)](),g=f[t(0x1b9)][t(0x1ae)]==='true',h=await a125f[t(0x1a2)]('page',[t(0x1ba)],{'cwd':d,'config':f}),i={'name':headerCase(f[t(0x1c3)])[t(0x19c)]('-','\x20'),'componentName':pascalCase(c)},j=b[t(0x1af)]?'/imports/ui/'+b[t(0x1af)]:t(0x1aa),k=this[t(0x1b8)][t(0x1bf)]({'pathParts':[j,b[t(0x1b4)],paramCase(c),paramCase(c)]});await this[t(0x1b8)][t(0x1a7)](f,async()=>{const u=t;await this[u(0x1b8)][u(0x19a)]({'srcPath':u(0x199)+c+u(0x1a4),'destPath':k+u(0x1a4),'framework':u(0x19d),'context':i,'config':f,'force':![],'ignore':![]});});const l=''+j+b[t(0x1b4)]+'/'+c+'/'+c;await this[t(0x1b8)][t(0x196)](c,f,l);const m=h['split']('/'),n=this[t(0x1b8)][t(0x1bf)]({'pathParts':m});await this[t(0x1b8)][t(0x1bd)]({'filePath':n,'importName':pascalCase(c),'modulePath':g?t(0x1ad):t(0x1b2),'isNamedExport':!![]}),await this[t(0x1b8)]['injectIntoFile']({'filePath':n,'content':'\x0a<'+pascalCase(c)+'\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','begin':[t(0x1ab),t(0x1ab)],'end':[t(0x1be)],'replace':!![]});}catch(o){Log[t(0x1c4)](o),process[t(0x1a6)](0x1);}},async function(){},a125e);function a125c(){const v=['injectTemplateModule','bright','4MVfbuz','kit/esri/map/','template','FALSE','replaceAll','react','832690BdZKni','Generate\x20an\x20Esri\x20map\x20component','\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','findProjectDirectory','processAndRunGenerator','2689255OWncBu','.js','checkNpmPackage','exit','withValue','toString','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','/imports/ui/hooks','<div\x20id=\x22map\x22>','309747swuAzC','/imports/startup/lib/templates','ssr','baseDir','14xrMODt','356499IwOeMu','/imports/startup/client/templates','1027602tXXVya','dir','search','constructor','3678504wqGnnJ','fsi','engines','map','132XrARcv','esri-loader','injectImport','</div>','pathFromApp','3834STockF','14VPbBav','12750tTqOOX','appName','error','apply','getMakaProjectConfig','@esri/react-arcgis','(((.+)+)+)+$'];a125c=function(){return v;};return a125c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a126i=a126d;(function(a,b){const f=a126d,c=a();while(!![]){try{const d=parseInt(f(
|
|
1
|
+
const a126i=a126d;function a126c(){const j=['create','2NJsuZU','8832jONjfb','8NLNUSt','maka\x20g:kit','70407FbUgrJ','12885EXiaeT','1113FmCTCr','10biBPKu','12boscOU','(((.+)+)+)+$','363750ixRKIP','apply','toString','Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','kit','6837479FXXizG','search','598842RWpvXD','1066761oRKust'];a126c=function(){return j;};return a126c();}(function(a,b){const f=a126d,c=a();while(!![]){try{const d=parseInt(f(0x12a))/0x1*(parseInt(f(0x125))/0x2)+parseInt(f(0x129))/0x3*(-parseInt(f(0x127))/0x4)+-parseInt(f(0x11b))/0x5+-parseInt(f(0x122))/0x6+-parseInt(f(0x117))/0x7*(parseInt(f(0x126))/0x8)+-parseInt(f(0x123))/0x9*(parseInt(f(0x118))/0xa)+-parseInt(f(0x120))/0xb*(-parseInt(f(0x119))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0x1d852));const a126b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a126d;if(c){const e=c[g(0x11c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){const h=a126d;return a126a[h(0x11d)]()['search'](h(0x11a))[h(0x11d)]()['constructor'](a126a)[h(0x121)](h(0x11a));});a126a();import{Generator}from'../../generator.js';function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0x117;let f=c[d];return f;},a126d(a,b);}const KitGen=Generator[a126i(0x124)]({'name':a126i(0x11f),'aliases':['k'],'usage':'maka\x20{generate,\x20g}:{kit}\x20<name>','shortDesc':a126i(0x11e),'minArgLength':0x1,'isPro':!![],'validOpts':[],'noNeedResource':!![],'examples':[a126i(0x128),'maka\x20g:k']},async function(){});export default KitGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a127d(a,b){var c=a127c();return a127d=function(d,e){d=d-0x1b4;var f=c[d];return f;},a127d(a,b);}(function(a,b){var f=a127d,c=a();while(!![]){try{var d=-parseInt(f(0x1b5))/0x1+-parseInt(f(0x1bc))/0x2+-parseInt(f(0x1c0))/0x3*(-parseInt(f(0x1b4))/0x4)+-parseInt(f(0x1ba))/0x5*(parseInt(f(0x1be))/0x6)+-parseInt(f(0x1b9))/0x7+-parseInt(f(0x1bf))/0x8*(parseInt(f(0x1c2))/0x9)+parseInt(f(0x1b6))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0x33eb3));var a127b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a127d;if(c){var e=c[g(0x1c1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){var h=a127d;return a127a[h(0x1bb)]()[h(0x1bd)](h(0x1b7))['toString']()[h(0x1b8)](a127a)[h(0x1bd)](h(0x1b7));});a127a();import'./mui.generator.js';function a127c(){var i=['6bSvnJQ','17744OodpGV','75693JonqhQ','apply','288hhnkMy','28qiGXVa','238124CncMKm','11352200tdpQfh','(((.+)+)+)+$','constructor','2680531sdLHAn','58135GaXyGd','toString','791036cubYkA','search'];a127c=function(){return i;};return a127c();}import'./frame.mui.gen.js';import'./auth.mui.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a128J=a128d;(function(a,b){const G=a128d,c=a();while(!![]){try{const d=-parseInt(G(0xe0))/0x1*(-parseInt(G(0xaf))/0x2)+parseInt(G(0xe8))/0x3+-parseInt(G(0xc8))/0x4*(parseInt(G(0xe6))/0x5)+parseInt(G(0xd0))/0x6*(parseInt(G(0xbc))/0x7)+-parseInt(G(0xd5))/0x8*(parseInt(G(0xb5))/0x9)+-parseInt(G(0xa7))/0xa*(-parseInt(G(0xc1))/0xb)+-parseInt(G(0xae))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0xa191d));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){const H=a128d;if(c){const e=c[H(0xd8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const I=a128d;return a128a[I(0xdc)]()['search'](I(0xa6))[I(0xdc)]()[I(0xc6)](a128a)[I(0xcd)](I(0xa6));});a128a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0xa5;let f=c[d];return f;},a128d(a,b);}import{Actions}from'../../../tools/actions/actions.class.js';import a128e from'../../../generators/maka.gen.js';function a128c(){const N=['injectImport','Custom\x20(roll\x20your\x20own)','MATERIAL','split','9LqBCZg','appName','Cleaning\x20up...','log','/imports/startup/lib/authentication-provider','basic-forgot-password-page','basic-register-page','112595LaPdTC','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','basic-login-page','withValue','replaceAll','6496600RNRsoB','custom','dir','.js','route','constructor','What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','8ZIrIyo','/imports/startup/client/authentication-provider','injectTemplateModule','engines','maka\x20generate:kit:mui:frame','search','create','react','42iWmlYc','pathFromApp','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','kit/mui/auth/register/','maka\x20g:k:m:f','249512kYtMCb','fsi','ssr','apply','baseDir','Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','/imports/ui/pages/auth','toString','kit:auth:provider','login','kit/mui/auth/password-reset/','9bdyYQr','kit/mui/auth/login/','force','basic-logout-page','Meteor\x20Accounts','meteor','1993555mbdFjT','basic-password-reset-page','1082607JBSFPJ','processAndRunGenerator','findProjectDirectory','reset-password/:token','(((.+)+)+)+$','20YizhYZ','true','AuthContext','kit:auth:meteor','template','forgot-password','getMakaProjectConfig','10312764tuvRuW','154474ngrEnS','kit/mui/auth/forgot-password/'];a128c=function(){return N;};return a128c();}import a128f from'./mui.generator.js';import{paramCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a128J(0xce)]({'name':'auth','aliases':['a'],'usage':a128J(0xd2),'shortDesc':a128J(0xda),'validOpts':['layouts',a128J(0xe2)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a128J(0xb3)],'client':ClientEngines['REACT']},'examples':[a128J(0xcc),a128J(0xd4)],'description':a128J(0xbd)},async function(a,b){const K=a128J;try{const c=b['force']||![],d=this['fsi'][K(0xea)](),f=this[K(0xd6)][K(0xad)](),{authType:g}=await Actions['options']({'type':'list','name':'authType','message':K(0xc7),'choices':[{'name':K(0xe4),'value':K(0xe5)},{'name':K(0xb2),'value':'custom'}]}),h=K(0xbe),i=K(0xe3),j=K(0xbb),k=K(0xe7),l=K(0xba),m=b[K(0xd9)]?'/imports/ui/'+b[K(0xd9)]:K(0xdb),n=this['fsi'][K(0xd1)]({'pathParts':[m,b[K(0xc3)],paramCase(h),paramCase(h)]}),o=this['fsi'][K(0xd1)]({'pathParts':[m,b['dir'],paramCase(i),paramCase(i)]}),p=this[K(0xd6)][K(0xd1)]({'pathParts':[m,b[K(0xc3)],paramCase(j),paramCase(j)]}),q=this[K(0xd6)][K(0xd1)]({'pathParts':[m,b[K(0xc3)],paramCase(k),paramCase(k)]}),r=this['fsi'][K(0xd1)]({'pathParts':[m,b[K(0xc3)],paramCase(l),paramCase(l)]}),s={'name':headerCase(f[K(0xb6)])[K(0xc0)]('-','\x20')};await this[K(0xd6)][K(0xbf)](f,async()=>{const L=K;await this[L(0xd6)][L(0xab)]({'srcPath':L(0xe1)+h+L(0xc4),'destPath':n+L(0xc4),'framework':L(0xcf),'context':s,'config':f,'force':c,'ignore':![]}),await this['fsi']['template']({'srcPath':'kit/mui/auth/logout/'+i+'.js','destPath':o+L(0xc4),'framework':L(0xcf),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0xd6)]['template']({'srcPath':L(0xd3)+j+L(0xc4),'destPath':p+'.js','framework':'react','context':s,'config':f,'force':c,'ignore':![]}),await this[L(0xd6)][L(0xab)]({'srcPath':L(0xdf)+k+L(0xc4),'destPath':q+L(0xc4),'framework':L(0xcf),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0xd6)]['template']({'srcPath':L(0xb0)+l+L(0xc4),'destPath':r+L(0xc4),'framework':L(0xcf),'context':s,'config':f,'force':c,'ignore':![]});});const t=''+m+b[K(0xc3)]+'/'+h+'/'+h;await this[K(0xd6)][K(0xca)](h,f,t);const u=''+m+b['dir']+'/'+i+'/'+i;await this[K(0xd6)][K(0xca)](i,f,u);const v=''+m+b['dir']+'/'+j+'/'+j;await this[K(0xd6)][K(0xca)](j,f,v);const w=''+m+b[K(0xc3)]+'/'+k+'/'+k;await this[K(0xd6)]['injectTemplateModule'](k,f,w);const x=''+m+b[K(0xc3)]+'/'+l+'/'+l;await this['fsi'][K(0xca)](l,f,x),await a128e[K(0xe9)](K(0xc5),[K(0xbe)],{'url':K(0xde),'cwd':d,'config':f}),await a128e['processAndRunGenerator'](K(0xc5),[K(0xe3)],{'url':'logout','private':!![],'cwd':d,'config':f}),await a128e[K(0xe9)](K(0xc5),['basic-register-page'],{'url':'register','cwd':d,'config':f}),await a128e[K(0xe9)](K(0xc5),[K(0xe7)],{'url':K(0xa5),'cwd':d,'config':f}),await a128e[K(0xe9)](K(0xc5),[K(0xba)],{'url':K(0xac),'cwd':d,'config':f});g==='meteor'&&await a128e[K(0xe9)](K(0xaa),[],{'force':c,'cwd':d,'config':f});g===K(0xc2)&&await a128e['processAndRunGenerator'](K(0xdd),[],{'force':c,'cwd':d,'config':f});const y=f[K(0xcb)][K(0xd7)]===K(0xa8),z=f[K(0xcb)]['js'],A=this[K(0xd6)][K(0xd1)]({'pathParts':t['split']('/')});await this[K(0xd6)][K(0xb1)]({'filePath':A+'.'+z,'importName':'AuthContext','modulePath':y?K(0xb9):'/imports/startup/client/authentication-provider','isNamedExport':!![]});const B=this[K(0xd6)][K(0xd1)]({'pathParts':u[K(0xb4)]('/')});await this[K(0xd6)][K(0xb1)]({'filePath':B+'.'+z,'importName':K(0xa9),'modulePath':y?K(0xb9):K(0xc9),'isNamedExport':!![]});const C=this[K(0xd6)][K(0xd1)]({'pathParts':v['split']('/')});await this[K(0xd6)]['injectImport']({'filePath':C+'.'+z,'importName':K(0xa9),'modulePath':y?K(0xb9):K(0xc9),'isNamedExport':!![]});const D=this[K(0xd6)][K(0xd1)]({'pathParts':w[K(0xb4)]('/')});await this[K(0xd6)][K(0xb1)]({'filePath':D+'.'+z,'importName':K(0xa9),'modulePath':y?K(0xb9):'/imports/startup/client/authentication-provider','isNamedExport':!![]});const E=this[K(0xd6)]['pathFromApp']({'pathParts':x[K(0xb4)]('/')});await this[K(0xd6)][K(0xb1)]({'filePath':E+'.'+z,'importName':K(0xa9),'modulePath':y?'/imports/startup/lib/authentication-provider':K(0xc9),'isNamedExport':!![]});}catch(F){Log['error'](F);}},async function(){const M=a128J;console[M(0xb8)](M(0xb7));},a128f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a129E=a129d;(function(a,b){const B=a129d,c=a();while(!![]){try{const d=parseInt(B(
|
|
1
|
+
const a129E=a129d;(function(a,b){const B=a129d,c=a();while(!![]){try{const d=parseInt(B(0x133))/0x1+parseInt(B(0x13e))/0x2*(parseInt(B(0x13b))/0x3)+parseInt(B(0x11c))/0x4*(-parseInt(B(0x114))/0x5)+-parseInt(B(0x152))/0x6*(parseInt(B(0x122))/0x7)+-parseInt(B(0x12d))/0x8*(parseInt(B(0x139))/0x9)+-parseInt(B(0x13a))/0xa*(-parseInt(B(0x156))/0xb)+parseInt(B(0x153))/0xc*(parseInt(B(0x123))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0x1cb74));function a129d(a,b){const c=a129c();return a129d=function(d,e){d=d-0x10f;let f=c[d];return f;},a129d(a,b);}const a129b=(function(){let a=!![];return function(b,c){const d=a?function(){const C=a129d;if(c){const e=c[C(0x12e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){const D=a129d;return a129a[D(0x14a)]()[D(0x130)](D(0x119))[D(0x14a)]()[D(0x140)](a129a)['search'](D(0x119));});a129a();import{Generator}from'../../../generator.js';function a129c(){const H=['options','frame','jsx','Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','pathFromApp','711DDFFax','10dHUWfB','153DTEBRj','</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','basic-sticky-footer','1492RfcxnS','imports','constructor','.js','length','baseDir','engines','checkMeteorPackage','Box','join','No\x20layouts\x20selected','appName','toString','-hook\x22>','template','\x20/>\x0a','/imports/startup/client/templates','{\x20this.props.children\x20}','{props.children}','react','5928tqzMRC','180xKusBz','injectAroundString','getFiles','2237631blJRLo','/imports/ui/components','/imports/ui/','@mui/material/Container','fsi','layouts','force','<div\x20id=\x22','injectIntoFile','5HMiBuA','dir','{\x20props.children\x20}','Container','checkbox','(((.+)+)+)+$','<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>','getDirectories','1464bnflHe','</div>','true','/imports/startup/lib/templates','findAppDirectory','kit/mui/frame/drawers/','1421GSTsng','37063woLqMA','{this.props.children}','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','ssr','replaceAll','injectImport','MATERIAL','kit/mui/frame/app-bars/','kit/mui/frame/footers/','maka\x20generate:kit:mui:frame','1832OLnOcr','apply','basic-drawer','search','@mui/material/Box','injectTemplateModule','52409pMxqro'];a129c=function(){return H;};return a129c();}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['create']({'name':a129E(0x135),'aliases':['f'],'usage':'maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','shortDesc':a129E(0x137),'validOpts':['layouts',a129E(0x143),a129E(0x115),a129E(0x111)],'isPro':![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a129E(0x129)],'client':ClientEngines['REACT']},'examples':[a129E(0x12c),'maka\x20g:k:m:f'],'description':a129E(0x125)},async function(a,b){const F=a129E;try{const c=b[F(0x111)]||![],d='basic-app-bar',f=F(0x12f),g=F(0x13d),h=this['fsi']['getMakaProjectConfig'](),i=h[F(0x144)][F(0x126)]===F(0x11e);await this[F(0x10f)][F(0x145)](['session','maka:react-tracker'],{'shouldInstall':!![]});const j=this[F(0x10f)][F(0x120)](),k=a129e[F(0x147)](j,F(0x13f),'ui','layouts'),l=this[F(0x10f)][F(0x11b)](k),m=await Actions[F(0x134)]({'type':F(0x118),'name':F(0x110),'message':'Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','choices':l});if(m[F(0x110)][F(0x142)]===0x0){Log['error'](F(0x148));return;}const n=b[F(0x143)]?F(0x158)+b[F(0x143)]:F(0x157),o=this[F(0x10f)][F(0x138)]({'pathParts':[n,b['dir'],paramCase(d),paramCase(d)]}),p=this[F(0x10f)][F(0x138)]({'pathParts':[n,b[F(0x115)],paramCase(f),paramCase(f)]}),q=this[F(0x10f)][F(0x138)]({'pathParts':[n,b['dir'],paramCase(g),paramCase(g)]}),r={'name':headerCase(h[F(0x149)])[F(0x127)]('-','\x20')};await this['fsi']['withValue'](h,async()=>{const G=F;await this[G(0x10f)][G(0x14c)]({'srcPath':G(0x12a)+d+G(0x141),'destPath':o+G(0x141),'framework':G(0x151),'context':r,'config':h,'force':c,'ignore':![]}),await this['fsi'][G(0x14c)]({'srcPath':G(0x121)+f+G(0x141),'destPath':p+G(0x141),'framework':G(0x151),'context':r,'config':h,'force':c,'ignore':![]}),await this[G(0x10f)][G(0x14c)]({'srcPath':G(0x12b)+g+G(0x141),'destPath':q+G(0x141),'framework':G(0x151),'context':r,'config':h,'force':c,'ignore':![]});});const s=''+n+b['dir']+'/'+d+'/'+d;await this['fsi'][F(0x132)](d,h,s);const t=''+n+b[F(0x115)]+'/'+f+'/'+f;await this[F(0x10f)][F(0x132)](f,h,t);const u=''+n+b[F(0x115)]+'/'+g+'/'+g;await this[F(0x10f)]['injectTemplateModule'](g,h,u);const {layouts:v}=m;for(const w of v){const x=this[F(0x10f)][F(0x155)](a129e[F(0x147)](k,w),{'extensions':[F(0x136),'tsx'],'omit':['app-tests','tests','test']});for(const y of x){const z=a129e[F(0x147)](k,w,y);await this['fsi'][F(0x128)]({'filePath':z,'importName':F(0x146),'modulePath':F(0x131),'isNamedExport':![]}),await this[F(0x10f)][F(0x128)]({'filePath':z,'importName':F(0x117),'modulePath':F(0x159),'isNamedExport':![]}),await this['fsi'][F(0x128)]({'filePath':z,'importName':pascalCase(d),'modulePath':i?F(0x11f):F(0x14e),'isNamedExport':!![]}),await this[F(0x10f)][F(0x113)]({'filePath':z,'content':'<'+pascalCase(d)+'\x20/>\x0a','begin':[F(0x112)+w+'\x22>',F(0x112)+w+'-hook\x22>'],'end':[F(0x124),F(0x14f),'{props.children}',F(0x116)]}),await this['fsi']['injectImport']({'filePath':z,'importName':pascalCase(f),'modulePath':i?F(0x11f):F(0x14e),'isNamedExport':!![]}),await this[F(0x10f)]['injectIntoFile']({'filePath':z,'content':'<'+pascalCase(f)+F(0x14d),'begin':['<div\x20id=\x22'+w+'\x22>',F(0x112)+w+F(0x14b)],'end':[F(0x124),F(0x14f),F(0x150),F(0x116)]}),await this[F(0x10f)]['injectIntoFile']({'filePath':z,'content':'<'+pascalCase(g)+F(0x14d),'begin':[F(0x124),'{\x20this.props.children\x20}',F(0x150),'{\x20props.children\x20}'],'end':[F(0x11d)]}),await this[F(0x10f)][F(0x128)]({'filePath':z,'importName':pascalCase(g),'modulePath':i?F(0x11f):F(0x14e),'isNamedExport':!![]}),await this['fsi'][F(0x154)]({'filePath':z,'aboveContent':F(0x11a),'belowContent':F(0x13c),'targetString':['{this.props.children}',F(0x14f),F(0x150),F(0x116)],'targetIndentAdjustment':0x6});}}return!![];}catch(A){Log['error'](A);}},async function(){console['log']('Cleaning\x20up...');},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(0x145))/0x1+-parseInt(g(0x157))/0x2*(-parseInt(g(0x13f))/0x3)+parseInt(g(0x144))/0x4+parseInt(g(0x13c))/0x5+parseInt(g(0x15c))/0x6*(-parseInt(g(0x14a))/0x7)+parseInt(g(0x151))/0x8*(-parseInt(g(0x15a))/0x9)+parseInt(g(0x13e))/0xa*(parseInt(g(0x143))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0x4ec8d));const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a130d;if(c){const e=c[h(0x13d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const i=a130d;return a130a[i(0x153)]()[i(0x156)](i(0x15f))[i(0x153)]()[i(0x154)](a130a)[i(0x156)](i(0x15f));});a130a();import{Generator}from'../../../generator.js';import{Actions}from'../../../tools/actions/actions.class.js';function a130c(){const l=['findProjectDirectory','7zqUWPz','kitChoices','\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','auth','processAndRunGenerator','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','getMakaProjectConfig','30840oTmNMQ','create','toString','constructor','fsi','search','51262nAFVCT','options','Auth\x20workflow\x20(login,\x20logout,\x20etc.)','180GokmVl','checkbox','3360558YEhjoo','info','Material-UI\x20Kit','(((.+)+)+)+$','969110IOOjyE','apply','193990gSyFgS','42XxJzEg','includes','frame','Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!','11GEzhXP','2508696oROCfD','239335pBEnQz','length','No\x20MUI\x20kits\x20selected.\x20Exiting.','kit:mui:frame'];a130c=function(){return l;};return a130c();}import{Log}from'../../../tools/log/log.class.js';import a130e from'../../../generators/maka.gen.js';import a130f from'../kit.js';function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0x13c;let f=c[d];return f;},a130d(a,b);}const MuiGen=Generator[a130j(0x152)]({'name':'mui','aliases':['m'],'usage':a130j(0x14f),'noNeedResource':!![],'shortDesc':a130j(0x15e),'validOpts':[''],'isPro':!![],'examples':['maka\x20g:kit:m']},async function(){const k=a130j;Log['info'](k(0x142)),Log['notice'](k(0x14c));const {kitChoices:a}=await Actions[k(0x158)]({'type':k(0x15b),'name':k(0x14b),'message':'Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','choices':[{'name':'Header,\x20Footer,\x20and\x20Drawer','value':k(0x141)},{'name':k(0x159),'value':k(0x14d)}]}),b=this[k(0x155)][k(0x149)](),c=this['fsi'][k(0x150)]();a[k(0x140)](k(0x141))&&await a130e['processAndRunGenerator'](k(0x148),[],{'force':!![],'cwd':b,'config':c});a['includes'](k(0x14d))&&await a130e[k(0x14e)]('kit:mui:auth',[],{'force':!![],'cwd':b,'config':c});if(a[k(0x146)]===0x0){Log[k(0x15d)](k(0x147));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
|
|
1
|
+
const a131o=a131d;(function(a,b){const l=a131d,c=a();while(!![]){try{const d=-parseInt(l(0x1df))/0x1+parseInt(l(0x1de))/0x2*(parseInt(l(0x20a))/0x3)+-parseInt(l(0x1d6))/0x4+parseInt(l(0x205))/0x5*(parseInt(l(0x1d8))/0x6)+-parseInt(l(0x1d9))/0x7*(parseInt(l(0x1eb))/0x8)+-parseInt(l(0x1f4))/0x9*(-parseInt(l(0x1e1))/0xa)+-parseInt(l(0x1f8))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0x5982f));const a131b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a131d;if(c){const e=c[m(0x1da)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a131a=a131b(this,function(){const n=a131d;return a131a['toString']()[n(0x203)](n(0x1e8))['toString']()[n(0x20c)](a131a)[n(0x203)]('(((.+)+)+)+$');});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'];function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0x1d6;let f=c[d];return f;},a131d(a,b);}Generator['create']({'name':'layout','aliases':aliases,'usage':a131o(0x1f9),'shortDesc':a131o(0x1f6),'validOpts':[a131o(0x1ed)],'examples':[a131o(0x1fc),a131o(0x1f2)]},async function(a,b){const p=a131o,c=p(0x1ef),d=this[p(0x1e9)]['findAppDirectory'](),e=this['fsi'][p(0x200)]({'pathParts':[c,b[p(0x20e)],paramCase(b['resourceName']),paramCase(b['resourceName'])]}),f=this[p(0x1e9)]['getMakaProjectConfig']();await this['fsi']['withValue'](f,async()=>{const q=p;typeof f['template']['test']===q(0x1db)&&(f[q(0x209)][q(0x1f1)]=f[q(0x209)][q(0x1f1)]===q(0x1dc)?!![]:![],this[q(0x1e9)]['setTemplate'](q(0x1f1),f[q(0x209)][q(0x1f1)]));typeof f['template']['css']===q(0x1db)&&(f[q(0x209)][q(0x1ee)]=f['template'][q(0x1ee)]==='true'?!![]:![],this[q(0x1e9)][q(0x1dd)](q(0x1ee),f[q(0x209)]['css']));typeof f[q(0x209)]['js']===q(0x1db)&&(f[q(0x209)]['js']=f[q(0x209)]['js']===q(0x1dc)?!![]:![],this[q(0x1e9)][q(0x1dd)]('js',f[q(0x209)]['js']));!f[q(0x1e3)]&&(f[q(0x1e3)]={});const g=b['_']?b['_'][0x0]['split'](':')[0x1]:![],h=b['_']&&aliases['includes'](g);h&&!this[q(0x207)](q(0x1e7))&&(Log[q(0x1f3)](q(0x1f7)),this[q(0x1e9)]['installNpmPackage'](q(0x1e7),{'cwd':d}));if(h&&!this['checkNpmPackage'](q(0x20f))){Log[q(0x1f3)](q(0x1e0));return;}const i={'name':pascalCase(b['resourceName']),'myPath':a131e[q(0x201)](this['fsi'][q(0x1ea)]({}),e),'cssCaseName':paramCase(b[q(0x1e6)]),'className':pascalCase(b[q(0x1e6)]),'camelCaseName':camelCase(b[q(0x1e6)]),'fileName':paramCase(b['resourceName']),'graphql':f[q(0x1ec)][q(0x208)],'features':f[q(0x1e3)],'client':f[q(0x1ec)][q(0x1f0)],'api':f[q(0x1ec)][q(0x202)],'ssr':f[q(0x1ec)][q(0x204)],'test':f['engines'][q(0x1f1)],'theme':f[q(0x1ec)][q(0x20b)],'isComponent':![],'isLayout':!![],'withTranslations':f[q(0x1e3)][q(0x20d)]};f[q(0x1e3)]?.[q(0x1f5)]||b[q(0x1ed)]?await this[q(0x1e9)][q(0x209)]({'srcPath':q(0x1e4),'destPath':e+q(0x1e2),'framework':q(0x20f),'context':i,'config':f}):await this[q(0x1e9)][q(0x209)]({'srcPath':q(0x1d7),'destPath':e+q(0x1e2),'framework':q(0x20f),'context':i,'config':f});f[q(0x1ec)][q(0x1f1)]!==q(0x1fa)&&await this[q(0x1e9)][q(0x209)]({'srcPath':'test/test.js','destPath':e+'.app-tests.js','framework':q(0x20f),'context':i,'config':f});f[q(0x209)][q(0x1ee)]&&(await this['fsi'][q(0x209)]({'srcPath':'template/template.css','destPath':e+'.css','context':Object[q(0x1fb)]({},i,{'className':paramCase(b['resourceName'])}),'config':f}),await this[q(0x1e9)][q(0x206)]({'filePath':e+'.'+f['engines']['js'],'content':q(0x1ff)+i['fileName']+'.'+f[q(0x1ec)][q(0x1ee)]+'\x27;'}));const j=b[q(0x20e)]?'/'+b['dir']+'/':'/',k=''+c+j+i[q(0x1e5)]+'/'+i[q(0x1e5)];await this[q(0x1e9)][q(0x1fe)](i[q(0x1fd)],f,k);});});function a131c(){const r=['912748fcWAvD','component/component.js','32136imBRro','107121IemnLn','apply','string','true','setTemplate','1416958eFJfad','279060SXeSZu','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','2325390pczPRo','.js','features','hook/hook.js','fileName','resourceName','ramda','(((.+)+)+)+$','fsi','pathFromProject','248NODBXt','engines','withHook','css','/imports/ui/layouts','client','test','maka\x20g:l\x20web/safari','warn','18crjnqz','withHooks','Scaffolding\x20for\x20a\x20React\x20Layout.','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','4617734bbRRCP','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','none','assign','maka\x20g:layout\x20mobile/iPhone8','className','injectTemplateModule','import\x20\x27./','pathFromApp','relative','api','search','ssr','555iyjMgm','injectAtBeginningOfFile','checkNpmPackage','graphql','template','3epWKoM','theme','constructor','withTranslations','dir','react'];a131c=function(){return r;};return a131c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a132i=a132d;
|
|
1
|
+
const a132i=a132d;(function(a,b){const f=a132d,c=a();while(!![]){try{const d=-parseInt(f(0x105))/0x1*(parseInt(f(0x107))/0x2)+-parseInt(f(0x10e))/0x3+parseInt(f(0x10c))/0x4+-parseInt(f(0x10d))/0x5+-parseInt(f(0x108))/0x6*(-parseInt(f(0x106))/0x7)+parseInt(f(0x10b))/0x8+-parseInt(f(0x100))/0x9*(-parseInt(f(0xff))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a132c,0x801d6));const a132b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a132d;if(c){const e=c[g(0x104)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a132a=a132b(this,function(){const h=a132d;return a132a[h(0xfd)]()['search'](h(0x102))['toString']()[h(0xfb)](a132a)[h(0x101)](h(0x102));});a132a();function a132d(a,b){const c=a132c();return a132d=function(d,e){d=d-0xf8;let f=c[d];return f;},a132d(a,b);}import{Generator}from'../generator.js';const MakaGen=new Generator({'name':a132i(0xf9),'aliases':['g'],'usage':a132i(0x10a),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':a132i(0xfa),'examples':[a132i(0xfe),'maka\x20g:scaffold\x20todos',a132i(0x103),a132i(0x109),a132i(0xf8),a132i(0xfc),'maka\x20g:dbc\x20geoserver\x20--type=pgsql']},function(){});function a132c(){const j=['63918XQybpx','search','(((.+)+)+)+$','maka\x20g:template\x20todos/todo_item','apply','7MreEgN','287LdBpCy','241756mNARNE','142896bGYOJi','maka\x20g:package\x20package:name','maka\x20{generate,\x20g}:<generator>\x20<name>','2388144udARZI','3456360HJvuTq','3262065rCzHvq','2541759REowJj','maka\x20g:route\x20todos/edit','generate','Scaffold\x20various\x20parts\x20of\x20your\x20application','constructor','maka\x20g:api\x20trucks','toString','maka\x20generate:scaffold\x20todos','1030MpJmGj'];a132c=function(){return j;};return a132c();}export default MakaGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a133m=a133d;(function(a,b){const j=a133d,c=a();while(!![]){try{const d=parseInt(j(
|
|
1
|
+
const a133m=a133d;function a133d(a,b){const c=a133c();return a133d=function(d,e){d=d-0x15c;let f=c[d];return f;},a133d(a,b);}(function(a,b){const j=a133d,c=a();while(!![]){try{const d=parseInt(j(0x162))/0x1+parseInt(j(0x15e))/0x2+-parseInt(j(0x166))/0x3+-parseInt(j(0x183))/0x4+parseInt(j(0x17c))/0x5+parseInt(j(0x175))/0x6*(-parseInt(j(0x17b))/0x7)+parseInt(j(0x176))/0x8*(-parseInt(j(0x15d))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a133c,0x26a6f));function a133c(){const p=['import\x20\x27./methods','1267nPdgyl','235125okGkPO','checkMeteorPackage','create','constructor','tsx','pathFromApp','(((.+)+)+)+$','223240GHWSWA','maka\x20g:method\x20todos','2598723fbQEsM','622690nKnlDb','maka:check','injectAtEndOfFile','method','312488QugfwW','maka\x20{generate,\x20g}:{method,\x20m}\x20name','index.','dir','59772jmFXZe','engines','imports','appPathPrefix','startup','template','fsi','mdg:validated-method','toString','resourceName','method/method.js','-rpc-method\x27;','-rpc-method.','apply','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','4908YEQZEq','8BxxbNI','methods','withValue','search'];a133c=function(){return p;};return a133c();}const a133b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a133d;if(c){const e=c[k(0x173)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a133a=a133b(this,function(){const l=a133d;return a133a[l(0x16e)]()[l(0x179)](l(0x182))[l(0x16e)]()[l(0x17f)](a133a)[l(0x179)]('(((.+)+)+)+$');});a133a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a133m(0x17e)]({'name':a133m(0x161),'aliases':['m'],'usage':a133m(0x163),'checkWhere':!![],'shortDesc':a133m(0x174),'validOpts':[a133m(0x165)],'examples':[a133m(0x15c)]},async function(a,b){const n=a133m;try{const c=this['fsi']['getMakaProjectConfig']();await this[n(0x16c)][n(0x178)](c,async()=>{const o=n,d=paramCase(b[o(0x16f)]),f={'name':b[o(0x16f)],'fileName':d,'className':pascalCase(b[o(0x16f)]),'camelCase':camelCase(b[o(0x16f)]),'noRename':!![]};let g='js';c[o(0x167)]['js']===o(0x180)&&(g='ts');await this[o(0x16c)][o(0x17d)]([o(0x15f),'ddp-rate-limiter',o(0x16d)],{'shouldInstall':!![]}),await this[o(0x16c)][o(0x16b)]({'srcPath':o(0x170),'destPath':this[o(0x16c)][o(0x181)]({'pathParts':[o(0x168),o(0x16a),b[o(0x169)],o(0x177),b['dir'],d+o(0x172)+g]}),'context':f,'config':c});const h=b['dir']?'/'+b[o(0x165)]+'/':'/',i=this[o(0x16c)][o(0x181)]({'pathParts':[o(0x168),o(0x16a),b[o(0x169)],o(0x164)+c[o(0x167)]['js']]});await this['fsi'][o(0x160)]({'filePath':i,'content':o(0x17a)+h+d+o(0x171)});});}catch(d){Log['error'](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a134n=a134d;(function(a,b){const l=a134d,c=a();while(!![]){try{const d=parseInt(l(
|
|
1
|
+
const a134n=a134d;(function(a,b){const l=a134d,c=a();while(!![]){try{const d=parseInt(l(0x8c))/0x1*(-parseInt(l(0x8b))/0x2)+parseInt(l(0x80))/0x3*(parseInt(l(0x9d))/0x4)+parseInt(l(0x9e))/0x5+parseInt(l(0x85))/0x6+parseInt(l(0x94))/0x7+-parseInt(l(0x89))/0x8*(-parseInt(l(0x97))/0x9)+parseInt(l(0x9a))/0xa*(-parseInt(l(0x72))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a134c,0x54e19));const a134b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a134a=a134b(this,function(){const m=a134d;return a134a[m(0x7e)]()['search'](m(0x96))['toString']()['constructor'](a134a)[m(0x7d)]('(((.+)+)+)+$');});a134a();function a134c(){const q=['resourceName','4471922irzeUR','packages','(((.+)+)+)+$','9YEdrUe','getMakaProjectConfig','withValue','230OyWfak','server','pathFromApp','48916ARzPeP','1115745GldNKy','512413EChKCo','graphql','noRename','client','relative','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','create','/client/','pathFromProject','maka\x20g:package\x20todos:package','package/package.js','search','toString','.js','129SzHPPp','package/','theme','template','store','2204106SjmJpe','tests/server','engines','hasOwnProperty','1822312TXBRJQ','layout','56390tmktWI','20MdGgAw','dir','fsi','package','tests/client','component','/package.js'];a134c=function(){return q;};return a134c();}import a134e from'path';import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';function a134d(a,b){const c=a134c();return a134d=function(d,e){d=d-0x72;let f=c[d];return f;},a134d(a,b);}Generator[a134n(0x78)]({'name':a134n(0x8f),'aliases':['p'],'usage':a134n(0x77),'shortDesc':'Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','validOpts':[a134n(0x8d)],'examples':[a134n(0x7b)]},async function(a,b){const o=a134n,c=paramCase(b[o(0x93)]),d=this['fsi'][o(0x9c)]({'pathParts':[o(0x95),b[o(0x8d)],c]}),e=this[o(0x8e)]['pathFromAppWithNoReWrite']({'pathParts':[o(0x95),b[o(0x8d)],c,'package.js']}),f=this['fsi'][o(0x98)]();await this[o(0x8e)][o(0x99)](f,async()=>{const p=o,g={'name':paramCase(b[p(0x93)]),'myPath':a134e[p(0x76)](this[p(0x8e)][p(0x7a)]({}),d),'cssCaseName':paramCase(b['resourceName']),'className':pascalCase(b[p(0x93)]),'camelCaseName':camelCase(b['resourceName']),'fileName':c,'client':f[p(0x87)][p(0x75)],'graphql':f['engines'][p(0x73)],'ssr':f['engines']['ssr'],'isComponent':b['hasOwnProperty'](p(0x91)),'isLayout':b[p(0x88)](p(0x8a)),'isStore':b[p(0x88)](p(0x84)),'features':f['features'],'noRename':!![],'theme':f['engines'][p(0x82)]};await this['fsi'][p(0x83)]({'srcPath':p(0x7c),'destPath':e,'context':g,'config':f}),g[p(0x74)]=![];const h=d+p(0x79)+c+p(0x7f);await this[p(0x8e)][p(0x83)]({'srcPath':'template/template.js','destPath':h,'context':g,'config':f});const i=['lib',p(0x9b),p(0x90),p(0x86)];for(const j of i){const k=d+'/'+j+'/'+c+p(0x7f);await this['fsi'][p(0x83)]({'srcPath':p(0x81)+j+p(0x92),'destPath':k,'context':g,'config':f});}});});
|