@maka/maka-cli 5.0.39 → 5.0.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundle/obf/package.json +1 -1
- package/bundle/obf/src/command.js +1 -1
- package/bundle/obf/src/commands/_index.js +1 -1
- package/bundle/obf/src/commands/ai.js +1 -1
- package/bundle/obf/src/commands/aws/_index.js +1 -1
- package/bundle/obf/src/commands/aws/aws.command.js +1 -1
- package/bundle/obf/src/commands/aws/cecr.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/decr.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/lecr.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/build/_index.js +1 -1
- package/bundle/obf/src/commands/build/build.js +1 -1
- package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/create.js +1 -1
- package/bundle/obf/src/commands/debug.js +1 -1
- package/bundle/obf/src/commands/deploy/_index.js +1 -1
- package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
- package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/_index.js +1 -1
- package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/play.command.js +1 -1
- package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/generate.js +1 -1
- package/bundle/obf/src/commands/get/_index.js +1 -1
- package/bundle/obf/src/commands/get/get.command.js +1 -1
- package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/help.js +1 -1
- package/bundle/obf/src/commands/install.js +1 -1
- package/bundle/obf/src/commands/jsdoc.js +1 -1
- package/bundle/obf/src/commands/lint.js +1 -1
- package/bundle/obf/src/commands/login.js +1 -1
- package/bundle/obf/src/commands/logout.js +1 -1
- package/bundle/obf/src/commands/logs.js +1 -1
- package/bundle/obf/src/commands/maka.cmd.js +1 -1
- package/bundle/obf/src/commands/murder.js +1 -1
- package/bundle/obf/src/commands/profile.js +1 -1
- package/bundle/obf/src/commands/proxy.js +1 -1
- package/bundle/obf/src/commands/reconfig.js +1 -1
- package/bundle/obf/src/commands/register.js +1 -1
- package/bundle/obf/src/commands/run/_index.js +1 -1
- package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/run/run.command.js +1 -1
- package/bundle/obf/src/commands/set/_index.js +1 -1
- package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/set/set.command.js +1 -1
- package/bundle/obf/src/commands/ssh.js +1 -1
- package/bundle/obf/src/commands/ssl.js +1 -1
- package/bundle/obf/src/commands/test/_index.js +1 -1
- package/bundle/obf/src/commands/test/jest.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/test/mocha.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/test/test.command.js +1 -1
- package/bundle/obf/src/commands/undo.js +1 -1
- package/bundle/obf/src/commands/version.js +1 -1
- package/bundle/obf/src/error.js +1 -1
- package/bundle/obf/src/exec.js +1 -1
- package/bundle/obf/src/generator.js +1 -1
- package/bundle/obf/src/generators/_index.js +1 -1
- package/bundle/obf/src/generators/api.js +1 -1
- package/bundle/obf/src/generators/aws/_index.js +1 -1
- package/bundle/obf/src/generators/aws/aws.js +1 -1
- package/bundle/obf/src/generators/aws/cloudformation/_index.js +1 -1
- package/bundle/obf/src/generators/aws/cloudformation/cloudformation.js +1 -1
- package/bundle/obf/src/generators/aws/cloudformation/create-ec2-instance.cf.gen.js +1 -1
- package/bundle/obf/src/generators/collection.js +1 -1
- package/bundle/obf/src/generators/component.js +1 -1
- package/bundle/obf/src/generators/config.js +1 -1
- package/bundle/obf/src/generators/dbc.js +1 -1
- package/bundle/obf/src/generators/dockerfile.js +1 -1
- package/bundle/obf/src/generators/hook.js +1 -1
- package/bundle/obf/src/generators/kits/_index.js +1 -1
- package/bundle/obf/src/generators/kits/auth/_index.js +1 -1
- package/bundle/obf/src/generators/kits/auth/auth.generator.js +1 -1
- package/bundle/obf/src/generators/kits/auth/basic-meteor.auth.gen.js +1 -1
- package/bundle/obf/src/generators/kits/auth/provider.auth.gen.js +1 -1
- package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
- package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
- package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
- package/bundle/obf/src/generators/kits/kit.js +1 -1
- package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
- package/bundle/obf/src/generators/kits/mui/auth.mui.gen.js +1 -1
- package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
- package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
- package/bundle/obf/src/generators/layout.js +1 -1
- package/bundle/obf/src/generators/maka.gen.js +1 -1
- package/bundle/obf/src/generators/methods.js +1 -1
- package/bundle/obf/src/generators/package.js +1 -1
- package/bundle/obf/src/generators/page.js +1 -1
- package/bundle/obf/src/generators/publish.js +1 -1
- package/bundle/obf/src/generators/route.js +1 -1
- package/bundle/obf/src/generators/service.js +1 -1
- package/bundle/obf/src/generators/services/_index.js +1 -1
- package/bundle/obf/src/generators/services/openssl.js +1 -1
- package/bundle/obf/src/generators/services/translation.js +1 -1
- package/bundle/obf/src/maka.js +1 -1
- package/bundle/obf/src/tool.js +1 -1
- package/bundle/obf/src/tools/actions/actions.class.js +1 -1
- package/bundle/obf/src/tools/aws/aws.class.js +1 -1
- package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
- package/bundle/obf/src/tools/cfg/cfg.class.js +1 -1
- package/bundle/obf/src/tools/docker/docker.class.js +1 -1
- package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
- package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
- package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
- package/bundle/obf/src/tools/https/https.class.js +1 -1
- package/bundle/obf/src/tools/https/https.interface.js +1 -1
- package/bundle/obf/src/tools/log/log.class.js +1 -1
- package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
- package/bundle/obf/src/tools/mpi/mpi.class.js +1 -1
- package/bundle/obf/src/tools/options/options.class.js +1 -1
- package/bundle/obf/src/tools/pkg/pkg.class.js +1 -1
- package/bundle/obf/src/tools/progress/progress.class.js +1 -1
- package/bundle/obf/src/tools/scaffold/scaffold.class.js +1 -1
- package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
- package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
- package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
- package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
- package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a117m=a117d;(function(a,b){const k=a117d,c=a();while(!![]){try{const d=-parseInt(k(0xf7))/0x1*(-parseInt(k(0x10c))/0x2)+-parseInt(k(0xf9))/0x3*(parseInt(k(0x11d))/0x4)+-parseInt(k(0xf8))/0x5+parseInt(k(0x101))/0x6*(-parseInt(k(0x107))/0x7)+-parseInt(k(0x113))/0x8*(-parseInt(k(0xfd))/0x9)+-parseInt(k(0x10d))/0xa+parseInt(k(0x121))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0x57173));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 l=a117d;return a117a['toString']()[l(0x106)](l(0x11f))['toString']()[l(0x112)](a117a)[l(0x106)](l(0x11f));});function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0xf5;let f=c[d];return f;},a117d(a,b);}a117a();import{camelCase,kebabCase,pascalCase}from'change-case';function a117c(){const o=['mssql','maka\x20g:dbc\x20geoserver\x20--type=pgsql','imports','maka\x20g:dbc\x20todos\x20--type=sqlite','4RPMvpD','sqlite','(((.+)+)+)+$','config.','25346464GWmgOI','dbc','template','projectConfig','1057mdVzWH','1665565fKPEVR','1863465UyJlfn','pkg','engines','server','314406KVYxQz','dbc/config.js','-dbc.','checkNpmPackage','2221038dIDTMg','dir','startup','maka\x20{generate,\x20g}:{dbc}\x20<connection-name>','type','search','7yPeTlw','pgsql','Scaffolding\x20for\x20creating\x20a\x20for\x20a\x20database\x20connection.','conn.','dbc/register-dbc.js','18uKZnuz','7024410gaQkpZ','resourceName','maka\x20g:dbc\x20azure\x20--type=mssql','injectAtEndOfFile','scaffold','constructor','16SmfOhe','error','better-sqlite3','index.','pathFromApp','register-'];a117c=function(){return o;};return a117c();}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator['create']({'name':'dbc','usage':a117m(0x104),'shortDesc':a117m(0x109),'validOpts':['dir'],'mustBeInMakaProject':!![],'requiredOpts':[{'name':'type','values':[a117m(0x108),a117m(0x119),a117m(0x11e)]}],'examples':[a117m(0x11a),a117m(0x10f),a117m(0x11c)]},async function(a,b){const n=a117m;try{const c=this[n(0xf6)],d=kebabCase(b['resourceName']),f={'name':pascalCase(b[n(0x10e)]),'fileName':kebabCase(b[n(0x10e)]),'camelCase':camelCase(b['resourceName']),'type':b['type'],'engine':c[n(0xfb)]['js'],'noRename':!![]},g=b['dir']?'/'+b[n(0x102)]+'/':'/';let h='js';c['engines']['js']==='tsx'&&(h='ts');b[n(0x105)]===n(0x108)&&await this['pkg'][n(0x100)]('pg',{'shouldInstall':!![]});b[n(0x105)]===n(0x119)&&await this[n(0xfa)][n(0x100)](n(0x119),{'shouldInstall':!![]});b[n(0x105)]===n(0x11e)&&await this[n(0xfa)][n(0x100)](n(0x115),{'shouldInstall':!![]});await this[n(0x111)][n(0xf5)]({'srcPath':n(0xfe),'destPath':this[n(0x111)][n(0x117)]({'pathParts':[n(0x11b),n(0x103),'server',n(0x122),g,d,n(0x120)+h]}),'context':f,'config':c}),await this[n(0x111)][n(0xf5)]({'srcPath':'dbc/conn.js','destPath':this[n(0x111)]['pathFromApp']({'pathParts':[n(0x11b),n(0x103),n(0xfc),'dbc',g,d,n(0x10a)+h]}),'context':f,'config':c}),await this[n(0x111)][n(0xf5)]({'srcPath':n(0x10b),'destPath':this[n(0x111)][n(0x117)]({'pathParts':[n(0x11b),n(0x103),'server',n(0x118)+d+n(0xff)+h]}),'context':f,'config':c});const i=this[n(0x111)]['pathFromApp']({'pathParts':['imports',n(0x103),n(0xfc),n(0x116)+c[n(0xfb)]['js']]});await this[n(0x111)][n(0x110)]({'filePath':i,'content':'import\x20\x27./register-'+d+'-dbc\x27;'});}catch(j){Log[n(0x114)](j);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a118k=a118d;(function(a,b){const i=a118d,c=a();while(!![]){try{const d=-parseInt(i(0x7d))/0x1*(-parseInt(i(0x89))/0x2)+-parseInt(i(0x90))/0x3+-parseInt(i(0x8e))/0x4*(-parseInt(i(0x81))/0x5)+-parseInt(i(0x7c))/0x6+parseInt(i(0x8a))/0x7*(-parseInt(i(0x84))/0x8)+parseInt(i(0x8d))/0x9*(parseInt(i(0x9e))/0xa)+parseInt(i(0x94))/0xb*(parseInt(i(0x97))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0x47700));const a118b=(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;};}()),a118a=a118b(this,function(){const j=a118d;return a118a[j(0x9c)]()[j(0x91)](j(0x7f))[j(0x9c)]()[j(0x8b)](a118a)[j(0x91)](j(0x7f));});a118a();import{Generator}from'../generator.js';function a118d(a,b){const c=a118c();return a118d=function(d,e){d=d-0x7b;let f=c[d];return f;},a118d(a,b);}import{Log}from'../tools/log/log.class.js';import a118e from'path';function a118c(){const m=['getMakaProjectConfig','docker/Dockerfile','toString','findProjectDirectory','2233360OQTVkY','app','3221190OPaKVT','5802IqWtyj','Dockerfile','(((.+)+)+)+$','app.tar.gz','55zafDQl','service','cert','2250824PKjekc','appName','join','cfg','error','170qQogcO','7CJFEFX','constructor','getGlobalConfig','9YcXyll','132044GqHudj','fsi','1352106JisjgE','search','isFile','maka\x20g:dockerfile','77ewMgab','force','Generate\x20an\x20updated\x20dockerfile','826116cpUuRz','build','create'];a118c=function(){return m;};return a118c();}Generator[a118k(0x99)]({'name':'dockerfile','usage':'maka\x20{generate,\x20g}:dockerfile','shortDesc':a118k(0x96),'resourceNameRequired':![],'mustBeInMakaProject':!![],'validOpts':[{'name':a118k(0x95),'boolFlag':!![]}],'examples':[a118k(0x93)]},async function(a,b){const l=a118k;try{const c=this[l(0x87)][l(0x9a)](),d=await this[l(0x87)][l(0x8c)](),f=this[l(0x8f)][l(0x9d)](),g={'app':c[l(0x85)],'config':c,'appPath':a118e['join'](f,l(0x7b)),'bundlePath':a118e[l(0x86)](f,l(0x98),l(0x80)),'useCert':d[l(0x83)]?this[l(0x8f)][l(0x92)](d['cert']):![]};await this['scaffold']['template']({'srcPath':l(0x9b),'destPath':a118e[l(0x86)](f,l(0x7e)),'framework':l(0x82),'context':g,'config':c,'force':b['force']});}catch(h){Log[l(0x88)](h);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a119c(){const q=['engines','/imports/ui/components','hooks','constructor','layouts','959776GAptOQ','search','(((.+)+)+)+$','63gjCfoY','checkNpmPackage','219333qVfUyr','react','24cHzJVe','441fHoRvy','.css','theme','.js','notice','fsi','.app-tests.js','import\x20\x27./','pages','@apollo/client','template','pathFromApp','apply','string','force','\x0a\x20\x20Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html\x0a\x0a\x20\x20If\x20you\x27d\x20like\x20a\x20hook\x20created\x20as\x20part\x20of\x20an\x20existing\x20page,\x20component,\x20or\x20layout,\x0a\x20\x20use\x20the\x20maka\x20g:hook\x20command\x20with\x20the\x20--baseDir\x20option.\x20For\x20example,\x0a\x0a\x20\x20\x20\x20maka\x20g:hook\x20--baseDir=pages\x20myPage/useCoolHook\x0a\x0a\x20\x20will\x20create\x20a\x20hook\x20in\x20imports/ui/pages/my-page/use-cool-hook.jsx\x0a\x0a\x20\x20','596112NADIZN','baseDir','injectTemplateModule','cssCaseName','cfg','pkg','projectConfig','findProjectDirectory','template/template.css','injectAtBeginningOfFile','test/test.js','171282LryOsC','apollo','233550oVppca','scaffold','fileName','Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','className','maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','installNpmPackage','hook','css','withTranslations','@apollo/client\x20isomorphic-fetch','assign','warn','128920VDnLKg','none','hook/hook.js','resourceName','setTemplate','dir','857750fGWmHi','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','test','features','graphql'];a119c=function(){return q;};return a119c();}const a119o=a119d;(function(a,b){const l=a119d,c=a();while(!![]){try{const d=-parseInt(l(0x11b))/0x1+-parseInt(l(0x10e))/0x2+parseInt(l(0xfb))/0x3*(parseInt(l(0xfd))/0x4)+parseInt(l(0xec))/0x5+parseInt(l(0x119))/0x6*(-parseInt(l(0xf9))/0x7)+-parseInt(l(0xf6))/0x8+parseInt(l(0xfe))/0x9*(parseInt(l(0xe6))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0x5166f));function a119d(a,b){const c=a119c();return a119d=function(d,e){d=d-0xdf;let f=c[d];return f;},a119d(a,b);}const a119b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a119d;if(c){const e=c[m(0x10a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){const n=a119d;return a119a['toString']()[n(0xf7)](n(0xf8))['toString']()[n(0xf4)](a119a)[n(0xf7)](n(0xf8));});a119a();import a119e from'path';import{kebabCase,pascalCase,camelCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator['create']({'name':a119o(0xe0),'aliases':['h'],'checkWhere':![],'usage':a119o(0x120),'shortDesc':a119o(0x11e),'mustBeInMakaProject':!![],'validOpts':[{'name':a119o(0x10f),'values':[a119o(0xf3),'components',a119o(0x106),a119o(0xf5)]},{'name':a119o(0x10c),'boolFlag':!![]}],'examples':['maka\x20g:hook\x20cool-hook'],'description':a119o(0x10d)},async function(a,b){const p=a119o;Log[p(0x102)]('Creating\x20'+b[p(0xe9)]+'\x20hook...');try{await this[p(0x113)][p(0xfa)](p(0xfc),{'shouldInstall':!![]});const c=this[p(0x103)]['findAppDirectory'](),d=b['baseDir']?'/imports/ui/'+b[p(0x10f)]:p(0xf2),f=this['scaffold'][p(0x109)]({'pathParts':[d,b[p(0xeb)],kebabCase(b[p(0xe9)]),kebabCase(b['resourceName'])]}),g=this[p(0x114)];typeof g[p(0x108)][p(0xe1)]===p(0x10b)&&this[p(0x112)][p(0xea)](p(0xe1),g[p(0x108)]['css']);g[p(0xf1)][p(0xf0)]===p(0x11a)&&!this['pkg'][p(0xfa)](p(0x107))&&(Log[p(0xe5)](p(0xed)),await this['pkg'][p(0xdf)](p(0xe3),{'cwd':c}));const h={'cssCaseName':kebabCase(b[p(0xe9)]),'camelCaseName':camelCase(b[p(0xe9)]),'className':pascalCase(b[p(0xe9)]),'name':pascalCase(b['resourceName']),'graphql':g[p(0xf1)][p(0xf0)],'theme':g[p(0xf1)][p(0x100)],'test':g[p(0xf1)][p(0xee)],'features':g[p(0xef)],'myPath':a119e['relative'](this[p(0x103)][p(0x115)](),f),'fileName':kebabCase(b['resourceName']),'isComponent':![],'isLayout':![],'withTranslations':g[p(0xef)][p(0xe2)]};await this[p(0x11c)][p(0x108)]({'srcPath':p(0xe8),'destPath':f+p(0x101),'context':h,'config':g,'framework':p(0xfc),'force':b[p(0x10c)]});g[p(0x108)][p(0xe1)]&&(await this['scaffold'][p(0x108)]({'srcPath':p(0x116),'destPath':f+p(0xff),'context':Object[p(0xe4)]({},h,{'className':h[p(0x111)]}),'config':g,'force':b[p(0x10c)]}),await this[p(0x11c)][p(0x117)]({'filePath':f+'.'+g['engines']['js'],'content':p(0x105)+h[p(0x11d)]+'.'+g[p(0xf1)][p(0xe1)]+'\x27;'}));g[p(0xf1)][p(0xee)]!==p(0xe7)&&await this[p(0x11c)]['template']({'srcPath':p(0x118),'destPath':f+p(0x104),'framework':p(0xfc),'context':h,'config':g,'force':b[p(0x10c)]});const i=b[p(0xeb)]?'/'+b[p(0xeb)]+'/':'/',j=''+d+i+h[p(0x11d)]+'/'+h['fileName'];await this['scaffold'][p(0x110)](h[p(0x11f)],g,j);}catch(k){Log['error'](k);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a120d,c=a();while(!![]){try{var d
|
|
1
|
+
(function(a,b){var f=a120d,c=a();while(!![]){try{var d=parseInt(f(0xc5))/0x1+-parseInt(f(0xc2))/0x2*(parseInt(f(0xc1))/0x3)+-parseInt(f(0xbf))/0x4*(-parseInt(f(0xc4))/0x5)+parseInt(f(0xbe))/0x6*(parseInt(f(0xbd))/0x7)+parseInt(f(0xc3))/0x8+-parseInt(f(0xba))/0x9*(parseInt(f(0xbc))/0xa)+parseInt(f(0xb8))/0xb*(-parseInt(f(0xc6))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0x38986));var a120b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a120d;if(c){var e=c[g(0xb6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){var h=a120d;return a120a[h(0xc0)]()[h(0xbb)](h(0xb7))['toString']()[h(0xb9)](a120a)[h(0xbb)](h(0xb7));});a120a();import'./kit.js';import'./mui/_index.js';import'./esri/_index.js';function a120d(a,b){var c=a120c();return a120d=function(d,e){d=d-0xb6;var f=c[d];return f;},a120d(a,b);}import'./auth/_index.js';function a120c(){var i=['apply','(((.+)+)+)+$','82093kwCTLc','constructor','10008gtkKuR','search','790MzRFZz','7rViHJw','19944wJNHUj','9340QjPjut','toString','3IRlwbC','61098WkPZqG','3186368dWLUHo','150bxhtdJ','259154bATLjg','612EFGnsX'];a120c=function(){return i;};return a120c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a121d,c=a();while(!![]){try{var d
|
|
1
|
+
(function(a,b){var f=a121d,c=a();while(!![]){try{var d=parseInt(f(0x1b9))/0x1*(-parseInt(f(0x1c5))/0x2)+-parseInt(f(0x1c2))/0x3+-parseInt(f(0x1c0))/0x4+parseInt(f(0x1bc))/0x5*(-parseInt(f(0x1bd))/0x6)+-parseInt(f(0x1c3))/0x7+-parseInt(f(0x1c1))/0x8+parseInt(f(0x1c4))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0x5ddcd));function a121d(a,b){var c=a121c();return a121d=function(d,e){d=d-0x1b9;var f=c[d];return f;},a121d(a,b);}var a121b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a121d;if(c){var e=c[g(0x1ba)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){var h=a121d;return a121a[h(0x1be)]()[h(0x1c6)]('(((.+)+)+)+$')['toString']()[h(0x1bb)](a121a)[h(0x1c6)](h(0x1bf));});a121a();import'./auth.generator.js';function a121c(){var i=['3186960Olhqvh','23095917xxQfao','4eRCZwN','search','117502ukrsFj','apply','constructor','3315640KxePAu','6mPUslY','toString','(((.+)+)+)+$','1840356QbVKSO','2693184bsMsuj','94809eixVkk'];a121c=function(){return i;};return a121c();}import'./provider.auth.gen.js';import'./basic-meteor.auth.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a122d(a,b){const c=a122c();return a122d=function(d,e){d=d-0xce;let f=c[d];return f;},a122d(a,b);}const a122i=a122d;(function(a,b){const f=a122d,c=a();while(!![]){try{const d=-parseInt(f(0xcf))/0x1*(-parseInt(f(0xce))/0x2)+parseInt(f(0xd7))/0x3+parseInt(f(0xdc))/0x4+parseInt(f(0xd0))/0x5*(parseInt(f(0xd3))/0x6)+-parseInt(f(0xd8))/0x7+-parseInt(f(0xda))/0x8*(parseInt(f(0xd4))/0x9)+-parseInt(f(0xd9))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0x3fb89));const a122b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a122d;if(c){const e=c[g(0xdd)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){const h=a122d;return a122a[h(0xde)]()[h(0xd1)](h(0xe0))[h(0xde)]()[h(0xdb)](a122a)[h(0xd1)]('(((.+)+)+)+$');});a122a();import{Generator}from'../../../generator.js';import a122e from'../kit.js';const AuthGen=Generator[a122i(0xdf)]({'name':a122i(0xd5),'aliases':['a'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:<kit-name>','shortDesc':a122i(0xd2),'resourceNameRequired':![],'validOpts':[''],'isPro':!![],'examples':['maka\x20g:kit:a'],'description':'\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x20\x20'},async function(){const j=a122i;throw j(0xd6);},async function(){},a122e);function a122c(){const k=['1796662Hezanf','210380qCHawP','2096464oTBqki','constructor','863476DcXhcX','apply','toString','create','(((.+)+)+)+$','132998NcOLzd','1fplQRW','5aItGqD','search','Starting\x20point\x20for\x20generating\x20an\x20Auth\x20Provider','451662fyHnod','9AYmVyL','auth','NIE','1329354KBjOsR'];a122c=function(){return k;};return a122c();}export default AuthGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a123c(){const x=['210652LquFkk','AuthService','kit/auth/service/meteor-auth-service.js','template','/imports/startup/client/authentication-service','16313rjmnBM','meteor/maka:react-tracker','authentication-provider','const\x20authenticateUser','ssr','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','constructor','(((.+)+)+)+$','3031nSrZCa','accounts-password','const\x20getUserAuthorizations','export\x20const\x20AuthProvider','useTracker','.js','7dguPmt','1255038wcggLb','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','4970ucxeWN','toString','engines','authentication-service','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','Meteor.publish','2424966jMllwc','meteor','apply','imports','\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','/imports/startup/client','\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','processAndRunGenerator','const\x20resetPasswordWithToken','force','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','findProjectDirectory','injectImport','/imports/startup/lib','REACT','const\x20authenticateToken','error','63jHURTY','Meteor','auth/roles','exit','431944jldltr','101455JADGTC','search','Meteor.startup','injectIntoCodeBlock','12qylAds','\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','pathFromApp'];a123c=function(){return x;};return a123c();}const a123v=a123d;(function(a,b){const s=a123d,c=a();while(!![]){try{const d=parseInt(s(0x1d8))/0x1+-parseInt(s(0x1cb))/0x2+parseInt(s(0x1df))/0x3+-parseInt(s(0x1c8))/0x4*(parseInt(s(0x1c4))/0x5)+parseInt(s(0x1ad))/0x6*(-parseInt(s(0x1de))/0x7)+parseInt(s(0x1c3))/0x8*(-parseInt(s(0x1bf))/0x9)+-parseInt(s(0x1e1))/0xa*(-parseInt(s(0x1d0))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0x334c5));const a123b=(function(){let a=!![];return function(b,c){const d=a?function(){const t=a123d;if(c){const e=c[t(0x1af)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){const u=a123d;return a123a[u(0x1a8)]()['search'](u(0x1d7))['toString']()[u(0x1d6)](a123a)[u(0x1c5)](u(0x1d7));});a123a();import a123e from'path';function a123d(a,b){const c=a123c();return a123d=function(d,e){d=d-0x1a8;let f=c[d];return f;},a123d(a,b);}import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a123f from'./auth.generator.js';import a123g from'../../../generators/maka.gen.js';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':a123v(0x1ae),'aliases':['m'],'usage':a123v(0x1ab),'shortDesc':a123v(0x1b8),'validOpts':[a123v(0x1b6)],'isPro':!![],'resourceNameRequired':![],'mustBeInMakaProject':!![],'requiredEngines':{'client':ClientEngines[a123v(0x1bc)]},'description':'\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'},async function(a,b){const w=a123v,{fsi:c,pkg:d,scaffold:f,projectConfig:g}=this;try{const h=b['force']||![];await d['checkMeteorPackage']([w(0x1d9)],{'shouldInstall':!![]});const i=c[w(0x1b9)](),j=c['findAppDirectory'](),k=g['engines'][w(0x1d4)]===w(0x1ae);await a123g[w(0x1b4)]('kit:auth:provider',[],{'force':h,'cwd':i,'config':g}),await a123g['processAndRunGenerator']('publish',[w(0x1c1)],{'force':h,'globalPublish':!![],'cwd':i,'config':g});const l=j+a123e['normalize']('/imports/startup/server/publications/auth/roles.js'),m=k?w(0x1bb):w(0x1b2),n=f['pathFromApp']({'pathParts':[m,'','',w(0x1aa)]});await f[w(0x1ce)]({'srcPath':w(0x1cd),'destPath':n+w(0x1dd),'framework':'react','context':{},'config':g,'force':h,'ignore':![]});const o=f[w(0x1ca)]({'pathParts':[m,'','',w(0x1d2)]}),p=g[w(0x1a9)]['js'];await f[w(0x1ba)]({'filePath':o+'.'+p,'importName':w(0x1cc),'modulePath':k?'/imports/startup/lib/authentication-service':w(0x1cf),'isNamedExport':![]}),await f[w(0x1c7)]({'filePath':o+'.'+p,'content':w(0x1b3),'begin':w(0x1d3),'replace':!![]}),await f[w(0x1c7)]({'filePath':o+'.'+p,'content':w(0x1b1),'begin':w(0x1bd),'replace':!![]}),await f[w(0x1c7)]({'filePath':o+'.'+p,'content':'\x0a\x20\x20\x20\x20\x20\x20const\x20authorizations\x20=\x20await\x20AuthService.getUserAuthorizations(user.id);\x0a\x20\x20\x20\x20\x20\x20return\x20authorizations;\x0a\x20\x20\x20\x20\x20\x20','begin':w(0x1da),'replace':!![]}),await f[w(0x1c7)]({'filePath':o+'.'+p,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','begin':'const\x20deauthenticateUser','replace':!![]}),await f[w(0x1c7)]({'filePath':o+'.'+p,'content':w(0x1b7),'begin':'const\x20sendForgotPasswordEmail','replace':!![]}),await f[w(0x1c7)]({'filePath':o+'.'+p,'content':w(0x1d5),'begin':'const\x20registerNewUser','replace':!![]}),await f[w(0x1c7)]({'filePath':o+'.'+p,'content':w(0x1e0),'begin':w(0x1b5),'replace':!![]});k&&(await f[w(0x1ba)]({'filePath':o+'.'+p,'importName':w(0x1dc),'modulePath':w(0x1d1),'isNamedExport':!![]}),await f['injectIntoFile']({'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':w(0x1db),'end':'useEffect\x5c('}));await f['injectImport']({'filePath':l,'importName':w(0x1c0),'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':w(0x1ac),'replace':!![]});const q=f[w(0x1ca)]({'pathParts':[w(0x1b0),'startup','server','index']});await f[w(0x1ba)]({'filePath':q+'.'+p,'importName':'Accounts','modulePath':'meteor/accounts-base','isNamedExport':!![]}),await f[w(0x1c7)]({'filePath':q+'.'+p,'content':w(0x1c9),'begin':w(0x1c6),'replace':!![]});}catch(r){Log[w(0x1be)](r),process[w(0x1c2)](0x1);}},async function(){},a123f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a124x=a124d;(function(a,b){const u=a124d,c=a();while(!![]){try{const d=-parseInt(u(0x118))/0x1+parseInt(u(0x11c))/0x2+-parseInt(u(0x121))/0x3+parseInt(u(0x10d))/0x4+-parseInt(u(0x11b))/0x5*(parseInt(u(0x122))/0x6)+parseInt(u(0x113))/0x7+parseInt(u(0x128))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0x276db));const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a124d;if(c){const e=c[v(0x114)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const w=a124d;return a124a[w(0x103)]()['search'](w(0x11f))[w(0x103)]()[w(0x115)](a124a)['search'](w(0x11f));});a124a();function a124c(){const z=['/imports/startup/server/index','const\x20useAuth','<AppRoutes\x20/>','832688ZyHCXa','Creating\x20an\x20AuthProvider\x20and\x20AuthContext','function\x20useAuth','exit','authentication-provider','ssr','</AuthProvider>','injectImport','toString','appName','react','AuthContext','injectIntoCodeBlock','\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','<AuthProvider>','injectAroundString','pathFromApp','REACT','717872JLjQby','/imports/startup/lib/authentication-provider','/imports/startup/client/authentication-provider','engines','/imports/startup/lib','useContext','723415Rphisx','apply','constructor','bright','force','82719xhtGtf','split','scaffold','460WvLYpo','326862cfribX','AuthProvider','meteor','(((.+)+)+)+$','<AppRoutes\x20history={history}/>','723480LCsRlP','4236NNTkrE','\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','/routes'];a124c=function(){return z;};return a124c();}function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0x102;let f=c[d];return f;},a124d(a,b);}import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a124e from'./auth.generator.js';import{capitalCase}from'change-case';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':'Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','validOpts':[a124x(0x117)],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'client':ClientEngines[a124x(0x10c)]},'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 y=a124x;try{const c=b[y(0x117)]||![];Log[y(0x116)](y(0x129));const {projectConfig:d}=this,f=d[y(0x110)][y(0x12d)]===y(0x11e),g={'name':capitalCase(d[y(0x104)])},h=f?y(0x111):'/imports/startup/client',i=this['scaffold'][y(0x10b)]({'pathParts':[h,'','',y(0x12c)]});await this[y(0x11a)]['template']({'srcPath':'kit/auth/provider/authentication-provider.js','destPath':i+'.js','framework':'react','context':g,'config':d,'force':c,'ignore':![]});const j=d[y(0x110)]['js'],k=h+y(0x124),l=k[y(0x119)]('/'),m=this[y(0x11a)][y(0x10b)]({'pathParts':l});await this[y(0x11a)][y(0x102)]({'filePath':m+'.'+j,'importName':y(0x106),'modulePath':f?'/imports/startup/lib/authentication-provider':y(0x10f),'isNamedExport':!![]}),await this[y(0x11a)][y(0x102)]({'filePath':m+'.'+j,'importName':y(0x112),'modulePath':y(0x105),'isNamedExport':!![],'injectAtStart':!![]}),await this['scaffold'][y(0x107)]({'filePath':m+'.'+j,'content':y(0x123),'begin':[y(0x126),y(0x12a)],'replace':!![]}),await this[y(0x11a)]['injectIntoCodeBlock']({'filePath':m+'.'+j,'content':y(0x108),'begin':['const\x20PrivateRoute'],'replace':!![]});const n='/imports/startup/client/index',o=n[y(0x119)]('/'),p=this['scaffold'][y(0x10b)]({'pathParts':o});await this['scaffold'][y(0x102)]({'filePath':p+'.'+j,'importName':'AuthProvider','modulePath':f?y(0x10e):y(0x10f),'isNamedExport':!![]}),await this['scaffold'][y(0x10a)]({'filePath':p+'.'+j,'aboveContent':y(0x109),'belowContent':'</AuthProvider>','targetString':y(0x127),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q=y(0x125),r=q['split']('/'),s=this['scaffold'][y(0x10b)]({'pathParts':r});await this[y(0x11a)][y(0x102)]({'filePath':s+'.'+j,'importName':y(0x11d),'modulePath':f?y(0x10e):y(0x10f),'isNamedExport':!![]}),await this['scaffold'][y(0x10a)]({'filePath':s+'.'+j,'aboveContent':'<AuthProvider>','belowContent':y(0x12e),'targetString':y(0x120),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log['error'](t),process[y(0x12b)](0x1);}},async function(){},a124e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a125d,c=a();while(!![]){try{var d
|
|
1
|
+
(function(a,b){var f=a125d,c=a();while(!![]){try{var d=-parseInt(f(0x94))/0x1*(parseInt(f(0x9e))/0x2)+parseInt(f(0x96))/0x3*(-parseInt(f(0x9c))/0x4)+-parseInt(f(0x9f))/0x5+parseInt(f(0x9d))/0x6+parseInt(f(0x9a))/0x7*(parseInt(f(0x98))/0x8)+-parseInt(f(0x95))/0x9*(parseInt(f(0x93))/0xa)+parseInt(f(0xa0))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0x766f6));var a125b=(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;};}()),a125a=a125b(this,function(){var g=a125d;return a125a[g(0x99)]()[g(0x97)](g(0x9b))[g(0x99)]()['constructor'](a125a)[g(0x97)](g(0x9b));});function a125d(a,b){var c=a125c();return a125d=function(d,e){d=d-0x93;var f=c[d];return f;},a125d(a,b);}a125a();import'./esri.generator.js';import'./map.esri.gen.js';function a125c(){var h=['3336240IuhquC','2ORmQpT','3420280LfLeYo','14665915xpywWG','16540qOWFtC','448561ZfiQAz','3276gpIvmD','2787mfRucw','search','128XYMJOh','toString','210427JSXWYf','(((.+)+)+)+$','648gARQgw'];a125c=function(){return h;};return a125c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a126i=a126d;function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0x6f;let f=c[d];return f;},a126d(a,b);}(function(a,b){const f=a126d,c=a();while(!![]){try{const d=-parseInt(f(0x7c))/0x1+-parseInt(f(0x72))/0x2+parseInt(f(0x70))/0x3*(-parseInt(f(0x73))/0x4)+-parseInt(f(0x7a))/0x5+parseInt(f(0x78))/0x6+parseInt(f(0x7b))/0x7+parseInt(f(0x79))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0xd9dcf));const a126b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a126d;if(c){const e=c[g(0x7e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){const h=a126d;return a126a['toString']()[h(0x75)](h(0x7d))['toString']()[h(0x77)](a126a)[h(0x75)]('(((.+)+)+)+$');});a126a();function a126c(){const j=['2206029sQYLeG','11860yIoxHZ','(((.+)+)+)+$','apply','create','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','3wTkVRH','esri','1478848kVgPxF','1864640wHxURd','Starting\x20point\x20for\x20generating\x20Esri\x20Maps','search','maka\x20g:kit:e','constructor','4284222hJpwsR','22568648jTychD','8702270LWCSKi'];a126c=function(){return j;};return a126c();}import{Generator}from'../../../generator.js';import{UsageError}from'../../../error.js';import a126e from'../kit.js';const EsriGen=Generator[a126i(0x7f)]({'name':a126i(0x71),'aliases':['e'],'usage':a126i(0x6f),'shortDesc':a126i(0x74),'resourceNameRequired':![],'validOpts':[''],'isPro':!![],'examples':[a126i(0x76)],'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(){throw UsageError;},async function(){},a126e);export default EsriGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a127v=a127d;(function(a,b){const s=a127d,c=a();while(!![]){try{const d=-parseInt(s(0x1f6))/0x1*(parseInt(s(0x1e4))/0x2)+parseInt(s(0x1fe))/0x3+-parseInt(s(0x1e3))/0x4+-parseInt(s(0x1e2))/0x5*(parseInt(s(0x1f2))/0x6)+-parseInt(s(0x1eb))/0x7*(-parseInt(s(0x1df))/0x8)+parseInt(s(0x206))/0x9+-parseInt(s(0x1f1))/0xa*(-parseInt(s(0x204))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0x38d6c));const a127b=(function(){let a=!![];return function(b,c){const d=a?function(){const t=a127d;if(c){const e=c[t(0x20b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){const u=a127d;return a127a[u(0x1ec)]()['search']('(((.+)+)+)+$')[u(0x1ec)]()['constructor'](a127a)['search'](u(0x1e0));});a127a();import{Generator}from'../../../generator.js';function a127c(){const x=['\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','.js','kit/esri/map/','385JhqTKz','@esri/react-arcgis','4023693XRGeUp','findProjectDirectory','basic-map','exit','error','apply','dir','react','72EhAkHY','(((.+)+)+)+$','injectImport','130tWDrXU','978792ecPGcf','4xgDvUB','\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','Generating\x20a\x20map\x20component','/imports/startup/lib/templates','checkNpmPackage','pathFromApp','meteor','258979NykQVz','toString','/imports/ui/components','injectIntoFile','injectTemplateModule','replaceAll','29310nMeJIj','69438bduaGa','appName','create','split','68813YfIWNP','Generate\x20an\x20Esri\x20map\x20component','map','<div\x20id=\x22map\x22>','page','baseDir','ssr','bright','100197xxwdrD','</div>','REACT'];a127c=function(){return x;};return a127c();}import{Log}from'../../../tools/log/log.class.js';import a127e from'./esri.generator.js';import a127f from'../../../generators/maka.gen.js';import{kebabCase,capitalCase,pascalCase}from'change-case';import{ClientEngines,SsrEngines}from'../../../tools/fsi/fsi.interfaces.js';function a127d(a,b){const c=a127c();return a127d=function(d,e){d=d-0x1df;let f=c[d];return f;},a127d(a,b);}Generator[a127v(0x1f4)]({'name':'map','aliases':['m'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','shortDesc':a127v(0x1f7),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'client':ClientEngines[a127v(0x200)],'ssr':SsrEngines['NONE']},'description':a127v(0x1e5)},async function(a,b){const w=a127v;try{const {projectConfig:c,fsi:d,pkg:f,scaffold:g}=this;Log[w(0x1fd)](w(0x1e6));const h=w(0x208);await f[w(0x1e8)]([w(0x205),'esri-loader'],{'shouldInstall':!![]});const i=d[w(0x207)](),j=c['engines'][w(0x1fc)]===w(0x1ea),k=await a127f['processAndRunGenerator'](w(0x1fa),[w(0x1f8)],{'cwd':i,'config':c}),l={'name':capitalCase(c[w(0x1f3)])[w(0x1f0)]('-','\x20'),'componentName':pascalCase(h)},m=b[w(0x1fb)]?'/imports/ui/'+b['baseDir']:w(0x1ed),n=g['pathFromApp']({'pathParts':[m,b[w(0x20c)],kebabCase(h),kebabCase(h)]});await g['template']({'srcPath':w(0x203)+h+'.js','destPath':n+w(0x202),'framework':w(0x20d),'context':l,'config':c,'force':![],'ignore':![]});const o=''+m+b[w(0x20c)]+'/'+h+'/'+h;await g[w(0x1ef)](h,c,o);const p=k[w(0x1f5)]('/'),q=g[w(0x1e9)]({'pathParts':p});await g[w(0x1e1)]({'filePath':q,'importName':pascalCase(h),'modulePath':j?w(0x1e7):'/imports/startup/client/templates','isNamedExport':!![]}),await g[w(0x1ee)]({'filePath':q,'content':'\x0a<'+pascalCase(h)+w(0x201),'begin':[w(0x1f9),w(0x1f9)],'end':[w(0x1ff)],'replace':!![]});}catch(r){Log[w(0x20a)](r),process[w(0x209)](0x1);}},async function(){},a127e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a128i=a128d;(function(a,b){const f=a128d,c=a();while(!![]){try{const d=parseInt(f(
|
|
1
|
+
function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0xae;let f=c[d];return f;},a128d(a,b);}const a128i=a128d;(function(a,b){const f=a128d,c=a();while(!![]){try{const d=parseInt(f(0xb2))/0x1*(parseInt(f(0xbf))/0x2)+parseInt(f(0xb5))/0x3+-parseInt(f(0xbc))/0x4*(parseInt(f(0xb9))/0x5)+-parseInt(f(0xb3))/0x6+-parseInt(f(0xbe))/0x7*(-parseInt(f(0xb1))/0x8)+-parseInt(f(0xb7))/0x9*(parseInt(f(0xbb))/0xa)+parseInt(f(0xc0))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0x81fa4));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a128d;if(c){const e=c[g(0xb6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const h=a128d;return a128a['toString']()[h(0xb4)]('(((.+)+)+)+$')[h(0xbd)]()[h(0xba)](a128a)[h(0xb4)](h(0xb0));});a128a();import{Generator}from'../../generator.js';const KitGen=Generator['create']({'name':a128i(0xb8),'aliases':['k'],'usage':'maka\x20{generate,\x20g}:{kit}\x20<name>','shortDesc':a128i(0xae),'minArgLength':0x1,'isPro':!![],'validOpts':[],'resourceNameRequired':![],'examples':['maka\x20g:kit',a128i(0xaf)]},async function(){});function a128c(){const j=['899042KKtSyJ','4702720MEUlVU','Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','maka\x20g:k','(((.+)+)+)+$','1143272mBXVPM','2WMHGEX','2075178qzEAWZ','search','643356toGCgb','apply','6281667euDnMj','kit','10FXpkgh','constructor','10CaQgNG','1644508kwNChW','toString','42yFHQmS'];a128c=function(){return j;};return a128c();}export default KitGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(a,b){var f=a129d,c=a();while(!![]){try{var d=parseInt(f(0x1d9))/0x1*(parseInt(f(0x1d7))/0x2)+parseInt(f(0x1d1))/0x3+parseInt(f(0x1d3))/0x4+-parseInt(f(0x1d6))/0x5*(-parseInt(f(0x1d5))/0x6)+-parseInt(f(0x1d4))/0x7*(parseInt(f(0x1da))/0x8)+parseInt(f(0x1dc))/0x9+-parseInt(f(0x1db))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0x6bfe3));var a129b=(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;};}()),a129a=a129b(this,function(){var g=a129d;return a129a[g(0x1d8)]()[g(0x1dd)]('(((.+)+)+)+$')[g(0x1d8)]()[g(0x1d2)](a129a)['search']('(((.+)+)+)+$');});a129a();function a129d(a,b){var c=a129c();return a129d=function(d,e){d=d-0x1d1;var f=c[d];return f;},a129d(a,b);}import'./mui.generator.js';import'./frame.mui.gen.js';function a129c(){var h=['1003488UADKun','7qVfweX','4977678xjoeem','5UuvXph','2wLENmc','toString','136466xDgTSL','2453992pRyBCj','11633640UTWdGR','958158oYdeDn','search','1767117Jatfyu','constructor'];a129c=function(){return h;};return a129c();}import'./auth.mui.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a130L=a130d;(function(a,b){const I=a130d,c=a();while(!![]){try{const d
|
|
1
|
+
const a130L=a130d;(function(a,b){const I=a130d,c=a();while(!![]){try{const d=-parseInt(I(0x1ea))/0x1*(parseInt(I(0x1de))/0x2)+-parseInt(I(0x1da))/0x3*(parseInt(I(0x1d1))/0x4)+-parseInt(I(0x1e1))/0x5+parseInt(I(0x1d4))/0x6*(parseInt(I(0x1f6))/0x7)+parseInt(I(0x200))/0x8+parseInt(I(0x1e3))/0x9*(parseInt(I(0x1cf))/0xa)+parseInt(I(0x1d5))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0x66614));const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){const J=a130d;if(c){const e=c[J(0x1e8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const K=a130d;return a130a[K(0x1cc)]()[K(0x1dc)](K(0x1ed))[K(0x1cc)]()[K(0x1f8)](a130a)[K(0x1dc)](K(0x1ed));});function a130c(){const O=['meteor','apply','appName','2124FpxeBH','AuthContext','REACT','(((.+)+)+)+$','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{auth,\x20a}','error','/imports/startup/client/authentication-provider','select','injectTemplateModule','basic-password-reset-page','.js','injectImport','63042pCNCrt','ssr','constructor','register','reset-password/:token','Cleaning\x20up...','What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','create','kit/mui/auth/register/','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20setup\x20with\x20login,\x20logout,\x20registration,\x20and\x20password\x20reset\x20pages.\x0a\x20\x20','4770944woZdfV','kit/mui/auth/logout/','logout','exit','login','force','template','/imports/ui/pages/auth','custom','toString','kit/mui/auth/login/','kit/mui/auth/forgot-password/','10MexKAy','/imports/startup/lib/authentication-provider','774460IRSSlh','/imports/ui/','auth','438QOKPWP','3065667bctTIG','processAndRunGenerator','basic-forgot-password-page','Custom\x20(roll\x20your\x20own)','maka\x20g:k:m:a','9lqWTbE','split','search','pathFromApp','508FSgMyc','kit:auth:provider','react','1274705HBrPMZ','route','2359143NqPjrB','Meteor\x20Accounts','basic-register-page','dir'];a130c=function(){return O;};return a130c();}a130a();function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0x1c9;let f=c[d];return f;},a130d(a,b);}import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a130e from'../../../generators/maka.gen.js';import a130f from'./mui.generator.js';import{kebabCase,capitalCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a130L(0x1fd)]({'name':a130L(0x1d3),'aliases':['a'],'usage':a130L(0x1ee),'shortDesc':'Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','validOpts':['layouts',a130L(0x205)],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'theme':ThemeEngines['MATERIAL'],'client':ClientEngines[a130L(0x1ec)]},'examples':['maka\x20generate:kit:mui:auth',a130L(0x1d9)],'description':a130L(0x1ff)},async function(a,b){const M=a130L;try{const {projectConfig:c,fsi:d,scaffold:f}=this,g=b[M(0x205)]||![],h=d['findProjectDirectory'](),i=await Actions[M(0x1f1)]({'name':'authType','message':M(0x1fc),'choices':[{'name':M(0x1e4),'value':M(0x1e7)},{'name':M(0x1d8),'value':M(0x1cb)}]}),j='basic-login-page',k='basic-logout-page',l=M(0x1e5),m=M(0x1f3),n=M(0x1d7),o=b['baseDir']?M(0x1d2)+b['baseDir']:M(0x1ca),p=f[M(0x1dd)]({'pathParts':[o,b[M(0x1e6)],kebabCase(j),kebabCase(j)]}),q=f[M(0x1dd)]({'pathParts':[o,b[M(0x1e6)],kebabCase(k),kebabCase(k)]}),r=f[M(0x1dd)]({'pathParts':[o,b[M(0x1e6)],kebabCase(l),kebabCase(l)]}),s=f[M(0x1dd)]({'pathParts':[o,b['dir'],kebabCase(m),kebabCase(m)]}),t=f['pathFromApp']({'pathParts':[o,b[M(0x1e6)],kebabCase(n),kebabCase(n)]}),u={'name':capitalCase(c[M(0x1e9)])};await f[M(0x1c9)]({'srcPath':M(0x1cd)+j+M(0x1f4),'destPath':p+M(0x1f4),'framework':M(0x1e0),'context':u,'config':c,'force':g,'ignore':![]}),await f[M(0x1c9)]({'srcPath':M(0x201)+k+M(0x1f4),'destPath':q+M(0x1f4),'framework':M(0x1e0),'context':u,'config':c,'force':g,'ignore':![]}),await f[M(0x1c9)]({'srcPath':M(0x1fe)+l+'.js','destPath':r+M(0x1f4),'framework':M(0x1e0),'context':u,'config':c,'force':g,'ignore':![]}),await f[M(0x1c9)]({'srcPath':'kit/mui/auth/password-reset/'+m+M(0x1f4),'destPath':s+M(0x1f4),'framework':'react','context':u,'config':c,'force':g,'ignore':![]}),await f[M(0x1c9)]({'srcPath':M(0x1ce)+n+'.js','destPath':t+M(0x1f4),'framework':M(0x1e0),'context':u,'config':c,'force':g,'ignore':![]});const v=''+o+b[M(0x1e6)]+'/'+j+'/'+j;await f[M(0x1f2)](j,c,v);const w=''+o+b[M(0x1e6)]+'/'+k+'/'+k;await f[M(0x1f2)](k,c,w);const x=''+o+b['dir']+'/'+l+'/'+l;await f[M(0x1f2)](l,c,x);const y=''+o+b[M(0x1e6)]+'/'+m+'/'+m;await f[M(0x1f2)](m,c,y);const z=''+o+b[M(0x1e6)]+'/'+n+'/'+n;await f[M(0x1f2)](n,c,z),await a130e['processAndRunGenerator'](M(0x1e2),['basic-login-page'],{'route':M(0x204),'cwd':h,'config':c}),await a130e[M(0x1d6)](M(0x1e2),['basic-logout-page'],{'route':M(0x202),'private':!![],'cwd':h,'config':c}),await a130e[M(0x1d6)](M(0x1e2),[M(0x1e5)],{'route':M(0x1f9),'cwd':h,'config':c}),await a130e[M(0x1d6)](M(0x1e2),[M(0x1f3)],{'route':M(0x1fa),'cwd':h,'config':c}),await a130e[M(0x1d6)](M(0x1e2),['basic-forgot-password-page'],{'route':'forgot-password','cwd':h,'config':c});i===M(0x1e7)&&await a130e['processAndRunGenerator']('kit:auth:meteor',[],{'force':g,'cwd':h,'config':c});i===M(0x1cb)&&await a130e['processAndRunGenerator'](M(0x1df),[],{'force':g,'cwd':h,'config':c});const A=c['engines'][M(0x1f7)]===M(0x1e7),B=c['engines']['js'],C=f[M(0x1dd)]({'pathParts':v[M(0x1db)]('/')});await f[M(0x1f5)]({'filePath':C+'.'+B,'importName':M(0x1eb),'modulePath':A?M(0x1d0):M(0x1f0),'isNamedExport':!![]});const D=f[M(0x1dd)]({'pathParts':w['split']('/')});await f[M(0x1f5)]({'filePath':D+'.'+B,'importName':M(0x1eb),'modulePath':A?M(0x1d0):M(0x1f0),'isNamedExport':!![]});const E=f['pathFromApp']({'pathParts':x[M(0x1db)]('/')});await f[M(0x1f5)]({'filePath':E+'.'+B,'importName':'AuthContext','modulePath':A?M(0x1d0):M(0x1f0),'isNamedExport':!![]});const F=f[M(0x1dd)]({'pathParts':y[M(0x1db)]('/')});await f[M(0x1f5)]({'filePath':F+'.'+B,'importName':'AuthContext','modulePath':A?M(0x1d0):M(0x1f0),'isNamedExport':!![]});const G=f['pathFromApp']({'pathParts':z['split']('/')});await f['injectImport']({'filePath':G+'.'+B,'importName':M(0x1eb),'modulePath':A?M(0x1d0):M(0x1f0),'isNamedExport':!![]});}catch(H){Log[M(0x1ef)](H),process[M(0x203)](0x1);}},async function(){const N=a130L;console['log'](N(0x1fb));},a130f);export default a130f;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a131c(){const K=['
|
|
1
|
+
const a131H=a131d;(function(a,b){const E=a131d,c=a();while(!![]){try{const d=-parseInt(E(0xf5))/0x1+-parseInt(E(0xff))/0x2*(parseInt(E(0xd2))/0x3)+parseInt(E(0xea))/0x4*(parseInt(E(0xd1))/0x5)+-parseInt(E(0xda))/0x6+-parseInt(E(0xd5))/0x7*(parseInt(E(0xfb))/0x8)+parseInt(E(0xe8))/0x9+parseInt(E(0xec))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0xd225a));function a131c(){const K=['@mui/material/Container','session','toString','717570sJOzbU','1130355zugbRi','meteor','getDirectories','553ZXFGfv','template','.js','<Outlet\x20/>','<Outlet/>','9599484nDmLbh','kit/mui/frame/footers/','dir','</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','log','map','ssr','injectImport','injectTemplateModule','appName','</div>','frame','/imports/ui/components','tests','3047319ZEDueH','-hook\x22>','4yEvaKJ','basic-drawer','39491420BIBxGB','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f}','Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','getFiles','react','Cleaning\x20up...','\x20/>\x0a','pathFromApp','test','1162412BjPeXE','search','baseDir','/imports/ui/','kit/mui/frame/drawers/','Box','5528itfUDq','(((.+)+)+)+$','injectIntoFile','maka:react-tracker','4IMFeAd','findAppDirectory','imports','apply','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20frame\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','No\x20layouts\x20selected','<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>','length','force','basic-app-bar','@mui/material/Box','layouts','/imports/startup/lib/templates','error','<div\x20id=\x22','Container','create','/imports/startup/client/templates','basic-sticky-footer','join'];a131c=function(){return K;};return a131c();}const a131b=(function(){let a=!![];return function(b,c){const d=a?function(){const F=a131d;if(c){const e=c[F(0x102)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a131a=a131b(this,function(){const G=a131d;return a131a['toString']()[G(0xf6)](G(0xfc))[G(0xd0)]()['constructor'](a131a)[G(0xf6)](G(0xfc));});a131a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a131e from'path';function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0xcf;let f=c[d];return f;},a131d(a,b);}import a131f from'./mui.generator.js';import{kebabCase,pascalCase,capitalCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a131H(0x10f)]({'name':a131H(0xe5),'aliases':['f'],'usage':a131H(0xed),'shortDesc':a131H(0xee),'validOpts':[a131H(0x10a),'baseDir',a131H(0xdc),a131H(0x107)],'isPro':![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'theme':ThemeEngines['MATERIAL'],'client':ClientEngines['REACT']},'examples':['maka\x20generate:kit:mui:frame','maka\x20g:k:m:f'],'description':a131H(0x103)},async function(a,b){const I=a131H,{projectConfig:c,fsi:d,pkg:f,scaffold:g}=this;try{const h=b[I(0x107)]||![],i=I(0x108),j=I(0xeb),k=I(0x111),l=c['engines'][I(0xe0)]===I(0xd3);await f['checkMeteorPackage']([I(0xcf),I(0xfe)],{'shouldInstall':!![]});const m=d[I(0x100)](),n=a131e[I(0x112)](m,I(0x101),'ui','layouts'),o=d[I(0xd4)](n),p=o[I(0xdf)](z=>({'name':z,'value':z})),q=await Actions['checkbox']({'message':'Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','name':I(0x10a),'choices':p});if(q[I(0x106)]===0x0){Log[I(0x10c)](I(0x104));return;}const r=b[I(0xf7)]?I(0xf8)+b[I(0xf7)]:I(0xe6),s=g[I(0xf3)]({'pathParts':[r,b[I(0xdc)],kebabCase(i),kebabCase(i)]}),t=g[I(0xf3)]({'pathParts':[r,b['dir'],kebabCase(j),kebabCase(j)]}),u=g[I(0xf3)]({'pathParts':[r,b[I(0xdc)],kebabCase(k),kebabCase(k)]}),v={'name':capitalCase(c[I(0xe3)])};await g[I(0xd6)]({'srcPath':'kit/mui/frame/app-bars/'+i+I(0xd7),'destPath':s+I(0xd7),'framework':'react','context':v,'config':c,'force':h,'ignore':![]}),await g[I(0xd6)]({'srcPath':I(0xf9)+j+I(0xd7),'destPath':t+I(0xd7),'framework':'react','context':v,'config':c,'force':h,'ignore':![]}),await g['template']({'srcPath':I(0xdb)+k+'.js','destPath':u+I(0xd7),'framework':I(0xf0),'context':v,'config':c,'force':h,'ignore':![]});const w=''+r+b['dir']+'/'+i+'/'+i;await g[I(0xe2)](i,c,w);const x=''+r+b[I(0xdc)]+'/'+j+'/'+j;await g[I(0xe2)](j,c,x);const y=''+r+b[I(0xdc)]+'/'+k+'/'+k;await g['injectTemplateModule'](k,c,y);for(const z of q){const A=d[I(0xef)](a131e[I(0x112)](n,z),{'extensions':['jsx','tsx'],'omit':['app-tests',I(0xe7),I(0xf4)]});for(const B of A){const C=a131e['join'](n,z,B);await g['injectImport']({'filePath':C,'importName':I(0xfa),'modulePath':I(0x109),'isNamedExport':![]}),await g[I(0xe1)]({'filePath':C,'importName':I(0x10e),'modulePath':I(0x113),'isNamedExport':![]}),await g[I(0xe1)]({'filePath':C,'importName':pascalCase(i),'modulePath':l?I(0x10b):I(0x110),'isNamedExport':!![]}),await g[I(0xfd)]({'filePath':C,'content':'<'+pascalCase(i)+I(0xf2),'begin':[I(0x10d)+z+'\x22>',I(0x10d)+z+I(0xe9)],'end':[I(0xd9),I(0xd8)]}),await g[I(0xe1)]({'filePath':C,'importName':pascalCase(j),'modulePath':l?I(0x10b):'/imports/startup/client/templates','isNamedExport':!![]}),await g[I(0xfd)]({'filePath':C,'content':'<'+pascalCase(j)+'\x20/>\x0a','begin':[I(0x10d)+z+'\x22>',I(0x10d)+z+I(0xe9)],'end':[I(0xd9),'<Outlet\x20/>']}),await g[I(0xfd)]({'filePath':C,'content':'<'+pascalCase(k)+I(0xf2),'begin':['<Outlet/>',I(0xd8)],'end':[I(0xe4)]}),await g[I(0xe1)]({'filePath':C,'importName':pascalCase(k),'modulePath':l?I(0x10b):I(0x110),'isNamedExport':!![]}),await g['injectAroundString']({'filePath':C,'aboveContent':I(0x105),'belowContent':I(0xdd),'targetString':['<Outlet/>',I(0xd8)],'targetIndentAdjustment':0x6});}}}catch(D){Log[I(0x10c)](D);}},async function(){const J=a131H;console[J(0xde)](J(0xf1));},a131f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a132j=a132d;function
|
|
1
|
+
const a132j=a132d;function a132c(){const l=['11573028zhycor','toString','findProjectDirectory','length','\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','3041414uHnPwx','mui','1hMKOMT','constructor','27341690hywHFy','Auth\x20workflow\x20(login,\x20logout,\x20etc.)','kit:mui:auth','info','checkbox','exit','Header,\x20Footer,\x20and\x20Drawer','cfg','8740320dGoGSK','apply','kit:mui:frame','2973DBaoev','frame','includes','kitChoices','5672kaCkCm','maka\x20g:kit:m','create','(((.+)+)+)+$','4848GxgQqP','13209CPCuxg','1379442chDwgH','Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!','search','error','auth','getMakaProjectConfig','processAndRunGenerator'];a132c=function(){return l;};return a132c();}function a132d(a,b){const c=a132c();return a132d=function(d,e){d=d-0x11e;let f=c[d];return f;},a132d(a,b);}(function(a,b){const g=a132d,c=a();while(!![]){try{const d=parseInt(g(0x12b))/0x1*(-parseInt(g(0x129))/0x2)+parseInt(g(0x138))/0x3*(parseInt(g(0x13c))/0x4)+-parseInt(g(0x135))/0x5+parseInt(g(0x142))/0x6+parseInt(g(0x141))/0x7*(parseInt(g(0x140))/0x8)+-parseInt(g(0x124))/0x9+parseInt(g(0x12d))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a132c,0xe9edd));const a132b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a132d;if(c){const e=c[h(0x136)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a132a=a132b(this,function(){const i=a132d;return a132a[i(0x125)]()[i(0x11f)]('(((.+)+)+)+$')[i(0x125)]()[i(0x12c)](a132a)[i(0x11f)](i(0x13f));});a132a();import{Generator}from'../../../generator.js';import{Actions}from'../../../tools/actions/actions.class.js';import{Log}from'../../../tools/log/log.class.js';import a132e from'../../../generators/maka.gen.js';import a132f from'../kit.js';const MuiGen=Generator[a132j(0x13e)]({'name':a132j(0x12a),'aliases':['m'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','resourceNameRequired':![],'shortDesc':'Material-UI\x20Kit','validOpts':[''],'isPro':!![],'examples':[a132j(0x13d)]},async function(){const k=a132j;try{Log[k(0x130)](k(0x11e)),Log['notice'](k(0x128));const a=await Actions[k(0x131)]({'message':'Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','name':k(0x13b),'choices':[{'name':k(0x133),'value':'frame'},{'name':k(0x12e),'value':'auth'}]}),b=this['fsi'][k(0x126)](),c=this[k(0x134)][k(0x122)]();a[k(0x13a)](k(0x139))&&await a132e['processAndRunGenerator'](k(0x137),[],{'force':!![],'cwd':b,'config':c});a['includes'](k(0x121))&&await a132e[k(0x123)](k(0x12f),[],{'force':!![],'cwd':b,'config':c});if(a[k(0x127)]===0x0){Log[k(0x130)]('No\x20MUI\x20kits\x20selected.\x20Exiting.');return;}}catch(d){Log[k(0x120)](d),process[k(0x132)](0x1);}},async function(){},a132f);export default MuiGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a133r=a133d;(function(a,b){const p=a133d,c=a();while(!![]){try{const d=-parseInt(p(0x1c5))/0x1*(-parseInt(p(0x1cb))/0x2)+parseInt(p(0x1ae))/0x3+-parseInt(p(0x1b1))/0x4+parseInt(p(0x1b2))/0x5*(-parseInt(p(0x1a6))/0x6)+parseInt(p(0x1bc))/0x7+-parseInt(p(0x1bf))/0x8*(parseInt(p(0x1a5))/0x9)+parseInt(p(0x1a1))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a133c,0x33f17));function a133c(){const t=['maka\x20g:layout\x20mobile/iPhone8','resourceName','pathFromApp','constructor','react','layout','injectAtBeginningOfFile','import\x20\x27./','string','fileName','className','findAppDirectory','split','test','checkNpmPackage','7154640cMOMQt','(((.+)+)+)+$','relative','withTranslations','1008pqeYwq','2508102gXiMZK','withHook','search','.app-tests.js','graphql','features','Scaffolding\x20for\x20a\x20React\x20Layout.','installNpmPackage','374787NcuTgQ','toString','component/component.js','25196uPjmUx','5obGfLl','assign','template','ramda','api','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','dir','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','engines','setTemplate','531230gFwIOm','none','maka\x20g:l\x20web/safari','22776PerELF','findProjectDirectory','warn','template/template.css','client','/imports/ui/layouts','4957YXEUqX','css','.js','injectTemplateModule','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','create','16QkGYoj'];a133c=function(){return t;};return a133c();}const a133b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a133a=a133b(this,function(){const q=a133d;return a133a[q(0x1af)]()[q(0x1a8)](q(0x1a2))[q(0x1af)]()[q(0x1cf)](a133a)['search']('(((.+)+)+)+$');});function a133d(a,b){const c=a133c();return a133d=function(d,e){d=d-0x199;let f=c[d];return f;},a133d(a,b);}a133a();import a133e 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'];Generator[a133r(0x1ca)]({'name':a133r(0x1d1),'aliases':aliases,'usage':a133r(0x1b7),'shortDesc':a133r(0x1ac),'validOpts':[a133r(0x1a7)],'mustBeInMakaProject':!![],'examples':[a133r(0x1cc),a133r(0x1be)]},async function(a,b){const s=a133r,{projectConfig:c,fsi:d,cfg:e,pkg:f,scaffold:g}=this,h=s(0x1c4),i=d[s(0x19d)](),j=g[s(0x1ce)]({'pathParts':[h,b[s(0x1b8)],kebabCase(b[s(0x1cd)]),kebabCase(b[s(0x1cd)])]});typeof c[s(0x1b4)][s(0x19f)]===s(0x19a)&&e['setTemplate'](s(0x19f),c[s(0x1b4)][s(0x19f)]);typeof c[s(0x1b4)]['css']===s(0x19a)&&e[s(0x1bb)](s(0x1c6),c[s(0x1b4)][s(0x1c6)]);typeof c[s(0x1b4)]['js']===s(0x19a)&&e[s(0x1bb)]('js',c[s(0x1b4)]['js']);const k=b['_']?b['_'][0x0][s(0x19e)](':')[0x1]:![],l=b['_']&&aliases['includes'](k);l&&!f[s(0x1a0)]('ramda')&&(Log['warn'](s(0x1b9)),f[s(0x1ad)](s(0x1b5),{'cwd':i}));if(l&&!f[s(0x1a0)](s(0x1d0))){Log[s(0x1c1)](s(0x1c9));return;}const m={'name':pascalCase(b[s(0x1cd)]),'myPath':a133e[s(0x1a3)](d[s(0x1c0)](),j),'cssCaseName':kebabCase(b[s(0x1cd)]),'className':pascalCase(b[s(0x1cd)]),'camelCaseName':camelCase(b[s(0x1cd)]),'fileName':kebabCase(b[s(0x1cd)]),'graphql':c[s(0x1ba)][s(0x1aa)],'features':c['features'],'client':c[s(0x1ba)][s(0x1c3)],'api':c['engines'][s(0x1b6)],'ssr':c[s(0x1ba)]['ssr'],'test':c[s(0x1ba)][s(0x19f)],'theme':c[s(0x1ba)]['theme'],'isComponent':![],'isLayout':!![],'withTranslations':c[s(0x1ab)][s(0x1a4)]};c[s(0x1ab)]?.['withHooks']||b[s(0x1a7)]?await g['template']({'srcPath':'hook/hook.js','destPath':j+s(0x1c7),'framework':s(0x1d0),'context':m,'config':c}):await g[s(0x1b4)]({'srcPath':s(0x1b0),'destPath':j+s(0x1c7),'framework':s(0x1d0),'context':m,'config':c});c['engines'][s(0x19f)]!==s(0x1bd)&&await g[s(0x1b4)]({'srcPath':'test/test.js','destPath':j+s(0x1a9),'framework':s(0x1d0),'context':m,'config':c});c[s(0x1b4)][s(0x1c6)]&&(await g[s(0x1b4)]({'srcPath':s(0x1c2),'destPath':j+'.css','context':Object[s(0x1b3)]({},m,{'className':kebabCase(b['resourceName'])}),'config':c}),await g[s(0x1d2)]({'filePath':j+'.'+c[s(0x1ba)]['js'],'content':s(0x199)+m[s(0x19b)]+'.'+c[s(0x1ba)][s(0x1c6)]+'\x27;'}));const n=b['dir']?'/'+b[s(0x1b8)]+'/':'/',o=''+h+n+m[s(0x19b)]+'/'+m['fileName'];await g[s(0x1c8)](m[s(0x19c)],c,o);});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a134i=a134d;
|
|
1
|
+
const a134i=a134d;(function(a,b){const f=a134d,c=a();while(!![]){try{const d=-parseInt(f(0xcc))/0x1+-parseInt(f(0xd1))/0x2+parseInt(f(0xda))/0x3*(-parseInt(f(0xd5))/0x4)+-parseInt(f(0xd7))/0x5+parseInt(f(0xdf))/0x6*(-parseInt(f(0xd9))/0x7)+-parseInt(f(0xdb))/0x8*(-parseInt(f(0xe0))/0x9)+parseInt(f(0xd8))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a134c,0xb6a11));function a134c(){const j=['993180VKUtsA','maka\x20g:api\x20trucks','Scaffold\x20various\x20parts\x20of\x20your\x20application','maka\x20g:package\x20package:name','8rFLzEG','apply','5125410dKYiKo','23199260nGNnea','49RAiAGd','189432FZdaZS','3238504Qfswlm','maka\x20g:dbc\x20geoserver\x20--type=pgsql','maka\x20generate:scaffold\x20todos','maka\x20g:scaffold\x20todos','148776xpnHqK','18zTiKyz','search','559971AbinXF','maka\x20g:route\x20todos/edit','(((.+)+)+)+$','constructor','toString'];a134c=function(){return j;};return a134c();}const a134b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a134d;if(c){const e=c[g(0xd6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a134a=a134b(this,function(){const h=a134d;return a134a[h(0xd0)]()[h(0xcb)]('(((.+)+)+)+$')[h(0xd0)]()[h(0xcf)](a134a)['search'](h(0xce));});a134a();import{Generator}from'../generator.js';const MakaGen=new Generator({'name':'generate','aliases':['g'],'usage':'maka\x20{generate,\x20g}:<generator>\x20<name>','validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'resourceNameRequired':![],'shortDesc':a134i(0xd3),'examples':[a134i(0xdd),a134i(0xde),'maka\x20g:template\x20todos/todo_item',a134i(0xd4),a134i(0xcd),a134i(0xd2),a134i(0xdc)]},async function(){});function a134d(a,b){const c=a134c();return a134d=function(d,e){d=d-0xcb;let f=c[d];return f;},a134d(a,b);}export default MakaGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a135n=a135d;(function(a,b){const k=a135d,c=a();while(!![]){try{const d=parseInt(k(
|
|
1
|
+
const a135n=a135d;(function(a,b){const k=a135d,c=a();while(!![]){try{const d=parseInt(k(0x1dc))/0x1+parseInt(k(0x1da))/0x2*(parseInt(k(0x1dd))/0x3)+parseInt(k(0x1ed))/0x4+-parseInt(k(0x1eb))/0x5*(parseInt(k(0x1e7))/0x6)+-parseInt(k(0x1d6))/0x7+-parseInt(k(0x1ef))/0x8*(parseInt(k(0x1d1))/0x9)+parseInt(k(0x1e3))/0xa*(-parseInt(k(0x1de))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a135c,0xe717c));const a135b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a135d;if(c){const e=c[l(0x1cb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a135a=a135b(this,function(){const m=a135d;return a135a[m(0x1cf)]()[m(0x1db)](m(0x1e1))[m(0x1cf)]()[m(0x1ce)](a135a)[m(0x1db)](m(0x1e1));});a135a();function a135d(a,b){const c=a135c();return a135d=function(d,e){d=d-0x1cb;let f=c[d];return f;},a135d(a,b);}function a135c(){const p=['import\x20\x27./methods','5mfHQAt','resourceName','974464dRtEHB','index.','332968uAlrEh','dir','pkg','apply','injectAtEndOfFile','method/method.js','constructor','toString','appPathPrefix','243czXryA','projectConfig','scaffold','tsx','imports','4858770kVWVUk','methods','template','-rpc-method.','22RIeJQM','search','1794828SppJaK','396681XHUewf','781tNGdgP','mdg:validated-method','pathFromApp','(((.+)+)+)+$','startup','96190gwJCkA','maka\x20g:method\x20todos','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','engines','273354LWJVoI','create','ddp-rate-limiter'];a135c=function(){return p;};return a135c();}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,kebabCase,pascalCase}from'change-case';Generator[a135n(0x1e8)]({'name':'method','aliases':['m'],'usage':'maka\x20{generate,\x20g}:{method,\x20m}\x20name','mustBeInMakaProject':!![],'checkWhere':!![],'shortDesc':a135n(0x1e5),'validOpts':['dir'],'examples':[a135n(0x1e4)]},async function(a,b){const o=a135n;try{const c=this[o(0x1d2)],d=b[o(0x1f0)]?'/'+b[o(0x1f0)]+'/':'/',f=kebabCase(b['resourceName']),g={'name':b[o(0x1ec)],'fileName':f,'className':pascalCase(b[o(0x1ec)]),'camelCase':camelCase(b[o(0x1ec)]),'noRename':!![]};let h='js';c[o(0x1e6)]['js']===o(0x1d4)&&(h='ts');await this[o(0x1f1)]['checkMeteorPackage'](['maka:check',o(0x1e9),o(0x1df)],{'shouldInstall':!![]}),await this['scaffold'][o(0x1d8)]({'srcPath':o(0x1cd),'destPath':this[o(0x1d3)][o(0x1e0)]({'pathParts':[o(0x1d5),o(0x1e2),b[o(0x1d0)],o(0x1d7),d,f+o(0x1d9)+h]}),'context':g,'config':c});const i=this[o(0x1d3)][o(0x1e0)]({'pathParts':[o(0x1d5),o(0x1e2),b[o(0x1d0)],o(0x1ee)+c['engines']['js']]});await this[o(0x1d3)][o(0x1cc)]({'filePath':i,'content':o(0x1ea)+d+f+'-rpc-method\x27;'});}catch(j){Log['error'](j);}});
|