@maka/maka-cli 5.0.33 → 5.0.35
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 +2 -2
- 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/templates/meteor/project/package.json +2 -0
- 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 +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(a,b){var f=a117d,c=a();while(!![]){try{var d=parseInt(f(0x10e))/0x1*(parseInt(f(0x104))/0x2)+-parseInt(f(0x110))/0x3*(parseInt(f(0x10d))/0x4)+parseInt(f(0x102))/0x5*(-parseInt(f(0x10b))/0x6)+-parseInt(f(0x10c))/0x7*(-parseInt(f(0x107))/0x8)+parseInt(f(0x10a))/0x9+parseInt(f(0x108))/0xa+-parseInt(f(0x106))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0xf41d5));function a117c(){var h=['2715573NBQhCo','199076HoGORd','27569HDCpWX','search','21YnkoDB','5VrmJCm','(((.+)+)+)+$','2BfDaow','constructor','14816428zfYOMy','24IKoaPf','10943040LZNukh','toString','4882923JQWbNI','798078jyTIaG'];a117c=function(){return h;};return a117c();}var a117b=(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;};}()),a117a=a117b(this,function(){var g=a117d;return a117a[g(0x109)]()[g(0x10f)](g(0x103))[g(0x109)]()[g(0x105)](a117a)['search'](g(0x103));});a117a();function a117d(a,b){var c=a117c();return a117d=function(d,e){d=d-0x102;var f=c[d];return f;},a117d(a,b);}import'./kit.js';import'./mui/_index.js';import'./esri/_index.js';import'./auth/_index.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a118d(a,b){var c=a118c();return a118d=function(d,e){d=d-0x186;var f=c[d];return f;},a118d(a,b);}(function(a,b){var f=a118d,c=a();while(!![]){try{var d=-parseInt(f(0x186))/0x1*(parseInt(f(0x18b))/0x2)+parseInt(f(0x18a))/0x3+-parseInt(f(0x18f))/0x4*(parseInt(f(0x18c))/0x5)+-parseInt(f(0x191))/0x6*(-parseInt(f(0x18e))/0x7)+-parseInt(f(0x18d))/0x8+-parseInt(f(0x190))/0x9+parseInt(f(0x192))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0x342f3));var a118b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a118d;if(c){var e=c[g(0x193)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){var h=a118d;return a118a[h(0x189)]()[h(0x187)](h(0x194))[h(0x189)]()[h(0x188)](a118a)[h(0x187)](h(0x194));});a118a();import'./auth.generator.js';function a118c(){var i=['search','constructor','toString','1088142iifuSC','12PmSfcc','34715ZDyoZE','2812968vjCzHL','7hZCEoU','4vqZTqs','3521142KwNzgY','2378856zhkpSQ','5486510qjfECr','apply','(((.+)+)+)+$','57382tAKwPD'];a118c=function(){return i;};return a118c();}import'./provider.auth.gen.js';import'./basic-meteor.auth.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a119i=a119d;(function(a,b){const f=a119d,c=a();while(!![]){try{const d=-parseInt(f(0x16f))/0x1*(-parseInt(f(0x16a))/0x2)+-parseInt(f(0x168))/0x3+parseInt(f(0x17c))/0x4*(parseInt(f(0x173))/0x5)+parseInt(f(0x177))/0x6*(parseInt(f(0x16e))/0x7)+parseInt(f(0x176))/0x8*(parseInt(f(0x17a))/0x9)+parseInt(f(0x16b))/0xa*(parseInt(f(0x169))/0xb)+-parseInt(f(0x16d))/0xc*(parseInt(f(0x16c))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0xa2f0c));const a119b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a119d;if(c){const e=c[g(0x179)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){const h=a119d;return a119a[h(0x170)]()[h(0x17b)](h(0x175))[h(0x170)]()[h(0x174)](a119a)[h(0x17b)](h(0x175));});a119a();function a119c(){const j=['(((.+)+)+)+$','740136KXJgfb','7916838XsWPNQ','auth','apply','126RNOIQy','search','4XnFZOI','Starting\x20point\x20for\x20generating\x20an\x20Auth\x20Provider','create','3397731sTMVCN','7235602ksXTAb','20RoBEnv','10scJgfF','11401039fODHfr','36zYYWVf','7mJtDiA','70558UJbnnR','toString','maka\x20g:kit:a','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x20\x20','2264585KKUnKk','constructor'];a119c=function(){return j;};return a119c();}import{Generator}from'../../../generator.js';import a119e from'../kit.js';function a119d(a,b){const c=a119c();return a119d=function(d,e){d=d-0x166;let f=c[d];return f;},a119d(a,b);}const AuthGen=Generator[a119i(0x167)]({'name':a119i(0x178),'aliases':['a'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:<kit-name>','shortDesc':a119i(0x166),'resourceNameRequired':![],'validOpts':[''],'isPro':!![],'examples':[a119i(0x171)],'description':a119i(0x172)},async function(){throw'NIE';},async function(){},a119e);export default AuthGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a120u=a120d;function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0x13a;let f=c[d];return f;},a120d(a,b);}(function(a,b){const s=a120d,c=a();while(!![]){try{const d=-parseInt(s(0x15b))/0x1*(parseInt(s(0x14e))/0x2)+parseInt(s(0x16e))/0x3+parseInt(s(0x16d))/0x4+parseInt(s(0x156))/0x5+-parseInt(s(0x157))/0x6+-parseInt(s(0x171))/0x7*(-parseInt(s(0x177))/0x8)+parseInt(s(0x14d))/0x9*(parseInt(s(0x166))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0x22e0a));const a120b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){const t=a120d;return a120a['toString']()[t(0x140)](t(0x13f))[t(0x16b)]()[t(0x164)](a120a)['search']('(((.+)+)+)+$');});a120a();import a120e from'path';import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a120f from'./auth.generator.js';import a120g from'../../../generators/maka.gen.js';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a120u(0x153)]({'name':a120u(0x147),'aliases':['m'],'usage':a120u(0x154),'shortDesc':a120u(0x13b),'validOpts':[a120u(0x146)],'isPro':!![],'resourceNameRequired':![],'mustBeInMakaProject':!![],'requiredEngines':{'client':ClientEngines[a120u(0x162)]},'description':a120u(0x165)},async function(a,b){const v=a120u,{fsi:c,pkg:d,scaffold:f,projectConfig:g}=this;try{const h=b['force']||![];await d[v(0x173)]([v(0x143)],{'shouldInstall':!![]});const i=c[v(0x16a)](),j=c[v(0x151)](),k=g[v(0x168)]['ssr']===v(0x147);await a120g[v(0x14a)](v(0x15c),[],{'force':h,'cwd':i,'config':g}),await a120g[v(0x14a)]('publish',['auth/roles'],{'force':h,'globalPublish':!![],'cwd':i,'config':g});const l=j+a120e[v(0x179)]('/imports/startup/server/publications/auth/roles.js'),m=k?v(0x13d):v(0x167),n=f[v(0x14b)]({'pathParts':[m,'','',v(0x170)]});await f[v(0x14f)]({'srcPath':v(0x158),'destPath':n+v(0x16f),'framework':'react','context':{},'config':g,'force':h,'ignore':![]});const o=f['pathFromApp']({'pathParts':[m,'','',v(0x15d)]}),p=g['engines']['js'];await f[v(0x150)]({'filePath':o+'.'+p,'importName':v(0x152),'modulePath':k?v(0x172):v(0x14c),'isNamedExport':![]}),await f[v(0x160)]({'filePath':o+'.'+p,'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':v(0x13e),'replace':!![]}),await f[v(0x160)]({'filePath':o+'.'+p,'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':v(0x149),'replace':!![]}),await f[v(0x160)]({'filePath':o+'.'+p,'content':v(0x16c),'begin':v(0x13c),'replace':!![]}),await f['injectIntoCodeBlock']({'filePath':o+'.'+p,'content':v(0x174),'begin':'const\x20deauthenticateUser','replace':!![]}),await f[v(0x160)]({'filePath':o+'.'+p,'content':v(0x17a),'begin':v(0x148),'replace':!![]}),await f['injectIntoCodeBlock']({'filePath':o+'.'+p,'content':v(0x175),'begin':'const\x20registerNewUser','replace':!![]}),await f[v(0x160)]({'filePath':o+'.'+p,'content':v(0x17b),'begin':v(0x13a),'replace':!![]});k&&(await f[v(0x150)]({'filePath':o+'.'+p,'importName':v(0x163),'modulePath':v(0x145),'isNamedExport':!![]}),await f[v(0x169)]({'filePath':o+'.'+p,'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':v(0x142),'end':v(0x15f)}));await f['injectImport']({'filePath':l,'importName':v(0x144),'modulePath':'meteor/meteor','isNamedExport':!![],'injectAtStart':!![]}),await f['injectIntoCodeBlock']({'filePath':l,'content':'\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','begin':v(0x178),'replace':!![]});const q=f['pathFromApp']({'pathParts':[v(0x176),'startup',v(0x141),'index']});await f[v(0x150)]({'filePath':q+'.'+p,'importName':'Accounts','modulePath':v(0x155),'isNamedExport':!![]}),await f[v(0x160)]({'filePath':q+'.'+p,'content':v(0x15a),'begin':v(0x15e),'replace':!![]});}catch(r){Log[v(0x159)](r),process[v(0x161)](0x1);}},async function(){},a120f);function a120c(){const w=['const\x20resetPasswordWithToken','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','const\x20getUserAuthorizations','/imports/startup/lib','const\x20authenticateUser','(((.+)+)+)+$','search','server','export\x20const\x20AuthProvider','accounts-password','Meteor','meteor/maka:react-tracker','force','meteor','const\x20sendForgotPasswordEmail','const\x20authenticateToken','processAndRunGenerator','pathFromApp','/imports/startup/client/authentication-service','1611feShzd','2OYmbWu','template','injectImport','findAppDirectory','AuthService','create','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','meteor/accounts-base','1126715OdLWkr','1670982QPxGuJ','kit/auth/service/meteor-auth-service.js','error','\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','243431PXSmrN','kit:auth:provider','authentication-provider','Meteor.startup','useEffect\x5c(','injectIntoCodeBlock','exit','REACT','useTracker','constructor','\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','14470DIopxZ','/imports/startup/client','engines','injectIntoFile','findProjectDirectory','toString','\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','20572VKWfbl','437850tmqhUg','.js','authentication-service','18669tcYgLd','/imports/startup/lib/authentication-service','checkMeteorPackage','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','imports','88VCzPbH','Meteor.publish','normalize','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20'];a120c=function(){return w;};return a120c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a121x=a121d;(function(a,b){const u=a121d,c=a();while(!![]){try{const d=-parseInt(u(
|
|
1
|
+
function a121c(){const z=['force','.js','50SrQyva','1930IYfuCt','1310904eNmfeC','<AppRoutes\x20history={history}/>','apply','engines','9481528EgSVcW','authentication-provider','171702FjpYqc','14806JehIaW','/imports/startup/client/index','\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','<AuthProvider>','/imports/startup/client/authentication-provider','scaffold','create','meteor','REACT','4843377NbHeDE','injectImport','search','kit/auth/provider/authentication-provider.js','constructor','<AppRoutes\x20/>','injectIntoCodeBlock','947XsQHYg','AuthProvider','(((.+)+)+)+$','/imports/startup/lib/authentication-provider','split','react','function\x20useAuth','2284piDVkv','/imports/startup/client','const\x20useAuth','useContext','pathFromApp','\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','template','ssr','bright','\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','provider','toString','/imports/startup/lib','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','const\x20PrivateRoute','</AuthProvider>','8373ymTfSz','Creating\x20an\x20AuthProvider\x20and\x20AuthContext','error','appName','3030FfTIGr','/imports/startup/server/index','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','exit'];a121c=function(){return z;};return a121c();}const a121x=a121d;(function(a,b){const u=a121d,c=a();while(!![]){try{const d=-parseInt(u(0x1bb))/0x1*(-parseInt(u(0x1dd))/0x2)+-parseInt(u(0x1d2))/0x3*(parseInt(u(0x1c2))/0x4)+parseInt(u(0x1dc))/0x5*(-parseInt(u(0x1e4))/0x6)+-parseInt(u(0x1de))/0x7+parseInt(u(0x1e2))/0x8+parseInt(u(0x1ee))/0x9+-parseInt(u(0x1d6))/0xa*(-parseInt(u(0x1e5))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0xeec0e));function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0x1b5;let f=c[d];return f;},a121d(a,b);}const a121b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a121d;if(c){const e=c[v(0x1e0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){const w=a121d;return a121a[w(0x1cd)]()[w(0x1b6)](w(0x1bd))['toString']()[w(0x1b8)](a121a)[w(0x1b6)](w(0x1bd));});a121a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a121e from'./auth.generator.js';import{capitalCase}from'change-case';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a121x(0x1eb)]({'name':a121x(0x1cc),'aliases':['p'],'usage':a121x(0x1cf),'shortDesc':a121x(0x1d8),'validOpts':[a121x(0x1da)],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'client':ClientEngines[a121x(0x1ed)]},'description':a121x(0x1cb)},async function(a,b){const y=a121x;try{const c=b[y(0x1da)]||![];Log[y(0x1ca)](y(0x1d3));const {projectConfig:d}=this,f=d[y(0x1e1)][y(0x1c9)]===y(0x1ec),g={'name':capitalCase(d[y(0x1d5)])},h=f?y(0x1ce):y(0x1c3),i=this['scaffold'][y(0x1c6)]({'pathParts':[h,'','',y(0x1e3)]});await this[y(0x1ea)][y(0x1c8)]({'srcPath':y(0x1b7),'destPath':i+y(0x1db),'framework':'react','context':g,'config':d,'force':c,'ignore':![]});const j=d['engines']['js'],k=h+'/routes',l=k['split']('/'),m=this[y(0x1ea)][y(0x1c6)]({'pathParts':l});await this[y(0x1ea)]['injectImport']({'filePath':m+'.'+j,'importName':'AuthContext','modulePath':f?y(0x1be):y(0x1e9),'isNamedExport':!![]}),await this[y(0x1ea)][y(0x1b5)]({'filePath':m+'.'+j,'importName':y(0x1c5),'modulePath':y(0x1c0),'isNamedExport':!![],'injectAtStart':!![]}),await this['scaffold']['injectIntoCodeBlock']({'filePath':m+'.'+j,'content':y(0x1e7),'begin':[y(0x1c4),y(0x1c1)],'replace':!![]}),await this[y(0x1ea)][y(0x1ba)]({'filePath':m+'.'+j,'content':y(0x1c7),'begin':[y(0x1d0)],'replace':!![]});const n=y(0x1e6),o=n['split']('/'),p=this[y(0x1ea)]['pathFromApp']({'pathParts':o});await this[y(0x1ea)][y(0x1b5)]({'filePath':p+'.'+j,'importName':y(0x1bc),'modulePath':f?y(0x1be):y(0x1e9),'isNamedExport':!![]}),await this[y(0x1ea)]['injectAroundString']({'filePath':p+'.'+j,'aboveContent':y(0x1e8),'belowContent':y(0x1d1),'targetString':y(0x1b9),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q=y(0x1d7),r=q[y(0x1bf)]('/'),s=this[y(0x1ea)][y(0x1c6)]({'pathParts':r});await this[y(0x1ea)]['injectImport']({'filePath':s+'.'+j,'importName':y(0x1bc),'modulePath':f?y(0x1be):y(0x1e9),'isNamedExport':!![]}),await this['scaffold']['injectAroundString']({'filePath':s+'.'+j,'aboveContent':y(0x1e8),'belowContent':'</AuthProvider>','targetString':y(0x1df),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log[y(0x1d4)](t),process[y(0x1d9)](0x1);}},async function(){},a121e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a122c(){var i=['6209416dvnWWq','1718995BroiFc','4707828jZgZPA','toString','10630BsmpnD','apply','2aCDFxR','67092NmTUEW','38445HbWAdH','(((.+)+)+)+$','10504879OOIioy','126rFocOi','6eknnbq','525295KdbTjm'];a122c=function(){return i;};return a122c();}(function(a,b){var f=a122d,c=a();while(!![]){try{var d=-parseInt(f(0x94))/0x1*(parseInt(f(0x9b))/0x2)+parseInt(f(0x92))/0x3*(parseInt(f(0x9c))/0x4)+-parseInt(f(0x96))/0x5*(parseInt(f(0x93))/0x6)+-parseInt(f(0x91))/0x7+-parseInt(f(0x95))/0x8+-parseInt(f(0x97))/0x9+parseInt(f(0x99))/0xa*(parseInt(f(0x9d))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0xb73ff));var a122b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a122d;if(c){var e=c[g(0x9a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){var h=a122d;return a122a['toString']()['search'](h(0x9e))[h(0x98)]()['constructor'](a122a)['search'](h(0x9e));});a122a();function a122d(a,b){var c=a122c();return a122d=function(d,e){d=d-0x91;var f=c[d];return f;},a122d(a,b);}import'./esri.generator.js';import'./map.esri.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a123i=a123d;(function(a,b){const f=a123d,c=a();while(!![]){try{const d=parseInt(f(0xa8))/0x1+parseInt(f(0xa9))/0x2*(-parseInt(f(0xaf))/0x3)+-parseInt(f(0xaa))/0x4+parseInt(f(0xa7))/0x5*(-parseInt(f(0xa3))/0x6)+parseInt(f(0xa4))/0x7*(parseInt(f(0xac))/0x8)+parseInt(f(0xa1))/0x9*(-parseInt(f(0xa6))/0xa)+parseInt(f(0xab))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0x9131f));const a123b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a123d;if(c){const e=c[g(0x9c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){const h=a123d;return a123a[h(0x9e)]()['search']('(((.+)+)+)+$')[h(0x9e)]()[h(0xae)](a123a)[h(0x9b)](h(0x9d));});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';const EsriGen=Generator['create']({'name':a123i(0xa0),'aliases':['e'],'usage':a123i(0x9a),'shortDesc':a123i(0xa5),'resourceNameRequired':![],'validOpts':[''],'isPro':!![],'examples':[a123i(0x9f)],'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=a123i;return{'success':!![],'message':j(0xa2),'details':{'filesCreated':['/foo/bar'],'filesUpdated':[j(0xad)]}};},async function(){},a123e);export default EsriGen;function a123c(){const k=['690JazZdl','35TtVlzl','930675SWLrrr','22LVNXqa','1604968ZNxSTi','15338774SkVuFH','8XnhxpQ','/foo','constructor','260994mwPFJm','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','search','apply','(((.+)+)+)+$','toString','maka\x20g:kit:e','esri','104976mnQwJK','Esri\x20Kit\x20generated\x20successfully','362160OeFNqh','5986162FcDLpp','Starting\x20point\x20for\x20generating\x20Esri\x20Maps'];a123c=function(){return k;};return a123c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a124v=a124d;(function(a,b){const s=a124d,c=a();while(!![]){try{const d=parseInt(s(
|
|
1
|
+
const a124v=a124d;(function(a,b){const s=a124d,c=a();while(!![]){try{const d=parseInt(s(0xe1))/0x1*(-parseInt(s(0xf6))/0x2)+-parseInt(s(0xf3))/0x3*(-parseInt(s(0xfe))/0x4)+parseInt(s(0x107))/0x5*(-parseInt(s(0xf9))/0x6)+parseInt(s(0xf0))/0x7*(-parseInt(s(0xfc))/0x8)+parseInt(s(0xff))/0x9*(-parseInt(s(0xe5))/0xa)+parseInt(s(0xfb))/0xb*(-parseInt(s(0xdf))/0xc)+parseInt(s(0x100))/0xd;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0x862e4));const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){const t=a124d;if(c){const e=c[t(0xea)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const u=a124d;return a124a[u(0xdc)]()[u(0xfd)]('(((.+)+)+)+$')['toString']()['constructor'](a124a)[u(0xfd)](u(0xe2));});a124a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a124e from'./esri.generator.js';function a124c(){const x=['ssr','7790299lOShDQ','32nzOqKH','search','52mbgDBE','9AAlfDp','21087534oQfkuA','.js','injectImport','checkNpmPackage','react','/imports/ui/hooks','/imports/startup/lib/templates','5kySdqd','findProjectDirectory','baseDir','injectTemplateModule','<div\x20id=\x22map\x22>','@esri/react-arcgis','toString','template','\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','12PzyuIH','pathFromApp','12347DVbimM','(((.+)+)+)+$','Generate\x20an\x20Esri\x20map\x20component','appName','4181630tUhNyX','REACT','meteor','dir','replaceAll','apply','map','/imports/startup/client/templates','create','/imports/ui/','engines','413917PjTmME','esri-loader','basic-map','221316EgDxFt','bright','exit','24vcQlYO','error','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','3122940HSlBsl'];a124c=function(){return x;};return a124c();}import a124f from'../../../generators/maka.gen.js';import{kebabCase,capitalCase,pascalCase}from'change-case';function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0xd8;let f=c[d];return f;},a124d(a,b);}import{ClientEngines,SsrEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a124v(0xed)]({'name':a124v(0xeb),'aliases':['m'],'usage':a124v(0xf8),'shortDesc':a124v(0xe3),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'client':ClientEngines[a124v(0xe6)],'ssr':SsrEngines['NONE']},'description':a124v(0xde)},async function(a,b){const w=a124v;try{const {projectConfig:c,fsi:d,pkg:f,scaffold:g}=this;Log[w(0xf4)]('Generating\x20a\x20map\x20component');const h=w(0xf2);await f[w(0x103)]([w(0xdb),w(0xf1)],{'shouldInstall':!![]});const i=d[w(0x108)](),j=c[w(0xef)][w(0xfa)]===w(0xe7),k=await a124f['processAndRunGenerator']('page',[w(0xeb)],{'cwd':i,'config':c}),l={'name':capitalCase(c[w(0xe4)])[w(0xe9)]('-','\x20'),'componentName':pascalCase(h)},m=b[w(0xd8)]?w(0xee)+b[w(0xd8)]:w(0x105),n=g[w(0xe0)]({'pathParts':[m,b[w(0xe8)],kebabCase(h),kebabCase(h)]});await g[w(0xdd)]({'srcPath':'kit/esri/map/'+h+w(0x101),'destPath':n+w(0x101),'framework':w(0x104),'context':l,'config':c,'force':![],'ignore':![]});const o=''+m+b[w(0xe8)]+'/'+h+'/'+h;await g[w(0xd9)](h,c,o);const p=k['split']('/'),q=g['pathFromApp']({'pathParts':p});await g[w(0x102)]({'filePath':q,'importName':pascalCase(h),'modulePath':j?w(0x106):w(0xec),'isNamedExport':!![]}),await g['injectIntoFile']({'filePath':q,'content':'\x0a<'+pascalCase(h)+'\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','begin':[w(0xda),'<div\x20id=\x22map\x22>'],'end':['</div>'],'replace':!![]});}catch(r){Log[w(0xf7)](r),process[w(0xf5)](0x1);}},async function(){},a124e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a125i=a125d;function a125c(){const j=['425953PHllFZ','11607295HLlCiF','6410905qvVwpC','30164WyQPRk','search','1CESBBp','6XnxgTU','5401850traExc','(((.+)+)+)+$','constructor','toString','1036734qBUbUu','12812224EKZtTQ','54sYOUDf','192pngdnR','apply','maka\x20{generate,\x20g}:{kit}\x20<name>','9qWOJvh'];a125c=function(){return j;};return a125c();}(function(a,b){const f=a125d,c=a();while(!![]){try{const d=-parseInt(f(0xe9))/0x1*(parseInt(f(0xef))/0x2)+parseInt(f(0xf1))/0x3*(parseInt(f(0xf9))/0x4)+parseInt(f(0xf8))/0x5*(parseInt(f(0xea))/0x6)+-parseInt(f(0xf7))/0x7+-parseInt(f(0xf0))/0x8*(-parseInt(f(0xf5))/0x9)+-parseInt(f(0xeb))/0xa+-parseInt(f(0xf6))/0xb*(-parseInt(f(0xf2))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0xe12a6));function a125d(a,b){const c=a125c();return a125d=function(d,e){d=d-0xe8;let f=c[d];return f;},a125d(a,b);}const a125b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a125d;if(c){const e=c[g(0xf3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){const h=a125d;return a125a[h(0xee)]()[h(0xe8)](h(0xec))[h(0xee)]()[h(0xed)](a125a)[h(0xe8)](h(0xec));});a125a();import{Generator}from'../../generator.js';const KitGen=Generator['create']({'name':'kit','aliases':['k'],'usage':a125i(0xf4),'shortDesc':'Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','minArgLength':0x1,'isPro':!![],'validOpts':[],'resourceNameRequired':![],'examples':['maka\x20g:kit','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(0x17a))/0x1*(parseInt(f(0x172))/0x2)+-parseInt(f(0x17f))/0x3*(-parseInt(f(0x177))/0x4)+-parseInt(f(0x175))/0x5+parseInt(f(0x17b))/0x6*(-parseInt(f(0x176))/0x7)+parseInt(f(0x171))/0x8*(-parseInt(f(0x179))/0x9)+-parseInt(f(0x170))/0xa*(parseInt(f(0x17d))/0xb)+parseInt(f(0x174))/0xc*(parseInt(f(0x173))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0x323b5));function a126c(){var i=['729824RmIKnL','constructor','3216177gGMZHI','3GguiKu','55092lNlgIb','search','363mclIto','apply','3gScQvQ','toString','(((.+)+)+)+$','94190uCHvwO','8Clbjka','240882sWGoVK','375271GMRnIS','348bPBfSS','1524945JAgDlq','154LpedzT'];a126c=function(){return i;};return a126c();}var a126b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a126d;if(c){var e=c[g(0x17e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){var h=a126d;return a126a['toString']()[h(0x17c)](h(0x181))[h(0x180)]()[h(0x178)](a126a)[h(0x17c)]('(((.+)+)+)+$');});a126a();function a126d(a,b){var c=a126c();return a126d=function(d,e){d=d-0x170;var f=c[d];return f;},a126d(a,b);}import'./mui.generator.js';import'./frame.mui.gen.js';import'./auth.mui.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a127L=a127d;(function(a,b){const I=a127d,c=a();while(!![]){try{const d=parseInt(I(
|
|
1
|
+
const a127L=a127d;(function(a,b){const I=a127d,c=a();while(!![]){try{const d=parseInt(I(0x1a1))/0x1*(-parseInt(I(0x174))/0x2)+parseInt(I(0x168))/0x3+parseInt(I(0x180))/0x4+parseInt(I(0x166))/0x5+parseInt(I(0x17c))/0x6*(parseInt(I(0x16f))/0x7)+parseInt(I(0x171))/0x8*(parseInt(I(0x181))/0x9)+-parseInt(I(0x17d))/0xa*(parseInt(I(0x18f))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0xb52b1));const a127b=(function(){let a=!![];return function(b,c){const d=a?function(){const J=a127d;if(c){const e=c[J(0x190)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){const K=a127d;return a127a[K(0x19f)]()[K(0x18b)](K(0x17b))[K(0x19f)]()['constructor'](a127a)['search']('(((.+)+)+)+$');});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{kebabCase,capitalCase}from'change-case';function a127d(a,b){const c=a127c();return a127d=function(d,e){d=d-0x166;let f=c[d];return f;},a127d(a,b);}function a127c(){const O=['3572520GFjaTy','387837rKeXNP','MATERIAL','engines','template','kit/mui/auth/login/','injectTemplateModule','error','route','layouts','processAndRunGenerator','search','split','dir','Meteor\x20Accounts','99XKuKnX','apply','.js','kit/mui/auth/forgot-password/','findProjectDirectory','basic-logout-page','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20setup\x20with\x20login,\x20logout,\x20registration,\x20and\x20password\x20reset\x20pages.\x0a\x20\x20','custom','maka\x20generate:kit:mui:auth','/imports/startup/client/authentication-provider','ssr','basic-register-page','baseDir','Custom\x20(roll\x20your\x20own)','Cleaning\x20up...','select','toString','AuthContext','92399SMvGwA','appName','kit/mui/auth/logout/','force','492705wbSofO','react','1541508fjgPeD','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{auth,\x20a}','register','kit:auth:provider','/imports/ui/pages/auth','auth','authType','7iUYqGd','pathFromApp','24bMfjgH','forgot-password','/imports/ui/','10QavmkB','create','basic-forgot-password-page','injectImport','basic-password-reset-page','exit','log','(((.+)+)+)+$','5985930ScsXOS','1587090JyOptV','/imports/startup/lib/authentication-provider','basic-login-page'];a127c=function(){return O;};return a127c();}import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a127L(0x175)]({'name':a127L(0x16d),'aliases':['a'],'usage':a127L(0x169),'shortDesc':'Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','validOpts':[a127L(0x189),a127L(0x1a4)],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'theme':ThemeEngines[a127L(0x182)],'client':ClientEngines['REACT']},'examples':[a127L(0x197),'maka\x20g:k:m:a'],'description':a127L(0x195)},async function(a,b){const M=a127L;try{const {projectConfig:c,fsi:d,scaffold:f}=this,g=b[M(0x1a4)]||![],h=d[M(0x193)](),i=await Actions[M(0x19e)]({'name':M(0x16e),'message':'What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','choices':[{'name':M(0x18e),'value':'meteor'},{'name':M(0x19c),'value':M(0x196)}]}),j=M(0x17f),k='basic-logout-page',l='basic-register-page',m=M(0x178),n='basic-forgot-password-page',o=b[M(0x19b)]?M(0x173)+b[M(0x19b)]:M(0x16c),p=f[M(0x170)]({'pathParts':[o,b[M(0x18d)],kebabCase(j),kebabCase(j)]}),q=f[M(0x170)]({'pathParts':[o,b[M(0x18d)],kebabCase(k),kebabCase(k)]}),r=f[M(0x170)]({'pathParts':[o,b[M(0x18d)],kebabCase(l),kebabCase(l)]}),s=f[M(0x170)]({'pathParts':[o,b[M(0x18d)],kebabCase(m),kebabCase(m)]}),t=f[M(0x170)]({'pathParts':[o,b[M(0x18d)],kebabCase(n),kebabCase(n)]}),u={'name':capitalCase(c[M(0x1a2)])};await f[M(0x184)]({'srcPath':M(0x185)+j+M(0x191),'destPath':p+M(0x191),'framework':M(0x167),'context':u,'config':c,'force':g,'ignore':![]}),await f['template']({'srcPath':M(0x1a3)+k+'.js','destPath':q+M(0x191),'framework':M(0x167),'context':u,'config':c,'force':g,'ignore':![]}),await f[M(0x184)]({'srcPath':'kit/mui/auth/register/'+l+'.js','destPath':r+M(0x191),'framework':'react','context':u,'config':c,'force':g,'ignore':![]}),await f[M(0x184)]({'srcPath':'kit/mui/auth/password-reset/'+m+M(0x191),'destPath':s+M(0x191),'framework':'react','context':u,'config':c,'force':g,'ignore':![]}),await f[M(0x184)]({'srcPath':M(0x192)+n+'.js','destPath':t+M(0x191),'framework':'react','context':u,'config':c,'force':g,'ignore':![]});const v=''+o+b[M(0x18d)]+'/'+j+'/'+j;await f['injectTemplateModule'](j,c,v);const w=''+o+b[M(0x18d)]+'/'+k+'/'+k;await f[M(0x186)](k,c,w);const x=''+o+b[M(0x18d)]+'/'+l+'/'+l;await f[M(0x186)](l,c,x);const y=''+o+b[M(0x18d)]+'/'+m+'/'+m;await f[M(0x186)](m,c,y);const z=''+o+b['dir']+'/'+n+'/'+n;await f[M(0x186)](n,c,z),await a127e['processAndRunGenerator']('route',[M(0x17f)],{'route':'login','cwd':h,'config':c}),await a127e['processAndRunGenerator']('route',[M(0x194)],{'route':'logout','private':!![],'cwd':h,'config':c}),await a127e['processAndRunGenerator']('route',[M(0x19a)],{'route':M(0x16a),'cwd':h,'config':c}),await a127e['processAndRunGenerator']('route',[M(0x178)],{'route':'reset-password/:token','cwd':h,'config':c}),await a127e['processAndRunGenerator'](M(0x188),[M(0x176)],{'route':M(0x172),'cwd':h,'config':c});i==='meteor'&&await a127e[M(0x18a)]('kit:auth:meteor',[],{'force':g,'cwd':h,'config':c});i===M(0x196)&&await a127e['processAndRunGenerator'](M(0x16b),[],{'force':g,'cwd':h,'config':c});const A=c[M(0x183)][M(0x199)]==='meteor',B=c[M(0x183)]['js'],C=f[M(0x170)]({'pathParts':v[M(0x18c)]('/')});await f[M(0x177)]({'filePath':C+'.'+B,'importName':M(0x1a0),'modulePath':A?M(0x17e):M(0x198),'isNamedExport':!![]});const D=f['pathFromApp']({'pathParts':w['split']('/')});await f[M(0x177)]({'filePath':D+'.'+B,'importName':M(0x1a0),'modulePath':A?M(0x17e):'/imports/startup/client/authentication-provider','isNamedExport':!![]});const E=f['pathFromApp']({'pathParts':x[M(0x18c)]('/')});await f[M(0x177)]({'filePath':E+'.'+B,'importName':'AuthContext','modulePath':A?M(0x17e):'/imports/startup/client/authentication-provider','isNamedExport':!![]});const F=f[M(0x170)]({'pathParts':y[M(0x18c)]('/')});await f[M(0x177)]({'filePath':F+'.'+B,'importName':'AuthContext','modulePath':A?M(0x17e):M(0x198),'isNamedExport':!![]});const G=f[M(0x170)]({'pathParts':z[M(0x18c)]('/')});await f[M(0x177)]({'filePath':G+'.'+B,'importName':M(0x1a0),'modulePath':A?M(0x17e):M(0x198),'isNamedExport':!![]});}catch(H){Log[M(0x187)](H),process[M(0x179)](0x1);}},async function(){const N=a127L;console[N(0x17a)](N(0x19d));},a127f);export default a127f;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0x1bd;let f=c[d];return f;},a128d(a,b);}const a128G=a128d;(function(a,b){const E=a128d,c=a();while(!![]){try{const d=parseInt(E(0x1f1))/0x1+parseInt(E(0x1d0))/0x2+parseInt(E(0x1de))/0x3*(-parseInt(E(0x1ff))/0x4)+parseInt(E(0x1bd))/0x5+-parseInt(E(0x1cf))/0x6+-parseInt(E(0x1d2))/0x7+parseInt(E(0x1c8))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0xedc0d));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const F=a128d;return a128a[F(0x1fe)]()[F(0x1d8)]('(((.+)+)+)+$')['toString']()[F(0x1d1)](a128a)[F(0x1d8)]('(((.+)+)+)+$');});a128a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a128e from'path';import a128f from'./mui.generator.js';import{kebabCase,pascalCase,capitalCase}from'change-case';function a128c(){const J=['maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f}','@mui/material/Container','error','length','react','getFiles','dir','meteor','.js','checkbox','tsx','</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','basic-app-bar','maka\x20g:k:m:f','-hook\x22>','jsx','ssr','injectTemplateModule','1488518rJCSLB','findAppDirectory','@mui/material/Box','injectAroundString','/imports/startup/lib/templates','Box','injectImport','MATERIAL','basic-sticky-footer','map','injectIntoFile','\x20/>\x0a','No\x20layouts\x20selected','toString','232mecGns','baseDir','engines','template','7990980RlYctV','appName','<Outlet\x20/>','layouts','<Outlet/>','<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>','basic-drawer','join','/imports/startup/client/templates','kit/mui/frame/app-bars/','checkMeteorPackage','824SBchTc','kit/mui/frame/drawers/','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20frame\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','frame','getDirectories','pathFromApp','test','907230nqocje','1676006CtiPDF','constructor','8006334TJNkCc','REACT','maka:react-tracker','force','Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','</div>','search','<div\x20id=\x22','/imports/ui/','create','Cleaning\x20up...','maka\x20generate:kit:mui:frame','85656yeLuNO'];a128c=function(){return J;};return a128c();}import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a128G(0x1db)]({'name':a128G(0x1cb),'aliases':['f'],'usage':a128G(0x1df),'shortDesc':a128G(0x1d6),'validOpts':[a128G(0x1c0),'baseDir','dir',a128G(0x1d5)],'isPro':![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'theme':ThemeEngines[a128G(0x1f8)],'client':ClientEngines[a128G(0x1d3)]},'examples':[a128G(0x1dd),a128G(0x1ec)],'description':a128G(0x1ca)},async function(a,b){const H=a128G,{projectConfig:c,fsi:d,pkg:f,scaffold:g}=this;try{const h=b['force']||![],i=H(0x1eb),j=H(0x1c3),k=H(0x1f9),l=c[H(0x201)][H(0x1ef)]===H(0x1e6);await f[H(0x1c7)](['session',H(0x1d4)],{'shouldInstall':!![]});const m=d[H(0x1f2)](),n=a128e[H(0x1c4)](m,'imports','ui',H(0x1c0)),o=d[H(0x1cc)](n),p=o[H(0x1fa)](z=>({'name':z,'value':z})),q=await Actions[H(0x1e8)]({'message':'Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','name':H(0x1c0),'choices':p});if(q[H(0x1e2)]===0x0){Log[H(0x1e1)](H(0x1fd));return;}const r=b[H(0x200)]?H(0x1da)+b[H(0x200)]:'/imports/ui/components',s=g[H(0x1cd)]({'pathParts':[r,b[H(0x1e5)],kebabCase(i),kebabCase(i)]}),t=g[H(0x1cd)]({'pathParts':[r,b[H(0x1e5)],kebabCase(j),kebabCase(j)]}),u=g[H(0x1cd)]({'pathParts':[r,b[H(0x1e5)],kebabCase(k),kebabCase(k)]}),v={'name':capitalCase(c[H(0x1be)])};await g['template']({'srcPath':H(0x1c6)+i+'.js','destPath':s+'.js','framework':H(0x1e3),'context':v,'config':c,'force':h,'ignore':![]}),await g['template']({'srcPath':H(0x1c9)+j+H(0x1e7),'destPath':t+H(0x1e7),'framework':H(0x1e3),'context':v,'config':c,'force':h,'ignore':![]}),await g[H(0x202)]({'srcPath':'kit/mui/frame/footers/'+k+H(0x1e7),'destPath':u+H(0x1e7),'framework':H(0x1e3),'context':v,'config':c,'force':h,'ignore':![]});const w=''+r+b[H(0x1e5)]+'/'+i+'/'+i;await g[H(0x1f0)](i,c,w);const x=''+r+b[H(0x1e5)]+'/'+j+'/'+j;await g['injectTemplateModule'](j,c,x);const y=''+r+b[H(0x1e5)]+'/'+k+'/'+k;await g[H(0x1f0)](k,c,y);for(const z of q){const A=d[H(0x1e4)](a128e[H(0x1c4)](n,z),{'extensions':[H(0x1ee),H(0x1e9)],'omit':['app-tests','tests',H(0x1ce)]});for(const B of A){const C=a128e[H(0x1c4)](n,z,B);await g['injectImport']({'filePath':C,'importName':H(0x1f6),'modulePath':H(0x1f3),'isNamedExport':![]}),await g['injectImport']({'filePath':C,'importName':'Container','modulePath':H(0x1e0),'isNamedExport':![]}),await g[H(0x1f7)]({'filePath':C,'importName':pascalCase(i),'modulePath':l?'/imports/startup/lib/templates':H(0x1c5),'isNamedExport':!![]}),await g[H(0x1fb)]({'filePath':C,'content':'<'+pascalCase(i)+'\x20/>\x0a','begin':['<div\x20id=\x22'+z+'\x22>','<div\x20id=\x22'+z+H(0x1ed)],'end':[H(0x1c1),H(0x1bf)]}),await g[H(0x1f7)]({'filePath':C,'importName':pascalCase(j),'modulePath':l?H(0x1f5):H(0x1c5),'isNamedExport':!![]}),await g[H(0x1fb)]({'filePath':C,'content':'<'+pascalCase(j)+'\x20/>\x0a','begin':[H(0x1d9)+z+'\x22>',H(0x1d9)+z+H(0x1ed)],'end':['<Outlet/>',H(0x1bf)]}),await g[H(0x1fb)]({'filePath':C,'content':'<'+pascalCase(k)+H(0x1fc),'begin':[H(0x1c1),H(0x1bf)],'end':[H(0x1d7)]}),await g[H(0x1f7)]({'filePath':C,'importName':pascalCase(k),'modulePath':l?H(0x1f5):H(0x1c5),'isNamedExport':!![]}),await g[H(0x1f4)]({'filePath':C,'aboveContent':H(0x1c2),'belowContent':H(0x1ea),'targetString':[H(0x1c1),H(0x1bf)],'targetIndentAdjustment':0x6});}}}catch(D){Log[H(0x1e1)](D);}},async function(){const I=a128G;console['log'](I(0x1dc));},a128f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a129j=a129d;(function(a,b){const g=a129d,c=a();while(!![]){try{const d
|
|
1
|
+
const a129j=a129d;function a129c(){const l=['length','723133IwWfYN','6GNURGB','includes','649570umxbtM','auth','290232LfviiO','processAndRunGenerator','186158kdMprU','(((.+)+)+)+$','error','Header,\x20Footer,\x20and\x20Drawer','kit:mui:frame','108bDuydA','checkbox','maka\x20g:kit:m','mui','1064540uCNUBQ','apply','kit:mui:auth','Material-UI\x20Kit','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','info','9zivrqP','cfg','7555880DowGeJ','findProjectDirectory','frame','No\x20MUI\x20kits\x20selected.\x20Exiting.','toString','notice','Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!','237512gNqkYO','\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'];a129c=function(){return l;};return a129c();}(function(a,b){const g=a129d,c=a();while(!![]){try{const d=parseInt(g(0xcf))/0x1+parseInt(g(0xd0))/0x2*(-parseInt(g(0xd4))/0x3)+parseInt(g(0xdf))/0x4+parseInt(g(0xd2))/0x5+-parseInt(g(0xdb))/0x6*(-parseInt(g(0xd6))/0x7)+-parseInt(g(0xcc))/0x8+-parseInt(g(0xe5))/0x9*(parseInt(g(0xe7))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0x7f87d));const a129b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a129d;if(c){const e=c[h(0xe0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){const i=a129d;return a129a[i(0xeb)]()['search'](i(0xd7))[i(0xeb)]()['constructor'](a129a)['search'](i(0xd7));});a129a();function a129d(a,b){const c=a129c();return a129d=function(d,e){d=d-0xcc;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['create']({'name':a129j(0xde),'aliases':['m'],'usage':a129j(0xe3),'resourceNameRequired':![],'shortDesc':a129j(0xe2),'validOpts':[''],'isPro':!![],'examples':[a129j(0xdd)]},async function(){const k=a129j;try{Log[k(0xe4)](k(0xed)),Log[k(0xec)](k(0xcd));const a=await Actions[k(0xdc)]({'message':'Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','name':'kitChoices','choices':[{'name':k(0xd9),'value':k(0xe9)},{'name':'Auth\x20workflow\x20(login,\x20logout,\x20etc.)','value':k(0xd3)}]}),b=this['fsi'][k(0xe8)](),c=this[k(0xe6)]['getMakaProjectConfig']();a[k(0xd1)](k(0xe9))&&await a129e[k(0xd5)](k(0xda),[],{'force':!![],'cwd':b,'config':c});a[k(0xd1)](k(0xd3))&&await a129e[k(0xd5)](k(0xe1),[],{'force':!![],'cwd':b,'config':c});if(a[k(0xce)]===0x0){Log[k(0xe4)](k(0xea));return;}}catch(d){Log[k(0xd8)](d),process['exit'](0x1);}},async function(){},a129f);export default MuiGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a130s=a130d;(function(a,b){const p=a130d,c=a();while(!![]){try{const d
|
|
1
|
+
const a130s=a130d;(function(a,b){const p=a130d,c=a();while(!![]){try{const d=parseInt(p(0x1ae))/0x1*(-parseInt(p(0x19b))/0x2)+parseInt(p(0x190))/0x3*(-parseInt(p(0x1a5))/0x4)+-parseInt(p(0x192))/0x5+-parseInt(p(0x18c))/0x6+-parseInt(p(0x1a9))/0x7+parseInt(p(0x18e))/0x8*(-parseInt(p(0x188))/0x9)+parseInt(p(0x18b))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0xe6a06));const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a130d;if(c){const e=c[q(0x1a8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const r=a130d;return a130a['toString']()['search'](r(0x19d))[r(0x1ab)]()['constructor'](a130a)[r(0x19e)](r(0x19d));});a130a();function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0x184;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,kebabCase,pascalCase}from'change-case';const aliases=['l'];function a130c(){const u=['features','81448DNtcgU','fileName','resourceName','apply','8719501mvLauE','graphql','toString','test','ramda','1994HAzxeZ','setTemplate','/imports/ui/layouts','dir','findProjectDirectory','maka\x20g:l\x20web/safari','withHook','template','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','maka\x20g:layout\x20mobile/iPhone8','Scaffolding\x20for\x20a\x20React\x20Layout.','18yOThHt','react','injectTemplateModule','55836690NQPVZx','6080628XNtWsT','layout','3495456QvvLNm','client','21yaQLTT','injectAtBeginningOfFile','4494710QPngUF','hook/hook.js','assign','test/test.js','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','checkNpmPackage','installNpmPackage','engines','string','466iFvRsH','theme','(((.+)+)+)+$','search','split','css','warn','withHooks','.css'];a130c=function(){return u;};return a130c();}Generator['create']({'name':a130s(0x18d),'aliases':aliases,'usage':a130s(0x185),'shortDesc':a130s(0x187),'validOpts':[a130s(0x1b4)],'mustBeInMakaProject':!![],'examples':[a130s(0x186),a130s(0x1b3)]},async function(a,b){const t=a130s,{projectConfig:c,fsi:d,cfg:e,pkg:f,scaffold:g}=this,h=t(0x1b0),i=d['findAppDirectory'](),j=g['pathFromApp']({'pathParts':[h,b[t(0x1b1)],kebabCase(b[t(0x1a7)]),kebabCase(b['resourceName'])]});typeof c[t(0x184)][t(0x1ac)]===t(0x19a)&&e['setTemplate'](t(0x1ac),c[t(0x184)][t(0x1ac)]);typeof c[t(0x184)][t(0x1a0)]==='string'&&e['setTemplate'](t(0x1a0),c[t(0x184)]['css']);typeof c[t(0x184)]['js']===t(0x19a)&&e[t(0x1af)]('js',c[t(0x184)]['js']);const k=b['_']?b['_'][0x0][t(0x19f)](':')[0x1]:![],l=b['_']&&aliases['includes'](k);l&&!f[t(0x197)](t(0x1ad))&&(Log[t(0x1a1)](t(0x196)),f[t(0x198)](t(0x1ad),{'cwd':i}));if(l&&!f[t(0x197)]('react')){Log[t(0x1a1)]('This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator');return;}const m={'name':pascalCase(b[t(0x1a7)]),'myPath':a130e['relative'](d[t(0x1b2)](),j),'cssCaseName':kebabCase(b[t(0x1a7)]),'className':pascalCase(b[t(0x1a7)]),'camelCaseName':camelCase(b[t(0x1a7)]),'fileName':kebabCase(b[t(0x1a7)]),'graphql':c[t(0x199)][t(0x1aa)],'features':c[t(0x1a4)],'client':c[t(0x199)][t(0x18f)],'api':c[t(0x199)]['api'],'ssr':c[t(0x199)]['ssr'],'test':c[t(0x199)]['test'],'theme':c[t(0x199)][t(0x19c)],'isComponent':![],'isLayout':!![],'withTranslations':c[t(0x1a4)]['withTranslations']};c[t(0x1a4)]?.[t(0x1a2)]||b[t(0x1b4)]?await g[t(0x184)]({'srcPath':t(0x193),'destPath':j+'.js','framework':t(0x189),'context':m,'config':c}):await g[t(0x184)]({'srcPath':'component/component.js','destPath':j+'.js','framework':'react','context':m,'config':c});c['engines'][t(0x1ac)]!=='none'&&await g[t(0x184)]({'srcPath':t(0x195),'destPath':j+'.app-tests.js','framework':'react','context':m,'config':c});c[t(0x184)][t(0x1a0)]&&(await g['template']({'srcPath':'template/template.css','destPath':j+t(0x1a3),'context':Object[t(0x194)]({},m,{'className':kebabCase(b['resourceName'])}),'config':c}),await g[t(0x191)]({'filePath':j+'.'+c[t(0x199)]['js'],'content':'import\x20\x27./'+m[t(0x1a6)]+'.'+c['engines'][t(0x1a0)]+'\x27;'}));const n=b[t(0x1b1)]?'/'+b[t(0x1b1)]+'/':'/',o=''+h+n+m[t(0x1a6)]+'/'+m[t(0x1a6)];await g[t(0x18a)](m['className'],c,o);});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a131h=a131d;(function(a,b){const f=a131d,c=a();while(!![]){try{const d=parseInt(f(0x70))/0x1+-parseInt(f(0x6f))/0x2*(parseInt(f(0x77))/0x3)+-parseInt(f(0x6c))/0x4+-parseInt(f(0x7a))/0x5+parseInt(f(0x73))/0x6+-parseInt(f(0x75))/0x7*(-parseInt(f(0x6a))/0x8)+-parseInt(f(0x6e))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0xa63a3));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(0x74)]()[g(0x78)](g(0x71))['toString']()['constructor'](a131a)[g(0x78)](g(0x71));});function a131c(){const i=['1316952wlASEJ','(((.+)+)+)+$','maka\x20{generate,\x20g}:<generator>\x20<name>','6522630nVCiho','toString','42RirDfM','maka\x20g:dbc\x20geoserver\x20--type=pgsql','12783RFuhde','search','maka\x20generate:scaffold\x20todos','3069755LoQrGM','maka\x20g:template\x20todos/todo_item','1372936xYfcsw','maka\x20g:package\x20package:name','5356088xDLmOU','maka\x20g:route\x20todos/edit','1792062VmNiDR','282xeJfAs'];a131c=function(){return i;};return a131c();}a131a();import{Generator}from'../generator.js';const MakaGen=new Generator({'name':'generate','aliases':['g'],'usage':a131h(0x72),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'resourceNameRequired':![],'shortDesc':'Scaffold\x20various\x20parts\x20of\x20your\x20application','examples':[a131h(0x79),'maka\x20g:scaffold\x20todos',a131h(0x7b),a131h(0x6b),a131h(0x6d),'maka\x20g:api\x20trucks',a131h(0x76)]},async function(){});function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0x6a;let f=c[d];return f;},a131d(a,b);}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(0xab))/0x1+parseInt(k(0xb5))/0x2*(parseInt(k(0x96))/0x3)+parseInt(k(0xa2))/0x4*(parseInt(k(0xb1))/0x5)+parseInt(k(0xb9))/0x6+-parseInt(k(0xaf))/0x7*(-parseInt(k(0x9d))/0x8)+parseInt(k(0xb4))/0x9*(parseInt(k(0x97))/0xa)+-parseInt(k(0xa4))/0xb*(parseInt(k(0x99))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a132c,0x1f498));const a132b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a132d;if(c){const e=c[l(0xb0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a132a=a132b(this,function(){const m=a132d;return a132a[m(0xa8)]()[m(0x95)](m(0xa9))[m(0xa8)]()['constructor'](a132a)[m(0x95)](m(0xa9));});a132a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,kebabCase,pascalCase}from'change-case';Generator[a132n(0xa1)]({'name':a132n(0xa6),'aliases':['m'],'usage':a132n(0x9a),'mustBeInMakaProject':!![],'checkWhere':!![],'shortDesc':a132n(0xa3),'validOpts':['dir'],'examples':[a132n(0xb2)]},async function(a,b){const o=a132n;try{const c=this[o(0xb3)],d=b[o(0xb7)]?'/'+b['dir']+'/':'/',f=kebabCase(b['resourceName']),g={'name':b['resourceName'],'fileName':f,'className':pascalCase(b[o(0x9f)]),'camelCase':camelCase(b[o(0x9f)]),'noRename':!![]};let h='js';c[o(0xaa)]['js']==='tsx'&&(h='ts');await this['pkg']['checkMeteorPackage']([o(0xad),'ddp-rate-limiter',o(0xa7)],{'shouldInstall':!![]}),await this[o(0x9c)][o(0xae)]({'srcPath':o(0x9e),'destPath':this[o(0x9c)][o(0xb8)]({'pathParts':[o(0xac),o(0xb6),b[o(0x94)],o(0xa5),d,f+o(0x98)+h]}),'context':g,'config':c});const i=this[o(0x9c)][o(0xb8)]({'pathParts':['imports',o(0xb6),b[o(0x94)],o(0x93)+c['engines']['js']]});await this[o(0x9c)][o(0xa0)]({'filePath':i,'content':'import\x20\x27./methods'+d+f+o(0x9b)});}catch(j){Log['error'](j);}});function a132d(a,b){const c=a132c();return a132d=function(d,e){d=d-0x93;let f=c[d];return f;},a132d(a,b);}function a132c(){const p=['injectAtEndOfFile','create','4mUaWAy','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','3128048TfKrZP','methods','method','mdg:validated-method','toString','(((.+)+)+)+$','engines','36806inwQxt','imports','maka:check','template','7qgWBRg','apply','1234535sWSAYD','maka\x20g:method\x20todos','projectConfig','54513PDAcIK','4598muDMzd','startup','dir','pathFromApp','734556ILwVLk','index.','appPathPrefix','search','183aGNYGw','370AdNucD','-rpc-method.','24wkTeSS','maka\x20{generate,\x20g}:{method,\x20m}\x20name','-rpc-method\x27;','scaffold','104XnyKSJ','method/method.js','resourceName'];a132c=function(){return p;};return a132c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a133p=a133d;function a133d(a,b){const c=a133c();return a133d=function(d,e){d=d-0x162;let f=c[d];return f;},a133d(a,b);}(function(a,b){const m=a133d,c=a();while(!![]){try{const d=parseInt(m(0x16f))/0x1*(parseInt(m(0x162))/0x2)+parseInt(m(0x17b))/0x3*(parseInt(m(0x17f))/0x4)+parseInt(m(0x17d))/0x5+-parseInt(m(0x173))/0x6+-parseInt(m(0x178))/0x7*(-parseInt(m(0x176))/0x8)+-parseInt(m(0x187))/0x9*(parseInt(m(0x172))/0xa)+-parseInt(m(0x17e))/0xb*(parseInt(m(0x163))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a133c,0x35a9b));const a133b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a133d;if(c){const e=c[n(0x166)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a133a=a133b(this,function(){const o=a133d;return a133a[o(0x177)]()['search'](o(0x17c))[o(0x177)]()[o(0x16e)](a133a)[o(0x175)]('(((.+)+)+)+$');});function a133c(){const r=['layout','.js','fsi','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','pathFromAppWithNoReWrite','/package.js','server','constructor','17cZEzAs','template','package/package.js','1804970jCOzTP','1205904TBgNah','relative','search','16SyXzjs','toString','1268351jQCMWe','/client/','packages','3369vKPhbp','(((.+)+)+)+$','1539495JplFBX','213158xtotPe','464IprZXD','create','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','pathFromApp','features','client','hasOwnProperty','ssr','9VkkGaL','dir','noRename','projectConfig','store','component','package','tests/client','scaffold','maka\x20g:package\x20todos:package','resourceName','lib','engines','1634szSyoZ','132HVLqBR','findProjectDirectory','template/template.js','apply'];a133c=function(){return r;};return a133c();}a133a();import a133e from'path';import{Generator}from'../generator.js';import{camelCase,kebabCase,pascalCase}from'change-case';Generator[a133p(0x180)]({'name':a133p(0x18d),'aliases':['p'],'usage':a133p(0x16a),'mustBeInMakaProject':!![],'shortDesc':a133p(0x181),'validOpts':[a133p(0x188)],'examples':[a133p(0x190)]},async function(a,b){const q=a133p,c=kebabCase(b[q(0x191)]),d=b[q(0x188)]?'/'+b[q(0x188)]+'/':'/',e=this['scaffold'][q(0x182)]({'pathParts':[q(0x17a),d,c]}),f=this['scaffold'][q(0x16b)]({'pathParts':[q(0x17a),d,c,'package.js']}),g=this[q(0x18a)],h={'name':kebabCase(b[q(0x191)]),'myPath':a133e[q(0x174)](this[q(0x169)][q(0x164)](),e),'cssCaseName':kebabCase(b[q(0x191)]),'className':pascalCase(b[q(0x191)]),'camelCaseName':camelCase(b[q(0x191)]),'fileName':c,'client':g[q(0x193)][q(0x184)],'graphql':g[q(0x193)]['graphql'],'ssr':g[q(0x193)][q(0x186)],'isComponent':b[q(0x185)](q(0x18c)),'isLayout':b[q(0x185)](q(0x167)),'isStore':b[q(0x185)](q(0x18b)),'features':g[q(0x183)],'noRename':!![],'theme':g[q(0x193)]['theme']};await this[q(0x18f)]['template']({'srcPath':q(0x171),'destPath':f,'context':h,'config':g}),h[q(0x189)]=![];const i=e+q(0x179)+c+'.js';await this[q(0x18f)][q(0x170)]({'srcPath':q(0x165),'destPath':i,'context':h,'config':g});const j=[q(0x192),q(0x16d),q(0x18e),'tests/server'];for(const k of j){const l=e+'/'+k+'/'+c+q(0x168);await this[q(0x18f)][q(0x170)]({'srcPath':'package/'+k+q(0x16c),'destPath':l,'context':h,'config':g});}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a134u=a134d;(function(a,b){const r=a134d,c=a();while(!![]){try{const d=-parseInt(r(
|
|
1
|
+
const a134u=a134d;(function(a,b){const r=a134d,c=a();while(!![]){try{const d=-parseInt(r(0x1b4))/0x1+parseInt(r(0x17b))/0x2+parseInt(r(0x17a))/0x3+parseInt(r(0x1b7))/0x4*(-parseInt(r(0x178))/0x5)+-parseInt(r(0x192))/0x6*(parseInt(r(0x1b2))/0x7)+-parseInt(r(0x18c))/0x8+parseInt(r(0x16f))/0x9*(parseInt(r(0x1a7))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a134c,0xf3ec1));const a134b=(function(){let a=!![];return function(b,c){const d=a?function(){const s=a134d;if(c){const e=c[s(0x1b9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a134a=a134b(this,function(){const t=a134d;return a134a['toString']()[t(0x181)](t(0x1a3))['toString']()[t(0x194)](a134a)[t(0x181)]('(((.+)+)+)+$');});a134a();import a134e from'path';function a134d(a,b){const c=a134c();return a134d=function(d,e){d=d-0x16f;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';function a134c(){const w=['5gnizsF','join','2130828Avrqmn','2886446wZPypn','theme','react','injectAtBeginningOfFile','engines','imports','search','injectTemplateModule','routes.','.html','slice','setTemplate','client','cfg','private','toLowerCase','<Route\x20path=\x22','1886840epmdCh','hasOwnProperty','page','ramda','className','fsi','3342552szSZDJ','resourceName','constructor','startup','error','<Route\x20index','template','component','\x22\x20element={<Component.','assign','/imports/ui/pages','checkNpmPackage','pathFromApp','\x27;\x0a','template/template.html','meteor','Updating\x20npm\x20packages\x20...','(((.+)+)+)+$','replace','create','none','560dJUZZW','string','ssr','url','substring','import\x20\x27./','.js','installNpmPackage','hook/hook.js','withHooks','<Route\x20element={<PrivateRoute\x20/>}>','14PhMcin','layout','593823mLyLrM','.css','store','5979760AQUqSc','css','apply','findProjectDirectory','replaceAll','test','injectIntoFile','graphql','withTranslations','scaffold','root','trim','test/test.js','features','Please\x20specify\x20a\x20name\x20for\x20the\x20route.','367137DaIzFt','dir','split','maka\x20g:page\x20todos/todos-item','html','vanilla','fileName','api','pkg'];a134c=function(){return w;};return a134c();}import{camelCase,kebabCase,pascalCase}from'change-case';const aliases=['p'];Generator[a134u(0x1a5)]({'name':a134u(0x18e),'aliases':aliases,'usage':'maka\x20{generate,\x20g}:{page,\x20p}\x20[path/]<name>','shortDesc':'Generate\x20a\x20page.','mustBeInMakaProject':!![],'validOpts':[{'name':'private','boolFlag':!![]},{'name':'url'}],'examples':[a134u(0x172)]},async function(a,b){const v=a134u,c=v(0x19c),d=this[v(0x191)]['findAppDirectory'](),e=b[v(0x193)]['includes'](':')?b['resourceName'][v(0x171)](':')[0x0][v(0x1c2)]():b['resourceName'][v(0x1c2)](),f=b['dir'][v(0x1bb)]('/','_')+'_'+e[v(0x1bb)]('/','_'),g=this[v(0x1c0)][v(0x19e)]({'pathParts':[c,b[v(0x170)],kebabCase(f),kebabCase(f)]}),h=this['projectConfig'];let i='';typeof h[v(0x198)][v(0x173)]===v(0x1a8)&&this[v(0x188)][v(0x186)](v(0x173),h[v(0x198)][v(0x173)]);typeof h[v(0x198)][v(0x1bc)]===v(0x1a8)&&this[v(0x188)][v(0x186)](v(0x1bc),h[v(0x198)][v(0x1bc)]);typeof h['template'][v(0x1b8)]==='string'&&this[v(0x188)][v(0x186)](v(0x1b8),h[v(0x198)]['css']);typeof h['template']['js']===v(0x1a8)&&this[v(0x188)][v(0x186)]('js',h[v(0x198)]['js']);!b[v(0x1c1)]&&!this[v(0x177)][v(0x19d)](v(0x18f))&&(Log['warn'](v(0x1a2)),this['pkg'][v(0x1ae)](v(0x18f),{'cwd':d}));const j={'name':pascalCase(f),'myPath':a134e['relative'](this[v(0x191)][v(0x1ba)](),g),'cssCaseName':kebabCase(f),'className':pascalCase(f),'camelCaseName':camelCase(f),'fileName':kebabCase(f),'graphql':h[v(0x17f)][v(0x1be)],'features':h[v(0x1c4)],'client':h[v(0x17f)][v(0x187)],'api':h[v(0x17f)][v(0x176)],'ssr':h[v(0x17f)][v(0x1a9)],'isStore':b[v(0x18d)](v(0x1b6)),'isComponent':b['hasOwnProperty'](v(0x199)),'isLayout':b[v(0x18d)](v(0x1b3)),'withTranslations':h[v(0x1c4)][v(0x1bf)],'test':h[v(0x17f)]['test'],'theme':h[v(0x17f)][v(0x17c)]};h[v(0x198)][v(0x173)]&&await this['scaffold'][v(0x198)]({'srcPath':v(0x1a0),'destPath':g+v(0x184),'context':j,'config':h});h[v(0x1c4)]?.[v(0x1b0)]?await this['scaffold']['template']({'srcPath':v(0x1af),'destPath':g+'.js','framework':'react','context':j,'config':h}):await this[v(0x1c0)]['template']({'srcPath':'component/component.js','destPath':g+v(0x1ad),'framework':v(0x17d),'context':j,'config':h});h[v(0x17f)][v(0x1bc)]!==v(0x1a6)&&await this['scaffold'][v(0x198)]({'srcPath':v(0x1c3),'destPath':g+'.app-tests.js','framework':v(0x17d),'context':j,'config':h});h[v(0x198)][v(0x1b8)]&&await this[v(0x1c0)]['template']({'srcPath':'template/template.css','destPath':g+v(0x1b5),'context':Object[v(0x19b)]({},j,{'className':kebabCase(b[v(0x193)])}),'config':h});h[v(0x17f)][v(0x187)]!=='react'&&h[v(0x17f)]['client']!==v(0x174)?(h[v(0x198)]['css']&&await this[v(0x1c0)][v(0x17e)]({'filePath':g+'.'+h[v(0x17f)]['js'],'content':v(0x1ac)+j[v(0x175)]+'.'+h[v(0x17f)][v(0x173)]+v(0x19f)+v(0x1ac)+j['fileName']+'.'+h[v(0x17f)]['css']+'\x27;'}),!h[v(0x198)][v(0x1b8)]&&await this[v(0x1c0)][v(0x17e)]({'filePath':g+'.'+h[v(0x17f)]['js'],'content':'import\x20\x27./'+j[v(0x175)]+'.'+h['engines'][v(0x173)]+'\x27;'})):h[v(0x198)][v(0x1b8)]&&await this[v(0x1c0)][v(0x17e)]({'filePath':g+'.'+h[v(0x17f)]['js'],'content':'import\x20\x27./'+j[v(0x175)]+'.'+h[v(0x17f)][v(0x1b8)]+'\x27;'});const k=b[v(0x170)]?'/'+b[v(0x170)]+'/':'/';i=''+c+k+j[v(0x175)]+'/'+j[v(0x175)],await this['scaffold'][v(0x182)](j[v(0x190)],h,i);if(!b[v(0x1c1)]){const l=b[v(0x189)]??![];if(!f){Log[v(0x196)](v(0x1c5));throw new UsageError();}let m=b[v(0x1aa)]?b[v(0x1aa)]:'/'+b[v(0x170)][v(0x1c2)]()+'/'+b[v(0x193)][v(0x1c2)]()[v(0x1a4)](/\\/g,'/')[v(0x1a4)](/\/+$/,'')[v(0x18a)]();const n=b[v(0x193)]['indexOf'](':');n!==-0x1&&(m+='/'+b[v(0x193)][v(0x1ab)](0x0,n)[v(0x1c2)]());m['endsWith']('/')&&(m=m[v(0x185)](0x0,-0x1));m=m[v(0x1a4)](/\/\//g,'/');const o=h['engines']['js'],p=h[v(0x17f)][v(0x1a9)]===v(0x1a1)?'lib':v(0x187),q=a134e[v(0x179)](d,v(0x180),v(0x195),p,v(0x183)+o);l?await this[v(0x1c0)]['injectIntoFile']({'filePath':q,'content':v(0x18b)+m+v(0x19a)+pascalCase(f)+'/>}/>\x0a','begin':[v(0x1b1)],'end':['</Route>']}):await this['scaffold'][v(0x1bd)]({'filePath':q,'content':v(0x18b)+m+v(0x19a)+pascalCase(f)+'/>}/>\x0a','begin':[v(0x197)],'end':['<Route\x20path=\x22*\x22']});}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a135r=a135d;(function(a,b){const o=a135d,c=a();while(!![]){try{const d=-parseInt(o(0x1ff))/0x1+parseInt(o(0x208))/0x2+parseInt(o(0x1fb))/0x3+parseInt(o(0x1f6))/0x4*(-parseInt(o(0x1f1))/0x5)+parseInt(o(0x1f4))/0x6*(-parseInt(o(0x20f))/0x7)+-parseInt(o(0x1f5))/0x8*(-parseInt(o(0x203))/0x9)+parseInt(o(0x20d))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a135c,0xaca4e));const a135b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a135d;if(c){const e=c[p(0x206)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a135a=a135b(this,function(){const q=a135d;return a135a[q(0x200)]()[q(0x20c)](q(0x1f2))[q(0x200)]()[q(0x201)](a135a)[q(0x20c)](q(0x1f2));});a135a();import{kebabCase,pascalCase}from'change-case';function a135c(){const t=['exit','844308jrgorG','8sAcYRV','1811176gxiOYH','publish/publish.js','/imports/startup/server/publications','index.','appPathPrefix','1259958qgzMRp','import\x20\x27./publications','resourceName','server','1402207rADjJK','toString','constructor','globalPublish','10174293IdAxqf','pathFromApp','create','apply','injectAtEndOfFile','2214304shBtIj','Scaffolding\x20for\x20a\x20publish\x20function.\x0ahttps://docs.meteor.com/api/pubsub.html','tsx','dir','search','16237920zwMznZ','engines','63qPjtzG','maka\x20g:publish\x20todos','maka\x20{generate,\x20g}:{publish,\x20p}\x20<name>','10ektGxi','(((.+)+)+)+$'];a135c=function(){return t;};return a135c();}import{Generator}from'../generator.js';function a135d(a,b){const c=a135c();return a135d=function(d,e){d=d-0x1f0;let f=c[d];return f;},a135d(a,b);}import{Log}from'../tools/log/log.class.js';Generator[a135r(0x205)]({'name':'publish','aliases':['p'],'usage':a135r(0x1f0),'shortDesc':a135r(0x209),'validOpts':['force'],'requiredOpts':[a135r(0x202)],'mustBeInMakaProject':!![],'examples':[a135r(0x210)]},async function(a,b){const s=a135r;try{const {projectConfig:c,scaffold:d}=this,f=b['force']||![],g=s(0x1f8),h=kebabCase(b['resourceName']),i=d['pathFromApp']({'pathParts':[g,b[s(0x20b)],'',h]});let j='js';c[s(0x20e)]['js']===s(0x20a)&&(j='ts');const k={'name':b[s(0x1fd)],'collection':pascalCase(b[s(0x1fd)]),'noRename':!![],'globalPublish':b[s(0x202)]};await d['template']({'srcPath':s(0x1f7),'destPath':i+'.'+j,'context':k,'config':c,'force':f});const l=d[s(0x204)]({'pathParts':['imports','startup',s(0x1fe),b[s(0x1fa)],s(0x1f9)+c[s(0x20e)]['js']]}),m=b[s(0x20b)]?'/'+b['dir']+'/':'/';await d[s(0x207)]({'filePath':l,'content':s(0x1fc)+m+h+'\x27;'});}catch(n){Log['error'](n),process[s(0x1f3)](0x1);}});
|