@maka/maka-cli 5.0.16 → 5.0.17
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/src/command.js +1 -1
- package/bundle/obf/src/commands/_index.js +1 -1
- package/bundle/obf/src/commands/ai.js +1 -1
- package/bundle/obf/src/commands/aws/_index.js +1 -1
- package/bundle/obf/src/commands/aws/aws.command.js +1 -1
- package/bundle/obf/src/commands/aws/cecr.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/decr.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/lecr.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/build/_index.js +1 -1
- package/bundle/obf/src/commands/build/build.js +1 -1
- package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/create.js +1 -1
- package/bundle/obf/src/commands/debug.js +1 -1
- package/bundle/obf/src/commands/deploy/_index.js +1 -1
- package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
- package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/_index.js +1 -1
- package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/play.command.js +1 -1
- package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/generate.js +1 -1
- package/bundle/obf/src/commands/get/_index.js +1 -1
- package/bundle/obf/src/commands/get/get.command.js +1 -1
- package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/help.js +1 -1
- package/bundle/obf/src/commands/install.js +1 -1
- package/bundle/obf/src/commands/jsdoc.js +1 -1
- package/bundle/obf/src/commands/lint.js +1 -1
- package/bundle/obf/src/commands/login.js +1 -1
- package/bundle/obf/src/commands/logout.js +1 -1
- package/bundle/obf/src/commands/logs.js +1 -1
- package/bundle/obf/src/commands/maka.cmd.js +1 -1
- package/bundle/obf/src/commands/murder.js +1 -1
- package/bundle/obf/src/commands/profile.js +1 -1
- package/bundle/obf/src/commands/proxy.js +1 -1
- package/bundle/obf/src/commands/reconfig.js +1 -1
- package/bundle/obf/src/commands/register.js +1 -1
- package/bundle/obf/src/commands/run/_index.js +1 -1
- package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/run/run.command.js +1 -1
- package/bundle/obf/src/commands/set/_index.js +1 -1
- package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/set/set.command.js +1 -1
- package/bundle/obf/src/commands/ssh.js +1 -1
- package/bundle/obf/src/commands/ssl.js +1 -1
- package/bundle/obf/src/commands/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/cfg/cfg.class.js +1 -1
- package/bundle/obf/src/tools/docker/docker.class.js +1 -1
- package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
- package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
- package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
- package/bundle/obf/src/tools/https/https.class.js +1 -1
- package/bundle/obf/src/tools/https/https.interface.js +1 -1
- package/bundle/obf/src/tools/log/log.class.js +1 -1
- package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
- package/bundle/obf/src/tools/mpi/mpi.class.js +1 -1
- package/bundle/obf/src/tools/options/options.class.js +1 -1
- package/bundle/obf/src/tools/pkg/pkg.class.js +1 -1
- package/bundle/obf/src/tools/progress/progress.class.js +1 -1
- package/bundle/obf/src/tools/scaffold/scaffold.class.js +1 -1
- package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
- package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
- package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
- package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
- package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a117d,c=a();while(!![]){try{var d=-parseInt(f(
|
|
1
|
+
function a117d(a,b){var c=a117c();return a117d=function(d,e){d=d-0x1b2;var f=c[d];return f;},a117d(a,b);}(function(a,b){var f=a117d,c=a();while(!![]){try{var d=-parseInt(f(0x1c0))/0x1*(-parseInt(f(0x1bf))/0x2)+parseInt(f(0x1be))/0x3+parseInt(f(0x1b7))/0x4*(-parseInt(f(0x1b3))/0x5)+-parseInt(f(0x1ba))/0x6*(parseInt(f(0x1bb))/0x7)+parseInt(f(0x1b8))/0x8*(parseInt(f(0x1b6))/0x9)+parseInt(f(0x1b5))/0xa+-parseInt(f(0x1c1))/0xb*(parseInt(f(0x1b4))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0x62c50));var a117b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a117d;if(c){var e=c[g(0x1b2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){var h=a117d;return a117a['toString']()['search']('(((.+)+)+)+$')['toString']()[h(0x1bd)](a117a)[h(0x1b9)](h(0x1bc));});a117a();import'./kit.js';import'./mui/_index.js';import'./esri/_index.js';import'./auth/_index.js';function a117c(){var i=['constructor','1890663xugjDo','30KLxJCj','12573gxDlnr','2452901rLiJmM','apply','355vdxdAi','12ScgsHQ','4442470LumQsm','27UrSbql','44916cVfgrU','1257448ilPBqo','search','492WbLYVs','26446KfJZlP','(((.+)+)+)+$'];a117c=function(){return i;};return a117c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a118d,c=a();while(!![]){try{var d=parseInt(f(
|
|
1
|
+
(function(a,b){var f=a118d,c=a();while(!![]){try{var d=parseInt(f(0x121))/0x1+parseInt(f(0x11f))/0x2+-parseInt(f(0x122))/0x3*(parseInt(f(0x120))/0x4)+parseInt(f(0x123))/0x5*(parseInt(f(0x11b))/0x6)+parseInt(f(0x117))/0x7*(parseInt(f(0x118))/0x8)+-parseInt(f(0x119))/0x9*(parseInt(f(0x11a))/0xa)+-parseInt(f(0x11c))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0x58221));function a118d(a,b){var c=a118c();return a118d=function(d,e){d=d-0x115;var f=c[d];return f;},a118d(a,b);}var a118b=(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;};}()),a118a=a118b(this,function(){var g=a118d;return a118a[g(0x11e)]()[g(0x115)]('(((.+)+)+)+$')['toString']()[g(0x116)](a118a)[g(0x115)](g(0x11d));});a118a();import'./auth.generator.js';import'./provider.auth.gen.js';function a118c(){var h=['1880eXhRtc','603svHNxZ','45090tTKNDU','4309422Aojebj','5669356EkvroU','(((.+)+)+)+$','toString','437744CBRmXv','17252iOmePk','384998RrZXUV','120sUtkSX','5tZKiWg','search','constructor','861CuuVXJ'];a118c=function(){return h;};return a118c();}import'./basic-meteor.auth.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a119i=a119d;(function(a,b){const f=a119d,c=a();while(!![]){try{const d=parseInt(f(0x18e))/0x1+-parseInt(f(0x195))/0x2*(-parseInt(f(0x198))/0x3)+parseInt(f(0x18d))/0x4*(-parseInt(f(0x18f))/0x5)+parseInt(f(0x19c))/0x6*(-parseInt(f(0x1a3))/0x7)+parseInt(f(0x194))/0x8*(parseInt(f(0x1a2))/0x9)+-parseInt(f(0x192))/0xa+parseInt(f(0x197))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0x28687));const a119b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a119d;if(c){const e=c[g(0x19e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){const h=a119d;return a119a[h(0x1a0)]()[h(0x19d)](h(0x199))[h(0x1a0)]()[h(0x190)](a119a)[h(0x19d)](h(0x199));});a119a();import{Generator}from'../../../generator.js';import a119e from'../kit.js';const AuthGen=Generator[a119i(0x1a1)]({'name':a119i(0x193),'aliases':['a'],'usage':a119i(0x191),'noNeedResource':!![],'shortDesc':a119i(0x196),'validOpts':[''],'isPro':!![],'examples':[a119i(0x19b)],'description':a119i(0x19a)},async function(){const j=a119i;throw j(0x19f);},async function(){},a119e);function a119d(a,b){const c=a119c();return a119d=function(d,e){d=d-0x18d;let f=c[d];return f;},a119d(a,b);}function a119c(){const k=['1468EQOyZY','Starting\x20point\x20for\x20generating\x20an\x20Auth\x20Provider','1992562Gxoqjw','1296ECqLVd','(((.+)+)+)+$','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x20\x20','maka\x20g:kit:a','27192MgZjAD','search','apply','NIE','toString','create','405630WianCb','203IGhQQJ','841444ZZTFVZ','116884VRJPUt','5lUwrqF','constructor','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:<kit-name>','1528840TyTTUh','auth','8AXeyPe'];a119c=function(){return k;};return a119c();}export default AuthGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a120r=a120d;(function(a,b){const o=a120d,c=a();while(!![]){try{const d=-parseInt(o(0xec))/0x1*(-parseInt(o(0xf4))/0x2)+-parseInt(o(0xd3))/0x3+parseInt(o(0xd8))/0x4*(-parseInt(o(0xd0))/0x5)+parseInt(o(0xda))/0x6+parseInt(o(0xfa))/0x7+-parseInt(o(0xdc))/0x8+parseInt(o(0xee))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0x628eb));function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0xcd;let f=c[d];return f;},a120d(a,b);}const a120b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a120d;if(c){const e=c[p(0xeb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){const q=a120d;return a120a[q(0xff)]()[q(0x109)](q(0xde))[q(0xff)]()[q(0x108)](a120a)[q(0x109)]('(((.+)+)+)+$');});function a120c(){const t=['error','injectIntoFile','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','create','pathFromApp','export\x20const\x20AuthProvider','apply','244mqysGC','const\x20deauthenticateUser','10148337tZhmqV','ssr','authentication-provider','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','AuthService','1922IHIvhl','/imports/startup/client','cfg','\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','\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','const\x20sendForgotPasswordEmail','1797537xyXLrl','const\x20authenticateToken','\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','meteor/maka:react-tracker','publish','toString','const\x20authenticateUser','meteor/meteor','\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','kit/auth/service/meteor-auth-service.js','accounts-password','processAndRunGenerator','alanning:roles','meteor','constructor','search','engines','force','exit','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','useTracker','pkg','authentication-service','server','kit:auth:provider','getMakaProjectConfig','const\x20resetPasswordWithToken','/imports/startup/client/authentication-service','109185SduFOj','const\x20registerNewUser','imports','1901199zOJIIS','react','const\x20getUserAuthorizations','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','scaffold','88YHdooB','injectIntoCodeBlock','1646280tthkEq','auth/roles','3003280jZsdUp','.js','(((.+)+)+)+$','fsi','meteor/accounts-base','\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','REACT','/imports/startup/lib/authentication-service','injectImport'];a120c=function(){return t;};return a120c();}a120a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a120e from'./auth.generator.js';import a120f from'../../../generators/maka.gen.js';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a120r(0xe8)]({'name':a120r(0x107),'aliases':['m'],'usage':a120r(0xd6),'shortDesc':a120r(0xe7),'validOpts':[a120r(0x10b)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a120r(0xe2)]},'description':a120r(0x102)},async function(a,b){const s=a120r;try{const c=b[s(0x10b)]||![];await this[s(0x10f)]['checkMeteorPackage']([s(0x104),s(0x106)],{'shouldInstall':!![]});const d=this[s(0xdf)]['findProjectDirectory'](),f=await this[s(0xf6)][s(0xcd)](),g=f[s(0x10a)][s(0xef)]==='true';await a120f[s(0x105)](s(0x112),[],{'force':c,'cwd':d,'config':f});const h=await a120f[s(0x105)](s(0xfe),[s(0xdb)],{'force':c,'globalPublish':!![],'cwd':d,'config':f}),i=g?'/imports/startup/lib':s(0xf5),j=this[s(0xd7)][s(0xe9)]({'pathParts':[i,'','',s(0x110)]});await this[s(0xd7)]['template']({'srcPath':s(0x103),'destPath':j+s(0xdd),'framework':s(0xd4),'context':{},'config':f,'force':c,'ignore':![]});const k=this[s(0xd7)][s(0xe9)]({'pathParts':[i,'','',s(0xf0)]}),l=f[s(0x10a)]['js'];await this['scaffold'][s(0xe4)]({'filePath':k+'.'+l,'importName':s(0xf3),'modulePath':g?s(0xe3):s(0xcf),'isNamedExport':![]}),await this['scaffold'][s(0xd9)]({'filePath':k+'.'+l,'content':s(0xfc),'begin':s(0x100),'replace':!![]}),await this['scaffold']['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(0xfb),'replace':!![]}),await this['scaffold'][s(0xd9)]({'filePath':k+'.'+l,'content':s(0xe1),'begin':s(0xd5),'replace':!![]}),await this[s(0xd7)]['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','begin':s(0xed),'replace':!![]}),await this['scaffold']['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':s(0xf1),'begin':s(0xf9),'replace':!![]}),await this[s(0xd7)]['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':s(0x10d),'begin':s(0xd1),'replace':!![]}),await this[s(0xd7)][s(0xd9)]({'filePath':k+'.'+l,'content':s(0xf2),'begin':s(0xce),'replace':!![]});g&&(await this[s(0xd7)][s(0xe4)]({'filePath':k+'.'+l,'importName':s(0x10e),'modulePath':s(0xfd),'isNamedExport':!![]}),await this[s(0xd7)][s(0xe6)]({'filePath':k+'.'+l,'content':s(0xf8),'begin':s(0xea),'end':'return\x20\x5c('}));await this[s(0xd7)][s(0xe4)]({'filePath':h,'importName':'Meteor','modulePath':s(0x101),'isNamedExport':!![],'injectAtStart':!![]}),await this[s(0xd7)][s(0xd9)]({'filePath':h,'content':s(0xf7),'begin':'Meteor.publish','replace':!![]});const m=this[s(0xd7)][s(0xe9)]({'pathParts':[s(0xd2),'startup',s(0x111),'index']});await this[s(0xd7)][s(0xe4)]({'filePath':m+'.'+l,'importName':'Accounts','modulePath':s(0xe0),'isNamedExport':!![]}),await this[s(0xd7)][s(0xd9)]({'filePath':m+'.'+l,'content':'\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','begin':'Meteor.startup','replace':!![]});}catch(n){Log[s(0xe5)](n),process[s(0x10c)](0x1);}},async function(){},a120e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a121c(){const y=['bright','useContext','/imports/startup/client/index','kit/auth/provider/authentication-provider.js','84ykzmCl','template','/routes','injectImport','</AuthProvider>','injectAroundString','AuthContext','80FEAvhK','/imports/startup/client/authentication-provider','constructor','Creating\x20an\x20AuthProvider\x20and\x20AuthContext','error','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','3568790RFTOsl','AuthProvider','443970wRibAw','scaffold','react','/imports/startup/lib','split','335eXtMWe','.js','const\x20PrivateRoute','cfg','17804796XqtTUO','pathFromApp','/imports/startup/client','REACT','provider','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','34926gGCwXo','create','injectIntoCodeBlock','exit','12764pFRjHJ','authentication-provider','11aZZxxu','ssr','912468RohybE','532jlcCrw','7359AASwdU','<AppRoutes\x20/>','engines','function\x20useAuth','force','(((.+)+)+)+$','toString','search'];a121c=function(){return y;};return a121c();}function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0x99;let f=c[d];return f;},a121d(a,b);}const a121w=a121d;(function(a,b){const u=a121d,c=a();while(!![]){try{const d=-parseInt(u(0x9c))/0x1*(parseInt(u(0xa8))/0x2)+-parseInt(u(0x9a))/0x3+parseInt(u(0xca))/0x4*(-parseInt(u(0xbc))/0x5)+parseInt(u(0xc6))/0x6*(parseInt(u(0x9b))/0x7)+parseInt(u(0xaf))/0x8*(-parseInt(u(0xb7))/0x9)+-parseInt(u(0xb5))/0xa*(parseInt(u(0xcc))/0xb)+parseInt(u(0xc0))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0x3cc57));const a121b=(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;};}()),a121a=a121b(this,function(){const v=a121d;return a121a[v(0xa2)]()['search'](v(0xa1))[v(0xa2)]()[v(0xb1)](a121a)[v(0xa3)]('(((.+)+)+)+$');});a121a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a121e from'./auth.generator.js';import{headerCase}from'change-case';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a121w(0xc7)]({'name':a121w(0xc4),'aliases':['p'],'usage':a121w(0xc5),'shortDesc':a121w(0xb4),'validOpts':[a121w(0xa0)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a121w(0xc3)]},'description':'\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'},async function(a,b){const x=a121w;try{const c=b['force']||![];Log[x(0xa4)](x(0xb2));const d=await this[x(0xbf)]['getMakaProjectConfig'](),f=d[x(0x9e)][x(0x99)]==='true',g={'name':headerCase(d['appName'])['replaceAll']('-','\x20')},h=f?x(0xba):x(0xc2),i=this['scaffold'][x(0xc1)]({'pathParts':[h,'','',x(0xcb)]});await this['scaffold'][x(0xa9)]({'srcPath':x(0xa7),'destPath':i+x(0xbd),'framework':x(0xb9),'context':g,'config':d,'force':c,'ignore':![]});const j=d[x(0x9e)]['js'],k=h+x(0xaa),l=k[x(0xbb)]('/'),m=this['scaffold'][x(0xc1)]({'pathParts':l});await this[x(0xb8)][x(0xab)]({'filePath':m+'.'+j,'importName':x(0xae),'modulePath':f?'/imports/startup/lib/authentication-provider':x(0xb0),'isNamedExport':!![]}),await this['scaffold'][x(0xab)]({'filePath':m+'.'+j,'importName':x(0xa5),'modulePath':x(0xb9),'isNamedExport':!![],'injectAtStart':!![]}),await this[x(0xb8)][x(0xc8)]({'filePath':m+'.'+j,'content':'\x0a\x20\x20\x20\x20\x20\x20const\x20{\x20currentUser,\x20loading\x20}\x20=\x20useContext(AuthContext);\x0a\x20\x20\x20\x20\x20\x20return\x20{\x20currentUser,\x20loading\x20};\x0a\x20\x20\x20\x20\x20\x20','begin':['const\x20useAuth',x(0x9f)],'replace':!![]}),await this[x(0xb8)]['injectIntoCodeBlock']({'filePath':m+'.'+j,'content':'\x0a\x20\x20\x20\x20\x20\x20const\x20{\x20currentUser,\x20loading\x20}\x20=\x20useAuth();\x0a\x20\x20\x20\x20\x20\x20if\x20(loading)\x20return\x20<div>Loading...</div>;\x0a\x20\x20\x20\x20\x20\x20return\x20(currentUser)\x20?\x20<Outlet/>\x20:\x20<Navigate\x20to=\x22/login\x22\x20/>;\x0a\x20\x20\x20\x20\x20\x20','begin':[x(0xbe)],'replace':!![]});const n=x(0xa6),o=n['split']('/'),p=this['scaffold'][x(0xc1)]({'pathParts':o});await this['scaffold'][x(0xab)]({'filePath':p+'.'+j,'importName':x(0xb6),'modulePath':f?'/imports/startup/lib/authentication-provider':x(0xb0),'isNamedExport':!![]}),await this[x(0xb8)][x(0xad)]({'filePath':p+'.'+j,'aboveContent':'<AuthProvider>','belowContent':x(0xac),'targetString':x(0x9d),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q='/imports/startup/server/index',r=q[x(0xbb)]('/'),s=this['scaffold'][x(0xc1)]({'pathParts':r});await this[x(0xb8)][x(0xab)]({'filePath':s+'.'+j,'importName':x(0xb6),'modulePath':f?'/imports/startup/lib/authentication-provider':'/imports/startup/client/authentication-provider','isNamedExport':!![]}),await this[x(0xb8)]['injectAroundString']({'filePath':s+'.'+j,'aboveContent':'<AuthProvider>','belowContent':x(0xac),'targetString':x(0x9d),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log[x(0xb3)](t),process[x(0xc9)](0x1);}},async function(){},a121e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a122d,c=a();while(!![]){try{var d
|
|
1
|
+
function a122c(){var i=['toString','4135190IZMHWa','14994vOzcpd','(((.+)+)+)+$','13754010jYRrVY','32573KeGcCK','189844LdmoDm','apply','4141143QSzvJG','4556124kGEUyC','39UZXWNI','2056jYVtot','search','62aWRQlm'];a122c=function(){return i;};return a122c();}function a122d(a,b){var c=a122c();return a122d=function(d,e){d=d-0x1e8;var f=c[d];return f;},a122d(a,b);}(function(a,b){var f=a122d,c=a();while(!![]){try{var d=-parseInt(f(0x1e9))/0x1*(-parseInt(f(0x1f1))/0x2)+-parseInt(f(0x1ee))/0x3*(parseInt(f(0x1ea))/0x4)+parseInt(f(0x1f3))/0x5+parseInt(f(0x1ed))/0x6+parseInt(f(0x1f4))/0x7*(-parseInt(f(0x1ef))/0x8)+parseInt(f(0x1ec))/0x9+-parseInt(f(0x1e8))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0x7d572));var a122b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a122d;if(c){var e=c[g(0x1eb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){var h=a122d;return a122a['toString']()[h(0x1f0)](h(0x1f5))[h(0x1f2)]()['constructor'](a122a)[h(0x1f0)](h(0x1f5));});a122a();import'./esri.generator.js';import'./map.esri.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a123d(a,b){const c=a123c();return a123d=function(d,e){d=d-
|
|
1
|
+
const a123i=a123d;function a123d(a,b){const c=a123c();return a123d=function(d,e){d=d-0x64;let f=c[d];return f;},a123d(a,b);}function a123c(){const k=['maka\x20g:kit:e','search','\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','create','3251955jgRabz','732lqBKMJ','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','10xKouzk','4VmJQLX','esri','toString','(((.+)+)+)+$','9527qJBuFZ','56105FYAqBD','2252184CwkfQV','Esri\x20Kit\x20generated\x20successfully','3704LpdKUh','apply','/foo/bar','321277JFeSqE','1464895Udyrdd','413433eMzJvV','50vhYPxQ'];a123c=function(){return k;};return a123c();}(function(a,b){const f=a123d,c=a();while(!![]){try{const d=-parseInt(f(0x64))/0x1*(parseInt(f(0x75))/0x2)+parseInt(f(0x72))/0x3+parseInt(f(0x76))/0x4*(parseInt(f(0x6b))/0x5)+parseInt(f(0x65))/0x6+parseInt(f(0x7a))/0x7*(parseInt(f(0x67))/0x8)+parseInt(f(0x6c))/0x9*(parseInt(f(0x6d))/0xa)+-parseInt(f(0x6a))/0xb*(parseInt(f(0x73))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0x86474));const a123b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a123d;if(c){const e=c[g(0x68)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){const h=a123d;return a123a['toString']()[h(0x6f)](h(0x79))[h(0x78)]()['constructor'](a123a)[h(0x6f)](h(0x79));});a123a();import{Generator}from'../../../generator.js';import a123e from'../kit.js';const EsriGen=Generator[a123i(0x71)]({'name':a123i(0x77),'aliases':['e'],'usage':a123i(0x74),'noNeedResource':!![],'shortDesc':'Starting\x20point\x20for\x20generating\x20Esri\x20Maps','validOpts':[''],'isPro':!![],'examples':[a123i(0x6e)],'description':a123i(0x70)},async function(){const j=a123i;return{'success':!![],'message':j(0x66),'details':{'filesCreated':[j(0x69)],'filesUpdated':['/foo']}};},async function(){},a123e);export default EsriGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a124r=a124d;(function(a,b){const p=a124d,c=a();while(!![]){try{const d=-parseInt(p(0x1ae))/0x1*(-parseInt(p(0x1b0))/0x2)+parseInt(p(0x1ac))/0x3+parseInt(p(0x1bc))/0x4+-parseInt(p(0x1ba))/0x5*(parseInt(p(0x1b4))/0x6)+parseInt(p(0x1c3))/0x7+-parseInt(p(0x1a3))/0x8+parseInt(p(0x19c))/0x9*(-parseInt(p(0x1c0))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0x71449));const a124b=(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;};}()),a124a=a124b(this,function(){const q=a124d;return a124a[q(0x1ad)]()[q(0x1c1)](q(0x198))[q(0x1ad)]()['constructor'](a124a)[q(0x1c1)](q(0x198));});a124a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a124e from'./esri.generator.js';import a124f from'../../../generators/maka.gen.js';import{paramCase,headerCase,pascalCase}from'change-case';import{ClientEngines,SsrEngines}from'../../../tools/fsi/fsi.interfaces.js';function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0x197;let f=c[d];return f;},a124d(a,b);}function a124c(){const t=['page','injectIntoFile','processAndRunGenerator','55WShGtn','exit','1878356PjjerX','REACT','/imports/ui/hooks','</div>','60bLgRla','search','dir','2719479iStmeI','/imports/startup/client/templates','baseDir','true','(((.+)+)+)+$','fsi','template','error','492363wErAgI','\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','react','pkg','Generating\x20a\x20map\x20component','scaffold','appName','4842352QswPcR','injectTemplateModule','esri-loader','\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','cfg','/imports/startup/lib/templates','ssr','create','checkNpmPackage','354933zDGQzu','toString','111UbauhD','Generate\x20an\x20Esri\x20map\x20component','14814CJdYJx','map','pathFromApp','.js','218778YDIioO','FALSE','engines'];a124c=function(){return t;};return a124c();}Generator[a124r(0x1aa)]({'name':'map','aliases':['m'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','shortDesc':a124r(0x1af),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a124r(0x1bd)],'ssr':SsrEngines[a124r(0x1b5)]},'description':a124r(0x1a6)},async function(a,b){const s=a124r;try{Log['bright'](s(0x1a0));const c='basic-map';await this[s(0x19f)][s(0x1ab)](['@esri/react-arcgis',s(0x1a5)],{'shouldInstall':!![]});const d=this[s(0x199)]['findProjectDirectory'](),f=await this[s(0x1a7)]['getMakaProjectConfig'](),g=f[s(0x1b6)][s(0x1a9)]===s(0x197),h=await a124f[s(0x1b9)](s(0x1b7),[s(0x1b1)],{'cwd':d,'config':f}),i={'name':headerCase(f[s(0x1a2)])['replaceAll']('-','\x20'),'componentName':pascalCase(c)},j=b[s(0x1c5)]?'/imports/ui/'+b[s(0x1c5)]:s(0x1be),k=this[s(0x1a1)][s(0x1b2)]({'pathParts':[j,b[s(0x1c2)],paramCase(c),paramCase(c)]});await this['scaffold'][s(0x19a)]({'srcPath':'kit/esri/map/'+c+s(0x1b3),'destPath':k+s(0x1b3),'framework':s(0x19e),'context':i,'config':f,'force':![],'ignore':![]});const l=''+j+b[s(0x1c2)]+'/'+c+'/'+c;await this[s(0x1a1)][s(0x1a4)](c,f,l);const m=h['split']('/'),n=this[s(0x1a1)][s(0x1b2)]({'pathParts':m});await this[s(0x1a1)]['injectImport']({'filePath':n,'importName':pascalCase(c),'modulePath':g?s(0x1a8):s(0x1c4),'isNamedExport':!![]}),await this['scaffold'][s(0x1b8)]({'filePath':n,'content':'\x0a<'+pascalCase(c)+s(0x19d),'begin':['<div\x20id=\x22map\x22>','<div\x20id=\x22map\x22>'],'end':[s(0x1bf)],'replace':!![]});}catch(o){Log[s(0x19b)](o),process[s(0x1bb)](0x1);}},async function(){},a124e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a125i=a125d;(function(a,b){const f=a125d,c=a();while(!![]){try{const d=-parseInt(f(
|
|
1
|
+
const a125i=a125d;function a125d(a,b){const c=a125c();return a125d=function(d,e){d=d-0x1e6;let f=c[d];return f;},a125d(a,b);}function a125c(){const j=['12nhWviy','13702710JIiRRU','7576jMRWvk','117ObYyxD','8106hgNeoo','search','apply','constructor','601735AMskDG','3358323VdomFl','toString','964uJgUMH','Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','2276uWlgdw','maka\x20g:k','maka\x20g:kit','create','141276wHAZPq','(((.+)+)+)+$','5113482vsrvxs','48MHOfdQ'];a125c=function(){return j;};return a125c();}(function(a,b){const f=a125d,c=a();while(!![]){try{const d=-parseInt(f(0x1e8))/0x1*(parseInt(f(0x1ea))/0x2)+-parseInt(f(0x1f5))/0x3*(-parseInt(f(0x1ee))/0x4)+parseInt(f(0x1fa))/0x5*(parseInt(f(0x1f1))/0x6)+parseInt(f(0x1f6))/0x7*(parseInt(f(0x1f4))/0x8)+parseInt(f(0x1e6))/0x9+-parseInt(f(0x1f3))/0xa+-parseInt(f(0x1f0))/0xb*(parseInt(f(0x1f2))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0xd6501));const a125b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a125d;if(c){const e=c[g(0x1f8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){const h=a125d;return a125a[h(0x1e7)]()[h(0x1f7)]('(((.+)+)+)+$')[h(0x1e7)]()[h(0x1f9)](a125a)['search'](h(0x1ef));});a125a();import{Generator}from'../../generator.js';const KitGen=Generator[a125i(0x1ed)]({'name':'kit','aliases':['k'],'usage':'maka\x20{generate,\x20g}:{kit}\x20<name>','shortDesc':a125i(0x1e9),'minArgLength':0x1,'isPro':!![],'validOpts':[],'noNeedResource':!![],'examples':[a125i(0x1ec),a125i(0x1eb)]},async function(){});export default KitGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(a,b){var f=a126d,c=a();while(!![]){try{var d=parseInt(f(0x12d))/0x1+-parseInt(f(0x12a))/0x2*(-parseInt(f(0x127))/0x3)+parseInt(f(0x123))/0x4+-parseInt(f(0x12f))/0x5*(parseInt(f(0x12c))/0x6)+parseInt(f(0x12b))/0x7*(parseInt(f(0x122))/0x8)+-parseInt(f(0x125))/0x9*(-parseInt(f(0x124))/0xa)+-parseInt(f(0x120))/0xb*(parseInt(f(0x11f))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0xd642b));function a126c(){var i=['100122ELRKiX','1051543aTOCgE','constructor','265yjbJSR','321324BZEWLl','583AiltoI','search','8GKdDDi','551648nNGSbv','10tSaheO','428022fkKUuS','(((.+)+)+)+$','59319OMHWYc','apply','toString','34TwVDXM','11256343zojCuz'];a126c=function(){return i;};return a126c();}var a126b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a126d;if(c){var e=c[g(0x128)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){var h=a126d;return a126a[h(0x129)]()[h(0x121)](h(0x126))['toString']()[h(0x12e)](a126a)['search']('(((.+)+)+)+$');});a126a();import'./mui.generator.js';function a126d(a,b){var c=a126c();return a126d=function(d,e){d=d-0x11f;var f=c[d];return f;},a126d(a,b);}import'./frame.mui.gen.js';import'./auth.mui.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a127c(){const
|
|
1
|
+
function a127c(){const L=['5LuXVnt','kit:auth:meteor','125649wzJNth','react','35ysKvmO','.js','maka\x20generate:kit:mui:frame','kit/mui/auth/forgot-password/','force','basic-password-reset-page','meteor','2909jqhprj','findProjectDirectory','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','reset-password/:token','997752cOkCns','authType','basic-logout-page','options','baseDir','fsi','true','processAndRunGenerator','replaceAll','injectTemplateModule','register','maka\x20g:k:m:f','/imports/startup/lib/authentication-provider','28obnopz','list','5411575jSytYy','kit:auth:provider','split','constructor','create','login','dir','AuthContext','1148584unyzob','/imports/startup/client/authentication-provider','Custom\x20(roll\x20your\x20own)','search','7986240NqeHjf','kit/mui/auth/logout/','Cleaning\x20up...','basic-forgot-password-page','pathFromApp','basic-login-page','appName','basic-register-page','engines','106LbYpUA','Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','1574532UzRKtH','logout','injectImport','11BugovN','template','scaffold','kit/mui/auth/login/','290wcUlAh','kit/mui/auth/password-reset/','route','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','/imports/ui/','custom','/imports/ui/pages/auth','(((.+)+)+)+$','REACT','toString','4PMlRXf'];a127c=function(){return L;};return a127c();}const a127I=a127d;(function(a,b){const G=a127d,c=a();while(!![]){try{const d=-parseInt(G(0x123))/0x1*(-parseInt(G(0x104))/0x2)+-parseInt(G(0x106))/0x3*(-parseInt(G(0x117))/0x4)+parseInt(G(0x118))/0x5*(-parseInt(G(0x127))/0x6)+parseInt(G(0x11c))/0x7*(-parseInt(G(0x13e))/0x8)+parseInt(G(0x11a))/0x9*(parseInt(G(0x10d))/0xa)+parseInt(G(0x109))/0xb*(-parseInt(G(0x142))/0xc)+parseInt(G(0x136))/0xd*(parseInt(G(0x134))/0xe);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0x598ab));const a127b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){const H=a127d;return a127a[H(0x116)]()[H(0x141)](H(0x114))[H(0x116)]()[H(0x139)](a127a)[H(0x141)](H(0x114));});a127a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a127e from'../../../generators/maka.gen.js';function a127d(a,b){const c=a127c();return a127d=function(d,e){d=d-0x103;let f=c[d];return f;},a127d(a,b);}import a127f from'./mui.generator.js';import{paramCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a127I(0x13a)]({'name':'auth','aliases':['a'],'usage':a127I(0x110),'shortDesc':a127I(0x105),'validOpts':['layouts',a127I(0x120)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines['MATERIAL'],'client':ClientEngines[a127I(0x115)]},'examples':[a127I(0x11e),a127I(0x132)],'description':a127I(0x125)},async function(a,b){const J=a127I;try{const c=b[J(0x120)]||![],d=this[J(0x12c)][J(0x124)](),f=await this['cfg']['getMakaProjectConfig'](),{authType:g}=await Actions[J(0x12a)]({'type':J(0x135),'name':J(0x128),'message':'What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','choices':[{'name':'Meteor\x20Accounts','value':J(0x122)},{'name':J(0x140),'value':J(0x112)}]}),h='basic-login-page',i=J(0x129),j=J(0x149),k=J(0x121),l=J(0x145),m=b[J(0x12b)]?J(0x111)+b['baseDir']:J(0x113),n=this[J(0x10b)]['pathFromApp']({'pathParts':[m,b[J(0x13c)],paramCase(h),paramCase(h)]}),o=this['scaffold'][J(0x146)]({'pathParts':[m,b[J(0x13c)],paramCase(i),paramCase(i)]}),p=this[J(0x10b)]['pathFromApp']({'pathParts':[m,b[J(0x13c)],paramCase(j),paramCase(j)]}),q=this[J(0x10b)][J(0x146)]({'pathParts':[m,b[J(0x13c)],paramCase(k),paramCase(k)]}),r=this[J(0x10b)][J(0x146)]({'pathParts':[m,b['dir'],paramCase(l),paramCase(l)]}),s={'name':headerCase(f[J(0x148)])[J(0x12f)]('-','\x20')};await this[J(0x10b)][J(0x10a)]({'srcPath':J(0x10c)+h+J(0x11d),'destPath':n+J(0x11d),'framework':'react','context':s,'config':f,'force':c,'ignore':![]}),await this['scaffold'][J(0x10a)]({'srcPath':J(0x143)+i+J(0x11d),'destPath':o+J(0x11d),'framework':J(0x11b),'context':s,'config':f,'force':c,'ignore':![]}),await this[J(0x10b)][J(0x10a)]({'srcPath':'kit/mui/auth/register/'+j+J(0x11d),'destPath':p+J(0x11d),'framework':J(0x11b),'context':s,'config':f,'force':c,'ignore':![]}),await this['scaffold'][J(0x10a)]({'srcPath':J(0x10e)+k+J(0x11d),'destPath':q+J(0x11d),'framework':J(0x11b),'context':s,'config':f,'force':c,'ignore':![]}),await this['scaffold'][J(0x10a)]({'srcPath':J(0x11f)+l+J(0x11d),'destPath':r+J(0x11d),'framework':J(0x11b),'context':s,'config':f,'force':c,'ignore':![]});const t=''+m+b[J(0x13c)]+'/'+h+'/'+h;await this[J(0x10b)][J(0x130)](h,f,t);const u=''+m+b[J(0x13c)]+'/'+i+'/'+i;await this['scaffold'][J(0x130)](i,f,u);const v=''+m+b[J(0x13c)]+'/'+j+'/'+j;await this[J(0x10b)]['injectTemplateModule'](j,f,v);const w=''+m+b[J(0x13c)]+'/'+k+'/'+k;await this[J(0x10b)][J(0x130)](k,f,w);const x=''+m+b['dir']+'/'+l+'/'+l;await this['scaffold']['injectTemplateModule'](l,f,x),await a127e[J(0x12e)](J(0x10f),[J(0x147)],{'route':J(0x13b),'cwd':d,'config':f}),await a127e[J(0x12e)](J(0x10f),[J(0x129)],{'route':J(0x107),'private':!![],'cwd':d,'config':f}),await a127e['processAndRunGenerator'](J(0x10f),[J(0x149)],{'route':J(0x131),'cwd':d,'config':f}),await a127e['processAndRunGenerator']('route',[J(0x121)],{'route':J(0x126),'cwd':d,'config':f}),await a127e['processAndRunGenerator'](J(0x10f),[J(0x145)],{'route':'forgot-password','cwd':d,'config':f});g==='meteor'&&await a127e[J(0x12e)](J(0x119),[],{'force':c,'cwd':d,'config':f});g===J(0x112)&&await a127e['processAndRunGenerator'](J(0x137),[],{'force':c,'cwd':d,'config':f});const y=f[J(0x103)]['ssr']===J(0x12d),z=f[J(0x103)]['js'],A=this['scaffold']['pathFromApp']({'pathParts':t[J(0x138)]('/')});await this[J(0x10b)][J(0x108)]({'filePath':A+'.'+z,'importName':J(0x13d),'modulePath':y?'/imports/startup/lib/authentication-provider':J(0x13f),'isNamedExport':!![]});const B=this[J(0x10b)][J(0x146)]({'pathParts':u[J(0x138)]('/')});await this['scaffold'][J(0x108)]({'filePath':B+'.'+z,'importName':J(0x13d),'modulePath':y?J(0x133):J(0x13f),'isNamedExport':!![]});const C=this[J(0x10b)][J(0x146)]({'pathParts':v[J(0x138)]('/')});await this[J(0x10b)][J(0x108)]({'filePath':C+'.'+z,'importName':J(0x13d),'modulePath':y?J(0x133):J(0x13f),'isNamedExport':!![]});const D=this[J(0x10b)][J(0x146)]({'pathParts':w['split']('/')});await this['scaffold'][J(0x108)]({'filePath':D+'.'+z,'importName':J(0x13d),'modulePath':y?J(0x133):J(0x13f),'isNamedExport':!![]});const E=this['scaffold'][J(0x146)]({'pathParts':x['split']('/')});await this['scaffold']['injectImport']({'filePath':E+'.'+z,'importName':'AuthContext','modulePath':y?J(0x133):'/imports/startup/client/authentication-provider','isNamedExport':!![]});}catch(F){Log['error'](F);}},async function(){const K=a127I;console['log'](K(0x144));},a127f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a128E=a128d;(function(a,b){const B=a128d,c=a();while(!![]){try{const d=parseInt(B(
|
|
1
|
+
const a128E=a128d;(function(a,b){const B=a128d,c=a();while(!![]){try{const d=parseInt(B(0x1a8))/0x1+parseInt(B(0x1aa))/0x2*(parseInt(B(0x1bb))/0x3)+-parseInt(B(0x1af))/0x4*(-parseInt(B(0x1b7))/0x5)+-parseInt(B(0x19d))/0x6*(-parseInt(B(0x1a9))/0x7)+parseInt(B(0x1de))/0x8+-parseInt(B(0x1c2))/0x9+-parseInt(B(0x1df))/0xa*(parseInt(B(0x197))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0xed69f));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){const C=a128d;if(c){const e=c[C(0x1c7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const D=a128d;return a128a[D(0x1c8)]()[D(0x1b9)](D(0x1ad))[D(0x1c8)]()[D(0x1d2)](a128a)[D(0x1b9)](D(0x1ad));});a128a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a128e from'path';import a128f from'./mui.generator.js';import{paramCase,pascalCase,headerCase}from'change-case';function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0x193;let f=c[d];return f;},a128d(a,b);}function a128c(){const H=['-hook\x22>','jsx','dir','<Outlet\x20/>','apply','toString','Cleaning\x20up...','options','injectIntoFile','injectTemplateModule','kit/mui/frame/footers/','/imports/ui/','Container','maka:react-tracker','force','constructor','getMakaProjectConfig','pkg','Box','ssr','<Outlet/>','MATERIAL','getDirectories','No\x20layouts\x20selected','/imports/startup/client/templates','error','/imports/startup/lib/templates','8924048xazNqg','365370EhsYsr','</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','frame','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f}','getFiles','kit/mui/frame/drawers/','maka\x20generate:kit:mui:frame','@mui/material/Box','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','.js','440xtExMa','maka\x20g:k:m:f','checkbox','template','checkMeteorPackage','<div\x20id=\x22','12KoMfWu','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20frame\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','pathFromApp','tests','session','length','@mui/material/Container','basic-app-bar','replaceAll','join','REACT','545649AcSeuV','213962vxiFcw','6218fJYxSD','fsi','react','(((.+)+)+)+$','Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','14740cQMFoZ','test','app-tests','injectImport','log','appName','\x20/>\x0a','true','1060UEJzIv','layouts','search','cfg','522FhedVj','baseDir','engines','create','scaffold','findAppDirectory','basic-drawer','5494914itpXYu'];a128c=function(){return H;};return a128c();}import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a128E(0x1be)]({'name':a128E(0x1e1),'aliases':['f'],'usage':a128E(0x1e2),'shortDesc':a128E(0x1ae),'validOpts':[a128E(0x1b8),a128E(0x1bc),a128E(0x1c5),a128E(0x1d1)],'isPro':![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a128E(0x1d8)],'client':ClientEngines[a128E(0x1a7)]},'examples':[a128E(0x193),a128E(0x198)],'description':a128E(0x19e)},async function(a,b){const F=a128E;try{const c=b[F(0x1d1)]||![],d=F(0x1a4),f=F(0x1c1),g='basic-sticky-footer',h=await this[F(0x1ba)][F(0x1d3)](),i=h[F(0x1bd)][F(0x1d6)]===F(0x1b6);await this[F(0x1d4)][F(0x19b)]([F(0x1a1),F(0x1d0)],{'shouldInstall':!![]});const j=this[F(0x1ab)][F(0x1c0)](),k=a128e[F(0x1a6)](j,'imports','ui',F(0x1b8)),l=this['fsi'][F(0x1d9)](k),m=await Actions[F(0x1ca)]({'type':F(0x199),'name':F(0x1b8),'message':F(0x195),'choices':l});if(m[F(0x1b8)][F(0x1a2)]===0x0){Log['error'](F(0x1da));return;}const n=b[F(0x1bc)]?F(0x1ce)+b[F(0x1bc)]:'/imports/ui/components',o=this[F(0x1bf)][F(0x19f)]({'pathParts':[n,b['dir'],paramCase(d),paramCase(d)]}),p=this[F(0x1bf)][F(0x19f)]({'pathParts':[n,b[F(0x1c5)],paramCase(f),paramCase(f)]}),q=this['scaffold'][F(0x19f)]({'pathParts':[n,b[F(0x1c5)],paramCase(g),paramCase(g)]}),r={'name':headerCase(h[F(0x1b4)])[F(0x1a5)]('-','\x20')};await this[F(0x1bf)][F(0x19a)]({'srcPath':'kit/mui/frame/app-bars/'+d+F(0x196),'destPath':o+F(0x196),'framework':F(0x1ac),'context':r,'config':h,'force':c,'ignore':![]}),await this[F(0x1bf)][F(0x19a)]({'srcPath':F(0x1e4)+f+F(0x196),'destPath':p+F(0x196),'framework':'react','context':r,'config':h,'force':c,'ignore':![]}),await this[F(0x1bf)][F(0x19a)]({'srcPath':F(0x1cd)+g+F(0x196),'destPath':q+F(0x196),'framework':'react','context':r,'config':h,'force':c,'ignore':![]});const s=''+n+b['dir']+'/'+d+'/'+d;await this[F(0x1bf)]['injectTemplateModule'](d,h,s);const t=''+n+b[F(0x1c5)]+'/'+f+'/'+f;await this['scaffold'][F(0x1cc)](f,h,t);const u=''+n+b[F(0x1c5)]+'/'+g+'/'+g;await this['scaffold'][F(0x1cc)](g,h,u);const {layouts:v}=m;for(const w of v){const x=this[F(0x1ab)][F(0x1e3)](a128e[F(0x1a6)](k,w),{'extensions':[F(0x1c4),'tsx'],'omit':[F(0x1b1),F(0x1a0),F(0x1b0)]});for(const y of x){const z=a128e[F(0x1a6)](k,w,y);await this[F(0x1bf)][F(0x1b2)]({'filePath':z,'importName':F(0x1d5),'modulePath':F(0x194),'isNamedExport':![]}),await this[F(0x1bf)][F(0x1b2)]({'filePath':z,'importName':F(0x1cf),'modulePath':F(0x1a3),'isNamedExport':![]}),await this[F(0x1bf)][F(0x1b2)]({'filePath':z,'importName':pascalCase(d),'modulePath':i?F(0x1dd):'/imports/startup/client/templates','isNamedExport':!![]}),await this['scaffold'][F(0x1cb)]({'filePath':z,'content':'<'+pascalCase(d)+F(0x1b5),'begin':[F(0x19c)+w+'\x22>','<div\x20id=\x22'+w+'-hook\x22>'],'end':[F(0x1d7),'<Outlet\x20/>']}),await this[F(0x1bf)][F(0x1b2)]({'filePath':z,'importName':pascalCase(f),'modulePath':i?'/imports/startup/lib/templates':F(0x1db),'isNamedExport':!![]}),await this[F(0x1bf)]['injectIntoFile']({'filePath':z,'content':'<'+pascalCase(f)+F(0x1b5),'begin':['<div\x20id=\x22'+w+'\x22>','<div\x20id=\x22'+w+F(0x1c3)],'end':[F(0x1d7),F(0x1c6)]}),await this[F(0x1bf)][F(0x1cb)]({'filePath':z,'content':'<'+pascalCase(g)+F(0x1b5),'begin':[F(0x1d7),F(0x1c6)],'end':['</div>']}),await this[F(0x1bf)]['injectImport']({'filePath':z,'importName':pascalCase(g),'modulePath':i?F(0x1dd):'/imports/startup/client/templates','isNamedExport':!![]}),await this[F(0x1bf)]['injectAroundString']({'filePath':z,'aboveContent':'<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>','belowContent':F(0x1e0),'targetString':[F(0x1d7),F(0x1c6)],'targetIndentAdjustment':0x6});}}}catch(A){Log[F(0x1dc)](A);}},async function(){const G=a128E;console[G(0x1b3)](G(0x1c9));},a128f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a129j=a129d;(function(a,b){const g=a129d,c=a();while(!![]){try{const d=parseInt(g(
|
|
1
|
+
const a129j=a129d;(function(a,b){const g=a129d,c=a();while(!![]){try{const d=parseInt(g(0x8b))/0x1+-parseInt(g(0x8c))/0x2+parseInt(g(0xa0))/0x3+-parseInt(g(0x91))/0x4+-parseInt(g(0x9e))/0x5+-parseInt(g(0xa2))/0x6+parseInt(g(0x8e))/0x7;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0x90a8c));const a129b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a129d;if(c){const e=c[h(0x9c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){const i=a129d;return a129a['toString']()[i(0x9a)](i(0x8a))[i(0x8d)]()[i(0xa6)](a129a)[i(0x9a)]('(((.+)+)+)+$');});a129a();import{Generator}from'../../../generator.js';import{Actions}from'../../../tools/actions/actions.class.js';import{Log}from'../../../tools/log/log.class.js';function a129c(){const l=['Header,\x20Footer,\x20and\x20Drawer','apply','info','3629305IQdLJb','kit:mui:auth','1265619XlDOxG','options','4891662XpTsAi','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','kitChoices','Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!','constructor','getMakaProjectConfig','notice','processAndRunGenerator','kit:mui:frame','(((.+)+)+)+$','233719kPCeBe','399798Lqjopr','toString','12659213DtVwhG','\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','cfg','521960xYoOIq','frame','checkbox','findProjectDirectory','No\x20MUI\x20kits\x20selected.\x20Exiting.','Material-UI\x20Kit','includes','mui','fsi','search'];a129c=function(){return l;};return a129c();}import a129e from'../../../generators/maka.gen.js';function a129d(a,b){const c=a129c();return a129d=function(d,e){d=d-0x86;let f=c[d];return f;},a129d(a,b);}import a129f from'../kit.js';const MuiGen=Generator['create']({'name':a129j(0x98),'aliases':['m'],'usage':a129j(0xa3),'noNeedResource':!![],'shortDesc':a129j(0x96),'validOpts':[''],'isPro':!![],'examples':['maka\x20g:kit:m']},async function(){const k=a129j;Log['info'](k(0xa5)),Log[k(0x87)](k(0x8f));const {kitChoices:a}=await Actions[k(0xa1)]({'type':k(0x93),'name':k(0xa4),'message':'Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','choices':[{'name':k(0x9b),'value':k(0x92)},{'name':'Auth\x20workflow\x20(login,\x20logout,\x20etc.)','value':'auth'}]}),b=this[k(0x99)][k(0x94)](),c=this[k(0x90)][k(0x86)]();a[k(0x97)]('frame')&&await a129e[k(0x88)](k(0x89),[],{'force':!![],'cwd':b,'config':c});a[k(0x97)]('auth')&&await a129e['processAndRunGenerator'](k(0x9f),[],{'force':!![],'cwd':b,'config':c});if(a['length']===0x0){Log[k(0x9d)](k(0x95));return;}},async function(){},a129f);export default MuiGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a130o=a130d;(function(a,b){const l=a130d,c=a();while(!![]){try{const d
|
|
1
|
+
const a130o=a130d;function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0x196;let f=c[d];return f;},a130d(a,b);}function a130c(){const q=['installNpmPackage','ramda','split','36PmDKLP','template/template.css','dir','hook/hook.js','apply','.css','.js','resourceName','fileName','cfg','findAppDirectory','none','includes','css','toString','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','className','relative','test','25568QDcOvA','search','Scaffolding\x20for\x20a\x20React\x20Layout.','(((.+)+)+)+$','withHook','withHooks','5060694xezwWT','pathFromApp','theme','features','test/test.js','findProjectDirectory','string','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','engines','import\x20\x27./','934444YXZlen','scaffold','create','/imports/ui/layouts','constructor','6zFQdrC','558llMULK','2933700LfLeDL','template','warn','maka\x20g:l\x20web/safari','3184690oXHYFI','244463NHhLRn','api','react','setTemplate','withTranslations','maka\x20g:layout\x20mobile/iPhone8','185532oGZOgE','assign','checkNpmPackage','injectTemplateModule','getMakaProjectConfig','client','graphql','layout','pkg'];a130c=function(){return q;};return a130c();}(function(a,b){const l=a130d,c=a();while(!![]){try{const d=parseInt(l(0x1d1))/0x1*(parseInt(l(0x1ca))/0x2)+-parseInt(l(0x1a2))/0x3*(-parseInt(l(0x196))/0x4)+parseInt(l(0x1d0))/0x5+-parseInt(l(0x1bb))/0x6+-parseInt(l(0x1c5))/0x7+-parseInt(l(0x1b5))/0x8*(parseInt(l(0x1cb))/0x9)+-parseInt(l(0x1cc))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0x6fedc));const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a130d;if(c){const e=c[m(0x1a6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const n=a130d;return a130a[n(0x1b0)]()[n(0x1b6)](n(0x1b8))[n(0x1b0)]()[n(0x1c9)](a130a)[n(0x1b6)](n(0x1b8));});a130a();import a130e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['l'];Generator[a130o(0x1c7)]({'name':a130o(0x19d),'aliases':aliases,'usage':a130o(0x1b1),'shortDesc':a130o(0x1b7),'validOpts':['withHook'],'examples':[a130o(0x1d6),a130o(0x1cf)]},async function(a,b){const p=a130o,c=p(0x1c8),d=this['fsi'][p(0x1ac)](),e=this[p(0x1c6)][p(0x1bc)]({'pathParts':[c,b[p(0x1a4)],paramCase(b[p(0x1a9)]),paramCase(b['resourceName'])]}),f=await this[p(0x1ab)][p(0x19a)]();typeof f[p(0x1cd)][p(0x1b4)]===p(0x1c1)&&this[p(0x1ab)][p(0x1d4)]('test',f[p(0x1cd)][p(0x1b4)]);typeof f[p(0x1cd)][p(0x1af)]==='string'&&this['cfg'][p(0x1d4)]('css',f[p(0x1cd)][p(0x1af)]);typeof f[p(0x1cd)]['js']==='string'&&this[p(0x1ab)][p(0x1d4)]('js',f[p(0x1cd)]['js']);const g=b['_']?b['_'][0x0][p(0x1a1)](':')[0x1]:![],h=b['_']&&aliases[p(0x1ae)](g);h&&!this[p(0x19e)][p(0x198)](p(0x1a0))&&(Log[p(0x1ce)](p(0x1c2)),this['pkg'][p(0x19f)](p(0x1a0),{'cwd':d}));if(h&&!this['pkg'][p(0x198)](p(0x1d3))){Log[p(0x1ce)]('This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator');return;}const i={'name':pascalCase(b[p(0x1a9)]),'myPath':a130e[p(0x1b3)](this['fsi'][p(0x1c0)](),e),'cssCaseName':paramCase(b[p(0x1a9)]),'className':pascalCase(b[p(0x1a9)]),'camelCaseName':camelCase(b[p(0x1a9)]),'fileName':paramCase(b[p(0x1a9)]),'graphql':f['engines'][p(0x19c)],'features':f['features'],'client':f[p(0x1c3)][p(0x19b)],'api':f[p(0x1c3)][p(0x1d2)],'ssr':f['engines']['ssr'],'test':f[p(0x1c3)][p(0x1b4)],'theme':f[p(0x1c3)][p(0x1bd)],'isComponent':![],'isLayout':!![],'withTranslations':f[p(0x1be)][p(0x1d5)]};f[p(0x1be)]?.[p(0x1ba)]||b[p(0x1b9)]?await this[p(0x1c6)]['template']({'srcPath':p(0x1a5),'destPath':e+'.js','framework':p(0x1d3),'context':i,'config':f}):await this[p(0x1c6)][p(0x1cd)]({'srcPath':'component/component.js','destPath':e+p(0x1a8),'framework':p(0x1d3),'context':i,'config':f});f[p(0x1c3)][p(0x1b4)]!==p(0x1ad)&&await this[p(0x1c6)]['template']({'srcPath':p(0x1bf),'destPath':e+'.app-tests.js','framework':'react','context':i,'config':f});f[p(0x1cd)]['css']&&(await this['scaffold'][p(0x1cd)]({'srcPath':p(0x1a3),'destPath':e+p(0x1a7),'context':Object[p(0x197)]({},i,{'className':paramCase(b[p(0x1a9)])}),'config':f}),await this[p(0x1c6)]['injectAtBeginningOfFile']({'filePath':e+'.'+f['engines']['js'],'content':p(0x1c4)+i[p(0x1aa)]+'.'+f[p(0x1c3)][p(0x1af)]+'\x27;'}));const j=b[p(0x1a4)]?'/'+b[p(0x1a4)]+'/':'/',k=''+c+j+i[p(0x1aa)]+'/'+i[p(0x1aa)];await this[p(0x1c6)][p(0x199)](i[p(0x1b2)],f,k);});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-
|
|
1
|
+
const a131i=a131d;function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0x18c;let f=c[d];return f;},a131d(a,b);}(function(a,b){const f=a131d,c=a();while(!![]){try{const d=-parseInt(f(0x19c))/0x1+-parseInt(f(0x19b))/0x2*(parseInt(f(0x19d))/0x3)+parseInt(f(0x19a))/0x4*(-parseInt(f(0x193))/0x5)+parseInt(f(0x18c))/0x6+parseInt(f(0x18f))/0x7*(parseInt(f(0x196))/0x8)+-parseInt(f(0x198))/0x9+parseInt(f(0x19f))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0xebe14));const a131b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a131d;if(c){const e=c[g(0x191)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a131a=a131b(this,function(){const h=a131d;return a131a[h(0x190)]()[h(0x194)]('(((.+)+)+)+$')[h(0x190)]()[h(0x197)](a131a)[h(0x194)](h(0x195));});a131a();import{Generator}from'../generator.js';const MakaGen=new Generator({'name':a131i(0x19e),'aliases':['g'],'usage':'maka\x20{generate,\x20g}:<generator>\x20<name>','validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':a131i(0x18e),'examples':['maka\x20generate:scaffold\x20todos',a131i(0x18d),a131i(0x199),a131i(0x192),'maka\x20g:route\x20todos/edit','maka\x20g:api\x20trucks','maka\x20g:dbc\x20geoserver\x20--type=pgsql']},async function(){});function a131c(){const j=['450028dJQVYF','1562745BGMsHv','24rKthto','generate','70352070bemmPj','4257720KXUfWK','maka\x20g:scaffold\x20todos','Scaffold\x20various\x20parts\x20of\x20your\x20application','14tKQnIa','toString','apply','maka\x20g:package\x20package:name','7805ztXKxH','search','(((.+)+)+)+$','6488cjNVfx','constructor','13574925hpLjHf','maka\x20g:template\x20todos/todo_item','4892CjcEvF'];a131c=function(){return j;};return a131c();}export default MakaGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a132c(){const p=['error','ddp-rate-limiter','8036210NnAXDd','3536728ybOHhv','pathFromApp','methods','search','apply','toString','imports','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','(((.+)+)+)+$','4958670VdnoOX','maka\x20g:method\x20todos','checkMeteorPackage','startup','9dtaEJK','105194bURJJU','import\x20\x27./methods','tsx','dir','resourceName','6ybaXAn','mdg:validated-method','6942965lSMFXs','engines','357308pXLvbu','getMakaProjectConfig','9vRBuro','maka:check','-rpc-method.','method/method.js','pkg','create','method','scaffold','template','appPathPrefix','17777600yyClpy'];a132c=function(){return p;};return a132c();}const a132n=a132d;(function(a,b){const k=a132d,c=a();while(!![]){try{const d=parseInt(k(0x1df))/0x1*(parseInt(k(0x1da))/0x2)+parseInt(k(0x1e5))/0x3*(-parseInt(k(0x1e3))/0x4)+parseInt(k(0x1e1))/0x5+-parseInt(k(0x1d5))/0x6+-parseInt(k(0x1cb))/0x7+-parseInt(k(0x1cc))/0x8+parseInt(k(0x1d9))/0x9*(parseInt(k(0x1c8))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a132c,0xc2acc));const a132b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a132d;if(c){const e=c[l(0x1d0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a132a=a132b(this,function(){const m=a132d;return a132a[m(0x1d1)]()['search'](m(0x1d4))[m(0x1d1)]()['constructor'](a132a)[m(0x1cf)](m(0x1d4));});a132a();import{Generator}from'../generator.js';function a132d(a,b){const c=a132c();return a132d=function(d,e){d=d-0x1c8;let f=c[d];return f;},a132d(a,b);}import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a132n(0x1ea)]({'name':a132n(0x1eb),'aliases':['m'],'usage':'maka\x20{generate,\x20g}:{method,\x20m}\x20name','checkWhere':!![],'shortDesc':a132n(0x1d3),'validOpts':['dir'],'examples':[a132n(0x1d6)]},async function(a,b){const o=a132n;try{const c=await this['cfg'][o(0x1e4)](),d=b[o(0x1dd)]?'/'+b[o(0x1dd)]+'/':'/',f=paramCase(b['resourceName']),g={'name':b[o(0x1de)],'fileName':f,'className':pascalCase(b['resourceName']),'camelCase':camelCase(b['resourceName']),'noRename':!![]};let h='js';c[o(0x1e2)]['js']===o(0x1dc)&&(h='ts');await this[o(0x1e9)][o(0x1d7)]([o(0x1e6),o(0x1ca),o(0x1e0)],{'shouldInstall':!![]}),await this['scaffold'][o(0x1ed)]({'srcPath':o(0x1e8),'destPath':this[o(0x1ec)][o(0x1cd)]({'pathParts':[o(0x1d2),o(0x1d8),b[o(0x1ee)],o(0x1ce),d,f+o(0x1e7)+h]}),'context':g,'config':c});const i=this[o(0x1ec)]['pathFromApp']({'pathParts':['imports',o(0x1d8),b[o(0x1ee)],'index.'+c['engines']['js']]});await this[o(0x1ec)]['injectAtEndOfFile']({'filePath':i,'content':o(0x1db)+d+f+'-rpc-method\x27;'});}catch(j){Log[o(0x1c9)](j);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a133c(){const r=['
|
|
1
|
+
function a133c(){const r=['theme','noRename','features','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','4197179RomWks','9DfBpJO','3068592MdbQOe','maka\x20g:package\x20todos:package','packages','server','1086LXIJxV','layout','template','getMakaProjectConfig','3917328ITFbHu','toString','package/package.js','/client/','pathFromAppWithNoReWrite','resourceName','apply','tests/server','lib','package/','8481970ADblPY','relative','store','client','dir','230664lSnsZe','graphql','35CEtqBx','scaffold','11zsaPAG','hasOwnProperty','915156LqEykb','(((.+)+)+)+$','engines','search','package.js','fsi','643lGiIJW','cfg','constructor','.js'];a133c=function(){return r;};return a133c();}const a133p=a133d;function a133d(a,b){const c=a133c();return a133d=function(d,e){d=d-0x91;let f=c[d];return f;},a133d(a,b);}(function(a,b){const m=a133d,c=a();while(!![]){try{const d=-parseInt(m(0xb9))/0x1*(parseInt(m(0x9a))/0x2)+parseInt(m(0xb3))/0x3+parseInt(m(0xad))/0x4*(-parseInt(m(0xaf))/0x5)+parseInt(m(0x9e))/0x6+parseInt(m(0x94))/0x7+parseInt(m(0x96))/0x8*(parseInt(m(0x95))/0x9)+parseInt(m(0xa8))/0xa*(-parseInt(m(0xb1))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a133c,0x53087));const a133b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a133d;if(c){const e=c[n(0xa4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a133a=a133b(this,function(){const o=a133d;return a133a[o(0x9f)]()[o(0xb6)]('(((.+)+)+)+$')['toString']()[o(0xbb)](a133a)[o(0xb6)](o(0xb4));});a133a();import a133e from'path';import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator['create']({'name':'package','aliases':['p'],'usage':'maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','shortDesc':a133p(0x93),'validOpts':[a133p(0xac)],'examples':[a133p(0x97)]},async function(a,b){const q=a133p,c=paramCase(b[q(0xa3)]),d=b['dir']?'/'+b[q(0xac)]+'/':'/',e=this[q(0xb0)]['pathFromApp']({'pathParts':['packages',d,c]}),f=this['scaffold'][q(0xa2)]({'pathParts':[q(0x98),d,c,q(0xb7)]}),g=await this[q(0xba)][q(0x9d)](),h={'name':paramCase(b[q(0xa3)]),'myPath':a133e[q(0xa9)](this[q(0xb8)]['findProjectDirectory'](),e),'cssCaseName':paramCase(b[q(0xa3)]),'className':pascalCase(b[q(0xa3)]),'camelCaseName':camelCase(b[q(0xa3)]),'fileName':c,'client':g[q(0xb5)][q(0xab)],'graphql':g['engines'][q(0xae)],'ssr':g['engines']['ssr'],'isComponent':b[q(0xb2)]('component'),'isLayout':b[q(0xb2)](q(0x9b)),'isStore':b[q(0xb2)](q(0xaa)),'features':g[q(0x92)],'noRename':!![],'theme':g['engines'][q(0xbd)]};await this[q(0xb0)][q(0x9c)]({'srcPath':q(0xa0),'destPath':f,'context':h,'config':g}),h[q(0x91)]=![];const i=e+q(0xa1)+c+q(0xbc);await this[q(0xb0)][q(0x9c)]({'srcPath':'template/template.js','destPath':i,'context':h,'config':g});const j=[q(0xa6),q(0x99),'tests/client',q(0xa5)];for(const k of j){const l=e+'/'+k+'/'+c+q(0xbc);await this[q(0xb0)][q(0x9c)]({'srcPath':q(0xa7)+k+'/package.js','destPath':l,'context':h,'config':g});}});
|