@maka/maka-cli 5.0.14 → 5.0.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/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
|
|
1
|
+
(function(a,b){var f=a117d,c=a();while(!![]){try{var d=-parseInt(f(0x185))/0x1*(parseInt(f(0x181))/0x2)+-parseInt(f(0x180))/0x3+-parseInt(f(0x18b))/0x4+-parseInt(f(0x186))/0x5+-parseInt(f(0x189))/0x6+-parseInt(f(0x18a))/0x7+parseInt(f(0x188))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0xbaebe));var a117b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a117d;if(c){var e=c[g(0x184)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){var h=a117d;return a117a[h(0x187)]()[h(0x183)](h(0x182))['toString']()['constructor'](a117a)[h(0x183)](h(0x182));});a117a();function a117d(a,b){var c=a117c();return a117d=function(d,e){d=d-0x180;var f=c[d];return f;},a117d(a,b);}import'./kit.js';function a117c(){var i=['2011962YsHbjC','4319553UvVFKo','2516LYDcqD','2697147JcUzVG','2811718owiAhY','(((.+)+)+)+$','search','apply','1mPEBfe','7472265PEMmpC','toString','44144208NreffR'];a117c=function(){return i;};return a117c();}import'./mui/_index.js';import'./esri/_index.js';import'./auth/_index.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a118c(){var i=['5sHvbGl','8tHvkwH','232040DZRNuo','462148zMLhia','1554456LRhbbU','constructor','search','toString','901773PVoTPX','2615770GbGZcd','apply','(((.+)+)+)+$','42LBPjmg','2583091SezkKX','11GUGZId','28874aKJoWf'];a118c=function(){return i;};return a118c();}(function(a,b){var f=a118d,c=a();while(!![]){try{var d=parseInt(f(0x1d6))/0x1+parseInt(f(0x1e3))/0x2*(-parseInt(f(0x1e0))/0x3)+parseInt(f(0x1d7))/0x4*(parseInt(f(0x1e4))/0x5)+parseInt(f(0x1d8))/0x6+-parseInt(f(0x1e1))/0x7*(parseInt(f(0x1d5))/0x8)+-parseInt(f(0x1dc))/0x9+-parseInt(f(0x1dd))/0xa*(-parseInt(f(0x1e2))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0x30126));var a118b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a118d;if(c){var e=c[g(0x1de)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){var h=a118d;return a118a[h(0x1db)]()[h(0x1da)]('(((.+)+)+)+$')[h(0x1db)]()[h(0x1d9)](a118a)['search'](h(0x1df));});function a118d(a,b){var c=a118c();return a118d=function(d,e){d=d-0x1d5;var f=c[d];return f;},a118d(a,b);}a118a();import'./auth.generator.js';import'./provider.auth.gen.js';import'./basic-meteor.auth.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a119i=a119d;
|
|
1
|
+
const a119i=a119d;(function(a,b){const f=a119d,c=a();while(!![]){try{const d=parseInt(f(0x138))/0x1+parseInt(f(0x132))/0x2+-parseInt(f(0x128))/0x3+-parseInt(f(0x129))/0x4+-parseInt(f(0x134))/0x5*(-parseInt(f(0x12b))/0x6)+parseInt(f(0x12d))/0x7*(parseInt(f(0x12f))/0x8)+parseInt(f(0x136))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0xd861f));function a119d(a,b){const c=a119c();return a119d=function(d,e){d=d-0x128;let f=c[d];return f;},a119d(a,b);}const a119b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a119d;if(c){const e=c[g(0x133)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){const h=a119d;return a119a[h(0x135)]()['search'](h(0x13a))[h(0x135)]()[h(0x139)](a119a)[h(0x12c)]('(((.+)+)+)+$');});a119a();import{Generator}from'../../../generator.js';import a119e from'../kit.js';const AuthGen=Generator[a119i(0x12e)]({'name':a119i(0x137),'aliases':['a'],'usage':a119i(0x131),'noNeedResource':!![],'shortDesc':'Starting\x20point\x20for\x20generating\x20an\x20Auth\x20Provider','validOpts':[''],'isPro':!![],'examples':[a119i(0x12a)],'description':a119i(0x130)},async function(){throw'NIE';},async function(){},a119e);export default AuthGen;function a119c(){const j=['200jhqXLJ','toString','8788572aUisFx','auth','309768csmblc','constructor','(((.+)+)+)+$','573528xJWDVS','5158116wSJCfZ','maka\x20g:kit:a','24702Vlronh','search','35NFemCz','create','1296216njkhxm','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x20\x20','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:<kit-name>','211834MTCKQC','apply'];a119c=function(){return j;};return a119c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a120r=a120d;function a120c(){const t=['51170NABrYx','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','authentication-service','export\x20const\x20AuthProvider','auth/roles','852898IJOePb','useTracker','(((.+)+)+)+$','/imports/startup/client','6hOvITL','\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','kit/auth/service/meteor-auth-service.js','injectIntoFile','207zqENkN','pathFromApp','meteor/accounts-base','Accounts','react','toString','/imports/startup/lib/authentication-service','263500gfALaL','718548WLgPWE','meteor/maka:react-tracker','5oTaZCs','server','AuthService','\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20If\x20logged\x20in,\x20return\x20documents\x20owned\x20by\x20this\x20user.\x20Otherwise\x20return\x20nothing.\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(this.userId)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20Meteor.roleAssignment.find({\x20\x27user._id\x27:\x20this.userId\x20});\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20[];\x0a\x20\x20\x20\x20\x20\x20','create','index','cfg','REACT','1331548FwEtnO','findProjectDirectory','exit','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','\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','constructor','injectIntoCodeBlock','publish','kit:auth:provider','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','/imports/startup/lib','const\x20authenticateToken','ssr','force','1168XSfkfy','\x0a\x20\x20\x20\x20\x20\x20WebAppInternals.setInlineScriptsAllowed(false);\x0a\x0a\x20\x20\x20\x20\x20\x20Accounts.urls.resetPassword\x20=\x20function\x20(token)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20Meteor.absoluteUrl(\x27reset-password/\x27\x20+\x20token);\x0a\x20\x20\x20\x20\x20\x20};\x0a\x20\x20\x20\x20\x20\x20','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','alanning:roles','Meteor.publish','true','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','const\x20sendForgotPasswordEmail','apply','checkMeteorPackage','scaffold','743892ezhgXM','Meteor','/imports/startup/client/authentication-service','meteor/meteor','621564ySeTeN','startup','injectImport','return\x20\x5c(','search','error','imports','engines','pkg','processAndRunGenerator','\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','110hTgTXJ'];a120c=function(){return t;};return a120c();}(function(a,b){const o=a120d,c=a();while(!![]){try{const d=parseInt(o(0x22c))/0x1+-parseInt(o(0x21c))/0x2+parseInt(o(0x220))/0x3*(parseInt(o(0x1ee))/0x4)+-parseInt(o(0x22e))/0x5*(parseInt(o(0x20b))/0x6)+parseInt(o(0x217))/0x7*(parseInt(o(0x1fc))/0x8)+parseInt(o(0x224))/0x9*(-parseInt(o(0x22b))/0xa)+-parseInt(o(0x216))/0xb*(parseInt(o(0x207))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0xa9d1b));const a120b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a120d;if(c){const e=c[p(0x204)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){const q=a120d;return a120a[q(0x229)]()[q(0x20f)]('(((.+)+)+)+$')['toString']()[q(0x1f3)](a120a)['search'](q(0x21e));});a120a();function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0x1ea;let f=c[d];return f;},a120d(a,b);}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(0x1ea)]({'name':'meteor','aliases':['m'],'usage':a120r(0x1f1),'shortDesc':a120r(0x1f7),'validOpts':[a120r(0x1fb)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a120r(0x1ed)]},'description':a120r(0x215)},async function(a,b){const s=a120r;try{const c=b[s(0x1fb)]||![];await this[s(0x213)][s(0x205)](['accounts-password',s(0x1ff)],{'shouldInstall':!![]});const d=this['fsi'][s(0x1ef)](),f=await this[s(0x1ec)]['getMakaProjectConfig'](),g=f[s(0x212)][s(0x1fa)]===s(0x201);await a120f['processAndRunGenerator'](s(0x1f6),[],{'force':c,'cwd':d,'config':f});const h=await a120f[s(0x214)](s(0x1f5),[s(0x21b)],{'force':c,'globalPublish':!![],'cwd':d,'config':f}),i=g?s(0x1f8):s(0x21f),j=this['scaffold']['pathFromApp']({'pathParts':[i,'','',s(0x219)]});await this[s(0x206)]['template']({'srcPath':s(0x222),'destPath':j+'.js','framework':s(0x228),'context':{},'config':f,'force':c,'ignore':![]});const k=this[s(0x206)][s(0x225)]({'pathParts':[i,'','','authentication-provider']}),l=f[s(0x212)]['js'];await this[s(0x206)][s(0x20d)]({'filePath':k+'.'+l,'importName':s(0x230),'modulePath':g?s(0x22a):s(0x209),'isNamedExport':![]}),await this['scaffold'][s(0x1f4)]({'filePath':k+'.'+l,'content':s(0x1f2),'begin':'const\x20authenticateUser','replace':!![]}),await this[s(0x206)]['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(0x1f9),'replace':!![]}),await this[s(0x206)][s(0x1f4)]({'filePath':k+'.'+l,'content':s(0x221),'begin':'const\x20getUserAuthorizations','replace':!![]}),await this[s(0x206)][s(0x1f4)]({'filePath':k+'.'+l,'content':s(0x1fe),'begin':'const\x20deauthenticateUser','replace':!![]}),await this[s(0x206)]['injectIntoCodeBlock']({'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(0x203),'replace':!![]}),await this[s(0x206)][s(0x1f4)]({'filePath':k+'.'+l,'content':s(0x202),'begin':'const\x20registerNewUser','replace':!![]}),await this[s(0x206)]['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':s(0x218),'begin':'const\x20resetPasswordWithToken','replace':!![]});g&&(await this['scaffold'][s(0x20d)]({'filePath':k+'.'+l,'importName':s(0x21d),'modulePath':s(0x22d),'isNamedExport':!![]}),await this[s(0x206)][s(0x223)]({'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':s(0x21a),'end':s(0x20e)}));await this[s(0x206)][s(0x20d)]({'filePath':h,'importName':s(0x208),'modulePath':s(0x20a),'isNamedExport':!![],'injectAtStart':!![]}),await this['scaffold']['injectIntoCodeBlock']({'filePath':h,'content':s(0x231),'begin':s(0x200),'replace':!![]});const m=this['scaffold'][s(0x225)]({'pathParts':[s(0x211),s(0x20c),s(0x22f),s(0x1eb)]});await this[s(0x206)][s(0x20d)]({'filePath':m+'.'+l,'importName':s(0x227),'modulePath':s(0x226),'isNamedExport':!![]}),await this[s(0x206)]['injectIntoCodeBlock']({'filePath':m+'.'+l,'content':s(0x1fd),'begin':'Meteor.startup','replace':!![]});}catch(n){Log[s(0x210)](n),process[s(0x1f0)](0x1);}},async function(){},a120e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a121w=a121d;
|
|
1
|
+
const a121w=a121d;(function(a,b){const u=a121d,c=a();while(!![]){try{const d=-parseInt(u(0x168))/0x1+parseInt(u(0x17b))/0x2*(parseInt(u(0x180))/0x3)+-parseInt(u(0x173))/0x4+parseInt(u(0x16f))/0x5+-parseInt(u(0x17d))/0x6*(parseInt(u(0x183))/0x7)+parseInt(u(0x185))/0x8*(-parseInt(u(0x172))/0x9)+parseInt(u(0x186))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0x691aa));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['toString']()['search']('(((.+)+)+)+$')[v(0x192)]()[v(0x181)](a121a)['search'](v(0x16a));});a121a();function a121c(){const y=['/imports/startup/lib/authentication-provider','/imports/startup/server/index','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','injectAroundString','52WblLTX','react','7458LiCbng','ssr','true','15231wCENLI','constructor','injectIntoCodeBlock','2079NqSnhv','const\x20useAuth','56cUsGFy','9031190ExGifT','REACT','AuthProvider','\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','split','cfg','</AuthProvider>','kit/auth/provider/authentication-provider.js','/routes','exit','template','<AppRoutes\x20/>','toString','/imports/startup/client/authentication-provider','<AuthProvider>','bright','scaffold','authentication-provider','engines','65775xrSixF','function\x20useAuth','(((.+)+)+)+$','create','/imports/startup/client','appName','replaceAll','2369280pDsLjF','/imports/startup/lib','\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','516906LIaaat','965948NNZVCt','injectImport','pathFromApp','force'];a121c=function(){return y;};return a121c();}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';function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0x168;let f=c[d];return f;},a121d(a,b);}Generator[a121w(0x16b)]({'name':'provider','aliases':['p'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','shortDesc':a121w(0x179),'validOpts':[a121w(0x176)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a121w(0x187)]},'description':a121w(0x171)},async function(a,b){const x=a121w;try{const c=b[x(0x176)]||![];Log[x(0x195)]('Creating\x20an\x20AuthProvider\x20and\x20AuthContext');const d=await this[x(0x18b)]['getMakaProjectConfig'](),f=d[x(0x198)][x(0x17e)]===x(0x17f),g={'name':headerCase(d[x(0x16d)])[x(0x16e)]('-','\x20')},h=f?x(0x170):x(0x16c),i=this['scaffold'][x(0x175)]({'pathParts':[h,'','',x(0x197)]});await this[x(0x196)][x(0x190)]({'srcPath':x(0x18d),'destPath':i+'.js','framework':x(0x17c),'context':g,'config':d,'force':c,'ignore':![]});const j=d[x(0x198)]['js'],k=h+x(0x18e),l=k[x(0x18a)]('/'),m=this['scaffold']['pathFromApp']({'pathParts':l});await this[x(0x196)][x(0x174)]({'filePath':m+'.'+j,'importName':'AuthContext','modulePath':f?x(0x177):'/imports/startup/client/authentication-provider','isNamedExport':!![]}),await this[x(0x196)][x(0x174)]({'filePath':m+'.'+j,'importName':'useContext','modulePath':x(0x17c),'isNamedExport':!![],'injectAtStart':!![]}),await this[x(0x196)][x(0x182)]({'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':[x(0x184),x(0x169)],'replace':!![]}),await this[x(0x196)][x(0x182)]({'filePath':m+'.'+j,'content':x(0x189),'begin':['const\x20PrivateRoute'],'replace':!![]});const n='/imports/startup/client/index',o=n['split']('/'),p=this['scaffold'][x(0x175)]({'pathParts':o});await this[x(0x196)]['injectImport']({'filePath':p+'.'+j,'importName':x(0x188),'modulePath':f?x(0x177):'/imports/startup/client/authentication-provider','isNamedExport':!![]}),await this[x(0x196)][x(0x17a)]({'filePath':p+'.'+j,'aboveContent':x(0x194),'belowContent':x(0x18c),'targetString':x(0x191),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q=x(0x178),r=q[x(0x18a)]('/'),s=this[x(0x196)]['pathFromApp']({'pathParts':r});await this[x(0x196)]['injectImport']({'filePath':s+'.'+j,'importName':x(0x188),'modulePath':f?'/imports/startup/lib/authentication-provider':x(0x193),'isNamedExport':!![]}),await this[x(0x196)]['injectAroundString']({'filePath':s+'.'+j,'aboveContent':'<AuthProvider>','belowContent':x(0x18c),'targetString':x(0x191),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log['error'](t),process[x(0x18f)](0x1);}},async function(){},a121e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a122d,c=a();while(!![]){try{var d=parseInt(f(
|
|
1
|
+
(function(a,b){var f=a122d,c=a();while(!![]){try{var d=parseInt(f(0x76))/0x1+parseInt(f(0x73))/0x2+-parseInt(f(0x6e))/0x3*(-parseInt(f(0x79))/0x4)+-parseInt(f(0x74))/0x5+-parseInt(f(0x72))/0x6+-parseInt(f(0x71))/0x7*(parseInt(f(0x75))/0x8)+-parseInt(f(0x6f))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0xdb83e));var a122b=(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;};}()),a122a=a122b(this,function(){var g=a122d;return a122a['toString']()[g(0x77)](g(0x78))[g(0x70)]()['constructor'](a122a)[g(0x77)](g(0x78));});a122a();function a122d(a,b){var c=a122c();return a122d=function(d,e){d=d-0x6e;var f=c[d];return f;},a122d(a,b);}function a122c(){var h=['search','(((.+)+)+)+$','60ceFyRP','331623DAWclL','5554116ALwQzL','toString','637LKGECo','8372250qGnLio','3323760RgCzOv','4439745ruyXRB','16712yodqlb','669686tXIicu'];a122c=function(){return h;};return a122c();}import'./esri.generator.js';import'./map.esri.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a123i=a123d;(function(a,b){const f=a123d,c=a();while(!![]){try{const d
|
|
1
|
+
const a123i=a123d;(function(a,b){const f=a123d,c=a();while(!![]){try{const d=-parseInt(f(0x9f))/0x1*(parseInt(f(0x9d))/0x2)+-parseInt(f(0x9b))/0x3*(parseInt(f(0xa0))/0x4)+parseInt(f(0xa5))/0x5*(-parseInt(f(0xab))/0x6)+-parseInt(f(0xa7))/0x7+parseInt(f(0xa1))/0x8+-parseInt(f(0xa9))/0x9+parseInt(f(0x9c))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0xe36a4));const a123b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a123d;if(c){const e=c[g(0xa4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){const h=a123d;return a123a[h(0xac)]()[h(0xa6)](h(0xa2))[h(0xac)]()['constructor'](a123a)[h(0xa6)]('(((.+)+)+)+$');});function a123d(a,b){const c=a123c();return a123d=function(d,e){d=d-0x9a;let f=c[d];return f;},a123d(a,b);}a123a();import{Generator}from'../../../generator.js';import a123e from'../kit.js';function a123c(){const k=['65010870YcQTlD','2SXClsJ','/foo/bar','1561597bqdokr','8eQgtzW','2788528aQIYXR','(((.+)+)+)+$','esri','apply','724905hpkaha','search','6423970JTtLEX','/foo','13930128rqHUNq','create','72JhsDuq','toString','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','maka\x20g:kit:e','\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','226935uOIClL'];a123c=function(){return k;};return a123c();}const EsriGen=Generator[a123i(0xaa)]({'name':a123i(0xa3),'aliases':['e'],'usage':a123i(0xad),'noNeedResource':!![],'shortDesc':'Starting\x20point\x20for\x20generating\x20Esri\x20Maps','validOpts':[''],'isPro':!![],'examples':[a123i(0xae)],'description':a123i(0x9a)},async function(){const j=a123i;return{'success':!![],'message':'Esri\x20Kit\x20generated\x20successfully','details':{'filesCreated':[j(0x9e)],'filesUpdated':[j(0xa8)]}};},async function(){},a123e);export default EsriGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a124s=a124d;(function(a,b){const p=a124d,c=a();while(!![]){try{const d=parseInt(p(
|
|
1
|
+
const a124s=a124d;(function(a,b){const p=a124d,c=a();while(!![]){try{const d=parseInt(p(0x86))/0x1*(parseInt(p(0x8e))/0x2)+-parseInt(p(0x79))/0x3*(-parseInt(p(0x7a))/0x4)+-parseInt(p(0x87))/0x5*(-parseInt(p(0x9d))/0x6)+parseInt(p(0x94))/0x7+-parseInt(p(0x8d))/0x8+parseInt(p(0xa0))/0x9*(parseInt(p(0x9b))/0xa)+parseInt(p(0x77))/0xb*(-parseInt(p(0x92))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0x6929d));const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a124d;if(c){const e=c[q(0x9e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const r=a124d;return a124a['toString']()[r(0x7d)](r(0x82))[r(0x99)]()[r(0x8a)](a124a)['search'](r(0x82));});function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0x6b;let f=c[d];return f;},a124d(a,b);}a124a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';function a124c(){const u=['baseDir','exit','cfg','toString','/imports/startup/lib/templates','10oJrPLJ','getMakaProjectConfig','77046RoRmVf','apply','bright','2877309GODDha','pathFromApp','create','split','findProjectDirectory','true','/imports/startup/client/templates','react','/imports/ui/hooks','dir','@esri/react-arcgis','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','map','template','92818dBqwGE','checkNpmPackage','3438UqTNLK','924lZrWKN','scaffold','<div\x20id=\x22map\x22>','search','.js','injectIntoFile','appName','page','(((.+)+)+)+$','kit/esri/map/','injectTemplateModule','ssr','70292aXrHAI','230sbBIdU','</div>','replaceAll','constructor','basic-map','fsi','1299096askfHG','18yXkpdb','/imports/ui/','FALSE','processAndRunGenerator','1848rBJftz','injectImport','593929GJfkVo','esri-loader'];a124c=function(){return u;};return a124c();}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';Generator[a124s(0x6b)]({'name':a124s(0x75),'aliases':['m'],'usage':a124s(0x74),'shortDesc':'Generate\x20an\x20Esri\x20map\x20component','validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines['REACT'],'ssr':SsrEngines[a124s(0x90)]},'description':'\x0a\x20\x20\x20\x20This\x20generator\x20will\x20create\x20a\x20map\x20component\x20in\x20the\x20/imports/ui/hooks\x20directory.\x0a\x0a\x20\x20\x20\x20It\x27ll\x20also\x20create\x20a\x20page\x20component\x20in\x20the\x20/imports/ui/pages/map\x20directory.\x0a\x0a\x20\x20\x20\x20The\x20map\x20component\x20will\x20be\x20named\x20\x27BasicMap\x27\x20by\x20default.\x0a\x0a\x20\x20'},async function(a,b){const t=a124s;try{Log[t(0x9f)]('Generating\x20a\x20map\x20component');const c=t(0x8b);await this['pkg'][t(0x78)]([t(0x73),t(0x95)],{'shouldInstall':!![]});const d=this[t(0x8c)][t(0x6d)](),f=await this[t(0x98)][t(0x9c)](),g=f['engines'][t(0x85)]===t(0x6e),h=await a124f[t(0x91)](t(0x81),[t(0x75)],{'cwd':d,'config':f}),i={'name':headerCase(f[t(0x80)])[t(0x89)]('-','\x20'),'componentName':pascalCase(c)},j=b[t(0x96)]?t(0x8f)+b['baseDir']:t(0x71),k=this[t(0x7b)][t(0xa1)]({'pathParts':[j,b[t(0x72)],paramCase(c),paramCase(c)]});await this[t(0x7b)][t(0x76)]({'srcPath':t(0x83)+c+t(0x7e),'destPath':k+'.js','framework':t(0x70),'context':i,'config':f,'force':![],'ignore':![]});const l=''+j+b[t(0x72)]+'/'+c+'/'+c;await this['scaffold'][t(0x84)](c,f,l);const m=h[t(0x6c)]('/'),n=this[t(0x7b)][t(0xa1)]({'pathParts':m});await this[t(0x7b)][t(0x93)]({'filePath':n,'importName':pascalCase(c),'modulePath':g?t(0x9a):t(0x6f),'isNamedExport':!![]}),await this[t(0x7b)][t(0x7f)]({'filePath':n,'content':'\x0a<'+pascalCase(c)+'\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','begin':[t(0x7c),t(0x7c)],'end':[t(0x88)],'replace':!![]});}catch(o){Log['error'](o),process[t(0x97)](0x1);}},async function(){},a124e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a125h=a125d;function a125d(a,b){const c=a125c();return a125d=function(d,e){d=d-0xdc;let f=c[d];return f;},a125d(a,b);}(function(a,b){const f=a125d,c=a();while(!![]){try{const d=-parseInt(f(0xe5))/0x1+parseInt(f(0xed))/0x2*(-parseInt(f(0xe2))/0x3)+-parseInt(f(0xe8))/0x4*(-parseInt(f(0xea))/0x5)+parseInt(f(0xe0))/0x6*(-parseInt(f(0xe1))/0x7)+parseInt(f(0xe9))/0x8*(-parseInt(f(0xdd))/0x9)+parseInt(f(0xe3))/0xa+parseInt(f(0xe6))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0x6cf36));const a125b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){const g=a125d;return a125a['toString']()['search']('(((.+)+)+)+$')[g(0xdc)]()[g(0xe7)](a125a)[g(0xeb)]('(((.+)+)+)+$');});a125a();function a125c(){const i=['search','kit','306044dLftrV','toString','9315BKndaB','Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','create','1044EVnzid','9842plcWMF','15fgKAkq','4058660qfULoS','maka\x20g:kit','223105wxampj','16364502lmwsMh','constructor','1046692EJrzUu','3680DQZlsw','5BgbVud'];a125c=function(){return i;};return a125c();}import{Generator}from'../../generator.js';const KitGen=Generator[a125h(0xdf)]({'name':a125h(0xec),'aliases':['k'],'usage':'maka\x20{generate,\x20g}:{kit}\x20<name>','shortDesc':a125h(0xde),'minArgLength':0x1,'isPro':!![],'validOpts':[],'noNeedResource':!![],'examples':[a125h(0xe4),'maka\x20g:k']},async function(){});export default KitGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(a,b){var f=a126d,c=a();while(!![]){try{var d=parseInt(f(0x1e6))/0x1+-parseInt(f(0x1e2))/0x2*(-parseInt(f(0x1e0))/0x3)+parseInt(f(0x1e7))/0x4*(-parseInt(f(0x1ea))/0x5)+parseInt(f(0x1e1))/0x6*(parseInt(f(0x1de))/0x7)+-parseInt(f(0x1e3))/0x8+-parseInt(f(0x1dc))/0x9+-parseInt(f(0x1db))/0xa*(-parseInt(f(0x1e4))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0x8c593));var a126b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a126d;if(c){var e=c[g(0x1df)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){var h=a126d;return a126a[h(0x1e9)]()[h(0x1e8)](h(0x1dd))['toString']()[h(0x1e5)](a126a)[h(0x1e8)](h(0x1dd));});a126a();import'./mui.generator.js';function a126d(a,b){var c=a126c();return a126d=function(d,e){d=d-0x1db;var f=c[d];return f;},a126d(a,b);}import'./frame.mui.gen.js';import'./auth.mui.gen.js';function a126c(){var i=['49010ZkHLdG','9192699VdMRgW','(((.+)+)+)+$','66423vaRFJL','apply','12TFPBuw','438xxOTeA','219304XNJmvs','5749792PoeBSz','3751vjwOVo','constructor','310954kuSZIf','8dyEJOs','search','toString','1996245yguujS'];a126c=function(){return i;};return a126c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a127J=a127d;(function(a,b){const G=a127d,c=a();while(!![]){try{const d=-parseInt(G(
|
|
1
|
+
function a127d(a,b){const c=a127c();return a127d=function(d,e){d=d-0x193;let f=c[d];return f;},a127d(a,b);}const a127J=a127d;(function(a,b){const G=a127d,c=a();while(!![]){try{const d=-parseInt(G(0x19b))/0x1+parseInt(G(0x1d2))/0x2*(-parseInt(G(0x1bb))/0x3)+-parseInt(G(0x1ac))/0x4+parseInt(G(0x1ad))/0x5+-parseInt(G(0x196))/0x6+-parseInt(G(0x1a2))/0x7*(parseInt(G(0x1c5))/0x8)+-parseInt(G(0x1b1))/0x9*(-parseInt(G(0x193))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0xc93b6));function a127c(){const L=['20RCkYwr','toString','injectTemplateModule','2952312tDfmQh','apply','login','basic-logout-page','layouts','942355QGRSSX','kit/mui/auth/logout/','/imports/startup/client/authentication-provider','engines','injectImport','/imports/ui/pages/auth','logout','4554487oTLvNm','Custom\x20(roll\x20your\x20own)','scaffold','dir','pathFromApp','true','REACT','route','Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','cfg','4025424mKXqWJ','2360100JgYhUj','/imports/startup/lib/authentication-provider','kit:auth:meteor','processAndRunGenerator','21064437pYiAiM','getMakaProjectConfig','basic-password-reset-page','kit/mui/auth/register/','basic-login-page','ssr','/imports/ui/','Meteor\x20Accounts','meteor','basic-forgot-password-page','6495zBHcaP','appName','maka\x20generate:kit:mui:frame','register','.js','split','reset-password/:token','kit:auth:provider','kit/mui/auth/password-reset/','constructor','16uwNyWy','basic-register-page','replaceAll','custom','(((.+)+)+)+$','What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','template','force','error','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','kit/mui/auth/login/','AuthContext','kit/mui/auth/forgot-password/','542zZgyXV','options','findProjectDirectory','baseDir','react'];a127c=function(){return L;};return a127c();}const a127b=(function(){let a=!![];return function(b,c){const d=a?function(){const H=a127d;if(c){const e=c[H(0x197)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){const I=a127d;return a127a['toString']()['search'](I(0x1c9))[I(0x194)]()[I(0x1c4)](a127a)['search'](I(0x1c9));});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';import a127f from'./mui.generator.js';import{paramCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':'auth','aliases':['a'],'usage':a127J(0x1ce),'shortDesc':a127J(0x1aa),'validOpts':[a127J(0x19a),a127J(0x1cc)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines['MATERIAL'],'client':ClientEngines[a127J(0x1a8)]},'examples':[a127J(0x1bd),'maka\x20g:k:m:f'],'description':'\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20'},async function(a,b){const K=a127J;try{const c=b[K(0x1cc)]||![],d=this['fsi'][K(0x1d4)](),f=await this[K(0x1ab)][K(0x1b2)](),{authType:g}=await Actions[K(0x1d3)]({'type':'list','name':'authType','message':K(0x1ca),'choices':[{'name':K(0x1b8),'value':K(0x1b9)},{'name':K(0x1a3),'value':K(0x1c8)}]}),h=K(0x1b5),i=K(0x199),j=K(0x1c6),k=K(0x1b3),l='basic-forgot-password-page',m=b[K(0x1d5)]?K(0x1b7)+b['baseDir']:K(0x1a0),n=this['scaffold'][K(0x1a6)]({'pathParts':[m,b['dir'],paramCase(h),paramCase(h)]}),o=this['scaffold'][K(0x1a6)]({'pathParts':[m,b['dir'],paramCase(i),paramCase(i)]}),p=this['scaffold']['pathFromApp']({'pathParts':[m,b[K(0x1a5)],paramCase(j),paramCase(j)]}),q=this[K(0x1a4)][K(0x1a6)]({'pathParts':[m,b[K(0x1a5)],paramCase(k),paramCase(k)]}),r=this[K(0x1a4)][K(0x1a6)]({'pathParts':[m,b['dir'],paramCase(l),paramCase(l)]}),s={'name':headerCase(f[K(0x1bc)])[K(0x1c7)]('-','\x20')};await this['scaffold'][K(0x1cb)]({'srcPath':K(0x1cf)+h+'.js','destPath':n+K(0x1bf),'framework':'react','context':s,'config':f,'force':c,'ignore':![]}),await this[K(0x1a4)][K(0x1cb)]({'srcPath':K(0x19c)+i+K(0x1bf),'destPath':o+K(0x1bf),'framework':K(0x1d6),'context':s,'config':f,'force':c,'ignore':![]}),await this[K(0x1a4)][K(0x1cb)]({'srcPath':K(0x1b4)+j+'.js','destPath':p+K(0x1bf),'framework':K(0x1d6),'context':s,'config':f,'force':c,'ignore':![]}),await this[K(0x1a4)][K(0x1cb)]({'srcPath':K(0x1c3)+k+K(0x1bf),'destPath':q+K(0x1bf),'framework':K(0x1d6),'context':s,'config':f,'force':c,'ignore':![]}),await this[K(0x1a4)][K(0x1cb)]({'srcPath':K(0x1d1)+l+'.js','destPath':r+K(0x1bf),'framework':K(0x1d6),'context':s,'config':f,'force':c,'ignore':![]});const t=''+m+b[K(0x1a5)]+'/'+h+'/'+h;await this[K(0x1a4)][K(0x195)](h,f,t);const u=''+m+b[K(0x1a5)]+'/'+i+'/'+i;await this['scaffold'][K(0x195)](i,f,u);const v=''+m+b[K(0x1a5)]+'/'+j+'/'+j;await this[K(0x1a4)]['injectTemplateModule'](j,f,v);const w=''+m+b[K(0x1a5)]+'/'+k+'/'+k;await this['scaffold'][K(0x195)](k,f,w);const x=''+m+b[K(0x1a5)]+'/'+l+'/'+l;await this[K(0x1a4)]['injectTemplateModule'](l,f,x),await a127e['processAndRunGenerator']('route',[K(0x1b5)],{'route':K(0x198),'cwd':d,'config':f}),await a127e[K(0x1b0)](K(0x1a9),[K(0x199)],{'route':K(0x1a1),'private':!![],'cwd':d,'config':f}),await a127e[K(0x1b0)](K(0x1a9),[K(0x1c6)],{'route':K(0x1be),'cwd':d,'config':f}),await a127e['processAndRunGenerator'](K(0x1a9),['basic-password-reset-page'],{'route':K(0x1c1),'cwd':d,'config':f}),await a127e[K(0x1b0)]('route',[K(0x1ba)],{'route':'forgot-password','cwd':d,'config':f});g===K(0x1b9)&&await a127e[K(0x1b0)](K(0x1af),[],{'force':c,'cwd':d,'config':f});g==='custom'&&await a127e[K(0x1b0)](K(0x1c2),[],{'force':c,'cwd':d,'config':f});const y=f[K(0x19e)][K(0x1b6)]===K(0x1a7),z=f['engines']['js'],A=this[K(0x1a4)][K(0x1a6)]({'pathParts':t[K(0x1c0)]('/')});await this[K(0x1a4)][K(0x19f)]({'filePath':A+'.'+z,'importName':K(0x1d0),'modulePath':y?'/imports/startup/lib/authentication-provider':K(0x19d),'isNamedExport':!![]});const B=this[K(0x1a4)][K(0x1a6)]({'pathParts':u[K(0x1c0)]('/')});await this[K(0x1a4)][K(0x19f)]({'filePath':B+'.'+z,'importName':K(0x1d0),'modulePath':y?K(0x1ae):'/imports/startup/client/authentication-provider','isNamedExport':!![]});const C=this[K(0x1a4)][K(0x1a6)]({'pathParts':v[K(0x1c0)]('/')});await this[K(0x1a4)]['injectImport']({'filePath':C+'.'+z,'importName':K(0x1d0),'modulePath':y?K(0x1ae):K(0x19d),'isNamedExport':!![]});const D=this['scaffold']['pathFromApp']({'pathParts':w[K(0x1c0)]('/')});await this[K(0x1a4)][K(0x19f)]({'filePath':D+'.'+z,'importName':K(0x1d0),'modulePath':y?K(0x1ae):K(0x19d),'isNamedExport':!![]});const E=this['scaffold'][K(0x1a6)]({'pathParts':x[K(0x1c0)]('/')});await this[K(0x1a4)][K(0x19f)]({'filePath':E+'.'+z,'importName':'AuthContext','modulePath':y?K(0x1ae):K(0x19d),'isNamedExport':!![]});}catch(F){Log[K(0x1cd)](F);}},async function(){console['log']('Cleaning\x20up...');},a127f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a128E=a128d;function a128c(){const H=['baseDir','<Outlet\x20/>','scaffold','toString','basic-app-bar','<Outlet/>','test','injectTemplateModule','engines','\x20/>\x0a','getDirectories','28ZctCTh','template','session','kit/mui/frame/footers/','/imports/ui/','getFiles','19aLHrGp','injectIntoFile','checkMeteorPackage','replaceAll','@mui/material/Container','/imports/startup/lib/templates','cfg','pkg','(((.+)+)+)+$','getMakaProjectConfig','force','tsx','MATERIAL','243590baameI','maka:react-tracker','tests','layouts','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f}','14177512aIdjNX','</div>','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20frame\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','Cleaning\x20up...','basic-sticky-footer','react','dir','apply','@mui/material/Box','780xzpnLU','9TnFANo','21385380kMGcDO','/imports/ui/components','length','kit/mui/frame/app-bars/','-hook\x22>','checkbox','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','.js','pathFromApp','jsx','search','1624629YyxXXQ','<div\x20id=\x22','appName','injectImport','Container','join','error','/imports/startup/client/templates','injectAroundString','maka\x20g:k:m:f','kit/mui/frame/drawers/','1670676DDmOdQ','constructor','6968395kmEJhm','REACT'];a128c=function(){return H;};return a128c();}(function(a,b){const B=a128d,c=a();while(!![]){try{const d=parseInt(B(0xdb))/0x1*(parseInt(B(0xf6))/0x2)+-parseInt(B(0x103))/0x3+-parseInt(B(0xd5))/0x4*(-parseInt(B(0xe8))/0x5)+-parseInt(B(0x10e))/0x6+parseInt(B(0x110))/0x7+parseInt(B(0xed))/0x8*(-parseInt(B(0xf7))/0x9)+parseInt(B(0xf8))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0xd95a9));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){const C=a128d;if(c){const e=c[C(0xf4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const D=a128d;return a128a[D(0x115)]()[D(0x102)](D(0xe3))['toString']()[D(0x10f)](a128a)[D(0x102)](D(0xe3));});a128a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0xd2;let f=c[d];return f;},a128d(a,b);}import a128e from'path';import a128f from'./mui.generator.js';import{paramCase,pascalCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':'frame','aliases':['f'],'usage':a128E(0xec),'shortDesc':'Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','validOpts':['layouts',a128E(0x112),'dir',a128E(0xe5)],'isPro':![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a128E(0xe7)],'client':ClientEngines[a128E(0x111)]},'examples':['maka\x20generate:kit:mui:frame',a128E(0x10c)],'description':a128E(0xef)},async function(a,b){const F=a128E;try{const c=b[F(0xe5)]||![],d=F(0x116),f='basic-drawer',g=F(0xf1),h=await this[F(0xe1)][F(0xe4)](),i=h[F(0xd2)]['ssr']==='true';await this[F(0xe2)][F(0xdd)]([F(0xd7),F(0xe9)],{'shouldInstall':!![]});const j=this['fsi']['findAppDirectory'](),k=a128e[F(0x108)](j,'imports','ui','layouts'),l=this['fsi'][F(0xd4)](k),m=await Actions['options']({'type':F(0xfd),'name':F(0xeb),'message':F(0xfe),'choices':l});if(m[F(0xeb)][F(0xfa)]===0x0){Log[F(0x109)]('No\x20layouts\x20selected');return;}const n=b[F(0x112)]?F(0xd9)+b[F(0x112)]:F(0xf9),o=this[F(0x114)][F(0x100)]({'pathParts':[n,b[F(0xf3)],paramCase(d),paramCase(d)]}),p=this[F(0x114)][F(0x100)]({'pathParts':[n,b['dir'],paramCase(f),paramCase(f)]}),q=this['scaffold'][F(0x100)]({'pathParts':[n,b[F(0xf3)],paramCase(g),paramCase(g)]}),r={'name':headerCase(h[F(0x105)])[F(0xde)]('-','\x20')};await this['scaffold'][F(0xd6)]({'srcPath':F(0xfb)+d+F(0xff),'destPath':o+F(0xff),'framework':F(0xf2),'context':r,'config':h,'force':c,'ignore':![]}),await this['scaffold']['template']({'srcPath':F(0x10d)+f+F(0xff),'destPath':p+F(0xff),'framework':'react','context':r,'config':h,'force':c,'ignore':![]}),await this[F(0x114)][F(0xd6)]({'srcPath':F(0xd8)+g+'.js','destPath':q+'.js','framework':F(0xf2),'context':r,'config':h,'force':c,'ignore':![]});const s=''+n+b['dir']+'/'+d+'/'+d;await this[F(0x114)][F(0x119)](d,h,s);const t=''+n+b[F(0xf3)]+'/'+f+'/'+f;await this['scaffold'][F(0x119)](f,h,t);const u=''+n+b[F(0xf3)]+'/'+g+'/'+g;await this[F(0x114)]['injectTemplateModule'](g,h,u);const {layouts:v}=m;for(const w of v){const x=this['fsi'][F(0xda)](a128e[F(0x108)](k,w),{'extensions':[F(0x101),F(0xe6)],'omit':['app-tests',F(0xea),F(0x118)]});for(const y of x){const z=a128e[F(0x108)](k,w,y);await this[F(0x114)]['injectImport']({'filePath':z,'importName':'Box','modulePath':F(0xf5),'isNamedExport':![]}),await this[F(0x114)][F(0x106)]({'filePath':z,'importName':F(0x107),'modulePath':F(0xdf),'isNamedExport':![]}),await this[F(0x114)][F(0x106)]({'filePath':z,'importName':pascalCase(d),'modulePath':i?F(0xe0):'/imports/startup/client/templates','isNamedExport':!![]}),await this['scaffold'][F(0xdc)]({'filePath':z,'content':'<'+pascalCase(d)+F(0xd3),'begin':[F(0x104)+w+'\x22>',F(0x104)+w+F(0xfc)],'end':[F(0x117),'<Outlet\x20/>']}),await this[F(0x114)][F(0x106)]({'filePath':z,'importName':pascalCase(f),'modulePath':i?F(0xe0):F(0x10a),'isNamedExport':!![]}),await this[F(0x114)]['injectIntoFile']({'filePath':z,'content':'<'+pascalCase(f)+F(0xd3),'begin':[F(0x104)+w+'\x22>',F(0x104)+w+'-hook\x22>'],'end':[F(0x117),F(0x113)]}),await this[F(0x114)][F(0xdc)]({'filePath':z,'content':'<'+pascalCase(g)+'\x20/>\x0a','begin':[F(0x117),F(0x113)],'end':[F(0xee)]}),await this[F(0x114)][F(0x106)]({'filePath':z,'importName':pascalCase(g),'modulePath':i?'/imports/startup/lib/templates':F(0x10a),'isNamedExport':!![]}),await this['scaffold'][F(0x10b)]({'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':'</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','targetString':[F(0x117),F(0x113)],'targetIndentAdjustment':0x6});}}}catch(A){Log[F(0x109)](A);}},async function(){const G=a128E;console['log'](G(0xf0));},a128f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a129i=a129d;(function(a,b){const g=a129d,c=a();while(!![]){try{const d
|
|
1
|
+
const a129i=a129d;(function(a,b){const g=a129d,c=a();while(!![]){try{const d=parseInt(g(0xd8))/0x1+-parseInt(g(0xe0))/0x2*(-parseInt(g(0xe4))/0x3)+parseInt(g(0xe6))/0x4+parseInt(g(0xe7))/0x5*(parseInt(g(0xd6))/0x6)+parseInt(g(0xd3))/0x7+-parseInt(g(0xc6))/0x8+-parseInt(g(0xe3))/0x9*(parseInt(g(0xe5))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0x21a45));const a129b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){const h=a129d;return a129a[h(0xd0)]()[h(0xca)](h(0xdc))['toString']()[h(0xce)](a129a)['search']('(((.+)+)+)+$');});function a129c(){const k=['create','Material-UI\x20Kit','search','processAndRunGenerator','\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','frame','constructor','mui','toString','kit:mui:auth','cfg','124936wvaFde','auth','kitChoices','324366FfMgpN','Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','110275wAOcjy','notice','maka\x20g:kit:m','findProjectDirectory','(((.+)+)+)+$','getMakaProjectConfig','length','checkbox','110438FuAZRc','Header,\x20Footer,\x20and\x20Drawer','Auth\x20workflow\x20(login,\x20logout,\x20etc.)','9eNkmhn','3cRupQv','4344790idTudW','1068440IanSKe','25NwTGwz','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','info','1187848tHfjiZ','Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!'];a129c=function(){return k;};return a129c();}a129a();function a129d(a,b){const c=a129c();return a129d=function(d,e){d=d-0xc6;let f=c[d];return f;},a129d(a,b);}import{Generator}from'../../../generator.js';import{Actions}from'../../../tools/actions/actions.class.js';import{Log}from'../../../tools/log/log.class.js';import a129e from'../../../generators/maka.gen.js';import a129f from'../kit.js';const MuiGen=Generator[a129i(0xc8)]({'name':a129i(0xcf),'aliases':['m'],'usage':a129i(0xe8),'noNeedResource':!![],'shortDesc':a129i(0xc9),'validOpts':[''],'isPro':!![],'examples':[a129i(0xda)]},async function(){const j=a129i;Log[j(0xe9)](j(0xc7)),Log[j(0xd9)](j(0xcc));const {kitChoices:a}=await Actions['options']({'type':j(0xdf),'name':j(0xd5),'message':j(0xd7),'choices':[{'name':j(0xe1),'value':j(0xcd)},{'name':j(0xe2),'value':'auth'}]}),b=this['fsi'][j(0xdb)](),c=this[j(0xd2)][j(0xdd)]();a['includes'](j(0xcd))&&await a129e['processAndRunGenerator']('kit:mui:frame',[],{'force':!![],'cwd':b,'config':c});a['includes'](j(0xd4))&&await a129e[j(0xcb)](j(0xd1),[],{'force':!![],'cwd':b,'config':c});if(a[j(0xde)]===0x0){Log['info']('No\x20MUI\x20kits\x20selected.\x20Exiting.');return;}},async function(){},a129f);export default MuiGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a130n=a130d;(function(a,b){const l=a130d,c=a();while(!![]){try{const d
|
|
1
|
+
const a130n=a130d;(function(a,b){const l=a130d,c=a();while(!![]){try{const d=-parseInt(l(0xae))/0x1*(-parseInt(l(0xac))/0x2)+parseInt(l(0xa2))/0x3*(-parseInt(l(0xb7))/0x4)+-parseInt(l(0xab))/0x5*(parseInt(l(0xa7))/0x6)+parseInt(l(0xa8))/0x7+parseInt(l(0xc3))/0x8+-parseInt(l(0xa0))/0x9+parseInt(l(0xb2))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0x64957));const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const m=a130d;return a130a[m(0xbb)]()['search']('(((.+)+)+)+$')[m(0xbb)]()['constructor'](a130a)[m(0xd7)](m(0xcf));});function a130c(){const p=['3UNRlKi','withTranslations','none','hook/hook.js','import\x20\x27./','164832cDgGhN','973581KPbmjw','string','test/test.js','85fXqfcW','17418yTTYHP','layout','5zgwxlP','template','withHook','ramda','16621640cgzLcK','css','react','maka\x20g:l\x20web/safari','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','3219492luVAat','setTemplate','fsi','dir','toString','className','graphql','.css','theme','/imports/ui/layouts','withHooks','ssr','843936sQivFN','engines','findProjectDirectory','template/template.css','client','installNpmPackage','checkNpmPackage','cfg','relative','Scaffolding\x20for\x20a\x20React\x20Layout.','features','component/component.js','(((.+)+)+)+$','resourceName','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','injectTemplateModule','warn','maka\x20g:layout\x20mobile/iPhone8','fileName','getMakaProjectConfig','search','api','split','pkg','scaffold','2397564LYHstH','test'];a130c=function(){return p;};return a130c();}a130a();function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0x9c;let f=c[d];return f;},a130d(a,b);}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['create']({'name':a130n(0xad),'aliases':aliases,'usage':a130n(0xb6),'shortDesc':a130n(0xcc),'validOpts':[a130n(0xb0)],'examples':[a130n(0xd4),a130n(0xb5)]},async function(a,b){const o=a130n,c=o(0xc0),d=this[o(0xb9)]['findAppDirectory'](),e=this[o(0x9f)]['pathFromApp']({'pathParts':[c,b[o(0xba)],paramCase(b[o(0xd0)]),paramCase(b['resourceName'])]}),f=await this['cfg'][o(0xd6)]();typeof f['template'][o(0xa1)]===o(0xa9)&&this[o(0xca)][o(0xb8)]('test',f[o(0xaf)][o(0xa1)]);typeof f[o(0xaf)][o(0xb3)]===o(0xa9)&&this['cfg'][o(0xb8)](o(0xb3),f[o(0xaf)]['css']);typeof f[o(0xaf)]['js']===o(0xa9)&&this[o(0xca)][o(0xb8)]('js',f[o(0xaf)]['js']);const g=b['_']?b['_'][0x0][o(0x9d)](':')[0x1]:![],h=b['_']&&aliases['includes'](g);h&&!this[o(0x9e)][o(0xc9)](o(0xb1))&&(Log[o(0xd3)]('Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...'),this['pkg'][o(0xc8)]('ramda',{'cwd':d}));if(h&&!this[o(0x9e)]['checkNpmPackage'](o(0xb4))){Log[o(0xd3)](o(0xd1));return;}const i={'name':pascalCase(b['resourceName']),'myPath':a130e[o(0xcb)](this['fsi'][o(0xc5)](),e),'cssCaseName':paramCase(b[o(0xd0)]),'className':pascalCase(b[o(0xd0)]),'camelCaseName':camelCase(b[o(0xd0)]),'fileName':paramCase(b['resourceName']),'graphql':f[o(0xc4)][o(0xbd)],'features':f['features'],'client':f['engines'][o(0xc7)],'api':f[o(0xc4)][o(0x9c)],'ssr':f[o(0xc4)][o(0xc2)],'test':f[o(0xc4)][o(0xa1)],'theme':f[o(0xc4)][o(0xbf)],'isComponent':![],'isLayout':!![],'withTranslations':f[o(0xcd)][o(0xa3)]};f[o(0xcd)]?.[o(0xc1)]||b[o(0xb0)]?await this[o(0x9f)]['template']({'srcPath':o(0xa5),'destPath':e+'.js','framework':o(0xb4),'context':i,'config':f}):await this['scaffold']['template']({'srcPath':o(0xce),'destPath':e+'.js','framework':'react','context':i,'config':f});f['engines'][o(0xa1)]!==o(0xa4)&&await this[o(0x9f)][o(0xaf)]({'srcPath':o(0xaa),'destPath':e+'.app-tests.js','framework':o(0xb4),'context':i,'config':f});f['template'][o(0xb3)]&&(await this[o(0x9f)][o(0xaf)]({'srcPath':o(0xc6),'destPath':e+o(0xbe),'context':Object['assign']({},i,{'className':paramCase(b[o(0xd0)])}),'config':f}),await this['scaffold']['injectAtBeginningOfFile']({'filePath':e+'.'+f['engines']['js'],'content':o(0xa6)+i[o(0xd5)]+'.'+f[o(0xc4)]['css']+'\x27;'}));const j=b[o(0xba)]?'/'+b[o(0xba)]+'/':'/',k=''+c+j+i[o(0xd5)]+'/'+i[o(0xd5)];await this[o(0x9f)][o(0xd2)](i[o(0xbc)],f,k);});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-
|
|
1
|
+
function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0xe6;let f=c[d];return f;},a131d(a,b);}const a131h=a131d;(function(a,b){const f=a131d,c=a();while(!![]){try{const d=-parseInt(f(0xef))/0x1*(parseInt(f(0xf1))/0x2)+-parseInt(f(0xf5))/0x3+parseInt(f(0xf3))/0x4+-parseInt(f(0xf8))/0x5*(parseInt(f(0xee))/0x6)+-parseInt(f(0xf7))/0x7+parseInt(f(0xf6))/0x8+parseInt(f(0xf2))/0x9*(parseInt(f(0xeb))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0x73434));const a131b=(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;};}()),a131a=a131b(this,function(){const g=a131d;return a131a[g(0xe8)]()[g(0xe6)](g(0xf0))[g(0xe8)]()['constructor'](a131a)[g(0xe6)](g(0xf0));});a131a();import{Generator}from'../generator.js';const MakaGen=new Generator({'name':'generate','aliases':['g'],'usage':a131h(0xed),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':a131h(0xe7),'examples':[a131h(0xec),'maka\x20g:scaffold\x20todos',a131h(0xf9),'maka\x20g:package\x20package:name',a131h(0xf4),a131h(0xe9),a131h(0xea)]},async function(){});function a131c(){const i=['3953264UBIxJY','3165099ZZAVkC','530235HagVWn','maka\x20g:template\x20todos/todo_item','search','Scaffold\x20various\x20parts\x20of\x20your\x20application','toString','maka\x20g:api\x20trucks','maka\x20g:dbc\x20geoserver\x20--type=pgsql','5480XYDdTw','maka\x20generate:scaffold\x20todos','maka\x20{generate,\x20g}:<generator>\x20<name>','48OlCrkq','3WWEUPw','(((.+)+)+)+$','367074jhOGyh','30213VUqaJD','2293792DliDUp','maka\x20g:route\x20todos/edit','1751946akyHdg'];a131c=function(){return i;};return a131c();}export default MakaGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a132n=a132d;(function(a,b){const k=a132d,c=a();while(!![]){try{const d=-parseInt(k(
|
|
1
|
+
const a132n=a132d;(function(a,b){const k=a132d,c=a();while(!![]){try{const d=-parseInt(k(0x1a6))/0x1+-parseInt(k(0x1af))/0x2*(parseInt(k(0x19b))/0x3)+parseInt(k(0x1b6))/0x4*(-parseInt(k(0x195))/0x5)+-parseInt(k(0x1bd))/0x6+-parseInt(k(0x1b5))/0x7+-parseInt(k(0x199))/0x8*(parseInt(k(0x1b2))/0x9)+-parseInt(k(0x1b7))/0xa*(-parseInt(k(0x1bb))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a132c,0xc7ce6));const a132b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a132d;if(c){const e=c[l(0x1ae)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a132a=a132b(this,function(){const m=a132d;return a132a[m(0x1ab)]()[m(0x1b4)](m(0x1b9))['toString']()[m(0x1a1)](a132a)[m(0x1b4)](m(0x1b9));});a132a();import{Generator}from'../generator.js';function a132d(a,b){const c=a132c();return a132d=function(d,e){d=d-0x193;let f=c[d];return f;},a132d(a,b);}import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';function a132c(){const p=['template','scaffold','4115qTLpRL','appPathPrefix','pkg','startup','5424SsuwVF','-rpc-method\x27;','110139lfMTJF','pathFromApp','engines','method/method.js','-rpc-method.','tsx','constructor','injectAtEndOfFile','imports','ddp-rate-limiter','method','1223393SVbQtz','resourceName','cfg','maka\x20g:method\x20todos','dir','toString','create','checkMeteorPackage','apply','62jMBrTw','maka:check','error','17757PZfCAp','getMakaProjectConfig','search','7330498Dylqes','3512HDVDNB','18325040dGJtrm','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','(((.+)+)+)+$','index.','44InEIEA','maka\x20{generate,\x20g}:{method,\x20m}\x20name','6255672pRvfOl','methods','import\x20\x27./methods'];a132c=function(){return p;};return a132c();}Generator[a132n(0x1ac)]({'name':a132n(0x1a5),'aliases':['m'],'usage':a132n(0x1bc),'checkWhere':!![],'shortDesc':a132n(0x1b8),'validOpts':[a132n(0x1aa)],'examples':[a132n(0x1a9)]},async function(a,b){const o=a132n;try{const c=await this[o(0x1a8)][o(0x1b3)](),d=b[o(0x1aa)]?'/'+b[o(0x1aa)]+'/':'/',f=paramCase(b[o(0x1a7)]),g={'name':b['resourceName'],'fileName':f,'className':pascalCase(b['resourceName']),'camelCase':camelCase(b[o(0x1a7)]),'noRename':!![]};let h='js';c[o(0x19d)]['js']===o(0x1a0)&&(h='ts');await this[o(0x197)][o(0x1ad)]([o(0x1b0),o(0x1a4),'mdg:validated-method'],{'shouldInstall':!![]}),await this[o(0x194)][o(0x193)]({'srcPath':o(0x19e),'destPath':this[o(0x194)][o(0x19c)]({'pathParts':[o(0x1a3),o(0x198),b[o(0x196)],o(0x1be),d,f+o(0x19f)+h]}),'context':g,'config':c});const i=this[o(0x194)][o(0x19c)]({'pathParts':[o(0x1a3),o(0x198),b[o(0x196)],o(0x1ba)+c['engines']['js']]});await this[o(0x194)][o(0x1a2)]({'filePath':i,'content':o(0x1bf)+d+f+o(0x19a)});}catch(j){Log[o(0x1b1)](j);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a133c(){const q=['maka\x20g:package\x20todos:package','pathFromApp','pathFromAppWithNoReWrite','24cThbqA','57GilEcB','dir','128650LQijFN','noRename','24GKuJFb','/package.js','cfg','findProjectDirectory','fsi','constructor','220959uCHaab','search','ssr','6391390VXwWyH','graphql','213715mXUJAx','package/','resourceName','(((.+)+)+)+$','toString','408AsoBHE','template','/client/','features','layout','create','8195286wMoJln','155897jzHLKL','theme','relative','scaffold','engines','582525zjKkEh','tests/client','hasOwnProperty','package.js','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','client','packages'];a133c=function(){return q;};return a133c();}const a133o=a133d;(function(a,b){const m=a133d,c=a();while(!![]){try{const d=parseInt(m(0x182))/0x1+parseInt(m(0x18f))/0x2*(-parseInt(m(0x18d))/0x3)+parseInt(m(0x18c))/0x4*(-parseInt(m(0x19c))/0x5)+parseInt(m(0x1a1))/0x6*(parseInt(m(0x1a8))/0x7)+-parseInt(m(0x191))/0x8*(-parseInt(m(0x197))/0x9)+-parseInt(m(0x19a))/0xa+parseInt(m(0x1a7))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a133c,0xc2ca4));const a133b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a133a=a133b(this,function(){const n=a133d;return a133a[n(0x1a0)]()[n(0x198)](n(0x19f))[n(0x1a0)]()[n(0x196)](a133a)['search'](n(0x19f));});a133a();import a133e from'path';import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';function a133d(a,b){const c=a133c();return a133d=function(d,e){d=d-0x182;let f=c[d];return f;},a133d(a,b);}Generator[a133o(0x1a6)]({'name':'package','aliases':['p'],'usage':'maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','shortDesc':a133o(0x186),'validOpts':[a133o(0x18e)],'examples':[a133o(0x189)]},async function(a,b){const p=a133o,c=paramCase(b[p(0x19e)]),d=b['dir']?'/'+b['dir']+'/':'/',e=this[p(0x1ab)][p(0x18a)]({'pathParts':[p(0x188),d,c]}),f=this[p(0x1ab)][p(0x18b)]({'pathParts':[p(0x188),d,c,p(0x185)]}),g=await this[p(0x193)]['getMakaProjectConfig'](),h={'name':paramCase(b[p(0x19e)]),'myPath':a133e[p(0x1aa)](this[p(0x195)][p(0x194)](),e),'cssCaseName':paramCase(b[p(0x19e)]),'className':pascalCase(b[p(0x19e)]),'camelCaseName':camelCase(b[p(0x19e)]),'fileName':c,'client':g[p(0x1ac)][p(0x187)],'graphql':g[p(0x1ac)][p(0x19b)],'ssr':g['engines'][p(0x199)],'isComponent':b[p(0x184)]('component'),'isLayout':b[p(0x184)](p(0x1a5)),'isStore':b['hasOwnProperty']('store'),'features':g[p(0x1a4)],'noRename':!![],'theme':g[p(0x1ac)][p(0x1a9)]};await this[p(0x1ab)][p(0x1a2)]({'srcPath':'package/package.js','destPath':f,'context':h,'config':g}),h[p(0x190)]=![];const i=e+p(0x1a3)+c+'.js';await this['scaffold'][p(0x1a2)]({'srcPath':'template/template.js','destPath':i,'context':h,'config':g});const j=['lib','server',p(0x183),'tests/server'];for(const k of j){const l=e+'/'+k+'/'+c+'.js';await this[p(0x1ab)][p(0x1a2)]({'srcPath':p(0x19d)+k+p(0x192),'destPath':l,'context':h,'config':g});}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a134u=a134d;(function(a,b){const r=a134d,c=a();while(!![]){try{const d=parseInt(r(0x1d3))/0x1+parseInt(r(0x1a3))/0x2+-parseInt(r(0x1b5))/0x3+parseInt(r(0x1a2))/0x4+parseInt(r(0x19b))/0x5+parseInt(r(0x1b8))/0x6*(parseInt(r(0x19c))/0x7)+parseInt(r(0x19e))/0x8*(-parseInt(r(0x1c2))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a134c,0x7fd03));const a134b=(function(){let a=!![];return function(b,c){const d=a?function(){const s=a134d;if(c){const e=c[s(0x1b2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a134a=a134b(this,function(){const t=a134d;return a134a[t(0x1bd)]()[t(0x1ae)](t(0x1cb))[t(0x1bd)]()[t(0x198)](a134a)[t(0x1ae)](t(0x1cb));});function a134c(){const w=['2051936JtYNmZ','1989674KVYWWo','html','\x27;\x0a','none','assign','hook/hook.js','features','setTemplate','warn','/>}/>\x0a','routes.','search','template/template.html','scaffold','fileName','apply','<Route\x20element={<PrivateRoute\x20/>}>','<Route\x20path=\x22*\x22','2795073iZCSuJ','startup','hasOwnProperty','6RmUeda','split','endsWith','<Route\x20index','cfg','toString','component','substring','layout','Please\x20specify\x20a\x20name\x20for\x20the\x20route.','5841MvtCBD','pathFromApp','graphql','indexOf','injectAtBeginningOfFile','join','root','dir','includes','(((.+)+)+)+$','true','<Route\x20path=\x22','string','.js','Generate\x20a\x20page.','template/template.css','</Route>','769465BHDcxx','ramda','.css','engines','resourceName','toLowerCase','checkNpmPackage','lib','test/test.js','findAppDirectory','trim','private','replaceAll','ssr','page','.html','findProjectDirectory','import\x20\x27./','relative','fsi','theme','create','error','withTranslations','css','react','maka\x20g:page\x20todos/todos-item','injectIntoFile','client','store','.app-tests.js','imports','constructor','replace','template','2433075EYqMWX','2328438jbCiNz','url','20232LuGwoo','test','vanilla','component/component.js'];a134c=function(){return w;};return a134c();}a134a();import a134e from'path';function a134d(a,b){const c=a134c();return a134d=function(d,e){d=d-0x180;let f=c[d];return f;},a134d(a,b);}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['p'];Generator[a134u(0x18d)]({'name':a134u(0x186),'aliases':aliases,'usage':'maka\x20{generate,\x20g}:{page,\x20p}\x20[path/]<name>','shortDesc':a134u(0x1d0),'validOpts':[{'name':'private','boolFlag':!![]},{'name':a134u(0x19d)}],'examples':[a134u(0x192)]},async function(a,b){const v=a134u,c='/imports/ui/pages',d=this['fsi'][v(0x181)](),e=b['resourceName'][v(0x1ca)](':')?b[v(0x1d7)][v(0x1b9)](':')[0x0][v(0x182)]():b[v(0x1d7)][v(0x182)](),f=b[v(0x1c9)]['replaceAll']('/','_')+'_'+e[v(0x184)]('/','_'),g=this[v(0x1b0)][v(0x1c3)]({'pathParts':[c,b[v(0x1c9)],paramCase(f),paramCase(f)]}),h=await this[v(0x1bc)]['getMakaProjectConfig']();let i='';typeof h[v(0x19a)][v(0x1a4)]==='string'&&this['cfg'][v(0x1aa)]('html',h[v(0x19a)][v(0x1a4)]);typeof h[v(0x19a)][v(0x19f)]===v(0x1ce)&&this[v(0x1bc)][v(0x1aa)](v(0x19f),h[v(0x19a)][v(0x19f)]);typeof h['template'][v(0x190)]==='string'&&this[v(0x1bc)][v(0x1aa)](v(0x190),h[v(0x19a)]['css']);typeof h[v(0x19a)]['js']===v(0x1ce)&&this['cfg'][v(0x1aa)]('js',h[v(0x19a)]['js']);!b[v(0x1c8)]&&!this['pkg'][v(0x1d9)](v(0x1d4))&&(Log[v(0x1ab)]('Updating\x20npm\x20packages\x20...'),this['pkg']['installNpmPackage'](v(0x1d4),{'cwd':d}));const j={'name':pascalCase(f),'myPath':a134e[v(0x18a)](this[v(0x18b)][v(0x188)](),g),'cssCaseName':paramCase(f),'className':pascalCase(f),'camelCaseName':camelCase(f),'fileName':paramCase(f),'graphql':h[v(0x1d6)][v(0x1c4)],'features':h[v(0x1a9)],'client':h['engines'][v(0x194)],'api':h[v(0x1d6)]['api'],'ssr':h['engines'][v(0x185)],'isStore':b[v(0x1b7)](v(0x195)),'isComponent':b[v(0x1b7)](v(0x1be)),'isLayout':b['hasOwnProperty'](v(0x1c0)),'withTranslations':h['features'][v(0x18f)],'test':h[v(0x1d6)][v(0x19f)],'theme':h[v(0x1d6)][v(0x18c)]};h[v(0x19a)][v(0x1a4)]&&await this[v(0x1b0)][v(0x19a)]({'srcPath':v(0x1af),'destPath':g+v(0x187),'context':j,'config':h});h[v(0x1a9)]?.['withHooks']?await this['scaffold'][v(0x19a)]({'srcPath':v(0x1a8),'destPath':g+v(0x1cf),'framework':v(0x191),'context':j,'config':h}):await this[v(0x1b0)][v(0x19a)]({'srcPath':v(0x1a1),'destPath':g+v(0x1cf),'framework':v(0x191),'context':j,'config':h});h[v(0x1d6)][v(0x19f)]!==v(0x1a6)&&await this[v(0x1b0)]['template']({'srcPath':v(0x180),'destPath':g+v(0x196),'framework':'react','context':j,'config':h});h[v(0x19a)][v(0x190)]&&await this[v(0x1b0)][v(0x19a)]({'srcPath':v(0x1d1),'destPath':g+v(0x1d5),'context':Object[v(0x1a7)]({},j,{'className':paramCase(b[v(0x1d7)])}),'config':h});h[v(0x1d6)]['client']!=='react'&&h[v(0x1d6)][v(0x194)]!==v(0x1a0)?(h[v(0x19a)][v(0x190)]&&await this[v(0x1b0)][v(0x1c6)]({'filePath':g+'.'+h[v(0x1d6)]['js'],'content':'import\x20\x27./'+j[v(0x1b1)]+'.'+h[v(0x1d6)][v(0x1a4)]+v(0x1a5)+v(0x189)+j[v(0x1b1)]+'.'+h[v(0x1d6)][v(0x190)]+'\x27;'}),!h[v(0x19a)][v(0x190)]&&await this[v(0x1b0)][v(0x1c6)]({'filePath':g+'.'+h[v(0x1d6)]['js'],'content':'import\x20\x27./'+j[v(0x1b1)]+'.'+h[v(0x1d6)][v(0x1a4)]+'\x27;'})):h['template'][v(0x190)]&&await this[v(0x1b0)][v(0x1c6)]({'filePath':g+'.'+h['engines']['js'],'content':v(0x189)+j[v(0x1b1)]+'.'+h[v(0x1d6)][v(0x190)]+'\x27;'});const k=b['dir']?'/'+b[v(0x1c9)]+'/':'/';i=''+c+k+j[v(0x1b1)]+'/'+j[v(0x1b1)],await this[v(0x1b0)]['injectTemplateModule'](j['className'],h,i);if(!b['root']){const l=b[v(0x183)]??![];if(!f){Log[v(0x18e)](v(0x1c1));throw new UsageError();}let m=b[v(0x19d)]?b[v(0x19d)]:'/'+b[v(0x1c9)][v(0x182)]()+'/'+b[v(0x1d7)][v(0x182)]()[v(0x199)](/\\/g,'/')['replace'](/\/+$/,'')[v(0x1d8)]();const n=b[v(0x1d7)][v(0x1c5)](':');n!==-0x1&&(m+='/'+b[v(0x1d7)][v(0x1bf)](0x0,n)['trim']());m[v(0x1ba)]('/')&&(m=m['slice'](0x0,-0x1));m=m[v(0x199)](/\/\//g,'/');const o=h[v(0x1d6)]['js'],p=h[v(0x1d6)]['ssr']===v(0x1cc)?v(0x1da):'client',q=a134e[v(0x1c7)](d,v(0x197),v(0x1b6),p,v(0x1ad)+o);l?await this[v(0x1b0)][v(0x193)]({'filePath':q,'content':v(0x1cd)+m+'\x22\x20element={<Component.'+pascalCase(f)+v(0x1ac),'begin':[v(0x1b3)],'end':[v(0x1d2)]}):await this[v(0x1b0)]['injectIntoFile']({'filePath':q,'content':v(0x1cd)+m+'\x22\x20element={<Component.'+pascalCase(f)+v(0x1ac),'begin':[v(0x1bb)],'end':[v(0x1b4)]});}});
|