@maka/maka-cli 4.12.0 → 4.12.1
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/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/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/rbi.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/build/_index.js +1 -1
- package/bundle/obf/src/commands/build/build.js +1 -1
- package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/create.js +1 -1
- package/bundle/obf/src/commands/debug.js +1 -1
- package/bundle/obf/src/commands/deploy/_index.js +1 -1
- package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
- package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/_index.js +1 -1
- package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/play.command.js +1 -1
- package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/generate.js +1 -1
- package/bundle/obf/src/commands/get/_index.js +1 -1
- package/bundle/obf/src/commands/get/get.command.js +1 -1
- package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/help.js +1 -1
- package/bundle/obf/src/commands/install.js +1 -1
- package/bundle/obf/src/commands/jsdoc.js +1 -1
- package/bundle/obf/src/commands/lint.js +1 -1
- package/bundle/obf/src/commands/login.js +1 -1
- package/bundle/obf/src/commands/logout.js +1 -1
- package/bundle/obf/src/commands/logs.js +1 -1
- package/bundle/obf/src/commands/maka.cmd.js +1 -1
- package/bundle/obf/src/commands/murder.js +1 -1
- package/bundle/obf/src/commands/patreon.js +1 -1
- package/bundle/obf/src/commands/profile.js +1 -1
- package/bundle/obf/src/commands/proxy.js +1 -1
- package/bundle/obf/src/commands/reconfig.js +1 -1
- package/bundle/obf/src/commands/register.js +1 -1
- package/bundle/obf/src/commands/run/_index.js +1 -1
- package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/run/run.command.js +1 -1
- package/bundle/obf/src/commands/set/_index.js +1 -1
- package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/set/set.command.js +1 -1
- package/bundle/obf/src/commands/ssh.js +1 -1
- package/bundle/obf/src/commands/ssl.js +1 -1
- package/bundle/obf/src/commands/test.js +1 -1
- package/bundle/obf/src/commands/undo.js +1 -1
- package/bundle/obf/src/commands/version.js +1 -1
- package/bundle/obf/src/error.js +1 -1
- package/bundle/obf/src/exec.js +1 -1
- package/bundle/obf/src/generator.js +1 -1
- package/bundle/obf/src/generators/_index.js +1 -1
- package/bundle/obf/src/generators/api.js +1 -1
- package/bundle/obf/src/generators/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/templates/meteor/api/register-api.js +1 -1
- package/bundle/obf/src/templates/meteor/api/register-api.js.ts +1 -1
- package/bundle/obf/src/tool.js +1 -1
- package/bundle/obf/src/tools/actions/actions.class.js +1 -1
- package/bundle/obf/src/tools/aws/aws.class.js +1 -1
- package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
- package/bundle/obf/src/tools/docker/docker.class.js +1 -1
- package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
- package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
- package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
- package/bundle/obf/src/tools/https/https.class.js +1 -1
- package/bundle/obf/src/tools/https/https.interface.js +1 -1
- package/bundle/obf/src/tools/log/log.class.js +1 -1
- package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
- package/bundle/obf/src/tools/options/options.class.js +1 -1
- package/bundle/obf/src/tools/progress/progress.class.js +1 -1
- package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
- package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
- package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
- package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
- package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a113q=a113d;(function(a,b){const o=a113d,c=a();while(!![]){try{const d=-parseInt(o(0x95))/0x1+parseInt(o(0xa1))/0x2+-parseInt(o(0x91))/0x3*(-parseInt(o(0x90))/0x4)+parseInt(o(0x7d))/0x5*(parseInt(o(0x86))/0x6)+-parseInt(o(0x78))/0x7*(parseInt(o(0x7a))/0x8)+parseInt(o(0x82))/0x9+-parseInt(o(0x7b))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a113c,0xaf932));const a113b=(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;};}()),a113a=a113b(this,function(){const p=a113d;return a113a[p(0x73)]()[p(0xa6)](p(0xa9))[p(0x73)]()[p(0x72)](a113a)['search']('(((.+)+)+)+$');});a113a();function a113c(){const t=['export\x20const\x20AuthProvider','635573IrHTRw','engines','useTracker','findProjectDirectory','meteor','pathFromApp','alanning:roles','return\x20\x5c(','Meteor','authentication-provider','const\x20authenticateUser','\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','2724854RwKdlV','AuthService','accounts-password','injectIntoFile','publish','search','const\x20resetPasswordWithToken','\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','(((.+)+)+)+$','const\x20getUserAuthorizations','meteor/accounts-base','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','startup','exit','fsi','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','server','const\x20registerNewUser','constructor','toString','injectImport','Meteor.startup','create','react','182fNpWVK','kit/auth/service/meteor-auth-service.js','143312scOSBL','12416420QrFCmG','const\x20sendForgotPasswordEmail','5BeWlxq','injectIntoCodeBlock','processAndRunGenerator','imports','template','10668879HaWmej','meteor/meteor','authentication-service','const\x20deauthenticateUser','2237796MJGQhg','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','const\x20authenticateToken','\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','error','Meteor.publish','\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\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','Accounts','/imports/startup/lib/authentication-service','565236rasKcb','3ZhlRSm','kit:auth:provider','getMakaProjectConfig'];a113c=function(){return t;};return a113c();}import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a113e from'./auth.generator.js';import a113f from'../../../generators/maka.gen.js';function a113d(a,b){const c=a113c();return a113d=function(d,e){d=d-0x72;let f=c[d];return f;},a113d(a,b);}import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a113q(0x76)]({'name':a113q(0x99),'aliases':['m'],'usage':a113q(0xb0),'shortDesc':'Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','validOpts':['force'],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines['REACT']},'description':a113q(0xa0)},async function(a,b){const r=a113q;try{const c=b['force']||![];await this[r(0xaf)]['checkMeteorPackage']([r(0xa3),r(0x9b)],{'shouldInstall':!![]});const d=this[r(0xaf)][r(0x98)](),f=this[r(0xaf)][r(0x93)](),g=f[r(0x96)]['ssr']==='true';await a113f[r(0x7f)](r(0x92),[],{'force':c,'cwd':d,'config':f});const h=await a113f[r(0x7f)](r(0xa5),['auth/roles'],{'force':c,'globalPublish':!![],'cwd':d,'config':f}),i=g?'/imports/startup/lib':'/imports/startup/client',j=this[r(0xaf)][r(0x9a)]({'pathParts':[i,'','',r(0x84)]});await this[r(0xaf)]['withValue'](f,async()=>{const s=r;await this['fsi'][s(0x81)]({'srcPath':s(0x79),'destPath':j+'.js','framework':s(0x77),'context':{},'config':f,'force':c,'ignore':![]});});const k=this[r(0xaf)][r(0x9a)]({'pathParts':[i,'','',r(0x9e)]}),l=f['engines']['js'];await this[r(0xaf)]['injectImport']({'filePath':k+'.'+l,'importName':r(0xa2),'modulePath':g?r(0x8f):'/imports/startup/client/authentication-service','isNamedExport':![]}),await this['fsi'][r(0x7e)]({'filePath':k+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20const\x20user\x20=\x20await\x20AuthService.authenticateUser(username,\x20password);\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20user;\x0a\x20\x20\x20\x20\x20\x20','begin':r(0x9f),'replace':!![]}),await this[r(0xaf)]['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':r(0x88),'replace':!![]}),await this[r(0xaf)][r(0x7e)]({'filePath':k+'.'+l,'content':r(0xa8),'begin':r(0xaa),'replace':!![]}),await this['fsi']['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':r(0xac),'begin':r(0x85),'replace':!![]}),await this[r(0xaf)][r(0x7e)]({'filePath':k+'.'+l,'content':r(0x8c),'begin':r(0x7c),'replace':!![]}),await this[r(0xaf)][r(0x7e)]({'filePath':k+'.'+l,'content':r(0x87),'begin':r(0xb2),'replace':!![]}),await this['fsi']['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','begin':r(0xa7),'replace':!![]});g&&(await this[r(0xaf)][r(0x74)]({'filePath':k+'.'+l,'importName':r(0x97),'modulePath':'meteor/maka:react-tracker','isNamedExport':!![]}),await this[r(0xaf)][r(0xa4)]({'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':r(0x94),'end':r(0x9c)}));await this[r(0xaf)][r(0x74)]({'filePath':h,'importName':r(0x9d),'modulePath':r(0x83),'isNamedExport':!![],'injectAtStart':!![]}),await this[r(0xaf)][r(0x7e)]({'filePath':h,'content':r(0x89),'begin':r(0x8b),'replace':!![]});const m=this['fsi']['pathFromApp']({'pathParts':[r(0x80),r(0xad),r(0xb1),'index']});await this[r(0xaf)][r(0x74)]({'filePath':m+'.'+l,'importName':r(0x8e),'modulePath':r(0xab),'isNamedExport':!![]}),await this[r(0xaf)][r(0x7e)]({'filePath':m+'.'+l,'content':r(0x8d),'begin':r(0x75),'replace':!![]});}catch(n){Log[r(0x8a)](n),process[r(0xae)](0x1);}},async function(){},a113e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a114w=a114d;(function(a,b){const u=a114d,c=a();while(!![]){try{const d=parseInt(u(0x9a))/0x1+parseInt(u(0xb8))/0x2+parseInt(u(0xbc))/0x3+-parseInt(u(0xa3))/0x4+-parseInt(u(0xb5))/0x5*(parseInt(u(0xae))/0x6)+-parseInt(u(0x9f))/0x7+parseInt(u(0xa5))/0x8*(parseInt(u(0xa0))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a114c,0xcf6c1));const a114b=(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;};}()),a114a=a114b(this,function(){const v=a114d;return a114a[v(0xad)]()[v(0xaf)]('(((.+)+)+)+$')['toString']()['constructor'](a114a)[v(0xaf)](v(0xb9));});a114a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a114e from'./auth.generator.js';function a114d(a,b){const c=a114c();return a114d=function(d,e){d=d-0x95;let f=c[d];return f;},a114d(a,b);}import{headerCase}from'change-case';function a114c(){const z=['withValue','react','exit','split','fsi','347888JoTMWF','const\x20Routes','</AuthProvider>','/imports/startup/server/index','/imports/startup/lib','2101295OlXXFs','18FywKJw','engines','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','2311828kAizfE','<AuthProvider>','4002544jlEQse','/routes','AuthContext','/imports/startup/client/index','error','AuthProvider','/imports/startup/client','injectImport','toString','497682pPKijq','search','authentication-provider','/imports/startup/lib/authentication-provider','appName','getMakaProjectConfig','useContext','95TRjIcL','.js','pathFromApp','2647534AtpFbp','(((.+)+)+)+$','injectAroundString','/imports/startup/client/authentication-provider','1894335jlSrkQ','Creating\x20an\x20AuthProvider\x20and\x20AuthContext'];a114c=function(){return z;};return a114c();}import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':'provider','aliases':['p'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','shortDesc':a114w(0xa2),'validOpts':['force'],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines['REACT']},'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=a114w;try{const c=b['force']||![];Log['bright'](x(0xbd));const d=this['fsi'][x(0xb3)](),f=d[x(0xa1)]['ssr']==='true',g={'name':headerCase(d[x(0xb2)])['replaceAll']('-','\x20')},h=f?x(0x9e):x(0xab),i=this['fsi']['pathFromApp']({'pathParts':[h,'','',x(0xb0)]});await this[x(0x99)][x(0x95)](d,async()=>{const y=x;await this[y(0x99)]['template']({'srcPath':'kit/auth/provider/authentication-provider.js','destPath':i+y(0xb6),'framework':y(0x96),'context':g,'config':d,'force':c,'ignore':![]});});const j=d['engines']['js'],k=h+x(0xa6),l=k[x(0x98)]('/'),m=this['fsi'][x(0xb7)]({'pathParts':l});await this[x(0x99)][x(0xac)]({'filePath':m+'.'+j,'importName':x(0xa7),'modulePath':f?'/imports/startup/lib/authentication-provider':'/imports/startup/client/authentication-provider','isNamedExport':!![]}),await this[x(0x99)]['injectImport']({'filePath':m+'.'+j,'importName':x(0xb4),'modulePath':'react','isNamedExport':!![],'injectAtStart':!![]}),await this[x(0x99)]['injectIntoCodeBlock']({'filePath':m+'.'+j,'content':'\x0a\x20\x20\x20\x20\x20\x20const\x20{\x20currentUser,\x20loading\x20}\x20=\x20useContext(AuthContext);\x0a\x20\x20\x20\x20\x20\x20if\x20(loading)\x20return\x20<PublicRoutes\x20history={history}/>;\x0a\x20\x20\x20\x20\x20\x20return\x20(!currentUser)\x20?\x20<PublicRoutes\x20history={history}/>\x20:\x20<PrivateRoutes\x20history={history}/>;\x0a\x20\x20\x20\x20\x20\x20','begin':[x(0x9b),'function\x20Routes'],'replace':!![]});const n=x(0xa8),o=n[x(0x98)]('/'),p=this['fsi']['pathFromApp']({'pathParts':o});await this['fsi'][x(0xac)]({'filePath':p+'.'+j,'importName':x(0xaa),'modulePath':f?x(0xb1):x(0xbb),'isNamedExport':!![]}),await this[x(0x99)][x(0xba)]({'filePath':p+'.'+j,'aboveContent':x(0xa4),'belowContent':'</AuthProvider>','targetString':'<Routes\x20history={browserHistory}/>','indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q=x(0x9d),r=q[x(0x98)]('/'),s=this[x(0x99)]['pathFromApp']({'pathParts':r});await this[x(0x99)][x(0xac)]({'filePath':s+'.'+j,'importName':x(0xaa),'modulePath':f?x(0xb1):'/imports/startup/client/authentication-provider','isNamedExport':!![]}),await this[x(0x99)][x(0xba)]({'filePath':s+'.'+j,'aboveContent':x(0xa4),'belowContent':x(0x9c),'targetString':'<Routes\x20history={history}/>','indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log[x(0xa9)](t),process[x(0x97)](0x1);}},async function(){},a114e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(a,b){var f=a115d,c=a();while(!![]){try{var d=-parseInt(f(0xb9))/0x1*(-parseInt(f(0xba))/0x2)+-parseInt(f(0xbb))/0x3+-parseInt(f(0xc0))/0x4*(-parseInt(f(0xbd))/0x5)+-parseInt(f(0xbf))/0x6+-parseInt(f(0xb7))/0x7*(-parseInt(f(0xbe))/0x8)+-parseInt(f(0xb2))/0x9+-parseInt(f(0xbc))/0xa*(parseInt(f(0xb5))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a115c,0x3781b));var a115b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a115d;if(c){var e=c[g(0xb3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a115a=a115b(this,function(){var h=a115d;return a115a[h(0xb4)]()['search'](h(0xb6))[h(0xb4)]()[h(0xb8)](a115a)['search'](h(0xb6));});function a115c(){var i=['1nIfhIe','523506dfZYis','314400iuQtYo','90BjvtVw','925GgyXgF','8ZNovsx','60804kHruiX','8348RGOjTs','3011256TAZYQa','apply','toString','81444SRkZeK','(((.+)+)+)+$','669627MKuhIc','constructor'];a115c=function(){return i;};return a115c();}a115a();function a115d(a,b){var c=a115c();return a115d=function(d,e){d=d-0xb2;var f=c[d];return f;},a115d(a,b);}import'./esri.generator.js';import'./map.esri.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a116d(a,b){const c=a116c();return a116d=function(d,e){d=d-0x8d;let f=c[d];return f;},a116d(a,b);}const a116i=a116d;(function(a,b){const f=a116d,c=a();while(!![]){try{const d=-parseInt(f(0x98))/0x1+parseInt(f(0x95))/0x2*(parseInt(f(0x99))/0x3)+parseInt(f(0x8e))/0x4+-parseInt(f(0x9e))/0x5+-parseInt(f(0x8f))/0x6+parseInt(f(0x9d))/0x7+parseInt(f(0x97))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a116c,0x1bca8));const a116b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a116d;if(c){const e=c[g(0x91)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a116a=a116b(this,function(){const h=a116d;return a116a[h(0x9c)]()[h(0x9b)](h(0x94))[h(0x9c)]()['constructor'](a116a)[h(0x9b)](h(0x94));});a116a();import{Generator}from'../../../generator.js';import a116e from'../kit.js';const EsriGen=Generator[a116i(0x9a)]({'name':a116i(0x90),'aliases':['e'],'usage':a116i(0x96),'noNeedResource':!![],'shortDesc':a116i(0x93),'validOpts':[''],'isPro':!![],'examples':[a116i(0x8d)],'description':'\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'},async function(){const j=a116i;return{'success':!![],'message':'Esri\x20Kit\x20generated\x20successfully','details':{'filesCreated':['/foo/bar'],'filesUpdated':[j(0x92)]}};},async function(){},a116e);export default EsriGen;function a116c(){const k=['150AgFYos','create','search','toString','42028lwbMpy','417825HiderC','maka\x20g:kit:e','251368hVyklI','463356icWNar','esri','apply','/foo','Starting\x20point\x20for\x20generating\x20Esri\x20Maps','(((.+)+)+)+$','2760Tiwemz','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','2783024wTEGsK','211101pJPNED'];a116c=function(){return k;};return a116c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a117c(){const
|
|
1
|
+
const a117r=a117d;function a117c(){const u=['split','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','Generating\x20a\x20map\x20component','react','@esri/react-arcgis','dir','injectIntoFile','template','6PqOKrb','search','432369IyCYSI','esri-loader','Generate\x20an\x20Esri\x20map\x20component','true','.js','findProjectDirectory','/imports/startup/client/templates','create','2469712uKCbsv','5402585KQpaVr','engines','error','1283149OXdPru','pathFromApp','(((.+)+)+)+$','REACT','</div>','/imports/ui/','toString','fsi','810ivjUik','/imports/startup/lib/templates','3019926gMueJg','kit/esri/map/','appName','injectImport','map','getMakaProjectConfig','3357sQfqtC','baseDir','FALSE','bright','constructor','324qdtvpO','/imports/ui/hooks','\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','<div\x20id=\x22map\x22>','\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','withValue','checkNpmPackage','ssr','basic-map','injectTemplateModule','7142112qIDlDx'];a117c=function(){return u;};return a117c();}(function(a,b){const p=a117d,c=a();while(!![]){try{const d=-parseInt(p(0x112))/0x1+-parseInt(p(0x10e))/0x2+-parseInt(p(0xec))/0x3*(parseInt(p(0xf1))/0x4)+-parseInt(p(0x10f))/0x5+-parseInt(p(0x104))/0x6*(parseInt(p(0xe6))/0x7)+parseInt(p(0xfb))/0x8+-parseInt(p(0x106))/0x9*(-parseInt(p(0x11a))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0xa1fd2));const a117b=(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;};}()),a117a=a117b(this,function(){const q=a117d;return a117a['toString']()['search'](q(0x114))[q(0x118)]()[q(0xf0)](a117a)[q(0x105)](q(0x114));});a117a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a117e from'./esri.generator.js';function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0xe6;let f=c[d];return f;},a117d(a,b);}import a117f from'../../../generators/maka.gen.js';import{paramCase,headerCase,pascalCase}from'change-case';import{ClientEngines,SsrEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a117r(0x10d)]({'name':a117r(0xea),'aliases':['m'],'usage':a117r(0xfd),'shortDesc':a117r(0x108),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a117r(0x115)],'ssr':SsrEngines[a117r(0xee)]},'description':a117r(0xf3)},async function(a,b){const s=a117r;try{Log[s(0xef)](s(0xfe));const c=s(0xf9);await this[s(0x119)][s(0xf7)]([s(0x100),s(0x107)],{'shouldInstall':!![]});const d=this['fsi'][s(0x10b)](),f=this[s(0x119)][s(0xeb)](),g=f[s(0x110)][s(0xf8)]===s(0x109),h=await a117f['processAndRunGenerator']('page',[s(0xea)],{'cwd':d,'config':f}),i={'name':headerCase(f[s(0xe8)])['replaceAll']('-','\x20'),'componentName':pascalCase(c)},j=b[s(0xed)]?s(0x117)+b['baseDir']:s(0xf2),k=this['fsi'][s(0x113)]({'pathParts':[j,b[s(0x101)],paramCase(c),paramCase(c)]});await this['fsi'][s(0xf6)](f,async()=>{const t=s;await this[t(0x119)][t(0x103)]({'srcPath':t(0xe7)+c+t(0x10a),'destPath':k+'.js','framework':t(0xff),'context':i,'config':f,'force':![],'ignore':![]});});const l=''+j+b[s(0x101)]+'/'+c+'/'+c;await this[s(0x119)][s(0xfa)](c,f,l);const m=h[s(0xfc)]('/'),n=this[s(0x119)][s(0x113)]({'pathParts':m});await this[s(0x119)][s(0xe9)]({'filePath':n,'importName':pascalCase(c),'modulePath':g?s(0x11b):s(0x10c),'isNamedExport':!![]}),await this[s(0x119)][s(0x102)]({'filePath':n,'content':'\x0a<'+pascalCase(c)+s(0xf5),'begin':['<div\x20id=\x22map\x22>',s(0xf4)],'end':[s(0x116)],'replace':!![]});}catch(o){Log[s(0x111)](o),process['exit'](0x1);}},async function(){},a117e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a118i=a118d;(function(a,b){const f=a118d,c=a();while(!![]){try{const d=parseInt(f(0x197))/0x1+parseInt(f(0x193))/0x2*(-parseInt(f(0x18b))/0x3)+parseInt(f(0x196))/0x4+parseInt(f(0x18f))/0x5+-parseInt(f(0x198))/0x6+parseInt(f(0x199))/0x7*(-parseInt(f(0x191))/0x8)+parseInt(f(0x19a))/0x9*(parseInt(f(0x195))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0x85efb));function a118c(){const j=['maka\x20g:k','69152KkxfRB','Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','176RefNml','toString','10aONavr','1737720QViVAk','538129baHLEJ','1951368MOUsAn','434AGmTOa','3808368pspJUp','kit','8529vDEgVV','create','constructor','apply','1321160yeZvTB'];a118c=function(){return j;};return a118c();}const a118b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a118d;if(c){const e=c[g(0x18e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){const h=a118d;return a118a['toString']()['search']('(((.+)+)+)+$')[h(0x194)]()[h(0x18d)](a118a)['search']('(((.+)+)+)+$');});a118a();function a118d(a,b){const c=a118c();return a118d=function(d,e){d=d-0x18b;let f=c[d];return f;},a118d(a,b);}import{Generator}from'../../generator.js';const KitGen=Generator[a118i(0x18c)]({'name':a118i(0x19b),'aliases':['k'],'usage':'maka\x20{generate,\x20g}:{kit}\x20<name>','shortDesc':a118i(0x192),'minArgLength':0x1,'isPro':!![],'validOpts':[],'noNeedResource':!![],'examples':['maka\x20g:kit',a118i(0x190)]},async function(){});export default KitGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a119d,c=a();while(!![]){try{var d=parseInt(f(
|
|
1
|
+
(function(a,b){var f=a119d,c=a();while(!![]){try{var d=parseInt(f(0x138))/0x1+-parseInt(f(0x12f))/0x2+-parseInt(f(0x12d))/0x3*(parseInt(f(0x136))/0x4)+-parseInt(f(0x12c))/0x5*(parseInt(f(0x12e))/0x6)+parseInt(f(0x135))/0x7+-parseInt(f(0x131))/0x8*(-parseInt(f(0x137))/0x9)+parseInt(f(0x12b))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0xc22f6));var a119b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a119d;if(c){var e=c[g(0x134)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){var h=a119d;return a119a[h(0x132)]()[h(0x130)](h(0x133))[h(0x132)]()['constructor'](a119a)[h(0x130)](h(0x133));});function a119d(a,b){var c=a119c();return a119d=function(d,e){d=d-0x12b;var f=c[d];return f;},a119d(a,b);}function a119c(){var i=['(((.+)+)+)+$','apply','3442558VovHwJ','448dpbKzE','14063940oKiTAv','347029sCBSQs','8182970kTiMyV','35GAUjyi','2373WsOttY','1027578LWAeXB','2273930nzjkTh','search','8tZyNEG','toString'];a119c=function(){return i;};return a119c();}a119a();import'./mui.generator.js';import'./frame.mui.gen.js';import'./auth.mui.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a120J=a120d;function a120c(){const N=['login','REACT','template','kit/mui/auth/login/','/imports/startup/lib/authentication-provider','Meteor\x20Accounts','kit/mui/auth/register/','kit:auth:provider','auth','baseDir','custom','create','kit/mui/auth/logout/','search','6HuWWBl','Custom\x20(roll\x20your\x20own)','toString','kit/mui/auth/forgot-password/','replaceAll','/imports/startup/client/authentication-provider','basic-logout-page','options','54234RlOMne','getMakaProjectConfig','react','234317gpkhyQ','split','pathFromApp','/imports/ui/','20321037HWNPIt','processAndRunGenerator','appName','basic-register-page','(((.+)+)+)+$','Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','basic-forgot-password-page','apply','maka\x20generate:kit:mui:frame','AuthContext','2GYutNW','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','basic-login-page','.js','injectTemplateModule','196BjljWq','MATERIAL','235168CzYDWi','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','layouts','meteor','injectImport','force','dir','findProjectDirectory','ssr','basic-password-reset-page','8119055GDdLHW','What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','logout','reset-password/:token','4085997NqdNph','fsi','Cleaning\x20up...','engines','787260gVjlCT','constructor','kit:auth:meteor','route','540lXVile'];a120c=function(){return N;};return a120c();}(function(a,b){const G=a120d,c=a();while(!![]){try{const d=parseInt(G(0x11e))/0x1*(parseInt(G(0x12c))/0x2)+parseInt(G(0xfc))/0x3+parseInt(G(0x100))/0x4+parseInt(G(0xf8))/0x5*(-parseInt(G(0x113))/0x6)+parseInt(G(0xec))/0x7*(-parseInt(G(0xee))/0x8)+parseInt(G(0x11b))/0x9*(-parseInt(G(0x104))/0xa)+parseInt(G(0x122))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0xd3f63));const a120b=(function(){let a=!![];return function(b,c){const d=a?function(){const H=a120d;if(c){const e=c[H(0x129)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){const I=a120d;return a120a[I(0x115)]()[I(0x112)](I(0x126))[I(0x115)]()[I(0x101)](a120a)[I(0x112)](I(0x126));});a120a();function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0xe9;let f=c[d];return f;},a120d(a,b);}import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a120e from'../../../generators/maka.gen.js';import a120f from'./mui.generator.js';import{paramCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a120J(0x110)]({'name':a120J(0x10d),'aliases':['a'],'usage':a120J(0xef),'shortDesc':a120J(0x127),'validOpts':[a120J(0xf0),a120J(0xf3)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a120J(0xed)],'client':ClientEngines[a120J(0x106)]},'examples':[a120J(0x12a),'maka\x20g:k:m:f'],'description':a120J(0x12d)},async function(a,b){const K=a120J;try{const c=b['force']||![],d=this[K(0xfd)][K(0xf5)](),f=this[K(0xfd)][K(0x11c)](),{authType:g}=await Actions[K(0x11a)]({'type':'list','name':'authType','message':K(0xf9),'choices':[{'name':K(0x10a),'value':K(0xf1)},{'name':K(0x114),'value':K(0x10f)}]}),h='basic-login-page',i=K(0x119),j=K(0x125),k=K(0xf7),l=K(0x128),m=b[K(0x10e)]?K(0x121)+b[K(0x10e)]:'/imports/ui/pages/auth',n=this['fsi']['pathFromApp']({'pathParts':[m,b[K(0xf4)],paramCase(h),paramCase(h)]}),o=this[K(0xfd)]['pathFromApp']({'pathParts':[m,b[K(0xf4)],paramCase(i),paramCase(i)]}),p=this['fsi']['pathFromApp']({'pathParts':[m,b[K(0xf4)],paramCase(j),paramCase(j)]}),q=this[K(0xfd)][K(0x120)]({'pathParts':[m,b[K(0xf4)],paramCase(k),paramCase(k)]}),r=this[K(0xfd)][K(0x120)]({'pathParts':[m,b[K(0xf4)],paramCase(l),paramCase(l)]}),s={'name':headerCase(f[K(0x124)])[K(0x117)]('-','\x20')};await this[K(0xfd)]['withValue'](f,async()=>{const L=K;await this[L(0xfd)][L(0x107)]({'srcPath':L(0x108)+h+'.js','destPath':n+L(0xea),'framework':L(0x11d),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0xfd)]['template']({'srcPath':L(0x111)+i+'.js','destPath':o+L(0xea),'framework':L(0x11d),'context':s,'config':f,'force':c,'ignore':![]}),await this['fsi'][L(0x107)]({'srcPath':L(0x10b)+j+L(0xea),'destPath':p+L(0xea),'framework':'react','context':s,'config':f,'force':c,'ignore':![]}),await this[L(0xfd)][L(0x107)]({'srcPath':'kit/mui/auth/password-reset/'+k+'.js','destPath':q+L(0xea),'framework':L(0x11d),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0xfd)][L(0x107)]({'srcPath':L(0x116)+l+L(0xea),'destPath':r+L(0xea),'framework':'react','context':s,'config':f,'force':c,'ignore':![]});});const t=''+m+b['dir']+'/'+h+'/'+h;await this['fsi'][K(0xeb)](h,f,t);const u=''+m+b[K(0xf4)]+'/'+i+'/'+i;await this['fsi'][K(0xeb)](i,f,u);const v=''+m+b[K(0xf4)]+'/'+j+'/'+j;await this[K(0xfd)][K(0xeb)](j,f,v);const w=''+m+b[K(0xf4)]+'/'+k+'/'+k;await this[K(0xfd)][K(0xeb)](k,f,w);const x=''+m+b[K(0xf4)]+'/'+l+'/'+l;await this[K(0xfd)][K(0xeb)](l,f,x),await a120e[K(0x123)](K(0x103),[K(0xe9)],{'url':K(0x105),'cwd':d,'config':f}),await a120e[K(0x123)](K(0x103),[K(0x119)],{'url':K(0xfa),'private':!![],'cwd':d,'config':f}),await a120e['processAndRunGenerator']('route',[K(0x125)],{'url':'register','cwd':d,'config':f}),await a120e[K(0x123)](K(0x103),[K(0xf7)],{'url':K(0xfb),'cwd':d,'config':f}),await a120e[K(0x123)](K(0x103),[K(0x128)],{'url':'forgot-password','cwd':d,'config':f});g===K(0xf1)&&await a120e['processAndRunGenerator'](K(0x102),[],{'force':c,'cwd':d,'config':f});g===K(0x10f)&&await a120e[K(0x123)](K(0x10c),[],{'force':c,'cwd':d,'config':f});const y=f[K(0xff)][K(0xf6)]==='true',z=f[K(0xff)]['js'],A=this[K(0xfd)][K(0x120)]({'pathParts':t['split']('/')});await this[K(0xfd)]['injectImport']({'filePath':A+'.'+z,'importName':K(0x12b),'modulePath':y?K(0x109):K(0x118),'isNamedExport':!![]});const B=this['fsi'][K(0x120)]({'pathParts':u[K(0x11f)]('/')});await this[K(0xfd)][K(0xf2)]({'filePath':B+'.'+z,'importName':K(0x12b),'modulePath':y?K(0x109):K(0x118),'isNamedExport':!![]});const C=this['fsi'][K(0x120)]({'pathParts':v[K(0x11f)]('/')});await this[K(0xfd)][K(0xf2)]({'filePath':C+'.'+z,'importName':'AuthContext','modulePath':y?'/imports/startup/lib/authentication-provider':K(0x118),'isNamedExport':!![]});const D=this[K(0xfd)][K(0x120)]({'pathParts':w[K(0x11f)]('/')});await this[K(0xfd)][K(0xf2)]({'filePath':D+'.'+z,'importName':K(0x12b),'modulePath':y?K(0x109):K(0x118),'isNamedExport':!![]});const E=this['fsi']['pathFromApp']({'pathParts':x[K(0x11f)]('/')});await this[K(0xfd)][K(0xf2)]({'filePath':E+'.'+z,'importName':K(0x12b),'modulePath':y?'/imports/startup/lib/authentication-provider':K(0x118),'isNamedExport':!![]});}catch(F){Log['error'](F);}},async function(){const M=a120J;console['log'](M(0xfe));},a120f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a121E=a121d;(function(a,b){const B=a121d,c=a();while(!![]){try{const d=-parseInt(B(
|
|
1
|
+
const a121E=a121d;(function(a,b){const B=a121d,c=a();while(!![]){try{const d=-parseInt(B(0x122))/0x1+parseInt(B(0xf2))/0x2+-parseInt(B(0xf0))/0x3+parseInt(B(0xec))/0x4*(-parseInt(B(0x115))/0x5)+-parseInt(B(0x10a))/0x6*(parseInt(B(0x125))/0x7)+-parseInt(B(0x11b))/0x8*(parseInt(B(0x124))/0x9)+parseInt(B(0x10b))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0x23c50));const a121b=(function(){let a=!![];return function(b,c){const d=a?function(){const C=a121d;if(c){const e=c[C(0x127)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){const D=a121d;return a121a[D(0x105)]()[D(0x121)](D(0xf5))[D(0x105)]()['constructor'](a121a)[D(0x121)](D(0xf5));});function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0xe5;let f=c[d];return f;},a121d(a,b);}a121a();import{Generator}from'../../../generator.js';function a121c(){const I=['/imports/startup/lib/templates','error','getDirectories','baseDir','-hook\x22>','checkMeteorPackage','fsi','injectIntoFile','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','dir','kit/mui/frame/app-bars/','toString','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','jsx','options','{this.props.children}','1567818zdFJSv','8827390xFqpPk','join','</div>','{\x20props.children\x20}','react','engines','@mui/material/Container','findAppDirectory','ssr','REACT','461270zMrfIa','layouts','template','{\x20this.props.children\x20}','session','maka:react-tracker','40024qJeFJK','maka\x20g:k:m:f','<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>','frame','basic-sticky-footer','/imports/startup/client/templates','search','94083yTGfXJ','tsx','9VFEenB','7picsjv','injectAroundString','apply','\x20/>\x0a','getFiles','</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','/imports/ui/','create','replaceAll','pathFromApp','Cleaning\x20up...','basic-drawer','test','length','force','{props.children}','/imports/ui/components','injectImport','8LaOpGf','log','.js','Box','838938DfPtLF','<div\x20id=\x22','176632SxfiYa','appName','maka\x20generate:kit:mui:frame','(((.+)+)+)+$','getMakaProjectConfig','withValue','injectTemplateModule','true'];a121c=function(){return I;};return a121c();}import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a121e from'path';import a121f from'./mui.generator.js';import{paramCase,pascalCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a121E(0x12c)]({'name':a121E(0x11e),'aliases':['f'],'usage':'maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','shortDesc':'Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','validOpts':[a121E(0x116),a121E(0xfd),a121E(0x103),'force'],'isPro':![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines['MATERIAL'],'client':ClientEngines[a121E(0x114)]},'examples':[a121E(0xf4),a121E(0x11c)],'description':a121E(0x102)},async function(a,b){const F=a121E;try{const c=b[F(0xe8)]||![],d='basic-app-bar',f=F(0xe5),g=F(0x11f),h=this[F(0x100)][F(0xf6)](),i=h[F(0x110)][F(0x113)]===F(0xf9);await this[F(0x100)][F(0xff)]([F(0x119),F(0x11a)],{'shouldInstall':!![]});const j=this[F(0x100)][F(0x112)](),k=a121e[F(0x10c)](j,'imports','ui',F(0x116)),l=this['fsi'][F(0xfc)](k),m=await Actions[F(0x108)]({'type':'checkbox','name':F(0x116),'message':F(0x106),'choices':l});if(m[F(0x116)][F(0xe7)]===0x0){Log[F(0xfb)]('No\x20layouts\x20selected');return;}const n=b[F(0xfd)]?F(0x12b)+b[F(0xfd)]:F(0xea),o=this[F(0x100)][F(0x12e)]({'pathParts':[n,b['dir'],paramCase(d),paramCase(d)]}),p=this[F(0x100)][F(0x12e)]({'pathParts':[n,b[F(0x103)],paramCase(f),paramCase(f)]}),q=this[F(0x100)]['pathFromApp']({'pathParts':[n,b[F(0x103)],paramCase(g),paramCase(g)]}),r={'name':headerCase(h[F(0xf3)])[F(0x12d)]('-','\x20')};await this[F(0x100)][F(0xf7)](h,async()=>{const G=F;await this[G(0x100)][G(0x117)]({'srcPath':G(0x104)+d+G(0xee),'destPath':o+'.js','framework':G(0x10f),'context':r,'config':h,'force':c,'ignore':![]}),await this[G(0x100)][G(0x117)]({'srcPath':'kit/mui/frame/drawers/'+f+'.js','destPath':p+G(0xee),'framework':G(0x10f),'context':r,'config':h,'force':c,'ignore':![]}),await this[G(0x100)][G(0x117)]({'srcPath':'kit/mui/frame/footers/'+g+G(0xee),'destPath':q+'.js','framework':G(0x10f),'context':r,'config':h,'force':c,'ignore':![]});});const s=''+n+b['dir']+'/'+d+'/'+d;await this[F(0x100)][F(0xf8)](d,h,s);const t=''+n+b['dir']+'/'+f+'/'+f;await this[F(0x100)][F(0xf8)](f,h,t);const u=''+n+b[F(0x103)]+'/'+g+'/'+g;await this[F(0x100)][F(0xf8)](g,h,u);const {layouts:v}=m;for(const w of v){const x=this[F(0x100)][F(0x129)](a121e[F(0x10c)](k,w),{'extensions':[F(0x107),F(0x123)],'omit':['app-tests','tests',F(0xe6)]});for(const y of x){const z=a121e[F(0x10c)](k,w,y);await this[F(0x100)]['injectImport']({'filePath':z,'importName':F(0xef),'modulePath':'@mui/material/Box','isNamedExport':![]}),await this['fsi']['injectImport']({'filePath':z,'importName':'Container','modulePath':F(0x111),'isNamedExport':![]}),await this['fsi'][F(0xeb)]({'filePath':z,'importName':pascalCase(d),'modulePath':i?F(0xfa):F(0x120),'isNamedExport':!![]}),await this[F(0x100)][F(0x101)]({'filePath':z,'content':'<'+pascalCase(d)+'\x20/>\x0a','begin':[F(0xf1)+w+'\x22>','<div\x20id=\x22'+w+F(0xfe)],'end':['{this.props.children}',F(0x118),F(0xe9),F(0x10e)]}),await this[F(0x100)][F(0xeb)]({'filePath':z,'importName':pascalCase(f),'modulePath':i?F(0xfa):F(0x120),'isNamedExport':!![]}),await this[F(0x100)]['injectIntoFile']({'filePath':z,'content':'<'+pascalCase(f)+F(0x128),'begin':[F(0xf1)+w+'\x22>',F(0xf1)+w+F(0xfe)],'end':[F(0x109),F(0x118),F(0xe9),F(0x10e)]}),await this[F(0x100)][F(0x101)]({'filePath':z,'content':'<'+pascalCase(g)+F(0x128),'begin':[F(0x109),F(0x118),'{props.children}',F(0x10e)],'end':[F(0x10d)]}),await this['fsi'][F(0xeb)]({'filePath':z,'importName':pascalCase(g),'modulePath':i?'/imports/startup/lib/templates':F(0x120),'isNamedExport':!![]}),await this[F(0x100)][F(0x126)]({'filePath':z,'aboveContent':F(0x11d),'belowContent':F(0x12a),'targetString':[F(0x109),F(0x118),F(0xe9),F(0x10e)],'targetIndentAdjustment':0x6});}}return!![];}catch(A){Log[F(0xfb)](A);}},async function(){const H=a121E;console[H(0xed)](H(0x12f));},a121f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a122j=a122d;(function(a,b){const g=a122d,c=a();while(!![]){try{const d
|
|
1
|
+
const a122j=a122d;(function(a,b){const g=a122d,c=a();while(!![]){try{const d=parseInt(g(0x1fc))/0x1+-parseInt(g(0x1f0))/0x2+parseInt(g(0x1f5))/0x3+parseInt(g(0x1fa))/0x4+-parseInt(g(0x1f8))/0x5+-parseInt(g(0x1f4))/0x6*(-parseInt(g(0x1ef))/0x7)+-parseInt(g(0x1ff))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0x8d240));const a122b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a122d;if(c){const e=c[h(0x1f7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){const i=a122d;return a122a[i(0x1f3)]()['search'](i(0x207))[i(0x1f3)]()[i(0x1fb)](a122a)[i(0x1f2)](i(0x207));});a122a();import{Generator}from'../../../generator.js';import{Actions}from'../../../tools/actions/actions.class.js';function a122c(){const l=['\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','create','notice','(((.+)+)+)+$','maka\x20g:kit:m','fsi','auth','No\x20MUI\x20kits\x20selected.\x20Exiting.','getMakaProjectConfig','mui','length','85043omWUNa','1188480oFSldI','findProjectDirectory','search','toString','198aCcskc','637245bqVVzF','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','apply','2353470MPGxXR','frame','3113400rlXnYY','constructor','289233ECjmcH','info','kit:mui:auth','302952jeeXHM','processAndRunGenerator','includes','Material-UI\x20Kit','kitChoices'];a122c=function(){return l;};return a122c();}import{Log}from'../../../tools/log/log.class.js';import a122e from'../../../generators/maka.gen.js';import a122f from'../kit.js';function a122d(a,b){const c=a122c();return a122d=function(d,e){d=d-0x1e9;let f=c[d];return f;},a122d(a,b);}const MuiGen=Generator[a122j(0x205)]({'name':a122j(0x1ed),'aliases':['m'],'usage':a122j(0x1f6),'noNeedResource':!![],'shortDesc':a122j(0x202),'validOpts':[''],'isPro':!![],'examples':[a122j(0x208)]},async function(){const k=a122j;Log[k(0x1fd)]('Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!'),Log[k(0x206)](k(0x204));const {kitChoices:a}=await Actions['options']({'type':'checkbox','name':k(0x203),'message':'Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','choices':[{'name':'Header,\x20Footer,\x20and\x20Drawer','value':k(0x1f9)},{'name':'Auth\x20workflow\x20(login,\x20logout,\x20etc.)','value':k(0x1ea)}]}),b=this[k(0x1e9)][k(0x1f1)](),c=this['fsi'][k(0x1ec)]();a[k(0x201)](k(0x1f9))&&await a122e[k(0x200)]('kit:mui:frame',[],{'force':!![],'cwd':b,'config':c});a[k(0x201)](k(0x1ea))&&await a122e[k(0x200)](k(0x1fe),[],{'force':!![],'cwd':b,'config':c});if(a[k(0x1ee)]===0x0){Log[k(0x1fd)](k(0x1eb));return;}},async function(){},a122f);export default MuiGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a123o=a123d;(function(a,b){const l=a123d,c=a();while(!![]){try{const d=-parseInt(l(
|
|
1
|
+
function a123c(){const r=['includes','constructor','resourceName','316QnNjSD','string','checkNpmPackage','react','injectTemplateModule','test','getMakaProjectConfig','withHook','1570448muvriO','component/component.js','client','Scaffolding\x20for\x20a\x20React\x20Layout.','engines','(((.+)+)+)+$','none','7867440gBLDmu','layout','setTemplate','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','dir','features','fileName','test/test.js','54075ufhVVT','maka\x20g:layout\x20mobile/iPhone8','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','.js','true','4057OxkRhF','1338354OzpPdR','apply','api','graphql','withTranslations','/imports/ui/layouts','split','42mwHhXj','import\x20\x27./','hook/hook.js','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','css','ramda','withHooks','injectAtBeginningOfFile','pathFromProject','7RDMzYc','template','.app-tests.js','relative','fsi','create','className','warn','1685073LGOgpe','pathFromApp','3013336qRmYbn','maka\x20g:l\x20web/safari','template/template.css','installNpmPackage'];a123c=function(){return r;};return a123c();}const a123o=a123d;function a123d(a,b){const c=a123c();return a123d=function(d,e){d=d-0x125;let f=c[d];return f;},a123d(a,b);}(function(a,b){const l=a123d,c=a();while(!![]){try{const d=-parseInt(l(0x15e))/0x1*(-parseInt(l(0x142))/0x2)+-parseInt(l(0x139))/0x3+-parseInt(l(0x13b))/0x4+-parseInt(l(0x159))/0x5*(parseInt(l(0x128))/0x6)+parseInt(l(0x131))/0x7*(parseInt(l(0x14a))/0x8)+parseInt(l(0x15f))/0x9+parseInt(l(0x151))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0x5d450));const a123b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a123d;if(c){const e=c[m(0x160)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){const n=a123d;return a123a['toString']()['search'](n(0x14f))['toString']()[n(0x140)](a123a)['search'](n(0x14f));});a123a();import a123e 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[a123o(0x136)]({'name':a123o(0x152),'aliases':aliases,'usage':a123o(0x154),'shortDesc':a123o(0x14d),'validOpts':[a123o(0x149)],'examples':[a123o(0x15a),a123o(0x13c)]},async function(a,b){const p=a123o,c=p(0x126),d=this['fsi']['findAppDirectory'](),e=this[p(0x135)][p(0x13a)]({'pathParts':[c,b[p(0x155)],paramCase(b[p(0x141)]),paramCase(b[p(0x141)])]}),f=this['fsi'][p(0x148)]();await this['fsi']['withValue'](f,async()=>{const q=p;typeof f[q(0x132)][q(0x147)]===q(0x143)&&(f['template']['test']=f['template'][q(0x147)]==='true'?!![]:![],this[q(0x135)]['setTemplate']('test',f[q(0x132)][q(0x147)]));typeof f['template']['css']===q(0x143)&&(f[q(0x132)][q(0x12c)]=f[q(0x132)][q(0x12c)]===q(0x15d)?!![]:![],this[q(0x135)]['setTemplate'](q(0x12c),f[q(0x132)][q(0x12c)]));typeof f['template']['js']===q(0x143)&&(f[q(0x132)]['js']=f[q(0x132)]['js']===q(0x15d)?!![]:![],this[q(0x135)][q(0x153)]('js',f[q(0x132)]['js']));!f[q(0x156)]&&(f[q(0x156)]={});const g=b['_']?b['_'][0x0][q(0x127)](':')[0x1]:![],h=b['_']&&aliases[q(0x13f)](g);h&&!this[q(0x144)]('ramda')&&(Log[q(0x138)](q(0x15b)),this[q(0x135)][q(0x13e)](q(0x12d),{'cwd':d}));if(h&&!this[q(0x144)](q(0x145))){Log[q(0x138)](q(0x12b));return;}const i={'name':pascalCase(b[q(0x141)]),'myPath':a123e[q(0x134)](this[q(0x135)][q(0x130)]({}),e),'cssCaseName':paramCase(b[q(0x141)]),'className':pascalCase(b[q(0x141)]),'camelCaseName':camelCase(b['resourceName']),'fileName':paramCase(b[q(0x141)]),'graphql':f[q(0x14e)][q(0x162)],'features':f[q(0x156)],'client':f[q(0x14e)][q(0x14c)],'api':f[q(0x14e)][q(0x161)],'ssr':f[q(0x14e)]['ssr'],'test':f[q(0x14e)][q(0x147)],'theme':f[q(0x14e)]['theme'],'isComponent':![],'isLayout':!![],'withTranslations':f[q(0x156)][q(0x125)]};f[q(0x156)]?.[q(0x12e)]||b[q(0x149)]?await this[q(0x135)][q(0x132)]({'srcPath':q(0x12a),'destPath':e+q(0x15c),'framework':q(0x145),'context':i,'config':f}):await this[q(0x135)]['template']({'srcPath':q(0x14b),'destPath':e+q(0x15c),'framework':'react','context':i,'config':f});f['engines'][q(0x147)]!==q(0x150)&&await this[q(0x135)][q(0x132)]({'srcPath':q(0x158),'destPath':e+q(0x133),'framework':q(0x145),'context':i,'config':f});f[q(0x132)][q(0x12c)]&&(await this[q(0x135)][q(0x132)]({'srcPath':q(0x13d),'destPath':e+'.css','context':Object['assign']({},i,{'className':paramCase(b[q(0x141)])}),'config':f}),await this[q(0x135)][q(0x12f)]({'filePath':e+'.'+f['engines']['js'],'content':q(0x129)+i[q(0x157)]+'.'+f[q(0x14e)][q(0x12c)]+'\x27;'}));const j=b[q(0x155)]?'/'+b[q(0x155)]+'/':'/',k=''+c+j+i[q(0x157)]+'/'+i['fileName'];await this[q(0x135)][q(0x146)](i[q(0x137)],f,k);});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a124i=a124d;(function(a,b){const f=a124d,c=a();while(!![]){try{const d
|
|
1
|
+
const a124i=a124d;function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0x1e8;let f=c[d];return f;},a124d(a,b);}(function(a,b){const f=a124d,c=a();while(!![]){try{const d=-parseInt(f(0x1eb))/0x1+-parseInt(f(0x1ee))/0x2*(parseInt(f(0x1e9))/0x3)+parseInt(f(0x1f9))/0x4*(-parseInt(f(0x1ed))/0x5)+parseInt(f(0x1f7))/0x6*(-parseInt(f(0x1fb))/0x7)+parseInt(f(0x1f3))/0x8*(parseInt(f(0x1fa))/0x9)+parseInt(f(0x1e8))/0xa*(-parseInt(f(0x1f6))/0xb)+parseInt(f(0x1f5))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0x7ac52));const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a124d;if(c){const e=c[g(0x1ec)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const h=a124d;return a124a['toString']()[h(0x1f2)](h(0x1f0))[h(0x1ef)]()['constructor'](a124a)[h(0x1f2)]('(((.+)+)+)+$');});a124a();import{Generator}from'../generator.js';const MakaGen=new Generator({'name':a124i(0x1ea),'aliases':['g'],'usage':'maka\x20{generate,\x20g}:<generator>\x20<name>','validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':'Scaffold\x20various\x20parts\x20of\x20your\x20application','examples':['maka\x20generate:scaffold\x20todos','maka\x20g:scaffold\x20todos',a124i(0x1f4),'maka\x20g:package\x20package:name',a124i(0x1f1),'maka\x20g:api\x20trucks',a124i(0x1f8)]},function(){});export default MakaGen;function a124c(){const j=['12CajPsQ','generate','122465kQfGmo','apply','879355NZyWGT','218706oijRvP','toString','(((.+)+)+)+$','maka\x20g:route\x20todos/edit','search','8PlnOjp','maka\x20g:template\x20todos/todo_item','34252812htEFfz','11GCfSEo','281778ItIOWG','maka\x20g:dbc\x20geoserver\x20--type=pgsql','20CnYyAL','3900627ABrGTE','91UEpaeV','7351870pECiGb'];a124c=function(){return j;};return a124c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a125m=a125d;(function(a,b){const j=a125d,c=a();while(!![]){try{const d
|
|
1
|
+
const a125m=a125d;(function(a,b){const j=a125d,c=a();while(!![]){try{const d=parseInt(j(0x14d))/0x1*(-parseInt(j(0x15c))/0x2)+parseInt(j(0x163))/0x3*(-parseInt(j(0x155))/0x4)+-parseInt(j(0x141))/0x5+parseInt(j(0x158))/0x6*(parseInt(j(0x14b))/0x7)+-parseInt(j(0x157))/0x8*(-parseInt(j(0x15d))/0x9)+parseInt(j(0x156))/0xa*(parseInt(j(0x154))/0xb)+parseInt(j(0x15b))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0xdd1e7));function a125c(){const p=['-rpc-method.','resourceName','imports','fsi','maka\x20{generate,\x20g}:{method,\x20m}\x20name','template','injectAtEndOfFile','import\x20\x27./methods','pathFromApp','7jzvHdJ','method','244147StBqaq','dir','ddp-rate-limiter','methods','index.','engines','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','640189IhtdZp','585652UEnTcu','110eGwGec','656072jLxYjJ','1708818vVRNuK','tsx','create','6071988xebWso','4SgPzZn','153XNYNAc','appPathPrefix','startup','maka:check','constructor','maka\x20g:method\x20todos','24zFtcaw','mdg:validated-method','getMakaProjectConfig','search','error','apply','toString','method/method.js','(((.+)+)+)+$','1299215EZqFzv'];a125c=function(){return p;};return a125c();}const a125b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a125d;if(c){const e=c[k(0x168)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){const l=a125d;return a125a[l(0x169)]()['search']('(((.+)+)+)+$')['toString']()[l(0x161)](a125a)[l(0x166)](l(0x16b));});function a125d(a,b){const c=a125c();return a125d=function(d,e){d=d-0x141;let f=c[d];return f;},a125d(a,b);}a125a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a125m(0x15a)]({'name':a125m(0x14c),'aliases':['m'],'usage':a125m(0x146),'checkWhere':!![],'shortDesc':a125m(0x153),'validOpts':['dir'],'examples':[a125m(0x162)]},async function(a,b){const n=a125m;try{const c=this[n(0x145)][n(0x165)]();await this[n(0x145)]['withValue'](c,async()=>{const o=n,d=paramCase(b[o(0x143)]),f={'name':b[o(0x143)],'fileName':d,'className':pascalCase(b[o(0x143)]),'camelCase':camelCase(b[o(0x143)]),'noRename':!![]};let g='js';c[o(0x152)]['js']===o(0x159)&&(g='ts');await this[o(0x145)]['checkMeteorPackage']([o(0x160),o(0x14f),o(0x164)],{'shouldInstall':!![]}),await this['fsi'][o(0x147)]({'srcPath':o(0x16a),'destPath':this[o(0x145)][o(0x14a)]({'pathParts':[o(0x144),o(0x15f),b[o(0x15e)],o(0x150),b[o(0x14e)],d+o(0x142)+g]}),'context':f,'config':c});const h=b['dir']?'/'+b[o(0x14e)]+'/':'/',i=this[o(0x145)][o(0x14a)]({'pathParts':['imports',o(0x15f),b['appPathPrefix'],o(0x151)+c[o(0x152)]['js']]});await this[o(0x145)][o(0x148)]({'filePath':i,'content':o(0x149)+h+d+'-rpc-method\x27;'});});}catch(d){Log[n(0x167)](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a126n=a126d;(function(a,b){const l=a126d,c=a();while(!![]){try{const d=parseInt(l(
|
|
1
|
+
function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0xeb;let f=c[d];return f;},a126d(a,b);}const a126n=a126d;(function(a,b){const l=a126d,c=a();while(!![]){try{const d=parseInt(l(0x107))/0x1+-parseInt(l(0x104))/0x2*(parseInt(l(0x10e))/0x3)+-parseInt(l(0xf5))/0x4+-parseInt(l(0x106))/0x5*(parseInt(l(0xfa))/0x6)+parseInt(l(0xf2))/0x7+parseInt(l(0x112))/0x8*(parseInt(l(0x108))/0x9)+parseInt(l(0xf4))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0x63fc6));const a126b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){const m=a126d;return a126a[m(0x10f)]()[m(0x115)](m(0x105))[m(0x10f)]()['constructor'](a126a)['search'](m(0x105));});a126a();import a126e from'path';function a126c(){const q=['670797FcPgNl','engines','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','pathFromAppWithNoReWrite','lib','relative','27303UflAzW','toString','getMakaProjectConfig','/client/','32gnWUVY','package/package.js','template','search','ssr','packages','noRename','tests/server','maka\x20g:package\x20todos:package','package.js','server','theme','withValue','layout','229852uPoTjM','tests/client','16074110KMdEVc','2738308beonCw','pathFromProject','fsi','template/template.js','store','6rIweJY','.js','client','resourceName','graphql','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','/package.js','dir','create','hasOwnProperty','146NoxLPX','(((.+)+)+)+$','1124545PSuajE','45022jYCHNJ'];a126c=function(){return q;};return a126c();}import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a126n(0x102)]({'name':'package','aliases':['p'],'usage':a126n(0x10a),'shortDesc':a126n(0xff),'validOpts':[a126n(0x101)],'examples':[a126n(0xec)]},async function(a,b){const o=a126n,c=paramCase(b[o(0xfd)]),d=this['fsi']['pathFromApp']({'pathParts':[o(0x117),b[o(0x101)],c]}),e=this[o(0xf7)][o(0x10b)]({'pathParts':[o(0x117),b[o(0x101)],c,o(0xed)]}),f=this[o(0xf7)][o(0x110)]();await this[o(0xf7)][o(0xf0)](f,async()=>{const p=o,g={'name':paramCase(b[p(0xfd)]),'myPath':a126e[p(0x10d)](this['fsi'][p(0xf6)]({}),d),'cssCaseName':paramCase(b[p(0xfd)]),'className':pascalCase(b[p(0xfd)]),'camelCaseName':camelCase(b[p(0xfd)]),'fileName':c,'client':f['engines'][p(0xfc)],'graphql':f[p(0x109)][p(0xfe)],'ssr':f['engines'][p(0x116)],'isComponent':b[p(0x103)]('component'),'isLayout':b[p(0x103)](p(0xf1)),'isStore':b[p(0x103)](p(0xf9)),'features':f['features'],'noRename':!![],'theme':f[p(0x109)][p(0xef)]};await this[p(0xf7)][p(0x114)]({'srcPath':p(0x113),'destPath':e,'context':g,'config':f}),g[p(0x118)]=![];const h=d+p(0x111)+c+p(0xfb);await this['fsi'][p(0x114)]({'srcPath':p(0xf8),'destPath':h,'context':g,'config':f});const i=[p(0x10c),p(0xee),p(0xf3),p(0xeb)];for(const j of i){const k=d+'/'+j+'/'+c+p(0xfb);await this[p(0xf7)][p(0x114)]({'srcPath':'package/'+j+p(0x100),'destPath':k,'context':g,'config':f});}});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a127l=a127d;(function(a,b){const j=a127d,c=a();while(!![]){try{const d=parseInt(j(0x14f))/0x1+parseInt(j(0x17c))/0x2*(-parseInt(j(0x18b))/0x3)+-parseInt(j(0x186))/0x4*(parseInt(j(0x150))/0x5)+-parseInt(j(0x160))/0x6+parseInt(j(0x14e))/0x7+parseInt(j(0x185))/0x8*(parseInt(j(0x165))/0x9)+-parseInt(j(0x15e))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0x5e75c));function a127d(a,b){const c=a127c();return a127d=function(d,e){d=d-0x148;let f=c[d];return f;},a127d(a,b);}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 k=a127d;return a127a[k(0x18e)]()[k(0x188)](k(0x154))[k(0x18e)]()[k(0x166)](a127a)['search']('(((.+)+)+)+$');});a127a();import a127e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import a127f from'../generators/maka.gen.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['p'];Generator['create']({'name':a127l(0x14c),'aliases':aliases,'usage':a127l(0x169),'shortDesc':a127l(0x18c),'validOpts':[{'name':a127l(0x168),'values':[a127l(0x16b),a127l(0x179),a127l(0x153),a127l(0x175)]},{'name':'withHook','boolFlag':!![]}],'examples':['maka\x20g:page\x20todos/todos-item']},async function(a,b){const m=a127l,c=b[m(0x168)]?'/imports/ui/'+b[m(0x168)]:m(0x16c),d=this[m(0x164)][m(0x172)](),e=this[m(0x164)][m(0x178)]({'pathParts':[c,b[m(0x181)],paramCase(b[m(0x170)]),paramCase(b[m(0x170)])]}),f=this['fsi'][m(0x18d)]();let g='';return await this[m(0x164)]['withValue'](f,async()=>{const n=m;typeof f[n(0x15b)][n(0x14d)]==='string'&&(f[n(0x15b)][n(0x14d)]=f['template'][n(0x14d)]===n(0x17a)?!![]:![],this[n(0x164)][n(0x16d)]('html',f[n(0x15b)][n(0x14d)]));typeof f[n(0x15b)]['test']===n(0x183)&&(f['template'][n(0x18a)]=f['template'][n(0x18a)]===n(0x17a)?!![]:![],this[n(0x164)][n(0x16d)]('test',f[n(0x15b)][n(0x18a)]));typeof f[n(0x15b)][n(0x167)]===n(0x183)&&(f[n(0x15b)][n(0x167)]=f[n(0x15b)][n(0x167)]===n(0x17a)?!![]:![],this[n(0x164)][n(0x16d)](n(0x167),f[n(0x15b)]['css']));typeof f[n(0x15b)]['js']===n(0x183)&&(f[n(0x15b)]['js']=f[n(0x15b)]['js']===n(0x17a)?!![]:![],this['fsi']['setTemplate']('js',f[n(0x15b)]['js']));!f[n(0x16f)]&&(f[n(0x16f)]={});!b[n(0x17e)]&&!this[n(0x164)][n(0x14b)](n(0x152))&&(Log[n(0x15d)](n(0x15c)),this[n(0x164)]['installNpmPackage'](n(0x152),{'cwd':d}));const h={'name':pascalCase(b[n(0x170)]),'myPath':a127e[n(0x158)](this[n(0x164)][n(0x16e)]({}),e),'cssCaseName':paramCase(b['resourceName']),'className':pascalCase(b[n(0x170)]),'camelCaseName':camelCase(b[n(0x170)]),'fileName':paramCase(b[n(0x170)]),'graphql':f[n(0x14a)][n(0x157)],'features':f[n(0x16f)],'client':f[n(0x14a)][n(0x17f)],'api':f[n(0x14a)]['api'],'ssr':f[n(0x14a)]['ssr'],'isStore':b['hasOwnProperty'](n(0x17d)),'isComponent':b[n(0x156)](n(0x162)),'isLayout':b[n(0x156)](n(0x159)),'withTranslations':f[n(0x16f)]['withTranslations'],'test':f[n(0x14a)]['test'],'theme':f[n(0x14a)][n(0x151)]};f['template'][n(0x14d)]&&await this[n(0x164)]['template']({'srcPath':'template/template.html','destPath':e+n(0x17b),'context':h,'config':f});f[n(0x16f)]?.[n(0x149)]||b[n(0x177)]?await this[n(0x164)]['template']({'srcPath':n(0x15f),'destPath':e+n(0x148),'framework':'react','context':h,'config':f}):await this[n(0x164)][n(0x15b)]({'srcPath':n(0x161),'destPath':e+n(0x148),'framework':'react','context':h,'config':f});f[n(0x14a)][n(0x18a)]!==n(0x187)&&await this['fsi']['template']({'srcPath':'test/test.js','destPath':e+n(0x173),'framework':n(0x163),'context':h,'config':f});f[n(0x15b)][n(0x167)]&&await this['fsi'][n(0x15b)]({'srcPath':'template/template.css','destPath':e+n(0x184),'context':Object['assign']({},h,{'className':paramCase(b['resourceName'])}),'config':f});f[n(0x14a)][n(0x17f)]!==n(0x163)&&f['engines'][n(0x17f)]!==n(0x16a)?(f[n(0x15b)]['css']&&await this[n(0x164)][n(0x182)]({'filePath':e+'.'+f[n(0x14a)]['js'],'content':n(0x155)+h['fileName']+'.'+f[n(0x14a)]['html']+n(0x176)+n(0x155)+h[n(0x180)]+'.'+f['engines'][n(0x167)]+'\x27;'}),!f['template'][n(0x167)]&&await this[n(0x164)][n(0x182)]({'filePath':e+'.'+f[n(0x14a)]['js'],'content':'import\x20\x27./'+h[n(0x180)]+'.'+f['engines'][n(0x14d)]+'\x27;'})):f[n(0x15b)][n(0x167)]&&await this[n(0x164)]['injectAtBeginningOfFile']({'filePath':e+'.'+f['engines']['js'],'content':n(0x155)+h[n(0x180)]+'.'+f[n(0x14a)][n(0x167)]+'\x27;'});const i=b[n(0x181)]?'/'+b[n(0x181)]+'/':'/';g=''+c+i+h[n(0x180)]+'/'+h[n(0x180)],await this[n(0x164)][n(0x174)](h[n(0x189)],f,g),!b[n(0x17e)]&&await a127f[n(0x15a)](n(0x171),[i+b[n(0x170)]],b);}),g+'.'+f[m(0x14a)]['js'];});function a127c(){const o=['pathFromApp','components','true','.html','93594HMJsoi','store','root','client','fileName','dir','injectAtBeginningOfFile','string','.css','8bQqJsK','4ToePNY','none','search','className','test','3IDNZfo','Generate\x20a\x20page.','getMakaProjectConfig','toString','.js','withHooks','engines','checkNpmPackage','page','html','2100637vLJvNw','245927qOkBOv','2264485vmmXjm','theme','ramda','pages','(((.+)+)+)+$','import\x20\x27./','hasOwnProperty','graphql','relative','layout','processAndRunGenerator','template','Updating\x20npm\x20packages\x20...','warn','1442670cqXyFA','hook/hook.js','79320ojZxEt','component/component.js','component','react','fsi','4482639coMwiB','constructor','css','baseDir','maka\x20{generate,\x20g}:{page,\x20p}\x20[path/]<name>','vanilla','hooks','/imports/ui/pages','setTemplate','pathFromProject','features','resourceName','route','findAppDirectory','.app-tests.js','injectTemplateModule','layouts','\x27;\x0a','withHook'];a127c=function(){return o;};return a127c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a128p=a128d;
|
|
1
|
+
const a128p=a128d;(function(a,b){const m=a128d,c=a();while(!![]){try{const d=parseInt(m(0x183))/0x1*(parseInt(m(0x165))/0x2)+parseInt(m(0x178))/0x3*(parseInt(m(0x179))/0x4)+-parseInt(m(0x188))/0x5*(parseInt(m(0x176))/0x6)+-parseInt(m(0x184))/0x7+-parseInt(m(0x16b))/0x8*(parseInt(m(0x166))/0x9)+-parseInt(m(0x17d))/0xa+-parseInt(m(0x171))/0xb*(-parseInt(m(0x17f))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0x8fc55));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a128d;if(c){const e=c[n(0x163)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const o=a128d;return a128a[o(0x187)]()[o(0x174)]('(((.+)+)+)+$')['toString']()['constructor'](a128a)[o(0x174)]('(((.+)+)+)+$');});a128a();function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0x162;let f=c[d];return f;},a128d(a,b);}import{paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';function a128c(){const s=['2269844xKIwwC','5067882PHVgGn','/imports/ui/','/imports/startup/server/publications','fsi','force','8WxVCRi','getMakaProjectConfig','resourceName','template','exit','withValue','418HJDXVr','injectAtEndOfFile','engines','search','tsx','6LNGPJB','publish','2208393XZevVe','4pMlXhB','dir','imports','appPathPrefix','4123080aWwXui','create','280428DsfzIq','import\x20\x27./publications','error','startup','1bHocoa','2182229Dcxeux','baseDir','Scaffolding\x20for\x20a\x20publish\x20function.\x0ahttps://docs.meteor.com/api/pubsub.html','toString','4415185yUWTJf','pathFromApp','apply','globalPublish'];a128c=function(){return s;};return a128c();}import{Log}from'../tools/log/log.class.js';Generator[a128p(0x17e)]({'name':a128p(0x177),'aliases':['p'],'usage':'maka\x20{generate,\x20g}:{publish,\x20p}\x20<name>','shortDesc':a128p(0x186),'validOpts':[a128p(0x16a),a128p(0x164)],'examples':['maka\x20g:publish\x20todos']},async function(a,b){const q=a128p;try{const c=b['force']||![],d=b[q(0x185)]?q(0x167)+b[q(0x185)]:q(0x168),f=this['fsi'][q(0x16c)](),g=paramCase(b[q(0x16d)]),h=this[q(0x169)][q(0x162)]({'pathParts':[d,b[q(0x17a)],'',g]});let i='js';f[q(0x173)]['js']===q(0x175)&&(i='ts');await this[q(0x169)][q(0x170)](f,async()=>{const r=q,l={'name':b[r(0x16d)],'collection':pascalCase(b[r(0x16d)]),'noRename':!![],'globalPublish':b[r(0x164)]};await this[r(0x169)][r(0x16e)]({'srcPath':'publish/publish.js','destPath':h+'.'+i,'context':l,'config':f,'force':c});});const j=this[q(0x169)][q(0x162)]({'pathParts':[q(0x17b),q(0x182),'server',b[q(0x17c)],'index.'+f[q(0x173)]['js']]}),k=b[q(0x17a)]?'/'+b[q(0x17a)]+'/':'/';return await this['fsi'][q(0x172)]({'filePath':j,'content':q(0x180)+k+g+'\x27;'}),h+'.'+i;}catch(l){Log[q(0x181)](l),process[q(0x16f)](0x1);}});
|